diff --git a/asm/Kyoto_CWD/BodyState/CBSAttack.s b/asm/Kyoto_CWD/BodyState/CBSAttack.s new file mode 100644 index 00000000..d17c215f --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSAttack.s @@ -0,0 +1,606 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__9CBSAttackFv +__dt__9CBSAttackFv: +/* 80134DD4 00131D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80134DD8 00131D38 7C 08 02 A6 */ mflr r0 +/* 80134DDC 00131D3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80134DE0 00131D40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80134DE4 00131D44 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80134DE8 00131D48 41 82 00 5C */ beq lbl_80134E44 +/* 80134DEC 00131D4C 3C 60 80 3E */ lis r3, lbl_803E1370@ha +/* 80134DF0 00131D50 34 1F 00 08 */ addic. r0, r31, 8 +/* 80134DF4 00131D54 38 03 13 70 */ addi r0, r3, lbl_803E1370@l +/* 80134DF8 00131D58 90 1F 00 00 */ stw r0, 0(r31) +/* 80134DFC 00131D5C 41 82 00 24 */ beq lbl_80134E20 +/* 80134E00 00131D60 3C 60 80 3E */ lis r3, lbl_803DAA08@ha +/* 80134E04 00131D64 34 1F 00 08 */ addic. r0, r31, 8 +/* 80134E08 00131D68 38 03 AA 08 */ addi r0, r3, lbl_803DAA08@l +/* 80134E0C 00131D6C 90 1F 00 08 */ stw r0, 8(r31) +/* 80134E10 00131D70 41 82 00 10 */ beq lbl_80134E20 +/* 80134E14 00131D74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80134E18 00131D78 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80134E1C 00131D7C 90 1F 00 08 */ stw r0, 8(r31) +lbl_80134E20: +/* 80134E20 00131D80 28 1F 00 00 */ cmplwi r31, 0 +/* 80134E24 00131D84 41 82 00 10 */ beq lbl_80134E34 +/* 80134E28 00131D88 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80134E2C 00131D8C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80134E30 00131D90 90 1F 00 00 */ stw r0, 0(r31) +lbl_80134E34: +/* 80134E34 00131D94 7C 80 07 35 */ extsh. r0, r4 +/* 80134E38 00131D98 40 81 00 0C */ ble lbl_80134E44 +/* 80134E3C 00131D9C 7F E3 FB 78 */ mr r3, r31 +/* 80134E40 00131DA0 48 1E 0A F1 */ bl Free__7CMemoryFPCv +lbl_80134E44: +/* 80134E44 00131DA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80134E48 00131DA8 7F E3 FB 78 */ mr r3, r31 +/* 80134E4C 00131DAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80134E50 00131DB0 7C 08 03 A6 */ mtlr r0 +/* 80134E54 00131DB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80134E58 00131DB8 4E 80 00 20 */ blr + +.global CanShoot__9CBSAttackCFv +CanShoot__9CBSAttackCFv: +/* 80134E5C 00131DBC 38 60 00 00 */ li r3, 0 +/* 80134E60 00131DC0 4E 80 00 20 */ blr + +.global UpdatePhysicsActor__9CBSAttackFR15CBodyControllerf +UpdatePhysicsActor__9CBSAttackFR15CBodyControllerf: +/* 80134E64 00131DC4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80134E68 00131DC8 7C 08 02 A6 */ mflr r0 +/* 80134E6C 00131DCC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80134E70 00131DD0 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80134E74 00131DD4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80134E78 00131DD8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80134E7C 00131DDC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80134E80 00131DE0 C0 42 99 A0 */ lfs f2, lbl_805AB6C0@sda21(r2) +/* 80134E84 00131DE4 FF E0 08 90 */ fmr f31, f1 +/* 80134E88 00131DE8 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80134E8C 00131DEC 7C 7E 1B 78 */ mr r30, r3 +/* 80134E90 00131DF0 38 00 00 00 */ li r0, 0 +/* 80134E94 00131DF4 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 80134E98 00131DF8 40 82 00 1C */ bne lbl_80134EB4 +/* 80134E9C 00131DFC C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 80134EA0 00131E00 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 80134EA4 00131E04 40 82 00 10 */ bne lbl_80134EB4 +/* 80134EA8 00131E08 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 80134EAC 00131E0C FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 80134EB0 00131E10 41 82 00 08 */ beq lbl_80134EB8 +lbl_80134EB4: +/* 80134EB4 00131E14 38 00 00 01 */ li r0, 1 +lbl_80134EB8: +/* 80134EB8 00131E18 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80134EBC 00131E1C 41 82 01 18 */ beq lbl_80134FD4 +/* 80134EC0 00131E20 C0 3E 00 34 */ lfs f1, 0x34(r30) +/* 80134EC4 00131E24 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 80134EC8 00131E28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80134ECC 00131E2C 4C 41 13 82 */ cror 2, 1, 2 +/* 80134ED0 00131E30 40 82 01 04 */ bne lbl_80134FD4 +/* 80134ED4 00131E34 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 80134ED8 00131E38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80134EDC 00131E3C 4C 40 13 82 */ cror 2, 0, 2 +/* 80134EE0 00131E40 40 82 00 F4 */ bne lbl_80134FD4 +/* 80134EE4 00131E44 80 84 00 00 */ lwz r4, 0(r4) +/* 80134EE8 00131E48 38 61 00 08 */ addi r3, r1, 8 +/* 80134EEC 00131E4C 4B F7 77 F9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80134EF0 00131E50 83 E3 00 04 */ lwz r31, 4(r3) +/* 80134EF4 00131E54 28 1F 00 00 */ cmplwi r31, 0 +/* 80134EF8 00131E58 41 82 00 DC */ beq lbl_80134FD4 +/* 80134EFC 00131E5C C0 5E 00 24 */ lfs f2, 0x24(r30) +/* 80134F00 00131E60 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80134F04 00131E64 C0 7E 00 28 */ lfs f3, 0x28(r30) +/* 80134F08 00131E68 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 80134F0C 00131E6C EC A2 08 28 */ fsubs f5, f2, f1 +/* 80134F10 00131E70 C0 5E 00 20 */ lfs f2, 0x20(r30) +/* 80134F14 00131E74 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80134F18 00131E78 EC 83 00 28 */ fsubs f4, f3, f0 +/* 80134F1C 00131E7C C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2) +/* 80134F20 00131E80 EC 62 08 28 */ fsubs f3, f2, f1 +/* 80134F24 00131E84 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 80134F28 00131E88 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 80134F2C 00131E8C D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80134F30 00131E90 C0 5E 00 30 */ lfs f2, 0x30(r30) +/* 80134F34 00131E94 C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 80134F38 00131E98 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80134F3C 00131E9C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80134F40 00131EA0 40 81 00 28 */ ble lbl_80134F68 +/* 80134F44 00131EA4 EC 1F 08 24 */ fdivs f0, f31, f1 +/* 80134F48 00131EA8 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80134F4C 00131EAC EC 40 00 F2 */ fmuls f2, f0, f3 +/* 80134F50 00131EB0 EC 20 01 72 */ fmuls f1, f0, f5 +/* 80134F54 00131EB4 EC 00 01 32 */ fmuls f0, f0, f4 +/* 80134F58 00131EB8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80134F5C 00131EBC D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80134F60 00131EC0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80134F64 00131EC4 48 00 00 08 */ b lbl_80134F6C +lbl_80134F68: +/* 80134F68 00131EC8 38 C1 00 4C */ addi r6, r1, 0x4c +lbl_80134F6C: +/* 80134F6C 00131ECC C0 06 00 00 */ lfs f0, 0(r6) +/* 80134F70 00131ED0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80134F74 00131ED4 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80134F78 00131ED8 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80134F7C 00131EDC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80134F80 00131EE0 C0 06 00 04 */ lfs f0, 4(r6) +/* 80134F84 00131EE4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80134F88 00131EE8 C0 06 00 08 */ lfs f0, 8(r6) +/* 80134F8C 00131EEC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80134F90 00131EF0 48 1D DA 95 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80134F94 00131EF4 FC 20 F8 90 */ fmr f1, f31 +/* 80134F98 00131EF8 7F E4 FB 78 */ mr r4, r31 +/* 80134F9C 00131EFC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80134FA0 00131F00 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80134FA4 00131F04 4B FE 60 65 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff +/* 80134FA8 00131F08 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80134FAC 00131F0C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80134FB0 00131F10 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80134FB4 00131F14 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80134FB8 00131F18 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80134FBC 00131F1C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80134FC0 00131F20 4B EE 65 75 */ bl Identity__10CAxisAngleFv +/* 80134FC4 00131F24 7C 65 1B 78 */ mr r5, r3 +/* 80134FC8 00131F28 7F E3 FB 78 */ mr r3, r31 +/* 80134FCC 00131F2C 38 81 00 34 */ addi r4, r1, 0x34 +/* 80134FD0 00131F30 4B FE 73 C9 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_80134FD4: +/* 80134FD4 00131F34 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80134FD8 00131F38 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80134FDC 00131F3C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80134FE0 00131F40 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80134FE4 00131F44 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80134FE8 00131F48 7C 08 03 A6 */ mtlr r0 +/* 80134FEC 00131F4C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80134FF0 00131F50 4E 80 00 20 */ blr + +.global GetBodyStateTransition__9CBSAttackFfR15CBodyController +GetBodyStateTransition__9CBSAttackFfR15CBodyController: +/* 80134FF4 00131F54 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80134FF8 00131F58 7C 08 02 A6 */ mflr r0 +/* 80134FFC 00131F5C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80135000 00131F60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80135004 00131F64 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80135008 00131F68 7C 9E 23 78 */ mr r30, r4 +/* 8013500C 00131F6C 3B FE 00 04 */ addi r31, r30, 4 +/* 80135010 00131F70 38 80 00 0F */ li r4, 0xf +/* 80135014 00131F74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80135018 00131F78 7C 7D 1B 78 */ mr r29, r3 +/* 8013501C 00131F7C 7F E3 FB 78 */ mr r3, r31 +/* 80135020 00131F80 4B FF C4 31 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135024 00131F84 28 03 00 00 */ cmplwi r3, 0 +/* 80135028 00131F88 41 82 00 0C */ beq lbl_80135034 +/* 8013502C 00131F8C 38 60 00 0E */ li r3, 0xe +/* 80135030 00131F90 48 00 01 5C */ b lbl_8013518C +lbl_80135034: +/* 80135034 00131F94 7F E3 FB 78 */ mr r3, r31 +/* 80135038 00131F98 38 80 00 03 */ li r4, 3 +/* 8013503C 00131F9C 4B FF C4 15 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135040 00131FA0 28 03 00 00 */ cmplwi r3, 0 +/* 80135044 00131FA4 41 82 00 0C */ beq lbl_80135050 +/* 80135048 00131FA8 38 60 00 00 */ li r3, 0 +/* 8013504C 00131FAC 48 00 01 40 */ b lbl_8013518C +lbl_80135050: +/* 80135050 00131FB0 7F E3 FB 78 */ mr r3, r31 +/* 80135054 00131FB4 38 80 00 09 */ li r4, 9 +/* 80135058 00131FB8 4B FF C3 F9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013505C 00131FBC 28 03 00 00 */ cmplwi r3, 0 +/* 80135060 00131FC0 41 82 00 0C */ beq lbl_8013506C +/* 80135064 00131FC4 38 60 00 0A */ li r3, 0xa +/* 80135068 00131FC8 48 00 01 24 */ b lbl_8013518C +lbl_8013506C: +/* 8013506C 00131FCC 7F E3 FB 78 */ mr r3, r31 +/* 80135070 00131FD0 38 80 00 04 */ li r4, 4 +/* 80135074 00131FD4 4B FF C3 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135078 00131FD8 28 03 00 00 */ cmplwi r3, 0 +/* 8013507C 00131FDC 41 82 00 0C */ beq lbl_80135088 +/* 80135080 00131FE0 38 60 00 06 */ li r3, 6 +/* 80135084 00131FE4 48 00 01 08 */ b lbl_8013518C +lbl_80135088: +/* 80135088 00131FE8 7F E3 FB 78 */ mr r3, r31 +/* 8013508C 00131FEC 38 80 00 16 */ li r4, 0x16 +/* 80135090 00131FF0 4B FF C3 C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135094 00131FF4 28 03 00 00 */ cmplwi r3, 0 +/* 80135098 00131FF8 41 82 00 0C */ beq lbl_801350A4 +/* 8013509C 00131FFC 38 60 00 05 */ li r3, 5 +/* 801350A0 00132000 48 00 00 EC */ b lbl_8013518C +lbl_801350A4: +/* 801350A4 00132004 7F E3 FB 78 */ mr r3, r31 +/* 801350A8 00132008 38 80 00 11 */ li r4, 0x11 +/* 801350AC 0013200C 4B FF C3 A5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801350B0 00132010 28 03 00 00 */ cmplwi r3, 0 +/* 801350B4 00132014 41 82 00 34 */ beq lbl_801350E8 +/* 801350B8 00132018 80 83 00 04 */ lwz r4, 4(r3) +/* 801350BC 0013201C 38 00 00 0F */ li r0, 0xf +/* 801350C0 00132020 90 9D 00 0C */ stw r4, 0xc(r29) +/* 801350C4 00132024 80 83 00 08 */ lwz r4, 8(r3) +/* 801350C8 00132028 90 9D 00 10 */ stw r4, 0x10(r29) +/* 801350CC 0013202C 80 A3 00 0C */ lwz r5, 0xc(r3) +/* 801350D0 00132030 80 83 00 10 */ lwz r4, 0x10(r3) +/* 801350D4 00132034 90 BD 00 14 */ stw r5, 0x14(r29) +/* 801350D8 00132038 90 9D 00 18 */ stw r4, 0x18(r29) +/* 801350DC 0013203C 80 63 00 14 */ lwz r3, 0x14(r3) +/* 801350E0 00132040 90 7D 00 1C */ stw r3, 0x1c(r29) +/* 801350E4 00132044 90 1D 00 04 */ stw r0, 4(r29) +lbl_801350E8: +/* 801350E8 00132048 7F E3 FB 78 */ mr r3, r31 +/* 801350EC 0013204C 38 80 00 0E */ li r4, 0xe +/* 801350F0 00132050 4B FF C3 61 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801350F4 00132054 28 03 00 00 */ cmplwi r3, 0 +/* 801350F8 00132058 41 82 00 0C */ beq lbl_80135104 +/* 801350FC 0013205C 38 60 00 0C */ li r3, 0xc +/* 80135100 00132060 48 00 00 8C */ b lbl_8013518C +lbl_80135104: +/* 80135104 00132064 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 80135108 00132068 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013510C 0013206C 41 82 00 60 */ beq lbl_8013516C +/* 80135110 00132070 7F E3 FB 78 */ mr r3, r31 +/* 80135114 00132074 38 80 00 05 */ li r4, 5 +/* 80135118 00132078 4B FF C3 39 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013511C 0013207C 28 03 00 00 */ cmplwi r3, 0 +/* 80135120 00132080 41 82 00 0C */ beq lbl_8013512C +/* 80135124 00132084 38 60 00 07 */ li r3, 7 +/* 80135128 00132088 48 00 00 64 */ b lbl_8013518C +lbl_8013512C: +/* 8013512C 0013208C 7F E3 FB 78 */ mr r3, r31 +/* 80135130 00132090 38 80 00 06 */ li r4, 6 +/* 80135134 00132094 4B FF C3 1D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135138 00132098 28 03 00 00 */ cmplwi r3, 0 +/* 8013513C 0013209C 41 82 00 0C */ beq lbl_80135148 +/* 80135140 001320A0 38 60 00 12 */ li r3, 0x12 +/* 80135144 001320A4 48 00 00 48 */ b lbl_8013518C +lbl_80135148: +/* 80135148 001320A8 7F E3 FB 78 */ mr r3, r31 +/* 8013514C 001320AC 38 80 00 07 */ li r4, 7 +/* 80135150 001320B0 4B FF C3 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135154 001320B4 28 03 00 00 */ cmplwi r3, 0 +/* 80135158 001320B8 41 82 00 0C */ beq lbl_80135164 +/* 8013515C 001320BC 38 60 00 09 */ li r3, 9 +/* 80135160 001320C0 48 00 00 2C */ b lbl_8013518C +lbl_80135164: +/* 80135164 001320C4 80 7D 00 04 */ lwz r3, 4(r29) +/* 80135168 001320C8 48 00 00 24 */ b lbl_8013518C +lbl_8013516C: +/* 8013516C 001320CC 7F E3 FB 78 */ mr r3, r31 +/* 80135170 001320D0 38 80 00 0C */ li r4, 0xc +/* 80135174 001320D4 4B FF C2 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135178 001320D8 28 03 00 00 */ cmplwi r3, 0 +/* 8013517C 001320DC 41 82 00 0C */ beq lbl_80135188 +/* 80135180 001320E0 80 7D 00 04 */ lwz r3, 4(r29) +/* 80135184 001320E4 48 00 00 08 */ b lbl_8013518C +lbl_80135188: +/* 80135188 001320E8 38 60 FF FF */ li r3, -1 +lbl_8013518C: +/* 8013518C 001320EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80135190 001320F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80135194 001320F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80135198 001320F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8013519C 001320FC 7C 08 03 A6 */ mtlr r0 +/* 801351A0 00132100 38 21 00 20 */ addi r1, r1, 0x20 +/* 801351A4 00132104 4E 80 00 20 */ blr + +.global Shutdown__9CBSAttackFR15CBodyController +Shutdown__9CBSAttackFR15CBodyController: +/* 801351A8 00132108 4E 80 00 20 */ blr + +.global UpdateBody__9CBSAttackFfR15CBodyControllerR13CStateManager +UpdateBody__9CBSAttackFfR15CBodyControllerR13CStateManager: +/* 801351AC 0013210C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801351B0 00132110 7C 08 02 A6 */ mflr r0 +/* 801351B4 00132114 90 01 00 34 */ stw r0, 0x34(r1) +/* 801351B8 00132118 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 801351BC 0013211C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 801351C0 00132120 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801351C4 00132124 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801351C8 00132128 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801351CC 0013212C 93 81 00 10 */ stw r28, 0x10(r1) +/* 801351D0 00132130 7C 7C 1B 78 */ mr r28, r3 +/* 801351D4 00132134 FF E0 08 90 */ fmr f31, f1 +/* 801351D8 00132138 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 801351DC 0013213C 7C 9D 23 78 */ mr r29, r4 +/* 801351E0 00132140 EC 00 F8 2A */ fadds f0, f0, f31 +/* 801351E4 00132144 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 801351E8 00132148 4B FF FE 0D */ bl GetBodyStateTransition__9CBSAttackFfR15CBodyController +/* 801351EC 0013214C 7C 7E 1B 78 */ mr r30, r3 +/* 801351F0 00132150 3B FD 00 04 */ addi r31, r29, 4 +/* 801351F4 00132154 2C 1E FF FF */ cmpwi r30, -1 +/* 801351F8 00132158 40 82 00 60 */ bne lbl_80135258 +/* 801351FC 0013215C C0 22 99 A0 */ lfs f1, lbl_805AB6C0@sda21(r2) +/* 80135200 00132160 38 00 00 00 */ li r0, 0 +/* 80135204 00132164 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 80135208 00132168 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013520C 0013216C 40 82 00 1C */ bne lbl_80135228 +/* 80135210 00132170 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 80135214 00132174 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80135218 00132178 40 82 00 10 */ bne lbl_80135228 +/* 8013521C 0013217C C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 80135220 00132180 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80135224 00132184 41 82 00 08 */ beq lbl_8013522C +lbl_80135228: +/* 80135228 00132188 38 00 00 01 */ li r0, 1 +lbl_8013522C: +/* 8013522C 0013218C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80135230 00132190 41 82 00 14 */ beq lbl_80135244 +/* 80135234 00132194 FC 20 F8 90 */ fmr f1, f31 +/* 80135238 00132198 7F A3 EB 78 */ mr r3, r29 +/* 8013523C 0013219C 38 9F 00 18 */ addi r4, r31, 0x18 +/* 80135240 001321A0 48 00 54 65 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_80135244: +/* 80135244 001321A4 FC 20 F8 90 */ fmr f1, f31 +/* 80135248 001321A8 7F 83 E3 78 */ mr r3, r28 +/* 8013524C 001321AC 7F A4 EB 78 */ mr r4, r29 +/* 80135250 001321B0 4B FF FC 15 */ bl UpdatePhysicsActor__9CBSAttackFR15CBodyControllerf +/* 80135254 001321B4 48 00 00 40 */ b lbl_80135294 +lbl_80135258: +/* 80135258 001321B8 2C 1E 00 0F */ cmpwi r30, 0xf +/* 8013525C 001321BC 40 82 00 38 */ bne lbl_80135294 +/* 80135260 001321C0 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 80135264 001321C4 7F E3 FB 78 */ mr r3, r31 +/* 80135268 001321C8 4B FF C1 D1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013526C 001321CC 80 1C 00 0C */ lwz r0, 0xc(r28) +/* 80135270 001321D0 90 1F 01 FC */ stw r0, 0x1fc(r31) +/* 80135274 001321D4 80 1C 00 10 */ lwz r0, 0x10(r28) +/* 80135278 001321D8 90 1F 02 00 */ stw r0, 0x200(r31) +/* 8013527C 001321DC 80 7C 00 14 */ lwz r3, 0x14(r28) +/* 80135280 001321E0 80 1C 00 18 */ lwz r0, 0x18(r28) +/* 80135284 001321E4 90 7F 02 04 */ stw r3, 0x204(r31) +/* 80135288 001321E8 90 1F 02 08 */ stw r0, 0x208(r31) +/* 8013528C 001321EC 80 1C 00 1C */ lwz r0, 0x1c(r28) +/* 80135290 001321F0 90 1F 02 0C */ stw r0, 0x20c(r31) +lbl_80135294: +/* 80135294 001321F4 7F C3 F3 78 */ mr r3, r30 +/* 80135298 001321F8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8013529C 001321FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 801352A0 00132200 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 801352A4 00132204 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801352A8 00132208 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801352AC 0013220C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 801352B0 00132210 83 81 00 10 */ lwz r28, 0x10(r1) +/* 801352B4 00132214 7C 08 03 A6 */ mtlr r0 +/* 801352B8 00132218 38 21 00 30 */ addi r1, r1, 0x30 +/* 801352BC 0013221C 4E 80 00 20 */ blr + +.global Start__9CBSAttackFR15CBodyControllerR13CStateManager +Start__9CBSAttackFR15CBodyControllerR13CStateManager: +/* 801352C0 00132220 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 801352C4 00132224 7C 08 02 A6 */ mflr r0 +/* 801352C8 00132228 90 01 01 34 */ stw r0, 0x134(r1) +/* 801352CC 0013222C BF 21 01 14 */ stmw r25, 0x114(r1) +/* 801352D0 00132230 7C 9F 23 78 */ mr r31, r4 +/* 801352D4 00132234 7C 7E 1B 78 */ mr r30, r3 +/* 801352D8 00132238 7C B9 2B 78 */ mr r25, r5 +/* 801352DC 0013223C 38 80 00 05 */ li r4, 5 +/* 801352E0 00132240 38 7F 00 04 */ addi r3, r31, 4 +/* 801352E4 00132244 4B FF C1 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801352E8 00132248 7C 7D 1B 78 */ mr r29, r3 +/* 801352EC 0013224C 7F E3 FB 78 */ mr r3, r31 +/* 801352F0 00132250 48 00 51 65 */ bl GetPASDatabase__15CBodyControllerCFv +/* 801352F4 00132254 83 9F 02 EC */ lwz r28, 0x2ec(r31) +/* 801352F8 00132258 7C 7A 1B 78 */ mr r26, r3 +/* 801352FC 0013225C 83 7D 00 08 */ lwz r27, 8(r29) +/* 80135300 00132260 38 61 00 48 */ addi r3, r1, 0x48 +/* 80135304 00132264 48 1A DD 79 */ bl NoParameter__12CPASAnimParmFv +/* 80135308 00132268 38 61 00 50 */ addi r3, r1, 0x50 +/* 8013530C 0013226C 48 1A DD 71 */ bl NoParameter__12CPASAnimParmFv +/* 80135310 00132270 38 61 00 58 */ addi r3, r1, 0x58 +/* 80135314 00132274 48 1A DD 69 */ bl NoParameter__12CPASAnimParmFv +/* 80135318 00132278 38 61 00 60 */ addi r3, r1, 0x60 +/* 8013531C 0013227C 48 1A DD 61 */ bl NoParameter__12CPASAnimParmFv +/* 80135320 00132280 38 61 00 68 */ addi r3, r1, 0x68 +/* 80135324 00132284 48 1A DD 59 */ bl NoParameter__12CPASAnimParmFv +/* 80135328 00132288 38 61 00 70 */ addi r3, r1, 0x70 +/* 8013532C 0013228C 48 1A DD 51 */ bl NoParameter__12CPASAnimParmFv +/* 80135330 00132290 7F 84 E3 78 */ mr r4, r28 +/* 80135334 00132294 38 61 00 78 */ addi r3, r1, 0x78 +/* 80135338 00132298 48 1A DC 4D */ bl FromEnum__12CPASAnimParmFi +/* 8013533C 0013229C 7F 64 DB 78 */ mr r4, r27 +/* 80135340 001322A0 38 61 00 80 */ addi r3, r1, 0x80 +/* 80135344 001322A4 48 1A DC 41 */ bl FromEnum__12CPASAnimParmFi +/* 80135348 001322A8 38 61 00 50 */ addi r3, r1, 0x50 +/* 8013534C 001322AC 38 01 00 48 */ addi r0, r1, 0x48 +/* 80135350 001322B0 90 61 00 08 */ stw r3, 8(r1) +/* 80135354 001322B4 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80135358 001322B8 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8013535C 001322BC 38 C1 00 78 */ addi r6, r1, 0x78 +/* 80135360 001322C0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80135364 001322C4 38 E1 00 70 */ addi r7, r1, 0x70 +/* 80135368 001322C8 39 01 00 68 */ addi r8, r1, 0x68 +/* 8013536C 001322CC 39 21 00 60 */ addi r9, r1, 0x60 +/* 80135370 001322D0 39 41 00 58 */ addi r10, r1, 0x58 +/* 80135374 001322D4 38 80 00 07 */ li r4, 7 +/* 80135378 001322D8 4B F4 7F 4D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013537C 001322DC 80 D9 09 00 */ lwz r6, 0x900(r25) +/* 80135380 001322E0 7F 44 D3 78 */ mr r4, r26 +/* 80135384 001322E4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80135388 001322E8 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 8013538C 001322EC 38 E0 FF FF */ li r7, -1 +/* 80135390 001322F0 48 1A FC D1 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 80135394 001322F4 80 61 00 44 */ lwz r3, 0x44(r1) +/* 80135398 001322F8 38 00 00 00 */ li r0, 0 +/* 8013539C 001322FC C0 02 99 A4 */ lfs f0, lbl_805AB6C4@sda21(r2) +/* 801353A0 00132300 38 A0 FF FF */ li r5, -1 +/* 801353A4 00132304 38 E0 00 01 */ li r7, 1 +/* 801353A8 00132308 90 61 00 98 */ stw r3, 0x98(r1) +/* 801353AC 0013230C 7F E3 FB 78 */ mr r3, r31 +/* 801353B0 00132310 38 81 00 98 */ addi r4, r1, 0x98 +/* 801353B4 00132314 90 A1 00 9C */ stw r5, 0x9c(r1) +/* 801353B8 00132318 38 A0 00 00 */ li r5, 0 +/* 801353BC 0013231C 38 C0 00 00 */ li r6, 0 +/* 801353C0 00132320 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 801353C4 00132324 98 E1 00 A4 */ stb r7, 0xa4(r1) +/* 801353C8 00132328 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 801353CC 0013232C 90 01 00 AC */ stw r0, 0xac(r1) +/* 801353D0 00132330 98 01 00 B0 */ stb r0, 0xb0(r1) +/* 801353D4 00132334 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 801353D8 00132338 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 801353DC 0013233C 90 01 00 BC */ stw r0, 0xbc(r1) +/* 801353E0 00132340 48 00 55 3D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 801353E4 00132344 88 1D 00 18 */ lbz r0, 0x18(r29) +/* 801353E8 00132348 28 00 00 00 */ cmplwi r0, 0 +/* 801353EC 0013234C 41 82 01 04 */ beq lbl_801354F0 +/* 801353F0 00132350 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 801353F4 00132354 38 61 00 38 */ addi r3, r1, 0x38 +/* 801353F8 00132358 38 C1 00 30 */ addi r6, r1, 0x30 +/* 801353FC 0013235C 38 A0 00 0A */ li r5, 0xa +/* 80135400 00132360 D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 80135404 00132364 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 80135408 00132368 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 8013540C 0013236C C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 80135410 00132370 D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 80135414 00132374 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13) +/* 80135418 00132378 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13) +/* 8013541C 0013237C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80135420 00132380 90 01 00 34 */ stw r0, 0x34(r1) +/* 80135424 00132384 80 9F 00 00 */ lwz r4, 0(r31) +/* 80135428 00132388 80 84 00 64 */ lwz r4, 0x64(r4) +/* 8013542C 0013238C 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80135430 00132390 4B EF 5B A9 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime +/* 80135434 00132394 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80135438 00132398 38 61 00 90 */ addi r3, r1, 0x90 +/* 8013543C 0013239C 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 80135440 001323A0 38 81 00 28 */ addi r4, r1, 0x28 +/* 80135444 001323A4 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13) +/* 80135448 001323A8 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13) +/* 8013544C 001323AC D0 21 00 90 */ stfs f1, 0x90(r1) +/* 80135450 001323B0 90 A1 00 94 */ stw r5, 0x94(r1) +/* 80135454 001323B4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80135458 001323B8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8013545C 001323BC 48 21 36 79 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime +/* 80135460 001323C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80135464 001323C4 41 82 00 0C */ beq lbl_80135470 +/* 80135468 001323C8 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8013546C 001323CC 48 00 00 08 */ b lbl_80135474 +lbl_80135470: +/* 80135470 001323D0 C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2) +lbl_80135474: +/* 80135474 001323D4 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 80135478 001323D8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013547C 001323DC 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80135480 001323E0 38 A0 00 03 */ li r5, 3 +/* 80135484 001323E4 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13) +/* 80135488 001323E8 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13) +/* 8013548C 001323EC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80135490 001323F0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80135494 001323F4 80 9F 00 00 */ lwz r4, 0(r31) +/* 80135498 001323F8 80 84 00 64 */ lwz r4, 0x64(r4) +/* 8013549C 001323FC 80 84 00 10 */ lwz r4, 0x10(r4) +/* 801354A0 00132400 4B EF 5B 39 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime +/* 801354A4 00132404 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 801354A8 00132408 38 61 00 88 */ addi r3, r1, 0x88 +/* 801354AC 0013240C 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 801354B0 00132410 38 81 00 10 */ addi r4, r1, 0x10 +/* 801354B4 00132414 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13) +/* 801354B8 00132418 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13) +/* 801354BC 0013241C D0 21 00 88 */ stfs f1, 0x88(r1) +/* 801354C0 00132420 90 A1 00 8C */ stw r5, 0x8c(r1) +/* 801354C4 00132424 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 801354C8 00132428 90 01 00 14 */ stw r0, 0x14(r1) +/* 801354CC 0013242C 48 21 36 09 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime +/* 801354D0 00132430 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801354D4 00132434 41 82 00 0C */ beq lbl_801354E0 +/* 801354D8 00132438 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 801354DC 0013243C 48 00 00 0C */ b lbl_801354E8 +lbl_801354E0: +/* 801354E0 00132440 7F E3 FB 78 */ mr r3, r31 +/* 801354E4 00132444 48 00 53 D5 */ bl GetAnimTimeRemaining__15CBodyControllerCFv +lbl_801354E8: +/* 801354E8 00132448 D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 801354EC 0013244C 48 00 00 2C */ b lbl_80135518 +lbl_801354F0: +/* 801354F0 00132450 3C 60 80 5A */ lis r3, skZero3f@ha +/* 801354F4 00132454 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 801354F8 00132458 C0 02 99 A8 */ lfs f0, lbl_805AB6C8@sda21(r2) +/* 801354FC 0013245C D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 80135500 00132460 C0 23 00 04 */ lfs f1, 4(r3) +/* 80135504 00132464 D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 80135508 00132468 C0 23 00 08 */ lfs f1, 8(r3) +/* 8013550C 0013246C D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 80135510 00132470 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 80135514 00132474 D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_80135518: +/* 80135518 00132478 38 00 00 05 */ li r0, 5 +/* 8013551C 0013247C C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2) +/* 80135520 00132480 90 1E 00 04 */ stw r0, 4(r30) +/* 80135524 00132484 34 A1 00 C4 */ addic. r5, r1, 0xc4 +/* 80135528 00132488 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 8013552C 0013248C 41 82 00 58 */ beq lbl_80135584 +/* 80135530 00132490 80 C5 00 00 */ lwz r6, 0(r5) +/* 80135534 00132494 38 60 00 00 */ li r3, 0 +/* 80135538 00132498 2C 06 00 00 */ cmpwi r6, 0 +/* 8013553C 0013249C 40 81 00 40 */ ble lbl_8013557C +/* 80135540 001324A0 2C 06 00 08 */ cmpwi r6, 8 +/* 80135544 001324A4 38 86 FF F8 */ addi r4, r6, -8 +/* 80135548 001324A8 40 81 00 20 */ ble lbl_80135568 +/* 8013554C 001324AC 38 04 00 07 */ addi r0, r4, 7 +/* 80135550 001324B0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80135554 001324B4 7C 09 03 A6 */ mtctr r0 +/* 80135558 001324B8 2C 04 00 00 */ cmpwi r4, 0 +/* 8013555C 001324BC 40 81 00 0C */ ble lbl_80135568 +lbl_80135560: +/* 80135560 001324C0 38 63 00 08 */ addi r3, r3, 8 +/* 80135564 001324C4 42 00 FF FC */ bdnz lbl_80135560 +lbl_80135568: +/* 80135568 001324C8 7C 03 30 50 */ subf r0, r3, r6 +/* 8013556C 001324CC 7C 09 03 A6 */ mtctr r0 +/* 80135570 001324D0 7C 03 30 00 */ cmpw r3, r6 +/* 80135574 001324D4 40 80 00 08 */ bge lbl_8013557C +lbl_80135578: +/* 80135578 001324D8 42 00 00 00 */ bdnz lbl_80135578 +lbl_8013557C: +/* 8013557C 001324DC 38 00 00 00 */ li r0, 0 +/* 80135580 001324E0 90 05 00 00 */ stw r0, 0(r5) +lbl_80135584: +/* 80135584 001324E4 BB 21 01 14 */ lmw r25, 0x114(r1) +/* 80135588 001324E8 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8013558C 001324EC 7C 08 03 A6 */ mtlr r0 +/* 80135590 001324F0 38 21 01 30 */ addi r1, r1, 0x130 +/* 80135594 001324F4 4E 80 00 20 */ blr + +.global __ct__9CBSAttackFv +__ct__9CBSAttackFv: +/* 80135598 001324F8 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 8013559C 001324FC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801355A0 00132500 38 05 13 18 */ addi r0, r5, lbl_803E1318@l +/* 801355A4 00132504 3C C0 80 5A */ lis r6, skZero3f@ha +/* 801355A8 00132508 3C 80 80 3E */ lis r4, lbl_803E1370@ha +/* 801355AC 0013250C 90 03 00 00 */ stw r0, 0(r3) +/* 801355B0 00132510 38 04 13 70 */ addi r0, r4, lbl_803E1370@l +/* 801355B4 00132514 39 40 FF FF */ li r10, -1 +/* 801355B8 00132518 90 03 00 00 */ stw r0, 0(r3) +/* 801355BC 0013251C 3C 80 80 3E */ lis r4, lbl_803DAA08@ha +/* 801355C0 00132520 39 26 66 A0 */ addi r9, r6, skZero3f@l +/* 801355C4 00132524 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 801355C8 00132528 91 43 00 04 */ stw r10, 4(r3) +/* 801355CC 0013252C 38 04 AA 08 */ addi r0, r4, lbl_803DAA08@l +/* 801355D0 00132530 38 C5 AA 68 */ addi r6, r5, lbl_803DAA68@l +/* 801355D4 00132534 38 A0 00 11 */ li r5, 0x11 +/* 801355D8 00132538 81 09 00 00 */ lwz r8, 0(r9) +/* 801355DC 0013253C 80 E9 00 04 */ lwz r7, 4(r9) +/* 801355E0 00132540 80 89 00 08 */ lwz r4, 8(r9) +/* 801355E4 00132544 91 01 00 08 */ stw r8, 8(r1) +/* 801355E8 00132548 C0 22 99 A8 */ lfs f1, lbl_805AB6C8@sda21(r2) +/* 801355EC 0013254C 90 C3 00 08 */ stw r6, 8(r3) +/* 801355F0 00132550 C0 41 00 08 */ lfs f2, 8(r1) +/* 801355F4 00132554 90 A3 00 0C */ stw r5, 0xc(r3) +/* 801355F8 00132558 C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2) +/* 801355FC 0013255C 90 03 00 08 */ stw r0, 8(r3) +/* 80135600 00132560 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80135604 00132564 91 43 00 10 */ stw r10, 0x10(r3) +/* 80135608 00132568 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 8013560C 0013256C D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80135610 00132570 90 81 00 10 */ stw r4, 0x10(r1) +/* 80135614 00132574 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80135618 00132578 D0 63 00 18 */ stfs f3, 0x18(r3) +/* 8013561C 0013257C D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 80135620 00132580 C0 49 00 00 */ lfs f2, 0(r9) +/* 80135624 00132584 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 80135628 00132588 C0 49 00 04 */ lfs f2, 4(r9) +/* 8013562C 0013258C D0 43 00 24 */ stfs f2, 0x24(r3) +/* 80135630 00132590 C0 49 00 08 */ lfs f2, 8(r9) +/* 80135634 00132594 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80135638 00132598 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 8013563C 0013259C D0 23 00 30 */ stfs f1, 0x30(r3) +/* 80135640 001325A0 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 80135644 001325A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80135648 001325A8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSDie.s b/asm/Kyoto_CWD/BodyState/CBSDie.s new file mode 100644 index 00000000..7b2884ab --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSDie.s @@ -0,0 +1,223 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__6CBSDieFv +__dt__6CBSDieFv: +/* 8013564C 001325AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80135650 001325B0 7C 08 02 A6 */ mflr r0 +/* 80135654 001325B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80135658 001325B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013565C 001325BC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80135660 001325C0 41 82 00 30 */ beq lbl_80135690 +/* 80135664 001325C4 3C 60 80 3E */ lis r3, lbl_803E13A8@ha +/* 80135668 001325C8 38 03 13 A8 */ addi r0, r3, lbl_803E13A8@l +/* 8013566C 001325CC 90 1F 00 00 */ stw r0, 0(r31) +/* 80135670 001325D0 41 82 00 10 */ beq lbl_80135680 +/* 80135674 001325D4 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80135678 001325D8 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 8013567C 001325DC 90 1F 00 00 */ stw r0, 0(r31) +lbl_80135680: +/* 80135680 001325E0 7C 80 07 35 */ extsh. r0, r4 +/* 80135684 001325E4 40 81 00 0C */ ble lbl_80135690 +/* 80135688 001325E8 7F E3 FB 78 */ mr r3, r31 +/* 8013568C 001325EC 48 1E 02 A5 */ bl Free__7CMemoryFPCv +lbl_80135690: +/* 80135690 001325F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80135694 001325F4 7F E3 FB 78 */ mr r3, r31 +/* 80135698 001325F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013569C 001325FC 7C 08 03 A6 */ mtlr r0 +/* 801356A0 00132600 38 21 00 10 */ addi r1, r1, 0x10 +/* 801356A4 00132604 4E 80 00 20 */ blr + +.global IsDead__6CBSDieCFv +IsDead__6CBSDieCFv: +/* 801356A8 00132608 88 63 00 08 */ lbz r3, 8(r3) +/* 801356AC 0013260C 4E 80 00 20 */ blr + +.global IsDying__6CBSDieCFv +IsDying__6CBSDieCFv: +/* 801356B0 00132610 38 60 00 01 */ li r3, 1 +/* 801356B4 00132614 4E 80 00 20 */ blr + +.global Shutdown__6CBSDieFR15CBodyController +Shutdown__6CBSDieFR15CBodyController: +/* 801356B8 00132618 4E 80 00 20 */ blr + +.global UpdateBody__6CBSDieFfR15CBodyControllerR13CStateManager +UpdateBody__6CBSDieFfR15CBodyControllerR13CStateManager: +/* 801356BC 0013261C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801356C0 00132620 7C 08 02 A6 */ mflr r0 +/* 801356C4 00132624 C0 02 99 B0 */ lfs f0, lbl_805AB6D0@sda21(r2) +/* 801356C8 00132628 90 01 00 14 */ stw r0, 0x14(r1) +/* 801356CC 0013262C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801356D0 00132630 7C 7F 1B 78 */ mr r31, r3 +/* 801356D4 00132634 C0 43 00 04 */ lfs f2, 4(r3) +/* 801356D8 00132638 EC 22 08 28 */ fsubs f1, f2, f1 +/* 801356DC 0013263C D0 23 00 04 */ stfs f1, 4(r3) +/* 801356E0 00132640 C0 23 00 04 */ lfs f1, 4(r3) +/* 801356E4 00132644 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801356E8 00132648 4C 40 13 82 */ cror 2, 0, 2 +/* 801356EC 0013264C 40 82 00 18 */ bne lbl_80135704 +/* 801356F0 00132650 7C 83 23 78 */ mr r3, r4 +/* 801356F4 00132654 38 80 00 00 */ li r4, 0 +/* 801356F8 00132658 48 00 52 91 */ bl EnableAnimation__15CBodyControllerFb +/* 801356FC 0013265C 38 00 00 01 */ li r0, 1 +/* 80135700 00132660 98 1F 00 08 */ stb r0, 8(r31) +lbl_80135704: +/* 80135704 00132664 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80135708 00132668 38 60 FF FF */ li r3, -1 +/* 8013570C 0013266C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80135710 00132670 7C 08 03 A6 */ mtlr r0 +/* 80135714 00132674 38 21 00 10 */ addi r1, r1, 0x10 +/* 80135718 00132678 4E 80 00 20 */ blr + +.global Start__6CBSDieFR15CBodyControllerR13CStateManager +Start__6CBSDieFR15CBodyControllerR13CStateManager: +/* 8013571C 0013267C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80135720 00132680 7C 08 02 A6 */ mflr r0 +/* 80135724 00132684 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80135728 00132688 BF 41 00 C8 */ stmw r26, 0xc8(r1) +/* 8013572C 0013268C 7C 9F 23 78 */ mr r31, r4 +/* 80135730 00132690 7C 7E 1B 78 */ mr r30, r3 +/* 80135734 00132694 7C BA 2B 78 */ mr r26, r5 +/* 80135738 00132698 7F E3 FB 78 */ mr r3, r31 +/* 8013573C 0013269C 48 00 4D 19 */ bl GetPASDatabase__15CBodyControllerCFv +/* 80135740 001326A0 7C 60 1B 78 */ mr r0, r3 +/* 80135744 001326A4 7F E3 FB 78 */ mr r3, r31 +/* 80135748 001326A8 7C 1D 03 78 */ mr r29, r0 +/* 8013574C 001326AC 48 00 54 61 */ bl GetFallState__15CBodyControllerCFv +/* 80135750 001326B0 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 80135754 001326B4 7C 7C 1B 78 */ mr r28, r3 +/* 80135758 001326B8 3B 60 00 01 */ li r27, 1 +/* 8013575C 001326BC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80135760 001326C0 41 82 01 60 */ beq lbl_801358C0 +/* 80135764 001326C4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80135768 001326C8 48 1A D9 15 */ bl NoParameter__12CPASAnimParmFv +/* 8013576C 001326CC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80135770 001326D0 48 1A D9 0D */ bl NoParameter__12CPASAnimParmFv +/* 80135774 001326D4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80135778 001326D8 48 1A D9 05 */ bl NoParameter__12CPASAnimParmFv +/* 8013577C 001326DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80135780 001326E0 48 1A D8 FD */ bl NoParameter__12CPASAnimParmFv +/* 80135784 001326E4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80135788 001326E8 48 1A D8 F5 */ bl NoParameter__12CPASAnimParmFv +/* 8013578C 001326EC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80135790 001326F0 48 1A D8 ED */ bl NoParameter__12CPASAnimParmFv +/* 80135794 001326F4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80135798 001326F8 48 1A D8 E5 */ bl NoParameter__12CPASAnimParmFv +/* 8013579C 001326FC 7F 84 E3 78 */ mr r4, r28 +/* 801357A0 00132700 38 61 00 50 */ addi r3, r1, 0x50 +/* 801357A4 00132704 48 1A D7 E1 */ bl FromEnum__12CPASAnimParmFi +/* 801357A8 00132708 38 61 00 20 */ addi r3, r1, 0x20 +/* 801357AC 0013270C 38 01 00 18 */ addi r0, r1, 0x18 +/* 801357B0 00132710 90 61 00 08 */ stw r3, 8(r1) +/* 801357B4 00132714 38 61 00 80 */ addi r3, r1, 0x80 +/* 801357B8 00132718 38 A1 00 50 */ addi r5, r1, 0x50 +/* 801357BC 0013271C 38 C1 00 48 */ addi r6, r1, 0x48 +/* 801357C0 00132720 90 01 00 0C */ stw r0, 0xc(r1) +/* 801357C4 00132724 38 E1 00 40 */ addi r7, r1, 0x40 +/* 801357C8 00132728 39 01 00 38 */ addi r8, r1, 0x38 +/* 801357CC 0013272C 39 21 00 30 */ addi r9, r1, 0x30 +/* 801357D0 00132730 39 41 00 28 */ addi r10, r1, 0x28 +/* 801357D4 00132734 38 80 00 04 */ li r4, 4 +/* 801357D8 00132738 4B F4 7A ED */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 801357DC 0013273C 80 DA 09 00 */ lwz r6, 0x900(r26) +/* 801357E0 00132740 7F A4 EB 78 */ mr r4, r29 +/* 801357E4 00132744 38 61 00 10 */ addi r3, r1, 0x10 +/* 801357E8 00132748 38 A1 00 80 */ addi r5, r1, 0x80 +/* 801357EC 0013274C 38 E0 FF FF */ li r7, -1 +/* 801357F0 00132750 48 1A F8 71 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 801357F4 00132754 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 801357F8 00132758 C0 02 99 B0 */ lfs f0, lbl_805AB6D0@sda21(r2) +/* 801357FC 0013275C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80135800 00132760 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80135804 00132764 40 81 00 60 */ ble lbl_80135864 +/* 80135808 00132768 C0 02 99 B4 */ lfs f0, lbl_805AB6D4@sda21(r2) +/* 8013580C 0013276C 38 00 00 00 */ li r0, 0 +/* 80135810 00132770 38 C0 FF FF */ li r6, -1 +/* 80135814 00132774 38 E0 00 01 */ li r7, 1 +/* 80135818 00132778 90 61 00 58 */ stw r3, 0x58(r1) +/* 8013581C 0013277C 7F E3 FB 78 */ mr r3, r31 +/* 80135820 00132780 38 81 00 58 */ addi r4, r1, 0x58 +/* 80135824 00132784 38 A0 00 00 */ li r5, 0 +/* 80135828 00132788 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 8013582C 0013278C 38 C0 00 00 */ li r6, 0 +/* 80135830 00132790 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80135834 00132794 98 E1 00 64 */ stb r7, 0x64(r1) +/* 80135838 00132798 90 01 00 68 */ stw r0, 0x68(r1) +/* 8013583C 0013279C 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80135840 001327A0 98 01 00 70 */ stb r0, 0x70(r1) +/* 80135844 001327A4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80135848 001327A8 90 01 00 78 */ stw r0, 0x78(r1) +/* 8013584C 001327AC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80135850 001327B0 48 00 50 CD */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80135854 001327B4 7F E3 FB 78 */ mr r3, r31 +/* 80135858 001327B8 48 00 50 61 */ bl GetAnimTimeRemaining__15CBodyControllerCFv +/* 8013585C 001327BC D0 3E 00 04 */ stfs f1, 4(r30) +/* 80135860 001327C0 3B 60 00 00 */ li r27, 0 +lbl_80135864: +/* 80135864 001327C4 34 A1 00 84 */ addic. r5, r1, 0x84 +/* 80135868 001327C8 41 82 00 58 */ beq lbl_801358C0 +/* 8013586C 001327CC 80 C5 00 00 */ lwz r6, 0(r5) +/* 80135870 001327D0 38 60 00 00 */ li r3, 0 +/* 80135874 001327D4 2C 06 00 00 */ cmpwi r6, 0 +/* 80135878 001327D8 40 81 00 40 */ ble lbl_801358B8 +/* 8013587C 001327DC 2C 06 00 08 */ cmpwi r6, 8 +/* 80135880 001327E0 38 86 FF F8 */ addi r4, r6, -8 +/* 80135884 001327E4 40 81 00 20 */ ble lbl_801358A4 +/* 80135888 001327E8 38 04 00 07 */ addi r0, r4, 7 +/* 8013588C 001327EC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80135890 001327F0 7C 09 03 A6 */ mtctr r0 +/* 80135894 001327F4 2C 04 00 00 */ cmpwi r4, 0 +/* 80135898 001327F8 40 81 00 0C */ ble lbl_801358A4 +lbl_8013589C: +/* 8013589C 001327FC 38 63 00 08 */ addi r3, r3, 8 +/* 801358A0 00132800 42 00 FF FC */ bdnz lbl_8013589C +lbl_801358A4: +/* 801358A4 00132804 7C 03 30 50 */ subf r0, r3, r6 +/* 801358A8 00132808 7C 09 03 A6 */ mtctr r0 +/* 801358AC 0013280C 7C 03 30 00 */ cmpw r3, r6 +/* 801358B0 00132810 40 80 00 08 */ bge lbl_801358B8 +lbl_801358B4: +/* 801358B4 00132814 42 00 00 00 */ bdnz lbl_801358B4 +lbl_801358B8: +/* 801358B8 00132818 38 00 00 00 */ li r0, 0 +/* 801358BC 0013281C 90 05 00 00 */ stw r0, 0(r5) +lbl_801358C0: +/* 801358C0 00132820 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 801358C4 00132824 41 82 00 2C */ beq lbl_801358F0 +/* 801358C8 00132828 7F E3 FB 78 */ mr r3, r31 +/* 801358CC 0013282C 38 80 00 00 */ li r4, 0 +/* 801358D0 00132830 48 00 50 B9 */ bl EnableAnimation__15CBodyControllerFb +/* 801358D4 00132834 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 801358D8 00132838 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 801358DC 0013283C 41 82 00 0C */ beq lbl_801358E8 +/* 801358E0 00132840 C0 02 99 B8 */ lfs f0, lbl_805AB6D8@sda21(r2) +/* 801358E4 00132844 48 00 00 08 */ b lbl_801358EC +lbl_801358E8: +/* 801358E8 00132848 C0 02 99 BC */ lfs f0, lbl_805AB6DC@sda21(r2) +lbl_801358EC: +/* 801358EC 0013284C D0 1E 00 04 */ stfs f0, 4(r30) +lbl_801358F0: +/* 801358F0 00132850 38 00 00 00 */ li r0, 0 +/* 801358F4 00132854 98 1E 00 08 */ stb r0, 8(r30) +/* 801358F8 00132858 BB 41 00 C8 */ lmw r26, 0xc8(r1) +/* 801358FC 0013285C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80135900 00132860 7C 08 03 A6 */ mtlr r0 +/* 80135904 00132864 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80135908 00132868 4E 80 00 20 */ blr + +.global __ct__6CBSDieFv +__ct__6CBSDieFv: +/* 8013590C 0013286C 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 80135910 00132870 3C 80 80 3E */ lis r4, lbl_803E13A8@ha +/* 80135914 00132874 38 05 13 18 */ addi r0, r5, lbl_803E1318@l +/* 80135918 00132878 C0 02 99 B0 */ lfs f0, lbl_805AB6D0@sda21(r2) +/* 8013591C 0013287C 90 03 00 00 */ stw r0, 0(r3) +/* 80135920 00132880 38 84 13 A8 */ addi r4, r4, lbl_803E13A8@l +/* 80135924 00132884 38 00 00 00 */ li r0, 0 +/* 80135928 00132888 90 83 00 00 */ stw r4, 0(r3) +/* 8013592C 0013288C D0 03 00 04 */ stfs f0, 4(r3) +/* 80135930 00132890 98 03 00 08 */ stb r0, 8(r3) +/* 80135934 00132894 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSFall.s b/asm/Kyoto_CWD/BodyState/CBSFall.s new file mode 100644 index 00000000..51b9b68e --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSFall.s @@ -0,0 +1,380 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__7CBSFallFv +__dt__7CBSFallFv: +/* 80135938 00132898 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013593C 0013289C 7C 08 02 A6 */ mflr r0 +/* 80135940 001328A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80135944 001328A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80135948 001328A8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8013594C 001328AC 41 82 00 30 */ beq lbl_8013597C +/* 80135950 001328B0 3C 60 80 3E */ lis r3, lbl_803E13E0@ha +/* 80135954 001328B4 38 03 13 E0 */ addi r0, r3, lbl_803E13E0@l +/* 80135958 001328B8 90 1F 00 00 */ stw r0, 0(r31) +/* 8013595C 001328BC 41 82 00 10 */ beq lbl_8013596C +/* 80135960 001328C0 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80135964 001328C4 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80135968 001328C8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013596C: +/* 8013596C 001328CC 7C 80 07 35 */ extsh. r0, r4 +/* 80135970 001328D0 40 81 00 0C */ ble lbl_8013597C +/* 80135974 001328D4 7F E3 FB 78 */ mr r3, r31 +/* 80135978 001328D8 48 1D FF B9 */ bl Free__7CMemoryFPCv +lbl_8013597C: +/* 8013597C 001328DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80135980 001328E0 7F E3 FB 78 */ mr r3, r31 +/* 80135984 001328E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80135988 001328E8 7C 08 03 A6 */ mtlr r0 +/* 8013598C 001328EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80135990 001328F0 4E 80 00 20 */ blr + +.global GetBodyStateTransition__7CBSFallFfR15CBodyController +GetBodyStateTransition__7CBSFallFfR15CBodyController: +/* 80135994 001328F4 88 04 03 00 */ lbz r0, 0x300(r4) +/* 80135998 001328F8 38 60 FF FF */ li r3, -1 +/* 8013599C 001328FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801359A0 00132900 4D 82 00 20 */ beqlr +/* 801359A4 00132904 38 60 00 02 */ li r3, 2 +/* 801359A8 00132908 4E 80 00 20 */ blr + +.global Shutdown__7CBSFallFR15CBodyController +Shutdown__7CBSFallFR15CBodyController: +/* 801359AC 0013290C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801359B0 00132910 7C 08 02 A6 */ mflr r0 +/* 801359B4 00132914 90 01 00 14 */ stw r0, 0x14(r1) +/* 801359B8 00132918 7C 80 23 78 */ mr r0, r4 +/* 801359BC 0013291C 80 83 00 0C */ lwz r4, 0xc(r3) +/* 801359C0 00132920 7C 03 03 78 */ mr r3, r0 +/* 801359C4 00132924 48 00 51 E1 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState +/* 801359C8 00132928 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801359CC 0013292C 7C 08 03 A6 */ mtlr r0 +/* 801359D0 00132930 38 21 00 10 */ addi r1, r1, 0x10 +/* 801359D4 00132934 4E 80 00 20 */ blr + +.global UpdateBody__7CBSFallFfR15CBodyControllerR13CStateManager +UpdateBody__7CBSFallFfR15CBodyControllerR13CStateManager: +/* 801359D8 00132938 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 801359DC 0013293C 7C 08 02 A6 */ mflr r0 +/* 801359E0 00132940 90 01 00 44 */ stw r0, 0x44(r1) +/* 801359E4 00132944 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 801359E8 00132948 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 801359EC 0013294C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801359F0 00132950 93 C1 00 28 */ stw r30, 0x28(r1) +/* 801359F4 00132954 93 A1 00 24 */ stw r29, 0x24(r1) +/* 801359F8 00132958 FF E0 08 90 */ fmr f31, f1 +/* 801359FC 0013295C 7C 7D 1B 78 */ mr r29, r3 +/* 80135A00 00132960 7C 9E 23 78 */ mr r30, r4 +/* 80135A04 00132964 4B FF FF 91 */ bl GetBodyStateTransition__7CBSFallFfR15CBodyController +/* 80135A08 00132968 7C 7F 1B 78 */ mr r31, r3 +/* 80135A0C 0013296C 2C 1F FF FF */ cmpwi r31, -1 +/* 80135A10 00132970 40 82 00 44 */ bne lbl_80135A54 +/* 80135A14 00132974 C0 3D 00 08 */ lfs f1, 8(r29) +/* 80135A18 00132978 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) +/* 80135A1C 0013297C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80135A20 00132980 40 81 00 34 */ ble lbl_80135A54 +/* 80135A24 00132984 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80135A28 00132988 38 61 00 0C */ addi r3, r1, 0xc +/* 80135A2C 0013298C 38 81 00 08 */ addi r4, r1, 8 +/* 80135A30 00132990 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80135A34 00132994 D0 01 00 08 */ stfs f0, 8(r1) +/* 80135A38 00132998 48 1D B6 C1 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80135A3C 0013299C 7F C3 F3 78 */ mr r3, r30 +/* 80135A40 001329A0 38 81 00 0C */ addi r4, r1, 0xc +/* 80135A44 001329A4 48 00 4D C5 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion +/* 80135A48 001329A8 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80135A4C 001329AC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80135A50 001329B0 D0 1D 00 08 */ stfs f0, 8(r29) +lbl_80135A54: +/* 80135A54 001329B4 7F E3 FB 78 */ mr r3, r31 +/* 80135A58 001329B8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80135A5C 001329BC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80135A60 001329C0 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80135A64 001329C4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80135A68 001329C8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80135A6C 001329CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80135A70 001329D0 7C 08 03 A6 */ mtlr r0 +/* 80135A74 001329D4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80135A78 001329D8 4E 80 00 20 */ blr + +.global Start__7CBSFallFR15CBodyControllerR13CStateManager +Start__7CBSFallFR15CBodyControllerR13CStateManager: +/* 80135A7C 001329DC 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 80135A80 001329E0 7C 08 02 A6 */ mflr r0 +/* 80135A84 001329E4 90 01 01 64 */ stw r0, 0x164(r1) +/* 80135A88 001329E8 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 80135A8C 001329EC F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 80135A90 001329F0 BF 61 01 3C */ stmw r27, 0x13c(r1) +/* 80135A94 001329F4 7C 9E 23 78 */ mr r30, r4 +/* 80135A98 001329F8 7C 7D 1B 78 */ mr r29, r3 +/* 80135A9C 001329FC 7C BB 2B 78 */ mr r27, r5 +/* 80135AA0 00132A00 38 80 00 03 */ li r4, 3 +/* 80135AA4 00132A04 38 7E 00 04 */ addi r3, r30, 4 +/* 80135AA8 00132A08 4B FF B9 A9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135AAC 00132A0C 80 9E 00 00 */ lwz r4, 0(r30) +/* 80135AB0 00132A10 7C 7F 1B 78 */ mr r31, r3 +/* 80135AB4 00132A14 38 61 00 90 */ addi r3, r1, 0x90 +/* 80135AB8 00132A18 38 84 00 34 */ addi r4, r4, 0x34 +/* 80135ABC 00132A1C 38 BF 00 08 */ addi r5, r31, 8 +/* 80135AC0 00132A20 48 1D CF 65 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80135AC4 00132A24 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 80135AC8 00132A28 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 80135ACC 00132A2C 48 25 F1 A1 */ bl atan2 +/* 80135AD0 00132A30 FC 80 08 18 */ frsp f4, f1 +/* 80135AD4 00132A34 C0 02 99 C4 */ lfs f0, lbl_805AB6E4@sda21(r2) +/* 80135AD8 00132A38 3C 00 43 30 */ lis r0, 0x4330 +/* 80135ADC 00132A3C C8 62 99 E8 */ lfd f3, lbl_805AB708@sda21(r2) +/* 80135AE0 00132A40 90 01 01 18 */ stw r0, 0x118(r1) +/* 80135AE4 00132A44 EC 44 00 32 */ fmuls f2, f4, f0 +/* 80135AE8 00132A48 C0 22 99 C8 */ lfs f1, lbl_805AB6E8@sda21(r2) +/* 80135AEC 00132A4C C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) +/* 80135AF0 00132A50 FC 40 10 1E */ fctiwz f2, f2 +/* 80135AF4 00132A54 D8 41 01 10 */ stfd f2, 0x110(r1) +/* 80135AF8 00132A58 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80135AFC 00132A5C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80135B00 00132A60 90 01 01 1C */ stw r0, 0x11c(r1) +/* 80135B04 00132A64 C8 41 01 18 */ lfd f2, 0x118(r1) +/* 80135B08 00132A68 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80135B0C 00132A6C EF E2 20 7C */ fnmsubs f31, f2, f1, f4 +/* 80135B10 00132A70 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80135B14 00132A74 40 80 00 08 */ bge lbl_80135B1C +/* 80135B18 00132A78 EF FF 08 2A */ fadds f31, f31, f1 +lbl_80135B1C: +/* 80135B1C 00132A7C 7F C3 F3 78 */ mr r3, r30 +/* 80135B20 00132A80 48 00 49 35 */ bl GetPASDatabase__15CBodyControllerCFv +/* 80135B24 00132A84 83 FF 00 14 */ lwz r31, 0x14(r31) +/* 80135B28 00132A88 7C 7C 1B 78 */ mr r28, r3 +/* 80135B2C 00132A8C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80135B30 00132A90 48 1A D5 4D */ bl NoParameter__12CPASAnimParmFv +/* 80135B34 00132A94 38 61 00 40 */ addi r3, r1, 0x40 +/* 80135B38 00132A98 48 1A D5 45 */ bl NoParameter__12CPASAnimParmFv +/* 80135B3C 00132A9C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80135B40 00132AA0 48 1A D5 3D */ bl NoParameter__12CPASAnimParmFv +/* 80135B44 00132AA4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80135B48 00132AA8 48 1A D5 35 */ bl NoParameter__12CPASAnimParmFv +/* 80135B4C 00132AAC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80135B50 00132AB0 48 1A D5 2D */ bl NoParameter__12CPASAnimParmFv +/* 80135B54 00132AB4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80135B58 00132AB8 48 1A D5 25 */ bl NoParameter__12CPASAnimParmFv +/* 80135B5C 00132ABC 7F E4 FB 78 */ mr r4, r31 +/* 80135B60 00132AC0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80135B64 00132AC4 48 1A D4 21 */ bl FromEnum__12CPASAnimParmFi +/* 80135B68 00132AC8 C0 02 99 CC */ lfs f0, lbl_805AB6EC@sda21(r2) +/* 80135B6C 00132ACC 38 61 00 70 */ addi r3, r1, 0x70 +/* 80135B70 00132AD0 EC 20 07 F2 */ fmuls f1, f0, f31 +/* 80135B74 00132AD4 48 1A D4 75 */ bl FromReal32__12CPASAnimParmFf +/* 80135B78 00132AD8 38 61 00 40 */ addi r3, r1, 0x40 +/* 80135B7C 00132ADC 38 01 00 38 */ addi r0, r1, 0x38 +/* 80135B80 00132AE0 90 61 00 08 */ stw r3, 8(r1) +/* 80135B84 00132AE4 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 80135B88 00132AE8 38 A1 00 70 */ addi r5, r1, 0x70 +/* 80135B8C 00132AEC 38 C1 00 68 */ addi r6, r1, 0x68 +/* 80135B90 00132AF0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80135B94 00132AF4 38 E1 00 60 */ addi r7, r1, 0x60 +/* 80135B98 00132AF8 39 01 00 58 */ addi r8, r1, 0x58 +/* 80135B9C 00132AFC 39 21 00 50 */ addi r9, r1, 0x50 +/* 80135BA0 00132B00 39 41 00 48 */ addi r10, r1, 0x48 +/* 80135BA4 00132B04 38 80 00 00 */ li r4, 0 +/* 80135BA8 00132B08 4B F4 77 1D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80135BAC 00132B0C 80 DB 09 00 */ lwz r6, 0x900(r27) +/* 80135BB0 00132B10 7F 84 E3 78 */ mr r4, r28 +/* 80135BB4 00132B14 38 61 00 30 */ addi r3, r1, 0x30 +/* 80135BB8 00132B18 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 80135BBC 00132B1C 38 E0 FF FF */ li r7, -1 +/* 80135BC0 00132B20 48 1A F4 A1 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 80135BC4 00132B24 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 80135BC8 00132B28 38 00 00 00 */ li r0, 0 +/* 80135BCC 00132B2C C0 02 99 D0 */ lfs f0, lbl_805AB6F0@sda21(r2) +/* 80135BD0 00132B30 38 A0 FF FF */ li r5, -1 +/* 80135BD4 00132B34 38 E0 00 01 */ li r7, 1 +/* 80135BD8 00132B38 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 80135BDC 00132B3C 7F C3 F3 78 */ mr r3, r30 +/* 80135BE0 00132B40 38 81 00 9C */ addi r4, r1, 0x9c +/* 80135BE4 00132B44 90 A1 00 A0 */ stw r5, 0xa0(r1) +/* 80135BE8 00132B48 38 A0 00 00 */ li r5, 0 +/* 80135BEC 00132B4C 38 C0 00 00 */ li r6, 0 +/* 80135BF0 00132B50 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80135BF4 00132B54 98 E1 00 A8 */ stb r7, 0xa8(r1) +/* 80135BF8 00132B58 90 01 00 AC */ stw r0, 0xac(r1) +/* 80135BFC 00132B5C 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80135C00 00132B60 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 80135C04 00132B64 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 80135C08 00132B68 90 01 00 BC */ stw r0, 0xbc(r1) +/* 80135C0C 00132B6C 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80135C10 00132B70 48 00 4D 0D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80135C14 00132B74 7F 83 E3 78 */ mr r3, r28 +/* 80135C18 00132B78 38 80 00 00 */ li r4, 0 +/* 80135C1C 00132B7C 48 1A F2 A9 */ bl GetAnimState__12CPASDatabaseCFi +/* 80135C20 00132B80 7C 7C 1B 78 */ mr r28, r3 +/* 80135C24 00132B84 7F E5 FB 78 */ mr r5, r31 +/* 80135C28 00132B88 38 61 00 28 */ addi r3, r1, 0x28 +/* 80135C2C 00132B8C 38 C0 00 02 */ li r6, 2 +/* 80135C30 00132B90 7F 84 E3 78 */ mr r4, r28 +/* 80135C34 00132B94 48 1A E3 C1 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 80135C38 00132B98 80 81 00 28 */ lwz r4, 0x28(r1) +/* 80135C3C 00132B9C 38 61 00 88 */ addi r3, r1, 0x88 +/* 80135C40 00132BA0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80135C44 00132BA4 90 81 00 88 */ stw r4, 0x88(r1) +/* 80135C48 00132BA8 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80135C4C 00132BAC 48 1A D3 19 */ bl GetBoolValue__12CPASAnimParmCFv +/* 80135C50 00132BB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80135C54 00132BB4 40 82 01 50 */ bne lbl_80135DA4 +/* 80135C58 00132BB8 7F 84 E3 78 */ mr r4, r28 +/* 80135C5C 00132BBC 7F E5 FB 78 */ mr r5, r31 +/* 80135C60 00132BC0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80135C64 00132BC4 38 C0 00 00 */ li r6, 0 +/* 80135C68 00132BC8 48 1A E3 8D */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 80135C6C 00132BCC 80 81 00 20 */ lwz r4, 0x20(r1) +/* 80135C70 00132BD0 38 61 00 80 */ addi r3, r1, 0x80 +/* 80135C74 00132BD4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80135C78 00132BD8 90 81 00 80 */ stw r4, 0x80(r1) +/* 80135C7C 00132BDC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80135C80 00132BE0 48 1A D2 ED */ bl GetReal32Value__12CPASAnimParmCFv +/* 80135C84 00132BE4 C0 02 99 D4 */ lfs f0, lbl_805AB6F4@sda21(r2) +/* 80135C88 00132BE8 3C 00 43 30 */ lis r0, 0x4330 +/* 80135C8C 00132BEC C0 42 99 C4 */ lfs f2, lbl_805AB6E4@sda21(r2) +/* 80135C90 00132BF0 EC A0 00 72 */ fmuls f5, f0, f1 +/* 80135C94 00132BF4 90 01 01 10 */ stw r0, 0x110(r1) +/* 80135C98 00132BF8 C8 62 99 E8 */ lfd f3, lbl_805AB708@sda21(r2) +/* 80135C9C 00132BFC C0 22 99 C8 */ lfs f1, lbl_805AB6E8@sda21(r2) +/* 80135CA0 00132C00 EC 9F 28 28 */ fsubs f4, f31, f5 +/* 80135CA4 00132C04 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) +/* 80135CA8 00132C08 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80135CAC 00132C0C FC 40 10 1E */ fctiwz f2, f2 +/* 80135CB0 00132C10 D8 41 01 18 */ stfd f2, 0x118(r1) +/* 80135CB4 00132C14 80 01 01 1C */ lwz r0, 0x11c(r1) +/* 80135CB8 00132C18 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80135CBC 00132C1C 90 01 01 14 */ stw r0, 0x114(r1) +/* 80135CC0 00132C20 C8 41 01 10 */ lfd f2, 0x110(r1) +/* 80135CC4 00132C24 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80135CC8 00132C28 EC C2 20 7C */ fnmsubs f6, f2, f1, f4 +/* 80135CCC 00132C2C FC 80 30 90 */ fmr f4, f6 +/* 80135CD0 00132C30 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80135CD4 00132C34 40 80 00 08 */ bge lbl_80135CDC +/* 80135CD8 00132C38 EC 86 08 2A */ fadds f4, f6, f1 +lbl_80135CDC: +/* 80135CDC 00132C3C EC A5 F8 28 */ fsubs f5, f5, f31 +/* 80135CE0 00132C40 C0 02 99 C4 */ lfs f0, lbl_805AB6E4@sda21(r2) +/* 80135CE4 00132C44 3C 00 43 30 */ lis r0, 0x4330 +/* 80135CE8 00132C48 C8 62 99 E8 */ lfd f3, lbl_805AB708@sda21(r2) +/* 80135CEC 00132C4C 90 01 01 28 */ stw r0, 0x128(r1) +/* 80135CF0 00132C50 EC 45 00 32 */ fmuls f2, f5, f0 +/* 80135CF4 00132C54 C0 22 99 C8 */ lfs f1, lbl_805AB6E8@sda21(r2) +/* 80135CF8 00132C58 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) +/* 80135CFC 00132C5C FC 40 10 1E */ fctiwz f2, f2 +/* 80135D00 00132C60 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 80135D04 00132C64 D8 41 01 20 */ stfd f2, 0x120(r1) +/* 80135D08 00132C68 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80135D0C 00132C6C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80135D10 00132C70 90 01 01 2C */ stw r0, 0x12c(r1) +/* 80135D14 00132C74 C8 41 01 28 */ lfd f2, 0x128(r1) +/* 80135D18 00132C78 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80135D1C 00132C7C EC 42 28 7C */ fnmsubs f2, f2, f1, f5 +/* 80135D20 00132C80 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80135D24 00132C84 40 80 00 08 */ bge lbl_80135D2C +/* 80135D28 00132C88 EC 42 08 2A */ fadds f2, f2, f1 +lbl_80135D2C: +/* 80135D2C 00132C8C FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 80135D30 00132C90 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80135D34 00132C94 40 80 00 0C */ bge lbl_80135D40 +/* 80135D38 00132C98 38 61 00 10 */ addi r3, r1, 0x10 +/* 80135D3C 00132C9C 48 00 00 08 */ b lbl_80135D44 +lbl_80135D40: +/* 80135D40 00132CA0 38 61 00 14 */ addi r3, r1, 0x14 +lbl_80135D44: +/* 80135D44 00132CA4 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) +/* 80135D48 00132CA8 C0 23 00 00 */ lfs f1, 0(r3) +/* 80135D4C 00132CAC FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80135D50 00132CB0 40 80 00 0C */ bge lbl_80135D5C +/* 80135D54 00132CB4 C0 02 99 C8 */ lfs f0, lbl_805AB6E8@sda21(r2) +/* 80135D58 00132CB8 EC C6 00 2A */ fadds f6, f6, f0 +lbl_80135D5C: +/* 80135D5C 00132CBC C0 02 99 D8 */ lfs f0, lbl_805AB6F8@sda21(r2) +/* 80135D60 00132CC0 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80135D64 00132CC4 40 81 00 0C */ ble lbl_80135D70 +/* 80135D68 00132CC8 FF E0 08 50 */ fneg f31, f1 +/* 80135D6C 00132CCC 48 00 00 08 */ b lbl_80135D74 +lbl_80135D70: +/* 80135D70 00132CD0 FF E0 08 90 */ fmr f31, f1 +lbl_80135D74: +/* 80135D74 00132CD4 7F C3 F3 78 */ mr r3, r30 +/* 80135D78 00132CD8 48 00 4B 41 */ bl GetAnimTimeRemaining__15CBodyControllerCFv +/* 80135D7C 00132CDC C0 42 99 DC */ lfs f2, lbl_805AB6FC@sda21(r2) +/* 80135D80 00132CE0 C0 02 99 E0 */ lfs f0, lbl_805AB700@sda21(r2) +/* 80135D84 00132CE4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80135D88 00132CE8 D0 3D 00 08 */ stfs f1, 8(r29) +/* 80135D8C 00132CEC C0 3D 00 08 */ lfs f1, 8(r29) +/* 80135D90 00132CF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80135D94 00132CF4 40 81 00 08 */ ble lbl_80135D9C +/* 80135D98 00132CF8 EF FF 08 24 */ fdivs f31, f31, f1 +lbl_80135D9C: +/* 80135D9C 00132CFC D3 FD 00 04 */ stfs f31, 4(r29) +/* 80135DA0 00132D00 48 00 00 10 */ b lbl_80135DB0 +lbl_80135DA4: +/* 80135DA4 00132D04 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) +/* 80135DA8 00132D08 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80135DAC 00132D0C D0 1D 00 04 */ stfs f0, 4(r29) +lbl_80135DB0: +/* 80135DB0 00132D10 7F 84 E3 78 */ mr r4, r28 +/* 80135DB4 00132D14 7F E5 FB 78 */ mr r5, r31 +/* 80135DB8 00132D18 38 61 00 18 */ addi r3, r1, 0x18 +/* 80135DBC 00132D1C 38 C0 00 03 */ li r6, 3 +/* 80135DC0 00132D20 48 1A E2 35 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 80135DC4 00132D24 80 81 00 18 */ lwz r4, 0x18(r1) +/* 80135DC8 00132D28 38 61 00 78 */ addi r3, r1, 0x78 +/* 80135DCC 00132D2C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80135DD0 00132D30 90 81 00 78 */ stw r4, 0x78(r1) +/* 80135DD4 00132D34 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80135DD8 00132D38 48 1A D1 85 */ bl GetEnumValue__12CPASAnimParmCFv +/* 80135DDC 00132D3C 34 A1 00 C8 */ addic. r5, r1, 0xc8 +/* 80135DE0 00132D40 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80135DE4 00132D44 41 82 00 58 */ beq lbl_80135E3C +/* 80135DE8 00132D48 80 C5 00 00 */ lwz r6, 0(r5) +/* 80135DEC 00132D4C 38 60 00 00 */ li r3, 0 +/* 80135DF0 00132D50 2C 06 00 00 */ cmpwi r6, 0 +/* 80135DF4 00132D54 40 81 00 40 */ ble lbl_80135E34 +/* 80135DF8 00132D58 2C 06 00 08 */ cmpwi r6, 8 +/* 80135DFC 00132D5C 38 86 FF F8 */ addi r4, r6, -8 +/* 80135E00 00132D60 40 81 00 20 */ ble lbl_80135E20 +/* 80135E04 00132D64 38 04 00 07 */ addi r0, r4, 7 +/* 80135E08 00132D68 54 00 E8 FE */ srwi r0, r0, 3 +/* 80135E0C 00132D6C 7C 09 03 A6 */ mtctr r0 +/* 80135E10 00132D70 2C 04 00 00 */ cmpwi r4, 0 +/* 80135E14 00132D74 40 81 00 0C */ ble lbl_80135E20 +lbl_80135E18: +/* 80135E18 00132D78 38 63 00 08 */ addi r3, r3, 8 +/* 80135E1C 00132D7C 42 00 FF FC */ bdnz lbl_80135E18 +lbl_80135E20: +/* 80135E20 00132D80 7C 03 30 50 */ subf r0, r3, r6 +/* 80135E24 00132D84 7C 09 03 A6 */ mtctr r0 +/* 80135E28 00132D88 7C 03 30 00 */ cmpw r3, r6 +/* 80135E2C 00132D8C 40 80 00 08 */ bge lbl_80135E34 +lbl_80135E30: +/* 80135E30 00132D90 42 00 00 00 */ bdnz lbl_80135E30 +lbl_80135E34: +/* 80135E34 00132D94 38 00 00 00 */ li r0, 0 +/* 80135E38 00132D98 90 05 00 00 */ stw r0, 0(r5) +lbl_80135E3C: +/* 80135E3C 00132D9C E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 80135E40 00132DA0 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 80135E44 00132DA4 BB 61 01 3C */ lmw r27, 0x13c(r1) +/* 80135E48 00132DA8 80 01 01 64 */ lwz r0, 0x164(r1) +/* 80135E4C 00132DAC 7C 08 03 A6 */ mtlr r0 +/* 80135E50 00132DB0 38 21 01 60 */ addi r1, r1, 0x160 +/* 80135E54 00132DB4 4E 80 00 20 */ blr + +.global __ct__7CBSFallFv +__ct__7CBSFallFv: +/* 80135E58 00132DB8 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 80135E5C 00132DBC 3C 80 80 3E */ lis r4, lbl_803E13E0@ha +/* 80135E60 00132DC0 38 05 13 18 */ addi r0, r5, lbl_803E1318@l +/* 80135E64 00132DC4 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) +/* 80135E68 00132DC8 90 03 00 00 */ stw r0, 0(r3) +/* 80135E6C 00132DCC 38 84 13 E0 */ addi r4, r4, lbl_803E13E0@l +/* 80135E70 00132DD0 38 00 FF FF */ li r0, -1 +/* 80135E74 00132DD4 90 83 00 00 */ stw r4, 0(r3) +/* 80135E78 00132DD8 D0 03 00 04 */ stfs f0, 4(r3) +/* 80135E7C 00132DDC D0 03 00 08 */ stfs f0, 8(r3) +/* 80135E80 00132DE0 90 03 00 0C */ stw r0, 0xc(r3) +/* 80135E84 00132DE4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSGenerate.s b/asm/Kyoto_CWD/BodyState/CBSGenerate.s new file mode 100644 index 00000000..cc76edb9 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSGenerate.s @@ -0,0 +1,294 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__11CBSGenerateFv +__dt__11CBSGenerateFv: +/* 801466B4 00143614 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801466B8 00143618 7C 08 02 A6 */ mflr r0 +/* 801466BC 0014361C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801466C0 00143620 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801466C4 00143624 7C 7F 1B 79 */ or. r31, r3, r3 +/* 801466C8 00143628 41 82 00 30 */ beq lbl_801466F8 +/* 801466CC 0014362C 3C 60 80 3E */ lis r3, lbl_803E2040@ha +/* 801466D0 00143630 38 03 20 40 */ addi r0, r3, lbl_803E2040@l +/* 801466D4 00143634 90 1F 00 00 */ stw r0, 0(r31) +/* 801466D8 00143638 41 82 00 10 */ beq lbl_801466E8 +/* 801466DC 0014363C 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 801466E0 00143640 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 801466E4 00143644 90 1F 00 00 */ stw r0, 0(r31) +lbl_801466E8: +/* 801466E8 00143648 7C 80 07 35 */ extsh. r0, r4 +/* 801466EC 0014364C 40 81 00 0C */ ble lbl_801466F8 +/* 801466F0 00143650 7F E3 FB 78 */ mr r3, r31 +/* 801466F4 00143654 48 1C F2 3D */ bl Free__7CMemoryFPCv +lbl_801466F8: +/* 801466F8 00143658 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801466FC 0014365C 7F E3 FB 78 */ mr r3, r31 +/* 80146700 00143660 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80146704 00143664 7C 08 03 A6 */ mtlr r0 +/* 80146708 00143668 38 21 00 10 */ addi r1, r1, 0x10 +/* 8014670C 0014366C 4E 80 00 20 */ blr + +.global GetBodyStateTransition__11CBSGenerateFfR15CBodyController +GetBodyStateTransition__11CBSGenerateFfR15CBodyController: +/* 80146710 00143670 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80146714 00143674 7C 08 02 A6 */ mflr r0 +/* 80146718 00143678 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014671C 0014367C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80146720 00143680 93 C1 00 08 */ stw r30, 8(r1) +/* 80146724 00143684 7C 9E 23 78 */ mr r30, r4 +/* 80146728 00143688 3B FE 00 04 */ addi r31, r30, 4 +/* 8014672C 0014368C 38 80 00 0F */ li r4, 0xf +/* 80146730 00143690 7F E3 FB 78 */ mr r3, r31 +/* 80146734 00143694 4B FE AD 1D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80146738 00143698 28 03 00 00 */ cmplwi r3, 0 +/* 8014673C 0014369C 41 82 00 0C */ beq lbl_80146748 +/* 80146740 001436A0 38 60 00 0E */ li r3, 0xe +/* 80146744 001436A4 48 00 00 68 */ b lbl_801467AC +lbl_80146748: +/* 80146748 001436A8 7F E3 FB 78 */ mr r3, r31 +/* 8014674C 001436AC 38 80 00 03 */ li r4, 3 +/* 80146750 001436B0 4B FE AD 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80146754 001436B4 28 03 00 00 */ cmplwi r3, 0 +/* 80146758 001436B8 41 82 00 0C */ beq lbl_80146764 +/* 8014675C 001436BC 38 60 00 00 */ li r3, 0 +/* 80146760 001436C0 48 00 00 4C */ b lbl_801467AC +lbl_80146764: +/* 80146764 001436C4 7F E3 FB 78 */ mr r3, r31 +/* 80146768 001436C8 38 80 00 0E */ li r4, 0xe +/* 8014676C 001436CC 4B FE AC E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80146770 001436D0 28 03 00 00 */ cmplwi r3, 0 +/* 80146774 001436D4 41 82 00 0C */ beq lbl_80146780 +/* 80146778 001436D8 38 60 00 0C */ li r3, 0xc +/* 8014677C 001436DC 48 00 00 30 */ b lbl_801467AC +lbl_80146780: +/* 80146780 001436E0 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 80146784 001436E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80146788 001436E8 40 82 00 18 */ bne lbl_801467A0 +/* 8014678C 001436EC 7F E3 FB 78 */ mr r3, r31 +/* 80146790 001436F0 38 80 00 0C */ li r4, 0xc +/* 80146794 001436F4 4B FE AC BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80146798 001436F8 28 03 00 00 */ cmplwi r3, 0 +/* 8014679C 001436FC 41 82 00 0C */ beq lbl_801467A8 +lbl_801467A0: +/* 801467A0 00143700 38 60 00 05 */ li r3, 5 +/* 801467A4 00143704 48 00 00 08 */ b lbl_801467AC +lbl_801467A8: +/* 801467A8 00143708 38 60 FF FF */ li r3, -1 +lbl_801467AC: +/* 801467AC 0014370C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801467B0 00143710 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801467B4 00143714 83 C1 00 08 */ lwz r30, 8(r1) +/* 801467B8 00143718 7C 08 03 A6 */ mtlr r0 +/* 801467BC 0014371C 38 21 00 10 */ addi r1, r1, 0x10 +/* 801467C0 00143720 4E 80 00 20 */ blr + +.global Shutdown__11CBSGenerateFR15CBodyController +Shutdown__11CBSGenerateFR15CBodyController: +/* 801467C4 00143724 4E 80 00 20 */ blr + +.global UpdateBody__11CBSGenerateFfR15CBodyControllerR13CStateManager +UpdateBody__11CBSGenerateFfR15CBodyControllerR13CStateManager: +/* 801467C8 00143728 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801467CC 0014372C 7C 08 02 A6 */ mflr r0 +/* 801467D0 00143730 90 01 00 24 */ stw r0, 0x24(r1) +/* 801467D4 00143734 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 801467D8 00143738 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 801467DC 0014373C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801467E0 00143740 93 C1 00 08 */ stw r30, 8(r1) +/* 801467E4 00143744 FF E0 08 90 */ fmr f31, f1 +/* 801467E8 00143748 7C 9E 23 78 */ mr r30, r4 +/* 801467EC 0014374C 4B FF FF 25 */ bl GetBodyStateTransition__11CBSGenerateFfR15CBodyController +/* 801467F0 00143750 7C 7F 1B 78 */ mr r31, r3 +/* 801467F4 00143754 2C 1F FF FF */ cmpwi r31, -1 +/* 801467F8 00143758 40 82 00 50 */ bne lbl_80146848 +/* 801467FC 0014375C 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80146800 00143760 C0 22 9C 80 */ lfs f1, lbl_805AB9A0@sda21(r2) +/* 80146804 00143764 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80146808 00143768 38 00 00 00 */ li r0, 0 +/* 8014680C 0014376C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80146810 00143770 40 82 00 1C */ bne lbl_8014682C +/* 80146814 00143774 C0 03 00 04 */ lfs f0, 4(r3) +/* 80146818 00143778 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8014681C 0014377C 40 82 00 10 */ bne lbl_8014682C +/* 80146820 00143780 C0 03 00 08 */ lfs f0, 8(r3) +/* 80146824 00143784 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80146828 00143788 41 82 00 08 */ beq lbl_80146830 +lbl_8014682C: +/* 8014682C 0014378C 38 00 00 01 */ li r0, 1 +lbl_80146830: +/* 80146830 00143790 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80146834 00143794 41 82 00 14 */ beq lbl_80146848 +/* 80146838 00143798 FC 20 F8 90 */ fmr f1, f31 +/* 8014683C 0014379C 7F C3 F3 78 */ mr r3, r30 +/* 80146840 001437A0 38 9E 00 1C */ addi r4, r30, 0x1c +/* 80146844 001437A4 4B FF 3E 61 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_80146848: +/* 80146848 001437A8 7F E3 FB 78 */ mr r3, r31 +/* 8014684C 001437AC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80146850 001437B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80146854 001437B4 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80146858 001437B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8014685C 001437BC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80146860 001437C0 7C 08 03 A6 */ mtlr r0 +/* 80146864 001437C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80146868 001437C8 4E 80 00 20 */ blr + +.global Start__11CBSGenerateFR15CBodyControllerR13CStateManager +Start__11CBSGenerateFR15CBodyControllerR13CStateManager: +/* 8014686C 001437CC 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80146870 001437D0 7C 08 02 A6 */ mflr r0 +/* 80146874 001437D4 90 01 01 24 */ stw r0, 0x124(r1) +/* 80146878 001437D8 BF 61 01 0C */ stmw r27, 0x10c(r1) +/* 8014687C 001437DC 7C 9F 23 78 */ mr r31, r4 +/* 80146880 001437E0 7C BB 2B 78 */ mr r27, r5 +/* 80146884 001437E4 38 80 00 0E */ li r4, 0xe +/* 80146888 001437E8 38 7F 00 04 */ addi r3, r31, 4 +/* 8014688C 001437EC 4B FE AB C5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80146890 001437F0 88 03 00 1C */ lbz r0, 0x1c(r3) +/* 80146894 001437F4 7C 7E 1B 78 */ mr r30, r3 +/* 80146898 001437F8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8014689C 001437FC 40 82 01 08 */ bne lbl_801469A4 +/* 801468A0 00143800 7F E3 FB 78 */ mr r3, r31 +/* 801468A4 00143804 4B FF 3B B1 */ bl GetPASDatabase__15CBodyControllerCFv +/* 801468A8 00143808 83 BE 00 08 */ lwz r29, 8(r30) +/* 801468AC 0014380C 7C 7C 1B 78 */ mr r28, r3 +/* 801468B0 00143810 38 61 00 18 */ addi r3, r1, 0x18 +/* 801468B4 00143814 48 19 C7 C9 */ bl NoParameter__12CPASAnimParmFv +/* 801468B8 00143818 38 61 00 20 */ addi r3, r1, 0x20 +/* 801468BC 0014381C 48 19 C7 C1 */ bl NoParameter__12CPASAnimParmFv +/* 801468C0 00143820 38 61 00 28 */ addi r3, r1, 0x28 +/* 801468C4 00143824 48 19 C7 B9 */ bl NoParameter__12CPASAnimParmFv +/* 801468C8 00143828 38 61 00 30 */ addi r3, r1, 0x30 +/* 801468CC 0014382C 48 19 C7 B1 */ bl NoParameter__12CPASAnimParmFv +/* 801468D0 00143830 38 61 00 38 */ addi r3, r1, 0x38 +/* 801468D4 00143834 48 19 C7 A9 */ bl NoParameter__12CPASAnimParmFv +/* 801468D8 00143838 38 61 00 40 */ addi r3, r1, 0x40 +/* 801468DC 0014383C 48 19 C7 A1 */ bl NoParameter__12CPASAnimParmFv +/* 801468E0 00143840 38 61 00 48 */ addi r3, r1, 0x48 +/* 801468E4 00143844 48 19 C7 99 */ bl NoParameter__12CPASAnimParmFv +/* 801468E8 00143848 7F A4 EB 78 */ mr r4, r29 +/* 801468EC 0014384C 38 61 00 50 */ addi r3, r1, 0x50 +/* 801468F0 00143850 48 19 C6 95 */ bl FromEnum__12CPASAnimParmFi +/* 801468F4 00143854 38 61 00 20 */ addi r3, r1, 0x20 +/* 801468F8 00143858 38 01 00 18 */ addi r0, r1, 0x18 +/* 801468FC 0014385C 90 61 00 08 */ stw r3, 8(r1) +/* 80146900 00143860 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80146904 00143864 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80146908 00143868 38 C1 00 48 */ addi r6, r1, 0x48 +/* 8014690C 0014386C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80146910 00143870 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80146914 00143874 39 01 00 38 */ addi r8, r1, 0x38 +/* 80146918 00143878 39 21 00 30 */ addi r9, r1, 0x30 +/* 8014691C 0014387C 39 41 00 28 */ addi r10, r1, 0x28 +/* 80146920 00143880 38 80 00 0C */ li r4, 0xc +/* 80146924 00143884 4B F3 69 A1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80146928 00143888 80 DB 09 00 */ lwz r6, 0x900(r27) +/* 8014692C 0014388C 7F 84 E3 78 */ mr r4, r28 +/* 80146930 00143890 38 61 00 10 */ addi r3, r1, 0x10 +/* 80146934 00143894 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 80146938 00143898 38 E0 FF FF */ li r7, -1 +/* 8014693C 0014389C 48 19 E7 25 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 80146940 001438A0 34 A1 00 B8 */ addic. r5, r1, 0xb8 +/* 80146944 001438A4 81 81 00 14 */ lwz r12, 0x14(r1) +/* 80146948 001438A8 41 82 00 60 */ beq lbl_801469A8 +/* 8014694C 001438AC 80 C5 00 00 */ lwz r6, 0(r5) +/* 80146950 001438B0 38 60 00 00 */ li r3, 0 +/* 80146954 001438B4 2C 06 00 00 */ cmpwi r6, 0 +/* 80146958 001438B8 40 81 00 40 */ ble lbl_80146998 +/* 8014695C 001438BC 2C 06 00 08 */ cmpwi r6, 8 +/* 80146960 001438C0 38 86 FF F8 */ addi r4, r6, -8 +/* 80146964 001438C4 40 81 00 20 */ ble lbl_80146984 +/* 80146968 001438C8 38 04 00 07 */ addi r0, r4, 7 +/* 8014696C 001438CC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80146970 001438D0 7C 09 03 A6 */ mtctr r0 +/* 80146974 001438D4 2C 04 00 00 */ cmpwi r4, 0 +/* 80146978 001438D8 40 81 00 0C */ ble lbl_80146984 +lbl_8014697C: +/* 8014697C 001438DC 38 63 00 08 */ addi r3, r3, 8 +/* 80146980 001438E0 42 00 FF FC */ bdnz lbl_8014697C +lbl_80146984: +/* 80146984 001438E4 7C 03 30 50 */ subf r0, r3, r6 +/* 80146988 001438E8 7C 09 03 A6 */ mtctr r0 +/* 8014698C 001438EC 7C 03 30 00 */ cmpw r3, r6 +/* 80146990 001438F0 40 80 00 08 */ bge lbl_80146998 +lbl_80146994: +/* 80146994 001438F4 42 00 00 00 */ bdnz lbl_80146994 +lbl_80146998: +/* 80146998 001438F8 38 00 00 00 */ li r0, 0 +/* 8014699C 001438FC 90 05 00 00 */ stw r0, 0(r5) +/* 801469A0 00143900 48 00 00 08 */ b lbl_801469A8 +lbl_801469A4: +/* 801469A4 00143904 81 9E 00 18 */ lwz r12, 0x18(r30) +lbl_801469A8: +/* 801469A8 00143908 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 801469AC 0014390C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801469B0 00143910 41 82 00 80 */ beq lbl_80146A30 +/* 801469B4 00143914 80 7F 00 00 */ lwz r3, 0(r31) +/* 801469B8 00143918 38 FE 00 0C */ addi r7, r30, 0xc +/* 801469BC 0014391C C0 02 9C 84 */ lfs f0, lbl_805AB9A4@sda21(r2) +/* 801469C0 00143920 38 01 00 58 */ addi r0, r1, 0x58 +/* 801469C4 00143924 80 83 00 64 */ lwz r4, 0x64(r3) +/* 801469C8 00143928 39 63 00 34 */ addi r11, r3, 0x34 +/* 801469CC 0014392C 39 40 FF FF */ li r10, -1 +/* 801469D0 00143930 39 20 00 01 */ li r9, 1 +/* 801469D4 00143934 C0 44 00 04 */ lfs f2, 4(r4) +/* 801469D8 00143938 39 00 00 00 */ li r8, 0 +/* 801469DC 0014393C C0 64 00 08 */ lfs f3, 8(r4) +/* 801469E0 00143940 7F E3 FB 78 */ mr r3, r31 +/* 801469E4 00143944 C0 24 00 00 */ lfs f1, 0(r4) +/* 801469E8 00143948 38 81 00 8C */ addi r4, r1, 0x8c +/* 801469EC 0014394C 38 A0 00 00 */ li r5, 0 +/* 801469F0 00143950 38 C0 00 00 */ li r6, 0 +/* 801469F4 00143954 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 801469F8 00143958 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 801469FC 0014395C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 80146A00 00143960 91 81 00 8C */ stw r12, 0x8c(r1) +/* 80146A04 00143964 91 41 00 90 */ stw r10, 0x90(r1) +/* 80146A08 00143968 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80146A0C 0014396C 99 21 00 98 */ stb r9, 0x98(r1) +/* 80146A10 00143970 91 01 00 9C */ stw r8, 0x9c(r1) +/* 80146A14 00143974 90 E1 00 A0 */ stw r7, 0xa0(r1) +/* 80146A18 00143978 99 01 00 A4 */ stb r8, 0xa4(r1) +/* 80146A1C 0014397C 91 01 00 A8 */ stw r8, 0xa8(r1) +/* 80146A20 00143980 91 61 00 AC */ stw r11, 0xac(r1) +/* 80146A24 00143984 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80146A28 00143988 4B FF 3E F5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80146A2C 0014398C 48 00 00 50 */ b lbl_80146A7C +lbl_80146A30: +/* 80146A30 00143990 C0 02 9C 84 */ lfs f0, lbl_805AB9A4@sda21(r2) +/* 80146A34 00143994 38 00 00 00 */ li r0, 0 +/* 80146A38 00143998 38 C0 FF FF */ li r6, -1 +/* 80146A3C 0014399C 38 E0 00 01 */ li r7, 1 +/* 80146A40 001439A0 91 81 00 64 */ stw r12, 0x64(r1) +/* 80146A44 001439A4 7F E3 FB 78 */ mr r3, r31 +/* 80146A48 001439A8 38 81 00 64 */ addi r4, r1, 0x64 +/* 80146A4C 001439AC 38 A0 00 00 */ li r5, 0 +/* 80146A50 001439B0 90 C1 00 68 */ stw r6, 0x68(r1) +/* 80146A54 001439B4 38 C0 00 00 */ li r6, 0 +/* 80146A58 001439B8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80146A5C 001439BC 98 E1 00 70 */ stb r7, 0x70(r1) +/* 80146A60 001439C0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80146A64 001439C4 90 01 00 78 */ stw r0, 0x78(r1) +/* 80146A68 001439C8 98 01 00 7C */ stb r0, 0x7c(r1) +/* 80146A6C 001439CC 90 01 00 80 */ stw r0, 0x80(r1) +/* 80146A70 001439D0 90 01 00 84 */ stw r0, 0x84(r1) +/* 80146A74 001439D4 90 01 00 88 */ stw r0, 0x88(r1) +/* 80146A78 001439D8 4B FF 3E A5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +lbl_80146A7C: +/* 80146A7C 001439DC BB 61 01 0C */ lmw r27, 0x10c(r1) +/* 80146A80 001439E0 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80146A84 001439E4 7C 08 03 A6 */ mtlr r0 +/* 80146A88 001439E8 38 21 01 20 */ addi r1, r1, 0x120 +/* 80146A8C 001439EC 4E 80 00 20 */ blr + +.global __ct__11CBSGenerateFv +__ct__11CBSGenerateFv: +/* 80146A90 001439F0 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 80146A94 001439F4 3C 80 80 3E */ lis r4, lbl_803E2040@ha +/* 80146A98 001439F8 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l +/* 80146A9C 001439FC 90 A3 00 00 */ stw r5, 0(r3) +/* 80146AA0 00143A00 38 04 20 40 */ addi r0, r4, lbl_803E2040@l +/* 80146AA4 00143A04 90 03 00 00 */ stw r0, 0(r3) +/* 80146AA8 00143A08 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSGetup.s b/asm/Kyoto_CWD/BodyState/CBSGetup.s new file mode 100644 index 00000000..93c3dfcd --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSGetup.s @@ -0,0 +1,256 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__8CBSGetupFv +__dt__8CBSGetupFv: +/* 80135E88 00132DE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80135E8C 00132DEC 7C 08 02 A6 */ mflr r0 +/* 80135E90 00132DF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80135E94 00132DF4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80135E98 00132DF8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80135E9C 00132DFC 41 82 00 30 */ beq lbl_80135ECC +/* 80135EA0 00132E00 3C 60 80 3E */ lis r3, lbl_803E1418@ha +/* 80135EA4 00132E04 38 03 14 18 */ addi r0, r3, lbl_803E1418@l +/* 80135EA8 00132E08 90 1F 00 00 */ stw r0, 0(r31) +/* 80135EAC 00132E0C 41 82 00 10 */ beq lbl_80135EBC +/* 80135EB0 00132E10 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80135EB4 00132E14 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80135EB8 00132E18 90 1F 00 00 */ stw r0, 0(r31) +lbl_80135EBC: +/* 80135EBC 00132E1C 7C 80 07 35 */ extsh. r0, r4 +/* 80135EC0 00132E20 40 81 00 0C */ ble lbl_80135ECC +/* 80135EC4 00132E24 7F E3 FB 78 */ mr r3, r31 +/* 80135EC8 00132E28 48 1D FA 69 */ bl Free__7CMemoryFPCv +lbl_80135ECC: +/* 80135ECC 00132E2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80135ED0 00132E30 7F E3 FB 78 */ mr r3, r31 +/* 80135ED4 00132E34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80135ED8 00132E38 7C 08 03 A6 */ mtlr r0 +/* 80135EDC 00132E3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80135EE0 00132E40 4E 80 00 20 */ blr + +.global GetBodyStateTransition__8CBSGetupFfR15CBodyController +GetBodyStateTransition__8CBSGetupFfR15CBodyController: +/* 80135EE4 00132E44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80135EE8 00132E48 7C 08 02 A6 */ mflr r0 +/* 80135EEC 00132E4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80135EF0 00132E50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80135EF4 00132E54 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80135EF8 00132E58 7C 9E 23 78 */ mr r30, r4 +/* 80135EFC 00132E5C 3B FE 00 04 */ addi r31, r30, 4 +/* 80135F00 00132E60 38 80 00 0F */ li r4, 0xf +/* 80135F04 00132E64 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80135F08 00132E68 7C 7D 1B 78 */ mr r29, r3 +/* 80135F0C 00132E6C 7F E3 FB 78 */ mr r3, r31 +/* 80135F10 00132E70 4B FF B5 41 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135F14 00132E74 28 03 00 00 */ cmplwi r3, 0 +/* 80135F18 00132E78 41 82 00 0C */ beq lbl_80135F24 +/* 80135F1C 00132E7C 38 60 00 0E */ li r3, 0xe +/* 80135F20 00132E80 48 00 00 48 */ b lbl_80135F68 +lbl_80135F24: +/* 80135F24 00132E84 7F E3 FB 78 */ mr r3, r31 +/* 80135F28 00132E88 38 80 00 03 */ li r4, 3 +/* 80135F2C 00132E8C 4B FF B5 25 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135F30 00132E90 28 03 00 00 */ cmplwi r3, 0 +/* 80135F34 00132E94 41 82 00 0C */ beq lbl_80135F40 +/* 80135F38 00132E98 38 60 00 00 */ li r3, 0 +/* 80135F3C 00132E9C 48 00 00 2C */ b lbl_80135F68 +lbl_80135F40: +/* 80135F40 00132EA0 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 80135F44 00132EA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80135F48 00132EA8 41 82 00 1C */ beq lbl_80135F64 +/* 80135F4C 00132EAC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80135F50 00132EB0 38 60 00 01 */ li r3, 1 +/* 80135F54 00132EB4 2C 00 00 00 */ cmpwi r0, 0 +/* 80135F58 00132EB8 40 82 00 10 */ bne lbl_80135F68 +/* 80135F5C 00132EBC 38 60 00 05 */ li r3, 5 +/* 80135F60 00132EC0 48 00 00 08 */ b lbl_80135F68 +lbl_80135F64: +/* 80135F64 00132EC4 38 60 FF FF */ li r3, -1 +lbl_80135F68: +/* 80135F68 00132EC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80135F6C 00132ECC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80135F70 00132ED0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80135F74 00132ED4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80135F78 00132ED8 7C 08 03 A6 */ mtlr r0 +/* 80135F7C 00132EDC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80135F80 00132EE0 4E 80 00 20 */ blr + +.global Shutdown__8CBSGetupFR15CBodyController +Shutdown__8CBSGetupFR15CBodyController: +/* 80135F84 00132EE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80135F88 00132EE8 7C 08 02 A6 */ mflr r0 +/* 80135F8C 00132EEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80135F90 00132EF0 7C 80 23 78 */ mr r0, r4 +/* 80135F94 00132EF4 80 83 00 04 */ lwz r4, 4(r3) +/* 80135F98 00132EF8 7C 03 03 78 */ mr r3, r0 +/* 80135F9C 00132EFC 48 00 4C 09 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState +/* 80135FA0 00132F00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80135FA4 00132F04 7C 08 03 A6 */ mtlr r0 +/* 80135FA8 00132F08 38 21 00 10 */ addi r1, r1, 0x10 +/* 80135FAC 00132F0C 4E 80 00 20 */ blr + +.global UpdateBody__8CBSGetupFfR15CBodyControllerR13CStateManager +UpdateBody__8CBSGetupFfR15CBodyControllerR13CStateManager: +/* 80135FB0 00132F10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80135FB4 00132F14 7C 08 02 A6 */ mflr r0 +/* 80135FB8 00132F18 90 01 00 14 */ stw r0, 0x14(r1) +/* 80135FBC 00132F1C 4B FF FF 29 */ bl GetBodyStateTransition__8CBSGetupFfR15CBodyController +/* 80135FC0 00132F20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80135FC4 00132F24 7C 08 03 A6 */ mtlr r0 +/* 80135FC8 00132F28 38 21 00 10 */ addi r1, r1, 0x10 +/* 80135FCC 00132F2C 4E 80 00 20 */ blr + +.global Start__8CBSGetupFR15CBodyControllerR13CStateManager +Start__8CBSGetupFR15CBodyControllerR13CStateManager: +/* 80135FD0 00132F30 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 80135FD4 00132F34 7C 08 02 A6 */ mflr r0 +/* 80135FD8 00132F38 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80135FDC 00132F3C BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 80135FE0 00132F40 7C 9A 23 78 */ mr r26, r4 +/* 80135FE4 00132F44 7C 7F 1B 78 */ mr r31, r3 +/* 80135FE8 00132F48 7C BB 2B 78 */ mr r27, r5 +/* 80135FEC 00132F4C 38 80 00 00 */ li r4, 0 +/* 80135FF0 00132F50 38 7A 00 04 */ addi r3, r26, 4 +/* 80135FF4 00132F54 4B FF B4 5D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80135FF8 00132F58 7C 7E 1B 78 */ mr r30, r3 +/* 80135FFC 00132F5C 7F 43 D3 78 */ mr r3, r26 +/* 80136000 00132F60 48 00 4B AD */ bl GetFallState__15CBodyControllerCFv +/* 80136004 00132F64 7C 60 1B 78 */ mr r0, r3 +/* 80136008 00132F68 7F 43 D3 78 */ mr r3, r26 +/* 8013600C 00132F6C 7C 1D 03 78 */ mr r29, r0 +/* 80136010 00132F70 48 00 44 45 */ bl GetPASDatabase__15CBodyControllerCFv +/* 80136014 00132F74 83 DE 00 08 */ lwz r30, 8(r30) +/* 80136018 00132F78 7C 7C 1B 78 */ mr r28, r3 +/* 8013601C 00132F7C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80136020 00132F80 48 1A D0 5D */ bl NoParameter__12CPASAnimParmFv +/* 80136024 00132F84 38 61 00 28 */ addi r3, r1, 0x28 +/* 80136028 00132F88 48 1A D0 55 */ bl NoParameter__12CPASAnimParmFv +/* 8013602C 00132F8C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80136030 00132F90 48 1A D0 4D */ bl NoParameter__12CPASAnimParmFv +/* 80136034 00132F94 38 61 00 38 */ addi r3, r1, 0x38 +/* 80136038 00132F98 48 1A D0 45 */ bl NoParameter__12CPASAnimParmFv +/* 8013603C 00132F9C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80136040 00132FA0 48 1A D0 3D */ bl NoParameter__12CPASAnimParmFv +/* 80136044 00132FA4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80136048 00132FA8 48 1A D0 35 */ bl NoParameter__12CPASAnimParmFv +/* 8013604C 00132FAC 7F C4 F3 78 */ mr r4, r30 +/* 80136050 00132FB0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80136054 00132FB4 48 1A CF 31 */ bl FromEnum__12CPASAnimParmFi +/* 80136058 00132FB8 7F A4 EB 78 */ mr r4, r29 +/* 8013605C 00132FBC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80136060 00132FC0 48 1A CF 25 */ bl FromEnum__12CPASAnimParmFi +/* 80136064 00132FC4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80136068 00132FC8 38 01 00 20 */ addi r0, r1, 0x20 +/* 8013606C 00132FCC 90 61 00 08 */ stw r3, 8(r1) +/* 80136070 00132FD0 38 61 00 90 */ addi r3, r1, 0x90 +/* 80136074 00132FD4 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80136078 00132FD8 38 C1 00 50 */ addi r6, r1, 0x50 +/* 8013607C 00132FDC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80136080 00132FE0 38 E1 00 48 */ addi r7, r1, 0x48 +/* 80136084 00132FE4 39 01 00 40 */ addi r8, r1, 0x40 +/* 80136088 00132FE8 39 21 00 38 */ addi r9, r1, 0x38 +/* 8013608C 00132FEC 39 41 00 30 */ addi r10, r1, 0x30 +/* 80136090 00132FF0 38 80 00 01 */ li r4, 1 +/* 80136094 00132FF4 4B F4 72 31 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80136098 00132FF8 80 DB 09 00 */ lwz r6, 0x900(r27) +/* 8013609C 00132FFC 7F 84 E3 78 */ mr r4, r28 +/* 801360A0 00133000 38 61 00 18 */ addi r3, r1, 0x18 +/* 801360A4 00133004 38 A1 00 90 */ addi r5, r1, 0x90 +/* 801360A8 00133008 38 E0 FF FF */ li r7, -1 +/* 801360AC 0013300C 48 1A EF B5 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 801360B0 00133010 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 801360B4 00133014 C0 02 99 F0 */ lfs f0, lbl_805AB710@sda21(r2) +/* 801360B8 00133018 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 801360BC 0013301C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801360C0 00133020 40 81 00 A0 */ ble lbl_80136160 +/* 801360C4 00133024 80 1A 02 F8 */ lwz r0, 0x2f8(r26) +/* 801360C8 00133028 7C 7D 1B 78 */ mr r29, r3 +/* 801360CC 0013302C 7C 03 00 00 */ cmpw r3, r0 +/* 801360D0 00133030 41 82 00 50 */ beq lbl_80136120 +/* 801360D4 00133034 C0 02 99 F4 */ lfs f0, lbl_805AB714@sda21(r2) +/* 801360D8 00133038 38 00 00 00 */ li r0, 0 +/* 801360DC 0013303C 38 C0 FF FF */ li r6, -1 +/* 801360E0 00133040 38 E0 00 01 */ li r7, 1 +/* 801360E4 00133044 90 61 00 68 */ stw r3, 0x68(r1) +/* 801360E8 00133048 7F 43 D3 78 */ mr r3, r26 +/* 801360EC 0013304C 38 81 00 68 */ addi r4, r1, 0x68 +/* 801360F0 00133050 38 A0 00 00 */ li r5, 0 +/* 801360F4 00133054 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 801360F8 00133058 38 C0 00 00 */ li r6, 0 +/* 801360FC 0013305C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80136100 00133060 98 E1 00 74 */ stb r7, 0x74(r1) +/* 80136104 00133064 90 01 00 78 */ stw r0, 0x78(r1) +/* 80136108 00133068 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8013610C 0013306C 98 01 00 80 */ stb r0, 0x80(r1) +/* 80136110 00133070 90 01 00 84 */ stw r0, 0x84(r1) +/* 80136114 00133074 90 01 00 88 */ stw r0, 0x88(r1) +/* 80136118 00133078 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8013611C 0013307C 48 00 48 01 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +lbl_80136120: +/* 80136120 00133080 7F 83 E3 78 */ mr r3, r28 +/* 80136124 00133084 38 80 00 01 */ li r4, 1 +/* 80136128 00133088 48 1A ED 9D */ bl GetAnimState__12CPASDatabaseCFi +/* 8013612C 0013308C 7C 64 1B 78 */ mr r4, r3 +/* 80136130 00133090 7F A5 EB 78 */ mr r5, r29 +/* 80136134 00133094 38 61 00 10 */ addi r3, r1, 0x10 +/* 80136138 00133098 38 C0 00 02 */ li r6, 2 +/* 8013613C 0013309C 48 1A DE B9 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 80136140 001330A0 80 81 00 10 */ lwz r4, 0x10(r1) +/* 80136144 001330A4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80136148 001330A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013614C 001330AC 90 81 00 60 */ stw r4, 0x60(r1) +/* 80136150 001330B0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80136154 001330B4 48 1A CE 09 */ bl GetEnumValue__12CPASAnimParmCFv +/* 80136158 001330B8 90 7F 00 04 */ stw r3, 4(r31) +/* 8013615C 001330BC 48 00 00 0C */ b lbl_80136168 +lbl_80136160: +/* 80136160 001330C0 38 00 00 00 */ li r0, 0 +/* 80136164 001330C4 90 1F 00 04 */ stw r0, 4(r31) +lbl_80136168: +/* 80136168 001330C8 34 A1 00 94 */ addic. r5, r1, 0x94 +/* 8013616C 001330CC 41 82 00 58 */ beq lbl_801361C4 +/* 80136170 001330D0 80 C5 00 00 */ lwz r6, 0(r5) +/* 80136174 001330D4 38 60 00 00 */ li r3, 0 +/* 80136178 001330D8 2C 06 00 00 */ cmpwi r6, 0 +/* 8013617C 001330DC 40 81 00 40 */ ble lbl_801361BC +/* 80136180 001330E0 2C 06 00 08 */ cmpwi r6, 8 +/* 80136184 001330E4 38 86 FF F8 */ addi r4, r6, -8 +/* 80136188 001330E8 40 81 00 20 */ ble lbl_801361A8 +/* 8013618C 001330EC 38 04 00 07 */ addi r0, r4, 7 +/* 80136190 001330F0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80136194 001330F4 7C 09 03 A6 */ mtctr r0 +/* 80136198 001330F8 2C 04 00 00 */ cmpwi r4, 0 +/* 8013619C 001330FC 40 81 00 0C */ ble lbl_801361A8 +lbl_801361A0: +/* 801361A0 00133100 38 63 00 08 */ addi r3, r3, 8 +/* 801361A4 00133104 42 00 FF FC */ bdnz lbl_801361A0 +lbl_801361A8: +/* 801361A8 00133108 7C 03 30 50 */ subf r0, r3, r6 +/* 801361AC 0013310C 7C 09 03 A6 */ mtctr r0 +/* 801361B0 00133110 7C 03 30 00 */ cmpw r3, r6 +/* 801361B4 00133114 40 80 00 08 */ bge lbl_801361BC +lbl_801361B8: +/* 801361B8 00133118 42 00 00 00 */ bdnz lbl_801361B8 +lbl_801361BC: +/* 801361BC 0013311C 38 00 00 00 */ li r0, 0 +/* 801361C0 00133120 90 05 00 00 */ stw r0, 0(r5) +lbl_801361C4: +/* 801361C4 00133124 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 801361C8 00133128 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 801361CC 0013312C 7C 08 03 A6 */ mtlr r0 +/* 801361D0 00133130 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 801361D4 00133134 4E 80 00 20 */ blr + +.global __ct__8CBSGetupFv +__ct__8CBSGetupFv: +/* 801361D8 00133138 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 801361DC 0013313C 3C 80 80 3E */ lis r4, lbl_803E1418@ha +/* 801361E0 00133140 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l +/* 801361E4 00133144 38 00 FF FF */ li r0, -1 +/* 801361E8 00133148 90 A3 00 00 */ stw r5, 0(r3) +/* 801361EC 0013314C 38 84 14 18 */ addi r4, r4, lbl_803E1418@l +/* 801361F0 00133150 90 83 00 00 */ stw r4, 0(r3) +/* 801361F4 00133154 90 03 00 04 */ stw r0, 4(r3) +/* 801361F8 00133158 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSGroundHit.s b/asm/Kyoto_CWD/BodyState/CBSGroundHit.s new file mode 100644 index 00000000..83af91a2 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSGroundHit.s @@ -0,0 +1,399 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__12CBSGroundHitFv +__dt__12CBSGroundHitFv: +/* 8013ED5C 0013BCBC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013ED60 0013BCC0 7C 08 02 A6 */ mflr r0 +/* 8013ED64 0013BCC4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013ED68 0013BCC8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013ED6C 0013BCCC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8013ED70 0013BCD0 41 82 00 30 */ beq lbl_8013EDA0 +/* 8013ED74 0013BCD4 3C 60 80 3E */ lis r3, lbl_803E18B0@ha +/* 8013ED78 0013BCD8 38 03 18 B0 */ addi r0, r3, lbl_803E18B0@l +/* 8013ED7C 0013BCDC 90 1F 00 00 */ stw r0, 0(r31) +/* 8013ED80 0013BCE0 41 82 00 10 */ beq lbl_8013ED90 +/* 8013ED84 0013BCE4 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 8013ED88 0013BCE8 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 8013ED8C 0013BCEC 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013ED90: +/* 8013ED90 0013BCF0 7C 80 07 35 */ extsh. r0, r4 +/* 8013ED94 0013BCF4 40 81 00 0C */ ble lbl_8013EDA0 +/* 8013ED98 0013BCF8 7F E3 FB 78 */ mr r3, r31 +/* 8013ED9C 0013BCFC 48 1D 6B 95 */ bl Free__7CMemoryFPCv +lbl_8013EDA0: +/* 8013EDA0 0013BD00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013EDA4 0013BD04 7F E3 FB 78 */ mr r3, r31 +/* 8013EDA8 0013BD08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013EDAC 0013BD0C 7C 08 03 A6 */ mtlr r0 +/* 8013EDB0 0013BD10 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013EDB4 0013BD14 4E 80 00 20 */ blr + +.global GetBodyStateTransition__12CBSGroundHitFfR15CBodyController +GetBodyStateTransition__12CBSGroundHitFfR15CBodyController: +/* 8013EDB8 0013BD18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013EDBC 0013BD1C 7C 08 02 A6 */ mflr r0 +/* 8013EDC0 0013BD20 38 64 00 04 */ addi r3, r4, 4 +/* 8013EDC4 0013BD24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013EDC8 0013BD28 88 04 03 00 */ lbz r0, 0x300(r4) +/* 8013EDCC 0013BD2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013EDD0 0013BD30 41 82 00 20 */ beq lbl_8013EDF0 +/* 8013EDD4 0013BD34 38 80 00 02 */ li r4, 2 +/* 8013EDD8 0013BD38 4B FF 26 79 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013EDDC 0013BD3C 28 03 00 00 */ cmplwi r3, 0 +/* 8013EDE0 0013BD40 38 60 00 02 */ li r3, 2 +/* 8013EDE4 0013BD44 41 82 00 10 */ beq lbl_8013EDF4 +/* 8013EDE8 0013BD48 38 60 00 04 */ li r3, 4 +/* 8013EDEC 0013BD4C 48 00 00 08 */ b lbl_8013EDF4 +lbl_8013EDF0: +/* 8013EDF0 0013BD50 38 60 FF FF */ li r3, -1 +lbl_8013EDF4: +/* 8013EDF4 0013BD54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013EDF8 0013BD58 7C 08 03 A6 */ mtlr r0 +/* 8013EDFC 0013BD5C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013EE00 0013BD60 4E 80 00 20 */ blr + +.global Shutdown__12CBSGroundHitFR15CBodyController +Shutdown__12CBSGroundHitFR15CBodyController: +/* 8013EE04 0013BD64 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013EE08 0013BD68 7C 08 02 A6 */ mflr r0 +/* 8013EE0C 0013BD6C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013EE10 0013BD70 7C 80 23 78 */ mr r0, r4 +/* 8013EE14 0013BD74 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8013EE18 0013BD78 7C 03 03 78 */ mr r3, r0 +/* 8013EE1C 0013BD7C 4B FF BD 89 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState +/* 8013EE20 0013BD80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013EE24 0013BD84 7C 08 03 A6 */ mtlr r0 +/* 8013EE28 0013BD88 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013EE2C 0013BD8C 4E 80 00 20 */ blr + +.global UpdateBody__12CBSGroundHitFfR15CBodyControllerR13CStateManager +UpdateBody__12CBSGroundHitFfR15CBodyControllerR13CStateManager: +/* 8013EE30 0013BD90 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8013EE34 0013BD94 7C 08 02 A6 */ mflr r0 +/* 8013EE38 0013BD98 90 01 00 44 */ stw r0, 0x44(r1) +/* 8013EE3C 0013BD9C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8013EE40 0013BDA0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8013EE44 0013BDA4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8013EE48 0013BDA8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8013EE4C 0013BDAC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8013EE50 0013BDB0 FF E0 08 90 */ fmr f31, f1 +/* 8013EE54 0013BDB4 7C 7D 1B 78 */ mr r29, r3 +/* 8013EE58 0013BDB8 7C 9E 23 78 */ mr r30, r4 +/* 8013EE5C 0013BDBC 4B FF FF 5D */ bl GetBodyStateTransition__12CBSGroundHitFfR15CBodyController +/* 8013EE60 0013BDC0 7C 7F 1B 78 */ mr r31, r3 +/* 8013EE64 0013BDC4 2C 1F FF FF */ cmpwi r31, -1 +/* 8013EE68 0013BDC8 40 82 00 44 */ bne lbl_8013EEAC +/* 8013EE6C 0013BDCC C0 3D 00 08 */ lfs f1, 8(r29) +/* 8013EE70 0013BDD0 C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) +/* 8013EE74 0013BDD4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013EE78 0013BDD8 40 81 00 34 */ ble lbl_8013EEAC +/* 8013EE7C 0013BDDC C0 1D 00 04 */ lfs f0, 4(r29) +/* 8013EE80 0013BDE0 38 61 00 0C */ addi r3, r1, 0xc +/* 8013EE84 0013BDE4 38 81 00 08 */ addi r4, r1, 8 +/* 8013EE88 0013BDE8 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 8013EE8C 0013BDEC D0 01 00 08 */ stfs f0, 8(r1) +/* 8013EE90 0013BDF0 48 1D 22 69 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8013EE94 0013BDF4 7F C3 F3 78 */ mr r3, r30 +/* 8013EE98 0013BDF8 38 81 00 0C */ addi r4, r1, 0xc +/* 8013EE9C 0013BDFC 4B FF B9 6D */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion +/* 8013EEA0 0013BE00 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8013EEA4 0013BE04 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8013EEA8 0013BE08 D0 1D 00 08 */ stfs f0, 8(r29) +lbl_8013EEAC: +/* 8013EEAC 0013BE0C 7F E3 FB 78 */ mr r3, r31 +/* 8013EEB0 0013BE10 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8013EEB4 0013BE14 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8013EEB8 0013BE18 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8013EEBC 0013BE1C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8013EEC0 0013BE20 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8013EEC4 0013BE24 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8013EEC8 0013BE28 7C 08 03 A6 */ mtlr r0 +/* 8013EECC 0013BE2C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8013EED0 0013BE30 4E 80 00 20 */ blr + +.global Start__12CBSGroundHitFR15CBodyControllerR13CStateManager +Start__12CBSGroundHitFR15CBodyControllerR13CStateManager: +/* 8013EED4 0013BE34 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 8013EED8 0013BE38 7C 08 02 A6 */ mflr r0 +/* 8013EEDC 0013BE3C 90 01 01 64 */ stw r0, 0x164(r1) +/* 8013EEE0 0013BE40 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 8013EEE4 0013BE44 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 8013EEE8 0013BE48 BF 61 01 3C */ stmw r27, 0x13c(r1) +/* 8013EEEC 0013BE4C 7C 9E 23 78 */ mr r30, r4 +/* 8013EEF0 0013BE50 7C 7D 1B 78 */ mr r29, r3 +/* 8013EEF4 0013BE54 7C BB 2B 78 */ mr r27, r5 +/* 8013EEF8 0013BE58 38 80 00 04 */ li r4, 4 +/* 8013EEFC 0013BE5C 38 7E 00 04 */ addi r3, r30, 4 +/* 8013EF00 0013BE60 4B FF 25 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013EF04 0013BE64 80 9E 00 00 */ lwz r4, 0(r30) +/* 8013EF08 0013BE68 7C 65 1B 78 */ mr r5, r3 +/* 8013EF0C 0013BE6C 38 61 00 90 */ addi r3, r1, 0x90 +/* 8013EF10 0013BE70 38 84 00 34 */ addi r4, r4, 0x34 +/* 8013EF14 0013BE74 38 A5 00 08 */ addi r5, r5, 8 +/* 8013EF18 0013BE78 48 1D 3B 0D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8013EF1C 0013BE7C C0 21 00 94 */ lfs f1, 0x94(r1) +/* 8013EF20 0013BE80 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 8013EF24 0013BE84 48 25 5D 49 */ bl atan2 +/* 8013EF28 0013BE88 FC 80 08 18 */ frsp f4, f1 +/* 8013EF2C 0013BE8C C0 02 9B 2C */ lfs f0, lbl_805AB84C@sda21(r2) +/* 8013EF30 0013BE90 3C 00 43 30 */ lis r0, 0x4330 +/* 8013EF34 0013BE94 C8 62 9B 50 */ lfd f3, lbl_805AB870@sda21(r2) +/* 8013EF38 0013BE98 90 01 01 18 */ stw r0, 0x118(r1) +/* 8013EF3C 0013BE9C EC 44 00 32 */ fmuls f2, f4, f0 +/* 8013EF40 0013BEA0 C0 22 9B 30 */ lfs f1, lbl_805AB850@sda21(r2) +/* 8013EF44 0013BEA4 C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) +/* 8013EF48 0013BEA8 FC 40 10 1E */ fctiwz f2, f2 +/* 8013EF4C 0013BEAC D8 41 01 10 */ stfd f2, 0x110(r1) +/* 8013EF50 0013BEB0 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8013EF54 0013BEB4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8013EF58 0013BEB8 90 01 01 1C */ stw r0, 0x11c(r1) +/* 8013EF5C 0013BEBC C8 41 01 18 */ lfd f2, 0x118(r1) +/* 8013EF60 0013BEC0 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8013EF64 0013BEC4 EF E2 20 7C */ fnmsubs f31, f2, f1, f4 +/* 8013EF68 0013BEC8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8013EF6C 0013BECC 40 80 00 08 */ bge lbl_8013EF74 +/* 8013EF70 0013BED0 EF FF 08 2A */ fadds f31, f31, f1 +lbl_8013EF74: +/* 8013EF74 0013BED4 7F C3 F3 78 */ mr r3, r30 +/* 8013EF78 0013BED8 4B FF BC 35 */ bl GetFallState__15CBodyControllerCFv +/* 8013EF7C 0013BEDC 7C 60 1B 78 */ mr r0, r3 +/* 8013EF80 0013BEE0 7F C3 F3 78 */ mr r3, r30 +/* 8013EF84 0013BEE4 7C 1F 03 78 */ mr r31, r0 +/* 8013EF88 0013BEE8 4B FF B4 CD */ bl GetPASDatabase__15CBodyControllerCFv +/* 8013EF8C 0013BEEC 7C 60 1B 78 */ mr r0, r3 +/* 8013EF90 0013BEF0 38 61 00 38 */ addi r3, r1, 0x38 +/* 8013EF94 0013BEF4 7C 1C 03 78 */ mr r28, r0 +/* 8013EF98 0013BEF8 48 1A 40 E5 */ bl NoParameter__12CPASAnimParmFv +/* 8013EF9C 0013BEFC 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013EFA0 0013BF00 48 1A 40 DD */ bl NoParameter__12CPASAnimParmFv +/* 8013EFA4 0013BF04 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013EFA8 0013BF08 48 1A 40 D5 */ bl NoParameter__12CPASAnimParmFv +/* 8013EFAC 0013BF0C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8013EFB0 0013BF10 48 1A 40 CD */ bl NoParameter__12CPASAnimParmFv +/* 8013EFB4 0013BF14 38 61 00 58 */ addi r3, r1, 0x58 +/* 8013EFB8 0013BF18 48 1A 40 C5 */ bl NoParameter__12CPASAnimParmFv +/* 8013EFBC 0013BF1C 38 61 00 60 */ addi r3, r1, 0x60 +/* 8013EFC0 0013BF20 48 1A 40 BD */ bl NoParameter__12CPASAnimParmFv +/* 8013EFC4 0013BF24 C0 02 9B 34 */ lfs f0, lbl_805AB854@sda21(r2) +/* 8013EFC8 0013BF28 38 61 00 68 */ addi r3, r1, 0x68 +/* 8013EFCC 0013BF2C EC 20 07 F2 */ fmuls f1, f0, f31 +/* 8013EFD0 0013BF30 48 1A 40 19 */ bl FromReal32__12CPASAnimParmFf +/* 8013EFD4 0013BF34 7F E4 FB 78 */ mr r4, r31 +/* 8013EFD8 0013BF38 38 61 00 70 */ addi r3, r1, 0x70 +/* 8013EFDC 0013BF3C 48 1A 3F A9 */ bl FromEnum__12CPASAnimParmFi +/* 8013EFE0 0013BF40 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013EFE4 0013BF44 38 01 00 38 */ addi r0, r1, 0x38 +/* 8013EFE8 0013BF48 90 61 00 08 */ stw r3, 8(r1) +/* 8013EFEC 0013BF4C 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8013EFF0 0013BF50 38 A1 00 70 */ addi r5, r1, 0x70 +/* 8013EFF4 0013BF54 38 C1 00 68 */ addi r6, r1, 0x68 +/* 8013EFF8 0013BF58 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013EFFC 0013BF5C 38 E1 00 60 */ addi r7, r1, 0x60 +/* 8013F000 0013BF60 39 01 00 58 */ addi r8, r1, 0x58 +/* 8013F004 0013BF64 39 21 00 50 */ addi r9, r1, 0x50 +/* 8013F008 0013BF68 39 41 00 48 */ addi r10, r1, 0x48 +/* 8013F00C 0013BF6C 38 80 00 0B */ li r4, 0xb +/* 8013F010 0013BF70 4B F3 E2 B5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013F014 0013BF74 80 DB 09 00 */ lwz r6, 0x900(r27) +/* 8013F018 0013BF78 7F 84 E3 78 */ mr r4, r28 +/* 8013F01C 0013BF7C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013F020 0013BF80 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 8013F024 0013BF84 38 E0 FF FF */ li r7, -1 +/* 8013F028 0013BF88 48 1A 60 39 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 8013F02C 0013BF8C 83 E1 00 34 */ lwz r31, 0x34(r1) +/* 8013F030 0013BF90 38 00 00 00 */ li r0, 0 +/* 8013F034 0013BF94 C0 02 9B 38 */ lfs f0, lbl_805AB858@sda21(r2) +/* 8013F038 0013BF98 38 A0 FF FF */ li r5, -1 +/* 8013F03C 0013BF9C 38 E0 00 01 */ li r7, 1 +/* 8013F040 0013BFA0 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8013F044 0013BFA4 7F C3 F3 78 */ mr r3, r30 +/* 8013F048 0013BFA8 38 81 00 9C */ addi r4, r1, 0x9c +/* 8013F04C 0013BFAC 90 A1 00 A0 */ stw r5, 0xa0(r1) +/* 8013F050 0013BFB0 38 A0 00 00 */ li r5, 0 +/* 8013F054 0013BFB4 38 C0 00 00 */ li r6, 0 +/* 8013F058 0013BFB8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8013F05C 0013BFBC 98 E1 00 A8 */ stb r7, 0xa8(r1) +/* 8013F060 0013BFC0 90 01 00 AC */ stw r0, 0xac(r1) +/* 8013F064 0013BFC4 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 8013F068 0013BFC8 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 8013F06C 0013BFCC 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 8013F070 0013BFD0 90 01 00 BC */ stw r0, 0xbc(r1) +/* 8013F074 0013BFD4 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8013F078 0013BFD8 4B FF B8 A5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 8013F07C 0013BFDC 7F 83 E3 78 */ mr r3, r28 +/* 8013F080 0013BFE0 38 80 00 0B */ li r4, 0xb +/* 8013F084 0013BFE4 48 1A 5E 41 */ bl GetAnimState__12CPASDatabaseCFi +/* 8013F088 0013BFE8 7C 7C 1B 78 */ mr r28, r3 +/* 8013F08C 0013BFEC 7F E5 FB 78 */ mr r5, r31 +/* 8013F090 0013BFF0 38 61 00 28 */ addi r3, r1, 0x28 +/* 8013F094 0013BFF4 38 C0 00 02 */ li r6, 2 +/* 8013F098 0013BFF8 7F 84 E3 78 */ mr r4, r28 +/* 8013F09C 0013BFFC 48 1A 4F 59 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 8013F0A0 0013C000 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8013F0A4 0013C004 38 61 00 88 */ addi r3, r1, 0x88 +/* 8013F0A8 0013C008 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8013F0AC 0013C00C 90 81 00 88 */ stw r4, 0x88(r1) +/* 8013F0B0 0013C010 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8013F0B4 0013C014 48 1A 3E B1 */ bl GetBoolValue__12CPASAnimParmCFv +/* 8013F0B8 0013C018 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013F0BC 0013C01C 40 82 01 50 */ bne lbl_8013F20C +/* 8013F0C0 0013C020 7F 84 E3 78 */ mr r4, r28 +/* 8013F0C4 0013C024 7F E5 FB 78 */ mr r5, r31 +/* 8013F0C8 0013C028 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013F0CC 0013C02C 38 C0 00 01 */ li r6, 1 +/* 8013F0D0 0013C030 48 1A 4F 25 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 8013F0D4 0013C034 80 81 00 20 */ lwz r4, 0x20(r1) +/* 8013F0D8 0013C038 38 61 00 80 */ addi r3, r1, 0x80 +/* 8013F0DC 0013C03C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8013F0E0 0013C040 90 81 00 80 */ stw r4, 0x80(r1) +/* 8013F0E4 0013C044 90 01 00 84 */ stw r0, 0x84(r1) +/* 8013F0E8 0013C048 48 1A 3E 85 */ bl GetReal32Value__12CPASAnimParmCFv +/* 8013F0EC 0013C04C C0 02 9B 3C */ lfs f0, lbl_805AB85C@sda21(r2) +/* 8013F0F0 0013C050 3C 00 43 30 */ lis r0, 0x4330 +/* 8013F0F4 0013C054 C0 42 9B 2C */ lfs f2, lbl_805AB84C@sda21(r2) +/* 8013F0F8 0013C058 EC A0 00 72 */ fmuls f5, f0, f1 +/* 8013F0FC 0013C05C 90 01 01 10 */ stw r0, 0x110(r1) +/* 8013F100 0013C060 C8 62 9B 50 */ lfd f3, lbl_805AB870@sda21(r2) +/* 8013F104 0013C064 C0 22 9B 30 */ lfs f1, lbl_805AB850@sda21(r2) +/* 8013F108 0013C068 EC 9F 28 28 */ fsubs f4, f31, f5 +/* 8013F10C 0013C06C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) +/* 8013F110 0013C070 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8013F114 0013C074 FC 40 10 1E */ fctiwz f2, f2 +/* 8013F118 0013C078 D8 41 01 18 */ stfd f2, 0x118(r1) +/* 8013F11C 0013C07C 80 01 01 1C */ lwz r0, 0x11c(r1) +/* 8013F120 0013C080 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8013F124 0013C084 90 01 01 14 */ stw r0, 0x114(r1) +/* 8013F128 0013C088 C8 41 01 10 */ lfd f2, 0x110(r1) +/* 8013F12C 0013C08C EC 42 18 28 */ fsubs f2, f2, f3 +/* 8013F130 0013C090 EC C2 20 7C */ fnmsubs f6, f2, f1, f4 +/* 8013F134 0013C094 FC 80 30 90 */ fmr f4, f6 +/* 8013F138 0013C098 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 8013F13C 0013C09C 40 80 00 08 */ bge lbl_8013F144 +/* 8013F140 0013C0A0 EC 86 08 2A */ fadds f4, f6, f1 +lbl_8013F144: +/* 8013F144 0013C0A4 EC A5 F8 28 */ fsubs f5, f5, f31 +/* 8013F148 0013C0A8 C0 02 9B 2C */ lfs f0, lbl_805AB84C@sda21(r2) +/* 8013F14C 0013C0AC 3C 00 43 30 */ lis r0, 0x4330 +/* 8013F150 0013C0B0 C8 62 9B 50 */ lfd f3, lbl_805AB870@sda21(r2) +/* 8013F154 0013C0B4 90 01 01 28 */ stw r0, 0x128(r1) +/* 8013F158 0013C0B8 EC 45 00 32 */ fmuls f2, f5, f0 +/* 8013F15C 0013C0BC C0 22 9B 30 */ lfs f1, lbl_805AB850@sda21(r2) +/* 8013F160 0013C0C0 C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) +/* 8013F164 0013C0C4 FC 40 10 1E */ fctiwz f2, f2 +/* 8013F168 0013C0C8 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8013F16C 0013C0CC D8 41 01 20 */ stfd f2, 0x120(r1) +/* 8013F170 0013C0D0 80 01 01 24 */ lwz r0, 0x124(r1) +/* 8013F174 0013C0D4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8013F178 0013C0D8 90 01 01 2C */ stw r0, 0x12c(r1) +/* 8013F17C 0013C0DC C8 41 01 28 */ lfd f2, 0x128(r1) +/* 8013F180 0013C0E0 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8013F184 0013C0E4 EC 42 28 7C */ fnmsubs f2, f2, f1, f5 +/* 8013F188 0013C0E8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8013F18C 0013C0EC 40 80 00 08 */ bge lbl_8013F194 +/* 8013F190 0013C0F0 EC 42 08 2A */ fadds f2, f2, f1 +lbl_8013F194: +/* 8013F194 0013C0F4 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 8013F198 0013C0F8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8013F19C 0013C0FC 40 80 00 0C */ bge lbl_8013F1A8 +/* 8013F1A0 0013C100 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013F1A4 0013C104 48 00 00 08 */ b lbl_8013F1AC +lbl_8013F1A8: +/* 8013F1A8 0013C108 38 61 00 14 */ addi r3, r1, 0x14 +lbl_8013F1AC: +/* 8013F1AC 0013C10C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) +/* 8013F1B0 0013C110 C0 23 00 00 */ lfs f1, 0(r3) +/* 8013F1B4 0013C114 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 8013F1B8 0013C118 40 80 00 0C */ bge lbl_8013F1C4 +/* 8013F1BC 0013C11C C0 02 9B 30 */ lfs f0, lbl_805AB850@sda21(r2) +/* 8013F1C0 0013C120 EC C6 00 2A */ fadds f6, f6, f0 +lbl_8013F1C4: +/* 8013F1C4 0013C124 C0 02 9B 40 */ lfs f0, lbl_805AB860@sda21(r2) +/* 8013F1C8 0013C128 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 8013F1CC 0013C12C 40 81 00 0C */ ble lbl_8013F1D8 +/* 8013F1D0 0013C130 FF E0 08 50 */ fneg f31, f1 +/* 8013F1D4 0013C134 48 00 00 08 */ b lbl_8013F1DC +lbl_8013F1D8: +/* 8013F1D8 0013C138 FF E0 08 90 */ fmr f31, f1 +lbl_8013F1DC: +/* 8013F1DC 0013C13C 7F C3 F3 78 */ mr r3, r30 +/* 8013F1E0 0013C140 4B FF B6 D9 */ bl GetAnimTimeRemaining__15CBodyControllerCFv +/* 8013F1E4 0013C144 C0 42 9B 44 */ lfs f2, lbl_805AB864@sda21(r2) +/* 8013F1E8 0013C148 C0 02 9B 48 */ lfs f0, lbl_805AB868@sda21(r2) +/* 8013F1EC 0013C14C EC 22 00 72 */ fmuls f1, f2, f1 +/* 8013F1F0 0013C150 D0 3D 00 08 */ stfs f1, 8(r29) +/* 8013F1F4 0013C154 C0 3D 00 08 */ lfs f1, 8(r29) +/* 8013F1F8 0013C158 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013F1FC 0013C15C 40 81 00 08 */ ble lbl_8013F204 +/* 8013F200 0013C160 EF FF 08 24 */ fdivs f31, f31, f1 +lbl_8013F204: +/* 8013F204 0013C164 D3 FD 00 04 */ stfs f31, 4(r29) +/* 8013F208 0013C168 48 00 00 10 */ b lbl_8013F218 +lbl_8013F20C: +/* 8013F20C 0013C16C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) +/* 8013F210 0013C170 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8013F214 0013C174 D0 1D 00 04 */ stfs f0, 4(r29) +lbl_8013F218: +/* 8013F218 0013C178 7F 84 E3 78 */ mr r4, r28 +/* 8013F21C 0013C17C 7F E5 FB 78 */ mr r5, r31 +/* 8013F220 0013C180 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013F224 0013C184 38 C0 00 03 */ li r6, 3 +/* 8013F228 0013C188 48 1A 4D CD */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 8013F22C 0013C18C 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8013F230 0013C190 38 61 00 78 */ addi r3, r1, 0x78 +/* 8013F234 0013C194 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8013F238 0013C198 90 81 00 78 */ stw r4, 0x78(r1) +/* 8013F23C 0013C19C 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8013F240 0013C1A0 48 1A 3D 1D */ bl GetEnumValue__12CPASAnimParmCFv +/* 8013F244 0013C1A4 34 A1 00 C8 */ addic. r5, r1, 0xc8 +/* 8013F248 0013C1A8 90 7D 00 0C */ stw r3, 0xc(r29) +/* 8013F24C 0013C1AC 41 82 00 58 */ beq lbl_8013F2A4 +/* 8013F250 0013C1B0 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013F254 0013C1B4 38 60 00 00 */ li r3, 0 +/* 8013F258 0013C1B8 2C 06 00 00 */ cmpwi r6, 0 +/* 8013F25C 0013C1BC 40 81 00 40 */ ble lbl_8013F29C +/* 8013F260 0013C1C0 2C 06 00 08 */ cmpwi r6, 8 +/* 8013F264 0013C1C4 38 86 FF F8 */ addi r4, r6, -8 +/* 8013F268 0013C1C8 40 81 00 20 */ ble lbl_8013F288 +/* 8013F26C 0013C1CC 38 04 00 07 */ addi r0, r4, 7 +/* 8013F270 0013C1D0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013F274 0013C1D4 7C 09 03 A6 */ mtctr r0 +/* 8013F278 0013C1D8 2C 04 00 00 */ cmpwi r4, 0 +/* 8013F27C 0013C1DC 40 81 00 0C */ ble lbl_8013F288 +lbl_8013F280: +/* 8013F280 0013C1E0 38 63 00 08 */ addi r3, r3, 8 +/* 8013F284 0013C1E4 42 00 FF FC */ bdnz lbl_8013F280 +lbl_8013F288: +/* 8013F288 0013C1E8 7C 03 30 50 */ subf r0, r3, r6 +/* 8013F28C 0013C1EC 7C 09 03 A6 */ mtctr r0 +/* 8013F290 0013C1F0 7C 03 30 00 */ cmpw r3, r6 +/* 8013F294 0013C1F4 40 80 00 08 */ bge lbl_8013F29C +lbl_8013F298: +/* 8013F298 0013C1F8 42 00 00 00 */ bdnz lbl_8013F298 +lbl_8013F29C: +/* 8013F29C 0013C1FC 38 00 00 00 */ li r0, 0 +/* 8013F2A0 0013C200 90 05 00 00 */ stw r0, 0(r5) +lbl_8013F2A4: +/* 8013F2A4 0013C204 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 8013F2A8 0013C208 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 8013F2AC 0013C20C BB 61 01 3C */ lmw r27, 0x13c(r1) +/* 8013F2B0 0013C210 80 01 01 64 */ lwz r0, 0x164(r1) +/* 8013F2B4 0013C214 7C 08 03 A6 */ mtlr r0 +/* 8013F2B8 0013C218 38 21 01 60 */ addi r1, r1, 0x160 +/* 8013F2BC 0013C21C 4E 80 00 20 */ blr + +.global __ct__12CBSGroundHitFv +__ct__12CBSGroundHitFv: +/* 8013F2C0 0013C220 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 8013F2C4 0013C224 3C 80 80 3E */ lis r4, lbl_803E18B0@ha +/* 8013F2C8 0013C228 38 05 13 18 */ addi r0, r5, lbl_803E1318@l +/* 8013F2CC 0013C22C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) +/* 8013F2D0 0013C230 90 03 00 00 */ stw r0, 0(r3) +/* 8013F2D4 0013C234 38 84 18 B0 */ addi r4, r4, lbl_803E18B0@l +/* 8013F2D8 0013C238 38 00 FF FF */ li r0, -1 +/* 8013F2DC 0013C23C 90 83 00 00 */ stw r4, 0(r3) +/* 8013F2E0 0013C240 D0 03 00 04 */ stfs f0, 4(r3) +/* 8013F2E4 0013C244 D0 03 00 08 */ stfs f0, 8(r3) +/* 8013F2E8 0013C248 90 03 00 0C */ stw r0, 0xc(r3) +/* 8013F2EC 0013C24C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSHurled.s b/asm/Kyoto_CWD/BodyState/CBSHurled.s new file mode 100644 index 00000000..a4f03dbf --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSHurled.s @@ -0,0 +1,1257 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__9CBSHurledFv +__dt__9CBSHurledFv: +/* 8014440C 0014136C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80144410 00141370 7C 08 02 A6 */ mflr r0 +/* 80144414 00141374 90 01 00 14 */ stw r0, 0x14(r1) +/* 80144418 00141378 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8014441C 0014137C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80144420 00141380 41 82 00 30 */ beq lbl_80144450 +/* 80144424 00141384 3C 60 80 3E */ lis r3, lbl_803E1FB0@ha +/* 80144428 00141388 38 03 1F B0 */ addi r0, r3, lbl_803E1FB0@l +/* 8014442C 0014138C 90 1F 00 00 */ stw r0, 0(r31) +/* 80144430 00141390 41 82 00 10 */ beq lbl_80144440 +/* 80144434 00141394 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80144438 00141398 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 8014443C 0014139C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80144440: +/* 80144440 001413A0 7C 80 07 35 */ extsh. r0, r4 +/* 80144444 001413A4 40 81 00 0C */ ble lbl_80144450 +/* 80144448 001413A8 7F E3 FB 78 */ mr r3, r31 +/* 8014444C 001413AC 48 1D 14 E5 */ bl Free__7CMemoryFPCv +lbl_80144450: +/* 80144450 001413B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80144454 001413B4 7F E3 FB 78 */ mr r3, r31 +/* 80144458 001413B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8014445C 001413BC 7C 08 03 A6 */ mtlr r0 +/* 80144460 001413C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80144464 001413C4 4E 80 00 20 */ blr + +.global IsMoving__9CBSHurledCFv +IsMoving__9CBSHurledCFv: +/* 80144468 001413C8 38 60 00 01 */ li r3, 1 +/* 8014446C 001413CC 4E 80 00 20 */ blr + +.global ApplyHeadTracking__9CBSHurledCFv +ApplyHeadTracking__9CBSHurledCFv: +/* 80144470 001413D0 38 60 00 00 */ li r3, 0 +/* 80144474 001413D4 4E 80 00 20 */ blr + +.global GetBodyStateTransition__9CBSHurledFfR15CBodyController +GetBodyStateTransition__9CBSHurledFfR15CBodyController: +/* 80144478 001413D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8014447C 001413DC 7C 08 02 A6 */ mflr r0 +/* 80144480 001413E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80144484 001413E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80144488 001413E8 3B E4 00 04 */ addi r31, r4, 4 +/* 8014448C 001413EC 38 80 00 0C */ li r4, 0xc +/* 80144490 001413F0 93 C1 00 08 */ stw r30, 8(r1) +/* 80144494 001413F4 7C 7E 1B 78 */ mr r30, r3 +/* 80144498 001413F8 7F E3 FB 78 */ mr r3, r31 +/* 8014449C 001413FC 4B FE CF B5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801444A0 00141400 28 03 00 00 */ cmplwi r3, 0 +/* 801444A4 00141404 41 82 00 0C */ beq lbl_801444B0 +/* 801444A8 00141408 38 60 00 02 */ li r3, 2 +/* 801444AC 0014140C 48 00 00 3C */ b lbl_801444E8 +lbl_801444B0: +/* 801444B0 00141410 C0 3E 00 18 */ lfs f1, 0x18(r30) +/* 801444B4 00141414 C0 02 9C 18 */ lfs f0, lbl_805AB938@sda21(r2) +/* 801444B8 00141418 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801444BC 0014141C 40 81 00 28 */ ble lbl_801444E4 +/* 801444C0 00141420 7F E3 FB 78 */ mr r3, r31 +/* 801444C4 00141424 38 80 00 0F */ li r4, 0xf +/* 801444C8 00141428 4B FE CF B5 */ bl GetCmd__16CBodyStateCmdMgrCF13EBodyStateCmd +/* 801444CC 0014142C 28 03 00 00 */ cmplwi r3, 0 +/* 801444D0 00141430 41 82 00 14 */ beq lbl_801444E4 +/* 801444D4 00141434 38 00 00 01 */ li r0, 1 +/* 801444D8 00141438 98 03 00 20 */ stb r0, 0x20(r3) +/* 801444DC 0014143C 38 60 00 0E */ li r3, 0xe +/* 801444E0 00141440 48 00 00 08 */ b lbl_801444E8 +lbl_801444E4: +/* 801444E4 00141444 38 60 FF FF */ li r3, -1 +lbl_801444E8: +/* 801444E8 00141448 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801444EC 0014144C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801444F0 00141450 83 C1 00 08 */ lwz r30, 8(r1) +/* 801444F4 00141454 7C 08 03 A6 */ mtlr r0 +/* 801444F8 00141458 38 21 00 10 */ addi r1, r1, 0x10 +/* 801444FC 0014145C 4E 80 00 20 */ blr + +.global Recover__9CBSHurledFR13CStateManagerR15CBodyControllerQ23pas12EHurledState +Recover__9CBSHurledFR13CStateManagerR15CBodyControllerQ23pas12EHurledState: +/* 80144500 00141460 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 80144504 00141464 7C 08 02 A6 */ mflr r0 +/* 80144508 00141468 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8014450C 0014146C BF 61 00 DC */ stmw r27, 0xdc(r1) +/* 80144510 00141470 7C BC 2B 78 */ mr r28, r5 +/* 80144514 00141474 7C 7F 1B 78 */ mr r31, r3 +/* 80144518 00141478 7C 9B 23 78 */ mr r27, r4 +/* 8014451C 0014147C 7C DD 33 78 */ mr r29, r6 +/* 80144520 00141480 7F 83 E3 78 */ mr r3, r28 +/* 80144524 00141484 4B FF 5F 31 */ bl GetPASDatabase__15CBodyControllerCFv +/* 80144528 00141488 7C 60 1B 78 */ mr r0, r3 +/* 8014452C 0014148C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80144530 00141490 7C 1E 03 78 */ mr r30, r0 +/* 80144534 00141494 48 19 EB 49 */ bl NoParameter__12CPASAnimParmFv +/* 80144538 00141498 38 61 00 28 */ addi r3, r1, 0x28 +/* 8014453C 0014149C 48 19 EB 41 */ bl NoParameter__12CPASAnimParmFv +/* 80144540 001414A0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80144544 001414A4 48 19 EB 39 */ bl NoParameter__12CPASAnimParmFv +/* 80144548 001414A8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8014454C 001414AC 48 19 EB 31 */ bl NoParameter__12CPASAnimParmFv +/* 80144550 001414B0 38 61 00 40 */ addi r3, r1, 0x40 +/* 80144554 001414B4 48 19 EB 29 */ bl NoParameter__12CPASAnimParmFv +/* 80144558 001414B8 7F A4 EB 78 */ mr r4, r29 +/* 8014455C 001414BC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80144560 001414C0 48 19 EA 25 */ bl FromEnum__12CPASAnimParmFi +/* 80144564 001414C4 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80144568 001414C8 38 61 00 50 */ addi r3, r1, 0x50 +/* 8014456C 001414CC 48 19 EA 7D */ bl FromReal32__12CPASAnimParmFf +/* 80144570 001414D0 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 80144574 001414D4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80144578 001414D8 48 19 EA D5 */ bl FromInt32__12CPASAnimParmFi +/* 8014457C 001414DC 38 61 00 28 */ addi r3, r1, 0x28 +/* 80144580 001414E0 38 01 00 20 */ addi r0, r1, 0x20 +/* 80144584 001414E4 90 61 00 08 */ stw r3, 8(r1) +/* 80144588 001414E8 38 61 00 88 */ addi r3, r1, 0x88 +/* 8014458C 001414EC 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80144590 001414F0 38 C1 00 50 */ addi r6, r1, 0x50 +/* 80144594 001414F4 90 01 00 0C */ stw r0, 0xc(r1) +/* 80144598 001414F8 38 E1 00 48 */ addi r7, r1, 0x48 +/* 8014459C 001414FC 39 01 00 40 */ addi r8, r1, 0x40 +/* 801445A0 00141500 39 21 00 38 */ addi r9, r1, 0x38 +/* 801445A4 00141504 39 41 00 30 */ addi r10, r1, 0x30 +/* 801445A8 00141508 38 80 00 0E */ li r4, 0xe +/* 801445AC 0014150C 4B F3 8D 19 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 801445B0 00141510 80 DB 09 00 */ lwz r6, 0x900(r27) +/* 801445B4 00141514 7F C4 F3 78 */ mr r4, r30 +/* 801445B8 00141518 38 61 00 18 */ addi r3, r1, 0x18 +/* 801445BC 0014151C 38 A1 00 88 */ addi r5, r1, 0x88 +/* 801445C0 00141520 38 E0 FF FF */ li r7, -1 +/* 801445C4 00141524 48 1A 0A 9D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 801445C8 00141528 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 801445CC 0014152C C0 02 9C 1C */ lfs f0, lbl_805AB93C@sda21(r2) +/* 801445D0 00141530 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 801445D4 00141534 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801445D8 00141538 40 81 00 88 */ ble lbl_80144660 +/* 801445DC 0014153C C0 02 9C 20 */ lfs f0, lbl_805AB940@sda21(r2) +/* 801445E0 00141540 38 00 00 00 */ li r0, 0 +/* 801445E4 00141544 38 C0 FF FF */ li r6, -1 +/* 801445E8 00141548 38 E0 00 01 */ li r7, 1 +/* 801445EC 0014154C 90 61 00 60 */ stw r3, 0x60(r1) +/* 801445F0 00141550 7F 83 E3 78 */ mr r3, r28 +/* 801445F4 00141554 38 81 00 60 */ addi r4, r1, 0x60 +/* 801445F8 00141558 38 A0 00 00 */ li r5, 0 +/* 801445FC 0014155C 90 C1 00 64 */ stw r6, 0x64(r1) +/* 80144600 00141560 38 C0 00 00 */ li r6, 0 +/* 80144604 00141564 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80144608 00141568 98 E1 00 6C */ stb r7, 0x6c(r1) +/* 8014460C 0014156C 90 01 00 70 */ stw r0, 0x70(r1) +/* 80144610 00141570 90 01 00 74 */ stw r0, 0x74(r1) +/* 80144614 00141574 98 01 00 78 */ stb r0, 0x78(r1) +/* 80144618 00141578 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8014461C 0014157C 90 01 00 80 */ stw r0, 0x80(r1) +/* 80144620 00141580 90 01 00 84 */ stw r0, 0x84(r1) +/* 80144624 00141584 4B FF 62 F9 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80144628 00141588 93 BF 00 04 */ stw r29, 4(r31) +/* 8014462C 0014158C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80144630 00141590 80 9C 00 00 */ lwz r4, 0(r28) +/* 80144634 00141594 4B F6 80 B1 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80144638 00141598 80 83 00 04 */ lwz r4, 4(r3) +/* 8014463C 0014159C 28 04 00 00 */ cmplwi r4, 0 +/* 80144640 001415A0 41 82 00 20 */ beq lbl_80144660 +/* 80144644 001415A4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80144648 001415A8 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8014464C 001415AC D0 04 01 50 */ stfs f0, 0x150(r4) +/* 80144650 001415B0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80144654 001415B4 D0 04 01 54 */ stfs f0, 0x154(r4) +/* 80144658 001415B8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8014465C 001415BC D0 04 01 58 */ stfs f0, 0x158(r4) +lbl_80144660: +/* 80144660 001415C0 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 80144664 001415C4 38 60 00 00 */ li r3, 0 +/* 80144668 001415C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8014466C 001415CC 34 A1 00 8C */ addic. r5, r1, 0x8c +/* 80144670 001415D0 98 1F 00 2C */ stb r0, 0x2c(r31) +/* 80144674 001415D4 41 82 00 54 */ beq lbl_801446C8 +/* 80144678 001415D8 80 C5 00 00 */ lwz r6, 0(r5) +/* 8014467C 001415DC 2C 06 00 00 */ cmpwi r6, 0 +/* 80144680 001415E0 40 81 00 40 */ ble lbl_801446C0 +/* 80144684 001415E4 2C 06 00 08 */ cmpwi r6, 8 +/* 80144688 001415E8 38 86 FF F8 */ addi r4, r6, -8 +/* 8014468C 001415EC 40 81 00 20 */ ble lbl_801446AC +/* 80144690 001415F0 38 04 00 07 */ addi r0, r4, 7 +/* 80144694 001415F4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80144698 001415F8 7C 09 03 A6 */ mtctr r0 +/* 8014469C 001415FC 2C 04 00 00 */ cmpwi r4, 0 +/* 801446A0 00141600 40 81 00 0C */ ble lbl_801446AC +lbl_801446A4: +/* 801446A4 00141604 38 63 00 08 */ addi r3, r3, 8 +/* 801446A8 00141608 42 00 FF FC */ bdnz lbl_801446A4 +lbl_801446AC: +/* 801446AC 0014160C 7C 03 30 50 */ subf r0, r3, r6 +/* 801446B0 00141610 7C 09 03 A6 */ mtctr r0 +/* 801446B4 00141614 7C 03 30 00 */ cmpw r3, r6 +/* 801446B8 00141618 40 80 00 08 */ bge lbl_801446C0 +lbl_801446BC: +/* 801446BC 0014161C 42 00 00 00 */ bdnz lbl_801446BC +lbl_801446C0: +/* 801446C0 00141620 38 00 00 00 */ li r0, 0 +/* 801446C4 00141624 90 05 00 00 */ stw r0, 0(r5) +lbl_801446C8: +/* 801446C8 00141628 BB 61 00 DC */ lmw r27, 0xdc(r1) +/* 801446CC 0014162C 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 801446D0 00141630 7C 08 03 A6 */ mtlr r0 +/* 801446D4 00141634 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 801446D8 00141638 4E 80 00 20 */ blr + +.global PlayStrikeWallAnimation__9CBSHurledFR15CBodyControllerR13CStateManager +PlayStrikeWallAnimation__9CBSHurledFR15CBodyControllerR13CStateManager: +/* 801446DC 0014163C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 801446E0 00141640 7C 08 02 A6 */ mflr r0 +/* 801446E4 00141644 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 801446E8 00141648 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 801446EC 0014164C 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 801446F0 00141650 7C BE 2B 78 */ mr r30, r5 +/* 801446F4 00141654 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 801446F8 00141658 7C 9D 23 78 */ mr r29, r4 +/* 801446FC 0014165C 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 80144700 00141660 7C 7C 1B 78 */ mr r28, r3 +/* 80144704 00141664 7F A3 EB 78 */ mr r3, r29 +/* 80144708 00141668 4B FF 5D 4D */ bl GetPASDatabase__15CBodyControllerCFv +/* 8014470C 0014166C 7C 60 1B 78 */ mr r0, r3 +/* 80144710 00141670 38 61 00 18 */ addi r3, r1, 0x18 +/* 80144714 00141674 7C 1F 03 78 */ mr r31, r0 +/* 80144718 00141678 48 19 E9 65 */ bl NoParameter__12CPASAnimParmFv +/* 8014471C 0014167C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80144720 00141680 48 19 E9 5D */ bl NoParameter__12CPASAnimParmFv +/* 80144724 00141684 38 61 00 28 */ addi r3, r1, 0x28 +/* 80144728 00141688 48 19 E9 55 */ bl NoParameter__12CPASAnimParmFv +/* 8014472C 0014168C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80144730 00141690 48 19 E9 4D */ bl NoParameter__12CPASAnimParmFv +/* 80144734 00141694 38 61 00 38 */ addi r3, r1, 0x38 +/* 80144738 00141698 48 19 E9 45 */ bl NoParameter__12CPASAnimParmFv +/* 8014473C 0014169C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80144740 001416A0 38 80 00 03 */ li r4, 3 +/* 80144744 001416A4 48 19 E8 41 */ bl FromEnum__12CPASAnimParmFi +/* 80144748 001416A8 C0 3C 00 08 */ lfs f1, 8(r28) +/* 8014474C 001416AC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80144750 001416B0 48 19 E8 99 */ bl FromReal32__12CPASAnimParmFf +/* 80144754 001416B4 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 80144758 001416B8 38 61 00 50 */ addi r3, r1, 0x50 +/* 8014475C 001416BC 48 19 E8 F1 */ bl FromInt32__12CPASAnimParmFi +/* 80144760 001416C0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80144764 001416C4 38 01 00 18 */ addi r0, r1, 0x18 +/* 80144768 001416C8 90 61 00 08 */ stw r3, 8(r1) +/* 8014476C 001416CC 38 61 00 80 */ addi r3, r1, 0x80 +/* 80144770 001416D0 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80144774 001416D4 38 C1 00 48 */ addi r6, r1, 0x48 +/* 80144778 001416D8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8014477C 001416DC 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80144780 001416E0 39 01 00 38 */ addi r8, r1, 0x38 +/* 80144784 001416E4 39 21 00 30 */ addi r9, r1, 0x30 +/* 80144788 001416E8 39 41 00 28 */ addi r10, r1, 0x28 +/* 8014478C 001416EC 38 80 00 0E */ li r4, 0xe +/* 80144790 001416F0 4B F3 8B 35 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80144794 001416F4 80 DE 09 00 */ lwz r6, 0x900(r30) +/* 80144798 001416F8 7F E4 FB 78 */ mr r4, r31 +/* 8014479C 001416FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 801447A0 00141700 38 A1 00 80 */ addi r5, r1, 0x80 +/* 801447A4 00141704 38 E0 FF FF */ li r7, -1 +/* 801447A8 00141708 48 1A 08 B9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 801447AC 0014170C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 801447B0 00141710 C0 02 9C 1C */ lfs f0, lbl_805AB93C@sda21(r2) +/* 801447B4 00141714 80 61 00 14 */ lwz r3, 0x14(r1) +/* 801447B8 00141718 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801447BC 0014171C 40 81 00 58 */ ble lbl_80144814 +/* 801447C0 00141720 C0 02 9C 20 */ lfs f0, lbl_805AB940@sda21(r2) +/* 801447C4 00141724 38 00 00 00 */ li r0, 0 +/* 801447C8 00141728 38 C0 FF FF */ li r6, -1 +/* 801447CC 0014172C 38 E0 00 01 */ li r7, 1 +/* 801447D0 00141730 90 61 00 58 */ stw r3, 0x58(r1) +/* 801447D4 00141734 7F A3 EB 78 */ mr r3, r29 +/* 801447D8 00141738 38 81 00 58 */ addi r4, r1, 0x58 +/* 801447DC 0014173C 38 A0 00 00 */ li r5, 0 +/* 801447E0 00141740 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 801447E4 00141744 38 C0 00 00 */ li r6, 0 +/* 801447E8 00141748 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 801447EC 0014174C 98 E1 00 64 */ stb r7, 0x64(r1) +/* 801447F0 00141750 90 01 00 68 */ stw r0, 0x68(r1) +/* 801447F4 00141754 90 01 00 6C */ stw r0, 0x6c(r1) +/* 801447F8 00141758 98 01 00 70 */ stb r0, 0x70(r1) +/* 801447FC 0014175C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80144800 00141760 90 01 00 78 */ stw r0, 0x78(r1) +/* 80144804 00141764 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80144808 00141768 4B FF 61 15 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 8014480C 0014176C 38 00 00 03 */ li r0, 3 +/* 80144810 00141770 90 1C 00 04 */ stw r0, 4(r28) +lbl_80144814: +/* 80144814 00141774 34 A1 00 84 */ addic. r5, r1, 0x84 +/* 80144818 00141778 41 82 00 58 */ beq lbl_80144870 +/* 8014481C 0014177C 80 C5 00 00 */ lwz r6, 0(r5) +/* 80144820 00141780 38 60 00 00 */ li r3, 0 +/* 80144824 00141784 2C 06 00 00 */ cmpwi r6, 0 +/* 80144828 00141788 40 81 00 40 */ ble lbl_80144868 +/* 8014482C 0014178C 2C 06 00 08 */ cmpwi r6, 8 +/* 80144830 00141790 38 86 FF F8 */ addi r4, r6, -8 +/* 80144834 00141794 40 81 00 20 */ ble lbl_80144854 +/* 80144838 00141798 38 04 00 07 */ addi r0, r4, 7 +/* 8014483C 0014179C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80144840 001417A0 7C 09 03 A6 */ mtctr r0 +/* 80144844 001417A4 2C 04 00 00 */ cmpwi r4, 0 +/* 80144848 001417A8 40 81 00 0C */ ble lbl_80144854 +lbl_8014484C: +/* 8014484C 001417AC 38 63 00 08 */ addi r3, r3, 8 +/* 80144850 001417B0 42 00 FF FC */ bdnz lbl_8014484C +lbl_80144854: +/* 80144854 001417B4 7C 03 30 50 */ subf r0, r3, r6 +/* 80144858 001417B8 7C 09 03 A6 */ mtctr r0 +/* 8014485C 001417BC 7C 03 30 00 */ cmpw r3, r6 +/* 80144860 001417C0 40 80 00 08 */ bge lbl_80144868 +lbl_80144864: +/* 80144864 001417C4 42 00 00 00 */ bdnz lbl_80144864 +lbl_80144868: +/* 80144868 001417C8 38 00 00 00 */ li r0, 0 +/* 8014486C 001417CC 90 05 00 00 */ stw r0, 0(r5) +lbl_80144870: +/* 80144870 001417D0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80144874 001417D4 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80144878 001417D8 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 8014487C 001417DC 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80144880 001417E0 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 80144884 001417E4 7C 08 03 A6 */ mtlr r0 +/* 80144888 001417E8 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8014488C 001417EC 4E 80 00 20 */ blr + +.global PlayLandAnimation__9CBSHurledFR15CBodyControllerR13CStateManager +PlayLandAnimation__9CBSHurledFR15CBodyControllerR13CStateManager: +/* 80144890 001417F0 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80144894 001417F4 7C 08 02 A6 */ mflr r0 +/* 80144898 001417F8 90 01 01 04 */ stw r0, 0x104(r1) +/* 8014489C 001417FC 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 801448A0 00141800 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 801448A4 00141804 7C 7E 1B 78 */ mr r30, r3 +/* 801448A8 00141808 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 801448AC 0014180C 7C BD 2B 78 */ mr r29, r5 +/* 801448B0 00141810 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 801448B4 00141814 7C 9C 23 78 */ mr r28, r4 +/* 801448B8 00141818 7F 83 E3 78 */ mr r3, r28 +/* 801448BC 0014181C 4B FF 5B 99 */ bl GetPASDatabase__15CBodyControllerCFv +/* 801448C0 00141820 7C 60 1B 78 */ mr r0, r3 +/* 801448C4 00141824 38 61 00 2C */ addi r3, r1, 0x2c +/* 801448C8 00141828 7C 1F 03 78 */ mr r31, r0 +/* 801448CC 0014182C 48 19 E7 B1 */ bl NoParameter__12CPASAnimParmFv +/* 801448D0 00141830 38 61 00 34 */ addi r3, r1, 0x34 +/* 801448D4 00141834 48 19 E7 A9 */ bl NoParameter__12CPASAnimParmFv +/* 801448D8 00141838 38 61 00 3C */ addi r3, r1, 0x3c +/* 801448DC 0014183C 48 19 E7 A1 */ bl NoParameter__12CPASAnimParmFv +/* 801448E0 00141840 38 61 00 44 */ addi r3, r1, 0x44 +/* 801448E4 00141844 48 19 E7 99 */ bl NoParameter__12CPASAnimParmFv +/* 801448E8 00141848 38 61 00 4C */ addi r3, r1, 0x4c +/* 801448EC 0014184C 48 19 E7 91 */ bl NoParameter__12CPASAnimParmFv +/* 801448F0 00141850 80 9E 00 04 */ lwz r4, 4(r30) +/* 801448F4 00141854 38 61 00 54 */ addi r3, r1, 0x54 +/* 801448F8 00141858 48 19 E6 8D */ bl FromEnum__12CPASAnimParmFi +/* 801448FC 0014185C C0 3E 00 08 */ lfs f1, 8(r30) +/* 80144900 00141860 38 61 00 5C */ addi r3, r1, 0x5c +/* 80144904 00141864 48 19 E6 E5 */ bl FromReal32__12CPASAnimParmFf +/* 80144908 00141868 80 9E 00 0C */ lwz r4, 0xc(r30) +/* 8014490C 0014186C 38 61 00 64 */ addi r3, r1, 0x64 +/* 80144910 00141870 48 19 E7 3D */ bl FromInt32__12CPASAnimParmFi +/* 80144914 00141874 38 61 00 34 */ addi r3, r1, 0x34 +/* 80144918 00141878 38 01 00 2C */ addi r0, r1, 0x2c +/* 8014491C 0014187C 90 61 00 08 */ stw r3, 8(r1) +/* 80144920 00141880 38 61 00 9C */ addi r3, r1, 0x9c +/* 80144924 00141884 38 A1 00 64 */ addi r5, r1, 0x64 +/* 80144928 00141888 38 C1 00 5C */ addi r6, r1, 0x5c +/* 8014492C 0014188C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80144930 00141890 38 E1 00 54 */ addi r7, r1, 0x54 +/* 80144934 00141894 39 01 00 4C */ addi r8, r1, 0x4c +/* 80144938 00141898 39 21 00 44 */ addi r9, r1, 0x44 +/* 8014493C 0014189C 39 41 00 3C */ addi r10, r1, 0x3c +/* 80144940 001418A0 38 80 00 0E */ li r4, 0xe +/* 80144944 001418A4 4B F3 89 81 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80144948 001418A8 80 DD 09 00 */ lwz r6, 0x900(r29) +/* 8014494C 001418AC 7F E4 FB 78 */ mr r4, r31 +/* 80144950 001418B0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80144954 001418B4 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80144958 001418B8 38 E0 FF FF */ li r7, -1 +/* 8014495C 001418BC 48 1A 07 05 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 80144960 001418C0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80144964 001418C4 38 00 00 00 */ li r0, 0 +/* 80144968 001418C8 C0 02 9C 20 */ lfs f0, lbl_805AB940@sda21(r2) +/* 8014496C 001418CC 38 A0 FF FF */ li r5, -1 +/* 80144970 001418D0 38 E0 00 01 */ li r7, 1 +/* 80144974 001418D4 93 C1 00 74 */ stw r30, 0x74(r1) +/* 80144978 001418D8 7F 83 E3 78 */ mr r3, r28 +/* 8014497C 001418DC 38 81 00 74 */ addi r4, r1, 0x74 +/* 80144980 001418E0 90 A1 00 78 */ stw r5, 0x78(r1) +/* 80144984 001418E4 38 A0 00 00 */ li r5, 0 +/* 80144988 001418E8 38 C0 00 00 */ li r6, 0 +/* 8014498C 001418EC D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80144990 001418F0 98 E1 00 80 */ stb r7, 0x80(r1) +/* 80144994 001418F4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80144998 001418F8 90 01 00 88 */ stw r0, 0x88(r1) +/* 8014499C 001418FC 98 01 00 8C */ stb r0, 0x8c(r1) +/* 801449A0 00141900 90 01 00 90 */ stw r0, 0x90(r1) +/* 801449A4 00141904 90 01 00 94 */ stw r0, 0x94(r1) +/* 801449A8 00141908 90 01 00 98 */ stw r0, 0x98(r1) +/* 801449AC 0014190C 4B FF 5F 71 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 801449B0 00141910 7F E3 FB 78 */ mr r3, r31 +/* 801449B4 00141914 38 80 00 0E */ li r4, 0xe +/* 801449B8 00141918 48 1A 05 0D */ bl GetAnimState__12CPASDatabaseCFi +/* 801449BC 0014191C 7C 64 1B 78 */ mr r4, r3 +/* 801449C0 00141920 7F C5 F3 78 */ mr r5, r30 +/* 801449C4 00141924 38 61 00 1C */ addi r3, r1, 0x1c +/* 801449C8 00141928 38 C0 00 03 */ li r6, 3 +/* 801449CC 0014192C 48 19 F6 29 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 801449D0 00141930 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 801449D4 00141934 38 61 00 6C */ addi r3, r1, 0x6c +/* 801449D8 00141938 80 01 00 20 */ lwz r0, 0x20(r1) +/* 801449DC 0014193C 90 81 00 6C */ stw r4, 0x6c(r1) +/* 801449E0 00141940 90 01 00 70 */ stw r0, 0x70(r1) +/* 801449E4 00141944 48 19 E5 79 */ bl GetEnumValue__12CPASAnimParmCFv +/* 801449E8 00141948 7C 64 1B 78 */ mr r4, r3 +/* 801449EC 0014194C 7F 83 E3 78 */ mr r3, r28 +/* 801449F0 00141950 4B FF 61 B5 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState +/* 801449F4 00141954 80 9C 00 00 */ lwz r4, 0(r28) +/* 801449F8 00141958 38 61 00 14 */ addi r3, r1, 0x14 +/* 801449FC 0014195C 4B F6 7C E9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80144A00 00141960 80 83 00 04 */ lwz r4, 4(r3) +/* 80144A04 00141964 28 04 00 00 */ cmplwi r4, 0 +/* 80144A08 00141968 41 82 00 1C */ beq lbl_80144A24 +/* 80144A0C 0014196C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80144A10 00141970 7F A3 EB 78 */ mr r3, r29 +/* 80144A14 00141974 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80144A18 00141978 38 C0 00 17 */ li r6, 0x17 +/* 80144A1C 0014197C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80144A20 00141980 4B EF F4 B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80144A24: +/* 80144A24 00141984 34 A1 00 A0 */ addic. r5, r1, 0xa0 +/* 80144A28 00141988 41 82 00 58 */ beq lbl_80144A80 +/* 80144A2C 0014198C 80 C5 00 00 */ lwz r6, 0(r5) +/* 80144A30 00141990 38 60 00 00 */ li r3, 0 +/* 80144A34 00141994 2C 06 00 00 */ cmpwi r6, 0 +/* 80144A38 00141998 40 81 00 40 */ ble lbl_80144A78 +/* 80144A3C 0014199C 2C 06 00 08 */ cmpwi r6, 8 +/* 80144A40 001419A0 38 86 FF F8 */ addi r4, r6, -8 +/* 80144A44 001419A4 40 81 00 20 */ ble lbl_80144A64 +/* 80144A48 001419A8 38 04 00 07 */ addi r0, r4, 7 +/* 80144A4C 001419AC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80144A50 001419B0 7C 09 03 A6 */ mtctr r0 +/* 80144A54 001419B4 2C 04 00 00 */ cmpwi r4, 0 +/* 80144A58 001419B8 40 81 00 0C */ ble lbl_80144A64 +lbl_80144A5C: +/* 80144A5C 001419BC 38 63 00 08 */ addi r3, r3, 8 +/* 80144A60 001419C0 42 00 FF FC */ bdnz lbl_80144A5C +lbl_80144A64: +/* 80144A64 001419C4 7C 03 30 50 */ subf r0, r3, r6 +/* 80144A68 001419C8 7C 09 03 A6 */ mtctr r0 +/* 80144A6C 001419CC 7C 03 30 00 */ cmpw r3, r6 +/* 80144A70 001419D0 40 80 00 08 */ bge lbl_80144A78 +lbl_80144A74: +/* 80144A74 001419D4 42 00 00 00 */ bdnz lbl_80144A74 +lbl_80144A78: +/* 80144A78 001419D8 38 00 00 00 */ li r0, 0 +/* 80144A7C 001419DC 90 05 00 00 */ stw r0, 0(r5) +lbl_80144A80: +/* 80144A80 001419E0 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80144A84 001419E4 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80144A88 001419E8 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 80144A8C 001419EC 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 80144A90 001419F0 83 81 00 F0 */ lwz r28, 0xf0(r1) +/* 80144A94 001419F4 7C 08 03 A6 */ mtlr r0 +/* 80144A98 001419F8 38 21 01 00 */ addi r1, r1, 0x100 +/* 80144A9C 001419FC 4E 80 00 20 */ blr + +.global ShouldStartStrikeWall__9CBSHurledCFR15CBodyController +ShouldStartStrikeWall__9CBSHurledCFR15CBodyController: +/* 80144AA0 00141A00 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80144AA4 00141A04 7C 08 02 A6 */ mflr r0 +/* 80144AA8 00141A08 90 01 00 24 */ stw r0, 0x24(r1) +/* 80144AAC 00141A0C 38 61 00 08 */ addi r3, r1, 8 +/* 80144AB0 00141A10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80144AB4 00141A14 3B E0 00 00 */ li r31, 0 +/* 80144AB8 00141A18 80 84 00 00 */ lwz r4, 0(r4) +/* 80144ABC 00141A1C 4B F6 7F A1 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 80144AC0 00141A20 80 63 00 04 */ lwz r3, 4(r3) +/* 80144AC4 00141A24 88 03 03 28 */ lbz r0, 0x328(r3) +/* 80144AC8 00141A28 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80144ACC 00141A2C 41 82 00 20 */ beq lbl_80144AEC +/* 80144AD0 00141A30 81 83 00 00 */ lwz r12, 0(r3) +/* 80144AD4 00141A34 81 8C 02 B8 */ lwz r12, 0x2b8(r12) +/* 80144AD8 00141A38 7D 89 03 A6 */ mtctr r12 +/* 80144ADC 00141A3C 4E 80 04 21 */ bctrl +/* 80144AE0 00141A40 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80144AE4 00141A44 40 82 00 08 */ bne lbl_80144AEC +/* 80144AE8 00141A48 3B E0 00 01 */ li r31, 1 +lbl_80144AEC: +/* 80144AEC 00141A4C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80144AF0 00141A50 7F E3 FB 78 */ mr r3, r31 +/* 80144AF4 00141A54 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80144AF8 00141A58 7C 08 03 A6 */ mtlr r0 +/* 80144AFC 00141A5C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80144B00 00141A60 4E 80 00 20 */ blr + +.global ShouldStartLand__9CBSHurledCFfR15CBodyController +ShouldStartLand__9CBSHurledCFfR15CBodyController: +/* 80144B04 00141A64 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80144B08 00141A68 7C 08 02 A6 */ mflr r0 +/* 80144B0C 00141A6C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80144B10 00141A70 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80144B14 00141A74 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80144B18 00141A78 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80144B1C 00141A7C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80144B20 00141A80 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80144B24 00141A84 FF E0 08 90 */ fmr f31, f1 +/* 80144B28 00141A88 7C 7D 1B 78 */ mr r29, r3 +/* 80144B2C 00141A8C 80 84 00 00 */ lwz r4, 0(r4) +/* 80144B30 00141A90 38 61 00 08 */ addi r3, r1, 8 +/* 80144B34 00141A94 3B E0 00 01 */ li r31, 1 +/* 80144B38 00141A98 4B F6 7F 25 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 80144B3C 00141A9C 83 C3 00 04 */ lwz r30, 4(r3) +/* 80144B40 00141AA0 28 1E 00 00 */ cmplwi r30, 0 +/* 80144B44 00141AA4 41 82 00 BC */ beq lbl_80144C00 +/* 80144B48 00141AA8 7F C3 F3 78 */ mr r3, r30 +/* 80144B4C 00141AAC 3B E0 00 00 */ li r31, 0 +/* 80144B50 00141AB0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80144B54 00141AB4 81 8C 02 B8 */ lwz r12, 0x2b8(r12) +/* 80144B58 00141AB8 7D 89 03 A6 */ mtctr r12 +/* 80144B5C 00141ABC 4E 80 04 21 */ bctrl +/* 80144B60 00141AC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80144B64 00141AC4 41 82 00 0C */ beq lbl_80144B70 +/* 80144B68 00141AC8 3B E0 00 01 */ li r31, 1 +/* 80144B6C 00141ACC 48 00 00 94 */ b lbl_80144C00 +lbl_80144B70: +/* 80144B70 00141AD0 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80144B74 00141AD4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80144B78 00141AD8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80144B7C 00141ADC 38 9D 00 1C */ addi r4, r29, 0x1c +/* 80144B80 00141AE0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80144B84 00141AE4 C0 22 9C 24 */ lfs f1, lbl_805AB944@sda21(r2) +/* 80144B88 00141AE8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80144B8C 00141AEC D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80144B90 00141AF0 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80144B94 00141AF4 48 1C B3 D1 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80144B98 00141AF8 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80144B9C 00141AFC 7C 00 00 34 */ cntlzw r0, r0 +/* 80144BA0 00141B00 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f +/* 80144BA4 00141B04 40 82 00 3C */ bne lbl_80144BE0 +/* 80144BA8 00141B08 C0 3E 01 40 */ lfs f1, 0x140(r30) +/* 80144BAC 00141B0C C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 80144BB0 00141B10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80144BB4 00141B14 40 80 00 2C */ bge lbl_80144BE0 +/* 80144BB8 00141B18 C0 3D 00 28 */ lfs f1, 0x28(r29) +/* 80144BBC 00141B1C C0 02 9C 18 */ lfs f0, lbl_805AB938@sda21(r2) +/* 80144BC0 00141B20 EC 21 F8 2A */ fadds f1, f1, f31 +/* 80144BC4 00141B24 D0 3D 00 28 */ stfs f1, 0x28(r29) +/* 80144BC8 00141B28 C0 3D 00 28 */ lfs f1, 0x28(r29) +/* 80144BCC 00141B2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80144BD0 00141B30 4C 41 13 82 */ cror 2, 1, 2 +/* 80144BD4 00141B34 40 82 00 14 */ bne lbl_80144BE8 +/* 80144BD8 00141B38 3B E0 00 01 */ li r31, 1 +/* 80144BDC 00141B3C 48 00 00 0C */ b lbl_80144BE8 +lbl_80144BE0: +/* 80144BE0 00141B40 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 80144BE4 00141B44 D0 1D 00 28 */ stfs f0, 0x28(r29) +lbl_80144BE8: +/* 80144BE8 00141B48 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80144BEC 00141B4C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80144BF0 00141B50 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80144BF4 00141B54 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 80144BF8 00141B58 D0 3D 00 20 */ stfs f1, 0x20(r29) +/* 80144BFC 00141B5C D0 5D 00 24 */ stfs f2, 0x24(r29) +lbl_80144C00: +/* 80144C00 00141B60 7F E3 FB 78 */ mr r3, r31 +/* 80144C04 00141B64 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80144C08 00141B68 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80144C0C 00141B6C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80144C10 00141B70 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80144C14 00141B74 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80144C18 00141B78 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80144C1C 00141B7C 7C 08 03 A6 */ mtlr r0 +/* 80144C20 00141B80 38 21 00 40 */ addi r1, r1, 0x40 +/* 80144C24 00141B84 4E 80 00 20 */ blr + +.global Shutdown__9CBSHurledFR15CBodyController +Shutdown__9CBSHurledFR15CBodyController: +/* 80144C28 00141B88 4E 80 00 20 */ blr + +.global UpdateBody__9CBSHurledFfR15CBodyControllerR13CStateManager +UpdateBody__9CBSHurledFfR15CBodyControllerR13CStateManager: +/* 80144C2C 00141B8C 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 80144C30 00141B90 7C 08 02 A6 */ mflr r0 +/* 80144C34 00141B94 90 01 01 84 */ stw r0, 0x184(r1) +/* 80144C38 00141B98 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 80144C3C 00141B9C F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 80144C40 00141BA0 93 E1 01 6C */ stw r31, 0x16c(r1) +/* 80144C44 00141BA4 93 C1 01 68 */ stw r30, 0x168(r1) +/* 80144C48 00141BA8 93 A1 01 64 */ stw r29, 0x164(r1) +/* 80144C4C 00141BAC 93 81 01 60 */ stw r28, 0x160(r1) +/* 80144C50 00141BB0 FF E0 08 90 */ fmr f31, f1 +/* 80144C54 00141BB4 7C 7C 1B 78 */ mr r28, r3 +/* 80144C58 00141BB8 7C 9D 23 78 */ mr r29, r4 +/* 80144C5C 00141BBC 7C BE 2B 78 */ mr r30, r5 +/* 80144C60 00141BC0 4B FF F8 19 */ bl GetBodyStateTransition__9CBSHurledFfR15CBodyController +/* 80144C64 00141BC4 7C 7F 1B 78 */ mr r31, r3 +/* 80144C68 00141BC8 2C 1F FF FF */ cmpwi r31, -1 +/* 80144C6C 00141BCC 40 82 04 A0 */ bne lbl_8014510C +/* 80144C70 00141BD0 C0 3C 00 18 */ lfs f1, 0x18(r28) +/* 80144C74 00141BD4 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 80144C78 00141BD8 EC 21 F8 2A */ fadds f1, f1, f31 +/* 80144C7C 00141BDC D0 3C 00 18 */ stfs f1, 0x18(r28) +/* 80144C80 00141BE0 C0 3C 00 14 */ lfs f1, 0x14(r28) +/* 80144C84 00141BE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80144C88 00141BE8 40 81 00 34 */ ble lbl_80144CBC +/* 80144C8C 00141BEC C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 80144C90 00141BF0 38 61 00 BC */ addi r3, r1, 0xbc +/* 80144C94 00141BF4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80144C98 00141BF8 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80144C9C 00141BFC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80144CA0 00141C00 48 1C C4 59 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 80144CA4 00141C04 7F A3 EB 78 */ mr r3, r29 +/* 80144CA8 00141C08 38 81 00 BC */ addi r4, r1, 0xbc +/* 80144CAC 00141C0C 4B FF 5B 5D */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion +/* 80144CB0 00141C10 C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 80144CB4 00141C14 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80144CB8 00141C18 D0 1C 00 14 */ stfs f0, 0x14(r28) +lbl_80144CBC: +/* 80144CBC 00141C1C 38 7D 00 04 */ addi r3, r29, 4 +/* 80144CC0 00141C20 38 80 00 0A */ li r4, 0xa +/* 80144CC4 00141C24 4B FE C7 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80144CC8 00141C28 28 03 00 00 */ cmplwi r3, 0 +/* 80144CCC 00141C2C 41 82 00 14 */ beq lbl_80144CE0 +/* 80144CD0 00141C30 88 1C 00 2C */ lbz r0, 0x2c(r28) +/* 80144CD4 00141C34 38 60 00 01 */ li r3, 1 +/* 80144CD8 00141C38 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80144CDC 00141C3C 98 1C 00 2C */ stb r0, 0x2c(r28) +lbl_80144CE0: +/* 80144CE0 00141C40 80 1C 00 04 */ lwz r0, 4(r28) +/* 80144CE4 00141C44 28 00 00 07 */ cmplwi r0, 7 +/* 80144CE8 00141C48 41 81 04 24 */ bgt lbl_8014510C +/* 80144CEC 00141C4C 3C 60 80 3E */ lis r3, lbl_803E1FE8@ha +/* 80144CF0 00141C50 54 00 10 3A */ slwi r0, r0, 2 +/* 80144CF4 00141C54 38 63 1F E8 */ addi r3, r3, lbl_803E1FE8@l +/* 80144CF8 00141C58 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80144CFC 00141C5C 7C 09 03 A6 */ mtctr r0 +/* 80144D00 00141C60 4E 80 04 20 */ bctr +/* 80144D04 00141C64 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80144D08 00141C68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80144D0C 00141C6C 41 82 04 00 */ beq lbl_8014510C +/* 80144D10 00141C70 38 61 00 64 */ addi r3, r1, 0x64 +/* 80144D14 00141C74 48 19 E3 69 */ bl NoParameter__12CPASAnimParmFv +/* 80144D18 00141C78 38 61 00 6C */ addi r3, r1, 0x6c +/* 80144D1C 00141C7C 48 19 E3 61 */ bl NoParameter__12CPASAnimParmFv +/* 80144D20 00141C80 38 61 00 74 */ addi r3, r1, 0x74 +/* 80144D24 00141C84 48 19 E3 59 */ bl NoParameter__12CPASAnimParmFv +/* 80144D28 00141C88 38 61 00 7C */ addi r3, r1, 0x7c +/* 80144D2C 00141C8C 48 19 E3 51 */ bl NoParameter__12CPASAnimParmFv +/* 80144D30 00141C90 38 61 00 84 */ addi r3, r1, 0x84 +/* 80144D34 00141C94 48 19 E3 49 */ bl NoParameter__12CPASAnimParmFv +/* 80144D38 00141C98 38 61 00 8C */ addi r3, r1, 0x8c +/* 80144D3C 00141C9C 38 80 00 01 */ li r4, 1 +/* 80144D40 00141CA0 48 19 E2 45 */ bl FromEnum__12CPASAnimParmFi +/* 80144D44 00141CA4 C0 3C 00 08 */ lfs f1, 8(r28) +/* 80144D48 00141CA8 38 61 00 94 */ addi r3, r1, 0x94 +/* 80144D4C 00141CAC 48 19 E2 9D */ bl FromReal32__12CPASAnimParmFf +/* 80144D50 00141CB0 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 80144D54 00141CB4 38 61 00 9C */ addi r3, r1, 0x9c +/* 80144D58 00141CB8 48 19 E2 F5 */ bl FromInt32__12CPASAnimParmFi +/* 80144D5C 00141CBC 38 61 00 6C */ addi r3, r1, 0x6c +/* 80144D60 00141CC0 38 01 00 64 */ addi r0, r1, 0x64 +/* 80144D64 00141CC4 90 61 00 08 */ stw r3, 8(r1) +/* 80144D68 00141CC8 38 61 01 14 */ addi r3, r1, 0x114 +/* 80144D6C 00141CCC 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80144D70 00141CD0 38 C1 00 94 */ addi r6, r1, 0x94 +/* 80144D74 00141CD4 90 01 00 0C */ stw r0, 0xc(r1) +/* 80144D78 00141CD8 38 E1 00 8C */ addi r7, r1, 0x8c +/* 80144D7C 00141CDC 39 01 00 84 */ addi r8, r1, 0x84 +/* 80144D80 00141CE0 39 21 00 7C */ addi r9, r1, 0x7c +/* 80144D84 00141CE4 39 41 00 74 */ addi r10, r1, 0x74 +/* 80144D88 00141CE8 38 80 00 0E */ li r4, 0xe +/* 80144D8C 00141CEC 4B F3 85 39 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80144D90 00141CF0 80 BE 09 00 */ lwz r5, 0x900(r30) +/* 80144D94 00141CF4 7F A3 EB 78 */ mr r3, r29 +/* 80144D98 00141CF8 38 81 01 14 */ addi r4, r1, 0x114 +/* 80144D9C 00141CFC 4B FF 55 61 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 80144DA0 00141D00 38 00 00 01 */ li r0, 1 +/* 80144DA4 00141D04 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 80144DA8 00141D08 90 1C 00 04 */ stw r0, 4(r28) +/* 80144DAC 00141D0C 34 A1 01 18 */ addic. r5, r1, 0x118 +/* 80144DB0 00141D10 D0 1C 00 28 */ stfs f0, 0x28(r28) +/* 80144DB4 00141D14 41 82 03 58 */ beq lbl_8014510C +/* 80144DB8 00141D18 80 C5 00 00 */ lwz r6, 0(r5) +/* 80144DBC 00141D1C 38 60 00 00 */ li r3, 0 +/* 80144DC0 00141D20 2C 06 00 00 */ cmpwi r6, 0 +/* 80144DC4 00141D24 40 81 00 40 */ ble lbl_80144E04 +/* 80144DC8 00141D28 2C 06 00 08 */ cmpwi r6, 8 +/* 80144DCC 00141D2C 38 86 FF F8 */ addi r4, r6, -8 +/* 80144DD0 00141D30 40 81 00 20 */ ble lbl_80144DF0 +/* 80144DD4 00141D34 38 04 00 07 */ addi r0, r4, 7 +/* 80144DD8 00141D38 54 00 E8 FE */ srwi r0, r0, 3 +/* 80144DDC 00141D3C 7C 09 03 A6 */ mtctr r0 +/* 80144DE0 00141D40 2C 04 00 00 */ cmpwi r4, 0 +/* 80144DE4 00141D44 40 81 00 0C */ ble lbl_80144DF0 +lbl_80144DE8: +/* 80144DE8 00141D48 38 63 00 08 */ addi r3, r3, 8 +/* 80144DEC 00141D4C 42 00 FF FC */ bdnz lbl_80144DE8 +lbl_80144DF0: +/* 80144DF0 00141D50 7C 03 30 50 */ subf r0, r3, r6 +/* 80144DF4 00141D54 7C 09 03 A6 */ mtctr r0 +/* 80144DF8 00141D58 7C 03 30 00 */ cmpw r3, r6 +/* 80144DFC 00141D5C 40 80 00 08 */ bge lbl_80144E04 +lbl_80144E00: +/* 80144E00 00141D60 42 00 00 00 */ bdnz lbl_80144E00 +lbl_80144E04: +/* 80144E04 00141D64 38 00 00 00 */ li r0, 0 +/* 80144E08 00141D68 90 05 00 00 */ stw r0, 0(r5) +/* 80144E0C 00141D6C 48 00 03 00 */ b lbl_8014510C +/* 80144E10 00141D70 FC 20 F8 90 */ fmr f1, f31 +/* 80144E14 00141D74 7F 83 E3 78 */ mr r3, r28 +/* 80144E18 00141D78 7F A4 EB 78 */ mr r4, r29 +/* 80144E1C 00141D7C 4B FF FC E9 */ bl ShouldStartLand__9CBSHurledCFfR15CBodyController +/* 80144E20 00141D80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80144E24 00141D84 41 82 00 20 */ beq lbl_80144E44 +/* 80144E28 00141D88 38 00 00 02 */ li r0, 2 +/* 80144E2C 00141D8C 7F 83 E3 78 */ mr r3, r28 +/* 80144E30 00141D90 90 1C 00 04 */ stw r0, 4(r28) +/* 80144E34 00141D94 7F A4 EB 78 */ mr r4, r29 +/* 80144E38 00141D98 7F C5 F3 78 */ mr r5, r30 +/* 80144E3C 00141D9C 4B FF FA 55 */ bl PlayLandAnimation__9CBSHurledFR15CBodyControllerR13CStateManager +/* 80144E40 00141DA0 48 00 02 CC */ b lbl_8014510C +lbl_80144E44: +/* 80144E44 00141DA4 7F 83 E3 78 */ mr r3, r28 +/* 80144E48 00141DA8 7F A4 EB 78 */ mr r4, r29 +/* 80144E4C 00141DAC 4B FF FC 55 */ bl ShouldStartStrikeWall__9CBSHurledCFR15CBodyController +/* 80144E50 00141DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80144E54 00141DB4 41 82 00 88 */ beq lbl_80144EDC +/* 80144E58 00141DB8 7F 83 E3 78 */ mr r3, r28 +/* 80144E5C 00141DBC 7F A4 EB 78 */ mr r4, r29 +/* 80144E60 00141DC0 7F C5 F3 78 */ mr r5, r30 +/* 80144E64 00141DC4 4B FF F8 79 */ bl PlayStrikeWallAnimation__9CBSHurledFR15CBodyControllerR13CStateManager +/* 80144E68 00141DC8 80 9D 00 00 */ lwz r4, 0(r29) +/* 80144E6C 00141DCC 38 61 00 5C */ addi r3, r1, 0x5c +/* 80144E70 00141DD0 4B F6 7B ED */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 80144E74 00141DD4 83 83 00 04 */ lwz r28, 4(r3) +/* 80144E78 00141DD8 28 1C 00 00 */ cmplwi r28, 0 +/* 80144E7C 00141DDC 41 82 02 90 */ beq lbl_8014510C +/* 80144E80 00141DE0 7F 83 E3 78 */ mr r3, r28 +/* 80144E84 00141DE4 81 9C 00 00 */ lwz r12, 0(r28) +/* 80144E88 00141DE8 81 8C 02 BC */ lwz r12, 0x2bc(r12) +/* 80144E8C 00141DEC 7D 89 03 A6 */ mtctr r12 +/* 80144E90 00141DF0 4E 80 04 21 */ bctrl +/* 80144E94 00141DF4 C0 02 9C 2C */ lfs f0, lbl_805AB94C@sda21(r2) +/* 80144E98 00141DF8 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 80144E9C 00141DFC 38 A3 67 00 */ addi r5, r3, lbl_805A6700@l +/* 80144EA0 00141E00 7F 83 E3 78 */ mr r3, r28 +/* 80144EA4 00141E04 EC 80 07 F2 */ fmuls f4, f0, f31 +/* 80144EA8 00141E08 C0 65 00 00 */ lfs f3, 0(r5) +/* 80144EAC 00141E0C C0 45 00 04 */ lfs f2, 4(r5) +/* 80144EB0 00141E10 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 80144EB4 00141E14 C0 05 00 08 */ lfs f0, 8(r5) +/* 80144EB8 00141E18 EC 84 00 72 */ fmuls f4, f4, f1 +/* 80144EBC 00141E1C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80144EC0 00141E20 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 80144EC4 00141E24 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80144EC8 00141E28 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 80144ECC 00141E2C D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 80144ED0 00141E30 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 80144ED4 00141E34 4B FD 5D CD */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80144ED8 00141E38 48 00 02 34 */ b lbl_8014510C +lbl_80144EDC: +/* 80144EDC 00141E3C 88 1C 00 2C */ lbz r0, 0x2c(r28) +/* 80144EE0 00141E40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80144EE4 00141E44 41 82 02 28 */ beq lbl_8014510C +/* 80144EE8 00141E48 7F 83 E3 78 */ mr r3, r28 +/* 80144EEC 00141E4C 7F C4 F3 78 */ mr r4, r30 +/* 80144EF0 00141E50 7F A5 EB 78 */ mr r5, r29 +/* 80144EF4 00141E54 38 C0 00 06 */ li r6, 6 +/* 80144EF8 00141E58 4B FF F6 09 */ bl Recover__9CBSHurledFR13CStateManagerR15CBodyControllerQ23pas12EHurledState +/* 80144EFC 00141E5C 48 00 02 10 */ b lbl_8014510C +/* 80144F00 00141E60 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80144F04 00141E64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80144F08 00141E68 41 82 02 04 */ beq lbl_8014510C +/* 80144F0C 00141E6C 38 00 00 04 */ li r0, 4 +/* 80144F10 00141E70 38 61 00 1C */ addi r3, r1, 0x1c +/* 80144F14 00141E74 90 1C 00 04 */ stw r0, 4(r28) +/* 80144F18 00141E78 48 19 E1 65 */ bl NoParameter__12CPASAnimParmFv +/* 80144F1C 00141E7C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80144F20 00141E80 48 19 E1 5D */ bl NoParameter__12CPASAnimParmFv +/* 80144F24 00141E84 38 61 00 2C */ addi r3, r1, 0x2c +/* 80144F28 00141E88 48 19 E1 55 */ bl NoParameter__12CPASAnimParmFv +/* 80144F2C 00141E8C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80144F30 00141E90 48 19 E1 4D */ bl NoParameter__12CPASAnimParmFv +/* 80144F34 00141E94 38 61 00 3C */ addi r3, r1, 0x3c +/* 80144F38 00141E98 48 19 E1 45 */ bl NoParameter__12CPASAnimParmFv +/* 80144F3C 00141E9C 80 9C 00 04 */ lwz r4, 4(r28) +/* 80144F40 00141EA0 38 61 00 44 */ addi r3, r1, 0x44 +/* 80144F44 00141EA4 48 19 E0 41 */ bl FromEnum__12CPASAnimParmFi +/* 80144F48 00141EA8 C0 3C 00 08 */ lfs f1, 8(r28) +/* 80144F4C 00141EAC 38 61 00 4C */ addi r3, r1, 0x4c +/* 80144F50 00141EB0 48 19 E0 99 */ bl FromReal32__12CPASAnimParmFf +/* 80144F54 00141EB4 80 9C 00 0C */ lwz r4, 0xc(r28) +/* 80144F58 00141EB8 38 61 00 54 */ addi r3, r1, 0x54 +/* 80144F5C 00141EBC 48 19 E0 F1 */ bl FromInt32__12CPASAnimParmFi +/* 80144F60 00141EC0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80144F64 00141EC4 38 01 00 1C */ addi r0, r1, 0x1c +/* 80144F68 00141EC8 90 61 00 08 */ stw r3, 8(r1) +/* 80144F6C 00141ECC 38 61 00 CC */ addi r3, r1, 0xcc +/* 80144F70 00141ED0 38 A1 00 54 */ addi r5, r1, 0x54 +/* 80144F74 00141ED4 38 C1 00 4C */ addi r6, r1, 0x4c +/* 80144F78 00141ED8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80144F7C 00141EDC 38 E1 00 44 */ addi r7, r1, 0x44 +/* 80144F80 00141EE0 39 01 00 3C */ addi r8, r1, 0x3c +/* 80144F84 00141EE4 39 21 00 34 */ addi r9, r1, 0x34 +/* 80144F88 00141EE8 39 41 00 2C */ addi r10, r1, 0x2c +/* 80144F8C 00141EEC 38 80 00 0E */ li r4, 0xe +/* 80144F90 00141EF0 4B F3 83 35 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80144F94 00141EF4 80 BE 09 00 */ lwz r5, 0x900(r30) +/* 80144F98 00141EF8 7F A3 EB 78 */ mr r3, r29 +/* 80144F9C 00141EFC 38 81 00 CC */ addi r4, r1, 0xcc +/* 80144FA0 00141F00 4B FF 53 5D */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 80144FA4 00141F04 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 80144FA8 00141F08 34 A1 00 D0 */ addic. r5, r1, 0xd0 +/* 80144FAC 00141F0C D0 1C 00 28 */ stfs f0, 0x28(r28) +/* 80144FB0 00141F10 41 82 01 5C */ beq lbl_8014510C +/* 80144FB4 00141F14 80 C5 00 00 */ lwz r6, 0(r5) +/* 80144FB8 00141F18 38 60 00 00 */ li r3, 0 +/* 80144FBC 00141F1C 2C 06 00 00 */ cmpwi r6, 0 +/* 80144FC0 00141F20 40 81 00 40 */ ble lbl_80145000 +/* 80144FC4 00141F24 2C 06 00 08 */ cmpwi r6, 8 +/* 80144FC8 00141F28 38 86 FF F8 */ addi r4, r6, -8 +/* 80144FCC 00141F2C 40 81 00 20 */ ble lbl_80144FEC +/* 80144FD0 00141F30 38 04 00 07 */ addi r0, r4, 7 +/* 80144FD4 00141F34 54 00 E8 FE */ srwi r0, r0, 3 +/* 80144FD8 00141F38 7C 09 03 A6 */ mtctr r0 +/* 80144FDC 00141F3C 2C 04 00 00 */ cmpwi r4, 0 +/* 80144FE0 00141F40 40 81 00 0C */ ble lbl_80144FEC +lbl_80144FE4: +/* 80144FE4 00141F44 38 63 00 08 */ addi r3, r3, 8 +/* 80144FE8 00141F48 42 00 FF FC */ bdnz lbl_80144FE4 +lbl_80144FEC: +/* 80144FEC 00141F4C 7C 03 30 50 */ subf r0, r3, r6 +/* 80144FF0 00141F50 7C 09 03 A6 */ mtctr r0 +/* 80144FF4 00141F54 7C 03 30 00 */ cmpw r3, r6 +/* 80144FF8 00141F58 40 80 00 08 */ bge lbl_80145000 +lbl_80144FFC: +/* 80144FFC 00141F5C 42 00 00 00 */ bdnz lbl_80144FFC +lbl_80145000: +/* 80145000 00141F60 38 00 00 00 */ li r0, 0 +/* 80145004 00141F64 90 05 00 00 */ stw r0, 0(r5) +/* 80145008 00141F68 48 00 01 04 */ b lbl_8014510C +/* 8014500C 00141F6C FC 20 F8 90 */ fmr f1, f31 +/* 80145010 00141F70 7F 83 E3 78 */ mr r3, r28 +/* 80145014 00141F74 7F A4 EB 78 */ mr r4, r29 +/* 80145018 00141F78 4B FF FA ED */ bl ShouldStartLand__9CBSHurledCFfR15CBodyController +/* 8014501C 00141F7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80145020 00141F80 41 82 00 20 */ beq lbl_80145040 +/* 80145024 00141F84 38 00 00 05 */ li r0, 5 +/* 80145028 00141F88 7F 83 E3 78 */ mr r3, r28 +/* 8014502C 00141F8C 90 1C 00 04 */ stw r0, 4(r28) +/* 80145030 00141F90 7F A4 EB 78 */ mr r4, r29 +/* 80145034 00141F94 7F C5 F3 78 */ mr r5, r30 +/* 80145038 00141F98 4B FF F8 59 */ bl PlayLandAnimation__9CBSHurledFR15CBodyControllerR13CStateManager +/* 8014503C 00141F9C 48 00 00 D0 */ b lbl_8014510C +lbl_80145040: +/* 80145040 00141FA0 88 1C 00 2C */ lbz r0, 0x2c(r28) +/* 80145044 00141FA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80145048 00141FA8 41 82 00 C4 */ beq lbl_8014510C +/* 8014504C 00141FAC 7F 83 E3 78 */ mr r3, r28 +/* 80145050 00141FB0 7F C4 F3 78 */ mr r4, r30 +/* 80145054 00141FB4 7F A5 EB 78 */ mr r5, r29 +/* 80145058 00141FB8 38 C0 00 07 */ li r6, 7 +/* 8014505C 00141FBC 4B FF F4 A5 */ bl Recover__9CBSHurledFR13CStateManagerR15CBodyControllerQ23pas12EHurledState +/* 80145060 00141FC0 48 00 00 AC */ b lbl_8014510C +/* 80145064 00141FC4 80 9D 00 00 */ lwz r4, 0(r29) +/* 80145068 00141FC8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8014506C 00141FCC 4B F6 76 79 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80145070 00141FD0 83 C3 00 04 */ lwz r30, 4(r3) +/* 80145074 00141FD4 28 1E 00 00 */ cmplwi r30, 0 +/* 80145078 00141FD8 41 82 00 48 */ beq lbl_801450C0 +/* 8014507C 00141FDC C0 02 9C 38 */ lfs f0, lbl_805AB958@sda21(r2) +/* 80145080 00141FE0 C8 22 9C 30 */ lfd f1, lbl_805AB950@sda21(r2) +/* 80145084 00141FE4 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 80145088 00141FE8 48 24 FC 65 */ bl pow +/* 8014508C 00141FEC FC 60 08 18 */ frsp f3, f1 +/* 80145090 00141FF0 C0 5E 01 3C */ lfs f2, 0x13c(r30) +/* 80145094 00141FF4 C0 3E 01 40 */ lfs f1, 0x140(r30) +/* 80145098 00141FF8 7F C3 F3 78 */ mr r3, r30 +/* 8014509C 00141FFC C0 1E 01 38 */ lfs f0, 0x138(r30) +/* 801450A0 00142000 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 801450A4 00142004 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 801450A8 00142008 EC 23 00 72 */ fmuls f1, f3, f1 +/* 801450AC 0014200C EC 03 00 32 */ fmuls f0, f3, f0 +/* 801450B0 00142010 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 801450B4 00142014 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 801450B8 00142018 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 801450BC 0014201C 4B FD 5B E5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_801450C0: +/* 801450C0 00142020 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 801450C4 00142024 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801450C8 00142028 41 82 00 44 */ beq lbl_8014510C +/* 801450CC 0014202C 38 00 FF FF */ li r0, -1 +/* 801450D0 00142030 3B E0 00 05 */ li r31, 5 +/* 801450D4 00142034 90 1C 00 04 */ stw r0, 4(r28) +/* 801450D8 00142038 48 00 00 34 */ b lbl_8014510C +/* 801450DC 0014203C 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 801450E0 00142040 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801450E4 00142044 41 82 00 28 */ beq lbl_8014510C +/* 801450E8 00142048 38 00 FF FF */ li r0, -1 +/* 801450EC 0014204C 7F A3 EB 78 */ mr r3, r29 +/* 801450F0 00142050 90 1C 00 04 */ stw r0, 4(r28) +/* 801450F4 00142054 4B FF 5A B9 */ bl GetFallState__15CBodyControllerCFv +/* 801450F8 00142058 2C 03 00 00 */ cmpwi r3, 0 +/* 801450FC 0014205C 40 82 00 0C */ bne lbl_80145108 +/* 80145100 00142060 3B E0 00 05 */ li r31, 5 +/* 80145104 00142064 48 00 00 08 */ b lbl_8014510C +lbl_80145108: +/* 80145108 00142068 3B E0 00 02 */ li r31, 2 +lbl_8014510C: +/* 8014510C 0014206C 7F E3 FB 78 */ mr r3, r31 +/* 80145110 00142070 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80145114 00142074 80 01 01 84 */ lwz r0, 0x184(r1) +/* 80145118 00142078 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 8014511C 0014207C 83 E1 01 6C */ lwz r31, 0x16c(r1) +/* 80145120 00142080 83 C1 01 68 */ lwz r30, 0x168(r1) +/* 80145124 00142084 83 A1 01 64 */ lwz r29, 0x164(r1) +/* 80145128 00142088 83 81 01 60 */ lwz r28, 0x160(r1) +/* 8014512C 0014208C 7C 08 03 A6 */ mtlr r0 +/* 80145130 00142090 38 21 01 80 */ addi r1, r1, 0x180 +/* 80145134 00142094 4E 80 00 20 */ blr + +.global Start__9CBSHurledFR15CBodyControllerR13CStateManager +Start__9CBSHurledFR15CBodyControllerR13CStateManager: +/* 80145138 00142098 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 8014513C 0014209C 7C 08 02 A6 */ mflr r0 +/* 80145140 001420A0 90 01 01 64 */ stw r0, 0x164(r1) +/* 80145144 001420A4 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 80145148 001420A8 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 8014514C 001420AC BF 21 01 34 */ stmw r25, 0x134(r1) +/* 80145150 001420B0 7C 9B 23 78 */ mr r27, r4 +/* 80145154 001420B4 7C 7A 1B 78 */ mr r26, r3 +/* 80145158 001420B8 7C BC 2B 78 */ mr r28, r5 +/* 8014515C 001420BC 38 80 00 0F */ li r4, 0xf +/* 80145160 001420C0 38 7B 00 04 */ addi r3, r27, 4 +/* 80145164 001420C4 4B FE C2 ED */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80145168 001420C8 7C 7F 1B 78 */ mr r31, r3 +/* 8014516C 001420CC 38 61 00 90 */ addi r3, r1, 0x90 +/* 80145170 001420D0 88 9F 00 20 */ lbz r4, 0x20(r31) +/* 80145174 001420D4 38 BF 00 08 */ addi r5, r31, 8 +/* 80145178 001420D8 7C 04 00 D0 */ neg r0, r4 +/* 8014517C 001420DC 7C 00 23 78 */ or r0, r0, r4 +/* 80145180 001420E0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 80145184 001420E4 90 1A 00 04 */ stw r0, 4(r26) +/* 80145188 001420E8 83 DB 00 00 */ lwz r30, 0(r27) +/* 8014518C 001420EC 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80145190 001420F0 48 1C D8 95 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80145194 001420F4 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 80145198 001420F8 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 8014519C 001420FC 48 24 FA D1 */ bl atan2 +/* 801451A0 00142100 FC 80 08 18 */ frsp f4, f1 +/* 801451A4 00142104 C0 02 9C 3C */ lfs f0, lbl_805AB95C@sda21(r2) +/* 801451A8 00142108 3C 00 43 30 */ lis r0, 0x4330 +/* 801451AC 0014210C C8 62 9C 58 */ lfd f3, lbl_805AB978@sda21(r2) +/* 801451B0 00142110 90 01 01 18 */ stw r0, 0x118(r1) +/* 801451B4 00142114 EC 44 00 32 */ fmuls f2, f4, f0 +/* 801451B8 00142118 C0 22 9C 40 */ lfs f1, lbl_805AB960@sda21(r2) +/* 801451BC 0014211C C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 801451C0 00142120 FC 40 10 1E */ fctiwz f2, f2 +/* 801451C4 00142124 D8 41 01 10 */ stfd f2, 0x110(r1) +/* 801451C8 00142128 80 01 01 14 */ lwz r0, 0x114(r1) +/* 801451CC 0014212C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 801451D0 00142130 90 01 01 1C */ stw r0, 0x11c(r1) +/* 801451D4 00142134 C8 41 01 18 */ lfd f2, 0x118(r1) +/* 801451D8 00142138 EC 42 18 28 */ fsubs f2, f2, f3 +/* 801451DC 0014213C EF E2 20 7C */ fnmsubs f31, f2, f1, f4 +/* 801451E0 00142140 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 801451E4 00142144 40 80 00 08 */ bge lbl_801451EC +/* 801451E8 00142148 EF FF 08 2A */ fadds f31, f31, f1 +lbl_801451EC: +/* 801451EC 0014214C C0 02 9C 44 */ lfs f0, lbl_805AB964@sda21(r2) +/* 801451F0 00142150 7F 63 DB 78 */ mr r3, r27 +/* 801451F4 00142154 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 801451F8 00142158 D0 1A 00 08 */ stfs f0, 8(r26) +/* 801451FC 0014215C 4B FF 52 59 */ bl GetPASDatabase__15CBodyControllerCFv +/* 80145200 00142160 7C 60 1B 78 */ mr r0, r3 +/* 80145204 00142164 38 61 00 40 */ addi r3, r1, 0x40 +/* 80145208 00142168 7C 19 03 78 */ mr r25, r0 +/* 8014520C 0014216C 48 19 DE 71 */ bl NoParameter__12CPASAnimParmFv +/* 80145210 00142170 38 61 00 48 */ addi r3, r1, 0x48 +/* 80145214 00142174 48 19 DE 69 */ bl NoParameter__12CPASAnimParmFv +/* 80145218 00142178 38 61 00 50 */ addi r3, r1, 0x50 +/* 8014521C 0014217C 48 19 DE 61 */ bl NoParameter__12CPASAnimParmFv +/* 80145220 00142180 38 61 00 58 */ addi r3, r1, 0x58 +/* 80145224 00142184 48 19 DE 59 */ bl NoParameter__12CPASAnimParmFv +/* 80145228 00142188 38 61 00 60 */ addi r3, r1, 0x60 +/* 8014522C 0014218C 48 19 DE 51 */ bl NoParameter__12CPASAnimParmFv +/* 80145230 00142190 80 9A 00 04 */ lwz r4, 4(r26) +/* 80145234 00142194 38 61 00 68 */ addi r3, r1, 0x68 +/* 80145238 00142198 48 19 DD 4D */ bl FromEnum__12CPASAnimParmFi +/* 8014523C 0014219C C0 3A 00 08 */ lfs f1, 8(r26) +/* 80145240 001421A0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80145244 001421A4 48 19 DD A5 */ bl FromReal32__12CPASAnimParmFf +/* 80145248 001421A8 38 61 00 78 */ addi r3, r1, 0x78 +/* 8014524C 001421AC 38 80 FF FF */ li r4, -1 +/* 80145250 001421B0 48 19 DD FD */ bl FromInt32__12CPASAnimParmFi +/* 80145254 001421B4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80145258 001421B8 38 01 00 40 */ addi r0, r1, 0x40 +/* 8014525C 001421BC 90 61 00 08 */ stw r3, 8(r1) +/* 80145260 001421C0 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 80145264 001421C4 38 A1 00 78 */ addi r5, r1, 0x78 +/* 80145268 001421C8 38 C1 00 70 */ addi r6, r1, 0x70 +/* 8014526C 001421CC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80145270 001421D0 38 E1 00 68 */ addi r7, r1, 0x68 +/* 80145274 001421D4 39 01 00 60 */ addi r8, r1, 0x60 +/* 80145278 001421D8 39 21 00 58 */ addi r9, r1, 0x58 +/* 8014527C 001421DC 39 41 00 50 */ addi r10, r1, 0x50 +/* 80145280 001421E0 38 80 00 0E */ li r4, 0xe +/* 80145284 001421E4 4B F3 80 41 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80145288 001421E8 80 DC 09 00 */ lwz r6, 0x900(r28) +/* 8014528C 001421EC 7F 24 CB 78 */ mr r4, r25 +/* 80145290 001421F0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80145294 001421F4 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 80145298 001421F8 38 E0 FF FF */ li r7, -1 +/* 8014529C 001421FC 48 19 FD C5 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 801452A0 00142200 83 A1 00 3C */ lwz r29, 0x3c(r1) +/* 801452A4 00142204 38 00 00 00 */ li r0, 0 +/* 801452A8 00142208 C0 02 9C 20 */ lfs f0, lbl_805AB940@sda21(r2) +/* 801452AC 0014220C 38 A0 FF FF */ li r5, -1 +/* 801452B0 00142210 38 E0 00 01 */ li r7, 1 +/* 801452B4 00142214 93 A1 00 9C */ stw r29, 0x9c(r1) +/* 801452B8 00142218 7F 63 DB 78 */ mr r3, r27 +/* 801452BC 0014221C 38 81 00 9C */ addi r4, r1, 0x9c +/* 801452C0 00142220 90 A1 00 A0 */ stw r5, 0xa0(r1) +/* 801452C4 00142224 38 A0 00 00 */ li r5, 0 +/* 801452C8 00142228 38 C0 00 00 */ li r6, 0 +/* 801452CC 0014222C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 801452D0 00142230 98 E1 00 A8 */ stb r7, 0xa8(r1) +/* 801452D4 00142234 90 01 00 AC */ stw r0, 0xac(r1) +/* 801452D8 00142238 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 801452DC 0014223C 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 801452E0 00142240 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 801452E4 00142244 90 01 00 BC */ stw r0, 0xbc(r1) +/* 801452E8 00142248 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 801452EC 0014224C 4B FF 56 31 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 801452F0 00142250 7F 23 CB 78 */ mr r3, r25 +/* 801452F4 00142254 38 80 00 0E */ li r4, 0xe +/* 801452F8 00142258 48 19 FB CD */ bl GetAnimState__12CPASDatabaseCFi +/* 801452FC 0014225C 7C 79 1B 78 */ mr r25, r3 +/* 80145300 00142260 7F A5 EB 78 */ mr r5, r29 +/* 80145304 00142264 38 61 00 30 */ addi r3, r1, 0x30 +/* 80145308 00142268 38 C0 00 00 */ li r6, 0 +/* 8014530C 0014226C 7F 24 CB 78 */ mr r4, r25 +/* 80145310 00142270 48 19 EC E5 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 80145314 00142274 80 81 00 30 */ lwz r4, 0x30(r1) +/* 80145318 00142278 38 61 00 88 */ addi r3, r1, 0x88 +/* 8014531C 0014227C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80145320 00142280 90 81 00 88 */ stw r4, 0x88(r1) +/* 80145324 00142284 90 01 00 8C */ stw r0, 0x8c(r1) +/* 80145328 00142288 48 19 DC 55 */ bl GetInt32Value__12CPASAnimParmCFv +/* 8014532C 0014228C 90 7A 00 0C */ stw r3, 0xc(r26) +/* 80145330 00142290 7F 83 E3 78 */ mr r3, r28 +/* 80145334 00142294 7F C4 F3 78 */ mr r4, r30 +/* 80145338 00142298 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8014533C 0014229C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80145340 001422A0 38 C0 00 1A */ li r6, 0x1a +/* 80145344 001422A4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80145348 001422A8 4B EF EB 89 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8014534C 001422AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80145350 001422B0 7F 83 E3 78 */ mr r3, r28 +/* 80145354 001422B4 7F C4 F3 78 */ mr r4, r30 +/* 80145358 001422B8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8014535C 001422BC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80145360 001422C0 38 C0 00 28 */ li r6, 0x28 +/* 80145364 001422C4 4B EF EB 6D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80145368 001422C8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8014536C 001422CC C0 22 9C 24 */ lfs f1, lbl_805AB944@sda21(r2) +/* 80145370 001422D0 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80145374 001422D4 38 7F 00 14 */ addi r3, r31, 0x14 +/* 80145378 001422D8 48 1C AB ED */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8014537C 001422DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80145380 001422E0 40 82 00 44 */ bne lbl_801453C4 +/* 80145384 001422E4 7F C4 F3 78 */ mr r4, r30 +/* 80145388 001422E8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8014538C 001422EC 4B F6 73 C5 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" +/* 80145390 001422F0 80 63 00 04 */ lwz r3, 4(r3) +/* 80145394 001422F4 28 03 00 00 */ cmplwi r3, 0 +/* 80145398 001422F8 41 82 00 2C */ beq lbl_801453C4 +/* 8014539C 001422FC C0 63 00 E8 */ lfs f3, 0xe8(r3) +/* 801453A0 00142300 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 801453A4 00142304 C0 5F 00 18 */ lfs f2, 0x18(r31) +/* 801453A8 00142308 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 801453AC 0014230C EC 03 00 32 */ fmuls f0, f3, f0 +/* 801453B0 00142310 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 801453B4 00142314 EC 23 00 72 */ fmuls f1, f3, f1 +/* 801453B8 00142318 D0 03 00 FC */ stfs f0, 0xfc(r3) +/* 801453BC 0014231C D0 43 01 00 */ stfs f2, 0x100(r3) +/* 801453C0 00142320 D0 23 01 04 */ stfs f1, 0x104(r3) +lbl_801453C4: +/* 801453C4 00142324 7F 24 CB 78 */ mr r4, r25 +/* 801453C8 00142328 7F A5 EB 78 */ mr r5, r29 +/* 801453CC 0014232C 38 61 00 20 */ addi r3, r1, 0x20 +/* 801453D0 00142330 38 C0 00 01 */ li r6, 1 +/* 801453D4 00142334 48 19 EC 21 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 801453D8 00142338 80 81 00 20 */ lwz r4, 0x20(r1) +/* 801453DC 0014233C 38 61 00 80 */ addi r3, r1, 0x80 +/* 801453E0 00142340 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801453E4 00142344 90 81 00 80 */ stw r4, 0x80(r1) +/* 801453E8 00142348 90 01 00 84 */ stw r0, 0x84(r1) +/* 801453EC 0014234C 48 19 DB 81 */ bl GetReal32Value__12CPASAnimParmCFv +/* 801453F0 00142350 C0 02 9C 48 */ lfs f0, lbl_805AB968@sda21(r2) +/* 801453F4 00142354 3C 00 43 30 */ lis r0, 0x4330 +/* 801453F8 00142358 C0 42 9C 3C */ lfs f2, lbl_805AB95C@sda21(r2) +/* 801453FC 0014235C EC A0 00 72 */ fmuls f5, f0, f1 +/* 80145400 00142360 90 01 01 10 */ stw r0, 0x110(r1) +/* 80145404 00142364 C8 62 9C 58 */ lfd f3, lbl_805AB978@sda21(r2) +/* 80145408 00142368 C0 22 9C 40 */ lfs f1, lbl_805AB960@sda21(r2) +/* 8014540C 0014236C EC 9F 28 28 */ fsubs f4, f31, f5 +/* 80145410 00142370 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 80145414 00142374 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80145418 00142378 FC 40 10 1E */ fctiwz f2, f2 +/* 8014541C 0014237C D8 41 01 18 */ stfd f2, 0x118(r1) +/* 80145420 00142380 80 01 01 1C */ lwz r0, 0x11c(r1) +/* 80145424 00142384 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80145428 00142388 90 01 01 14 */ stw r0, 0x114(r1) +/* 8014542C 0014238C C8 41 01 10 */ lfd f2, 0x110(r1) +/* 80145430 00142390 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80145434 00142394 EC C2 20 7C */ fnmsubs f6, f2, f1, f4 +/* 80145438 00142398 FC 80 30 90 */ fmr f4, f6 +/* 8014543C 0014239C FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80145440 001423A0 40 80 00 08 */ bge lbl_80145448 +/* 80145444 001423A4 EC 86 08 2A */ fadds f4, f6, f1 +lbl_80145448: +/* 80145448 001423A8 EC A5 F8 28 */ fsubs f5, f5, f31 +/* 8014544C 001423AC C0 02 9C 3C */ lfs f0, lbl_805AB95C@sda21(r2) +/* 80145450 001423B0 3C 00 43 30 */ lis r0, 0x4330 +/* 80145454 001423B4 C8 62 9C 58 */ lfd f3, lbl_805AB978@sda21(r2) +/* 80145458 001423B8 90 01 01 28 */ stw r0, 0x128(r1) +/* 8014545C 001423BC EC 45 00 32 */ fmuls f2, f5, f0 +/* 80145460 001423C0 C0 22 9C 40 */ lfs f1, lbl_805AB960@sda21(r2) +/* 80145464 001423C4 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 80145468 001423C8 FC 40 10 1E */ fctiwz f2, f2 +/* 8014546C 001423CC D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80145470 001423D0 D8 41 01 20 */ stfd f2, 0x120(r1) +/* 80145474 001423D4 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80145478 001423D8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8014547C 001423DC 90 01 01 2C */ stw r0, 0x12c(r1) +/* 80145480 001423E0 C8 41 01 28 */ lfd f2, 0x128(r1) +/* 80145484 001423E4 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80145488 001423E8 EC 42 28 7C */ fnmsubs f2, f2, f1, f5 +/* 8014548C 001423EC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80145490 001423F0 40 80 00 08 */ bge lbl_80145498 +/* 80145494 001423F4 EC 42 08 2A */ fadds f2, f2, f1 +lbl_80145498: +/* 80145498 001423F8 FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 8014549C 001423FC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 801454A0 00142400 40 80 00 0C */ bge lbl_801454AC +/* 801454A4 00142404 38 61 00 18 */ addi r3, r1, 0x18 +/* 801454A8 00142408 48 00 00 08 */ b lbl_801454B0 +lbl_801454AC: +/* 801454AC 0014240C 38 61 00 1C */ addi r3, r1, 0x1c +lbl_801454B0: +/* 801454B0 00142410 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 801454B4 00142414 C0 23 00 00 */ lfs f1, 0(r3) +/* 801454B8 00142418 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 801454BC 0014241C 40 80 00 0C */ bge lbl_801454C8 +/* 801454C0 00142420 C0 02 9C 40 */ lfs f0, lbl_805AB960@sda21(r2) +/* 801454C4 00142424 EC C6 00 2A */ fadds f6, f6, f0 +lbl_801454C8: +/* 801454C8 00142428 C0 02 9C 4C */ lfs f0, lbl_805AB96C@sda21(r2) +/* 801454CC 0014242C FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 801454D0 00142430 40 81 00 0C */ ble lbl_801454DC +/* 801454D4 00142434 FF E0 08 50 */ fneg f31, f1 +/* 801454D8 00142438 48 00 00 08 */ b lbl_801454E0 +lbl_801454DC: +/* 801454DC 0014243C FF E0 08 90 */ fmr f31, f1 +lbl_801454E0: +/* 801454E0 00142440 7F 63 DB 78 */ mr r3, r27 +/* 801454E4 00142444 4B FF 53 D5 */ bl GetAnimTimeRemaining__15CBodyControllerCFv +/* 801454E8 00142448 C0 42 9C 50 */ lfs f2, lbl_805AB970@sda21(r2) +/* 801454EC 0014244C C0 02 9C 1C */ lfs f0, lbl_805AB93C@sda21(r2) +/* 801454F0 00142450 EC 22 00 72 */ fmuls f1, f2, f1 +/* 801454F4 00142454 D0 3A 00 14 */ stfs f1, 0x14(r26) +/* 801454F8 00142458 C0 3A 00 14 */ lfs f1, 0x14(r26) +/* 801454FC 0014245C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80145500 00142460 40 81 00 08 */ ble lbl_80145508 +/* 80145504 00142464 EF FF 08 24 */ fdivs f31, f31, f1 +lbl_80145508: +/* 80145508 00142468 D3 FA 00 10 */ stfs f31, 0x10(r26) +/* 8014550C 0014246C 38 60 00 00 */ li r3, 0 +/* 80145510 00142470 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) +/* 80145514 00142474 34 A1 00 C8 */ addic. r5, r1, 0xc8 +/* 80145518 00142478 D0 1A 00 18 */ stfs f0, 0x18(r26) +/* 8014551C 0014247C 88 1A 00 2C */ lbz r0, 0x2c(r26) +/* 80145520 00142480 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80145524 00142484 98 1A 00 2C */ stb r0, 0x2c(r26) +/* 80145528 00142488 41 82 00 54 */ beq lbl_8014557C +/* 8014552C 0014248C 80 C5 00 00 */ lwz r6, 0(r5) +/* 80145530 00142490 2C 06 00 00 */ cmpwi r6, 0 +/* 80145534 00142494 40 81 00 40 */ ble lbl_80145574 +/* 80145538 00142498 2C 06 00 08 */ cmpwi r6, 8 +/* 8014553C 0014249C 38 86 FF F8 */ addi r4, r6, -8 +/* 80145540 001424A0 40 81 00 20 */ ble lbl_80145560 +/* 80145544 001424A4 38 04 00 07 */ addi r0, r4, 7 +/* 80145548 001424A8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8014554C 001424AC 7C 09 03 A6 */ mtctr r0 +/* 80145550 001424B0 2C 04 00 00 */ cmpwi r4, 0 +/* 80145554 001424B4 40 81 00 0C */ ble lbl_80145560 +lbl_80145558: +/* 80145558 001424B8 38 63 00 08 */ addi r3, r3, 8 +/* 8014555C 001424BC 42 00 FF FC */ bdnz lbl_80145558 +lbl_80145560: +/* 80145560 001424C0 7C 03 30 50 */ subf r0, r3, r6 +/* 80145564 001424C4 7C 09 03 A6 */ mtctr r0 +/* 80145568 001424C8 7C 03 30 00 */ cmpw r3, r6 +/* 8014556C 001424CC 40 80 00 08 */ bge lbl_80145574 +lbl_80145570: +/* 80145570 001424D0 42 00 00 00 */ bdnz lbl_80145570 +lbl_80145574: +/* 80145574 001424D4 38 00 00 00 */ li r0, 0 +/* 80145578 001424D8 90 05 00 00 */ stw r0, 0(r5) +lbl_8014557C: +/* 8014557C 001424DC E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 80145580 001424E0 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 80145584 001424E4 BB 21 01 34 */ lmw r25, 0x134(r1) +/* 80145588 001424E8 80 01 01 64 */ lwz r0, 0x164(r1) +/* 8014558C 001424EC 7C 08 03 A6 */ mtlr r0 +/* 80145590 001424F0 38 21 01 60 */ addi r1, r1, 0x160 +/* 80145594 001424F4 4E 80 00 20 */ blr + +.global IsInAir__9CBSHurledCFRC15CBodyController +IsInAir__9CBSHurledCFRC15CBodyController: +/* 80145598 001424F8 38 60 00 01 */ li r3, 1 +/* 8014559C 001424FC 4E 80 00 20 */ blr + +.global __ct__9CBSHurledFv +__ct__9CBSHurledFv: +/* 801455A0 00142500 3C C0 80 3E */ lis r6, lbl_803E1318@ha +/* 801455A4 00142504 3C A0 80 3E */ lis r5, lbl_803E1FB0@ha +/* 801455A8 00142508 38 06 13 18 */ addi r0, r6, lbl_803E1318@l +/* 801455AC 0014250C C0 22 9C 28 */ lfs f1, lbl_805AB948@sda21(r2) +/* 801455B0 00142510 90 03 00 00 */ stw r0, 0(r3) +/* 801455B4 00142514 38 C5 1F B0 */ addi r6, r5, lbl_803E1FB0@l +/* 801455B8 00142518 3C 80 80 5A */ lis r4, skZero3f@ha +/* 801455BC 0014251C 38 00 FF FF */ li r0, -1 +/* 801455C0 00142520 90 C3 00 00 */ stw r6, 0(r3) +/* 801455C4 00142524 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 801455C8 00142528 38 80 00 00 */ li r4, 0 +/* 801455CC 0014252C 90 03 00 04 */ stw r0, 4(r3) +/* 801455D0 00142530 D0 23 00 08 */ stfs f1, 8(r3) +/* 801455D4 00142534 90 03 00 0C */ stw r0, 0xc(r3) +/* 801455D8 00142538 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 801455DC 0014253C D0 23 00 14 */ stfs f1, 0x14(r3) +/* 801455E0 00142540 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 801455E4 00142544 C0 05 00 00 */ lfs f0, 0(r5) +/* 801455E8 00142548 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 801455EC 0014254C C0 05 00 04 */ lfs f0, 4(r5) +/* 801455F0 00142550 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 801455F4 00142554 C0 05 00 08 */ lfs f0, 8(r5) +/* 801455F8 00142558 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 801455FC 0014255C D0 23 00 28 */ stfs f1, 0x28(r3) +/* 80145600 00142560 88 03 00 2C */ lbz r0, 0x2c(r3) +/* 80145604 00142564 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80145608 00142568 98 03 00 2C */ stb r0, 0x2c(r3) +/* 8014560C 0014256C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSJump.s b/asm/Kyoto_CWD/BodyState/CBSJump.s new file mode 100644 index 00000000..a65ecdfb --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSJump.s @@ -0,0 +1,1178 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__7CBSJumpFv +__dt__7CBSJumpFv: +/* 80145610 00142570 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80145614 00142574 7C 08 02 A6 */ mflr r0 +/* 80145618 00142578 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014561C 0014257C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80145620 00142580 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80145624 00142584 41 82 00 30 */ beq lbl_80145654 +/* 80145628 00142588 3C 60 80 3E */ lis r3, lbl_803E2008@ha +/* 8014562C 0014258C 38 03 20 08 */ addi r0, r3, lbl_803E2008@l +/* 80145630 00142590 90 1F 00 00 */ stw r0, 0(r31) +/* 80145634 00142594 41 82 00 10 */ beq lbl_80145644 +/* 80145638 00142598 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 8014563C 0014259C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80145640 001425A0 90 1F 00 00 */ stw r0, 0(r31) +lbl_80145644: +/* 80145644 001425A4 7C 80 07 35 */ extsh. r0, r4 +/* 80145648 001425A8 40 81 00 0C */ ble lbl_80145654 +/* 8014564C 001425AC 7F E3 FB 78 */ mr r3, r31 +/* 80145650 001425B0 48 1D 02 E1 */ bl Free__7CMemoryFPCv +lbl_80145654: +/* 80145654 001425B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80145658 001425B8 7F E3 FB 78 */ mr r3, r31 +/* 8014565C 001425BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80145660 001425C0 7C 08 03 A6 */ mtlr r0 +/* 80145664 001425C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80145668 001425C8 4E 80 00 20 */ blr + +.global IsMoving__7CBSJumpCFv +IsMoving__7CBSJumpCFv: +/* 8014566C 001425CC 38 60 00 01 */ li r3, 1 +/* 80145670 001425D0 4E 80 00 20 */ blr + +.global ApplyHeadTracking__7CBSJumpCFv +ApplyHeadTracking__7CBSJumpCFv: +/* 80145674 001425D4 38 60 00 00 */ li r3, 0 +/* 80145678 001425D8 4E 80 00 20 */ blr + +.global GetBodyStateTransition__7CBSJumpFfR15CBodyController +GetBodyStateTransition__7CBSJumpFfR15CBodyController: +/* 8014567C 001425DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80145680 001425E0 7C 08 02 A6 */ mflr r0 +/* 80145684 001425E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80145688 001425E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8014568C 001425EC 93 C1 00 08 */ stw r30, 8(r1) +/* 80145690 001425F0 7C 9E 23 78 */ mr r30, r4 +/* 80145694 001425F4 3B FE 00 04 */ addi r31, r30, 4 +/* 80145698 001425F8 38 80 00 0F */ li r4, 0xf +/* 8014569C 001425FC 7F E3 FB 78 */ mr r3, r31 +/* 801456A0 00142600 4B FE BD DD */ bl GetCmd__16CBodyStateCmdMgrCF13EBodyStateCmd +/* 801456A4 00142604 28 03 00 00 */ cmplwi r3, 0 +/* 801456A8 00142608 41 82 00 14 */ beq lbl_801456BC +/* 801456AC 0014260C 38 00 00 01 */ li r0, 1 +/* 801456B0 00142610 98 03 00 20 */ stb r0, 0x20(r3) +/* 801456B4 00142614 38 60 00 0E */ li r3, 0xe +/* 801456B8 00142618 48 00 00 4C */ b lbl_80145704 +lbl_801456BC: +/* 801456BC 0014261C 7F E3 FB 78 */ mr r3, r31 +/* 801456C0 00142620 38 80 00 03 */ li r4, 3 +/* 801456C4 00142624 4B FE BD 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801456C8 00142628 28 03 00 00 */ cmplwi r3, 0 +/* 801456CC 0014262C 41 82 00 0C */ beq lbl_801456D8 +/* 801456D0 00142630 38 60 00 00 */ li r3, 0 +/* 801456D4 00142634 48 00 00 30 */ b lbl_80145704 +lbl_801456D8: +/* 801456D8 00142638 7F E3 FB 78 */ mr r3, r31 +/* 801456DC 0014263C 38 80 00 10 */ li r4, 0x10 +/* 801456E0 00142640 4B FE BD 71 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801456E4 00142644 28 03 00 00 */ cmplwi r3, 0 +/* 801456E8 00142648 41 82 00 18 */ beq lbl_80145700 +/* 801456EC 0014264C 80 1E 02 F4 */ lwz r0, 0x2f4(r30) +/* 801456F0 00142650 2C 00 00 06 */ cmpwi r0, 6 +/* 801456F4 00142654 40 82 00 0C */ bne lbl_80145700 +/* 801456F8 00142658 38 60 00 0D */ li r3, 0xd +/* 801456FC 0014265C 48 00 00 08 */ b lbl_80145704 +lbl_80145700: +/* 80145700 00142660 38 60 FF FF */ li r3, -1 +lbl_80145704: +/* 80145704 00142664 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80145708 00142668 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8014570C 0014266C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80145710 00142670 7C 08 03 A6 */ mtlr r0 +/* 80145714 00142674 38 21 00 10 */ addi r1, r1, 0x10 +/* 80145718 00142678 4E 80 00 20 */ blr + +.global CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager +CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager: +/* 8014571C 0014267C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 80145720 00142680 7C 08 02 A6 */ mflr r0 +/* 80145724 00142684 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80145728 00142688 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 8014572C 0014268C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 80145730 00142690 BF 61 00 CC */ stmw r27, 0xcc(r1) +/* 80145734 00142694 7C 7B 1B 78 */ mr r27, r3 +/* 80145738 00142698 88 63 00 30 */ lbz r3, 0x30(r3) +/* 8014573C 0014269C 7C 9C 23 78 */ mr r28, r4 +/* 80145740 001426A0 7C BD 2B 78 */ mr r29, r5 +/* 80145744 001426A4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80145748 001426A8 3B C0 00 00 */ li r30, 0 +/* 8014574C 001426AC 41 82 01 CC */ beq lbl_80145918 +/* 80145750 001426B0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80145754 001426B4 40 82 01 C4 */ bne lbl_80145918 +/* 80145758 001426B8 80 9C 00 00 */ lwz r4, 0(r28) +/* 8014575C 001426BC 38 61 00 54 */ addi r3, r1, 0x54 +/* 80145760 001426C0 4B F6 72 FD */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 80145764 001426C4 83 E3 00 04 */ lwz r31, 4(r3) +/* 80145768 001426C8 28 1F 00 00 */ cmplwi r31, 0 +/* 8014576C 001426CC 41 82 01 AC */ beq lbl_80145918 +/* 80145770 001426D0 C0 3B 00 10 */ lfs f1, 0x10(r27) +/* 80145774 001426D4 38 61 00 5C */ addi r3, r1, 0x5c +/* 80145778 001426D8 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 8014577C 001426DC C0 7B 00 14 */ lfs f3, 0x14(r27) +/* 80145780 001426E0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80145784 001426E4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80145788 001426E8 C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 8014578C 001426EC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80145790 001426F0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80145794 001426F4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80145798 001426F8 D0 81 00 60 */ stfs f4, 0x60(r1) +/* 8014579C 001426FC D0 41 00 64 */ stfs f2, 0x64(r1) +/* 801457A0 00142700 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 801457A4 00142704 48 1C F1 15 */ bl Magnitude__9CVector3fCFv +/* 801457A8 00142708 FF E0 08 90 */ fmr f31, f1 +/* 801457AC 0014270C 7F E4 FB 78 */ mr r4, r31 +/* 801457B0 00142710 38 61 00 68 */ addi r3, r1, 0x68 +/* 801457B4 00142714 4B FD 51 79 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 801457B8 00142718 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 801457BC 0014271C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 801457C0 00142720 C0 42 9C 60 */ lfs f2, lbl_805AB980@sda21(r2) +/* 801457C4 00142724 EC 21 00 28 */ fsubs f1, f1, f0 +/* 801457C8 00142728 C0 02 9C 64 */ lfs f0, lbl_805AB984@sda21(r2) +/* 801457CC 0014272C EC 22 00 72 */ fmuls f1, f2, f1 +/* 801457D0 00142730 EC 00 00 72 */ fmuls f0, f0, f1 +/* 801457D4 00142734 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 801457D8 00142738 41 80 00 20 */ blt lbl_801457F8 +/* 801457DC 0014273C 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 801457E0 00142740 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 801457E4 00142744 41 82 01 34 */ beq lbl_80145918 +/* 801457E8 00142748 C0 02 9C 68 */ lfs f0, lbl_805AB988@sda21(r2) +/* 801457EC 0014274C EC 00 00 72 */ fmuls f0, f0, f1 +/* 801457F0 00142750 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 801457F4 00142754 40 80 01 24 */ bge lbl_80145918 +lbl_801457F8: +/* 801457F8 00142758 88 1B 00 30 */ lbz r0, 0x30(r27) +/* 801457FC 0014275C 38 60 00 04 */ li r3, 4 +/* 80145800 00142760 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80145804 00142764 41 82 00 08 */ beq lbl_8014580C +/* 80145808 00142768 38 60 00 05 */ li r3, 5 +lbl_8014580C: +/* 8014580C 0014276C 90 7B 00 04 */ stw r3, 4(r27) +/* 80145810 00142770 38 61 00 14 */ addi r3, r1, 0x14 +/* 80145814 00142774 48 19 D8 69 */ bl NoParameter__12CPASAnimParmFv +/* 80145818 00142778 38 61 00 1C */ addi r3, r1, 0x1c +/* 8014581C 0014277C 48 19 D8 61 */ bl NoParameter__12CPASAnimParmFv +/* 80145820 00142780 38 61 00 24 */ addi r3, r1, 0x24 +/* 80145824 00142784 48 19 D8 59 */ bl NoParameter__12CPASAnimParmFv +/* 80145828 00142788 38 61 00 2C */ addi r3, r1, 0x2c +/* 8014582C 0014278C 48 19 D8 51 */ bl NoParameter__12CPASAnimParmFv +/* 80145830 00142790 38 61 00 34 */ addi r3, r1, 0x34 +/* 80145834 00142794 48 19 D8 49 */ bl NoParameter__12CPASAnimParmFv +/* 80145838 00142798 38 61 00 3C */ addi r3, r1, 0x3c +/* 8014583C 0014279C 48 19 D8 41 */ bl NoParameter__12CPASAnimParmFv +/* 80145840 001427A0 80 9B 00 08 */ lwz r4, 8(r27) +/* 80145844 001427A4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80145848 001427A8 48 19 D7 3D */ bl FromEnum__12CPASAnimParmFi +/* 8014584C 001427AC 80 9B 00 04 */ lwz r4, 4(r27) +/* 80145850 001427B0 38 61 00 4C */ addi r3, r1, 0x4c +/* 80145854 001427B4 48 19 D7 31 */ bl FromEnum__12CPASAnimParmFi +/* 80145858 001427B8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8014585C 001427BC 38 01 00 14 */ addi r0, r1, 0x14 +/* 80145860 001427C0 90 61 00 08 */ stw r3, 8(r1) +/* 80145864 001427C4 38 61 00 80 */ addi r3, r1, 0x80 +/* 80145868 001427C8 38 A1 00 4C */ addi r5, r1, 0x4c +/* 8014586C 001427CC 38 C1 00 44 */ addi r6, r1, 0x44 +/* 80145870 001427D0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80145874 001427D4 38 E1 00 3C */ addi r7, r1, 0x3c +/* 80145878 001427D8 39 01 00 34 */ addi r8, r1, 0x34 +/* 8014587C 001427DC 39 21 00 2C */ addi r9, r1, 0x2c +/* 80145880 001427E0 39 41 00 24 */ addi r10, r1, 0x24 +/* 80145884 001427E4 38 80 00 0D */ li r4, 0xd +/* 80145888 001427E8 4B F3 7A 3D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8014588C 001427EC 80 BD 09 00 */ lwz r5, 0x900(r29) +/* 80145890 001427F0 7F 83 E3 78 */ mr r3, r28 +/* 80145894 001427F4 38 81 00 80 */ addi r4, r1, 0x80 +/* 80145898 001427F8 4B FF 4B 11 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 8014589C 001427FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801458A0 00142800 7F A3 EB 78 */ mr r3, r29 +/* 801458A4 00142804 7F E4 FB 78 */ mr r4, r31 +/* 801458A8 00142808 38 A1 00 10 */ addi r5, r1, 0x10 +/* 801458AC 0014280C B0 01 00 10 */ sth r0, 0x10(r1) +/* 801458B0 00142810 38 C0 00 17 */ li r6, 0x17 +/* 801458B4 00142814 4B EF E6 1D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 801458B8 00142818 34 A1 00 84 */ addic. r5, r1, 0x84 +/* 801458BC 0014281C 3B C0 00 01 */ li r30, 1 +/* 801458C0 00142820 41 82 00 58 */ beq lbl_80145918 +/* 801458C4 00142824 80 C5 00 00 */ lwz r6, 0(r5) +/* 801458C8 00142828 38 60 00 00 */ li r3, 0 +/* 801458CC 0014282C 2C 06 00 00 */ cmpwi r6, 0 +/* 801458D0 00142830 40 81 00 40 */ ble lbl_80145910 +/* 801458D4 00142834 2C 06 00 08 */ cmpwi r6, 8 +/* 801458D8 00142838 38 86 FF F8 */ addi r4, r6, -8 +/* 801458DC 0014283C 40 81 00 20 */ ble lbl_801458FC +/* 801458E0 00142840 38 04 00 07 */ addi r0, r4, 7 +/* 801458E4 00142844 54 00 E8 FE */ srwi r0, r0, 3 +/* 801458E8 00142848 7C 09 03 A6 */ mtctr r0 +/* 801458EC 0014284C 2C 04 00 00 */ cmpwi r4, 0 +/* 801458F0 00142850 40 81 00 0C */ ble lbl_801458FC +lbl_801458F4: +/* 801458F4 00142854 38 63 00 08 */ addi r3, r3, 8 +/* 801458F8 00142858 42 00 FF FC */ bdnz lbl_801458F4 +lbl_801458FC: +/* 801458FC 0014285C 7C 03 30 50 */ subf r0, r3, r6 +/* 80145900 00142860 7C 09 03 A6 */ mtctr r0 +/* 80145904 00142864 7C 03 30 00 */ cmpw r3, r6 +/* 80145908 00142868 40 80 00 08 */ bge lbl_80145910 +lbl_8014590C: +/* 8014590C 0014286C 42 00 00 00 */ bdnz lbl_8014590C +lbl_80145910: +/* 80145910 00142870 38 00 00 00 */ li r0, 0 +/* 80145914 00142874 90 05 00 00 */ stw r0, 0(r5) +lbl_80145918: +/* 80145918 00142878 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 8014591C 0014287C E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 80145920 00142880 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 80145924 00142884 BB 61 00 CC */ lmw r27, 0xcc(r1) +/* 80145928 00142888 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8014592C 0014288C 7C 08 03 A6 */ mtlr r0 +/* 80145930 00142890 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 80145934 00142894 4E 80 00 20 */ blr + +.global CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager +CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager: +/* 80145938 00142898 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8014593C 0014289C 7C 08 02 A6 */ mflr r0 +/* 80145940 001428A0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80145944 001428A4 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 80145948 001428A8 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8014594C 001428AC 7C BE 2B 78 */ mr r30, r5 +/* 80145950 001428B0 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 80145954 001428B4 7C 9D 23 78 */ mr r29, r4 +/* 80145958 001428B8 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 8014595C 001428BC 7C 7C 1B 78 */ mr r28, r3 +/* 80145960 001428C0 38 61 00 54 */ addi r3, r1, 0x54 +/* 80145964 001428C4 80 84 00 00 */ lwz r4, 0(r4) +/* 80145968 001428C8 4B F6 70 F5 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8014596C 001428CC 83 E3 00 04 */ lwz r31, 4(r3) +/* 80145970 001428D0 28 1F 00 00 */ cmplwi r31, 0 +/* 80145974 001428D4 41 82 01 38 */ beq lbl_80145AAC +/* 80145978 001428D8 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8014597C 001428DC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80145980 001428E0 40 82 00 20 */ bne lbl_801459A0 +/* 80145984 001428E4 7F E3 FB 78 */ mr r3, r31 +/* 80145988 001428E8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8014598C 001428EC 81 8C 02 B8 */ lwz r12, 0x2b8(r12) +/* 80145990 001428F0 7D 89 03 A6 */ mtctr r12 +/* 80145994 001428F4 4E 80 04 21 */ bctrl +/* 80145998 001428F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8014599C 001428FC 41 82 01 10 */ beq lbl_80145AAC +lbl_801459A0: +/* 801459A0 00142900 38 00 00 03 */ li r0, 3 +/* 801459A4 00142904 38 61 00 14 */ addi r3, r1, 0x14 +/* 801459A8 00142908 90 1C 00 04 */ stw r0, 4(r28) +/* 801459AC 0014290C 48 19 D6 D1 */ bl NoParameter__12CPASAnimParmFv +/* 801459B0 00142910 38 61 00 1C */ addi r3, r1, 0x1c +/* 801459B4 00142914 48 19 D6 C9 */ bl NoParameter__12CPASAnimParmFv +/* 801459B8 00142918 38 61 00 24 */ addi r3, r1, 0x24 +/* 801459BC 0014291C 48 19 D6 C1 */ bl NoParameter__12CPASAnimParmFv +/* 801459C0 00142920 38 61 00 2C */ addi r3, r1, 0x2c +/* 801459C4 00142924 48 19 D6 B9 */ bl NoParameter__12CPASAnimParmFv +/* 801459C8 00142928 38 61 00 34 */ addi r3, r1, 0x34 +/* 801459CC 0014292C 48 19 D6 B1 */ bl NoParameter__12CPASAnimParmFv +/* 801459D0 00142930 38 61 00 3C */ addi r3, r1, 0x3c +/* 801459D4 00142934 48 19 D6 A9 */ bl NoParameter__12CPASAnimParmFv +/* 801459D8 00142938 80 9C 00 08 */ lwz r4, 8(r28) +/* 801459DC 0014293C 38 61 00 44 */ addi r3, r1, 0x44 +/* 801459E0 00142940 48 19 D5 A5 */ bl FromEnum__12CPASAnimParmFi +/* 801459E4 00142944 80 9C 00 04 */ lwz r4, 4(r28) +/* 801459E8 00142948 38 61 00 4C */ addi r3, r1, 0x4c +/* 801459EC 0014294C 48 19 D5 99 */ bl FromEnum__12CPASAnimParmFi +/* 801459F0 00142950 38 61 00 1C */ addi r3, r1, 0x1c +/* 801459F4 00142954 38 01 00 14 */ addi r0, r1, 0x14 +/* 801459F8 00142958 90 61 00 08 */ stw r3, 8(r1) +/* 801459FC 0014295C 38 61 00 5C */ addi r3, r1, 0x5c +/* 80145A00 00142960 38 A1 00 4C */ addi r5, r1, 0x4c +/* 80145A04 00142964 38 C1 00 44 */ addi r6, r1, 0x44 +/* 80145A08 00142968 90 01 00 0C */ stw r0, 0xc(r1) +/* 80145A0C 0014296C 38 E1 00 3C */ addi r7, r1, 0x3c +/* 80145A10 00142970 39 01 00 34 */ addi r8, r1, 0x34 +/* 80145A14 00142974 39 21 00 2C */ addi r9, r1, 0x2c +/* 80145A18 00142978 39 41 00 24 */ addi r10, r1, 0x24 +/* 80145A1C 0014297C 38 80 00 0D */ li r4, 0xd +/* 80145A20 00142980 4B F3 78 A5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80145A24 00142984 80 BE 09 00 */ lwz r5, 0x900(r30) +/* 80145A28 00142988 7F A3 EB 78 */ mr r3, r29 +/* 80145A2C 0014298C 38 81 00 5C */ addi r4, r1, 0x5c +/* 80145A30 00142990 4B FF 49 79 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 80145A34 00142994 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80145A38 00142998 7F C3 F3 78 */ mr r3, r30 +/* 80145A3C 0014299C 7F E4 FB 78 */ mr r4, r31 +/* 80145A40 001429A0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80145A44 001429A4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80145A48 001429A8 38 C0 00 17 */ li r6, 0x17 +/* 80145A4C 001429AC 4B EF E4 85 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80145A50 001429B0 34 A1 00 60 */ addic. r5, r1, 0x60 +/* 80145A54 001429B4 41 82 00 58 */ beq lbl_80145AAC +/* 80145A58 001429B8 80 C5 00 00 */ lwz r6, 0(r5) +/* 80145A5C 001429BC 38 60 00 00 */ li r3, 0 +/* 80145A60 001429C0 2C 06 00 00 */ cmpwi r6, 0 +/* 80145A64 001429C4 40 81 00 40 */ ble lbl_80145AA4 +/* 80145A68 001429C8 2C 06 00 08 */ cmpwi r6, 8 +/* 80145A6C 001429CC 38 86 FF F8 */ addi r4, r6, -8 +/* 80145A70 001429D0 40 81 00 20 */ ble lbl_80145A90 +/* 80145A74 001429D4 38 04 00 07 */ addi r0, r4, 7 +/* 80145A78 001429D8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80145A7C 001429DC 7C 09 03 A6 */ mtctr r0 +/* 80145A80 001429E0 2C 04 00 00 */ cmpwi r4, 0 +/* 80145A84 001429E4 40 81 00 0C */ ble lbl_80145A90 +lbl_80145A88: +/* 80145A88 001429E8 38 63 00 08 */ addi r3, r3, 8 +/* 80145A8C 001429EC 42 00 FF FC */ bdnz lbl_80145A88 +lbl_80145A90: +/* 80145A90 001429F0 7C 03 30 50 */ subf r0, r3, r6 +/* 80145A94 001429F4 7C 09 03 A6 */ mtctr r0 +/* 80145A98 001429F8 7C 03 30 00 */ cmpw r3, r6 +/* 80145A9C 001429FC 40 80 00 08 */ bge lbl_80145AA4 +lbl_80145AA0: +/* 80145AA0 00142A00 42 00 00 00 */ bdnz lbl_80145AA0 +lbl_80145AA4: +/* 80145AA4 00142A04 38 00 00 00 */ li r0, 0 +/* 80145AA8 00142A08 90 05 00 00 */ stw r0, 0(r5) +lbl_80145AAC: +/* 80145AAC 00142A0C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80145AB0 00142A10 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 80145AB4 00142A14 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 80145AB8 00142A18 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80145ABC 00142A1C 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 80145AC0 00142A20 7C 08 03 A6 */ mtlr r0 +/* 80145AC4 00142A24 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80145AC8 00142A28 4E 80 00 20 */ blr + +.global Shutdown__7CBSJumpFR15CBodyController +Shutdown__7CBSJumpFR15CBodyController: +/* 80145ACC 00142A2C 4E 80 00 20 */ blr + +.global UpdateBody__7CBSJumpFfR15CBodyControllerR13CStateManager +UpdateBody__7CBSJumpFfR15CBodyControllerR13CStateManager: +/* 80145AD0 00142A30 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 80145AD4 00142A34 7C 08 02 A6 */ mflr r0 +/* 80145AD8 00142A38 90 01 01 94 */ stw r0, 0x194(r1) +/* 80145ADC 00142A3C DB E1 01 80 */ stfd f31, 0x180(r1) +/* 80145AE0 00142A40 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 80145AE4 00142A44 DB C1 01 70 */ stfd f30, 0x170(r1) +/* 80145AE8 00142A48 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 +/* 80145AEC 00142A4C BF 61 01 5C */ stmw r27, 0x15c(r1) +/* 80145AF0 00142A50 FF E0 08 90 */ fmr f31, f1 +/* 80145AF4 00142A54 7C 7C 1B 78 */ mr r28, r3 +/* 80145AF8 00142A58 7C 9D 23 78 */ mr r29, r4 +/* 80145AFC 00142A5C 7C BE 2B 78 */ mr r30, r5 +/* 80145B00 00142A60 4B FF FB 7D */ bl GetBodyStateTransition__7CBSJumpFfR15CBodyController +/* 80145B04 00142A64 7C 7F 1B 78 */ mr r31, r3 +/* 80145B08 00142A68 2C 1F FF FF */ cmpwi r31, -1 +/* 80145B0C 00142A6C 40 82 04 FC */ bne lbl_80146008 +/* 80145B10 00142A70 80 1C 00 04 */ lwz r0, 4(r28) +/* 80145B14 00142A74 2C 00 00 02 */ cmpwi r0, 2 +/* 80145B18 00142A78 41 82 02 1C */ beq lbl_80145D34 +/* 80145B1C 00142A7C 40 80 00 14 */ bge lbl_80145B30 +/* 80145B20 00142A80 2C 00 00 00 */ cmpwi r0, 0 +/* 80145B24 00142A84 41 82 00 20 */ beq lbl_80145B44 +/* 80145B28 00142A88 40 80 00 3C */ bge lbl_80145B64 +/* 80145B2C 00142A8C 48 00 04 DC */ b lbl_80146008 +lbl_80145B30: +/* 80145B30 00142A90 2C 00 00 06 */ cmpwi r0, 6 +/* 80145B34 00142A94 40 80 04 D4 */ bge lbl_80146008 +/* 80145B38 00142A98 2C 00 00 04 */ cmpwi r0, 4 +/* 80145B3C 00142A9C 40 80 02 C8 */ bge lbl_80145E04 +/* 80145B40 00142AA0 48 00 04 B0 */ b lbl_80145FF0 +lbl_80145B44: +/* 80145B44 00142AA4 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80145B48 00142AA8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80145B4C 00142AAC 41 82 04 BC */ beq lbl_80146008 +/* 80145B50 00142AB0 7F 83 E3 78 */ mr r3, r28 +/* 80145B54 00142AB4 7F C4 F3 78 */ mr r4, r30 +/* 80145B58 00142AB8 7F A5 EB 78 */ mr r5, r29 +/* 80145B5C 00142ABC 48 00 04 D5 */ bl PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController +/* 80145B60 00142AC0 48 00 04 A8 */ b lbl_80146008 +lbl_80145B64: +/* 80145B64 00142AC4 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80145B68 00142AC8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80145B6C 00142ACC 40 82 00 54 */ bne lbl_80145BC0 +/* 80145B70 00142AD0 80 9D 00 00 */ lwz r4, 0(r29) +/* 80145B74 00142AD4 38 61 00 AC */ addi r3, r1, 0xac +/* 80145B78 00142AD8 4B F6 6B 6D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80145B7C 00142ADC 80 63 00 04 */ lwz r3, 4(r3) +/* 80145B80 00142AE0 28 03 00 00 */ cmplwi r3, 0 +/* 80145B84 00142AE4 41 82 00 2C */ beq lbl_80145BB0 +/* 80145B88 00142AE8 C0 63 00 E8 */ lfs f3, 0xe8(r3) +/* 80145B8C 00142AEC C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 80145B90 00142AF0 C0 5C 00 1C */ lfs f2, 0x1c(r28) +/* 80145B94 00142AF4 C0 3C 00 20 */ lfs f1, 0x20(r28) +/* 80145B98 00142AF8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80145B9C 00142AFC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80145BA0 00142B00 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80145BA4 00142B04 D0 03 00 FC */ stfs f0, 0xfc(r3) +/* 80145BA8 00142B08 D0 43 01 00 */ stfs f2, 0x100(r3) +/* 80145BAC 00142B0C D0 23 01 04 */ stfs f1, 0x104(r3) +lbl_80145BB0: +/* 80145BB0 00142B10 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80145BB4 00142B14 38 60 00 01 */ li r3, 1 +/* 80145BB8 00142B18 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80145BBC 00142B1C 98 1C 00 30 */ stb r0, 0x30(r28) +lbl_80145BC0: +/* 80145BC0 00142B20 C0 22 9C 6C */ lfs f1, lbl_805AB98C@sda21(r2) +/* 80145BC4 00142B24 38 00 00 00 */ li r0, 0 +/* 80145BC8 00142B28 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80145BCC 00142B2C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80145BD0 00142B30 40 82 00 1C */ bne lbl_80145BEC +/* 80145BD4 00142B34 C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 80145BD8 00142B38 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80145BDC 00142B3C 40 82 00 10 */ bne lbl_80145BEC +/* 80145BE0 00142B40 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 80145BE4 00142B44 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80145BE8 00142B48 41 82 00 08 */ beq lbl_80145BF0 +lbl_80145BEC: +/* 80145BEC 00142B4C 38 00 00 01 */ li r0, 1 +lbl_80145BF0: +/* 80145BF0 00142B50 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80145BF4 00142B54 41 82 00 14 */ beq lbl_80145C08 +/* 80145BF8 00142B58 FC 20 F8 90 */ fmr f1, f31 +/* 80145BFC 00142B5C 7F A3 EB 78 */ mr r3, r29 +/* 80145C00 00142B60 38 9D 00 1C */ addi r4, r29, 0x1c +/* 80145C04 00142B64 4B FF 4A A1 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_80145C08: +/* 80145C08 00142B68 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80145C0C 00142B6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80145C10 00142B70 41 82 00 F8 */ beq lbl_80145D08 +/* 80145C14 00142B74 38 00 00 02 */ li r0, 2 +/* 80145C18 00142B78 38 61 00 6C */ addi r3, r1, 0x6c +/* 80145C1C 00142B7C 90 1C 00 04 */ stw r0, 4(r28) +/* 80145C20 00142B80 48 19 D4 5D */ bl NoParameter__12CPASAnimParmFv +/* 80145C24 00142B84 38 61 00 74 */ addi r3, r1, 0x74 +/* 80145C28 00142B88 48 19 D4 55 */ bl NoParameter__12CPASAnimParmFv +/* 80145C2C 00142B8C 38 61 00 7C */ addi r3, r1, 0x7c +/* 80145C30 00142B90 48 19 D4 4D */ bl NoParameter__12CPASAnimParmFv +/* 80145C34 00142B94 38 61 00 84 */ addi r3, r1, 0x84 +/* 80145C38 00142B98 48 19 D4 45 */ bl NoParameter__12CPASAnimParmFv +/* 80145C3C 00142B9C 38 61 00 8C */ addi r3, r1, 0x8c +/* 80145C40 00142BA0 48 19 D4 3D */ bl NoParameter__12CPASAnimParmFv +/* 80145C44 00142BA4 38 61 00 94 */ addi r3, r1, 0x94 +/* 80145C48 00142BA8 48 19 D4 35 */ bl NoParameter__12CPASAnimParmFv +/* 80145C4C 00142BAC 80 9C 00 08 */ lwz r4, 8(r28) +/* 80145C50 00142BB0 38 61 00 9C */ addi r3, r1, 0x9c +/* 80145C54 00142BB4 48 19 D3 31 */ bl FromEnum__12CPASAnimParmFi +/* 80145C58 00142BB8 80 9C 00 04 */ lwz r4, 4(r28) +/* 80145C5C 00142BBC 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80145C60 00142BC0 48 19 D3 25 */ bl FromEnum__12CPASAnimParmFi +/* 80145C64 00142BC4 38 61 00 74 */ addi r3, r1, 0x74 +/* 80145C68 00142BC8 38 01 00 6C */ addi r0, r1, 0x6c +/* 80145C6C 00142BCC 90 61 00 08 */ stw r3, 8(r1) +/* 80145C70 00142BD0 38 61 01 08 */ addi r3, r1, 0x108 +/* 80145C74 00142BD4 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 80145C78 00142BD8 38 C1 00 9C */ addi r6, r1, 0x9c +/* 80145C7C 00142BDC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80145C80 00142BE0 38 E1 00 94 */ addi r7, r1, 0x94 +/* 80145C84 00142BE4 39 01 00 8C */ addi r8, r1, 0x8c +/* 80145C88 00142BE8 39 21 00 84 */ addi r9, r1, 0x84 +/* 80145C8C 00142BEC 39 41 00 7C */ addi r10, r1, 0x7c +/* 80145C90 00142BF0 38 80 00 0D */ li r4, 0xd +/* 80145C94 00142BF4 4B F3 76 31 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80145C98 00142BF8 80 BE 09 00 */ lwz r5, 0x900(r30) +/* 80145C9C 00142BFC 7F A3 EB 78 */ mr r3, r29 +/* 80145CA0 00142C00 38 81 01 08 */ addi r4, r1, 0x108 +/* 80145CA4 00142C04 4B FF 46 59 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 80145CA8 00142C08 34 A1 01 0C */ addic. r5, r1, 0x10c +/* 80145CAC 00142C0C 41 82 03 5C */ beq lbl_80146008 +/* 80145CB0 00142C10 80 C5 00 00 */ lwz r6, 0(r5) +/* 80145CB4 00142C14 38 60 00 00 */ li r3, 0 +/* 80145CB8 00142C18 2C 06 00 00 */ cmpwi r6, 0 +/* 80145CBC 00142C1C 40 81 00 40 */ ble lbl_80145CFC +/* 80145CC0 00142C20 2C 06 00 08 */ cmpwi r6, 8 +/* 80145CC4 00142C24 38 86 FF F8 */ addi r4, r6, -8 +/* 80145CC8 00142C28 40 81 00 20 */ ble lbl_80145CE8 +/* 80145CCC 00142C2C 38 04 00 07 */ addi r0, r4, 7 +/* 80145CD0 00142C30 54 00 E8 FE */ srwi r0, r0, 3 +/* 80145CD4 00142C34 7C 09 03 A6 */ mtctr r0 +/* 80145CD8 00142C38 2C 04 00 00 */ cmpwi r4, 0 +/* 80145CDC 00142C3C 40 81 00 0C */ ble lbl_80145CE8 +lbl_80145CE0: +/* 80145CE0 00142C40 38 63 00 08 */ addi r3, r3, 8 +/* 80145CE4 00142C44 42 00 FF FC */ bdnz lbl_80145CE0 +lbl_80145CE8: +/* 80145CE8 00142C48 7C 03 30 50 */ subf r0, r3, r6 +/* 80145CEC 00142C4C 7C 09 03 A6 */ mtctr r0 +/* 80145CF0 00142C50 7C 03 30 00 */ cmpw r3, r6 +/* 80145CF4 00142C54 40 80 00 08 */ bge lbl_80145CFC +lbl_80145CF8: +/* 80145CF8 00142C58 42 00 00 00 */ bdnz lbl_80145CF8 +lbl_80145CFC: +/* 80145CFC 00142C5C 38 00 00 00 */ li r0, 0 +/* 80145D00 00142C60 90 05 00 00 */ stw r0, 0(r5) +/* 80145D04 00142C64 48 00 03 04 */ b lbl_80146008 +lbl_80145D08: +/* 80145D08 00142C68 7F 83 E3 78 */ mr r3, r28 +/* 80145D0C 00142C6C 7F A4 EB 78 */ mr r4, r29 +/* 80145D10 00142C70 7F C5 F3 78 */ mr r5, r30 +/* 80145D14 00142C74 4B FF FA 09 */ bl CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager +/* 80145D18 00142C78 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80145D1C 00142C7C 40 82 02 EC */ bne lbl_80146008 +/* 80145D20 00142C80 7F 83 E3 78 */ mr r3, r28 +/* 80145D24 00142C84 7F A4 EB 78 */ mr r4, r29 +/* 80145D28 00142C88 7F C5 F3 78 */ mr r5, r30 +/* 80145D2C 00142C8C 4B FF FC 0D */ bl CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager +/* 80145D30 00142C90 48 00 02 D8 */ b lbl_80146008 +lbl_80145D34: +/* 80145D34 00142C94 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80145D38 00142C98 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80145D3C 00142C9C 40 82 00 54 */ bne lbl_80145D90 +/* 80145D40 00142CA0 80 9D 00 00 */ lwz r4, 0(r29) +/* 80145D44 00142CA4 38 61 00 64 */ addi r3, r1, 0x64 +/* 80145D48 00142CA8 4B F6 69 9D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80145D4C 00142CAC 80 63 00 04 */ lwz r3, 4(r3) +/* 80145D50 00142CB0 28 03 00 00 */ cmplwi r3, 0 +/* 80145D54 00142CB4 41 82 00 2C */ beq lbl_80145D80 +/* 80145D58 00142CB8 C0 63 00 E8 */ lfs f3, 0xe8(r3) +/* 80145D5C 00142CBC C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 80145D60 00142CC0 C0 5C 00 1C */ lfs f2, 0x1c(r28) +/* 80145D64 00142CC4 C0 3C 00 20 */ lfs f1, 0x20(r28) +/* 80145D68 00142CC8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80145D6C 00142CCC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80145D70 00142CD0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80145D74 00142CD4 D0 03 00 FC */ stfs f0, 0xfc(r3) +/* 80145D78 00142CD8 D0 43 01 00 */ stfs f2, 0x100(r3) +/* 80145D7C 00142CDC D0 23 01 04 */ stfs f1, 0x104(r3) +lbl_80145D80: +/* 80145D80 00142CE0 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80145D84 00142CE4 38 60 00 01 */ li r3, 1 +/* 80145D88 00142CE8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80145D8C 00142CEC 98 1C 00 30 */ stb r0, 0x30(r28) +lbl_80145D90: +/* 80145D90 00142CF0 C0 22 9C 6C */ lfs f1, lbl_805AB98C@sda21(r2) +/* 80145D94 00142CF4 38 00 00 00 */ li r0, 0 +/* 80145D98 00142CF8 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 80145D9C 00142CFC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80145DA0 00142D00 40 82 00 1C */ bne lbl_80145DBC +/* 80145DA4 00142D04 C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 80145DA8 00142D08 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80145DAC 00142D0C 40 82 00 10 */ bne lbl_80145DBC +/* 80145DB0 00142D10 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 80145DB4 00142D14 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80145DB8 00142D18 41 82 00 08 */ beq lbl_80145DC0 +lbl_80145DBC: +/* 80145DBC 00142D1C 38 00 00 01 */ li r0, 1 +lbl_80145DC0: +/* 80145DC0 00142D20 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80145DC4 00142D24 41 82 00 14 */ beq lbl_80145DD8 +/* 80145DC8 00142D28 FC 20 F8 90 */ fmr f1, f31 +/* 80145DCC 00142D2C 7F A3 EB 78 */ mr r3, r29 +/* 80145DD0 00142D30 38 9D 00 1C */ addi r4, r29, 0x1c +/* 80145DD4 00142D34 4B FF 48 D1 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_80145DD8: +/* 80145DD8 00142D38 7F 83 E3 78 */ mr r3, r28 +/* 80145DDC 00142D3C 7F A4 EB 78 */ mr r4, r29 +/* 80145DE0 00142D40 7F C5 F3 78 */ mr r5, r30 +/* 80145DE4 00142D44 4B FF F9 39 */ bl CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager +/* 80145DE8 00142D48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80145DEC 00142D4C 40 82 02 1C */ bne lbl_80146008 +/* 80145DF0 00142D50 7F 83 E3 78 */ mr r3, r28 +/* 80145DF4 00142D54 7F A4 EB 78 */ mr r4, r29 +/* 80145DF8 00142D58 7F C5 F3 78 */ mr r5, r30 +/* 80145DFC 00142D5C 4B FF FB 3D */ bl CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager +/* 80145E00 00142D60 48 00 02 08 */ b lbl_80146008 +lbl_80145E04: +/* 80145E04 00142D64 80 9D 00 00 */ lwz r4, 0(r29) +/* 80145E08 00142D68 38 61 00 5C */ addi r3, r1, 0x5c +/* 80145E0C 00142D6C 4B F6 68 D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80145E10 00142D70 83 63 00 04 */ lwz r27, 4(r3) +/* 80145E14 00142D74 28 1B 00 00 */ cmplwi r27, 0 +/* 80145E18 00142D78 41 82 00 28 */ beq lbl_80145E40 +/* 80145E1C 00142D7C 7F 63 DB 78 */ mr r3, r27 +/* 80145E20 00142D80 4B FD 55 59 */ bl Stop__13CPhysicsActorFv +/* 80145E24 00142D84 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80145E28 00142D88 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80145E2C 00142D8C D0 1B 01 50 */ stfs f0, 0x150(r27) +/* 80145E30 00142D90 C0 03 00 04 */ lfs f0, 4(r3) +/* 80145E34 00142D94 D0 1B 01 54 */ stfs f0, 0x154(r27) +/* 80145E38 00142D98 C0 03 00 08 */ lfs f0, 8(r3) +/* 80145E3C 00142D9C D0 1B 01 58 */ stfs f0, 0x158(r27) +lbl_80145E40: +/* 80145E40 00142DA0 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80145E44 00142DA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80145E48 00142DA8 41 82 01 C0 */ beq lbl_80146008 +/* 80145E4C 00142DAC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80145E50 00142DB0 7F C3 F3 78 */ mr r3, r30 +/* 80145E54 00142DB4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80145E58 00142DB8 38 C0 00 1A */ li r6, 0x1a +/* 80145E5C 00142DBC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80145E60 00142DC0 80 9D 00 00 */ lwz r4, 0(r29) +/* 80145E64 00142DC4 4B EF E0 6D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80145E68 00142DC8 38 00 00 02 */ li r0, 2 +/* 80145E6C 00142DCC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80145E70 00142DD0 90 1C 00 04 */ stw r0, 4(r28) +/* 80145E74 00142DD4 48 19 D2 09 */ bl NoParameter__12CPASAnimParmFv +/* 80145E78 00142DD8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80145E7C 00142DDC 48 19 D2 01 */ bl NoParameter__12CPASAnimParmFv +/* 80145E80 00142DE0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80145E84 00142DE4 48 19 D1 F9 */ bl NoParameter__12CPASAnimParmFv +/* 80145E88 00142DE8 38 61 00 34 */ addi r3, r1, 0x34 +/* 80145E8C 00142DEC 48 19 D1 F1 */ bl NoParameter__12CPASAnimParmFv +/* 80145E90 00142DF0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80145E94 00142DF4 48 19 D1 E9 */ bl NoParameter__12CPASAnimParmFv +/* 80145E98 00142DF8 38 61 00 44 */ addi r3, r1, 0x44 +/* 80145E9C 00142DFC 48 19 D1 E1 */ bl NoParameter__12CPASAnimParmFv +/* 80145EA0 00142E00 80 9C 00 08 */ lwz r4, 8(r28) +/* 80145EA4 00142E04 38 61 00 4C */ addi r3, r1, 0x4c +/* 80145EA8 00142E08 48 19 D0 DD */ bl FromEnum__12CPASAnimParmFi +/* 80145EAC 00142E0C 80 9C 00 04 */ lwz r4, 4(r28) +/* 80145EB0 00142E10 38 61 00 54 */ addi r3, r1, 0x54 +/* 80145EB4 00142E14 48 19 D0 D1 */ bl FromEnum__12CPASAnimParmFi +/* 80145EB8 00142E18 38 61 00 24 */ addi r3, r1, 0x24 +/* 80145EBC 00142E1C 38 01 00 1C */ addi r0, r1, 0x1c +/* 80145EC0 00142E20 90 61 00 08 */ stw r3, 8(r1) +/* 80145EC4 00142E24 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80145EC8 00142E28 38 A1 00 54 */ addi r5, r1, 0x54 +/* 80145ECC 00142E2C 38 C1 00 4C */ addi r6, r1, 0x4c +/* 80145ED0 00142E30 90 01 00 0C */ stw r0, 0xc(r1) +/* 80145ED4 00142E34 38 E1 00 44 */ addi r7, r1, 0x44 +/* 80145ED8 00142E38 39 01 00 3C */ addi r8, r1, 0x3c +/* 80145EDC 00142E3C 39 21 00 34 */ addi r9, r1, 0x34 +/* 80145EE0 00142E40 39 41 00 2C */ addi r10, r1, 0x2c +/* 80145EE4 00142E44 38 80 00 0D */ li r4, 0xd +/* 80145EE8 00142E48 4B F3 73 DD */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80145EEC 00142E4C 80 BE 09 00 */ lwz r5, 0x900(r30) +/* 80145EF0 00142E50 7F A3 EB 78 */ mr r3, r29 +/* 80145EF4 00142E54 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 80145EF8 00142E58 4B FF 44 05 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 80145EFC 00142E5C 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80145F00 00142E60 38 60 00 01 */ li r3, 1 +/* 80145F04 00142E64 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80145F08 00142E68 38 61 00 14 */ addi r3, r1, 0x14 +/* 80145F0C 00142E6C 98 1C 00 30 */ stb r0, 0x30(r28) +/* 80145F10 00142E70 80 9D 00 00 */ lwz r4, 0(r29) +/* 80145F14 00142E74 4B F6 6B 49 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 80145F18 00142E78 83 63 00 04 */ lwz r27, 4(r3) +/* 80145F1C 00142E7C 28 1B 00 00 */ cmplwi r27, 0 +/* 80145F20 00142E80 41 82 00 70 */ beq lbl_80145F90 +/* 80145F24 00142E84 7F 63 DB 78 */ mr r3, r27 +/* 80145F28 00142E88 C0 7C 00 24 */ lfs f3, 0x24(r28) +/* 80145F2C 00142E8C 81 9B 00 00 */ lwz r12, 0(r27) +/* 80145F30 00142E90 C0 5B 00 40 */ lfs f2, 0x40(r27) +/* 80145F34 00142E94 C0 3C 00 28 */ lfs f1, 0x28(r28) +/* 80145F38 00142E98 C0 1B 00 50 */ lfs f0, 0x50(r27) +/* 80145F3C 00142E9C EF C3 10 28 */ fsubs f30, f3, f2 +/* 80145F40 00142EA0 81 8C 02 BC */ lwz r12, 0x2bc(r12) +/* 80145F44 00142EA4 EF E1 00 28 */ fsubs f31, f1, f0 +/* 80145F48 00142EA8 7D 89 03 A6 */ mtctr r12 +/* 80145F4C 00142EAC 4E 80 04 21 */ bctrl +/* 80145F50 00142EB0 C0 5C 00 2C */ lfs f2, 0x2c(r28) +/* 80145F54 00142EB4 C0 1B 00 60 */ lfs f0, 0x60(r27) +/* 80145F58 00142EB8 C0 62 9C 70 */ lfs f3, lbl_805AB990@sda21(r2) +/* 80145F5C 00142EBC EC 02 00 28 */ fsubs f0, f2, f0 +/* 80145F60 00142EC0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80145F64 00142EC4 EC 21 00 24 */ fdivs f1, f1, f0 +/* 80145F68 00142EC8 48 1C F5 99 */ bl SqrtF__5CMathFf +/* 80145F6C 00142ECC EC 41 07 B2 */ fmuls f2, f1, f30 +/* 80145F70 00142ED0 C0 02 9C 6C */ lfs f0, lbl_805AB98C@sda21(r2) +/* 80145F74 00142ED4 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 80145F78 00142ED8 7F 63 DB 78 */ mr r3, r27 +/* 80145F7C 00142EDC D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80145F80 00142EE0 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 80145F84 00142EE4 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80145F88 00142EE8 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 80145F8C 00142EEC 4B FD 4D 15 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_80145F90: +/* 80145F90 00142EF0 34 A1 00 C4 */ addic. r5, r1, 0xc4 +/* 80145F94 00142EF4 41 82 00 74 */ beq lbl_80146008 +/* 80145F98 00142EF8 80 C5 00 00 */ lwz r6, 0(r5) +/* 80145F9C 00142EFC 38 60 00 00 */ li r3, 0 +/* 80145FA0 00142F00 2C 06 00 00 */ cmpwi r6, 0 +/* 80145FA4 00142F04 40 81 00 40 */ ble lbl_80145FE4 +/* 80145FA8 00142F08 2C 06 00 08 */ cmpwi r6, 8 +/* 80145FAC 00142F0C 38 86 FF F8 */ addi r4, r6, -8 +/* 80145FB0 00142F10 40 81 00 20 */ ble lbl_80145FD0 +/* 80145FB4 00142F14 38 04 00 07 */ addi r0, r4, 7 +/* 80145FB8 00142F18 54 00 E8 FE */ srwi r0, r0, 3 +/* 80145FBC 00142F1C 7C 09 03 A6 */ mtctr r0 +/* 80145FC0 00142F20 2C 04 00 00 */ cmpwi r4, 0 +/* 80145FC4 00142F24 40 81 00 0C */ ble lbl_80145FD0 +lbl_80145FC8: +/* 80145FC8 00142F28 38 63 00 08 */ addi r3, r3, 8 +/* 80145FCC 00142F2C 42 00 FF FC */ bdnz lbl_80145FC8 +lbl_80145FD0: +/* 80145FD0 00142F30 7C 03 30 50 */ subf r0, r3, r6 +/* 80145FD4 00142F34 7C 09 03 A6 */ mtctr r0 +/* 80145FD8 00142F38 7C 03 30 00 */ cmpw r3, r6 +/* 80145FDC 00142F3C 40 80 00 08 */ bge lbl_80145FE4 +lbl_80145FE0: +/* 80145FE0 00142F40 42 00 00 00 */ bdnz lbl_80145FE0 +lbl_80145FE4: +/* 80145FE4 00142F44 38 00 00 00 */ li r0, 0 +/* 80145FE8 00142F48 90 05 00 00 */ stw r0, 0(r5) +/* 80145FEC 00142F4C 48 00 00 1C */ b lbl_80146008 +lbl_80145FF0: +/* 80145FF0 00142F50 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 80145FF4 00142F54 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80145FF8 00142F58 41 82 00 10 */ beq lbl_80146008 +/* 80145FFC 00142F5C 38 00 FF FF */ li r0, -1 +/* 80146000 00142F60 3B E0 00 05 */ li r31, 5 +/* 80146004 00142F64 90 1C 00 04 */ stw r0, 4(r28) +lbl_80146008: +/* 80146008 00142F68 7F E3 FB 78 */ mr r3, r31 +/* 8014600C 00142F6C E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 80146010 00142F70 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 80146014 00142F74 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 +/* 80146018 00142F78 CB C1 01 70 */ lfd f30, 0x170(r1) +/* 8014601C 00142F7C BB 61 01 5C */ lmw r27, 0x15c(r1) +/* 80146020 00142F80 80 01 01 94 */ lwz r0, 0x194(r1) +/* 80146024 00142F84 7C 08 03 A6 */ mtlr r0 +/* 80146028 00142F88 38 21 01 90 */ addi r1, r1, 0x190 +/* 8014602C 00142F8C 4E 80 00 20 */ blr + +.global PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController +PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController: +/* 80146030 00142F90 94 21 FE 90 */ stwu r1, -0x170(r1) +/* 80146034 00142F94 7C 08 02 A6 */ mflr r0 +/* 80146038 00142F98 90 01 01 74 */ stw r0, 0x174(r1) +/* 8014603C 00142F9C 93 E1 01 6C */ stw r31, 0x16c(r1) +/* 80146040 00142FA0 7C BF 2B 78 */ mr r31, r5 +/* 80146044 00142FA4 93 C1 01 68 */ stw r30, 0x168(r1) +/* 80146048 00142FA8 7C 9E 23 78 */ mr r30, r4 +/* 8014604C 00142FAC 93 A1 01 64 */ stw r29, 0x164(r1) +/* 80146050 00142FB0 7C 7D 1B 78 */ mr r29, r3 +/* 80146054 00142FB4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80146058 00142FB8 48 19 D0 25 */ bl NoParameter__12CPASAnimParmFv +/* 8014605C 00142FBC 38 61 00 70 */ addi r3, r1, 0x70 +/* 80146060 00142FC0 48 19 D0 1D */ bl NoParameter__12CPASAnimParmFv +/* 80146064 00142FC4 38 61 00 78 */ addi r3, r1, 0x78 +/* 80146068 00142FC8 48 19 D0 15 */ bl NoParameter__12CPASAnimParmFv +/* 8014606C 00142FCC 38 61 00 80 */ addi r3, r1, 0x80 +/* 80146070 00142FD0 48 19 D0 0D */ bl NoParameter__12CPASAnimParmFv +/* 80146074 00142FD4 38 61 00 88 */ addi r3, r1, 0x88 +/* 80146078 00142FD8 48 19 D0 05 */ bl NoParameter__12CPASAnimParmFv +/* 8014607C 00142FDC 38 61 00 90 */ addi r3, r1, 0x90 +/* 80146080 00142FE0 48 19 CF FD */ bl NoParameter__12CPASAnimParmFv +/* 80146084 00142FE4 80 9D 00 08 */ lwz r4, 8(r29) +/* 80146088 00142FE8 38 61 00 98 */ addi r3, r1, 0x98 +/* 8014608C 00142FEC 48 19 CE F9 */ bl FromEnum__12CPASAnimParmFi +/* 80146090 00142FF0 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80146094 00142FF4 38 80 00 01 */ li r4, 1 +/* 80146098 00142FF8 48 19 CE ED */ bl FromEnum__12CPASAnimParmFi +/* 8014609C 00142FFC 38 61 00 70 */ addi r3, r1, 0x70 +/* 801460A0 00143000 38 01 00 68 */ addi r0, r1, 0x68 +/* 801460A4 00143004 90 61 00 08 */ stw r3, 8(r1) +/* 801460A8 00143008 38 61 01 18 */ addi r3, r1, 0x118 +/* 801460AC 0014300C 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 801460B0 00143010 38 C1 00 98 */ addi r6, r1, 0x98 +/* 801460B4 00143014 90 01 00 0C */ stw r0, 0xc(r1) +/* 801460B8 00143018 38 E1 00 90 */ addi r7, r1, 0x90 +/* 801460BC 0014301C 39 01 00 88 */ addi r8, r1, 0x88 +/* 801460C0 00143020 39 21 00 80 */ addi r9, r1, 0x80 +/* 801460C4 00143024 39 41 00 78 */ addi r10, r1, 0x78 +/* 801460C8 00143028 38 80 00 0D */ li r4, 0xd +/* 801460CC 0014302C 4B F3 71 F9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 801460D0 00143030 7F E3 FB 78 */ mr r3, r31 +/* 801460D4 00143034 4B FF 43 81 */ bl GetPASDatabase__15CBodyControllerCFv +/* 801460D8 00143038 80 DE 09 00 */ lwz r6, 0x900(r30) +/* 801460DC 0014303C 7C 64 1B 78 */ mr r4, r3 +/* 801460E0 00143040 38 61 00 60 */ addi r3, r1, 0x60 +/* 801460E4 00143044 38 A1 01 18 */ addi r5, r1, 0x118 +/* 801460E8 00143048 38 E0 FF FF */ li r7, -1 +/* 801460EC 0014304C 48 19 EF 75 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 801460F0 00143050 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 801460F4 00143054 C0 02 9C 74 */ lfs f0, lbl_805AB994@sda21(r2) +/* 801460F8 00143058 80 81 00 64 */ lwz r4, 0x64(r1) +/* 801460FC 0014305C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80146100 00143060 40 81 00 58 */ ble lbl_80146158 +/* 80146104 00143064 39 00 00 01 */ li r8, 1 +/* 80146108 00143068 C0 02 9C 78 */ lfs f0, lbl_805AB998@sda21(r2) +/* 8014610C 0014306C 91 1D 00 04 */ stw r8, 4(r29) +/* 80146110 00143070 38 00 00 00 */ li r0, 0 +/* 80146114 00143074 38 E0 FF FF */ li r7, -1 +/* 80146118 00143078 7F E3 FB 78 */ mr r3, r31 +/* 8014611C 0014307C 90 81 00 A8 */ stw r4, 0xa8(r1) +/* 80146120 00143080 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80146124 00143084 38 A0 00 00 */ li r5, 0 +/* 80146128 00143088 38 C0 00 00 */ li r6, 0 +/* 8014612C 0014308C 90 E1 00 AC */ stw r7, 0xac(r1) +/* 80146130 00143090 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 80146134 00143094 99 01 00 B4 */ stb r8, 0xb4(r1) +/* 80146138 00143098 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 8014613C 0014309C 90 01 00 BC */ stw r0, 0xbc(r1) +/* 80146140 001430A0 98 01 00 C0 */ stb r0, 0xc0(r1) +/* 80146144 001430A4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80146148 001430A8 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 8014614C 001430AC 90 01 00 CC */ stw r0, 0xcc(r1) +/* 80146150 001430B0 4B FF 47 CD */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80146154 001430B4 48 00 00 F4 */ b lbl_80146248 +lbl_80146158: +/* 80146158 001430B8 38 00 00 02 */ li r0, 2 +/* 8014615C 001430BC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80146160 001430C0 90 1D 00 04 */ stw r0, 4(r29) +/* 80146164 001430C4 48 19 CF 19 */ bl NoParameter__12CPASAnimParmFv +/* 80146168 001430C8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8014616C 001430CC 48 19 CF 11 */ bl NoParameter__12CPASAnimParmFv +/* 80146170 001430D0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80146174 001430D4 48 19 CF 09 */ bl NoParameter__12CPASAnimParmFv +/* 80146178 001430D8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8014617C 001430DC 48 19 CF 01 */ bl NoParameter__12CPASAnimParmFv +/* 80146180 001430E0 38 61 00 40 */ addi r3, r1, 0x40 +/* 80146184 001430E4 48 19 CE F9 */ bl NoParameter__12CPASAnimParmFv +/* 80146188 001430E8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8014618C 001430EC 48 19 CE F1 */ bl NoParameter__12CPASAnimParmFv +/* 80146190 001430F0 80 9D 00 08 */ lwz r4, 8(r29) +/* 80146194 001430F4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80146198 001430F8 48 19 CD ED */ bl FromEnum__12CPASAnimParmFi +/* 8014619C 001430FC 80 9D 00 04 */ lwz r4, 4(r29) +/* 801461A0 00143100 38 61 00 58 */ addi r3, r1, 0x58 +/* 801461A4 00143104 48 19 CD E1 */ bl FromEnum__12CPASAnimParmFi +/* 801461A8 00143108 38 61 00 28 */ addi r3, r1, 0x28 +/* 801461AC 0014310C 38 01 00 20 */ addi r0, r1, 0x20 +/* 801461B0 00143110 90 61 00 08 */ stw r3, 8(r1) +/* 801461B4 00143114 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 801461B8 00143118 38 A1 00 58 */ addi r5, r1, 0x58 +/* 801461BC 0014311C 38 C1 00 50 */ addi r6, r1, 0x50 +/* 801461C0 00143120 90 01 00 0C */ stw r0, 0xc(r1) +/* 801461C4 00143124 38 E1 00 48 */ addi r7, r1, 0x48 +/* 801461C8 00143128 39 01 00 40 */ addi r8, r1, 0x40 +/* 801461CC 0014312C 39 21 00 38 */ addi r9, r1, 0x38 +/* 801461D0 00143130 39 41 00 30 */ addi r10, r1, 0x30 +/* 801461D4 00143134 38 80 00 0D */ li r4, 0xd +/* 801461D8 00143138 4B F3 70 ED */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 801461DC 0014313C 80 BE 09 00 */ lwz r5, 0x900(r30) +/* 801461E0 00143140 7F E3 FB 78 */ mr r3, r31 +/* 801461E4 00143144 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 801461E8 00143148 4B FF 41 15 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 801461EC 0014314C 34 A1 00 D4 */ addic. r5, r1, 0xd4 +/* 801461F0 00143150 41 82 00 58 */ beq lbl_80146248 +/* 801461F4 00143154 80 C5 00 00 */ lwz r6, 0(r5) +/* 801461F8 00143158 38 60 00 00 */ li r3, 0 +/* 801461FC 0014315C 2C 06 00 00 */ cmpwi r6, 0 +/* 80146200 00143160 40 81 00 40 */ ble lbl_80146240 +/* 80146204 00143164 2C 06 00 08 */ cmpwi r6, 8 +/* 80146208 00143168 38 86 FF F8 */ addi r4, r6, -8 +/* 8014620C 0014316C 40 81 00 20 */ ble lbl_8014622C +/* 80146210 00143170 38 04 00 07 */ addi r0, r4, 7 +/* 80146214 00143174 54 00 E8 FE */ srwi r0, r0, 3 +/* 80146218 00143178 7C 09 03 A6 */ mtctr r0 +/* 8014621C 0014317C 2C 04 00 00 */ cmpwi r4, 0 +/* 80146220 00143180 40 81 00 0C */ ble lbl_8014622C +lbl_80146224: +/* 80146224 00143184 38 63 00 08 */ addi r3, r3, 8 +/* 80146228 00143188 42 00 FF FC */ bdnz lbl_80146224 +lbl_8014622C: +/* 8014622C 0014318C 7C 03 30 50 */ subf r0, r3, r6 +/* 80146230 00143190 7C 09 03 A6 */ mtctr r0 +/* 80146234 00143194 7C 03 30 00 */ cmpw r3, r6 +/* 80146238 00143198 40 80 00 08 */ bge lbl_80146240 +lbl_8014623C: +/* 8014623C 0014319C 42 00 00 00 */ bdnz lbl_8014623C +lbl_80146240: +/* 80146240 001431A0 38 00 00 00 */ li r0, 0 +/* 80146244 001431A4 90 05 00 00 */ stw r0, 0(r5) +lbl_80146248: +/* 80146248 001431A8 80 9F 00 00 */ lwz r4, 0(r31) +/* 8014624C 001431AC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80146250 001431B0 4B F6 64 95 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80146254 001431B4 83 E3 00 04 */ lwz r31, 4(r3) +/* 80146258 001431B8 28 1F 00 00 */ cmplwi r31, 0 +/* 8014625C 001431BC 41 82 00 64 */ beq lbl_801462C0 +/* 80146260 001431C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80146264 001431C4 7F C3 F3 78 */ mr r3, r30 +/* 80146268 001431C8 7F E4 FB 78 */ mr r4, r31 +/* 8014626C 001431CC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80146270 001431D0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80146274 001431D4 38 C0 00 1A */ li r6, 0x1a +/* 80146278 001431D8 4B EF DC 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8014627C 001431DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80146280 001431E0 7F C3 F3 78 */ mr r3, r30 +/* 80146284 001431E4 7F E4 FB 78 */ mr r4, r31 +/* 80146288 001431E8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8014628C 001431EC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80146290 001431F0 38 C0 00 28 */ li r6, 0x28 +/* 80146294 001431F4 4B EF DC 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80146298 001431F8 C0 1F 01 38 */ lfs f0, 0x138(r31) +/* 8014629C 001431FC 38 60 00 00 */ li r3, 0 +/* 801462A0 00143200 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 801462A4 00143204 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 801462A8 00143208 C0 3F 01 3C */ lfs f1, 0x13c(r31) +/* 801462AC 0014320C C0 5F 01 40 */ lfs f2, 0x140(r31) +/* 801462B0 00143210 98 1D 00 30 */ stb r0, 0x30(r29) +/* 801462B4 00143214 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 801462B8 00143218 D0 3D 00 1C */ stfs f1, 0x1c(r29) +/* 801462BC 0014321C D0 5D 00 20 */ stfs f2, 0x20(r29) +lbl_801462C0: +/* 801462C0 00143220 34 A1 01 1C */ addic. r5, r1, 0x11c +/* 801462C4 00143224 41 82 00 58 */ beq lbl_8014631C +/* 801462C8 00143228 80 C5 00 00 */ lwz r6, 0(r5) +/* 801462CC 0014322C 38 60 00 00 */ li r3, 0 +/* 801462D0 00143230 2C 06 00 00 */ cmpwi r6, 0 +/* 801462D4 00143234 40 81 00 40 */ ble lbl_80146314 +/* 801462D8 00143238 2C 06 00 08 */ cmpwi r6, 8 +/* 801462DC 0014323C 38 86 FF F8 */ addi r4, r6, -8 +/* 801462E0 00143240 40 81 00 20 */ ble lbl_80146300 +/* 801462E4 00143244 38 04 00 07 */ addi r0, r4, 7 +/* 801462E8 00143248 54 00 E8 FE */ srwi r0, r0, 3 +/* 801462EC 0014324C 7C 09 03 A6 */ mtctr r0 +/* 801462F0 00143250 2C 04 00 00 */ cmpwi r4, 0 +/* 801462F4 00143254 40 81 00 0C */ ble lbl_80146300 +lbl_801462F8: +/* 801462F8 00143258 38 63 00 08 */ addi r3, r3, 8 +/* 801462FC 0014325C 42 00 FF FC */ bdnz lbl_801462F8 +lbl_80146300: +/* 80146300 00143260 7C 03 30 50 */ subf r0, r3, r6 +/* 80146304 00143264 7C 09 03 A6 */ mtctr r0 +/* 80146308 00143268 7C 03 30 00 */ cmpw r3, r6 +/* 8014630C 0014326C 40 80 00 08 */ bge lbl_80146314 +lbl_80146310: +/* 80146310 00143270 42 00 00 00 */ bdnz lbl_80146310 +lbl_80146314: +/* 80146314 00143274 38 00 00 00 */ li r0, 0 +/* 80146318 00143278 90 05 00 00 */ stw r0, 0(r5) +lbl_8014631C: +/* 8014631C 0014327C 80 01 01 74 */ lwz r0, 0x174(r1) +/* 80146320 00143280 83 E1 01 6C */ lwz r31, 0x16c(r1) +/* 80146324 00143284 83 C1 01 68 */ lwz r30, 0x168(r1) +/* 80146328 00143288 83 A1 01 64 */ lwz r29, 0x164(r1) +/* 8014632C 0014328C 7C 08 03 A6 */ mtlr r0 +/* 80146330 00143290 38 21 01 70 */ addi r1, r1, 0x170 +/* 80146334 00143294 4E 80 00 20 */ blr + +.global Start__7CBSJumpFR15CBodyControllerR13CStateManager +Start__7CBSJumpFR15CBodyControllerR13CStateManager: +/* 80146338 00143298 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8014633C 0014329C 7C 08 02 A6 */ mflr r0 +/* 80146340 001432A0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80146344 001432A4 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80146348 001432A8 7C BF 2B 78 */ mr r31, r5 +/* 8014634C 001432AC 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 80146350 001432B0 7C 9E 23 78 */ mr r30, r4 +/* 80146354 001432B4 38 80 00 10 */ li r4, 0x10 +/* 80146358 001432B8 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8014635C 001432BC 7C 7D 1B 78 */ mr r29, r3 +/* 80146360 001432C0 38 7E 00 04 */ addi r3, r30, 4 +/* 80146364 001432C4 4B FE B0 ED */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80146368 001432C8 80 03 00 08 */ lwz r0, 8(r3) +/* 8014636C 001432CC 38 80 00 00 */ li r4, 0 +/* 80146370 001432D0 90 1D 00 08 */ stw r0, 8(r29) +/* 80146374 001432D4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80146378 001432D8 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8014637C 001432DC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80146380 001432E0 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 80146384 001432E4 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80146388 001432E8 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8014638C 001432EC C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80146390 001432F0 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 80146394 001432F4 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80146398 001432F8 D0 1D 00 28 */ stfs f0, 0x28(r29) +/* 8014639C 001432FC C0 03 00 20 */ lfs f0, 0x20(r3) +/* 801463A0 00143300 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 801463A4 00143304 88 A3 00 24 */ lbz r5, 0x24(r3) +/* 801463A8 00143308 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 801463AC 0014330C 50 A0 FE 72 */ rlwimi r0, r5, 0x1f, 0x19, 0x19 +/* 801463B0 00143310 98 1D 00 30 */ stb r0, 0x30(r29) +/* 801463B4 00143314 88 A3 00 24 */ lbz r5, 0x24(r3) +/* 801463B8 00143318 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 801463BC 0014331C 50 A0 EF 38 */ rlwimi r0, r5, 0x1d, 0x1c, 0x1c +/* 801463C0 00143320 98 1D 00 30 */ stb r0, 0x30(r29) +/* 801463C4 00143324 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 801463C8 00143328 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 801463CC 0014332C 98 1D 00 30 */ stb r0, 0x30(r29) +/* 801463D0 00143330 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 801463D4 00143334 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 801463D8 00143338 98 1D 00 30 */ stb r0, 0x30(r29) +/* 801463DC 0014333C 88 BD 00 30 */ lbz r5, 0x30(r29) +/* 801463E0 00143340 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f +/* 801463E4 00143344 41 82 00 90 */ beq lbl_80146474 +/* 801463E8 00143348 80 DE 00 00 */ lwz r6, 0(r30) +/* 801463EC 0014334C 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 801463F0 00143350 38 84 66 F4 */ addi r4, r4, lbl_805A66F4@l +/* 801463F4 00143354 C0 5D 00 0C */ lfs f2, 0xc(r29) +/* 801463F8 00143358 C0 26 00 40 */ lfs f1, 0x40(r6) +/* 801463FC 0014335C C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 80146400 00143360 ED 22 08 28 */ fsubs f9, f2, f1 +/* 80146404 00143364 C1 64 00 08 */ lfs f11, 8(r4) +/* 80146408 00143368 EC 60 10 28 */ fsubs f3, f0, f2 +/* 8014640C 0014336C C0 DD 00 14 */ lfs f6, 0x14(r29) +/* 80146410 00143370 C0 06 00 60 */ lfs f0, 0x60(r6) +/* 80146414 00143374 EC 2B 02 72 */ fmuls f1, f11, f9 +/* 80146418 00143378 EC 46 00 28 */ fsubs f2, f6, f0 +/* 8014641C 0014337C C1 44 00 04 */ lfs f10, 4(r4) +/* 80146420 00143380 C1 84 00 00 */ lfs f12, 0(r4) +/* 80146424 00143384 C0 FD 00 10 */ lfs f7, 0x10(r29) +/* 80146428 00143388 C0 A6 00 50 */ lfs f5, 0x50(r6) +/* 8014642C 0014338C EC 8A 00 B2 */ fmuls f4, f10, f2 +/* 80146430 00143390 C0 1D 00 28 */ lfs f0, 0x28(r29) +/* 80146434 00143394 EC 42 0B 38 */ fmsubs f2, f2, f12, f1 +/* 80146438 00143398 ED 07 28 28 */ fsubs f8, f7, f5 +/* 8014643C 0014339C C0 BD 00 2C */ lfs f5, 0x2c(r29) +/* 80146440 001433A0 EC 20 38 28 */ fsubs f1, f0, f7 +/* 80146444 001433A4 EC A5 30 28 */ fsubs f5, f5, f6 +/* 80146448 001433A8 C0 02 9C 6C */ lfs f0, lbl_805AB98C@sda21(r2) +/* 8014644C 001433AC EC CC 02 32 */ fmuls f6, f12, f8 +/* 80146450 001433B0 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80146454 001433B4 EC 88 22 F8 */ fmsubs f4, f8, f11, f4 +/* 80146458 001433B8 EC 49 32 B8 */ fmsubs f2, f9, f10, f6 +/* 8014645C 001433BC EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80146460 001433C0 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 80146464 001433C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80146468 001433C8 7C 00 00 26 */ mfcr r0 +/* 8014646C 001433CC 50 05 36 B4 */ rlwimi r5, r0, 6, 0x1a, 0x1a +/* 80146470 001433D0 98 BD 00 30 */ stb r5, 0x30(r29) +lbl_80146474: +/* 80146474 001433D4 88 03 00 24 */ lbz r0, 0x24(r3) +/* 80146478 001433D8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8014647C 001433DC 40 82 00 F8 */ bne lbl_80146574 +/* 80146480 001433E0 38 00 00 00 */ li r0, 0 +/* 80146484 001433E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80146488 001433E8 90 1D 00 04 */ stw r0, 4(r29) +/* 8014648C 001433EC 48 19 CB F1 */ bl NoParameter__12CPASAnimParmFv +/* 80146490 001433F0 38 61 00 18 */ addi r3, r1, 0x18 +/* 80146494 001433F4 48 19 CB E9 */ bl NoParameter__12CPASAnimParmFv +/* 80146498 001433F8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8014649C 001433FC 48 19 CB E1 */ bl NoParameter__12CPASAnimParmFv +/* 801464A0 00143400 38 61 00 28 */ addi r3, r1, 0x28 +/* 801464A4 00143404 48 19 CB D9 */ bl NoParameter__12CPASAnimParmFv +/* 801464A8 00143408 38 61 00 30 */ addi r3, r1, 0x30 +/* 801464AC 0014340C 48 19 CB D1 */ bl NoParameter__12CPASAnimParmFv +/* 801464B0 00143410 38 61 00 38 */ addi r3, r1, 0x38 +/* 801464B4 00143414 48 19 CB C9 */ bl NoParameter__12CPASAnimParmFv +/* 801464B8 00143418 80 9D 00 08 */ lwz r4, 8(r29) +/* 801464BC 0014341C 38 61 00 40 */ addi r3, r1, 0x40 +/* 801464C0 00143420 48 19 CA C5 */ bl FromEnum__12CPASAnimParmFi +/* 801464C4 00143424 80 9D 00 04 */ lwz r4, 4(r29) +/* 801464C8 00143428 38 61 00 48 */ addi r3, r1, 0x48 +/* 801464CC 0014342C 48 19 CA B9 */ bl FromEnum__12CPASAnimParmFi +/* 801464D0 00143430 38 61 00 18 */ addi r3, r1, 0x18 +/* 801464D4 00143434 38 01 00 10 */ addi r0, r1, 0x10 +/* 801464D8 00143438 90 61 00 08 */ stw r3, 8(r1) +/* 801464DC 0014343C 38 61 00 50 */ addi r3, r1, 0x50 +/* 801464E0 00143440 38 A1 00 48 */ addi r5, r1, 0x48 +/* 801464E4 00143444 38 C1 00 40 */ addi r6, r1, 0x40 +/* 801464E8 00143448 90 01 00 0C */ stw r0, 0xc(r1) +/* 801464EC 0014344C 38 E1 00 38 */ addi r7, r1, 0x38 +/* 801464F0 00143450 39 01 00 30 */ addi r8, r1, 0x30 +/* 801464F4 00143454 39 21 00 28 */ addi r9, r1, 0x28 +/* 801464F8 00143458 39 41 00 20 */ addi r10, r1, 0x20 +/* 801464FC 0014345C 38 80 00 0D */ li r4, 0xd +/* 80146500 00143460 4B F3 6D C5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80146504 00143464 80 BF 09 00 */ lwz r5, 0x900(r31) +/* 80146508 00143468 7F C3 F3 78 */ mr r3, r30 +/* 8014650C 0014346C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80146510 00143470 4B FF 3E 99 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 80146514 00143474 34 A1 00 54 */ addic. r5, r1, 0x54 +/* 80146518 00143478 41 82 00 6C */ beq lbl_80146584 +/* 8014651C 0014347C 80 C5 00 00 */ lwz r6, 0(r5) +/* 80146520 00143480 38 60 00 00 */ li r3, 0 +/* 80146524 00143484 2C 06 00 00 */ cmpwi r6, 0 +/* 80146528 00143488 40 81 00 40 */ ble lbl_80146568 +/* 8014652C 0014348C 2C 06 00 08 */ cmpwi r6, 8 +/* 80146530 00143490 38 86 FF F8 */ addi r4, r6, -8 +/* 80146534 00143494 40 81 00 20 */ ble lbl_80146554 +/* 80146538 00143498 38 04 00 07 */ addi r0, r4, 7 +/* 8014653C 0014349C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80146540 001434A0 7C 09 03 A6 */ mtctr r0 +/* 80146544 001434A4 2C 04 00 00 */ cmpwi r4, 0 +/* 80146548 001434A8 40 81 00 0C */ ble lbl_80146554 +lbl_8014654C: +/* 8014654C 001434AC 38 63 00 08 */ addi r3, r3, 8 +/* 80146550 001434B0 42 00 FF FC */ bdnz lbl_8014654C +lbl_80146554: +/* 80146554 001434B4 7C 03 30 50 */ subf r0, r3, r6 +/* 80146558 001434B8 7C 09 03 A6 */ mtctr r0 +/* 8014655C 001434BC 7C 03 30 00 */ cmpw r3, r6 +/* 80146560 001434C0 40 80 00 08 */ bge lbl_80146568 +lbl_80146564: +/* 80146564 001434C4 42 00 00 00 */ bdnz lbl_80146564 +lbl_80146568: +/* 80146568 001434C8 38 00 00 00 */ li r0, 0 +/* 8014656C 001434CC 90 05 00 00 */ stw r0, 0(r5) +/* 80146570 001434D0 48 00 00 14 */ b lbl_80146584 +lbl_80146574: +/* 80146574 001434D4 7F A3 EB 78 */ mr r3, r29 +/* 80146578 001434D8 7F E4 FB 78 */ mr r4, r31 +/* 8014657C 001434DC 7F C5 F3 78 */ mr r5, r30 +/* 80146580 001434E0 4B FF FA B1 */ bl PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController +lbl_80146584: +/* 80146584 001434E4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80146588 001434E8 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8014658C 001434EC 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80146590 001434F0 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 80146594 001434F4 7C 08 03 A6 */ mtlr r0 +/* 80146598 001434F8 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8014659C 001434FC 4E 80 00 20 */ blr + +.global CanShoot__7CBSJumpCFv +CanShoot__7CBSJumpCFv: +/* 801465A0 00143500 80 03 00 04 */ lwz r0, 4(r3) +/* 801465A4 00143504 38 60 00 00 */ li r3, 0 +/* 801465A8 00143508 2C 00 00 01 */ cmpwi r0, 1 +/* 801465AC 0014350C 41 82 00 0C */ beq lbl_801465B8 +/* 801465B0 00143510 2C 00 00 02 */ cmpwi r0, 2 +/* 801465B4 00143514 4C 82 00 20 */ bnelr +lbl_801465B8: +/* 801465B8 00143518 38 60 00 01 */ li r3, 1 +/* 801465BC 0014351C 4E 80 00 20 */ blr + +.global ApplyAnimationDeltas__7CBSJumpCFv +ApplyAnimationDeltas__7CBSJumpCFv: +/* 801465C0 00143520 80 03 00 04 */ lwz r0, 4(r3) +/* 801465C4 00143524 38 60 00 00 */ li r3, 0 +/* 801465C8 00143528 2C 00 00 01 */ cmpwi r0, 1 +/* 801465CC 0014352C 4D 82 00 20 */ beqlr +/* 801465D0 00143530 2C 00 00 02 */ cmpwi r0, 2 +/* 801465D4 00143534 4D 82 00 20 */ beqlr +/* 801465D8 00143538 38 60 00 01 */ li r3, 1 +/* 801465DC 0014353C 4E 80 00 20 */ blr + +.global IsInAir__7CBSJumpCFRC15CBodyController +IsInAir__7CBSJumpCFRC15CBodyController: +/* 801465E0 00143540 80 03 00 04 */ lwz r0, 4(r3) +/* 801465E4 00143544 38 60 00 00 */ li r3, 0 +/* 801465E8 00143548 2C 00 00 01 */ cmpwi r0, 1 +/* 801465EC 0014354C 41 82 00 0C */ beq lbl_801465F8 +/* 801465F0 00143550 2C 00 00 02 */ cmpwi r0, 2 +/* 801465F4 00143554 4C 82 00 20 */ bnelr +lbl_801465F8: +/* 801465F8 00143558 38 60 00 01 */ li r3, 1 +/* 801465FC 0014355C 4E 80 00 20 */ blr + +.global __ct__7CBSJumpFv +__ct__7CBSJumpFv: +/* 80146600 00143560 3C C0 80 3E */ lis r6, lbl_803E1318@ha +/* 80146604 00143564 3C A0 80 3E */ lis r5, lbl_803E2008@ha +/* 80146608 00143568 38 06 13 18 */ addi r0, r6, lbl_803E1318@l +/* 8014660C 0014356C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80146610 00143570 90 03 00 00 */ stw r0, 0(r3) +/* 80146614 00143574 38 C5 20 08 */ addi r6, r5, lbl_803E2008@l +/* 80146618 00143578 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8014661C 0014357C 38 00 FF FF */ li r0, -1 +/* 80146620 00143580 90 C3 00 00 */ stw r6, 0(r3) +/* 80146624 00143584 38 80 00 00 */ li r4, 0 +/* 80146628 00143588 90 03 00 04 */ stw r0, 4(r3) +/* 8014662C 0014358C C0 05 00 00 */ lfs f0, 0(r5) +/* 80146630 00143590 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80146634 00143594 C0 05 00 04 */ lfs f0, 4(r5) +/* 80146638 00143598 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8014663C 0014359C C0 05 00 08 */ lfs f0, 8(r5) +/* 80146640 001435A0 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80146644 001435A4 C0 05 00 00 */ lfs f0, 0(r5) +/* 80146648 001435A8 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8014664C 001435AC C0 05 00 04 */ lfs f0, 4(r5) +/* 80146650 001435B0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80146654 001435B4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80146658 001435B8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8014665C 001435BC C0 05 00 00 */ lfs f0, 0(r5) +/* 80146660 001435C0 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80146664 001435C4 C0 05 00 04 */ lfs f0, 4(r5) +/* 80146668 001435C8 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8014666C 001435CC C0 05 00 08 */ lfs f0, 8(r5) +/* 80146670 001435D0 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80146674 001435D4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80146678 001435D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8014667C 001435DC 98 03 00 30 */ stb r0, 0x30(r3) +/* 80146680 001435E0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80146684 001435E4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80146688 001435E8 98 03 00 30 */ stb r0, 0x30(r3) +/* 8014668C 001435EC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80146690 001435F0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80146694 001435F4 98 03 00 30 */ stb r0, 0x30(r3) +/* 80146698 001435F8 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8014669C 001435FC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 801466A0 00143600 98 03 00 30 */ stb r0, 0x30(r3) +/* 801466A4 00143604 88 03 00 30 */ lbz r0, 0x30(r3) +/* 801466A8 00143608 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 801466AC 0014360C 98 03 00 30 */ stb r0, 0x30(r3) +/* 801466B0 00143610 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSKnockBack.s b/asm/Kyoto_CWD/BodyState/CBSKnockBack.s new file mode 100644 index 00000000..ea33b310 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSKnockBack.s @@ -0,0 +1,421 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__12CBSKnockBackFv +__dt__12CBSKnockBackFv: +/* 801361FC 0013315C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80136200 00133160 7C 08 02 A6 */ mflr r0 +/* 80136204 00133164 90 01 00 14 */ stw r0, 0x14(r1) +/* 80136208 00133168 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013620C 0013316C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80136210 00133170 41 82 00 30 */ beq lbl_80136240 +/* 80136214 00133174 3C 60 80 3E */ lis r3, lbl_803E1450@ha +/* 80136218 00133178 38 03 14 50 */ addi r0, r3, lbl_803E1450@l +/* 8013621C 0013317C 90 1F 00 00 */ stw r0, 0(r31) +/* 80136220 00133180 41 82 00 10 */ beq lbl_80136230 +/* 80136224 00133184 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80136228 00133188 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 8013622C 0013318C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80136230: +/* 80136230 00133190 7C 80 07 35 */ extsh. r0, r4 +/* 80136234 00133194 40 81 00 0C */ ble lbl_80136240 +/* 80136238 00133198 7F E3 FB 78 */ mr r3, r31 +/* 8013623C 0013319C 48 1D F6 F5 */ bl Free__7CMemoryFPCv +lbl_80136240: +/* 80136240 001331A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80136244 001331A4 7F E3 FB 78 */ mr r3, r31 +/* 80136248 001331A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013624C 001331AC 7C 08 03 A6 */ mtlr r0 +/* 80136250 001331B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80136254 001331B4 4E 80 00 20 */ blr + +.global IsMoving__12CBSKnockBackCFv +IsMoving__12CBSKnockBackCFv: +/* 80136258 001331B8 38 60 00 01 */ li r3, 1 +/* 8013625C 001331BC 4E 80 00 20 */ blr + +.global GetBodyStateTransition__12CBSKnockBackFfR15CBodyController +GetBodyStateTransition__12CBSKnockBackFfR15CBodyController: +/* 80136260 001331C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80136264 001331C4 7C 08 02 A6 */ mflr r0 +/* 80136268 001331C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013626C 001331CC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80136270 001331D0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80136274 001331D4 7C 9E 23 78 */ mr r30, r4 +/* 80136278 001331D8 3B FE 00 04 */ addi r31, r30, 4 +/* 8013627C 001331DC 38 80 00 0F */ li r4, 0xf +/* 80136280 001331E0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80136284 001331E4 7C 7D 1B 78 */ mr r29, r3 +/* 80136288 001331E8 7F E3 FB 78 */ mr r3, r31 +/* 8013628C 001331EC 4B FF B1 C5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80136290 001331F0 28 03 00 00 */ cmplwi r3, 0 +/* 80136294 001331F4 41 82 00 0C */ beq lbl_801362A0 +/* 80136298 001331F8 38 60 00 0E */ li r3, 0xe +/* 8013629C 001331FC 48 00 00 80 */ b lbl_8013631C +lbl_801362A0: +/* 801362A0 00133200 7F E3 FB 78 */ mr r3, r31 +/* 801362A4 00133204 38 80 00 03 */ li r4, 3 +/* 801362A8 00133208 4B FF B1 A9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801362AC 0013320C 28 03 00 00 */ cmplwi r3, 0 +/* 801362B0 00133210 41 82 00 0C */ beq lbl_801362BC +/* 801362B4 00133214 38 60 00 00 */ li r3, 0 +/* 801362B8 00133218 48 00 00 64 */ b lbl_8013631C +lbl_801362BC: +/* 801362BC 0013321C 7F E3 FB 78 */ mr r3, r31 +/* 801362C0 00133220 38 80 00 09 */ li r4, 9 +/* 801362C4 00133224 4B FF B1 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801362C8 00133228 28 03 00 00 */ cmplwi r3, 0 +/* 801362CC 0013322C 41 82 00 0C */ beq lbl_801362D8 +/* 801362D0 00133230 38 60 00 0A */ li r3, 0xa +/* 801362D4 00133234 48 00 00 48 */ b lbl_8013631C +lbl_801362D8: +/* 801362D8 00133238 7F E3 FB 78 */ mr r3, r31 +/* 801362DC 0013323C 38 80 00 04 */ li r4, 4 +/* 801362E0 00133240 4B FF B1 71 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801362E4 00133244 28 03 00 00 */ cmplwi r3, 0 +/* 801362E8 00133248 41 82 00 1C */ beq lbl_80136304 +/* 801362EC 0013324C C0 3D 00 04 */ lfs f1, 4(r29) +/* 801362F0 00133250 C0 02 99 F8 */ lfs f0, lbl_805AB718@sda21(r2) +/* 801362F4 00133254 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801362F8 00133258 40 81 00 0C */ ble lbl_80136304 +/* 801362FC 0013325C 38 60 00 06 */ li r3, 6 +/* 80136300 00133260 48 00 00 1C */ b lbl_8013631C +lbl_80136304: +/* 80136304 00133264 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 80136308 00133268 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013630C 0013326C 41 82 00 0C */ beq lbl_80136318 +/* 80136310 00133270 38 60 00 05 */ li r3, 5 +/* 80136314 00133274 48 00 00 08 */ b lbl_8013631C +lbl_80136318: +/* 80136318 00133278 38 60 FF FF */ li r3, -1 +lbl_8013631C: +/* 8013631C 0013327C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80136320 00133280 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80136324 00133284 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80136328 00133288 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8013632C 0013328C 7C 08 03 A6 */ mtlr r0 +/* 80136330 00133290 38 21 00 20 */ addi r1, r1, 0x20 +/* 80136334 00133294 4E 80 00 20 */ blr + +.global Shutdown__12CBSKnockBackFR15CBodyController +Shutdown__12CBSKnockBackFR15CBodyController: +/* 80136338 00133298 4E 80 00 20 */ blr + +.global UpdateBody__12CBSKnockBackFfR15CBodyControllerR13CStateManager +UpdateBody__12CBSKnockBackFfR15CBodyControllerR13CStateManager: +/* 8013633C 0013329C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80136340 001332A0 7C 08 02 A6 */ mflr r0 +/* 80136344 001332A4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80136348 001332A8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8013634C 001332AC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80136350 001332B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80136354 001332B4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80136358 001332B8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8013635C 001332BC FF E0 08 90 */ fmr f31, f1 +/* 80136360 001332C0 7C 7D 1B 78 */ mr r29, r3 +/* 80136364 001332C4 7C 9E 23 78 */ mr r30, r4 +/* 80136368 001332C8 4B FF FE F9 */ bl GetBodyStateTransition__12CBSKnockBackFfR15CBodyController +/* 8013636C 001332CC 7C 7F 1B 78 */ mr r31, r3 +/* 80136370 001332D0 2C 1F FF FF */ cmpwi r31, -1 +/* 80136374 001332D4 40 82 00 50 */ bne lbl_801363C4 +/* 80136378 001332D8 C0 3D 00 04 */ lfs f1, 4(r29) +/* 8013637C 001332DC C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) +/* 80136380 001332E0 EC 21 F8 2A */ fadds f1, f1, f31 +/* 80136384 001332E4 D0 3D 00 04 */ stfs f1, 4(r29) +/* 80136388 001332E8 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 8013638C 001332EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80136390 001332F0 40 81 00 34 */ ble lbl_801363C4 +/* 80136394 001332F4 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80136398 001332F8 38 61 00 0C */ addi r3, r1, 0xc +/* 8013639C 001332FC 38 81 00 08 */ addi r4, r1, 8 +/* 801363A0 00133300 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 801363A4 00133304 D0 01 00 08 */ stfs f0, 8(r1) +/* 801363A8 00133308 48 1D AD 51 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 801363AC 0013330C 7F C3 F3 78 */ mr r3, r30 +/* 801363B0 00133310 38 81 00 0C */ addi r4, r1, 0xc +/* 801363B4 00133314 48 00 44 55 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion +/* 801363B8 00133318 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 801363BC 0013331C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 801363C0 00133320 D0 1D 00 0C */ stfs f0, 0xc(r29) +lbl_801363C4: +/* 801363C4 00133324 7F E3 FB 78 */ mr r3, r31 +/* 801363C8 00133328 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 801363CC 0013332C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 801363D0 00133330 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 801363D4 00133334 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 801363D8 00133338 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 801363DC 0013333C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 801363E0 00133340 7C 08 03 A6 */ mtlr r0 +/* 801363E4 00133344 38 21 00 40 */ addi r1, r1, 0x40 +/* 801363E8 00133348 4E 80 00 20 */ blr + +.global Start__12CBSKnockBackFR15CBodyControllerR13CStateManager +Start__12CBSKnockBackFR15CBodyControllerR13CStateManager: +/* 801363EC 0013334C 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 801363F0 00133350 7C 08 02 A6 */ mflr r0 +/* 801363F4 00133354 90 01 01 54 */ stw r0, 0x154(r1) +/* 801363F8 00133358 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 801363FC 0013335C F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 80136400 00133360 BF 61 01 2C */ stmw r27, 0x12c(r1) +/* 80136404 00133364 7C 9F 23 78 */ mr r31, r4 +/* 80136408 00133368 7C 7E 1B 78 */ mr r30, r3 +/* 8013640C 0013336C 7C BB 2B 78 */ mr r27, r5 +/* 80136410 00133370 38 80 00 04 */ li r4, 4 +/* 80136414 00133374 38 7F 00 04 */ addi r3, r31, 4 +/* 80136418 00133378 4B FF B0 39 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013641C 0013337C 80 9F 00 00 */ lwz r4, 0(r31) +/* 80136420 00133380 7C 7D 1B 78 */ mr r29, r3 +/* 80136424 00133384 38 61 00 80 */ addi r3, r1, 0x80 +/* 80136428 00133388 38 84 00 34 */ addi r4, r4, 0x34 +/* 8013642C 0013338C 38 BD 00 08 */ addi r5, r29, 8 +/* 80136430 00133390 48 1D C5 F5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80136434 00133394 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 80136438 00133398 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 8013643C 0013339C 48 25 E8 31 */ bl atan2 +/* 80136440 001333A0 FC 80 08 18 */ frsp f4, f1 +/* 80136444 001333A4 C0 02 9A 00 */ lfs f0, lbl_805AB720@sda21(r2) +/* 80136448 001333A8 3C 00 43 30 */ lis r0, 0x4330 +/* 8013644C 001333AC C8 62 9A 20 */ lfd f3, lbl_805AB740@sda21(r2) +/* 80136450 001333B0 90 01 01 08 */ stw r0, 0x108(r1) +/* 80136454 001333B4 EC 44 00 32 */ fmuls f2, f4, f0 +/* 80136458 001333B8 C0 22 9A 04 */ lfs f1, lbl_805AB724@sda21(r2) +/* 8013645C 001333BC C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) +/* 80136460 001333C0 FC 40 10 1E */ fctiwz f2, f2 +/* 80136464 001333C4 D8 41 01 00 */ stfd f2, 0x100(r1) +/* 80136468 001333C8 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8013646C 001333CC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80136470 001333D0 90 01 01 0C */ stw r0, 0x10c(r1) +/* 80136474 001333D4 C8 41 01 08 */ lfd f2, 0x108(r1) +/* 80136478 001333D8 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8013647C 001333DC EF E2 20 7C */ fnmsubs f31, f2, f1, f4 +/* 80136480 001333E0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80136484 001333E4 40 80 00 08 */ bge lbl_8013648C +/* 80136488 001333E8 EF FF 08 2A */ fadds f31, f31, f1 +lbl_8013648C: +/* 8013648C 001333EC 7F E3 FB 78 */ mr r3, r31 +/* 80136490 001333F0 48 00 3F C5 */ bl GetPASDatabase__15CBodyControllerCFv +/* 80136494 001333F4 83 BD 00 14 */ lwz r29, 0x14(r29) +/* 80136498 001333F8 7C 7C 1B 78 */ mr r28, r3 +/* 8013649C 001333FC 38 61 00 30 */ addi r3, r1, 0x30 +/* 801364A0 00133400 48 1A CB DD */ bl NoParameter__12CPASAnimParmFv +/* 801364A4 00133404 38 61 00 38 */ addi r3, r1, 0x38 +/* 801364A8 00133408 48 1A CB D5 */ bl NoParameter__12CPASAnimParmFv +/* 801364AC 0013340C 38 61 00 40 */ addi r3, r1, 0x40 +/* 801364B0 00133410 48 1A CB CD */ bl NoParameter__12CPASAnimParmFv +/* 801364B4 00133414 38 61 00 48 */ addi r3, r1, 0x48 +/* 801364B8 00133418 48 1A CB C5 */ bl NoParameter__12CPASAnimParmFv +/* 801364BC 0013341C 38 61 00 50 */ addi r3, r1, 0x50 +/* 801364C0 00133420 48 1A CB BD */ bl NoParameter__12CPASAnimParmFv +/* 801364C4 00133424 38 61 00 58 */ addi r3, r1, 0x58 +/* 801364C8 00133428 48 1A CB B5 */ bl NoParameter__12CPASAnimParmFv +/* 801364CC 0013342C 7F A4 EB 78 */ mr r4, r29 +/* 801364D0 00133430 38 61 00 60 */ addi r3, r1, 0x60 +/* 801364D4 00133434 48 1A CA B1 */ bl FromEnum__12CPASAnimParmFi +/* 801364D8 00133438 C0 02 9A 08 */ lfs f0, lbl_805AB728@sda21(r2) +/* 801364DC 0013343C 38 61 00 68 */ addi r3, r1, 0x68 +/* 801364E0 00133440 EC 20 07 F2 */ fmuls f1, f0, f31 +/* 801364E4 00133444 48 1A CB 05 */ bl FromReal32__12CPASAnimParmFf +/* 801364E8 00133448 38 61 00 38 */ addi r3, r1, 0x38 +/* 801364EC 0013344C 38 01 00 30 */ addi r0, r1, 0x30 +/* 801364F0 00133450 90 61 00 08 */ stw r3, 8(r1) +/* 801364F4 00133454 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 801364F8 00133458 38 A1 00 68 */ addi r5, r1, 0x68 +/* 801364FC 0013345C 38 C1 00 60 */ addi r6, r1, 0x60 +/* 80136500 00133460 90 01 00 0C */ stw r0, 0xc(r1) +/* 80136504 00133464 38 E1 00 58 */ addi r7, r1, 0x58 +/* 80136508 00133468 39 01 00 50 */ addi r8, r1, 0x50 +/* 8013650C 0013346C 39 21 00 48 */ addi r9, r1, 0x48 +/* 80136510 00133470 39 41 00 40 */ addi r10, r1, 0x40 +/* 80136514 00133474 38 80 00 06 */ li r4, 6 +/* 80136518 00133478 4B F4 6D AD */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013651C 0013347C 80 DB 09 00 */ lwz r6, 0x900(r27) +/* 80136520 00133480 7F 84 E3 78 */ mr r4, r28 +/* 80136524 00133484 38 61 00 28 */ addi r3, r1, 0x28 +/* 80136528 00133488 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 8013652C 0013348C 38 E0 FF FF */ li r7, -1 +/* 80136530 00133490 48 1A EB 31 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 80136534 00133494 83 A1 00 2C */ lwz r29, 0x2c(r1) +/* 80136538 00133498 38 00 00 00 */ li r0, 0 +/* 8013653C 0013349C C0 02 9A 0C */ lfs f0, lbl_805AB72C@sda21(r2) +/* 80136540 001334A0 38 A0 FF FF */ li r5, -1 +/* 80136544 001334A4 38 E0 00 01 */ li r7, 1 +/* 80136548 001334A8 93 A1 00 8C */ stw r29, 0x8c(r1) +/* 8013654C 001334AC 7F E3 FB 78 */ mr r3, r31 +/* 80136550 001334B0 38 81 00 8C */ addi r4, r1, 0x8c +/* 80136554 001334B4 90 A1 00 90 */ stw r5, 0x90(r1) +/* 80136558 001334B8 38 A0 00 00 */ li r5, 0 +/* 8013655C 001334BC 38 C0 00 00 */ li r6, 0 +/* 80136560 001334C0 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 80136564 001334C4 98 E1 00 98 */ stb r7, 0x98(r1) +/* 80136568 001334C8 90 01 00 9C */ stw r0, 0x9c(r1) +/* 8013656C 001334CC 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80136570 001334D0 98 01 00 A4 */ stb r0, 0xa4(r1) +/* 80136574 001334D4 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80136578 001334D8 90 01 00 AC */ stw r0, 0xac(r1) +/* 8013657C 001334DC 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80136580 001334E0 48 00 43 9D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80136584 001334E4 7F 83 E3 78 */ mr r3, r28 +/* 80136588 001334E8 38 80 00 06 */ li r4, 6 +/* 8013658C 001334EC 48 1A E9 39 */ bl GetAnimState__12CPASDatabaseCFi +/* 80136590 001334F0 7C 7C 1B 78 */ mr r28, r3 +/* 80136594 001334F4 7F A5 EB 78 */ mr r5, r29 +/* 80136598 001334F8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013659C 001334FC 38 C0 00 02 */ li r6, 2 +/* 801365A0 00133500 7F 84 E3 78 */ mr r4, r28 +/* 801365A4 00133504 48 1A DA 51 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 801365A8 00133508 80 81 00 20 */ lwz r4, 0x20(r1) +/* 801365AC 0013350C 38 61 00 78 */ addi r3, r1, 0x78 +/* 801365B0 00133510 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801365B4 00133514 90 81 00 78 */ stw r4, 0x78(r1) +/* 801365B8 00133518 90 01 00 7C */ stw r0, 0x7c(r1) +/* 801365BC 0013351C 48 1A C9 A9 */ bl GetBoolValue__12CPASAnimParmCFv +/* 801365C0 00133520 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801365C4 00133524 40 82 01 50 */ bne lbl_80136714 +/* 801365C8 00133528 7F 84 E3 78 */ mr r4, r28 +/* 801365CC 0013352C 7F A5 EB 78 */ mr r5, r29 +/* 801365D0 00133530 38 61 00 18 */ addi r3, r1, 0x18 +/* 801365D4 00133534 38 C0 00 00 */ li r6, 0 +/* 801365D8 00133538 48 1A DA 1D */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 801365DC 0013353C 80 81 00 18 */ lwz r4, 0x18(r1) +/* 801365E0 00133540 38 61 00 70 */ addi r3, r1, 0x70 +/* 801365E4 00133544 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 801365E8 00133548 90 81 00 70 */ stw r4, 0x70(r1) +/* 801365EC 0013354C 90 01 00 74 */ stw r0, 0x74(r1) +/* 801365F0 00133550 48 1A C9 7D */ bl GetReal32Value__12CPASAnimParmCFv +/* 801365F4 00133554 C0 02 9A 10 */ lfs f0, lbl_805AB730@sda21(r2) +/* 801365F8 00133558 3C 00 43 30 */ lis r0, 0x4330 +/* 801365FC 0013355C C0 42 9A 00 */ lfs f2, lbl_805AB720@sda21(r2) +/* 80136600 00133560 EC A0 00 72 */ fmuls f5, f0, f1 +/* 80136604 00133564 90 01 01 00 */ stw r0, 0x100(r1) +/* 80136608 00133568 C8 62 9A 20 */ lfd f3, lbl_805AB740@sda21(r2) +/* 8013660C 0013356C C0 22 9A 04 */ lfs f1, lbl_805AB724@sda21(r2) +/* 80136610 00133570 EC 9F 28 28 */ fsubs f4, f31, f5 +/* 80136614 00133574 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) +/* 80136618 00133578 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8013661C 0013357C FC 40 10 1E */ fctiwz f2, f2 +/* 80136620 00133580 D8 41 01 08 */ stfd f2, 0x108(r1) +/* 80136624 00133584 80 01 01 0C */ lwz r0, 0x10c(r1) +/* 80136628 00133588 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8013662C 0013358C 90 01 01 04 */ stw r0, 0x104(r1) +/* 80136630 00133590 C8 41 01 00 */ lfd f2, 0x100(r1) +/* 80136634 00133594 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80136638 00133598 EC C2 20 7C */ fnmsubs f6, f2, f1, f4 +/* 8013663C 0013359C FC 80 30 90 */ fmr f4, f6 +/* 80136640 001335A0 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80136644 001335A4 40 80 00 08 */ bge lbl_8013664C +/* 80136648 001335A8 EC 86 08 2A */ fadds f4, f6, f1 +lbl_8013664C: +/* 8013664C 001335AC EC A5 F8 28 */ fsubs f5, f5, f31 +/* 80136650 001335B0 C0 02 9A 00 */ lfs f0, lbl_805AB720@sda21(r2) +/* 80136654 001335B4 3C 00 43 30 */ lis r0, 0x4330 +/* 80136658 001335B8 C8 62 9A 20 */ lfd f3, lbl_805AB740@sda21(r2) +/* 8013665C 001335BC 90 01 01 18 */ stw r0, 0x118(r1) +/* 80136660 001335C0 EC 45 00 32 */ fmuls f2, f5, f0 +/* 80136664 001335C4 C0 22 9A 04 */ lfs f1, lbl_805AB724@sda21(r2) +/* 80136668 001335C8 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) +/* 8013666C 001335CC FC 40 10 1E */ fctiwz f2, f2 +/* 80136670 001335D0 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 80136674 001335D4 D8 41 01 10 */ stfd f2, 0x110(r1) +/* 80136678 001335D8 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8013667C 001335DC 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80136680 001335E0 90 01 01 1C */ stw r0, 0x11c(r1) +/* 80136684 001335E4 C8 41 01 18 */ lfd f2, 0x118(r1) +/* 80136688 001335E8 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8013668C 001335EC EC 42 28 7C */ fnmsubs f2, f2, f1, f5 +/* 80136690 001335F0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80136694 001335F4 40 80 00 08 */ bge lbl_8013669C +/* 80136698 001335F8 EC 42 08 2A */ fadds f2, f2, f1 +lbl_8013669C: +/* 8013669C 001335FC FC 02 20 40 */ fcmpo cr0, f2, f4 +/* 801366A0 00133600 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 801366A4 00133604 40 80 00 0C */ bge lbl_801366B0 +/* 801366A8 00133608 38 61 00 10 */ addi r3, r1, 0x10 +/* 801366AC 0013360C 48 00 00 08 */ b lbl_801366B4 +lbl_801366B0: +/* 801366B0 00133610 38 61 00 14 */ addi r3, r1, 0x14 +lbl_801366B4: +/* 801366B4 00133614 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) +/* 801366B8 00133618 C0 23 00 00 */ lfs f1, 0(r3) +/* 801366BC 0013361C FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 801366C0 00133620 40 80 00 0C */ bge lbl_801366CC +/* 801366C4 00133624 C0 02 9A 04 */ lfs f0, lbl_805AB724@sda21(r2) +/* 801366C8 00133628 EC C6 00 2A */ fadds f6, f6, f0 +lbl_801366CC: +/* 801366CC 0013362C C0 02 9A 14 */ lfs f0, lbl_805AB734@sda21(r2) +/* 801366D0 00133630 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 801366D4 00133634 40 81 00 0C */ ble lbl_801366E0 +/* 801366D8 00133638 FF E0 08 50 */ fneg f31, f1 +/* 801366DC 0013363C 48 00 00 08 */ b lbl_801366E4 +lbl_801366E0: +/* 801366E0 00133640 FF E0 08 90 */ fmr f31, f1 +lbl_801366E4: +/* 801366E4 00133644 7F E3 FB 78 */ mr r3, r31 +/* 801366E8 00133648 48 00 41 D1 */ bl GetAnimTimeRemaining__15CBodyControllerCFv +/* 801366EC 0013364C C0 42 9A 18 */ lfs f2, lbl_805AB738@sda21(r2) +/* 801366F0 00133650 C0 02 9A 1C */ lfs f0, lbl_805AB73C@sda21(r2) +/* 801366F4 00133654 EC 22 00 72 */ fmuls f1, f2, f1 +/* 801366F8 00133658 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 801366FC 0013365C C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 80136700 00133660 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80136704 00133664 40 81 00 08 */ ble lbl_8013670C +/* 80136708 00133668 EF FF 08 24 */ fdivs f31, f31, f1 +lbl_8013670C: +/* 8013670C 0013366C D3 FE 00 08 */ stfs f31, 8(r30) +/* 80136710 00133670 48 00 00 10 */ b lbl_80136720 +lbl_80136714: +/* 80136714 00133674 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) +/* 80136718 00133678 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8013671C 0013367C D0 1E 00 08 */ stfs f0, 8(r30) +lbl_80136720: +/* 80136720 00133680 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) +/* 80136724 00133684 34 A1 00 B8 */ addic. r5, r1, 0xb8 +/* 80136728 00133688 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8013672C 0013368C 41 82 00 58 */ beq lbl_80136784 +/* 80136730 00133690 80 C5 00 00 */ lwz r6, 0(r5) +/* 80136734 00133694 38 60 00 00 */ li r3, 0 +/* 80136738 00133698 2C 06 00 00 */ cmpwi r6, 0 +/* 8013673C 0013369C 40 81 00 40 */ ble lbl_8013677C +/* 80136740 001336A0 2C 06 00 08 */ cmpwi r6, 8 +/* 80136744 001336A4 38 86 FF F8 */ addi r4, r6, -8 +/* 80136748 001336A8 40 81 00 20 */ ble lbl_80136768 +/* 8013674C 001336AC 38 04 00 07 */ addi r0, r4, 7 +/* 80136750 001336B0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80136754 001336B4 7C 09 03 A6 */ mtctr r0 +/* 80136758 001336B8 2C 04 00 00 */ cmpwi r4, 0 +/* 8013675C 001336BC 40 81 00 0C */ ble lbl_80136768 +lbl_80136760: +/* 80136760 001336C0 38 63 00 08 */ addi r3, r3, 8 +/* 80136764 001336C4 42 00 FF FC */ bdnz lbl_80136760 +lbl_80136768: +/* 80136768 001336C8 7C 03 30 50 */ subf r0, r3, r6 +/* 8013676C 001336CC 7C 09 03 A6 */ mtctr r0 +/* 80136770 001336D0 7C 03 30 00 */ cmpw r3, r6 +/* 80136774 001336D4 40 80 00 08 */ bge lbl_8013677C +lbl_80136778: +/* 80136778 001336D8 42 00 00 00 */ bdnz lbl_80136778 +lbl_8013677C: +/* 8013677C 001336DC 38 00 00 00 */ li r0, 0 +/* 80136780 001336E0 90 05 00 00 */ stw r0, 0(r5) +lbl_80136784: +/* 80136784 001336E4 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 80136788 001336E8 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 8013678C 001336EC BB 61 01 2C */ lmw r27, 0x12c(r1) +/* 80136790 001336F0 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80136794 001336F4 7C 08 03 A6 */ mtlr r0 +/* 80136798 001336F8 38 21 01 50 */ addi r1, r1, 0x150 +/* 8013679C 001336FC 4E 80 00 20 */ blr + +.global __ct__12CBSKnockBackFv +__ct__12CBSKnockBackFv: +/* 801367A0 00133700 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 801367A4 00133704 3C 80 80 3E */ lis r4, lbl_803E1450@ha +/* 801367A8 00133708 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l +/* 801367AC 0013370C C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) +/* 801367B0 00133710 90 A3 00 00 */ stw r5, 0(r3) +/* 801367B4 00133714 38 04 14 50 */ addi r0, r4, lbl_803E1450@l +/* 801367B8 00133718 90 03 00 00 */ stw r0, 0(r3) +/* 801367BC 0013371C D0 03 00 04 */ stfs f0, 4(r3) +/* 801367C0 00133720 D0 03 00 08 */ stfs f0, 8(r3) +/* 801367C4 00133724 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 801367C8 00133728 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSLieOnGround.s b/asm/Kyoto_CWD/BodyState/CBSLieOnGround.s new file mode 100644 index 00000000..e196946c --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSLieOnGround.s @@ -0,0 +1,259 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__14CBSLieOnGroundFv +__dt__14CBSLieOnGroundFv: +/* 801367CC 0013372C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801367D0 00133730 7C 08 02 A6 */ mflr r0 +/* 801367D4 00133734 90 01 00 14 */ stw r0, 0x14(r1) +/* 801367D8 00133738 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801367DC 0013373C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 801367E0 00133740 41 82 00 30 */ beq lbl_80136810 +/* 801367E4 00133744 3C 60 80 3E */ lis r3, lbl_803E1488@ha +/* 801367E8 00133748 38 03 14 88 */ addi r0, r3, lbl_803E1488@l +/* 801367EC 0013374C 90 1F 00 00 */ stw r0, 0(r31) +/* 801367F0 00133750 41 82 00 10 */ beq lbl_80136800 +/* 801367F4 00133754 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 801367F8 00133758 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 801367FC 0013375C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80136800: +/* 80136800 00133760 7C 80 07 35 */ extsh. r0, r4 +/* 80136804 00133764 40 81 00 0C */ ble lbl_80136810 +/* 80136808 00133768 7F E3 FB 78 */ mr r3, r31 +/* 8013680C 0013376C 48 1D F1 25 */ bl Free__7CMemoryFPCv +lbl_80136810: +/* 80136810 00133770 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80136814 00133774 7F E3 FB 78 */ mr r3, r31 +/* 80136818 00133778 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013681C 0013377C 7C 08 03 A6 */ mtlr r0 +/* 80136820 00133780 38 21 00 10 */ addi r1, r1, 0x10 +/* 80136824 00133784 4E 80 00 20 */ blr + +.global GetBodyStateTransition__14CBSLieOnGroundFfR15CBodyController +GetBodyStateTransition__14CBSLieOnGroundFfR15CBodyController: +/* 80136828 00133788 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013682C 0013378C 7C 08 02 A6 */ mflr r0 +/* 80136830 00133790 90 01 00 14 */ stw r0, 0x14(r1) +/* 80136834 00133794 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80136838 00133798 3B E4 00 04 */ addi r31, r4, 4 +/* 8013683C 0013379C 38 80 00 02 */ li r4, 2 +/* 80136840 001337A0 93 C1 00 08 */ stw r30, 8(r1) +/* 80136844 001337A4 7C 7E 1B 78 */ mr r30, r3 +/* 80136848 001337A8 7F E3 FB 78 */ mr r3, r31 +/* 8013684C 001337AC 4B FF AC 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80136850 001337B0 28 03 00 00 */ cmplwi r3, 0 +/* 80136854 001337B4 41 82 00 0C */ beq lbl_80136860 +/* 80136858 001337B8 38 60 00 04 */ li r3, 4 +/* 8013685C 001337BC 48 00 00 60 */ b lbl_801368BC +lbl_80136860: +/* 80136860 001337C0 88 1E 00 04 */ lbz r0, 4(r30) +/* 80136864 001337C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80136868 001337C8 41 82 00 20 */ beq lbl_80136888 +/* 8013686C 001337CC 7F E3 FB 78 */ mr r3, r31 +/* 80136870 001337D0 38 80 00 04 */ li r4, 4 +/* 80136874 001337D4 4B FF AB DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80136878 001337D8 28 03 00 00 */ cmplwi r3, 0 +/* 8013687C 001337DC 41 82 00 0C */ beq lbl_80136888 +/* 80136880 001337E0 38 60 00 0B */ li r3, 0xb +/* 80136884 001337E4 48 00 00 38 */ b lbl_801368BC +lbl_80136888: +/* 80136888 001337E8 7F E3 FB 78 */ mr r3, r31 +/* 8013688C 001337EC 38 80 00 16 */ li r4, 0x16 +/* 80136890 001337F0 4B FF AB C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80136894 001337F4 28 03 00 00 */ cmplwi r3, 0 +/* 80136898 001337F8 40 82 00 20 */ bne lbl_801368B8 +/* 8013689C 001337FC 7F E3 FB 78 */ mr r3, r31 +/* 801368A0 00133800 38 80 00 00 */ li r4, 0 +/* 801368A4 00133804 4B FF AB AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801368A8 00133808 28 03 00 00 */ cmplwi r3, 0 +/* 801368AC 0013380C 41 82 00 0C */ beq lbl_801368B8 +/* 801368B0 00133810 38 60 00 01 */ li r3, 1 +/* 801368B4 00133814 48 00 00 08 */ b lbl_801368BC +lbl_801368B8: +/* 801368B8 00133818 38 60 FF FF */ li r3, -1 +lbl_801368BC: +/* 801368BC 0013381C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801368C0 00133820 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801368C4 00133824 83 C1 00 08 */ lwz r30, 8(r1) +/* 801368C8 00133828 7C 08 03 A6 */ mtlr r0 +/* 801368CC 0013382C 38 21 00 10 */ addi r1, r1, 0x10 +/* 801368D0 00133830 4E 80 00 20 */ blr + +.global Shutdown__14CBSLieOnGroundFR15CBodyController +Shutdown__14CBSLieOnGroundFR15CBodyController: +/* 801368D4 00133834 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801368D8 00133838 7C 08 02 A6 */ mflr r0 +/* 801368DC 0013383C 7C 83 23 78 */ mr r3, r4 +/* 801368E0 00133840 38 80 00 01 */ li r4, 1 +/* 801368E4 00133844 90 01 00 14 */ stw r0, 0x14(r1) +/* 801368E8 00133848 48 00 40 A1 */ bl EnableAnimation__15CBodyControllerFb +/* 801368EC 0013384C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801368F0 00133850 7C 08 03 A6 */ mtlr r0 +/* 801368F4 00133854 38 21 00 10 */ addi r1, r1, 0x10 +/* 801368F8 00133858 4E 80 00 20 */ blr + +.global UpdateBody__14CBSLieOnGroundFfR15CBodyControllerR13CStateManager +UpdateBody__14CBSLieOnGroundFfR15CBodyControllerR13CStateManager: +/* 801368FC 0013385C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80136900 00133860 7C 08 02 A6 */ mflr r0 +/* 80136904 00133864 90 01 00 14 */ stw r0, 0x14(r1) +/* 80136908 00133868 4B FF FF 21 */ bl GetBodyStateTransition__14CBSLieOnGroundFfR15CBodyController +/* 8013690C 0013386C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80136910 00133870 7C 08 03 A6 */ mtlr r0 +/* 80136914 00133874 38 21 00 10 */ addi r1, r1, 0x10 +/* 80136918 00133878 4E 80 00 20 */ blr + +.global Start__14CBSLieOnGroundFR15CBodyControllerR13CStateManager +Start__14CBSLieOnGroundFR15CBodyControllerR13CStateManager: +/* 8013691C 0013387C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80136920 00133880 7C 08 02 A6 */ mflr r0 +/* 80136924 00133884 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80136928 00133888 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 8013692C 0013388C 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80136930 00133890 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80136934 00133894 7C BD 2B 78 */ mr r29, r5 +/* 80136938 00133898 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 8013693C 0013389C 7C 9C 23 78 */ mr r28, r4 +/* 80136940 001338A0 7F 83 E3 78 */ mr r3, r28 +/* 80136944 001338A4 48 00 42 69 */ bl GetFallState__15CBodyControllerCFv +/* 80136948 001338A8 7C 60 1B 78 */ mr r0, r3 +/* 8013694C 001338AC 7F 83 E3 78 */ mr r3, r28 +/* 80136950 001338B0 7C 1F 03 78 */ mr r31, r0 +/* 80136954 001338B4 48 00 3B 01 */ bl GetPASDatabase__15CBodyControllerCFv +/* 80136958 001338B8 7C 60 1B 78 */ mr r0, r3 +/* 8013695C 001338BC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80136960 001338C0 7C 1E 03 78 */ mr r30, r0 +/* 80136964 001338C4 48 1A C7 19 */ bl NoParameter__12CPASAnimParmFv +/* 80136968 001338C8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013696C 001338CC 48 1A C7 11 */ bl NoParameter__12CPASAnimParmFv +/* 80136970 001338D0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80136974 001338D4 48 1A C7 09 */ bl NoParameter__12CPASAnimParmFv +/* 80136978 001338D8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013697C 001338DC 48 1A C7 01 */ bl NoParameter__12CPASAnimParmFv +/* 80136980 001338E0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80136984 001338E4 48 1A C6 F9 */ bl NoParameter__12CPASAnimParmFv +/* 80136988 001338E8 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013698C 001338EC 48 1A C6 F1 */ bl NoParameter__12CPASAnimParmFv +/* 80136990 001338F0 38 61 00 48 */ addi r3, r1, 0x48 +/* 80136994 001338F4 48 1A C6 E9 */ bl NoParameter__12CPASAnimParmFv +/* 80136998 001338F8 7F E4 FB 78 */ mr r4, r31 +/* 8013699C 001338FC 38 61 00 50 */ addi r3, r1, 0x50 +/* 801369A0 00133900 48 1A C5 E5 */ bl FromEnum__12CPASAnimParmFi +/* 801369A4 00133904 38 61 00 20 */ addi r3, r1, 0x20 +/* 801369A8 00133908 38 01 00 18 */ addi r0, r1, 0x18 +/* 801369AC 0013390C 90 61 00 08 */ stw r3, 8(r1) +/* 801369B0 00133910 38 61 00 80 */ addi r3, r1, 0x80 +/* 801369B4 00133914 38 A1 00 50 */ addi r5, r1, 0x50 +/* 801369B8 00133918 38 C1 00 48 */ addi r6, r1, 0x48 +/* 801369BC 0013391C 90 01 00 0C */ stw r0, 0xc(r1) +/* 801369C0 00133920 38 E1 00 40 */ addi r7, r1, 0x40 +/* 801369C4 00133924 39 01 00 38 */ addi r8, r1, 0x38 +/* 801369C8 00133928 39 21 00 30 */ addi r9, r1, 0x30 +/* 801369CC 0013392C 39 41 00 28 */ addi r10, r1, 0x28 +/* 801369D0 00133930 38 80 00 02 */ li r4, 2 +/* 801369D4 00133934 4B F4 68 F1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 801369D8 00133938 80 DD 09 00 */ lwz r6, 0x900(r29) +/* 801369DC 0013393C 7F C4 F3 78 */ mr r4, r30 +/* 801369E0 00133940 38 61 00 10 */ addi r3, r1, 0x10 +/* 801369E4 00133944 38 A1 00 80 */ addi r5, r1, 0x80 +/* 801369E8 00133948 38 E0 FF FF */ li r7, -1 +/* 801369EC 0013394C 48 1A E6 75 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 801369F0 00133950 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 801369F4 00133954 C0 02 9A 28 */ lfs f0, lbl_805AB748@sda21(r2) +/* 801369F8 00133958 80 61 00 14 */ lwz r3, 0x14(r1) +/* 801369FC 0013395C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80136A00 00133960 40 81 00 54 */ ble lbl_80136A54 +/* 80136A04 00133964 C0 02 9A 2C */ lfs f0, lbl_805AB74C@sda21(r2) +/* 80136A08 00133968 38 00 00 00 */ li r0, 0 +/* 80136A0C 0013396C 38 C0 FF FF */ li r6, -1 +/* 80136A10 00133970 38 E0 00 01 */ li r7, 1 +/* 80136A14 00133974 90 61 00 58 */ stw r3, 0x58(r1) +/* 80136A18 00133978 7F 83 E3 78 */ mr r3, r28 +/* 80136A1C 0013397C 38 81 00 58 */ addi r4, r1, 0x58 +/* 80136A20 00133980 38 A0 00 01 */ li r5, 1 +/* 80136A24 00133984 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80136A28 00133988 38 C0 00 00 */ li r6, 0 +/* 80136A2C 0013398C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80136A30 00133990 98 E1 00 64 */ stb r7, 0x64(r1) +/* 80136A34 00133994 90 01 00 68 */ stw r0, 0x68(r1) +/* 80136A38 00133998 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80136A3C 0013399C 98 01 00 70 */ stb r0, 0x70(r1) +/* 80136A40 001339A0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80136A44 001339A4 90 01 00 78 */ stw r0, 0x78(r1) +/* 80136A48 001339A8 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80136A4C 001339AC 48 00 3E D1 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80136A50 001339B0 48 00 00 10 */ b lbl_80136A60 +lbl_80136A54: +/* 80136A54 001339B4 7F 83 E3 78 */ mr r3, r28 +/* 80136A58 001339B8 38 80 00 00 */ li r4, 0 +/* 80136A5C 001339BC 48 00 3F 2D */ bl EnableAnimation__15CBodyControllerFb +lbl_80136A60: +/* 80136A60 001339C0 34 A1 00 84 */ addic. r5, r1, 0x84 +/* 80136A64 001339C4 41 82 00 58 */ beq lbl_80136ABC +/* 80136A68 001339C8 80 C5 00 00 */ lwz r6, 0(r5) +/* 80136A6C 001339CC 38 60 00 00 */ li r3, 0 +/* 80136A70 001339D0 2C 06 00 00 */ cmpwi r6, 0 +/* 80136A74 001339D4 40 81 00 40 */ ble lbl_80136AB4 +/* 80136A78 001339D8 2C 06 00 08 */ cmpwi r6, 8 +/* 80136A7C 001339DC 38 86 FF F8 */ addi r4, r6, -8 +/* 80136A80 001339E0 40 81 00 20 */ ble lbl_80136AA0 +/* 80136A84 001339E4 38 04 00 07 */ addi r0, r4, 7 +/* 80136A88 001339E8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80136A8C 001339EC 7C 09 03 A6 */ mtctr r0 +/* 80136A90 001339F0 2C 04 00 00 */ cmpwi r4, 0 +/* 80136A94 001339F4 40 81 00 0C */ ble lbl_80136AA0 +lbl_80136A98: +/* 80136A98 001339F8 38 63 00 08 */ addi r3, r3, 8 +/* 80136A9C 001339FC 42 00 FF FC */ bdnz lbl_80136A98 +lbl_80136AA0: +/* 80136AA0 00133A00 7C 03 30 50 */ subf r0, r3, r6 +/* 80136AA4 00133A04 7C 09 03 A6 */ mtctr r0 +/* 80136AA8 00133A08 7C 03 30 00 */ cmpw r3, r6 +/* 80136AAC 00133A0C 40 80 00 08 */ bge lbl_80136AB4 +lbl_80136AB0: +/* 80136AB0 00133A10 42 00 00 00 */ bdnz lbl_80136AB0 +lbl_80136AB4: +/* 80136AB4 00133A14 38 00 00 00 */ li r0, 0 +/* 80136AB8 00133A18 90 05 00 00 */ stw r0, 0(r5) +lbl_80136ABC: +/* 80136ABC 00133A1C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80136AC0 00133A20 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80136AC4 00133A24 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80136AC8 00133A28 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80136ACC 00133A2C 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 80136AD0 00133A30 7C 08 03 A6 */ mtlr r0 +/* 80136AD4 00133A34 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80136AD8 00133A38 4E 80 00 20 */ blr + +.global __ct__14CBSLieOnGroundFRC6CActor +__ct__14CBSLieOnGroundFRC6CActor: +/* 80136ADC 00133A3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80136AE0 00133A40 7C 08 02 A6 */ mflr r0 +/* 80136AE4 00133A44 3C C0 80 3E */ lis r6, lbl_803E1318@ha +/* 80136AE8 00133A48 3C A0 80 3E */ lis r5, lbl_803E1488@ha +/* 80136AEC 00133A4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80136AF0 00133A50 38 C6 13 18 */ addi r6, r6, lbl_803E1318@l +/* 80136AF4 00133A54 38 05 14 88 */ addi r0, r5, lbl_803E1488@l +/* 80136AF8 00133A58 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80136AFC 00133A5C 7C 7F 1B 78 */ mr r31, r3 +/* 80136B00 00133A60 38 60 00 00 */ li r3, 0 +/* 80136B04 00133A64 90 DF 00 00 */ stw r6, 0(r31) +/* 80136B08 00133A68 90 1F 00 00 */ stw r0, 0(r31) +/* 80136B0C 00133A6C 80 1F 00 04 */ lwz r0, 4(r31) +/* 80136B10 00133A70 50 60 F8 00 */ rlwimi r0, r3, 0x1f, 0, 0 +/* 80136B14 00133A74 90 1F 00 04 */ stw r0, 4(r31) +/* 80136B18 00133A78 80 64 00 64 */ lwz r3, 0x64(r4) +/* 80136B1C 00133A7C 38 80 00 0B */ li r4, 0xb +/* 80136B20 00133A80 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80136B24 00133A84 38 63 00 3C */ addi r3, r3, 0x3c +/* 80136B28 00133A88 48 1A E4 55 */ bl HasState__12CPASDatabaseCFi +/* 80136B2C 00133A8C 88 1F 00 04 */ lbz r0, 4(r31) +/* 80136B30 00133A90 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80136B34 00133A94 7F E3 FB 78 */ mr r3, r31 +/* 80136B38 00133A98 98 1F 00 04 */ stb r0, 4(r31) +/* 80136B3C 00133A9C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80136B40 00133AA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80136B44 00133AA4 7C 08 03 A6 */ mtlr r0 +/* 80136B48 00133AA8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80136B4C 00133AAC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSLocomotion.s b/asm/Kyoto_CWD/BodyState/CBSLocomotion.s new file mode 100644 index 00000000..32bba189 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSLocomotion.s @@ -0,0 +1,2512 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__28CBSRestrictedFlyerLocomotionFv +__dt__28CBSRestrictedFlyerLocomotionFv: +/* 80136B50 00133AB0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80136B54 00133AB4 7C 08 02 A6 */ mflr r0 +/* 80136B58 00133AB8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80136B5C 00133ABC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80136B60 00133AC0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80136B64 00133AC4 41 82 00 B0 */ beq lbl_80136C14 +/* 80136B68 00133AC8 3C 60 80 3E */ lis r3, lbl_803E14F0@ha +/* 80136B6C 00133ACC 38 03 14 F0 */ addi r0, r3, lbl_803E14F0@l +/* 80136B70 00133AD0 90 1F 00 00 */ stw r0, 0(r31) +/* 80136B74 00133AD4 41 82 00 90 */ beq lbl_80136C04 +/* 80136B78 00133AD8 3C 60 80 3E */ lis r3, lbl_803E1630@ha +/* 80136B7C 00133ADC 34 1F 00 08 */ addic. r0, r31, 8 +/* 80136B80 00133AE0 38 03 16 30 */ addi r0, r3, lbl_803E1630@l +/* 80136B84 00133AE4 90 1F 00 00 */ stw r0, 0(r31) +/* 80136B88 00133AE8 41 82 00 58 */ beq lbl_80136BE0 +/* 80136B8C 00133AEC 80 DF 00 08 */ lwz r6, 8(r31) +/* 80136B90 00133AF0 38 60 00 00 */ li r3, 0 +/* 80136B94 00133AF4 2C 06 00 00 */ cmpwi r6, 0 +/* 80136B98 00133AF8 40 81 00 40 */ ble lbl_80136BD8 +/* 80136B9C 00133AFC 2C 06 00 08 */ cmpwi r6, 8 +/* 80136BA0 00133B00 38 A6 FF F8 */ addi r5, r6, -8 +/* 80136BA4 00133B04 40 81 00 20 */ ble lbl_80136BC4 +/* 80136BA8 00133B08 38 05 00 07 */ addi r0, r5, 7 +/* 80136BAC 00133B0C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80136BB0 00133B10 7C 09 03 A6 */ mtctr r0 +/* 80136BB4 00133B14 2C 05 00 00 */ cmpwi r5, 0 +/* 80136BB8 00133B18 40 81 00 0C */ ble lbl_80136BC4 +lbl_80136BBC: +/* 80136BBC 00133B1C 38 63 00 08 */ addi r3, r3, 8 +/* 80136BC0 00133B20 42 00 FF FC */ bdnz lbl_80136BBC +lbl_80136BC4: +/* 80136BC4 00133B24 7C 03 30 50 */ subf r0, r3, r6 +/* 80136BC8 00133B28 7C 09 03 A6 */ mtctr r0 +/* 80136BCC 00133B2C 7C 03 30 00 */ cmpw r3, r6 +/* 80136BD0 00133B30 40 80 00 08 */ bge lbl_80136BD8 +lbl_80136BD4: +/* 80136BD4 00133B34 42 00 00 00 */ bdnz lbl_80136BD4 +lbl_80136BD8: +/* 80136BD8 00133B38 38 00 00 00 */ li r0, 0 +/* 80136BDC 00133B3C 90 1F 00 08 */ stw r0, 8(r31) +lbl_80136BE0: +/* 80136BE0 00133B40 28 1F 00 00 */ cmplwi r31, 0 +/* 80136BE4 00133B44 41 82 00 20 */ beq lbl_80136C04 +/* 80136BE8 00133B48 3C 60 80 3E */ lis r3, lbl_803E16CC@ha +/* 80136BEC 00133B4C 38 03 16 CC */ addi r0, r3, lbl_803E16CC@l +/* 80136BF0 00133B50 90 1F 00 00 */ stw r0, 0(r31) +/* 80136BF4 00133B54 41 82 00 10 */ beq lbl_80136C04 +/* 80136BF8 00133B58 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80136BFC 00133B5C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80136C00 00133B60 90 1F 00 00 */ stw r0, 0(r31) +lbl_80136C04: +/* 80136C04 00133B64 7C 80 07 35 */ extsh. r0, r4 +/* 80136C08 00133B68 40 81 00 0C */ ble lbl_80136C14 +/* 80136C0C 00133B6C 7F E3 FB 78 */ mr r3, r31 +/* 80136C10 00133B70 48 1D ED 21 */ bl Free__7CMemoryFPCv +lbl_80136C14: +/* 80136C14 00133B74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80136C18 00133B78 7F E3 FB 78 */ mr r3, r31 +/* 80136C1C 00133B7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80136C20 00133B80 7C 08 03 A6 */ mtlr r0 +/* 80136C24 00133B84 38 21 00 10 */ addi r1, r1, 0x10 +/* 80136C28 00133B88 4E 80 00 20 */ blr + +.global IsMoving__23CBSRestrictedLocomotionCFv +IsMoving__23CBSRestrictedLocomotionCFv: +/* 80136C2C 00133B8C 38 60 00 00 */ li r3, 0 +/* 80136C30 00133B90 4E 80 00 20 */ blr + +.global GetLocomotionSpeed__23CBSRestrictedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +GetLocomotionSpeed__23CBSRestrictedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim: +/* 80136C34 00133B94 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +/* 80136C38 00133B98 4E 80 00 20 */ blr + +.global CanShoot__13CBSLocomotionCFv +CanShoot__13CBSLocomotionCFv: +/* 80136C3C 00133B9C 38 60 00 01 */ li r3, 1 +/* 80136C40 00133BA0 4E 80 00 20 */ blr + +.global IsPitchable__13CBSLocomotionCFv +IsPitchable__13CBSLocomotionCFv: +/* 80136C44 00133BA4 38 60 00 00 */ li r3, 0 +/* 80136C48 00133BA8 4E 80 00 20 */ blr + +.global ApplyLocomotionPhysics__28CBSRestrictedFlyerLocomotionFfR15CBodyController +ApplyLocomotionPhysics__28CBSRestrictedFlyerLocomotionFfR15CBodyController: +/* 80136C4C 00133BAC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80136C50 00133BB0 7C 08 02 A6 */ mflr r0 +/* 80136C54 00133BB4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80136C58 00133BB8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80136C5C 00133BBC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80136C60 00133BC0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80136C64 00133BC4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80136C68 00133BC8 7C 9E 23 78 */ mr r30, r4 +/* 80136C6C 00133BCC FF E0 08 90 */ fmr f31, f1 +/* 80136C70 00133BD0 80 84 00 00 */ lwz r4, 0(r4) +/* 80136C74 00133BD4 38 61 00 08 */ addi r3, r1, 8 +/* 80136C78 00133BD8 4B F7 5A D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" +/* 80136C7C 00133BDC 83 E3 00 04 */ lwz r31, 4(r3) +/* 80136C80 00133BE0 28 1F 00 00 */ cmplwi r31, 0 +/* 80136C84 00133BE4 41 82 00 60 */ beq lbl_80136CE4 +/* 80136C88 00133BE8 FC 20 F8 90 */ fmr f1, f31 +/* 80136C8C 00133BEC 7F C3 F3 78 */ mr r3, r30 +/* 80136C90 00133BF0 38 9E 00 10 */ addi r4, r30, 0x10 +/* 80136C94 00133BF4 48 00 3A 11 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 80136C98 00133BF8 C0 7E 03 30 */ lfs f3, 0x330(r30) +/* 80136C9C 00133BFC C0 5E 00 08 */ lfs f2, 8(r30) +/* 80136CA0 00133C00 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 80136CA4 00133C04 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80136CA8 00133C08 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80136CAC 00133C0C C0 9F 00 E8 */ lfs f4, 0xe8(r31) +/* 80136CB0 00133C10 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80136CB4 00133C14 EC 03 00 32 */ fmuls f0, f3, f0 +/* 80136CB8 00133C18 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80136CBC 00133C1C EC 24 00 72 */ fmuls f1, f4, f1 +/* 80136CC0 00133C20 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80136CC4 00133C24 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80136CC8 00133C28 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80136CCC 00133C2C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80136CD0 00133C30 4B EE 48 65 */ bl Identity__10CAxisAngleFv +/* 80136CD4 00133C34 7C 65 1B 78 */ mr r5, r3 +/* 80136CD8 00133C38 7F E3 FB 78 */ mr r3, r31 +/* 80136CDC 00133C3C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80136CE0 00133C40 4B FE 56 B9 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_80136CE4: +/* 80136CE4 00133C44 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +/* 80136CE8 00133C48 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80136CEC 00133C4C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80136CF0 00133C50 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80136CF4 00133C54 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80136CF8 00133C58 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80136CFC 00133C5C 7C 08 03 A6 */ mtlr r0 +/* 80136D00 00133C60 38 21 00 40 */ addi r1, r1, 0x40 +/* 80136D04 00133C64 4E 80 00 20 */ blr + +.global __ct__28CBSRestrictedFlyerLocomotionFR6CActor +__ct__28CBSRestrictedFlyerLocomotionFR6CActor: +/* 80136D08 00133C68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80136D0C 00133C6C 7C 08 02 A6 */ mflr r0 +/* 80136D10 00133C70 90 01 00 14 */ stw r0, 0x14(r1) +/* 80136D14 00133C74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80136D18 00133C78 7C 7F 1B 78 */ mr r31, r3 +/* 80136D1C 00133C7C 48 00 08 E1 */ bl __ct__23CBSRestrictedLocomotionFR6CActor +/* 80136D20 00133C80 3C 80 80 3E */ lis r4, lbl_803E14F0@ha +/* 80136D24 00133C84 7F E3 FB 78 */ mr r3, r31 +/* 80136D28 00133C88 38 04 14 F0 */ addi r0, r4, lbl_803E14F0@l +/* 80136D2C 00133C8C 90 1F 00 00 */ stw r0, 0(r31) +/* 80136D30 00133C90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80136D34 00133C94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80136D38 00133C98 7C 08 03 A6 */ mtlr r0 +/* 80136D3C 00133C9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80136D40 00133CA0 4E 80 00 20 */ blr + +.global __dt__23CBSRestrictedLocomotionFv +__dt__23CBSRestrictedLocomotionFv: +/* 80136D44 00133CA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80136D48 00133CA8 7C 08 02 A6 */ mflr r0 +/* 80136D4C 00133CAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80136D50 00133CB0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80136D54 00133CB4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80136D58 00133CB8 41 82 00 A0 */ beq lbl_80136DF8 +/* 80136D5C 00133CBC 3C 60 80 3E */ lis r3, lbl_803E1630@ha +/* 80136D60 00133CC0 34 1F 00 08 */ addic. r0, r31, 8 +/* 80136D64 00133CC4 38 03 16 30 */ addi r0, r3, lbl_803E1630@l +/* 80136D68 00133CC8 90 1F 00 00 */ stw r0, 0(r31) +/* 80136D6C 00133CCC 41 82 00 58 */ beq lbl_80136DC4 +/* 80136D70 00133CD0 80 DF 00 08 */ lwz r6, 8(r31) +/* 80136D74 00133CD4 38 60 00 00 */ li r3, 0 +/* 80136D78 00133CD8 2C 06 00 00 */ cmpwi r6, 0 +/* 80136D7C 00133CDC 40 81 00 40 */ ble lbl_80136DBC +/* 80136D80 00133CE0 2C 06 00 08 */ cmpwi r6, 8 +/* 80136D84 00133CE4 38 A6 FF F8 */ addi r5, r6, -8 +/* 80136D88 00133CE8 40 81 00 20 */ ble lbl_80136DA8 +/* 80136D8C 00133CEC 38 05 00 07 */ addi r0, r5, 7 +/* 80136D90 00133CF0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80136D94 00133CF4 7C 09 03 A6 */ mtctr r0 +/* 80136D98 00133CF8 2C 05 00 00 */ cmpwi r5, 0 +/* 80136D9C 00133CFC 40 81 00 0C */ ble lbl_80136DA8 +lbl_80136DA0: +/* 80136DA0 00133D00 38 63 00 08 */ addi r3, r3, 8 +/* 80136DA4 00133D04 42 00 FF FC */ bdnz lbl_80136DA0 +lbl_80136DA8: +/* 80136DA8 00133D08 7C 03 30 50 */ subf r0, r3, r6 +/* 80136DAC 00133D0C 7C 09 03 A6 */ mtctr r0 +/* 80136DB0 00133D10 7C 03 30 00 */ cmpw r3, r6 +/* 80136DB4 00133D14 40 80 00 08 */ bge lbl_80136DBC +lbl_80136DB8: +/* 80136DB8 00133D18 42 00 00 00 */ bdnz lbl_80136DB8 +lbl_80136DBC: +/* 80136DBC 00133D1C 38 00 00 00 */ li r0, 0 +/* 80136DC0 00133D20 90 1F 00 08 */ stw r0, 8(r31) +lbl_80136DC4: +/* 80136DC4 00133D24 28 1F 00 00 */ cmplwi r31, 0 +/* 80136DC8 00133D28 41 82 00 20 */ beq lbl_80136DE8 +/* 80136DCC 00133D2C 3C 60 80 3E */ lis r3, lbl_803E16CC@ha +/* 80136DD0 00133D30 38 03 16 CC */ addi r0, r3, lbl_803E16CC@l +/* 80136DD4 00133D34 90 1F 00 00 */ stw r0, 0(r31) +/* 80136DD8 00133D38 41 82 00 10 */ beq lbl_80136DE8 +/* 80136DDC 00133D3C 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80136DE0 00133D40 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80136DE4 00133D44 90 1F 00 00 */ stw r0, 0(r31) +lbl_80136DE8: +/* 80136DE8 00133D48 7C 80 07 35 */ extsh. r0, r4 +/* 80136DEC 00133D4C 40 81 00 0C */ ble lbl_80136DF8 +/* 80136DF0 00133D50 7F E3 FB 78 */ mr r3, r31 +/* 80136DF4 00133D54 48 1D EB 3D */ bl Free__7CMemoryFPCv +lbl_80136DF8: +/* 80136DF8 00133D58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80136DFC 00133D5C 7F E3 FB 78 */ mr r3, r31 +/* 80136E00 00133D60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80136E04 00133D64 7C 08 03 A6 */ mtlr r0 +/* 80136E08 00133D68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80136E0C 00133D6C 4E 80 00 20 */ blr + +.global UpdateLocomotionAnimation__21CBSNewFlyerLocomotionFffR15CBodyControllerb +UpdateLocomotionAnimation__21CBSNewFlyerLocomotionFffR15CBodyControllerb: +/* 80136E10 00133D70 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80136E14 00133D74 7C 08 02 A6 */ mflr r0 +/* 80136E18 00133D78 90 01 00 84 */ stw r0, 0x84(r1) +/* 80136E1C 00133D7C BF 41 00 68 */ stmw r26, 0x68(r1) +/* 80136E20 00133D80 7C 9E 23 78 */ mr r30, r4 +/* 80136E24 00133D84 7C 7D 1B 78 */ mr r29, r3 +/* 80136E28 00133D88 7C BF 2B 78 */ mr r31, r5 +/* 80136E2C 00133D8C 38 61 00 08 */ addi r3, r1, 8 +/* 80136E30 00133D90 80 84 00 00 */ lwz r4, 0(r4) +/* 80136E34 00133D94 4B F7 58 B1 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80136E38 00133D98 83 83 00 04 */ lwz r28, 4(r3) +/* 80136E3C 00133D9C 28 1C 00 00 */ cmplwi r28, 0 +/* 80136E40 00133DA0 41 82 01 80 */ beq lbl_80136FC0 +/* 80136E44 00133DA4 3B 7E 00 04 */ addi r27, r30, 4 +/* 80136E48 00133DA8 3B 40 00 00 */ li r26, 0 +/* 80136E4C 00133DAC 7F 63 DB 78 */ mr r3, r27 +/* 80136E50 00133DB0 48 1D D8 A9 */ bl CanBeNormalized__9CVector3fCFv +/* 80136E54 00133DB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80136E58 00133DB8 41 82 00 DC */ beq lbl_80136F34 +/* 80136E5C 00133DBC 7F 65 DB 78 */ mr r5, r27 +/* 80136E60 00133DC0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80136E64 00133DC4 38 9C 00 34 */ addi r4, r28, 0x34 +/* 80136E68 00133DC8 48 1D BB BD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80136E6C 00133DCC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80136E70 00133DD0 38 A0 00 00 */ li r5, 0 +/* 80136E74 00133DD4 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80136E78 00133DD8 38 61 00 1C */ addi r3, r1, 0x1c +/* 80136E7C 00133DDC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80136E80 00133DE0 EC 80 00 32 */ fmuls f4, f0, f0 +/* 80136E84 00133DE4 EC A3 00 F2 */ fmuls f5, f3, f3 +/* 80136E88 00133DE8 54 A0 10 3A */ slwi r0, r5, 2 +/* 80136E8C 00133DEC EC C2 00 B2 */ fmuls f6, f2, f2 +/* 80136E90 00133DF0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80136E94 00133DF4 FC 20 20 18 */ frsp f1, f4 +/* 80136E98 00133DF8 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80136E9C 00133DFC D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 80136EA0 00133E00 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 80136EA4 00133E04 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80136EA8 00133E08 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80136EAC 00133E0C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80136EB0 00133E10 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80136EB4 00133E14 4C 41 13 82 */ cror 2, 1, 2 +/* 80136EB8 00133E18 40 82 00 08 */ bne lbl_80136EC0 +/* 80136EBC 00133E1C 38 A0 00 00 */ li r5, 0 +lbl_80136EC0: +/* 80136EC0 00133E20 54 A0 10 3A */ slwi r0, r5, 2 +/* 80136EC4 00133E24 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80136EC8 00133E28 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80136ECC 00133E2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80136ED0 00133E30 4C 41 13 82 */ cror 2, 1, 2 +/* 80136ED4 00133E34 40 82 00 08 */ bne lbl_80136EDC +/* 80136ED8 00133E38 38 A0 00 01 */ li r5, 1 +lbl_80136EDC: +/* 80136EDC 00133E3C 54 A0 10 3A */ slwi r0, r5, 2 +/* 80136EE0 00133E40 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80136EE4 00133E44 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80136EE8 00133E48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80136EEC 00133E4C 4C 41 13 82 */ cror 2, 1, 2 +/* 80136EF0 00133E50 40 82 00 08 */ bne lbl_80136EF8 +/* 80136EF4 00133E54 38 A0 00 02 */ li r5, 2 +lbl_80136EF8: +/* 80136EF8 00133E58 54 A0 10 3A */ slwi r0, r5, 2 +/* 80136EFC 00133E5C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80136F00 00133E60 7C 23 04 2E */ lfsx f1, r3, r0 +/* 80136F04 00133E64 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 80136F08 00133E68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80136F0C 00133E6C 40 81 00 0C */ ble lbl_80136F18 +/* 80136F10 00133E70 38 80 00 00 */ li r4, 0 +/* 80136F14 00133E74 48 00 00 08 */ b lbl_80136F1C +lbl_80136F18: +/* 80136F18 00133E78 38 80 00 01 */ li r4, 1 +lbl_80136F1C: +/* 80136F1C 00133E7C 54 A0 08 3C */ slwi r0, r5, 1 +/* 80136F20 00133E80 3C 60 80 3E */ lis r3, lbl_803E14D8@ha +/* 80136F24 00133E84 7C 04 02 14 */ add r0, r4, r0 +/* 80136F28 00133E88 54 00 10 3A */ slwi r0, r0, 2 +/* 80136F2C 00133E8C 38 63 14 D8 */ addi r3, r3, lbl_803E14D8@l +/* 80136F30 00133E90 7F 43 00 2E */ lwzx r26, r3, r0 +lbl_80136F34: +/* 80136F34 00133E94 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80136F38 00133E98 40 82 00 10 */ bne lbl_80136F48 +/* 80136F3C 00133E9C 80 1D 03 C4 */ lwz r0, 0x3c4(r29) +/* 80136F40 00133EA0 7C 1A 00 00 */ cmpw r26, r0 +/* 80136F44 00133EA4 41 82 00 7C */ beq lbl_80136FC0 +lbl_80136F48: +/* 80136F48 00133EA8 80 9D 00 04 */ lwz r4, 4(r29) +/* 80136F4C 00133EAC 7F A3 EB 78 */ mr r3, r29 +/* 80136F50 00133EB0 7F 45 D3 78 */ mr r5, r26 +/* 80136F54 00133EB4 48 00 0E F5 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80136F58 00133EB8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80136F5C 00133EBC 80 63 00 00 */ lwz r3, 0(r3) +/* 80136F60 00133EC0 40 82 00 10 */ bne lbl_80136F70 +/* 80136F64 00133EC4 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 80136F68 00133EC8 7C 03 00 00 */ cmpw r3, r0 +/* 80136F6C 00133ECC 41 82 00 50 */ beq lbl_80136FBC +lbl_80136F70: +/* 80136F70 00133ED0 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) +/* 80136F74 00133ED4 38 00 00 00 */ li r0, 0 +/* 80136F78 00133ED8 38 C0 FF FF */ li r6, -1 +/* 80136F7C 00133EDC 38 E0 00 01 */ li r7, 1 +/* 80136F80 00133EE0 90 61 00 34 */ stw r3, 0x34(r1) +/* 80136F84 00133EE4 7F C3 F3 78 */ mr r3, r30 +/* 80136F88 00133EE8 38 81 00 34 */ addi r4, r1, 0x34 +/* 80136F8C 00133EEC 38 A0 00 01 */ li r5, 1 +/* 80136F90 00133EF0 90 C1 00 38 */ stw r6, 0x38(r1) +/* 80136F94 00133EF4 38 C0 00 00 */ li r6, 0 +/* 80136F98 00133EF8 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80136F9C 00133EFC 98 E1 00 40 */ stb r7, 0x40(r1) +/* 80136FA0 00133F00 90 01 00 44 */ stw r0, 0x44(r1) +/* 80136FA4 00133F04 90 01 00 48 */ stw r0, 0x48(r1) +/* 80136FA8 00133F08 98 01 00 4C */ stb r0, 0x4c(r1) +/* 80136FAC 00133F0C 90 01 00 50 */ stw r0, 0x50(r1) +/* 80136FB0 00133F10 90 01 00 54 */ stw r0, 0x54(r1) +/* 80136FB4 00133F14 90 01 00 58 */ stw r0, 0x58(r1) +/* 80136FB8 00133F18 48 00 39 65 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +lbl_80136FBC: +/* 80136FBC 00133F1C 93 5D 03 C4 */ stw r26, 0x3c4(r29) +lbl_80136FC0: +/* 80136FC0 00133F20 BB 41 00 68 */ lmw r26, 0x68(r1) +/* 80136FC4 00133F24 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80136FC8 00133F28 C0 22 9A 38 */ lfs f1, lbl_805AB758@sda21(r2) +/* 80136FCC 00133F2C 7C 08 03 A6 */ mtlr r0 +/* 80136FD0 00133F30 38 21 00 80 */ addi r1, r1, 0x80 +/* 80136FD4 00133F34 4E 80 00 20 */ blr + +.global ApplyLocomotionPhysics__21CBSNewFlyerLocomotionFfR15CBodyController +ApplyLocomotionPhysics__21CBSNewFlyerLocomotionFfR15CBodyController: +/* 80136FD8 00133F38 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80136FDC 00133F3C 7C 08 02 A6 */ mflr r0 +/* 80136FE0 00133F40 90 01 00 34 */ stw r0, 0x34(r1) +/* 80136FE4 00133F44 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80136FE8 00133F48 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80136FEC 00133F4C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80136FF0 00133F50 7C 9F 23 78 */ mr r31, r4 +/* 80136FF4 00133F54 FF E0 08 90 */ fmr f31, f1 +/* 80136FF8 00133F58 80 84 00 00 */ lwz r4, 0(r4) +/* 80136FFC 00133F5C 38 61 00 08 */ addi r3, r1, 8 +/* 80137000 00133F60 4B F7 56 E5 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80137004 00133F64 80 03 00 04 */ lwz r0, 4(r3) +/* 80137008 00133F68 28 00 00 00 */ cmplwi r0, 0 +/* 8013700C 00133F6C 41 82 00 14 */ beq lbl_80137020 +/* 80137010 00133F70 FC 20 F8 90 */ fmr f1, f31 +/* 80137014 00133F74 7F E3 FB 78 */ mr r3, r31 +/* 80137018 00133F78 38 9F 00 10 */ addi r4, r31, 0x10 +/* 8013701C 00133F7C 48 00 36 89 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_80137020: +/* 80137020 00133F80 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +/* 80137024 00133F84 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80137028 00133F88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8013702C 00133F8C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80137030 00133F90 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80137034 00133F94 7C 08 03 A6 */ mtlr r0 +/* 80137038 00133F98 38 21 00 30 */ addi r1, r1, 0x30 +/* 8013703C 00133F9C 4E 80 00 20 */ blr + +.global __ct__21CBSNewFlyerLocomotionFR6CActor +__ct__21CBSNewFlyerLocomotionFR6CActor: +/* 80137040 00133FA0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80137044 00133FA4 7C 08 02 A6 */ mflr r0 +/* 80137048 00133FA8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013704C 00133FAC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80137050 00133FB0 7C 7F 1B 78 */ mr r31, r3 +/* 80137054 00133FB4 48 00 10 D9 */ bl __ct__18CBSBiPedLocomotionFR6CActor +/* 80137058 00133FB8 3C 80 80 3E */ lis r4, lbl_803E153C@ha +/* 8013705C 00133FBC 7F E3 FB 78 */ mr r3, r31 +/* 80137060 00133FC0 38 04 15 3C */ addi r0, r4, lbl_803E153C@l +/* 80137064 00133FC4 90 1F 00 00 */ stw r0, 0(r31) +/* 80137068 00133FC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013706C 00133FCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80137070 00133FD0 7C 08 03 A6 */ mtlr r0 +/* 80137074 00133FD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80137078 00133FD8 4E 80 00 20 */ blr + +.global __dt__18CBSBiPedLocomotionFv +__dt__18CBSBiPedLocomotionFv: +/* 8013707C 00133FDC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80137080 00133FE0 7C 08 02 A6 */ mflr r0 +/* 80137084 00133FE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80137088 00133FE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013708C 00133FEC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80137090 00133FF0 41 82 00 D4 */ beq lbl_80137164 +/* 80137094 00133FF4 3C 60 80 3E */ lis r3, lbl_803E167C@ha +/* 80137098 00133FF8 34 1F 00 08 */ addic. r0, r31, 8 +/* 8013709C 00133FFC 38 03 16 7C */ addi r0, r3, lbl_803E167C@l +/* 801370A0 00134000 90 1F 00 00 */ stw r0, 0(r31) +/* 801370A4 00134004 41 82 00 8C */ beq lbl_80137130 +/* 801370A8 00134008 38 FF 00 0C */ addi r7, r31, 0xc +/* 801370AC 0013400C 38 60 00 00 */ li r3, 0 +/* 801370B0 00134010 48 00 00 6C */ b lbl_8013711C +lbl_801370B4: +/* 801370B4 00134014 28 07 00 00 */ cmplwi r7, 0 +/* 801370B8 00134018 41 82 00 5C */ beq lbl_80137114 +/* 801370BC 0013401C 81 07 00 00 */ lwz r8, 0(r7) +/* 801370C0 00134020 38 A0 00 00 */ li r5, 0 +/* 801370C4 00134024 2C 08 00 00 */ cmpwi r8, 0 +/* 801370C8 00134028 40 81 00 44 */ ble lbl_8013710C +/* 801370CC 0013402C 2C 08 00 08 */ cmpwi r8, 8 +/* 801370D0 00134030 38 C8 FF F8 */ addi r6, r8, -8 +/* 801370D4 00134034 40 81 00 20 */ ble lbl_801370F4 +/* 801370D8 00134038 38 06 00 07 */ addi r0, r6, 7 +/* 801370DC 0013403C 54 00 E8 FE */ srwi r0, r0, 3 +/* 801370E0 00134040 7C 09 03 A6 */ mtctr r0 +/* 801370E4 00134044 2C 06 00 00 */ cmpwi r6, 0 +/* 801370E8 00134048 40 81 00 0C */ ble lbl_801370F4 +lbl_801370EC: +/* 801370EC 0013404C 38 A5 00 08 */ addi r5, r5, 8 +/* 801370F0 00134050 42 00 FF FC */ bdnz lbl_801370EC +lbl_801370F4: +/* 801370F4 00134054 7C 05 40 50 */ subf r0, r5, r8 +/* 801370F8 00134058 7C 09 03 A6 */ mtctr r0 +/* 801370FC 0013405C 7C 05 40 00 */ cmpw r5, r8 +/* 80137100 00134060 40 80 00 0C */ bge lbl_8013710C +lbl_80137104: +/* 80137104 00134064 38 A5 00 01 */ addi r5, r5, 1 +/* 80137108 00134068 42 00 FF FC */ bdnz lbl_80137104 +lbl_8013710C: +/* 8013710C 0013406C 38 00 00 00 */ li r0, 0 +/* 80137110 00134070 90 07 00 00 */ stw r0, 0(r7) +lbl_80137114: +/* 80137114 00134074 38 E7 00 44 */ addi r7, r7, 0x44 +/* 80137118 00134078 38 63 00 01 */ addi r3, r3, 1 +lbl_8013711C: +/* 8013711C 0013407C 80 1F 00 08 */ lwz r0, 8(r31) +/* 80137120 00134080 7C 03 00 00 */ cmpw r3, r0 +/* 80137124 00134084 41 80 FF 90 */ blt lbl_801370B4 +/* 80137128 00134088 38 00 00 00 */ li r0, 0 +/* 8013712C 0013408C 90 1F 00 08 */ stw r0, 8(r31) +lbl_80137130: +/* 80137130 00134090 28 1F 00 00 */ cmplwi r31, 0 +/* 80137134 00134094 41 82 00 20 */ beq lbl_80137154 +/* 80137138 00134098 3C 60 80 3E */ lis r3, lbl_803E16CC@ha +/* 8013713C 0013409C 38 03 16 CC */ addi r0, r3, lbl_803E16CC@l +/* 80137140 001340A0 90 1F 00 00 */ stw r0, 0(r31) +/* 80137144 001340A4 41 82 00 10 */ beq lbl_80137154 +/* 80137148 001340A8 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 8013714C 001340AC 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80137150 001340B0 90 1F 00 00 */ stw r0, 0(r31) +lbl_80137154: +/* 80137154 001340B4 7C 80 07 35 */ extsh. r0, r4 +/* 80137158 001340B8 40 81 00 0C */ ble lbl_80137164 +/* 8013715C 001340BC 7F E3 FB 78 */ mr r3, r31 +/* 80137160 001340C0 48 1D E7 D1 */ bl Free__7CMemoryFPCv +lbl_80137164: +/* 80137164 001340C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80137168 001340C8 7F E3 FB 78 */ mr r3, r31 +/* 8013716C 001340CC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80137170 001340D0 7C 08 03 A6 */ mtlr r0 +/* 80137174 001340D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80137178 001340D8 4E 80 00 20 */ blr + +.global ApplyLocomotionPhysics__23CBSWallWalkerLocomotionFfR15CBodyController +ApplyLocomotionPhysics__23CBSWallWalkerLocomotionFfR15CBodyController: +/* 8013717C 001340DC 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80137180 001340E0 7C 08 02 A6 */ mflr r0 +/* 80137184 001340E4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80137188 001340E8 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8013718C 001340EC F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80137190 001340F0 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 80137194 001340F4 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80137198 001340F8 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8013719C 001340FC 93 C1 00 98 */ stw r30, 0x98(r1) +/* 801371A0 00134100 93 A1 00 94 */ stw r29, 0x94(r1) +/* 801371A4 00134104 7C 9D 23 78 */ mr r29, r4 +/* 801371A8 00134108 FF C0 08 90 */ fmr f30, f1 +/* 801371AC 0013410C 80 84 00 00 */ lwz r4, 0(r4) +/* 801371B0 00134110 38 61 00 0C */ addi r3, r1, 0xc +/* 801371B4 00134114 4B F7 55 31 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 801371B8 00134118 83 E3 00 04 */ lwz r31, 4(r3) +/* 801371BC 0013411C 28 1F 00 00 */ cmplwi r31, 0 +/* 801371C0 00134120 41 82 01 B0 */ beq lbl_80137370 +/* 801371C4 00134124 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 801371C8 00134128 4B FF CC E5 */ bl GetMaxSpeed__14CBodyStateInfoCFv +/* 801371CC 0013412C FF E0 08 90 */ fmr f31, f1 +/* 801371D0 00134130 C0 5D 00 08 */ lfs f2, 8(r29) +/* 801371D4 00134134 C0 3D 00 0C */ lfs f1, 0xc(r29) +/* 801371D8 00134138 3B DD 00 10 */ addi r30, r29, 0x10 +/* 801371DC 0013413C C0 1D 00 04 */ lfs f0, 4(r29) +/* 801371E0 00134140 7F C3 F3 78 */ mr r3, r30 +/* 801371E4 00134144 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 801371E8 00134148 38 81 00 80 */ addi r4, r1, 0x80 +/* 801371EC 0013414C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 801371F0 00134150 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 801371F4 00134154 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 801371F8 00134158 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 801371FC 0013415C D0 21 00 88 */ stfs f1, 0x88(r1) +/* 80137200 00134160 48 1D D4 31 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 80137204 00134164 C0 02 9A 3C */ lfs f0, lbl_805AB75C@sda21(r2) +/* 80137208 00134168 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013720C 0013416C 40 80 00 08 */ bge lbl_80137214 +/* 80137210 00134170 3B C1 00 80 */ addi r30, r1, 0x80 +lbl_80137214: +/* 80137214 00134174 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80137218 00134178 38 61 00 74 */ addi r3, r1, 0x74 +/* 8013721C 0013417C D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80137220 00134180 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80137224 00134184 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80137228 00134188 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8013722C 0013418C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80137230 00134190 48 1D D4 C9 */ bl CanBeNormalized__9CVector3fCFv +/* 80137234 00134194 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80137238 00134198 41 82 00 3C */ beq lbl_80137274 +/* 8013723C 0013419C C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80137240 001341A0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80137244 001341A4 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 80137248 001341A8 38 81 00 80 */ addi r4, r1, 0x80 +/* 8013724C 001341AC C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80137250 001341B0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80137254 001341B4 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80137258 001341B8 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8013725C 001341BC 48 1D D5 F5 */ bl AsNormalized__9CVector3fCFv +/* 80137260 001341C0 FC 20 F0 90 */ fmr f1, f30 +/* 80137264 001341C4 7F A3 EB 78 */ mr r3, r29 +/* 80137268 001341C8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8013726C 001341CC 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80137270 001341D0 48 00 31 F9 */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff +lbl_80137274: +/* 80137274 001341D4 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 80137278 001341D8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8013727C 001341DC C0 21 00 88 */ lfs f1, 0x88(r1) +/* 80137280 001341E0 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80137284 001341E4 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80137288 001341E8 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 8013728C 001341EC EC 3E 00 72 */ fmuls f1, f30, f1 +/* 80137290 001341F0 38 A1 00 68 */ addi r5, r1, 0x68 +/* 80137294 001341F4 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80137298 001341F8 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8013729C 001341FC D0 01 00 68 */ stfs f0, 0x68(r1) +/* 801372A0 00134200 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 801372A4 00134204 48 1D B7 81 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 801372A8 00134208 FC 20 F0 90 */ fmr f1, f30 +/* 801372AC 0013420C 7F E4 FB 78 */ mr r4, r31 +/* 801372B0 00134210 38 61 00 38 */ addi r3, r1, 0x38 +/* 801372B4 00134214 38 A1 00 2C */ addi r5, r1, 0x2c +/* 801372B8 00134218 4B FE 3D 51 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff +/* 801372BC 0013421C C0 5F 00 E8 */ lfs f2, 0xe8(r31) +/* 801372C0 00134220 C0 02 9A 40 */ lfs f0, lbl_805AB760@sda21(r2) +/* 801372C4 00134224 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 801372C8 00134228 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801372CC 0013422C C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 801372D0 00134230 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 801372D4 00134234 40 81 00 2C */ ble lbl_80137300 +/* 801372D8 00134238 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) +/* 801372DC 0013423C 38 61 00 20 */ addi r3, r1, 0x20 +/* 801372E0 00134240 EC 00 10 24 */ fdivs f0, f0, f2 +/* 801372E4 00134244 EC 40 00 72 */ fmuls f2, f0, f1 +/* 801372E8 00134248 EC 20 00 F2 */ fmuls f1, f0, f3 +/* 801372EC 0013424C EC 00 01 32 */ fmuls f0, f0, f4 +/* 801372F0 00134250 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 801372F4 00134254 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 801372F8 00134258 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 801372FC 0013425C 48 00 00 20 */ b lbl_8013731C +lbl_80137300: +/* 80137300 00134260 38 7F 01 38 */ addi r3, r31, 0x138 +/* 80137304 00134264 48 1D D5 B5 */ bl Magnitude__9CVector3fCFv +/* 80137308 00134268 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 8013730C 0013426C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80137310 00134270 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80137314 00134274 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80137318 00134278 D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_8013731C: +/* 8013731C 0013427C C0 23 00 00 */ lfs f1, 0(r3) +/* 80137320 00134280 C0 02 9A 40 */ lfs f0, lbl_805AB760@sda21(r2) +/* 80137324 00134284 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 80137328 00134288 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8013732C 0013428C C0 03 00 04 */ lfs f0, 4(r3) +/* 80137330 00134290 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80137334 00134294 C0 03 00 08 */ lfs f0, 8(r3) +/* 80137338 00134298 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8013733C 0013429C 40 81 00 34 */ ble lbl_80137370 +/* 80137340 001342A0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80137344 001342A4 48 1D D5 75 */ bl Magnitude__9CVector3fCFv +/* 80137348 001342A8 EC 21 F8 24 */ fdivs f1, f1, f31 +/* 8013734C 001342AC C0 0D 8B 78 */ lfs f0, lbl_805A7738@sda21(r13) +/* 80137350 001342B0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80137354 001342B4 D0 21 00 08 */ stfs f1, 8(r1) +/* 80137358 001342B8 40 80 00 0C */ bge lbl_80137364 +/* 8013735C 001342BC 38 6D 8B 78 */ addi r3, r13, lbl_805A7738@sda21 +/* 80137360 001342C0 48 00 00 08 */ b lbl_80137368 +lbl_80137364: +/* 80137364 001342C4 38 61 00 08 */ addi r3, r1, 8 +lbl_80137368: +/* 80137368 001342C8 C0 23 00 00 */ lfs f1, 0(r3) +/* 8013736C 001342CC 48 00 00 08 */ b lbl_80137374 +lbl_80137370: +/* 80137370 001342D0 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +lbl_80137374: +/* 80137374 001342D4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80137378 001342D8 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8013737C 001342DC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80137380 001342E0 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80137384 001342E4 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80137388 001342E8 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8013738C 001342EC 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80137390 001342F0 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 80137394 001342F4 7C 08 03 A6 */ mtlr r0 +/* 80137398 001342F8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8013739C 001342FC 4E 80 00 20 */ blr + +.global __ct__23CBSWallWalkerLocomotionFR6CActor +__ct__23CBSWallWalkerLocomotionFR6CActor: +/* 801373A0 00134300 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801373A4 00134304 7C 08 02 A6 */ mflr r0 +/* 801373A8 00134308 90 01 00 14 */ stw r0, 0x14(r1) +/* 801373AC 0013430C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801373B0 00134310 7C 7F 1B 78 */ mr r31, r3 +/* 801373B4 00134314 48 00 0D 79 */ bl __ct__18CBSBiPedLocomotionFR6CActor +/* 801373B8 00134318 3C 80 80 3E */ lis r4, lbl_803E158C@ha +/* 801373BC 0013431C 7F E3 FB 78 */ mr r3, r31 +/* 801373C0 00134320 38 04 15 8C */ addi r0, r4, lbl_803E158C@l +/* 801373C4 00134324 90 1F 00 00 */ stw r0, 0(r31) +/* 801373C8 00134328 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801373CC 0013432C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801373D0 00134330 7C 08 03 A6 */ mtlr r0 +/* 801373D4 00134334 38 21 00 10 */ addi r1, r1, 0x10 +/* 801373D8 00134338 4E 80 00 20 */ blr + +.global ApplyLocomotionPhysics__18CBSFlyerLocomotionFfR15CBodyController +ApplyLocomotionPhysics__18CBSFlyerLocomotionFfR15CBodyController: +/* 801373DC 0013433C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 801373E0 00134340 7C 08 02 A6 */ mflr r0 +/* 801373E4 00134344 90 01 00 74 */ stw r0, 0x74(r1) +/* 801373E8 00134348 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 801373EC 0013434C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 801373F0 00134350 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 801373F4 00134354 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 801373F8 00134358 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 801373FC 0013435C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80137400 00134360 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80137404 00134364 FF C0 08 90 */ fmr f30, f1 +/* 80137408 00134368 7C 7D 1B 78 */ mr r29, r3 +/* 8013740C 0013436C 7C 9E 23 78 */ mr r30, r4 +/* 80137410 00134370 48 00 14 65 */ bl ApplyLocomotionPhysics__13CBSLocomotionFfR15CBodyController +/* 80137414 00134374 FF E0 08 90 */ fmr f31, f1 +/* 80137418 00134378 80 9E 00 00 */ lwz r4, 0(r30) +/* 8013741C 0013437C 38 61 00 08 */ addi r3, r1, 8 +/* 80137420 00134380 4B F7 52 C5 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80137424 00134384 83 E3 00 04 */ lwz r31, 4(r3) +/* 80137428 00134388 28 1F 00 00 */ cmplwi r31, 0 +/* 8013742C 0013438C 41 82 00 9C */ beq lbl_801374C8 +/* 80137430 00134390 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 80137434 00134394 C0 02 9A 44 */ lfs f0, lbl_805AB764@sda21(r2) +/* 80137438 00134398 FC 20 0A 10 */ fabs f1, f1 +/* 8013743C 0013439C FC 20 08 18 */ frsp f1, f1 +/* 80137440 001343A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80137444 001343A4 40 81 00 84 */ ble lbl_801374C8 +/* 80137448 001343A8 88 1D 03 CC */ lbz r0, 0x3cc(r29) +/* 8013744C 001343AC 28 00 00 00 */ cmplwi r0, 0 +/* 80137450 001343B0 41 82 00 14 */ beq lbl_80137464 +/* 80137454 001343B4 C0 3E 02 D4 */ lfs f1, 0x2d4(r30) +/* 80137458 001343B8 C0 0D A3 C0 */ lfs f0, lbl_805A8F80@sda21(r13) +/* 8013745C 001343BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80137460 001343C0 40 80 00 68 */ bge lbl_801374C8 +lbl_80137464: +/* 80137464 001343C4 38 7E 02 A4 */ addi r3, r30, 0x2a4 +/* 80137468 001343C8 4B FF CA 45 */ bl GetMaxSpeed__14CBodyStateInfoCFv +/* 8013746C 001343CC C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 80137470 001343D0 7F E4 FB 78 */ mr r4, r31 +/* 80137474 001343D4 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 80137478 001343D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013747C 001343DC EC 41 00 B2 */ fmuls f2, f1, f2 +/* 80137480 001343E0 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80137484 001343E4 FC 20 F0 90 */ fmr f1, f30 +/* 80137488 001343E8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8013748C 001343EC EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 80137490 001343F0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80137494 001343F4 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80137498 001343F8 4B FE 3B 71 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff +/* 8013749C 001343FC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 801374A0 00134400 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 801374A4 00134404 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 801374A8 00134408 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 801374AC 0013440C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 801374B0 00134410 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 801374B4 00134414 4B EE 40 81 */ bl Identity__10CAxisAngleFv +/* 801374B8 00134418 7C 65 1B 78 */ mr r5, r3 +/* 801374BC 0013441C 7F E3 FB 78 */ mr r3, r31 +/* 801374C0 00134420 38 81 00 1C */ addi r4, r1, 0x1c +/* 801374C4 00134424 4B FE 4E D5 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_801374C8: +/* 801374C8 00134428 FC 20 F8 90 */ fmr f1, f31 +/* 801374CC 0013442C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 801374D0 00134430 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 801374D4 00134434 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 801374D8 00134438 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 801374DC 0013443C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 801374E0 00134440 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 801374E4 00134444 80 01 00 74 */ lwz r0, 0x74(r1) +/* 801374E8 00134448 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 801374EC 0013444C 7C 08 03 A6 */ mtlr r0 +/* 801374F0 00134450 38 21 00 70 */ addi r1, r1, 0x70 +/* 801374F4 00134454 4E 80 00 20 */ blr + +.global __ct__18CBSFlyerLocomotionFR6CActorb +__ct__18CBSFlyerLocomotionFR6CActorb: +/* 801374F8 00134458 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801374FC 0013445C 7C 08 02 A6 */ mflr r0 +/* 80137500 00134460 90 01 00 14 */ stw r0, 0x14(r1) +/* 80137504 00134464 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80137508 00134468 7C BF 2B 78 */ mr r31, r5 +/* 8013750C 0013446C 93 C1 00 08 */ stw r30, 8(r1) +/* 80137510 00134470 7C 7E 1B 78 */ mr r30, r3 +/* 80137514 00134474 48 00 0C 19 */ bl __ct__18CBSBiPedLocomotionFR6CActor +/* 80137518 00134478 3C 80 80 3E */ lis r4, lbl_803E15DC@ha +/* 8013751C 0013447C 7F C3 F3 78 */ mr r3, r30 +/* 80137520 00134480 38 04 15 DC */ addi r0, r4, lbl_803E15DC@l +/* 80137524 00134484 90 1E 00 00 */ stw r0, 0(r30) +/* 80137528 00134488 9B FE 03 CC */ stb r31, 0x3cc(r30) +/* 8013752C 0013448C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80137530 00134490 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80137534 00134494 83 C1 00 08 */ lwz r30, 8(r1) +/* 80137538 00134498 7C 08 03 A6 */ mtlr r0 +/* 8013753C 0013449C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80137540 001344A0 4E 80 00 20 */ blr + +.global UpdateLocomotionAnimation__23CBSRestrictedLocomotionFffR15CBodyControllerb +UpdateLocomotionAnimation__23CBSRestrictedLocomotionFffR15CBodyControllerb: +/* 80137544 001344A4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80137548 001344A8 7C 08 02 A6 */ mflr r0 +/* 8013754C 001344AC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80137550 001344B0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80137554 001344B4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80137558 001344B8 7C 7F 1B 78 */ mr r31, r3 +/* 8013755C 001344BC 41 82 00 0C */ beq lbl_80137568 +/* 80137560 001344C0 38 00 FF FF */ li r0, -1 +/* 80137564 001344C4 48 00 00 08 */ b lbl_8013756C +lbl_80137568: +/* 80137568 001344C8 80 1F 00 44 */ lwz r0, 0x44(r31) +lbl_8013756C: +/* 8013756C 001344CC 2C 00 00 00 */ cmpwi r0, 0 +/* 80137570 001344D0 41 82 00 74 */ beq lbl_801375E4 +/* 80137574 001344D4 80 7F 00 04 */ lwz r3, 4(r31) +/* 80137578 001344D8 80 04 02 F8 */ lwz r0, 0x2f8(r4) +/* 8013757C 001344DC 54 63 10 3A */ slwi r3, r3, 2 +/* 80137580 001344E0 7C 7F 1A 14 */ add r3, r31, r3 +/* 80137584 001344E4 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80137588 001344E8 7C 03 00 00 */ cmpw r3, r0 +/* 8013758C 001344EC 41 82 00 50 */ beq lbl_801375DC +/* 80137590 001344F0 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) +/* 80137594 001344F4 38 00 00 00 */ li r0, 0 +/* 80137598 001344F8 38 C0 FF FF */ li r6, -1 +/* 8013759C 001344FC 38 E0 00 01 */ li r7, 1 +/* 801375A0 00134500 90 61 00 08 */ stw r3, 8(r1) +/* 801375A4 00134504 7C 83 23 78 */ mr r3, r4 +/* 801375A8 00134508 38 81 00 08 */ addi r4, r1, 8 +/* 801375AC 0013450C 38 A0 00 01 */ li r5, 1 +/* 801375B0 00134510 90 C1 00 0C */ stw r6, 0xc(r1) +/* 801375B4 00134514 38 C0 00 00 */ li r6, 0 +/* 801375B8 00134518 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 801375BC 0013451C 98 E1 00 14 */ stb r7, 0x14(r1) +/* 801375C0 00134520 90 01 00 18 */ stw r0, 0x18(r1) +/* 801375C4 00134524 90 01 00 1C */ stw r0, 0x1c(r1) +/* 801375C8 00134528 98 01 00 20 */ stb r0, 0x20(r1) +/* 801375CC 0013452C 90 01 00 24 */ stw r0, 0x24(r1) +/* 801375D0 00134530 90 01 00 28 */ stw r0, 0x28(r1) +/* 801375D4 00134534 90 01 00 2C */ stw r0, 0x2c(r1) +/* 801375D8 00134538 48 00 33 45 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +lbl_801375DC: +/* 801375DC 0013453C 38 00 00 00 */ li r0, 0 +/* 801375E0 00134540 90 1F 00 44 */ stw r0, 0x44(r31) +lbl_801375E4: +/* 801375E4 00134544 80 01 00 44 */ lwz r0, 0x44(r1) +/* 801375E8 00134548 C0 22 9A 38 */ lfs f1, lbl_805AB758@sda21(r2) +/* 801375EC 0013454C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 801375F0 00134550 7C 08 03 A6 */ mtlr r0 +/* 801375F4 00134554 38 21 00 40 */ addi r1, r1, 0x40 +/* 801375F8 00134558 4E 80 00 20 */ blr + +.global __ct__23CBSRestrictedLocomotionFR6CActor +__ct__23CBSRestrictedLocomotionFR6CActor: +/* 801375FC 0013455C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80137600 00134560 7C 08 02 A6 */ mflr r0 +/* 80137604 00134564 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80137608 00134568 BF 21 00 A4 */ stmw r25, 0xa4(r1) +/* 8013760C 0013456C 7C 7F 1B 78 */ mr r31, r3 +/* 80137610 00134570 7C 9B 23 78 */ mr r27, r4 +/* 80137614 00134574 48 00 16 1D */ bl __ct__13CBSLocomotionFv +/* 80137618 00134578 3C 80 80 3E */ lis r4, lbl_803E1630@ha +/* 8013761C 0013457C 38 60 00 0E */ li r3, 0xe +/* 80137620 00134580 38 84 16 30 */ addi r4, r4, lbl_803E1630@l +/* 80137624 00134584 38 00 00 02 */ li r0, 2 +/* 80137628 00134588 90 9F 00 00 */ stw r4, 0(r31) +/* 8013762C 0013458C 38 BF 00 0C */ addi r5, r31, 0xc +/* 80137630 00134590 38 80 00 00 */ li r4, 0 +/* 80137634 00134594 90 7F 00 08 */ stw r3, 8(r31) +/* 80137638 00134598 7C 09 03 A6 */ mtctr r0 +lbl_8013763C: +/* 8013763C 0013459C 28 05 00 00 */ cmplwi r5, 0 +/* 80137640 001345A0 41 82 00 0C */ beq lbl_8013764C +/* 80137644 001345A4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) +/* 80137648 001345A8 90 05 00 00 */ stw r0, 0(r5) +lbl_8013764C: +/* 8013764C 001345AC 34 A5 00 04 */ addic. r5, r5, 4 +/* 80137650 001345B0 41 82 00 0C */ beq lbl_8013765C +/* 80137654 001345B4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) +/* 80137658 001345B8 90 05 00 00 */ stw r0, 0(r5) +lbl_8013765C: +/* 8013765C 001345BC 34 A5 00 04 */ addic. r5, r5, 4 +/* 80137660 001345C0 41 82 00 0C */ beq lbl_8013766C +/* 80137664 001345C4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) +/* 80137668 001345C8 90 05 00 00 */ stw r0, 0(r5) +lbl_8013766C: +/* 8013766C 001345CC 34 A5 00 04 */ addic. r5, r5, 4 +/* 80137670 001345D0 41 82 00 0C */ beq lbl_8013767C +/* 80137674 001345D4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) +/* 80137678 001345D8 90 05 00 00 */ stw r0, 0(r5) +lbl_8013767C: +/* 8013767C 001345DC 34 A5 00 04 */ addic. r5, r5, 4 +/* 80137680 001345E0 41 82 00 0C */ beq lbl_8013768C +/* 80137684 001345E4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) +/* 80137688 001345E8 90 05 00 00 */ stw r0, 0(r5) +lbl_8013768C: +/* 8013768C 001345EC 34 A5 00 04 */ addic. r5, r5, 4 +/* 80137690 001345F0 41 82 00 0C */ beq lbl_8013769C +/* 80137694 001345F4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) +/* 80137698 001345F8 90 05 00 00 */ stw r0, 0(r5) +lbl_8013769C: +/* 8013769C 001345FC 34 A5 00 04 */ addic. r5, r5, 4 +/* 801376A0 00134600 41 82 00 0C */ beq lbl_801376AC +/* 801376A4 00134604 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) +/* 801376A8 00134608 90 05 00 00 */ stw r0, 0(r5) +lbl_801376AC: +/* 801376AC 0013460C 38 84 00 06 */ addi r4, r4, 6 +/* 801376B0 00134610 38 A5 00 04 */ addi r5, r5, 4 +/* 801376B4 00134614 42 00 FF 88 */ bdnz lbl_8013763C +/* 801376B8 00134618 38 00 FF FF */ li r0, -1 +/* 801376BC 0013461C 3B 41 00 5C */ addi r26, r1, 0x5c +/* 801376C0 00134620 90 1F 00 44 */ stw r0, 0x44(r31) +/* 801376C4 00134624 3B 81 00 20 */ addi r28, r1, 0x20 +/* 801376C8 00134628 3B A1 00 18 */ addi r29, r1, 0x18 +/* 801376CC 0013462C 3B 20 00 00 */ li r25, 0 +/* 801376D0 00134630 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 801376D4 00134634 3B C0 00 00 */ li r30, 0 +/* 801376D8 00134638 80 63 00 10 */ lwz r3, 0x10(r3) +/* 801376DC 0013463C 3B 63 00 3C */ addi r27, r3, 0x3c +lbl_801376E0: +/* 801376E0 00134640 38 61 00 18 */ addi r3, r1, 0x18 +/* 801376E4 00134644 48 1A B9 99 */ bl NoParameter__12CPASAnimParmFv +/* 801376E8 00134648 38 61 00 20 */ addi r3, r1, 0x20 +/* 801376EC 0013464C 48 1A B9 91 */ bl NoParameter__12CPASAnimParmFv +/* 801376F0 00134650 38 61 00 28 */ addi r3, r1, 0x28 +/* 801376F4 00134654 48 1A B9 89 */ bl NoParameter__12CPASAnimParmFv +/* 801376F8 00134658 38 61 00 30 */ addi r3, r1, 0x30 +/* 801376FC 0013465C 48 1A B9 81 */ bl NoParameter__12CPASAnimParmFv +/* 80137700 00134660 38 61 00 38 */ addi r3, r1, 0x38 +/* 80137704 00134664 48 1A B9 79 */ bl NoParameter__12CPASAnimParmFv +/* 80137708 00134668 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013770C 0013466C 48 1A B9 71 */ bl NoParameter__12CPASAnimParmFv +/* 80137710 00134670 7F 24 CB 78 */ mr r4, r25 +/* 80137714 00134674 38 61 00 48 */ addi r3, r1, 0x48 +/* 80137718 00134678 48 1A B8 6D */ bl FromEnum__12CPASAnimParmFi +/* 8013771C 0013467C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80137720 00134680 38 80 00 00 */ li r4, 0 +/* 80137724 00134684 48 1A B8 61 */ bl FromEnum__12CPASAnimParmFi +/* 80137728 00134688 93 81 00 08 */ stw r28, 8(r1) +/* 8013772C 0013468C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80137730 00134690 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80137734 00134694 38 C1 00 48 */ addi r6, r1, 0x48 +/* 80137738 00134698 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8013773C 0013469C 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80137740 001346A0 39 01 00 38 */ addi r8, r1, 0x38 +/* 80137744 001346A4 39 21 00 30 */ addi r9, r1, 0x30 +/* 80137748 001346A8 39 41 00 28 */ addi r10, r1, 0x28 +/* 8013774C 001346AC 38 80 00 05 */ li r4, 5 +/* 80137750 001346B0 4B F4 5B 75 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80137754 001346B4 7F 64 DB 78 */ mr r4, r27 +/* 80137758 001346B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013775C 001346BC 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80137760 001346C0 38 C0 FF FF */ li r6, -1 +/* 80137764 001346C4 48 1A DA 09 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai +/* 80137768 001346C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013776C 001346CC 7C 7F F2 14 */ add r3, r31, r30 +/* 80137770 001346D0 28 1A 00 00 */ cmplwi r26, 0 +/* 80137774 001346D4 90 03 00 0C */ stw r0, 0xc(r3) +/* 80137778 001346D8 41 82 00 5C */ beq lbl_801377D4 +/* 8013777C 001346DC 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 80137780 001346E0 38 60 00 00 */ li r3, 0 +/* 80137784 001346E4 2C 05 00 00 */ cmpwi r5, 0 +/* 80137788 001346E8 40 81 00 44 */ ble lbl_801377CC +/* 8013778C 001346EC 2C 05 00 08 */ cmpwi r5, 8 +/* 80137790 001346F0 38 85 FF F8 */ addi r4, r5, -8 +/* 80137794 001346F4 40 81 00 20 */ ble lbl_801377B4 +/* 80137798 001346F8 38 04 00 07 */ addi r0, r4, 7 +/* 8013779C 001346FC 54 00 E8 FE */ srwi r0, r0, 3 +/* 801377A0 00134700 7C 09 03 A6 */ mtctr r0 +/* 801377A4 00134704 2C 04 00 00 */ cmpwi r4, 0 +/* 801377A8 00134708 40 81 00 0C */ ble lbl_801377B4 +lbl_801377AC: +/* 801377AC 0013470C 38 63 00 08 */ addi r3, r3, 8 +/* 801377B0 00134710 42 00 FF FC */ bdnz lbl_801377AC +lbl_801377B4: +/* 801377B4 00134714 7C 03 28 50 */ subf r0, r3, r5 +/* 801377B8 00134718 7C 09 03 A6 */ mtctr r0 +/* 801377BC 0013471C 7C 03 28 00 */ cmpw r3, r5 +/* 801377C0 00134720 40 80 00 0C */ bge lbl_801377CC +lbl_801377C4: +/* 801377C4 00134724 38 63 00 01 */ addi r3, r3, 1 +/* 801377C8 00134728 42 00 FF FC */ bdnz lbl_801377C4 +lbl_801377CC: +/* 801377CC 0013472C 38 00 00 00 */ li r0, 0 +/* 801377D0 00134730 90 01 00 5C */ stw r0, 0x5c(r1) +lbl_801377D4: +/* 801377D4 00134734 3B 39 00 01 */ addi r25, r25, 1 +/* 801377D8 00134738 3B DE 00 04 */ addi r30, r30, 4 +/* 801377DC 0013473C 2C 19 00 0E */ cmpwi r25, 0xe +/* 801377E0 00134740 41 80 FF 00 */ blt lbl_801376E0 +/* 801377E4 00134744 7F E3 FB 78 */ mr r3, r31 +/* 801377E8 00134748 BB 21 00 A4 */ lmw r25, 0xa4(r1) +/* 801377EC 0013474C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 801377F0 00134750 7C 08 03 A6 */ mtlr r0 +/* 801377F4 00134754 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 801377F8 00134758 4E 80 00 20 */ blr + +.global __dt__13CBSLocomotionFv +__dt__13CBSLocomotionFv: +/* 801377FC 0013475C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80137800 00134760 7C 08 02 A6 */ mflr r0 +/* 80137804 00134764 90 01 00 14 */ stw r0, 0x14(r1) +/* 80137808 00134768 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013780C 0013476C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80137810 00134770 41 82 00 30 */ beq lbl_80137840 +/* 80137814 00134774 3C 60 80 3E */ lis r3, lbl_803E16CC@ha +/* 80137818 00134778 38 03 16 CC */ addi r0, r3, lbl_803E16CC@l +/* 8013781C 0013477C 90 1F 00 00 */ stw r0, 0(r31) +/* 80137820 00134780 41 82 00 10 */ beq lbl_80137830 +/* 80137824 00134784 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80137828 00134788 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 8013782C 0013478C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80137830: +/* 80137830 00134790 7C 80 07 35 */ extsh. r0, r4 +/* 80137834 00134794 40 81 00 0C */ ble lbl_80137840 +/* 80137838 00134798 7F E3 FB 78 */ mr r3, r31 +/* 8013783C 0013479C 48 1D E0 F5 */ bl Free__7CMemoryFPCv +lbl_80137840: +/* 80137840 001347A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80137844 001347A4 7F E3 FB 78 */ mr r3, r31 +/* 80137848 001347A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013784C 001347AC 7C 08 03 A6 */ mtlr r0 +/* 80137850 001347B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80137854 001347B4 4E 80 00 20 */ blr + +.global UpdateRun__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim +UpdateRun__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim: +/* 80137858 001347B8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8013785C 001347BC 7C 08 02 A6 */ mflr r0 +/* 80137860 001347C0 90 01 00 94 */ stw r0, 0x94(r1) +/* 80137864 001347C4 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80137868 001347C8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8013786C 001347CC BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 80137870 001347D0 7C 7E 1B 78 */ mr r30, r3 +/* 80137874 001347D4 FF E0 08 90 */ fmr f31, f1 +/* 80137878 001347D8 7C 9F 23 78 */ mr r31, r4 +/* 8013787C 001347DC 80 83 00 04 */ lwz r4, 4(r3) +/* 80137880 001347E0 7C BB 2B 78 */ mr r27, r5 +/* 80137884 001347E4 38 A0 00 01 */ li r5, 1 +/* 80137888 001347E8 48 00 05 C1 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 8013788C 001347EC 80 9E 00 04 */ lwz r4, 4(r30) +/* 80137890 001347F0 7C 7D 1B 78 */ mr r29, r3 +/* 80137894 001347F4 7F C3 F3 78 */ mr r3, r30 +/* 80137898 001347F8 38 A0 00 02 */ li r5, 2 +/* 8013789C 001347FC 48 00 05 AD */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 801378A0 00134800 FC 20 F8 90 */ fmr f1, f31 +/* 801378A4 00134804 7C 7C 1B 78 */ mr r28, r3 +/* 801378A8 00134808 7F C3 F3 78 */ mr r3, r30 +/* 801378AC 0013480C 7F A4 EB 78 */ mr r4, r29 +/* 801378B0 00134810 7F 85 E3 78 */ mr r5, r28 +/* 801378B4 00134814 48 00 0E 4D */ bl "ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf" +/* 801378B8 00134818 C0 02 9A 48 */ lfs f0, lbl_805AB768@sda21(r2) +/* 801378BC 0013481C 80 7D 00 00 */ lwz r3, 0(r29) +/* 801378C0 00134820 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801378C4 00134824 80 9C 00 00 */ lwz r4, 0(r28) +/* 801378C8 00134828 40 80 00 A0 */ bge lbl_80137968 +/* 801378CC 0013482C C0 3D 00 04 */ lfs f1, 4(r29) +/* 801378D0 00134830 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 801378D4 00134834 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801378D8 00134838 40 81 00 0C */ ble lbl_801378E4 +/* 801378DC 0013483C EF FF 08 24 */ fdivs f31, f31, f1 +/* 801378E0 00134840 48 00 00 08 */ b lbl_801378E8 +lbl_801378E4: +/* 801378E4 00134844 C3 E2 9A 38 */ lfs f31, lbl_805AB758@sda21(r2) +lbl_801378E8: +/* 801378E8 00134848 2C 1B 00 01 */ cmpwi r27, 1 +/* 801378EC 0013484C 41 82 00 64 */ beq lbl_80137950 +/* 801378F0 00134850 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 801378F4 00134854 7C 03 00 00 */ cmpw r3, r0 +/* 801378F8 00134858 41 82 00 58 */ beq lbl_80137950 +/* 801378FC 0013485C C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) +/* 80137900 00134860 38 00 00 00 */ li r0, 0 +/* 80137904 00134864 38 C0 FF FF */ li r6, -1 +/* 80137908 00134868 38 E0 00 01 */ li r7, 1 +/* 8013790C 0013486C 90 61 00 34 */ stw r3, 0x34(r1) +/* 80137910 00134870 7F E3 FB 78 */ mr r3, r31 +/* 80137914 00134874 38 81 00 34 */ addi r4, r1, 0x34 +/* 80137918 00134878 38 A0 00 01 */ li r5, 1 +/* 8013791C 0013487C 90 C1 00 38 */ stw r6, 0x38(r1) +/* 80137920 00134880 38 C0 00 00 */ li r6, 0 +/* 80137924 00134884 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80137928 00134888 98 E1 00 40 */ stb r7, 0x40(r1) +/* 8013792C 0013488C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80137930 00134890 90 01 00 48 */ stw r0, 0x48(r1) +/* 80137934 00134894 98 01 00 4C */ stb r0, 0x4c(r1) +/* 80137938 00134898 90 01 00 50 */ stw r0, 0x50(r1) +/* 8013793C 0013489C 90 01 00 54 */ stw r0, 0x54(r1) +/* 80137940 001348A0 90 01 00 58 */ stw r0, 0x58(r1) +/* 80137944 001348A4 48 00 2F D9 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80137948 001348A8 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 8013794C 001348AC D0 1E 03 C8 */ stfs f0, 0x3c8(r30) +lbl_80137950: +/* 80137950 001348B0 FC 20 F8 90 */ fmr f1, f31 +/* 80137954 001348B4 7F E3 FB 78 */ mr r3, r31 +/* 80137958 001348B8 48 00 2F 09 */ bl MultiplyPlaybackRate__15CBodyControllerFf +/* 8013795C 001348BC 38 00 00 01 */ li r0, 1 +/* 80137960 001348C0 90 1E 03 C4 */ stw r0, 0x3c4(r30) +/* 80137964 001348C4 48 00 00 A8 */ b lbl_80137A0C +lbl_80137968: +/* 80137968 001348C8 C0 3C 00 04 */ lfs f1, 4(r28) +/* 8013796C 001348CC C0 0D 8B 70 */ lfs f0, lbl_805A7730@sda21(r13) +/* 80137970 001348D0 EC 3F 08 24 */ fdivs f1, f31, f1 +/* 80137974 001348D4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80137978 001348D8 D0 21 00 08 */ stfs f1, 8(r1) +/* 8013797C 001348DC 40 80 00 0C */ bge lbl_80137988 +/* 80137980 001348E0 38 6D 8B 70 */ addi r3, r13, lbl_805A7730@sda21 +/* 80137984 001348E4 48 00 00 08 */ b lbl_8013798C +lbl_80137988: +/* 80137988 001348E8 38 61 00 08 */ addi r3, r1, 8 +lbl_8013798C: +/* 8013798C 001348EC 2C 1B 00 02 */ cmpwi r27, 2 +/* 80137990 001348F0 C3 E3 00 00 */ lfs f31, 0(r3) +/* 80137994 001348F4 41 82 00 64 */ beq lbl_801379F8 +/* 80137998 001348F8 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8013799C 001348FC 7C 04 00 00 */ cmpw r4, r0 +/* 801379A0 00134900 41 82 00 58 */ beq lbl_801379F8 +/* 801379A4 00134904 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) +/* 801379A8 00134908 38 00 00 00 */ li r0, 0 +/* 801379AC 0013490C 38 C0 FF FF */ li r6, -1 +/* 801379B0 00134910 38 E0 00 01 */ li r7, 1 +/* 801379B4 00134914 90 81 00 0C */ stw r4, 0xc(r1) +/* 801379B8 00134918 7F E3 FB 78 */ mr r3, r31 +/* 801379BC 0013491C 38 81 00 0C */ addi r4, r1, 0xc +/* 801379C0 00134920 38 A0 00 01 */ li r5, 1 +/* 801379C4 00134924 90 C1 00 10 */ stw r6, 0x10(r1) +/* 801379C8 00134928 38 C0 00 00 */ li r6, 0 +/* 801379CC 0013492C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 801379D0 00134930 98 E1 00 18 */ stb r7, 0x18(r1) +/* 801379D4 00134934 90 01 00 1C */ stw r0, 0x1c(r1) +/* 801379D8 00134938 90 01 00 20 */ stw r0, 0x20(r1) +/* 801379DC 0013493C 98 01 00 24 */ stb r0, 0x24(r1) +/* 801379E0 00134940 90 01 00 28 */ stw r0, 0x28(r1) +/* 801379E4 00134944 90 01 00 2C */ stw r0, 0x2c(r1) +/* 801379E8 00134948 90 01 00 30 */ stw r0, 0x30(r1) +/* 801379EC 0013494C 48 00 2F 31 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 801379F0 00134950 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 801379F4 00134954 D0 1E 03 C8 */ stfs f0, 0x3c8(r30) +lbl_801379F8: +/* 801379F8 00134958 FC 20 F8 90 */ fmr f1, f31 +/* 801379FC 0013495C 7F E3 FB 78 */ mr r3, r31 +/* 80137A00 00134960 48 00 2E 61 */ bl MultiplyPlaybackRate__15CBodyControllerFf +/* 80137A04 00134964 38 00 00 02 */ li r0, 2 +/* 80137A08 00134968 90 1E 03 C4 */ stw r0, 0x3c4(r30) +lbl_80137A0C: +/* 80137A0C 0013496C FC 20 F8 90 */ fmr f1, f31 +/* 80137A10 00134970 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80137A14 00134974 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80137A18 00134978 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 80137A1C 0013497C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80137A20 00134980 7C 08 03 A6 */ mtlr r0 +/* 80137A24 00134984 38 21 00 90 */ addi r1, r1, 0x90 +/* 80137A28 00134988 4E 80 00 20 */ blr + +.global UpdateWalk__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim +UpdateWalk__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim: +/* 80137A2C 0013498C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80137A30 00134990 7C 08 02 A6 */ mflr r0 +/* 80137A34 00134994 90 01 00 64 */ stw r0, 0x64(r1) +/* 80137A38 00134998 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80137A3C 0013499C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80137A40 001349A0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80137A44 001349A4 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80137A48 001349A8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80137A4C 001349AC FF E0 08 90 */ fmr f31, f1 +/* 80137A50 001349B0 2C 05 00 01 */ cmpwi r5, 1 +/* 80137A54 001349B4 7C 7D 1B 78 */ mr r29, r3 +/* 80137A58 001349B8 7C 9E 23 78 */ mr r30, r4 +/* 80137A5C 001349BC 41 82 00 7C */ beq lbl_80137AD8 +/* 80137A60 001349C0 80 9D 00 04 */ lwz r4, 4(r29) +/* 80137A64 001349C4 38 A0 00 01 */ li r5, 1 +/* 80137A68 001349C8 48 00 03 E1 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80137A6C 001349CC 80 63 00 00 */ lwz r3, 0(r3) +/* 80137A70 001349D0 80 1E 02 F8 */ lwz r0, 0x2f8(r30) +/* 80137A74 001349D4 7C 03 00 00 */ cmpw r3, r0 +/* 80137A78 001349D8 41 82 00 58 */ beq lbl_80137AD0 +/* 80137A7C 001349DC C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) +/* 80137A80 001349E0 38 00 00 00 */ li r0, 0 +/* 80137A84 001349E4 38 C0 FF FF */ li r6, -1 +/* 80137A88 001349E8 38 E0 00 01 */ li r7, 1 +/* 80137A8C 001349EC 90 61 00 0C */ stw r3, 0xc(r1) +/* 80137A90 001349F0 7F C3 F3 78 */ mr r3, r30 +/* 80137A94 001349F4 38 81 00 0C */ addi r4, r1, 0xc +/* 80137A98 001349F8 38 A0 00 01 */ li r5, 1 +/* 80137A9C 001349FC 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80137AA0 00134A00 38 C0 00 00 */ li r6, 0 +/* 80137AA4 00134A04 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80137AA8 00134A08 98 E1 00 18 */ stb r7, 0x18(r1) +/* 80137AAC 00134A0C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80137AB0 00134A10 90 01 00 20 */ stw r0, 0x20(r1) +/* 80137AB4 00134A14 98 01 00 24 */ stb r0, 0x24(r1) +/* 80137AB8 00134A18 90 01 00 28 */ stw r0, 0x28(r1) +/* 80137ABC 00134A1C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80137AC0 00134A20 90 01 00 30 */ stw r0, 0x30(r1) +/* 80137AC4 00134A24 48 00 2E 59 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80137AC8 00134A28 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 80137ACC 00134A2C D0 1D 03 C8 */ stfs f0, 0x3c8(r29) +lbl_80137AD0: +/* 80137AD0 00134A30 38 00 00 01 */ li r0, 1 +/* 80137AD4 00134A34 90 1D 03 C4 */ stw r0, 0x3c4(r29) +lbl_80137AD8: +/* 80137AD8 00134A38 80 9D 00 04 */ lwz r4, 4(r29) +/* 80137ADC 00134A3C 7F A3 EB 78 */ mr r3, r29 +/* 80137AE0 00134A40 38 A0 00 00 */ li r5, 0 +/* 80137AE4 00134A44 48 00 03 65 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80137AE8 00134A48 80 9D 00 04 */ lwz r4, 4(r29) +/* 80137AEC 00134A4C 7C 7F 1B 78 */ mr r31, r3 +/* 80137AF0 00134A50 7F A3 EB 78 */ mr r3, r29 +/* 80137AF4 00134A54 38 A0 00 01 */ li r5, 1 +/* 80137AF8 00134A58 48 00 03 51 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80137AFC 00134A5C FC 20 F8 90 */ fmr f1, f31 +/* 80137B00 00134A60 7C 65 1B 78 */ mr r5, r3 +/* 80137B04 00134A64 7F A3 EB 78 */ mr r3, r29 +/* 80137B08 00134A68 7F E4 FB 78 */ mr r4, r31 +/* 80137B0C 00134A6C 48 00 0B F5 */ bl "ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf" +/* 80137B10 00134A70 FC 00 08 18 */ frsp f0, f1 +/* 80137B14 00134A74 C0 42 9A 30 */ lfs f2, lbl_805AB750@sda21(r2) +/* 80137B18 00134A78 D0 21 00 08 */ stfs f1, 8(r1) +/* 80137B1C 00134A7C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80137B20 00134A80 40 80 00 0C */ bge lbl_80137B2C +/* 80137B24 00134A84 38 61 00 08 */ addi r3, r1, 8 +/* 80137B28 00134A88 48 00 00 08 */ b lbl_80137B30 +lbl_80137B2C: +/* 80137B2C 00134A8C 38 62 9A 30 */ addi r3, r2, lbl_805AB750@sda21 +lbl_80137B30: +/* 80137B30 00134A90 C3 E3 00 00 */ lfs f31, 0(r3) +/* 80137B34 00134A94 7F C3 F3 78 */ mr r3, r30 +/* 80137B38 00134A98 FC 20 F8 90 */ fmr f1, f31 +/* 80137B3C 00134A9C 48 00 2D 25 */ bl MultiplyPlaybackRate__15CBodyControllerFf +/* 80137B40 00134AA0 FC 20 F8 90 */ fmr f1, f31 +/* 80137B44 00134AA4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80137B48 00134AA8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80137B4C 00134AAC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80137B50 00134AB0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80137B54 00134AB4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80137B58 00134AB8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80137B5C 00134ABC 7C 08 03 A6 */ mtlr r0 +/* 80137B60 00134AC0 38 21 00 60 */ addi r1, r1, 0x60 +/* 80137B64 00134AC4 4E 80 00 20 */ blr + +.global UpdateStrafe__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim +UpdateStrafe__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim: +/* 80137B68 00134AC8 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80137B6C 00134ACC 7C 08 02 A6 */ mflr r0 +/* 80137B70 00134AD0 90 01 00 84 */ stw r0, 0x84(r1) +/* 80137B74 00134AD4 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80137B78 00134AD8 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80137B7C 00134ADC 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80137B80 00134AE0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80137B84 00134AE4 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80137B88 00134AE8 93 81 00 60 */ stw r28, 0x60(r1) +/* 80137B8C 00134AEC 7C 9F 23 78 */ mr r31, r4 +/* 80137B90 00134AF0 FF E0 08 90 */ fmr f31, f1 +/* 80137B94 00134AF4 80 84 00 00 */ lwz r4, 0(r4) +/* 80137B98 00134AF8 7C 7E 1B 78 */ mr r30, r3 +/* 80137B9C 00134AFC 7C BC 2B 78 */ mr r28, r5 +/* 80137BA0 00134B00 38 61 00 0C */ addi r3, r1, 0xc +/* 80137BA4 00134B04 4B F7 4B 41 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80137BA8 00134B08 80 83 00 04 */ lwz r4, 4(r3) +/* 80137BAC 00134B0C 28 04 00 00 */ cmplwi r4, 0 +/* 80137BB0 00134B10 41 82 01 F8 */ beq lbl_80137DA8 +/* 80137BB4 00134B14 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80137BB8 00134B18 38 61 00 14 */ addi r3, r1, 0x14 +/* 80137BBC 00134B1C 38 84 00 34 */ addi r4, r4, 0x34 +/* 80137BC0 00134B20 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80137BC4 00134B24 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80137BC8 00134B28 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80137BCC 00134B2C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80137BD0 00134B30 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80137BD4 00134B34 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80137BD8 00134B38 48 1D AE 4D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80137BDC 00134B3C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80137BE0 00134B40 38 A0 00 00 */ li r5, 0 +/* 80137BE4 00134B44 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 80137BE8 00134B48 38 61 00 20 */ addi r3, r1, 0x20 +/* 80137BEC 00134B4C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80137BF0 00134B50 EC 80 00 32 */ fmuls f4, f0, f0 +/* 80137BF4 00134B54 EC A3 00 F2 */ fmuls f5, f3, f3 +/* 80137BF8 00134B58 54 A0 10 3A */ slwi r0, r5, 2 +/* 80137BFC 00134B5C EC C2 00 B2 */ fmuls f6, f2, f2 +/* 80137C00 00134B60 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80137C04 00134B64 FC 20 20 18 */ frsp f1, f4 +/* 80137C08 00134B68 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 80137C0C 00134B6C D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80137C10 00134B70 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 80137C14 00134B74 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80137C18 00134B78 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 80137C1C 00134B7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80137C20 00134B80 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80137C24 00134B84 4C 41 13 82 */ cror 2, 1, 2 +/* 80137C28 00134B88 40 82 00 08 */ bne lbl_80137C30 +/* 80137C2C 00134B8C 38 A0 00 00 */ li r5, 0 +lbl_80137C30: +/* 80137C30 00134B90 54 A0 10 3A */ slwi r0, r5, 2 +/* 80137C34 00134B94 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80137C38 00134B98 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80137C3C 00134B9C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80137C40 00134BA0 4C 41 13 82 */ cror 2, 1, 2 +/* 80137C44 00134BA4 40 82 00 08 */ bne lbl_80137C4C +/* 80137C48 00134BA8 38 A0 00 01 */ li r5, 1 +lbl_80137C4C: +/* 80137C4C 00134BAC 54 A0 10 3A */ slwi r0, r5, 2 +/* 80137C50 00134BB0 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80137C54 00134BB4 7C 03 04 2E */ lfsx f0, r3, r0 +/* 80137C58 00134BB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80137C5C 00134BBC 4C 41 13 82 */ cror 2, 1, 2 +/* 80137C60 00134BC0 40 82 00 08 */ bne lbl_80137C68 +/* 80137C64 00134BC4 38 A0 00 02 */ li r5, 2 +lbl_80137C68: +/* 80137C68 00134BC8 54 A0 10 3A */ slwi r0, r5, 2 +/* 80137C6C 00134BCC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80137C70 00134BD0 7C 23 04 2E */ lfsx f1, r3, r0 +/* 80137C74 00134BD4 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 80137C78 00134BD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80137C7C 00134BDC 40 81 00 0C */ ble lbl_80137C88 +/* 80137C80 00134BE0 38 80 00 00 */ li r4, 0 +/* 80137C84 00134BE4 48 00 00 08 */ b lbl_80137C8C +lbl_80137C88: +/* 80137C88 00134BE8 38 80 00 01 */ li r4, 1 +lbl_80137C8C: +/* 80137C8C 00134BEC 7F C3 F3 78 */ mr r3, r30 +/* 80137C90 00134BF0 54 A0 08 3C */ slwi r0, r5, 1 +/* 80137C94 00134BF4 7C 04 02 14 */ add r0, r4, r0 +/* 80137C98 00134BF8 81 9E 00 00 */ lwz r12, 0(r30) +/* 80137C9C 00134BFC 3C A0 80 3E */ lis r5, lbl_803E14C0@ha +/* 80137CA0 00134C00 80 9E 00 04 */ lwz r4, 4(r30) +/* 80137CA4 00134C04 54 00 10 3A */ slwi r0, r0, 2 +/* 80137CA8 00134C08 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80137CAC 00134C0C 38 A5 14 C0 */ addi r5, r5, lbl_803E14C0@l +/* 80137CB0 00134C10 7F A5 00 2E */ lwzx r29, r5, r0 +/* 80137CB4 00134C14 7F A5 EB 78 */ mr r5, r29 +/* 80137CB8 00134C18 7D 89 03 A6 */ mtctr r12 +/* 80137CBC 00134C1C 4E 80 04 21 */ bctrl +/* 80137CC0 00134C20 7C 1C E8 00 */ cmpw r28, r29 +/* 80137CC4 00134C24 EF FF 00 72 */ fmuls f31, f31, f1 +/* 80137CC8 00134C28 41 82 00 7C */ beq lbl_80137D44 +/* 80137CCC 00134C2C 80 9E 00 04 */ lwz r4, 4(r30) +/* 80137CD0 00134C30 7F C3 F3 78 */ mr r3, r30 +/* 80137CD4 00134C34 7F A5 EB 78 */ mr r5, r29 +/* 80137CD8 00134C38 48 00 01 71 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80137CDC 00134C3C 80 63 00 00 */ lwz r3, 0(r3) +/* 80137CE0 00134C40 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80137CE4 00134C44 7C 03 00 00 */ cmpw r3, r0 +/* 80137CE8 00134C48 41 82 00 58 */ beq lbl_80137D40 +/* 80137CEC 00134C4C C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) +/* 80137CF0 00134C50 38 00 00 00 */ li r0, 0 +/* 80137CF4 00134C54 38 C0 FF FF */ li r6, -1 +/* 80137CF8 00134C58 38 E0 00 01 */ li r7, 1 +/* 80137CFC 00134C5C 90 61 00 38 */ stw r3, 0x38(r1) +/* 80137D00 00134C60 7F E3 FB 78 */ mr r3, r31 +/* 80137D04 00134C64 38 81 00 38 */ addi r4, r1, 0x38 +/* 80137D08 00134C68 38 A0 00 01 */ li r5, 1 +/* 80137D0C 00134C6C 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 80137D10 00134C70 38 C0 00 00 */ li r6, 0 +/* 80137D14 00134C74 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80137D18 00134C78 98 E1 00 44 */ stb r7, 0x44(r1) +/* 80137D1C 00134C7C 90 01 00 48 */ stw r0, 0x48(r1) +/* 80137D20 00134C80 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80137D24 00134C84 98 01 00 50 */ stb r0, 0x50(r1) +/* 80137D28 00134C88 90 01 00 54 */ stw r0, 0x54(r1) +/* 80137D2C 00134C8C 90 01 00 58 */ stw r0, 0x58(r1) +/* 80137D30 00134C90 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80137D34 00134C94 48 00 2B E9 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80137D38 00134C98 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 80137D3C 00134C9C D0 1E 03 C8 */ stfs f0, 0x3c8(r30) +lbl_80137D40: +/* 80137D40 00134CA0 93 BE 03 C4 */ stw r29, 0x3c4(r30) +lbl_80137D44: +/* 80137D44 00134CA4 80 9E 00 04 */ lwz r4, 4(r30) +/* 80137D48 00134CA8 7F C3 F3 78 */ mr r3, r30 +/* 80137D4C 00134CAC 38 A0 00 00 */ li r5, 0 +/* 80137D50 00134CB0 48 00 00 F9 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80137D54 00134CB4 80 9E 00 04 */ lwz r4, 4(r30) +/* 80137D58 00134CB8 7C 7C 1B 78 */ mr r28, r3 +/* 80137D5C 00134CBC 7F C3 F3 78 */ mr r3, r30 +/* 80137D60 00134CC0 7F A5 EB 78 */ mr r5, r29 +/* 80137D64 00134CC4 48 00 00 E5 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80137D68 00134CC8 FC 20 F8 90 */ fmr f1, f31 +/* 80137D6C 00134CCC 7C 65 1B 78 */ mr r5, r3 +/* 80137D70 00134CD0 7F C3 F3 78 */ mr r3, r30 +/* 80137D74 00134CD4 7F 84 E3 78 */ mr r4, r28 +/* 80137D78 00134CD8 48 00 09 89 */ bl "ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf" +/* 80137D7C 00134CDC FC 00 08 18 */ frsp f0, f1 +/* 80137D80 00134CE0 C0 42 9A 30 */ lfs f2, lbl_805AB750@sda21(r2) +/* 80137D84 00134CE4 D0 21 00 08 */ stfs f1, 8(r1) +/* 80137D88 00134CE8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80137D8C 00134CEC 40 80 00 0C */ bge lbl_80137D98 +/* 80137D90 00134CF0 38 61 00 08 */ addi r3, r1, 8 +/* 80137D94 00134CF4 48 00 00 08 */ b lbl_80137D9C +lbl_80137D98: +/* 80137D98 00134CF8 38 62 9A 30 */ addi r3, r2, lbl_805AB750@sda21 +lbl_80137D9C: +/* 80137D9C 00134CFC C0 23 00 00 */ lfs f1, 0(r3) +/* 80137DA0 00134D00 7F E3 FB 78 */ mr r3, r31 +/* 80137DA4 00134D04 48 00 2A BD */ bl MultiplyPlaybackRate__15CBodyControllerFf +lbl_80137DA8: +/* 80137DA8 00134D08 C0 22 9A 38 */ lfs f1, lbl_805AB758@sda21(r2) +/* 80137DAC 00134D0C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80137DB0 00134D10 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80137DB4 00134D14 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80137DB8 00134D18 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80137DBC 00134D1C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80137DC0 00134D20 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80137DC4 00134D24 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80137DC8 00134D28 7C 08 03 A6 */ mtlr r0 +/* 80137DCC 00134D2C 38 21 00 80 */ addi r1, r1, 0x80 +/* 80137DD0 00134D30 4E 80 00 20 */ blr + +.global IsStrafing__18CBSBiPedLocomotionCFR15CBodyController +IsStrafing__18CBSBiPedLocomotionCFR15CBodyController: +/* 80137DD4 00134D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80137DD8 00134D38 7C 08 02 A6 */ mflr r0 +/* 80137DDC 00134D3C 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80137DE0 00134D40 38 64 00 04 */ addi r3, r4, 4 +/* 80137DE4 00134D44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80137DE8 00134D48 38 85 66 A0 */ addi r4, r5, skZero3f@l +/* 80137DEC 00134D4C C0 22 9A 4C */ lfs f1, lbl_805AB76C@sda21(r2) +/* 80137DF0 00134D50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80137DF4 00134D54 3B E0 00 00 */ li r31, 0 +/* 80137DF8 00134D58 93 C1 00 08 */ stw r30, 8(r1) +/* 80137DFC 00134D5C 3B C3 00 0C */ addi r30, r3, 0xc +/* 80137E00 00134D60 48 1D 81 65 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80137E04 00134D64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80137E08 00134D68 40 82 00 24 */ bne lbl_80137E2C +/* 80137E0C 00134D6C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80137E10 00134D70 C0 22 9A 4C */ lfs f1, lbl_805AB76C@sda21(r2) +/* 80137E14 00134D74 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80137E18 00134D78 7F C3 F3 78 */ mr r3, r30 +/* 80137E1C 00134D7C 48 1D 81 49 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80137E20 00134D80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80137E24 00134D84 40 82 00 08 */ bne lbl_80137E2C +/* 80137E28 00134D88 3B E0 00 01 */ li r31, 1 +lbl_80137E2C: +/* 80137E2C 00134D8C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80137E30 00134D90 7F E3 FB 78 */ mr r3, r31 +/* 80137E34 00134D94 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80137E38 00134D98 83 C1 00 08 */ lwz r30, 8(r1) +/* 80137E3C 00134D9C 7C 08 03 A6 */ mtlr r0 +/* 80137E40 00134DA0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80137E44 00134DA4 4E 80 00 20 */ blr + +.global GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim: +/* 80137E48 00134DA8 1C 84 00 44 */ mulli r4, r4, 0x44 +/* 80137E4C 00134DAC 54 A0 18 38 */ slwi r0, r5, 3 +/* 80137E50 00134DB0 7C 63 22 14 */ add r3, r3, r4 +/* 80137E54 00134DB4 7C 63 02 14 */ add r3, r3, r0 +/* 80137E58 00134DB8 38 63 00 10 */ addi r3, r3, 0x10 +/* 80137E5C 00134DBC 4E 80 00 20 */ blr + +.global UpdateLocomotionAnimation__18CBSBiPedLocomotionFffR15CBodyControllerb +UpdateLocomotionAnimation__18CBSBiPedLocomotionFffR15CBodyControllerb: +/* 80137E60 00134DC0 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80137E64 00134DC4 7C 08 02 A6 */ mflr r0 +/* 80137E68 00134DC8 90 01 00 84 */ stw r0, 0x84(r1) +/* 80137E6C 00134DCC DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80137E70 00134DD0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80137E74 00134DD4 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80137E78 00134DD8 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80137E7C 00134DDC DB A1 00 50 */ stfd f29, 0x50(r1) +/* 80137E80 00134DE0 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80137E84 00134DE4 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 80137E88 00134DE8 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 80137E8C 00134DEC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80137E90 00134DF0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80137E94 00134DF4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80137E98 00134DF8 93 81 00 30 */ stw r28, 0x30(r1) +/* 80137E9C 00134DFC FF 80 08 90 */ fmr f28, f1 +/* 80137EA0 00134E00 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80137EA4 00134E04 FF A0 10 90 */ fmr f29, f2 +/* 80137EA8 00134E08 C3 E2 9A 38 */ lfs f31, lbl_805AB758@sda21(r2) +/* 80137EAC 00134E0C 7C BE 2B 78 */ mr r30, r5 +/* 80137EB0 00134E10 7C 7C 1B 78 */ mr r28, r3 +/* 80137EB4 00134E14 7C 9D 23 78 */ mr r29, r4 +/* 80137EB8 00134E18 40 82 00 18 */ bne lbl_80137ED0 +/* 80137EBC 00134E1C C0 3C 03 C8 */ lfs f1, 0x3c8(r28) +/* 80137EC0 00134E20 C0 02 9A 50 */ lfs f0, lbl_805AB770@sda21(r2) +/* 80137EC4 00134E24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80137EC8 00134E28 4C 41 13 82 */ cror 2, 1, 2 +/* 80137ECC 00134E2C 40 82 01 98 */ bne lbl_80138064 +lbl_80137ED0: +/* 80137ED0 00134E30 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80137ED4 00134E34 41 82 00 0C */ beq lbl_80137EE0 +/* 80137ED8 00134E38 3B E0 FF FF */ li r31, -1 +/* 80137EDC 00134E3C 48 00 00 08 */ b lbl_80137EE4 +lbl_80137EE0: +/* 80137EE0 00134E40 83 FC 03 C4 */ lwz r31, 0x3c4(r28) +lbl_80137EE4: +/* 80137EE4 00134E44 7F 83 E3 78 */ mr r3, r28 +/* 80137EE8 00134E48 80 9C 00 04 */ lwz r4, 4(r28) +/* 80137EEC 00134E4C 81 9C 00 00 */ lwz r12, 0(r28) +/* 80137EF0 00134E50 38 A0 00 02 */ li r5, 2 +/* 80137EF4 00134E54 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80137EF8 00134E58 7D 89 03 A6 */ mtctr r12 +/* 80137EFC 00134E5C 4E 80 04 21 */ bctrl +/* 80137F00 00134E60 7F 83 E3 78 */ mr r3, r28 +/* 80137F04 00134E64 EF DD 00 72 */ fmuls f30, f29, f1 +/* 80137F08 00134E68 81 9C 00 00 */ lwz r12, 0(r28) +/* 80137F0C 00134E6C 7F A4 EB 78 */ mr r4, r29 +/* 80137F10 00134E70 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80137F14 00134E74 7D 89 03 A6 */ mtctr r12 +/* 80137F18 00134E78 4E 80 04 21 */ bctrl +/* 80137F1C 00134E7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80137F20 00134E80 41 82 00 30 */ beq lbl_80137F50 +/* 80137F24 00134E84 C0 02 9A 44 */ lfs f0, lbl_805AB764@sda21(r2) +/* 80137F28 00134E88 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80137F2C 00134E8C 4C 41 13 82 */ cror 2, 1, 2 +/* 80137F30 00134E90 40 82 00 20 */ bne lbl_80137F50 +/* 80137F34 00134E94 FC 20 E8 90 */ fmr f1, f29 +/* 80137F38 00134E98 7F 83 E3 78 */ mr r3, r28 +/* 80137F3C 00134E9C 7F A4 EB 78 */ mr r4, r29 +/* 80137F40 00134EA0 7F E5 FB 78 */ mr r5, r31 +/* 80137F44 00134EA4 4B FF FC 25 */ bl UpdateStrafe__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim +/* 80137F48 00134EA8 FF E0 08 90 */ fmr f31, f1 +/* 80137F4C 00134EAC 48 00 01 18 */ b lbl_80138064 +lbl_80137F50: +/* 80137F50 00134EB0 C0 02 9A 44 */ lfs f0, lbl_805AB764@sda21(r2) +/* 80137F54 00134EB4 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80137F58 00134EB8 40 80 00 BC */ bge lbl_80138014 +/* 80137F5C 00134EBC 2C 1F 00 00 */ cmpwi r31, 0 +/* 80137F60 00134EC0 40 82 00 0C */ bne lbl_80137F6C +/* 80137F64 00134EC4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80137F68 00134EC8 41 82 00 FC */ beq lbl_80138064 +lbl_80137F6C: +/* 80137F6C 00134ECC 88 1D 02 D8 */ lbz r0, 0x2d8(r29) +/* 80137F70 00134ED0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80137F74 00134ED4 41 82 00 20 */ beq lbl_80137F94 +/* 80137F78 00134ED8 7F A3 EB 78 */ mr r3, r29 +/* 80137F7C 00134EDC 48 00 29 3D */ bl GetAnimTimeRemaining__15CBodyControllerCFv +/* 80137F80 00134EE0 FC 01 E0 40 */ fcmpo cr0, f1, f28 +/* 80137F84 00134EE4 4C 40 13 82 */ cror 2, 0, 2 +/* 80137F88 00134EE8 41 82 00 0C */ beq lbl_80137F94 +/* 80137F8C 00134EEC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80137F90 00134EF0 41 82 00 D4 */ beq lbl_80138064 +lbl_80137F94: +/* 80137F94 00134EF4 80 9C 00 04 */ lwz r4, 4(r28) +/* 80137F98 00134EF8 7F 83 E3 78 */ mr r3, r28 +/* 80137F9C 00134EFC 38 A0 00 00 */ li r5, 0 +/* 80137FA0 00134F00 4B FF FE A9 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80137FA4 00134F04 80 63 00 00 */ lwz r3, 0(r3) +/* 80137FA8 00134F08 80 1D 02 F8 */ lwz r0, 0x2f8(r29) +/* 80137FAC 00134F0C 7C 03 00 00 */ cmpw r3, r0 +/* 80137FB0 00134F10 41 82 00 58 */ beq lbl_80138008 +/* 80137FB4 00134F14 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) +/* 80137FB8 00134F18 38 00 00 00 */ li r0, 0 +/* 80137FBC 00134F1C 38 C0 FF FF */ li r6, -1 +/* 80137FC0 00134F20 38 E0 00 01 */ li r7, 1 +/* 80137FC4 00134F24 90 61 00 08 */ stw r3, 8(r1) +/* 80137FC8 00134F28 7F A3 EB 78 */ mr r3, r29 +/* 80137FCC 00134F2C 38 81 00 08 */ addi r4, r1, 8 +/* 80137FD0 00134F30 38 A0 00 01 */ li r5, 1 +/* 80137FD4 00134F34 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80137FD8 00134F38 38 C0 00 00 */ li r6, 0 +/* 80137FDC 00134F3C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80137FE0 00134F40 98 E1 00 14 */ stb r7, 0x14(r1) +/* 80137FE4 00134F44 90 01 00 18 */ stw r0, 0x18(r1) +/* 80137FE8 00134F48 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80137FEC 00134F4C 98 01 00 20 */ stb r0, 0x20(r1) +/* 80137FF0 00134F50 90 01 00 24 */ stw r0, 0x24(r1) +/* 80137FF4 00134F54 90 01 00 28 */ stw r0, 0x28(r1) +/* 80137FF8 00134F58 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80137FFC 00134F5C 48 00 29 21 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80138000 00134F60 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 80138004 00134F64 D0 1C 03 C8 */ stfs f0, 0x3c8(r28) +lbl_80138008: +/* 80138008 00134F68 38 00 00 00 */ li r0, 0 +/* 8013800C 00134F6C 90 1C 03 C4 */ stw r0, 0x3c4(r28) +/* 80138010 00134F70 48 00 00 54 */ b lbl_80138064 +lbl_80138014: +/* 80138014 00134F74 80 9C 00 04 */ lwz r4, 4(r28) +/* 80138018 00134F78 7F 83 E3 78 */ mr r3, r28 +/* 8013801C 00134F7C 38 A0 00 01 */ li r5, 1 +/* 80138020 00134F80 4B FF FE 29 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80138024 00134F84 C0 03 00 04 */ lfs f0, 4(r3) +/* 80138028 00134F88 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8013802C 00134F8C 40 80 00 20 */ bge lbl_8013804C +/* 80138030 00134F90 FC 20 F0 90 */ fmr f1, f30 +/* 80138034 00134F94 7F 83 E3 78 */ mr r3, r28 +/* 80138038 00134F98 7F A4 EB 78 */ mr r4, r29 +/* 8013803C 00134F9C 7F E5 FB 78 */ mr r5, r31 +/* 80138040 00134FA0 4B FF F9 ED */ bl UpdateWalk__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim +/* 80138044 00134FA4 FF E0 08 90 */ fmr f31, f1 +/* 80138048 00134FA8 48 00 00 1C */ b lbl_80138064 +lbl_8013804C: +/* 8013804C 00134FAC FC 20 F0 90 */ fmr f1, f30 +/* 80138050 00134FB0 7F 83 E3 78 */ mr r3, r28 +/* 80138054 00134FB4 7F A4 EB 78 */ mr r4, r29 +/* 80138058 00134FB8 7F E5 FB 78 */ mr r5, r31 +/* 8013805C 00134FBC 4B FF F7 FD */ bl UpdateRun__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim +/* 80138060 00134FC0 FF E0 08 90 */ fmr f31, f1 +lbl_80138064: +/* 80138064 00134FC4 FC 20 F8 90 */ fmr f1, f31 +/* 80138068 00134FC8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8013806C 00134FCC CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80138070 00134FD0 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80138074 00134FD4 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80138078 00134FD8 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8013807C 00134FDC CB A1 00 50 */ lfd f29, 0x50(r1) +/* 80138080 00134FE0 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 80138084 00134FE4 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 80138088 00134FE8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8013808C 00134FEC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80138090 00134FF0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80138094 00134FF4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80138098 00134FF8 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8013809C 00134FFC 7C 08 03 A6 */ mtlr r0 +/* 801380A0 00135000 38 21 00 80 */ addi r1, r1, 0x80 +/* 801380A4 00135004 4E 80 00 20 */ blr + +.global UpdateBody__18CBSBiPedLocomotionFfR15CBodyControllerR13CStateManager +UpdateBody__18CBSBiPedLocomotionFfR15CBodyControllerR13CStateManager: +/* 801380A8 00135008 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801380AC 0013500C 7C 08 02 A6 */ mflr r0 +/* 801380B0 00135010 C0 02 9A 50 */ lfs f0, lbl_805AB770@sda21(r2) +/* 801380B4 00135014 90 01 00 14 */ stw r0, 0x14(r1) +/* 801380B8 00135018 C0 43 03 C8 */ lfs f2, 0x3c8(r3) +/* 801380BC 0013501C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801380C0 00135020 40 80 00 0C */ bge lbl_801380CC +/* 801380C4 00135024 EC 02 08 2A */ fadds f0, f2, f1 +/* 801380C8 00135028 D0 03 03 C8 */ stfs f0, 0x3c8(r3) +lbl_801380CC: +/* 801380CC 0013502C 48 00 0A 45 */ bl UpdateBody__13CBSLocomotionFfR15CBodyControllerR13CStateManager +/* 801380D0 00135030 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801380D4 00135034 7C 08 03 A6 */ mtlr r0 +/* 801380D8 00135038 38 21 00 10 */ addi r1, r1, 0x10 +/* 801380DC 0013503C 4E 80 00 20 */ blr + +.global Start__18CBSBiPedLocomotionFR15CBodyControllerR13CStateManager +Start__18CBSBiPedLocomotionFR15CBodyControllerR13CStateManager: +/* 801380E0 00135040 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801380E4 00135044 7C 08 02 A6 */ mflr r0 +/* 801380E8 00135048 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 801380EC 0013504C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801380F0 00135050 D0 03 03 C8 */ stfs f0, 0x3c8(r3) +/* 801380F4 00135054 48 00 0A C9 */ bl Start__13CBSLocomotionFR15CBodyControllerR13CStateManager +/* 801380F8 00135058 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801380FC 0013505C 7C 08 03 A6 */ mtlr r0 +/* 80138100 00135060 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138104 00135064 4E 80 00 20 */ blr + +.global GetLocomotionSpeed__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +GetLocomotionSpeed__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim: +/* 80138108 00135068 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013810C 0013506C 7C 08 02 A6 */ mflr r0 +/* 80138110 00135070 90 01 00 14 */ stw r0, 0x14(r1) +/* 80138114 00135074 4B FF FD 35 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim +/* 80138118 00135078 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013811C 0013507C C0 23 00 04 */ lfs f1, 4(r3) +/* 80138120 00135080 7C 08 03 A6 */ mtlr r0 +/* 80138124 00135084 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138128 00135088 4E 80 00 20 */ blr + +.global __ct__18CBSBiPedLocomotionFR6CActor +__ct__18CBSBiPedLocomotionFR6CActor: +/* 8013812C 0013508C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80138130 00135090 7C 08 02 A6 */ mflr r0 +/* 80138134 00135094 90 01 01 24 */ stw r0, 0x124(r1) +/* 80138138 00135098 BE 81 00 F0 */ stmw r20, 0xf0(r1) +/* 8013813C 0013509C 7C 7B 1B 78 */ mr r27, r3 +/* 80138140 001350A0 7C 9C 23 78 */ mr r28, r4 +/* 80138144 001350A4 48 00 0A ED */ bl __ct__13CBSLocomotionFv +/* 80138148 001350A8 3C 60 80 3E */ lis r3, lbl_803E167C@ha +/* 8013814C 001350AC 34 E1 00 5C */ addic. r7, r1, 0x5c +/* 80138150 001350B0 38 63 16 7C */ addi r3, r3, lbl_803E167C@l +/* 80138154 001350B4 38 00 00 08 */ li r0, 8 +/* 80138158 001350B8 90 7B 00 00 */ stw r3, 0(r27) +/* 8013815C 001350BC 90 01 00 58 */ stw r0, 0x58(r1) +/* 80138160 001350C0 80 0D 8B 68 */ lwz r0, lbl_805A7728@sda21(r13) +/* 80138164 001350C4 C0 0D 8B 6C */ lfs f0, lbl_805A772C@sda21(r13) +/* 80138168 001350C8 41 82 00 0C */ beq lbl_80138174 +/* 8013816C 001350CC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80138170 001350D0 D0 01 00 60 */ stfs f0, 0x60(r1) +lbl_80138174: +/* 80138174 001350D4 34 67 00 08 */ addic. r3, r7, 8 +/* 80138178 001350D8 41 82 00 0C */ beq lbl_80138184 +/* 8013817C 001350DC 90 03 00 00 */ stw r0, 0(r3) +/* 80138180 001350E0 D0 03 00 04 */ stfs f0, 4(r3) +lbl_80138184: +/* 80138184 001350E4 34 63 00 08 */ addic. r3, r3, 8 +/* 80138188 001350E8 41 82 00 0C */ beq lbl_80138194 +/* 8013818C 001350EC 90 03 00 00 */ stw r0, 0(r3) +/* 80138190 001350F0 D0 03 00 04 */ stfs f0, 4(r3) +lbl_80138194: +/* 80138194 001350F4 34 63 00 08 */ addic. r3, r3, 8 +/* 80138198 001350F8 41 82 00 0C */ beq lbl_801381A4 +/* 8013819C 001350FC 90 03 00 00 */ stw r0, 0(r3) +/* 801381A0 00135100 D0 03 00 04 */ stfs f0, 4(r3) +lbl_801381A4: +/* 801381A4 00135104 34 63 00 08 */ addic. r3, r3, 8 +/* 801381A8 00135108 41 82 00 0C */ beq lbl_801381B4 +/* 801381AC 0013510C 90 03 00 00 */ stw r0, 0(r3) +/* 801381B0 00135110 D0 03 00 04 */ stfs f0, 4(r3) +lbl_801381B4: +/* 801381B4 00135114 34 63 00 08 */ addic. r3, r3, 8 +/* 801381B8 00135118 41 82 00 0C */ beq lbl_801381C4 +/* 801381BC 0013511C 90 03 00 00 */ stw r0, 0(r3) +/* 801381C0 00135120 D0 03 00 04 */ stfs f0, 4(r3) +lbl_801381C4: +/* 801381C4 00135124 34 63 00 08 */ addic. r3, r3, 8 +/* 801381C8 00135128 41 82 00 0C */ beq lbl_801381D4 +/* 801381CC 0013512C 90 03 00 00 */ stw r0, 0(r3) +/* 801381D0 00135130 D0 03 00 04 */ stfs f0, 4(r3) +lbl_801381D4: +/* 801381D4 00135134 34 63 00 08 */ addic. r3, r3, 8 +/* 801381D8 00135138 41 82 00 0C */ beq lbl_801381E4 +/* 801381DC 0013513C 90 03 00 00 */ stw r0, 0(r3) +/* 801381E0 00135140 D0 03 00 04 */ stfs f0, 4(r3) +lbl_801381E4: +/* 801381E4 00135144 38 00 00 0E */ li r0, 0xe +/* 801381E8 00135148 38 9B 00 0C */ addi r4, r27, 0xc +/* 801381EC 0013514C 90 1B 00 08 */ stw r0, 8(r27) +/* 801381F0 00135150 38 60 00 00 */ li r3, 0 +lbl_801381F4: +/* 801381F4 00135154 28 04 00 00 */ cmplwi r4, 0 +/* 801381F8 00135158 41 82 00 48 */ beq lbl_80138240 +/* 801381FC 0013515C 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80138200 00135160 7C E6 3B 78 */ mr r6, r7 +/* 80138204 00135164 38 A4 00 04 */ addi r5, r4, 4 +/* 80138208 00135168 90 04 00 00 */ stw r0, 0(r4) +/* 8013820C 0013516C 80 04 00 00 */ lwz r0, 0(r4) +/* 80138210 00135170 7C 09 03 A6 */ mtctr r0 +/* 80138214 00135174 2C 00 00 00 */ cmpwi r0, 0 +/* 80138218 00135178 40 81 00 28 */ ble lbl_80138240 +lbl_8013821C: +/* 8013821C 0013517C 28 05 00 00 */ cmplwi r5, 0 +/* 80138220 00135180 41 82 00 14 */ beq lbl_80138234 +/* 80138224 00135184 80 06 00 00 */ lwz r0, 0(r6) +/* 80138228 00135188 90 05 00 00 */ stw r0, 0(r5) +/* 8013822C 0013518C C0 06 00 04 */ lfs f0, 4(r6) +/* 80138230 00135190 D0 05 00 04 */ stfs f0, 4(r5) +lbl_80138234: +/* 80138234 00135194 38 A5 00 08 */ addi r5, r5, 8 +/* 80138238 00135198 38 C6 00 08 */ addi r6, r6, 8 +/* 8013823C 0013519C 42 00 FF E0 */ bdnz lbl_8013821C +lbl_80138240: +/* 80138240 001351A0 38 63 00 01 */ addi r3, r3, 1 +/* 80138244 001351A4 38 84 00 44 */ addi r4, r4, 0x44 +/* 80138248 001351A8 2C 03 00 0E */ cmpwi r3, 0xe +/* 8013824C 001351AC 41 80 FF A8 */ blt lbl_801381F4 +/* 80138250 001351B0 80 A1 00 58 */ lwz r5, 0x58(r1) +/* 80138254 001351B4 38 60 00 00 */ li r3, 0 +/* 80138258 001351B8 2C 05 00 00 */ cmpwi r5, 0 +/* 8013825C 001351BC 40 81 00 40 */ ble lbl_8013829C +/* 80138260 001351C0 2C 05 00 08 */ cmpwi r5, 8 +/* 80138264 001351C4 38 85 FF F8 */ addi r4, r5, -8 +/* 80138268 001351C8 40 81 00 20 */ ble lbl_80138288 +/* 8013826C 001351CC 38 04 00 07 */ addi r0, r4, 7 +/* 80138270 001351D0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80138274 001351D4 7C 09 03 A6 */ mtctr r0 +/* 80138278 001351D8 2C 04 00 00 */ cmpwi r4, 0 +/* 8013827C 001351DC 40 81 00 0C */ ble lbl_80138288 +lbl_80138280: +/* 80138280 001351E0 38 63 00 08 */ addi r3, r3, 8 +/* 80138284 001351E4 42 00 FF FC */ bdnz lbl_80138280 +lbl_80138288: +/* 80138288 001351E8 7C 03 28 50 */ subf r0, r3, r5 +/* 8013828C 001351EC 7C 09 03 A6 */ mtctr r0 +/* 80138290 001351F0 7C 03 28 00 */ cmpw r3, r5 +/* 80138294 001351F4 40 80 00 08 */ bge lbl_8013829C +lbl_80138298: +/* 80138298 001351F8 42 00 00 00 */ bdnz lbl_80138298 +lbl_8013829C: +/* 8013829C 001351FC 38 60 00 00 */ li r3, 0 +/* 801382A0 00135200 38 00 FF FF */ li r0, -1 +/* 801382A4 00135204 90 61 00 58 */ stw r3, 0x58(r1) +/* 801382A8 00135208 3B E1 00 A0 */ addi r31, r1, 0xa0 +/* 801382AC 0013520C 3A C1 00 20 */ addi r22, r1, 0x20 +/* 801382B0 00135210 3A E1 00 18 */ addi r23, r1, 0x18 +/* 801382B4 00135214 90 1B 03 C4 */ stw r0, 0x3c4(r27) +/* 801382B8 00135218 3B C0 00 00 */ li r30, 0 +/* 801382BC 0013521C 3B 40 00 00 */ li r26, 0 +/* 801382C0 00135220 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 801382C4 00135224 80 63 00 10 */ lwz r3, 0x10(r3) +/* 801382C8 00135228 3A A3 00 3C */ addi r21, r3, 0x3c +lbl_801382CC: +/* 801382CC 0013522C 7F 1B D2 14 */ add r24, r27, r26 +/* 801382D0 00135230 3B A0 00 00 */ li r29, 0 +/* 801382D4 00135234 3B 20 00 00 */ li r25, 0 +lbl_801382D8: +/* 801382D8 00135238 38 61 00 18 */ addi r3, r1, 0x18 +/* 801382DC 0013523C 48 1A AD A1 */ bl NoParameter__12CPASAnimParmFv +/* 801382E0 00135240 38 61 00 20 */ addi r3, r1, 0x20 +/* 801382E4 00135244 48 1A AD 99 */ bl NoParameter__12CPASAnimParmFv +/* 801382E8 00135248 38 61 00 28 */ addi r3, r1, 0x28 +/* 801382EC 0013524C 48 1A AD 91 */ bl NoParameter__12CPASAnimParmFv +/* 801382F0 00135250 38 61 00 30 */ addi r3, r1, 0x30 +/* 801382F4 00135254 48 1A AD 89 */ bl NoParameter__12CPASAnimParmFv +/* 801382F8 00135258 38 61 00 38 */ addi r3, r1, 0x38 +/* 801382FC 0013525C 48 1A AD 81 */ bl NoParameter__12CPASAnimParmFv +/* 80138300 00135260 38 61 00 40 */ addi r3, r1, 0x40 +/* 80138304 00135264 48 1A AD 79 */ bl NoParameter__12CPASAnimParmFv +/* 80138308 00135268 7F C4 F3 78 */ mr r4, r30 +/* 8013830C 0013526C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80138310 00135270 48 1A AC 75 */ bl FromEnum__12CPASAnimParmFi +/* 80138314 00135274 7F A4 EB 78 */ mr r4, r29 +/* 80138318 00135278 38 61 00 50 */ addi r3, r1, 0x50 +/* 8013831C 0013527C 48 1A AC 69 */ bl FromEnum__12CPASAnimParmFi +/* 80138320 00135280 92 C1 00 08 */ stw r22, 8(r1) +/* 80138324 00135284 38 61 00 9C */ addi r3, r1, 0x9c +/* 80138328 00135288 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8013832C 0013528C 38 C1 00 48 */ addi r6, r1, 0x48 +/* 80138330 00135290 92 E1 00 0C */ stw r23, 0xc(r1) +/* 80138334 00135294 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80138338 00135298 39 01 00 38 */ addi r8, r1, 0x38 +/* 8013833C 0013529C 39 21 00 30 */ addi r9, r1, 0x30 +/* 80138340 001352A0 39 41 00 28 */ addi r10, r1, 0x28 +/* 80138344 001352A4 38 80 00 05 */ li r4, 5 +/* 80138348 001352A8 4B F4 4F 7D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013834C 001352AC 7E A4 AB 78 */ mr r4, r21 +/* 80138350 001352B0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80138354 001352B4 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80138358 001352B8 38 C0 FF FF */ li r6, -1 +/* 8013835C 001352BC 48 1A CE 11 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai +/* 80138360 001352C0 82 81 00 14 */ lwz r20, 0x14(r1) +/* 80138364 001352C4 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +/* 80138368 001352C8 2C 14 FF FF */ cmpwi r20, -1 +/* 8013836C 001352CC 41 82 00 20 */ beq lbl_8013838C +/* 80138370 001352D0 7F 83 E3 78 */ mr r3, r28 +/* 80138374 001352D4 7E 84 A3 78 */ mr r4, r20 +/* 80138378 001352D8 4B F1 CE 51 */ bl GetAverageAnimVelocity__6CActorFi +/* 8013837C 001352DC 2C 1D 00 00 */ cmpwi r29, 0 +/* 80138380 001352E0 41 82 00 08 */ beq lbl_80138388 +/* 80138384 001352E4 48 00 00 08 */ b lbl_8013838C +lbl_80138388: +/* 80138388 001352E8 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +lbl_8013838C: +/* 8013838C 001352EC 7C 78 CA 14 */ add r3, r24, r25 +/* 80138390 001352F0 28 1F 00 00 */ cmplwi r31, 0 +/* 80138394 001352F4 92 83 00 10 */ stw r20, 0x10(r3) +/* 80138398 001352F8 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 8013839C 001352FC 41 82 00 5C */ beq lbl_801383F8 +/* 801383A0 00135300 80 A1 00 A0 */ lwz r5, 0xa0(r1) +/* 801383A4 00135304 38 60 00 00 */ li r3, 0 +/* 801383A8 00135308 2C 05 00 00 */ cmpwi r5, 0 +/* 801383AC 0013530C 40 81 00 44 */ ble lbl_801383F0 +/* 801383B0 00135310 2C 05 00 08 */ cmpwi r5, 8 +/* 801383B4 00135314 38 85 FF F8 */ addi r4, r5, -8 +/* 801383B8 00135318 40 81 00 20 */ ble lbl_801383D8 +/* 801383BC 0013531C 38 04 00 07 */ addi r0, r4, 7 +/* 801383C0 00135320 54 00 E8 FE */ srwi r0, r0, 3 +/* 801383C4 00135324 7C 09 03 A6 */ mtctr r0 +/* 801383C8 00135328 2C 04 00 00 */ cmpwi r4, 0 +/* 801383CC 0013532C 40 81 00 0C */ ble lbl_801383D8 +lbl_801383D0: +/* 801383D0 00135330 38 63 00 08 */ addi r3, r3, 8 +/* 801383D4 00135334 42 00 FF FC */ bdnz lbl_801383D0 +lbl_801383D8: +/* 801383D8 00135338 7C 03 28 50 */ subf r0, r3, r5 +/* 801383DC 0013533C 7C 09 03 A6 */ mtctr r0 +/* 801383E0 00135340 7C 03 28 00 */ cmpw r3, r5 +/* 801383E4 00135344 40 80 00 0C */ bge lbl_801383F0 +lbl_801383E8: +/* 801383E8 00135348 38 63 00 01 */ addi r3, r3, 1 +/* 801383EC 0013534C 42 00 FF FC */ bdnz lbl_801383E8 +lbl_801383F0: +/* 801383F0 00135350 38 00 00 00 */ li r0, 0 +/* 801383F4 00135354 90 01 00 A0 */ stw r0, 0xa0(r1) +lbl_801383F8: +/* 801383F8 00135358 3B BD 00 01 */ addi r29, r29, 1 +/* 801383FC 0013535C 3B 39 00 08 */ addi r25, r25, 8 +/* 80138400 00135360 2C 1D 00 08 */ cmpwi r29, 8 +/* 80138404 00135364 41 80 FE D4 */ blt lbl_801382D8 +/* 80138408 00135368 3B DE 00 01 */ addi r30, r30, 1 +/* 8013840C 0013536C 3B 5A 00 44 */ addi r26, r26, 0x44 +/* 80138410 00135370 2C 1E 00 0E */ cmpwi r30, 0xe +/* 80138414 00135374 41 80 FE B8 */ blt lbl_801382CC +/* 80138418 00135378 7F 63 DB 78 */ mr r3, r27 +/* 8013841C 0013537C BA 81 00 F0 */ lmw r20, 0xf0(r1) +/* 80138420 00135380 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80138424 00135384 7C 08 03 A6 */ mtlr r0 +/* 80138428 00135388 38 21 01 20 */ addi r1, r1, 0x120 +/* 8013842C 0013538C 4E 80 00 20 */ blr + +.global GetBodyStateTransition__13CBSLocomotionFfR15CBodyController +GetBodyStateTransition__13CBSLocomotionFfR15CBodyController: +/* 80138430 00135390 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80138434 00135394 7C 08 02 A6 */ mflr r0 +/* 80138438 00135398 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013843C 0013539C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80138440 001353A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80138444 001353A4 7C 9E 23 78 */ mr r30, r4 +/* 80138448 001353A8 3B FE 00 04 */ addi r31, r30, 4 +/* 8013844C 001353AC 38 80 00 0F */ li r4, 0xf +/* 80138450 001353B0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80138454 001353B4 7C 7D 1B 78 */ mr r29, r3 +/* 80138458 001353B8 7F E3 FB 78 */ mr r3, r31 +/* 8013845C 001353BC 4B FF 8F F5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138460 001353C0 28 03 00 00 */ cmplwi r3, 0 +/* 80138464 001353C4 41 82 00 0C */ beq lbl_80138470 +/* 80138468 001353C8 38 60 00 0E */ li r3, 0xe +/* 8013846C 001353CC 48 00 02 78 */ b lbl_801386E4 +lbl_80138470: +/* 80138470 001353D0 7F E3 FB 78 */ mr r3, r31 +/* 80138474 001353D4 38 80 00 03 */ li r4, 3 +/* 80138478 001353D8 4B FF 8F D9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013847C 001353DC 28 03 00 00 */ cmplwi r3, 0 +/* 80138480 001353E0 41 82 00 0C */ beq lbl_8013848C +/* 80138484 001353E4 38 60 00 00 */ li r3, 0 +/* 80138488 001353E8 48 00 02 5C */ b lbl_801386E4 +lbl_8013848C: +/* 8013848C 001353EC 7F E3 FB 78 */ mr r3, r31 +/* 80138490 001353F0 38 80 00 09 */ li r4, 9 +/* 80138494 001353F4 4B FF 8F BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138498 001353F8 28 03 00 00 */ cmplwi r3, 0 +/* 8013849C 001353FC 41 82 00 0C */ beq lbl_801384A8 +/* 801384A0 00135400 38 60 00 0A */ li r3, 0xa +/* 801384A4 00135404 48 00 02 40 */ b lbl_801386E4 +lbl_801384A8: +/* 801384A8 00135408 7F E3 FB 78 */ mr r3, r31 +/* 801384AC 0013540C 38 80 00 04 */ li r4, 4 +/* 801384B0 00135410 4B FF 8F A1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801384B4 00135414 28 03 00 00 */ cmplwi r3, 0 +/* 801384B8 00135418 41 82 00 0C */ beq lbl_801384C4 +/* 801384BC 0013541C 38 60 00 06 */ li r3, 6 +/* 801384C0 00135420 48 00 02 24 */ b lbl_801386E4 +lbl_801384C4: +/* 801384C4 00135424 7F E3 FB 78 */ mr r3, r31 +/* 801384C8 00135428 38 80 00 16 */ li r4, 0x16 +/* 801384CC 0013542C 4B FF 8F 85 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801384D0 00135430 28 03 00 00 */ cmplwi r3, 0 +/* 801384D4 00135434 41 82 00 10 */ beq lbl_801384E4 +/* 801384D8 00135438 7F E3 FB 78 */ mr r3, r31 +/* 801384DC 0013543C 4B FF 8F CD */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv +/* 801384E0 00135440 48 00 02 00 */ b lbl_801386E0 +lbl_801384E4: +/* 801384E4 00135444 7F E3 FB 78 */ mr r3, r31 +/* 801384E8 00135448 38 80 00 11 */ li r4, 0x11 +/* 801384EC 0013544C 4B FF 8F 65 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801384F0 00135450 28 03 00 00 */ cmplwi r3, 0 +/* 801384F4 00135454 41 82 00 0C */ beq lbl_80138500 +/* 801384F8 00135458 38 60 00 0F */ li r3, 0xf +/* 801384FC 0013545C 48 00 01 E8 */ b lbl_801386E4 +lbl_80138500: +/* 80138500 00135460 7F E3 FB 78 */ mr r3, r31 +/* 80138504 00135464 38 80 00 0E */ li r4, 0xe +/* 80138508 00135468 4B FF 8F 49 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013850C 0013546C 28 03 00 00 */ cmplwi r3, 0 +/* 80138510 00135470 41 82 00 0C */ beq lbl_8013851C +/* 80138514 00135474 38 60 00 0C */ li r3, 0xc +/* 80138518 00135478 48 00 01 CC */ b lbl_801386E4 +lbl_8013851C: +/* 8013851C 0013547C 7F E3 FB 78 */ mr r3, r31 +/* 80138520 00135480 38 80 00 05 */ li r4, 5 +/* 80138524 00135484 4B FF 8F 2D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138528 00135488 28 03 00 00 */ cmplwi r3, 0 +/* 8013852C 0013548C 41 82 00 0C */ beq lbl_80138538 +/* 80138530 00135490 38 60 00 07 */ li r3, 7 +/* 80138534 00135494 48 00 01 B0 */ b lbl_801386E4 +lbl_80138538: +/* 80138538 00135498 7F E3 FB 78 */ mr r3, r31 +/* 8013853C 0013549C 38 80 00 06 */ li r4, 6 +/* 80138540 001354A0 4B FF 8F 11 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138544 001354A4 28 03 00 00 */ cmplwi r3, 0 +/* 80138548 001354A8 41 82 00 0C */ beq lbl_80138554 +/* 8013854C 001354AC 38 60 00 12 */ li r3, 0x12 +/* 80138550 001354B0 48 00 01 94 */ b lbl_801386E4 +lbl_80138554: +/* 80138554 001354B4 7F E3 FB 78 */ mr r3, r31 +/* 80138558 001354B8 38 80 00 07 */ li r4, 7 +/* 8013855C 001354BC 4B FF 8E F5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138560 001354C0 28 03 00 00 */ cmplwi r3, 0 +/* 80138564 001354C4 41 82 00 0C */ beq lbl_80138570 +/* 80138568 001354C8 38 60 00 09 */ li r3, 9 +/* 8013856C 001354CC 48 00 01 78 */ b lbl_801386E4 +lbl_80138570: +/* 80138570 001354D0 7F E3 FB 78 */ mr r3, r31 +/* 80138574 001354D4 38 80 00 08 */ li r4, 8 +/* 80138578 001354D8 4B FF 8E D9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013857C 001354DC 28 03 00 00 */ cmplwi r3, 0 +/* 80138580 001354E0 41 82 00 0C */ beq lbl_8013858C +/* 80138584 001354E4 38 60 00 0A */ li r3, 0xa +/* 80138588 001354E8 48 00 01 5C */ b lbl_801386E4 +lbl_8013858C: +/* 8013858C 001354EC 7F E3 FB 78 */ mr r3, r31 +/* 80138590 001354F0 38 80 00 10 */ li r4, 0x10 +/* 80138594 001354F4 4B FF 8E BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138598 001354F8 28 03 00 00 */ cmplwi r3, 0 +/* 8013859C 001354FC 41 82 00 0C */ beq lbl_801385A8 +/* 801385A0 00135500 38 60 00 0D */ li r3, 0xd +/* 801385A4 00135504 48 00 01 40 */ b lbl_801386E4 +lbl_801385A8: +/* 801385A8 00135508 7F E3 FB 78 */ mr r3, r31 +/* 801385AC 0013550C 38 80 00 12 */ li r4, 0x12 +/* 801385B0 00135510 4B FF 8E A1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801385B4 00135514 28 03 00 00 */ cmplwi r3, 0 +/* 801385B8 00135518 41 82 00 0C */ beq lbl_801385C4 +/* 801385BC 0013551C 38 60 00 10 */ li r3, 0x10 +/* 801385C0 00135520 48 00 01 24 */ b lbl_801386E4 +lbl_801385C4: +/* 801385C4 00135524 7F E3 FB 78 */ mr r3, r31 +/* 801385C8 00135528 38 80 00 01 */ li r4, 1 +/* 801385CC 0013552C 4B FF 8E 85 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801385D0 00135530 28 03 00 00 */ cmplwi r3, 0 +/* 801385D4 00135534 41 82 00 0C */ beq lbl_801385E0 +/* 801385D8 00135538 38 60 00 03 */ li r3, 3 +/* 801385DC 0013553C 48 00 01 08 */ b lbl_801386E4 +lbl_801385E0: +/* 801385E0 00135540 7F E3 FB 78 */ mr r3, r31 +/* 801385E4 00135544 38 80 00 14 */ li r4, 0x14 +/* 801385E8 00135548 4B FF 8E 69 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801385EC 0013554C 28 03 00 00 */ cmplwi r3, 0 +/* 801385F0 00135550 41 82 00 0C */ beq lbl_801385FC +/* 801385F4 00135554 38 60 00 13 */ li r3, 0x13 +/* 801385F8 00135558 48 00 00 EC */ b lbl_801386E4 +lbl_801385FC: +/* 801385FC 0013555C 7F E3 FB 78 */ mr r3, r31 +/* 80138600 00135560 38 80 00 15 */ li r4, 0x15 +/* 80138604 00135564 4B FF 8E 4D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138608 00135568 28 03 00 00 */ cmplwi r3, 0 +/* 8013860C 0013556C 41 82 00 0C */ beq lbl_80138618 +/* 80138610 00135570 38 60 00 14 */ li r3, 0x14 +/* 80138614 00135574 48 00 00 D0 */ b lbl_801386E4 +lbl_80138618: +/* 80138618 00135578 7F E3 FB 78 */ mr r3, r31 +/* 8013861C 0013557C 38 80 00 13 */ li r4, 0x13 +/* 80138620 00135580 4B FF 8E 31 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138624 00135584 28 03 00 00 */ cmplwi r3, 0 +/* 80138628 00135588 41 82 00 0C */ beq lbl_80138634 +/* 8013862C 0013558C 38 60 00 11 */ li r3, 0x11 +/* 80138630 00135590 48 00 00 B4 */ b lbl_801386E4 +lbl_80138634: +/* 80138634 00135594 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +/* 80138638 00135598 38 00 00 00 */ li r0, 0 +/* 8013863C 0013559C C0 1F 00 00 */ lfs f0, 0(r31) +/* 80138640 001355A0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80138644 001355A4 40 82 00 1C */ bne lbl_80138660 +/* 80138648 001355A8 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8013864C 001355AC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80138650 001355B0 40 82 00 10 */ bne lbl_80138660 +/* 80138654 001355B4 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80138658 001355B8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013865C 001355BC 41 82 00 08 */ beq lbl_80138664 +lbl_80138660: +/* 80138660 001355C0 38 00 00 01 */ li r0, 1 +lbl_80138664: +/* 80138664 001355C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80138668 001355C8 40 82 00 60 */ bne lbl_801386C8 +/* 8013866C 001355CC C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +/* 80138670 001355D0 38 00 00 00 */ li r0, 0 +/* 80138674 001355D4 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80138678 001355D8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013867C 001355DC 40 82 00 1C */ bne lbl_80138698 +/* 80138680 001355E0 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80138684 001355E4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80138688 001355E8 40 82 00 10 */ bne lbl_80138698 +/* 8013868C 001355EC C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80138690 001355F0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80138694 001355F4 41 82 00 08 */ beq lbl_8013869C +lbl_80138698: +/* 80138698 001355F8 38 00 00 01 */ li r0, 1 +lbl_8013869C: +/* 8013869C 001355FC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 801386A0 00135600 41 82 00 28 */ beq lbl_801386C8 +/* 801386A4 00135604 7F A3 EB 78 */ mr r3, r29 +/* 801386A8 00135608 81 9D 00 00 */ lwz r12, 0(r29) +/* 801386AC 0013560C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 801386B0 00135610 7D 89 03 A6 */ mtctr r12 +/* 801386B4 00135614 4E 80 04 21 */ bctrl +/* 801386B8 00135618 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801386BC 0013561C 40 82 00 0C */ bne lbl_801386C8 +/* 801386C0 00135620 38 60 00 08 */ li r3, 8 +/* 801386C4 00135624 48 00 00 20 */ b lbl_801386E4 +lbl_801386C8: +/* 801386C8 00135628 80 7D 00 04 */ lwz r3, 4(r29) +/* 801386CC 0013562C 80 1E 02 EC */ lwz r0, 0x2ec(r30) +/* 801386D0 00135630 7C 03 00 00 */ cmpw r3, r0 +/* 801386D4 00135634 41 82 00 0C */ beq lbl_801386E0 +/* 801386D8 00135638 38 60 00 05 */ li r3, 5 +/* 801386DC 0013563C 48 00 00 08 */ b lbl_801386E4 +lbl_801386E0: +/* 801386E0 00135640 38 60 FF FF */ li r3, -1 +lbl_801386E4: +/* 801386E4 00135644 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801386E8 00135648 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801386EC 0013564C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801386F0 00135650 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 801386F4 00135654 7C 08 03 A6 */ mtlr r0 +/* 801386F8 00135658 38 21 00 20 */ addi r1, r1, 0x20 +/* 801386FC 0013565C 4E 80 00 20 */ blr + +.global "ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf" +"ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf": +/* 80138700 00135660 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80138704 00135664 C0 02 9A 40 */ lfs f0, lbl_805AB760@sda21(r2) +/* 80138708 00135668 C0 45 00 04 */ lfs f2, 4(r5) +/* 8013870C 0013566C C0 64 00 04 */ lfs f3, 4(r4) +/* 80138710 00135670 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80138714 00135674 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80138718 00135678 40 81 00 44 */ ble lbl_8013875C +/* 8013871C 0013567C EC 21 18 28 */ fsubs f1, f1, f3 +/* 80138720 00135680 C0 0D 8B 60 */ lfs f0, lbl_805A7720@sda21(r13) +/* 80138724 00135684 EC 21 10 24 */ fdivs f1, f1, f2 +/* 80138728 00135688 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8013872C 0013568C D0 21 00 08 */ stfs f1, 8(r1) +/* 80138730 00135690 40 80 00 0C */ bge lbl_8013873C +/* 80138734 00135694 38 6D 8B 60 */ addi r3, r13, lbl_805A7720@sda21 +/* 80138738 00135698 48 00 00 08 */ b lbl_80138740 +lbl_8013873C: +/* 8013873C 0013569C 38 61 00 08 */ addi r3, r1, 8 +lbl_80138740: +/* 80138740 001356A0 C0 23 00 00 */ lfs f1, 0(r3) +/* 80138744 001356A4 C0 0D 8B 64 */ lfs f0, lbl_805A7724@sda21(r13) +/* 80138748 001356A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013874C 001356AC 40 80 00 08 */ bge lbl_80138754 +/* 80138750 001356B0 38 6D 8B 64 */ addi r3, r13, lbl_805A7724@sda21 +lbl_80138754: +/* 80138754 001356B4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80138758 001356B8 48 00 00 08 */ b lbl_80138760 +lbl_8013875C: +/* 8013875C 001356BC C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +lbl_80138760: +/* 80138760 001356C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138764 001356C4 4E 80 00 20 */ blr + +.global GetStartVelocityMagnitude__13CBSLocomotionCFR15CBodyController +GetStartVelocityMagnitude__13CBSLocomotionCFR15CBodyController: +/* 80138768 001356C8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8013876C 001356CC 7C 08 02 A6 */ mflr r0 +/* 80138770 001356D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80138774 001356D4 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80138778 001356D8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8013877C 001356DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80138780 001356E0 7C 9F 23 78 */ mr r31, r4 +/* 80138784 001356E4 38 61 00 0C */ addi r3, r1, 0xc +/* 80138788 001356E8 80 84 00 00 */ lwz r4, 0(r4) +/* 8013878C 001356EC 4B F7 3F 59 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80138790 001356F0 80 63 00 04 */ lwz r3, 4(r3) +/* 80138794 001356F4 28 03 00 00 */ cmplwi r3, 0 +/* 80138798 001356F8 41 82 00 50 */ beq lbl_801387E8 +/* 8013879C 001356FC 38 63 01 38 */ addi r3, r3, 0x138 +/* 801387A0 00135700 48 1D C1 19 */ bl Magnitude__9CVector3fCFv +/* 801387A4 00135704 FF E0 08 90 */ fmr f31, f1 +/* 801387A8 00135708 38 7F 02 A4 */ addi r3, r31, 0x2a4 +/* 801387AC 0013570C 4B FF B7 01 */ bl GetMaxSpeed__14CBodyStateInfoCFv +/* 801387B0 00135710 C0 42 9A 34 */ lfs f2, lbl_805AB754@sda21(r2) +/* 801387B4 00135714 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 801387B8 00135718 40 81 00 08 */ ble lbl_801387C0 +/* 801387BC 0013571C EC 5F 08 24 */ fdivs f2, f31, f1 +lbl_801387C0: +/* 801387C0 00135720 C0 0D 8B 5C */ lfs f0, lbl_805A771C@sda21(r13) +/* 801387C4 00135724 D0 41 00 08 */ stfs f2, 8(r1) +/* 801387C8 00135728 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 801387CC 0013572C 40 80 00 0C */ bge lbl_801387D8 +/* 801387D0 00135730 38 6D 8B 5C */ addi r3, r13, lbl_805A771C@sda21 +/* 801387D4 00135734 48 00 00 08 */ b lbl_801387DC +lbl_801387D8: +/* 801387D8 00135738 38 61 00 08 */ addi r3, r1, 8 +lbl_801387DC: +/* 801387DC 0013573C C0 23 00 00 */ lfs f1, 0(r3) +/* 801387E0 00135740 D0 21 00 08 */ stfs f1, 8(r1) +/* 801387E4 00135744 48 00 00 08 */ b lbl_801387EC +lbl_801387E8: +/* 801387E8 00135748 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +lbl_801387EC: +/* 801387EC 0013574C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 801387F0 00135750 80 01 00 34 */ lwz r0, 0x34(r1) +/* 801387F4 00135754 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 801387F8 00135758 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801387FC 0013575C 7C 08 03 A6 */ mtlr r0 +/* 80138800 00135760 38 21 00 30 */ addi r1, r1, 0x30 +/* 80138804 00135764 4E 80 00 20 */ blr + +.global ReStartBodyState__13CBSLocomotionFR15CBodyControllerb +ReStartBodyState__13CBSLocomotionFR15CBodyControllerb: +/* 80138808 00135768 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013880C 0013576C 7C 08 02 A6 */ mflr r0 +/* 80138810 00135770 90 01 00 14 */ stw r0, 0x14(r1) +/* 80138814 00135774 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80138818 00135778 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013881C 0013577C 7C 9F 23 78 */ mr r31, r4 +/* 80138820 00135780 93 C1 00 08 */ stw r30, 8(r1) +/* 80138824 00135784 7C 7E 1B 78 */ mr r30, r3 +/* 80138828 00135788 41 82 00 0C */ beq lbl_80138834 +/* 8013882C 0013578C 4B FF FF 3D */ bl GetStartVelocityMagnitude__13CBSLocomotionCFR15CBodyController +/* 80138830 00135790 48 00 00 08 */ b lbl_80138838 +lbl_80138834: +/* 80138834 00135794 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +lbl_80138838: +/* 80138838 00135798 7F C3 F3 78 */ mr r3, r30 +/* 8013883C 0013579C FC 40 08 90 */ fmr f2, f1 +/* 80138840 001357A0 81 9E 00 00 */ lwz r12, 0(r30) +/* 80138844 001357A4 7F E4 FB 78 */ mr r4, r31 +/* 80138848 001357A8 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +/* 8013884C 001357AC 38 A0 00 01 */ li r5, 1 +/* 80138850 001357B0 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 80138854 001357B4 7D 89 03 A6 */ mtctr r12 +/* 80138858 001357B8 4E 80 04 21 */ bctrl +/* 8013885C 001357BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80138860 001357C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80138864 001357C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80138868 001357C8 7C 08 03 A6 */ mtlr r0 +/* 8013886C 001357CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138870 001357D0 4E 80 00 20 */ blr + +.global ApplyLocomotionPhysics__13CBSLocomotionFfR15CBodyController +ApplyLocomotionPhysics__13CBSLocomotionFfR15CBodyController: +/* 80138874 001357D4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80138878 001357D8 7C 08 02 A6 */ mflr r0 +/* 8013887C 001357DC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80138880 001357E0 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80138884 001357E4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80138888 001357E8 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 8013888C 001357EC 7C 9C 23 78 */ mr r28, r4 +/* 80138890 001357F0 FF E0 08 90 */ fmr f31, f1 +/* 80138894 001357F4 80 84 00 00 */ lwz r4, 0(r4) +/* 80138898 001357F8 7C 7B 1B 78 */ mr r27, r3 +/* 8013889C 001357FC 38 61 00 14 */ addi r3, r1, 0x14 +/* 801388A0 00135800 4B F7 3E 45 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 801388A4 00135804 83 E3 00 04 */ lwz r31, 4(r3) +/* 801388A8 00135808 28 1F 00 00 */ cmplwi r31, 0 +/* 801388AC 0013580C 41 82 02 1C */ beq lbl_80138AC8 +/* 801388B0 00135810 3B DC 00 04 */ addi r30, r28, 4 +/* 801388B4 00135814 3C 60 80 5A */ lis r3, skZero3f@ha +/* 801388B8 00135818 3B BE 00 0C */ addi r29, r30, 0xc +/* 801388BC 0013581C C0 22 9A 4C */ lfs f1, lbl_805AB76C@sda21(r2) +/* 801388C0 00135820 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 801388C4 00135824 7F A3 EB 78 */ mr r3, r29 +/* 801388C8 00135828 48 1D 76 9D */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 801388CC 0013582C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801388D0 00135830 41 82 00 08 */ beq lbl_801388D8 +/* 801388D4 00135834 7F DD F3 78 */ mr r29, r30 +lbl_801388D8: +/* 801388D8 00135838 C0 1D 00 00 */ lfs f0, 0(r29) +/* 801388DC 0013583C 38 61 00 7C */ addi r3, r1, 0x7c +/* 801388E0 00135840 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 801388E4 00135844 C0 1D 00 04 */ lfs f0, 4(r29) +/* 801388E8 00135848 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 801388EC 0013584C C0 1D 00 08 */ lfs f0, 8(r29) +/* 801388F0 00135850 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 801388F4 00135854 48 1D BE 05 */ bl CanBeNormalized__9CVector3fCFv +/* 801388F8 00135858 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801388FC 0013585C 41 82 01 9C */ beq lbl_80138A98 +/* 80138900 00135860 7F 63 DB 78 */ mr r3, r27 +/* 80138904 00135864 81 9B 00 00 */ lwz r12, 0(r27) +/* 80138908 00135868 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8013890C 0013586C 7D 89 03 A6 */ mtctr r12 +/* 80138910 00135870 4E 80 04 21 */ bctrl +/* 80138914 00135874 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80138918 00135878 41 82 01 64 */ beq lbl_80138A7C +/* 8013891C 0013587C C0 7F 00 58 */ lfs f3, 0x58(r31) +/* 80138920 00135880 38 61 00 64 */ addi r3, r1, 0x64 +/* 80138924 00135884 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 80138928 00135888 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 8013892C 0013588C C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 80138930 00135890 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 80138934 00135894 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80138938 00135898 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8013893C 0013589C D0 61 00 78 */ stfs f3, 0x78(r1) +/* 80138940 001358A0 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80138944 001358A4 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80138948 001358A8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8013894C 001358AC 48 1D BF AD */ bl Normalize__9CVector3fFv +/* 80138950 001358B0 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80138954 001358B4 FC 20 F8 90 */ fmr f1, f31 +/* 80138958 001358B8 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 8013895C 001358BC 7F 83 E3 78 */ mr r3, r28 +/* 80138960 001358C0 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 80138964 001358C4 38 81 00 58 */ addi r4, r1, 0x58 +/* 80138968 001358C8 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8013896C 001358CC C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 80138970 001358D0 38 A1 00 64 */ addi r5, r1, 0x64 +/* 80138974 001358D4 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80138978 001358D8 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 8013897C 001358DC D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80138980 001358E0 48 00 1A E9 */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff +/* 80138984 001358E4 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 80138988 001358E8 38 61 00 4C */ addi r3, r1, 0x4c +/* 8013898C 001358EC C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80138990 001358F0 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 80138994 001358F4 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 80138998 001358F8 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8013899C 001358FC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 801389A0 00135900 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 801389A4 00135904 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 801389A8 00135908 48 1D BF 51 */ bl Normalize__9CVector3fFv +/* 801389AC 0013590C C0 22 9A 4C */ lfs f1, lbl_805AB76C@sda21(r2) +/* 801389B0 00135910 38 61 00 64 */ addi r3, r1, 0x64 +/* 801389B4 00135914 38 81 00 4C */ addi r4, r1, 0x4c +/* 801389B8 00135918 48 1D 75 AD */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 801389BC 0013591C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801389C0 00135920 40 82 00 64 */ bne lbl_80138A24 +/* 801389C4 00135924 3B BC 02 D4 */ addi r29, r28, 0x2d4 +/* 801389C8 00135928 38 61 00 7C */ addi r3, r1, 0x7c +/* 801389CC 0013592C 38 81 00 58 */ addi r4, r1, 0x58 +/* 801389D0 00135930 48 1D BC 61 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 801389D4 00135934 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 801389D8 00135938 FC 00 08 18 */ frsp f0, f1 +/* 801389DC 0013593C C0 3D 00 00 */ lfs f1, 0(r29) +/* 801389E0 00135940 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801389E4 00135944 40 80 00 08 */ bge lbl_801389EC +/* 801389E8 00135948 48 00 00 08 */ b lbl_801389F0 +lbl_801389EC: +/* 801389EC 0013594C 3B A1 00 0C */ addi r29, r1, 0xc +lbl_801389F0: +/* 801389F0 00135950 C0 1D 00 00 */ lfs f0, 0(r29) +/* 801389F4 00135954 38 61 00 28 */ addi r3, r1, 0x28 +/* 801389F8 00135958 38 81 00 64 */ addi r4, r1, 0x64 +/* 801389FC 0013595C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 80138A00 00135960 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80138A04 00135964 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80138A08 00135968 48 1D BF 4D */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle +/* 80138A0C 0013596C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80138A10 00135970 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 80138A14 00135974 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80138A18 00135978 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 80138A1C 0013597C D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80138A20 00135980 D0 01 00 54 */ stfs f0, 0x54(r1) +lbl_80138A24: +/* 80138A24 00135984 FC 20 F8 90 */ fmr f1, f31 +/* 80138A28 00135988 7F 83 E3 78 */ mr r3, r28 +/* 80138A2C 0013598C 38 81 00 4C */ addi r4, r1, 0x4c +/* 80138A30 00135990 38 A1 00 70 */ addi r5, r1, 0x70 +/* 80138A34 00135994 48 00 1A 35 */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff +/* 80138A38 00135998 C0 9F 00 54 */ lfs f4, 0x54(r31) +/* 80138A3C 0013599C FC 20 F8 90 */ fmr f1, f31 +/* 80138A40 001359A0 C0 7F 00 44 */ lfs f3, 0x44(r31) +/* 80138A44 001359A4 7F 83 E3 78 */ mr r3, r28 +/* 80138A48 001359A8 C0 5F 00 34 */ lfs f2, 0x34(r31) +/* 80138A4C 001359AC 38 81 00 34 */ addi r4, r1, 0x34 +/* 80138A50 001359B0 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) +/* 80138A54 001359B4 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80138A58 001359B8 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80138A5C 001359BC D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80138A60 001359C0 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 80138A64 001359C4 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80138A68 001359C8 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80138A6C 001359CC D0 61 00 38 */ stfs f3, 0x38(r1) +/* 80138A70 001359D0 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80138A74 001359D4 48 00 19 F5 */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff +/* 80138A78 001359D8 48 00 00 20 */ b lbl_80138A98 +lbl_80138A7C: +/* 80138A7C 001359DC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80138A80 001359E0 38 81 00 7C */ addi r4, r1, 0x7c +/* 80138A84 001359E4 48 1D BD CD */ bl AsNormalized__9CVector3fCFv +/* 80138A88 001359E8 FC 20 F8 90 */ fmr f1, f31 +/* 80138A8C 001359EC 7F 83 E3 78 */ mr r3, r28 +/* 80138A90 001359F0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80138A94 001359F4 48 00 1C 11 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_80138A98: +/* 80138A98 001359F8 7F C3 F3 78 */ mr r3, r30 +/* 80138A9C 001359FC 48 1D BE 1D */ bl Magnitude__9CVector3fCFv +/* 80138AA0 00135A00 FC 00 08 18 */ frsp f0, f1 +/* 80138AA4 00135A04 C0 4D 8B 58 */ lfs f2, lbl_805A7718@sda21(r13) +/* 80138AA8 00135A08 D0 21 00 08 */ stfs f1, 8(r1) +/* 80138AAC 00135A0C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80138AB0 00135A10 40 80 00 0C */ bge lbl_80138ABC +/* 80138AB4 00135A14 38 6D 8B 58 */ addi r3, r13, lbl_805A7718@sda21 +/* 80138AB8 00135A18 48 00 00 08 */ b lbl_80138AC0 +lbl_80138ABC: +/* 80138ABC 00135A1C 38 61 00 08 */ addi r3, r1, 8 +lbl_80138AC0: +/* 80138AC0 00135A20 C0 23 00 00 */ lfs f1, 0(r3) +/* 80138AC4 00135A24 48 00 00 08 */ b lbl_80138ACC +lbl_80138AC8: +/* 80138AC8 00135A28 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) +lbl_80138ACC: +/* 80138ACC 00135A2C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80138AD0 00135A30 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80138AD4 00135A34 BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 80138AD8 00135A38 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80138ADC 00135A3C 7C 08 03 A6 */ mtlr r0 +/* 80138AE0 00135A40 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80138AE4 00135A44 4E 80 00 20 */ blr + +.global Shutdown__13CBSLocomotionFR15CBodyController +Shutdown__13CBSLocomotionFR15CBodyController: +/* 80138AE8 00135A48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80138AEC 00135A4C 7C 08 02 A6 */ mflr r0 +/* 80138AF0 00135A50 C0 22 9A 38 */ lfs f1, lbl_805AB758@sda21(r2) +/* 80138AF4 00135A54 7C 83 23 78 */ mr r3, r4 +/* 80138AF8 00135A58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80138AFC 00135A5C 48 00 1D 65 */ bl MultiplyPlaybackRate__15CBodyControllerFf +/* 80138B00 00135A60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80138B04 00135A64 7C 08 03 A6 */ mtlr r0 +/* 80138B08 00135A68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138B0C 00135A6C 4E 80 00 20 */ blr + +.global UpdateBody__13CBSLocomotionFfR15CBodyControllerR13CStateManager +UpdateBody__13CBSLocomotionFfR15CBodyControllerR13CStateManager: +/* 80138B10 00135A70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80138B14 00135A74 7C 08 02 A6 */ mflr r0 +/* 80138B18 00135A78 90 01 00 24 */ stw r0, 0x24(r1) +/* 80138B1C 00135A7C DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80138B20 00135A80 FF E0 08 90 */ fmr f31, f1 +/* 80138B24 00135A84 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80138B28 00135A88 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80138B2C 00135A8C 7C 9E 23 78 */ mr r30, r4 +/* 80138B30 00135A90 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80138B34 00135A94 7C 7D 1B 78 */ mr r29, r3 +/* 80138B38 00135A98 81 83 00 00 */ lwz r12, 0(r3) +/* 80138B3C 00135A9C 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 80138B40 00135AA0 7D 89 03 A6 */ mtctr r12 +/* 80138B44 00135AA4 4E 80 04 21 */ bctrl +/* 80138B48 00135AA8 7C 7F 1B 78 */ mr r31, r3 +/* 80138B4C 00135AAC 2C 1F FF FF */ cmpwi r31, -1 +/* 80138B50 00135AB0 40 82 00 48 */ bne lbl_80138B98 +/* 80138B54 00135AB4 7F A3 EB 78 */ mr r3, r29 +/* 80138B58 00135AB8 FC 20 F8 90 */ fmr f1, f31 +/* 80138B5C 00135ABC 81 9D 00 00 */ lwz r12, 0(r29) +/* 80138B60 00135AC0 7F C4 F3 78 */ mr r4, r30 +/* 80138B64 00135AC4 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80138B68 00135AC8 7D 89 03 A6 */ mtctr r12 +/* 80138B6C 00135ACC 4E 80 04 21 */ bctrl +/* 80138B70 00135AD0 FC 00 08 90 */ fmr f0, f1 +/* 80138B74 00135AD4 81 9D 00 00 */ lwz r12, 0(r29) +/* 80138B78 00135AD8 FC 20 F8 90 */ fmr f1, f31 +/* 80138B7C 00135ADC 7F A3 EB 78 */ mr r3, r29 +/* 80138B80 00135AE0 81 8C 00 44 */ lwz r12, 0x44(r12) +/* 80138B84 00135AE4 7F C4 F3 78 */ mr r4, r30 +/* 80138B88 00135AE8 FC 40 00 90 */ fmr f2, f0 +/* 80138B8C 00135AEC 38 A0 00 00 */ li r5, 0 +/* 80138B90 00135AF0 7D 89 03 A6 */ mtctr r12 +/* 80138B94 00135AF4 4E 80 04 21 */ bctrl +lbl_80138B98: +/* 80138B98 00135AF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80138B9C 00135AFC 7F E3 FB 78 */ mr r3, r31 +/* 80138BA0 00135B00 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80138BA4 00135B04 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80138BA8 00135B08 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80138BAC 00135B0C 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80138BB0 00135B10 7C 08 03 A6 */ mtlr r0 +/* 80138BB4 00135B14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80138BB8 00135B18 4E 80 00 20 */ blr + +.global Start__13CBSLocomotionFR15CBodyControllerR13CStateManager +Start__13CBSLocomotionFR15CBodyControllerR13CStateManager: +/* 80138BBC 00135B1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80138BC0 00135B20 7C 08 02 A6 */ mflr r0 +/* 80138BC4 00135B24 90 01 00 14 */ stw r0, 0x14(r1) +/* 80138BC8 00135B28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80138BCC 00135B2C 7C 9F 23 78 */ mr r31, r4 +/* 80138BD0 00135B30 93 C1 00 08 */ stw r30, 8(r1) +/* 80138BD4 00135B34 7C 7E 1B 78 */ mr r30, r3 +/* 80138BD8 00135B38 38 7F 00 04 */ addi r3, r31, 4 +/* 80138BDC 00135B3C 80 04 02 EC */ lwz r0, 0x2ec(r4) +/* 80138BE0 00135B40 38 80 00 0D */ li r4, 0xd +/* 80138BE4 00135B44 90 1E 00 04 */ stw r0, 4(r30) +/* 80138BE8 00135B48 4B FF 88 69 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138BEC 00135B4C 28 03 00 00 */ cmplwi r3, 0 +/* 80138BF0 00135B50 41 82 00 18 */ beq lbl_80138C08 +/* 80138BF4 00135B54 7F C3 F3 78 */ mr r3, r30 +/* 80138BF8 00135B58 7F E4 FB 78 */ mr r4, r31 +/* 80138BFC 00135B5C 38 A0 00 01 */ li r5, 1 +/* 80138C00 00135B60 4B FF FC 09 */ bl ReStartBodyState__13CBSLocomotionFR15CBodyControllerb +/* 80138C04 00135B64 48 00 00 14 */ b lbl_80138C18 +lbl_80138C08: +/* 80138C08 00135B68 7F C3 F3 78 */ mr r3, r30 +/* 80138C0C 00135B6C 7F E4 FB 78 */ mr r4, r31 +/* 80138C10 00135B70 38 A0 00 00 */ li r5, 0 +/* 80138C14 00135B74 4B FF FB F5 */ bl ReStartBodyState__13CBSLocomotionFR15CBodyControllerb +lbl_80138C18: +/* 80138C18 00135B78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80138C1C 00135B7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80138C20 00135B80 83 C1 00 08 */ lwz r30, 8(r1) +/* 80138C24 00135B84 7C 08 03 A6 */ mtlr r0 +/* 80138C28 00135B88 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138C2C 00135B8C 4E 80 00 20 */ blr + +.global __ct__13CBSLocomotionFv +__ct__13CBSLocomotionFv: +/* 80138C30 00135B90 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 80138C34 00135B94 3C 80 80 3E */ lis r4, lbl_803E16CC@ha +/* 80138C38 00135B98 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l +/* 80138C3C 00135B9C 38 00 FF FF */ li r0, -1 +/* 80138C40 00135BA0 90 A3 00 00 */ stw r5, 0(r3) +/* 80138C44 00135BA4 38 84 16 CC */ addi r4, r4, lbl_803E16CC@l +/* 80138C48 00135BA8 90 83 00 00 */ stw r4, 0(r3) +/* 80138C4C 00135BAC 90 03 00 04 */ stw r0, 4(r3) +/* 80138C50 00135BB0 4E 80 00 20 */ blr + +.global __dt__21CBSNewFlyerLocomotion +__dt__21CBSNewFlyerLocomotion: +/* 80138C54 00135BB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80138C58 00135BB8 7C 08 02 A6 */ mflr r0 +/* 80138C5C 00135BBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80138C60 00135BC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80138C64 00135BC4 7C 9F 23 78 */ mr r31, r4 +/* 80138C68 00135BC8 93 C1 00 08 */ stw r30, 8(r1) +/* 80138C6C 00135BCC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80138C70 00135BD0 41 82 00 28 */ beq lbl_80138C98 +/* 80138C74 00135BD4 3C A0 80 3E */ lis r5, lbl_803E153C@ha +/* 80138C78 00135BD8 38 80 00 00 */ li r4, 0 +/* 80138C7C 00135BDC 38 05 15 3C */ addi r0, r5, lbl_803E153C@l +/* 80138C80 00135BE0 90 1E 00 00 */ stw r0, 0(r30) +/* 80138C84 00135BE4 4B FF E3 F9 */ bl __dt__18CBSBiPedLocomotionFv +/* 80138C88 00135BE8 7F E0 07 35 */ extsh. r0, r31 +/* 80138C8C 00135BEC 40 81 00 0C */ ble lbl_80138C98 +/* 80138C90 00135BF0 7F C3 F3 78 */ mr r3, r30 +/* 80138C94 00135BF4 48 1D CC 9D */ bl Free__7CMemoryFPCv +lbl_80138C98: +/* 80138C98 00135BF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80138C9C 00135BFC 7F C3 F3 78 */ mr r3, r30 +/* 80138CA0 00135C00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80138CA4 00135C04 83 C1 00 08 */ lwz r30, 8(r1) +/* 80138CA8 00135C08 7C 08 03 A6 */ mtlr r0 +/* 80138CAC 00135C0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138CB0 00135C10 4E 80 00 20 */ blr + +.global IsMoving__18CBSBiPedLocomotionCFv +IsMoving__18CBSBiPedLocomotionCFv: +/* 80138CB4 00135C14 80 63 03 C4 */ lwz r3, 0x3c4(r3) +/* 80138CB8 00135C18 7C 03 00 D0 */ neg r0, r3 +/* 80138CBC 00135C1C 7C 00 1B 78 */ or r0, r0, r3 +/* 80138CC0 00135C20 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80138CC4 00135C24 4E 80 00 20 */ blr + +.global __dt__23CBSWallWalkerLocomotion +__dt__23CBSWallWalkerLocomotion: +/* 80138CC8 00135C28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80138CCC 00135C2C 7C 08 02 A6 */ mflr r0 +/* 80138CD0 00135C30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80138CD4 00135C34 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80138CD8 00135C38 7C 9F 23 78 */ mr r31, r4 +/* 80138CDC 00135C3C 93 C1 00 08 */ stw r30, 8(r1) +/* 80138CE0 00135C40 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80138CE4 00135C44 41 82 00 28 */ beq lbl_80138D0C +/* 80138CE8 00135C48 3C A0 80 3E */ lis r5, lbl_803E158C@ha +/* 80138CEC 00135C4C 38 80 00 00 */ li r4, 0 +/* 80138CF0 00135C50 38 05 15 8C */ addi r0, r5, lbl_803E158C@l +/* 80138CF4 00135C54 90 1E 00 00 */ stw r0, 0(r30) +/* 80138CF8 00135C58 4B FF E3 85 */ bl __dt__18CBSBiPedLocomotionFv +/* 80138CFC 00135C5C 7F E0 07 35 */ extsh. r0, r31 +/* 80138D00 00135C60 40 81 00 0C */ ble lbl_80138D0C +/* 80138D04 00135C64 7F C3 F3 78 */ mr r3, r30 +/* 80138D08 00135C68 48 1D CC 29 */ bl Free__7CMemoryFPCv +lbl_80138D0C: +/* 80138D0C 00135C6C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80138D10 00135C70 7F C3 F3 78 */ mr r3, r30 +/* 80138D14 00135C74 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80138D18 00135C78 83 C1 00 08 */ lwz r30, 8(r1) +/* 80138D1C 00135C7C 7C 08 03 A6 */ mtlr r0 +/* 80138D20 00135C80 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138D24 00135C84 4E 80 00 20 */ blr + +.global __dt__18CBSFlyerLocomotion +__dt__18CBSFlyerLocomotion: +/* 80138D28 00135C88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80138D2C 00135C8C 7C 08 02 A6 */ mflr r0 +/* 80138D30 00135C90 90 01 00 14 */ stw r0, 0x14(r1) +/* 80138D34 00135C94 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80138D38 00135C98 7C 9F 23 78 */ mr r31, r4 +/* 80138D3C 00135C9C 93 C1 00 08 */ stw r30, 8(r1) +/* 80138D40 00135CA0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80138D44 00135CA4 41 82 00 28 */ beq lbl_80138D6C +/* 80138D48 00135CA8 3C A0 80 3E */ lis r5, lbl_803E15DC@ha +/* 80138D4C 00135CAC 38 80 00 00 */ li r4, 0 +/* 80138D50 00135CB0 38 05 15 DC */ addi r0, r5, lbl_803E15DC@l +/* 80138D54 00135CB4 90 1E 00 00 */ stw r0, 0(r30) +/* 80138D58 00135CB8 4B FF E3 25 */ bl __dt__18CBSBiPedLocomotionFv +/* 80138D5C 00135CBC 7F E0 07 35 */ extsh. r0, r31 +/* 80138D60 00135CC0 40 81 00 0C */ ble lbl_80138D6C +/* 80138D64 00135CC4 7F C3 F3 78 */ mr r3, r30 +/* 80138D68 00135CC8 48 1D CB C9 */ bl Free__7CMemoryFPCv +lbl_80138D6C: +/* 80138D6C 00135CCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80138D70 00135CD0 7F C3 F3 78 */ mr r3, r30 +/* 80138D74 00135CD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80138D78 00135CD8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80138D7C 00135CDC 7C 08 03 A6 */ mtlr r0 +/* 80138D80 00135CE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138D84 00135CE4 4E 80 00 20 */ blr + +.global IsBackPedal__18CBSFlyerLocomotionCFR15CBodyController +IsBackPedal__18CBSFlyerLocomotionCFR15CBodyController: +/* 80138D88 00135CE8 38 60 00 00 */ li r3, 0 +/* 80138D8C 00135CEC 4E 80 00 20 */ blr + +.global IsPitchable__18CBSFlyerLocomotionCFv +IsPitchable__18CBSFlyerLocomotionCFv: +/* 80138D90 00135CF0 88 63 03 CC */ lbz r3, 0x3cc(r3) +/* 80138D94 00135CF4 4E 80 00 20 */ blr + +.global __sinit_CBSFlyerLocomotion_cpp +__sinit_CBSFlyerLocomotion_cpp: +/* 80138D98 00135CF8 C0 02 9A 54 */ lfs f0, lbl_805AB774@sda21(r2) +/* 80138D9C 00135CFC D0 0D A3 C0 */ stfs f0, lbl_805A8F80@sda21(r13) +/* 80138DA0 00135D00 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSLoopAttack.s b/asm/Kyoto_CWD/BodyState/CBSLoopAttack.s new file mode 100644 index 00000000..f43c8887 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSLoopAttack.s @@ -0,0 +1,698 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__13CBSLoopAttackFv +__dt__13CBSLoopAttackFv: +/* 8013AECC 00137E2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013AED0 00137E30 7C 08 02 A6 */ mflr r0 +/* 8013AED4 00137E34 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013AED8 00137E38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013AEDC 00137E3C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8013AEE0 00137E40 41 82 00 30 */ beq lbl_8013AF10 +/* 8013AEE4 00137E44 3C 60 80 3E */ lis r3, lbl_803E17C8@ha +/* 8013AEE8 00137E48 38 03 17 C8 */ addi r0, r3, lbl_803E17C8@l +/* 8013AEEC 00137E4C 90 1F 00 00 */ stw r0, 0(r31) +/* 8013AEF0 00137E50 41 82 00 10 */ beq lbl_8013AF00 +/* 8013AEF4 00137E54 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 8013AEF8 00137E58 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 8013AEFC 00137E5C 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013AF00: +/* 8013AF00 00137E60 7C 80 07 35 */ extsh. r0, r4 +/* 8013AF04 00137E64 40 81 00 0C */ ble lbl_8013AF10 +/* 8013AF08 00137E68 7F E3 FB 78 */ mr r3, r31 +/* 8013AF0C 00137E6C 48 1D AA 25 */ bl Free__7CMemoryFPCv +lbl_8013AF10: +/* 8013AF10 00137E70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013AF14 00137E74 7F E3 FB 78 */ mr r3, r31 +/* 8013AF18 00137E78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013AF1C 00137E7C 7C 08 03 A6 */ mtlr r0 +/* 8013AF20 00137E80 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013AF24 00137E84 4E 80 00 20 */ blr + +.global CanShoot__13CBSLoopAttackCFv +CanShoot__13CBSLoopAttackCFv: +/* 8013AF28 00137E88 38 60 00 01 */ li r3, 1 +/* 8013AF2C 00137E8C 4E 80 00 20 */ blr + +.global GetBodyStateTransition__13CBSLoopAttackFfR15CBodyController +GetBodyStateTransition__13CBSLoopAttackFfR15CBodyController: +/* 8013AF30 00137E90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013AF34 00137E94 7C 08 02 A6 */ mflr r0 +/* 8013AF38 00137E98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013AF3C 00137E9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013AF40 00137EA0 3B E4 00 04 */ addi r31, r4, 4 +/* 8013AF44 00137EA4 38 80 00 0F */ li r4, 0xf +/* 8013AF48 00137EA8 93 C1 00 08 */ stw r30, 8(r1) +/* 8013AF4C 00137EAC 7C 7E 1B 78 */ mr r30, r3 +/* 8013AF50 00137EB0 7F E3 FB 78 */ mr r3, r31 +/* 8013AF54 00137EB4 4B FF 64 FD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013AF58 00137EB8 28 03 00 00 */ cmplwi r3, 0 +/* 8013AF5C 00137EBC 41 82 00 0C */ beq lbl_8013AF68 +/* 8013AF60 00137EC0 38 60 00 0E */ li r3, 0xe +/* 8013AF64 00137EC4 48 00 01 74 */ b lbl_8013B0D8 +lbl_8013AF68: +/* 8013AF68 00137EC8 7F E3 FB 78 */ mr r3, r31 +/* 8013AF6C 00137ECC 38 80 00 03 */ li r4, 3 +/* 8013AF70 00137ED0 4B FF 64 E1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013AF74 00137ED4 28 03 00 00 */ cmplwi r3, 0 +/* 8013AF78 00137ED8 41 82 00 0C */ beq lbl_8013AF84 +/* 8013AF7C 00137EDC 38 60 00 00 */ li r3, 0 +/* 8013AF80 00137EE0 48 00 01 58 */ b lbl_8013B0D8 +lbl_8013AF84: +/* 8013AF84 00137EE4 7F E3 FB 78 */ mr r3, r31 +/* 8013AF88 00137EE8 38 80 00 09 */ li r4, 9 +/* 8013AF8C 00137EEC 4B FF 64 C5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013AF90 00137EF0 28 03 00 00 */ cmplwi r3, 0 +/* 8013AF94 00137EF4 41 82 00 0C */ beq lbl_8013AFA0 +/* 8013AF98 00137EF8 38 60 00 0A */ li r3, 0xa +/* 8013AF9C 00137EFC 48 00 01 3C */ b lbl_8013B0D8 +lbl_8013AFA0: +/* 8013AFA0 00137F00 7F E3 FB 78 */ mr r3, r31 +/* 8013AFA4 00137F04 38 80 00 04 */ li r4, 4 +/* 8013AFA8 00137F08 4B FF 64 A9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013AFAC 00137F0C 28 03 00 00 */ cmplwi r3, 0 +/* 8013AFB0 00137F10 41 82 00 0C */ beq lbl_8013AFBC +/* 8013AFB4 00137F14 38 60 00 06 */ li r3, 6 +/* 8013AFB8 00137F18 48 00 01 20 */ b lbl_8013B0D8 +lbl_8013AFBC: +/* 8013AFBC 00137F1C 7F E3 FB 78 */ mr r3, r31 +/* 8013AFC0 00137F20 38 80 00 16 */ li r4, 0x16 +/* 8013AFC4 00137F24 4B FF 64 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013AFC8 00137F28 28 03 00 00 */ cmplwi r3, 0 +/* 8013AFCC 00137F2C 41 82 00 0C */ beq lbl_8013AFD8 +/* 8013AFD0 00137F30 38 60 00 05 */ li r3, 5 +/* 8013AFD4 00137F34 48 00 01 04 */ b lbl_8013B0D8 +lbl_8013AFD8: +/* 8013AFD8 00137F38 80 1E 00 04 */ lwz r0, 4(r30) +/* 8013AFDC 00137F3C 2C 00 00 02 */ cmpwi r0, 2 +/* 8013AFE0 00137F40 40 82 00 F4 */ bne lbl_8013B0D4 +/* 8013AFE4 00137F44 7F E3 FB 78 */ mr r3, r31 +/* 8013AFE8 00137F48 38 80 00 05 */ li r4, 5 +/* 8013AFEC 00137F4C 4B FF 64 65 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013AFF0 00137F50 28 03 00 00 */ cmplwi r3, 0 +/* 8013AFF4 00137F54 41 82 00 0C */ beq lbl_8013B000 +/* 8013AFF8 00137F58 38 60 00 07 */ li r3, 7 +/* 8013AFFC 00137F5C 48 00 00 DC */ b lbl_8013B0D8 +lbl_8013B000: +/* 8013B000 00137F60 7F E3 FB 78 */ mr r3, r31 +/* 8013B004 00137F64 38 80 00 06 */ li r4, 6 +/* 8013B008 00137F68 4B FF 64 49 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013B00C 00137F6C 28 03 00 00 */ cmplwi r3, 0 +/* 8013B010 00137F70 41 82 00 0C */ beq lbl_8013B01C +/* 8013B014 00137F74 38 60 00 12 */ li r3, 0x12 +/* 8013B018 00137F78 48 00 00 C0 */ b lbl_8013B0D8 +lbl_8013B01C: +/* 8013B01C 00137F7C 7F E3 FB 78 */ mr r3, r31 +/* 8013B020 00137F80 38 80 00 07 */ li r4, 7 +/* 8013B024 00137F84 4B FF 64 2D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013B028 00137F88 28 03 00 00 */ cmplwi r3, 0 +/* 8013B02C 00137F8C 41 82 00 0C */ beq lbl_8013B038 +/* 8013B030 00137F90 38 60 00 09 */ li r3, 9 +/* 8013B034 00137F94 48 00 00 A4 */ b lbl_8013B0D8 +lbl_8013B038: +/* 8013B038 00137F98 7F E3 FB 78 */ mr r3, r31 +/* 8013B03C 00137F9C 38 80 00 01 */ li r4, 1 +/* 8013B040 00137FA0 4B FF 64 11 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013B044 00137FA4 28 03 00 00 */ cmplwi r3, 0 +/* 8013B048 00137FA8 41 82 00 0C */ beq lbl_8013B054 +/* 8013B04C 00137FAC 38 60 00 03 */ li r3, 3 +/* 8013B050 00137FB0 48 00 00 88 */ b lbl_8013B0D8 +lbl_8013B054: +/* 8013B054 00137FB4 C0 22 9A 88 */ lfs f1, lbl_805AB7A8@sda21(r2) +/* 8013B058 00137FB8 38 00 00 00 */ li r0, 0 +/* 8013B05C 00137FBC C0 1F 00 00 */ lfs f0, 0(r31) +/* 8013B060 00137FC0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013B064 00137FC4 40 82 00 1C */ bne lbl_8013B080 +/* 8013B068 00137FC8 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8013B06C 00137FCC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013B070 00137FD0 40 82 00 10 */ bne lbl_8013B080 +/* 8013B074 00137FD4 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8013B078 00137FD8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013B07C 00137FDC 41 82 00 08 */ beq lbl_8013B084 +lbl_8013B080: +/* 8013B080 00137FE0 38 00 00 01 */ li r0, 1 +lbl_8013B084: +/* 8013B084 00137FE4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8013B088 00137FE8 41 82 00 0C */ beq lbl_8013B094 +/* 8013B08C 00137FEC 38 60 00 05 */ li r3, 5 +/* 8013B090 00137FF0 48 00 00 48 */ b lbl_8013B0D8 +lbl_8013B094: +/* 8013B094 00137FF4 C0 22 9A 88 */ lfs f1, lbl_805AB7A8@sda21(r2) +/* 8013B098 00137FF8 38 00 00 00 */ li r0, 0 +/* 8013B09C 00137FFC C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8013B0A0 00138000 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013B0A4 00138004 40 82 00 1C */ bne lbl_8013B0C0 +/* 8013B0A8 00138008 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8013B0AC 0013800C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013B0B0 00138010 40 82 00 10 */ bne lbl_8013B0C0 +/* 8013B0B4 00138014 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8013B0B8 00138018 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013B0BC 0013801C 41 82 00 08 */ beq lbl_8013B0C4 +lbl_8013B0C0: +/* 8013B0C0 00138020 38 00 00 01 */ li r0, 1 +lbl_8013B0C4: +/* 8013B0C4 00138024 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8013B0C8 00138028 41 82 00 0C */ beq lbl_8013B0D4 +/* 8013B0CC 0013802C 38 60 00 08 */ li r3, 8 +/* 8013B0D0 00138030 48 00 00 08 */ b lbl_8013B0D8 +lbl_8013B0D4: +/* 8013B0D4 00138034 38 60 FF FF */ li r3, -1 +lbl_8013B0D8: +/* 8013B0D8 00138038 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013B0DC 0013803C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013B0E0 00138040 83 C1 00 08 */ lwz r30, 8(r1) +/* 8013B0E4 00138044 7C 08 03 A6 */ mtlr r0 +/* 8013B0E8 00138048 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013B0EC 0013804C 4E 80 00 20 */ blr + +.global Shutdown__13CBSLoopAttackFR15CBodyController +Shutdown__13CBSLoopAttackFR15CBodyController: +/* 8013B0F0 00138050 4E 80 00 20 */ blr + +.global UpdateBody__13CBSLoopAttackFfR15CBodyControllerR13CStateManager +UpdateBody__13CBSLoopAttackFfR15CBodyControllerR13CStateManager: +/* 8013B0F4 00138054 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 8013B0F8 00138058 7C 08 02 A6 */ mflr r0 +/* 8013B0FC 0013805C 90 01 01 54 */ stw r0, 0x154(r1) +/* 8013B100 00138060 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 8013B104 00138064 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 8013B108 00138068 BF 61 01 2C */ stmw r27, 0x12c(r1) +/* 8013B10C 0013806C FF E0 08 90 */ fmr f31, f1 +/* 8013B110 00138070 7C 7B 1B 78 */ mr r27, r3 +/* 8013B114 00138074 7C 9C 23 78 */ mr r28, r4 +/* 8013B118 00138078 7C BD 2B 78 */ mr r29, r5 +/* 8013B11C 0013807C 4B FF FE 15 */ bl GetBodyStateTransition__13CBSLoopAttackFfR15CBodyController +/* 8013B120 00138080 7C 7E 1B 78 */ mr r30, r3 +/* 8013B124 00138084 2C 1E FF FF */ cmpwi r30, -1 +/* 8013B128 00138088 40 82 03 24 */ bne lbl_8013B44C +/* 8013B12C 0013808C 3B FC 00 04 */ addi r31, r28, 4 +/* 8013B130 00138090 38 80 00 0A */ li r4, 0xa +/* 8013B134 00138094 7F E3 FB 78 */ mr r3, r31 +/* 8013B138 00138098 4B FF 63 19 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013B13C 0013809C 7C 03 00 D0 */ neg r0, r3 +/* 8013B140 001380A0 88 9B 00 0C */ lbz r4, 0xc(r27) +/* 8013B144 001380A4 7C 03 1B 78 */ or r3, r0, r3 +/* 8013B148 001380A8 88 1B 00 0C */ lbz r0, 0xc(r27) +/* 8013B14C 001380AC 54 65 0F FE */ srwi r5, r3, 0x1f +/* 8013B150 001380B0 54 83 D7 FE */ rlwinm r3, r4, 0x1a, 0x1f, 0x1f +/* 8013B154 001380B4 7C 63 2B 78 */ or r3, r3, r5 +/* 8013B158 001380B8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8013B15C 001380BC 98 1B 00 0C */ stb r0, 0xc(r27) +/* 8013B160 001380C0 80 1B 00 04 */ lwz r0, 4(r27) +/* 8013B164 001380C4 2C 00 00 01 */ cmpwi r0, 1 +/* 8013B168 001380C8 41 82 01 9C */ beq lbl_8013B304 +/* 8013B16C 001380CC 40 80 00 10 */ bge lbl_8013B17C +/* 8013B170 001380D0 2C 00 00 00 */ cmpwi r0, 0 +/* 8013B174 001380D4 40 80 00 14 */ bge lbl_8013B188 +/* 8013B178 001380D8 48 00 02 D4 */ b lbl_8013B44C +lbl_8013B17C: +/* 8013B17C 001380DC 2C 00 00 03 */ cmpwi r0, 3 +/* 8013B180 001380E0 40 80 02 CC */ bge lbl_8013B44C +/* 8013B184 001380E4 48 00 02 B0 */ b lbl_8013B434 +lbl_8013B188: +/* 8013B188 001380E8 88 7B 00 0C */ lbz r3, 0xc(r27) +/* 8013B18C 001380EC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8013B190 001380F0 41 82 00 28 */ beq lbl_8013B1B8 +/* 8013B194 001380F4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8013B198 001380F8 41 82 00 10 */ beq lbl_8013B1A8 +/* 8013B19C 001380FC 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 8013B1A0 00138100 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013B1A4 00138104 41 82 00 14 */ beq lbl_8013B1B8 +lbl_8013B1A8: +/* 8013B1A8 00138108 38 00 FF FF */ li r0, -1 +/* 8013B1AC 0013810C 3B C0 00 05 */ li r30, 5 +/* 8013B1B0 00138110 90 1B 00 04 */ stw r0, 4(r27) +/* 8013B1B4 00138114 48 00 02 98 */ b lbl_8013B44C +lbl_8013B1B8: +/* 8013B1B8 00138118 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 8013B1BC 0013811C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013B1C0 00138120 41 82 00 F8 */ beq lbl_8013B2B8 +/* 8013B1C4 00138124 38 61 00 50 */ addi r3, r1, 0x50 +/* 8013B1C8 00138128 48 1A 7E B5 */ bl NoParameter__12CPASAnimParmFv +/* 8013B1CC 0013812C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8013B1D0 00138130 48 1A 7E AD */ bl NoParameter__12CPASAnimParmFv +/* 8013B1D4 00138134 38 61 00 60 */ addi r3, r1, 0x60 +/* 8013B1D8 00138138 48 1A 7E A5 */ bl NoParameter__12CPASAnimParmFv +/* 8013B1DC 0013813C 38 61 00 68 */ addi r3, r1, 0x68 +/* 8013B1E0 00138140 48 1A 7E 9D */ bl NoParameter__12CPASAnimParmFv +/* 8013B1E4 00138144 38 61 00 70 */ addi r3, r1, 0x70 +/* 8013B1E8 00138148 48 1A 7E 95 */ bl NoParameter__12CPASAnimParmFv +/* 8013B1EC 0013814C 38 61 00 78 */ addi r3, r1, 0x78 +/* 8013B1F0 00138150 48 1A 7E 8D */ bl NoParameter__12CPASAnimParmFv +/* 8013B1F4 00138154 80 9B 00 08 */ lwz r4, 8(r27) +/* 8013B1F8 00138158 38 61 00 80 */ addi r3, r1, 0x80 +/* 8013B1FC 0013815C 48 1A 7D 89 */ bl FromEnum__12CPASAnimParmFi +/* 8013B200 00138160 38 61 00 88 */ addi r3, r1, 0x88 +/* 8013B204 00138164 38 80 00 01 */ li r4, 1 +/* 8013B208 00138168 48 1A 7D 7D */ bl FromEnum__12CPASAnimParmFi +/* 8013B20C 0013816C 38 61 00 58 */ addi r3, r1, 0x58 +/* 8013B210 00138170 38 01 00 50 */ addi r0, r1, 0x50 +/* 8013B214 00138174 90 61 00 08 */ stw r3, 8(r1) +/* 8013B218 00138178 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8013B21C 0013817C 38 A1 00 88 */ addi r5, r1, 0x88 +/* 8013B220 00138180 38 C1 00 80 */ addi r6, r1, 0x80 +/* 8013B224 00138184 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013B228 00138188 38 E1 00 78 */ addi r7, r1, 0x78 +/* 8013B22C 0013818C 39 01 00 70 */ addi r8, r1, 0x70 +/* 8013B230 00138190 39 21 00 68 */ addi r9, r1, 0x68 +/* 8013B234 00138194 39 41 00 60 */ addi r10, r1, 0x60 +/* 8013B238 00138198 38 80 00 09 */ li r4, 9 +/* 8013B23C 0013819C 4B F4 20 89 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013B240 001381A0 80 BD 09 00 */ lwz r5, 0x900(r29) +/* 8013B244 001381A4 7F 83 E3 78 */ mr r3, r28 +/* 8013B248 001381A8 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8013B24C 001381AC 4B FF F0 B1 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 8013B250 001381B0 38 00 00 01 */ li r0, 1 +/* 8013B254 001381B4 34 A1 00 DC */ addic. r5, r1, 0xdc +/* 8013B258 001381B8 90 1B 00 04 */ stw r0, 4(r27) +/* 8013B25C 001381BC 41 82 01 F0 */ beq lbl_8013B44C +/* 8013B260 001381C0 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013B264 001381C4 38 60 00 00 */ li r3, 0 +/* 8013B268 001381C8 2C 06 00 00 */ cmpwi r6, 0 +/* 8013B26C 001381CC 40 81 00 40 */ ble lbl_8013B2AC +/* 8013B270 001381D0 2C 06 00 08 */ cmpwi r6, 8 +/* 8013B274 001381D4 38 86 FF F8 */ addi r4, r6, -8 +/* 8013B278 001381D8 40 81 00 20 */ ble lbl_8013B298 +/* 8013B27C 001381DC 38 04 00 07 */ addi r0, r4, 7 +/* 8013B280 001381E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013B284 001381E4 7C 09 03 A6 */ mtctr r0 +/* 8013B288 001381E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8013B28C 001381EC 40 81 00 0C */ ble lbl_8013B298 +lbl_8013B290: +/* 8013B290 001381F0 38 63 00 08 */ addi r3, r3, 8 +/* 8013B294 001381F4 42 00 FF FC */ bdnz lbl_8013B290 +lbl_8013B298: +/* 8013B298 001381F8 7C 03 30 50 */ subf r0, r3, r6 +/* 8013B29C 001381FC 7C 09 03 A6 */ mtctr r0 +/* 8013B2A0 00138200 7C 03 30 00 */ cmpw r3, r6 +/* 8013B2A4 00138204 40 80 00 08 */ bge lbl_8013B2AC +lbl_8013B2A8: +/* 8013B2A8 00138208 42 00 00 00 */ bdnz lbl_8013B2A8 +lbl_8013B2AC: +/* 8013B2AC 0013820C 38 00 00 00 */ li r0, 0 +/* 8013B2B0 00138210 90 05 00 00 */ stw r0, 0(r5) +/* 8013B2B4 00138214 48 00 01 98 */ b lbl_8013B44C +lbl_8013B2B8: +/* 8013B2B8 00138218 C0 22 9A 88 */ lfs f1, lbl_805AB7A8@sda21(r2) +/* 8013B2BC 0013821C 38 00 00 00 */ li r0, 0 +/* 8013B2C0 00138220 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8013B2C4 00138224 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013B2C8 00138228 40 82 00 1C */ bne lbl_8013B2E4 +/* 8013B2CC 0013822C C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8013B2D0 00138230 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013B2D4 00138234 40 82 00 10 */ bne lbl_8013B2E4 +/* 8013B2D8 00138238 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8013B2DC 0013823C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013B2E0 00138240 41 82 00 08 */ beq lbl_8013B2E8 +lbl_8013B2E4: +/* 8013B2E4 00138244 38 00 00 01 */ li r0, 1 +lbl_8013B2E8: +/* 8013B2E8 00138248 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8013B2EC 0013824C 41 82 01 60 */ beq lbl_8013B44C +/* 8013B2F0 00138250 FC 20 F8 90 */ fmr f1, f31 +/* 8013B2F4 00138254 7F 83 E3 78 */ mr r3, r28 +/* 8013B2F8 00138258 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8013B2FC 0013825C 4B FF F3 A9 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 8013B300 00138260 48 00 01 4C */ b lbl_8013B44C +lbl_8013B304: +/* 8013B304 00138264 88 7B 00 0C */ lbz r3, 0xc(r27) +/* 8013B308 00138268 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8013B30C 0013826C 41 82 01 40 */ beq lbl_8013B44C +/* 8013B310 00138270 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8013B314 00138274 41 82 00 10 */ beq lbl_8013B324 +/* 8013B318 00138278 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 8013B31C 0013827C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013B320 00138280 41 82 01 2C */ beq lbl_8013B44C +lbl_8013B324: +/* 8013B324 00138284 80 1C 02 EC */ lwz r0, 0x2ec(r28) +/* 8013B328 00138288 2C 00 00 00 */ cmpwi r0, 0 +/* 8013B32C 0013828C 41 82 00 F8 */ beq lbl_8013B424 +/* 8013B330 00138290 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013B334 00138294 48 1A 7D 49 */ bl NoParameter__12CPASAnimParmFv +/* 8013B338 00138298 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013B33C 0013829C 48 1A 7D 41 */ bl NoParameter__12CPASAnimParmFv +/* 8013B340 001382A0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013B344 001382A4 48 1A 7D 39 */ bl NoParameter__12CPASAnimParmFv +/* 8013B348 001382A8 38 61 00 28 */ addi r3, r1, 0x28 +/* 8013B34C 001382AC 48 1A 7D 31 */ bl NoParameter__12CPASAnimParmFv +/* 8013B350 001382B0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013B354 001382B4 48 1A 7D 29 */ bl NoParameter__12CPASAnimParmFv +/* 8013B358 001382B8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8013B35C 001382BC 48 1A 7D 21 */ bl NoParameter__12CPASAnimParmFv +/* 8013B360 001382C0 80 9B 00 08 */ lwz r4, 8(r27) +/* 8013B364 001382C4 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013B368 001382C8 48 1A 7C 1D */ bl FromEnum__12CPASAnimParmFi +/* 8013B36C 001382CC 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013B370 001382D0 38 80 00 02 */ li r4, 2 +/* 8013B374 001382D4 48 1A 7C 11 */ bl FromEnum__12CPASAnimParmFi +/* 8013B378 001382D8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013B37C 001382DC 38 01 00 10 */ addi r0, r1, 0x10 +/* 8013B380 001382E0 90 61 00 08 */ stw r3, 8(r1) +/* 8013B384 001382E4 38 61 00 90 */ addi r3, r1, 0x90 +/* 8013B388 001382E8 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8013B38C 001382EC 38 C1 00 40 */ addi r6, r1, 0x40 +/* 8013B390 001382F0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013B394 001382F4 38 E1 00 38 */ addi r7, r1, 0x38 +/* 8013B398 001382F8 39 01 00 30 */ addi r8, r1, 0x30 +/* 8013B39C 001382FC 39 21 00 28 */ addi r9, r1, 0x28 +/* 8013B3A0 00138300 39 41 00 20 */ addi r10, r1, 0x20 +/* 8013B3A4 00138304 38 80 00 09 */ li r4, 9 +/* 8013B3A8 00138308 4B F4 1F 1D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013B3AC 0013830C 80 BD 09 00 */ lwz r5, 0x900(r29) +/* 8013B3B0 00138310 7F 83 E3 78 */ mr r3, r28 +/* 8013B3B4 00138314 38 81 00 90 */ addi r4, r1, 0x90 +/* 8013B3B8 00138318 4B FF EF F1 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 8013B3BC 0013831C 38 00 00 02 */ li r0, 2 +/* 8013B3C0 00138320 34 A1 00 94 */ addic. r5, r1, 0x94 +/* 8013B3C4 00138324 90 1B 00 04 */ stw r0, 4(r27) +/* 8013B3C8 00138328 41 82 00 84 */ beq lbl_8013B44C +/* 8013B3CC 0013832C 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013B3D0 00138330 38 60 00 00 */ li r3, 0 +/* 8013B3D4 00138334 2C 06 00 00 */ cmpwi r6, 0 +/* 8013B3D8 00138338 40 81 00 40 */ ble lbl_8013B418 +/* 8013B3DC 0013833C 2C 06 00 08 */ cmpwi r6, 8 +/* 8013B3E0 00138340 38 86 FF F8 */ addi r4, r6, -8 +/* 8013B3E4 00138344 40 81 00 20 */ ble lbl_8013B404 +/* 8013B3E8 00138348 38 04 00 07 */ addi r0, r4, 7 +/* 8013B3EC 0013834C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013B3F0 00138350 7C 09 03 A6 */ mtctr r0 +/* 8013B3F4 00138354 2C 04 00 00 */ cmpwi r4, 0 +/* 8013B3F8 00138358 40 81 00 0C */ ble lbl_8013B404 +lbl_8013B3FC: +/* 8013B3FC 0013835C 38 63 00 08 */ addi r3, r3, 8 +/* 8013B400 00138360 42 00 FF FC */ bdnz lbl_8013B3FC +lbl_8013B404: +/* 8013B404 00138364 7C 03 30 50 */ subf r0, r3, r6 +/* 8013B408 00138368 7C 09 03 A6 */ mtctr r0 +/* 8013B40C 0013836C 7C 03 30 00 */ cmpw r3, r6 +/* 8013B410 00138370 40 80 00 08 */ bge lbl_8013B418 +lbl_8013B414: +/* 8013B414 00138374 42 00 00 00 */ bdnz lbl_8013B414 +lbl_8013B418: +/* 8013B418 00138378 38 00 00 00 */ li r0, 0 +/* 8013B41C 0013837C 90 05 00 00 */ stw r0, 0(r5) +/* 8013B420 00138380 48 00 00 2C */ b lbl_8013B44C +lbl_8013B424: +/* 8013B424 00138384 38 00 FF FF */ li r0, -1 +/* 8013B428 00138388 3B C0 00 05 */ li r30, 5 +/* 8013B42C 0013838C 90 1B 00 04 */ stw r0, 4(r27) +/* 8013B430 00138390 48 00 00 1C */ b lbl_8013B44C +lbl_8013B434: +/* 8013B434 00138394 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 8013B438 00138398 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013B43C 0013839C 41 82 00 10 */ beq lbl_8013B44C +/* 8013B440 001383A0 38 00 FF FF */ li r0, -1 +/* 8013B444 001383A4 3B C0 00 05 */ li r30, 5 +/* 8013B448 001383A8 90 1B 00 04 */ stw r0, 4(r27) +lbl_8013B44C: +/* 8013B44C 001383AC 7F C3 F3 78 */ mr r3, r30 +/* 8013B450 001383B0 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 8013B454 001383B4 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 8013B458 001383B8 BB 61 01 2C */ lmw r27, 0x12c(r1) +/* 8013B45C 001383BC 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8013B460 001383C0 7C 08 03 A6 */ mtlr r0 +/* 8013B464 001383C4 38 21 01 50 */ addi r1, r1, 0x150 +/* 8013B468 001383C8 4E 80 00 20 */ blr + +.global Start__13CBSLoopAttackFR15CBodyControllerR13CStateManager +Start__13CBSLoopAttackFR15CBodyControllerR13CStateManager: +/* 8013B46C 001383CC 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 8013B470 001383D0 7C 08 02 A6 */ mflr r0 +/* 8013B474 001383D4 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 8013B478 001383D8 93 E1 01 EC */ stw r31, 0x1ec(r1) +/* 8013B47C 001383DC 7C BF 2B 78 */ mr r31, r5 +/* 8013B480 001383E0 93 C1 01 E8 */ stw r30, 0x1e8(r1) +/* 8013B484 001383E4 7C 9E 23 78 */ mr r30, r4 +/* 8013B488 001383E8 38 80 00 07 */ li r4, 7 +/* 8013B48C 001383EC 93 A1 01 E4 */ stw r29, 0x1e4(r1) +/* 8013B490 001383F0 7C 7D 1B 78 */ mr r29, r3 +/* 8013B494 001383F4 38 7E 00 04 */ addi r3, r30, 4 +/* 8013B498 001383F8 4B FF 5F B9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013B49C 001383FC 80 03 00 08 */ lwz r0, 8(r3) +/* 8013B4A0 00138400 38 80 00 00 */ li r4, 0 +/* 8013B4A4 00138404 90 1D 00 08 */ stw r0, 8(r29) +/* 8013B4A8 00138408 80 63 00 0C */ lwz r3, 0xc(r3) +/* 8013B4AC 0013840C 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 8013B4B0 00138410 20 63 00 01 */ subfic r3, r3, 1 +/* 8013B4B4 00138414 7C 63 00 34 */ cntlzw r3, r3 +/* 8013B4B8 00138418 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18 +/* 8013B4BC 0013841C 98 1D 00 0C */ stb r0, 0xc(r29) +/* 8013B4C0 00138420 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 8013B4C4 00138424 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8013B4C8 00138428 98 1D 00 0C */ stb r0, 0xc(r29) +/* 8013B4CC 0013842C 80 1E 02 EC */ lwz r0, 0x2ec(r30) +/* 8013B4D0 00138430 2C 00 00 00 */ cmpwi r0, 0 +/* 8013B4D4 00138434 40 82 00 F8 */ bne lbl_8013B5CC +/* 8013B4D8 00138438 38 00 00 01 */ li r0, 1 +/* 8013B4DC 0013843C 38 61 00 98 */ addi r3, r1, 0x98 +/* 8013B4E0 00138440 90 1D 00 04 */ stw r0, 4(r29) +/* 8013B4E4 00138444 48 1A 7B 99 */ bl NoParameter__12CPASAnimParmFv +/* 8013B4E8 00138448 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8013B4EC 0013844C 48 1A 7B 91 */ bl NoParameter__12CPASAnimParmFv +/* 8013B4F0 00138450 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8013B4F4 00138454 48 1A 7B 89 */ bl NoParameter__12CPASAnimParmFv +/* 8013B4F8 00138458 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8013B4FC 0013845C 48 1A 7B 81 */ bl NoParameter__12CPASAnimParmFv +/* 8013B500 00138460 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8013B504 00138464 48 1A 7B 79 */ bl NoParameter__12CPASAnimParmFv +/* 8013B508 00138468 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8013B50C 0013846C 48 1A 7B 71 */ bl NoParameter__12CPASAnimParmFv +/* 8013B510 00138470 80 9D 00 08 */ lwz r4, 8(r29) +/* 8013B514 00138474 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8013B518 00138478 48 1A 7A 6D */ bl FromEnum__12CPASAnimParmFi +/* 8013B51C 0013847C 80 9D 00 04 */ lwz r4, 4(r29) +/* 8013B520 00138480 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8013B524 00138484 48 1A 7A 61 */ bl FromEnum__12CPASAnimParmFi +/* 8013B528 00138488 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8013B52C 0013848C 38 01 00 98 */ addi r0, r1, 0x98 +/* 8013B530 00138490 90 61 00 08 */ stw r3, 8(r1) +/* 8013B534 00138494 38 61 01 90 */ addi r3, r1, 0x190 +/* 8013B538 00138498 38 A1 00 D0 */ addi r5, r1, 0xd0 +/* 8013B53C 0013849C 38 C1 00 C8 */ addi r6, r1, 0xc8 +/* 8013B540 001384A0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013B544 001384A4 38 E1 00 C0 */ addi r7, r1, 0xc0 +/* 8013B548 001384A8 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 8013B54C 001384AC 39 21 00 B0 */ addi r9, r1, 0xb0 +/* 8013B550 001384B0 39 41 00 A8 */ addi r10, r1, 0xa8 +/* 8013B554 001384B4 38 80 00 09 */ li r4, 9 +/* 8013B558 001384B8 4B F4 1D 6D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013B55C 001384BC 80 BF 09 00 */ lwz r5, 0x900(r31) +/* 8013B560 001384C0 7F C3 F3 78 */ mr r3, r30 +/* 8013B564 001384C4 38 81 01 90 */ addi r4, r1, 0x190 +/* 8013B568 001384C8 4B FF ED 95 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 8013B56C 001384CC 34 A1 01 94 */ addic. r5, r1, 0x194 +/* 8013B570 001384D0 41 82 02 AC */ beq lbl_8013B81C +/* 8013B574 001384D4 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013B578 001384D8 38 60 00 00 */ li r3, 0 +/* 8013B57C 001384DC 2C 06 00 00 */ cmpwi r6, 0 +/* 8013B580 001384E0 40 81 00 40 */ ble lbl_8013B5C0 +/* 8013B584 001384E4 2C 06 00 08 */ cmpwi r6, 8 +/* 8013B588 001384E8 38 86 FF F8 */ addi r4, r6, -8 +/* 8013B58C 001384EC 40 81 00 20 */ ble lbl_8013B5AC +/* 8013B590 001384F0 38 04 00 07 */ addi r0, r4, 7 +/* 8013B594 001384F4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013B598 001384F8 7C 09 03 A6 */ mtctr r0 +/* 8013B59C 001384FC 2C 04 00 00 */ cmpwi r4, 0 +/* 8013B5A0 00138500 40 81 00 0C */ ble lbl_8013B5AC +lbl_8013B5A4: +/* 8013B5A4 00138504 38 63 00 08 */ addi r3, r3, 8 +/* 8013B5A8 00138508 42 00 FF FC */ bdnz lbl_8013B5A4 +lbl_8013B5AC: +/* 8013B5AC 0013850C 7C 03 30 50 */ subf r0, r3, r6 +/* 8013B5B0 00138510 7C 09 03 A6 */ mtctr r0 +/* 8013B5B4 00138514 7C 03 30 00 */ cmpw r3, r6 +/* 8013B5B8 00138518 40 80 00 08 */ bge lbl_8013B5C0 +lbl_8013B5BC: +/* 8013B5BC 0013851C 42 00 00 00 */ bdnz lbl_8013B5BC +lbl_8013B5C0: +/* 8013B5C0 00138520 38 00 00 00 */ li r0, 0 +/* 8013B5C4 00138524 90 05 00 00 */ stw r0, 0(r5) +/* 8013B5C8 00138528 48 00 02 54 */ b lbl_8013B81C +lbl_8013B5CC: +/* 8013B5CC 0013852C 90 9D 00 04 */ stw r4, 4(r29) +/* 8013B5D0 00138530 38 61 00 58 */ addi r3, r1, 0x58 +/* 8013B5D4 00138534 48 1A 7A A9 */ bl NoParameter__12CPASAnimParmFv +/* 8013B5D8 00138538 38 61 00 60 */ addi r3, r1, 0x60 +/* 8013B5DC 0013853C 48 1A 7A A1 */ bl NoParameter__12CPASAnimParmFv +/* 8013B5E0 00138540 38 61 00 68 */ addi r3, r1, 0x68 +/* 8013B5E4 00138544 48 1A 7A 99 */ bl NoParameter__12CPASAnimParmFv +/* 8013B5E8 00138548 38 61 00 70 */ addi r3, r1, 0x70 +/* 8013B5EC 0013854C 48 1A 7A 91 */ bl NoParameter__12CPASAnimParmFv +/* 8013B5F0 00138550 38 61 00 78 */ addi r3, r1, 0x78 +/* 8013B5F4 00138554 48 1A 7A 89 */ bl NoParameter__12CPASAnimParmFv +/* 8013B5F8 00138558 38 61 00 80 */ addi r3, r1, 0x80 +/* 8013B5FC 0013855C 48 1A 7A 81 */ bl NoParameter__12CPASAnimParmFv +/* 8013B600 00138560 80 9D 00 08 */ lwz r4, 8(r29) +/* 8013B604 00138564 38 61 00 88 */ addi r3, r1, 0x88 +/* 8013B608 00138568 48 1A 79 7D */ bl FromEnum__12CPASAnimParmFi +/* 8013B60C 0013856C 80 9D 00 04 */ lwz r4, 4(r29) +/* 8013B610 00138570 38 61 00 90 */ addi r3, r1, 0x90 +/* 8013B614 00138574 48 1A 79 71 */ bl FromEnum__12CPASAnimParmFi +/* 8013B618 00138578 38 61 00 60 */ addi r3, r1, 0x60 +/* 8013B61C 0013857C 38 01 00 58 */ addi r0, r1, 0x58 +/* 8013B620 00138580 90 61 00 08 */ stw r3, 8(r1) +/* 8013B624 00138584 38 61 01 48 */ addi r3, r1, 0x148 +/* 8013B628 00138588 38 A1 00 90 */ addi r5, r1, 0x90 +/* 8013B62C 0013858C 38 C1 00 88 */ addi r6, r1, 0x88 +/* 8013B630 00138590 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013B634 00138594 38 E1 00 80 */ addi r7, r1, 0x80 +/* 8013B638 00138598 39 01 00 78 */ addi r8, r1, 0x78 +/* 8013B63C 0013859C 39 21 00 70 */ addi r9, r1, 0x70 +/* 8013B640 001385A0 39 41 00 68 */ addi r10, r1, 0x68 +/* 8013B644 001385A4 38 80 00 09 */ li r4, 9 +/* 8013B648 001385A8 4B F4 1C 7D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013B64C 001385AC 7F C3 F3 78 */ mr r3, r30 +/* 8013B650 001385B0 4B FF EE 05 */ bl GetPASDatabase__15CBodyControllerCFv +/* 8013B654 001385B4 80 DF 09 00 */ lwz r6, 0x900(r31) +/* 8013B658 001385B8 7C 64 1B 78 */ mr r4, r3 +/* 8013B65C 001385BC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8013B660 001385C0 38 A1 01 48 */ addi r5, r1, 0x148 +/* 8013B664 001385C4 38 E0 FF FF */ li r7, -1 +/* 8013B668 001385C8 48 1A 99 F9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 8013B66C 001385CC C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8013B670 001385D0 C0 02 9A 8C */ lfs f0, lbl_805AB7AC@sda21(r2) +/* 8013B674 001385D4 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8013B678 001385D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013B67C 001385DC 40 81 00 54 */ ble lbl_8013B6D0 +/* 8013B680 001385E0 C0 02 9A 90 */ lfs f0, lbl_805AB7B0@sda21(r2) +/* 8013B684 001385E4 38 00 00 00 */ li r0, 0 +/* 8013B688 001385E8 38 C0 FF FF */ li r6, -1 +/* 8013B68C 001385EC 38 E0 00 01 */ li r7, 1 +/* 8013B690 001385F0 90 61 00 D8 */ stw r3, 0xd8(r1) +/* 8013B694 001385F4 7F C3 F3 78 */ mr r3, r30 +/* 8013B698 001385F8 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8013B69C 001385FC 38 A0 00 00 */ li r5, 0 +/* 8013B6A0 00138600 90 C1 00 DC */ stw r6, 0xdc(r1) +/* 8013B6A4 00138604 38 C0 00 00 */ li r6, 0 +/* 8013B6A8 00138608 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 8013B6AC 0013860C 98 E1 00 E4 */ stb r7, 0xe4(r1) +/* 8013B6B0 00138610 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 8013B6B4 00138614 90 01 00 EC */ stw r0, 0xec(r1) +/* 8013B6B8 00138618 98 01 00 F0 */ stb r0, 0xf0(r1) +/* 8013B6BC 0013861C 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8013B6C0 00138620 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 8013B6C4 00138624 90 01 00 FC */ stw r0, 0xfc(r1) +/* 8013B6C8 00138628 4B FF F2 55 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 8013B6CC 0013862C 48 00 00 F4 */ b lbl_8013B7C0 +lbl_8013B6D0: +/* 8013B6D0 00138630 38 00 00 01 */ li r0, 1 +/* 8013B6D4 00138634 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013B6D8 00138638 90 1D 00 04 */ stw r0, 4(r29) +/* 8013B6DC 0013863C 48 1A 79 A1 */ bl NoParameter__12CPASAnimParmFv +/* 8013B6E0 00138640 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013B6E4 00138644 48 1A 79 99 */ bl NoParameter__12CPASAnimParmFv +/* 8013B6E8 00138648 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013B6EC 0013864C 48 1A 79 91 */ bl NoParameter__12CPASAnimParmFv +/* 8013B6F0 00138650 38 61 00 28 */ addi r3, r1, 0x28 +/* 8013B6F4 00138654 48 1A 79 89 */ bl NoParameter__12CPASAnimParmFv +/* 8013B6F8 00138658 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013B6FC 0013865C 48 1A 79 81 */ bl NoParameter__12CPASAnimParmFv +/* 8013B700 00138660 38 61 00 38 */ addi r3, r1, 0x38 +/* 8013B704 00138664 48 1A 79 79 */ bl NoParameter__12CPASAnimParmFv +/* 8013B708 00138668 80 9D 00 08 */ lwz r4, 8(r29) +/* 8013B70C 0013866C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013B710 00138670 48 1A 78 75 */ bl FromEnum__12CPASAnimParmFi +/* 8013B714 00138674 80 9D 00 04 */ lwz r4, 4(r29) +/* 8013B718 00138678 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013B71C 0013867C 48 1A 78 69 */ bl FromEnum__12CPASAnimParmFi +/* 8013B720 00138680 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013B724 00138684 38 01 00 10 */ addi r0, r1, 0x10 +/* 8013B728 00138688 90 61 00 08 */ stw r3, 8(r1) +/* 8013B72C 0013868C 38 61 01 00 */ addi r3, r1, 0x100 +/* 8013B730 00138690 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8013B734 00138694 38 C1 00 40 */ addi r6, r1, 0x40 +/* 8013B738 00138698 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013B73C 0013869C 38 E1 00 38 */ addi r7, r1, 0x38 +/* 8013B740 001386A0 39 01 00 30 */ addi r8, r1, 0x30 +/* 8013B744 001386A4 39 21 00 28 */ addi r9, r1, 0x28 +/* 8013B748 001386A8 39 41 00 20 */ addi r10, r1, 0x20 +/* 8013B74C 001386AC 38 80 00 09 */ li r4, 9 +/* 8013B750 001386B0 4B F4 1B 75 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013B754 001386B4 80 BF 09 00 */ lwz r5, 0x900(r31) +/* 8013B758 001386B8 7F C3 F3 78 */ mr r3, r30 +/* 8013B75C 001386BC 38 81 01 00 */ addi r4, r1, 0x100 +/* 8013B760 001386C0 4B FF EB 9D */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 8013B764 001386C4 34 A1 01 04 */ addic. r5, r1, 0x104 +/* 8013B768 001386C8 41 82 00 58 */ beq lbl_8013B7C0 +/* 8013B76C 001386CC 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013B770 001386D0 38 60 00 00 */ li r3, 0 +/* 8013B774 001386D4 2C 06 00 00 */ cmpwi r6, 0 +/* 8013B778 001386D8 40 81 00 40 */ ble lbl_8013B7B8 +/* 8013B77C 001386DC 2C 06 00 08 */ cmpwi r6, 8 +/* 8013B780 001386E0 38 86 FF F8 */ addi r4, r6, -8 +/* 8013B784 001386E4 40 81 00 20 */ ble lbl_8013B7A4 +/* 8013B788 001386E8 38 04 00 07 */ addi r0, r4, 7 +/* 8013B78C 001386EC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013B790 001386F0 7C 09 03 A6 */ mtctr r0 +/* 8013B794 001386F4 2C 04 00 00 */ cmpwi r4, 0 +/* 8013B798 001386F8 40 81 00 0C */ ble lbl_8013B7A4 +lbl_8013B79C: +/* 8013B79C 001386FC 38 63 00 08 */ addi r3, r3, 8 +/* 8013B7A0 00138700 42 00 FF FC */ bdnz lbl_8013B79C +lbl_8013B7A4: +/* 8013B7A4 00138704 7C 03 30 50 */ subf r0, r3, r6 +/* 8013B7A8 00138708 7C 09 03 A6 */ mtctr r0 +/* 8013B7AC 0013870C 7C 03 30 00 */ cmpw r3, r6 +/* 8013B7B0 00138710 40 80 00 08 */ bge lbl_8013B7B8 +lbl_8013B7B4: +/* 8013B7B4 00138714 42 00 00 00 */ bdnz lbl_8013B7B4 +lbl_8013B7B8: +/* 8013B7B8 00138718 38 00 00 00 */ li r0, 0 +/* 8013B7BC 0013871C 90 05 00 00 */ stw r0, 0(r5) +lbl_8013B7C0: +/* 8013B7C0 00138720 34 A1 01 4C */ addic. r5, r1, 0x14c +/* 8013B7C4 00138724 41 82 00 58 */ beq lbl_8013B81C +/* 8013B7C8 00138728 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013B7CC 0013872C 38 60 00 00 */ li r3, 0 +/* 8013B7D0 00138730 2C 06 00 00 */ cmpwi r6, 0 +/* 8013B7D4 00138734 40 81 00 40 */ ble lbl_8013B814 +/* 8013B7D8 00138738 2C 06 00 08 */ cmpwi r6, 8 +/* 8013B7DC 0013873C 38 86 FF F8 */ addi r4, r6, -8 +/* 8013B7E0 00138740 40 81 00 20 */ ble lbl_8013B800 +/* 8013B7E4 00138744 38 04 00 07 */ addi r0, r4, 7 +/* 8013B7E8 00138748 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013B7EC 0013874C 7C 09 03 A6 */ mtctr r0 +/* 8013B7F0 00138750 2C 04 00 00 */ cmpwi r4, 0 +/* 8013B7F4 00138754 40 81 00 0C */ ble lbl_8013B800 +lbl_8013B7F8: +/* 8013B7F8 00138758 38 63 00 08 */ addi r3, r3, 8 +/* 8013B7FC 0013875C 42 00 FF FC */ bdnz lbl_8013B7F8 +lbl_8013B800: +/* 8013B800 00138760 7C 03 30 50 */ subf r0, r3, r6 +/* 8013B804 00138764 7C 09 03 A6 */ mtctr r0 +/* 8013B808 00138768 7C 03 30 00 */ cmpw r3, r6 +/* 8013B80C 0013876C 40 80 00 08 */ bge lbl_8013B814 +lbl_8013B810: +/* 8013B810 00138770 42 00 00 00 */ bdnz lbl_8013B810 +lbl_8013B814: +/* 8013B814 00138774 38 00 00 00 */ li r0, 0 +/* 8013B818 00138778 90 05 00 00 */ stw r0, 0(r5) +lbl_8013B81C: +/* 8013B81C 0013877C 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 8013B820 00138780 83 E1 01 EC */ lwz r31, 0x1ec(r1) +/* 8013B824 00138784 83 C1 01 E8 */ lwz r30, 0x1e8(r1) +/* 8013B828 00138788 83 A1 01 E4 */ lwz r29, 0x1e4(r1) +/* 8013B82C 0013878C 7C 08 03 A6 */ mtlr r0 +/* 8013B830 00138790 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 8013B834 00138794 4E 80 00 20 */ blr + +.global __ct__13CBSLoopAttackFv +__ct__13CBSLoopAttackFv: +/* 8013B838 00138798 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 8013B83C 0013879C 3C 80 80 3E */ lis r4, lbl_803E17C8@ha +/* 8013B840 001387A0 38 C5 13 18 */ addi r6, r5, lbl_803E1318@l +/* 8013B844 001387A4 38 00 FF FF */ li r0, -1 +/* 8013B848 001387A8 90 C3 00 00 */ stw r6, 0(r3) +/* 8013B84C 001387AC 38 A4 17 C8 */ addi r5, r4, lbl_803E17C8@l +/* 8013B850 001387B0 38 80 00 00 */ li r4, 0 +/* 8013B854 001387B4 90 A3 00 00 */ stw r5, 0(r3) +/* 8013B858 001387B8 90 03 00 04 */ stw r0, 4(r3) +/* 8013B85C 001387BC 90 03 00 08 */ stw r0, 8(r3) +/* 8013B860 001387C0 88 03 00 0C */ lbz r0, 0xc(r3) +/* 8013B864 001387C4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8013B868 001387C8 98 03 00 0C */ stb r0, 0xc(r3) +/* 8013B86C 001387CC 88 03 00 0C */ lbz r0, 0xc(r3) +/* 8013B870 001387D0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8013B874 001387D4 98 03 00 0C */ stb r0, 0xc(r3) +/* 8013B878 001387D8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSLoopReaction.s b/asm/Kyoto_CWD/BodyState/CBSLoopReaction.s new file mode 100644 index 00000000..dba4aab4 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSLoopReaction.s @@ -0,0 +1,728 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__15CBSLoopReactionFv +__dt__15CBSLoopReactionFv: +/* 8013C048 00138FA8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013C04C 00138FAC 7C 08 02 A6 */ mflr r0 +/* 8013C050 00138FB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013C054 00138FB4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013C058 00138FB8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8013C05C 00138FBC 41 82 00 30 */ beq lbl_8013C08C +/* 8013C060 00138FC0 3C 60 80 3E */ lis r3, lbl_803E1878@ha +/* 8013C064 00138FC4 38 03 18 78 */ addi r0, r3, lbl_803E1878@l +/* 8013C068 00138FC8 90 1F 00 00 */ stw r0, 0(r31) +/* 8013C06C 00138FCC 41 82 00 10 */ beq lbl_8013C07C +/* 8013C070 00138FD0 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 8013C074 00138FD4 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 8013C078 00138FD8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013C07C: +/* 8013C07C 00138FDC 7C 80 07 35 */ extsh. r0, r4 +/* 8013C080 00138FE0 40 81 00 0C */ ble lbl_8013C08C +/* 8013C084 00138FE4 7F E3 FB 78 */ mr r3, r31 +/* 8013C088 00138FE8 48 1D 98 A9 */ bl Free__7CMemoryFPCv +lbl_8013C08C: +/* 8013C08C 00138FEC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013C090 00138FF0 7F E3 FB 78 */ mr r3, r31 +/* 8013C094 00138FF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013C098 00138FF8 7C 08 03 A6 */ mtlr r0 +/* 8013C09C 00138FFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013C0A0 00139000 4E 80 00 20 */ blr + +.global GetBodyStateTransition__15CBSLoopReactionFfR15CBodyController +GetBodyStateTransition__15CBSLoopReactionFfR15CBodyController: +/* 8013C0A4 00139004 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013C0A8 00139008 7C 08 02 A6 */ mflr r0 +/* 8013C0AC 0013900C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013C0B0 00139010 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013C0B4 00139014 3B E4 00 04 */ addi r31, r4, 4 +/* 8013C0B8 00139018 38 80 00 0F */ li r4, 0xf +/* 8013C0BC 0013901C 93 C1 00 08 */ stw r30, 8(r1) +/* 8013C0C0 00139020 7C 7E 1B 78 */ mr r30, r3 +/* 8013C0C4 00139024 7F E3 FB 78 */ mr r3, r31 +/* 8013C0C8 00139028 4B FF 53 89 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C0CC 0013902C 28 03 00 00 */ cmplwi r3, 0 +/* 8013C0D0 00139030 41 82 00 0C */ beq lbl_8013C0DC +/* 8013C0D4 00139034 38 60 00 0E */ li r3, 0xe +/* 8013C0D8 00139038 48 00 01 64 */ b lbl_8013C23C +lbl_8013C0DC: +/* 8013C0DC 0013903C 7F E3 FB 78 */ mr r3, r31 +/* 8013C0E0 00139040 38 80 00 03 */ li r4, 3 +/* 8013C0E4 00139044 4B FF 53 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C0E8 00139048 28 03 00 00 */ cmplwi r3, 0 +/* 8013C0EC 0013904C 41 82 00 0C */ beq lbl_8013C0F8 +/* 8013C0F0 00139050 38 60 00 00 */ li r3, 0 +/* 8013C0F4 00139054 48 00 01 48 */ b lbl_8013C23C +lbl_8013C0F8: +/* 8013C0F8 00139058 7F E3 FB 78 */ mr r3, r31 +/* 8013C0FC 0013905C 38 80 00 04 */ li r4, 4 +/* 8013C100 00139060 4B FF 53 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C104 00139064 28 03 00 00 */ cmplwi r3, 0 +/* 8013C108 00139068 41 82 00 0C */ beq lbl_8013C114 +/* 8013C10C 0013906C 38 60 00 06 */ li r3, 6 +/* 8013C110 00139070 48 00 01 2C */ b lbl_8013C23C +lbl_8013C114: +/* 8013C114 00139074 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 8013C118 00139078 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013C11C 0013907C 40 82 00 20 */ bne lbl_8013C13C +/* 8013C120 00139080 7F E3 FB 78 */ mr r3, r31 +/* 8013C124 00139084 38 80 00 16 */ li r4, 0x16 +/* 8013C128 00139088 4B FF 53 29 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C12C 0013908C 28 03 00 00 */ cmplwi r3, 0 +/* 8013C130 00139090 41 82 00 0C */ beq lbl_8013C13C +/* 8013C134 00139094 38 60 00 05 */ li r3, 5 +/* 8013C138 00139098 48 00 01 04 */ b lbl_8013C23C +lbl_8013C13C: +/* 8013C13C 0013909C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8013C140 001390A0 2C 00 00 02 */ cmpwi r0, 2 +/* 8013C144 001390A4 40 82 00 F4 */ bne lbl_8013C238 +/* 8013C148 001390A8 7F E3 FB 78 */ mr r3, r31 +/* 8013C14C 001390AC 38 80 00 05 */ li r4, 5 +/* 8013C150 001390B0 4B FF 53 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C154 001390B4 28 03 00 00 */ cmplwi r3, 0 +/* 8013C158 001390B8 41 82 00 0C */ beq lbl_8013C164 +/* 8013C15C 001390BC 38 60 00 07 */ li r3, 7 +/* 8013C160 001390C0 48 00 00 DC */ b lbl_8013C23C +lbl_8013C164: +/* 8013C164 001390C4 7F E3 FB 78 */ mr r3, r31 +/* 8013C168 001390C8 38 80 00 06 */ li r4, 6 +/* 8013C16C 001390CC 4B FF 52 E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C170 001390D0 28 03 00 00 */ cmplwi r3, 0 +/* 8013C174 001390D4 41 82 00 0C */ beq lbl_8013C180 +/* 8013C178 001390D8 38 60 00 12 */ li r3, 0x12 +/* 8013C17C 001390DC 48 00 00 C0 */ b lbl_8013C23C +lbl_8013C180: +/* 8013C180 001390E0 7F E3 FB 78 */ mr r3, r31 +/* 8013C184 001390E4 38 80 00 07 */ li r4, 7 +/* 8013C188 001390E8 4B FF 52 C9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C18C 001390EC 28 03 00 00 */ cmplwi r3, 0 +/* 8013C190 001390F0 41 82 00 0C */ beq lbl_8013C19C +/* 8013C194 001390F4 38 60 00 09 */ li r3, 9 +/* 8013C198 001390F8 48 00 00 A4 */ b lbl_8013C23C +lbl_8013C19C: +/* 8013C19C 001390FC 7F E3 FB 78 */ mr r3, r31 +/* 8013C1A0 00139100 38 80 00 01 */ li r4, 1 +/* 8013C1A4 00139104 4B FF 52 AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C1A8 00139108 28 03 00 00 */ cmplwi r3, 0 +/* 8013C1AC 0013910C 41 82 00 0C */ beq lbl_8013C1B8 +/* 8013C1B0 00139110 38 60 00 03 */ li r3, 3 +/* 8013C1B4 00139114 48 00 00 88 */ b lbl_8013C23C +lbl_8013C1B8: +/* 8013C1B8 00139118 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2) +/* 8013C1BC 0013911C 38 00 00 00 */ li r0, 0 +/* 8013C1C0 00139120 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8013C1C4 00139124 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C1C8 00139128 40 82 00 1C */ bne lbl_8013C1E4 +/* 8013C1CC 0013912C C0 1F 00 04 */ lfs f0, 4(r31) +/* 8013C1D0 00139130 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C1D4 00139134 40 82 00 10 */ bne lbl_8013C1E4 +/* 8013C1D8 00139138 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8013C1DC 0013913C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C1E0 00139140 41 82 00 08 */ beq lbl_8013C1E8 +lbl_8013C1E4: +/* 8013C1E4 00139144 38 00 00 01 */ li r0, 1 +lbl_8013C1E8: +/* 8013C1E8 00139148 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8013C1EC 0013914C 41 82 00 0C */ beq lbl_8013C1F8 +/* 8013C1F0 00139150 38 60 00 05 */ li r3, 5 +/* 8013C1F4 00139154 48 00 00 48 */ b lbl_8013C23C +lbl_8013C1F8: +/* 8013C1F8 00139158 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2) +/* 8013C1FC 0013915C 38 00 00 00 */ li r0, 0 +/* 8013C200 00139160 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8013C204 00139164 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C208 00139168 40 82 00 1C */ bne lbl_8013C224 +/* 8013C20C 0013916C C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8013C210 00139170 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C214 00139174 40 82 00 10 */ bne lbl_8013C224 +/* 8013C218 00139178 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8013C21C 0013917C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C220 00139180 41 82 00 08 */ beq lbl_8013C228 +lbl_8013C224: +/* 8013C224 00139184 38 00 00 01 */ li r0, 1 +lbl_8013C228: +/* 8013C228 00139188 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8013C22C 0013918C 41 82 00 0C */ beq lbl_8013C238 +/* 8013C230 00139190 38 60 00 08 */ li r3, 8 +/* 8013C234 00139194 48 00 00 08 */ b lbl_8013C23C +lbl_8013C238: +/* 8013C238 00139198 38 60 FF FF */ li r3, -1 +lbl_8013C23C: +/* 8013C23C 0013919C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013C240 001391A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013C244 001391A4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8013C248 001391A8 7C 08 03 A6 */ mtlr r0 +/* 8013C24C 001391AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013C250 001391B0 4E 80 00 20 */ blr + +.global PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager +PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager: +/* 8013C254 001391B4 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8013C258 001391B8 7C 08 02 A6 */ mflr r0 +/* 8013C25C 001391BC 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8013C260 001391C0 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 8013C264 001391C4 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 8013C268 001391C8 7C BE 2B 78 */ mr r30, r5 +/* 8013C26C 001391CC 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 8013C270 001391D0 7C 9D 23 78 */ mr r29, r4 +/* 8013C274 001391D4 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 8013C278 001391D8 7C 7C 1B 78 */ mr r28, r3 +/* 8013C27C 001391DC 7F A3 EB 78 */ mr r3, r29 +/* 8013C280 001391E0 4B FF E1 D5 */ bl GetPASDatabase__15CBodyControllerCFv +/* 8013C284 001391E4 7C 60 1B 78 */ mr r0, r3 +/* 8013C288 001391E8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013C28C 001391EC 7C 1F 03 78 */ mr r31, r0 +/* 8013C290 001391F0 48 1A 6D ED */ bl NoParameter__12CPASAnimParmFv +/* 8013C294 001391F4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013C298 001391F8 48 1A 6D E5 */ bl NoParameter__12CPASAnimParmFv +/* 8013C29C 001391FC 38 61 00 28 */ addi r3, r1, 0x28 +/* 8013C2A0 00139200 48 1A 6D DD */ bl NoParameter__12CPASAnimParmFv +/* 8013C2A4 00139204 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013C2A8 00139208 48 1A 6D D5 */ bl NoParameter__12CPASAnimParmFv +/* 8013C2AC 0013920C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8013C2B0 00139210 48 1A 6D CD */ bl NoParameter__12CPASAnimParmFv +/* 8013C2B4 00139214 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013C2B8 00139218 48 1A 6D C5 */ bl NoParameter__12CPASAnimParmFv +/* 8013C2BC 0013921C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013C2C0 00139220 38 80 00 02 */ li r4, 2 +/* 8013C2C4 00139224 48 1A 6C C1 */ bl FromEnum__12CPASAnimParmFi +/* 8013C2C8 00139228 80 9C 00 08 */ lwz r4, 8(r28) +/* 8013C2CC 0013922C 38 61 00 50 */ addi r3, r1, 0x50 +/* 8013C2D0 00139230 48 1A 6C B5 */ bl FromEnum__12CPASAnimParmFi +/* 8013C2D4 00139234 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013C2D8 00139238 38 01 00 18 */ addi r0, r1, 0x18 +/* 8013C2DC 0013923C 90 61 00 08 */ stw r3, 8(r1) +/* 8013C2E0 00139240 38 61 00 80 */ addi r3, r1, 0x80 +/* 8013C2E4 00139244 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8013C2E8 00139248 38 C1 00 48 */ addi r6, r1, 0x48 +/* 8013C2EC 0013924C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013C2F0 00139250 38 E1 00 40 */ addi r7, r1, 0x40 +/* 8013C2F4 00139254 39 01 00 38 */ addi r8, r1, 0x38 +/* 8013C2F8 00139258 39 21 00 30 */ addi r9, r1, 0x30 +/* 8013C2FC 0013925C 39 41 00 28 */ addi r10, r1, 0x28 +/* 8013C300 00139260 38 80 00 0A */ li r4, 0xa +/* 8013C304 00139264 4B F4 0F C1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013C308 00139268 80 DE 09 00 */ lwz r6, 0x900(r30) +/* 8013C30C 0013926C 7F E4 FB 78 */ mr r4, r31 +/* 8013C310 00139270 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013C314 00139274 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8013C318 00139278 38 E0 FF FF */ li r7, -1 +/* 8013C31C 0013927C 48 1A 8D 45 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 8013C320 00139280 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8013C324 00139284 C0 02 9A A8 */ lfs f0, lbl_805AB7C8@sda21(r2) +/* 8013C328 00139288 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8013C32C 0013928C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013C330 00139290 40 81 00 B4 */ ble lbl_8013C3E4 +/* 8013C334 00139294 C0 02 9A AC */ lfs f0, lbl_805AB7CC@sda21(r2) +/* 8013C338 00139298 38 00 00 00 */ li r0, 0 +/* 8013C33C 0013929C 38 C0 FF FF */ li r6, -1 +/* 8013C340 001392A0 38 E0 00 01 */ li r7, 1 +/* 8013C344 001392A4 90 61 00 58 */ stw r3, 0x58(r1) +/* 8013C348 001392A8 7F A3 EB 78 */ mr r3, r29 +/* 8013C34C 001392AC 38 81 00 58 */ addi r4, r1, 0x58 +/* 8013C350 001392B0 38 A0 00 00 */ li r5, 0 +/* 8013C354 001392B4 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 8013C358 001392B8 38 C0 00 00 */ li r6, 0 +/* 8013C35C 001392BC D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8013C360 001392C0 98 E1 00 64 */ stb r7, 0x64(r1) +/* 8013C364 001392C4 90 01 00 68 */ stw r0, 0x68(r1) +/* 8013C368 001392C8 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8013C36C 001392CC 98 01 00 70 */ stb r0, 0x70(r1) +/* 8013C370 001392D0 90 01 00 74 */ stw r0, 0x74(r1) +/* 8013C374 001392D4 90 01 00 78 */ stw r0, 0x78(r1) +/* 8013C378 001392D8 90 01 00 7C */ stw r0, 0x7c(r1) +/* 8013C37C 001392DC 4B FF E5 A1 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 8013C380 001392E0 34 A1 00 84 */ addic. r5, r1, 0x84 +/* 8013C384 001392E4 41 82 00 58 */ beq lbl_8013C3DC +/* 8013C388 001392E8 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013C38C 001392EC 38 60 00 00 */ li r3, 0 +/* 8013C390 001392F0 2C 06 00 00 */ cmpwi r6, 0 +/* 8013C394 001392F4 40 81 00 40 */ ble lbl_8013C3D4 +/* 8013C398 001392F8 2C 06 00 08 */ cmpwi r6, 8 +/* 8013C39C 001392FC 38 86 FF F8 */ addi r4, r6, -8 +/* 8013C3A0 00139300 40 81 00 20 */ ble lbl_8013C3C0 +/* 8013C3A4 00139304 38 04 00 07 */ addi r0, r4, 7 +/* 8013C3A8 00139308 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013C3AC 0013930C 7C 09 03 A6 */ mtctr r0 +/* 8013C3B0 00139310 2C 04 00 00 */ cmpwi r4, 0 +/* 8013C3B4 00139314 40 81 00 0C */ ble lbl_8013C3C0 +lbl_8013C3B8: +/* 8013C3B8 00139318 38 63 00 08 */ addi r3, r3, 8 +/* 8013C3BC 0013931C 42 00 FF FC */ bdnz lbl_8013C3B8 +lbl_8013C3C0: +/* 8013C3C0 00139320 7C 03 30 50 */ subf r0, r3, r6 +/* 8013C3C4 00139324 7C 09 03 A6 */ mtctr r0 +/* 8013C3C8 00139328 7C 03 30 00 */ cmpw r3, r6 +/* 8013C3CC 0013932C 40 80 00 08 */ bge lbl_8013C3D4 +lbl_8013C3D0: +/* 8013C3D0 00139330 42 00 00 00 */ bdnz lbl_8013C3D0 +lbl_8013C3D4: +/* 8013C3D4 00139334 38 00 00 00 */ li r0, 0 +/* 8013C3D8 00139338 90 05 00 00 */ stw r0, 0(r5) +lbl_8013C3DC: +/* 8013C3DC 0013933C 38 60 00 01 */ li r3, 1 +/* 8013C3E0 00139340 48 00 00 64 */ b lbl_8013C444 +lbl_8013C3E4: +/* 8013C3E4 00139344 34 A1 00 84 */ addic. r5, r1, 0x84 +/* 8013C3E8 00139348 41 82 00 58 */ beq lbl_8013C440 +/* 8013C3EC 0013934C 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013C3F0 00139350 38 60 00 00 */ li r3, 0 +/* 8013C3F4 00139354 2C 06 00 00 */ cmpwi r6, 0 +/* 8013C3F8 00139358 40 81 00 40 */ ble lbl_8013C438 +/* 8013C3FC 0013935C 2C 06 00 08 */ cmpwi r6, 8 +/* 8013C400 00139360 38 86 FF F8 */ addi r4, r6, -8 +/* 8013C404 00139364 40 81 00 20 */ ble lbl_8013C424 +/* 8013C408 00139368 38 04 00 07 */ addi r0, r4, 7 +/* 8013C40C 0013936C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013C410 00139370 7C 09 03 A6 */ mtctr r0 +/* 8013C414 00139374 2C 04 00 00 */ cmpwi r4, 0 +/* 8013C418 00139378 40 81 00 0C */ ble lbl_8013C424 +lbl_8013C41C: +/* 8013C41C 0013937C 38 63 00 08 */ addi r3, r3, 8 +/* 8013C420 00139380 42 00 FF FC */ bdnz lbl_8013C41C +lbl_8013C424: +/* 8013C424 00139384 7C 03 30 50 */ subf r0, r3, r6 +/* 8013C428 00139388 7C 09 03 A6 */ mtctr r0 +/* 8013C42C 0013938C 7C 03 30 00 */ cmpw r3, r6 +/* 8013C430 00139390 40 80 00 08 */ bge lbl_8013C438 +lbl_8013C434: +/* 8013C434 00139394 42 00 00 00 */ bdnz lbl_8013C434 +lbl_8013C438: +/* 8013C438 00139398 38 00 00 00 */ li r0, 0 +/* 8013C43C 0013939C 90 05 00 00 */ stw r0, 0(r5) +lbl_8013C440: +/* 8013C440 001393A0 38 60 00 00 */ li r3, 0 +lbl_8013C444: +/* 8013C444 001393A4 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8013C448 001393A8 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8013C44C 001393AC 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 8013C450 001393B0 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 8013C454 001393B4 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 8013C458 001393B8 7C 08 03 A6 */ mtlr r0 +/* 8013C45C 001393BC 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8013C460 001393C0 4E 80 00 20 */ blr + +.global Shutdown__15CBSLoopReactionFR15CBodyController +Shutdown__15CBSLoopReactionFR15CBodyController: +/* 8013C464 001393C4 4E 80 00 20 */ blr + +.global UpdateBody__15CBSLoopReactionFfR15CBodyControllerR13CStateManager +UpdateBody__15CBSLoopReactionFfR15CBodyControllerR13CStateManager: +/* 8013C468 001393C8 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8013C46C 001393CC 7C 08 02 A6 */ mflr r0 +/* 8013C470 001393D0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8013C474 001393D4 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8013C478 001393D8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8013C47C 001393DC BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 8013C480 001393E0 FF E0 08 90 */ fmr f31, f1 +/* 8013C484 001393E4 7C 7E 1B 78 */ mr r30, r3 +/* 8013C488 001393E8 7C 9B 23 78 */ mr r27, r4 +/* 8013C48C 001393EC 7C BC 2B 78 */ mr r28, r5 +/* 8013C490 001393F0 4B FF FC 15 */ bl GetBodyStateTransition__15CBSLoopReactionFfR15CBodyController +/* 8013C494 001393F4 7C 7F 1B 78 */ mr r31, r3 +/* 8013C498 001393F8 2C 1F FF FF */ cmpwi r31, -1 +/* 8013C49C 001393FC 40 82 02 70 */ bne lbl_8013C70C +/* 8013C4A0 00139400 80 1E 00 04 */ lwz r0, 4(r30) +/* 8013C4A4 00139404 3B BB 00 04 */ addi r29, r27, 4 +/* 8013C4A8 00139408 2C 00 00 01 */ cmpwi r0, 1 +/* 8013C4AC 0013940C 41 82 01 B4 */ beq lbl_8013C660 +/* 8013C4B0 00139410 40 80 00 10 */ bge lbl_8013C4C0 +/* 8013C4B4 00139414 2C 00 00 00 */ cmpwi r0, 0 +/* 8013C4B8 00139418 40 80 00 14 */ bge lbl_8013C4CC +/* 8013C4BC 0013941C 48 00 02 50 */ b lbl_8013C70C +lbl_8013C4C0: +/* 8013C4C0 00139420 2C 00 00 03 */ cmpwi r0, 3 +/* 8013C4C4 00139424 40 80 02 48 */ bge lbl_8013C70C +/* 8013C4C8 00139428 48 00 02 2C */ b lbl_8013C6F4 +lbl_8013C4CC: +/* 8013C4CC 0013942C 7F A3 EB 78 */ mr r3, r29 +/* 8013C4D0 00139430 38 80 00 0A */ li r4, 0xa +/* 8013C4D4 00139434 4B FF 4F 7D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C4D8 00139438 28 03 00 00 */ cmplwi r3, 0 +/* 8013C4DC 0013943C 41 82 00 38 */ beq lbl_8013C514 +/* 8013C4E0 00139440 7F C3 F3 78 */ mr r3, r30 +/* 8013C4E4 00139444 7F 64 DB 78 */ mr r4, r27 +/* 8013C4E8 00139448 7F 85 E3 78 */ mr r5, r28 +/* 8013C4EC 0013944C 4B FF FD 69 */ bl PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager +/* 8013C4F0 00139450 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013C4F4 00139454 41 82 00 10 */ beq lbl_8013C504 +/* 8013C4F8 00139458 38 00 00 02 */ li r0, 2 +/* 8013C4FC 0013945C 90 1E 00 04 */ stw r0, 4(r30) +/* 8013C500 00139460 48 00 02 0C */ b lbl_8013C70C +lbl_8013C504: +/* 8013C504 00139464 38 00 FF FF */ li r0, -1 +/* 8013C508 00139468 3B E0 00 05 */ li r31, 5 +/* 8013C50C 0013946C 90 1E 00 04 */ stw r0, 4(r30) +/* 8013C510 00139470 48 00 01 FC */ b lbl_8013C70C +lbl_8013C514: +/* 8013C514 00139474 88 1B 03 00 */ lbz r0, 0x300(r27) +/* 8013C518 00139478 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013C51C 0013947C 41 82 00 F8 */ beq lbl_8013C614 +/* 8013C520 00139480 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013C524 00139484 48 1A 6B 59 */ bl NoParameter__12CPASAnimParmFv +/* 8013C528 00139488 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013C52C 0013948C 48 1A 6B 51 */ bl NoParameter__12CPASAnimParmFv +/* 8013C530 00139490 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013C534 00139494 48 1A 6B 49 */ bl NoParameter__12CPASAnimParmFv +/* 8013C538 00139498 38 61 00 28 */ addi r3, r1, 0x28 +/* 8013C53C 0013949C 48 1A 6B 41 */ bl NoParameter__12CPASAnimParmFv +/* 8013C540 001394A0 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013C544 001394A4 48 1A 6B 39 */ bl NoParameter__12CPASAnimParmFv +/* 8013C548 001394A8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8013C54C 001394AC 48 1A 6B 31 */ bl NoParameter__12CPASAnimParmFv +/* 8013C550 001394B0 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013C554 001394B4 38 80 00 01 */ li r4, 1 +/* 8013C558 001394B8 48 1A 6A 2D */ bl FromEnum__12CPASAnimParmFi +/* 8013C55C 001394BC 80 9E 00 08 */ lwz r4, 8(r30) +/* 8013C560 001394C0 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013C564 001394C4 48 1A 6A 21 */ bl FromEnum__12CPASAnimParmFi +/* 8013C568 001394C8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013C56C 001394CC 38 01 00 10 */ addi r0, r1, 0x10 +/* 8013C570 001394D0 90 61 00 08 */ stw r3, 8(r1) +/* 8013C574 001394D4 38 61 00 50 */ addi r3, r1, 0x50 +/* 8013C578 001394D8 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8013C57C 001394DC 38 C1 00 40 */ addi r6, r1, 0x40 +/* 8013C580 001394E0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013C584 001394E4 38 E1 00 38 */ addi r7, r1, 0x38 +/* 8013C588 001394E8 39 01 00 30 */ addi r8, r1, 0x30 +/* 8013C58C 001394EC 39 21 00 28 */ addi r9, r1, 0x28 +/* 8013C590 001394F0 39 41 00 20 */ addi r10, r1, 0x20 +/* 8013C594 001394F4 38 80 00 0A */ li r4, 0xa +/* 8013C598 001394F8 4B F4 0D 2D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013C59C 001394FC 80 BC 09 00 */ lwz r5, 0x900(r28) +/* 8013C5A0 00139500 7F 63 DB 78 */ mr r3, r27 +/* 8013C5A4 00139504 38 81 00 50 */ addi r4, r1, 0x50 +/* 8013C5A8 00139508 4B FF DD 55 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 8013C5AC 0013950C 38 00 00 01 */ li r0, 1 +/* 8013C5B0 00139510 34 A1 00 54 */ addic. r5, r1, 0x54 +/* 8013C5B4 00139514 90 1E 00 04 */ stw r0, 4(r30) +/* 8013C5B8 00139518 41 82 01 54 */ beq lbl_8013C70C +/* 8013C5BC 0013951C 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013C5C0 00139520 38 60 00 00 */ li r3, 0 +/* 8013C5C4 00139524 2C 06 00 00 */ cmpwi r6, 0 +/* 8013C5C8 00139528 40 81 00 40 */ ble lbl_8013C608 +/* 8013C5CC 0013952C 2C 06 00 08 */ cmpwi r6, 8 +/* 8013C5D0 00139530 38 86 FF F8 */ addi r4, r6, -8 +/* 8013C5D4 00139534 40 81 00 20 */ ble lbl_8013C5F4 +/* 8013C5D8 00139538 38 04 00 07 */ addi r0, r4, 7 +/* 8013C5DC 0013953C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013C5E0 00139540 7C 09 03 A6 */ mtctr r0 +/* 8013C5E4 00139544 2C 04 00 00 */ cmpwi r4, 0 +/* 8013C5E8 00139548 40 81 00 0C */ ble lbl_8013C5F4 +lbl_8013C5EC: +/* 8013C5EC 0013954C 38 63 00 08 */ addi r3, r3, 8 +/* 8013C5F0 00139550 42 00 FF FC */ bdnz lbl_8013C5EC +lbl_8013C5F4: +/* 8013C5F4 00139554 7C 03 30 50 */ subf r0, r3, r6 +/* 8013C5F8 00139558 7C 09 03 A6 */ mtctr r0 +/* 8013C5FC 0013955C 7C 03 30 00 */ cmpw r3, r6 +/* 8013C600 00139560 40 80 00 08 */ bge lbl_8013C608 +lbl_8013C604: +/* 8013C604 00139564 42 00 00 00 */ bdnz lbl_8013C604 +lbl_8013C608: +/* 8013C608 00139568 38 00 00 00 */ li r0, 0 +/* 8013C60C 0013956C 90 05 00 00 */ stw r0, 0(r5) +/* 8013C610 00139570 48 00 00 FC */ b lbl_8013C70C +lbl_8013C614: +/* 8013C614 00139574 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2) +/* 8013C618 00139578 38 00 00 00 */ li r0, 0 +/* 8013C61C 0013957C C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 8013C620 00139580 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C624 00139584 40 82 00 1C */ bne lbl_8013C640 +/* 8013C628 00139588 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 8013C62C 0013958C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C630 00139590 40 82 00 10 */ bne lbl_8013C640 +/* 8013C634 00139594 C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 8013C638 00139598 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C63C 0013959C 41 82 00 08 */ beq lbl_8013C644 +lbl_8013C640: +/* 8013C640 001395A0 38 00 00 01 */ li r0, 1 +lbl_8013C644: +/* 8013C644 001395A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8013C648 001395A8 41 82 00 C4 */ beq lbl_8013C70C +/* 8013C64C 001395AC FC 20 F8 90 */ fmr f1, f31 +/* 8013C650 001395B0 7F 63 DB 78 */ mr r3, r27 +/* 8013C654 001395B4 38 9D 00 18 */ addi r4, r29, 0x18 +/* 8013C658 001395B8 4B FF E0 4D */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 8013C65C 001395BC 48 00 00 B0 */ b lbl_8013C70C +lbl_8013C660: +/* 8013C660 001395C0 7F A3 EB 78 */ mr r3, r29 +/* 8013C664 001395C4 38 80 00 0A */ li r4, 0xa +/* 8013C668 001395C8 4B FF 4D E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C66C 001395CC 28 03 00 00 */ cmplwi r3, 0 +/* 8013C670 001395D0 41 82 00 38 */ beq lbl_8013C6A8 +/* 8013C674 001395D4 7F C3 F3 78 */ mr r3, r30 +/* 8013C678 001395D8 7F 64 DB 78 */ mr r4, r27 +/* 8013C67C 001395DC 7F 85 E3 78 */ mr r5, r28 +/* 8013C680 001395E0 4B FF FB D5 */ bl PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager +/* 8013C684 001395E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013C688 001395E8 41 82 00 10 */ beq lbl_8013C698 +/* 8013C68C 001395EC 38 00 00 02 */ li r0, 2 +/* 8013C690 001395F0 90 1E 00 04 */ stw r0, 4(r30) +/* 8013C694 001395F4 48 00 00 78 */ b lbl_8013C70C +lbl_8013C698: +/* 8013C698 001395F8 38 00 FF FF */ li r0, -1 +/* 8013C69C 001395FC 3B E0 00 05 */ li r31, 5 +/* 8013C6A0 00139600 90 1E 00 04 */ stw r0, 4(r30) +/* 8013C6A4 00139604 48 00 00 68 */ b lbl_8013C70C +lbl_8013C6A8: +/* 8013C6A8 00139608 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2) +/* 8013C6AC 0013960C 38 00 00 00 */ li r0, 0 +/* 8013C6B0 00139610 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 8013C6B4 00139614 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C6B8 00139618 40 82 00 1C */ bne lbl_8013C6D4 +/* 8013C6BC 0013961C C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 8013C6C0 00139620 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C6C4 00139624 40 82 00 10 */ bne lbl_8013C6D4 +/* 8013C6C8 00139628 C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 8013C6CC 0013962C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013C6D0 00139630 41 82 00 08 */ beq lbl_8013C6D8 +lbl_8013C6D4: +/* 8013C6D4 00139634 38 00 00 01 */ li r0, 1 +lbl_8013C6D8: +/* 8013C6D8 00139638 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8013C6DC 0013963C 41 82 00 30 */ beq lbl_8013C70C +/* 8013C6E0 00139640 FC 20 F8 90 */ fmr f1, f31 +/* 8013C6E4 00139644 7F 63 DB 78 */ mr r3, r27 +/* 8013C6E8 00139648 38 9D 00 18 */ addi r4, r29, 0x18 +/* 8013C6EC 0013964C 4B FF DF B9 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +/* 8013C6F0 00139650 48 00 00 1C */ b lbl_8013C70C +lbl_8013C6F4: +/* 8013C6F4 00139654 88 1B 03 00 */ lbz r0, 0x300(r27) +/* 8013C6F8 00139658 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013C6FC 0013965C 41 82 00 10 */ beq lbl_8013C70C +/* 8013C700 00139660 38 00 FF FF */ li r0, -1 +/* 8013C704 00139664 3B E0 00 05 */ li r31, 5 +/* 8013C708 00139668 90 1E 00 04 */ stw r0, 4(r30) +lbl_8013C70C: +/* 8013C70C 0013966C 7F E3 FB 78 */ mr r3, r31 +/* 8013C710 00139670 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8013C714 00139674 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8013C718 00139678 BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 8013C71C 0013967C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8013C720 00139680 7C 08 03 A6 */ mtlr r0 +/* 8013C724 00139684 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8013C728 00139688 4E 80 00 20 */ blr + +.global Start__15CBSLoopReactionFR15CBodyControllerR13CStateManager +Start__15CBSLoopReactionFR15CBodyControllerR13CStateManager: +/* 8013C72C 0013968C 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 8013C730 00139690 7C 08 02 A6 */ mflr r0 +/* 8013C734 00139694 90 01 01 64 */ stw r0, 0x164(r1) +/* 8013C738 00139698 93 E1 01 5C */ stw r31, 0x15c(r1) +/* 8013C73C 0013969C 7C BF 2B 78 */ mr r31, r5 +/* 8013C740 001396A0 93 C1 01 58 */ stw r30, 0x158(r1) +/* 8013C744 001396A4 7C 9E 23 78 */ mr r30, r4 +/* 8013C748 001396A8 38 80 00 08 */ li r4, 8 +/* 8013C74C 001396AC 93 A1 01 54 */ stw r29, 0x154(r1) +/* 8013C750 001396B0 3B BE 00 04 */ addi r29, r30, 4 +/* 8013C754 001396B4 93 81 01 50 */ stw r28, 0x150(r1) +/* 8013C758 001396B8 7C 7C 1B 78 */ mr r28, r3 +/* 8013C75C 001396BC 7F A3 EB 78 */ mr r3, r29 +/* 8013C760 001396C0 4B FF 4C F1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C764 001396C4 28 03 00 00 */ cmplwi r3, 0 +/* 8013C768 001396C8 41 82 00 20 */ beq lbl_8013C788 +/* 8013C76C 001396CC 80 03 00 08 */ lwz r0, 8(r3) +/* 8013C770 001396D0 38 60 00 00 */ li r3, 0 +/* 8013C774 001396D4 90 1C 00 08 */ stw r0, 8(r28) +/* 8013C778 001396D8 88 1C 00 0C */ lbz r0, 0xc(r28) +/* 8013C77C 001396DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8013C780 001396E0 98 1C 00 0C */ stb r0, 0xc(r28) +/* 8013C784 001396E4 48 00 00 28 */ b lbl_8013C7AC +lbl_8013C788: +/* 8013C788 001396E8 7F A3 EB 78 */ mr r3, r29 +/* 8013C78C 001396EC 38 80 00 09 */ li r4, 9 +/* 8013C790 001396F0 4B FF 4C C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013C794 001396F4 80 03 00 08 */ lwz r0, 8(r3) +/* 8013C798 001396F8 38 60 00 01 */ li r3, 1 +/* 8013C79C 001396FC 90 1C 00 08 */ stw r0, 8(r28) +/* 8013C7A0 00139700 88 1C 00 0C */ lbz r0, 0xc(r28) +/* 8013C7A4 00139704 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8013C7A8 00139708 98 1C 00 0C */ stb r0, 0xc(r28) +lbl_8013C7AC: +/* 8013C7AC 0013970C 38 00 00 00 */ li r0, 0 +/* 8013C7B0 00139710 38 61 00 58 */ addi r3, r1, 0x58 +/* 8013C7B4 00139714 90 1C 00 04 */ stw r0, 4(r28) +/* 8013C7B8 00139718 48 1A 68 C5 */ bl NoParameter__12CPASAnimParmFv +/* 8013C7BC 0013971C 38 61 00 60 */ addi r3, r1, 0x60 +/* 8013C7C0 00139720 48 1A 68 BD */ bl NoParameter__12CPASAnimParmFv +/* 8013C7C4 00139724 38 61 00 68 */ addi r3, r1, 0x68 +/* 8013C7C8 00139728 48 1A 68 B5 */ bl NoParameter__12CPASAnimParmFv +/* 8013C7CC 0013972C 38 61 00 70 */ addi r3, r1, 0x70 +/* 8013C7D0 00139730 48 1A 68 AD */ bl NoParameter__12CPASAnimParmFv +/* 8013C7D4 00139734 38 61 00 78 */ addi r3, r1, 0x78 +/* 8013C7D8 00139738 48 1A 68 A5 */ bl NoParameter__12CPASAnimParmFv +/* 8013C7DC 0013973C 38 61 00 80 */ addi r3, r1, 0x80 +/* 8013C7E0 00139740 48 1A 68 9D */ bl NoParameter__12CPASAnimParmFv +/* 8013C7E4 00139744 80 9C 00 04 */ lwz r4, 4(r28) +/* 8013C7E8 00139748 38 61 00 88 */ addi r3, r1, 0x88 +/* 8013C7EC 0013974C 48 1A 67 99 */ bl FromEnum__12CPASAnimParmFi +/* 8013C7F0 00139750 80 9C 00 08 */ lwz r4, 8(r28) +/* 8013C7F4 00139754 38 61 00 90 */ addi r3, r1, 0x90 +/* 8013C7F8 00139758 48 1A 67 8D */ bl FromEnum__12CPASAnimParmFi +/* 8013C7FC 0013975C 38 61 00 60 */ addi r3, r1, 0x60 +/* 8013C800 00139760 38 01 00 58 */ addi r0, r1, 0x58 +/* 8013C804 00139764 90 61 00 08 */ stw r3, 8(r1) +/* 8013C808 00139768 38 61 01 08 */ addi r3, r1, 0x108 +/* 8013C80C 0013976C 38 A1 00 90 */ addi r5, r1, 0x90 +/* 8013C810 00139770 38 C1 00 88 */ addi r6, r1, 0x88 +/* 8013C814 00139774 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013C818 00139778 38 E1 00 80 */ addi r7, r1, 0x80 +/* 8013C81C 0013977C 39 01 00 78 */ addi r8, r1, 0x78 +/* 8013C820 00139780 39 21 00 70 */ addi r9, r1, 0x70 +/* 8013C824 00139784 39 41 00 68 */ addi r10, r1, 0x68 +/* 8013C828 00139788 38 80 00 0A */ li r4, 0xa +/* 8013C82C 0013978C 4B F4 0A 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013C830 00139790 7F C3 F3 78 */ mr r3, r30 +/* 8013C834 00139794 4B FF DC 21 */ bl GetPASDatabase__15CBodyControllerCFv +/* 8013C838 00139798 80 DF 09 00 */ lwz r6, 0x900(r31) +/* 8013C83C 0013979C 7C 64 1B 78 */ mr r4, r3 +/* 8013C840 001397A0 38 61 00 50 */ addi r3, r1, 0x50 +/* 8013C844 001397A4 38 A1 01 08 */ addi r5, r1, 0x108 +/* 8013C848 001397A8 38 E0 FF FF */ li r7, -1 +/* 8013C84C 001397AC 48 1A 88 15 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 8013C850 001397B0 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8013C854 001397B4 C0 02 9A B0 */ lfs f0, lbl_805AB7D0@sda21(r2) +/* 8013C858 001397B8 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8013C85C 001397BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013C860 001397C0 40 81 00 54 */ ble lbl_8013C8B4 +/* 8013C864 001397C4 C0 02 9A AC */ lfs f0, lbl_805AB7CC@sda21(r2) +/* 8013C868 001397C8 38 00 00 00 */ li r0, 0 +/* 8013C86C 001397CC 38 C0 FF FF */ li r6, -1 +/* 8013C870 001397D0 38 E0 00 01 */ li r7, 1 +/* 8013C874 001397D4 90 61 00 98 */ stw r3, 0x98(r1) +/* 8013C878 001397D8 7F C3 F3 78 */ mr r3, r30 +/* 8013C87C 001397DC 38 81 00 98 */ addi r4, r1, 0x98 +/* 8013C880 001397E0 38 A0 00 00 */ li r5, 0 +/* 8013C884 001397E4 90 C1 00 9C */ stw r6, 0x9c(r1) +/* 8013C888 001397E8 38 C0 00 00 */ li r6, 0 +/* 8013C88C 001397EC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8013C890 001397F0 98 E1 00 A4 */ stb r7, 0xa4(r1) +/* 8013C894 001397F4 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8013C898 001397F8 90 01 00 AC */ stw r0, 0xac(r1) +/* 8013C89C 001397FC 98 01 00 B0 */ stb r0, 0xb0(r1) +/* 8013C8A0 00139800 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8013C8A4 00139804 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 8013C8A8 00139808 90 01 00 BC */ stw r0, 0xbc(r1) +/* 8013C8AC 0013980C 4B FF E0 71 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 8013C8B0 00139810 48 00 00 F4 */ b lbl_8013C9A4 +lbl_8013C8B4: +/* 8013C8B4 00139814 38 00 00 01 */ li r0, 1 +/* 8013C8B8 00139818 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013C8BC 0013981C 90 1C 00 04 */ stw r0, 4(r28) +/* 8013C8C0 00139820 48 1A 67 BD */ bl NoParameter__12CPASAnimParmFv +/* 8013C8C4 00139824 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013C8C8 00139828 48 1A 67 B5 */ bl NoParameter__12CPASAnimParmFv +/* 8013C8CC 0013982C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013C8D0 00139830 48 1A 67 AD */ bl NoParameter__12CPASAnimParmFv +/* 8013C8D4 00139834 38 61 00 28 */ addi r3, r1, 0x28 +/* 8013C8D8 00139838 48 1A 67 A5 */ bl NoParameter__12CPASAnimParmFv +/* 8013C8DC 0013983C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013C8E0 00139840 48 1A 67 9D */ bl NoParameter__12CPASAnimParmFv +/* 8013C8E4 00139844 38 61 00 38 */ addi r3, r1, 0x38 +/* 8013C8E8 00139848 48 1A 67 95 */ bl NoParameter__12CPASAnimParmFv +/* 8013C8EC 0013984C 80 9C 00 04 */ lwz r4, 4(r28) +/* 8013C8F0 00139850 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013C8F4 00139854 48 1A 66 91 */ bl FromEnum__12CPASAnimParmFi +/* 8013C8F8 00139858 80 9C 00 08 */ lwz r4, 8(r28) +/* 8013C8FC 0013985C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013C900 00139860 48 1A 66 85 */ bl FromEnum__12CPASAnimParmFi +/* 8013C904 00139864 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013C908 00139868 38 01 00 10 */ addi r0, r1, 0x10 +/* 8013C90C 0013986C 90 61 00 08 */ stw r3, 8(r1) +/* 8013C910 00139870 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8013C914 00139874 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8013C918 00139878 38 C1 00 40 */ addi r6, r1, 0x40 +/* 8013C91C 0013987C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013C920 00139880 38 E1 00 38 */ addi r7, r1, 0x38 +/* 8013C924 00139884 39 01 00 30 */ addi r8, r1, 0x30 +/* 8013C928 00139888 39 21 00 28 */ addi r9, r1, 0x28 +/* 8013C92C 0013988C 39 41 00 20 */ addi r10, r1, 0x20 +/* 8013C930 00139890 38 80 00 0A */ li r4, 0xa +/* 8013C934 00139894 4B F4 09 91 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013C938 00139898 80 BF 09 00 */ lwz r5, 0x900(r31) +/* 8013C93C 0013989C 7F C3 F3 78 */ mr r3, r30 +/* 8013C940 001398A0 38 81 01 08 */ addi r4, r1, 0x108 +/* 8013C944 001398A4 4B FF D9 B9 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 8013C948 001398A8 34 A1 00 C4 */ addic. r5, r1, 0xc4 +/* 8013C94C 001398AC 41 82 00 58 */ beq lbl_8013C9A4 +/* 8013C950 001398B0 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013C954 001398B4 38 60 00 00 */ li r3, 0 +/* 8013C958 001398B8 2C 06 00 00 */ cmpwi r6, 0 +/* 8013C95C 001398BC 40 81 00 40 */ ble lbl_8013C99C +/* 8013C960 001398C0 2C 06 00 08 */ cmpwi r6, 8 +/* 8013C964 001398C4 38 86 FF F8 */ addi r4, r6, -8 +/* 8013C968 001398C8 40 81 00 20 */ ble lbl_8013C988 +/* 8013C96C 001398CC 38 04 00 07 */ addi r0, r4, 7 +/* 8013C970 001398D0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013C974 001398D4 7C 09 03 A6 */ mtctr r0 +/* 8013C978 001398D8 2C 04 00 00 */ cmpwi r4, 0 +/* 8013C97C 001398DC 40 81 00 0C */ ble lbl_8013C988 +lbl_8013C980: +/* 8013C980 001398E0 38 63 00 08 */ addi r3, r3, 8 +/* 8013C984 001398E4 42 00 FF FC */ bdnz lbl_8013C980 +lbl_8013C988: +/* 8013C988 001398E8 7C 03 30 50 */ subf r0, r3, r6 +/* 8013C98C 001398EC 7C 09 03 A6 */ mtctr r0 +/* 8013C990 001398F0 7C 03 30 00 */ cmpw r3, r6 +/* 8013C994 001398F4 40 80 00 08 */ bge lbl_8013C99C +lbl_8013C998: +/* 8013C998 001398F8 42 00 00 00 */ bdnz lbl_8013C998 +lbl_8013C99C: +/* 8013C99C 001398FC 38 00 00 00 */ li r0, 0 +/* 8013C9A0 00139900 90 05 00 00 */ stw r0, 0(r5) +lbl_8013C9A4: +/* 8013C9A4 00139904 34 A1 01 0C */ addic. r5, r1, 0x10c +/* 8013C9A8 00139908 41 82 00 58 */ beq lbl_8013CA00 +/* 8013C9AC 0013990C 80 C5 00 00 */ lwz r6, 0(r5) +/* 8013C9B0 00139910 38 60 00 00 */ li r3, 0 +/* 8013C9B4 00139914 2C 06 00 00 */ cmpwi r6, 0 +/* 8013C9B8 00139918 40 81 00 40 */ ble lbl_8013C9F8 +/* 8013C9BC 0013991C 2C 06 00 08 */ cmpwi r6, 8 +/* 8013C9C0 00139920 38 86 FF F8 */ addi r4, r6, -8 +/* 8013C9C4 00139924 40 81 00 20 */ ble lbl_8013C9E4 +/* 8013C9C8 00139928 38 04 00 07 */ addi r0, r4, 7 +/* 8013C9CC 0013992C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013C9D0 00139930 7C 09 03 A6 */ mtctr r0 +/* 8013C9D4 00139934 2C 04 00 00 */ cmpwi r4, 0 +/* 8013C9D8 00139938 40 81 00 0C */ ble lbl_8013C9E4 +lbl_8013C9DC: +/* 8013C9DC 0013993C 38 63 00 08 */ addi r3, r3, 8 +/* 8013C9E0 00139940 42 00 FF FC */ bdnz lbl_8013C9DC +lbl_8013C9E4: +/* 8013C9E4 00139944 7C 03 30 50 */ subf r0, r3, r6 +/* 8013C9E8 00139948 7C 09 03 A6 */ mtctr r0 +/* 8013C9EC 0013994C 7C 03 30 00 */ cmpw r3, r6 +/* 8013C9F0 00139950 40 80 00 08 */ bge lbl_8013C9F8 +lbl_8013C9F4: +/* 8013C9F4 00139954 42 00 00 00 */ bdnz lbl_8013C9F4 +lbl_8013C9F8: +/* 8013C9F8 00139958 38 00 00 00 */ li r0, 0 +/* 8013C9FC 0013995C 90 05 00 00 */ stw r0, 0(r5) +lbl_8013CA00: +/* 8013CA00 00139960 80 01 01 64 */ lwz r0, 0x164(r1) +/* 8013CA04 00139964 83 E1 01 5C */ lwz r31, 0x15c(r1) +/* 8013CA08 00139968 83 C1 01 58 */ lwz r30, 0x158(r1) +/* 8013CA0C 0013996C 83 A1 01 54 */ lwz r29, 0x154(r1) +/* 8013CA10 00139970 83 81 01 50 */ lwz r28, 0x150(r1) +/* 8013CA14 00139974 7C 08 03 A6 */ mtlr r0 +/* 8013CA18 00139978 38 21 01 60 */ addi r1, r1, 0x160 +/* 8013CA1C 0013997C 4E 80 00 20 */ blr + +.global __ct__15CBSLoopReactionFv +__ct__15CBSLoopReactionFv: +/* 8013CA20 00139980 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 8013CA24 00139984 3C 80 80 3E */ lis r4, lbl_803E1878@ha +/* 8013CA28 00139988 38 C5 13 18 */ addi r6, r5, lbl_803E1318@l +/* 8013CA2C 0013998C 38 00 FF FF */ li r0, -1 +/* 8013CA30 00139990 90 C3 00 00 */ stw r6, 0(r3) +/* 8013CA34 00139994 38 A4 18 78 */ addi r5, r4, lbl_803E1878@l +/* 8013CA38 00139998 38 80 00 00 */ li r4, 0 +/* 8013CA3C 0013999C 90 A3 00 00 */ stw r5, 0(r3) +/* 8013CA40 001399A0 90 03 00 04 */ stw r0, 4(r3) +/* 8013CA44 001399A4 90 03 00 08 */ stw r0, 8(r3) +/* 8013CA48 001399A8 88 03 00 0C */ lbz r0, 0xc(r3) +/* 8013CA4C 001399AC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8013CA50 001399B0 98 03 00 0C */ stb r0, 0xc(r3) +/* 8013CA54 001399B4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSSlide.s b/asm/Kyoto_CWD/BodyState/CBSSlide.s new file mode 100644 index 00000000..c4e11843 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSSlide.s @@ -0,0 +1,334 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__8CBSSlideFv +__dt__8CBSSlideFv: +/* 80143F84 00140EE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80143F88 00140EE8 7C 08 02 A6 */ mflr r0 +/* 80143F8C 00140EEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80143F90 00140EF0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80143F94 00140EF4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80143F98 00140EF8 41 82 00 30 */ beq lbl_80143FC8 +/* 80143F9C 00140EFC 3C 60 80 3E */ lis r3, lbl_803E1F78@ha +/* 80143FA0 00140F00 38 03 1F 78 */ addi r0, r3, lbl_803E1F78@l +/* 80143FA4 00140F04 90 1F 00 00 */ stw r0, 0(r31) +/* 80143FA8 00140F08 41 82 00 10 */ beq lbl_80143FB8 +/* 80143FAC 00140F0C 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80143FB0 00140F10 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80143FB4 00140F14 90 1F 00 00 */ stw r0, 0(r31) +lbl_80143FB8: +/* 80143FB8 00140F18 7C 80 07 35 */ extsh. r0, r4 +/* 80143FBC 00140F1C 40 81 00 0C */ ble lbl_80143FC8 +/* 80143FC0 00140F20 7F E3 FB 78 */ mr r3, r31 +/* 80143FC4 00140F24 48 1D 19 6D */ bl Free__7CMemoryFPCv +lbl_80143FC8: +/* 80143FC8 00140F28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80143FCC 00140F2C 7F E3 FB 78 */ mr r3, r31 +/* 80143FD0 00140F30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80143FD4 00140F34 7C 08 03 A6 */ mtlr r0 +/* 80143FD8 00140F38 38 21 00 10 */ addi r1, r1, 0x10 +/* 80143FDC 00140F3C 4E 80 00 20 */ blr + +.global IsMoving__8CBSSlideCFv +IsMoving__8CBSSlideCFv: +/* 80143FE0 00140F40 38 60 00 01 */ li r3, 1 +/* 80143FE4 00140F44 4E 80 00 20 */ blr + +.global ApplyHeadTracking__8CBSSlideCFv +ApplyHeadTracking__8CBSSlideCFv: +/* 80143FE8 00140F48 38 60 00 00 */ li r3, 0 +/* 80143FEC 00140F4C 4E 80 00 20 */ blr + +.global GetBodyStateTransition__8CBSSlideFfR15CBodyController +GetBodyStateTransition__8CBSSlideFfR15CBodyController: +/* 80143FF0 00140F50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80143FF4 00140F54 7C 08 02 A6 */ mflr r0 +/* 80143FF8 00140F58 90 01 00 14 */ stw r0, 0x14(r1) +/* 80143FFC 00140F5C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80144000 00140F60 93 C1 00 08 */ stw r30, 8(r1) +/* 80144004 00140F64 7C 9E 23 78 */ mr r30, r4 +/* 80144008 00140F68 3B FE 00 04 */ addi r31, r30, 4 +/* 8014400C 00140F6C 38 80 00 0F */ li r4, 0xf +/* 80144010 00140F70 7F E3 FB 78 */ mr r3, r31 +/* 80144014 00140F74 4B FE D4 3D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80144018 00140F78 28 03 00 00 */ cmplwi r3, 0 +/* 8014401C 00140F7C 41 82 00 0C */ beq lbl_80144028 +/* 80144020 00140F80 38 60 00 0E */ li r3, 0xe +/* 80144024 00140F84 48 00 00 6C */ b lbl_80144090 +lbl_80144028: +/* 80144028 00140F88 7F E3 FB 78 */ mr r3, r31 +/* 8014402C 00140F8C 38 80 00 03 */ li r4, 3 +/* 80144030 00140F90 4B FE D4 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80144034 00140F94 28 03 00 00 */ cmplwi r3, 0 +/* 80144038 00140F98 41 82 00 0C */ beq lbl_80144044 +/* 8014403C 00140F9C 38 60 00 00 */ li r3, 0 +/* 80144040 00140FA0 48 00 00 50 */ b lbl_80144090 +lbl_80144044: +/* 80144044 00140FA4 7F E3 FB 78 */ mr r3, r31 +/* 80144048 00140FA8 38 80 00 09 */ li r4, 9 +/* 8014404C 00140FAC 4B FE D4 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80144050 00140FB0 28 03 00 00 */ cmplwi r3, 0 +/* 80144054 00140FB4 41 82 00 0C */ beq lbl_80144060 +/* 80144058 00140FB8 38 60 00 0A */ li r3, 0xa +/* 8014405C 00140FBC 48 00 00 34 */ b lbl_80144090 +lbl_80144060: +/* 80144060 00140FC0 7F E3 FB 78 */ mr r3, r31 +/* 80144064 00140FC4 38 80 00 04 */ li r4, 4 +/* 80144068 00140FC8 4B FE D3 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8014406C 00140FCC 28 03 00 00 */ cmplwi r3, 0 +/* 80144070 00140FD0 41 82 00 0C */ beq lbl_8014407C +/* 80144074 00140FD4 38 60 00 06 */ li r3, 6 +/* 80144078 00140FD8 48 00 00 18 */ b lbl_80144090 +lbl_8014407C: +/* 8014407C 00140FDC 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 80144080 00140FE0 38 60 FF FF */ li r3, -1 +/* 80144084 00140FE4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80144088 00140FE8 41 82 00 08 */ beq lbl_80144090 +/* 8014408C 00140FEC 38 60 00 05 */ li r3, 5 +lbl_80144090: +/* 80144090 00140FF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80144094 00140FF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80144098 00140FF8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8014409C 00140FFC 7C 08 03 A6 */ mtlr r0 +/* 801440A0 00141000 38 21 00 10 */ addi r1, r1, 0x10 +/* 801440A4 00141004 4E 80 00 20 */ blr + +.global Shutdown__8CBSSlideFR15CBodyController +Shutdown__8CBSSlideFR15CBodyController: +/* 801440A8 00141008 4E 80 00 20 */ blr + +.global UpdateBody__8CBSSlideFfR15CBodyControllerR13CStateManager +UpdateBody__8CBSSlideFfR15CBodyControllerR13CStateManager: +/* 801440AC 0014100C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 801440B0 00141010 7C 08 02 A6 */ mflr r0 +/* 801440B4 00141014 90 01 00 44 */ stw r0, 0x44(r1) +/* 801440B8 00141018 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 801440BC 0014101C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 801440C0 00141020 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801440C4 00141024 93 C1 00 28 */ stw r30, 0x28(r1) +/* 801440C8 00141028 93 A1 00 24 */ stw r29, 0x24(r1) +/* 801440CC 0014102C FF E0 08 90 */ fmr f31, f1 +/* 801440D0 00141030 7C 7D 1B 78 */ mr r29, r3 +/* 801440D4 00141034 7C 9E 23 78 */ mr r30, r4 +/* 801440D8 00141038 4B FF FF 19 */ bl GetBodyStateTransition__8CBSSlideFfR15CBodyController +/* 801440DC 0014103C 7C 7F 1B 78 */ mr r31, r3 +/* 801440E0 00141040 2C 1F FF FF */ cmpwi r31, -1 +/* 801440E4 00141044 40 82 00 34 */ bne lbl_80144118 +/* 801440E8 00141048 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2) +/* 801440EC 0014104C C0 3D 00 04 */ lfs f1, 4(r29) +/* 801440F0 00141050 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 801440F4 00141054 41 82 00 24 */ beq lbl_80144118 +/* 801440F8 00141058 EC 1F 00 72 */ fmuls f0, f31, f1 +/* 801440FC 0014105C 38 61 00 0C */ addi r3, r1, 0xc +/* 80144100 00141060 38 81 00 08 */ addi r4, r1, 8 +/* 80144104 00141064 D0 01 00 08 */ stfs f0, 8(r1) +/* 80144108 00141068 48 1C CF F1 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8014410C 0014106C 7F C3 F3 78 */ mr r3, r30 +/* 80144110 00141070 38 81 00 0C */ addi r4, r1, 0xc +/* 80144114 00141074 4B FF 66 F5 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion +lbl_80144118: +/* 80144118 00141078 7F E3 FB 78 */ mr r3, r31 +/* 8014411C 0014107C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80144120 00141080 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80144124 00141084 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80144128 00141088 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8014412C 0014108C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80144130 00141090 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80144134 00141094 7C 08 03 A6 */ mtlr r0 +/* 80144138 00141098 38 21 00 40 */ addi r1, r1, 0x40 +/* 8014413C 0014109C 4E 80 00 20 */ blr + +.global Start__8CBSSlideFR15CBodyControllerR13CStateManager +Start__8CBSSlideFR15CBodyControllerR13CStateManager: +/* 80144140 001410A0 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80144144 001410A4 7C 08 02 A6 */ mflr r0 +/* 80144148 001410A8 90 01 01 34 */ stw r0, 0x134(r1) +/* 8014414C 001410AC DB E1 01 20 */ stfd f31, 0x120(r1) +/* 80144150 001410B0 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 80144154 001410B4 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 80144158 001410B8 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 8014415C 001410BC BF 61 00 FC */ stmw r27, 0xfc(r1) +/* 80144160 001410C0 7C 9B 23 78 */ mr r27, r4 +/* 80144164 001410C4 7C 7F 1B 78 */ mr r31, r3 +/* 80144168 001410C8 7C BC 2B 78 */ mr r28, r5 +/* 8014416C 001410CC 38 80 00 11 */ li r4, 0x11 +/* 80144170 001410D0 38 7B 00 04 */ addi r3, r27, 4 +/* 80144174 001410D4 4B FE D2 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80144178 001410D8 80 9B 00 00 */ lwz r4, 0(r27) +/* 8014417C 001410DC 7C 7E 1B 78 */ mr r30, r3 +/* 80144180 001410E0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80144184 001410E4 38 84 00 34 */ addi r4, r4, 0x34 +/* 80144188 001410E8 38 BE 00 0C */ addi r5, r30, 0xc +/* 8014418C 001410EC 48 1C E8 99 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80144190 001410F0 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 80144194 001410F4 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 80144198 001410F8 48 25 0A D5 */ bl atan2 +/* 8014419C 001410FC FF C0 08 18 */ frsp f30, f1 +/* 801441A0 00141100 7F 63 DB 78 */ mr r3, r27 +/* 801441A4 00141104 4B FF 62 B1 */ bl GetPASDatabase__15CBodyControllerCFv +/* 801441A8 00141108 83 DE 00 08 */ lwz r30, 8(r30) +/* 801441AC 0014110C 7C 7D 1B 78 */ mr r29, r3 +/* 801441B0 00141110 38 61 00 20 */ addi r3, r1, 0x20 +/* 801441B4 00141114 48 19 EE C9 */ bl NoParameter__12CPASAnimParmFv +/* 801441B8 00141118 38 61 00 28 */ addi r3, r1, 0x28 +/* 801441BC 0014111C 48 19 EE C1 */ bl NoParameter__12CPASAnimParmFv +/* 801441C0 00141120 38 61 00 30 */ addi r3, r1, 0x30 +/* 801441C4 00141124 48 19 EE B9 */ bl NoParameter__12CPASAnimParmFv +/* 801441C8 00141128 38 61 00 38 */ addi r3, r1, 0x38 +/* 801441CC 0014112C 48 19 EE B1 */ bl NoParameter__12CPASAnimParmFv +/* 801441D0 00141130 38 61 00 40 */ addi r3, r1, 0x40 +/* 801441D4 00141134 48 19 EE A9 */ bl NoParameter__12CPASAnimParmFv +/* 801441D8 00141138 38 61 00 48 */ addi r3, r1, 0x48 +/* 801441DC 0014113C 48 19 EE A1 */ bl NoParameter__12CPASAnimParmFv +/* 801441E0 00141140 C0 02 9B F4 */ lfs f0, lbl_805AB914@sda21(r2) +/* 801441E4 00141144 38 61 00 50 */ addi r3, r1, 0x50 +/* 801441E8 00141148 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 801441EC 0014114C 48 19 ED FD */ bl FromReal32__12CPASAnimParmFf +/* 801441F0 00141150 7F C4 F3 78 */ mr r4, r30 +/* 801441F4 00141154 38 61 00 58 */ addi r3, r1, 0x58 +/* 801441F8 00141158 48 19 ED 8D */ bl FromEnum__12CPASAnimParmFi +/* 801441FC 0014115C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80144200 00141160 38 01 00 20 */ addi r0, r1, 0x20 +/* 80144204 00141164 90 61 00 08 */ stw r3, 8(r1) +/* 80144208 00141168 38 61 00 9C */ addi r3, r1, 0x9c +/* 8014420C 0014116C 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80144210 00141170 38 C1 00 50 */ addi r6, r1, 0x50 +/* 80144214 00141174 90 01 00 0C */ stw r0, 0xc(r1) +/* 80144218 00141178 38 E1 00 48 */ addi r7, r1, 0x48 +/* 8014421C 0014117C 39 01 00 40 */ addi r8, r1, 0x40 +/* 80144220 00141180 39 21 00 38 */ addi r9, r1, 0x38 +/* 80144224 00141184 39 41 00 30 */ addi r10, r1, 0x30 +/* 80144228 00141188 38 80 00 0F */ li r4, 0xf +/* 8014422C 0014118C 4B F3 90 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80144230 00141190 80 DC 09 00 */ lwz r6, 0x900(r28) +/* 80144234 00141194 7F A4 EB 78 */ mr r4, r29 +/* 80144238 00141198 38 61 00 18 */ addi r3, r1, 0x18 +/* 8014423C 0014119C 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80144240 001411A0 38 E0 FF FF */ li r7, -1 +/* 80144244 001411A4 48 1A 0E 1D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 80144248 001411A8 83 C1 00 1C */ lwz r30, 0x1c(r1) +/* 8014424C 001411AC 38 00 00 00 */ li r0, 0 +/* 80144250 001411B0 C0 02 9B F8 */ lfs f0, lbl_805AB918@sda21(r2) +/* 80144254 001411B4 38 A0 FF FF */ li r5, -1 +/* 80144258 001411B8 38 E0 00 01 */ li r7, 1 +/* 8014425C 001411BC 93 C1 00 74 */ stw r30, 0x74(r1) +/* 80144260 001411C0 7F 63 DB 78 */ mr r3, r27 +/* 80144264 001411C4 38 81 00 74 */ addi r4, r1, 0x74 +/* 80144268 001411C8 90 A1 00 78 */ stw r5, 0x78(r1) +/* 8014426C 001411CC 38 A0 00 00 */ li r5, 0 +/* 80144270 001411D0 38 C0 00 00 */ li r6, 0 +/* 80144274 001411D4 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80144278 001411D8 98 E1 00 80 */ stb r7, 0x80(r1) +/* 8014427C 001411DC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80144280 001411E0 90 01 00 88 */ stw r0, 0x88(r1) +/* 80144284 001411E4 98 01 00 8C */ stb r0, 0x8c(r1) +/* 80144288 001411E8 90 01 00 90 */ stw r0, 0x90(r1) +/* 8014428C 001411EC 90 01 00 94 */ stw r0, 0x94(r1) +/* 80144290 001411F0 90 01 00 98 */ stw r0, 0x98(r1) +/* 80144294 001411F4 4B FF 66 89 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80144298 001411F8 7F 63 DB 78 */ mr r3, r27 +/* 8014429C 001411FC 4B FF 66 1D */ bl GetAnimTimeRemaining__15CBodyControllerCFv +/* 801442A0 00141200 FF E0 08 90 */ fmr f31, f1 +/* 801442A4 00141204 C0 02 9B FC */ lfs f0, lbl_805AB91C@sda21(r2) +/* 801442A8 00141208 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 801442AC 0014120C 40 81 00 B4 */ ble lbl_80144360 +/* 801442B0 00141210 7F A3 EB 78 */ mr r3, r29 +/* 801442B4 00141214 38 80 00 0F */ li r4, 0xf +/* 801442B8 00141218 48 1A 0C 0D */ bl GetAnimState__12CPASDatabaseCFi +/* 801442BC 0014121C 7C 64 1B 78 */ mr r4, r3 +/* 801442C0 00141220 7F C5 F3 78 */ mr r5, r30 +/* 801442C4 00141224 38 61 00 10 */ addi r3, r1, 0x10 +/* 801442C8 00141228 38 C0 00 01 */ li r6, 1 +/* 801442CC 0014122C 48 19 FD 29 */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 801442D0 00141230 80 81 00 10 */ lwz r4, 0x10(r1) +/* 801442D4 00141234 38 61 00 60 */ addi r3, r1, 0x60 +/* 801442D8 00141238 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801442DC 0014123C 90 81 00 60 */ stw r4, 0x60(r1) +/* 801442E0 00141240 90 01 00 64 */ stw r0, 0x64(r1) +/* 801442E4 00141244 48 19 EC 89 */ bl GetReal32Value__12CPASAnimParmCFv +/* 801442E8 00141248 C0 02 9C 00 */ lfs f0, lbl_805AB920@sda21(r2) +/* 801442EC 0014124C 3C 00 43 30 */ lis r0, 0x4330 +/* 801442F0 00141250 C0 42 9C 04 */ lfs f2, lbl_805AB924@sda21(r2) +/* 801442F4 00141254 EC 00 00 72 */ fmuls f0, f0, f1 +/* 801442F8 00141258 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 801442FC 0014125C C8 62 9C 10 */ lfd f3, lbl_805AB930@sda21(r2) +/* 80144300 00141260 C0 22 9C 08 */ lfs f1, lbl_805AB928@sda21(r2) +/* 80144304 00141264 EC 9E 00 28 */ fsubs f4, f30, f0 +/* 80144308 00141268 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2) +/* 8014430C 0014126C EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80144310 00141270 FC 40 10 1E */ fctiwz f2, f2 +/* 80144314 00141274 D8 41 00 E8 */ stfd f2, 0xe8(r1) +/* 80144318 00141278 80 01 00 EC */ lwz r0, 0xec(r1) +/* 8014431C 0014127C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80144320 00141280 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 80144324 00141284 C8 41 00 F0 */ lfd f2, 0xf0(r1) +/* 80144328 00141288 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8014432C 0014128C EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 80144330 00141290 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80144334 00141294 40 80 00 08 */ bge lbl_8014433C +/* 80144338 00141298 EC 42 08 2A */ fadds f2, f2, f1 +lbl_8014433C: +/* 8014433C 0014129C C0 02 9C 0C */ lfs f0, lbl_805AB92C@sda21(r2) +/* 80144340 001412A0 FC 20 10 90 */ fmr f1, f2 +/* 80144344 001412A4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80144348 001412A8 40 81 00 0C */ ble lbl_80144354 +/* 8014434C 001412AC C0 02 9C 08 */ lfs f0, lbl_805AB928@sda21(r2) +/* 80144350 001412B0 EC 22 00 28 */ fsubs f1, f2, f0 +lbl_80144354: +/* 80144354 001412B4 EC 01 F8 24 */ fdivs f0, f1, f31 +/* 80144358 001412B8 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8014435C 001412BC 48 00 00 0C */ b lbl_80144368 +lbl_80144360: +/* 80144360 001412C0 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2) +/* 80144364 001412C4 D0 1F 00 04 */ stfs f0, 4(r31) +lbl_80144368: +/* 80144368 001412C8 34 A1 00 A0 */ addic. r5, r1, 0xa0 +/* 8014436C 001412CC 41 82 00 58 */ beq lbl_801443C4 +/* 80144370 001412D0 80 C5 00 00 */ lwz r6, 0(r5) +/* 80144374 001412D4 38 60 00 00 */ li r3, 0 +/* 80144378 001412D8 2C 06 00 00 */ cmpwi r6, 0 +/* 8014437C 001412DC 40 81 00 40 */ ble lbl_801443BC +/* 80144380 001412E0 2C 06 00 08 */ cmpwi r6, 8 +/* 80144384 001412E4 38 86 FF F8 */ addi r4, r6, -8 +/* 80144388 001412E8 40 81 00 20 */ ble lbl_801443A8 +/* 8014438C 001412EC 38 04 00 07 */ addi r0, r4, 7 +/* 80144390 001412F0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80144394 001412F4 7C 09 03 A6 */ mtctr r0 +/* 80144398 001412F8 2C 04 00 00 */ cmpwi r4, 0 +/* 8014439C 001412FC 40 81 00 0C */ ble lbl_801443A8 +lbl_801443A0: +/* 801443A0 00141300 38 63 00 08 */ addi r3, r3, 8 +/* 801443A4 00141304 42 00 FF FC */ bdnz lbl_801443A0 +lbl_801443A8: +/* 801443A8 00141308 7C 03 30 50 */ subf r0, r3, r6 +/* 801443AC 0014130C 7C 09 03 A6 */ mtctr r0 +/* 801443B0 00141310 7C 03 30 00 */ cmpw r3, r6 +/* 801443B4 00141314 40 80 00 08 */ bge lbl_801443BC +lbl_801443B8: +/* 801443B8 00141318 42 00 00 00 */ bdnz lbl_801443B8 +lbl_801443BC: +/* 801443BC 0014131C 38 00 00 00 */ li r0, 0 +/* 801443C0 00141320 90 05 00 00 */ stw r0, 0(r5) +lbl_801443C4: +/* 801443C4 00141324 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 801443C8 00141328 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 801443CC 0014132C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 801443D0 00141330 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 801443D4 00141334 BB 61 00 FC */ lmw r27, 0xfc(r1) +/* 801443D8 00141338 80 01 01 34 */ lwz r0, 0x134(r1) +/* 801443DC 0014133C 7C 08 03 A6 */ mtlr r0 +/* 801443E0 00141340 38 21 01 30 */ addi r1, r1, 0x130 +/* 801443E4 00141344 4E 80 00 20 */ blr + +.global __ct__8CBSSlideFv +__ct__8CBSSlideFv: +/* 801443E8 00141348 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 801443EC 0014134C 3C 80 80 3E */ lis r4, lbl_803E1F78@ha +/* 801443F0 00141350 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l +/* 801443F4 00141354 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2) +/* 801443F8 00141358 90 A3 00 00 */ stw r5, 0(r3) +/* 801443FC 0014135C 38 04 1F 78 */ addi r0, r4, lbl_803E1F78@l +/* 80144400 00141360 90 03 00 00 */ stw r0, 0(r3) +/* 80144404 00141364 D0 03 00 04 */ stfs f0, 4(r3) +/* 80144408 00141368 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSStep.s b/asm/Kyoto_CWD/BodyState/CBSStep.s new file mode 100644 index 00000000..829d31eb --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSStep.s @@ -0,0 +1,316 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__7CBSStepFv +__dt__7CBSStepFv: +/* 80138DA4 00135D04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80138DA8 00135D08 7C 08 02 A6 */ mflr r0 +/* 80138DAC 00135D0C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80138DB0 00135D10 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80138DB4 00135D14 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80138DB8 00135D18 41 82 00 30 */ beq lbl_80138DE8 +/* 80138DBC 00135D1C 3C 60 80 3E */ lis r3, lbl_803E1718@ha +/* 80138DC0 00135D20 38 03 17 18 */ addi r0, r3, lbl_803E1718@l +/* 80138DC4 00135D24 90 1F 00 00 */ stw r0, 0(r31) +/* 80138DC8 00135D28 41 82 00 10 */ beq lbl_80138DD8 +/* 80138DCC 00135D2C 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80138DD0 00135D30 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80138DD4 00135D34 90 1F 00 00 */ stw r0, 0(r31) +lbl_80138DD8: +/* 80138DD8 00135D38 7C 80 07 35 */ extsh. r0, r4 +/* 80138DDC 00135D3C 40 81 00 0C */ ble lbl_80138DE8 +/* 80138DE0 00135D40 7F E3 FB 78 */ mr r3, r31 +/* 80138DE4 00135D44 48 1D CB 4D */ bl Free__7CMemoryFPCv +lbl_80138DE8: +/* 80138DE8 00135D48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80138DEC 00135D4C 7F E3 FB 78 */ mr r3, r31 +/* 80138DF0 00135D50 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80138DF4 00135D54 7C 08 03 A6 */ mtlr r0 +/* 80138DF8 00135D58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138DFC 00135D5C 4E 80 00 20 */ blr + +.global IsMoving__7CBSStepCFv +IsMoving__7CBSStepCFv: +/* 80138E00 00135D60 38 60 00 01 */ li r3, 1 +/* 80138E04 00135D64 4E 80 00 20 */ blr + +.global CanShoot__7CBSStepCFv +CanShoot__7CBSStepCFv: +/* 80138E08 00135D68 38 60 00 01 */ li r3, 1 +/* 80138E0C 00135D6C 4E 80 00 20 */ blr + +.global GetBodyStateTransition__7CBSStepFfR15CBodyController +GetBodyStateTransition__7CBSStepFfR15CBodyController: +/* 80138E10 00135D70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80138E14 00135D74 7C 08 02 A6 */ mflr r0 +/* 80138E18 00135D78 90 01 00 14 */ stw r0, 0x14(r1) +/* 80138E1C 00135D7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80138E20 00135D80 93 C1 00 08 */ stw r30, 8(r1) +/* 80138E24 00135D84 7C 9E 23 78 */ mr r30, r4 +/* 80138E28 00135D88 3B FE 00 04 */ addi r31, r30, 4 +/* 80138E2C 00135D8C 38 80 00 0F */ li r4, 0xf +/* 80138E30 00135D90 7F E3 FB 78 */ mr r3, r31 +/* 80138E34 00135D94 4B FF 86 1D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138E38 00135D98 28 03 00 00 */ cmplwi r3, 0 +/* 80138E3C 00135D9C 41 82 00 0C */ beq lbl_80138E48 +/* 80138E40 00135DA0 38 60 00 0E */ li r3, 0xe +/* 80138E44 00135DA4 48 00 01 64 */ b lbl_80138FA8 +lbl_80138E48: +/* 80138E48 00135DA8 7F E3 FB 78 */ mr r3, r31 +/* 80138E4C 00135DAC 38 80 00 03 */ li r4, 3 +/* 80138E50 00135DB0 4B FF 86 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138E54 00135DB4 28 03 00 00 */ cmplwi r3, 0 +/* 80138E58 00135DB8 41 82 00 0C */ beq lbl_80138E64 +/* 80138E5C 00135DBC 38 60 00 00 */ li r3, 0 +/* 80138E60 00135DC0 48 00 01 48 */ b lbl_80138FA8 +lbl_80138E64: +/* 80138E64 00135DC4 7F E3 FB 78 */ mr r3, r31 +/* 80138E68 00135DC8 38 80 00 09 */ li r4, 9 +/* 80138E6C 00135DCC 4B FF 85 E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138E70 00135DD0 28 03 00 00 */ cmplwi r3, 0 +/* 80138E74 00135DD4 41 82 00 0C */ beq lbl_80138E80 +/* 80138E78 00135DD8 38 60 00 0A */ li r3, 0xa +/* 80138E7C 00135DDC 48 00 01 2C */ b lbl_80138FA8 +lbl_80138E80: +/* 80138E80 00135DE0 7F E3 FB 78 */ mr r3, r31 +/* 80138E84 00135DE4 38 80 00 04 */ li r4, 4 +/* 80138E88 00135DE8 4B FF 85 C9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138E8C 00135DEC 28 03 00 00 */ cmplwi r3, 0 +/* 80138E90 00135DF0 41 82 00 0C */ beq lbl_80138E9C +/* 80138E94 00135DF4 38 60 00 06 */ li r3, 6 +/* 80138E98 00135DF8 48 00 01 10 */ b lbl_80138FA8 +lbl_80138E9C: +/* 80138E9C 00135DFC 7F E3 FB 78 */ mr r3, r31 +/* 80138EA0 00135E00 38 80 00 16 */ li r4, 0x16 +/* 80138EA4 00135E04 4B FF 85 AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138EA8 00135E08 28 03 00 00 */ cmplwi r3, 0 +/* 80138EAC 00135E0C 41 82 00 0C */ beq lbl_80138EB8 +/* 80138EB0 00135E10 38 60 00 05 */ li r3, 5 +/* 80138EB4 00135E14 48 00 00 F4 */ b lbl_80138FA8 +lbl_80138EB8: +/* 80138EB8 00135E18 7F E3 FB 78 */ mr r3, r31 +/* 80138EBC 00135E1C 38 80 00 0E */ li r4, 0xe +/* 80138EC0 00135E20 4B FF 85 91 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138EC4 00135E24 28 03 00 00 */ cmplwi r3, 0 +/* 80138EC8 00135E28 41 82 00 0C */ beq lbl_80138ED4 +/* 80138ECC 00135E2C 38 60 00 0C */ li r3, 0xc +/* 80138ED0 00135E30 48 00 00 D8 */ b lbl_80138FA8 +lbl_80138ED4: +/* 80138ED4 00135E34 7F E3 FB 78 */ mr r3, r31 +/* 80138ED8 00135E38 38 80 00 05 */ li r4, 5 +/* 80138EDC 00135E3C 4B FF 85 75 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138EE0 00135E40 28 03 00 00 */ cmplwi r3, 0 +/* 80138EE4 00135E44 41 82 00 0C */ beq lbl_80138EF0 +/* 80138EE8 00135E48 38 60 00 07 */ li r3, 7 +/* 80138EEC 00135E4C 48 00 00 BC */ b lbl_80138FA8 +lbl_80138EF0: +/* 80138EF0 00135E50 7F E3 FB 78 */ mr r3, r31 +/* 80138EF4 00135E54 38 80 00 06 */ li r4, 6 +/* 80138EF8 00135E58 4B FF 85 59 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138EFC 00135E5C 28 03 00 00 */ cmplwi r3, 0 +/* 80138F00 00135E60 41 82 00 0C */ beq lbl_80138F0C +/* 80138F04 00135E64 38 60 00 12 */ li r3, 0x12 +/* 80138F08 00135E68 48 00 00 A0 */ b lbl_80138FA8 +lbl_80138F0C: +/* 80138F0C 00135E6C 7F E3 FB 78 */ mr r3, r31 +/* 80138F10 00135E70 38 80 00 07 */ li r4, 7 +/* 80138F14 00135E74 4B FF 85 3D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138F18 00135E78 28 03 00 00 */ cmplwi r3, 0 +/* 80138F1C 00135E7C 41 82 00 0C */ beq lbl_80138F28 +/* 80138F20 00135E80 38 60 00 09 */ li r3, 9 +/* 80138F24 00135E84 48 00 00 84 */ b lbl_80138FA8 +lbl_80138F28: +/* 80138F28 00135E88 7F E3 FB 78 */ mr r3, r31 +/* 80138F2C 00135E8C 38 80 00 10 */ li r4, 0x10 +/* 80138F30 00135E90 4B FF 85 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138F34 00135E94 28 03 00 00 */ cmplwi r3, 0 +/* 80138F38 00135E98 41 82 00 0C */ beq lbl_80138F44 +/* 80138F3C 00135E9C 38 60 00 0D */ li r3, 0xd +/* 80138F40 00135EA0 48 00 00 68 */ b lbl_80138FA8 +lbl_80138F44: +/* 80138F44 00135EA4 7F E3 FB 78 */ mr r3, r31 +/* 80138F48 00135EA8 38 80 00 08 */ li r4, 8 +/* 80138F4C 00135EAC 4B FF 85 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138F50 00135EB0 28 03 00 00 */ cmplwi r3, 0 +/* 80138F54 00135EB4 41 82 00 0C */ beq lbl_80138F60 +/* 80138F58 00135EB8 38 60 00 0A */ li r3, 0xa +/* 80138F5C 00135EBC 48 00 00 4C */ b lbl_80138FA8 +lbl_80138F60: +/* 80138F60 00135EC0 7F E3 FB 78 */ mr r3, r31 +/* 80138F64 00135EC4 38 80 00 13 */ li r4, 0x13 +/* 80138F68 00135EC8 4B FF 84 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138F6C 00135ECC 28 03 00 00 */ cmplwi r3, 0 +/* 80138F70 00135ED0 41 82 00 0C */ beq lbl_80138F7C +/* 80138F74 00135ED4 38 60 00 11 */ li r3, 0x11 +/* 80138F78 00135ED8 48 00 00 30 */ b lbl_80138FA8 +lbl_80138F7C: +/* 80138F7C 00135EDC 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 80138F80 00135EE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80138F84 00135EE4 40 82 00 18 */ bne lbl_80138F9C +/* 80138F88 00135EE8 7F E3 FB 78 */ mr r3, r31 +/* 80138F8C 00135EEC 38 80 00 0C */ li r4, 0xc +/* 80138F90 00135EF0 4B FF 84 C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80138F94 00135EF4 28 03 00 00 */ cmplwi r3, 0 +/* 80138F98 00135EF8 41 82 00 0C */ beq lbl_80138FA4 +lbl_80138F9C: +/* 80138F9C 00135EFC 38 60 00 05 */ li r3, 5 +/* 80138FA0 00135F00 48 00 00 08 */ b lbl_80138FA8 +lbl_80138FA4: +/* 80138FA4 00135F04 38 60 FF FF */ li r3, -1 +lbl_80138FA8: +/* 80138FA8 00135F08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80138FAC 00135F0C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80138FB0 00135F10 83 C1 00 08 */ lwz r30, 8(r1) +/* 80138FB4 00135F14 7C 08 03 A6 */ mtlr r0 +/* 80138FB8 00135F18 38 21 00 10 */ addi r1, r1, 0x10 +/* 80138FBC 00135F1C 4E 80 00 20 */ blr + +.global Shutdown__7CBSStepFR15CBodyController +Shutdown__7CBSStepFR15CBodyController: +/* 80138FC0 00135F20 4E 80 00 20 */ blr + +.global UpdateBody__7CBSStepFfR15CBodyControllerR13CStateManager +UpdateBody__7CBSStepFfR15CBodyControllerR13CStateManager: +/* 80138FC4 00135F24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80138FC8 00135F28 7C 08 02 A6 */ mflr r0 +/* 80138FCC 00135F2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80138FD0 00135F30 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80138FD4 00135F34 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80138FD8 00135F38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80138FDC 00135F3C 93 C1 00 08 */ stw r30, 8(r1) +/* 80138FE0 00135F40 FF E0 08 90 */ fmr f31, f1 +/* 80138FE4 00135F44 7C 9E 23 78 */ mr r30, r4 +/* 80138FE8 00135F48 4B FF FE 29 */ bl GetBodyStateTransition__7CBSStepFfR15CBodyController +/* 80138FEC 00135F4C 7C 7F 1B 78 */ mr r31, r3 +/* 80138FF0 00135F50 2C 1F FF FF */ cmpwi r31, -1 +/* 80138FF4 00135F54 40 82 00 50 */ bne lbl_80139044 +/* 80138FF8 00135F58 38 7E 00 1C */ addi r3, r30, 0x1c +/* 80138FFC 00135F5C C0 22 9A 58 */ lfs f1, lbl_805AB778@sda21(r2) +/* 80139000 00135F60 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80139004 00135F64 38 00 00 00 */ li r0, 0 +/* 80139008 00135F68 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013900C 00135F6C 40 82 00 1C */ bne lbl_80139028 +/* 80139010 00135F70 C0 03 00 04 */ lfs f0, 4(r3) +/* 80139014 00135F74 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80139018 00135F78 40 82 00 10 */ bne lbl_80139028 +/* 8013901C 00135F7C C0 03 00 08 */ lfs f0, 8(r3) +/* 80139020 00135F80 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80139024 00135F84 41 82 00 08 */ beq lbl_8013902C +lbl_80139028: +/* 80139028 00135F88 38 00 00 01 */ li r0, 1 +lbl_8013902C: +/* 8013902C 00135F8C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80139030 00135F90 41 82 00 14 */ beq lbl_80139044 +/* 80139034 00135F94 FC 20 F8 90 */ fmr f1, f31 +/* 80139038 00135F98 7F C3 F3 78 */ mr r3, r30 +/* 8013903C 00135F9C 38 9E 00 1C */ addi r4, r30, 0x1c +/* 80139040 00135FA0 48 00 16 65 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_80139044: +/* 80139044 00135FA4 7F E3 FB 78 */ mr r3, r31 +/* 80139048 00135FA8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8013904C 00135FAC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80139050 00135FB0 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80139054 00135FB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80139058 00135FB8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8013905C 00135FBC 7C 08 03 A6 */ mtlr r0 +/* 80139060 00135FC0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80139064 00135FC4 4E 80 00 20 */ blr + +.global Start__7CBSStepFR15CBodyControllerR13CStateManager +Start__7CBSStepFR15CBodyControllerR13CStateManager: +/* 80139068 00135FC8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8013906C 00135FCC 7C 08 02 A6 */ mflr r0 +/* 80139070 00135FD0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80139074 00135FD4 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80139078 00135FD8 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8013907C 00135FDC 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 80139080 00135FE0 7C BD 2B 78 */ mr r29, r5 +/* 80139084 00135FE4 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 80139088 00135FE8 7C 9C 23 78 */ mr r28, r4 +/* 8013908C 00135FEC 38 7C 00 04 */ addi r3, r28, 4 +/* 80139090 00135FF0 38 80 00 01 */ li r4, 1 +/* 80139094 00135FF4 4B FF 83 BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139098 00135FF8 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 8013909C 00135FFC 83 C3 00 08 */ lwz r30, 8(r3) +/* 801390A0 00136000 38 61 00 10 */ addi r3, r1, 0x10 +/* 801390A4 00136004 48 1A 9F D9 */ bl NoParameter__12CPASAnimParmFv +/* 801390A8 00136008 38 61 00 18 */ addi r3, r1, 0x18 +/* 801390AC 0013600C 48 1A 9F D1 */ bl NoParameter__12CPASAnimParmFv +/* 801390B0 00136010 38 61 00 20 */ addi r3, r1, 0x20 +/* 801390B4 00136014 48 1A 9F C9 */ bl NoParameter__12CPASAnimParmFv +/* 801390B8 00136018 38 61 00 28 */ addi r3, r1, 0x28 +/* 801390BC 0013601C 48 1A 9F C1 */ bl NoParameter__12CPASAnimParmFv +/* 801390C0 00136020 38 61 00 30 */ addi r3, r1, 0x30 +/* 801390C4 00136024 48 1A 9F B9 */ bl NoParameter__12CPASAnimParmFv +/* 801390C8 00136028 38 61 00 38 */ addi r3, r1, 0x38 +/* 801390CC 0013602C 48 1A 9F B1 */ bl NoParameter__12CPASAnimParmFv +/* 801390D0 00136030 7F E4 FB 78 */ mr r4, r31 +/* 801390D4 00136034 38 61 00 40 */ addi r3, r1, 0x40 +/* 801390D8 00136038 48 1A 9E AD */ bl FromEnum__12CPASAnimParmFi +/* 801390DC 0013603C 7F C4 F3 78 */ mr r4, r30 +/* 801390E0 00136040 38 61 00 48 */ addi r3, r1, 0x48 +/* 801390E4 00136044 48 1A 9E A1 */ bl FromEnum__12CPASAnimParmFi +/* 801390E8 00136048 38 61 00 18 */ addi r3, r1, 0x18 +/* 801390EC 0013604C 38 01 00 10 */ addi r0, r1, 0x10 +/* 801390F0 00136050 90 61 00 08 */ stw r3, 8(r1) +/* 801390F4 00136054 38 61 00 50 */ addi r3, r1, 0x50 +/* 801390F8 00136058 38 A1 00 48 */ addi r5, r1, 0x48 +/* 801390FC 0013605C 38 C1 00 40 */ addi r6, r1, 0x40 +/* 80139100 00136060 90 01 00 0C */ stw r0, 0xc(r1) +/* 80139104 00136064 38 E1 00 38 */ addi r7, r1, 0x38 +/* 80139108 00136068 39 01 00 30 */ addi r8, r1, 0x30 +/* 8013910C 0013606C 39 21 00 28 */ addi r9, r1, 0x28 +/* 80139110 00136070 39 41 00 20 */ addi r10, r1, 0x20 +/* 80139114 00136074 38 80 00 03 */ li r4, 3 +/* 80139118 00136078 4B F4 41 AD */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8013911C 0013607C 80 BD 09 00 */ lwz r5, 0x900(r29) +/* 80139120 00136080 7F 83 E3 78 */ mr r3, r28 +/* 80139124 00136084 38 81 00 50 */ addi r4, r1, 0x50 +/* 80139128 00136088 48 00 12 81 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 8013912C 0013608C 34 A1 00 54 */ addic. r5, r1, 0x54 +/* 80139130 00136090 41 82 00 58 */ beq lbl_80139188 +/* 80139134 00136094 80 C5 00 00 */ lwz r6, 0(r5) +/* 80139138 00136098 38 60 00 00 */ li r3, 0 +/* 8013913C 0013609C 2C 06 00 00 */ cmpwi r6, 0 +/* 80139140 001360A0 40 81 00 40 */ ble lbl_80139180 +/* 80139144 001360A4 2C 06 00 08 */ cmpwi r6, 8 +/* 80139148 001360A8 38 86 FF F8 */ addi r4, r6, -8 +/* 8013914C 001360AC 40 81 00 20 */ ble lbl_8013916C +/* 80139150 001360B0 38 04 00 07 */ addi r0, r4, 7 +/* 80139154 001360B4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80139158 001360B8 7C 09 03 A6 */ mtctr r0 +/* 8013915C 001360BC 2C 04 00 00 */ cmpwi r4, 0 +/* 80139160 001360C0 40 81 00 0C */ ble lbl_8013916C +lbl_80139164: +/* 80139164 001360C4 38 63 00 08 */ addi r3, r3, 8 +/* 80139168 001360C8 42 00 FF FC */ bdnz lbl_80139164 +lbl_8013916C: +/* 8013916C 001360CC 7C 03 30 50 */ subf r0, r3, r6 +/* 80139170 001360D0 7C 09 03 A6 */ mtctr r0 +/* 80139174 001360D4 7C 03 30 00 */ cmpw r3, r6 +/* 80139178 001360D8 40 80 00 08 */ bge lbl_80139180 +lbl_8013917C: +/* 8013917C 001360DC 42 00 00 00 */ bdnz lbl_8013917C +lbl_80139180: +/* 80139180 001360E0 38 00 00 00 */ li r0, 0 +/* 80139184 001360E4 90 05 00 00 */ stw r0, 0(r5) +lbl_80139188: +/* 80139188 001360E8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8013918C 001360EC 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 80139190 001360F0 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 80139194 001360F4 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 80139198 001360F8 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 8013919C 001360FC 7C 08 03 A6 */ mtlr r0 +/* 801391A0 00136100 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 801391A4 00136104 4E 80 00 20 */ blr + +.global __ct__7CBSStepFv +__ct__7CBSStepFv: +/* 801391A8 00136108 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 801391AC 0013610C 3C 80 80 3E */ lis r4, lbl_803E1718@ha +/* 801391B0 00136110 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l +/* 801391B4 00136114 90 A3 00 00 */ stw r5, 0(r3) +/* 801391B8 00136118 38 04 17 18 */ addi r0, r4, lbl_803E1718@l +/* 801391BC 0013611C 90 03 00 00 */ stw r0, 0(r3) +/* 801391C0 00136120 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSTaunt.s b/asm/Kyoto_CWD/BodyState/CBSTaunt.s new file mode 100644 index 00000000..37594496 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSTaunt.s @@ -0,0 +1,238 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__8CBSTauntFv +__dt__8CBSTauntFv: +/* 801492B0 00146210 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801492B4 00146214 7C 08 02 A6 */ mflr r0 +/* 801492B8 00146218 90 01 00 14 */ stw r0, 0x14(r1) +/* 801492BC 0014621C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801492C0 00146220 7C 7F 1B 79 */ or. r31, r3, r3 +/* 801492C4 00146224 41 82 00 30 */ beq lbl_801492F4 +/* 801492C8 00146228 3C 60 80 3E */ lis r3, lbl_803E2390@ha +/* 801492CC 0014622C 38 03 23 90 */ addi r0, r3, lbl_803E2390@l +/* 801492D0 00146230 90 1F 00 00 */ stw r0, 0(r31) +/* 801492D4 00146234 41 82 00 10 */ beq lbl_801492E4 +/* 801492D8 00146238 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 801492DC 0014623C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 801492E0 00146240 90 1F 00 00 */ stw r0, 0(r31) +lbl_801492E4: +/* 801492E4 00146244 7C 80 07 35 */ extsh. r0, r4 +/* 801492E8 00146248 40 81 00 0C */ ble lbl_801492F4 +/* 801492EC 0014624C 7F E3 FB 78 */ mr r3, r31 +/* 801492F0 00146250 48 1C C6 41 */ bl Free__7CMemoryFPCv +lbl_801492F4: +/* 801492F4 00146254 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801492F8 00146258 7F E3 FB 78 */ mr r3, r31 +/* 801492FC 0014625C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80149300 00146260 7C 08 03 A6 */ mtlr r0 +/* 80149304 00146264 38 21 00 10 */ addi r1, r1, 0x10 +/* 80149308 00146268 4E 80 00 20 */ blr + +.global GetBodyStateTransition__8CBSTauntFfR15CBodyController +GetBodyStateTransition__8CBSTauntFfR15CBodyController: +/* 8014930C 0014626C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80149310 00146270 7C 08 02 A6 */ mflr r0 +/* 80149314 00146274 90 01 00 14 */ stw r0, 0x14(r1) +/* 80149318 00146278 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8014931C 0014627C 93 C1 00 08 */ stw r30, 8(r1) +/* 80149320 00146280 7C 9E 23 78 */ mr r30, r4 +/* 80149324 00146284 3B FE 00 04 */ addi r31, r30, 4 +/* 80149328 00146288 38 80 00 0F */ li r4, 0xf +/* 8014932C 0014628C 7F E3 FB 78 */ mr r3, r31 +/* 80149330 00146290 4B FE 81 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80149334 00146294 28 03 00 00 */ cmplwi r3, 0 +/* 80149338 00146298 41 82 00 0C */ beq lbl_80149344 +/* 8014933C 0014629C 38 60 00 0E */ li r3, 0xe +/* 80149340 001462A0 48 00 00 88 */ b lbl_801493C8 +lbl_80149344: +/* 80149344 001462A4 7F E3 FB 78 */ mr r3, r31 +/* 80149348 001462A8 38 80 00 03 */ li r4, 3 +/* 8014934C 001462AC 4B FE 81 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80149350 001462B0 28 03 00 00 */ cmplwi r3, 0 +/* 80149354 001462B4 41 82 00 0C */ beq lbl_80149360 +/* 80149358 001462B8 38 60 00 00 */ li r3, 0 +/* 8014935C 001462BC 48 00 00 6C */ b lbl_801493C8 +lbl_80149360: +/* 80149360 001462C0 7F E3 FB 78 */ mr r3, r31 +/* 80149364 001462C4 38 80 00 09 */ li r4, 9 +/* 80149368 001462C8 4B FE 80 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8014936C 001462CC 28 03 00 00 */ cmplwi r3, 0 +/* 80149370 001462D0 41 82 00 0C */ beq lbl_8014937C +/* 80149374 001462D4 38 60 00 0A */ li r3, 0xa +/* 80149378 001462D8 48 00 00 50 */ b lbl_801493C8 +lbl_8014937C: +/* 8014937C 001462DC 7F E3 FB 78 */ mr r3, r31 +/* 80149380 001462E0 38 80 00 04 */ li r4, 4 +/* 80149384 001462E4 4B FE 80 CD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80149388 001462E8 28 03 00 00 */ cmplwi r3, 0 +/* 8014938C 001462EC 41 82 00 0C */ beq lbl_80149398 +/* 80149390 001462F0 38 60 00 06 */ li r3, 6 +/* 80149394 001462F4 48 00 00 34 */ b lbl_801493C8 +lbl_80149398: +/* 80149398 001462F8 7F E3 FB 78 */ mr r3, r31 +/* 8014939C 001462FC 38 80 00 16 */ li r4, 0x16 +/* 801493A0 00146300 4B FE 80 B1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801493A4 00146304 28 03 00 00 */ cmplwi r3, 0 +/* 801493A8 00146308 41 82 00 0C */ beq lbl_801493B4 +/* 801493AC 0014630C 38 60 00 05 */ li r3, 5 +/* 801493B0 00146310 48 00 00 18 */ b lbl_801493C8 +lbl_801493B4: +/* 801493B4 00146314 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 801493B8 00146318 38 60 FF FF */ li r3, -1 +/* 801493BC 0014631C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801493C0 00146320 41 82 00 08 */ beq lbl_801493C8 +/* 801493C4 00146324 38 60 00 05 */ li r3, 5 +lbl_801493C8: +/* 801493C8 00146328 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801493CC 0014632C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801493D0 00146330 83 C1 00 08 */ lwz r30, 8(r1) +/* 801493D4 00146334 7C 08 03 A6 */ mtlr r0 +/* 801493D8 00146338 38 21 00 10 */ addi r1, r1, 0x10 +/* 801493DC 0014633C 4E 80 00 20 */ blr + +.global Shutdown__8CBSTauntFR15CBodyController +Shutdown__8CBSTauntFR15CBodyController: +/* 801493E0 00146340 4E 80 00 20 */ blr + +.global UpdateBody__8CBSTauntFfR15CBodyControllerR13CStateManager +UpdateBody__8CBSTauntFfR15CBodyControllerR13CStateManager: +/* 801493E4 00146344 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801493E8 00146348 7C 08 02 A6 */ mflr r0 +/* 801493EC 0014634C 90 01 00 24 */ stw r0, 0x24(r1) +/* 801493F0 00146350 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 801493F4 00146354 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 801493F8 00146358 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801493FC 0014635C 93 C1 00 08 */ stw r30, 8(r1) +/* 80149400 00146360 FF E0 08 90 */ fmr f31, f1 +/* 80149404 00146364 7C 9E 23 78 */ mr r30, r4 +/* 80149408 00146368 4B FF FF 05 */ bl GetBodyStateTransition__8CBSTauntFfR15CBodyController +/* 8014940C 0014636C 7C 7F 1B 78 */ mr r31, r3 +/* 80149410 00146370 2C 1F FF FF */ cmpwi r31, -1 +/* 80149414 00146374 40 82 00 50 */ bne lbl_80149464 +/* 80149418 00146378 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8014941C 0014637C C0 22 9C D0 */ lfs f1, lbl_805AB9F0@sda21(r2) +/* 80149420 00146380 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 80149424 00146384 38 00 00 00 */ li r0, 0 +/* 80149428 00146388 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8014942C 0014638C 40 82 00 1C */ bne lbl_80149448 +/* 80149430 00146390 C0 03 00 04 */ lfs f0, 4(r3) +/* 80149434 00146394 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80149438 00146398 40 82 00 10 */ bne lbl_80149448 +/* 8014943C 0014639C C0 03 00 08 */ lfs f0, 8(r3) +/* 80149440 001463A0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80149444 001463A4 41 82 00 08 */ beq lbl_8014944C +lbl_80149448: +/* 80149448 001463A8 38 00 00 01 */ li r0, 1 +lbl_8014944C: +/* 8014944C 001463AC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80149450 001463B0 41 82 00 14 */ beq lbl_80149464 +/* 80149454 001463B4 FC 20 F8 90 */ fmr f1, f31 +/* 80149458 001463B8 7F C3 F3 78 */ mr r3, r30 +/* 8014945C 001463BC 38 9E 00 1C */ addi r4, r30, 0x1c +/* 80149460 001463C0 4B FF 12 45 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_80149464: +/* 80149464 001463C4 7F E3 FB 78 */ mr r3, r31 +/* 80149468 001463C8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8014946C 001463CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80149470 001463D0 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80149474 001463D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80149478 001463D8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8014947C 001463DC 7C 08 03 A6 */ mtlr r0 +/* 80149480 001463E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80149484 001463E4 4E 80 00 20 */ blr + +.global Start__8CBSTauntFR15CBodyControllerR13CStateManager +Start__8CBSTauntFR15CBodyControllerR13CStateManager: +/* 80149488 001463E8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8014948C 001463EC 7C 08 02 A6 */ mflr r0 +/* 80149490 001463F0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80149494 001463F4 93 E1 00 AC */ stw r31, 0xac(r1) +/* 80149498 001463F8 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8014949C 001463FC 7C BE 2B 78 */ mr r30, r5 +/* 801494A0 00146400 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 801494A4 00146404 7C 9D 23 78 */ mr r29, r4 +/* 801494A8 00146408 38 7D 00 04 */ addi r3, r29, 4 +/* 801494AC 0014640C 38 80 00 12 */ li r4, 0x12 +/* 801494B0 00146410 4B FE 7F A1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801494B4 00146414 83 E3 00 08 */ lwz r31, 8(r3) +/* 801494B8 00146418 38 61 00 10 */ addi r3, r1, 0x10 +/* 801494BC 0014641C 48 19 9B C1 */ bl NoParameter__12CPASAnimParmFv +/* 801494C0 00146420 38 61 00 18 */ addi r3, r1, 0x18 +/* 801494C4 00146424 48 19 9B B9 */ bl NoParameter__12CPASAnimParmFv +/* 801494C8 00146428 38 61 00 20 */ addi r3, r1, 0x20 +/* 801494CC 0014642C 48 19 9B B1 */ bl NoParameter__12CPASAnimParmFv +/* 801494D0 00146430 38 61 00 28 */ addi r3, r1, 0x28 +/* 801494D4 00146434 48 19 9B A9 */ bl NoParameter__12CPASAnimParmFv +/* 801494D8 00146438 38 61 00 30 */ addi r3, r1, 0x30 +/* 801494DC 0014643C 48 19 9B A1 */ bl NoParameter__12CPASAnimParmFv +/* 801494E0 00146440 38 61 00 38 */ addi r3, r1, 0x38 +/* 801494E4 00146444 48 19 9B 99 */ bl NoParameter__12CPASAnimParmFv +/* 801494E8 00146448 38 61 00 40 */ addi r3, r1, 0x40 +/* 801494EC 0014644C 48 19 9B 91 */ bl NoParameter__12CPASAnimParmFv +/* 801494F0 00146450 7F E4 FB 78 */ mr r4, r31 +/* 801494F4 00146454 38 61 00 48 */ addi r3, r1, 0x48 +/* 801494F8 00146458 48 19 9A 8D */ bl FromEnum__12CPASAnimParmFi +/* 801494FC 0014645C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80149500 00146460 38 01 00 10 */ addi r0, r1, 0x10 +/* 80149504 00146464 90 61 00 08 */ stw r3, 8(r1) +/* 80149508 00146468 38 61 00 50 */ addi r3, r1, 0x50 +/* 8014950C 0014646C 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80149510 00146470 38 C1 00 40 */ addi r6, r1, 0x40 +/* 80149514 00146474 90 01 00 0C */ stw r0, 0xc(r1) +/* 80149518 00146478 38 E1 00 38 */ addi r7, r1, 0x38 +/* 8014951C 0014647C 39 01 00 30 */ addi r8, r1, 0x30 +/* 80149520 00146480 39 21 00 28 */ addi r9, r1, 0x28 +/* 80149524 00146484 39 41 00 20 */ addi r10, r1, 0x20 +/* 80149528 00146488 38 80 00 10 */ li r4, 0x10 +/* 8014952C 0014648C 4B F3 3D 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80149530 00146490 80 BE 09 00 */ lwz r5, 0x900(r30) +/* 80149534 00146494 7F A3 EB 78 */ mr r3, r29 +/* 80149538 00146498 38 81 00 50 */ addi r4, r1, 0x50 +/* 8014953C 0014649C 4B FF 0E 6D */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +/* 80149540 001464A0 34 A1 00 54 */ addic. r5, r1, 0x54 +/* 80149544 001464A4 41 82 00 58 */ beq lbl_8014959C +/* 80149548 001464A8 80 C5 00 00 */ lwz r6, 0(r5) +/* 8014954C 001464AC 38 60 00 00 */ li r3, 0 +/* 80149550 001464B0 2C 06 00 00 */ cmpwi r6, 0 +/* 80149554 001464B4 40 81 00 40 */ ble lbl_80149594 +/* 80149558 001464B8 2C 06 00 08 */ cmpwi r6, 8 +/* 8014955C 001464BC 38 86 FF F8 */ addi r4, r6, -8 +/* 80149560 001464C0 40 81 00 20 */ ble lbl_80149580 +/* 80149564 001464C4 38 04 00 07 */ addi r0, r4, 7 +/* 80149568 001464C8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8014956C 001464CC 7C 09 03 A6 */ mtctr r0 +/* 80149570 001464D0 2C 04 00 00 */ cmpwi r4, 0 +/* 80149574 001464D4 40 81 00 0C */ ble lbl_80149580 +lbl_80149578: +/* 80149578 001464D8 38 63 00 08 */ addi r3, r3, 8 +/* 8014957C 001464DC 42 00 FF FC */ bdnz lbl_80149578 +lbl_80149580: +/* 80149580 001464E0 7C 03 30 50 */ subf r0, r3, r6 +/* 80149584 001464E4 7C 09 03 A6 */ mtctr r0 +/* 80149588 001464E8 7C 03 30 00 */ cmpw r3, r6 +/* 8014958C 001464EC 40 80 00 08 */ bge lbl_80149594 +lbl_80149590: +/* 80149590 001464F0 42 00 00 00 */ bdnz lbl_80149590 +lbl_80149594: +/* 80149594 001464F4 38 00 00 00 */ li r0, 0 +/* 80149598 001464F8 90 05 00 00 */ stw r0, 0(r5) +lbl_8014959C: +/* 8014959C 001464FC 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 801495A0 00146500 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 801495A4 00146504 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 801495A8 00146508 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 801495AC 0014650C 7C 08 03 A6 */ mtlr r0 +/* 801495B0 00146510 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 801495B4 00146514 4E 80 00 20 */ blr + +.global __ct__8CBSTauntFv +__ct__8CBSTauntFv: +/* 801495B8 00146518 3C A0 80 3E */ lis r5, lbl_803E1318@ha +/* 801495BC 0014651C 3C 80 80 3E */ lis r4, lbl_803E2390@ha +/* 801495C0 00146520 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l +/* 801495C4 00146524 90 A3 00 00 */ stw r5, 0(r3) +/* 801495C8 00146528 38 04 23 90 */ addi r0, r4, lbl_803E2390@l +/* 801495CC 0014652C 90 03 00 00 */ stw r0, 0(r3) +/* 801495D0 00146530 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBSTurn.s b/asm/Kyoto_CWD/BodyState/CBSTurn.s new file mode 100644 index 00000000..011cfa59 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBSTurn.s @@ -0,0 +1,827 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__12CBSFlyerTurnFv +__dt__12CBSFlyerTurnFv: +/* 801391C4 00136124 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801391C8 00136128 7C 08 02 A6 */ mflr r0 +/* 801391CC 0013612C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801391D0 00136130 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801391D4 00136134 7C 7F 1B 79 */ or. r31, r3, r3 +/* 801391D8 00136138 41 82 00 40 */ beq lbl_80139218 +/* 801391DC 0013613C 3C 60 80 3E */ lis r3, lbl_803E1750@ha +/* 801391E0 00136140 38 03 17 50 */ addi r0, r3, lbl_803E1750@l +/* 801391E4 00136144 90 1F 00 00 */ stw r0, 0(r31) +/* 801391E8 00136148 41 82 00 20 */ beq lbl_80139208 +/* 801391EC 0013614C 3C 60 80 3E */ lis r3, lbl_803E178C@ha +/* 801391F0 00136150 38 03 17 8C */ addi r0, r3, lbl_803E178C@l +/* 801391F4 00136154 90 1F 00 00 */ stw r0, 0(r31) +/* 801391F8 00136158 41 82 00 10 */ beq lbl_80139208 +/* 801391FC 0013615C 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 80139200 00136160 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80139204 00136164 90 1F 00 00 */ stw r0, 0(r31) +lbl_80139208: +/* 80139208 00136168 7C 80 07 35 */ extsh. r0, r4 +/* 8013920C 0013616C 40 81 00 0C */ ble lbl_80139218 +/* 80139210 00136170 7F E3 FB 78 */ mr r3, r31 +/* 80139214 00136174 48 1D C7 1D */ bl Free__7CMemoryFPCv +lbl_80139218: +/* 80139218 00136178 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013921C 0013617C 7F E3 FB 78 */ mr r3, r31 +/* 80139220 00136180 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80139224 00136184 7C 08 03 A6 */ mtlr r0 +/* 80139228 00136188 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013922C 0013618C 4E 80 00 20 */ blr + +.global CanShoot__7CBSTurnCFv +CanShoot__7CBSTurnCFv: +/* 80139230 00136190 38 60 00 01 */ li r3, 1 +/* 80139234 00136194 4E 80 00 20 */ blr + +.global UpdateBody__12CBSFlyerTurnFfR15CBodyControllerR13CStateManager +UpdateBody__12CBSFlyerTurnFfR15CBodyControllerR13CStateManager: +/* 80139238 00136198 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8013923C 0013619C 7C 08 02 A6 */ mflr r0 +/* 80139240 001361A0 90 01 00 64 */ stw r0, 0x64(r1) +/* 80139244 001361A4 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80139248 001361A8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8013924C 001361AC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80139250 001361B0 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80139254 001361B4 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80139258 001361B8 FF E0 08 90 */ fmr f31, f1 +/* 8013925C 001361BC 7C 9E 23 78 */ mr r30, r4 +/* 80139260 001361C0 7C 7D 1B 78 */ mr r29, r3 +/* 80139264 001361C4 7C BF 2B 78 */ mr r31, r5 +/* 80139268 001361C8 7F C3 F3 78 */ mr r3, r30 +/* 8013926C 001361CC 48 00 11 E9 */ bl GetPASDatabase__15CBodyControllerCFv +/* 80139270 001361D0 38 80 00 08 */ li r4, 8 +/* 80139274 001361D4 48 1A BC 51 */ bl GetAnimState__12CPASDatabaseCFi +/* 80139278 001361D8 80 03 00 18 */ lwz r0, 0x18(r3) +/* 8013927C 001361DC 28 00 00 00 */ cmplwi r0, 0 +/* 80139280 001361E0 41 82 00 20 */ beq lbl_801392A0 +/* 80139284 001361E4 FC 20 F8 90 */ fmr f1, f31 +/* 80139288 001361E8 7F A3 EB 78 */ mr r3, r29 +/* 8013928C 001361EC 7F C4 F3 78 */ mr r4, r30 +/* 80139290 001361F0 7F E5 FB 78 */ mr r5, r31 +/* 80139294 001361F4 48 00 06 F5 */ bl UpdateBody__7CBSTurnFfR15CBodyControllerR13CStateManager +/* 80139298 001361F8 7C 7F 1B 78 */ mr r31, r3 +/* 8013929C 001361FC 48 00 01 0C */ b lbl_801393A8 +lbl_801392A0: +/* 801392A0 00136200 7F A3 EB 78 */ mr r3, r29 +/* 801392A4 00136204 FC 20 F8 90 */ fmr f1, f31 +/* 801392A8 00136208 81 9D 00 00 */ lwz r12, 0(r29) +/* 801392AC 0013620C 7F C4 F3 78 */ mr r4, r30 +/* 801392B0 00136210 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 801392B4 00136214 7D 89 03 A6 */ mtctr r12 +/* 801392B8 00136218 4E 80 04 21 */ bctrl +/* 801392BC 0013621C 7C 7F 1B 78 */ mr r31, r3 +/* 801392C0 00136220 2C 1F FF FF */ cmpwi r31, -1 +/* 801392C4 00136224 40 82 00 E4 */ bne lbl_801393A8 +/* 801392C8 00136228 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 801392CC 0013622C 38 00 00 00 */ li r0, 0 +/* 801392D0 00136230 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) +/* 801392D4 00136234 C0 5E 00 14 */ lfs f2, 0x14(r30) +/* 801392D8 00136238 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 801392DC 0013623C C0 7E 00 18 */ lfs f3, 0x18(r30) +/* 801392E0 00136240 40 82 00 14 */ bne lbl_801392F4 +/* 801392E4 00136244 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 801392E8 00136248 40 82 00 0C */ bne lbl_801392F4 +/* 801392EC 0013624C FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 801392F0 00136250 41 82 00 08 */ beq lbl_801392F8 +lbl_801392F4: +/* 801392F4 00136254 38 00 00 01 */ li r0, 1 +lbl_801392F8: +/* 801392F8 00136258 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 801392FC 0013625C 41 82 00 84 */ beq lbl_80139380 +/* 80139300 00136260 38 61 00 18 */ addi r3, r1, 0x18 +/* 80139304 00136264 48 1D AE FD */ bl __ct__9CVector2fFff +/* 80139308 00136268 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8013930C 0013626C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80139310 00136270 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80139314 00136274 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80139318 00136278 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8013931C 0013627C 80 9E 00 00 */ lwz r4, 0(r30) +/* 80139320 00136280 C0 24 00 38 */ lfs f1, 0x38(r4) +/* 80139324 00136284 C0 44 00 48 */ lfs f2, 0x48(r4) +/* 80139328 00136288 48 1D AE D9 */ bl __ct__9CVector2fFff +/* 8013932C 0013628C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80139330 00136290 38 61 00 08 */ addi r3, r1, 8 +/* 80139334 00136294 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80139338 00136298 FC 40 00 50 */ fneg f2, f0 +/* 8013933C 0013629C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80139340 001362A0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80139344 001362A4 48 1D AE BD */ bl __ct__9CVector2fFff +/* 80139348 001362A8 C0 21 00 08 */ lfs f1, 8(r1) +/* 8013934C 001362AC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80139350 001362B0 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80139354 001362B4 38 9D 00 08 */ addi r4, r29, 8 +/* 80139358 001362B8 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8013935C 001362BC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80139360 001362C0 48 1D AC 49 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 80139364 001362C4 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) +/* 80139368 001362C8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013936C 001362CC 40 81 00 0C */ ble lbl_80139378 +/* 80139370 001362D0 38 00 00 01 */ li r0, 1 +/* 80139374 001362D4 48 00 00 08 */ b lbl_8013937C +lbl_80139378: +/* 80139378 001362D8 38 00 00 00 */ li r0, 0 +lbl_8013937C: +/* 8013937C 001362DC 90 1D 00 10 */ stw r0, 0x10(r29) +lbl_80139380: +/* 80139380 001362E0 C0 5D 00 08 */ lfs f2, 8(r29) +/* 80139384 001362E4 FC 20 F8 90 */ fmr f1, f31 +/* 80139388 001362E8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) +/* 8013938C 001362EC 7F C3 F3 78 */ mr r3, r30 +/* 80139390 001362F0 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80139394 001362F4 38 81 00 30 */ addi r4, r1, 0x30 +/* 80139398 001362F8 C0 5D 00 0C */ lfs f2, 0xc(r29) +/* 8013939C 001362FC D0 41 00 34 */ stfs f2, 0x34(r1) +/* 801393A0 00136300 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 801393A4 00136304 48 00 13 01 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff +lbl_801393A8: +/* 801393A8 00136308 7F E3 FB 78 */ mr r3, r31 +/* 801393AC 0013630C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 801393B0 00136310 80 01 00 64 */ lwz r0, 0x64(r1) +/* 801393B4 00136314 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 801393B8 00136318 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 801393BC 0013631C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 801393C0 00136320 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 801393C4 00136324 7C 08 03 A6 */ mtlr r0 +/* 801393C8 00136328 38 21 00 60 */ addi r1, r1, 0x60 +/* 801393CC 0013632C 4E 80 00 20 */ blr + +.global Start__12CBSFlyerTurnFR15CBodyControllerR13CStateManager +Start__12CBSFlyerTurnFR15CBodyControllerR13CStateManager: +/* 801393D0 00136330 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 801393D4 00136334 7C 08 02 A6 */ mflr r0 +/* 801393D8 00136338 90 01 01 04 */ stw r0, 0x104(r1) +/* 801393DC 0013633C 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 801393E0 00136340 7C 7F 1B 78 */ mr r31, r3 +/* 801393E4 00136344 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 801393E8 00136348 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 801393EC 0013634C 7C BD 2B 78 */ mr r29, r5 +/* 801393F0 00136350 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 801393F4 00136354 7C 9C 23 78 */ mr r28, r4 +/* 801393F8 00136358 7F 83 E3 78 */ mr r3, r28 +/* 801393FC 0013635C 48 00 10 59 */ bl GetPASDatabase__15CBodyControllerCFv +/* 80139400 00136360 38 80 00 08 */ li r4, 8 +/* 80139404 00136364 7C 7E 1B 78 */ mr r30, r3 +/* 80139408 00136368 48 1A BA BD */ bl GetAnimState__12CPASDatabaseCFi +/* 8013940C 0013636C 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80139410 00136370 28 00 00 00 */ cmplwi r0, 0 +/* 80139414 00136374 41 82 00 18 */ beq lbl_8013942C +/* 80139418 00136378 7F E3 FB 78 */ mr r3, r31 +/* 8013941C 0013637C 7F 84 E3 78 */ mr r4, r28 +/* 80139420 00136380 7F A5 EB 78 */ mr r5, r29 +/* 80139424 00136384 48 00 05 F9 */ bl Start__7CBSTurnFR15CBodyControllerR13CStateManager +/* 80139428 00136388 48 00 01 DC */ b lbl_80139604 +lbl_8013942C: +/* 8013942C 0013638C C0 3C 00 10 */ lfs f1, 0x10(r28) +/* 80139430 00136390 38 61 00 68 */ addi r3, r1, 0x68 +/* 80139434 00136394 C0 5C 00 14 */ lfs f2, 0x14(r28) +/* 80139438 00136398 48 1D AD C9 */ bl __ct__9CVector2fFff +/* 8013943C 0013639C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80139440 001363A0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80139444 001363A4 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80139448 001363A8 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8013944C 001363AC D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80139450 001363B0 80 9C 00 00 */ lwz r4, 0(r28) +/* 80139454 001363B4 C0 24 00 38 */ lfs f1, 0x38(r4) +/* 80139458 001363B8 C0 44 00 48 */ lfs f2, 0x48(r4) +/* 8013945C 001363BC 48 1D AD A5 */ bl __ct__9CVector2fFff +/* 80139460 001363C0 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 80139464 001363C4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80139468 001363C8 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 8013946C 001363CC FC 40 00 50 */ fneg f2, f0 +/* 80139470 001363D0 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80139474 001363D4 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 80139478 001363D8 48 1D AD 89 */ bl __ct__9CVector2fFff +/* 8013947C 001363DC C0 21 00 58 */ lfs f1, 0x58(r1) +/* 80139480 001363E0 38 61 00 70 */ addi r3, r1, 0x70 +/* 80139484 001363E4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80139488 001363E8 38 9F 00 08 */ addi r4, r31, 8 +/* 8013948C 001363EC D0 21 00 70 */ stfs f1, 0x70(r1) +/* 80139490 001363F0 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80139494 001363F4 48 1D AB 15 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 80139498 001363F8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) +/* 8013949C 001363FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801394A0 00136400 40 81 00 0C */ ble lbl_801394AC +/* 801394A4 00136404 38 00 00 01 */ li r0, 1 +/* 801394A8 00136408 48 00 00 08 */ b lbl_801394B0 +lbl_801394AC: +/* 801394AC 0013640C 38 00 00 00 */ li r0, 0 +lbl_801394B0: +/* 801394B0 00136410 90 1F 00 10 */ stw r0, 0x10(r31) +/* 801394B4 00136414 38 61 00 18 */ addi r3, r1, 0x18 +/* 801394B8 00136418 83 FC 02 EC */ lwz r31, 0x2ec(r28) +/* 801394BC 0013641C 48 1A 9B C1 */ bl NoParameter__12CPASAnimParmFv +/* 801394C0 00136420 38 61 00 20 */ addi r3, r1, 0x20 +/* 801394C4 00136424 48 1A 9B B9 */ bl NoParameter__12CPASAnimParmFv +/* 801394C8 00136428 38 61 00 28 */ addi r3, r1, 0x28 +/* 801394CC 0013642C 48 1A 9B B1 */ bl NoParameter__12CPASAnimParmFv +/* 801394D0 00136430 38 61 00 30 */ addi r3, r1, 0x30 +/* 801394D4 00136434 48 1A 9B A9 */ bl NoParameter__12CPASAnimParmFv +/* 801394D8 00136438 38 61 00 38 */ addi r3, r1, 0x38 +/* 801394DC 0013643C 48 1A 9B A1 */ bl NoParameter__12CPASAnimParmFv +/* 801394E0 00136440 38 61 00 40 */ addi r3, r1, 0x40 +/* 801394E4 00136444 48 1A 9B 99 */ bl NoParameter__12CPASAnimParmFv +/* 801394E8 00136448 7F E4 FB 78 */ mr r4, r31 +/* 801394EC 0013644C 38 61 00 48 */ addi r3, r1, 0x48 +/* 801394F0 00136450 48 1A 9A 95 */ bl FromEnum__12CPASAnimParmFi +/* 801394F4 00136454 38 61 00 50 */ addi r3, r1, 0x50 +/* 801394F8 00136458 38 80 00 00 */ li r4, 0 +/* 801394FC 0013645C 48 1A 9A 89 */ bl FromEnum__12CPASAnimParmFi +/* 80139500 00136460 38 61 00 20 */ addi r3, r1, 0x20 +/* 80139504 00136464 38 01 00 18 */ addi r0, r1, 0x18 +/* 80139508 00136468 90 61 00 08 */ stw r3, 8(r1) +/* 8013950C 0013646C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80139510 00136470 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80139514 00136474 38 C1 00 48 */ addi r6, r1, 0x48 +/* 80139518 00136478 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013951C 0013647C 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80139520 00136480 39 01 00 38 */ addi r8, r1, 0x38 +/* 80139524 00136484 39 21 00 30 */ addi r9, r1, 0x30 +/* 80139528 00136488 39 41 00 28 */ addi r10, r1, 0x28 +/* 8013952C 0013648C 38 80 00 05 */ li r4, 5 +/* 80139530 00136490 4B F4 3D 95 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80139534 00136494 80 DD 09 00 */ lwz r6, 0x900(r29) +/* 80139538 00136498 7F C4 F3 78 */ mr r4, r30 +/* 8013953C 0013649C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80139540 001364A0 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 80139544 001364A4 38 E0 FF FF */ li r7, -1 +/* 80139548 001364A8 48 1A BB 19 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 8013954C 001364AC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80139550 001364B0 80 1C 02 F8 */ lwz r0, 0x2f8(r28) +/* 80139554 001364B4 7C 03 00 00 */ cmpw r3, r0 +/* 80139558 001364B8 41 82 00 50 */ beq lbl_801395A8 +/* 8013955C 001364BC C0 02 9A 64 */ lfs f0, lbl_805AB784@sda21(r2) +/* 80139560 001364C0 38 00 00 00 */ li r0, 0 +/* 80139564 001364C4 38 C0 FF FF */ li r6, -1 +/* 80139568 001364C8 38 E0 00 01 */ li r7, 1 +/* 8013956C 001364CC 90 61 00 80 */ stw r3, 0x80(r1) +/* 80139570 001364D0 7F 83 E3 78 */ mr r3, r28 +/* 80139574 001364D4 38 81 00 80 */ addi r4, r1, 0x80 +/* 80139578 001364D8 38 A0 00 01 */ li r5, 1 +/* 8013957C 001364DC 90 C1 00 84 */ stw r6, 0x84(r1) +/* 80139580 001364E0 38 C0 00 00 */ li r6, 0 +/* 80139584 001364E4 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80139588 001364E8 98 E1 00 8C */ stb r7, 0x8c(r1) +/* 8013958C 001364EC 90 01 00 90 */ stw r0, 0x90(r1) +/* 80139590 001364F0 90 01 00 94 */ stw r0, 0x94(r1) +/* 80139594 001364F4 98 01 00 98 */ stb r0, 0x98(r1) +/* 80139598 001364F8 90 01 00 9C */ stw r0, 0x9c(r1) +/* 8013959C 001364FC 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 801395A0 00136500 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 801395A4 00136504 48 00 13 79 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +lbl_801395A8: +/* 801395A8 00136508 34 A1 00 AC */ addic. r5, r1, 0xac +/* 801395AC 0013650C 41 82 00 58 */ beq lbl_80139604 +/* 801395B0 00136510 80 C5 00 00 */ lwz r6, 0(r5) +/* 801395B4 00136514 38 60 00 00 */ li r3, 0 +/* 801395B8 00136518 2C 06 00 00 */ cmpwi r6, 0 +/* 801395BC 0013651C 40 81 00 40 */ ble lbl_801395FC +/* 801395C0 00136520 2C 06 00 08 */ cmpwi r6, 8 +/* 801395C4 00136524 38 86 FF F8 */ addi r4, r6, -8 +/* 801395C8 00136528 40 81 00 20 */ ble lbl_801395E8 +/* 801395CC 0013652C 38 04 00 07 */ addi r0, r4, 7 +/* 801395D0 00136530 54 00 E8 FE */ srwi r0, r0, 3 +/* 801395D4 00136534 7C 09 03 A6 */ mtctr r0 +/* 801395D8 00136538 2C 04 00 00 */ cmpwi r4, 0 +/* 801395DC 0013653C 40 81 00 0C */ ble lbl_801395E8 +lbl_801395E0: +/* 801395E0 00136540 38 63 00 08 */ addi r3, r3, 8 +/* 801395E4 00136544 42 00 FF FC */ bdnz lbl_801395E0 +lbl_801395E8: +/* 801395E8 00136548 7C 03 30 50 */ subf r0, r3, r6 +/* 801395EC 0013654C 7C 09 03 A6 */ mtctr r0 +/* 801395F0 00136550 7C 03 30 00 */ cmpw r3, r6 +/* 801395F4 00136554 40 80 00 08 */ bge lbl_801395FC +lbl_801395F8: +/* 801395F8 00136558 42 00 00 00 */ bdnz lbl_801395F8 +lbl_801395FC: +/* 801395FC 0013655C 38 00 00 00 */ li r0, 0 +/* 80139600 00136560 90 05 00 00 */ stw r0, 0(r5) +lbl_80139604: +/* 80139604 00136564 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80139608 00136568 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8013960C 0013656C 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 80139610 00136570 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 80139614 00136574 83 81 00 F0 */ lwz r28, 0xf0(r1) +/* 80139618 00136578 7C 08 03 A6 */ mtlr r0 +/* 8013961C 0013657C 38 21 01 00 */ addi r1, r1, 0x100 +/* 80139620 00136580 4E 80 00 20 */ blr + +.global __ct__12CBSFlyerTurnFv +__ct__12CBSFlyerTurnFv: +/* 80139624 00136584 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80139628 00136588 7C 08 02 A6 */ mflr r0 +/* 8013962C 0013658C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80139630 00136590 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80139634 00136594 7C 7F 1B 78 */ mr r31, r3 +/* 80139638 00136598 48 00 06 A9 */ bl __ct__7CBSTurnFv +/* 8013963C 0013659C 3C 80 80 3E */ lis r4, lbl_803E1750@ha +/* 80139640 001365A0 7F E3 FB 78 */ mr r3, r31 +/* 80139644 001365A4 38 04 17 50 */ addi r0, r4, lbl_803E1750@l +/* 80139648 001365A8 90 1F 00 00 */ stw r0, 0(r31) +/* 8013964C 001365AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80139650 001365B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80139654 001365B4 7C 08 03 A6 */ mtlr r0 +/* 80139658 001365B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013965C 001365BC 4E 80 00 20 */ blr + +.global __dt__7CBSTurnFv +__dt__7CBSTurnFv: +/* 80139660 001365C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80139664 001365C4 7C 08 02 A6 */ mflr r0 +/* 80139668 001365C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013966C 001365CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80139670 001365D0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80139674 001365D4 41 82 00 30 */ beq lbl_801396A4 +/* 80139678 001365D8 3C 60 80 3E */ lis r3, lbl_803E178C@ha +/* 8013967C 001365DC 38 03 17 8C */ addi r0, r3, lbl_803E178C@l +/* 80139680 001365E0 90 1F 00 00 */ stw r0, 0(r31) +/* 80139684 001365E4 41 82 00 10 */ beq lbl_80139694 +/* 80139688 001365E8 3C 60 80 3E */ lis r3, lbl_803E1318@ha +/* 8013968C 001365EC 38 03 13 18 */ addi r0, r3, lbl_803E1318@l +/* 80139690 001365F0 90 1F 00 00 */ stw r0, 0(r31) +lbl_80139694: +/* 80139694 001365F4 7C 80 07 35 */ extsh. r0, r4 +/* 80139698 001365F8 40 81 00 0C */ ble lbl_801396A4 +/* 8013969C 001365FC 7F E3 FB 78 */ mr r3, r31 +/* 801396A0 00136600 48 1D C2 91 */ bl Free__7CMemoryFPCv +lbl_801396A4: +/* 801396A4 00136604 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801396A8 00136608 7F E3 FB 78 */ mr r3, r31 +/* 801396AC 0013660C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801396B0 00136610 7C 08 03 A6 */ mtlr r0 +/* 801396B4 00136614 38 21 00 10 */ addi r1, r1, 0x10 +/* 801396B8 00136618 4E 80 00 20 */ blr + +.global GetBodyStateTransition__7CBSTurnFfR15CBodyController +GetBodyStateTransition__7CBSTurnFfR15CBodyController: +/* 801396BC 0013661C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801396C0 00136620 7C 08 02 A6 */ mflr r0 +/* 801396C4 00136624 90 01 00 24 */ stw r0, 0x24(r1) +/* 801396C8 00136628 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801396CC 0013662C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801396D0 00136630 7C 9E 23 78 */ mr r30, r4 +/* 801396D4 00136634 3B FE 00 04 */ addi r31, r30, 4 +/* 801396D8 00136638 38 80 00 0F */ li r4, 0xf +/* 801396DC 0013663C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801396E0 00136640 7C 7D 1B 78 */ mr r29, r3 +/* 801396E4 00136644 7F E3 FB 78 */ mr r3, r31 +/* 801396E8 00136648 4B FF 7D 69 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801396EC 0013664C 28 03 00 00 */ cmplwi r3, 0 +/* 801396F0 00136650 41 82 00 0C */ beq lbl_801396FC +/* 801396F4 00136654 38 60 00 0E */ li r3, 0xe +/* 801396F8 00136658 48 00 01 B8 */ b lbl_801398B0 +lbl_801396FC: +/* 801396FC 0013665C 7F E3 FB 78 */ mr r3, r31 +/* 80139700 00136660 38 80 00 03 */ li r4, 3 +/* 80139704 00136664 4B FF 7D 4D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139708 00136668 28 03 00 00 */ cmplwi r3, 0 +/* 8013970C 0013666C 41 82 00 0C */ beq lbl_80139718 +/* 80139710 00136670 38 60 00 00 */ li r3, 0 +/* 80139714 00136674 48 00 01 9C */ b lbl_801398B0 +lbl_80139718: +/* 80139718 00136678 7F E3 FB 78 */ mr r3, r31 +/* 8013971C 0013667C 38 80 00 09 */ li r4, 9 +/* 80139720 00136680 4B FF 7D 31 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139724 00136684 28 03 00 00 */ cmplwi r3, 0 +/* 80139728 00136688 41 82 00 0C */ beq lbl_80139734 +/* 8013972C 0013668C 38 60 00 0A */ li r3, 0xa +/* 80139730 00136690 48 00 01 80 */ b lbl_801398B0 +lbl_80139734: +/* 80139734 00136694 7F E3 FB 78 */ mr r3, r31 +/* 80139738 00136698 38 80 00 04 */ li r4, 4 +/* 8013973C 0013669C 4B FF 7D 15 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139740 001366A0 28 03 00 00 */ cmplwi r3, 0 +/* 80139744 001366A4 41 82 00 0C */ beq lbl_80139750 +/* 80139748 001366A8 38 60 00 06 */ li r3, 6 +/* 8013974C 001366AC 48 00 01 64 */ b lbl_801398B0 +lbl_80139750: +/* 80139750 001366B0 7F E3 FB 78 */ mr r3, r31 +/* 80139754 001366B4 38 80 00 16 */ li r4, 0x16 +/* 80139758 001366B8 4B FF 7C F9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013975C 001366BC 28 03 00 00 */ cmplwi r3, 0 +/* 80139760 001366C0 41 82 00 0C */ beq lbl_8013976C +/* 80139764 001366C4 38 60 00 05 */ li r3, 5 +/* 80139768 001366C8 48 00 01 48 */ b lbl_801398B0 +lbl_8013976C: +/* 8013976C 001366CC 7F E3 FB 78 */ mr r3, r31 +/* 80139770 001366D0 38 80 00 0E */ li r4, 0xe +/* 80139774 001366D4 4B FF 7C DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139778 001366D8 28 03 00 00 */ cmplwi r3, 0 +/* 8013977C 001366DC 41 82 00 0C */ beq lbl_80139788 +/* 80139780 001366E0 38 60 00 0C */ li r3, 0xc +/* 80139784 001366E4 48 00 01 2C */ b lbl_801398B0 +lbl_80139788: +/* 80139788 001366E8 7F E3 FB 78 */ mr r3, r31 +/* 8013978C 001366EC 38 80 00 05 */ li r4, 5 +/* 80139790 001366F0 4B FF 7C C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139794 001366F4 28 03 00 00 */ cmplwi r3, 0 +/* 80139798 001366F8 41 82 00 0C */ beq lbl_801397A4 +/* 8013979C 001366FC 38 60 00 07 */ li r3, 7 +/* 801397A0 00136700 48 00 01 10 */ b lbl_801398B0 +lbl_801397A4: +/* 801397A4 00136704 7F E3 FB 78 */ mr r3, r31 +/* 801397A8 00136708 38 80 00 06 */ li r4, 6 +/* 801397AC 0013670C 4B FF 7C A5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801397B0 00136710 28 03 00 00 */ cmplwi r3, 0 +/* 801397B4 00136714 41 82 00 0C */ beq lbl_801397C0 +/* 801397B8 00136718 38 60 00 12 */ li r3, 0x12 +/* 801397BC 0013671C 48 00 00 F4 */ b lbl_801398B0 +lbl_801397C0: +/* 801397C0 00136720 7F E3 FB 78 */ mr r3, r31 +/* 801397C4 00136724 38 80 00 07 */ li r4, 7 +/* 801397C8 00136728 4B FF 7C 89 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801397CC 0013672C 28 03 00 00 */ cmplwi r3, 0 +/* 801397D0 00136730 41 82 00 0C */ beq lbl_801397DC +/* 801397D4 00136734 38 60 00 09 */ li r3, 9 +/* 801397D8 00136738 48 00 00 D8 */ b lbl_801398B0 +lbl_801397DC: +/* 801397DC 0013673C 7F E3 FB 78 */ mr r3, r31 +/* 801397E0 00136740 38 80 00 08 */ li r4, 8 +/* 801397E4 00136744 4B FF 7C 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801397E8 00136748 28 03 00 00 */ cmplwi r3, 0 +/* 801397EC 0013674C 41 82 00 0C */ beq lbl_801397F8 +/* 801397F0 00136750 38 60 00 0A */ li r3, 0xa +/* 801397F4 00136754 48 00 00 BC */ b lbl_801398B0 +lbl_801397F8: +/* 801397F8 00136758 7F E3 FB 78 */ mr r3, r31 +/* 801397FC 0013675C 38 80 00 10 */ li r4, 0x10 +/* 80139800 00136760 4B FF 7C 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139804 00136764 28 03 00 00 */ cmplwi r3, 0 +/* 80139808 00136768 41 82 00 0C */ beq lbl_80139814 +/* 8013980C 0013676C 38 60 00 0D */ li r3, 0xd +/* 80139810 00136770 48 00 00 A0 */ b lbl_801398B0 +lbl_80139814: +/* 80139814 00136774 7F E3 FB 78 */ mr r3, r31 +/* 80139818 00136778 38 80 00 01 */ li r4, 1 +/* 8013981C 0013677C 4B FF 7C 35 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139820 00136780 28 03 00 00 */ cmplwi r3, 0 +/* 80139824 00136784 41 82 00 0C */ beq lbl_80139830 +/* 80139828 00136788 38 60 00 03 */ li r3, 3 +/* 8013982C 0013678C 48 00 00 84 */ b lbl_801398B0 +lbl_80139830: +/* 80139830 00136790 7F E3 FB 78 */ mr r3, r31 +/* 80139834 00136794 38 80 00 13 */ li r4, 0x13 +/* 80139838 00136798 4B FF 7C 19 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8013983C 0013679C 28 03 00 00 */ cmplwi r3, 0 +/* 80139840 001367A0 41 82 00 0C */ beq lbl_8013984C +/* 80139844 001367A4 38 60 00 11 */ li r3, 0x11 +/* 80139848 001367A8 48 00 00 68 */ b lbl_801398B0 +lbl_8013984C: +/* 8013984C 001367AC 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 80139850 001367B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80139854 001367B4 40 82 00 50 */ bne lbl_801398A4 +/* 80139858 001367B8 7F A3 EB 78 */ mr r3, r29 +/* 8013985C 001367BC 7F C4 F3 78 */ mr r4, r30 +/* 80139860 001367C0 48 00 00 6D */ bl FacingDest__7CBSTurnCFR15CBodyController +/* 80139864 001367C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80139868 001367C8 40 82 00 3C */ bne lbl_801398A4 +/* 8013986C 001367CC C0 22 9A 60 */ lfs f1, lbl_805AB780@sda21(r2) +/* 80139870 001367D0 38 00 00 00 */ li r0, 0 +/* 80139874 001367D4 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80139878 001367D8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8013987C 001367DC 40 82 00 1C */ bne lbl_80139898 +/* 80139880 001367E0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80139884 001367E4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80139888 001367E8 40 82 00 10 */ bne lbl_80139898 +/* 8013988C 001367EC C0 1F 00 08 */ lfs f0, 8(r31) +/* 80139890 001367F0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80139894 001367F4 41 82 00 08 */ beq lbl_8013989C +lbl_80139898: +/* 80139898 001367F8 38 00 00 01 */ li r0, 1 +lbl_8013989C: +/* 8013989C 001367FC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 801398A0 00136800 41 82 00 0C */ beq lbl_801398AC +lbl_801398A4: +/* 801398A4 00136804 38 60 00 05 */ li r3, 5 +/* 801398A8 00136808 48 00 00 08 */ b lbl_801398B0 +lbl_801398AC: +/* 801398AC 0013680C 38 60 FF FF */ li r3, -1 +lbl_801398B0: +/* 801398B0 00136810 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801398B4 00136814 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801398B8 00136818 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801398BC 0013681C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 801398C0 00136820 7C 08 03 A6 */ mtlr r0 +/* 801398C4 00136824 38 21 00 20 */ addi r1, r1, 0x20 +/* 801398C8 00136828 4E 80 00 20 */ blr + +.global FacingDest__7CBSTurnCFR15CBodyController +FacingDest__7CBSTurnCFR15CBodyController: +/* 801398CC 0013682C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801398D0 00136830 7C 08 02 A6 */ mflr r0 +/* 801398D4 00136834 90 01 00 34 */ stw r0, 0x34(r1) +/* 801398D8 00136838 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801398DC 0013683C 7C 7F 1B 78 */ mr r31, r3 +/* 801398E0 00136840 38 61 00 10 */ addi r3, r1, 0x10 +/* 801398E4 00136844 80 84 00 00 */ lwz r4, 0(r4) +/* 801398E8 00136848 C0 24 00 38 */ lfs f1, 0x38(r4) +/* 801398EC 0013684C C0 44 00 48 */ lfs f2, 0x48(r4) +/* 801398F0 00136850 48 1D A9 11 */ bl __ct__9CVector2fFff +/* 801398F4 00136854 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 801398F8 00136858 38 61 00 08 */ addi r3, r1, 8 +/* 801398FC 0013685C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80139900 00136860 FC 40 00 50 */ fneg f2, f0 +/* 80139904 00136864 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80139908 00136868 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8013990C 0013686C 48 1D A8 F5 */ bl __ct__9CVector2fFff +/* 80139910 00136870 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80139914 00136874 C0 21 00 08 */ lfs f1, 8(r1) +/* 80139918 00136878 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8013991C 0013687C 2C 00 00 01 */ cmpwi r0, 1 +/* 80139920 00136880 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80139924 00136884 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80139928 00136888 40 82 00 24 */ bne lbl_8013994C +/* 8013992C 0013688C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80139930 00136890 38 9F 00 08 */ addi r4, r31, 8 +/* 80139934 00136894 48 1D A6 75 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 80139938 00136898 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) +/* 8013993C 0013689C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80139940 001368A0 40 80 00 2C */ bge lbl_8013996C +/* 80139944 001368A4 38 60 00 01 */ li r3, 1 +/* 80139948 001368A8 48 00 00 28 */ b lbl_80139970 +lbl_8013994C: +/* 8013994C 001368AC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80139950 001368B0 38 9F 00 08 */ addi r4, r31, 8 +/* 80139954 001368B4 48 1D A6 55 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 80139958 001368B8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) +/* 8013995C 001368BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80139960 001368C0 40 81 00 0C */ ble lbl_8013996C +/* 80139964 001368C4 38 60 00 01 */ li r3, 1 +/* 80139968 001368C8 48 00 00 08 */ b lbl_80139970 +lbl_8013996C: +/* 8013996C 001368CC 38 60 00 00 */ li r3, 0 +lbl_80139970: +/* 80139970 001368D0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80139974 001368D4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80139978 001368D8 7C 08 03 A6 */ mtlr r0 +/* 8013997C 001368DC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80139980 001368E0 4E 80 00 20 */ blr + +.global Shutdown__7CBSTurnFR15CBodyController +Shutdown__7CBSTurnFR15CBodyController: +/* 80139984 001368E4 4E 80 00 20 */ blr + +.global UpdateBody__7CBSTurnFfR15CBodyControllerR13CStateManager +UpdateBody__7CBSTurnFfR15CBodyControllerR13CStateManager: +/* 80139988 001368E8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8013998C 001368EC 7C 08 02 A6 */ mflr r0 +/* 80139990 001368F0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80139994 001368F4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80139998 001368F8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8013999C 001368FC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801399A0 00136900 93 C1 00 28 */ stw r30, 0x28(r1) +/* 801399A4 00136904 93 A1 00 24 */ stw r29, 0x24(r1) +/* 801399A8 00136908 81 83 00 00 */ lwz r12, 0(r3) +/* 801399AC 0013690C FF E0 08 90 */ fmr f31, f1 +/* 801399B0 00136910 7C 7D 1B 78 */ mr r29, r3 +/* 801399B4 00136914 7C 9E 23 78 */ mr r30, r4 +/* 801399B8 00136918 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 801399BC 0013691C 7D 89 03 A6 */ mtctr r12 +/* 801399C0 00136920 4E 80 04 21 */ bctrl +/* 801399C4 00136924 7C 7F 1B 78 */ mr r31, r3 +/* 801399C8 00136928 2C 1F FF FF */ cmpwi r31, -1 +/* 801399CC 0013692C 40 82 00 28 */ bne lbl_801399F4 +/* 801399D0 00136930 C0 1D 00 04 */ lfs f0, 4(r29) +/* 801399D4 00136934 38 61 00 0C */ addi r3, r1, 0xc +/* 801399D8 00136938 38 81 00 08 */ addi r4, r1, 8 +/* 801399DC 0013693C EC 00 07 F2 */ fmuls f0, f0, f31 +/* 801399E0 00136940 D0 01 00 08 */ stfs f0, 8(r1) +/* 801399E4 00136944 48 1D 77 15 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 801399E8 00136948 7F C3 F3 78 */ mr r3, r30 +/* 801399EC 0013694C 38 81 00 0C */ addi r4, r1, 0xc +/* 801399F0 00136950 48 00 0E 19 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion +lbl_801399F4: +/* 801399F4 00136954 7F E3 FB 78 */ mr r3, r31 +/* 801399F8 00136958 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 801399FC 0013695C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80139A00 00136960 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80139A04 00136964 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80139A08 00136968 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80139A0C 0013696C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80139A10 00136970 7C 08 03 A6 */ mtlr r0 +/* 80139A14 00136974 38 21 00 40 */ addi r1, r1, 0x40 +/* 80139A18 00136978 4E 80 00 20 */ blr + +.global Start__7CBSTurnFR15CBodyControllerR13CStateManager +Start__7CBSTurnFR15CBodyControllerR13CStateManager: +/* 80139A1C 0013697C 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80139A20 00136980 7C 08 02 A6 */ mflr r0 +/* 80139A24 00136984 90 01 01 34 */ stw r0, 0x134(r1) +/* 80139A28 00136988 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 80139A2C 0013698C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 80139A30 00136990 BF 61 01 0C */ stmw r27, 0x10c(r1) +/* 80139A34 00136994 7C 9F 23 78 */ mr r31, r4 +/* 80139A38 00136998 7C 7E 1B 78 */ mr r30, r3 +/* 80139A3C 0013699C 80 84 00 00 */ lwz r4, 0(r4) +/* 80139A40 001369A0 7C BB 2B 78 */ mr r27, r5 +/* 80139A44 001369A4 38 61 00 70 */ addi r3, r1, 0x70 +/* 80139A48 001369A8 C0 24 00 38 */ lfs f1, 0x38(r4) +/* 80139A4C 001369AC C0 44 00 48 */ lfs f2, 0x48(r4) +/* 80139A50 001369B0 48 1D A7 B1 */ bl __ct__9CVector2fFff +/* 80139A54 001369B4 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 80139A58 001369B8 38 61 00 68 */ addi r3, r1, 0x68 +/* 80139A5C 001369BC C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80139A60 001369C0 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 80139A64 001369C4 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80139A68 001369C8 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80139A6C 001369CC C0 5F 00 14 */ lfs f2, 0x14(r31) +/* 80139A70 001369D0 48 1D A7 91 */ bl __ct__9CVector2fFff +/* 80139A74 001369D4 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80139A78 001369D8 38 61 00 88 */ addi r3, r1, 0x88 +/* 80139A7C 001369DC 38 9E 00 08 */ addi r4, r30, 8 +/* 80139A80 001369E0 D0 1E 00 08 */ stfs f0, 8(r30) +/* 80139A84 001369E4 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80139A88 001369E8 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 80139A8C 001369EC 48 1D A5 39 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f +/* 80139A90 001369F0 C0 42 9A 68 */ lfs f2, lbl_805AB788@sda21(r2) +/* 80139A94 001369F4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80139A98 001369F8 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 80139A9C 001369FC EF E2 00 72 */ fmuls f31, f2, f1 +/* 80139AA0 00136A00 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80139AA4 00136A04 FC 40 00 50 */ fneg f2, f0 +/* 80139AA8 00136A08 48 1D A7 59 */ bl __ct__9CVector2fFff +/* 80139AAC 00136A0C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 80139AB0 00136A10 38 61 00 80 */ addi r3, r1, 0x80 +/* 80139AB4 00136A14 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 80139AB8 00136A18 38 9E 00 08 */ addi r4, r30, 8 +/* 80139ABC 00136A1C D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80139AC0 00136A20 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 80139AC4 00136A24 48 1D A4 E5 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 80139AC8 00136A28 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) +/* 80139ACC 00136A2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80139AD0 00136A30 40 81 00 0C */ ble lbl_80139ADC +/* 80139AD4 00136A34 38 00 00 01 */ li r0, 1 +/* 80139AD8 00136A38 48 00 00 08 */ b lbl_80139AE0 +lbl_80139ADC: +/* 80139ADC 00136A3C 38 00 00 00 */ li r0, 0 +lbl_80139AE0: +/* 80139AE0 00136A40 90 1E 00 10 */ stw r0, 0x10(r30) +/* 80139AE4 00136A44 7F E3 FB 78 */ mr r3, r31 +/* 80139AE8 00136A48 48 00 09 6D */ bl GetPASDatabase__15CBodyControllerCFv +/* 80139AEC 00136A4C 83 BF 02 EC */ lwz r29, 0x2ec(r31) +/* 80139AF0 00136A50 7C 7C 1B 78 */ mr r28, r3 +/* 80139AF4 00136A54 38 61 00 20 */ addi r3, r1, 0x20 +/* 80139AF8 00136A58 48 1A 95 85 */ bl NoParameter__12CPASAnimParmFv +/* 80139AFC 00136A5C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80139B00 00136A60 48 1A 95 7D */ bl NoParameter__12CPASAnimParmFv +/* 80139B04 00136A64 38 61 00 30 */ addi r3, r1, 0x30 +/* 80139B08 00136A68 48 1A 95 75 */ bl NoParameter__12CPASAnimParmFv +/* 80139B0C 00136A6C 38 61 00 38 */ addi r3, r1, 0x38 +/* 80139B10 00136A70 48 1A 95 6D */ bl NoParameter__12CPASAnimParmFv +/* 80139B14 00136A74 38 61 00 40 */ addi r3, r1, 0x40 +/* 80139B18 00136A78 48 1A 95 65 */ bl NoParameter__12CPASAnimParmFv +/* 80139B1C 00136A7C 7F A4 EB 78 */ mr r4, r29 +/* 80139B20 00136A80 38 61 00 48 */ addi r3, r1, 0x48 +/* 80139B24 00136A84 48 1A 94 61 */ bl FromEnum__12CPASAnimParmFi +/* 80139B28 00136A88 FC 20 F8 90 */ fmr f1, f31 +/* 80139B2C 00136A8C 38 61 00 50 */ addi r3, r1, 0x50 +/* 80139B30 00136A90 48 1A 94 B9 */ bl FromReal32__12CPASAnimParmFf +/* 80139B34 00136A94 80 9E 00 10 */ lwz r4, 0x10(r30) +/* 80139B38 00136A98 38 61 00 58 */ addi r3, r1, 0x58 +/* 80139B3C 00136A9C 48 1A 94 49 */ bl FromEnum__12CPASAnimParmFi +/* 80139B40 00136AA0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80139B44 00136AA4 38 01 00 20 */ addi r0, r1, 0x20 +/* 80139B48 00136AA8 90 61 00 08 */ stw r3, 8(r1) +/* 80139B4C 00136AAC 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80139B50 00136AB0 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80139B54 00136AB4 38 C1 00 50 */ addi r6, r1, 0x50 +/* 80139B58 00136AB8 90 01 00 0C */ stw r0, 0xc(r1) +/* 80139B5C 00136ABC 38 E1 00 48 */ addi r7, r1, 0x48 +/* 80139B60 00136AC0 39 01 00 40 */ addi r8, r1, 0x40 +/* 80139B64 00136AC4 39 21 00 38 */ addi r9, r1, 0x38 +/* 80139B68 00136AC8 39 41 00 30 */ addi r10, r1, 0x30 +/* 80139B6C 00136ACC 38 80 00 08 */ li r4, 8 +/* 80139B70 00136AD0 4B F4 37 55 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80139B74 00136AD4 80 DB 09 00 */ lwz r6, 0x900(r27) +/* 80139B78 00136AD8 7F 84 E3 78 */ mr r4, r28 +/* 80139B7C 00136ADC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80139B80 00136AE0 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 80139B84 00136AE4 38 E0 FF FF */ li r7, -1 +/* 80139B88 00136AE8 48 1A B4 D9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 80139B8C 00136AEC 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 80139B90 00136AF0 38 00 00 00 */ li r0, 0 +/* 80139B94 00136AF4 C0 02 9A 64 */ lfs f0, lbl_805AB784@sda21(r2) +/* 80139B98 00136AF8 38 A0 FF FF */ li r5, -1 +/* 80139B9C 00136AFC 38 E0 00 01 */ li r7, 1 +/* 80139BA0 00136B00 93 A1 00 90 */ stw r29, 0x90(r1) +/* 80139BA4 00136B04 7F E3 FB 78 */ mr r3, r31 +/* 80139BA8 00136B08 38 81 00 90 */ addi r4, r1, 0x90 +/* 80139BAC 00136B0C 90 A1 00 94 */ stw r5, 0x94(r1) +/* 80139BB0 00136B10 38 A0 00 00 */ li r5, 0 +/* 80139BB4 00136B14 38 C0 00 00 */ li r6, 0 +/* 80139BB8 00136B18 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80139BBC 00136B1C 98 E1 00 9C */ stb r7, 0x9c(r1) +/* 80139BC0 00136B20 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 80139BC4 00136B24 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80139BC8 00136B28 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 80139BCC 00136B2C 90 01 00 AC */ stw r0, 0xac(r1) +/* 80139BD0 00136B30 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 80139BD4 00136B34 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80139BD8 00136B38 48 00 0D 45 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 80139BDC 00136B3C 7F 83 E3 78 */ mr r3, r28 +/* 80139BE0 00136B40 38 80 00 08 */ li r4, 8 +/* 80139BE4 00136B44 48 1A B2 E1 */ bl GetAnimState__12CPASDatabaseCFi +/* 80139BE8 00136B48 7C 64 1B 78 */ mr r4, r3 +/* 80139BEC 00136B4C 7F A5 EB 78 */ mr r5, r29 +/* 80139BF0 00136B50 38 61 00 10 */ addi r3, r1, 0x10 +/* 80139BF4 00136B54 38 C0 00 01 */ li r6, 1 +/* 80139BF8 00136B58 48 1A A3 FD */ bl GetAnimParmData__13CPASAnimStateCFiUi +/* 80139BFC 00136B5C 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80139C00 00136B60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80139C04 00136B64 90 61 00 78 */ stw r3, 0x78(r1) +/* 80139C08 00136B68 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80139C0C 00136B6C 80 1E 00 10 */ lwz r0, 0x10(r30) +/* 80139C10 00136B70 2C 00 00 01 */ cmpwi r0, 1 +/* 80139C14 00136B74 40 82 00 14 */ bne lbl_80139C28 +/* 80139C18 00136B78 38 61 00 78 */ addi r3, r1, 0x78 +/* 80139C1C 00136B7C 48 1A 93 51 */ bl GetReal32Value__12CPASAnimParmCFv +/* 80139C20 00136B80 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 80139C24 00136B84 48 00 00 10 */ b lbl_80139C34 +lbl_80139C28: +/* 80139C28 00136B88 38 61 00 78 */ addi r3, r1, 0x78 +/* 80139C2C 00136B8C 48 1A 93 41 */ bl GetReal32Value__12CPASAnimParmCFv +/* 80139C30 00136B90 EC 3F 08 28 */ fsubs f1, f31, f1 +lbl_80139C34: +/* 80139C34 00136B94 C0 02 9A 6C */ lfs f0, lbl_805AB78C@sda21(r2) +/* 80139C38 00136B98 7F E3 FB 78 */ mr r3, r31 +/* 80139C3C 00136B9C EC 00 00 72 */ fmuls f0, f0, f1 +/* 80139C40 00136BA0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80139C44 00136BA4 48 00 0C 75 */ bl GetAnimTimeRemaining__15CBodyControllerCFv +/* 80139C48 00136BA8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) +/* 80139C4C 00136BAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80139C50 00136BB0 40 81 00 10 */ ble lbl_80139C60 +/* 80139C54 00136BB4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80139C58 00136BB8 EC 00 08 24 */ fdivs f0, f0, f1 +/* 80139C5C 00136BBC 48 00 00 08 */ b lbl_80139C64 +lbl_80139C60: +/* 80139C60 00136BC0 C0 1E 00 04 */ lfs f0, 4(r30) +lbl_80139C64: +/* 80139C64 00136BC4 34 A1 00 BC */ addic. r5, r1, 0xbc +/* 80139C68 00136BC8 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80139C6C 00136BCC 41 82 00 58 */ beq lbl_80139CC4 +/* 80139C70 00136BD0 80 C5 00 00 */ lwz r6, 0(r5) +/* 80139C74 00136BD4 38 60 00 00 */ li r3, 0 +/* 80139C78 00136BD8 2C 06 00 00 */ cmpwi r6, 0 +/* 80139C7C 00136BDC 40 81 00 40 */ ble lbl_80139CBC +/* 80139C80 00136BE0 2C 06 00 08 */ cmpwi r6, 8 +/* 80139C84 00136BE4 38 86 FF F8 */ addi r4, r6, -8 +/* 80139C88 00136BE8 40 81 00 20 */ ble lbl_80139CA8 +/* 80139C8C 00136BEC 38 04 00 07 */ addi r0, r4, 7 +/* 80139C90 00136BF0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80139C94 00136BF4 7C 09 03 A6 */ mtctr r0 +/* 80139C98 00136BF8 2C 04 00 00 */ cmpwi r4, 0 +/* 80139C9C 00136BFC 40 81 00 0C */ ble lbl_80139CA8 +lbl_80139CA0: +/* 80139CA0 00136C00 38 63 00 08 */ addi r3, r3, 8 +/* 80139CA4 00136C04 42 00 FF FC */ bdnz lbl_80139CA0 +lbl_80139CA8: +/* 80139CA8 00136C08 7C 03 30 50 */ subf r0, r3, r6 +/* 80139CAC 00136C0C 7C 09 03 A6 */ mtctr r0 +/* 80139CB0 00136C10 7C 03 30 00 */ cmpw r3, r6 +/* 80139CB4 00136C14 40 80 00 08 */ bge lbl_80139CBC +lbl_80139CB8: +/* 80139CB8 00136C18 42 00 00 00 */ bdnz lbl_80139CB8 +lbl_80139CBC: +/* 80139CBC 00136C1C 38 00 00 00 */ li r0, 0 +/* 80139CC0 00136C20 90 05 00 00 */ stw r0, 0(r5) +lbl_80139CC4: +/* 80139CC4 00136C24 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 80139CC8 00136C28 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 80139CCC 00136C2C BB 61 01 0C */ lmw r27, 0x10c(r1) +/* 80139CD0 00136C30 80 01 01 34 */ lwz r0, 0x134(r1) +/* 80139CD4 00136C34 7C 08 03 A6 */ mtlr r0 +/* 80139CD8 00136C38 38 21 01 30 */ addi r1, r1, 0x130 +/* 80139CDC 00136C3C 4E 80 00 20 */ blr + +.global __ct__7CBSTurnFv +__ct__7CBSTurnFv: +/* 80139CE0 00136C40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80139CE4 00136C44 7C 08 02 A6 */ mflr r0 +/* 80139CE8 00136C48 C0 22 9A 60 */ lfs f1, lbl_805AB780@sda21(r2) +/* 80139CEC 00136C4C 3C 80 80 3E */ lis r4, lbl_803E1318@ha +/* 80139CF0 00136C50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80139CF4 00136C54 38 04 13 18 */ addi r0, r4, lbl_803E1318@l +/* 80139CF8 00136C58 FC 40 08 90 */ fmr f2, f1 +/* 80139CFC 00136C5C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80139D00 00136C60 7C 7F 1B 78 */ mr r31, r3 +/* 80139D04 00136C64 3C 60 80 3E */ lis r3, lbl_803E178C@ha +/* 80139D08 00136C68 90 1F 00 00 */ stw r0, 0(r31) +/* 80139D0C 00136C6C 38 03 17 8C */ addi r0, r3, lbl_803E178C@l +/* 80139D10 00136C70 38 7F 00 08 */ addi r3, r31, 8 +/* 80139D14 00136C74 90 1F 00 00 */ stw r0, 0(r31) +/* 80139D18 00136C78 D0 3F 00 04 */ stfs f1, 4(r31) +/* 80139D1C 00136C7C 48 1D A4 E5 */ bl __ct__9CVector2fFff +/* 80139D20 00136C80 38 00 FF FF */ li r0, -1 +/* 80139D24 00136C84 7F E3 FB 78 */ mr r3, r31 +/* 80139D28 00136C88 90 1F 00 10 */ stw r0, 0x10(r31) +/* 80139D2C 00136C8C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80139D30 00136C90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80139D34 00136C94 7C 08 03 A6 */ mtlr r0 +/* 80139D38 00136C98 38 21 00 10 */ addi r1, r1, 0x10 +/* 80139D3C 00136C9C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBodyController.s b/asm/Kyoto_CWD/BodyState/CBodyController.s new file mode 100644 index 00000000..8fcd15f6 --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBodyController.s @@ -0,0 +1,1238 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global UpdateFrozenInfo__15CBodyControllerFfR13CStateManager +UpdateFrozenInfo__15CBodyControllerFfR13CStateManager: +/* 80139D40 00136CA0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80139D44 00136CA4 7C 08 02 A6 */ mflr r0 +/* 80139D48 00136CA8 90 01 00 64 */ stw r0, 0x64(r1) +/* 80139D4C 00136CAC DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80139D50 00136CB0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80139D54 00136CB4 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 80139D58 00136CB8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 80139D5C 00136CBC DB A1 00 30 */ stfd f29, 0x30(r1) +/* 80139D60 00136CC0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 80139D64 00136CC4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80139D68 00136CC8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80139D6C 00136CCC 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80139D70 00136CD0 FF A0 08 90 */ fmr f29, f1 +/* 80139D74 00136CD4 7C 7E 1B 78 */ mr r30, r3 +/* 80139D78 00136CD8 7C 9F 23 78 */ mr r31, r4 +/* 80139D7C 00136CDC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80139D80 00136CE0 41 82 01 5C */ beq lbl_80139EDC +/* 80139D84 00136CE4 C0 3E 03 04 */ lfs f1, 0x304(r30) +/* 80139D88 00136CE8 C0 1E 03 08 */ lfs f0, 0x308(r30) +/* 80139D8C 00136CEC C0 5E 03 0C */ lfs f2, 0x30c(r30) +/* 80139D90 00136CF0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80139D94 00136CF4 C0 3E 03 10 */ lfs f1, 0x310(r30) +/* 80139D98 00136CF8 EF E2 00 2A */ fadds f31, f2, f0 +/* 80139D9C 00136CFC FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80139DA0 00136D00 40 81 00 40 */ ble lbl_80139DE0 +/* 80139DA4 00136D04 80 1E 02 D0 */ lwz r0, 0x2d0(r30) +/* 80139DA8 00136D08 2C 00 00 18 */ cmpwi r0, 0x18 +/* 80139DAC 00136D0C 41 82 00 34 */ beq lbl_80139DE0 +/* 80139DB0 00136D10 48 00 03 A5 */ bl UnFreeze__15CBodyControllerFv +/* 80139DB4 00136D14 80 7E 00 00 */ lwz r3, 0(r30) +/* 80139DB8 00136D18 28 03 00 00 */ cmplwi r3, 0 +/* 80139DBC 00136D1C 41 82 00 14 */ beq lbl_80139DD0 +/* 80139DC0 00136D20 7F E5 FB 78 */ mr r5, r31 +/* 80139DC4 00136D24 38 80 00 1D */ li r4, 0x1d +/* 80139DC8 00136D28 38 C0 FF FF */ li r6, -1 +/* 80139DCC 00136D2C 4B F1 72 F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_80139DD0: +/* 80139DD0 00136D30 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 80139DD4 00136D34 80 9E 00 00 */ lwz r4, 0(r30) +/* 80139DD8 00136D38 48 0A B4 81 */ bl StartIce__20CActorModelParticlesFR6CActorR13CStateManager +/* 80139DDC 00136D3C 48 00 01 00 */ b lbl_80139EDC +lbl_80139DE0: +/* 80139DE0 00136D40 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80139DE4 00136D44 4C 40 13 82 */ cror 2, 0, 2 +/* 80139DE8 00136D48 40 82 00 F4 */ bne lbl_80139EDC +/* 80139DEC 00136D4C EC 1F 10 28 */ fsubs f0, f31, f2 +/* 80139DF0 00136D50 C3 C2 9A 70 */ lfs f30, lbl_805AB790@sda21(r2) +/* 80139DF4 00136D54 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80139DF8 00136D58 40 80 00 14 */ bge lbl_80139E0C +/* 80139DFC 00136D5C 7F C3 F3 78 */ mr r3, r30 +/* 80139E00 00136D60 48 00 02 CD */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 80139E04 00136D64 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) +/* 80139E08 00136D68 EF C0 08 28 */ fsubs f30, f0, f1 +lbl_80139E0C: +/* 80139E0C 00136D6C FC 20 F0 90 */ fmr f1, f30 +/* 80139E10 00136D70 7F C3 F3 78 */ mr r3, r30 +/* 80139E14 00136D74 48 00 0A 4D */ bl MultiplyPlaybackRate__15CBodyControllerFf +/* 80139E18 00136D78 C0 02 9A 74 */ lfs f0, lbl_805AB794@sda21(r2) +/* 80139E1C 00136D7C C0 3E 03 10 */ lfs f1, 0x310(r30) +/* 80139E20 00136D80 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 80139E24 00136D84 EC 21 E8 2A */ fadds f1, f1, f29 +/* 80139E28 00136D88 FC 00 00 1E */ fctiwz f0, f0 +/* 80139E2C 00136D8C D0 3E 03 10 */ stfs f1, 0x310(r30) +/* 80139E30 00136D90 D8 01 00 20 */ stfd f0, 0x20(r1) +/* 80139E34 00136D94 80 7E 00 00 */ lwz r3, 0(r30) +/* 80139E38 00136D98 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80139E3C 00136D9C 4B F1 95 35 */ bl SetVolume__6CActorFUc +/* 80139E40 00136DA0 C0 1E 03 10 */ lfs f0, 0x310(r30) +/* 80139E44 00136DA4 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 80139E48 00136DA8 40 81 00 94 */ ble lbl_80139EDC +/* 80139E4C 00136DAC 7F C3 F3 78 */ mr r3, r30 +/* 80139E50 00136DB0 48 0B 77 E5 */ bl HasIceBreakoutState__15CBodyControllerFv +/* 80139E54 00136DB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80139E58 00136DB8 41 82 00 84 */ beq lbl_80139EDC +/* 80139E5C 00136DBC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80139E60 00136DC0 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) +/* 80139E64 00136DC4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80139E68 00136DC8 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 80139E6C 00136DCC 90 01 00 08 */ stw r0, 8(r1) +/* 80139E70 00136DD0 38 C3 10 C8 */ addi r6, r3, lbl_803E10C8@l +/* 80139E74 00136DD4 38 60 00 1A */ li r3, 0x1a +/* 80139E78 00136DD8 38 A0 00 03 */ li r5, 3 +/* 80139E7C 00136DDC 38 00 00 00 */ li r0, 0 +/* 80139E80 00136DE0 3B FE 00 04 */ addi r31, r30, 4 +/* 80139E84 00136DE4 90 61 00 0C */ stw r3, 0xc(r1) +/* 80139E88 00136DE8 7F E3 FB 78 */ mr r3, r31 +/* 80139E8C 00136DEC 38 80 00 1A */ li r4, 0x1a +/* 80139E90 00136DF0 90 C1 00 08 */ stw r6, 8(r1) +/* 80139E94 00136DF4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80139E98 00136DF8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80139E9C 00136DFC 98 01 00 18 */ stb r0, 0x18(r1) +/* 80139EA0 00136E00 4B FF 75 99 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139EA4 00136E04 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80139EA8 00136E08 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 80139EAC 00136E0C 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l +/* 80139EB0 00136E10 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80139EB4 00136E14 90 1F 02 88 */ stw r0, 0x288(r31) +/* 80139EB8 00136E18 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80139EBC 00136E1C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80139EC0 00136E20 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80139EC4 00136E24 D0 1F 02 8C */ stfs f0, 0x28c(r31) +/* 80139EC8 00136E28 88 61 00 18 */ lbz r3, 0x18(r1) +/* 80139ECC 00136E2C 90 BF 02 90 */ stw r5, 0x290(r31) +/* 80139ED0 00136E30 90 81 00 08 */ stw r4, 8(r1) +/* 80139ED4 00136E34 98 7F 02 94 */ stb r3, 0x294(r31) +/* 80139ED8 00136E38 90 01 00 08 */ stw r0, 8(r1) +lbl_80139EDC: +/* 80139EDC 00136E3C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80139EE0 00136E40 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80139EE4 00136E44 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 80139EE8 00136E48 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 80139EEC 00136E4C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 80139EF0 00136E50 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 80139EF4 00136E54 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80139EF8 00136E58 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80139EFC 00136E5C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80139F00 00136E60 7C 08 03 A6 */ mtlr r0 +/* 80139F04 00136E64 38 21 00 60 */ addi r1, r1, 0x60 +/* 80139F08 00136E68 4E 80 00 20 */ blr + +.global StopElectrocution__15CBodyControllerFv +StopElectrocution__15CBodyControllerFv: +/* 80139F0C 00136E6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80139F10 00136E70 7C 08 02 A6 */ mflr r0 +/* 80139F14 00136E74 7C 66 1B 78 */ mr r6, r3 +/* 80139F18 00136E78 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80139F1C 00136E7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80139F20 00136E80 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 80139F24 00136E84 C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) +/* 80139F28 00136E88 38 00 00 1B */ li r0, 0x1b +/* 80139F2C 00136E8C 38 66 00 04 */ addi r3, r6, 4 +/* 80139F30 00136E90 38 81 00 08 */ addi r4, r1, 8 +/* 80139F34 00136E94 D0 06 03 24 */ stfs f0, 0x324(r6) +/* 80139F38 00136E98 D0 06 03 2C */ stfs f0, 0x32c(r6) +/* 80139F3C 00136E9C 90 A1 00 08 */ stw r5, 8(r1) +/* 80139F40 00136EA0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80139F44 00136EA4 4B FF 78 75 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80139F48 00136EA8 34 01 00 08 */ addic. r0, r1, 8 +/* 80139F4C 00136EAC 41 82 00 10 */ beq lbl_80139F5C +/* 80139F50 00136EB0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80139F54 00136EB4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80139F58 00136EB8 90 01 00 08 */ stw r0, 8(r1) +lbl_80139F5C: +/* 80139F5C 00136EBC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80139F60 00136EC0 7C 08 03 A6 */ mtlr r0 +/* 80139F64 00136EC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80139F68 00136EC8 4E 80 00 20 */ blr + +.global SetElectrocuting__15CBodyControllerFf +SetElectrocuting__15CBodyControllerFf: +/* 80139F6C 00136ECC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80139F70 00136ED0 7C 08 02 A6 */ mflr r0 +/* 80139F74 00136ED4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80139F78 00136ED8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80139F7C 00136EDC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80139F80 00136EE0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80139F84 00136EE4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80139F88 00136EE8 7C 7F 1B 78 */ mr r31, r3 +/* 80139F8C 00136EEC C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) +/* 80139F90 00136EF0 C0 43 03 24 */ lfs f2, 0x324(r3) +/* 80139F94 00136EF4 FF E0 08 90 */ fmr f31, f1 +/* 80139F98 00136EF8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80139F9C 00136EFC 41 81 00 84 */ bgt lbl_8013A020 +/* 80139FA0 00136F00 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80139FA4 00136F04 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) +/* 80139FA8 00136F08 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80139FAC 00136F0C 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 80139FB0 00136F10 90 01 00 08 */ stw r0, 8(r1) +/* 80139FB4 00136F14 38 C3 10 C8 */ addi r6, r3, lbl_803E10C8@l +/* 80139FB8 00136F18 38 60 00 1A */ li r3, 0x1a +/* 80139FBC 00136F1C 38 A0 00 00 */ li r5, 0 +/* 80139FC0 00136F20 38 00 00 01 */ li r0, 1 +/* 80139FC4 00136F24 3B DF 00 04 */ addi r30, r31, 4 +/* 80139FC8 00136F28 90 61 00 0C */ stw r3, 0xc(r1) +/* 80139FCC 00136F2C 7F C3 F3 78 */ mr r3, r30 +/* 80139FD0 00136F30 38 80 00 1A */ li r4, 0x1a +/* 80139FD4 00136F34 90 C1 00 08 */ stw r6, 8(r1) +/* 80139FD8 00136F38 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80139FDC 00136F3C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80139FE0 00136F40 98 01 00 18 */ stb r0, 0x18(r1) +/* 80139FE4 00136F44 4B FF 74 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80139FE8 00136F48 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80139FEC 00136F4C 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 80139FF0 00136F50 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l +/* 80139FF4 00136F54 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80139FF8 00136F58 90 1E 02 88 */ stw r0, 0x288(r30) +/* 80139FFC 00136F5C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8013A000 00136F60 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8013A004 00136F64 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8013A008 00136F68 D0 1E 02 8C */ stfs f0, 0x28c(r30) +/* 8013A00C 00136F6C 88 61 00 18 */ lbz r3, 0x18(r1) +/* 8013A010 00136F70 90 BE 02 90 */ stw r5, 0x290(r30) +/* 8013A014 00136F74 90 81 00 08 */ stw r4, 8(r1) +/* 8013A018 00136F78 98 7E 02 94 */ stb r3, 0x294(r30) +/* 8013A01C 00136F7C 90 01 00 08 */ stw r0, 8(r1) +lbl_8013A020: +/* 8013A020 00136F80 D3 FF 03 24 */ stfs f31, 0x324(r31) +/* 8013A024 00136F84 C0 22 9A 78 */ lfs f1, lbl_805AB798@sda21(r2) +/* 8013A028 00136F88 D0 3F 03 2C */ stfs f1, 0x32c(r31) +/* 8013A02C 00136F8C 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 8013A030 00136F90 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8013A034 00136F94 41 82 00 10 */ beq lbl_8013A044 +/* 8013A038 00136F98 7F E3 FB 78 */ mr r3, r31 +/* 8013A03C 00136F9C 48 00 01 19 */ bl UnFreeze__15CBodyControllerFv +/* 8013A040 00136FA0 48 00 00 18 */ b lbl_8013A058 +lbl_8013A044: +/* 8013A044 00136FA4 C0 1F 03 20 */ lfs f0, 0x320(r31) +/* 8013A048 00136FA8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8013A04C 00136FAC 40 81 00 0C */ ble lbl_8013A058 +/* 8013A050 00136FB0 7F E3 FB 78 */ mr r3, r31 +/* 8013A054 00136FB4 48 00 00 25 */ bl DouseFlames__15CBodyControllerFv +lbl_8013A058: +/* 8013A058 00136FB8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8013A05C 00136FBC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8013A060 00136FC0 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8013A064 00136FC4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8013A068 00136FC8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8013A06C 00136FCC 7C 08 03 A6 */ mtlr r0 +/* 8013A070 00136FD0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8013A074 00136FD4 4E 80 00 20 */ blr + +.global DouseFlames__15CBodyControllerFv +DouseFlames__15CBodyControllerFv: +/* 8013A078 00136FD8 C0 23 03 20 */ lfs f1, 0x320(r3) +/* 8013A07C 00136FDC C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) +/* 8013A080 00136FE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013A084 00136FE4 4C 81 00 20 */ blelr +/* 8013A088 00136FE8 D0 03 03 20 */ stfs f0, 0x320(r3) +/* 8013A08C 00136FEC D0 03 03 28 */ stfs f0, 0x328(r3) +/* 8013A090 00136FF0 4E 80 00 20 */ blr + +.global SetOnFire__15CBodyControllerFf +SetOnFire__15CBodyControllerFf: +/* 8013A094 00136FF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013A098 00136FF8 7C 08 02 A6 */ mflr r0 +/* 8013A09C 00136FFC C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) +/* 8013A0A0 00137000 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013A0A4 00137004 D0 23 03 20 */ stfs f1, 0x320(r3) +/* 8013A0A8 00137008 D0 03 03 28 */ stfs f0, 0x328(r3) +/* 8013A0AC 0013700C 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8013A0B0 00137010 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8013A0B4 00137014 41 82 00 08 */ beq lbl_8013A0BC +/* 8013A0B8 00137018 48 00 00 9D */ bl UnFreeze__15CBodyControllerFv +lbl_8013A0BC: +/* 8013A0BC 0013701C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013A0C0 00137020 7C 08 03 A6 */ mtlr r0 +/* 8013A0C4 00137024 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013A0C8 00137028 4E 80 00 20 */ blr + +.global GetPercentageFrozen__15CBodyControllerCFv +GetPercentageFrozen__15CBodyControllerCFv: +/* 8013A0CC 0013702C C0 43 03 04 */ lfs f2, 0x304(r3) +/* 8013A0D0 00137030 C0 A3 03 08 */ lfs f5, 0x308(r3) +/* 8013A0D4 00137034 C0 83 03 0C */ lfs f4, 0x30c(r3) +/* 8013A0D8 00137038 EC 22 28 2A */ fadds f1, f2, f5 +/* 8013A0DC 0013703C C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) +/* 8013A0E0 00137040 C0 63 03 10 */ lfs f3, 0x310(r3) +/* 8013A0E4 00137044 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 8013A0E8 00137048 EC C4 08 2A */ fadds f6, f4, f1 +/* 8013A0EC 0013704C 41 82 00 0C */ beq lbl_8013A0F8 +/* 8013A0F0 00137050 FC 00 30 00 */ fcmpu cr0, f0, f6 +/* 8013A0F4 00137054 40 82 00 0C */ bne lbl_8013A100 +lbl_8013A0F8: +/* 8013A0F8 00137058 C0 22 9A 78 */ lfs f1, lbl_805AB798@sda21(r2) +/* 8013A0FC 0013705C 4E 80 00 20 */ blr +lbl_8013A100: +/* 8013A100 00137060 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 8013A104 00137064 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) +/* 8013A108 00137068 4C 40 13 82 */ cror 2, 0, 2 +/* 8013A10C 0013706C 40 82 00 14 */ bne lbl_8013A120 +/* 8013A110 00137070 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8013A114 00137074 40 81 00 0C */ ble lbl_8013A120 +/* 8013A118 00137078 EC 23 10 24 */ fdivs f1, f3, f2 +/* 8013A11C 0013707C 4E 80 00 20 */ blr +lbl_8013A120: +/* 8013A120 00137080 EC 06 20 28 */ fsubs f0, f6, f4 +/* 8013A124 00137084 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8013A128 00137088 4C 41 13 82 */ cror 2, 1, 2 +/* 8013A12C 0013708C 4C 82 00 20 */ bnelr +/* 8013A130 00137090 C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) +/* 8013A134 00137094 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8013A138 00137098 4C 81 00 20 */ blelr +/* 8013A13C 0013709C EC 05 10 2A */ fadds f0, f5, f2 +/* 8013A140 001370A0 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) +/* 8013A144 001370A4 EC 03 00 28 */ fsubs f0, f3, f0 +/* 8013A148 001370A8 EC 00 20 24 */ fdivs f0, f0, f4 +/* 8013A14C 001370AC EC 21 00 28 */ fsubs f1, f1, f0 +/* 8013A150 001370B0 4E 80 00 20 */ blr + +.global UnFreeze__15CBodyControllerFv +UnFreeze__15CBodyControllerFv: +/* 8013A154 001370B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8013A158 001370B8 7C 08 02 A6 */ mflr r0 +/* 8013A15C 001370BC C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) +/* 8013A160 001370C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8013A164 001370C4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8013A168 001370C8 7C 7F 1B 78 */ mr r31, r3 +/* 8013A16C 001370CC 48 00 07 21 */ bl SetPlaybackRate__15CBodyControllerFf +/* 8013A170 001370D0 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 8013A174 001370D4 38 60 00 00 */ li r3, 0 +/* 8013A178 001370D8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8013A17C 001370DC C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) +/* 8013A180 001370E0 98 1F 03 00 */ stb r0, 0x300(r31) +/* 8013A184 001370E4 38 80 00 7F */ li r4, 0x7f +/* 8013A188 001370E8 D0 1F 03 04 */ stfs f0, 0x304(r31) +/* 8013A18C 001370EC D0 1F 03 08 */ stfs f0, 0x308(r31) +/* 8013A190 001370F0 D0 1F 03 0C */ stfs f0, 0x30c(r31) +/* 8013A194 001370F4 D0 1F 03 10 */ stfs f0, 0x310(r31) +/* 8013A198 001370F8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013A19C 001370FC 4B F1 91 D5 */ bl SetVolume__6CActorFUc +/* 8013A1A0 00137100 80 9F 00 00 */ lwz r4, 0(r31) +/* 8013A1A4 00137104 38 61 00 08 */ addi r3, r1, 8 +/* 8013A1A8 00137108 4B F7 25 A9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" +/* 8013A1AC 0013710C 80 63 00 04 */ lwz r3, 4(r3) +/* 8013A1B0 00137110 38 81 00 10 */ addi r4, r1, 0x10 +/* 8013A1B4 00137114 C0 1F 03 14 */ lfs f0, 0x314(r31) +/* 8013A1B8 00137118 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) +/* 8013A1BC 0013711C D0 03 00 FC */ stfs f0, 0xfc(r3) +/* 8013A1C0 00137120 C0 1F 03 18 */ lfs f0, 0x318(r31) +/* 8013A1C4 00137124 D0 03 01 00 */ stfs f0, 0x100(r3) +/* 8013A1C8 00137128 C0 1F 03 1C */ lfs f0, 0x31c(r31) +/* 8013A1CC 0013712C D0 03 01 04 */ stfs f0, 0x104(r3) +/* 8013A1D0 00137130 C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 8013A1D4 00137134 C0 5F 03 18 */ lfs f2, 0x318(r31) +/* 8013A1D8 00137138 EC 61 00 24 */ fdivs f3, f1, f0 +/* 8013A1DC 0013713C C0 3F 03 1C */ lfs f1, 0x31c(r31) +/* 8013A1E0 00137140 C0 1F 03 14 */ lfs f0, 0x314(r31) +/* 8013A1E4 00137144 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8013A1E8 00137148 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8013A1EC 0013714C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8013A1F0 00137150 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8013A1F4 00137154 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8013A1F8 00137158 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8013A1FC 0013715C 4B FE 0A A5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 8013A200 00137160 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8013A204 00137164 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8013A208 00137168 7C 08 03 A6 */ mtlr r0 +/* 8013A20C 0013716C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8013A210 00137170 4E 80 00 20 */ blr + +.global FrozenBreakout__15CBodyControllerFv +FrozenBreakout__15CBodyControllerFv: +/* 8013A214 00137174 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8013A218 00137178 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8013A21C 0013717C 4D 82 00 20 */ beqlr +/* 8013A220 00137180 C0 43 03 04 */ lfs f2, 0x304(r3) +/* 8013A224 00137184 C0 23 03 08 */ lfs f1, 0x308(r3) +/* 8013A228 00137188 C0 03 03 10 */ lfs f0, 0x310(r3) +/* 8013A22C 0013718C EC 22 08 2A */ fadds f1, f2, f1 +/* 8013A230 00137190 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8013A234 00137194 4C 80 00 20 */ bgelr +/* 8013A238 00137198 D0 23 03 10 */ stfs f1, 0x310(r3) +/* 8013A23C 0013719C 4E 80 00 20 */ blr + +.global Freeze__15CBodyControllerFfff +Freeze__15CBodyControllerFfff: +/* 8013A240 001371A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8013A244 001371A4 7C 08 02 A6 */ mflr r0 +/* 8013A248 001371A8 38 80 00 01 */ li r4, 1 +/* 8013A24C 001371AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013A250 001371B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013A254 001371B4 7C 7F 1B 78 */ mr r31, r3 +/* 8013A258 001371B8 D0 23 03 04 */ stfs f1, 0x304(r3) +/* 8013A25C 001371BC 38 61 00 08 */ addi r3, r1, 8 +/* 8013A260 001371C0 D0 5F 03 08 */ stfs f2, 0x308(r31) +/* 8013A264 001371C4 D0 7F 03 0C */ stfs f3, 0x30c(r31) +/* 8013A268 001371C8 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 8013A26C 001371CC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8013A270 001371D0 98 1F 03 00 */ stb r0, 0x300(r31) +/* 8013A274 001371D4 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 8013A278 001371D8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8013A27C 001371DC 98 1F 03 00 */ stb r0, 0x300(r31) +/* 8013A280 001371E0 80 9F 00 00 */ lwz r4, 0(r31) +/* 8013A284 001371E4 4B F7 24 CD */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" +/* 8013A288 001371E8 80 83 00 04 */ lwz r4, 4(r3) +/* 8013A28C 001371EC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013A290 001371F0 C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) +/* 8013A294 001371F4 C0 24 00 FC */ lfs f1, 0xfc(r4) +/* 8013A298 001371F8 D0 3F 03 14 */ stfs f1, 0x314(r31) +/* 8013A29C 001371FC C0 24 01 00 */ lfs f1, 0x100(r4) +/* 8013A2A0 00137200 D0 3F 03 18 */ stfs f1, 0x318(r31) +/* 8013A2A4 00137204 C0 24 01 04 */ lfs f1, 0x104(r4) +/* 8013A2A8 00137208 D0 3F 03 1C */ stfs f1, 0x31c(r31) +/* 8013A2AC 0013720C C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 8013A2B0 00137210 D0 24 00 FC */ stfs f1, 0xfc(r4) +/* 8013A2B4 00137214 C0 23 00 04 */ lfs f1, 4(r3) +/* 8013A2B8 00137218 D0 24 01 00 */ stfs f1, 0x100(r4) +/* 8013A2BC 0013721C C0 23 00 08 */ lfs f1, 8(r3) +/* 8013A2C0 00137220 D0 24 01 04 */ stfs f1, 0x104(r4) +/* 8013A2C4 00137224 C0 23 00 00 */ lfs f1, 0(r3) +/* 8013A2C8 00137228 D0 24 01 50 */ stfs f1, 0x150(r4) +/* 8013A2CC 0013722C C0 23 00 04 */ lfs f1, 4(r3) +/* 8013A2D0 00137230 D0 24 01 54 */ stfs f1, 0x154(r4) +/* 8013A2D4 00137234 C0 23 00 08 */ lfs f1, 8(r3) +/* 8013A2D8 00137238 D0 24 01 58 */ stfs f1, 0x158(r4) +/* 8013A2DC 0013723C D0 1F 03 20 */ stfs f0, 0x320(r31) +/* 8013A2E0 00137240 D0 1F 03 28 */ stfs f0, 0x328(r31) +/* 8013A2E4 00137244 D0 1F 03 10 */ stfs f0, 0x310(r31) +/* 8013A2E8 00137248 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8013A2EC 0013724C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013A2F0 00137250 7C 08 03 A6 */ mtlr r0 +/* 8013A2F4 00137254 38 21 00 20 */ addi r1, r1, 0x20 +/* 8013A2F8 00137258 4E 80 00 20 */ blr + +.global LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16: +/* 8013A2FC 0013725C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8013A300 00137260 7C 08 02 A6 */ mflr r0 +/* 8013A304 00137264 90 01 00 54 */ stw r0, 0x54(r1) +/* 8013A308 00137268 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8013A30C 0013726C 7C BF 2B 78 */ mr r31, r5 +/* 8013A310 00137270 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8013A314 00137274 7C 9E 23 78 */ mr r30, r4 +/* 8013A318 00137278 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8013A31C 0013727C 7C 7D 1B 78 */ mr r29, r3 +/* 8013A320 00137280 48 00 01 35 */ bl GetPASDatabase__15CBodyControllerCFv +/* 8013A324 00137284 7C 64 1B 78 */ mr r4, r3 +/* 8013A328 00137288 7F C5 F3 78 */ mr r5, r30 +/* 8013A32C 0013728C 7F E6 FB 78 */ mr r6, r31 +/* 8013A330 00137290 38 61 00 08 */ addi r3, r1, 8 +/* 8013A334 00137294 38 E0 FF FF */ li r7, -1 +/* 8013A338 00137298 48 1A AD 29 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 8013A33C 0013729C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8013A340 001372A0 38 00 00 00 */ li r0, 0 +/* 8013A344 001372A4 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) +/* 8013A348 001372A8 38 A0 FF FF */ li r5, -1 +/* 8013A34C 001372AC 38 E0 00 01 */ li r7, 1 +/* 8013A350 001372B0 90 61 00 10 */ stw r3, 0x10(r1) +/* 8013A354 001372B4 7F A3 EB 78 */ mr r3, r29 +/* 8013A358 001372B8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8013A35C 001372BC 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8013A360 001372C0 38 A0 00 01 */ li r5, 1 +/* 8013A364 001372C4 38 C0 00 00 */ li r6, 0 +/* 8013A368 001372C8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8013A36C 001372CC 98 E1 00 1C */ stb r7, 0x1c(r1) +/* 8013A370 001372D0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8013A374 001372D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013A378 001372D8 98 01 00 28 */ stb r0, 0x28(r1) +/* 8013A37C 001372DC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8013A380 001372E0 90 01 00 30 */ stw r0, 0x30(r1) +/* 8013A384 001372E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8013A388 001372E8 48 00 05 95 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 8013A38C 001372EC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8013A390 001372F0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8013A394 001372F4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8013A398 001372F8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8013A39C 001372FC 7C 08 03 A6 */ mtlr r0 +/* 8013A3A0 00137300 38 21 00 50 */ addi r1, r1, 0x50 +/* 8013A3A4 00137304 4E 80 00 20 */ blr + +.global PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 +PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16: +/* 8013A3A8 00137308 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8013A3AC 0013730C 7C 08 02 A6 */ mflr r0 +/* 8013A3B0 00137310 90 01 00 54 */ stw r0, 0x54(r1) +/* 8013A3B4 00137314 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8013A3B8 00137318 7C BF 2B 78 */ mr r31, r5 +/* 8013A3BC 0013731C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8013A3C0 00137320 7C 9E 23 78 */ mr r30, r4 +/* 8013A3C4 00137324 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8013A3C8 00137328 7C 7D 1B 78 */ mr r29, r3 +/* 8013A3CC 0013732C 48 00 00 89 */ bl GetPASDatabase__15CBodyControllerCFv +/* 8013A3D0 00137330 7C 64 1B 78 */ mr r4, r3 +/* 8013A3D4 00137334 7F C5 F3 78 */ mr r5, r30 +/* 8013A3D8 00137338 7F E6 FB 78 */ mr r6, r31 +/* 8013A3DC 0013733C 38 61 00 08 */ addi r3, r1, 8 +/* 8013A3E0 00137340 38 E0 FF FF */ li r7, -1 +/* 8013A3E4 00137344 48 1A AC 7D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 8013A3E8 00137348 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8013A3EC 0013734C 38 00 00 00 */ li r0, 0 +/* 8013A3F0 00137350 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) +/* 8013A3F4 00137354 38 A0 FF FF */ li r5, -1 +/* 8013A3F8 00137358 38 E0 00 01 */ li r7, 1 +/* 8013A3FC 0013735C 90 61 00 10 */ stw r3, 0x10(r1) +/* 8013A400 00137360 7F A3 EB 78 */ mr r3, r29 +/* 8013A404 00137364 38 81 00 10 */ addi r4, r1, 0x10 +/* 8013A408 00137368 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8013A40C 0013736C 38 A0 00 00 */ li r5, 0 +/* 8013A410 00137370 38 C0 00 00 */ li r6, 0 +/* 8013A414 00137374 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8013A418 00137378 98 E1 00 1C */ stb r7, 0x1c(r1) +/* 8013A41C 0013737C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8013A420 00137380 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013A424 00137384 98 01 00 28 */ stb r0, 0x28(r1) +/* 8013A428 00137388 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8013A42C 0013738C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8013A430 00137390 90 01 00 34 */ stw r0, 0x34(r1) +/* 8013A434 00137394 48 00 04 E9 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +/* 8013A438 00137398 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8013A43C 0013739C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8013A440 001373A0 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8013A444 001373A4 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8013A448 001373A8 7C 08 03 A6 */ mtlr r0 +/* 8013A44C 001373AC 38 21 00 50 */ addi r1, r1, 0x50 +/* 8013A450 001373B0 4E 80 00 20 */ blr + +.global GetPASDatabase__15CBodyControllerCFv +GetPASDatabase__15CBodyControllerCFv: +/* 8013A454 001373B4 80 63 00 00 */ lwz r3, 0(r3) +/* 8013A458 001373B8 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8013A45C 001373BC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8013A460 001373C0 38 63 00 3C */ addi r3, r3, 0x3c +/* 8013A464 001373C4 4E 80 00 20 */ blr + +.global FaceDirection3D__15CBodyControllerFRC9CVector3ff +FaceDirection3D__15CBodyControllerFRC9CVector3ff: +/* 8013A468 001373C8 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8013A46C 001373CC 7C 08 02 A6 */ mflr r0 +/* 8013A470 001373D0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8013A474 001373D4 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8013A478 001373D8 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8013A47C 001373DC 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 8013A480 001373E0 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 8013A484 001373E4 93 A1 00 C4 */ stw r29, 0xc4(r1) +/* 8013A488 001373E8 93 81 00 C0 */ stw r28, 0xc0(r1) +/* 8013A48C 001373EC 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8013A490 001373F0 FF E0 08 90 */ fmr f31, f1 +/* 8013A494 001373F4 7C 7C 1B 78 */ mr r28, r3 +/* 8013A498 001373F8 7C 9D 23 78 */ mr r29, r4 +/* 8013A49C 001373FC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8013A4A0 00137400 7C BE 2B 78 */ mr r30, r5 +/* 8013A4A4 00137404 40 82 01 D8 */ bne lbl_8013A67C +/* 8013A4A8 00137408 7F A3 EB 78 */ mr r3, r29 +/* 8013A4AC 0013740C 48 1D A2 4D */ bl CanBeNormalized__9CVector3fCFv +/* 8013A4B0 00137410 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013A4B4 00137414 41 82 01 C8 */ beq lbl_8013A67C +/* 8013A4B8 00137418 7F C3 F3 78 */ mr r3, r30 +/* 8013A4BC 0013741C 48 1D A2 3D */ bl CanBeNormalized__9CVector3fCFv +/* 8013A4C0 00137420 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013A4C4 00137424 41 82 01 B8 */ beq lbl_8013A67C +/* 8013A4C8 00137428 80 9C 00 00 */ lwz r4, 0(r28) +/* 8013A4CC 0013742C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013A4D0 00137430 4B F7 22 15 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 8013A4D4 00137434 83 E3 00 04 */ lwz r31, 4(r3) +/* 8013A4D8 00137438 28 1F 00 00 */ cmplwi r31, 0 +/* 8013A4DC 0013743C 41 82 01 A0 */ beq lbl_8013A67C +/* 8013A4E0 00137440 7F A4 EB 78 */ mr r4, r29 +/* 8013A4E4 00137444 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8013A4E8 00137448 48 1D 98 E9 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8013A4EC 0013744C 7F C4 F3 78 */ mr r4, r30 +/* 8013A4F0 00137450 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8013A4F4 00137454 48 1D 98 DD */ bl __ct__11CUnitVectorFRC9CVector3f +/* 8013A4F8 00137458 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 8013A4FC 0013745C C0 01 00 AC */ lfs f0, 0xac(r1) +/* 8013A500 00137460 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 8013A504 00137464 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8013A508 00137468 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 8013A50C 0013746C C0 81 00 BC */ lfs f4, 0xbc(r1) +/* 8013A510 00137470 C0 61 00 B0 */ lfs f3, 0xb0(r1) +/* 8013A514 00137474 EC 42 00 7A */ fmadds f2, f2, f1, f0 +/* 8013A518 00137478 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) +/* 8013A51C 0013747C C0 02 9A 7C */ lfs f0, lbl_805AB79C@sda21(r2) +/* 8013A520 00137480 EC 44 10 FA */ fmadds f2, f4, f3, f2 +/* 8013A524 00137484 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8013A528 00137488 FC 20 0A 10 */ fabs f1, f1 +/* 8013A52C 0013748C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013A530 00137490 41 80 01 4C */ blt lbl_8013A67C +/* 8013A534 00137494 C0 02 9A 80 */ lfs f0, lbl_805AB7A0@sda21(r2) +/* 8013A538 00137498 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8013A53C 0013749C 40 80 00 B4 */ bge lbl_8013A5F0 +/* 8013A540 001374A0 C0 1C 02 FC */ lfs f0, 0x2fc(r28) +/* 8013A544 001374A4 38 61 00 58 */ addi r3, r1, 0x58 +/* 8013A548 001374A8 C0 22 9A 84 */ lfs f1, lbl_805AB7A4@sda21(r2) +/* 8013A54C 001374AC 38 81 00 4C */ addi r4, r1, 0x4c +/* 8013A550 001374B0 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8013A554 001374B4 38 A1 00 0C */ addi r5, r1, 0xc +/* 8013A558 001374B8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8013A55C 001374BC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8013A560 001374C0 C0 5F 00 5C */ lfs f2, 0x5c(r31) +/* 8013A564 001374C4 C0 3F 00 4C */ lfs f1, 0x4c(r31) +/* 8013A568 001374C8 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8013A56C 001374CC D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8013A570 001374D0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8013A574 001374D4 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8013A578 001374D8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8013A57C 001374DC D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8013A580 001374E0 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8013A584 001374E4 48 1D 6D 71 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 8013A588 001374E8 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 8013A58C 001374EC 38 A1 00 9C */ addi r5, r1, 0x9c +/* 8013A590 001374F0 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 8013A594 001374F4 38 61 00 34 */ addi r3, r1, 0x34 +/* 8013A598 001374F8 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8013A59C 001374FC C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8013A5A0 00137500 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 8013A5A4 00137504 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 8013A5A8 00137508 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 8013A5AC 0013750C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8013A5B0 00137510 80 9C 00 00 */ lwz r4, 0(r28) +/* 8013A5B4 00137514 38 84 00 34 */ addi r4, r4, 0x34 +/* 8013A5B8 00137518 48 1D 84 6D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8013A5BC 0013751C C0 81 00 98 */ lfs f4, 0x98(r1) +/* 8013A5C0 00137520 FC 20 F8 90 */ fmr f1, f31 +/* 8013A5C4 00137524 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 8013A5C8 00137528 7F E3 FB 78 */ mr r3, r31 +/* 8013A5CC 0013752C C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8013A5D0 00137530 38 81 00 88 */ addi r4, r1, 0x88 +/* 8013A5D4 00137534 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8013A5D8 00137538 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 8013A5DC 0013753C D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 8013A5E0 00137540 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8013A5E4 00137544 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8013A5E8 00137548 4B FE 07 75 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +/* 8013A5EC 0013754C 48 00 00 90 */ b lbl_8013A67C +lbl_8013A5F0: +/* 8013A5F0 00137550 C0 1C 02 FC */ lfs f0, 0x2fc(r28) +/* 8013A5F4 00137554 38 61 00 24 */ addi r3, r1, 0x24 +/* 8013A5F8 00137558 C0 22 9A 84 */ lfs f1, lbl_805AB7A4@sda21(r2) +/* 8013A5FC 0013755C 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8013A600 00137560 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8013A604 00137564 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 8013A608 00137568 38 C1 00 08 */ addi r6, r1, 8 +/* 8013A60C 0013756C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8013A610 00137570 D0 01 00 08 */ stfs f0, 8(r1) +/* 8013A614 00137574 48 1D 6A 0D */ bl ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle +/* 8013A618 00137578 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 8013A61C 0013757C 38 A1 00 7C */ addi r5, r1, 0x7c +/* 8013A620 00137580 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8013A624 00137584 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013A628 00137588 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8013A62C 0013758C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8013A630 00137590 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 8013A634 00137594 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8013A638 00137598 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 8013A63C 0013759C D0 01 00 84 */ stfs f0, 0x84(r1) +/* 8013A640 001375A0 80 9C 00 00 */ lwz r4, 0(r28) +/* 8013A644 001375A4 38 84 00 34 */ addi r4, r4, 0x34 +/* 8013A648 001375A8 48 1D 83 DD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8013A64C 001375AC C0 81 00 78 */ lfs f4, 0x78(r1) +/* 8013A650 001375B0 FC 20 F8 90 */ fmr f1, f31 +/* 8013A654 001375B4 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8013A658 001375B8 7F E3 FB 78 */ mr r3, r31 +/* 8013A65C 001375BC C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8013A660 001375C0 38 81 00 68 */ addi r4, r1, 0x68 +/* 8013A664 001375C4 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8013A668 001375C8 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 8013A66C 001375CC D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 8013A670 001375D0 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8013A674 001375D4 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8013A678 001375D8 4B FE 06 E5 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +lbl_8013A67C: +/* 8013A67C 001375DC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8013A680 001375E0 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8013A684 001375E4 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8013A688 001375E8 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 8013A68C 001375EC 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 8013A690 001375F0 83 A1 00 C4 */ lwz r29, 0xc4(r1) +/* 8013A694 001375F4 83 81 00 C0 */ lwz r28, 0xc0(r1) +/* 8013A698 001375F8 7C 08 03 A6 */ mtlr r0 +/* 8013A69C 001375FC 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8013A6A0 00137600 4E 80 00 20 */ blr + +.global FaceDirection__15CBodyControllerFRC9CVector3ff +FaceDirection__15CBodyControllerFRC9CVector3ff: +/* 8013A6A4 00137604 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8013A6A8 00137608 7C 08 02 A6 */ mflr r0 +/* 8013A6AC 0013760C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8013A6B0 00137610 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8013A6B4 00137614 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8013A6B8 00137618 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8013A6BC 0013761C 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8013A6C0 00137620 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8013A6C4 00137624 FF E0 08 90 */ fmr f31, f1 +/* 8013A6C8 00137628 7C 7E 1B 78 */ mr r30, r3 +/* 8013A6CC 0013762C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8013A6D0 00137630 40 82 01 18 */ bne lbl_8013A7E8 +/* 8013A6D4 00137634 C0 04 00 08 */ lfs f0, 8(r4) +/* 8013A6D8 00137638 38 61 00 74 */ addi r3, r1, 0x74 +/* 8013A6DC 0013763C C0 44 00 00 */ lfs f2, 0(r4) +/* 8013A6E0 00137640 C0 24 00 04 */ lfs f1, 4(r4) +/* 8013A6E4 00137644 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8013A6E8 00137648 C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) +/* 8013A6EC 0013764C D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8013A6F0 00137650 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 8013A6F4 00137654 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8013A6F8 00137658 48 1D A0 01 */ bl CanBeNormalized__9CVector3fCFv +/* 8013A6FC 0013765C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013A700 00137660 41 82 00 E8 */ beq lbl_8013A7E8 +/* 8013A704 00137664 80 9E 00 00 */ lwz r4, 0(r30) +/* 8013A708 00137668 38 61 00 0C */ addi r3, r1, 0xc +/* 8013A70C 0013766C 4B F7 1F D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 8013A710 00137670 83 E3 00 04 */ lwz r31, 4(r3) +/* 8013A714 00137674 28 1F 00 00 */ cmplwi r31, 0 +/* 8013A718 00137678 41 82 00 D0 */ beq lbl_8013A7E8 +/* 8013A71C 0013767C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013A720 00137680 38 81 00 74 */ addi r4, r1, 0x74 +/* 8013A724 00137684 48 1D A1 2D */ bl AsNormalized__9CVector3fCFv +/* 8013A728 00137688 C0 1E 02 FC */ lfs f0, 0x2fc(r30) +/* 8013A72C 0013768C 38 61 00 38 */ addi r3, r1, 0x38 +/* 8013A730 00137690 80 FE 00 00 */ lwz r7, 0(r30) +/* 8013A734 00137694 38 81 00 2C */ addi r4, r1, 0x2c +/* 8013A738 00137698 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8013A73C 0013769C C0 22 9A 84 */ lfs f1, lbl_805AB7A4@sda21(r2) +/* 8013A740 001376A0 C0 C7 00 58 */ lfs f6, 0x58(r7) +/* 8013A744 001376A4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8013A748 001376A8 C0 A7 00 48 */ lfs f5, 0x48(r7) +/* 8013A74C 001376AC 38 C1 00 08 */ addi r6, r1, 8 +/* 8013A750 001376B0 C0 87 00 38 */ lfs f4, 0x38(r7) +/* 8013A754 001376B4 EC 61 00 32 */ fmuls f3, f1, f0 +/* 8013A758 001376B8 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 8013A75C 001376BC C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 8013A760 001376C0 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8013A764 001376C4 D0 61 00 08 */ stfs f3, 8(r1) +/* 8013A768 001376C8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8013A76C 001376CC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8013A770 001376D0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8013A774 001376D4 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8013A778 001376D8 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 8013A77C 001376DC D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 8013A780 001376E0 48 1D 6F 15 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle +/* 8013A784 001376E4 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 8013A788 001376E8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 8013A78C 001376EC C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 8013A790 001376F0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8013A794 001376F4 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 8013A798 001376F8 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8013A79C 001376FC D0 61 00 64 */ stfs f3, 0x64(r1) +/* 8013A7A0 00137700 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 8013A7A4 00137704 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 8013A7A8 00137708 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8013A7AC 0013770C 80 9E 00 00 */ lwz r4, 0(r30) +/* 8013A7B0 00137710 38 84 00 34 */ addi r4, r4, 0x34 +/* 8013A7B4 00137714 48 1D 82 71 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8013A7B8 00137718 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 8013A7BC 0013771C FC 20 F8 90 */ fmr f1, f31 +/* 8013A7C0 00137720 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8013A7C4 00137724 7F E3 FB 78 */ mr r3, r31 +/* 8013A7C8 00137728 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8013A7CC 0013772C 38 81 00 54 */ addi r4, r1, 0x54 +/* 8013A7D0 00137730 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8013A7D4 00137734 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 8013A7D8 00137738 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 8013A7DC 0013773C D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 8013A7E0 00137740 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8013A7E4 00137744 4B FE 05 79 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +lbl_8013A7E8: +/* 8013A7E8 00137748 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8013A7EC 0013774C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8013A7F0 00137750 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8013A7F4 00137754 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8013A7F8 00137758 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8013A7FC 0013775C 7C 08 03 A6 */ mtlr r0 +/* 8013A800 00137760 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8013A804 00137764 4E 80 00 20 */ blr + +.global SetDeltaRotation__15CBodyControllerFRC11CQuaternion +SetDeltaRotation__15CBodyControllerFRC11CQuaternion: +/* 8013A808 00137768 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8013A80C 0013776C 7C 08 02 A6 */ mflr r0 +/* 8013A810 00137770 7C 85 23 78 */ mr r5, r4 +/* 8013A814 00137774 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013A818 00137778 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013A81C 0013777C 7C 7F 1B 78 */ mr r31, r3 +/* 8013A820 00137780 38 61 00 08 */ addi r3, r1, 8 +/* 8013A824 00137784 38 9F 02 DC */ addi r4, r31, 0x2dc +/* 8013A828 00137788 48 1D 69 79 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8013A82C 0013778C C0 01 00 08 */ lfs f0, 8(r1) +/* 8013A830 00137790 D0 1F 02 DC */ stfs f0, 0x2dc(r31) +/* 8013A834 00137794 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8013A838 00137798 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8013A83C 0013779C 90 7F 02 E0 */ stw r3, 0x2e0(r31) +/* 8013A840 001377A0 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8013A844 001377A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013A848 001377A8 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8013A84C 001377AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013A850 001377B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8013A854 001377B4 7C 08 03 A6 */ mtlr r0 +/* 8013A858 001377B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8013A85C 001377BC 4E 80 00 20 */ blr + +.global MultiplyPlaybackRate__15CBodyControllerFf +MultiplyPlaybackRate__15CBodyControllerFf: +/* 8013A860 001377C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013A864 001377C4 7C 08 02 A6 */ mflr r0 +/* 8013A868 001377C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013A86C 001377CC 80 63 00 00 */ lwz r3, 0(r3) +/* 8013A870 001377D0 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8013A874 001377D4 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8013A878 001377D8 4B EF 0B E1 */ bl MultiplyPlaybackRate__9CAnimDataFf +/* 8013A87C 001377DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013A880 001377E0 7C 08 03 A6 */ mtlr r0 +/* 8013A884 001377E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013A888 001377E8 4E 80 00 20 */ blr + +.global SetPlaybackRate__15CBodyControllerFf +SetPlaybackRate__15CBodyControllerFf: +/* 8013A88C 001377EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013A890 001377F0 7C 08 02 A6 */ mflr r0 +/* 8013A894 001377F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013A898 001377F8 80 63 00 00 */ lwz r3, 0(r3) +/* 8013A89C 001377FC 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8013A8A0 00137800 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8013A8A4 00137804 4B EF 0B C5 */ bl SetPlaybackRate__9CAnimDataFf +/* 8013A8A8 00137808 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013A8AC 0013780C 7C 08 03 A6 */ mtlr r0 +/* 8013A8B0 00137810 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013A8B4 00137814 4E 80 00 20 */ blr + +.global GetAnimTimeRemaining__15CBodyControllerCFv +GetAnimTimeRemaining__15CBodyControllerCFv: +/* 8013A8B8 00137818 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8013A8BC 0013781C 7C 08 02 A6 */ mflr r0 +/* 8013A8C0 00137820 3C 80 80 3D */ lis r4, lbl_803D0060@ha +/* 8013A8C4 00137824 90 01 00 34 */ stw r0, 0x34(r1) +/* 8013A8C8 00137828 38 84 00 60 */ addi r4, r4, lbl_803D0060@l +/* 8013A8CC 0013782C DB E1 00 28 */ stfd f31, 0x28(r1) +/* 8013A8D0 00137830 93 E1 00 24 */ stw r31, 0x24(r1) +/* 8013A8D4 00137834 7C 7F 1B 78 */ mr r31, r3 +/* 8013A8D8 00137838 38 61 00 08 */ addi r3, r1, 8 +/* 8013A8DC 0013783C 4B EC A3 DD */ bl string_l__4rstlFPCc +/* 8013A8E0 00137840 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013A8E4 00137844 38 81 00 08 */ addi r4, r1, 8 +/* 8013A8E8 00137848 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8013A8EC 0013784C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8013A8F0 00137850 4B EF 1B 7D */ bl "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8013A8F4 00137854 FF E0 08 90 */ fmr f31, f1 +/* 8013A8F8 00137858 38 61 00 08 */ addi r3, r1, 8 +/* 8013A8FC 0013785C 48 20 31 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8013A900 00137860 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8013A904 00137864 FC 20 F8 90 */ fmr f1, f31 +/* 8013A908 00137868 CB E1 00 28 */ lfd f31, 0x28(r1) +/* 8013A90C 0013786C 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 8013A910 00137870 7C 08 03 A6 */ mtlr r0 +/* 8013A914 00137874 38 21 00 30 */ addi r1, r1, 0x30 +/* 8013A918 00137878 4E 80 00 20 */ blr + +.global SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb +SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb: +/* 8013A91C 0013787C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8013A920 00137880 7C 08 02 A6 */ mflr r0 +/* 8013A924 00137884 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013A928 00137888 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013A92C 0013788C 7C BF 2B 78 */ mr r31, r5 +/* 8013A930 00137890 7C C5 33 78 */ mr r5, r6 +/* 8013A934 00137894 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8013A938 00137898 7C 9E 23 78 */ mr r30, r4 +/* 8013A93C 0013789C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8013A940 001378A0 7C 7D 1B 78 */ mr r29, r3 +/* 8013A944 001378A4 80 63 00 00 */ lwz r3, 0(r3) +/* 8013A948 001378A8 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8013A94C 001378AC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8013A950 001378B0 4B EF 24 2D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 8013A954 001378B4 80 7D 00 00 */ lwz r3, 0(r29) +/* 8013A958 001378B8 7F E4 FB 78 */ mr r4, r31 +/* 8013A95C 001378BC 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8013A960 001378C0 4B FD AC 01 */ bl EnableLooping__10CModelDataFb +/* 8013A964 001378C4 80 1E 00 00 */ lwz r0, 0(r30) +/* 8013A968 001378C8 90 1D 02 F8 */ stw r0, 0x2f8(r29) +/* 8013A96C 001378CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8013A970 001378D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013A974 001378D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8013A978 001378D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8013A97C 001378DC 7C 08 03 A6 */ mtlr r0 +/* 8013A980 001378E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8013A984 001378E4 4E 80 00 20 */ blr + +.global EnableAnimation__15CBodyControllerFb +EnableAnimation__15CBodyControllerFb: +/* 8013A988 001378E8 80 63 00 00 */ lwz r3, 0(r3) +/* 8013A98C 001378EC 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8013A990 001378F0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8013A994 001378F4 88 03 02 20 */ lbz r0, 0x220(r3) +/* 8013A998 001378F8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8013A99C 001378FC 98 03 02 20 */ stb r0, 0x220(r3) +/* 8013A9A0 00137900 4E 80 00 20 */ blr + +.global SetTurnSpeed__15CBodyControllerFf +SetTurnSpeed__15CBodyControllerFf: +/* 8013A9A4 00137904 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013A9A8 00137908 FC 00 08 18 */ frsp f0, f1 +/* 8013A9AC 0013790C C0 4D 8B 80 */ lfs f2, lbl_805A7740@sda21(r13) +/* 8013A9B0 00137910 D0 21 00 08 */ stfs f1, 8(r1) +/* 8013A9B4 00137914 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8013A9B8 00137918 40 80 00 0C */ bge lbl_8013A9C4 +/* 8013A9BC 0013791C 38 81 00 08 */ addi r4, r1, 8 +/* 8013A9C0 00137920 48 00 00 08 */ b lbl_8013A9C8 +lbl_8013A9C4: +/* 8013A9C4 00137924 38 8D 8B 80 */ addi r4, r13, lbl_805A7740@sda21 +lbl_8013A9C8: +/* 8013A9C8 00137928 C0 04 00 00 */ lfs f0, 0(r4) +/* 8013A9CC 0013792C D0 03 02 FC */ stfs f0, 0x2fc(r3) +/* 8013A9D0 00137930 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013A9D4 00137934 4E 80 00 20 */ blr + +.global SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType: +/* 8013A9D8 00137938 90 83 02 EC */ stw r4, 0x2ec(r3) +/* 8013A9DC 0013793C 4E 80 00 20 */ blr + +.global UpdateBody__15CBodyControllerFfR13CStateManager +UpdateBody__15CBodyControllerFfR13CStateManager: +/* 8013A9E0 00137940 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8013A9E4 00137944 7C 08 02 A6 */ mflr r0 +/* 8013A9E8 00137948 90 01 00 34 */ stw r0, 0x34(r1) +/* 8013A9EC 0013794C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8013A9F0 00137950 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8013A9F4 00137954 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013A9F8 00137958 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8013A9FC 0013795C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8013AA00 00137960 FF E0 08 90 */ fmr f31, f1 +/* 8013AA04 00137964 7C 7D 1B 78 */ mr r29, r3 +/* 8013AA08 00137968 7C 9E 23 78 */ mr r30, r4 +/* 8013AA0C 0013796C 4B FF F3 35 */ bl UpdateFrozenInfo__15CBodyControllerFfR13CStateManager +/* 8013AA10 00137970 C0 5D 03 20 */ lfs f2, 0x320(r29) +/* 8013AA14 00137974 C0 22 9A 78 */ lfs f1, lbl_805AB798@sda21(r2) +/* 8013AA18 00137978 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 8013AA1C 0013797C 40 81 00 28 */ ble lbl_8013AA44 +/* 8013AA20 00137980 C0 1D 03 28 */ lfs f0, 0x328(r29) +/* 8013AA24 00137984 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8013AA28 00137988 40 81 00 10 */ ble lbl_8013AA38 +/* 8013AA2C 0013798C D0 3D 03 28 */ stfs f1, 0x328(r29) +/* 8013AA30 00137990 D0 3D 03 20 */ stfs f1, 0x320(r29) +/* 8013AA34 00137994 48 00 00 3C */ b lbl_8013AA70 +lbl_8013AA38: +/* 8013AA38 00137998 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8013AA3C 0013799C D0 1D 03 28 */ stfs f0, 0x328(r29) +/* 8013AA40 001379A0 48 00 00 30 */ b lbl_8013AA70 +lbl_8013AA44: +/* 8013AA44 001379A4 C0 5D 03 24 */ lfs f2, 0x324(r29) +/* 8013AA48 001379A8 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 8013AA4C 001379AC 40 81 00 24 */ ble lbl_8013AA70 +/* 8013AA50 001379B0 C0 1D 03 2C */ lfs f0, 0x32c(r29) +/* 8013AA54 001379B4 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8013AA58 001379B8 40 81 00 10 */ ble lbl_8013AA68 +/* 8013AA5C 001379BC D0 3D 03 2C */ stfs f1, 0x32c(r29) +/* 8013AA60 001379C0 D0 3D 03 24 */ stfs f1, 0x324(r29) +/* 8013AA64 001379C4 48 00 00 0C */ b lbl_8013AA70 +lbl_8013AA68: +/* 8013AA68 001379C8 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8013AA6C 001379CC D0 1D 03 2C */ stfs f0, 0x32c(r29) +lbl_8013AA70: +/* 8013AA70 001379D0 7F A3 EB 78 */ mr r3, r29 +/* 8013AA74 001379D4 4B FF F6 59 */ bl GetPercentageFrozen__15CBodyControllerCFv +/* 8013AA78 001379D8 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) +/* 8013AA7C 001379DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013AA80 001379E0 40 80 01 00 */ bge lbl_8013AB80 +/* 8013AA84 001379E4 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 8013AA88 001379E8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8013AA8C 001379EC 41 82 00 F4 */ beq lbl_8013AB80 +/* 8013AA90 001379F0 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 8013AA94 001379F4 4B FF 95 81 */ bl GetCurrentState__14CBodyStateInfoFv +/* 8013AA98 001379F8 81 83 00 00 */ lwz r12, 0(r3) +/* 8013AA9C 001379FC FC 20 F8 90 */ fmr f1, f31 +/* 8013AAA0 00137A00 7F A4 EB 78 */ mr r4, r29 +/* 8013AAA4 00137A04 7F C5 F3 78 */ mr r5, r30 +/* 8013AAA8 00137A08 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8013AAAC 00137A0C 7D 89 03 A6 */ mtctr r12 +/* 8013AAB0 00137A10 4E 80 04 21 */ bctrl +/* 8013AAB4 00137A14 7C 7F 1B 78 */ mr r31, r3 +/* 8013AAB8 00137A18 2C 1F FF FF */ cmpwi r31, -1 +/* 8013AABC 00137A1C 41 82 00 4C */ beq lbl_8013AB08 +/* 8013AAC0 00137A20 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 8013AAC4 00137A24 4B FF 95 51 */ bl GetCurrentState__14CBodyStateInfoFv +/* 8013AAC8 00137A28 81 83 00 00 */ lwz r12, 0(r3) +/* 8013AACC 00137A2C 7F A4 EB 78 */ mr r4, r29 +/* 8013AAD0 00137A30 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8013AAD4 00137A34 7D 89 03 A6 */ mtctr r12 +/* 8013AAD8 00137A38 4E 80 04 21 */ bctrl +/* 8013AADC 00137A3C 7F E4 FB 78 */ mr r4, r31 +/* 8013AAE0 00137A40 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 8013AAE4 00137A44 4B FF 95 F9 */ bl SetState__14CBodyStateInfoFQ23pas15EAnimationState +/* 8013AAE8 00137A48 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 8013AAEC 00137A4C 4B FF 95 29 */ bl GetCurrentState__14CBodyStateInfoFv +/* 8013AAF0 00137A50 81 83 00 00 */ lwz r12, 0(r3) +/* 8013AAF4 00137A54 7F A4 EB 78 */ mr r4, r29 +/* 8013AAF8 00137A58 7F C5 F3 78 */ mr r5, r30 +/* 8013AAFC 00137A5C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8013AB00 00137A60 7D 89 03 A6 */ mtctr r12 +/* 8013AB04 00137A64 4E 80 04 21 */ bctrl +lbl_8013AB08: +/* 8013AB08 00137A68 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 8013AB0C 00137A6C 4B FF 94 31 */ bl GetCurrentAdditiveState__14CBodyStateInfoFv +/* 8013AB10 00137A70 81 83 00 00 */ lwz r12, 0(r3) +/* 8013AB14 00137A74 FC 20 F8 90 */ fmr f1, f31 +/* 8013AB18 00137A78 7F A4 EB 78 */ mr r4, r29 +/* 8013AB1C 00137A7C 7F C5 F3 78 */ mr r5, r30 +/* 8013AB20 00137A80 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8013AB24 00137A84 7D 89 03 A6 */ mtctr r12 +/* 8013AB28 00137A88 4E 80 04 21 */ bctrl +/* 8013AB2C 00137A8C 7C 7F 1B 78 */ mr r31, r3 +/* 8013AB30 00137A90 2C 1F FF FF */ cmpwi r31, -1 +/* 8013AB34 00137A94 41 82 00 4C */ beq lbl_8013AB80 +/* 8013AB38 00137A98 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 8013AB3C 00137A9C 4B FF 94 01 */ bl GetCurrentAdditiveState__14CBodyStateInfoFv +/* 8013AB40 00137AA0 81 83 00 00 */ lwz r12, 0(r3) +/* 8013AB44 00137AA4 7F A4 EB 78 */ mr r4, r29 +/* 8013AB48 00137AA8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8013AB4C 00137AAC 7D 89 03 A6 */ mtctr r12 +/* 8013AB50 00137AB0 4E 80 04 21 */ bctrl +/* 8013AB54 00137AB4 7F E4 FB 78 */ mr r4, r31 +/* 8013AB58 00137AB8 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 8013AB5C 00137ABC 4B FF 94 35 */ bl SetAdditiveState__14CBodyStateInfoFQ23pas15EAnimationState +/* 8013AB60 00137AC0 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 8013AB64 00137AC4 4B FF 93 D9 */ bl GetCurrentAdditiveState__14CBodyStateInfoFv +/* 8013AB68 00137AC8 81 83 00 00 */ lwz r12, 0(r3) +/* 8013AB6C 00137ACC 7F A4 EB 78 */ mr r4, r29 +/* 8013AB70 00137AD0 7F C5 F3 78 */ mr r5, r30 +/* 8013AB74 00137AD4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8013AB78 00137AD8 7D 89 03 A6 */ mtctr r12 +/* 8013AB7C 00137ADC 4E 80 04 21 */ bctrl +lbl_8013AB80: +/* 8013AB80 00137AE0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8013AB84 00137AE4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8013AB88 00137AE8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8013AB8C 00137AEC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013AB90 00137AF0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8013AB94 00137AF4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8013AB98 00137AF8 7C 08 03 A6 */ mtlr r0 +/* 8013AB9C 00137AFC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8013ABA0 00137B00 4E 80 00 20 */ blr + +.global SetFallState__15CBodyControllerFQ23pas10EFallState +SetFallState__15CBodyControllerFQ23pas10EFallState: +/* 8013ABA4 00137B04 90 83 02 F0 */ stw r4, 0x2f0(r3) +/* 8013ABA8 00137B08 4E 80 00 20 */ blr + +.global GetFallState__15CBodyControllerCFv +GetFallState__15CBodyControllerCFv: +/* 8013ABAC 00137B0C 80 63 02 F0 */ lwz r3, 0x2f0(r3) +/* 8013ABB0 00137B10 4E 80 00 20 */ blr + +.global HasBodyState__15CBodyControllerCFQ23pas15EAnimationState +HasBodyState__15CBodyControllerCFQ23pas15EAnimationState: +/* 8013ABB4 00137B14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013ABB8 00137B18 7C 08 02 A6 */ mflr r0 +/* 8013ABBC 00137B1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013ABC0 00137B20 80 63 00 00 */ lwz r3, 0(r3) +/* 8013ABC4 00137B24 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8013ABC8 00137B28 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8013ABCC 00137B2C 38 63 00 3C */ addi r3, r3, 0x3c +/* 8013ABD0 00137B30 48 1A A3 AD */ bl HasState__12CPASDatabaseCFi +/* 8013ABD4 00137B34 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013ABD8 00137B38 7C 08 03 A6 */ mtlr r0 +/* 8013ABDC 00137B3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013ABE0 00137B40 4E 80 00 20 */ blr + +.global Update__15CBodyControllerFfR13CStateManager +Update__15CBodyControllerFfR13CStateManager: +/* 8013ABE4 00137B44 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8013ABE8 00137B48 7C 08 02 A6 */ mflr r0 +/* 8013ABEC 00137B4C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8013ABF0 00137B50 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8013ABF4 00137B54 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8013ABF8 00137B58 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8013ABFC 00137B5C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8013AC00 00137B60 FF E0 08 90 */ fmr f31, f1 +/* 8013AC04 00137B64 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) +/* 8013AC08 00137B68 7C 7F 1B 78 */ mr r31, r3 +/* 8013AC0C 00137B6C 7C 9E 23 78 */ mr r30, r4 +/* 8013AC10 00137B70 4B FF FC 7D */ bl SetPlaybackRate__15CBodyControllerFf +/* 8013AC14 00137B74 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 8013AC18 00137B78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8013AC1C 00137B7C 41 82 00 B4 */ beq lbl_8013ACD0 +/* 8013AC20 00137B80 3C 80 80 3D */ lis r4, lbl_803D0060@ha +/* 8013AC24 00137B84 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013AC28 00137B88 38 84 00 60 */ addi r4, r4, lbl_803D0060@l +/* 8013AC2C 00137B8C 4B EC A0 8D */ bl string_l__4rstlFPCc +/* 8013AC30 00137B90 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013AC34 00137B94 FC 20 F8 90 */ fmr f1, f31 +/* 8013AC38 00137B98 38 81 00 10 */ addi r4, r1, 0x10 +/* 8013AC3C 00137B9C 80 63 00 64 */ lwz r3, 0x64(r3) +/* 8013AC40 00137BA0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8013AC44 00137BA4 4B EF 17 A9 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8013AC48 00137BA8 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8013AC4C 00137BAC 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 8013AC50 00137BB0 7C 64 00 34 */ cntlzw r4, r3 +/* 8013AC54 00137BB4 50 80 16 30 */ rlwimi r0, r4, 2, 0x18, 0x18 +/* 8013AC58 00137BB8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013AC5C 00137BBC 98 1F 03 00 */ stb r0, 0x300(r31) +/* 8013AC60 00137BC0 48 20 2E 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8013AC64 00137BC4 38 7F 00 04 */ addi r3, r31, 4 +/* 8013AC68 00137BC8 4B FF 68 E1 */ bl BlendSteeringCmds__16CBodyStateCmdMgrFv +/* 8013AC6C 00137BCC 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 8013AC70 00137BD0 FC 20 F8 90 */ fmr f1, f31 +/* 8013AC74 00137BD4 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l +/* 8013AC78 00137BD8 7F E3 FB 78 */ mr r3, r31 +/* 8013AC7C 00137BDC C0 06 00 00 */ lfs f0, 0(r6) +/* 8013AC80 00137BE0 7F C4 F3 78 */ mr r4, r30 +/* 8013AC84 00137BE4 D0 1F 02 DC */ stfs f0, 0x2dc(r31) +/* 8013AC88 00137BE8 80 A6 00 04 */ lwz r5, 4(r6) +/* 8013AC8C 00137BEC 80 06 00 08 */ lwz r0, 8(r6) +/* 8013AC90 00137BF0 90 BF 02 E0 */ stw r5, 0x2e0(r31) +/* 8013AC94 00137BF4 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 8013AC98 00137BF8 80 06 00 0C */ lwz r0, 0xc(r6) +/* 8013AC9C 00137BFC 90 1F 02 E8 */ stw r0, 0x2e8(r31) +/* 8013ACA0 00137C00 4B FF FD 41 */ bl UpdateBody__15CBodyControllerFfR13CStateManager +/* 8013ACA4 00137C04 80 9F 00 00 */ lwz r4, 0(r31) +/* 8013ACA8 00137C08 38 61 00 08 */ addi r3, r1, 8 +/* 8013ACAC 00137C0C 4B F7 1A 39 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 8013ACB0 00137C10 80 63 00 04 */ lwz r3, 4(r3) +/* 8013ACB4 00137C14 28 03 00 00 */ cmplwi r3, 0 +/* 8013ACB8 00137C18 41 82 00 10 */ beq lbl_8013ACC8 +/* 8013ACBC 00137C1C FC 20 F8 90 */ fmr f1, f31 +/* 8013ACC0 00137C20 38 9F 02 DC */ addi r4, r31, 0x2dc +/* 8013ACC4 00137C24 4B FE 00 99 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +lbl_8013ACC8: +/* 8013ACC8 00137C28 38 7F 00 04 */ addi r3, r31, 4 +/* 8013ACCC 00137C2C 4B FF 68 1D */ bl Reset__16CBodyStateCmdMgrFv +lbl_8013ACD0: +/* 8013ACD0 00137C30 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8013ACD4 00137C34 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8013ACD8 00137C38 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8013ACDC 00137C3C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8013ACE0 00137C40 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8013ACE4 00137C44 7C 08 03 A6 */ mtlr r0 +/* 8013ACE8 00137C48 38 21 00 40 */ addi r1, r1, 0x40 +/* 8013ACEC 00137C4C 4E 80 00 20 */ blr + +.global Activate__15CBodyControllerFR13CStateManager +Activate__15CBodyControllerFR13CStateManager: +/* 8013ACF0 00137C50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013ACF4 00137C54 7C 08 02 A6 */ mflr r0 +/* 8013ACF8 00137C58 38 A0 00 01 */ li r5, 1 +/* 8013ACFC 00137C5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013AD00 00137C60 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013AD04 00137C64 7C 9F 23 78 */ mr r31, r4 +/* 8013AD08 00137C68 93 C1 00 08 */ stw r30, 8(r1) +/* 8013AD0C 00137C6C 7C 7E 1B 78 */ mr r30, r3 +/* 8013AD10 00137C70 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8013AD14 00137C74 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8013AD18 00137C78 98 03 03 00 */ stb r0, 0x300(r3) +/* 8013AD1C 00137C7C 4B FF F7 39 */ bl GetPASDatabase__15CBodyControllerCFv +/* 8013AD20 00137C80 7C 64 1B 78 */ mr r4, r3 +/* 8013AD24 00137C84 38 7E 02 A4 */ addi r3, r30, 0x2a4 +/* 8013AD28 00137C88 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8013AD2C 00137C8C 4B FF 93 B1 */ bl SetState__14CBodyStateInfoFQ23pas15EAnimationState +/* 8013AD30 00137C90 38 7E 02 A4 */ addi r3, r30, 0x2a4 +/* 8013AD34 00137C94 4B FF 92 E1 */ bl GetCurrentState__14CBodyStateInfoFv +/* 8013AD38 00137C98 81 83 00 00 */ lwz r12, 0(r3) +/* 8013AD3C 00137C9C 7F C4 F3 78 */ mr r4, r30 +/* 8013AD40 00137CA0 7F E5 FB 78 */ mr r5, r31 +/* 8013AD44 00137CA4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8013AD48 00137CA8 7D 89 03 A6 */ mtctr r12 +/* 8013AD4C 00137CAC 4E 80 04 21 */ bctrl +/* 8013AD50 00137CB0 38 7E 02 A4 */ addi r3, r30, 0x2a4 +/* 8013AD54 00137CB4 4B FF 91 E9 */ bl GetCurrentAdditiveState__14CBodyStateInfoFv +/* 8013AD58 00137CB8 81 83 00 00 */ lwz r12, 0(r3) +/* 8013AD5C 00137CBC 7F C4 F3 78 */ mr r4, r30 +/* 8013AD60 00137CC0 7F E5 FB 78 */ mr r5, r31 +/* 8013AD64 00137CC4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8013AD68 00137CC8 7D 89 03 A6 */ mtctr r12 +/* 8013AD6C 00137CCC 4E 80 04 21 */ bctrl +/* 8013AD70 00137CD0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013AD74 00137CD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013AD78 00137CD8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8013AD7C 00137CDC 7C 08 03 A6 */ mtlr r0 +/* 8013AD80 00137CE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013AD84 00137CE4 4E 80 00 20 */ blr + +.global __ct__15CBodyControllerFR6CActorf9EBodyType +__ct__15CBodyControllerFR6CActorf9EBodyType: +/* 8013AD88 00137CE8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8013AD8C 00137CEC 7C 08 02 A6 */ mflr r0 +/* 8013AD90 00137CF0 90 01 00 34 */ stw r0, 0x34(r1) +/* 8013AD94 00137CF4 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8013AD98 00137CF8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8013AD9C 00137CFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013ADA0 00137D00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8013ADA4 00137D04 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8013ADA8 00137D08 7C 7D 1B 78 */ mr r29, r3 +/* 8013ADAC 00137D0C 7C 9E 23 78 */ mr r30, r4 +/* 8013ADB0 00137D10 FF E0 08 90 */ fmr f31, f1 +/* 8013ADB4 00137D14 93 C3 00 00 */ stw r30, 0(r3) +/* 8013ADB8 00137D18 7C BF 2B 78 */ mr r31, r5 +/* 8013ADBC 00137D1C 38 7D 00 04 */ addi r3, r29, 4 +/* 8013ADC0 00137D20 4B FF 6E ED */ bl __ct__16CBodyStateCmdMgrFv +/* 8013ADC4 00137D24 7F C4 F3 78 */ mr r4, r30 +/* 8013ADC8 00137D28 7F E5 FB 78 */ mr r5, r31 +/* 8013ADCC 00137D2C 38 7D 02 A4 */ addi r3, r29, 0x2a4 +/* 8013ADD0 00137D30 4B FF 95 B5 */ bl __ct__14CBodyStateInfoFR6CActor9EBodyType +/* 8013ADD4 00137D34 3C 80 80 5A */ lis r4, lbl_805A6660@ha +/* 8013ADD8 00137D38 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013ADDC 00137D3C 38 E4 66 60 */ addi r7, r4, lbl_805A6660@l +/* 8013ADE0 00137D40 38 C0 00 01 */ li r6, 1 +/* 8013ADE4 00137D44 C0 07 00 00 */ lfs f0, 0(r7) +/* 8013ADE8 00137D48 38 A0 00 00 */ li r5, 0 +/* 8013ADEC 00137D4C 38 00 FF FF */ li r0, -1 +/* 8013ADF0 00137D50 C0 22 9A 78 */ lfs f1, lbl_805AB798@sda21(r2) +/* 8013ADF4 00137D54 D0 1D 02 DC */ stfs f0, 0x2dc(r29) +/* 8013ADF8 00137D58 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8013ADFC 00137D5C 7F A3 EB 78 */ mr r3, r29 +/* 8013AE00 00137D60 C0 07 00 04 */ lfs f0, 4(r7) +/* 8013AE04 00137D64 D0 1D 02 E0 */ stfs f0, 0x2e0(r29) +/* 8013AE08 00137D68 C0 07 00 08 */ lfs f0, 8(r7) +/* 8013AE0C 00137D6C D0 1D 02 E4 */ stfs f0, 0x2e4(r29) +/* 8013AE10 00137D70 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 8013AE14 00137D74 D0 1D 02 E8 */ stfs f0, 0x2e8(r29) +/* 8013AE18 00137D78 90 DD 02 EC */ stw r6, 0x2ec(r29) +/* 8013AE1C 00137D7C 90 BD 02 F0 */ stw r5, 0x2f0(r29) +/* 8013AE20 00137D80 93 FD 02 F4 */ stw r31, 0x2f4(r29) +/* 8013AE24 00137D84 90 1D 02 F8 */ stw r0, 0x2f8(r29) +/* 8013AE28 00137D88 D3 FD 02 FC */ stfs f31, 0x2fc(r29) +/* 8013AE2C 00137D8C 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 8013AE30 00137D90 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8013AE34 00137D94 98 1D 03 00 */ stb r0, 0x300(r29) +/* 8013AE38 00137D98 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 8013AE3C 00137D9C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8013AE40 00137DA0 98 1D 03 00 */ stb r0, 0x300(r29) +/* 8013AE44 00137DA4 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 8013AE48 00137DA8 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 8013AE4C 00137DAC 98 1D 03 00 */ stb r0, 0x300(r29) +/* 8013AE50 00137DB0 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 8013AE54 00137DB4 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8013AE58 00137DB8 98 1D 03 00 */ stb r0, 0x300(r29) +/* 8013AE5C 00137DBC 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 8013AE60 00137DC0 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 8013AE64 00137DC4 98 1D 03 00 */ stb r0, 0x300(r29) +/* 8013AE68 00137DC8 D0 3D 03 04 */ stfs f1, 0x304(r29) +/* 8013AE6C 00137DCC D0 3D 03 08 */ stfs f1, 0x308(r29) +/* 8013AE70 00137DD0 D0 3D 03 0C */ stfs f1, 0x30c(r29) +/* 8013AE74 00137DD4 D0 3D 03 10 */ stfs f1, 0x310(r29) +/* 8013AE78 00137DD8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8013AE7C 00137DDC D0 1D 03 14 */ stfs f0, 0x314(r29) +/* 8013AE80 00137DE0 C0 04 00 04 */ lfs f0, 4(r4) +/* 8013AE84 00137DE4 D0 1D 03 18 */ stfs f0, 0x318(r29) +/* 8013AE88 00137DE8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8013AE8C 00137DEC D0 1D 03 1C */ stfs f0, 0x31c(r29) +/* 8013AE90 00137DF0 D0 3D 03 20 */ stfs f1, 0x320(r29) +/* 8013AE94 00137DF4 D0 3D 03 24 */ stfs f1, 0x324(r29) +/* 8013AE98 00137DF8 D0 3D 03 28 */ stfs f1, 0x328(r29) +/* 8013AE9C 00137DFC D0 3D 03 2C */ stfs f1, 0x32c(r29) +/* 8013AEA0 00137E00 D0 3D 03 30 */ stfs f1, 0x330(r29) +/* 8013AEA4 00137E04 93 BD 02 BC */ stw r29, 0x2bc(r29) +/* 8013AEA8 00137E08 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8013AEAC 00137E0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8013AEB0 00137E10 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8013AEB4 00137E14 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013AEB8 00137E18 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8013AEBC 00137E1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8013AEC0 00137E20 7C 08 03 A6 */ mtlr r0 +/* 8013AEC4 00137E24 38 21 00 30 */ addi r1, r1, 0x30 +/* 8013AEC8 00137E28 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBodyStateCmdMgr.s b/asm/Kyoto_CWD/BodyState/CBodyStateCmdMgr.s new file mode 100644 index 00000000..a79e132a --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBodyStateCmdMgr.s @@ -0,0 +1,1126 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd: +/* 80131438 0012E398 38 00 00 01 */ li r0, 1 +/* 8013143C 0012E39C 80 A3 00 B4 */ lwz r5, 0xb4(r3) +/* 80131440 0012E3A0 7C 00 20 30 */ slw r0, r0, r4 +/* 80131444 0012E3A4 7C A0 03 78 */ or r0, r5, r0 +/* 80131448 0012E3A8 90 03 00 B4 */ stw r0, 0xb4(r3) +/* 8013144C 0012E3AC 4E 80 00 20 */ blr + +.global GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd +GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd: +/* 80131450 0012E3B0 38 00 00 01 */ li r0, 1 +/* 80131454 0012E3B4 80 A3 00 B4 */ lwz r5, 0xb4(r3) +/* 80131458 0012E3B8 7C 00 20 30 */ slw r0, r0, r4 +/* 8013145C 0012E3BC 7C A0 00 39 */ and. r0, r5, r0 +/* 80131460 0012E3C0 41 82 00 14 */ beq lbl_80131474 +/* 80131464 0012E3C4 54 80 10 3A */ slwi r0, r4, 2 +/* 80131468 0012E3C8 7C 63 02 14 */ add r3, r3, r0 +/* 8013146C 0012E3CC 80 63 00 44 */ lwz r3, 0x44(r3) +/* 80131470 0012E3D0 4E 80 00 20 */ blr +lbl_80131474: +/* 80131474 0012E3D4 38 60 00 00 */ li r3, 0 +/* 80131478 0012E3D8 4E 80 00 20 */ blr + +.global GetCmd__16CBodyStateCmdMgrCF13EBodyStateCmd +GetCmd__16CBodyStateCmdMgrCF13EBodyStateCmd: +/* 8013147C 0012E3DC 38 00 00 01 */ li r0, 1 +/* 80131480 0012E3E0 80 A3 00 B4 */ lwz r5, 0xb4(r3) +/* 80131484 0012E3E4 7C 00 20 30 */ slw r0, r0, r4 +/* 80131488 0012E3E8 7C A0 00 39 */ and. r0, r5, r0 +/* 8013148C 0012E3EC 41 82 00 14 */ beq lbl_801314A0 +/* 80131490 0012E3F0 54 80 10 3A */ slwi r0, r4, 2 +/* 80131494 0012E3F4 7C 63 02 14 */ add r3, r3, r0 +/* 80131498 0012E3F8 80 63 00 44 */ lwz r3, 0x44(r3) +/* 8013149C 0012E3FC 4E 80 00 20 */ blr +lbl_801314A0: +/* 801314A0 0012E400 38 60 00 00 */ li r3, 0 +/* 801314A4 0012E404 4E 80 00 20 */ blr + +.global ClearLocomotionCmds__16CBodyStateCmdMgrFv +ClearLocomotionCmds__16CBodyStateCmdMgrFv: +/* 801314A8 0012E408 3C 80 80 5A */ lis r4, skZero3f@ha +/* 801314AC 0012E40C C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 801314B0 0012E410 C0 02 99 88 */ lfs f0, lbl_805AB6A8@sda21(r2) +/* 801314B4 0012E414 D0 23 00 00 */ stfs f1, 0(r3) +/* 801314B8 0012E418 C0 24 00 04 */ lfs f1, 4(r4) +/* 801314BC 0012E41C D0 23 00 04 */ stfs f1, 4(r3) +/* 801314C0 0012E420 C0 24 00 08 */ lfs f1, 8(r4) +/* 801314C4 0012E424 D0 23 00 08 */ stfs f1, 8(r3) +/* 801314C8 0012E428 C0 24 00 00 */ lfs f1, 0(r4) +/* 801314CC 0012E42C D0 23 00 0C */ stfs f1, 0xc(r3) +/* 801314D0 0012E430 C0 24 00 04 */ lfs f1, 4(r4) +/* 801314D4 0012E434 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 801314D8 0012E438 C0 24 00 08 */ lfs f1, 8(r4) +/* 801314DC 0012E43C D0 23 00 14 */ stfs f1, 0x14(r3) +/* 801314E0 0012E440 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 801314E4 0012E444 4E 80 00 20 */ blr + +.global Reset__16CBodyStateCmdMgrFv +Reset__16CBodyStateCmdMgrFv: +/* 801314E8 0012E448 3C 80 80 5A */ lis r4, skZero3f@ha +/* 801314EC 0012E44C C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) +/* 801314F0 0012E450 C0 02 99 88 */ lfs f0, lbl_805AB6A8@sda21(r2) +/* 801314F4 0012E454 38 00 00 00 */ li r0, 0 +/* 801314F8 0012E458 D0 23 00 00 */ stfs f1, 0(r3) +/* 801314FC 0012E45C C0 24 00 04 */ lfs f1, 4(r4) +/* 80131500 0012E460 D0 23 00 04 */ stfs f1, 4(r3) +/* 80131504 0012E464 C0 24 00 08 */ lfs f1, 8(r4) +/* 80131508 0012E468 D0 23 00 08 */ stfs f1, 8(r3) +/* 8013150C 0012E46C C0 24 00 00 */ lfs f1, 0(r4) +/* 80131510 0012E470 D0 23 00 0C */ stfs f1, 0xc(r3) +/* 80131514 0012E474 C0 24 00 04 */ lfs f1, 4(r4) +/* 80131518 0012E478 D0 23 00 10 */ stfs f1, 0x10(r3) +/* 8013151C 0012E47C C0 24 00 08 */ lfs f1, 8(r4) +/* 80131520 0012E480 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 80131524 0012E484 C0 24 00 00 */ lfs f1, 0(r4) +/* 80131528 0012E488 D0 23 00 18 */ stfs f1, 0x18(r3) +/* 8013152C 0012E48C C0 24 00 04 */ lfs f1, 4(r4) +/* 80131530 0012E490 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 80131534 0012E494 C0 24 00 08 */ lfs f1, 8(r4) +/* 80131538 0012E498 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8013153C 0012E49C D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 80131540 0012E4A0 90 03 00 B4 */ stw r0, 0xb4(r3) +/* 80131544 0012E4A4 4E 80 00 20 */ blr + +.global BlendSteeringCmds__16CBodyStateCmdMgrFv +BlendSteeringCmds__16CBodyStateCmdMgrFv: +/* 80131548 0012E4A8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8013154C 0012E4AC 7C 08 02 A6 */ mflr r0 +/* 80131550 0012E4B0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80131554 0012E4B4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80131558 0012E4B8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8013155C 0012E4BC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80131560 0012E4C0 7C 7F 1B 78 */ mr r31, r3 +/* 80131564 0012E4C4 C0 02 99 8C */ lfs f0, lbl_805AB6AC@sda21(r2) +/* 80131568 0012E4C8 C0 43 00 3C */ lfs f2, 0x3c(r3) +/* 8013156C 0012E4CC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80131570 0012E4D0 40 81 01 8C */ ble lbl_801316FC +/* 80131574 0012E4D4 C0 22 99 90 */ lfs f1, lbl_805AB6B0@sda21(r2) +/* 80131578 0012E4D8 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8013157C 0012E4DC EC 41 10 24 */ fdivs f2, f1, f2 +/* 80131580 0012E4E0 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80131584 0012E4E4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80131588 0012E4E8 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8013158C 0012E4EC EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80131590 0012E4F0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80131594 0012E4F4 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80131598 0012E4F8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8013159C 0012E4FC D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 801315A0 0012E500 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 801315A4 0012E504 2C 00 00 01 */ cmpwi r0, 1 +/* 801315A8 0012E508 41 82 00 48 */ beq lbl_801315F0 +/* 801315AC 0012E50C 40 80 00 10 */ bge lbl_801315BC +/* 801315B0 0012E510 2C 00 00 00 */ cmpwi r0, 0 +/* 801315B4 0012E514 40 80 00 14 */ bge lbl_801315C8 +/* 801315B8 0012E518 48 00 01 44 */ b lbl_801316FC +lbl_801315BC: +/* 801315BC 0012E51C 2C 00 00 03 */ cmpwi r0, 3 +/* 801315C0 0012E520 40 80 01 3C */ bge lbl_801316FC +/* 801315C4 0012E524 48 00 00 78 */ b lbl_8013163C +lbl_801315C8: +/* 801315C8 0012E528 C0 1F 00 00 */ lfs f0, 0(r31) +/* 801315CC 0012E52C EC 00 00 B2 */ fmuls f0, f0, f2 +/* 801315D0 0012E530 D0 1F 00 00 */ stfs f0, 0(r31) +/* 801315D4 0012E534 C0 1F 00 04 */ lfs f0, 4(r31) +/* 801315D8 0012E538 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 801315DC 0012E53C D0 1F 00 04 */ stfs f0, 4(r31) +/* 801315E0 0012E540 C0 1F 00 08 */ lfs f0, 8(r31) +/* 801315E4 0012E544 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 801315E8 0012E548 D0 1F 00 08 */ stfs f0, 8(r31) +/* 801315EC 0012E54C 48 00 01 10 */ b lbl_801316FC +lbl_801315F0: +/* 801315F0 0012E550 3C 80 80 5A */ lis r4, skZero3f@ha +/* 801315F4 0012E554 C0 22 99 94 */ lfs f1, lbl_805AB6B4@sda21(r2) +/* 801315F8 0012E558 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 801315FC 0012E55C 48 1D E9 69 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80131600 0012E560 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80131604 0012E564 40 82 00 F8 */ bne lbl_801316FC +/* 80131608 0012E568 7F E3 FB 78 */ mr r3, r31 +/* 8013160C 0012E56C 48 1E 32 ED */ bl Normalize__9CVector3fFv +/* 80131610 0012E570 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80131614 0012E574 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80131618 0012E578 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8013161C 0012E57C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80131620 0012E580 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80131624 0012E584 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80131628 0012E588 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8013162C 0012E58C C0 1F 00 08 */ lfs f0, 8(r31) +/* 80131630 0012E590 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80131634 0012E594 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80131638 0012E598 48 00 00 C4 */ b lbl_801316FC +lbl_8013163C: +/* 8013163C 0012E59C C0 1F 00 00 */ lfs f0, 0(r31) +/* 80131640 0012E5A0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80131644 0012E5A4 C0 22 99 94 */ lfs f1, lbl_805AB6B4@sda21(r2) +/* 80131648 0012E5A8 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8013164C 0012E5AC EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80131650 0012E5B0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80131654 0012E5B4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80131658 0012E5B8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8013165C 0012E5BC D0 1F 00 04 */ stfs f0, 4(r31) +/* 80131660 0012E5C0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80131664 0012E5C4 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80131668 0012E5C8 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8013166C 0012E5CC 48 1D E8 F9 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 80131670 0012E5D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80131674 0012E5D4 40 82 00 88 */ bne lbl_801316FC +/* 80131678 0012E5D8 7F E3 FB 78 */ mr r3, r31 +/* 8013167C 0012E5DC 48 1E 32 3D */ bl Magnitude__9CVector3fCFv +/* 80131680 0012E5E0 C3 FF 00 34 */ lfs f31, 0x34(r31) +/* 80131684 0012E5E4 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80131688 0012E5E8 40 80 00 38 */ bge lbl_801316C0 +/* 8013168C 0012E5EC 7F E4 FB 78 */ mr r4, r31 +/* 80131690 0012E5F0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80131694 0012E5F4 48 1E 31 BD */ bl AsNormalized__9CVector3fCFv +/* 80131698 0012E5F8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8013169C 0012E5FC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 801316A0 0012E600 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 801316A4 0012E604 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 801316A8 0012E608 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 801316AC 0012E60C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 801316B0 0012E610 D0 1F 00 00 */ stfs f0, 0(r31) +/* 801316B4 0012E614 D0 5F 00 04 */ stfs f2, 4(r31) +/* 801316B8 0012E618 D0 3F 00 08 */ stfs f1, 8(r31) +/* 801316BC 0012E61C 48 00 00 40 */ b lbl_801316FC +lbl_801316C0: +/* 801316C0 0012E620 C3 FF 00 38 */ lfs f31, 0x38(r31) +/* 801316C4 0012E624 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 801316C8 0012E628 40 81 00 34 */ ble lbl_801316FC +/* 801316CC 0012E62C 7F E4 FB 78 */ mr r4, r31 +/* 801316D0 0012E630 38 61 00 08 */ addi r3, r1, 8 +/* 801316D4 0012E634 48 1E 31 7D */ bl AsNormalized__9CVector3fCFv +/* 801316D8 0012E638 C0 01 00 08 */ lfs f0, 8(r1) +/* 801316DC 0012E63C C0 41 00 0C */ lfs f2, 0xc(r1) +/* 801316E0 0012E640 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 801316E4 0012E644 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 801316E8 0012E648 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 801316EC 0012E64C EC 3F 00 72 */ fmuls f1, f31, f1 +/* 801316F0 0012E650 D0 1F 00 00 */ stfs f0, 0(r31) +/* 801316F4 0012E654 D0 5F 00 04 */ stfs f2, 4(r31) +/* 801316F8 0012E658 D0 3F 00 08 */ stfs f1, 8(r31) +lbl_801316FC: +/* 801316FC 0012E65C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80131700 0012E660 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80131704 0012E664 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80131708 0012E668 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8013170C 0012E66C 7C 08 03 A6 */ mtlr r0 +/* 80131710 0012E670 38 21 00 40 */ addi r1, r1, 0x40 +/* 80131714 0012E674 4E 80 00 20 */ blr + +.global DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd: +/* 80131718 0012E678 C0 24 00 18 */ lfs f1, 0x18(r4) +/* 8013171C 0012E67C C0 02 99 8C */ lfs f0, lbl_805AB6AC@sda21(r2) +/* 80131720 0012E680 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80131724 0012E684 4C 81 00 20 */ blelr +/* 80131728 0012E688 C0 03 00 3C */ lfs f0, 0x3c(r3) +/* 8013172C 0012E68C EC 00 08 2A */ fadds f0, f0, f1 +/* 80131730 0012E690 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 80131734 0012E694 C0 84 00 18 */ lfs f4, 0x18(r4) +/* 80131738 0012E698 C0 04 00 00 */ lfs f0, 0(r4) +/* 8013173C 0012E69C C0 64 00 04 */ lfs f3, 4(r4) +/* 80131740 0012E6A0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80131744 0012E6A4 C0 23 00 00 */ lfs f1, 0(r3) +/* 80131748 0012E6A8 C0 44 00 08 */ lfs f2, 8(r4) +/* 8013174C 0012E6AC EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80131750 0012E6B0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80131754 0012E6B4 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 80131758 0012E6B8 D0 03 00 00 */ stfs f0, 0(r3) +/* 8013175C 0012E6BC C0 03 00 04 */ lfs f0, 4(r3) +/* 80131760 0012E6C0 EC 00 18 2A */ fadds f0, f0, f3 +/* 80131764 0012E6C4 D0 03 00 04 */ stfs f0, 4(r3) +/* 80131768 0012E6C8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8013176C 0012E6CC EC 00 08 2A */ fadds f0, f0, f1 +/* 80131770 0012E6D0 D0 03 00 08 */ stfs f0, 8(r3) +/* 80131774 0012E6D4 C0 84 00 18 */ lfs f4, 0x18(r4) +/* 80131778 0012E6D8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8013177C 0012E6DC C0 23 00 0C */ lfs f1, 0xc(r3) +/* 80131780 0012E6E0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80131784 0012E6E4 C0 64 00 10 */ lfs f3, 0x10(r4) +/* 80131788 0012E6E8 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 8013178C 0012E6EC EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80131790 0012E6F0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80131794 0012E6F4 EC 24 00 B2 */ fmuls f1, f4, f2 +/* 80131798 0012E6F8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8013179C 0012E6FC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 801317A0 0012E700 EC 00 18 2A */ fadds f0, f0, f3 +/* 801317A4 0012E704 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 801317A8 0012E708 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 801317AC 0012E70C EC 00 08 2A */ fadds f0, f0, f1 +/* 801317B0 0012E710 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 801317B4 0012E714 4E 80 00 20 */ blr + +.global DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd: +/* 801317B8 0012E718 80 C4 00 04 */ lwz r6, 4(r4) +/* 801317BC 0012E71C 38 00 00 01 */ li r0, 1 +/* 801317C0 0012E720 80 A3 00 B4 */ lwz r5, 0xb4(r3) +/* 801317C4 0012E724 7C 00 30 30 */ slw r0, r0, r6 +/* 801317C8 0012E728 7C A0 03 78 */ or r0, r5, r0 +/* 801317CC 0012E72C 90 03 00 B4 */ stw r0, 0xb4(r3) +/* 801317D0 0012E730 80 84 00 04 */ lwz r4, 4(r4) +/* 801317D4 0012E734 54 80 10 3A */ slwi r0, r4, 2 +/* 801317D8 0012E738 7C 63 02 14 */ add r3, r3, r0 +/* 801317DC 0012E73C 80 63 00 44 */ lwz r3, 0x44(r3) +/* 801317E0 0012E740 90 83 00 04 */ stw r4, 4(r3) +/* 801317E4 0012E744 4E 80 00 20 */ blr + +.global SetSteeringSpeedRange__16CBodyStateCmdMgrFff +SetSteeringSpeedRange__16CBodyStateCmdMgrFff: +/* 801317E8 0012E748 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 801317EC 0012E74C D0 43 00 38 */ stfs f2, 0x38(r3) +/* 801317F0 0012E750 4E 80 00 20 */ blr + +.global __dt__16CBodyStateCmdMgrFv +__dt__16CBodyStateCmdMgrFv: +/* 801317F4 0012E754 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801317F8 0012E758 7C 08 02 A6 */ mflr r0 +/* 801317FC 0012E75C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80131800 0012E760 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80131804 0012E764 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80131808 0012E768 41 82 04 8C */ beq lbl_80131C94 +/* 8013180C 0012E76C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80131810 0012E770 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 80131814 0012E774 34 1F 02 98 */ addic. r0, r31, 0x298 +/* 80131818 0012E778 C0 02 99 88 */ lfs f0, lbl_805AB6A8@sda21(r2) +/* 8013181C 0012E77C D0 3F 00 00 */ stfs f1, 0(r31) +/* 80131820 0012E780 38 00 00 00 */ li r0, 0 +/* 80131824 0012E784 C0 23 00 04 */ lfs f1, 4(r3) +/* 80131828 0012E788 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8013182C 0012E78C C0 23 00 08 */ lfs f1, 8(r3) +/* 80131830 0012E790 D0 3F 00 08 */ stfs f1, 8(r31) +/* 80131834 0012E794 C0 23 00 00 */ lfs f1, 0(r3) +/* 80131838 0012E798 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 8013183C 0012E79C C0 23 00 04 */ lfs f1, 4(r3) +/* 80131840 0012E7A0 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 80131844 0012E7A4 C0 23 00 08 */ lfs f1, 8(r3) +/* 80131848 0012E7A8 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 8013184C 0012E7AC C0 23 00 00 */ lfs f1, 0(r3) +/* 80131850 0012E7B0 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 80131854 0012E7B4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80131858 0012E7B8 D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 8013185C 0012E7BC C0 23 00 08 */ lfs f1, 8(r3) +/* 80131860 0012E7C0 D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 80131864 0012E7C4 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 80131868 0012E7C8 90 1F 00 B4 */ stw r0, 0xb4(r31) +/* 8013186C 0012E7CC 41 82 00 10 */ beq lbl_8013187C +/* 80131870 0012E7D0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131874 0012E7D4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131878 0012E7D8 90 1F 02 98 */ stw r0, 0x298(r31) +lbl_8013187C: +/* 8013187C 0012E7DC 34 1F 02 84 */ addic. r0, r31, 0x284 +/* 80131880 0012E7E0 41 82 00 24 */ beq lbl_801318A4 +/* 80131884 0012E7E4 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 80131888 0012E7E8 34 1F 02 84 */ addic. r0, r31, 0x284 +/* 8013188C 0012E7EC 38 03 10 C8 */ addi r0, r3, lbl_803E10C8@l +/* 80131890 0012E7F0 90 1F 02 84 */ stw r0, 0x284(r31) +/* 80131894 0012E7F4 41 82 00 10 */ beq lbl_801318A4 +/* 80131898 0012E7F8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8013189C 0012E7FC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801318A0 0012E800 90 1F 02 84 */ stw r0, 0x284(r31) +lbl_801318A4: +/* 801318A4 0012E804 34 1F 02 78 */ addic. r0, r31, 0x278 +/* 801318A8 0012E808 41 82 00 24 */ beq lbl_801318CC +/* 801318AC 0012E80C 3C 60 80 3E */ lis r3, lbl_803E10BC@ha +/* 801318B0 0012E810 34 1F 02 78 */ addic. r0, r31, 0x278 +/* 801318B4 0012E814 38 03 10 BC */ addi r0, r3, lbl_803E10BC@l +/* 801318B8 0012E818 90 1F 02 78 */ stw r0, 0x278(r31) +/* 801318BC 0012E81C 41 82 00 10 */ beq lbl_801318CC +/* 801318C0 0012E820 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801318C4 0012E824 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801318C8 0012E828 90 1F 02 78 */ stw r0, 0x278(r31) +lbl_801318CC: +/* 801318CC 0012E82C 34 1F 02 70 */ addic. r0, r31, 0x270 +/* 801318D0 0012E830 41 82 00 24 */ beq lbl_801318F4 +/* 801318D4 0012E834 3C 60 80 3E */ lis r3, lbl_803E061C@ha +/* 801318D8 0012E838 34 1F 02 70 */ addic. r0, r31, 0x270 +/* 801318DC 0012E83C 38 03 06 1C */ addi r0, r3, lbl_803E061C@l +/* 801318E0 0012E840 90 1F 02 70 */ stw r0, 0x270(r31) +/* 801318E4 0012E844 41 82 00 10 */ beq lbl_801318F4 +/* 801318E8 0012E848 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801318EC 0012E84C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801318F0 0012E850 90 1F 02 70 */ stw r0, 0x270(r31) +lbl_801318F4: +/* 801318F4 0012E854 34 1F 02 68 */ addic. r0, r31, 0x268 +/* 801318F8 0012E858 41 82 00 10 */ beq lbl_80131908 +/* 801318FC 0012E85C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131900 0012E860 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131904 0012E864 90 1F 02 68 */ stw r0, 0x268(r31) +lbl_80131908: +/* 80131908 0012E868 34 1F 02 60 */ addic. r0, r31, 0x260 +/* 8013190C 0012E86C 41 82 00 10 */ beq lbl_8013191C +/* 80131910 0012E870 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131914 0012E874 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131918 0012E878 90 1F 02 60 */ stw r0, 0x260(r31) +lbl_8013191C: +/* 8013191C 0012E87C 34 1F 02 54 */ addic. r0, r31, 0x254 +/* 80131920 0012E880 41 82 00 24 */ beq lbl_80131944 +/* 80131924 0012E884 3C 60 80 3E */ lis r3, lbl_803E0B98@ha +/* 80131928 0012E888 34 1F 02 54 */ addic. r0, r31, 0x254 +/* 8013192C 0012E88C 38 03 0B 98 */ addi r0, r3, lbl_803E0B98@l +/* 80131930 0012E890 90 1F 02 54 */ stw r0, 0x254(r31) +/* 80131934 0012E894 41 82 00 10 */ beq lbl_80131944 +/* 80131938 0012E898 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8013193C 0012E89C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131940 0012E8A0 90 1F 02 54 */ stw r0, 0x254(r31) +lbl_80131944: +/* 80131944 0012E8A4 34 1F 02 30 */ addic. r0, r31, 0x230 +/* 80131948 0012E8A8 41 82 00 24 */ beq lbl_8013196C +/* 8013194C 0012E8AC 3C 60 80 3E */ lis r3, lbl_803E0B8C@ha +/* 80131950 0012E8B0 34 1F 02 30 */ addic. r0, r31, 0x230 +/* 80131954 0012E8B4 38 03 0B 8C */ addi r0, r3, lbl_803E0B8C@l +/* 80131958 0012E8B8 90 1F 02 30 */ stw r0, 0x230(r31) +/* 8013195C 0012E8BC 41 82 00 10 */ beq lbl_8013196C +/* 80131960 0012E8C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131964 0012E8C4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131968 0012E8C8 90 1F 02 30 */ stw r0, 0x230(r31) +lbl_8013196C: +/* 8013196C 0012E8CC 34 1F 02 1C */ addic. r0, r31, 0x21c +/* 80131970 0012E8D0 41 82 00 24 */ beq lbl_80131994 +/* 80131974 0012E8D4 3C 60 80 3E */ lis r3, lbl_803DFE40@ha +/* 80131978 0012E8D8 34 1F 02 1C */ addic. r0, r31, 0x21c +/* 8013197C 0012E8DC 38 03 FE 40 */ addi r0, r3, lbl_803DFE40@l +/* 80131980 0012E8E0 90 1F 02 1C */ stw r0, 0x21c(r31) +/* 80131984 0012E8E4 41 82 00 10 */ beq lbl_80131994 +/* 80131988 0012E8E8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8013198C 0012E8EC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131990 0012E8F0 90 1F 02 1C */ stw r0, 0x21c(r31) +lbl_80131994: +/* 80131994 0012E8F4 34 1F 02 10 */ addic. r0, r31, 0x210 +/* 80131998 0012E8F8 41 82 00 24 */ beq lbl_801319BC +/* 8013199C 0012E8FC 3C 60 80 3E */ lis r3, lbl_803DAA14@ha +/* 801319A0 0012E900 34 1F 02 10 */ addic. r0, r31, 0x210 +/* 801319A4 0012E904 38 03 AA 14 */ addi r0, r3, lbl_803DAA14@l +/* 801319A8 0012E908 90 1F 02 10 */ stw r0, 0x210(r31) +/* 801319AC 0012E90C 41 82 00 10 */ beq lbl_801319BC +/* 801319B0 0012E910 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801319B4 0012E914 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801319B8 0012E918 90 1F 02 10 */ stw r0, 0x210(r31) +lbl_801319BC: +/* 801319BC 0012E91C 34 1F 01 F8 */ addic. r0, r31, 0x1f8 +/* 801319C0 0012E920 41 82 00 24 */ beq lbl_801319E4 +/* 801319C4 0012E924 3C 60 80 3E */ lis r3, lbl_803DAA08@ha +/* 801319C8 0012E928 34 1F 01 F8 */ addic. r0, r31, 0x1f8 +/* 801319CC 0012E92C 38 03 AA 08 */ addi r0, r3, lbl_803DAA08@l +/* 801319D0 0012E930 90 1F 01 F8 */ stw r0, 0x1f8(r31) +/* 801319D4 0012E934 41 82 00 10 */ beq lbl_801319E4 +/* 801319D8 0012E938 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801319DC 0012E93C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801319E0 0012E940 90 1F 01 F8 */ stw r0, 0x1f8(r31) +lbl_801319E4: +/* 801319E4 0012E944 34 1F 01 D0 */ addic. r0, r31, 0x1d0 +/* 801319E8 0012E948 41 82 00 24 */ beq lbl_80131A0C +/* 801319EC 0012E94C 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha +/* 801319F0 0012E950 34 1F 01 D0 */ addic. r0, r31, 0x1d0 +/* 801319F4 0012E954 38 03 A9 FC */ addi r0, r3, lbl_803DA9FC@l +/* 801319F8 0012E958 90 1F 01 D0 */ stw r0, 0x1d0(r31) +/* 801319FC 0012E95C 41 82 00 10 */ beq lbl_80131A0C +/* 80131A00 0012E960 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131A04 0012E964 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131A08 0012E968 90 1F 01 D0 */ stw r0, 0x1d0(r31) +lbl_80131A0C: +/* 80131A0C 0012E96C 34 1F 01 AC */ addic. r0, r31, 0x1ac +/* 80131A10 0012E970 41 82 00 24 */ beq lbl_80131A34 +/* 80131A14 0012E974 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha +/* 80131A18 0012E978 34 1F 01 AC */ addic. r0, r31, 0x1ac +/* 80131A1C 0012E97C 38 03 AA 5C */ addi r0, r3, lbl_803DAA5C@l +/* 80131A20 0012E980 90 1F 01 AC */ stw r0, 0x1ac(r31) +/* 80131A24 0012E984 41 82 00 10 */ beq lbl_80131A34 +/* 80131A28 0012E988 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131A2C 0012E98C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131A30 0012E990 90 1F 01 AC */ stw r0, 0x1ac(r31) +lbl_80131A34: +/* 80131A34 0012E994 34 1F 01 8C */ addic. r0, r31, 0x18c +/* 80131A38 0012E998 41 82 00 24 */ beq lbl_80131A5C +/* 80131A3C 0012E99C 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha +/* 80131A40 0012E9A0 34 1F 01 8C */ addic. r0, r31, 0x18c +/* 80131A44 0012E9A4 38 03 A9 F0 */ addi r0, r3, lbl_803DA9F0@l +/* 80131A48 0012E9A8 90 1F 01 8C */ stw r0, 0x18c(r31) +/* 80131A4C 0012E9AC 41 82 00 10 */ beq lbl_80131A5C +/* 80131A50 0012E9B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131A54 0012E9B4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131A58 0012E9B8 90 1F 01 8C */ stw r0, 0x18c(r31) +lbl_80131A5C: +/* 80131A5C 0012E9BC 34 1F 01 84 */ addic. r0, r31, 0x184 +/* 80131A60 0012E9C0 41 82 00 10 */ beq lbl_80131A70 +/* 80131A64 0012E9C4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131A68 0012E9C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131A6C 0012E9CC 90 1F 01 84 */ stw r0, 0x184(r31) +lbl_80131A70: +/* 80131A70 0012E9D0 34 1F 01 7C */ addic. r0, r31, 0x17c +/* 80131A74 0012E9D4 41 82 00 10 */ beq lbl_80131A84 +/* 80131A78 0012E9D8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131A7C 0012E9DC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131A80 0012E9E0 90 1F 01 7C */ stw r0, 0x17c(r31) +lbl_80131A84: +/* 80131A84 0012E9E4 34 1F 01 74 */ addic. r0, r31, 0x174 +/* 80131A88 0012E9E8 41 82 00 10 */ beq lbl_80131A98 +/* 80131A8C 0012E9EC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131A90 0012E9F0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131A94 0012E9F4 90 1F 01 74 */ stw r0, 0x174(r31) +lbl_80131A98: +/* 80131A98 0012E9F8 34 1F 01 6C */ addic. r0, r31, 0x16c +/* 80131A9C 0012E9FC 41 82 00 10 */ beq lbl_80131AAC +/* 80131AA0 0012EA00 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131AA4 0012EA04 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131AA8 0012EA08 90 1F 01 6C */ stw r0, 0x16c(r31) +lbl_80131AAC: +/* 80131AAC 0012EA0C 34 1F 01 60 */ addic. r0, r31, 0x160 +/* 80131AB0 0012EA10 41 82 00 24 */ beq lbl_80131AD4 +/* 80131AB4 0012EA14 3C 60 80 3E */ lis r3, lbl_803DAA38@ha +/* 80131AB8 0012EA18 34 1F 01 60 */ addic. r0, r31, 0x160 +/* 80131ABC 0012EA1C 38 03 AA 38 */ addi r0, r3, lbl_803DAA38@l +/* 80131AC0 0012EA20 90 1F 01 60 */ stw r0, 0x160(r31) +/* 80131AC4 0012EA24 41 82 00 10 */ beq lbl_80131AD4 +/* 80131AC8 0012EA28 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131ACC 0012EA2C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131AD0 0012EA30 90 1F 01 60 */ stw r0, 0x160(r31) +lbl_80131AD4: +/* 80131AD4 0012EA34 34 1F 01 54 */ addic. r0, r31, 0x154 +/* 80131AD8 0012EA38 41 82 00 24 */ beq lbl_80131AFC +/* 80131ADC 0012EA3C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 80131AE0 0012EA40 34 1F 01 54 */ addic. r0, r31, 0x154 +/* 80131AE4 0012EA44 38 03 AA 2C */ addi r0, r3, lbl_803DAA2C@l +/* 80131AE8 0012EA48 90 1F 01 54 */ stw r0, 0x154(r31) +/* 80131AEC 0012EA4C 41 82 00 10 */ beq lbl_80131AFC +/* 80131AF0 0012EA50 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131AF4 0012EA54 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131AF8 0012EA58 90 1F 01 54 */ stw r0, 0x154(r31) +lbl_80131AFC: +/* 80131AFC 0012EA5C 34 1F 01 44 */ addic. r0, r31, 0x144 +/* 80131B00 0012EA60 41 82 00 24 */ beq lbl_80131B24 +/* 80131B04 0012EA64 3C 60 80 3E */ lis r3, lbl_803E10B0@ha +/* 80131B08 0012EA68 34 1F 01 44 */ addic. r0, r31, 0x144 +/* 80131B0C 0012EA6C 38 03 10 B0 */ addi r0, r3, lbl_803E10B0@l +/* 80131B10 0012EA70 90 1F 01 44 */ stw r0, 0x144(r31) +/* 80131B14 0012EA74 41 82 00 10 */ beq lbl_80131B24 +/* 80131B18 0012EA78 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131B1C 0012EA7C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131B20 0012EA80 90 1F 01 44 */ stw r0, 0x144(r31) +lbl_80131B24: +/* 80131B24 0012EA84 34 1F 01 28 */ addic. r0, r31, 0x128 +/* 80131B28 0012EA88 41 82 00 24 */ beq lbl_80131B4C +/* 80131B2C 0012EA8C 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha +/* 80131B30 0012EA90 34 1F 01 28 */ addic. r0, r31, 0x128 +/* 80131B34 0012EA94 38 03 A9 CC */ addi r0, r3, lbl_803DA9CC@l +/* 80131B38 0012EA98 90 1F 01 28 */ stw r0, 0x128(r31) +/* 80131B3C 0012EA9C 41 82 00 10 */ beq lbl_80131B4C +/* 80131B40 0012EAA0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131B44 0012EAA4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131B48 0012EAA8 90 1F 01 28 */ stw r0, 0x128(r31) +lbl_80131B4C: +/* 80131B4C 0012EAAC 34 1F 01 0C */ addic. r0, r31, 0x10c +/* 80131B50 0012EAB0 41 82 00 24 */ beq lbl_80131B74 +/* 80131B54 0012EAB4 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha +/* 80131B58 0012EAB8 34 1F 01 0C */ addic. r0, r31, 0x10c +/* 80131B5C 0012EABC 38 03 A9 D8 */ addi r0, r3, lbl_803DA9D8@l +/* 80131B60 0012EAC0 90 1F 01 0C */ stw r0, 0x10c(r31) +/* 80131B64 0012EAC4 41 82 00 10 */ beq lbl_80131B74 +/* 80131B68 0012EAC8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131B6C 0012EACC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131B70 0012EAD0 90 1F 01 0C */ stw r0, 0x10c(r31) +lbl_80131B74: +/* 80131B74 0012EAD4 34 1F 00 F4 */ addic. r0, r31, 0xf4 +/* 80131B78 0012EAD8 41 82 00 24 */ beq lbl_80131B9C +/* 80131B7C 0012EADC 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 80131B80 0012EAE0 34 1F 00 F4 */ addic. r0, r31, 0xf4 +/* 80131B84 0012EAE4 38 03 AA 44 */ addi r0, r3, lbl_803DAA44@l +/* 80131B88 0012EAE8 90 1F 00 F4 */ stw r0, 0xf4(r31) +/* 80131B8C 0012EAEC 41 82 00 10 */ beq lbl_80131B9C +/* 80131B90 0012EAF0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131B94 0012EAF4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131B98 0012EAF8 90 1F 00 F4 */ stw r0, 0xf4(r31) +lbl_80131B9C: +/* 80131B9C 0012EAFC 34 1F 00 DC */ addic. r0, r31, 0xdc +/* 80131BA0 0012EB00 41 82 00 24 */ beq lbl_80131BC4 +/* 80131BA4 0012EB04 3C 60 80 3E */ lis r3, lbl_803DAA50@ha +/* 80131BA8 0012EB08 34 1F 00 DC */ addic. r0, r31, 0xdc +/* 80131BAC 0012EB0C 38 03 AA 50 */ addi r0, r3, lbl_803DAA50@l +/* 80131BB0 0012EB10 90 1F 00 DC */ stw r0, 0xdc(r31) +/* 80131BB4 0012EB14 41 82 00 10 */ beq lbl_80131BC4 +/* 80131BB8 0012EB18 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131BBC 0012EB1C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131BC0 0012EB20 90 1F 00 DC */ stw r0, 0xdc(r31) +lbl_80131BC4: +/* 80131BC4 0012EB24 34 1F 00 D4 */ addic. r0, r31, 0xd4 +/* 80131BC8 0012EB28 41 82 00 10 */ beq lbl_80131BD8 +/* 80131BCC 0012EB2C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131BD0 0012EB30 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131BD4 0012EB34 90 1F 00 D4 */ stw r0, 0xd4(r31) +lbl_80131BD8: +/* 80131BD8 0012EB38 34 1F 00 C4 */ addic. r0, r31, 0xc4 +/* 80131BDC 0012EB3C 41 82 00 24 */ beq lbl_80131C00 +/* 80131BE0 0012EB40 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80131BE4 0012EB44 34 1F 00 C4 */ addic. r0, r31, 0xc4 +/* 80131BE8 0012EB48 38 03 A9 E4 */ addi r0, r3, lbl_803DA9E4@l +/* 80131BEC 0012EB4C 90 1F 00 C4 */ stw r0, 0xc4(r31) +/* 80131BF0 0012EB50 41 82 00 10 */ beq lbl_80131C00 +/* 80131BF4 0012EB54 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131BF8 0012EB58 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131BFC 0012EB5C 90 1F 00 C4 */ stw r0, 0xc4(r31) +lbl_80131C00: +/* 80131C00 0012EB60 34 1F 00 B8 */ addic. r0, r31, 0xb8 +/* 80131C04 0012EB64 41 82 00 24 */ beq lbl_80131C28 +/* 80131C08 0012EB68 3C 60 80 3E */ lis r3, lbl_803DAA20@ha +/* 80131C0C 0012EB6C 34 1F 00 B8 */ addic. r0, r31, 0xb8 +/* 80131C10 0012EB70 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l +/* 80131C14 0012EB74 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 80131C18 0012EB78 41 82 00 10 */ beq lbl_80131C28 +/* 80131C1C 0012EB7C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80131C20 0012EB80 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80131C24 0012EB84 90 1F 00 B8 */ stw r0, 0xb8(r31) +lbl_80131C28: +/* 80131C28 0012EB88 34 1F 00 40 */ addic. r0, r31, 0x40 +/* 80131C2C 0012EB8C 41 82 00 58 */ beq lbl_80131C84 +/* 80131C30 0012EB90 80 DF 00 40 */ lwz r6, 0x40(r31) +/* 80131C34 0012EB94 38 60 00 00 */ li r3, 0 +/* 80131C38 0012EB98 2C 06 00 00 */ cmpwi r6, 0 +/* 80131C3C 0012EB9C 40 81 00 40 */ ble lbl_80131C7C +/* 80131C40 0012EBA0 2C 06 00 08 */ cmpwi r6, 8 +/* 80131C44 0012EBA4 38 A6 FF F8 */ addi r5, r6, -8 +/* 80131C48 0012EBA8 40 81 00 20 */ ble lbl_80131C68 +/* 80131C4C 0012EBAC 38 05 00 07 */ addi r0, r5, 7 +/* 80131C50 0012EBB0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80131C54 0012EBB4 7C 09 03 A6 */ mtctr r0 +/* 80131C58 0012EBB8 2C 05 00 00 */ cmpwi r5, 0 +/* 80131C5C 0012EBBC 40 81 00 0C */ ble lbl_80131C68 +lbl_80131C60: +/* 80131C60 0012EBC0 38 63 00 08 */ addi r3, r3, 8 +/* 80131C64 0012EBC4 42 00 FF FC */ bdnz lbl_80131C60 +lbl_80131C68: +/* 80131C68 0012EBC8 7C 03 30 50 */ subf r0, r3, r6 +/* 80131C6C 0012EBCC 7C 09 03 A6 */ mtctr r0 +/* 80131C70 0012EBD0 7C 03 30 00 */ cmpw r3, r6 +/* 80131C74 0012EBD4 40 80 00 08 */ bge lbl_80131C7C +lbl_80131C78: +/* 80131C78 0012EBD8 42 00 00 00 */ bdnz lbl_80131C78 +lbl_80131C7C: +/* 80131C7C 0012EBDC 38 00 00 00 */ li r0, 0 +/* 80131C80 0012EBE0 90 1F 00 40 */ stw r0, 0x40(r31) +lbl_80131C84: +/* 80131C84 0012EBE4 7C 80 07 35 */ extsh. r0, r4 +/* 80131C88 0012EBE8 40 81 00 0C */ ble lbl_80131C94 +/* 80131C8C 0012EBEC 7F E3 FB 78 */ mr r3, r31 +/* 80131C90 0012EBF0 48 1E 3C A1 */ bl Free__7CMemoryFPCv +lbl_80131C94: +/* 80131C94 0012EBF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80131C98 0012EBF8 7F E3 FB 78 */ mr r3, r31 +/* 80131C9C 0012EBFC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80131CA0 0012EC00 7C 08 03 A6 */ mtlr r0 +/* 80131CA4 0012EC04 38 21 00 10 */ addi r1, r1, 0x10 +/* 80131CA8 0012EC08 4E 80 00 20 */ blr + +.global __ct__16CBodyStateCmdMgrFv +__ct__16CBodyStateCmdMgrFv: +/* 80131CAC 0012EC0C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80131CB0 0012EC10 38 A0 00 00 */ li r5, 0 +/* 80131CB4 0012EC14 39 03 00 44 */ addi r8, r3, 0x44 +/* 80131CB8 0012EC18 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80131CBC 0012EC1C BD C1 00 38 */ stmw r14, 0x38(r1) +/* 80131CC0 0012EC20 39 C4 66 A0 */ addi r14, r4, skZero3f@l +/* 80131CC4 0012EC24 C0 22 99 88 */ lfs f1, lbl_805AB6A8@sda21(r2) +/* 80131CC8 0012EC28 38 80 00 1C */ li r4, 0x1c +/* 80131CCC 0012EC2C 38 00 00 04 */ li r0, 4 +/* 80131CD0 0012EC30 7D 07 43 78 */ mr r7, r8 +/* 80131CD4 0012EC34 7C A6 2B 78 */ mr r6, r5 +/* 80131CD8 0012EC38 C0 0E 00 00 */ lfs f0, 0(r14) +/* 80131CDC 0012EC3C D0 03 00 00 */ stfs f0, 0(r3) +/* 80131CE0 0012EC40 C0 02 99 90 */ lfs f0, lbl_805AB6B0@sda21(r2) +/* 80131CE4 0012EC44 C0 4E 00 04 */ lfs f2, 4(r14) +/* 80131CE8 0012EC48 D0 43 00 04 */ stfs f2, 4(r3) +/* 80131CEC 0012EC4C C0 4E 00 08 */ lfs f2, 8(r14) +/* 80131CF0 0012EC50 D0 43 00 08 */ stfs f2, 8(r3) +/* 80131CF4 0012EC54 C0 4E 00 00 */ lfs f2, 0(r14) +/* 80131CF8 0012EC58 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 80131CFC 0012EC5C C0 4E 00 04 */ lfs f2, 4(r14) +/* 80131D00 0012EC60 D0 43 00 10 */ stfs f2, 0x10(r3) +/* 80131D04 0012EC64 C0 4E 00 08 */ lfs f2, 8(r14) +/* 80131D08 0012EC68 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 80131D0C 0012EC6C C0 4E 00 00 */ lfs f2, 0(r14) +/* 80131D10 0012EC70 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 80131D14 0012EC74 C0 4E 00 04 */ lfs f2, 4(r14) +/* 80131D18 0012EC78 D0 43 00 1C */ stfs f2, 0x1c(r3) +/* 80131D1C 0012EC7C C0 4E 00 08 */ lfs f2, 8(r14) +/* 80131D20 0012EC80 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 80131D24 0012EC84 C0 4E 00 00 */ lfs f2, 0(r14) +/* 80131D28 0012EC88 D0 43 00 24 */ stfs f2, 0x24(r3) +/* 80131D2C 0012EC8C C0 4E 00 04 */ lfs f2, 4(r14) +/* 80131D30 0012EC90 D0 43 00 28 */ stfs f2, 0x28(r3) +/* 80131D34 0012EC94 C0 4E 00 08 */ lfs f2, 8(r14) +/* 80131D38 0012EC98 D0 43 00 2C */ stfs f2, 0x2c(r3) +/* 80131D3C 0012EC9C 90 A3 00 30 */ stw r5, 0x30(r3) +/* 80131D40 0012ECA0 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 80131D44 0012ECA4 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 80131D48 0012ECA8 D0 23 00 3C */ stfs f1, 0x3c(r3) +/* 80131D4C 0012ECAC 90 83 00 40 */ stw r4, 0x40(r3) +/* 80131D50 0012ECB0 7C 09 03 A6 */ mtctr r0 +lbl_80131D54: +/* 80131D54 0012ECB4 28 07 00 00 */ cmplwi r7, 0 +/* 80131D58 0012ECB8 41 82 00 08 */ beq lbl_80131D60 +/* 80131D5C 0012ECBC 90 A7 00 00 */ stw r5, 0(r7) +lbl_80131D60: +/* 80131D60 0012ECC0 34 E7 00 04 */ addic. r7, r7, 4 +/* 80131D64 0012ECC4 41 82 00 08 */ beq lbl_80131D6C +/* 80131D68 0012ECC8 90 A7 00 00 */ stw r5, 0(r7) +lbl_80131D6C: +/* 80131D6C 0012ECCC 34 E7 00 04 */ addic. r7, r7, 4 +/* 80131D70 0012ECD0 41 82 00 08 */ beq lbl_80131D78 +/* 80131D74 0012ECD4 90 A7 00 00 */ stw r5, 0(r7) +lbl_80131D78: +/* 80131D78 0012ECD8 34 E7 00 04 */ addic. r7, r7, 4 +/* 80131D7C 0012ECDC 41 82 00 08 */ beq lbl_80131D84 +/* 80131D80 0012ECE0 90 A7 00 00 */ stw r5, 0(r7) +lbl_80131D84: +/* 80131D84 0012ECE4 34 E7 00 04 */ addic. r7, r7, 4 +/* 80131D88 0012ECE8 41 82 00 08 */ beq lbl_80131D90 +/* 80131D8C 0012ECEC 90 A7 00 00 */ stw r5, 0(r7) +lbl_80131D90: +/* 80131D90 0012ECF0 34 E7 00 04 */ addic. r7, r7, 4 +/* 80131D94 0012ECF4 41 82 00 08 */ beq lbl_80131D9C +/* 80131D98 0012ECF8 90 A7 00 00 */ stw r5, 0(r7) +lbl_80131D9C: +/* 80131D9C 0012ECFC 34 E7 00 04 */ addic. r7, r7, 4 +/* 80131DA0 0012ED00 41 82 00 08 */ beq lbl_80131DA8 +/* 80131DA4 0012ED04 90 A7 00 00 */ stw r5, 0(r7) +lbl_80131DA8: +/* 80131DA8 0012ED08 38 C6 00 06 */ addi r6, r6, 6 +/* 80131DAC 0012ED0C 38 E7 00 04 */ addi r7, r7, 4 +/* 80131DB0 0012ED10 42 00 FF A4 */ bdnz lbl_80131D54 +/* 80131DB4 0012ED14 38 E0 00 00 */ li r7, 0 +/* 80131DB8 0012ED18 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80131DBC 0012ED1C 90 E3 00 B4 */ stw r7, 0xb4(r3) +/* 80131DC0 0012ED20 38 C4 AA 68 */ addi r6, r4, lbl_803DAA68@l +/* 80131DC4 0012ED24 3C A0 80 3E */ lis r5, lbl_803DAA20@ha +/* 80131DC8 0012ED28 3D 80 80 3E */ lis r12, lbl_803DAA50@ha +/* 80131DCC 0012ED2C 90 C3 00 B8 */ stw r6, 0xb8(r3) +/* 80131DD0 0012ED30 38 05 AA 20 */ addi r0, r5, lbl_803DAA20@l +/* 80131DD4 0012ED34 3A 6C AA 50 */ addi r19, r12, lbl_803DAA50@l +/* 80131DD8 0012ED38 38 A0 FF FF */ li r5, -1 +/* 80131DDC 0012ED3C 90 E3 00 BC */ stw r7, 0xbc(r3) +/* 80131DE0 0012ED40 3A 20 00 01 */ li r17, 1 +/* 80131DE4 0012ED44 3D 60 80 3E */ lis r11, lbl_803DA9E4@ha +/* 80131DE8 0012ED48 3A A0 00 02 */ li r21, 2 +/* 80131DEC 0012ED4C 90 03 00 B8 */ stw r0, 0xb8(r3) +/* 80131DF0 0012ED50 38 0B A9 E4 */ addi r0, r11, lbl_803DA9E4@l +/* 80131DF4 0012ED54 3A 80 00 03 */ li r20, 3 +/* 80131DF8 0012ED58 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80131DFC 0012ED5C 90 A3 00 C0 */ stw r5, 0xc0(r3) +/* 80131E00 0012ED60 3A 40 00 04 */ li r18, 4 +/* 80131E04 0012ED64 3E 00 80 3E */ lis r16, lbl_803DAA44@ha +/* 80131E08 0012ED68 3D E0 80 3E */ lis r15, lbl_803DA9D8@ha +/* 80131E0C 0012ED6C 90 C3 00 C4 */ stw r6, 0xc4(r3) +/* 80131E10 0012ED70 39 23 00 B8 */ addi r9, r3, 0xb8 +/* 80131E14 0012ED74 39 43 00 C4 */ addi r10, r3, 0xc4 +/* 80131E18 0012ED78 39 63 00 DC */ addi r11, r3, 0xdc +/* 80131E1C 0012ED7C 92 23 00 C8 */ stw r17, 0xc8(r3) +/* 80131E20 0012ED80 3A 30 AA 44 */ addi r17, r16, lbl_803DAA44@l +/* 80131E24 0012ED84 3A 00 00 05 */ li r16, 5 +/* 80131E28 0012ED88 39 83 00 F4 */ addi r12, r3, 0xf4 +/* 80131E2C 0012ED8C 90 03 00 C4 */ stw r0, 0xc4(r3) +/* 80131E30 0012ED90 38 0F A9 D8 */ addi r0, r15, lbl_803DA9D8@l +/* 80131E34 0012ED94 3B E3 01 0C */ addi r31, r3, 0x10c +/* 80131E38 0012ED98 90 A3 00 CC */ stw r5, 0xcc(r3) +/* 80131E3C 0012ED9C 90 E3 00 D0 */ stw r7, 0xd0(r3) +/* 80131E40 0012EDA0 90 C3 00 D4 */ stw r6, 0xd4(r3) +/* 80131E44 0012EDA4 92 A3 00 D8 */ stw r21, 0xd8(r3) +/* 80131E48 0012EDA8 90 C3 00 DC */ stw r6, 0xdc(r3) +/* 80131E4C 0012EDAC 92 83 00 E0 */ stw r20, 0xe0(r3) +/* 80131E50 0012EDB0 92 63 00 DC */ stw r19, 0xdc(r3) +/* 80131E54 0012EDB4 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 80131E58 0012EDB8 D0 03 00 E4 */ stfs f0, 0xe4(r3) +/* 80131E5C 0012EDBC C0 0E 00 04 */ lfs f0, 4(r14) +/* 80131E60 0012EDC0 D0 03 00 E8 */ stfs f0, 0xe8(r3) +/* 80131E64 0012EDC4 C0 0E 00 08 */ lfs f0, 8(r14) +/* 80131E68 0012EDC8 D0 03 00 EC */ stfs f0, 0xec(r3) +/* 80131E6C 0012EDCC 90 A3 00 F0 */ stw r5, 0xf0(r3) +/* 80131E70 0012EDD0 90 C3 00 F4 */ stw r6, 0xf4(r3) +/* 80131E74 0012EDD4 92 43 00 F8 */ stw r18, 0xf8(r3) +/* 80131E78 0012EDD8 92 23 00 F4 */ stw r17, 0xf4(r3) +/* 80131E7C 0012EDDC C0 04 00 00 */ lfs f0, 0(r4) +/* 80131E80 0012EDE0 D0 03 00 FC */ stfs f0, 0xfc(r3) +/* 80131E84 0012EDE4 C0 0E 00 04 */ lfs f0, 4(r14) +/* 80131E88 0012EDE8 D0 03 01 00 */ stfs f0, 0x100(r3) +/* 80131E8C 0012EDEC C0 0E 00 08 */ lfs f0, 8(r14) +/* 80131E90 0012EDF0 D0 03 01 04 */ stfs f0, 0x104(r3) +/* 80131E94 0012EDF4 90 A3 01 08 */ stw r5, 0x108(r3) +/* 80131E98 0012EDF8 90 C3 01 0C */ stw r6, 0x10c(r3) +/* 80131E9C 0012EDFC 92 03 01 10 */ stw r16, 0x110(r3) +/* 80131EA0 0012EE00 90 03 01 0C */ stw r0, 0x10c(r3) +/* 80131EA4 0012EE04 90 A3 01 14 */ stw r5, 0x114(r3) +/* 80131EA8 0012EE08 C0 04 00 00 */ lfs f0, 0(r4) +/* 80131EAC 0012EE0C D0 03 01 18 */ stfs f0, 0x118(r3) +/* 80131EB0 0012EE10 C0 0E 00 04 */ lfs f0, 4(r14) +/* 80131EB4 0012EE14 D0 03 01 1C */ stfs f0, 0x11c(r3) +/* 80131EB8 0012EE18 C0 0E 00 08 */ lfs f0, 8(r14) +/* 80131EBC 0012EE1C D0 03 01 20 */ stfs f0, 0x120(r3) +/* 80131EC0 0012EE20 98 E3 01 24 */ stb r7, 0x124(r3) +/* 80131EC4 0012EE24 90 C3 01 28 */ stw r6, 0x128(r3) +/* 80131EC8 0012EE28 38 00 00 06 */ li r0, 6 +/* 80131ECC 0012EE2C 3E 20 80 3E */ lis r17, lbl_803E10B0@ha +/* 80131ED0 0012EE30 3E 00 80 3E */ lis r16, lbl_803DAA2C@ha +/* 80131ED4 0012EE34 3D E0 80 3E */ lis r15, lbl_803DA9CC@ha +/* 80131ED8 0012EE38 90 03 01 2C */ stw r0, 0x12c(r3) +/* 80131EDC 0012EE3C 38 0F A9 CC */ addi r0, r15, lbl_803DA9CC@l +/* 80131EE0 0012EE40 3A F1 10 B0 */ addi r23, r17, lbl_803E10B0@l +/* 80131EE4 0012EE44 90 03 01 28 */ stw r0, 0x128(r3) +/* 80131EE8 0012EE48 3A B0 AA 2C */ addi r21, r16, lbl_803DAA2C@l +/* 80131EEC 0012EE4C 3D E0 80 3E */ lis r15, lbl_803DAA38@ha +/* 80131EF0 0012EE50 3B 00 00 07 */ li r24, 7 +/* 80131EF4 0012EE54 90 A3 01 30 */ stw r5, 0x130(r3) +/* 80131EF8 0012EE58 3A 6F AA 38 */ addi r19, r15, lbl_803DAA38@l +/* 80131EFC 0012EE5C 3D E0 80 3E */ lis r15, lbl_803DA9F0@ha +/* 80131F00 0012EE60 3A C0 00 08 */ li r22, 8 +/* 80131F04 0012EE64 C0 04 00 00 */ lfs f0, 0(r4) +/* 80131F08 0012EE68 3A 80 00 09 */ li r20, 9 +/* 80131F0C 0012EE6C 3A 40 00 0A */ li r18, 0xa +/* 80131F10 0012EE70 3A 20 00 0B */ li r17, 0xb +/* 80131F14 0012EE74 D0 03 01 34 */ stfs f0, 0x134(r3) +/* 80131F18 0012EE78 3A 00 00 0C */ li r16, 0xc +/* 80131F1C 0012EE7C 38 00 00 0D */ li r0, 0xd +/* 80131F20 0012EE80 3B 20 00 0E */ li r25, 0xe +/* 80131F24 0012EE84 C0 0E 00 04 */ lfs f0, 4(r14) +/* 80131F28 0012EE88 39 EF A9 F0 */ addi r15, r15, lbl_803DA9F0@l +/* 80131F2C 0012EE8C 3B C3 01 28 */ addi r30, r3, 0x128 +/* 80131F30 0012EE90 3B A3 01 44 */ addi r29, r3, 0x144 +/* 80131F34 0012EE94 D0 03 01 38 */ stfs f0, 0x138(r3) +/* 80131F38 0012EE98 3B 83 01 54 */ addi r28, r3, 0x154 +/* 80131F3C 0012EE9C 3B 63 01 60 */ addi r27, r3, 0x160 +/* 80131F40 0012EEA0 3B 43 01 8C */ addi r26, r3, 0x18c +/* 80131F44 0012EEA4 C0 0E 00 08 */ lfs f0, 8(r14) +/* 80131F48 0012EEA8 D0 03 01 3C */ stfs f0, 0x13c(r3) +/* 80131F4C 0012EEAC 98 E3 01 40 */ stb r7, 0x140(r3) +/* 80131F50 0012EEB0 90 C3 01 44 */ stw r6, 0x144(r3) +/* 80131F54 0012EEB4 93 03 01 48 */ stw r24, 0x148(r3) +/* 80131F58 0012EEB8 92 E3 01 44 */ stw r23, 0x144(r3) +/* 80131F5C 0012EEBC 90 A3 01 4C */ stw r5, 0x14c(r3) +/* 80131F60 0012EEC0 90 E3 01 50 */ stw r7, 0x150(r3) +/* 80131F64 0012EEC4 90 C3 01 54 */ stw r6, 0x154(r3) +/* 80131F68 0012EEC8 92 C3 01 58 */ stw r22, 0x158(r3) +/* 80131F6C 0012EECC 92 A3 01 54 */ stw r21, 0x154(r3) +/* 80131F70 0012EED0 90 A3 01 5C */ stw r5, 0x15c(r3) +/* 80131F74 0012EED4 90 C3 01 60 */ stw r6, 0x160(r3) +/* 80131F78 0012EED8 92 83 01 64 */ stw r20, 0x164(r3) +/* 80131F7C 0012EEDC 92 63 01 60 */ stw r19, 0x160(r3) +/* 80131F80 0012EEE0 90 A3 01 68 */ stw r5, 0x168(r3) +/* 80131F84 0012EEE4 90 C3 01 6C */ stw r6, 0x16c(r3) +/* 80131F88 0012EEE8 92 43 01 70 */ stw r18, 0x170(r3) +/* 80131F8C 0012EEEC 90 C3 01 74 */ stw r6, 0x174(r3) +/* 80131F90 0012EEF0 92 23 01 78 */ stw r17, 0x178(r3) +/* 80131F94 0012EEF4 90 C3 01 7C */ stw r6, 0x17c(r3) +/* 80131F98 0012EEF8 92 03 01 80 */ stw r16, 0x180(r3) +/* 80131F9C 0012EEFC 90 C3 01 84 */ stw r6, 0x184(r3) +/* 80131FA0 0012EF00 90 03 01 88 */ stw r0, 0x188(r3) +/* 80131FA4 0012EF04 90 C3 01 8C */ stw r6, 0x18c(r3) +/* 80131FA8 0012EF08 93 23 01 90 */ stw r25, 0x190(r3) +/* 80131FAC 0012EF0C 91 E3 01 8C */ stw r15, 0x18c(r3) +/* 80131FB0 0012EF10 90 A3 01 94 */ stw r5, 0x194(r3) +/* 80131FB4 0012EF14 C0 04 00 00 */ lfs f0, 0(r4) +/* 80131FB8 0012EF18 3E 20 80 3E */ lis r17, lbl_803DAA5C@ha +/* 80131FBC 0012EF1C 3E 00 80 3E */ lis r16, lbl_803DA9FC@ha +/* 80131FC0 0012EF20 3D E0 80 3E */ lis r15, lbl_803DAA08@ha +/* 80131FC4 0012EF24 D0 1A 00 0C */ stfs f0, 0xc(r26) +/* 80131FC8 0012EF28 3B 23 01 AC */ addi r25, r3, 0x1ac +/* 80131FCC 0012EF2C 38 00 00 0F */ li r0, 0xf +/* 80131FD0 0012EF30 3A 71 AA 5C */ addi r19, r17, lbl_803DAA5C@l +/* 80131FD4 0012EF34 C0 0E 00 04 */ lfs f0, 4(r14) +/* 80131FD8 0012EF38 3B 03 01 D0 */ addi r24, r3, 0x1d0 +/* 80131FDC 0012EF3C 3A 40 00 10 */ li r18, 0x10 +/* 80131FE0 0012EF40 3A 30 A9 FC */ addi r17, r16, lbl_803DA9FC@l +/* 80131FE4 0012EF44 D0 1A 00 10 */ stfs f0, 0x10(r26) +/* 80131FE8 0012EF48 3A E3 01 F8 */ addi r23, r3, 0x1f8 +/* 80131FEC 0012EF4C 3A 00 00 11 */ li r16, 0x11 +/* 80131FF0 0012EF50 39 EF AA 08 */ addi r15, r15, lbl_803DAA08@l +/* 80131FF4 0012EF54 C0 0E 00 08 */ lfs f0, 8(r14) +/* 80131FF8 0012EF58 D0 1A 00 14 */ stfs f0, 0x14(r26) +/* 80131FFC 0012EF5C 90 BA 00 18 */ stw r5, 0x18(r26) +/* 80132000 0012EF60 82 9A 00 1C */ lwz r20, 0x1c(r26) +/* 80132004 0012EF64 50 F4 F8 00 */ rlwimi r20, r7, 0x1f, 0, 0 +/* 80132008 0012EF68 92 9A 00 1C */ stw r20, 0x1c(r26) +/* 8013200C 0012EF6C 82 9A 00 1C */ lwz r20, 0x1c(r26) +/* 80132010 0012EF70 50 F4 F0 42 */ rlwimi r20, r7, 0x1e, 1, 1 +/* 80132014 0012EF74 92 9A 00 1C */ stw r20, 0x1c(r26) +/* 80132018 0012EF78 90 C3 01 AC */ stw r6, 0x1ac(r3) +/* 8013201C 0012EF7C 90 03 01 B0 */ stw r0, 0x1b0(r3) +/* 80132020 0012EF80 92 63 01 AC */ stw r19, 0x1ac(r3) +/* 80132024 0012EF84 C0 04 00 00 */ lfs f0, 0(r4) +/* 80132028 0012EF88 D0 03 01 B4 */ stfs f0, 0x1b4(r3) +/* 8013202C 0012EF8C C0 0E 00 04 */ lfs f0, 4(r14) +/* 80132030 0012EF90 D0 03 01 B8 */ stfs f0, 0x1b8(r3) +/* 80132034 0012EF94 C0 0E 00 08 */ lfs f0, 8(r14) +/* 80132038 0012EF98 D0 03 01 BC */ stfs f0, 0x1bc(r3) +/* 8013203C 0012EF9C C0 04 00 00 */ lfs f0, 0(r4) +/* 80132040 0012EFA0 D0 03 01 C0 */ stfs f0, 0x1c0(r3) +/* 80132044 0012EFA4 C0 0E 00 04 */ lfs f0, 4(r14) +/* 80132048 0012EFA8 D0 03 01 C4 */ stfs f0, 0x1c4(r3) +/* 8013204C 0012EFAC C0 0E 00 08 */ lfs f0, 8(r14) +/* 80132050 0012EFB0 D0 03 01 C8 */ stfs f0, 0x1c8(r3) +/* 80132054 0012EFB4 98 E3 01 CC */ stb r7, 0x1cc(r3) +/* 80132058 0012EFB8 90 C3 01 D0 */ stw r6, 0x1d0(r3) +/* 8013205C 0012EFBC 92 43 01 D4 */ stw r18, 0x1d4(r3) +/* 80132060 0012EFC0 92 23 01 D0 */ stw r17, 0x1d0(r3) +/* 80132064 0012EFC4 90 E3 01 D8 */ stw r7, 0x1d8(r3) +/* 80132068 0012EFC8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8013206C 0012EFCC D0 03 01 DC */ stfs f0, 0x1dc(r3) +/* 80132070 0012EFD0 C0 0E 00 04 */ lfs f0, 4(r14) +/* 80132074 0012EFD4 D0 03 01 E0 */ stfs f0, 0x1e0(r3) +/* 80132078 0012EFD8 C0 0E 00 08 */ lfs f0, 8(r14) +/* 8013207C 0012EFDC D0 03 01 E4 */ stfs f0, 0x1e4(r3) +/* 80132080 0012EFE0 C0 04 00 00 */ lfs f0, 0(r4) +/* 80132084 0012EFE4 D0 03 01 E8 */ stfs f0, 0x1e8(r3) +/* 80132088 0012EFE8 C0 0E 00 04 */ lfs f0, 4(r14) +/* 8013208C 0012EFEC D0 03 01 EC */ stfs f0, 0x1ec(r3) +/* 80132090 0012EFF0 C0 0E 00 08 */ lfs f0, 8(r14) +/* 80132094 0012EFF4 D0 03 01 F0 */ stfs f0, 0x1f0(r3) +/* 80132098 0012EFF8 88 03 01 F4 */ lbz r0, 0x1f4(r3) +/* 8013209C 0012EFFC 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 801320A0 0012F000 98 03 01 F4 */ stb r0, 0x1f4(r3) +/* 801320A4 0012F004 88 03 01 F4 */ lbz r0, 0x1f4(r3) +/* 801320A8 0012F008 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 +/* 801320AC 0012F00C 98 03 01 F4 */ stb r0, 0x1f4(r3) +/* 801320B0 0012F010 82 44 00 00 */ lwz r18, 0(r4) +/* 801320B4 0012F014 82 24 00 04 */ lwz r17, 4(r4) +/* 801320B8 0012F018 80 04 00 08 */ lwz r0, 8(r4) +/* 801320BC 0012F01C 92 41 00 0C */ stw r18, 0xc(r1) +/* 801320C0 0012F020 90 C3 01 F8 */ stw r6, 0x1f8(r3) +/* 801320C4 0012F024 92 03 01 FC */ stw r16, 0x1fc(r3) +/* 801320C8 0012F028 92 21 00 10 */ stw r17, 0x10(r1) +/* 801320CC 0012F02C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801320D0 0012F030 91 E3 01 F8 */ stw r15, 0x1f8(r3) +/* 801320D4 0012F034 90 B7 00 08 */ stw r5, 8(r23) +/* 801320D8 0012F038 3D E0 80 3E */ lis r15, lbl_803DAA14@ha +/* 801320DC 0012F03C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 801320E0 0012F040 3E 20 80 3E */ lis r17, lbl_803DFE40@ha +/* 801320E4 0012F044 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 801320E8 0012F048 38 00 00 12 */ li r0, 0x12 +/* 801320EC 0012F04C D0 17 00 0C */ stfs f0, 0xc(r23) +/* 801320F0 0012F050 39 EF AA 14 */ addi r15, r15, lbl_803DAA14@l +/* 801320F4 0012F054 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 801320F8 0012F058 3A 40 00 13 */ li r18, 0x13 +/* 801320FC 0012F05C D0 37 00 10 */ stfs f1, 0x10(r23) +/* 80132100 0012F060 3A 31 FE 40 */ addi r17, r17, lbl_803DFE40@l +/* 80132104 0012F064 C0 22 99 88 */ lfs f1, lbl_805AB6A8@sda21(r2) +/* 80132108 0012F068 3E 00 80 3E */ lis r16, lbl_803E0B8C@ha +/* 8013210C 0012F06C D0 17 00 14 */ stfs f0, 0x14(r23) +/* 80132110 0012F070 3E 60 80 5A */ lis r19, lbl_805A6724@ha +/* 80132114 0012F074 3A C3 02 10 */ addi r22, r3, 0x210 +/* 80132118 0012F078 3A A3 02 1C */ addi r21, r3, 0x21c +/* 8013211C 0012F07C 90 C3 02 10 */ stw r6, 0x210(r3) +/* 80132120 0012F080 3A 83 02 30 */ addi r20, r3, 0x230 +/* 80132124 0012F084 90 03 02 14 */ stw r0, 0x214(r3) +/* 80132128 0012F088 38 10 0B 8C */ addi r0, r16, lbl_803E0B8C@l +/* 8013212C 0012F08C 3A 13 67 24 */ addi r16, r19, lbl_805A6724@l +/* 80132130 0012F090 3A 63 02 54 */ addi r19, r3, 0x254 +/* 80132134 0012F094 91 E3 02 10 */ stw r15, 0x210(r3) +/* 80132138 0012F098 3D E0 80 3E */ lis r15, lbl_803E0B98@ha +/* 8013213C 0012F09C 39 EF 0B 98 */ addi r15, r15, lbl_803E0B98@l +/* 80132140 0012F0A0 90 A3 02 18 */ stw r5, 0x218(r3) +/* 80132144 0012F0A4 90 C3 02 1C */ stw r6, 0x21c(r3) +/* 80132148 0012F0A8 92 43 02 20 */ stw r18, 0x220(r3) +/* 8013214C 0012F0AC 92 23 02 1C */ stw r17, 0x21c(r3) +/* 80132150 0012F0B0 90 A3 02 24 */ stw r5, 0x224(r3) +/* 80132154 0012F0B4 8A 23 02 28 */ lbz r17, 0x228(r3) +/* 80132158 0012F0B8 50 F1 3E 30 */ rlwimi r17, r7, 7, 0x18, 0x18 +/* 8013215C 0012F0BC 9A 23 02 28 */ stb r17, 0x228(r3) +/* 80132160 0012F0C0 8A 23 02 28 */ lbz r17, 0x228(r3) +/* 80132164 0012F0C4 50 F1 36 72 */ rlwimi r17, r7, 6, 0x19, 0x19 +/* 80132168 0012F0C8 9A 23 02 28 */ stb r17, 0x228(r3) +/* 8013216C 0012F0CC 3A 20 00 14 */ li r17, 0x14 +/* 80132170 0012F0D0 D0 23 02 2C */ stfs f1, 0x22c(r3) +/* 80132174 0012F0D4 90 C3 02 30 */ stw r6, 0x230(r3) +/* 80132178 0012F0D8 92 23 02 34 */ stw r17, 0x234(r3) +/* 8013217C 0012F0DC 90 03 02 30 */ stw r0, 0x230(r3) +/* 80132180 0012F0E0 38 00 00 15 */ li r0, 0x15 +/* 80132184 0012F0E4 90 A3 02 38 */ stw r5, 0x238(r3) +/* 80132188 0012F0E8 C0 04 00 00 */ lfs f0, 0(r4) +/* 8013218C 0012F0EC D0 03 02 3C */ stfs f0, 0x23c(r3) +/* 80132190 0012F0F0 C0 0E 00 04 */ lfs f0, 4(r14) +/* 80132194 0012F0F4 D0 03 02 40 */ stfs f0, 0x240(r3) +/* 80132198 0012F0F8 C0 0E 00 08 */ lfs f0, 8(r14) +/* 8013219C 0012F0FC D0 03 02 44 */ stfs f0, 0x244(r3) +/* 801321A0 0012F100 C0 10 00 00 */ lfs f0, 0(r16) +/* 801321A4 0012F104 D0 03 02 48 */ stfs f0, 0x248(r3) +/* 801321A8 0012F108 C0 10 00 04 */ lfs f0, 4(r16) +/* 801321AC 0012F10C D0 03 02 4C */ stfs f0, 0x24c(r3) +/* 801321B0 0012F110 C0 10 00 08 */ lfs f0, 8(r16) +/* 801321B4 0012F114 D0 03 02 50 */ stfs f0, 0x250(r3) +/* 801321B8 0012F118 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 801321BC 0012F11C 90 C3 02 54 */ stw r6, 0x254(r3) +/* 801321C0 0012F120 90 03 02 58 */ stw r0, 0x258(r3) +/* 801321C4 0012F124 38 00 00 16 */ li r0, 0x16 +/* 801321C8 0012F128 91 E3 02 54 */ stw r15, 0x254(r3) +/* 801321CC 0012F12C B0 83 02 5C */ sth r4, 0x25c(r3) +/* 801321D0 0012F130 90 C3 02 60 */ stw r6, 0x260(r3) +/* 801321D4 0012F134 90 03 02 64 */ stw r0, 0x264(r3) +/* 801321D8 0012F138 B0 81 00 08 */ sth r4, 8(r1) +/* 801321DC 0012F13C 90 C3 02 68 */ stw r6, 0x268(r3) +/* 801321E0 0012F140 38 00 00 17 */ li r0, 0x17 +/* 801321E4 0012F144 3D C0 80 3E */ lis r14, lbl_803E061C@ha +/* 801321E8 0012F148 90 03 02 6C */ stw r0, 0x26c(r3) +/* 801321EC 0012F14C 38 00 00 18 */ li r0, 0x18 +/* 801321F0 0012F150 39 CE 06 1C */ addi r14, r14, lbl_803E061C@l +/* 801321F4 0012F154 39 E0 00 19 */ li r15, 0x19 +/* 801321F8 0012F158 90 C3 02 70 */ stw r6, 0x270(r3) +/* 801321FC 0012F15C 3C 80 80 3E */ lis r4, lbl_803E10BC@ha +/* 80132200 0012F160 C0 02 99 90 */ lfs f0, lbl_805AB6B0@sda21(r2) +/* 80132204 0012F164 3A 43 02 70 */ addi r18, r3, 0x270 +/* 80132208 0012F168 90 03 02 74 */ stw r0, 0x274(r3) +/* 8013220C 0012F16C 38 04 10 BC */ addi r0, r4, lbl_803E10BC@l +/* 80132210 0012F170 3C 80 80 3E */ lis r4, lbl_803E10C8@ha +/* 80132214 0012F174 3A 23 02 78 */ addi r17, r3, 0x278 +/* 80132218 0012F178 91 C3 02 70 */ stw r14, 0x270(r3) +/* 8013221C 0012F17C 39 C3 00 D4 */ addi r14, r3, 0xd4 +/* 80132220 0012F180 38 84 10 C8 */ addi r4, r4, lbl_803E10C8@l +/* 80132224 0012F184 3A 03 02 84 */ addi r16, r3, 0x284 +/* 80132228 0012F188 90 C3 02 78 */ stw r6, 0x278(r3) +/* 8013222C 0012F18C 91 E3 02 7C */ stw r15, 0x27c(r3) +/* 80132230 0012F190 39 E3 02 98 */ addi r15, r3, 0x298 +/* 80132234 0012F194 90 03 02 78 */ stw r0, 0x278(r3) +/* 80132238 0012F198 38 03 02 60 */ addi r0, r3, 0x260 +/* 8013223C 0012F19C D0 03 02 80 */ stfs f0, 0x280(r3) +/* 80132240 0012F1A0 90 C3 02 84 */ stw r6, 0x284(r3) +/* 80132244 0012F1A4 91 E1 00 28 */ stw r15, 0x28(r1) +/* 80132248 0012F1A8 39 E0 00 1A */ li r15, 0x1a +/* 8013224C 0012F1AC 91 E3 02 88 */ stw r15, 0x288(r3) +/* 80132250 0012F1B0 90 83 02 84 */ stw r4, 0x284(r3) +/* 80132254 0012F1B4 38 80 00 1B */ li r4, 0x1b +/* 80132258 0012F1B8 D0 23 02 8C */ stfs f1, 0x28c(r3) +/* 8013225C 0012F1BC 90 A3 02 90 */ stw r5, 0x290(r3) +/* 80132260 0012F1C0 98 E3 02 94 */ stb r7, 0x294(r3) +/* 80132264 0012F1C4 90 C3 02 98 */ stw r6, 0x298(r3) +/* 80132268 0012F1C8 90 83 02 9C */ stw r4, 0x29c(r3) +/* 8013226C 0012F1CC 91 C1 00 2C */ stw r14, 0x2c(r1) +/* 80132270 0012F1D0 39 C3 01 6C */ addi r14, r3, 0x16c +/* 80132274 0012F1D4 91 28 00 00 */ stw r9, 0(r8) +/* 80132278 0012F1D8 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 8013227C 0012F1DC 91 48 00 04 */ stw r10, 4(r8) +/* 80132280 0012F1E0 90 88 00 08 */ stw r4, 8(r8) +/* 80132284 0012F1E4 91 68 00 0C */ stw r11, 0xc(r8) +/* 80132288 0012F1E8 91 88 00 10 */ stw r12, 0x10(r8) +/* 8013228C 0012F1EC 93 E8 00 14 */ stw r31, 0x14(r8) +/* 80132290 0012F1F0 91 C1 00 18 */ stw r14, 0x18(r1) +/* 80132294 0012F1F4 39 C3 01 74 */ addi r14, r3, 0x174 +/* 80132298 0012F1F8 93 C8 00 18 */ stw r30, 0x18(r8) +/* 8013229C 0012F1FC 80 81 00 18 */ lwz r4, 0x18(r1) +/* 801322A0 0012F200 93 A8 00 1C */ stw r29, 0x1c(r8) +/* 801322A4 0012F204 93 88 00 20 */ stw r28, 0x20(r8) +/* 801322A8 0012F208 91 C1 00 1C */ stw r14, 0x1c(r1) +/* 801322AC 0012F20C 39 C3 01 7C */ addi r14, r3, 0x17c +/* 801322B0 0012F210 93 68 00 24 */ stw r27, 0x24(r8) +/* 801322B4 0012F214 91 C1 00 20 */ stw r14, 0x20(r1) +/* 801322B8 0012F218 39 C3 01 84 */ addi r14, r3, 0x184 +/* 801322BC 0012F21C 90 88 00 28 */ stw r4, 0x28(r8) +/* 801322C0 0012F220 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 801322C4 0012F224 91 C1 00 24 */ stw r14, 0x24(r1) +/* 801322C8 0012F228 39 C3 02 68 */ addi r14, r3, 0x268 +/* 801322CC 0012F22C 90 88 00 2C */ stw r4, 0x2c(r8) +/* 801322D0 0012F230 80 81 00 20 */ lwz r4, 0x20(r1) +/* 801322D4 0012F234 90 88 00 30 */ stw r4, 0x30(r8) +/* 801322D8 0012F238 80 81 00 24 */ lwz r4, 0x24(r1) +/* 801322DC 0012F23C 90 88 00 34 */ stw r4, 0x34(r8) +/* 801322E0 0012F240 93 48 00 38 */ stw r26, 0x38(r8) +/* 801322E4 0012F244 93 28 00 3C */ stw r25, 0x3c(r8) +/* 801322E8 0012F248 93 08 00 40 */ stw r24, 0x40(r8) +/* 801322EC 0012F24C 92 E8 00 44 */ stw r23, 0x44(r8) +/* 801322F0 0012F250 92 C8 00 48 */ stw r22, 0x48(r8) +/* 801322F4 0012F254 92 A8 00 4C */ stw r21, 0x4c(r8) +/* 801322F8 0012F258 92 88 00 50 */ stw r20, 0x50(r8) +/* 801322FC 0012F25C 92 68 00 54 */ stw r19, 0x54(r8) +/* 80132300 0012F260 90 08 00 58 */ stw r0, 0x58(r8) +/* 80132304 0012F264 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80132308 0012F268 91 C8 00 5C */ stw r14, 0x5c(r8) +/* 8013230C 0012F26C 92 48 00 60 */ stw r18, 0x60(r8) +/* 80132310 0012F270 92 28 00 64 */ stw r17, 0x64(r8) +/* 80132314 0012F274 92 08 00 68 */ stw r16, 0x68(r8) +/* 80132318 0012F278 90 08 00 6C */ stw r0, 0x6c(r8) +/* 8013231C 0012F27C B9 C1 00 38 */ lmw r14, 0x38(r1) +/* 80132320 0012F280 38 21 00 80 */ addi r1, r1, 0x80 +/* 80132324 0012F284 4E 80 00 20 */ blr + +.global __dt__22CBCAdditiveReactionCmdFv +__dt__22CBCAdditiveReactionCmdFv: +/* 80132328 0012F288 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013232C 0012F28C 7C 08 02 A6 */ mflr r0 +/* 80132330 0012F290 90 01 00 14 */ stw r0, 0x14(r1) +/* 80132334 0012F294 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80132338 0012F298 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8013233C 0012F29C 41 82 00 30 */ beq lbl_8013236C +/* 80132340 0012F2A0 3C 60 80 3E */ lis r3, lbl_803E10C8@ha +/* 80132344 0012F2A4 38 03 10 C8 */ addi r0, r3, lbl_803E10C8@l +/* 80132348 0012F2A8 90 1F 00 00 */ stw r0, 0(r31) +/* 8013234C 0012F2AC 41 82 00 10 */ beq lbl_8013235C +/* 80132350 0012F2B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80132354 0012F2B4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80132358 0012F2B8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013235C: +/* 8013235C 0012F2BC 7C 80 07 35 */ extsh. r0, r4 +/* 80132360 0012F2C0 40 81 00 0C */ ble lbl_8013236C +/* 80132364 0012F2C4 7F E3 FB 78 */ mr r3, r31 +/* 80132368 0012F2C8 48 1E 35 C9 */ bl Free__7CMemoryFPCv +lbl_8013236C: +/* 8013236C 0012F2CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80132370 0012F2D0 7F E3 FB 78 */ mr r3, r31 +/* 80132374 0012F2D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80132378 0012F2D8 7C 08 03 A6 */ mtlr r0 +/* 8013237C 0012F2DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80132380 0012F2E0 4E 80 00 20 */ blr + +.global __dt__20CBCAdditiveFlinchCmdFv +__dt__20CBCAdditiveFlinchCmdFv: +/* 80132384 0012F2E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80132388 0012F2E8 7C 08 02 A6 */ mflr r0 +/* 8013238C 0012F2EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80132390 0012F2F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80132394 0012F2F4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80132398 0012F2F8 41 82 00 30 */ beq lbl_801323C8 +/* 8013239C 0012F2FC 3C 60 80 3E */ lis r3, lbl_803E10BC@ha +/* 801323A0 0012F300 38 03 10 BC */ addi r0, r3, lbl_803E10BC@l +/* 801323A4 0012F304 90 1F 00 00 */ stw r0, 0(r31) +/* 801323A8 0012F308 41 82 00 10 */ beq lbl_801323B8 +/* 801323AC 0012F30C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801323B0 0012F310 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801323B4 0012F314 90 1F 00 00 */ stw r0, 0(r31) +lbl_801323B8: +/* 801323B8 0012F318 7C 80 07 35 */ extsh. r0, r4 +/* 801323BC 0012F31C 40 81 00 0C */ ble lbl_801323C8 +/* 801323C0 0012F320 7F E3 FB 78 */ mr r3, r31 +/* 801323C4 0012F324 48 1E 35 6D */ bl Free__7CMemoryFPCv +lbl_801323C8: +/* 801323C8 0012F328 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801323CC 0012F32C 7F E3 FB 78 */ mr r3, r31 +/* 801323D0 0012F330 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801323D4 0012F334 7C 08 03 A6 */ mtlr r0 +/* 801323D8 0012F338 38 21 00 10 */ addi r1, r1, 0x10 +/* 801323DC 0012F33C 4E 80 00 20 */ blr + +.global __dt__16CBCLoopAttackCmdFv +__dt__16CBCLoopAttackCmdFv: +/* 801323E0 0012F340 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801323E4 0012F344 7C 08 02 A6 */ mflr r0 +/* 801323E8 0012F348 90 01 00 14 */ stw r0, 0x14(r1) +/* 801323EC 0012F34C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801323F0 0012F350 7C 7F 1B 79 */ or. r31, r3, r3 +/* 801323F4 0012F354 41 82 00 30 */ beq lbl_80132424 +/* 801323F8 0012F358 3C 60 80 3E */ lis r3, lbl_803E10B0@ha +/* 801323FC 0012F35C 38 03 10 B0 */ addi r0, r3, lbl_803E10B0@l +/* 80132400 0012F360 90 1F 00 00 */ stw r0, 0(r31) +/* 80132404 0012F364 41 82 00 10 */ beq lbl_80132414 +/* 80132408 0012F368 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8013240C 0012F36C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80132410 0012F370 90 1F 00 00 */ stw r0, 0(r31) +lbl_80132414: +/* 80132414 0012F374 7C 80 07 35 */ extsh. r0, r4 +/* 80132418 0012F378 40 81 00 0C */ ble lbl_80132424 +/* 8013241C 0012F37C 7F E3 FB 78 */ mr r3, r31 +/* 80132420 0012F380 48 1E 35 11 */ bl Free__7CMemoryFPCv +lbl_80132424: +/* 80132424 0012F384 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80132428 0012F388 7F E3 FB 78 */ mr r3, r31 +/* 8013242C 0012F38C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80132430 0012F390 7C 08 03 A6 */ mtlr r0 +/* 80132434 0012F394 38 21 00 10 */ addi r1, r1, 0x10 +/* 80132438 0012F398 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/BodyState/CBodyStateInfo.s b/asm/Kyoto_CWD/BodyState/CBodyStateInfo.s new file mode 100644 index 00000000..5c25ac3f --- /dev/null +++ b/asm/Kyoto_CWD/BodyState/CBodyStateInfo.s @@ -0,0 +1,3003 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetupRestrictedFlyerBodyStates__14CBodyStateInfoFiR6CActor +SetupRestrictedFlyerBodyStates__14CBodyStateInfoFiR6CActor: +/* 8013243C 0012F39C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80132440 0012F3A0 7C 08 02 A6 */ mflr r0 +/* 80132444 0012F3A4 28 04 00 12 */ cmplwi r4, 0x12 +/* 80132448 0012F3A8 38 60 00 00 */ li r3, 0 +/* 8013244C 0012F3AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80132450 0012F3B0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80132454 0012F3B4 7C BF 2B 78 */ mr r31, r5 +/* 80132458 0012F3B8 41 81 03 64 */ bgt lbl_801327BC +/* 8013245C 0012F3BC 3C A0 80 3E */ lis r5, lbl_803E10D8@ha +/* 80132460 0012F3C0 54 80 10 3A */ slwi r0, r4, 2 +/* 80132464 0012F3C4 38 85 10 D8 */ addi r4, r5, lbl_803E10D8@l +/* 80132468 0012F3C8 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8013246C 0012F3CC 7C 09 03 A6 */ mtctr r0 +/* 80132470 0012F3D0 4E 80 04 20 */ bctr +/* 80132474 0012F3D4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132478 0012F3D8 38 60 00 10 */ li r3, 0x10 +/* 8013247C 0012F3DC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132480 0012F3E0 38 A0 00 00 */ li r5, 0 +/* 80132484 0012F3E4 48 1E 33 E9 */ bl __nw__FUlPCcPCc +/* 80132488 0012F3E8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013248C 0012F3EC 41 82 00 0C */ beq lbl_80132498 +/* 80132490 0012F3F0 48 00 39 C9 */ bl __ct__7CBSFallFv +/* 80132494 0012F3F4 7C 60 1B 78 */ mr r0, r3 +lbl_80132498: +/* 80132498 0012F3F8 7C 03 03 78 */ mr r3, r0 +/* 8013249C 0012F3FC 48 00 03 20 */ b lbl_801327BC +/* 801324A0 0012F400 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801324A4 0012F404 38 60 00 08 */ li r3, 8 +/* 801324A8 0012F408 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801324AC 0012F40C 38 A0 00 00 */ li r5, 0 +/* 801324B0 0012F410 48 1E 33 BD */ bl __nw__FUlPCcPCc +/* 801324B4 0012F414 7C 60 1B 79 */ or. r0, r3, r3 +/* 801324B8 0012F418 41 82 00 0C */ beq lbl_801324C4 +/* 801324BC 0012F41C 48 00 3D 1D */ bl __ct__8CBSGetupFv +/* 801324C0 0012F420 7C 60 1B 78 */ mr r0, r3 +lbl_801324C4: +/* 801324C4 0012F424 7C 03 03 78 */ mr r3, r0 +/* 801324C8 0012F428 48 00 02 F4 */ b lbl_801327BC +/* 801324CC 0012F42C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801324D0 0012F430 38 60 00 08 */ li r3, 8 +/* 801324D4 0012F434 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801324D8 0012F438 38 A0 00 00 */ li r5, 0 +/* 801324DC 0012F43C 48 1E 33 91 */ bl __nw__FUlPCcPCc +/* 801324E0 0012F440 7C 60 1B 79 */ or. r0, r3, r3 +/* 801324E4 0012F444 41 82 00 10 */ beq lbl_801324F4 +/* 801324E8 0012F448 7F E4 FB 78 */ mr r4, r31 +/* 801324EC 0012F44C 48 00 45 F1 */ bl __ct__14CBSLieOnGroundFRC6CActor +/* 801324F0 0012F450 7C 60 1B 78 */ mr r0, r3 +lbl_801324F4: +/* 801324F4 0012F454 7C 03 03 78 */ mr r3, r0 +/* 801324F8 0012F458 48 00 02 C4 */ b lbl_801327BC +/* 801324FC 0012F45C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132500 0012F460 38 60 00 04 */ li r3, 4 +/* 80132504 0012F464 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132508 0012F468 38 A0 00 00 */ li r5, 0 +/* 8013250C 0012F46C 48 1E 33 61 */ bl __nw__FUlPCcPCc +/* 80132510 0012F470 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132514 0012F474 41 82 00 0C */ beq lbl_80132520 +/* 80132518 0012F478 48 00 6C 91 */ bl __ct__7CBSStepFv +/* 8013251C 0012F47C 7C 60 1B 78 */ mr r0, r3 +lbl_80132520: +/* 80132520 0012F480 7C 03 03 78 */ mr r3, r0 +/* 80132524 0012F484 48 00 02 98 */ b lbl_801327BC +/* 80132528 0012F488 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013252C 0012F48C 38 60 00 0C */ li r3, 0xc +/* 80132530 0012F490 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132534 0012F494 38 A0 00 00 */ li r5, 0 +/* 80132538 0012F498 48 1E 33 35 */ bl __nw__FUlPCcPCc +/* 8013253C 0012F49C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132540 0012F4A0 41 82 00 0C */ beq lbl_8013254C +/* 80132544 0012F4A4 48 00 33 C9 */ bl __ct__6CBSDieFv +/* 80132548 0012F4A8 7C 60 1B 78 */ mr r0, r3 +lbl_8013254C: +/* 8013254C 0012F4AC 7C 03 03 78 */ mr r3, r0 +/* 80132550 0012F4B0 48 00 02 6C */ b lbl_801327BC +/* 80132554 0012F4B4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132558 0012F4B8 38 60 00 48 */ li r3, 0x48 +/* 8013255C 0012F4BC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132560 0012F4C0 38 A0 00 00 */ li r5, 0 +/* 80132564 0012F4C4 48 1E 33 09 */ bl __nw__FUlPCcPCc +/* 80132568 0012F4C8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013256C 0012F4CC 41 82 00 10 */ beq lbl_8013257C +/* 80132570 0012F4D0 7F E4 FB 78 */ mr r4, r31 +/* 80132574 0012F4D4 48 00 47 95 */ bl __ct__28CBSRestrictedFlyerLocomotionFR6CActor +/* 80132578 0012F4D8 7C 60 1B 78 */ mr r0, r3 +lbl_8013257C: +/* 8013257C 0012F4DC 7C 03 03 78 */ mr r3, r0 +/* 80132580 0012F4E0 48 00 02 3C */ b lbl_801327BC +/* 80132584 0012F4E4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132588 0012F4E8 38 60 00 10 */ li r3, 0x10 +/* 8013258C 0012F4EC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132590 0012F4F0 38 A0 00 00 */ li r5, 0 +/* 80132594 0012F4F4 48 1E 32 D9 */ bl __nw__FUlPCcPCc +/* 80132598 0012F4F8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013259C 0012F4FC 41 82 00 0C */ beq lbl_801325A8 +/* 801325A0 0012F500 48 00 42 01 */ bl __ct__12CBSKnockBackFv +/* 801325A4 0012F504 7C 60 1B 78 */ mr r0, r3 +lbl_801325A8: +/* 801325A8 0012F508 7C 03 03 78 */ mr r3, r0 +/* 801325AC 0012F50C 48 00 02 10 */ b lbl_801327BC +/* 801325B0 0012F510 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801325B4 0012F514 38 60 00 38 */ li r3, 0x38 +/* 801325B8 0012F518 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801325BC 0012F51C 38 A0 00 00 */ li r5, 0 +/* 801325C0 0012F520 48 1E 32 AD */ bl __nw__FUlPCcPCc +/* 801325C4 0012F524 7C 60 1B 79 */ or. r0, r3, r3 +/* 801325C8 0012F528 41 82 00 0C */ beq lbl_801325D4 +/* 801325CC 0012F52C 48 00 2F CD */ bl __ct__9CBSAttackFv +/* 801325D0 0012F530 7C 60 1B 78 */ mr r0, r3 +lbl_801325D4: +/* 801325D4 0012F534 7C 03 03 78 */ mr r3, r0 +/* 801325D8 0012F538 48 00 01 E4 */ b lbl_801327BC +/* 801325DC 0012F53C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801325E0 0012F540 38 60 00 04 */ li r3, 4 +/* 801325E4 0012F544 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801325E8 0012F548 38 A0 00 00 */ li r5, 0 +/* 801325EC 0012F54C 48 1E 32 81 */ bl __nw__FUlPCcPCc +/* 801325F0 0012F550 7C 60 1B 79 */ or. r0, r3, r3 +/* 801325F4 0012F554 41 82 00 0C */ beq lbl_80132600 +/* 801325F8 0012F558 48 01 B3 35 */ bl __ct__19CBSProjectileAttackFv +/* 801325FC 0012F55C 7C 60 1B 78 */ mr r0, r3 +lbl_80132600: +/* 80132600 0012F560 7C 03 03 78 */ mr r3, r0 +/* 80132604 0012F564 48 00 01 B8 */ b lbl_801327BC +/* 80132608 0012F568 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013260C 0012F56C 38 60 00 10 */ li r3, 0x10 +/* 80132610 0012F570 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132614 0012F574 38 A0 00 00 */ li r5, 0 +/* 80132618 0012F578 48 1E 32 55 */ bl __nw__FUlPCcPCc +/* 8013261C 0012F57C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132620 0012F580 41 82 00 0C */ beq lbl_8013262C +/* 80132624 0012F584 48 00 92 15 */ bl __ct__13CBSLoopAttackFv +/* 80132628 0012F588 7C 60 1B 78 */ mr r0, r3 +lbl_8013262C: +/* 8013262C 0012F58C 7C 03 03 78 */ mr r3, r0 +/* 80132630 0012F590 48 00 01 8C */ b lbl_801327BC +/* 80132634 0012F594 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132638 0012F598 38 60 00 14 */ li r3, 0x14 +/* 8013263C 0012F59C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132640 0012F5A0 38 A0 00 00 */ li r5, 0 +/* 80132644 0012F5A4 48 1E 32 29 */ bl __nw__FUlPCcPCc +/* 80132648 0012F5A8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013264C 0012F5AC 41 82 00 0C */ beq lbl_80132658 +/* 80132650 0012F5B0 48 00 76 91 */ bl __ct__7CBSTurnFv +/* 80132654 0012F5B4 7C 60 1B 78 */ mr r0, r3 +lbl_80132658: +/* 80132658 0012F5B8 7C 03 03 78 */ mr r3, r0 +/* 8013265C 0012F5BC 48 00 01 60 */ b lbl_801327BC +/* 80132660 0012F5C0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132664 0012F5C4 38 60 00 10 */ li r3, 0x10 +/* 80132668 0012F5C8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013266C 0012F5CC 38 A0 00 00 */ li r5, 0 +/* 80132670 0012F5D0 48 1E 31 FD */ bl __nw__FUlPCcPCc +/* 80132674 0012F5D4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132678 0012F5D8 41 82 00 0C */ beq lbl_80132684 +/* 8013267C 0012F5DC 48 00 A3 A5 */ bl __ct__15CBSLoopReactionFv +/* 80132680 0012F5E0 7C 60 1B 78 */ mr r0, r3 +lbl_80132684: +/* 80132684 0012F5E4 7C 03 03 78 */ mr r3, r0 +/* 80132688 0012F5E8 48 00 01 34 */ b lbl_801327BC +/* 8013268C 0012F5EC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132690 0012F5F0 38 60 00 10 */ li r3, 0x10 +/* 80132694 0012F5F4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132698 0012F5F8 38 A0 00 00 */ li r5, 0 +/* 8013269C 0012F5FC 48 1E 31 D1 */ bl __nw__FUlPCcPCc +/* 801326A0 0012F600 7C 60 1B 79 */ or. r0, r3, r3 +/* 801326A4 0012F604 41 82 00 0C */ beq lbl_801326B0 +/* 801326A8 0012F608 48 00 CC 19 */ bl __ct__12CBSGroundHitFv +/* 801326AC 0012F60C 7C 60 1B 78 */ mr r0, r3 +lbl_801326B0: +/* 801326B0 0012F610 7C 03 03 78 */ mr r3, r0 +/* 801326B4 0012F614 48 00 01 08 */ b lbl_801327BC +/* 801326B8 0012F618 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801326BC 0012F61C 38 60 00 04 */ li r3, 4 +/* 801326C0 0012F620 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801326C4 0012F624 38 A0 00 00 */ li r5, 0 +/* 801326C8 0012F628 48 1E 31 A5 */ bl __nw__FUlPCcPCc +/* 801326CC 0012F62C 7C 60 1B 79 */ or. r0, r3, r3 +/* 801326D0 0012F630 41 82 00 0C */ beq lbl_801326DC +/* 801326D4 0012F634 48 01 43 BD */ bl __ct__11CBSGenerateFv +/* 801326D8 0012F638 7C 60 1B 78 */ mr r0, r3 +lbl_801326DC: +/* 801326DC 0012F63C 7C 03 03 78 */ mr r3, r0 +/* 801326E0 0012F640 48 00 00 DC */ b lbl_801327BC +/* 801326E4 0012F644 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801326E8 0012F648 38 60 00 34 */ li r3, 0x34 +/* 801326EC 0012F64C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801326F0 0012F650 38 A0 00 00 */ li r5, 0 +/* 801326F4 0012F654 48 1E 31 79 */ bl __nw__FUlPCcPCc +/* 801326F8 0012F658 7C 60 1B 79 */ or. r0, r3, r3 +/* 801326FC 0012F65C 41 82 00 0C */ beq lbl_80132708 +/* 80132700 0012F660 48 01 3F 01 */ bl __ct__7CBSJumpFv +/* 80132704 0012F664 7C 60 1B 78 */ mr r0, r3 +lbl_80132708: +/* 80132708 0012F668 7C 03 03 78 */ mr r3, r0 +/* 8013270C 0012F66C 48 00 00 B0 */ b lbl_801327BC +/* 80132710 0012F670 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132714 0012F674 38 60 00 30 */ li r3, 0x30 +/* 80132718 0012F678 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013271C 0012F67C 38 A0 00 00 */ li r5, 0 +/* 80132720 0012F680 48 1E 31 4D */ bl __nw__FUlPCcPCc +/* 80132724 0012F684 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132728 0012F688 41 82 00 0C */ beq lbl_80132734 +/* 8013272C 0012F68C 48 01 2E 75 */ bl __ct__9CBSHurledFv +/* 80132730 0012F690 7C 60 1B 78 */ mr r0, r3 +lbl_80132734: +/* 80132734 0012F694 7C 03 03 78 */ mr r3, r0 +/* 80132738 0012F698 48 00 00 84 */ b lbl_801327BC +/* 8013273C 0012F69C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132740 0012F6A0 38 60 00 08 */ li r3, 8 +/* 80132744 0012F6A4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132748 0012F6A8 38 A0 00 00 */ li r5, 0 +/* 8013274C 0012F6AC 48 1E 31 21 */ bl __nw__FUlPCcPCc +/* 80132750 0012F6B0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132754 0012F6B4 41 82 00 0C */ beq lbl_80132760 +/* 80132758 0012F6B8 48 01 1C 91 */ bl __ct__8CBSSlideFv +/* 8013275C 0012F6BC 7C 60 1B 78 */ mr r0, r3 +lbl_80132760: +/* 80132760 0012F6C0 7C 03 03 78 */ mr r3, r0 +/* 80132764 0012F6C4 48 00 00 58 */ b lbl_801327BC +/* 80132768 0012F6C8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013276C 0012F6CC 38 60 00 04 */ li r3, 4 +/* 80132770 0012F6D0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132774 0012F6D4 38 A0 00 00 */ li r5, 0 +/* 80132778 0012F6D8 48 1E 30 F5 */ bl __nw__FUlPCcPCc +/* 8013277C 0012F6DC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132780 0012F6E0 41 82 00 0C */ beq lbl_8013278C +/* 80132784 0012F6E4 48 01 6E 35 */ bl __ct__8CBSTauntFv +/* 80132788 0012F6E8 7C 60 1B 78 */ mr r0, r3 +lbl_8013278C: +/* 8013278C 0012F6EC 7C 03 03 78 */ mr r3, r0 +/* 80132790 0012F6F0 48 00 00 2C */ b lbl_801327BC +/* 80132794 0012F6F4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132798 0012F6F8 38 60 00 0C */ li r3, 0xc +/* 8013279C 0012F6FC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801327A0 0012F700 38 A0 00 00 */ li r5, 0 +/* 801327A4 0012F704 48 1E 30 C9 */ bl __nw__FUlPCcPCc +/* 801327A8 0012F708 7C 60 1B 79 */ or. r0, r3, r3 +/* 801327AC 0012F70C 41 82 00 0C */ beq lbl_801327B8 +/* 801327B0 0012F710 48 01 8C 31 */ bl __ct__11CBSScriptedFv +/* 801327B4 0012F714 7C 60 1B 78 */ mr r0, r3 +lbl_801327B8: +/* 801327B8 0012F718 7C 03 03 78 */ mr r3, r0 +lbl_801327BC: +/* 801327BC 0012F71C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801327C0 0012F720 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801327C4 0012F724 7C 08 03 A6 */ mtlr r0 +/* 801327C8 0012F728 38 21 00 10 */ addi r1, r1, 0x10 +/* 801327CC 0012F72C 4E 80 00 20 */ blr + +.global SetupNewFlyerBodyStates__14CBodyStateInfoFiR6CActor +SetupNewFlyerBodyStates__14CBodyStateInfoFiR6CActor: +/* 801327D0 0012F730 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801327D4 0012F734 7C 08 02 A6 */ mflr r0 +/* 801327D8 0012F738 28 04 00 12 */ cmplwi r4, 0x12 +/* 801327DC 0012F73C 38 60 00 00 */ li r3, 0 +/* 801327E0 0012F740 90 01 00 14 */ stw r0, 0x14(r1) +/* 801327E4 0012F744 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801327E8 0012F748 7C BF 2B 78 */ mr r31, r5 +/* 801327EC 0012F74C 41 81 03 64 */ bgt lbl_80132B50 +/* 801327F0 0012F750 3C A0 80 3E */ lis r5, lbl_803E1124@ha +/* 801327F4 0012F754 54 80 10 3A */ slwi r0, r4, 2 +/* 801327F8 0012F758 38 85 11 24 */ addi r4, r5, lbl_803E1124@l +/* 801327FC 0012F75C 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80132800 0012F760 7C 09 03 A6 */ mtctr r0 +/* 80132804 0012F764 4E 80 04 20 */ bctr +/* 80132808 0012F768 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013280C 0012F76C 38 60 00 10 */ li r3, 0x10 +/* 80132810 0012F770 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132814 0012F774 38 A0 00 00 */ li r5, 0 +/* 80132818 0012F778 48 1E 30 55 */ bl __nw__FUlPCcPCc +/* 8013281C 0012F77C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132820 0012F780 41 82 00 0C */ beq lbl_8013282C +/* 80132824 0012F784 48 00 36 35 */ bl __ct__7CBSFallFv +/* 80132828 0012F788 7C 60 1B 78 */ mr r0, r3 +lbl_8013282C: +/* 8013282C 0012F78C 7C 03 03 78 */ mr r3, r0 +/* 80132830 0012F790 48 00 03 20 */ b lbl_80132B50 +/* 80132834 0012F794 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132838 0012F798 38 60 00 08 */ li r3, 8 +/* 8013283C 0012F79C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132840 0012F7A0 38 A0 00 00 */ li r5, 0 +/* 80132844 0012F7A4 48 1E 30 29 */ bl __nw__FUlPCcPCc +/* 80132848 0012F7A8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013284C 0012F7AC 41 82 00 0C */ beq lbl_80132858 +/* 80132850 0012F7B0 48 00 39 89 */ bl __ct__8CBSGetupFv +/* 80132854 0012F7B4 7C 60 1B 78 */ mr r0, r3 +lbl_80132858: +/* 80132858 0012F7B8 7C 03 03 78 */ mr r3, r0 +/* 8013285C 0012F7BC 48 00 02 F4 */ b lbl_80132B50 +/* 80132860 0012F7C0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132864 0012F7C4 38 60 00 08 */ li r3, 8 +/* 80132868 0012F7C8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013286C 0012F7CC 38 A0 00 00 */ li r5, 0 +/* 80132870 0012F7D0 48 1E 2F FD */ bl __nw__FUlPCcPCc +/* 80132874 0012F7D4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132878 0012F7D8 41 82 00 10 */ beq lbl_80132888 +/* 8013287C 0012F7DC 7F E4 FB 78 */ mr r4, r31 +/* 80132880 0012F7E0 48 00 42 5D */ bl __ct__14CBSLieOnGroundFRC6CActor +/* 80132884 0012F7E4 7C 60 1B 78 */ mr r0, r3 +lbl_80132888: +/* 80132888 0012F7E8 7C 03 03 78 */ mr r3, r0 +/* 8013288C 0012F7EC 48 00 02 C4 */ b lbl_80132B50 +/* 80132890 0012F7F0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132894 0012F7F4 38 60 00 04 */ li r3, 4 +/* 80132898 0012F7F8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013289C 0012F7FC 38 A0 00 00 */ li r5, 0 +/* 801328A0 0012F800 48 1E 2F CD */ bl __nw__FUlPCcPCc +/* 801328A4 0012F804 7C 60 1B 79 */ or. r0, r3, r3 +/* 801328A8 0012F808 41 82 00 0C */ beq lbl_801328B4 +/* 801328AC 0012F80C 48 00 68 FD */ bl __ct__7CBSStepFv +/* 801328B0 0012F810 7C 60 1B 78 */ mr r0, r3 +lbl_801328B4: +/* 801328B4 0012F814 7C 03 03 78 */ mr r3, r0 +/* 801328B8 0012F818 48 00 02 98 */ b lbl_80132B50 +/* 801328BC 0012F81C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801328C0 0012F820 38 60 00 0C */ li r3, 0xc +/* 801328C4 0012F824 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801328C8 0012F828 38 A0 00 00 */ li r5, 0 +/* 801328CC 0012F82C 48 1E 2F A1 */ bl __nw__FUlPCcPCc +/* 801328D0 0012F830 7C 60 1B 79 */ or. r0, r3, r3 +/* 801328D4 0012F834 41 82 00 0C */ beq lbl_801328E0 +/* 801328D8 0012F838 48 00 30 35 */ bl __ct__6CBSDieFv +/* 801328DC 0012F83C 7C 60 1B 78 */ mr r0, r3 +lbl_801328E0: +/* 801328E0 0012F840 7C 03 03 78 */ mr r3, r0 +/* 801328E4 0012F844 48 00 02 6C */ b lbl_80132B50 +/* 801328E8 0012F848 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801328EC 0012F84C 38 60 03 CC */ li r3, 0x3cc +/* 801328F0 0012F850 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801328F4 0012F854 38 A0 00 00 */ li r5, 0 +/* 801328F8 0012F858 48 1E 2F 75 */ bl __nw__FUlPCcPCc +/* 801328FC 0012F85C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132900 0012F860 41 82 00 10 */ beq lbl_80132910 +/* 80132904 0012F864 7F E4 FB 78 */ mr r4, r31 +/* 80132908 0012F868 48 00 47 39 */ bl __ct__21CBSNewFlyerLocomotionFR6CActor +/* 8013290C 0012F86C 7C 60 1B 78 */ mr r0, r3 +lbl_80132910: +/* 80132910 0012F870 7C 03 03 78 */ mr r3, r0 +/* 80132914 0012F874 48 00 02 3C */ b lbl_80132B50 +/* 80132918 0012F878 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013291C 0012F87C 38 60 00 10 */ li r3, 0x10 +/* 80132920 0012F880 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132924 0012F884 38 A0 00 00 */ li r5, 0 +/* 80132928 0012F888 48 1E 2F 45 */ bl __nw__FUlPCcPCc +/* 8013292C 0012F88C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132930 0012F890 41 82 00 0C */ beq lbl_8013293C +/* 80132934 0012F894 48 00 3E 6D */ bl __ct__12CBSKnockBackFv +/* 80132938 0012F898 7C 60 1B 78 */ mr r0, r3 +lbl_8013293C: +/* 8013293C 0012F89C 7C 03 03 78 */ mr r3, r0 +/* 80132940 0012F8A0 48 00 02 10 */ b lbl_80132B50 +/* 80132944 0012F8A4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132948 0012F8A8 38 60 00 38 */ li r3, 0x38 +/* 8013294C 0012F8AC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132950 0012F8B0 38 A0 00 00 */ li r5, 0 +/* 80132954 0012F8B4 48 1E 2F 19 */ bl __nw__FUlPCcPCc +/* 80132958 0012F8B8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013295C 0012F8BC 41 82 00 0C */ beq lbl_80132968 +/* 80132960 0012F8C0 48 00 2C 39 */ bl __ct__9CBSAttackFv +/* 80132964 0012F8C4 7C 60 1B 78 */ mr r0, r3 +lbl_80132968: +/* 80132968 0012F8C8 7C 03 03 78 */ mr r3, r0 +/* 8013296C 0012F8CC 48 00 01 E4 */ b lbl_80132B50 +/* 80132970 0012F8D0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132974 0012F8D4 38 60 00 04 */ li r3, 4 +/* 80132978 0012F8D8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013297C 0012F8DC 38 A0 00 00 */ li r5, 0 +/* 80132980 0012F8E0 48 1E 2E ED */ bl __nw__FUlPCcPCc +/* 80132984 0012F8E4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132988 0012F8E8 41 82 00 0C */ beq lbl_80132994 +/* 8013298C 0012F8EC 48 01 AF A1 */ bl __ct__19CBSProjectileAttackFv +/* 80132990 0012F8F0 7C 60 1B 78 */ mr r0, r3 +lbl_80132994: +/* 80132994 0012F8F4 7C 03 03 78 */ mr r3, r0 +/* 80132998 0012F8F8 48 00 01 B8 */ b lbl_80132B50 +/* 8013299C 0012F8FC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801329A0 0012F900 38 60 00 10 */ li r3, 0x10 +/* 801329A4 0012F904 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801329A8 0012F908 38 A0 00 00 */ li r5, 0 +/* 801329AC 0012F90C 48 1E 2E C1 */ bl __nw__FUlPCcPCc +/* 801329B0 0012F910 7C 60 1B 79 */ or. r0, r3, r3 +/* 801329B4 0012F914 41 82 00 0C */ beq lbl_801329C0 +/* 801329B8 0012F918 48 00 8E 81 */ bl __ct__13CBSLoopAttackFv +/* 801329BC 0012F91C 7C 60 1B 78 */ mr r0, r3 +lbl_801329C0: +/* 801329C0 0012F920 7C 03 03 78 */ mr r3, r0 +/* 801329C4 0012F924 48 00 01 8C */ b lbl_80132B50 +/* 801329C8 0012F928 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801329CC 0012F92C 38 60 00 14 */ li r3, 0x14 +/* 801329D0 0012F930 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801329D4 0012F934 38 A0 00 00 */ li r5, 0 +/* 801329D8 0012F938 48 1E 2E 95 */ bl __nw__FUlPCcPCc +/* 801329DC 0012F93C 7C 60 1B 79 */ or. r0, r3, r3 +/* 801329E0 0012F940 41 82 00 0C */ beq lbl_801329EC +/* 801329E4 0012F944 48 00 72 FD */ bl __ct__7CBSTurnFv +/* 801329E8 0012F948 7C 60 1B 78 */ mr r0, r3 +lbl_801329EC: +/* 801329EC 0012F94C 7C 03 03 78 */ mr r3, r0 +/* 801329F0 0012F950 48 00 01 60 */ b lbl_80132B50 +/* 801329F4 0012F954 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801329F8 0012F958 38 60 00 10 */ li r3, 0x10 +/* 801329FC 0012F95C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132A00 0012F960 38 A0 00 00 */ li r5, 0 +/* 80132A04 0012F964 48 1E 2E 69 */ bl __nw__FUlPCcPCc +/* 80132A08 0012F968 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132A0C 0012F96C 41 82 00 0C */ beq lbl_80132A18 +/* 80132A10 0012F970 48 00 A0 11 */ bl __ct__15CBSLoopReactionFv +/* 80132A14 0012F974 7C 60 1B 78 */ mr r0, r3 +lbl_80132A18: +/* 80132A18 0012F978 7C 03 03 78 */ mr r3, r0 +/* 80132A1C 0012F97C 48 00 01 34 */ b lbl_80132B50 +/* 80132A20 0012F980 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132A24 0012F984 38 60 00 10 */ li r3, 0x10 +/* 80132A28 0012F988 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132A2C 0012F98C 38 A0 00 00 */ li r5, 0 +/* 80132A30 0012F990 48 1E 2E 3D */ bl __nw__FUlPCcPCc +/* 80132A34 0012F994 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132A38 0012F998 41 82 00 0C */ beq lbl_80132A44 +/* 80132A3C 0012F99C 48 00 C8 85 */ bl __ct__12CBSGroundHitFv +/* 80132A40 0012F9A0 7C 60 1B 78 */ mr r0, r3 +lbl_80132A44: +/* 80132A44 0012F9A4 7C 03 03 78 */ mr r3, r0 +/* 80132A48 0012F9A8 48 00 01 08 */ b lbl_80132B50 +/* 80132A4C 0012F9AC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132A50 0012F9B0 38 60 00 04 */ li r3, 4 +/* 80132A54 0012F9B4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132A58 0012F9B8 38 A0 00 00 */ li r5, 0 +/* 80132A5C 0012F9BC 48 1E 2E 11 */ bl __nw__FUlPCcPCc +/* 80132A60 0012F9C0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132A64 0012F9C4 41 82 00 0C */ beq lbl_80132A70 +/* 80132A68 0012F9C8 48 01 40 29 */ bl __ct__11CBSGenerateFv +/* 80132A6C 0012F9CC 7C 60 1B 78 */ mr r0, r3 +lbl_80132A70: +/* 80132A70 0012F9D0 7C 03 03 78 */ mr r3, r0 +/* 80132A74 0012F9D4 48 00 00 DC */ b lbl_80132B50 +/* 80132A78 0012F9D8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132A7C 0012F9DC 38 60 00 34 */ li r3, 0x34 +/* 80132A80 0012F9E0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132A84 0012F9E4 38 A0 00 00 */ li r5, 0 +/* 80132A88 0012F9E8 48 1E 2D E5 */ bl __nw__FUlPCcPCc +/* 80132A8C 0012F9EC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132A90 0012F9F0 41 82 00 0C */ beq lbl_80132A9C +/* 80132A94 0012F9F4 48 01 3B 6D */ bl __ct__7CBSJumpFv +/* 80132A98 0012F9F8 7C 60 1B 78 */ mr r0, r3 +lbl_80132A9C: +/* 80132A9C 0012F9FC 7C 03 03 78 */ mr r3, r0 +/* 80132AA0 0012FA00 48 00 00 B0 */ b lbl_80132B50 +/* 80132AA4 0012FA04 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132AA8 0012FA08 38 60 00 30 */ li r3, 0x30 +/* 80132AAC 0012FA0C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132AB0 0012FA10 38 A0 00 00 */ li r5, 0 +/* 80132AB4 0012FA14 48 1E 2D B9 */ bl __nw__FUlPCcPCc +/* 80132AB8 0012FA18 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132ABC 0012FA1C 41 82 00 0C */ beq lbl_80132AC8 +/* 80132AC0 0012FA20 48 01 2A E1 */ bl __ct__9CBSHurledFv +/* 80132AC4 0012FA24 7C 60 1B 78 */ mr r0, r3 +lbl_80132AC8: +/* 80132AC8 0012FA28 7C 03 03 78 */ mr r3, r0 +/* 80132ACC 0012FA2C 48 00 00 84 */ b lbl_80132B50 +/* 80132AD0 0012FA30 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132AD4 0012FA34 38 60 00 08 */ li r3, 8 +/* 80132AD8 0012FA38 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132ADC 0012FA3C 38 A0 00 00 */ li r5, 0 +/* 80132AE0 0012FA40 48 1E 2D 8D */ bl __nw__FUlPCcPCc +/* 80132AE4 0012FA44 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132AE8 0012FA48 41 82 00 0C */ beq lbl_80132AF4 +/* 80132AEC 0012FA4C 48 01 18 FD */ bl __ct__8CBSSlideFv +/* 80132AF0 0012FA50 7C 60 1B 78 */ mr r0, r3 +lbl_80132AF4: +/* 80132AF4 0012FA54 7C 03 03 78 */ mr r3, r0 +/* 80132AF8 0012FA58 48 00 00 58 */ b lbl_80132B50 +/* 80132AFC 0012FA5C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132B00 0012FA60 38 60 00 04 */ li r3, 4 +/* 80132B04 0012FA64 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132B08 0012FA68 38 A0 00 00 */ li r5, 0 +/* 80132B0C 0012FA6C 48 1E 2D 61 */ bl __nw__FUlPCcPCc +/* 80132B10 0012FA70 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132B14 0012FA74 41 82 00 0C */ beq lbl_80132B20 +/* 80132B18 0012FA78 48 01 6A A1 */ bl __ct__8CBSTauntFv +/* 80132B1C 0012FA7C 7C 60 1B 78 */ mr r0, r3 +lbl_80132B20: +/* 80132B20 0012FA80 7C 03 03 78 */ mr r3, r0 +/* 80132B24 0012FA84 48 00 00 2C */ b lbl_80132B50 +/* 80132B28 0012FA88 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132B2C 0012FA8C 38 60 00 0C */ li r3, 0xc +/* 80132B30 0012FA90 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132B34 0012FA94 38 A0 00 00 */ li r5, 0 +/* 80132B38 0012FA98 48 1E 2D 35 */ bl __nw__FUlPCcPCc +/* 80132B3C 0012FA9C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132B40 0012FAA0 41 82 00 0C */ beq lbl_80132B4C +/* 80132B44 0012FAA4 48 01 88 9D */ bl __ct__11CBSScriptedFv +/* 80132B48 0012FAA8 7C 60 1B 78 */ mr r0, r3 +lbl_80132B4C: +/* 80132B4C 0012FAAC 7C 03 03 78 */ mr r3, r0 +lbl_80132B50: +/* 80132B50 0012FAB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80132B54 0012FAB4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80132B58 0012FAB8 7C 08 03 A6 */ mtlr r0 +/* 80132B5C 0012FABC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80132B60 0012FAC0 4E 80 00 20 */ blr + +.global SetupWallWalkerBodyStates__14CBodyStateInfoFiR6CActor +SetupWallWalkerBodyStates__14CBodyStateInfoFiR6CActor: +/* 80132B64 0012FAC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80132B68 0012FAC8 7C 08 02 A6 */ mflr r0 +/* 80132B6C 0012FACC 28 04 00 12 */ cmplwi r4, 0x12 +/* 80132B70 0012FAD0 38 60 00 00 */ li r3, 0 +/* 80132B74 0012FAD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80132B78 0012FAD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80132B7C 0012FADC 7C BF 2B 78 */ mr r31, r5 +/* 80132B80 0012FAE0 41 81 03 64 */ bgt lbl_80132EE4 +/* 80132B84 0012FAE4 3C A0 80 3E */ lis r5, lbl_803E1170@ha +/* 80132B88 0012FAE8 54 80 10 3A */ slwi r0, r4, 2 +/* 80132B8C 0012FAEC 38 85 11 70 */ addi r4, r5, lbl_803E1170@l +/* 80132B90 0012FAF0 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80132B94 0012FAF4 7C 09 03 A6 */ mtctr r0 +/* 80132B98 0012FAF8 4E 80 04 20 */ bctr +/* 80132B9C 0012FAFC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132BA0 0012FB00 38 60 00 10 */ li r3, 0x10 +/* 80132BA4 0012FB04 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132BA8 0012FB08 38 A0 00 00 */ li r5, 0 +/* 80132BAC 0012FB0C 48 1E 2C C1 */ bl __nw__FUlPCcPCc +/* 80132BB0 0012FB10 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132BB4 0012FB14 41 82 00 0C */ beq lbl_80132BC0 +/* 80132BB8 0012FB18 48 00 32 A1 */ bl __ct__7CBSFallFv +/* 80132BBC 0012FB1C 7C 60 1B 78 */ mr r0, r3 +lbl_80132BC0: +/* 80132BC0 0012FB20 7C 03 03 78 */ mr r3, r0 +/* 80132BC4 0012FB24 48 00 03 20 */ b lbl_80132EE4 +/* 80132BC8 0012FB28 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132BCC 0012FB2C 38 60 00 08 */ li r3, 8 +/* 80132BD0 0012FB30 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132BD4 0012FB34 38 A0 00 00 */ li r5, 0 +/* 80132BD8 0012FB38 48 1E 2C 95 */ bl __nw__FUlPCcPCc +/* 80132BDC 0012FB3C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132BE0 0012FB40 41 82 00 0C */ beq lbl_80132BEC +/* 80132BE4 0012FB44 48 00 35 F5 */ bl __ct__8CBSGetupFv +/* 80132BE8 0012FB48 7C 60 1B 78 */ mr r0, r3 +lbl_80132BEC: +/* 80132BEC 0012FB4C 7C 03 03 78 */ mr r3, r0 +/* 80132BF0 0012FB50 48 00 02 F4 */ b lbl_80132EE4 +/* 80132BF4 0012FB54 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132BF8 0012FB58 38 60 00 08 */ li r3, 8 +/* 80132BFC 0012FB5C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132C00 0012FB60 38 A0 00 00 */ li r5, 0 +/* 80132C04 0012FB64 48 1E 2C 69 */ bl __nw__FUlPCcPCc +/* 80132C08 0012FB68 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132C0C 0012FB6C 41 82 00 10 */ beq lbl_80132C1C +/* 80132C10 0012FB70 7F E4 FB 78 */ mr r4, r31 +/* 80132C14 0012FB74 48 00 3E C9 */ bl __ct__14CBSLieOnGroundFRC6CActor +/* 80132C18 0012FB78 7C 60 1B 78 */ mr r0, r3 +lbl_80132C1C: +/* 80132C1C 0012FB7C 7C 03 03 78 */ mr r3, r0 +/* 80132C20 0012FB80 48 00 02 C4 */ b lbl_80132EE4 +/* 80132C24 0012FB84 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132C28 0012FB88 38 60 00 04 */ li r3, 4 +/* 80132C2C 0012FB8C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132C30 0012FB90 38 A0 00 00 */ li r5, 0 +/* 80132C34 0012FB94 48 1E 2C 39 */ bl __nw__FUlPCcPCc +/* 80132C38 0012FB98 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132C3C 0012FB9C 41 82 00 0C */ beq lbl_80132C48 +/* 80132C40 0012FBA0 48 00 65 69 */ bl __ct__7CBSStepFv +/* 80132C44 0012FBA4 7C 60 1B 78 */ mr r0, r3 +lbl_80132C48: +/* 80132C48 0012FBA8 7C 03 03 78 */ mr r3, r0 +/* 80132C4C 0012FBAC 48 00 02 98 */ b lbl_80132EE4 +/* 80132C50 0012FBB0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132C54 0012FBB4 38 60 00 0C */ li r3, 0xc +/* 80132C58 0012FBB8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132C5C 0012FBBC 38 A0 00 00 */ li r5, 0 +/* 80132C60 0012FBC0 48 1E 2C 0D */ bl __nw__FUlPCcPCc +/* 80132C64 0012FBC4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132C68 0012FBC8 41 82 00 0C */ beq lbl_80132C74 +/* 80132C6C 0012FBCC 48 00 2C A1 */ bl __ct__6CBSDieFv +/* 80132C70 0012FBD0 7C 60 1B 78 */ mr r0, r3 +lbl_80132C74: +/* 80132C74 0012FBD4 7C 03 03 78 */ mr r3, r0 +/* 80132C78 0012FBD8 48 00 02 6C */ b lbl_80132EE4 +/* 80132C7C 0012FBDC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132C80 0012FBE0 38 60 03 CC */ li r3, 0x3cc +/* 80132C84 0012FBE4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132C88 0012FBE8 38 A0 00 00 */ li r5, 0 +/* 80132C8C 0012FBEC 48 1E 2B E1 */ bl __nw__FUlPCcPCc +/* 80132C90 0012FBF0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132C94 0012FBF4 41 82 00 10 */ beq lbl_80132CA4 +/* 80132C98 0012FBF8 7F E4 FB 78 */ mr r4, r31 +/* 80132C9C 0012FBFC 48 00 47 05 */ bl __ct__23CBSWallWalkerLocomotionFR6CActor +/* 80132CA0 0012FC00 7C 60 1B 78 */ mr r0, r3 +lbl_80132CA4: +/* 80132CA4 0012FC04 7C 03 03 78 */ mr r3, r0 +/* 80132CA8 0012FC08 48 00 02 3C */ b lbl_80132EE4 +/* 80132CAC 0012FC0C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132CB0 0012FC10 38 60 00 10 */ li r3, 0x10 +/* 80132CB4 0012FC14 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132CB8 0012FC18 38 A0 00 00 */ li r5, 0 +/* 80132CBC 0012FC1C 48 1E 2B B1 */ bl __nw__FUlPCcPCc +/* 80132CC0 0012FC20 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132CC4 0012FC24 41 82 00 0C */ beq lbl_80132CD0 +/* 80132CC8 0012FC28 48 00 3A D9 */ bl __ct__12CBSKnockBackFv +/* 80132CCC 0012FC2C 7C 60 1B 78 */ mr r0, r3 +lbl_80132CD0: +/* 80132CD0 0012FC30 7C 03 03 78 */ mr r3, r0 +/* 80132CD4 0012FC34 48 00 02 10 */ b lbl_80132EE4 +/* 80132CD8 0012FC38 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132CDC 0012FC3C 38 60 00 38 */ li r3, 0x38 +/* 80132CE0 0012FC40 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132CE4 0012FC44 38 A0 00 00 */ li r5, 0 +/* 80132CE8 0012FC48 48 1E 2B 85 */ bl __nw__FUlPCcPCc +/* 80132CEC 0012FC4C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132CF0 0012FC50 41 82 00 0C */ beq lbl_80132CFC +/* 80132CF4 0012FC54 48 00 28 A5 */ bl __ct__9CBSAttackFv +/* 80132CF8 0012FC58 7C 60 1B 78 */ mr r0, r3 +lbl_80132CFC: +/* 80132CFC 0012FC5C 7C 03 03 78 */ mr r3, r0 +/* 80132D00 0012FC60 48 00 01 E4 */ b lbl_80132EE4 +/* 80132D04 0012FC64 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132D08 0012FC68 38 60 00 04 */ li r3, 4 +/* 80132D0C 0012FC6C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132D10 0012FC70 38 A0 00 00 */ li r5, 0 +/* 80132D14 0012FC74 48 1E 2B 59 */ bl __nw__FUlPCcPCc +/* 80132D18 0012FC78 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132D1C 0012FC7C 41 82 00 0C */ beq lbl_80132D28 +/* 80132D20 0012FC80 48 01 AC 0D */ bl __ct__19CBSProjectileAttackFv +/* 80132D24 0012FC84 7C 60 1B 78 */ mr r0, r3 +lbl_80132D28: +/* 80132D28 0012FC88 7C 03 03 78 */ mr r3, r0 +/* 80132D2C 0012FC8C 48 00 01 B8 */ b lbl_80132EE4 +/* 80132D30 0012FC90 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132D34 0012FC94 38 60 00 10 */ li r3, 0x10 +/* 80132D38 0012FC98 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132D3C 0012FC9C 38 A0 00 00 */ li r5, 0 +/* 80132D40 0012FCA0 48 1E 2B 2D */ bl __nw__FUlPCcPCc +/* 80132D44 0012FCA4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132D48 0012FCA8 41 82 00 0C */ beq lbl_80132D54 +/* 80132D4C 0012FCAC 48 00 8A ED */ bl __ct__13CBSLoopAttackFv +/* 80132D50 0012FCB0 7C 60 1B 78 */ mr r0, r3 +lbl_80132D54: +/* 80132D54 0012FCB4 7C 03 03 78 */ mr r3, r0 +/* 80132D58 0012FCB8 48 00 01 8C */ b lbl_80132EE4 +/* 80132D5C 0012FCBC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132D60 0012FCC0 38 60 00 14 */ li r3, 0x14 +/* 80132D64 0012FCC4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132D68 0012FCC8 38 A0 00 00 */ li r5, 0 +/* 80132D6C 0012FCCC 48 1E 2B 01 */ bl __nw__FUlPCcPCc +/* 80132D70 0012FCD0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132D74 0012FCD4 41 82 00 0C */ beq lbl_80132D80 +/* 80132D78 0012FCD8 48 00 68 AD */ bl __ct__12CBSFlyerTurnFv +/* 80132D7C 0012FCDC 7C 60 1B 78 */ mr r0, r3 +lbl_80132D80: +/* 80132D80 0012FCE0 7C 03 03 78 */ mr r3, r0 +/* 80132D84 0012FCE4 48 00 01 60 */ b lbl_80132EE4 +/* 80132D88 0012FCE8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132D8C 0012FCEC 38 60 00 10 */ li r3, 0x10 +/* 80132D90 0012FCF0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132D94 0012FCF4 38 A0 00 00 */ li r5, 0 +/* 80132D98 0012FCF8 48 1E 2A D5 */ bl __nw__FUlPCcPCc +/* 80132D9C 0012FCFC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132DA0 0012FD00 41 82 00 0C */ beq lbl_80132DAC +/* 80132DA4 0012FD04 48 00 9C 7D */ bl __ct__15CBSLoopReactionFv +/* 80132DA8 0012FD08 7C 60 1B 78 */ mr r0, r3 +lbl_80132DAC: +/* 80132DAC 0012FD0C 7C 03 03 78 */ mr r3, r0 +/* 80132DB0 0012FD10 48 00 01 34 */ b lbl_80132EE4 +/* 80132DB4 0012FD14 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132DB8 0012FD18 38 60 00 10 */ li r3, 0x10 +/* 80132DBC 0012FD1C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132DC0 0012FD20 38 A0 00 00 */ li r5, 0 +/* 80132DC4 0012FD24 48 1E 2A A9 */ bl __nw__FUlPCcPCc +/* 80132DC8 0012FD28 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132DCC 0012FD2C 41 82 00 0C */ beq lbl_80132DD8 +/* 80132DD0 0012FD30 48 00 C4 F1 */ bl __ct__12CBSGroundHitFv +/* 80132DD4 0012FD34 7C 60 1B 78 */ mr r0, r3 +lbl_80132DD8: +/* 80132DD8 0012FD38 7C 03 03 78 */ mr r3, r0 +/* 80132DDC 0012FD3C 48 00 01 08 */ b lbl_80132EE4 +/* 80132DE0 0012FD40 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132DE4 0012FD44 38 60 00 04 */ li r3, 4 +/* 80132DE8 0012FD48 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132DEC 0012FD4C 38 A0 00 00 */ li r5, 0 +/* 80132DF0 0012FD50 48 1E 2A 7D */ bl __nw__FUlPCcPCc +/* 80132DF4 0012FD54 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132DF8 0012FD58 41 82 00 0C */ beq lbl_80132E04 +/* 80132DFC 0012FD5C 48 01 3C 95 */ bl __ct__11CBSGenerateFv +/* 80132E00 0012FD60 7C 60 1B 78 */ mr r0, r3 +lbl_80132E04: +/* 80132E04 0012FD64 7C 03 03 78 */ mr r3, r0 +/* 80132E08 0012FD68 48 00 00 DC */ b lbl_80132EE4 +/* 80132E0C 0012FD6C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132E10 0012FD70 38 60 00 34 */ li r3, 0x34 +/* 80132E14 0012FD74 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132E18 0012FD78 38 A0 00 00 */ li r5, 0 +/* 80132E1C 0012FD7C 48 1E 2A 51 */ bl __nw__FUlPCcPCc +/* 80132E20 0012FD80 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132E24 0012FD84 41 82 00 0C */ beq lbl_80132E30 +/* 80132E28 0012FD88 48 01 37 D9 */ bl __ct__7CBSJumpFv +/* 80132E2C 0012FD8C 7C 60 1B 78 */ mr r0, r3 +lbl_80132E30: +/* 80132E30 0012FD90 7C 03 03 78 */ mr r3, r0 +/* 80132E34 0012FD94 48 00 00 B0 */ b lbl_80132EE4 +/* 80132E38 0012FD98 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132E3C 0012FD9C 38 60 00 30 */ li r3, 0x30 +/* 80132E40 0012FDA0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132E44 0012FDA4 38 A0 00 00 */ li r5, 0 +/* 80132E48 0012FDA8 48 1E 2A 25 */ bl __nw__FUlPCcPCc +/* 80132E4C 0012FDAC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132E50 0012FDB0 41 82 00 0C */ beq lbl_80132E5C +/* 80132E54 0012FDB4 48 01 27 4D */ bl __ct__9CBSHurledFv +/* 80132E58 0012FDB8 7C 60 1B 78 */ mr r0, r3 +lbl_80132E5C: +/* 80132E5C 0012FDBC 7C 03 03 78 */ mr r3, r0 +/* 80132E60 0012FDC0 48 00 00 84 */ b lbl_80132EE4 +/* 80132E64 0012FDC4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132E68 0012FDC8 38 60 00 08 */ li r3, 8 +/* 80132E6C 0012FDCC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132E70 0012FDD0 38 A0 00 00 */ li r5, 0 +/* 80132E74 0012FDD4 48 1E 29 F9 */ bl __nw__FUlPCcPCc +/* 80132E78 0012FDD8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132E7C 0012FDDC 41 82 00 0C */ beq lbl_80132E88 +/* 80132E80 0012FDE0 48 01 15 69 */ bl __ct__8CBSSlideFv +/* 80132E84 0012FDE4 7C 60 1B 78 */ mr r0, r3 +lbl_80132E88: +/* 80132E88 0012FDE8 7C 03 03 78 */ mr r3, r0 +/* 80132E8C 0012FDEC 48 00 00 58 */ b lbl_80132EE4 +/* 80132E90 0012FDF0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132E94 0012FDF4 38 60 00 04 */ li r3, 4 +/* 80132E98 0012FDF8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132E9C 0012FDFC 38 A0 00 00 */ li r5, 0 +/* 80132EA0 0012FE00 48 1E 29 CD */ bl __nw__FUlPCcPCc +/* 80132EA4 0012FE04 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132EA8 0012FE08 41 82 00 0C */ beq lbl_80132EB4 +/* 80132EAC 0012FE0C 48 01 67 0D */ bl __ct__8CBSTauntFv +/* 80132EB0 0012FE10 7C 60 1B 78 */ mr r0, r3 +lbl_80132EB4: +/* 80132EB4 0012FE14 7C 03 03 78 */ mr r3, r0 +/* 80132EB8 0012FE18 48 00 00 2C */ b lbl_80132EE4 +/* 80132EBC 0012FE1C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132EC0 0012FE20 38 60 00 0C */ li r3, 0xc +/* 80132EC4 0012FE24 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132EC8 0012FE28 38 A0 00 00 */ li r5, 0 +/* 80132ECC 0012FE2C 48 1E 29 A1 */ bl __nw__FUlPCcPCc +/* 80132ED0 0012FE30 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132ED4 0012FE34 41 82 00 0C */ beq lbl_80132EE0 +/* 80132ED8 0012FE38 48 01 85 09 */ bl __ct__11CBSScriptedFv +/* 80132EDC 0012FE3C 7C 60 1B 78 */ mr r0, r3 +lbl_80132EE0: +/* 80132EE0 0012FE40 7C 03 03 78 */ mr r3, r0 +lbl_80132EE4: +/* 80132EE4 0012FE44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80132EE8 0012FE48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80132EEC 0012FE4C 7C 08 03 A6 */ mtlr r0 +/* 80132EF0 0012FE50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80132EF4 0012FE54 4E 80 00 20 */ blr + +.global SetupPitchableFlyerBodyStates__14CBodyStateInfoFiR6CActor +SetupPitchableFlyerBodyStates__14CBodyStateInfoFiR6CActor: +/* 80132EF8 0012FE58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80132EFC 0012FE5C 7C 08 02 A6 */ mflr r0 +/* 80132F00 0012FE60 28 04 00 12 */ cmplwi r4, 0x12 +/* 80132F04 0012FE64 38 60 00 00 */ li r3, 0 +/* 80132F08 0012FE68 90 01 00 14 */ stw r0, 0x14(r1) +/* 80132F0C 0012FE6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80132F10 0012FE70 7C BF 2B 78 */ mr r31, r5 +/* 80132F14 0012FE74 41 81 03 68 */ bgt lbl_8013327C +/* 80132F18 0012FE78 3C A0 80 3E */ lis r5, lbl_803E11BC@ha +/* 80132F1C 0012FE7C 54 80 10 3A */ slwi r0, r4, 2 +/* 80132F20 0012FE80 38 85 11 BC */ addi r4, r5, lbl_803E11BC@l +/* 80132F24 0012FE84 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80132F28 0012FE88 7C 09 03 A6 */ mtctr r0 +/* 80132F2C 0012FE8C 4E 80 04 20 */ bctr +/* 80132F30 0012FE90 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132F34 0012FE94 38 60 00 10 */ li r3, 0x10 +/* 80132F38 0012FE98 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132F3C 0012FE9C 38 A0 00 00 */ li r5, 0 +/* 80132F40 0012FEA0 48 1E 29 2D */ bl __nw__FUlPCcPCc +/* 80132F44 0012FEA4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132F48 0012FEA8 41 82 00 0C */ beq lbl_80132F54 +/* 80132F4C 0012FEAC 48 00 2F 0D */ bl __ct__7CBSFallFv +/* 80132F50 0012FEB0 7C 60 1B 78 */ mr r0, r3 +lbl_80132F54: +/* 80132F54 0012FEB4 7C 03 03 78 */ mr r3, r0 +/* 80132F58 0012FEB8 48 00 03 24 */ b lbl_8013327C +/* 80132F5C 0012FEBC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132F60 0012FEC0 38 60 00 08 */ li r3, 8 +/* 80132F64 0012FEC4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132F68 0012FEC8 38 A0 00 00 */ li r5, 0 +/* 80132F6C 0012FECC 48 1E 29 01 */ bl __nw__FUlPCcPCc +/* 80132F70 0012FED0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132F74 0012FED4 41 82 00 0C */ beq lbl_80132F80 +/* 80132F78 0012FED8 48 00 32 61 */ bl __ct__8CBSGetupFv +/* 80132F7C 0012FEDC 7C 60 1B 78 */ mr r0, r3 +lbl_80132F80: +/* 80132F80 0012FEE0 7C 03 03 78 */ mr r3, r0 +/* 80132F84 0012FEE4 48 00 02 F8 */ b lbl_8013327C +/* 80132F88 0012FEE8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132F8C 0012FEEC 38 60 00 08 */ li r3, 8 +/* 80132F90 0012FEF0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132F94 0012FEF4 38 A0 00 00 */ li r5, 0 +/* 80132F98 0012FEF8 48 1E 28 D5 */ bl __nw__FUlPCcPCc +/* 80132F9C 0012FEFC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132FA0 0012FF00 41 82 00 10 */ beq lbl_80132FB0 +/* 80132FA4 0012FF04 7F E4 FB 78 */ mr r4, r31 +/* 80132FA8 0012FF08 48 00 3B 35 */ bl __ct__14CBSLieOnGroundFRC6CActor +/* 80132FAC 0012FF0C 7C 60 1B 78 */ mr r0, r3 +lbl_80132FB0: +/* 80132FB0 0012FF10 7C 03 03 78 */ mr r3, r0 +/* 80132FB4 0012FF14 48 00 02 C8 */ b lbl_8013327C +/* 80132FB8 0012FF18 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132FBC 0012FF1C 38 60 00 04 */ li r3, 4 +/* 80132FC0 0012FF20 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132FC4 0012FF24 38 A0 00 00 */ li r5, 0 +/* 80132FC8 0012FF28 48 1E 28 A5 */ bl __nw__FUlPCcPCc +/* 80132FCC 0012FF2C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132FD0 0012FF30 41 82 00 0C */ beq lbl_80132FDC +/* 80132FD4 0012FF34 48 00 61 D5 */ bl __ct__7CBSStepFv +/* 80132FD8 0012FF38 7C 60 1B 78 */ mr r0, r3 +lbl_80132FDC: +/* 80132FDC 0012FF3C 7C 03 03 78 */ mr r3, r0 +/* 80132FE0 0012FF40 48 00 02 9C */ b lbl_8013327C +/* 80132FE4 0012FF44 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80132FE8 0012FF48 38 60 00 0C */ li r3, 0xc +/* 80132FEC 0012FF4C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80132FF0 0012FF50 38 A0 00 00 */ li r5, 0 +/* 80132FF4 0012FF54 48 1E 28 79 */ bl __nw__FUlPCcPCc +/* 80132FF8 0012FF58 7C 60 1B 79 */ or. r0, r3, r3 +/* 80132FFC 0012FF5C 41 82 00 0C */ beq lbl_80133008 +/* 80133000 0012FF60 48 00 29 0D */ bl __ct__6CBSDieFv +/* 80133004 0012FF64 7C 60 1B 78 */ mr r0, r3 +lbl_80133008: +/* 80133008 0012FF68 7C 03 03 78 */ mr r3, r0 +/* 8013300C 0012FF6C 48 00 02 70 */ b lbl_8013327C +/* 80133010 0012FF70 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133014 0012FF74 38 60 03 D0 */ li r3, 0x3d0 +/* 80133018 0012FF78 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013301C 0012FF7C 38 A0 00 00 */ li r5, 0 +/* 80133020 0012FF80 48 1E 28 4D */ bl __nw__FUlPCcPCc +/* 80133024 0012FF84 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133028 0012FF88 41 82 00 14 */ beq lbl_8013303C +/* 8013302C 0012FF8C 7F E4 FB 78 */ mr r4, r31 +/* 80133030 0012FF90 38 A0 00 01 */ li r5, 1 +/* 80133034 0012FF94 48 00 44 C5 */ bl __ct__18CBSFlyerLocomotionFR6CActorb +/* 80133038 0012FF98 7C 60 1B 78 */ mr r0, r3 +lbl_8013303C: +/* 8013303C 0012FF9C 7C 03 03 78 */ mr r3, r0 +/* 80133040 0012FFA0 48 00 02 3C */ b lbl_8013327C +/* 80133044 0012FFA4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133048 0012FFA8 38 60 00 10 */ li r3, 0x10 +/* 8013304C 0012FFAC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133050 0012FFB0 38 A0 00 00 */ li r5, 0 +/* 80133054 0012FFB4 48 1E 28 19 */ bl __nw__FUlPCcPCc +/* 80133058 0012FFB8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013305C 0012FFBC 41 82 00 0C */ beq lbl_80133068 +/* 80133060 0012FFC0 48 00 37 41 */ bl __ct__12CBSKnockBackFv +/* 80133064 0012FFC4 7C 60 1B 78 */ mr r0, r3 +lbl_80133068: +/* 80133068 0012FFC8 7C 03 03 78 */ mr r3, r0 +/* 8013306C 0012FFCC 48 00 02 10 */ b lbl_8013327C +/* 80133070 0012FFD0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133074 0012FFD4 38 60 00 38 */ li r3, 0x38 +/* 80133078 0012FFD8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013307C 0012FFDC 38 A0 00 00 */ li r5, 0 +/* 80133080 0012FFE0 48 1E 27 ED */ bl __nw__FUlPCcPCc +/* 80133084 0012FFE4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133088 0012FFE8 41 82 00 0C */ beq lbl_80133094 +/* 8013308C 0012FFEC 48 00 25 0D */ bl __ct__9CBSAttackFv +/* 80133090 0012FFF0 7C 60 1B 78 */ mr r0, r3 +lbl_80133094: +/* 80133094 0012FFF4 7C 03 03 78 */ mr r3, r0 +/* 80133098 0012FFF8 48 00 01 E4 */ b lbl_8013327C +/* 8013309C 0012FFFC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801330A0 00130000 38 60 00 04 */ li r3, 4 +/* 801330A4 00130004 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801330A8 00130008 38 A0 00 00 */ li r5, 0 +/* 801330AC 0013000C 48 1E 27 C1 */ bl __nw__FUlPCcPCc +/* 801330B0 00130010 7C 60 1B 79 */ or. r0, r3, r3 +/* 801330B4 00130014 41 82 00 0C */ beq lbl_801330C0 +/* 801330B8 00130018 48 01 A8 75 */ bl __ct__19CBSProjectileAttackFv +/* 801330BC 0013001C 7C 60 1B 78 */ mr r0, r3 +lbl_801330C0: +/* 801330C0 00130020 7C 03 03 78 */ mr r3, r0 +/* 801330C4 00130024 48 00 01 B8 */ b lbl_8013327C +/* 801330C8 00130028 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801330CC 0013002C 38 60 00 10 */ li r3, 0x10 +/* 801330D0 00130030 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801330D4 00130034 38 A0 00 00 */ li r5, 0 +/* 801330D8 00130038 48 1E 27 95 */ bl __nw__FUlPCcPCc +/* 801330DC 0013003C 7C 60 1B 79 */ or. r0, r3, r3 +/* 801330E0 00130040 41 82 00 0C */ beq lbl_801330EC +/* 801330E4 00130044 48 00 87 55 */ bl __ct__13CBSLoopAttackFv +/* 801330E8 00130048 7C 60 1B 78 */ mr r0, r3 +lbl_801330EC: +/* 801330EC 0013004C 7C 03 03 78 */ mr r3, r0 +/* 801330F0 00130050 48 00 01 8C */ b lbl_8013327C +/* 801330F4 00130054 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801330F8 00130058 38 60 00 14 */ li r3, 0x14 +/* 801330FC 0013005C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133100 00130060 38 A0 00 00 */ li r5, 0 +/* 80133104 00130064 48 1E 27 69 */ bl __nw__FUlPCcPCc +/* 80133108 00130068 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013310C 0013006C 41 82 00 0C */ beq lbl_80133118 +/* 80133110 00130070 48 00 65 15 */ bl __ct__12CBSFlyerTurnFv +/* 80133114 00130074 7C 60 1B 78 */ mr r0, r3 +lbl_80133118: +/* 80133118 00130078 7C 03 03 78 */ mr r3, r0 +/* 8013311C 0013007C 48 00 01 60 */ b lbl_8013327C +/* 80133120 00130080 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133124 00130084 38 60 00 10 */ li r3, 0x10 +/* 80133128 00130088 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013312C 0013008C 38 A0 00 00 */ li r5, 0 +/* 80133130 00130090 48 1E 27 3D */ bl __nw__FUlPCcPCc +/* 80133134 00130094 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133138 00130098 41 82 00 0C */ beq lbl_80133144 +/* 8013313C 0013009C 48 00 98 E5 */ bl __ct__15CBSLoopReactionFv +/* 80133140 001300A0 7C 60 1B 78 */ mr r0, r3 +lbl_80133144: +/* 80133144 001300A4 7C 03 03 78 */ mr r3, r0 +/* 80133148 001300A8 48 00 01 34 */ b lbl_8013327C +/* 8013314C 001300AC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133150 001300B0 38 60 00 10 */ li r3, 0x10 +/* 80133154 001300B4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133158 001300B8 38 A0 00 00 */ li r5, 0 +/* 8013315C 001300BC 48 1E 27 11 */ bl __nw__FUlPCcPCc +/* 80133160 001300C0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133164 001300C4 41 82 00 0C */ beq lbl_80133170 +/* 80133168 001300C8 48 00 C1 59 */ bl __ct__12CBSGroundHitFv +/* 8013316C 001300CC 7C 60 1B 78 */ mr r0, r3 +lbl_80133170: +/* 80133170 001300D0 7C 03 03 78 */ mr r3, r0 +/* 80133174 001300D4 48 00 01 08 */ b lbl_8013327C +/* 80133178 001300D8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013317C 001300DC 38 60 00 04 */ li r3, 4 +/* 80133180 001300E0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133184 001300E4 38 A0 00 00 */ li r5, 0 +/* 80133188 001300E8 48 1E 26 E5 */ bl __nw__FUlPCcPCc +/* 8013318C 001300EC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133190 001300F0 41 82 00 0C */ beq lbl_8013319C +/* 80133194 001300F4 48 01 38 FD */ bl __ct__11CBSGenerateFv +/* 80133198 001300F8 7C 60 1B 78 */ mr r0, r3 +lbl_8013319C: +/* 8013319C 001300FC 7C 03 03 78 */ mr r3, r0 +/* 801331A0 00130100 48 00 00 DC */ b lbl_8013327C +/* 801331A4 00130104 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801331A8 00130108 38 60 00 34 */ li r3, 0x34 +/* 801331AC 0013010C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801331B0 00130110 38 A0 00 00 */ li r5, 0 +/* 801331B4 00130114 48 1E 26 B9 */ bl __nw__FUlPCcPCc +/* 801331B8 00130118 7C 60 1B 79 */ or. r0, r3, r3 +/* 801331BC 0013011C 41 82 00 0C */ beq lbl_801331C8 +/* 801331C0 00130120 48 01 34 41 */ bl __ct__7CBSJumpFv +/* 801331C4 00130124 7C 60 1B 78 */ mr r0, r3 +lbl_801331C8: +/* 801331C8 00130128 7C 03 03 78 */ mr r3, r0 +/* 801331CC 0013012C 48 00 00 B0 */ b lbl_8013327C +/* 801331D0 00130130 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801331D4 00130134 38 60 00 30 */ li r3, 0x30 +/* 801331D8 00130138 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801331DC 0013013C 38 A0 00 00 */ li r5, 0 +/* 801331E0 00130140 48 1E 26 8D */ bl __nw__FUlPCcPCc +/* 801331E4 00130144 7C 60 1B 79 */ or. r0, r3, r3 +/* 801331E8 00130148 41 82 00 0C */ beq lbl_801331F4 +/* 801331EC 0013014C 48 01 23 B5 */ bl __ct__9CBSHurledFv +/* 801331F0 00130150 7C 60 1B 78 */ mr r0, r3 +lbl_801331F4: +/* 801331F4 00130154 7C 03 03 78 */ mr r3, r0 +/* 801331F8 00130158 48 00 00 84 */ b lbl_8013327C +/* 801331FC 0013015C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133200 00130160 38 60 00 08 */ li r3, 8 +/* 80133204 00130164 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133208 00130168 38 A0 00 00 */ li r5, 0 +/* 8013320C 0013016C 48 1E 26 61 */ bl __nw__FUlPCcPCc +/* 80133210 00130170 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133214 00130174 41 82 00 0C */ beq lbl_80133220 +/* 80133218 00130178 48 01 11 D1 */ bl __ct__8CBSSlideFv +/* 8013321C 0013017C 7C 60 1B 78 */ mr r0, r3 +lbl_80133220: +/* 80133220 00130180 7C 03 03 78 */ mr r3, r0 +/* 80133224 00130184 48 00 00 58 */ b lbl_8013327C +/* 80133228 00130188 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013322C 0013018C 38 60 00 04 */ li r3, 4 +/* 80133230 00130190 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133234 00130194 38 A0 00 00 */ li r5, 0 +/* 80133238 00130198 48 1E 26 35 */ bl __nw__FUlPCcPCc +/* 8013323C 0013019C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133240 001301A0 41 82 00 0C */ beq lbl_8013324C +/* 80133244 001301A4 48 01 63 75 */ bl __ct__8CBSTauntFv +/* 80133248 001301A8 7C 60 1B 78 */ mr r0, r3 +lbl_8013324C: +/* 8013324C 001301AC 7C 03 03 78 */ mr r3, r0 +/* 80133250 001301B0 48 00 00 2C */ b lbl_8013327C +/* 80133254 001301B4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133258 001301B8 38 60 00 0C */ li r3, 0xc +/* 8013325C 001301BC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133260 001301C0 38 A0 00 00 */ li r5, 0 +/* 80133264 001301C4 48 1E 26 09 */ bl __nw__FUlPCcPCc +/* 80133268 001301C8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013326C 001301CC 41 82 00 0C */ beq lbl_80133278 +/* 80133270 001301D0 48 01 81 71 */ bl __ct__11CBSScriptedFv +/* 80133274 001301D4 7C 60 1B 78 */ mr r0, r3 +lbl_80133278: +/* 80133278 001301D8 7C 03 03 78 */ mr r3, r0 +lbl_8013327C: +/* 8013327C 001301DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80133280 001301E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80133284 001301E4 7C 08 03 A6 */ mtlr r0 +/* 80133288 001301E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013328C 001301EC 4E 80 00 20 */ blr + +.global SetupFlyerBodyStates__14CBodyStateInfoFiR6CActor +SetupFlyerBodyStates__14CBodyStateInfoFiR6CActor: +/* 80133290 001301F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80133294 001301F4 7C 08 02 A6 */ mflr r0 +/* 80133298 001301F8 28 04 00 12 */ cmplwi r4, 0x12 +/* 8013329C 001301FC 38 60 00 00 */ li r3, 0 +/* 801332A0 00130200 90 01 00 14 */ stw r0, 0x14(r1) +/* 801332A4 00130204 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801332A8 00130208 7C BF 2B 78 */ mr r31, r5 +/* 801332AC 0013020C 41 81 03 68 */ bgt lbl_80133614 +/* 801332B0 00130210 3C A0 80 3E */ lis r5, lbl_803E1208@ha +/* 801332B4 00130214 54 80 10 3A */ slwi r0, r4, 2 +/* 801332B8 00130218 38 85 12 08 */ addi r4, r5, lbl_803E1208@l +/* 801332BC 0013021C 7C 04 00 2E */ lwzx r0, r4, r0 +/* 801332C0 00130220 7C 09 03 A6 */ mtctr r0 +/* 801332C4 00130224 4E 80 04 20 */ bctr +/* 801332C8 00130228 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801332CC 0013022C 38 60 00 10 */ li r3, 0x10 +/* 801332D0 00130230 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801332D4 00130234 38 A0 00 00 */ li r5, 0 +/* 801332D8 00130238 48 1E 25 95 */ bl __nw__FUlPCcPCc +/* 801332DC 0013023C 7C 60 1B 79 */ or. r0, r3, r3 +/* 801332E0 00130240 41 82 00 0C */ beq lbl_801332EC +/* 801332E4 00130244 48 00 2B 75 */ bl __ct__7CBSFallFv +/* 801332E8 00130248 7C 60 1B 78 */ mr r0, r3 +lbl_801332EC: +/* 801332EC 0013024C 7C 03 03 78 */ mr r3, r0 +/* 801332F0 00130250 48 00 03 24 */ b lbl_80133614 +/* 801332F4 00130254 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801332F8 00130258 38 60 00 08 */ li r3, 8 +/* 801332FC 0013025C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133300 00130260 38 A0 00 00 */ li r5, 0 +/* 80133304 00130264 48 1E 25 69 */ bl __nw__FUlPCcPCc +/* 80133308 00130268 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013330C 0013026C 41 82 00 0C */ beq lbl_80133318 +/* 80133310 00130270 48 00 2E C9 */ bl __ct__8CBSGetupFv +/* 80133314 00130274 7C 60 1B 78 */ mr r0, r3 +lbl_80133318: +/* 80133318 00130278 7C 03 03 78 */ mr r3, r0 +/* 8013331C 0013027C 48 00 02 F8 */ b lbl_80133614 +/* 80133320 00130280 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133324 00130284 38 60 00 08 */ li r3, 8 +/* 80133328 00130288 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013332C 0013028C 38 A0 00 00 */ li r5, 0 +/* 80133330 00130290 48 1E 25 3D */ bl __nw__FUlPCcPCc +/* 80133334 00130294 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133338 00130298 41 82 00 10 */ beq lbl_80133348 +/* 8013333C 0013029C 7F E4 FB 78 */ mr r4, r31 +/* 80133340 001302A0 48 00 37 9D */ bl __ct__14CBSLieOnGroundFRC6CActor +/* 80133344 001302A4 7C 60 1B 78 */ mr r0, r3 +lbl_80133348: +/* 80133348 001302A8 7C 03 03 78 */ mr r3, r0 +/* 8013334C 001302AC 48 00 02 C8 */ b lbl_80133614 +/* 80133350 001302B0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133354 001302B4 38 60 00 04 */ li r3, 4 +/* 80133358 001302B8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013335C 001302BC 38 A0 00 00 */ li r5, 0 +/* 80133360 001302C0 48 1E 25 0D */ bl __nw__FUlPCcPCc +/* 80133364 001302C4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133368 001302C8 41 82 00 0C */ beq lbl_80133374 +/* 8013336C 001302CC 48 00 5E 3D */ bl __ct__7CBSStepFv +/* 80133370 001302D0 7C 60 1B 78 */ mr r0, r3 +lbl_80133374: +/* 80133374 001302D4 7C 03 03 78 */ mr r3, r0 +/* 80133378 001302D8 48 00 02 9C */ b lbl_80133614 +/* 8013337C 001302DC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133380 001302E0 38 60 00 0C */ li r3, 0xc +/* 80133384 001302E4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133388 001302E8 38 A0 00 00 */ li r5, 0 +/* 8013338C 001302EC 48 1E 24 E1 */ bl __nw__FUlPCcPCc +/* 80133390 001302F0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133394 001302F4 41 82 00 0C */ beq lbl_801333A0 +/* 80133398 001302F8 48 00 25 75 */ bl __ct__6CBSDieFv +/* 8013339C 001302FC 7C 60 1B 78 */ mr r0, r3 +lbl_801333A0: +/* 801333A0 00130300 7C 03 03 78 */ mr r3, r0 +/* 801333A4 00130304 48 00 02 70 */ b lbl_80133614 +/* 801333A8 00130308 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801333AC 0013030C 38 60 03 D0 */ li r3, 0x3d0 +/* 801333B0 00130310 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801333B4 00130314 38 A0 00 00 */ li r5, 0 +/* 801333B8 00130318 48 1E 24 B5 */ bl __nw__FUlPCcPCc +/* 801333BC 0013031C 7C 60 1B 79 */ or. r0, r3, r3 +/* 801333C0 00130320 41 82 00 14 */ beq lbl_801333D4 +/* 801333C4 00130324 7F E4 FB 78 */ mr r4, r31 +/* 801333C8 00130328 38 A0 00 00 */ li r5, 0 +/* 801333CC 0013032C 48 00 41 2D */ bl __ct__18CBSFlyerLocomotionFR6CActorb +/* 801333D0 00130330 7C 60 1B 78 */ mr r0, r3 +lbl_801333D4: +/* 801333D4 00130334 7C 03 03 78 */ mr r3, r0 +/* 801333D8 00130338 48 00 02 3C */ b lbl_80133614 +/* 801333DC 0013033C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801333E0 00130340 38 60 00 10 */ li r3, 0x10 +/* 801333E4 00130344 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801333E8 00130348 38 A0 00 00 */ li r5, 0 +/* 801333EC 0013034C 48 1E 24 81 */ bl __nw__FUlPCcPCc +/* 801333F0 00130350 7C 60 1B 79 */ or. r0, r3, r3 +/* 801333F4 00130354 41 82 00 0C */ beq lbl_80133400 +/* 801333F8 00130358 48 00 33 A9 */ bl __ct__12CBSKnockBackFv +/* 801333FC 0013035C 7C 60 1B 78 */ mr r0, r3 +lbl_80133400: +/* 80133400 00130360 7C 03 03 78 */ mr r3, r0 +/* 80133404 00130364 48 00 02 10 */ b lbl_80133614 +/* 80133408 00130368 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013340C 0013036C 38 60 00 38 */ li r3, 0x38 +/* 80133410 00130370 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133414 00130374 38 A0 00 00 */ li r5, 0 +/* 80133418 00130378 48 1E 24 55 */ bl __nw__FUlPCcPCc +/* 8013341C 0013037C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133420 00130380 41 82 00 0C */ beq lbl_8013342C +/* 80133424 00130384 48 00 21 75 */ bl __ct__9CBSAttackFv +/* 80133428 00130388 7C 60 1B 78 */ mr r0, r3 +lbl_8013342C: +/* 8013342C 0013038C 7C 03 03 78 */ mr r3, r0 +/* 80133430 00130390 48 00 01 E4 */ b lbl_80133614 +/* 80133434 00130394 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133438 00130398 38 60 00 04 */ li r3, 4 +/* 8013343C 0013039C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133440 001303A0 38 A0 00 00 */ li r5, 0 +/* 80133444 001303A4 48 1E 24 29 */ bl __nw__FUlPCcPCc +/* 80133448 001303A8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013344C 001303AC 41 82 00 0C */ beq lbl_80133458 +/* 80133450 001303B0 48 01 A4 DD */ bl __ct__19CBSProjectileAttackFv +/* 80133454 001303B4 7C 60 1B 78 */ mr r0, r3 +lbl_80133458: +/* 80133458 001303B8 7C 03 03 78 */ mr r3, r0 +/* 8013345C 001303BC 48 00 01 B8 */ b lbl_80133614 +/* 80133460 001303C0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133464 001303C4 38 60 00 10 */ li r3, 0x10 +/* 80133468 001303C8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013346C 001303CC 38 A0 00 00 */ li r5, 0 +/* 80133470 001303D0 48 1E 23 FD */ bl __nw__FUlPCcPCc +/* 80133474 001303D4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133478 001303D8 41 82 00 0C */ beq lbl_80133484 +/* 8013347C 001303DC 48 00 83 BD */ bl __ct__13CBSLoopAttackFv +/* 80133480 001303E0 7C 60 1B 78 */ mr r0, r3 +lbl_80133484: +/* 80133484 001303E4 7C 03 03 78 */ mr r3, r0 +/* 80133488 001303E8 48 00 01 8C */ b lbl_80133614 +/* 8013348C 001303EC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133490 001303F0 38 60 00 14 */ li r3, 0x14 +/* 80133494 001303F4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133498 001303F8 38 A0 00 00 */ li r5, 0 +/* 8013349C 001303FC 48 1E 23 D1 */ bl __nw__FUlPCcPCc +/* 801334A0 00130400 7C 60 1B 79 */ or. r0, r3, r3 +/* 801334A4 00130404 41 82 00 0C */ beq lbl_801334B0 +/* 801334A8 00130408 48 00 61 7D */ bl __ct__12CBSFlyerTurnFv +/* 801334AC 0013040C 7C 60 1B 78 */ mr r0, r3 +lbl_801334B0: +/* 801334B0 00130410 7C 03 03 78 */ mr r3, r0 +/* 801334B4 00130414 48 00 01 60 */ b lbl_80133614 +/* 801334B8 00130418 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801334BC 0013041C 38 60 00 10 */ li r3, 0x10 +/* 801334C0 00130420 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801334C4 00130424 38 A0 00 00 */ li r5, 0 +/* 801334C8 00130428 48 1E 23 A5 */ bl __nw__FUlPCcPCc +/* 801334CC 0013042C 7C 60 1B 79 */ or. r0, r3, r3 +/* 801334D0 00130430 41 82 00 0C */ beq lbl_801334DC +/* 801334D4 00130434 48 00 95 4D */ bl __ct__15CBSLoopReactionFv +/* 801334D8 00130438 7C 60 1B 78 */ mr r0, r3 +lbl_801334DC: +/* 801334DC 0013043C 7C 03 03 78 */ mr r3, r0 +/* 801334E0 00130440 48 00 01 34 */ b lbl_80133614 +/* 801334E4 00130444 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801334E8 00130448 38 60 00 10 */ li r3, 0x10 +/* 801334EC 0013044C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801334F0 00130450 38 A0 00 00 */ li r5, 0 +/* 801334F4 00130454 48 1E 23 79 */ bl __nw__FUlPCcPCc +/* 801334F8 00130458 7C 60 1B 79 */ or. r0, r3, r3 +/* 801334FC 0013045C 41 82 00 0C */ beq lbl_80133508 +/* 80133500 00130460 48 00 BD C1 */ bl __ct__12CBSGroundHitFv +/* 80133504 00130464 7C 60 1B 78 */ mr r0, r3 +lbl_80133508: +/* 80133508 00130468 7C 03 03 78 */ mr r3, r0 +/* 8013350C 0013046C 48 00 01 08 */ b lbl_80133614 +/* 80133510 00130470 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133514 00130474 38 60 00 04 */ li r3, 4 +/* 80133518 00130478 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013351C 0013047C 38 A0 00 00 */ li r5, 0 +/* 80133520 00130480 48 1E 23 4D */ bl __nw__FUlPCcPCc +/* 80133524 00130484 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133528 00130488 41 82 00 0C */ beq lbl_80133534 +/* 8013352C 0013048C 48 01 35 65 */ bl __ct__11CBSGenerateFv +/* 80133530 00130490 7C 60 1B 78 */ mr r0, r3 +lbl_80133534: +/* 80133534 00130494 7C 03 03 78 */ mr r3, r0 +/* 80133538 00130498 48 00 00 DC */ b lbl_80133614 +/* 8013353C 0013049C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133540 001304A0 38 60 00 34 */ li r3, 0x34 +/* 80133544 001304A4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133548 001304A8 38 A0 00 00 */ li r5, 0 +/* 8013354C 001304AC 48 1E 23 21 */ bl __nw__FUlPCcPCc +/* 80133550 001304B0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133554 001304B4 41 82 00 0C */ beq lbl_80133560 +/* 80133558 001304B8 48 01 30 A9 */ bl __ct__7CBSJumpFv +/* 8013355C 001304BC 7C 60 1B 78 */ mr r0, r3 +lbl_80133560: +/* 80133560 001304C0 7C 03 03 78 */ mr r3, r0 +/* 80133564 001304C4 48 00 00 B0 */ b lbl_80133614 +/* 80133568 001304C8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013356C 001304CC 38 60 00 30 */ li r3, 0x30 +/* 80133570 001304D0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133574 001304D4 38 A0 00 00 */ li r5, 0 +/* 80133578 001304D8 48 1E 22 F5 */ bl __nw__FUlPCcPCc +/* 8013357C 001304DC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133580 001304E0 41 82 00 0C */ beq lbl_8013358C +/* 80133584 001304E4 48 01 20 1D */ bl __ct__9CBSHurledFv +/* 80133588 001304E8 7C 60 1B 78 */ mr r0, r3 +lbl_8013358C: +/* 8013358C 001304EC 7C 03 03 78 */ mr r3, r0 +/* 80133590 001304F0 48 00 00 84 */ b lbl_80133614 +/* 80133594 001304F4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133598 001304F8 38 60 00 08 */ li r3, 8 +/* 8013359C 001304FC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801335A0 00130500 38 A0 00 00 */ li r5, 0 +/* 801335A4 00130504 48 1E 22 C9 */ bl __nw__FUlPCcPCc +/* 801335A8 00130508 7C 60 1B 79 */ or. r0, r3, r3 +/* 801335AC 0013050C 41 82 00 0C */ beq lbl_801335B8 +/* 801335B0 00130510 48 01 0E 39 */ bl __ct__8CBSSlideFv +/* 801335B4 00130514 7C 60 1B 78 */ mr r0, r3 +lbl_801335B8: +/* 801335B8 00130518 7C 03 03 78 */ mr r3, r0 +/* 801335BC 0013051C 48 00 00 58 */ b lbl_80133614 +/* 801335C0 00130520 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801335C4 00130524 38 60 00 04 */ li r3, 4 +/* 801335C8 00130528 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801335CC 0013052C 38 A0 00 00 */ li r5, 0 +/* 801335D0 00130530 48 1E 22 9D */ bl __nw__FUlPCcPCc +/* 801335D4 00130534 7C 60 1B 79 */ or. r0, r3, r3 +/* 801335D8 00130538 41 82 00 0C */ beq lbl_801335E4 +/* 801335DC 0013053C 48 01 5F DD */ bl __ct__8CBSTauntFv +/* 801335E0 00130540 7C 60 1B 78 */ mr r0, r3 +lbl_801335E4: +/* 801335E4 00130544 7C 03 03 78 */ mr r3, r0 +/* 801335E8 00130548 48 00 00 2C */ b lbl_80133614 +/* 801335EC 0013054C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801335F0 00130550 38 60 00 0C */ li r3, 0xc +/* 801335F4 00130554 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801335F8 00130558 38 A0 00 00 */ li r5, 0 +/* 801335FC 0013055C 48 1E 22 71 */ bl __nw__FUlPCcPCc +/* 80133600 00130560 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133604 00130564 41 82 00 0C */ beq lbl_80133610 +/* 80133608 00130568 48 01 7D D9 */ bl __ct__11CBSScriptedFv +/* 8013360C 0013056C 7C 60 1B 78 */ mr r0, r3 +lbl_80133610: +/* 80133610 00130570 7C 03 03 78 */ mr r3, r0 +lbl_80133614: +/* 80133614 00130574 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80133618 00130578 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013361C 0013057C 7C 08 03 A6 */ mtlr r0 +/* 80133620 00130580 38 21 00 10 */ addi r1, r1, 0x10 +/* 80133624 00130584 4E 80 00 20 */ blr + +.global SetupRestrictedBodyStates__14CBodyStateInfoFiR6CActor +SetupRestrictedBodyStates__14CBodyStateInfoFiR6CActor: +/* 80133628 00130588 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013362C 0013058C 7C 08 02 A6 */ mflr r0 +/* 80133630 00130590 28 04 00 13 */ cmplwi r4, 0x13 +/* 80133634 00130594 38 60 00 00 */ li r3, 0 +/* 80133638 00130598 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013363C 0013059C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80133640 001305A0 7C BF 2B 78 */ mr r31, r5 +/* 80133644 001305A4 41 81 03 90 */ bgt lbl_801339D4 +/* 80133648 001305A8 3C A0 80 3E */ lis r5, lbl_803E1254@ha +/* 8013364C 001305AC 54 80 10 3A */ slwi r0, r4, 2 +/* 80133650 001305B0 38 85 12 54 */ addi r4, r5, lbl_803E1254@l +/* 80133654 001305B4 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80133658 001305B8 7C 09 03 A6 */ mtctr r0 +/* 8013365C 001305BC 4E 80 04 20 */ bctr +/* 80133660 001305C0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133664 001305C4 38 60 00 10 */ li r3, 0x10 +/* 80133668 001305C8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013366C 001305CC 38 A0 00 00 */ li r5, 0 +/* 80133670 001305D0 48 1E 21 FD */ bl __nw__FUlPCcPCc +/* 80133674 001305D4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133678 001305D8 41 82 00 0C */ beq lbl_80133684 +/* 8013367C 001305DC 48 00 27 DD */ bl __ct__7CBSFallFv +/* 80133680 001305E0 7C 60 1B 78 */ mr r0, r3 +lbl_80133684: +/* 80133684 001305E4 7C 03 03 78 */ mr r3, r0 +/* 80133688 001305E8 48 00 03 4C */ b lbl_801339D4 +/* 8013368C 001305EC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133690 001305F0 38 60 00 08 */ li r3, 8 +/* 80133694 001305F4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133698 001305F8 38 A0 00 00 */ li r5, 0 +/* 8013369C 001305FC 48 1E 21 D1 */ bl __nw__FUlPCcPCc +/* 801336A0 00130600 7C 60 1B 79 */ or. r0, r3, r3 +/* 801336A4 00130604 41 82 00 0C */ beq lbl_801336B0 +/* 801336A8 00130608 48 00 2B 31 */ bl __ct__8CBSGetupFv +/* 801336AC 0013060C 7C 60 1B 78 */ mr r0, r3 +lbl_801336B0: +/* 801336B0 00130610 7C 03 03 78 */ mr r3, r0 +/* 801336B4 00130614 48 00 03 20 */ b lbl_801339D4 +/* 801336B8 00130618 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801336BC 0013061C 38 60 00 08 */ li r3, 8 +/* 801336C0 00130620 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801336C4 00130624 38 A0 00 00 */ li r5, 0 +/* 801336C8 00130628 48 1E 21 A5 */ bl __nw__FUlPCcPCc +/* 801336CC 0013062C 7C 60 1B 79 */ or. r0, r3, r3 +/* 801336D0 00130630 41 82 00 10 */ beq lbl_801336E0 +/* 801336D4 00130634 7F E4 FB 78 */ mr r4, r31 +/* 801336D8 00130638 48 00 34 05 */ bl __ct__14CBSLieOnGroundFRC6CActor +/* 801336DC 0013063C 7C 60 1B 78 */ mr r0, r3 +lbl_801336E0: +/* 801336E0 00130640 7C 03 03 78 */ mr r3, r0 +/* 801336E4 00130644 48 00 02 F0 */ b lbl_801339D4 +/* 801336E8 00130648 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801336EC 0013064C 38 60 00 04 */ li r3, 4 +/* 801336F0 00130650 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801336F4 00130654 38 A0 00 00 */ li r5, 0 +/* 801336F8 00130658 48 1E 21 75 */ bl __nw__FUlPCcPCc +/* 801336FC 0013065C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133700 00130660 41 82 00 0C */ beq lbl_8013370C +/* 80133704 00130664 48 00 5A A5 */ bl __ct__7CBSStepFv +/* 80133708 00130668 7C 60 1B 78 */ mr r0, r3 +lbl_8013370C: +/* 8013370C 0013066C 7C 03 03 78 */ mr r3, r0 +/* 80133710 00130670 48 00 02 C4 */ b lbl_801339D4 +/* 80133714 00130674 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133718 00130678 38 60 00 0C */ li r3, 0xc +/* 8013371C 0013067C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133720 00130680 38 A0 00 00 */ li r5, 0 +/* 80133724 00130684 48 1E 21 49 */ bl __nw__FUlPCcPCc +/* 80133728 00130688 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013372C 0013068C 41 82 00 0C */ beq lbl_80133738 +/* 80133730 00130690 48 00 21 DD */ bl __ct__6CBSDieFv +/* 80133734 00130694 7C 60 1B 78 */ mr r0, r3 +lbl_80133738: +/* 80133738 00130698 7C 03 03 78 */ mr r3, r0 +/* 8013373C 0013069C 48 00 02 98 */ b lbl_801339D4 +/* 80133740 001306A0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133744 001306A4 38 60 00 48 */ li r3, 0x48 +/* 80133748 001306A8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013374C 001306AC 38 A0 00 00 */ li r5, 0 +/* 80133750 001306B0 48 1E 21 1D */ bl __nw__FUlPCcPCc +/* 80133754 001306B4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133758 001306B8 41 82 00 10 */ beq lbl_80133768 +/* 8013375C 001306BC 7F E4 FB 78 */ mr r4, r31 +/* 80133760 001306C0 48 00 3E 9D */ bl __ct__23CBSRestrictedLocomotionFR6CActor +/* 80133764 001306C4 7C 60 1B 78 */ mr r0, r3 +lbl_80133768: +/* 80133768 001306C8 7C 03 03 78 */ mr r3, r0 +/* 8013376C 001306CC 48 00 02 68 */ b lbl_801339D4 +/* 80133770 001306D0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133774 001306D4 38 60 00 10 */ li r3, 0x10 +/* 80133778 001306D8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013377C 001306DC 38 A0 00 00 */ li r5, 0 +/* 80133780 001306E0 48 1E 20 ED */ bl __nw__FUlPCcPCc +/* 80133784 001306E4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133788 001306E8 41 82 00 0C */ beq lbl_80133794 +/* 8013378C 001306EC 48 00 30 15 */ bl __ct__12CBSKnockBackFv +/* 80133790 001306F0 7C 60 1B 78 */ mr r0, r3 +lbl_80133794: +/* 80133794 001306F4 7C 03 03 78 */ mr r3, r0 +/* 80133798 001306F8 48 00 02 3C */ b lbl_801339D4 +/* 8013379C 001306FC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801337A0 00130700 38 60 00 38 */ li r3, 0x38 +/* 801337A4 00130704 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801337A8 00130708 38 A0 00 00 */ li r5, 0 +/* 801337AC 0013070C 48 1E 20 C1 */ bl __nw__FUlPCcPCc +/* 801337B0 00130710 7C 60 1B 79 */ or. r0, r3, r3 +/* 801337B4 00130714 41 82 00 0C */ beq lbl_801337C0 +/* 801337B8 00130718 48 00 1D E1 */ bl __ct__9CBSAttackFv +/* 801337BC 0013071C 7C 60 1B 78 */ mr r0, r3 +lbl_801337C0: +/* 801337C0 00130720 7C 03 03 78 */ mr r3, r0 +/* 801337C4 00130724 48 00 02 10 */ b lbl_801339D4 +/* 801337C8 00130728 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801337CC 0013072C 38 60 00 04 */ li r3, 4 +/* 801337D0 00130730 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801337D4 00130734 38 A0 00 00 */ li r5, 0 +/* 801337D8 00130738 48 1E 20 95 */ bl __nw__FUlPCcPCc +/* 801337DC 0013073C 7C 60 1B 79 */ or. r0, r3, r3 +/* 801337E0 00130740 41 82 00 0C */ beq lbl_801337EC +/* 801337E4 00130744 48 01 A1 49 */ bl __ct__19CBSProjectileAttackFv +/* 801337E8 00130748 7C 60 1B 78 */ mr r0, r3 +lbl_801337EC: +/* 801337EC 0013074C 7C 03 03 78 */ mr r3, r0 +/* 801337F0 00130750 48 00 01 E4 */ b lbl_801339D4 +/* 801337F4 00130754 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801337F8 00130758 38 60 00 10 */ li r3, 0x10 +/* 801337FC 0013075C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133800 00130760 38 A0 00 00 */ li r5, 0 +/* 80133804 00130764 48 1E 20 69 */ bl __nw__FUlPCcPCc +/* 80133808 00130768 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013380C 0013076C 41 82 00 0C */ beq lbl_80133818 +/* 80133810 00130770 48 00 80 29 */ bl __ct__13CBSLoopAttackFv +/* 80133814 00130774 7C 60 1B 78 */ mr r0, r3 +lbl_80133818: +/* 80133818 00130778 7C 03 03 78 */ mr r3, r0 +/* 8013381C 0013077C 48 00 01 B8 */ b lbl_801339D4 +/* 80133820 00130780 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133824 00130784 38 60 00 14 */ li r3, 0x14 +/* 80133828 00130788 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013382C 0013078C 38 A0 00 00 */ li r5, 0 +/* 80133830 00130790 48 1E 20 3D */ bl __nw__FUlPCcPCc +/* 80133834 00130794 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133838 00130798 41 82 00 0C */ beq lbl_80133844 +/* 8013383C 0013079C 48 00 64 A5 */ bl __ct__7CBSTurnFv +/* 80133840 001307A0 7C 60 1B 78 */ mr r0, r3 +lbl_80133844: +/* 80133844 001307A4 7C 03 03 78 */ mr r3, r0 +/* 80133848 001307A8 48 00 01 8C */ b lbl_801339D4 +/* 8013384C 001307AC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133850 001307B0 38 60 00 10 */ li r3, 0x10 +/* 80133854 001307B4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133858 001307B8 38 A0 00 00 */ li r5, 0 +/* 8013385C 001307BC 48 1E 20 11 */ bl __nw__FUlPCcPCc +/* 80133860 001307C0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133864 001307C4 41 82 00 0C */ beq lbl_80133870 +/* 80133868 001307C8 48 00 91 B9 */ bl __ct__15CBSLoopReactionFv +/* 8013386C 001307CC 7C 60 1B 78 */ mr r0, r3 +lbl_80133870: +/* 80133870 001307D0 7C 03 03 78 */ mr r3, r0 +/* 80133874 001307D4 48 00 01 60 */ b lbl_801339D4 +/* 80133878 001307D8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013387C 001307DC 38 60 00 10 */ li r3, 0x10 +/* 80133880 001307E0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133884 001307E4 38 A0 00 00 */ li r5, 0 +/* 80133888 001307E8 48 1E 1F E5 */ bl __nw__FUlPCcPCc +/* 8013388C 001307EC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133890 001307F0 41 82 00 0C */ beq lbl_8013389C +/* 80133894 001307F4 48 00 BA 2D */ bl __ct__12CBSGroundHitFv +/* 80133898 001307F8 7C 60 1B 78 */ mr r0, r3 +lbl_8013389C: +/* 8013389C 001307FC 7C 03 03 78 */ mr r3, r0 +/* 801338A0 00130800 48 00 01 34 */ b lbl_801339D4 +/* 801338A4 00130804 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801338A8 00130808 38 60 00 04 */ li r3, 4 +/* 801338AC 0013080C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801338B0 00130810 38 A0 00 00 */ li r5, 0 +/* 801338B4 00130814 48 1E 1F B9 */ bl __nw__FUlPCcPCc +/* 801338B8 00130818 7C 60 1B 79 */ or. r0, r3, r3 +/* 801338BC 0013081C 41 82 00 0C */ beq lbl_801338C8 +/* 801338C0 00130820 48 01 31 D1 */ bl __ct__11CBSGenerateFv +/* 801338C4 00130824 7C 60 1B 78 */ mr r0, r3 +lbl_801338C8: +/* 801338C8 00130828 7C 03 03 78 */ mr r3, r0 +/* 801338CC 0013082C 48 00 01 08 */ b lbl_801339D4 +/* 801338D0 00130830 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801338D4 00130834 38 60 00 34 */ li r3, 0x34 +/* 801338D8 00130838 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801338DC 0013083C 38 A0 00 00 */ li r5, 0 +/* 801338E0 00130840 48 1E 1F 8D */ bl __nw__FUlPCcPCc +/* 801338E4 00130844 7C 60 1B 79 */ or. r0, r3, r3 +/* 801338E8 00130848 41 82 00 0C */ beq lbl_801338F4 +/* 801338EC 0013084C 48 01 2D 15 */ bl __ct__7CBSJumpFv +/* 801338F0 00130850 7C 60 1B 78 */ mr r0, r3 +lbl_801338F4: +/* 801338F4 00130854 7C 03 03 78 */ mr r3, r0 +/* 801338F8 00130858 48 00 00 DC */ b lbl_801339D4 +/* 801338FC 0013085C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133900 00130860 38 60 00 30 */ li r3, 0x30 +/* 80133904 00130864 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133908 00130868 38 A0 00 00 */ li r5, 0 +/* 8013390C 0013086C 48 1E 1F 61 */ bl __nw__FUlPCcPCc +/* 80133910 00130870 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133914 00130874 41 82 00 0C */ beq lbl_80133920 +/* 80133918 00130878 48 01 1C 89 */ bl __ct__9CBSHurledFv +/* 8013391C 0013087C 7C 60 1B 78 */ mr r0, r3 +lbl_80133920: +/* 80133920 00130880 7C 03 03 78 */ mr r3, r0 +/* 80133924 00130884 48 00 00 B0 */ b lbl_801339D4 +/* 80133928 00130888 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013392C 0013088C 38 60 00 08 */ li r3, 8 +/* 80133930 00130890 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133934 00130894 38 A0 00 00 */ li r5, 0 +/* 80133938 00130898 48 1E 1F 35 */ bl __nw__FUlPCcPCc +/* 8013393C 0013089C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133940 001308A0 41 82 00 0C */ beq lbl_8013394C +/* 80133944 001308A4 48 01 0A A5 */ bl __ct__8CBSSlideFv +/* 80133948 001308A8 7C 60 1B 78 */ mr r0, r3 +lbl_8013394C: +/* 8013394C 001308AC 7C 03 03 78 */ mr r3, r0 +/* 80133950 001308B0 48 00 00 84 */ b lbl_801339D4 +/* 80133954 001308B4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133958 001308B8 38 60 00 04 */ li r3, 4 +/* 8013395C 001308BC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133960 001308C0 38 A0 00 00 */ li r5, 0 +/* 80133964 001308C4 48 1E 1F 09 */ bl __nw__FUlPCcPCc +/* 80133968 001308C8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8013396C 001308CC 41 82 00 0C */ beq lbl_80133978 +/* 80133970 001308D0 48 01 5C 49 */ bl __ct__8CBSTauntFv +/* 80133974 001308D4 7C 60 1B 78 */ mr r0, r3 +lbl_80133978: +/* 80133978 001308D8 7C 03 03 78 */ mr r3, r0 +/* 8013397C 001308DC 48 00 00 58 */ b lbl_801339D4 +/* 80133980 001308E0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133984 001308E4 38 60 00 0C */ li r3, 0xc +/* 80133988 001308E8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013398C 001308EC 38 A0 00 00 */ li r5, 0 +/* 80133990 001308F0 48 1E 1E DD */ bl __nw__FUlPCcPCc +/* 80133994 001308F4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133998 001308F8 41 82 00 0C */ beq lbl_801339A4 +/* 8013399C 001308FC 48 01 7A 45 */ bl __ct__11CBSScriptedFv +/* 801339A0 00130900 7C 60 1B 78 */ mr r0, r3 +lbl_801339A4: +/* 801339A4 00130904 7C 03 03 78 */ mr r3, r0 +/* 801339A8 00130908 48 00 00 2C */ b lbl_801339D4 +/* 801339AC 0013090C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801339B0 00130910 38 60 00 10 */ li r3, 0x10 +/* 801339B4 00130914 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801339B8 00130918 38 A0 00 00 */ li r5, 0 +/* 801339BC 0013091C 48 1E 1E B1 */ bl __nw__FUlPCcPCc +/* 801339C0 00130920 7C 60 1B 79 */ or. r0, r3, r3 +/* 801339C4 00130924 41 82 00 0C */ beq lbl_801339D0 +/* 801339C8 00130928 48 04 2A D1 */ bl __ct__8CBSCoverFv +/* 801339CC 0013092C 7C 60 1B 78 */ mr r0, r3 +lbl_801339D0: +/* 801339D0 00130930 7C 03 03 78 */ mr r3, r0 +lbl_801339D4: +/* 801339D4 00130934 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801339D8 00130938 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801339DC 0013093C 7C 08 03 A6 */ mtlr r0 +/* 801339E0 00130940 38 21 00 10 */ addi r1, r1, 0x10 +/* 801339E4 00130944 4E 80 00 20 */ blr + +.global SetupBiPedalBodyStates__14CBodyStateInfoFiR6CActor +SetupBiPedalBodyStates__14CBodyStateInfoFiR6CActor: +/* 801339E8 00130948 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801339EC 0013094C 7C 08 02 A6 */ mflr r0 +/* 801339F0 00130950 28 04 00 14 */ cmplwi r4, 0x14 +/* 801339F4 00130954 38 60 00 00 */ li r3, 0 +/* 801339F8 00130958 90 01 00 14 */ stw r0, 0x14(r1) +/* 801339FC 0013095C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80133A00 00130960 7C BF 2B 78 */ mr r31, r5 +/* 80133A04 00130964 41 81 03 BC */ bgt lbl_80133DC0 +/* 80133A08 00130968 3C A0 80 3E */ lis r5, lbl_803E12A4@ha +/* 80133A0C 0013096C 54 80 10 3A */ slwi r0, r4, 2 +/* 80133A10 00130970 38 85 12 A4 */ addi r4, r5, lbl_803E12A4@l +/* 80133A14 00130974 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80133A18 00130978 7C 09 03 A6 */ mtctr r0 +/* 80133A1C 0013097C 4E 80 04 20 */ bctr +/* 80133A20 00130980 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133A24 00130984 38 60 00 10 */ li r3, 0x10 +/* 80133A28 00130988 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133A2C 0013098C 38 A0 00 00 */ li r5, 0 +/* 80133A30 00130990 48 1E 1E 3D */ bl __nw__FUlPCcPCc +/* 80133A34 00130994 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133A38 00130998 41 82 00 0C */ beq lbl_80133A44 +/* 80133A3C 0013099C 48 00 24 1D */ bl __ct__7CBSFallFv +/* 80133A40 001309A0 7C 60 1B 78 */ mr r0, r3 +lbl_80133A44: +/* 80133A44 001309A4 7C 03 03 78 */ mr r3, r0 +/* 80133A48 001309A8 48 00 03 78 */ b lbl_80133DC0 +/* 80133A4C 001309AC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133A50 001309B0 38 60 00 08 */ li r3, 8 +/* 80133A54 001309B4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133A58 001309B8 38 A0 00 00 */ li r5, 0 +/* 80133A5C 001309BC 48 1E 1E 11 */ bl __nw__FUlPCcPCc +/* 80133A60 001309C0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133A64 001309C4 41 82 00 0C */ beq lbl_80133A70 +/* 80133A68 001309C8 48 00 27 71 */ bl __ct__8CBSGetupFv +/* 80133A6C 001309CC 7C 60 1B 78 */ mr r0, r3 +lbl_80133A70: +/* 80133A70 001309D0 7C 03 03 78 */ mr r3, r0 +/* 80133A74 001309D4 48 00 03 4C */ b lbl_80133DC0 +/* 80133A78 001309D8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133A7C 001309DC 38 60 00 08 */ li r3, 8 +/* 80133A80 001309E0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133A84 001309E4 38 A0 00 00 */ li r5, 0 +/* 80133A88 001309E8 48 1E 1D E5 */ bl __nw__FUlPCcPCc +/* 80133A8C 001309EC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133A90 001309F0 41 82 00 10 */ beq lbl_80133AA0 +/* 80133A94 001309F4 7F E4 FB 78 */ mr r4, r31 +/* 80133A98 001309F8 48 00 30 45 */ bl __ct__14CBSLieOnGroundFRC6CActor +/* 80133A9C 001309FC 7C 60 1B 78 */ mr r0, r3 +lbl_80133AA0: +/* 80133AA0 00130A00 7C 03 03 78 */ mr r3, r0 +/* 80133AA4 00130A04 48 00 03 1C */ b lbl_80133DC0 +/* 80133AA8 00130A08 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133AAC 00130A0C 38 60 00 04 */ li r3, 4 +/* 80133AB0 00130A10 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133AB4 00130A14 38 A0 00 00 */ li r5, 0 +/* 80133AB8 00130A18 48 1E 1D B5 */ bl __nw__FUlPCcPCc +/* 80133ABC 00130A1C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133AC0 00130A20 41 82 00 0C */ beq lbl_80133ACC +/* 80133AC4 00130A24 48 00 56 E5 */ bl __ct__7CBSStepFv +/* 80133AC8 00130A28 7C 60 1B 78 */ mr r0, r3 +lbl_80133ACC: +/* 80133ACC 00130A2C 7C 03 03 78 */ mr r3, r0 +/* 80133AD0 00130A30 48 00 02 F0 */ b lbl_80133DC0 +/* 80133AD4 00130A34 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133AD8 00130A38 38 60 00 0C */ li r3, 0xc +/* 80133ADC 00130A3C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133AE0 00130A40 38 A0 00 00 */ li r5, 0 +/* 80133AE4 00130A44 48 1E 1D 89 */ bl __nw__FUlPCcPCc +/* 80133AE8 00130A48 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133AEC 00130A4C 41 82 00 0C */ beq lbl_80133AF8 +/* 80133AF0 00130A50 48 00 1E 1D */ bl __ct__6CBSDieFv +/* 80133AF4 00130A54 7C 60 1B 78 */ mr r0, r3 +lbl_80133AF8: +/* 80133AF8 00130A58 7C 03 03 78 */ mr r3, r0 +/* 80133AFC 00130A5C 48 00 02 C4 */ b lbl_80133DC0 +/* 80133B00 00130A60 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133B04 00130A64 38 60 03 CC */ li r3, 0x3cc +/* 80133B08 00130A68 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133B0C 00130A6C 38 A0 00 00 */ li r5, 0 +/* 80133B10 00130A70 48 1E 1D 5D */ bl __nw__FUlPCcPCc +/* 80133B14 00130A74 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133B18 00130A78 41 82 00 10 */ beq lbl_80133B28 +/* 80133B1C 00130A7C 7F E4 FB 78 */ mr r4, r31 +/* 80133B20 00130A80 48 00 46 0D */ bl __ct__18CBSBiPedLocomotionFR6CActor +/* 80133B24 00130A84 7C 60 1B 78 */ mr r0, r3 +lbl_80133B28: +/* 80133B28 00130A88 7C 03 03 78 */ mr r3, r0 +/* 80133B2C 00130A8C 48 00 02 94 */ b lbl_80133DC0 +/* 80133B30 00130A90 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133B34 00130A94 38 60 00 10 */ li r3, 0x10 +/* 80133B38 00130A98 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133B3C 00130A9C 38 A0 00 00 */ li r5, 0 +/* 80133B40 00130AA0 48 1E 1D 2D */ bl __nw__FUlPCcPCc +/* 80133B44 00130AA4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133B48 00130AA8 41 82 00 0C */ beq lbl_80133B54 +/* 80133B4C 00130AAC 48 00 2C 55 */ bl __ct__12CBSKnockBackFv +/* 80133B50 00130AB0 7C 60 1B 78 */ mr r0, r3 +lbl_80133B54: +/* 80133B54 00130AB4 7C 03 03 78 */ mr r3, r0 +/* 80133B58 00130AB8 48 00 02 68 */ b lbl_80133DC0 +/* 80133B5C 00130ABC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133B60 00130AC0 38 60 00 38 */ li r3, 0x38 +/* 80133B64 00130AC4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133B68 00130AC8 38 A0 00 00 */ li r5, 0 +/* 80133B6C 00130ACC 48 1E 1D 01 */ bl __nw__FUlPCcPCc +/* 80133B70 00130AD0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133B74 00130AD4 41 82 00 0C */ beq lbl_80133B80 +/* 80133B78 00130AD8 48 00 1A 21 */ bl __ct__9CBSAttackFv +/* 80133B7C 00130ADC 7C 60 1B 78 */ mr r0, r3 +lbl_80133B80: +/* 80133B80 00130AE0 7C 03 03 78 */ mr r3, r0 +/* 80133B84 00130AE4 48 00 02 3C */ b lbl_80133DC0 +/* 80133B88 00130AE8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133B8C 00130AEC 38 60 00 04 */ li r3, 4 +/* 80133B90 00130AF0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133B94 00130AF4 38 A0 00 00 */ li r5, 0 +/* 80133B98 00130AF8 48 1E 1C D5 */ bl __nw__FUlPCcPCc +/* 80133B9C 00130AFC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133BA0 00130B00 41 82 00 0C */ beq lbl_80133BAC +/* 80133BA4 00130B04 48 01 9D 89 */ bl __ct__19CBSProjectileAttackFv +/* 80133BA8 00130B08 7C 60 1B 78 */ mr r0, r3 +lbl_80133BAC: +/* 80133BAC 00130B0C 7C 03 03 78 */ mr r3, r0 +/* 80133BB0 00130B10 48 00 02 10 */ b lbl_80133DC0 +/* 80133BB4 00130B14 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133BB8 00130B18 38 60 00 10 */ li r3, 0x10 +/* 80133BBC 00130B1C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133BC0 00130B20 38 A0 00 00 */ li r5, 0 +/* 80133BC4 00130B24 48 1E 1C A9 */ bl __nw__FUlPCcPCc +/* 80133BC8 00130B28 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133BCC 00130B2C 41 82 00 0C */ beq lbl_80133BD8 +/* 80133BD0 00130B30 48 00 7C 69 */ bl __ct__13CBSLoopAttackFv +/* 80133BD4 00130B34 7C 60 1B 78 */ mr r0, r3 +lbl_80133BD8: +/* 80133BD8 00130B38 7C 03 03 78 */ mr r3, r0 +/* 80133BDC 00130B3C 48 00 01 E4 */ b lbl_80133DC0 +/* 80133BE0 00130B40 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133BE4 00130B44 38 60 00 14 */ li r3, 0x14 +/* 80133BE8 00130B48 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133BEC 00130B4C 38 A0 00 00 */ li r5, 0 +/* 80133BF0 00130B50 48 1E 1C 7D */ bl __nw__FUlPCcPCc +/* 80133BF4 00130B54 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133BF8 00130B58 41 82 00 0C */ beq lbl_80133C04 +/* 80133BFC 00130B5C 48 00 60 E5 */ bl __ct__7CBSTurnFv +/* 80133C00 00130B60 7C 60 1B 78 */ mr r0, r3 +lbl_80133C04: +/* 80133C04 00130B64 7C 03 03 78 */ mr r3, r0 +/* 80133C08 00130B68 48 00 01 B8 */ b lbl_80133DC0 +/* 80133C0C 00130B6C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133C10 00130B70 38 60 00 10 */ li r3, 0x10 +/* 80133C14 00130B74 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133C18 00130B78 38 A0 00 00 */ li r5, 0 +/* 80133C1C 00130B7C 48 1E 1C 51 */ bl __nw__FUlPCcPCc +/* 80133C20 00130B80 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133C24 00130B84 41 82 00 0C */ beq lbl_80133C30 +/* 80133C28 00130B88 48 00 8D F9 */ bl __ct__15CBSLoopReactionFv +/* 80133C2C 00130B8C 7C 60 1B 78 */ mr r0, r3 +lbl_80133C30: +/* 80133C30 00130B90 7C 03 03 78 */ mr r3, r0 +/* 80133C34 00130B94 48 00 01 8C */ b lbl_80133DC0 +/* 80133C38 00130B98 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133C3C 00130B9C 38 60 00 10 */ li r3, 0x10 +/* 80133C40 00130BA0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133C44 00130BA4 38 A0 00 00 */ li r5, 0 +/* 80133C48 00130BA8 48 1E 1C 25 */ bl __nw__FUlPCcPCc +/* 80133C4C 00130BAC 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133C50 00130BB0 41 82 00 0C */ beq lbl_80133C5C +/* 80133C54 00130BB4 48 00 B6 6D */ bl __ct__12CBSGroundHitFv +/* 80133C58 00130BB8 7C 60 1B 78 */ mr r0, r3 +lbl_80133C5C: +/* 80133C5C 00130BBC 7C 03 03 78 */ mr r3, r0 +/* 80133C60 00130BC0 48 00 01 60 */ b lbl_80133DC0 +/* 80133C64 00130BC4 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133C68 00130BC8 38 60 00 04 */ li r3, 4 +/* 80133C6C 00130BCC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133C70 00130BD0 38 A0 00 00 */ li r5, 0 +/* 80133C74 00130BD4 48 1E 1B F9 */ bl __nw__FUlPCcPCc +/* 80133C78 00130BD8 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133C7C 00130BDC 41 82 00 0C */ beq lbl_80133C88 +/* 80133C80 00130BE0 48 01 2E 11 */ bl __ct__11CBSGenerateFv +/* 80133C84 00130BE4 7C 60 1B 78 */ mr r0, r3 +lbl_80133C88: +/* 80133C88 00130BE8 7C 03 03 78 */ mr r3, r0 +/* 80133C8C 00130BEC 48 00 01 34 */ b lbl_80133DC0 +/* 80133C90 00130BF0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133C94 00130BF4 38 60 00 34 */ li r3, 0x34 +/* 80133C98 00130BF8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133C9C 00130BFC 38 A0 00 00 */ li r5, 0 +/* 80133CA0 00130C00 48 1E 1B CD */ bl __nw__FUlPCcPCc +/* 80133CA4 00130C04 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133CA8 00130C08 41 82 00 0C */ beq lbl_80133CB4 +/* 80133CAC 00130C0C 48 01 29 55 */ bl __ct__7CBSJumpFv +/* 80133CB0 00130C10 7C 60 1B 78 */ mr r0, r3 +lbl_80133CB4: +/* 80133CB4 00130C14 7C 03 03 78 */ mr r3, r0 +/* 80133CB8 00130C18 48 00 01 08 */ b lbl_80133DC0 +/* 80133CBC 00130C1C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133CC0 00130C20 38 60 00 30 */ li r3, 0x30 +/* 80133CC4 00130C24 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133CC8 00130C28 38 A0 00 00 */ li r5, 0 +/* 80133CCC 00130C2C 48 1E 1B A1 */ bl __nw__FUlPCcPCc +/* 80133CD0 00130C30 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133CD4 00130C34 41 82 00 0C */ beq lbl_80133CE0 +/* 80133CD8 00130C38 48 01 18 C9 */ bl __ct__9CBSHurledFv +/* 80133CDC 00130C3C 7C 60 1B 78 */ mr r0, r3 +lbl_80133CE0: +/* 80133CE0 00130C40 7C 03 03 78 */ mr r3, r0 +/* 80133CE4 00130C44 48 00 00 DC */ b lbl_80133DC0 +/* 80133CE8 00130C48 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133CEC 00130C4C 38 60 00 08 */ li r3, 8 +/* 80133CF0 00130C50 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133CF4 00130C54 38 A0 00 00 */ li r5, 0 +/* 80133CF8 00130C58 48 1E 1B 75 */ bl __nw__FUlPCcPCc +/* 80133CFC 00130C5C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133D00 00130C60 41 82 00 0C */ beq lbl_80133D0C +/* 80133D04 00130C64 48 01 06 E5 */ bl __ct__8CBSSlideFv +/* 80133D08 00130C68 7C 60 1B 78 */ mr r0, r3 +lbl_80133D0C: +/* 80133D0C 00130C6C 7C 03 03 78 */ mr r3, r0 +/* 80133D10 00130C70 48 00 00 B0 */ b lbl_80133DC0 +/* 80133D14 00130C74 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133D18 00130C78 38 60 00 04 */ li r3, 4 +/* 80133D1C 00130C7C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133D20 00130C80 38 A0 00 00 */ li r5, 0 +/* 80133D24 00130C84 48 1E 1B 49 */ bl __nw__FUlPCcPCc +/* 80133D28 00130C88 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133D2C 00130C8C 41 82 00 0C */ beq lbl_80133D38 +/* 80133D30 00130C90 48 01 58 89 */ bl __ct__8CBSTauntFv +/* 80133D34 00130C94 7C 60 1B 78 */ mr r0, r3 +lbl_80133D38: +/* 80133D38 00130C98 7C 03 03 78 */ mr r3, r0 +/* 80133D3C 00130C9C 48 00 00 84 */ b lbl_80133DC0 +/* 80133D40 00130CA0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133D44 00130CA4 38 60 00 0C */ li r3, 0xc +/* 80133D48 00130CA8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133D4C 00130CAC 38 A0 00 00 */ li r5, 0 +/* 80133D50 00130CB0 48 1E 1B 1D */ bl __nw__FUlPCcPCc +/* 80133D54 00130CB4 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133D58 00130CB8 41 82 00 0C */ beq lbl_80133D64 +/* 80133D5C 00130CBC 48 01 76 85 */ bl __ct__11CBSScriptedFv +/* 80133D60 00130CC0 7C 60 1B 78 */ mr r0, r3 +lbl_80133D64: +/* 80133D64 00130CC4 7C 03 03 78 */ mr r3, r0 +/* 80133D68 00130CC8 48 00 00 58 */ b lbl_80133DC0 +/* 80133D6C 00130CCC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133D70 00130CD0 38 60 00 10 */ li r3, 0x10 +/* 80133D74 00130CD4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133D78 00130CD8 38 A0 00 00 */ li r5, 0 +/* 80133D7C 00130CDC 48 1E 1A F1 */ bl __nw__FUlPCcPCc +/* 80133D80 00130CE0 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133D84 00130CE4 41 82 00 0C */ beq lbl_80133D90 +/* 80133D88 00130CE8 48 04 27 11 */ bl __ct__8CBSCoverFv +/* 80133D8C 00130CEC 7C 60 1B 78 */ mr r0, r3 +lbl_80133D90: +/* 80133D90 00130CF0 7C 03 03 78 */ mr r3, r0 +/* 80133D94 00130CF4 48 00 00 2C */ b lbl_80133DC0 +/* 80133D98 00130CF8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80133D9C 00130CFC 38 60 00 1C */ li r3, 0x1c +/* 80133DA0 00130D00 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80133DA4 00130D04 38 A0 00 00 */ li r5, 0 +/* 80133DA8 00130D08 48 1E 1A C5 */ bl __nw__FUlPCcPCc +/* 80133DAC 00130D0C 7C 60 1B 79 */ or. r0, r3, r3 +/* 80133DB0 00130D10 41 82 00 0C */ beq lbl_80133DBC +/* 80133DB4 00130D14 48 05 AD 99 */ bl __ct__11CBSWallHangFv +/* 80133DB8 00130D18 7C 60 1B 78 */ mr r0, r3 +lbl_80133DBC: +/* 80133DBC 00130D1C 7C 03 03 78 */ mr r3, r0 +lbl_80133DC0: +/* 80133DC0 00130D20 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80133DC4 00130D24 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80133DC8 00130D28 7C 08 03 A6 */ mtlr r0 +/* 80133DCC 00130D2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80133DD0 00130D30 4E 80 00 20 */ blr + +.global GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim +GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim: +/* 80133DD4 00130D34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80133DD8 00130D38 7C 08 02 A6 */ mflr r0 +/* 80133DDC 00130D3C 38 C0 00 00 */ li r6, 0 +/* 80133DE0 00130D40 90 01 00 14 */ stw r0, 0x14(r1) +/* 80133DE4 00130D44 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 80133DE8 00130D48 80 ED 8B 48 */ lwz r7, lbl_805A7708@sda21(r13) +/* 80133DEC 00130D4C 48 00 00 20 */ b lbl_80133E0C +lbl_80133DF0: +/* 80133DF0 00130D50 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80133DF4 00130D54 7C 00 38 00 */ cmpw r0, r7 +/* 80133DF8 00130D58 41 80 00 10 */ blt lbl_80133E08 +/* 80133DFC 00130D5C 7C A6 2B 78 */ mr r6, r5 +/* 80133E00 00130D60 80 A5 00 00 */ lwz r5, 0(r5) +/* 80133E04 00130D64 48 00 00 08 */ b lbl_80133E0C +lbl_80133E08: +/* 80133E08 00130D68 80 A5 00 04 */ lwz r5, 4(r5) +lbl_80133E0C: +/* 80133E0C 00130D6C 28 05 00 00 */ cmplwi r5, 0 +/* 80133E10 00130D70 40 82 FF E0 */ bne lbl_80133DF0 +/* 80133E14 00130D74 28 06 00 00 */ cmplwi r6, 0 +/* 80133E18 00130D78 38 A0 00 00 */ li r5, 0 +/* 80133E1C 00130D7C 41 82 00 10 */ beq lbl_80133E2C +/* 80133E20 00130D80 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80133E24 00130D84 7C 07 00 00 */ cmpw r7, r0 +/* 80133E28 00130D88 40 80 00 08 */ bge lbl_80133E30 +lbl_80133E2C: +/* 80133E2C 00130D8C 38 A0 00 01 */ li r5, 1 +lbl_80133E30: +/* 80133E30 00130D90 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80133E34 00130D94 41 82 00 08 */ beq lbl_80133E3C +/* 80133E38 00130D98 38 C0 00 00 */ li r6, 0 +lbl_80133E3C: +/* 80133E3C 00130D9C 28 06 00 00 */ cmplwi r6, 0 +/* 80133E40 00130DA0 38 A3 00 08 */ addi r5, r3, 8 +/* 80133E44 00130DA4 38 00 00 00 */ li r0, 0 +/* 80133E48 00130DA8 40 82 00 0C */ bne lbl_80133E54 +/* 80133E4C 00130DAC 7C 05 28 40 */ cmplw r5, r5 +/* 80133E50 00130DB0 41 82 00 08 */ beq lbl_80133E58 +lbl_80133E54: +/* 80133E54 00130DB4 38 00 00 01 */ li r0, 1 +lbl_80133E58: +/* 80133E58 00130DB8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80133E5C 00130DBC 41 82 00 3C */ beq lbl_80133E98 +/* 80133E60 00130DC0 80 06 00 14 */ lwz r0, 0x14(r6) +/* 80133E64 00130DC4 28 00 00 00 */ cmplwi r0, 0 +/* 80133E68 00130DC8 41 82 00 30 */ beq lbl_80133E98 +/* 80133E6C 00130DCC 80 C3 00 18 */ lwz r6, 0x18(r3) +/* 80133E70 00130DD0 28 06 00 00 */ cmplwi r6, 0 +/* 80133E74 00130DD4 41 82 00 24 */ beq lbl_80133E98 +/* 80133E78 00130DD8 7C 03 03 78 */ mr r3, r0 +/* 80133E7C 00130DDC 7C 85 23 78 */ mr r5, r4 +/* 80133E80 00130DE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80133E84 00130DE4 80 86 02 EC */ lwz r4, 0x2ec(r6) +/* 80133E88 00130DE8 81 8C 00 3C */ lwz r12, 0x3c(r12) +/* 80133E8C 00130DEC 7D 89 03 A6 */ mtctr r12 +/* 80133E90 00130DF0 4E 80 04 21 */ bctrl +/* 80133E94 00130DF4 48 00 00 08 */ b lbl_80133E9C +lbl_80133E98: +/* 80133E98 00130DF8 C0 22 99 98 */ lfs f1, lbl_805AB6B8@sda21(r2) +lbl_80133E9C: +/* 80133E9C 00130DFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80133EA0 00130E00 7C 08 03 A6 */ mtlr r0 +/* 80133EA4 00130E04 38 21 00 10 */ addi r1, r1, 0x10 +/* 80133EA8 00130E08 4E 80 00 20 */ blr + +.global GetMaxSpeed__14CBodyStateInfoCFv +GetMaxSpeed__14CBodyStateInfoCFv: +/* 80133EAC 00130E0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80133EB0 00130E10 7C 08 02 A6 */ mflr r0 +/* 80133EB4 00130E14 90 01 00 24 */ stw r0, 0x24(r1) +/* 80133EB8 00130E18 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 80133EBC 00130E1C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 80133EC0 00130E20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80133EC4 00130E24 93 C1 00 08 */ stw r30, 8(r1) +/* 80133EC8 00130E28 7C 7E 1B 78 */ mr r30, r3 +/* 80133ECC 00130E2C 38 80 00 02 */ li r4, 2 +/* 80133ED0 00130E30 4B FF FF 05 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim +/* 80133ED4 00130E34 FF E0 08 90 */ fmr f31, f1 +/* 80133ED8 00130E38 C0 42 99 98 */ lfs f2, lbl_805AB6B8@sda21(r2) +/* 80133EDC 00130E3C C0 02 99 9C */ lfs f0, lbl_805AB6BC@sda21(r2) +/* 80133EE0 00130E40 EC 3F 10 28 */ fsubs f1, f31, f2 +/* 80133EE4 00130E44 FC 20 0A 10 */ fabs f1, f1 +/* 80133EE8 00130E48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80133EEC 00130E4C 40 80 00 2C */ bge lbl_80133F18 +/* 80133EF0 00130E50 3B E0 00 00 */ li r31, 0 +lbl_80133EF4: +/* 80133EF4 00130E54 7F C3 F3 78 */ mr r3, r30 +/* 80133EF8 00130E58 7F E4 FB 78 */ mr r4, r31 +/* 80133EFC 00130E5C 4B FF FE D9 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim +/* 80133F00 00130E60 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80133F04 00130E64 40 81 00 08 */ ble lbl_80133F0C +/* 80133F08 00130E68 FF E0 08 90 */ fmr f31, f1 +lbl_80133F0C: +/* 80133F0C 00130E6C 3B FF 00 01 */ addi r31, r31, 1 +/* 80133F10 00130E70 2C 1F 00 07 */ cmpwi r31, 7 +/* 80133F14 00130E74 40 81 FF E0 */ ble lbl_80133EF4 +lbl_80133F18: +/* 80133F18 00130E78 FC 20 F8 90 */ fmr f1, f31 +/* 80133F1C 00130E7C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80133F20 00130E80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80133F24 00130E84 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 80133F28 00130E88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80133F2C 00130E8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80133F30 00130E90 7C 08 03 A6 */ mtlr r0 +/* 80133F34 00130E94 38 21 00 20 */ addi r1, r1, 0x20 +/* 80133F38 00130E98 4E 80 00 20 */ blr + +.global GetCurrentAdditiveState__14CBodyStateInfoFv +GetCurrentAdditiveState__14CBodyStateInfoFv: +/* 80133F3C 00130E9C 80 03 00 20 */ lwz r0, 0x20(r3) +/* 80133F40 00130EA0 38 E0 00 00 */ li r7, 0 +/* 80133F44 00130EA4 39 00 00 00 */ li r8, 0 +/* 80133F48 00130EA8 38 A0 00 00 */ li r5, 0 +/* 80133F4C 00130EAC 7C 09 03 A6 */ mtctr r0 +/* 80133F50 00130EB0 2C 00 00 00 */ cmpwi r0, 0 +/* 80133F54 00130EB4 40 81 00 34 */ ble lbl_80133F88 +lbl_80133F58: +/* 80133F58 00130EB8 80 C3 00 28 */ lwz r6, 0x28(r3) +/* 80133F5C 00130EBC 80 83 00 2C */ lwz r4, 0x2c(r3) +/* 80133F60 00130EC0 7C 06 28 2E */ lwzx r0, r6, r5 +/* 80133F64 00130EC4 7C 04 00 00 */ cmpw r4, r0 +/* 80133F68 00130EC8 40 82 00 14 */ bne lbl_80133F7C +/* 80133F6C 00130ECC 1C 68 00 0C */ mulli r3, r8, 0xc +/* 80133F70 00130ED0 38 03 00 08 */ addi r0, r3, 8 +/* 80133F74 00130ED4 7C E6 00 2E */ lwzx r7, r6, r0 +/* 80133F78 00130ED8 48 00 00 10 */ b lbl_80133F88 +lbl_80133F7C: +/* 80133F7C 00130EDC 38 A5 00 0C */ addi r5, r5, 0xc +/* 80133F80 00130EE0 39 08 00 01 */ addi r8, r8, 1 +/* 80133F84 00130EE4 42 00 FF D4 */ bdnz lbl_80133F58 +lbl_80133F88: +/* 80133F88 00130EE8 7C E3 3B 78 */ mr r3, r7 +/* 80133F8C 00130EEC 4E 80 00 20 */ blr + +.global SetAdditiveState__14CBodyStateInfoFQ23pas15EAnimationState +SetAdditiveState__14CBodyStateInfoFQ23pas15EAnimationState: +/* 80133F90 00130EF0 80 03 00 20 */ lwz r0, 0x20(r3) +/* 80133F94 00130EF4 38 C0 00 00 */ li r6, 0 +/* 80133F98 00130EF8 7C 09 03 A6 */ mtctr r0 +/* 80133F9C 00130EFC 2C 00 00 00 */ cmpwi r0, 0 +/* 80133FA0 00130F00 4C 81 00 20 */ blelr +lbl_80133FA4: +/* 80133FA4 00130F04 80 A3 00 28 */ lwz r5, 0x28(r3) +/* 80133FA8 00130F08 7C 05 30 2E */ lwzx r0, r5, r6 +/* 80133FAC 00130F0C 7C 04 00 00 */ cmpw r4, r0 +/* 80133FB0 00130F10 40 82 00 0C */ bne lbl_80133FBC +/* 80133FB4 00130F14 90 83 00 2C */ stw r4, 0x2c(r3) +/* 80133FB8 00130F18 4E 80 00 20 */ blr +lbl_80133FBC: +/* 80133FBC 00130F1C 38 C6 00 0C */ addi r6, r6, 0xc +/* 80133FC0 00130F20 42 00 FF E4 */ bdnz lbl_80133FA4 + +.global sub_80133fc4 +sub_80133fc4: +/* 80133FC4 00130F24 4E 80 00 20 */ blr + +.global ApplyHeadTracking__14CBodyStateInfoCFv +ApplyHeadTracking__14CBodyStateInfoCFv: +/* 80133FC8 00130F28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80133FCC 00130F2C 7C 08 02 A6 */ mflr r0 +/* 80133FD0 00130F30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80133FD4 00130F34 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80133FD8 00130F38 2C 00 FF FF */ cmpwi r0, -1 +/* 80133FDC 00130F3C 41 82 00 1C */ beq lbl_80133FF8 +/* 80133FE0 00130F40 48 00 00 99 */ bl GetCurrentState__14CBodyStateInfoCFv +/* 80133FE4 00130F44 81 83 00 00 */ lwz r12, 0(r3) +/* 80133FE8 00130F48 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80133FEC 00130F4C 7D 89 03 A6 */ mtctr r12 +/* 80133FF0 00130F50 4E 80 04 21 */ bctrl +/* 80133FF4 00130F54 48 00 00 08 */ b lbl_80133FFC +lbl_80133FF8: +/* 80133FF8 00130F58 38 60 00 00 */ li r3, 0 +lbl_80133FFC: +/* 80133FFC 00130F5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80134000 00130F60 7C 08 03 A6 */ mtlr r0 +/* 80134004 00130F64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80134008 00130F68 4E 80 00 20 */ blr + +.global ApplyHeadTracking__10CBodyStateCFv +ApplyHeadTracking__10CBodyStateCFv: +/* 8013400C 00130F6C 38 60 00 01 */ li r3, 1 +/* 80134010 00130F70 4E 80 00 20 */ blr + +.global GetCurrentState__14CBodyStateInfoFv +GetCurrentState__14CBodyStateInfoFv: +/* 80134014 00130F74 80 83 00 14 */ lwz r4, 0x14(r3) +/* 80134018 00130F78 38 A0 00 00 */ li r5, 0 +/* 8013401C 00130F7C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80134020 00130F80 48 00 00 20 */ b lbl_80134040 +lbl_80134024: +/* 80134024 00130F84 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80134028 00130F88 7C 00 20 00 */ cmpw r0, r4 +/* 8013402C 00130F8C 41 80 00 10 */ blt lbl_8013403C +/* 80134030 00130F90 7C 65 1B 78 */ mr r5, r3 +/* 80134034 00130F94 80 63 00 00 */ lwz r3, 0(r3) +/* 80134038 00130F98 48 00 00 08 */ b lbl_80134040 +lbl_8013403C: +/* 8013403C 00130F9C 80 63 00 04 */ lwz r3, 4(r3) +lbl_80134040: +/* 80134040 00130FA0 28 03 00 00 */ cmplwi r3, 0 +/* 80134044 00130FA4 40 82 FF E0 */ bne lbl_80134024 +/* 80134048 00130FA8 28 05 00 00 */ cmplwi r5, 0 +/* 8013404C 00130FAC 38 60 00 00 */ li r3, 0 +/* 80134050 00130FB0 41 82 00 10 */ beq lbl_80134060 +/* 80134054 00130FB4 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80134058 00130FB8 7C 04 00 00 */ cmpw r4, r0 +/* 8013405C 00130FBC 40 80 00 08 */ bge lbl_80134064 +lbl_80134060: +/* 80134060 00130FC0 38 60 00 01 */ li r3, 1 +lbl_80134064: +/* 80134064 00130FC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80134068 00130FC8 41 82 00 08 */ beq lbl_80134070 +/* 8013406C 00130FCC 38 A0 00 00 */ li r5, 0 +lbl_80134070: +/* 80134070 00130FD0 80 65 00 14 */ lwz r3, 0x14(r5) +/* 80134074 00130FD4 4E 80 00 20 */ blr + +.global GetCurrentState__14CBodyStateInfoCFv +GetCurrentState__14CBodyStateInfoCFv: +/* 80134078 00130FD8 80 83 00 14 */ lwz r4, 0x14(r3) +/* 8013407C 00130FDC 38 A0 00 00 */ li r5, 0 +/* 80134080 00130FE0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80134084 00130FE4 48 00 00 20 */ b lbl_801340A4 +lbl_80134088: +/* 80134088 00130FE8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8013408C 00130FEC 7C 00 20 00 */ cmpw r0, r4 +/* 80134090 00130FF0 41 80 00 10 */ blt lbl_801340A0 +/* 80134094 00130FF4 7C 65 1B 78 */ mr r5, r3 +/* 80134098 00130FF8 80 63 00 00 */ lwz r3, 0(r3) +/* 8013409C 00130FFC 48 00 00 08 */ b lbl_801340A4 +lbl_801340A0: +/* 801340A0 00131000 80 63 00 04 */ lwz r3, 4(r3) +lbl_801340A4: +/* 801340A4 00131004 28 03 00 00 */ cmplwi r3, 0 +/* 801340A8 00131008 40 82 FF E0 */ bne lbl_80134088 +/* 801340AC 0013100C 28 05 00 00 */ cmplwi r5, 0 +/* 801340B0 00131010 38 60 00 00 */ li r3, 0 +/* 801340B4 00131014 41 82 00 10 */ beq lbl_801340C4 +/* 801340B8 00131018 80 05 00 10 */ lwz r0, 0x10(r5) +/* 801340BC 0013101C 7C 04 00 00 */ cmpw r4, r0 +/* 801340C0 00131020 40 80 00 08 */ bge lbl_801340C8 +lbl_801340C4: +/* 801340C4 00131024 38 60 00 01 */ li r3, 1 +lbl_801340C8: +/* 801340C8 00131028 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801340CC 0013102C 41 82 00 08 */ beq lbl_801340D4 +/* 801340D0 00131030 38 A0 00 00 */ li r5, 0 +lbl_801340D4: +/* 801340D4 00131034 80 65 00 14 */ lwz r3, 0x14(r5) +/* 801340D8 00131038 4E 80 00 20 */ blr + +.global SetState__14CBodyStateInfoFQ23pas15EAnimationState +SetState__14CBodyStateInfoFQ23pas15EAnimationState: +/* 801340DC 0013103C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801340E0 00131040 38 C0 00 00 */ li r6, 0 +/* 801340E4 00131044 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 801340E8 00131048 48 00 00 20 */ b lbl_80134108 +lbl_801340EC: +/* 801340EC 0013104C 80 05 00 10 */ lwz r0, 0x10(r5) +/* 801340F0 00131050 7C 00 20 00 */ cmpw r0, r4 +/* 801340F4 00131054 41 80 00 10 */ blt lbl_80134104 +/* 801340F8 00131058 7C A6 2B 78 */ mr r6, r5 +/* 801340FC 0013105C 80 A5 00 00 */ lwz r5, 0(r5) +/* 80134100 00131060 48 00 00 08 */ b lbl_80134108 +lbl_80134104: +/* 80134104 00131064 80 A5 00 04 */ lwz r5, 4(r5) +lbl_80134108: +/* 80134108 00131068 28 05 00 00 */ cmplwi r5, 0 +/* 8013410C 0013106C 40 82 FF E0 */ bne lbl_801340EC +/* 80134110 00131070 28 06 00 00 */ cmplwi r6, 0 +/* 80134114 00131074 38 A0 00 00 */ li r5, 0 +/* 80134118 00131078 41 82 00 10 */ beq lbl_80134128 +/* 8013411C 0013107C 80 06 00 10 */ lwz r0, 0x10(r6) +/* 80134120 00131080 7C 04 00 00 */ cmpw r4, r0 +/* 80134124 00131084 40 80 00 08 */ bge lbl_8013412C +lbl_80134128: +/* 80134128 00131088 38 A0 00 01 */ li r5, 1 +lbl_8013412C: +/* 8013412C 0013108C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80134130 00131090 41 82 00 08 */ beq lbl_80134138 +/* 80134134 00131094 38 C0 00 00 */ li r6, 0 +lbl_80134138: +/* 80134138 00131098 38 00 00 00 */ li r0, 0 +/* 8013413C 0013109C 38 A3 00 08 */ addi r5, r3, 8 +/* 80134140 001310A0 7C 06 00 40 */ cmplw r6, r0 +/* 80134144 001310A4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80134148 001310A8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8013414C 001310AC 90 01 00 08 */ stw r0, 8(r1) +/* 80134150 001310B0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80134154 001310B4 40 82 00 0C */ bne lbl_80134160 +/* 80134158 001310B8 7C 05 28 40 */ cmplw r5, r5 +/* 8013415C 001310BC 41 82 00 08 */ beq lbl_80134164 +lbl_80134160: +/* 80134160 001310C0 38 00 00 01 */ li r0, 1 +lbl_80134164: +/* 80134164 001310C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80134168 001310C8 41 82 00 08 */ beq lbl_80134170 +/* 8013416C 001310CC 90 83 00 14 */ stw r4, 0x14(r3) +lbl_80134170: +/* 80134170 001310D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80134174 001310D4 4E 80 00 20 */ blr + +.global __dt__14CBodyStateInfoFv +__dt__14CBodyStateInfoFv: +/* 80134178 001310D8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8013417C 001310DC 7C 08 02 A6 */ mflr r0 +/* 80134180 001310E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80134184 001310E4 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80134188 001310E8 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8013418C 001310EC 7C 9C 23 78 */ mr r28, r4 +/* 80134190 001310F0 41 82 00 BC */ beq lbl_8013424C +/* 80134194 001310F4 3B DB 00 08 */ addi r30, r27, 8 +/* 80134198 001310F8 3B E0 00 00 */ li r31, 0 +/* 8013419C 001310FC 93 C1 00 0C */ stw r30, 0xc(r1) +/* 801341A0 00131100 83 BB 00 08 */ lwz r29, 8(r27) +/* 801341A4 00131104 93 E1 00 08 */ stw r31, 8(r1) +/* 801341A8 00131108 48 00 00 34 */ b lbl_801341DC +lbl_801341AC: +/* 801341AC 0013110C 80 7D 00 14 */ lwz r3, 0x14(r29) +/* 801341B0 00131110 28 03 00 00 */ cmplwi r3, 0 +/* 801341B4 00131114 41 82 00 18 */ beq lbl_801341CC +/* 801341B8 00131118 81 83 00 00 */ lwz r12, 0(r3) +/* 801341BC 0013111C 38 80 00 01 */ li r4, 1 +/* 801341C0 00131120 81 8C 00 08 */ lwz r12, 8(r12) +/* 801341C4 00131124 7D 89 03 A6 */ mtctr r12 +/* 801341C8 00131128 4E 80 04 21 */ bctrl +lbl_801341CC: +/* 801341CC 0013112C 7F C3 F3 78 */ mr r3, r30 +/* 801341D0 00131130 7F A4 EB 78 */ mr r4, r29 +/* 801341D4 00131134 48 20 84 0D */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 801341D8 00131138 7C 7D 1B 78 */ mr r29, r3 +lbl_801341DC: +/* 801341DC 0013113C 7C 1D F8 40 */ cmplw r29, r31 +/* 801341E0 00131140 7F E0 FB 78 */ mr r0, r31 +/* 801341E4 00131144 40 82 00 0C */ bne lbl_801341F0 +/* 801341E8 00131148 7C 1E F0 40 */ cmplw r30, r30 +/* 801341EC 0013114C 41 82 00 08 */ beq lbl_801341F4 +lbl_801341F0: +/* 801341F0 00131150 38 00 00 01 */ li r0, 1 +lbl_801341F4: +/* 801341F4 00131154 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 801341F8 00131158 40 82 FF B4 */ bne lbl_801341AC +/* 801341FC 0013115C 38 7B 00 1C */ addi r3, r27, 0x1c +/* 80134200 00131160 38 80 FF FF */ li r4, -1 +/* 80134204 00131164 48 00 00 61 */ bl sub_80134264 +/* 80134208 00131168 28 1B 00 00 */ cmplwi r27, 0 +/* 8013420C 0013116C 41 82 00 30 */ beq lbl_8013423C +/* 80134210 00131170 41 82 00 2C */ beq lbl_8013423C +/* 80134214 00131174 80 9B 00 10 */ lwz r4, 0x10(r27) +/* 80134218 00131178 28 04 00 00 */ cmplwi r4, 0 +/* 8013421C 0013117C 41 82 00 0C */ beq lbl_80134228 +/* 80134220 00131180 7F 63 DB 78 */ mr r3, r27 +/* 80134224 00131184 48 00 07 DD */ bl sub_80134a00 +lbl_80134228: +/* 80134228 00131188 38 00 00 00 */ li r0, 0 +/* 8013422C 0013118C 90 1B 00 10 */ stw r0, 0x10(r27) +/* 80134230 00131190 90 1B 00 08 */ stw r0, 8(r27) +/* 80134234 00131194 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80134238 00131198 90 1B 00 04 */ stw r0, 4(r27) +lbl_8013423C: +/* 8013423C 0013119C 7F 80 07 35 */ extsh. r0, r28 +/* 80134240 001311A0 40 81 00 0C */ ble lbl_8013424C +/* 80134244 001311A4 7F 63 DB 78 */ mr r3, r27 +/* 80134248 001311A8 48 1E 16 E9 */ bl Free__7CMemoryFPCv +lbl_8013424C: +/* 8013424C 001311AC 7F 63 DB 78 */ mr r3, r27 +/* 80134250 001311B0 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80134254 001311B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80134258 001311B8 7C 08 03 A6 */ mtlr r0 +/* 8013425C 001311BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80134260 001311C0 4E 80 00 20 */ blr + +.global sub_80134264 +sub_80134264: +/* 80134264 001311C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80134268 001311C8 7C 08 02 A6 */ mflr r0 +/* 8013426C 001311CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80134270 001311D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80134274 001311D4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80134278 001311D8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8013427C 001311DC 7C 9D 23 78 */ mr r29, r4 +/* 80134280 001311E0 93 81 00 20 */ stw r28, 0x20(r1) +/* 80134284 001311E4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80134288 001311E8 41 82 00 90 */ beq lbl_80134318 +/* 8013428C 001311EC 80 1C 00 04 */ lwz r0, 4(r28) +/* 80134290 001311F0 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 80134294 001311F4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80134298 001311F8 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8013429C 001311FC 7F FE 02 14 */ add r31, r30, r0 +/* 801342A0 00131200 93 C1 00 14 */ stw r30, 0x14(r1) +/* 801342A4 00131204 93 E1 00 08 */ stw r31, 8(r1) +/* 801342A8 00131208 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801342AC 0013120C 48 00 00 44 */ b lbl_801342F0 +lbl_801342B0: +/* 801342B0 00131210 28 1E 00 00 */ cmplwi r30, 0 +/* 801342B4 00131214 41 82 00 38 */ beq lbl_801342EC +/* 801342B8 00131218 34 1E 00 04 */ addic. r0, r30, 4 +/* 801342BC 0013121C 41 82 00 30 */ beq lbl_801342EC +/* 801342C0 00131220 88 1E 00 04 */ lbz r0, 4(r30) +/* 801342C4 00131224 28 00 00 00 */ cmplwi r0, 0 +/* 801342C8 00131228 41 82 00 24 */ beq lbl_801342EC +/* 801342CC 0013122C 80 7E 00 08 */ lwz r3, 8(r30) +/* 801342D0 00131230 28 03 00 00 */ cmplwi r3, 0 +/* 801342D4 00131234 41 82 00 18 */ beq lbl_801342EC +/* 801342D8 00131238 81 83 00 00 */ lwz r12, 0(r3) +/* 801342DC 0013123C 38 80 00 01 */ li r4, 1 +/* 801342E0 00131240 81 8C 00 08 */ lwz r12, 8(r12) +/* 801342E4 00131244 7D 89 03 A6 */ mtctr r12 +/* 801342E8 00131248 4E 80 04 21 */ bctrl +lbl_801342EC: +/* 801342EC 0013124C 3B DE 00 0C */ addi r30, r30, 0xc +lbl_801342F0: +/* 801342F0 00131250 7C 1E F8 40 */ cmplw r30, r31 +/* 801342F4 00131254 40 82 FF BC */ bne lbl_801342B0 +/* 801342F8 00131258 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 801342FC 0013125C 28 03 00 00 */ cmplwi r3, 0 +/* 80134300 00131260 41 82 00 08 */ beq lbl_80134308 +/* 80134304 00131264 48 1E 16 2D */ bl Free__7CMemoryFPCv +lbl_80134308: +/* 80134308 00131268 7F A0 07 35 */ extsh. r0, r29 +/* 8013430C 0013126C 40 81 00 0C */ ble lbl_80134318 +/* 80134310 00131270 7F 83 E3 78 */ mr r3, r28 +/* 80134314 00131274 48 1E 16 1D */ bl Free__7CMemoryFPCv +lbl_80134318: +/* 80134318 00131278 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8013431C 0013127C 7F 83 E3 78 */ mr r3, r28 +/* 80134320 00131280 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80134324 00131284 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80134328 00131288 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8013432C 0013128C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80134330 00131290 7C 08 03 A6 */ mtlr r0 +/* 80134334 00131294 38 21 00 30 */ addi r1, r1, 0x30 +/* 80134338 00131298 4E 80 00 20 */ blr + +.global __dt__18CAdditiveBodyStateFv +__dt__18CAdditiveBodyStateFv: +/* 8013433C 0013129C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80134340 001312A0 7C 08 02 A6 */ mflr r0 +/* 80134344 001312A4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80134348 001312A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013434C 001312AC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80134350 001312B0 41 82 00 1C */ beq lbl_8013436C +/* 80134354 001312B4 3C A0 80 3E */ lis r5, lbl_803E1350@ha +/* 80134358 001312B8 7C 80 07 35 */ extsh. r0, r4 +/* 8013435C 001312BC 38 05 13 50 */ addi r0, r5, lbl_803E1350@l +/* 80134360 001312C0 90 1F 00 00 */ stw r0, 0(r31) +/* 80134364 001312C4 40 81 00 08 */ ble lbl_8013436C +/* 80134368 001312C8 48 1E 15 C9 */ bl Free__7CMemoryFPCv +lbl_8013436C: +/* 8013436C 001312CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80134370 001312D0 7F E3 FB 78 */ mr r3, r31 +/* 80134374 001312D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80134378 001312D8 7C 08 03 A6 */ mtlr r0 +/* 8013437C 001312DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80134380 001312E0 4E 80 00 20 */ blr + +.global __ct__14CBodyStateInfoFR6CActor9EBodyType +__ct__14CBodyStateInfoFR6CActor9EBodyType: +/* 80134384 001312E4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80134388 001312E8 7C 08 02 A6 */ mflr r0 +/* 8013438C 001312EC 38 C0 00 00 */ li r6, 0 +/* 80134390 001312F0 C0 02 99 98 */ lfs f0, lbl_805AB6B8@sda21(r2) +/* 80134394 001312F4 90 01 00 94 */ stw r0, 0x94(r1) +/* 80134398 001312F8 88 01 00 08 */ lbz r0, 8(r1) +/* 8013439C 001312FC BF 41 00 78 */ stmw r26, 0x78(r1) +/* 801343A0 00131300 7C 7F 1B 78 */ mr r31, r3 +/* 801343A4 00131304 88 E1 00 0C */ lbz r7, 0xc(r1) +/* 801343A8 00131308 7C 9A 23 78 */ mr r26, r4 +/* 801343AC 0013130C 7C BB 2B 78 */ mr r27, r5 +/* 801343B0 00131310 3B 80 00 00 */ li r28, 0 +/* 801343B4 00131314 98 03 00 00 */ stb r0, 0(r3) +/* 801343B8 00131318 38 60 FF FF */ li r3, -1 +/* 801343BC 0013131C 38 00 00 15 */ li r0, 0x15 +/* 801343C0 00131320 98 FF 00 01 */ stb r7, 1(r31) +/* 801343C4 00131324 90 DF 00 04 */ stw r6, 4(r31) +/* 801343C8 00131328 90 DF 00 08 */ stw r6, 8(r31) +/* 801343CC 0013132C 90 DF 00 0C */ stw r6, 0xc(r31) +/* 801343D0 00131330 90 DF 00 10 */ stw r6, 0x10(r31) +/* 801343D4 00131334 90 7F 00 14 */ stw r3, 0x14(r31) +/* 801343D8 00131338 90 DF 00 18 */ stw r6, 0x18(r31) +/* 801343DC 0013133C 90 DF 00 20 */ stw r6, 0x20(r31) +/* 801343E0 00131340 90 DF 00 24 */ stw r6, 0x24(r31) +/* 801343E4 00131344 90 DF 00 28 */ stw r6, 0x28(r31) +/* 801343E8 00131348 90 1F 00 2C */ stw r0, 0x2c(r31) +/* 801343EC 0013134C D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 801343F0 00131350 88 1F 00 34 */ lbz r0, 0x34(r31) +/* 801343F4 00131354 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 801343F8 00131358 98 1F 00 34 */ stb r0, 0x34(r31) +/* 801343FC 0013135C 80 64 00 64 */ lwz r3, 0x64(r4) +/* 80134400 00131360 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80134404 00131364 3B A3 00 3C */ addi r29, r3, 0x3c +/* 80134408 00131368 48 00 01 1C */ b lbl_80134524 +lbl_8013440C: +/* 8013440C 0013136C 7F A3 EB 78 */ mr r3, r29 +/* 80134410 00131370 7F 84 E3 78 */ mr r4, r28 +/* 80134414 00131374 48 1B 0A A1 */ bl GetAnimStateByIndex__12CPASDatabaseCFi +/* 80134418 00131378 28 1B 00 07 */ cmplwi r27, 7 +/* 8013441C 0013137C 7C 7E 1B 78 */ mr r30, r3 +/* 80134420 00131380 41 81 00 C4 */ bgt lbl_801344E4 +/* 80134424 00131384 3C 60 80 3E */ lis r3, lbl_803E12F8@ha +/* 80134428 00131388 57 60 10 3A */ slwi r0, r27, 2 +/* 8013442C 0013138C 38 63 12 F8 */ addi r3, r3, lbl_803E12F8@l +/* 80134430 00131390 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80134434 00131394 7C 09 03 A6 */ mtctr r0 +/* 80134438 00131398 4E 80 04 20 */ bctr +/* 8013443C 0013139C 80 9E 00 00 */ lwz r4, 0(r30) +/* 80134440 001313A0 7F E3 FB 78 */ mr r3, r31 +/* 80134444 001313A4 7F 45 D3 78 */ mr r5, r26 +/* 80134448 001313A8 4B FF F5 A1 */ bl SetupBiPedalBodyStates__14CBodyStateInfoFiR6CActor +/* 8013444C 001313AC 7C 65 1B 78 */ mr r5, r3 +/* 80134450 001313B0 48 00 00 A8 */ b lbl_801344F8 +/* 80134454 001313B4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80134458 001313B8 7F E3 FB 78 */ mr r3, r31 +/* 8013445C 001313BC 7F 45 D3 78 */ mr r5, r26 +/* 80134460 001313C0 4B FF F1 C9 */ bl SetupRestrictedBodyStates__14CBodyStateInfoFiR6CActor +/* 80134464 001313C4 7C 65 1B 78 */ mr r5, r3 +/* 80134468 001313C8 48 00 00 90 */ b lbl_801344F8 +/* 8013446C 001313CC 80 9E 00 00 */ lwz r4, 0(r30) +/* 80134470 001313D0 7F E3 FB 78 */ mr r3, r31 +/* 80134474 001313D4 7F 45 D3 78 */ mr r5, r26 +/* 80134478 001313D8 4B FF EE 19 */ bl SetupFlyerBodyStates__14CBodyStateInfoFiR6CActor +/* 8013447C 001313DC 7C 65 1B 78 */ mr r5, r3 +/* 80134480 001313E0 48 00 00 78 */ b lbl_801344F8 +/* 80134484 001313E4 80 9E 00 00 */ lwz r4, 0(r30) +/* 80134488 001313E8 7F E3 FB 78 */ mr r3, r31 +/* 8013448C 001313EC 7F 45 D3 78 */ mr r5, r26 +/* 80134490 001313F0 4B FF EA 69 */ bl SetupPitchableFlyerBodyStates__14CBodyStateInfoFiR6CActor +/* 80134494 001313F4 7C 65 1B 78 */ mr r5, r3 +/* 80134498 001313F8 48 00 00 60 */ b lbl_801344F8 +/* 8013449C 001313FC 80 9E 00 00 */ lwz r4, 0(r30) +/* 801344A0 00131400 7F E3 FB 78 */ mr r3, r31 +/* 801344A4 00131404 7F 45 D3 78 */ mr r5, r26 +/* 801344A8 00131408 4B FF E6 BD */ bl SetupWallWalkerBodyStates__14CBodyStateInfoFiR6CActor +/* 801344AC 0013140C 7C 65 1B 78 */ mr r5, r3 +/* 801344B0 00131410 48 00 00 48 */ b lbl_801344F8 +/* 801344B4 00131414 80 9E 00 00 */ lwz r4, 0(r30) +/* 801344B8 00131418 7F E3 FB 78 */ mr r3, r31 +/* 801344BC 0013141C 7F 45 D3 78 */ mr r5, r26 +/* 801344C0 00131420 4B FF E3 11 */ bl SetupNewFlyerBodyStates__14CBodyStateInfoFiR6CActor +/* 801344C4 00131424 7C 65 1B 78 */ mr r5, r3 +/* 801344C8 00131428 48 00 00 30 */ b lbl_801344F8 +/* 801344CC 0013142C 80 9E 00 00 */ lwz r4, 0(r30) +/* 801344D0 00131430 7F E3 FB 78 */ mr r3, r31 +/* 801344D4 00131434 7F 45 D3 78 */ mr r5, r26 +/* 801344D8 00131438 4B FF DF 65 */ bl SetupRestrictedFlyerBodyStates__14CBodyStateInfoFiR6CActor +/* 801344DC 0013143C 7C 65 1B 78 */ mr r5, r3 +/* 801344E0 00131440 48 00 00 18 */ b lbl_801344F8 +lbl_801344E4: +/* 801344E4 00131444 80 9E 00 00 */ lwz r4, 0(r30) +/* 801344E8 00131448 7F E3 FB 78 */ mr r3, r31 +/* 801344EC 0013144C 7F 45 D3 78 */ mr r5, r26 +/* 801344F0 00131450 4B FF F1 39 */ bl SetupRestrictedBodyStates__14CBodyStateInfoFiR6CActor +/* 801344F4 00131454 7C 65 1B 78 */ mr r5, r3 +lbl_801344F8: +/* 801344F8 00131458 28 05 00 00 */ cmplwi r5, 0 +/* 801344FC 0013145C 41 82 00 24 */ beq lbl_80134520 +/* 80134500 00131460 80 1E 00 00 */ lwz r0, 0(r30) +/* 80134504 00131464 7F E4 FB 78 */ mr r4, r31 +/* 80134508 00131468 38 61 00 68 */ addi r3, r1, 0x68 +/* 8013450C 0013146C 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80134510 00131470 90 01 00 30 */ stw r0, 0x30(r1) +/* 80134514 00131474 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80134518 00131478 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 8013451C 0013147C 48 00 05 4D */ bl "insert_into__Q24rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>FPQ34rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>4nodeRCQ24rstl21pair" +lbl_80134520: +/* 80134520 00131480 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80134524: +/* 80134524 00131484 7F A3 EB 78 */ mr r3, r29 +/* 80134528 00131488 48 1B 0B 31 */ bl GetNumAnimStates__12CPASDatabaseCFv +/* 8013452C 0013148C 7C 1C 18 40 */ cmplw r28, r3 +/* 80134530 00131490 41 80 FE DC */ blt lbl_8013440C +/* 80134534 00131494 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80134538 00131498 38 80 00 04 */ li r4, 4 +/* 8013453C 0013149C 48 00 07 65 */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" +/* 80134540 001314A0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80134544 001314A4 38 60 00 04 */ li r3, 4 +/* 80134548 001314A8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 8013454C 001314AC 38 A0 00 00 */ li r5, 0 +/* 80134550 001314B0 48 1E 13 1D */ bl __nw__FUlPCcPCc +/* 80134554 001314B4 28 03 00 00 */ cmplwi r3, 0 +/* 80134558 001314B8 41 82 00 1C */ beq lbl_80134574 +/* 8013455C 001314BC 3C A0 80 3E */ lis r5, lbl_803E1350@ha +/* 80134560 001314C0 3C 80 80 3E */ lis r4, lbl_803E5C60@ha +/* 80134564 001314C4 38 05 13 50 */ addi r0, r5, lbl_803E1350@l +/* 80134568 001314C8 90 03 00 00 */ stw r0, 0(r3) +/* 8013456C 001314CC 38 04 5C 60 */ addi r0, r4, lbl_803E5C60@l +/* 80134570 001314D0 90 03 00 00 */ stw r0, 0(r3) +lbl_80134574: +/* 80134574 001314D4 7C 83 00 D0 */ neg r4, r3 +/* 80134578 001314D8 80 0D 8B 38 */ lwz r0, lbl_805A76F8@sda21(r13) +/* 8013457C 001314DC 7C 84 1B 78 */ or r4, r4, r3 +/* 80134580 001314E0 90 61 00 64 */ stw r3, 0x64(r1) +/* 80134584 001314E4 54 85 0F FE */ srwi r5, r4, 0x1f +/* 80134588 001314E8 38 80 00 00 */ li r4, 0 +/* 8013458C 001314EC 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80134590 001314F0 3B 41 00 60 */ addi r26, r1, 0x60 +/* 80134594 001314F4 98 A1 00 60 */ stb r5, 0x60(r1) +/* 80134598 001314F8 98 A1 00 28 */ stb r5, 0x28(r1) +/* 8013459C 001314FC 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 801345A0 00131500 80 BF 00 24 */ lwz r5, 0x24(r31) +/* 801345A4 00131504 90 61 00 2C */ stw r3, 0x2c(r1) +/* 801345A8 00131508 7C 00 28 00 */ cmpw r0, r5 +/* 801345AC 0013150C 98 81 00 28 */ stb r4, 0x28(r1) +/* 801345B0 00131510 41 80 00 1C */ blt lbl_801345CC +/* 801345B4 00131514 2C 05 00 00 */ cmpwi r5, 0 +/* 801345B8 00131518 38 7F 00 1C */ addi r3, r31, 0x1c +/* 801345BC 0013151C 38 80 00 04 */ li r4, 4 +/* 801345C0 00131520 41 82 00 08 */ beq lbl_801345C8 +/* 801345C4 00131524 54 A4 08 3C */ slwi r4, r5, 1 +lbl_801345C8: +/* 801345C8 00131528 48 00 06 D9 */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" +lbl_801345CC: +/* 801345CC 0013152C 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 801345D0 00131530 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 801345D4 00131534 1C 00 00 0C */ mulli r0, r0, 0xc +/* 801345D8 00131538 7C 83 02 15 */ add. r4, r3, r0 +/* 801345DC 0013153C 41 82 00 24 */ beq lbl_80134600 +/* 801345E0 00131540 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 801345E4 00131544 38 00 00 00 */ li r0, 0 +/* 801345E8 00131548 90 64 00 00 */ stw r3, 0(r4) +/* 801345EC 0013154C 88 61 00 60 */ lbz r3, 0x60(r1) +/* 801345F0 00131550 98 64 00 04 */ stb r3, 4(r4) +/* 801345F4 00131554 80 61 00 64 */ lwz r3, 0x64(r1) +/* 801345F8 00131558 90 64 00 08 */ stw r3, 8(r4) +/* 801345FC 0013155C 98 01 00 60 */ stb r0, 0x60(r1) +lbl_80134600: +/* 80134600 00131560 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80134604 00131564 28 1A 00 00 */ cmplwi r26, 0 +/* 80134608 00131568 38 03 00 01 */ addi r0, r3, 1 +/* 8013460C 0013156C 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80134610 00131570 41 82 00 30 */ beq lbl_80134640 +/* 80134614 00131574 88 01 00 60 */ lbz r0, 0x60(r1) +/* 80134618 00131578 28 00 00 00 */ cmplwi r0, 0 +/* 8013461C 0013157C 41 82 00 24 */ beq lbl_80134640 +/* 80134620 00131580 80 61 00 64 */ lwz r3, 0x64(r1) +/* 80134624 00131584 28 03 00 00 */ cmplwi r3, 0 +/* 80134628 00131588 41 82 00 18 */ beq lbl_80134640 +/* 8013462C 0013158C 81 83 00 00 */ lwz r12, 0(r3) +/* 80134630 00131590 38 80 00 01 */ li r4, 1 +/* 80134634 00131594 81 8C 00 08 */ lwz r12, 8(r12) +/* 80134638 00131598 7D 89 03 A6 */ mtctr r12 +/* 8013463C 0013159C 4E 80 04 21 */ bctrl +lbl_80134640: +/* 80134640 001315A0 88 01 00 28 */ lbz r0, 0x28(r1) +/* 80134644 001315A4 28 00 00 00 */ cmplwi r0, 0 +/* 80134648 001315A8 41 82 00 24 */ beq lbl_8013466C +/* 8013464C 001315AC 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80134650 001315B0 28 03 00 00 */ cmplwi r3, 0 +/* 80134654 001315B4 41 82 00 18 */ beq lbl_8013466C +/* 80134658 001315B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8013465C 001315BC 38 80 00 01 */ li r4, 1 +/* 80134660 001315C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80134664 001315C4 7D 89 03 A6 */ mtctr r12 +/* 80134668 001315C8 4E 80 04 21 */ bctrl +lbl_8013466C: +/* 8013466C 001315CC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80134670 001315D0 38 60 00 38 */ li r3, 0x38 +/* 80134674 001315D4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80134678 001315D8 38 A0 00 00 */ li r5, 0 +/* 8013467C 001315DC 48 1E 11 F1 */ bl __nw__FUlPCcPCc +/* 80134680 001315E0 7C 65 1B 79 */ or. r5, r3, r3 +/* 80134684 001315E4 41 82 00 0C */ beq lbl_80134690 +/* 80134688 001315E8 48 0A 5D E1 */ bl __ct__7CABSAimFv +/* 8013468C 001315EC 7C 65 1B 78 */ mr r5, r3 +lbl_80134690: +/* 80134690 001315F0 7C 65 00 D0 */ neg r3, r5 +/* 80134694 001315F4 80 0D 8B 3C */ lwz r0, lbl_805A76FC@sda21(r13) +/* 80134698 001315F8 7C 63 2B 78 */ or r3, r3, r5 +/* 8013469C 001315FC 90 A1 00 58 */ stw r5, 0x58(r1) +/* 801346A0 00131600 54 64 0F FE */ srwi r4, r3, 0x1f +/* 801346A4 00131604 38 60 00 00 */ li r3, 0 +/* 801346A8 00131608 90 01 00 50 */ stw r0, 0x50(r1) +/* 801346AC 0013160C 3B 41 00 54 */ addi r26, r1, 0x54 +/* 801346B0 00131610 98 81 00 54 */ stb r4, 0x54(r1) +/* 801346B4 00131614 98 81 00 20 */ stb r4, 0x20(r1) +/* 801346B8 00131618 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 801346BC 0013161C 80 DF 00 24 */ lwz r6, 0x24(r31) +/* 801346C0 00131620 90 A1 00 24 */ stw r5, 0x24(r1) +/* 801346C4 00131624 7C 00 30 00 */ cmpw r0, r6 +/* 801346C8 00131628 98 61 00 20 */ stb r3, 0x20(r1) +/* 801346CC 0013162C 41 80 00 1C */ blt lbl_801346E8 +/* 801346D0 00131630 2C 06 00 00 */ cmpwi r6, 0 +/* 801346D4 00131634 38 7F 00 1C */ addi r3, r31, 0x1c +/* 801346D8 00131638 38 80 00 04 */ li r4, 4 +/* 801346DC 0013163C 41 82 00 08 */ beq lbl_801346E4 +/* 801346E0 00131640 54 C4 08 3C */ slwi r4, r6, 1 +lbl_801346E4: +/* 801346E4 00131644 48 00 05 BD */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" +lbl_801346E8: +/* 801346E8 00131648 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 801346EC 0013164C 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 801346F0 00131650 1C 00 00 0C */ mulli r0, r0, 0xc +/* 801346F4 00131654 7C 83 02 15 */ add. r4, r3, r0 +/* 801346F8 00131658 41 82 00 24 */ beq lbl_8013471C +/* 801346FC 0013165C 80 61 00 50 */ lwz r3, 0x50(r1) +/* 80134700 00131660 38 00 00 00 */ li r0, 0 +/* 80134704 00131664 90 64 00 00 */ stw r3, 0(r4) +/* 80134708 00131668 88 61 00 54 */ lbz r3, 0x54(r1) +/* 8013470C 0013166C 98 64 00 04 */ stb r3, 4(r4) +/* 80134710 00131670 80 61 00 58 */ lwz r3, 0x58(r1) +/* 80134714 00131674 90 64 00 08 */ stw r3, 8(r4) +/* 80134718 00131678 98 01 00 54 */ stb r0, 0x54(r1) +lbl_8013471C: +/* 8013471C 0013167C 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80134720 00131680 28 1A 00 00 */ cmplwi r26, 0 +/* 80134724 00131684 38 03 00 01 */ addi r0, r3, 1 +/* 80134728 00131688 90 1F 00 20 */ stw r0, 0x20(r31) +/* 8013472C 0013168C 41 82 00 30 */ beq lbl_8013475C +/* 80134730 00131690 88 01 00 54 */ lbz r0, 0x54(r1) +/* 80134734 00131694 28 00 00 00 */ cmplwi r0, 0 +/* 80134738 00131698 41 82 00 24 */ beq lbl_8013475C +/* 8013473C 0013169C 80 61 00 58 */ lwz r3, 0x58(r1) +/* 80134740 001316A0 28 03 00 00 */ cmplwi r3, 0 +/* 80134744 001316A4 41 82 00 18 */ beq lbl_8013475C +/* 80134748 001316A8 81 83 00 00 */ lwz r12, 0(r3) +/* 8013474C 001316AC 38 80 00 01 */ li r4, 1 +/* 80134750 001316B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80134754 001316B4 7D 89 03 A6 */ mtctr r12 +/* 80134758 001316B8 4E 80 04 21 */ bctrl +lbl_8013475C: +/* 8013475C 001316BC 88 01 00 20 */ lbz r0, 0x20(r1) +/* 80134760 001316C0 28 00 00 00 */ cmplwi r0, 0 +/* 80134764 001316C4 41 82 00 24 */ beq lbl_80134788 +/* 80134768 001316C8 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8013476C 001316CC 28 03 00 00 */ cmplwi r3, 0 +/* 80134770 001316D0 41 82 00 18 */ beq lbl_80134788 +/* 80134774 001316D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80134778 001316D8 38 80 00 01 */ li r4, 1 +/* 8013477C 001316DC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80134780 001316E0 7D 89 03 A6 */ mtctr r12 +/* 80134784 001316E4 4E 80 04 21 */ bctrl +lbl_80134788: +/* 80134788 001316E8 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 8013478C 001316EC 38 60 00 0C */ li r3, 0xc +/* 80134790 001316F0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80134794 001316F4 38 A0 00 00 */ li r5, 0 +/* 80134798 001316F8 48 1E 10 D5 */ bl __nw__FUlPCcPCc +/* 8013479C 001316FC 7C 65 1B 79 */ or. r5, r3, r3 +/* 801347A0 00131700 41 82 00 0C */ beq lbl_801347AC +/* 801347A4 00131704 48 0A 55 49 */ bl __ct__10CABSFlinchFv +/* 801347A8 00131708 7C 65 1B 78 */ mr r5, r3 +lbl_801347AC: +/* 801347AC 0013170C 7C 65 00 D0 */ neg r3, r5 +/* 801347B0 00131710 80 0D 8B 40 */ lwz r0, lbl_805A7700@sda21(r13) +/* 801347B4 00131714 7C 63 2B 78 */ or r3, r3, r5 +/* 801347B8 00131718 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 801347BC 0013171C 54 64 0F FE */ srwi r4, r3, 0x1f +/* 801347C0 00131720 38 60 00 00 */ li r3, 0 +/* 801347C4 00131724 90 01 00 44 */ stw r0, 0x44(r1) +/* 801347C8 00131728 3B 41 00 48 */ addi r26, r1, 0x48 +/* 801347CC 0013172C 98 81 00 48 */ stb r4, 0x48(r1) +/* 801347D0 00131730 98 81 00 18 */ stb r4, 0x18(r1) +/* 801347D4 00131734 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 801347D8 00131738 80 DF 00 24 */ lwz r6, 0x24(r31) +/* 801347DC 0013173C 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 801347E0 00131740 7C 00 30 00 */ cmpw r0, r6 +/* 801347E4 00131744 98 61 00 18 */ stb r3, 0x18(r1) +/* 801347E8 00131748 41 80 00 1C */ blt lbl_80134804 +/* 801347EC 0013174C 2C 06 00 00 */ cmpwi r6, 0 +/* 801347F0 00131750 38 7F 00 1C */ addi r3, r31, 0x1c +/* 801347F4 00131754 38 80 00 04 */ li r4, 4 +/* 801347F8 00131758 41 82 00 08 */ beq lbl_80134800 +/* 801347FC 0013175C 54 C4 08 3C */ slwi r4, r6, 1 +lbl_80134800: +/* 80134800 00131760 48 00 04 A1 */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" +lbl_80134804: +/* 80134804 00131764 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80134808 00131768 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 8013480C 0013176C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80134810 00131770 7C 83 02 15 */ add. r4, r3, r0 +/* 80134814 00131774 41 82 00 24 */ beq lbl_80134838 +/* 80134818 00131778 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8013481C 0013177C 38 00 00 00 */ li r0, 0 +/* 80134820 00131780 90 64 00 00 */ stw r3, 0(r4) +/* 80134824 00131784 88 61 00 48 */ lbz r3, 0x48(r1) +/* 80134828 00131788 98 64 00 04 */ stb r3, 4(r4) +/* 8013482C 0013178C 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 80134830 00131790 90 64 00 08 */ stw r3, 8(r4) +/* 80134834 00131794 98 01 00 48 */ stb r0, 0x48(r1) +lbl_80134838: +/* 80134838 00131798 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 8013483C 0013179C 28 1A 00 00 */ cmplwi r26, 0 +/* 80134840 001317A0 38 03 00 01 */ addi r0, r3, 1 +/* 80134844 001317A4 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80134848 001317A8 41 82 00 30 */ beq lbl_80134878 +/* 8013484C 001317AC 88 01 00 48 */ lbz r0, 0x48(r1) +/* 80134850 001317B0 28 00 00 00 */ cmplwi r0, 0 +/* 80134854 001317B4 41 82 00 24 */ beq lbl_80134878 +/* 80134858 001317B8 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8013485C 001317BC 28 03 00 00 */ cmplwi r3, 0 +/* 80134860 001317C0 41 82 00 18 */ beq lbl_80134878 +/* 80134864 001317C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80134868 001317C8 38 80 00 01 */ li r4, 1 +/* 8013486C 001317CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80134870 001317D0 7D 89 03 A6 */ mtctr r12 +/* 80134874 001317D4 4E 80 04 21 */ bctrl +lbl_80134878: +/* 80134878 001317D8 88 01 00 18 */ lbz r0, 0x18(r1) +/* 8013487C 001317DC 28 00 00 00 */ cmplwi r0, 0 +/* 80134880 001317E0 41 82 00 24 */ beq lbl_801348A4 +/* 80134884 001317E4 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80134888 001317E8 28 03 00 00 */ cmplwi r3, 0 +/* 8013488C 001317EC 41 82 00 18 */ beq lbl_801348A4 +/* 80134890 001317F0 81 83 00 00 */ lwz r12, 0(r3) +/* 80134894 001317F4 38 80 00 01 */ li r4, 1 +/* 80134898 001317F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8013489C 001317FC 7D 89 03 A6 */ mtctr r12 +/* 801348A0 00131800 4E 80 04 21 */ bctrl +lbl_801348A4: +/* 801348A4 00131804 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 801348A8 00131808 38 60 00 14 */ li r3, 0x14 +/* 801348AC 0013180C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 801348B0 00131810 38 A0 00 00 */ li r5, 0 +/* 801348B4 00131814 48 1E 0F B9 */ bl __nw__FUlPCcPCc +/* 801348B8 00131818 7C 65 1B 79 */ or. r5, r3, r3 +/* 801348BC 0013181C 41 82 00 0C */ beq lbl_801348C8 +/* 801348C0 00131820 48 0B D1 71 */ bl __ct__12CABSReactionFv +/* 801348C4 00131824 7C 65 1B 78 */ mr r5, r3 +lbl_801348C8: +/* 801348C8 00131828 7C 65 00 D0 */ neg r3, r5 +/* 801348CC 0013182C 80 0D 8B 44 */ lwz r0, lbl_805A7704@sda21(r13) +/* 801348D0 00131830 7C 63 2B 78 */ or r3, r3, r5 +/* 801348D4 00131834 90 A1 00 40 */ stw r5, 0x40(r1) +/* 801348D8 00131838 54 64 0F FE */ srwi r4, r3, 0x1f +/* 801348DC 0013183C 38 60 00 00 */ li r3, 0 +/* 801348E0 00131840 90 01 00 38 */ stw r0, 0x38(r1) +/* 801348E4 00131844 3B 41 00 3C */ addi r26, r1, 0x3c +/* 801348E8 00131848 98 81 00 3C */ stb r4, 0x3c(r1) +/* 801348EC 0013184C 98 81 00 10 */ stb r4, 0x10(r1) +/* 801348F0 00131850 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 801348F4 00131854 80 DF 00 24 */ lwz r6, 0x24(r31) +/* 801348F8 00131858 90 A1 00 14 */ stw r5, 0x14(r1) +/* 801348FC 0013185C 7C 00 30 00 */ cmpw r0, r6 +/* 80134900 00131860 98 61 00 10 */ stb r3, 0x10(r1) +/* 80134904 00131864 41 80 00 1C */ blt lbl_80134920 +/* 80134908 00131868 2C 06 00 00 */ cmpwi r6, 0 +/* 8013490C 0013186C 38 7F 00 1C */ addi r3, r31, 0x1c +/* 80134910 00131870 38 80 00 04 */ li r4, 4 +/* 80134914 00131874 41 82 00 08 */ beq lbl_8013491C +/* 80134918 00131878 54 C4 08 3C */ slwi r4, r6, 1 +lbl_8013491C: +/* 8013491C 0013187C 48 00 03 85 */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" +lbl_80134920: +/* 80134920 00131880 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80134924 00131884 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 80134928 00131888 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8013492C 0013188C 7C 83 02 15 */ add. r4, r3, r0 +/* 80134930 00131890 41 82 00 24 */ beq lbl_80134954 +/* 80134934 00131894 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80134938 00131898 38 00 00 00 */ li r0, 0 +/* 8013493C 0013189C 90 64 00 00 */ stw r3, 0(r4) +/* 80134940 001318A0 88 61 00 3C */ lbz r3, 0x3c(r1) +/* 80134944 001318A4 98 64 00 04 */ stb r3, 4(r4) +/* 80134948 001318A8 80 61 00 40 */ lwz r3, 0x40(r1) +/* 8013494C 001318AC 90 64 00 08 */ stw r3, 8(r4) +/* 80134950 001318B0 98 01 00 3C */ stb r0, 0x3c(r1) +lbl_80134954: +/* 80134954 001318B4 80 7F 00 20 */ lwz r3, 0x20(r31) +/* 80134958 001318B8 28 1A 00 00 */ cmplwi r26, 0 +/* 8013495C 001318BC 38 03 00 01 */ addi r0, r3, 1 +/* 80134960 001318C0 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80134964 001318C4 41 82 00 30 */ beq lbl_80134994 +/* 80134968 001318C8 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 8013496C 001318CC 28 00 00 00 */ cmplwi r0, 0 +/* 80134970 001318D0 41 82 00 24 */ beq lbl_80134994 +/* 80134974 001318D4 80 61 00 40 */ lwz r3, 0x40(r1) +/* 80134978 001318D8 28 03 00 00 */ cmplwi r3, 0 +/* 8013497C 001318DC 41 82 00 18 */ beq lbl_80134994 +/* 80134980 001318E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80134984 001318E4 38 80 00 01 */ li r4, 1 +/* 80134988 001318E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8013498C 001318EC 7D 89 03 A6 */ mtctr r12 +/* 80134990 001318F0 4E 80 04 21 */ bctrl +lbl_80134994: +/* 80134994 001318F4 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80134998 001318F8 28 00 00 00 */ cmplwi r0, 0 +/* 8013499C 001318FC 41 82 00 24 */ beq lbl_801349C0 +/* 801349A0 00131900 80 61 00 14 */ lwz r3, 0x14(r1) +/* 801349A4 00131904 28 03 00 00 */ cmplwi r3, 0 +/* 801349A8 00131908 41 82 00 18 */ beq lbl_801349C0 +/* 801349AC 0013190C 81 83 00 00 */ lwz r12, 0(r3) +/* 801349B0 00131910 38 80 00 01 */ li r4, 1 +/* 801349B4 00131914 81 8C 00 08 */ lwz r12, 8(r12) +/* 801349B8 00131918 7D 89 03 A6 */ mtctr r12 +/* 801349BC 0013191C 4E 80 04 21 */ bctrl +lbl_801349C0: +/* 801349C0 00131920 7F E3 FB 78 */ mr r3, r31 +/* 801349C4 00131924 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 801349C8 00131928 80 01 00 94 */ lwz r0, 0x94(r1) +/* 801349CC 0013192C 7C 08 03 A6 */ mtlr r0 +/* 801349D0 00131930 38 21 00 90 */ addi r1, r1, 0x90 +/* 801349D4 00131934 4E 80 00 20 */ blr + +.global IsDead__10CBodyStateCFv +IsDead__10CBodyStateCFv: +/* 801349D8 00131938 38 60 00 00 */ li r3, 0 +/* 801349DC 0013193C 4E 80 00 20 */ blr + +.global IsDying__10CBodyStateCFv +IsDying__10CBodyStateCFv: +/* 801349E0 00131940 38 60 00 00 */ li r3, 0 +/* 801349E4 00131944 4E 80 00 20 */ blr + +.global IsMoving__10CBodyStateCFv +IsMoving__10CBodyStateCFv: +/* 801349E8 00131948 38 60 00 00 */ li r3, 0 +/* 801349EC 0013194C 4E 80 00 20 */ blr + +.global ApplyHeadTracking__18CAdditiveBodyStateCFv +ApplyHeadTracking__18CAdditiveBodyStateCFv: +/* 801349F0 00131950 38 60 00 01 */ li r3, 1 +/* 801349F4 00131954 4E 80 00 20 */ blr + +.global CanShoot__18CAdditiveBodyStateCFv +CanShoot__18CAdditiveBodyStateCFv: +/* 801349F8 00131958 38 60 00 01 */ li r3, 1 +/* 801349FC 0013195C 4E 80 00 20 */ blr + +.global sub_80134a00 +sub_80134a00: +/* 80134A00 00131960 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80134A04 00131964 7C 08 02 A6 */ mflr r0 +/* 80134A08 00131968 90 01 00 14 */ stw r0, 0x14(r1) +/* 80134A0C 0013196C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80134A10 00131970 7C 9F 23 78 */ mr r31, r4 +/* 80134A14 00131974 93 C1 00 08 */ stw r30, 8(r1) +/* 80134A18 00131978 7C 7E 1B 78 */ mr r30, r3 +/* 80134A1C 0013197C 80 84 00 00 */ lwz r4, 0(r4) +/* 80134A20 00131980 28 04 00 00 */ cmplwi r4, 0 +/* 80134A24 00131984 41 82 00 08 */ beq lbl_80134A2C +/* 80134A28 00131988 4B FF FF D9 */ bl sub_80134a00 +lbl_80134A2C: +/* 80134A2C 0013198C 80 9F 00 04 */ lwz r4, 4(r31) +/* 80134A30 00131990 28 04 00 00 */ cmplwi r4, 0 +/* 80134A34 00131994 41 82 00 0C */ beq lbl_80134A40 +/* 80134A38 00131998 7F C3 F3 78 */ mr r3, r30 +/* 80134A3C 0013199C 4B FF FF C5 */ bl sub_80134a00 +lbl_80134A40: +/* 80134A40 001319A0 28 1F 00 00 */ cmplwi r31, 0 +/* 80134A44 001319A4 41 82 00 0C */ beq lbl_80134A50 +/* 80134A48 001319A8 7F E3 FB 78 */ mr r3, r31 +/* 80134A4C 001319AC 48 1E 0E E5 */ bl Free__7CMemoryFPCv +lbl_80134A50: +/* 80134A50 001319B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80134A54 001319B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80134A58 001319B8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80134A5C 001319BC 7C 08 03 A6 */ mtlr r0 +/* 80134A60 001319C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80134A64 001319C4 4E 80 00 20 */ blr + +.global "insert_into__Q24rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>FPQ34rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>4nodeRCQ24rstl21pair" +"insert_into__Q24rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>FPQ34rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>4nodeRCQ24rstl21pair": +/* 80134A68 001319C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80134A6C 001319CC 7C 08 02 A6 */ mflr r0 +/* 80134A70 001319D0 28 05 00 00 */ cmplwi r5, 0 +/* 80134A74 001319D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80134A78 001319D8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80134A7C 001319DC 7C 7C 1B 78 */ mr r28, r3 +/* 80134A80 001319E0 7C 9D 23 78 */ mr r29, r4 +/* 80134A84 001319E4 7C DE 33 78 */ mr r30, r6 +/* 80134A88 001319E8 40 82 00 88 */ bne lbl_80134B10 +/* 80134A8C 001319EC 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80134A90 001319F0 38 60 00 18 */ li r3, 0x18 +/* 80134A94 001319F4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80134A98 001319F8 38 A0 00 00 */ li r5, 0 +/* 80134A9C 001319FC 48 1E 0D 7D */ bl __nwa__FUlPCcPCc +/* 80134AA0 00131A00 28 03 00 00 */ cmplwi r3, 0 +/* 80134AA4 00131A04 41 82 00 30 */ beq lbl_80134AD4 +/* 80134AA8 00131A08 38 00 00 00 */ li r0, 0 +/* 80134AAC 00131A0C 34 83 00 10 */ addic. r4, r3, 0x10 +/* 80134AB0 00131A10 90 03 00 00 */ stw r0, 0(r3) +/* 80134AB4 00131A14 90 03 00 04 */ stw r0, 4(r3) +/* 80134AB8 00131A18 90 03 00 08 */ stw r0, 8(r3) +/* 80134ABC 00131A1C 90 03 00 0C */ stw r0, 0xc(r3) +/* 80134AC0 00131A20 41 82 00 14 */ beq lbl_80134AD4 +/* 80134AC4 00131A24 80 1E 00 00 */ lwz r0, 0(r30) +/* 80134AC8 00131A28 90 04 00 00 */ stw r0, 0(r4) +/* 80134ACC 00131A2C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80134AD0 00131A30 90 04 00 04 */ stw r0, 4(r4) +lbl_80134AD4: +/* 80134AD4 00131A34 90 7D 00 10 */ stw r3, 0x10(r29) +/* 80134AD8 00131A38 38 1D 00 08 */ addi r0, r29, 8 +/* 80134ADC 00131A3C 80 7D 00 04 */ lwz r3, 4(r29) +/* 80134AE0 00131A40 38 63 00 01 */ addi r3, r3, 1 +/* 80134AE4 00131A44 90 7D 00 04 */ stw r3, 4(r29) +/* 80134AE8 00131A48 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80134AEC 00131A4C 90 7D 00 08 */ stw r3, 8(r29) +/* 80134AF0 00131A50 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80134AF4 00131A54 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80134AF8 00131A58 80 7D 00 10 */ lwz r3, 0x10(r29) +/* 80134AFC 00131A5C 90 7C 00 00 */ stw r3, 0(r28) +/* 80134B00 00131A60 90 1C 00 04 */ stw r0, 4(r28) +/* 80134B04 00131A64 88 0D 8B 4C */ lbz r0, lbl_805A770C@sda21(r13) +/* 80134B08 00131A68 98 1C 00 08 */ stb r0, 8(r28) +/* 80134B0C 00131A6C 48 00 01 80 */ b lbl_80134C8C +lbl_80134B10: +/* 80134B10 00131A70 7C BF 2B 78 */ mr r31, r5 +/* 80134B14 00131A74 3B 60 00 00 */ li r27, 0 +/* 80134B18 00131A78 48 00 01 40 */ b lbl_80134C58 +lbl_80134B1C: +/* 80134B1C 00131A7C 80 9E 00 00 */ lwz r4, 0(r30) +/* 80134B20 00131A80 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 80134B24 00131A84 7C A0 22 78 */ xor r0, r5, r4 +/* 80134B28 00131A88 7C 03 0E 70 */ srawi r3, r0, 1 +/* 80134B2C 00131A8C 7C 00 28 38 */ and r0, r0, r5 +/* 80134B30 00131A90 7C 00 18 50 */ subf r0, r0, r3 +/* 80134B34 00131A94 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80134B38 00131A98 40 82 00 24 */ bne lbl_80134B5C +/* 80134B3C 00131A9C 7C 05 20 00 */ cmpw r5, r4 +/* 80134B40 00131AA0 41 80 00 1C */ blt lbl_80134B5C +/* 80134B44 00131AA4 93 FC 00 00 */ stw r31, 0(r28) +/* 80134B48 00131AA8 38 1D 00 08 */ addi r0, r29, 8 +/* 80134B4C 00131AAC 90 1C 00 04 */ stw r0, 4(r28) +/* 80134B50 00131AB0 88 0D 8B 4D */ lbz r0, lbl_805A770D@sda21(r13) +/* 80134B54 00131AB4 98 1C 00 08 */ stb r0, 8(r28) +/* 80134B58 00131AB8 48 00 01 34 */ b lbl_80134C8C +lbl_80134B5C: +/* 80134B5C 00131ABC 28 00 00 00 */ cmplwi r0, 0 +/* 80134B60 00131AC0 41 82 00 80 */ beq lbl_80134BE0 +/* 80134B64 00131AC4 80 1F 00 00 */ lwz r0, 0(r31) +/* 80134B68 00131AC8 28 00 00 00 */ cmplwi r0, 0 +/* 80134B6C 00131ACC 40 82 00 6C */ bne lbl_80134BD8 +/* 80134B70 00131AD0 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80134B74 00131AD4 38 60 00 18 */ li r3, 0x18 +/* 80134B78 00131AD8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80134B7C 00131ADC 38 A0 00 00 */ li r5, 0 +/* 80134B80 00131AE0 48 1E 0C 99 */ bl __nwa__FUlPCcPCc +/* 80134B84 00131AE4 28 03 00 00 */ cmplwi r3, 0 +/* 80134B88 00131AE8 41 82 00 34 */ beq lbl_80134BBC +/* 80134B8C 00131AEC 38 80 00 00 */ li r4, 0 +/* 80134B90 00131AF0 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80134B94 00131AF4 90 83 00 00 */ stw r4, 0(r3) +/* 80134B98 00131AF8 38 00 00 01 */ li r0, 1 +/* 80134B9C 00131AFC 90 83 00 04 */ stw r4, 4(r3) +/* 80134BA0 00131B00 93 E3 00 08 */ stw r31, 8(r3) +/* 80134BA4 00131B04 90 03 00 0C */ stw r0, 0xc(r3) +/* 80134BA8 00131B08 41 82 00 14 */ beq lbl_80134BBC +/* 80134BAC 00131B0C 80 1E 00 00 */ lwz r0, 0(r30) +/* 80134BB0 00131B10 90 05 00 00 */ stw r0, 0(r5) +/* 80134BB4 00131B14 80 1E 00 04 */ lwz r0, 4(r30) +/* 80134BB8 00131B18 90 05 00 04 */ stw r0, 4(r5) +lbl_80134BBC: +/* 80134BBC 00131B1C 90 7F 00 00 */ stw r3, 0(r31) +/* 80134BC0 00131B20 7C 7B 1B 78 */ mr r27, r3 +/* 80134BC4 00131B24 80 1D 00 08 */ lwz r0, 8(r29) +/* 80134BC8 00131B28 7C 1F 00 40 */ cmplw r31, r0 +/* 80134BCC 00131B2C 40 82 00 8C */ bne lbl_80134C58 +/* 80134BD0 00131B30 90 7D 00 08 */ stw r3, 8(r29) +/* 80134BD4 00131B34 48 00 00 84 */ b lbl_80134C58 +lbl_80134BD8: +/* 80134BD8 00131B38 7C 1F 03 78 */ mr r31, r0 +/* 80134BDC 00131B3C 48 00 00 7C */ b lbl_80134C58 +lbl_80134BE0: +/* 80134BE0 00131B40 80 1F 00 04 */ lwz r0, 4(r31) +/* 80134BE4 00131B44 28 00 00 00 */ cmplwi r0, 0 +/* 80134BE8 00131B48 40 82 00 6C */ bne lbl_80134C54 +/* 80134BEC 00131B4C 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80134BF0 00131B50 38 60 00 18 */ li r3, 0x18 +/* 80134BF4 00131B54 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80134BF8 00131B58 38 A0 00 00 */ li r5, 0 +/* 80134BFC 00131B5C 48 1E 0C 1D */ bl __nwa__FUlPCcPCc +/* 80134C00 00131B60 28 03 00 00 */ cmplwi r3, 0 +/* 80134C04 00131B64 41 82 00 34 */ beq lbl_80134C38 +/* 80134C08 00131B68 38 80 00 00 */ li r4, 0 +/* 80134C0C 00131B6C 34 A3 00 10 */ addic. r5, r3, 0x10 +/* 80134C10 00131B70 90 83 00 00 */ stw r4, 0(r3) +/* 80134C14 00131B74 38 00 00 01 */ li r0, 1 +/* 80134C18 00131B78 90 83 00 04 */ stw r4, 4(r3) +/* 80134C1C 00131B7C 93 E3 00 08 */ stw r31, 8(r3) +/* 80134C20 00131B80 90 03 00 0C */ stw r0, 0xc(r3) +/* 80134C24 00131B84 41 82 00 14 */ beq lbl_80134C38 +/* 80134C28 00131B88 80 1E 00 00 */ lwz r0, 0(r30) +/* 80134C2C 00131B8C 90 05 00 00 */ stw r0, 0(r5) +/* 80134C30 00131B90 80 1E 00 04 */ lwz r0, 4(r30) +/* 80134C34 00131B94 90 05 00 04 */ stw r0, 4(r5) +lbl_80134C38: +/* 80134C38 00131B98 90 7F 00 04 */ stw r3, 4(r31) +/* 80134C3C 00131B9C 7C 7B 1B 78 */ mr r27, r3 +/* 80134C40 00131BA0 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 80134C44 00131BA4 7C 1F 00 40 */ cmplw r31, r0 +/* 80134C48 00131BA8 40 82 00 10 */ bne lbl_80134C58 +/* 80134C4C 00131BAC 90 7D 00 0C */ stw r3, 0xc(r29) +/* 80134C50 00131BB0 48 00 00 08 */ b lbl_80134C58 +lbl_80134C54: +/* 80134C54 00131BB4 7C 1F 03 78 */ mr r31, r0 +lbl_80134C58: +/* 80134C58 00131BB8 28 1B 00 00 */ cmplwi r27, 0 +/* 80134C5C 00131BBC 41 82 FE C0 */ beq lbl_80134B1C +/* 80134C60 00131BC0 80 BD 00 04 */ lwz r5, 4(r29) +/* 80134C64 00131BC4 7F 64 DB 78 */ mr r4, r27 +/* 80134C68 00131BC8 38 7D 00 08 */ addi r3, r29, 8 +/* 80134C6C 00131BCC 38 05 00 01 */ addi r0, r5, 1 +/* 80134C70 00131BD0 90 1D 00 04 */ stw r0, 4(r29) +/* 80134C74 00131BD4 48 20 7E 25 */ bl rbtree_rebalance__4rstlFPvPv +/* 80134C78 00131BD8 93 7C 00 00 */ stw r27, 0(r28) +/* 80134C7C 00131BDC 38 1D 00 08 */ addi r0, r29, 8 +/* 80134C80 00131BE0 90 1C 00 04 */ stw r0, 4(r28) +/* 80134C84 00131BE4 88 0D 8B 4E */ lbz r0, lbl_805A770E@sda21(r13) +/* 80134C88 00131BE8 98 1C 00 08 */ stb r0, 8(r28) +lbl_80134C8C: +/* 80134C8C 00131BEC BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80134C90 00131BF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80134C94 00131BF4 7C 08 03 A6 */ mtlr r0 +/* 80134C98 00131BF8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80134C9C 00131BFC 4E 80 00 20 */ blr + +.global "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi": +/* 80134CA0 00131C00 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80134CA4 00131C04 7C 08 02 A6 */ mflr r0 +/* 80134CA8 00131C08 90 01 00 34 */ stw r0, 0x34(r1) +/* 80134CAC 00131C0C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80134CB0 00131C10 7C 9E 23 78 */ mr r30, r4 +/* 80134CB4 00131C14 7C 7D 1B 78 */ mr r29, r3 +/* 80134CB8 00131C18 80 03 00 08 */ lwz r0, 8(r3) +/* 80134CBC 00131C1C 7C 1E 00 00 */ cmpw r30, r0 +/* 80134CC0 00131C20 40 81 01 00 */ ble lbl_80134DC0 +/* 80134CC4 00131C24 1C 7E 00 0C */ mulli r3, r30, 0xc +/* 80134CC8 00131C28 2C 03 00 00 */ cmpwi r3, 0 +/* 80134CCC 00131C2C 40 82 00 0C */ bne lbl_80134CD8 +/* 80134CD0 00131C30 3B E0 00 00 */ li r31, 0 +/* 80134CD4 00131C34 48 00 00 18 */ b lbl_80134CEC +lbl_80134CD8: +/* 80134CD8 00131C38 3C 80 80 3D */ lis r4, lbl_803D0058@ha +/* 80134CDC 00131C3C 38 A0 00 00 */ li r5, 0 +/* 80134CE0 00131C40 38 84 00 58 */ addi r4, r4, lbl_803D0058@l +/* 80134CE4 00131C44 48 1E 0B 35 */ bl __nwa__FUlPCcPCc +/* 80134CE8 00131C48 7C 7F 1B 78 */ mr r31, r3 +lbl_80134CEC: +/* 80134CEC 00131C4C 80 7D 00 04 */ lwz r3, 4(r29) +/* 80134CF0 00131C50 7F E5 FB 78 */ mr r5, r31 +/* 80134CF4 00131C54 80 DD 00 0C */ lwz r6, 0xc(r29) +/* 80134CF8 00131C58 38 00 00 00 */ li r0, 0 +/* 80134CFC 00131C5C 1C 63 00 0C */ mulli r3, r3, 0xc +/* 80134D00 00131C60 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80134D04 00131C64 7C 86 1A 14 */ add r4, r6, r3 +/* 80134D08 00131C68 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80134D0C 00131C6C 90 81 00 08 */ stw r4, 8(r1) +/* 80134D10 00131C70 90 81 00 0C */ stw r4, 0xc(r1) +/* 80134D14 00131C74 48 00 00 30 */ b lbl_80134D44 +lbl_80134D18: +/* 80134D18 00131C78 28 05 00 00 */ cmplwi r5, 0 +/* 80134D1C 00131C7C 41 82 00 20 */ beq lbl_80134D3C +/* 80134D20 00131C80 80 66 00 00 */ lwz r3, 0(r6) +/* 80134D24 00131C84 90 65 00 00 */ stw r3, 0(r5) +/* 80134D28 00131C88 88 66 00 04 */ lbz r3, 4(r6) +/* 80134D2C 00131C8C 98 65 00 04 */ stb r3, 4(r5) +/* 80134D30 00131C90 80 66 00 08 */ lwz r3, 8(r6) +/* 80134D34 00131C94 90 65 00 08 */ stw r3, 8(r5) +/* 80134D38 00131C98 98 06 00 04 */ stb r0, 4(r6) +lbl_80134D3C: +/* 80134D3C 00131C9C 38 A5 00 0C */ addi r5, r5, 0xc +/* 80134D40 00131CA0 38 C6 00 0C */ addi r6, r6, 0xc +lbl_80134D44: +/* 80134D44 00131CA4 7C 06 20 40 */ cmplw r6, r4 +/* 80134D48 00131CA8 40 82 FF D0 */ bne lbl_80134D18 +/* 80134D4C 00131CAC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80134D50 00131CB0 83 7D 00 0C */ lwz r27, 0xc(r29) +/* 80134D54 00131CB4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80134D58 00131CB8 7F 9B 02 14 */ add r28, r27, r0 +/* 80134D5C 00131CBC 48 00 00 44 */ b lbl_80134DA0 +lbl_80134D60: +/* 80134D60 00131CC0 28 1B 00 00 */ cmplwi r27, 0 +/* 80134D64 00131CC4 41 82 00 38 */ beq lbl_80134D9C +/* 80134D68 00131CC8 34 1B 00 04 */ addic. r0, r27, 4 +/* 80134D6C 00131CCC 41 82 00 30 */ beq lbl_80134D9C +/* 80134D70 00131CD0 88 1B 00 04 */ lbz r0, 4(r27) +/* 80134D74 00131CD4 28 00 00 00 */ cmplwi r0, 0 +/* 80134D78 00131CD8 41 82 00 24 */ beq lbl_80134D9C +/* 80134D7C 00131CDC 80 7B 00 08 */ lwz r3, 8(r27) +/* 80134D80 00131CE0 28 03 00 00 */ cmplwi r3, 0 +/* 80134D84 00131CE4 41 82 00 18 */ beq lbl_80134D9C +/* 80134D88 00131CE8 81 83 00 00 */ lwz r12, 0(r3) +/* 80134D8C 00131CEC 38 80 00 01 */ li r4, 1 +/* 80134D90 00131CF0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80134D94 00131CF4 7D 89 03 A6 */ mtctr r12 +/* 80134D98 00131CF8 4E 80 04 21 */ bctrl +lbl_80134D9C: +/* 80134D9C 00131CFC 3B 7B 00 0C */ addi r27, r27, 0xc +lbl_80134DA0: +/* 80134DA0 00131D00 7C 1B E0 40 */ cmplw r27, r28 +/* 80134DA4 00131D04 40 82 FF BC */ bne lbl_80134D60 +/* 80134DA8 00131D08 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80134DAC 00131D0C 28 03 00 00 */ cmplwi r3, 0 +/* 80134DB0 00131D10 41 82 00 08 */ beq lbl_80134DB8 +/* 80134DB4 00131D14 48 1E 0B 7D */ bl Free__7CMemoryFPCv +lbl_80134DB8: +/* 80134DB8 00131D18 93 FD 00 0C */ stw r31, 0xc(r29) +/* 80134DBC 00131D1C 93 DD 00 08 */ stw r30, 8(r29) +lbl_80134DC0: +/* 80134DC0 00131D20 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80134DC4 00131D24 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80134DC8 00131D28 7C 08 03 A6 */ mtlr r0 +/* 80134DCC 00131D2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80134DD0 00131D30 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CActorLights.s b/asm/Kyoto_CWD/CActorLights.s new file mode 100644 index 00000000..0f807642 --- /dev/null +++ b/asm/Kyoto_CWD/CActorLights.s @@ -0,0 +1,2793 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global BuildConstantAmbientLighting__12CActorLightsFv +BuildConstantAmbientLighting__12CActorLightsFv: +/* 80103084 000FFFE4 88 83 02 99 */ lbz r4, 0x299(r3) +/* 80103088 000FFFE8 38 A0 00 01 */ li r5, 1 +/* 8010308C 000FFFEC 50 A4 2E B4 */ rlwimi r4, r5, 5, 0x1a, 0x1a +/* 80103090 000FFFF0 38 00 FF FF */ li r0, -1 +/* 80103094 000FFFF4 98 83 02 99 */ stb r4, 0x299(r3) +/* 80103098 000FFFF8 88 83 02 98 */ lbz r4, 0x298(r3) +/* 8010309C 000FFFFC 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 +/* 801030A0 00100000 98 83 02 98 */ stb r4, 0x298(r3) +/* 801030A4 00100004 90 03 02 9C */ stw r0, 0x29c(r3) +/* 801030A8 00100008 90 03 02 A0 */ stw r0, 0x2a0(r3) +/* 801030AC 0010000C 4E 80 00 20 */ blr + +.global BuildConstantAmbientLighting__12CActorLightsFRC6CColor +BuildConstantAmbientLighting__12CActorLightsFRC6CColor: +/* 801030B0 00100010 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801030B4 00100014 7C 08 02 A6 */ mflr r0 +/* 801030B8 00100018 90 01 00 14 */ stw r0, 0x14(r1) +/* 801030BC 0010001C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801030C0 00100020 7C 7F 1B 78 */ mr r31, r3 +/* 801030C4 00100024 38 BF 02 8C */ addi r5, r31, 0x28c +/* 801030C8 00100028 88 03 02 99 */ lbz r0, 0x299(r3) +/* 801030CC 0010002C 38 60 00 00 */ li r3, 0 +/* 801030D0 00100030 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 801030D4 00100034 38 DF 02 90 */ addi r6, r31, 0x290 +/* 801030D8 00100038 98 1F 02 99 */ stb r0, 0x299(r31) +/* 801030DC 0010003C 7C 83 23 78 */ mr r3, r4 +/* 801030E0 00100040 38 9F 02 88 */ addi r4, r31, 0x288 +/* 801030E4 00100044 48 26 02 55 */ bl Get__6CColorCFRfRfRf +/* 801030E8 00100048 80 6D A3 90 */ lwz r3, lbl_805A8F50@sda21(r13) +/* 801030EC 0010004C 38 80 00 01 */ li r4, 1 +/* 801030F0 00100050 38 00 FF FF */ li r0, -1 +/* 801030F4 00100054 90 7F 02 94 */ stw r3, 0x294(r31) +/* 801030F8 00100058 88 7F 02 98 */ lbz r3, 0x298(r31) +/* 801030FC 0010005C 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 80103100 00100060 98 7F 02 98 */ stb r3, 0x298(r31) +/* 80103104 00100064 88 7F 02 98 */ lbz r3, 0x298(r31) +/* 80103108 00100068 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a +/* 8010310C 0010006C 98 7F 02 98 */ stb r3, 0x298(r31) +/* 80103110 00100070 90 1F 02 9C */ stw r0, 0x29c(r31) +/* 80103114 00100074 90 1F 02 A0 */ stw r0, 0x2a0(r31) +/* 80103118 00100078 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8010311C 0010007C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80103120 00100080 7C 08 03 A6 */ mtlr r0 +/* 80103124 00100084 38 21 00 10 */ addi r1, r1, 0x10 +/* 80103128 00100088 4E 80 00 20 */ blr + +.global "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor" +"BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor": +/* 8010312C 0010008C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80103130 00100090 7C 08 02 A6 */ mflr r0 +/* 80103134 00100094 90 01 00 24 */ stw r0, 0x24(r1) +/* 80103138 00100098 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8010313C 0010009C 7C 9F 23 78 */ mr r31, r4 +/* 80103140 001000A0 7C A4 2B 78 */ mr r4, r5 +/* 80103144 001000A4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80103148 001000A8 7C 7E 1B 78 */ mr r30, r3 +/* 8010314C 001000AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80103150 001000B0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80103154 001000B4 4B FF FF 5D */ bl BuildConstantAmbientLighting__12CActorLightsFRC6CColor +/* 80103158 001000B8 80 BE 00 00 */ lwz r5, 0(r30) +/* 8010315C 001000BC 38 60 00 00 */ li r3, 0 +/* 80103160 001000C0 2C 05 00 00 */ cmpwi r5, 0 +/* 80103164 001000C4 40 81 00 40 */ ble lbl_801031A4 +/* 80103168 001000C8 2C 05 00 08 */ cmpwi r5, 8 +/* 8010316C 001000CC 38 85 FF F8 */ addi r4, r5, -8 +/* 80103170 001000D0 40 81 00 20 */ ble lbl_80103190 +/* 80103174 001000D4 38 04 00 07 */ addi r0, r4, 7 +/* 80103178 001000D8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8010317C 001000DC 7C 09 03 A6 */ mtctr r0 +/* 80103180 001000E0 2C 04 00 00 */ cmpwi r4, 0 +/* 80103184 001000E4 40 81 00 0C */ ble lbl_80103190 +lbl_80103188: +/* 80103188 001000E8 38 63 00 08 */ addi r3, r3, 8 +/* 8010318C 001000EC 42 00 FF FC */ bdnz lbl_80103188 +lbl_80103190: +/* 80103190 001000F0 7C 03 28 50 */ subf r0, r3, r5 +/* 80103194 001000F4 7C 09 03 A6 */ mtctr r0 +/* 80103198 001000F8 7C 03 28 00 */ cmpw r3, r5 +/* 8010319C 001000FC 40 80 00 08 */ bge lbl_801031A4 +lbl_801031A0: +/* 801031A0 00100100 42 00 00 00 */ bdnz lbl_801031A0 +lbl_801031A4: +/* 801031A4 00100104 38 60 00 00 */ li r3, 0 +/* 801031A8 00100108 90 7E 00 00 */ stw r3, 0(r30) +/* 801031AC 0010010C 80 BE 01 44 */ lwz r5, 0x144(r30) +/* 801031B0 00100110 2C 05 00 00 */ cmpwi r5, 0 +/* 801031B4 00100114 40 81 00 40 */ ble lbl_801031F4 +/* 801031B8 00100118 2C 05 00 08 */ cmpwi r5, 8 +/* 801031BC 0010011C 38 85 FF F8 */ addi r4, r5, -8 +/* 801031C0 00100120 40 81 00 20 */ ble lbl_801031E0 +/* 801031C4 00100124 38 04 00 07 */ addi r0, r4, 7 +/* 801031C8 00100128 54 00 E8 FE */ srwi r0, r0, 3 +/* 801031CC 0010012C 7C 09 03 A6 */ mtctr r0 +/* 801031D0 00100130 2C 04 00 00 */ cmpwi r4, 0 +/* 801031D4 00100134 40 81 00 0C */ ble lbl_801031E0 +lbl_801031D8: +/* 801031D8 00100138 38 63 00 08 */ addi r3, r3, 8 +/* 801031DC 0010013C 42 00 FF FC */ bdnz lbl_801031D8 +lbl_801031E0: +/* 801031E0 00100140 7C 03 28 50 */ subf r0, r3, r5 +/* 801031E4 00100144 7C 09 03 A6 */ mtctr r0 +/* 801031E8 00100148 7C 03 28 00 */ cmpw r3, r5 +/* 801031EC 0010014C 40 80 00 08 */ bge lbl_801031F4 +lbl_801031F0: +/* 801031F0 00100150 42 00 00 00 */ bdnz lbl_801031F0 +lbl_801031F4: +/* 801031F4 00100154 3B A0 00 00 */ li r29, 0 +/* 801031F8 00100158 3B 80 00 00 */ li r28, 0 +/* 801031FC 0010015C 93 BE 01 44 */ stw r29, 0x144(r30) +lbl_80103200: +/* 80103200 00100160 80 1F 00 04 */ lwz r0, 4(r31) +/* 80103204 00100164 7C 1C 00 00 */ cmpw r28, r0 +/* 80103208 00100168 41 82 00 24 */ beq lbl_8010322C +/* 8010320C 0010016C 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80103210 00100170 38 7E 01 44 */ addi r3, r30, 0x144 +/* 80103214 00100174 7C 80 EA 14 */ add r4, r0, r29 +/* 80103218 00100178 48 00 00 35 */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" +/* 8010321C 0010017C 3B 9C 00 01 */ addi r28, r28, 1 +/* 80103220 00100180 3B BD 00 50 */ addi r29, r29, 0x50 +/* 80103224 00100184 2C 1C 00 04 */ cmpwi r28, 4 +/* 80103228 00100188 41 80 FF D8 */ blt lbl_80103200 +lbl_8010322C: +/* 8010322C 0010018C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80103230 00100190 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80103234 00100194 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80103238 00100198 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8010323C 0010019C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80103240 001001A0 7C 08 03 A6 */ mtlr r0 +/* 80103244 001001A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80103248 001001A8 4E 80 00 20 */ blr + +.global "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" +"push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight": +/* 8010324C 001001AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80103250 001001B0 7C 08 02 A6 */ mflr r0 +/* 80103254 001001B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80103258 001001B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8010325C 001001BC 7C 7F 1B 78 */ mr r31, r3 +/* 80103260 001001C0 80 03 00 00 */ lwz r0, 0(r3) +/* 80103264 001001C4 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80103268 001001C8 7C 7F 02 14 */ add r3, r31, r0 +/* 8010326C 001001CC 38 63 00 04 */ addi r3, r3, 4 +/* 80103270 001001D0 48 00 00 25 */ bl "construct<6CLight>__4rstlFPvRC6CLight" +/* 80103274 001001D4 80 7F 00 00 */ lwz r3, 0(r31) +/* 80103278 001001D8 38 03 00 01 */ addi r0, r3, 1 +/* 8010327C 001001DC 90 1F 00 00 */ stw r0, 0(r31) +/* 80103280 001001E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80103284 001001E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80103288 001001E8 7C 08 03 A6 */ mtlr r0 +/* 8010328C 001001EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80103290 001001F0 4E 80 00 20 */ blr + +.global "construct<6CLight>__4rstlFPvRC6CLight" +"construct<6CLight>__4rstlFPvRC6CLight": +/* 80103294 001001F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80103298 001001F8 7C 08 02 A6 */ mflr r0 +/* 8010329C 001001FC 28 03 00 00 */ cmplwi r3, 0 +/* 801032A0 00100200 90 01 00 14 */ stw r0, 0x14(r1) +/* 801032A4 00100204 41 82 00 08 */ beq lbl_801032AC +/* 801032A8 00100208 4B F3 82 C9 */ bl __ct__6CLightFCR6CLight +lbl_801032AC: +/* 801032AC 0010020C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801032B0 00100210 7C 08 03 A6 */ mtlr r0 +/* 801032B4 00100214 38 21 00 10 */ addi r1, r1, 0x10 +/* 801032B8 00100218 4E 80 00 20 */ blr + +.global BuildFaceLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox +BuildFaceLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox: +/* 801032BC 0010021C 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 801032C0 00100220 7C 08 02 A6 */ mflr r0 +/* 801032C4 00100224 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 801032C8 00100228 DB E1 01 90 */ stfd f31, 0x190(r1) +/* 801032CC 0010022C F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 +/* 801032D0 00100230 DB C1 01 80 */ stfd f30, 0x180(r1) +/* 801032D4 00100234 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 +/* 801032D8 00100238 DB A1 01 70 */ stfd f29, 0x170(r1) +/* 801032DC 0010023C F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 +/* 801032E0 00100240 BE E1 01 4C */ stmw r23, 0x14c(r1) +/* 801032E4 00100244 7C 9A 23 78 */ mr r26, r4 +/* 801032E8 00100248 7C 79 1B 78 */ mr r25, r3 +/* 801032EC 0010024C 80 84 08 70 */ lwz r4, 0x870(r4) +/* 801032F0 00100250 7C DB 33 78 */ mr r27, r6 +/* 801032F4 00100254 38 61 00 78 */ addi r3, r1, 0x78 +/* 801032F8 00100258 80 84 00 7C */ lwz r4, 0x7c(r4) +/* 801032FC 0010025C 38 84 00 34 */ addi r4, r4, 0x34 +/* 80103300 00100260 48 20 F8 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80103304 00100264 88 19 02 98 */ lbz r0, 0x298(r25) +/* 80103308 00100268 38 60 00 01 */ li r3, 1 +/* 8010330C 0010026C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80103310 00100270 3B B9 01 48 */ addi r29, r25, 0x148 +/* 80103314 00100274 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80103318 00100278 98 19 02 98 */ stb r0, 0x298(r25) +/* 8010331C 0010027C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80103320 00100280 C0 05 00 00 */ lfs f0, 0(r5) +/* 80103324 00100284 38 60 00 00 */ li r3, 0 +/* 80103328 00100288 D0 19 02 88 */ stfs f0, 0x288(r25) +/* 8010332C 0010028C C0 05 00 04 */ lfs f0, 4(r5) +/* 80103330 00100290 D0 19 02 8C */ stfs f0, 0x28c(r25) +/* 80103334 00100294 C0 05 00 08 */ lfs f0, 8(r5) +/* 80103338 00100298 D0 19 02 90 */ stfs f0, 0x290(r25) +/* 8010333C 0010029C 80 D9 01 44 */ lwz r6, 0x144(r25) +/* 80103340 001002A0 83 DA 08 30 */ lwz r30, 0x830(r26) +/* 80103344 001002A4 2C 06 00 00 */ cmpwi r6, 0 +/* 80103348 001002A8 40 81 00 40 */ ble lbl_80103388 +/* 8010334C 001002AC 2C 06 00 08 */ cmpwi r6, 8 +/* 80103350 001002B0 38 86 FF F8 */ addi r4, r6, -8 +/* 80103354 001002B4 40 81 00 20 */ ble lbl_80103374 +/* 80103358 001002B8 38 04 00 07 */ addi r0, r4, 7 +/* 8010335C 001002BC 54 00 E8 FE */ srwi r0, r0, 3 +/* 80103360 001002C0 7C 09 03 A6 */ mtctr r0 +/* 80103364 001002C4 2C 04 00 00 */ cmpwi r4, 0 +/* 80103368 001002C8 40 81 00 0C */ ble lbl_80103374 +lbl_8010336C: +/* 8010336C 001002CC 38 63 00 08 */ addi r3, r3, 8 +/* 80103370 001002D0 42 00 FF FC */ bdnz lbl_8010336C +lbl_80103374: +/* 80103374 001002D4 7C 03 30 50 */ subf r0, r3, r6 +/* 80103378 001002D8 7C 09 03 A6 */ mtctr r0 +/* 8010337C 001002DC 7C 03 30 00 */ cmpw r3, r6 +/* 80103380 001002E0 40 80 00 08 */ bge lbl_80103388 +lbl_80103384: +/* 80103384 001002E4 42 00 00 00 */ bdnz lbl_80103384 +lbl_80103388: +/* 80103388 001002E8 38 00 00 00 */ li r0, 0 +/* 8010338C 001002EC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80103390 001002F0 90 19 01 44 */ stw r0, 0x144(r25) +/* 80103394 001002F4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80103398 001002F8 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 8010339C 001002FC C3 E4 00 00 */ lfs f31, 0(r4) +/* 801033A0 00100300 3B E3 67 24 */ addi r31, r3, lbl_805A6724@l +/* 801033A4 00100304 C3 C5 00 04 */ lfs f30, 4(r5) +/* 801033A8 00100308 C3 A5 00 08 */ lfs f29, 8(r5) +/* 801033AC 0010030C AB 9E 20 08 */ lha r28, 0x2008(r30) +/* 801033B0 00100310 48 00 02 4C */ b lbl_801035FC +lbl_801033B4: +/* 801033B4 00100314 7F C3 F3 78 */ mr r3, r30 +/* 801033B8 00100318 7F 84 E3 78 */ mr r4, r28 +/* 801033BC 0010031C 4B F0 C9 21 */ bl __vc__11CObjectListCFi +/* 801033C0 00100320 28 03 00 00 */ cmplwi r3, 0 +/* 801033C4 00100324 41 82 02 1C */ beq lbl_801035E0 +/* 801033C8 00100328 88 03 00 30 */ lbz r0, 0x30(r3) +/* 801033CC 0010032C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801033D0 00100330 41 82 02 10 */ beq lbl_801035E0 +/* 801033D4 00100334 7C 64 1B 78 */ mr r4, r3 +/* 801033D8 00100338 38 61 00 18 */ addi r3, r1, 0x18 +/* 801033DC 0010033C 4B FA A6 A9 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 801033E0 00100340 83 03 00 04 */ lwz r24, 4(r3) +/* 801033E4 00100344 7F 43 D3 78 */ mr r3, r26 +/* 801033E8 00100348 38 81 00 0C */ addi r4, r1, 0xc +/* 801033EC 0010034C A0 18 00 E8 */ lhz r0, 0xe8(r24) +/* 801033F0 00100350 B0 01 00 08 */ sth r0, 8(r1) +/* 801033F4 00100354 B0 01 00 0C */ sth r0, 0xc(r1) +/* 801033F8 00100358 4B F4 91 AD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 801033FC 0010035C 7C 64 1B 78 */ mr r4, r3 +/* 80103400 00100360 38 61 00 10 */ addi r3, r1, 0x10 +/* 80103404 00100364 4B FA B3 7D */ bl "__ct__24TCastToPtr<10CExplosion>FP7CEntity" +/* 80103408 00100368 82 E3 00 04 */ lwz r23, 4(r3) +/* 8010340C 0010036C 28 17 00 00 */ cmplwi r23, 0 +/* 80103410 00100370 41 82 01 D0 */ beq lbl_801035E0 +/* 80103414 00100374 7F 04 C3 78 */ mr r4, r24 +/* 80103418 00100378 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8010341C 0010037C 4B FB 22 8D */ bl GetLight__10CGameLightCFv +/* 80103420 00100380 3B 01 00 A8 */ addi r24, r1, 0xa8 +/* 80103424 00100384 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80103428 00100388 7F 04 C3 78 */ mr r4, r24 +/* 8010342C 0010038C 4B F3 81 45 */ bl __ct__6CLightFCR6CLight +/* 80103430 00100390 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80103434 00100394 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80103438 00100398 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 8010343C 0010039C C0 24 01 A4 */ lfs f1, 0x1a4(r4) +/* 80103440 001003A0 C0 84 01 A8 */ lfs f4, 0x1a8(r4) +/* 80103444 001003A4 C0 41 01 20 */ lfs f2, 0x120(r1) +/* 80103448 001003A8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8010344C 001003AC C0 64 01 AC */ lfs f3, 0x1ac(r4) +/* 80103450 001003B0 C0 01 01 24 */ lfs f0, 0x124(r1) +/* 80103454 001003B4 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80103458 001003B8 EC 63 00 32 */ fmuls f3, f3, f0 +/* 8010345C 001003BC 48 20 2F 55 */ bl SetAttenuation__6CLightFfff +/* 80103460 001003C0 C0 57 00 60 */ lfs f2, 0x60(r23) +/* 80103464 001003C4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80103468 001003C8 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8010346C 001003CC 38 81 00 78 */ addi r4, r1, 0x78 +/* 80103470 001003D0 C0 97 00 50 */ lfs f4, 0x50(r23) +/* 80103474 001003D4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80103478 001003D8 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 8010347C 001003DC EC 02 00 28 */ fsubs f0, f2, f0 +/* 80103480 001003E0 C0 77 00 40 */ lfs f3, 0x40(r23) +/* 80103484 001003E4 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 80103488 001003E8 EC 24 08 28 */ fsubs f1, f4, f1 +/* 8010348C 001003EC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80103490 001003F0 EC 03 10 28 */ fsubs f0, f3, f2 +/* 80103494 001003F4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80103498 001003F8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8010349C 001003FC 48 20 F5 89 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 801034A0 00100400 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 801034A4 00100404 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 801034A8 00100408 C0 1F 00 04 */ lfs f0, 4(r31) +/* 801034AC 0010040C C0 A1 00 60 */ lfs f5, 0x60(r1) +/* 801034B0 00100410 EC 00 01 32 */ fmuls f0, f0, f4 +/* 801034B4 00100414 C0 23 67 24 */ lfs f1, lbl_805A6724@l(r3) +/* 801034B8 00100418 C0 61 00 68 */ lfs f3, 0x68(r1) +/* 801034BC 0010041C C0 5F 00 08 */ lfs f2, 8(r31) +/* 801034C0 00100420 EC 21 01 7A */ fmadds f1, f1, f5, f0 +/* 801034C4 00100424 C0 02 94 08 */ lfs f0, lbl_805AB128@sda21(r2) +/* 801034C8 00100428 D0 A1 00 6C */ stfs f5, 0x6c(r1) +/* 801034CC 0010042C EC 22 08 FA */ fmadds f1, f2, f3, f1 +/* 801034D0 00100430 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 801034D4 00100434 D0 61 00 74 */ stfs f3, 0x74(r1) +/* 801034D8 00100438 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801034DC 0010043C 41 80 01 04 */ blt lbl_801035E0 +/* 801034E0 00100440 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 801034E4 00100444 C0 23 01 44 */ lfs f1, 0x144(r3) +/* 801034E8 00100448 4B F7 0E 69 */ bl FaceReflectionDistanceDebugValueToActualValue__9CTweakGuiFf +/* 801034EC 0010044C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 801034F0 00100450 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 801034F4 00100454 FC 00 00 50 */ fneg f0, f0 +/* 801034F8 00100458 EC 00 08 2A */ fadds f0, f0, f1 +/* 801034FC 0010045C D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80103500 00100460 C0 23 01 48 */ lfs f1, 0x148(r3) +/* 80103504 00100464 4B F7 0E 3D */ bl FaceReflectionHeightDebugValueToActualValue__9CTweakGuiFf +/* 80103508 00100468 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8010350C 0010046C 38 61 00 54 */ addi r3, r1, 0x54 +/* 80103510 00100470 38 81 00 78 */ addi r4, r1, 0x78 +/* 80103514 00100474 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80103518 00100478 FC 00 00 50 */ fneg f0, f0 +/* 8010351C 0010047C EC 00 08 2A */ fadds f0, f0, f1 +/* 80103520 00100480 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80103524 00100484 48 20 F5 C5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80103528 00100488 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8010352C 0010048C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80103530 00100490 48 20 2E 11 */ bl SetPosition__6CLightFRC9CVector3f +/* 80103534 00100494 7F 03 C3 78 */ mr r3, r24 +/* 80103538 00100498 48 20 2D 9D */ bl GetRadius__6CLightCFv +/* 8010353C 0010049C C0 61 00 A8 */ lfs f3, 0xa8(r1) +/* 80103540 001004A0 7F 63 DB 78 */ mr r3, r27 +/* 80103544 001004A4 C0 41 00 AC */ lfs f2, 0xac(r1) +/* 80103548 001004A8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8010354C 001004AC C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 80103550 001004B0 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 80103554 001004B4 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80103558 001004B8 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8010355C 001004BC D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80103560 001004C0 48 1C F4 6D */ bl AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere +/* 80103564 001004C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80103568 001004C8 41 82 00 78 */ beq lbl_801035E0 +/* 8010356C 001004CC C0 41 00 84 */ lfs f2, 0x84(r1) +/* 80103570 001004D0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80103574 001004D4 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 80103578 001004D8 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8010357C 001004DC C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 80103580 001004E0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80103584 001004E4 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80103588 001004E8 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8010358C 001004EC D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80103590 001004F0 48 20 2A 95 */ bl GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f +/* 80103594 001004F4 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 80103598 001004F8 7F 03 C3 78 */ mr r3, r24 +/* 8010359C 001004FC C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 801035A0 00100500 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 801035A4 00100504 EF FF 10 2A */ fadds f31, f31, f2 +/* 801035A8 00100508 EF DE 08 2A */ fadds f30, f30, f1 +/* 801035AC 0010050C EF BD 00 2A */ fadds f29, f29, f0 +/* 801035B0 00100510 48 20 2B A5 */ bl GetIntensity__6CLightCFv +/* 801035B4 00100514 C0 02 94 0C */ lfs f0, lbl_805AB12C@sda21(r2) +/* 801035B8 00100518 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801035BC 0010051C 40 81 00 24 */ ble lbl_801035E0 +/* 801035C0 00100520 7F 03 C3 78 */ mr r3, r24 +/* 801035C4 00100524 48 20 2D 11 */ bl GetRadius__6CLightCFv +/* 801035C8 00100528 C0 02 94 0C */ lfs f0, lbl_805AB12C@sda21(r2) +/* 801035CC 0010052C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801035D0 00100530 40 81 00 10 */ ble lbl_801035E0 +/* 801035D4 00100534 38 79 01 44 */ addi r3, r25, 0x144 +/* 801035D8 00100538 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 801035DC 0010053C 4B FF FC 71 */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" +lbl_801035E0: +/* 801035E0 00100540 2C 1C FF FF */ cmpwi r28, -1 +/* 801035E4 00100544 41 82 00 14 */ beq lbl_801035F8 +/* 801035E8 00100548 57 83 18 38 */ slwi r3, r28, 3 +/* 801035EC 0010054C 38 03 00 08 */ addi r0, r3, 8 +/* 801035F0 00100550 7F 9E 02 AE */ lhax r28, r30, r0 +/* 801035F4 00100554 48 00 00 08 */ b lbl_801035FC +lbl_801035F8: +/* 801035F8 00100558 3B 80 FF FF */ li r28, -1 +lbl_801035FC: +/* 801035FC 0010055C 2C 1C FF FF */ cmpwi r28, -1 +/* 80103600 00100560 41 82 00 14 */ beq lbl_80103614 +/* 80103604 00100564 80 79 01 44 */ lwz r3, 0x144(r25) +/* 80103608 00100568 80 19 02 BC */ lwz r0, 0x2bc(r25) +/* 8010360C 0010056C 7C 03 00 00 */ cmpw r3, r0 +/* 80103610 00100570 41 80 FD A4 */ blt lbl_801033B4 +lbl_80103614: +/* 80103614 00100574 C0 02 94 18 */ lfs f0, lbl_805AB138@sda21(r2) +/* 80103618 00100578 C0 42 94 14 */ lfs f2, lbl_805AB134@sda21(r2) +/* 8010361C 0010057C EC 20 07 B2 */ fmuls f1, f0, f30 +/* 80103620 00100580 C0 62 94 10 */ lfs f3, lbl_805AB130@sda21(r2) +/* 80103624 00100584 C0 02 94 1C */ lfs f0, lbl_805AB13C@sda21(r2) +/* 80103628 00100588 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 8010362C 0010058C EC 23 0F 7A */ fmadds f1, f3, f29, f1 +/* 80103630 00100590 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80103634 00100594 40 80 00 58 */ bge lbl_8010368C +/* 80103638 00100598 80 B9 01 44 */ lwz r5, 0x144(r25) +/* 8010363C 0010059C 38 60 00 00 */ li r3, 0 +/* 80103640 001005A0 2C 05 00 00 */ cmpwi r5, 0 +/* 80103644 001005A4 40 81 00 40 */ ble lbl_80103684 +/* 80103648 001005A8 2C 05 00 08 */ cmpwi r5, 8 +/* 8010364C 001005AC 38 85 FF F8 */ addi r4, r5, -8 +/* 80103650 001005B0 40 81 00 20 */ ble lbl_80103670 +/* 80103654 001005B4 38 04 00 07 */ addi r0, r4, 7 +/* 80103658 001005B8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8010365C 001005BC 7C 09 03 A6 */ mtctr r0 +/* 80103660 001005C0 2C 04 00 00 */ cmpwi r4, 0 +/* 80103664 001005C4 40 81 00 0C */ ble lbl_80103670 +lbl_80103668: +/* 80103668 001005C8 38 63 00 08 */ addi r3, r3, 8 +/* 8010366C 001005CC 42 00 FF FC */ bdnz lbl_80103668 +lbl_80103670: +/* 80103670 001005D0 7C 03 28 50 */ subf r0, r3, r5 +/* 80103674 001005D4 7C 09 03 A6 */ mtctr r0 +/* 80103678 001005D8 7C 03 28 00 */ cmpw r3, r5 +/* 8010367C 001005DC 40 80 00 08 */ bge lbl_80103684 +lbl_80103680: +/* 80103680 001005E0 42 00 00 00 */ bdnz lbl_80103680 +lbl_80103684: +/* 80103684 001005E4 38 00 00 00 */ li r0, 0 +/* 80103688 001005E8 90 19 01 44 */ stw r0, 0x144(r25) +lbl_8010368C: +/* 8010368C 001005EC C0 02 94 20 */ lfs f0, lbl_805AB140@sda21(r2) +/* 80103690 001005F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80103694 001005F4 40 81 00 50 */ ble lbl_801036E4 +/* 80103698 001005F8 EC 20 08 24 */ fdivs f1, f0, f1 +/* 8010369C 001005FC C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) +/* 801036A0 00100600 7F B7 EB 78 */ mr r23, r29 +/* 801036A4 00100604 EF A0 08 24 */ fdivs f29, f0, f1 +/* 801036A8 00100608 48 00 00 28 */ b lbl_801036D0 +lbl_801036AC: +/* 801036AC 0010060C C0 37 00 24 */ lfs f1, 0x24(r23) +/* 801036B0 00100610 7E E3 BB 78 */ mr r3, r23 +/* 801036B4 00100614 C0 57 00 28 */ lfs f2, 0x28(r23) +/* 801036B8 00100618 C0 17 00 2C */ lfs f0, 0x2c(r23) +/* 801036BC 0010061C EC 3D 00 72 */ fmuls f1, f29, f1 +/* 801036C0 00100620 EC 5D 00 B2 */ fmuls f2, f29, f2 +/* 801036C4 00100624 EC 7D 00 32 */ fmuls f3, f29, f0 +/* 801036C8 00100628 48 20 2C E9 */ bl SetAttenuation__6CLightFfff +/* 801036CC 0010062C 3A F7 00 50 */ addi r23, r23, 0x50 +lbl_801036D0: +/* 801036D0 00100630 80 19 01 44 */ lwz r0, 0x144(r25) +/* 801036D4 00100634 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 801036D8 00100638 7C 1D 02 14 */ add r0, r29, r0 +/* 801036DC 0010063C 7C 17 00 40 */ cmplw r23, r0 +/* 801036E0 00100640 40 82 FF CC */ bne lbl_801036AC +lbl_801036E4: +/* 801036E4 00100644 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 +/* 801036E8 00100648 CB E1 01 90 */ lfd f31, 0x190(r1) +/* 801036EC 0010064C E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 +/* 801036F0 00100650 CB C1 01 80 */ lfd f30, 0x180(r1) +/* 801036F4 00100654 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 +/* 801036F8 00100658 CB A1 01 70 */ lfd f29, 0x170(r1) +/* 801036FC 0010065C BA E1 01 4C */ lmw r23, 0x14c(r1) +/* 80103700 00100660 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 80103704 00100664 7C 08 03 A6 */ mtlr r0 +/* 80103708 00100668 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 8010370C 0010066C 4E 80 00 20 */ blr + +.global BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox +BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox: +/* 80103710 00100670 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80103714 00100674 7C 08 02 A6 */ mflr r0 +/* 80103718 00100678 90 01 00 84 */ stw r0, 0x84(r1) +/* 8010371C 0010067C BE E1 00 5C */ stmw r23, 0x5c(r1) +/* 80103720 00100680 7C 78 1B 78 */ mr r24, r3 +/* 80103724 00100684 7C 99 23 78 */ mr r25, r4 +/* 80103728 00100688 7C BA 2B 78 */ mr r26, r5 +/* 8010372C 0010068C 48 00 16 05 */ bl UpdateBrightLight__12CActorLightsFv +/* 80103730 00100690 38 60 00 00 */ li r3, 0 +/* 80103734 00100694 88 18 02 99 */ lbz r0, 0x299(r24) +/* 80103738 00100698 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8010373C 0010069C 3B B8 01 48 */ addi r29, r24, 0x148 +/* 80103740 001006A0 98 18 02 99 */ stb r0, 0x299(r24) +/* 80103744 001006A4 80 B8 01 44 */ lwz r5, 0x144(r24) +/* 80103748 001006A8 2C 05 00 00 */ cmpwi r5, 0 +/* 8010374C 001006AC 40 81 00 40 */ ble lbl_8010378C +/* 80103750 001006B0 2C 05 00 08 */ cmpwi r5, 8 +/* 80103754 001006B4 38 85 FF F8 */ addi r4, r5, -8 +/* 80103758 001006B8 40 81 00 20 */ ble lbl_80103778 +/* 8010375C 001006BC 38 04 00 07 */ addi r0, r4, 7 +/* 80103760 001006C0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80103764 001006C4 7C 09 03 A6 */ mtctr r0 +/* 80103768 001006C8 2C 04 00 00 */ cmpwi r4, 0 +/* 8010376C 001006CC 40 81 00 0C */ ble lbl_80103778 +lbl_80103770: +/* 80103770 001006D0 38 63 00 08 */ addi r3, r3, 8 +/* 80103774 001006D4 42 00 FF FC */ bdnz lbl_80103770 +lbl_80103778: +/* 80103778 001006D8 7C 03 28 50 */ subf r0, r3, r5 +/* 8010377C 001006DC 7C 09 03 A6 */ mtctr r0 +/* 80103780 001006E0 7C 03 28 00 */ cmpw r3, r5 +/* 80103784 001006E4 40 80 00 08 */ bge lbl_8010378C +lbl_80103788: +/* 80103788 001006E8 42 00 00 00 */ bdnz lbl_80103788 +lbl_8010378C: +/* 8010378C 001006EC 3B C0 00 00 */ li r30, 0 +/* 80103790 001006F0 93 D8 01 44 */ stw r30, 0x144(r24) +/* 80103794 001006F4 88 18 02 9A */ lbz r0, 0x29a(r24) +/* 80103798 001006F8 28 00 00 00 */ cmplwi r0, 0 +/* 8010379C 001006FC 40 82 00 80 */ bne lbl_8010381C +/* 801037A0 00100700 3B 80 00 00 */ li r28, 0 +/* 801037A4 00100704 48 00 00 58 */ b lbl_801037FC +lbl_801037A8: +/* 801037A8 00100708 80 19 08 EC */ lwz r0, 0x8ec(r25) +/* 801037AC 0010070C 7F 60 F2 14 */ add r27, r0, r30 +/* 801037B0 00100710 7F 63 DB 78 */ mr r3, r27 +/* 801037B4 00100714 48 20 2B 21 */ bl GetRadius__6CLightCFv +/* 801037B8 00100718 C0 1B 00 00 */ lfs f0, 0(r27) +/* 801037BC 0010071C 7F 43 D3 78 */ mr r3, r26 +/* 801037C0 00100720 38 81 00 28 */ addi r4, r1, 0x28 +/* 801037C4 00100724 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 801037C8 00100728 C0 1B 00 04 */ lfs f0, 4(r27) +/* 801037CC 0010072C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 801037D0 00100730 C0 1B 00 08 */ lfs f0, 8(r27) +/* 801037D4 00100734 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 801037D8 00100738 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 801037DC 0010073C 48 1C F1 F1 */ bl AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere +/* 801037E0 00100740 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801037E4 00100744 41 82 00 10 */ beq lbl_801037F4 +/* 801037E8 00100748 7F 64 DB 78 */ mr r4, r27 +/* 801037EC 0010074C 38 78 01 44 */ addi r3, r24, 0x144 +/* 801037F0 00100750 4B FF FA 5D */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" +lbl_801037F4: +/* 801037F4 00100754 3B DE 00 50 */ addi r30, r30, 0x50 +/* 801037F8 00100758 3B 9C 00 01 */ addi r28, r28, 1 +lbl_801037FC: +/* 801037FC 0010075C 80 19 08 E4 */ lwz r0, 0x8e4(r25) +/* 80103800 00100760 7C 1C 00 00 */ cmpw r28, r0 +/* 80103804 00100764 40 80 02 28 */ bge lbl_80103A2C +/* 80103808 00100768 80 78 01 44 */ lwz r3, 0x144(r24) +/* 8010380C 0010076C 80 18 02 BC */ lwz r0, 0x2bc(r24) +/* 80103810 00100770 7C 03 00 00 */ cmpw r3, r0 +/* 80103814 00100774 41 80 FF 94 */ blt lbl_801037A8 +/* 80103818 00100778 48 00 02 14 */ b lbl_80103A2C +lbl_8010381C: +/* 8010381C 0010077C 3C 60 80 3D */ lis r3, lbl_803CEE40@ha +/* 80103820 00100780 3B 80 00 00 */ li r28, 0 +/* 80103824 00100784 38 C3 EE 40 */ addi r6, r3, lbl_803CEE40@l +/* 80103828 00100788 80 A6 00 00 */ lwz r5, 0(r6) +/* 8010382C 0010078C 80 86 00 04 */ lwz r4, 4(r6) +/* 80103830 00100790 80 66 00 08 */ lwz r3, 8(r6) +/* 80103834 00100794 80 06 00 0C */ lwz r0, 0xc(r6) +/* 80103838 00100798 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8010383C 0010079C 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80103840 001007A0 90 61 00 40 */ stw r3, 0x40(r1) +/* 80103844 001007A4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80103848 001007A8 48 00 01 CC */ b lbl_80103A14 +lbl_8010384C: +/* 8010384C 001007AC 80 19 08 EC */ lwz r0, 0x8ec(r25) +/* 80103850 001007B0 38 81 00 48 */ addi r4, r1, 0x48 +/* 80103854 001007B4 3B 60 00 00 */ li r27, 0 +/* 80103858 001007B8 3A E0 00 00 */ li r23, 0 +/* 8010385C 001007BC 7F E0 F2 14 */ add r31, r0, r30 +/* 80103860 001007C0 7C 69 03 A6 */ mtctr r3 +/* 80103864 001007C4 2C 03 00 00 */ cmpwi r3, 0 +/* 80103868 001007C8 40 81 01 28 */ ble lbl_80103990 +lbl_8010386C: +/* 8010386C 001007CC 80 64 00 00 */ lwz r3, 0(r4) +/* 80103870 001007D0 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 80103874 001007D4 7C 03 00 00 */ cmpw r3, r0 +/* 80103878 001007D8 40 82 01 0C */ bne lbl_80103984 +/* 8010387C 001007DC 7F E3 FB 78 */ mr r3, r31 +/* 80103880 001007E0 48 20 2A 55 */ bl GetRadius__6CLightCFv +/* 80103884 001007E4 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80103888 001007E8 7F 43 D3 78 */ mr r3, r26 +/* 8010388C 001007EC 38 81 00 18 */ addi r4, r1, 0x18 +/* 80103890 001007F0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80103894 001007F4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80103898 001007F8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8010389C 001007FC C0 1F 00 08 */ lfs f0, 8(r31) +/* 801038A0 00100800 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 801038A4 00100804 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 801038A8 00100808 48 1C F0 41 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere +/* 801038AC 0010080C C0 02 94 08 */ lfs f0, lbl_805AB128@sda21(r2) +/* 801038B0 00100810 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801038B4 00100814 4C 41 13 82 */ cror 2, 1, 2 +/* 801038B8 00100818 40 82 00 D8 */ bne lbl_80103990 +/* 801038BC 0010081C 56 E5 10 3A */ slwi r5, r23, 2 +/* 801038C0 00100820 38 C1 00 38 */ addi r6, r1, 0x38 +/* 801038C4 00100824 7C 06 2C 2E */ lfsx f0, r6, r5 +/* 801038C8 00100828 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801038CC 0010082C 40 81 00 C4 */ ble lbl_80103990 +/* 801038D0 00100830 1C 97 00 50 */ mulli r4, r23, 0x50 +/* 801038D4 00100834 80 7F 00 00 */ lwz r3, 0(r31) +/* 801038D8 00100838 80 1F 00 04 */ lwz r0, 4(r31) +/* 801038DC 0010083C 3B 60 00 01 */ li r27, 1 +/* 801038E0 00100840 7C 26 2D 2E */ stfsx f1, r6, r5 +/* 801038E4 00100844 7C 9D 22 14 */ add r4, r29, r4 +/* 801038E8 00100848 90 64 00 00 */ stw r3, 0(r4) +/* 801038EC 0010084C 90 04 00 04 */ stw r0, 4(r4) +/* 801038F0 00100850 80 1F 00 08 */ lwz r0, 8(r31) +/* 801038F4 00100854 90 04 00 08 */ stw r0, 8(r4) +/* 801038F8 00100858 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 801038FC 0010085C 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80103900 00100860 90 64 00 0C */ stw r3, 0xc(r4) +/* 80103904 00100864 90 04 00 10 */ stw r0, 0x10(r4) +/* 80103908 00100868 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 8010390C 0010086C 90 04 00 14 */ stw r0, 0x14(r4) +/* 80103910 00100870 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80103914 00100874 90 04 00 18 */ stw r0, 0x18(r4) +/* 80103918 00100878 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 8010391C 0010087C 90 04 00 1C */ stw r0, 0x1c(r4) +/* 80103920 00100880 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 80103924 00100884 D0 04 00 20 */ stfs f0, 0x20(r4) +/* 80103928 00100888 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8010392C 0010088C D0 04 00 24 */ stfs f0, 0x24(r4) +/* 80103930 00100890 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 80103934 00100894 D0 04 00 28 */ stfs f0, 0x28(r4) +/* 80103938 00100898 C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8010393C 0010089C D0 04 00 2C */ stfs f0, 0x2c(r4) +/* 80103940 001008A0 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 80103944 001008A4 D0 04 00 30 */ stfs f0, 0x30(r4) +/* 80103948 001008A8 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8010394C 001008AC D0 04 00 34 */ stfs f0, 0x34(r4) +/* 80103950 001008B0 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80103954 001008B4 D0 04 00 38 */ stfs f0, 0x38(r4) +/* 80103958 001008B8 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8010395C 001008BC 90 04 00 3C */ stw r0, 0x3c(r4) +/* 80103960 001008C0 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 80103964 001008C4 90 04 00 40 */ stw r0, 0x40(r4) +/* 80103968 001008C8 C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 8010396C 001008CC D0 04 00 44 */ stfs f0, 0x44(r4) +/* 80103970 001008D0 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 80103974 001008D4 D0 04 00 48 */ stfs f0, 0x48(r4) +/* 80103978 001008D8 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 8010397C 001008DC 98 04 00 4C */ stb r0, 0x4c(r4) +/* 80103980 001008E0 48 00 00 10 */ b lbl_80103990 +lbl_80103984: +/* 80103984 001008E4 38 84 00 04 */ addi r4, r4, 4 +/* 80103988 001008E8 3A F7 00 01 */ addi r23, r23, 1 +/* 8010398C 001008EC 42 00 FE E0 */ bdnz lbl_8010386C +lbl_80103990: +/* 80103990 001008F0 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80103994 001008F4 40 82 00 78 */ bne lbl_80103A0C +/* 80103998 001008F8 7F E3 FB 78 */ mr r3, r31 +/* 8010399C 001008FC 48 20 29 39 */ bl GetRadius__6CLightCFv +/* 801039A0 00100900 C0 1F 00 00 */ lfs f0, 0(r31) +/* 801039A4 00100904 7F 43 D3 78 */ mr r3, r26 +/* 801039A8 00100908 38 81 00 08 */ addi r4, r1, 8 +/* 801039AC 0010090C D0 01 00 08 */ stfs f0, 8(r1) +/* 801039B0 00100910 C0 1F 00 04 */ lfs f0, 4(r31) +/* 801039B4 00100914 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 801039B8 00100918 C0 1F 00 08 */ lfs f0, 8(r31) +/* 801039BC 0010091C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 801039C0 00100920 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 801039C4 00100924 83 78 01 44 */ lwz r27, 0x144(r24) +/* 801039C8 00100928 48 1C EF 21 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere +/* 801039CC 0010092C 80 18 01 44 */ lwz r0, 0x144(r24) +/* 801039D0 00100930 57 64 10 3A */ slwi r4, r27, 2 +/* 801039D4 00100934 38 61 00 38 */ addi r3, r1, 0x38 +/* 801039D8 00100938 C0 02 94 08 */ lfs f0, lbl_805AB128@sda21(r2) +/* 801039DC 0010093C 7C 23 25 2E */ stfsx f1, r3, r4 +/* 801039E0 00100940 54 06 10 3A */ slwi r6, r0, 2 +/* 801039E4 00100944 7C 23 34 2E */ lfsx f1, r3, r6 +/* 801039E8 00100948 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801039EC 0010094C 4C 41 13 82 */ cror 2, 1, 2 +/* 801039F0 00100950 40 82 00 1C */ bne lbl_80103A0C +/* 801039F4 00100954 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 801039F8 00100958 38 A1 00 48 */ addi r5, r1, 0x48 +/* 801039FC 0010095C 7F E4 FB 78 */ mr r4, r31 +/* 80103A00 00100960 38 78 01 44 */ addi r3, r24, 0x144 +/* 80103A04 00100964 7C 05 31 2E */ stwx r0, r5, r6 +/* 80103A08 00100968 4B FF F8 45 */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" +lbl_80103A0C: +/* 80103A0C 0010096C 3B DE 00 50 */ addi r30, r30, 0x50 +/* 80103A10 00100970 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80103A14: +/* 80103A14 00100974 80 19 08 E4 */ lwz r0, 0x8e4(r25) +/* 80103A18 00100978 7C 1C 00 00 */ cmpw r28, r0 +/* 80103A1C 0010097C 40 80 00 10 */ bge lbl_80103A2C +/* 80103A20 00100980 80 78 01 44 */ lwz r3, 0x144(r24) +/* 80103A24 00100984 2C 03 00 04 */ cmpwi r3, 4 +/* 80103A28 00100988 41 80 FE 24 */ blt lbl_8010384C +lbl_80103A2C: +/* 80103A2C 0010098C BA E1 00 5C */ lmw r23, 0x5c(r1) +/* 80103A30 00100990 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80103A34 00100994 7C 08 03 A6 */ mtlr r0 +/* 80103A38 00100998 38 21 00 80 */ addi r1, r1, 0x80 + +.global sub_80103a3c +sub_80103a3c: +/* 80103A3C 0010099C 4E 80 00 20 */ blr + +.global MoveAmbienceToLights__12CActorLightsFRC9CVector3f +MoveAmbienceToLights__12CActorLightsFRC9CVector3f: +/* 80103A40 001009A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80103A44 001009A4 7C 08 02 A6 */ mflr r0 +/* 80103A48 001009A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80103A4C 001009AC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80103A50 001009B0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80103A54 001009B4 7C 9E 23 78 */ mr r30, r4 +/* 80103A58 001009B8 88 03 02 98 */ lbz r0, 0x298(r3) +/* 80103A5C 001009BC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80103A60 001009C0 40 82 00 1C */ bne lbl_80103A7C +/* 80103A64 001009C4 88 0D 89 A0 */ lbz r0, lbl_805A7560@sda21(r13) +/* 80103A68 001009C8 28 00 00 00 */ cmplwi r0, 0 +/* 80103A6C 001009CC 41 82 00 10 */ beq lbl_80103A7C +/* 80103A70 001009D0 80 03 00 00 */ lwz r0, 0(r3) +/* 80103A74 001009D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80103A78 001009D8 40 82 00 48 */ bne lbl_80103AC0 +lbl_80103A7C: +/* 80103A7C 001009DC C0 82 94 28 */ lfs f4, lbl_805AB148@sda21(r2) +/* 80103A80 001009E0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 80103A84 001009E4 C0 7E 00 04 */ lfs f3, 4(r30) +/* 80103A88 001009E8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80103A8C 001009EC C0 23 02 88 */ lfs f1, 0x288(r3) +/* 80103A90 001009F0 C0 5E 00 08 */ lfs f2, 8(r30) +/* 80103A94 001009F4 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80103A98 001009F8 EC 01 00 2A */ fadds f0, f1, f0 +/* 80103A9C 001009FC EC 24 00 B2 */ fmuls f1, f4, f2 +/* 80103AA0 00100A00 D0 03 02 88 */ stfs f0, 0x288(r3) +/* 80103AA4 00100A04 C0 03 02 8C */ lfs f0, 0x28c(r3) +/* 80103AA8 00100A08 EC 00 18 2A */ fadds f0, f0, f3 +/* 80103AAC 00100A0C D0 03 02 8C */ stfs f0, 0x28c(r3) +/* 80103AB0 00100A10 C0 03 02 90 */ lfs f0, 0x290(r3) +/* 80103AB4 00100A14 EC 00 08 2A */ fadds f0, f0, f1 +/* 80103AB8 00100A18 D0 03 02 90 */ stfs f0, 0x290(r3) +/* 80103ABC 00100A1C 48 00 00 E4 */ b lbl_80103BA0 +lbl_80103AC0: +/* 80103AC0 00100A20 3B E3 00 04 */ addi r31, r3, 4 +/* 80103AC4 00100A24 38 81 00 18 */ addi r4, r1, 0x18 +/* 80103AC8 00100A28 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80103ACC 00100A2C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80103AD0 00100A30 38 C1 00 10 */ addi r6, r1, 0x10 +/* 80103AD4 00100A34 48 25 F8 65 */ bl Get__6CColorCFRfRfRf +/* 80103AD8 00100A38 C0 7E 00 04 */ lfs f3, 4(r30) +/* 80103ADC 00100A3C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80103AE0 00100A40 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80103AE4 00100A44 38 81 00 24 */ addi r4, r1, 0x24 +/* 80103AE8 00100A48 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80103AEC 00100A4C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80103AF0 00100A50 EC 63 10 2A */ fadds f3, f3, f2 +/* 80103AF4 00100A54 C0 5E 00 08 */ lfs f2, 8(r30) +/* 80103AF8 00100A58 EC 01 00 2A */ fadds f0, f1, f0 +/* 80103AFC 00100A5C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80103B00 00100A60 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80103B04 00100A64 EC 22 08 2A */ fadds f1, f2, f1 +/* 80103B08 00100A68 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 80103B0C 00100A6C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80103B10 00100A70 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80103B14 00100A74 40 80 00 08 */ bge lbl_80103B1C +/* 80103B18 00100A78 48 00 00 08 */ b lbl_80103B20 +lbl_80103B1C: +/* 80103B1C 00100A7C 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80103B20: +/* 80103B20 00100A80 C0 23 00 00 */ lfs f1, 0(r3) +/* 80103B24 00100A84 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80103B28 00100A88 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80103B2C 00100A8C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80103B30 00100A90 40 80 00 08 */ bge lbl_80103B38 +/* 80103B34 00100A94 48 00 00 08 */ b lbl_80103B3C +lbl_80103B38: +/* 80103B38 00100A98 38 81 00 0C */ addi r4, r1, 0xc +lbl_80103B3C: +/* 80103B3C 00100A9C C0 24 00 00 */ lfs f1, 0(r4) +/* 80103B40 00100AA0 C0 02 94 0C */ lfs f0, lbl_805AB12C@sda21(r2) +/* 80103B44 00100AA4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80103B48 00100AA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80103B4C 00100AAC 40 81 00 30 */ ble lbl_80103B7C +/* 80103B50 00100AB0 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) +/* 80103B54 00100AB4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80103B58 00100AB8 EC 60 08 24 */ fdivs f3, f0, f1 +/* 80103B5C 00100ABC C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80103B60 00100AC0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80103B64 00100AC4 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80103B68 00100AC8 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80103B6C 00100ACC EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80103B70 00100AD0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80103B74 00100AD4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80103B78 00100AD8 D0 01 00 24 */ stfs f0, 0x24(r1) +lbl_80103B7C: +/* 80103B7C 00100ADC C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80103B80 00100AE0 38 61 00 08 */ addi r3, r1, 8 +/* 80103B84 00100AE4 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80103B88 00100AE8 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 80103B8C 00100AEC C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) +/* 80103B90 00100AF0 48 25 F8 5D */ bl __ct__6CColorFffff +/* 80103B94 00100AF4 7C 64 1B 78 */ mr r4, r3 +/* 80103B98 00100AF8 7F E3 FB 78 */ mr r3, r31 +/* 80103B9C 00100AFC 48 20 27 C1 */ bl SetColor__6CLightFRC6CColor +lbl_80103BA0: +/* 80103BA0 00100B00 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80103BA4 00100B04 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80103BA8 00100B08 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80103BAC 00100B0C 7C 08 03 A6 */ mtlr r0 +/* 80103BB0 00100B10 38 21 00 30 */ addi r1, r1, 0x30 +/* 80103BB4 00100B14 4E 80 00 20 */ blr + +.global AddOverflowToLights__12CActorLightsFRC6CLightRC9CVector3f +AddOverflowToLights__12CActorLightsFRC6CLightRC9CVector3f: +/* 80103BB8 00100B18 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80103BBC 00100B1C 7C 08 02 A6 */ mflr r0 +/* 80103BC0 00100B20 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80103BC4 00100B24 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 80103BC8 00100B28 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 80103BCC 00100B2C 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 80103BD0 00100B30 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 80103BD4 00100B34 C0 02 94 2C */ lfs f0, lbl_805AB14C@sda21(r2) +/* 80103BD8 00100B38 7C 7E 1B 78 */ mr r30, r3 +/* 80103BDC 00100B3C 7C 9F 23 78 */ mr r31, r4 +/* 80103BE0 00100B40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80103BE4 00100B44 41 80 00 E0 */ blt lbl_80103CC4 +/* 80103BE8 00100B48 80 1E 02 B8 */ lwz r0, 0x2b8(r30) +/* 80103BEC 00100B4C 2C 00 00 01 */ cmpwi r0, 1 +/* 80103BF0 00100B50 40 80 00 08 */ bge lbl_80103BF8 +/* 80103BF4 00100B54 48 00 00 D0 */ b lbl_80103CC4 +lbl_80103BF8: +/* 80103BF8 00100B58 C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) +/* 80103BFC 00100B5C 38 61 00 08 */ addi r3, r1, 8 +/* 80103C00 00100B60 C0 65 00 00 */ lfs f3, 0(r5) +/* 80103C04 00100B64 EF E4 08 24 */ fdivs f31, f4, f1 +/* 80103C08 00100B68 C0 45 00 04 */ lfs f2, 4(r5) +/* 80103C0C 00100B6C C0 05 00 08 */ lfs f0, 8(r5) +/* 80103C10 00100B70 EC 3F 00 F2 */ fmuls f1, f31, f3 +/* 80103C14 00100B74 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80103C18 00100B78 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 80103C1C 00100B7C 48 25 F7 D1 */ bl __ct__6CColorFffff +/* 80103C20 00100B80 C0 5F 00 10 */ lfs f2, 0x10(r31) +/* 80103C24 00100B84 38 61 00 24 */ addi r3, r1, 0x24 +/* 80103C28 00100B88 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 80103C2C 00100B8C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80103C30 00100B90 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80103C34 00100B94 ED 5F 00 B2 */ fmuls f10, f31, f2 +/* 80103C38 00100B98 C0 5F 00 04 */ lfs f2, 4(r31) +/* 80103C3C 00100B9C ED 3F 00 72 */ fmuls f9, f31, f1 +/* 80103C40 00100BA0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80103C44 00100BA4 EC DF 00 32 */ fmuls f6, f31, f0 +/* 80103C48 00100BA8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80103C4C 00100BAC ED 1F 00 B2 */ fmuls f8, f31, f2 +/* 80103C50 00100BB0 C1 7F 00 38 */ lfs f11, 0x38(r31) +/* 80103C54 00100BB4 EC FF 00 72 */ fmuls f7, f31, f1 +/* 80103C58 00100BB8 C0 3F 00 34 */ lfs f1, 0x34(r31) +/* 80103C5C 00100BBC EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80103C60 00100BC0 C0 5F 00 30 */ lfs f2, 0x30(r31) +/* 80103C64 00100BC4 C0 7F 00 2C */ lfs f3, 0x2c(r31) +/* 80103C68 00100BC8 EC 9F 00 B2 */ fmuls f4, f31, f2 +/* 80103C6C 00100BCC C0 5F 00 28 */ lfs f2, 0x28(r31) +/* 80103C70 00100BD0 EC BF 00 72 */ fmuls f5, f31, f1 +/* 80103C74 00100BD4 C0 3F 00 24 */ lfs f1, 0x24(r31) +/* 80103C78 00100BD8 EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 80103C7C 00100BDC EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80103C80 00100BE0 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80103C84 00100BE4 D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 80103C88 00100BE8 EC DF 02 F2 */ fmuls f6, f31, f11 +/* 80103C8C 00100BEC 38 A1 00 0C */ addi r5, r1, 0xc +/* 80103C90 00100BF0 D1 41 00 10 */ stfs f10, 0x10(r1) +/* 80103C94 00100BF4 38 C1 00 08 */ addi r6, r1, 8 +/* 80103C98 00100BF8 D1 21 00 14 */ stfs f9, 0x14(r1) +/* 80103C9C 00100BFC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80103CA0 00100C00 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 80103CA4 00100C04 D0 E1 00 20 */ stfs f7, 0x20(r1) +/* 80103CA8 00100C08 48 20 27 35 */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +/* 80103CAC 00100C0C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80103CB0 00100C10 38 81 00 24 */ addi r4, r1, 0x24 +/* 80103CB4 00100C14 4B F3 78 BD */ bl __ct__6CLightFCR6CLight +/* 80103CB8 00100C18 7F C3 F3 78 */ mr r3, r30 +/* 80103CBC 00100C1C 38 81 00 74 */ addi r4, r1, 0x74 +/* 80103CC0 00100C20 4B FF F5 8D */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" +lbl_80103CC4: +/* 80103CC4 00100C24 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80103CC8 00100C28 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80103CCC 00100C2C CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 80103CD0 00100C30 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 80103CD4 00100C34 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 80103CD8 00100C38 7C 08 03 A6 */ mtlr r0 +/* 80103CDC 00100C3C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80103CE0 00100C40 4E 80 00 20 */ blr + +.global MultiplyLightingLevels__12CActorLightsFf +MultiplyLightingLevels__12CActorLightsFf: +/* 80103CE4 00100C44 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80103CE8 00100C48 7C 08 02 A6 */ mflr r0 +/* 80103CEC 00100C4C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80103CF0 00100C50 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80103CF4 00100C54 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80103CF8 00100C58 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80103CFC 00100C5C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80103D00 00100C60 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80103D04 00100C64 7C 7D 1B 78 */ mr r29, r3 +/* 80103D08 00100C68 FF E0 08 90 */ fmr f31, f1 +/* 80103D0C 00100C6C C0 03 02 88 */ lfs f0, 0x288(r3) +/* 80103D10 00100C70 3B FD 00 04 */ addi r31, r29, 4 +/* 80103D14 00100C74 3B C0 00 00 */ li r30, 0 +/* 80103D18 00100C78 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80103D1C 00100C7C D0 03 02 88 */ stfs f0, 0x288(r3) +/* 80103D20 00100C80 C0 03 02 8C */ lfs f0, 0x28c(r3) +/* 80103D24 00100C84 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80103D28 00100C88 D0 03 02 8C */ stfs f0, 0x28c(r3) +/* 80103D2C 00100C8C C0 03 02 90 */ lfs f0, 0x290(r3) +/* 80103D30 00100C90 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 80103D34 00100C94 D0 03 02 90 */ stfs f0, 0x290(r3) +/* 80103D38 00100C98 48 00 00 58 */ b lbl_80103D90 +lbl_80103D3C: +/* 80103D3C 00100C9C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 80103D40 00100CA0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80103D44 00100CA4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80103D48 00100CA8 38 A1 00 0C */ addi r5, r1, 0xc +/* 80103D4C 00100CAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80103D50 00100CB0 38 C1 00 08 */ addi r6, r1, 8 +/* 80103D54 00100CB4 48 25 F5 E5 */ bl Get__6CColorCFRfRfRf +/* 80103D58 00100CB8 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80103D5C 00100CBC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80103D60 00100CC0 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80103D64 00100CC4 C0 01 00 08 */ lfs f0, 8(r1) +/* 80103D68 00100CC8 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 80103D6C 00100CCC EC 42 07 F2 */ fmuls f2, f2, f31 +/* 80103D70 00100CD0 C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) +/* 80103D74 00100CD4 EC 60 07 F2 */ fmuls f3, f0, f31 +/* 80103D78 00100CD8 48 25 F6 25 */ bl Set__6CColorFffff +/* 80103D7C 00100CDC 7F E3 FB 78 */ mr r3, r31 +/* 80103D80 00100CE0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80103D84 00100CE4 48 20 25 D9 */ bl SetColor__6CLightFRC6CColor +/* 80103D88 00100CE8 3B FF 00 50 */ addi r31, r31, 0x50 +/* 80103D8C 00100CEC 3B DE 00 01 */ addi r30, r30, 1 +lbl_80103D90: +/* 80103D90 00100CF0 80 1D 00 00 */ lwz r0, 0(r29) +/* 80103D94 00100CF4 7C 1E 00 00 */ cmpw r30, r0 +/* 80103D98 00100CF8 41 80 FF A4 */ blt lbl_80103D3C +/* 80103D9C 00100CFC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80103DA0 00100D00 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80103DA4 00100D04 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80103DA8 00100D08 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80103DAC 00100D0C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80103DB0 00100D10 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80103DB4 00100D14 7C 08 03 A6 */ mtlr r0 +/* 80103DB8 00100D18 38 21 00 40 */ addi r1, r1, 0x40 +/* 80103DBC 00100D1C 4E 80 00 20 */ blr + +.global BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox +BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox: +/* 80103DC0 00100D20 94 21 FD 60 */ stwu r1, -0x2a0(r1) +/* 80103DC4 00100D24 7C 08 02 A6 */ mflr r0 +/* 80103DC8 00100D28 90 01 02 A4 */ stw r0, 0x2a4(r1) +/* 80103DCC 00100D2C DB E1 02 90 */ stfd f31, 0x290(r1) +/* 80103DD0 00100D30 F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 +/* 80103DD4 00100D34 DB C1 02 80 */ stfd f30, 0x280(r1) +/* 80103DD8 00100D38 F3 C1 02 88 */ psq_st f30, 648(r1), 0, qr0 +/* 80103DDC 00100D3C BD C1 02 38 */ stmw r14, 0x238(r1) +/* 80103DE0 00100D40 7C 3F 0B 78 */ mr r31, r1 +/* 80103DE4 00100D44 88 03 02 98 */ lbz r0, 0x298(r3) +/* 80103DE8 00100D48 7C 7C 1B 78 */ mr r28, r3 +/* 80103DEC 00100D4C 7C BD 2B 78 */ mr r29, r5 +/* 80103DF0 00100D50 7C DE 33 78 */ mr r30, r6 +/* 80103DF4 00100D54 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80103DF8 00100D58 41 82 00 10 */ beq lbl_80103E08 +/* 80103DFC 00100D5C 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80103E00 00100D60 38 63 00 80 */ addi r3, r3, 0x80 +/* 80103E04 00100D64 48 00 00 0C */ b lbl_80103E10 +lbl_80103E08: +/* 80103E08 00100D68 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80103E0C 00100D6C 38 63 00 60 */ addi r3, r3, 0x60 +lbl_80103E10: +/* 80103E10 00100D70 80 A3 00 04 */ lwz r5, 4(r3) +/* 80103E14 00100D74 88 1C 02 98 */ lbz r0, 0x298(r28) +/* 80103E18 00100D78 7C 65 00 D0 */ neg r3, r5 +/* 80103E1C 00100D7C 7C 63 2B 78 */ or r3, r3, r5 +/* 80103E20 00100D80 50 60 36 B4 */ rlwimi r0, r3, 6, 0x1a, 0x1a +/* 80103E24 00100D84 98 1C 02 98 */ stb r0, 0x298(r28) +/* 80103E28 00100D88 88 BC 02 98 */ lbz r5, 0x298(r28) +/* 80103E2C 00100D8C 54 A0 DF FF */ rlwinm. r0, r5, 0x1b, 0x1f, 0x1f +/* 80103E30 00100D90 41 82 00 0C */ beq lbl_80103E3C +/* 80103E34 00100D94 54 A0 EF FF */ rlwinm. r0, r5, 0x1d, 0x1f, 0x1f +/* 80103E38 00100D98 40 82 00 2C */ bne lbl_80103E64 +lbl_80103E3C: +/* 80103E3C 00100D9C 88 1C 02 98 */ lbz r0, 0x298(r28) +/* 80103E40 00100DA0 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80103E44 00100DA4 41 82 00 10 */ beq lbl_80103E54 +/* 80103E48 00100DA8 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80103E4C 00100DAC C0 03 11 28 */ lfs f0, 0x1128(r3) +/* 80103E50 00100DB0 D0 1C 02 D4 */ stfs f0, 0x2d4(r28) +lbl_80103E54: +/* 80103E54 00100DB4 38 00 FF FF */ li r0, -1 +/* 80103E58 00100DB8 38 60 00 01 */ li r3, 1 +/* 80103E5C 00100DBC 90 1C 02 9C */ stw r0, 0x29c(r28) +/* 80103E60 00100DC0 48 00 0C E4 */ b lbl_80104B44 +lbl_80103E64: +/* 80103E64 00100DC4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80103E68 00100DC8 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f +/* 80103E6C 00100DCC 3A 43 66 A0 */ addi r18, r3, skZero3f@l +/* 80103E70 00100DD0 C0 52 00 00 */ lfs f2, 0(r18) +/* 80103E74 00100DD4 C0 32 00 04 */ lfs f1, 4(r18) +/* 80103E78 00100DD8 C0 12 00 08 */ lfs f0, 8(r18) +/* 80103E7C 00100DDC D0 5F 00 B8 */ stfs f2, 0xb8(r31) +/* 80103E80 00100DE0 D0 3F 00 BC */ stfs f1, 0xbc(r31) +/* 80103E84 00100DE4 D0 1F 00 C0 */ stfs f0, 0xc0(r31) +/* 80103E88 00100DE8 40 82 00 F0 */ bne lbl_80103F78 +/* 80103E8C 00100DEC 80 7C 02 94 */ lwz r3, 0x294(r28) +/* 80103E90 00100DF0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80103E94 00100DF4 7C 03 00 00 */ cmpw r3, r0 +/* 80103E98 00100DF8 40 82 00 E0 */ bne lbl_80103F78 +/* 80103E9C 00100DFC 80 7C 02 A4 */ lwz r3, 0x2a4(r28) +/* 80103EA0 00100E00 80 84 08 D4 */ lwz r4, 0x8d4(r4) +/* 80103EA4 00100E04 80 1C 02 A8 */ lwz r0, 0x2a8(r28) +/* 80103EA8 00100E08 7C 63 20 50 */ subf r3, r3, r4 +/* 80103EAC 00100E0C 7C 03 00 40 */ cmplw r3, r0 +/* 80103EB0 00100E10 40 80 00 0C */ bge lbl_80103EBC +/* 80103EB4 00100E14 38 60 00 00 */ li r3, 0 +/* 80103EB8 00100E18 48 00 0C 8C */ b lbl_80104B44 +lbl_80103EBC: +/* 80103EBC 00100E1C 90 9C 02 A4 */ stw r4, 0x2a4(r28) +/* 80103EC0 00100E20 7F C4 F3 78 */ mr r4, r30 +/* 80103EC4 00100E24 38 7F 00 7C */ addi r3, r31, 0x7c +/* 80103EC8 00100E28 48 23 37 45 */ bl GetCenterPoint__6CAABoxCFv +/* 80103ECC 00100E2C C0 3F 00 80 */ lfs f1, 0x80(r31) +/* 80103ED0 00100E30 C0 1C 02 B0 */ lfs f0, 0x2b0(r28) +/* 80103ED4 00100E34 C0 7F 00 84 */ lfs f3, 0x84(r31) +/* 80103ED8 00100E38 C0 5C 02 B4 */ lfs f2, 0x2b4(r28) +/* 80103EDC 00100E3C EC A1 00 2A */ fadds f5, f1, f0 +/* 80103EE0 00100E40 C0 1C 02 AC */ lfs f0, 0x2ac(r28) +/* 80103EE4 00100E44 C0 3F 00 7C */ lfs f1, 0x7c(r31) +/* 80103EE8 00100E48 EC 83 10 2A */ fadds f4, f3, f2 +/* 80103EEC 00100E4C D0 BF 00 BC */ stfs f5, 0xbc(r31) +/* 80103EF0 00100E50 EC 41 00 2A */ fadds f2, f1, f0 +/* 80103EF4 00100E54 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80103EF8 00100E58 D0 9F 00 C0 */ stfs f4, 0xc0(r31) +/* 80103EFC 00100E5C D0 5F 00 B8 */ stfs f2, 0xb8(r31) +/* 80103F00 00100E60 C0 3C 02 D4 */ lfs f1, 0x2d4(r28) +/* 80103F04 00100E64 C0 03 11 28 */ lfs f0, 0x1128(r3) +/* 80103F08 00100E68 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80103F0C 00100E6C 40 82 00 50 */ bne lbl_80103F5C +/* 80103F10 00100E70 C0 3C 02 C4 */ lfs f1, 0x2c4(r28) +/* 80103F14 00100E74 C0 1C 02 C0 */ lfs f0, 0x2c0(r28) +/* 80103F18 00100E78 EC A1 28 28 */ fsubs f5, f1, f5 +/* 80103F1C 00100E7C C0 3C 02 C8 */ lfs f1, 0x2c8(r28) +/* 80103F20 00100E80 EC 60 10 28 */ fsubs f3, f0, f2 +/* 80103F24 00100E84 C0 1C 02 CC */ lfs f0, 0x2cc(r28) +/* 80103F28 00100E88 EC 81 20 28 */ fsubs f4, f1, f4 +/* 80103F2C 00100E8C EC 25 01 72 */ fmuls f1, f5, f5 +/* 80103F30 00100E90 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80103F34 00100E94 D0 7F 00 70 */ stfs f3, 0x70(r31) +/* 80103F38 00100E98 EC 64 01 32 */ fmuls f3, f4, f4 +/* 80103F3C 00100E9C D0 BF 00 74 */ stfs f5, 0x74(r31) +/* 80103F40 00100EA0 EC 22 08 2A */ fadds f1, f2, f1 +/* 80103F44 00100EA4 D0 9F 00 78 */ stfs f4, 0x78(r31) +/* 80103F48 00100EA8 EC 23 08 2A */ fadds f1, f3, f1 +/* 80103F4C 00100EAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80103F50 00100EB0 40 80 00 0C */ bge lbl_80103F5C +/* 80103F54 00100EB4 38 60 00 00 */ li r3, 0 +/* 80103F58 00100EB8 48 00 0B EC */ b lbl_80104B44 +lbl_80103F5C: +/* 80103F5C 00100EBC C0 1F 00 B8 */ lfs f0, 0xb8(r31) +/* 80103F60 00100EC0 D0 1C 02 C0 */ stfs f0, 0x2c0(r28) +/* 80103F64 00100EC4 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 80103F68 00100EC8 D0 1C 02 C4 */ stfs f0, 0x2c4(r28) +/* 80103F6C 00100ECC C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 80103F70 00100ED0 D0 1C 02 C8 */ stfs f0, 0x2c8(r28) +/* 80103F74 00100ED4 48 00 00 7C */ b lbl_80103FF0 +lbl_80103F78: +/* 80103F78 00100ED8 80 7C 02 94 */ lwz r3, 0x294(r28) +/* 80103F7C 00100EDC 80 1D 00 04 */ lwz r0, 4(r29) +/* 80103F80 00100EE0 7C 03 00 00 */ cmpw r3, r0 +/* 80103F84 00100EE4 41 82 00 0C */ beq lbl_80103F90 +/* 80103F88 00100EE8 38 00 FF FF */ li r0, -1 +/* 80103F8C 00100EEC 90 1C 02 D8 */ stw r0, 0x2d8(r28) +lbl_80103F90: +/* 80103F90 00100EF0 80 04 08 D4 */ lwz r0, 0x8d4(r4) +/* 80103F94 00100EF4 7F C4 F3 78 */ mr r4, r30 +/* 80103F98 00100EF8 80 AD A3 50 */ lwz r5, lbl_805A8F10@sda21(r13) +/* 80103F9C 00100EFC 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80103FA0 00100F00 7C 05 02 14 */ add r0, r5, r0 +/* 80103FA4 00100F04 90 1C 02 A4 */ stw r0, 0x2a4(r28) +/* 80103FA8 00100F08 48 23 36 65 */ bl GetCenterPoint__6CAABoxCFv +/* 80103FAC 00100F0C C0 3F 00 68 */ lfs f1, 0x68(r31) +/* 80103FB0 00100F10 C0 1C 02 B0 */ lfs f0, 0x2b0(r28) +/* 80103FB4 00100F14 C0 7F 00 6C */ lfs f3, 0x6c(r31) +/* 80103FB8 00100F18 C0 5C 02 B4 */ lfs f2, 0x2b4(r28) +/* 80103FBC 00100F1C EC 81 00 2A */ fadds f4, f1, f0 +/* 80103FC0 00100F20 C0 1C 02 AC */ lfs f0, 0x2ac(r28) +/* 80103FC4 00100F24 C0 3F 00 64 */ lfs f1, 0x64(r31) +/* 80103FC8 00100F28 EC 43 10 2A */ fadds f2, f3, f2 +/* 80103FCC 00100F2C D0 9F 00 BC */ stfs f4, 0xbc(r31) +/* 80103FD0 00100F30 EC 01 00 2A */ fadds f0, f1, f0 +/* 80103FD4 00100F34 D0 5F 00 C0 */ stfs f2, 0xc0(r31) +/* 80103FD8 00100F38 D0 1F 00 B8 */ stfs f0, 0xb8(r31) +/* 80103FDC 00100F3C D0 1C 02 C0 */ stfs f0, 0x2c0(r28) +/* 80103FE0 00100F40 C0 1F 00 BC */ lfs f0, 0xbc(r31) +/* 80103FE4 00100F44 D0 1C 02 C4 */ stfs f0, 0x2c4(r28) +/* 80103FE8 00100F48 C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 80103FEC 00100F4C D0 1C 02 C8 */ stfs f0, 0x2c8(r28) +lbl_80103FF0: +/* 80103FF0 00100F50 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80103FF4 00100F54 38 80 00 00 */ li r4, 0 +/* 80103FF8 00100F58 38 00 FF FF */ li r0, -1 +/* 80103FFC 00100F5C C0 03 11 28 */ lfs f0, 0x1128(r3) +/* 80104000 00100F60 D0 1C 02 D4 */ stfs f0, 0x2d4(r28) +/* 80104004 00100F64 88 7C 02 98 */ lbz r3, 0x298(r28) +/* 80104008 00100F68 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 8010400C 00100F6C 98 7C 02 98 */ stb r3, 0x298(r28) +/* 80104010 00100F70 80 7D 00 04 */ lwz r3, 4(r29) +/* 80104014 00100F74 90 7C 02 94 */ stw r3, 0x294(r28) +/* 80104018 00100F78 90 1C 02 9C */ stw r0, 0x29c(r28) +/* 8010401C 00100F7C 88 1C 02 98 */ lbz r0, 0x298(r28) +/* 80104020 00100F80 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80104024 00100F84 41 82 00 10 */ beq lbl_80104034 +/* 80104028 00100F88 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 8010402C 00100F8C 3B 43 00 80 */ addi r26, r3, 0x80 +/* 80104030 00100F90 48 00 00 0C */ b lbl_8010403C +lbl_80104034: +/* 80104034 00100F94 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80104038 00100F98 3B 43 00 60 */ addi r26, r3, 0x60 +lbl_8010403C: +/* 8010403C 00100F9C 28 00 00 00 */ cmplwi r0, 0 +/* 80104040 00100FA0 41 82 00 10 */ beq lbl_80104050 +/* 80104044 00100FA4 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80104048 00100FA8 3B 23 00 90 */ addi r25, r3, 0x90 +/* 8010404C 00100FAC 48 00 00 0C */ b lbl_80104058 +lbl_80104050: +/* 80104050 00100FB0 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80104054 00100FB4 3B 23 00 70 */ addi r25, r3, 0x70 +lbl_80104058: +/* 80104058 00100FB8 80 7A 00 04 */ lwz r3, 4(r26) +/* 8010405C 00100FBC 80 01 00 00 */ lwz r0, 0(r1) +/* 80104060 00100FC0 1C 63 00 1C */ mulli r3, r3, 0x1c +/* 80104064 00100FC4 7E 83 00 D0 */ neg r20, r3 +/* 80104068 00100FC8 56 94 00 38 */ rlwinm r20, r20, 0, 0, 0x1c +/* 8010406C 00100FCC 7C 01 A1 6E */ stwux r0, r1, r20 +/* 80104070 00100FD0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80104074 00100FD4 3A 60 00 00 */ li r19, 0 +/* 80104078 00100FD8 3B 00 00 00 */ li r24, 0 +/* 8010407C 00100FDC C0 03 66 A0 */ lfs f0, skZero3f@l(r3) +/* 80104080 00100FE0 3A 81 00 08 */ addi r20, r1, 8 +/* 80104084 00100FE4 D0 1C 02 88 */ stfs f0, 0x288(r28) +/* 80104088 00100FE8 C0 12 00 04 */ lfs f0, 4(r18) +/* 8010408C 00100FEC D0 1C 02 8C */ stfs f0, 0x28c(r28) +/* 80104090 00100FF0 C0 12 00 08 */ lfs f0, 8(r18) +/* 80104094 00100FF4 D0 1C 02 90 */ stfs f0, 0x290(r28) +/* 80104098 00100FF8 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 8010409C 00100FFC 81 C3 00 A0 */ lwz r14, 0xa0(r3) +/* 801040A0 00101000 28 0E 00 00 */ cmplwi r14, 0 +/* 801040A4 00101004 41 82 00 14 */ beq lbl_801040B8 +/* 801040A8 00101008 80 02 85 40 */ lwz r0, lbl_805AA260@sda21(r2) +/* 801040AC 0010100C 2C 00 00 01 */ cmpwi r0, 1 +/* 801040B0 00101010 40 82 00 08 */ bne lbl_801040B8 +/* 801040B4 00101014 3B 00 00 01 */ li r24, 1 +lbl_801040B8: +/* 801040B8 00101018 88 1C 02 98 */ lbz r0, 0x298(r28) +/* 801040BC 0010101C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 801040C0 00101020 41 82 00 28 */ beq lbl_801040E8 +/* 801040C4 00101024 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 801040C8 00101028 41 82 00 18 */ beq lbl_801040E0 +/* 801040CC 0010102C 80 6E 00 08 */ lwz r3, 8(r14) +/* 801040D0 00101030 7C 03 00 D0 */ neg r0, r3 +/* 801040D4 00101034 7C 00 1B 78 */ or r0, r0, r3 +/* 801040D8 00101038 54 16 0F FE */ srwi r22, r0, 0x1f +/* 801040DC 0010103C 48 00 00 10 */ b lbl_801040EC +lbl_801040E0: +/* 801040E0 00101040 3A C0 00 01 */ li r22, 1 +/* 801040E4 00101044 48 00 00 08 */ b lbl_801040EC +lbl_801040E8: +/* 801040E8 00101048 3A C0 00 00 */ li r22, 0 +lbl_801040EC: +/* 801040EC 0010104C 38 7F 01 78 */ addi r3, r31, 0x178 +/* 801040F0 00101050 38 80 00 02 */ li r4, 2 +/* 801040F4 00101054 48 21 22 8D */ bl Reset__10CPVSVisSetFi +/* 801040F8 00101058 38 7F 01 64 */ addi r3, r31, 0x164 +/* 801040FC 0010105C 38 80 00 02 */ li r4, 2 +/* 80104100 00101060 48 21 22 81 */ bl Reset__10CPVSVisSetFi +/* 80104104 00101064 38 7F 01 50 */ addi r3, r31, 0x150 +/* 80104108 00101068 38 80 00 02 */ li r4, 2 +/* 8010410C 0010106C 48 21 22 75 */ bl Reset__10CPVSVisSetFi +/* 80104110 00101070 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80104114 00101074 41 82 01 CC */ beq lbl_801042E0 +/* 80104118 00101078 38 7F 00 58 */ addi r3, r31, 0x58 +/* 8010411C 0010107C 38 9D 00 3C */ addi r4, r29, 0x3c +/* 80104120 00101080 38 BF 00 B8 */ addi r5, r31, 0xb8 +/* 80104124 00101084 48 20 E9 C5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80104128 00101088 7D C3 73 78 */ mr r3, r14 +/* 8010412C 0010108C 48 1A A3 59 */ bl GetVisOctree__13CPVSVisOctreeFv +/* 80104130 00101090 7C 64 1B 78 */ mr r4, r3 +/* 80104134 00101094 38 7F 01 24 */ addi r3, r31, 0x124 +/* 80104138 00101098 38 BF 00 58 */ addi r5, r31, 0x58 +/* 8010413C 0010109C 48 21 1E 3D */ bl SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f +/* 80104140 001010A0 80 9F 01 24 */ lwz r4, 0x124(r31) +/* 80104144 001010A4 39 FF 01 30 */ addi r15, r31, 0x130 +/* 80104148 001010A8 38 BF 01 84 */ addi r5, r31, 0x184 +/* 8010414C 001010AC 80 7F 01 28 */ lwz r3, 0x128(r31) +/* 80104150 001010B0 80 1F 01 2C */ lwz r0, 0x12c(r31) +/* 80104154 001010B4 7C 0F 28 40 */ cmplw r15, r5 +/* 80104158 001010B8 90 9F 01 78 */ stw r4, 0x178(r31) +/* 8010415C 001010BC 90 7F 01 7C */ stw r3, 0x17c(r31) +/* 80104160 001010C0 90 1F 01 80 */ stw r0, 0x180(r31) +/* 80104164 001010C4 41 82 00 30 */ beq lbl_80104194 +/* 80104168 001010C8 88 1F 01 84 */ lbz r0, 0x184(r31) +/* 8010416C 001010CC 28 00 00 00 */ cmplwi r0, 0 +/* 80104170 001010D0 41 82 00 0C */ beq lbl_8010417C +/* 80104174 001010D4 80 7F 01 88 */ lwz r3, 0x188(r31) +/* 80104178 001010D8 48 21 17 B9 */ bl Free__7CMemoryFPCv +lbl_8010417C: +/* 8010417C 001010DC 88 9F 01 30 */ lbz r4, 0x130(r31) +/* 80104180 001010E0 38 00 00 00 */ li r0, 0 +/* 80104184 001010E4 80 7F 01 34 */ lwz r3, 0x134(r31) +/* 80104188 001010E8 98 9F 01 84 */ stb r4, 0x184(r31) +/* 8010418C 001010EC 90 7F 01 88 */ stw r3, 0x188(r31) +/* 80104190 001010F0 98 1F 01 30 */ stb r0, 0x130(r31) +lbl_80104194: +/* 80104194 001010F4 28 0F 00 00 */ cmplwi r15, 0 +/* 80104198 001010F8 41 82 00 18 */ beq lbl_801041B0 +/* 8010419C 001010FC 88 1F 01 30 */ lbz r0, 0x130(r31) +/* 801041A0 00101100 28 00 00 00 */ cmplwi r0, 0 +/* 801041A4 00101104 41 82 00 0C */ beq lbl_801041B0 +/* 801041A8 00101108 80 7F 01 34 */ lwz r3, 0x134(r31) +/* 801041AC 0010110C 48 21 17 85 */ bl Free__7CMemoryFPCv +lbl_801041B0: +/* 801041B0 00101110 38 7F 00 4C */ addi r3, r31, 0x4c +/* 801041B4 00101114 38 9D 00 3C */ addi r4, r29, 0x3c +/* 801041B8 00101118 38 BE 00 0C */ addi r5, r30, 0xc +/* 801041BC 0010111C 48 20 E9 2D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 801041C0 00101120 7D C3 73 78 */ mr r3, r14 +/* 801041C4 00101124 48 1A A2 C1 */ bl GetVisOctree__13CPVSVisOctreeFv +/* 801041C8 00101128 7C 64 1B 78 */ mr r4, r3 +/* 801041CC 0010112C 38 7F 01 10 */ addi r3, r31, 0x110 +/* 801041D0 00101130 38 BF 00 4C */ addi r5, r31, 0x4c +/* 801041D4 00101134 48 21 1D A5 */ bl SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f +/* 801041D8 00101138 80 9F 01 10 */ lwz r4, 0x110(r31) +/* 801041DC 0010113C 39 FF 01 1C */ addi r15, r31, 0x11c +/* 801041E0 00101140 38 BF 01 70 */ addi r5, r31, 0x170 +/* 801041E4 00101144 80 7F 01 14 */ lwz r3, 0x114(r31) +/* 801041E8 00101148 80 1F 01 18 */ lwz r0, 0x118(r31) +/* 801041EC 0010114C 7C 0F 28 40 */ cmplw r15, r5 +/* 801041F0 00101150 90 9F 01 64 */ stw r4, 0x164(r31) +/* 801041F4 00101154 90 7F 01 68 */ stw r3, 0x168(r31) +/* 801041F8 00101158 90 1F 01 6C */ stw r0, 0x16c(r31) +/* 801041FC 0010115C 41 82 00 30 */ beq lbl_8010422C +/* 80104200 00101160 88 1F 01 70 */ lbz r0, 0x170(r31) +/* 80104204 00101164 28 00 00 00 */ cmplwi r0, 0 +/* 80104208 00101168 41 82 00 0C */ beq lbl_80104214 +/* 8010420C 0010116C 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80104210 00101170 48 21 17 21 */ bl Free__7CMemoryFPCv +lbl_80104214: +/* 80104214 00101174 88 9F 01 1C */ lbz r4, 0x11c(r31) +/* 80104218 00101178 38 00 00 00 */ li r0, 0 +/* 8010421C 0010117C 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 80104220 00101180 98 9F 01 70 */ stb r4, 0x170(r31) +/* 80104224 00101184 90 7F 01 74 */ stw r3, 0x174(r31) +/* 80104228 00101188 98 1F 01 1C */ stb r0, 0x11c(r31) +lbl_8010422C: +/* 8010422C 0010118C 28 0F 00 00 */ cmplwi r15, 0 +/* 80104230 00101190 41 82 00 18 */ beq lbl_80104248 +/* 80104234 00101194 88 1F 01 1C */ lbz r0, 0x11c(r31) +/* 80104238 00101198 28 00 00 00 */ cmplwi r0, 0 +/* 8010423C 0010119C 41 82 00 0C */ beq lbl_80104248 +/* 80104240 001011A0 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 80104244 001011A4 48 21 16 ED */ bl Free__7CMemoryFPCv +lbl_80104248: +/* 80104248 001011A8 7F C5 F3 78 */ mr r5, r30 +/* 8010424C 001011AC 38 7F 00 40 */ addi r3, r31, 0x40 +/* 80104250 001011B0 38 9D 00 3C */ addi r4, r29, 0x3c +/* 80104254 001011B4 48 20 E8 95 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80104258 001011B8 7D C3 73 78 */ mr r3, r14 +/* 8010425C 001011BC 48 1A A2 29 */ bl GetVisOctree__13CPVSVisOctreeFv +/* 80104260 001011C0 7C 64 1B 78 */ mr r4, r3 +/* 80104264 001011C4 38 7F 00 FC */ addi r3, r31, 0xfc +/* 80104268 001011C8 38 BF 00 40 */ addi r5, r31, 0x40 +/* 8010426C 001011CC 48 21 1D 0D */ bl SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f +/* 80104270 001011D0 80 9F 00 FC */ lwz r4, 0xfc(r31) +/* 80104274 001011D4 39 DF 01 08 */ addi r14, r31, 0x108 +/* 80104278 001011D8 38 BF 01 5C */ addi r5, r31, 0x15c +/* 8010427C 001011DC 80 7F 01 00 */ lwz r3, 0x100(r31) +/* 80104280 001011E0 80 1F 01 04 */ lwz r0, 0x104(r31) +/* 80104284 001011E4 7C 0E 28 40 */ cmplw r14, r5 +/* 80104288 001011E8 90 9F 01 50 */ stw r4, 0x150(r31) +/* 8010428C 001011EC 90 7F 01 54 */ stw r3, 0x154(r31) +/* 80104290 001011F0 90 1F 01 58 */ stw r0, 0x158(r31) +/* 80104294 001011F4 41 82 00 30 */ beq lbl_801042C4 +/* 80104298 001011F8 88 1F 01 5C */ lbz r0, 0x15c(r31) +/* 8010429C 001011FC 28 00 00 00 */ cmplwi r0, 0 +/* 801042A0 00101200 41 82 00 0C */ beq lbl_801042AC +/* 801042A4 00101204 80 7F 01 60 */ lwz r3, 0x160(r31) +/* 801042A8 00101208 48 21 16 89 */ bl Free__7CMemoryFPCv +lbl_801042AC: +/* 801042AC 0010120C 88 9F 01 08 */ lbz r4, 0x108(r31) +/* 801042B0 00101210 38 00 00 00 */ li r0, 0 +/* 801042B4 00101214 80 7F 01 0C */ lwz r3, 0x10c(r31) +/* 801042B8 00101218 98 9F 01 5C */ stb r4, 0x15c(r31) +/* 801042BC 0010121C 90 7F 01 60 */ stw r3, 0x160(r31) +/* 801042C0 00101220 98 1F 01 08 */ stb r0, 0x108(r31) +lbl_801042C4: +/* 801042C4 00101224 28 0E 00 00 */ cmplwi r14, 0 +/* 801042C8 00101228 41 82 00 18 */ beq lbl_801042E0 +/* 801042CC 0010122C 88 1F 01 08 */ lbz r0, 0x108(r31) +/* 801042D0 00101230 28 00 00 00 */ cmplwi r0, 0 +/* 801042D4 00101234 41 82 00 0C */ beq lbl_801042E0 +/* 801042D8 00101238 80 7F 01 0C */ lwz r3, 0x10c(r31) +/* 801042DC 0010123C 48 21 16 55 */ bl Free__7CMemoryFPCv +lbl_801042E0: +/* 801042E0 00101240 39 C0 00 00 */ li r14, 0 +/* 801042E4 00101244 7E 90 A3 78 */ mr r16, r20 +/* 801042E8 00101248 7D CF 73 78 */ mr r15, r14 +/* 801042EC 0010124C 3A 20 00 00 */ li r17, 0 +/* 801042F0 00101250 48 00 01 E8 */ b lbl_801044D8 +lbl_801042F4: +/* 801042F4 00101254 80 19 00 0C */ lwz r0, 0xc(r25) +/* 801042F8 00101258 7E E0 72 14 */ add r23, r0, r14 +/* 801042FC 0010125C 80 17 00 1C */ lwz r0, 0x1c(r23) +/* 80104300 00101260 2C 00 00 03 */ cmpwi r0, 3 +/* 80104304 00101264 40 82 00 30 */ bne lbl_80104334 +/* 80104308 00101268 7E E4 BB 78 */ mr r4, r23 +/* 8010430C 0010126C 38 7F 00 34 */ addi r3, r31, 0x34 +/* 80104310 00101270 38 BF 00 B8 */ addi r5, r31, 0xb8 +/* 80104314 00101274 48 20 1D 11 */ bl GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f +/* 80104318 00101278 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8010431C 0010127C D0 1C 02 88 */ stfs f0, 0x288(r28) +/* 80104320 00101280 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80104324 00101284 D0 1C 02 8C */ stfs f0, 0x28c(r28) +/* 80104328 00101288 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 8010432C 0010128C D0 1C 02 90 */ stfs f0, 0x290(r28) +/* 80104330 00101290 48 00 01 9C */ b lbl_801044CC +lbl_80104334: +/* 80104334 00101294 38 60 00 02 */ li r3, 2 +/* 80104338 00101298 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 8010433C 0010129C 90 7F 00 14 */ stw r3, 0x14(r31) +/* 80104340 001012A0 41 82 00 C0 */ beq lbl_80104400 +/* 80104344 001012A4 80 7A 00 0C */ lwz r3, 0xc(r26) +/* 80104348 001012A8 38 0F 00 34 */ addi r0, r15, 0x34 +/* 8010434C 001012AC 7C 03 00 AE */ lbzx r0, r3, r0 +/* 80104350 001012B0 28 00 00 00 */ cmplwi r0, 0 +/* 80104354 001012B4 41 82 00 AC */ beq lbl_80104400 +/* 80104358 001012B8 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 8010435C 001012BC 41 82 00 18 */ beq lbl_80104374 +/* 80104360 001012C0 7F A3 EB 78 */ mr r3, r29 +/* 80104364 001012C4 7E 24 8B 78 */ mr r4, r17 +/* 80104368 001012C8 4B F5 9B A1 */ bl Get2ndPVSLightFeature__9CGameAreaFUi +/* 8010436C 001012CC 7C 75 1B 78 */ mr r21, r3 +/* 80104370 001012D0 48 00 00 14 */ b lbl_80104384 +lbl_80104374: +/* 80104374 001012D4 7F A3 EB 78 */ mr r3, r29 +/* 80104378 001012D8 7E 24 8B 78 */ mr r4, r17 +/* 8010437C 001012DC 4B F5 9B BD */ bl Get1stPVSLightFeature__9CGameAreaFUi +/* 80104380 001012E0 7C 75 1B 78 */ mr r21, r3 +lbl_80104384: +/* 80104384 001012E4 7E A4 AB 78 */ mr r4, r21 +/* 80104388 001012E8 38 7F 01 78 */ addi r3, r31, 0x178 +/* 8010438C 001012EC 48 21 1F 4D */ bl GetVisible__10CPVSVisSetCFi +/* 80104390 001012F0 2C 03 00 02 */ cmpwi r3, 2 +/* 80104394 001012F4 90 7F 00 14 */ stw r3, 0x14(r31) +/* 80104398 001012F8 41 82 00 30 */ beq lbl_801043C8 +/* 8010439C 001012FC 7E A4 AB 78 */ mr r4, r21 +/* 801043A0 00101300 38 7F 01 64 */ addi r3, r31, 0x164 +/* 801043A4 00101304 48 21 1F 35 */ bl GetVisible__10CPVSVisSetCFi +/* 801043A8 00101308 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 801043AC 0010130C 38 9F 00 10 */ addi r4, r31, 0x10 +/* 801043B0 00101310 90 7F 00 10 */ stw r3, 0x10(r31) +/* 801043B4 00101314 7C 03 00 00 */ cmpw r3, r0 +/* 801043B8 00101318 40 80 00 08 */ bge lbl_801043C0 +/* 801043BC 0010131C 38 9F 00 14 */ addi r4, r31, 0x14 +lbl_801043C0: +/* 801043C0 00101320 80 04 00 00 */ lwz r0, 0(r4) +/* 801043C4 00101324 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_801043C8: +/* 801043C8 00101328 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 801043CC 0010132C 2C 00 00 02 */ cmpwi r0, 2 +/* 801043D0 00101330 41 82 00 30 */ beq lbl_80104400 +/* 801043D4 00101334 7E A4 AB 78 */ mr r4, r21 +/* 801043D8 00101338 38 7F 01 50 */ addi r3, r31, 0x150 +/* 801043DC 0010133C 48 21 1E FD */ bl GetVisible__10CPVSVisSetCFi +/* 801043E0 00101340 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 801043E4 00101344 38 9F 00 0C */ addi r4, r31, 0xc +/* 801043E8 00101348 90 7F 00 0C */ stw r3, 0xc(r31) +/* 801043EC 0010134C 7C 03 00 00 */ cmpw r3, r0 +/* 801043F0 00101350 40 80 00 08 */ bge lbl_801043F8 +/* 801043F4 00101354 38 9F 00 14 */ addi r4, r31, 0x14 +lbl_801043F8: +/* 801043F8 00101358 80 04 00 00 */ lwz r0, 0(r4) +/* 801043FC 0010135C 90 1F 00 14 */ stw r0, 0x14(r31) +lbl_80104400: +/* 80104400 00101360 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 80104404 00101364 2C 00 00 00 */ cmpwi r0, 0 +/* 80104408 00101368 41 82 00 C4 */ beq lbl_801044CC +/* 8010440C 0010136C 7E E3 BB 78 */ mr r3, r23 +/* 80104410 00101370 48 20 1E C5 */ bl GetRadius__6CLightCFv +/* 80104414 00101374 C0 17 00 00 */ lfs f0, 0(r23) +/* 80104418 00101378 7F C3 F3 78 */ mr r3, r30 +/* 8010441C 0010137C C0 42 94 30 */ lfs f2, lbl_805AB150@sda21(r2) +/* 80104420 00101380 38 9F 00 24 */ addi r4, r31, 0x24 +/* 80104424 00101384 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 80104428 00101388 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8010442C 0010138C C0 17 00 04 */ lfs f0, 4(r23) +/* 80104430 00101390 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 80104434 00101394 C0 17 00 08 */ lfs f0, 8(r23) +/* 80104438 00101398 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 8010443C 0010139C D0 3F 00 30 */ stfs f1, 0x30(r31) +/* 80104440 001013A0 48 1C E5 8D */ bl AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere +/* 80104444 001013A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80104448 001013A8 41 82 00 84 */ beq lbl_801044CC +/* 8010444C 001013AC 82 BF 00 14 */ lwz r21, 0x14(r31) +/* 80104450 001013B0 7E E4 BB 78 */ mr r4, r23 +/* 80104454 001013B4 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80104458 001013B8 38 BF 00 B8 */ addi r5, r31, 0xb8 +/* 8010445C 001013BC 48 20 1B C9 */ bl GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f +/* 80104460 001013C0 C0 5F 00 18 */ lfs f2, 0x18(r31) +/* 80104464 001013C4 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80104468 001013C8 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8010446C 001013CC C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 80104470 001013D0 92 3F 00 E0 */ stw r17, 0xe0(r31) +/* 80104474 001013D4 D0 5F 00 E4 */ stfs f2, 0xe4(r31) +/* 80104478 001013D8 D0 3F 00 E8 */ stfs f1, 0xe8(r31) +/* 8010447C 001013DC D0 1F 00 EC */ stfs f0, 0xec(r31) +/* 80104480 001013E0 48 21 04 39 */ bl Magnitude__9CVector3fCFv +/* 80104484 001013E4 7E 20 8B 78 */ mr r0, r17 +/* 80104488 001013E8 C0 42 94 08 */ lfs f2, lbl_805AB128@sda21(r2) +/* 8010448C 001013EC 90 10 00 00 */ stw r0, 0(r16) +/* 80104490 001013F0 FC 00 08 18 */ frsp f0, f1 +/* 80104494 001013F4 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 80104498 001013F8 3A 73 00 01 */ addi r19, r19, 1 +/* 8010449C 001013FC 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 801044A0 00101400 90 10 00 04 */ stw r0, 4(r16) +/* 801044A4 00101404 80 1F 00 EC */ lwz r0, 0xec(r31) +/* 801044A8 00101408 90 70 00 08 */ stw r3, 8(r16) +/* 801044AC 0010140C 90 10 00 0C */ stw r0, 0xc(r16) +/* 801044B0 00101410 D0 10 00 10 */ stfs f0, 0x10(r16) +/* 801044B4 00101414 D0 50 00 14 */ stfs f2, 0x14(r16) +/* 801044B8 00101418 92 B0 00 18 */ stw r21, 0x18(r16) +/* 801044BC 0010141C 3A 10 00 1C */ addi r16, r16, 0x1c +/* 801044C0 00101420 D0 3F 00 F0 */ stfs f1, 0xf0(r31) +/* 801044C4 00101424 D0 5F 00 F4 */ stfs f2, 0xf4(r31) +/* 801044C8 00101428 92 BF 00 F8 */ stw r21, 0xf8(r31) +lbl_801044CC: +/* 801044CC 0010142C 39 CE 00 50 */ addi r14, r14, 0x50 +/* 801044D0 00101430 39 EF 00 44 */ addi r15, r15, 0x44 +/* 801044D4 00101434 3A 31 00 01 */ addi r17, r17, 1 +lbl_801044D8: +/* 801044D8 00101438 80 19 00 04 */ lwz r0, 4(r25) +/* 801044DC 0010143C 7C 11 00 00 */ cmpw r17, r0 +/* 801044E0 00101440 41 80 FE 14 */ blt lbl_801042F4 +/* 801044E4 00101444 1C 13 00 1C */ mulli r0, r19, 0x1c +/* 801044E8 00101448 88 8D A3 54 */ lbz r4, lbl_805A8F14@sda21(r13) +/* 801044EC 0010144C 7E 83 A3 78 */ mr r3, r20 +/* 801044F0 00101450 98 9F 00 08 */ stb r4, 8(r31) +/* 801044F4 00101454 38 BF 00 08 */ addi r5, r31, 8 +/* 801044F8 00101458 7C 94 02 14 */ add r4, r20, r0 +/* 801044FC 0010145C 48 00 0E 5D */ bl "sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" +/* 80104500 00101460 88 1C 02 98 */ lbz r0, 0x298(r28) +/* 80104504 00101464 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80104508 00101468 41 82 00 B4 */ beq lbl_801045BC +/* 8010450C 0010146C 38 7C 02 88 */ addi r3, r28, 0x288 +/* 80104510 00101470 48 21 03 A9 */ bl Magnitude__9CVector3fCFv +/* 80104514 00101474 34 73 FF FF */ addic. r3, r19, -1 +/* 80104518 00101478 1C 03 00 1C */ mulli r0, r3, 0x1c +/* 8010451C 0010147C 38 63 00 01 */ addi r3, r3, 1 +/* 80104520 00101480 7C 94 02 14 */ add r4, r20, r0 +/* 80104524 00101484 41 80 00 98 */ blt lbl_801045BC +/* 80104528 00101488 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 8010452C 0010148C 7C 09 03 A6 */ mtctr r0 +/* 80104530 00101490 41 82 00 74 */ beq lbl_801045A4 +lbl_80104534: +/* 80104534 00101494 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80104538 00101498 EC 21 00 2A */ fadds f1, f1, f0 +/* 8010453C 0010149C D0 24 00 14 */ stfs f1, 0x14(r4) +/* 80104540 001014A0 C0 04 FF F4 */ lfs f0, -0xc(r4) +/* 80104544 001014A4 EC 21 00 2A */ fadds f1, f1, f0 +/* 80104548 001014A8 D0 24 FF F8 */ stfs f1, -8(r4) +/* 8010454C 001014AC C0 04 FF D8 */ lfs f0, -0x28(r4) +/* 80104550 001014B0 EC 21 00 2A */ fadds f1, f1, f0 +/* 80104554 001014B4 D0 24 FF DC */ stfs f1, -0x24(r4) +/* 80104558 001014B8 C0 04 FF BC */ lfs f0, -0x44(r4) +/* 8010455C 001014BC EC 21 00 2A */ fadds f1, f1, f0 +/* 80104560 001014C0 D0 24 FF C0 */ stfs f1, -0x40(r4) +/* 80104564 001014C4 C0 04 FF A0 */ lfs f0, -0x60(r4) +/* 80104568 001014C8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8010456C 001014CC D0 24 FF A4 */ stfs f1, -0x5c(r4) +/* 80104570 001014D0 C0 04 FF 84 */ lfs f0, -0x7c(r4) +/* 80104574 001014D4 EC 21 00 2A */ fadds f1, f1, f0 +/* 80104578 001014D8 D0 24 FF 88 */ stfs f1, -0x78(r4) +/* 8010457C 001014DC C0 04 FF 68 */ lfs f0, -0x98(r4) +/* 80104580 001014E0 EC 21 00 2A */ fadds f1, f1, f0 +/* 80104584 001014E4 D0 24 FF 6C */ stfs f1, -0x94(r4) +/* 80104588 001014E8 C0 04 FF 4C */ lfs f0, -0xb4(r4) +/* 8010458C 001014EC EC 21 00 2A */ fadds f1, f1, f0 +/* 80104590 001014F0 D0 24 FF 50 */ stfs f1, -0xb0(r4) +/* 80104594 001014F4 38 84 FF 20 */ addi r4, r4, -224 +/* 80104598 001014F8 42 00 FF 9C */ bdnz lbl_80104534 +/* 8010459C 001014FC 70 63 00 07 */ andi. r3, r3, 7 +/* 801045A0 00101500 41 82 00 1C */ beq lbl_801045BC +lbl_801045A4: +/* 801045A4 00101504 7C 69 03 A6 */ mtctr r3 +lbl_801045A8: +/* 801045A8 00101508 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 801045AC 0010150C EC 21 00 2A */ fadds f1, f1, f0 +/* 801045B0 00101510 D0 24 00 14 */ stfs f1, 0x14(r4) +/* 801045B4 00101514 38 84 FF E4 */ addi r4, r4, -28 +/* 801045B8 00101518 42 00 FF F0 */ bdnz lbl_801045A8 +lbl_801045BC: +/* 801045BC 0010151C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 801045C0 00101520 C0 32 00 04 */ lfs f1, 4(r18) +/* 801045C4 00101524 C0 12 00 08 */ lfs f0, 8(r18) +/* 801045C8 00101528 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) +/* 801045CC 0010152C D0 3F 00 B0 */ stfs f1, 0xb0(r31) +/* 801045D0 00101530 D0 5F 00 AC */ stfs f2, 0xac(r31) +/* 801045D4 00101534 D0 1F 00 B4 */ stfs f0, 0xb4(r31) +/* 801045D8 00101538 48 24 59 DD */ bl Black__6CColorFv +/* 801045DC 0010153C C0 22 94 08 */ lfs f1, lbl_805AB128@sda21(r2) +/* 801045E0 00101540 3C 80 80 5A */ lis r4, skZero3f@ha +/* 801045E4 00101544 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 801045E8 00101548 7C 66 1B 78 */ mr r6, r3 +/* 801045EC 0010154C FC 40 08 90 */ fmr f2, f1 +/* 801045F0 00101550 38 7F 01 8C */ addi r3, r31, 0x18c +/* 801045F4 00101554 FC 60 08 90 */ fmr f3, f1 +/* 801045F8 00101558 7C 85 23 78 */ mr r5, r4 +/* 801045FC 0010155C FC 80 08 90 */ fmr f4, f1 +/* 80104600 00101560 FC A0 08 90 */ fmr f5, f1 +/* 80104604 00101564 FC C0 08 90 */ fmr f6, f1 +/* 80104608 00101568 48 20 1D D5 */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff +/* 8010460C 0010156C 38 7F 01 DC */ addi r3, r31, 0x1dc +/* 80104610 00101570 38 9F 01 8C */ addi r4, r31, 0x18c +/* 80104614 00101574 4B F3 6F 5D */ bl __ct__6CLightFCR6CLight +/* 80104618 00101578 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010461C 0010157C C0 32 00 04 */ lfs f1, 4(r18) +/* 80104620 00101580 C0 12 00 08 */ lfs f0, 8(r18) +/* 80104624 00101584 39 C0 00 00 */ li r14, 0 +/* 80104628 00101588 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) +/* 8010462C 0010158C D0 3F 00 A4 */ stfs f1, 0xa4(r31) +/* 80104630 00101590 C3 E2 94 08 */ lfs f31, lbl_805AB128@sda21(r2) +/* 80104634 00101594 D0 5F 00 A0 */ stfs f2, 0xa0(r31) +/* 80104638 00101598 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 8010463C 0010159C 88 1C 02 98 */ lbz r0, 0x298(r28) +/* 80104640 001015A0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80104644 001015A4 40 82 00 14 */ bne lbl_80104658 +/* 80104648 001015A8 88 0D 89 A0 */ lbz r0, lbl_805A7560@sda21(r13) +/* 8010464C 001015AC 28 00 00 00 */ cmplwi r0, 0 +/* 80104650 001015B0 41 82 00 08 */ beq lbl_80104658 +/* 80104654 001015B4 39 C0 00 01 */ li r14, 1 +lbl_80104658: +/* 80104658 001015B8 55 C0 06 3F */ clrlwi. r0, r14, 0x18 +/* 8010465C 001015BC 41 82 00 14 */ beq lbl_80104670 +/* 80104660 001015C0 80 7C 02 B8 */ lwz r3, 0x2b8(r28) +/* 80104664 001015C4 38 03 FF FF */ addi r0, r3, -1 +/* 80104668 001015C8 90 1F 02 2C */ stw r0, 0x22c(r31) +/* 8010466C 001015CC 48 00 00 0C */ b lbl_80104678 +lbl_80104670: +/* 80104670 001015D0 80 1C 02 B8 */ lwz r0, 0x2b8(r28) +/* 80104674 001015D4 90 1F 02 2C */ stw r0, 0x22c(r31) +lbl_80104678: +/* 80104678 001015D8 80 BC 00 00 */ lwz r5, 0(r28) +/* 8010467C 001015DC 38 60 00 00 */ li r3, 0 +/* 80104680 001015E0 2C 05 00 00 */ cmpwi r5, 0 +/* 80104684 001015E4 40 81 00 40 */ ble lbl_801046C4 +/* 80104688 001015E8 2C 05 00 08 */ cmpwi r5, 8 +/* 8010468C 001015EC 38 85 FF F8 */ addi r4, r5, -8 +/* 80104690 001015F0 40 81 00 20 */ ble lbl_801046B0 +/* 80104694 001015F4 38 04 00 07 */ addi r0, r4, 7 +/* 80104698 001015F8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8010469C 001015FC 7C 09 03 A6 */ mtctr r0 +/* 801046A0 00101600 2C 04 00 00 */ cmpwi r4, 0 +/* 801046A4 00101604 40 81 00 0C */ ble lbl_801046B0 +lbl_801046A8: +/* 801046A8 00101608 38 63 00 08 */ addi r3, r3, 8 +/* 801046AC 0010160C 42 00 FF FC */ bdnz lbl_801046A8 +lbl_801046B0: +/* 801046B0 00101610 7C 03 28 50 */ subf r0, r3, r5 +/* 801046B4 00101614 7C 09 03 A6 */ mtctr r0 +/* 801046B8 00101618 7C 03 28 00 */ cmpw r3, r5 +/* 801046BC 0010161C 40 80 00 08 */ bge lbl_801046C4 +lbl_801046C0: +/* 801046C0 00101620 42 00 00 00 */ bdnz lbl_801046C0 +lbl_801046C4: +/* 801046C4 00101624 38 00 00 00 */ li r0, 0 +/* 801046C8 00101628 3A 40 00 00 */ li r18, 0 +/* 801046CC 0010162C 90 1C 00 00 */ stw r0, 0(r28) +/* 801046D0 00101630 38 60 00 00 */ li r3, 0 +/* 801046D4 00101634 38 80 00 01 */ li r4, 1 +/* 801046D8 00101638 80 AD 89 A8 */ lwz r5, lbl_805A7568@sda21(r13) +/* 801046DC 0010163C 48 28 58 19 */ bl __shl2i +/* 801046E0 00101640 80 AD 89 AC */ lwz r5, lbl_805A756C@sda21(r13) +/* 801046E4 00101644 7C 90 23 78 */ mr r16, r4 +/* 801046E8 00101648 7C 6F 1B 78 */ mr r15, r3 +/* 801046EC 0010164C 38 60 00 00 */ li r3, 0 +/* 801046F0 00101650 38 80 00 01 */ li r4, 1 +/* 801046F4 00101654 48 28 58 01 */ bl __shl2i +/* 801046F8 00101658 80 AD 89 B0 */ lwz r5, lbl_805A7570@sda21(r13) +/* 801046FC 0010165C 7E 10 23 78 */ or r16, r16, r4 +/* 80104700 00101660 7D EF 1B 78 */ or r15, r15, r3 +/* 80104704 00101664 38 60 00 00 */ li r3, 0 +/* 80104708 00101668 38 80 00 01 */ li r4, 1 +/* 8010470C 0010166C 48 28 57 E9 */ bl __shl2i +/* 80104710 00101670 80 AD 89 A4 */ lwz r5, lbl_805A7564@sda21(r13) +/* 80104714 00101674 7E 10 23 78 */ or r16, r16, r4 +/* 80104718 00101678 7D EF 1B 78 */ or r15, r15, r3 +/* 8010471C 0010167C 38 60 00 00 */ li r3, 0 +/* 80104720 00101680 38 80 00 01 */ li r4, 1 +/* 80104724 00101684 48 28 57 D1 */ bl __shl2i +/* 80104728 00101688 38 00 00 03 */ li r0, 3 +/* 8010472C 0010168C 90 9F 01 3C */ stw r4, 0x13c(r31) +/* 80104730 00101690 7E 95 A3 78 */ mr r21, r20 +/* 80104734 00101694 3A 20 00 00 */ li r17, 0 +/* 80104738 00101698 90 1F 00 D8 */ stw r0, 0xd8(r31) +/* 8010473C 0010169C 90 7F 01 38 */ stw r3, 0x138(r31) +/* 80104740 001016A0 92 1F 01 44 */ stw r16, 0x144(r31) +/* 80104744 001016A4 91 FF 01 40 */ stw r15, 0x140(r31) +/* 80104748 001016A8 90 1F 01 48 */ stw r0, 0x148(r31) +/* 8010474C 001016AC 48 00 03 14 */ b lbl_80104A60 +lbl_80104750: +/* 80104750 001016B0 80 7C 00 00 */ lwz r3, 0(r28) +/* 80104754 001016B4 80 1F 02 2C */ lwz r0, 0x22c(r31) +/* 80104758 001016B8 7C 03 00 00 */ cmpw r3, r0 +/* 8010475C 001016BC 40 80 02 8C */ bge lbl_801049E8 +/* 80104760 001016C0 81 F5 00 00 */ lwz r15, 0(r21) +/* 80104764 001016C4 3A 00 00 01 */ li r16, 1 +/* 80104768 001016C8 80 9A 00 0C */ lwz r4, 0xc(r26) +/* 8010476C 001016CC 38 A0 00 00 */ li r5, 0 +/* 80104770 001016D0 1C 6F 00 44 */ mulli r3, r15, 0x44 +/* 80104774 001016D4 38 03 00 34 */ addi r0, r3, 0x34 +/* 80104778 001016D8 7C 04 00 AE */ lbzx r0, r4, r0 +/* 8010477C 001016DC 28 00 00 01 */ cmplwi r0, 1 +/* 80104780 001016E0 40 82 00 18 */ bne lbl_80104798 +/* 80104784 001016E4 88 1C 02 98 */ lbz r0, 0x298(r28) +/* 80104788 001016E8 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f +/* 8010478C 001016EC 28 00 00 01 */ cmplwi r0, 1 +/* 80104790 001016F0 40 82 00 08 */ bne lbl_80104798 +/* 80104794 001016F4 38 A0 00 01 */ li r5, 1 +lbl_80104798: +/* 80104798 001016F8 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 8010479C 001016FC 3A E0 00 00 */ li r23, 0 +/* 801047A0 00101700 41 82 00 14 */ beq lbl_801047B4 +/* 801047A4 00101704 80 15 00 18 */ lwz r0, 0x18(r21) +/* 801047A8 00101708 2C 00 00 02 */ cmpwi r0, 2 +/* 801047AC 0010170C 40 82 00 08 */ bne lbl_801047B4 +/* 801047B0 00101710 3A E0 00 01 */ li r23, 1 +lbl_801047B4: +/* 801047B4 00101714 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 801047B8 00101718 41 82 02 00 */ beq lbl_801049B8 +/* 801047BC 0010171C 1C 0F 00 50 */ mulli r0, r15, 0x50 +/* 801047C0 00101720 80 99 00 0C */ lwz r4, 0xc(r25) +/* 801047C4 00101724 C0 BF 00 B8 */ lfs f5, 0xb8(r31) +/* 801047C8 00101728 38 7F 00 88 */ addi r3, r31, 0x88 +/* 801047CC 0010172C C0 9F 00 BC */ lfs f4, 0xbc(r31) +/* 801047D0 00101730 C0 7F 00 C0 */ lfs f3, 0xc0(r31) +/* 801047D4 00101734 D0 BF 00 94 */ stfs f5, 0x94(r31) +/* 801047D8 00101738 7E C4 02 14 */ add r22, r4, r0 +/* 801047DC 0010173C D0 9F 00 98 */ stfs f4, 0x98(r31) +/* 801047E0 00101740 D0 7F 00 9C */ stfs f3, 0x9c(r31) +/* 801047E4 00101744 C0 56 00 04 */ lfs f2, 4(r22) +/* 801047E8 00101748 C0 36 00 08 */ lfs f1, 8(r22) +/* 801047EC 0010174C C0 16 00 00 */ lfs f0, 0(r22) +/* 801047F0 00101750 EC 42 20 28 */ fsubs f2, f2, f4 +/* 801047F4 00101754 EC 21 18 28 */ fsubs f1, f1, f3 +/* 801047F8 00101758 EC 00 28 28 */ fsubs f0, f0, f5 +/* 801047FC 0010175C D0 5F 00 8C */ stfs f2, 0x8c(r31) +/* 80104800 00101760 D0 1F 00 88 */ stfs f0, 0x88(r31) +/* 80104804 00101764 D0 3F 00 90 */ stfs f1, 0x90(r31) +/* 80104808 00101768 48 21 00 B1 */ bl Magnitude__9CVector3fCFv +/* 8010480C 0010176C 88 1C 02 98 */ lbz r0, 0x298(r28) +/* 80104810 00101770 FF C0 08 90 */ fmr f30, f1 +/* 80104814 00101774 3B 60 00 00 */ li r27, 0 +/* 80104818 00101778 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8010481C 0010177C 41 82 00 44 */ beq lbl_80104860 +/* 80104820 00101780 80 7C 02 9C */ lwz r3, 0x29c(r28) +/* 80104824 00101784 3C 03 00 01 */ addis r0, r3, 1 +/* 80104828 00101788 28 00 FF FF */ cmplwi r0, 0xffff +/* 8010482C 0010178C 40 82 00 34 */ bne lbl_80104860 +/* 80104830 00101790 80 16 00 1C */ lwz r0, 0x1c(r22) +/* 80104834 00101794 2C 00 00 03 */ cmpwi r0, 3 +/* 80104838 00101798 41 82 00 28 */ beq lbl_80104860 +/* 8010483C 0010179C C0 02 94 30 */ lfs f0, lbl_805AB150@sda21(r2) +/* 80104840 001017A0 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80104844 001017A4 40 81 00 1C */ ble lbl_80104860 +/* 80104848 001017A8 7F C3 F3 78 */ mr r3, r30 +/* 8010484C 001017AC 7E C4 B3 78 */ mr r4, r22 +/* 80104850 001017B0 48 23 2C E5 */ bl PointInside__6CAABoxCFRC9CVector3f +/* 80104854 001017B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80104858 001017B8 40 82 00 08 */ bne lbl_80104860 +/* 8010485C 001017BC 3B 60 00 01 */ li r27, 1 +lbl_80104860: +/* 80104860 001017C0 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80104864 001017C4 7F 63 DB 78 */ mr r3, r27 +/* 80104868 001017C8 41 82 00 74 */ beq lbl_801048DC +/* 8010486C 001017CC 80 1C 00 00 */ lwz r0, 0(r28) +/* 80104870 001017D0 38 80 00 00 */ li r4, 0 +/* 80104874 001017D4 2C 00 00 00 */ cmpwi r0, 0 +/* 80104878 001017D8 41 82 00 2C */ beq lbl_801048A4 +/* 8010487C 001017DC 2C 00 00 01 */ cmpwi r0, 1 +/* 80104880 001017E0 40 82 00 28 */ bne lbl_801048A8 +/* 80104884 001017E4 1C 72 00 1C */ mulli r3, r18, 0x1c +/* 80104888 001017E8 C0 55 00 10 */ lfs f2, 0x10(r21) +/* 8010488C 001017EC C0 02 94 34 */ lfs f0, lbl_805AB154@sda21(r2) +/* 80104890 001017F0 38 03 00 10 */ addi r0, r3, 0x10 +/* 80104894 001017F4 7C 34 04 2E */ lfsx f1, r20, r0 +/* 80104898 001017F8 EC 22 08 24 */ fdivs f1, f2, f1 +/* 8010489C 001017FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801048A0 00101800 40 81 00 08 */ ble lbl_801048A8 +lbl_801048A4: +/* 801048A4 00101804 38 80 00 01 */ li r4, 1 +lbl_801048A8: +/* 801048A8 00101808 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 801048AC 0010180C 7C 83 23 78 */ mr r3, r4 +/* 801048B0 00101810 41 82 00 2C */ beq lbl_801048DC +/* 801048B4 00101814 C0 7C 02 D0 */ lfs f3, 0x2d0(r28) +/* 801048B8 00101818 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) +/* 801048BC 0010181C C0 55 00 10 */ lfs f2, 0x10(r21) +/* 801048C0 00101820 EC 00 18 2A */ fadds f0, f0, f3 +/* 801048C4 00101824 C0 35 00 14 */ lfs f1, 0x14(r21) +/* 801048C8 00101828 EC 22 08 24 */ fdivs f1, f2, f1 +/* 801048CC 0010182C EC 03 00 24 */ fdivs f0, f3, f0 +/* 801048D0 00101830 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801048D4 00101834 7C 00 00 26 */ mfcr r0 +/* 801048D8 00101838 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +lbl_801048DC: +/* 801048DC 0010183C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801048E0 00101840 41 82 00 14 */ beq lbl_801048F4 +/* 801048E4 00101844 80 1C 00 00 */ lwz r0, 0(r28) +/* 801048E8 00101848 90 1C 02 9C */ stw r0, 0x29c(r28) +/* 801048EC 0010184C 91 FC 02 A0 */ stw r15, 0x2a0(r28) +/* 801048F0 00101850 48 00 00 C8 */ b lbl_801049B8 +lbl_801048F4: +/* 801048F4 00101854 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 801048F8 00101858 40 82 00 C0 */ bne lbl_801049B8 +/* 801048FC 0010185C C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) +/* 80104900 00101860 FC 20 F0 90 */ fmr f1, f30 +/* 80104904 00101864 C0 7F 00 88 */ lfs f3, 0x88(r31) +/* 80104908 00101868 7F A3 EB 78 */ mr r3, r29 +/* 8010490C 0010186C EC 80 F0 24 */ fdivs f4, f0, f30 +/* 80104910 00101870 C0 5F 00 8C */ lfs f2, 0x8c(r31) +/* 80104914 00101874 C0 1F 00 90 */ lfs f0, 0x90(r31) +/* 80104918 00101878 38 9F 00 94 */ addi r4, r31, 0x94 +/* 8010491C 0010187C 38 BF 00 88 */ addi r5, r31, 0x88 +/* 80104920 00101880 38 DF 01 38 */ addi r6, r31, 0x138 +/* 80104924 00101884 EC 63 01 32 */ fmuls f3, f3, f4 +/* 80104928 00101888 EC 42 01 32 */ fmuls f2, f2, f4 +/* 8010492C 0010188C EC 00 01 32 */ fmuls f0, f0, f4 +/* 80104930 00101890 D0 7F 00 88 */ stfs f3, 0x88(r31) +/* 80104934 00101894 D0 5F 00 8C */ stfs f2, 0x8c(r31) +/* 80104938 00101898 D0 1F 00 90 */ stfs f0, 0x90(r31) +/* 8010493C 0010189C 48 08 01 ED */ bl RayStaticIntersectionArea__14CGameCollisionFRC9CGameAreaRC9CVector3fRC9CVector3fRC15CMaterialFilter +/* 80104940 001018A0 2C 11 00 00 */ cmpwi r17, 0 +/* 80104944 001018A4 7C 70 1B 78 */ mr r16, r3 +/* 80104948 001018A8 40 82 00 70 */ bne lbl_801049B8 +/* 8010494C 001018AC 56 00 06 3F */ clrlwi. r0, r16, 0x18 +/* 80104950 001018B0 41 82 00 18 */ beq lbl_80104968 +/* 80104954 001018B4 88 1C 02 99 */ lbz r0, 0x299(r28) +/* 80104958 001018B8 38 60 00 01 */ li r3, 1 +/* 8010495C 001018BC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80104960 001018C0 98 1C 02 99 */ stb r0, 0x299(r28) +/* 80104964 001018C4 48 00 00 14 */ b lbl_80104978 +lbl_80104968: +/* 80104968 001018C8 88 1C 02 99 */ lbz r0, 0x299(r28) +/* 8010496C 001018CC 38 60 00 00 */ li r3, 0 +/* 80104970 001018D0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80104974 001018D4 98 1C 02 99 */ stb r0, 0x299(r28) +lbl_80104978: +/* 80104978 001018D8 80 1C 02 D8 */ lwz r0, 0x2d8(r28) +/* 8010497C 001018DC 7C 00 78 00 */ cmpw r0, r15 +/* 80104980 001018E0 41 82 00 24 */ beq lbl_801049A4 +/* 80104984 001018E4 56 00 06 3F */ clrlwi. r0, r16, 0x18 +/* 80104988 001018E8 41 82 00 10 */ beq lbl_80104998 +/* 8010498C 001018EC 38 00 00 00 */ li r0, 0 +/* 80104990 001018F0 90 1C 02 DC */ stw r0, 0x2dc(r28) +/* 80104994 001018F4 48 00 00 0C */ b lbl_801049A0 +lbl_80104998: +/* 80104998 001018F8 38 00 00 0F */ li r0, 0xf +/* 8010499C 001018FC 90 1C 02 DC */ stw r0, 0x2dc(r28) +lbl_801049A0: +/* 801049A0 00101900 91 FC 02 D8 */ stw r15, 0x2d8(r28) +lbl_801049A4: +/* 801049A4 00101904 88 1C 02 99 */ lbz r0, 0x299(r28) +/* 801049A8 00101908 38 60 00 00 */ li r3, 0 +/* 801049AC 0010190C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 801049B0 00101910 3A 00 00 01 */ li r16, 1 +/* 801049B4 00101914 98 1C 02 99 */ stb r0, 0x299(r28) +lbl_801049B8: +/* 801049B8 00101918 56 00 06 3F */ clrlwi. r0, r16, 0x18 +/* 801049BC 0010191C 41 82 00 9C */ beq lbl_80104A58 +/* 801049C0 00101920 80 1C 00 00 */ lwz r0, 0(r28) +/* 801049C4 00101924 2C 00 00 00 */ cmpwi r0, 0 +/* 801049C8 00101928 40 82 00 08 */ bne lbl_801049D0 +/* 801049CC 0010192C 7E 32 8B 78 */ mr r18, r17 +lbl_801049D0: +/* 801049D0 00101930 1C 0F 00 50 */ mulli r0, r15, 0x50 +/* 801049D4 00101934 80 99 00 0C */ lwz r4, 0xc(r25) +/* 801049D8 00101938 7F 83 E3 78 */ mr r3, r28 +/* 801049DC 0010193C 7C 84 02 14 */ add r4, r4, r0 +/* 801049E0 00101940 4B FF E8 6D */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" +/* 801049E4 00101944 48 00 00 74 */ b lbl_80104A58 +lbl_801049E8: +/* 801049E8 00101948 55 C0 06 3F */ clrlwi. r0, r14, 0x18 +/* 801049EC 0010194C 41 82 00 3C */ beq lbl_80104A28 +/* 801049F0 00101950 C0 35 00 10 */ lfs f1, 0x10(r21) +/* 801049F4 00101954 C0 02 94 2C */ lfs f0, lbl_805AB14C@sda21(r2) +/* 801049F8 00101958 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801049FC 0010195C 40 81 00 2C */ ble lbl_80104A28 +/* 80104A00 00101960 80 15 00 00 */ lwz r0, 0(r21) +/* 80104A04 00101964 38 7F 01 DC */ addi r3, r31, 0x1dc +/* 80104A08 00101968 80 B9 00 0C */ lwz r5, 0xc(r25) +/* 80104A0C 0010196C 38 9F 00 A0 */ addi r4, r31, 0xa0 +/* 80104A10 00101970 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80104A14 00101974 7C A5 02 14 */ add r5, r5, r0 +/* 80104A18 00101978 48 00 01 59 */ bl MergeOverflowLight__12CActorLightsFR6CLightR9CVector3fRC6CLightf +/* 80104A1C 0010197C C0 15 00 10 */ lfs f0, 0x10(r21) +/* 80104A20 00101980 EF FF 00 2A */ fadds f31, f31, f0 +/* 80104A24 00101984 48 00 00 34 */ b lbl_80104A58 +lbl_80104A28: +/* 80104A28 00101988 C0 3F 00 AC */ lfs f1, 0xac(r31) +/* 80104A2C 0010198C C0 15 00 04 */ lfs f0, 4(r21) +/* 80104A30 00101990 C0 5F 00 B0 */ lfs f2, 0xb0(r31) +/* 80104A34 00101994 EC 01 00 2A */ fadds f0, f1, f0 +/* 80104A38 00101998 C0 3F 00 B4 */ lfs f1, 0xb4(r31) +/* 80104A3C 0010199C D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 80104A40 001019A0 C0 15 00 08 */ lfs f0, 8(r21) +/* 80104A44 001019A4 EC 02 00 2A */ fadds f0, f2, f0 +/* 80104A48 001019A8 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 80104A4C 001019AC C0 15 00 0C */ lfs f0, 0xc(r21) +/* 80104A50 001019B0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80104A54 001019B4 D0 1F 00 B4 */ stfs f0, 0xb4(r31) +lbl_80104A58: +/* 80104A58 001019B8 3A B5 00 1C */ addi r21, r21, 0x1c +/* 80104A5C 001019BC 3A 31 00 01 */ addi r17, r17, 1 +lbl_80104A60: +/* 80104A60 001019C0 7C 11 98 00 */ cmpw r17, r19 +/* 80104A64 001019C4 41 80 FC EC */ blt lbl_80104750 +/* 80104A68 001019C8 55 C0 06 3F */ clrlwi. r0, r14, 0x18 +/* 80104A6C 001019CC 41 82 00 1C */ beq lbl_80104A88 +/* 80104A70 001019D0 FC 20 F8 90 */ fmr f1, f31 +/* 80104A74 001019D4 7F 83 E3 78 */ mr r3, r28 +/* 80104A78 001019D8 38 9F 01 DC */ addi r4, r31, 0x1dc +/* 80104A7C 001019DC 38 BF 00 A0 */ addi r5, r31, 0xa0 +/* 80104A80 001019E0 4B FF F1 39 */ bl AddOverflowToLights__12CActorLightsFRC6CLightRC9CVector3f +/* 80104A84 001019E4 48 00 00 10 */ b lbl_80104A94 +lbl_80104A88: +/* 80104A88 001019E8 7F 83 E3 78 */ mr r3, r28 +/* 80104A8C 001019EC 38 9F 00 AC */ addi r4, r31, 0xac +/* 80104A90 001019F0 4B FF EF B1 */ bl MoveAmbienceToLights__12CActorLightsFRC9CVector3f +lbl_80104A94: +/* 80104A94 001019F4 C0 3C 02 88 */ lfs f1, 0x288(r28) +/* 80104A98 001019F8 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) +/* 80104A9C 001019FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80104AA0 00101A00 40 81 00 08 */ ble lbl_80104AA8 +/* 80104AA4 00101A04 D0 1C 02 88 */ stfs f0, 0x288(r28) +lbl_80104AA8: +/* 80104AA8 00101A08 C0 3C 02 8C */ lfs f1, 0x28c(r28) +/* 80104AAC 00101A0C C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) +/* 80104AB0 00101A10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80104AB4 00101A14 40 81 00 08 */ ble lbl_80104ABC +/* 80104AB8 00101A18 D0 1C 02 8C */ stfs f0, 0x28c(r28) +lbl_80104ABC: +/* 80104ABC 00101A1C C0 3C 02 90 */ lfs f1, 0x290(r28) +/* 80104AC0 00101A20 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) +/* 80104AC4 00101A24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80104AC8 00101A28 40 81 00 08 */ ble lbl_80104AD0 +/* 80104ACC 00101A2C D0 1C 02 90 */ stfs f0, 0x290(r28) +lbl_80104AD0: +/* 80104AD0 00101A30 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 80104AD4 00101A34 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) +/* 80104AD8 00101A38 C0 23 11 28 */ lfs f1, 0x1128(r3) +/* 80104ADC 00101A3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80104AE0 00101A40 40 80 00 0C */ bge lbl_80104AEC +/* 80104AE4 00101A44 7F 83 E3 78 */ mr r3, r28 +/* 80104AE8 00101A48 4B FF F1 FD */ bl MultiplyLightingLevels__12CActorLightsFf +lbl_80104AEC: +/* 80104AEC 00101A4C 34 7F 01 5C */ addic. r3, r31, 0x15c +/* 80104AF0 00101A50 41 82 00 18 */ beq lbl_80104B08 +/* 80104AF4 00101A54 88 03 00 00 */ lbz r0, 0(r3) +/* 80104AF8 00101A58 28 00 00 00 */ cmplwi r0, 0 +/* 80104AFC 00101A5C 41 82 00 0C */ beq lbl_80104B08 +/* 80104B00 00101A60 80 7F 01 60 */ lwz r3, 0x160(r31) +/* 80104B04 00101A64 48 21 0E 2D */ bl Free__7CMemoryFPCv +lbl_80104B08: +/* 80104B08 00101A68 34 7F 01 70 */ addic. r3, r31, 0x170 +/* 80104B0C 00101A6C 41 82 00 18 */ beq lbl_80104B24 +/* 80104B10 00101A70 88 03 00 00 */ lbz r0, 0(r3) +/* 80104B14 00101A74 28 00 00 00 */ cmplwi r0, 0 +/* 80104B18 00101A78 41 82 00 0C */ beq lbl_80104B24 +/* 80104B1C 00101A7C 80 7F 01 74 */ lwz r3, 0x174(r31) +/* 80104B20 00101A80 48 21 0E 11 */ bl Free__7CMemoryFPCv +lbl_80104B24: +/* 80104B24 00101A84 34 7F 01 84 */ addic. r3, r31, 0x184 +/* 80104B28 00101A88 41 82 00 18 */ beq lbl_80104B40 +/* 80104B2C 00101A8C 88 03 00 00 */ lbz r0, 0(r3) +/* 80104B30 00101A90 28 00 00 00 */ cmplwi r0, 0 +/* 80104B34 00101A94 41 82 00 0C */ beq lbl_80104B40 +/* 80104B38 00101A98 80 7F 01 88 */ lwz r3, 0x188(r31) +/* 80104B3C 00101A9C 48 21 0D F5 */ bl Free__7CMemoryFPCv +lbl_80104B40: +/* 80104B40 00101AA0 38 60 00 01 */ li r3, 1 +lbl_80104B44: +/* 80104B44 00101AA4 7F EA FB 78 */ mr r10, r31 +/* 80104B48 00101AA8 E3 EA 02 98 */ psq_l f31, 664(r10), 0, qr0 +/* 80104B4C 00101AAC CB FF 02 90 */ lfd f31, 0x290(r31) +/* 80104B50 00101AB0 E3 CA 02 88 */ psq_l f30, 648(r10), 0, qr0 +/* 80104B54 00101AB4 CB DF 02 80 */ lfd f30, 0x280(r31) +/* 80104B58 00101AB8 B9 CA 02 38 */ lmw r14, 0x238(r10) +/* 80104B5C 00101ABC 81 41 00 00 */ lwz r10, 0(r1) +/* 80104B60 00101AC0 80 0A 00 04 */ lwz r0, 4(r10) +/* 80104B64 00101AC4 7D 41 53 78 */ mr r1, r10 +/* 80104B68 00101AC8 7C 08 03 A6 */ mtlr r0 +/* 80104B6C 00101ACC 4E 80 00 20 */ blr + +.global MergeOverflowLight__12CActorLightsFR6CLightR9CVector3fRC6CLightf +MergeOverflowLight__12CActorLightsFR6CLightR9CVector3fRC6CLightf: +/* 80104B70 00101AD0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80104B74 00101AD4 7C 08 02 A6 */ mflr r0 +/* 80104B78 00101AD8 90 01 00 74 */ stw r0, 0x74(r1) +/* 80104B7C 00101ADC DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80104B80 00101AE0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80104B84 00101AE4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80104B88 00101AE8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80104B8C 00101AEC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80104B90 00101AF0 3C E0 80 5A */ lis r7, skZero3f@ha +/* 80104B94 00101AF4 C4 47 66 A0 */ lfsu f2, skZero3f@l(r7) +/* 80104B98 00101AF8 FF E0 08 90 */ fmr f31, f1 +/* 80104B9C 00101AFC 7C BF 2B 78 */ mr r31, r5 +/* 80104BA0 00101B00 C0 27 00 04 */ lfs f1, 4(r7) +/* 80104BA4 00101B04 7C 9E 23 78 */ mr r30, r4 +/* 80104BA8 00101B08 C0 07 00 08 */ lfs f0, 8(r7) +/* 80104BAC 00101B0C 7C 7D 1B 78 */ mr r29, r3 +/* 80104BB0 00101B10 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80104BB4 00101B14 38 C1 00 40 */ addi r6, r1, 0x40 +/* 80104BB8 00101B18 38 A1 00 3C */ addi r5, r1, 0x3c +/* 80104BBC 00101B1C 38 7F 00 18 */ addi r3, r31, 0x18 +/* 80104BC0 00101B20 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80104BC4 00101B24 38 81 00 38 */ addi r4, r1, 0x38 +/* 80104BC8 00101B28 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80104BCC 00101B2C 48 25 E7 6D */ bl Get__6CColorCFRfRfRf +/* 80104BD0 00101B30 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80104BD4 00101B34 7F A3 EB 78 */ mr r3, r29 +/* 80104BD8 00101B38 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 80104BDC 00101B3C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80104BE0 00101B40 C0 3E 00 00 */ lfs f1, 0(r30) +/* 80104BE4 00101B44 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 80104BE8 00101B48 EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 80104BEC 00101B4C EC 01 00 2A */ fadds f0, f1, f0 +/* 80104BF0 00101B50 EC 3F 00 B2 */ fmuls f1, f31, f2 +/* 80104BF4 00101B54 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80104BF8 00101B58 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80104BFC 00101B5C EC 00 18 2A */ fadds f0, f0, f3 +/* 80104C00 00101B60 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80104C04 00101B64 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80104C08 00101B68 EC 00 08 2A */ fadds f0, f0, f1 +/* 80104C0C 00101B6C D0 1E 00 08 */ stfs f0, 8(r30) +/* 80104C10 00101B70 C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 80104C14 00101B74 C0 1D 00 30 */ lfs f0, 0x30(r29) +/* 80104C18 00101B78 C0 9F 00 34 */ lfs f4, 0x34(r31) +/* 80104C1C 00101B7C C0 5D 00 34 */ lfs f2, 0x34(r29) +/* 80104C20 00101B80 EC 3F 00 7A */ fmadds f1, f31, f1, f0 +/* 80104C24 00101B84 C0 7F 00 38 */ lfs f3, 0x38(r31) +/* 80104C28 00101B88 C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 80104C2C 00101B8C EC 5F 11 3A */ fmadds f2, f31, f4, f2 +/* 80104C30 00101B90 EC 7F 00 FA */ fmadds f3, f31, f3, f0 +/* 80104C34 00101B94 48 20 17 51 */ bl SetAngleAttenuation__6CLightFfff +/* 80104C38 00101B98 C0 3F 00 24 */ lfs f1, 0x24(r31) +/* 80104C3C 00101B9C 7F A3 EB 78 */ mr r3, r29 +/* 80104C40 00101BA0 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 80104C44 00101BA4 C0 9F 00 28 */ lfs f4, 0x28(r31) +/* 80104C48 00101BA8 C0 5D 00 28 */ lfs f2, 0x28(r29) +/* 80104C4C 00101BAC EC 3F 00 7A */ fmadds f1, f31, f1, f0 +/* 80104C50 00101BB0 C0 7F 00 2C */ lfs f3, 0x2c(r31) +/* 80104C54 00101BB4 C0 1D 00 2C */ lfs f0, 0x2c(r29) +/* 80104C58 00101BB8 EC 5F 11 3A */ fmadds f2, f31, f4, f2 +/* 80104C5C 00101BBC EC 7F 00 FA */ fmadds f3, f31, f3, f0 +/* 80104C60 00101BC0 48 20 17 51 */ bl SetAttenuation__6CLightFfff +/* 80104C64 00101BC4 C0 5F 00 04 */ lfs f2, 4(r31) +/* 80104C68 00101BC8 7F A3 EB 78 */ mr r3, r29 +/* 80104C6C 00101BCC C0 3F 00 08 */ lfs f1, 8(r31) +/* 80104C70 00101BD0 38 81 00 2C */ addi r4, r1, 0x2c +/* 80104C74 00101BD4 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80104C78 00101BD8 EC BF 00 B2 */ fmuls f5, f31, f2 +/* 80104C7C 00101BDC EC 9F 00 72 */ fmuls f4, f31, f1 +/* 80104C80 00101BE0 C0 5D 00 04 */ lfs f2, 4(r29) +/* 80104C84 00101BE4 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 80104C88 00101BE8 C0 3D 00 08 */ lfs f1, 8(r29) +/* 80104C8C 00101BEC C0 1D 00 00 */ lfs f0, 0(r29) +/* 80104C90 00101BF0 EC 42 28 2A */ fadds f2, f2, f5 +/* 80104C94 00101BF4 EC 21 20 2A */ fadds f1, f1, f4 +/* 80104C98 00101BF8 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80104C9C 00101BFC EC 00 18 2A */ fadds f0, f0, f3 +/* 80104CA0 00101C00 D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80104CA4 00101C04 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 80104CA8 00101C08 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80104CAC 00101C0C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80104CB0 00101C10 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80104CB4 00101C14 48 20 16 8D */ bl SetPosition__6CLightFRC9CVector3f +/* 80104CB8 00101C18 C0 5F 00 10 */ lfs f2, 0x10(r31) +/* 80104CBC 00101C1C 7F A3 EB 78 */ mr r3, r29 +/* 80104CC0 00101C20 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 80104CC4 00101C24 38 81 00 14 */ addi r4, r1, 0x14 +/* 80104CC8 00101C28 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80104CCC 00101C2C EC BF 00 B2 */ fmuls f5, f31, f2 +/* 80104CD0 00101C30 EC 9F 00 72 */ fmuls f4, f31, f1 +/* 80104CD4 00101C34 C0 5D 00 10 */ lfs f2, 0x10(r29) +/* 80104CD8 00101C38 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 80104CDC 00101C3C C0 3D 00 14 */ lfs f1, 0x14(r29) +/* 80104CE0 00101C40 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 80104CE4 00101C44 EC 42 28 2A */ fadds f2, f2, f5 +/* 80104CE8 00101C48 EC 21 20 2A */ fadds f1, f1, f4 +/* 80104CEC 00101C4C D0 61 00 08 */ stfs f3, 8(r1) +/* 80104CF0 00101C50 EC 00 18 2A */ fadds f0, f0, f3 +/* 80104CF4 00101C54 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80104CF8 00101C58 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80104CFC 00101C5C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80104D00 00101C60 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80104D04 00101C64 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80104D08 00101C68 48 20 16 1D */ bl SetDirection__6CLightFRC9CVector3f +/* 80104D0C 00101C6C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80104D10 00101C70 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80104D14 00101C74 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80104D18 00101C78 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80104D1C 00101C7C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80104D20 00101C80 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80104D24 00101C84 7C 08 03 A6 */ mtlr r0 +/* 80104D28 00101C88 38 21 00 70 */ addi r1, r1, 0x70 +/* 80104D2C 00101C8C 4E 80 00 20 */ blr + +.global UpdateBrightLight__12CActorLightsFv +UpdateBrightLight__12CActorLightsFv: +/* 80104D30 00101C90 80 83 02 DC */ lwz r4, 0x2dc(r3) +/* 80104D34 00101C94 2C 04 00 00 */ cmpwi r4, 0 +/* 80104D38 00101C98 40 81 00 1C */ ble lbl_80104D54 +/* 80104D3C 00101C9C 88 03 02 99 */ lbz r0, 0x299(r3) +/* 80104D40 00101CA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80104D44 00101CA4 41 82 00 10 */ beq lbl_80104D54 +/* 80104D48 00101CA8 38 04 FF FF */ addi r0, r4, -1 +/* 80104D4C 00101CAC 90 03 02 DC */ stw r0, 0x2dc(r3) +/* 80104D50 00101CB0 48 00 00 24 */ b lbl_80104D74 +lbl_80104D54: +/* 80104D54 00101CB4 28 04 00 0F */ cmplwi r4, 0xf +/* 80104D58 00101CB8 40 80 00 1C */ bge lbl_80104D74 +/* 80104D5C 00101CBC 88 03 02 99 */ lbz r0, 0x299(r3) +/* 80104D60 00101CC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80104D64 00101CC4 40 82 00 10 */ bne lbl_80104D74 +/* 80104D68 00101CC8 80 83 02 DC */ lwz r4, 0x2dc(r3) +/* 80104D6C 00101CCC 38 04 00 01 */ addi r0, r4, 1 +/* 80104D70 00101CD0 90 03 02 DC */ stw r0, 0x2dc(r3) +lbl_80104D74: +/* 80104D74 00101CD4 88 03 02 99 */ lbz r0, 0x299(r3) +/* 80104D78 00101CD8 38 80 00 01 */ li r4, 1 +/* 80104D7C 00101CDC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80104D80 00101CE0 98 03 02 99 */ stb r0, 0x299(r3) +/* 80104D84 00101CE4 4E 80 00 20 */ blr + +.global ActivateLights__12CActorLightsCFv +ActivateLights__12CActorLightsCFv: +/* 80104D88 00101CE8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80104D8C 00101CEC 7C 08 02 A6 */ mflr r0 +/* 80104D90 00101CF0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80104D94 00101CF4 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80104D98 00101CF8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80104D9C 00101CFC 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 80104DA0 00101D00 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80104DA4 00101D04 93 A1 00 84 */ stw r29, 0x84(r1) +/* 80104DA8 00101D08 93 81 00 80 */ stw r28, 0x80(r1) +/* 80104DAC 00101D0C 7C 7F 1B 78 */ mr r31, r3 +/* 80104DB0 00101D10 88 63 02 98 */ lbz r3, 0x298(r3) +/* 80104DB4 00101D14 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80104DB8 00101D18 41 82 00 70 */ beq lbl_80104E28 +/* 80104DBC 00101D1C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80104DC0 00101D20 41 82 00 10 */ beq lbl_80104DD0 +/* 80104DC4 00101D24 88 1F 02 99 */ lbz r0, 0x299(r31) +/* 80104DC8 00101D28 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80104DCC 00101D2C 41 82 00 28 */ beq lbl_80104DF4 +lbl_80104DD0: +/* 80104DD0 00101D30 48 24 51 DD */ bl White__6CColorFv +/* 80104DD4 00101D34 7C 64 1B 78 */ mr r4, r3 +/* 80104DD8 00101D38 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80104DDC 00101D3C 81 83 00 00 */ lwz r12, 0(r3) +/* 80104DE0 00101D40 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80104DE4 00101D44 7D 89 03 A6 */ mtctr r12 +/* 80104DE8 00101D48 4E 80 04 21 */ bctrl +/* 80104DEC 00101D4C 48 20 7B 91 */ bl DisableAllLights__9CGraphicsFv +/* 80104DF0 00101D50 48 00 02 20 */ b lbl_80105010 +lbl_80104DF4: +/* 80104DF4 00101D54 C0 3F 02 88 */ lfs f1, 0x288(r31) +/* 80104DF8 00101D58 38 61 00 10 */ addi r3, r1, 0x10 +/* 80104DFC 00101D5C C0 5F 02 8C */ lfs f2, 0x28c(r31) +/* 80104E00 00101D60 C0 7F 02 90 */ lfs f3, 0x290(r31) +/* 80104E04 00101D64 C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) +/* 80104E08 00101D68 48 25 E5 E5 */ bl __ct__6CColorFffff +/* 80104E0C 00101D6C 7C 64 1B 78 */ mr r4, r3 +/* 80104E10 00101D70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80104E14 00101D74 81 83 00 00 */ lwz r12, 0(r3) +/* 80104E18 00101D78 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80104E1C 00101D7C 7D 89 03 A6 */ mtctr r12 +/* 80104E20 00101D80 4E 80 04 21 */ bctrl +/* 80104E24 00101D84 48 00 00 34 */ b lbl_80104E58 +lbl_80104E28: +/* 80104E28 00101D88 C0 3F 02 88 */ lfs f1, 0x288(r31) +/* 80104E2C 00101D8C 38 61 00 0C */ addi r3, r1, 0xc +/* 80104E30 00101D90 C0 5F 02 8C */ lfs f2, 0x28c(r31) +/* 80104E34 00101D94 C0 7F 02 90 */ lfs f3, 0x290(r31) +/* 80104E38 00101D98 C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) +/* 80104E3C 00101D9C 48 25 E5 B1 */ bl __ct__6CColorFffff +/* 80104E40 00101DA0 7C 64 1B 78 */ mr r4, r3 +/* 80104E44 00101DA4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80104E48 00101DA8 81 83 00 00 */ lwz r12, 0(r3) +/* 80104E4C 00101DAC 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80104E50 00101DB0 7D 89 03 A6 */ mtctr r12 +/* 80104E54 00101DB4 4E 80 04 21 */ bctrl +lbl_80104E58: +/* 80104E58 00101DB8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80104E5C 00101DBC 3B A0 00 00 */ li r29, 0 +/* 80104E60 00101DC0 2C 00 00 00 */ cmpwi r0, 0 +/* 80104E64 00101DC4 41 82 00 F0 */ beq lbl_80104F54 +/* 80104E68 00101DC8 80 1F 02 DC */ lwz r0, 0x2dc(r31) +/* 80104E6C 00101DCC 2C 00 00 00 */ cmpwi r0, 0 +/* 80104E70 00101DD0 41 82 00 A4 */ beq lbl_80104F14 +/* 80104E74 00101DD4 88 1F 02 99 */ lbz r0, 0x299(r31) +/* 80104E78 00101DD8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80104E7C 00101DDC 41 82 00 98 */ beq lbl_80104F14 +/* 80104E80 00101DE0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80104E84 00101DE4 38 9F 00 04 */ addi r4, r31, 4 +/* 80104E88 00101DE8 4B F3 66 E9 */ bl __ct__6CLightFCR6CLight +/* 80104E8C 00101DEC 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80104E90 00101DF0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80104E94 00101DF4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80104E98 00101DF8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80104E9C 00101DFC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80104EA0 00101E00 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80104EA4 00101E04 48 25 E4 95 */ bl Get__6CColorCFRfRfRf +/* 80104EA8 00101E08 80 9F 02 DC */ lwz r4, 0x2dc(r31) +/* 80104EAC 00101E0C 3C 00 43 30 */ lis r0, 0x4330 +/* 80104EB0 00101E10 90 01 00 78 */ stw r0, 0x78(r1) +/* 80104EB4 00101E14 38 61 00 24 */ addi r3, r1, 0x24 +/* 80104EB8 00101E18 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 80104EBC 00101E1C C8 42 94 40 */ lfd f2, lbl_805AB160@sda21(r2) +/* 80104EC0 00101E20 90 81 00 7C */ stw r4, 0x7c(r1) +/* 80104EC4 00101E24 C0 62 94 38 */ lfs f3, lbl_805AB158@sda21(r2) +/* 80104EC8 00101E28 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 80104ECC 00101E2C C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) +/* 80104ED0 00101E30 EC A0 10 28 */ fsubs f5, f0, f2 +/* 80104ED4 00101E34 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80104ED8 00101E38 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80104EDC 00101E3C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80104EE0 00101E40 EC 65 18 24 */ fdivs f3, f5, f3 +/* 80104EE4 00101E44 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80104EE8 00101E48 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80104EEC 00101E4C EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80104EF0 00101E50 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 80104EF4 00101E54 48 25 E4 A9 */ bl Set__6CColorFffff +/* 80104EF8 00101E58 38 61 00 28 */ addi r3, r1, 0x28 +/* 80104EFC 00101E5C 38 81 00 24 */ addi r4, r1, 0x24 +/* 80104F00 00101E60 48 20 14 5D */ bl SetColor__6CLightFRC6CColor +/* 80104F04 00101E64 38 81 00 28 */ addi r4, r1, 0x28 +/* 80104F08 00101E68 38 60 00 00 */ li r3, 0 +/* 80104F0C 00101E6C 48 20 7A B9 */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 80104F10 00101E70 48 00 00 10 */ b lbl_80104F20 +lbl_80104F14: +/* 80104F14 00101E74 38 9F 00 04 */ addi r4, r31, 4 +/* 80104F18 00101E78 38 60 00 00 */ li r3, 0 +/* 80104F1C 00101E7C 48 20 7A A9 */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +lbl_80104F20: +/* 80104F20 00101E80 3B DF 00 54 */ addi r30, r31, 0x54 +/* 80104F24 00101E84 3B A0 00 01 */ li r29, 1 +/* 80104F28 00101E88 3B 80 00 01 */ li r28, 1 +/* 80104F2C 00101E8C 48 00 00 1C */ b lbl_80104F48 +lbl_80104F30: +/* 80104F30 00101E90 7F 83 E3 78 */ mr r3, r28 +/* 80104F34 00101E94 7F C4 F3 78 */ mr r4, r30 +/* 80104F38 00101E98 48 20 7A 8D */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 80104F3C 00101E9C 3B DE 00 50 */ addi r30, r30, 0x50 +/* 80104F40 00101EA0 3B 9C 00 01 */ addi r28, r28, 1 +/* 80104F44 00101EA4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80104F48: +/* 80104F48 00101EA8 80 1F 00 00 */ lwz r0, 0(r31) +/* 80104F4C 00101EAC 7C 1C 00 00 */ cmpw r28, r0 +/* 80104F50 00101EB0 41 80 FF E0 */ blt lbl_80104F30 +lbl_80104F54: +/* 80104F54 00101EB4 3B DF 01 48 */ addi r30, r31, 0x148 +/* 80104F58 00101EB8 3B 80 00 00 */ li r28, 0 +/* 80104F5C 00101EBC 48 00 00 1C */ b lbl_80104F78 +lbl_80104F60: +/* 80104F60 00101EC0 7F A3 EB 78 */ mr r3, r29 +/* 80104F64 00101EC4 7F C4 F3 78 */ mr r4, r30 +/* 80104F68 00101EC8 48 20 7A 5D */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 80104F6C 00101ECC 3B DE 00 50 */ addi r30, r30, 0x50 +/* 80104F70 00101ED0 3B 9C 00 01 */ addi r28, r28, 1 +/* 80104F74 00101ED4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80104F78: +/* 80104F78 00101ED8 80 1F 01 44 */ lwz r0, 0x144(r31) +/* 80104F7C 00101EDC 7C 1C 00 00 */ cmpw r28, r0 +/* 80104F80 00101EE0 41 80 FF E0 */ blt lbl_80104F60 +/* 80104F84 00101EE4 28 1D 00 00 */ cmplwi r29, 0 +/* 80104F88 00101EE8 41 82 00 1C */ beq lbl_80104FA4 +/* 80104F8C 00101EEC 38 00 00 01 */ li r0, 1 +/* 80104F90 00101EF0 7C 03 E8 30 */ slw r3, r0, r29 +/* 80104F94 00101EF4 38 03 FF FF */ addi r0, r3, -1 +/* 80104F98 00101EF8 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80104F9C 00101EFC 48 20 79 35 */ bl SetLightState__9CGraphicsFUc +/* 80104FA0 00101F00 48 00 00 08 */ b lbl_80104FA8 +lbl_80104FA4: +/* 80104FA4 00101F04 48 20 79 D9 */ bl DisableAllLights__9CGraphicsFv +lbl_80104FA8: +/* 80104FA8 00101F08 88 1F 02 98 */ lbz r0, 0x298(r31) +/* 80104FAC 00101F0C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80104FB0 00101F10 41 82 00 60 */ beq lbl_80105010 +/* 80104FB4 00101F14 C0 22 94 3C */ lfs f1, lbl_805AB15C@sda21(r2) +/* 80104FB8 00101F18 C0 1F 02 D4 */ lfs f0, 0x2d4(r31) +/* 80104FBC 00101F1C EF E1 00 32 */ fmuls f31, f1, f0 +/* 80104FC0 00101F20 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80104FC4 00101F24 38 00 00 FF */ li r0, 0xff +/* 80104FC8 00101F28 88 61 00 08 */ lbz r3, 8(r1) +/* 80104FCC 00101F2C 98 01 00 17 */ stb r0, 0x17(r1) +/* 80104FD0 00101F30 98 61 00 14 */ stb r3, 0x14(r1) +/* 80104FD4 00101F34 98 61 00 15 */ stb r3, 0x15(r1) +/* 80104FD8 00101F38 98 61 00 16 */ stb r3, 0x16(r1) +/* 80104FDC 00101F3C 48 24 4F D9 */ bl Black__6CColorFv +/* 80104FE0 00101F40 7C 64 1B 78 */ mr r4, r3 +/* 80104FE4 00101F44 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80104FE8 00101F48 81 83 00 00 */ lwz r12, 0(r3) +/* 80104FEC 00101F4C 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80104FF0 00101F50 7D 89 03 A6 */ mtctr r12 +/* 80104FF4 00101F54 4E 80 04 21 */ bctrl +/* 80104FF8 00101F58 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80104FFC 00101F5C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80105000 00101F60 81 83 00 00 */ lwz r12, 0(r3) +/* 80105004 00101F64 81 8C 00 FC */ lwz r12, 0xfc(r12) +/* 80105008 00101F68 7D 89 03 A6 */ mtctr r12 +/* 8010500C 00101F6C 4E 80 04 21 */ bctrl +lbl_80105010: +/* 80105010 00101F70 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80105014 00101F74 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80105018 00101F78 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8010501C 00101F7C 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80105020 00101F80 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80105024 00101F84 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 80105028 00101F88 83 81 00 80 */ lwz r28, 0x80(r1) +/* 8010502C 00101F8C 7C 08 03 A6 */ mtlr r0 +/* 80105030 00101F90 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80105034 00101F94 4E 80 00 20 */ blr + +.global SetAmbientColor__12CActorLightsFRC6CColor +SetAmbientColor__12CActorLightsFRC6CColor: +/* 80105038 00101F98 E0 04 A0 00 */ psq_l f0, 0(r4), 1, qr2 +/* 8010503C 00101F9C C0 22 94 48 */ lfs f1, lbl_805AB168@sda21(r2) +/* 80105040 00101FA0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80105044 00101FA4 D0 03 02 88 */ stfs f0, 0x288(r3) +/* 80105048 00101FA8 E0 04 A0 01 */ psq_l f0, 1(r4), 1, qr2 +/* 8010504C 00101FAC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80105050 00101FB0 D0 03 02 8C */ stfs f0, 0x28c(r3) +/* 80105054 00101FB4 E0 04 A0 02 */ psq_l f0, 2(r4), 1, qr2 +/* 80105058 00101FB8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8010505C 00101FBC D0 03 02 90 */ stfs f0, 0x290(r3) +/* 80105060 00101FC0 4E 80 00 20 */ blr + +.global GetLight__12CActorLightsCFUi +GetLight__12CActorLightsCFUi: +/* 80105064 00101FC4 88 03 02 98 */ lbz r0, 0x298(r3) +/* 80105068 00101FC8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8010506C 00101FCC 41 82 00 34 */ beq lbl_801050A0 +/* 80105070 00101FD0 80 03 00 00 */ lwz r0, 0(r3) +/* 80105074 00101FD4 7C 04 00 40 */ cmplw r4, r0 +/* 80105078 00101FD8 40 80 00 14 */ bge lbl_8010508C +/* 8010507C 00101FDC 1C 04 00 50 */ mulli r0, r4, 0x50 +/* 80105080 00101FE0 7C 63 02 14 */ add r3, r3, r0 +/* 80105084 00101FE4 38 63 00 04 */ addi r3, r3, 4 +/* 80105088 00101FE8 4E 80 00 20 */ blr +lbl_8010508C: +/* 8010508C 00101FEC 7C 00 20 50 */ subf r0, r0, r4 +/* 80105090 00101FF0 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 80105094 00101FF4 7C 63 02 14 */ add r3, r3, r0 +/* 80105098 00101FF8 38 63 01 48 */ addi r3, r3, 0x148 +/* 8010509C 00101FFC 4E 80 00 20 */ blr +lbl_801050A0: +/* 801050A0 00102000 1C 04 00 50 */ mulli r0, r4, 0x50 +/* 801050A4 00102004 7C 63 02 14 */ add r3, r3, r0 +/* 801050A8 00102008 38 63 01 48 */ addi r3, r3, 0x148 +/* 801050AC 0010200C 4E 80 00 20 */ blr + +.global GetActiveLightCount__12CActorLightsCFv +GetActiveLightCount__12CActorLightsCFv: +/* 801050B0 00102010 88 03 02 98 */ lbz r0, 0x298(r3) +/* 801050B4 00102014 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 801050B8 00102018 41 82 00 14 */ beq lbl_801050CC +/* 801050BC 0010201C 80 83 00 00 */ lwz r4, 0(r3) +/* 801050C0 00102020 80 03 01 44 */ lwz r0, 0x144(r3) +/* 801050C4 00102024 7C 64 02 14 */ add r3, r4, r0 +/* 801050C8 00102028 4E 80 00 20 */ blr +lbl_801050CC: +/* 801050CC 0010202C 80 63 01 44 */ lwz r3, 0x144(r3) +/* 801050D0 00102030 4E 80 00 20 */ blr + +.global __dt__12CActorLightsFv +__dt__12CActorLightsFv: +/* 801050D4 00102034 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801050D8 00102038 7C 08 02 A6 */ mflr r0 +/* 801050DC 0010203C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801050E0 00102040 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801050E4 00102044 7C 7F 1B 79 */ or. r31, r3, r3 +/* 801050E8 00102048 41 82 00 CC */ beq lbl_801051B4 +/* 801050EC 0010204C 34 1F 01 44 */ addic. r0, r31, 0x144 +/* 801050F0 00102050 41 82 00 58 */ beq lbl_80105148 +/* 801050F4 00102054 80 DF 01 44 */ lwz r6, 0x144(r31) +/* 801050F8 00102058 38 60 00 00 */ li r3, 0 +/* 801050FC 0010205C 2C 06 00 00 */ cmpwi r6, 0 +/* 80105100 00102060 40 81 00 40 */ ble lbl_80105140 +/* 80105104 00102064 2C 06 00 08 */ cmpwi r6, 8 +/* 80105108 00102068 38 A6 FF F8 */ addi r5, r6, -8 +/* 8010510C 0010206C 40 81 00 20 */ ble lbl_8010512C +/* 80105110 00102070 38 05 00 07 */ addi r0, r5, 7 +/* 80105114 00102074 54 00 E8 FE */ srwi r0, r0, 3 +/* 80105118 00102078 7C 09 03 A6 */ mtctr r0 +/* 8010511C 0010207C 2C 05 00 00 */ cmpwi r5, 0 +/* 80105120 00102080 40 81 00 0C */ ble lbl_8010512C +lbl_80105124: +/* 80105124 00102084 38 63 00 08 */ addi r3, r3, 8 +/* 80105128 00102088 42 00 FF FC */ bdnz lbl_80105124 +lbl_8010512C: +/* 8010512C 0010208C 7C 03 30 50 */ subf r0, r3, r6 +/* 80105130 00102090 7C 09 03 A6 */ mtctr r0 +/* 80105134 00102094 7C 03 30 00 */ cmpw r3, r6 +/* 80105138 00102098 40 80 00 08 */ bge lbl_80105140 +lbl_8010513C: +/* 8010513C 0010209C 42 00 00 00 */ bdnz lbl_8010513C +lbl_80105140: +/* 80105140 001020A0 38 00 00 00 */ li r0, 0 +/* 80105144 001020A4 90 1F 01 44 */ stw r0, 0x144(r31) +lbl_80105148: +/* 80105148 001020A8 28 1F 00 00 */ cmplwi r31, 0 +/* 8010514C 001020AC 41 82 00 58 */ beq lbl_801051A4 +/* 80105150 001020B0 80 DF 00 00 */ lwz r6, 0(r31) +/* 80105154 001020B4 38 60 00 00 */ li r3, 0 +/* 80105158 001020B8 2C 06 00 00 */ cmpwi r6, 0 +/* 8010515C 001020BC 40 81 00 40 */ ble lbl_8010519C +/* 80105160 001020C0 2C 06 00 08 */ cmpwi r6, 8 +/* 80105164 001020C4 38 A6 FF F8 */ addi r5, r6, -8 +/* 80105168 001020C8 40 81 00 20 */ ble lbl_80105188 +/* 8010516C 001020CC 38 05 00 07 */ addi r0, r5, 7 +/* 80105170 001020D0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80105174 001020D4 7C 09 03 A6 */ mtctr r0 +/* 80105178 001020D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8010517C 001020DC 40 81 00 0C */ ble lbl_80105188 +lbl_80105180: +/* 80105180 001020E0 38 63 00 08 */ addi r3, r3, 8 +/* 80105184 001020E4 42 00 FF FC */ bdnz lbl_80105180 +lbl_80105188: +/* 80105188 001020E8 7C 03 30 50 */ subf r0, r3, r6 +/* 8010518C 001020EC 7C 09 03 A6 */ mtctr r0 +/* 80105190 001020F0 7C 03 30 00 */ cmpw r3, r6 +/* 80105194 001020F4 40 80 00 08 */ bge lbl_8010519C +lbl_80105198: +/* 80105198 001020F8 42 00 00 00 */ bdnz lbl_80105198 +lbl_8010519C: +/* 8010519C 001020FC 38 00 00 00 */ li r0, 0 +/* 801051A0 00102100 90 1F 00 00 */ stw r0, 0(r31) +lbl_801051A4: +/* 801051A4 00102104 7C 80 07 35 */ extsh. r0, r4 +/* 801051A8 00102108 40 81 00 0C */ ble lbl_801051B4 +/* 801051AC 0010210C 7F E3 FB 78 */ mr r3, r31 +/* 801051B0 00102110 48 21 07 81 */ bl Free__7CMemoryFPCv +lbl_801051B4: +/* 801051B4 00102114 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801051B8 00102118 7F E3 FB 78 */ mr r3, r31 +/* 801051BC 0010211C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801051C0 00102120 7C 08 03 A6 */ mtlr r0 +/* 801051C4 00102124 38 21 00 10 */ addi r1, r1, 0x10 +/* 801051C8 00102128 4E 80 00 20 */ blr + +.global __ct__12CActorLightsFUi9CVector3fiif +__ct__12CActorLightsFUi9CVector3fiif: +/* 801051CC 0010212C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801051D0 00102130 3D 60 80 5A */ lis r11, skZero3f@ha +/* 801051D4 00102134 55 40 06 3F */ clrlwi. r0, r10, 0x18 +/* 801051D8 00102138 39 80 00 01 */ li r12, 1 +/* 801051DC 0010213C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801051E0 00102140 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801051E4 00102144 3B C0 00 00 */ li r30, 0 +/* 801051E8 00102148 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801051EC 0010214C 93 C3 00 00 */ stw r30, 0(r3) +/* 801051F0 00102150 93 C3 01 44 */ stw r30, 0x144(r3) +/* 801051F4 00102154 C4 0B 66 A0 */ lfsu f0, skZero3f@l(r11) +/* 801051F8 00102158 D0 03 02 88 */ stfs f0, 0x288(r3) +/* 801051FC 0010215C C0 0B 00 04 */ lfs f0, 4(r11) +/* 80105200 00102160 D0 03 02 8C */ stfs f0, 0x28c(r3) +/* 80105204 00102164 C0 0B 00 08 */ lfs f0, 8(r11) +/* 80105208 00102168 D0 03 02 90 */ stfs f0, 0x290(r3) +/* 8010520C 0010216C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80105210 00102170 90 03 02 94 */ stw r0, 0x294(r3) +/* 80105214 00102174 88 03 02 98 */ lbz r0, 0x298(r3) +/* 80105218 00102178 51 80 3E 30 */ rlwimi r0, r12, 7, 0x18, 0x18 +/* 8010521C 0010217C 98 03 02 98 */ stb r0, 0x298(r3) +/* 80105220 00102180 88 03 02 98 */ lbz r0, 0x298(r3) +/* 80105224 00102184 51 80 36 72 */ rlwimi r0, r12, 6, 0x19, 0x19 +/* 80105228 00102188 98 03 02 98 */ stb r0, 0x298(r3) +/* 8010522C 0010218C 88 03 02 98 */ lbz r0, 0x298(r3) +/* 80105230 00102190 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a +/* 80105234 00102194 98 03 02 98 */ stb r0, 0x298(r3) +/* 80105238 00102198 88 03 02 98 */ lbz r0, 0x298(r3) +/* 8010523C 0010219C 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b +/* 80105240 001021A0 98 03 02 98 */ stb r0, 0x298(r3) +/* 80105244 001021A4 40 82 00 10 */ bne lbl_80105254 +/* 80105248 001021A8 2C 07 00 00 */ cmpwi r7, 0 +/* 8010524C 001021AC 40 81 00 08 */ ble lbl_80105254 +/* 80105250 001021B0 7D 9E 63 78 */ mr r30, r12 +lbl_80105254: +/* 80105254 001021B4 8B A3 02 98 */ lbz r29, 0x298(r3) +/* 80105258 001021B8 53 DD 1F 38 */ rlwimi r29, r30, 3, 0x1c, 0x1c +/* 8010525C 001021BC 55 5E 06 3E */ clrlwi r30, r10, 0x18 +/* 80105260 001021C0 EC 41 00 72 */ fmuls f2, f1, f1 +/* 80105264 001021C4 9B A3 02 98 */ stb r29, 0x298(r3) +/* 80105268 001021C8 55 00 06 3E */ clrlwi r0, r8, 0x18 +/* 8010526C 001021CC 55 3D 06 3E */ clrlwi r29, r9, 0x18 +/* 80105270 001021D0 3B E0 00 01 */ li r31, 1 +/* 80105274 001021D4 89 03 02 98 */ lbz r8, 0x298(r3) +/* 80105278 001021D8 50 08 17 7A */ rlwimi r8, r0, 2, 0x1d, 0x1d +/* 8010527C 001021DC 39 40 00 00 */ li r10, 0 +/* 80105280 001021E0 99 03 02 98 */ stb r8, 0x298(r3) +/* 80105284 001021E4 38 00 FF FF */ li r0, -1 +/* 80105288 001021E8 3D 80 80 5A */ lis r12, skZero3f@ha +/* 8010528C 001021EC C0 22 94 08 */ lfs f1, lbl_805AB128@sda21(r2) +/* 80105290 001021F0 89 23 02 98 */ lbz r9, 0x298(r3) +/* 80105294 001021F4 53 A9 0F BC */ rlwimi r9, r29, 1, 0x1e, 0x1e +/* 80105298 001021F8 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) +/* 8010529C 001021FC 99 23 02 98 */ stb r9, 0x298(r3) +/* 801052A0 00102200 89 23 02 98 */ lbz r9, 0x298(r3) +/* 801052A4 00102204 53 C9 07 FE */ rlwimi r9, r30, 0, 0x1f, 0x1f +/* 801052A8 00102208 99 23 02 98 */ stb r9, 0x298(r3) +/* 801052AC 0010220C 89 23 02 99 */ lbz r9, 0x299(r3) +/* 801052B0 00102210 53 E9 3E 30 */ rlwimi r9, r31, 7, 0x18, 0x18 +/* 801052B4 00102214 99 23 02 99 */ stb r9, 0x299(r3) +/* 801052B8 00102218 89 23 02 99 */ lbz r9, 0x299(r3) +/* 801052BC 0010221C 51 49 36 72 */ rlwimi r9, r10, 6, 0x19, 0x19 +/* 801052C0 00102220 99 23 02 99 */ stb r9, 0x299(r3) +/* 801052C4 00102224 89 23 02 99 */ lbz r9, 0x299(r3) +/* 801052C8 00102228 51 49 2E B4 */ rlwimi r9, r10, 5, 0x1a, 0x1a +/* 801052CC 0010222C 99 23 02 99 */ stb r9, 0x299(r3) +/* 801052D0 00102230 99 43 02 9A */ stb r10, 0x29a(r3) +/* 801052D4 00102234 90 03 02 9C */ stw r0, 0x29c(r3) +/* 801052D8 00102238 90 03 02 A0 */ stw r0, 0x2a0(r3) +/* 801052DC 0010223C 91 43 02 A4 */ stw r10, 0x2a4(r3) +/* 801052E0 00102240 90 83 02 A8 */ stw r4, 0x2a8(r3) +/* 801052E4 00102244 C0 65 00 00 */ lfs f3, 0(r5) +/* 801052E8 00102248 D0 63 02 AC */ stfs f3, 0x2ac(r3) +/* 801052EC 0010224C C0 65 00 04 */ lfs f3, 4(r5) +/* 801052F0 00102250 D0 63 02 B0 */ stfs f3, 0x2b0(r3) +/* 801052F4 00102254 C0 65 00 08 */ lfs f3, 8(r5) +/* 801052F8 00102258 D0 63 02 B4 */ stfs f3, 0x2b4(r3) +/* 801052FC 0010225C 90 E3 02 B8 */ stw r7, 0x2b8(r3) +/* 80105300 00102260 90 C3 02 BC */ stw r6, 0x2bc(r3) +/* 80105304 00102264 C0 6C 66 A0 */ lfs f3, skZero3f@l(r12) +/* 80105308 00102268 D0 63 02 C0 */ stfs f3, 0x2c0(r3) +/* 8010530C 0010226C C0 6B 00 04 */ lfs f3, 4(r11) +/* 80105310 00102270 D0 63 02 C4 */ stfs f3, 0x2c4(r3) +/* 80105314 00102274 C0 6B 00 08 */ lfs f3, 8(r11) +/* 80105318 00102278 D0 63 02 C8 */ stfs f3, 0x2c8(r3) +/* 8010531C 0010227C D0 43 02 CC */ stfs f2, 0x2cc(r3) +/* 80105320 00102280 D0 23 02 D0 */ stfs f1, 0x2d0(r3) +/* 80105324 00102284 D0 03 02 D4 */ stfs f0, 0x2d4(r3) +/* 80105328 00102288 90 03 02 D8 */ stw r0, 0x2d8(r3) +/* 8010532C 0010228C 91 43 02 DC */ stw r10, 0x2dc(r3) +/* 80105330 00102290 80 8D A3 50 */ lwz r4, lbl_805A8F10@sda21(r13) +/* 80105334 00102294 38 04 00 01 */ addi r0, r4, 1 +/* 80105338 00102298 90 0D A3 50 */ stw r0, lbl_805A8F10@sda21(r13) +/* 8010533C 0010229C 54 00 07 7E */ clrlwi r0, r0, 0x1d +/* 80105340 001022A0 90 0D A3 50 */ stw r0, lbl_805A8F10@sda21(r13) +/* 80105344 001022A4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80105348 001022A8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010534C 001022AC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80105350 001022B0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80105354 001022B4 4E 80 00 20 */ blr + +.global "sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" +"sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate": +/* 80105358 001022B8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8010535C 001022BC 7C 08 02 A6 */ mflr r0 +/* 80105360 001022C0 3C C0 92 49 */ lis r6, 0x92492493@ha +/* 80105364 001022C4 90 01 00 54 */ stw r0, 0x54(r1) +/* 80105368 001022C8 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8010536C 001022CC 7C 7C 1B 78 */ mr r28, r3 +/* 80105370 001022D0 7C 9D 23 78 */ mr r29, r4 +/* 80105374 001022D4 7C BE 2B 78 */ mr r30, r5 +/* 80105378 001022D8 7C 1C E8 50 */ subf r0, r28, r29 +/* 8010537C 001022DC 38 A6 24 93 */ addi r5, r6, 0x92492493@l +/* 80105380 001022E0 7C A5 00 96 */ mulhw r5, r5, r0 +/* 80105384 001022E4 7C 05 02 14 */ add r0, r5, r0 +/* 80105388 001022E8 7C 00 26 70 */ srawi r0, r0, 4 +/* 8010538C 001022EC 54 05 0F FE */ srwi r5, r0, 0x1f +/* 80105390 001022F0 7C A0 2A 14 */ add r5, r0, r5 +/* 80105394 001022F4 2C 05 00 01 */ cmpwi r5, 1 +/* 80105398 001022F8 40 81 01 60 */ ble lbl_801054F8 +/* 8010539C 001022FC 2C 05 00 14 */ cmpwi r5, 0x14 +/* 801053A0 00102300 41 81 00 18 */ bgt lbl_801053B8 +/* 801053A4 00102304 88 1E 00 00 */ lbz r0, 0(r30) +/* 801053A8 00102308 38 A1 00 14 */ addi r5, r1, 0x14 +/* 801053AC 0010230C 98 01 00 14 */ stb r0, 0x14(r1) +/* 801053B0 00102310 48 00 01 5D */ bl "__insertion_sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" +/* 801053B4 00102314 48 00 01 44 */ b lbl_801054F8 +lbl_801053B8: +/* 801053B8 00102318 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 801053BC 0010231C 88 1E 00 00 */ lbz r0, 0(r30) +/* 801053C0 00102320 7C 84 2A 14 */ add r4, r4, r5 +/* 801053C4 00102324 3B FD FF E4 */ addi r31, r29, -28 +/* 801053C8 00102328 7C 84 0E 70 */ srawi r4, r4, 1 +/* 801053CC 0010232C 98 01 00 10 */ stb r0, 0x10(r1) +/* 801053D0 00102330 1C 04 00 1C */ mulli r0, r4, 0x1c +/* 801053D4 00102334 7F E5 FB 78 */ mr r5, r31 +/* 801053D8 00102338 38 C1 00 10 */ addi r6, r1, 0x10 +/* 801053DC 0010233C 7F 7C 02 14 */ add r27, r28, r0 +/* 801053E0 00102340 7F 64 DB 78 */ mr r4, r27 +/* 801053E4 00102344 48 00 02 2D */ bl "__sort3<11SLightValue,Q211SLightValue10CPredicate>__4rstlFR11SLightValueR11SLightValueR11SLightValueQ211SLightValue10CPredicate" +/* 801053E8 00102348 C0 BB 00 10 */ lfs f5, 0x10(r27) +/* 801053EC 0010234C 3B 7C 00 1C */ addi r27, r28, 0x1c +/* 801053F0 00102350 3B FF FF E4 */ addi r31, r31, -28 +/* 801053F4 00102354 48 00 00 08 */ b lbl_801053FC +lbl_801053F8: +/* 801053F8 00102358 3B 7B 00 1C */ addi r27, r27, 0x1c +lbl_801053FC: +/* 801053FC 0010235C C0 1B 00 10 */ lfs f0, 0x10(r27) +/* 80105400 00102360 FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 80105404 00102364 41 81 FF F4 */ bgt lbl_801053F8 +/* 80105408 00102368 48 00 00 08 */ b lbl_80105410 +lbl_8010540C: +/* 8010540C 0010236C 3B FF FF E4 */ addi r31, r31, -28 +lbl_80105410: +/* 80105410 00102370 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80105414 00102374 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 80105418 00102378 41 81 FF F4 */ bgt lbl_8010540C +/* 8010541C 0010237C 7C 1B F8 40 */ cmplw r27, r31 +/* 80105420 00102380 40 80 00 A8 */ bge lbl_801054C8 +/* 80105424 00102384 80 FB 00 00 */ lwz r7, 0(r27) +/* 80105428 00102388 C0 9B 00 04 */ lfs f4, 4(r27) +/* 8010542C 0010238C C0 7B 00 08 */ lfs f3, 8(r27) +/* 80105430 00102390 C0 1B 00 0C */ lfs f0, 0xc(r27) +/* 80105434 00102394 C0 5B 00 10 */ lfs f2, 0x10(r27) +/* 80105438 00102398 C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 8010543C 0010239C 80 DB 00 18 */ lwz r6, 0x18(r27) +/* 80105440 001023A0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80105444 001023A4 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80105448 001023A8 90 1B 00 00 */ stw r0, 0(r27) +/* 8010544C 001023AC 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 80105450 001023B0 80 7F 00 04 */ lwz r3, 4(r31) +/* 80105454 001023B4 80 1F 00 08 */ lwz r0, 8(r31) +/* 80105458 001023B8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8010545C 001023BC 90 7B 00 04 */ stw r3, 4(r27) +/* 80105460 001023C0 90 1B 00 08 */ stw r0, 8(r27) +/* 80105464 001023C4 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80105468 001023C8 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8010546C 001023CC 90 1B 00 0C */ stw r0, 0xc(r27) +/* 80105470 001023D0 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80105474 001023D4 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80105478 001023D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8010547C 001023DC D0 1B 00 10 */ stfs f0, 0x10(r27) +/* 80105480 001023E0 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80105484 001023E4 90 E1 00 18 */ stw r7, 0x18(r1) +/* 80105488 001023E8 D0 1B 00 14 */ stfs f0, 0x14(r27) +/* 8010548C 001023EC 80 BF 00 18 */ lwz r5, 0x18(r31) +/* 80105490 001023F0 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80105494 001023F4 90 BB 00 18 */ stw r5, 0x18(r27) +/* 80105498 001023F8 3B 7B 00 1C */ addi r27, r27, 0x1c +/* 8010549C 001023FC 90 FF 00 00 */ stw r7, 0(r31) +/* 801054A0 00102400 90 9F 00 04 */ stw r4, 4(r31) +/* 801054A4 00102404 90 7F 00 08 */ stw r3, 8(r31) +/* 801054A8 00102408 90 1F 00 0C */ stw r0, 0xc(r31) +/* 801054AC 0010240C D0 5F 00 10 */ stfs f2, 0x10(r31) +/* 801054B0 00102410 D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 801054B4 00102414 90 DF 00 18 */ stw r6, 0x18(r31) +/* 801054B8 00102418 3B FF FF E4 */ addi r31, r31, -28 +/* 801054BC 0010241C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 801054C0 00102420 90 C1 00 30 */ stw r6, 0x30(r1) +/* 801054C4 00102424 4B FF FF 38 */ b lbl_801053FC +lbl_801054C8: +/* 801054C8 00102428 88 1E 00 00 */ lbz r0, 0(r30) +/* 801054CC 0010242C 7F 83 E3 78 */ mr r3, r28 +/* 801054D0 00102430 7F 64 DB 78 */ mr r4, r27 +/* 801054D4 00102434 38 A1 00 0C */ addi r5, r1, 0xc +/* 801054D8 00102438 98 01 00 0C */ stb r0, 0xc(r1) +/* 801054DC 0010243C 4B FF FE 7D */ bl "sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" +/* 801054E0 00102440 88 1E 00 00 */ lbz r0, 0(r30) +/* 801054E4 00102444 7F 63 DB 78 */ mr r3, r27 +/* 801054E8 00102448 7F A4 EB 78 */ mr r4, r29 +/* 801054EC 0010244C 38 A1 00 08 */ addi r5, r1, 8 +/* 801054F0 00102450 98 01 00 08 */ stb r0, 8(r1) +/* 801054F4 00102454 4B FF FE 65 */ bl "sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" +lbl_801054F8: +/* 801054F8 00102458 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 801054FC 0010245C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80105500 00102460 7C 08 03 A6 */ mtlr r0 +/* 80105504 00102464 38 21 00 50 */ addi r1, r1, 0x50 +/* 80105508 00102468 4E 80 00 20 */ blr + +.global "__insertion_sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" +"__insertion_sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate": +/* 8010550C 0010246C 38 C3 00 1C */ addi r6, r3, 0x1c +/* 80105510 00102470 38 A4 00 1B */ addi r5, r4, 0x1b +/* 80105514 00102474 7C A6 28 50 */ subf r5, r6, r5 +/* 80105518 00102478 38 00 00 1C */ li r0, 0x1c +/* 8010551C 0010247C 7C A5 03 96 */ divwu r5, r5, r0 +/* 80105520 00102480 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80105524 00102484 7C A9 03 A6 */ mtctr r5 +/* 80105528 00102488 7C 06 20 40 */ cmplw r6, r4 +/* 8010552C 0010248C 40 80 00 DC */ bge lbl_80105608 +lbl_80105530: +/* 80105530 00102490 80 86 00 00 */ lwz r4, 0(r6) +/* 80105534 00102494 7C C7 33 78 */ mr r7, r6 +/* 80105538 00102498 C0 86 00 04 */ lfs f4, 4(r6) +/* 8010553C 0010249C 38 A6 FF E4 */ addi r5, r6, -28 +/* 80105540 001024A0 C0 66 00 08 */ lfs f3, 8(r6) +/* 80105544 001024A4 C0 46 00 0C */ lfs f2, 0xc(r6) +/* 80105548 001024A8 C0 26 00 10 */ lfs f1, 0x10(r6) +/* 8010554C 001024AC C0 06 00 14 */ lfs f0, 0x14(r6) +/* 80105550 001024B0 80 06 00 18 */ lwz r0, 0x18(r6) +/* 80105554 001024B4 90 81 00 08 */ stw r4, 8(r1) +/* 80105558 001024B8 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8010555C 001024BC D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80105560 001024C0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80105564 001024C4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80105568 001024C8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8010556C 001024CC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80105570 001024D0 48 00 00 44 */ b lbl_801055B4 +lbl_80105574: +/* 80105574 001024D4 80 05 00 00 */ lwz r0, 0(r5) +/* 80105578 001024D8 90 07 00 00 */ stw r0, 0(r7) +/* 8010557C 001024DC 80 85 00 04 */ lwz r4, 4(r5) +/* 80105580 001024E0 80 05 00 08 */ lwz r0, 8(r5) +/* 80105584 001024E4 90 87 00 04 */ stw r4, 4(r7) +/* 80105588 001024E8 90 07 00 08 */ stw r0, 8(r7) +/* 8010558C 001024EC 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80105590 001024F0 90 07 00 0C */ stw r0, 0xc(r7) +/* 80105594 001024F4 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 80105598 001024F8 D0 07 00 10 */ stfs f0, 0x10(r7) +/* 8010559C 001024FC C0 05 00 14 */ lfs f0, 0x14(r5) +/* 801055A0 00102500 D0 07 00 14 */ stfs f0, 0x14(r7) +/* 801055A4 00102504 80 05 00 18 */ lwz r0, 0x18(r5) +/* 801055A8 00102508 38 A5 FF E4 */ addi r5, r5, -28 +/* 801055AC 0010250C 90 07 00 18 */ stw r0, 0x18(r7) +/* 801055B0 00102510 38 E7 FF E4 */ addi r7, r7, -28 +lbl_801055B4: +/* 801055B4 00102514 7C 03 38 40 */ cmplw r3, r7 +/* 801055B8 00102518 40 80 00 10 */ bge lbl_801055C8 +/* 801055BC 0010251C C0 05 00 10 */ lfs f0, 0x10(r5) +/* 801055C0 00102520 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801055C4 00102524 41 81 FF B0 */ bgt lbl_80105574 +lbl_801055C8: +/* 801055C8 00102528 80 81 00 08 */ lwz r4, 8(r1) +/* 801055CC 0010252C 38 C6 00 1C */ addi r6, r6, 0x1c +/* 801055D0 00102530 80 01 00 0C */ lwz r0, 0xc(r1) +/* 801055D4 00102534 90 87 00 00 */ stw r4, 0(r7) +/* 801055D8 00102538 80 81 00 10 */ lwz r4, 0x10(r1) +/* 801055DC 0010253C 90 07 00 04 */ stw r0, 4(r7) +/* 801055E0 00102540 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801055E4 00102544 90 87 00 08 */ stw r4, 8(r7) +/* 801055E8 00102548 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 801055EC 0010254C 90 07 00 0C */ stw r0, 0xc(r7) +/* 801055F0 00102550 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 801055F4 00102554 D0 27 00 10 */ stfs f1, 0x10(r7) +/* 801055F8 00102558 80 01 00 20 */ lwz r0, 0x20(r1) +/* 801055FC 0010255C D0 07 00 14 */ stfs f0, 0x14(r7) +/* 80105600 00102560 90 07 00 18 */ stw r0, 0x18(r7) +/* 80105604 00102564 42 00 FF 2C */ bdnz lbl_80105530 +lbl_80105608: +/* 80105608 00102568 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010560C 0010256C 4E 80 00 20 */ blr + +.global "__sort3<11SLightValue,Q211SLightValue10CPredicate>__4rstlFR11SLightValueR11SLightValueR11SLightValueQ211SLightValue10CPredicate" +"__sort3<11SLightValue,Q211SLightValue10CPredicate>__4rstlFR11SLightValueR11SLightValueR11SLightValueQ211SLightValue10CPredicate": +/* 80105610 00102570 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80105614 00102574 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80105618 00102578 C0 83 00 10 */ lfs f4, 0x10(r3) +/* 8010561C 0010257C FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 80105620 00102580 40 81 00 0C */ ble lbl_8010562C +/* 80105624 00102584 38 00 00 01 */ li r0, 1 +/* 80105628 00102588 48 00 00 08 */ b lbl_80105630 +lbl_8010562C: +/* 8010562C 0010258C 38 00 00 00 */ li r0, 0 +lbl_80105630: +/* 80105630 00102590 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80105634 00102594 41 82 00 98 */ beq lbl_801056CC +/* 80105638 00102598 81 43 00 00 */ lwz r10, 0(r3) +/* 8010563C 0010259C C0 63 00 04 */ lfs f3, 4(r3) +/* 80105640 001025A0 C0 43 00 08 */ lfs f2, 8(r3) +/* 80105644 001025A4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80105648 001025A8 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 8010564C 001025AC 81 23 00 18 */ lwz r9, 0x18(r3) +/* 80105650 001025B0 80 04 00 00 */ lwz r0, 0(r4) +/* 80105654 001025B4 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80105658 001025B8 90 03 00 00 */ stw r0, 0(r3) +/* 8010565C 001025BC 80 E1 00 0C */ lwz r7, 0xc(r1) +/* 80105660 001025C0 80 C4 00 04 */ lwz r6, 4(r4) +/* 80105664 001025C4 80 04 00 08 */ lwz r0, 8(r4) +/* 80105668 001025C8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8010566C 001025CC 90 C3 00 04 */ stw r6, 4(r3) +/* 80105670 001025D0 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 80105674 001025D4 90 03 00 08 */ stw r0, 8(r3) +/* 80105678 001025D8 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8010567C 001025DC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80105680 001025E0 90 03 00 0C */ stw r0, 0xc(r3) +/* 80105684 001025E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80105688 001025E8 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8010568C 001025EC 91 41 00 08 */ stw r10, 8(r1) +/* 80105690 001025F0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80105694 001025F4 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80105698 001025F8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8010569C 001025FC D0 03 00 14 */ stfs f0, 0x14(r3) +/* 801056A0 00102600 81 04 00 18 */ lwz r8, 0x18(r4) +/* 801056A4 00102604 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 801056A8 00102608 91 03 00 18 */ stw r8, 0x18(r3) +/* 801056AC 0010260C 91 44 00 00 */ stw r10, 0(r4) +/* 801056B0 00102610 90 E4 00 04 */ stw r7, 4(r4) +/* 801056B4 00102614 90 C4 00 08 */ stw r6, 8(r4) +/* 801056B8 00102618 90 04 00 0C */ stw r0, 0xc(r4) +/* 801056BC 0010261C D0 84 00 10 */ stfs f4, 0x10(r4) +/* 801056C0 00102620 D0 24 00 14 */ stfs f1, 0x14(r4) +/* 801056C4 00102624 91 21 00 20 */ stw r9, 0x20(r1) +/* 801056C8 00102628 91 24 00 18 */ stw r9, 0x18(r4) +lbl_801056CC: +/* 801056CC 0010262C C0 85 00 10 */ lfs f4, 0x10(r5) +/* 801056D0 00102630 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 801056D4 00102634 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 801056D8 00102638 40 81 00 0C */ ble lbl_801056E4 +/* 801056DC 0010263C 38 00 00 01 */ li r0, 1 +/* 801056E0 00102640 48 00 00 08 */ b lbl_801056E8 +lbl_801056E4: +/* 801056E4 00102644 38 00 00 00 */ li r0, 0 +lbl_801056E8: +/* 801056E8 00102648 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 801056EC 0010264C 41 82 01 34 */ beq lbl_80105820 +/* 801056F0 00102650 80 C5 00 00 */ lwz r6, 0(r5) +/* 801056F4 00102654 C0 65 00 04 */ lfs f3, 4(r5) +/* 801056F8 00102658 C0 05 00 08 */ lfs f0, 8(r5) +/* 801056FC 0010265C C0 45 00 0C */ lfs f2, 0xc(r5) +/* 80105700 00102660 C0 25 00 14 */ lfs f1, 0x14(r5) +/* 80105704 00102664 80 E5 00 18 */ lwz r7, 0x18(r5) +/* 80105708 00102668 80 04 00 00 */ lwz r0, 0(r4) +/* 8010570C 0010266C 90 C1 00 24 */ stw r6, 0x24(r1) +/* 80105710 00102670 90 05 00 00 */ stw r0, 0(r5) +/* 80105714 00102674 80 C4 00 04 */ lwz r6, 4(r4) +/* 80105718 00102678 80 04 00 08 */ lwz r0, 8(r4) +/* 8010571C 0010267C D0 61 00 28 */ stfs f3, 0x28(r1) +/* 80105720 00102680 90 C5 00 04 */ stw r6, 4(r5) +/* 80105724 00102684 90 05 00 08 */ stw r0, 8(r5) +/* 80105728 00102688 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8010572C 0010268C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80105730 00102690 90 05 00 0C */ stw r0, 0xc(r5) +/* 80105734 00102694 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80105738 00102698 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8010573C 0010269C D0 05 00 10 */ stfs f0, 0x10(r5) +/* 80105740 001026A0 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80105744 001026A4 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80105748 001026A8 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8010574C 001026AC 80 04 00 18 */ lwz r0, 0x18(r4) +/* 80105750 001026B0 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80105754 001026B4 90 05 00 18 */ stw r0, 0x18(r5) +/* 80105758 001026B8 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8010575C 001026BC 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 80105760 001026C0 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 80105764 001026C4 40 81 00 0C */ ble lbl_80105770 +/* 80105768 001026C8 38 00 00 01 */ li r0, 1 +/* 8010576C 001026CC 48 00 00 08 */ b lbl_80105774 +lbl_80105770: +/* 80105770 001026D0 38 00 00 00 */ li r0, 0 +lbl_80105774: +/* 80105774 001026D4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80105778 001026D8 41 82 00 74 */ beq lbl_801057EC +/* 8010577C 001026DC 80 03 00 00 */ lwz r0, 0(r3) +/* 80105780 001026E0 81 01 00 24 */ lwz r8, 0x24(r1) +/* 80105784 001026E4 90 04 00 00 */ stw r0, 0(r4) +/* 80105788 001026E8 80 E1 00 28 */ lwz r7, 0x28(r1) +/* 8010578C 001026EC 80 A3 00 04 */ lwz r5, 4(r3) +/* 80105790 001026F0 80 03 00 08 */ lwz r0, 8(r3) +/* 80105794 001026F4 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 80105798 001026F8 90 A4 00 04 */ stw r5, 4(r4) +/* 8010579C 001026FC 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 801057A0 00102700 90 04 00 08 */ stw r0, 8(r4) +/* 801057A4 00102704 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 801057A8 00102708 81 23 00 0C */ lwz r9, 0xc(r3) +/* 801057AC 0010270C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 801057B0 00102710 91 24 00 0C */ stw r9, 0xc(r4) +/* 801057B4 00102714 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 801057B8 00102718 D0 24 00 10 */ stfs f1, 0x10(r4) +/* 801057BC 0010271C C0 23 00 14 */ lfs f1, 0x14(r3) +/* 801057C0 00102720 D0 24 00 14 */ stfs f1, 0x14(r4) +/* 801057C4 00102724 81 23 00 18 */ lwz r9, 0x18(r3) +/* 801057C8 00102728 91 24 00 18 */ stw r9, 0x18(r4) +/* 801057CC 0010272C 91 03 00 00 */ stw r8, 0(r3) +/* 801057D0 00102730 90 E3 00 04 */ stw r7, 4(r3) +/* 801057D4 00102734 90 C3 00 08 */ stw r6, 8(r3) +/* 801057D8 00102738 90 A3 00 0C */ stw r5, 0xc(r3) +/* 801057DC 0010273C D0 83 00 10 */ stfs f4, 0x10(r3) +/* 801057E0 00102740 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 801057E4 00102744 90 03 00 18 */ stw r0, 0x18(r3) +/* 801057E8 00102748 48 00 00 38 */ b lbl_80105820 +lbl_801057EC: +/* 801057EC 0010274C 80 61 00 24 */ lwz r3, 0x24(r1) +/* 801057F0 00102750 80 01 00 28 */ lwz r0, 0x28(r1) +/* 801057F4 00102754 90 64 00 00 */ stw r3, 0(r4) +/* 801057F8 00102758 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 801057FC 0010275C 90 04 00 04 */ stw r0, 4(r4) +/* 80105800 00102760 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80105804 00102764 90 64 00 08 */ stw r3, 8(r4) +/* 80105808 00102768 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8010580C 0010276C 90 04 00 0C */ stw r0, 0xc(r4) +/* 80105810 00102770 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80105814 00102774 D0 84 00 10 */ stfs f4, 0x10(r4) +/* 80105818 00102778 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 8010581C 0010277C 90 04 00 18 */ stw r0, 0x18(r4) +lbl_80105820: +/* 80105820 00102780 38 21 00 40 */ addi r1, r1, 0x40 +/* 80105824 00102784 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CActorParameters.s b/asm/Kyoto_CWD/CActorParameters.s new file mode 100644 index 00000000..7118b1eb --- /dev/null +++ b/asm/Kyoto_CWD/CActorParameters.s @@ -0,0 +1,241 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global MakeDamageableTriggerActorParms__FRC16CActorParametersRC16CVisorParameters +MakeDamageableTriggerActorParms__FRC16CActorParametersRC16CVisorParameters: +/* 801067B0 00103710 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 801067B4 00103714 7C 08 02 A6 */ mflr r0 +/* 801067B8 00103718 90 01 00 84 */ stw r0, 0x84(r1) +/* 801067BC 0010371C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 801067C0 00103720 7C BF 2B 78 */ mr r31, r5 +/* 801067C4 00103724 93 C1 00 78 */ stw r30, 0x78(r1) +/* 801067C8 00103728 7C 7E 1B 78 */ mr r30, r3 +/* 801067CC 0010372C 38 61 00 08 */ addi r3, r1, 8 +/* 801067D0 00103730 4B FB EE 4D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 801067D4 00103734 80 1F 00 00 */ lwz r0, 0(r31) +/* 801067D8 00103738 7F C3 F3 78 */ mr r3, r30 +/* 801067DC 0010373C 38 81 00 08 */ addi r4, r1, 8 +/* 801067E0 00103740 90 01 00 5C */ stw r0, 0x5c(r1) +/* 801067E4 00103744 4B FB EE 39 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 801067E8 00103748 38 61 00 08 */ addi r3, r1, 8 +/* 801067EC 0010374C 38 80 FF FF */ li r4, -1 +/* 801067F0 00103750 4B FF FE 19 */ bl __dt__16CActorParametersFv +/* 801067F4 00103754 80 01 00 84 */ lwz r0, 0x84(r1) +/* 801067F8 00103758 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 801067FC 0010375C 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80106800 00103760 7C 08 03 A6 */ mtlr r0 +/* 80106804 00103764 38 21 00 80 */ addi r1, r1, 0x80 +/* 80106808 00103768 4E 80 00 20 */ blr + +.global sub_8010680c +sub_8010680c: +/* 8010680C 0010376C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80106810 00103770 7C 08 02 A6 */ mflr r0 +/* 80106814 00103774 90 01 00 84 */ stw r0, 0x84(r1) +/* 80106818 00103778 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8010681C 0010377C 7C BF 2B 78 */ mr r31, r5 +/* 80106820 00103780 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80106824 00103784 7C 7E 1B 78 */ mr r30, r3 +/* 80106828 00103788 38 61 00 08 */ addi r3, r1, 8 +/* 8010682C 0010378C 4B FB ED F1 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 80106830 00103790 88 01 00 60 */ lbz r0, 0x60(r1) +/* 80106834 00103794 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 +/* 80106838 00103798 7F C3 F3 78 */ mr r3, r30 +/* 8010683C 0010379C 38 81 00 08 */ addi r4, r1, 8 +/* 80106840 001037A0 98 01 00 60 */ stb r0, 0x60(r1) +/* 80106844 001037A4 4B FB ED D9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 80106848 001037A8 38 61 00 08 */ addi r3, r1, 8 +/* 8010684C 001037AC 38 80 FF FF */ li r4, -1 +/* 80106850 001037B0 4B FF FD B9 */ bl __dt__16CActorParametersFv +/* 80106854 001037B4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80106858 001037B8 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8010685C 001037BC 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80106860 001037C0 7C 08 03 A6 */ mtlr r0 +/* 80106864 001037C4 38 21 00 80 */ addi r1, r1, 0x80 +/* 80106868 001037C8 4E 80 00 20 */ blr + +.global Scannable__16CActorParametersCFRC20CScannableParameters +Scannable__16CActorParametersCFRC20CScannableParameters: +/* 8010686C 001037CC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80106870 001037D0 7C 08 02 A6 */ mflr r0 +/* 80106874 001037D4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80106878 001037D8 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8010687C 001037DC 7C BF 2B 78 */ mr r31, r5 +/* 80106880 001037E0 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80106884 001037E4 7C 7E 1B 78 */ mr r30, r3 +/* 80106888 001037E8 38 61 00 08 */ addi r3, r1, 8 +/* 8010688C 001037EC 4B FB ED 91 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 80106890 001037F0 80 1F 00 00 */ lwz r0, 0(r31) +/* 80106894 001037F4 7F C3 F3 78 */ mr r3, r30 +/* 80106898 001037F8 38 81 00 08 */ addi r4, r1, 8 +/* 8010689C 001037FC 90 01 00 48 */ stw r0, 0x48(r1) +/* 801068A0 00103800 4B FB ED 7D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 801068A4 00103804 38 61 00 08 */ addi r3, r1, 8 +/* 801068A8 00103808 38 80 FF FF */ li r4, -1 +/* 801068AC 0010380C 4B FF FD 5D */ bl __dt__16CActorParametersFv +/* 801068B0 00103810 80 01 00 84 */ lwz r0, 0x84(r1) +/* 801068B4 00103814 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 801068B8 00103818 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 801068BC 0010381C 7C 08 03 A6 */ mtlr r0 +/* 801068C0 00103820 38 21 00 80 */ addi r1, r1, 0x80 +/* 801068C4 00103824 4E 80 00 20 */ blr + +.global sub_801068c8 +sub_801068c8: +/* 801068C8 00103828 3D 60 80 3E */ lis r11, lbl_803DFF80@ha +/* 801068CC 0010382C 38 0B FF 80 */ addi r0, r11, lbl_803DFF80@l +/* 801068D0 00103830 90 03 00 00 */ stw r0, 0(r3) +/* 801068D4 00103834 55 2B 06 3E */ clrlwi r11, r9, 0x18 +/* 801068D8 00103838 89 21 00 0B */ lbz r9, 0xb(r1) +/* 801068DC 0010383C 89 84 00 04 */ lbz r12, 4(r4) +/* 801068E0 00103840 88 01 00 0F */ lbz r0, 0xf(r1) +/* 801068E4 00103844 99 83 00 04 */ stb r12, 4(r3) +/* 801068E8 00103848 C0 04 00 08 */ lfs f0, 8(r4) +/* 801068EC 0010384C D0 03 00 08 */ stfs f0, 8(r3) +/* 801068F0 00103850 81 84 00 0C */ lwz r12, 0xc(r4) +/* 801068F4 00103854 91 83 00 0C */ stw r12, 0xc(r3) +/* 801068F8 00103858 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 801068FC 0010385C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80106900 00103860 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 80106904 00103864 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80106908 00103868 81 84 00 18 */ lwz r12, 0x18(r4) +/* 8010690C 0010386C 91 83 00 18 */ stw r12, 0x18(r3) +/* 80106910 00103870 89 84 00 1C */ lbz r12, 0x1c(r4) +/* 80106914 00103874 99 83 00 1C */ stb r12, 0x1c(r3) +/* 80106918 00103878 89 84 00 1D */ lbz r12, 0x1d(r4) +/* 8010691C 0010387C 99 83 00 1D */ stb r12, 0x1d(r3) +/* 80106920 00103880 81 84 00 20 */ lwz r12, 0x20(r4) +/* 80106924 00103884 91 83 00 20 */ stw r12, 0x20(r3) +/* 80106928 00103888 81 84 00 24 */ lwz r12, 0x24(r4) +/* 8010692C 0010388C 91 83 00 24 */ stw r12, 0x24(r3) +/* 80106930 00103890 81 84 00 28 */ lwz r12, 0x28(r4) +/* 80106934 00103894 91 83 00 28 */ stw r12, 0x28(r3) +/* 80106938 00103898 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 8010693C 0010389C D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80106940 001038A0 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 80106944 001038A4 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 80106948 001038A8 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 8010694C 001038AC D0 03 00 34 */ stfs f0, 0x34(r3) +/* 80106950 001038B0 81 84 00 38 */ lwz r12, 0x38(r4) +/* 80106954 001038B4 91 83 00 38 */ stw r12, 0x38(r3) +/* 80106958 001038B8 80 84 00 3C */ lwz r4, 0x3c(r4) +/* 8010695C 001038BC 90 83 00 3C */ stw r4, 0x3c(r3) +/* 80106960 001038C0 80 85 00 00 */ lwz r4, 0(r5) +/* 80106964 001038C4 90 83 00 40 */ stw r4, 0x40(r3) +/* 80106968 001038C8 80 86 00 00 */ lwz r4, 0(r6) +/* 8010696C 001038CC 90 83 00 44 */ stw r4, 0x44(r3) +/* 80106970 001038D0 80 86 00 04 */ lwz r4, 4(r6) +/* 80106974 001038D4 90 83 00 48 */ stw r4, 0x48(r3) +/* 80106978 001038D8 80 87 00 00 */ lwz r4, 0(r7) +/* 8010697C 001038DC 90 83 00 4C */ stw r4, 0x4c(r3) +/* 80106980 001038E0 80 87 00 04 */ lwz r4, 4(r7) +/* 80106984 001038E4 90 83 00 50 */ stw r4, 0x50(r3) +/* 80106988 001038E8 80 88 00 00 */ lwz r4, 0(r8) +/* 8010698C 001038EC 90 83 00 54 */ stw r4, 0x54(r3) +/* 80106990 001038F0 88 83 00 58 */ lbz r4, 0x58(r3) +/* 80106994 001038F4 51 64 3E 30 */ rlwimi r4, r11, 7, 0x18, 0x18 +/* 80106998 001038F8 98 83 00 58 */ stb r4, 0x58(r3) +/* 8010699C 001038FC 88 83 00 58 */ lbz r4, 0x58(r3) +/* 801069A0 00103900 51 44 36 72 */ rlwimi r4, r10, 6, 0x19, 0x19 +/* 801069A4 00103904 98 83 00 58 */ stb r4, 0x58(r3) +/* 801069A8 00103908 88 83 00 58 */ lbz r4, 0x58(r3) +/* 801069AC 0010390C 51 24 2E B4 */ rlwimi r4, r9, 5, 0x1a, 0x1a +/* 801069B0 00103910 98 83 00 58 */ stb r4, 0x58(r3) +/* 801069B4 00103914 88 83 00 58 */ lbz r4, 0x58(r3) +/* 801069B8 00103918 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b +/* 801069BC 0010391C 98 83 00 58 */ stb r4, 0x58(r3) +/* 801069C0 00103920 D0 23 00 5C */ stfs f1, 0x5c(r3) +/* 801069C4 00103924 D0 43 00 60 */ stfs f2, 0x60(r3) +/* 801069C8 00103928 D0 63 00 64 */ stfs f3, 0x64(r3) +/* 801069CC 0010392C 4E 80 00 20 */ blr + +.global __ct__16CActorParametersFv +__ct__16CActorParametersFv: +/* 801069D0 00103930 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 801069D4 00103934 7C 08 02 A6 */ mflr r0 +/* 801069D8 00103938 90 01 00 64 */ stw r0, 0x64(r1) +/* 801069DC 0010393C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 801069E0 00103940 7C 7F 1B 78 */ mr r31, r3 +/* 801069E4 00103944 38 61 00 0C */ addi r3, r1, 0xc +/* 801069E8 00103948 4B FD 3A 05 */ bl None__16CLightParametersFv +/* 801069EC 0010394C 3C 80 80 3E */ lis r4, lbl_803DFF80@ha +/* 801069F0 00103950 38 61 00 0C */ addi r3, r1, 0xc +/* 801069F4 00103954 38 04 FF 80 */ addi r0, r4, lbl_803DFF80@l +/* 801069F8 00103958 38 80 FF FF */ li r4, -1 +/* 801069FC 0010395C 90 1F 00 00 */ stw r0, 0(r31) +/* 80106A00 00103960 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80106A04 00103964 98 1F 00 04 */ stb r0, 4(r31) +/* 80106A08 00103968 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80106A0C 0010396C D0 1F 00 08 */ stfs f0, 8(r31) +/* 80106A10 00103970 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80106A14 00103974 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80106A18 00103978 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80106A1C 0010397C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80106A20 00103980 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80106A24 00103984 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80106A28 00103988 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80106A2C 0010398C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80106A30 00103990 88 01 00 28 */ lbz r0, 0x28(r1) +/* 80106A34 00103994 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 80106A38 00103998 88 01 00 29 */ lbz r0, 0x29(r1) +/* 80106A3C 0010399C 98 1F 00 1D */ stb r0, 0x1d(r31) +/* 80106A40 001039A0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80106A44 001039A4 90 1F 00 20 */ stw r0, 0x20(r31) +/* 80106A48 001039A8 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80106A4C 001039AC 90 1F 00 24 */ stw r0, 0x24(r31) +/* 80106A50 001039B0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80106A54 001039B4 90 1F 00 28 */ stw r0, 0x28(r31) +/* 80106A58 001039B8 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80106A5C 001039BC D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 80106A60 001039C0 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80106A64 001039C4 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 80106A68 001039C8 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80106A6C 001039CC D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 80106A70 001039D0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80106A74 001039D4 90 1F 00 38 */ stw r0, 0x38(r31) +/* 80106A78 001039D8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80106A7C 001039DC 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 80106A80 001039E0 4B FF FB 89 */ bl __dt__16CActorParametersFv +/* 80106A84 001039E4 38 60 FF FF */ li r3, -1 +/* 80106A88 001039E8 80 01 00 08 */ lwz r0, 8(r1) +/* 80106A8C 001039EC 90 7F 00 40 */ stw r3, 0x40(r31) +/* 80106A90 001039F0 38 60 00 0F */ li r3, 0xf +/* 80106A94 001039F4 50 60 E0 06 */ rlwimi r0, r3, 0x1c, 0, 3 +/* 80106A98 001039F8 38 C0 00 00 */ li r6, 0 +/* 80106A9C 001039FC 80 6D 89 C0 */ lwz r3, lbl_805A7580@sda21(r13) +/* 80106AA0 00103A00 7C 05 03 78 */ mr r5, r0 +/* 80106AA4 00103A04 50 C5 D9 08 */ rlwimi r5, r6, 0x1b, 4, 4 +/* 80106AA8 00103A08 90 01 00 08 */ stw r0, 8(r1) +/* 80106AAC 00103A0C 7C A0 2B 78 */ mr r0, r5 +/* 80106AB0 00103A10 38 80 00 01 */ li r4, 1 +/* 80106AB4 00103A14 90 7F 00 44 */ stw r3, 0x44(r31) +/* 80106AB8 00103A18 50 C0 D1 4A */ rlwimi r0, r6, 0x1a, 5, 5 +/* 80106ABC 00103A1C C0 02 94 78 */ lfs f0, lbl_805AB198@sda21(r2) +/* 80106AC0 00103A20 7F E3 FB 78 */ mr r3, r31 +/* 80106AC4 00103A24 80 ED 89 C4 */ lwz r7, lbl_805A7584@sda21(r13) +/* 80106AC8 00103A28 90 A1 00 08 */ stw r5, 8(r1) +/* 80106ACC 00103A2C 90 FF 00 48 */ stw r7, 0x48(r31) +/* 80106AD0 00103A30 80 AD 89 C8 */ lwz r5, lbl_805A7588@sda21(r13) +/* 80106AD4 00103A34 90 01 00 08 */ stw r0, 8(r1) +/* 80106AD8 00103A38 90 BF 00 4C */ stw r5, 0x4c(r31) +/* 80106ADC 00103A3C 80 AD 89 CC */ lwz r5, lbl_805A758C@sda21(r13) +/* 80106AE0 00103A40 90 BF 00 50 */ stw r5, 0x50(r31) +/* 80106AE4 00103A44 90 1F 00 54 */ stw r0, 0x54(r31) +/* 80106AE8 00103A48 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 80106AEC 00103A4C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80106AF0 00103A50 98 1F 00 58 */ stb r0, 0x58(r31) +/* 80106AF4 00103A54 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 80106AF8 00103A58 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80106AFC 00103A5C 98 1F 00 58 */ stb r0, 0x58(r31) +/* 80106B00 00103A60 88 1F 00 58 */ lbz r0, 0x58(r31) +/* 80106B04 00103A64 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 80106B08 00103A68 98 1F 00 58 */ stb r0, 0x58(r31) +/* 80106B0C 00103A6C D0 1F 00 5C */ stfs f0, 0x5c(r31) +/* 80106B10 00103A70 D0 1F 00 60 */ stfs f0, 0x60(r31) +/* 80106B14 00103A74 D0 1F 00 64 */ stfs f0, 0x64(r31) +/* 80106B18 00103A78 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80106B1C 00103A7C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80106B20 00103A80 7C 08 03 A6 */ mtlr r0 +/* 80106B24 00103A84 38 21 00 60 */ addi r1, r1, 0x60 +/* 80106B28 00103A88 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CAudioStateWin.s b/asm/Kyoto_CWD/CAudioStateWin.s new file mode 100644 index 00000000..7cfb3558 --- /dev/null +++ b/asm/Kyoto_CWD/CAudioStateWin.s @@ -0,0 +1,103 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__14CAudioStateWinFv +__dt__14CAudioStateWinFv: +/* 80111CCC 0010EC2C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80111CD0 0010EC30 7C 08 02 A6 */ mflr r0 +/* 80111CD4 0010EC34 90 01 00 14 */ stw r0, 0x14(r1) +/* 80111CD8 0010EC38 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80111CDC 0010EC3C 7C 9F 23 78 */ mr r31, r4 +/* 80111CE0 0010EC40 93 C1 00 08 */ stw r30, 8(r1) +/* 80111CE4 0010EC44 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80111CE8 0010EC48 41 82 00 28 */ beq lbl_80111D10 +/* 80111CEC 0010EC4C 3C A0 80 3E */ lis r5, lbl_803E02A8@ha +/* 80111CF0 0010EC50 38 80 00 00 */ li r4, 0 +/* 80111CF4 0010EC54 38 05 02 A8 */ addi r0, r5, lbl_803E02A8@l +/* 80111CF8 0010EC58 90 1E 00 00 */ stw r0, 0(r30) +/* 80111CFC 0010EC5C 4B F4 0E A9 */ bl __dt__6CIOWinFv +/* 80111D00 0010EC60 7F E0 07 35 */ extsh. r0, r31 +/* 80111D04 0010EC64 40 81 00 0C */ ble lbl_80111D10 +/* 80111D08 0010EC68 7F C3 F3 78 */ mr r3, r30 +/* 80111D0C 0010EC6C 48 20 3C 25 */ bl Free__7CMemoryFPCv +lbl_80111D10: +/* 80111D10 0010EC70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80111D14 0010EC74 7F C3 F3 78 */ mr r3, r30 +/* 80111D18 0010EC78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80111D1C 0010EC7C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80111D20 0010EC80 7C 08 03 A6 */ mtlr r0 +/* 80111D24 0010EC84 38 21 00 10 */ addi r1, r1, 0x10 +/* 80111D28 0010EC88 4E 80 00 20 */ blr + +.global OnMessage__14CAudioStateWinFRC20CArchitectureMessageR18CArchitectureQueue +OnMessage__14CAudioStateWinFRC20CArchitectureMessageR18CArchitectureQueue: +/* 80111D2C 0010EC8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80111D30 0010EC90 7C 08 02 A6 */ mflr r0 +/* 80111D34 0010EC94 90 01 00 14 */ stw r0, 0x14(r1) +/* 80111D38 0010EC98 80 04 00 04 */ lwz r0, 4(r4) +/* 80111D3C 0010EC9C 2C 00 00 07 */ cmpwi r0, 7 +/* 80111D40 0010ECA0 41 82 00 70 */ beq lbl_80111DB0 +/* 80111D44 0010ECA4 40 80 00 10 */ bge lbl_80111D54 +/* 80111D48 0010ECA8 2C 00 00 06 */ cmpwi r0, 6 +/* 80111D4C 0010ECAC 40 80 00 14 */ bge lbl_80111D60 +/* 80111D50 0010ECB0 48 00 00 60 */ b lbl_80111DB0 +lbl_80111D54: +/* 80111D54 0010ECB4 2C 00 00 09 */ cmpwi r0, 9 +/* 80111D58 0010ECB8 40 80 00 58 */ bge lbl_80111DB0 +/* 80111D5C 0010ECBC 48 00 00 18 */ b lbl_80111D74 +lbl_80111D60: +/* 80111D60 0010ECC0 38 60 00 01 */ li r3, 1 +/* 80111D64 0010ECC4 48 1D 7D 51 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 80111D68 0010ECC8 38 60 00 01 */ li r3, 1 +/* 80111D6C 0010ECCC 48 1D 7B 49 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 80111D70 0010ECD0 48 00 00 40 */ b lbl_80111DB0 +lbl_80111D74: +/* 80111D74 0010ECD4 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) +/* 80111D78 0010ECD8 48 0C 1B A1 */ bl WorldTransitionManager__10CGameStateFv +/* 80111D7C 0010ECDC 80 63 00 00 */ lwz r3, 0(r3) +/* 80111D80 0010ECE0 80 63 00 00 */ lwz r3, 0(r3) +/* 80111D84 0010ECE4 80 03 00 30 */ lwz r0, 0x30(r3) +/* 80111D88 0010ECE8 2C 00 00 00 */ cmpwi r0, 0 +/* 80111D8C 0010ECEC 41 82 00 14 */ beq lbl_80111DA0 +/* 80111D90 0010ECF0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) +/* 80111D94 0010ECF4 80 03 01 2C */ lwz r0, 0x12c(r3) +/* 80111D98 0010ECF8 2C 00 00 00 */ cmpwi r0, 0 +/* 80111D9C 0010ECFC 41 82 00 14 */ beq lbl_80111DB0 +lbl_80111DA0: +/* 80111DA0 0010ED00 38 60 00 00 */ li r3, 0 +/* 80111DA4 0010ED04 48 1D 7B 11 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 80111DA8 0010ED08 38 60 00 01 */ li r3, 1 +/* 80111DAC 0010ED0C 48 1D 7D 09 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels +lbl_80111DB0: +/* 80111DB0 0010ED10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80111DB4 0010ED14 38 60 00 00 */ li r3, 0 +/* 80111DB8 0010ED18 7C 08 03 A6 */ mtlr r0 +/* 80111DBC 0010ED1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80111DC0 0010ED20 4E 80 00 20 */ blr + +.global __ct__14CAudioStateWinFv +__ct__14CAudioStateWinFv: +/* 80111DC4 0010ED24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80111DC8 0010ED28 7C 08 02 A6 */ mflr r0 +/* 80111DCC 0010ED2C 3C 80 80 3D */ lis r4, lbl_803CF200@ha +/* 80111DD0 0010ED30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80111DD4 0010ED34 38 84 F2 00 */ addi r4, r4, lbl_803CF200@l +/* 80111DD8 0010ED38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80111DDC 0010ED3C 7C 7F 1B 78 */ mr r31, r3 +/* 80111DE0 0010ED40 38 61 00 08 */ addi r3, r1, 8 +/* 80111DE4 0010ED44 4B EF 2E D5 */ bl string_l__4rstlFPCc +/* 80111DE8 0010ED48 7F E3 FB 78 */ mr r3, r31 +/* 80111DEC 0010ED4C 38 81 00 08 */ addi r4, r1, 8 +/* 80111DF0 0010ED50 4B F4 0E 1D */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80111DF4 0010ED54 38 61 00 08 */ addi r3, r1, 8 +/* 80111DF8 0010ED58 48 22 BC E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80111DFC 0010ED5C 3C 80 80 3E */ lis r4, lbl_803E02A8@ha +/* 80111E00 0010ED60 7F E3 FB 78 */ mr r3, r31 +/* 80111E04 0010ED64 38 04 02 A8 */ addi r0, r4, lbl_803E02A8@l +/* 80111E08 0010ED68 90 1F 00 00 */ stw r0, 0(r31) +/* 80111E0C 0010ED6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80111E10 0010ED70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80111E14 0010ED74 7C 08 03 A6 */ mtlr r0 +/* 80111E18 0010ED78 38 21 00 20 */ addi r1, r1, 0x20 +/* 80111E1C 0010ED7C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CCameraFilter.s b/asm/Kyoto_CWD/CCameraFilter.s new file mode 100644 index 00000000..175ad45c --- /dev/null +++ b/asm/Kyoto_CWD/CCameraFilter.s @@ -0,0 +1,3184 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FreePersistentFbTexture__15CCameraBlurPassFv +FreePersistentFbTexture__15CCameraBlurPassFv: +/* 800EA948 000E78A8 38 00 00 00 */ li r0, 0 +/* 800EA94C 000E78AC 98 03 00 2D */ stb r0, 0x2d(r3) +/* 800EA950 000E78B0 4E 80 00 20 */ blr + +.global AllocatePersistentFbTexture__15CCameraBlurPassFv +AllocatePersistentFbTexture__15CCameraBlurPassFv: +/* 800EA954 000E78B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EA958 000E78B8 7C 08 02 A6 */ mflr r0 +/* 800EA95C 000E78BC 38 80 00 E0 */ li r4, 0xe0 +/* 800EA960 000E78C0 38 A0 00 04 */ li r5, 4 +/* 800EA964 000E78C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EA968 000E78C8 38 C0 00 00 */ li r6, 0 +/* 800EA96C 000E78CC 38 E0 00 00 */ li r7, 0 +/* 800EA970 000E78D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800EA974 000E78D4 7C 7F 1B 78 */ mr r31, r3 +/* 800EA978 000E78D8 38 60 01 40 */ li r3, 0x140 +/* 800EA97C 000E78DC 48 28 F2 C5 */ bl GXGetTexBufferSize +/* 800EA980 000E78E0 80 0D A8 28 */ lwz r0, lbl_805A93E8@sda21(r13) +/* 800EA984 000E78E4 90 1F 00 30 */ stw r0, 0x30(r31) +/* 800EA988 000E78E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EA98C 000E78EC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800EA990 000E78F0 7C 08 03 A6 */ mtlr r0 +/* 800EA994 000E78F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EA998 000E78F8 4E 80 00 20 */ blr + +.global GetFbCopy__15CCameraBlurPassCF9_GXTexFmtPUc +GetFbCopy__15CCameraBlurPassCF9_GXTexFmtPUc: +/* 800EA99C 000E78FC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800EA9A0 000E7900 7C 08 02 A6 */ mflr r0 +/* 800EA9A4 000E7904 3C C0 80 3F */ lis r6, lbl_803ED910@ha +/* 800EA9A8 000E7908 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EA9AC 000E790C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800EA9B0 000E7910 7C BF 2B 78 */ mr r31, r5 +/* 800EA9B4 000E7914 38 A6 D9 10 */ addi r5, r6, lbl_803ED910@l +/* 800EA9B8 000E7918 38 C0 01 C0 */ li r6, 0x1c0 +/* 800EA9BC 000E791C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800EA9C0 000E7920 7C 9E 23 78 */ mr r30, r4 +/* 800EA9C4 000E7924 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800EA9C8 000E7928 7C 7D 1B 78 */ mr r29, r3 +/* 800EA9CC 000E792C 80 65 00 00 */ lwz r3, 0(r5) +/* 800EA9D0 000E7930 80 05 00 04 */ lwz r0, 4(r5) +/* 800EA9D4 000E7934 38 A0 02 80 */ li r5, 0x280 +/* 800EA9D8 000E7938 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 800EA9DC 000E793C 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 800EA9E0 000E7940 48 28 E3 D5 */ bl GXSetTexCopySrc +/* 800EA9E4 000E7944 2C 1E 00 04 */ cmpwi r30, 4 +/* 800EA9E8 000E7948 40 82 00 20 */ bne lbl_800EAA08 +/* 800EA9EC 000E794C 38 60 01 40 */ li r3, 0x140 +/* 800EA9F0 000E7950 38 80 00 E0 */ li r4, 0xe0 +/* 800EA9F4 000E7954 38 A0 00 04 */ li r5, 4 +/* 800EA9F8 000E7958 38 C0 00 00 */ li r6, 0 +/* 800EA9FC 000E795C 38 E0 00 00 */ li r7, 0 +/* 800EAA00 000E7960 48 28 F2 41 */ bl GXGetTexBufferSize +/* 800EAA04 000E7964 48 00 00 1C */ b lbl_800EAA20 +lbl_800EAA08: +/* 800EAA08 000E7968 38 60 02 80 */ li r3, 0x280 +/* 800EAA0C 000E796C 38 80 01 C0 */ li r4, 0x1c0 +/* 800EAA10 000E7970 38 A0 00 01 */ li r5, 1 +/* 800EAA14 000E7974 38 C0 00 00 */ li r6, 0 +/* 800EAA18 000E7978 38 E0 00 00 */ li r7, 0 +/* 800EAA1C 000E797C 48 28 F2 25 */ bl GXGetTexBufferSize +lbl_800EAA20: +/* 800EAA20 000E7980 2C 1E 00 04 */ cmpwi r30, 4 +/* 800EAA24 000E7984 40 82 00 1C */ bne lbl_800EAA40 +/* 800EAA28 000E7988 7F C5 F3 78 */ mr r5, r30 +/* 800EAA2C 000E798C 38 60 01 40 */ li r3, 0x140 +/* 800EAA30 000E7990 38 80 00 E0 */ li r4, 0xe0 +/* 800EAA34 000E7994 38 C0 00 01 */ li r6, 1 +/* 800EAA38 000E7998 48 28 E4 49 */ bl GXSetTexCopyDst +/* 800EAA3C 000E799C 48 00 00 18 */ b lbl_800EAA54 +lbl_800EAA40: +/* 800EAA40 000E79A0 7F C5 F3 78 */ mr r5, r30 +/* 800EAA44 000E79A4 38 60 02 80 */ li r3, 0x280 +/* 800EAA48 000E79A8 38 80 01 C0 */ li r4, 0x1c0 +/* 800EAA4C 000E79AC 38 C0 00 00 */ li r6, 0 +/* 800EAA50 000E79B0 48 28 E4 31 */ bl GXSetTexCopyDst +lbl_800EAA54: +/* 800EAA54 000E79B4 7F E3 FB 78 */ mr r3, r31 +/* 800EAA58 000E79B8 38 80 00 00 */ li r4, 0 +/* 800EAA5C 000E79BC 48 28 EA D9 */ bl GXCopyTex +/* 800EAA60 000E79C0 48 28 DB 05 */ bl GXPixModeSync +/* 800EAA64 000E79C4 38 00 00 01 */ li r0, 1 +/* 800EAA68 000E79C8 98 1D 00 2D */ stb r0, 0x2d(r29) +/* 800EAA6C 000E79CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EAA70 000E79D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800EAA74 000E79D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800EAA78 000E79D8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800EAA7C 000E79DC 7C 08 03 A6 */ mtlr r0 +/* 800EAA80 000E79E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800EAA84 000E79E4 4E 80 00 20 */ blr + +.global Draw__15CCameraBlurPassCFv +Draw__15CCameraBlurPassCFv: +/* 800EAA88 000E79E8 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 800EAA8C 000E79EC 7C 08 02 A6 */ mflr r0 +/* 800EAA90 000E79F0 90 01 02 04 */ stw r0, 0x204(r1) +/* 800EAA94 000E79F4 DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 800EAA98 000E79F8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 800EAA9C 000E79FC DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 800EAAA0 000E7A00 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 800EAAA4 000E7A04 DB A1 01 D0 */ stfd f29, 0x1d0(r1) +/* 800EAAA8 000E7A08 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 +/* 800EAAAC 000E7A0C DB 81 01 C0 */ stfd f28, 0x1c0(r1) +/* 800EAAB0 000E7A10 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 +/* 800EAAB4 000E7A14 DB 61 01 B0 */ stfd f27, 0x1b0(r1) +/* 800EAAB8 000E7A18 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 +/* 800EAABC 000E7A1C DB 41 01 A0 */ stfd f26, 0x1a0(r1) +/* 800EAAC0 000E7A20 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 +/* 800EAAC4 000E7A24 DB 21 01 90 */ stfd f25, 0x190(r1) +/* 800EAAC8 000E7A28 F3 21 01 98 */ psq_st f25, 408(r1), 0, qr0 +/* 800EAACC 000E7A2C DB 01 01 80 */ stfd f24, 0x180(r1) +/* 800EAAD0 000E7A30 F3 01 01 88 */ psq_st f24, 392(r1), 0, qr0 +/* 800EAAD4 000E7A34 DA E1 01 70 */ stfd f23, 0x170(r1) +/* 800EAAD8 000E7A38 F2 E1 01 78 */ psq_st f23, 376(r1), 0, qr0 +/* 800EAADC 000E7A3C DA C1 01 60 */ stfd f22, 0x160(r1) +/* 800EAAE0 000E7A40 F2 C1 01 68 */ psq_st f22, 360(r1), 0, qr0 +/* 800EAAE4 000E7A44 DA A1 01 50 */ stfd f21, 0x150(r1) +/* 800EAAE8 000E7A48 F2 A1 01 58 */ psq_st f21, 344(r1), 0, qr0 +/* 800EAAEC 000E7A4C DA 81 01 40 */ stfd f20, 0x140(r1) +/* 800EAAF0 000E7A50 F2 81 01 48 */ psq_st f20, 328(r1), 0, qr0 +/* 800EAAF4 000E7A54 DA 61 01 30 */ stfd f19, 0x130(r1) +/* 800EAAF8 000E7A58 F2 61 01 38 */ psq_st f19, 312(r1), 0, qr0 +/* 800EAAFC 000E7A5C DA 41 01 20 */ stfd f18, 0x120(r1) +/* 800EAB00 000E7A60 F2 41 01 28 */ psq_st f18, 296(r1), 0, qr0 +/* 800EAB04 000E7A64 DA 21 01 10 */ stfd f17, 0x110(r1) +/* 800EAB08 000E7A68 F2 21 01 18 */ psq_st f17, 280(r1), 0, qr0 +/* 800EAB0C 000E7A6C DA 01 01 00 */ stfd f16, 0x100(r1) +/* 800EAB10 000E7A70 F2 01 01 08 */ psq_st f16, 264(r1), 0, qr0 +/* 800EAB14 000E7A74 D9 E1 00 F0 */ stfd f15, 0xf0(r1) +/* 800EAB18 000E7A78 F1 E1 00 F8 */ psq_st f15, 248(r1), 0, qr0 +/* 800EAB1C 000E7A7C D9 C1 00 E0 */ stfd f14, 0xe0(r1) +/* 800EAB20 000E7A80 F1 C1 00 E8 */ psq_st f14, 232(r1), 0, qr0 +/* 800EAB24 000E7A84 BF 01 00 C0 */ stmw r24, 0xc0(r1) +/* 800EAB28 000E7A88 7C 78 1B 78 */ mr r24, r3 +/* 800EAB2C 000E7A8C 3C 60 80 3D */ lis r3, lbl_803CE650@ha +/* 800EAB30 000E7A90 80 98 00 10 */ lwz r4, 0x10(r24) +/* 800EAB34 000E7A94 3B E3 E6 50 */ addi r31, r3, lbl_803CE650@l +/* 800EAB38 000E7A98 2C 04 00 00 */ cmpwi r4, 0 +/* 800EAB3C 000E7A9C 41 82 0D 94 */ beq lbl_800EB8D0 +/* 800EAB40 000E7AA0 88 B8 00 2C */ lbz r5, 0x2c(r24) +/* 800EAB44 000E7AA4 54 80 10 3A */ slwi r0, r4, 2 +/* 800EAB48 000E7AA8 38 7F 00 68 */ addi r3, r31, 0x68 +/* 800EAB4C 000E7AAC 28 05 00 00 */ cmplwi r5, 0 +/* 800EAB50 000E7AB0 7F 83 00 2E */ lwzx r28, r3, r0 +/* 800EAB54 000E7AB4 41 82 00 0C */ beq lbl_800EAB60 +/* 800EAB58 000E7AB8 83 D8 00 30 */ lwz r30, 0x30(r24) +/* 800EAB5C 000E7ABC 48 00 00 08 */ b lbl_800EAB64 +lbl_800EAB60: +/* 800EAB60 000E7AC0 83 CD A8 28 */ lwz r30, lbl_805A93E8@sda21(r13) +lbl_800EAB64: +/* 800EAB64 000E7AC4 2C 04 00 03 */ cmpwi r4, 3 +/* 800EAB68 000E7AC8 3B 60 02 80 */ li r27, 0x280 +/* 800EAB6C 000E7ACC 3B 40 01 C0 */ li r26, 0x1c0 +/* 800EAB70 000E7AD0 41 82 00 14 */ beq lbl_800EAB84 +/* 800EAB74 000E7AD4 38 00 02 80 */ li r0, 0x280 +/* 800EAB78 000E7AD8 57 5A FC 7E */ rlwinm r26, r26, 0x1f, 0x11, 0x1f +/* 800EAB7C 000E7ADC 7C 00 0E 70 */ srawi r0, r0, 1 +/* 800EAB80 000E7AE0 54 1B 04 3E */ clrlwi r27, r0, 0x10 +lbl_800EAB84: +/* 800EAB84 000E7AE4 88 18 00 2D */ lbz r0, 0x2d(r24) +/* 800EAB88 000E7AE8 28 00 00 00 */ cmplwi r0, 0 +/* 800EAB8C 000E7AEC 41 82 00 0C */ beq lbl_800EAB98 +/* 800EAB90 000E7AF0 28 05 00 00 */ cmplwi r5, 0 +/* 800EAB94 000E7AF4 40 82 00 14 */ bne lbl_800EABA8 +lbl_800EAB98: +/* 800EAB98 000E7AF8 7F 03 C3 78 */ mr r3, r24 +/* 800EAB9C 000E7AFC 7F 84 E3 78 */ mr r4, r28 +/* 800EABA0 000E7B00 7F C5 F3 78 */ mr r5, r30 +/* 800EABA4 000E7B04 4B FF FD F9 */ bl GetFbCopy__15CCameraBlurPassCF9_GXTexFmtPUc +lbl_800EABA8: +/* 800EABA8 000E7B08 80 18 00 10 */ lwz r0, 0x10(r24) +/* 800EABAC 000E7B0C 2C 00 00 03 */ cmpwi r0, 3 +/* 800EABB0 000E7B10 40 82 00 78 */ bne lbl_800EAC28 +/* 800EABB4 000E7B14 80 18 00 08 */ lwz r0, 8(r24) +/* 800EABB8 000E7B18 28 00 00 00 */ cmplwi r0, 0 +/* 800EABBC 000E7B1C 40 82 00 30 */ bne lbl_800EABEC +/* 800EABC0 000E7B20 88 18 00 04 */ lbz r0, 4(r24) +/* 800EABC4 000E7B24 28 00 00 00 */ cmplwi r0, 0 +/* 800EABC8 000E7B28 41 82 00 24 */ beq lbl_800EABEC +/* 800EABCC 000E7B2C 80 78 00 00 */ lwz r3, 0(r24) +/* 800EABD0 000E7B30 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800EABD4 000E7B34 28 00 00 00 */ cmplwi r0, 0 +/* 800EABD8 000E7B38 41 82 00 14 */ beq lbl_800EABEC +/* 800EABDC 000E7B3C 7F 03 C3 78 */ mr r3, r24 +/* 800EABE0 000E7B40 48 25 62 2D */ bl GetObj__6CTokenFv +/* 800EABE4 000E7B44 80 03 00 04 */ lwz r0, 4(r3) +/* 800EABE8 000E7B48 90 18 00 08 */ stw r0, 8(r24) +lbl_800EABEC: +/* 800EABEC 000E7B4C 80 78 00 08 */ lwz r3, 8(r24) +/* 800EABF0 000E7B50 28 03 00 00 */ cmplwi r3, 0 +/* 800EABF4 000E7B54 41 82 0C DC */ beq lbl_800EB8D0 +/* 800EABF8 000E7B58 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800EABFC 000E7B5C 48 22 32 C9 */ bl Load__16CGraphicsPaletteCFv +/* 800EAC00 000E7B60 48 00 00 08 */ b lbl_800EAC08 +/* 800EAC04 000E7B64 48 00 0C CC */ b lbl_800EB8D0 +lbl_800EAC08: +/* 800EAC08 000E7B68 81 02 C7 A8 */ lwz r8, lbl_805AE4C8@sda21(r2) +/* 800EAC0C 000E7B6C 7F C7 F3 78 */ mr r7, r30 +/* 800EAC10 000E7B70 57 63 04 3E */ clrlwi r3, r27, 0x10 +/* 800EAC14 000E7B74 57 44 04 3E */ clrlwi r4, r26, 0x10 +/* 800EAC18 000E7B78 38 A0 00 09 */ li r5, 9 +/* 800EAC1C 000E7B7C 38 C0 00 00 */ li r6, 0 +/* 800EAC20 000E7B80 48 21 F3 49 */ bl LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID +/* 800EAC24 000E7B84 48 00 00 1C */ b lbl_800EAC40 +lbl_800EAC28: +/* 800EAC28 000E7B88 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) +/* 800EAC2C 000E7B8C 7F 85 E3 78 */ mr r5, r28 +/* 800EAC30 000E7B90 7F C6 F3 78 */ mr r6, r30 +/* 800EAC34 000E7B94 57 63 04 3E */ clrlwi r3, r27, 0x10 +/* 800EAC38 000E7B98 57 44 04 3E */ clrlwi r4, r26, 0x10 +/* 800EAC3C 000E7B9C 48 21 F3 E5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +lbl_800EAC40: +/* 800EAC40 000E7BA0 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 800EAC44 000E7BA4 3C A0 43 30 */ lis r5, 0x4330 +/* 800EAC48 000E7BA8 38 E3 D9 10 */ addi r7, r3, lbl_803ED910@l +/* 800EAC4C 000E7BAC 90 A1 00 88 */ stw r5, 0x88(r1) +/* 800EAC50 000E7BB0 80 07 00 08 */ lwz r0, 8(r7) +/* 800EAC54 000E7BB4 80 87 00 0C */ lwz r4, 0xc(r7) +/* 800EAC58 000E7BB8 6C 06 80 00 */ xoris r6, r0, 0x8000 +/* 800EAC5C 000E7BBC 80 67 00 00 */ lwz r3, 0(r7) +/* 800EAC60 000E7BC0 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 800EAC64 000E7BC4 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 800EAC68 000E7BC8 80 07 00 04 */ lwz r0, 4(r7) +/* 800EAC6C 000E7BCC 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 800EAC70 000E7BD0 C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) +/* 800EAC74 000E7BD4 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 800EAC78 000E7BD8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800EAC7C 000E7BDC 90 81 00 94 */ stw r4, 0x94(r1) +/* 800EAC80 000E7BE0 EF 00 10 28 */ fsubs f24, f0, f2 +/* 800EAC84 000E7BE4 C0 A2 90 D8 */ lfs f5, lbl_805AADF8@sda21(r2) +/* 800EAC88 000E7BE8 90 A1 00 90 */ stw r5, 0x90(r1) +/* 800EAC8C 000E7BEC C0 C2 90 DC */ lfs f6, lbl_805AADFC@sda21(r2) +/* 800EAC90 000E7BF0 C8 01 00 90 */ lfd f0, 0x90(r1) +/* 800EAC94 000E7BF4 90 61 00 9C */ stw r3, 0x9c(r1) +/* 800EAC98 000E7BF8 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800EAC9C 000E7BFC 90 A1 00 98 */ stw r5, 0x98(r1) +/* 800EACA0 000E7C00 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 800EACA4 000E7C04 C8 01 00 98 */ lfd f0, 0x98(r1) +/* 800EACA8 000E7C08 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800EACAC 000E7C0C EE E0 10 28 */ fsubs f23, f0, f2 +/* 800EACB0 000E7C10 90 A1 00 A0 */ stw r5, 0xa0(r1) +/* 800EACB4 000E7C14 C8 01 00 A0 */ lfd f0, 0xa0(r1) +/* 800EACB8 000E7C18 EF 37 C0 2A */ fadds f25, f23, f24 +/* 800EACBC 000E7C1C FC 20 B8 90 */ fmr f1, f23 +/* 800EACC0 000E7C20 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800EACC4 000E7C24 FC 40 C8 90 */ fmr f2, f25 +/* 800EACC8 000E7C28 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 800EACCC 000E7C2C FC 60 00 18 */ frsp f3, f0 +/* 800EACD0 000E7C30 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 800EACD4 000E7C34 C0 81 00 AC */ lfs f4, 0xac(r1) +/* 800EACD8 000E7C38 EF 43 00 2A */ fadds f26, f3, f0 +/* 800EACDC 000E7C3C FC 60 D0 90 */ fmr f3, f26 +/* 800EACE0 000E7C40 48 22 18 75 */ bl SetOrtho__9CGraphicsFffffff +/* 800EACE4 000E7C44 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EACE8 000E7C48 38 80 00 00 */ li r4, 0 +/* 800EACEC 000E7C4C 38 A0 00 00 */ li r5, 0 +/* 800EACF0 000E7C50 81 83 00 00 */ lwz r12, 0(r3) +/* 800EACF4 000E7C54 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800EACF8 000E7C58 7D 89 03 A6 */ mtctr r12 +/* 800EACFC 000E7C5C 4E 80 04 21 */ bctrl +/* 800EAD00 000E7C60 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800EAD04 000E7C64 38 63 66 70 */ addi r3, r3, skIdentity4f@l +/* 800EAD08 000E7C68 48 22 1A 45 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800EAD0C 000E7C6C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EAD10 000E7C70 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800EAD14 000E7C74 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800EAD18 000E7C78 81 83 00 00 */ lwz r12, 0(r3) +/* 800EAD1C 000E7C7C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800EAD20 000E7C80 7D 89 03 A6 */ mtctr r12 +/* 800EAD24 000E7C84 4E 80 04 21 */ bctrl +/* 800EAD28 000E7C88 80 18 00 10 */ lwz r0, 0x10(r24) +/* 800EAD2C 000E7C8C 2C 00 00 03 */ cmpwi r0, 3 +/* 800EAD30 000E7C90 40 82 06 00 */ bne lbl_800EB330 +/* 800EAD34 000E7C94 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EAD38 000E7C98 81 83 00 00 */ lwz r12, 0(r3) +/* 800EAD3C 000E7C9C 81 8C 00 7C */ lwz r12, 0x7c(r12) +/* 800EAD40 000E7CA0 7D 89 03 A6 */ mtctr r12 +/* 800EAD44 000E7CA4 4E 80 04 21 */ bctrl +/* 800EAD48 000E7CA8 81 1F 00 78 */ lwz r8, 0x78(r31) +/* 800EAD4C 000E7CAC 38 61 00 6C */ addi r3, r1, 0x6c +/* 800EAD50 000E7CB0 80 FF 00 7C */ lwz r7, 0x7c(r31) +/* 800EAD54 000E7CB4 80 DF 00 80 */ lwz r6, 0x80(r31) +/* 800EAD58 000E7CB8 80 BF 00 84 */ lwz r5, 0x84(r31) +/* 800EAD5C 000E7CBC 80 9F 00 88 */ lwz r4, 0x88(r31) +/* 800EAD60 000E7CC0 80 1F 00 8C */ lwz r0, 0x8c(r31) +/* 800EAD64 000E7CC4 91 01 00 6C */ stw r8, 0x6c(r1) +/* 800EAD68 000E7CC8 90 E1 00 70 */ stw r7, 0x70(r1) +/* 800EAD6C 000E7CCC 90 C1 00 74 */ stw r6, 0x74(r1) +/* 800EAD70 000E7CD0 90 A1 00 78 */ stw r5, 0x78(r1) +/* 800EAD74 000E7CD4 90 81 00 7C */ stw r4, 0x7c(r1) +/* 800EAD78 000E7CD8 90 01 00 80 */ stw r0, 0x80(r1) +/* 800EAD7C 000E7CDC 48 21 D0 AD */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 800EAD80 000E7CE0 38 60 00 00 */ li r3, 0 +/* 800EAD84 000E7CE4 48 21 E0 CD */ bl SetNumChans__3CGXFUc +/* 800EAD88 000E7CE8 38 60 00 04 */ li r3, 4 +/* 800EAD8C 000E7CEC 48 21 E0 89 */ bl SetNumTexGens__3CGXFUc +/* 800EAD90 000E7CF0 38 60 00 04 */ li r3, 4 +/* 800EAD94 000E7CF4 48 21 DE FD */ bl SetNumTevStages__3CGXFUc +/* 800EAD98 000E7CF8 3B 20 00 00 */ li r25, 0 +lbl_800EAD9C: +/* 800EAD9C 000E7CFC 7F 23 CB 78 */ mr r3, r25 +/* 800EADA0 000E7D00 38 80 00 0F */ li r4, 0xf +/* 800EADA4 000E7D04 38 A0 00 08 */ li r5, 8 +/* 800EADA8 000E7D08 38 C0 00 0E */ li r6, 0xe +/* 800EADAC 000E7D0C 38 E0 00 00 */ li r7, 0 +/* 800EADB0 000E7D10 48 21 DE 3D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 800EADB4 000E7D14 7F 23 CB 78 */ mr r3, r25 +/* 800EADB8 000E7D18 38 80 00 07 */ li r4, 7 +/* 800EADBC 000E7D1C 38 A0 00 07 */ li r5, 7 +/* 800EADC0 000E7D20 38 C0 00 07 */ li r6, 7 +/* 800EADC4 000E7D24 38 E0 00 06 */ li r7, 6 +/* 800EADC8 000E7D28 48 21 DD CD */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 800EADCC 000E7D2C 7F 23 CB 78 */ mr r3, r25 +/* 800EADD0 000E7D30 38 80 00 00 */ li r4, 0 +/* 800EADD4 000E7D34 48 21 DB C9 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 800EADD8 000E7D38 7F 23 CB 78 */ mr r3, r25 +/* 800EADDC 000E7D3C 48 21 CE 75 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 800EADE0 000E7D40 7F 23 CB 78 */ mr r3, r25 +/* 800EADE4 000E7D44 38 80 00 0C */ li r4, 0xc +/* 800EADE8 000E7D48 48 21 DB F9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 800EADEC 000E7D4C 3B 39 00 01 */ addi r25, r25, 1 +/* 800EADF0 000E7D50 2C 19 00 04 */ cmpwi r25, 4 +/* 800EADF4 000E7D54 41 80 FF A8 */ blt lbl_800EAD9C +/* 800EADF8 000E7D58 38 60 00 00 */ li r3, 0 +/* 800EADFC 000E7D5C 38 80 00 0F */ li r4, 0xf +/* 800EAE00 000E7D60 38 A0 00 08 */ li r5, 8 +/* 800EAE04 000E7D64 38 C0 00 0E */ li r6, 0xe +/* 800EAE08 000E7D68 38 E0 00 0F */ li r7, 0xf +/* 800EAE0C 000E7D6C 48 21 DD E1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 800EAE10 000E7D70 38 60 00 00 */ li r3, 0 +/* 800EAE14 000E7D74 38 80 00 0C */ li r4, 0xc +/* 800EAE18 000E7D78 48 21 DB C9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 800EAE1C 000E7D7C 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EAE20 000E7D80 38 60 00 00 */ li r3, 0 +/* 800EAE24 000E7D84 38 80 00 00 */ li r4, 0 +/* 800EAE28 000E7D88 38 C0 00 FF */ li r6, 0xff +/* 800EAE2C 000E7D8C 48 21 DB 21 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EAE30 000E7D90 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EAE34 000E7D94 38 60 00 01 */ li r3, 1 +/* 800EAE38 000E7D98 38 80 00 01 */ li r4, 1 +/* 800EAE3C 000E7D9C 38 C0 00 FF */ li r6, 0xff +/* 800EAE40 000E7DA0 48 21 DB 0D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EAE44 000E7DA4 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EAE48 000E7DA8 38 60 00 02 */ li r3, 2 +/* 800EAE4C 000E7DAC 38 80 00 02 */ li r4, 2 +/* 800EAE50 000E7DB0 38 C0 00 FF */ li r6, 0xff +/* 800EAE54 000E7DB4 48 21 DA F9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EAE58 000E7DB8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EAE5C 000E7DBC 38 60 00 03 */ li r3, 3 +/* 800EAE60 000E7DC0 38 80 00 03 */ li r4, 3 +/* 800EAE64 000E7DC4 38 C0 00 FF */ li r6, 0xff +/* 800EAE68 000E7DC8 48 21 DA E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EAE6C 000E7DCC 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EAE70 000E7DD0 38 60 00 04 */ li r3, 4 +/* 800EAE74 000E7DD4 38 80 00 04 */ li r4, 4 +/* 800EAE78 000E7DD8 38 C0 00 FF */ li r6, 0xff +/* 800EAE7C 000E7DDC 48 21 DA D1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EAE80 000E7DE0 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EAE84 000E7DE4 38 60 00 05 */ li r3, 5 +/* 800EAE88 000E7DE8 38 80 00 05 */ li r4, 5 +/* 800EAE8C 000E7DEC 38 C0 00 FF */ li r6, 0xff +/* 800EAE90 000E7DF0 48 21 DA BD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EAE94 000E7DF4 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EAE98 000E7DF8 38 60 00 06 */ li r3, 6 +/* 800EAE9C 000E7DFC 38 80 00 06 */ li r4, 6 +/* 800EAEA0 000E7E00 38 C0 00 FF */ li r6, 0xff +/* 800EAEA4 000E7E04 48 21 DA A9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EAEA8 000E7E08 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EAEAC 000E7E0C 38 60 00 07 */ li r3, 7 +/* 800EAEB0 000E7E10 38 80 00 07 */ li r4, 7 +/* 800EAEB4 000E7E14 38 C0 00 FF */ li r6, 0xff +/* 800EAEB8 000E7E18 48 21 DA 95 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EAEBC 000E7E1C C0 22 90 E0 */ lfs f1, lbl_805AAE00@sda21(r2) +/* 800EAEC0 000E7E20 38 61 00 10 */ addi r3, r1, 0x10 +/* 800EAEC4 000E7E24 C0 82 90 DC */ lfs f4, lbl_805AADFC@sda21(r2) +/* 800EAEC8 000E7E28 FC 40 08 90 */ fmr f2, f1 +/* 800EAECC 000E7E2C FC 60 08 90 */ fmr f3, f1 +/* 800EAED0 000E7E30 48 27 85 1D */ bl __ct__6CColorFffff +/* 800EAED4 000E7E34 38 81 00 10 */ addi r4, r1, 0x10 +/* 800EAED8 000E7E38 38 60 00 00 */ li r3, 0 +/* 800EAEDC 000E7E3C 48 21 DD 69 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 800EAEE0 000E7E40 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 800EAEE4 000E7E44 3B 60 00 00 */ li r27, 0 +/* 800EAEE8 000E7E48 C0 42 90 E0 */ lfs f2, lbl_805AAE00@sda21(r2) +/* 800EAEEC 000E7E4C 3B 40 00 1E */ li r26, 0x1e +/* 800EAEF0 000E7E50 C0 23 02 04 */ lfs f1, 0x204(r3) +/* 800EAEF4 000E7E54 3F 20 43 30 */ lis r25, 0x4330 +/* 800EAEF8 000E7E58 C0 03 02 08 */ lfs f0, 0x208(r3) +/* 800EAEFC 000E7E5C EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800EAF00 000E7E60 C0 78 00 1C */ lfs f3, 0x1c(r24) +/* 800EAF04 000E7E64 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 800EAF08 000E7E68 C2 62 90 DC */ lfs f19, lbl_805AADFC@sda21(r2) +/* 800EAF0C 000E7E6C CA 42 91 20 */ lfd f18, lbl_805AAE40@sda21(r2) +/* 800EAF10 000E7E70 EF 23 00 72 */ fmuls f25, f3, f1 +/* 800EAF14 000E7E74 EE 83 00 32 */ fmuls f20, f3, f0 +/* 800EAF18 000E7E78 C2 22 90 E8 */ lfs f17, lbl_805AAE08@sda21(r2) +/* 800EAF1C 000E7E7C C2 02 90 E4 */ lfs f16, lbl_805AAE04@sda21(r2) +lbl_800EAF20: +/* 800EAF20 000E7E80 6F 66 80 00 */ xoris r6, r27, 0x8000 +/* 800EAF24 000E7E84 81 9F 00 90 */ lwz r12, 0x90(r31) +/* 800EAF28 000E7E88 90 C1 00 94 */ stw r6, 0x94(r1) +/* 800EAF2C 000E7E8C 7F 44 D3 78 */ mr r4, r26 +/* 800EAF30 000E7E90 81 3F 00 9C */ lwz r9, 0x9c(r31) +/* 800EAF34 000E7E94 38 61 00 4C */ addi r3, r1, 0x4c +/* 800EAF38 000E7E98 93 21 00 90 */ stw r25, 0x90(r1) +/* 800EAF3C 000E7E9C 38 A0 00 01 */ li r5, 1 +/* 800EAF40 000E7EA0 80 FF 00 A4 */ lwz r7, 0xa4(r31) +/* 800EAF44 000E7EA4 C8 01 00 90 */ lfd f0, 0x90(r1) +/* 800EAF48 000E7EA8 90 C1 00 9C */ stw r6, 0x9c(r1) +/* 800EAF4C 000E7EAC EC 00 90 28 */ fsubs f0, f0, f18 +/* 800EAF50 000E7EB0 80 1F 00 AC */ lwz r0, 0xac(r31) +/* 800EAF54 000E7EB4 93 21 00 98 */ stw r25, 0x98(r1) +/* 800EAF58 000E7EB8 81 7F 00 94 */ lwz r11, 0x94(r31) +/* 800EAF5C 000E7EBC C8 21 00 98 */ lfd f1, 0x98(r1) +/* 800EAF60 000E7EC0 EC 14 00 32 */ fmuls f0, f20, f0 +/* 800EAF64 000E7EC4 90 C1 00 A4 */ stw r6, 0xa4(r1) +/* 800EAF68 000E7EC8 EC 21 90 28 */ fsubs f1, f1, f18 +/* 800EAF6C 000E7ECC 81 5F 00 98 */ lwz r10, 0x98(r31) +/* 800EAF70 000E7ED0 93 21 00 A0 */ stw r25, 0xa0(r1) +/* 800EAF74 000E7ED4 81 1F 00 A0 */ lwz r8, 0xa0(r31) +/* 800EAF78 000E7ED8 C8 41 00 A0 */ lfd f2, 0xa0(r1) +/* 800EAF7C 000E7EDC EC 01 00 32 */ fmuls f0, f1, f0 +/* 800EAF80 000E7EE0 80 DF 00 A8 */ lwz r6, 0xa8(r31) +/* 800EAF84 000E7EE4 EC 22 90 28 */ fsubs f1, f2, f18 +/* 800EAF88 000E7EE8 91 81 00 4C */ stw r12, 0x4c(r1) +/* 800EAF8C 000E7EEC 91 21 00 58 */ stw r9, 0x58(r1) +/* 800EAF90 000E7EF0 EC 19 00 7A */ fmadds f0, f25, f1, f0 +/* 800EAF94 000E7EF4 90 E1 00 60 */ stw r7, 0x60(r1) +/* 800EAF98 000E7EF8 EC 33 00 28 */ fsubs f1, f19, f0 +/* 800EAF9C 000E7EFC 90 01 00 68 */ stw r0, 0x68(r1) +/* 800EAFA0 000E7F00 91 61 00 50 */ stw r11, 0x50(r1) +/* 800EAFA4 000E7F04 EC 11 80 7A */ fmadds f0, f17, f1, f16 +/* 800EAFA8 000E7F08 91 41 00 54 */ stw r10, 0x54(r1) +/* 800EAFAC 000E7F0C 91 01 00 5C */ stw r8, 0x5c(r1) +/* 800EAFB0 000E7F10 90 C1 00 64 */ stw r6, 0x64(r1) +/* 800EAFB4 000E7F14 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800EAFB8 000E7F18 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800EAFBC 000E7F1C D0 21 00 60 */ stfs f1, 0x60(r1) +/* 800EAFC0 000E7F20 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800EAFC4 000E7F24 48 29 14 CD */ bl GXLoadTexMtxImm +/* 800EAFC8 000E7F28 3B 7B 00 01 */ addi r27, r27, 1 +/* 800EAFCC 000E7F2C 3B 5A 00 03 */ addi r26, r26, 3 +/* 800EAFD0 000E7F30 2C 1B 00 04 */ cmpwi r27, 4 +/* 800EAFD4 000E7F34 41 80 FF 4C */ blt lbl_800EAF20 +/* 800EAFD8 000E7F38 38 60 00 00 */ li r3, 0 +/* 800EAFDC 000E7F3C 38 80 00 01 */ li r4, 1 +/* 800EAFE0 000E7F40 38 A0 00 04 */ li r5, 4 +/* 800EAFE4 000E7F44 38 C0 00 1E */ li r6, 0x1e +/* 800EAFE8 000E7F48 38 E0 00 00 */ li r7, 0 +/* 800EAFEC 000E7F4C 39 00 00 7D */ li r8, 0x7d +/* 800EAFF0 000E7F50 48 21 D6 DD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EAFF4 000E7F54 38 60 00 01 */ li r3, 1 +/* 800EAFF8 000E7F58 38 80 00 01 */ li r4, 1 +/* 800EAFFC 000E7F5C 38 A0 00 04 */ li r5, 4 +/* 800EB000 000E7F60 38 C0 00 21 */ li r6, 0x21 +/* 800EB004 000E7F64 38 E0 00 00 */ li r7, 0 +/* 800EB008 000E7F68 39 00 00 7D */ li r8, 0x7d +/* 800EB00C 000E7F6C 48 21 D6 C1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB010 000E7F70 38 60 00 02 */ li r3, 2 +/* 800EB014 000E7F74 38 80 00 01 */ li r4, 1 +/* 800EB018 000E7F78 38 A0 00 04 */ li r5, 4 +/* 800EB01C 000E7F7C 38 C0 00 24 */ li r6, 0x24 +/* 800EB020 000E7F80 38 E0 00 00 */ li r7, 0 +/* 800EB024 000E7F84 39 00 00 7D */ li r8, 0x7d +/* 800EB028 000E7F88 48 21 D6 A5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB02C 000E7F8C 38 60 00 03 */ li r3, 3 +/* 800EB030 000E7F90 38 80 00 01 */ li r4, 1 +/* 800EB034 000E7F94 38 A0 00 04 */ li r5, 4 +/* 800EB038 000E7F98 38 C0 00 27 */ li r6, 0x27 +/* 800EB03C 000E7F9C 38 E0 00 00 */ li r7, 0 +/* 800EB040 000E7FA0 39 00 00 7D */ li r8, 0x7d +/* 800EB044 000E7FA4 48 21 D6 89 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB048 000E7FA8 38 60 00 04 */ li r3, 4 +/* 800EB04C 000E7FAC 38 80 00 01 */ li r4, 1 +/* 800EB050 000E7FB0 38 A0 00 04 */ li r5, 4 +/* 800EB054 000E7FB4 38 C0 00 2A */ li r6, 0x2a +/* 800EB058 000E7FB8 38 E0 00 00 */ li r7, 0 +/* 800EB05C 000E7FBC 39 00 00 7D */ li r8, 0x7d +/* 800EB060 000E7FC0 48 21 D6 6D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB064 000E7FC4 38 60 00 05 */ li r3, 5 +/* 800EB068 000E7FC8 38 80 00 01 */ li r4, 1 +/* 800EB06C 000E7FCC 38 A0 00 04 */ li r5, 4 +/* 800EB070 000E7FD0 38 C0 00 2D */ li r6, 0x2d +/* 800EB074 000E7FD4 38 E0 00 00 */ li r7, 0 +/* 800EB078 000E7FD8 39 00 00 7D */ li r8, 0x7d +/* 800EB07C 000E7FDC 48 21 D6 51 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB080 000E7FE0 38 60 00 06 */ li r3, 6 +/* 800EB084 000E7FE4 38 80 00 01 */ li r4, 1 +/* 800EB088 000E7FE8 38 A0 00 04 */ li r5, 4 +/* 800EB08C 000E7FEC 38 C0 00 30 */ li r6, 0x30 +/* 800EB090 000E7FF0 38 E0 00 00 */ li r7, 0 +/* 800EB094 000E7FF4 39 00 00 7D */ li r8, 0x7d +/* 800EB098 000E7FF8 48 21 D6 35 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB09C 000E7FFC 38 60 00 07 */ li r3, 7 +/* 800EB0A0 000E8000 38 80 00 01 */ li r4, 1 +/* 800EB0A4 000E8004 38 A0 00 04 */ li r5, 4 +/* 800EB0A8 000E8008 38 C0 00 33 */ li r6, 0x33 +/* 800EB0AC 000E800C 38 E0 00 00 */ li r7, 0 +/* 800EB0B0 000E8010 39 00 00 7D */ li r8, 0x7d +/* 800EB0B4 000E8014 48 21 D6 19 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB0B8 000E8018 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EB0BC 000E801C 3F 00 CC 01 */ lis r24, 0xcc01 +/* 800EB0C0 000E8020 C3 22 90 F0 */ lfs f25, lbl_805AAE10@sda21(r2) +/* 800EB0C4 000E8024 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 800EB0C8 000E8028 FF E0 00 18 */ frsp f31, f0 +/* 800EB0CC 000E802C C0 02 90 F4 */ lfs f0, lbl_805AAE14@sda21(r2) +/* 800EB0D0 000E8030 C3 42 90 E4 */ lfs f26, lbl_805AAE04@sda21(r2) +/* 800EB0D4 000E8034 C3 62 90 FC */ lfs f27, lbl_805AAE1C@sda21(r2) +/* 800EB0D8 000E8038 C3 82 90 DC */ lfs f28, lbl_805AADFC@sda21(r2) +/* 800EB0DC 000E803C C3 A2 90 F8 */ lfs f29, lbl_805AAE18@sda21(r2) +/* 800EB0E0 000E8040 C3 C2 91 00 */ lfs f30, lbl_805AAE20@sda21(r2) +/* 800EB0E4 000E8044 D8 01 00 B8 */ stfd f0, 0xb8(r1) +/* 800EB0E8 000E8048 48 00 01 58 */ b lbl_800EB240 +lbl_800EB0EC: +/* 800EB0EC 000E804C C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 800EB0F0 000E8050 C8 21 00 B8 */ lfd f1, 0xb8(r1) +/* 800EB0F4 000E8054 EC BC 00 28 */ fsubs f5, f28, f0 +/* 800EB0F8 000E8058 C2 42 90 EC */ lfs f18, lbl_805AAE0C@sda21(r2) +/* 800EB0FC 000E805C EC 40 D0 28 */ fsubs f2, f0, f26 +/* 800EB100 000E8060 EC 21 00 2A */ fadds f1, f1, f0 +/* 800EB104 000E8064 C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 800EB108 000E8068 EC 65 D0 28 */ fsubs f3, f5, f26 +/* 800EB10C 000E806C EC 85 00 28 */ fsubs f4, f5, f0 +/* 800EB110 000E8070 EC 01 D0 28 */ fsubs f0, f1, f26 +/* 800EB114 000E8074 EC F9 00 F2 */ fmuls f7, f25, f3 +/* 800EB118 000E8078 EC 24 D0 28 */ fsubs f1, f4, f26 +/* 800EB11C 000E807C EE 9D D0 BA */ fmadds f20, f29, f2, f26 +/* 800EB120 000E8080 EC 67 01 F2 */ fmuls f3, f7, f7 +/* 800EB124 000E8084 EC D9 00 72 */ fmuls f6, f25, f1 +/* 800EB128 000E8088 EC 3D 01 72 */ fmuls f1, f29, f5 +/* 800EB12C 000E808C EC 67 00 F2 */ fmuls f3, f7, f3 +/* 800EB130 000E8090 EC A6 01 B2 */ fmuls f5, f6, f6 +/* 800EB134 000E8094 EC 9D 01 32 */ fmuls f4, f29, f4 +/* 800EB138 000E8098 EC 5C 18 2A */ fadds f2, f28, f3 +/* 800EB13C 000E809C EC A6 01 72 */ fmuls f5, f6, f5 +/* 800EB140 000E80A0 EE 7D D0 3A */ fmadds f19, f29, f0, f26 +/* 800EB144 000E80A4 EC 02 06 B2 */ fmuls f0, f2, f26 +/* 800EB148 000E80A8 EC 7C 28 2A */ fadds f3, f28, f5 +/* 800EB14C 000E80AC EC 5B 08 3A */ fmadds f2, f27, f0, f1 +/* 800EB150 000E80B0 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 800EB154 000E80B4 EC 63 06 B2 */ fmuls f3, f3, f26 +/* 800EB158 000E80B8 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 800EB15C 000E80BC EE A1 00 BA */ fmadds f21, f1, f2, f0 +/* 800EB160 000E80C0 EC 7B 20 FA */ fmadds f3, f27, f3, f4 +/* 800EB164 000E80C4 EE C1 00 FA */ fmadds f22, f1, f3, f0 +/* 800EB168 000E80C8 48 00 00 C0 */ b lbl_800EB228 +lbl_800EB16C: +/* 800EB16C 000E80CC EC 1E 90 2A */ fadds f0, f30, f18 +/* 800EB170 000E80D0 38 60 00 98 */ li r3, 0x98 +/* 800EB174 000E80D4 EC 32 D0 28 */ fsubs f1, f18, f26 +/* 800EB178 000E80D8 38 80 00 00 */ li r4, 0 +/* 800EB17C 000E80DC EC 5D 04 B2 */ fmuls f2, f29, f18 +/* 800EB180 000E80E0 38 A0 00 04 */ li r5, 4 +/* 800EB184 000E80E4 EC C0 D0 28 */ fsubs f6, f0, f26 +/* 800EB188 000E80E8 EC 99 00 72 */ fmuls f4, f25, f1 +/* 800EB18C 000E80EC EC 1D 00 32 */ fmuls f0, f29, f0 +/* 800EB190 000E80F0 EC B9 01 B2 */ fmuls f5, f25, f6 +/* 800EB194 000E80F4 EC 64 01 32 */ fmuls f3, f4, f4 +/* 800EB198 000E80F8 EE 3D D0 7A */ fmadds f17, f29, f1, f26 +/* 800EB19C 000E80FC EC 25 01 72 */ fmuls f1, f5, f5 +/* 800EB1A0 000E8100 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 800EB1A4 000E8104 EE 1D D1 BA */ fmadds f16, f29, f6, f26 +/* 800EB1A8 000E8108 EC 25 00 72 */ fmuls f1, f5, f1 +/* 800EB1AC 000E810C EC 7C 18 2A */ fadds f3, f28, f3 +/* 800EB1B0 000E8110 EC 3C 08 2A */ fadds f1, f28, f1 +/* 800EB1B4 000E8114 EC 63 06 B2 */ fmuls f3, f3, f26 +/* 800EB1B8 000E8118 EC 21 06 B2 */ fmuls f1, f1, f26 +/* 800EB1BC 000E811C EC 5B 10 FA */ fmadds f2, f27, f3, f2 +/* 800EB1C0 000E8120 EC 1B 00 7A */ fmadds f0, f27, f1, f0 +/* 800EB1C4 000E8124 ED F8 B8 BA */ fmadds f15, f24, f2, f23 +/* 800EB1C8 000E8128 ED D8 B8 3A */ fmadds f14, f24, f0, f23 +/* 800EB1CC 000E812C 48 21 D3 B9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 800EB1D0 000E8130 D1 F8 80 00 */ stfs f15, 0xCC008000@l(r24) +/* 800EB1D4 000E8134 D3 F8 80 00 */ stfs f31, 0xCC008000@l(r24) +/* 800EB1D8 000E8138 D2 B8 80 00 */ stfs f21, 0xCC008000@l(r24) +/* 800EB1DC 000E813C D2 38 80 00 */ stfs f17, 0xCC008000@l(r24) +/* 800EB1E0 000E8140 D2 98 80 00 */ stfs f20, 0xCC008000@l(r24) +/* 800EB1E4 000E8144 D1 F8 80 00 */ stfs f15, 0xCC008000@l(r24) +/* 800EB1E8 000E8148 D3 F8 80 00 */ stfs f31, 0xCC008000@l(r24) +/* 800EB1EC 000E814C D2 D8 80 00 */ stfs f22, 0xCC008000@l(r24) +/* 800EB1F0 000E8150 D2 38 80 00 */ stfs f17, 0xCC008000@l(r24) +/* 800EB1F4 000E8154 D2 78 80 00 */ stfs f19, 0xCC008000@l(r24) +/* 800EB1F8 000E8158 D1 D8 80 00 */ stfs f14, 0xCC008000@l(r24) +/* 800EB1FC 000E815C D3 F8 80 00 */ stfs f31, 0xCC008000@l(r24) +/* 800EB200 000E8160 D2 B8 80 00 */ stfs f21, 0xCC008000@l(r24) +/* 800EB204 000E8164 D2 18 80 00 */ stfs f16, 0xCC008000@l(r24) +/* 800EB208 000E8168 D2 98 80 00 */ stfs f20, 0xCC008000@l(r24) +/* 800EB20C 000E816C D1 D8 80 00 */ stfs f14, 0xCC008000@l(r24) +/* 800EB210 000E8170 D3 F8 80 00 */ stfs f31, 0xCC008000@l(r24) +/* 800EB214 000E8174 D2 D8 80 00 */ stfs f22, 0xCC008000@l(r24) +/* 800EB218 000E8178 D2 18 80 00 */ stfs f16, 0xCC008000@l(r24) +/* 800EB21C 000E817C D2 78 80 00 */ stfs f19, 0xCC008000@l(r24) +/* 800EB220 000E8180 48 21 D3 61 */ bl End__3CGXFv +/* 800EB224 000E8184 EE 52 F0 2A */ fadds f18, f18, f30 +lbl_800EB228: +/* 800EB228 000E8188 FC 12 E0 40 */ fcmpo cr0, f18, f28 +/* 800EB22C 000E818C 41 80 FF 40 */ blt lbl_800EB16C +/* 800EB230 000E8190 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 800EB234 000E8194 C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 800EB238 000E8198 EC 21 00 2A */ fadds f1, f1, f0 +/* 800EB23C 000E819C D0 21 00 A8 */ stfs f1, 0xa8(r1) +lbl_800EB240: +/* 800EB240 000E81A0 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 800EB244 000E81A4 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 800EB248 000E81A8 41 80 FE A4 */ blt lbl_800EB0EC +/* 800EB24C 000E81AC 38 60 00 00 */ li r3, 0 +/* 800EB250 000E81B0 38 80 00 01 */ li r4, 1 +/* 800EB254 000E81B4 38 A0 00 04 */ li r5, 4 +/* 800EB258 000E81B8 38 C0 00 3C */ li r6, 0x3c +/* 800EB25C 000E81BC 38 E0 00 00 */ li r7, 0 +/* 800EB260 000E81C0 39 00 00 7D */ li r8, 0x7d +/* 800EB264 000E81C4 48 21 D4 69 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB268 000E81C8 38 60 00 01 */ li r3, 1 +/* 800EB26C 000E81CC 38 80 00 01 */ li r4, 1 +/* 800EB270 000E81D0 38 A0 00 05 */ li r5, 5 +/* 800EB274 000E81D4 38 C0 00 3C */ li r6, 0x3c +/* 800EB278 000E81D8 38 E0 00 00 */ li r7, 0 +/* 800EB27C 000E81DC 39 00 00 7D */ li r8, 0x7d +/* 800EB280 000E81E0 48 21 D4 4D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB284 000E81E4 38 60 00 02 */ li r3, 2 +/* 800EB288 000E81E8 38 80 00 01 */ li r4, 1 +/* 800EB28C 000E81EC 38 A0 00 06 */ li r5, 6 +/* 800EB290 000E81F0 38 C0 00 3C */ li r6, 0x3c +/* 800EB294 000E81F4 38 E0 00 00 */ li r7, 0 +/* 800EB298 000E81F8 39 00 00 7D */ li r8, 0x7d +/* 800EB29C 000E81FC 48 21 D4 31 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB2A0 000E8200 38 60 00 03 */ li r3, 3 +/* 800EB2A4 000E8204 38 80 00 01 */ li r4, 1 +/* 800EB2A8 000E8208 38 A0 00 07 */ li r5, 7 +/* 800EB2AC 000E820C 38 C0 00 3C */ li r6, 0x3c +/* 800EB2B0 000E8210 38 E0 00 00 */ li r7, 0 +/* 800EB2B4 000E8214 39 00 00 7D */ li r8, 0x7d +/* 800EB2B8 000E8218 48 21 D4 15 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB2BC 000E821C 38 60 00 04 */ li r3, 4 +/* 800EB2C0 000E8220 38 80 00 01 */ li r4, 1 +/* 800EB2C4 000E8224 38 A0 00 08 */ li r5, 8 +/* 800EB2C8 000E8228 38 C0 00 3C */ li r6, 0x3c +/* 800EB2CC 000E822C 38 E0 00 00 */ li r7, 0 +/* 800EB2D0 000E8230 39 00 00 7D */ li r8, 0x7d +/* 800EB2D4 000E8234 48 21 D3 F9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB2D8 000E8238 38 60 00 05 */ li r3, 5 +/* 800EB2DC 000E823C 38 80 00 01 */ li r4, 1 +/* 800EB2E0 000E8240 38 A0 00 09 */ li r5, 9 +/* 800EB2E4 000E8244 38 C0 00 3C */ li r6, 0x3c +/* 800EB2E8 000E8248 38 E0 00 00 */ li r7, 0 +/* 800EB2EC 000E824C 39 00 00 7D */ li r8, 0x7d +/* 800EB2F0 000E8250 48 21 D3 DD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB2F4 000E8254 38 60 00 06 */ li r3, 6 +/* 800EB2F8 000E8258 38 80 00 01 */ li r4, 1 +/* 800EB2FC 000E825C 38 A0 00 0A */ li r5, 0xa +/* 800EB300 000E8260 38 C0 00 3C */ li r6, 0x3c +/* 800EB304 000E8264 38 E0 00 00 */ li r7, 0 +/* 800EB308 000E8268 39 00 00 7D */ li r8, 0x7d +/* 800EB30C 000E826C 48 21 D3 C1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB310 000E8270 38 60 00 07 */ li r3, 7 +/* 800EB314 000E8274 38 80 00 01 */ li r4, 1 +/* 800EB318 000E8278 38 A0 00 0B */ li r5, 0xb +/* 800EB31C 000E827C 38 C0 00 3C */ li r6, 0x3c +/* 800EB320 000E8280 38 E0 00 00 */ li r7, 0 +/* 800EB324 000E8284 39 00 00 7D */ li r8, 0x7d +/* 800EB328 000E8288 48 21 D3 A5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB32C 000E828C 48 00 05 74 */ b lbl_800EB8A0 +lbl_800EB330: +/* 800EB330 000E8290 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EB334 000E8294 81 83 00 00 */ lwz r12, 0(r3) +/* 800EB338 000E8298 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800EB33C 000E829C 7D 89 03 A6 */ mtctr r12 +/* 800EB340 000E82A0 4E 80 04 21 */ bctrl +/* 800EB344 000E82A4 81 1F 00 B0 */ lwz r8, 0xb0(r31) +/* 800EB348 000E82A8 38 61 00 34 */ addi r3, r1, 0x34 +/* 800EB34C 000E82AC 80 FF 00 B4 */ lwz r7, 0xb4(r31) +/* 800EB350 000E82B0 80 DF 00 B8 */ lwz r6, 0xb8(r31) +/* 800EB354 000E82B4 80 BF 00 BC */ lwz r5, 0xbc(r31) +/* 800EB358 000E82B8 80 9F 00 C0 */ lwz r4, 0xc0(r31) +/* 800EB35C 000E82BC 80 1F 00 C4 */ lwz r0, 0xc4(r31) +/* 800EB360 000E82C0 91 01 00 34 */ stw r8, 0x34(r1) +/* 800EB364 000E82C4 90 E1 00 38 */ stw r7, 0x38(r1) +/* 800EB368 000E82C8 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 800EB36C 000E82CC 90 A1 00 40 */ stw r5, 0x40(r1) +/* 800EB370 000E82D0 90 81 00 44 */ stw r4, 0x44(r1) +/* 800EB374 000E82D4 90 01 00 48 */ stw r0, 0x48(r1) +/* 800EB378 000E82D8 48 21 CA B1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList +/* 800EB37C 000E82DC 38 60 00 00 */ li r3, 0 +/* 800EB380 000E82E0 48 21 DA D1 */ bl SetNumChans__3CGXFUc +/* 800EB384 000E82E4 38 60 00 07 */ li r3, 7 +/* 800EB388 000E82E8 48 21 DA 8D */ bl SetNumTexGens__3CGXFUc +/* 800EB38C 000E82EC 38 60 00 07 */ li r3, 7 +/* 800EB390 000E82F0 48 21 D9 01 */ bl SetNumTevStages__3CGXFUc +/* 800EB394 000E82F4 3B 20 00 00 */ li r25, 0 +lbl_800EB398: +/* 800EB398 000E82F8 7F 23 CB 78 */ mr r3, r25 +/* 800EB39C 000E82FC 38 80 00 0F */ li r4, 0xf +/* 800EB3A0 000E8300 38 A0 00 08 */ li r5, 8 +/* 800EB3A4 000E8304 38 C0 00 0E */ li r6, 0xe +/* 800EB3A8 000E8308 38 E0 00 00 */ li r7, 0 +/* 800EB3AC 000E830C 48 21 D8 41 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 800EB3B0 000E8310 7F 23 CB 78 */ mr r3, r25 +/* 800EB3B4 000E8314 38 80 00 07 */ li r4, 7 +/* 800EB3B8 000E8318 38 A0 00 07 */ li r5, 7 +/* 800EB3BC 000E831C 38 C0 00 07 */ li r6, 7 +/* 800EB3C0 000E8320 38 E0 00 00 */ li r7, 0 +/* 800EB3C4 000E8324 48 21 D7 D1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 800EB3C8 000E8328 7F 23 CB 78 */ mr r3, r25 +/* 800EB3CC 000E832C 48 21 C8 85 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID +/* 800EB3D0 000E8330 7F 23 CB 78 */ mr r3, r25 +/* 800EB3D4 000E8334 38 80 00 0C */ li r4, 0xc +/* 800EB3D8 000E8338 48 21 D6 09 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel +/* 800EB3DC 000E833C 3B 39 00 01 */ addi r25, r25, 1 +/* 800EB3E0 000E8340 2C 19 00 07 */ cmpwi r25, 7 +/* 800EB3E4 000E8344 41 80 FF B4 */ blt lbl_800EB398 +/* 800EB3E8 000E8348 38 60 00 00 */ li r3, 0 +/* 800EB3EC 000E834C 38 80 00 0F */ li r4, 0xf +/* 800EB3F0 000E8350 38 A0 00 08 */ li r5, 8 +/* 800EB3F4 000E8354 38 C0 00 0E */ li r6, 0xe +/* 800EB3F8 000E8358 38 E0 00 0F */ li r7, 0xf +/* 800EB3FC 000E835C 48 21 D7 F1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg +/* 800EB400 000E8360 38 60 00 00 */ li r3, 0 +/* 800EB404 000E8364 38 80 00 07 */ li r4, 7 +/* 800EB408 000E8368 38 A0 00 07 */ li r5, 7 +/* 800EB40C 000E836C 38 C0 00 07 */ li r6, 7 +/* 800EB410 000E8370 38 E0 00 06 */ li r7, 6 +/* 800EB414 000E8374 48 21 D7 81 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg +/* 800EB418 000E8378 38 60 00 00 */ li r3, 0 +/* 800EB41C 000E837C 38 80 00 1C */ li r4, 0x1c +/* 800EB420 000E8380 48 21 D5 7D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel +/* 800EB424 000E8384 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EB428 000E8388 38 60 00 00 */ li r3, 0 +/* 800EB42C 000E838C 38 80 00 00 */ li r4, 0 +/* 800EB430 000E8390 38 C0 00 FF */ li r6, 0xff +/* 800EB434 000E8394 48 21 D5 19 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EB438 000E8398 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EB43C 000E839C 38 60 00 01 */ li r3, 1 +/* 800EB440 000E83A0 38 80 00 01 */ li r4, 1 +/* 800EB444 000E83A4 38 C0 00 FF */ li r6, 0xff +/* 800EB448 000E83A8 48 21 D5 05 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EB44C 000E83AC 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EB450 000E83B0 38 60 00 02 */ li r3, 2 +/* 800EB454 000E83B4 38 80 00 02 */ li r4, 2 +/* 800EB458 000E83B8 38 C0 00 FF */ li r6, 0xff +/* 800EB45C 000E83BC 48 21 D4 F1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EB460 000E83C0 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EB464 000E83C4 38 60 00 03 */ li r3, 3 +/* 800EB468 000E83C8 38 80 00 03 */ li r4, 3 +/* 800EB46C 000E83CC 38 C0 00 FF */ li r6, 0xff +/* 800EB470 000E83D0 48 21 D4 DD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EB474 000E83D4 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EB478 000E83D8 38 60 00 04 */ li r3, 4 +/* 800EB47C 000E83DC 38 80 00 04 */ li r4, 4 +/* 800EB480 000E83E0 38 C0 00 FF */ li r6, 0xff +/* 800EB484 000E83E4 48 21 D4 C9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EB488 000E83E8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EB48C 000E83EC 38 60 00 05 */ li r3, 5 +/* 800EB490 000E83F0 38 80 00 05 */ li r4, 5 +/* 800EB494 000E83F4 38 C0 00 FF */ li r6, 0xff +/* 800EB498 000E83F8 48 21 D4 B5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EB49C 000E83FC 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EB4A0 000E8400 38 60 00 06 */ li r3, 6 +/* 800EB4A4 000E8404 38 80 00 06 */ li r4, 6 +/* 800EB4A8 000E8408 38 C0 00 FF */ li r6, 0xff +/* 800EB4AC 000E840C 48 21 D4 A1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EB4B0 000E8410 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) +/* 800EB4B4 000E8414 38 60 00 07 */ li r3, 7 +/* 800EB4B8 000E8418 38 80 00 07 */ li r4, 7 +/* 800EB4BC 000E841C 38 C0 00 FF */ li r6, 0xff +/* 800EB4C0 000E8420 48 21 D4 8D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID +/* 800EB4C4 000E8424 88 18 00 2C */ lbz r0, 0x2c(r24) +/* 800EB4C8 000E8428 28 00 00 00 */ cmplwi r0, 0 +/* 800EB4CC 000E842C 41 82 00 0C */ beq lbl_800EB4D8 +/* 800EB4D0 000E8430 C0 82 90 DC */ lfs f4, lbl_805AADFC@sda21(r2) +/* 800EB4D4 000E8434 48 00 00 30 */ b lbl_800EB504 +lbl_800EB4D8: +/* 800EB4D8 000E8438 C0 42 90 E4 */ lfs f2, lbl_805AAE04@sda21(r2) +/* 800EB4DC 000E843C C0 38 00 1C */ lfs f1, 0x1c(r24) +/* 800EB4E0 000E8440 C0 0D 88 20 */ lfs f0, lbl_805A73E0@sda21(r13) +/* 800EB4E4 000E8444 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800EB4E8 000E8448 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EB4EC 000E844C D0 21 00 08 */ stfs f1, 8(r1) +/* 800EB4F0 000E8450 40 80 00 0C */ bge lbl_800EB4FC +/* 800EB4F4 000E8454 38 61 00 08 */ addi r3, r1, 8 +/* 800EB4F8 000E8458 48 00 00 08 */ b lbl_800EB500 +lbl_800EB4FC: +/* 800EB4FC 000E845C 38 6D 88 20 */ addi r3, r13, lbl_805A73E0@sda21 +lbl_800EB500: +/* 800EB500 000E8460 C0 83 00 00 */ lfs f4, 0(r3) +lbl_800EB504: +/* 800EB504 000E8464 C0 22 91 00 */ lfs f1, lbl_805AAE20@sda21(r2) +/* 800EB508 000E8468 38 61 00 0C */ addi r3, r1, 0xc +/* 800EB50C 000E846C FC 40 08 90 */ fmr f2, f1 +/* 800EB510 000E8470 FC 60 08 90 */ fmr f3, f1 +/* 800EB514 000E8474 48 27 7E D9 */ bl __ct__6CColorFffff +/* 800EB518 000E8478 38 81 00 0C */ addi r4, r1, 0xc +/* 800EB51C 000E847C 38 60 00 00 */ li r3, 0 +/* 800EB520 000E8480 48 21 D7 25 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 800EB524 000E8484 3B 20 00 00 */ li r25, 0 +/* 800EB528 000E8488 3B A0 00 1E */ li r29, 0x1e +lbl_800EB52C: +/* 800EB52C 000E848C 2C 19 00 00 */ cmpwi r25, 0 +/* 800EB530 000E8490 40 82 00 0C */ bne lbl_800EB53C +/* 800EB534 000E8494 C8 02 91 08 */ lfd f0, lbl_805AAE28@sda21(r2) +/* 800EB538 000E8498 48 00 00 48 */ b lbl_800EB580 +lbl_800EB53C: +/* 800EB53C 000E849C 38 79 FF FF */ addi r3, r25, -1 +/* 800EB540 000E84A0 3C 00 43 30 */ lis r0, 0x4330 +/* 800EB544 000E84A4 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 800EB548 000E84A8 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 800EB54C 000E84AC C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) +/* 800EB550 000E84B0 90 61 00 A4 */ stw r3, 0xa4(r1) +/* 800EB554 000E84B4 C0 62 91 14 */ lfs f3, lbl_805AAE34@sda21(r2) +/* 800EB558 000E84B8 C8 21 00 A0 */ lfd f1, 0xa0(r1) +/* 800EB55C 000E84BC C0 02 91 18 */ lfs f0, lbl_805AAE38@sda21(r2) +/* 800EB560 000E84C0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800EB564 000E84C4 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800EB568 000E84C8 EC 21 00 24 */ fdivs f1, f1, f0 +/* 800EB56C 000E84CC 48 2A 8E 85 */ bl cos +/* 800EB570 000E84D0 C0 58 00 1C */ lfs f2, 0x1c(r24) +/* 800EB574 000E84D4 C0 02 91 10 */ lfs f0, lbl_805AAE30@sda21(r2) +/* 800EB578 000E84D8 EC 02 00 24 */ fdivs f0, f2, f0 +/* 800EB57C 000E84DC FC 00 00 72 */ fmul f0, f0, f1 +lbl_800EB580: +/* 800EB580 000E84E0 2C 19 00 00 */ cmpwi r25, 0 +/* 800EB584 000E84E4 FD C0 00 18 */ frsp f14, f0 +/* 800EB588 000E84E8 40 82 00 0C */ bne lbl_800EB594 +/* 800EB58C 000E84EC C8 02 91 08 */ lfd f0, lbl_805AAE28@sda21(r2) +/* 800EB590 000E84F0 48 00 00 48 */ b lbl_800EB5D8 +lbl_800EB594: +/* 800EB594 000E84F4 38 79 FF FF */ addi r3, r25, -1 +/* 800EB598 000E84F8 3C 00 43 30 */ lis r0, 0x4330 +/* 800EB59C 000E84FC 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 800EB5A0 000E8500 90 01 00 98 */ stw r0, 0x98(r1) +/* 800EB5A4 000E8504 C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) +/* 800EB5A8 000E8508 90 61 00 9C */ stw r3, 0x9c(r1) +/* 800EB5AC 000E850C C0 62 91 14 */ lfs f3, lbl_805AAE34@sda21(r2) +/* 800EB5B0 000E8510 C8 21 00 98 */ lfd f1, 0x98(r1) +/* 800EB5B4 000E8514 C0 02 91 18 */ lfs f0, lbl_805AAE38@sda21(r2) +/* 800EB5B8 000E8518 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800EB5BC 000E851C EC 23 00 72 */ fmuls f1, f3, f1 +/* 800EB5C0 000E8520 EC 21 00 24 */ fdivs f1, f1, f0 +/* 800EB5C4 000E8524 48 2A 95 19 */ bl sin +/* 800EB5C8 000E8528 C0 58 00 1C */ lfs f2, 0x1c(r24) +/* 800EB5CC 000E852C C0 02 91 1C */ lfs f0, lbl_805AAE3C@sda21(r2) +/* 800EB5D0 000E8530 EC 02 00 24 */ fdivs f0, f2, f0 +/* 800EB5D4 000E8534 FC 00 00 72 */ fmul f0, f0, f1 +lbl_800EB5D8: +/* 800EB5D8 000E8538 80 7F 00 D4 */ lwz r3, 0xd4(r31) +/* 800EB5DC 000E853C FC 00 00 18 */ frsp f0, f0 +/* 800EB5E0 000E8540 80 1F 00 E4 */ lwz r0, 0xe4(r31) +/* 800EB5E4 000E8544 7F A4 EB 78 */ mr r4, r29 +/* 800EB5E8 000E8548 90 61 00 20 */ stw r3, 0x20(r1) +/* 800EB5EC 000E854C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800EB5F0 000E8550 81 5F 00 C8 */ lwz r10, 0xc8(r31) +/* 800EB5F4 000E8554 90 01 00 30 */ stw r0, 0x30(r1) +/* 800EB5F8 000E8558 38 A0 00 01 */ li r5, 1 +/* 800EB5FC 000E855C 81 3F 00 CC */ lwz r9, 0xcc(r31) +/* 800EB600 000E8560 81 1F 00 D0 */ lwz r8, 0xd0(r31) +/* 800EB604 000E8564 80 FF 00 D8 */ lwz r7, 0xd8(r31) +/* 800EB608 000E8568 80 DF 00 DC */ lwz r6, 0xdc(r31) +/* 800EB60C 000E856C 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 800EB610 000E8570 91 41 00 14 */ stw r10, 0x14(r1) +/* 800EB614 000E8574 91 21 00 18 */ stw r9, 0x18(r1) +/* 800EB618 000E8578 91 01 00 1C */ stw r8, 0x1c(r1) +/* 800EB61C 000E857C 90 E1 00 24 */ stw r7, 0x24(r1) +/* 800EB620 000E8580 90 C1 00 28 */ stw r6, 0x28(r1) +/* 800EB624 000E8584 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800EB628 000E8588 D1 C1 00 20 */ stfs f14, 0x20(r1) +/* 800EB62C 000E858C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800EB630 000E8590 48 29 0E 61 */ bl GXLoadTexMtxImm +/* 800EB634 000E8594 3B 39 00 01 */ addi r25, r25, 1 +/* 800EB638 000E8598 3B BD 00 03 */ addi r29, r29, 3 +/* 800EB63C 000E859C 2C 19 00 07 */ cmpwi r25, 7 +/* 800EB640 000E85A0 41 80 FE EC */ blt lbl_800EB52C +/* 800EB644 000E85A4 38 60 00 00 */ li r3, 0 +/* 800EB648 000E85A8 38 80 00 01 */ li r4, 1 +/* 800EB64C 000E85AC 38 A0 00 04 */ li r5, 4 +/* 800EB650 000E85B0 38 C0 00 1E */ li r6, 0x1e +/* 800EB654 000E85B4 38 E0 00 00 */ li r7, 0 +/* 800EB658 000E85B8 39 00 00 7D */ li r8, 0x7d +/* 800EB65C 000E85BC 48 21 D0 71 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB660 000E85C0 38 60 00 01 */ li r3, 1 +/* 800EB664 000E85C4 38 80 00 01 */ li r4, 1 +/* 800EB668 000E85C8 38 A0 00 04 */ li r5, 4 +/* 800EB66C 000E85CC 38 C0 00 21 */ li r6, 0x21 +/* 800EB670 000E85D0 38 E0 00 00 */ li r7, 0 +/* 800EB674 000E85D4 39 00 00 7D */ li r8, 0x7d +/* 800EB678 000E85D8 48 21 D0 55 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB67C 000E85DC 38 60 00 02 */ li r3, 2 +/* 800EB680 000E85E0 38 80 00 01 */ li r4, 1 +/* 800EB684 000E85E4 38 A0 00 04 */ li r5, 4 +/* 800EB688 000E85E8 38 C0 00 24 */ li r6, 0x24 +/* 800EB68C 000E85EC 38 E0 00 00 */ li r7, 0 +/* 800EB690 000E85F0 39 00 00 7D */ li r8, 0x7d +/* 800EB694 000E85F4 48 21 D0 39 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB698 000E85F8 38 60 00 03 */ li r3, 3 +/* 800EB69C 000E85FC 38 80 00 01 */ li r4, 1 +/* 800EB6A0 000E8600 38 A0 00 04 */ li r5, 4 +/* 800EB6A4 000E8604 38 C0 00 27 */ li r6, 0x27 +/* 800EB6A8 000E8608 38 E0 00 00 */ li r7, 0 +/* 800EB6AC 000E860C 39 00 00 7D */ li r8, 0x7d +/* 800EB6B0 000E8610 48 21 D0 1D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB6B4 000E8614 38 60 00 04 */ li r3, 4 +/* 800EB6B8 000E8618 38 80 00 01 */ li r4, 1 +/* 800EB6BC 000E861C 38 A0 00 04 */ li r5, 4 +/* 800EB6C0 000E8620 38 C0 00 2A */ li r6, 0x2a +/* 800EB6C4 000E8624 38 E0 00 00 */ li r7, 0 +/* 800EB6C8 000E8628 39 00 00 7D */ li r8, 0x7d +/* 800EB6CC 000E862C 48 21 D0 01 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB6D0 000E8630 38 60 00 05 */ li r3, 5 +/* 800EB6D4 000E8634 38 80 00 01 */ li r4, 1 +/* 800EB6D8 000E8638 38 A0 00 04 */ li r5, 4 +/* 800EB6DC 000E863C 38 C0 00 2D */ li r6, 0x2d +/* 800EB6E0 000E8640 38 E0 00 00 */ li r7, 0 +/* 800EB6E4 000E8644 39 00 00 7D */ li r8, 0x7d +/* 800EB6E8 000E8648 48 21 CF E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB6EC 000E864C 38 60 00 06 */ li r3, 6 +/* 800EB6F0 000E8650 38 80 00 01 */ li r4, 1 +/* 800EB6F4 000E8654 38 A0 00 04 */ li r5, 4 +/* 800EB6F8 000E8658 38 C0 00 30 */ li r6, 0x30 +/* 800EB6FC 000E865C 38 E0 00 00 */ li r7, 0 +/* 800EB700 000E8660 39 00 00 7D */ li r8, 0x7d +/* 800EB704 000E8664 48 21 CF C9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB708 000E8668 38 60 00 07 */ li r3, 7 +/* 800EB70C 000E866C 38 80 00 01 */ li r4, 1 +/* 800EB710 000E8670 38 A0 00 04 */ li r5, 4 +/* 800EB714 000E8674 38 C0 00 33 */ li r6, 0x33 +/* 800EB718 000E8678 38 E0 00 00 */ li r7, 0 +/* 800EB71C 000E867C 39 00 00 7D */ li r8, 0x7d +/* 800EB720 000E8680 48 21 CF AD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB724 000E8684 7F 85 E3 78 */ mr r5, r28 +/* 800EB728 000E8688 7F C6 F3 78 */ mr r6, r30 +/* 800EB72C 000E868C 57 63 04 3E */ clrlwi r3, r27, 0x10 +/* 800EB730 000E8690 57 44 04 3E */ clrlwi r4, r26, 0x10 +/* 800EB734 000E8694 38 E0 00 00 */ li r7, 0 +/* 800EB738 000E8698 48 21 E8 E9 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 800EB73C 000E869C 38 60 00 98 */ li r3, 0x98 +/* 800EB740 000E86A0 38 80 00 00 */ li r4, 0 +/* 800EB744 000E86A4 38 A0 00 04 */ li r5, 4 +/* 800EB748 000E86A8 48 21 CE 3D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 800EB74C 000E86AC C0 62 90 DC */ lfs f3, lbl_805AADFC@sda21(r2) +/* 800EB750 000E86B0 3C 60 CC 01 */ lis r3, 0xCC008000@ha +/* 800EB754 000E86B4 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 800EB758 000E86B8 EC 57 18 28 */ fsubs f2, f23, f3 +/* 800EB75C 000E86BC C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800EB760 000E86C0 EC 83 D0 2A */ fadds f4, f3, f26 +/* 800EB764 000E86C4 EC 00 18 28 */ fsubs f0, f0, f3 +/* 800EB768 000E86C8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 800EB76C 000E86CC EC A3 C8 2A */ fadds f5, f3, f25 +/* 800EB770 000E86D0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 800EB774 000E86D4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 800EB778 000E86D8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 800EB77C 000E86DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 800EB780 000E86E0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) +/* 800EB784 000E86E4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 800EB788 000E86E8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 800EB78C 000E86EC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 800EB790 000E86F0 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 800EB794 000E86F4 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 800EB798 000E86F8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 800EB79C 000E86FC D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) +/* 800EB7A0 000E8700 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 800EB7A4 000E8704 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 800EB7A8 000E8708 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) +/* 800EB7AC 000E870C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) +/* 800EB7B0 000E8710 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) +/* 800EB7B4 000E8714 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 800EB7B8 000E8718 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) +/* 800EB7BC 000E871C 48 21 CD C5 */ bl End__3CGXFv +/* 800EB7C0 000E8720 38 60 00 00 */ li r3, 0 +/* 800EB7C4 000E8724 38 80 00 01 */ li r4, 1 +/* 800EB7C8 000E8728 38 A0 00 04 */ li r5, 4 +/* 800EB7CC 000E872C 38 C0 00 3C */ li r6, 0x3c +/* 800EB7D0 000E8730 38 E0 00 00 */ li r7, 0 +/* 800EB7D4 000E8734 39 00 00 7D */ li r8, 0x7d +/* 800EB7D8 000E8738 48 21 CE F5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB7DC 000E873C 38 60 00 01 */ li r3, 1 +/* 800EB7E0 000E8740 38 80 00 01 */ li r4, 1 +/* 800EB7E4 000E8744 38 A0 00 05 */ li r5, 5 +/* 800EB7E8 000E8748 38 C0 00 3C */ li r6, 0x3c +/* 800EB7EC 000E874C 38 E0 00 00 */ li r7, 0 +/* 800EB7F0 000E8750 39 00 00 7D */ li r8, 0x7d +/* 800EB7F4 000E8754 48 21 CE D9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB7F8 000E8758 38 60 00 02 */ li r3, 2 +/* 800EB7FC 000E875C 38 80 00 01 */ li r4, 1 +/* 800EB800 000E8760 38 A0 00 06 */ li r5, 6 +/* 800EB804 000E8764 38 C0 00 3C */ li r6, 0x3c +/* 800EB808 000E8768 38 E0 00 00 */ li r7, 0 +/* 800EB80C 000E876C 39 00 00 7D */ li r8, 0x7d +/* 800EB810 000E8770 48 21 CE BD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB814 000E8774 38 60 00 03 */ li r3, 3 +/* 800EB818 000E8778 38 80 00 01 */ li r4, 1 +/* 800EB81C 000E877C 38 A0 00 07 */ li r5, 7 +/* 800EB820 000E8780 38 C0 00 3C */ li r6, 0x3c +/* 800EB824 000E8784 38 E0 00 00 */ li r7, 0 +/* 800EB828 000E8788 39 00 00 7D */ li r8, 0x7d +/* 800EB82C 000E878C 48 21 CE A1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB830 000E8790 38 60 00 04 */ li r3, 4 +/* 800EB834 000E8794 38 80 00 01 */ li r4, 1 +/* 800EB838 000E8798 38 A0 00 08 */ li r5, 8 +/* 800EB83C 000E879C 38 C0 00 3C */ li r6, 0x3c +/* 800EB840 000E87A0 38 E0 00 00 */ li r7, 0 +/* 800EB844 000E87A4 39 00 00 7D */ li r8, 0x7d +/* 800EB848 000E87A8 48 21 CE 85 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB84C 000E87AC 38 60 00 05 */ li r3, 5 +/* 800EB850 000E87B0 38 80 00 01 */ li r4, 1 +/* 800EB854 000E87B4 38 A0 00 09 */ li r5, 9 +/* 800EB858 000E87B8 38 C0 00 3C */ li r6, 0x3c +/* 800EB85C 000E87BC 38 E0 00 00 */ li r7, 0 +/* 800EB860 000E87C0 39 00 00 7D */ li r8, 0x7d +/* 800EB864 000E87C4 48 21 CE 69 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB868 000E87C8 38 60 00 06 */ li r3, 6 +/* 800EB86C 000E87CC 38 80 00 01 */ li r4, 1 +/* 800EB870 000E87D0 38 A0 00 0A */ li r5, 0xa +/* 800EB874 000E87D4 38 C0 00 3C */ li r6, 0x3c +/* 800EB878 000E87D8 38 E0 00 00 */ li r7, 0 +/* 800EB87C 000E87DC 39 00 00 7D */ li r8, 0x7d +/* 800EB880 000E87E0 48 21 CE 4D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +/* 800EB884 000E87E4 38 60 00 07 */ li r3, 7 +/* 800EB888 000E87E8 38 80 00 01 */ li r4, 1 +/* 800EB88C 000E87EC 38 A0 00 0B */ li r5, 0xb +/* 800EB890 000E87F0 38 C0 00 3C */ li r6, 0x3c +/* 800EB894 000E87F4 38 E0 00 00 */ li r7, 0 +/* 800EB898 000E87F8 39 00 00 7D */ li r8, 0x7d +/* 800EB89C 000E87FC 48 21 CE 31 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx +lbl_800EB8A0: +/* 800EB8A0 000E8800 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EB8A4 000E8804 81 83 00 00 */ lwz r12, 0(r3) +/* 800EB8A8 000E8808 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800EB8AC 000E880C 7D 89 03 A6 */ mtctr r12 +/* 800EB8B0 000E8810 4E 80 04 21 */ bctrl +/* 800EB8B4 000E8814 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EB8B8 000E8818 38 80 00 01 */ li r4, 1 +/* 800EB8BC 000E881C 38 A0 00 01 */ li r5, 1 +/* 800EB8C0 000E8820 81 83 00 00 */ lwz r12, 0(r3) +/* 800EB8C4 000E8824 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800EB8C8 000E8828 7D 89 03 A6 */ mtctr r12 +/* 800EB8CC 000E882C 4E 80 04 21 */ bctrl +lbl_800EB8D0: +/* 800EB8D0 000E8830 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 800EB8D4 000E8834 CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 800EB8D8 000E8838 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 800EB8DC 000E883C CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 800EB8E0 000E8840 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 +/* 800EB8E4 000E8844 CB A1 01 D0 */ lfd f29, 0x1d0(r1) +/* 800EB8E8 000E8848 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 +/* 800EB8EC 000E884C CB 81 01 C0 */ lfd f28, 0x1c0(r1) +/* 800EB8F0 000E8850 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 +/* 800EB8F4 000E8854 CB 61 01 B0 */ lfd f27, 0x1b0(r1) +/* 800EB8F8 000E8858 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 +/* 800EB8FC 000E885C CB 41 01 A0 */ lfd f26, 0x1a0(r1) +/* 800EB900 000E8860 E3 21 01 98 */ psq_l f25, 408(r1), 0, qr0 +/* 800EB904 000E8864 CB 21 01 90 */ lfd f25, 0x190(r1) +/* 800EB908 000E8868 E3 01 01 88 */ psq_l f24, 392(r1), 0, qr0 +/* 800EB90C 000E886C CB 01 01 80 */ lfd f24, 0x180(r1) +/* 800EB910 000E8870 E2 E1 01 78 */ psq_l f23, 376(r1), 0, qr0 +/* 800EB914 000E8874 CA E1 01 70 */ lfd f23, 0x170(r1) +/* 800EB918 000E8878 E2 C1 01 68 */ psq_l f22, 360(r1), 0, qr0 +/* 800EB91C 000E887C CA C1 01 60 */ lfd f22, 0x160(r1) +/* 800EB920 000E8880 E2 A1 01 58 */ psq_l f21, 344(r1), 0, qr0 +/* 800EB924 000E8884 CA A1 01 50 */ lfd f21, 0x150(r1) +/* 800EB928 000E8888 E2 81 01 48 */ psq_l f20, 328(r1), 0, qr0 +/* 800EB92C 000E888C CA 81 01 40 */ lfd f20, 0x140(r1) +/* 800EB930 000E8890 E2 61 01 38 */ psq_l f19, 312(r1), 0, qr0 +/* 800EB934 000E8894 CA 61 01 30 */ lfd f19, 0x130(r1) +/* 800EB938 000E8898 E2 41 01 28 */ psq_l f18, 296(r1), 0, qr0 +/* 800EB93C 000E889C CA 41 01 20 */ lfd f18, 0x120(r1) +/* 800EB940 000E88A0 E2 21 01 18 */ psq_l f17, 280(r1), 0, qr0 +/* 800EB944 000E88A4 CA 21 01 10 */ lfd f17, 0x110(r1) +/* 800EB948 000E88A8 E2 01 01 08 */ psq_l f16, 264(r1), 0, qr0 +/* 800EB94C 000E88AC CA 01 01 00 */ lfd f16, 0x100(r1) +/* 800EB950 000E88B0 E1 E1 00 F8 */ psq_l f15, 248(r1), 0, qr0 +/* 800EB954 000E88B4 C9 E1 00 F0 */ lfd f15, 0xf0(r1) +/* 800EB958 000E88B8 E1 C1 00 E8 */ psq_l f14, 232(r1), 0, qr0 +/* 800EB95C 000E88BC C9 C1 00 E0 */ lfd f14, 0xe0(r1) +/* 800EB960 000E88C0 BB 01 00 C0 */ lmw r24, 0xc0(r1) +/* 800EB964 000E88C4 80 01 02 04 */ lwz r0, 0x204(r1) +/* 800EB968 000E88C8 7C 08 03 A6 */ mtlr r0 +/* 800EB96C 000E88CC 38 21 02 00 */ addi r1, r1, 0x200 +/* 800EB970 000E88D0 4E 80 00 20 */ blr + +.global DisableBlur__15CCameraBlurPassFf +DisableBlur__15CCameraBlurPassFf: +/* 800EB974 000E88D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EB978 000E88D8 7C 08 02 A6 */ mflr r0 +/* 800EB97C 000E88DC FC 40 08 90 */ fmr f2, f1 +/* 800EB980 000E88E0 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800EB984 000E88E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EB988 000E88E8 38 80 00 00 */ li r4, 0 +/* 800EB98C 000E88EC 88 A3 00 2C */ lbz r5, 0x2c(r3) +/* 800EB990 000E88F0 48 00 00 15 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb +/* 800EB994 000E88F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EB998 000E88F8 7C 08 03 A6 */ mtlr r0 +/* 800EB99C 000E88FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EB9A0 000E8900 4E 80 00 20 */ blr + +.global SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb +SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb: +/* 800EB9A4 000E8904 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800EB9A8 000E8908 7C 08 02 A6 */ mflr r0 +/* 800EB9AC 000E890C C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EB9B0 000E8910 90 01 00 74 */ stw r0, 0x74(r1) +/* 800EB9B4 000E8914 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 800EB9B8 000E8918 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800EB9BC 000E891C 7C BF 2B 78 */ mr r31, r5 +/* 800EB9C0 000E8920 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800EB9C4 000E8924 7C 9E 23 78 */ mr r30, r4 +/* 800EB9C8 000E8928 93 A1 00 64 */ stw r29, 0x64(r1) +/* 800EB9CC 000E892C 7C 7D 1B 78 */ mr r29, r3 +/* 800EB9D0 000E8930 93 81 00 60 */ stw r28, 0x60(r1) +/* 800EB9D4 000E8934 40 82 02 B0 */ bne lbl_800EBC84 +/* 800EB9D8 000E8938 D0 1D 00 28 */ stfs f0, 0x28(r29) +/* 800EB9DC 000E893C D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 800EB9E0 000E8940 D0 3D 00 20 */ stfs f1, 0x20(r29) +/* 800EB9E4 000E8944 D0 3D 00 1C */ stfs f1, 0x1c(r29) +/* 800EB9E8 000E8948 D0 3D 00 18 */ stfs f1, 0x18(r29) +/* 800EB9EC 000E894C 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 800EB9F0 000E8950 2C 00 00 00 */ cmpwi r0, 0 +/* 800EB9F4 000E8954 40 82 01 B0 */ bne lbl_800EBBA4 +/* 800EB9F8 000E8958 2C 1E 00 00 */ cmpwi r30, 0 +/* 800EB9FC 000E895C 41 82 02 78 */ beq lbl_800EBC74 +/* 800EBA00 000E8960 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800EBA04 000E8964 41 82 00 08 */ beq lbl_800EBA0C +/* 800EBA08 000E8968 4B FF EF 4D */ bl AllocatePersistentFbTexture__15CCameraBlurPassFv +lbl_800EBA0C: +/* 800EBA0C 000E896C 38 81 00 50 */ addi r4, r1, 0x50 +/* 800EBA10 000E8970 38 00 00 00 */ li r0, 0 +/* 800EBA14 000E8974 7C 1D 20 40 */ cmplw r29, r4 +/* 800EBA18 000E8978 98 01 00 5C */ stb r0, 0x5c(r1) +/* 800EBA1C 000E897C 41 82 00 7C */ beq lbl_800EBA98 +/* 800EBA20 000E8980 28 00 00 00 */ cmplwi r0, 0 +/* 800EBA24 000E8984 41 82 00 48 */ beq lbl_800EBA6C +/* 800EBA28 000E8988 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 800EBA2C 000E898C 28 00 00 00 */ cmplwi r0, 0 +/* 800EBA30 000E8990 40 82 00 28 */ bne lbl_800EBA58 +/* 800EBA34 000E8994 28 1D 00 00 */ cmplwi r29, 0 +/* 800EBA38 000E8998 41 82 00 14 */ beq lbl_800EBA4C +/* 800EBA3C 000E899C 7F A3 EB 78 */ mr r3, r29 +/* 800EBA40 000E89A0 48 25 54 69 */ bl __ct__6CTokenFRC6CToken +/* 800EBA44 000E89A4 80 01 00 58 */ lwz r0, 0x58(r1) +/* 800EBA48 000E89A8 90 1D 00 08 */ stw r0, 8(r29) +lbl_800EBA4C: +/* 800EBA4C 000E89AC 38 00 00 01 */ li r0, 1 +/* 800EBA50 000E89B0 98 1D 00 0C */ stb r0, 0xc(r29) +/* 800EBA54 000E89B4 48 00 00 44 */ b lbl_800EBA98 +lbl_800EBA58: +/* 800EBA58 000E89B8 7F A3 EB 78 */ mr r3, r29 +/* 800EBA5C 000E89BC 48 25 52 69 */ bl __as__6CTokenFRC6CToken +/* 800EBA60 000E89C0 80 01 00 58 */ lwz r0, 0x58(r1) +/* 800EBA64 000E89C4 90 1D 00 08 */ stw r0, 8(r29) +/* 800EBA68 000E89C8 48 00 00 30 */ b lbl_800EBA98 +lbl_800EBA6C: +/* 800EBA6C 000E89CC 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 800EBA70 000E89D0 28 00 00 00 */ cmplwi r0, 0 +/* 800EBA74 000E89D4 41 82 00 1C */ beq lbl_800EBA90 +/* 800EBA78 000E89D8 28 1D 00 00 */ cmplwi r29, 0 +/* 800EBA7C 000E89DC 41 82 00 14 */ beq lbl_800EBA90 +/* 800EBA80 000E89E0 41 82 00 10 */ beq lbl_800EBA90 +/* 800EBA84 000E89E4 7F A3 EB 78 */ mr r3, r29 +/* 800EBA88 000E89E8 38 80 00 00 */ li r4, 0 +/* 800EBA8C 000E89EC 48 25 53 B5 */ bl __dt__6CTokenFv +lbl_800EBA90: +/* 800EBA90 000E89F0 38 00 00 00 */ li r0, 0 +/* 800EBA94 000E89F4 98 1D 00 0C */ stb r0, 0xc(r29) +lbl_800EBA98: +/* 800EBA98 000E89F8 88 01 00 5C */ lbz r0, 0x5c(r1) +/* 800EBA9C 000E89FC 28 00 00 00 */ cmplwi r0, 0 +/* 800EBAA0 000E8A00 41 82 00 1C */ beq lbl_800EBABC +/* 800EBAA4 000E8A04 34 61 00 50 */ addic. r3, r1, 0x50 +/* 800EBAA8 000E8A08 41 82 00 14 */ beq lbl_800EBABC +/* 800EBAAC 000E8A0C 28 03 00 00 */ cmplwi r3, 0 +/* 800EBAB0 000E8A10 41 82 00 0C */ beq lbl_800EBABC +/* 800EBAB4 000E8A14 38 80 00 00 */ li r4, 0 +/* 800EBAB8 000E8A18 48 25 53 89 */ bl __dt__6CTokenFv +lbl_800EBABC: +/* 800EBABC 000E8A1C 3C 80 80 3D */ lis r4, lbl_803CE6A8@ha +/* 800EBAC0 000E8A20 38 A0 00 00 */ li r5, 0 +/* 800EBAC4 000E8A24 57 C0 10 3A */ slwi r0, r30, 2 +/* 800EBAC8 000E8A28 3C 60 80 3D */ lis r3, lbl_803CE738@ha +/* 800EBACC 000E8A2C 38 84 E6 A8 */ addi r4, r4, lbl_803CE6A8@l +/* 800EBAD0 000E8A30 98 A1 00 5C */ stb r5, 0x5c(r1) +/* 800EBAD4 000E8A34 7F 84 00 2E */ lwzx r28, r4, r0 +/* 800EBAD8 000E8A38 38 63 E7 38 */ addi r3, r3, lbl_803CE738@l +/* 800EBADC 000E8A3C 38 83 01 B9 */ addi r4, r3, 0x1b9 +/* 800EBAE0 000E8A40 7F 83 E3 78 */ mr r3, r28 +/* 800EBAE4 000E8A44 48 2A 44 B9 */ bl strcmp +/* 800EBAE8 000E8A48 2C 03 00 00 */ cmpwi r3, 0 +/* 800EBAEC 000E8A4C 41 82 01 88 */ beq lbl_800EBC74 +/* 800EBAF0 000E8A50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EBAF4 000E8A54 7F 85 E3 78 */ mr r5, r28 +/* 800EBAF8 000E8A58 38 61 00 20 */ addi r3, r1, 0x20 +/* 800EBAFC 000E8A5C 81 84 00 00 */ lwz r12, 0(r4) +/* 800EBB00 000E8A60 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EBB04 000E8A64 7D 89 03 A6 */ mtctr r12 +/* 800EBB08 000E8A68 4E 80 04 21 */ bctrl +/* 800EBB0C 000E8A6C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EBB10 000E8A70 38 81 00 20 */ addi r4, r1, 0x20 +/* 800EBB14 000E8A74 48 25 53 95 */ bl __ct__6CTokenFRC6CToken +/* 800EBB18 000E8A78 38 61 00 44 */ addi r3, r1, 0x44 +/* 800EBB1C 000E8A7C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800EBB20 000E8A80 48 25 53 89 */ bl __ct__6CTokenFRC6CToken +/* 800EBB24 000E8A84 38 00 00 00 */ li r0, 0 +/* 800EBB28 000E8A88 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800EBB2C 000E8A8C 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 800EBB30 000E8A90 28 00 00 00 */ cmplwi r0, 0 +/* 800EBB34 000E8A94 40 82 00 2C */ bne lbl_800EBB60 +/* 800EBB38 000E8A98 28 1D 00 00 */ cmplwi r29, 0 +/* 800EBB3C 000E8A9C 41 82 00 18 */ beq lbl_800EBB54 +/* 800EBB40 000E8AA0 7F A3 EB 78 */ mr r3, r29 +/* 800EBB44 000E8AA4 38 81 00 44 */ addi r4, r1, 0x44 +/* 800EBB48 000E8AA8 48 25 53 61 */ bl __ct__6CTokenFRC6CToken +/* 800EBB4C 000E8AAC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800EBB50 000E8AB0 90 1D 00 08 */ stw r0, 8(r29) +lbl_800EBB54: +/* 800EBB54 000E8AB4 38 00 00 01 */ li r0, 1 +/* 800EBB58 000E8AB8 98 1D 00 0C */ stb r0, 0xc(r29) +/* 800EBB5C 000E8ABC 48 00 00 18 */ b lbl_800EBB74 +lbl_800EBB60: +/* 800EBB60 000E8AC0 7F A3 EB 78 */ mr r3, r29 +/* 800EBB64 000E8AC4 38 81 00 44 */ addi r4, r1, 0x44 +/* 800EBB68 000E8AC8 48 25 51 5D */ bl __as__6CTokenFRC6CToken +/* 800EBB6C 000E8ACC 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800EBB70 000E8AD0 90 1D 00 08 */ stw r0, 8(r29) +lbl_800EBB74: +/* 800EBB74 000E8AD4 38 61 00 44 */ addi r3, r1, 0x44 +/* 800EBB78 000E8AD8 38 80 00 00 */ li r4, 0 +/* 800EBB7C 000E8ADC 48 25 52 C5 */ bl __dt__6CTokenFv +/* 800EBB80 000E8AE0 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EBB84 000E8AE4 38 80 00 00 */ li r4, 0 +/* 800EBB88 000E8AE8 48 25 52 B9 */ bl __dt__6CTokenFv +/* 800EBB8C 000E8AEC 38 61 00 20 */ addi r3, r1, 0x20 +/* 800EBB90 000E8AF0 38 80 FF FF */ li r4, -1 +/* 800EBB94 000E8AF4 48 25 52 AD */ bl __dt__6CTokenFv +/* 800EBB98 000E8AF8 7F A3 EB 78 */ mr r3, r29 +/* 800EBB9C 000E8AFC 48 25 51 E9 */ bl Lock__6CTokenFv +/* 800EBBA0 000E8B00 48 00 00 D4 */ b lbl_800EBC74 +lbl_800EBBA4: +/* 800EBBA4 000E8B04 2C 1E 00 00 */ cmpwi r30, 0 +/* 800EBBA8 000E8B08 40 82 00 CC */ bne lbl_800EBC74 +/* 800EBBAC 000E8B0C 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 800EBBB0 000E8B10 28 00 00 00 */ cmplwi r0, 0 +/* 800EBBB4 000E8B14 41 82 00 08 */ beq lbl_800EBBBC +/* 800EBBB8 000E8B18 4B FF ED 91 */ bl FreePersistentFbTexture__15CCameraBlurPassFv +lbl_800EBBBC: +/* 800EBBBC 000E8B1C 38 81 00 34 */ addi r4, r1, 0x34 +/* 800EBBC0 000E8B20 38 00 00 00 */ li r0, 0 +/* 800EBBC4 000E8B24 7C 1D 20 40 */ cmplw r29, r4 +/* 800EBBC8 000E8B28 98 01 00 40 */ stb r0, 0x40(r1) +/* 800EBBCC 000E8B2C 41 82 00 7C */ beq lbl_800EBC48 +/* 800EBBD0 000E8B30 28 00 00 00 */ cmplwi r0, 0 +/* 800EBBD4 000E8B34 41 82 00 48 */ beq lbl_800EBC1C +/* 800EBBD8 000E8B38 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 800EBBDC 000E8B3C 28 00 00 00 */ cmplwi r0, 0 +/* 800EBBE0 000E8B40 40 82 00 28 */ bne lbl_800EBC08 +/* 800EBBE4 000E8B44 28 1D 00 00 */ cmplwi r29, 0 +/* 800EBBE8 000E8B48 41 82 00 14 */ beq lbl_800EBBFC +/* 800EBBEC 000E8B4C 7F A3 EB 78 */ mr r3, r29 +/* 800EBBF0 000E8B50 48 25 52 B9 */ bl __ct__6CTokenFRC6CToken +/* 800EBBF4 000E8B54 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800EBBF8 000E8B58 90 1D 00 08 */ stw r0, 8(r29) +lbl_800EBBFC: +/* 800EBBFC 000E8B5C 38 00 00 01 */ li r0, 1 +/* 800EBC00 000E8B60 98 1D 00 0C */ stb r0, 0xc(r29) +/* 800EBC04 000E8B64 48 00 00 44 */ b lbl_800EBC48 +lbl_800EBC08: +/* 800EBC08 000E8B68 7F A3 EB 78 */ mr r3, r29 +/* 800EBC0C 000E8B6C 48 25 50 B9 */ bl __as__6CTokenFRC6CToken +/* 800EBC10 000E8B70 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800EBC14 000E8B74 90 1D 00 08 */ stw r0, 8(r29) +/* 800EBC18 000E8B78 48 00 00 30 */ b lbl_800EBC48 +lbl_800EBC1C: +/* 800EBC1C 000E8B7C 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 800EBC20 000E8B80 28 00 00 00 */ cmplwi r0, 0 +/* 800EBC24 000E8B84 41 82 00 1C */ beq lbl_800EBC40 +/* 800EBC28 000E8B88 28 1D 00 00 */ cmplwi r29, 0 +/* 800EBC2C 000E8B8C 41 82 00 14 */ beq lbl_800EBC40 +/* 800EBC30 000E8B90 41 82 00 10 */ beq lbl_800EBC40 +/* 800EBC34 000E8B94 7F A3 EB 78 */ mr r3, r29 +/* 800EBC38 000E8B98 38 80 00 00 */ li r4, 0 +/* 800EBC3C 000E8B9C 48 25 52 05 */ bl __dt__6CTokenFv +lbl_800EBC40: +/* 800EBC40 000E8BA0 38 00 00 00 */ li r0, 0 +/* 800EBC44 000E8BA4 98 1D 00 0C */ stb r0, 0xc(r29) +lbl_800EBC48: +/* 800EBC48 000E8BA8 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800EBC4C 000E8BAC 28 00 00 00 */ cmplwi r0, 0 +/* 800EBC50 000E8BB0 41 82 00 1C */ beq lbl_800EBC6C +/* 800EBC54 000E8BB4 34 61 00 34 */ addic. r3, r1, 0x34 +/* 800EBC58 000E8BB8 41 82 00 14 */ beq lbl_800EBC6C +/* 800EBC5C 000E8BBC 28 03 00 00 */ cmplwi r3, 0 +/* 800EBC60 000E8BC0 41 82 00 0C */ beq lbl_800EBC6C +/* 800EBC64 000E8BC4 38 80 00 00 */ li r4, 0 +/* 800EBC68 000E8BC8 48 25 51 D9 */ bl __dt__6CTokenFv +lbl_800EBC6C: +/* 800EBC6C 000E8BCC 38 00 00 00 */ li r0, 0 +/* 800EBC70 000E8BD0 98 01 00 40 */ stb r0, 0x40(r1) +lbl_800EBC74: +/* 800EBC74 000E8BD4 93 DD 00 14 */ stw r30, 0x14(r29) +/* 800EBC78 000E8BD8 93 DD 00 10 */ stw r30, 0x10(r29) +/* 800EBC7C 000E8BDC 9B FD 00 2C */ stb r31, 0x2c(r29) +/* 800EBC80 000E8BE0 48 00 01 38 */ b lbl_800EBDB8 +lbl_800EBC84: +/* 800EBC84 000E8BE4 9B FD 00 2C */ stb r31, 0x2c(r29) +/* 800EBC88 000E8BE8 D0 5D 00 24 */ stfs f2, 0x24(r29) +/* 800EBC8C 000E8BEC D0 5D 00 28 */ stfs f2, 0x28(r29) +/* 800EBC90 000E8BF0 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 800EBC94 000E8BF4 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 800EBC98 000E8BF8 D0 3D 00 20 */ stfs f1, 0x20(r29) +/* 800EBC9C 000E8BFC 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 800EBCA0 000E8C00 7C 1E 00 00 */ cmpw r30, r0 +/* 800EBCA4 000E8C04 41 82 01 14 */ beq lbl_800EBDB8 +/* 800EBCA8 000E8C08 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 800EBCAC 000E8C0C 2C 00 00 00 */ cmpwi r0, 0 +/* 800EBCB0 000E8C10 40 82 01 04 */ bne lbl_800EBDB4 +/* 800EBCB4 000E8C14 88 1D 00 2C */ lbz r0, 0x2c(r29) +/* 800EBCB8 000E8C18 28 00 00 00 */ cmplwi r0, 0 +/* 800EBCBC 000E8C1C 41 82 00 08 */ beq lbl_800EBCC4 +/* 800EBCC0 000E8C20 4B FF EC 95 */ bl AllocatePersistentFbTexture__15CCameraBlurPassFv +lbl_800EBCC4: +/* 800EBCC4 000E8C24 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 800EBCC8 000E8C28 3C 80 80 3D */ lis r4, lbl_803CE6A8@ha +/* 800EBCCC 000E8C2C 3C 60 80 3D */ lis r3, lbl_803CE738@ha +/* 800EBCD0 000E8C30 54 00 10 3A */ slwi r0, r0, 2 +/* 800EBCD4 000E8C34 38 A4 E6 A8 */ addi r5, r4, lbl_803CE6A8@l +/* 800EBCD8 000E8C38 38 83 E7 38 */ addi r4, r3, lbl_803CE738@l +/* 800EBCDC 000E8C3C 7C 65 00 2E */ lwzx r3, r5, r0 +/* 800EBCE0 000E8C40 38 84 01 B9 */ addi r4, r4, 0x1b9 +/* 800EBCE4 000E8C44 48 2A 42 B9 */ bl strcmp +/* 800EBCE8 000E8C48 2C 03 00 00 */ cmpwi r3, 0 +/* 800EBCEC 000E8C4C 41 82 00 C4 */ beq lbl_800EBDB0 +/* 800EBCF0 000E8C50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EBCF4 000E8C54 3C 60 80 3D */ lis r3, lbl_803CE6A8@ha +/* 800EBCF8 000E8C58 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 800EBCFC 000E8C5C 38 A3 E6 A8 */ addi r5, r3, lbl_803CE6A8@l +/* 800EBD00 000E8C60 81 84 00 00 */ lwz r12, 0(r4) +/* 800EBD04 000E8C64 38 61 00 10 */ addi r3, r1, 0x10 +/* 800EBD08 000E8C68 54 00 10 3A */ slwi r0, r0, 2 +/* 800EBD0C 000E8C6C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EBD10 000E8C70 7C A5 00 2E */ lwzx r5, r5, r0 +/* 800EBD14 000E8C74 7D 89 03 A6 */ mtctr r12 +/* 800EBD18 000E8C78 4E 80 04 21 */ bctrl +/* 800EBD1C 000E8C7C 38 61 00 08 */ addi r3, r1, 8 +/* 800EBD20 000E8C80 38 81 00 10 */ addi r4, r1, 0x10 +/* 800EBD24 000E8C84 48 25 51 85 */ bl __ct__6CTokenFRC6CToken +/* 800EBD28 000E8C88 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EBD2C 000E8C8C 38 81 00 08 */ addi r4, r1, 8 +/* 800EBD30 000E8C90 48 25 51 79 */ bl __ct__6CTokenFRC6CToken +/* 800EBD34 000E8C94 38 00 00 00 */ li r0, 0 +/* 800EBD38 000E8C98 90 01 00 30 */ stw r0, 0x30(r1) +/* 800EBD3C 000E8C9C 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 800EBD40 000E8CA0 28 00 00 00 */ cmplwi r0, 0 +/* 800EBD44 000E8CA4 40 82 00 2C */ bne lbl_800EBD70 +/* 800EBD48 000E8CA8 28 1D 00 00 */ cmplwi r29, 0 +/* 800EBD4C 000E8CAC 41 82 00 18 */ beq lbl_800EBD64 +/* 800EBD50 000E8CB0 7F A3 EB 78 */ mr r3, r29 +/* 800EBD54 000E8CB4 38 81 00 28 */ addi r4, r1, 0x28 +/* 800EBD58 000E8CB8 48 25 51 51 */ bl __ct__6CTokenFRC6CToken +/* 800EBD5C 000E8CBC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800EBD60 000E8CC0 90 1D 00 08 */ stw r0, 8(r29) +lbl_800EBD64: +/* 800EBD64 000E8CC4 38 00 00 01 */ li r0, 1 +/* 800EBD68 000E8CC8 98 1D 00 0C */ stb r0, 0xc(r29) +/* 800EBD6C 000E8CCC 48 00 00 18 */ b lbl_800EBD84 +lbl_800EBD70: +/* 800EBD70 000E8CD0 7F A3 EB 78 */ mr r3, r29 +/* 800EBD74 000E8CD4 38 81 00 28 */ addi r4, r1, 0x28 +/* 800EBD78 000E8CD8 48 25 4F 4D */ bl __as__6CTokenFRC6CToken +/* 800EBD7C 000E8CDC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800EBD80 000E8CE0 90 1D 00 08 */ stw r0, 8(r29) +lbl_800EBD84: +/* 800EBD84 000E8CE4 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EBD88 000E8CE8 38 80 00 00 */ li r4, 0 +/* 800EBD8C 000E8CEC 48 25 50 B5 */ bl __dt__6CTokenFv +/* 800EBD90 000E8CF0 38 61 00 08 */ addi r3, r1, 8 +/* 800EBD94 000E8CF4 38 80 00 00 */ li r4, 0 +/* 800EBD98 000E8CF8 48 25 50 A9 */ bl __dt__6CTokenFv +/* 800EBD9C 000E8CFC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800EBDA0 000E8D00 38 80 FF FF */ li r4, -1 +/* 800EBDA4 000E8D04 48 25 50 9D */ bl __dt__6CTokenFv +/* 800EBDA8 000E8D08 7F A3 EB 78 */ mr r3, r29 +/* 800EBDAC 000E8D0C 48 25 4F D9 */ bl Lock__6CTokenFv +lbl_800EBDB0: +/* 800EBDB0 000E8D10 93 DD 00 10 */ stw r30, 0x10(r29) +lbl_800EBDB4: +/* 800EBDB4 000E8D14 93 DD 00 14 */ stw r30, 0x14(r29) +lbl_800EBDB8: +/* 800EBDB8 000E8D18 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800EBDBC 000E8D1C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800EBDC0 000E8D20 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800EBDC4 000E8D24 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800EBDC8 000E8D28 83 81 00 60 */ lwz r28, 0x60(r1) +/* 800EBDCC 000E8D2C 7C 08 03 A6 */ mtlr r0 +/* 800EBDD0 000E8D30 38 21 00 70 */ addi r1, r1, 0x70 +/* 800EBDD4 000E8D34 4E 80 00 20 */ blr + +.global Update__15CCameraBlurPassFf +Update__15CCameraBlurPassFf: +/* 800EBDD8 000E8D38 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800EBDDC 000E8D3C 7C 08 02 A6 */ mflr r0 +/* 800EBDE0 000E8D40 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EBDE4 000E8D44 90 01 00 44 */ stw r0, 0x44(r1) +/* 800EBDE8 000E8D48 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800EBDEC 000E8D4C 7C 7F 1B 78 */ mr r31, r3 +/* 800EBDF0 000E8D50 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800EBDF4 000E8D54 C0 43 00 28 */ lfs f2, 0x28(r3) +/* 800EBDF8 000E8D58 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800EBDFC 000E8D5C 40 81 02 28 */ ble lbl_800EC024 +/* 800EBE00 000E8D60 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800EBE04 000E8D64 C0 0D 88 1C */ lfs f0, lbl_805A73DC@sda21(r13) +/* 800EBE08 000E8D68 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800EBE0C 000E8D6C D0 21 00 08 */ stfs f1, 8(r1) +/* 800EBE10 000E8D70 40 80 00 0C */ bge lbl_800EBE1C +/* 800EBE14 000E8D74 38 61 00 08 */ addi r3, r1, 8 +/* 800EBE18 000E8D78 48 00 00 08 */ b lbl_800EBE20 +lbl_800EBE1C: +/* 800EBE1C 000E8D7C 38 6D 88 1C */ addi r3, r13, lbl_805A73DC@sda21 +lbl_800EBE20: +/* 800EBE20 000E8D80 C0 03 00 00 */ lfs f0, 0(r3) +/* 800EBE24 000E8D84 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EBE28 000E8D88 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 800EBE2C 000E8D8C C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800EBE30 000E8D90 C0 9F 00 28 */ lfs f4, 0x28(r31) +/* 800EBE34 000E8D94 C0 7F 00 24 */ lfs f3, 0x24(r31) +/* 800EBE38 000E8D98 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 800EBE3C 000E8D9C EC 84 18 24 */ fdivs f4, f4, f3 +/* 800EBE40 000E8DA0 C0 7F 00 20 */ lfs f3, 0x20(r31) +/* 800EBE44 000E8DA4 EC 42 20 28 */ fsubs f2, f2, f4 +/* 800EBE48 000E8DA8 EC 00 01 32 */ fmuls f0, f0, f4 +/* 800EBE4C 000E8DAC EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 800EBE50 000E8DB0 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 800EBE54 000E8DB4 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 800EBE58 000E8DB8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800EBE5C 000E8DBC 40 82 01 C8 */ bne lbl_800EC024 +/* 800EBE60 000E8DC0 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 800EBE64 000E8DC4 2C 00 00 00 */ cmpwi r0, 0 +/* 800EBE68 000E8DC8 40 82 00 24 */ bne lbl_800EBE8C +/* 800EBE6C 000E8DCC 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 800EBE70 000E8DD0 2C 00 00 00 */ cmpwi r0, 0 +/* 800EBE74 000E8DD4 41 82 00 18 */ beq lbl_800EBE8C +/* 800EBE78 000E8DD8 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 800EBE7C 000E8DDC 28 00 00 00 */ cmplwi r0, 0 +/* 800EBE80 000E8DE0 41 82 00 0C */ beq lbl_800EBE8C +/* 800EBE84 000E8DE4 7F E3 FB 78 */ mr r3, r31 +/* 800EBE88 000E8DE8 4B FF EA C1 */ bl FreePersistentFbTexture__15CCameraBlurPassFv +lbl_800EBE8C: +/* 800EBE8C 000E8DEC 38 81 00 28 */ addi r4, r1, 0x28 +/* 800EBE90 000E8DF0 38 00 00 00 */ li r0, 0 +/* 800EBE94 000E8DF4 7C 1F 20 40 */ cmplw r31, r4 +/* 800EBE98 000E8DF8 98 01 00 34 */ stb r0, 0x34(r1) +/* 800EBE9C 000E8DFC 41 82 00 7C */ beq lbl_800EBF18 +/* 800EBEA0 000E8E00 28 00 00 00 */ cmplwi r0, 0 +/* 800EBEA4 000E8E04 41 82 00 48 */ beq lbl_800EBEEC +/* 800EBEA8 000E8E08 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 800EBEAC 000E8E0C 28 00 00 00 */ cmplwi r0, 0 +/* 800EBEB0 000E8E10 40 82 00 28 */ bne lbl_800EBED8 +/* 800EBEB4 000E8E14 28 1F 00 00 */ cmplwi r31, 0 +/* 800EBEB8 000E8E18 41 82 00 14 */ beq lbl_800EBECC +/* 800EBEBC 000E8E1C 7F E3 FB 78 */ mr r3, r31 +/* 800EBEC0 000E8E20 48 25 4F E9 */ bl __ct__6CTokenFRC6CToken +/* 800EBEC4 000E8E24 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800EBEC8 000E8E28 90 1F 00 08 */ stw r0, 8(r31) +lbl_800EBECC: +/* 800EBECC 000E8E2C 38 00 00 01 */ li r0, 1 +/* 800EBED0 000E8E30 98 1F 00 0C */ stb r0, 0xc(r31) +/* 800EBED4 000E8E34 48 00 00 44 */ b lbl_800EBF18 +lbl_800EBED8: +/* 800EBED8 000E8E38 7F E3 FB 78 */ mr r3, r31 +/* 800EBEDC 000E8E3C 48 25 4D E9 */ bl __as__6CTokenFRC6CToken +/* 800EBEE0 000E8E40 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800EBEE4 000E8E44 90 1F 00 08 */ stw r0, 8(r31) +/* 800EBEE8 000E8E48 48 00 00 30 */ b lbl_800EBF18 +lbl_800EBEEC: +/* 800EBEEC 000E8E4C 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 800EBEF0 000E8E50 28 00 00 00 */ cmplwi r0, 0 +/* 800EBEF4 000E8E54 41 82 00 1C */ beq lbl_800EBF10 +/* 800EBEF8 000E8E58 28 1F 00 00 */ cmplwi r31, 0 +/* 800EBEFC 000E8E5C 41 82 00 14 */ beq lbl_800EBF10 +/* 800EBF00 000E8E60 41 82 00 10 */ beq lbl_800EBF10 +/* 800EBF04 000E8E64 7F E3 FB 78 */ mr r3, r31 +/* 800EBF08 000E8E68 38 80 00 00 */ li r4, 0 +/* 800EBF0C 000E8E6C 48 25 4F 35 */ bl __dt__6CTokenFv +lbl_800EBF10: +/* 800EBF10 000E8E70 38 00 00 00 */ li r0, 0 +/* 800EBF14 000E8E74 98 1F 00 0C */ stb r0, 0xc(r31) +lbl_800EBF18: +/* 800EBF18 000E8E78 88 01 00 34 */ lbz r0, 0x34(r1) +/* 800EBF1C 000E8E7C 28 00 00 00 */ cmplwi r0, 0 +/* 800EBF20 000E8E80 41 82 00 1C */ beq lbl_800EBF3C +/* 800EBF24 000E8E84 34 61 00 28 */ addic. r3, r1, 0x28 +/* 800EBF28 000E8E88 41 82 00 14 */ beq lbl_800EBF3C +/* 800EBF2C 000E8E8C 28 03 00 00 */ cmplwi r3, 0 +/* 800EBF30 000E8E90 41 82 00 0C */ beq lbl_800EBF3C +/* 800EBF34 000E8E94 38 80 00 00 */ li r4, 0 +/* 800EBF38 000E8E98 48 25 4F 09 */ bl __dt__6CTokenFv +lbl_800EBF3C: +/* 800EBF3C 000E8E9C 38 00 00 00 */ li r0, 0 +/* 800EBF40 000E8EA0 3C 80 80 3D */ lis r4, lbl_803CE6A8@ha +/* 800EBF44 000E8EA4 98 01 00 34 */ stb r0, 0x34(r1) +/* 800EBF48 000E8EA8 3C 60 80 3D */ lis r3, lbl_803CE738@ha +/* 800EBF4C 000E8EAC 38 63 E7 38 */ addi r3, r3, lbl_803CE738@l +/* 800EBF50 000E8EB0 38 A4 E6 A8 */ addi r5, r4, lbl_803CE6A8@l +/* 800EBF54 000E8EB4 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 800EBF58 000E8EB8 38 83 01 B9 */ addi r4, r3, 0x1b9 +/* 800EBF5C 000E8EBC 54 00 10 3A */ slwi r0, r0, 2 +/* 800EBF60 000E8EC0 7F C5 00 2E */ lwzx r30, r5, r0 +/* 800EBF64 000E8EC4 7F C3 F3 78 */ mr r3, r30 +/* 800EBF68 000E8EC8 48 2A 40 35 */ bl strcmp +/* 800EBF6C 000E8ECC 2C 03 00 00 */ cmpwi r3, 0 +/* 800EBF70 000E8ED0 41 82 00 AC */ beq lbl_800EC01C +/* 800EBF74 000E8ED4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EBF78 000E8ED8 7F C5 F3 78 */ mr r5, r30 +/* 800EBF7C 000E8EDC 38 61 00 14 */ addi r3, r1, 0x14 +/* 800EBF80 000E8EE0 81 84 00 00 */ lwz r12, 0(r4) +/* 800EBF84 000E8EE4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EBF88 000E8EE8 7D 89 03 A6 */ mtctr r12 +/* 800EBF8C 000E8EEC 4E 80 04 21 */ bctrl +/* 800EBF90 000E8EF0 38 61 00 0C */ addi r3, r1, 0xc +/* 800EBF94 000E8EF4 38 81 00 14 */ addi r4, r1, 0x14 +/* 800EBF98 000E8EF8 48 25 4F 11 */ bl __ct__6CTokenFRC6CToken +/* 800EBF9C 000E8EFC 38 61 00 1C */ addi r3, r1, 0x1c +/* 800EBFA0 000E8F00 38 81 00 0C */ addi r4, r1, 0xc +/* 800EBFA4 000E8F04 48 25 4F 05 */ bl __ct__6CTokenFRC6CToken +/* 800EBFA8 000E8F08 38 00 00 00 */ li r0, 0 +/* 800EBFAC 000E8F0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EBFB0 000E8F10 88 1F 00 0C */ lbz r0, 0xc(r31) +/* 800EBFB4 000E8F14 28 00 00 00 */ cmplwi r0, 0 +/* 800EBFB8 000E8F18 40 82 00 2C */ bne lbl_800EBFE4 +/* 800EBFBC 000E8F1C 28 1F 00 00 */ cmplwi r31, 0 +/* 800EBFC0 000E8F20 41 82 00 18 */ beq lbl_800EBFD8 +/* 800EBFC4 000E8F24 7F E3 FB 78 */ mr r3, r31 +/* 800EBFC8 000E8F28 38 81 00 1C */ addi r4, r1, 0x1c +/* 800EBFCC 000E8F2C 48 25 4E DD */ bl __ct__6CTokenFRC6CToken +/* 800EBFD0 000E8F30 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EBFD4 000E8F34 90 1F 00 08 */ stw r0, 8(r31) +lbl_800EBFD8: +/* 800EBFD8 000E8F38 38 00 00 01 */ li r0, 1 +/* 800EBFDC 000E8F3C 98 1F 00 0C */ stb r0, 0xc(r31) +/* 800EBFE0 000E8F40 48 00 00 18 */ b lbl_800EBFF8 +lbl_800EBFE4: +/* 800EBFE4 000E8F44 7F E3 FB 78 */ mr r3, r31 +/* 800EBFE8 000E8F48 38 81 00 1C */ addi r4, r1, 0x1c +/* 800EBFEC 000E8F4C 48 25 4C D9 */ bl __as__6CTokenFRC6CToken +/* 800EBFF0 000E8F50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EBFF4 000E8F54 90 1F 00 08 */ stw r0, 8(r31) +lbl_800EBFF8: +/* 800EBFF8 000E8F58 38 61 00 1C */ addi r3, r1, 0x1c +/* 800EBFFC 000E8F5C 38 80 00 00 */ li r4, 0 +/* 800EC000 000E8F60 48 25 4E 41 */ bl __dt__6CTokenFv +/* 800EC004 000E8F64 38 61 00 0C */ addi r3, r1, 0xc +/* 800EC008 000E8F68 38 80 00 00 */ li r4, 0 +/* 800EC00C 000E8F6C 48 25 4E 35 */ bl __dt__6CTokenFv +/* 800EC010 000E8F70 38 61 00 14 */ addi r3, r1, 0x14 +/* 800EC014 000E8F74 38 80 FF FF */ li r4, -1 +/* 800EC018 000E8F78 48 25 4E 29 */ bl __dt__6CTokenFv +lbl_800EC01C: +/* 800EC01C 000E8F7C 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 800EC020 000E8F80 90 1F 00 10 */ stw r0, 0x10(r31) +lbl_800EC024: +/* 800EC024 000E8F84 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800EC028 000E8F88 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800EC02C 000E8F8C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800EC030 000E8F90 7C 08 03 A6 */ mtlr r0 +/* 800EC034 000E8F94 38 21 00 40 */ addi r1, r1, 0x40 +/* 800EC038 000E8F98 4E 80 00 20 */ blr + +.global __ct__15CCameraBlurPassFv +__ct__15CCameraBlurPassFv: +/* 800EC03C 000E8F9C 38 00 00 00 */ li r0, 0 +/* 800EC040 000E8FA0 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC044 000E8FA4 98 03 00 0C */ stb r0, 0xc(r3) +/* 800EC048 000E8FA8 90 03 00 10 */ stw r0, 0x10(r3) +/* 800EC04C 000E8FAC 90 03 00 14 */ stw r0, 0x14(r3) +/* 800EC050 000E8FB0 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800EC054 000E8FB4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800EC058 000E8FB8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 800EC05C 000E8FBC D0 03 00 24 */ stfs f0, 0x24(r3) +/* 800EC060 000E8FC0 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 800EC064 000E8FC4 98 03 00 2C */ stb r0, 0x2c(r3) +/* 800EC068 000E8FC8 98 03 00 2D */ stb r0, 0x2d(r3) +/* 800EC06C 000E8FCC 90 03 00 30 */ stw r0, 0x30(r3) +/* 800EC070 000E8FD0 4E 80 00 20 */ blr + +.global DrawFilterShape__17CCameraFilterPassFQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +DrawFilterShape__17CCameraFilterPassFQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef: +/* 800EC074 000E8FD4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EC078 000E8FD8 7C 08 02 A6 */ mflr r0 +/* 800EC07C 000E8FDC 28 03 00 08 */ cmplwi r3, 8 +/* 800EC080 000E8FE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EC084 000E8FE4 41 81 00 3C */ bgt lbl_800EC0C0 +/* 800EC088 000E8FE8 3C C0 80 3E */ lis r6, lbl_803DFCC0@ha +/* 800EC08C 000E8FEC 54 60 10 3A */ slwi r0, r3, 2 +/* 800EC090 000E8FF0 38 66 FC C0 */ addi r3, r6, lbl_803DFCC0@l +/* 800EC094 000E8FF4 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800EC098 000E8FF8 7C 09 03 A6 */ mtctr r0 +/* 800EC09C 000E8FFC 4E 80 04 20 */ bctr +/* 800EC0A0 000E9000 7C 83 23 78 */ mr r3, r4 +/* 800EC0A4 000E9004 38 80 00 01 */ li r4, 1 +/* 800EC0A8 000E9008 48 00 09 4D */ bl DrawScanLines__17CCameraFilterPassFRC6CColorb +/* 800EC0AC 000E900C 48 00 00 8C */ b lbl_800EC138 +/* 800EC0B0 000E9010 7C 83 23 78 */ mr r3, r4 +/* 800EC0B4 000E9014 38 80 00 00 */ li r4, 0 +/* 800EC0B8 000E9018 48 00 09 3D */ bl DrawScanLines__17CCameraFilterPassFRC6CColorb +/* 800EC0BC 000E901C 48 00 00 7C */ b lbl_800EC138 +lbl_800EC0C0: +/* 800EC0C0 000E9020 28 05 00 00 */ cmplwi r5, 0 +/* 800EC0C4 000E9024 41 82 00 14 */ beq lbl_800EC0D8 +/* 800EC0C8 000E9028 7C 83 23 78 */ mr r3, r4 +/* 800EC0CC 000E902C 7C A4 2B 78 */ mr r4, r5 +/* 800EC0D0 000E9030 48 00 0D A5 */ bl DrawFullScreenTexturedQuad__17CCameraFilterPassFRC6CColorPC8CTexturef +/* 800EC0D4 000E9034 48 00 00 64 */ b lbl_800EC138 +lbl_800EC0D8: +/* 800EC0D8 000E9038 7C 83 23 78 */ mr r3, r4 +/* 800EC0DC 000E903C 48 00 0F 85 */ bl DrawFullScreenColoredQuad__17CCameraFilterPassFRC6CColor +/* 800EC0E0 000E9040 48 00 00 58 */ b lbl_800EC138 +/* 800EC0E4 000E9044 28 05 00 00 */ cmplwi r5, 0 +/* 800EC0E8 000E9048 41 82 00 14 */ beq lbl_800EC0FC +/* 800EC0EC 000E904C 7C 83 23 78 */ mr r3, r4 +/* 800EC0F0 000E9050 7C A4 2B 78 */ mr r4, r5 +/* 800EC0F4 000E9054 48 00 0B 69 */ bl DrawFullScreenTexturedQuadQuarters__17CCameraFilterPassFRC6CColorPC8CTexturef +/* 800EC0F8 000E9058 48 00 00 40 */ b lbl_800EC138 +lbl_800EC0FC: +/* 800EC0FC 000E905C 7C 83 23 78 */ mr r3, r4 +/* 800EC100 000E9060 48 00 0F 61 */ bl DrawFullScreenColoredQuad__17CCameraFilterPassFRC6CColor +/* 800EC104 000E9064 48 00 00 34 */ b lbl_800EC138 +/* 800EC108 000E9068 7C 83 23 78 */ mr r3, r4 +/* 800EC10C 000E906C 7C A4 2B 78 */ mr r4, r5 +/* 800EC110 000E9070 48 00 05 11 */ bl DrawWideScreen__17CCameraFilterPassFRC6CColorPC8CTexturef +/* 800EC114 000E9074 48 00 00 24 */ b lbl_800EC138 +/* 800EC118 000E9078 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) +/* 800EC11C 000E907C 7C 83 23 78 */ mr r3, r4 +/* 800EC120 000E9080 38 80 00 00 */ li r4, 0 +/* 800EC124 000E9084 48 00 01 CD */ bl DrawRandomStatic__17CCameraFilterPassFRC6CColorfb +/* 800EC128 000E9088 48 00 00 10 */ b lbl_800EC138 +/* 800EC12C 000E908C 7C 83 23 78 */ mr r3, r4 +/* 800EC130 000E9090 38 80 00 01 */ li r4, 1 +/* 800EC134 000E9094 48 00 01 BD */ bl DrawRandomStatic__17CCameraFilterPassFRC6CColorfb +lbl_800EC138: +/* 800EC138 000E9098 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EC13C 000E909C 7C 08 03 A6 */ mtlr r0 +/* 800EC140 000E90A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EC144 000E90A4 4E 80 00 20 */ blr + +.global DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef: +/* 800EC148 000E90A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800EC14C 000E90AC 7C 08 02 A6 */ mflr r0 +/* 800EC150 000E90B0 2C 03 00 00 */ cmpwi r3, 0 +/* 800EC154 000E90B4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EC158 000E90B8 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 800EC15C 000E90BC FF E0 08 90 */ fmr f31, f1 +/* 800EC160 000E90C0 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800EC164 000E90C4 7C DF 33 78 */ mr r31, r6 +/* 800EC168 000E90C8 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800EC16C 000E90CC 7C BE 2B 78 */ mr r30, r5 +/* 800EC170 000E90D0 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800EC174 000E90D4 7C 9D 23 78 */ mr r29, r4 +/* 800EC178 000E90D8 41 82 00 F8 */ beq lbl_800EC270 +/* 800EC17C 000E90DC 28 03 00 08 */ cmplwi r3, 8 +/* 800EC180 000E90E0 41 81 00 F0 */ bgt lbl_800EC270 +/* 800EC184 000E90E4 3C 80 80 3E */ lis r4, lbl_803DFCE4@ha +/* 800EC188 000E90E8 54 60 10 3A */ slwi r0, r3, 2 +/* 800EC18C 000E90EC 38 64 FC E4 */ addi r3, r4, lbl_803DFCE4@l +/* 800EC190 000E90F0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800EC194 000E90F4 7C 09 03 A6 */ mtctr r0 +/* 800EC198 000E90F8 4E 80 04 20 */ bctr +/* 800EC19C 000E90FC 48 00 00 D4 */ b lbl_800EC270 +/* 800EC1A0 000E9100 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC1A4 000E9104 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC1A8 000E9108 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 800EC1AC 000E910C 7D 89 03 A6 */ mtctr r12 +/* 800EC1B0 000E9110 4E 80 04 21 */ bctrl +/* 800EC1B4 000E9114 48 00 00 94 */ b lbl_800EC248 +/* 800EC1B8 000E9118 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC1BC 000E911C 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC1C0 000E9120 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 800EC1C4 000E9124 7D 89 03 A6 */ mtctr r12 +/* 800EC1C8 000E9128 4E 80 04 21 */ bctrl +/* 800EC1CC 000E912C 48 00 00 7C */ b lbl_800EC248 +/* 800EC1D0 000E9130 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC1D4 000E9134 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC1D8 000E9138 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800EC1DC 000E913C 7D 89 03 A6 */ mtctr r12 +/* 800EC1E0 000E9140 4E 80 04 21 */ bctrl +/* 800EC1E4 000E9144 48 00 00 64 */ b lbl_800EC248 +/* 800EC1E8 000E9148 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC1EC 000E914C 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC1F0 000E9150 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800EC1F4 000E9154 7D 89 03 A6 */ mtctr r12 +/* 800EC1F8 000E9158 4E 80 04 21 */ bctrl +/* 800EC1FC 000E915C 48 00 00 4C */ b lbl_800EC248 +/* 800EC200 000E9160 38 60 00 03 */ li r3, 3 +/* 800EC204 000E9164 38 80 00 01 */ li r4, 1 +/* 800EC208 000E9168 38 A0 00 01 */ li r5, 1 +/* 800EC20C 000E916C 38 C0 00 00 */ li r6, 0 +/* 800EC210 000E9170 48 21 C6 C1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp +/* 800EC214 000E9174 48 00 00 34 */ b lbl_800EC248 +/* 800EC218 000E9178 48 00 00 58 */ b lbl_800EC270 +/* 800EC21C 000E917C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC220 000E9180 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC224 000E9184 81 8C 00 80 */ lwz r12, 0x80(r12) +/* 800EC228 000E9188 7D 89 03 A6 */ mtctr r12 +/* 800EC22C 000E918C 4E 80 04 21 */ bctrl +/* 800EC230 000E9190 48 00 00 18 */ b lbl_800EC248 +/* 800EC234 000E9194 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC238 000E9198 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC23C 000E919C 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 800EC240 000E91A0 7D 89 03 A6 */ mtctr r12 +/* 800EC244 000E91A4 4E 80 04 21 */ bctrl +lbl_800EC248: +/* 800EC248 000E91A8 FC 20 F8 90 */ fmr f1, f31 +/* 800EC24C 000E91AC 7F A3 EB 78 */ mr r3, r29 +/* 800EC250 000E91B0 7F C4 F3 78 */ mr r4, r30 +/* 800EC254 000E91B4 7F E5 FB 78 */ mr r5, r31 +/* 800EC258 000E91B8 4B FF FE 1D */ bl DrawFilterShape__17CCameraFilterPassFQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +/* 800EC25C 000E91BC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC260 000E91C0 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC264 000E91C4 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800EC268 000E91C8 7D 89 03 A6 */ mtctr r12 +/* 800EC26C 000E91CC 4E 80 04 21 */ bctrl +lbl_800EC270: +/* 800EC270 000E91D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EC274 000E91D4 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 800EC278 000E91D8 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800EC27C 000E91DC 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 800EC280 000E91E0 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 800EC284 000E91E4 7C 08 03 A6 */ mtlr r0 +/* 800EC288 000E91E8 38 21 00 20 */ addi r1, r1, 0x20 +/* 800EC28C 000E91EC 4E 80 00 20 */ blr + +.global Draw__17CCameraFilterPassCFv +Draw__17CCameraFilterPassCFv: +/* 800EC290 000E91F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EC294 000E91F4 7C 08 02 A6 */ mflr r0 +/* 800EC298 000E91F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EC29C 000E91FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800EC2A0 000E9200 7C 7F 1B 78 */ mr r31, r3 +/* 800EC2A4 000E9204 80 03 00 04 */ lwz r0, 4(r3) +/* 800EC2A8 000E9208 7C 00 00 34 */ cntlzw r0, r0 +/* 800EC2AC 000E920C 54 04 D9 7E */ srwi r4, r0, 5 +/* 800EC2B0 000E9210 48 00 07 09 */ bl GetT__17CCameraFilterPassCFb +/* 800EC2B4 000E9214 80 7F 00 28 */ lwz r3, 0x28(r31) +/* 800EC2B8 000E9218 28 03 00 00 */ cmplwi r3, 0 +/* 800EC2BC 000E921C 40 82 00 0C */ bne lbl_800EC2C8 +/* 800EC2C0 000E9220 38 C0 00 00 */ li r6, 0 +/* 800EC2C4 000E9224 48 00 00 08 */ b lbl_800EC2CC +lbl_800EC2C8: +/* 800EC2C8 000E9228 80 C3 00 08 */ lwz r6, 8(r3) +lbl_800EC2CC: +/* 800EC2CC 000E922C 80 7F 00 00 */ lwz r3, 0(r31) +/* 800EC2D0 000E9230 38 BF 00 18 */ addi r5, r31, 0x18 +/* 800EC2D4 000E9234 80 9F 00 08 */ lwz r4, 8(r31) +/* 800EC2D8 000E9238 4B FF FE 71 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +/* 800EC2DC 000E923C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EC2E0 000E9240 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800EC2E4 000E9244 7C 08 03 A6 */ mtlr r0 +/* 800EC2E8 000E9248 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EC2EC 000E924C 4E 80 00 20 */ blr + +.global DrawRandomStatic__17CCameraFilterPassFRC6CColorfb +DrawRandomStatic__17CCameraFilterPassFRC6CColorfb: +/* 800EC2F0 000E9250 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800EC2F4 000E9254 7C 08 02 A6 */ mflr r0 +/* 800EC2F8 000E9258 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800EC2FC 000E925C DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 800EC300 000E9260 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 800EC304 000E9264 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 800EC308 000E9268 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 800EC30C 000E926C DB A1 00 90 */ stfd f29, 0x90(r1) +/* 800EC310 000E9270 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 800EC314 000E9274 DB 81 00 80 */ stfd f28, 0x80(r1) +/* 800EC318 000E9278 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 800EC31C 000E927C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 800EC320 000E9280 93 C1 00 78 */ stw r30, 0x78(r1) +/* 800EC324 000E9284 7C 9F 23 78 */ mr r31, r4 +/* 800EC328 000E9288 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 800EC32C 000E928C FF 80 08 90 */ fmr f28, f1 +/* 800EC330 000E9290 7C 7E 1B 78 */ mr r30, r3 +/* 800EC334 000E9294 81 84 00 00 */ lwz r12, 0(r4) +/* 800EC338 000E9298 38 61 00 3C */ addi r3, r1, 0x3c +/* 800EC33C 000E929C C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800EC340 000E92A0 38 A0 00 01 */ li r5, 1 +/* 800EC344 000E92A4 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 800EC348 000E92A8 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC34C 000E92AC 7D 89 03 A6 */ mtctr r12 +/* 800EC350 000E92B0 4E 80 04 21 */ bctrl +/* 800EC354 000E92B4 C0 61 00 3C */ lfs f3, 0x3c(r1) +/* 800EC358 000E92B8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800EC35C 000E92BC C0 41 00 40 */ lfs f2, 0x40(r1) +/* 800EC360 000E92C0 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 800EC364 000E92C4 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 800EC368 000E92C8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 800EC36C 000E92CC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800EC370 000E92D0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800EC374 000E92D4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800EC378 000E92D8 41 82 00 C8 */ beq lbl_800EC440 +/* 800EC37C 000E92DC C0 02 90 DC */ lfs f0, lbl_805AADFC@sda21(r2) +/* 800EC380 000E92E0 C0 22 91 28 */ lfs f1, lbl_805AAE48@sda21(r2) +/* 800EC384 000E92E4 EC 00 E0 28 */ fsubs f0, f0, f28 +/* 800EC388 000E92E8 EF E1 00 32 */ fmuls f31, f1, f0 +/* 800EC38C 000E92EC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800EC390 000E92F0 38 60 00 06 */ li r3, 6 +/* 800EC394 000E92F4 38 A0 00 00 */ li r5, 0 +/* 800EC398 000E92F8 38 C0 00 07 */ li r6, 7 +/* 800EC39C 000E92FC 88 81 00 08 */ lbz r4, 8(r1) +/* 800EC3A0 000E9300 38 E0 00 00 */ li r7, 0 +/* 800EC3A4 000E9304 48 21 F6 85 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 800EC3A8 000E9308 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC3AC 000E930C 38 80 00 01 */ li r4, 1 +/* 800EC3B0 000E9310 38 A0 00 01 */ li r5, 1 +/* 800EC3B4 000E9314 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC3B8 000E9318 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800EC3BC 000E931C 7D 89 03 A6 */ mtctr r12 +/* 800EC3C0 000E9320 4E 80 04 21 */ bctrl +/* 800EC3C4 000E9324 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 800EC3C8 000E9328 38 60 00 00 */ li r3, 0 +/* 800EC3CC 000E932C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 800EC3D0 000E9330 48 21 DE E9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800EC3D4 000E9334 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 800EC3D8 000E9338 38 60 00 01 */ li r3, 1 +/* 800EC3DC 000E933C 48 21 DE DD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800EC3E0 000E9340 C3 E1 00 50 */ lfs f31, 0x50(r1) +/* 800EC3E4 000E9344 C3 C1 00 58 */ lfs f30, 0x58(r1) +/* 800EC3E8 000E9348 C3 A1 00 4C */ lfs f29, 0x4c(r1) +/* 800EC3EC 000E934C C3 81 00 54 */ lfs f28, 0x54(r1) +/* 800EC3F0 000E9350 48 2A 3A 8D */ bl rand +/* 800EC3F4 000E9354 EC 3C E8 28 */ fsubs f1, f28, f29 +/* 800EC3F8 000E9358 C0 42 90 F0 */ lfs f2, lbl_805AAE10@sda21(r2) +/* 800EC3FC 000E935C EC 1E F8 28 */ fsubs f0, f30, f31 +/* 800EC400 000E9360 38 03 00 1F */ addi r0, r3, 0x1f +/* 800EC404 000E9364 54 03 00 34 */ rlwinm r3, r0, 0, 0, 0x1a +/* 800EC408 000E9368 38 A0 00 02 */ li r5, 2 +/* 800EC40C 000E936C EC 22 08 2A */ fadds f1, f2, f1 +/* 800EC410 000E9370 3C 63 00 01 */ addis r3, r3, 1 +/* 800EC414 000E9374 EC 02 00 2A */ fadds f0, f2, f0 +/* 800EC418 000E9378 38 C3 80 00 */ addi r6, r3, -32768 +/* 800EC41C 000E937C 38 E0 00 00 */ li r7, 0 +/* 800EC420 000E9380 FC 20 08 1E */ fctiwz f1, f1 +/* 800EC424 000E9384 FC 00 00 1E */ fctiwz f0, f0 +/* 800EC428 000E9388 D8 21 00 60 */ stfd f1, 0x60(r1) +/* 800EC42C 000E938C D8 01 00 68 */ stfd f0, 0x68(r1) +/* 800EC430 000E9390 80 61 00 64 */ lwz r3, 0x64(r1) +/* 800EC434 000E9394 80 81 00 6C */ lwz r4, 0x6c(r1) +/* 800EC438 000E9398 48 21 DB E9 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 800EC43C 000E939C 48 00 00 98 */ b lbl_800EC4D4 +lbl_800EC440: +/* 800EC440 000E93A0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC444 000E93A4 38 80 00 00 */ li r4, 0 +/* 800EC448 000E93A8 38 A0 00 00 */ li r5, 0 +/* 800EC44C 000E93AC 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC450 000E93B0 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800EC454 000E93B4 7D 89 03 A6 */ mtctr r12 +/* 800EC458 000E93B8 4E 80 04 21 */ bctrl +/* 800EC45C 000E93BC 3C 80 80 5A */ lis r4, lbl_805A6038@ha +/* 800EC460 000E93C0 38 60 00 00 */ li r3, 0 +/* 800EC464 000E93C4 38 84 60 38 */ addi r4, r4, lbl_805A6038@l +/* 800EC468 000E93C8 48 21 DE 51 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800EC46C 000E93CC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 800EC470 000E93D0 38 60 00 01 */ li r3, 1 +/* 800EC474 000E93D4 48 21 DE 45 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800EC478 000E93D8 C3 81 00 50 */ lfs f28, 0x50(r1) +/* 800EC47C 000E93DC C3 A1 00 58 */ lfs f29, 0x58(r1) +/* 800EC480 000E93E0 C3 C1 00 4C */ lfs f30, 0x4c(r1) +/* 800EC484 000E93E4 C3 E1 00 54 */ lfs f31, 0x54(r1) +/* 800EC488 000E93E8 48 2A 39 F5 */ bl rand +/* 800EC48C 000E93EC EC 3F F0 28 */ fsubs f1, f31, f30 +/* 800EC490 000E93F0 C0 42 90 F0 */ lfs f2, lbl_805AAE10@sda21(r2) +/* 800EC494 000E93F4 EC 1D E0 28 */ fsubs f0, f29, f28 +/* 800EC498 000E93F8 38 03 00 1F */ addi r0, r3, 0x1f +/* 800EC49C 000E93FC 54 03 00 34 */ rlwinm r3, r0, 0, 0, 0x1a +/* 800EC4A0 000E9400 38 A0 00 02 */ li r5, 2 +/* 800EC4A4 000E9404 EC 22 08 2A */ fadds f1, f2, f1 +/* 800EC4A8 000E9408 3C 63 00 01 */ addis r3, r3, 1 +/* 800EC4AC 000E940C EC 02 00 2A */ fadds f0, f2, f0 +/* 800EC4B0 000E9410 38 C3 80 00 */ addi r6, r3, -32768 +/* 800EC4B4 000E9414 38 E0 00 00 */ li r7, 0 +/* 800EC4B8 000E9418 FC 20 08 1E */ fctiwz f1, f1 +/* 800EC4BC 000E941C FC 00 00 1E */ fctiwz f0, f0 +/* 800EC4C0 000E9420 D8 21 00 68 */ stfd f1, 0x68(r1) +/* 800EC4C4 000E9424 D8 01 00 60 */ stfd f0, 0x60(r1) +/* 800EC4C8 000E9428 80 61 00 6C */ lwz r3, 0x6c(r1) +/* 800EC4CC 000E942C 80 81 00 64 */ lwz r4, 0x64(r1) +/* 800EC4D0 000E9430 48 21 DB 51 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +lbl_800EC4D4: +/* 800EC4D4 000E9434 38 60 00 98 */ li r3, 0x98 +/* 800EC4D8 000E9438 48 21 F1 91 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 800EC4DC 000E943C 7F C3 F3 78 */ mr r3, r30 +/* 800EC4E0 000E9440 48 21 F0 69 */ bl StreamColor__9CGraphicsFRC6CColor +/* 800EC4E4 000E9444 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800EC4E8 000E9448 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC4EC 000E944C 48 21 EF 79 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC4F0 000E9450 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC4F4 000E9454 38 61 00 30 */ addi r3, r1, 0x30 +/* 800EC4F8 000E9458 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800EC4FC 000E945C C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 800EC500 000E9460 EC 62 00 2A */ fadds f3, f2, f0 +/* 800EC504 000E9464 C0 02 91 2C */ lfs f0, lbl_805AAE4C@sda21(r2) +/* 800EC508 000E9468 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800EC50C 000E946C D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800EC510 000E9470 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800EC514 000E9474 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 800EC518 000E9478 48 21 F0 A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC51C 000E947C C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800EC520 000E9480 FC 40 08 90 */ fmr f2, f1 +/* 800EC524 000E9484 48 21 EF 41 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC528 000E9488 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800EC52C 000E948C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800EC530 000E9490 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC534 000E9494 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 800EC538 000E9498 EC 60 10 28 */ fsubs f3, f0, f2 +/* 800EC53C 000E949C C0 02 91 2C */ lfs f0, lbl_805AAE4C@sda21(r2) +/* 800EC540 000E94A0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800EC544 000E94A4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800EC548 000E94A8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800EC54C 000E94AC D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 800EC550 000E94B0 48 21 F0 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC554 000E94B4 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) +/* 800EC558 000E94B8 FC 40 08 90 */ fmr f2, f1 +/* 800EC55C 000E94BC 48 21 EF 09 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC560 000E94C0 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC564 000E94C4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EC568 000E94C8 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800EC56C 000E94CC C0 21 00 54 */ lfs f1, 0x54(r1) +/* 800EC570 000E94D0 EC 62 00 2A */ fadds f3, f2, f0 +/* 800EC574 000E94D4 C0 02 91 2C */ lfs f0, lbl_805AAE4C@sda21(r2) +/* 800EC578 000E94D8 EC 22 08 2A */ fadds f1, f2, f1 +/* 800EC57C 000E94DC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800EC580 000E94E0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800EC584 000E94E4 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 800EC588 000E94E8 48 21 F0 39 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC58C 000E94EC C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) +/* 800EC590 000E94F0 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) +/* 800EC594 000E94F4 48 21 EE D1 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC598 000E94F8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800EC59C 000E94FC 38 61 00 0C */ addi r3, r1, 0xc +/* 800EC5A0 000E9500 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC5A4 000E9504 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 800EC5A8 000E9508 EC 60 10 28 */ fsubs f3, f0, f2 +/* 800EC5AC 000E950C C0 02 91 2C */ lfs f0, lbl_805AAE4C@sda21(r2) +/* 800EC5B0 000E9510 EC 22 08 2A */ fadds f1, f2, f1 +/* 800EC5B4 000E9514 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800EC5B8 000E9518 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800EC5BC 000E951C D0 61 00 14 */ stfs f3, 0x14(r1) +/* 800EC5C0 000E9520 48 21 F0 01 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC5C4 000E9524 48 21 EE 4D */ bl StreamEnd__9CGraphicsFv +/* 800EC5C8 000E9528 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800EC5CC 000E952C 41 82 00 1C */ beq lbl_800EC5E8 +/* 800EC5D0 000E9530 38 60 00 07 */ li r3, 7 +/* 800EC5D4 000E9534 38 80 00 00 */ li r4, 0 +/* 800EC5D8 000E9538 38 A0 00 00 */ li r5, 0 +/* 800EC5DC 000E953C 38 C0 00 07 */ li r6, 7 +/* 800EC5E0 000E9540 38 E0 00 00 */ li r7, 0 +/* 800EC5E4 000E9544 48 21 F4 45 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +lbl_800EC5E8: +/* 800EC5E8 000E9548 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 800EC5EC 000E954C CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 800EC5F0 000E9550 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 800EC5F4 000E9554 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 800EC5F8 000E9558 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 800EC5FC 000E955C CB A1 00 90 */ lfd f29, 0x90(r1) +/* 800EC600 000E9560 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 800EC604 000E9564 CB 81 00 80 */ lfd f28, 0x80(r1) +/* 800EC608 000E9568 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 800EC60C 000E956C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800EC610 000E9570 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 800EC614 000E9574 7C 08 03 A6 */ mtlr r0 +/* 800EC618 000E9578 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800EC61C 000E957C 4E 80 00 20 */ blr + +.global DrawWideScreen__17CCameraFilterPassFRC6CColorPC8CTexturef +DrawWideScreen__17CCameraFilterPassFRC6CColorPC8CTexturef: +/* 800EC620 000E9580 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 800EC624 000E9584 7C 08 02 A6 */ mflr r0 +/* 800EC628 000E9588 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 800EC62C 000E958C DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 800EC630 000E9590 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 800EC634 000E9594 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 800EC638 000E9598 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 800EC63C 000E959C DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 800EC640 000E95A0 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 800EC644 000E95A4 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 800EC648 000E95A8 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800EC64C 000E95AC 7C 9E 23 78 */ mr r30, r4 +/* 800EC650 000E95B0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 800EC654 000E95B4 FF E0 08 90 */ fmr f31, f1 +/* 800EC658 000E95B8 7C 7F 1B 78 */ mr r31, r3 +/* 800EC65C 000E95BC 81 84 00 00 */ lwz r12, 0(r4) +/* 800EC660 000E95C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 800EC664 000E95C4 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) +/* 800EC668 000E95C8 38 A0 00 01 */ li r5, 1 +/* 800EC66C 000E95CC 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 800EC670 000E95D0 C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) +/* 800EC674 000E95D4 7D 89 03 A6 */ mtctr r12 +/* 800EC678 000E95D8 4E 80 04 21 */ bctrl +/* 800EC67C 000E95DC C0 E1 00 68 */ lfs f7, 0x68(r1) +/* 800EC680 000E95E0 38 80 00 00 */ li r4, 0 +/* 800EC684 000E95E4 C0 A1 00 70 */ lfs f5, 0x70(r1) +/* 800EC688 000E95E8 38 A0 00 00 */ li r5, 0 +/* 800EC68C 000E95EC C0 C1 00 6C */ lfs f6, 0x6c(r1) +/* 800EC690 000E95F0 C0 81 00 74 */ lfs f4, 0x74(r1) +/* 800EC694 000E95F4 EC 45 38 28 */ fsubs f2, f5, f7 +/* 800EC698 000E95F8 C0 22 91 3C */ lfs f1, lbl_805AAE5C@sda21(r2) +/* 800EC69C 000E95FC EC 04 30 28 */ fsubs f0, f4, f6 +/* 800EC6A0 000E9600 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC6A4 000E9604 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800EC6A8 000E9608 C0 42 91 38 */ lfs f2, lbl_805AAE58@sda21(r2) +/* 800EC6AC 000E960C 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC6B0 000E9610 C0 62 90 E4 */ lfs f3, lbl_805AAE04@sda21(r2) +/* 800EC6B4 000E9614 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 +/* 800EC6B8 000E9618 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800EC6BC 000E961C D0 E1 00 78 */ stfs f7, 0x78(r1) +/* 800EC6C0 000E9620 EF C3 00 32 */ fmuls f30, f3, f0 +/* 800EC6C4 000E9624 D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 800EC6C8 000E9628 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 800EC6CC 000E962C D0 81 00 84 */ stfs f4, 0x84(r1) +/* 800EC6D0 000E9630 7D 89 03 A6 */ mtctr r12 +/* 800EC6D4 000E9634 4E 80 04 21 */ bctrl +/* 800EC6D8 000E9638 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800EC6DC 000E963C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800EC6E0 000E9640 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800EC6E4 000E9644 81 83 00 00 */ lwz r12, 0(r3) +/* 800EC6E8 000E9648 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800EC6EC 000E964C 7D 89 03 A6 */ mtctr r12 +/* 800EC6F0 000E9650 4E 80 04 21 */ bctrl +/* 800EC6F4 000E9654 28 1E 00 00 */ cmplwi r30, 0 +/* 800EC6F8 000E9658 41 82 00 14 */ beq lbl_800EC70C +/* 800EC6FC 000E965C 7F C3 F3 78 */ mr r3, r30 +/* 800EC700 000E9660 38 80 00 00 */ li r4, 0 +/* 800EC704 000E9664 38 A0 00 01 */ li r5, 1 +/* 800EC708 000E9668 48 22 30 35 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +lbl_800EC70C: +/* 800EC70C 000E966C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 800EC710 000E9670 38 60 00 00 */ li r3, 0 +/* 800EC714 000E9674 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 800EC718 000E9678 48 21 DB A1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800EC71C 000E967C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 800EC720 000E9680 38 60 00 01 */ li r3, 1 +/* 800EC724 000E9684 48 21 DB 95 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800EC728 000E9688 38 60 00 98 */ li r3, 0x98 +/* 800EC72C 000E968C 48 21 EF 3D */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 800EC730 000E9690 48 2A 37 4D */ bl rand +/* 800EC734 000E9694 54 60 90 1A */ slwi r0, r3, 0x12 +/* 800EC738 000E9698 54 64 0F FE */ srwi r4, r3, 0x1f +/* 800EC73C 000E969C 7C 64 00 50 */ subf r3, r4, r0 +/* 800EC740 000E96A0 3C 00 43 30 */ lis r0, 0x4330 +/* 800EC744 000E96A4 54 63 70 3E */ rotlwi r3, r3, 0xe +/* 800EC748 000E96A8 90 01 00 88 */ stw r0, 0x88(r1) +/* 800EC74C 000E96AC 7C 03 22 14 */ add r0, r3, r4 +/* 800EC750 000E96B0 C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) +/* 800EC754 000E96B4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800EC758 000E96B8 C0 02 91 40 */ lfs f0, lbl_805AAE60@sda21(r2) +/* 800EC75C 000E96BC 90 01 00 8C */ stw r0, 0x8c(r1) +/* 800EC760 000E96C0 7F E3 FB 78 */ mr r3, r31 +/* 800EC764 000E96C4 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 800EC768 000E96C8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800EC76C 000E96CC EF A1 00 24 */ fdivs f29, f1, f0 +/* 800EC770 000E96D0 48 21 ED D9 */ bl StreamColor__9CGraphicsFRC6CColor +/* 800EC774 000E96D4 FC 20 E8 90 */ fmr f1, f29 +/* 800EC778 000E96D8 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC77C 000E96DC 48 21 EC E9 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC780 000E96E0 EF FE 07 F2 */ fmuls f31, f30, f31 +/* 800EC784 000E96E4 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 800EC788 000E96E8 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800EC78C 000E96EC 38 61 00 5C */ addi r3, r1, 0x5c +/* 800EC790 000E96F0 C0 02 91 44 */ lfs f0, lbl_805AAE64@sda21(r2) +/* 800EC794 000E96F4 EC 42 F8 2A */ fadds f2, f2, f31 +/* 800EC798 000E96F8 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800EC79C 000E96FC C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC7A0 000E9700 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800EC7A4 000E9704 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800EC7A8 000E9708 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 800EC7AC 000E970C 48 21 EE 15 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC7B0 000E9710 FC 20 E8 90 */ fmr f1, f29 +/* 800EC7B4 000E9714 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) +/* 800EC7B8 000E9718 48 21 EC AD */ bl StreamTexcoord__9CGraphicsFff +/* 800EC7BC 000E971C C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800EC7C0 000E9720 38 61 00 50 */ addi r3, r1, 0x50 +/* 800EC7C4 000E9724 C0 02 91 44 */ lfs f0, lbl_805AAE64@sda21(r2) +/* 800EC7C8 000E9728 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 800EC7CC 000E972C EC 21 00 28 */ fsubs f1, f1, f0 +/* 800EC7D0 000E9730 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC7D4 000E9734 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 800EC7D8 000E9738 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800EC7DC 000E973C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800EC7E0 000E9740 48 21 ED E1 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC7E4 000E9744 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC7E8 000E9748 EF C2 E8 2A */ fadds f30, f2, f29 +/* 800EC7EC 000E974C FC 20 F0 90 */ fmr f1, f30 +/* 800EC7F0 000E9750 48 21 EC 75 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC7F4 000E9754 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 800EC7F8 000E9758 38 61 00 44 */ addi r3, r1, 0x44 +/* 800EC7FC 000E975C C0 42 91 44 */ lfs f2, lbl_805AAE64@sda21(r2) +/* 800EC800 000E9760 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 800EC804 000E9764 EC 60 F8 2A */ fadds f3, f0, f31 +/* 800EC808 000E9768 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC80C 000E976C EC 22 08 2A */ fadds f1, f2, f1 +/* 800EC810 000E9770 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800EC814 000E9774 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800EC818 000E9778 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 800EC81C 000E977C 48 21 ED A5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC820 000E9780 FC 20 F0 90 */ fmr f1, f30 +/* 800EC824 000E9784 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) +/* 800EC828 000E9788 48 21 EC 3D */ bl StreamTexcoord__9CGraphicsFff +/* 800EC82C 000E978C C0 22 91 44 */ lfs f1, lbl_805AAE64@sda21(r2) +/* 800EC830 000E9790 38 61 00 38 */ addi r3, r1, 0x38 +/* 800EC834 000E9794 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800EC838 000E9798 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 800EC83C 000E979C EC 21 00 2A */ fadds f1, f1, f0 +/* 800EC840 000E97A0 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC844 000E97A4 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800EC848 000E97A8 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800EC84C 000E97AC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800EC850 000E97B0 48 21 ED 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC854 000E97B4 48 21 EB BD */ bl StreamEnd__9CGraphicsFv +/* 800EC858 000E97B8 38 60 00 98 */ li r3, 0x98 +/* 800EC85C 000E97BC 48 21 EE 0D */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 800EC860 000E97C0 48 2A 36 1D */ bl rand +/* 800EC864 000E97C4 54 60 90 1A */ slwi r0, r3, 0x12 +/* 800EC868 000E97C8 54 64 0F FE */ srwi r4, r3, 0x1f +/* 800EC86C 000E97CC 7C 64 00 50 */ subf r3, r4, r0 +/* 800EC870 000E97D0 3C 00 43 30 */ lis r0, 0x4330 +/* 800EC874 000E97D4 54 63 70 3E */ rotlwi r3, r3, 0xe +/* 800EC878 000E97D8 90 01 00 90 */ stw r0, 0x90(r1) +/* 800EC87C 000E97DC 7C 03 22 14 */ add r0, r3, r4 +/* 800EC880 000E97E0 C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) +/* 800EC884 000E97E4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800EC888 000E97E8 C0 02 91 40 */ lfs f0, lbl_805AAE60@sda21(r2) +/* 800EC88C 000E97EC 90 01 00 94 */ stw r0, 0x94(r1) +/* 800EC890 000E97F0 7F E3 FB 78 */ mr r3, r31 +/* 800EC894 000E97F4 C8 21 00 90 */ lfd f1, 0x90(r1) +/* 800EC898 000E97F8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800EC89C 000E97FC EF A1 00 24 */ fdivs f29, f1, f0 +/* 800EC8A0 000E9800 48 21 EC A9 */ bl StreamColor__9CGraphicsFRC6CColor +/* 800EC8A4 000E9804 FC 20 E8 90 */ fmr f1, f29 +/* 800EC8A8 000E9808 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) +/* 800EC8AC 000E980C 48 21 EB B9 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC8B0 000E9810 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800EC8B4 000E9814 38 61 00 2C */ addi r3, r1, 0x2c +/* 800EC8B8 000E9818 C0 02 91 44 */ lfs f0, lbl_805AAE64@sda21(r2) +/* 800EC8BC 000E981C C0 41 00 84 */ lfs f2, 0x84(r1) +/* 800EC8C0 000E9820 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800EC8C4 000E9824 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC8C8 000E9828 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800EC8CC 000E982C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800EC8D0 000E9830 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800EC8D4 000E9834 48 21 EC ED */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC8D8 000E9838 FC 20 E8 90 */ fmr f1, f29 +/* 800EC8DC 000E983C C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC8E0 000E9840 48 21 EB 85 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC8E4 000E9844 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800EC8E8 000E9848 38 61 00 20 */ addi r3, r1, 0x20 +/* 800EC8EC 000E984C C0 41 00 78 */ lfs f2, 0x78(r1) +/* 800EC8F0 000E9850 C0 22 91 44 */ lfs f1, lbl_805AAE64@sda21(r2) +/* 800EC8F4 000E9854 EC 60 F8 28 */ fsubs f3, f0, f31 +/* 800EC8F8 000E9858 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC8FC 000E985C EC 22 08 28 */ fsubs f1, f2, f1 +/* 800EC900 000E9860 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800EC904 000E9864 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800EC908 000E9868 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 800EC90C 000E986C 48 21 EC B5 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC910 000E9870 C0 02 90 DC */ lfs f0, lbl_805AADFC@sda21(r2) +/* 800EC914 000E9874 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) +/* 800EC918 000E9878 EF C0 E8 2A */ fadds f30, f0, f29 +/* 800EC91C 000E987C FC 20 F0 90 */ fmr f1, f30 +/* 800EC920 000E9880 48 21 EB 45 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC924 000E9884 C0 22 91 44 */ lfs f1, lbl_805AAE64@sda21(r2) +/* 800EC928 000E9888 38 61 00 14 */ addi r3, r1, 0x14 +/* 800EC92C 000E988C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800EC930 000E9890 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 800EC934 000E9894 EC 21 00 2A */ fadds f1, f1, f0 +/* 800EC938 000E9898 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC93C 000E989C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800EC940 000E98A0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800EC944 000E98A4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800EC948 000E98A8 48 21 EC 79 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC94C 000E98AC FC 20 F0 90 */ fmr f1, f30 +/* 800EC950 000E98B0 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800EC954 000E98B4 48 21 EB 11 */ bl StreamTexcoord__9CGraphicsFff +/* 800EC958 000E98B8 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800EC95C 000E98BC 38 61 00 08 */ addi r3, r1, 8 +/* 800EC960 000E98C0 C0 42 91 44 */ lfs f2, lbl_805AAE64@sda21(r2) +/* 800EC964 000E98C4 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 800EC968 000E98C8 EC 60 F8 28 */ fsubs f3, f0, f31 +/* 800EC96C 000E98CC C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC970 000E98D0 EC 22 08 2A */ fadds f1, f2, f1 +/* 800EC974 000E98D4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800EC978 000E98D8 D0 21 00 08 */ stfs f1, 8(r1) +/* 800EC97C 000E98DC D0 61 00 10 */ stfs f3, 0x10(r1) +/* 800EC980 000E98E0 48 21 EC 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800EC984 000E98E4 48 21 EA 8D */ bl StreamEnd__9CGraphicsFv +/* 800EC988 000E98E8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 800EC98C 000E98EC CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 800EC990 000E98F0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 800EC994 000E98F4 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 800EC998 000E98F8 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 800EC99C 000E98FC CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 800EC9A0 000E9900 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 800EC9A4 000E9904 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800EC9A8 000E9908 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 800EC9AC 000E990C 7C 08 03 A6 */ mtlr r0 +/* 800EC9B0 000E9910 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 800EC9B4 000E9914 4E 80 00 20 */ blr + +.global GetT__17CCameraFilterPassCFb +GetT__17CCameraFilterPassCFb: +/* 800EC9B8 000E9918 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800EC9BC 000E991C C0 43 00 0C */ lfs f2, 0xc(r3) +/* 800EC9C0 000E9920 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 800EC9C4 000E9924 40 82 00 0C */ bne lbl_800EC9D0 +/* 800EC9C8 000E9928 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) +/* 800EC9CC 000E992C 48 00 00 14 */ b lbl_800EC9E0 +lbl_800EC9D0: +/* 800EC9D0 000E9930 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 800EC9D4 000E9934 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) +/* 800EC9D8 000E9938 EC 00 10 24 */ fdivs f0, f0, f2 +/* 800EC9DC 000E993C EC 21 00 28 */ fsubs f1, f1, f0 +lbl_800EC9E0: +/* 800EC9E0 000E9940 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800EC9E4 000E9944 4D 82 00 20 */ beqlr +/* 800EC9E8 000E9948 C0 02 90 DC */ lfs f0, lbl_805AADFC@sda21(r2) +/* 800EC9EC 000E994C EC 20 08 28 */ fsubs f1, f0, f1 +/* 800EC9F0 000E9950 4E 80 00 20 */ blr + +.global DrawScanLines__17CCameraFilterPassFRC6CColorb +DrawScanLines__17CCameraFilterPassFRC6CColorb: +/* 800EC9F4 000E9954 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800EC9F8 000E9958 7C 08 02 A6 */ mflr r0 +/* 800EC9FC 000E995C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800ECA00 000E9960 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 800ECA04 000E9964 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 800ECA08 000E9968 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 800ECA0C 000E996C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 800ECA10 000E9970 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 800ECA14 000E9974 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 800ECA18 000E9978 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 800ECA1C 000E997C F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 800ECA20 000E9980 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 800ECA24 000E9984 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 800ECA28 000E9988 DB 41 00 80 */ stfd f26, 0x80(r1) +/* 800ECA2C 000E998C F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 +/* 800ECA30 000E9990 DB 21 00 70 */ stfd f25, 0x70(r1) +/* 800ECA34 000E9994 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 +/* 800ECA38 000E9998 DB 01 00 60 */ stfd f24, 0x60(r1) +/* 800ECA3C 000E999C F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0 +/* 800ECA40 000E99A0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800ECA44 000E99A4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800ECA48 000E99A8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800ECA4C 000E99AC 7C 9D 23 78 */ mr r29, r4 +/* 800ECA50 000E99B0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 800ECA54 000E99B4 7C 7F 1B 78 */ mr r31, r3 +/* 800ECA58 000E99B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800ECA5C 000E99BC 81 84 00 00 */ lwz r12, 0(r4) +/* 800ECA60 000E99C0 38 A0 00 01 */ li r5, 1 +/* 800ECA64 000E99C4 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) +/* 800ECA68 000E99C8 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 800ECA6C 000E99CC C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) +/* 800ECA70 000E99D0 7D 89 03 A6 */ mtctr r12 +/* 800ECA74 000E99D4 4E 80 04 21 */ bctrl +/* 800ECA78 000E99D8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECA7C 000E99DC 38 80 00 00 */ li r4, 0 +/* 800ECA80 000E99E0 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 800ECA84 000E99E4 38 A0 00 00 */ li r5, 0 +/* 800ECA88 000E99E8 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECA8C 000E99EC C0 41 00 24 */ lfs f2, 0x24(r1) +/* 800ECA90 000E99F0 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 800ECA94 000E99F4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800ECA98 000E99F8 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800ECA9C 000E99FC D0 61 00 30 */ stfs f3, 0x30(r1) +/* 800ECAA0 000E9A00 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800ECAA4 000E9A04 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800ECAA8 000E9A08 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800ECAAC 000E9A0C 7D 89 03 A6 */ mtctr r12 +/* 800ECAB0 000E9A10 4E 80 04 21 */ bctrl +/* 800ECAB4 000E9A14 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECAB8 000E9A18 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800ECABC 000E9A1C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800ECAC0 000E9A20 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECAC4 000E9A24 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800ECAC8 000E9A28 7D 89 03 A6 */ mtctr r12 +/* 800ECACC 000E9A2C 4E 80 04 21 */ bctrl +/* 800ECAD0 000E9A30 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 800ECAD4 000E9A34 41 82 00 0C */ beq lbl_800ECAE0 +/* 800ECAD8 000E9A38 C3 E2 90 EC */ lfs f31, lbl_805AAE0C@sda21(r2) +/* 800ECADC 000E9A3C 48 00 00 08 */ b lbl_800ECAE4 +lbl_800ECAE0: +/* 800ECAE0 000E9A40 C3 E2 90 F0 */ lfs f31, lbl_805AAE10@sda21(r2) +lbl_800ECAE4: +/* 800ECAE4 000E9A44 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 800ECAE8 000E9A48 38 60 00 05 */ li r3, 5 +/* 800ECAEC 000E9A4C C0 21 00 34 */ lfs f1, 0x34(r1) +/* 800ECAF0 000E9A50 C0 02 90 E0 */ lfs f0, lbl_805AAE00@sda21(r2) +/* 800ECAF4 000E9A54 EC 42 08 28 */ fsubs f2, f2, f1 +/* 800ECAF8 000E9A58 C0 22 90 F0 */ lfs f1, lbl_805AAE10@sda21(r2) +/* 800ECAFC 000E9A5C EC 02 00 32 */ fmuls f0, f2, f0 +/* 800ECB00 000E9A60 FC 00 00 1E */ fctiwz f0, f0 +/* 800ECB04 000E9A64 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 800ECB08 000E9A68 83 C1 00 44 */ lwz r30, 0x44(r1) +/* 800ECB0C 000E9A6C 48 21 E8 CD */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 800ECB10 000E9A70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECB14 000E9A74 57 C4 08 3C */ slwi r4, r30, 1 +/* 800ECB18 000E9A78 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECB1C 000E9A7C 81 8C 00 94 */ lwz r12, 0x94(r12) +/* 800ECB20 000E9A80 7D 89 03 A6 */ mtctr r12 +/* 800ECB24 000E9A84 4E 80 04 21 */ bctrl +/* 800ECB28 000E9A88 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECB2C 000E9A8C 7F E4 FB 78 */ mr r4, r31 +/* 800ECB30 000E9A90 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECB34 000E9A94 81 8C 00 B4 */ lwz r12, 0xb4(r12) +/* 800ECB38 000E9A98 7D 89 03 A6 */ mtctr r12 +/* 800ECB3C 000E9A9C 4E 80 04 21 */ bctrl +/* 800ECB40 000E9AA0 C3 21 00 30 */ lfs f25, 0x30(r1) +/* 800ECB44 000E9AA4 3B A0 00 00 */ li r29, 0 +/* 800ECB48 000E9AA8 C3 42 90 EC */ lfs f26, lbl_805AAE0C@sda21(r2) +/* 800ECB4C 000E9AAC 3F E0 43 30 */ lis r31, 0x4330 +/* 800ECB50 000E9AB0 C3 62 91 48 */ lfs f27, lbl_805AAE68@sda21(r2) +/* 800ECB54 000E9AB4 CB 82 91 20 */ lfd f28, lbl_805AAE40@sda21(r2) +/* 800ECB58 000E9AB8 C3 A1 00 34 */ lfs f29, 0x34(r1) +/* 800ECB5C 000E9ABC C3 C1 00 38 */ lfs f30, 0x38(r1) +/* 800ECB60 000E9AC0 48 00 00 78 */ b lbl_800ECBD8 +lbl_800ECB64: +/* 800ECB64 000E9AC4 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 800ECB68 000E9AC8 93 E1 00 40 */ stw r31, 0x40(r1) +/* 800ECB6C 000E9ACC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECB70 000E9AD0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800ECB74 000E9AD4 90 01 00 44 */ stw r0, 0x44(r1) +/* 800ECB78 000E9AD8 C8 01 00 40 */ lfd f0, 0x40(r1) +/* 800ECB7C 000E9ADC D3 21 00 14 */ stfs f25, 0x14(r1) +/* 800ECB80 000E9AE0 EC 00 E0 28 */ fsubs f0, f0, f28 +/* 800ECB84 000E9AE4 D3 41 00 18 */ stfs f26, 0x18(r1) +/* 800ECB88 000E9AE8 EF 1B 00 32 */ fmuls f24, f27, f0 +/* 800ECB8C 000E9AEC EC 18 E8 2A */ fadds f0, f24, f29 +/* 800ECB90 000E9AF0 EC 1F 00 2A */ fadds f0, f31, f0 +/* 800ECB94 000E9AF4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800ECB98 000E9AF8 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECB9C 000E9AFC 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800ECBA0 000E9B00 7D 89 03 A6 */ mtctr r12 +/* 800ECBA4 000E9B04 4E 80 04 21 */ bctrl +/* 800ECBA8 000E9B08 EC 18 E8 2A */ fadds f0, f24, f29 +/* 800ECBAC 000E9B0C D3 C1 00 08 */ stfs f30, 8(r1) +/* 800ECBB0 000E9B10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECBB4 000E9B14 38 81 00 08 */ addi r4, r1, 8 +/* 800ECBB8 000E9B18 D3 41 00 0C */ stfs f26, 0xc(r1) +/* 800ECBBC 000E9B1C EC 1F 00 2A */ fadds f0, f31, f0 +/* 800ECBC0 000E9B20 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800ECBC4 000E9B24 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECBC8 000E9B28 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800ECBCC 000E9B2C 7D 89 03 A6 */ mtctr r12 +/* 800ECBD0 000E9B30 4E 80 04 21 */ bctrl +/* 800ECBD4 000E9B34 3B BD 00 01 */ addi r29, r29, 1 +lbl_800ECBD8: +/* 800ECBD8 000E9B38 7C 1D F0 00 */ cmpw r29, r30 +/* 800ECBDC 000E9B3C 41 80 FF 88 */ blt lbl_800ECB64 +/* 800ECBE0 000E9B40 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECBE4 000E9B44 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECBE8 000E9B48 81 8C 00 B8 */ lwz r12, 0xb8(r12) +/* 800ECBEC 000E9B4C 7D 89 03 A6 */ mtctr r12 +/* 800ECBF0 000E9B50 4E 80 04 21 */ bctrl +/* 800ECBF4 000E9B54 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) +/* 800ECBF8 000E9B58 38 60 00 05 */ li r3, 5 +/* 800ECBFC 000E9B5C 48 21 E7 DD */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset +/* 800ECC00 000E9B60 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 800ECC04 000E9B64 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 800ECC08 000E9B68 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 800ECC0C 000E9B6C CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 800ECC10 000E9B70 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 800ECC14 000E9B74 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 800ECC18 000E9B78 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 800ECC1C 000E9B7C CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 800ECC20 000E9B80 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 800ECC24 000E9B84 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 800ECC28 000E9B88 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 +/* 800ECC2C 000E9B8C CB 41 00 80 */ lfd f26, 0x80(r1) +/* 800ECC30 000E9B90 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 +/* 800ECC34 000E9B94 CB 21 00 70 */ lfd f25, 0x70(r1) +/* 800ECC38 000E9B98 E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0 +/* 800ECC3C 000E9B9C CB 01 00 60 */ lfd f24, 0x60(r1) +/* 800ECC40 000E9BA0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800ECC44 000E9BA4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800ECC48 000E9BA8 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800ECC4C 000E9BAC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800ECC50 000E9BB0 7C 08 03 A6 */ mtlr r0 +/* 800ECC54 000E9BB4 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800ECC58 000E9BB8 4E 80 00 20 */ blr + +.global DrawFullScreenTexturedQuadQuarters__17CCameraFilterPassFRC6CColorPC8CTexturef +DrawFullScreenTexturedQuadQuarters__17CCameraFilterPassFRC6CColorPC8CTexturef: +/* 800ECC5C 000E9BBC 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 800ECC60 000E9BC0 7C 08 02 A6 */ mflr r0 +/* 800ECC64 000E9BC4 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 800ECC68 000E9BC8 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 800ECC6C 000E9BCC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 800ECC70 000E9BD0 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 800ECC74 000E9BD4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 800ECC78 000E9BD8 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 800ECC7C 000E9BDC F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 800ECC80 000E9BE0 DB 81 00 90 */ stfd f28, 0x90(r1) +/* 800ECC84 000E9BE4 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 800ECC88 000E9BE8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 800ECC8C 000E9BEC 93 C1 00 88 */ stw r30, 0x88(r1) +/* 800ECC90 000E9BF0 7C 9F 23 78 */ mr r31, r4 +/* 800ECC94 000E9BF4 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 800ECC98 000E9BF8 FF 80 08 90 */ fmr f28, f1 +/* 800ECC9C 000E9BFC 7C 7E 1B 78 */ mr r30, r3 +/* 800ECCA0 000E9C00 81 84 00 00 */ lwz r12, 0(r4) +/* 800ECCA4 000E9C04 38 61 00 38 */ addi r3, r1, 0x38 +/* 800ECCA8 000E9C08 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) +/* 800ECCAC 000E9C0C 38 A0 00 01 */ li r5, 1 +/* 800ECCB0 000E9C10 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 800ECCB4 000E9C14 C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) +/* 800ECCB8 000E9C18 7D 89 03 A6 */ mtctr r12 +/* 800ECCBC 000E9C1C 4E 80 04 21 */ bctrl +/* 800ECCC0 000E9C20 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 800ECCC4 000E9C24 3C 60 80 5A */ lis r3, lbl_805A5EBC@ha +/* 800ECCC8 000E9C28 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 800ECCCC 000E9C2C 38 83 5E BC */ addi r4, r3, lbl_805A5EBC@l +/* 800ECCD0 000E9C30 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 800ECCD4 000E9C34 38 60 00 00 */ li r3, 0 +/* 800ECCD8 000E9C38 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 800ECCDC 000E9C3C D0 61 00 48 */ stfs f3, 0x48(r1) +/* 800ECCE0 000E9C40 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800ECCE4 000E9C44 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800ECCE8 000E9C48 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800ECCEC 000E9C4C 48 21 D5 CD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800ECCF0 000E9C50 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 800ECCF4 000E9C54 38 60 00 01 */ li r3, 1 +/* 800ECCF8 000E9C58 48 21 D5 C1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800ECCFC 000E9C5C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECD00 000E9C60 38 80 00 00 */ li r4, 0 +/* 800ECD04 000E9C64 38 A0 00 00 */ li r5, 0 +/* 800ECD08 000E9C68 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECD0C 000E9C6C 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800ECD10 000E9C70 7D 89 03 A6 */ mtctr r12 +/* 800ECD14 000E9C74 4E 80 04 21 */ bctrl +/* 800ECD18 000E9C78 28 1F 00 00 */ cmplwi r31, 0 +/* 800ECD1C 000E9C7C 41 82 00 14 */ beq lbl_800ECD30 +/* 800ECD20 000E9C80 7F E3 FB 78 */ mr r3, r31 +/* 800ECD24 000E9C84 38 80 00 00 */ li r4, 0 +/* 800ECD28 000E9C88 38 A0 00 00 */ li r5, 0 +/* 800ECD2C 000E9C8C 48 22 2A 11 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +lbl_800ECD30: +/* 800ECD30 000E9C90 38 60 00 00 */ li r3, 0 +/* 800ECD34 000E9C94 48 21 ED 3D */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 800ECD38 000E9C98 C3 A1 00 48 */ lfs f29, 0x48(r1) +/* 800ECD3C 000E9C9C 3B E0 00 00 */ li r31, 0 +/* 800ECD40 000E9CA0 C3 C2 90 EC */ lfs f30, lbl_805AAE0C@sda21(r2) +/* 800ECD44 000E9CA4 C3 E1 00 54 */ lfs f31, 0x54(r1) +lbl_800ECD48: +/* 800ECD48 000E9CA8 57 E0 07 FF */ clrlwi. r0, r31, 0x1f +/* 800ECD4C 000E9CAC 40 81 00 0C */ ble lbl_800ECD58 +/* 800ECD50 000E9CB0 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) +/* 800ECD54 000E9CB4 48 00 00 08 */ b lbl_800ECD5C +lbl_800ECD58: +/* 800ECD58 000E9CB8 C0 22 90 D8 */ lfs f1, lbl_805AADF8@sda21(r2) +lbl_800ECD5C: +/* 800ECD5C 000E9CBC 57 E0 07 BD */ rlwinm. r0, r31, 0, 0x1e, 0x1e +/* 800ECD60 000E9CC0 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) +/* 800ECD64 000E9CC4 38 61 00 58 */ addi r3, r1, 0x58 +/* 800ECD68 000E9CC8 40 81 00 0C */ ble lbl_800ECD74 +/* 800ECD6C 000E9CCC C0 62 90 DC */ lfs f3, lbl_805AADFC@sda21(r2) +/* 800ECD70 000E9CD0 48 00 00 08 */ b lbl_800ECD78 +lbl_800ECD74: +/* 800ECD74 000E9CD4 C0 62 90 D8 */ lfs f3, lbl_805AADF8@sda21(r2) +lbl_800ECD78: +/* 800ECD78 000E9CD8 48 22 64 91 */ bl Scale__12CTransform4fFfff +/* 800ECD7C 000E9CDC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECD80 000E9CE0 38 81 00 58 */ addi r4, r1, 0x58 +/* 800ECD84 000E9CE4 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECD88 000E9CE8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800ECD8C 000E9CEC 7D 89 03 A6 */ mtctr r12 +/* 800ECD90 000E9CF0 4E 80 04 21 */ bctrl +/* 800ECD94 000E9CF4 38 60 00 98 */ li r3, 0x98 +/* 800ECD98 000E9CF8 48 21 E8 D1 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 800ECD9C 000E9CFC 7F C3 F3 78 */ mr r3, r30 +/* 800ECDA0 000E9D00 48 21 E7 A9 */ bl StreamColor__9CGraphicsFRC6CColor +/* 800ECDA4 000E9D04 FC 20 E0 90 */ fmr f1, f28 +/* 800ECDA8 000E9D08 FC 40 E0 90 */ fmr f2, f28 +/* 800ECDAC 000E9D0C 48 21 E6 B9 */ bl StreamTexcoord__9CGraphicsFff +/* 800ECDB0 000E9D10 D3 A1 00 2C */ stfs f29, 0x2c(r1) +/* 800ECDB4 000E9D14 38 61 00 2C */ addi r3, r1, 0x2c +/* 800ECDB8 000E9D18 D3 C1 00 30 */ stfs f30, 0x30(r1) +/* 800ECDBC 000E9D1C D3 E1 00 34 */ stfs f31, 0x34(r1) +/* 800ECDC0 000E9D20 48 21 E8 01 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800ECDC4 000E9D24 FC 20 E0 90 */ fmr f1, f28 +/* 800ECDC8 000E9D28 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) +/* 800ECDCC 000E9D2C 48 21 E6 99 */ bl StreamTexcoord__9CGraphicsFff +/* 800ECDD0 000E9D30 D3 A1 00 20 */ stfs f29, 0x20(r1) +/* 800ECDD4 000E9D34 38 61 00 20 */ addi r3, r1, 0x20 +/* 800ECDD8 000E9D38 D3 C1 00 24 */ stfs f30, 0x24(r1) +/* 800ECDDC 000E9D3C D3 C1 00 28 */ stfs f30, 0x28(r1) +/* 800ECDE0 000E9D40 48 21 E7 E1 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800ECDE4 000E9D44 FC 40 E0 90 */ fmr f2, f28 +/* 800ECDE8 000E9D48 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800ECDEC 000E9D4C 48 21 E6 79 */ bl StreamTexcoord__9CGraphicsFff +/* 800ECDF0 000E9D50 D3 C1 00 14 */ stfs f30, 0x14(r1) +/* 800ECDF4 000E9D54 38 61 00 14 */ addi r3, r1, 0x14 +/* 800ECDF8 000E9D58 D3 C1 00 18 */ stfs f30, 0x18(r1) +/* 800ECDFC 000E9D5C D3 E1 00 1C */ stfs f31, 0x1c(r1) +/* 800ECE00 000E9D60 48 21 E7 C1 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800ECE04 000E9D64 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800ECE08 000E9D68 FC 40 08 90 */ fmr f2, f1 +/* 800ECE0C 000E9D6C 48 21 E6 59 */ bl StreamTexcoord__9CGraphicsFff +/* 800ECE10 000E9D70 D3 C1 00 08 */ stfs f30, 8(r1) +/* 800ECE14 000E9D74 38 61 00 08 */ addi r3, r1, 8 +/* 800ECE18 000E9D78 D3 C1 00 0C */ stfs f30, 0xc(r1) +/* 800ECE1C 000E9D7C D3 C1 00 10 */ stfs f30, 0x10(r1) +/* 800ECE20 000E9D80 48 21 E7 A1 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800ECE24 000E9D84 48 21 E5 ED */ bl StreamEnd__9CGraphicsFv +/* 800ECE28 000E9D88 3B FF 00 01 */ addi r31, r31, 1 +/* 800ECE2C 000E9D8C 2C 1F 00 04 */ cmpwi r31, 4 +/* 800ECE30 000E9D90 41 80 FF 18 */ blt lbl_800ECD48 +/* 800ECE34 000E9D94 38 60 00 01 */ li r3, 1 +/* 800ECE38 000E9D98 48 21 EC 39 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 800ECE3C 000E9D9C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 800ECE40 000E9DA0 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 800ECE44 000E9DA4 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 800ECE48 000E9DA8 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 800ECE4C 000E9DAC E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 800ECE50 000E9DB0 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 800ECE54 000E9DB4 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 800ECE58 000E9DB8 CB 81 00 90 */ lfd f28, 0x90(r1) +/* 800ECE5C 000E9DBC 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 800ECE60 000E9DC0 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800ECE64 000E9DC4 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 800ECE68 000E9DC8 7C 08 03 A6 */ mtlr r0 +/* 800ECE6C 000E9DCC 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 800ECE70 000E9DD0 4E 80 00 20 */ blr + +.global DrawFullScreenTexturedQuad__17CCameraFilterPassFRC6CColorPC8CTexturef +DrawFullScreenTexturedQuad__17CCameraFilterPassFRC6CColorPC8CTexturef: +/* 800ECE74 000E9DD4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800ECE78 000E9DD8 7C 08 02 A6 */ mflr r0 +/* 800ECE7C 000E9DDC 90 01 00 84 */ stw r0, 0x84(r1) +/* 800ECE80 000E9DE0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 800ECE84 000E9DE4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 800ECE88 000E9DE8 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 800ECE8C 000E9DEC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 800ECE90 000E9DF0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800ECE94 000E9DF4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800ECE98 000E9DF8 7C 9F 23 78 */ mr r31, r4 +/* 800ECE9C 000E9DFC C0 02 90 E4 */ lfs f0, lbl_805AAE04@sda21(r2) +/* 800ECEA0 000E9E00 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 800ECEA4 000E9E04 7C 7E 1B 78 */ mr r30, r3 +/* 800ECEA8 000E9E08 EC 60 00 72 */ fmuls f3, f0, f1 +/* 800ECEAC 000E9E0C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800ECEB0 000E9E10 81 84 00 00 */ lwz r12, 0(r4) +/* 800ECEB4 000E9E14 38 A0 00 01 */ li r5, 1 +/* 800ECEB8 000E9E18 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) +/* 800ECEBC 000E9E1C 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 800ECEC0 000E9E20 EF E0 18 28 */ fsubs f31, f0, f3 +/* 800ECEC4 000E9E24 C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) +/* 800ECEC8 000E9E28 EF C0 18 2A */ fadds f30, f0, f3 +/* 800ECECC 000E9E2C 7D 89 03 A6 */ mtctr r12 +/* 800ECED0 000E9E30 4E 80 04 21 */ bctrl +/* 800ECED4 000E9E34 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ECED8 000E9E38 38 80 00 00 */ li r4, 0 +/* 800ECEDC 000E9E3C C0 61 00 38 */ lfs f3, 0x38(r1) +/* 800ECEE0 000E9E40 38 A0 00 00 */ li r5, 0 +/* 800ECEE4 000E9E44 81 83 00 00 */ lwz r12, 0(r3) +/* 800ECEE8 000E9E48 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 800ECEEC 000E9E4C C0 21 00 40 */ lfs f1, 0x40(r1) +/* 800ECEF0 000E9E50 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 800ECEF4 000E9E54 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800ECEF8 000E9E58 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 800ECEFC 000E9E5C D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800ECF00 000E9E60 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800ECF04 000E9E64 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800ECF08 000E9E68 7D 89 03 A6 */ mtctr r12 +/* 800ECF0C 000E9E6C 4E 80 04 21 */ bctrl +/* 800ECF10 000E9E70 28 1F 00 00 */ cmplwi r31, 0 +/* 800ECF14 000E9E74 41 82 00 14 */ beq lbl_800ECF28 +/* 800ECF18 000E9E78 7F E3 FB 78 */ mr r3, r31 +/* 800ECF1C 000E9E7C 38 80 00 00 */ li r4, 0 +/* 800ECF20 000E9E80 38 A0 00 01 */ li r5, 1 +/* 800ECF24 000E9E84 48 22 28 19 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +lbl_800ECF28: +/* 800ECF28 000E9E88 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 800ECF2C 000E9E8C 38 60 00 00 */ li r3, 0 +/* 800ECF30 000E9E90 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 800ECF34 000E9E94 48 21 D3 85 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800ECF38 000E9E98 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 800ECF3C 000E9E9C 38 60 00 01 */ li r3, 1 +/* 800ECF40 000E9EA0 48 21 D3 79 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800ECF44 000E9EA4 38 60 00 98 */ li r3, 0x98 +/* 800ECF48 000E9EA8 48 21 E7 21 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 800ECF4C 000E9EAC 7F C3 F3 78 */ mr r3, r30 +/* 800ECF50 000E9EB0 48 21 E5 F9 */ bl StreamColor__9CGraphicsFRC6CColor +/* 800ECF54 000E9EB4 FC 20 F8 90 */ fmr f1, f31 +/* 800ECF58 000E9EB8 FC 40 F0 90 */ fmr f2, f30 +/* 800ECF5C 000E9EBC 48 21 E5 09 */ bl StreamTexcoord__9CGraphicsFff +/* 800ECF60 000E9EC0 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800ECF64 000E9EC4 38 61 00 2C */ addi r3, r1, 0x2c +/* 800ECF68 000E9EC8 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800ECF6C 000E9ECC C0 21 00 48 */ lfs f1, 0x48(r1) +/* 800ECF70 000E9ED0 EC 62 00 2A */ fadds f3, f2, f0 +/* 800ECF74 000E9ED4 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800ECF78 000E9ED8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800ECF7C 000E9EDC D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800ECF80 000E9EE0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800ECF84 000E9EE4 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800ECF88 000E9EE8 48 21 E6 39 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800ECF8C 000E9EEC FC 20 F8 90 */ fmr f1, f31 +/* 800ECF90 000E9EF0 FC 40 F8 90 */ fmr f2, f31 +/* 800ECF94 000E9EF4 48 21 E4 D1 */ bl StreamTexcoord__9CGraphicsFff +/* 800ECF98 000E9EF8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800ECF9C 000E9EFC 38 61 00 20 */ addi r3, r1, 0x20 +/* 800ECFA0 000E9F00 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800ECFA4 000E9F04 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 800ECFA8 000E9F08 EC 60 10 28 */ fsubs f3, f0, f2 +/* 800ECFAC 000E9F0C C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800ECFB0 000E9F10 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800ECFB4 000E9F14 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800ECFB8 000E9F18 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800ECFBC 000E9F1C D0 61 00 28 */ stfs f3, 0x28(r1) +/* 800ECFC0 000E9F20 48 21 E6 01 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800ECFC4 000E9F24 FC 20 F0 90 */ fmr f1, f30 +/* 800ECFC8 000E9F28 FC 40 F0 90 */ fmr f2, f30 +/* 800ECFCC 000E9F2C 48 21 E4 99 */ bl StreamTexcoord__9CGraphicsFff +/* 800ECFD0 000E9F30 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800ECFD4 000E9F34 38 61 00 14 */ addi r3, r1, 0x14 +/* 800ECFD8 000E9F38 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800ECFDC 000E9F3C C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800ECFE0 000E9F40 EC 62 00 2A */ fadds f3, f2, f0 +/* 800ECFE4 000E9F44 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800ECFE8 000E9F48 EC 22 08 2A */ fadds f1, f2, f1 +/* 800ECFEC 000E9F4C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800ECFF0 000E9F50 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800ECFF4 000E9F54 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 800ECFF8 000E9F58 48 21 E5 C9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800ECFFC 000E9F5C FC 20 F0 90 */ fmr f1, f30 +/* 800ED000 000E9F60 FC 40 F8 90 */ fmr f2, f31 +/* 800ED004 000E9F64 48 21 E4 61 */ bl StreamTexcoord__9CGraphicsFff +/* 800ED008 000E9F68 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800ED00C 000E9F6C 38 61 00 08 */ addi r3, r1, 8 +/* 800ED010 000E9F70 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800ED014 000E9F74 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800ED018 000E9F78 EC 60 10 28 */ fsubs f3, f0, f2 +/* 800ED01C 000E9F7C C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800ED020 000E9F80 EC 22 08 2A */ fadds f1, f2, f1 +/* 800ED024 000E9F84 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800ED028 000E9F88 D0 21 00 08 */ stfs f1, 8(r1) +/* 800ED02C 000E9F8C D0 61 00 10 */ stfs f3, 0x10(r1) +/* 800ED030 000E9F90 48 21 E5 91 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 800ED034 000E9F94 48 21 E3 DD */ bl StreamEnd__9CGraphicsFv +/* 800ED038 000E9F98 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 800ED03C 000E9F9C CB E1 00 70 */ lfd f31, 0x70(r1) +/* 800ED040 000E9FA0 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 800ED044 000E9FA4 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 800ED048 000E9FA8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800ED04C 000E9FAC 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800ED050 000E9FB0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800ED054 000E9FB4 7C 08 03 A6 */ mtlr r0 +/* 800ED058 000E9FB8 38 21 00 80 */ addi r1, r1, 0x80 +/* 800ED05C 000E9FBC 4E 80 00 20 */ blr + +.global DrawFullScreenColoredQuad__17CCameraFilterPassFRC6CColor +DrawFullScreenColoredQuad__17CCameraFilterPassFRC6CColor: +/* 800ED060 000E9FC0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800ED064 000E9FC4 7C 08 02 A6 */ mflr r0 +/* 800ED068 000E9FC8 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) +/* 800ED06C 000E9FCC 38 A0 00 01 */ li r5, 1 +/* 800ED070 000E9FD0 90 01 00 64 */ stw r0, 0x64(r1) +/* 800ED074 000E9FD4 C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) +/* 800ED078 000E9FD8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800ED07C 000E9FDC 7C 7F 1B 78 */ mr r31, r3 +/* 800ED080 000E9FE0 38 61 00 38 */ addi r3, r1, 0x38 +/* 800ED084 000E9FE4 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 800ED088 000E9FE8 81 84 00 00 */ lwz r12, 0(r4) +/* 800ED08C 000E9FEC 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 800ED090 000E9FF0 7D 89 03 A6 */ mtctr r12 +/* 800ED094 000E9FF4 4E 80 04 21 */ bctrl +/* 800ED098 000E9FF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ED09C 000E9FFC 38 80 00 00 */ li r4, 0 +/* 800ED0A0 000EA000 C0 61 00 38 */ lfs f3, 0x38(r1) +/* 800ED0A4 000EA004 38 A0 00 00 */ li r5, 0 +/* 800ED0A8 000EA008 81 83 00 00 */ lwz r12, 0(r3) +/* 800ED0AC 000EA00C C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 800ED0B0 000EA010 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 800ED0B4 000EA014 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 800ED0B8 000EA018 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800ED0BC 000EA01C D0 61 00 48 */ stfs f3, 0x48(r1) +/* 800ED0C0 000EA020 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800ED0C4 000EA024 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800ED0C8 000EA028 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800ED0CC 000EA02C 7D 89 03 A6 */ mtctr r12 +/* 800ED0D0 000EA030 4E 80 04 21 */ bctrl +/* 800ED0D4 000EA034 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ED0D8 000EA038 38 80 00 04 */ li r4, 4 +/* 800ED0DC 000EA03C 81 83 00 00 */ lwz r12, 0(r3) +/* 800ED0E0 000EA040 81 8C 00 A0 */ lwz r12, 0xa0(r12) +/* 800ED0E4 000EA044 7D 89 03 A6 */ mtctr r12 +/* 800ED0E8 000EA048 4E 80 04 21 */ bctrl +/* 800ED0EC 000EA04C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ED0F0 000EA050 7F E4 FB 78 */ mr r4, r31 +/* 800ED0F4 000EA054 81 83 00 00 */ lwz r12, 0(r3) +/* 800ED0F8 000EA058 81 8C 00 B4 */ lwz r12, 0xb4(r12) +/* 800ED0FC 000EA05C 7D 89 03 A6 */ mtctr r12 +/* 800ED100 000EA060 4E 80 04 21 */ bctrl +/* 800ED104 000EA064 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800ED108 000EA068 38 81 00 2C */ addi r4, r1, 0x2c +/* 800ED10C 000EA06C C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800ED110 000EA070 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 800ED114 000EA074 EC 62 00 2A */ fadds f3, f2, f0 +/* 800ED118 000EA078 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800ED11C 000EA07C EC 21 10 28 */ fsubs f1, f1, f2 +/* 800ED120 000EA080 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ED124 000EA084 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800ED128 000EA088 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800ED12C 000EA08C D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800ED130 000EA090 81 83 00 00 */ lwz r12, 0(r3) +/* 800ED134 000EA094 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800ED138 000EA098 7D 89 03 A6 */ mtctr r12 +/* 800ED13C 000EA09C 4E 80 04 21 */ bctrl +/* 800ED140 000EA0A0 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 800ED144 000EA0A4 38 81 00 20 */ addi r4, r1, 0x20 +/* 800ED148 000EA0A8 C0 62 90 DC */ lfs f3, lbl_805AADFC@sda21(r2) +/* 800ED14C 000EA0AC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800ED150 000EA0B0 EC 41 18 28 */ fsubs f2, f1, f3 +/* 800ED154 000EA0B4 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800ED158 000EA0B8 EC 00 18 28 */ fsubs f0, f0, f3 +/* 800ED15C 000EA0BC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ED160 000EA0C0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800ED164 000EA0C4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 800ED168 000EA0C8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800ED16C 000EA0CC 81 83 00 00 */ lwz r12, 0(r3) +/* 800ED170 000EA0D0 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800ED174 000EA0D4 7D 89 03 A6 */ mtctr r12 +/* 800ED178 000EA0D8 4E 80 04 21 */ bctrl +/* 800ED17C 000EA0DC C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) +/* 800ED180 000EA0E0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800ED184 000EA0E4 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800ED188 000EA0E8 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800ED18C 000EA0EC EC 62 00 2A */ fadds f3, f2, f0 +/* 800ED190 000EA0F0 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800ED194 000EA0F4 EC 22 08 2A */ fadds f1, f2, f1 +/* 800ED198 000EA0F8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ED19C 000EA0FC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800ED1A0 000EA100 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800ED1A4 000EA104 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 800ED1A8 000EA108 81 83 00 00 */ lwz r12, 0(r3) +/* 800ED1AC 000EA10C 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800ED1B0 000EA110 7D 89 03 A6 */ mtctr r12 +/* 800ED1B4 000EA114 4E 80 04 21 */ bctrl +/* 800ED1B8 000EA118 C0 62 90 DC */ lfs f3, lbl_805AADFC@sda21(r2) +/* 800ED1BC 000EA11C 38 81 00 08 */ addi r4, r1, 8 +/* 800ED1C0 000EA120 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800ED1C4 000EA124 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800ED1C8 000EA128 EC 43 08 2A */ fadds f2, f3, f1 +/* 800ED1CC 000EA12C C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800ED1D0 000EA130 EC 00 18 28 */ fsubs f0, f0, f3 +/* 800ED1D4 000EA134 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ED1D8 000EA138 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800ED1DC 000EA13C D0 41 00 08 */ stfs f2, 8(r1) +/* 800ED1E0 000EA140 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800ED1E4 000EA144 81 83 00 00 */ lwz r12, 0(r3) +/* 800ED1E8 000EA148 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 800ED1EC 000EA14C 7D 89 03 A6 */ mtctr r12 +/* 800ED1F0 000EA150 4E 80 04 21 */ bctrl +/* 800ED1F4 000EA154 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800ED1F8 000EA158 81 83 00 00 */ lwz r12, 0(r3) +/* 800ED1FC 000EA15C 81 8C 00 B8 */ lwz r12, 0xb8(r12) +/* 800ED200 000EA160 7D 89 03 A6 */ mtctr r12 +/* 800ED204 000EA164 4E 80 04 21 */ bctrl +/* 800ED208 000EA168 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800ED20C 000EA16C 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800ED210 000EA170 7C 08 03 A6 */ mtlr r0 +/* 800ED214 000EA174 38 21 00 60 */ addi r1, r1, 0x60 +/* 800ED218 000EA178 4E 80 00 20 */ blr + +.global Update__17CCameraFilterPassFf +Update__17CCameraFilterPassFf: +/* 800ED21C 000EA17C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800ED220 000EA180 7C 08 02 A6 */ mflr r0 +/* 800ED224 000EA184 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800ED228 000EA188 90 01 00 24 */ stw r0, 0x24(r1) +/* 800ED22C 000EA18C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800ED230 000EA190 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800ED234 000EA194 7C 7E 1B 78 */ mr r30, r3 +/* 800ED238 000EA198 C0 43 00 10 */ lfs f2, 0x10(r3) +/* 800ED23C 000EA19C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800ED240 000EA1A0 40 81 01 10 */ ble lbl_800ED350 +/* 800ED244 000EA1A4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800ED248 000EA1A8 C0 0D 88 18 */ lfs f0, lbl_805A73D8@sda21(r13) +/* 800ED24C 000EA1AC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800ED250 000EA1B0 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800ED254 000EA1B4 40 80 00 0C */ bge lbl_800ED260 +/* 800ED258 000EA1B8 38 61 00 0C */ addi r3, r1, 0xc +/* 800ED25C 000EA1BC 48 00 00 08 */ b lbl_800ED264 +lbl_800ED260: +/* 800ED260 000EA1C0 38 6D 88 18 */ addi r3, r13, lbl_805A73D8@sda21 +lbl_800ED264: +/* 800ED264 000EA1C4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800ED268 000EA1C8 38 61 00 08 */ addi r3, r1, 8 +/* 800ED26C 000EA1CC 38 9E 00 1C */ addi r4, r30, 0x1c +/* 800ED270 000EA1D0 38 BE 00 14 */ addi r5, r30, 0x14 +/* 800ED274 000EA1D4 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 800ED278 000EA1D8 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 800ED27C 000EA1DC C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 800ED280 000EA1E0 EC 21 00 24 */ fdivs f1, f1, f0 +/* 800ED284 000EA1E4 48 27 60 29 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800ED288 000EA1E8 80 01 00 08 */ lwz r0, 8(r1) +/* 800ED28C 000EA1EC C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) +/* 800ED290 000EA1F0 90 1E 00 18 */ stw r0, 0x18(r30) +/* 800ED294 000EA1F4 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 800ED298 000EA1F8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800ED29C 000EA1FC 40 82 00 B4 */ bne lbl_800ED350 +/* 800ED2A0 000EA200 80 1E 00 04 */ lwz r0, 4(r30) +/* 800ED2A4 000EA204 90 1E 00 00 */ stw r0, 0(r30) +/* 800ED2A8 000EA208 80 1E 00 00 */ lwz r0, 0(r30) +/* 800ED2AC 000EA20C 2C 00 00 00 */ cmpwi r0, 0 +/* 800ED2B0 000EA210 40 82 00 A0 */ bne lbl_800ED350 +/* 800ED2B4 000EA214 38 61 00 10 */ addi r3, r1, 0x10 +/* 800ED2B8 000EA218 38 1E 00 24 */ addi r0, r30, 0x24 +/* 800ED2BC 000EA21C 38 80 00 00 */ li r4, 0 +/* 800ED2C0 000EA220 7C 03 00 40 */ cmplw r3, r0 +/* 800ED2C4 000EA224 98 81 00 10 */ stb r4, 0x10(r1) +/* 800ED2C8 000EA228 90 81 00 14 */ stw r4, 0x14(r1) +/* 800ED2CC 000EA22C 41 82 00 4C */ beq lbl_800ED318 +/* 800ED2D0 000EA230 88 1E 00 24 */ lbz r0, 0x24(r30) +/* 800ED2D4 000EA234 28 00 00 00 */ cmplwi r0, 0 +/* 800ED2D8 000EA238 41 82 00 28 */ beq lbl_800ED300 +/* 800ED2DC 000EA23C 83 FE 00 28 */ lwz r31, 0x28(r30) +/* 800ED2E0 000EA240 28 1F 00 00 */ cmplwi r31, 0 +/* 800ED2E4 000EA244 41 82 00 1C */ beq lbl_800ED300 +/* 800ED2E8 000EA248 41 82 00 10 */ beq lbl_800ED2F8 +/* 800ED2EC 000EA24C 7F E3 FB 78 */ mr r3, r31 +/* 800ED2F0 000EA250 38 80 00 00 */ li r4, 0 +/* 800ED2F4 000EA254 48 25 3B 4D */ bl __dt__6CTokenFv +lbl_800ED2F8: +/* 800ED2F8 000EA258 7F E3 FB 78 */ mr r3, r31 +/* 800ED2FC 000EA25C 48 22 86 35 */ bl Free__7CMemoryFPCv +lbl_800ED300: +/* 800ED300 000EA260 88 61 00 10 */ lbz r3, 0x10(r1) +/* 800ED304 000EA264 38 00 00 00 */ li r0, 0 +/* 800ED308 000EA268 98 7E 00 24 */ stb r3, 0x24(r30) +/* 800ED30C 000EA26C 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800ED310 000EA270 90 7E 00 28 */ stw r3, 0x28(r30) +/* 800ED314 000EA274 98 01 00 10 */ stb r0, 0x10(r1) +lbl_800ED318: +/* 800ED318 000EA278 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800ED31C 000EA27C 28 00 00 00 */ cmplwi r0, 0 +/* 800ED320 000EA280 41 82 00 28 */ beq lbl_800ED348 +/* 800ED324 000EA284 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800ED328 000EA288 28 1F 00 00 */ cmplwi r31, 0 +/* 800ED32C 000EA28C 41 82 00 1C */ beq lbl_800ED348 +/* 800ED330 000EA290 41 82 00 10 */ beq lbl_800ED340 +/* 800ED334 000EA294 7F E3 FB 78 */ mr r3, r31 +/* 800ED338 000EA298 38 80 00 00 */ li r4, 0 +/* 800ED33C 000EA29C 48 25 3B 05 */ bl __dt__6CTokenFv +lbl_800ED340: +/* 800ED340 000EA2A0 7F E3 FB 78 */ mr r3, r31 +/* 800ED344 000EA2A4 48 22 85 ED */ bl Free__7CMemoryFPCv +lbl_800ED348: +/* 800ED348 000EA2A8 38 00 FF FF */ li r0, -1 +/* 800ED34C 000EA2AC 90 1E 00 20 */ stw r0, 0x20(r30) +lbl_800ED350: +/* 800ED350 000EA2B0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800ED354 000EA2B4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800ED358 000EA2B8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800ED35C 000EA2BC 7C 08 03 A6 */ mtlr r0 +/* 800ED360 000EA2C0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800ED364 000EA2C4 4E 80 00 20 */ blr + +.global DisableFilter__17CCameraFilterPassFf +DisableFilter__17CCameraFilterPassFf: +/* 800ED368 000EA2C8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ED36C 000EA2CC 7C 08 02 A6 */ mflr r0 +/* 800ED370 000EA2D0 38 80 00 00 */ li r4, 0 +/* 800ED374 000EA2D4 38 E0 FF FF */ li r7, -1 +/* 800ED378 000EA2D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ED37C 000EA2DC 38 00 FF FF */ li r0, -1 +/* 800ED380 000EA2E0 38 C1 00 08 */ addi r6, r1, 8 +/* 800ED384 000EA2E4 90 01 00 08 */ stw r0, 8(r1) +/* 800ED388 000EA2E8 80 A3 00 08 */ lwz r5, 8(r3) +/* 800ED38C 000EA2EC 48 00 00 15 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +/* 800ED390 000EA2F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ED394 000EA2F4 7C 08 03 A6 */ mtlr r0 +/* 800ED398 000EA2F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ED39C 000EA2FC 4E 80 00 20 */ blr + +.global SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi: +/* 800ED3A0 000EA300 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800ED3A4 000EA304 7C 08 02 A6 */ mflr r0 +/* 800ED3A8 000EA308 90 01 00 74 */ stw r0, 0x74(r1) +/* 800ED3AC 000EA30C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800ED3B0 000EA310 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800ED3B4 000EA314 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 800ED3B8 000EA318 FF E0 08 90 */ fmr f31, f1 +/* 800ED3BC 000EA31C C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800ED3C0 000EA320 7C 7D 1B 78 */ mr r29, r3 +/* 800ED3C4 000EA324 7C 9E 23 78 */ mr r30, r4 +/* 800ED3C8 000EA328 7C FF 3B 78 */ mr r31, r7 +/* 800ED3CC 000EA32C FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 800ED3D0 000EA330 40 82 01 68 */ bne lbl_800ED538 +/* 800ED3D4 000EA334 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 800ED3D8 000EA338 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 800ED3DC 000EA33C 90 BD 00 08 */ stw r5, 8(r29) +/* 800ED3E0 000EA340 93 DD 00 04 */ stw r30, 4(r29) +/* 800ED3E4 000EA344 93 DD 00 00 */ stw r30, 0(r29) +/* 800ED3E8 000EA348 80 06 00 00 */ lwz r0, 0(r6) +/* 800ED3EC 000EA34C 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 800ED3F0 000EA350 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 800ED3F4 000EA354 90 1D 00 18 */ stw r0, 0x18(r29) +/* 800ED3F8 000EA358 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 800ED3FC 000EA35C 90 1D 00 14 */ stw r0, 0x14(r29) +/* 800ED400 000EA360 93 FD 00 20 */ stw r31, 0x20(r29) +/* 800ED404 000EA364 80 7D 00 20 */ lwz r3, 0x20(r29) +/* 800ED408 000EA368 3C 03 00 01 */ addis r0, r3, 1 +/* 800ED40C 000EA36C 28 00 FF FF */ cmplwi r0, 0xffff +/* 800ED410 000EA370 41 82 03 60 */ beq lbl_800ED770 +/* 800ED414 000EA374 3C 60 80 3D */ lis r3, lbl_803CE738@ha +/* 800ED418 000EA378 3B C0 00 00 */ li r30, 0 +/* 800ED41C 000EA37C 38 83 E7 38 */ addi r4, r3, lbl_803CE738@l +/* 800ED420 000EA380 38 60 00 0C */ li r3, 0xc +/* 800ED424 000EA384 38 84 01 CB */ addi r4, r4, 0x1cb +/* 800ED428 000EA388 38 A0 00 00 */ li r5, 0 +/* 800ED42C 000EA38C 48 22 84 41 */ bl __nw__FUlPCcPCc +/* 800ED430 000EA390 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800ED434 000EA394 41 82 00 50 */ beq lbl_800ED484 +/* 800ED438 000EA398 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 800ED43C 000EA39C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800ED440 000EA3A0 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 800ED444 000EA3A4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800ED448 000EA3A8 90 01 00 38 */ stw r0, 0x38(r1) +/* 800ED44C 000EA3AC 38 61 00 30 */ addi r3, r1, 0x30 +/* 800ED450 000EA3B0 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800ED454 000EA3B4 81 84 00 00 */ lwz r12, 0(r4) +/* 800ED458 000EA3B8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ED45C 000EA3BC 7D 89 03 A6 */ mtctr r12 +/* 800ED460 000EA3C0 4E 80 04 21 */ bctrl +/* 800ED464 000EA3C4 7F 83 E3 78 */ mr r3, r28 +/* 800ED468 000EA3C8 38 81 00 30 */ addi r4, r1, 0x30 +/* 800ED46C 000EA3CC 3B C0 00 01 */ li r30, 1 +/* 800ED470 000EA3D0 48 25 3A 39 */ bl __ct__6CTokenFRC6CToken +/* 800ED474 000EA3D4 7F 83 E3 78 */ mr r3, r28 +/* 800ED478 000EA3D8 48 25 39 95 */ bl GetObj__6CTokenFv +/* 800ED47C 000EA3DC 80 03 00 04 */ lwz r0, 4(r3) +/* 800ED480 000EA3E0 90 1C 00 08 */ stw r0, 8(r28) +lbl_800ED484: +/* 800ED484 000EA3E4 7C 1C 00 D0 */ neg r0, r28 +/* 800ED488 000EA3E8 38 61 00 28 */ addi r3, r1, 0x28 +/* 800ED48C 000EA3EC 7C 04 E3 78 */ or r4, r0, r28 +/* 800ED490 000EA3F0 38 1D 00 24 */ addi r0, r29, 0x24 +/* 800ED494 000EA3F4 54 84 0F FE */ srwi r4, r4, 0x1f +/* 800ED498 000EA3F8 93 81 00 2C */ stw r28, 0x2c(r1) +/* 800ED49C 000EA3FC 7C 03 00 40 */ cmplw r3, r0 +/* 800ED4A0 000EA400 98 81 00 28 */ stb r4, 0x28(r1) +/* 800ED4A4 000EA404 41 82 00 4C */ beq lbl_800ED4F0 +/* 800ED4A8 000EA408 88 1D 00 24 */ lbz r0, 0x24(r29) +/* 800ED4AC 000EA40C 28 00 00 00 */ cmplwi r0, 0 +/* 800ED4B0 000EA410 41 82 00 28 */ beq lbl_800ED4D8 +/* 800ED4B4 000EA414 83 9D 00 28 */ lwz r28, 0x28(r29) +/* 800ED4B8 000EA418 28 1C 00 00 */ cmplwi r28, 0 +/* 800ED4BC 000EA41C 41 82 00 1C */ beq lbl_800ED4D8 +/* 800ED4C0 000EA420 41 82 00 10 */ beq lbl_800ED4D0 +/* 800ED4C4 000EA424 7F 83 E3 78 */ mr r3, r28 +/* 800ED4C8 000EA428 38 80 00 00 */ li r4, 0 +/* 800ED4CC 000EA42C 48 25 39 75 */ bl __dt__6CTokenFv +lbl_800ED4D0: +/* 800ED4D0 000EA430 7F 83 E3 78 */ mr r3, r28 +/* 800ED4D4 000EA434 48 22 84 5D */ bl Free__7CMemoryFPCv +lbl_800ED4D8: +/* 800ED4D8 000EA438 88 61 00 28 */ lbz r3, 0x28(r1) +/* 800ED4DC 000EA43C 38 00 00 00 */ li r0, 0 +/* 800ED4E0 000EA440 98 7D 00 24 */ stb r3, 0x24(r29) +/* 800ED4E4 000EA444 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800ED4E8 000EA448 90 7D 00 28 */ stw r3, 0x28(r29) +/* 800ED4EC 000EA44C 98 01 00 28 */ stb r0, 0x28(r1) +lbl_800ED4F0: +/* 800ED4F0 000EA450 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800ED4F4 000EA454 28 00 00 00 */ cmplwi r0, 0 +/* 800ED4F8 000EA458 41 82 00 28 */ beq lbl_800ED520 +/* 800ED4FC 000EA45C 83 81 00 2C */ lwz r28, 0x2c(r1) +/* 800ED500 000EA460 28 1C 00 00 */ cmplwi r28, 0 +/* 800ED504 000EA464 41 82 00 1C */ beq lbl_800ED520 +/* 800ED508 000EA468 41 82 00 10 */ beq lbl_800ED518 +/* 800ED50C 000EA46C 7F 83 E3 78 */ mr r3, r28 +/* 800ED510 000EA470 38 80 00 00 */ li r4, 0 +/* 800ED514 000EA474 48 25 39 2D */ bl __dt__6CTokenFv +lbl_800ED518: +/* 800ED518 000EA478 7F 83 E3 78 */ mr r3, r28 +/* 800ED51C 000EA47C 48 22 84 15 */ bl Free__7CMemoryFPCv +lbl_800ED520: +/* 800ED520 000EA480 7F C0 07 75 */ extsb. r0, r30 +/* 800ED524 000EA484 41 82 02 4C */ beq lbl_800ED770 +/* 800ED528 000EA488 38 61 00 30 */ addi r3, r1, 0x30 +/* 800ED52C 000EA48C 38 80 FF FF */ li r4, -1 +/* 800ED530 000EA490 48 25 39 11 */ bl __dt__6CTokenFv +/* 800ED534 000EA494 48 00 02 3C */ b lbl_800ED770 +lbl_800ED538: +/* 800ED538 000EA498 80 06 00 00 */ lwz r0, 0(r6) +/* 800ED53C 000EA49C 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 800ED540 000EA4A0 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 800ED544 000EA4A4 90 1D 00 14 */ stw r0, 0x14(r29) +/* 800ED548 000EA4A8 90 BD 00 08 */ stw r5, 8(r29) +/* 800ED54C 000EA4AC 93 FD 00 20 */ stw r31, 0x20(r29) +/* 800ED550 000EA4B0 80 7D 00 20 */ lwz r3, 0x20(r29) +/* 800ED554 000EA4B4 3C 03 00 01 */ addis r0, r3, 1 +/* 800ED558 000EA4B8 28 00 FF FF */ cmplwi r0, 0xffff +/* 800ED55C 000EA4BC 41 82 01 24 */ beq lbl_800ED680 +/* 800ED560 000EA4C0 3C 60 80 3D */ lis r3, lbl_803CE738@ha +/* 800ED564 000EA4C4 3B 80 00 00 */ li r28, 0 +/* 800ED568 000EA4C8 38 83 E7 38 */ addi r4, r3, lbl_803CE738@l +/* 800ED56C 000EA4CC 38 60 00 0C */ li r3, 0xc +/* 800ED570 000EA4D0 38 84 01 CB */ addi r4, r4, 0x1cb +/* 800ED574 000EA4D4 38 A0 00 00 */ li r5, 0 +/* 800ED578 000EA4D8 48 22 82 F5 */ bl __nw__FUlPCcPCc +/* 800ED57C 000EA4DC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800ED580 000EA4E0 41 82 00 50 */ beq lbl_800ED5D0 +/* 800ED584 000EA4E4 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 800ED588 000EA4E8 93 E1 00 24 */ stw r31, 0x24(r1) +/* 800ED58C 000EA4EC 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 800ED590 000EA4F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800ED594 000EA4F4 90 01 00 20 */ stw r0, 0x20(r1) +/* 800ED598 000EA4F8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800ED59C 000EA4FC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800ED5A0 000EA500 81 84 00 00 */ lwz r12, 0(r4) +/* 800ED5A4 000EA504 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800ED5A8 000EA508 7D 89 03 A6 */ mtctr r12 +/* 800ED5AC 000EA50C 4E 80 04 21 */ bctrl +/* 800ED5B0 000EA510 7F 63 DB 78 */ mr r3, r27 +/* 800ED5B4 000EA514 38 81 00 18 */ addi r4, r1, 0x18 +/* 800ED5B8 000EA518 3B 80 00 01 */ li r28, 1 +/* 800ED5BC 000EA51C 48 25 38 ED */ bl __ct__6CTokenFRC6CToken +/* 800ED5C0 000EA520 7F 63 DB 78 */ mr r3, r27 +/* 800ED5C4 000EA524 48 25 38 49 */ bl GetObj__6CTokenFv +/* 800ED5C8 000EA528 80 03 00 04 */ lwz r0, 4(r3) +/* 800ED5CC 000EA52C 90 1B 00 08 */ stw r0, 8(r27) +lbl_800ED5D0: +/* 800ED5D0 000EA530 7C 1B 00 D0 */ neg r0, r27 +/* 800ED5D4 000EA534 38 61 00 10 */ addi r3, r1, 0x10 +/* 800ED5D8 000EA538 7C 04 DB 78 */ or r4, r0, r27 +/* 800ED5DC 000EA53C 38 1D 00 24 */ addi r0, r29, 0x24 +/* 800ED5E0 000EA540 54 84 0F FE */ srwi r4, r4, 0x1f +/* 800ED5E4 000EA544 93 61 00 14 */ stw r27, 0x14(r1) +/* 800ED5E8 000EA548 7C 03 00 40 */ cmplw r3, r0 +/* 800ED5EC 000EA54C 98 81 00 10 */ stb r4, 0x10(r1) +/* 800ED5F0 000EA550 41 82 00 4C */ beq lbl_800ED63C +/* 800ED5F4 000EA554 88 1D 00 24 */ lbz r0, 0x24(r29) +/* 800ED5F8 000EA558 28 00 00 00 */ cmplwi r0, 0 +/* 800ED5FC 000EA55C 41 82 00 28 */ beq lbl_800ED624 +/* 800ED600 000EA560 83 7D 00 28 */ lwz r27, 0x28(r29) +/* 800ED604 000EA564 28 1B 00 00 */ cmplwi r27, 0 +/* 800ED608 000EA568 41 82 00 1C */ beq lbl_800ED624 +/* 800ED60C 000EA56C 41 82 00 10 */ beq lbl_800ED61C +/* 800ED610 000EA570 7F 63 DB 78 */ mr r3, r27 +/* 800ED614 000EA574 38 80 00 00 */ li r4, 0 +/* 800ED618 000EA578 48 25 38 29 */ bl __dt__6CTokenFv +lbl_800ED61C: +/* 800ED61C 000EA57C 7F 63 DB 78 */ mr r3, r27 +/* 800ED620 000EA580 48 22 83 11 */ bl Free__7CMemoryFPCv +lbl_800ED624: +/* 800ED624 000EA584 88 61 00 10 */ lbz r3, 0x10(r1) +/* 800ED628 000EA588 38 00 00 00 */ li r0, 0 +/* 800ED62C 000EA58C 98 7D 00 24 */ stb r3, 0x24(r29) +/* 800ED630 000EA590 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800ED634 000EA594 90 7D 00 28 */ stw r3, 0x28(r29) +/* 800ED638 000EA598 98 01 00 10 */ stb r0, 0x10(r1) +lbl_800ED63C: +/* 800ED63C 000EA59C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800ED640 000EA5A0 28 00 00 00 */ cmplwi r0, 0 +/* 800ED644 000EA5A4 41 82 00 28 */ beq lbl_800ED66C +/* 800ED648 000EA5A8 83 61 00 14 */ lwz r27, 0x14(r1) +/* 800ED64C 000EA5AC 28 1B 00 00 */ cmplwi r27, 0 +/* 800ED650 000EA5B0 41 82 00 1C */ beq lbl_800ED66C +/* 800ED654 000EA5B4 41 82 00 10 */ beq lbl_800ED664 +/* 800ED658 000EA5B8 7F 63 DB 78 */ mr r3, r27 +/* 800ED65C 000EA5BC 38 80 00 00 */ li r4, 0 +/* 800ED660 000EA5C0 48 25 37 E1 */ bl __dt__6CTokenFv +lbl_800ED664: +/* 800ED664 000EA5C4 7F 63 DB 78 */ mr r3, r27 +/* 800ED668 000EA5C8 48 22 82 C9 */ bl Free__7CMemoryFPCv +lbl_800ED66C: +/* 800ED66C 000EA5CC 7F 80 07 75 */ extsb. r0, r28 +/* 800ED670 000EA5D0 41 82 00 10 */ beq lbl_800ED680 +/* 800ED674 000EA5D4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800ED678 000EA5D8 38 80 FF FF */ li r4, -1 +/* 800ED67C 000EA5DC 48 25 37 C5 */ bl __dt__6CTokenFv +lbl_800ED680: +/* 800ED680 000EA5E0 D3 FD 00 10 */ stfs f31, 0x10(r29) +/* 800ED684 000EA5E4 2C 1E 00 00 */ cmpwi r30, 0 +/* 800ED688 000EA5E8 D3 FD 00 0C */ stfs f31, 0xc(r29) +/* 800ED68C 000EA5EC 80 1D 00 04 */ lwz r0, 4(r29) +/* 800ED690 000EA5F0 90 1D 00 00 */ stw r0, 0(r29) +/* 800ED694 000EA5F4 93 DD 00 04 */ stw r30, 4(r29) +/* 800ED698 000EA5F8 40 82 00 64 */ bne lbl_800ED6FC +/* 800ED69C 000EA5FC 80 1D 00 00 */ lwz r0, 0(r29) +/* 800ED6A0 000EA600 2C 00 00 01 */ cmpwi r0, 1 +/* 800ED6A4 000EA604 40 82 00 14 */ bne lbl_800ED6B8 +/* 800ED6A8 000EA608 80 6D A3 20 */ lwz r3, lbl_805A8EE0@sda21(r13) +/* 800ED6AC 000EA60C 80 03 00 00 */ lwz r0, 0(r3) +/* 800ED6B0 000EA610 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 800ED6B4 000EA614 48 00 00 BC */ b lbl_800ED770 +lbl_800ED6B8: +/* 800ED6B8 000EA618 2C 00 00 03 */ cmpwi r0, 3 +/* 800ED6BC 000EA61C 41 82 00 0C */ beq lbl_800ED6C8 +/* 800ED6C0 000EA620 2C 00 00 05 */ cmpwi r0, 5 +/* 800ED6C4 000EA624 40 82 00 AC */ bne lbl_800ED770 +lbl_800ED6C8: +/* 800ED6C8 000EA628 E0 3D A0 1C */ psq_l f1, 28(r29), 1, qr2 +/* 800ED6CC 000EA62C E0 5D A0 1D */ psq_l f2, 29(r29), 1, qr2 +/* 800ED6D0 000EA630 E0 7D A0 1E */ psq_l f3, 30(r29), 1, qr2 +/* 800ED6D4 000EA634 38 61 00 0C */ addi r3, r1, 0xc +/* 800ED6D8 000EA638 C0 02 91 4C */ lfs f0, lbl_805AAE6C@sda21(r2) +/* 800ED6DC 000EA63C C0 82 90 EC */ lfs f4, lbl_805AAE0C@sda21(r2) +/* 800ED6E0 000EA640 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800ED6E4 000EA644 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 800ED6E8 000EA648 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 800ED6EC 000EA64C 48 27 5D 01 */ bl __ct__6CColorFffff +/* 800ED6F0 000EA650 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800ED6F4 000EA654 90 1D 00 1C */ stw r0, 0x1c(r29) +/* 800ED6F8 000EA658 48 00 00 78 */ b lbl_800ED770 +lbl_800ED6FC: +/* 800ED6FC 000EA65C 80 1D 00 00 */ lwz r0, 0(r29) +/* 800ED700 000EA660 2C 00 00 00 */ cmpwi r0, 0 +/* 800ED704 000EA664 40 82 00 64 */ bne lbl_800ED768 +/* 800ED708 000EA668 2C 1E 00 01 */ cmpwi r30, 1 +/* 800ED70C 000EA66C 40 82 00 14 */ bne lbl_800ED720 +/* 800ED710 000EA670 80 6D A3 20 */ lwz r3, lbl_805A8EE0@sda21(r13) +/* 800ED714 000EA674 80 03 00 00 */ lwz r0, 0(r3) +/* 800ED718 000EA678 90 1D 00 18 */ stw r0, 0x18(r29) +/* 800ED71C 000EA67C 48 00 00 4C */ b lbl_800ED768 +lbl_800ED720: +/* 800ED720 000EA680 2C 1E 00 03 */ cmpwi r30, 3 +/* 800ED724 000EA684 41 82 00 0C */ beq lbl_800ED730 +/* 800ED728 000EA688 2C 1E 00 05 */ cmpwi r30, 5 +/* 800ED72C 000EA68C 40 82 00 3C */ bne lbl_800ED768 +lbl_800ED730: +/* 800ED730 000EA690 E0 3D A0 1C */ psq_l f1, 28(r29), 1, qr2 +/* 800ED734 000EA694 E0 5D A0 1D */ psq_l f2, 29(r29), 1, qr2 +/* 800ED738 000EA698 E0 7D A0 1E */ psq_l f3, 30(r29), 1, qr2 +/* 800ED73C 000EA69C 38 61 00 08 */ addi r3, r1, 8 +/* 800ED740 000EA6A0 C0 02 91 4C */ lfs f0, lbl_805AAE6C@sda21(r2) +/* 800ED744 000EA6A4 C0 82 90 EC */ lfs f4, lbl_805AAE0C@sda21(r2) +/* 800ED748 000EA6A8 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800ED74C 000EA6AC EC 40 00 B2 */ fmuls f2, f0, f2 +/* 800ED750 000EA6B0 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 800ED754 000EA6B4 48 27 5C 99 */ bl __ct__6CColorFffff +/* 800ED758 000EA6B8 80 01 00 08 */ lwz r0, 8(r1) +/* 800ED75C 000EA6BC 90 1D 00 18 */ stw r0, 0x18(r29) +/* 800ED760 000EA6C0 80 1D 00 18 */ lwz r0, 0x18(r29) +/* 800ED764 000EA6C4 90 1D 00 14 */ stw r0, 0x14(r29) +lbl_800ED768: +/* 800ED768 000EA6C8 80 1D 00 04 */ lwz r0, 4(r29) +/* 800ED76C 000EA6CC 90 1D 00 00 */ stw r0, 0(r29) +lbl_800ED770: +/* 800ED770 000EA6D0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800ED774 000EA6D4 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800ED778 000EA6D8 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 800ED77C 000EA6DC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800ED780 000EA6E0 7C 08 03 A6 */ mtlr r0 +/* 800ED784 000EA6E4 38 21 00 70 */ addi r1, r1, 0x70 +/* 800ED788 000EA6E8 4E 80 00 20 */ blr + +.global __ct__17CCameraFilterPassFv +__ct__17CCameraFilterPassFv: +/* 800ED78C 000EA6EC 38 80 00 00 */ li r4, 0 +/* 800ED790 000EA6F0 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) +/* 800ED794 000EA6F4 90 83 00 00 */ stw r4, 0(r3) +/* 800ED798 000EA6F8 38 00 FF FF */ li r0, -1 +/* 800ED79C 000EA6FC 90 83 00 04 */ stw r4, 4(r3) +/* 800ED7A0 000EA700 90 83 00 08 */ stw r4, 8(r3) +/* 800ED7A4 000EA704 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800ED7A8 000EA708 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800ED7AC 000EA70C 90 03 00 14 */ stw r0, 0x14(r3) +/* 800ED7B0 000EA710 90 03 00 18 */ stw r0, 0x18(r3) +/* 800ED7B4 000EA714 90 03 00 1C */ stw r0, 0x1c(r3) +/* 800ED7B8 000EA718 90 03 00 20 */ stw r0, 0x20(r3) +/* 800ED7BC 000EA71C 98 83 00 24 */ stb r4, 0x24(r3) +/* 800ED7C0 000EA720 90 83 00 28 */ stw r4, 0x28(r3) +/* 800ED7C4 000EA724 4E 80 00 20 */ blr + +.global __sinit_CCameraFilter_cpp +__sinit_CCameraFilter_cpp: +/* 800ED7C8 000EA728 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ED7CC 000EA72C 7C 08 02 A6 */ mflr r0 +/* 800ED7D0 000EA730 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ED7D4 000EA734 48 25 C7 D9 */ bl White__6CColorFv +/* 800ED7D8 000EA738 90 6D A3 20 */ stw r3, lbl_805A8EE0@sda21(r13) +/* 800ED7DC 000EA73C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ED7E0 000EA740 7C 08 03 A6 */ mtlr r0 +/* 800ED7E4 000EA744 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ED7E8 000EA748 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CConsoleOutputWindow.s b/asm/Kyoto_CWD/CConsoleOutputWindow.s new file mode 100644 index 00000000..5bbf3fe1 --- /dev/null +++ b/asm/Kyoto_CWD/CConsoleOutputWindow.s @@ -0,0 +1,302 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Draw__20CConsoleOutputWindowCFv +Draw__20CConsoleOutputWindowCFv: +/* 800FE884 000FB7E4 4E 80 00 20 */ blr + +.global Update__20CConsoleOutputWindowFf +Update__20CConsoleOutputWindowFf: +/* 800FE888 000FB7E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FE88C 000FB7EC 38 C0 00 00 */ li r6, 0 +/* 800FE890 000FB7F0 38 A0 00 00 */ li r5, 0 +/* 800FE894 000FB7F4 48 00 00 40 */ b lbl_800FE8D4 +lbl_800FE898: +/* 800FE898 000FB7F8 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 800FE89C 000FB7FC C0 0D 89 84 */ lfs f0, lbl_805A7544@sda21(r13) +/* 800FE8A0 000FB800 7C 44 2C 2E */ lfsx f2, r4, r5 +/* 800FE8A4 000FB804 EC 42 08 28 */ fsubs f2, f2, f1 +/* 800FE8A8 000FB808 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 800FE8AC 000FB80C D0 41 00 08 */ stfs f2, 8(r1) +/* 800FE8B0 000FB810 40 80 00 0C */ bge lbl_800FE8BC +/* 800FE8B4 000FB814 38 81 00 08 */ addi r4, r1, 8 +/* 800FE8B8 000FB818 48 00 00 08 */ b lbl_800FE8C0 +lbl_800FE8BC: +/* 800FE8BC 000FB81C 38 8D 89 84 */ addi r4, r13, lbl_805A7544@sda21 +lbl_800FE8C0: +/* 800FE8C0 000FB820 C0 04 00 00 */ lfs f0, 0(r4) +/* 800FE8C4 000FB824 38 C6 00 01 */ addi r6, r6, 1 +/* 800FE8C8 000FB828 80 83 00 3C */ lwz r4, 0x3c(r3) +/* 800FE8CC 000FB82C 7C 04 2D 2E */ stfsx f0, r4, r5 +/* 800FE8D0 000FB830 38 A5 00 04 */ addi r5, r5, 4 +lbl_800FE8D4: +/* 800FE8D4 000FB834 80 03 00 24 */ lwz r0, 0x24(r3) +/* 800FE8D8 000FB838 7C 06 00 00 */ cmpw r6, r0 +/* 800FE8DC 000FB83C 41 80 FF BC */ blt lbl_800FE898 +/* 800FE8E0 000FB840 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FE8E4 000FB844 4E 80 00 20 */ blr + +.global OnMessage__20CConsoleOutputWindowFRC20CArchitectureMessageR18CArchitectureQueue +OnMessage__20CConsoleOutputWindowFRC20CArchitectureMessageR18CArchitectureQueue: +/* 800FE8E8 000FB848 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FE8EC 000FB84C 7C 08 02 A6 */ mflr r0 +/* 800FE8F0 000FB850 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FE8F4 000FB854 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FE8F8 000FB858 7C 7F 1B 78 */ mr r31, r3 +/* 800FE8FC 000FB85C 80 04 00 04 */ lwz r0, 4(r4) +/* 800FE900 000FB860 2C 00 00 05 */ cmpwi r0, 5 +/* 800FE904 000FB864 41 82 00 14 */ beq lbl_800FE918 +/* 800FE908 000FB868 40 80 00 38 */ bge lbl_800FE940 +/* 800FE90C 000FB86C 2C 00 00 04 */ cmpwi r0, 4 +/* 800FE910 000FB870 40 80 00 10 */ bge lbl_800FE920 +/* 800FE914 000FB874 48 00 00 2C */ b lbl_800FE940 +lbl_800FE918: +/* 800FE918 000FB878 38 60 00 00 */ li r3, 0 +/* 800FE91C 000FB87C 48 00 00 28 */ b lbl_800FE944 +lbl_800FE920: +/* 800FE920 000FB880 7C 83 23 78 */ mr r3, r4 +/* 800FE924 000FB884 4B F5 32 99 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage +/* 800FE928 000FB888 7C 64 1B 78 */ mr r4, r3 +/* 800FE92C 000FB88C 7F E3 FB 78 */ mr r3, r31 +/* 800FE930 000FB890 C0 24 00 04 */ lfs f1, 4(r4) +/* 800FE934 000FB894 4B FF FF 55 */ bl Update__20CConsoleOutputWindowFf +/* 800FE938 000FB898 38 60 00 00 */ li r3, 0 +/* 800FE93C 000FB89C 48 00 00 08 */ b lbl_800FE944 +lbl_800FE940: +/* 800FE940 000FB8A0 38 60 00 00 */ li r3, 0 +lbl_800FE944: +/* 800FE944 000FB8A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FE948 000FB8A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FE94C 000FB8AC 7C 08 03 A6 */ mtlr r0 +/* 800FE950 000FB8B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FE954 000FB8B4 4E 80 00 20 */ blr + +.global __dt__20CConsoleOutputWindowFv +__dt__20CConsoleOutputWindowFv: +/* 800FE958 000FB8B8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800FE95C 000FB8BC 7C 08 02 A6 */ mflr r0 +/* 800FE960 000FB8C0 90 01 00 44 */ stw r0, 0x44(r1) +/* 800FE964 000FB8C4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800FE968 000FB8C8 7C 9F 23 78 */ mr r31, r4 +/* 800FE96C 000FB8CC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800FE970 000FB8D0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800FE974 000FB8D4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800FE978 000FB8D8 93 81 00 30 */ stw r28, 0x30(r1) +/* 800FE97C 000FB8DC 41 82 00 E0 */ beq lbl_800FEA5C +/* 800FE980 000FB8E0 3C 60 80 3E */ lis r3, lbl_803DFE50@ha +/* 800FE984 000FB8E4 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 800FE988 000FB8E8 38 63 FE 50 */ addi r3, r3, lbl_803DFE50@l +/* 800FE98C 000FB8EC 38 00 00 00 */ li r0, 0 +/* 800FE990 000FB8F0 90 7E 00 00 */ stw r3, 0(r30) +/* 800FE994 000FB8F4 90 0D A3 40 */ stw r0, lbl_805A8F00@sda21(r13) +/* 800FE998 000FB8F8 41 82 00 44 */ beq lbl_800FE9DC +/* 800FE99C 000FB8FC 80 1E 00 34 */ lwz r0, 0x34(r30) +/* 800FE9A0 000FB900 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 800FE9A4 000FB904 54 00 10 3A */ slwi r0, r0, 2 +/* 800FE9A8 000FB908 7C 03 02 14 */ add r0, r3, r0 +/* 800FE9AC 000FB90C 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800FE9B0 000FB910 7C 64 1B 78 */ mr r4, r3 +/* 800FE9B4 000FB914 90 01 00 24 */ stw r0, 0x24(r1) +/* 800FE9B8 000FB918 90 01 00 20 */ stw r0, 0x20(r1) +/* 800FE9BC 000FB91C 90 61 00 18 */ stw r3, 0x18(r1) +/* 800FE9C0 000FB920 48 00 00 08 */ b lbl_800FE9C8 +lbl_800FE9C4: +/* 800FE9C4 000FB924 38 84 00 04 */ addi r4, r4, 4 +lbl_800FE9C8: +/* 800FE9C8 000FB928 7C 04 00 40 */ cmplw r4, r0 +/* 800FE9CC 000FB92C 40 82 FF F8 */ bne lbl_800FE9C4 +/* 800FE9D0 000FB930 28 03 00 00 */ cmplwi r3, 0 +/* 800FE9D4 000FB934 41 82 00 08 */ beq lbl_800FE9DC +/* 800FE9D8 000FB938 48 21 6F 59 */ bl Free__7CMemoryFPCv +lbl_800FE9DC: +/* 800FE9DC 000FB93C 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 800FE9E0 000FB940 41 82 00 54 */ beq lbl_800FEA34 +/* 800FE9E4 000FB944 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 800FE9E8 000FB948 83 9E 00 2C */ lwz r28, 0x2c(r30) +/* 800FE9EC 000FB94C 54 00 20 36 */ slwi r0, r0, 4 +/* 800FE9F0 000FB950 7F BC 02 14 */ add r29, r28, r0 +/* 800FE9F4 000FB954 93 81 00 0C */ stw r28, 0xc(r1) +/* 800FE9F8 000FB958 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800FE9FC 000FB95C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 800FEA00 000FB960 93 81 00 08 */ stw r28, 8(r1) +/* 800FEA04 000FB964 48 00 00 18 */ b lbl_800FEA1C +lbl_800FEA08: +/* 800FEA08 000FB968 28 1C 00 00 */ cmplwi r28, 0 +/* 800FEA0C 000FB96C 41 82 00 0C */ beq lbl_800FEA18 +/* 800FEA10 000FB970 7F 83 E3 78 */ mr r3, r28 +/* 800FEA14 000FB974 48 23 F0 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800FEA18: +/* 800FEA18 000FB978 3B 9C 00 10 */ addi r28, r28, 0x10 +lbl_800FEA1C: +/* 800FEA1C 000FB97C 7C 1C E8 40 */ cmplw r28, r29 +/* 800FEA20 000FB980 40 82 FF E8 */ bne lbl_800FEA08 +/* 800FEA24 000FB984 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 800FEA28 000FB988 28 03 00 00 */ cmplwi r3, 0 +/* 800FEA2C 000FB98C 41 82 00 08 */ beq lbl_800FEA34 +/* 800FEA30 000FB990 48 21 6F 01 */ bl Free__7CMemoryFPCv +lbl_800FEA34: +/* 800FEA34 000FB994 38 7E 00 14 */ addi r3, r30, 0x14 +/* 800FEA38 000FB998 38 80 FF FF */ li r4, -1 +/* 800FEA3C 000FB99C 48 20 75 85 */ bl __dt__5CFontFv +/* 800FEA40 000FB9A0 7F C3 F3 78 */ mr r3, r30 +/* 800FEA44 000FB9A4 38 80 00 00 */ li r4, 0 +/* 800FEA48 000FB9A8 4B F5 41 5D */ bl __dt__6CIOWinFv +/* 800FEA4C 000FB9AC 7F E0 07 35 */ extsh. r0, r31 +/* 800FEA50 000FB9B0 40 81 00 0C */ ble lbl_800FEA5C +/* 800FEA54 000FB9B4 7F C3 F3 78 */ mr r3, r30 +/* 800FEA58 000FB9B8 48 21 6E D9 */ bl Free__7CMemoryFPCv +lbl_800FEA5C: +/* 800FEA5C 000FB9BC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800FEA60 000FB9C0 7F C3 F3 78 */ mr r3, r30 +/* 800FEA64 000FB9C4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800FEA68 000FB9C8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800FEA6C 000FB9CC 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800FEA70 000FB9D0 83 81 00 30 */ lwz r28, 0x30(r1) +/* 800FEA74 000FB9D4 7C 08 03 A6 */ mtlr r0 +/* 800FEA78 000FB9D8 38 21 00 40 */ addi r1, r1, 0x40 +/* 800FEA7C 000FB9DC 4E 80 00 20 */ blr + +.global __ct__20CConsoleOutputWindowFiff +__ct__20CConsoleOutputWindowFiff: +/* 800FEA80 000FB9E0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800FEA84 000FB9E4 7C 08 02 A6 */ mflr r0 +/* 800FEA88 000FB9E8 90 01 00 74 */ stw r0, 0x74(r1) +/* 800FEA8C 000FB9EC DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800FEA90 000FB9F0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800FEA94 000FB9F4 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800FEA98 000FB9F8 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 800FEA9C 000FB9FC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800FEAA0 000FBA00 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800FEAA4 000FBA04 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800FEAA8 000FBA08 93 81 00 40 */ stw r28, 0x40(r1) +/* 800FEAAC 000FBA0C 3C A0 80 3D */ lis r5, lbl_803CEE00@ha +/* 800FEAB0 000FBA10 FF C0 08 90 */ fmr f30, f1 +/* 800FEAB4 000FBA14 FF E0 10 90 */ fmr f31, f2 +/* 800FEAB8 000FBA18 38 05 EE 00 */ addi r0, r5, lbl_803CEE00@l +/* 800FEABC 000FBA1C 7C 7C 1B 78 */ mr r28, r3 +/* 800FEAC0 000FBA20 7C 9D 23 78 */ mr r29, r4 +/* 800FEAC4 000FBA24 7C 04 03 78 */ mr r4, r0 +/* 800FEAC8 000FBA28 38 61 00 1C */ addi r3, r1, 0x1c +/* 800FEACC 000FBA2C 4B F0 61 ED */ bl string_l__4rstlFPCc +/* 800FEAD0 000FBA30 7F 83 E3 78 */ mr r3, r28 +/* 800FEAD4 000FBA34 38 81 00 1C */ addi r4, r1, 0x1c +/* 800FEAD8 000FBA38 4B F5 41 35 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800FEADC 000FBA3C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800FEAE0 000FBA40 48 23 F0 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800FEAE4 000FBA44 3C 60 80 3E */ lis r3, lbl_803DFE50@ha +/* 800FEAE8 000FBA48 FC 20 F8 90 */ fmr f1, f31 +/* 800FEAEC 000FBA4C 38 03 FE 50 */ addi r0, r3, lbl_803DFE50@l +/* 800FEAF0 000FBA50 38 7C 00 14 */ addi r3, r28, 0x14 +/* 800FEAF4 000FBA54 90 1C 00 00 */ stw r0, 0(r28) +/* 800FEAF8 000FBA58 48 20 75 05 */ bl __ct__5CFontFf +/* 800FEAFC 000FBA5C D3 DC 00 1C */ stfs f30, 0x1c(r28) +/* 800FEB00 000FBA60 38 00 00 00 */ li r0, 0 +/* 800FEB04 000FBA64 38 7C 00 14 */ addi r3, r28, 0x14 +/* 800FEB08 000FBA68 38 80 00 30 */ li r4, 0x30 +/* 800FEB0C 000FBA6C 90 1C 00 24 */ stw r0, 0x24(r28) +/* 800FEB10 000FBA70 90 1C 00 28 */ stw r0, 0x28(r28) +/* 800FEB14 000FBA74 90 1C 00 2C */ stw r0, 0x2c(r28) +/* 800FEB18 000FBA78 90 1C 00 34 */ stw r0, 0x34(r28) +/* 800FEB1C 000FBA7C 90 1C 00 38 */ stw r0, 0x38(r28) +/* 800FEB20 000FBA80 90 1C 00 3C */ stw r0, 0x3c(r28) +/* 800FEB24 000FBA84 48 20 74 79 */ bl CharWidth__5CFontCFc +/* 800FEB28 000FBA88 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 800FEB2C 000FBA8C 3C 60 43 30 */ lis r3, 0x4330 +/* 800FEB30 000FBA90 90 01 00 34 */ stw r0, 0x34(r1) +/* 800FEB34 000FBA94 38 00 00 00 */ li r0, 0 +/* 800FEB38 000FBA98 C8 42 93 B0 */ lfd f2, lbl_805AB0D0@sda21(r2) +/* 800FEB3C 000FBA9C 7F A4 EB 78 */ mr r4, r29 +/* 800FEB40 000FBAA0 90 61 00 30 */ stw r3, 0x30(r1) +/* 800FEB44 000FBAA4 38 7C 00 20 */ addi r3, r28, 0x20 +/* 800FEB48 000FBAA8 C0 02 93 A8 */ lfs f0, lbl_805AB0C8@sda21(r2) +/* 800FEB4C 000FBAAC C8 21 00 30 */ lfd f1, 0x30(r1) +/* 800FEB50 000FBAB0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800FEB54 000FBAB4 EC 00 08 24 */ fdivs f0, f0, f1 +/* 800FEB58 000FBAB8 FC 00 00 1E */ fctiwz f0, f0 +/* 800FEB5C 000FBABC D8 01 00 38 */ stfd f0, 0x38(r1) +/* 800FEB60 000FBAC0 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 800FEB64 000FBAC4 90 BC 00 40 */ stw r5, 0x40(r28) +/* 800FEB68 000FBAC8 90 1C 00 44 */ stw r0, 0x44(r28) +/* 800FEB6C 000FBACC 90 1C 00 48 */ stw r0, 0x48(r28) +/* 800FEB70 000FBAD0 4B F5 B0 45 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +/* 800FEB74 000FBAD4 7F A4 EB 78 */ mr r4, r29 +/* 800FEB78 000FBAD8 38 7C 00 30 */ addi r3, r28, 0x30 +/* 800FEB7C 000FBADC 4B F5 F2 7D */ bl "reserve__Q24rstl36vectorFi" +/* 800FEB80 000FBAE0 3C 60 80 3D */ lis r3, lbl_803CEE00@ha +/* 800FEB84 000FBAE4 3B C0 00 00 */ li r30, 0 +/* 800FEB88 000FBAE8 3B E3 EE 00 */ addi r31, r3, lbl_803CEE00@l +/* 800FEB8C 000FBAEC 48 00 00 C8 */ b lbl_800FEC54 +lbl_800FEB90: +/* 800FEB90 000FBAF0 80 BC 00 40 */ lwz r5, 0x40(r28) +/* 800FEB94 000FBAF4 38 61 00 0C */ addi r3, r1, 0xc +/* 800FEB98 000FBAF8 38 9F 00 14 */ addi r4, r31, 0x14 +/* 800FEB9C 000FBAFC 38 C1 00 08 */ addi r6, r1, 8 +/* 800FEBA0 000FBB00 38 A5 00 01 */ addi r5, r5, 1 +/* 800FEBA4 000FBB04 48 23 F5 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 800FEBA8 000FBB08 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 800FEBAC 000FBB0C 80 BC 00 28 */ lwz r5, 0x28(r28) +/* 800FEBB0 000FBB10 7C 00 28 00 */ cmpw r0, r5 +/* 800FEBB4 000FBB14 41 80 00 1C */ blt lbl_800FEBD0 +/* 800FEBB8 000FBB18 2C 05 00 00 */ cmpwi r5, 0 +/* 800FEBBC 000FBB1C 38 7C 00 20 */ addi r3, r28, 0x20 +/* 800FEBC0 000FBB20 38 80 00 04 */ li r4, 4 +/* 800FEBC4 000FBB24 41 82 00 08 */ beq lbl_800FEBCC +/* 800FEBC8 000FBB28 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800FEBCC: +/* 800FEBCC 000FBB2C 4B F5 AF E9 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" +lbl_800FEBD0: +/* 800FEBD0 000FBB30 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 800FEBD4 000FBB34 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 800FEBD8 000FBB38 54 00 20 36 */ slwi r0, r0, 4 +/* 800FEBDC 000FBB3C 7C 63 02 15 */ add. r3, r3, r0 +/* 800FEBE0 000FBB40 41 82 00 0C */ beq lbl_800FEBEC +/* 800FEBE4 000FBB44 38 81 00 0C */ addi r4, r1, 0xc +/* 800FEBE8 000FBB48 48 23 F5 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +lbl_800FEBEC: +/* 800FEBEC 000FBB4C 80 9C 00 24 */ lwz r4, 0x24(r28) +/* 800FEBF0 000FBB50 38 61 00 0C */ addi r3, r1, 0xc +/* 800FEBF4 000FBB54 38 04 00 01 */ addi r0, r4, 1 +/* 800FEBF8 000FBB58 90 1C 00 24 */ stw r0, 0x24(r28) +/* 800FEBFC 000FBB5C 48 23 EE E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800FEC00 000FBB60 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 800FEC04 000FBB64 80 BC 00 38 */ lwz r5, 0x38(r28) +/* 800FEC08 000FBB68 7C 00 28 00 */ cmpw r0, r5 +/* 800FEC0C 000FBB6C 41 80 00 1C */ blt lbl_800FEC28 +/* 800FEC10 000FBB70 2C 05 00 00 */ cmpwi r5, 0 +/* 800FEC14 000FBB74 38 7C 00 30 */ addi r3, r28, 0x30 +/* 800FEC18 000FBB78 38 80 00 04 */ li r4, 4 +/* 800FEC1C 000FBB7C 41 82 00 08 */ beq lbl_800FEC24 +/* 800FEC20 000FBB80 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800FEC24: +/* 800FEC24 000FBB84 4B F5 F1 D5 */ bl "reserve__Q24rstl36vectorFi" +lbl_800FEC28: +/* 800FEC28 000FBB88 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 800FEC2C 000FBB8C 80 7C 00 3C */ lwz r3, 0x3c(r28) +/* 800FEC30 000FBB90 54 00 10 3A */ slwi r0, r0, 2 +/* 800FEC34 000FBB94 7C 63 02 15 */ add. r3, r3, r0 +/* 800FEC38 000FBB98 41 82 00 0C */ beq lbl_800FEC44 +/* 800FEC3C 000FBB9C C0 0D 89 80 */ lfs f0, lbl_805A7540@sda21(r13) +/* 800FEC40 000FBBA0 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800FEC44: +/* 800FEC44 000FBBA4 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 800FEC48 000FBBA8 3B DE 00 01 */ addi r30, r30, 1 +/* 800FEC4C 000FBBAC 38 03 00 01 */ addi r0, r3, 1 +/* 800FEC50 000FBBB0 90 1C 00 34 */ stw r0, 0x34(r28) +lbl_800FEC54: +/* 800FEC54 000FBBB4 7C 1E E8 00 */ cmpw r30, r29 +/* 800FEC58 000FBBB8 41 80 FF 38 */ blt lbl_800FEB90 +/* 800FEC5C 000FBBBC 93 8D A3 40 */ stw r28, lbl_805A8F00@sda21(r13) +/* 800FEC60 000FBBC0 7F 83 E3 78 */ mr r3, r28 +/* 800FEC64 000FBBC4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800FEC68 000FBBC8 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800FEC6C 000FBBCC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 800FEC70 000FBBD0 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 800FEC74 000FBBD4 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800FEC78 000FBBD8 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800FEC7C 000FBBDC 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800FEC80 000FBBE0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800FEC84 000FBBE4 83 81 00 40 */ lwz r28, 0x40(r1) +/* 800FEC88 000FBBE8 7C 08 03 A6 */ mtlr r0 +/* 800FEC8C 000FBBEC 38 21 00 70 */ addi r1, r1, 0x70 +/* 800FEC90 000FBBF0 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CDamageVulnerability.s b/asm/Kyoto_CWD/CDamageVulnerability.s new file mode 100644 index 00000000..d19c43c0 --- /dev/null +++ b/asm/Kyoto_CWD/CDamageVulnerability.s @@ -0,0 +1,861 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode +GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode: +/* 80102490 000FF3F0 88 84 00 04 */ lbz r4, 4(r4) +/* 80102494 000FF3F4 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 80102498 000FF3F8 41 82 00 0C */ beq lbl_801024A4 +/* 8010249C 000FF3FC 80 63 00 60 */ lwz r3, 0x60(r3) +/* 801024A0 000FF400 4E 80 00 20 */ blr +lbl_801024A4: +/* 801024A4 000FF404 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 801024A8 000FF408 41 82 00 0C */ beq lbl_801024B4 +/* 801024AC 000FF40C 80 63 00 64 */ lwz r3, 0x64(r3) +/* 801024B0 000FF410 4E 80 00 20 */ blr +lbl_801024B4: +/* 801024B4 000FF414 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 801024B8 000FF418 4E 80 00 20 */ blr + +.global GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode: +/* 801024BC 000FF41C 80 E4 00 00 */ lwz r7, 0(r4) +/* 801024C0 000FF420 2C 07 00 00 */ cmpwi r7, 0 +/* 801024C4 000FF424 41 80 00 0C */ blt lbl_801024D0 +/* 801024C8 000FF428 2C 07 00 0E */ cmpwi r7, 0xe +/* 801024CC 000FF42C 40 81 00 0C */ ble lbl_801024D8 +lbl_801024D0: +/* 801024D0 000FF430 38 60 00 02 */ li r3, 2 +/* 801024D4 000FF434 4E 80 00 20 */ blr +lbl_801024D8: +/* 801024D8 000FF438 88 C4 00 04 */ lbz r6, 4(r4) +/* 801024DC 000FF43C 54 C0 DF FF */ rlwinm. r0, r6, 0x1b, 0x1f, 0x1f +/* 801024E0 000FF440 41 82 00 0C */ beq lbl_801024EC +/* 801024E4 000FF444 38 60 00 01 */ li r3, 1 +/* 801024E8 000FF448 4E 80 00 20 */ blr +lbl_801024EC: +/* 801024EC 000FF44C 54 C0 CF FF */ rlwinm. r0, r6, 0x19, 0x1f, 0x1f +/* 801024F0 000FF450 54 E6 10 3A */ slwi r6, r7, 2 +/* 801024F4 000FF454 7D 03 30 2E */ lwzx r8, r3, r6 +/* 801024F8 000FF458 41 82 00 1C */ beq lbl_80102514 +/* 801024FC 000FF45C 2C 07 00 04 */ cmpwi r7, 4 +/* 80102500 000FF460 40 80 00 10 */ bge lbl_80102510 +/* 80102504 000FF464 7C C3 32 14 */ add r6, r3, r6 +/* 80102508 000FF468 81 06 00 3C */ lwz r8, 0x3c(r6) +/* 8010250C 000FF46C 48 00 00 08 */ b lbl_80102514 +lbl_80102510: +/* 80102510 000FF470 39 00 00 01 */ li r8, 1 +lbl_80102514: +/* 80102514 000FF474 88 04 00 04 */ lbz r0, 4(r4) +/* 80102518 000FF478 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8010251C 000FF47C 41 82 00 20 */ beq lbl_8010253C +/* 80102520 000FF480 2C 07 00 04 */ cmpwi r7, 4 +/* 80102524 000FF484 40 80 00 14 */ bge lbl_80102538 +/* 80102528 000FF488 54 E0 10 3A */ slwi r0, r7, 2 +/* 8010252C 000FF48C 7C 63 02 14 */ add r3, r3, r0 +/* 80102530 000FF490 81 03 00 4C */ lwz r8, 0x4c(r3) +/* 80102534 000FF494 48 00 00 08 */ b lbl_8010253C +lbl_80102538: +/* 80102538 000FF498 39 00 00 01 */ li r8, 1 +lbl_8010253C: +/* 8010253C 000FF49C 2C 05 00 01 */ cmpwi r5, 1 +/* 80102540 000FF4A0 40 82 00 0C */ bne lbl_8010254C +/* 80102544 000FF4A4 7D 03 43 78 */ mr r3, r8 +/* 80102548 000FF4A8 4E 80 00 20 */ blr +lbl_8010254C: +/* 8010254C 000FF4AC 2C 08 00 05 */ cmpwi r8, 5 +/* 80102550 000FF4B0 40 82 00 0C */ bne lbl_8010255C +/* 80102554 000FF4B4 38 60 00 00 */ li r3, 0 +/* 80102558 000FF4B8 4E 80 00 20 */ blr +lbl_8010255C: +/* 8010255C 000FF4BC 2C 08 00 06 */ cmpwi r8, 6 +/* 80102560 000FF4C0 40 82 00 0C */ bne lbl_8010256C +/* 80102564 000FF4C4 38 60 00 01 */ li r3, 1 +/* 80102568 000FF4C8 4E 80 00 20 */ blr +lbl_8010256C: +/* 8010256C 000FF4CC 2C 08 00 07 */ cmpwi r8, 7 +/* 80102570 000FF4D0 40 82 00 0C */ bne lbl_8010257C +/* 80102574 000FF4D4 38 60 00 03 */ li r3, 3 +/* 80102578 000FF4D8 4E 80 00 20 */ blr +lbl_8010257C: +/* 8010257C 000FF4DC 7D 03 43 78 */ mr r3, r8 +/* 80102580 000FF4E0 4E 80 00 20 */ blr + +.global WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei +WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei: +/* 80102584 000FF4E4 81 24 00 00 */ lwz r9, 0(r4) +/* 80102588 000FF4E8 2C 09 00 00 */ cmpwi r9, 0 +/* 8010258C 000FF4EC 41 80 00 0C */ blt lbl_80102598 +/* 80102590 000FF4F0 2C 09 00 0E */ cmpwi r9, 0xe +/* 80102594 000FF4F4 40 81 00 0C */ ble lbl_801025A0 +lbl_80102598: +/* 80102598 000FF4F8 38 60 00 00 */ li r3, 0 +/* 8010259C 000FF4FC 4E 80 00 20 */ blr +lbl_801025A0: +/* 801025A0 000FF500 88 04 00 04 */ lbz r0, 4(r4) +/* 801025A4 000FF504 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 801025A8 000FF508 41 82 00 0C */ beq lbl_801025B4 +/* 801025AC 000FF50C 38 60 00 01 */ li r3, 1 +/* 801025B0 000FF510 4E 80 00 20 */ blr +lbl_801025B4: +/* 801025B4 000FF514 55 2A 10 3A */ slwi r10, r9, 2 +/* 801025B8 000FF518 2C 05 00 00 */ cmpwi r5, 0 +/* 801025BC 000FF51C 7C E3 50 2E */ lwzx r7, r3, r10 +/* 801025C0 000FF520 40 82 00 18 */ bne lbl_801025D8 +/* 801025C4 000FF524 20 C7 00 02 */ subfic r6, r7, 2 +/* 801025C8 000FF528 38 07 FF FE */ addi r0, r7, -2 +/* 801025CC 000FF52C 7C C0 03 78 */ or r0, r6, r0 +/* 801025D0 000FF530 54 07 0F FE */ srwi r7, r0, 0x1f +/* 801025D4 000FF534 48 00 00 2C */ b lbl_80102600 +lbl_801025D8: +/* 801025D8 000FF538 2C 07 00 02 */ cmpwi r7, 2 +/* 801025DC 000FF53C 41 82 00 18 */ beq lbl_801025F4 +/* 801025E0 000FF540 38 07 FF FB */ addi r0, r7, -5 +/* 801025E4 000FF544 28 00 00 01 */ cmplwi r0, 1 +/* 801025E8 000FF548 40 81 00 0C */ ble lbl_801025F4 +/* 801025EC 000FF54C 2C 07 00 07 */ cmpwi r7, 7 +/* 801025F0 000FF550 40 82 00 0C */ bne lbl_801025FC +lbl_801025F4: +/* 801025F4 000FF554 38 E0 00 00 */ li r7, 0 +/* 801025F8 000FF558 48 00 00 08 */ b lbl_80102600 +lbl_801025FC: +/* 801025FC 000FF55C 38 E0 00 01 */ li r7, 1 +lbl_80102600: +/* 80102600 000FF560 2C 09 00 04 */ cmpwi r9, 4 +/* 80102604 000FF564 40 80 00 54 */ bge lbl_80102658 +/* 80102608 000FF568 7C C3 52 14 */ add r6, r3, r10 +/* 8010260C 000FF56C 2C 05 00 00 */ cmpwi r5, 0 +/* 80102610 000FF570 81 06 00 3C */ lwz r8, 0x3c(r6) +/* 80102614 000FF574 40 82 00 18 */ bne lbl_8010262C +/* 80102618 000FF578 20 C8 00 02 */ subfic r6, r8, 2 +/* 8010261C 000FF57C 38 08 FF FE */ addi r0, r8, -2 +/* 80102620 000FF580 7C C0 03 78 */ or r0, r6, r0 +/* 80102624 000FF584 54 06 0F FE */ srwi r6, r0, 0x1f +/* 80102628 000FF588 48 00 00 34 */ b lbl_8010265C +lbl_8010262C: +/* 8010262C 000FF58C 2C 08 00 02 */ cmpwi r8, 2 +/* 80102630 000FF590 41 82 00 18 */ beq lbl_80102648 +/* 80102634 000FF594 38 08 FF FB */ addi r0, r8, -5 +/* 80102638 000FF598 28 00 00 01 */ cmplwi r0, 1 +/* 8010263C 000FF59C 40 81 00 0C */ ble lbl_80102648 +/* 80102640 000FF5A0 2C 08 00 07 */ cmpwi r8, 7 +/* 80102644 000FF5A4 40 82 00 0C */ bne lbl_80102650 +lbl_80102648: +/* 80102648 000FF5A8 38 C0 00 00 */ li r6, 0 +/* 8010264C 000FF5AC 48 00 00 10 */ b lbl_8010265C +lbl_80102650: +/* 80102650 000FF5B0 38 C0 00 01 */ li r6, 1 +/* 80102654 000FF5B4 48 00 00 08 */ b lbl_8010265C +lbl_80102658: +/* 80102658 000FF5B8 38 C0 00 01 */ li r6, 1 +lbl_8010265C: +/* 8010265C 000FF5BC 2C 09 00 04 */ cmpwi r9, 4 +/* 80102660 000FF5C0 40 80 00 54 */ bge lbl_801026B4 +/* 80102664 000FF5C4 7C 63 52 14 */ add r3, r3, r10 +/* 80102668 000FF5C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8010266C 000FF5CC 80 A3 00 4C */ lwz r5, 0x4c(r3) +/* 80102670 000FF5D0 40 82 00 18 */ bne lbl_80102688 +/* 80102674 000FF5D4 20 65 00 02 */ subfic r3, r5, 2 +/* 80102678 000FF5D8 38 05 FF FE */ addi r0, r5, -2 +/* 8010267C 000FF5DC 7C 60 03 78 */ or r0, r3, r0 +/* 80102680 000FF5E0 54 08 0F FE */ srwi r8, r0, 0x1f +/* 80102684 000FF5E4 48 00 00 34 */ b lbl_801026B8 +lbl_80102688: +/* 80102688 000FF5E8 2C 05 00 02 */ cmpwi r5, 2 +/* 8010268C 000FF5EC 41 82 00 18 */ beq lbl_801026A4 +/* 80102690 000FF5F0 38 05 FF FB */ addi r0, r5, -5 +/* 80102694 000FF5F4 28 00 00 01 */ cmplwi r0, 1 +/* 80102698 000FF5F8 40 81 00 0C */ ble lbl_801026A4 +/* 8010269C 000FF5FC 2C 05 00 07 */ cmpwi r5, 7 +/* 801026A0 000FF600 40 82 00 0C */ bne lbl_801026AC +lbl_801026A4: +/* 801026A4 000FF604 39 00 00 00 */ li r8, 0 +/* 801026A8 000FF608 48 00 00 10 */ b lbl_801026B8 +lbl_801026AC: +/* 801026AC 000FF60C 39 00 00 01 */ li r8, 1 +/* 801026B0 000FF610 48 00 00 08 */ b lbl_801026B8 +lbl_801026B4: +/* 801026B4 000FF614 39 00 00 01 */ li r8, 1 +lbl_801026B8: +/* 801026B8 000FF618 54 E0 06 3F */ clrlwi. r0, r7, 0x18 +/* 801026BC 000FF61C 38 60 00 00 */ li r3, 0 +/* 801026C0 000FF620 41 82 00 18 */ beq lbl_801026D8 +/* 801026C4 000FF624 88 A4 00 04 */ lbz r5, 4(r4) +/* 801026C8 000FF628 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f +/* 801026CC 000FF62C 40 82 00 0C */ bne lbl_801026D8 +/* 801026D0 000FF630 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f +/* 801026D4 000FF634 41 82 00 2C */ beq lbl_80102700 +lbl_801026D8: +/* 801026D8 000FF638 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 801026DC 000FF63C 41 82 00 10 */ beq lbl_801026EC +/* 801026E0 000FF640 88 04 00 04 */ lbz r0, 4(r4) +/* 801026E4 000FF644 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801026E8 000FF648 40 82 00 18 */ bne lbl_80102700 +lbl_801026EC: +/* 801026EC 000FF64C 55 00 06 3F */ clrlwi. r0, r8, 0x18 +/* 801026F0 000FF650 4D 82 00 20 */ beqlr +/* 801026F4 000FF654 88 04 00 04 */ lbz r0, 4(r4) +/* 801026F8 000FF658 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801026FC 000FF65C 4D 82 00 20 */ beqlr +lbl_80102700: +/* 80102700 000FF660 38 60 00 01 */ li r3, 1 +/* 80102704 000FF664 4E 80 00 20 */ blr + +.global WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode: +/* 80102708 000FF668 80 E4 00 00 */ lwz r7, 0(r4) +/* 8010270C 000FF66C 2C 07 00 00 */ cmpwi r7, 0 +/* 80102710 000FF670 41 80 00 0C */ blt lbl_8010271C +/* 80102714 000FF674 2C 07 00 0E */ cmpwi r7, 0xe +/* 80102718 000FF678 40 81 00 0C */ ble lbl_80102724 +lbl_8010271C: +/* 8010271C 000FF67C 38 60 00 00 */ li r3, 0 +/* 80102720 000FF680 4E 80 00 20 */ blr +lbl_80102724: +/* 80102724 000FF684 88 04 00 04 */ lbz r0, 4(r4) +/* 80102728 000FF688 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8010272C 000FF68C 41 82 00 0C */ beq lbl_80102738 +/* 80102730 000FF690 38 60 00 01 */ li r3, 1 +/* 80102734 000FF694 4E 80 00 20 */ blr +lbl_80102738: +/* 80102738 000FF698 54 E8 10 3A */ slwi r8, r7, 2 +/* 8010273C 000FF69C 2C 05 00 00 */ cmpwi r5, 0 +/* 80102740 000FF6A0 7D 43 40 2E */ lwzx r10, r3, r8 +/* 80102744 000FF6A4 40 82 00 58 */ bne lbl_8010279C +/* 80102748 000FF6A8 38 00 00 01 */ li r0, 1 +/* 8010274C 000FF6AC 20 CA 00 01 */ subfic r6, r10, 1 +/* 80102750 000FF6B0 7C 09 53 38 */ orc r9, r0, r10 +/* 80102754 000FF6B4 54 C6 F8 7E */ srwi r6, r6, 1 +/* 80102758 000FF6B8 7C 0B 03 78 */ mr r11, r0 +/* 8010275C 000FF6BC 7C C6 48 50 */ subf r6, r6, r9 +/* 80102760 000FF6C0 7C 09 03 78 */ mr r9, r0 +/* 80102764 000FF6C4 54 C6 0F FF */ rlwinm. r6, r6, 1, 0x1f, 0x1f +/* 80102768 000FF6C8 40 82 00 08 */ bne lbl_80102770 +/* 8010276C 000FF6CC 39 20 00 00 */ li r9, 0 +lbl_80102770: +/* 80102770 000FF6D0 55 26 06 3F */ clrlwi. r6, r9, 0x18 +/* 80102774 000FF6D4 40 82 00 10 */ bne lbl_80102784 +/* 80102778 000FF6D8 2C 0A 00 05 */ cmpwi r10, 5 +/* 8010277C 000FF6DC 41 82 00 08 */ beq lbl_80102784 +/* 80102780 000FF6E0 39 60 00 00 */ li r11, 0 +lbl_80102784: +/* 80102784 000FF6E4 55 66 06 3F */ clrlwi. r6, r11, 0x18 +/* 80102788 000FF6E8 40 82 00 34 */ bne lbl_801027BC +/* 8010278C 000FF6EC 2C 0A 00 06 */ cmpwi r10, 6 +/* 80102790 000FF6F0 41 82 00 2C */ beq lbl_801027BC +/* 80102794 000FF6F4 38 00 00 00 */ li r0, 0 +/* 80102798 000FF6F8 48 00 00 24 */ b lbl_801027BC +lbl_8010279C: +/* 8010279C 000FF6FC 20 CA 00 01 */ subfic r6, r10, 1 +/* 801027A0 000FF700 38 00 00 01 */ li r0, 1 +/* 801027A4 000FF704 7C 09 53 38 */ orc r9, r0, r10 +/* 801027A8 000FF708 54 C6 F8 7E */ srwi r6, r6, 1 +/* 801027AC 000FF70C 7C C6 48 50 */ subf r6, r6, r9 +/* 801027B0 000FF710 54 C6 0F FF */ rlwinm. r6, r6, 1, 0x1f, 0x1f +/* 801027B4 000FF714 40 82 00 08 */ bne lbl_801027BC +/* 801027B8 000FF718 38 00 00 00 */ li r0, 0 +lbl_801027BC: +/* 801027BC 000FF71C 2C 07 00 04 */ cmpwi r7, 4 +/* 801027C0 000FF720 40 80 00 8C */ bge lbl_8010284C +/* 801027C4 000FF724 7C C3 42 14 */ add r6, r3, r8 +/* 801027C8 000FF728 2C 05 00 00 */ cmpwi r5, 0 +/* 801027CC 000FF72C 81 66 00 3C */ lwz r11, 0x3c(r6) +/* 801027D0 000FF730 40 82 00 58 */ bne lbl_80102828 +/* 801027D4 000FF734 38 C0 00 01 */ li r6, 1 +/* 801027D8 000FF738 21 2B 00 01 */ subfic r9, r11, 1 +/* 801027DC 000FF73C 7C CA 5B 38 */ orc r10, r6, r11 +/* 801027E0 000FF740 55 29 F8 7E */ srwi r9, r9, 1 +/* 801027E4 000FF744 7C CC 33 78 */ mr r12, r6 +/* 801027E8 000FF748 7D 29 50 50 */ subf r9, r9, r10 +/* 801027EC 000FF74C 7C CA 33 78 */ mr r10, r6 +/* 801027F0 000FF750 55 29 0F FF */ rlwinm. r9, r9, 1, 0x1f, 0x1f +/* 801027F4 000FF754 40 82 00 08 */ bne lbl_801027FC +/* 801027F8 000FF758 39 40 00 00 */ li r10, 0 +lbl_801027FC: +/* 801027FC 000FF75C 55 49 06 3F */ clrlwi. r9, r10, 0x18 +/* 80102800 000FF760 40 82 00 10 */ bne lbl_80102810 +/* 80102804 000FF764 2C 0B 00 05 */ cmpwi r11, 5 +/* 80102808 000FF768 41 82 00 08 */ beq lbl_80102810 +/* 8010280C 000FF76C 39 80 00 00 */ li r12, 0 +lbl_80102810: +/* 80102810 000FF770 55 89 06 3F */ clrlwi. r9, r12, 0x18 +/* 80102814 000FF774 40 82 00 3C */ bne lbl_80102850 +/* 80102818 000FF778 2C 0B 00 06 */ cmpwi r11, 6 +/* 8010281C 000FF77C 41 82 00 34 */ beq lbl_80102850 +/* 80102820 000FF780 38 C0 00 00 */ li r6, 0 +/* 80102824 000FF784 48 00 00 2C */ b lbl_80102850 +lbl_80102828: +/* 80102828 000FF788 21 2B 00 01 */ subfic r9, r11, 1 +/* 8010282C 000FF78C 38 C0 00 01 */ li r6, 1 +/* 80102830 000FF790 7C CA 5B 38 */ orc r10, r6, r11 +/* 80102834 000FF794 55 29 F8 7E */ srwi r9, r9, 1 +/* 80102838 000FF798 7D 29 50 50 */ subf r9, r9, r10 +/* 8010283C 000FF79C 55 29 0F FF */ rlwinm. r9, r9, 1, 0x1f, 0x1f +/* 80102840 000FF7A0 40 82 00 10 */ bne lbl_80102850 +/* 80102844 000FF7A4 38 C0 00 00 */ li r6, 0 +/* 80102848 000FF7A8 48 00 00 08 */ b lbl_80102850 +lbl_8010284C: +/* 8010284C 000FF7AC 38 C0 00 01 */ li r6, 1 +lbl_80102850: +/* 80102850 000FF7B0 2C 07 00 04 */ cmpwi r7, 4 +/* 80102854 000FF7B4 40 80 00 8C */ bge lbl_801028E0 +/* 80102858 000FF7B8 7C 63 42 14 */ add r3, r3, r8 +/* 8010285C 000FF7BC 2C 05 00 00 */ cmpwi r5, 0 +/* 80102860 000FF7C0 81 03 00 4C */ lwz r8, 0x4c(r3) +/* 80102864 000FF7C4 40 82 00 58 */ bne lbl_801028BC +/* 80102868 000FF7C8 38 A0 00 01 */ li r5, 1 +/* 8010286C 000FF7CC 20 68 00 01 */ subfic r3, r8, 1 +/* 80102870 000FF7D0 7C A7 43 38 */ orc r7, r5, r8 +/* 80102874 000FF7D4 54 63 F8 7E */ srwi r3, r3, 1 +/* 80102878 000FF7D8 7C A9 2B 78 */ mr r9, r5 +/* 8010287C 000FF7DC 7C 63 38 50 */ subf r3, r3, r7 +/* 80102880 000FF7E0 7C A7 2B 78 */ mr r7, r5 +/* 80102884 000FF7E4 54 63 0F FF */ rlwinm. r3, r3, 1, 0x1f, 0x1f +/* 80102888 000FF7E8 40 82 00 08 */ bne lbl_80102890 +/* 8010288C 000FF7EC 38 E0 00 00 */ li r7, 0 +lbl_80102890: +/* 80102890 000FF7F0 54 E3 06 3F */ clrlwi. r3, r7, 0x18 +/* 80102894 000FF7F4 40 82 00 10 */ bne lbl_801028A4 +/* 80102898 000FF7F8 2C 08 00 05 */ cmpwi r8, 5 +/* 8010289C 000FF7FC 41 82 00 08 */ beq lbl_801028A4 +/* 801028A0 000FF800 39 20 00 00 */ li r9, 0 +lbl_801028A4: +/* 801028A4 000FF804 55 23 06 3F */ clrlwi. r3, r9, 0x18 +/* 801028A8 000FF808 40 82 00 3C */ bne lbl_801028E4 +/* 801028AC 000FF80C 2C 08 00 06 */ cmpwi r8, 6 +/* 801028B0 000FF810 41 82 00 34 */ beq lbl_801028E4 +/* 801028B4 000FF814 38 A0 00 00 */ li r5, 0 +/* 801028B8 000FF818 48 00 00 2C */ b lbl_801028E4 +lbl_801028BC: +/* 801028BC 000FF81C 20 68 00 01 */ subfic r3, r8, 1 +/* 801028C0 000FF820 38 A0 00 01 */ li r5, 1 +/* 801028C4 000FF824 7C A7 43 38 */ orc r7, r5, r8 +/* 801028C8 000FF828 54 63 F8 7E */ srwi r3, r3, 1 +/* 801028CC 000FF82C 7C 63 38 50 */ subf r3, r3, r7 +/* 801028D0 000FF830 54 63 0F FF */ rlwinm. r3, r3, 1, 0x1f, 0x1f +/* 801028D4 000FF834 40 82 00 10 */ bne lbl_801028E4 +/* 801028D8 000FF838 38 A0 00 00 */ li r5, 0 +/* 801028DC 000FF83C 48 00 00 08 */ b lbl_801028E4 +lbl_801028E0: +/* 801028E0 000FF840 38 A0 00 01 */ li r5, 1 +lbl_801028E4: +/* 801028E4 000FF844 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 801028E8 000FF848 38 60 00 00 */ li r3, 0 +/* 801028EC 000FF84C 41 82 00 18 */ beq lbl_80102904 +/* 801028F0 000FF850 88 E4 00 04 */ lbz r7, 4(r4) +/* 801028F4 000FF854 54 E0 CF FF */ rlwinm. r0, r7, 0x19, 0x1f, 0x1f +/* 801028F8 000FF858 40 82 00 0C */ bne lbl_80102904 +/* 801028FC 000FF85C 54 E0 D7 FF */ rlwinm. r0, r7, 0x1a, 0x1f, 0x1f +/* 80102900 000FF860 41 82 00 2C */ beq lbl_8010292C +lbl_80102904: +/* 80102904 000FF864 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 80102908 000FF868 41 82 00 10 */ beq lbl_80102918 +/* 8010290C 000FF86C 88 04 00 04 */ lbz r0, 4(r4) +/* 80102910 000FF870 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80102914 000FF874 40 82 00 18 */ bne lbl_8010292C +lbl_80102918: +/* 80102918 000FF878 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8010291C 000FF87C 4D 82 00 20 */ beqlr +/* 80102920 000FF880 88 04 00 04 */ lbz r0, 4(r4) +/* 80102924 000FF884 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80102928 000FF888 4D 82 00 20 */ beqlr +lbl_8010292C: +/* 8010292C 000FF88C 38 60 00 01 */ li r3, 1 +/* 80102930 000FF890 4E 80 00 20 */ blr + +.global __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType +__ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType: +/* 80102934 000FF894 90 83 00 00 */ stw r4, 0(r3) +/* 80102938 000FF898 80 01 00 08 */ lwz r0, 8(r1) +/* 8010293C 000FF89C 90 A3 00 04 */ stw r5, 4(r3) +/* 80102940 000FF8A0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 80102944 000FF8A4 90 C3 00 08 */ stw r6, 8(r3) +/* 80102948 000FF8A8 81 81 00 10 */ lwz r12, 0x10(r1) +/* 8010294C 000FF8AC 90 E3 00 0C */ stw r7, 0xc(r3) +/* 80102950 000FF8B0 81 61 00 14 */ lwz r11, 0x14(r1) +/* 80102954 000FF8B4 91 03 00 10 */ stw r8, 0x10(r3) +/* 80102958 000FF8B8 80 E1 00 18 */ lwz r7, 0x18(r1) +/* 8010295C 000FF8BC 91 23 00 14 */ stw r9, 0x14(r3) +/* 80102960 000FF8C0 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80102964 000FF8C4 91 43 00 18 */ stw r10, 0x18(r3) +/* 80102968 000FF8C8 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8010296C 000FF8CC 90 03 00 1C */ stw r0, 0x1c(r3) +/* 80102970 000FF8D0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80102974 000FF8D4 90 83 00 20 */ stw r4, 0x20(r3) +/* 80102978 000FF8D8 80 81 00 28 */ lwz r4, 0x28(r1) +/* 8010297C 000FF8DC 91 83 00 24 */ stw r12, 0x24(r3) +/* 80102980 000FF8E0 91 63 00 28 */ stw r11, 0x28(r3) +/* 80102984 000FF8E4 90 E3 00 2C */ stw r7, 0x2c(r3) +/* 80102988 000FF8E8 90 C3 00 30 */ stw r6, 0x30(r3) +/* 8010298C 000FF8EC 90 A3 00 34 */ stw r5, 0x34(r3) +/* 80102990 000FF8F0 90 03 00 38 */ stw r0, 0x38(r3) +/* 80102994 000FF8F4 80 03 00 00 */ lwz r0, 0(r3) +/* 80102998 000FF8F8 90 03 00 3C */ stw r0, 0x3c(r3) +/* 8010299C 000FF8FC 80 03 00 00 */ lwz r0, 0(r3) +/* 801029A0 000FF900 90 03 00 4C */ stw r0, 0x4c(r3) +/* 801029A4 000FF904 80 03 00 04 */ lwz r0, 4(r3) +/* 801029A8 000FF908 90 03 00 40 */ stw r0, 0x40(r3) +/* 801029AC 000FF90C 80 03 00 04 */ lwz r0, 4(r3) +/* 801029B0 000FF910 90 03 00 50 */ stw r0, 0x50(r3) +/* 801029B4 000FF914 80 03 00 08 */ lwz r0, 8(r3) +/* 801029B8 000FF918 90 03 00 44 */ stw r0, 0x44(r3) +/* 801029BC 000FF91C 80 03 00 08 */ lwz r0, 8(r3) +/* 801029C0 000FF920 90 03 00 54 */ stw r0, 0x54(r3) +/* 801029C4 000FF924 80 03 00 0C */ lwz r0, 0xc(r3) +/* 801029C8 000FF928 90 03 00 48 */ stw r0, 0x48(r3) +/* 801029CC 000FF92C 80 03 00 0C */ lwz r0, 0xc(r3) +/* 801029D0 000FF930 90 03 00 58 */ stw r0, 0x58(r3) +/* 801029D4 000FF934 90 83 00 5C */ stw r4, 0x5c(r3) +/* 801029D8 000FF938 4E 80 00 20 */ blr + +.global LoadData__20CDamageVulnerabilityFR12CInputStreami +LoadData__20CDamageVulnerabilityFR12CInputStreami: +/* 801029DC 000FF93C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801029E0 000FF940 7C 08 02 A6 */ mflr r0 +/* 801029E4 000FF944 38 A5 FF FD */ addi r5, r5, -3 +/* 801029E8 000FF948 90 01 00 34 */ stw r0, 0x34(r1) +/* 801029EC 000FF94C 38 00 00 0F */ li r0, 0xf +/* 801029F0 000FF950 2C 05 00 0F */ cmpwi r5, 0xf +/* 801029F4 000FF954 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 801029F8 000FF958 7C 7E 1B 78 */ mr r30, r3 +/* 801029FC 000FF95C 7C 9F 23 78 */ mr r31, r4 +/* 80102A00 000FF960 38 61 00 0C */ addi r3, r1, 0xc +/* 80102A04 000FF964 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80102A08 000FF968 90 01 00 08 */ stw r0, 8(r1) +/* 80102A0C 000FF96C 40 81 00 08 */ ble lbl_80102A14 +/* 80102A10 000FF970 38 61 00 08 */ addi r3, r1, 8 +lbl_80102A14: +/* 80102A14 000FF974 83 83 00 00 */ lwz r28, 0(r3) +/* 80102A18 000FF978 7F DD F3 78 */ mr r29, r30 +/* 80102A1C 000FF97C 3B 60 00 00 */ li r27, 0 +/* 80102A20 000FF980 48 00 00 18 */ b lbl_80102A38 +lbl_80102A24: +/* 80102A24 000FF984 7F E3 FB 78 */ mr r3, r31 +/* 80102A28 000FF988 48 23 C2 5D */ bl ReadLong__12CInputStreamFv +/* 80102A2C 000FF98C 90 7D 00 00 */ stw r3, 0(r29) +/* 80102A30 000FF990 3B BD 00 04 */ addi r29, r29, 4 +/* 80102A34 000FF994 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80102A38: +/* 80102A38 000FF998 7C 1B E0 00 */ cmpw r27, r28 +/* 80102A3C 000FF99C 41 80 FF E8 */ blt lbl_80102A24 +/* 80102A40 000FF9A0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80102A44 000FF9A4 38 80 00 02 */ li r4, 2 +/* 80102A48 000FF9A8 2C 03 00 0F */ cmpwi r3, 0xf +/* 80102A4C 000FF9AC 54 60 10 3A */ slwi r0, r3, 2 +/* 80102A50 000FF9B0 7C BE 02 14 */ add r5, r30, r0 +/* 80102A54 000FF9B4 20 63 00 0F */ subfic r3, r3, 0xf +/* 80102A58 000FF9B8 40 80 00 50 */ bge lbl_80102AA8 +/* 80102A5C 000FF9BC 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f +/* 80102A60 000FF9C0 7C 09 03 A6 */ mtctr r0 +/* 80102A64 000FF9C4 41 82 00 34 */ beq lbl_80102A98 +lbl_80102A68: +/* 80102A68 000FF9C8 90 85 00 00 */ stw r4, 0(r5) +/* 80102A6C 000FF9CC 90 85 00 04 */ stw r4, 4(r5) +/* 80102A70 000FF9D0 90 85 00 08 */ stw r4, 8(r5) +/* 80102A74 000FF9D4 90 85 00 0C */ stw r4, 0xc(r5) +/* 80102A78 000FF9D8 90 85 00 10 */ stw r4, 0x10(r5) +/* 80102A7C 000FF9DC 90 85 00 14 */ stw r4, 0x14(r5) +/* 80102A80 000FF9E0 90 85 00 18 */ stw r4, 0x18(r5) +/* 80102A84 000FF9E4 90 85 00 1C */ stw r4, 0x1c(r5) +/* 80102A88 000FF9E8 38 A5 00 20 */ addi r5, r5, 0x20 +/* 80102A8C 000FF9EC 42 00 FF DC */ bdnz lbl_80102A68 +/* 80102A90 000FF9F0 70 63 00 07 */ andi. r3, r3, 7 +/* 80102A94 000FF9F4 41 82 00 14 */ beq lbl_80102AA8 +lbl_80102A98: +/* 80102A98 000FF9F8 7C 69 03 A6 */ mtctr r3 +lbl_80102A9C: +/* 80102A9C 000FF9FC 90 85 00 00 */ stw r4, 0(r5) +/* 80102AA0 000FFA00 38 A5 00 04 */ addi r5, r5, 4 +/* 80102AA4 000FFA04 42 00 FF F8 */ bdnz lbl_80102A9C +lbl_80102AA8: +/* 80102AA8 000FFA08 3B 60 00 0F */ li r27, 0xf +/* 80102AAC 000FFA0C 48 00 00 10 */ b lbl_80102ABC +lbl_80102AB0: +/* 80102AB0 000FFA10 7F E3 FB 78 */ mr r3, r31 +/* 80102AB4 000FFA14 48 23 C1 D1 */ bl ReadLong__12CInputStreamFv +/* 80102AB8 000FFA18 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80102ABC: +/* 80102ABC 000FFA1C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80102AC0 000FFA20 7C 1B 00 00 */ cmpw r27, r0 +/* 80102AC4 000FFA24 41 80 FF EC */ blt lbl_80102AB0 +/* 80102AC8 000FFA28 7F E3 FB 78 */ mr r3, r31 +/* 80102ACC 000FFA2C 48 23 C1 B9 */ bl ReadLong__12CInputStreamFv +/* 80102AD0 000FFA30 90 7E 00 5C */ stw r3, 0x5c(r30) +/* 80102AD4 000FFA34 7F E3 FB 78 */ mr r3, r31 +/* 80102AD8 000FFA38 48 23 C1 AD */ bl ReadLong__12CInputStreamFv +/* 80102ADC 000FFA3C 3B 60 00 00 */ li r27, 0 +/* 80102AE0 000FFA40 7F DD F3 78 */ mr r29, r30 +lbl_80102AE4: +/* 80102AE4 000FFA44 7F E3 FB 78 */ mr r3, r31 +/* 80102AE8 000FFA48 48 23 C1 9D */ bl ReadLong__12CInputStreamFv +/* 80102AEC 000FFA4C 3B 7B 00 01 */ addi r27, r27, 1 +/* 80102AF0 000FFA50 90 7D 00 3C */ stw r3, 0x3c(r29) +/* 80102AF4 000FFA54 2C 1B 00 04 */ cmpwi r27, 4 +/* 80102AF8 000FFA58 3B BD 00 04 */ addi r29, r29, 4 +/* 80102AFC 000FFA5C 41 80 FF E8 */ blt lbl_80102AE4 +/* 80102B00 000FFA60 7F E3 FB 78 */ mr r3, r31 +/* 80102B04 000FFA64 48 23 C1 81 */ bl ReadLong__12CInputStreamFv +/* 80102B08 000FFA68 90 7E 00 60 */ stw r3, 0x60(r30) +/* 80102B0C 000FFA6C 7F E3 FB 78 */ mr r3, r31 +/* 80102B10 000FFA70 48 23 C1 75 */ bl ReadLong__12CInputStreamFv +/* 80102B14 000FFA74 3B 60 00 00 */ li r27, 0 +/* 80102B18 000FFA78 7F DD F3 78 */ mr r29, r30 +lbl_80102B1C: +/* 80102B1C 000FFA7C 7F E3 FB 78 */ mr r3, r31 +/* 80102B20 000FFA80 48 23 C1 65 */ bl ReadLong__12CInputStreamFv +/* 80102B24 000FFA84 3B 7B 00 01 */ addi r27, r27, 1 +/* 80102B28 000FFA88 90 7D 00 4C */ stw r3, 0x4c(r29) +/* 80102B2C 000FFA8C 2C 1B 00 04 */ cmpwi r27, 4 +/* 80102B30 000FFA90 3B BD 00 04 */ addi r29, r29, 4 +/* 80102B34 000FFA94 41 80 FF E8 */ blt lbl_80102B1C +/* 80102B38 000FFA98 7F E3 FB 78 */ mr r3, r31 +/* 80102B3C 000FFA9C 48 23 C1 49 */ bl ReadLong__12CInputStreamFv +/* 80102B40 000FFAA0 90 7E 00 64 */ stw r3, 0x64(r30) +/* 80102B44 000FFAA4 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80102B48 000FFAA8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80102B4C 000FFAAC 7C 08 03 A6 */ mtlr r0 +/* 80102B50 000FFAB0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80102B54 000FFAB4 4E 80 00 20 */ blr + +.global __ct__20CDamageVulnerabilityFR12CInputStream +__ct__20CDamageVulnerabilityFR12CInputStream: +/* 80102B58 000FFAB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80102B5C 000FFABC 7C 08 02 A6 */ mflr r0 +/* 80102B60 000FFAC0 3C A0 80 57 */ lis r5, lbl_80570004@ha +/* 80102B64 000FFAC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80102B68 000FFAC8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80102B6C 000FFACC 7C 9F 23 78 */ mr r31, r4 +/* 80102B70 000FFAD0 7C 7E 1B 78 */ mr r30, r3 +/* 80102B74 000FFAD4 7F E3 FB 78 */ mr r3, r31 +/* 80102B78 000FFAD8 84 85 D7 18 */ lwzu r4, -0x28e8(r5) +/* 80102B7C 000FFADC 80 05 00 04 */ lwz r0, lbl_80570004@l(r5) +/* 80102B80 000FFAE0 90 9E 00 00 */ stw r4, 0(r30) +/* 80102B84 000FFAE4 90 1E 00 04 */ stw r0, 4(r30) +/* 80102B88 000FFAE8 80 85 00 08 */ lwz r4, 8(r5) +/* 80102B8C 000FFAEC 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80102B90 000FFAF0 90 9E 00 08 */ stw r4, 8(r30) +/* 80102B94 000FFAF4 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80102B98 000FFAF8 80 85 00 10 */ lwz r4, 0x10(r5) +/* 80102B9C 000FFAFC 80 05 00 14 */ lwz r0, 0x14(r5) +/* 80102BA0 000FFB00 90 9E 00 10 */ stw r4, 0x10(r30) +/* 80102BA4 000FFB04 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80102BA8 000FFB08 80 85 00 18 */ lwz r4, 0x18(r5) +/* 80102BAC 000FFB0C 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 80102BB0 000FFB10 90 9E 00 18 */ stw r4, 0x18(r30) +/* 80102BB4 000FFB14 90 1E 00 1C */ stw r0, 0x1c(r30) +/* 80102BB8 000FFB18 80 85 00 20 */ lwz r4, 0x20(r5) +/* 80102BBC 000FFB1C 80 05 00 24 */ lwz r0, 0x24(r5) +/* 80102BC0 000FFB20 90 9E 00 20 */ stw r4, 0x20(r30) +/* 80102BC4 000FFB24 90 1E 00 24 */ stw r0, 0x24(r30) +/* 80102BC8 000FFB28 80 85 00 28 */ lwz r4, 0x28(r5) +/* 80102BCC 000FFB2C 80 05 00 2C */ lwz r0, 0x2c(r5) +/* 80102BD0 000FFB30 90 9E 00 28 */ stw r4, 0x28(r30) +/* 80102BD4 000FFB34 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 80102BD8 000FFB38 80 85 00 30 */ lwz r4, 0x30(r5) +/* 80102BDC 000FFB3C 80 05 00 34 */ lwz r0, 0x34(r5) +/* 80102BE0 000FFB40 90 9E 00 30 */ stw r4, 0x30(r30) +/* 80102BE4 000FFB44 90 1E 00 34 */ stw r0, 0x34(r30) +/* 80102BE8 000FFB48 80 05 00 38 */ lwz r0, 0x38(r5) +/* 80102BEC 000FFB4C 90 1E 00 38 */ stw r0, 0x38(r30) +/* 80102BF0 000FFB50 80 85 00 3C */ lwz r4, 0x3c(r5) +/* 80102BF4 000FFB54 80 05 00 40 */ lwz r0, 0x40(r5) +/* 80102BF8 000FFB58 90 9E 00 3C */ stw r4, 0x3c(r30) +/* 80102BFC 000FFB5C 90 1E 00 40 */ stw r0, 0x40(r30) +/* 80102C00 000FFB60 80 85 00 44 */ lwz r4, 0x44(r5) +/* 80102C04 000FFB64 80 05 00 48 */ lwz r0, 0x48(r5) +/* 80102C08 000FFB68 90 9E 00 44 */ stw r4, 0x44(r30) +/* 80102C0C 000FFB6C 90 1E 00 48 */ stw r0, 0x48(r30) +/* 80102C10 000FFB70 80 85 00 4C */ lwz r4, 0x4c(r5) +/* 80102C14 000FFB74 80 05 00 50 */ lwz r0, 0x50(r5) +/* 80102C18 000FFB78 90 9E 00 4C */ stw r4, 0x4c(r30) +/* 80102C1C 000FFB7C 90 1E 00 50 */ stw r0, 0x50(r30) +/* 80102C20 000FFB80 80 85 00 54 */ lwz r4, 0x54(r5) +/* 80102C24 000FFB84 80 05 00 58 */ lwz r0, 0x58(r5) +/* 80102C28 000FFB88 90 9E 00 54 */ stw r4, 0x54(r30) +/* 80102C2C 000FFB8C 90 1E 00 58 */ stw r0, 0x58(r30) +/* 80102C30 000FFB90 80 05 00 5C */ lwz r0, 0x5c(r5) +/* 80102C34 000FFB94 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 80102C38 000FFB98 80 05 00 60 */ lwz r0, 0x60(r5) +/* 80102C3C 000FFB9C 90 1E 00 60 */ stw r0, 0x60(r30) +/* 80102C40 000FFBA0 80 05 00 64 */ lwz r0, 0x64(r5) +/* 80102C44 000FFBA4 90 1E 00 64 */ stw r0, 0x64(r30) +/* 80102C48 000FFBA8 48 23 C0 3D */ bl ReadLong__12CInputStreamFv +/* 80102C4C 000FFBAC 7C 7C 1B 78 */ mr r28, r3 +/* 80102C50 000FFBB0 2C 1C 00 0B */ cmpwi r28, 0xb +/* 80102C54 000FFBB4 40 82 00 8C */ bne lbl_80102CE0 +/* 80102C58 000FFBB8 3B A0 00 00 */ li r29, 0 +/* 80102C5C 000FFBBC 7F DB F3 78 */ mr r27, r30 +lbl_80102C60: +/* 80102C60 000FFBC0 7F E3 FB 78 */ mr r3, r31 +/* 80102C64 000FFBC4 48 23 C0 21 */ bl ReadLong__12CInputStreamFv +/* 80102C68 000FFBC8 3B BD 00 01 */ addi r29, r29, 1 +/* 80102C6C 000FFBCC 90 7B 00 00 */ stw r3, 0(r27) +/* 80102C70 000FFBD0 2C 1D 00 0F */ cmpwi r29, 0xf +/* 80102C74 000FFBD4 3B 7B 00 04 */ addi r27, r27, 4 +/* 80102C78 000FFBD8 41 80 FF E8 */ blt lbl_80102C60 +/* 80102C7C 000FFBDC 2C 1C 00 0F */ cmpwi r28, 0xf +/* 80102C80 000FFBE0 40 82 00 10 */ bne lbl_80102C90 +/* 80102C84 000FFBE4 38 00 00 00 */ li r0, 0 +/* 80102C88 000FFBE8 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 80102C8C 000FFBEC 48 00 00 10 */ b lbl_80102C9C +lbl_80102C90: +/* 80102C90 000FFBF0 7F E3 FB 78 */ mr r3, r31 +/* 80102C94 000FFBF4 48 23 BF F1 */ bl ReadLong__12CInputStreamFv +/* 80102C98 000FFBF8 90 7E 00 5C */ stw r3, 0x5c(r30) +lbl_80102C9C: +/* 80102C9C 000FFBFC 80 1E 00 00 */ lwz r0, 0(r30) +/* 80102CA0 000FFC00 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 80102CA4 000FFC04 80 1E 00 00 */ lwz r0, 0(r30) +/* 80102CA8 000FFC08 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 80102CAC 000FFC0C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80102CB0 000FFC10 90 1E 00 40 */ stw r0, 0x40(r30) +/* 80102CB4 000FFC14 80 1E 00 04 */ lwz r0, 4(r30) +/* 80102CB8 000FFC18 90 1E 00 50 */ stw r0, 0x50(r30) +/* 80102CBC 000FFC1C 80 1E 00 08 */ lwz r0, 8(r30) +/* 80102CC0 000FFC20 90 1E 00 44 */ stw r0, 0x44(r30) +/* 80102CC4 000FFC24 80 1E 00 08 */ lwz r0, 8(r30) +/* 80102CC8 000FFC28 90 1E 00 54 */ stw r0, 0x54(r30) +/* 80102CCC 000FFC2C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80102CD0 000FFC30 90 1E 00 48 */ stw r0, 0x48(r30) +/* 80102CD4 000FFC34 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80102CD8 000FFC38 90 1E 00 58 */ stw r0, 0x58(r30) +/* 80102CDC 000FFC3C 48 00 00 14 */ b lbl_80102CF0 +lbl_80102CE0: +/* 80102CE0 000FFC40 7F C3 F3 78 */ mr r3, r30 +/* 80102CE4 000FFC44 7F E4 FB 78 */ mr r4, r31 +/* 80102CE8 000FFC48 7F 85 E3 78 */ mr r5, r28 +/* 80102CEC 000FFC4C 4B FF FC F1 */ bl LoadData__20CDamageVulnerabilityFR12CInputStreami +lbl_80102CF0: +/* 80102CF0 000FFC50 7F C3 F3 78 */ mr r3, r30 +/* 80102CF4 000FFC54 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80102CF8 000FFC58 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80102CFC 000FFC5C 7C 08 03 A6 */ mtlr r0 +/* 80102D00 000FFC60 38 21 00 20 */ addi r1, r1, 0x20 +/* 80102D04 000FFC64 4E 80 00 20 */ blr + +.global __sinit_CDamageVulnerability_cpp +__sinit_CDamageVulnerability_cpp: +/* 80102D08 000FFC68 3C 60 80 57 */ lis r3, lbl_8056D578@ha +/* 80102D0C 000FFC6C 94 21 FE 50 */ stwu r1, -0x1b0(r1) +/* 80102D10 000FFC70 39 60 00 01 */ li r11, 1 +/* 80102D14 000FFC74 39 40 00 00 */ li r10, 0 +/* 80102D18 000FFC78 38 C3 D5 78 */ addi r6, r3, lbl_8056D578@l +/* 80102D1C 000FFC7C 91 61 01 40 */ stw r11, 0x140(r1) +/* 80102D20 000FFC80 91 61 01 44 */ stw r11, 0x144(r1) +/* 80102D24 000FFC84 91 61 01 48 */ stw r11, 0x148(r1) +/* 80102D28 000FFC88 91 61 01 4C */ stw r11, 0x14c(r1) +/* 80102D2C 000FFC8C 91 61 01 50 */ stw r11, 0x150(r1) +/* 80102D30 000FFC90 91 61 01 54 */ stw r11, 0x154(r1) +/* 80102D34 000FFC94 91 61 01 58 */ stw r11, 0x158(r1) +/* 80102D38 000FFC98 91 61 01 5C */ stw r11, 0x15c(r1) +/* 80102D3C 000FFC9C 91 61 01 60 */ stw r11, 0x160(r1) +/* 80102D40 000FFCA0 91 61 01 64 */ stw r11, 0x164(r1) +/* 80102D44 000FFCA4 91 61 01 68 */ stw r11, 0x168(r1) +/* 80102D48 000FFCA8 91 61 01 6C */ stw r11, 0x16c(r1) +/* 80102D4C 000FFCAC 91 61 01 70 */ stw r11, 0x170(r1) +/* 80102D50 000FFCB0 91 61 01 74 */ stw r11, 0x174(r1) +/* 80102D54 000FFCB4 91 61 01 78 */ stw r11, 0x178(r1) +/* 80102D58 000FFCB8 91 61 01 7C */ stw r11, 0x17c(r1) +/* 80102D5C 000FFCBC 91 61 01 8C */ stw r11, 0x18c(r1) +/* 80102D60 000FFCC0 91 61 01 80 */ stw r11, 0x180(r1) +/* 80102D64 000FFCC4 91 61 01 90 */ stw r11, 0x190(r1) +/* 80102D68 000FFCC8 91 61 01 84 */ stw r11, 0x184(r1) +/* 80102D6C 000FFCCC 91 61 01 94 */ stw r11, 0x194(r1) +/* 80102D70 000FFCD0 91 61 01 88 */ stw r11, 0x188(r1) +/* 80102D74 000FFCD4 91 61 01 98 */ stw r11, 0x198(r1) +/* 80102D78 000FFCD8 91 41 01 9C */ stw r10, 0x19c(r1) +/* 80102D7C 000FFCDC 91 66 00 00 */ stw r11, 0(r6) +/* 80102D80 000FFCE0 91 66 00 04 */ stw r11, 4(r6) +/* 80102D84 000FFCE4 91 66 00 08 */ stw r11, 8(r6) +/* 80102D88 000FFCE8 91 66 00 0C */ stw r11, 0xc(r6) +/* 80102D8C 000FFCEC 91 66 00 10 */ stw r11, 0x10(r6) +/* 80102D90 000FFCF0 91 66 00 14 */ stw r11, 0x14(r6) +/* 80102D94 000FFCF4 91 66 00 18 */ stw r11, 0x18(r6) +/* 80102D98 000FFCF8 91 66 00 1C */ stw r11, 0x1c(r6) +/* 80102D9C 000FFCFC 91 66 00 20 */ stw r11, 0x20(r6) +/* 80102DA0 000FFD00 91 66 00 24 */ stw r11, 0x24(r6) +/* 80102DA4 000FFD04 91 66 00 28 */ stw r11, 0x28(r6) +/* 80102DA8 000FFD08 91 66 00 2C */ stw r11, 0x2c(r6) +/* 80102DAC 000FFD0C 91 66 00 30 */ stw r11, 0x30(r6) +/* 80102DB0 000FFD10 91 66 00 34 */ stw r11, 0x34(r6) +/* 80102DB4 000FFD14 91 66 00 38 */ stw r11, 0x38(r6) +/* 80102DB8 000FFD18 91 66 00 3C */ stw r11, 0x3c(r6) +/* 80102DBC 000FFD1C 91 66 00 40 */ stw r11, 0x40(r6) +/* 80102DC0 000FFD20 91 66 00 44 */ stw r11, 0x44(r6) +/* 80102DC4 000FFD24 91 66 00 48 */ stw r11, 0x48(r6) +/* 80102DC8 000FFD28 91 66 00 4C */ stw r11, 0x4c(r6) +/* 80102DCC 000FFD2C 91 66 00 50 */ stw r11, 0x50(r6) +/* 80102DD0 000FFD30 91 66 00 54 */ stw r11, 0x54(r6) +/* 80102DD4 000FFD34 91 66 00 58 */ stw r11, 0x58(r6) +/* 80102DD8 000FFD38 80 81 01 A0 */ lwz r4, 0x1a0(r1) +/* 80102DDC 000FFD3C 3C 60 80 57 */ lis r3, lbl_8056D718@ha +/* 80102DE0 000FFD40 39 20 00 02 */ li r9, 2 +/* 80102DE4 000FFD44 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 80102DE8 000FFD48 38 A3 D7 18 */ addi r5, r3, lbl_8056D718@l +/* 80102DEC 000FFD4C 91 46 00 5C */ stw r10, 0x5c(r6) +/* 80102DF0 000FFD50 90 86 00 60 */ stw r4, 0x60(r6) +/* 80102DF4 000FFD54 90 06 00 64 */ stw r0, 0x64(r6) +/* 80102DF8 000FFD58 91 21 00 D8 */ stw r9, 0xd8(r1) +/* 80102DFC 000FFD5C 91 21 00 DC */ stw r9, 0xdc(r1) +/* 80102E00 000FFD60 91 21 00 E0 */ stw r9, 0xe0(r1) +/* 80102E04 000FFD64 91 21 00 E4 */ stw r9, 0xe4(r1) +/* 80102E08 000FFD68 91 21 00 E8 */ stw r9, 0xe8(r1) +/* 80102E0C 000FFD6C 91 21 00 EC */ stw r9, 0xec(r1) +/* 80102E10 000FFD70 91 21 00 F0 */ stw r9, 0xf0(r1) +/* 80102E14 000FFD74 91 21 00 F4 */ stw r9, 0xf4(r1) +/* 80102E18 000FFD78 91 21 00 F8 */ stw r9, 0xf8(r1) +/* 80102E1C 000FFD7C 91 21 00 FC */ stw r9, 0xfc(r1) +/* 80102E20 000FFD80 91 21 01 00 */ stw r9, 0x100(r1) +/* 80102E24 000FFD84 91 21 01 04 */ stw r9, 0x104(r1) +/* 80102E28 000FFD88 91 21 01 08 */ stw r9, 0x108(r1) +/* 80102E2C 000FFD8C 91 21 01 0C */ stw r9, 0x10c(r1) +/* 80102E30 000FFD90 91 21 01 10 */ stw r9, 0x110(r1) +/* 80102E34 000FFD94 91 21 01 14 */ stw r9, 0x114(r1) +/* 80102E38 000FFD98 91 21 01 24 */ stw r9, 0x124(r1) +/* 80102E3C 000FFD9C 91 21 01 18 */ stw r9, 0x118(r1) +/* 80102E40 000FFDA0 91 21 01 28 */ stw r9, 0x128(r1) +/* 80102E44 000FFDA4 91 21 01 1C */ stw r9, 0x11c(r1) +/* 80102E48 000FFDA8 91 21 01 2C */ stw r9, 0x12c(r1) +/* 80102E4C 000FFDAC 91 21 01 20 */ stw r9, 0x120(r1) +/* 80102E50 000FFDB0 91 21 01 30 */ stw r9, 0x130(r1) +/* 80102E54 000FFDB4 91 41 01 34 */ stw r10, 0x134(r1) +/* 80102E58 000FFDB8 91 25 00 00 */ stw r9, 0(r5) +/* 80102E5C 000FFDBC 91 25 00 04 */ stw r9, 4(r5) +/* 80102E60 000FFDC0 91 25 00 08 */ stw r9, 8(r5) +/* 80102E64 000FFDC4 91 25 00 0C */ stw r9, 0xc(r5) +/* 80102E68 000FFDC8 91 25 00 10 */ stw r9, 0x10(r5) +/* 80102E6C 000FFDCC 91 25 00 14 */ stw r9, 0x14(r5) +/* 80102E70 000FFDD0 91 25 00 18 */ stw r9, 0x18(r5) +/* 80102E74 000FFDD4 91 25 00 1C */ stw r9, 0x1c(r5) +/* 80102E78 000FFDD8 91 25 00 20 */ stw r9, 0x20(r5) +/* 80102E7C 000FFDDC 91 25 00 24 */ stw r9, 0x24(r5) +/* 80102E80 000FFDE0 91 25 00 28 */ stw r9, 0x28(r5) +/* 80102E84 000FFDE4 91 25 00 2C */ stw r9, 0x2c(r5) +/* 80102E88 000FFDE8 91 25 00 30 */ stw r9, 0x30(r5) +/* 80102E8C 000FFDEC 91 25 00 34 */ stw r9, 0x34(r5) +/* 80102E90 000FFDF0 91 25 00 38 */ stw r9, 0x38(r5) +/* 80102E94 000FFDF4 91 25 00 3C */ stw r9, 0x3c(r5) +/* 80102E98 000FFDF8 91 25 00 40 */ stw r9, 0x40(r5) +/* 80102E9C 000FFDFC 91 25 00 44 */ stw r9, 0x44(r5) +/* 80102EA0 000FFE00 91 25 00 48 */ stw r9, 0x48(r5) +/* 80102EA4 000FFE04 80 81 01 38 */ lwz r4, 0x138(r1) +/* 80102EA8 000FFE08 3C 60 80 57 */ lis r3, lbl_8056D780@ha +/* 80102EAC 000FFE0C 39 03 D7 80 */ addi r8, r3, lbl_8056D780@l +/* 80102EB0 000FFE10 80 01 01 3C */ lwz r0, 0x13c(r1) +/* 80102EB4 000FFE14 91 25 00 4C */ stw r9, 0x4c(r5) +/* 80102EB8 000FFE18 91 25 00 50 */ stw r9, 0x50(r5) +/* 80102EBC 000FFE1C 91 25 00 54 */ stw r9, 0x54(r5) +/* 80102EC0 000FFE20 91 25 00 58 */ stw r9, 0x58(r5) +/* 80102EC4 000FFE24 91 45 00 5C */ stw r10, 0x5c(r5) +/* 80102EC8 000FFE28 90 85 00 60 */ stw r4, 0x60(r5) +/* 80102ECC 000FFE2C 90 05 00 64 */ stw r0, 0x64(r5) +/* 80102ED0 000FFE30 91 21 00 70 */ stw r9, 0x70(r1) +/* 80102ED4 000FFE34 91 21 00 74 */ stw r9, 0x74(r1) +/* 80102ED8 000FFE38 91 21 00 78 */ stw r9, 0x78(r1) +/* 80102EDC 000FFE3C 91 21 00 7C */ stw r9, 0x7c(r1) +/* 80102EE0 000FFE40 91 21 00 80 */ stw r9, 0x80(r1) +/* 80102EE4 000FFE44 91 21 00 84 */ stw r9, 0x84(r1) +/* 80102EE8 000FFE48 91 21 00 88 */ stw r9, 0x88(r1) +/* 80102EEC 000FFE4C 91 21 00 8C */ stw r9, 0x8c(r1) +/* 80102EF0 000FFE50 91 21 00 90 */ stw r9, 0x90(r1) +/* 80102EF4 000FFE54 91 21 00 94 */ stw r9, 0x94(r1) +/* 80102EF8 000FFE58 91 21 00 98 */ stw r9, 0x98(r1) +/* 80102EFC 000FFE5C 91 21 00 9C */ stw r9, 0x9c(r1) +/* 80102F00 000FFE60 91 21 00 A0 */ stw r9, 0xa0(r1) +/* 80102F04 000FFE64 91 21 00 A4 */ stw r9, 0xa4(r1) +/* 80102F08 000FFE68 91 21 00 A8 */ stw r9, 0xa8(r1) +/* 80102F0C 000FFE6C 91 21 00 AC */ stw r9, 0xac(r1) +/* 80102F10 000FFE70 91 21 00 BC */ stw r9, 0xbc(r1) +/* 80102F14 000FFE74 91 21 00 B0 */ stw r9, 0xb0(r1) +/* 80102F18 000FFE78 91 21 00 C0 */ stw r9, 0xc0(r1) +/* 80102F1C 000FFE7C 91 21 00 B4 */ stw r9, 0xb4(r1) +/* 80102F20 000FFE80 91 21 00 C4 */ stw r9, 0xc4(r1) +/* 80102F24 000FFE84 91 21 00 B8 */ stw r9, 0xb8(r1) +/* 80102F28 000FFE88 91 21 00 C8 */ stw r9, 0xc8(r1) +/* 80102F2C 000FFE8C 91 61 00 CC */ stw r11, 0xcc(r1) +/* 80102F30 000FFE90 91 28 00 00 */ stw r9, 0(r8) +/* 80102F34 000FFE94 91 28 00 04 */ stw r9, 4(r8) +/* 80102F38 000FFE98 91 28 00 08 */ stw r9, 8(r8) +/* 80102F3C 000FFE9C 91 28 00 0C */ stw r9, 0xc(r8) +/* 80102F40 000FFEA0 91 28 00 10 */ stw r9, 0x10(r8) +/* 80102F44 000FFEA4 91 28 00 14 */ stw r9, 0x14(r8) +/* 80102F48 000FFEA8 91 28 00 18 */ stw r9, 0x18(r8) +/* 80102F4C 000FFEAC 91 28 00 1C */ stw r9, 0x1c(r8) +/* 80102F50 000FFEB0 91 28 00 20 */ stw r9, 0x20(r8) +/* 80102F54 000FFEB4 91 28 00 24 */ stw r9, 0x24(r8) +/* 80102F58 000FFEB8 91 28 00 28 */ stw r9, 0x28(r8) +/* 80102F5C 000FFEBC 91 28 00 2C */ stw r9, 0x2c(r8) +/* 80102F60 000FFEC0 91 28 00 30 */ stw r9, 0x30(r8) +/* 80102F64 000FFEC4 91 28 00 34 */ stw r9, 0x34(r8) +/* 80102F68 000FFEC8 91 28 00 38 */ stw r9, 0x38(r8) +/* 80102F6C 000FFECC 80 E1 00 D0 */ lwz r7, 0xd0(r1) +/* 80102F70 000FFED0 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha +/* 80102F74 000FFED4 38 A0 00 04 */ li r5, 4 +/* 80102F78 000FFED8 80 C1 00 D4 */ lwz r6, 0xd4(r1) +/* 80102F7C 000FFEDC 38 83 D7 E8 */ addi r4, r3, lbl_8056D7E8@l +/* 80102F80 000FFEE0 80 61 00 68 */ lwz r3, 0x68(r1) +/* 80102F84 000FFEE4 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80102F88 000FFEE8 91 28 00 3C */ stw r9, 0x3c(r8) +/* 80102F8C 000FFEEC 91 28 00 40 */ stw r9, 0x40(r8) +/* 80102F90 000FFEF0 91 28 00 44 */ stw r9, 0x44(r8) +/* 80102F94 000FFEF4 91 28 00 48 */ stw r9, 0x48(r8) +/* 80102F98 000FFEF8 91 28 00 4C */ stw r9, 0x4c(r8) +/* 80102F9C 000FFEFC 91 28 00 50 */ stw r9, 0x50(r8) +/* 80102FA0 000FFF00 91 28 00 54 */ stw r9, 0x54(r8) +/* 80102FA4 000FFF04 91 28 00 58 */ stw r9, 0x58(r8) +/* 80102FA8 000FFF08 91 68 00 5C */ stw r11, 0x5c(r8) +/* 80102FAC 000FFF0C 90 E8 00 60 */ stw r7, 0x60(r8) +/* 80102FB0 000FFF10 90 C8 00 64 */ stw r6, 0x64(r8) +/* 80102FB4 000FFF14 90 A1 00 08 */ stw r5, 8(r1) +/* 80102FB8 000FFF18 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80102FBC 000FFF1C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80102FC0 000FFF20 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80102FC4 000FFF24 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80102FC8 000FFF28 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80102FCC 000FFF2C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 80102FD0 000FFF30 90 A1 00 24 */ stw r5, 0x24(r1) +/* 80102FD4 000FFF34 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80102FD8 000FFF38 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 80102FDC 000FFF3C 90 A1 00 30 */ stw r5, 0x30(r1) +/* 80102FE0 000FFF40 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80102FE4 000FFF44 90 A1 00 38 */ stw r5, 0x38(r1) +/* 80102FE8 000FFF48 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 80102FEC 000FFF4C 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80102FF0 000FFF50 90 A1 00 44 */ stw r5, 0x44(r1) +/* 80102FF4 000FFF54 90 A1 00 54 */ stw r5, 0x54(r1) +/* 80102FF8 000FFF58 90 A1 00 48 */ stw r5, 0x48(r1) +/* 80102FFC 000FFF5C 90 A1 00 58 */ stw r5, 0x58(r1) +/* 80103000 000FFF60 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 80103004 000FFF64 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 80103008 000FFF68 90 A1 00 50 */ stw r5, 0x50(r1) +/* 8010300C 000FFF6C 90 A1 00 60 */ stw r5, 0x60(r1) +/* 80103010 000FFF70 91 41 00 64 */ stw r10, 0x64(r1) +/* 80103014 000FFF74 90 A4 00 00 */ stw r5, 0(r4) +/* 80103018 000FFF78 90 A4 00 04 */ stw r5, 4(r4) +/* 8010301C 000FFF7C 90 A4 00 08 */ stw r5, 8(r4) +/* 80103020 000FFF80 90 A4 00 0C */ stw r5, 0xc(r4) +/* 80103024 000FFF84 90 A4 00 10 */ stw r5, 0x10(r4) +/* 80103028 000FFF88 90 A4 00 14 */ stw r5, 0x14(r4) +/* 8010302C 000FFF8C 90 A4 00 18 */ stw r5, 0x18(r4) +/* 80103030 000FFF90 90 A4 00 1C */ stw r5, 0x1c(r4) +/* 80103034 000FFF94 90 A4 00 20 */ stw r5, 0x20(r4) +/* 80103038 000FFF98 90 A4 00 24 */ stw r5, 0x24(r4) +/* 8010303C 000FFF9C 90 A4 00 28 */ stw r5, 0x28(r4) +/* 80103040 000FFFA0 90 A4 00 2C */ stw r5, 0x2c(r4) +/* 80103044 000FFFA4 90 A4 00 30 */ stw r5, 0x30(r4) +/* 80103048 000FFFA8 90 A4 00 34 */ stw r5, 0x34(r4) +/* 8010304C 000FFFAC 90 A4 00 38 */ stw r5, 0x38(r4) +/* 80103050 000FFFB0 90 A4 00 3C */ stw r5, 0x3c(r4) +/* 80103054 000FFFB4 90 A4 00 40 */ stw r5, 0x40(r4) +/* 80103058 000FFFB8 90 A4 00 44 */ stw r5, 0x44(r4) +/* 8010305C 000FFFBC 90 A4 00 48 */ stw r5, 0x48(r4) +/* 80103060 000FFFC0 90 A4 00 4C */ stw r5, 0x4c(r4) +/* 80103064 000FFFC4 90 A4 00 50 */ stw r5, 0x50(r4) +/* 80103068 000FFFC8 90 A4 00 54 */ stw r5, 0x54(r4) +/* 8010306C 000FFFCC 90 A4 00 58 */ stw r5, 0x58(r4) +/* 80103070 000FFFD0 91 44 00 5C */ stw r10, 0x5c(r4) +/* 80103074 000FFFD4 90 64 00 60 */ stw r3, 0x60(r4) +/* 80103078 000FFFD8 90 04 00 64 */ stw r0, 0x64(r4) +/* 8010307C 000FFFDC 38 21 01 B0 */ addi r1, r1, 0x1b0 +/* 80103080 000FFFE0 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CDecalManager.s b/asm/Kyoto_CWD/CDecalManager.s new file mode 100644 index 00000000..ca2dfaa4 --- /dev/null +++ b/asm/Kyoto_CWD/CDecalManager.s @@ -0,0 +1,994 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager: +/* 80116EC4 00113E24 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80116EC8 00113E28 7C 08 02 A6 */ mflr r0 +/* 80116ECC 00113E2C 3C A0 80 57 */ lis r5, lbl_8056F758@ha +/* 80116ED0 00113E30 3C 60 80 57 */ lis r3, lbl_8056D850@ha +/* 80116ED4 00113E34 90 01 00 64 */ stw r0, 0x64(r1) +/* 80116ED8 00113E38 38 A5 F7 58 */ addi r5, r5, lbl_8056F758@l +/* 80116EDC 00113E3C 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l +/* 80116EE0 00113E40 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80116EE4 00113E44 7C 9F 23 78 */ mr r31, r4 +/* 80116EE8 00113E48 38 85 00 04 */ addi r4, r5, 4 +/* 80116EEC 00113E4C 3B A3 00 04 */ addi r29, r3, 4 +/* 80116EF0 00113E50 7C 9B 23 78 */ mr r27, r4 +/* 80116EF4 00113E54 80 05 00 00 */ lwz r0, 0(r5) +/* 80116EF8 00113E58 54 00 10 3A */ slwi r0, r0, 2 +/* 80116EFC 00113E5C 7F C4 02 14 */ add r30, r4, r0 +/* 80116F00 00113E60 48 00 00 9C */ b lbl_80116F9C +lbl_80116F04: +/* 80116F04 00113E64 80 1B 00 00 */ lwz r0, 0(r27) +/* 80116F08 00113E68 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 80116F0C 00113E6C 7F 9D 02 14 */ add r28, r29, r0 +/* 80116F10 00113E70 88 1C 00 75 */ lbz r0, 0x75(r28) +/* 80116F14 00113E74 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1 +/* 80116F18 00113E78 7C 00 FE 70 */ srawi r0, r0, 0x1f +/* 80116F1C 00113E7C 7C 00 07 75 */ extsb. r0, r0 +/* 80116F20 00113E80 40 82 00 10 */ bne lbl_80116F30 +/* 80116F24 00113E84 80 1F 0F 34 */ lwz r0, 0xf34(r31) +/* 80116F28 00113E88 2C 00 00 00 */ cmpwi r0, 0 +/* 80116F2C 00113E8C 41 82 00 6C */ beq lbl_80116F98 +lbl_80116F30: +/* 80116F30 00113E90 C0 5C 00 38 */ lfs f2, 0x38(r28) +/* 80116F34 00113E94 38 61 00 2C */ addi r3, r1, 0x2c +/* 80116F38 00113E98 C0 3C 00 28 */ lfs f1, 0x28(r28) +/* 80116F3C 00113E9C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80116F40 00113EA0 C0 1C 00 18 */ lfs f0, 0x18(r28) +/* 80116F44 00113EA4 38 A1 00 08 */ addi r5, r1, 8 +/* 80116F48 00113EA8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80116F4C 00113EAC D0 01 00 08 */ stfs f0, 8(r1) +/* 80116F50 00113EB0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80116F54 00113EB4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80116F58 00113EB8 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80116F5C 00113EBC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80116F60 00113EC0 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80116F64 00113EC4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80116F68 00113EC8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80116F6C 00113ECC 48 22 15 9D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80116F70 00113ED0 7C 66 1B 78 */ mr r6, r3 +/* 80116F74 00113ED4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80116F78 00113ED8 7F 84 E3 78 */ mr r4, r28 +/* 80116F7C 00113EDC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80116F80 00113EE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80116F84 00113EE4 38 E0 00 02 */ li r7, 2 +/* 80116F88 00113EE8 39 00 00 00 */ li r8, 0 +/* 80116F8C 00113EEC 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80116F90 00113EF0 7D 89 03 A6 */ mtctr r12 +/* 80116F94 00113EF4 4E 80 04 21 */ bctrl +lbl_80116F98: +/* 80116F98 00113EF8 3B 7B 00 04 */ addi r27, r27, 4 +lbl_80116F9C: +/* 80116F9C 00113EFC 7C 1B F0 40 */ cmplw r27, r30 +/* 80116FA0 00113F00 40 82 FF 64 */ bne lbl_80116F04 +/* 80116FA4 00113F04 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 80116FA8 00113F08 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80116FAC 00113F0C 7C 08 03 A6 */ mtlr r0 +/* 80116FB0 00113F10 38 21 00 60 */ addi r1, r1, 0x60 +/* 80116FB4 00113F14 4E 80 00 20 */ blr + +.global Update__13CDecalManagerFfR13CStateManager +Update__13CDecalManagerFfR13CStateManager: +/* 80116FB8 00113F18 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80116FBC 00113F1C 7C 08 02 A6 */ mflr r0 +/* 80116FC0 00113F20 90 01 00 34 */ stw r0, 0x34(r1) +/* 80116FC4 00113F24 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80116FC8 00113F28 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80116FCC 00113F2C BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80116FD0 00113F30 FF E0 08 90 */ fmr f31, f1 +/* 80116FD4 00113F34 C0 0D A3 70 */ lfs f0, lbl_805A8F30@sda21(r13) +/* 80116FD8 00113F38 3C A0 80 57 */ lis r5, lbl_8056F758@ha +/* 80116FDC 00113F3C 3C 80 80 57 */ lis r4, lbl_8056D850@ha +/* 80116FE0 00113F40 3B E5 F7 58 */ addi r31, r5, lbl_8056F758@l +/* 80116FE4 00113F44 7C 7B 1B 78 */ mr r27, r3 +/* 80116FE8 00113F48 EC 00 F8 2A */ fadds f0, f0, f31 +/* 80116FEC 00113F4C 3B BF 00 04 */ addi r29, r31, 4 +/* 80116FF0 00113F50 38 64 D8 50 */ addi r3, r4, lbl_8056D850@l +/* 80116FF4 00113F54 7F BC EB 78 */ mr r28, r29 +/* 80116FF8 00113F58 D0 0D A3 70 */ stfs f0, lbl_805A8F30@sda21(r13) +/* 80116FFC 00113F5C 3B C3 00 04 */ addi r30, r3, 4 +/* 80117000 00113F60 48 00 00 48 */ b lbl_80117048 +lbl_80117004: +/* 80117004 00113F64 80 9C 00 00 */ lwz r4, 0(r28) +/* 80117008 00113F68 80 1B 08 CC */ lwz r0, 0x8cc(r27) +/* 8011700C 00113F6C 1C 64 00 78 */ mulli r3, r4, 0x78 +/* 80117010 00113F70 7C 7E 1A 14 */ add r3, r30, r3 +/* 80117014 00113F74 80 A3 00 70 */ lwz r5, 0x70(r3) +/* 80117018 00113F78 7C 05 00 00 */ cmpw r5, r0 +/* 8011701C 00113F7C 40 82 00 10 */ bne lbl_8011702C +/* 80117020 00113F80 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 80117024 00113F84 2C 00 00 07 */ cmpwi r0, 7 +/* 80117028 00113F88 40 82 00 14 */ bne lbl_8011703C +lbl_8011702C: +/* 8011702C 00113F8C 7F 83 E3 78 */ mr r3, r28 +/* 80117030 00113F90 48 00 00 49 */ bl RemoveFromActiveList__13CDecalManagerFPii +/* 80117034 00113F94 7C 7C 1B 78 */ mr r28, r3 +/* 80117038 00113F98 48 00 00 10 */ b lbl_80117048 +lbl_8011703C: +/* 8011703C 00113F9C FC 20 F8 90 */ fmr f1, f31 +/* 80117040 00113FA0 48 19 D7 E9 */ bl Update__6CDecalFf +/* 80117044 00113FA4 3B 9C 00 04 */ addi r28, r28, 4 +lbl_80117048: +/* 80117048 00113FA8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8011704C 00113FAC 54 00 10 3A */ slwi r0, r0, 2 +/* 80117050 00113FB0 7C 1D 02 14 */ add r0, r29, r0 +/* 80117054 00113FB4 7C 1C 00 40 */ cmplw r28, r0 +/* 80117058 00113FB8 40 82 FF AC */ bne lbl_80117004 +/* 8011705C 00113FBC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80117060 00113FC0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80117064 00113FC4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80117068 00113FC8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011706C 00113FCC 7C 08 03 A6 */ mtlr r0 +/* 80117070 00113FD0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80117074 00113FD4 4E 80 00 20 */ blr + +.global RemoveFromActiveList__13CDecalManagerFPii +RemoveFromActiveList__13CDecalManagerFPii: +/* 80117078 00113FD8 3C A0 80 57 */ lis r5, lbl_8056F758@ha +/* 8011707C 00113FDC 38 C5 F7 58 */ addi r6, r5, lbl_8056F758@l +/* 80117080 00113FE0 39 06 00 04 */ addi r8, r6, 4 +/* 80117084 00113FE4 7C 03 40 40 */ cmplw r3, r8 +/* 80117088 00113FE8 41 80 00 5C */ blt lbl_801170E4 +/* 8011708C 00113FEC 80 06 00 00 */ lwz r0, 0(r6) +/* 80117090 00113FF0 54 00 10 3A */ slwi r0, r0, 2 +/* 80117094 00113FF4 7C 08 02 14 */ add r0, r8, r0 +/* 80117098 00113FF8 7C 03 00 40 */ cmplw r3, r0 +/* 8011709C 00113FFC 40 80 00 48 */ bge lbl_801170E4 +/* 801170A0 00114000 7C 67 1B 78 */ mr r7, r3 +/* 801170A4 00114004 48 00 00 10 */ b lbl_801170B4 +lbl_801170A8: +/* 801170A8 00114008 80 07 00 04 */ lwz r0, 4(r7) +/* 801170AC 0011400C 90 07 00 00 */ stw r0, 0(r7) +/* 801170B0 00114010 38 E7 00 04 */ addi r7, r7, 4 +lbl_801170B4: +/* 801170B4 00114014 80 06 00 00 */ lwz r0, 0(r6) +/* 801170B8 00114018 54 05 10 3A */ slwi r5, r0, 2 +/* 801170BC 0011401C 38 05 FF FC */ addi r0, r5, -4 +/* 801170C0 00114020 7C 08 02 14 */ add r0, r8, r0 +/* 801170C4 00114024 7C 07 00 40 */ cmplw r7, r0 +/* 801170C8 00114028 41 80 FF E0 */ blt lbl_801170A8 +/* 801170CC 0011402C 3C A0 80 57 */ lis r5, lbl_8056F758@ha +/* 801170D0 00114030 38 C5 F7 58 */ addi r6, r5, lbl_8056F758@l +/* 801170D4 00114034 80 A6 00 00 */ lwz r5, 0(r6) +/* 801170D8 00114038 38 05 FF FF */ addi r0, r5, -1 +/* 801170DC 0011403C 90 06 00 00 */ stw r0, 0(r6) +/* 801170E0 00114040 48 00 00 14 */ b lbl_801170F4 +lbl_801170E4: +/* 801170E4 00114044 3C 60 80 57 */ lis r3, lbl_8056F758@ha +/* 801170E8 00114048 80 03 F7 58 */ lwz r0, lbl_8056F758@l(r3) +/* 801170EC 0011404C 54 00 10 3A */ slwi r0, r0, 2 +/* 801170F0 00114050 7C 68 02 14 */ add r3, r8, r0 +lbl_801170F4: +/* 801170F4 00114054 1C A4 00 78 */ mulli r5, r4, 0x78 +/* 801170F8 00114058 80 ED A3 68 */ lwz r7, lbl_805A8F28@sda21(r13) +/* 801170FC 0011405C 80 0D A3 74 */ lwz r0, lbl_805A8F34@sda21(r13) +/* 80117100 00114060 3C C0 80 57 */ lis r6, lbl_8056D850@ha +/* 80117104 00114064 90 8D A3 68 */ stw r4, lbl_805A8F28@sda21(r13) +/* 80117108 00114068 38 C6 D8 50 */ addi r6, r6, lbl_8056D850@l +/* 8011710C 0011406C 7C 00 20 00 */ cmpw r0, r4 +/* 80117110 00114070 7C 86 2A 14 */ add r4, r6, r5 +/* 80117114 00114074 98 E4 00 78 */ stb r7, 0x78(r4) +/* 80117118 00114078 4C 82 00 20 */ bnelr +/* 8011711C 0011407C 38 00 FF FF */ li r0, -1 +/* 80117120 00114080 90 0D A3 74 */ stw r0, lbl_805A8F34@sda21(r13) +/* 80117124 00114084 4E 80 00 20 */ blr + +.global "AddDecal__13CDecalManagerFRC27TToken<17CDecalDescription>RC12CTransform4fR13CStateManager" +"AddDecal__13CDecalManagerFRC27TToken<17CDecalDescription>RC12CTransform4fR13CStateManager": +/* 80117128 00114088 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8011712C 0011408C 7C 08 02 A6 */ mflr r0 +/* 80117130 00114090 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80117134 00114094 BF 21 00 94 */ stmw r25, 0x94(r1) +/* 80117138 00114098 7C 79 1B 78 */ mr r25, r3 +/* 8011713C 0011409C 7C 9A 23 78 */ mr r26, r4 +/* 80117140 001140A0 7C BB 2B 78 */ mr r27, r5 +/* 80117144 001140A4 7C DC 33 78 */ mr r28, r6 +/* 80117148 001140A8 80 ED A3 74 */ lwz r7, lbl_805A8F34@sda21(r13) +/* 8011714C 001140AC 80 63 00 00 */ lwz r3, 0(r3) +/* 80117150 001140B0 2C 07 FF FF */ cmpwi r7, -1 +/* 80117154 001140B4 83 C3 00 08 */ lwz r30, 8(r3) +/* 80117158 001140B8 41 82 00 8C */ beq lbl_801171E4 +/* 8011715C 001140BC C0 2D A3 70 */ lfs f1, lbl_805A8F30@sda21(r13) +/* 80117160 001140C0 C0 02 96 58 */ lfs f0, lbl_805AB378@sda21(r2) +/* 80117164 001140C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80117168 001140C8 40 80 00 7C */ bge lbl_801171E4 +/* 8011716C 001140CC 80 0D A3 78 */ lwz r0, lbl_805A8F38@sda21(r13) +/* 80117170 001140D0 7C 00 F0 40 */ cmplw r0, r30 +/* 80117174 001140D4 40 82 00 70 */ bne lbl_801171E4 +/* 80117178 001140D8 1C 07 00 78 */ mulli r0, r7, 0x78 +/* 8011717C 001140DC 3C 60 80 57 */ lis r3, lbl_8056D850@ha +/* 80117180 001140E0 C0 5A 00 1C */ lfs f2, 0x1c(r26) +/* 80117184 001140E4 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l +/* 80117188 001140E8 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 8011718C 001140EC 7C 63 02 14 */ add r3, r3, r0 +/* 80117190 001140F0 C0 E3 00 2C */ lfs f7, 0x2c(r3) +/* 80117194 001140F4 C0 23 00 1C */ lfs f1, 0x1c(r3) +/* 80117198 001140F8 EC C7 10 28 */ fsubs f6, f7, f2 +/* 8011719C 001140FC C1 03 00 3C */ lfs f8, 0x3c(r3) +/* 801171A0 00114100 EC 81 00 28 */ fsubs f4, f1, f0 +/* 801171A4 00114104 C0 5A 00 2C */ lfs f2, 0x2c(r26) +/* 801171A8 00114108 C0 02 96 5C */ lfs f0, lbl_805AB37C@sda21(r2) +/* 801171AC 0011410C EC A8 10 28 */ fsubs f5, f8, f2 +/* 801171B0 00114110 EC 44 01 32 */ fmuls f2, f4, f4 +/* 801171B4 00114114 D0 21 00 08 */ stfs f1, 8(r1) +/* 801171B8 00114118 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 801171BC 0011411C EC 65 01 72 */ fmuls f3, f5, f5 +/* 801171C0 00114120 D0 E1 00 0C */ stfs f7, 0xc(r1) +/* 801171C4 00114124 EC 22 08 2A */ fadds f1, f2, f1 +/* 801171C8 00114128 D1 01 00 10 */ stfs f8, 0x10(r1) +/* 801171CC 0011412C D0 81 00 14 */ stfs f4, 0x14(r1) +/* 801171D0 00114130 EC 23 08 2A */ fadds f1, f3, f1 +/* 801171D4 00114134 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 801171D8 00114138 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801171DC 0011413C D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 801171E0 00114140 41 80 01 00 */ blt lbl_801172E0 +lbl_801171E4: +/* 801171E4 00114144 80 0D A3 68 */ lwz r0, lbl_805A8F28@sda21(r13) +/* 801171E8 00114148 2C 00 FF FF */ cmpwi r0, -1 +/* 801171EC 0011414C 40 82 00 14 */ bne lbl_80117200 +/* 801171F0 00114150 3C 60 80 57 */ lis r3, lbl_8056F758@ha +/* 801171F4 00114154 38 63 F7 58 */ addi r3, r3, lbl_8056F758@l +/* 801171F8 00114158 84 83 00 04 */ lwzu r4, 4(r3) +/* 801171FC 0011415C 4B FF FE 7D */ bl RemoveFromActiveList__13CDecalManagerFPii +lbl_80117200: +/* 80117200 00114160 83 AD A3 68 */ lwz r29, lbl_805A8F28@sda21(r13) +/* 80117204 00114164 3C 60 80 57 */ lis r3, lbl_8056D850@ha +/* 80117208 00114168 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l +/* 8011720C 0011416C 1C 1D 00 78 */ mulli r0, r29, 0x78 +/* 80117210 00114170 7F E3 02 14 */ add r31, r3, r0 +/* 80117214 00114174 88 7F 00 78 */ lbz r3, 0x78(r31) +/* 80117218 00114178 88 1F 00 70 */ lbz r0, 0x70(r31) +/* 8011721C 0011417C 3B FF 00 04 */ addi r31, r31, 4 +/* 80117220 00114180 7C 63 07 74 */ extsb r3, r3 +/* 80117224 00114184 28 00 00 00 */ cmplwi r0, 0 +/* 80117228 00114188 90 6D A3 68 */ stw r3, lbl_805A8F28@sda21(r13) +/* 8011722C 0011418C 41 82 00 20 */ beq lbl_8011724C +/* 80117230 00114190 28 1F 00 00 */ cmplwi r31, 0 +/* 80117234 00114194 41 82 00 18 */ beq lbl_8011724C +/* 80117238 00114198 41 82 00 14 */ beq lbl_8011724C +/* 8011723C 0011419C 41 82 00 10 */ beq lbl_8011724C +/* 80117240 001141A0 7F E3 FB 78 */ mr r3, r31 +/* 80117244 001141A4 38 80 00 00 */ li r4, 0 +/* 80117248 001141A8 48 22 9B F9 */ bl __dt__6CTokenFv +lbl_8011724C: +/* 8011724C 001141AC 38 00 00 00 */ li r0, 0 +/* 80117250 001141B0 7F 24 CB 78 */ mr r4, r25 +/* 80117254 001141B4 98 1F 00 6C */ stb r0, 0x6c(r31) +/* 80117258 001141B8 7F 45 D3 78 */ mr r5, r26 +/* 8011725C 001141BC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80117260 001141C0 48 19 E1 D1 */ bl "__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f" +/* 80117264 001141C4 7F E3 FB 78 */ mr r3, r31 +/* 80117268 001141C8 38 81 00 20 */ addi r4, r1, 0x20 +/* 8011726C 001141CC 48 00 00 89 */ bl "assign__Q24rstl24optional_object<6CDecal>FRC6CDecal" +/* 80117270 001141D0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80117274 001141D4 38 80 00 00 */ li r4, 0 +/* 80117278 001141D8 48 22 9B C9 */ bl __dt__6CTokenFv +/* 8011727C 001141DC 80 BC 08 CC */ lwz r5, 0x8cc(r28) +/* 80117280 001141E0 3C 60 80 57 */ lis r3, 0x8057 +/* 80117284 001141E4 20 9B 00 01 */ subfic r4, r27, 1 +/* 80117288 001141E8 84 03 F7 58 */ lwzu r0, -0x8a8(r3) +/* 8011728C 001141EC 7C 84 00 34 */ cntlzw r4, r4 +/* 80117290 001141F0 90 BF 00 70 */ stw r5, 0x70(r31) +/* 80117294 001141F4 54 00 10 3A */ slwi r0, r0, 2 +/* 80117298 001141F8 C0 02 96 60 */ lfs f0, lbl_805AB380@sda21(r2) +/* 8011729C 001141FC 7C A3 02 14 */ add r5, r3, r0 +/* 801172A0 00114200 54 84 D9 7E */ srwi r4, r4, 5 +/* 801172A4 00114204 7C 83 07 74 */ extsb r3, r4 +/* 801172A8 00114208 88 1F 00 75 */ lbz r0, 0x75(r31) +/* 801172AC 0011420C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 801172B0 00114210 34 A5 00 04 */ addic. r5, r5, 4 +/* 801172B4 00114214 D0 0D A3 70 */ stfs f0, lbl_805A8F30@sda21(r13) +/* 801172B8 00114218 98 1F 00 75 */ stb r0, 0x75(r31) +/* 801172BC 0011421C 93 AD A3 74 */ stw r29, lbl_805A8F34@sda21(r13) +/* 801172C0 00114220 93 CD A3 78 */ stw r30, lbl_805A8F38@sda21(r13) +/* 801172C4 00114224 41 82 00 08 */ beq lbl_801172CC +/* 801172C8 00114228 93 A5 00 00 */ stw r29, 0(r5) +lbl_801172CC: +/* 801172CC 0011422C 3C 60 80 57 */ lis r3, lbl_8056F758@ha +/* 801172D0 00114230 38 83 F7 58 */ addi r4, r3, lbl_8056F758@l +/* 801172D4 00114234 80 64 00 00 */ lwz r3, 0(r4) +/* 801172D8 00114238 38 03 00 01 */ addi r0, r3, 1 +/* 801172DC 0011423C 90 04 00 00 */ stw r0, 0(r4) +lbl_801172E0: +/* 801172E0 00114240 BB 21 00 94 */ lmw r25, 0x94(r1) +/* 801172E4 00114244 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 801172E8 00114248 7C 08 03 A6 */ mtlr r0 +/* 801172EC 0011424C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 801172F0 00114250 4E 80 00 20 */ blr + +.global "assign__Q24rstl24optional_object<6CDecal>FRC6CDecal" +"assign__Q24rstl24optional_object<6CDecal>FRC6CDecal": +/* 801172F4 00114254 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801172F8 00114258 7C 08 02 A6 */ mflr r0 +/* 801172FC 0011425C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117300 00114260 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80117304 00114264 7C 7F 1B 78 */ mr r31, r3 +/* 80117308 00114268 48 00 00 1D */ bl sub_80117324 +/* 8011730C 0011426C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117310 00114270 7F E3 FB 78 */ mr r3, r31 +/* 80117314 00114274 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80117318 00114278 7C 08 03 A6 */ mtlr r0 +/* 8011731C 0011427C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117320 00114280 4E 80 00 20 */ blr + +.global sub_80117324 +sub_80117324: +/* 80117324 00114284 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80117328 00114288 7C 08 02 A6 */ mflr r0 +/* 8011732C 0011428C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80117330 00114290 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80117334 00114294 7C 9F 23 78 */ mr r31, r4 +/* 80117338 00114298 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8011733C 0011429C 7C 7E 1B 78 */ mr r30, r3 +/* 80117340 001142A0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80117344 001142A4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80117348 001142A8 88 03 00 6C */ lbz r0, 0x6c(r3) +/* 8011734C 001142AC 28 00 00 00 */ cmplwi r0, 0 +/* 80117350 001142B0 40 82 00 A0 */ bne lbl_801173F0 +/* 80117354 001142B4 7F C0 F3 79 */ or. r0, r30, r30 +/* 80117358 001142B8 41 82 00 8C */ beq lbl_801173E4 +/* 8011735C 001142BC 7C 1C 03 78 */ mr r28, r0 +/* 80117360 001142C0 7C 1D 03 78 */ mr r29, r0 +/* 80117364 001142C4 48 22 9B 45 */ bl __ct__6CTokenFRC6CToken +/* 80117368 001142C8 80 1F 00 08 */ lwz r0, 8(r31) +/* 8011736C 001142CC 7F A3 EB 78 */ mr r3, r29 +/* 80117370 001142D0 90 1D 00 08 */ stw r0, 8(r29) +/* 80117374 001142D4 48 22 9A 11 */ bl Lock__6CTokenFv +/* 80117378 001142D8 38 7C 00 0C */ addi r3, r28, 0xc +/* 8011737C 001142DC 38 9F 00 0C */ addi r4, r31, 0xc +/* 80117380 001142E0 48 1F B7 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80117384 001142E4 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 80117388 001142E8 98 1C 00 3C */ stb r0, 0x3c(r28) +/* 8011738C 001142EC 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 80117390 001142F0 90 1C 00 40 */ stw r0, 0x40(r28) +/* 80117394 001142F4 C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 80117398 001142F8 D0 1C 00 44 */ stfs f0, 0x44(r28) +/* 8011739C 001142FC 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 801173A0 00114300 98 1C 00 48 */ stb r0, 0x48(r28) +/* 801173A4 00114304 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 801173A8 00114308 90 1C 00 4C */ stw r0, 0x4c(r28) +/* 801173AC 0011430C C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 801173B0 00114310 D0 1C 00 50 */ stfs f0, 0x50(r28) +/* 801173B4 00114314 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 801173B8 00114318 90 1C 00 54 */ stw r0, 0x54(r28) +/* 801173BC 0011431C 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 801173C0 00114320 90 1C 00 58 */ stw r0, 0x58(r28) +/* 801173C4 00114324 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 801173C8 00114328 90 1C 00 5C */ stw r0, 0x5c(r28) +/* 801173CC 0011432C C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 801173D0 00114330 D0 1C 00 60 */ stfs f0, 0x60(r28) +/* 801173D4 00114334 C0 1F 00 64 */ lfs f0, 0x64(r31) +/* 801173D8 00114338 D0 1C 00 64 */ stfs f0, 0x64(r28) +/* 801173DC 0011433C C0 1F 00 68 */ lfs f0, 0x68(r31) +/* 801173E0 00114340 D0 1C 00 68 */ stfs f0, 0x68(r28) +lbl_801173E4: +/* 801173E4 00114344 38 00 00 01 */ li r0, 1 +/* 801173E8 00114348 98 1E 00 6C */ stb r0, 0x6c(r30) +/* 801173EC 0011434C 48 00 00 7C */ b lbl_80117468 +lbl_801173F0: +/* 801173F0 00114350 48 22 98 D5 */ bl __as__6CTokenFRC6CToken +/* 801173F4 00114354 80 1F 00 08 */ lwz r0, 8(r31) +/* 801173F8 00114358 38 7E 00 0C */ addi r3, r30, 0xc +/* 801173FC 0011435C 38 9F 00 0C */ addi r4, r31, 0xc +/* 80117400 00114360 90 1E 00 08 */ stw r0, 8(r30) +/* 80117404 00114364 48 1F B7 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80117408 00114368 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 8011740C 0011436C 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 80117410 00114370 90 7E 00 3C */ stw r3, 0x3c(r30) +/* 80117414 00114374 90 1E 00 40 */ stw r0, 0x40(r30) +/* 80117418 00114378 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8011741C 0011437C 90 1E 00 44 */ stw r0, 0x44(r30) +/* 80117420 00114380 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80117424 00114384 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 80117428 00114388 90 7E 00 48 */ stw r3, 0x48(r30) +/* 8011742C 0011438C 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 80117430 00114390 80 1F 00 50 */ lwz r0, 0x50(r31) +/* 80117434 00114394 90 1E 00 50 */ stw r0, 0x50(r30) +/* 80117438 00114398 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 8011743C 0011439C 90 1E 00 54 */ stw r0, 0x54(r30) +/* 80117440 001143A0 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80117444 001143A4 90 1E 00 58 */ stw r0, 0x58(r30) +/* 80117448 001143A8 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 8011744C 001143AC 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 80117450 001143B0 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 80117454 001143B4 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 80117458 001143B8 90 7E 00 60 */ stw r3, 0x60(r30) +/* 8011745C 001143BC 90 1E 00 64 */ stw r0, 0x64(r30) +/* 80117460 001143C0 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 80117464 001143C4 90 1E 00 68 */ stw r0, 0x68(r30) +lbl_80117468: +/* 80117468 001143C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011746C 001143CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80117470 001143D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80117474 001143D4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80117478 001143D8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8011747C 001143DC 7C 08 03 A6 */ mtlr r0 +/* 80117480 001143E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80117484 001143E4 4E 80 00 20 */ blr + +.global Reinitialize__13CDecalManagerFv +Reinitialize__13CDecalManagerFv: +/* 80117488 001143E8 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8011748C 001143EC 7C 08 02 A6 */ mflr r0 +/* 80117490 001143F0 90 01 01 04 */ stw r0, 0x104(r1) +/* 80117494 001143F4 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 80117498 001143F8 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8011749C 001143FC 88 0D A3 6C */ lbz r0, lbl_805A8F2C@sda21(r13) +/* 801174A0 00114400 28 00 00 00 */ cmplwi r0, 0 +/* 801174A4 00114404 40 82 00 08 */ bne lbl_801174AC +/* 801174A8 00114408 48 00 04 AD */ bl Initialize__13CDecalManagerFv +lbl_801174AC: +/* 801174AC 0011440C 3C 60 80 57 */ lis r3, lbl_8056D850@ha +/* 801174B0 00114410 3B C0 00 00 */ li r30, 0 +/* 801174B4 00114414 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l +/* 801174B8 00114418 3B E3 00 04 */ addi r31, r3, 4 +lbl_801174BC: +/* 801174BC 0011441C 39 00 00 00 */ li r8, 0 +/* 801174C0 00114420 38 1E FF FF */ addi r0, r30, -1 +/* 801174C4 00114424 99 01 00 F4 */ stb r8, 0xf4(r1) +/* 801174C8 00114428 38 61 00 10 */ addi r3, r1, 0x10 +/* 801174CC 0011442C 38 81 00 88 */ addi r4, r1, 0x88 +/* 801174D0 00114430 38 A1 00 0C */ addi r5, r1, 0xc +/* 801174D4 00114434 91 01 00 08 */ stw r8, 8(r1) +/* 801174D8 00114438 7C 06 07 74 */ extsb r6, r0 +/* 801174DC 0011443C 38 E0 00 00 */ li r7, 0 +/* 801174E0 00114440 91 01 00 0C */ stw r8, 0xc(r1) +/* 801174E4 00114444 48 00 01 C5 */ bl "__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>" +/* 801174E8 00114448 7F E3 FB 78 */ mr r3, r31 +/* 801174EC 0011444C 38 81 00 10 */ addi r4, r1, 0x10 +/* 801174F0 00114450 48 00 00 ED */ bl sub_801175dc +/* 801174F4 00114454 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 801174F8 00114458 28 00 00 00 */ cmplwi r0, 0 +/* 801174FC 0011445C 41 82 00 20 */ beq lbl_8011751C +/* 80117500 00114460 34 61 00 10 */ addic. r3, r1, 0x10 +/* 80117504 00114464 41 82 00 18 */ beq lbl_8011751C +/* 80117508 00114468 28 03 00 00 */ cmplwi r3, 0 +/* 8011750C 0011446C 41 82 00 10 */ beq lbl_8011751C +/* 80117510 00114470 41 82 00 0C */ beq lbl_8011751C +/* 80117514 00114474 38 80 00 00 */ li r4, 0 +/* 80117518 00114478 48 22 99 29 */ bl __dt__6CTokenFv +lbl_8011751C: +/* 8011751C 0011447C 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 80117520 00114480 38 60 00 00 */ li r3, 0 +/* 80117524 00114484 98 61 00 7C */ stb r3, 0x7c(r1) +/* 80117528 00114488 28 00 00 00 */ cmplwi r0, 0 +/* 8011752C 0011448C 41 82 00 20 */ beq lbl_8011754C +/* 80117530 00114490 34 61 00 88 */ addic. r3, r1, 0x88 +/* 80117534 00114494 41 82 00 18 */ beq lbl_8011754C +/* 80117538 00114498 28 03 00 00 */ cmplwi r3, 0 +/* 8011753C 0011449C 41 82 00 10 */ beq lbl_8011754C +/* 80117540 001144A0 41 82 00 0C */ beq lbl_8011754C +/* 80117544 001144A4 38 80 00 00 */ li r4, 0 +/* 80117548 001144A8 48 22 98 F9 */ bl __dt__6CTokenFv +lbl_8011754C: +/* 8011754C 001144AC 3B DE 00 01 */ addi r30, r30, 1 +/* 80117550 001144B0 38 80 00 00 */ li r4, 0 +/* 80117554 001144B4 2C 1E 00 40 */ cmpwi r30, 0x40 +/* 80117558 001144B8 98 81 00 F4 */ stb r4, 0xf4(r1) +/* 8011755C 001144BC 3B FF 00 78 */ addi r31, r31, 0x78 +/* 80117560 001144C0 41 80 FF 5C */ blt lbl_801174BC +/* 80117564 001144C4 3C 60 80 57 */ lis r3, lbl_8056F758@ha +/* 80117568 001144C8 80 A3 F7 58 */ lwz r5, lbl_8056F758@l(r3) +/* 8011756C 001144CC 2C 05 00 00 */ cmpwi r5, 0 +/* 80117570 001144D0 40 81 00 40 */ ble lbl_801175B0 +/* 80117574 001144D4 2C 05 00 08 */ cmpwi r5, 8 +/* 80117578 001144D8 38 65 FF F8 */ addi r3, r5, -8 +/* 8011757C 001144DC 40 81 00 20 */ ble lbl_8011759C +/* 80117580 001144E0 38 03 00 07 */ addi r0, r3, 7 +/* 80117584 001144E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80117588 001144E8 7C 09 03 A6 */ mtctr r0 +/* 8011758C 001144EC 2C 03 00 00 */ cmpwi r3, 0 +/* 80117590 001144F0 40 81 00 0C */ ble lbl_8011759C +lbl_80117594: +/* 80117594 001144F4 38 84 00 08 */ addi r4, r4, 8 +/* 80117598 001144F8 42 00 FF FC */ bdnz lbl_80117594 +lbl_8011759C: +/* 8011759C 001144FC 7C 04 28 50 */ subf r0, r4, r5 +/* 801175A0 00114500 7C 09 03 A6 */ mtctr r0 +/* 801175A4 00114504 7C 04 28 00 */ cmpw r4, r5 +/* 801175A8 00114508 40 80 00 08 */ bge lbl_801175B0 +lbl_801175AC: +/* 801175AC 0011450C 42 00 00 00 */ bdnz lbl_801175AC +lbl_801175B0: +/* 801175B0 00114510 38 00 00 3F */ li r0, 0x3f +/* 801175B4 00114514 3C 60 80 57 */ lis r3, lbl_8056F758@ha +/* 801175B8 00114518 38 80 00 00 */ li r4, 0 +/* 801175BC 0011451C 90 0D A3 68 */ stw r0, lbl_805A8F28@sda21(r13) +/* 801175C0 00114520 90 83 F7 58 */ stw r4, lbl_8056F758@l(r3) +/* 801175C4 00114524 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 801175C8 00114528 80 01 01 04 */ lwz r0, 0x104(r1) +/* 801175CC 0011452C 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 801175D0 00114530 7C 08 03 A6 */ mtlr r0 +/* 801175D4 00114534 38 21 01 00 */ addi r1, r1, 0x100 +/* 801175D8 00114538 4E 80 00 20 */ blr + +.global sub_801175dc +sub_801175dc: +/* 801175DC 0011453C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801175E0 00114540 7C 08 02 A6 */ mflr r0 +/* 801175E4 00114544 90 01 00 14 */ stw r0, 0x14(r1) +/* 801175E8 00114548 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801175EC 0011454C 7C 9F 23 78 */ mr r31, r4 +/* 801175F0 00114550 93 C1 00 08 */ stw r30, 8(r1) +/* 801175F4 00114554 7C 7E 1B 78 */ mr r30, r3 +/* 801175F8 00114558 48 00 00 39 */ bl sub_80117630 +/* 801175FC 0011455C 80 1F 00 70 */ lwz r0, 0x70(r31) +/* 80117600 00114560 7F C3 F3 78 */ mr r3, r30 +/* 80117604 00114564 90 1E 00 70 */ stw r0, 0x70(r30) +/* 80117608 00114568 88 1F 00 74 */ lbz r0, 0x74(r31) +/* 8011760C 0011456C 98 1E 00 74 */ stb r0, 0x74(r30) +/* 80117610 00114570 88 1F 00 75 */ lbz r0, 0x75(r31) +/* 80117614 00114574 98 1E 00 75 */ stb r0, 0x75(r30) +/* 80117618 00114578 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011761C 0011457C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80117620 00114580 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117624 00114584 7C 08 03 A6 */ mtlr r0 +/* 80117628 00114588 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011762C 0011458C 4E 80 00 20 */ blr + +.global sub_80117630 +sub_80117630: +/* 80117630 00114590 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117634 00114594 7C 08 02 A6 */ mflr r0 +/* 80117638 00114598 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011763C 0011459C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80117640 001145A0 7C 7F 1B 78 */ mr r31, r3 +/* 80117644 001145A4 7C 1F 20 40 */ cmplw r31, r4 +/* 80117648 001145A8 40 82 00 08 */ bne lbl_80117650 +/* 8011764C 001145AC 48 00 00 48 */ b lbl_80117694 +lbl_80117650: +/* 80117650 001145B0 88 04 00 6C */ lbz r0, 0x6c(r4) +/* 80117654 001145B4 28 00 00 00 */ cmplwi r0, 0 +/* 80117658 001145B8 41 82 00 0C */ beq lbl_80117664 +/* 8011765C 001145BC 4B FF FC C9 */ bl sub_80117324 +/* 80117660 001145C0 48 00 00 30 */ b lbl_80117690 +lbl_80117664: +/* 80117664 001145C4 88 1F 00 6C */ lbz r0, 0x6c(r31) +/* 80117668 001145C8 28 00 00 00 */ cmplwi r0, 0 +/* 8011766C 001145CC 41 82 00 1C */ beq lbl_80117688 +/* 80117670 001145D0 28 1F 00 00 */ cmplwi r31, 0 +/* 80117674 001145D4 41 82 00 14 */ beq lbl_80117688 +/* 80117678 001145D8 41 82 00 10 */ beq lbl_80117688 +/* 8011767C 001145DC 41 82 00 0C */ beq lbl_80117688 +/* 80117680 001145E0 38 80 00 00 */ li r4, 0 +/* 80117684 001145E4 48 22 97 BD */ bl __dt__6CTokenFv +lbl_80117688: +/* 80117688 001145E8 38 00 00 00 */ li r0, 0 +/* 8011768C 001145EC 98 1F 00 6C */ stb r0, 0x6c(r31) +lbl_80117690: +/* 80117690 001145F0 7F E3 FB 78 */ mr r3, r31 +lbl_80117694: +/* 80117694 001145F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117698 001145F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011769C 001145FC 7C 08 03 A6 */ mtlr r0 +/* 801176A0 00114600 38 21 00 10 */ addi r1, r1, 0x10 +/* 801176A4 00114604 4E 80 00 20 */ blr + +.global "__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>" +"__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>": +/* 801176A8 00114608 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801176AC 0011460C 7C 08 02 A6 */ mflr r0 +/* 801176B0 00114610 90 01 00 24 */ stw r0, 0x24(r1) +/* 801176B4 00114614 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801176B8 00114618 7C FF 3B 78 */ mr r31, r7 +/* 801176BC 0011461C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801176C0 00114620 7C DE 33 78 */ mr r30, r6 +/* 801176C4 00114624 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801176C8 00114628 7C BD 2B 78 */ mr r29, r5 +/* 801176CC 0011462C 93 81 00 10 */ stw r28, 0x10(r1) +/* 801176D0 00114630 7C 7C 1B 78 */ mr r28, r3 +/* 801176D4 00114634 48 00 00 45 */ bl sub_80117718 +/* 801176D8 00114638 80 1D 00 00 */ lwz r0, 0(r29) +/* 801176DC 0011463C 7F E4 07 74 */ extsb r4, r31 +/* 801176E0 00114640 7F 83 E3 78 */ mr r3, r28 +/* 801176E4 00114644 90 1C 00 70 */ stw r0, 0x70(r28) +/* 801176E8 00114648 9B DC 00 74 */ stb r30, 0x74(r28) +/* 801176EC 0011464C 88 1C 00 75 */ lbz r0, 0x75(r28) +/* 801176F0 00114650 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 801176F4 00114654 98 1C 00 75 */ stb r0, 0x75(r28) +/* 801176F8 00114658 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801176FC 0011465C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80117700 00114660 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80117704 00114664 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80117708 00114668 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8011770C 0011466C 7C 08 03 A6 */ mtlr r0 +/* 80117710 00114670 38 21 00 20 */ addi r1, r1, 0x20 +/* 80117714 00114674 4E 80 00 20 */ blr + +.global sub_80117718 +sub_80117718: +/* 80117718 00114678 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011771C 0011467C 7C 08 02 A6 */ mflr r0 +/* 80117720 00114680 90 01 00 24 */ stw r0, 0x24(r1) +/* 80117724 00114684 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80117728 00114688 7C 9F 23 78 */ mr r31, r4 +/* 8011772C 0011468C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80117730 00114690 7C 7E 1B 78 */ mr r30, r3 +/* 80117734 00114694 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80117738 00114698 93 81 00 10 */ stw r28, 0x10(r1) +/* 8011773C 0011469C 88 04 00 6C */ lbz r0, 0x6c(r4) +/* 80117740 001146A0 98 03 00 6C */ stb r0, 0x6c(r3) +/* 80117744 001146A4 88 04 00 6C */ lbz r0, 0x6c(r4) +/* 80117748 001146A8 28 00 00 00 */ cmplwi r0, 0 +/* 8011774C 001146AC 41 82 00 94 */ beq lbl_801177E0 +/* 80117750 001146B0 7F C0 F3 79 */ or. r0, r30, r30 +/* 80117754 001146B4 41 82 00 8C */ beq lbl_801177E0 +/* 80117758 001146B8 7C 1C 03 78 */ mr r28, r0 +/* 8011775C 001146BC 7C 1D 03 78 */ mr r29, r0 +/* 80117760 001146C0 48 22 97 49 */ bl __ct__6CTokenFRC6CToken +/* 80117764 001146C4 80 1F 00 08 */ lwz r0, 8(r31) +/* 80117768 001146C8 7F A3 EB 78 */ mr r3, r29 +/* 8011776C 001146CC 90 1D 00 08 */ stw r0, 8(r29) +/* 80117770 001146D0 48 22 96 15 */ bl Lock__6CTokenFv +/* 80117774 001146D4 38 7C 00 0C */ addi r3, r28, 0xc +/* 80117778 001146D8 38 9F 00 0C */ addi r4, r31, 0xc +/* 8011777C 001146DC 48 1F B3 F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80117780 001146E0 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 80117784 001146E4 98 1C 00 3C */ stb r0, 0x3c(r28) +/* 80117788 001146E8 80 1F 00 40 */ lwz r0, 0x40(r31) +/* 8011778C 001146EC 90 1C 00 40 */ stw r0, 0x40(r28) +/* 80117790 001146F0 C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 80117794 001146F4 D0 1C 00 44 */ stfs f0, 0x44(r28) +/* 80117798 001146F8 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 8011779C 001146FC 98 1C 00 48 */ stb r0, 0x48(r28) +/* 801177A0 00114700 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 801177A4 00114704 90 1C 00 4C */ stw r0, 0x4c(r28) +/* 801177A8 00114708 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 801177AC 0011470C D0 1C 00 50 */ stfs f0, 0x50(r28) +/* 801177B0 00114710 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 801177B4 00114714 90 1C 00 54 */ stw r0, 0x54(r28) +/* 801177B8 00114718 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 801177BC 0011471C 90 1C 00 58 */ stw r0, 0x58(r28) +/* 801177C0 00114720 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 801177C4 00114724 90 1C 00 5C */ stw r0, 0x5c(r28) +/* 801177C8 00114728 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 801177CC 0011472C D0 1C 00 60 */ stfs f0, 0x60(r28) +/* 801177D0 00114730 C0 1F 00 64 */ lfs f0, 0x64(r31) +/* 801177D4 00114734 D0 1C 00 64 */ stfs f0, 0x64(r28) +/* 801177D8 00114738 C0 1F 00 68 */ lfs f0, 0x68(r31) +/* 801177DC 0011473C D0 1C 00 68 */ stfs f0, 0x68(r28) +lbl_801177E0: +/* 801177E0 00114740 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801177E4 00114744 7F C3 F3 78 */ mr r3, r30 +/* 801177E8 00114748 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801177EC 0011474C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801177F0 00114750 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 801177F4 00114754 83 81 00 10 */ lwz r28, 0x10(r1) +/* 801177F8 00114758 7C 08 03 A6 */ mtlr r0 +/* 801177FC 0011475C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80117800 00114760 4E 80 00 20 */ blr + +.global ShutDown__13CDecalManagerFv +ShutDown__13CDecalManagerFv: +/* 80117804 00114764 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117808 00114768 7C 08 02 A6 */ mflr r0 +/* 8011780C 0011476C 3C 60 80 57 */ lis r3, lbl_8056F758@ha +/* 80117810 00114770 38 80 00 00 */ li r4, 0 +/* 80117814 00114774 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117818 00114778 80 A3 F7 58 */ lwz r5, lbl_8056F758@l(r3) +/* 8011781C 0011477C 2C 05 00 00 */ cmpwi r5, 0 +/* 80117820 00114780 40 81 00 40 */ ble lbl_80117860 +/* 80117824 00114784 2C 05 00 08 */ cmpwi r5, 8 +/* 80117828 00114788 38 65 FF F8 */ addi r3, r5, -8 +/* 8011782C 0011478C 40 81 00 20 */ ble lbl_8011784C +/* 80117830 00114790 38 03 00 07 */ addi r0, r3, 7 +/* 80117834 00114794 54 00 E8 FE */ srwi r0, r0, 3 +/* 80117838 00114798 7C 09 03 A6 */ mtctr r0 +/* 8011783C 0011479C 2C 03 00 00 */ cmpwi r3, 0 +/* 80117840 001147A0 40 81 00 0C */ ble lbl_8011784C +lbl_80117844: +/* 80117844 001147A4 38 84 00 08 */ addi r4, r4, 8 +/* 80117848 001147A8 42 00 FF FC */ bdnz lbl_80117844 +lbl_8011784C: +/* 8011784C 001147AC 7C 04 28 50 */ subf r0, r4, r5 +/* 80117850 001147B0 7C 09 03 A6 */ mtctr r0 +/* 80117854 001147B4 7C 04 28 00 */ cmpw r4, r5 +/* 80117858 001147B8 40 80 00 08 */ bge lbl_80117860 +lbl_8011785C: +/* 8011785C 001147BC 42 00 00 00 */ bdnz lbl_8011785C +lbl_80117860: +/* 80117860 001147C0 3C 80 80 57 */ lis r4, lbl_8056F758@ha +/* 80117864 001147C4 38 00 00 00 */ li r0, 0 +/* 80117868 001147C8 3C 60 80 57 */ lis r3, lbl_8056D850@ha +/* 8011786C 001147CC 90 04 F7 58 */ stw r0, lbl_8056F758@l(r4) +/* 80117870 001147D0 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l +/* 80117874 001147D4 48 00 00 1D */ bl "data__Q24rstl44reserved_vectorFv" +/* 80117878 001147D8 38 00 00 00 */ li r0, 0 +/* 8011787C 001147DC 98 0D A3 6C */ stb r0, lbl_805A8F2C@sda21(r13) +/* 80117880 001147E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117884 001147E4 7C 08 03 A6 */ mtlr r0 +/* 80117888 001147E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011788C 001147EC 4E 80 00 20 */ blr + +.global "data__Q24rstl44reserved_vectorFv" +"data__Q24rstl44reserved_vectorFv": +/* 80117890 001147F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80117894 001147F4 7C 08 02 A6 */ mflr r0 +/* 80117898 001147F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011789C 001147FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801178A0 00114800 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801178A4 00114804 3B C0 00 00 */ li r30, 0 +/* 801178A8 00114808 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801178AC 0011480C 7C 7D 1B 78 */ mr r29, r3 +/* 801178B0 00114810 3B FD 00 04 */ addi r31, r29, 4 +/* 801178B4 00114814 48 00 00 14 */ b lbl_801178C8 +lbl_801178B8: +/* 801178B8 00114818 7F E3 FB 78 */ mr r3, r31 +/* 801178BC 0011481C 48 00 00 3D */ bl sub_801178f8 +/* 801178C0 00114820 3B FF 00 78 */ addi r31, r31, 0x78 +/* 801178C4 00114824 3B DE 00 01 */ addi r30, r30, 1 +lbl_801178C8: +/* 801178C8 00114828 80 1D 00 00 */ lwz r0, 0(r29) +/* 801178CC 0011482C 7C 1E 00 00 */ cmpw r30, r0 +/* 801178D0 00114830 41 80 FF E8 */ blt lbl_801178B8 +/* 801178D4 00114834 38 00 00 00 */ li r0, 0 +/* 801178D8 00114838 90 1D 00 00 */ stw r0, 0(r29) +/* 801178DC 0011483C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801178E0 00114840 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801178E4 00114844 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801178E8 00114848 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 801178EC 0011484C 7C 08 03 A6 */ mtlr r0 +/* 801178F0 00114850 38 21 00 20 */ addi r1, r1, 0x20 +/* 801178F4 00114854 4E 80 00 20 */ blr + +.global sub_801178f8 +sub_801178f8: +/* 801178F8 00114858 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801178FC 0011485C 7C 08 02 A6 */ mflr r0 +/* 80117900 00114860 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117904 00114864 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80117908 00114868 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8011790C 0011486C 41 82 00 34 */ beq lbl_80117940 +/* 80117910 00114870 41 82 00 30 */ beq lbl_80117940 +/* 80117914 00114874 88 1F 00 6C */ lbz r0, 0x6c(r31) +/* 80117918 00114878 28 00 00 00 */ cmplwi r0, 0 +/* 8011791C 0011487C 41 82 00 1C */ beq lbl_80117938 +/* 80117920 00114880 28 1F 00 00 */ cmplwi r31, 0 +/* 80117924 00114884 41 82 00 14 */ beq lbl_80117938 +/* 80117928 00114888 41 82 00 10 */ beq lbl_80117938 +/* 8011792C 0011488C 41 82 00 0C */ beq lbl_80117938 +/* 80117930 00114890 38 80 00 00 */ li r4, 0 +/* 80117934 00114894 48 22 95 0D */ bl __dt__6CTokenFv +lbl_80117938: +/* 80117938 00114898 38 00 00 00 */ li r0, 0 +/* 8011793C 0011489C 98 1F 00 6C */ stb r0, 0x6c(r31) +lbl_80117940: +/* 80117940 001148A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117944 001148A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80117948 001148A8 7C 08 03 A6 */ mtlr r0 +/* 8011794C 001148AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117950 001148B0 4E 80 00 20 */ blr + +.global Initialize__13CDecalManagerFv +Initialize__13CDecalManagerFv: +/* 80117954 001148B4 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80117958 001148B8 7C 08 02 A6 */ mflr r0 +/* 8011795C 001148BC 90 01 01 04 */ stw r0, 0x104(r1) +/* 80117960 001148C0 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 80117964 001148C4 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 80117968 001148C8 88 0D A3 6C */ lbz r0, lbl_805A8F2C@sda21(r13) +/* 8011796C 001148CC 28 00 00 00 */ cmplwi r0, 0 +/* 80117970 001148D0 40 82 00 E4 */ bne lbl_80117A54 +/* 80117974 001148D4 3C 60 80 57 */ lis r3, lbl_8056D850@ha +/* 80117978 001148D8 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l +/* 8011797C 001148DC 4B FF FF 15 */ bl "data__Q24rstl44reserved_vectorFv" +/* 80117980 001148E0 3C 60 80 57 */ lis r3, lbl_8056D850@ha +/* 80117984 001148E4 3B C0 00 00 */ li r30, 0 +/* 80117988 001148E8 3B E3 D8 50 */ addi r31, r3, lbl_8056D850@l +lbl_8011798C: +/* 8011798C 001148EC 39 00 00 00 */ li r8, 0 +/* 80117990 001148F0 38 1E FF FF */ addi r0, r30, -1 +/* 80117994 001148F4 99 01 00 F4 */ stb r8, 0xf4(r1) +/* 80117998 001148F8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8011799C 001148FC 38 81 00 88 */ addi r4, r1, 0x88 +/* 801179A0 00114900 38 A1 00 0C */ addi r5, r1, 0xc +/* 801179A4 00114904 91 01 00 08 */ stw r8, 8(r1) +/* 801179A8 00114908 7C 06 07 74 */ extsb r6, r0 +/* 801179AC 0011490C 38 E0 00 00 */ li r7, 0 +/* 801179B0 00114910 91 01 00 0C */ stw r8, 0xc(r1) +/* 801179B4 00114914 4B FF FC F5 */ bl "__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>" +/* 801179B8 00114918 7F E3 FB 78 */ mr r3, r31 +/* 801179BC 0011491C 38 81 00 10 */ addi r4, r1, 0x10 +/* 801179C0 00114920 48 00 00 AD */ bl sub_80117a6c +/* 801179C4 00114924 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 801179C8 00114928 28 00 00 00 */ cmplwi r0, 0 +/* 801179CC 0011492C 41 82 00 20 */ beq lbl_801179EC +/* 801179D0 00114930 34 61 00 10 */ addic. r3, r1, 0x10 +/* 801179D4 00114934 41 82 00 18 */ beq lbl_801179EC +/* 801179D8 00114938 28 03 00 00 */ cmplwi r3, 0 +/* 801179DC 0011493C 41 82 00 10 */ beq lbl_801179EC +/* 801179E0 00114940 41 82 00 0C */ beq lbl_801179EC +/* 801179E4 00114944 38 80 00 00 */ li r4, 0 +/* 801179E8 00114948 48 22 94 59 */ bl __dt__6CTokenFv +lbl_801179EC: +/* 801179EC 0011494C 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 801179F0 00114950 38 60 00 00 */ li r3, 0 +/* 801179F4 00114954 98 61 00 7C */ stb r3, 0x7c(r1) +/* 801179F8 00114958 28 00 00 00 */ cmplwi r0, 0 +/* 801179FC 0011495C 41 82 00 20 */ beq lbl_80117A1C +/* 80117A00 00114960 34 61 00 88 */ addic. r3, r1, 0x88 +/* 80117A04 00114964 41 82 00 18 */ beq lbl_80117A1C +/* 80117A08 00114968 28 03 00 00 */ cmplwi r3, 0 +/* 80117A0C 0011496C 41 82 00 10 */ beq lbl_80117A1C +/* 80117A10 00114970 41 82 00 0C */ beq lbl_80117A1C +/* 80117A14 00114974 38 80 00 00 */ li r4, 0 +/* 80117A18 00114978 48 22 94 29 */ bl __dt__6CTokenFv +lbl_80117A1C: +/* 80117A1C 0011497C 3B DE 00 01 */ addi r30, r30, 1 +/* 80117A20 00114980 38 00 00 00 */ li r0, 0 +/* 80117A24 00114984 2C 1E 00 40 */ cmpwi r30, 0x40 +/* 80117A28 00114988 98 01 00 F4 */ stb r0, 0xf4(r1) +/* 80117A2C 0011498C 41 80 FF 60 */ blt lbl_8011798C +/* 80117A30 00114990 C0 02 96 60 */ lfs f0, lbl_805AB380@sda21(r2) +/* 80117A34 00114994 38 00 FF FF */ li r0, -1 +/* 80117A38 00114998 38 80 00 3F */ li r4, 0x3f +/* 80117A3C 0011499C 38 60 00 01 */ li r3, 1 +/* 80117A40 001149A0 90 8D A3 68 */ stw r4, lbl_805A8F28@sda21(r13) +/* 80117A44 001149A4 98 6D A3 6C */ stb r3, lbl_805A8F2C@sda21(r13) +/* 80117A48 001149A8 D0 0D A3 70 */ stfs f0, lbl_805A8F30@sda21(r13) +/* 80117A4C 001149AC 90 0D A3 74 */ stw r0, lbl_805A8F34@sda21(r13) +/* 80117A50 001149B0 90 0D A3 78 */ stw r0, lbl_805A8F38@sda21(r13) +lbl_80117A54: +/* 80117A54 001149B4 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80117A58 001149B8 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 80117A5C 001149BC 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 80117A60 001149C0 7C 08 03 A6 */ mtlr r0 +/* 80117A64 001149C4 38 21 01 00 */ addi r1, r1, 0x100 +/* 80117A68 001149C8 4E 80 00 20 */ blr + +.global sub_80117a6c +sub_80117a6c: +/* 80117A6C 001149CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117A70 001149D0 7C 08 02 A6 */ mflr r0 +/* 80117A74 001149D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117A78 001149D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80117A7C 001149DC 7C 7F 1B 78 */ mr r31, r3 +/* 80117A80 001149E0 80 03 00 00 */ lwz r0, 0(r3) +/* 80117A84 001149E4 1C 00 00 78 */ mulli r0, r0, 0x78 +/* 80117A88 001149E8 7C 7F 02 14 */ add r3, r31, r0 +/* 80117A8C 001149EC 38 63 00 04 */ addi r3, r3, 4 +/* 80117A90 001149F0 48 00 00 25 */ bl sub_80117ab4 +/* 80117A94 001149F4 80 7F 00 00 */ lwz r3, 0(r31) +/* 80117A98 001149F8 38 03 00 01 */ addi r0, r3, 1 +/* 80117A9C 001149FC 90 1F 00 00 */ stw r0, 0(r31) +/* 80117AA0 00114A00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80117AA4 00114A04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117AA8 00114A08 7C 08 03 A6 */ mtlr r0 +/* 80117AAC 00114A0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117AB0 00114A10 4E 80 00 20 */ blr + +.global sub_80117ab4 +sub_80117ab4: +/* 80117AB4 00114A14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117AB8 00114A18 7C 08 02 A6 */ mflr r0 +/* 80117ABC 00114A1C 28 03 00 00 */ cmplwi r3, 0 +/* 80117AC0 00114A20 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117AC4 00114A24 41 82 00 08 */ beq lbl_80117ACC +/* 80117AC8 00114A28 48 00 00 15 */ bl sub_80117adc +lbl_80117ACC: +/* 80117ACC 00114A2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117AD0 00114A30 7C 08 03 A6 */ mtlr r0 +/* 80117AD4 00114A34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117AD8 00114A38 4E 80 00 20 */ blr + +.global sub_80117adc +sub_80117adc: +/* 80117ADC 00114A3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117AE0 00114A40 7C 08 02 A6 */ mflr r0 +/* 80117AE4 00114A44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117AE8 00114A48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80117AEC 00114A4C 7C 9F 23 78 */ mr r31, r4 +/* 80117AF0 00114A50 93 C1 00 08 */ stw r30, 8(r1) +/* 80117AF4 00114A54 7C 7E 1B 78 */ mr r30, r3 +/* 80117AF8 00114A58 4B FF FC 21 */ bl sub_80117718 +/* 80117AFC 00114A5C 80 1F 00 70 */ lwz r0, 0x70(r31) +/* 80117B00 00114A60 7F C3 F3 78 */ mr r3, r30 +/* 80117B04 00114A64 90 1E 00 70 */ stw r0, 0x70(r30) +/* 80117B08 00114A68 88 1F 00 74 */ lbz r0, 0x74(r31) +/* 80117B0C 00114A6C 98 1E 00 74 */ stb r0, 0x74(r30) +/* 80117B10 00114A70 88 1F 00 75 */ lbz r0, 0x75(r31) +/* 80117B14 00114A74 98 1E 00 75 */ stb r0, 0x75(r30) +/* 80117B18 00114A78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80117B1C 00114A7C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80117B20 00114A80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117B24 00114A84 7C 08 03 A6 */ mtlr r0 +/* 80117B28 00114A88 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117B2C 00114A8C 4E 80 00 20 */ blr + +.global __sinit_CDecalManager_cpp +__sinit_CDecalManager_cpp: +/* 80117B30 00114A90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117B34 00114A94 7C 08 02 A6 */ mflr r0 +/* 80117B38 00114A98 3C 80 80 11 */ lis r4, "__dt__Q24rstl44reserved_vectorFv"@ha +/* 80117B3C 00114A9C 3C A0 80 47 */ lis r5, lbl_8046C558@ha +/* 80117B40 00114AA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117B44 00114AA4 38 00 00 00 */ li r0, 0 +/* 80117B48 00114AA8 3C 60 80 57 */ lis r3, lbl_8056D850@ha +/* 80117B4C 00114AAC 38 84 7C 20 */ addi r4, r4, "__dt__Q24rstl44reserved_vectorFv"@l +/* 80117B50 00114AB0 94 03 D8 50 */ stwu r0, lbl_8056D850@l(r3) +/* 80117B54 00114AB4 38 A5 C5 58 */ addi r5, r5, lbl_8046C558@l +/* 80117B58 00114AB8 48 27 1B 35 */ bl __register_global_object +/* 80117B5C 00114ABC 38 00 00 00 */ li r0, 0 +/* 80117B60 00114AC0 3C 60 80 57 */ lis r3, lbl_8056F758@ha +/* 80117B64 00114AC4 3C 80 80 11 */ lis r4, "__dt__Q24rstl21reserved_vectorFv"@ha +/* 80117B68 00114AC8 3C A0 80 47 */ lis r5, lbl_8046C564@ha +/* 80117B6C 00114ACC 94 03 F7 58 */ stwu r0, lbl_8056F758@l(r3) +/* 80117B70 00114AD0 38 84 7B 8C */ addi r4, r4, "__dt__Q24rstl21reserved_vectorFv"@l +/* 80117B74 00114AD4 38 A5 C5 64 */ addi r5, r5, lbl_8046C564@l +/* 80117B78 00114AD8 48 27 1B 15 */ bl __register_global_object +/* 80117B7C 00114ADC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117B80 00114AE0 7C 08 03 A6 */ mtlr r0 +/* 80117B84 00114AE4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117B88 00114AE8 4E 80 00 20 */ blr + +.global "__dt__Q24rstl21reserved_vectorFv" +"__dt__Q24rstl21reserved_vectorFv": +/* 80117B8C 00114AEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117B90 00114AF0 7C 08 02 A6 */ mflr r0 +/* 80117B94 00114AF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117B98 00114AF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80117B9C 00114AFC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80117BA0 00114B00 41 82 00 68 */ beq lbl_80117C08 +/* 80117BA4 00114B04 80 DF 00 00 */ lwz r6, 0(r31) +/* 80117BA8 00114B08 38 60 00 00 */ li r3, 0 +/* 80117BAC 00114B0C 2C 06 00 00 */ cmpwi r6, 0 +/* 80117BB0 00114B10 40 81 00 40 */ ble lbl_80117BF0 +/* 80117BB4 00114B14 2C 06 00 08 */ cmpwi r6, 8 +/* 80117BB8 00114B18 38 A6 FF F8 */ addi r5, r6, -8 +/* 80117BBC 00114B1C 40 81 00 20 */ ble lbl_80117BDC +/* 80117BC0 00114B20 38 05 00 07 */ addi r0, r5, 7 +/* 80117BC4 00114B24 54 00 E8 FE */ srwi r0, r0, 3 +/* 80117BC8 00114B28 7C 09 03 A6 */ mtctr r0 +/* 80117BCC 00114B2C 2C 05 00 00 */ cmpwi r5, 0 +/* 80117BD0 00114B30 40 81 00 0C */ ble lbl_80117BDC +lbl_80117BD4: +/* 80117BD4 00114B34 38 63 00 08 */ addi r3, r3, 8 +/* 80117BD8 00114B38 42 00 FF FC */ bdnz lbl_80117BD4 +lbl_80117BDC: +/* 80117BDC 00114B3C 7C 03 30 50 */ subf r0, r3, r6 +/* 80117BE0 00114B40 7C 09 03 A6 */ mtctr r0 +/* 80117BE4 00114B44 7C 03 30 00 */ cmpw r3, r6 +/* 80117BE8 00114B48 40 80 00 08 */ bge lbl_80117BF0 +lbl_80117BEC: +/* 80117BEC 00114B4C 42 00 00 00 */ bdnz lbl_80117BEC +lbl_80117BF0: +/* 80117BF0 00114B50 38 60 00 00 */ li r3, 0 +/* 80117BF4 00114B54 7C 80 07 35 */ extsh. r0, r4 +/* 80117BF8 00114B58 90 7F 00 00 */ stw r3, 0(r31) +/* 80117BFC 00114B5C 40 81 00 0C */ ble lbl_80117C08 +/* 80117C00 00114B60 7F E3 FB 78 */ mr r3, r31 +/* 80117C04 00114B64 48 1F DD 2D */ bl Free__7CMemoryFPCv +lbl_80117C08: +/* 80117C08 00114B68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117C0C 00114B6C 7F E3 FB 78 */ mr r3, r31 +/* 80117C10 00114B70 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80117C14 00114B74 7C 08 03 A6 */ mtlr r0 +/* 80117C18 00114B78 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117C1C 00114B7C 4E 80 00 20 */ blr + +.global "__dt__Q24rstl44reserved_vectorFv" +"__dt__Q24rstl44reserved_vectorFv": +/* 80117C20 00114B80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117C24 00114B84 7C 08 02 A6 */ mflr r0 +/* 80117C28 00114B88 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117C2C 00114B8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80117C30 00114B90 7C 9F 23 78 */ mr r31, r4 +/* 80117C34 00114B94 93 C1 00 08 */ stw r30, 8(r1) +/* 80117C38 00114B98 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80117C3C 00114B9C 41 82 00 18 */ beq lbl_80117C54 +/* 80117C40 00114BA0 4B FF FC 51 */ bl "data__Q24rstl44reserved_vectorFv" +/* 80117C44 00114BA4 7F E0 07 35 */ extsh. r0, r31 +/* 80117C48 00114BA8 40 81 00 0C */ ble lbl_80117C54 +/* 80117C4C 00114BAC 7F C3 F3 78 */ mr r3, r30 +/* 80117C50 00114BB0 48 1F DC E1 */ bl Free__7CMemoryFPCv +lbl_80117C54: +/* 80117C54 00114BB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117C58 00114BB8 7F C3 F3 78 */ mr r3, r30 +/* 80117C5C 00114BBC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80117C60 00114BC0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80117C64 00114BC4 7C 08 03 A6 */ mtlr r0 +/* 80117C68 00114BC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117C6C 00114BCC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CFluidPlane.s b/asm/Kyoto_CWD/CFluidPlane.s new file mode 100644 index 00000000..1f0c0f17 --- /dev/null +++ b/asm/Kyoto_CWD/CFluidPlane.s @@ -0,0 +1,558 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global nullsub_209 +nullsub_209: +/* 8012E90C 0012B86C 4E 80 00 20 */ blr + +.global AddRipple__11CFluidPlaneFRC7CRippleRC12CScriptWaterR13CStateManager +AddRipple__11CFluidPlaneFRC7CRippleRC12CScriptWaterR13CStateManager: +/* 8012E910 0012B870 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012E914 0012B874 7C 08 02 A6 */ mflr r0 +/* 8012E918 0012B878 7C A3 2B 78 */ mr r3, r5 +/* 8012E91C 0012B87C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012E920 0012B880 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012E924 0012B884 7C DF 33 78 */ mr r31, r6 +/* 8012E928 0012B888 93 C1 00 08 */ stw r30, 8(r1) +/* 8012E92C 0012B88C 7C 9E 23 78 */ mr r30, r4 +/* 8012E930 0012B890 38 9E 00 08 */ addi r4, r30, 8 +/* 8012E934 0012B894 4B FD 03 7D */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f +/* 8012E938 0012B898 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012E93C 0012B89C 41 82 00 10 */ beq lbl_8012E94C +/* 8012E940 0012B8A0 80 7F 08 7C */ lwz r3, 0x87c(r31) +/* 8012E944 0012B8A4 7F C4 F3 78 */ mr r4, r30 +/* 8012E948 0012B8A8 4B FE E6 05 */ bl AddRipple__14CRippleManagerFRC7CRipple +lbl_8012E94C: +/* 8012E94C 0012B8AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012E950 0012B8B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012E954 0012B8B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8012E958 0012B8B8 7C 08 03 A6 */ mtlr r0 +/* 8012E95C 0012B8BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012E960 0012B8C0 4E 80 00 20 */ blr + +.global AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fRC9CVector3fRC12CScriptWaterR13CStateManagerRC9CVector3f +AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fRC9CVector3fRC12CScriptWaterR13CStateManagerRC9CVector3f: +/* 8012E964 0012B8C4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8012E968 0012B8C8 7C 08 02 A6 */ mflr r0 +/* 8012E96C 0012B8CC 90 01 00 84 */ stw r0, 0x84(r1) +/* 8012E970 0012B8D0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8012E974 0012B8D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8012E978 0012B8D8 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8012E97C 0012B8DC FF E0 08 90 */ fmr f31, f1 +/* 8012E980 0012B8E0 7C 7A 1B 78 */ mr r26, r3 +/* 8012E984 0012B8E4 7C BC 2B 78 */ mr r28, r5 +/* 8012E988 0012B8E8 7C 9B 23 78 */ mr r27, r4 +/* 8012E98C 0012B8EC 7C DD 33 78 */ mr r29, r6 +/* 8012E990 0012B8F0 7D 1E 43 78 */ mr r30, r8 +/* 8012E994 0012B8F4 7D 3F 4B 78 */ mr r31, r9 +/* 8012E998 0012B8F8 7C E3 3B 78 */ mr r3, r7 +/* 8012E99C 0012B8FC 7F 84 E3 78 */ mr r4, r28 +/* 8012E9A0 0012B900 4B FD 03 11 */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f +/* 8012E9A4 0012B904 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012E9A8 0012B908 41 82 00 64 */ beq lbl_8012EA0C +/* 8012E9AC 0012B90C C0 5F 00 04 */ lfs f2, 4(r31) +/* 8012E9B0 0012B910 FC 20 F8 90 */ fmr f1, f31 +/* 8012E9B4 0012B914 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8012E9B8 0012B918 7F 43 D3 78 */ mr r3, r26 +/* 8012E9BC 0012B91C C0 7F 00 00 */ lfs f3, 0(r31) +/* 8012E9C0 0012B920 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8012E9C4 0012B924 C0 5D 00 00 */ lfs f2, 0(r29) +/* 8012E9C8 0012B928 C0 BF 00 08 */ lfs f5, 8(r31) +/* 8012E9CC 0012B92C C0 9D 00 08 */ lfs f4, 8(r29) +/* 8012E9D0 0012B930 EC 03 00 BA */ fmadds f0, f3, f2, f0 +/* 8012E9D4 0012B934 EC 45 01 3A */ fmadds f2, f5, f4, f0 +/* 8012E9D8 0012B938 48 00 00 F1 */ bl ProjectRippleVelocity__11CFluidPlaneCFff +/* 8012E9DC 0012B93C 7F 43 D3 78 */ mr r3, r26 +/* 8012E9E0 0012B940 48 00 01 39 */ bl CalculateRippleIntensity__11CFluidPlaneCFf +/* 8012E9E4 0012B944 A0 1B 00 00 */ lhz r0, 0(r27) +/* 8012E9E8 0012B948 7F 85 E3 78 */ mr r5, r28 +/* 8012E9EC 0012B94C 38 61 00 0C */ addi r3, r1, 0xc +/* 8012E9F0 0012B950 38 81 00 08 */ addi r4, r1, 8 +/* 8012E9F4 0012B954 B0 01 00 08 */ sth r0, 8(r1) +/* 8012E9F8 0012B958 83 FE 08 7C */ lwz r31, 0x87c(r30) +/* 8012E9FC 0012B95C 4B FE DF 21 */ bl __ct__7CRippleF9TUniqueIdRC9CVector3ff +/* 8012EA00 0012B960 7C 64 1B 78 */ mr r4, r3 +/* 8012EA04 0012B964 7F E3 FB 78 */ mr r3, r31 +/* 8012EA08 0012B968 4B FE E5 45 */ bl AddRipple__14CRippleManagerFRC7CRipple +lbl_8012EA0C: +/* 8012EA0C 0012B96C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8012EA10 0012B970 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8012EA14 0012B974 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8012EA18 0012B978 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8012EA1C 0012B97C 7C 08 03 A6 */ mtlr r0 +/* 8012EA20 0012B980 38 21 00 80 */ addi r1, r1, 0x80 +/* 8012EA24 0012B984 4E 80 00 20 */ blr + +.global AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fR13CStateManager +AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fR13CStateManager: +/* 8012EA28 0012B988 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8012EA2C 0012B98C 7C 08 02 A6 */ mflr r0 +/* 8012EA30 0012B990 90 01 00 74 */ stw r0, 0x74(r1) +/* 8012EA34 0012B994 DB E1 00 68 */ stfd f31, 0x68(r1) +/* 8012EA38 0012B998 FF E0 08 90 */ fmr f31, f1 +/* 8012EA3C 0012B99C 93 E1 00 64 */ stw r31, 0x64(r1) +/* 8012EA40 0012B9A0 7C FF 3B 78 */ mr r31, r7 +/* 8012EA44 0012B9A4 93 C1 00 60 */ stw r30, 0x60(r1) +/* 8012EA48 0012B9A8 7C BE 2B 78 */ mr r30, r5 +/* 8012EA4C 0012B9AC 93 A1 00 5C */ stw r29, 0x5c(r1) +/* 8012EA50 0012B9B0 7C 9D 23 78 */ mr r29, r4 +/* 8012EA54 0012B9B4 7F C4 F3 78 */ mr r4, r30 +/* 8012EA58 0012B9B8 93 81 00 58 */ stw r28, 0x58(r1) +/* 8012EA5C 0012B9BC 7C 7C 1B 78 */ mr r28, r3 +/* 8012EA60 0012B9C0 7C C3 33 78 */ mr r3, r6 +/* 8012EA64 0012B9C4 4B FD 02 4D */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f +/* 8012EA68 0012B9C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012EA6C 0012B9CC 41 82 00 38 */ beq lbl_8012EAA4 +/* 8012EA70 0012B9D0 FC 20 F8 90 */ fmr f1, f31 +/* 8012EA74 0012B9D4 7F 83 E3 78 */ mr r3, r28 +/* 8012EA78 0012B9D8 48 00 00 A1 */ bl CalculateRippleIntensity__11CFluidPlaneCFf +/* 8012EA7C 0012B9DC A0 1D 00 00 */ lhz r0, 0(r29) +/* 8012EA80 0012B9E0 7F C5 F3 78 */ mr r5, r30 +/* 8012EA84 0012B9E4 38 61 00 0C */ addi r3, r1, 0xc +/* 8012EA88 0012B9E8 38 81 00 08 */ addi r4, r1, 8 +/* 8012EA8C 0012B9EC B0 01 00 08 */ sth r0, 8(r1) +/* 8012EA90 0012B9F0 83 FF 08 7C */ lwz r31, 0x87c(r31) +/* 8012EA94 0012B9F4 4B FE DE 89 */ bl __ct__7CRippleF9TUniqueIdRC9CVector3ff +/* 8012EA98 0012B9F8 7C 64 1B 78 */ mr r4, r3 +/* 8012EA9C 0012B9FC 7F E3 FB 78 */ mr r3, r31 +/* 8012EAA0 0012BA00 4B FE E4 AD */ bl AddRipple__14CRippleManagerFRC7CRipple +lbl_8012EAA4: +/* 8012EAA4 0012BA04 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8012EAA8 0012BA08 CB E1 00 68 */ lfd f31, 0x68(r1) +/* 8012EAAC 0012BA0C 83 E1 00 64 */ lwz r31, 0x64(r1) +/* 8012EAB0 0012BA10 83 C1 00 60 */ lwz r30, 0x60(r1) +/* 8012EAB4 0012BA14 83 A1 00 5C */ lwz r29, 0x5c(r1) +/* 8012EAB8 0012BA18 83 81 00 58 */ lwz r28, 0x58(r1) +/* 8012EABC 0012BA1C 7C 08 03 A6 */ mtlr r0 +/* 8012EAC0 0012BA20 38 21 00 70 */ addi r1, r1, 0x70 +/* 8012EAC4 0012BA24 4E 80 00 20 */ blr + +.global ProjectRippleVelocity__11CFluidPlaneCFff +ProjectRippleVelocity__11CFluidPlaneCFff: +/* 8012EAC8 0012BA28 C0 02 98 CC */ lfs f0, lbl_805AB5EC@sda21(r2) +/* 8012EACC 0012BA2C C0 62 98 D0 */ lfs f3, lbl_805AB5F0@sda21(r2) +/* 8012EAD0 0012BA30 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8012EAD4 0012BA34 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8012EAD8 0012BA38 EC 22 00 32 */ fmuls f1, f2, f0 +/* 8012EADC 0012BA3C FC 03 08 00 */ fcmpu cr0, f3, f1 +/* 8012EAE0 0012BA40 40 82 00 08 */ bne lbl_8012EAE8 +/* 8012EAE4 0012BA44 48 00 00 10 */ b lbl_8012EAF4 +lbl_8012EAE8: +/* 8012EAE8 0012BA48 FC 00 08 34 */ frsqrte f0, f1 +/* 8012EAEC 0012BA4C FC 61 00 32 */ fmul f3, f1, f0 +/* 8012EAF0 0012BA50 FC 60 18 18 */ frsp f3, f3 +lbl_8012EAF4: +/* 8012EAF4 0012BA54 C0 02 98 DC */ lfs f0, lbl_805AB5FC@sda21(r2) +/* 8012EAF8 0012BA58 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 8012EAFC 0012BA5C 4C 41 13 82 */ cror 2, 1, 2 +/* 8012EB00 0012BA60 40 82 00 0C */ bne lbl_8012EB0C +/* 8012EB04 0012BA64 C0 22 98 D4 */ lfs f1, lbl_805AB5F4@sda21(r2) +/* 8012EB08 0012BA68 4E 80 00 20 */ blr +lbl_8012EB0C: +/* 8012EB0C 0012BA6C C0 02 98 D8 */ lfs f0, lbl_805AB5F8@sda21(r2) +/* 8012EB10 0012BA70 EC 20 00 F2 */ fmuls f1, f0, f3 +/* 8012EB14 0012BA74 4E 80 00 20 */ blr + +.global CalculateRippleIntensity__11CFluidPlaneCFf +CalculateRippleIntensity__11CFluidPlaneCFf: +/* 8012EB18 0012BA78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012EB1C 0012BA7C 80 03 00 44 */ lwz r0, 0x44(r3) +/* 8012EB20 0012BA80 2C 00 00 02 */ cmpwi r0, 2 +/* 8012EB24 0012BA84 41 82 00 3C */ beq lbl_8012EB60 +/* 8012EB28 0012BA88 40 80 00 14 */ bge lbl_8012EB3C +/* 8012EB2C 0012BA8C 2C 00 00 00 */ cmpwi r0, 0 +/* 8012EB30 0012BA90 41 82 00 18 */ beq lbl_8012EB48 +/* 8012EB34 0012BA94 40 80 00 20 */ bge lbl_8012EB54 +/* 8012EB38 0012BA98 48 00 00 3C */ b lbl_8012EB74 +lbl_8012EB3C: +/* 8012EB3C 0012BA9C 2C 00 00 05 */ cmpwi r0, 5 +/* 8012EB40 0012BAA0 40 80 00 34 */ bge lbl_8012EB74 +/* 8012EB44 0012BAA4 48 00 00 28 */ b lbl_8012EB6C +lbl_8012EB48: +/* 8012EB48 0012BAA8 80 8D A1 20 */ lwz r4, gpTweakGame@sda21(r13) +/* 8012EB4C 0012BAAC C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8012EB50 0012BAB0 48 00 00 28 */ b lbl_8012EB78 +lbl_8012EB54: +/* 8012EB54 0012BAB4 80 8D A1 20 */ lwz r4, gpTweakGame@sda21(r13) +/* 8012EB58 0012BAB8 C0 04 00 44 */ lfs f0, 0x44(r4) +/* 8012EB5C 0012BABC 48 00 00 1C */ b lbl_8012EB78 +lbl_8012EB60: +/* 8012EB60 0012BAC0 80 8D A1 20 */ lwz r4, gpTweakGame@sda21(r13) +/* 8012EB64 0012BAC4 C0 04 00 48 */ lfs f0, 0x48(r4) +/* 8012EB68 0012BAC8 48 00 00 10 */ b lbl_8012EB78 +lbl_8012EB6C: +/* 8012EB6C 0012BACC C0 02 98 E0 */ lfs f0, lbl_805AB600@sda21(r2) +/* 8012EB70 0012BAD0 48 00 00 08 */ b lbl_8012EB78 +lbl_8012EB74: +/* 8012EB74 0012BAD4 C0 02 98 D4 */ lfs f0, lbl_805AB5F4@sda21(r2) +lbl_8012EB78: +/* 8012EB78 0012BAD8 C0 42 98 D4 */ lfs f2, lbl_805AB5F4@sda21(r2) +/* 8012EB7C 0012BADC EC 81 00 32 */ fmuls f4, f1, f0 +/* 8012EB80 0012BAE0 C0 03 00 48 */ lfs f0, 0x48(r3) +/* 8012EB84 0012BAE4 C0 AD 8B 08 */ lfs f5, lbl_805A76C8@sda21(r13) +/* 8012EB88 0012BAE8 EC 22 00 28 */ fsubs f1, f2, f0 +/* 8012EB8C 0012BAEC C0 62 98 CC */ lfs f3, lbl_805AB5EC@sda21(r2) +/* 8012EB90 0012BAF0 C0 0D 8B 0C */ lfs f0, lbl_805A76CC@sda21(r13) +/* 8012EB94 0012BAF4 EC 25 10 7A */ fmadds f1, f5, f1, f2 +/* 8012EB98 0012BAF8 EC 23 09 7C */ fnmsubs f1, f3, f5, f1 +/* 8012EB9C 0012BAFC EC 24 00 72 */ fmuls f1, f4, f1 +/* 8012EBA0 0012BB00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012EBA4 0012BB04 D0 21 00 08 */ stfs f1, 8(r1) +/* 8012EBA8 0012BB08 40 80 00 0C */ bge lbl_8012EBB4 +/* 8012EBAC 0012BB0C 38 6D 8B 0C */ addi r3, r13, lbl_805A76CC@sda21 +/* 8012EBB0 0012BB10 48 00 00 08 */ b lbl_8012EBB8 +lbl_8012EBB4: +/* 8012EBB4 0012BB14 38 61 00 08 */ addi r3, r1, 8 +lbl_8012EBB8: +/* 8012EBB8 0012BB18 C0 2D 8B 10 */ lfs f1, lbl_805A76D0@sda21(r13) +/* 8012EBBC 0012BB1C C0 03 00 00 */ lfs f0, 0(r3) +/* 8012EBC0 0012BB20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012EBC4 0012BB24 40 80 00 08 */ bge lbl_8012EBCC +/* 8012EBC8 0012BB28 38 6D 8B 10 */ addi r3, r13, lbl_805A76D0@sda21 +lbl_8012EBCC: +/* 8012EBCC 0012BB2C C0 23 00 00 */ lfs f1, 0(r3) +/* 8012EBD0 0012BB30 D0 21 00 08 */ stfs f1, 8(r1) +/* 8012EBD4 0012BB34 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012EBD8 0012BB38 4E 80 00 20 */ blr + +.global __dt__11CFluidPlaneFv +__dt__11CFluidPlaneFv: +/* 8012EBDC 0012BB3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012EBE0 0012BB40 7C 08 02 A6 */ mflr r0 +/* 8012EBE4 0012BB44 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012EBE8 0012BB48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012EBEC 0012BB4C 7C 9F 23 78 */ mr r31, r4 +/* 8012EBF0 0012BB50 93 C1 00 08 */ stw r30, 8(r1) +/* 8012EBF4 0012BB54 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8012EBF8 0012BB58 41 82 01 20 */ beq lbl_8012ED18 +/* 8012EBFC 0012BB5C 3C 60 80 3E */ lis r3, lbl_803E0CE0@ha +/* 8012EC00 0012BB60 34 1E 00 4C */ addic. r0, r30, 0x4c +/* 8012EC04 0012BB64 38 03 0C E0 */ addi r0, r3, lbl_803E0CE0@l +/* 8012EC08 0012BB68 90 1E 00 00 */ stw r0, 0(r30) +/* 8012EC0C 0012BB6C 41 82 00 60 */ beq lbl_8012EC6C +/* 8012EC10 0012BB70 34 1E 00 4C */ addic. r0, r30, 0x4c +/* 8012EC14 0012BB74 41 82 00 58 */ beq lbl_8012EC6C +/* 8012EC18 0012BB78 80 BE 00 4C */ lwz r5, 0x4c(r30) +/* 8012EC1C 0012BB7C 38 60 00 00 */ li r3, 0 +/* 8012EC20 0012BB80 2C 05 00 00 */ cmpwi r5, 0 +/* 8012EC24 0012BB84 40 81 00 40 */ ble lbl_8012EC64 +/* 8012EC28 0012BB88 2C 05 00 08 */ cmpwi r5, 8 +/* 8012EC2C 0012BB8C 38 85 FF F8 */ addi r4, r5, -8 +/* 8012EC30 0012BB90 40 81 00 20 */ ble lbl_8012EC50 +/* 8012EC34 0012BB94 38 04 00 07 */ addi r0, r4, 7 +/* 8012EC38 0012BB98 54 00 E8 FE */ srwi r0, r0, 3 +/* 8012EC3C 0012BB9C 7C 09 03 A6 */ mtctr r0 +/* 8012EC40 0012BBA0 2C 04 00 00 */ cmpwi r4, 0 +/* 8012EC44 0012BBA4 40 81 00 0C */ ble lbl_8012EC50 +lbl_8012EC48: +/* 8012EC48 0012BBA8 38 63 00 08 */ addi r3, r3, 8 +/* 8012EC4C 0012BBAC 42 00 FF FC */ bdnz lbl_8012EC48 +lbl_8012EC50: +/* 8012EC50 0012BBB0 7C 03 28 50 */ subf r0, r3, r5 +/* 8012EC54 0012BBB4 7C 09 03 A6 */ mtctr r0 +/* 8012EC58 0012BBB8 7C 03 28 00 */ cmpw r3, r5 +/* 8012EC5C 0012BBBC 40 80 00 08 */ bge lbl_8012EC64 +lbl_8012EC60: +/* 8012EC60 0012BBC0 42 00 00 00 */ bdnz lbl_8012EC60 +lbl_8012EC64: +/* 8012EC64 0012BBC4 38 00 00 00 */ li r0, 0 +/* 8012EC68 0012BBC8 90 1E 00 4C */ stw r0, 0x4c(r30) +lbl_8012EC6C: +/* 8012EC6C 0012BBCC 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 8012EC70 0012BBD0 41 82 00 30 */ beq lbl_8012ECA0 +/* 8012EC74 0012BBD4 88 1E 00 3C */ lbz r0, 0x3c(r30) +/* 8012EC78 0012BBD8 28 00 00 00 */ cmplwi r0, 0 +/* 8012EC7C 0012BBDC 41 82 00 1C */ beq lbl_8012EC98 +/* 8012EC80 0012BBE0 34 7E 00 30 */ addic. r3, r30, 0x30 +/* 8012EC84 0012BBE4 41 82 00 14 */ beq lbl_8012EC98 +/* 8012EC88 0012BBE8 28 03 00 00 */ cmplwi r3, 0 +/* 8012EC8C 0012BBEC 41 82 00 0C */ beq lbl_8012EC98 +/* 8012EC90 0012BBF0 38 80 00 00 */ li r4, 0 +/* 8012EC94 0012BBF4 48 21 21 AD */ bl __dt__6CTokenFv +lbl_8012EC98: +/* 8012EC98 0012BBF8 38 00 00 00 */ li r0, 0 +/* 8012EC9C 0012BBFC 98 1E 00 3C */ stb r0, 0x3c(r30) +lbl_8012ECA0: +/* 8012ECA0 0012BC00 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 8012ECA4 0012BC04 41 82 00 30 */ beq lbl_8012ECD4 +/* 8012ECA8 0012BC08 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 8012ECAC 0012BC0C 28 00 00 00 */ cmplwi r0, 0 +/* 8012ECB0 0012BC10 41 82 00 1C */ beq lbl_8012ECCC +/* 8012ECB4 0012BC14 34 7E 00 20 */ addic. r3, r30, 0x20 +/* 8012ECB8 0012BC18 41 82 00 14 */ beq lbl_8012ECCC +/* 8012ECBC 0012BC1C 28 03 00 00 */ cmplwi r3, 0 +/* 8012ECC0 0012BC20 41 82 00 0C */ beq lbl_8012ECCC +/* 8012ECC4 0012BC24 38 80 00 00 */ li r4, 0 +/* 8012ECC8 0012BC28 48 21 21 79 */ bl __dt__6CTokenFv +lbl_8012ECCC: +/* 8012ECCC 0012BC2C 38 00 00 00 */ li r0, 0 +/* 8012ECD0 0012BC30 98 1E 00 2C */ stb r0, 0x2c(r30) +lbl_8012ECD4: +/* 8012ECD4 0012BC34 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 8012ECD8 0012BC38 41 82 00 30 */ beq lbl_8012ED08 +/* 8012ECDC 0012BC3C 88 1E 00 1C */ lbz r0, 0x1c(r30) +/* 8012ECE0 0012BC40 28 00 00 00 */ cmplwi r0, 0 +/* 8012ECE4 0012BC44 41 82 00 1C */ beq lbl_8012ED00 +/* 8012ECE8 0012BC48 34 7E 00 10 */ addic. r3, r30, 0x10 +/* 8012ECEC 0012BC4C 41 82 00 14 */ beq lbl_8012ED00 +/* 8012ECF0 0012BC50 28 03 00 00 */ cmplwi r3, 0 +/* 8012ECF4 0012BC54 41 82 00 0C */ beq lbl_8012ED00 +/* 8012ECF8 0012BC58 38 80 00 00 */ li r4, 0 +/* 8012ECFC 0012BC5C 48 21 21 45 */ bl __dt__6CTokenFv +lbl_8012ED00: +/* 8012ED00 0012BC60 38 00 00 00 */ li r0, 0 +/* 8012ED04 0012BC64 98 1E 00 1C */ stb r0, 0x1c(r30) +lbl_8012ED08: +/* 8012ED08 0012BC68 7F E0 07 35 */ extsh. r0, r31 +/* 8012ED0C 0012BC6C 40 81 00 0C */ ble lbl_8012ED18 +/* 8012ED10 0012BC70 7F C3 F3 78 */ mr r3, r30 +/* 8012ED14 0012BC74 48 1E 6C 1D */ bl Free__7CMemoryFPCv +lbl_8012ED18: +/* 8012ED18 0012BC78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012ED1C 0012BC7C 7F C3 F3 78 */ mr r3, r30 +/* 8012ED20 0012BC80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012ED24 0012BC84 83 C1 00 08 */ lwz r30, 8(r1) +/* 8012ED28 0012BC88 7C 08 03 A6 */ mtlr r0 +/* 8012ED2C 0012BC8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012ED30 0012BC90 4E 80 00 20 */ blr + +.global __ct__11CFluidPlaneFUiUiUifQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion +__ct__11CFluidPlaneFUiUiUifQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion: +/* 8012ED34 0012BC94 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8012ED38 0012BC98 7C 08 02 A6 */ mflr r0 +/* 8012ED3C 0012BC9C 3D 20 80 3E */ lis r9, lbl_803E0CE0@ha +/* 8012ED40 0012BCA0 90 01 00 74 */ stw r0, 0x74(r1) +/* 8012ED44 0012BCA4 38 00 00 00 */ li r0, 0 +/* 8012ED48 0012BCA8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8012ED4C 0012BCAC 7C 7F 1B 78 */ mr r31, r3 +/* 8012ED50 0012BCB0 38 69 0C E0 */ addi r3, r9, lbl_803E0CE0@l +/* 8012ED54 0012BCB4 39 28 00 04 */ addi r9, r8, 4 +/* 8012ED58 0012BCB8 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8012ED5C 0012BCBC 90 7F 00 00 */ stw r3, 0(r31) +/* 8012ED60 0012BCC0 38 7F 00 50 */ addi r3, r31, 0x50 +/* 8012ED64 0012BCC4 90 9F 00 04 */ stw r4, 4(r31) +/* 8012ED68 0012BCC8 90 BF 00 08 */ stw r5, 8(r31) +/* 8012ED6C 0012BCCC 90 DF 00 0C */ stw r6, 0xc(r31) +/* 8012ED70 0012BCD0 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 8012ED74 0012BCD4 98 1F 00 2C */ stb r0, 0x2c(r31) +/* 8012ED78 0012BCD8 98 1F 00 3C */ stb r0, 0x3c(r31) +/* 8012ED7C 0012BCDC D0 3F 00 40 */ stfs f1, 0x40(r31) +/* 8012ED80 0012BCE0 90 FF 00 44 */ stw r7, 0x44(r31) +/* 8012ED84 0012BCE4 D0 5F 00 48 */ stfs f2, 0x48(r31) +/* 8012ED88 0012BCE8 80 08 00 00 */ lwz r0, 0(r8) +/* 8012ED8C 0012BCEC 90 1F 00 4C */ stw r0, 0x4c(r31) +/* 8012ED90 0012BCF0 80 1F 00 4C */ lwz r0, 0x4c(r31) +/* 8012ED94 0012BCF4 7C 09 03 A6 */ mtctr r0 +/* 8012ED98 0012BCF8 2C 00 00 00 */ cmpwi r0, 0 +/* 8012ED9C 0012BCFC 40 81 00 48 */ ble lbl_8012EDE4 +lbl_8012EDA0: +/* 8012EDA0 0012BD00 28 03 00 00 */ cmplwi r3, 0 +/* 8012EDA4 0012BD04 41 82 00 34 */ beq lbl_8012EDD8 +/* 8012EDA8 0012BD08 80 09 00 00 */ lwz r0, 0(r9) +/* 8012EDAC 0012BD0C 90 03 00 00 */ stw r0, 0(r3) +/* 8012EDB0 0012BD10 C0 09 00 04 */ lfs f0, 4(r9) +/* 8012EDB4 0012BD14 D0 03 00 04 */ stfs f0, 4(r3) +/* 8012EDB8 0012BD18 C0 09 00 08 */ lfs f0, 8(r9) +/* 8012EDBC 0012BD1C D0 03 00 08 */ stfs f0, 8(r3) +/* 8012EDC0 0012BD20 C0 09 00 0C */ lfs f0, 0xc(r9) +/* 8012EDC4 0012BD24 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8012EDC8 0012BD28 C0 09 00 10 */ lfs f0, 0x10(r9) +/* 8012EDCC 0012BD2C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8012EDD0 0012BD30 C0 09 00 14 */ lfs f0, 0x14(r9) +/* 8012EDD4 0012BD34 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8012EDD8: +/* 8012EDD8 0012BD38 38 63 00 18 */ addi r3, r3, 0x18 +/* 8012EDDC 0012BD3C 39 29 00 18 */ addi r9, r9, 0x18 +/* 8012EDE0 0012BD40 42 00 FF C0 */ bdnz lbl_8012EDA0 +lbl_8012EDE4: +/* 8012EDE4 0012BD44 C0 08 00 4C */ lfs f0, 0x4c(r8) +/* 8012EDE8 0012BD48 D0 1F 00 98 */ stfs f0, 0x98(r31) +/* 8012EDEC 0012BD4C C0 08 00 50 */ lfs f0, 0x50(r8) +/* 8012EDF0 0012BD50 D0 1F 00 9C */ stfs f0, 0x9c(r31) +/* 8012EDF4 0012BD54 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8012EDF8 0012BD58 80 9F 00 04 */ lwz r4, 4(r31) +/* 8012EDFC 0012BD5C 38 63 00 04 */ addi r3, r3, 4 +/* 8012EE00 0012BD60 48 20 CE CD */ bl GetResourceTypeById__10CResLoaderCFUi +/* 8012EE04 0012BD64 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 8012EE08 0012BD68 28 00 54 52 */ cmplwi r0, 0x5452 +/* 8012EE0C 0012BD6C 40 82 00 C0 */ bne lbl_8012EECC +/* 8012EE10 0012BD70 80 DF 00 04 */ lwz r6, 4(r31) +/* 8012EE14 0012BD74 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8012EE18 0012BD78 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8012EE1C 0012BD7C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8012EE20 0012BD80 90 01 00 30 */ stw r0, 0x30(r1) +/* 8012EE24 0012BD84 38 61 00 28 */ addi r3, r1, 0x28 +/* 8012EE28 0012BD88 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8012EE2C 0012BD8C 90 C1 00 34 */ stw r6, 0x34(r1) +/* 8012EE30 0012BD90 81 84 00 00 */ lwz r12, 0(r4) +/* 8012EE34 0012BD94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8012EE38 0012BD98 7D 89 03 A6 */ mtctr r12 +/* 8012EE3C 0012BD9C 4E 80 04 21 */ bctrl +/* 8012EE40 0012BDA0 3B C1 00 50 */ addi r30, r1, 0x50 +/* 8012EE44 0012BDA4 38 81 00 28 */ addi r4, r1, 0x28 +/* 8012EE48 0012BDA8 7F C3 F3 78 */ mr r3, r30 +/* 8012EE4C 0012BDAC 48 21 20 5D */ bl __ct__6CTokenFRC6CToken +/* 8012EE50 0012BDB0 7F C3 F3 78 */ mr r3, r30 +/* 8012EE54 0012BDB4 48 21 1F B9 */ bl GetObj__6CTokenFv +/* 8012EE58 0012BDB8 80 03 00 04 */ lwz r0, 4(r3) +/* 8012EE5C 0012BDBC 90 01 00 58 */ stw r0, 0x58(r1) +/* 8012EE60 0012BDC0 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 8012EE64 0012BDC4 28 00 00 00 */ cmplwi r0, 0 +/* 8012EE68 0012BDC8 40 82 00 34 */ bne lbl_8012EE9C +/* 8012EE6C 0012BDCC 37 DF 00 10 */ addic. r30, r31, 0x10 +/* 8012EE70 0012BDD0 41 82 00 20 */ beq lbl_8012EE90 +/* 8012EE74 0012BDD4 7F C3 F3 78 */ mr r3, r30 +/* 8012EE78 0012BDD8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8012EE7C 0012BDDC 48 21 20 2D */ bl __ct__6CTokenFRC6CToken +/* 8012EE80 0012BDE0 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8012EE84 0012BDE4 7F C3 F3 78 */ mr r3, r30 +/* 8012EE88 0012BDE8 90 1E 00 08 */ stw r0, 8(r30) +/* 8012EE8C 0012BDEC 48 21 1E F9 */ bl Lock__6CTokenFv +lbl_8012EE90: +/* 8012EE90 0012BDF0 38 00 00 01 */ li r0, 1 +/* 8012EE94 0012BDF4 98 1F 00 1C */ stb r0, 0x1c(r31) +/* 8012EE98 0012BDF8 48 00 00 1C */ b lbl_8012EEB4 +lbl_8012EE9C: +/* 8012EE9C 0012BDFC 3B DF 00 10 */ addi r30, r31, 0x10 +/* 8012EEA0 0012BE00 38 81 00 50 */ addi r4, r1, 0x50 +/* 8012EEA4 0012BE04 7F C3 F3 78 */ mr r3, r30 +/* 8012EEA8 0012BE08 48 21 1E 1D */ bl __as__6CTokenFRC6CToken +/* 8012EEAC 0012BE0C 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8012EEB0 0012BE10 90 1E 00 08 */ stw r0, 8(r30) +lbl_8012EEB4: +/* 8012EEB4 0012BE14 38 61 00 50 */ addi r3, r1, 0x50 +/* 8012EEB8 0012BE18 38 80 00 00 */ li r4, 0 +/* 8012EEBC 0012BE1C 48 21 1F 85 */ bl __dt__6CTokenFv +/* 8012EEC0 0012BE20 38 61 00 28 */ addi r3, r1, 0x28 +/* 8012EEC4 0012BE24 38 80 FF FF */ li r4, -1 +/* 8012EEC8 0012BE28 48 21 1F 79 */ bl __dt__6CTokenFv +lbl_8012EECC: +/* 8012EECC 0012BE2C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8012EED0 0012BE30 80 9F 00 08 */ lwz r4, 8(r31) +/* 8012EED4 0012BE34 38 63 00 04 */ addi r3, r3, 4 +/* 8012EED8 0012BE38 48 20 CD F5 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 8012EEDC 0012BE3C 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 8012EEE0 0012BE40 28 00 54 52 */ cmplwi r0, 0x5452 +/* 8012EEE4 0012BE44 40 82 00 C0 */ bne lbl_8012EFA4 +/* 8012EEE8 0012BE48 80 DF 00 08 */ lwz r6, 8(r31) +/* 8012EEEC 0012BE4C 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8012EEF0 0012BE50 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8012EEF4 0012BE54 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8012EEF8 0012BE58 90 01 00 20 */ stw r0, 0x20(r1) +/* 8012EEFC 0012BE5C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8012EF00 0012BE60 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8012EF04 0012BE64 90 C1 00 24 */ stw r6, 0x24(r1) +/* 8012EF08 0012BE68 81 84 00 00 */ lwz r12, 0(r4) +/* 8012EF0C 0012BE6C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8012EF10 0012BE70 7D 89 03 A6 */ mtctr r12 +/* 8012EF14 0012BE74 4E 80 04 21 */ bctrl +/* 8012EF18 0012BE78 3B C1 00 44 */ addi r30, r1, 0x44 +/* 8012EF1C 0012BE7C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8012EF20 0012BE80 7F C3 F3 78 */ mr r3, r30 +/* 8012EF24 0012BE84 48 21 1F 85 */ bl __ct__6CTokenFRC6CToken +/* 8012EF28 0012BE88 7F C3 F3 78 */ mr r3, r30 +/* 8012EF2C 0012BE8C 48 21 1E E1 */ bl GetObj__6CTokenFv +/* 8012EF30 0012BE90 80 03 00 04 */ lwz r0, 4(r3) +/* 8012EF34 0012BE94 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8012EF38 0012BE98 88 1F 00 2C */ lbz r0, 0x2c(r31) +/* 8012EF3C 0012BE9C 28 00 00 00 */ cmplwi r0, 0 +/* 8012EF40 0012BEA0 40 82 00 34 */ bne lbl_8012EF74 +/* 8012EF44 0012BEA4 37 DF 00 20 */ addic. r30, r31, 0x20 +/* 8012EF48 0012BEA8 41 82 00 20 */ beq lbl_8012EF68 +/* 8012EF4C 0012BEAC 7F C3 F3 78 */ mr r3, r30 +/* 8012EF50 0012BEB0 38 81 00 44 */ addi r4, r1, 0x44 +/* 8012EF54 0012BEB4 48 21 1F 55 */ bl __ct__6CTokenFRC6CToken +/* 8012EF58 0012BEB8 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8012EF5C 0012BEBC 7F C3 F3 78 */ mr r3, r30 +/* 8012EF60 0012BEC0 90 1E 00 08 */ stw r0, 8(r30) +/* 8012EF64 0012BEC4 48 21 1E 21 */ bl Lock__6CTokenFv +lbl_8012EF68: +/* 8012EF68 0012BEC8 38 00 00 01 */ li r0, 1 +/* 8012EF6C 0012BECC 98 1F 00 2C */ stb r0, 0x2c(r31) +/* 8012EF70 0012BED0 48 00 00 1C */ b lbl_8012EF8C +lbl_8012EF74: +/* 8012EF74 0012BED4 3B DF 00 20 */ addi r30, r31, 0x20 +/* 8012EF78 0012BED8 38 81 00 44 */ addi r4, r1, 0x44 +/* 8012EF7C 0012BEDC 7F C3 F3 78 */ mr r3, r30 +/* 8012EF80 0012BEE0 48 21 1D 45 */ bl __as__6CTokenFRC6CToken +/* 8012EF84 0012BEE4 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 8012EF88 0012BEE8 90 1E 00 08 */ stw r0, 8(r30) +lbl_8012EF8C: +/* 8012EF8C 0012BEEC 38 61 00 44 */ addi r3, r1, 0x44 +/* 8012EF90 0012BEF0 38 80 00 00 */ li r4, 0 +/* 8012EF94 0012BEF4 48 21 1E AD */ bl __dt__6CTokenFv +/* 8012EF98 0012BEF8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8012EF9C 0012BEFC 38 80 FF FF */ li r4, -1 +/* 8012EFA0 0012BF00 48 21 1E A1 */ bl __dt__6CTokenFv +lbl_8012EFA4: +/* 8012EFA4 0012BF04 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 8012EFA8 0012BF08 80 9F 00 0C */ lwz r4, 0xc(r31) +/* 8012EFAC 0012BF0C 38 63 00 04 */ addi r3, r3, 4 +/* 8012EFB0 0012BF10 48 20 CD 1D */ bl GetResourceTypeById__10CResLoaderCFUi +/* 8012EFB4 0012BF14 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 8012EFB8 0012BF18 28 00 54 52 */ cmplwi r0, 0x5452 +/* 8012EFBC 0012BF1C 40 82 00 C0 */ bne lbl_8012F07C +/* 8012EFC0 0012BF20 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8012EFC4 0012BF24 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 8012EFC8 0012BF28 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8012EFCC 0012BF2C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8012EFD0 0012BF30 90 01 00 10 */ stw r0, 0x10(r1) +/* 8012EFD4 0012BF34 38 61 00 08 */ addi r3, r1, 8 +/* 8012EFD8 0012BF38 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8012EFDC 0012BF3C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8012EFE0 0012BF40 81 84 00 00 */ lwz r12, 0(r4) +/* 8012EFE4 0012BF44 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8012EFE8 0012BF48 7D 89 03 A6 */ mtctr r12 +/* 8012EFEC 0012BF4C 4E 80 04 21 */ bctrl +/* 8012EFF0 0012BF50 3B C1 00 38 */ addi r30, r1, 0x38 +/* 8012EFF4 0012BF54 38 81 00 08 */ addi r4, r1, 8 +/* 8012EFF8 0012BF58 7F C3 F3 78 */ mr r3, r30 +/* 8012EFFC 0012BF5C 48 21 1E AD */ bl __ct__6CTokenFRC6CToken +/* 8012F000 0012BF60 7F C3 F3 78 */ mr r3, r30 +/* 8012F004 0012BF64 48 21 1E 09 */ bl GetObj__6CTokenFv +/* 8012F008 0012BF68 80 03 00 04 */ lwz r0, 4(r3) +/* 8012F00C 0012BF6C 90 01 00 40 */ stw r0, 0x40(r1) +/* 8012F010 0012BF70 88 1F 00 3C */ lbz r0, 0x3c(r31) +/* 8012F014 0012BF74 28 00 00 00 */ cmplwi r0, 0 +/* 8012F018 0012BF78 40 82 00 34 */ bne lbl_8012F04C +/* 8012F01C 0012BF7C 37 DF 00 30 */ addic. r30, r31, 0x30 +/* 8012F020 0012BF80 41 82 00 20 */ beq lbl_8012F040 +/* 8012F024 0012BF84 7F C3 F3 78 */ mr r3, r30 +/* 8012F028 0012BF88 38 81 00 38 */ addi r4, r1, 0x38 +/* 8012F02C 0012BF8C 48 21 1E 7D */ bl __ct__6CTokenFRC6CToken +/* 8012F030 0012BF90 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8012F034 0012BF94 7F C3 F3 78 */ mr r3, r30 +/* 8012F038 0012BF98 90 1E 00 08 */ stw r0, 8(r30) +/* 8012F03C 0012BF9C 48 21 1D 49 */ bl Lock__6CTokenFv +lbl_8012F040: +/* 8012F040 0012BFA0 38 00 00 01 */ li r0, 1 +/* 8012F044 0012BFA4 98 1F 00 3C */ stb r0, 0x3c(r31) +/* 8012F048 0012BFA8 48 00 00 1C */ b lbl_8012F064 +lbl_8012F04C: +/* 8012F04C 0012BFAC 3B DF 00 30 */ addi r30, r31, 0x30 +/* 8012F050 0012BFB0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8012F054 0012BFB4 7F C3 F3 78 */ mr r3, r30 +/* 8012F058 0012BFB8 48 21 1C 6D */ bl __as__6CTokenFRC6CToken +/* 8012F05C 0012BFBC 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8012F060 0012BFC0 90 1E 00 08 */ stw r0, 8(r30) +lbl_8012F064: +/* 8012F064 0012BFC4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8012F068 0012BFC8 38 80 00 00 */ li r4, 0 +/* 8012F06C 0012BFCC 48 21 1D D5 */ bl __dt__6CTokenFv +/* 8012F070 0012BFD0 38 61 00 08 */ addi r3, r1, 8 +/* 8012F074 0012BFD4 38 80 FF FF */ li r4, -1 +/* 8012F078 0012BFD8 48 21 1D C9 */ bl __dt__6CTokenFv +lbl_8012F07C: +/* 8012F07C 0012BFDC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8012F080 0012BFE0 7F E3 FB 78 */ mr r3, r31 +/* 8012F084 0012BFE4 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8012F088 0012BFE8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8012F08C 0012BFEC 7C 08 03 A6 */ mtlr r0 +/* 8012F090 0012BFF0 38 21 00 70 */ addi r1, r1, 0x70 +/* 8012F094 0012BFF4 4E 80 00 20 */ blr + +.global sub_8012f098 +sub_8012f098: +/* 8012F098 0012BFF8 38 60 00 00 */ li r3, 0 +/* 8012F09C 0012BFFC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CFluidPlaneManager.s b/asm/Kyoto_CWD/CFluidPlaneManager.s new file mode 100644 index 00000000..e010da35 --- /dev/null +++ b/asm/Kyoto_CWD/CFluidPlaneManager.s @@ -0,0 +1,502 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetupRippleMap__18CFluidPlaneManagerFv +SetupRippleMap__18CFluidPlaneManagerFv: +/* 8012F0A0 0012C000 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8012F0A4 0012C004 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8012F0A8 0012C008 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 8012F0AC 0012C00C DB C1 00 60 */ stfd f30, 0x60(r1) +/* 8012F0B0 0012C010 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 8012F0B4 0012C014 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8012F0B8 0012C018 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 8012F0BC 0012C01C DB 81 00 40 */ stfd f28, 0x40(r1) +/* 8012F0C0 0012C020 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 8012F0C4 0012C024 DB 61 00 30 */ stfd f27, 0x30(r1) +/* 8012F0C8 0012C028 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 +/* 8012F0CC 0012C02C DB 41 00 20 */ stfd f26, 0x20(r1) +/* 8012F0D0 0012C030 F3 41 00 28 */ psq_st f26, 40(r1), 0, qr0 +/* 8012F0D4 0012C034 C3 A2 98 F8 */ lfs f29, lbl_805AB618@sda21(r2) +/* 8012F0D8 0012C038 3C 60 80 57 */ lis r3, lbl_8057198C@ha +/* 8012F0DC 0012C03C 3C A0 80 57 */ lis r5, lbl_8057094C@ha +/* 8012F0E0 0012C040 3C 80 80 57 */ lis r4, lbl_8057194C@ha +/* 8012F0E4 0012C044 FC A0 E8 90 */ fmr f5, f29 +/* 8012F0E8 0012C048 39 23 19 8C */ addi r9, r3, lbl_8057198C@l +/* 8012F0EC 0012C04C C1 22 99 00 */ lfs f9, lbl_805AB620@sda21(r2) +/* 8012F0F0 0012C050 38 E5 09 4C */ addi r7, r5, lbl_8057094C@l +/* 8012F0F4 0012C054 C1 02 99 08 */ lfs f8, lbl_805AB628@sda21(r2) +/* 8012F0F8 0012C058 39 04 19 4C */ addi r8, r4, lbl_8057194C@l +/* 8012F0FC 0012C05C C0 E2 98 FC */ lfs f7, lbl_805AB61C@sda21(r2) +/* 8012F100 0012C060 39 40 00 00 */ li r10, 0 +/* 8012F104 0012C064 C0 C2 99 04 */ lfs f6, lbl_805AB624@sda21(r2) +/* 8012F108 0012C068 C0 42 99 1C */ lfs f2, lbl_805AB63C@sda21(r2) +/* 8012F10C 0012C06C C0 02 99 20 */ lfs f0, lbl_805AB640@sda21(r2) +/* 8012F110 0012C070 80 CD 8B 18 */ lwz r6, lbl_805A76D8@sda21(r13) +/* 8012F114 0012C074 80 6D 8B 1C */ lwz r3, lbl_805A76DC@sda21(r13) +lbl_8012F118: +/* 8012F118 0012C078 C3 82 98 F8 */ lfs f28, lbl_805AB618@sda21(r2) +/* 8012F11C 0012C07C 38 00 00 40 */ li r0, 0x40 +/* 8012F120 0012C080 7C E5 3B 78 */ mr r5, r7 +/* 8012F124 0012C084 C3 62 98 FC */ lfs f27, lbl_805AB61C@sda21(r2) +/* 8012F128 0012C088 FF 40 E0 90 */ fmr f26, f28 +/* 8012F12C 0012C08C 7C 09 03 A6 */ mtctr r0 +lbl_8012F130: +/* 8012F130 0012C090 EF C7 E0 28 */ fsubs f30, f7, f28 +/* 8012F134 0012C094 FD 60 E0 90 */ fmr f11, f28 +/* 8012F138 0012C098 FC 1C 28 40 */ fcmpo cr0, f28, f5 +/* 8012F13C 0012C09C EC 28 37 BA */ fmadds f1, f8, f30, f6 +/* 8012F140 0012C0A0 ED 49 E0 7A */ fmadds f10, f9, f1, f28 +/* 8012F144 0012C0A4 40 80 00 0C */ bge lbl_8012F150 +/* 8012F148 0012C0A8 FD 60 28 90 */ fmr f11, f5 +/* 8012F14C 0012C0AC 48 00 00 10 */ b lbl_8012F15C +lbl_8012F150: +/* 8012F150 0012C0B0 FC 0A 38 40 */ fcmpo cr0, f10, f7 +/* 8012F154 0012C0B4 40 81 00 08 */ ble lbl_8012F15C +/* 8012F158 0012C0B8 FD 40 38 90 */ fmr f10, f7 +lbl_8012F15C: +/* 8012F15C 0012C0BC FC 1D 58 40 */ fcmpo cr0, f29, f11 +/* 8012F160 0012C0C0 C0 62 98 F8 */ lfs f3, lbl_805AB618@sda21(r2) +/* 8012F164 0012C0C4 4C 41 13 82 */ cror 2, 1, 2 +/* 8012F168 0012C0C8 40 82 00 58 */ bne lbl_8012F1C0 +/* 8012F16C 0012C0CC FC 1D 50 40 */ fcmpo cr0, f29, f10 +/* 8012F170 0012C0D0 4C 40 13 82 */ cror 2, 0, 2 +/* 8012F174 0012C0D4 40 82 00 4C */ bne lbl_8012F1C0 +/* 8012F178 0012C0D8 EC 9D 58 28 */ fsubs f4, f29, f11 +/* 8012F17C 0012C0DC C0 22 99 0C */ lfs f1, lbl_805AB62C@sda21(r2) +/* 8012F180 0012C0E0 EC 6A 58 28 */ fsubs f3, f10, f11 +/* 8012F184 0012C0E4 EC 84 18 24 */ fdivs f4, f4, f3 +/* 8012F188 0012C0E8 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 8012F18C 0012C0EC 40 80 00 10 */ bge lbl_8012F19C +/* 8012F190 0012C0F0 C0 22 99 10 */ lfs f1, lbl_805AB630@sda21(r2) +/* 8012F194 0012C0F4 EC 61 01 32 */ fmuls f3, f1, f4 +/* 8012F198 0012C0F8 48 00 00 28 */ b lbl_8012F1C0 +lbl_8012F19C: +/* 8012F19C 0012C0FC C0 22 99 14 */ lfs f1, lbl_805AB634@sda21(r2) +/* 8012F1A0 0012C100 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 8012F1A4 0012C104 40 81 00 18 */ ble lbl_8012F1BC +/* 8012F1A8 0012C108 C0 22 98 FC */ lfs f1, lbl_805AB61C@sda21(r2) +/* 8012F1AC 0012C10C C0 62 99 18 */ lfs f3, lbl_805AB638@sda21(r2) +/* 8012F1B0 0012C110 EC 21 20 28 */ fsubs f1, f1, f4 +/* 8012F1B4 0012C114 EC 63 00 72 */ fmuls f3, f3, f1 +/* 8012F1B8 0012C118 48 00 00 08 */ b lbl_8012F1C0 +lbl_8012F1BC: +/* 8012F1BC 0012C11C C0 62 98 FC */ lfs f3, lbl_805AB61C@sda21(r2) +lbl_8012F1C0: +/* 8012F1C0 0012C120 EC 3E 07 B2 */ fmuls f1, f30, f30 +/* 8012F1C4 0012C124 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8012F1C8 0012C128 ED 82 00 72 */ fmuls f12, f2, f1 +/* 8012F1CC 0012C12C F1 81 A0 0A */ psq_st f12, 10(r1), 1, qr2 +/* 8012F1D0 0012C130 88 81 00 0A */ lbz r4, 0xa(r1) +/* 8012F1D4 0012C134 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8012F1D8 0012C138 98 85 00 00 */ stb r4, 0(r5) +/* 8012F1DC 0012C13C 41 82 00 10 */ beq lbl_8012F1EC +/* 8012F1E0 0012C140 FC 1C D8 40 */ fcmpo cr0, f28, f27 +/* 8012F1E4 0012C144 40 80 00 08 */ bge lbl_8012F1EC +/* 8012F1E8 0012C148 FF 60 E0 90 */ fmr f27, f28 +lbl_8012F1EC: +/* 8012F1EC 0012C14C 28 00 00 00 */ cmplwi r0, 0 +/* 8012F1F0 0012C150 41 82 00 10 */ beq lbl_8012F200 +/* 8012F1F4 0012C154 FC 1C D0 40 */ fcmpo cr0, f28, f26 +/* 8012F1F8 0012C158 40 81 00 08 */ ble lbl_8012F200 +/* 8012F1FC 0012C15C FF 40 E0 90 */ fmr f26, f28 +lbl_8012F200: +/* 8012F200 0012C160 EF 9C 00 2A */ fadds f28, f28, f0 +/* 8012F204 0012C164 38 A5 00 01 */ addi r5, r5, 1 +/* 8012F208 0012C168 42 00 FF 28 */ bdnz lbl_8012F130 +/* 8012F20C 0012C16C ED A2 06 F2 */ fmuls f13, f2, f27 +/* 8012F210 0012C170 F1 A1 A0 09 */ psq_st f13, 9(r1), 1, qr2 +/* 8012F214 0012C174 38 8D 8B 18 */ addi r4, r13, lbl_805A76D8@sda21 +/* 8012F218 0012C178 88 A1 00 09 */ lbz r5, 9(r1) +/* 8012F21C 0012C17C 38 05 FF FF */ addi r0, r5, -1 +/* 8012F220 0012C180 7C 06 00 00 */ cmpw r6, r0 +/* 8012F224 0012C184 90 01 00 10 */ stw r0, 0x10(r1) +/* 8012F228 0012C188 40 80 00 08 */ bge lbl_8012F230 +/* 8012F22C 0012C18C 38 81 00 10 */ addi r4, r1, 0x10 +lbl_8012F230: +/* 8012F230 0012C190 EF E2 06 B2 */ fmuls f31, f2, f26 +/* 8012F234 0012C194 80 04 00 00 */ lwz r0, 0(r4) +/* 8012F238 0012C198 98 08 00 00 */ stb r0, 0(r8) +/* 8012F23C 0012C19C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 8012F240 0012C1A0 38 8D 8B 1C */ addi r4, r13, lbl_805A76DC@sda21 +/* 8012F244 0012C1A4 88 A1 00 08 */ lbz r5, 8(r1) +/* 8012F248 0012C1A8 38 05 00 01 */ addi r0, r5, 1 +/* 8012F24C 0012C1AC 7C 00 18 00 */ cmpw r0, r3 +/* 8012F250 0012C1B0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8012F254 0012C1B4 40 80 00 08 */ bge lbl_8012F25C +/* 8012F258 0012C1B8 38 81 00 0C */ addi r4, r1, 0xc +lbl_8012F25C: +/* 8012F25C 0012C1BC 80 04 00 00 */ lwz r0, 0(r4) +/* 8012F260 0012C1C0 39 4A 00 01 */ addi r10, r10, 1 +/* 8012F264 0012C1C4 2C 0A 00 40 */ cmpwi r10, 0x40 +/* 8012F268 0012C1C8 EF BD 00 2A */ fadds f29, f29, f0 +/* 8012F26C 0012C1CC 98 09 00 00 */ stb r0, 0(r9) +/* 8012F270 0012C1D0 39 08 00 01 */ addi r8, r8, 1 +/* 8012F274 0012C1D4 39 29 00 01 */ addi r9, r9, 1 +/* 8012F278 0012C1D8 38 E7 00 40 */ addi r7, r7, 0x40 +/* 8012F27C 0012C1DC 41 80 FE 9C */ blt lbl_8012F118 +/* 8012F280 0012C1E0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8012F284 0012C1E4 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8012F288 0012C1E8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8012F28C 0012C1EC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 8012F290 0012C1F0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 8012F294 0012C1F4 CB A1 00 50 */ lfd f29, 0x50(r1) +/* 8012F298 0012C1F8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 8012F29C 0012C1FC CB 81 00 40 */ lfd f28, 0x40(r1) +/* 8012F2A0 0012C200 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 +/* 8012F2A4 0012C204 CB 61 00 30 */ lfd f27, 0x30(r1) +/* 8012F2A8 0012C208 E3 41 00 28 */ psq_l f26, 40(r1), 0, qr0 +/* 8012F2AC 0012C20C CB 41 00 20 */ lfd f26, 0x20(r1) +/* 8012F2B0 0012C210 38 21 00 80 */ addi r1, r1, 0x80 +/* 8012F2B4 0012C214 4E 80 00 20 */ blr + +.global CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb +CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb: +/* 8012F2B8 0012C218 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8012F2BC 0012C21C 7C 08 02 A6 */ mflr r0 +/* 8012F2C0 0012C220 90 01 01 04 */ stw r0, 0x104(r1) +/* 8012F2C4 0012C224 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 8012F2C8 0012C228 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 8012F2CC 0012C22C DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 8012F2D0 0012C230 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 8012F2D4 0012C234 BF 01 00 C0 */ stmw r24, 0xc0(r1) +/* 8012F2D8 0012C238 FF C0 08 90 */ fmr f30, f1 +/* 8012F2DC 0012C23C 7C DC 33 78 */ mr r28, r6 +/* 8012F2E0 0012C240 7C FD 3B 78 */ mr r29, r7 +/* 8012F2E4 0012C244 7C 79 1B 78 */ mr r25, r3 +/* 8012F2E8 0012C248 7C 98 23 78 */ mr r24, r4 +/* 8012F2EC 0012C24C 7C BB 2B 78 */ mr r27, r5 +/* 8012F2F0 0012C250 7D 1E 43 78 */ mr r30, r8 +/* 8012F2F4 0012C254 7F 83 E3 78 */ mr r3, r28 +/* 8012F2F8 0012C258 7F A4 EB 78 */ mr r4, r29 +/* 8012F2FC 0012C25C 4B FC F9 B5 */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f +/* 8012F300 0012C260 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012F304 0012C264 41 82 02 58 */ beq lbl_8012F55C +/* 8012F308 0012C268 C0 22 98 F8 */ lfs f1, lbl_805AB618@sda21(r2) +/* 8012F30C 0012C26C 38 D9 00 1C */ addi r6, r25, 0x1c +/* 8012F310 0012C270 38 99 00 18 */ addi r4, r25, 0x18 +/* 8012F314 0012C274 38 A0 00 00 */ li r5, 0 +/* 8012F318 0012C278 48 00 00 1C */ b lbl_8012F334 +lbl_8012F31C: +/* 8012F31C 0012C27C C0 06 00 00 */ lfs f0, 0(r6) +/* 8012F320 0012C280 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8012F324 0012C284 40 81 00 0C */ ble lbl_8012F330 +/* 8012F328 0012C288 7C C5 33 78 */ mr r5, r6 +/* 8012F32C 0012C28C FC 20 00 90 */ fmr f1, f0 +lbl_8012F330: +/* 8012F330 0012C290 38 C6 00 08 */ addi r6, r6, 8 +lbl_8012F334: +/* 8012F334 0012C294 80 04 00 00 */ lwz r0, 0(r4) +/* 8012F338 0012C298 54 00 18 38 */ slwi r0, r0, 3 +/* 8012F33C 0012C29C 7C 64 02 14 */ add r3, r4, r0 +/* 8012F340 0012C2A0 38 03 00 04 */ addi r0, r3, 4 +/* 8012F344 0012C2A4 7C 06 00 40 */ cmplw r6, r0 +/* 8012F348 0012C2A8 40 82 FF D4 */ bne lbl_8012F31C +/* 8012F34C 0012C2AC A0 18 00 00 */ lhz r0, 0(r24) +/* 8012F350 0012C2B0 28 05 00 00 */ cmplwi r5, 0 +/* 8012F354 0012C2B4 C0 02 98 F8 */ lfs f0, lbl_805AB618@sda21(r2) +/* 8012F358 0012C2B8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8012F35C 0012C2BC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8012F360 0012C2C0 B0 01 00 40 */ sth r0, 0x40(r1) +/* 8012F364 0012C2C4 41 82 00 10 */ beq lbl_8012F374 +/* 8012F368 0012C2C8 D0 05 00 00 */ stfs f0, 0(r5) +/* 8012F36C 0012C2CC B0 05 00 04 */ sth r0, 4(r5) +/* 8012F370 0012C2D0 48 00 00 20 */ b lbl_8012F390 +lbl_8012F374: +/* 8012F374 0012C2D4 34 63 00 04 */ addic. r3, r3, 4 +/* 8012F378 0012C2D8 41 82 00 0C */ beq lbl_8012F384 +/* 8012F37C 0012C2DC D0 03 00 00 */ stfs f0, 0(r3) +/* 8012F380 0012C2E0 B0 03 00 04 */ sth r0, 4(r3) +lbl_8012F384: +/* 8012F384 0012C2E4 80 64 00 00 */ lwz r3, 0(r4) +/* 8012F388 0012C2E8 38 03 00 01 */ addi r0, r3, 1 +/* 8012F38C 0012C2EC 90 04 00 00 */ stw r0, 0(r4) +lbl_8012F390: +/* 8012F390 0012C2F0 FC 20 F0 90 */ fmr f1, f30 +/* 8012F394 0012C2F4 7F 83 E3 78 */ mr r3, r28 +/* 8012F398 0012C2F8 4B FD 02 89 */ bl GetSplashEffectScale__12CScriptWaterCFf +/* 8012F39C 0012C2FC FF E0 08 90 */ fmr f31, f1 +/* 8012F3A0 0012C300 7F 83 E3 78 */ mr r3, r28 +/* 8012F3A4 0012C304 FC 20 F0 90 */ fmr f1, f30 +/* 8012F3A8 0012C308 4B FD 03 55 */ bl GetSplashEffect__12CScriptWaterCFf +/* 8012F3AC 0012C30C 88 03 00 0C */ lbz r0, 0xc(r3) +/* 8012F3B0 0012C310 28 00 00 00 */ cmplwi r0, 0 +/* 8012F3B4 0012C314 41 82 01 5C */ beq lbl_8012F510 +/* 8012F3B8 0012C318 3C 60 80 3D */ lis r3, lbl_803D0038@ha +/* 8012F3BC 0012C31C 3B 40 00 00 */ li r26, 0 +/* 8012F3C0 0012C320 38 83 00 38 */ addi r4, r3, lbl_803D0038@l +/* 8012F3C4 0012C324 3B 20 00 00 */ li r25, 0 +/* 8012F3C8 0012C328 38 60 01 00 */ li r3, 0x100 +/* 8012F3CC 0012C32C 38 A0 00 00 */ li r5, 0 +/* 8012F3D0 0012C330 48 1E 64 9D */ bl __nw__FUlPCcPCc +/* 8012F3D4 0012C334 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8012F3D8 0012C338 41 82 00 C8 */ beq lbl_8012F4A0 +/* 8012F3DC 0012C33C 3C 60 80 3D */ lis r3, lbl_803D0038@ha +/* 8012F3E0 0012C340 D3 E1 00 60 */ stfs f31, 0x60(r1) +/* 8012F3E4 0012C344 38 83 00 38 */ addi r4, r3, lbl_803D0038@l +/* 8012F3E8 0012C348 38 61 00 50 */ addi r3, r1, 0x50 +/* 8012F3EC 0012C34C D3 E1 00 64 */ stfs f31, 0x64(r1) +/* 8012F3F0 0012C350 38 84 00 07 */ addi r4, r4, 7 +/* 8012F3F4 0012C354 D3 E1 00 68 */ stfs f31, 0x68(r1) +/* 8012F3F8 0012C358 4B ED 58 C1 */ bl string_l__4rstlFPCc +/* 8012F3FC 0012C35C 80 1C 00 04 */ lwz r0, 4(r28) +/* 8012F400 0012C360 3C 60 80 57 */ lis r3, lbl_8056D410@ha +/* 8012F404 0012C364 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) +/* 8012F408 0012C368 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l +/* 8012F40C 0012C36C 90 01 00 30 */ stw r0, 0x30(r1) +/* 8012F410 0012C370 38 61 00 6C */ addi r3, r1, 0x6c +/* 8012F414 0012C374 38 81 00 34 */ addi r4, r1, 0x34 +/* 8012F418 0012C378 3B 40 00 01 */ li r26, 1 +/* 8012F41C 0012C37C 90 C1 00 38 */ stw r6, 0x38(r1) +/* 8012F420 0012C380 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8012F424 0012C384 90 01 00 34 */ stw r0, 0x34(r1) +/* 8012F428 0012C388 4B F2 20 5D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8012F42C 0012C38C 7F 64 DB 78 */ mr r4, r27 +/* 8012F430 0012C390 38 61 00 10 */ addi r3, r1, 0x10 +/* 8012F434 0012C394 3B 20 00 01 */ li r25, 1 +/* 8012F438 0012C398 4B F1 DC A5 */ bl AllocateUniqueId__13CStateManagerFv +/* 8012F43C 0012C39C A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8012F440 0012C3A0 FC 20 F0 90 */ fmr f1, f30 +/* 8012F444 0012C3A4 7F 83 E3 78 */ mr r3, r28 +/* 8012F448 0012C3A8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8012F44C 0012C3AC 4B FD 02 B1 */ bl GetSplashEffect__12CScriptWaterCFf +/* 8012F450 0012C3B0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 8012F454 0012C3B4 7C 78 1B 78 */ mr r24, r3 +/* 8012F458 0012C3B8 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 8012F45C 0012C3BC 7F A5 EB 78 */ mr r5, r29 +/* 8012F460 0012C3C0 38 61 00 84 */ addi r3, r1, 0x84 +/* 8012F464 0012C3C4 48 1E 3E 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 8012F468 0012C3C8 38 01 00 60 */ addi r0, r1, 0x60 +/* 8012F46C 0012C3CC 7C 69 1B 78 */ mr r9, r3 +/* 8012F470 0012C3D0 90 01 00 08 */ stw r0, 8(r1) +/* 8012F474 0012C3D4 38 1C 02 A4 */ addi r0, r28, 0x2a4 +/* 8012F478 0012C3D8 7F E3 FB 78 */ mr r3, r31 +/* 8012F47C 0012C3DC 7F 04 C3 78 */ mr r4, r24 +/* 8012F480 0012C3E0 90 01 00 0C */ stw r0, 0xc(r1) +/* 8012F484 0012C3E4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8012F488 0012C3E8 38 E1 00 6C */ addi r7, r1, 0x6c +/* 8012F48C 0012C3EC 39 01 00 50 */ addi r8, r1, 0x50 +/* 8012F490 0012C3F0 38 C0 00 01 */ li r6, 1 +/* 8012F494 0012C3F4 39 40 00 01 */ li r10, 1 +/* 8012F498 0012C3F8 4B F2 B6 61 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" +/* 8012F49C 0012C3FC 7C 7F 1B 78 */ mr r31, r3 +lbl_8012F4A0: +/* 8012F4A0 0012C400 7F 20 07 75 */ extsb. r0, r25 +/* 8012F4A4 0012C404 7F F8 FB 78 */ mr r24, r31 +/* 8012F4A8 0012C408 41 82 00 44 */ beq lbl_8012F4EC +/* 8012F4AC 0012C40C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8012F4B0 0012C410 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 8012F4B4 0012C414 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8012F4B8 0012C418 90 61 00 20 */ stw r3, 0x20(r1) +/* 8012F4BC 0012C41C 7C 64 1B 78 */ mr r4, r3 +/* 8012F4C0 0012C420 7C 03 02 14 */ add r0, r3, r0 +/* 8012F4C4 0012C424 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8012F4C8 0012C428 90 01 00 28 */ stw r0, 0x28(r1) +/* 8012F4CC 0012C42C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8012F4D0 0012C430 48 00 00 08 */ b lbl_8012F4D8 +lbl_8012F4D4: +/* 8012F4D4 0012C434 38 84 00 0C */ addi r4, r4, 0xc +lbl_8012F4D8: +/* 8012F4D8 0012C438 7C 04 00 40 */ cmplw r4, r0 +/* 8012F4DC 0012C43C 40 82 FF F8 */ bne lbl_8012F4D4 +/* 8012F4E0 0012C440 28 03 00 00 */ cmplwi r3, 0 +/* 8012F4E4 0012C444 41 82 00 08 */ beq lbl_8012F4EC +/* 8012F4E8 0012C448 48 1E 64 49 */ bl Free__7CMemoryFPCv +lbl_8012F4EC: +/* 8012F4EC 0012C44C 7F 40 07 75 */ extsb. r0, r26 +/* 8012F4F0 0012C450 41 82 00 0C */ beq lbl_8012F4FC +/* 8012F4F4 0012C454 38 61 00 50 */ addi r3, r1, 0x50 +/* 8012F4F8 0012C458 48 20 E5 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8012F4FC: +/* 8012F4FC 0012C45C 28 18 00 00 */ cmplwi r24, 0 +/* 8012F500 0012C460 41 82 00 10 */ beq lbl_8012F510 +/* 8012F504 0012C464 7F 63 DB 78 */ mr r3, r27 +/* 8012F508 0012C468 7F 04 C3 78 */ mr r4, r24 +/* 8012F50C 0012C46C 4B F1 D6 09 */ bl AddObject__13CStateManagerFR7CEntity +lbl_8012F510: +/* 8012F510 0012C470 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 8012F514 0012C474 41 82 00 48 */ beq lbl_8012F55C +/* 8012F518 0012C478 C0 42 98 F8 */ lfs f2, lbl_805AB618@sda21(r2) +/* 8012F51C 0012C47C FC 20 F0 90 */ fmr f1, f30 +/* 8012F520 0012C480 C0 02 98 FC */ lfs f0, lbl_805AB61C@sda21(r2) +/* 8012F524 0012C484 7F 83 E3 78 */ mr r3, r28 +/* 8012F528 0012C488 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8012F52C 0012C48C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8012F530 0012C490 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8012F534 0012C494 4B FD 01 91 */ bl GetSplashSound__12CScriptWaterCFf +/* 8012F538 0012C498 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8012F53C 0012C49C 7C 64 1B 78 */ mr r4, r3 +/* 8012F540 0012C4A0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8012F544 0012C4A4 7F A5 EB 78 */ mr r5, r29 +/* 8012F548 0012C4A8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8012F54C 0012C4AC 38 C1 00 44 */ addi r6, r1, 0x44 +/* 8012F550 0012C4B0 38 E0 00 01 */ li r7, 1 +/* 8012F554 0012C4B4 39 00 00 00 */ li r8, 0 +/* 8012F558 0012C4B8 48 1B AD 59 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +lbl_8012F55C: +/* 8012F55C 0012C4BC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 8012F560 0012C4C0 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 8012F564 0012C4C4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 8012F568 0012C4C8 CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 8012F56C 0012C4CC BB 01 00 C0 */ lmw r24, 0xc0(r1) +/* 8012F570 0012C4D0 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8012F574 0012C4D4 7C 08 03 A6 */ mtlr r0 +/* 8012F578 0012C4D8 38 21 01 00 */ addi r1, r1, 0x100 +/* 8012F57C 0012C4DC 4E 80 00 20 */ blr + +.global GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId +GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId: +/* 8012F580 0012C4E0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012F584 0012C4E4 7C 08 02 A6 */ mflr r0 +/* 8012F588 0012C4E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012F58C 0012C4EC A0 04 00 00 */ lhz r0, 0(r4) +/* 8012F590 0012C4F0 38 81 00 08 */ addi r4, r1, 8 +/* 8012F594 0012C4F4 B0 01 00 08 */ sth r0, 8(r1) +/* 8012F598 0012C4F8 4B FE DA E9 */ bl GetLastRippleDeltaTime__14CRippleManagerCF9TUniqueId +/* 8012F59C 0012C4FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012F5A0 0012C500 7C 08 03 A6 */ mtlr r0 +/* 8012F5A4 0012C504 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012F5A8 0012C508 4E 80 00 20 */ blr + +.global GetLastSplashDeltaTime__18CFluidPlaneManagerCF9TUniqueId +GetLastSplashDeltaTime__18CFluidPlaneManagerCF9TUniqueId: +/* 8012F5AC 0012C50C C0 22 99 24 */ lfs f1, lbl_805AB644@sda21(r2) +/* 8012F5B0 0012C510 38 C3 00 1C */ addi r6, r3, 0x1c +/* 8012F5B4 0012C514 38 A3 00 18 */ addi r5, r3, 0x18 +/* 8012F5B8 0012C518 48 00 00 28 */ b lbl_8012F5E0 +lbl_8012F5BC: +/* 8012F5BC 0012C51C A0 64 00 00 */ lhz r3, 0(r4) +/* 8012F5C0 0012C520 A0 06 00 04 */ lhz r0, 4(r6) +/* 8012F5C4 0012C524 7C 03 00 40 */ cmplw r3, r0 +/* 8012F5C8 0012C528 40 82 00 14 */ bne lbl_8012F5DC +/* 8012F5CC 0012C52C C0 06 00 00 */ lfs f0, 0(r6) +/* 8012F5D0 0012C530 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012F5D4 0012C534 40 81 00 08 */ ble lbl_8012F5DC +/* 8012F5D8 0012C538 FC 20 00 90 */ fmr f1, f0 +lbl_8012F5DC: +/* 8012F5DC 0012C53C 38 C6 00 08 */ addi r6, r6, 8 +lbl_8012F5E0: +/* 8012F5E0 0012C540 80 05 00 00 */ lwz r0, 0(r5) +/* 8012F5E4 0012C544 54 00 18 38 */ slwi r0, r0, 3 +/* 8012F5E8 0012C548 7C 65 02 14 */ add r3, r5, r0 +/* 8012F5EC 0012C54C 38 03 00 04 */ addi r0, r3, 4 +/* 8012F5F0 0012C550 7C 06 00 40 */ cmplw r6, r0 +/* 8012F5F4 0012C554 40 82 FF C8 */ bne lbl_8012F5BC + +.global sub_8012f5f8 +sub_8012f5f8: +/* 8012F5F8 0012C558 4E 80 00 20 */ blr + +.global EndFrame__18CFluidPlaneManagerCFv +EndFrame__18CFluidPlaneManagerCFv: +/* 8012F5FC 0012C55C 38 00 00 00 */ li r0, 0 +/* 8012F600 0012C560 98 03 01 21 */ stb r0, 0x121(r3) +/* 8012F604 0012C564 4E 80 00 20 */ blr + +.global StartFrame__18CFluidPlaneManagerCFb +StartFrame__18CFluidPlaneManagerCFb: +/* 8012F608 0012C568 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012F60C 0012C56C 7C 08 02 A6 */ mflr r0 +/* 8012F610 0012C570 3C A0 80 57 */ lis r5, lbl_8056F8B4@ha +/* 8012F614 0012C574 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012F618 0012C578 98 83 01 21 */ stb r4, 0x121(r3) +/* 8012F61C 0012C57C 38 65 F8 B4 */ addi r3, r5, lbl_8056F8B4@l +/* 8012F620 0012C580 48 00 01 39 */ bl Clear__Q218CFluidPlaneManager13CFluidProfileFv +/* 8012F624 0012C584 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012F628 0012C588 7C 08 03 A6 */ mtlr r0 +/* 8012F62C 0012C58C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012F630 0012C590 4E 80 00 20 */ blr + +.global Update__18CFluidPlaneManagerFf +Update__18CFluidPlaneManagerFf: +/* 8012F634 0012C594 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8012F638 0012C598 7C 08 02 A6 */ mflr r0 +/* 8012F63C 0012C59C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8012F640 0012C5A0 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8012F644 0012C5A4 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8012F648 0012C5A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012F64C 0012C5AC 7C 7F 1B 78 */ mr r31, r3 +/* 8012F650 0012C5B0 FF E0 08 90 */ fmr f31, f1 +/* 8012F654 0012C5B4 C0 03 01 1C */ lfs f0, 0x11c(r3) +/* 8012F658 0012C5B8 EC 1F 00 2A */ fadds f0, f31, f0 +/* 8012F65C 0012C5BC D0 03 01 1C */ stfs f0, 0x11c(r3) +/* 8012F660 0012C5C0 4B FE DA 6D */ bl Update__14CRippleManagerFf +/* 8012F664 0012C5C4 C0 02 99 24 */ lfs f0, lbl_805AB644@sda21(r2) +/* 8012F668 0012C5C8 38 BF 00 1C */ addi r5, r31, 0x1c +/* 8012F66C 0012C5CC 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8012F670 0012C5D0 48 00 00 24 */ b lbl_8012F694 +lbl_8012F674: +/* 8012F674 0012C5D4 C0 25 00 00 */ lfs f1, 0(r5) +/* 8012F678 0012C5D8 EC 3F 08 2A */ fadds f1, f31, f1 +/* 8012F67C 0012C5DC D0 25 00 00 */ stfs f1, 0(r5) +/* 8012F680 0012C5E0 C0 25 00 00 */ lfs f1, 0(r5) +/* 8012F684 0012C5E4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012F688 0012C5E8 40 81 00 08 */ ble lbl_8012F690 +/* 8012F68C 0012C5EC D0 05 00 00 */ stfs f0, 0(r5) +lbl_8012F690: +/* 8012F690 0012C5F0 38 A5 00 08 */ addi r5, r5, 8 +lbl_8012F694: +/* 8012F694 0012C5F4 80 04 00 00 */ lwz r0, 0(r4) +/* 8012F698 0012C5F8 54 00 18 38 */ slwi r0, r0, 3 +/* 8012F69C 0012C5FC 7C 64 02 14 */ add r3, r4, r0 +/* 8012F6A0 0012C600 38 03 00 04 */ addi r0, r3, 4 +/* 8012F6A4 0012C604 7C 05 00 40 */ cmplw r5, r0 +/* 8012F6A8 0012C608 40 82 FF CC */ bne lbl_8012F674 +/* 8012F6AC 0012C60C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8012F6B0 0012C610 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8012F6B4 0012C614 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8012F6B8 0012C618 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012F6BC 0012C61C 7C 08 03 A6 */ mtlr r0 +/* 8012F6C0 0012C620 38 21 00 20 */ addi r1, r1, 0x20 +/* 8012F6C4 0012C624 4E 80 00 20 */ blr + +.global __ct__18CFluidPlaneManagerFv +__ct__18CFluidPlaneManagerFv: +/* 8012F6C8 0012C628 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012F6CC 0012C62C 7C 08 02 A6 */ mflr r0 +/* 8012F6D0 0012C630 C0 22 99 28 */ lfs f1, lbl_805AB648@sda21(r2) +/* 8012F6D4 0012C634 38 80 00 14 */ li r4, 0x14 +/* 8012F6D8 0012C638 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012F6DC 0012C63C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012F6E0 0012C640 7C 7F 1B 78 */ mr r31, r3 +/* 8012F6E4 0012C644 4B FE DC 01 */ bl __ct__14CRippleManagerFif +/* 8012F6E8 0012C648 38 00 00 00 */ li r0, 0 +/* 8012F6EC 0012C64C 3C 60 80 57 */ lis r3, lbl_8056F8B4@ha +/* 8012F6F0 0012C650 90 1F 00 18 */ stw r0, 0x18(r31) +/* 8012F6F4 0012C654 38 63 F8 B4 */ addi r3, r3, lbl_8056F8B4@l +/* 8012F6F8 0012C658 C0 02 98 F8 */ lfs f0, lbl_805AB618@sda21(r2) +/* 8012F6FC 0012C65C D0 1F 01 1C */ stfs f0, 0x11c(r31) +/* 8012F700 0012C660 98 1F 01 20 */ stb r0, 0x120(r31) +/* 8012F704 0012C664 98 1F 01 21 */ stb r0, 0x121(r31) +/* 8012F708 0012C668 48 00 00 51 */ bl Clear__Q218CFluidPlaneManager13CFluidProfileFv +/* 8012F70C 0012C66C C0 02 99 24 */ lfs f0, lbl_805AB644@sda21(r2) +/* 8012F710 0012C670 38 BF 00 1C */ addi r5, r31, 0x1c +/* 8012F714 0012C674 38 9F 00 18 */ addi r4, r31, 0x18 +/* 8012F718 0012C678 48 00 00 0C */ b lbl_8012F724 +lbl_8012F71C: +/* 8012F71C 0012C67C D0 05 00 00 */ stfs f0, 0(r5) +/* 8012F720 0012C680 38 A5 00 08 */ addi r5, r5, 8 +lbl_8012F724: +/* 8012F724 0012C684 80 04 00 00 */ lwz r0, 0(r4) +/* 8012F728 0012C688 54 00 18 38 */ slwi r0, r0, 3 +/* 8012F72C 0012C68C 7C 64 02 14 */ add r3, r4, r0 +/* 8012F730 0012C690 38 03 00 04 */ addi r0, r3, 4 +/* 8012F734 0012C694 7C 05 00 40 */ cmplw r5, r0 +/* 8012F738 0012C698 40 82 FF E4 */ bne lbl_8012F71C +/* 8012F73C 0012C69C 4B FF F9 65 */ bl SetupRippleMap__18CFluidPlaneManagerFv +/* 8012F740 0012C6A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012F744 0012C6A4 7F E3 FB 78 */ mr r3, r31 +/* 8012F748 0012C6A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012F74C 0012C6AC 7C 08 03 A6 */ mtlr r0 +/* 8012F750 0012C6B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012F754 0012C6B4 4E 80 00 20 */ blr + +.global Clear__Q218CFluidPlaneManager13CFluidProfileFv +Clear__Q218CFluidPlaneManager13CFluidProfileFv: +/* 8012F758 0012C6B8 C0 02 98 F8 */ lfs f0, lbl_805AB618@sda21(r2) +/* 8012F75C 0012C6BC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8012F760 0012C6C0 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8012F764 0012C6C4 D0 03 00 08 */ stfs f0, 8(r3) +/* 8012F768 0012C6C8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8012F76C 0012C6CC D0 03 00 00 */ stfs f0, 0(r3) +/* 8012F770 0012C6D0 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CFluidUVMotion.s b/asm/Kyoto_CWD/CFluidUVMotion.s new file mode 100644 index 00000000..bbc83d1c --- /dev/null +++ b/asm/Kyoto_CWD/CFluidUVMotion.s @@ -0,0 +1,310 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CalculateFluidTextureOffset__14CFluidUVMotionCFfPA2_f +CalculateFluidTextureOffset__14CFluidUVMotionCFfPA2_f: +/* 8011CAE4 00119A44 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8011CAE8 00119A48 7C 08 02 A6 */ mflr r0 +/* 8011CAEC 00119A4C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8011CAF0 00119A50 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8011CAF4 00119A54 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8011CAF8 00119A58 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 8011CAFC 00119A5C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8011CB00 00119A60 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8011CB04 00119A64 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 8011CB08 00119A68 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 8011CB0C 00119A6C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 8011CB10 00119A70 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 8011CB14 00119A74 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 8011CB18 00119A78 DB 41 00 30 */ stfd f26, 0x30(r1) +/* 8011CB1C 00119A7C F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 +/* 8011CB20 00119A80 DB 21 00 20 */ stfd f25, 0x20(r1) +/* 8011CB24 00119A84 F3 21 00 28 */ psq_st f25, 40(r1), 0, qr0 +/* 8011CB28 00119A88 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8011CB2C 00119A8C 7C 7B 1B 78 */ mr r27, r3 +/* 8011CB30 00119A90 FF E0 08 90 */ fmr f31, f1 +/* 8011CB34 00119A94 C0 03 00 4C */ lfs f0, 0x4c(r3) +/* 8011CB38 00119A98 7C 9C 23 78 */ mr r28, r4 +/* 8011CB3C 00119A9C C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8011CB40 00119AA0 EF BF 00 32 */ fmuls f29, f31, f0 +/* 8011CB44 00119AA4 48 1F 82 01 */ bl FastCosR__5CMathFf +/* 8011CB48 00119AA8 EF 9D 00 72 */ fmuls f28, f29, f1 +/* 8011CB4C 00119AAC C0 3B 00 50 */ lfs f1, 0x50(r27) +/* 8011CB50 00119AB0 48 1F 82 A1 */ bl FastSinR__5CMathFf +/* 8011CB54 00119AB4 EF BD 00 72 */ fmuls f29, f29, f1 +/* 8011CB58 00119AB8 7F 9D E3 78 */ mr r29, r28 +/* 8011CB5C 00119ABC 3B 80 00 00 */ li r28, 0 +/* 8011CB60 00119AC0 3B E0 00 00 */ li r31, 0 +/* 8011CB64 00119AC4 48 00 01 08 */ b lbl_8011CC6C +lbl_8011CB68: +/* 8011CB68 00119AC8 7F DB FA 14 */ add r30, r27, r31 +/* 8011CB6C 00119ACC C0 1E 00 08 */ lfs f0, 8(r30) +/* 8011CB70 00119AD0 EF DF 00 32 */ fmuls f30, f31, f0 +/* 8011CB74 00119AD4 FC 20 F0 90 */ fmr f1, f30 +/* 8011CB78 00119AD8 48 27 79 4D */ bl floor +/* 8011CB7C 00119ADC FC 00 08 18 */ frsp f0, f1 +/* 8011CB80 00119AE0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8011CB84 00119AE4 2C 00 00 01 */ cmpwi r0, 1 +/* 8011CB88 00119AE8 EC 3E 00 28 */ fsubs f1, f30, f0 +/* 8011CB8C 00119AEC 41 82 00 2C */ beq lbl_8011CBB8 +/* 8011CB90 00119AF0 40 80 00 10 */ bge lbl_8011CBA0 +/* 8011CB94 00119AF4 2C 00 00 00 */ cmpwi r0, 0 +/* 8011CB98 00119AF8 40 80 00 14 */ bge lbl_8011CBAC +/* 8011CB9C 00119AFC 48 00 00 64 */ b lbl_8011CC00 +lbl_8011CBA0: +/* 8011CBA0 00119B00 2C 00 00 03 */ cmpwi r0, 3 +/* 8011CBA4 00119B04 40 80 00 5C */ bge lbl_8011CC00 +/* 8011CBA8 00119B08 48 00 00 3C */ b lbl_8011CBE4 +lbl_8011CBAC: +/* 8011CBAC 00119B0C FF 40 F0 90 */ fmr f26, f30 +/* 8011CBB0 00119B10 C3 62 97 18 */ lfs f27, lbl_805AB438@sda21(r2) +/* 8011CBB4 00119B14 48 00 00 54 */ b lbl_8011CC08 +lbl_8011CBB8: +/* 8011CBB8 00119B18 C0 02 97 1C */ lfs f0, lbl_805AB43C@sda21(r2) +/* 8011CBBC 00119B1C EF C0 00 72 */ fmuls f30, f0, f1 +/* 8011CBC0 00119B20 FC 20 F0 90 */ fmr f1, f30 +/* 8011CBC4 00119B24 48 1F 82 2D */ bl FastSinR__5CMathFf +/* 8011CBC8 00119B28 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8011CBCC 00119B2C EF 60 00 72 */ fmuls f27, f0, f1 +/* 8011CBD0 00119B30 FC 20 F0 90 */ fmr f1, f30 +/* 8011CBD4 00119B34 48 1F 81 71 */ bl FastCosR__5CMathFf +/* 8011CBD8 00119B38 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8011CBDC 00119B3C EF 40 00 72 */ fmuls f26, f0, f1 +/* 8011CBE0 00119B40 48 00 00 28 */ b lbl_8011CC08 +lbl_8011CBE4: +/* 8011CBE4 00119B44 C0 02 97 1C */ lfs f0, lbl_805AB43C@sda21(r2) +/* 8011CBE8 00119B48 C3 62 97 18 */ lfs f27, lbl_805AB438@sda21(r2) +/* 8011CBEC 00119B4C EC 20 00 72 */ fmuls f1, f0, f1 +/* 8011CBF0 00119B50 48 1F 81 55 */ bl FastCosR__5CMathFf +/* 8011CBF4 00119B54 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8011CBF8 00119B58 EF 40 00 72 */ fmuls f26, f0, f1 +/* 8011CBFC 00119B5C 48 00 00 0C */ b lbl_8011CC08 +lbl_8011CC00: +/* 8011CC00 00119B60 C3 42 97 18 */ lfs f26, lbl_805AB438@sda21(r2) +/* 8011CC04 00119B64 FF 60 D0 90 */ fmr f27, f26 +lbl_8011CC08: +/* 8011CC08 00119B68 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8011CC0C 00119B6C 48 1F 81 39 */ bl FastCosR__5CMathFf +/* 8011CC10 00119B70 EF DB E8 7A */ fmadds f30, f27, f1, f29 +/* 8011CC14 00119B74 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8011CC18 00119B78 48 1F 81 D9 */ bl FastSinR__5CMathFf +/* 8011CC1C 00119B7C EF 3A F0 7A */ fmadds f25, f26, f1, f30 +/* 8011CC20 00119B80 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8011CC24 00119B84 48 1F 81 21 */ bl FastCosR__5CMathFf +/* 8011CC28 00119B88 EF DA E0 7A */ fmadds f30, f26, f1, f28 +/* 8011CC2C 00119B8C C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 8011CC30 00119B90 48 1F 81 C1 */ bl FastSinR__5CMathFf +/* 8011CC34 00119B94 EF 5B F0 7A */ fmadds f26, f27, f1, f30 +/* 8011CC38 00119B98 FC 20 C8 90 */ fmr f1, f25 +/* 8011CC3C 00119B9C 48 27 78 89 */ bl floor +/* 8011CC40 00119BA0 FC 00 08 18 */ frsp f0, f1 +/* 8011CC44 00119BA4 FC 20 D0 90 */ fmr f1, f26 +/* 8011CC48 00119BA8 EC 19 00 28 */ fsubs f0, f25, f0 +/* 8011CC4C 00119BAC D0 1D 00 00 */ stfs f0, 0(r29) +/* 8011CC50 00119BB0 48 27 78 75 */ bl floor +/* 8011CC54 00119BB4 FC 00 08 18 */ frsp f0, f1 +/* 8011CC58 00119BB8 3B 9C 00 01 */ addi r28, r28, 1 +/* 8011CC5C 00119BBC 3B FF 00 18 */ addi r31, r31, 0x18 +/* 8011CC60 00119BC0 EC 1A 00 28 */ fsubs f0, f26, f0 +/* 8011CC64 00119BC4 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8011CC68 00119BC8 3B BD 00 08 */ addi r29, r29, 8 +lbl_8011CC6C: +/* 8011CC6C 00119BCC 80 1B 00 00 */ lwz r0, 0(r27) +/* 8011CC70 00119BD0 7C 1C 00 00 */ cmpw r28, r0 +/* 8011CC74 00119BD4 41 80 FE F4 */ blt lbl_8011CB68 +/* 8011CC78 00119BD8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8011CC7C 00119BDC CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8011CC80 00119BE0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 8011CC84 00119BE4 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 8011CC88 00119BE8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8011CC8C 00119BEC CB A1 00 60 */ lfd f29, 0x60(r1) +/* 8011CC90 00119BF0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 8011CC94 00119BF4 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 8011CC98 00119BF8 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 8011CC9C 00119BFC CB 61 00 40 */ lfd f27, 0x40(r1) +/* 8011CCA0 00119C00 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 +/* 8011CCA4 00119C04 CB 41 00 30 */ lfd f26, 0x30(r1) +/* 8011CCA8 00119C08 E3 21 00 28 */ psq_l f25, 40(r1), 0, qr0 +/* 8011CCAC 00119C0C CB 21 00 20 */ lfd f25, 0x20(r1) +/* 8011CCB0 00119C10 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 8011CCB4 00119C14 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8011CCB8 00119C18 7C 08 03 A6 */ mtlr r0 +/* 8011CCBC 00119C1C 38 21 00 90 */ addi r1, r1, 0x90 +/* 8011CCC0 00119C20 4E 80 00 20 */ blr + +.global __ct__14CFluidUVMotionFffRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotion +__ct__14CFluidUVMotionFffRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotion: +/* 8011CCC4 00119C24 C0 C2 97 20 */ lfs f6, lbl_805AB440@sda21(r2) +/* 8011CCC8 00119C28 38 E0 00 00 */ li r7, 0 +/* 8011CCCC 00119C2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011CCD0 00119C30 EC A6 08 24 */ fdivs f5, f6, f1 +/* 8011CCD4 00119C34 C0 82 97 24 */ lfs f4, lbl_805AB444@sda21(r2) +/* 8011CCD8 00119C38 90 E3 00 00 */ stw r7, 0(r3) +/* 8011CCDC 00119C3C C0 62 97 18 */ lfs f3, lbl_805AB438@sda21(r2) +/* 8011CCE0 00119C40 C0 22 97 28 */ lfs f1, lbl_805AB448@sda21(r2) +/* 8011CCE4 00119C44 C0 02 97 2C */ lfs f0, lbl_805AB44C@sda21(r2) +/* 8011CCE8 00119C48 D0 A3 00 4C */ stfs f5, 0x4c(r3) +/* 8011CCEC 00119C4C D0 43 00 50 */ stfs f2, 0x50(r3) +/* 8011CCF0 00119C50 81 03 00 00 */ lwz r8, 0(r3) +/* 8011CCF4 00119C54 90 E1 00 08 */ stw r7, 8(r1) +/* 8011CCF8 00119C58 2C 08 00 03 */ cmpwi r8, 3 +/* 8011CCFC 00119C5C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8011CD00 00119C60 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8011CD04 00119C64 D0 C1 00 14 */ stfs f6, 0x14(r1) +/* 8011CD08 00119C68 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8011CD0C 00119C6C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8011CD10 00119C70 40 80 00 50 */ bge lbl_8011CD60 +/* 8011CD14 00119C74 1C 08 00 18 */ mulli r0, r8, 0x18 +/* 8011CD18 00119C78 21 28 00 03 */ subfic r9, r8, 3 +/* 8011CD1C 00119C7C 7D 03 02 14 */ add r8, r3, r0 +/* 8011CD20 00119C80 7D 29 03 A6 */ mtctr r9 +/* 8011CD24 00119C84 2C 09 00 00 */ cmpwi r9, 0 +/* 8011CD28 00119C88 39 08 00 04 */ addi r8, r8, 4 +/* 8011CD2C 00119C8C 40 81 00 2C */ ble lbl_8011CD58 +lbl_8011CD30: +/* 8011CD30 00119C90 28 08 00 00 */ cmplwi r8, 0 +/* 8011CD34 00119C94 41 82 00 1C */ beq lbl_8011CD50 +/* 8011CD38 00119C98 90 E8 00 00 */ stw r7, 0(r8) +/* 8011CD3C 00119C9C D0 88 00 04 */ stfs f4, 4(r8) +/* 8011CD40 00119CA0 D0 68 00 08 */ stfs f3, 8(r8) +/* 8011CD44 00119CA4 D0 C8 00 0C */ stfs f6, 0xc(r8) +/* 8011CD48 00119CA8 D0 28 00 10 */ stfs f1, 0x10(r8) +/* 8011CD4C 00119CAC D0 08 00 14 */ stfs f0, 0x14(r8) +lbl_8011CD50: +/* 8011CD50 00119CB0 39 08 00 18 */ addi r8, r8, 0x18 +/* 8011CD54 00119CB4 42 00 FF DC */ bdnz lbl_8011CD30 +lbl_8011CD58: +/* 8011CD58 00119CB8 38 00 00 03 */ li r0, 3 +/* 8011CD5C 00119CBC 90 03 00 00 */ stw r0, 0(r3) +lbl_8011CD60: +/* 8011CD60 00119CC0 80 04 00 00 */ lwz r0, 0(r4) +/* 8011CD64 00119CC4 90 03 00 04 */ stw r0, 4(r3) +/* 8011CD68 00119CC8 C0 04 00 04 */ lfs f0, 4(r4) +/* 8011CD6C 00119CCC D0 03 00 08 */ stfs f0, 8(r3) +/* 8011CD70 00119CD0 C0 04 00 08 */ lfs f0, 8(r4) +/* 8011CD74 00119CD4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8011CD78 00119CD8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8011CD7C 00119CDC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8011CD80 00119CE0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8011CD84 00119CE4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8011CD88 00119CE8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8011CD8C 00119CEC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8011CD90 00119CF0 80 05 00 00 */ lwz r0, 0(r5) +/* 8011CD94 00119CF4 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8011CD98 00119CF8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8011CD9C 00119CFC D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8011CDA0 00119D00 C0 05 00 08 */ lfs f0, 8(r5) +/* 8011CDA4 00119D04 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8011CDA8 00119D08 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8011CDAC 00119D0C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8011CDB0 00119D10 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8011CDB4 00119D14 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8011CDB8 00119D18 C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8011CDBC 00119D1C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8011CDC0 00119D20 80 06 00 00 */ lwz r0, 0(r6) +/* 8011CDC4 00119D24 90 03 00 34 */ stw r0, 0x34(r3) +/* 8011CDC8 00119D28 C0 06 00 04 */ lfs f0, 4(r6) +/* 8011CDCC 00119D2C D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8011CDD0 00119D30 C0 06 00 08 */ lfs f0, 8(r6) +/* 8011CDD4 00119D34 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 8011CDD8 00119D38 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8011CDDC 00119D3C D0 03 00 40 */ stfs f0, 0x40(r3) +/* 8011CDE0 00119D40 C0 06 00 10 */ lfs f0, 0x10(r6) +/* 8011CDE4 00119D44 D0 03 00 44 */ stfs f0, 0x44(r3) +/* 8011CDE8 00119D48 C0 06 00 14 */ lfs f0, 0x14(r6) +/* 8011CDEC 00119D4C D0 03 00 48 */ stfs f0, 0x48(r3) +/* 8011CDF0 00119D50 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011CDF4 00119D54 4E 80 00 20 */ blr + +.global __ct__14CFluidUVMotionFff +__ct__14CFluidUVMotionFff: +/* 8011CDF8 00119D58 C0 C2 97 20 */ lfs f6, lbl_805AB440@sda21(r2) +/* 8011CDFC 00119D5C 38 80 00 00 */ li r4, 0 +/* 8011CE00 00119D60 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8011CE04 00119D64 EC A6 08 24 */ fdivs f5, f6, f1 +/* 8011CE08 00119D68 C0 82 97 24 */ lfs f4, lbl_805AB444@sda21(r2) +/* 8011CE0C 00119D6C 90 83 00 00 */ stw r4, 0(r3) +/* 8011CE10 00119D70 C0 62 97 18 */ lfs f3, lbl_805AB438@sda21(r2) +/* 8011CE14 00119D74 C0 22 97 28 */ lfs f1, lbl_805AB448@sda21(r2) +/* 8011CE18 00119D78 C0 02 97 2C */ lfs f0, lbl_805AB44C@sda21(r2) +/* 8011CE1C 00119D7C D0 A3 00 4C */ stfs f5, 0x4c(r3) +/* 8011CE20 00119D80 D0 43 00 50 */ stfs f2, 0x50(r3) +/* 8011CE24 00119D84 80 A3 00 00 */ lwz r5, 0(r3) +/* 8011CE28 00119D88 90 81 00 50 */ stw r4, 0x50(r1) +/* 8011CE2C 00119D8C 2C 05 00 03 */ cmpwi r5, 3 +/* 8011CE30 00119D90 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 8011CE34 00119D94 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 8011CE38 00119D98 D0 C1 00 5C */ stfs f6, 0x5c(r1) +/* 8011CE3C 00119D9C D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8011CE40 00119DA0 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8011CE44 00119DA4 40 80 00 50 */ bge lbl_8011CE94 +/* 8011CE48 00119DA8 1C 05 00 18 */ mulli r0, r5, 0x18 +/* 8011CE4C 00119DAC 20 C5 00 03 */ subfic r6, r5, 3 +/* 8011CE50 00119DB0 7C A3 02 14 */ add r5, r3, r0 +/* 8011CE54 00119DB4 7C C9 03 A6 */ mtctr r6 +/* 8011CE58 00119DB8 2C 06 00 00 */ cmpwi r6, 0 +/* 8011CE5C 00119DBC 38 A5 00 04 */ addi r5, r5, 4 +/* 8011CE60 00119DC0 40 81 00 2C */ ble lbl_8011CE8C +lbl_8011CE64: +/* 8011CE64 00119DC4 28 05 00 00 */ cmplwi r5, 0 +/* 8011CE68 00119DC8 41 82 00 1C */ beq lbl_8011CE84 +/* 8011CE6C 00119DCC 90 85 00 00 */ stw r4, 0(r5) +/* 8011CE70 00119DD0 D0 85 00 04 */ stfs f4, 4(r5) +/* 8011CE74 00119DD4 D0 65 00 08 */ stfs f3, 8(r5) +/* 8011CE78 00119DD8 D0 C5 00 0C */ stfs f6, 0xc(r5) +/* 8011CE7C 00119DDC D0 25 00 10 */ stfs f1, 0x10(r5) +/* 8011CE80 00119DE0 D0 05 00 14 */ stfs f0, 0x14(r5) +lbl_8011CE84: +/* 8011CE84 00119DE4 38 A5 00 18 */ addi r5, r5, 0x18 +/* 8011CE88 00119DE8 42 00 FF DC */ bdnz lbl_8011CE64 +lbl_8011CE8C: +/* 8011CE8C 00119DEC 38 00 00 03 */ li r0, 3 +/* 8011CE90 00119DF0 90 03 00 00 */ stw r0, 0(r3) +lbl_8011CE94: +/* 8011CE94 00119DF4 38 00 00 00 */ li r0, 0 +/* 8011CE98 00119DF8 C0 42 97 2C */ lfs f2, lbl_805AB44C@sda21(r2) +/* 8011CE9C 00119DFC C0 C2 97 30 */ lfs f6, lbl_805AB450@sda21(r2) +/* 8011CEA0 00119E00 90 03 00 04 */ stw r0, 4(r3) +/* 8011CEA4 00119E04 C0 A2 97 18 */ lfs f5, lbl_805AB438@sda21(r2) +/* 8011CEA8 00119E08 D0 C3 00 08 */ stfs f6, 8(r3) +/* 8011CEAC 00119E0C C0 82 97 20 */ lfs f4, lbl_805AB440@sda21(r2) +/* 8011CEB0 00119E10 D0 A3 00 0C */ stfs f5, 0xc(r3) +/* 8011CEB4 00119E14 C0 62 97 28 */ lfs f3, lbl_805AB448@sda21(r2) +/* 8011CEB8 00119E18 D0 83 00 10 */ stfs f4, 0x10(r3) +/* 8011CEBC 00119E1C C0 22 97 34 */ lfs f1, lbl_805AB454@sda21(r2) +/* 8011CEC0 00119E20 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 8011CEC4 00119E24 C0 02 97 38 */ lfs f0, lbl_805AB458@sda21(r2) +/* 8011CEC8 00119E28 D0 43 00 18 */ stfs f2, 0x18(r3) +/* 8011CECC 00119E2C 90 03 00 1C */ stw r0, 0x1c(r3) +/* 8011CED0 00119E30 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8011CED4 00119E34 D0 A3 00 24 */ stfs f5, 0x24(r3) +/* 8011CED8 00119E38 D0 83 00 28 */ stfs f4, 0x28(r3) +/* 8011CEDC 00119E3C D0 63 00 2C */ stfs f3, 0x2c(r3) +/* 8011CEE0 00119E40 D0 43 00 30 */ stfs f2, 0x30(r3) +/* 8011CEE4 00119E44 90 03 00 34 */ stw r0, 0x34(r3) +/* 8011CEE8 00119E48 D0 43 00 38 */ stfs f2, 0x38(r3) +/* 8011CEEC 00119E4C D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 8011CEF0 00119E50 D0 83 00 40 */ stfs f4, 0x40(r3) +/* 8011CEF4 00119E54 D0 63 00 44 */ stfs f3, 0x44(r3) +/* 8011CEF8 00119E58 90 01 00 38 */ stw r0, 0x38(r1) +/* 8011CEFC 00119E5C D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 8011CF00 00119E60 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 8011CF04 00119E64 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 8011CF08 00119E68 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8011CF0C 00119E6C D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8011CF10 00119E70 90 01 00 20 */ stw r0, 0x20(r1) +/* 8011CF14 00119E74 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8011CF18 00119E78 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 8011CF1C 00119E7C D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8011CF20 00119E80 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8011CF24 00119E84 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8011CF28 00119E88 90 01 00 08 */ stw r0, 8(r1) +/* 8011CF2C 00119E8C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8011CF30 00119E90 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8011CF34 00119E94 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8011CF38 00119E98 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8011CF3C 00119E9C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8011CF40 00119EA0 D0 43 00 48 */ stfs f2, 0x48(r3) +/* 8011CF44 00119EA4 38 21 00 70 */ addi r1, r1, 0x70 +/* 8011CF48 00119EA8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CHUDMemoParms.s b/asm/Kyoto_CWD/CHUDMemoParms.s new file mode 100644 index 00000000..d7cbb2e3 --- /dev/null +++ b/asm/Kyoto_CWD/CHUDMemoParms.s @@ -0,0 +1,29 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__13CHUDMemoParmsFR12CInputStream +__ct__13CHUDMemoParmsFR12CInputStream: +/* 800E82D0 000E5230 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E82D4 000E5234 7C 08 02 A6 */ mflr r0 +/* 800E82D8 000E5238 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E82DC 000E523C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E82E0 000E5240 7C 9F 23 78 */ mr r31, r4 +/* 800E82E4 000E5244 93 C1 00 08 */ stw r30, 8(r1) +/* 800E82E8 000E5248 7C 7E 1B 78 */ mr r30, r3 +/* 800E82EC 000E524C 7F E3 FB 78 */ mr r3, r31 +/* 800E82F0 000E5250 48 25 69 39 */ bl ReadFloat__12CInputStreamFv +/* 800E82F4 000E5254 D0 3E 00 00 */ stfs f1, 0(r30) +/* 800E82F8 000E5258 7F E3 FB 78 */ mr r3, r31 +/* 800E82FC 000E525C 48 25 69 E1 */ bl ReadBool__12CInputStreamFv +/* 800E8300 000E5260 98 7E 00 04 */ stb r3, 4(r30) +/* 800E8304 000E5264 38 00 00 00 */ li r0, 0 +/* 800E8308 000E5268 7F C3 F3 78 */ mr r3, r30 +/* 800E830C 000E526C 98 1E 00 05 */ stb r0, 5(r30) +/* 800E8310 000E5270 98 1E 00 06 */ stb r0, 6(r30) +/* 800E8314 000E5274 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E8318 000E5278 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E831C 000E527C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E8320 000E5280 7C 08 03 A6 */ mtlr r0 +/* 800E8324 000E5284 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E8328 000E5288 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CInGameGuiManager.s b/asm/Kyoto_CWD/CInGameGuiManager.s new file mode 100644 index 00000000..ff4d9d98 --- /dev/null +++ b/asm/Kyoto_CWD/CInGameGuiManager.s @@ -0,0 +1,4733 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global TryReloadAreaTextures__17CInGameGuiManagerFv +TryReloadAreaTextures__17CInGameGuiManagerFv: +/* 80106B2C 00103A8C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80106B30 00103A90 7C 08 02 A6 */ mflr r0 +/* 80106B34 00103A94 90 01 00 24 */ stw r0, 0x24(r1) +/* 80106B38 00103A98 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80106B3C 00103A9C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80106B40 00103AA0 3B C0 00 01 */ li r30, 1 +/* 80106B44 00103AA4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80106B48 00103AA8 7C 7D 1B 78 */ mr r29, r3 +/* 80106B4C 00103AAC 83 E3 01 30 */ lwz r31, 0x130(r3) +/* 80106B50 00103AB0 48 00 00 3C */ b lbl_80106B8C +lbl_80106B54: +/* 80106B54 00103AB4 38 7F 00 0C */ addi r3, r31, 0xc +/* 80106B58 00103AB8 48 23 A2 B5 */ bl GetObj__6CTokenFv +/* 80106B5C 00103ABC 80 63 00 04 */ lwz r3, 4(r3) +/* 80106B60 00103AC0 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13) +/* 80106B64 00103AC4 48 20 85 A1 */ bl TryReloadBitmapData__8CTextureCFR11CResFactory +/* 80106B68 00103AC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80106B6C 00103ACC 41 82 00 18 */ beq lbl_80106B84 +/* 80106B70 00103AD0 7F E4 FB 78 */ mr r4, r31 +/* 80106B74 00103AD4 38 7D 01 2C */ addi r3, r29, 0x12c +/* 80106B78 00103AD8 48 00 3E 9D */ bl sub_8010aa14 +/* 80106B7C 00103ADC 7C 7F 1B 78 */ mr r31, r3 +/* 80106B80 00103AE0 48 00 00 0C */ b lbl_80106B8C +lbl_80106B84: +/* 80106B84 00103AE4 3B C0 00 00 */ li r30, 0 +/* 80106B88 00103AE8 83 FF 00 04 */ lwz r31, 4(r31) +lbl_80106B8C: +/* 80106B8C 00103AEC 80 1D 01 34 */ lwz r0, 0x134(r29) +/* 80106B90 00103AF0 7C 1F 00 40 */ cmplw r31, r0 +/* 80106B94 00103AF4 40 82 FF C0 */ bne lbl_80106B54 +/* 80106B98 00103AF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80106B9C 00103AFC 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 80106BA0 00103B00 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80106BA4 00103B04 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80106BA8 00103B08 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80106BAC 00103B0C 7C 08 03 A6 */ mtlr r0 +/* 80106BB0 00103B10 38 21 00 20 */ addi r1, r1, 0x20 +/* 80106BB4 00103B14 4E 80 00 20 */ blr + +.global DestroyAreaTextures__17CInGameGuiManagerFRC13CStateManager +DestroyAreaTextures__17CInGameGuiManagerFRC13CStateManager: +/* 80106BB8 00103B18 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 80106BBC 00103B1C 7C 08 02 A6 */ mflr r0 +/* 80106BC0 00103B20 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80106BC4 00103B24 38 00 00 00 */ li r0, 0 +/* 80106BC8 00103B28 BE A1 00 B4 */ stmw r21, 0xb4(r1) +/* 80106BCC 00103B2C 7C 7F 1B 78 */ mr r31, r3 +/* 80106BD0 00103B30 7C 95 23 78 */ mr r21, r4 +/* 80106BD4 00103B34 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80106BD8 00103B38 38 80 00 40 */ li r4, 0x40 +/* 80106BDC 00103B3C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80106BE0 00103B40 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 80106BE4 00103B44 90 01 00 AC */ stw r0, 0xac(r1) +/* 80106BE8 00103B48 48 00 3D 1D */ bl "reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi" +/* 80106BEC 00103B4C 83 D5 08 50 */ lwz r30, 0x850(r21) +/* 80106BF0 00103B50 3B 01 00 98 */ addi r24, r1, 0x98 +/* 80106BF4 00103B54 3A E0 FF FF */ li r23, -1 +/* 80106BF8 00103B58 3B 20 FF FE */ li r25, -2 +/* 80106BFC 00103B5C 80 BE 00 68 */ lwz r5, 0x68(r30) +/* 80106C00 00103B60 80 9E 00 20 */ lwz r4, 0x20(r30) +/* 80106C04 00103B64 54 A3 18 38 */ slwi r3, r5, 3 +/* 80106C08 00103B68 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 80106C0C 00103B6C 38 03 00 04 */ addi r0, r3, 4 +/* 80106C10 00103B70 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80106C14 00103B74 7F A4 00 2E */ lwzx r29, r4, r0 +/* 80106C18 00103B78 48 00 02 0C */ b lbl_80106E24 +lbl_80106C1C: +/* 80106C1C 00103B7C 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 80106C20 00103B80 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 80106C24 00103B84 7C 03 00 00 */ cmpw r3, r0 +/* 80106C28 00103B88 41 82 02 08 */ beq lbl_80106E30 +/* 80106C2C 00103B8C 2C 17 FF FF */ cmpwi r23, -1 +/* 80106C30 00103B90 40 82 00 14 */ bne lbl_80106C44 +/* 80106C34 00103B94 80 1D 00 04 */ lwz r0, 4(r29) +/* 80106C38 00103B98 38 81 00 38 */ addi r4, r1, 0x38 +/* 80106C3C 00103B9C 90 01 00 38 */ stw r0, 0x38(r1) +/* 80106C40 00103BA0 48 00 00 14 */ b lbl_80106C54 +lbl_80106C44: +/* 80106C44 00103BA4 80 7D 00 98 */ lwz r3, 0x98(r29) +/* 80106C48 00103BA8 38 81 00 34 */ addi r4, r1, 0x34 +/* 80106C4C 00103BAC 7C 03 CA 2E */ lhzx r0, r3, r25 +/* 80106C50 00103BB0 90 01 00 34 */ stw r0, 0x34(r1) +lbl_80106C54: +/* 80106C54 00103BB4 80 A4 00 00 */ lwz r5, 0(r4) +/* 80106C58 00103BB8 80 DE 00 20 */ lwz r6, 0x20(r30) +/* 80106C5C 00103BBC 54 A4 18 38 */ slwi r4, r5, 3 +/* 80106C60 00103BC0 90 A1 00 44 */ stw r5, 0x44(r1) +/* 80106C64 00103BC4 7C 66 22 14 */ add r3, r6, r4 +/* 80106C68 00103BC8 80 63 00 04 */ lwz r3, 4(r3) +/* 80106C6C 00103BCC 90 A1 00 30 */ stw r5, 0x30(r1) +/* 80106C70 00103BD0 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 80106C74 00103BD4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80106C78 00103BD8 41 82 01 A4 */ beq lbl_80106E1C +/* 80106C7C 00103BDC 38 04 00 04 */ addi r0, r4, 4 +/* 80106C80 00103BE0 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 80106C84 00103BE4 7F 86 00 2E */ lwzx r28, r6, r0 +/* 80106C88 00103BE8 3A C0 00 00 */ li r22, 0 +/* 80106C8C 00103BEC 3B 40 00 00 */ li r26, 0 +/* 80106C90 00103BF0 48 00 01 80 */ b lbl_80106E10 +lbl_80106C94: +/* 80106C94 00103BF4 80 1C 00 B8 */ lwz r0, 0xb8(r28) +/* 80106C98 00103BF8 7F E3 FB 78 */ mr r3, r31 +/* 80106C9C 00103BFC 7F 60 D2 14 */ add r27, r0, r26 +/* 80106CA0 00103C00 80 9B 00 00 */ lwz r4, 0(r27) +/* 80106CA4 00103C04 48 00 06 B1 */ bl sub_80107354 +/* 80106CA8 00103C08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80106CAC 00103C0C 40 82 01 5C */ bne lbl_80106E08 +/* 80106CB0 00103C10 80 DB 00 04 */ lwz r6, 4(r27) +/* 80106CB4 00103C14 3C 06 AB A8 */ addis r0, r6, 0xaba8 +/* 80106CB8 00103C18 28 00 54 52 */ cmplwi r0, 0x5452 +/* 80106CBC 00103C1C 40 82 01 4C */ bne lbl_80106E08 +/* 80106CC0 00103C20 80 1B 00 00 */ lwz r0, 0(r27) +/* 80106CC4 00103C24 38 61 00 58 */ addi r3, r1, 0x58 +/* 80106CC8 00103C28 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80106CCC 00103C2C 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80106CD0 00103C30 90 C1 00 60 */ stw r6, 0x60(r1) +/* 80106CD4 00103C34 90 01 00 64 */ stw r0, 0x64(r1) +/* 80106CD8 00103C38 81 84 00 00 */ lwz r12, 0(r4) +/* 80106CDC 00103C3C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80106CE0 00103C40 7D 89 03 A6 */ mtctr r12 +/* 80106CE4 00103C44 4E 80 04 21 */ bctrl +/* 80106CE8 00103C48 38 61 00 70 */ addi r3, r1, 0x70 +/* 80106CEC 00103C4C 38 81 00 58 */ addi r4, r1, 0x58 +/* 80106CF0 00103C50 48 23 A1 B9 */ bl __ct__6CTokenFRC6CToken +/* 80106CF4 00103C54 38 61 00 58 */ addi r3, r1, 0x58 +/* 80106CF8 00103C58 38 80 FF FF */ li r4, -1 +/* 80106CFC 00103C5C 48 23 A1 45 */ bl __dt__6CTokenFv +/* 80106D00 00103C60 80 61 00 70 */ lwz r3, 0x70(r1) +/* 80106D04 00103C64 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80106D08 00103C68 28 00 00 00 */ cmplwi r0, 0 +/* 80106D0C 00103C6C 41 82 00 F0 */ beq lbl_80106DFC +/* 80106D10 00103C70 38 61 00 70 */ addi r3, r1, 0x70 +/* 80106D14 00103C74 48 23 A0 F9 */ bl GetObj__6CTokenFv +/* 80106D18 00103C78 82 A3 00 04 */ lwz r21, 4(r3) +/* 80106D1C 00103C7C 88 15 00 08 */ lbz r0, 8(r21) +/* 80106D20 00103C80 7C 00 07 74 */ extsb r0, r0 +/* 80106D24 00103C84 2C 00 00 02 */ cmpwi r0, 2 +/* 80106D28 00103C88 40 80 00 D4 */ bge lbl_80106DFC +/* 80106D2C 00103C8C 80 15 00 00 */ lwz r0, 0(r21) +/* 80106D30 00103C90 2C 00 00 04 */ cmpwi r0, 4 +/* 80106D34 00103C94 41 82 00 C8 */ beq lbl_80106DFC +/* 80106D38 00103C98 7E A3 AB 78 */ mr r3, r21 +/* 80106D3C 00103C9C 48 20 83 4D */ bl sub_8030f088 +/* 80106D40 00103CA0 2C 03 00 00 */ cmpwi r3, 0 +/* 80106D44 00103CA4 40 82 00 B8 */ bne lbl_80106DFC +/* 80106D48 00103CA8 80 B5 00 0C */ lwz r5, 0xc(r21) +/* 80106D4C 00103CAC 7F 03 C3 78 */ mr r3, r24 +/* 80106D50 00103CB0 80 1B 00 00 */ lwz r0, 0(r27) +/* 80106D54 00103CB4 38 81 00 70 */ addi r4, r1, 0x70 +/* 80106D58 00103CB8 90 01 00 90 */ stw r0, 0x90(r1) +/* 80106D5C 00103CBC 90 A1 00 94 */ stw r5, 0x94(r1) +/* 80106D60 00103CC0 48 23 A1 49 */ bl __ct__6CTokenFRC6CToken +/* 80106D64 00103CC4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80106D68 00103CC8 80 A1 00 A8 */ lwz r5, 0xa8(r1) +/* 80106D6C 00103CCC 7C 00 28 00 */ cmpw r0, r5 +/* 80106D70 00103CD0 41 80 00 1C */ blt lbl_80106D8C +/* 80106D74 00103CD4 2C 05 00 00 */ cmpwi r5, 0 +/* 80106D78 00103CD8 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 80106D7C 00103CDC 38 80 00 04 */ li r4, 4 +/* 80106D80 00103CE0 41 82 00 08 */ beq lbl_80106D88 +/* 80106D84 00103CE4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80106D88: +/* 80106D88 00103CE8 48 00 3B 7D */ bl "reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi" +lbl_80106D8C: +/* 80106D8C 00103CEC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80106D90 00103CF0 80 61 00 AC */ lwz r3, 0xac(r1) +/* 80106D94 00103CF4 54 00 20 36 */ slwi r0, r0, 4 +/* 80106D98 00103CF8 7C A3 02 15 */ add. r5, r3, r0 +/* 80106D9C 00103CFC 41 82 00 20 */ beq lbl_80106DBC +/* 80106DA0 00103D00 80 01 00 90 */ lwz r0, 0x90(r1) +/* 80106DA4 00103D04 7F 04 C3 78 */ mr r4, r24 +/* 80106DA8 00103D08 38 65 00 08 */ addi r3, r5, 8 +/* 80106DAC 00103D0C 90 05 00 00 */ stw r0, 0(r5) +/* 80106DB0 00103D10 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80106DB4 00103D14 90 05 00 04 */ stw r0, 4(r5) +/* 80106DB8 00103D18 48 23 A0 F1 */ bl __ct__6CTokenFRC6CToken +lbl_80106DBC: +/* 80106DBC 00103D1C 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 80106DC0 00103D20 28 18 00 00 */ cmplwi r24, 0 +/* 80106DC4 00103D24 38 03 00 01 */ addi r0, r3, 1 +/* 80106DC8 00103D28 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80106DCC 00103D2C 41 82 00 10 */ beq lbl_80106DDC +/* 80106DD0 00103D30 7F 03 C3 78 */ mr r3, r24 +/* 80106DD4 00103D34 38 80 00 00 */ li r4, 0 +/* 80106DD8 00103D38 48 23 A0 69 */ bl __dt__6CTokenFv +lbl_80106DDC: +/* 80106DDC 00103D3C 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 80106DE0 00103D40 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 80106DE4 00103D44 7C 03 00 00 */ cmpw r3, r0 +/* 80106DE8 00103D48 40 82 00 14 */ bne lbl_80106DFC +/* 80106DEC 00103D4C 38 61 00 70 */ addi r3, r1, 0x70 +/* 80106DF0 00103D50 38 80 00 00 */ li r4, 0 +/* 80106DF4 00103D54 48 23 A0 4D */ bl __dt__6CTokenFv +/* 80106DF8 00103D58 48 00 00 24 */ b lbl_80106E1C +lbl_80106DFC: +/* 80106DFC 00103D5C 38 61 00 70 */ addi r3, r1, 0x70 +/* 80106E00 00103D60 38 80 00 00 */ li r4, 0 +/* 80106E04 00103D64 48 23 A0 3D */ bl __dt__6CTokenFv +lbl_80106E08: +/* 80106E08 00103D68 3B 5A 00 08 */ addi r26, r26, 8 +/* 80106E0C 00103D6C 3A D6 00 01 */ addi r22, r22, 1 +lbl_80106E10: +/* 80106E10 00103D70 80 1C 00 E0 */ lwz r0, 0xe0(r28) +/* 80106E14 00103D74 7C 16 00 00 */ cmpw r22, r0 +/* 80106E18 00103D78 41 80 FE 7C */ blt lbl_80106C94 +lbl_80106E1C: +/* 80106E1C 00103D7C 3B 39 00 02 */ addi r25, r25, 2 +/* 80106E20 00103D80 3A F7 00 01 */ addi r23, r23, 1 +lbl_80106E24: +/* 80106E24 00103D84 80 1D 00 90 */ lwz r0, 0x90(r29) +/* 80106E28 00103D88 7C 17 00 00 */ cmpw r23, r0 +/* 80106E2C 00103D8C 41 80 FD F0 */ blt lbl_80106C1C +lbl_80106E30: +/* 80106E30 00103D90 83 9F 00 E4 */ lwz r28, 0xe4(r31) +/* 80106E34 00103D94 3B 01 00 88 */ addi r24, r1, 0x88 +/* 80106E38 00103D98 3A C0 00 00 */ li r22, 0 +/* 80106E3C 00103D9C 48 00 01 74 */ b lbl_80106FB0 +lbl_80106E40: +/* 80106E40 00103DA0 82 FC 00 00 */ lwz r23, 0(r28) +/* 80106E44 00103DA4 7F E3 FB 78 */ mr r3, r31 +/* 80106E48 00103DA8 7E E4 BB 78 */ mr r4, r23 +/* 80106E4C 00103DAC 48 00 05 09 */ bl sub_80107354 +/* 80106E50 00103DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80106E54 00103DB4 40 82 01 58 */ bne lbl_80106FAC +/* 80106E58 00103DB8 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 80106E5C 00103DBC 92 E1 00 54 */ stw r23, 0x54(r1) +/* 80106E60 00103DC0 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 80106E64 00103DC4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80106E68 00103DC8 90 01 00 50 */ stw r0, 0x50(r1) +/* 80106E6C 00103DCC 38 61 00 48 */ addi r3, r1, 0x48 +/* 80106E70 00103DD0 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80106E74 00103DD4 81 84 00 00 */ lwz r12, 0(r4) +/* 80106E78 00103DD8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80106E7C 00103DDC 7D 89 03 A6 */ mtctr r12 +/* 80106E80 00103DE0 4E 80 04 21 */ bctrl +/* 80106E84 00103DE4 38 61 00 68 */ addi r3, r1, 0x68 +/* 80106E88 00103DE8 38 81 00 48 */ addi r4, r1, 0x48 +/* 80106E8C 00103DEC 48 23 A0 1D */ bl __ct__6CTokenFRC6CToken +/* 80106E90 00103DF0 38 61 00 48 */ addi r3, r1, 0x48 +/* 80106E94 00103DF4 38 80 FF FF */ li r4, -1 +/* 80106E98 00103DF8 48 23 9F A9 */ bl __dt__6CTokenFv +/* 80106E9C 00103DFC 80 61 00 68 */ lwz r3, 0x68(r1) +/* 80106EA0 00103E00 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80106EA4 00103E04 28 00 00 00 */ cmplwi r0, 0 +/* 80106EA8 00103E08 41 82 00 F8 */ beq lbl_80106FA0 +/* 80106EAC 00103E0C 3C 00 00 10 */ lis r0, 0x10 +/* 80106EB0 00103E10 7C 16 00 00 */ cmpw r22, r0 +/* 80106EB4 00103E14 41 80 00 14 */ blt lbl_80106EC8 +/* 80106EB8 00103E18 38 61 00 68 */ addi r3, r1, 0x68 +/* 80106EBC 00103E1C 38 80 00 00 */ li r4, 0 +/* 80106EC0 00103E20 48 23 9F 81 */ bl __dt__6CTokenFv +/* 80106EC4 00103E24 48 00 01 04 */ b lbl_80106FC8 +lbl_80106EC8: +/* 80106EC8 00103E28 38 61 00 68 */ addi r3, r1, 0x68 +/* 80106ECC 00103E2C 48 23 9F 41 */ bl GetObj__6CTokenFv +/* 80106ED0 00103E30 83 63 00 04 */ lwz r27, 4(r3) +/* 80106ED4 00103E34 80 1B 00 00 */ lwz r0, 0(r27) +/* 80106ED8 00103E38 2C 00 00 04 */ cmpwi r0, 4 +/* 80106EDC 00103E3C 41 82 00 C4 */ beq lbl_80106FA0 +/* 80106EE0 00103E40 7F 63 DB 78 */ mr r3, r27 +/* 80106EE4 00103E44 48 20 81 A5 */ bl sub_8030f088 +/* 80106EE8 00103E48 2C 03 00 00 */ cmpwi r3, 0 +/* 80106EEC 00103E4C 40 82 00 B4 */ bne lbl_80106FA0 +/* 80106EF0 00103E50 83 3B 00 0C */ lwz r25, 0xc(r27) +/* 80106EF4 00103E54 7F 03 C3 78 */ mr r3, r24 +/* 80106EF8 00103E58 38 81 00 68 */ addi r4, r1, 0x68 +/* 80106EFC 00103E5C 92 E1 00 84 */ stw r23, 0x84(r1) +/* 80106F00 00103E60 48 23 9F A9 */ bl __ct__6CTokenFRC6CToken +/* 80106F04 00103E64 83 BF 01 34 */ lwz r29, 0x134(r31) +/* 80106F08 00103E68 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 80106F0C 00103E6C 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l +/* 80106F10 00103E70 38 60 00 14 */ li r3, 0x14 +/* 80106F14 00103E74 83 DD 00 00 */ lwz r30, 0(r29) +/* 80106F18 00103E78 38 84 02 AC */ addi r4, r4, 0x2ac +/* 80106F1C 00103E7C 38 A0 00 00 */ li r5, 0 +/* 80106F20 00103E80 48 20 E8 F9 */ bl __nwa__FUlPCcPCc +/* 80106F24 00103E84 7C 7A 1B 79 */ or. r26, r3, r3 +/* 80106F28 00103E88 41 82 00 0C */ beq lbl_80106F34 +/* 80106F2C 00103E8C 93 DA 00 00 */ stw r30, 0(r26) +/* 80106F30 00103E90 93 BA 00 04 */ stw r29, 4(r26) +lbl_80106F34: +/* 80106F34 00103E94 34 BA 00 08 */ addic. r5, r26, 8 +/* 80106F38 00103E98 41 82 00 18 */ beq lbl_80106F50 +/* 80106F3C 00103E9C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80106F40 00103EA0 7F 04 C3 78 */ mr r4, r24 +/* 80106F44 00103EA4 38 65 00 04 */ addi r3, r5, 4 +/* 80106F48 00103EA8 90 05 00 00 */ stw r0, 0(r5) +/* 80106F4C 00103EAC 48 23 9F 5D */ bl __ct__6CTokenFRC6CToken +lbl_80106F50: +/* 80106F50 00103EB0 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 80106F54 00103EB4 7C 1D 00 40 */ cmplw r29, r0 +/* 80106F58 00103EB8 40 82 00 08 */ bne lbl_80106F60 +/* 80106F5C 00103EBC 93 5F 01 30 */ stw r26, 0x130(r31) +lbl_80106F60: +/* 80106F60 00103EC0 80 7A 00 00 */ lwz r3, 0(r26) +/* 80106F64 00103EC4 28 18 00 00 */ cmplwi r24, 0 +/* 80106F68 00103EC8 93 43 00 04 */ stw r26, 4(r3) +/* 80106F6C 00103ECC 80 7A 00 04 */ lwz r3, 4(r26) +/* 80106F70 00103ED0 93 43 00 00 */ stw r26, 0(r3) +/* 80106F74 00103ED4 80 7F 01 40 */ lwz r3, 0x140(r31) +/* 80106F78 00103ED8 38 03 00 01 */ addi r0, r3, 1 +/* 80106F7C 00103EDC 90 1F 01 40 */ stw r0, 0x140(r31) +/* 80106F80 00103EE0 41 82 00 10 */ beq lbl_80106F90 +/* 80106F84 00103EE4 7F 03 C3 78 */ mr r3, r24 +/* 80106F88 00103EE8 38 80 00 00 */ li r4, 0 +/* 80106F8C 00103EEC 48 23 9E B5 */ bl __dt__6CTokenFv +lbl_80106F90: +/* 80106F90 00103EF0 7F 63 DB 78 */ mr r3, r27 +/* 80106F94 00103EF4 7E E4 BB 78 */ mr r4, r23 +/* 80106F98 00103EF8 48 20 82 6D */ bl UnloadBitmapData__8CTextureCFUi +/* 80106F9C 00103EFC 7E D6 CA 14 */ add r22, r22, r25 +lbl_80106FA0: +/* 80106FA0 00103F00 38 61 00 68 */ addi r3, r1, 0x68 +/* 80106FA4 00103F04 38 80 00 00 */ li r4, 0 +/* 80106FA8 00103F08 48 23 9E 99 */ bl __dt__6CTokenFv +lbl_80106FAC: +/* 80106FAC 00103F0C 3B 9C 00 04 */ addi r28, r28, 4 +lbl_80106FB0: +/* 80106FB0 00103F10 80 1F 00 DC */ lwz r0, 0xdc(r31) +/* 80106FB4 00103F14 80 7F 00 E4 */ lwz r3, 0xe4(r31) +/* 80106FB8 00103F18 54 00 10 3A */ slwi r0, r0, 2 +/* 80106FBC 00103F1C 7C 03 02 14 */ add r0, r3, r0 +/* 80106FC0 00103F20 7C 1C 00 40 */ cmplw r28, r0 +/* 80106FC4 00103F24 40 82 FE 7C */ bne lbl_80106E40 +lbl_80106FC8: +/* 80106FC8 00103F28 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80106FCC 00103F2C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80106FD0 00103F30 80 E1 00 AC */ lwz r7, 0xac(r1) +/* 80106FD4 00103F34 38 81 00 20 */ addi r4, r1, 0x20 +/* 80106FD8 00103F38 54 00 20 36 */ slwi r0, r0, 4 +/* 80106FDC 00103F3C 88 C1 00 14 */ lbz r6, 0x14(r1) +/* 80106FE0 00103F40 7C 07 02 14 */ add r0, r7, r0 +/* 80106FE4 00103F44 90 E1 00 24 */ stw r7, 0x24(r1) +/* 80106FE8 00103F48 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80106FEC 00103F4C 98 C1 00 18 */ stb r6, 0x18(r1) +/* 80106FF0 00103F50 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80106FF4 00103F54 90 01 00 20 */ stw r0, 0x20(r1) +/* 80106FF8 00103F58 90 E1 00 28 */ stw r7, 0x28(r1) +/* 80106FFC 00103F5C 48 00 35 D1 */ bl "sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan" +/* 80107000 00103F60 48 26 5C FD */ bl sub_8036ccfc +/* 80107004 00103F64 3C 60 80 00 */ lis r3, 0x7FFFFFFF@ha +/* 80107008 00103F68 83 81 00 AC */ lwz r28, 0xac(r1) +/* 8010700C 00103F6C 38 03 FF FF */ addi r0, r3, 0x7FFFFFFF@l +/* 80107010 00103F70 3B 01 00 7C */ addi r24, r1, 0x7c +/* 80107014 00103F74 90 0D A8 70 */ stw r0, lbl_805A9430@sda21(r13) +/* 80107018 00103F78 3F C0 00 10 */ lis r30, 0x10 +/* 8010701C 00103F7C 48 00 01 20 */ b lbl_8010713C +lbl_80107020: +/* 80107020 00103F80 7C 16 F0 00 */ cmpw r22, r30 +/* 80107024 00103F84 40 80 01 30 */ bge lbl_80107154 +/* 80107028 00103F88 3A BC 00 08 */ addi r21, r28, 8 +/* 8010702C 00103F8C 7E A3 AB 78 */ mr r3, r21 +/* 80107030 00103F90 48 23 9D DD */ bl GetObj__6CTokenFv +/* 80107034 00103F94 83 63 00 04 */ lwz r27, 4(r3) +/* 80107038 00103F98 3A E0 00 00 */ li r23, 0 +/* 8010703C 00103F9C 88 1B 00 0A */ lbz r0, 0xa(r27) +/* 80107040 00103FA0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80107044 00103FA4 40 82 00 38 */ bne lbl_8010707C +/* 80107048 00103FA8 7F 63 DB 78 */ mr r3, r27 +/* 8010704C 00103FAC 48 20 7B 35 */ bl LoadToARAM__8CTextureCFv +/* 80107050 00103FB0 7F 63 DB 78 */ mr r3, r27 +/* 80107054 00103FB4 48 20 7A F9 */ bl IsARAMTransferInProgress__8CTextureCFv +/* 80107058 00103FB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010705C 00103FBC 41 82 00 20 */ beq lbl_8010707C +/* 80107060 00103FC0 48 00 00 08 */ b lbl_80107068 +lbl_80107064: +/* 80107064 00103FC4 48 25 14 D5 */ bl UpdateAllDMAs__10CARAMTokenFv +lbl_80107068: +/* 80107068 00103FC8 7F 63 DB 78 */ mr r3, r27 +/* 8010706C 00103FCC 48 20 7A E1 */ bl IsARAMTransferInProgress__8CTextureCFv +/* 80107070 00103FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80107074 00103FD4 40 82 FF F0 */ bne lbl_80107064 +/* 80107078 00103FD8 3A E0 00 01 */ li r23, 1 +lbl_8010707C: +/* 8010707C 00103FDC 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 80107080 00103FE0 40 82 00 B0 */ bne lbl_80107130 +/* 80107084 00103FE4 80 9C 00 00 */ lwz r4, 0(r28) +/* 80107088 00103FE8 7F 63 DB 78 */ mr r3, r27 +/* 8010708C 00103FEC 48 20 81 79 */ bl UnloadBitmapData__8CTextureCFUi +/* 80107090 00103FF0 80 1C 00 00 */ lwz r0, 0(r28) +/* 80107094 00103FF4 7F 03 C3 78 */ mr r3, r24 +/* 80107098 00103FF8 7E A4 AB 78 */ mr r4, r21 +/* 8010709C 00103FFC 90 01 00 78 */ stw r0, 0x78(r1) +/* 801070A0 00104000 48 23 9E 09 */ bl __ct__6CTokenFRC6CToken +/* 801070A4 00104004 83 3F 01 34 */ lwz r25, 0x134(r31) +/* 801070A8 00104008 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 801070AC 0010400C 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l +/* 801070B0 00104010 38 60 00 14 */ li r3, 0x14 +/* 801070B4 00104014 83 59 00 00 */ lwz r26, 0(r25) +/* 801070B8 00104018 38 84 02 AC */ addi r4, r4, 0x2ac +/* 801070BC 0010401C 38 A0 00 00 */ li r5, 0 +/* 801070C0 00104020 48 20 E7 59 */ bl __nwa__FUlPCcPCc +/* 801070C4 00104024 7C 77 1B 79 */ or. r23, r3, r3 +/* 801070C8 00104028 41 82 00 0C */ beq lbl_801070D4 +/* 801070CC 0010402C 93 57 00 00 */ stw r26, 0(r23) +/* 801070D0 00104030 93 37 00 04 */ stw r25, 4(r23) +lbl_801070D4: +/* 801070D4 00104034 34 B7 00 08 */ addic. r5, r23, 8 +/* 801070D8 00104038 41 82 00 18 */ beq lbl_801070F0 +/* 801070DC 0010403C 80 01 00 78 */ lwz r0, 0x78(r1) +/* 801070E0 00104040 7F 04 C3 78 */ mr r4, r24 +/* 801070E4 00104044 38 65 00 04 */ addi r3, r5, 4 +/* 801070E8 00104048 90 05 00 00 */ stw r0, 0(r5) +/* 801070EC 0010404C 48 23 9D BD */ bl __ct__6CTokenFRC6CToken +lbl_801070F0: +/* 801070F0 00104050 80 1F 01 30 */ lwz r0, 0x130(r31) +/* 801070F4 00104054 7C 19 00 40 */ cmplw r25, r0 +/* 801070F8 00104058 40 82 00 08 */ bne lbl_80107100 +/* 801070FC 0010405C 92 FF 01 30 */ stw r23, 0x130(r31) +lbl_80107100: +/* 80107100 00104060 80 77 00 00 */ lwz r3, 0(r23) +/* 80107104 00104064 28 18 00 00 */ cmplwi r24, 0 +/* 80107108 00104068 92 E3 00 04 */ stw r23, 4(r3) +/* 8010710C 0010406C 80 77 00 04 */ lwz r3, 4(r23) +/* 80107110 00104070 92 E3 00 00 */ stw r23, 0(r3) +/* 80107114 00104074 80 7F 01 40 */ lwz r3, 0x140(r31) +/* 80107118 00104078 38 03 00 01 */ addi r0, r3, 1 +/* 8010711C 0010407C 90 1F 01 40 */ stw r0, 0x140(r31) +/* 80107120 00104080 41 82 00 10 */ beq lbl_80107130 +/* 80107124 00104084 7F 03 C3 78 */ mr r3, r24 +/* 80107128 00104088 38 80 00 00 */ li r4, 0 +/* 8010712C 0010408C 48 23 9D 15 */ bl __dt__6CTokenFv +lbl_80107130: +/* 80107130 00104090 80 1B 00 0C */ lwz r0, 0xc(r27) +/* 80107134 00104094 3B 9C 00 10 */ addi r28, r28, 0x10 +/* 80107138 00104098 7E D6 02 14 */ add r22, r22, r0 +lbl_8010713C: +/* 8010713C 0010409C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80107140 001040A0 80 61 00 AC */ lwz r3, 0xac(r1) +/* 80107144 001040A4 54 00 20 36 */ slwi r0, r0, 4 +/* 80107148 001040A8 7C 03 02 14 */ add r0, r3, r0 +/* 8010714C 001040AC 7C 1C 00 40 */ cmplw r28, r0 +/* 80107150 001040B0 40 82 FE D0 */ bne lbl_80107020 +lbl_80107154: +/* 80107154 001040B4 88 01 00 08 */ lbz r0, 8(r1) +/* 80107158 001040B8 38 60 00 00 */ li r3, 0 +/* 8010715C 001040BC 90 6D A8 70 */ stw r3, lbl_805A9430@sda21(r13) +/* 80107160 001040C0 38 7F 01 2C */ addi r3, r31, 0x12c +/* 80107164 001040C4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80107168 001040C8 98 01 00 0C */ stb r0, 0xc(r1) +/* 8010716C 001040CC 98 01 00 10 */ stb r0, 0x10(r1) +/* 80107170 001040D0 48 00 00 29 */ bl sub_80107198 +/* 80107174 001040D4 48 24 E2 0D */ bl DisableTextureTimeout__6CModelFv +/* 80107178 001040D8 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8010717C 001040DC 38 80 FF FF */ li r4, -1 +/* 80107180 001040E0 48 00 01 1D */ bl sub_8010729c +/* 80107184 001040E4 BA A1 00 B4 */ lmw r21, 0xb4(r1) +/* 80107188 001040E8 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8010718C 001040EC 7C 08 03 A6 */ mtlr r0 +/* 80107190 001040F0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80107194 001040F4 4E 80 00 20 */ blr + +.global sub_80107198 +sub_80107198: +/* 80107198 001040F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8010719C 001040FC 7C 08 02 A6 */ mflr r0 +/* 801071A0 00104100 90 01 00 14 */ stw r0, 0x14(r1) +/* 801071A4 00104104 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801071A8 00104108 93 C1 00 08 */ stw r30, 8(r1) +/* 801071AC 0010410C 7C 7E 1B 78 */ mr r30, r3 +/* 801071B0 00104110 80 83 00 04 */ lwz r4, 4(r3) +/* 801071B4 00104114 48 00 00 40 */ b lbl_801071F4 +lbl_801071B8: +/* 801071B8 00104118 83 E4 00 04 */ lwz r31, 4(r4) +/* 801071BC 0010411C 7C 85 23 78 */ mr r5, r4 +/* 801071C0 00104120 7F E7 FB 78 */ mr r7, r31 +/* 801071C4 00104124 48 00 00 1C */ b lbl_801071E0 +lbl_801071C8: +/* 801071C8 00104128 80 65 00 08 */ lwz r3, 8(r5) +/* 801071CC 0010412C 80 07 00 08 */ lwz r0, 8(r7) +/* 801071D0 00104130 7C 03 00 40 */ cmplw r3, r0 +/* 801071D4 00104134 40 80 00 08 */ bge lbl_801071DC +/* 801071D8 00104138 7C E5 3B 78 */ mr r5, r7 +lbl_801071DC: +/* 801071DC 0010413C 80 E7 00 04 */ lwz r7, 4(r7) +lbl_801071E0: +/* 801071E0 00104140 7C 07 30 40 */ cmplw r7, r6 +/* 801071E4 00104144 40 82 FF E4 */ bne lbl_801071C8 +/* 801071E8 00104148 7F C3 F3 78 */ mr r3, r30 +/* 801071EC 0010414C 48 00 00 2D */ bl sub_80107218 +/* 801071F0 00104150 7F E4 FB 78 */ mr r4, r31 +lbl_801071F4: +/* 801071F4 00104154 80 DE 00 08 */ lwz r6, 8(r30) +/* 801071F8 00104158 7C 04 30 40 */ cmplw r4, r6 +/* 801071FC 0010415C 40 82 FF BC */ bne lbl_801071B8 +/* 80107200 00104160 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80107204 00104164 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80107208 00104168 83 C1 00 08 */ lwz r30, 8(r1) +/* 8010720C 0010416C 7C 08 03 A6 */ mtlr r0 +/* 80107210 00104170 38 21 00 10 */ addi r1, r1, 0x10 +/* 80107214 00104174 4E 80 00 20 */ blr + +.global sub_80107218 +sub_80107218: +/* 80107218 00104178 7C 04 28 40 */ cmplw r4, r5 +/* 8010721C 0010417C 4D 82 00 20 */ beqlr +/* 80107220 00104180 80 03 00 04 */ lwz r0, 4(r3) +/* 80107224 00104184 7C 04 00 40 */ cmplw r4, r0 +/* 80107228 00104188 40 82 00 0C */ bne lbl_80107234 +/* 8010722C 0010418C 90 A3 00 04 */ stw r5, 4(r3) +/* 80107230 00104190 48 00 00 10 */ b lbl_80107240 +lbl_80107234: +/* 80107234 00104194 7C 05 00 40 */ cmplw r5, r0 +/* 80107238 00104198 40 82 00 08 */ bne lbl_80107240 +/* 8010723C 0010419C 90 83 00 04 */ stw r4, 4(r3) +lbl_80107240: +/* 80107240 001041A0 80 E5 00 04 */ lwz r7, 4(r5) +/* 80107244 001041A4 80 64 00 04 */ lwz r3, 4(r4) +/* 80107248 001041A8 7C 07 20 40 */ cmplw r7, r4 +/* 8010724C 001041AC 80 C4 00 00 */ lwz r6, 0(r4) +/* 80107250 001041B0 81 05 00 00 */ lwz r8, 0(r5) +/* 80107254 001041B4 41 82 00 18 */ beq lbl_8010726C +/* 80107258 001041B8 90 87 00 00 */ stw r4, 0(r7) +/* 8010725C 001041BC 90 E4 00 04 */ stw r7, 4(r4) +/* 80107260 001041C0 90 A6 00 04 */ stw r5, 4(r6) +/* 80107264 001041C4 90 C5 00 00 */ stw r6, 0(r5) +/* 80107268 001041C8 48 00 00 0C */ b lbl_80107274 +lbl_8010726C: +/* 8010726C 001041CC 90 A4 00 04 */ stw r5, 4(r4) +/* 80107270 001041D0 90 85 00 00 */ stw r4, 0(r5) +lbl_80107274: +/* 80107274 001041D4 7C 08 20 40 */ cmplw r8, r4 +/* 80107278 001041D8 41 82 00 18 */ beq lbl_80107290 +/* 8010727C 001041DC 90 88 00 04 */ stw r4, 4(r8) +/* 80107280 001041E0 91 04 00 00 */ stw r8, 0(r4) +/* 80107284 001041E4 90 A3 00 00 */ stw r5, 0(r3) +/* 80107288 001041E8 90 65 00 04 */ stw r3, 4(r5) +/* 8010728C 001041EC 4E 80 00 20 */ blr +lbl_80107290: +/* 80107290 001041F0 90 85 00 04 */ stw r4, 4(r5) +/* 80107294 001041F4 90 A4 00 00 */ stw r5, 0(r4) +/* 80107298 001041F8 4E 80 00 20 */ blr + +.global sub_8010729c +sub_8010729c: +/* 8010729C 001041FC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801072A0 00104200 7C 08 02 A6 */ mflr r0 +/* 801072A4 00104204 90 01 00 34 */ stw r0, 0x34(r1) +/* 801072A8 00104208 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801072AC 0010420C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 801072B0 00104210 93 A1 00 24 */ stw r29, 0x24(r1) +/* 801072B4 00104214 7C 9D 23 78 */ mr r29, r4 +/* 801072B8 00104218 93 81 00 20 */ stw r28, 0x20(r1) +/* 801072BC 0010421C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 801072C0 00104220 41 82 00 70 */ beq lbl_80107330 +/* 801072C4 00104224 80 1C 00 04 */ lwz r0, 4(r28) +/* 801072C8 00104228 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 801072CC 0010422C 54 00 20 36 */ slwi r0, r0, 4 +/* 801072D0 00104230 7F FE 02 14 */ add r31, r30, r0 +/* 801072D4 00104234 93 C1 00 10 */ stw r30, 0x10(r1) +/* 801072D8 00104238 93 E1 00 08 */ stw r31, 8(r1) +/* 801072DC 0010423C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801072E0 00104240 93 C1 00 14 */ stw r30, 0x14(r1) +/* 801072E4 00104244 48 00 00 24 */ b lbl_80107308 +lbl_801072E8: +/* 801072E8 00104248 28 1E 00 00 */ cmplwi r30, 0 +/* 801072EC 0010424C 41 82 00 18 */ beq lbl_80107304 +/* 801072F0 00104250 34 1E 00 08 */ addic. r0, r30, 8 +/* 801072F4 00104254 41 82 00 10 */ beq lbl_80107304 +/* 801072F8 00104258 38 7E 00 08 */ addi r3, r30, 8 +/* 801072FC 0010425C 38 80 00 00 */ li r4, 0 +/* 80107300 00104260 48 23 9B 41 */ bl __dt__6CTokenFv +lbl_80107304: +/* 80107304 00104264 3B DE 00 10 */ addi r30, r30, 0x10 +lbl_80107308: +/* 80107308 00104268 7C 1E F8 40 */ cmplw r30, r31 +/* 8010730C 0010426C 40 82 FF DC */ bne lbl_801072E8 +/* 80107310 00104270 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 80107314 00104274 28 03 00 00 */ cmplwi r3, 0 +/* 80107318 00104278 41 82 00 08 */ beq lbl_80107320 +/* 8010731C 0010427C 48 20 E6 15 */ bl Free__7CMemoryFPCv +lbl_80107320: +/* 80107320 00104280 7F A0 07 35 */ extsh. r0, r29 +/* 80107324 00104284 40 81 00 0C */ ble lbl_80107330 +/* 80107328 00104288 7F 83 E3 78 */ mr r3, r28 +/* 8010732C 0010428C 48 20 E6 05 */ bl Free__7CMemoryFPCv +lbl_80107330: +/* 80107330 00104290 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80107334 00104294 7F 83 E3 78 */ mr r3, r28 +/* 80107338 00104298 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8010733C 0010429C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80107340 001042A0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80107344 001042A4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80107348 001042A8 7C 08 03 A6 */ mtlr r0 +/* 8010734C 001042AC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80107350 001042B0 4E 80 00 20 */ blr + +.global sub_80107354 +sub_80107354: +/* 80107354 001042B4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80107358 001042B8 7C 08 02 A6 */ mflr r0 +/* 8010735C 001042BC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80107360 001042C0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80107364 001042C4 3B E3 00 60 */ addi r31, r3, 0x60 +/* 80107368 001042C8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8010736C 001042CC 3B C0 00 00 */ li r30, 0 +/* 80107370 001042D0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80107374 001042D4 7C 9D 23 78 */ mr r29, r4 +lbl_80107378: +/* 80107378 001042D8 7F E4 FB 78 */ mr r4, r31 +/* 8010737C 001042DC 38 61 00 08 */ addi r3, r1, 8 +/* 80107380 001042E0 48 23 9B 29 */ bl __ct__6CTokenFRC6CToken +/* 80107384 001042E4 38 61 00 08 */ addi r3, r1, 8 +/* 80107388 001042E8 48 23 9A 85 */ bl GetObj__6CTokenFv +/* 8010738C 001042EC 80 63 00 04 */ lwz r3, 4(r3) +/* 80107390 001042F0 80 03 00 04 */ lwz r0, 4(r3) +/* 80107394 001042F4 80 83 00 0C */ lwz r4, 0xc(r3) +/* 80107398 001042F8 54 00 18 38 */ slwi r0, r0, 3 +/* 8010739C 001042FC 7C 64 02 14 */ add r3, r4, r0 +/* 801073A0 00104300 48 00 00 28 */ b lbl_801073C8 +lbl_801073A4: +/* 801073A4 00104304 80 04 00 04 */ lwz r0, 4(r4) +/* 801073A8 00104308 7C 1D 00 40 */ cmplw r29, r0 +/* 801073AC 0010430C 40 82 00 18 */ bne lbl_801073C4 +/* 801073B0 00104310 38 61 00 08 */ addi r3, r1, 8 +/* 801073B4 00104314 38 80 00 00 */ li r4, 0 +/* 801073B8 00104318 48 23 9A 89 */ bl __dt__6CTokenFv +/* 801073BC 0010431C 38 60 00 01 */ li r3, 1 +/* 801073C0 00104320 48 00 00 30 */ b lbl_801073F0 +lbl_801073C4: +/* 801073C4 00104324 38 84 00 08 */ addi r4, r4, 8 +lbl_801073C8: +/* 801073C8 00104328 7C 04 18 40 */ cmplw r4, r3 +/* 801073CC 0010432C 40 82 FF D8 */ bne lbl_801073A4 +/* 801073D0 00104330 38 61 00 08 */ addi r3, r1, 8 +/* 801073D4 00104334 38 80 00 00 */ li r4, 0 +/* 801073D8 00104338 48 23 9A 69 */ bl __dt__6CTokenFv +/* 801073DC 0010433C 3B DE 00 01 */ addi r30, r30, 1 +/* 801073E0 00104340 3B FF 00 08 */ addi r31, r31, 8 +/* 801073E4 00104344 2C 1E 00 0D */ cmpwi r30, 0xd +/* 801073E8 00104348 41 80 FF 90 */ blt lbl_80107378 +/* 801073EC 0010434C 38 60 00 00 */ li r3, 0 +lbl_801073F0: +/* 801073F0 00104350 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801073F4 00104354 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801073F8 00104358 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801073FC 0010435C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80107400 00104360 7C 08 03 A6 */ mtlr r0 +/* 80107404 00104364 38 21 00 20 */ addi r1, r1, 0x20 +/* 80107408 00104368 4E 80 00 20 */ blr + +.global EnsureStates__17CInGameGuiManagerFR13CStateManager +EnsureStates__17CInGameGuiManagerFR13CStateManager: +/* 8010740C 0010436C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80107410 00104370 7C 08 02 A6 */ mflr r0 +/* 80107414 00104374 90 01 00 14 */ stw r0, 0x14(r1) +/* 80107418 00104378 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8010741C 0010437C 7C 9F 23 78 */ mr r31, r4 +/* 80107420 00104380 93 C1 00 08 */ stw r30, 8(r1) +/* 80107424 00104384 7C 7E 1B 78 */ mr r30, r3 +/* 80107428 00104388 88 03 01 F8 */ lbz r0, 0x1f8(r3) +/* 8010742C 0010438C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80107430 00104390 41 82 00 34 */ beq lbl_80107464 +/* 80107434 00104394 80 BE 00 3C */ lwz r5, 0x3c(r30) +/* 80107438 00104398 88 05 00 50 */ lbz r0, 0x50(r5) +/* 8010743C 0010439C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80107440 001043A0 40 82 00 24 */ bne lbl_80107464 +/* 80107444 001043A4 4B FF F7 75 */ bl DestroyAreaTextures__17CInGameGuiManagerFRC13CStateManager +/* 80107448 001043A8 88 1E 01 F8 */ lbz r0, 0x1f8(r30) +/* 8010744C 001043AC 38 60 00 00 */ li r3, 0 +/* 80107450 001043B0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80107454 001043B4 7F C3 F3 78 */ mr r3, r30 +/* 80107458 001043B8 98 1E 01 F8 */ stb r0, 0x1f8(r30) +/* 8010745C 001043BC 7F E4 FB 78 */ mr r4, r31 +/* 80107460 001043C0 48 00 00 1D */ bl DoStateTransition__17CInGameGuiManagerFR13CStateManager +lbl_80107464: +/* 80107464 001043C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80107468 001043C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8010746C 001043CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80107470 001043D0 7C 08 03 A6 */ mtlr r0 +/* 80107474 001043D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80107478 001043D8 4E 80 00 20 */ blr + +.global DoStateTransition__17CInGameGuiManagerFR13CStateManager +DoStateTransition__17CInGameGuiManagerFR13CStateManager: +/* 8010747C 001043DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80107480 001043E0 7C 08 02 A6 */ mflr r0 +/* 80107484 001043E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80107488 001043E8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8010748C 001043EC 7C 7F 1B 78 */ mr r31, r3 +/* 80107490 001043F0 7C 9B 23 78 */ mr r27, r4 +/* 80107494 001043F4 7F 65 DB 78 */ mr r5, r27 +/* 80107498 001043F8 80 63 00 34 */ lwz r3, 0x34(r3) +/* 8010749C 001043FC 80 9F 01 C0 */ lwz r4, 0x1c0(r31) +/* 801074A0 00104400 4B F6 1B 21 */ bl OnNewInGameGuiState__9CSamusHudF15EInGameGuiStateR13CStateManager +/* 801074A4 00104404 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 801074A8 00104408 7F 65 DB 78 */ mr r5, r27 +/* 801074AC 0010440C 80 9F 01 C0 */ lwz r4, 0x1c0(r31) +/* 801074B0 00104410 4B F9 4E 79 */ bl OnNewInGameGuiState__11CAutoMapperF15EInGameGuiStateR13CStateManager +/* 801074B4 00104414 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 801074B8 00104418 2C 00 00 03 */ cmpwi r0, 3 +/* 801074BC 0010441C 41 82 00 0C */ beq lbl_801074C8 +/* 801074C0 00104420 2C 00 00 04 */ cmpwi r0, 4 +/* 801074C4 00104424 40 82 01 08 */ bne lbl_801075CC +lbl_801074C8: +/* 801074C8 00104428 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 801074CC 0010442C 28 00 00 00 */ cmplwi r0, 0 +/* 801074D0 00104430 40 82 00 FC */ bne lbl_801075CC +/* 801074D4 00104434 80 7B 08 B8 */ lwz r3, 0x8b8(r27) +/* 801074D8 00104438 80 63 00 00 */ lwz r3, 0(r3) +/* 801074DC 0010443C 83 63 00 20 */ lwz r27, 0x20(r3) +/* 801074E0 00104440 4B F8 9F E5 */ bl GetIsFusionEnabled__12CPlayerStateFv +/* 801074E4 00104444 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801074E8 00104448 41 82 00 38 */ beq lbl_80107520 +/* 801074EC 0010444C 2C 1B 00 03 */ cmpwi r27, 3 +/* 801074F0 00104450 40 82 00 0C */ bne lbl_801074FC +/* 801074F4 00104454 3B A0 00 07 */ li r29, 7 +/* 801074F8 00104458 48 00 00 54 */ b lbl_8010754C +lbl_801074FC: +/* 801074FC 0010445C 2C 1B 00 01 */ cmpwi r27, 1 +/* 80107500 00104460 40 82 00 0C */ bne lbl_8010750C +/* 80107504 00104464 3B A0 00 06 */ li r29, 6 +/* 80107508 00104468 48 00 00 44 */ b lbl_8010754C +lbl_8010750C: +/* 8010750C 0010446C 2C 1B 00 02 */ cmpwi r27, 2 +/* 80107510 00104470 3B A0 00 04 */ li r29, 4 +/* 80107514 00104474 40 82 00 38 */ bne lbl_8010754C +/* 80107518 00104478 3B A0 00 05 */ li r29, 5 +/* 8010751C 0010447C 48 00 00 30 */ b lbl_8010754C +lbl_80107520: +/* 80107520 00104480 2C 1B 00 03 */ cmpwi r27, 3 +/* 80107524 00104484 40 82 00 0C */ bne lbl_80107530 +/* 80107528 00104488 3B A0 00 03 */ li r29, 3 +/* 8010752C 0010448C 48 00 00 20 */ b lbl_8010754C +lbl_80107530: +/* 80107530 00104490 2C 1B 00 01 */ cmpwi r27, 1 +/* 80107534 00104494 40 82 00 0C */ bne lbl_80107540 +/* 80107538 00104498 3B A0 00 02 */ li r29, 2 +/* 8010753C 0010449C 48 00 00 10 */ b lbl_8010754C +lbl_80107540: +/* 80107540 001044A0 20 1B 00 02 */ subfic r0, r27, 2 +/* 80107544 001044A4 7C 00 00 34 */ cntlzw r0, r0 +/* 80107548 001044A8 54 1D D9 7E */ srwi r29, r0, 5 +lbl_8010754C: +/* 8010754C 001044AC 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 80107550 001044B0 3B C0 00 02 */ li r30, 2 +/* 80107554 001044B4 2C 00 00 04 */ cmpwi r0, 4 +/* 80107558 001044B8 40 82 00 08 */ bne lbl_80107560 +/* 8010755C 001044BC 3B C0 00 00 */ li r30, 0 +lbl_80107560: +/* 80107560 001044C0 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha +/* 80107564 001044C4 38 60 00 94 */ li r3, 0x94 +/* 80107568 001044C8 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l +/* 8010756C 001044CC 38 A0 00 00 */ li r5, 0 +/* 80107570 001044D0 38 84 02 AC */ addi r4, r4, 0x2ac +/* 80107574 001044D4 48 20 E2 F9 */ bl __nw__FUlPCcPCc +/* 80107578 001044D8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8010757C 001044DC 41 82 00 40 */ beq lbl_801075BC +/* 80107580 001044E0 57 A0 18 38 */ slwi r0, r29, 3 +/* 80107584 001044E4 7F 7F 02 14 */ add r27, r31, r0 +/* 80107588 001044E8 3B 7B 00 60 */ addi r27, r27, 0x60 +/* 8010758C 001044EC 7F 63 DB 78 */ mr r3, r27 +/* 80107590 001044F0 48 23 98 7D */ bl GetObj__6CTokenFv +/* 80107594 001044F4 83 A3 00 04 */ lwz r29, 4(r3) +/* 80107598 001044F8 7F 63 DB 78 */ mr r3, r27 +/* 8010759C 001044FC 48 23 98 71 */ bl GetObj__6CTokenFv +/* 801075A0 00104500 7C 64 1B 78 */ mr r4, r3 +/* 801075A4 00104504 7F 83 E3 78 */ mr r3, r28 +/* 801075A8 00104508 80 A4 00 04 */ lwz r5, 4(r4) +/* 801075AC 0010450C 7F C4 F3 78 */ mr r4, r30 +/* 801075B0 00104510 7F A6 EB 78 */ mr r6, r29 +/* 801075B4 00104514 4B F6 CA 5D */ bl __ct__12CPauseScreenFiRC16CDependencyGroupRC16CDependencyGroup +/* 801075B8 00104518 7C 7C 1B 78 */ mr r28, r3 +lbl_801075BC: +/* 801075BC 0010451C 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 801075C0 00104520 38 80 00 01 */ li r4, 1 +/* 801075C4 00104524 4B F6 C8 C9 */ bl __dt__12CPauseScreenFv +/* 801075C8 00104528 93 9F 00 48 */ stw r28, 0x48(r31) +lbl_801075CC: +/* 801075CC 0010452C 80 7F 01 C0 */ lwz r3, 0x1c0(r31) +/* 801075D0 00104530 38 00 00 00 */ li r0, 0 +/* 801075D4 00104534 2C 03 00 02 */ cmpwi r3, 2 +/* 801075D8 00104538 41 80 00 10 */ blt lbl_801075E8 +/* 801075DC 0010453C 2C 03 00 06 */ cmpwi r3, 6 +/* 801075E0 00104540 41 81 00 08 */ bgt lbl_801075E8 +/* 801075E4 00104544 38 00 00 01 */ li r0, 1 +lbl_801075E8: +/* 801075E8 00104548 83 9F 00 F4 */ lwz r28, 0xf4(r31) +/* 801075EC 0010454C 54 1E 06 3E */ clrlwi r30, r0, 0x18 +/* 801075F0 00104550 48 00 00 24 */ b lbl_80107614 +lbl_801075F4: +/* 801075F4 00104554 28 1E 00 00 */ cmplwi r30, 0 +/* 801075F8 00104558 41 82 00 10 */ beq lbl_80107608 +/* 801075FC 0010455C 7F 83 E3 78 */ mr r3, r28 +/* 80107600 00104560 48 23 97 85 */ bl Lock__6CTokenFv +/* 80107604 00104564 48 00 00 0C */ b lbl_80107610 +lbl_80107608: +/* 80107608 00104568 7F 83 E3 78 */ mr r3, r28 +/* 8010760C 0010456C 48 23 97 35 */ bl Unlock__6CTokenFv +lbl_80107610: +/* 80107610 00104570 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80107614: +/* 80107614 00104574 80 1F 00 EC */ lwz r0, 0xec(r31) +/* 80107618 00104578 80 7F 00 F4 */ lwz r3, 0xf4(r31) +/* 8010761C 0010457C 54 00 18 38 */ slwi r0, r0, 3 +/* 80107620 00104580 7C 03 02 14 */ add r0, r3, r0 +/* 80107624 00104584 7C 1C 00 40 */ cmplw r28, r0 +/* 80107628 00104588 40 82 FF CC */ bne lbl_801075F4 +/* 8010762C 0010458C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 80107630 00104590 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80107634 00104594 7C 08 03 A6 */ mtlr r0 +/* 80107638 00104598 38 21 00 20 */ addi r1, r1, 0x20 +/* 8010763C 0010459C 4E 80 00 20 */ blr + +.global BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager +BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager: +/* 80107640 001045A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80107644 001045A4 7C 08 02 A6 */ mflr r0 +/* 80107648 001045A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8010764C 001045AC BF 61 00 0C */ stmw r27, 0xc(r1) +/* 80107650 001045B0 7C 9E 23 78 */ mr r30, r4 +/* 80107654 001045B4 7C 7D 1B 78 */ mr r29, r3 +/* 80107658 001045B8 7C BF 2B 78 */ mr r31, r5 +/* 8010765C 001045BC 80 03 01 C0 */ lwz r0, 0x1c0(r3) +/* 80107660 001045C0 7C 00 F0 00 */ cmpw r0, r30 +/* 80107664 001045C4 41 82 01 74 */ beq lbl_801077D8 +/* 80107668 001045C8 90 1D 01 BC */ stw r0, 0x1bc(r29) +/* 8010766C 001045CC 2C 1E 00 01 */ cmpwi r30, 1 +/* 80107670 001045D0 93 DD 01 C0 */ stw r30, 0x1c0(r29) +/* 80107674 001045D4 40 82 00 2C */ bne lbl_801076A0 +/* 80107678 001045D8 38 60 00 01 */ li r3, 1 +/* 8010767C 001045DC 48 1E 22 39 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 80107680 001045E0 80 7D 00 4C */ lwz r3, 0x4c(r29) +/* 80107684 001045E4 38 80 00 01 */ li r4, 1 +/* 80107688 001045E8 48 14 87 9D */ bl __dt__15CSaveGameScreenFv +/* 8010768C 001045EC 38 00 00 00 */ li r0, 0 +/* 80107690 001045F0 90 1D 00 4C */ stw r0, 0x4c(r29) +/* 80107694 001045F4 80 7D 00 38 */ lwz r3, 0x38(r29) +/* 80107698 001045F8 4B F9 4B 1D */ bl UnmuteAllLoopedSounds__11CAutoMapperFv +/* 8010769C 001045FC 48 00 01 14 */ b lbl_801077B0 +lbl_801076A0: +/* 801076A0 00104600 2C 1E 00 06 */ cmpwi r30, 6 +/* 801076A4 00104604 40 82 00 84 */ bne lbl_80107728 +/* 801076A8 00104608 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha +/* 801076AC 0010460C 38 60 00 7C */ li r3, 0x7c +/* 801076B0 00104610 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l +/* 801076B4 00104614 38 A0 00 00 */ li r5, 0 +/* 801076B8 00104618 38 84 02 AC */ addi r4, r4, 0x2ac +/* 801076BC 0010461C 48 20 E1 B1 */ bl __nw__FUlPCcPCc +/* 801076C0 00104620 7C 7B 1B 79 */ or. r27, r3, r3 +/* 801076C4 00104624 41 82 00 14 */ beq lbl_801076D8 +/* 801076C8 00104628 80 9D 01 24 */ lwz r4, 0x124(r29) +/* 801076CC 0010462C C0 3D 01 28 */ lfs f1, 0x128(r29) +/* 801076D0 00104630 48 0E 88 31 */ bl __ct__14CMessageScreenFUif +/* 801076D4 00104634 7C 7B 1B 78 */ mr r27, r3 +lbl_801076D8: +/* 801076D8 00104638 83 9D 00 44 */ lwz r28, 0x44(r29) +/* 801076DC 0010463C 28 1C 00 00 */ cmplwi r28, 0 +/* 801076E0 00104640 41 82 00 40 */ beq lbl_80107720 +/* 801076E4 00104644 34 1C 00 0C */ addic. r0, r28, 0xc +/* 801076E8 00104648 41 82 00 18 */ beq lbl_80107700 +/* 801076EC 0010464C 34 1C 00 0C */ addic. r0, r28, 0xc +/* 801076F0 00104650 41 82 00 10 */ beq lbl_80107700 +/* 801076F4 00104654 38 7C 00 0C */ addi r3, r28, 0xc +/* 801076F8 00104658 38 80 00 00 */ li r4, 0 +/* 801076FC 0010465C 48 23 97 45 */ bl __dt__6CTokenFv +lbl_80107700: +/* 80107700 00104660 28 1C 00 00 */ cmplwi r28, 0 +/* 80107704 00104664 41 82 00 14 */ beq lbl_80107718 +/* 80107708 00104668 41 82 00 10 */ beq lbl_80107718 +/* 8010770C 0010466C 7F 83 E3 78 */ mr r3, r28 +/* 80107710 00104670 38 80 00 00 */ li r4, 0 +/* 80107714 00104674 48 23 97 2D */ bl __dt__6CTokenFv +lbl_80107718: +/* 80107718 00104678 7F 83 E3 78 */ mr r3, r28 +/* 8010771C 0010467C 48 20 E2 15 */ bl Free__7CMemoryFPCv +lbl_80107720: +/* 80107720 00104680 93 7D 00 44 */ stw r27, 0x44(r29) +/* 80107724 00104684 48 00 00 8C */ b lbl_801077B0 +lbl_80107728: +/* 80107728 00104688 2C 1E 00 05 */ cmpwi r30, 5 +/* 8010772C 0010468C 40 82 00 50 */ bne lbl_8010777C +/* 80107730 00104690 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha +/* 80107734 00104694 38 60 00 98 */ li r3, 0x98 +/* 80107738 00104698 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l +/* 8010773C 0010469C 38 A0 00 00 */ li r5, 0 +/* 80107740 001046A0 38 84 02 AC */ addi r4, r4, 0x2ac +/* 80107744 001046A4 48 20 E1 29 */ bl __nw__FUlPCcPCc +/* 80107748 001046A8 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8010774C 001046AC 41 82 00 1C */ beq lbl_80107768 +/* 80107750 001046B0 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) +/* 80107754 001046B4 38 80 00 01 */ li r4, 1 +/* 80107758 001046B8 80 A6 02 10 */ lwz r5, 0x210(r6) +/* 8010775C 001046BC 80 C6 02 14 */ lwz r6, 0x214(r6) +/* 80107760 001046C0 48 14 88 1D */ bl __ct__15CSaveGameScreen +/* 80107764 001046C4 7C 7B 1B 78 */ mr r27, r3 +lbl_80107768: +/* 80107768 001046C8 80 7D 00 4C */ lwz r3, 0x4c(r29) +/* 8010776C 001046CC 38 80 00 01 */ li r4, 1 +/* 80107770 001046D0 48 14 86 B5 */ bl __dt__15CSaveGameScreenFv +/* 80107774 001046D4 93 7D 00 4C */ stw r27, 0x4c(r29) +/* 80107778 001046D8 48 00 00 38 */ b lbl_801077B0 +lbl_8010777C: +/* 8010777C 001046DC 80 7D 01 BC */ lwz r3, 0x1bc(r29) +/* 80107780 001046E0 38 00 00 00 */ li r0, 0 +/* 80107784 001046E4 2C 03 00 00 */ cmpwi r3, 0 +/* 80107788 001046E8 41 80 00 10 */ blt lbl_80107798 +/* 8010778C 001046EC 2C 03 00 01 */ cmpwi r3, 1 +/* 80107790 001046F0 41 81 00 08 */ bgt lbl_80107798 +/* 80107794 001046F4 38 00 00 01 */ li r0, 1 +lbl_80107798: +/* 80107798 001046F8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8010779C 001046FC 41 82 00 14 */ beq lbl_801077B0 +/* 801077A0 00104700 88 1D 01 F8 */ lbz r0, 0x1f8(r29) +/* 801077A4 00104704 38 60 00 01 */ li r3, 1 +/* 801077A8 00104708 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 801077AC 0010470C 98 1D 01 F8 */ stb r0, 0x1f8(r29) +lbl_801077B0: +/* 801077B0 00104710 80 7D 00 3C */ lwz r3, 0x3c(r29) +/* 801077B4 00104714 7F C4 F3 78 */ mr r4, r30 +/* 801077B8 00104718 7F E5 FB 78 */ mr r5, r31 +/* 801077BC 0010471C 48 15 61 F1 */ bl OnNewInGameGuiState__16CPauseScreenBlurF15EInGameGuiStateR13CStateManager +/* 801077C0 00104720 88 1D 01 F8 */ lbz r0, 0x1f8(r29) +/* 801077C4 00104724 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 801077C8 00104728 40 82 00 10 */ bne lbl_801077D8 +/* 801077CC 0010472C 7F A3 EB 78 */ mr r3, r29 +/* 801077D0 00104730 7F E4 FB 78 */ mr r4, r31 +/* 801077D4 00104734 4B FF FC A9 */ bl DoStateTransition__17CInGameGuiManagerFR13CStateManager +lbl_801077D8: +/* 801077D8 00104738 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 801077DC 0010473C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801077E0 00104740 7C 08 03 A6 */ mtlr r0 +/* 801077E4 00104744 38 21 00 20 */ addi r1, r1, 0x20 +/* 801077E8 00104748 4E 80 00 20 */ blr + +.global GetIsGameDraw__17CInGameGuiManagerCFv +GetIsGameDraw__17CInGameGuiManagerCFv: +/* 801077EC 0010474C 80 63 00 3C */ lwz r3, 0x3c(r3) +/* 801077F0 00104750 88 03 00 50 */ lbz r0, 0x50(r3) +/* 801077F4 00104754 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 801077F8 00104758 4E 80 00 20 */ blr + +.global ShowPauseGameHudMessage__17CInGameGuiManagerFRC13CStateManagerUi +ShowPauseGameHudMessage__17CInGameGuiManagerFRC13CStateManagerUi: +/* 801077FC 0010475C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80107800 00104760 7C 08 02 A6 */ mflr r0 +/* 80107804 00104764 90 01 00 14 */ stw r0, 0x14(r1) +/* 80107808 00104768 90 A3 01 24 */ stw r5, 0x124(r3) +/* 8010780C 0010476C 38 A0 00 06 */ li r5, 6 +/* 80107810 00104770 D0 23 01 28 */ stfs f1, 0x128(r3) +/* 80107814 00104774 48 00 00 15 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState +/* 80107818 00104778 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8010781C 0010477C 7C 08 03 A6 */ mtlr r0 +/* 80107820 00104780 38 21 00 10 */ addi r1, r1, 0x10 +/* 80107824 00104784 4E 80 00 20 */ blr + +.global PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState +PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState: +/* 80107828 00104788 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8010782C 0010478C 7C 08 02 A6 */ mflr r0 +/* 80107830 00104790 90 01 00 24 */ stw r0, 0x24(r1) +/* 80107834 00104794 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80107838 00104798 7C BF 2B 78 */ mr r31, r5 +/* 8010783C 0010479C 38 A0 00 00 */ li r5, 0 +/* 80107840 001047A0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80107844 001047A4 7C 9E 23 78 */ mr r30, r4 +/* 80107848 001047A8 38 80 00 00 */ li r4, 0 +/* 8010784C 001047AC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80107850 001047B0 7C 7D 1B 78 */ mr r29, r3 +/* 80107854 001047B4 80 6D A0 7C */ lwz r3, gpController@sda21(r13) +/* 80107858 001047B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8010785C 001047BC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80107860 001047C0 7D 89 03 A6 */ mtctr r12 +/* 80107864 001047C4 4E 80 04 21 */ bctrl +/* 80107868 001047C8 38 60 00 02 */ li r3, 2 +/* 8010786C 001047CC 48 1E 20 49 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels +/* 80107870 001047D0 7F A3 EB 78 */ mr r3, r29 +/* 80107874 001047D4 7F E4 FB 78 */ mr r4, r31 +/* 80107878 001047D8 7F C5 F3 78 */ mr r5, r30 +/* 8010787C 001047DC 4B FF FD C5 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager +/* 80107880 001047E0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80107884 001047E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80107888 001047E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010788C 001047EC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80107890 001047F0 7C 08 03 A6 */ mtlr r0 +/* 80107894 001047F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80107898 001047F8 4E 80 00 20 */ blr + +.global ProcessControllerInput__17CInGameGuiManagerFRC13CStateManagerRC11CFinalInputR18CArchitectureQueue +ProcessControllerInput__17CInGameGuiManagerFRC13CStateManagerRC11CFinalInputR18CArchitectureQueue: +/* 8010789C 001047FC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801078A0 00104800 7C 08 02 A6 */ mflr r0 +/* 801078A4 00104804 90 01 00 24 */ stw r0, 0x24(r1) +/* 801078A8 00104808 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801078AC 0010480C 7C BF 2B 78 */ mr r31, r5 +/* 801078B0 00104810 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801078B4 00104814 7C 9E 23 78 */ mr r30, r4 +/* 801078B8 00104818 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801078BC 0010481C 7C 7D 1B 78 */ mr r29, r3 +/* 801078C0 00104820 80 05 00 04 */ lwz r0, 4(r5) +/* 801078C4 00104824 2C 00 00 00 */ cmpwi r0, 0 +/* 801078C8 00104828 40 82 01 74 */ bne lbl_80107A3C +/* 801078CC 0010482C 80 BD 01 BC */ lwz r5, 0x1bc(r29) +/* 801078D0 00104830 38 80 00 00 */ li r4, 0 +/* 801078D4 00104834 7C 80 23 78 */ mr r0, r4 +/* 801078D8 00104838 2C 05 00 00 */ cmpwi r5, 0 +/* 801078DC 0010483C 41 80 00 10 */ blt lbl_801078EC +/* 801078E0 00104840 2C 05 00 01 */ cmpwi r5, 1 +/* 801078E4 00104844 41 81 00 08 */ bgt lbl_801078EC +/* 801078E8 00104848 38 00 00 01 */ li r0, 1 +lbl_801078EC: +/* 801078EC 0010484C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 801078F0 00104850 41 82 00 2C */ beq lbl_8010791C +/* 801078F4 00104854 80 7D 01 C0 */ lwz r3, 0x1c0(r29) +/* 801078F8 00104858 38 00 00 00 */ li r0, 0 +/* 801078FC 0010485C 2C 03 00 00 */ cmpwi r3, 0 +/* 80107900 00104860 41 80 00 10 */ blt lbl_80107910 +/* 80107904 00104864 2C 03 00 01 */ cmpwi r3, 1 +/* 80107908 00104868 41 81 00 08 */ bgt lbl_80107910 +/* 8010790C 0010486C 38 00 00 01 */ li r0, 1 +lbl_80107910: +/* 80107910 00104870 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80107914 00104874 41 82 00 08 */ beq lbl_8010791C +/* 80107918 00104878 38 80 00 01 */ li r4, 1 +lbl_8010791C: +/* 8010791C 0010487C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80107920 00104880 40 82 01 10 */ bne lbl_80107A30 +/* 80107924 00104884 2C 05 00 02 */ cmpwi r5, 2 +/* 80107928 00104888 38 80 00 00 */ li r4, 0 +/* 8010792C 0010488C 7C 80 23 78 */ mr r0, r4 +/* 80107930 00104890 41 80 00 10 */ blt lbl_80107940 +/* 80107934 00104894 2C 05 00 06 */ cmpwi r5, 6 +/* 80107938 00104898 41 81 00 08 */ bgt lbl_80107940 +/* 8010793C 0010489C 38 00 00 01 */ li r0, 1 +lbl_80107940: +/* 80107940 001048A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80107944 001048A4 41 82 00 2C */ beq lbl_80107970 +/* 80107948 001048A8 80 7D 01 C0 */ lwz r3, 0x1c0(r29) +/* 8010794C 001048AC 38 00 00 00 */ li r0, 0 +/* 80107950 001048B0 2C 03 00 02 */ cmpwi r3, 2 +/* 80107954 001048B4 41 80 00 10 */ blt lbl_80107964 +/* 80107958 001048B8 2C 03 00 06 */ cmpwi r3, 6 +/* 8010795C 001048BC 41 81 00 08 */ bgt lbl_80107964 +/* 80107960 001048C0 38 00 00 01 */ li r0, 1 +lbl_80107964: +/* 80107964 001048C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80107968 001048C8 41 82 00 08 */ beq lbl_80107970 +/* 8010796C 001048CC 38 80 00 01 */ li r4, 1 +lbl_80107970: +/* 80107970 001048D0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80107974 001048D4 41 82 00 C8 */ beq lbl_80107A3C +/* 80107978 001048D8 80 1D 01 BC */ lwz r0, 0x1bc(r29) +/* 8010797C 001048DC 2C 00 00 02 */ cmpwi r0, 2 +/* 80107980 001048E0 40 82 00 64 */ bne lbl_801079E4 +/* 80107984 001048E4 80 7D 00 38 */ lwz r3, 0x38(r29) +/* 80107988 001048E8 38 80 00 01 */ li r4, 1 +/* 8010798C 001048EC 4B F8 E3 99 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 80107990 001048F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80107994 001048F4 40 82 00 18 */ bne lbl_801079AC +/* 80107998 001048F8 80 7D 00 38 */ lwz r3, 0x38(r29) +/* 8010799C 001048FC 38 80 00 02 */ li r4, 2 +/* 801079A0 00104900 4B F8 E3 85 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 801079A4 00104904 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801079A8 00104908 41 82 00 94 */ beq lbl_80107A3C +lbl_801079AC: +/* 801079AC 0010490C 80 7D 00 38 */ lwz r3, 0x38(r29) +/* 801079B0 00104910 7F E4 FB 78 */ mr r4, r31 +/* 801079B4 00104914 7F C5 F3 78 */ mr r5, r30 +/* 801079B8 00104918 4B F9 34 FD */ bl ProcessControllerInput__11CAutoMapperFRC11CFinalInputRC13CStateManager +/* 801079BC 0010491C 80 7D 00 38 */ lwz r3, 0x38(r29) +/* 801079C0 00104920 7F C4 F3 78 */ mr r4, r30 +/* 801079C4 00104924 4B F9 49 1D */ bl CanLeaveMapScreen__11CAutoMapperCFRC13CStateManager +/* 801079C8 00104928 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801079CC 0010492C 41 82 00 70 */ beq lbl_80107A3C +/* 801079D0 00104930 7F A3 EB 78 */ mr r3, r29 +/* 801079D4 00104934 7F C5 F3 78 */ mr r5, r30 +/* 801079D8 00104938 38 80 00 01 */ li r4, 1 +/* 801079DC 0010493C 4B FF FC 65 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager +/* 801079E0 00104940 48 00 00 5C */ b lbl_80107A3C +lbl_801079E4: +/* 801079E4 00104944 2C 00 00 05 */ cmpwi r0, 5 +/* 801079E8 00104948 40 82 00 14 */ bne lbl_801079FC +/* 801079EC 0010494C 80 7D 00 4C */ lwz r3, 0x4c(r29) +/* 801079F0 00104950 7F E4 FB 78 */ mr r4, r31 +/* 801079F4 00104954 48 14 7D 7D */ bl ProcessUserInput__15CSaveGameScreenFRC11CFinalInput +/* 801079F8 00104958 48 00 00 44 */ b lbl_80107A3C +lbl_801079FC: +/* 801079FC 0010495C 2C 00 00 06 */ cmpwi r0, 6 +/* 80107A00 00104960 40 82 00 14 */ bne lbl_80107A14 +/* 80107A04 00104964 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 80107A08 00104968 7F E4 FB 78 */ mr r4, r31 +/* 80107A0C 0010496C 48 0E 7C 55 */ bl ProcessControllerInput__14CMessageScreenFRC11CFinalInput +/* 80107A10 00104970 48 00 00 2C */ b lbl_80107A3C +lbl_80107A14: +/* 80107A14 00104974 80 7D 00 48 */ lwz r3, 0x48(r29) +/* 80107A18 00104978 28 03 00 00 */ cmplwi r3, 0 +/* 80107A1C 0010497C 41 82 00 20 */ beq lbl_80107A3C +/* 80107A20 00104980 7F C4 F3 78 */ mr r4, r30 +/* 80107A24 00104984 7F E5 FB 78 */ mr r5, r31 +/* 80107A28 00104988 4B F6 B1 8D */ bl ProcessControllerInput__12CPauseScreenFRC13CStateManagerRC11CFinalInput +/* 80107A2C 0010498C 48 00 00 10 */ b lbl_80107A3C +lbl_80107A30: +/* 80107A30 00104990 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 80107A34 00104994 7F E4 FB 78 */ mr r4, r31 +/* 80107A38 00104998 4B F5 DE F1 */ bl ProcessControllerInput__9CSamusHudFRC11CFinalInput +lbl_80107A3C: +/* 80107A3C 0010499C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80107A40 001049A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80107A44 001049A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80107A48 001049A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80107A4C 001049AC 7C 08 03 A6 */ mtlr r0 +/* 80107A50 001049B0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80107A54 001049B4 4E 80 00 20 */ blr + +.global RefreshHudOptions__17CInGameGuiManagerFv +RefreshHudOptions__17CInGameGuiManagerFv: +/* 80107A58 001049B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80107A5C 001049BC 7C 08 02 A6 */ mflr r0 +/* 80107A60 001049C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80107A64 001049C4 80 63 00 34 */ lwz r3, 0x34(r3) +/* 80107A68 001049C8 4B F6 57 B5 */ bl RefreshHudOptions__9CSamusHudFv +/* 80107A6C 001049CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80107A70 001049D0 7C 08 03 A6 */ mtlr r0 +/* 80107A74 001049D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80107A78 001049D8 4E 80 00 20 */ blr + +.global OnNewPauseScreenState__17CInGameGuiManagerFR18CArchitectureQueue +OnNewPauseScreenState__17CInGameGuiManagerFR18CArchitectureQueue: +/* 80107A7C 001049DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80107A80 001049E0 7C 08 02 A6 */ mflr r0 +/* 80107A84 001049E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80107A88 001049E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80107A8C 001049EC 93 C1 00 08 */ stw r30, 8(r1) +/* 80107A90 001049F0 7C 7E 1B 78 */ mr r30, r3 +/* 80107A94 001049F4 80 03 01 C0 */ lwz r0, 0x1c0(r3) +/* 80107A98 001049F8 2C 00 00 03 */ cmpwi r0, 3 +/* 80107A9C 001049FC 41 82 00 38 */ beq lbl_80107AD4 +/* 80107AA0 00104A00 2C 00 00 04 */ cmpwi r0, 4 +/* 80107AA4 00104A04 41 82 00 30 */ beq lbl_80107AD4 +/* 80107AA8 00104A08 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 80107AAC 00104A0C 28 03 00 00 */ cmplwi r3, 0 +/* 80107AB0 00104A10 41 82 00 14 */ beq lbl_80107AC4 +/* 80107AB4 00104A14 80 83 00 08 */ lwz r4, 8(r3) +/* 80107AB8 00104A18 80 03 00 0C */ lwz r0, 0xc(r3) +/* 80107ABC 00104A1C 7C 04 00 00 */ cmpw r4, r0 +/* 80107AC0 00104A20 40 82 00 AC */ bne lbl_80107B6C +lbl_80107AC4: +/* 80107AC4 00104A24 38 80 00 01 */ li r4, 1 +/* 80107AC8 00104A28 4B F6 C3 C5 */ bl __dt__12CPauseScreenFv +/* 80107ACC 00104A2C 38 00 00 00 */ li r0, 0 +/* 80107AD0 00104A30 90 1E 00 48 */ stw r0, 0x48(r30) +lbl_80107AD4: +/* 80107AD4 00104A34 80 7E 01 C0 */ lwz r3, 0x1c0(r30) +/* 80107AD8 00104A38 38 00 00 00 */ li r0, 0 +/* 80107ADC 00104A3C 2C 03 00 00 */ cmpwi r3, 0 +/* 80107AE0 00104A40 41 80 00 10 */ blt lbl_80107AF0 +/* 80107AE4 00104A44 2C 03 00 01 */ cmpwi r3, 1 +/* 80107AE8 00104A48 41 81 00 08 */ bgt lbl_80107AF0 +/* 80107AEC 00104A4C 38 00 00 01 */ li r0, 1 +lbl_80107AF0: +/* 80107AF0 00104A50 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80107AF4 00104A54 41 82 00 70 */ beq lbl_80107B64 +/* 80107AF8 00104A58 83 FE 00 44 */ lwz r31, 0x44(r30) +/* 80107AFC 00104A5C 28 1F 00 00 */ cmplwi r31, 0 +/* 80107B00 00104A60 41 82 00 40 */ beq lbl_80107B40 +/* 80107B04 00104A64 34 1F 00 0C */ addic. r0, r31, 0xc +/* 80107B08 00104A68 41 82 00 18 */ beq lbl_80107B20 +/* 80107B0C 00104A6C 34 1F 00 0C */ addic. r0, r31, 0xc +/* 80107B10 00104A70 41 82 00 10 */ beq lbl_80107B20 +/* 80107B14 00104A74 38 7F 00 0C */ addi r3, r31, 0xc +/* 80107B18 00104A78 38 80 00 00 */ li r4, 0 +/* 80107B1C 00104A7C 48 23 93 25 */ bl __dt__6CTokenFv +lbl_80107B20: +/* 80107B20 00104A80 28 1F 00 00 */ cmplwi r31, 0 +/* 80107B24 00104A84 41 82 00 14 */ beq lbl_80107B38 +/* 80107B28 00104A88 41 82 00 10 */ beq lbl_80107B38 +/* 80107B2C 00104A8C 7F E3 FB 78 */ mr r3, r31 +/* 80107B30 00104A90 38 80 00 00 */ li r4, 0 +/* 80107B34 00104A94 48 23 93 0D */ bl __dt__6CTokenFv +lbl_80107B38: +/* 80107B38 00104A98 7F E3 FB 78 */ mr r3, r31 +/* 80107B3C 00104A9C 48 20 DD F5 */ bl Free__7CMemoryFPCv +lbl_80107B40: +/* 80107B40 00104AA0 38 00 00 00 */ li r0, 0 +/* 80107B44 00104AA4 7F C3 F3 78 */ mr r3, r30 +/* 80107B48 00104AA8 90 1E 00 44 */ stw r0, 0x44(r30) +/* 80107B4C 00104AAC 4B FF EF E1 */ bl TryReloadAreaTextures__17CInGameGuiManagerFv +/* 80107B50 00104AB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80107B54 00104AB4 41 82 00 18 */ beq lbl_80107B6C +/* 80107B58 00104AB8 48 24 D8 1D */ bl EnableTextureTimeout__6CModelFv +/* 80107B5C 00104ABC 7F C3 F3 78 */ mr r3, r30 +/* 80107B60 00104AC0 4B FF FE F9 */ bl RefreshHudOptions__17CInGameGuiManagerFv +lbl_80107B64: +/* 80107B64 00104AC4 80 1E 01 C0 */ lwz r0, 0x1c0(r30) +/* 80107B68 00104AC8 90 1E 01 BC */ stw r0, 0x1bc(r30) +lbl_80107B6C: +/* 80107B6C 00104ACC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80107B70 00104AD0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80107B74 00104AD4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80107B78 00104AD8 7C 08 03 A6 */ mtlr r0 +/* 80107B7C 00104ADC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80107B80 00104AE0 4E 80 00 20 */ blr + +.global UpdateAutoMapper__17CInGameGuiManagerFR13CStateManagerf +UpdateAutoMapper__17CInGameGuiManagerFR13CStateManagerf: +/* 80107B84 00104AE4 94 21 FB C0 */ stwu r1, -0x440(r1) +/* 80107B88 00104AE8 7C 08 02 A6 */ mflr r0 +/* 80107B8C 00104AEC 90 01 04 44 */ stw r0, 0x444(r1) +/* 80107B90 00104AF0 DB E1 04 30 */ stfd f31, 0x430(r1) +/* 80107B94 00104AF4 F3 E1 04 38 */ psq_st f31, 1080(r1), 0, qr0 +/* 80107B98 00104AF8 DB C1 04 20 */ stfd f30, 0x420(r1) +/* 80107B9C 00104AFC F3 C1 04 28 */ psq_st f30, 1064(r1), 0, qr0 +/* 80107BA0 00104B00 DB A1 04 10 */ stfd f29, 0x410(r1) +/* 80107BA4 00104B04 F3 A1 04 18 */ psq_st f29, 1048(r1), 0, qr0 +/* 80107BA8 00104B08 DB 81 04 00 */ stfd f28, 0x400(r1) +/* 80107BAC 00104B0C F3 81 04 08 */ psq_st f28, 1032(r1), 0, qr0 +/* 80107BB0 00104B10 93 E1 03 FC */ stw r31, 0x3fc(r1) +/* 80107BB4 00104B14 93 C1 03 F8 */ stw r30, 0x3f8(r1) +/* 80107BB8 00104B18 7C 7F 1B 78 */ mr r31, r3 +/* 80107BBC 00104B1C 80 63 00 38 */ lwz r3, 0x38(r3) +/* 80107BC0 00104B20 4B F9 00 C1 */ bl Update__11CAutoMapperFfRC13CStateManager +/* 80107BC4 00104B24 80 9F 01 44 */ lwz r4, 0x144(r31) +/* 80107BC8 00104B28 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 80107BCC 00104B2C 3B C4 00 74 */ addi r30, r4, 0x74 +/* 80107BD0 00104B30 48 1B D1 49 */ bl GetParent__10CGuiObjectFv +/* 80107BD4 00104B34 7C 64 1B 78 */ mr r4, r3 +/* 80107BD8 00104B38 7F C5 F3 78 */ mr r5, r30 +/* 80107BDC 00104B3C 38 61 03 98 */ addi r3, r1, 0x398 +/* 80107BE0 00104B40 38 84 00 34 */ addi r4, r4, 0x34 +/* 80107BE4 00104B44 48 20 AD 6D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80107BE8 00104B48 38 61 03 C8 */ addi r3, r1, 0x3c8 +/* 80107BEC 00104B4C 38 81 03 98 */ addi r4, r1, 0x398 +/* 80107BF0 00104B50 48 20 AF 85 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80107BF4 00104B54 38 61 00 30 */ addi r3, r1, 0x30 +/* 80107BF8 00104B58 38 81 03 C8 */ addi r4, r1, 0x3c8 +/* 80107BFC 00104B5C 48 20 A5 2D */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80107C00 00104B60 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80107C04 00104B64 38 61 00 20 */ addi r3, r1, 0x20 +/* 80107C08 00104B68 D0 1F 01 54 */ stfs f0, 0x154(r31) +/* 80107C0C 00104B6C 80 81 00 34 */ lwz r4, 0x34(r1) +/* 80107C10 00104B70 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80107C14 00104B74 90 9F 01 58 */ stw r4, 0x158(r31) +/* 80107C18 00104B78 90 1F 01 5C */ stw r0, 0x15c(r31) +/* 80107C1C 00104B7C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80107C20 00104B80 90 1F 01 60 */ stw r0, 0x160(r31) +/* 80107C24 00104B84 C0 41 03 F4 */ lfs f2, 0x3f4(r1) +/* 80107C28 00104B88 C0 21 03 E4 */ lfs f1, 0x3e4(r1) +/* 80107C2C 00104B8C C0 01 03 D4 */ lfs f0, 0x3d4(r1) +/* 80107C30 00104B90 D0 1F 01 64 */ stfs f0, 0x164(r31) +/* 80107C34 00104B94 D0 3F 01 68 */ stfs f1, 0x168(r31) +/* 80107C38 00104B98 D0 5F 01 6C */ stfs f2, 0x16c(r31) +/* 80107C3C 00104B9C 80 9F 01 4C */ lwz r4, 0x14c(r31) +/* 80107C40 00104BA0 3B C4 00 34 */ addi r30, r4, 0x34 +/* 80107C44 00104BA4 7F C4 F3 78 */ mr r4, r30 +/* 80107C48 00104BA8 48 20 A4 E1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80107C4C 00104BAC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80107C50 00104BB0 C0 22 94 88 */ lfs f1, lbl_805AB1A8@sda21(r2) +/* 80107C54 00104BB4 D0 1F 01 70 */ stfs f0, 0x170(r31) +/* 80107C58 00104BB8 C0 42 94 84 */ lfs f2, lbl_805AB1A4@sda21(r2) +/* 80107C5C 00104BBC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80107C60 00104BC0 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80107C64 00104BC4 C0 62 94 80 */ lfs f3, lbl_805AB1A0@sda21(r2) +/* 80107C68 00104BC8 90 7F 01 74 */ stw r3, 0x174(r31) +/* 80107C6C 00104BCC 90 1F 01 78 */ stw r0, 0x178(r31) +/* 80107C70 00104BD0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80107C74 00104BD4 90 1F 01 7C */ stw r0, 0x17c(r31) +/* 80107C78 00104BD8 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 80107C7C 00104BDC C1 2D 89 D0 */ lfs f9, lbl_805A7590@sda21(r13) +/* 80107C80 00104BE0 C0 1E 00 04 */ lfs f0, 4(r30) +/* 80107C84 00104BE4 C0 DE 00 14 */ lfs f6, 0x14(r30) +/* 80107C88 00104BE8 C0 BE 00 24 */ lfs f5, 0x24(r30) +/* 80107C8C 00104BEC EC 09 00 32 */ fmuls f0, f9, f0 +/* 80107C90 00104BF0 C0 9E 00 0C */ lfs f4, 0xc(r30) +/* 80107C94 00104BF4 EC E9 01 B2 */ fmuls f7, f9, f6 +/* 80107C98 00104BF8 C1 1E 00 1C */ lfs f8, 0x1c(r30) +/* 80107C9C 00104BFC EC A9 01 72 */ fmuls f5, f9, f5 +/* 80107CA0 00104C00 C0 DE 00 2C */ lfs f6, 0x2c(r30) +/* 80107CA4 00104C04 C1 23 00 EC */ lfs f9, 0xec(r3) +/* 80107CA8 00104C08 EC 84 00 2A */ fadds f4, f4, f0 +/* 80107CAC 00104C0C C0 1E 00 08 */ lfs f0, 8(r30) +/* 80107CB0 00104C10 ED 08 38 2A */ fadds f8, f8, f7 +/* 80107CB4 00104C14 C0 FE 00 18 */ lfs f7, 0x18(r30) +/* 80107CB8 00104C18 EC C6 28 2A */ fadds f6, f6, f5 +/* 80107CBC 00104C1C EC 09 00 32 */ fmuls f0, f9, f0 +/* 80107CC0 00104C20 EC E9 01 F2 */ fmuls f7, f9, f7 +/* 80107CC4 00104C24 C0 BE 00 28 */ lfs f5, 0x28(r30) +/* 80107CC8 00104C28 EC 04 00 2A */ fadds f0, f4, f0 +/* 80107CCC 00104C2C EC 89 01 72 */ fmuls f4, f9, f5 +/* 80107CD0 00104C30 EC A8 38 2A */ fadds f5, f8, f7 +/* 80107CD4 00104C34 D0 1F 01 80 */ stfs f0, 0x180(r31) +/* 80107CD8 00104C38 EC 06 20 2A */ fadds f0, f6, f4 +/* 80107CDC 00104C3C D0 BF 01 84 */ stfs f5, 0x184(r31) +/* 80107CE0 00104C40 D0 1F 01 88 */ stfs f0, 0x188(r31) +/* 80107CE4 00104C44 80 FF 01 4C */ lwz r7, 0x14c(r31) +/* 80107CE8 00104C48 80 07 00 BC */ lwz r0, 0xbc(r7) +/* 80107CEC 00104C4C 80 C7 00 C0 */ lwz r6, 0xc0(r7) +/* 80107CF0 00104C50 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80107CF4 00104C54 80 A7 00 C4 */ lwz r5, 0xc4(r7) +/* 80107CF8 00104C58 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80107CFC 00104C5C 80 87 00 C8 */ lwz r4, 0xc8(r7) +/* 80107D00 00104C60 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80107D04 00104C64 80 67 00 CC */ lwz r3, 0xcc(r7) +/* 80107D08 00104C68 80 07 00 D0 */ lwz r0, 0xd0(r7) +/* 80107D0C 00104C6C 90 C1 00 60 */ stw r6, 0x60(r1) +/* 80107D10 00104C70 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80107D14 00104C74 90 A1 00 64 */ stw r5, 0x64(r1) +/* 80107D18 00104C78 EC 23 00 32 */ fmuls f1, f3, f0 +/* 80107D1C 00104C7C 90 81 00 68 */ stw r4, 0x68(r1) +/* 80107D20 00104C80 90 61 00 6C */ stw r3, 0x6c(r1) +/* 80107D24 00104C84 90 01 00 70 */ stw r0, 0x70(r1) +/* 80107D28 00104C88 48 20 D5 99 */ bl SlowTangentR__5CMathFf +/* 80107D2C 00104C8C C0 02 94 8C */ lfs f0, lbl_805AB1AC@sda21(r2) +/* 80107D30 00104C90 38 80 00 00 */ li r4, 0 +/* 80107D34 00104C94 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) +/* 80107D38 00104C98 EF E1 00 24 */ fdivs f31, f1, f0 +/* 80107D3C 00104C9C 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80107D40 00104CA0 C0 25 00 E4 */ lfs f1, 0xe4(r5) +/* 80107D44 00104CA4 C0 05 00 E8 */ lfs f0, 0xe8(r5) +/* 80107D48 00104CA8 80 03 01 BC */ lwz r0, 0x1bc(r3) +/* 80107D4C 00104CAC 2C 00 00 00 */ cmpwi r0, 0 +/* 80107D50 00104CB0 EF DF 00 72 */ fmuls f30, f31, f1 +/* 80107D54 00104CB4 EF BF 00 32 */ fmuls f29, f31, f0 +/* 80107D58 00104CB8 41 82 00 14 */ beq lbl_80107D6C +/* 80107D5C 00104CBC 80 03 01 C0 */ lwz r0, 0x1c0(r3) +/* 80107D60 00104CC0 2C 00 00 00 */ cmpwi r0, 0 +/* 80107D64 00104CC4 41 82 00 08 */ beq lbl_80107D6C +/* 80107D68 00104CC8 38 80 00 01 */ li r4, 1 +lbl_80107D6C: +/* 80107D6C 00104CCC 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80107D70 00104CD0 41 82 00 B0 */ beq lbl_80107E20 +/* 80107D74 00104CD4 FC 20 F0 90 */ fmr f1, f30 +/* 80107D78 00104CD8 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) +/* 80107D7C 00104CDC FC 60 E8 90 */ fmr f3, f29 +/* 80107D80 00104CE0 38 61 02 E4 */ addi r3, r1, 0x2e4 +/* 80107D84 00104CE4 48 20 B4 85 */ bl Scale__12CTransform4fFfff +/* 80107D88 00104CE8 38 61 03 14 */ addi r3, r1, 0x314 +/* 80107D8C 00104CEC 38 9F 01 70 */ addi r4, r31, 0x170 +/* 80107D90 00104CF0 48 20 A2 FD */ bl BuildTransform__11CQuaternionCFv +/* 80107D94 00104CF4 38 61 03 38 */ addi r3, r1, 0x338 +/* 80107D98 00104CF8 38 81 03 14 */ addi r4, r1, 0x314 +/* 80107D9C 00104CFC 38 BF 01 80 */ addi r5, r31, 0x180 +/* 80107DA0 00104D00 48 20 B4 D9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80107DA4 00104D04 7C 64 1B 78 */ mr r4, r3 +/* 80107DA8 00104D08 38 61 03 68 */ addi r3, r1, 0x368 +/* 80107DAC 00104D0C 38 A1 02 E4 */ addi r5, r1, 0x2e4 +/* 80107DB0 00104D10 48 20 AB A1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80107DB4 00104D14 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 80107DB8 00104D18 38 81 03 68 */ addi r4, r1, 0x368 +/* 80107DBC 00104D1C 48 1B C9 7D */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f +/* 80107DC0 00104D20 FC 20 F8 90 */ fmr f1, f31 +/* 80107DC4 00104D24 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) +/* 80107DC8 00104D28 FC 60 F8 90 */ fmr f3, f31 +/* 80107DCC 00104D2C 38 61 02 30 */ addi r3, r1, 0x230 +/* 80107DD0 00104D30 48 20 B4 39 */ bl Scale__12CTransform4fFfff +/* 80107DD4 00104D34 38 61 02 60 */ addi r3, r1, 0x260 +/* 80107DD8 00104D38 38 9F 01 70 */ addi r4, r31, 0x170 +/* 80107DDC 00104D3C 48 20 A2 B1 */ bl BuildTransform__11CQuaternionCFv +/* 80107DE0 00104D40 38 61 02 84 */ addi r3, r1, 0x284 +/* 80107DE4 00104D44 38 81 02 60 */ addi r4, r1, 0x260 +/* 80107DE8 00104D48 38 BF 01 80 */ addi r5, r31, 0x180 +/* 80107DEC 00104D4C 48 20 B4 8D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80107DF0 00104D50 7C 64 1B 78 */ mr r4, r3 +/* 80107DF4 00104D54 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 80107DF8 00104D58 38 A1 02 30 */ addi r5, r1, 0x230 +/* 80107DFC 00104D5C 48 20 AB 55 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80107E00 00104D60 38 7F 01 8C */ addi r3, r31, 0x18c +/* 80107E04 00104D64 38 81 02 B4 */ addi r4, r1, 0x2b4 +/* 80107E08 00104D68 48 20 AD 39 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80107E0C 00104D6C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80107E10 00104D70 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 80107E14 00104D74 38 84 00 24 */ addi r4, r4, 0x24 +/* 80107E18 00104D78 48 1C 2A 55 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80107E1C 00104D7C 48 00 01 F4 */ b lbl_80108010 +lbl_80107E20: +/* 80107E20 00104D80 38 80 00 00 */ li r4, 0 +/* 80107E24 00104D84 4B F8 DF 01 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState +/* 80107E28 00104D88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80107E2C 00104D8C 41 82 00 50 */ beq lbl_80107E7C +/* 80107E30 00104D90 38 61 01 DC */ addi r3, r1, 0x1dc +/* 80107E34 00104D94 38 9F 01 54 */ addi r4, r31, 0x154 +/* 80107E38 00104D98 48 20 A2 55 */ bl BuildTransform__11CQuaternionCFv +/* 80107E3C 00104D9C 38 61 02 00 */ addi r3, r1, 0x200 +/* 80107E40 00104DA0 38 81 01 DC */ addi r4, r1, 0x1dc +/* 80107E44 00104DA4 38 BF 01 64 */ addi r5, r31, 0x164 +/* 80107E48 00104DA8 48 20 B4 31 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80107E4C 00104DAC 7C 64 1B 78 */ mr r4, r3 +/* 80107E50 00104DB0 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 80107E54 00104DB4 48 1B C8 E5 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f +/* 80107E58 00104DB8 80 9F 01 48 */ lwz r4, 0x148(r31) +/* 80107E5C 00104DBC 38 7F 01 8C */ addi r3, r31, 0x18c +/* 80107E60 00104DC0 38 84 00 34 */ addi r4, r4, 0x34 +/* 80107E64 00104DC4 48 20 AC DD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80107E68 00104DC8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 80107E6C 00104DCC 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 80107E70 00104DD0 38 84 00 38 */ addi r4, r4, 0x38 +/* 80107E74 00104DD4 48 1C 29 F9 */ bl SetColor__10CGuiWidgetFRC6CColor +/* 80107E78 00104DD8 48 00 01 98 */ b lbl_80108010 +lbl_80107E7C: +/* 80107E7C 00104DDC 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80107E80 00104DE0 80 03 01 C0 */ lwz r0, 0x1c0(r3) +/* 80107E84 00104DE4 2C 00 00 00 */ cmpwi r0, 0 +/* 80107E88 00104DE8 41 82 00 24 */ beq lbl_80107EAC +/* 80107E8C 00104DEC C0 23 01 C4 */ lfs f1, 0x1c4(r3) +/* 80107E90 00104DF0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 80107E94 00104DF4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80107E98 00104DF8 40 81 00 0C */ ble lbl_80107EA4 +/* 80107E9C 00104DFC C0 03 01 C8 */ lfs f0, 0x1c8(r3) +/* 80107EA0 00104E00 EC 00 08 24 */ fdivs f0, f0, f1 +lbl_80107EA4: +/* 80107EA4 00104E04 FF 80 00 90 */ fmr f28, f0 +/* 80107EA8 00104E08 48 00 00 24 */ b lbl_80107ECC +lbl_80107EAC: +/* 80107EAC 00104E0C C0 43 01 C4 */ lfs f2, 0x1c4(r3) +/* 80107EB0 00104E10 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80107EB4 00104E14 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80107EB8 00104E18 40 81 00 0C */ ble lbl_80107EC4 +/* 80107EBC 00104E1C C0 03 01 C8 */ lfs f0, 0x1c8(r3) +/* 80107EC0 00104E20 EC 20 10 24 */ fdivs f1, f0, f2 +lbl_80107EC4: +/* 80107EC4 00104E24 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) +/* 80107EC8 00104E28 EF 80 08 28 */ fsubs f28, f0, f1 +lbl_80107ECC: +/* 80107ECC 00104E2C FC 20 E0 90 */ fmr f1, f28 +/* 80107ED0 00104E30 38 61 00 10 */ addi r3, r1, 0x10 +/* 80107ED4 00104E34 38 9F 01 54 */ addi r4, r31, 0x154 +/* 80107ED8 00104E38 38 BF 01 70 */ addi r5, r31, 0x170 +/* 80107EDC 00104E3C 48 20 9E 1D */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 80107EE0 00104E40 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) +/* 80107EE4 00104E44 38 61 01 28 */ addi r3, r1, 0x128 +/* 80107EE8 00104E48 C0 A1 00 10 */ lfs f5, 0x10(r1) +/* 80107EEC 00104E4C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80107EF0 00104E50 EC 1F 10 28 */ fsubs f0, f31, f2 +/* 80107EF4 00104E54 C0 81 00 18 */ lfs f4, 0x18(r1) +/* 80107EF8 00104E58 ED 22 E0 28 */ fsubs f9, f2, f28 +/* 80107EFC 00104E5C C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80107F00 00104E60 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80107F04 00104E64 EC 3C 10 3A */ fmadds f1, f28, f0, f2 +/* 80107F08 00104E68 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80107F0C 00104E6C FC 60 08 90 */ fmr f3, f1 +/* 80107F10 00104E70 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 80107F14 00104E74 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 80107F18 00104E78 C0 BF 01 84 */ lfs f5, 0x184(r31) +/* 80107F1C 00104E7C C0 1F 01 80 */ lfs f0, 0x180(r31) +/* 80107F20 00104E80 C0 9F 01 88 */ lfs f4, 0x188(r31) +/* 80107F24 00104E84 EC E5 07 32 */ fmuls f7, f5, f28 +/* 80107F28 00104E88 C1 1F 01 68 */ lfs f8, 0x168(r31) +/* 80107F2C 00104E8C EC 00 07 32 */ fmuls f0, f0, f28 +/* 80107F30 00104E90 EC A4 07 32 */ fmuls f5, f4, f28 +/* 80107F34 00104E94 C0 DF 01 6C */ lfs f6, 0x16c(r31) +/* 80107F38 00104E98 C0 9F 01 64 */ lfs f4, 0x164(r31) +/* 80107F3C 00104E9C EC E8 3A 7A */ fmadds f7, f8, f9, f7 +/* 80107F40 00104EA0 EC A6 2A 7A */ fmadds f5, f6, f9, f5 +/* 80107F44 00104EA4 EC 04 02 7A */ fmadds f0, f4, f9, f0 +/* 80107F48 00104EA8 D0 E1 00 44 */ stfs f7, 0x44(r1) +/* 80107F4C 00104EAC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80107F50 00104EB0 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 80107F54 00104EB4 48 20 B2 B5 */ bl Scale__12CTransform4fFfff +/* 80107F58 00104EB8 38 61 01 58 */ addi r3, r1, 0x158 +/* 80107F5C 00104EBC 38 81 00 4C */ addi r4, r1, 0x4c +/* 80107F60 00104EC0 48 20 A1 2D */ bl BuildTransform__11CQuaternionCFv +/* 80107F64 00104EC4 38 61 01 7C */ addi r3, r1, 0x17c +/* 80107F68 00104EC8 38 81 01 58 */ addi r4, r1, 0x158 +/* 80107F6C 00104ECC 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80107F70 00104ED0 48 20 B3 09 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80107F74 00104ED4 7C 64 1B 78 */ mr r4, r3 +/* 80107F78 00104ED8 38 61 01 AC */ addi r3, r1, 0x1ac +/* 80107F7C 00104EDC 38 A1 01 28 */ addi r5, r1, 0x128 +/* 80107F80 00104EE0 48 20 A9 D1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80107F84 00104EE4 38 7F 01 8C */ addi r3, r31, 0x18c +/* 80107F88 00104EE8 38 81 01 AC */ addi r4, r1, 0x1ac +/* 80107F8C 00104EEC 48 20 AB B5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80107F90 00104EF0 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) +/* 80107F94 00104EF4 38 61 00 74 */ addi r3, r1, 0x74 +/* 80107F98 00104EF8 EC 3E 10 28 */ fsubs f1, f30, f2 +/* 80107F9C 00104EFC EC 1D 10 28 */ fsubs f0, f29, f2 +/* 80107FA0 00104F00 EC 3C 10 7A */ fmadds f1, f28, f1, f2 +/* 80107FA4 00104F04 EC 7C 10 3A */ fmadds f3, f28, f0, f2 +/* 80107FA8 00104F08 48 20 B2 61 */ bl Scale__12CTransform4fFfff +/* 80107FAC 00104F0C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80107FB0 00104F10 38 81 00 4C */ addi r4, r1, 0x4c +/* 80107FB4 00104F14 48 20 A0 D9 */ bl BuildTransform__11CQuaternionCFv +/* 80107FB8 00104F18 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80107FBC 00104F1C 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 80107FC0 00104F20 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80107FC4 00104F24 48 20 B2 B5 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 80107FC8 00104F28 7C 64 1B 78 */ mr r4, r3 +/* 80107FCC 00104F2C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80107FD0 00104F30 38 A1 00 74 */ addi r5, r1, 0x74 +/* 80107FD4 00104F34 48 20 A9 7D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80107FD8 00104F38 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 80107FDC 00104F3C 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80107FE0 00104F40 48 1B C7 59 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f +/* 80107FE4 00104F44 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) +/* 80107FE8 00104F48 FC 20 E0 90 */ fmr f1, f28 +/* 80107FEC 00104F4C 38 61 00 08 */ addi r3, r1, 8 +/* 80107FF0 00104F50 38 85 00 38 */ addi r4, r5, 0x38 +/* 80107FF4 00104F54 38 A5 00 24 */ addi r5, r5, 0x24 +/* 80107FF8 00104F58 48 25 B2 B5 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80107FFC 00104F5C 80 01 00 08 */ lwz r0, 8(r1) +/* 80108000 00104F60 38 81 00 0C */ addi r4, r1, 0xc +/* 80108004 00104F64 90 01 00 0C */ stw r0, 0xc(r1) +/* 80108008 00104F68 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 8010800C 00104F6C 48 1C 28 61 */ bl SetColor__10CGuiWidgetFRC6CColor +lbl_80108010: +/* 80108010 00104F70 E3 E1 04 38 */ psq_l f31, 1080(r1), 0, qr0 +/* 80108014 00104F74 CB E1 04 30 */ lfd f31, 0x430(r1) +/* 80108018 00104F78 E3 C1 04 28 */ psq_l f30, 1064(r1), 0, qr0 +/* 8010801C 00104F7C CB C1 04 20 */ lfd f30, 0x420(r1) +/* 80108020 00104F80 E3 A1 04 18 */ psq_l f29, 1048(r1), 0, qr0 +/* 80108024 00104F84 CB A1 04 10 */ lfd f29, 0x410(r1) +/* 80108028 00104F88 E3 81 04 08 */ psq_l f28, 1032(r1), 0, qr0 +/* 8010802C 00104F8C CB 81 04 00 */ lfd f28, 0x400(r1) +/* 80108030 00104F90 83 E1 03 FC */ lwz r31, 0x3fc(r1) +/* 80108034 00104F94 80 01 04 44 */ lwz r0, 0x444(r1) +/* 80108038 00104F98 83 C1 03 F8 */ lwz r30, 0x3f8(r1) +/* 8010803C 00104F9C 7C 08 03 A6 */ mtlr r0 +/* 80108040 00104FA0 38 21 04 40 */ addi r1, r1, 0x440 +/* 80108044 00104FA4 4E 80 00 20 */ blr + +.global Update__17CInGameGuiManagerFRC13CStateManagerfR18CArchitectureQueueb +Update__17CInGameGuiManagerFRC13CStateManagerfR18CArchitectureQueueb: +/* 80108048 00104FA8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8010804C 00104FAC 7C 08 02 A6 */ mflr r0 +/* 80108050 00104FB0 90 01 00 94 */ stw r0, 0x94(r1) +/* 80108054 00104FB4 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80108058 00104FB8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8010805C 00104FBC DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80108060 00104FC0 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80108064 00104FC4 BF 21 00 54 */ stmw r25, 0x54(r1) +/* 80108068 00104FC8 FF E0 08 90 */ fmr f31, f1 +/* 8010806C 00104FCC 7C 7C 1B 78 */ mr r28, r3 +/* 80108070 00104FD0 7C 9D 23 78 */ mr r29, r4 +/* 80108074 00104FD4 7C BE 2B 78 */ mr r30, r5 +/* 80108078 00104FD8 7C DF 33 78 */ mr r31, r6 +/* 8010807C 00104FDC 4B FF F3 91 */ bl EnsureStates__17CInGameGuiManagerFR13CStateManager +/* 80108080 00104FE0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80108084 00104FE4 C0 1C 01 D8 */ lfs f0, 0x1d8(r28) +/* 80108088 00104FE8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010808C 00104FEC 40 82 00 30 */ bne lbl_801080BC +/* 80108090 00104FF0 83 7C 01 DC */ lwz r27, 0x1dc(r28) +/* 80108094 00104FF4 28 1B 00 00 */ cmplwi r27, 0 +/* 80108098 00104FF8 41 82 00 1C */ beq lbl_801080B4 +/* 8010809C 00104FFC 41 82 00 10 */ beq lbl_801080AC +/* 801080A0 00105000 7F 63 DB 78 */ mr r3, r27 +/* 801080A4 00105004 38 80 00 00 */ li r4, 0 +/* 801080A8 00105008 48 23 8D 99 */ bl __dt__6CTokenFv +lbl_801080AC: +/* 801080AC 0010500C 7F 63 DB 78 */ mr r3, r27 +/* 801080B0 00105010 48 20 D8 81 */ bl Free__7CMemoryFPCv +lbl_801080B4: +/* 801080B4 00105014 38 00 00 00 */ li r0, 0 +/* 801080B8 00105018 90 1C 01 DC */ stw r0, 0x1dc(r28) +lbl_801080BC: +/* 801080BC 0010501C 80 7D 0E F4 */ lwz r3, 0xef4(r29) +/* 801080C0 00105020 80 9C 01 C4 */ lwz r4, 0x1c4(r28) +/* 801080C4 00105024 7C 03 20 40 */ cmplw r3, r4 +/* 801080C8 00105028 41 82 01 84 */ beq lbl_8010824C +/* 801080CC 0010502C 80 1C 01 DC */ lwz r0, 0x1dc(r28) +/* 801080D0 00105030 28 00 00 00 */ cmplwi r0, 0 +/* 801080D4 00105034 40 82 00 F4 */ bne lbl_801081C8 +/* 801080D8 00105038 90 7C 01 C4 */ stw r3, 0x1c4(r28) +/* 801080DC 0010503C 80 1D 0E F8 */ lwz r0, 0xef8(r29) +/* 801080E0 00105040 90 1C 01 C8 */ stw r0, 0x1c8(r28) +/* 801080E4 00105044 80 1D 0E FC */ lwz r0, 0xefc(r29) +/* 801080E8 00105048 90 1C 01 CC */ stw r0, 0x1cc(r28) +/* 801080EC 0010504C 80 1D 0F 00 */ lwz r0, 0xf00(r29) +/* 801080F0 00105050 90 1C 01 D0 */ stw r0, 0x1d0(r28) +/* 801080F4 00105054 80 1D 0F 04 */ lwz r0, 0xf04(r29) +/* 801080F8 00105058 90 1C 01 D4 */ stw r0, 0x1d4(r28) +/* 801080FC 0010505C 80 7C 01 C4 */ lwz r3, 0x1c4(r28) +/* 80108100 00105060 3C 03 00 01 */ addis r0, r3, 1 +/* 80108104 00105064 28 00 FF FF */ cmplwi r0, 0xffff +/* 80108108 00105068 41 82 01 DC */ beq lbl_801082E4 +/* 8010810C 0010506C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 80108110 00105070 3B 20 00 00 */ li r25, 0 +/* 80108114 00105074 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l +/* 80108118 00105078 38 60 00 0C */ li r3, 0xc +/* 8010811C 0010507C 38 84 02 AC */ addi r4, r4, 0x2ac +/* 80108120 00105080 38 A0 00 00 */ li r5, 0 +/* 80108124 00105084 48 20 D7 49 */ bl __nw__FUlPCcPCc +/* 80108128 00105088 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8010812C 0010508C 41 82 00 4C */ beq lbl_80108178 +/* 80108130 00105090 80 DC 01 C4 */ lwz r6, 0x1c4(r28) +/* 80108134 00105094 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 80108138 00105098 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 8010813C 0010509C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80108140 001050A0 90 01 00 40 */ stw r0, 0x40(r1) +/* 80108144 001050A4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80108148 001050A8 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8010814C 001050AC 90 C1 00 44 */ stw r6, 0x44(r1) +/* 80108150 001050B0 81 84 00 00 */ lwz r12, 0(r4) +/* 80108154 001050B4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80108158 001050B8 7D 89 03 A6 */ mtctr r12 +/* 8010815C 001050BC 4E 80 04 21 */ bctrl +/* 80108160 001050C0 7F 63 DB 78 */ mr r3, r27 +/* 80108164 001050C4 38 81 00 38 */ addi r4, r1, 0x38 +/* 80108168 001050C8 3B 20 00 01 */ li r25, 1 +/* 8010816C 001050CC 48 23 8D 3D */ bl __ct__6CTokenFRC6CToken +/* 80108170 001050D0 38 00 00 00 */ li r0, 0 +/* 80108174 001050D4 90 1B 00 08 */ stw r0, 8(r27) +lbl_80108178: +/* 80108178 001050D8 83 5C 01 DC */ lwz r26, 0x1dc(r28) +/* 8010817C 001050DC 28 1A 00 00 */ cmplwi r26, 0 +/* 80108180 001050E0 41 82 00 1C */ beq lbl_8010819C +/* 80108184 001050E4 41 82 00 10 */ beq lbl_80108194 +/* 80108188 001050E8 7F 43 D3 78 */ mr r3, r26 +/* 8010818C 001050EC 38 80 00 00 */ li r4, 0 +/* 80108190 001050F0 48 23 8C B1 */ bl __dt__6CTokenFv +lbl_80108194: +/* 80108194 001050F4 7F 43 D3 78 */ mr r3, r26 +/* 80108198 001050F8 48 20 D7 99 */ bl Free__7CMemoryFPCv +lbl_8010819C: +/* 8010819C 001050FC 7F 20 07 75 */ extsb. r0, r25 +/* 801081A0 00105100 93 7C 01 DC */ stw r27, 0x1dc(r28) +/* 801081A4 00105104 41 82 00 10 */ beq lbl_801081B4 +/* 801081A8 00105108 38 61 00 38 */ addi r3, r1, 0x38 +/* 801081AC 0010510C 38 80 FF FF */ li r4, -1 +/* 801081B0 00105110 48 23 8C 91 */ bl __dt__6CTokenFv +lbl_801081B4: +/* 801081B4 00105114 80 7C 01 DC */ lwz r3, 0x1dc(r28) +/* 801081B8 00105118 48 23 8B CD */ bl Lock__6CTokenFv +/* 801081BC 0010511C C0 02 94 98 */ lfs f0, lbl_805AB1B8@sda21(r2) +/* 801081C0 00105120 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) +/* 801081C4 00105124 48 00 01 20 */ b lbl_801082E4 +lbl_801081C8: +/* 801081C8 00105128 3C 03 00 01 */ addis r0, r3, 1 +/* 801081CC 0010512C 28 00 FF FF */ cmplwi r0, 0xffff +/* 801081D0 00105130 40 82 00 4C */ bne lbl_8010821C +/* 801081D4 00105134 38 61 00 30 */ addi r3, r1, 0x30 +/* 801081D8 00105138 38 80 00 00 */ li r4, 0 +/* 801081DC 0010513C 38 A0 00 00 */ li r5, 0 +/* 801081E0 00105140 48 20 C1 6D */ bl __ct__9CVector2iFii +/* 801081E4 00105144 7C 64 1B 78 */ mr r4, r3 +/* 801081E8 00105148 38 7D 0E F8 */ addi r3, r29, 0xef8 +/* 801081EC 0010514C 48 20 C0 C1 */ bl __eq__FRC9CVector2iRC9CVector2i +/* 801081F0 00105150 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801081F4 00105154 41 82 00 28 */ beq lbl_8010821C +/* 801081F8 00105158 80 7D 0E F8 */ lwz r3, 0xef8(r29) +/* 801081FC 0010515C 38 00 FF FF */ li r0, -1 +/* 80108200 00105160 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 80108204 00105164 90 7C 01 C8 */ stw r3, 0x1c8(r28) +/* 80108208 00105168 80 7D 0E FC */ lwz r3, 0xefc(r29) +/* 8010820C 0010516C 90 7C 01 CC */ stw r3, 0x1cc(r28) +/* 80108210 00105170 90 1C 01 C4 */ stw r0, 0x1c4(r28) +/* 80108214 00105174 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) +/* 80108218 00105178 48 00 00 CC */ b lbl_801082E4 +lbl_8010821C: +/* 8010821C 0010517C C0 3C 01 D8 */ lfs f1, 0x1d8(r28) +/* 80108220 00105180 C0 0D 89 FC */ lfs f0, lbl_805A75BC@sda21(r13) +/* 80108224 00105184 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 80108228 00105188 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8010822C 0010518C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80108230 00105190 40 80 00 0C */ bge lbl_8010823C +/* 80108234 00105194 38 61 00 24 */ addi r3, r1, 0x24 +/* 80108238 00105198 48 00 00 08 */ b lbl_80108240 +lbl_8010823C: +/* 8010823C 0010519C 38 6D 89 FC */ addi r3, r13, lbl_805A75BC@sda21 +lbl_80108240: +/* 80108240 001051A0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80108244 001051A4 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) +/* 80108248 001051A8 48 00 00 9C */ b lbl_801082E4 +lbl_8010824C: +/* 8010824C 001051AC 3C 04 00 01 */ addis r0, r4, 1 +/* 80108250 001051B0 28 00 FF FF */ cmplwi r0, 0xffff +/* 80108254 001051B4 41 82 00 90 */ beq lbl_801082E4 +/* 80108258 001051B8 83 5C 01 DC */ lwz r26, 0x1dc(r28) +/* 8010825C 001051BC 28 1A 00 00 */ cmplwi r26, 0 +/* 80108260 001051C0 41 82 00 84 */ beq lbl_801082E4 +/* 80108264 001051C4 80 1A 00 08 */ lwz r0, 8(r26) +/* 80108268 001051C8 28 00 00 00 */ cmplwi r0, 0 +/* 8010826C 001051CC 41 82 00 0C */ beq lbl_80108278 +/* 80108270 001051D0 38 60 00 01 */ li r3, 1 +/* 80108274 001051D4 48 00 00 3C */ b lbl_801082B0 +lbl_80108278: +/* 80108278 001051D8 88 1A 00 04 */ lbz r0, 4(r26) +/* 8010827C 001051DC 28 00 00 00 */ cmplwi r0, 0 +/* 80108280 001051E0 41 82 00 2C */ beq lbl_801082AC +/* 80108284 001051E4 80 7A 00 00 */ lwz r3, 0(r26) +/* 80108288 001051E8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8010828C 001051EC 28 00 00 00 */ cmplwi r0, 0 +/* 80108290 001051F0 41 82 00 1C */ beq lbl_801082AC +/* 80108294 001051F4 7F 43 D3 78 */ mr r3, r26 +/* 80108298 001051F8 48 23 8B 75 */ bl GetObj__6CTokenFv +/* 8010829C 001051FC 80 03 00 04 */ lwz r0, 4(r3) +/* 801082A0 00105200 38 60 00 01 */ li r3, 1 +/* 801082A4 00105204 90 1A 00 08 */ stw r0, 8(r26) +/* 801082A8 00105208 48 00 00 08 */ b lbl_801082B0 +lbl_801082AC: +/* 801082AC 0010520C 38 60 00 00 */ li r3, 0 +lbl_801082B0: +/* 801082B0 00105210 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801082B4 00105214 41 82 00 30 */ beq lbl_801082E4 +/* 801082B8 00105218 C0 3C 01 D8 */ lfs f1, 0x1d8(r28) +/* 801082BC 0010521C C0 0D 8A 00 */ lfs f0, lbl_805A75C0@sda21(r13) +/* 801082C0 00105220 EC 21 F8 2A */ fadds f1, f1, f31 +/* 801082C4 00105224 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801082C8 00105228 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 801082CC 0010522C 40 80 00 0C */ bge lbl_801082D8 +/* 801082D0 00105230 38 61 00 20 */ addi r3, r1, 0x20 +/* 801082D4 00105234 48 00 00 08 */ b lbl_801082DC +lbl_801082D8: +/* 801082D8 00105238 38 6D 8A 00 */ addi r3, r13, lbl_805A75C0@sda21 +lbl_801082DC: +/* 801082DC 0010523C C0 03 00 00 */ lfs f0, 0(r3) +/* 801082E0 00105240 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) +lbl_801082E4: +/* 801082E4 00105244 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 801082E8 00105248 41 82 00 C0 */ beq lbl_801083A8 +/* 801082EC 0010524C 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 801082F0 00105250 C0 1C 01 F4 */ lfs f0, 0x1f4(r28) +/* 801082F4 00105254 C3 C3 07 4C */ lfs f30, 0x74c(r3) +/* 801082F8 00105258 FC 1E 00 00 */ fcmpu cr0, f30, f0 +/* 801082FC 0010525C 41 82 00 A8 */ beq lbl_801083A4 +/* 80108300 00105260 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80108304 00105264 7F A4 EB 78 */ mr r4, r29 +/* 80108308 00105268 4B F0 38 11 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8010830C 0010526C 7C 64 1B 78 */ mr r4, r3 +/* 80108310 00105270 38 61 00 28 */ addi r3, r1, 0x28 +/* 80108314 00105274 4B FA 61 61 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" +/* 80108318 00105278 80 03 00 04 */ lwz r0, 4(r3) +/* 8010831C 0010527C 28 00 00 00 */ cmplwi r0, 0 +/* 80108320 00105280 41 82 00 84 */ beq lbl_801083A4 +/* 80108324 00105284 C0 5C 01 F4 */ lfs f2, 0x1f4(r28) +/* 80108328 00105288 C0 02 94 80 */ lfs f0, lbl_805AB1A0@sda21(r2) +/* 8010832C 0010528C EC 3E 10 28 */ fsubs f1, f30, f2 +/* 80108330 00105290 FC 20 0A 10 */ fabs f1, f1 +/* 80108334 00105294 FC 20 08 18 */ frsp f1, f1 +/* 80108338 00105298 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010833C 0010529C 40 80 00 68 */ bge lbl_801083A4 +/* 80108340 001052A0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 80108344 001052A4 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 80108348 001052A8 40 82 00 2C */ bne lbl_80108374 +/* 8010834C 001052AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80108350 001052B0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80108354 001052B4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80108358 001052B8 38 80 05 79 */ li r4, 0x579 +/* 8010835C 001052BC 38 A0 00 7F */ li r5, 0x7f +/* 80108360 001052C0 38 C0 00 40 */ li r6, 0x40 +/* 80108364 001052C4 38 E0 00 00 */ li r7, 0 +/* 80108368 001052C8 39 20 00 00 */ li r9, 0 +/* 8010836C 001052CC 48 1E 1A 09 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80108370 001052D0 48 00 00 34 */ b lbl_801083A4 +lbl_80108374: +/* 80108374 001052D4 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) +/* 80108378 001052D8 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 8010837C 001052DC 40 82 00 28 */ bne lbl_801083A4 +/* 80108380 001052E0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80108384 001052E4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80108388 001052E8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8010838C 001052EC 38 80 05 78 */ li r4, 0x578 +/* 80108390 001052F0 38 A0 00 7F */ li r5, 0x7f +/* 80108394 001052F4 38 C0 00 40 */ li r6, 0x40 +/* 80108398 001052F8 38 E0 00 00 */ li r7, 0 +/* 8010839C 001052FC 39 20 00 00 */ li r9, 0 +/* 801083A0 00105300 48 1E 19 D5 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_801083A4: +/* 801083A4 00105304 D3 DC 01 F4 */ stfs f30, 0x1f4(r28) +lbl_801083A8: +/* 801083A8 00105308 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 801083AC 0010530C 41 82 00 14 */ beq lbl_801083C0 +/* 801083B0 00105310 FC 20 F8 90 */ fmr f1, f31 +/* 801083B4 00105314 7F A4 EB 78 */ mr r4, r29 +/* 801083B8 00105318 38 7C 00 20 */ addi r3, r28, 0x20 +/* 801083BC 0010531C 48 06 D7 F5 */ bl Update__20CFaceplateDecorationFfRC13CStateManager +lbl_801083C0: +/* 801083C0 00105320 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 801083C4 00105324 41 82 00 18 */ beq lbl_801083DC +/* 801083C8 00105328 FC 20 F8 90 */ fmr f1, f31 +/* 801083CC 0010532C 80 7C 00 40 */ lwz r3, 0x40(r28) +/* 801083D0 00105330 7F A4 EB 78 */ mr r4, r29 +/* 801083D4 00105334 38 BC 00 1C */ addi r5, r28, 0x1c +/* 801083D8 00105338 48 05 2E A5 */ bl Update__20CSamusFaceReflectionFfRC13CStateManagerR9CRandom16 +lbl_801083DC: +/* 801083DC 0010533C 80 1C 01 F0 */ lwz r0, 0x1f0(r28) +/* 801083E0 00105340 28 00 00 00 */ cmplwi r0, 0 +/* 801083E4 00105344 41 82 00 1C */ beq lbl_80108400 +/* 801083E8 00105348 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 801083EC 0010534C 41 82 00 14 */ beq lbl_80108400 +/* 801083F0 00105350 FC 20 F8 90 */ fmr f1, f31 +/* 801083F4 00105354 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 801083F8 00105358 7F A4 EB 78 */ mr r4, r29 +/* 801083FC 0010535C 48 00 B7 C9 */ bl Update__12CPlayerVisorFfRC13CStateManager +lbl_80108400: +/* 80108400 00105360 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80108404 00105364 41 82 00 44 */ beq lbl_80108448 +/* 80108408 00105368 88 1C 01 F8 */ lbz r0, 0x1f8(r28) +/* 8010840C 0010536C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80108410 00105370 41 82 00 38 */ beq lbl_80108448 +/* 80108414 00105374 80 FC 01 EC */ lwz r7, 0x1ec(r28) +/* 80108418 00105378 FC 20 F8 90 */ fmr f1, f31 +/* 8010841C 0010537C 80 DC 01 E4 */ lwz r6, 0x1e4(r28) +/* 80108420 00105380 7F A4 EB 78 */ mr r4, r29 +/* 80108424 00105384 7C A7 00 D0 */ neg r5, r7 +/* 80108428 00105388 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 8010842C 0010538C 7C 06 00 D0 */ neg r0, r6 +/* 80108430 00105390 7C A7 3B 78 */ or r7, r5, r7 +/* 80108434 00105394 80 BC 01 E0 */ lwz r5, 0x1e0(r28) +/* 80108438 00105398 7C 00 33 78 */ or r0, r0, r6 +/* 8010843C 0010539C 54 E6 0F FE */ srwi r6, r7, 0x1f +/* 80108440 001053A0 54 07 0F FE */ srwi r7, r0, 0x1f +/* 80108444 001053A4 4B F5 DF 3D */ bl Update__9CSamusHudFfRC13CStateManagerUibb +lbl_80108448: +/* 80108448 001053A8 80 1C 01 E8 */ lwz r0, 0x1e8(r28) +/* 8010844C 001053AC 28 00 00 00 */ cmplwi r0, 0 +/* 80108450 001053B0 41 82 00 14 */ beq lbl_80108464 +/* 80108454 001053B4 FC 20 F8 90 */ fmr f1, f31 +/* 80108458 001053B8 7F 83 E3 78 */ mr r3, r28 +/* 8010845C 001053BC 7F A4 EB 78 */ mr r4, r29 +/* 80108460 001053C0 4B FF F7 25 */ bl UpdateAutoMapper__17CInGameGuiManagerFR13CStateManagerf +lbl_80108464: +/* 80108464 001053C4 80 1C 01 40 */ lwz r0, 0x140(r28) +/* 80108468 001053C8 FC 20 F8 90 */ fmr f1, f31 +/* 8010846C 001053CC 80 7C 00 3C */ lwz r3, 0x3c(r28) +/* 80108470 001053D0 7F A4 EB 78 */ mr r4, r29 +/* 80108474 001053D4 7C 00 00 34 */ cntlzw r0, r0 +/* 80108478 001053D8 54 05 D9 7E */ srwi r5, r0, 5 +/* 8010847C 001053DC 48 15 53 F9 */ bl Update__16CPauseScreenBlurfRC13CStateManagerb +/* 80108480 001053E0 80 7C 00 4C */ lwz r3, 0x4c(r28) +/* 80108484 001053E4 28 03 00 00 */ cmplwi r3, 0 +/* 80108488 001053E8 41 82 00 3C */ beq lbl_801084C4 +/* 8010848C 001053EC FC 20 F8 90 */ fmr f1, f31 +/* 80108490 001053F0 48 14 73 0D */ bl Update__15CSaveGameScreenFf +/* 80108494 001053F4 2C 03 00 00 */ cmpwi r3, 0 +/* 80108498 001053F8 41 82 00 6C */ beq lbl_80108504 +/* 8010849C 001053FC 20 63 00 01 */ subfic r3, r3, 1 +/* 801084A0 00105400 88 1C 01 F8 */ lbz r0, 0x1f8(r28) +/* 801084A4 00105404 7C 64 00 34 */ cntlzw r4, r3 +/* 801084A8 00105408 7F A5 EB 78 */ mr r5, r29 +/* 801084AC 0010540C 50 80 FE F6 */ rlwimi r0, r4, 0x1f, 0x1b, 0x1b +/* 801084B0 00105410 7F 83 E3 78 */ mr r3, r28 +/* 801084B4 00105414 98 1C 01 F8 */ stb r0, 0x1f8(r28) +/* 801084B8 00105418 38 80 00 01 */ li r4, 1 +/* 801084BC 0010541C 4B FF F1 85 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager +/* 801084C0 00105420 48 00 00 44 */ b lbl_80108504 +lbl_801084C4: +/* 801084C4 00105424 80 1C 00 44 */ lwz r0, 0x44(r28) +/* 801084C8 00105428 28 00 00 00 */ cmplwi r0, 0 +/* 801084CC 0010542C 41 82 00 38 */ beq lbl_80108504 +/* 801084D0 00105430 80 7C 00 3C */ lwz r3, 0x3c(r28) +/* 801084D4 00105434 48 15 50 E1 */ bl GetBlurAmt__16CPauseScreenBlurCFv +/* 801084D8 00105438 FC 00 08 90 */ fmr f0, f1 +/* 801084DC 0010543C 80 7C 00 44 */ lwz r3, 0x44(r28) +/* 801084E0 00105440 FC 20 F8 90 */ fmr f1, f31 +/* 801084E4 00105444 FC 40 00 90 */ fmr f2, f0 +/* 801084E8 00105448 48 0E 72 BD */ bl Update__14CMessageScreenFf +/* 801084EC 0010544C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801084F0 00105450 40 82 00 14 */ bne lbl_80108504 +/* 801084F4 00105454 7F 83 E3 78 */ mr r3, r28 +/* 801084F8 00105458 7F A5 EB 78 */ mr r5, r29 +/* 801084FC 0010545C 38 80 00 01 */ li r4, 1 +/* 80108500 00105460 4B FF F1 41 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager +lbl_80108504: +/* 80108504 00105464 80 7C 00 48 */ lwz r3, 0x48(r28) +/* 80108508 00105468 28 03 00 00 */ cmplwi r3, 0 +/* 8010850C 0010546C 41 82 00 6C */ beq lbl_80108578 +/* 80108510 00105470 FC 20 F8 90 */ fmr f1, f31 +/* 80108514 00105474 7F A4 EB 78 */ mr r4, r29 +/* 80108518 00105478 7F C6 F3 78 */ mr r6, r30 +/* 8010851C 0010547C 38 BC 00 1C */ addi r5, r28, 0x1c +/* 80108520 00105480 4B F6 AF ED */ bl Update__12CPauseScreenFfRC13CStateManagerR9CRandom16R18CArchitectureQueue +/* 80108524 00105484 80 7C 01 BC */ lwz r3, 0x1bc(r28) +/* 80108528 00105488 80 1C 01 C0 */ lwz r0, 0x1c0(r28) +/* 8010852C 0010548C 7C 03 00 00 */ cmpw r3, r0 +/* 80108530 00105490 40 82 00 48 */ bne lbl_80108578 +/* 80108534 00105494 80 7C 00 48 */ lwz r3, 0x48(r28) +/* 80108538 00105498 4B F6 A5 51 */ bl ShouldSwitchToMapScreen__12CPauseScreenCFv +/* 8010853C 0010549C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80108540 001054A0 41 82 00 18 */ beq lbl_80108558 +/* 80108544 001054A4 7F 83 E3 78 */ mr r3, r28 +/* 80108548 001054A8 7F A5 EB 78 */ mr r5, r29 +/* 8010854C 001054AC 38 80 00 02 */ li r4, 2 +/* 80108550 001054B0 4B FF F0 F1 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager +/* 80108554 001054B4 48 00 00 24 */ b lbl_80108578 +lbl_80108558: +/* 80108558 001054B8 80 7C 00 48 */ lwz r3, 0x48(r28) +/* 8010855C 001054BC 4B F6 A4 CD */ bl ShouldSwitchToInGame__12CPauseScreenCFv +/* 80108560 001054C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80108564 001054C4 41 82 00 14 */ beq lbl_80108578 +/* 80108568 001054C8 7F 83 E3 78 */ mr r3, r28 +/* 8010856C 001054CC 7F A5 EB 78 */ mr r5, r29 +/* 80108570 001054D0 38 80 00 01 */ li r4, 1 +/* 80108574 001054D4 4B FF F0 CD */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager +lbl_80108578: +/* 80108578 001054D8 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 8010857C 001054DC 4B F5 DD AD */ bl Touch__9CSamusHudCFv +/* 80108580 001054E0 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 80108584 001054E4 48 00 B5 3D */ bl Touch__12CPlayerVisorCFv +/* 80108588 001054E8 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 8010858C 001054EC 4B F5 D3 95 */ bl GetTargetingManager__9CSamusHudCFv +/* 80108590 001054F0 4B FB 44 B1 */ bl Touch__17CTargetingManagerCFv +/* 80108594 001054F4 80 7C 01 BC */ lwz r3, 0x1bc(r28) +/* 80108598 001054F8 80 1C 01 C0 */ lwz r0, 0x1c0(r28) +/* 8010859C 001054FC 7C 03 00 00 */ cmpw r3, r0 +/* 801085A0 00105500 41 82 00 70 */ beq lbl_80108610 +/* 801085A4 00105504 80 7C 01 C0 */ lwz r3, 0x1c0(r28) +/* 801085A8 00105508 38 00 00 00 */ li r0, 0 +/* 801085AC 0010550C 2C 03 00 00 */ cmpwi r3, 0 +/* 801085B0 00105510 41 80 00 10 */ blt lbl_801085C0 +/* 801085B4 00105514 2C 03 00 01 */ cmpwi r3, 1 +/* 801085B8 00105518 41 81 00 08 */ bgt lbl_801085C0 +/* 801085BC 0010551C 38 00 00 01 */ li r0, 1 +lbl_801085C0: +/* 801085C0 00105520 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 801085C4 00105524 41 82 00 0C */ beq lbl_801085D0 +/* 801085C8 00105528 7F 83 E3 78 */ mr r3, r28 +/* 801085CC 0010552C 4B FF E5 61 */ bl TryReloadAreaTextures__17CInGameGuiManagerFv +lbl_801085D0: +/* 801085D0 00105530 80 9C 00 38 */ lwz r4, 0x38(r28) +/* 801085D4 00105534 80 64 01 BC */ lwz r3, 0x1bc(r4) +/* 801085D8 00105538 80 04 01 C0 */ lwz r0, 0x1c0(r4) +/* 801085DC 0010553C 7C 03 00 00 */ cmpw r3, r0 +/* 801085E0 00105540 41 82 00 10 */ beq lbl_801085F0 +/* 801085E4 00105544 80 1C 01 E8 */ lwz r0, 0x1e8(r28) +/* 801085E8 00105548 28 00 00 00 */ cmplwi r0, 0 +/* 801085EC 0010554C 40 82 00 24 */ bne lbl_80108610 +lbl_801085F0: +/* 801085F0 00105550 80 9C 00 3C */ lwz r4, 0x3c(r28) +/* 801085F4 00105554 80 64 00 10 */ lwz r3, 0x10(r4) +/* 801085F8 00105558 80 04 00 14 */ lwz r0, 0x14(r4) +/* 801085FC 0010555C 7C 03 00 00 */ cmpw r3, r0 +/* 80108600 00105560 40 82 00 10 */ bne lbl_80108610 +/* 80108604 00105564 7F 83 E3 78 */ mr r3, r28 +/* 80108608 00105568 7F C4 F3 78 */ mr r4, r30 +/* 8010860C 0010556C 4B FF F4 71 */ bl OnNewPauseScreenState__17CInGameGuiManagerFR18CArchitectureQueue +lbl_80108610: +/* 80108610 00105570 FC 20 F8 90 */ fmr f1, f31 +/* 80108614 00105574 38 7C 00 F8 */ addi r3, r28, 0xf8 +/* 80108618 00105578 4B FE 4C 05 */ bl Update__17CCameraFilterPassFf +/* 8010861C 0010557C 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 80108620 00105580 4B F0 22 E1 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80108624 00105584 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80108628 00105588 41 82 00 14 */ beq lbl_8010863C +/* 8010862C 0010558C C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) +/* 80108630 00105590 D0 1D 0F 2C */ stfs f0, 0xf2c(r29) +/* 80108634 00105594 D0 1D 0F 30 */ stfs f0, 0xf30(r29) +/* 80108638 00105598 48 00 00 7C */ b lbl_801086B4 +lbl_8010863C: +/* 8010863C 0010559C 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 80108640 001055A0 7F A4 EB 78 */ mr r4, r29 +/* 80108644 001055A4 48 00 BD 81 */ bl GetDesiredViewportScaleX__12CPlayerVisorCFRC13CStateManager +/* 80108648 001055A8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8010864C 001055AC FC 00 08 18 */ frsp f0, f1 +/* 80108650 001055B0 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 80108654 001055B4 C0 23 05 00 */ lfs f1, 0x500(r3) +/* 80108658 001055B8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8010865C 001055BC D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80108660 001055C0 40 80 00 0C */ bge lbl_8010866C +/* 80108664 001055C4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80108668 001055C8 48 00 00 08 */ b lbl_80108670 +lbl_8010866C: +/* 8010866C 001055CC 38 61 00 14 */ addi r3, r1, 0x14 +lbl_80108670: +/* 80108670 001055D0 C3 C3 00 00 */ lfs f30, 0(r3) +/* 80108674 001055D4 7F A4 EB 78 */ mr r4, r29 +/* 80108678 001055D8 80 7C 00 30 */ lwz r3, 0x30(r28) +/* 8010867C 001055DC 48 00 BD 01 */ bl GetDesiredViewportScaleY__12CPlayerVisorCFRC13CStateManager +/* 80108680 001055E0 D0 21 00 08 */ stfs f1, 8(r1) +/* 80108684 001055E4 FC 00 08 18 */ frsp f0, f1 +/* 80108688 001055E8 80 7C 00 34 */ lwz r3, 0x34(r28) +/* 8010868C 001055EC C0 23 05 04 */ lfs f1, 0x504(r3) +/* 80108690 001055F0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80108694 001055F4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80108698 001055F8 40 80 00 0C */ bge lbl_801086A4 +/* 8010869C 001055FC 38 61 00 08 */ addi r3, r1, 8 +/* 801086A0 00105600 48 00 00 08 */ b lbl_801086A8 +lbl_801086A4: +/* 801086A4 00105604 38 61 00 0C */ addi r3, r1, 0xc +lbl_801086A8: +/* 801086A8 00105608 C0 03 00 00 */ lfs f0, 0(r3) +/* 801086AC 0010560C D3 DD 0F 2C */ stfs f30, 0xf2c(r29) +/* 801086B0 00105610 D0 1D 0F 30 */ stfs f0, 0xf30(r29) +lbl_801086B4: +/* 801086B4 00105614 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 801086B8 00105618 88 1C 01 F8 */ lbz r0, 0x1f8(r28) +/* 801086BC 0010561C 80 63 00 00 */ lwz r3, 0(r3) +/* 801086C0 00105620 88 63 00 00 */ lbz r3, 0(r3) +/* 801086C4 00105624 50 60 FE 72 */ rlwimi r0, r3, 0x1f, 0x19, 0x19 +/* 801086C8 00105628 98 1C 01 F8 */ stb r0, 0x1f8(r28) +/* 801086CC 0010562C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 801086D0 00105630 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 801086D4 00105634 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 801086D8 00105638 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 801086DC 0010563C BB 21 00 54 */ lmw r25, 0x54(r1) +/* 801086E0 00105640 80 01 00 94 */ lwz r0, 0x94(r1) +/* 801086E4 00105644 7C 08 03 A6 */ mtlr r0 +/* 801086E8 00105648 38 21 00 90 */ addi r1, r1, 0x90 +/* 801086EC 0010564C 4E 80 00 20 */ blr + +.global PreDraw__17CInGameGuiManagerFR13CStateManagerb +PreDraw__17CInGameGuiManagerFR13CStateManagerb: +/* 801086F0 00105650 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801086F4 00105654 7C 08 02 A6 */ mflr r0 +/* 801086F8 00105658 90 01 00 24 */ stw r0, 0x24(r1) +/* 801086FC 0010565C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80108700 00105660 7C BF 2B 78 */ mr r31, r5 +/* 80108704 00105664 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80108708 00105668 7C 9E 23 78 */ mr r30, r4 +/* 8010870C 0010566C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80108710 00105670 7C 7D 1B 78 */ mr r29, r3 +/* 80108714 00105674 80 63 00 48 */ lwz r3, 0x48(r3) +/* 80108718 00105678 28 03 00 00 */ cmplwi r3, 0 +/* 8010871C 0010567C 41 82 00 08 */ beq lbl_80108724 +/* 80108720 00105680 4B F6 AD 85 */ bl PreDraw__12CPauseScreenFv +lbl_80108724: +/* 80108724 00105684 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80108728 00105688 41 82 00 10 */ beq lbl_80108738 +/* 8010872C 0010568C 80 7D 00 40 */ lwz r3, 0x40(r29) +/* 80108730 00105690 7F C4 F3 78 */ mr r4, r30 +/* 80108734 00105694 48 05 2A A5 */ bl PreDraw__20CSamusFaceReflectionFRC13CStateManager +lbl_80108738: +/* 80108738 00105698 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8010873C 0010569C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80108740 001056A0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80108744 001056A4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80108748 001056A8 7C 08 03 A6 */ mtlr r0 +/* 8010874C 001056AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80108750 001056B0 4E 80 00 20 */ blr + +.global Draw__17CInGameGuiManagerCFRC13CStateManager +Draw__17CInGameGuiManagerCFRC13CStateManager: +/* 80108754 001056B4 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80108758 001056B8 7C 08 02 A6 */ mflr r0 +/* 8010875C 001056BC 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 80108760 001056C0 DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 80108764 001056C4 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 80108768 001056C8 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 8010876C 001056CC F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 80108770 001056D0 DB A1 01 A0 */ stfd f29, 0x1a0(r1) +/* 80108774 001056D4 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 +/* 80108778 001056D8 DB 81 01 90 */ stfd f28, 0x190(r1) +/* 8010877C 001056DC F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 +/* 80108780 001056E0 DB 61 01 80 */ stfd f27, 0x180(r1) +/* 80108784 001056E4 F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0 +/* 80108788 001056E8 DB 41 01 70 */ stfd f26, 0x170(r1) +/* 8010878C 001056EC F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0 +/* 80108790 001056F0 DB 21 01 60 */ stfd f25, 0x160(r1) +/* 80108794 001056F4 F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0 +/* 80108798 001056F8 DB 01 01 50 */ stfd f24, 0x150(r1) +/* 8010879C 001056FC F3 01 01 58 */ psq_st f24, 344(r1), 0, qr0 +/* 801087A0 00105700 BF 21 01 34 */ stmw r25, 0x134(r1) +/* 801087A4 00105704 7C 7F 1B 78 */ mr r31, r3 +/* 801087A8 00105708 7C 9E 23 78 */ mr r30, r4 +/* 801087AC 0010570C 4B FF F0 41 */ bl GetIsGameDraw__17CInGameGuiManagerCFv +/* 801087B0 00105710 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801087B4 00105714 40 82 00 18 */ bne lbl_801087CC +/* 801087B8 00105718 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801087BC 0010571C 38 80 00 01 */ li r4, 1 +/* 801087C0 00105720 88 03 03 18 */ lbz r0, 0x318(r3) +/* 801087C4 00105724 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 801087C8 00105728 98 03 03 18 */ stb r0, 0x318(r3) +lbl_801087CC: +/* 801087CC 0010572C C0 3F 01 D8 */ lfs f1, 0x1d8(r31) +/* 801087D0 00105730 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 801087D4 00105734 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801087D8 00105738 40 81 00 F8 */ ble lbl_801088D0 +/* 801087DC 0010573C 80 7F 01 DC */ lwz r3, 0x1dc(r31) +/* 801087E0 00105740 83 63 00 08 */ lwz r27, 8(r3) +/* 801087E4 00105744 28 1B 00 00 */ cmplwi r27, 0 +/* 801087E8 00105748 41 82 00 E8 */ beq lbl_801088D0 +/* 801087EC 0010574C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801087F0 00105750 38 80 00 00 */ li r4, 0 +/* 801087F4 00105754 38 A0 00 00 */ li r5, 0 +/* 801087F8 00105758 81 83 00 00 */ lwz r12, 0(r3) +/* 801087FC 0010575C 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 80108800 00105760 7D 89 03 A6 */ mtctr r12 +/* 80108804 00105764 4E 80 04 21 */ bctrl +/* 80108808 00105768 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8010880C 0010576C 81 83 00 00 */ lwz r12, 0(r3) +/* 80108810 00105770 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 80108814 00105774 7D 89 03 A6 */ mtctr r12 +/* 80108818 00105778 4E 80 04 21 */ bctrl +/* 8010881C 0010577C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80108820 00105780 38 60 00 00 */ li r3, 0 +/* 80108824 00105784 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80108828 00105788 48 20 1A 91 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8010882C 0010578C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80108830 00105790 38 60 00 01 */ li r3, 1 +/* 80108834 00105794 48 20 1A 85 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80108838 00105798 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 8010883C 0010579C 83 BF 01 C8 */ lwz r29, 0x1c8(r31) +/* 80108840 001057A0 38 E3 D9 10 */ addi r7, r3, lbl_803ED910@l +/* 80108844 001057A4 83 9F 01 CC */ lwz r28, 0x1cc(r31) +/* 80108848 001057A8 80 67 00 08 */ lwz r3, 8(r7) +/* 8010884C 001057AC 80 07 00 0C */ lwz r0, 0xc(r7) +/* 80108850 001057B0 7C BD 18 50 */ subf r5, r29, r3 +/* 80108854 001057B4 80 DF 01 D0 */ lwz r6, 0x1d0(r31) +/* 80108858 001057B8 54 A4 0F FE */ srwi r4, r5, 0x1f +/* 8010885C 001057BC 7C 7C 00 50 */ subf r3, r28, r0 +/* 80108860 001057C0 7C A4 2A 14 */ add r5, r4, r5 +/* 80108864 001057C4 80 87 00 04 */ lwz r4, 4(r7) +/* 80108868 001057C8 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8010886C 001057CC 81 07 00 00 */ lwz r8, 0(r7) +/* 80108870 001057D0 7C A7 0E 70 */ srawi r7, r5, 1 +/* 80108874 001057D4 80 BF 01 D4 */ lwz r5, 0x1d4(r31) +/* 80108878 001057D8 7C 00 1A 14 */ add r0, r0, r3 +/* 8010887C 001057DC C3 7F 01 D8 */ lfs f27, 0x1d8(r31) +/* 80108880 001057E0 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80108884 001057E4 7F 47 32 14 */ add r26, r7, r6 +/* 80108888 001057E8 7C 04 02 14 */ add r0, r4, r0 +/* 8010888C 001057EC 7F 48 D2 14 */ add r26, r8, r26 +/* 80108890 001057F0 7F 25 00 50 */ subf r25, r5, r0 +/* 80108894 001057F4 48 24 17 19 */ bl White__6CColorFv +/* 80108898 001057F8 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2) +/* 8010889C 001057FC EF A0 06 F2 */ fmuls f29, f0, f27 +/* 801088A0 00105800 F3 A1 A0 0C */ psq_st f29, 12(r1), 1, qr2 +/* 801088A4 00105804 7F 44 D3 78 */ mr r4, r26 +/* 801088A8 00105808 81 03 00 00 */ lwz r8, 0(r3) +/* 801088AC 0010580C 7F 63 DB 78 */ mr r3, r27 +/* 801088B0 00105810 88 01 00 0C */ lbz r0, 0xc(r1) +/* 801088B4 00105814 7F 25 CB 78 */ mr r5, r25 +/* 801088B8 00105818 51 00 00 2E */ rlwimi r0, r8, 0, 0, 0x17 +/* 801088BC 0010581C 7F A6 EB 78 */ mr r6, r29 +/* 801088C0 00105820 90 01 00 34 */ stw r0, 0x34(r1) +/* 801088C4 00105824 7F 87 E3 78 */ mr r7, r28 +/* 801088C8 00105828 39 01 00 34 */ addi r8, r1, 0x34 +/* 801088CC 0010582C 48 20 2E 91 */ bl Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor +lbl_801088D0: +/* 801088D0 00105830 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 801088D4 00105834 C3 62 94 94 */ lfs f27, lbl_805AB1B4@sda21(r2) +/* 801088D8 00105838 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 801088DC 0010583C C3 A3 09 F4 */ lfs f29, 0x9f4(r3) +/* 801088E0 00105840 2C 00 00 00 */ cmpwi r0, 0 +/* 801088E4 00105844 40 82 00 34 */ bne lbl_80108918 +/* 801088E8 00105848 FC 1D D8 40 */ fcmpo cr0, f29, f27 +/* 801088EC 0010584C 40 81 00 2C */ ble lbl_80108918 +/* 801088F0 00105850 C0 22 94 A0 */ lfs f1, lbl_805AB1C0@sda21(r2) +/* 801088F4 00105854 38 81 00 30 */ addi r4, r1, 0x30 +/* 801088F8 00105858 C0 02 80 EC */ lfs f0, lbl_805A9E0C@sda21(r2) +/* 801088FC 0010585C 38 6D 89 D4 */ addi r3, r13, lbl_805A7594@sda21 +/* 80108900 00105860 38 AD 89 D8 */ addi r5, r13, lbl_805A7598@sda21 +/* 80108904 00105864 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80108908 00105868 EC 1D 00 24 */ fdivs f0, f29, f0 +/* 8010890C 0010586C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80108910 00105870 4B F0 39 A5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80108914 00105874 C3 63 00 00 */ lfs f27, 0(r3) +lbl_80108918: +/* 80108918 00105878 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 8010891C 0010587C 4B F0 1F E5 */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80108920 00105880 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80108924 00105884 3B 80 00 00 */ li r28, 0 +/* 80108928 00105888 7C 03 00 34 */ cntlzw r3, r0 +/* 8010892C 0010588C 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 80108930 00105890 54 7D D9 7E */ srwi r29, r3, 5 +/* 80108934 00105894 41 82 00 30 */ beq lbl_80108964 +/* 80108938 00105898 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 8010893C 0010589C 38 60 00 01 */ li r3, 1 +/* 80108940 001058A0 2C 00 00 01 */ cmpwi r0, 1 +/* 80108944 001058A4 41 82 00 14 */ beq lbl_80108958 +/* 80108948 001058A8 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 8010894C 001058AC 2C 00 00 01 */ cmpwi r0, 1 +/* 80108950 001058B0 41 82 00 08 */ beq lbl_80108958 +/* 80108954 001058B4 7F 83 E3 78 */ mr r3, r28 +lbl_80108958: +/* 80108958 001058B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010895C 001058BC 41 82 00 08 */ beq lbl_80108964 +/* 80108960 001058C0 3B 80 00 01 */ li r28, 1 +lbl_80108964: +/* 80108964 001058C4 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80108968 001058C8 88 03 00 50 */ lbz r0, 0x50(r3) +/* 8010896C 001058CC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80108970 001058D0 41 82 01 80 */ beq lbl_80108AF0 +/* 80108974 001058D4 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80108978 001058D8 4B F5 CF A9 */ bl GetTargetingManager__9CSamusHudCFv +/* 8010897C 001058DC 7F C4 F3 78 */ mr r4, r30 +/* 80108980 001058E0 38 A0 00 01 */ li r5, 1 +/* 80108984 001058E4 4B FB 42 49 */ bl Draw__17CTargetingManagerCFRC13CStateManager +/* 80108988 001058E8 C0 22 94 A4 */ lfs f1, lbl_805AB1C4@sda21(r2) +/* 8010898C 001058EC C0 42 94 A8 */ lfs f2, lbl_805AB1C8@sda21(r2) +/* 80108990 001058F0 48 20 1A 51 */ bl SetDepthRange__9CGraphicsFff +/* 80108994 001058F4 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80108998 001058F8 7F C4 F3 78 */ mr r4, r30 +/* 8010899C 001058FC 80 63 00 00 */ lwz r3, 0(r3) +/* 801089A0 00105900 4B F8 8B B9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 801089A4 00105904 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 801089A8 00105908 20 63 00 02 */ subfic r3, r3, 2 +/* 801089AC 0010590C 7C 60 00 34 */ cntlzw r0, r3 +/* 801089B0 00105910 54 1B D9 7E */ srwi r27, r0, 5 +/* 801089B4 00105914 41 82 00 7C */ beq lbl_80108A30 +/* 801089B8 00105918 80 1F 01 F0 */ lwz r0, 0x1f0(r31) +/* 801089BC 0010591C 28 00 00 00 */ cmplwi r0, 0 +/* 801089C0 00105920 41 82 00 70 */ beq lbl_80108A30 +/* 801089C4 00105924 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 801089C8 00105928 80 03 02 F4 */ lwz r0, 0x2f4(r3) +/* 801089CC 0010592C 2C 00 00 00 */ cmpwi r0, 0 +/* 801089D0 00105930 40 82 00 10 */ bne lbl_801089E0 +/* 801089D4 00105934 7F C4 F3 78 */ mr r4, r30 +/* 801089D8 00105938 38 7F 00 20 */ addi r3, r31, 0x20 +/* 801089DC 0010593C 48 06 D0 E5 */ bl Draw__20CFaceplateDecorationCFRC13CStateManager +lbl_801089E0: +/* 801089E0 00105940 80 9F 01 E4 */ lwz r4, 0x1e4(r31) +/* 801089E4 00105944 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 801089E8 00105948 38 00 00 00 */ li r0, 0 +/* 801089EC 0010594C 7C 64 00 D0 */ neg r3, r4 +/* 801089F0 00105950 7C 63 23 78 */ or r3, r3, r4 +/* 801089F4 00105954 54 63 0F FE */ srwi r3, r3, 0x1f +/* 801089F8 00105958 41 82 00 10 */ beq lbl_80108A08 +/* 801089FC 0010595C 28 03 00 00 */ cmplwi r3, 0 +/* 80108A00 00105960 41 82 00 08 */ beq lbl_80108A08 +/* 80108A04 00105964 38 00 00 01 */ li r0, 1 +lbl_80108A08: +/* 80108A08 00105968 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80108A0C 0010596C 41 82 00 14 */ beq lbl_80108A20 +/* 80108A10 00105970 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80108A14 00105974 4B F5 CF 0D */ bl GetTargetingManager__9CSamusHudCFv +/* 80108A18 00105978 7C 65 1B 78 */ mr r5, r3 +/* 80108A1C 0010597C 48 00 00 08 */ b lbl_80108A24 +lbl_80108A20: +/* 80108A20 00105980 38 A0 00 00 */ li r5, 0 +lbl_80108A24: +/* 80108A24 00105984 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 80108A28 00105988 7F C4 F3 78 */ mr r4, r30 +/* 80108A2C 0010598C 48 00 B0 E5 */ bl Draw__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager +lbl_80108A30: +/* 80108A30 00105990 80 7F 00 40 */ lwz r3, 0x40(r31) +/* 80108A34 00105994 7F C4 F3 78 */ mr r4, r30 +/* 80108A38 00105998 48 05 23 8D */ bl Draw__20CSamusFaceReflectionCFRC13CStateManager +/* 80108A3C 0010599C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80108A40 001059A0 41 82 00 B0 */ beq lbl_80108AF0 +/* 80108A44 001059A4 80 BF 01 EC */ lwz r5, 0x1ec(r31) +/* 80108A48 001059A8 80 7F 01 E4 */ lwz r3, 0x1e4(r31) +/* 80108A4C 001059AC 7C 85 00 D0 */ neg r4, r5 +/* 80108A50 001059B0 C0 22 94 AC */ lfs f1, lbl_805AB1CC@sda21(r2) +/* 80108A54 001059B4 7C 03 00 D0 */ neg r0, r3 +/* 80108A58 001059B8 C0 42 94 A4 */ lfs f2, lbl_805AB1C4@sda21(r2) +/* 80108A5C 001059BC 7C 84 2B 78 */ or r4, r4, r5 +/* 80108A60 001059C0 7C 00 1B 78 */ or r0, r0, r3 +/* 80108A64 001059C4 54 99 0F FE */ srwi r25, r4, 0x1f +/* 80108A68 001059C8 54 1A 0F FE */ srwi r26, r0, 0x1f +/* 80108A6C 001059CC 48 20 19 75 */ bl SetDepthRange__9CGraphicsFff +/* 80108A70 001059D0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 80108A74 001059D4 FC 1B 00 40 */ fcmpo cr0, f27, f0 +/* 80108A78 001059D8 40 81 00 3C */ ble lbl_80108AB4 +/* 80108A7C 001059DC 48 24 15 31 */ bl White__6CColorFv +/* 80108A80 001059E0 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2) +/* 80108A84 001059E4 EF 40 06 F2 */ fmuls f26, f0, f27 +/* 80108A88 001059E8 F3 41 A0 0B */ psq_st f26, 11(r1), 1, qr2 +/* 80108A8C 001059EC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80108A90 001059F0 80 E3 00 00 */ lwz r7, 0(r3) +/* 80108A94 001059F4 38 60 00 05 */ li r3, 5 +/* 80108A98 001059F8 88 01 00 0B */ lbz r0, 0xb(r1) +/* 80108A9C 001059FC 38 80 00 07 */ li r4, 7 +/* 80108AA0 00105A00 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 80108AA4 00105A04 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) +/* 80108AA8 00105A08 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80108AAC 00105A0C 38 C0 00 00 */ li r6, 0 +/* 80108AB0 00105A10 4B FE 36 99 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +lbl_80108AB4: +/* 80108AB4 00105A14 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) +/* 80108AB8 00105A18 28 1A 00 00 */ cmplwi r26, 0 +/* 80108ABC 00105A1C C0 3F 01 F4 */ lfs f1, 0x1f4(r31) +/* 80108AC0 00105A20 7F C4 F3 78 */ mr r4, r30 +/* 80108AC4 00105A24 EC 00 D8 28 */ fsubs f0, f0, f27 +/* 80108AC8 00105A28 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80108ACC 00105A2C 80 BF 01 E0 */ lwz r5, 0x1e0(r31) +/* 80108AD0 00105A30 7F 26 CB 78 */ mr r6, r25 +/* 80108AD4 00105A34 38 E0 00 00 */ li r7, 0 +/* 80108AD8 00105A38 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80108ADC 00105A3C 41 82 00 10 */ beq lbl_80108AEC +/* 80108AE0 00105A40 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80108AE4 00105A44 40 82 00 08 */ bne lbl_80108AEC +/* 80108AE8 00105A48 38 E0 00 01 */ li r7, 1 +lbl_80108AEC: +/* 80108AEC 00105A4C 4B F5 CE 79 */ bl Draw__9CSamusHudCFRC13CStateManagerfUibb +lbl_80108AF0: +/* 80108AF0 00105A50 80 7F 01 BC */ lwz r3, 0x1bc(r31) +/* 80108AF4 00105A54 38 80 00 00 */ li r4, 0 +/* 80108AF8 00105A58 7C 80 23 78 */ mr r0, r4 +/* 80108AFC 00105A5C 3B 80 00 01 */ li r28, 1 +/* 80108B00 00105A60 2C 03 00 00 */ cmpwi r3, 0 +/* 80108B04 00105A64 41 80 00 10 */ blt lbl_80108B14 +/* 80108B08 00105A68 2C 03 00 01 */ cmpwi r3, 1 +/* 80108B0C 00105A6C 41 81 00 08 */ bgt lbl_80108B14 +/* 80108B10 00105A70 7F 80 E3 78 */ mr r0, r28 +lbl_80108B14: +/* 80108B14 00105A74 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80108B18 00105A78 41 82 00 2C */ beq lbl_80108B44 +/* 80108B1C 00105A7C 80 7F 01 C0 */ lwz r3, 0x1c0(r31) +/* 80108B20 00105A80 38 00 00 00 */ li r0, 0 +/* 80108B24 00105A84 2C 03 00 00 */ cmpwi r3, 0 +/* 80108B28 00105A88 41 80 00 10 */ blt lbl_80108B38 +/* 80108B2C 00105A8C 2C 03 00 01 */ cmpwi r3, 1 +/* 80108B30 00105A90 41 81 00 08 */ bgt lbl_80108B38 +/* 80108B34 00105A94 38 00 00 01 */ li r0, 1 +lbl_80108B38: +/* 80108B38 00105A98 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80108B3C 00105A9C 41 82 00 08 */ beq lbl_80108B44 +/* 80108B40 00105AA0 38 80 00 01 */ li r4, 1 +lbl_80108B44: +/* 80108B44 00105AA4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80108B48 00105AA8 40 82 00 30 */ bne lbl_80108B78 +/* 80108B4C 00105AAC 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 80108B50 00105AB0 38 60 00 00 */ li r3, 0 +/* 80108B54 00105AB4 2C 00 00 02 */ cmpwi r0, 2 +/* 80108B58 00105AB8 41 82 00 10 */ beq lbl_80108B68 +/* 80108B5C 00105ABC 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 80108B60 00105AC0 2C 00 00 02 */ cmpwi r0, 2 +/* 80108B64 00105AC4 40 82 00 08 */ bne lbl_80108B6C +lbl_80108B68: +/* 80108B68 00105AC8 38 60 00 01 */ li r3, 1 +lbl_80108B6C: +/* 80108B6C 00105ACC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80108B70 00105AD0 40 82 00 08 */ bne lbl_80108B78 +/* 80108B74 00105AD4 3B 80 00 00 */ li r28, 0 +lbl_80108B78: +/* 80108B78 00105AD8 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80108B7C 00105ADC 41 82 00 10 */ beq lbl_80108B8C +/* 80108B80 00105AE0 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80108B84 00105AE4 7F C4 F3 78 */ mr r4, r30 +/* 80108B88 00105AE8 48 15 4B E1 */ bl Draw__16CPauseScreenBlurFRC13CStateManager +lbl_80108B8C: +/* 80108B8C 00105AEC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80108B90 00105AF0 41 82 01 AC */ beq lbl_80108D3C +/* 80108B94 00105AF4 80 1F 01 E8 */ lwz r0, 0x1e8(r31) +/* 80108B98 00105AF8 28 00 00 00 */ cmplwi r0, 0 +/* 80108B9C 00105AFC 41 82 01 A0 */ beq lbl_80108D3C +/* 80108BA0 00105B00 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80108BA4 00105B04 88 03 00 50 */ lbz r0, 0x50(r3) +/* 80108BA8 00105B08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80108BAC 00105B0C 40 82 00 2C */ bne lbl_80108BD8 +/* 80108BB0 00105B10 80 1F 01 BC */ lwz r0, 0x1bc(r31) +/* 80108BB4 00105B14 38 60 00 00 */ li r3, 0 +/* 80108BB8 00105B18 2C 00 00 02 */ cmpwi r0, 2 +/* 80108BBC 00105B1C 41 82 00 10 */ beq lbl_80108BCC +/* 80108BC0 00105B20 80 1F 01 C0 */ lwz r0, 0x1c0(r31) +/* 80108BC4 00105B24 2C 00 00 02 */ cmpwi r0, 2 +/* 80108BC8 00105B28 40 82 00 08 */ bne lbl_80108BD0 +lbl_80108BCC: +/* 80108BCC 00105B2C 38 60 00 01 */ li r3, 1 +lbl_80108BD0: +/* 80108BD0 00105B30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80108BD4 00105B34 41 82 01 68 */ beq lbl_80108D3C +lbl_80108BD8: +/* 80108BD8 00105B38 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80108BDC 00105B3C 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80108BE0 00105B40 80 63 00 00 */ lwz r3, 0(r3) +/* 80108BE4 00105B44 83 24 02 F8 */ lwz r25, 0x2f8(r4) +/* 80108BE8 00105B48 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80108BEC 00105B4C 2C 00 00 00 */ cmpwi r0, 0 +/* 80108BF0 00105B50 40 82 00 10 */ bne lbl_80108C00 +/* 80108BF4 00105B54 4B F8 8C 71 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 80108BF8 00105B58 FF 60 08 90 */ fmr f27, f1 +/* 80108BFC 00105B5C 48 00 00 08 */ b lbl_80108C04 +lbl_80108C00: +/* 80108C00 00105B60 C3 62 94 94 */ lfs f27, lbl_805AB1B4@sda21(r2) +lbl_80108C04: +/* 80108C04 00105B64 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80108C08 00105B68 88 03 02 74 */ lbz r0, 0x274(r3) +/* 80108C0C 00105B6C 28 00 00 00 */ cmplwi r0, 0 +/* 80108C10 00105B70 41 82 00 0C */ beq lbl_80108C1C +/* 80108C14 00105B74 C3 42 94 90 */ lfs f26, lbl_805AB1B0@sda21(r2) +/* 80108C18 00105B78 48 00 00 18 */ b lbl_80108C30 +lbl_80108C1C: +/* 80108C1C 00105B7C 2C 19 00 00 */ cmpwi r25, 0 +/* 80108C20 00105B80 40 82 00 0C */ bne lbl_80108C2C +/* 80108C24 00105B84 C3 42 94 90 */ lfs f26, lbl_805AB1B0@sda21(r2) +/* 80108C28 00105B88 48 00 00 08 */ b lbl_80108C30 +lbl_80108C2C: +/* 80108C2C 00105B8C C3 42 94 94 */ lfs f26, lbl_805AB1B4@sda21(r2) +lbl_80108C30: +/* 80108C30 00105B90 80 9F 00 34 */ lwz r4, 0x34(r31) +/* 80108C34 00105B94 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80108C38 00105B98 3B 63 66 A0 */ addi r27, r3, skZero3f@l +/* 80108C3C 00105B9C C0 62 94 94 */ lfs f3, lbl_805AB1B4@sda21(r2) +/* 80108C40 00105BA0 80 64 02 74 */ lwz r3, 0x274(r4) +/* 80108C44 00105BA4 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 80108C48 00105BA8 C0 5B 00 00 */ lfs f2, 0(r27) +/* 80108C4C 00105BAC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80108C50 00105BB0 C0 3B 00 04 */ lfs f1, 4(r27) +/* 80108C54 00105BB4 C0 1B 00 08 */ lfs f0, 8(r27) +/* 80108C58 00105BB8 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 80108C5C 00105BBC D0 41 00 AC */ stfs f2, 0xac(r1) +/* 80108C60 00105BC0 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80108C64 00105BC4 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80108C68 00105BC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80108C6C 00105BCC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80108C70 00105BD0 7D 89 03 A6 */ mtctr r12 +/* 80108C74 00105BD4 4E 80 04 21 */ bctrl +/* 80108C78 00105BD8 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80108C7C 00105BDC C0 42 94 AC */ lfs f2, lbl_805AB1CC@sda21(r2) +/* 80108C80 00105BE0 48 20 17 61 */ bl SetDepthRange__9CGraphicsFff +/* 80108C84 00105BE4 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 80108C88 00105BE8 38 80 00 01 */ li r4, 1 +/* 80108C8C 00105BEC 48 1C 19 A1 */ bl SetIsVisible__10CGuiWidgetFb +/* 80108C90 00105BF0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80108C94 00105BF4 C0 62 94 90 */ lfs f3, lbl_805AB1B0@sda21(r2) +/* 80108C98 00105BF8 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) +/* 80108C9C 00105BFC 38 81 00 98 */ addi r4, r1, 0x98 +/* 80108CA0 00105C00 C0 3B 00 04 */ lfs f1, 4(r27) +/* 80108CA4 00105C04 C0 1B 00 08 */ lfs f0, 8(r27) +/* 80108CA8 00105C08 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 80108CAC 00105C0C 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 80108CB0 00105C10 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 80108CB4 00105C14 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80108CB8 00105C18 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80108CBC 00105C1C 81 83 00 00 */ lwz r12, 0(r3) +/* 80108CC0 00105C20 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80108CC4 00105C24 7D 89 03 A6 */ mtctr r12 +/* 80108CC8 00105C28 4E 80 04 21 */ bctrl +/* 80108CCC 00105C2C 38 60 00 01 */ li r3, 1 +/* 80108CD0 00105C30 38 80 00 06 */ li r4, 6 +/* 80108CD4 00105C34 38 A0 00 00 */ li r5, 0 +/* 80108CD8 00105C38 48 20 2D BD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80108CDC 00105C3C C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80108CE0 00105C40 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80108CE4 00105C44 83 7F 00 38 */ lwz r27, 0x38(r31) +/* 80108CE8 00105C48 FC 60 08 90 */ fmr f3, f1 +/* 80108CEC 00105C4C C0 42 94 B0 */ lfs f2, lbl_805AB1D0@sda21(r2) +/* 80108CF0 00105C50 48 20 A4 99 */ bl Translate__12CTransform4fFfff +/* 80108CF4 00105C54 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80108CF8 00105C58 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80108CFC 00105C5C 38 BF 01 8C */ addi r5, r31, 0x18c +/* 80108D00 00105C60 48 20 9C 51 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80108D04 00105C64 C0 1F 01 F4 */ lfs f0, 0x1f4(r31) +/* 80108D08 00105C68 7F 63 DB 78 */ mr r3, r27 +/* 80108D0C 00105C6C 7F C4 F3 78 */ mr r4, r30 +/* 80108D10 00105C70 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 80108D14 00105C74 EC 00 06 F2 */ fmuls f0, f0, f27 +/* 80108D18 00105C78 EC 3A 00 32 */ fmuls f1, f26, f0 +/* 80108D1C 00105C7C 4B F9 02 E9 */ bl Draw__11CAutoMapperCFRC13CStateManagerRC12CTransform4ff +/* 80108D20 00105C80 38 60 00 01 */ li r3, 1 +/* 80108D24 00105C84 38 80 00 03 */ li r4, 3 +/* 80108D28 00105C88 38 A0 00 01 */ li r5, 1 +/* 80108D2C 00105C8C 48 20 2D 69 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80108D30 00105C90 80 7F 01 48 */ lwz r3, 0x148(r31) +/* 80108D34 00105C94 38 80 00 00 */ li r4, 0 +/* 80108D38 00105C98 48 1C 18 F5 */ bl SetIsVisible__10CGuiWidgetFb +lbl_80108D3C: +/* 80108D3C 00105C9C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 80108D40 00105CA0 40 82 00 10 */ bne lbl_80108D50 +/* 80108D44 00105CA4 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 80108D48 00105CA8 7F C4 F3 78 */ mr r4, r30 +/* 80108D4C 00105CAC 48 15 4A 1D */ bl Draw__16CPauseScreenBlurFRC13CStateManager +lbl_80108D50: +/* 80108D50 00105CB0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) +/* 80108D54 00105CB4 28 00 00 00 */ cmplwi r0, 0 +/* 80108D58 00105CB8 41 82 00 30 */ beq lbl_80108D88 +/* 80108D5C 00105CBC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80108D60 00105CC0 41 82 00 28 */ beq lbl_80108D88 +/* 80108D64 00105CC4 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80108D68 00105CC8 28 03 00 00 */ cmplwi r3, 0 +/* 80108D6C 00105CCC 40 82 00 0C */ bne lbl_80108D78 +/* 80108D70 00105CD0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80108D74 00105CD4 48 00 00 08 */ b lbl_80108D7C +lbl_80108D78: +/* 80108D78 00105CD8 4B F6 9C 65 */ bl GetHelmetCamYOff__12CPauseScreenCFv +lbl_80108D7C: +/* 80108D7C 00105CDC 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80108D80 00105CE0 7F C4 F3 78 */ mr r4, r30 +/* 80108D84 00105CE4 4B F5 D0 3D */ bl DrawHelmet__9CSamusHudFRC13CStateManagerf +lbl_80108D88: +/* 80108D88 00105CE8 80 7F 00 4C */ lwz r3, 0x4c(r31) +/* 80108D8C 00105CEC 28 03 00 00 */ cmplwi r3, 0 +/* 80108D90 00105CF0 41 82 00 08 */ beq lbl_80108D98 +/* 80108D94 00105CF4 48 14 69 8D */ bl Draw__15CSaveGameScreenFv +lbl_80108D98: +/* 80108D98 00105CF8 80 7F 00 44 */ lwz r3, 0x44(r31) +/* 80108D9C 00105CFC 28 03 00 00 */ cmplwi r3, 0 +/* 80108DA0 00105D00 41 82 00 08 */ beq lbl_80108DA8 +/* 80108DA4 00105D04 48 0E 68 61 */ bl Draw__14CMessageScreenCFv +lbl_80108DA8: +/* 80108DA8 00105D08 80 7F 00 48 */ lwz r3, 0x48(r31) +/* 80108DAC 00105D0C 28 03 00 00 */ cmplwi r3, 0 +/* 80108DB0 00105D10 41 82 00 08 */ beq lbl_80108DB8 +/* 80108DB4 00105D14 4B F6 A3 FD */ bl Draw__12CPauseScreenFv +lbl_80108DB8: +/* 80108DB8 00105D18 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 80108DBC 00105D1C 4B FE 34 D5 */ bl Draw__17CCameraFilterPassCFv +/* 80108DC0 00105D20 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 80108DC4 00105D24 FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 80108DC8 00105D28 40 81 03 F8 */ ble lbl_801091C0 +/* 80108DCC 00105D2C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80108DD0 00105D30 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80108DD4 00105D34 2C 00 00 00 */ cmpwi r0, 0 +/* 80108DD8 00105D38 40 82 00 0C */ bne lbl_80108DE4 +/* 80108DDC 00105D3C C0 42 80 EC */ lfs f2, lbl_805A9E0C@sda21(r2) +/* 80108DE0 00105D40 48 00 00 08 */ b lbl_80108DE8 +lbl_80108DE4: +/* 80108DE4 00105D44 C0 42 80 F0 */ lfs f2, lbl_805A9E10@sda21(r2) +lbl_80108DE8: +/* 80108DE8 00105D48 EC 1D 10 24 */ fdivs f0, f29, f2 +/* 80108DEC 00105D4C C0 62 94 80 */ lfs f3, lbl_805AB1A0@sda21(r2) +/* 80108DF0 00105D50 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) +/* 80108DF4 00105D54 38 81 00 28 */ addi r4, r1, 0x28 +/* 80108DF8 00105D58 38 6D 89 DC */ addi r3, r13, lbl_805A759C@sda21 +/* 80108DFC 00105D5C 38 AD 89 E0 */ addi r5, r13, lbl_805A75A0@sda21 +/* 80108E00 00105D60 EC 42 18 28 */ fsubs f2, f2, f3 +/* 80108E04 00105D64 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80108E08 00105D68 EC 02 18 28 */ fsubs f0, f2, f3 +/* 80108E0C 00105D6C EF 40 08 28 */ fsubs f26, f0, f1 +/* 80108E10 00105D70 EF 63 D0 2A */ fadds f27, f3, f26 +/* 80108E14 00105D74 EF 23 D8 2A */ fadds f25, f3, f27 +/* 80108E18 00105D78 4B F0 34 9D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80108E1C 00105D7C C3 03 00 00 */ lfs f24, 0(r3) +/* 80108E20 00105D80 48 24 11 8D */ bl White__6CColorFv +/* 80108E24 00105D84 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2) +/* 80108E28 00105D88 EF E0 06 32 */ fmuls f31, f0, f24 +/* 80108E2C 00105D8C F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 +/* 80108E30 00105D90 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80108E34 00105D94 80 E3 00 00 */ lwz r7, 0(r3) +/* 80108E38 00105D98 38 60 00 05 */ li r3, 5 +/* 80108E3C 00105D9C 88 01 00 0A */ lbz r0, 0xa(r1) +/* 80108E40 00105DA0 38 80 00 00 */ li r4, 0 +/* 80108E44 00105DA4 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 80108E48 00105DA8 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) +/* 80108E4C 00105DAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80108E50 00105DB0 38 C0 00 00 */ li r6, 0 +/* 80108E54 00105DB4 4B FE 32 F5 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +/* 80108E58 00105DB8 FC 1D D0 40 */ fcmpo cr0, f29, f26 +/* 80108E5C 00105DBC 40 81 03 64 */ ble lbl_801091C0 +/* 80108E60 00105DC0 EC 3D D0 28 */ fsubs f1, f29, f26 +/* 80108E64 00105DC4 C0 02 94 80 */ lfs f0, lbl_805AB1A0@sda21(r2) +/* 80108E68 00105DC8 38 81 00 20 */ addi r4, r1, 0x20 +/* 80108E6C 00105DCC 38 6D 89 E4 */ addi r3, r13, lbl_805A75A4@sda21 +/* 80108E70 00105DD0 38 AD 89 E8 */ addi r5, r13, lbl_805A75A8@sda21 +/* 80108E74 00105DD4 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80108E78 00105DD8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80108E7C 00105DDC 4B F0 34 39 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80108E80 00105DE0 EC 3D D8 28 */ fsubs f1, f29, f27 +/* 80108E84 00105DE4 C0 02 94 80 */ lfs f0, lbl_805AB1A0@sda21(r2) +/* 80108E88 00105DE8 C0 63 00 00 */ lfs f3, 0(r3) +/* 80108E8C 00105DEC 38 81 00 1C */ addi r4, r1, 0x1c +/* 80108E90 00105DF0 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) +/* 80108E94 00105DF4 38 6D 89 EC */ addi r3, r13, lbl_805A75AC@sda21 +/* 80108E98 00105DF8 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80108E9C 00105DFC 38 AD 89 F0 */ addi r5, r13, lbl_805A75B0@sda21 +/* 80108EA0 00105E00 EF E2 18 28 */ fsubs f31, f2, f3 +/* 80108EA4 00105E04 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80108EA8 00105E08 4B F0 34 0D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80108EAC 00105E0C EC 1D C8 28 */ fsubs f0, f29, f25 +/* 80108EB0 00105E10 C3 A3 00 00 */ lfs f29, 0(r3) +/* 80108EB4 00105E14 38 81 00 18 */ addi r4, r1, 0x18 +/* 80108EB8 00105E18 38 6D 89 F4 */ addi r3, r13, lbl_805A75B4@sda21 +/* 80108EBC 00105E1C 38 AD 89 F8 */ addi r5, r13, lbl_805A75B8@sda21 +/* 80108EC0 00105E20 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80108EC4 00105E24 4B F0 33 F1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80108EC8 00105E28 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 80108ECC 00105E2C C0 23 00 00 */ lfs f1, 0(r3) +/* 80108ED0 00105E30 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l +/* 80108ED4 00105E34 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) +/* 80108ED8 00105E38 83 44 00 08 */ lwz r26, 8(r4) +/* 80108EDC 00105E3C 83 A4 00 0C */ lwz r29, 0xc(r4) +/* 80108EE0 00105E40 EF 60 08 28 */ fsubs f27, f0, f1 +/* 80108EE4 00105E44 80 64 00 00 */ lwz r3, 0(r4) +/* 80108EE8 00105E48 57 45 04 3E */ clrlwi r5, r26, 0x10 +/* 80108EEC 00105E4C 80 04 00 04 */ lwz r0, 4(r4) +/* 80108EF0 00105E50 57 A6 04 3E */ clrlwi r6, r29, 0x10 +/* 80108EF4 00105E54 83 2D A8 28 */ lwz r25, lbl_805A93E8@sda21(r13) +/* 80108EF8 00105E58 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80108EFC 00105E5C 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 80108F00 00105E60 48 26 FE B5 */ bl GXSetTexCopySrc +/* 80108F04 00105E64 57 43 0F FE */ srwi r3, r26, 0x1f +/* 80108F08 00105E68 57 A0 0F FE */ srwi r0, r29, 0x1f +/* 80108F0C 00105E6C 7C 63 D2 14 */ add r3, r3, r26 +/* 80108F10 00105E70 38 A0 00 04 */ li r5, 4 +/* 80108F14 00105E74 7C 7C 0E 70 */ srawi r28, r3, 1 +/* 80108F18 00105E78 7C 00 EA 14 */ add r0, r0, r29 +/* 80108F1C 00105E7C 7C 1B 0E 70 */ srawi r27, r0, 1 +/* 80108F20 00105E80 38 C0 00 00 */ li r6, 0 +/* 80108F24 00105E84 57 83 04 3E */ clrlwi r3, r28, 0x10 +/* 80108F28 00105E88 38 E0 00 00 */ li r7, 0 +/* 80108F2C 00105E8C 57 64 04 3E */ clrlwi r4, r27, 0x10 +/* 80108F30 00105E90 48 27 0D 11 */ bl GXGetTexBufferSize +/* 80108F34 00105E94 57 83 04 3E */ clrlwi r3, r28, 0x10 +/* 80108F38 00105E98 57 64 04 3E */ clrlwi r4, r27, 0x10 +/* 80108F3C 00105E9C 38 A0 00 04 */ li r5, 4 +/* 80108F40 00105EA0 38 C0 00 01 */ li r6, 1 +/* 80108F44 00105EA4 48 26 FF 3D */ bl GXSetTexCopyDst +/* 80108F48 00105EA8 7F 23 CB 78 */ mr r3, r25 +/* 80108F4C 00105EAC 38 80 00 00 */ li r4, 0 +/* 80108F50 00105EB0 48 27 05 E5 */ bl GXCopyTex +/* 80108F54 00105EB4 48 26 F6 11 */ bl GXPixModeSync +/* 80108F58 00105EB8 48 24 10 5D */ bl Black__6CColorFv +/* 80108F5C 00105EBC C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) +/* 80108F60 00105EC0 7C 65 1B 78 */ mr r5, r3 +/* 80108F64 00105EC4 38 60 00 05 */ li r3, 5 +/* 80108F68 00105EC8 38 80 00 00 */ li r4, 0 +/* 80108F6C 00105ECC 38 C0 00 00 */ li r6, 0 +/* 80108F70 00105ED0 4B FE 31 D9 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef +/* 80108F74 00105ED4 7F 83 E3 78 */ mr r3, r28 +/* 80108F78 00105ED8 7F 64 DB 78 */ mr r4, r27 +/* 80108F7C 00105EDC 7F 26 CB 78 */ mr r6, r25 +/* 80108F80 00105EE0 38 A0 00 04 */ li r5, 4 +/* 80108F84 00105EE4 38 E0 00 00 */ li r7, 0 +/* 80108F88 00105EE8 48 20 10 99 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 80108F8C 00105EEC EC 1F 07 F2 */ fmuls f0, f31, f31 +/* 80108F90 00105EF0 3C A0 43 30 */ lis r5, 0x4330 +/* 80108F94 00105EF4 6F A3 80 00 */ xoris r3, r29, 0x8000 +/* 80108F98 00105EF8 6F 40 80 00 */ xoris r0, r26, 0x8000 +/* 80108F9C 00105EFC 90 61 01 1C */ stw r3, 0x11c(r1) +/* 80108FA0 00105F00 3C 60 80 5A */ lis r3, lbl_805A5EBC@ha +/* 80108FA4 00105F04 90 A1 01 18 */ stw r5, 0x118(r1) +/* 80108FA8 00105F08 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80108FAC 00105F0C C8 82 94 B8 */ lfd f4, lbl_805AB1D8@sda21(r2) +/* 80108FB0 00105F10 38 83 5E BC */ addi r4, r3, lbl_805A5EBC@l +/* 80108FB4 00105F14 C8 21 01 18 */ lfd f1, 0x118(r1) +/* 80108FB8 00105F18 38 60 00 00 */ li r3, 0 +/* 80108FBC 00105F1C EC 5F 00 32 */ fmuls f2, f31, f0 +/* 80108FC0 00105F20 EC 21 20 28 */ fsubs f1, f1, f4 +/* 80108FC4 00105F24 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) +/* 80108FC8 00105F28 C0 62 94 B4 */ lfs f3, lbl_805AB1D4@sda21(r2) +/* 80108FCC 00105F2C EC BF 00 B2 */ fmuls f5, f31, f2 +/* 80108FD0 00105F30 90 01 01 24 */ stw r0, 0x124(r1) +/* 80108FD4 00105F34 EC 41 18 28 */ fsubs f2, f1, f3 +/* 80108FD8 00105F38 90 A1 01 20 */ stw r5, 0x120(r1) +/* 80108FDC 00105F3C EC 20 E8 28 */ fsubs f1, f0, f29 +/* 80108FE0 00105F40 C0 C2 94 80 */ lfs f6, lbl_805AB1A0@sda21(r2) +/* 80108FE4 00105F44 C8 01 01 20 */ lfd f0, 0x120(r1) +/* 80108FE8 00105F48 EC 45 18 BA */ fmadds f2, f5, f2, f3 +/* 80108FEC 00105F4C EC 00 20 28 */ fsubs f0, f0, f4 +/* 80108FF0 00105F50 EF A6 00 B2 */ fmuls f29, f6, f2 +/* 80108FF4 00105F54 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80108FF8 00105F58 FF E0 E8 50 */ fneg f31, f29 +/* 80108FFC 00105F5C EC 01 18 3A */ fmadds f0, f1, f0, f3 +/* 80109000 00105F60 EF 06 00 32 */ fmuls f24, f6, f0 +/* 80109004 00105F64 FF 20 C0 50 */ fneg f25, f24 +/* 80109008 00105F68 48 20 12 B1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8010900C 00105F6C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80109010 00105F70 38 60 00 01 */ li r3, 1 +/* 80109014 00105F74 48 20 12 A5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80109018 00105F78 38 60 00 98 */ li r3, 0x98 +/* 8010901C 00105F7C 48 20 26 4D */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 80109020 00105F80 48 24 0F 8D */ bl White__6CColorFv +/* 80109024 00105F84 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2) +/* 80109028 00105F88 EF 80 06 F2 */ fmuls f28, f0, f27 +/* 8010902C 00105F8C FF C0 E0 90 */ fmr f30, f28 +/* 80109030 00105F90 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 80109034 00105F94 80 83 00 00 */ lwz r4, 0(r3) +/* 80109038 00105F98 38 61 00 14 */ addi r3, r1, 0x14 +/* 8010903C 00105F9C 88 01 00 09 */ lbz r0, 9(r1) +/* 80109040 00105FA0 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 +/* 80109044 00105FA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80109048 00105FA8 48 20 25 01 */ bl StreamColor__9CGraphicsFRC6CColor +/* 8010904C 00105FAC C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80109050 00105FB0 FC 40 08 90 */ fmr f2, f1 +/* 80109054 00105FB4 48 20 24 11 */ bl StreamTexcoord__9CGraphicsFff +/* 80109058 00105FB8 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 8010905C 00105FBC 38 61 00 8C */ addi r3, r1, 0x8c +/* 80109060 00105FC0 D3 21 00 8C */ stfs f25, 0x8c(r1) +/* 80109064 00105FC4 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 80109068 00105FC8 D3 A1 00 94 */ stfs f29, 0x94(r1) +/* 8010906C 00105FCC 48 20 25 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80109070 00105FD0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80109074 00105FD4 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) +/* 80109078 00105FD8 48 20 23 ED */ bl StreamTexcoord__9CGraphicsFff +/* 8010907C 00105FDC C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 80109080 00105FE0 38 61 00 80 */ addi r3, r1, 0x80 +/* 80109084 00105FE4 D3 21 00 80 */ stfs f25, 0x80(r1) +/* 80109088 00105FE8 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 8010908C 00105FEC D3 E1 00 88 */ stfs f31, 0x88(r1) +/* 80109090 00105FF0 48 20 25 31 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80109094 00105FF4 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) +/* 80109098 00105FF8 C0 42 94 94 */ lfs f2, lbl_805AB1B4@sda21(r2) +/* 8010909C 00105FFC 48 20 23 C9 */ bl StreamTexcoord__9CGraphicsFff +/* 801090A0 00106000 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 801090A4 00106004 38 61 00 74 */ addi r3, r1, 0x74 +/* 801090A8 00106008 D3 01 00 74 */ stfs f24, 0x74(r1) +/* 801090AC 0010600C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 801090B0 00106010 D3 A1 00 7C */ stfs f29, 0x7c(r1) +/* 801090B4 00106014 48 20 25 0D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 801090B8 00106018 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) +/* 801090BC 0010601C FC 40 08 90 */ fmr f2, f1 +/* 801090C0 00106020 48 20 23 A5 */ bl StreamTexcoord__9CGraphicsFff +/* 801090C4 00106024 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 801090C8 00106028 38 61 00 68 */ addi r3, r1, 0x68 +/* 801090CC 0010602C D3 01 00 68 */ stfs f24, 0x68(r1) +/* 801090D0 00106030 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 801090D4 00106034 D3 E1 00 70 */ stfs f31, 0x70(r1) +/* 801090D8 00106038 48 20 24 E9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 801090DC 0010603C 48 20 23 35 */ bl StreamEnd__9CGraphicsFv +/* 801090E0 00106040 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801090E4 00106044 81 83 00 00 */ lwz r12, 0(r3) +/* 801090E8 00106048 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 801090EC 0010604C 7D 89 03 A6 */ mtctr r12 +/* 801090F0 00106050 4E 80 04 21 */ bctrl +/* 801090F4 00106054 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 801090F8 00106058 38 80 00 00 */ li r4, 0 +/* 801090FC 0010605C 38 A0 00 01 */ li r5, 1 +/* 80109100 00106060 48 20 66 3D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80109104 00106064 38 60 00 98 */ li r3, 0x98 +/* 80109108 00106068 48 20 25 61 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 8010910C 0010606C 48 24 0E A1 */ bl White__6CColorFv +/* 80109110 00106070 F3 81 A0 08 */ psq_st f28, 8(r1), 1, qr2 +/* 80109114 00106074 80 83 00 00 */ lwz r4, 0(r3) +/* 80109118 00106078 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010911C 0010607C 88 01 00 08 */ lbz r0, 8(r1) +/* 80109120 00106080 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 +/* 80109124 00106084 90 01 00 10 */ stw r0, 0x10(r1) +/* 80109128 00106088 48 20 24 21 */ bl StreamColor__9CGraphicsFRC6CColor +/* 8010912C 0010608C C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80109130 00106090 FC 40 08 90 */ fmr f2, f1 +/* 80109134 00106094 48 20 23 31 */ bl StreamTexcoord__9CGraphicsFff +/* 80109138 00106098 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 8010913C 0010609C 38 61 00 5C */ addi r3, r1, 0x5c +/* 80109140 001060A0 D3 21 00 5C */ stfs f25, 0x5c(r1) +/* 80109144 001060A4 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80109148 001060A8 D3 A1 00 64 */ stfs f29, 0x64(r1) +/* 8010914C 001060AC 48 20 24 75 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80109150 001060B0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80109154 001060B4 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) +/* 80109158 001060B8 48 20 23 0D */ bl StreamTexcoord__9CGraphicsFff +/* 8010915C 001060BC C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 80109160 001060C0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80109164 001060C4 D3 21 00 50 */ stfs f25, 0x50(r1) +/* 80109168 001060C8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8010916C 001060CC D3 E1 00 58 */ stfs f31, 0x58(r1) +/* 80109170 001060D0 48 20 24 51 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80109174 001060D4 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) +/* 80109178 001060D8 C0 42 94 94 */ lfs f2, lbl_805AB1B4@sda21(r2) +/* 8010917C 001060DC 48 20 22 E9 */ bl StreamTexcoord__9CGraphicsFff +/* 80109180 001060E0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 80109184 001060E4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80109188 001060E8 D3 01 00 44 */ stfs f24, 0x44(r1) +/* 8010918C 001060EC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80109190 001060F0 D3 A1 00 4C */ stfs f29, 0x4c(r1) +/* 80109194 001060F4 48 20 24 2D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80109198 001060F8 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) +/* 8010919C 001060FC FC 40 08 90 */ fmr f2, f1 +/* 801091A0 00106100 48 20 22 C5 */ bl StreamTexcoord__9CGraphicsFff +/* 801091A4 00106104 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 801091A8 00106108 38 61 00 38 */ addi r3, r1, 0x38 +/* 801091AC 0010610C D3 01 00 38 */ stfs f24, 0x38(r1) +/* 801091B0 00106110 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 801091B4 00106114 D3 E1 00 40 */ stfs f31, 0x40(r1) +/* 801091B8 00106118 48 20 24 09 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 801091BC 0010611C 48 20 22 55 */ bl StreamEnd__9CGraphicsFv +lbl_801091C0: +/* 801091C0 00106120 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 801091C4 00106124 CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 801091C8 00106128 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 801091CC 0010612C CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 801091D0 00106130 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 +/* 801091D4 00106134 CB A1 01 A0 */ lfd f29, 0x1a0(r1) +/* 801091D8 00106138 E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 +/* 801091DC 0010613C CB 81 01 90 */ lfd f28, 0x190(r1) +/* 801091E0 00106140 E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0 +/* 801091E4 00106144 CB 61 01 80 */ lfd f27, 0x180(r1) +/* 801091E8 00106148 E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0 +/* 801091EC 0010614C CB 41 01 70 */ lfd f26, 0x170(r1) +/* 801091F0 00106150 E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0 +/* 801091F4 00106154 CB 21 01 60 */ lfd f25, 0x160(r1) +/* 801091F8 00106158 E3 01 01 58 */ psq_l f24, 344(r1), 0, qr0 +/* 801091FC 0010615C CB 01 01 50 */ lfd f24, 0x150(r1) +/* 80109200 00106160 BB 21 01 34 */ lmw r25, 0x134(r1) +/* 80109204 00106164 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 80109208 00106168 7C 08 03 A6 */ mtlr r0 +/* 8010920C 0010616C 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 80109210 00106170 4E 80 00 20 */ blr + +.global StartFadeIn__17CInGameGuiManagerFv +StartFadeIn__17CInGameGuiManagerFv: +/* 80109214 00106174 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80109218 00106178 7C 08 02 A6 */ mflr r0 +/* 8010921C 0010617C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80109220 00106180 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80109224 00106184 7C 7F 1B 78 */ mr r31, r3 +/* 80109228 00106188 48 24 0D 8D */ bl Black__6CColorFv +/* 8010922C 0010618C C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) +/* 80109230 00106190 7C 66 1B 78 */ mr r6, r3 +/* 80109234 00106194 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 80109238 00106198 38 80 00 01 */ li r4, 1 +/* 8010923C 0010619C 38 A0 00 00 */ li r5, 0 +/* 80109240 001061A0 38 E0 FF FF */ li r7, -1 +/* 80109244 001061A4 4B FE 41 5D */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +/* 80109248 001061A8 C0 22 94 80 */ lfs f1, lbl_805AB1A0@sda21(r2) +/* 8010924C 001061AC 38 7F 00 F8 */ addi r3, r31, 0xf8 +/* 80109250 001061B0 4B FE 41 19 */ bl DisableFilter__17CCameraFilterPassFf +/* 80109254 001061B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80109258 001061B8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8010925C 001061BC 7C 08 03 A6 */ mtlr r0 +/* 80109260 001061C0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80109264 001061C4 4E 80 00 20 */ blr + +.global CheckLoadComplete__17CInGameGuiManagerFRC13CStateManager +CheckLoadComplete__17CInGameGuiManagerFRC13CStateManager: +/* 80109268 001061C8 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8010926C 001061CC 7C 08 02 A6 */ mflr r0 +/* 80109270 001061D0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80109274 001061D4 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80109278 001061D8 7C 7F 1B 78 */ mr r31, r3 +/* 8010927C 001061DC 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80109280 001061E0 7C 9E 23 78 */ mr r30, r4 +/* 80109284 001061E4 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80109288 001061E8 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 8010928C 001061EC 80 03 00 18 */ lwz r0, 0x18(r3) +/* 80109290 001061F0 2C 00 00 02 */ cmpwi r0, 2 +/* 80109294 001061F4 41 82 02 EC */ beq lbl_80109580 +/* 80109298 001061F8 40 80 00 14 */ bge lbl_801092AC +/* 8010929C 001061FC 2C 00 00 00 */ cmpwi r0, 0 +/* 801092A0 00106200 41 82 00 18 */ beq lbl_801092B8 +/* 801092A4 00106204 40 80 01 10 */ bge lbl_801093B4 +/* 801092A8 00106208 48 00 05 78 */ b lbl_80109820 +lbl_801092AC: +/* 801092AC 0010620C 2C 00 00 04 */ cmpwi r0, 4 +/* 801092B0 00106210 40 80 05 70 */ bge lbl_80109820 +/* 801092B4 00106214 48 00 05 5C */ b lbl_80109810 +lbl_801092B8: +/* 801092B8 00106218 80 9F 00 00 */ lwz r4, 0(r31) +/* 801092BC 0010621C 80 04 00 10 */ lwz r0, 0x10(r4) +/* 801092C0 00106220 28 00 00 00 */ cmplwi r0, 0 +/* 801092C4 00106224 41 82 00 E8 */ beq lbl_801093AC +/* 801092C8 00106228 48 23 7B 45 */ bl GetObj__6CTokenFv +/* 801092CC 0010622C 83 A3 00 04 */ lwz r29, 4(r3) +/* 801092D0 00106230 38 7F 00 08 */ addi r3, r31, 8 +/* 801092D4 00106234 80 9D 00 04 */ lwz r4, 4(r29) +/* 801092D8 00106238 4B EF F6 85 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 801092DC 0010623C 83 9D 00 0C */ lwz r28, 0xc(r29) +/* 801092E0 00106240 48 00 00 A0 */ b lbl_80109380 +lbl_801092E4: +/* 801092E4 00106244 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801092E8 00106248 7F 85 E3 78 */ mr r5, r28 +/* 801092EC 0010624C 38 61 00 18 */ addi r3, r1, 0x18 +/* 801092F0 00106250 81 84 00 00 */ lwz r12, 0(r4) +/* 801092F4 00106254 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 801092F8 00106258 7D 89 03 A6 */ mtctr r12 +/* 801092FC 0010625C 4E 80 04 21 */ bctrl +/* 80109300 00106260 38 61 00 20 */ addi r3, r1, 0x20 +/* 80109304 00106264 38 81 00 18 */ addi r4, r1, 0x18 +/* 80109308 00106268 48 23 7B A1 */ bl __ct__6CTokenFRC6CToken +/* 8010930C 0010626C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80109310 00106270 38 80 FF FF */ li r4, -1 +/* 80109314 00106274 48 23 7B 2D */ bl __dt__6CTokenFv +/* 80109318 00106278 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010931C 0010627C 48 23 7A 69 */ bl Lock__6CTokenFv +/* 80109320 00106280 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80109324 00106284 80 BF 00 10 */ lwz r5, 0x10(r31) +/* 80109328 00106288 7C 00 28 00 */ cmpw r0, r5 +/* 8010932C 0010628C 41 80 00 1C */ blt lbl_80109348 +/* 80109330 00106290 2C 05 00 00 */ cmpwi r5, 0 +/* 80109334 00106294 38 7F 00 08 */ addi r3, r31, 8 +/* 80109338 00106298 38 80 00 04 */ li r4, 4 +/* 8010933C 0010629C 41 82 00 08 */ beq lbl_80109344 +/* 80109340 001062A0 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80109344: +/* 80109344 001062A4 4B EF F6 19 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_80109348: +/* 80109348 001062A8 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 8010934C 001062AC 80 7F 00 14 */ lwz r3, 0x14(r31) +/* 80109350 001062B0 54 00 18 38 */ slwi r0, r0, 3 +/* 80109354 001062B4 7C 63 02 15 */ add. r3, r3, r0 +/* 80109358 001062B8 41 82 00 0C */ beq lbl_80109364 +/* 8010935C 001062BC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80109360 001062C0 48 23 7B 49 */ bl __ct__6CTokenFRC6CToken +lbl_80109364: +/* 80109364 001062C4 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 80109368 001062C8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010936C 001062CC 38 80 FF FF */ li r4, -1 +/* 80109370 001062D0 38 05 00 01 */ addi r0, r5, 1 +/* 80109374 001062D4 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80109378 001062D8 48 23 7A C9 */ bl __dt__6CTokenFv +/* 8010937C 001062DC 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80109380: +/* 80109380 001062E0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80109384 001062E4 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80109388 001062E8 54 00 18 38 */ slwi r0, r0, 3 +/* 8010938C 001062EC 7C 03 02 14 */ add r0, r3, r0 +/* 80109390 001062F0 7C 1C 00 40 */ cmplw r28, r0 +/* 80109394 001062F4 40 82 FF 50 */ bne lbl_801092E4 +/* 80109398 001062F8 7F E3 FB 78 */ mr r3, r31 +/* 8010939C 001062FC 48 23 79 A5 */ bl Unlock__6CTokenFv +/* 801093A0 00106300 38 00 00 01 */ li r0, 1 +/* 801093A4 00106304 90 1F 00 18 */ stw r0, 0x18(r31) +/* 801093A8 00106308 48 00 00 0C */ b lbl_801093B4 +lbl_801093AC: +/* 801093AC 0010630C 38 60 00 00 */ li r3, 0 +/* 801093B0 00106310 48 00 04 74 */ b lbl_80109824 +lbl_801093B4: +/* 801093B4 00106314 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 801093B8 00106318 80 BF 00 14 */ lwz r5, 0x14(r31) +/* 801093BC 0010631C 54 00 18 38 */ slwi r0, r0, 3 +/* 801093C0 00106320 7C 85 02 14 */ add r4, r5, r0 +/* 801093C4 00106324 48 00 00 20 */ b lbl_801093E4 +lbl_801093C8: +/* 801093C8 00106328 80 65 00 00 */ lwz r3, 0(r5) +/* 801093CC 0010632C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 801093D0 00106330 28 00 00 00 */ cmplwi r0, 0 +/* 801093D4 00106334 40 82 00 0C */ bne lbl_801093E0 +/* 801093D8 00106338 38 60 00 00 */ li r3, 0 +/* 801093DC 0010633C 48 00 04 48 */ b lbl_80109824 +lbl_801093E0: +/* 801093E0 00106340 38 A5 00 08 */ addi r5, r5, 8 +lbl_801093E4: +/* 801093E4 00106344 7C 05 20 40 */ cmplw r5, r4 +/* 801093E8 00106348 40 82 FF E0 */ bne lbl_801093C8 +/* 801093EC 0010634C 38 00 00 02 */ li r0, 2 +/* 801093F0 00106350 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 801093F4 00106354 38 63 EE C4 */ addi r3, r3, lbl_803CEEC4@l +/* 801093F8 00106358 90 1F 00 18 */ stw r0, 0x18(r31) +/* 801093FC 0010635C 38 83 02 AC */ addi r4, r3, 0x2ac +/* 80109400 00106360 38 60 05 54 */ li r3, 0x554 +/* 80109404 00106364 38 A0 00 00 */ li r5, 0 +/* 80109408 00106368 48 20 C4 65 */ bl __nw__FUlPCcPCc +/* 8010940C 0010636C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80109410 00106370 41 82 00 10 */ beq lbl_80109420 +/* 80109414 00106374 7F C4 F3 78 */ mr r4, r30 +/* 80109418 00106378 48 00 B2 B5 */ bl __ct__12CPlayerVisorFRC13CStateManager +/* 8010941C 0010637C 7C 7D 1B 78 */ mr r29, r3 +lbl_80109420: +/* 80109420 00106380 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 80109424 00106384 38 80 00 01 */ li r4, 1 +/* 80109428 00106388 48 00 AF E5 */ bl __dt__12CPlayerVisorFv +/* 8010942C 0010638C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 80109430 00106390 93 BF 00 30 */ stw r29, 0x30(r31) +/* 80109434 00106394 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l +/* 80109438 00106398 38 60 08 A0 */ li r3, 0x8a0 +/* 8010943C 0010639C 38 84 02 AC */ addi r4, r4, 0x2ac +/* 80109440 001063A0 38 A0 00 00 */ li r5, 0 +/* 80109444 001063A4 48 20 C4 29 */ bl __nw__FUlPCcPCc +/* 80109448 001063A8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8010944C 001063AC 41 82 00 10 */ beq lbl_8010945C +/* 80109450 001063B0 7F C4 F3 78 */ mr r4, r30 +/* 80109454 001063B4 4B F6 14 F9 */ bl __ct__9CSamusHudFRC13CStateManager +/* 80109458 001063B8 7C 7D 1B 78 */ mr r29, r3 +lbl_8010945C: +/* 8010945C 001063BC 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80109460 001063C0 28 03 00 00 */ cmplwi r3, 0 +/* 80109464 001063C4 41 82 00 18 */ beq lbl_8010947C +/* 80109468 001063C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8010946C 001063CC 38 80 00 01 */ li r4, 1 +/* 80109470 001063D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80109474 001063D4 7D 89 03 A6 */ mtctr r12 +/* 80109478 001063D8 4E 80 04 21 */ bctrl +lbl_8010947C: +/* 8010947C 001063DC 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 80109480 001063E0 93 BF 00 34 */ stw r29, 0x34(r31) +/* 80109484 001063E4 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l +/* 80109488 001063E8 38 60 03 30 */ li r3, 0x330 +/* 8010948C 001063EC 38 84 02 AC */ addi r4, r4, 0x2ac +/* 80109490 001063F0 38 A0 00 00 */ li r5, 0 +/* 80109494 001063F4 48 20 C3 D9 */ bl __nw__FUlPCcPCc +/* 80109498 001063F8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8010949C 001063FC 41 82 00 10 */ beq lbl_801094AC +/* 801094A0 00106400 7F C4 F3 78 */ mr r4, r30 +/* 801094A4 00106404 4B F9 40 21 */ bl __ct__11CAutoMapperFR13CStateManager +/* 801094A8 00106408 7C 7D 1B 78 */ mr r29, r3 +lbl_801094AC: +/* 801094AC 0010640C 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 801094B0 00106410 28 03 00 00 */ cmplwi r3, 0 +/* 801094B4 00106414 41 82 00 18 */ beq lbl_801094CC +/* 801094B8 00106418 81 83 00 00 */ lwz r12, 0(r3) +/* 801094BC 0010641C 38 80 00 01 */ li r4, 1 +/* 801094C0 00106420 81 8C 00 08 */ lwz r12, 8(r12) +/* 801094C4 00106424 7D 89 03 A6 */ mtctr r12 +/* 801094C8 00106428 4E 80 04 21 */ bctrl +lbl_801094CC: +/* 801094CC 0010642C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 801094D0 00106430 93 BF 00 38 */ stw r29, 0x38(r31) +/* 801094D4 00106434 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l +/* 801094D8 00106438 38 60 00 54 */ li r3, 0x54 +/* 801094DC 0010643C 38 84 02 AC */ addi r4, r4, 0x2ac +/* 801094E0 00106440 38 A0 00 00 */ li r5, 0 +/* 801094E4 00106444 48 20 C3 89 */ bl __nw__FUlPCcPCc +/* 801094E8 00106448 7C 7D 1B 79 */ or. r29, r3, r3 +/* 801094EC 0010644C 41 82 00 0C */ beq lbl_801094F8 +/* 801094F0 00106450 48 15 46 09 */ bl __ct__16CPauseScreenBlurFv +/* 801094F4 00106454 7C 7D 1B 78 */ mr r29, r3 +lbl_801094F8: +/* 801094F8 00106458 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 801094FC 0010645C 28 03 00 00 */ cmplwi r3, 0 +/* 80109500 00106460 41 82 00 18 */ beq lbl_80109518 +/* 80109504 00106464 81 83 00 00 */ lwz r12, 0(r3) +/* 80109508 00106468 38 80 00 01 */ li r4, 1 +/* 8010950C 0010646C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80109510 00106470 7D 89 03 A6 */ mtctr r12 +/* 80109514 00106474 4E 80 04 21 */ bctrl +lbl_80109518: +/* 80109518 00106478 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 8010951C 0010647C 93 BF 00 3C */ stw r29, 0x3c(r31) +/* 80109520 00106480 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l +/* 80109524 00106484 38 60 00 74 */ li r3, 0x74 +/* 80109528 00106488 38 84 02 AC */ addi r4, r4, 0x2ac +/* 8010952C 0010648C 38 A0 00 00 */ li r5, 0 +/* 80109530 00106490 48 20 C3 3D */ bl __nw__FUlPCcPCc +/* 80109534 00106494 7C 7C 1B 79 */ or. r28, r3, r3 +/* 80109538 00106498 41 82 00 10 */ beq lbl_80109548 +/* 8010953C 0010649C 7F C4 F3 78 */ mr r4, r30 +/* 80109540 001064A0 48 05 21 11 */ bl __ct__20CSamusFaceReflectionFRC13CStateManager +/* 80109544 001064A4 7C 7C 1B 78 */ mr r28, r3 +lbl_80109548: +/* 80109548 001064A8 83 BF 00 40 */ lwz r29, 0x40(r31) +/* 8010954C 001064AC 28 1D 00 00 */ cmplwi r29, 0 +/* 80109550 001064B0 41 82 00 2C */ beq lbl_8010957C +/* 80109554 001064B4 34 1D 00 4C */ addic. r0, r29, 0x4c +/* 80109558 001064B8 41 82 00 10 */ beq lbl_80109568 +/* 8010955C 001064BC 80 7D 00 4C */ lwz r3, 0x4c(r29) +/* 80109560 001064C0 38 80 00 01 */ li r4, 1 +/* 80109564 001064C4 4B FF BB 71 */ bl __dt__12CActorLightsFv +lbl_80109568: +/* 80109568 001064C8 7F A3 EB 78 */ mr r3, r29 +/* 8010956C 001064CC 38 80 FF FF */ li r4, -1 +/* 80109570 001064D0 48 00 D4 DD */ bl __dt__10CModelDataFv +/* 80109574 001064D4 7F A3 EB 78 */ mr r3, r29 +/* 80109578 001064D8 48 20 C3 B9 */ bl Free__7CMemoryFPCv +lbl_8010957C: +/* 8010957C 001064DC 93 9F 00 40 */ stw r28, 0x40(r31) +lbl_80109580: +/* 80109580 001064E0 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 80109584 001064E4 4B F9 36 A9 */ bl CheckLoadComplete__11CAutoMapperFv +/* 80109588 001064E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010958C 001064EC 41 82 02 7C */ beq lbl_80109808 +/* 80109590 001064F0 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80109594 001064F4 7F C4 F3 78 */ mr r4, r30 +/* 80109598 001064F8 4B F6 07 89 */ bl CheckLoadComplete__9CSamusHudFRC13CStateManager +/* 8010959C 001064FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801095A0 00106500 41 82 02 68 */ beq lbl_80109808 +/* 801095A4 00106504 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 801095A8 00106508 28 00 00 00 */ cmplwi r0, 0 +/* 801095AC 0010650C 41 82 00 0C */ beq lbl_801095B8 +/* 801095B0 00106510 38 60 00 01 */ li r3, 1 +/* 801095B4 00106514 48 00 00 3C */ b lbl_801095F0 +lbl_801095B8: +/* 801095B8 00106518 88 1F 00 54 */ lbz r0, 0x54(r31) +/* 801095BC 0010651C 28 00 00 00 */ cmplwi r0, 0 +/* 801095C0 00106520 41 82 00 2C */ beq lbl_801095EC +/* 801095C4 00106524 80 7F 00 50 */ lwz r3, 0x50(r31) +/* 801095C8 00106528 80 03 00 10 */ lwz r0, 0x10(r3) +/* 801095CC 0010652C 28 00 00 00 */ cmplwi r0, 0 +/* 801095D0 00106530 41 82 00 1C */ beq lbl_801095EC +/* 801095D4 00106534 38 7F 00 50 */ addi r3, r31, 0x50 +/* 801095D8 00106538 48 23 78 35 */ bl GetObj__6CTokenFv +/* 801095DC 0010653C 80 03 00 04 */ lwz r0, 4(r3) +/* 801095E0 00106540 38 60 00 01 */ li r3, 1 +/* 801095E4 00106544 90 1F 00 58 */ stw r0, 0x58(r31) +/* 801095E8 00106548 48 00 00 08 */ b lbl_801095F0 +lbl_801095EC: +/* 801095EC 0010654C 38 60 00 00 */ li r3, 0 +lbl_801095F0: +/* 801095F0 00106550 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801095F4 00106554 41 82 02 14 */ beq lbl_80109808 +/* 801095F8 00106558 7F E3 FB 78 */ mr r3, r31 +/* 801095FC 0010655C 48 00 02 49 */ bl CheckDGRPLoadComplete__17CInGameGuiManagerFv +/* 80109600 00106560 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80109604 00106564 41 82 02 04 */ beq lbl_80109808 +/* 80109608 00106568 38 00 00 00 */ li r0, 0 +/* 8010960C 0010656C 38 7F 00 08 */ addi r3, r31, 8 +/* 80109610 00106570 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80109614 00106574 38 81 00 68 */ addi r4, r1, 0x68 +/* 80109618 00106578 90 01 00 70 */ stw r0, 0x70(r1) +/* 8010961C 0010657C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80109620 00106580 4B EF D1 E5 */ bl sub_80006804 +/* 80109624 00106584 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 80109628 00106588 83 81 00 74 */ lwz r28, 0x74(r1) +/* 8010962C 0010658C 54 00 18 38 */ slwi r0, r0, 3 +/* 80109630 00106590 7F BC 02 14 */ add r29, r28, r0 +/* 80109634 00106594 93 81 00 0C */ stw r28, 0xc(r1) +/* 80109638 00106598 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8010963C 0010659C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80109640 001065A0 93 81 00 08 */ stw r28, 8(r1) +/* 80109644 001065A4 48 00 00 14 */ b lbl_80109658 +lbl_80109648: +/* 80109648 001065A8 7F 83 E3 78 */ mr r3, r28 +/* 8010964C 001065AC 38 80 FF FF */ li r4, -1 +/* 80109650 001065B0 48 23 77 F1 */ bl __dt__6CTokenFv +/* 80109654 001065B4 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80109658: +/* 80109658 001065B8 7C 1C E8 40 */ cmplw r28, r29 +/* 8010965C 001065BC 40 82 FF EC */ bne lbl_80109648 +/* 80109660 001065C0 80 61 00 74 */ lwz r3, 0x74(r1) +/* 80109664 001065C4 28 03 00 00 */ cmplwi r3, 0 +/* 80109668 001065C8 41 82 00 08 */ beq lbl_80109670 +/* 8010966C 001065CC 48 20 C2 C5 */ bl Free__7CMemoryFPCv +lbl_80109670: +/* 80109670 001065D0 7F E3 FB 78 */ mr r3, r31 +/* 80109674 001065D4 48 00 02 4D */ bl sub_801098c0 +/* 80109678 001065D8 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha +/* 8010967C 001065DC 38 61 00 58 */ addi r3, r1, 0x58 +/* 80109680 001065E0 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l +/* 80109684 001065E4 38 84 02 B3 */ addi r4, r4, 0x2b3 +/* 80109688 001065E8 4B EF B6 31 */ bl string_l__4rstlFPCc +/* 8010968C 001065EC 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80109690 001065F0 38 81 00 58 */ addi r4, r1, 0x58 +/* 80109694 001065F4 80 63 02 74 */ lwz r3, 0x274(r3) +/* 80109698 001065F8 48 1B 8B 3D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8010969C 001065FC 90 7F 01 44 */ stw r3, 0x144(r31) +/* 801096A0 00106600 38 61 00 58 */ addi r3, r1, 0x58 +/* 801096A4 00106604 48 23 44 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 801096A8 00106608 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha +/* 801096AC 0010660C 38 61 00 48 */ addi r3, r1, 0x48 +/* 801096B0 00106610 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l +/* 801096B4 00106614 38 84 02 C9 */ addi r4, r4, 0x2c9 +/* 801096B8 00106618 4B EF B6 01 */ bl string_l__4rstlFPCc +/* 801096BC 0010661C 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 801096C0 00106620 38 81 00 48 */ addi r4, r1, 0x48 +/* 801096C4 00106624 80 63 02 74 */ lwz r3, 0x274(r3) +/* 801096C8 00106628 48 1B 8B 0D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 801096CC 0010662C 90 7F 01 48 */ stw r3, 0x148(r31) +/* 801096D0 00106630 38 61 00 48 */ addi r3, r1, 0x48 +/* 801096D4 00106634 48 23 44 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 801096D8 00106638 80 BF 00 34 */ lwz r5, 0x34(r31) +/* 801096DC 0010663C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 801096E0 00106640 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l +/* 801096E4 00106644 38 61 00 38 */ addi r3, r1, 0x38 +/* 801096E8 00106648 80 A5 02 74 */ lwz r5, 0x274(r5) +/* 801096EC 0010664C 38 84 02 DA */ addi r4, r4, 0x2da +/* 801096F0 00106650 80 05 00 14 */ lwz r0, 0x14(r5) +/* 801096F4 00106654 90 1F 01 4C */ stw r0, 0x14c(r31) +/* 801096F8 00106658 4B EF B5 C1 */ bl string_l__4rstlFPCc +/* 801096FC 0010665C 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80109700 00106660 38 81 00 38 */ addi r4, r1, 0x38 +/* 80109704 00106664 80 63 02 74 */ lwz r3, 0x274(r3) +/* 80109708 00106668 48 1B 8A CD */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8010970C 0010666C 90 7F 01 50 */ stw r3, 0x150(r31) +/* 80109710 00106670 38 61 00 38 */ addi r3, r1, 0x38 +/* 80109714 00106674 48 23 43 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80109718 00106678 80 9F 01 44 */ lwz r4, 0x144(r31) +/* 8010971C 0010667C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80109720 00106680 38 84 00 34 */ addi r4, r4, 0x34 +/* 80109724 00106684 48 20 8A 05 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 80109728 00106688 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8010972C 0010668C 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80109730 00106690 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l +/* 80109734 00106694 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 80109738 00106698 D0 3F 01 54 */ stfs f1, 0x154(r31) +/* 8010973C 0010669C 38 61 00 78 */ addi r3, r1, 0x78 +/* 80109740 001066A0 38 9F 01 70 */ addi r4, r31, 0x170 +/* 80109744 001066A4 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 80109748 001066A8 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8010974C 001066AC 90 BF 01 58 */ stw r5, 0x158(r31) +/* 80109750 001066B0 90 1F 01 5C */ stw r0, 0x15c(r31) +/* 80109754 001066B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80109758 001066B8 90 1F 01 60 */ stw r0, 0x160(r31) +/* 8010975C 001066BC 80 BF 01 44 */ lwz r5, 0x144(r31) +/* 80109760 001066C0 C0 65 00 60 */ lfs f3, 0x60(r5) +/* 80109764 001066C4 C0 45 00 50 */ lfs f2, 0x50(r5) +/* 80109768 001066C8 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 8010976C 001066CC D0 3F 01 64 */ stfs f1, 0x164(r31) +/* 80109770 001066D0 D0 5F 01 68 */ stfs f2, 0x168(r31) +/* 80109774 001066D4 D0 7F 01 6C */ stfs f3, 0x16c(r31) +/* 80109778 001066D8 C0 26 00 00 */ lfs f1, 0(r6) +/* 8010977C 001066DC D0 3F 01 70 */ stfs f1, 0x170(r31) +/* 80109780 001066E0 80 A6 00 04 */ lwz r5, 4(r6) +/* 80109784 001066E4 80 06 00 08 */ lwz r0, 8(r6) +/* 80109788 001066E8 90 BF 01 74 */ stw r5, 0x174(r31) +/* 8010978C 001066EC 90 1F 01 78 */ stw r0, 0x178(r31) +/* 80109790 001066F0 80 06 00 0C */ lwz r0, 0xc(r6) +/* 80109794 001066F4 90 1F 01 7C */ stw r0, 0x17c(r31) +/* 80109798 001066F8 80 DF 01 4C */ lwz r6, 0x14c(r31) +/* 8010979C 001066FC 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) +/* 801097A0 00106700 C0 26 00 40 */ lfs f1, 0x40(r6) +/* 801097A4 00106704 C0 86 00 50 */ lfs f4, 0x50(r6) +/* 801097A8 00106708 C0 6D 89 D0 */ lfs f3, lbl_805A7590@sda21(r13) +/* 801097AC 0010670C EC 01 00 2A */ fadds f0, f1, f0 +/* 801097B0 00106710 C0 46 00 60 */ lfs f2, 0x60(r6) +/* 801097B4 00106714 C0 25 00 EC */ lfs f1, 0xec(r5) +/* 801097B8 00106718 EC 64 18 2A */ fadds f3, f4, f3 +/* 801097BC 0010671C D0 1F 01 80 */ stfs f0, 0x180(r31) +/* 801097C0 00106720 EC 02 08 2A */ fadds f0, f2, f1 +/* 801097C4 00106724 D0 7F 01 84 */ stfs f3, 0x184(r31) +/* 801097C8 00106728 D0 1F 01 88 */ stfs f0, 0x188(r31) +/* 801097CC 0010672C 48 20 88 C1 */ bl BuildTransform__11CQuaternionCFv +/* 801097D0 00106730 38 61 00 9C */ addi r3, r1, 0x9c +/* 801097D4 00106734 38 81 00 78 */ addi r4, r1, 0x78 +/* 801097D8 00106738 38 BF 01 80 */ addi r5, r31, 0x180 +/* 801097DC 0010673C 48 20 9A 9D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 801097E0 00106740 7C 64 1B 78 */ mr r4, r3 +/* 801097E4 00106744 38 7F 01 8C */ addi r3, r31, 0x18c +/* 801097E8 00106748 48 20 93 59 */ bl __as__12CTransform4fFRC12CTransform4f +/* 801097EC 0010674C 7F E3 FB 78 */ mr r3, r31 +/* 801097F0 00106750 7F C5 F3 78 */ mr r5, r30 +/* 801097F4 00106754 38 80 00 01 */ li r4, 1 +/* 801097F8 00106758 4B FF DE 49 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager +/* 801097FC 0010675C 38 00 00 03 */ li r0, 3 +/* 80109800 00106760 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80109804 00106764 48 00 00 0C */ b lbl_80109810 +lbl_80109808: +/* 80109808 00106768 38 60 00 00 */ li r3, 0 +/* 8010980C 0010676C 48 00 00 18 */ b lbl_80109824 +lbl_80109810: +/* 80109810 00106770 80 7F 00 34 */ lwz r3, 0x34(r31) +/* 80109814 00106774 4B F5 CB 15 */ bl Touch__9CSamusHudCFv +/* 80109818 00106778 38 60 00 01 */ li r3, 1 +/* 8010981C 0010677C 48 00 00 08 */ b lbl_80109824 +lbl_80109820: +/* 80109820 00106780 38 60 00 00 */ li r3, 0 +lbl_80109824: +/* 80109824 00106784 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 80109828 00106788 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8010982C 0010678C 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80109830 00106790 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80109834 00106794 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 80109838 00106798 7C 08 03 A6 */ mtlr r0 +/* 8010983C 0010679C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80109840 001067A0 4E 80 00 20 */ blr + +.global CheckDGRPLoadComplete__17CInGameGuiManagerFv +CheckDGRPLoadComplete__17CInGameGuiManagerFv: +/* 80109844 001067A4 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 80109848 001067A8 38 83 00 60 */ addi r4, r3, 0x60 +/* 8010984C 001067AC 7C 86 23 78 */ mr r6, r4 +/* 80109850 001067B0 54 00 18 38 */ slwi r0, r0, 3 +/* 80109854 001067B4 7C A4 02 14 */ add r5, r4, r0 +/* 80109858 001067B8 48 00 00 20 */ b lbl_80109878 +lbl_8010985C: +/* 8010985C 001067BC 80 86 00 00 */ lwz r4, 0(r6) +/* 80109860 001067C0 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80109864 001067C4 28 00 00 00 */ cmplwi r0, 0 +/* 80109868 001067C8 40 82 00 0C */ bne lbl_80109874 +/* 8010986C 001067CC 38 60 00 00 */ li r3, 0 +/* 80109870 001067D0 4E 80 00 20 */ blr +lbl_80109874: +/* 80109874 001067D4 38 C6 00 08 */ addi r6, r6, 8 +lbl_80109878: +/* 80109878 001067D8 7C 06 28 40 */ cmplw r6, r5 +/* 8010987C 001067DC 40 82 FF E0 */ bne lbl_8010985C +/* 80109880 001067E0 80 03 00 CC */ lwz r0, 0xcc(r3) +/* 80109884 001067E4 80 A3 00 D4 */ lwz r5, 0xd4(r3) +/* 80109888 001067E8 54 00 18 38 */ slwi r0, r0, 3 +/* 8010988C 001067EC 7C 85 02 14 */ add r4, r5, r0 +/* 80109890 001067F0 48 00 00 20 */ b lbl_801098B0 +lbl_80109894: +/* 80109894 001067F4 80 65 00 00 */ lwz r3, 0(r5) +/* 80109898 001067F8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8010989C 001067FC 28 00 00 00 */ cmplwi r0, 0 +/* 801098A0 00106800 40 82 00 0C */ bne lbl_801098AC +/* 801098A4 00106804 38 60 00 00 */ li r3, 0 +/* 801098A8 00106808 4E 80 00 20 */ blr +lbl_801098AC: +/* 801098AC 0010680C 38 A5 00 08 */ addi r5, r5, 8 +lbl_801098B0: +/* 801098B0 00106810 7C 05 20 40 */ cmplw r5, r4 +/* 801098B4 00106814 40 82 FF E0 */ bne lbl_80109894 +/* 801098B8 00106818 38 60 00 01 */ li r3, 1 +/* 801098BC 0010681C 4E 80 00 20 */ blr + +.global sub_801098c0 +sub_801098c0: +/* 801098C0 00106820 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 801098C4 00106824 7C 08 02 A6 */ mflr r0 +/* 801098C8 00106828 90 01 00 54 */ stw r0, 0x54(r1) +/* 801098CC 0010682C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 801098D0 00106830 3B E0 00 00 */ li r31, 0 +/* 801098D4 00106834 93 C1 00 48 */ stw r30, 0x48(r1) +/* 801098D8 00106838 93 A1 00 44 */ stw r29, 0x44(r1) +/* 801098DC 0010683C 3F A0 54 58 */ lis r29, 0x5458 +/* 801098E0 00106840 93 81 00 40 */ stw r28, 0x40(r1) +/* 801098E4 00106844 7C 7C 1B 78 */ mr r28, r3 +/* 801098E8 00106848 83 C3 00 D4 */ lwz r30, 0xd4(r3) +/* 801098EC 0010684C 48 00 00 20 */ b lbl_8010990C +lbl_801098F0: +/* 801098F0 00106850 7F C3 F3 78 */ mr r3, r30 +/* 801098F4 00106854 48 23 75 19 */ bl GetObj__6CTokenFv +/* 801098F8 00106858 80 63 00 04 */ lwz r3, 4(r3) +/* 801098FC 0010685C 38 9D 54 52 */ addi r4, r29, 0x5452 +/* 80109900 00106860 48 25 B9 BD */ bl sub_803652bc +/* 80109904 00106864 7F FF 1A 14 */ add r31, r31, r3 +/* 80109908 00106868 3B DE 00 08 */ addi r30, r30, 8 +lbl_8010990C: +/* 8010990C 0010686C 80 1C 00 CC */ lwz r0, 0xcc(r28) +/* 80109910 00106870 80 7C 00 D4 */ lwz r3, 0xd4(r28) +/* 80109914 00106874 54 00 18 38 */ slwi r0, r0, 3 +/* 80109918 00106878 7C 03 02 14 */ add r0, r3, r0 +/* 8010991C 0010687C 7C 1E 00 40 */ cmplw r30, r0 +/* 80109920 00106880 40 82 FF D0 */ bne lbl_801098F0 +/* 80109924 00106884 7F E4 FB 78 */ mr r4, r31 +/* 80109928 00106888 38 7C 00 D8 */ addi r3, r28, 0xd8 +/* 8010992C 0010688C 4B F5 A1 F9 */ bl "reserve__Q24rstl37vectorFi" +/* 80109930 00106890 83 DC 00 D4 */ lwz r30, 0xd4(r28) +/* 80109934 00106894 48 00 00 EC */ b lbl_80109A20 +lbl_80109938: +/* 80109938 00106898 7F C3 F3 78 */ mr r3, r30 +/* 8010993C 0010689C 48 23 74 D1 */ bl GetObj__6CTokenFv +/* 80109940 001068A0 83 E3 00 04 */ lwz r31, 4(r3) +/* 80109944 001068A4 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 80109948 001068A8 48 00 00 BC */ b lbl_80109A04 +lbl_8010994C: +/* 8010994C 001068AC 80 7D 00 00 */ lwz r3, 0(r29) +/* 80109950 001068B0 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 80109954 001068B4 28 00 54 52 */ cmplwi r0, 0x5452 +/* 80109958 001068B8 40 82 00 A8 */ bne lbl_80109A00 +/* 8010995C 001068BC 80 DC 00 DC */ lwz r6, 0xdc(r28) +/* 80109960 001068C0 80 7C 00 E4 */ lwz r3, 0xe4(r28) +/* 80109964 001068C4 54 C0 10 3A */ slwi r0, r6, 2 +/* 80109968 001068C8 7C A3 02 14 */ add r5, r3, r0 +/* 8010996C 001068CC 90 61 00 20 */ stw r3, 0x20(r1) +/* 80109970 001068D0 90 61 00 24 */ stw r3, 0x24(r1) +/* 80109974 001068D4 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80109978 001068D8 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8010997C 001068DC 48 00 00 10 */ b lbl_8010998C +lbl_80109980: +/* 80109980 001068E0 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80109984 001068E4 38 03 00 04 */ addi r0, r3, 4 +/* 80109988 001068E8 90 01 00 24 */ stw r0, 0x24(r1) +lbl_8010998C: +/* 8010998C 001068EC 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80109990 001068F0 7C 04 28 40 */ cmplw r4, r5 +/* 80109994 001068F4 41 82 00 14 */ beq lbl_801099A8 +/* 80109998 001068F8 80 7D 00 04 */ lwz r3, 4(r29) +/* 8010999C 001068FC 80 04 00 00 */ lwz r0, 0(r4) +/* 801099A0 00106900 7C 03 00 40 */ cmplw r3, r0 +/* 801099A4 00106904 40 82 FF DC */ bne lbl_80109980 +lbl_801099A8: +/* 801099A8 00106908 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801099AC 0010690C 7C 05 00 40 */ cmplw r5, r0 +/* 801099B0 00106910 40 82 00 50 */ bne lbl_80109A00 +/* 801099B4 00106914 80 1C 00 E0 */ lwz r0, 0xe0(r28) +/* 801099B8 00106918 7C 06 00 00 */ cmpw r6, r0 +/* 801099BC 0010691C 41 80 00 1C */ blt lbl_801099D8 +/* 801099C0 00106920 2C 00 00 00 */ cmpwi r0, 0 +/* 801099C4 00106924 38 7C 00 D8 */ addi r3, r28, 0xd8 +/* 801099C8 00106928 38 80 00 04 */ li r4, 4 +/* 801099CC 0010692C 41 82 00 08 */ beq lbl_801099D4 +/* 801099D0 00106930 54 04 08 3C */ slwi r4, r0, 1 +lbl_801099D4: +/* 801099D4 00106934 4B F5 A1 51 */ bl "reserve__Q24rstl37vectorFi" +lbl_801099D8: +/* 801099D8 00106938 80 1C 00 DC */ lwz r0, 0xdc(r28) +/* 801099DC 0010693C 80 7C 00 E4 */ lwz r3, 0xe4(r28) +/* 801099E0 00106940 54 00 10 3A */ slwi r0, r0, 2 +/* 801099E4 00106944 7C 63 02 15 */ add. r3, r3, r0 +/* 801099E8 00106948 41 82 00 0C */ beq lbl_801099F4 +/* 801099EC 0010694C 80 1D 00 04 */ lwz r0, 4(r29) +/* 801099F0 00106950 90 03 00 00 */ stw r0, 0(r3) +lbl_801099F4: +/* 801099F4 00106954 80 7C 00 DC */ lwz r3, 0xdc(r28) +/* 801099F8 00106958 38 03 00 01 */ addi r0, r3, 1 +/* 801099FC 0010695C 90 1C 00 DC */ stw r0, 0xdc(r28) +lbl_80109A00: +/* 80109A00 00106960 3B BD 00 08 */ addi r29, r29, 8 +lbl_80109A04: +/* 80109A04 00106964 80 1F 00 04 */ lwz r0, 4(r31) +/* 80109A08 00106968 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80109A0C 0010696C 54 00 18 38 */ slwi r0, r0, 3 +/* 80109A10 00106970 7C 03 02 14 */ add r0, r3, r0 +/* 80109A14 00106974 7C 1D 00 40 */ cmplw r29, r0 +/* 80109A18 00106978 40 82 FF 34 */ bne lbl_8010994C +/* 80109A1C 0010697C 3B DE 00 08 */ addi r30, r30, 8 +lbl_80109A20: +/* 80109A20 00106980 80 1C 00 CC */ lwz r0, 0xcc(r28) +/* 80109A24 00106984 80 7C 00 D4 */ lwz r3, 0xd4(r28) +/* 80109A28 00106988 54 00 18 38 */ slwi r0, r0, 3 +/* 80109A2C 0010698C 7C 03 02 14 */ add r0, r3, r0 +/* 80109A30 00106990 7C 1E 00 40 */ cmplw r30, r0 +/* 80109A34 00106994 40 82 FF 04 */ bne lbl_80109938 +/* 80109A38 00106998 38 00 00 00 */ li r0, 0 +/* 80109A3C 0010699C 38 7C 00 C8 */ addi r3, r28, 0xc8 +/* 80109A40 001069A0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80109A44 001069A4 38 81 00 30 */ addi r4, r1, 0x30 +/* 80109A48 001069A8 90 01 00 38 */ stw r0, 0x38(r1) +/* 80109A4C 001069AC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80109A50 001069B0 48 00 01 2D */ bl sub_80109b7c +/* 80109A54 001069B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80109A58 001069B8 83 C1 00 3C */ lwz r30, 0x3c(r1) +/* 80109A5C 001069BC 54 00 18 38 */ slwi r0, r0, 3 +/* 80109A60 001069C0 7F BE 02 14 */ add r29, r30, r0 +/* 80109A64 001069C4 93 C1 00 0C */ stw r30, 0xc(r1) +/* 80109A68 001069C8 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80109A6C 001069CC 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80109A70 001069D0 93 C1 00 08 */ stw r30, 8(r1) +/* 80109A74 001069D4 48 00 00 1C */ b lbl_80109A90 +lbl_80109A78: +/* 80109A78 001069D8 28 1E 00 00 */ cmplwi r30, 0 +/* 80109A7C 001069DC 41 82 00 10 */ beq lbl_80109A8C +/* 80109A80 001069E0 7F C3 F3 78 */ mr r3, r30 +/* 80109A84 001069E4 38 80 00 00 */ li r4, 0 +/* 80109A88 001069E8 48 23 73 B9 */ bl __dt__6CTokenFv +lbl_80109A8C: +/* 80109A8C 001069EC 3B DE 00 08 */ addi r30, r30, 8 +lbl_80109A90: +/* 80109A90 001069F0 7C 1E E8 40 */ cmplw r30, r29 +/* 80109A94 001069F4 40 82 FF E4 */ bne lbl_80109A78 +/* 80109A98 001069F8 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80109A9C 001069FC 28 03 00 00 */ cmplwi r3, 0 +/* 80109AA0 00106A00 41 82 00 08 */ beq lbl_80109AA8 +/* 80109AA4 00106A04 48 20 BE 8D */ bl Free__7CMemoryFPCv +lbl_80109AA8: +/* 80109AA8 00106A08 38 7C 00 C0 */ addi r3, r28, 0xc0 +/* 80109AAC 00106A0C 48 23 73 61 */ bl GetObj__6CTokenFv +/* 80109AB0 00106A10 83 A3 00 04 */ lwz r29, 4(r3) +/* 80109AB4 00106A14 38 7C 00 E8 */ addi r3, r28, 0xe8 +/* 80109AB8 00106A18 80 9D 00 04 */ lwz r4, 4(r29) +/* 80109ABC 00106A1C 4B EF EE A1 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 80109AC0 00106A20 83 DD 00 0C */ lwz r30, 0xc(r29) +/* 80109AC4 00106A24 48 00 00 80 */ b lbl_80109B44 +lbl_80109AC8: +/* 80109AC8 00106A28 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80109ACC 00106A2C 7F C5 F3 78 */ mr r5, r30 +/* 80109AD0 00106A30 38 61 00 28 */ addi r3, r1, 0x28 +/* 80109AD4 00106A34 81 84 00 00 */ lwz r12, 0(r4) +/* 80109AD8 00106A38 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80109ADC 00106A3C 7D 89 03 A6 */ mtctr r12 +/* 80109AE0 00106A40 4E 80 04 21 */ bctrl +/* 80109AE4 00106A44 80 1C 00 EC */ lwz r0, 0xec(r28) +/* 80109AE8 00106A48 80 BC 00 F0 */ lwz r5, 0xf0(r28) +/* 80109AEC 00106A4C 7C 00 28 00 */ cmpw r0, r5 +/* 80109AF0 00106A50 41 80 00 1C */ blt lbl_80109B0C +/* 80109AF4 00106A54 2C 05 00 00 */ cmpwi r5, 0 +/* 80109AF8 00106A58 38 7C 00 E8 */ addi r3, r28, 0xe8 +/* 80109AFC 00106A5C 38 80 00 04 */ li r4, 4 +/* 80109B00 00106A60 41 82 00 08 */ beq lbl_80109B08 +/* 80109B04 00106A64 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80109B08: +/* 80109B08 00106A68 4B EF EE 55 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_80109B0C: +/* 80109B0C 00106A6C 80 1C 00 EC */ lwz r0, 0xec(r28) +/* 80109B10 00106A70 80 7C 00 F4 */ lwz r3, 0xf4(r28) +/* 80109B14 00106A74 54 00 18 38 */ slwi r0, r0, 3 +/* 80109B18 00106A78 7C 63 02 15 */ add. r3, r3, r0 +/* 80109B1C 00106A7C 41 82 00 0C */ beq lbl_80109B28 +/* 80109B20 00106A80 38 81 00 28 */ addi r4, r1, 0x28 +/* 80109B24 00106A84 48 23 73 85 */ bl __ct__6CTokenFRC6CToken +lbl_80109B28: +/* 80109B28 00106A88 80 BC 00 EC */ lwz r5, 0xec(r28) +/* 80109B2C 00106A8C 38 61 00 28 */ addi r3, r1, 0x28 +/* 80109B30 00106A90 38 80 FF FF */ li r4, -1 +/* 80109B34 00106A94 38 05 00 01 */ addi r0, r5, 1 +/* 80109B38 00106A98 90 1C 00 EC */ stw r0, 0xec(r28) +/* 80109B3C 00106A9C 48 23 73 05 */ bl __dt__6CTokenFv +/* 80109B40 00106AA0 3B DE 00 08 */ addi r30, r30, 8 +lbl_80109B44: +/* 80109B44 00106AA4 80 1D 00 04 */ lwz r0, 4(r29) +/* 80109B48 00106AA8 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 80109B4C 00106AAC 54 00 18 38 */ slwi r0, r0, 3 +/* 80109B50 00106AB0 7C 03 02 14 */ add r0, r3, r0 +/* 80109B54 00106AB4 7C 1E 00 40 */ cmplw r30, r0 +/* 80109B58 00106AB8 40 82 FF 70 */ bne lbl_80109AC8 +/* 80109B5C 00106ABC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80109B60 00106AC0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80109B64 00106AC4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80109B68 00106AC8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80109B6C 00106ACC 83 81 00 40 */ lwz r28, 0x40(r1) +/* 80109B70 00106AD0 7C 08 03 A6 */ mtlr r0 +/* 80109B74 00106AD4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80109B78 00106AD8 4E 80 00 20 */ blr + +.global sub_80109b7c +sub_80109b7c: +/* 80109B7C 00106ADC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80109B80 00106AE0 7C 08 02 A6 */ mflr r0 +/* 80109B84 00106AE4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80109B88 00106AE8 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80109B8C 00106AEC 7C 7F 1B 78 */ mr r31, r3 +/* 80109B90 00106AF0 7C 9B 23 78 */ mr r27, r4 +/* 80109B94 00106AF4 7C 1F D8 40 */ cmplw r31, r27 +/* 80109B98 00106AF8 40 82 00 08 */ bne lbl_80109BA0 +/* 80109B9C 00106AFC 48 00 00 D0 */ b lbl_80109C6C +lbl_80109BA0: +/* 80109BA0 00106B00 80 1F 00 04 */ lwz r0, 4(r31) +/* 80109BA4 00106B04 83 BF 00 0C */ lwz r29, 0xc(r31) +/* 80109BA8 00106B08 54 00 18 38 */ slwi r0, r0, 3 +/* 80109BAC 00106B0C 7F DD 02 14 */ add r30, r29, r0 +/* 80109BB0 00106B10 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80109BB4 00106B14 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80109BB8 00106B18 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80109BBC 00106B1C 93 A1 00 08 */ stw r29, 8(r1) +/* 80109BC0 00106B20 48 00 00 1C */ b lbl_80109BDC +lbl_80109BC4: +/* 80109BC4 00106B24 28 1D 00 00 */ cmplwi r29, 0 +/* 80109BC8 00106B28 41 82 00 10 */ beq lbl_80109BD8 +/* 80109BCC 00106B2C 7F A3 EB 78 */ mr r3, r29 +/* 80109BD0 00106B30 38 80 00 00 */ li r4, 0 +/* 80109BD4 00106B34 48 23 72 6D */ bl __dt__6CTokenFv +lbl_80109BD8: +/* 80109BD8 00106B38 3B BD 00 08 */ addi r29, r29, 8 +lbl_80109BDC: +/* 80109BDC 00106B3C 7C 1D F0 40 */ cmplw r29, r30 +/* 80109BE0 00106B40 40 82 FF E4 */ bne lbl_80109BC4 +/* 80109BE4 00106B44 38 00 00 00 */ li r0, 0 +/* 80109BE8 00106B48 90 1F 00 04 */ stw r0, 4(r31) +/* 80109BEC 00106B4C 80 9B 00 04 */ lwz r4, 4(r27) +/* 80109BF0 00106B50 2C 04 00 00 */ cmpwi r4, 0 +/* 80109BF4 00106B54 40 82 00 28 */ bne lbl_80109C1C +/* 80109BF8 00106B58 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80109BFC 00106B5C 28 03 00 00 */ cmplwi r3, 0 +/* 80109C00 00106B60 41 82 00 08 */ beq lbl_80109C08 +/* 80109C04 00106B64 48 20 BD 2D */ bl Free__7CMemoryFPCv +lbl_80109C08: +/* 80109C08 00106B68 38 00 00 00 */ li r0, 0 +/* 80109C0C 00106B6C 90 1F 00 04 */ stw r0, 4(r31) +/* 80109C10 00106B70 90 1F 00 08 */ stw r0, 8(r31) +/* 80109C14 00106B74 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80109C18 00106B78 48 00 00 50 */ b lbl_80109C68 +lbl_80109C1C: +/* 80109C1C 00106B7C 7F E3 FB 78 */ mr r3, r31 +/* 80109C20 00106B80 48 00 0B ED */ bl sub_8010a80c +/* 80109C24 00106B84 80 1B 00 04 */ lwz r0, 4(r27) +/* 80109C28 00106B88 83 9B 00 0C */ lwz r28, 0xc(r27) +/* 80109C2C 00106B8C 54 00 18 38 */ slwi r0, r0, 3 +/* 80109C30 00106B90 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 80109C34 00106B94 7F BC 02 14 */ add r29, r28, r0 +/* 80109C38 00106B98 48 00 00 20 */ b lbl_80109C58 +lbl_80109C3C: +/* 80109C3C 00106B9C 28 1E 00 00 */ cmplwi r30, 0 +/* 80109C40 00106BA0 41 82 00 10 */ beq lbl_80109C50 +/* 80109C44 00106BA4 7F C3 F3 78 */ mr r3, r30 +/* 80109C48 00106BA8 7F 84 E3 78 */ mr r4, r28 +/* 80109C4C 00106BAC 48 23 72 5D */ bl __ct__6CTokenFRC6CToken +lbl_80109C50: +/* 80109C50 00106BB0 3B DE 00 08 */ addi r30, r30, 8 +/* 80109C54 00106BB4 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80109C58: +/* 80109C58 00106BB8 7C 1C E8 40 */ cmplw r28, r29 +/* 80109C5C 00106BBC 40 82 FF E0 */ bne lbl_80109C3C +/* 80109C60 00106BC0 80 1B 00 04 */ lwz r0, 4(r27) +/* 80109C64 00106BC4 90 1F 00 04 */ stw r0, 4(r31) +lbl_80109C68: +/* 80109C68 00106BC8 7F E3 FB 78 */ mr r3, r31 +lbl_80109C6C: +/* 80109C6C 00106BCC BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80109C70 00106BD0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80109C74 00106BD4 7C 08 03 A6 */ mtlr r0 +/* 80109C78 00106BD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80109C7C 00106BDC 4E 80 00 20 */ blr + +.global __dt__17CInGameGuiManagerFv +__dt__17CInGameGuiManagerFv: +/* 80109C80 00106BE0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80109C84 00106BE4 7C 08 02 A6 */ mflr r0 +/* 80109C88 00106BE8 90 01 00 64 */ stw r0, 0x64(r1) +/* 80109C8C 00106BEC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80109C90 00106BF0 7C 9F 23 78 */ mr r31, r4 +/* 80109C94 00106BF4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80109C98 00106BF8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80109C9C 00106BFC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80109CA0 00106C00 93 81 00 50 */ stw r28, 0x50(r1) +/* 80109CA4 00106C04 41 82 03 C0 */ beq lbl_8010A064 +/* 80109CA8 00106C08 34 1E 01 DC */ addic. r0, r30, 0x1dc +/* 80109CAC 00106C0C 41 82 00 28 */ beq lbl_80109CD4 +/* 80109CB0 00106C10 83 BE 01 DC */ lwz r29, 0x1dc(r30) +/* 80109CB4 00106C14 28 1D 00 00 */ cmplwi r29, 0 +/* 80109CB8 00106C18 41 82 00 1C */ beq lbl_80109CD4 +/* 80109CBC 00106C1C 41 82 00 10 */ beq lbl_80109CCC +/* 80109CC0 00106C20 7F A3 EB 78 */ mr r3, r29 +/* 80109CC4 00106C24 38 80 00 00 */ li r4, 0 +/* 80109CC8 00106C28 48 23 71 79 */ bl __dt__6CTokenFv +lbl_80109CCC: +/* 80109CCC 00106C2C 7F A3 EB 78 */ mr r3, r29 +/* 80109CD0 00106C30 48 20 BC 61 */ bl Free__7CMemoryFPCv +lbl_80109CD4: +/* 80109CD4 00106C34 38 7E 01 2C */ addi r3, r30, 0x12c +/* 80109CD8 00106C38 38 80 FF FF */ li r4, -1 +/* 80109CDC 00106C3C 48 00 0D DD */ bl sub_8010aab8 +/* 80109CE0 00106C40 34 1E 00 F8 */ addic. r0, r30, 0xf8 +/* 80109CE4 00106C44 41 82 00 3C */ beq lbl_80109D20 +/* 80109CE8 00106C48 34 1E 01 1C */ addic. r0, r30, 0x11c +/* 80109CEC 00106C4C 41 82 00 34 */ beq lbl_80109D20 +/* 80109CF0 00106C50 88 1E 01 1C */ lbz r0, 0x11c(r30) +/* 80109CF4 00106C54 28 00 00 00 */ cmplwi r0, 0 +/* 80109CF8 00106C58 41 82 00 28 */ beq lbl_80109D20 +/* 80109CFC 00106C5C 83 BE 01 20 */ lwz r29, 0x120(r30) +/* 80109D00 00106C60 28 1D 00 00 */ cmplwi r29, 0 +/* 80109D04 00106C64 41 82 00 1C */ beq lbl_80109D20 +/* 80109D08 00106C68 41 82 00 10 */ beq lbl_80109D18 +/* 80109D0C 00106C6C 7F A3 EB 78 */ mr r3, r29 +/* 80109D10 00106C70 38 80 00 00 */ li r4, 0 +/* 80109D14 00106C74 48 23 71 2D */ bl __dt__6CTokenFv +lbl_80109D18: +/* 80109D18 00106C78 7F A3 EB 78 */ mr r3, r29 +/* 80109D1C 00106C7C 48 20 BC 15 */ bl Free__7CMemoryFPCv +lbl_80109D20: +/* 80109D20 00106C80 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 80109D24 00106C84 41 82 00 50 */ beq lbl_80109D74 +/* 80109D28 00106C88 80 1E 00 EC */ lwz r0, 0xec(r30) +/* 80109D2C 00106C8C 83 9E 00 F4 */ lwz r28, 0xf4(r30) +/* 80109D30 00106C90 54 00 18 38 */ slwi r0, r0, 3 +/* 80109D34 00106C94 7F BC 02 14 */ add r29, r28, r0 +/* 80109D38 00106C98 93 81 00 3C */ stw r28, 0x3c(r1) +/* 80109D3C 00106C9C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80109D40 00106CA0 93 A1 00 40 */ stw r29, 0x40(r1) +/* 80109D44 00106CA4 93 81 00 38 */ stw r28, 0x38(r1) +/* 80109D48 00106CA8 48 00 00 14 */ b lbl_80109D5C +lbl_80109D4C: +/* 80109D4C 00106CAC 7F 83 E3 78 */ mr r3, r28 +/* 80109D50 00106CB0 38 80 FF FF */ li r4, -1 +/* 80109D54 00106CB4 48 23 70 ED */ bl __dt__6CTokenFv +/* 80109D58 00106CB8 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80109D5C: +/* 80109D5C 00106CBC 7C 1C E8 40 */ cmplw r28, r29 +/* 80109D60 00106CC0 40 82 FF EC */ bne lbl_80109D4C +/* 80109D64 00106CC4 80 7E 00 F4 */ lwz r3, 0xf4(r30) +/* 80109D68 00106CC8 28 03 00 00 */ cmplwi r3, 0 +/* 80109D6C 00106CCC 41 82 00 08 */ beq lbl_80109D74 +/* 80109D70 00106CD0 48 20 BB C1 */ bl Free__7CMemoryFPCv +lbl_80109D74: +/* 80109D74 00106CD4 34 1E 00 D8 */ addic. r0, r30, 0xd8 +/* 80109D78 00106CD8 41 82 00 44 */ beq lbl_80109DBC +/* 80109D7C 00106CDC 80 1E 00 DC */ lwz r0, 0xdc(r30) +/* 80109D80 00106CE0 80 7E 00 E4 */ lwz r3, 0xe4(r30) +/* 80109D84 00106CE4 54 00 10 3A */ slwi r0, r0, 2 +/* 80109D88 00106CE8 7C 03 02 14 */ add r0, r3, r0 +/* 80109D8C 00106CEC 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80109D90 00106CF0 7C 64 1B 78 */ mr r4, r3 +/* 80109D94 00106CF4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80109D98 00106CF8 90 01 00 30 */ stw r0, 0x30(r1) +/* 80109D9C 00106CFC 90 61 00 28 */ stw r3, 0x28(r1) +/* 80109DA0 00106D00 48 00 00 08 */ b lbl_80109DA8 +lbl_80109DA4: +/* 80109DA4 00106D04 38 84 00 04 */ addi r4, r4, 4 +lbl_80109DA8: +/* 80109DA8 00106D08 7C 04 00 40 */ cmplw r4, r0 +/* 80109DAC 00106D0C 40 82 FF F8 */ bne lbl_80109DA4 +/* 80109DB0 00106D10 28 03 00 00 */ cmplwi r3, 0 +/* 80109DB4 00106D14 41 82 00 08 */ beq lbl_80109DBC +/* 80109DB8 00106D18 48 20 BB 79 */ bl Free__7CMemoryFPCv +lbl_80109DBC: +/* 80109DBC 00106D1C 34 1E 00 C8 */ addic. r0, r30, 0xc8 +/* 80109DC0 00106D20 41 82 00 58 */ beq lbl_80109E18 +/* 80109DC4 00106D24 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 80109DC8 00106D28 83 9E 00 D4 */ lwz r28, 0xd4(r30) +/* 80109DCC 00106D2C 54 00 18 38 */ slwi r0, r0, 3 +/* 80109DD0 00106D30 7F BC 02 14 */ add r29, r28, r0 +/* 80109DD4 00106D34 93 81 00 1C */ stw r28, 0x1c(r1) +/* 80109DD8 00106D38 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80109DDC 00106D3C 93 A1 00 20 */ stw r29, 0x20(r1) +/* 80109DE0 00106D40 93 81 00 18 */ stw r28, 0x18(r1) +/* 80109DE4 00106D44 48 00 00 1C */ b lbl_80109E00 +lbl_80109DE8: +/* 80109DE8 00106D48 28 1C 00 00 */ cmplwi r28, 0 +/* 80109DEC 00106D4C 41 82 00 10 */ beq lbl_80109DFC +/* 80109DF0 00106D50 7F 83 E3 78 */ mr r3, r28 +/* 80109DF4 00106D54 38 80 00 00 */ li r4, 0 +/* 80109DF8 00106D58 48 23 70 49 */ bl __dt__6CTokenFv +lbl_80109DFC: +/* 80109DFC 00106D5C 3B 9C 00 08 */ addi r28, r28, 8 +lbl_80109E00: +/* 80109E00 00106D60 7C 1C E8 40 */ cmplw r28, r29 +/* 80109E04 00106D64 40 82 FF E4 */ bne lbl_80109DE8 +/* 80109E08 00106D68 80 7E 00 D4 */ lwz r3, 0xd4(r30) +/* 80109E0C 00106D6C 28 03 00 00 */ cmplwi r3, 0 +/* 80109E10 00106D70 41 82 00 08 */ beq lbl_80109E18 +/* 80109E14 00106D74 48 20 BB 1D */ bl Free__7CMemoryFPCv +lbl_80109E18: +/* 80109E18 00106D78 34 1E 00 5C */ addic. r0, r30, 0x5c +/* 80109E1C 00106D7C 41 82 00 40 */ beq lbl_80109E5C +/* 80109E20 00106D80 3B 9E 00 60 */ addi r28, r30, 0x60 +/* 80109E24 00106D84 3B A0 00 00 */ li r29, 0 +/* 80109E28 00106D88 48 00 00 20 */ b lbl_80109E48 +lbl_80109E2C: +/* 80109E2C 00106D8C 28 1C 00 00 */ cmplwi r28, 0 +/* 80109E30 00106D90 41 82 00 10 */ beq lbl_80109E40 +/* 80109E34 00106D94 7F 83 E3 78 */ mr r3, r28 +/* 80109E38 00106D98 38 80 00 00 */ li r4, 0 +/* 80109E3C 00106D9C 48 23 70 05 */ bl __dt__6CTokenFv +lbl_80109E40: +/* 80109E40 00106DA0 3B 9C 00 08 */ addi r28, r28, 8 +/* 80109E44 00106DA4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80109E48: +/* 80109E48 00106DA8 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 80109E4C 00106DAC 7C 1D 00 00 */ cmpw r29, r0 +/* 80109E50 00106DB0 41 80 FF DC */ blt lbl_80109E2C +/* 80109E54 00106DB4 38 00 00 00 */ li r0, 0 +/* 80109E58 00106DB8 90 1E 00 5C */ stw r0, 0x5c(r30) +lbl_80109E5C: +/* 80109E5C 00106DBC 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 80109E60 00106DC0 41 82 00 18 */ beq lbl_80109E78 +/* 80109E64 00106DC4 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 80109E68 00106DC8 41 82 00 10 */ beq lbl_80109E78 +/* 80109E6C 00106DCC 38 7E 00 50 */ addi r3, r30, 0x50 +/* 80109E70 00106DD0 38 80 00 00 */ li r4, 0 +/* 80109E74 00106DD4 48 23 6F CD */ bl __dt__6CTokenFv +lbl_80109E78: +/* 80109E78 00106DD8 34 1E 00 4C */ addic. r0, r30, 0x4c +/* 80109E7C 00106DDC 41 82 00 10 */ beq lbl_80109E8C +/* 80109E80 00106DE0 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 80109E84 00106DE4 38 80 00 01 */ li r4, 1 +/* 80109E88 00106DE8 48 14 5F 9D */ bl __dt__15CSaveGameScreenFv +lbl_80109E8C: +/* 80109E8C 00106DEC 34 1E 00 48 */ addic. r0, r30, 0x48 +/* 80109E90 00106DF0 41 82 00 10 */ beq lbl_80109EA0 +/* 80109E94 00106DF4 80 7E 00 48 */ lwz r3, 0x48(r30) +/* 80109E98 00106DF8 38 80 00 01 */ li r4, 1 +/* 80109E9C 00106DFC 4B F6 9F F1 */ bl __dt__12CPauseScreenFv +lbl_80109EA0: +/* 80109EA0 00106E00 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 80109EA4 00106E04 41 82 00 4C */ beq lbl_80109EF0 +/* 80109EA8 00106E08 83 BE 00 44 */ lwz r29, 0x44(r30) +/* 80109EAC 00106E0C 28 1D 00 00 */ cmplwi r29, 0 +/* 80109EB0 00106E10 41 82 00 40 */ beq lbl_80109EF0 +/* 80109EB4 00106E14 34 1D 00 0C */ addic. r0, r29, 0xc +/* 80109EB8 00106E18 41 82 00 18 */ beq lbl_80109ED0 +/* 80109EBC 00106E1C 34 1D 00 0C */ addic. r0, r29, 0xc +/* 80109EC0 00106E20 41 82 00 10 */ beq lbl_80109ED0 +/* 80109EC4 00106E24 38 7D 00 0C */ addi r3, r29, 0xc +/* 80109EC8 00106E28 38 80 00 00 */ li r4, 0 +/* 80109ECC 00106E2C 48 23 6F 75 */ bl __dt__6CTokenFv +lbl_80109ED0: +/* 80109ED0 00106E30 28 1D 00 00 */ cmplwi r29, 0 +/* 80109ED4 00106E34 41 82 00 14 */ beq lbl_80109EE8 +/* 80109ED8 00106E38 41 82 00 10 */ beq lbl_80109EE8 +/* 80109EDC 00106E3C 7F A3 EB 78 */ mr r3, r29 +/* 80109EE0 00106E40 38 80 00 00 */ li r4, 0 +/* 80109EE4 00106E44 48 23 6F 5D */ bl __dt__6CTokenFv +lbl_80109EE8: +/* 80109EE8 00106E48 7F A3 EB 78 */ mr r3, r29 +/* 80109EEC 00106E4C 48 20 BA 45 */ bl Free__7CMemoryFPCv +lbl_80109EF0: +/* 80109EF0 00106E50 34 1E 00 40 */ addic. r0, r30, 0x40 +/* 80109EF4 00106E54 41 82 00 38 */ beq lbl_80109F2C +/* 80109EF8 00106E58 83 BE 00 40 */ lwz r29, 0x40(r30) +/* 80109EFC 00106E5C 28 1D 00 00 */ cmplwi r29, 0 +/* 80109F00 00106E60 41 82 00 2C */ beq lbl_80109F2C +/* 80109F04 00106E64 34 1D 00 4C */ addic. r0, r29, 0x4c +/* 80109F08 00106E68 41 82 00 10 */ beq lbl_80109F18 +/* 80109F0C 00106E6C 80 7D 00 4C */ lwz r3, 0x4c(r29) +/* 80109F10 00106E70 38 80 00 01 */ li r4, 1 +/* 80109F14 00106E74 4B FF B1 C1 */ bl __dt__12CActorLightsFv +lbl_80109F18: +/* 80109F18 00106E78 7F A3 EB 78 */ mr r3, r29 +/* 80109F1C 00106E7C 38 80 FF FF */ li r4, -1 +/* 80109F20 00106E80 48 00 CB 2D */ bl __dt__10CModelDataFv +/* 80109F24 00106E84 7F A3 EB 78 */ mr r3, r29 +/* 80109F28 00106E88 48 20 BA 09 */ bl Free__7CMemoryFPCv +lbl_80109F2C: +/* 80109F2C 00106E8C 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 80109F30 00106E90 41 82 00 24 */ beq lbl_80109F54 +/* 80109F34 00106E94 80 7E 00 3C */ lwz r3, 0x3c(r30) +/* 80109F38 00106E98 28 03 00 00 */ cmplwi r3, 0 +/* 80109F3C 00106E9C 41 82 00 18 */ beq lbl_80109F54 +/* 80109F40 00106EA0 81 83 00 00 */ lwz r12, 0(r3) +/* 80109F44 00106EA4 38 80 00 01 */ li r4, 1 +/* 80109F48 00106EA8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80109F4C 00106EAC 7D 89 03 A6 */ mtctr r12 +/* 80109F50 00106EB0 4E 80 04 21 */ bctrl +lbl_80109F54: +/* 80109F54 00106EB4 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 80109F58 00106EB8 41 82 00 24 */ beq lbl_80109F7C +/* 80109F5C 00106EBC 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 80109F60 00106EC0 28 03 00 00 */ cmplwi r3, 0 +/* 80109F64 00106EC4 41 82 00 18 */ beq lbl_80109F7C +/* 80109F68 00106EC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80109F6C 00106ECC 38 80 00 01 */ li r4, 1 +/* 80109F70 00106ED0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80109F74 00106ED4 7D 89 03 A6 */ mtctr r12 +/* 80109F78 00106ED8 4E 80 04 21 */ bctrl +lbl_80109F7C: +/* 80109F7C 00106EDC 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 80109F80 00106EE0 41 82 00 24 */ beq lbl_80109FA4 +/* 80109F84 00106EE4 80 7E 00 34 */ lwz r3, 0x34(r30) +/* 80109F88 00106EE8 28 03 00 00 */ cmplwi r3, 0 +/* 80109F8C 00106EEC 41 82 00 18 */ beq lbl_80109FA4 +/* 80109F90 00106EF0 81 83 00 00 */ lwz r12, 0(r3) +/* 80109F94 00106EF4 38 80 00 01 */ li r4, 1 +/* 80109F98 00106EF8 81 8C 00 08 */ lwz r12, 8(r12) +/* 80109F9C 00106EFC 7D 89 03 A6 */ mtctr r12 +/* 80109FA0 00106F00 4E 80 04 21 */ bctrl +lbl_80109FA4: +/* 80109FA4 00106F04 34 1E 00 30 */ addic. r0, r30, 0x30 +/* 80109FA8 00106F08 41 82 00 10 */ beq lbl_80109FB8 +/* 80109FAC 00106F0C 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 80109FB0 00106F10 38 80 00 01 */ li r4, 1 +/* 80109FB4 00106F14 48 00 A4 59 */ bl __dt__12CPlayerVisorFv +lbl_80109FB8: +/* 80109FB8 00106F18 34 1E 00 20 */ addic. r0, r30, 0x20 +/* 80109FBC 00106F1C 41 82 00 30 */ beq lbl_80109FEC +/* 80109FC0 00106F20 34 7E 00 24 */ addic. r3, r30, 0x24 +/* 80109FC4 00106F24 41 82 00 28 */ beq lbl_80109FEC +/* 80109FC8 00106F28 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 80109FCC 00106F2C 28 00 00 00 */ cmplwi r0, 0 +/* 80109FD0 00106F30 41 82 00 14 */ beq lbl_80109FE4 +/* 80109FD4 00106F34 28 03 00 00 */ cmplwi r3, 0 +/* 80109FD8 00106F38 41 82 00 0C */ beq lbl_80109FE4 +/* 80109FDC 00106F3C 38 80 00 00 */ li r4, 0 +/* 80109FE0 00106F40 48 23 6E 61 */ bl __dt__6CTokenFv +lbl_80109FE4: +/* 80109FE4 00106F44 38 00 00 00 */ li r0, 0 +/* 80109FE8 00106F48 98 1E 00 2C */ stb r0, 0x2c(r30) +lbl_80109FEC: +/* 80109FEC 00106F4C 34 1E 00 08 */ addic. r0, r30, 8 +/* 80109FF0 00106F50 41 82 00 50 */ beq lbl_8010A040 +/* 80109FF4 00106F54 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80109FF8 00106F58 83 9E 00 14 */ lwz r28, 0x14(r30) +/* 80109FFC 00106F5C 54 00 18 38 */ slwi r0, r0, 3 +/* 8010A000 00106F60 7F BC 02 14 */ add r29, r28, r0 +/* 8010A004 00106F64 93 81 00 0C */ stw r28, 0xc(r1) +/* 8010A008 00106F68 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8010A00C 00106F6C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8010A010 00106F70 93 81 00 08 */ stw r28, 8(r1) +/* 8010A014 00106F74 48 00 00 14 */ b lbl_8010A028 +lbl_8010A018: +/* 8010A018 00106F78 7F 83 E3 78 */ mr r3, r28 +/* 8010A01C 00106F7C 38 80 FF FF */ li r4, -1 +/* 8010A020 00106F80 48 23 6E 21 */ bl __dt__6CTokenFv +/* 8010A024 00106F84 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8010A028: +/* 8010A028 00106F88 7C 1C E8 40 */ cmplw r28, r29 +/* 8010A02C 00106F8C 40 82 FF EC */ bne lbl_8010A018 +/* 8010A030 00106F90 80 7E 00 14 */ lwz r3, 0x14(r30) +/* 8010A034 00106F94 28 03 00 00 */ cmplwi r3, 0 +/* 8010A038 00106F98 41 82 00 08 */ beq lbl_8010A040 +/* 8010A03C 00106F9C 48 20 B8 F5 */ bl Free__7CMemoryFPCv +lbl_8010A040: +/* 8010A040 00106FA0 28 1E 00 00 */ cmplwi r30, 0 +/* 8010A044 00106FA4 41 82 00 10 */ beq lbl_8010A054 +/* 8010A048 00106FA8 7F C3 F3 78 */ mr r3, r30 +/* 8010A04C 00106FAC 38 80 00 00 */ li r4, 0 +/* 8010A050 00106FB0 48 23 6D F1 */ bl __dt__6CTokenFv +lbl_8010A054: +/* 8010A054 00106FB4 7F E0 07 35 */ extsh. r0, r31 +/* 8010A058 00106FB8 40 81 00 0C */ ble lbl_8010A064 +/* 8010A05C 00106FBC 7F C3 F3 78 */ mr r3, r30 +/* 8010A060 00106FC0 48 20 B8 D1 */ bl Free__7CMemoryFPCv +lbl_8010A064: +/* 8010A064 00106FC4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8010A068 00106FC8 7F C3 F3 78 */ mr r3, r30 +/* 8010A06C 00106FCC 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8010A070 00106FD0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8010A074 00106FD4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8010A078 00106FD8 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8010A07C 00106FDC 7C 08 03 A6 */ mtlr r0 +/* 8010A080 00106FE0 38 21 00 60 */ addi r1, r1, 0x60 +/* 8010A084 00106FE4 4E 80 00 20 */ blr + +.global __ct__17CInGameGuiManagerFRC13CStateManagerR18CArchitectureQueue +__ct__17CInGameGuiManagerFRC13CStateManagerR18CArchitectureQueue: +/* 8010A088 00106FE8 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8010A08C 00106FEC 7C 08 02 A6 */ mflr r0 +/* 8010A090 00106FF0 3C A0 80 3D */ lis r5, lbl_803CEEC4@ha +/* 8010A094 00106FF4 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8010A098 00106FF8 38 A5 EE C4 */ addi r5, r5, lbl_803CEEC4@l +/* 8010A09C 00106FFC 38 A5 02 F0 */ addi r5, r5, 0x2f0 +/* 8010A0A0 00107000 BF 21 00 A4 */ stmw r25, 0xa4(r1) +/* 8010A0A4 00107004 7C 9F 23 78 */ mr r31, r4 +/* 8010A0A8 00107008 7C 7E 1B 78 */ mr r30, r3 +/* 8010A0AC 0010700C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8010A0B0 00107010 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8010A0B4 00107014 81 84 00 00 */ lwz r12, 0(r4) +/* 8010A0B8 00107018 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8010A0BC 0010701C 7D 89 03 A6 */ mtctr r12 +/* 8010A0C0 00107020 4E 80 04 21 */ bctrl +/* 8010A0C4 00107024 7F C3 F3 78 */ mr r3, r30 +/* 8010A0C8 00107028 38 81 00 18 */ addi r4, r1, 0x18 +/* 8010A0CC 0010702C 48 23 6D DD */ bl __ct__6CTokenFRC6CToken +/* 8010A0D0 00107030 38 61 00 18 */ addi r3, r1, 0x18 +/* 8010A0D4 00107034 38 80 FF FF */ li r4, -1 +/* 8010A0D8 00107038 48 23 6D 69 */ bl __dt__6CTokenFv +/* 8010A0DC 0010703C 38 00 00 00 */ li r0, 0 +/* 8010A0E0 00107040 38 7E 00 1C */ addi r3, r30, 0x1c +/* 8010A0E4 00107044 90 1E 00 0C */ stw r0, 0xc(r30) +/* 8010A0E8 00107048 38 80 04 D2 */ li r4, 0x4d2 +/* 8010A0EC 0010704C 90 1E 00 10 */ stw r0, 0x10(r30) +/* 8010A0F0 00107050 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8010A0F4 00107054 90 1E 00 18 */ stw r0, 0x18(r30) +/* 8010A0F8 00107058 48 20 84 F5 */ bl __ct__9CRandom16FUi +/* 8010A0FC 0010705C 7F E4 FB 78 */ mr r4, r31 +/* 8010A100 00107060 38 7E 00 20 */ addi r3, r30, 0x20 +/* 8010A104 00107064 48 06 BB C1 */ bl __ct__20CFaceplateDecorationFR13CStateManager +/* 8010A108 00107068 38 00 00 00 */ li r0, 0 +/* 8010A10C 0010706C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha +/* 8010A110 00107070 90 1E 00 30 */ stw r0, 0x30(r30) +/* 8010A114 00107074 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l +/* 8010A118 00107078 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010A11C 0010707C 90 1E 00 34 */ stw r0, 0x34(r30) +/* 8010A120 00107080 38 A4 03 01 */ addi r5, r4, 0x301 +/* 8010A124 00107084 90 1E 00 38 */ stw r0, 0x38(r30) +/* 8010A128 00107088 90 1E 00 3C */ stw r0, 0x3c(r30) +/* 8010A12C 0010708C 90 1E 00 40 */ stw r0, 0x40(r30) +/* 8010A130 00107090 90 1E 00 44 */ stw r0, 0x44(r30) +/* 8010A134 00107094 90 1E 00 48 */ stw r0, 0x48(r30) +/* 8010A138 00107098 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 8010A13C 0010709C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8010A140 001070A0 81 84 00 00 */ lwz r12, 0(r4) +/* 8010A144 001070A4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8010A148 001070A8 7D 89 03 A6 */ mtctr r12 +/* 8010A14C 001070AC 4E 80 04 21 */ bctrl +/* 8010A150 001070B0 3B 3E 00 50 */ addi r25, r30, 0x50 +/* 8010A154 001070B4 38 81 00 10 */ addi r4, r1, 0x10 +/* 8010A158 001070B8 7F 23 CB 78 */ mr r3, r25 +/* 8010A15C 001070BC 48 23 6D 4D */ bl __ct__6CTokenFRC6CToken +/* 8010A160 001070C0 38 00 00 00 */ li r0, 0 +/* 8010A164 001070C4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010A168 001070C8 90 19 00 08 */ stw r0, 8(r25) +/* 8010A16C 001070CC 38 80 FF FF */ li r4, -1 +/* 8010A170 001070D0 48 23 6C D1 */ bl __dt__6CTokenFv +/* 8010A174 001070D4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8010A178 001070D8 48 00 03 1D */ bl LockPauseScreenDependencies__17CInGameGuiManagerFv +/* 8010A17C 001070DC 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8010A180 001070E0 3B 21 00 2C */ addi r25, r1, 0x2c +/* 8010A184 001070E4 3B 5E 00 60 */ addi r26, r30, 0x60 +/* 8010A188 001070E8 3B A0 00 00 */ li r29, 0 +/* 8010A18C 001070EC 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 8010A190 001070F0 7F 3C CB 78 */ mr r28, r25 +/* 8010A194 001070F4 83 7E 00 5C */ lwz r27, 0x5c(r30) +/* 8010A198 001070F8 48 00 00 24 */ b lbl_8010A1BC +lbl_8010A19C: +/* 8010A19C 001070FC 28 1A 00 00 */ cmplwi r26, 0 +/* 8010A1A0 00107100 41 82 00 10 */ beq lbl_8010A1B0 +/* 8010A1A4 00107104 7F 43 D3 78 */ mr r3, r26 +/* 8010A1A8 00107108 7F 84 E3 78 */ mr r4, r28 +/* 8010A1AC 0010710C 48 23 6C FD */ bl __ct__6CTokenFRC6CToken +lbl_8010A1B0: +/* 8010A1B0 00107110 3B 5A 00 08 */ addi r26, r26, 8 +/* 8010A1B4 00107114 3B BD 00 01 */ addi r29, r29, 1 +/* 8010A1B8 00107118 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8010A1BC: +/* 8010A1BC 0010711C 7C 1D D8 00 */ cmpw r29, r27 +/* 8010A1C0 00107120 41 80 FF DC */ blt lbl_8010A19C +/* 8010A1C4 00107124 3B 60 00 00 */ li r27, 0 +/* 8010A1C8 00107128 48 00 00 20 */ b lbl_8010A1E8 +lbl_8010A1CC: +/* 8010A1CC 0010712C 28 19 00 00 */ cmplwi r25, 0 +/* 8010A1D0 00107130 41 82 00 10 */ beq lbl_8010A1E0 +/* 8010A1D4 00107134 7F 23 CB 78 */ mr r3, r25 +/* 8010A1D8 00107138 38 80 00 00 */ li r4, 0 +/* 8010A1DC 0010713C 48 23 6C 65 */ bl __dt__6CTokenFv +lbl_8010A1E0: +/* 8010A1E0 00107140 3B 39 00 08 */ addi r25, r25, 8 +/* 8010A1E4 00107144 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8010A1E8: +/* 8010A1E8 00107148 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8010A1EC 0010714C 7C 1B 00 00 */ cmpw r27, r0 +/* 8010A1F0 00107150 41 80 FF DC */ blt lbl_8010A1CC +/* 8010A1F4 00107154 38 00 00 00 */ li r0, 0 +/* 8010A1F8 00107158 38 7E 00 F8 */ addi r3, r30, 0xf8 +/* 8010A1FC 0010715C 90 01 00 28 */ stw r0, 0x28(r1) +/* 8010A200 00107160 90 1E 00 CC */ stw r0, 0xcc(r30) +/* 8010A204 00107164 90 1E 00 D0 */ stw r0, 0xd0(r30) +/* 8010A208 00107168 90 1E 00 D4 */ stw r0, 0xd4(r30) +/* 8010A20C 0010716C 90 1E 00 DC */ stw r0, 0xdc(r30) +/* 8010A210 00107170 90 1E 00 E0 */ stw r0, 0xe0(r30) +/* 8010A214 00107174 90 1E 00 E4 */ stw r0, 0xe4(r30) +/* 8010A218 00107178 90 1E 00 EC */ stw r0, 0xec(r30) +/* 8010A21C 0010717C 90 1E 00 F0 */ stw r0, 0xf0(r30) +/* 8010A220 00107180 90 1E 00 F4 */ stw r0, 0xf4(r30) +/* 8010A224 00107184 4B FE 35 69 */ bl __ct__17CCameraFilterPassFv +/* 8010A228 00107188 38 00 FF FF */ li r0, -1 +/* 8010A22C 0010718C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8010A230 00107190 90 1E 01 24 */ stw r0, 0x124(r30) +/* 8010A234 00107194 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8010A238 00107198 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 8010A23C 0010719C 38 FE 01 38 */ addi r7, r30, 0x138 +/* 8010A240 001071A0 38 00 00 00 */ li r0, 0 +/* 8010A244 001071A4 3C C0 80 5A */ lis r6, lbl_805A6660@ha +/* 8010A248 001071A8 D0 1E 01 28 */ stfs f0, 0x128(r30) +/* 8010A24C 001071AC 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8010A250 001071B0 38 7E 01 8C */ addi r3, r30, 0x18c +/* 8010A254 001071B4 90 FE 01 30 */ stw r7, 0x130(r30) +/* 8010A258 001071B8 90 FE 01 34 */ stw r7, 0x134(r30) +/* 8010A25C 001071BC 90 FE 01 38 */ stw r7, 0x138(r30) +/* 8010A260 001071C0 90 FE 01 3C */ stw r7, 0x13c(r30) +/* 8010A264 001071C4 90 1E 01 40 */ stw r0, 0x140(r30) +/* 8010A268 001071C8 90 1E 01 44 */ stw r0, 0x144(r30) +/* 8010A26C 001071CC 90 1E 01 48 */ stw r0, 0x148(r30) +/* 8010A270 001071D0 90 1E 01 4C */ stw r0, 0x14c(r30) +/* 8010A274 001071D4 90 1E 01 50 */ stw r0, 0x150(r30) +/* 8010A278 001071D8 C4 06 66 60 */ lfsu f0, lbl_805A6660@l(r6) +/* 8010A27C 001071DC D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 8010A280 001071E0 C0 06 00 04 */ lfs f0, 4(r6) +/* 8010A284 001071E4 D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 8010A288 001071E8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8010A28C 001071EC D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 8010A290 001071F0 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8010A294 001071F4 D0 1E 01 60 */ stfs f0, 0x160(r30) +/* 8010A298 001071F8 C4 05 66 A0 */ lfsu f0, skZero3f@l(r5) +/* 8010A29C 001071FC D0 1E 01 64 */ stfs f0, 0x164(r30) +/* 8010A2A0 00107200 C0 05 00 04 */ lfs f0, 4(r5) +/* 8010A2A4 00107204 D0 1E 01 68 */ stfs f0, 0x168(r30) +/* 8010A2A8 00107208 C0 05 00 08 */ lfs f0, 8(r5) +/* 8010A2AC 0010720C D0 1E 01 6C */ stfs f0, 0x16c(r30) +/* 8010A2B0 00107210 C0 06 00 00 */ lfs f0, 0(r6) +/* 8010A2B4 00107214 D0 1E 01 70 */ stfs f0, 0x170(r30) +/* 8010A2B8 00107218 C0 06 00 04 */ lfs f0, 4(r6) +/* 8010A2BC 0010721C D0 1E 01 74 */ stfs f0, 0x174(r30) +/* 8010A2C0 00107220 C0 06 00 08 */ lfs f0, 8(r6) +/* 8010A2C4 00107224 D0 1E 01 78 */ stfs f0, 0x178(r30) +/* 8010A2C8 00107228 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 8010A2CC 0010722C D0 1E 01 7C */ stfs f0, 0x17c(r30) +/* 8010A2D0 00107230 C0 05 00 00 */ lfs f0, 0(r5) +/* 8010A2D4 00107234 D0 1E 01 80 */ stfs f0, 0x180(r30) +/* 8010A2D8 00107238 C0 05 00 04 */ lfs f0, 4(r5) +/* 8010A2DC 0010723C D0 1E 01 84 */ stfs f0, 0x184(r30) +/* 8010A2E0 00107240 C0 05 00 08 */ lfs f0, 8(r5) +/* 8010A2E4 00107244 D0 1E 01 88 */ stfs f0, 0x188(r30) +/* 8010A2E8 00107248 48 20 88 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8010A2EC 0010724C 38 C0 00 00 */ li r6, 0 +/* 8010A2F0 00107250 38 00 FF FF */ li r0, -1 +/* 8010A2F4 00107254 90 DE 01 BC */ stw r6, 0x1bc(r30) +/* 8010A2F8 00107258 38 7E 01 C8 */ addi r3, r30, 0x1c8 +/* 8010A2FC 0010725C 38 80 00 00 */ li r4, 0 +/* 8010A300 00107260 38 A0 00 00 */ li r5, 0 +/* 8010A304 00107264 90 DE 01 C0 */ stw r6, 0x1c0(r30) +/* 8010A308 00107268 90 1E 01 C4 */ stw r0, 0x1c4(r30) +/* 8010A30C 0010726C 48 20 A0 41 */ bl __ct__9CVector2iFii +/* 8010A310 00107270 38 7E 01 D0 */ addi r3, r30, 0x1d0 +/* 8010A314 00107274 38 80 00 00 */ li r4, 0 +/* 8010A318 00107278 38 A0 00 00 */ li r5, 0 +/* 8010A31C 0010727C 48 20 A0 31 */ bl __ct__9CVector2iFii +/* 8010A320 00107280 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) +/* 8010A324 00107284 38 C0 00 00 */ li r6, 0 +/* 8010A328 00107288 38 80 00 01 */ li r4, 1 +/* 8010A32C 0010728C 38 7E 00 50 */ addi r3, r30, 0x50 +/* 8010A330 00107290 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) +/* 8010A334 00107294 90 DE 01 DC */ stw r6, 0x1dc(r30) +/* 8010A338 00107298 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8010A33C 0010729C 80 05 00 FC */ lwz r0, 0xfc(r5) +/* 8010A340 001072A0 90 1E 01 E0 */ stw r0, 0x1e0(r30) +/* 8010A344 001072A4 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8010A348 001072A8 80 05 01 08 */ lwz r0, 0x108(r5) +/* 8010A34C 001072AC 90 1E 01 E4 */ stw r0, 0x1e4(r30) +/* 8010A350 001072B0 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8010A354 001072B4 80 05 01 00 */ lwz r0, 0x100(r5) +/* 8010A358 001072B8 90 1E 01 E8 */ stw r0, 0x1e8(r30) +/* 8010A35C 001072BC 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8010A360 001072C0 80 05 00 F8 */ lwz r0, 0xf8(r5) +/* 8010A364 001072C4 90 1E 01 EC */ stw r0, 0x1ec(r30) +/* 8010A368 001072C8 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) +/* 8010A36C 001072CC 80 05 01 0C */ lwz r0, 0x10c(r5) +/* 8010A370 001072D0 90 1E 01 F0 */ stw r0, 0x1f0(r30) +/* 8010A374 001072D4 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8010A378 001072D8 C0 05 07 4C */ lfs f0, 0x74c(r5) +/* 8010A37C 001072DC D0 1E 01 F4 */ stfs f0, 0x1f4(r30) +/* 8010A380 001072E0 88 1E 01 F8 */ lbz r0, 0x1f8(r30) +/* 8010A384 001072E4 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8010A388 001072E8 98 1E 01 F8 */ stb r0, 0x1f8(r30) +/* 8010A38C 001072EC 88 1E 01 F8 */ lbz r0, 0x1f8(r30) +/* 8010A390 001072F0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8010A394 001072F4 98 1E 01 F8 */ stb r0, 0x1f8(r30) +/* 8010A398 001072F8 88 1E 01 F8 */ lbz r0, 0x1f8(r30) +/* 8010A39C 001072FC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8010A3A0 00107300 98 1E 01 F8 */ stb r0, 0x1f8(r30) +/* 8010A3A4 00107304 88 1E 01 F8 */ lbz r0, 0x1f8(r30) +/* 8010A3A8 00107308 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8010A3AC 0010730C 98 1E 01 F8 */ stb r0, 0x1f8(r30) +/* 8010A3B0 00107310 48 23 69 D5 */ bl Lock__6CTokenFv +/* 8010A3B4 00107314 7F C3 F3 78 */ mr r3, r30 +/* 8010A3B8 00107318 48 23 69 CD */ bl Lock__6CTokenFv +/* 8010A3BC 0010731C 38 7E 00 C8 */ addi r3, r30, 0xc8 +/* 8010A3C0 00107320 38 80 00 0E */ li r4, 0xe +/* 8010A3C4 00107324 48 00 04 49 */ bl sub_8010a80c +/* 8010A3C8 00107328 3C 60 80 3D */ lis r3, lbl_803CEE58@ha +/* 8010A3CC 0010732C 3B 20 00 00 */ li r25, 0 +/* 8010A3D0 00107330 3B 43 EE 58 */ addi r26, r3, lbl_803CEE58@l +lbl_8010A3D4: +/* 8010A3D4 00107334 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8010A3D8 00107338 38 61 00 08 */ addi r3, r1, 8 +/* 8010A3DC 0010733C 80 BA 00 00 */ lwz r5, 0(r26) +/* 8010A3E0 00107340 81 84 00 00 */ lwz r12, 0(r4) +/* 8010A3E4 00107344 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8010A3E8 00107348 7D 89 03 A6 */ mtctr r12 +/* 8010A3EC 0010734C 4E 80 04 21 */ bctrl +/* 8010A3F0 00107350 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010A3F4 00107354 38 81 00 08 */ addi r4, r1, 8 +/* 8010A3F8 00107358 48 23 6A B1 */ bl __ct__6CTokenFRC6CToken +/* 8010A3FC 0010735C 38 61 00 08 */ addi r3, r1, 8 +/* 8010A400 00107360 38 80 FF FF */ li r4, -1 +/* 8010A404 00107364 48 23 6A 3D */ bl __dt__6CTokenFv +/* 8010A408 00107368 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010A40C 0010736C 48 23 69 79 */ bl Lock__6CTokenFv +/* 8010A410 00107370 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 8010A414 00107374 80 BE 00 D0 */ lwz r5, 0xd0(r30) +/* 8010A418 00107378 7C 00 28 00 */ cmpw r0, r5 +/* 8010A41C 0010737C 41 80 00 1C */ blt lbl_8010A438 +/* 8010A420 00107380 2C 05 00 00 */ cmpwi r5, 0 +/* 8010A424 00107384 38 7E 00 C8 */ addi r3, r30, 0xc8 +/* 8010A428 00107388 38 80 00 04 */ li r4, 4 +/* 8010A42C 0010738C 41 82 00 08 */ beq lbl_8010A434 +/* 8010A430 00107390 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8010A434: +/* 8010A434 00107394 48 00 03 D9 */ bl sub_8010a80c +lbl_8010A438: +/* 8010A438 00107398 80 1E 00 CC */ lwz r0, 0xcc(r30) +/* 8010A43C 0010739C 80 7E 00 D4 */ lwz r3, 0xd4(r30) +/* 8010A440 001073A0 54 00 18 38 */ slwi r0, r0, 3 +/* 8010A444 001073A4 7C 63 02 15 */ add. r3, r3, r0 +/* 8010A448 001073A8 41 82 00 0C */ beq lbl_8010A454 +/* 8010A44C 001073AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 8010A450 001073B0 48 23 6A 59 */ bl __ct__6CTokenFRC6CToken +lbl_8010A454: +/* 8010A454 001073B4 80 BE 00 CC */ lwz r5, 0xcc(r30) +/* 8010A458 001073B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010A45C 001073BC 38 80 00 00 */ li r4, 0 +/* 8010A460 001073C0 38 05 00 01 */ addi r0, r5, 1 +/* 8010A464 001073C4 90 1E 00 CC */ stw r0, 0xcc(r30) +/* 8010A468 001073C8 48 23 69 D9 */ bl __dt__6CTokenFv +/* 8010A46C 001073CC 3B 39 00 01 */ addi r25, r25, 1 +/* 8010A470 001073D0 3B 5A 00 04 */ addi r26, r26, 4 +/* 8010A474 001073D4 28 19 00 0E */ cmplwi r25, 0xe +/* 8010A478 001073D8 41 80 FF 5C */ blt lbl_8010A3D4 +/* 8010A47C 001073DC 7F C3 F3 78 */ mr r3, r30 +/* 8010A480 001073E0 BB 21 00 A4 */ lmw r25, 0xa4(r1) +/* 8010A484 001073E4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8010A488 001073E8 7C 08 03 A6 */ mtlr r0 +/* 8010A48C 001073EC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8010A490 001073F0 4E 80 00 20 */ blr + +.global LockPauseScreenDependencies__17CInGameGuiManagerFv +LockPauseScreenDependencies__17CInGameGuiManagerFv: +/* 8010A494 001073F4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8010A498 001073F8 7C 08 02 A6 */ mflr r0 +/* 8010A49C 001073FC 3C 80 80 3D */ lis r4, lbl_803CEE90@ha +/* 8010A4A0 00107400 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8010A4A4 00107404 38 00 00 00 */ li r0, 0 +/* 8010A4A8 00107408 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 8010A4AC 0010740C 3B 84 EE 90 */ addi r28, r4, lbl_803CEE90@l +/* 8010A4B0 00107410 7C 7A 1B 78 */ mr r26, r3 +/* 8010A4B4 00107414 3B 61 00 1C */ addi r27, r1, 0x1c +/* 8010A4B8 00107418 3B A0 00 00 */ li r29, 0 +/* 8010A4BC 0010741C 90 01 00 18 */ stw r0, 0x18(r1) +lbl_8010A4C0: +/* 8010A4C0 00107420 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8010A4C4 00107424 38 61 00 08 */ addi r3, r1, 8 +/* 8010A4C8 00107428 80 BC 00 00 */ lwz r5, 0(r28) +/* 8010A4CC 0010742C 81 84 00 00 */ lwz r12, 0(r4) +/* 8010A4D0 00107430 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8010A4D4 00107434 7D 89 03 A6 */ mtctr r12 +/* 8010A4D8 00107438 4E 80 04 21 */ bctrl +/* 8010A4DC 0010743C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010A4E0 00107440 38 81 00 08 */ addi r4, r1, 8 +/* 8010A4E4 00107444 48 23 69 C5 */ bl __ct__6CTokenFRC6CToken +/* 8010A4E8 00107448 38 61 00 08 */ addi r3, r1, 8 +/* 8010A4EC 0010744C 38 80 FF FF */ li r4, -1 +/* 8010A4F0 00107450 48 23 69 51 */ bl __dt__6CTokenFv +/* 8010A4F4 00107454 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010A4F8 00107458 48 23 68 8D */ bl Lock__6CTokenFv +/* 8010A4FC 0010745C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8010A500 00107460 54 00 18 38 */ slwi r0, r0, 3 +/* 8010A504 00107464 7C 7B 02 15 */ add. r3, r27, r0 +/* 8010A508 00107468 41 82 00 0C */ beq lbl_8010A514 +/* 8010A50C 0010746C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8010A510 00107470 48 23 69 99 */ bl __ct__6CTokenFRC6CToken +lbl_8010A514: +/* 8010A514 00107474 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8010A518 00107478 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010A51C 0010747C 38 80 00 00 */ li r4, 0 +/* 8010A520 00107480 38 05 00 01 */ addi r0, r5, 1 +/* 8010A524 00107484 90 01 00 18 */ stw r0, 0x18(r1) +/* 8010A528 00107488 48 23 69 19 */ bl __dt__6CTokenFv +/* 8010A52C 0010748C 3B BD 00 01 */ addi r29, r29, 1 +/* 8010A530 00107490 3B 9C 00 04 */ addi r28, r28, 4 +/* 8010A534 00107494 2C 1D 00 0D */ cmpwi r29, 0xd +/* 8010A538 00107498 41 80 FF 88 */ blt lbl_8010A4C0 +/* 8010A53C 0010749C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8010A540 001074A0 7F 7D DB 78 */ mr r29, r27 +/* 8010A544 001074A4 3B DA 00 04 */ addi r30, r26, 4 +/* 8010A548 001074A8 3B E0 00 00 */ li r31, 0 +/* 8010A54C 001074AC 90 1A 00 00 */ stw r0, 0(r26) +/* 8010A550 001074B0 83 9A 00 00 */ lwz r28, 0(r26) +/* 8010A554 001074B4 48 00 00 24 */ b lbl_8010A578 +lbl_8010A558: +/* 8010A558 001074B8 28 1E 00 00 */ cmplwi r30, 0 +/* 8010A55C 001074BC 41 82 00 10 */ beq lbl_8010A56C +/* 8010A560 001074C0 7F C3 F3 78 */ mr r3, r30 +/* 8010A564 001074C4 7F A4 EB 78 */ mr r4, r29 +/* 8010A568 001074C8 48 23 69 41 */ bl __ct__6CTokenFRC6CToken +lbl_8010A56C: +/* 8010A56C 001074CC 3B DE 00 08 */ addi r30, r30, 8 +/* 8010A570 001074D0 3B FF 00 01 */ addi r31, r31, 1 +/* 8010A574 001074D4 3B BD 00 08 */ addi r29, r29, 8 +lbl_8010A578: +/* 8010A578 001074D8 7C 1F E0 00 */ cmpw r31, r28 +/* 8010A57C 001074DC 41 80 FF DC */ blt lbl_8010A558 +/* 8010A580 001074E0 3B 80 00 00 */ li r28, 0 +/* 8010A584 001074E4 48 00 00 20 */ b lbl_8010A5A4 +lbl_8010A588: +/* 8010A588 001074E8 28 1B 00 00 */ cmplwi r27, 0 +/* 8010A58C 001074EC 41 82 00 10 */ beq lbl_8010A59C +/* 8010A590 001074F0 7F 63 DB 78 */ mr r3, r27 +/* 8010A594 001074F4 38 80 00 00 */ li r4, 0 +/* 8010A598 001074F8 48 23 68 A9 */ bl __dt__6CTokenFv +lbl_8010A59C: +/* 8010A59C 001074FC 3B 7B 00 08 */ addi r27, r27, 8 +/* 8010A5A0 00107500 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8010A5A4: +/* 8010A5A4 00107504 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8010A5A8 00107508 7C 1C 00 00 */ cmpw r28, r0 +/* 8010A5AC 0010750C 41 80 FF DC */ blt lbl_8010A588 +/* 8010A5B0 00107510 38 00 00 00 */ li r0, 0 +/* 8010A5B4 00107514 90 01 00 18 */ stw r0, 0x18(r1) +/* 8010A5B8 00107518 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 8010A5BC 0010751C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8010A5C0 00107520 7C 08 03 A6 */ mtlr r0 +/* 8010A5C4 00107524 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8010A5C8 00107528 4E 80 00 20 */ blr + +.global "sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan" +"sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan": +/* 8010A5CC 0010752C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8010A5D0 00107530 7C 08 02 A6 */ mflr r0 +/* 8010A5D4 00107534 90 01 00 84 */ stw r0, 0x84(r1) +/* 8010A5D8 00107538 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8010A5DC 0010753C 7C 7B 1B 78 */ mr r27, r3 +/* 8010A5E0 00107540 7C BD 2B 78 */ mr r29, r5 +/* 8010A5E4 00107544 7C 9C 23 78 */ mr r28, r4 +/* 8010A5E8 00107548 80 63 00 00 */ lwz r3, 0(r3) +/* 8010A5EC 0010754C 80 A4 00 00 */ lwz r5, 0(r4) +/* 8010A5F0 00107550 7C 03 28 50 */ subf r0, r3, r5 +/* 8010A5F4 00107554 7C 00 26 70 */ srawi r0, r0, 4 +/* 8010A5F8 00107558 7C 80 01 94 */ addze r4, r0 +/* 8010A5FC 0010755C 2C 04 00 01 */ cmpwi r4, 1 +/* 8010A600 00107560 40 81 01 F8 */ ble lbl_8010A7F8 +/* 8010A604 00107564 2C 04 00 14 */ cmpwi r4, 0x14 +/* 8010A608 00107568 41 81 00 30 */ bgt lbl_8010A638 +/* 8010A60C 0010756C 88 FD 00 00 */ lbz r7, 0(r29) +/* 8010A610 00107570 38 61 00 34 */ addi r3, r1, 0x34 +/* 8010A614 00107574 80 DC 00 00 */ lwz r6, 0(r28) +/* 8010A618 00107578 38 81 00 30 */ addi r4, r1, 0x30 +/* 8010A61C 0010757C 80 1B 00 00 */ lwz r0, 0(r27) +/* 8010A620 00107580 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8010A624 00107584 98 E1 00 14 */ stb r7, 0x14(r1) +/* 8010A628 00107588 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8010A62C 0010758C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010A630 00107590 48 00 06 B1 */ bl "__insertion_sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterTha" +/* 8010A634 00107594 48 00 01 C4 */ b lbl_8010A7F8 +lbl_8010A638: +/* 8010A638 00107598 54 80 0F FE */ srwi r0, r4, 0x1f +/* 8010A63C 0010759C 38 A5 FF F0 */ addi r5, r5, -16 +/* 8010A640 001075A0 7C 80 22 14 */ add r4, r0, r4 +/* 8010A644 001075A4 88 1D 00 00 */ lbz r0, 0(r29) +/* 8010A648 001075A8 7C 84 0E 70 */ srawi r4, r4, 1 +/* 8010A64C 001075AC 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 8010A650 001075B0 54 84 20 36 */ slwi r4, r4, 4 +/* 8010A654 001075B4 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8010A658 001075B8 7F E3 22 14 */ add r31, r3, r4 +/* 8010A65C 001075BC 98 01 00 10 */ stb r0, 0x10(r1) +/* 8010A660 001075C0 7F E4 FB 78 */ mr r4, r31 +/* 8010A664 001075C4 48 00 04 F9 */ bl "__sort3<20SDumpableTextureInfo,24CTextureScoreGreaterThan>__4rstlFR20SDumpableTextureInfoR20SDumpableTextureInfoR20SDumpableTextureInfo24CTextureScoreGreaterThan" +/* 8010A668 001075C8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8010A66C 001075CC 3B C1 00 58 */ addi r30, r1, 0x58 +/* 8010A670 001075D0 7F C3 F3 78 */ mr r3, r30 +/* 8010A674 001075D4 38 9F 00 08 */ addi r4, r31, 8 +/* 8010A678 001075D8 90 01 00 50 */ stw r0, 0x50(r1) +/* 8010A67C 001075DC 80 1F 00 04 */ lwz r0, 4(r31) +/* 8010A680 001075E0 90 01 00 54 */ stw r0, 0x54(r1) +/* 8010A684 001075E4 48 23 68 25 */ bl __ct__6CTokenFRC6CToken +/* 8010A688 001075E8 80 9B 00 00 */ lwz r4, 0(r27) +/* 8010A68C 001075EC 3B E1 00 48 */ addi r31, r1, 0x48 +/* 8010A690 001075F0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8010A694 001075F4 38 84 00 10 */ addi r4, r4, 0x10 +/* 8010A698 001075F8 38 03 FF F0 */ addi r0, r3, -16 +/* 8010A69C 001075FC 90 81 00 38 */ stw r4, 0x38(r1) +/* 8010A6A0 00107600 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_8010A6A4: +/* 8010A6A4 00107604 80 81 00 54 */ lwz r4, 0x54(r1) +/* 8010A6A8 00107608 48 00 00 10 */ b lbl_8010A6B8 +lbl_8010A6AC: +/* 8010A6AC 0010760C 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8010A6B0 00107610 38 03 00 10 */ addi r0, r3, 0x10 +/* 8010A6B4 00107614 90 01 00 38 */ stw r0, 0x38(r1) +lbl_8010A6B8: +/* 8010A6B8 00107618 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8010A6BC 0010761C 80 03 00 04 */ lwz r0, 4(r3) +/* 8010A6C0 00107620 7C 00 20 00 */ cmpw r0, r4 +/* 8010A6C4 00107624 41 80 FF E8 */ blt lbl_8010A6AC +/* 8010A6C8 00107628 48 00 00 10 */ b lbl_8010A6D8 +lbl_8010A6CC: +/* 8010A6CC 0010762C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8010A6D0 00107630 38 03 FF F0 */ addi r0, r3, -16 +/* 8010A6D4 00107634 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_8010A6D8: +/* 8010A6D8 00107638 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8010A6DC 0010763C 80 03 00 04 */ lwz r0, 4(r3) +/* 8010A6E0 00107640 7C 04 00 00 */ cmpw r4, r0 +/* 8010A6E4 00107644 41 80 FF E8 */ blt lbl_8010A6CC +/* 8010A6E8 00107648 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8010A6EC 0010764C 7C 00 18 40 */ cmplw r0, r3 +/* 8010A6F0 00107650 40 80 00 A4 */ bge lbl_8010A794 +/* 8010A6F4 00107654 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 8010A6F8 00107658 7F E3 FB 78 */ mr r3, r31 +/* 8010A6FC 0010765C 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 8010A700 00107660 80 05 00 00 */ lwz r0, 0(r5) +/* 8010A704 00107664 38 85 00 08 */ addi r4, r5, 8 +/* 8010A708 00107668 90 C1 00 28 */ stw r6, 0x28(r1) +/* 8010A70C 0010766C 90 01 00 40 */ stw r0, 0x40(r1) +/* 8010A710 00107670 80 05 00 04 */ lwz r0, 4(r5) +/* 8010A714 00107674 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 8010A718 00107678 90 01 00 44 */ stw r0, 0x44(r1) +/* 8010A71C 0010767C 48 23 67 8D */ bl __ct__6CTokenFRC6CToken +/* 8010A720 00107680 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8010A724 00107684 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 8010A728 00107688 80 05 00 00 */ lwz r0, 0(r5) +/* 8010A72C 0010768C 38 85 00 08 */ addi r4, r5, 8 +/* 8010A730 00107690 38 66 00 08 */ addi r3, r6, 8 +/* 8010A734 00107694 90 06 00 00 */ stw r0, 0(r6) +/* 8010A738 00107698 80 05 00 04 */ lwz r0, 4(r5) +/* 8010A73C 0010769C 90 06 00 04 */ stw r0, 4(r6) +/* 8010A740 001076A0 48 23 65 85 */ bl __as__6CTokenFRC6CToken +/* 8010A744 001076A4 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8010A748 001076A8 7F E4 FB 78 */ mr r4, r31 +/* 8010A74C 001076AC 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8010A750 001076B0 38 65 00 08 */ addi r3, r5, 8 +/* 8010A754 001076B4 90 05 00 00 */ stw r0, 0(r5) +/* 8010A758 001076B8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8010A75C 001076BC 90 05 00 04 */ stw r0, 4(r5) +/* 8010A760 001076C0 48 23 65 65 */ bl __as__6CTokenFRC6CToken +/* 8010A764 001076C4 28 1F 00 00 */ cmplwi r31, 0 +/* 8010A768 001076C8 41 82 00 10 */ beq lbl_8010A778 +/* 8010A76C 001076CC 7F E3 FB 78 */ mr r3, r31 +/* 8010A770 001076D0 38 80 00 00 */ li r4, 0 +/* 8010A774 001076D4 48 23 66 CD */ bl __dt__6CTokenFv +lbl_8010A778: +/* 8010A778 001076D8 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8010A77C 001076DC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8010A780 001076E0 38 84 00 10 */ addi r4, r4, 0x10 +/* 8010A784 001076E4 38 03 FF F0 */ addi r0, r3, -16 +/* 8010A788 001076E8 90 81 00 38 */ stw r4, 0x38(r1) +/* 8010A78C 001076EC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8010A790 001076F0 4B FF FF 14 */ b lbl_8010A6A4 +lbl_8010A794: +/* 8010A794 001076F4 88 FD 00 00 */ lbz r7, 0(r29) +/* 8010A798 001076F8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8010A79C 001076FC 80 C1 00 38 */ lwz r6, 0x38(r1) +/* 8010A7A0 00107700 38 81 00 20 */ addi r4, r1, 0x20 +/* 8010A7A4 00107704 80 1B 00 00 */ lwz r0, 0(r27) +/* 8010A7A8 00107708 38 A1 00 0C */ addi r5, r1, 0xc +/* 8010A7AC 0010770C 98 E1 00 0C */ stb r7, 0xc(r1) +/* 8010A7B0 00107710 90 C1 00 20 */ stw r6, 0x20(r1) +/* 8010A7B4 00107714 90 01 00 24 */ stw r0, 0x24(r1) +/* 8010A7B8 00107718 4B FF FE 15 */ bl "sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan" +/* 8010A7BC 0010771C 88 FD 00 00 */ lbz r7, 0(r29) +/* 8010A7C0 00107720 38 61 00 1C */ addi r3, r1, 0x1c +/* 8010A7C4 00107724 80 DC 00 00 */ lwz r6, 0(r28) +/* 8010A7C8 00107728 38 81 00 18 */ addi r4, r1, 0x18 +/* 8010A7CC 0010772C 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8010A7D0 00107730 38 A1 00 08 */ addi r5, r1, 8 +/* 8010A7D4 00107734 98 E1 00 08 */ stb r7, 8(r1) +/* 8010A7D8 00107738 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8010A7DC 0010773C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8010A7E0 00107740 4B FF FD ED */ bl "sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan" +/* 8010A7E4 00107744 28 1E 00 00 */ cmplwi r30, 0 +/* 8010A7E8 00107748 41 82 00 10 */ beq lbl_8010A7F8 +/* 8010A7EC 0010774C 7F C3 F3 78 */ mr r3, r30 +/* 8010A7F0 00107750 38 80 00 00 */ li r4, 0 +/* 8010A7F4 00107754 48 23 66 4D */ bl __dt__6CTokenFv +lbl_8010A7F8: +/* 8010A7F8 00107758 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8010A7FC 0010775C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8010A800 00107760 7C 08 03 A6 */ mtlr r0 +/* 8010A804 00107764 38 21 00 80 */ addi r1, r1, 0x80 +/* 8010A808 00107768 4E 80 00 20 */ blr + +.global sub_8010a80c +sub_8010a80c: +/* 8010A80C 0010776C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010A810 00107770 7C 08 02 A6 */ mflr r0 +/* 8010A814 00107774 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010A818 00107778 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8010A81C 0010777C 7C 9F 23 78 */ mr r31, r4 +/* 8010A820 00107780 7C 7E 1B 78 */ mr r30, r3 +/* 8010A824 00107784 80 03 00 08 */ lwz r0, 8(r3) +/* 8010A828 00107788 7C 1F 00 00 */ cmpw r31, r0 +/* 8010A82C 0010778C 40 81 00 C4 */ ble lbl_8010A8F0 +/* 8010A830 00107790 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c +/* 8010A834 00107794 40 82 00 0C */ bne lbl_8010A840 +/* 8010A838 00107798 3B 80 00 00 */ li r28, 0 +/* 8010A83C 0010779C 48 00 00 1C */ b lbl_8010A858 +lbl_8010A840: +/* 8010A840 001077A0 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha +/* 8010A844 001077A4 38 A0 00 00 */ li r5, 0 +/* 8010A848 001077A8 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l +/* 8010A84C 001077AC 38 84 02 AC */ addi r4, r4, 0x2ac +/* 8010A850 001077B0 48 20 AF C9 */ bl __nwa__FUlPCcPCc +/* 8010A854 001077B4 7C 7C 1B 78 */ mr r28, r3 +lbl_8010A858: +/* 8010A858 001077B8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8010A85C 001077BC 7F 9B E3 78 */ mr r27, r28 +/* 8010A860 001077C0 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8010A864 001077C4 54 00 18 38 */ slwi r0, r0, 3 +/* 8010A868 001077C8 7F BA 02 14 */ add r29, r26, r0 +/* 8010A86C 001077CC 93 41 00 10 */ stw r26, 0x10(r1) +/* 8010A870 001077D0 93 A1 00 08 */ stw r29, 8(r1) +/* 8010A874 001077D4 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8010A878 001077D8 93 41 00 14 */ stw r26, 0x14(r1) +/* 8010A87C 001077DC 48 00 00 20 */ b lbl_8010A89C +lbl_8010A880: +/* 8010A880 001077E0 28 1B 00 00 */ cmplwi r27, 0 +/* 8010A884 001077E4 41 82 00 10 */ beq lbl_8010A894 +/* 8010A888 001077E8 7F 63 DB 78 */ mr r3, r27 +/* 8010A88C 001077EC 7F 44 D3 78 */ mr r4, r26 +/* 8010A890 001077F0 48 23 66 19 */ bl __ct__6CTokenFRC6CToken +lbl_8010A894: +/* 8010A894 001077F4 3B 7B 00 08 */ addi r27, r27, 8 +/* 8010A898 001077F8 3B 5A 00 08 */ addi r26, r26, 8 +lbl_8010A89C: +/* 8010A89C 001077FC 7C 1A E8 40 */ cmplw r26, r29 +/* 8010A8A0 00107800 40 82 FF E0 */ bne lbl_8010A880 +/* 8010A8A4 00107804 80 1E 00 04 */ lwz r0, 4(r30) +/* 8010A8A8 00107808 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8010A8AC 0010780C 54 00 18 38 */ slwi r0, r0, 3 +/* 8010A8B0 00107810 7F 7A 02 14 */ add r27, r26, r0 +/* 8010A8B4 00107814 48 00 00 1C */ b lbl_8010A8D0 +lbl_8010A8B8: +/* 8010A8B8 00107818 28 1A 00 00 */ cmplwi r26, 0 +/* 8010A8BC 0010781C 41 82 00 10 */ beq lbl_8010A8CC +/* 8010A8C0 00107820 7F 43 D3 78 */ mr r3, r26 +/* 8010A8C4 00107824 38 80 00 00 */ li r4, 0 +/* 8010A8C8 00107828 48 23 65 79 */ bl __dt__6CTokenFv +lbl_8010A8CC: +/* 8010A8CC 0010782C 3B 5A 00 08 */ addi r26, r26, 8 +lbl_8010A8D0: +/* 8010A8D0 00107830 7C 1A D8 40 */ cmplw r26, r27 +/* 8010A8D4 00107834 40 82 FF E4 */ bne lbl_8010A8B8 +/* 8010A8D8 00107838 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8010A8DC 0010783C 28 03 00 00 */ cmplwi r3, 0 +/* 8010A8E0 00107840 41 82 00 08 */ beq lbl_8010A8E8 +/* 8010A8E4 00107844 48 20 B0 4D */ bl Free__7CMemoryFPCv +lbl_8010A8E8: +/* 8010A8E8 00107848 93 9E 00 0C */ stw r28, 0xc(r30) +/* 8010A8EC 0010784C 93 FE 00 08 */ stw r31, 8(r30) +lbl_8010A8F0: +/* 8010A8F0 00107850 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8010A8F4 00107854 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010A8F8 00107858 7C 08 03 A6 */ mtlr r0 +/* 8010A8FC 0010785C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010A900 00107860 4E 80 00 20 */ blr + +.global "reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi" +"reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi": +/* 8010A904 00107864 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010A908 00107868 7C 08 02 A6 */ mflr r0 +/* 8010A90C 0010786C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010A910 00107870 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8010A914 00107874 7C 9F 23 78 */ mr r31, r4 +/* 8010A918 00107878 7C 7E 1B 78 */ mr r30, r3 +/* 8010A91C 0010787C 80 03 00 08 */ lwz r0, 8(r3) +/* 8010A920 00107880 7C 1F 00 00 */ cmpw r31, r0 +/* 8010A924 00107884 40 81 00 DC */ ble lbl_8010AA00 +/* 8010A928 00107888 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 8010A92C 0010788C 40 82 00 0C */ bne lbl_8010A938 +/* 8010A930 00107890 3B 80 00 00 */ li r28, 0 +/* 8010A934 00107894 48 00 00 1C */ b lbl_8010A950 +lbl_8010A938: +/* 8010A938 00107898 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha +/* 8010A93C 0010789C 38 A0 00 00 */ li r5, 0 +/* 8010A940 001078A0 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l +/* 8010A944 001078A4 38 84 02 AC */ addi r4, r4, 0x2ac +/* 8010A948 001078A8 48 20 AE D1 */ bl __nwa__FUlPCcPCc +/* 8010A94C 001078AC 7C 7C 1B 78 */ mr r28, r3 +lbl_8010A950: +/* 8010A950 001078B0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8010A954 001078B4 7F 9B E3 78 */ mr r27, r28 +/* 8010A958 001078B8 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8010A95C 001078BC 54 00 20 36 */ slwi r0, r0, 4 +/* 8010A960 001078C0 7F BA 02 14 */ add r29, r26, r0 +/* 8010A964 001078C4 93 41 00 10 */ stw r26, 0x10(r1) +/* 8010A968 001078C8 93 A1 00 08 */ stw r29, 8(r1) +/* 8010A96C 001078CC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8010A970 001078D0 93 41 00 14 */ stw r26, 0x14(r1) +/* 8010A974 001078D4 48 00 00 30 */ b lbl_8010A9A4 +lbl_8010A978: +/* 8010A978 001078D8 28 1B 00 00 */ cmplwi r27, 0 +/* 8010A97C 001078DC 41 82 00 20 */ beq lbl_8010A99C +/* 8010A980 001078E0 80 1A 00 00 */ lwz r0, 0(r26) +/* 8010A984 001078E4 38 7B 00 08 */ addi r3, r27, 8 +/* 8010A988 001078E8 38 9A 00 08 */ addi r4, r26, 8 +/* 8010A98C 001078EC 90 1B 00 00 */ stw r0, 0(r27) +/* 8010A990 001078F0 80 1A 00 04 */ lwz r0, 4(r26) +/* 8010A994 001078F4 90 1B 00 04 */ stw r0, 4(r27) +/* 8010A998 001078F8 48 23 65 11 */ bl __ct__6CTokenFRC6CToken +lbl_8010A99C: +/* 8010A99C 001078FC 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 8010A9A0 00107900 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_8010A9A4: +/* 8010A9A4 00107904 7C 1A E8 40 */ cmplw r26, r29 +/* 8010A9A8 00107908 40 82 FF D0 */ bne lbl_8010A978 +/* 8010A9AC 0010790C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8010A9B0 00107910 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 8010A9B4 00107914 54 00 20 36 */ slwi r0, r0, 4 +/* 8010A9B8 00107918 7F 7A 02 14 */ add r27, r26, r0 +/* 8010A9BC 0010791C 48 00 00 24 */ b lbl_8010A9E0 +lbl_8010A9C0: +/* 8010A9C0 00107920 28 1A 00 00 */ cmplwi r26, 0 +/* 8010A9C4 00107924 41 82 00 18 */ beq lbl_8010A9DC +/* 8010A9C8 00107928 34 1A 00 08 */ addic. r0, r26, 8 +/* 8010A9CC 0010792C 41 82 00 10 */ beq lbl_8010A9DC +/* 8010A9D0 00107930 38 7A 00 08 */ addi r3, r26, 8 +/* 8010A9D4 00107934 38 80 00 00 */ li r4, 0 +/* 8010A9D8 00107938 48 23 64 69 */ bl __dt__6CTokenFv +lbl_8010A9DC: +/* 8010A9DC 0010793C 3B 5A 00 10 */ addi r26, r26, 0x10 +lbl_8010A9E0: +/* 8010A9E0 00107940 7C 1A D8 40 */ cmplw r26, r27 +/* 8010A9E4 00107944 40 82 FF DC */ bne lbl_8010A9C0 +/* 8010A9E8 00107948 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8010A9EC 0010794C 28 03 00 00 */ cmplwi r3, 0 +/* 8010A9F0 00107950 41 82 00 08 */ beq lbl_8010A9F8 +/* 8010A9F4 00107954 48 20 AF 3D */ bl Free__7CMemoryFPCv +lbl_8010A9F8: +/* 8010A9F8 00107958 93 9E 00 0C */ stw r28, 0xc(r30) +/* 8010A9FC 0010795C 93 FE 00 08 */ stw r31, 8(r30) +lbl_8010AA00: +/* 8010AA00 00107960 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8010AA04 00107964 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010AA08 00107968 7C 08 03 A6 */ mtlr r0 +/* 8010AA0C 0010796C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010AA10 00107970 4E 80 00 20 */ blr + +.global sub_8010aa14 +sub_8010aa14: +/* 8010AA14 00107974 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8010AA18 00107978 7C 08 02 A6 */ mflr r0 +/* 8010AA1C 0010797C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8010AA20 00107980 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8010AA24 00107984 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8010AA28 00107988 7C 9E 23 78 */ mr r30, r4 +/* 8010AA2C 0010798C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8010AA30 00107990 7C 7D 1B 78 */ mr r29, r3 +/* 8010AA34 00107994 80 03 00 04 */ lwz r0, 4(r3) +/* 8010AA38 00107998 83 E4 00 04 */ lwz r31, 4(r4) +/* 8010AA3C 0010799C 7C 1E 00 40 */ cmplw r30, r0 +/* 8010AA40 001079A0 40 82 00 08 */ bne lbl_8010AA48 +/* 8010AA44 001079A4 93 FD 00 04 */ stw r31, 4(r29) +lbl_8010AA48: +/* 8010AA48 001079A8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8010AA4C 001079AC 34 9E 00 08 */ addic. r4, r30, 8 +/* 8010AA50 001079B0 80 7E 00 00 */ lwz r3, 0(r30) +/* 8010AA54 001079B4 90 03 00 04 */ stw r0, 4(r3) +/* 8010AA58 001079B8 80 1E 00 00 */ lwz r0, 0(r30) +/* 8010AA5C 001079BC 80 7E 00 04 */ lwz r3, 4(r30) +/* 8010AA60 001079C0 90 03 00 00 */ stw r0, 0(r3) +/* 8010AA64 001079C4 41 82 00 18 */ beq lbl_8010AA7C +/* 8010AA68 001079C8 34 04 00 04 */ addic. r0, r4, 4 +/* 8010AA6C 001079CC 41 82 00 10 */ beq lbl_8010AA7C +/* 8010AA70 001079D0 38 64 00 04 */ addi r3, r4, 4 +/* 8010AA74 001079D4 38 80 00 00 */ li r4, 0 +/* 8010AA78 001079D8 48 23 63 C9 */ bl __dt__6CTokenFv +lbl_8010AA7C: +/* 8010AA7C 001079DC 28 1E 00 00 */ cmplwi r30, 0 +/* 8010AA80 001079E0 41 82 00 0C */ beq lbl_8010AA8C +/* 8010AA84 001079E4 7F C3 F3 78 */ mr r3, r30 +/* 8010AA88 001079E8 48 20 AE A9 */ bl Free__7CMemoryFPCv +lbl_8010AA8C: +/* 8010AA8C 001079EC 80 9D 00 14 */ lwz r4, 0x14(r29) +/* 8010AA90 001079F0 7F E3 FB 78 */ mr r3, r31 +/* 8010AA94 001079F4 38 04 FF FF */ addi r0, r4, -1 +/* 8010AA98 001079F8 90 1D 00 14 */ stw r0, 0x14(r29) +/* 8010AA9C 001079FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8010AAA0 00107A00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010AAA4 00107A04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8010AAA8 00107A08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8010AAAC 00107A0C 7C 08 03 A6 */ mtlr r0 +/* 8010AAB0 00107A10 38 21 00 20 */ addi r1, r1, 0x20 +/* 8010AAB4 00107A14 4E 80 00 20 */ blr + +.global sub_8010aab8 +sub_8010aab8: +/* 8010AAB8 00107A18 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8010AABC 00107A1C 7C 08 02 A6 */ mflr r0 +/* 8010AAC0 00107A20 90 01 00 24 */ stw r0, 0x24(r1) +/* 8010AAC4 00107A24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8010AAC8 00107A28 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8010AACC 00107A2C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8010AAD0 00107A30 7C 9D 23 78 */ mr r29, r4 +/* 8010AAD4 00107A34 93 81 00 10 */ stw r28, 0x10(r1) +/* 8010AAD8 00107A38 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8010AADC 00107A3C 41 82 00 5C */ beq lbl_8010AB38 +/* 8010AAE0 00107A40 83 FC 00 04 */ lwz r31, 4(r28) +/* 8010AAE4 00107A44 48 00 00 38 */ b lbl_8010AB1C +lbl_8010AAE8: +/* 8010AAE8 00107A48 7F FE FB 78 */ mr r30, r31 +/* 8010AAEC 00107A4C 83 FF 00 04 */ lwz r31, 4(r31) +/* 8010AAF0 00107A50 34 7E 00 08 */ addic. r3, r30, 8 +/* 8010AAF4 00107A54 41 82 00 18 */ beq lbl_8010AB0C +/* 8010AAF8 00107A58 34 03 00 04 */ addic. r0, r3, 4 +/* 8010AAFC 00107A5C 41 82 00 10 */ beq lbl_8010AB0C +/* 8010AB00 00107A60 38 63 00 04 */ addi r3, r3, 4 +/* 8010AB04 00107A64 38 80 00 00 */ li r4, 0 +/* 8010AB08 00107A68 48 23 63 39 */ bl __dt__6CTokenFv +lbl_8010AB0C: +/* 8010AB0C 00107A6C 28 1E 00 00 */ cmplwi r30, 0 +/* 8010AB10 00107A70 41 82 00 0C */ beq lbl_8010AB1C +/* 8010AB14 00107A74 7F C3 F3 78 */ mr r3, r30 +/* 8010AB18 00107A78 48 20 AE 19 */ bl Free__7CMemoryFPCv +lbl_8010AB1C: +/* 8010AB1C 00107A7C 80 1C 00 08 */ lwz r0, 8(r28) +/* 8010AB20 00107A80 7C 1F 00 40 */ cmplw r31, r0 +/* 8010AB24 00107A84 40 82 FF C4 */ bne lbl_8010AAE8 +/* 8010AB28 00107A88 7F A0 07 35 */ extsh. r0, r29 +/* 8010AB2C 00107A8C 40 81 00 0C */ ble lbl_8010AB38 +/* 8010AB30 00107A90 7F 83 E3 78 */ mr r3, r28 +/* 8010AB34 00107A94 48 20 AD FD */ bl Free__7CMemoryFPCv +lbl_8010AB38: +/* 8010AB38 00107A98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8010AB3C 00107A9C 7F 83 E3 78 */ mr r3, r28 +/* 8010AB40 00107AA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8010AB44 00107AA4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010AB48 00107AA8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8010AB4C 00107AAC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 8010AB50 00107AB0 7C 08 03 A6 */ mtlr r0 +/* 8010AB54 00107AB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8010AB58 00107AB8 4E 80 00 20 */ blr + +.global "__sort3<20SDumpableTextureInfo,24CTextureScoreGreaterThan>__4rstlFR20SDumpableTextureInfoR20SDumpableTextureInfoR20SDumpableTextureInfo24CTextureScoreGreaterThan" +"__sort3<20SDumpableTextureInfo,24CTextureScoreGreaterThan>__4rstlFR20SDumpableTextureInfoR20SDumpableTextureInfoR20SDumpableTextureInfo24CTextureScoreGreaterThan": +/* 8010AB5C 00107ABC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8010AB60 00107AC0 7C 08 02 A6 */ mflr r0 +/* 8010AB64 00107AC4 90 01 00 44 */ stw r0, 0x44(r1) +/* 8010AB68 00107AC8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8010AB6C 00107ACC 7C 9F 23 78 */ mr r31, r4 +/* 8010AB70 00107AD0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8010AB74 00107AD4 7C 7E 1B 78 */ mr r30, r3 +/* 8010AB78 00107AD8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8010AB7C 00107ADC 93 81 00 30 */ stw r28, 0x30(r1) +/* 8010AB80 00107AE0 7C BC 2B 78 */ mr r28, r5 +/* 8010AB84 00107AE4 80 04 00 04 */ lwz r0, 4(r4) +/* 8010AB88 00107AE8 80 A3 00 04 */ lwz r5, 4(r3) +/* 8010AB8C 00107AEC 7C 00 28 00 */ cmpw r0, r5 +/* 8010AB90 00107AF0 40 80 00 6C */ bge lbl_8010ABFC +/* 8010AB94 00107AF4 80 1E 00 00 */ lwz r0, 0(r30) +/* 8010AB98 00107AF8 3B A1 00 10 */ addi r29, r1, 0x10 +/* 8010AB9C 00107AFC 7F A3 EB 78 */ mr r3, r29 +/* 8010ABA0 00107B00 38 9E 00 08 */ addi r4, r30, 8 +/* 8010ABA4 00107B04 90 01 00 08 */ stw r0, 8(r1) +/* 8010ABA8 00107B08 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8010ABAC 00107B0C 48 23 62 FD */ bl __ct__6CTokenFRC6CToken +/* 8010ABB0 00107B10 80 1F 00 00 */ lwz r0, 0(r31) +/* 8010ABB4 00107B14 38 7E 00 08 */ addi r3, r30, 8 +/* 8010ABB8 00107B18 38 9F 00 08 */ addi r4, r31, 8 +/* 8010ABBC 00107B1C 90 1E 00 00 */ stw r0, 0(r30) +/* 8010ABC0 00107B20 80 1F 00 04 */ lwz r0, 4(r31) +/* 8010ABC4 00107B24 90 1E 00 04 */ stw r0, 4(r30) +/* 8010ABC8 00107B28 48 23 60 FD */ bl __as__6CTokenFRC6CToken +/* 8010ABCC 00107B2C 80 01 00 08 */ lwz r0, 8(r1) +/* 8010ABD0 00107B30 7F A4 EB 78 */ mr r4, r29 +/* 8010ABD4 00107B34 38 7F 00 08 */ addi r3, r31, 8 +/* 8010ABD8 00107B38 90 1F 00 00 */ stw r0, 0(r31) +/* 8010ABDC 00107B3C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8010ABE0 00107B40 90 1F 00 04 */ stw r0, 4(r31) +/* 8010ABE4 00107B44 48 23 60 E1 */ bl __as__6CTokenFRC6CToken +/* 8010ABE8 00107B48 28 1D 00 00 */ cmplwi r29, 0 +/* 8010ABEC 00107B4C 41 82 00 10 */ beq lbl_8010ABFC +/* 8010ABF0 00107B50 7F A3 EB 78 */ mr r3, r29 +/* 8010ABF4 00107B54 38 80 00 00 */ li r4, 0 +/* 8010ABF8 00107B58 48 23 62 49 */ bl __dt__6CTokenFv +lbl_8010ABFC: +/* 8010ABFC 00107B5C 80 BC 00 04 */ lwz r5, 4(r28) +/* 8010AC00 00107B60 80 1F 00 04 */ lwz r0, 4(r31) +/* 8010AC04 00107B64 7C 05 00 00 */ cmpw r5, r0 +/* 8010AC08 00107B68 40 80 00 B8 */ bge lbl_8010ACC0 +/* 8010AC0C 00107B6C 80 1C 00 00 */ lwz r0, 0(r28) +/* 8010AC10 00107B70 3B A1 00 20 */ addi r29, r1, 0x20 +/* 8010AC14 00107B74 7F A3 EB 78 */ mr r3, r29 +/* 8010AC18 00107B78 38 9C 00 08 */ addi r4, r28, 8 +/* 8010AC1C 00107B7C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8010AC20 00107B80 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8010AC24 00107B84 48 23 62 85 */ bl __ct__6CTokenFRC6CToken +/* 8010AC28 00107B88 80 1F 00 00 */ lwz r0, 0(r31) +/* 8010AC2C 00107B8C 38 7C 00 08 */ addi r3, r28, 8 +/* 8010AC30 00107B90 38 9F 00 08 */ addi r4, r31, 8 +/* 8010AC34 00107B94 90 1C 00 00 */ stw r0, 0(r28) +/* 8010AC38 00107B98 80 1F 00 04 */ lwz r0, 4(r31) +/* 8010AC3C 00107B9C 90 1C 00 04 */ stw r0, 4(r28) +/* 8010AC40 00107BA0 48 23 60 85 */ bl __as__6CTokenFRC6CToken +/* 8010AC44 00107BA4 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8010AC48 00107BA8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8010AC4C 00107BAC 7C 03 00 00 */ cmpw r3, r0 +/* 8010AC50 00107BB0 40 80 00 40 */ bge lbl_8010AC90 +/* 8010AC54 00107BB4 80 1E 00 00 */ lwz r0, 0(r30) +/* 8010AC58 00107BB8 38 7F 00 08 */ addi r3, r31, 8 +/* 8010AC5C 00107BBC 38 9E 00 08 */ addi r4, r30, 8 +/* 8010AC60 00107BC0 90 1F 00 00 */ stw r0, 0(r31) +/* 8010AC64 00107BC4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8010AC68 00107BC8 90 1F 00 04 */ stw r0, 4(r31) +/* 8010AC6C 00107BCC 48 23 60 59 */ bl __as__6CTokenFRC6CToken +/* 8010AC70 00107BD0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8010AC74 00107BD4 7F A4 EB 78 */ mr r4, r29 +/* 8010AC78 00107BD8 38 7E 00 08 */ addi r3, r30, 8 +/* 8010AC7C 00107BDC 90 1E 00 00 */ stw r0, 0(r30) +/* 8010AC80 00107BE0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8010AC84 00107BE4 90 1E 00 04 */ stw r0, 4(r30) +/* 8010AC88 00107BE8 48 23 60 3D */ bl __as__6CTokenFRC6CToken +/* 8010AC8C 00107BEC 48 00 00 20 */ b lbl_8010ACAC +lbl_8010AC90: +/* 8010AC90 00107BF0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8010AC94 00107BF4 7F A4 EB 78 */ mr r4, r29 +/* 8010AC98 00107BF8 38 7F 00 08 */ addi r3, r31, 8 +/* 8010AC9C 00107BFC 90 1F 00 00 */ stw r0, 0(r31) +/* 8010ACA0 00107C00 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8010ACA4 00107C04 90 1F 00 04 */ stw r0, 4(r31) +/* 8010ACA8 00107C08 48 23 60 1D */ bl __as__6CTokenFRC6CToken +lbl_8010ACAC: +/* 8010ACAC 00107C0C 28 1D 00 00 */ cmplwi r29, 0 +/* 8010ACB0 00107C10 41 82 00 10 */ beq lbl_8010ACC0 +/* 8010ACB4 00107C14 7F A3 EB 78 */ mr r3, r29 +/* 8010ACB8 00107C18 38 80 00 00 */ li r4, 0 +/* 8010ACBC 00107C1C 48 23 61 85 */ bl __dt__6CTokenFv +lbl_8010ACC0: +/* 8010ACC0 00107C20 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8010ACC4 00107C24 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8010ACC8 00107C28 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8010ACCC 00107C2C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8010ACD0 00107C30 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8010ACD4 00107C34 7C 08 03 A6 */ mtlr r0 +/* 8010ACD8 00107C38 38 21 00 40 */ addi r1, r1, 0x40 +/* 8010ACDC 00107C3C 4E 80 00 20 */ blr + +.global "__insertion_sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterTha" +"__insertion_sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterTha": +/* 8010ACE0 00107C40 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010ACE4 00107C44 7C 08 02 A6 */ mflr r0 +/* 8010ACE8 00107C48 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010ACEC 00107C4C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8010ACF0 00107C50 7C 7A 1B 78 */ mr r26, r3 +/* 8010ACF4 00107C54 7C 9B 23 78 */ mr r27, r4 +/* 8010ACF8 00107C58 3B 81 00 10 */ addi r28, r1, 0x10 +/* 8010ACFC 00107C5C 83 E3 00 00 */ lwz r31, 0(r3) +/* 8010AD00 00107C60 3B FF 00 10 */ addi r31, r31, 0x10 +/* 8010AD04 00107C64 48 00 00 A0 */ b lbl_8010ADA4 +lbl_8010AD08: +/* 8010AD08 00107C68 80 1F 00 00 */ lwz r0, 0(r31) +/* 8010AD0C 00107C6C 7F 83 E3 78 */ mr r3, r28 +/* 8010AD10 00107C70 38 9F 00 08 */ addi r4, r31, 8 +/* 8010AD14 00107C74 90 01 00 08 */ stw r0, 8(r1) +/* 8010AD18 00107C78 80 1F 00 04 */ lwz r0, 4(r31) +/* 8010AD1C 00107C7C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8010AD20 00107C80 48 23 61 89 */ bl __ct__6CTokenFRC6CToken +/* 8010AD24 00107C84 7F FD FB 78 */ mr r29, r31 +/* 8010AD28 00107C88 3B DF FF F0 */ addi r30, r31, -16 +/* 8010AD2C 00107C8C 48 00 00 28 */ b lbl_8010AD54 +lbl_8010AD30: +/* 8010AD30 00107C90 80 1E 00 00 */ lwz r0, 0(r30) +/* 8010AD34 00107C94 38 7D 00 08 */ addi r3, r29, 8 +/* 8010AD38 00107C98 38 9E 00 08 */ addi r4, r30, 8 +/* 8010AD3C 00107C9C 90 1D 00 00 */ stw r0, 0(r29) +/* 8010AD40 00107CA0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8010AD44 00107CA4 90 1D 00 04 */ stw r0, 4(r29) +/* 8010AD48 00107CA8 48 23 5F 7D */ bl __as__6CTokenFRC6CToken +/* 8010AD4C 00107CAC 3B BD FF F0 */ addi r29, r29, -16 +/* 8010AD50 00107CB0 3B DE FF F0 */ addi r30, r30, -16 +lbl_8010AD54: +/* 8010AD54 00107CB4 80 1A 00 00 */ lwz r0, 0(r26) +/* 8010AD58 00107CB8 7C 00 E8 40 */ cmplw r0, r29 +/* 8010AD5C 00107CBC 40 80 00 14 */ bge lbl_8010AD70 +/* 8010AD60 00107CC0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8010AD64 00107CC4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8010AD68 00107CC8 7C 03 00 00 */ cmpw r3, r0 +/* 8010AD6C 00107CCC 41 80 FF C4 */ blt lbl_8010AD30 +lbl_8010AD70: +/* 8010AD70 00107CD0 80 01 00 08 */ lwz r0, 8(r1) +/* 8010AD74 00107CD4 7F 84 E3 78 */ mr r4, r28 +/* 8010AD78 00107CD8 38 7D 00 08 */ addi r3, r29, 8 +/* 8010AD7C 00107CDC 90 1D 00 00 */ stw r0, 0(r29) +/* 8010AD80 00107CE0 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8010AD84 00107CE4 90 1D 00 04 */ stw r0, 4(r29) +/* 8010AD88 00107CE8 48 23 5F 3D */ bl __as__6CTokenFRC6CToken +/* 8010AD8C 00107CEC 28 1C 00 00 */ cmplwi r28, 0 +/* 8010AD90 00107CF0 41 82 00 10 */ beq lbl_8010ADA0 +/* 8010AD94 00107CF4 7F 83 E3 78 */ mr r3, r28 +/* 8010AD98 00107CF8 38 80 00 00 */ li r4, 0 +/* 8010AD9C 00107CFC 48 23 60 A5 */ bl __dt__6CTokenFv +lbl_8010ADA0: +/* 8010ADA0 00107D00 3B FF 00 10 */ addi r31, r31, 0x10 +lbl_8010ADA4: +/* 8010ADA4 00107D04 80 1B 00 00 */ lwz r0, 0(r27) +/* 8010ADA8 00107D08 7C 1F 00 40 */ cmplw r31, r0 +/* 8010ADAC 00107D0C 41 80 FF 5C */ blt lbl_8010AD08 +/* 8010ADB0 00107D10 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8010ADB4 00107D14 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010ADB8 00107D18 7C 08 03 A6 */ mtlr r0 +/* 8010ADBC 00107D1C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010ADC0 00107D20 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CLightParameters.s b/asm/Kyoto_CWD/CLightParameters.s new file mode 100644 index 00000000..84733679 --- /dev/null +++ b/asm/Kyoto_CWD/CLightParameters.s @@ -0,0 +1,268 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global MakeActorLights__16CLightParametersCFv +MakeActorLights__16CLightParametersCFv: +/* 80106410 00103370 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80106414 00103374 7C 08 02 A6 */ mflr r0 +/* 80106418 00103378 90 01 00 44 */ stw r0, 0x44(r1) +/* 8010641C 0010337C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80106420 00103380 7C 9F 23 78 */ mr r31, r4 +/* 80106424 00103384 38 80 00 00 */ li r4, 0 +/* 80106428 00103388 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8010642C 0010338C 7C 7E 1B 78 */ mr r30, r3 +/* 80106430 00103390 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80106434 00103394 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 80106438 00103398 98 81 00 10 */ stb r4, 0x10(r1) +/* 8010643C 0010339C 28 00 00 00 */ cmplwi r0, 0 +/* 80106440 001033A0 90 81 00 14 */ stw r4, 0x14(r1) +/* 80106444 001033A4 41 82 01 34 */ beq lbl_80106578 +/* 80106448 001033A8 3C 80 80 3D */ lis r4, lbl_803CEE50@ha +/* 8010644C 001033AC 38 60 02 E0 */ li r3, 0x2e0 +/* 80106450 001033B0 38 84 EE 50 */ addi r4, r4, lbl_803CEE50@l +/* 80106454 001033B4 38 A0 00 00 */ li r5, 0 +/* 80106458 001033B8 48 20 F4 15 */ bl __nw__FUlPCcPCc +/* 8010645C 001033BC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80106460 001033C0 41 82 00 68 */ beq lbl_801064C8 +/* 80106464 001033C4 80 7F 00 2C */ lwz r3, 0x2c(r31) +/* 80106468 001033C8 80 9F 00 30 */ lwz r4, 0x30(r31) +/* 8010646C 001033CC 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80106470 001033D0 90 61 00 18 */ stw r3, 0x18(r1) +/* 80106474 001033D4 80 7F 00 24 */ lwz r3, 0x24(r31) +/* 80106478 001033D8 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8010647C 001033DC 90 01 00 20 */ stw r0, 0x20(r1) +/* 80106480 001033E0 48 00 01 35 */ bl GetFramesBetweenRecalculation__16CLightParametersF26ELightRecalculationOptions +/* 80106484 001033E4 80 BF 00 28 */ lwz r5, 0x28(r31) +/* 80106488 001033E8 7C 64 1B 78 */ mr r4, r3 +/* 8010648C 001033EC 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80106490 001033F0 7F A3 EB 78 */ mr r3, r29 +/* 80106494 001033F4 20 A5 00 01 */ subfic r5, r5, 1 +/* 80106498 001033F8 80 DF 00 38 */ lwz r6, 0x38(r31) +/* 8010649C 001033FC 20 00 00 03 */ subfic r0, r0, 3 +/* 801064A0 00103400 80 FF 00 3C */ lwz r7, 0x3c(r31) +/* 801064A4 00103404 7C A9 00 34 */ cntlzw r9, r5 +/* 801064A8 00103408 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) +/* 801064AC 0010340C 7C 00 00 34 */ cntlzw r0, r0 +/* 801064B0 00103410 89 1F 00 1D */ lbz r8, 0x1d(r31) +/* 801064B4 00103414 38 A1 00 18 */ addi r5, r1, 0x18 +/* 801064B8 00103418 55 29 D9 7E */ srwi r9, r9, 5 +/* 801064BC 0010341C 54 0A D9 7E */ srwi r10, r0, 5 +/* 801064C0 00103420 4B FF ED 0D */ bl __ct__12CActorLightsFUi9CVector3fiif +/* 801064C4 00103424 7C 7D 1B 78 */ mr r29, r3 +lbl_801064C8: +/* 801064C8 00103428 7C 1D 00 D0 */ neg r0, r29 +/* 801064CC 0010342C 38 61 00 08 */ addi r3, r1, 8 +/* 801064D0 00103430 7C 04 EB 78 */ or r4, r0, r29 +/* 801064D4 00103434 38 01 00 10 */ addi r0, r1, 0x10 +/* 801064D8 00103438 54 84 0F FE */ srwi r4, r4, 0x1f +/* 801064DC 0010343C 93 A1 00 0C */ stw r29, 0xc(r1) +/* 801064E0 00103440 7C 03 00 40 */ cmplw r3, r0 +/* 801064E4 00103444 98 81 00 08 */ stb r4, 8(r1) +/* 801064E8 00103448 41 82 00 34 */ beq lbl_8010651C +/* 801064EC 0010344C 88 01 00 10 */ lbz r0, 0x10(r1) +/* 801064F0 00103450 28 00 00 00 */ cmplwi r0, 0 +/* 801064F4 00103454 41 82 00 10 */ beq lbl_80106504 +/* 801064F8 00103458 80 61 00 14 */ lwz r3, 0x14(r1) +/* 801064FC 0010345C 38 80 00 01 */ li r4, 1 +/* 80106500 00103460 4B FF EB D5 */ bl __dt__12CActorLightsFv +lbl_80106504: +/* 80106504 00103464 88 81 00 08 */ lbz r4, 8(r1) +/* 80106508 00103468 38 00 00 00 */ li r0, 0 +/* 8010650C 0010346C 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80106510 00103470 98 81 00 10 */ stb r4, 0x10(r1) +/* 80106514 00103474 90 61 00 14 */ stw r3, 0x14(r1) +/* 80106518 00103478 98 01 00 08 */ stb r0, 8(r1) +lbl_8010651C: +/* 8010651C 0010347C 88 01 00 08 */ lbz r0, 8(r1) +/* 80106520 00103480 28 00 00 00 */ cmplwi r0, 0 +/* 80106524 00103484 41 82 00 10 */ beq lbl_80106534 +/* 80106528 00103488 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8010652C 0010348C 38 80 00 01 */ li r4, 1 +/* 80106530 00103490 4B FF EB A5 */ bl __dt__12CActorLightsFv +lbl_80106534: +/* 80106534 00103494 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80106538 00103498 2C 00 00 02 */ cmpwi r0, 2 +/* 8010653C 0010349C 40 82 00 18 */ bne lbl_80106554 +/* 80106540 001034A0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80106544 001034A4 38 80 00 00 */ li r4, 0 +/* 80106548 001034A8 88 03 02 98 */ lbz r0, 0x298(r3) +/* 8010654C 001034AC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80106550 001034B0 98 03 02 98 */ stb r0, 0x298(r3) +lbl_80106554: +/* 80106554 001034B4 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 80106558 001034B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8010655C 001034BC 40 82 00 1C */ bne lbl_80106578 +/* 80106560 001034C0 88 1F 00 1C */ lbz r0, 0x1c(r31) +/* 80106564 001034C4 28 00 00 00 */ cmplwi r0, 0 +/* 80106568 001034C8 41 82 00 10 */ beq lbl_80106578 +/* 8010656C 001034CC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80106570 001034D0 38 9F 00 18 */ addi r4, r31, 0x18 +/* 80106574 001034D4 4B FF EA C5 */ bl SetAmbientColor__12CActorLightsFRC6CColor +lbl_80106578: +/* 80106578 001034D8 88 61 00 10 */ lbz r3, 0x10(r1) +/* 8010657C 001034DC 38 00 00 00 */ li r0, 0 +/* 80106580 001034E0 98 7E 00 00 */ stb r3, 0(r30) +/* 80106584 001034E4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80106588 001034E8 90 7E 00 04 */ stw r3, 4(r30) +/* 8010658C 001034EC 98 01 00 10 */ stb r0, 0x10(r1) +/* 80106590 001034F0 48 00 00 08 */ b lbl_80106598 +/* 80106594 001034F4 4B FF EB 41 */ bl __dt__12CActorLightsFv +lbl_80106598: +/* 80106598 001034F8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8010659C 001034FC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 801065A0 00103500 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 801065A4 00103504 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 801065A8 00103508 7C 08 03 A6 */ mtlr r0 +/* 801065AC 0010350C 38 21 00 40 */ addi r1, r1, 0x40 +/* 801065B0 00103510 4E 80 00 20 */ blr + +.global GetFramesBetweenRecalculation__16CLightParametersF26ELightRecalculationOptions +GetFramesBetweenRecalculation__16CLightParametersF26ELightRecalculationOptions: +/* 801065B4 00103514 2C 03 00 02 */ cmpwi r3, 2 +/* 801065B8 00103518 41 82 00 38 */ beq lbl_801065F0 +/* 801065BC 0010351C 40 80 00 14 */ bge lbl_801065D0 +/* 801065C0 00103520 2C 03 00 00 */ cmpwi r3, 0 +/* 801065C4 00103524 41 82 00 18 */ beq lbl_801065DC +/* 801065C8 00103528 40 80 00 20 */ bge lbl_801065E8 +/* 801065CC 0010352C 48 00 00 34 */ b lbl_80106600 +lbl_801065D0: +/* 801065D0 00103530 2C 03 00 04 */ cmpwi r3, 4 +/* 801065D4 00103534 40 80 00 2C */ bge lbl_80106600 +/* 801065D8 00103538 48 00 00 20 */ b lbl_801065F8 +lbl_801065DC: +/* 801065DC 0010353C 3C 60 40 00 */ lis r3, 0x3FFFFFFF@ha +/* 801065E0 00103540 38 63 FF FF */ addi r3, r3, 0x3FFFFFFF@l +/* 801065E4 00103544 4E 80 00 20 */ blr +lbl_801065E8: +/* 801065E8 00103548 38 60 00 08 */ li r3, 8 +/* 801065EC 0010354C 4E 80 00 20 */ blr +lbl_801065F0: +/* 801065F0 00103550 38 60 00 04 */ li r3, 4 +/* 801065F4 00103554 4E 80 00 20 */ blr +lbl_801065F8: +/* 801065F8 00103558 38 60 00 01 */ li r3, 1 +/* 801065FC 0010355C 4E 80 00 20 */ blr +lbl_80106600: +/* 80106600 00103560 38 60 00 08 */ li r3, 8 +/* 80106604 00103564 4E 80 00 20 */ blr + +.global __dt__16CActorParametersFv +__dt__16CActorParametersFv: +/* 80106608 00103568 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8010660C 0010356C 7C 08 02 A6 */ mflr r0 +/* 80106610 00103570 90 01 00 14 */ stw r0, 0x14(r1) +/* 80106614 00103574 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80106618 00103578 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8010661C 0010357C 41 82 00 1C */ beq lbl_80106638 +/* 80106620 00103580 3C A0 80 3E */ lis r5, lbl_803DFF80@ha +/* 80106624 00103584 7C 80 07 35 */ extsh. r0, r4 +/* 80106628 00103588 38 05 FF 80 */ addi r0, r5, lbl_803DFF80@l +/* 8010662C 0010358C 90 1F 00 00 */ stw r0, 0(r31) +/* 80106630 00103590 40 81 00 08 */ ble lbl_80106638 +/* 80106634 00103594 48 20 F2 FD */ bl Free__7CMemoryFPCv +lbl_80106638: +/* 80106638 00103598 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8010663C 0010359C 7F E3 FB 78 */ mr r3, r31 +/* 80106640 001035A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80106644 001035A4 7C 08 03 A6 */ mtlr r0 +/* 80106648 001035A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8010664C 001035AC 4E 80 00 20 */ blr + +.global __ct__16CLightParametersFv +__ct__16CLightParametersFv: +/* 80106650 001035B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80106654 001035B4 7C 08 02 A6 */ mflr r0 +/* 80106658 001035B8 3C 80 80 3E */ lis r4, lbl_803DFF80@ha +/* 8010665C 001035BC C0 02 94 78 */ lfs f0, lbl_805AB198@sda21(r2) +/* 80106660 001035C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80106664 001035C4 38 00 00 00 */ li r0, 0 +/* 80106668 001035C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8010666C 001035CC 7C 7F 1B 78 */ mr r31, r3 +/* 80106670 001035D0 38 64 FF 80 */ addi r3, r4, lbl_803DFF80@l +/* 80106674 001035D4 90 7F 00 00 */ stw r3, 0(r31) +/* 80106678 001035D8 98 1F 00 04 */ stb r0, 4(r31) +/* 8010667C 001035DC D0 1F 00 08 */ stfs f0, 8(r31) +/* 80106680 001035E0 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80106684 001035E4 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80106688 001035E8 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8010668C 001035EC 48 24 39 21 */ bl White__6CColorFv +/* 80106690 001035F0 80 03 00 00 */ lwz r0, 0(r3) +/* 80106694 001035F4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80106698 001035F8 38 C0 00 00 */ li r6, 0 +/* 8010669C 001035FC 38 A0 00 01 */ li r5, 1 +/* 801066A0 00103600 90 1F 00 18 */ stw r0, 0x18(r31) +/* 801066A4 00103604 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 801066A8 00103608 38 00 00 04 */ li r0, 4 +/* 801066AC 0010360C 7F E3 FB 78 */ mr r3, r31 +/* 801066B0 00103610 98 DF 00 1C */ stb r6, 0x1c(r31) +/* 801066B4 00103614 98 DF 00 1D */ stb r6, 0x1d(r31) +/* 801066B8 00103618 90 DF 00 20 */ stw r6, 0x20(r31) +/* 801066BC 0010361C 90 BF 00 24 */ stw r5, 0x24(r31) +/* 801066C0 00103620 90 DF 00 28 */ stw r6, 0x28(r31) +/* 801066C4 00103624 C0 04 00 00 */ lfs f0, 0(r4) +/* 801066C8 00103628 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 801066CC 0010362C C0 04 00 04 */ lfs f0, 4(r4) +/* 801066D0 00103630 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 801066D4 00103634 C0 04 00 08 */ lfs f0, 8(r4) +/* 801066D8 00103638 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 801066DC 0010363C 90 1F 00 38 */ stw r0, 0x38(r31) +/* 801066E0 00103640 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 801066E4 00103644 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801066E8 00103648 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801066EC 0010364C 7C 08 03 A6 */ mtlr r0 +/* 801066F0 00103650 38 21 00 10 */ addi r1, r1, 0x10 +/* 801066F4 00103654 4E 80 00 20 */ blr + +.global __ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii +__ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii: +/* 801066F8 00103658 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801066FC 0010365C 3D 60 80 3E */ lis r11, lbl_803DFF80@ha +/* 80106700 00103660 38 0B FF 80 */ addi r0, r11, lbl_803DFF80@l +/* 80106704 00103664 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80106708 00103668 89 81 00 23 */ lbz r12, 0x23(r1) +/* 8010670C 0010366C 90 03 00 00 */ stw r0, 0(r3) +/* 80106710 00103670 81 61 00 24 */ lwz r11, 0x24(r1) +/* 80106714 00103674 98 83 00 04 */ stb r4, 4(r3) +/* 80106718 00103678 83 E1 00 18 */ lwz r31, 0x18(r1) +/* 8010671C 0010367C D0 23 00 08 */ stfs f1, 8(r3) +/* 80106720 00103680 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 80106724 00103684 90 A3 00 0C */ stw r5, 0xc(r3) +/* 80106728 00103688 D0 43 00 10 */ stfs f2, 0x10(r3) +/* 8010672C 0010368C D0 63 00 14 */ stfs f3, 0x14(r3) +/* 80106730 00103690 80 06 00 00 */ lwz r0, 0(r6) +/* 80106734 00103694 90 03 00 18 */ stw r0, 0x18(r3) +/* 80106738 00103698 98 E3 00 1C */ stb r7, 0x1c(r3) +/* 8010673C 0010369C 99 83 00 1D */ stb r12, 0x1d(r3) +/* 80106740 001036A0 91 03 00 20 */ stw r8, 0x20(r3) +/* 80106744 001036A4 91 23 00 24 */ stw r9, 0x24(r3) +/* 80106748 001036A8 91 63 00 28 */ stw r11, 0x28(r3) +/* 8010674C 001036AC C0 0A 00 00 */ lfs f0, 0(r10) +/* 80106750 001036B0 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 80106754 001036B4 C0 0A 00 04 */ lfs f0, 4(r10) +/* 80106758 001036B8 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8010675C 001036BC C0 0A 00 08 */ lfs f0, 8(r10) +/* 80106760 001036C0 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 80106764 001036C4 93 E3 00 38 */ stw r31, 0x38(r3) +/* 80106768 001036C8 90 83 00 3C */ stw r4, 0x3c(r3) +/* 8010676C 001036CC 80 03 00 38 */ lwz r0, 0x38(r3) +/* 80106770 001036D0 2C 00 00 04 */ cmpwi r0, 4 +/* 80106774 001036D4 41 81 00 0C */ bgt lbl_80106780 +/* 80106778 001036D8 2C 00 FF FF */ cmpwi r0, -1 +/* 8010677C 001036DC 40 82 00 0C */ bne lbl_80106788 +lbl_80106780: +/* 80106780 001036E0 38 00 00 04 */ li r0, 4 +/* 80106784 001036E4 90 03 00 38 */ stw r0, 0x38(r3) +lbl_80106788: +/* 80106788 001036E8 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8010678C 001036EC 2C 00 00 04 */ cmpwi r0, 4 +/* 80106790 001036F0 41 81 00 0C */ bgt lbl_8010679C +/* 80106794 001036F4 2C 00 FF FF */ cmpwi r0, -1 +/* 80106798 001036F8 40 82 00 0C */ bne lbl_801067A4 +lbl_8010679C: +/* 8010679C 001036FC 38 00 00 04 */ li r0, 4 +/* 801067A0 00103700 90 03 00 3C */ stw r0, 0x3c(r3) +lbl_801067A4: +/* 801067A4 00103704 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801067A8 00103708 38 21 00 10 */ addi r1, r1, 0x10 +/* 801067AC 0010370C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CMappableObject.s b/asm/Kyoto_CWD/CMappableObject.s new file mode 100644 index 00000000..bd787ba7 --- /dev/null +++ b/asm/Kyoto_CWD/CMappableObject.s @@ -0,0 +1,977 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AdjustTransformForType__15CMappableObjectFv +AdjustTransformForType__15CMappableObjectFv: +/* 800E8770 000E56D0 94 21 FD 30 */ stwu r1, -0x2d0(r1) +/* 800E8774 000E56D4 7C 08 02 A6 */ mflr r0 +/* 800E8778 000E56D8 90 01 02 D4 */ stw r0, 0x2d4(r1) +/* 800E877C 000E56DC 93 E1 02 CC */ stw r31, 0x2cc(r1) +/* 800E8780 000E56E0 7C 9F 23 78 */ mr r31, r4 +/* 800E8784 000E56E4 93 C1 02 C8 */ stw r30, 0x2c8(r1) +/* 800E8788 000E56E8 7C 7E 1B 78 */ mr r30, r3 +/* 800E878C 000E56EC 80 BF 00 00 */ lwz r5, 0(r31) +/* 800E8790 000E56F0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) +/* 800E8794 000E56F4 2C 05 00 05 */ cmpwi r5, 5 +/* 800E8798 000E56F8 C0 44 00 A4 */ lfs f2, 0xa4(r4) +/* 800E879C 000E56FC C0 84 00 AC */ lfs f4, 0xac(r4) +/* 800E87A0 000E5700 40 82 00 70 */ bne lbl_800E8810 +/* 800E87A4 000E5704 C0 02 90 24 */ lfs f0, lbl_805AAD44@sda21(r2) +/* 800E87A8 000E5708 38 61 02 14 */ addi r3, r1, 0x214 +/* 800E87AC 000E570C C0 62 90 20 */ lfs f3, lbl_805AAD40@sda21(r2) +/* 800E87B0 000E5710 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 800E87B4 000E5714 C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2) +/* 800E87B8 000E5718 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 800E87BC 000E571C C0 22 90 2C */ lfs f1, lbl_805AAD4C@sda21(r2) +/* 800E87C0 000E5720 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 800E87C4 000E5724 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 800E87C8 000E5728 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800E87CC 000E572C 48 22 AA 75 */ bl Scale__12CTransform4fFf +/* 800E87D0 000E5730 38 61 02 44 */ addi r3, r1, 0x244 +/* 800E87D4 000E5734 38 81 00 18 */ addi r4, r1, 0x18 +/* 800E87D8 000E5738 48 22 7C 31 */ bl RotateZ__9CMatrix3fFRC9CRelAngle +/* 800E87DC 000E573C 38 61 02 68 */ addi r3, r1, 0x268 +/* 800E87E0 000E5740 38 81 02 44 */ addi r4, r1, 0x244 +/* 800E87E4 000E5744 38 A1 00 58 */ addi r5, r1, 0x58 +/* 800E87E8 000E5748 48 22 AA 91 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800E87EC 000E574C 7C 65 1B 78 */ mr r5, r3 +/* 800E87F0 000E5750 38 61 02 98 */ addi r3, r1, 0x298 +/* 800E87F4 000E5754 38 9F 00 10 */ addi r4, r31, 0x10 +/* 800E87F8 000E5758 48 22 A1 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800E87FC 000E575C 7F C3 F3 78 */ mr r3, r30 +/* 800E8800 000E5760 38 81 02 98 */ addi r4, r1, 0x298 +/* 800E8804 000E5764 38 A1 02 14 */ addi r5, r1, 0x214 +/* 800E8808 000E5768 48 22 A1 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800E880C 000E576C 48 00 02 20 */ b lbl_800E8A2C +lbl_800E8810: +/* 800E8810 000E5770 2C 05 00 06 */ cmpwi r5, 6 +/* 800E8814 000E5774 40 82 00 78 */ bne lbl_800E888C +/* 800E8818 000E5778 C0 22 90 30 */ lfs f1, lbl_805AAD50@sda21(r2) +/* 800E881C 000E577C 38 61 01 60 */ addi r3, r1, 0x160 +/* 800E8820 000E5780 C0 02 90 24 */ lfs f0, lbl_805AAD44@sda21(r2) +/* 800E8824 000E5784 EC 61 01 32 */ fmuls f3, f1, f4 +/* 800E8828 000E5788 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) +/* 800E882C 000E578C EC 40 00 B2 */ fmuls f2, f0, f2 +/* 800E8830 000E5790 C0 02 90 34 */ lfs f0, lbl_805AAD54@sda21(r2) +/* 800E8834 000E5794 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800E8838 000E5798 C0 22 90 2C */ lfs f1, lbl_805AAD4C@sda21(r2) +/* 800E883C 000E579C D0 61 00 50 */ stfs f3, 0x50(r1) +/* 800E8840 000E57A0 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800E8844 000E57A4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800E8848 000E57A8 48 22 A9 F9 */ bl Scale__12CTransform4fFf +/* 800E884C 000E57AC 38 61 01 90 */ addi r3, r1, 0x190 +/* 800E8850 000E57B0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800E8854 000E57B4 48 22 7B B5 */ bl RotateZ__9CMatrix3fFRC9CRelAngle +/* 800E8858 000E57B8 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 800E885C 000E57BC 38 81 01 90 */ addi r4, r1, 0x190 +/* 800E8860 000E57C0 38 A1 00 4C */ addi r5, r1, 0x4c +/* 800E8864 000E57C4 48 22 AA 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800E8868 000E57C8 7C 65 1B 78 */ mr r5, r3 +/* 800E886C 000E57CC 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 800E8870 000E57D0 38 9F 00 10 */ addi r4, r31, 0x10 +/* 800E8874 000E57D4 48 22 A0 DD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800E8878 000E57D8 7F C3 F3 78 */ mr r3, r30 +/* 800E887C 000E57DC 38 81 01 E4 */ addi r4, r1, 0x1e4 +/* 800E8880 000E57E0 38 A1 01 60 */ addi r5, r1, 0x160 +/* 800E8884 000E57E4 48 22 A0 CD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800E8888 000E57E8 48 00 01 A4 */ b lbl_800E8A2C +lbl_800E888C: +/* 800E888C 000E57EC 2C 05 00 07 */ cmpwi r5, 7 +/* 800E8890 000E57F0 41 82 00 14 */ beq lbl_800E88A4 +/* 800E8894 000E57F4 2C 05 00 09 */ cmpwi r5, 9 +/* 800E8898 000E57F8 41 82 00 0C */ beq lbl_800E88A4 +/* 800E889C 000E57FC 2C 05 00 0B */ cmpwi r5, 0xb +/* 800E88A0 000E5800 40 82 00 5C */ bne lbl_800E88FC +lbl_800E88A4: +/* 800E88A4 000E5804 C0 22 90 38 */ lfs f1, lbl_805AAD58@sda21(r2) +/* 800E88A8 000E5808 38 61 01 0C */ addi r3, r1, 0x10c +/* 800E88AC 000E580C C0 02 90 3C */ lfs f0, lbl_805AAD5C@sda21(r2) +/* 800E88B0 000E5810 38 81 00 10 */ addi r4, r1, 0x10 +/* 800E88B4 000E5814 EC 61 00 B2 */ fmuls f3, f1, f2 +/* 800E88B8 000E5818 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) +/* 800E88BC 000E581C EC 20 01 32 */ fmuls f1, f0, f4 +/* 800E88C0 000E5820 C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2) +/* 800E88C4 000E5824 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800E88C8 000E5828 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 800E88CC 000E582C D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800E88D0 000E5830 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800E88D4 000E5834 48 22 7B C1 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800E88D8 000E5838 38 61 01 30 */ addi r3, r1, 0x130 +/* 800E88DC 000E583C 38 81 01 0C */ addi r4, r1, 0x10c +/* 800E88E0 000E5840 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800E88E4 000E5844 48 22 A9 95 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800E88E8 000E5848 7C 65 1B 78 */ mr r5, r3 +/* 800E88EC 000E584C 7F C3 F3 78 */ mr r3, r30 +/* 800E88F0 000E5850 38 9F 00 10 */ addi r4, r31, 0x10 +/* 800E88F4 000E5854 48 22 A0 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800E88F8 000E5858 48 00 01 34 */ b lbl_800E8A2C +lbl_800E88FC: +/* 800E88FC 000E585C 2C 05 00 08 */ cmpwi r5, 8 +/* 800E8900 000E5860 41 82 00 14 */ beq lbl_800E8914 +/* 800E8904 000E5864 2C 05 00 0A */ cmpwi r5, 0xa +/* 800E8908 000E5868 41 82 00 0C */ beq lbl_800E8914 +/* 800E890C 000E586C 2C 05 00 0C */ cmpwi r5, 0xc +/* 800E8910 000E5870 40 82 00 5C */ bne lbl_800E896C +lbl_800E8914: +/* 800E8914 000E5874 C0 22 90 38 */ lfs f1, lbl_805AAD58@sda21(r2) +/* 800E8918 000E5878 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800E891C 000E587C C0 02 90 40 */ lfs f0, lbl_805AAD60@sda21(r2) +/* 800E8920 000E5880 38 81 00 0C */ addi r4, r1, 0xc +/* 800E8924 000E5884 EC 61 00 B2 */ fmuls f3, f1, f2 +/* 800E8928 000E5888 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) +/* 800E892C 000E588C EC 20 01 32 */ fmuls f1, f0, f4 +/* 800E8930 000E5890 C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2) +/* 800E8934 000E5894 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800E8938 000E5898 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800E893C 000E589C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800E8940 000E58A0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800E8944 000E58A4 48 22 7B 51 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800E8948 000E58A8 38 61 00 DC */ addi r3, r1, 0xdc +/* 800E894C 000E58AC 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800E8950 000E58B0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800E8954 000E58B4 48 22 A9 25 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800E8958 000E58B8 7C 65 1B 78 */ mr r5, r3 +/* 800E895C 000E58BC 7F C3 F3 78 */ mr r3, r30 +/* 800E8960 000E58C0 38 9F 00 10 */ addi r4, r31, 0x10 +/* 800E8964 000E58C4 48 22 9F ED */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800E8968 000E58C8 48 00 00 C4 */ b lbl_800E8A2C +lbl_800E896C: +/* 800E896C 000E58CC 38 05 FF F3 */ addi r0, r5, -13 +/* 800E8970 000E58D0 28 00 00 01 */ cmplwi r0, 1 +/* 800E8974 000E58D4 40 81 00 0C */ ble lbl_800E8980 +/* 800E8978 000E58D8 2C 05 00 0F */ cmpwi r5, 0xf +/* 800E897C 000E58DC 40 82 00 5C */ bne lbl_800E89D8 +lbl_800E8980: +/* 800E8980 000E58E0 C0 22 90 44 */ lfs f1, lbl_805AAD64@sda21(r2) +/* 800E8984 000E58E4 38 61 00 64 */ addi r3, r1, 0x64 +/* 800E8988 000E58E8 C0 02 90 40 */ lfs f0, lbl_805AAD60@sda21(r2) +/* 800E898C 000E58EC 38 81 00 08 */ addi r4, r1, 8 +/* 800E8990 000E58F0 EC 61 00 B2 */ fmuls f3, f1, f2 +/* 800E8994 000E58F4 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) +/* 800E8998 000E58F8 EC 20 01 32 */ fmuls f1, f0, f4 +/* 800E899C 000E58FC C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2) +/* 800E89A0 000E5900 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800E89A4 000E5904 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 800E89A8 000E5908 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800E89AC 000E590C D0 01 00 08 */ stfs f0, 8(r1) +/* 800E89B0 000E5910 48 22 7A E5 */ bl RotateY__9CMatrix3fFRC9CRelAngle +/* 800E89B4 000E5914 38 61 00 88 */ addi r3, r1, 0x88 +/* 800E89B8 000E5918 38 81 00 64 */ addi r4, r1, 0x64 +/* 800E89BC 000E591C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800E89C0 000E5920 48 22 A8 B9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800E89C4 000E5924 7C 65 1B 78 */ mr r5, r3 +/* 800E89C8 000E5928 7F C3 F3 78 */ mr r3, r30 +/* 800E89CC 000E592C 38 9F 00 10 */ addi r4, r31, 0x10 +/* 800E89D0 000E5930 48 22 9F 81 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800E89D4 000E5934 48 00 00 58 */ b lbl_800E8A2C +lbl_800E89D8: +/* 800E89D8 000E5938 2C 05 00 00 */ cmpwi r5, 0 +/* 800E89DC 000E593C 38 00 00 00 */ li r0, 0 +/* 800E89E0 000E5940 41 80 00 10 */ blt lbl_800E89F0 +/* 800E89E4 000E5944 2C 05 00 0F */ cmpwi r5, 0xf +/* 800E89E8 000E5948 41 81 00 08 */ bgt lbl_800E89F0 +/* 800E89EC 000E594C 38 00 00 01 */ li r0, 1 +lbl_800E89F0: +/* 800E89F0 000E5950 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800E89F4 000E5954 41 82 00 14 */ beq lbl_800E8A08 +/* 800E89F8 000E5958 7F C3 F3 78 */ mr r3, r30 +/* 800E89FC 000E595C 38 9F 00 10 */ addi r4, r31, 0x10 +/* 800E8A00 000E5960 48 22 A1 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800E8A04 000E5964 48 00 00 28 */ b lbl_800E8A2C +lbl_800E8A08: +/* 800E8A08 000E5968 C0 5F 00 3C */ lfs f2, 0x3c(r31) +/* 800E8A0C 000E596C 7F C3 F3 78 */ mr r3, r30 +/* 800E8A10 000E5970 C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 800E8A14 000E5974 38 81 00 1C */ addi r4, r1, 0x1c +/* 800E8A18 000E5978 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 800E8A1C 000E597C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800E8A20 000E5980 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800E8A24 000E5984 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 800E8A28 000E5988 48 22 A7 19 */ bl Translate__12CTransform4fFRC9CVector3f +lbl_800E8A2C: +/* 800E8A2C 000E598C 80 01 02 D4 */ lwz r0, 0x2d4(r1) +/* 800E8A30 000E5990 83 E1 02 CC */ lwz r31, 0x2cc(r1) +/* 800E8A34 000E5994 83 C1 02 C8 */ lwz r30, 0x2c8(r1) +/* 800E8A38 000E5998 7C 08 03 A6 */ mtlr r0 +/* 800E8A3C 000E599C 38 21 02 D0 */ addi r1, r1, 0x2d0 +/* 800E8A40 000E59A0 4E 80 00 20 */ blr + +.global GetIsVisibleToAutoMapper__15CMappableObjectFbRC13CMapWorldInfo +GetIsVisibleToAutoMapper__15CMappableObjectFbRC13CMapWorldInfo: +/* 800E8A44 000E59A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800E8A48 000E59A8 7C 08 02 A6 */ mflr r0 +/* 800E8A4C 000E59AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800E8A50 000E59B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800E8A54 000E59B4 7C BF 2B 78 */ mr r31, r5 +/* 800E8A58 000E59B8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800E8A5C 000E59BC 7C 9E 23 78 */ mr r30, r4 +/* 800E8A60 000E59C0 38 81 00 10 */ addi r4, r1, 0x10 +/* 800E8A64 000E59C4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800E8A68 000E59C8 7C 7D 1B 78 */ mr r29, r3 +/* 800E8A6C 000E59CC 80 03 00 08 */ lwz r0, 8(r3) +/* 800E8A70 000E59D0 7F E3 FB 78 */ mr r3, r31 +/* 800E8A74 000E59D4 54 00 85 BE */ rlwinm r0, r0, 0x10, 0x16, 0x1f +/* 800E8A78 000E59D8 90 01 00 0C */ stw r0, 0xc(r1) +/* 800E8A7C 000E59DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 800E8A80 000E59E0 48 07 F2 85 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId +/* 800E8A84 000E59E4 80 1D 00 04 */ lwz r0, 4(r29) +/* 800E8A88 000E59E8 2C 00 00 02 */ cmpwi r0, 2 +/* 800E8A8C 000E59EC 41 82 00 50 */ beq lbl_800E8ADC +/* 800E8A90 000E59F0 40 80 00 14 */ bge lbl_800E8AA4 +/* 800E8A94 000E59F4 2C 00 00 00 */ cmpwi r0, 0 +/* 800E8A98 000E59F8 41 82 00 1C */ beq lbl_800E8AB4 +/* 800E8A9C 000E59FC 40 80 00 20 */ bge lbl_800E8ABC +/* 800E8AA0 000E5A00 48 00 00 84 */ b lbl_800E8B24 +lbl_800E8AA4: +/* 800E8AA4 000E5A04 2C 00 00 04 */ cmpwi r0, 4 +/* 800E8AA8 000E5A08 41 82 00 14 */ beq lbl_800E8ABC +/* 800E8AAC 000E5A0C 40 80 00 78 */ bge lbl_800E8B24 +/* 800E8AB0 000E5A10 48 00 00 6C */ b lbl_800E8B1C +lbl_800E8AB4: +/* 800E8AB4 000E5A14 38 60 00 01 */ li r3, 1 +/* 800E8AB8 000E5A18 48 00 00 70 */ b lbl_800E8B28 +lbl_800E8ABC: +/* 800E8ABC 000E5A1C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800E8AC0 000E5A20 38 80 00 00 */ li r4, 0 +/* 800E8AC4 000E5A24 40 82 00 0C */ bne lbl_800E8AD0 +/* 800E8AC8 000E5A28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E8ACC 000E5A2C 41 82 00 08 */ beq lbl_800E8AD4 +lbl_800E8AD0: +/* 800E8AD0 000E5A30 38 80 00 01 */ li r4, 1 +lbl_800E8AD4: +/* 800E8AD4 000E5A34 7C 83 23 78 */ mr r3, r4 +/* 800E8AD8 000E5A38 48 00 00 50 */ b lbl_800E8B28 +lbl_800E8ADC: +/* 800E8ADC 000E5A3C 80 9D 00 00 */ lwz r4, 0(r29) +/* 800E8AE0 000E5A40 38 00 00 00 */ li r0, 0 +/* 800E8AE4 000E5A44 2C 04 00 00 */ cmpwi r4, 0 +/* 800E8AE8 000E5A48 41 80 00 10 */ blt lbl_800E8AF8 +/* 800E8AEC 000E5A4C 2C 04 00 0F */ cmpwi r4, 0xf +/* 800E8AF0 000E5A50 41 81 00 08 */ bgt lbl_800E8AF8 +/* 800E8AF4 000E5A54 38 00 00 01 */ li r0, 1 +lbl_800E8AF8: +/* 800E8AF8 000E5A58 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800E8AFC 000E5A5C 41 82 00 2C */ beq lbl_800E8B28 +/* 800E8B00 000E5A60 80 1D 00 08 */ lwz r0, 8(r29) +/* 800E8B04 000E5A64 7F E3 FB 78 */ mr r3, r31 +/* 800E8B08 000E5A68 38 81 00 08 */ addi r4, r1, 8 +/* 800E8B0C 000E5A6C 90 01 00 08 */ stw r0, 8(r1) +/* 800E8B10 000E5A70 48 07 FB E1 */ bl IsDoorVisited__13CMapWorldInfoCF9TEditorId +/* 800E8B14 000E5A74 48 00 00 14 */ b lbl_800E8B28 +/* 800E8B18 000E5A78 48 00 00 10 */ b lbl_800E8B28 +lbl_800E8B1C: +/* 800E8B1C 000E5A7C 38 60 00 00 */ li r3, 0 +/* 800E8B20 000E5A80 48 00 00 08 */ b lbl_800E8B28 +lbl_800E8B24: +/* 800E8B24 000E5A84 38 60 00 01 */ li r3, 1 +lbl_800E8B28: +/* 800E8B28 000E5A88 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800E8B2C 000E5A8C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800E8B30 000E5A90 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800E8B34 000E5A94 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800E8B38 000E5A98 7C 08 03 A6 */ mtlr r0 +/* 800E8B3C 000E5A9C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800E8B40 000E5AA0 4E 80 00 20 */ blr + +.global BuildSurfaceCenterPoint__15CMappableObjectCFi +BuildSurfaceCenterPoint__15CMappableObjectCFi: +/* 800E8B44 000E5AA4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800E8B48 000E5AA8 7C 08 02 A6 */ mflr r0 +/* 800E8B4C 000E5AAC 2C 05 00 03 */ cmpwi r5, 3 +/* 800E8B50 000E5AB0 90 01 00 54 */ stw r0, 0x54(r1) +/* 800E8B54 000E5AB4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800E8B58 000E5AB8 7C 7F 1B 78 */ mr r31, r3 +/* 800E8B5C 000E5ABC 80 CD A1 44 */ lwz r6, gpTweakAutoMapper@sda21(r13) +/* 800E8B60 000E5AC0 C0 26 00 AC */ lfs f1, 0xac(r6) +/* 800E8B64 000E5AC4 C0 46 00 A8 */ lfs f2, 0xa8(r6) +/* 800E8B68 000E5AC8 C0 66 00 A4 */ lfs f3, 0xa4(r6) +/* 800E8B6C 000E5ACC 41 82 00 90 */ beq lbl_800E8BFC +/* 800E8B70 000E5AD0 40 80 00 1C */ bge lbl_800E8B8C +/* 800E8B74 000E5AD4 2C 05 00 01 */ cmpwi r5, 1 +/* 800E8B78 000E5AD8 41 82 00 38 */ beq lbl_800E8BB0 +/* 800E8B7C 000E5ADC 40 80 00 5C */ bge lbl_800E8BD8 +/* 800E8B80 000E5AE0 2C 05 00 00 */ cmpwi r5, 0 +/* 800E8B84 000E5AE4 40 80 00 18 */ bge lbl_800E8B9C +/* 800E8B88 000E5AE8 48 00 00 D8 */ b lbl_800E8C60 +lbl_800E8B8C: +/* 800E8B8C 000E5AEC 2C 05 00 05 */ cmpwi r5, 5 +/* 800E8B90 000E5AF0 41 82 00 B0 */ beq lbl_800E8C40 +/* 800E8B94 000E5AF4 40 80 00 CC */ bge lbl_800E8C60 +/* 800E8B98 000E5AF8 48 00 00 84 */ b lbl_800E8C1C +lbl_800E8B9C: +/* 800E8B9C 000E5AFC 3C A0 80 5A */ lis r5, skZero3f@ha +/* 800E8BA0 000E5B00 38 84 00 10 */ addi r4, r4, 0x10 +/* 800E8BA4 000E5B04 38 A5 66 A0 */ addi r5, r5, skZero3f@l +/* 800E8BA8 000E5B08 48 22 9F 41 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800E8BAC 000E5B0C 48 00 00 D0 */ b lbl_800E8C7C +lbl_800E8BB0: +/* 800E8BB0 000E5B10 C0 02 90 48 */ lfs f0, lbl_805AAD68@sda21(r2) +/* 800E8BB4 000E5B14 38 84 00 10 */ addi r4, r4, 0x10 +/* 800E8BB8 000E5B18 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) +/* 800E8BBC 000E5B1C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800E8BC0 000E5B20 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 800E8BC4 000E5B24 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800E8BC8 000E5B28 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800E8BCC 000E5B2C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800E8BD0 000E5B30 48 22 9F 19 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800E8BD4 000E5B34 48 00 00 A8 */ b lbl_800E8C7C +lbl_800E8BD8: +/* 800E8BD8 000E5B38 FC 00 10 50 */ fneg f0, f2 +/* 800E8BDC 000E5B3C C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) +/* 800E8BE0 000E5B40 38 84 00 10 */ addi r4, r4, 0x10 +/* 800E8BE4 000E5B44 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800E8BE8 000E5B48 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800E8BEC 000E5B4C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800E8BF0 000E5B50 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800E8BF4 000E5B54 48 22 9E F5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800E8BF8 000E5B58 48 00 00 84 */ b lbl_800E8C7C +lbl_800E8BFC: +/* 800E8BFC 000E5B5C C0 02 90 20 */ lfs f0, lbl_805AAD40@sda21(r2) +/* 800E8C00 000E5B60 38 84 00 10 */ addi r4, r4, 0x10 +/* 800E8C04 000E5B64 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 800E8C08 000E5B68 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800E8C0C 000E5B6C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800E8C10 000E5B70 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800E8C14 000E5B74 48 22 9E D5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800E8C18 000E5B78 48 00 00 64 */ b lbl_800E8C7C +lbl_800E8C1C: +/* 800E8C1C 000E5B7C FC 20 08 50 */ fneg f1, f1 +/* 800E8C20 000E5B80 C0 02 90 20 */ lfs f0, lbl_805AAD40@sda21(r2) +/* 800E8C24 000E5B84 38 84 00 10 */ addi r4, r4, 0x10 +/* 800E8C28 000E5B88 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800E8C2C 000E5B8C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800E8C30 000E5B90 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800E8C34 000E5B94 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800E8C38 000E5B98 48 22 9E B1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800E8C3C 000E5B9C 48 00 00 40 */ b lbl_800E8C7C +lbl_800E8C40: +/* 800E8C40 000E5BA0 C0 02 90 20 */ lfs f0, lbl_805AAD40@sda21(r2) +/* 800E8C44 000E5BA4 38 84 00 10 */ addi r4, r4, 0x10 +/* 800E8C48 000E5BA8 D0 21 00 08 */ stfs f1, 8(r1) +/* 800E8C4C 000E5BAC 38 A1 00 08 */ addi r5, r1, 8 +/* 800E8C50 000E5BB0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800E8C54 000E5BB4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800E8C58 000E5BB8 48 22 9E 91 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800E8C5C 000E5BBC 48 00 00 20 */ b lbl_800E8C7C +lbl_800E8C60: +/* 800E8C60 000E5BC0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800E8C64 000E5BC4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800E8C68 000E5BC8 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800E8C6C 000E5BCC C0 03 00 04 */ lfs f0, 4(r3) +/* 800E8C70 000E5BD0 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800E8C74 000E5BD4 C0 03 00 08 */ lfs f0, 8(r3) +/* 800E8C78 000E5BD8 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_800E8C7C: +/* 800E8C7C 000E5BDC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800E8C80 000E5BE0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800E8C84 000E5BE4 7C 08 03 A6 */ mtlr r0 +/* 800E8C88 000E5BE8 38 21 00 50 */ addi r1, r1, 0x50 +/* 800E8C8C 000E5BEC 4E 80 00 20 */ blr + +.global DrawDoorSurface__15CMappableObjectCFiRC13CMapWorldInfofib +DrawDoorSurface__15CMappableObjectCFiRC13CMapWorldInfofib: +/* 800E8C90 000E5BF0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800E8C94 000E5BF4 7C 08 02 A6 */ mflr r0 +/* 800E8C98 000E5BF8 7C 88 23 78 */ mr r8, r4 +/* 800E8C9C 000E5BFC 7C 64 1B 78 */ mr r4, r3 +/* 800E8CA0 000E5C00 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E8CA4 000E5C04 7C A0 2B 78 */ mr r0, r5 +/* 800E8CA8 000E5C08 7D 05 43 78 */ mr r5, r8 +/* 800E8CAC 000E5C0C 38 61 00 08 */ addi r3, r1, 8 +/* 800E8CB0 000E5C10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E8CB4 000E5C14 7C DF 33 78 */ mr r31, r6 +/* 800E8CB8 000E5C18 7C 06 03 78 */ mr r6, r0 +/* 800E8CBC 000E5C1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800E8CC0 000E5C20 7C FE 3B 78 */ mr r30, r7 +/* 800E8CC4 000E5C24 48 00 05 45 */ bl GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo +/* 800E8CC8 000E5C28 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800E8CCC 000E5C2C 80 81 00 08 */ lwz r4, 8(r1) +/* 800E8CD0 000E5C30 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 800E8CD4 000E5C34 3C 60 80 3D */ lis r3, lbl_803CE5F0@ha +/* 800E8CD8 000E5C38 90 81 00 10 */ stw r4, 0x10(r1) +/* 800E8CDC 000E5C3C 57 E4 20 36 */ slwi r4, r31, 4 +/* 800E8CE0 000E5C40 38 03 E5 F0 */ addi r0, r3, lbl_803CE5F0@l +/* 800E8CE4 000E5C44 3B C1 00 14 */ addi r30, r1, 0x14 +/* 800E8CE8 000E5C48 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800E8CEC 000E5C4C 7F E0 22 14 */ add r31, r0, r4 +/* 800E8CF0 000E5C50 41 82 00 18 */ beq lbl_800E8D08 +/* 800E8CF4 000E5C54 3C 80 80 47 */ lis r4, lbl_8046C498@ha +/* 800E8CF8 000E5C58 38 60 00 09 */ li r3, 9 +/* 800E8CFC 000E5C5C 38 84 C4 98 */ addi r4, r4, lbl_8046C498@l +/* 800E8D00 000E5C60 38 A0 00 0C */ li r5, 0xc +/* 800E8D04 000E5C64 48 21 F9 41 */ bl SetArray__3CGXF7_GXAttrPCvUc +lbl_800E8D08: +/* 800E8D08 000E5C68 38 81 00 10 */ addi r4, r1, 0x10 +/* 800E8D0C 000E5C6C 38 60 00 00 */ li r3, 0 +/* 800E8D10 000E5C70 48 21 FF 35 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 800E8D14 000E5C74 38 60 00 98 */ li r3, 0x98 +/* 800E8D18 000E5C78 38 80 00 00 */ li r4, 0 +/* 800E8D1C 000E5C7C 38 A0 00 04 */ li r5, 4 +/* 800E8D20 000E5C80 48 21 F8 65 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 800E8D24 000E5C84 88 7F 00 0C */ lbz r3, 0xc(r31) +/* 800E8D28 000E5C88 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 800E8D2C 000E5C8C 88 1F 00 0D */ lbz r0, 0xd(r31) +/* 800E8D30 000E5C90 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 800E8D34 000E5C94 88 7F 00 0E */ lbz r3, 0xe(r31) +/* 800E8D38 000E5C98 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 800E8D3C 000E5C9C 88 1F 00 0F */ lbz r0, 0xf(r31) +/* 800E8D40 000E5CA0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 800E8D44 000E5CA4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 800E8D48 000E5CA8 48 21 F8 39 */ bl End__3CGXFv +/* 800E8D4C 000E5CAC 7F C4 F3 78 */ mr r4, r30 +/* 800E8D50 000E5CB0 38 60 00 00 */ li r3, 0 +/* 800E8D54 000E5CB4 48 21 FE F1 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 800E8D58 000E5CB8 38 60 00 B0 */ li r3, 0xb0 +/* 800E8D5C 000E5CBC 38 80 00 00 */ li r4, 0 +/* 800E8D60 000E5CC0 38 A0 00 05 */ li r5, 5 +/* 800E8D64 000E5CC4 48 21 F8 21 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 800E8D68 000E5CC8 88 BF 00 0C */ lbz r5, 0xc(r31) +/* 800E8D6C 000E5CCC 3C 80 CC 01 */ lis r4, 0xCC008000@ha +/* 800E8D70 000E5CD0 88 1F 00 0D */ lbz r0, 0xd(r31) +/* 800E8D74 000E5CD4 98 A4 80 00 */ stb r5, 0xCC008000@l(r4) +/* 800E8D78 000E5CD8 88 7F 00 0F */ lbz r3, 0xf(r31) +/* 800E8D7C 000E5CDC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 800E8D80 000E5CE0 88 1F 00 0E */ lbz r0, 0xe(r31) +/* 800E8D84 000E5CE4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) +/* 800E8D88 000E5CE8 98 04 80 00 */ stb r0, 0xCC008000@l(r4) +/* 800E8D8C 000E5CEC 98 A4 80 00 */ stb r5, 0xCC008000@l(r4) +/* 800E8D90 000E5CF0 48 21 F7 F1 */ bl End__3CGXFv +/* 800E8D94 000E5CF4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800E8D98 000E5CF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E8D9C 000E5CFC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800E8DA0 000E5D00 7C 08 03 A6 */ mtlr r0 +/* 800E8DA4 000E5D04 38 21 00 20 */ addi r1, r1, 0x20 +/* 800E8DA8 000E5D08 4E 80 00 20 */ blr + +.global Draw__15CMappableObjectCFiRC13CMapWorldInfofb +Draw__15CMappableObjectCFiRC13CMapWorldInfofb: +/* 800E8DAC 000E5D0C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800E8DB0 000E5D10 7C 08 02 A6 */ mflr r0 +/* 800E8DB4 000E5D14 90 01 00 94 */ stw r0, 0x94(r1) +/* 800E8DB8 000E5D18 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 800E8DBC 000E5D1C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 800E8DC0 000E5D20 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 800E8DC4 000E5D24 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 800E8DC8 000E5D28 BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 800E8DCC 000E5D2C 80 E3 00 00 */ lwz r7, 0(r3) +/* 800E8DD0 000E5D30 FF C0 08 90 */ fmr f30, f1 +/* 800E8DD4 000E5D34 7C 89 23 78 */ mr r9, r4 +/* 800E8DD8 000E5D38 7C A8 2B 78 */ mr r8, r5 +/* 800E8DDC 000E5D3C 2C 07 00 00 */ cmpwi r7, 0 +/* 800E8DE0 000E5D40 7C DB 33 78 */ mr r27, r6 +/* 800E8DE4 000E5D44 38 00 00 00 */ li r0, 0 +/* 800E8DE8 000E5D48 41 80 00 10 */ blt lbl_800E8DF8 +/* 800E8DEC 000E5D4C 2C 07 00 0F */ cmpwi r7, 0xf +/* 800E8DF0 000E5D50 41 81 00 08 */ bgt lbl_800E8DF8 +/* 800E8DF4 000E5D54 38 00 00 01 */ li r0, 1 +lbl_800E8DF8: +/* 800E8DF8 000E5D58 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 800E8DFC 000E5D5C 28 00 00 01 */ cmplwi r0, 1 +/* 800E8E00 000E5D60 40 82 00 F8 */ bne lbl_800E8EF8 +/* 800E8E04 000E5D64 FC 20 F0 90 */ fmr f1, f30 +/* 800E8E08 000E5D68 7C 64 1B 78 */ mr r4, r3 +/* 800E8E0C 000E5D6C 7D 25 4B 78 */ mr r5, r9 +/* 800E8E10 000E5D70 7D 06 43 78 */ mr r6, r8 +/* 800E8E14 000E5D74 38 61 00 38 */ addi r3, r1, 0x38 +/* 800E8E18 000E5D78 48 00 03 F1 */ bl GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo +/* 800E8E1C 000E5D7C 80 81 00 38 */ lwz r4, 0x38(r1) +/* 800E8E20 000E5D80 3C 60 80 3D */ lis r3, lbl_803CE5F0@ha +/* 800E8E24 000E5D84 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800E8E28 000E5D88 57 7D 06 3E */ clrlwi r29, r27, 0x18 +/* 800E8E2C 000E5D8C 90 81 00 40 */ stw r4, 0x40(r1) +/* 800E8E30 000E5D90 3B E1 00 44 */ addi r31, r1, 0x44 +/* 800E8E34 000E5D94 3B 83 E5 F0 */ addi r28, r3, lbl_803CE5F0@l +/* 800E8E38 000E5D98 3B 60 00 00 */ li r27, 0 +/* 800E8E3C 000E5D9C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800E8E40 000E5DA0 3F C0 CC 01 */ lis r30, 0xcc01 +lbl_800E8E44: +/* 800E8E44 000E5DA4 28 1D 00 00 */ cmplwi r29, 0 +/* 800E8E48 000E5DA8 41 82 00 18 */ beq lbl_800E8E60 +/* 800E8E4C 000E5DAC 3C 80 80 47 */ lis r4, lbl_8046C498@ha +/* 800E8E50 000E5DB0 38 60 00 09 */ li r3, 9 +/* 800E8E54 000E5DB4 38 84 C4 98 */ addi r4, r4, lbl_8046C498@l +/* 800E8E58 000E5DB8 38 A0 00 0C */ li r5, 0xc +/* 800E8E5C 000E5DBC 48 21 F7 E9 */ bl SetArray__3CGXF7_GXAttrPCvUc +lbl_800E8E60: +/* 800E8E60 000E5DC0 38 81 00 40 */ addi r4, r1, 0x40 +/* 800E8E64 000E5DC4 38 60 00 00 */ li r3, 0 +/* 800E8E68 000E5DC8 48 21 FD DD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 800E8E6C 000E5DCC 38 60 00 98 */ li r3, 0x98 +/* 800E8E70 000E5DD0 38 80 00 00 */ li r4, 0 +/* 800E8E74 000E5DD4 38 A0 00 04 */ li r5, 4 +/* 800E8E78 000E5DD8 48 21 F7 0D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 800E8E7C 000E5DDC 88 7C 00 0C */ lbz r3, 0xc(r28) +/* 800E8E80 000E5DE0 88 1C 00 0D */ lbz r0, 0xd(r28) +/* 800E8E84 000E5DE4 98 7E 80 00 */ stb r3, 0xCC008000@l(r30) +/* 800E8E88 000E5DE8 88 7C 00 0E */ lbz r3, 0xe(r28) +/* 800E8E8C 000E5DEC 98 1E 80 00 */ stb r0, 0xCC008000@l(r30) +/* 800E8E90 000E5DF0 88 1C 00 0F */ lbz r0, 0xf(r28) +/* 800E8E94 000E5DF4 98 7E 80 00 */ stb r3, 0xCC008000@l(r30) +/* 800E8E98 000E5DF8 98 1E 80 00 */ stb r0, 0xCC008000@l(r30) +/* 800E8E9C 000E5DFC 48 21 F6 E5 */ bl End__3CGXFv +/* 800E8EA0 000E5E00 7F E4 FB 78 */ mr r4, r31 +/* 800E8EA4 000E5E04 38 60 00 00 */ li r3, 0 +/* 800E8EA8 000E5E08 48 21 FD 9D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor +/* 800E8EAC 000E5E0C 38 60 00 B0 */ li r3, 0xb0 +/* 800E8EB0 000E5E10 38 80 00 00 */ li r4, 0 +/* 800E8EB4 000E5E14 38 A0 00 05 */ li r5, 5 +/* 800E8EB8 000E5E18 48 21 F6 CD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs +/* 800E8EBC 000E5E1C 88 9C 00 0C */ lbz r4, 0xc(r28) +/* 800E8EC0 000E5E20 88 1C 00 0D */ lbz r0, 0xd(r28) +/* 800E8EC4 000E5E24 98 9E 80 00 */ stb r4, 0xCC008000@l(r30) +/* 800E8EC8 000E5E28 88 7C 00 0F */ lbz r3, 0xf(r28) +/* 800E8ECC 000E5E2C 98 1E 80 00 */ stb r0, 0xCC008000@l(r30) +/* 800E8ED0 000E5E30 88 1C 00 0E */ lbz r0, 0xe(r28) +/* 800E8ED4 000E5E34 98 7E 80 00 */ stb r3, 0xCC008000@l(r30) +/* 800E8ED8 000E5E38 98 1E 80 00 */ stb r0, 0xCC008000@l(r30) +/* 800E8EDC 000E5E3C 98 9E 80 00 */ stb r4, 0xCC008000@l(r30) +/* 800E8EE0 000E5E40 48 21 F6 A1 */ bl End__3CGXFv +/* 800E8EE4 000E5E44 3B 7B 00 01 */ addi r27, r27, 1 +/* 800E8EE8 000E5E48 3B 9C 00 10 */ addi r28, r28, 0x10 +/* 800E8EEC 000E5E4C 2C 1B 00 06 */ cmpwi r27, 6 +/* 800E8EF0 000E5E50 41 80 FF 54 */ blt lbl_800E8E44 +/* 800E8EF4 000E5E54 48 00 02 70 */ b lbl_800E9164 +lbl_800E8EF8: +/* 800E8EF8 000E5E58 80 63 00 00 */ lwz r3, 0(r3) +/* 800E8EFC 000E5E5C 3B A0 FF FF */ li r29, -1 +/* 800E8F00 000E5E60 38 03 FF E5 */ addi r0, r3, -27 +/* 800E8F04 000E5E64 28 00 00 0A */ cmplwi r0, 0xa +/* 800E8F08 000E5E68 41 81 01 34 */ bgt lbl_800E903C +/* 800E8F0C 000E5E6C 3C 60 80 3E */ lis r3, lbl_803DFC10@ha +/* 800E8F10 000E5E70 54 00 10 3A */ slwi r0, r0, 2 +/* 800E8F14 000E5E74 38 63 FC 10 */ addi r3, r3, lbl_803DFC10@l +/* 800E8F18 000E5E78 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800E8F1C 000E5E7C 7C 09 03 A6 */ mtctr r0 +/* 800E8F20 000E5E80 4E 80 04 20 */ bctr +/* 800E8F24 000E5E84 38 80 00 FF */ li r4, 0xff +/* 800E8F28 000E5E88 38 00 00 96 */ li r0, 0x96 +/* 800E8F2C 000E5E8C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 800E8F30 000E5E90 98 81 00 24 */ stb r4, 0x24(r1) +/* 800E8F34 000E5E94 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 800E8F38 000E5E98 98 81 00 25 */ stb r4, 0x25(r1) +/* 800E8F3C 000E5E9C 98 01 00 26 */ stb r0, 0x26(r1) +/* 800E8F40 000E5EA0 98 81 00 27 */ stb r4, 0x27(r1) +/* 800E8F44 000E5EA4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800E8F48 000E5EA8 48 00 00 FC */ b lbl_800E9044 +/* 800E8F4C 000E5EAC 38 80 00 FF */ li r4, 0xff +/* 800E8F50 000E5EB0 38 00 00 96 */ li r0, 0x96 +/* 800E8F54 000E5EB4 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 800E8F58 000E5EB8 98 81 00 20 */ stb r4, 0x20(r1) +/* 800E8F5C 000E5EBC 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 800E8F60 000E5EC0 98 81 00 21 */ stb r4, 0x21(r1) +/* 800E8F64 000E5EC4 98 01 00 22 */ stb r0, 0x22(r1) +/* 800E8F68 000E5EC8 98 81 00 23 */ stb r4, 0x23(r1) +/* 800E8F6C 000E5ECC 83 A1 00 20 */ lwz r29, 0x20(r1) +/* 800E8F70 000E5ED0 48 00 00 D4 */ b lbl_800E9044 +/* 800E8F74 000E5ED4 38 80 00 FF */ li r4, 0xff +/* 800E8F78 000E5ED8 38 A0 00 64 */ li r5, 0x64 +/* 800E8F7C 000E5EDC 38 00 00 96 */ li r0, 0x96 +/* 800E8F80 000E5EE0 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 800E8F84 000E5EE4 98 A1 00 1C */ stb r5, 0x1c(r1) +/* 800E8F88 000E5EE8 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 800E8F8C 000E5EEC 98 81 00 1D */ stb r4, 0x1d(r1) +/* 800E8F90 000E5EF0 98 01 00 1E */ stb r0, 0x1e(r1) +/* 800E8F94 000E5EF4 98 81 00 1F */ stb r4, 0x1f(r1) +/* 800E8F98 000E5EF8 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 800E8F9C 000E5EFC 48 00 00 A8 */ b lbl_800E9044 +/* 800E8FA0 000E5F00 38 80 00 FF */ li r4, 0xff +/* 800E8FA4 000E5F04 38 A0 00 64 */ li r5, 0x64 +/* 800E8FA8 000E5F08 38 00 00 96 */ li r0, 0x96 +/* 800E8FAC 000E5F0C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 800E8FB0 000E5F10 98 A1 00 18 */ stb r5, 0x18(r1) +/* 800E8FB4 000E5F14 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 800E8FB8 000E5F18 98 81 00 19 */ stb r4, 0x19(r1) +/* 800E8FBC 000E5F1C 98 01 00 1A */ stb r0, 0x1a(r1) +/* 800E8FC0 000E5F20 98 81 00 1B */ stb r4, 0x1b(r1) +/* 800E8FC4 000E5F24 83 A1 00 18 */ lwz r29, 0x18(r1) +/* 800E8FC8 000E5F28 48 00 00 7C */ b lbl_800E9044 +/* 800E8FCC 000E5F2C 38 A0 00 FF */ li r5, 0xff +/* 800E8FD0 000E5F30 38 80 00 64 */ li r4, 0x64 +/* 800E8FD4 000E5F34 38 00 00 96 */ li r0, 0x96 +/* 800E8FD8 000E5F38 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 800E8FDC 000E5F3C 98 A1 00 14 */ stb r5, 0x14(r1) +/* 800E8FE0 000E5F40 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 800E8FE4 000E5F44 98 81 00 15 */ stb r4, 0x15(r1) +/* 800E8FE8 000E5F48 98 01 00 16 */ stb r0, 0x16(r1) +/* 800E8FEC 000E5F4C 98 A1 00 17 */ stb r5, 0x17(r1) +/* 800E8FF0 000E5F50 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800E8FF4 000E5F54 48 00 00 50 */ b lbl_800E9044 +/* 800E8FF8 000E5F58 38 A0 00 FF */ li r5, 0xff +/* 800E8FFC 000E5F5C 38 80 00 64 */ li r4, 0x64 +/* 800E9000 000E5F60 38 00 00 96 */ li r0, 0x96 +/* 800E9004 000E5F64 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 800E9008 000E5F68 98 A1 00 10 */ stb r5, 0x10(r1) +/* 800E900C 000E5F6C 80 C3 00 14 */ lwz r6, 0x14(r3) +/* 800E9010 000E5F70 98 81 00 11 */ stb r4, 0x11(r1) +/* 800E9014 000E5F74 98 01 00 12 */ stb r0, 0x12(r1) +/* 800E9018 000E5F78 98 A1 00 13 */ stb r5, 0x13(r1) +/* 800E901C 000E5F7C 83 A1 00 10 */ lwz r29, 0x10(r1) +/* 800E9020 000E5F80 48 00 00 24 */ b lbl_800E9044 +/* 800E9024 000E5F84 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 800E9028 000E5F88 80 C3 00 04 */ lwz r6, 4(r3) +/* 800E902C 000E5F8C 48 00 00 18 */ b lbl_800E9044 +/* 800E9030 000E5F90 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 800E9034 000E5F94 80 C3 00 08 */ lwz r6, 8(r3) +/* 800E9038 000E5F98 48 00 00 0C */ b lbl_800E9044 +lbl_800E903C: +/* 800E903C 000E5F9C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) +/* 800E9040 000E5FA0 80 C3 00 0C */ lwz r6, 0xc(r3) +lbl_800E9044: +/* 800E9044 000E5FA4 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 800E9048 000E5FA8 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800E904C 000E5FAC 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 800E9050 000E5FB0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E9054 000E5FB4 90 01 00 30 */ stw r0, 0x30(r1) +/* 800E9058 000E5FB8 38 61 00 28 */ addi r3, r1, 0x28 +/* 800E905C 000E5FBC 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800E9060 000E5FC0 81 84 00 00 */ lwz r12, 0(r4) +/* 800E9064 000E5FC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800E9068 000E5FC8 7D 89 03 A6 */ mtctr r12 +/* 800E906C 000E5FCC 4E 80 04 21 */ bctrl +/* 800E9070 000E5FD0 3B 61 00 48 */ addi r27, r1, 0x48 +/* 800E9074 000E5FD4 38 81 00 28 */ addi r4, r1, 0x28 +/* 800E9078 000E5FD8 7F 63 DB 78 */ mr r3, r27 +/* 800E907C 000E5FDC 48 25 7E 2D */ bl __ct__6CTokenFRC6CToken +/* 800E9080 000E5FE0 7F 63 DB 78 */ mr r3, r27 +/* 800E9084 000E5FE4 48 25 7D 89 */ bl GetObj__6CTokenFv +/* 800E9088 000E5FE8 80 03 00 04 */ lwz r0, 4(r3) +/* 800E908C 000E5FEC 38 61 00 28 */ addi r3, r1, 0x28 +/* 800E9090 000E5FF0 38 80 FF FF */ li r4, -1 +/* 800E9094 000E5FF4 90 01 00 50 */ stw r0, 0x50(r1) +/* 800E9098 000E5FF8 48 25 7D A9 */ bl __dt__6CTokenFv +/* 800E909C 000E5FFC 80 61 00 50 */ lwz r3, 0x50(r1) +/* 800E90A0 000E6000 38 80 00 00 */ li r4, 0 +/* 800E90A4 000E6004 38 A0 00 01 */ li r5, 1 +/* 800E90A8 000E6008 48 22 66 95 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 800E90AC 000E600C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 800E90B0 000E6010 38 60 00 00 */ li r3, 0 +/* 800E90B4 000E6014 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 800E90B8 000E6018 48 22 12 01 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 800E90BC 000E601C 38 60 00 98 */ li r3, 0x98 +/* 800E90C0 000E6020 48 22 25 A9 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 800E90C4 000E6024 C0 02 90 4C */ lfs f0, lbl_805AAD6C@sda21(r2) +/* 800E90C8 000E6028 EF E0 07 B2 */ fmuls f31, f0, f30 +/* 800E90CC 000E602C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800E90D0 000E6030 38 61 00 0C */ addi r3, r1, 0xc +/* 800E90D4 000E6034 88 01 00 08 */ lbz r0, 8(r1) +/* 800E90D8 000E6038 53 A0 00 2E */ rlwimi r0, r29, 0, 0, 0x17 +/* 800E90DC 000E603C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800E90E0 000E6040 48 22 24 69 */ bl StreamColor__9CGraphicsFRC6CColor +/* 800E90E4 000E6044 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) +/* 800E90E8 000E6048 C0 42 90 50 */ lfs f2, lbl_805AAD70@sda21(r2) +/* 800E90EC 000E604C 48 22 23 79 */ bl StreamTexcoord__9CGraphicsFff +/* 800E90F0 000E6050 C0 22 90 54 */ lfs f1, lbl_805AAD74@sda21(r2) +/* 800E90F4 000E6054 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) +/* 800E90F8 000E6058 C0 62 90 58 */ lfs f3, lbl_805AAD78@sda21(r2) +/* 800E90FC 000E605C 48 22 25 3D */ bl StreamVertex__9CGraphicsFfff +/* 800E9100 000E6060 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) +/* 800E9104 000E6064 FC 40 08 90 */ fmr f2, f1 +/* 800E9108 000E6068 48 22 23 5D */ bl StreamTexcoord__9CGraphicsFff +/* 800E910C 000E606C C0 22 90 54 */ lfs f1, lbl_805AAD74@sda21(r2) +/* 800E9110 000E6070 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) +/* 800E9114 000E6074 FC 60 08 90 */ fmr f3, f1 +/* 800E9118 000E6078 48 22 25 21 */ bl StreamVertex__9CGraphicsFfff +/* 800E911C 000E607C C0 22 90 50 */ lfs f1, lbl_805AAD70@sda21(r2) +/* 800E9120 000E6080 FC 40 08 90 */ fmr f2, f1 +/* 800E9124 000E6084 48 22 23 41 */ bl StreamTexcoord__9CGraphicsFff +/* 800E9128 000E6088 C0 22 90 58 */ lfs f1, lbl_805AAD78@sda21(r2) +/* 800E912C 000E608C C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) +/* 800E9130 000E6090 FC 60 08 90 */ fmr f3, f1 +/* 800E9134 000E6094 48 22 25 05 */ bl StreamVertex__9CGraphicsFfff +/* 800E9138 000E6098 C0 22 90 50 */ lfs f1, lbl_805AAD70@sda21(r2) +/* 800E913C 000E609C C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) +/* 800E9140 000E60A0 48 22 23 25 */ bl StreamTexcoord__9CGraphicsFff +/* 800E9144 000E60A4 C0 22 90 58 */ lfs f1, lbl_805AAD78@sda21(r2) +/* 800E9148 000E60A8 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) +/* 800E914C 000E60AC C0 62 90 54 */ lfs f3, lbl_805AAD74@sda21(r2) +/* 800E9150 000E60B0 48 22 24 E9 */ bl StreamVertex__9CGraphicsFfff +/* 800E9154 000E60B4 48 22 22 BD */ bl StreamEnd__9CGraphicsFv +/* 800E9158 000E60B8 7F 63 DB 78 */ mr r3, r27 +/* 800E915C 000E60BC 38 80 00 00 */ li r4, 0 +/* 800E9160 000E60C0 48 25 7C E1 */ bl __dt__6CTokenFv +lbl_800E9164: +/* 800E9164 000E60C4 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 800E9168 000E60C8 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 800E916C 000E60CC E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 800E9170 000E60D0 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 800E9174 000E60D4 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 800E9178 000E60D8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800E917C 000E60DC 7C 08 03 A6 */ mtlr r0 +/* 800E9180 000E60E0 38 21 00 90 */ addi r1, r1, 0x90 +/* 800E9184 000E60E4 4E 80 00 20 */ blr + +.global PostConstruct__15CMappableObjectFPCv +PostConstruct__15CMappableObjectFPCv: +/* 800E9188 000E60E8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800E918C 000E60EC 7C 08 02 A6 */ mflr r0 +/* 800E9190 000E60F0 90 01 00 44 */ stw r0, 0x44(r1) +/* 800E9194 000E60F4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800E9198 000E60F8 7C 7F 1B 78 */ mr r31, r3 +/* 800E919C 000E60FC 38 61 00 08 */ addi r3, r1, 8 +/* 800E91A0 000E6100 80 1F 00 00 */ lwz r0, 0(r31) +/* 800E91A4 000E6104 7F E4 FB 78 */ mr r4, r31 +/* 800E91A8 000E6108 80 1F 00 04 */ lwz r0, 4(r31) +/* 800E91AC 000E610C 80 1F 00 08 */ lwz r0, 8(r31) +/* 800E91B0 000E6110 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 800E91B4 000E6114 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 800E91B8 000E6118 80 1F 00 14 */ lwz r0, 0x14(r31) +/* 800E91BC 000E611C 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 800E91C0 000E6120 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 800E91C4 000E6124 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 800E91C8 000E6128 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 800E91CC 000E612C 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 800E91D0 000E6130 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 800E91D4 000E6134 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 800E91D8 000E6138 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 800E91DC 000E613C 80 1F 00 38 */ lwz r0, 0x38(r31) +/* 800E91E0 000E6140 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 800E91E4 000E6144 4B FF F5 8D */ bl AdjustTransformForType__15CMappableObjectFv +/* 800E91E8 000E6148 38 7F 00 10 */ addi r3, r31, 0x10 +/* 800E91EC 000E614C 38 81 00 08 */ addi r4, r1, 8 +/* 800E91F0 000E6150 48 22 99 51 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800E91F4 000E6154 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800E91F8 000E6158 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800E91FC 000E615C 7C 08 03 A6 */ mtlr r0 +/* 800E9200 000E6160 38 21 00 40 */ addi r1, r1, 0x40 +/* 800E9204 000E6164 4E 80 00 20 */ blr + +.global GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo +GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo: +/* 800E9208 000E6168 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800E920C 000E616C 7C 08 02 A6 */ mflr r0 +/* 800E9210 000E6170 90 01 00 64 */ stw r0, 0x64(r1) +/* 800E9214 000E6174 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 800E9218 000E6178 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 800E921C 000E617C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 800E9220 000E6180 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 800E9224 000E6184 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800E9228 000E6188 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800E922C 000E618C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800E9230 000E6190 80 E4 00 08 */ lwz r7, 8(r4) +/* 800E9234 000E6194 39 00 00 FF */ li r8, 0xff +/* 800E9238 000E6198 7C 9D 23 78 */ mr r29, r4 +/* 800E923C 000E619C 38 80 00 00 */ li r4, 0 +/* 800E9240 000E61A0 54 E0 85 BE */ rlwinm r0, r7, 0x10, 0x16, 0x1f +/* 800E9244 000E61A4 98 81 00 25 */ stb r4, 0x25(r1) +/* 800E9248 000E61A8 7C 05 00 50 */ subf r0, r5, r0 +/* 800E924C 000E61AC FF C0 08 90 */ fmr f30, f1 +/* 800E9250 000E61B0 7C 00 00 34 */ cntlzw r0, r0 +/* 800E9254 000E61B4 99 01 00 24 */ stb r8, 0x24(r1) +/* 800E9258 000E61B8 7C 7F 1B 78 */ mr r31, r3 +/* 800E925C 000E61BC 7C C3 33 78 */ mr r3, r6 +/* 800E9260 000E61C0 99 01 00 26 */ stb r8, 0x26(r1) +/* 800E9264 000E61C4 54 1E D9 7E */ srwi r30, r0, 5 +/* 800E9268 000E61C8 38 81 00 1C */ addi r4, r1, 0x1c +/* 800E926C 000E61CC 99 01 00 27 */ stb r8, 0x27(r1) +/* 800E9270 000E61D0 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 800E9274 000E61D4 48 07 F4 7D */ bl IsDoorVisited__13CMapWorldInfoCF9TEditorId +/* 800E9278 000E61D8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800E927C 000E61DC 41 82 00 84 */ beq lbl_800E9300 +/* 800E9280 000E61E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E9284 000E61E4 41 82 00 20 */ beq lbl_800E92A4 +/* 800E9288 000E61E8 80 1D 00 00 */ lwz r0, 0(r29) +/* 800E928C 000E61EC 2C 00 00 01 */ cmpwi r0, 1 +/* 800E9290 000E61F0 40 82 00 14 */ bne lbl_800E92A4 +/* 800E9294 000E61F4 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 800E9298 000E61F8 80 03 01 04 */ lwz r0, 0x104(r3) +/* 800E929C 000E61FC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E92A0 000E6200 48 00 00 80 */ b lbl_800E9320 +lbl_800E92A4: +/* 800E92A4 000E6204 80 1D 00 00 */ lwz r0, 0(r29) +/* 800E92A8 000E6208 38 80 00 00 */ li r4, 0 +/* 800E92AC 000E620C 28 00 00 0F */ cmplwi r0, 0xf +/* 800E92B0 000E6210 41 81 00 38 */ bgt lbl_800E92E8 +/* 800E92B4 000E6214 3C 60 80 3E */ lis r3, lbl_803DFC3C@ha +/* 800E92B8 000E6218 54 00 10 3A */ slwi r0, r0, 2 +/* 800E92BC 000E621C 38 63 FC 3C */ addi r3, r3, lbl_803DFC3C@l +/* 800E92C0 000E6220 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800E92C4 000E6224 7C 09 03 A6 */ mtctr r0 +/* 800E92C8 000E6228 4E 80 04 20 */ bctr +/* 800E92CC 000E622C 38 80 00 01 */ li r4, 1 +/* 800E92D0 000E6230 48 00 00 18 */ b lbl_800E92E8 +/* 800E92D4 000E6234 38 80 00 02 */ li r4, 2 +/* 800E92D8 000E6238 48 00 00 10 */ b lbl_800E92E8 +/* 800E92DC 000E623C 38 80 00 03 */ li r4, 3 +/* 800E92E0 000E6240 48 00 00 08 */ b lbl_800E92E8 +/* 800E92E4 000E6244 38 80 00 04 */ li r4, 4 +lbl_800E92E8: +/* 800E92E8 000E6248 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 800E92EC 000E624C 54 80 10 3A */ slwi r0, r4, 2 +/* 800E92F0 000E6250 7C 63 02 14 */ add r3, r3, r0 +/* 800E92F4 000E6254 80 03 01 04 */ lwz r0, 0x104(r3) +/* 800E92F8 000E6258 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E92FC 000E625C 48 00 00 24 */ b lbl_800E9320 +lbl_800E9300: +/* 800E9300 000E6260 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E9304 000E6264 41 82 00 14 */ beq lbl_800E9318 +/* 800E9308 000E6268 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) +/* 800E930C 000E626C 80 03 01 1C */ lwz r0, 0x11c(r3) +/* 800E9310 000E6270 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E9314 000E6274 48 00 00 0C */ b lbl_800E9320 +lbl_800E9318: +/* 800E9318 000E6278 38 00 00 00 */ li r0, 0 +/* 800E931C 000E627C 90 01 00 24 */ stw r0, 0x24(r1) +lbl_800E9320: +/* 800E9320 000E6280 88 61 00 27 */ lbz r3, 0x27(r1) +/* 800E9324 000E6284 3C 00 43 30 */ lis r0, 0x4330 +/* 800E9328 000E6288 90 01 00 28 */ stw r0, 0x28(r1) +/* 800E932C 000E628C C8 22 90 68 */ lfd f1, lbl_805AAD88@sda21(r2) +/* 800E9330 000E6290 90 61 00 2C */ stw r3, 0x2c(r1) +/* 800E9334 000E6294 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 800E9338 000E6298 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800E933C 000E629C EF FE 00 32 */ fmuls f31, f30, f0 +/* 800E9340 000E62A0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800E9344 000E62A4 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800E9348 000E62A8 88 01 00 08 */ lbz r0, 8(r1) +/* 800E934C 000E62AC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 800E9350 000E62B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E9354 000E62B4 E0 21 A0 24 */ psq_l f1, 36(r1), 1, qr2 +/* 800E9358 000E62B8 C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2) +/* 800E935C 000E62BC C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2) +/* 800E9360 000E62C0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800E9364 000E62C4 C0 0D 87 A8 */ lfs f0, lbl_805A7368@sda21(r13) +/* 800E9368 000E62C8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800E936C 000E62CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E9370 000E62D0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800E9374 000E62D4 40 80 00 0C */ bge lbl_800E9380 +/* 800E9378 000E62D8 38 81 00 18 */ addi r4, r1, 0x18 +/* 800E937C 000E62DC 48 00 00 08 */ b lbl_800E9384 +lbl_800E9380: +/* 800E9380 000E62E0 38 8D 87 A8 */ addi r4, r13, lbl_805A7368@sda21 +lbl_800E9384: +/* 800E9384 000E62E4 E0 21 A0 25 */ psq_l f1, 37(r1), 1, qr2 +/* 800E9388 000E62E8 C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2) +/* 800E938C 000E62EC C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2) +/* 800E9390 000E62F0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800E9394 000E62F4 C0 0D 87 AC */ lfs f0, lbl_805A736C@sda21(r13) +/* 800E9398 000E62F8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800E939C 000E62FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E93A0 000E6300 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800E93A4 000E6304 40 80 00 0C */ bge lbl_800E93B0 +/* 800E93A8 000E6308 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800E93AC 000E630C 48 00 00 08 */ b lbl_800E93B4 +lbl_800E93B0: +/* 800E93B0 000E6310 38 AD 87 AC */ addi r5, r13, lbl_805A736C@sda21 +lbl_800E93B4: +/* 800E93B4 000E6314 E0 21 A0 26 */ psq_l f1, 38(r1), 1, qr2 +/* 800E93B8 000E6318 C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2) +/* 800E93BC 000E631C C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2) +/* 800E93C0 000E6320 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800E93C4 000E6324 C0 0D 87 B0 */ lfs f0, lbl_805A7370@sda21(r13) +/* 800E93C8 000E6328 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800E93CC 000E632C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E93D0 000E6330 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800E93D4 000E6334 40 80 00 0C */ bge lbl_800E93E0 +/* 800E93D8 000E6338 38 C1 00 10 */ addi r6, r1, 0x10 +/* 800E93DC 000E633C 48 00 00 08 */ b lbl_800E93E4 +lbl_800E93E0: +/* 800E93E0 000E6340 38 CD 87 B0 */ addi r6, r13, lbl_805A7370@sda21 +lbl_800E93E4: +/* 800E93E4 000E6344 E0 21 A0 27 */ psq_l f1, 39(r1), 1, qr2 +/* 800E93E8 000E6348 38 61 00 20 */ addi r3, r1, 0x20 +/* 800E93EC 000E634C C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2) +/* 800E93F0 000E6350 C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2) +/* 800E93F4 000E6354 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800E93F8 000E6358 C0 0D 87 B4 */ lfs f0, lbl_805A7374@sda21(r13) +/* 800E93FC 000E635C EC 22 00 72 */ fmuls f1, f2, f1 +/* 800E9400 000E6360 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800E9404 000E6364 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E9408 000E6368 C0 24 00 00 */ lfs f1, 0(r4) +/* 800E940C 000E636C C0 45 00 00 */ lfs f2, 0(r5) +/* 800E9410 000E6370 C0 66 00 00 */ lfs f3, 0(r6) +/* 800E9414 000E6374 40 80 00 0C */ bge lbl_800E9420 +/* 800E9418 000E6378 38 81 00 0C */ addi r4, r1, 0xc +/* 800E941C 000E637C 48 00 00 08 */ b lbl_800E9424 +lbl_800E9420: +/* 800E9420 000E6380 38 8D 87 B4 */ addi r4, r13, lbl_805A7374@sda21 +lbl_800E9424: +/* 800E9424 000E6384 C0 84 00 00 */ lfs f4, 0(r4) +/* 800E9428 000E6388 48 27 9F C5 */ bl __ct__6CColorFffff +/* 800E942C 000E638C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800E9430 000E6390 90 1F 00 00 */ stw r0, 0(r31) +/* 800E9434 000E6394 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800E9438 000E6398 90 1F 00 04 */ stw r0, 4(r31) +/* 800E943C 000E639C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 800E9440 000E63A0 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 800E9444 000E63A4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 800E9448 000E63A8 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 800E944C 000E63AC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800E9450 000E63B0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800E9454 000E63B4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800E9458 000E63B8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800E945C 000E63BC 7C 08 03 A6 */ mtlr r0 +/* 800E9460 000E63C0 38 21 00 60 */ addi r1, r1, 0x60 +/* 800E9464 000E63C4 4E 80 00 20 */ blr + +.global ReadAutomapperTweaks__15CMappableObjectFRC16CTweakAutoMapper +ReadAutomapperTweaks__15CMappableObjectFRC16CTweakAutoMapper: +/* 800E9468 000E63C8 C0 03 00 AC */ lfs f0, 0xac(r3) +/* 800E946C 000E63CC 3C 80 80 47 */ lis r4, lbl_8046C498@ha +/* 800E9470 000E63D0 C0 A3 00 A8 */ lfs f5, 0xa8(r3) +/* 800E9474 000E63D4 FC 40 00 50 */ fneg f2, f0 +/* 800E9478 000E63D8 C0 02 90 70 */ lfs f0, lbl_805AAD90@sda21(r2) +/* 800E947C 000E63DC C0 C3 00 A4 */ lfs f6, 0xa4(r3) +/* 800E9480 000E63E0 FC 60 28 50 */ fneg f3, f5 +/* 800E9484 000E63E4 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) +/* 800E9488 000E63E8 EC 80 00 B2 */ fmuls f4, f0, f2 +/* 800E948C 000E63EC C0 02 90 48 */ lfs f0, lbl_805AAD68@sda21(r2) +/* 800E9490 000E63F0 D4 44 C4 98 */ stfsu f2, lbl_8046C498@l(r4) +/* 800E9494 000E63F4 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 800E9498 000E63F8 D0 64 00 04 */ stfs f3, 4(r4) +/* 800E949C 000E63FC D0 24 00 08 */ stfs f1, 8(r4) +/* 800E94A0 000E6400 D0 44 00 0C */ stfs f2, 0xc(r4) +/* 800E94A4 000E6404 D0 64 00 10 */ stfs f3, 0x10(r4) +/* 800E94A8 000E6408 D0 04 00 14 */ stfs f0, 0x14(r4) +/* 800E94AC 000E640C D0 44 00 18 */ stfs f2, 0x18(r4) +/* 800E94B0 000E6410 D0 A4 00 1C */ stfs f5, 0x1c(r4) +/* 800E94B4 000E6414 D0 24 00 20 */ stfs f1, 0x20(r4) +/* 800E94B8 000E6418 D0 44 00 24 */ stfs f2, 0x24(r4) +/* 800E94BC 000E641C D0 A4 00 28 */ stfs f5, 0x28(r4) +/* 800E94C0 000E6420 D0 04 00 2C */ stfs f0, 0x2c(r4) +/* 800E94C4 000E6424 D0 84 00 30 */ stfs f4, 0x30(r4) +/* 800E94C8 000E6428 D0 64 00 34 */ stfs f3, 0x34(r4) +/* 800E94CC 000E642C D0 24 00 38 */ stfs f1, 0x38(r4) +/* 800E94D0 000E6430 D0 84 00 3C */ stfs f4, 0x3c(r4) +/* 800E94D4 000E6434 D0 64 00 40 */ stfs f3, 0x40(r4) +/* 800E94D8 000E6438 D0 04 00 44 */ stfs f0, 0x44(r4) +/* 800E94DC 000E643C D0 84 00 48 */ stfs f4, 0x48(r4) +/* 800E94E0 000E6440 D0 A4 00 4C */ stfs f5, 0x4c(r4) +/* 800E94E4 000E6444 D0 24 00 50 */ stfs f1, 0x50(r4) +/* 800E94E8 000E6448 D0 84 00 54 */ stfs f4, 0x54(r4) +/* 800E94EC 000E644C D0 A4 00 58 */ stfs f5, 0x58(r4) +/* 800E94F0 000E6450 D0 04 00 5C */ stfs f0, 0x5c(r4) +/* 800E94F4 000E6454 4E 80 00 20 */ blr + +.global __sinit_CMappableObject_cpp +__sinit_CMappableObject_cpp: +/* 800E94F8 000E6458 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800E94FC 000E645C C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 800E9500 000E6460 3C 60 80 47 */ lis r3, lbl_8046C498@ha +/* 800E9504 000E6464 D4 03 C4 98 */ stfsu f0, lbl_8046C498@l(r3) +/* 800E9508 000E6468 C0 24 00 04 */ lfs f1, 4(r4) +/* 800E950C 000E646C C0 44 00 08 */ lfs f2, 8(r4) +/* 800E9510 000E6470 D0 23 00 04 */ stfs f1, 4(r3) +/* 800E9514 000E6474 D0 43 00 08 */ stfs f2, 8(r3) +/* 800E9518 000E6478 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800E951C 000E647C D0 23 00 10 */ stfs f1, 0x10(r3) +/* 800E9520 000E6480 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 800E9524 000E6484 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800E9528 000E6488 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 800E952C 000E648C D0 43 00 20 */ stfs f2, 0x20(r3) +/* 800E9530 000E6490 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 800E9534 000E6494 D0 23 00 28 */ stfs f1, 0x28(r3) +/* 800E9538 000E6498 D0 43 00 2C */ stfs f2, 0x2c(r3) +/* 800E953C 000E649C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 800E9540 000E64A0 D0 23 00 34 */ stfs f1, 0x34(r3) +/* 800E9544 000E64A4 D0 43 00 38 */ stfs f2, 0x38(r3) +/* 800E9548 000E64A8 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 800E954C 000E64AC D0 23 00 40 */ stfs f1, 0x40(r3) +/* 800E9550 000E64B0 D0 43 00 44 */ stfs f2, 0x44(r3) +/* 800E9554 000E64B4 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 800E9558 000E64B8 D0 23 00 4C */ stfs f1, 0x4c(r3) +/* 800E955C 000E64BC D0 43 00 50 */ stfs f2, 0x50(r3) +/* 800E9560 000E64C0 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 800E9564 000E64C4 D0 23 00 58 */ stfs f1, 0x58(r3) +/* 800E9568 000E64C8 D0 43 00 5C */ stfs f2, 0x5c(r3) +/* 800E956C 000E64CC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CModelData.s b/asm/Kyoto_CWD/CModelData.s new file mode 100644 index 00000000..068d5cb3 --- /dev/null +++ b/asm/Kyoto_CWD/CModelData.s @@ -0,0 +1,2469 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetNumMaterialSets__10CModelDataCFv +GetNumMaterialSets__10CModelDataCFv: +/* 80114C48 00111BA8 80 83 00 10 */ lwz r4, 0x10(r3) +/* 80114C4C 00111BAC 28 04 00 00 */ cmplwi r4, 0 +/* 80114C50 00111BB0 41 82 00 14 */ beq lbl_80114C64 +/* 80114C54 00111BB4 80 64 00 E0 */ lwz r3, 0xe0(r4) +/* 80114C58 00111BB8 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80114C5C 00111BBC 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 80114C60 00111BC0 4E 80 00 20 */ blr +lbl_80114C64: +/* 80114C64 00111BC4 88 03 00 28 */ lbz r0, 0x28(r3) +/* 80114C68 00111BC8 28 00 00 00 */ cmplwi r0, 0 +/* 80114C6C 00111BCC 41 82 00 10 */ beq lbl_80114C7C +/* 80114C70 00111BD0 80 63 00 24 */ lwz r3, 0x24(r3) +/* 80114C74 00111BD4 80 63 00 1C */ lwz r3, 0x1c(r3) +/* 80114C78 00111BD8 4E 80 00 20 */ blr +lbl_80114C7C: +/* 80114C7C 00111BDC 38 60 00 01 */ li r3, 1 +/* 80114C80 00111BE0 4E 80 00 20 */ blr + +.global IsLoaded__10CModelDataCFi +IsLoaded__10CModelDataCFi: +/* 80114C84 00111BE4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80114C88 00111BE8 7C 08 02 A6 */ mflr r0 +/* 80114C8C 00111BEC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80114C90 00111BF0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80114C94 00111BF4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80114C98 00111BF8 7C 9E 23 78 */ mr r30, r4 +/* 80114C9C 00111BFC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80114CA0 00111C00 7C 7D 1B 78 */ mr r29, r3 +/* 80114CA4 00111C04 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 80114CA8 00111C08 28 1F 00 00 */ cmplwi r31, 0 +/* 80114CAC 00111C0C 41 82 00 78 */ beq lbl_80114D24 +/* 80114CB0 00111C10 80 7F 00 E0 */ lwz r3, 0xe0(r31) +/* 80114CB4 00111C14 80 63 00 0C */ lwz r3, 0xc(r3) +/* 80114CB8 00111C18 48 24 08 F1 */ bl IsLoaded__6CModelCFi +/* 80114CBC 00111C1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80114CC0 00111C20 40 82 00 0C */ bne lbl_80114CCC +/* 80114CC4 00111C24 38 60 00 00 */ li r3, 0 +/* 80114CC8 00111C28 48 00 00 D8 */ b lbl_80114DA0 +lbl_80114CCC: +/* 80114CCC 00111C2C 80 9F 00 F4 */ lwz r4, 0xf4(r31) +/* 80114CD0 00111C30 80 7F 00 F8 */ lwz r3, 0xf8(r31) +/* 80114CD4 00111C34 80 84 00 00 */ lwz r4, 0(r4) +/* 80114CD8 00111C38 83 E3 00 00 */ lwz r31, 0(r3) +/* 80114CDC 00111C3C 28 04 00 00 */ cmplwi r4, 0 +/* 80114CE0 00111C40 41 82 00 20 */ beq lbl_80114D00 +/* 80114CE4 00111C44 80 64 00 0C */ lwz r3, 0xc(r4) +/* 80114CE8 00111C48 7F C4 F3 78 */ mr r4, r30 +/* 80114CEC 00111C4C 48 24 08 BD */ bl IsLoaded__6CModelCFi +/* 80114CF0 00111C50 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80114CF4 00111C54 40 82 00 0C */ bne lbl_80114D00 +/* 80114CF8 00111C58 38 60 00 00 */ li r3, 0 +/* 80114CFC 00111C5C 48 00 00 A4 */ b lbl_80114DA0 +lbl_80114D00: +/* 80114D00 00111C60 28 1F 00 00 */ cmplwi r31, 0 +/* 80114D04 00111C64 41 82 00 20 */ beq lbl_80114D24 +/* 80114D08 00111C68 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80114D0C 00111C6C 7F C4 F3 78 */ mr r4, r30 +/* 80114D10 00111C70 48 24 08 99 */ bl IsLoaded__6CModelCFi +/* 80114D14 00111C74 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80114D18 00111C78 40 82 00 0C */ bne lbl_80114D24 +/* 80114D1C 00111C7C 38 60 00 00 */ li r3, 0 +/* 80114D20 00111C80 48 00 00 80 */ b lbl_80114DA0 +lbl_80114D24: +/* 80114D24 00111C84 88 1D 00 28 */ lbz r0, 0x28(r29) +/* 80114D28 00111C88 28 00 00 00 */ cmplwi r0, 0 +/* 80114D2C 00111C8C 41 82 00 20 */ beq lbl_80114D4C +/* 80114D30 00111C90 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 80114D34 00111C94 7F C4 F3 78 */ mr r4, r30 +/* 80114D38 00111C98 48 24 08 71 */ bl IsLoaded__6CModelCFi +/* 80114D3C 00111C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80114D40 00111CA0 40 82 00 0C */ bne lbl_80114D4C +/* 80114D44 00111CA4 38 60 00 00 */ li r3, 0 +/* 80114D48 00111CA8 48 00 00 58 */ b lbl_80114DA0 +lbl_80114D4C: +/* 80114D4C 00111CAC 88 1D 00 38 */ lbz r0, 0x38(r29) +/* 80114D50 00111CB0 28 00 00 00 */ cmplwi r0, 0 +/* 80114D54 00111CB4 41 82 00 20 */ beq lbl_80114D74 +/* 80114D58 00111CB8 80 7D 00 34 */ lwz r3, 0x34(r29) +/* 80114D5C 00111CBC 7F C4 F3 78 */ mr r4, r30 +/* 80114D60 00111CC0 48 24 08 49 */ bl IsLoaded__6CModelCFi +/* 80114D64 00111CC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80114D68 00111CC8 40 82 00 0C */ bne lbl_80114D74 +/* 80114D6C 00111CCC 38 60 00 00 */ li r3, 0 +/* 80114D70 00111CD0 48 00 00 30 */ b lbl_80114DA0 +lbl_80114D74: +/* 80114D74 00111CD4 88 1D 00 48 */ lbz r0, 0x48(r29) +/* 80114D78 00111CD8 28 00 00 00 */ cmplwi r0, 0 +/* 80114D7C 00111CDC 41 82 00 20 */ beq lbl_80114D9C +/* 80114D80 00111CE0 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 80114D84 00111CE4 7F C4 F3 78 */ mr r4, r30 +/* 80114D88 00111CE8 48 24 08 21 */ bl IsLoaded__6CModelCFi +/* 80114D8C 00111CEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80114D90 00111CF0 40 82 00 0C */ bne lbl_80114D9C +/* 80114D94 00111CF4 38 60 00 00 */ li r3, 0 +/* 80114D98 00111CF8 48 00 00 08 */ b lbl_80114DA0 +lbl_80114D9C: +/* 80114D9C 00111CFC 38 60 00 01 */ li r3, 1 +lbl_80114DA0: +/* 80114DA0 00111D00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80114DA4 00111D04 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80114DA8 00111D08 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80114DAC 00111D0C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80114DB0 00111D10 7C 08 03 A6 */ mtlr r0 +/* 80114DB4 00111D14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80114DB8 00111D18 4E 80 00 20 */ blr + +.global Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags: +/* 80114DBC 00111D1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80114DC0 00111D20 7C 08 02 A6 */ mflr r0 +/* 80114DC4 00111D24 90 01 00 24 */ stw r0, 0x24(r1) +/* 80114DC8 00111D28 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80114DCC 00111D2C 7C FF 3B 78 */ mr r31, r7 +/* 80114DD0 00111D30 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80114DD4 00111D34 7C DE 33 78 */ mr r30, r6 +/* 80114DD8 00111D38 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80114DDC 00111D3C 7C BD 2B 78 */ mr r29, r5 +/* 80114DE0 00111D40 93 81 00 10 */ stw r28, 0x10(r1) +/* 80114DE4 00111D44 7C 7C 1B 78 */ mr r28, r3 +/* 80114DE8 00111D48 7C 83 23 78 */ mr r3, r4 +/* 80114DEC 00111D4C 48 00 00 F1 */ bl GetRenderingModel__10CModelDataFRC13CStateManager +/* 80114DF0 00111D50 7C 64 1B 78 */ mr r4, r3 +/* 80114DF4 00111D54 7F 83 E3 78 */ mr r3, r28 +/* 80114DF8 00111D58 7F A5 EB 78 */ mr r5, r29 +/* 80114DFC 00111D5C 7F C6 F3 78 */ mr r6, r30 +/* 80114E00 00111D60 7F E7 FB 78 */ mr r7, r31 +/* 80114E04 00111D64 48 00 1A 71 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 80114E08 00111D68 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80114E0C 00111D6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80114E10 00111D70 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80114E14 00111D74 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80114E18 00111D78 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80114E1C 00111D7C 7C 08 03 A6 */ mtlr r0 +/* 80114E20 00111D80 38 21 00 20 */ addi r1, r1, 0x20 +/* 80114E24 00111D84 4E 80 00 20 */ blr + +.global HasModel__10CModelDataCF11EWhichModel +HasModel__10CModelDataCF11EWhichModel: +/* 80114E28 00111D88 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 80114E2C 00111D8C 28 05 00 00 */ cmplwi r5, 0 +/* 80114E30 00111D90 41 82 00 68 */ beq lbl_80114E98 +/* 80114E34 00111D94 2C 04 00 01 */ cmpwi r4, 1 +/* 80114E38 00111D98 41 82 00 28 */ beq lbl_80114E60 +/* 80114E3C 00111D9C 40 80 00 10 */ bge lbl_80114E4C +/* 80114E40 00111DA0 2C 04 00 00 */ cmpwi r4, 0 +/* 80114E44 00111DA4 40 80 00 14 */ bge lbl_80114E58 +/* 80114E48 00111DA8 48 00 00 48 */ b lbl_80114E90 +lbl_80114E4C: +/* 80114E4C 00111DAC 2C 04 00 04 */ cmpwi r4, 4 +/* 80114E50 00111DB0 40 80 00 40 */ bge lbl_80114E90 +/* 80114E54 00111DB4 48 00 00 24 */ b lbl_80114E78 +lbl_80114E58: +/* 80114E58 00111DB8 38 60 00 01 */ li r3, 1 +/* 80114E5C 00111DBC 4E 80 00 20 */ blr +lbl_80114E60: +/* 80114E60 00111DC0 80 65 00 F4 */ lwz r3, 0xf4(r5) +/* 80114E64 00111DC4 80 63 00 00 */ lwz r3, 0(r3) +/* 80114E68 00111DC8 7C 03 00 D0 */ neg r0, r3 +/* 80114E6C 00111DCC 7C 00 1B 78 */ or r0, r0, r3 +/* 80114E70 00111DD0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80114E74 00111DD4 4E 80 00 20 */ blr +lbl_80114E78: +/* 80114E78 00111DD8 80 65 00 F8 */ lwz r3, 0xf8(r5) +/* 80114E7C 00111DDC 80 63 00 00 */ lwz r3, 0(r3) +/* 80114E80 00111DE0 7C 03 00 D0 */ neg r0, r3 +/* 80114E84 00111DE4 7C 00 1B 78 */ or r0, r0, r3 +/* 80114E88 00111DE8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80114E8C 00111DEC 4E 80 00 20 */ blr +lbl_80114E90: +/* 80114E90 00111DF0 38 60 00 00 */ li r3, 0 +/* 80114E94 00111DF4 4E 80 00 20 */ blr +lbl_80114E98: +/* 80114E98 00111DF8 2C 04 00 01 */ cmpwi r4, 1 +/* 80114E9C 00111DFC 41 82 00 28 */ beq lbl_80114EC4 +/* 80114EA0 00111E00 40 80 00 10 */ bge lbl_80114EB0 +/* 80114EA4 00111E04 2C 04 00 00 */ cmpwi r4, 0 +/* 80114EA8 00111E08 40 80 00 14 */ bge lbl_80114EBC +/* 80114EAC 00111E0C 48 00 00 28 */ b lbl_80114ED4 +lbl_80114EB0: +/* 80114EB0 00111E10 2C 04 00 04 */ cmpwi r4, 4 +/* 80114EB4 00111E14 40 80 00 20 */ bge lbl_80114ED4 +/* 80114EB8 00111E18 48 00 00 14 */ b lbl_80114ECC +lbl_80114EBC: +/* 80114EBC 00111E1C 88 63 00 28 */ lbz r3, 0x28(r3) +/* 80114EC0 00111E20 4E 80 00 20 */ blr +lbl_80114EC4: +/* 80114EC4 00111E24 88 63 00 38 */ lbz r3, 0x38(r3) +/* 80114EC8 00111E28 4E 80 00 20 */ blr +lbl_80114ECC: +/* 80114ECC 00111E2C 88 63 00 48 */ lbz r3, 0x48(r3) +/* 80114ED0 00111E30 4E 80 00 20 */ blr +lbl_80114ED4: +/* 80114ED4 00111E34 38 60 00 00 */ li r3, 0 +/* 80114ED8 00111E38 4E 80 00 20 */ blr + +.global GetRenderingModel__10CModelDataFRC13CStateManager +GetRenderingModel__10CModelDataFRC13CStateManager: +/* 80114EDC 00111E3C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80114EE0 00111E40 7C 08 02 A6 */ mflr r0 +/* 80114EE4 00111E44 90 01 00 14 */ stw r0, 0x14(r1) +/* 80114EE8 00111E48 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80114EEC 00111E4C 7C 7F 1B 78 */ mr r31, r3 +/* 80114EF0 00111E50 7F E4 FB 78 */ mr r4, r31 +/* 80114EF4 00111E54 80 63 08 B8 */ lwz r3, 0x8b8(r3) +/* 80114EF8 00111E58 80 63 00 00 */ lwz r3, 0(r3) +/* 80114EFC 00111E5C 4B F7 C6 5D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80114F00 00111E60 2C 03 00 02 */ cmpwi r3, 2 +/* 80114F04 00111E64 41 82 00 40 */ beq lbl_80114F44 +/* 80114F08 00111E68 40 80 00 10 */ bge lbl_80114F18 +/* 80114F0C 00111E6C 2C 03 00 01 */ cmpwi r3, 1 +/* 80114F10 00111E70 40 80 00 14 */ bge lbl_80114F24 +/* 80114F14 00111E74 48 00 00 30 */ b lbl_80114F44 +lbl_80114F18: +/* 80114F18 00111E78 2C 03 00 04 */ cmpwi r3, 4 +/* 80114F1C 00111E7C 40 80 00 28 */ bge lbl_80114F44 +/* 80114F20 00111E80 48 00 00 0C */ b lbl_80114F2C +lbl_80114F24: +/* 80114F24 00111E84 38 60 00 01 */ li r3, 1 +/* 80114F28 00111E88 48 00 00 20 */ b lbl_80114F48 +lbl_80114F2C: +/* 80114F2C 00111E8C 80 1F 0F 34 */ lwz r0, 0xf34(r31) +/* 80114F30 00111E90 38 60 00 03 */ li r3, 3 +/* 80114F34 00111E94 2C 00 00 01 */ cmpwi r0, 1 +/* 80114F38 00111E98 40 82 00 10 */ bne lbl_80114F48 +/* 80114F3C 00111E9C 38 60 00 02 */ li r3, 2 +/* 80114F40 00111EA0 48 00 00 08 */ b lbl_80114F48 +lbl_80114F44: +/* 80114F44 00111EA4 38 60 00 00 */ li r3, 0 +lbl_80114F48: +/* 80114F48 00111EA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80114F4C 00111EAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80114F50 00111EB0 7C 08 03 A6 */ mtlr r0 +/* 80114F54 00111EB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80114F58 00111EB8 4E 80 00 20 */ blr + +.global PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel: +/* 80114F5C 00111EBC 2C 04 00 01 */ cmpwi r4, 1 +/* 80114F60 00111EC0 38 00 00 00 */ li r0, 0 +/* 80114F64 00111EC4 41 82 00 20 */ beq lbl_80114F84 +/* 80114F68 00111EC8 41 80 00 28 */ blt lbl_80114F90 +/* 80114F6C 00111ECC 2C 04 00 04 */ cmpwi r4, 4 +/* 80114F70 00111ED0 40 80 00 20 */ bge lbl_80114F90 +/* 80114F74 00111ED4 80 83 00 10 */ lwz r4, 0x10(r3) +/* 80114F78 00111ED8 80 84 00 F8 */ lwz r4, 0xf8(r4) +/* 80114F7C 00111EDC 80 04 00 00 */ lwz r0, 0(r4) +/* 80114F80 00111EE0 48 00 00 10 */ b lbl_80114F90 +lbl_80114F84: +/* 80114F84 00111EE4 80 83 00 10 */ lwz r4, 0x10(r3) +/* 80114F88 00111EE8 80 84 00 F4 */ lwz r4, 0xf4(r4) +/* 80114F8C 00111EEC 80 04 00 00 */ lwz r0, 0(r4) +lbl_80114F90: +/* 80114F90 00111EF0 28 00 00 00 */ cmplwi r0, 0 +/* 80114F94 00111EF4 41 82 00 0C */ beq lbl_80114FA0 +/* 80114F98 00111EF8 7C 03 03 78 */ mr r3, r0 +/* 80114F9C 00111EFC 4E 80 00 20 */ blr +lbl_80114FA0: +/* 80114FA0 00111F00 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80114FA4 00111F04 80 63 00 E0 */ lwz r3, 0xe0(r3) +/* 80114FA8 00111F08 4E 80 00 20 */ blr + +.global PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel: +/* 80114FAC 00111F0C 2C 04 00 01 */ cmpwi r4, 1 +/* 80114FB0 00111F10 41 82 00 24 */ beq lbl_80114FD4 +/* 80114FB4 00111F14 41 80 00 34 */ blt lbl_80114FE8 +/* 80114FB8 00111F18 2C 04 00 04 */ cmpwi r4, 4 +/* 80114FBC 00111F1C 40 80 00 2C */ bge lbl_80114FE8 +/* 80114FC0 00111F20 88 03 00 48 */ lbz r0, 0x48(r3) +/* 80114FC4 00111F24 28 00 00 00 */ cmplwi r0, 0 +/* 80114FC8 00111F28 41 82 00 20 */ beq lbl_80114FE8 +/* 80114FCC 00111F2C 38 63 00 3C */ addi r3, r3, 0x3c +/* 80114FD0 00111F30 4E 80 00 20 */ blr +lbl_80114FD4: +/* 80114FD4 00111F34 88 03 00 38 */ lbz r0, 0x38(r3) +/* 80114FD8 00111F38 28 00 00 00 */ cmplwi r0, 0 +/* 80114FDC 00111F3C 41 82 00 0C */ beq lbl_80114FE8 +/* 80114FE0 00111F40 38 63 00 2C */ addi r3, r3, 0x2c +/* 80114FE4 00111F44 4E 80 00 20 */ blr +lbl_80114FE8: +/* 80114FE8 00111F48 38 63 00 1C */ addi r3, r3, 0x1c +/* 80114FEC 00111F4C 4E 80 00 20 */ blr + +.global "SetXRayModel__10CModelDataFRCQ24rstl11pair" +"SetXRayModel__10CModelDataFRCQ24rstl11pair": +/* 80114FF0 00111F50 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80114FF4 00111F54 7C 08 02 A6 */ mflr r0 +/* 80114FF8 00111F58 90 01 00 84 */ stw r0, 0x84(r1) +/* 80114FFC 00111F5C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80115000 00111F60 7C 7F 1B 78 */ mr r31, r3 +/* 80115004 00111F64 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80115008 00111F68 7C 9E 23 78 */ mr r30, r4 +/* 8011500C 00111F6C 93 A1 00 74 */ stw r29, 0x74(r1) +/* 80115010 00111F70 80 84 00 00 */ lwz r4, 0(r4) +/* 80115014 00111F74 28 04 00 00 */ cmplwi r4, 0 +/* 80115018 00111F78 41 82 02 20 */ beq lbl_80115238 +/* 8011501C 00111F7C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80115020 00111F80 38 63 00 04 */ addi r3, r3, 4 +/* 80115024 00111F84 48 22 6C A9 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 80115028 00111F88 3C 03 BC B3 */ addis r0, r3, 0xbcb3 +/* 8011502C 00111F8C 28 00 44 4C */ cmplwi r0, 0x444c +/* 80115030 00111F90 41 82 00 08 */ beq lbl_80115038 +/* 80115034 00111F94 48 00 02 04 */ b lbl_80115238 +lbl_80115038: +/* 80115038 00111F98 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 8011503C 00111F9C 28 00 00 00 */ cmplwi r0, 0 +/* 80115040 00111FA0 41 82 01 3C */ beq lbl_8011517C +/* 80115044 00111FA4 80 9E 00 04 */ lwz r4, 4(r30) +/* 80115048 00111FA8 28 04 00 00 */ cmplwi r4, 0 +/* 8011504C 00111FAC 41 82 01 30 */ beq lbl_8011517C +/* 80115050 00111FB0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 80115054 00111FB4 38 63 00 04 */ addi r3, r3, 4 +/* 80115058 00111FB8 48 22 6C 75 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 8011505C 00111FBC 3C 03 BC AD */ addis r0, r3, 0xbcad +/* 80115060 00111FC0 28 00 4B 52 */ cmplwi r0, 0x4b52 +/* 80115064 00111FC4 40 82 01 18 */ bne lbl_8011517C +/* 80115068 00111FC8 80 DE 00 00 */ lwz r6, 0(r30) +/* 8011506C 00111FCC 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 80115070 00111FD0 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 80115074 00111FD4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80115078 00111FD8 90 01 00 40 */ stw r0, 0x40(r1) +/* 8011507C 00111FDC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80115080 00111FE0 38 A1 00 40 */ addi r5, r1, 0x40 +/* 80115084 00111FE4 90 C1 00 44 */ stw r6, 0x44(r1) +/* 80115088 00111FE8 81 84 00 00 */ lwz r12, 0(r4) +/* 8011508C 00111FEC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80115090 00111FF0 7D 89 03 A6 */ mtctr r12 +/* 80115094 00111FF4 4E 80 04 21 */ bctrl +/* 80115098 00111FF8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8011509C 00111FFC 38 81 00 38 */ addi r4, r1, 0x38 +/* 801150A0 00112000 48 22 BE 09 */ bl __ct__6CTokenFRC6CToken +/* 801150A4 00112004 3B A1 00 60 */ addi r29, r1, 0x60 +/* 801150A8 00112008 38 81 00 30 */ addi r4, r1, 0x30 +/* 801150AC 0011200C 7F A3 EB 78 */ mr r3, r29 +/* 801150B0 00112010 48 22 BD F9 */ bl __ct__6CTokenFRC6CToken +/* 801150B4 00112014 7F A3 EB 78 */ mr r3, r29 +/* 801150B8 00112018 48 22 BD 55 */ bl GetObj__6CTokenFv +/* 801150BC 0011201C 80 83 00 04 */ lwz r4, 4(r3) +/* 801150C0 00112020 3C 60 43 53 */ lis r3, 0x43534B52@ha +/* 801150C4 00112024 80 DE 00 04 */ lwz r6, 4(r30) +/* 801150C8 00112028 38 03 4B 52 */ addi r0, r3, 0x43534B52@l +/* 801150CC 0011202C 90 81 00 68 */ stw r4, 0x68(r1) +/* 801150D0 00112030 38 61 00 20 */ addi r3, r1, 0x20 +/* 801150D4 00112034 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801150D8 00112038 38 A1 00 28 */ addi r5, r1, 0x28 +/* 801150DC 0011203C 90 01 00 28 */ stw r0, 0x28(r1) +/* 801150E0 00112040 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 801150E4 00112044 81 84 00 00 */ lwz r12, 0(r4) +/* 801150E8 00112048 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 801150EC 0011204C 7D 89 03 A6 */ mtctr r12 +/* 801150F0 00112050 4E 80 04 21 */ bctrl +/* 801150F4 00112054 38 61 00 18 */ addi r3, r1, 0x18 +/* 801150F8 00112058 38 81 00 20 */ addi r4, r1, 0x20 +/* 801150FC 0011205C 48 22 BD AD */ bl __ct__6CTokenFRC6CToken +/* 80115100 00112060 3B A1 00 54 */ addi r29, r1, 0x54 +/* 80115104 00112064 38 81 00 18 */ addi r4, r1, 0x18 +/* 80115108 00112068 7F A3 EB 78 */ mr r3, r29 +/* 8011510C 0011206C 48 22 BD 9D */ bl __ct__6CTokenFRC6CToken +/* 80115110 00112070 7F A3 EB 78 */ mr r3, r29 +/* 80115114 00112074 48 22 BC F9 */ bl GetObj__6CTokenFv +/* 80115118 00112078 80 03 00 04 */ lwz r0, 4(r3) +/* 8011511C 0011207C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80115120 00112080 7F A5 EB 78 */ mr r5, r29 +/* 80115124 00112084 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80115128 00112088 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8011512C 0011208C 4B F1 8D 99 */ bl "SetXRayModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>" +/* 80115130 00112090 7F A3 EB 78 */ mr r3, r29 +/* 80115134 00112094 38 80 00 00 */ li r4, 0 +/* 80115138 00112098 48 22 BD 09 */ bl __dt__6CTokenFv +/* 8011513C 0011209C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80115140 001120A0 38 80 00 00 */ li r4, 0 +/* 80115144 001120A4 48 22 BC FD */ bl __dt__6CTokenFv +/* 80115148 001120A8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8011514C 001120AC 38 80 FF FF */ li r4, -1 +/* 80115150 001120B0 48 22 BC F1 */ bl __dt__6CTokenFv +/* 80115154 001120B4 38 61 00 60 */ addi r3, r1, 0x60 +/* 80115158 001120B8 38 80 00 00 */ li r4, 0 +/* 8011515C 001120BC 48 22 BC E5 */ bl __dt__6CTokenFv +/* 80115160 001120C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80115164 001120C4 38 80 00 00 */ li r4, 0 +/* 80115168 001120C8 48 22 BC D9 */ bl __dt__6CTokenFv +/* 8011516C 001120CC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80115170 001120D0 38 80 FF FF */ li r4, -1 +/* 80115174 001120D4 48 22 BC CD */ bl __dt__6CTokenFv +/* 80115178 001120D8 48 00 00 C0 */ b lbl_80115238 +lbl_8011517C: +/* 8011517C 001120DC 80 DE 00 00 */ lwz r6, 0(r30) +/* 80115180 001120E0 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 80115184 001120E4 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 80115188 001120E8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8011518C 001120EC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80115190 001120F0 38 61 00 08 */ addi r3, r1, 8 +/* 80115194 001120F4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80115198 001120F8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8011519C 001120FC 81 84 00 00 */ lwz r12, 0(r4) +/* 801151A0 00112100 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 801151A4 00112104 7D 89 03 A6 */ mtctr r12 +/* 801151A8 00112108 4E 80 04 21 */ bctrl +/* 801151AC 0011210C 3B A1 00 48 */ addi r29, r1, 0x48 +/* 801151B0 00112110 38 81 00 08 */ addi r4, r1, 8 +/* 801151B4 00112114 7F A3 EB 78 */ mr r3, r29 +/* 801151B8 00112118 48 22 BC F1 */ bl __ct__6CTokenFRC6CToken +/* 801151BC 0011211C 7F A3 EB 78 */ mr r3, r29 +/* 801151C0 00112120 48 22 BC 4D */ bl GetObj__6CTokenFv +/* 801151C4 00112124 80 03 00 04 */ lwz r0, 4(r3) +/* 801151C8 00112128 90 01 00 50 */ stw r0, 0x50(r1) +/* 801151CC 0011212C 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 801151D0 00112130 28 00 00 00 */ cmplwi r0, 0 +/* 801151D4 00112134 40 82 00 34 */ bne lbl_80115208 +/* 801151D8 00112138 37 DF 00 2C */ addic. r30, r31, 0x2c +/* 801151DC 0011213C 41 82 00 20 */ beq lbl_801151FC +/* 801151E0 00112140 7F C3 F3 78 */ mr r3, r30 +/* 801151E4 00112144 7F A4 EB 78 */ mr r4, r29 +/* 801151E8 00112148 48 22 BC C1 */ bl __ct__6CTokenFRC6CToken +/* 801151EC 0011214C 80 01 00 50 */ lwz r0, 0x50(r1) +/* 801151F0 00112150 7F C3 F3 78 */ mr r3, r30 +/* 801151F4 00112154 90 1E 00 08 */ stw r0, 8(r30) +/* 801151F8 00112158 48 22 BB 8D */ bl Lock__6CTokenFv +lbl_801151FC: +/* 801151FC 0011215C 38 00 00 01 */ li r0, 1 +/* 80115200 00112160 98 1F 00 38 */ stb r0, 0x38(r31) +/* 80115204 00112164 48 00 00 1C */ b lbl_80115220 +lbl_80115208: +/* 80115208 00112168 3B DF 00 2C */ addi r30, r31, 0x2c +/* 8011520C 0011216C 7F A4 EB 78 */ mr r4, r29 +/* 80115210 00112170 7F C3 F3 78 */ mr r3, r30 +/* 80115214 00112174 48 22 BA B1 */ bl __as__6CTokenFRC6CToken +/* 80115218 00112178 80 01 00 50 */ lwz r0, 0x50(r1) +/* 8011521C 0011217C 90 1E 00 08 */ stw r0, 8(r30) +lbl_80115220: +/* 80115220 00112180 38 61 00 48 */ addi r3, r1, 0x48 +/* 80115224 00112184 38 80 00 00 */ li r4, 0 +/* 80115228 00112188 48 22 BC 19 */ bl __dt__6CTokenFv +/* 8011522C 0011218C 38 61 00 08 */ addi r3, r1, 8 +/* 80115230 00112190 38 80 FF FF */ li r4, -1 +/* 80115234 00112194 48 22 BC 0D */ bl __dt__6CTokenFv +lbl_80115238: +/* 80115238 00112198 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8011523C 0011219C 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80115240 001121A0 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80115244 001121A4 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 80115248 001121A8 7C 08 03 A6 */ mtlr r0 +/* 8011524C 001121AC 38 21 00 80 */ addi r1, r1, 0x80 +/* 80115250 001121B0 4E 80 00 20 */ blr + +.global "SetInfraModel__10CModelDataFRCQ24rstl11pair" +"SetInfraModel__10CModelDataFRCQ24rstl11pair": +/* 80115254 001121B4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80115258 001121B8 7C 08 02 A6 */ mflr r0 +/* 8011525C 001121BC 90 01 00 84 */ stw r0, 0x84(r1) +/* 80115260 001121C0 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80115264 001121C4 7C 7F 1B 78 */ mr r31, r3 +/* 80115268 001121C8 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8011526C 001121CC 7C 9E 23 78 */ mr r30, r4 +/* 80115270 001121D0 93 A1 00 74 */ stw r29, 0x74(r1) +/* 80115274 001121D4 80 84 00 00 */ lwz r4, 0(r4) +/* 80115278 001121D8 28 04 00 00 */ cmplwi r4, 0 +/* 8011527C 001121DC 41 82 01 E4 */ beq lbl_80115460 +/* 80115280 001121E0 80 1F 00 10 */ lwz r0, 0x10(r31) +/* 80115284 001121E4 28 00 00 00 */ cmplwi r0, 0 +/* 80115288 001121E8 41 82 01 20 */ beq lbl_801153A8 +/* 8011528C 001121EC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80115290 001121F0 28 00 00 00 */ cmplwi r0, 0 +/* 80115294 001121F4 41 82 01 14 */ beq lbl_801153A8 +/* 80115298 001121F8 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 8011529C 001121FC 90 81 00 44 */ stw r4, 0x44(r1) +/* 801152A0 00112200 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 801152A4 00112204 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801152A8 00112208 90 01 00 40 */ stw r0, 0x40(r1) +/* 801152AC 0011220C 38 61 00 38 */ addi r3, r1, 0x38 +/* 801152B0 00112210 38 A1 00 40 */ addi r5, r1, 0x40 +/* 801152B4 00112214 81 84 00 00 */ lwz r12, 0(r4) +/* 801152B8 00112218 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 801152BC 0011221C 7D 89 03 A6 */ mtctr r12 +/* 801152C0 00112220 4E 80 04 21 */ bctrl +/* 801152C4 00112224 38 61 00 30 */ addi r3, r1, 0x30 +/* 801152C8 00112228 38 81 00 38 */ addi r4, r1, 0x38 +/* 801152CC 0011222C 48 22 BB DD */ bl __ct__6CTokenFRC6CToken +/* 801152D0 00112230 3B A1 00 60 */ addi r29, r1, 0x60 +/* 801152D4 00112234 38 81 00 30 */ addi r4, r1, 0x30 +/* 801152D8 00112238 7F A3 EB 78 */ mr r3, r29 +/* 801152DC 0011223C 48 22 BB CD */ bl __ct__6CTokenFRC6CToken +/* 801152E0 00112240 7F A3 EB 78 */ mr r3, r29 +/* 801152E4 00112244 48 22 BB 29 */ bl GetObj__6CTokenFv +/* 801152E8 00112248 80 83 00 04 */ lwz r4, 4(r3) +/* 801152EC 0011224C 3C 60 43 53 */ lis r3, 0x43534B52@ha +/* 801152F0 00112250 80 DE 00 04 */ lwz r6, 4(r30) +/* 801152F4 00112254 38 03 4B 52 */ addi r0, r3, 0x43534B52@l +/* 801152F8 00112258 90 81 00 68 */ stw r4, 0x68(r1) +/* 801152FC 0011225C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80115300 00112260 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80115304 00112264 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80115308 00112268 90 01 00 28 */ stw r0, 0x28(r1) +/* 8011530C 0011226C 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80115310 00112270 81 84 00 00 */ lwz r12, 0(r4) +/* 80115314 00112274 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80115318 00112278 7D 89 03 A6 */ mtctr r12 +/* 8011531C 0011227C 4E 80 04 21 */ bctrl +/* 80115320 00112280 38 61 00 18 */ addi r3, r1, 0x18 +/* 80115324 00112284 38 81 00 20 */ addi r4, r1, 0x20 +/* 80115328 00112288 48 22 BB 81 */ bl __ct__6CTokenFRC6CToken +/* 8011532C 0011228C 3B A1 00 54 */ addi r29, r1, 0x54 +/* 80115330 00112290 38 81 00 18 */ addi r4, r1, 0x18 +/* 80115334 00112294 7F A3 EB 78 */ mr r3, r29 +/* 80115338 00112298 48 22 BB 71 */ bl __ct__6CTokenFRC6CToken +/* 8011533C 0011229C 7F A3 EB 78 */ mr r3, r29 +/* 80115340 001122A0 48 22 BA CD */ bl GetObj__6CTokenFv +/* 80115344 001122A4 80 03 00 04 */ lwz r0, 4(r3) +/* 80115348 001122A8 38 81 00 60 */ addi r4, r1, 0x60 +/* 8011534C 001122AC 7F A5 EB 78 */ mr r5, r29 +/* 80115350 001122B0 90 01 00 5C */ stw r0, 0x5c(r1) +/* 80115354 001122B4 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 80115358 001122B8 4B F1 8C 59 */ bl "SetInfraModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>" +/* 8011535C 001122BC 7F A3 EB 78 */ mr r3, r29 +/* 80115360 001122C0 38 80 00 00 */ li r4, 0 +/* 80115364 001122C4 48 22 BA DD */ bl __dt__6CTokenFv +/* 80115368 001122C8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011536C 001122CC 38 80 00 00 */ li r4, 0 +/* 80115370 001122D0 48 22 BA D1 */ bl __dt__6CTokenFv +/* 80115374 001122D4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80115378 001122D8 38 80 FF FF */ li r4, -1 +/* 8011537C 001122DC 48 22 BA C5 */ bl __dt__6CTokenFv +/* 80115380 001122E0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80115384 001122E4 38 80 00 00 */ li r4, 0 +/* 80115388 001122E8 48 22 BA B9 */ bl __dt__6CTokenFv +/* 8011538C 001122EC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80115390 001122F0 38 80 00 00 */ li r4, 0 +/* 80115394 001122F4 48 22 BA AD */ bl __dt__6CTokenFv +/* 80115398 001122F8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8011539C 001122FC 38 80 FF FF */ li r4, -1 +/* 801153A0 00112300 48 22 BA A1 */ bl __dt__6CTokenFv +/* 801153A4 00112304 48 00 00 BC */ b lbl_80115460 +lbl_801153A8: +/* 801153A8 00112308 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 801153AC 0011230C 90 81 00 14 */ stw r4, 0x14(r1) +/* 801153B0 00112310 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 801153B4 00112314 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801153B8 00112318 90 01 00 10 */ stw r0, 0x10(r1) +/* 801153BC 0011231C 38 61 00 08 */ addi r3, r1, 8 +/* 801153C0 00112320 38 A1 00 10 */ addi r5, r1, 0x10 +/* 801153C4 00112324 81 84 00 00 */ lwz r12, 0(r4) +/* 801153C8 00112328 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 801153CC 0011232C 7D 89 03 A6 */ mtctr r12 +/* 801153D0 00112330 4E 80 04 21 */ bctrl +/* 801153D4 00112334 3B A1 00 48 */ addi r29, r1, 0x48 +/* 801153D8 00112338 38 81 00 08 */ addi r4, r1, 8 +/* 801153DC 0011233C 7F A3 EB 78 */ mr r3, r29 +/* 801153E0 00112340 48 22 BA C9 */ bl __ct__6CTokenFRC6CToken +/* 801153E4 00112344 7F A3 EB 78 */ mr r3, r29 +/* 801153E8 00112348 48 22 BA 25 */ bl GetObj__6CTokenFv +/* 801153EC 0011234C 80 03 00 04 */ lwz r0, 4(r3) +/* 801153F0 00112350 90 01 00 50 */ stw r0, 0x50(r1) +/* 801153F4 00112354 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 801153F8 00112358 28 00 00 00 */ cmplwi r0, 0 +/* 801153FC 0011235C 40 82 00 34 */ bne lbl_80115430 +/* 80115400 00112360 37 DF 00 3C */ addic. r30, r31, 0x3c +/* 80115404 00112364 41 82 00 20 */ beq lbl_80115424 +/* 80115408 00112368 7F C3 F3 78 */ mr r3, r30 +/* 8011540C 0011236C 7F A4 EB 78 */ mr r4, r29 +/* 80115410 00112370 48 22 BA 99 */ bl __ct__6CTokenFRC6CToken +/* 80115414 00112374 80 01 00 50 */ lwz r0, 0x50(r1) +/* 80115418 00112378 7F C3 F3 78 */ mr r3, r30 +/* 8011541C 0011237C 90 1E 00 08 */ stw r0, 8(r30) +/* 80115420 00112380 48 22 B9 65 */ bl Lock__6CTokenFv +lbl_80115424: +/* 80115424 00112384 38 00 00 01 */ li r0, 1 +/* 80115428 00112388 98 1F 00 48 */ stb r0, 0x48(r31) +/* 8011542C 0011238C 48 00 00 1C */ b lbl_80115448 +lbl_80115430: +/* 80115430 00112390 3B DF 00 3C */ addi r30, r31, 0x3c +/* 80115434 00112394 7F A4 EB 78 */ mr r4, r29 +/* 80115438 00112398 7F C3 F3 78 */ mr r3, r30 +/* 8011543C 0011239C 48 22 B8 89 */ bl __as__6CTokenFRC6CToken +/* 80115440 001123A0 80 01 00 50 */ lwz r0, 0x50(r1) +/* 80115444 001123A4 90 1E 00 08 */ stw r0, 8(r30) +lbl_80115448: +/* 80115448 001123A8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8011544C 001123AC 38 80 00 00 */ li r4, 0 +/* 80115450 001123B0 48 22 B9 F1 */ bl __dt__6CTokenFv +/* 80115454 001123B4 38 61 00 08 */ addi r3, r1, 8 +/* 80115458 001123B8 38 80 FF FF */ li r4, -1 +/* 8011545C 001123BC 48 22 B9 E5 */ bl __dt__6CTokenFv +lbl_80115460: +/* 80115460 001123C0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80115464 001123C4 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80115468 001123C8 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8011546C 001123CC 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 80115470 001123D0 7C 08 03 A6 */ mtlr r0 +/* 80115474 001123D4 38 21 00 80 */ addi r1, r1, 0x80 +/* 80115478 001123D8 4E 80 00 20 */ blr + +.global IsDefinitelyOpaque__10CModelDataCFQ210CModelData11EWhichModel +IsDefinitelyOpaque__10CModelDataCFQ210CModelData11EWhichModel: +/* 8011547C 001123DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80115480 001123E0 7C 08 02 A6 */ mflr r0 +/* 80115484 001123E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80115488 001123E8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8011548C 001123EC 28 00 00 00 */ cmplwi r0, 0 +/* 80115490 001123F0 41 82 00 30 */ beq lbl_801154C0 +/* 80115494 001123F4 4B FF FA C9 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80115498 001123F8 80 83 00 0C */ lwz r4, 0xc(r3) +/* 8011549C 001123FC 38 60 00 00 */ li r3, 0 +/* 801154A0 00112400 80 84 00 28 */ lwz r4, 0x28(r4) +/* 801154A4 00112404 28 04 00 00 */ cmplwi r4, 0 +/* 801154A8 00112408 41 82 00 54 */ beq lbl_801154FC +/* 801154AC 0011240C 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 801154B0 00112410 28 00 00 00 */ cmplwi r0, 0 +/* 801154B4 00112414 40 82 00 48 */ bne lbl_801154FC +/* 801154B8 00112418 38 60 00 01 */ li r3, 1 +/* 801154BC 0011241C 48 00 00 40 */ b lbl_801154FC +lbl_801154C0: +/* 801154C0 00112420 88 03 00 28 */ lbz r0, 0x28(r3) +/* 801154C4 00112424 28 00 00 00 */ cmplwi r0, 0 +/* 801154C8 00112428 41 82 00 30 */ beq lbl_801154F8 +/* 801154CC 0011242C 4B FF FA E1 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 801154D0 00112430 80 83 00 08 */ lwz r4, 8(r3) +/* 801154D4 00112434 38 60 00 00 */ li r3, 0 +/* 801154D8 00112438 80 84 00 28 */ lwz r4, 0x28(r4) +/* 801154DC 0011243C 28 04 00 00 */ cmplwi r4, 0 +/* 801154E0 00112440 41 82 00 1C */ beq lbl_801154FC +/* 801154E4 00112444 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 801154E8 00112448 28 00 00 00 */ cmplwi r0, 0 +/* 801154EC 0011244C 40 82 00 10 */ bne lbl_801154FC +/* 801154F0 00112450 38 60 00 01 */ li r3, 1 +/* 801154F4 00112454 48 00 00 08 */ b lbl_801154FC +lbl_801154F8: +/* 801154F8 00112458 38 60 00 00 */ li r3, 0 +lbl_801154FC: +/* 801154FC 0011245C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80115500 00112460 7C 08 03 A6 */ mtlr r0 +/* 80115504 00112464 38 21 00 10 */ addi r1, r1, 0x10 +/* 80115508 00112468 4E 80 00 20 */ blr + +.global GetIsLoop__10CModelDataCFv +GetIsLoop__10CModelDataCFv: +/* 8011550C 0011246C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80115510 00112470 28 03 00 00 */ cmplwi r3, 0 +/* 80115514 00112474 40 82 00 0C */ bne lbl_80115520 +/* 80115518 00112478 38 60 00 00 */ li r3, 0 +/* 8011551C 0011247C 4E 80 00 20 */ blr +lbl_80115520: +/* 80115520 00112480 88 03 02 20 */ lbz r0, 0x220(r3) +/* 80115524 00112484 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 80115528 00112488 4E 80 00 20 */ blr + +.global GetAnimationDuration__10CModelDataCFi +GetAnimationDuration__10CModelDataCFi: +/* 8011552C 0011248C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80115530 00112490 7C 08 02 A6 */ mflr r0 +/* 80115534 00112494 90 01 00 14 */ stw r0, 0x14(r1) +/* 80115538 00112498 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8011553C 0011249C 28 03 00 00 */ cmplwi r3, 0 +/* 80115540 001124A0 40 82 00 0C */ bne lbl_8011554C +/* 80115544 001124A4 C0 22 96 48 */ lfs f1, lbl_805AB368@sda21(r2) +/* 80115548 001124A8 48 00 00 08 */ b lbl_80115550 +lbl_8011554C: +/* 8011554C 001124AC 4B F1 6F 7D */ bl GetAnimationDuration__9CAnimDataCFi +lbl_80115550: +/* 80115550 001124B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80115554 001124B4 7C 08 03 A6 */ mtlr r0 +/* 80115558 001124B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011555C 001124BC 4E 80 00 20 */ blr + +.global EnableLooping__10CModelDataFb +EnableLooping__10CModelDataFb: +/* 80115560 001124C0 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 80115564 001124C4 28 05 00 00 */ cmplwi r5, 0 +/* 80115568 001124C8 4D 82 00 20 */ beqlr +/* 8011556C 001124CC 88 05 02 20 */ lbz r0, 0x220(r5) +/* 80115570 001124D0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80115574 001124D4 38 60 00 01 */ li r3, 1 +/* 80115578 001124D8 98 05 02 20 */ stb r0, 0x220(r5) +/* 8011557C 001124DC 88 05 02 20 */ lbz r0, 0x220(r5) +/* 80115580 001124E0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80115584 001124E4 98 05 02 20 */ stb r0, 0x220(r5) +/* 80115588 001124E8 4E 80 00 20 */ blr + +.global AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager +AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager: +/* 8011558C 001124EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80115590 001124F0 7C 08 02 A6 */ mflr r0 +/* 80115594 001124F4 7C 67 1B 78 */ mr r7, r3 +/* 80115598 001124F8 7C A6 2B 78 */ mr r6, r5 +/* 8011559C 001124FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 801155A0 00112500 80 63 00 10 */ lwz r3, 0x10(r3) +/* 801155A4 00112504 28 03 00 00 */ cmplwi r3, 0 +/* 801155A8 00112508 41 82 00 0C */ beq lbl_801155B4 +/* 801155AC 0011250C 7C E5 3B 78 */ mr r5, r7 +/* 801155B0 00112510 4B F1 8F 35 */ bl AdvanceParticles__9CAnimDataFRC12CTransform4ffRC9CVector3fR13CStateManager +lbl_801155B4: +/* 801155B4 00112514 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801155B8 00112518 7C 08 03 A6 */ mtlr r0 +/* 801155BC 0011251C 38 21 00 10 */ addi r1, r1, 0x10 +/* 801155C0 00112520 4E 80 00 20 */ blr + +.global GetBounds__10CModelDataCFv +GetBounds__10CModelDataCFv: +/* 801155C4 00112524 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 801155C8 00112528 7C 08 02 A6 */ mflr r0 +/* 801155CC 0011252C 90 01 00 94 */ stw r0, 0x94(r1) +/* 801155D0 00112530 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 801155D4 00112534 93 C1 00 88 */ stw r30, 0x88(r1) +/* 801155D8 00112538 7C 9E 23 78 */ mr r30, r4 +/* 801155DC 0011253C 93 A1 00 84 */ stw r29, 0x84(r1) +/* 801155E0 00112540 7C 7D 1B 78 */ mr r29, r3 +/* 801155E4 00112544 83 E4 00 10 */ lwz r31, 0x10(r4) +/* 801155E8 00112548 28 1F 00 00 */ cmplwi r31, 0 +/* 801155EC 0011254C 41 82 00 2C */ beq lbl_80115618 +/* 801155F0 00112550 C0 3E 00 00 */ lfs f1, 0(r30) +/* 801155F4 00112554 38 61 00 50 */ addi r3, r1, 0x50 +/* 801155F8 00112558 C0 5E 00 04 */ lfs f2, 4(r30) +/* 801155FC 0011255C C0 7E 00 08 */ lfs f3, 8(r30) +/* 80115600 00112560 48 1F DC 09 */ bl Scale__12CTransform4fFfff +/* 80115604 00112564 7F A3 EB 78 */ mr r3, r29 +/* 80115608 00112568 7F E4 FB 78 */ mr r4, r31 +/* 8011560C 0011256C 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80115610 00112570 4B F1 92 59 */ bl GetBoundingBox__9CAnimDataCFRC12CTransform4f +/* 80115614 00112574 48 00 01 84 */ b lbl_80115798 +lbl_80115618: +/* 80115618 00112578 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 8011561C 0011257C 28 00 00 00 */ cmplwi r0, 0 +/* 80115620 00112580 40 82 00 7C */ bne lbl_8011569C +/* 80115624 00112584 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 80115628 00112588 28 00 00 00 */ cmplwi r0, 0 +/* 8011562C 0011258C 40 82 00 70 */ bne lbl_8011569C +/* 80115630 00112590 80 DE 00 24 */ lwz r6, 0x24(r30) +/* 80115634 00112594 38 81 00 2C */ addi r4, r1, 0x2c +/* 80115638 00112598 C0 BE 00 08 */ lfs f5, 8(r30) +/* 8011563C 0011259C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80115640 001125A0 80 C6 00 28 */ lwz r6, 0x28(r6) +/* 80115644 001125A4 C0 9E 00 04 */ lfs f4, 4(r30) +/* 80115648 001125A8 C0 46 00 34 */ lfs f2, 0x34(r6) +/* 8011564C 001125AC C0 26 00 30 */ lfs f1, 0x30(r6) +/* 80115650 001125B0 C0 06 00 2C */ lfs f0, 0x2c(r6) +/* 80115654 001125B4 EC 42 01 72 */ fmuls f2, f2, f5 +/* 80115658 001125B8 C0 7E 00 00 */ lfs f3, 0(r30) +/* 8011565C 001125BC EC 21 01 32 */ fmuls f1, f1, f4 +/* 80115660 001125C0 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80115664 001125C4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80115668 001125C8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8011566C 001125CC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80115670 001125D0 C0 46 00 28 */ lfs f2, 0x28(r6) +/* 80115674 001125D4 C0 26 00 24 */ lfs f1, 0x24(r6) +/* 80115678 001125D8 C0 06 00 20 */ lfs f0, 0x20(r6) +/* 8011567C 001125DC EC 42 01 72 */ fmuls f2, f2, f5 +/* 80115680 001125E0 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80115684 001125E4 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80115688 001125E8 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8011568C 001125EC D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80115690 001125F0 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80115694 001125F4 48 22 2E 75 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80115698 001125F8 48 00 01 00 */ b lbl_80115798 +lbl_8011569C: +/* 8011569C 001125FC 80 7E 00 24 */ lwz r3, 0x24(r30) +/* 801156A0 00112600 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 801156A4 00112604 80 63 00 28 */ lwz r3, 0x28(r3) +/* 801156A8 00112608 28 00 00 00 */ cmplwi r0, 0 +/* 801156AC 0011260C C0 03 00 20 */ lfs f0, 0x20(r3) +/* 801156B0 00112610 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 801156B4 00112614 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 801156B8 00112618 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 801156BC 0011261C C0 03 00 28 */ lfs f0, 0x28(r3) +/* 801156C0 00112620 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 801156C4 00112624 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 801156C8 00112628 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 801156CC 0011262C C0 03 00 30 */ lfs f0, 0x30(r3) +/* 801156D0 00112630 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 801156D4 00112634 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 801156D8 00112638 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 801156DC 0011263C 41 82 00 28 */ beq lbl_80115704 +/* 801156E0 00112640 80 9E 00 44 */ lwz r4, 0x44(r30) +/* 801156E4 00112644 38 61 00 38 */ addi r3, r1, 0x38 +/* 801156E8 00112648 80 84 00 28 */ lwz r4, 0x28(r4) +/* 801156EC 0011264C 3B E4 00 20 */ addi r31, r4, 0x20 +/* 801156F0 00112650 7F E4 FB 78 */ mr r4, r31 +/* 801156F4 00112654 48 22 24 15 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 801156F8 00112658 38 61 00 38 */ addi r3, r1, 0x38 +/* 801156FC 0011265C 38 9F 00 0C */ addi r4, r31, 0xc +/* 80115700 00112660 48 22 24 09 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_80115704: +/* 80115704 00112664 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 80115708 00112668 28 00 00 00 */ cmplwi r0, 0 +/* 8011570C 0011266C 41 82 00 28 */ beq lbl_80115734 +/* 80115710 00112670 80 9E 00 34 */ lwz r4, 0x34(r30) +/* 80115714 00112674 38 61 00 38 */ addi r3, r1, 0x38 +/* 80115718 00112678 80 84 00 28 */ lwz r4, 0x28(r4) +/* 8011571C 0011267C 3B E4 00 20 */ addi r31, r4, 0x20 +/* 80115720 00112680 7F E4 FB 78 */ mr r4, r31 +/* 80115724 00112684 48 22 23 E5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80115728 00112688 38 61 00 38 */ addi r3, r1, 0x38 +/* 8011572C 0011268C 38 9F 00 0C */ addi r4, r31, 0xc +/* 80115730 00112690 48 22 23 D9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_80115734: +/* 80115734 00112694 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80115738 00112698 7F A3 EB 78 */ mr r3, r29 +/* 8011573C 0011269C C0 7E 00 08 */ lfs f3, 8(r30) +/* 80115740 001126A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80115744 001126A4 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80115748 001126A8 38 A1 00 08 */ addi r5, r1, 8 +/* 8011574C 001126AC EC C1 00 F2 */ fmuls f6, f1, f3 +/* 80115750 001126B0 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 80115754 001126B4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80115758 001126B8 EC 80 00 F2 */ fmuls f4, f0, f3 +/* 8011575C 001126BC C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80115760 001126C0 EC A2 00 72 */ fmuls f5, f2, f1 +/* 80115764 001126C4 EC 60 00 72 */ fmuls f3, f0, f1 +/* 80115768 001126C8 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 8011576C 001126CC C0 5E 00 00 */ lfs f2, 0(r30) +/* 80115770 001126D0 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80115774 001126D4 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80115778 001126D8 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8011577C 001126DC EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80115780 001126E0 D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80115784 001126E4 D0 21 00 08 */ stfs f1, 8(r1) +/* 80115788 001126E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8011578C 001126EC D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80115790 001126F0 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80115794 001126F4 48 22 2D 75 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +lbl_80115798: +/* 80115798 001126F8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8011579C 001126FC 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 801157A0 00112700 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 801157A4 00112704 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 801157A8 00112708 7C 08 03 A6 */ mtlr r0 +/* 801157AC 0011270C 38 21 00 90 */ addi r1, r1, 0x90 +/* 801157B0 00112710 4E 80 00 20 */ blr + +.global GetBounds__10CModelDataCFRC12CTransform4f +GetBounds__10CModelDataCFRC12CTransform4f: +/* 801157B4 00112714 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 801157B8 00112718 7C 08 02 A6 */ mflr r0 +/* 801157BC 0011271C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 801157C0 00112720 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 801157C4 00112724 7C 7F 1B 78 */ mr r31, r3 +/* 801157C8 00112728 38 61 00 20 */ addi r3, r1, 0x20 +/* 801157CC 0011272C 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 801157D0 00112730 7C BE 2B 78 */ mr r30, r5 +/* 801157D4 00112734 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 801157D8 00112738 7C 9D 23 78 */ mr r29, r4 +/* 801157DC 0011273C C0 24 00 00 */ lfs f1, 0(r4) +/* 801157E0 00112740 C0 44 00 04 */ lfs f2, 4(r4) +/* 801157E4 00112744 C0 64 00 08 */ lfs f3, 8(r4) +/* 801157E8 00112748 48 1F DA 21 */ bl Scale__12CTransform4fFfff +/* 801157EC 0011274C 7F C4 F3 78 */ mr r4, r30 +/* 801157F0 00112750 38 61 00 50 */ addi r3, r1, 0x50 +/* 801157F4 00112754 38 A1 00 20 */ addi r5, r1, 0x20 +/* 801157F8 00112758 48 1F D1 59 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801157FC 0011275C 38 61 00 80 */ addi r3, r1, 0x80 +/* 80115800 00112760 38 81 00 50 */ addi r4, r1, 0x50 +/* 80115804 00112764 48 1F D3 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80115808 00112768 80 9D 00 10 */ lwz r4, 0x10(r29) +/* 8011580C 0011276C 28 04 00 00 */ cmplwi r4, 0 +/* 80115810 00112770 41 82 00 14 */ beq lbl_80115824 +/* 80115814 00112774 7F E3 FB 78 */ mr r3, r31 +/* 80115818 00112778 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8011581C 0011277C 4B F1 90 4D */ bl GetBoundingBox__9CAnimDataCFRC12CTransform4f +/* 80115820 00112780 48 00 00 E0 */ b lbl_80115900 +lbl_80115824: +/* 80115824 00112784 88 1D 00 38 */ lbz r0, 0x38(r29) +/* 80115828 00112788 28 00 00 00 */ cmplwi r0, 0 +/* 8011582C 0011278C 40 82 00 2C */ bne lbl_80115858 +/* 80115830 00112790 88 1D 00 48 */ lbz r0, 0x48(r29) +/* 80115834 00112794 28 00 00 00 */ cmplwi r0, 0 +/* 80115838 00112798 40 82 00 20 */ bne lbl_80115858 +/* 8011583C 0011279C 80 9D 00 24 */ lwz r4, 0x24(r29) +/* 80115840 001127A0 7F E3 FB 78 */ mr r3, r31 +/* 80115844 001127A4 38 A1 00 80 */ addi r5, r1, 0x80 +/* 80115848 001127A8 80 84 00 28 */ lwz r4, 0x28(r4) +/* 8011584C 001127AC 38 84 00 20 */ addi r4, r4, 0x20 +/* 80115850 001127B0 48 22 20 AD */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 80115854 001127B4 48 00 00 AC */ b lbl_80115900 +lbl_80115858: +/* 80115858 001127B8 80 7D 00 24 */ lwz r3, 0x24(r29) +/* 8011585C 001127BC 88 1D 00 48 */ lbz r0, 0x48(r29) +/* 80115860 001127C0 80 63 00 28 */ lwz r3, 0x28(r3) +/* 80115864 001127C4 28 00 00 00 */ cmplwi r0, 0 +/* 80115868 001127C8 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 8011586C 001127CC D0 01 00 08 */ stfs f0, 8(r1) +/* 80115870 001127D0 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80115874 001127D4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80115878 001127D8 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8011587C 001127DC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80115880 001127E0 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 80115884 001127E4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80115888 001127E8 C0 03 00 30 */ lfs f0, 0x30(r3) +/* 8011588C 001127EC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80115890 001127F0 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 80115894 001127F4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80115898 001127F8 41 82 00 28 */ beq lbl_801158C0 +/* 8011589C 001127FC 80 9D 00 44 */ lwz r4, 0x44(r29) +/* 801158A0 00112800 38 61 00 08 */ addi r3, r1, 8 +/* 801158A4 00112804 80 84 00 28 */ lwz r4, 0x28(r4) +/* 801158A8 00112808 3B C4 00 20 */ addi r30, r4, 0x20 +/* 801158AC 0011280C 7F C4 F3 78 */ mr r4, r30 +/* 801158B0 00112810 48 22 22 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 801158B4 00112814 38 61 00 08 */ addi r3, r1, 8 +/* 801158B8 00112818 38 9E 00 0C */ addi r4, r30, 0xc +/* 801158BC 0011281C 48 22 22 4D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_801158C0: +/* 801158C0 00112820 88 1D 00 38 */ lbz r0, 0x38(r29) +/* 801158C4 00112824 28 00 00 00 */ cmplwi r0, 0 +/* 801158C8 00112828 41 82 00 28 */ beq lbl_801158F0 +/* 801158CC 0011282C 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 801158D0 00112830 38 61 00 08 */ addi r3, r1, 8 +/* 801158D4 00112834 80 84 00 28 */ lwz r4, 0x28(r4) +/* 801158D8 00112838 3B C4 00 20 */ addi r30, r4, 0x20 +/* 801158DC 0011283C 7F C4 F3 78 */ mr r4, r30 +/* 801158E0 00112840 48 22 22 29 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 801158E4 00112844 38 61 00 08 */ addi r3, r1, 8 +/* 801158E8 00112848 38 9E 00 0C */ addi r4, r30, 0xc +/* 801158EC 0011284C 48 22 22 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_801158F0: +/* 801158F0 00112850 7F E3 FB 78 */ mr r3, r31 +/* 801158F4 00112854 38 81 00 08 */ addi r4, r1, 8 +/* 801158F8 00112858 38 A1 00 80 */ addi r5, r1, 0x80 +/* 801158FC 0011285C 48 22 20 01 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +lbl_80115900: +/* 80115900 00112860 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80115904 00112864 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 80115908 00112868 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8011590C 0011286C 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80115910 00112870 7C 08 03 A6 */ mtlr r0 +/* 80115914 00112874 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80115918 00112878 4E 80 00 20 */ blr + +.global "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +"GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime": +/* 8011591C 0011287C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80115920 00112880 7C 08 02 A6 */ mflr r0 +/* 80115924 00112884 90 01 00 74 */ stw r0, 0x74(r1) +/* 80115928 00112888 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8011592C 0011288C 7C 9F 23 78 */ mr r31, r4 +/* 80115930 00112890 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80115934 00112894 7C 7E 1B 78 */ mr r30, r3 +/* 80115938 00112898 38 61 00 08 */ addi r3, r1, 8 +/* 8011593C 0011289C 48 00 00 E9 */ bl "GetLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +/* 80115940 001128A0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80115944 001128A4 38 81 00 08 */ addi r4, r1, 8 +/* 80115948 001128A8 48 1F D2 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011594C 001128AC C0 41 00 64 */ lfs f2, 0x64(r1) +/* 80115950 001128B0 7F C3 F3 78 */ mr r3, r30 +/* 80115954 001128B4 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80115958 001128B8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8011595C 001128BC C0 81 00 54 */ lfs f4, 0x54(r1) +/* 80115960 001128C0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80115964 001128C4 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 80115968 001128C8 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 8011596C 001128CC C0 1F 00 00 */ lfs f0, 0(r31) +/* 80115970 001128D0 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80115974 001128D4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80115978 001128D8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8011597C 001128DC D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80115980 001128E0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80115984 001128E4 48 1F D1 F1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80115988 001128E8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8011598C 001128EC 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80115990 001128F0 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80115994 001128F4 7C 08 03 A6 */ mtlr r0 +/* 80115998 001128F8 38 21 00 70 */ addi r1, r1, 0x70 +/* 8011599C 001128FC 4E 80 00 20 */ blr + +.global "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 801159A0 00112900 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 801159A4 00112904 7C 08 02 A6 */ mflr r0 +/* 801159A8 00112908 90 01 00 74 */ stw r0, 0x74(r1) +/* 801159AC 0011290C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 801159B0 00112910 7C 9F 23 78 */ mr r31, r4 +/* 801159B4 00112914 93 C1 00 68 */ stw r30, 0x68(r1) +/* 801159B8 00112918 7C 7E 1B 78 */ mr r30, r3 +/* 801159BC 0011291C 38 61 00 08 */ addi r3, r1, 8 +/* 801159C0 00112920 48 00 00 AD */ bl "GetLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 801159C4 00112924 38 61 00 38 */ addi r3, r1, 0x38 +/* 801159C8 00112928 38 81 00 08 */ addi r4, r1, 8 +/* 801159CC 0011292C 48 1F D1 A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801159D0 00112930 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 801159D4 00112934 7F C3 F3 78 */ mr r3, r30 +/* 801159D8 00112938 C0 1F 00 08 */ lfs f0, 8(r31) +/* 801159DC 0011293C 38 81 00 38 */ addi r4, r1, 0x38 +/* 801159E0 00112940 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 801159E4 00112944 C0 3F 00 04 */ lfs f1, 4(r31) +/* 801159E8 00112948 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 801159EC 0011294C C0 61 00 44 */ lfs f3, 0x44(r1) +/* 801159F0 00112950 C0 1F 00 00 */ lfs f0, 0(r31) +/* 801159F4 00112954 EC 21 01 32 */ fmuls f1, f1, f4 +/* 801159F8 00112958 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 801159FC 0011295C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80115A00 00112960 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80115A04 00112964 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80115A08 00112968 48 1F D1 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80115A0C 0011296C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80115A10 00112970 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80115A14 00112974 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80115A18 00112978 7C 08 03 A6 */ mtlr r0 +/* 80115A1C 0011297C 38 21 00 70 */ addi r1, r1, 0x70 +/* 80115A20 00112980 4E 80 00 20 */ blr + +.global "GetLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +"GetLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime": +/* 80115A24 00112984 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80115A28 00112988 7C 08 02 A6 */ mflr r0 +/* 80115A2C 0011298C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80115A30 00112990 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80115A34 00112994 7C 7F 1B 78 */ mr r31, r3 +/* 80115A38 00112998 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80115A3C 0011299C 28 04 00 00 */ cmplwi r4, 0 +/* 80115A40 001129A0 40 82 00 14 */ bne lbl_80115A54 +/* 80115A44 001129A4 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80115A48 001129A8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80115A4C 001129AC 48 1F D1 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80115A50 001129B0 48 00 00 08 */ b lbl_80115A58 +lbl_80115A54: +/* 80115A54 001129B4 4B F1 69 2D */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +lbl_80115A58: +/* 80115A58 001129B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80115A5C 001129BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80115A60 001129C0 7C 08 03 A6 */ mtlr r0 +/* 80115A64 001129C4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80115A68 001129C8 4E 80 00 20 */ blr + +.global "GetLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"GetLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 80115A6C 001129CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80115A70 001129D0 7C 08 02 A6 */ mflr r0 +/* 80115A74 001129D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80115A78 001129D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80115A7C 001129DC 7C 7F 1B 78 */ mr r31, r3 +/* 80115A80 001129E0 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80115A84 001129E4 28 04 00 00 */ cmplwi r4, 0 +/* 80115A88 001129E8 40 82 00 14 */ bne lbl_80115A9C +/* 80115A8C 001129EC 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80115A90 001129F0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80115A94 001129F4 48 1F D0 E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80115A98 001129F8 48 00 00 0C */ b lbl_80115AA4 +lbl_80115A9C: +/* 80115A9C 001129FC 38 C0 00 00 */ li r6, 0 +/* 80115AA0 00112A00 4B F1 68 E1 */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +lbl_80115AA4: +/* 80115AA4 00112A04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80115AA8 00112A08 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80115AAC 00112A0C 7C 08 03 A6 */ mtlr r0 +/* 80115AB0 00112A10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80115AB4 00112A14 4E 80 00 20 */ blr + +.global AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b +AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b: +/* 80115AB8 00112A18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80115ABC 00112A1C 7C 08 02 A6 */ mflr r0 +/* 80115AC0 00112A20 90 01 00 14 */ stw r0, 0x14(r1) +/* 80115AC4 00112A24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80115AC8 00112A28 7C 7F 1B 78 */ mr r31, r3 +/* 80115ACC 00112A2C 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80115AD0 00112A30 28 04 00 00 */ cmplwi r4, 0 +/* 80115AD4 00112A34 40 82 00 44 */ bne lbl_80115B18 +/* 80115AD8 00112A38 3C 60 80 47 */ lis r3, lbl_8046C538@ha +/* 80115ADC 00112A3C C4 03 C5 38 */ lfsu f0, lbl_8046C538@l(r3) +/* 80115AE0 00112A40 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80115AE4 00112A44 C0 03 00 04 */ lfs f0, 4(r3) +/* 80115AE8 00112A48 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80115AEC 00112A4C C0 03 00 08 */ lfs f0, 8(r3) +/* 80115AF0 00112A50 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80115AF4 00112A54 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80115AF8 00112A58 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80115AFC 00112A5C C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80115B00 00112A60 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80115B04 00112A64 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80115B08 00112A68 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80115B0C 00112A6C C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80115B10 00112A70 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80115B14 00112A74 48 00 00 0C */ b lbl_80115B20 +lbl_80115B18: +/* 80115B18 00112A78 54 C6 06 3E */ clrlwi r6, r6, 0x18 +/* 80115B1C 00112A7C 4B F1 7D 91 */ bl AdvanceIgnoreParticles__9CAnimDataFfR9CRandom16b +lbl_80115B20: +/* 80115B20 00112A80 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80115B24 00112A84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80115B28 00112A88 7C 08 03 A6 */ mtlr r0 +/* 80115B2C 00112A8C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80115B30 00112A90 4E 80 00 20 */ blr + +.global AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb +AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb: +/* 80115B34 00112A94 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80115B38 00112A98 7C 08 02 A6 */ mflr r0 +/* 80115B3C 00112A9C 7C E8 3B 78 */ mr r8, r7 +/* 80115B40 00112AA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80115B44 00112AA4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80115B48 00112AA8 7C 7F 1B 78 */ mr r31, r3 +/* 80115B4C 00112AAC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80115B50 00112AB0 28 00 00 00 */ cmplwi r0, 0 +/* 80115B54 00112AB4 40 82 00 44 */ bne lbl_80115B98 +/* 80115B58 00112AB8 3C 60 80 47 */ lis r3, lbl_8046C538@ha +/* 80115B5C 00112ABC C4 03 C5 38 */ lfsu f0, lbl_8046C538@l(r3) +/* 80115B60 00112AC0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 80115B64 00112AC4 C0 03 00 04 */ lfs f0, 4(r3) +/* 80115B68 00112AC8 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80115B6C 00112ACC C0 03 00 08 */ lfs f0, 8(r3) +/* 80115B70 00112AD0 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80115B74 00112AD4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80115B78 00112AD8 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 80115B7C 00112ADC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80115B80 00112AE0 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 80115B84 00112AE4 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80115B88 00112AE8 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 80115B8C 00112AEC C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80115B90 00112AF0 D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 80115B94 00112AF4 48 00 00 3C */ b lbl_80115BD0 +lbl_80115B98: +/* 80115B98 00112AF8 80 06 00 00 */ lwz r0, 0(r6) +/* 80115B9C 00112AFC 7C A6 2B 78 */ mr r6, r5 +/* 80115BA0 00112B00 38 A1 00 0C */ addi r5, r1, 0xc +/* 80115BA4 00112B04 38 E1 00 08 */ addi r7, r1, 8 +/* 80115BA8 00112B08 90 01 00 08 */ stw r0, 8(r1) +/* 80115BAC 00112B0C 55 08 06 3E */ clrlwi r8, r8, 0x18 +/* 80115BB0 00112B10 C0 04 00 00 */ lfs f0, 0(r4) +/* 80115BB4 00112B14 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80115BB8 00112B18 C0 04 00 04 */ lfs f0, 4(r4) +/* 80115BBC 00112B1C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80115BC0 00112B20 C0 04 00 08 */ lfs f0, 8(r4) +/* 80115BC4 00112B24 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80115BC8 00112B28 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80115BCC 00112B2C 4B F1 7B 61 */ bl Advance__9CAnimDataFfRC9CVector3fR13CStateManagerb +lbl_80115BD0: +/* 80115BD0 00112B30 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80115BD4 00112B34 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80115BD8 00112B38 7C 08 03 A6 */ mtlr r0 +/* 80115BDC 00112B3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80115BE0 00112B40 4E 80 00 20 */ blr + +.global IsAnimating__10CModelDataCFv +IsAnimating__10CModelDataCFv: +/* 80115BE4 00112B44 80 83 00 10 */ lwz r4, 0x10(r3) +/* 80115BE8 00112B48 38 60 00 00 */ li r3, 0 +/* 80115BEC 00112B4C 28 04 00 00 */ cmplwi r4, 0 +/* 80115BF0 00112B50 4D 82 00 20 */ beqlr +/* 80115BF4 00112B54 88 04 02 20 */ lbz r0, 0x220(r4) +/* 80115BF8 00112B58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80115BFC 00112B5C 4D 82 00 20 */ beqlr +/* 80115C00 00112B60 38 60 00 01 */ li r3, 1 +/* 80115C04 00112B64 4E 80 00 20 */ blr + +.global IsInFrustum__10CModelDataCFRC12CTransform4fRC14CFrustumPlanes +IsInFrustum__10CModelDataCFRC12CTransform4fRC14CFrustumPlanes: +/* 80115C08 00112B68 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80115C0C 00112B6C 7C 08 02 A6 */ mflr r0 +/* 80115C10 00112B70 7C 86 23 78 */ mr r6, r4 +/* 80115C14 00112B74 38 80 00 00 */ li r4, 0 +/* 80115C18 00112B78 90 01 00 34 */ stw r0, 0x34(r1) +/* 80115C1C 00112B7C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80115C20 00112B80 7C BF 2B 78 */ mr r31, r5 +/* 80115C24 00112B84 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80115C28 00112B88 28 00 00 00 */ cmplwi r0, 0 +/* 80115C2C 00112B8C 40 82 00 14 */ bne lbl_80115C40 +/* 80115C30 00112B90 88 03 00 28 */ lbz r0, 0x28(r3) +/* 80115C34 00112B94 28 00 00 00 */ cmplwi r0, 0 +/* 80115C38 00112B98 40 82 00 08 */ bne lbl_80115C40 +/* 80115C3C 00112B9C 38 80 00 01 */ li r4, 1 +lbl_80115C40: +/* 80115C40 00112BA0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 80115C44 00112BA4 41 82 00 0C */ beq lbl_80115C50 +/* 80115C48 00112BA8 38 60 00 01 */ li r3, 1 +/* 80115C4C 00112BAC 48 00 00 20 */ b lbl_80115C6C +lbl_80115C50: +/* 80115C50 00112BB0 7C 64 1B 78 */ mr r4, r3 +/* 80115C54 00112BB4 7C C5 33 78 */ mr r5, r6 +/* 80115C58 00112BB8 38 61 00 08 */ addi r3, r1, 8 +/* 80115C5C 00112BBC 4B FF FB 59 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 80115C60 00112BC0 7F E3 FB 78 */ mr r3, r31 +/* 80115C64 00112BC4 38 81 00 08 */ addi r4, r1, 8 +/* 80115C68 00112BC8 48 22 F5 69 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +lbl_80115C6C: +/* 80115C6C 00112BCC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80115C70 00112BD0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80115C74 00112BD4 7C 08 03 A6 */ mtlr r0 +/* 80115C78 00112BD8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80115C7C 00112BDC 4E 80 00 20 */ blr + +.global RenderParticles__10CModelDataCFRC14CFrustumPlanes +RenderParticles__10CModelDataCFRC14CFrustumPlanes: +/* 80115C80 00112BE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80115C84 00112BE4 7C 08 02 A6 */ mflr r0 +/* 80115C88 00112BE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80115C8C 00112BEC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80115C90 00112BF0 28 03 00 00 */ cmplwi r3, 0 +/* 80115C94 00112BF4 41 82 00 08 */ beq lbl_80115C9C +/* 80115C98 00112BF8 4B F1 6C 61 */ bl RenderAuxiliary__9CAnimDataCFRC14CFrustumPlanes +lbl_80115C9C: +/* 80115C9C 00112BFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80115CA0 00112C00 7C 08 03 A6 */ mtlr r0 +/* 80115CA4 00112C04 38 21 00 10 */ addi r1, r1, 0x10 +/* 80115CA8 00112C08 4E 80 00 20 */ blr + +.global Touch__10CModelDataCFQ210CModelData11EWhichModeli +Touch__10CModelDataCFQ210CModelData11EWhichModeli: +/* 80115CAC 00112C0C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80115CB0 00112C10 7C 08 02 A6 */ mflr r0 +/* 80115CB4 00112C14 90 01 00 14 */ stw r0, 0x14(r1) +/* 80115CB8 00112C18 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80115CBC 00112C1C 93 C1 00 08 */ stw r30, 8(r1) +/* 80115CC0 00112C20 7C BE 2B 78 */ mr r30, r5 +/* 80115CC4 00112C24 83 E3 00 10 */ lwz r31, 0x10(r3) +/* 80115CC8 00112C28 28 1F 00 00 */ cmplwi r31, 0 +/* 80115CCC 00112C2C 41 82 00 1C */ beq lbl_80115CE8 +/* 80115CD0 00112C30 4B FF F2 8D */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80115CD4 00112C34 7C 64 1B 78 */ mr r4, r3 +/* 80115CD8 00112C38 7F E3 FB 78 */ mr r3, r31 +/* 80115CDC 00112C3C 7F C5 F3 78 */ mr r5, r30 +/* 80115CE0 00112C40 4B F1 52 D1 */ bl Touch__9CAnimDataCFRC13CSkinnedModeli +/* 80115CE4 00112C44 48 00 00 14 */ b lbl_80115CF8 +lbl_80115CE8: +/* 80115CE8 00112C48 4B FF F2 C5 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80115CEC 00112C4C 80 63 00 08 */ lwz r3, 8(r3) +/* 80115CF0 00112C50 7F C4 F3 78 */ mr r4, r30 +/* 80115CF4 00112C54 48 23 F9 41 */ bl Touch__6CModelCFi +lbl_80115CF8: +/* 80115CF8 00112C58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80115CFC 00112C5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80115D00 00112C60 83 C1 00 08 */ lwz r30, 8(r1) +/* 80115D04 00112C64 7C 08 03 A6 */ mtlr r0 +/* 80115D08 00112C68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80115D0C 00112C6C 4E 80 00 20 */ blr + +.global Touch__10CModelDataCFRC13CStateManageri +Touch__10CModelDataCFRC13CStateManageri: +/* 80115D10 00112C70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80115D14 00112C74 7C 08 02 A6 */ mflr r0 +/* 80115D18 00112C78 90 01 00 14 */ stw r0, 0x14(r1) +/* 80115D1C 00112C7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80115D20 00112C80 7C BF 2B 78 */ mr r31, r5 +/* 80115D24 00112C84 93 C1 00 08 */ stw r30, 8(r1) +/* 80115D28 00112C88 7C 7E 1B 78 */ mr r30, r3 +/* 80115D2C 00112C8C 7C 83 23 78 */ mr r3, r4 +/* 80115D30 00112C90 4B FF F1 AD */ bl GetRenderingModel__10CModelDataFRC13CStateManager +/* 80115D34 00112C94 7C 64 1B 78 */ mr r4, r3 +/* 80115D38 00112C98 7F C3 F3 78 */ mr r3, r30 +/* 80115D3C 00112C9C 7F E5 FB 78 */ mr r5, r31 +/* 80115D40 00112CA0 4B FF FF 6D */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli +/* 80115D44 00112CA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80115D48 00112CA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80115D4C 00112CAC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80115D50 00112CB0 7C 08 03 A6 */ mtlr r0 +/* 80115D54 00112CB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80115D58 00112CB8 4E 80 00 20 */ blr + +.global MultipassDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsPC11CModelFlagsi +MultipassDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsPC11CModelFlagsi: +/* 80115D5C 00112CBC 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80115D60 00112CC0 7C 08 02 A6 */ mflr r0 +/* 80115D64 00112CC4 90 01 01 14 */ stw r0, 0x114(r1) +/* 80115D68 00112CC8 BF 41 00 F8 */ stmw r26, 0xf8(r1) +/* 80115D6C 00112CCC 7C 7A 1B 78 */ mr r26, r3 +/* 80115D70 00112CD0 7C 9B 23 78 */ mr r27, r4 +/* 80115D74 00112CD4 7C BF 2B 78 */ mr r31, r5 +/* 80115D78 00112CD8 7C DE 33 78 */ mr r30, r6 +/* 80115D7C 00112CDC 7C FD 3B 78 */ mr r29, r7 +/* 80115D80 00112CE0 7D 1C 43 78 */ mr r28, r8 +/* 80115D84 00112CE4 7F 44 D3 78 */ mr r4, r26 +/* 80115D88 00112CE8 38 61 00 14 */ addi r3, r1, 0x14 +/* 80115D8C 00112CEC 48 1F D4 39 */ bl Scale__12CTransform4fFRC9CVector3f +/* 80115D90 00112CF0 7F E4 FB 78 */ mr r4, r31 +/* 80115D94 00112CF4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80115D98 00112CF8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80115D9C 00112CFC 48 1F CB B5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80115DA0 00112D00 38 61 00 74 */ addi r3, r1, 0x74 +/* 80115DA4 00112D04 38 81 00 44 */ addi r4, r1, 0x44 +/* 80115DA8 00112D08 48 1F CD CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80115DAC 00112D0C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80115DB0 00112D10 38 81 00 74 */ addi r4, r1, 0x74 +/* 80115DB4 00112D14 81 83 00 00 */ lwz r12, 0(r3) +/* 80115DB8 00112D18 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80115DBC 00112D1C 7D 89 03 A6 */ mtctr r12 +/* 80115DC0 00112D20 4E 80 04 21 */ bctrl +/* 80115DC4 00112D24 28 1E 00 00 */ cmplwi r30, 0 +/* 80115DC8 00112D28 41 82 00 10 */ beq lbl_80115DD8 +/* 80115DCC 00112D2C 7F C3 F3 78 */ mr r3, r30 +/* 80115DD0 00112D30 4B FE EF B9 */ bl ActivateLights__12CActorLightsCFv +/* 80115DD4 00112D34 48 00 00 20 */ b lbl_80115DF4 +lbl_80115DD8: +/* 80115DD8 00112D38 48 1F 6B A5 */ bl DisableAllLights__9CGraphicsFv +/* 80115DDC 00112D3C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80115DE0 00112D40 38 9A 00 18 */ addi r4, r26, 0x18 +/* 80115DE4 00112D44 81 83 00 00 */ lwz r12, 0(r3) +/* 80115DE8 00112D48 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80115DEC 00112D4C 7D 89 03 A6 */ mtctr r12 +/* 80115DF0 00112D50 4E 80 04 21 */ bctrl +lbl_80115DF4: +/* 80115DF4 00112D54 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 80115DF8 00112D58 28 00 00 00 */ cmplwi r0, 0 +/* 80115DFC 00112D5C 41 82 00 60 */ beq lbl_80115E5C +/* 80115E00 00112D60 7F 43 D3 78 */ mr r3, r26 +/* 80115E04 00112D64 7F 64 DB 78 */ mr r4, r27 +/* 80115E08 00112D68 4B FF F1 55 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80115E0C 00112D6C 38 00 00 00 */ li r0, 0 +/* 80115E10 00112D70 7C 7E 1B 78 */ mr r30, r3 +/* 80115E14 00112D74 98 01 00 EC */ stb r0, 0xec(r1) +/* 80115E18 00112D78 7F C4 F3 78 */ mr r4, r30 +/* 80115E1C 00112D7C 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 80115E20 00112D80 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 80115E24 00112D84 38 C0 00 00 */ li r6, 0 +/* 80115E28 00112D88 4B F1 6B 51 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 80115E2C 00112D8C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80115E30 00112D90 38 80 FF FF */ li r4, -1 +/* 80115E34 00112D94 4B F6 1E 59 */ bl sub_80077c8c +/* 80115E38 00112D98 3C 60 80 11 */ lis r3, MultipassDrawCallback__10CModelDataFPCfPCfPC21SMultipassDrawContext@ha +/* 80115E3C 00112D9C 93 C1 00 08 */ stw r30, 8(r1) +/* 80115E40 00112DA0 38 83 64 48 */ addi r4, r3, MultipassDrawCallback__10CModelDataFPCfPCfPC21SMultipassDrawContext@l +/* 80115E44 00112DA4 38 A1 00 08 */ addi r5, r1, 8 +/* 80115E48 00112DA8 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80115E4C 00112DAC 7F C3 F3 78 */ mr r3, r30 +/* 80115E50 00112DB0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80115E54 00112DB4 48 23 D0 CD */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv +/* 80115E58 00112DB8 48 00 00 3C */ b lbl_80115E94 +lbl_80115E5C: +/* 80115E5C 00112DBC 7F 43 D3 78 */ mr r3, r26 +/* 80115E60 00112DC0 7F 64 DB 78 */ mr r4, r27 +/* 80115E64 00112DC4 4B FF F1 49 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80115E68 00112DC8 83 E3 00 08 */ lwz r31, 8(r3) +/* 80115E6C 00112DCC 7F BE EB 78 */ mr r30, r29 +/* 80115E70 00112DD0 3B A0 00 00 */ li r29, 0 +/* 80115E74 00112DD4 48 00 00 18 */ b lbl_80115E8C +lbl_80115E78: +/* 80115E78 00112DD8 7F E3 FB 78 */ mr r3, r31 +/* 80115E7C 00112DDC 7F C4 F3 78 */ mr r4, r30 +/* 80115E80 00112DE0 48 23 FD 55 */ bl Draw__6CModelCFRC11CModelFlags +/* 80115E84 00112DE4 3B DE 00 08 */ addi r30, r30, 8 +/* 80115E88 00112DE8 3B BD 00 01 */ addi r29, r29, 1 +lbl_80115E8C: +/* 80115E8C 00112DEC 7C 1D E0 00 */ cmpw r29, r28 +/* 80115E90 00112DF0 41 80 FF E8 */ blt lbl_80115E78 +lbl_80115E94: +/* 80115E94 00112DF4 BB 41 00 F8 */ lmw r26, 0xf8(r1) +/* 80115E98 00112DF8 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80115E9C 00112DFC 7C 08 03 A6 */ mtlr r0 +/* 80115EA0 00112E00 38 21 01 10 */ addi r1, r1, 0x110 +/* 80115EA4 00112E04 4E 80 00 20 */ blr + +.global MultiLightingDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsRC6CColorRC6CColor +MultiLightingDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsRC6CColorRC6CColor: +/* 80115EA8 00112E08 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80115EAC 00112E0C 7C 08 02 A6 */ mflr r0 +/* 80115EB0 00112E10 90 01 01 24 */ stw r0, 0x124(r1) +/* 80115EB4 00112E14 BF 41 01 08 */ stmw r26, 0x108(r1) +/* 80115EB8 00112E18 7C 7A 1B 78 */ mr r26, r3 +/* 80115EBC 00112E1C 7C 9B 23 78 */ mr r27, r4 +/* 80115EC0 00112E20 7C BF 2B 78 */ mr r31, r5 +/* 80115EC4 00112E24 7C DC 33 78 */ mr r28, r6 +/* 80115EC8 00112E28 7C FD 3B 78 */ mr r29, r7 +/* 80115ECC 00112E2C 7D 1E 43 78 */ mr r30, r8 +/* 80115ED0 00112E30 7F 44 D3 78 */ mr r4, r26 +/* 80115ED4 00112E34 38 61 00 28 */ addi r3, r1, 0x28 +/* 80115ED8 00112E38 48 1F D2 ED */ bl Scale__12CTransform4fFRC9CVector3f +/* 80115EDC 00112E3C 7F E4 FB 78 */ mr r4, r31 +/* 80115EE0 00112E40 38 61 00 58 */ addi r3, r1, 0x58 +/* 80115EE4 00112E44 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80115EE8 00112E48 48 1F CA 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80115EEC 00112E4C 38 61 00 88 */ addi r3, r1, 0x88 +/* 80115EF0 00112E50 38 81 00 58 */ addi r4, r1, 0x58 +/* 80115EF4 00112E54 48 1F CC 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80115EF8 00112E58 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80115EFC 00112E5C 38 81 00 88 */ addi r4, r1, 0x88 +/* 80115F00 00112E60 81 83 00 00 */ lwz r12, 0(r3) +/* 80115F04 00112E64 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80115F08 00112E68 7D 89 03 A6 */ mtctr r12 +/* 80115F0C 00112E6C 4E 80 04 21 */ bctrl +/* 80115F10 00112E70 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 80115F14 00112E74 28 00 00 00 */ cmplwi r0, 0 +/* 80115F18 00112E78 41 82 00 68 */ beq lbl_80115F80 +/* 80115F1C 00112E7C 7F 43 D3 78 */ mr r3, r26 +/* 80115F20 00112E80 7F 64 DB 78 */ mr r4, r27 +/* 80115F24 00112E84 4B FF F0 39 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80115F28 00112E88 38 00 00 00 */ li r0, 0 +/* 80115F2C 00112E8C 7C 7F 1B 78 */ mr r31, r3 +/* 80115F30 00112E90 98 01 01 00 */ stb r0, 0x100(r1) +/* 80115F34 00112E94 7F E4 FB 78 */ mr r4, r31 +/* 80115F38 00112E98 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 80115F3C 00112E9C 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 80115F40 00112EA0 38 C0 00 00 */ li r6, 0 +/* 80115F44 00112EA4 4B F1 6A 35 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 80115F48 00112EA8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80115F4C 00112EAC 38 80 FF FF */ li r4, -1 +/* 80115F50 00112EB0 4B F6 1D 3D */ bl sub_80077c8c +/* 80115F54 00112EB4 80 1F 00 0C */ lwz r0, 0xc(r31) +/* 80115F58 00112EB8 3C 60 80 11 */ lis r3, MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext@ha +/* 80115F5C 00112EBC 38 83 64 B8 */ addi r4, r3, MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext@l +/* 80115F60 00112EC0 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80115F64 00112EC4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80115F68 00112EC8 7F E3 FB 78 */ mr r3, r31 +/* 80115F6C 00112ECC 93 81 00 1C */ stw r28, 0x1c(r1) +/* 80115F70 00112ED0 93 A1 00 20 */ stw r29, 0x20(r1) +/* 80115F74 00112ED4 93 C1 00 24 */ stw r30, 0x24(r1) +/* 80115F78 00112ED8 48 23 CF A9 */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv +/* 80115F7C 00112EDC 48 00 00 34 */ b lbl_80115FB0 +lbl_80115F80: +/* 80115F80 00112EE0 7F 43 D3 78 */ mr r3, r26 +/* 80115F84 00112EE4 7F 64 DB 78 */ mr r4, r27 +/* 80115F88 00112EE8 4B FF F0 25 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80115F8C 00112EEC 80 03 00 08 */ lwz r0, 8(r3) +/* 80115F90 00112EF0 38 A1 00 08 */ addi r5, r1, 8 +/* 80115F94 00112EF4 38 60 00 00 */ li r3, 0 +/* 80115F98 00112EF8 38 80 00 00 */ li r4, 0 +/* 80115F9C 00112EFC 90 01 00 08 */ stw r0, 8(r1) +/* 80115FA0 00112F00 93 81 00 0C */ stw r28, 0xc(r1) +/* 80115FA4 00112F04 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80115FA8 00112F08 93 C1 00 14 */ stw r30, 0x14(r1) +/* 80115FAC 00112F0C 48 00 05 0D */ bl MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext +lbl_80115FB0: +/* 80115FB0 00112F10 BB 41 01 08 */ lmw r26, 0x108(r1) +/* 80115FB4 00112F14 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80115FB8 00112F18 7C 08 03 A6 */ mtlr r0 +/* 80115FBC 00112F1C 38 21 01 20 */ addi r1, r1, 0x120 +/* 80115FC0 00112F20 4E 80 00 20 */ blr + +.global FlatDraw__10CModelDataF11EWhichModelRC12CTransform4fbRC11CModelFlags +FlatDraw__10CModelDataF11EWhichModelRC12CTransform4fbRC11CModelFlags: +/* 80115FC4 00112F24 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80115FC8 00112F28 7C 08 02 A6 */ mflr r0 +/* 80115FCC 00112F2C 90 01 01 14 */ stw r0, 0x114(r1) +/* 80115FD0 00112F30 BF 61 00 FC */ stmw r27, 0xfc(r1) +/* 80115FD4 00112F34 7C 7B 1B 78 */ mr r27, r3 +/* 80115FD8 00112F38 7C 9C 23 78 */ mr r28, r4 +/* 80115FDC 00112F3C 7C BF 2B 78 */ mr r31, r5 +/* 80115FE0 00112F40 7C DD 33 78 */ mr r29, r6 +/* 80115FE4 00112F44 7C FE 3B 78 */ mr r30, r7 +/* 80115FE8 00112F48 7F 64 DB 78 */ mr r4, r27 +/* 80115FEC 00112F4C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80115FF0 00112F50 48 1F D1 D5 */ bl Scale__12CTransform4fFRC9CVector3f +/* 80115FF4 00112F54 7F E4 FB 78 */ mr r4, r31 +/* 80115FF8 00112F58 38 61 00 44 */ addi r3, r1, 0x44 +/* 80115FFC 00112F5C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80116000 00112F60 48 1F C9 51 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80116004 00112F64 38 61 00 74 */ addi r3, r1, 0x74 +/* 80116008 00112F68 38 81 00 44 */ addi r4, r1, 0x44 +/* 8011600C 00112F6C 48 1F CB 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80116010 00112F70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80116014 00112F74 38 81 00 74 */ addi r4, r1, 0x74 +/* 80116018 00112F78 81 83 00 00 */ lwz r12, 0(r3) +/* 8011601C 00112F7C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80116020 00112F80 7D 89 03 A6 */ mtctr r12 +/* 80116024 00112F84 4E 80 04 21 */ bctrl +/* 80116028 00112F88 48 1F 69 55 */ bl DisableAllLights__9CGraphicsFv +/* 8011602C 00112F8C 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 80116030 00112F90 28 00 00 00 */ cmplwi r0, 0 +/* 80116034 00112F94 41 82 00 60 */ beq lbl_80116094 +/* 80116038 00112F98 7F 63 DB 78 */ mr r3, r27 +/* 8011603C 00112F9C 7F 84 E3 78 */ mr r4, r28 +/* 80116040 00112FA0 4B FF EF 1D */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80116044 00112FA4 38 00 00 00 */ li r0, 0 +/* 80116048 00112FA8 7C 7F 1B 78 */ mr r31, r3 +/* 8011604C 00112FAC 98 01 00 EC */ stb r0, 0xec(r1) +/* 80116050 00112FB0 7F E4 FB 78 */ mr r4, r31 +/* 80116054 00112FB4 80 7B 00 10 */ lwz r3, 0x10(r27) +/* 80116058 00112FB8 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 8011605C 00112FBC 38 C0 00 00 */ li r6, 0 +/* 80116060 00112FC0 4B F1 69 19 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 80116064 00112FC4 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80116068 00112FC8 38 80 FF FF */ li r4, -1 +/* 8011606C 00112FCC 4B F6 1C 21 */ bl sub_80077c8c +/* 80116070 00112FD0 3C 60 80 11 */ lis r3, FlatDrawCallback__10CModelDataFPCfPCfPC16SFlatDrawContext@ha +/* 80116074 00112FD4 93 E1 00 08 */ stw r31, 8(r1) +/* 80116078 00112FD8 38 83 66 40 */ addi r4, r3, FlatDrawCallback__10CModelDataFPCfPCfPC16SFlatDrawContext@l +/* 8011607C 00112FDC 38 A1 00 08 */ addi r5, r1, 8 +/* 80116080 00112FE0 9B A1 00 0C */ stb r29, 0xc(r1) +/* 80116084 00112FE4 7F E3 FB 78 */ mr r3, r31 +/* 80116088 00112FE8 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8011608C 00112FEC 48 23 CE 95 */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv +/* 80116090 00112FF0 48 00 00 3C */ b lbl_801160CC +lbl_80116094: +/* 80116094 00112FF4 7F 63 DB 78 */ mr r3, r27 +/* 80116098 00112FF8 7F 84 E3 78 */ mr r4, r28 +/* 8011609C 00112FFC 4B FF EF 11 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 801160A0 00113000 7C 64 1B 78 */ mr r4, r3 +/* 801160A4 00113004 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801160A8 00113008 7F C5 F3 78 */ mr r5, r30 +/* 801160AC 0011300C 57 A6 06 3E */ clrlwi r6, r29, 0x18 +/* 801160B0 00113010 81 83 00 00 */ lwz r12, 0(r3) +/* 801160B4 00113014 38 E0 00 00 */ li r7, 0 +/* 801160B8 00113018 80 84 00 08 */ lwz r4, 8(r4) +/* 801160BC 0011301C 39 00 00 00 */ li r8, 0 +/* 801160C0 00113020 81 8C 00 D8 */ lwz r12, 0xd8(r12) +/* 801160C4 00113024 7D 89 03 A6 */ mtctr r12 +/* 801160C8 00113028 4E 80 04 21 */ bctrl +lbl_801160CC: +/* 801160CC 0011302C BB 61 00 FC */ lmw r27, 0xfc(r1) +/* 801160D0 00113030 80 01 01 14 */ lwz r0, 0x114(r1) +/* 801160D4 00113034 7C 08 03 A6 */ mtlr r0 +/* 801160D8 00113038 38 21 01 10 */ addi r1, r1, 0x110 +/* 801160DC 0011303C 4E 80 00 20 */ blr + +.global DisintegrateDraw__10CModelDataFRC13CStateManagerRC12CTransform4fRC8CTextureRC6CColor +DisintegrateDraw__10CModelDataFRC13CStateManagerRC12CTransform4fRC8CTextureRC6CColor: +/* 801160E0 00113040 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801160E4 00113044 7C 08 02 A6 */ mflr r0 +/* 801160E8 00113048 90 01 00 24 */ stw r0, 0x24(r1) +/* 801160EC 0011304C DB E1 00 18 */ stfd f31, 0x18(r1) +/* 801160F0 00113050 FF E0 08 90 */ fmr f31, f1 +/* 801160F4 00113054 93 E1 00 14 */ stw r31, 0x14(r1) +/* 801160F8 00113058 7C FF 3B 78 */ mr r31, r7 +/* 801160FC 0011305C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80116100 00113060 7C DE 33 78 */ mr r30, r6 +/* 80116104 00113064 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80116108 00113068 7C BD 2B 78 */ mr r29, r5 +/* 8011610C 0011306C 93 81 00 08 */ stw r28, 8(r1) +/* 80116110 00113070 7C 7C 1B 78 */ mr r28, r3 +/* 80116114 00113074 7C 83 23 78 */ mr r3, r4 +/* 80116118 00113078 4B FF ED C5 */ bl GetRenderingModel__10CModelDataFRC13CStateManager +/* 8011611C 0011307C FC 20 F8 90 */ fmr f1, f31 +/* 80116120 00113080 7C 64 1B 78 */ mr r4, r3 +/* 80116124 00113084 7F 83 E3 78 */ mr r3, r28 +/* 80116128 00113088 7F A5 EB 78 */ mr r5, r29 +/* 8011612C 0011308C 7F C6 F3 78 */ mr r6, r30 +/* 80116130 00113090 7F E7 FB 78 */ mr r7, r31 +/* 80116134 00113094 48 00 00 29 */ bl DisintegrateDraw__10CModelDataF11EWhichModelRC12CTransform4fRC8CTextureRC6CColor +/* 80116138 00113098 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011613C 0011309C CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80116140 001130A0 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80116144 001130A4 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80116148 001130A8 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 8011614C 001130AC 83 81 00 08 */ lwz r28, 8(r1) +/* 80116150 001130B0 7C 08 03 A6 */ mtlr r0 +/* 80116154 001130B4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80116158 001130B8 4E 80 00 20 */ blr + +.global DisintegrateDraw__10CModelDataF11EWhichModelRC12CTransform4fRC8CTextureRC6CColor +DisintegrateDraw__10CModelDataF11EWhichModelRC12CTransform4fRC8CTextureRC6CColor: +/* 8011615C 001130BC 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 80116160 001130C0 7C 08 02 A6 */ mflr r0 +/* 80116164 001130C4 90 01 01 34 */ stw r0, 0x134(r1) +/* 80116168 001130C8 DB E1 01 28 */ stfd f31, 0x128(r1) +/* 8011616C 001130CC FF E0 08 90 */ fmr f31, f1 +/* 80116170 001130D0 BF 61 01 14 */ stmw r27, 0x114(r1) +/* 80116174 001130D4 7C 7B 1B 78 */ mr r27, r3 +/* 80116178 001130D8 7C 9C 23 78 */ mr r28, r4 +/* 8011617C 001130DC 7C BF 2B 78 */ mr r31, r5 +/* 80116180 001130E0 7C DD 33 78 */ mr r29, r6 +/* 80116184 001130E4 7C FE 3B 78 */ mr r30, r7 +/* 80116188 001130E8 7F 64 DB 78 */ mr r4, r27 +/* 8011618C 001130EC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80116190 001130F0 48 1F D0 35 */ bl Scale__12CTransform4fFRC9CVector3f +/* 80116194 001130F4 7F E4 FB 78 */ mr r4, r31 +/* 80116198 001130F8 38 61 00 60 */ addi r3, r1, 0x60 +/* 8011619C 001130FC 38 A1 00 30 */ addi r5, r1, 0x30 +/* 801161A0 00113100 48 1F C7 B1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801161A4 00113104 38 61 00 90 */ addi r3, r1, 0x90 +/* 801161A8 00113108 38 81 00 60 */ addi r4, r1, 0x60 +/* 801161AC 0011310C 48 1F C9 C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801161B0 00113110 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801161B4 00113114 38 81 00 90 */ addi r4, r1, 0x90 +/* 801161B8 00113118 81 83 00 00 */ lwz r12, 0(r3) +/* 801161BC 0011311C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801161C0 00113120 7D 89 03 A6 */ mtctr r12 +/* 801161C4 00113124 4E 80 04 21 */ bctrl +/* 801161C8 00113128 48 1F 67 B5 */ bl DisableAllLights__9CGraphicsFv +/* 801161CC 0011312C 7F 64 DB 78 */ mr r4, r27 +/* 801161D0 00113130 38 61 00 18 */ addi r3, r1, 0x18 +/* 801161D4 00113134 38 A1 00 90 */ addi r5, r1, 0x90 +/* 801161D8 00113138 4B FF F5 DD */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 801161DC 0011313C 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 801161E0 00113140 28 00 00 00 */ cmplwi r0, 0 +/* 801161E4 00113144 41 82 00 68 */ beq lbl_8011624C +/* 801161E8 00113148 7F 63 DB 78 */ mr r3, r27 +/* 801161EC 0011314C 7F 84 E3 78 */ mr r4, r28 +/* 801161F0 00113150 4B FF ED 6D */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +/* 801161F4 00113154 38 00 00 00 */ li r0, 0 +/* 801161F8 00113158 7C 7F 1B 78 */ mr r31, r3 +/* 801161FC 0011315C 98 01 01 08 */ stb r0, 0x108(r1) +/* 80116200 00113160 7F E4 FB 78 */ mr r4, r31 +/* 80116204 00113164 80 7B 00 10 */ lwz r3, 0x10(r27) +/* 80116208 00113168 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 8011620C 0011316C 38 C0 00 00 */ li r6, 0 +/* 80116210 00113170 4B F1 67 69 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 80116214 00113174 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80116218 00113178 38 80 FF FF */ li r4, -1 +/* 8011621C 0011317C 4B F6 1A 71 */ bl sub_80077c8c +/* 80116220 00113180 80 1E 00 00 */ lwz r0, 0(r30) +/* 80116224 00113184 3C 60 80 11 */ lis r3, DisintegrateDrawCallback__10CModelDataFPCfPCfPC22SOneTextureDrawContext@ha +/* 80116228 00113188 38 83 66 8C */ addi r4, r3, DisintegrateDrawCallback__10CModelDataFPCfPCfPC22SOneTextureDrawContext@l +/* 8011622C 0011318C 93 E1 00 08 */ stw r31, 8(r1) +/* 80116230 00113190 7F E3 FB 78 */ mr r3, r31 +/* 80116234 00113194 38 A1 00 08 */ addi r5, r1, 8 +/* 80116238 00113198 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8011623C 0011319C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80116240 001131A0 D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 80116244 001131A4 48 23 CC DD */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv +/* 80116248 001131A8 48 00 00 40 */ b lbl_80116288 +lbl_8011624C: +/* 8011624C 001131AC 7F 63 DB 78 */ mr r3, r27 +/* 80116250 001131B0 7F 84 E3 78 */ mr r4, r28 +/* 80116254 001131B4 4B FF ED 59 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80116258 001131B8 7C 64 1B 78 */ mr r4, r3 +/* 8011625C 001131BC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80116260 001131C0 FC 20 F8 90 */ fmr f1, f31 +/* 80116264 001131C4 7F A5 EB 78 */ mr r5, r29 +/* 80116268 001131C8 81 83 00 00 */ lwz r12, 0(r3) +/* 8011626C 001131CC 7F C6 F3 78 */ mr r6, r30 +/* 80116270 001131D0 80 84 00 08 */ lwz r4, 8(r4) +/* 80116274 001131D4 38 E0 00 00 */ li r7, 0 +/* 80116278 001131D8 81 8C 00 D4 */ lwz r12, 0xd4(r12) +/* 8011627C 001131DC 39 00 00 00 */ li r8, 0 +/* 80116280 001131E0 7D 89 03 A6 */ mtctr r12 +/* 80116284 001131E4 4E 80 04 21 */ bctrl +lbl_80116288: +/* 80116288 001131E8 CB E1 01 28 */ lfd f31, 0x128(r1) +/* 8011628C 001131EC BB 61 01 14 */ lmw r27, 0x114(r1) +/* 80116290 001131F0 80 01 01 34 */ lwz r0, 0x134(r1) +/* 80116294 001131F4 7C 08 03 A6 */ mtlr r0 +/* 80116298 001131F8 38 21 01 30 */ addi r1, r1, 0x130 +/* 8011629C 001131FC 4E 80 00 20 */ blr + +.global RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags +RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags: +/* 801162A0 00113200 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 801162A4 00113204 7C 08 02 A6 */ mflr r0 +/* 801162A8 00113208 90 01 01 04 */ stw r0, 0x104(r1) +/* 801162AC 0011320C BF 61 00 EC */ stmw r27, 0xec(r1) +/* 801162B0 00113210 7C 7B 1B 78 */ mr r27, r3 +/* 801162B4 00113214 7C 9F 23 78 */ mr r31, r4 +/* 801162B8 00113218 7C BC 2B 78 */ mr r28, r5 +/* 801162BC 0011321C 7C DD 33 78 */ mr r29, r6 +/* 801162C0 00113220 7C FE 3B 78 */ mr r30, r7 +/* 801162C4 00113224 7F 64 DB 78 */ mr r4, r27 +/* 801162C8 00113228 38 61 00 08 */ addi r3, r1, 8 +/* 801162CC 0011322C 48 1F CE F9 */ bl Scale__12CTransform4fFRC9CVector3f +/* 801162D0 00113230 7F E4 FB 78 */ mr r4, r31 +/* 801162D4 00113234 38 61 00 38 */ addi r3, r1, 0x38 +/* 801162D8 00113238 38 A1 00 08 */ addi r5, r1, 8 +/* 801162DC 0011323C 48 1F C6 75 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801162E0 00113240 38 61 00 68 */ addi r3, r1, 0x68 +/* 801162E4 00113244 38 81 00 38 */ addi r4, r1, 0x38 +/* 801162E8 00113248 48 1F C8 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801162EC 0011324C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801162F0 00113250 38 81 00 68 */ addi r4, r1, 0x68 +/* 801162F4 00113254 81 83 00 00 */ lwz r12, 0(r3) +/* 801162F8 00113258 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801162FC 0011325C 7D 89 03 A6 */ mtctr r12 +/* 80116300 00113260 4E 80 04 21 */ bctrl +/* 80116304 00113264 48 1F 66 79 */ bl DisableAllLights__9CGraphicsFv +/* 80116308 00113268 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 8011630C 0011326C 28 00 00 00 */ cmplwi r0, 0 +/* 80116310 00113270 41 82 00 54 */ beq lbl_80116364 +/* 80116314 00113274 7F 63 DB 78 */ mr r3, r27 +/* 80116318 00113278 38 80 00 03 */ li r4, 3 +/* 8011631C 0011327C 4B FF EC 41 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80116320 00113280 38 00 00 00 */ li r0, 0 +/* 80116324 00113284 7C 7F 1B 78 */ mr r31, r3 +/* 80116328 00113288 98 01 00 E0 */ stb r0, 0xe0(r1) +/* 8011632C 0011328C 7F E4 FB 78 */ mr r4, r31 +/* 80116330 00113290 80 7B 00 10 */ lwz r3, 0x10(r27) +/* 80116334 00113294 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80116338 00113298 38 C0 00 00 */ li r6, 0 +/* 8011633C 0011329C 4B F1 66 3D */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 80116340 001132A0 38 61 00 98 */ addi r3, r1, 0x98 +/* 80116344 001132A4 38 80 FF FF */ li r4, -1 +/* 80116348 001132A8 4B F6 19 45 */ bl sub_80077c8c +/* 8011634C 001132AC 7F E3 FB 78 */ mr r3, r31 +/* 80116350 001132B0 7F 84 E3 78 */ mr r4, r28 +/* 80116354 001132B4 7F A5 EB 78 */ mr r5, r29 +/* 80116358 001132B8 7F C6 F3 78 */ mr r6, r30 +/* 8011635C 001132BC 48 00 00 A9 */ bl ThermalDraw__10CModelDataRC6CColorRC6CColorRC11CModelFlags +/* 80116360 001132C0 48 00 00 40 */ b lbl_801163A0 +lbl_80116364: +/* 80116364 001132C4 7F 63 DB 78 */ mr r3, r27 +/* 80116368 001132C8 38 80 00 03 */ li r4, 3 +/* 8011636C 001132CC 4B FF EC 41 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80116370 001132D0 7C 64 1B 78 */ mr r4, r3 +/* 80116374 001132D4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80116378 001132D8 7F 85 E3 78 */ mr r5, r28 +/* 8011637C 001132DC 7F A6 EB 78 */ mr r6, r29 +/* 80116380 001132E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80116384 001132E4 7F C9 F3 78 */ mr r9, r30 +/* 80116388 001132E8 80 84 00 08 */ lwz r4, 8(r4) +/* 8011638C 001132EC 38 E0 00 00 */ li r7, 0 +/* 80116390 001132F0 81 8C 00 D0 */ lwz r12, 0xd0(r12) +/* 80116394 001132F4 39 00 00 00 */ li r8, 0 +/* 80116398 001132F8 7D 89 03 A6 */ mtctr r12 +/* 8011639C 001132FC 4E 80 04 21 */ bctrl +lbl_801163A0: +/* 801163A0 00113300 BB 61 00 EC */ lmw r27, 0xec(r1) +/* 801163A4 00113304 80 01 01 04 */ lwz r0, 0x104(r1) +/* 801163A8 00113308 7C 08 03 A6 */ mtlr r0 +/* 801163AC 0011330C 38 21 01 00 */ addi r1, r1, 0x100 +/* 801163B0 00113310 4E 80 00 20 */ blr + +.global RenderThermal__10CModelDataCFPCfPCfRC6CColorRC6CColorRC11CModelFlags +RenderThermal__10CModelDataCFPCfPCfRC6CColorRC6CColorRC11CModelFlags: +/* 801163B4 00113314 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801163B8 00113318 7C 08 02 A6 */ mflr r0 +/* 801163BC 0011331C 7C 6A 1B 78 */ mr r10, r3 +/* 801163C0 00113320 7D 09 43 78 */ mr r9, r8 +/* 801163C4 00113324 90 01 00 14 */ stw r0, 0x14(r1) +/* 801163C8 00113328 7C A0 2B 78 */ mr r0, r5 +/* 801163CC 0011332C 7C C5 33 78 */ mr r5, r6 +/* 801163D0 00113330 7C E6 3B 78 */ mr r6, r7 +/* 801163D4 00113334 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801163D8 00113338 7C 87 23 78 */ mr r7, r4 +/* 801163DC 0011333C 7C 08 03 78 */ mr r8, r0 +/* 801163E0 00113340 80 8A 00 0C */ lwz r4, 0xc(r10) +/* 801163E4 00113344 81 83 00 00 */ lwz r12, 0(r3) +/* 801163E8 00113348 81 8C 00 D0 */ lwz r12, 0xd0(r12) +/* 801163EC 0011334C 7D 89 03 A6 */ mtctr r12 +/* 801163F0 00113350 4E 80 04 21 */ bctrl +/* 801163F4 00113354 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801163F8 00113358 7C 08 03 A6 */ mtlr r0 +/* 801163FC 0011335C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80116400 00113360 4E 80 00 20 */ blr + +.global ThermalDraw__10CModelDataRC6CColorRC6CColorRC11CModelFlags +ThermalDraw__10CModelDataRC6CColorRC6CColorRC11CModelFlags: +/* 80116404 00113364 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80116408 00113368 7C 08 02 A6 */ mflr r0 +/* 8011640C 0011336C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80116410 00113370 80 05 00 00 */ lwz r0, 0(r5) +/* 80116414 00113374 3C A0 80 11 */ lis r5, ThermalDrawCallback__10CModelDataFPCfPCfPC19SThermalDrawContext@ha +/* 80116418 00113378 80 E4 00 00 */ lwz r7, 0(r4) +/* 8011641C 0011337C 38 85 66 DC */ addi r4, r5, ThermalDrawCallback__10CModelDataFPCfPCfPC19SThermalDrawContext@l +/* 80116420 00113380 90 61 00 08 */ stw r3, 8(r1) +/* 80116424 00113384 38 A1 00 08 */ addi r5, r1, 8 +/* 80116428 00113388 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8011642C 0011338C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80116430 00113390 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80116434 00113394 48 23 CA ED */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv +/* 80116438 00113398 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011643C 0011339C 7C 08 03 A6 */ mtlr r0 +/* 80116440 001133A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80116444 001133A4 4E 80 00 20 */ blr + +.global MultipassDrawCallback__10CModelDataFPCfPCfPC21SMultipassDrawContext +MultipassDrawCallback__10CModelDataFPCfPCfPC21SMultipassDrawContext: +/* 80116448 001133A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011644C 001133AC 7C 08 02 A6 */ mflr r0 +/* 80116450 001133B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80116454 001133B4 BF 41 00 08 */ stmw r26, 8(r1) +/* 80116458 001133B8 7C 7A 1B 78 */ mr r26, r3 +/* 8011645C 001133BC 7C BC 2B 78 */ mr r28, r5 +/* 80116460 001133C0 7C 9B 23 78 */ mr r27, r4 +/* 80116464 001133C4 3B A0 00 00 */ li r29, 0 +/* 80116468 001133C8 3B C0 00 00 */ li r30, 0 +/* 8011646C 001133CC 80 65 00 00 */ lwz r3, 0(r5) +/* 80116470 001133D0 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 80116474 001133D4 48 00 00 24 */ b lbl_80116498 +lbl_80116478: +/* 80116478 001133D8 80 1C 00 04 */ lwz r0, 4(r28) +/* 8011647C 001133DC 7F E3 FB 78 */ mr r3, r31 +/* 80116480 001133E0 7F 44 D3 78 */ mr r4, r26 +/* 80116484 001133E4 7F 65 DB 78 */ mr r5, r27 +/* 80116488 001133E8 7C C0 F2 14 */ add r6, r0, r30 +/* 8011648C 001133EC 48 23 F5 BD */ bl Draw__6CModelCFPCfPCfRC11CModelFlags +/* 80116490 001133F0 3B DE 00 08 */ addi r30, r30, 8 +/* 80116494 001133F4 3B BD 00 01 */ addi r29, r29, 1 +lbl_80116498: +/* 80116498 001133F8 80 1C 00 08 */ lwz r0, 8(r28) +/* 8011649C 001133FC 7C 1D 00 00 */ cmpw r29, r0 +/* 801164A0 00113400 41 80 FF D8 */ blt lbl_80116478 +/* 801164A4 00113404 BB 41 00 08 */ lmw r26, 8(r1) +/* 801164A8 00113408 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801164AC 0011340C 7C 08 03 A6 */ mtlr r0 +/* 801164B0 00113410 38 21 00 20 */ addi r1, r1, 0x20 +/* 801164B4 00113414 4E 80 00 20 */ blr + +.global MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext +MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext: +/* 801164B8 00113418 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 801164BC 0011341C 7C 08 02 A6 */ mflr r0 +/* 801164C0 00113420 90 01 00 54 */ stw r0, 0x54(r1) +/* 801164C4 00113424 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 801164C8 00113428 7C BF 2B 78 */ mr r31, r5 +/* 801164CC 0011342C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 801164D0 00113430 7C 9E 23 78 */ mr r30, r4 +/* 801164D4 00113434 93 A1 00 44 */ stw r29, 0x44(r1) +/* 801164D8 00113438 7C 7D 1B 78 */ mr r29, r3 +/* 801164DC 0011343C 48 1F 64 A1 */ bl DisableAllLights__9CGraphicsFv +/* 801164E0 00113440 C0 22 96 4C */ lfs f1, lbl_805AB36C@sda21(r2) +/* 801164E4 00113444 38 A0 00 05 */ li r5, 5 +/* 801164E8 00113448 38 80 00 00 */ li r4, 0 +/* 801164EC 0011344C 38 00 00 03 */ li r0, 3 +/* 801164F0 00113450 FC 40 08 90 */ fmr f2, f1 +/* 801164F4 00113454 98 A1 00 18 */ stb r5, 0x18(r1) +/* 801164F8 00113458 FC 60 08 90 */ fmr f3, f1 +/* 801164FC 0011345C C0 82 96 48 */ lfs f4, lbl_805AB368@sda21(r2) +/* 80116500 00113460 98 81 00 19 */ stb r4, 0x19(r1) +/* 80116504 00113464 38 61 00 1C */ addi r3, r1, 0x1c +/* 80116508 00113468 B0 01 00 1A */ sth r0, 0x1a(r1) +/* 8011650C 0011346C 48 24 CE E1 */ bl __ct__6CColorFffff +/* 80116510 00113470 88 61 00 18 */ lbz r3, 0x18(r1) +/* 80116514 00113474 38 C0 00 03 */ li r6, 3 +/* 80116518 00113478 89 21 00 19 */ lbz r9, 0x19(r1) +/* 8011651C 0011347C 38 E0 00 00 */ li r7, 0 +/* 80116520 00113480 A1 01 00 1A */ lhz r8, 0x1a(r1) +/* 80116524 00113484 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d +/* 80116528 00113488 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8011652C 0011348C 60 04 00 01 */ ori r4, r0, 1 +/* 80116530 00113490 98 61 00 30 */ stb r3, 0x30(r1) +/* 80116534 00113494 38 00 00 05 */ li r0, 5 +/* 80116538 00113498 38 60 00 07 */ li r3, 7 +/* 8011653C 0011349C 28 1D 00 00 */ cmplwi r29, 0 +/* 80116540 001134A0 99 21 00 31 */ stb r9, 0x31(r1) +/* 80116544 001134A4 B1 01 00 32 */ sth r8, 0x32(r1) +/* 80116548 001134A8 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8011654C 001134AC 80 BF 00 08 */ lwz r5, 8(r31) +/* 80116550 001134B0 98 01 00 10 */ stb r0, 0x10(r1) +/* 80116554 001134B4 80 A5 00 00 */ lwz r5, 0(r5) +/* 80116558 001134B8 98 E1 00 11 */ stb r7, 0x11(r1) +/* 8011655C 001134BC 98 01 00 28 */ stb r0, 0x28(r1) +/* 80116560 001134C0 98 E1 00 29 */ stb r7, 0x29(r1) +/* 80116564 001134C4 B0 81 00 2A */ sth r4, 0x2a(r1) +/* 80116568 001134C8 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 8011656C 001134CC 81 1F 00 0C */ lwz r8, 0xc(r31) +/* 80116570 001134D0 B0 C1 00 12 */ sth r6, 0x12(r1) +/* 80116574 001134D4 80 08 00 00 */ lwz r0, 0(r8) +/* 80116578 001134D8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8011657C 001134DC 98 61 00 08 */ stb r3, 8(r1) +/* 80116580 001134E0 98 E1 00 09 */ stb r7, 9(r1) +/* 80116584 001134E4 B0 C1 00 0A */ sth r6, 0xa(r1) +/* 80116588 001134E8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8011658C 001134EC 98 61 00 20 */ stb r3, 0x20(r1) +/* 80116590 001134F0 98 E1 00 21 */ stb r7, 0x21(r1) +/* 80116594 001134F4 B0 81 00 22 */ sth r4, 0x22(r1) +/* 80116598 001134F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011659C 001134FC 41 82 00 54 */ beq lbl_801165F0 +/* 801165A0 00113500 80 7F 00 00 */ lwz r3, 0(r31) +/* 801165A4 00113504 7F A4 EB 78 */ mr r4, r29 +/* 801165A8 00113508 7F C5 F3 78 */ mr r5, r30 +/* 801165AC 0011350C 38 C1 00 30 */ addi r6, r1, 0x30 +/* 801165B0 00113510 48 23 F4 99 */ bl Draw__6CModelCFPCfPCfRC11CModelFlags +/* 801165B4 00113514 80 7F 00 04 */ lwz r3, 4(r31) +/* 801165B8 00113518 28 03 00 00 */ cmplwi r3, 0 +/* 801165BC 0011351C 41 82 00 08 */ beq lbl_801165C4 +/* 801165C0 00113520 4B FE E7 C9 */ bl ActivateLights__12CActorLightsCFv +lbl_801165C4: +/* 801165C4 00113524 80 7F 00 00 */ lwz r3, 0(r31) +/* 801165C8 00113528 7F A4 EB 78 */ mr r4, r29 +/* 801165CC 0011352C 7F C5 F3 78 */ mr r5, r30 +/* 801165D0 00113530 38 C1 00 28 */ addi r6, r1, 0x28 +/* 801165D4 00113534 48 23 F4 75 */ bl Draw__6CModelCFPCfPCfRC11CModelFlags +/* 801165D8 00113538 80 7F 00 00 */ lwz r3, 0(r31) +/* 801165DC 0011353C 7F A4 EB 78 */ mr r4, r29 +/* 801165E0 00113540 7F C5 F3 78 */ mr r5, r30 +/* 801165E4 00113544 38 C1 00 20 */ addi r6, r1, 0x20 +/* 801165E8 00113548 48 23 F4 61 */ bl Draw__6CModelCFPCfPCfRC11CModelFlags +/* 801165EC 0011354C 48 00 00 38 */ b lbl_80116624 +lbl_801165F0: +/* 801165F0 00113550 80 7F 00 00 */ lwz r3, 0(r31) +/* 801165F4 00113554 38 81 00 30 */ addi r4, r1, 0x30 +/* 801165F8 00113558 48 23 F5 DD */ bl Draw__6CModelCFRC11CModelFlags +/* 801165FC 0011355C 80 7F 00 04 */ lwz r3, 4(r31) +/* 80116600 00113560 28 03 00 00 */ cmplwi r3, 0 +/* 80116604 00113564 41 82 00 08 */ beq lbl_8011660C +/* 80116608 00113568 4B FE E7 81 */ bl ActivateLights__12CActorLightsCFv +lbl_8011660C: +/* 8011660C 0011356C 80 7F 00 00 */ lwz r3, 0(r31) +/* 80116610 00113570 38 81 00 28 */ addi r4, r1, 0x28 +/* 80116614 00113574 48 23 F5 C1 */ bl Draw__6CModelCFRC11CModelFlags +/* 80116618 00113578 80 7F 00 00 */ lwz r3, 0(r31) +/* 8011661C 0011357C 38 81 00 20 */ addi r4, r1, 0x20 +/* 80116620 00113580 48 23 F5 B5 */ bl Draw__6CModelCFRC11CModelFlags +lbl_80116624: +/* 80116624 00113584 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80116628 00113588 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8011662C 0011358C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80116630 00113590 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80116634 00113594 7C 08 03 A6 */ mtlr r0 +/* 80116638 00113598 38 21 00 50 */ addi r1, r1, 0x50 +/* 8011663C 0011359C 4E 80 00 20 */ blr + +.global FlatDrawCallback__10CModelDataFPCfPCfPC16SFlatDrawContext +FlatDrawCallback__10CModelDataFPCfPCfPC16SFlatDrawContext: +/* 80116640 001135A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80116644 001135A4 7C 08 02 A6 */ mflr r0 +/* 80116648 001135A8 7C 67 1B 78 */ mr r7, r3 +/* 8011664C 001135AC 7C A6 2B 78 */ mr r6, r5 +/* 80116650 001135B0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80116654 001135B4 7C 88 23 78 */ mr r8, r4 +/* 80116658 001135B8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011665C 001135BC 80 A5 00 00 */ lwz r5, 0(r5) +/* 80116660 001135C0 81 83 00 00 */ lwz r12, 0(r3) +/* 80116664 001135C4 80 85 00 0C */ lwz r4, 0xc(r5) +/* 80116668 001135C8 81 8C 00 D8 */ lwz r12, 0xd8(r12) +/* 8011666C 001135CC 80 A6 00 08 */ lwz r5, 8(r6) +/* 80116670 001135D0 88 C6 00 04 */ lbz r6, 4(r6) +/* 80116674 001135D4 7D 89 03 A6 */ mtctr r12 +/* 80116678 001135D8 4E 80 04 21 */ bctrl +/* 8011667C 001135DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80116680 001135E0 7C 08 03 A6 */ mtlr r0 +/* 80116684 001135E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80116688 001135E8 4E 80 00 20 */ blr + +.global DisintegrateDrawCallback__10CModelDataFPCfPCfPC22SOneTextureDrawContext +DisintegrateDrawCallback__10CModelDataFPCfPCfPC22SOneTextureDrawContext: +/* 8011668C 001135EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80116690 001135F0 7C 08 02 A6 */ mflr r0 +/* 80116694 001135F4 7C A9 2B 78 */ mr r9, r5 +/* 80116698 001135F8 7C 67 1B 78 */ mr r7, r3 +/* 8011669C 001135FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 801166A0 00113600 7C 88 23 78 */ mr r8, r4 +/* 801166A4 00113604 38 C9 00 08 */ addi r6, r9, 8 +/* 801166A8 00113608 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801166AC 0011360C 80 A5 00 00 */ lwz r5, 0(r5) +/* 801166B0 00113610 81 83 00 00 */ lwz r12, 0(r3) +/* 801166B4 00113614 80 85 00 0C */ lwz r4, 0xc(r5) +/* 801166B8 00113618 81 8C 00 D4 */ lwz r12, 0xd4(r12) +/* 801166BC 0011361C 80 A9 00 04 */ lwz r5, 4(r9) +/* 801166C0 00113620 C0 29 00 0C */ lfs f1, 0xc(r9) +/* 801166C4 00113624 7D 89 03 A6 */ mtctr r12 +/* 801166C8 00113628 4E 80 04 21 */ bctrl +/* 801166CC 0011362C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801166D0 00113630 7C 08 03 A6 */ mtlr r0 +/* 801166D4 00113634 38 21 00 10 */ addi r1, r1, 0x10 +/* 801166D8 00113638 4E 80 00 20 */ blr + +.global ThermalDrawCallback__10CModelDataFPCfPCfPC19SThermalDrawContext +ThermalDrawCallback__10CModelDataFPCfPCfPC19SThermalDrawContext: +/* 801166DC 0011363C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801166E0 00113640 7C 08 02 A6 */ mflr r0 +/* 801166E4 00113644 7C AA 2B 78 */ mr r10, r5 +/* 801166E8 00113648 7C 67 1B 78 */ mr r7, r3 +/* 801166EC 0011364C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801166F0 00113650 7C 88 23 78 */ mr r8, r4 +/* 801166F4 00113654 38 CA 00 08 */ addi r6, r10, 8 +/* 801166F8 00113658 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801166FC 0011365C 81 25 00 00 */ lwz r9, 0(r5) +/* 80116700 00113660 38 AA 00 04 */ addi r5, r10, 4 +/* 80116704 00113664 81 83 00 00 */ lwz r12, 0(r3) +/* 80116708 00113668 80 89 00 0C */ lwz r4, 0xc(r9) +/* 8011670C 0011366C 81 8C 00 D0 */ lwz r12, 0xd0(r12) +/* 80116710 00113670 81 2A 00 0C */ lwz r9, 0xc(r10) +/* 80116714 00113674 7D 89 03 A6 */ mtctr r12 +/* 80116718 00113678 4E 80 04 21 */ bctrl +/* 8011671C 0011367C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80116720 00113680 7C 08 03 A6 */ mtlr r0 +/* 80116724 00113684 38 21 00 10 */ addi r1, r1, 0x10 +/* 80116728 00113688 4E 80 00 20 */ blr + +.global RenderUnsortedParts__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags +RenderUnsortedParts__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags: +/* 8011672C 0011368C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80116730 00113690 7C 08 02 A6 */ mflr r0 +/* 80116734 00113694 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80116738 00113698 BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 8011673C 0011369C 7C 7B 1B 78 */ mr r27, r3 +/* 80116740 001136A0 7C 9C 23 78 */ mr r28, r4 +/* 80116744 001136A4 7C BD 2B 78 */ mr r29, r5 +/* 80116748 001136A8 7C DE 33 78 */ mr r30, r6 +/* 8011674C 001136AC 7C FF 3B 78 */ mr r31, r7 +/* 80116750 001136B0 88 03 00 14 */ lbz r0, 0x14(r3) +/* 80116754 001136B4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80116758 001136B8 41 82 00 0C */ beq lbl_80116764 +/* 8011675C 001136BC 2C 1C 00 03 */ cmpwi r28, 3 +/* 80116760 001136C0 41 82 00 2C */ beq lbl_8011678C +lbl_80116764: +/* 80116764 001136C4 80 1B 00 10 */ lwz r0, 0x10(r27) +/* 80116768 001136C8 28 00 00 00 */ cmplwi r0, 0 +/* 8011676C 001136CC 40 82 00 20 */ bne lbl_8011678C +/* 80116770 001136D0 88 1B 00 28 */ lbz r0, 0x28(r27) +/* 80116774 001136D4 28 00 00 00 */ cmplwi r0, 0 +/* 80116778 001136D8 41 82 00 14 */ beq lbl_8011678C +/* 8011677C 001136DC 88 1F 00 00 */ lbz r0, 0(r31) +/* 80116780 001136E0 7C 00 07 74 */ extsb r0, r0 +/* 80116784 001136E4 2C 00 00 04 */ cmpwi r0, 4 +/* 80116788 001136E8 40 81 00 18 */ ble lbl_801167A0 +lbl_8011678C: +/* 8011678C 001136EC 88 1B 00 14 */ lbz r0, 0x14(r27) +/* 80116790 001136F0 38 60 00 00 */ li r3, 0 +/* 80116794 001136F4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80116798 001136F8 98 1B 00 14 */ stb r0, 0x14(r27) +/* 8011679C 001136FC 48 00 00 C4 */ b lbl_80116860 +lbl_801167A0: +/* 801167A0 00113700 C0 3B 00 00 */ lfs f1, 0(r27) +/* 801167A4 00113704 38 61 00 08 */ addi r3, r1, 8 +/* 801167A8 00113708 C0 5B 00 04 */ lfs f2, 4(r27) +/* 801167AC 0011370C C0 7B 00 08 */ lfs f3, 8(r27) +/* 801167B0 00113710 48 1F CA 59 */ bl Scale__12CTransform4fFfff +/* 801167B4 00113714 7F A4 EB 78 */ mr r4, r29 +/* 801167B8 00113718 38 61 00 38 */ addi r3, r1, 0x38 +/* 801167BC 0011371C 38 A1 00 08 */ addi r5, r1, 8 +/* 801167C0 00113720 48 1F C1 91 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801167C4 00113724 38 61 00 68 */ addi r3, r1, 0x68 +/* 801167C8 00113728 38 81 00 38 */ addi r4, r1, 0x38 +/* 801167CC 0011372C 48 1F C3 A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801167D0 00113730 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801167D4 00113734 38 81 00 68 */ addi r4, r1, 0x68 +/* 801167D8 00113738 81 83 00 00 */ lwz r12, 0(r3) +/* 801167DC 0011373C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801167E0 00113740 7D 89 03 A6 */ mtctr r12 +/* 801167E4 00113744 4E 80 04 21 */ bctrl +/* 801167E8 00113748 28 1E 00 00 */ cmplwi r30, 0 +/* 801167EC 0011374C 41 82 00 10 */ beq lbl_801167FC +/* 801167F0 00113750 7F C3 F3 78 */ mr r3, r30 +/* 801167F4 00113754 4B FE E5 95 */ bl ActivateLights__12CActorLightsCFv +/* 801167F8 00113758 48 00 00 20 */ b lbl_80116818 +lbl_801167FC: +/* 801167FC 0011375C 48 1F 61 81 */ bl DisableAllLights__9CGraphicsFv +/* 80116800 00113760 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80116804 00113764 38 9B 00 18 */ addi r4, r27, 0x18 +/* 80116808 00113768 81 83 00 00 */ lwz r12, 0(r3) +/* 8011680C 0011376C 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80116810 00113770 7D 89 03 A6 */ mtctr r12 +/* 80116814 00113774 4E 80 04 21 */ bctrl +lbl_80116818: +/* 80116818 00113778 7F 63 DB 78 */ mr r3, r27 +/* 8011681C 0011377C 7F 84 E3 78 */ mr r4, r28 +/* 80116820 00113780 4B FF E7 8D */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 80116824 00113784 80 63 00 08 */ lwz r3, 8(r3) +/* 80116828 00113788 7F E4 FB 78 */ mr r4, r31 +/* 8011682C 0011378C 48 23 F3 2D */ bl DrawUnsortedParts__6CModelCFRC11CModelFlags +/* 80116830 00113790 48 23 37 7D */ bl White__6CColorFv +/* 80116834 00113794 7C 64 1B 78 */ mr r4, r3 +/* 80116838 00113798 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011683C 0011379C 81 83 00 00 */ lwz r12, 0(r3) +/* 80116840 001137A0 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80116844 001137A4 7D 89 03 A6 */ mtctr r12 +/* 80116848 001137A8 4E 80 04 21 */ bctrl +/* 8011684C 001137AC 48 1F 61 31 */ bl DisableAllLights__9CGraphicsFv +/* 80116850 001137B0 88 1B 00 14 */ lbz r0, 0x14(r27) +/* 80116854 001137B4 38 60 00 01 */ li r3, 1 +/* 80116858 001137B8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8011685C 001137BC 98 1B 00 14 */ stb r0, 0x14(r27) +lbl_80116860: +/* 80116860 001137C0 BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 80116864 001137C4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80116868 001137C8 7C 08 03 A6 */ mtlr r0 +/* 8011686C 001137CC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80116870 001137D0 4E 80 00 20 */ blr + +.global Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags +Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags: +/* 80116874 001137D4 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80116878 001137D8 7C 08 02 A6 */ mflr r0 +/* 8011687C 001137DC 90 01 01 14 */ stw r0, 0x114(r1) +/* 80116880 001137E0 BF 61 00 FC */ stmw r27, 0xfc(r1) +/* 80116884 001137E4 7C 7F 1B 78 */ mr r31, r3 +/* 80116888 001137E8 7C 9B 23 78 */ mr r27, r4 +/* 8011688C 001137EC 7C BC 2B 78 */ mr r28, r5 +/* 80116890 001137F0 7C DE 33 78 */ mr r30, r6 +/* 80116894 001137F4 7C FD 3B 78 */ mr r29, r7 +/* 80116898 001137F8 88 03 00 14 */ lbz r0, 0x14(r3) +/* 8011689C 001137FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801168A0 00113800 41 82 00 60 */ beq lbl_80116900 +/* 801168A4 00113804 2C 1B 00 03 */ cmpwi r27, 3 +/* 801168A8 00113808 40 82 00 58 */ bne lbl_80116900 +/* 801168AC 0011380C E0 3D A0 07 */ psq_l f1, 7(r29), 1, qr2 +/* 801168B0 00113810 38 61 00 0C */ addi r3, r1, 0xc +/* 801168B4 00113814 C0 02 96 50 */ lfs f0, lbl_805AB370@sda21(r2) +/* 801168B8 00113818 EC 20 00 72 */ fmuls f1, f0, f1 +/* 801168BC 0011381C FC 40 08 90 */ fmr f2, f1 +/* 801168C0 00113820 FC 60 08 90 */ fmr f3, f1 +/* 801168C4 00113824 FC 80 08 90 */ fmr f4, f1 +/* 801168C8 00113828 48 24 CB 25 */ bl __ct__6CColorFffff +/* 801168CC 0011382C 39 00 00 00 */ li r8, 0 +/* 801168D0 00113830 38 00 00 40 */ li r0, 0x40 +/* 801168D4 00113834 99 01 00 08 */ stb r8, 8(r1) +/* 801168D8 00113838 7F E3 FB 78 */ mr r3, r31 +/* 801168DC 0011383C 7F 84 E3 78 */ mr r4, r28 +/* 801168E0 00113840 7F A7 EB 78 */ mr r7, r29 +/* 801168E4 00113844 99 01 00 09 */ stb r8, 9(r1) +/* 801168E8 00113848 38 A1 00 0C */ addi r5, r1, 0xc +/* 801168EC 0011384C 38 C1 00 08 */ addi r6, r1, 8 +/* 801168F0 00113850 99 01 00 0A */ stb r8, 0xa(r1) +/* 801168F4 00113854 98 01 00 0B */ stb r0, 0xb(r1) +/* 801168F8 00113858 4B FF F9 A9 */ bl RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags +/* 801168FC 0011385C 48 00 01 3C */ b lbl_80116A38 +lbl_80116900: +/* 80116900 00113860 7F 84 E3 78 */ mr r4, r28 +/* 80116904 00113864 38 61 00 70 */ addi r3, r1, 0x70 +/* 80116908 00113868 48 1F C2 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011690C 0011386C C0 3F 00 00 */ lfs f1, 0(r31) +/* 80116910 00113870 38 61 00 40 */ addi r3, r1, 0x40 +/* 80116914 00113874 C0 5F 00 04 */ lfs f2, 4(r31) +/* 80116918 00113878 C0 7F 00 08 */ lfs f3, 8(r31) +/* 8011691C 0011387C 48 1F C8 ED */ bl Scale__12CTransform4fFfff +/* 80116920 00113880 38 61 00 10 */ addi r3, r1, 0x10 +/* 80116924 00113884 38 81 00 70 */ addi r4, r1, 0x70 +/* 80116928 00113888 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8011692C 0011388C 48 1F C0 25 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80116930 00113890 38 61 00 70 */ addi r3, r1, 0x70 +/* 80116934 00113894 38 81 00 10 */ addi r4, r1, 0x10 +/* 80116938 00113898 48 1F C2 09 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8011693C 0011389C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80116940 001138A0 38 81 00 70 */ addi r4, r1, 0x70 +/* 80116944 001138A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80116948 001138A8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8011694C 001138AC 7D 89 03 A6 */ mtctr r12 +/* 80116950 001138B0 4E 80 04 21 */ bctrl +/* 80116954 001138B4 28 1E 00 00 */ cmplwi r30, 0 +/* 80116958 001138B8 41 82 00 10 */ beq lbl_80116968 +/* 8011695C 001138BC 7F C3 F3 78 */ mr r3, r30 +/* 80116960 001138C0 4B FE E4 29 */ bl ActivateLights__12CActorLightsCFv +/* 80116964 001138C4 48 00 00 20 */ b lbl_80116984 +lbl_80116968: +/* 80116968 001138C8 48 1F 60 15 */ bl DisableAllLights__9CGraphicsFv +/* 8011696C 001138CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80116970 001138D0 38 9F 00 18 */ addi r4, r31, 0x18 +/* 80116974 001138D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80116978 001138D8 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 8011697C 001138DC 7D 89 03 A6 */ mtctr r12 +/* 80116980 001138E0 4E 80 04 21 */ bctrl +lbl_80116984: +/* 80116984 001138E4 83 DF 00 10 */ lwz r30, 0x10(r31) +/* 80116988 001138E8 28 1E 00 00 */ cmplwi r30, 0 +/* 8011698C 001138EC 41 82 00 40 */ beq lbl_801169CC +/* 80116990 001138F0 38 00 00 00 */ li r0, 0 +/* 80116994 001138F4 7F E3 FB 78 */ mr r3, r31 +/* 80116998 001138F8 98 01 00 E8 */ stb r0, 0xe8(r1) +/* 8011699C 001138FC 7F 64 DB 78 */ mr r4, r27 +/* 801169A0 00113900 4B FF E5 BD */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel +/* 801169A4 00113904 7C 64 1B 78 */ mr r4, r3 +/* 801169A8 00113908 7F C3 F3 78 */ mr r3, r30 +/* 801169AC 0011390C 7F A5 EB 78 */ mr r5, r29 +/* 801169B0 00113910 38 C1 00 A0 */ addi r6, r1, 0xa0 +/* 801169B4 00113914 38 E0 00 00 */ li r7, 0 +/* 801169B8 00113918 4B F1 5F 65 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 801169BC 0011391C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 801169C0 00113920 38 80 FF FF */ li r4, -1 +/* 801169C4 00113924 4B F6 12 C9 */ bl sub_80077c8c +/* 801169C8 00113928 48 00 00 40 */ b lbl_80116A08 +lbl_801169CC: +/* 801169CC 0011392C 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 801169D0 00113930 28 00 00 00 */ cmplwi r0, 0 +/* 801169D4 00113934 41 82 00 34 */ beq lbl_80116A08 +/* 801169D8 00113938 7F E3 FB 78 */ mr r3, r31 +/* 801169DC 0011393C 7F 64 DB 78 */ mr r4, r27 +/* 801169E0 00113940 4B FF E5 CD */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel +/* 801169E4 00113944 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 801169E8 00113948 80 63 00 08 */ lwz r3, 8(r3) +/* 801169EC 0011394C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801169F0 00113950 41 82 00 10 */ beq lbl_80116A00 +/* 801169F4 00113954 7F A4 EB 78 */ mr r4, r29 +/* 801169F8 00113958 48 23 F0 E5 */ bl DrawSortedParts__6CModelCFRC11CModelFlags +/* 801169FC 0011395C 48 00 00 0C */ b lbl_80116A08 +lbl_80116A00: +/* 80116A00 00113960 7F A4 EB 78 */ mr r4, r29 +/* 80116A04 00113964 48 23 F1 D1 */ bl Draw__6CModelCFRC11CModelFlags +lbl_80116A08: +/* 80116A08 00113968 48 23 35 A5 */ bl White__6CColorFv +/* 80116A0C 0011396C 7C 64 1B 78 */ mr r4, r3 +/* 80116A10 00113970 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80116A14 00113974 81 83 00 00 */ lwz r12, 0(r3) +/* 80116A18 00113978 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80116A1C 0011397C 7D 89 03 A6 */ mtctr r12 +/* 80116A20 00113980 4E 80 04 21 */ bctrl +/* 80116A24 00113984 48 1F 5F 59 */ bl DisableAllLights__9CGraphicsFv +/* 80116A28 00113988 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 80116A2C 0011398C 38 60 00 00 */ li r3, 0 +/* 80116A30 00113990 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80116A34 00113994 98 1F 00 14 */ stb r0, 0x14(r31) +lbl_80116A38: +/* 80116A38 00113998 BB 61 00 FC */ lmw r27, 0xfc(r1) +/* 80116A3C 0011399C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80116A40 001139A0 7C 08 03 A6 */ mtlr r0 +/* 80116A44 001139A4 38 21 01 10 */ addi r1, r1, 0x110 +/* 80116A48 001139A8 4E 80 00 20 */ blr + +.global __dt__10CModelDataFv +__dt__10CModelDataFv: +/* 80116A4C 001139AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80116A50 001139B0 7C 08 02 A6 */ mflr r0 +/* 80116A54 001139B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80116A58 001139B8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80116A5C 001139BC 7C 9F 23 78 */ mr r31, r4 +/* 80116A60 001139C0 93 C1 00 08 */ stw r30, 8(r1) +/* 80116A64 001139C4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80116A68 001139C8 41 82 00 D0 */ beq lbl_80116B38 +/* 80116A6C 001139CC 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 80116A70 001139D0 41 82 00 30 */ beq lbl_80116AA0 +/* 80116A74 001139D4 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 80116A78 001139D8 28 00 00 00 */ cmplwi r0, 0 +/* 80116A7C 001139DC 41 82 00 1C */ beq lbl_80116A98 +/* 80116A80 001139E0 34 7E 00 3C */ addic. r3, r30, 0x3c +/* 80116A84 001139E4 41 82 00 14 */ beq lbl_80116A98 +/* 80116A88 001139E8 28 03 00 00 */ cmplwi r3, 0 +/* 80116A8C 001139EC 41 82 00 0C */ beq lbl_80116A98 +/* 80116A90 001139F0 38 80 00 00 */ li r4, 0 +/* 80116A94 001139F4 48 22 A3 AD */ bl __dt__6CTokenFv +lbl_80116A98: +/* 80116A98 001139F8 38 00 00 00 */ li r0, 0 +/* 80116A9C 001139FC 98 1E 00 48 */ stb r0, 0x48(r30) +lbl_80116AA0: +/* 80116AA0 00113A00 34 1E 00 2C */ addic. r0, r30, 0x2c +/* 80116AA4 00113A04 41 82 00 30 */ beq lbl_80116AD4 +/* 80116AA8 00113A08 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 80116AAC 00113A0C 28 00 00 00 */ cmplwi r0, 0 +/* 80116AB0 00113A10 41 82 00 1C */ beq lbl_80116ACC +/* 80116AB4 00113A14 34 7E 00 2C */ addic. r3, r30, 0x2c +/* 80116AB8 00113A18 41 82 00 14 */ beq lbl_80116ACC +/* 80116ABC 00113A1C 28 03 00 00 */ cmplwi r3, 0 +/* 80116AC0 00113A20 41 82 00 0C */ beq lbl_80116ACC +/* 80116AC4 00113A24 38 80 00 00 */ li r4, 0 +/* 80116AC8 00113A28 48 22 A3 79 */ bl __dt__6CTokenFv +lbl_80116ACC: +/* 80116ACC 00113A2C 38 00 00 00 */ li r0, 0 +/* 80116AD0 00113A30 98 1E 00 38 */ stb r0, 0x38(r30) +lbl_80116AD4: +/* 80116AD4 00113A34 34 1E 00 1C */ addic. r0, r30, 0x1c +/* 80116AD8 00113A38 41 82 00 30 */ beq lbl_80116B08 +/* 80116ADC 00113A3C 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 80116AE0 00113A40 28 00 00 00 */ cmplwi r0, 0 +/* 80116AE4 00113A44 41 82 00 1C */ beq lbl_80116B00 +/* 80116AE8 00113A48 34 7E 00 1C */ addic. r3, r30, 0x1c +/* 80116AEC 00113A4C 41 82 00 14 */ beq lbl_80116B00 +/* 80116AF0 00113A50 28 03 00 00 */ cmplwi r3, 0 +/* 80116AF4 00113A54 41 82 00 0C */ beq lbl_80116B00 +/* 80116AF8 00113A58 38 80 00 00 */ li r4, 0 +/* 80116AFC 00113A5C 48 22 A3 45 */ bl __dt__6CTokenFv +lbl_80116B00: +/* 80116B00 00113A60 38 00 00 00 */ li r0, 0 +/* 80116B04 00113A64 98 1E 00 28 */ stb r0, 0x28(r30) +lbl_80116B08: +/* 80116B08 00113A68 34 1E 00 0C */ addic. r0, r30, 0xc +/* 80116B0C 00113A6C 41 82 00 1C */ beq lbl_80116B28 +/* 80116B10 00113A70 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 80116B14 00113A74 28 00 00 00 */ cmplwi r0, 0 +/* 80116B18 00113A78 41 82 00 10 */ beq lbl_80116B28 +/* 80116B1C 00113A7C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80116B20 00113A80 38 80 00 01 */ li r4, 1 +/* 80116B24 00113A84 4B F1 80 9D */ bl __dt__9CAnimDataFv +lbl_80116B28: +/* 80116B28 00113A88 7F E0 07 35 */ extsh. r0, r31 +/* 80116B2C 00113A8C 40 81 00 0C */ ble lbl_80116B38 +/* 80116B30 00113A90 7F C3 F3 78 */ mr r3, r30 +/* 80116B34 00113A94 48 1F ED FD */ bl Free__7CMemoryFPCv +lbl_80116B38: +/* 80116B38 00113A98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80116B3C 00113A9C 7F C3 F3 78 */ mr r3, r30 +/* 80116B40 00113AA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80116B44 00113AA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80116B48 00113AA8 7C 08 03 A6 */ mtlr r0 +/* 80116B4C 00113AAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80116B50 00113AB0 4E 80 00 20 */ blr + +.global __ct__10CModelDataFRC8CAnimRes +__ct__10CModelDataFRC8CAnimRes: +/* 80116B54 00113AB4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80116B58 00113AB8 7C 08 02 A6 */ mflr r0 +/* 80116B5C 00113ABC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80116B60 00113AC0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80116B64 00113AC4 7C 7F 1B 78 */ mr r31, r3 +/* 80116B68 00113AC8 38 60 00 00 */ li r3, 0 +/* 80116B6C 00113ACC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80116B70 00113AD0 7C 9E 23 78 */ mr r30, r4 +/* 80116B74 00113AD4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80116B78 00113AD8 C0 04 00 08 */ lfs f0, 8(r4) +/* 80116B7C 00113ADC D0 1F 00 00 */ stfs f0, 0(r31) +/* 80116B80 00113AE0 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80116B84 00113AE4 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80116B88 00113AE8 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 80116B8C 00113AEC D0 1F 00 08 */ stfs f0, 8(r31) +/* 80116B90 00113AF0 98 7F 00 0C */ stb r3, 0xc(r31) +/* 80116B94 00113AF4 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80116B98 00113AF8 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 80116B9C 00113AFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80116BA0 00113B00 98 1F 00 14 */ stb r0, 0x14(r31) +/* 80116BA4 00113B04 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 80116BA8 00113B08 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80116BAC 00113B0C 98 1F 00 14 */ stb r0, 0x14(r31) +/* 80116BB0 00113B10 48 23 33 FD */ bl White__6CColorFv +/* 80116BB4 00113B14 80 83 00 00 */ lwz r4, 0(r3) +/* 80116BB8 00113B18 38 00 00 00 */ li r0, 0 +/* 80116BBC 00113B1C 7F C5 F3 78 */ mr r5, r30 +/* 80116BC0 00113B20 38 61 00 18 */ addi r3, r1, 0x18 +/* 80116BC4 00113B24 90 9F 00 18 */ stw r4, 0x18(r31) +/* 80116BC8 00113B28 98 1F 00 28 */ stb r0, 0x28(r31) +/* 80116BCC 00113B2C 98 1F 00 38 */ stb r0, 0x38(r31) +/* 80116BD0 00113B30 98 1F 00 48 */ stb r0, 0x48(r31) +/* 80116BD4 00113B34 80 8D A0 6C */ lwz r4, gpCharacterFactoryBuilder@sda21(r13) +/* 80116BD8 00113B38 4B F1 DC E1 */ bl GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes +/* 80116BDC 00113B3C 3B A1 00 20 */ addi r29, r1, 0x20 +/* 80116BE0 00113B40 38 81 00 18 */ addi r4, r1, 0x18 +/* 80116BE4 00113B44 7F A3 EB 78 */ mr r3, r29 +/* 80116BE8 00113B48 48 22 A2 C1 */ bl __ct__6CTokenFRC6CToken +/* 80116BEC 00113B4C 7F A3 EB 78 */ mr r3, r29 +/* 80116BF0 00113B50 48 22 A2 1D */ bl GetObj__6CTokenFv +/* 80116BF4 00113B54 80 03 00 04 */ lwz r0, 4(r3) +/* 80116BF8 00113B58 38 61 00 18 */ addi r3, r1, 0x18 +/* 80116BFC 00113B5C 38 80 00 00 */ li r4, 0 +/* 80116C00 00113B60 90 01 00 28 */ stw r0, 0x28(r1) +/* 80116C04 00113B64 48 22 A2 3D */ bl __dt__6CTokenFv +/* 80116C08 00113B68 80 81 00 28 */ lwz r4, 0x28(r1) +/* 80116C0C 00113B6C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80116C10 00113B70 80 BE 00 04 */ lwz r5, 4(r30) +/* 80116C14 00113B74 7F A7 EB 78 */ mr r7, r29 +/* 80116C18 00113B78 88 DE 00 14 */ lbz r6, 0x14(r30) +/* 80116C1C 00113B7C 81 1E 00 18 */ lwz r8, 0x18(r30) +/* 80116C20 00113B80 4B F1 B7 35 */ bl "CreateCharacter__17CCharacterFactoryCFibRC33TLockedToken<17CCharacterFactory>i" +/* 80116C24 00113B84 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 80116C28 00113B88 38 80 00 00 */ li r4, 0 +/* 80116C2C 00113B8C 38 01 00 08 */ addi r0, r1, 8 +/* 80116C30 00113B90 38 DF 00 0C */ addi r6, r31, 0xc +/* 80116C34 00113B94 7C 65 00 D0 */ neg r3, r5 +/* 80116C38 00113B98 98 81 00 10 */ stb r4, 0x10(r1) +/* 80116C3C 00113B9C 7C 63 2B 78 */ or r3, r3, r5 +/* 80116C40 00113BA0 7C 00 30 40 */ cmplw r0, r6 +/* 80116C44 00113BA4 54 60 0F FE */ srwi r0, r3, 0x1f +/* 80116C48 00113BA8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80116C4C 00113BAC 98 01 00 08 */ stb r0, 8(r1) +/* 80116C50 00113BB0 41 82 00 34 */ beq lbl_80116C84 +/* 80116C54 00113BB4 88 06 00 00 */ lbz r0, 0(r6) +/* 80116C58 00113BB8 28 00 00 00 */ cmplwi r0, 0 +/* 80116C5C 00113BBC 41 82 00 10 */ beq lbl_80116C6C +/* 80116C60 00113BC0 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 80116C64 00113BC4 38 80 00 01 */ li r4, 1 +/* 80116C68 00113BC8 4B F1 7F 59 */ bl __dt__9CAnimDataFv +lbl_80116C6C: +/* 80116C6C 00113BCC 88 61 00 08 */ lbz r3, 8(r1) +/* 80116C70 00113BD0 38 00 00 00 */ li r0, 0 +/* 80116C74 00113BD4 98 7F 00 0C */ stb r3, 0xc(r31) +/* 80116C78 00113BD8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80116C7C 00113BDC 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80116C80 00113BE0 98 01 00 08 */ stb r0, 8(r1) +lbl_80116C84: +/* 80116C84 00113BE4 88 01 00 08 */ lbz r0, 8(r1) +/* 80116C88 00113BE8 28 00 00 00 */ cmplwi r0, 0 +/* 80116C8C 00113BEC 41 82 00 10 */ beq lbl_80116C9C +/* 80116C90 00113BF0 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80116C94 00113BF4 38 80 00 01 */ li r4, 1 +/* 80116C98 00113BF8 4B F1 7F 29 */ bl __dt__9CAnimDataFv +lbl_80116C9C: +/* 80116C9C 00113BFC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 80116CA0 00113C00 28 00 00 00 */ cmplwi r0, 0 +/* 80116CA4 00113C04 41 82 00 10 */ beq lbl_80116CB4 +/* 80116CA8 00113C08 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80116CAC 00113C0C 38 80 00 01 */ li r4, 1 +/* 80116CB0 00113C10 4B F1 7F 11 */ bl __dt__9CAnimDataFv +lbl_80116CB4: +/* 80116CB4 00113C14 38 61 00 20 */ addi r3, r1, 0x20 +/* 80116CB8 00113C18 38 80 00 00 */ li r4, 0 +/* 80116CBC 00113C1C 48 22 A1 85 */ bl __dt__6CTokenFv +/* 80116CC0 00113C20 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80116CC4 00113C24 7F E3 FB 78 */ mr r3, r31 +/* 80116CC8 00113C28 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80116CCC 00113C2C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80116CD0 00113C30 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80116CD4 00113C34 7C 08 03 A6 */ mtlr r0 +/* 80116CD8 00113C38 38 21 00 40 */ addi r1, r1, 0x40 +/* 80116CDC 00113C3C 4E 80 00 20 */ blr + +.global __ct__10CModelDataFv +__ct__10CModelDataFv: +/* 80116CE0 00113C40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80116CE4 00113C44 7C 08 02 A6 */ mflr r0 +/* 80116CE8 00113C48 C0 02 96 4C */ lfs f0, lbl_805AB36C@sda21(r2) +/* 80116CEC 00113C4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80116CF0 00113C50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80116CF4 00113C54 7C 7F 1B 78 */ mr r31, r3 +/* 80116CF8 00113C58 38 60 00 00 */ li r3, 0 +/* 80116CFC 00113C5C D0 1F 00 00 */ stfs f0, 0(r31) +/* 80116D00 00113C60 D0 1F 00 04 */ stfs f0, 4(r31) +/* 80116D04 00113C64 D0 1F 00 08 */ stfs f0, 8(r31) +/* 80116D08 00113C68 98 7F 00 0C */ stb r3, 0xc(r31) +/* 80116D0C 00113C6C 90 7F 00 10 */ stw r3, 0x10(r31) +/* 80116D10 00113C70 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 80116D14 00113C74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80116D18 00113C78 98 1F 00 14 */ stb r0, 0x14(r31) +/* 80116D1C 00113C7C 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 80116D20 00113C80 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80116D24 00113C84 98 1F 00 14 */ stb r0, 0x14(r31) +/* 80116D28 00113C88 48 23 32 85 */ bl White__6CColorFv +/* 80116D2C 00113C8C 80 83 00 00 */ lwz r4, 0(r3) +/* 80116D30 00113C90 38 00 00 00 */ li r0, 0 +/* 80116D34 00113C94 7F E3 FB 78 */ mr r3, r31 +/* 80116D38 00113C98 90 9F 00 18 */ stw r4, 0x18(r31) +/* 80116D3C 00113C9C 98 1F 00 28 */ stb r0, 0x28(r31) +/* 80116D40 00113CA0 98 1F 00 38 */ stb r0, 0x38(r31) +/* 80116D44 00113CA4 98 1F 00 48 */ stb r0, 0x48(r31) +/* 80116D48 00113CA8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80116D4C 00113CAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80116D50 00113CB0 7C 08 03 A6 */ mtlr r0 +/* 80116D54 00113CB4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80116D58 00113CB8 4E 80 00 20 */ blr + +.global __ct__10CModelDataFRC10CStaticRes +__ct__10CModelDataFRC10CStaticRes: +/* 80116D5C 00113CBC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80116D60 00113CC0 7C 08 02 A6 */ mflr r0 +/* 80116D64 00113CC4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80116D68 00113CC8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80116D6C 00113CCC 7C 9F 23 78 */ mr r31, r4 +/* 80116D70 00113CD0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80116D74 00113CD4 7C 7E 1B 78 */ mr r30, r3 +/* 80116D78 00113CD8 38 60 00 00 */ li r3, 0 +/* 80116D7C 00113CDC C0 24 00 08 */ lfs f1, 8(r4) +/* 80116D80 00113CE0 C0 44 00 0C */ lfs f2, 0xc(r4) +/* 80116D84 00113CE4 C0 04 00 04 */ lfs f0, 4(r4) +/* 80116D88 00113CE8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 80116D8C 00113CEC D0 3E 00 04 */ stfs f1, 4(r30) +/* 80116D90 00113CF0 D0 5E 00 08 */ stfs f2, 8(r30) +/* 80116D94 00113CF4 98 7E 00 0C */ stb r3, 0xc(r30) +/* 80116D98 00113CF8 90 7E 00 10 */ stw r3, 0x10(r30) +/* 80116D9C 00113CFC 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 80116DA0 00113D00 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80116DA4 00113D04 98 1E 00 14 */ stb r0, 0x14(r30) +/* 80116DA8 00113D08 88 1E 00 14 */ lbz r0, 0x14(r30) +/* 80116DAC 00113D0C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80116DB0 00113D10 98 1E 00 14 */ stb r0, 0x14(r30) +/* 80116DB4 00113D14 48 23 31 F9 */ bl White__6CColorFv +/* 80116DB8 00113D18 80 83 00 00 */ lwz r4, 0(r3) +/* 80116DBC 00113D1C 3C 60 43 4D */ lis r3, 0x434D444C@ha +/* 80116DC0 00113D20 38 03 44 4C */ addi r0, r3, 0x434D444C@l +/* 80116DC4 00113D24 38 61 00 08 */ addi r3, r1, 8 +/* 80116DC8 00113D28 90 9E 00 18 */ stw r4, 0x18(r30) +/* 80116DCC 00113D2C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80116DD0 00113D30 80 DF 00 00 */ lwz r6, 0(r31) +/* 80116DD4 00113D34 90 01 00 10 */ stw r0, 0x10(r1) +/* 80116DD8 00113D38 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80116DDC 00113D3C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 80116DE0 00113D40 81 84 00 00 */ lwz r12, 0(r4) +/* 80116DE4 00113D44 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80116DE8 00113D48 7D 89 03 A6 */ mtctr r12 +/* 80116DEC 00113D4C 4E 80 04 21 */ bctrl +/* 80116DF0 00113D50 3B E1 00 18 */ addi r31, r1, 0x18 +/* 80116DF4 00113D54 38 81 00 08 */ addi r4, r1, 8 +/* 80116DF8 00113D58 7F E3 FB 78 */ mr r3, r31 +/* 80116DFC 00113D5C 48 22 A0 AD */ bl __ct__6CTokenFRC6CToken +/* 80116E00 00113D60 7F E3 FB 78 */ mr r3, r31 +/* 80116E04 00113D64 48 22 A0 09 */ bl GetObj__6CTokenFv +/* 80116E08 00113D68 80 63 00 04 */ lwz r3, 4(r3) +/* 80116E0C 00113D6C 37 FE 00 1C */ addic. r31, r30, 0x1c +/* 80116E10 00113D70 38 00 00 01 */ li r0, 1 +/* 80116E14 00113D74 90 61 00 20 */ stw r3, 0x20(r1) +/* 80116E18 00113D78 98 1E 00 28 */ stb r0, 0x28(r30) +/* 80116E1C 00113D7C 41 82 00 20 */ beq lbl_80116E3C +/* 80116E20 00113D80 7F E3 FB 78 */ mr r3, r31 +/* 80116E24 00113D84 38 81 00 18 */ addi r4, r1, 0x18 +/* 80116E28 00113D88 48 22 A0 81 */ bl __ct__6CTokenFRC6CToken +/* 80116E2C 00113D8C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80116E30 00113D90 7F E3 FB 78 */ mr r3, r31 +/* 80116E34 00113D94 90 1F 00 08 */ stw r0, 8(r31) +/* 80116E38 00113D98 48 22 9F 4D */ bl Lock__6CTokenFv +lbl_80116E3C: +/* 80116E3C 00113D9C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80116E40 00113DA0 38 80 00 00 */ li r4, 0 +/* 80116E44 00113DA4 48 22 9F FD */ bl __dt__6CTokenFv +/* 80116E48 00113DA8 38 61 00 08 */ addi r3, r1, 8 +/* 80116E4C 00113DAC 38 80 FF FF */ li r4, -1 +/* 80116E50 00113DB0 48 22 9F F1 */ bl __dt__6CTokenFv +/* 80116E54 00113DB4 38 00 00 00 */ li r0, 0 +/* 80116E58 00113DB8 7F C3 F3 78 */ mr r3, r30 +/* 80116E5C 00113DBC 98 1E 00 38 */ stb r0, 0x38(r30) +/* 80116E60 00113DC0 98 1E 00 48 */ stb r0, 0x48(r30) +/* 80116E64 00113DC4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80116E68 00113DC8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80116E6C 00113DCC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80116E70 00113DD0 7C 08 03 A6 */ mtlr r0 +/* 80116E74 00113DD4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80116E78 00113DD8 4E 80 00 20 */ blr + +.global __sinit_CModelData_cpp +__sinit_CModelData_cpp: +/* 80116E7C 00113DDC 3C A0 80 5A */ lis r5, skZero3f@ha +/* 80116E80 00113DE0 C4 C5 66 A0 */ lfsu f6, skZero3f@l(r5) +/* 80116E84 00113DE4 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80116E88 00113DE8 C4 63 66 60 */ lfsu f3, lbl_805A6660@l(r3) +/* 80116E8C 00113DEC 3C 80 80 47 */ lis r4, lbl_8046C538@ha +/* 80116E90 00113DF0 D4 C4 C5 38 */ stfsu f6, lbl_8046C538@l(r4) +/* 80116E94 00113DF4 C0 A5 00 04 */ lfs f5, 4(r5) +/* 80116E98 00113DF8 C0 85 00 08 */ lfs f4, 8(r5) +/* 80116E9C 00113DFC C0 43 00 04 */ lfs f2, 4(r3) +/* 80116EA0 00113E00 C0 23 00 08 */ lfs f1, 8(r3) +/* 80116EA4 00113E04 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80116EA8 00113E08 D0 A4 00 04 */ stfs f5, 4(r4) +/* 80116EAC 00113E0C D0 84 00 08 */ stfs f4, 8(r4) +/* 80116EB0 00113E10 D0 64 00 0C */ stfs f3, 0xc(r4) +/* 80116EB4 00113E14 D0 44 00 10 */ stfs f2, 0x10(r4) +/* 80116EB8 00113E18 D0 24 00 14 */ stfs f1, 0x14(r4) +/* 80116EBC 00113E1C D0 04 00 18 */ stfs f0, 0x18(r4) +/* 80116EC0 00113E20 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPathCamera.s b/asm/Kyoto_CWD/CPathCamera.s new file mode 100644 index 00000000..078f70e8 --- /dev/null +++ b/asm/Kyoto_CWD/CPathCamera.s @@ -0,0 +1,1095 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AcceptScriptMsg__11CPathCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CPathCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8012D91C 0012A87C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8012D920 0012A880 7C 08 02 A6 */ mflr r0 +/* 8012D924 0012A884 90 01 00 34 */ stw r0, 0x34(r1) +/* 8012D928 0012A888 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8012D92C 0012A88C 7C DF 33 78 */ mr r31, r6 +/* 8012D930 0012A890 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8012D934 0012A894 7C 9E 23 78 */ mr r30, r4 +/* 8012D938 0012A898 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8012D93C 0012A89C 7C 7D 1B 78 */ mr r29, r3 +/* 8012D940 0012A8A0 A0 05 00 00 */ lhz r0, 0(r5) +/* 8012D944 0012A8A4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8012D948 0012A8A8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8012D94C 0012A8AC 4B F2 D9 FD */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8012D950 0012A8B0 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 8012D954 0012A8B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012D958 0012A8B8 41 82 00 30 */ beq lbl_8012D988 +/* 8012D95C 0012A8BC 2C 1E 00 23 */ cmpwi r30, 0x23 +/* 8012D960 0012A8C0 41 82 00 08 */ beq lbl_8012D968 +/* 8012D964 0012A8C4 48 00 00 24 */ b lbl_8012D988 +lbl_8012D968: +/* 8012D968 0012A8C8 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8012D96C 0012A8CC 7F E6 FB 78 */ mr r6, r31 +/* 8012D970 0012A8D0 38 7D 01 88 */ addi r3, r29, 0x188 +/* 8012D974 0012A8D4 38 81 00 0C */ addi r4, r1, 0xc +/* 8012D978 0012A8D8 B0 01 00 08 */ sth r0, 8(r1) +/* 8012D97C 0012A8DC 38 BD 00 20 */ addi r5, r29, 0x20 +/* 8012D980 0012A8E0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8012D984 0012A8E4 4B F2 FC 21 */ bl "Initialise__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager" +lbl_8012D988: +/* 8012D988 0012A8E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8012D98C 0012A8EC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8012D990 0012A8F0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8012D994 0012A8F4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8012D998 0012A8F8 7C 08 03 A6 */ mtlr r0 +/* 8012D99C 0012A8FC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8012D9A0 0012A900 4E 80 00 20 */ blr + +.global Render__11CPathCameraCFRC13CStateManager +Render__11CPathCameraCFRC13CStateManager: +/* 8012D9A4 0012A904 4E 80 00 20 */ blr + +.global Accept__11CPathCameraFR8IVisitor +Accept__11CPathCameraFR8IVisitor: +/* 8012D9A8 0012A908 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012D9AC 0012A90C 7C 08 02 A6 */ mflr r0 +/* 8012D9B0 0012A910 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012D9B4 0012A914 7C 60 1B 78 */ mr r0, r3 +/* 8012D9B8 0012A918 7C 83 23 78 */ mr r3, r4 +/* 8012D9BC 0012A91C 81 84 00 00 */ lwz r12, 0(r4) +/* 8012D9C0 0012A920 7C 04 03 78 */ mr r4, r0 +/* 8012D9C4 0012A924 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 8012D9C8 0012A928 7D 89 03 A6 */ mtctr r12 +/* 8012D9CC 0012A92C 4E 80 04 21 */ bctrl +/* 8012D9D0 0012A930 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012D9D4 0012A934 7C 08 03 A6 */ mtlr r0 +/* 8012D9D8 0012A938 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012D9DC 0012A93C 4E 80 00 20 */ blr + +.global ProcessInput__11CPathCameraFRC11CFinalInputR13CStateManager +ProcessInput__11CPathCameraFRC11CFinalInputR13CStateManager: +/* 8012D9E0 0012A940 4E 80 00 20 */ blr + +.global Think__11CPathCameraFfR13CStateManager +Think__11CPathCameraFfR13CStateManager: +/* 8012D9E4 0012A944 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 8012D9E8 0012A948 7C 08 02 A6 */ mflr r0 +/* 8012D9EC 0012A94C 90 01 01 84 */ stw r0, 0x184(r1) +/* 8012D9F0 0012A950 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 8012D9F4 0012A954 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 8012D9F8 0012A958 93 E1 01 6C */ stw r31, 0x16c(r1) +/* 8012D9FC 0012A95C 93 C1 01 68 */ stw r30, 0x168(r1) +/* 8012DA00 0012A960 93 A1 01 64 */ stw r29, 0x164(r1) +/* 8012DA04 0012A964 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8012DA08 0012A968 FF E0 08 90 */ fmr f31, f1 +/* 8012DA0C 0012A96C 7C 7F 1B 78 */ mr r31, r3 +/* 8012DA10 0012A970 7C 9D 23 78 */ mr r29, r4 +/* 8012DA14 0012A974 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012DA18 0012A978 41 82 03 00 */ beq lbl_8012DD18 +/* 8012DA1C 0012A97C A3 DF 00 08 */ lhz r30, 8(r31) +/* 8012DA20 0012A980 38 61 00 08 */ addi r3, r1, 8 +/* 8012DA24 0012A984 80 9D 08 70 */ lwz r4, 0x870(r29) +/* 8012DA28 0012A988 4B ED B8 95 */ bl GetPathCameraId__14CCameraManagerCFv +/* 8012DA2C 0012A98C A0 01 00 08 */ lhz r0, 8(r1) +/* 8012DA30 0012A990 7C 00 F0 40 */ cmplw r0, r30 +/* 8012DA34 0012A994 40 82 02 E4 */ bne lbl_8012DD18 +/* 8012DA38 0012A998 38 61 01 2C */ addi r3, r1, 0x12c +/* 8012DA3C 0012A99C 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8012DA40 0012A9A0 48 1E 51 35 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8012DA44 0012A9A4 80 1F 01 90 */ lwz r0, 0x190(r31) +/* 8012DA48 0012A9A8 2C 00 00 00 */ cmpwi r0, 0 +/* 8012DA4C 0012A9AC 40 81 02 CC */ ble lbl_8012DD18 +/* 8012DA50 0012A9B0 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 8012DA54 0012A9B4 80 83 00 80 */ lwz r4, 0x80(r3) +/* 8012DA58 0012A9B8 C0 04 01 D8 */ lfs f0, 0x1d8(r4) +/* 8012DA5C 0012A9BC D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8012DA60 0012A9C0 C0 04 01 DC */ lfs f0, 0x1dc(r4) +/* 8012DA64 0012A9C4 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8012DA68 0012A9C8 C0 04 01 E0 */ lfs f0, 0x1e0(r4) +/* 8012DA6C 0012A9CC D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8012DA70 0012A9D0 80 1F 01 EC */ lwz r0, 0x1ec(r31) +/* 8012DA74 0012A9D4 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b +/* 8012DA78 0012A9D8 41 82 00 30 */ beq lbl_8012DAA8 +/* 8012DA7C 0012A9DC 7F A4 EB 78 */ mr r4, r29 +/* 8012DA80 0012A9E0 4B ED B9 51 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager +/* 8012DA84 0012A9E4 28 03 00 00 */ cmplwi r3, 0 +/* 8012DA88 0012A9E8 41 82 00 20 */ beq lbl_8012DAA8 +/* 8012DA8C 0012A9EC C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8012DA90 0012A9F0 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8012DA94 0012A9F4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8012DA98 0012A9F8 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8012DA9C 0012A9FC D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8012DAA0 0012AA00 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8012DAA4 0012AA04 D0 41 00 68 */ stfs f2, 0x68(r1) +lbl_8012DAA8: +/* 8012DAA8 0012AA08 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8012DAAC 0012AA0C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8012DAB0 0012AA10 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8012DAB4 0012AA14 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8012DAB8 0012AA18 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 8012DABC 0012AA1C EC 81 00 28 */ fsubs f4, f1, f0 +/* 8012DAC0 0012AA20 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8012DAC4 0012AA24 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8012DAC8 0012AA28 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8012DACC 0012AA2C D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8012DAD0 0012AA30 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012DAD4 0012AA34 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 8012DAD8 0012AA38 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8012DADC 0012AA3C 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 8012DAE0 0012AA40 C0 04 01 38 */ lfs f0, 0x138(r4) +/* 8012DAE4 0012AA44 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8012DAE8 0012AA48 C0 04 01 3C */ lfs f0, 0x13c(r4) +/* 8012DAEC 0012AA4C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8012DAF0 0012AA50 C0 04 01 40 */ lfs f0, 0x140(r4) +/* 8012DAF4 0012AA54 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8012DAF8 0012AA58 48 1E 6C 01 */ bl CanBeNormalized__9CVector3fCFv +/* 8012DAFC 0012AA5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012DB00 0012AA60 40 82 00 D0 */ bne lbl_8012DBD0 +/* 8012DB04 0012AA64 38 61 00 54 */ addi r3, r1, 0x54 +/* 8012DB08 0012AA68 48 1E 6B F1 */ bl CanBeNormalized__9CVector3fCFv +/* 8012DB0C 0012AA6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012DB10 0012AA70 41 82 00 C0 */ beq lbl_8012DBD0 +/* 8012DB14 0012AA74 80 1F 01 EC */ lwz r0, 0x1ec(r31) +/* 8012DB18 0012AA78 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8012DB1C 0012AA7C 41 82 00 4C */ beq lbl_8012DB68 +/* 8012DB20 0012AA80 C0 3F 01 D4 */ lfs f1, 0x1d4(r31) +/* 8012DB24 0012AA84 38 61 00 FC */ addi r3, r1, 0xfc +/* 8012DB28 0012AA88 38 9F 01 88 */ addi r4, r31, 0x188 +/* 8012DB2C 0012AA8C 4B F2 DF 55 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf +/* 8012DB30 0012AA90 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8012DB34 0012AA94 38 81 00 FC */ addi r4, r1, 0xfc +/* 8012DB38 0012AA98 48 1E 50 09 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8012DB3C 0012AA9C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DB40 0012AAA0 38 60 00 01 */ li r3, 1 +/* 8012DB44 0012AAA4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8012DB48 0012AAA8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DB4C 0012AAAC 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DB50 0012AAB0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8012DB54 0012AAB4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DB58 0012AAB8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DB5C 0012AABC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8012DB60 0012AAC0 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DB64 0012AAC4 48 00 01 B4 */ b lbl_8012DD18 +lbl_8012DB68: +/* 8012DB68 0012AAC8 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8012DB6C 0012AACC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8012DB70 0012AAD0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8012DB74 0012AAD4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8012DB78 0012AAD8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8012DB7C 0012AADC 38 61 00 CC */ addi r3, r1, 0xcc +/* 8012DB80 0012AAE0 38 81 00 24 */ addi r4, r1, 0x24 +/* 8012DB84 0012AAE4 38 A1 00 60 */ addi r5, r1, 0x60 +/* 8012DB88 0012AAE8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8012DB8C 0012AAEC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8012DB90 0012AAF0 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8012DB94 0012AAF4 48 1E 5F 7D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8012DB98 0012AAF8 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8012DB9C 0012AAFC 38 81 00 CC */ addi r4, r1, 0xcc +/* 8012DBA0 0012AB00 48 1E 4F A1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8012DBA4 0012AB04 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DBA8 0012AB08 38 60 00 01 */ li r3, 1 +/* 8012DBAC 0012AB0C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8012DBB0 0012AB10 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DBB4 0012AB14 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DBB8 0012AB18 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8012DBBC 0012AB1C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DBC0 0012AB20 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DBC4 0012AB24 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8012DBC8 0012AB28 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DBCC 0012AB2C 48 00 01 4C */ b lbl_8012DD18 +lbl_8012DBD0: +/* 8012DBD0 0012AB30 FC 20 F8 90 */ fmr f1, f31 +/* 8012DBD4 0012AB34 7F E4 FB 78 */ mr r4, r31 +/* 8012DBD8 0012AB38 7F A5 EB 78 */ mr r5, r29 +/* 8012DBDC 0012AB3C 38 61 00 9C */ addi r3, r1, 0x9c +/* 8012DBE0 0012AB40 48 00 02 51 */ bl MoveAlongSpline__11CPathCameraFfR13CStateManager +/* 8012DBE4 0012AB44 38 61 01 2C */ addi r3, r1, 0x12c +/* 8012DBE8 0012AB48 38 81 00 9C */ addi r4, r1, 0x9c +/* 8012DBEC 0012AB4C 48 1E 4F 55 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8012DBF0 0012AB50 C0 41 01 38 */ lfs f2, 0x138(r1) +/* 8012DBF4 0012AB54 7F E3 FB 78 */ mr r3, r31 +/* 8012DBF8 0012AB58 C0 21 01 48 */ lfs f1, 0x148(r1) +/* 8012DBFC 0012AB5C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8012DC00 0012AB60 C0 01 01 58 */ lfs f0, 0x158(r1) +/* 8012DC04 0012AB64 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8012DC08 0012AB68 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8012DC0C 0012AB6C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8012DC10 0012AB70 4B F2 52 7D */ bl SetTranslation__6CActorFRC9CVector3f +/* 8012DC14 0012AB74 80 1F 01 EC */ lwz r0, 0x1ec(r31) +/* 8012DC18 0012AB78 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a +/* 8012DC1C 0012AB7C 41 82 00 10 */ beq lbl_8012DC2C +/* 8012DC20 0012AB80 7F E3 FB 78 */ mr r3, r31 +/* 8012DC24 0012AB84 7F A4 EB 78 */ mr r4, r29 +/* 8012DC28 0012AB88 48 00 01 15 */ bl ClampToClosedDoor__11CPathCameraFR13CStateManager +lbl_8012DC2C: +/* 8012DC2C 0012AB8C C0 21 00 68 */ lfs f1, 0x68(r1) +/* 8012DC30 0012AB90 38 61 00 3C */ addi r3, r1, 0x3c +/* 8012DC34 0012AB94 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8012DC38 0012AB98 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 8012DC3C 0012AB9C C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 8012DC40 0012ABA0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8012DC44 0012ABA4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8012DC48 0012ABA8 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 8012DC4C 0012ABAC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8012DC50 0012ABB0 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 8012DC54 0012ABB4 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8012DC58 0012ABB8 C0 02 98 A8 */ lfs f0, lbl_805AB5C8@sda21(r2) +/* 8012DC5C 0012ABBC D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8012DC60 0012ABC0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8012DC64 0012ABC4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8012DC68 0012ABC8 48 1E 6A 91 */ bl CanBeNormalized__9CVector3fCFv +/* 8012DC6C 0012ABCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012DC70 0012ABD0 41 82 00 68 */ beq lbl_8012DCD8 +/* 8012DC74 0012ABD4 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8012DC78 0012ABD8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8012DC7C 0012ABDC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8012DC80 0012ABE0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8012DC84 0012ABE4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8012DC88 0012ABE8 38 61 00 6C */ addi r3, r1, 0x6c +/* 8012DC8C 0012ABEC 38 81 00 0C */ addi r4, r1, 0xc +/* 8012DC90 0012ABF0 38 A1 00 60 */ addi r5, r1, 0x60 +/* 8012DC94 0012ABF4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8012DC98 0012ABF8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8012DC9C 0012ABFC D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8012DCA0 0012AC00 48 1E 5E 71 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8012DCA4 0012AC04 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8012DCA8 0012AC08 38 81 00 6C */ addi r4, r1, 0x6c +/* 8012DCAC 0012AC0C 48 1E 4E 95 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8012DCB0 0012AC10 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DCB4 0012AC14 38 60 00 01 */ li r3, 1 +/* 8012DCB8 0012AC18 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8012DCBC 0012AC1C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DCC0 0012AC20 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DCC4 0012AC24 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8012DCC8 0012AC28 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DCCC 0012AC2C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DCD0 0012AC30 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8012DCD4 0012AC34 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_8012DCD8: +/* 8012DCD8 0012AC38 80 1F 01 EC */ lwz r0, 0x1ec(r31) +/* 8012DCDC 0012AC3C 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d +/* 8012DCE0 0012AC40 41 82 00 38 */ beq lbl_8012DD18 +/* 8012DCE4 0012AC44 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8012DCE8 0012AC48 38 81 01 2C */ addi r4, r1, 0x12c +/* 8012DCEC 0012AC4C 48 1E 4E 55 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8012DCF0 0012AC50 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DCF4 0012AC54 38 60 00 01 */ li r3, 1 +/* 8012DCF8 0012AC58 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8012DCFC 0012AC5C 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DD00 0012AC60 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DD04 0012AC64 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8012DD08 0012AC68 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8012DD0C 0012AC6C 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8012DD10 0012AC70 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8012DD14 0012AC74 98 1F 00 E4 */ stb r0, 0xe4(r31) +lbl_8012DD18: +/* 8012DD18 0012AC78 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 8012DD1C 0012AC7C 80 01 01 84 */ lwz r0, 0x184(r1) +/* 8012DD20 0012AC80 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 8012DD24 0012AC84 83 E1 01 6C */ lwz r31, 0x16c(r1) +/* 8012DD28 0012AC88 83 C1 01 68 */ lwz r30, 0x168(r1) +/* 8012DD2C 0012AC8C 83 A1 01 64 */ lwz r29, 0x164(r1) +/* 8012DD30 0012AC90 7C 08 03 A6 */ mtlr r0 +/* 8012DD34 0012AC94 38 21 01 80 */ addi r1, r1, 0x180 +/* 8012DD38 0012AC98 4E 80 00 20 */ blr + +.global ClampToClosedDoor__11CPathCameraFR13CStateManager +ClampToClosedDoor__11CPathCameraFR13CStateManager: +/* 8012DD3C 0012AC9C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8012DD40 0012ACA0 7C 08 02 A6 */ mflr r0 +/* 8012DD44 0012ACA4 90 01 00 74 */ stw r0, 0x74(r1) +/* 8012DD48 0012ACA8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8012DD4C 0012ACAC 7C 9F 23 78 */ mr r31, r4 +/* 8012DD50 0012ACB0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8012DD54 0012ACB4 7C 7E 1B 78 */ mr r30, r3 +/* 8012DD58 0012ACB8 7F E3 FB 78 */ mr r3, r31 +/* 8012DD5C 0012ACBC 80 A4 08 70 */ lwz r5, 0x870(r4) +/* 8012DD60 0012ACC0 38 81 00 0C */ addi r4, r1, 0xc +/* 8012DD64 0012ACC4 80 A5 00 80 */ lwz r5, 0x80(r5) +/* 8012DD68 0012ACC8 A0 05 03 DC */ lhz r0, 0x3dc(r5) +/* 8012DD6C 0012ACCC B0 01 00 08 */ sth r0, 8(r1) +/* 8012DD70 0012ACD0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8012DD74 0012ACD4 4B F1 E8 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8012DD78 0012ACD8 7C 64 1B 78 */ mr r4, r3 +/* 8012DD7C 0012ACDC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8012DD80 0012ACE0 4B F7 C3 71 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 8012DD84 0012ACE4 80 63 00 04 */ lwz r3, 4(r3) +/* 8012DD88 0012ACE8 28 03 00 00 */ cmplwi r3, 0 +/* 8012DD8C 0012ACEC 41 82 00 8C */ beq lbl_8012DE18 +/* 8012DD90 0012ACF0 88 03 02 A8 */ lbz r0, 0x2a8(r3) +/* 8012DD94 0012ACF4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8012DD98 0012ACF8 40 82 00 80 */ bne lbl_8012DE18 +/* 8012DD9C 0012ACFC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8012DDA0 0012AD00 7F E4 FB 78 */ mr r4, r31 +/* 8012DDA4 0012AD04 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8012DDA8 0012AD08 38 61 00 18 */ addi r3, r1, 0x18 +/* 8012DDAC 0012AD0C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8012DDB0 0012AD10 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8012DDB4 0012AD14 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8012DDB8 0012AD18 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8012DDBC 0012AD1C 4B F5 53 81 */ bl IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager +/* 8012DDC0 0012AD20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012DDC4 0012AD24 41 82 00 54 */ beq lbl_8012DE18 +/* 8012DDC8 0012AD28 C0 5E 01 D8 */ lfs f2, 0x1d8(r30) +/* 8012DDCC 0012AD2C C0 7E 01 DC */ lfs f3, 0x1dc(r30) +/* 8012DDD0 0012AD30 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) +/* 8012DDD4 0012AD34 EC 22 18 2A */ fadds f1, f2, f3 +/* 8012DDD8 0012AD38 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8012DDDC 0012AD3C 40 81 00 08 */ ble lbl_8012DDE4 +/* 8012DDE0 0012AD40 EC 22 18 28 */ fsubs f1, f2, f3 +lbl_8012DDE4: +/* 8012DDE4 0012AD44 D0 3E 01 D4 */ stfs f1, 0x1d4(r30) +/* 8012DDE8 0012AD48 38 61 00 30 */ addi r3, r1, 0x30 +/* 8012DDEC 0012AD4C 38 9E 01 88 */ addi r4, r30, 0x188 +/* 8012DDF0 0012AD50 4B F2 DC 91 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf +/* 8012DDF4 0012AD54 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 8012DDF8 0012AD58 7F C3 F3 78 */ mr r3, r30 +/* 8012DDFC 0012AD5C C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 8012DE00 0012AD60 38 81 00 24 */ addi r4, r1, 0x24 +/* 8012DE04 0012AD64 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8012DE08 0012AD68 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8012DE0C 0012AD6C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8012DE10 0012AD70 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8012DE14 0012AD74 4B F2 50 79 */ bl SetTranslation__6CActorFRC9CVector3f +lbl_8012DE18: +/* 8012DE18 0012AD78 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8012DE1C 0012AD7C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8012DE20 0012AD80 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8012DE24 0012AD84 7C 08 03 A6 */ mtlr r0 +/* 8012DE28 0012AD88 38 21 00 70 */ addi r1, r1, 0x70 +/* 8012DE2C 0012AD8C 4E 80 00 20 */ blr + +.global MoveAlongSpline__11CPathCameraFfR13CStateManager +MoveAlongSpline__11CPathCameraFfR13CStateManager: +/* 8012DE30 0012AD90 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8012DE34 0012AD94 7C 08 02 A6 */ mflr r0 +/* 8012DE38 0012AD98 90 01 01 44 */ stw r0, 0x144(r1) +/* 8012DE3C 0012AD9C DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8012DE40 0012ADA0 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8012DE44 0012ADA4 DB C1 01 20 */ stfd f30, 0x120(r1) +/* 8012DE48 0012ADA8 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 8012DE4C 0012ADAC DB A1 01 10 */ stfd f29, 0x110(r1) +/* 8012DE50 0012ADB0 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 8012DE54 0012ADB4 DB 81 01 00 */ stfd f28, 0x100(r1) +/* 8012DE58 0012ADB8 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 8012DE5C 0012ADBC 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8012DE60 0012ADC0 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8012DE64 0012ADC4 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 8012DE68 0012ADC8 FF A0 08 90 */ fmr f29, f1 +/* 8012DE6C 0012ADCC 7C 9E 23 78 */ mr r30, r4 +/* 8012DE70 0012ADD0 7C 7D 1B 78 */ mr r29, r3 +/* 8012DE74 0012ADD4 7C BF 2B 78 */ mr r31, r5 +/* 8012DE78 0012ADD8 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8012DE7C 0012ADDC 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8012DE80 0012ADE0 48 1E 4C F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8012DE84 0012ADE4 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8012DE88 0012ADE8 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012DE8C 0012ADEC 38 81 00 0C */ addi r4, r1, 0xc +/* 8012DE90 0012ADF0 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8012DE94 0012ADF4 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8012DE98 0012ADF8 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8012DE9C 0012ADFC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8012DEA0 0012AE00 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8012DEA4 0012AE04 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8012DEA8 0012AE08 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8012DEAC 0012AE0C 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8012DEB0 0012AE10 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8012DEB4 0012AE14 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8012DEB8 0012AE18 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8012DEBC 0012AE1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012DEC0 0012AE20 C0 3E 01 D8 */ lfs f1, 0x1d8(r30) +/* 8012DEC4 0012AE24 4B F2 D5 0D */ bl FindClosestLengthOnSpline__13CCameraSplineCFf9CVector3f +/* 8012DEC8 0012AE28 FF E0 08 90 */ fmr f31, f1 +/* 8012DECC 0012AE2C D3 FE 01 D8 */ stfs f31, 0x1d8(r30) +/* 8012DED0 0012AE30 80 1E 01 EC */ lwz r0, 0x1ec(r30) +/* 8012DED4 0012AE34 C3 DE 01 DC */ lfs f30, 0x1dc(r30) +/* 8012DED8 0012AE38 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c +/* 8012DEDC 0012AE3C 41 82 00 E0 */ beq lbl_8012DFBC +/* 8012DEE0 0012AE40 C3 82 98 A8 */ lfs f28, lbl_805AB5C8@sda21(r2) +/* 8012DEE4 0012AE44 38 61 00 90 */ addi r3, r1, 0x90 +/* 8012DEE8 0012AE48 38 9E 01 88 */ addi r4, r30, 0x188 +/* 8012DEEC 0012AE4C 4B F2 DB 95 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf +/* 8012DEF0 0012AE50 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8012DEF4 0012AE54 38 61 00 18 */ addi r3, r1, 0x18 +/* 8012DEF8 0012AE58 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 8012DEFC 0012AE5C C0 61 00 28 */ lfs f3, 0x28(r1) +/* 8012DF00 0012AE60 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8012DF04 0012AE64 C0 41 00 AC */ lfs f2, 0xac(r1) +/* 8012DF08 0012AE68 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8012DF0C 0012AE6C C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 8012DF10 0012AE70 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8012DF14 0012AE74 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8012DF18 0012AE78 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8012DF1C 0012AE7C C0 02 98 A8 */ lfs f0, lbl_805AB5C8@sda21(r2) +/* 8012DF20 0012AE80 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8012DF24 0012AE84 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8012DF28 0012AE88 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8012DF2C 0012AE8C 48 1E 67 CD */ bl CanBeNormalized__9CVector3fCFv +/* 8012DF30 0012AE90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012DF34 0012AE94 41 82 00 10 */ beq lbl_8012DF44 +/* 8012DF38 0012AE98 38 61 00 18 */ addi r3, r1, 0x18 +/* 8012DF3C 0012AE9C 48 1E 69 7D */ bl Magnitude__9CVector3fCFv +/* 8012DF40 0012AEA0 FF 80 08 90 */ fmr f28, f1 +lbl_8012DF44: +/* 8012DF44 0012AEA4 C0 5E 01 F0 */ lfs f2, 0x1f0(r30) +/* 8012DF48 0012AEA8 38 81 00 08 */ addi r4, r1, 8 +/* 8012DF4C 0012AEAC C0 1E 01 F4 */ lfs f0, 0x1f4(r30) +/* 8012DF50 0012AEB0 38 6D 8A FC */ addi r3, r13, lbl_805A76BC@sda21 +/* 8012DF54 0012AEB4 EC 3C 10 28 */ fsubs f1, f28, f2 +/* 8012DF58 0012AEB8 38 AD 8B 00 */ addi r5, r13, lbl_805A76C0@sda21 +/* 8012DF5C 0012AEBC EC 00 10 28 */ fsubs f0, f0, f2 +/* 8012DF60 0012AEC0 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8012DF64 0012AEC4 D0 01 00 08 */ stfs f0, 8(r1) +/* 8012DF68 0012AEC8 4B ED E3 4D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8012DF6C 0012AECC C0 43 00 00 */ lfs f2, 0(r3) +/* 8012DF70 0012AED0 C0 02 98 B0 */ lfs f0, lbl_805AB5D0@sda21(r2) +/* 8012DF74 0012AED4 C0 22 98 AC */ lfs f1, lbl_805AB5CC@sda21(r2) +/* 8012DF78 0012AED8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8012DF7C 0012AEDC EC 21 00 32 */ fmuls f1, f1, f0 +/* 8012DF80 0012AEE0 48 26 6B 5D */ bl sin +/* 8012DF84 0012AEE4 FC 20 08 18 */ frsp f1, f1 +/* 8012DF88 0012AEE8 C8 02 98 B8 */ lfd f0, lbl_805AB5D8@sda21(r2) +/* 8012DF8C 0012AEEC FC 20 0A 10 */ fabs f1, f1 +/* 8012DF90 0012AEF0 FC 40 08 18 */ frsp f2, f1 +/* 8012DF94 0012AEF4 FC 20 12 10 */ fabs f1, f2 +/* 8012DF98 0012AEF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012DF9C 0012AEFC 40 81 00 14 */ ble lbl_8012DFB0 +/* 8012DFA0 0012AF00 C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) +/* 8012DFA4 0012AF04 C0 22 98 C4 */ lfs f1, lbl_805AB5E4@sda21(r2) +/* 8012DFA8 0012AF08 FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 8012DFAC 0012AF0C EC 41 00 32 */ fmuls f2, f1, f0 +lbl_8012DFB0: +/* 8012DFB0 0012AF10 C0 02 98 C4 */ lfs f0, lbl_805AB5E4@sda21(r2) +/* 8012DFB4 0012AF14 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8012DFB8 0012AF18 EF DE 00 32 */ fmuls f30, f30, f0 +lbl_8012DFBC: +/* 8012DFBC 0012AF1C 88 1E 01 D0 */ lbz r0, 0x1d0(r30) +/* 8012DFC0 0012AF20 28 00 00 00 */ cmplwi r0, 0 +/* 8012DFC4 0012AF24 41 82 00 74 */ beq lbl_8012E038 +/* 8012DFC8 0012AF28 EC 3F F0 2A */ fadds f1, f31, f30 +/* 8012DFCC 0012AF2C 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012DFD0 0012AF30 4B F2 E2 59 */ bl ValidateLength__13CCameraSplineCFf +/* 8012DFD4 0012AF34 FC 00 08 90 */ fmr f0, f1 +/* 8012DFD8 0012AF38 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012DFDC 0012AF3C EC 3F F0 28 */ fsubs f1, f31, f30 +/* 8012DFE0 0012AF40 FF 80 00 90 */ fmr f28, f0 +/* 8012DFE4 0012AF44 4B F2 E2 45 */ bl ValidateLength__13CCameraSplineCFf +/* 8012DFE8 0012AF48 C0 7E 01 D4 */ lfs f3, 0x1d4(r30) +/* 8012DFEC 0012AF4C C0 1E 01 CC */ lfs f0, 0x1cc(r30) +/* 8012DFF0 0012AF50 EC 43 F8 28 */ fsubs f2, f3, f31 +/* 8012DFF4 0012AF54 FC 03 F8 40 */ fcmpo cr0, f3, f31 +/* 8012DFF8 0012AF58 FC 40 12 10 */ fabs f2, f2 +/* 8012DFFC 0012AF5C FC 40 10 18 */ frsp f2, f2 +/* 8012E000 0012AF60 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8012E004 0012AF64 40 81 00 1C */ ble lbl_8012E020 +/* 8012E008 0012AF68 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8012E00C 0012AF6C 4C 40 13 82 */ cror 2, 0, 2 +/* 8012E010 0012AF70 40 82 00 50 */ bne lbl_8012E060 +/* 8012E014 0012AF74 FC 20 E0 90 */ fmr f1, f28 +/* 8012E018 0012AF78 48 00 00 48 */ b lbl_8012E060 +/* 8012E01C 0012AF7C 48 00 00 44 */ b lbl_8012E060 +lbl_8012E020: +/* 8012E020 0012AF80 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8012E024 0012AF84 4C 40 13 82 */ cror 2, 0, 2 +/* 8012E028 0012AF88 40 82 00 08 */ bne lbl_8012E030 +/* 8012E02C 0012AF8C 48 00 00 34 */ b lbl_8012E060 +lbl_8012E030: +/* 8012E030 0012AF90 FC 20 E0 90 */ fmr f1, f28 +/* 8012E034 0012AF94 48 00 00 2C */ b lbl_8012E060 +lbl_8012E038: +/* 8012E038 0012AF98 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) +/* 8012E03C 0012AF9C FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 8012E040 0012AFA0 40 81 00 14 */ ble lbl_8012E054 +/* 8012E044 0012AFA4 EC 3F F0 2A */ fadds f1, f31, f30 +/* 8012E048 0012AFA8 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012E04C 0012AFAC 4B F2 E1 DD */ bl ValidateLength__13CCameraSplineCFf +/* 8012E050 0012AFB0 48 00 00 10 */ b lbl_8012E060 +lbl_8012E054: +/* 8012E054 0012AFB4 EC 3F F0 28 */ fsubs f1, f31, f30 +/* 8012E058 0012AFB8 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012E05C 0012AFBC 4B F2 E1 CD */ bl ValidateLength__13CCameraSplineCFf +lbl_8012E060: +/* 8012E060 0012AFC0 80 1E 01 EC */ lwz r0, 0x1ec(r30) +/* 8012E064 0012AFC4 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 8012E068 0012AFC8 41 82 00 28 */ beq lbl_8012E090 +/* 8012E06C 0012AFCC D0 3E 01 D4 */ stfs f1, 0x1d4(r30) +/* 8012E070 0012AFD0 38 61 00 60 */ addi r3, r1, 0x60 +/* 8012E074 0012AFD4 38 9E 01 88 */ addi r4, r30, 0x188 +/* 8012E078 0012AFD8 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) +/* 8012E07C 0012AFDC 4B F2 DA 05 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf +/* 8012E080 0012AFE0 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8012E084 0012AFE4 38 81 00 60 */ addi r4, r1, 0x60 +/* 8012E088 0012AFE8 48 1E 4A B9 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8012E08C 0012AFEC 48 00 01 34 */ b lbl_8012E1C0 +lbl_8012E090: +/* 8012E090 0012AFF0 88 1E 01 D0 */ lbz r0, 0x1d0(r30) +/* 8012E094 0012AFF4 28 00 00 00 */ cmplwi r0, 0 +/* 8012E098 0012AFF8 41 82 00 BC */ beq lbl_8012E154 +/* 8012E09C 0012AFFC C0 5E 01 D4 */ lfs f2, 0x1d4(r30) +/* 8012E0A0 0012B000 C0 1E 01 CC */ lfs f0, 0x1cc(r30) +/* 8012E0A4 0012B004 EC 41 10 28 */ fsubs f2, f1, f2 +/* 8012E0A8 0012B008 FC 40 12 10 */ fabs f2, f2 +/* 8012E0AC 0012B00C FC 40 10 18 */ frsp f2, f2 +/* 8012E0B0 0012B010 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8012E0B4 0012B014 FC 60 10 90 */ fmr f3, f2 +/* 8012E0B8 0012B018 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8012E0BC 0012B01C 40 81 00 08 */ ble lbl_8012E0C4 +/* 8012E0C0 0012B020 FC 60 00 90 */ fmr f3, f0 +lbl_8012E0C4: +/* 8012E0C4 0012B024 C0 5E 01 E4 */ lfs f2, 0x1e4(r30) +/* 8012E0C8 0012B028 C8 02 98 B8 */ lfd f0, lbl_805AB5D8@sda21(r2) +/* 8012E0CC 0012B02C EC A3 10 24 */ fdivs f5, f3, f2 +/* 8012E0D0 0012B030 FC 40 2A 10 */ fabs f2, f5 +/* 8012E0D4 0012B034 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8012E0D8 0012B038 40 81 00 14 */ ble lbl_8012E0EC +/* 8012E0DC 0012B03C C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) +/* 8012E0E0 0012B040 C0 42 98 C4 */ lfs f2, lbl_805AB5E4@sda21(r2) +/* 8012E0E4 0012B044 FC 05 00 AE */ fsel f0, f5, f2, f0 +/* 8012E0E8 0012B048 EC A2 00 32 */ fmuls f5, f2, f0 +lbl_8012E0EC: +/* 8012E0EC 0012B04C C0 7E 01 D4 */ lfs f3, 0x1d4(r30) +/* 8012E0F0 0012B050 C0 9E 01 E0 */ lfs f4, 0x1e0(r30) +/* 8012E0F4 0012B054 EC 43 08 28 */ fsubs f2, f3, f1 +/* 8012E0F8 0012B058 C0 1E 01 CC */ lfs f0, 0x1cc(r30) +/* 8012E0FC 0012B05C EC 84 07 72 */ fmuls f4, f4, f29 +/* 8012E100 0012B060 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 8012E104 0012B064 FC 20 12 10 */ fabs f1, f2 +/* 8012E108 0012B068 EC 45 01 32 */ fmuls f2, f5, f4 +/* 8012E10C 0012B06C FC 20 08 18 */ frsp f1, f1 +/* 8012E110 0012B070 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8012E114 0012B074 40 81 00 1C */ ble lbl_8012E130 +/* 8012E118 0012B078 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012E11C 0012B07C 4C 40 13 82 */ cror 2, 0, 2 +/* 8012E120 0012B080 40 82 00 20 */ bne lbl_8012E140 +/* 8012E124 0012B084 C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) +/* 8012E128 0012B088 EC 42 00 32 */ fmuls f2, f2, f0 +/* 8012E12C 0012B08C 48 00 00 14 */ b lbl_8012E140 +lbl_8012E130: +/* 8012E130 0012B090 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012E134 0012B094 40 81 00 0C */ ble lbl_8012E140 +/* 8012E138 0012B098 C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) +/* 8012E13C 0012B09C EC 42 00 32 */ fmuls f2, f2, f0 +lbl_8012E140: +/* 8012E140 0012B0A0 EC 23 10 2A */ fadds f1, f3, f2 +/* 8012E144 0012B0A4 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012E148 0012B0A8 4B F2 E0 E1 */ bl ValidateLength__13CCameraSplineCFf +/* 8012E14C 0012B0AC D0 3E 01 D4 */ stfs f1, 0x1d4(r30) +/* 8012E150 0012B0B0 48 00 00 54 */ b lbl_8012E1A4 +lbl_8012E154: +/* 8012E154 0012B0B4 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) +/* 8012E158 0012B0B8 C0 5E 01 E4 */ lfs f2, 0x1e4(r30) +/* 8012E15C 0012B0BC EC 21 00 28 */ fsubs f1, f1, f0 +/* 8012E160 0012B0C0 C8 02 98 B8 */ lfd f0, lbl_805AB5D8@sda21(r2) +/* 8012E164 0012B0C4 EC 41 10 24 */ fdivs f2, f1, f2 +/* 8012E168 0012B0C8 FC 20 12 10 */ fabs f1, f2 +/* 8012E16C 0012B0CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012E170 0012B0D0 40 81 00 14 */ ble lbl_8012E184 +/* 8012E174 0012B0D4 C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) +/* 8012E178 0012B0D8 C0 22 98 C4 */ lfs f1, lbl_805AB5E4@sda21(r2) +/* 8012E17C 0012B0DC FC 02 00 6E */ fsel f0, f2, f1, f0 +/* 8012E180 0012B0E0 EC 41 00 32 */ fmuls f2, f1, f0 +lbl_8012E184: +/* 8012E184 0012B0E4 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) +/* 8012E188 0012B0E8 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012E18C 0012B0EC C0 3E 01 D4 */ lfs f1, 0x1d4(r30) +/* 8012E190 0012B0F0 EC 00 07 72 */ fmuls f0, f0, f29 +/* 8012E194 0012B0F4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8012E198 0012B0F8 EC 21 00 2A */ fadds f1, f1, f0 +/* 8012E19C 0012B0FC 4B F2 E0 8D */ bl ValidateLength__13CCameraSplineCFf +/* 8012E1A0 0012B100 D0 3E 01 D4 */ stfs f1, 0x1d4(r30) +lbl_8012E1A4: +/* 8012E1A4 0012B104 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) +/* 8012E1A8 0012B108 38 61 00 30 */ addi r3, r1, 0x30 +/* 8012E1AC 0012B10C 38 9E 01 88 */ addi r4, r30, 0x188 +/* 8012E1B0 0012B110 4B F2 D8 D1 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf +/* 8012E1B4 0012B114 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8012E1B8 0012B118 38 81 00 30 */ addi r4, r1, 0x30 +/* 8012E1BC 0012B11C 48 1E 49 85 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_8012E1C0: +/* 8012E1C0 0012B120 7F A3 EB 78 */ mr r3, r29 +/* 8012E1C4 0012B124 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8012E1C8 0012B128 48 1E 49 AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8012E1CC 0012B12C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8012E1D0 0012B130 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8012E1D4 0012B134 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 8012E1D8 0012B138 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 8012E1DC 0012B13C E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 8012E1E0 0012B140 CB A1 01 10 */ lfd f29, 0x110(r1) +/* 8012E1E4 0012B144 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 8012E1E8 0012B148 CB 81 01 00 */ lfd f28, 0x100(r1) +/* 8012E1EC 0012B14C 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8012E1F0 0012B150 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8012E1F4 0012B154 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8012E1F8 0012B158 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 8012E1FC 0012B15C 7C 08 03 A6 */ mtlr r0 +/* 8012E200 0012B160 38 21 01 40 */ addi r1, r1, 0x140 +/* 8012E204 0012B164 4E 80 00 20 */ blr + +.global Reset__11CPathCameraFRC12CTransform4fR13CStateManager +Reset__11CPathCameraFRC12CTransform4fR13CStateManager: +/* 8012E208 0012B168 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 8012E20C 0012B16C 7C 08 02 A6 */ mflr r0 +/* 8012E210 0012B170 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 8012E214 0012B174 DB E1 02 B0 */ stfd f31, 0x2b0(r1) +/* 8012E218 0012B178 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 +/* 8012E21C 0012B17C DB C1 02 A0 */ stfd f30, 0x2a0(r1) +/* 8012E220 0012B180 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 +/* 8012E224 0012B184 DB A1 02 90 */ stfd f29, 0x290(r1) +/* 8012E228 0012B188 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 +/* 8012E22C 0012B18C DB 81 02 80 */ stfd f28, 0x280(r1) +/* 8012E230 0012B190 F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 +/* 8012E234 0012B194 DB 61 02 70 */ stfd f27, 0x270(r1) +/* 8012E238 0012B198 F3 61 02 78 */ psq_st f27, 632(r1), 0, qr0 +/* 8012E23C 0012B19C DB 41 02 60 */ stfd f26, 0x260(r1) +/* 8012E240 0012B1A0 F3 41 02 68 */ psq_st f26, 616(r1), 0, qr0 +/* 8012E244 0012B1A4 DB 21 02 50 */ stfd f25, 0x250(r1) +/* 8012E248 0012B1A8 F3 21 02 58 */ psq_st f25, 600(r1), 0, qr0 +/* 8012E24C 0012B1AC DB 01 02 40 */ stfd f24, 0x240(r1) +/* 8012E250 0012B1B0 F3 01 02 48 */ psq_st f24, 584(r1), 0, qr0 +/* 8012E254 0012B1B4 DA E1 02 30 */ stfd f23, 0x230(r1) +/* 8012E258 0012B1B8 F2 E1 02 38 */ psq_st f23, 568(r1), 0, qr0 +/* 8012E25C 0012B1BC 93 E1 02 2C */ stw r31, 0x22c(r1) +/* 8012E260 0012B1C0 93 C1 02 28 */ stw r30, 0x228(r1) +/* 8012E264 0012B1C4 93 A1 02 24 */ stw r29, 0x224(r1) +/* 8012E268 0012B1C8 7C BF 2B 78 */ mr r31, r5 +/* 8012E26C 0012B1CC 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 8012E270 0012B1D0 80 A5 08 4C */ lwz r5, 0x84c(r5) +/* 8012E274 0012B1D4 7C 7E 1B 78 */ mr r30, r3 +/* 8012E278 0012B1D8 C0 04 02 7C */ lfs f0, 0x27c(r4) +/* 8012E27C 0012B1DC 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012E280 0012B1E0 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8012E284 0012B1E4 38 81 00 50 */ addi r4, r1, 0x50 +/* 8012E288 0012B1E8 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8012E28C 0012B1EC EC 02 00 2A */ fadds f0, f2, f0 +/* 8012E290 0012B1F0 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 8012E294 0012B1F4 C0 45 00 40 */ lfs f2, 0x40(r5) +/* 8012E298 0012B1F8 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 8012E29C 0012B1FC C0 22 98 A8 */ lfs f1, lbl_805AB5C8@sda21(r2) +/* 8012E2A0 0012B200 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8012E2A4 0012B204 80 A1 00 A8 */ lwz r5, 0xa8(r1) +/* 8012E2A8 0012B208 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8012E2AC 0012B20C 80 C1 00 A4 */ lwz r6, 0xa4(r1) +/* 8012E2B0 0012B210 80 01 00 AC */ lwz r0, 0xac(r1) +/* 8012E2B4 0012B214 90 C1 00 50 */ stw r6, 0x50(r1) +/* 8012E2B8 0012B218 90 A1 00 54 */ stw r5, 0x54(r1) +/* 8012E2BC 0012B21C 90 01 00 58 */ stw r0, 0x58(r1) +/* 8012E2C0 0012B220 4B F2 D1 11 */ bl FindClosestLengthOnSpline__13CCameraSplineCFf9CVector3f +/* 8012E2C4 0012B224 FE E0 08 90 */ fmr f23, f1 +/* 8012E2C8 0012B228 C0 3E 01 DC */ lfs f1, 0x1dc(r30) +/* 8012E2CC 0012B22C C0 0D 8A F8 */ lfs f0, lbl_805A76B8@sda21(r13) +/* 8012E2D0 0012B230 EC 37 08 28 */ fsubs f1, f23, f1 +/* 8012E2D4 0012B234 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8012E2D8 0012B238 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8012E2DC 0012B23C 40 80 00 0C */ bge lbl_8012E2E8 +/* 8012E2E0 0012B240 38 61 00 10 */ addi r3, r1, 0x10 +/* 8012E2E4 0012B244 48 00 00 08 */ b lbl_8012E2EC +lbl_8012E2E8: +/* 8012E2E8 0012B248 38 6D 8A F8 */ addi r3, r13, lbl_805A76B8@sda21 +lbl_8012E2EC: +/* 8012E2EC 0012B24C C3 23 00 00 */ lfs f25, 0(r3) +/* 8012E2F0 0012B250 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 8012E2F4 0012B254 38 9E 01 88 */ addi r4, r30, 0x188 +/* 8012E2F8 0012B258 FC 20 C8 90 */ fmr f1, f25 +/* 8012E2FC 0012B25C 4B F2 D7 85 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf +/* 8012E300 0012B260 C0 3E 01 CC */ lfs f1, 0x1cc(r30) +/* 8012E304 0012B264 C3 A1 01 E4 */ lfs f29, 0x1e4(r1) +/* 8012E308 0012B268 D0 21 00 08 */ stfs f1, 8(r1) +/* 8012E30C 0012B26C C3 C1 01 D4 */ lfs f30, 0x1d4(r1) +/* 8012E310 0012B270 C0 1E 01 DC */ lfs f0, 0x1dc(r30) +/* 8012E314 0012B274 C3 E1 01 C4 */ lfs f31, 0x1c4(r1) +/* 8012E318 0012B278 EC 17 00 2A */ fadds f0, f23, f0 +/* 8012E31C 0012B27C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012E320 0012B280 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8012E324 0012B284 40 80 00 0C */ bge lbl_8012E330 +/* 8012E328 0012B288 38 61 00 08 */ addi r3, r1, 8 +/* 8012E32C 0012B28C 48 00 00 08 */ b lbl_8012E334 +lbl_8012E330: +/* 8012E330 0012B290 38 61 00 0C */ addi r3, r1, 0xc +lbl_8012E334: +/* 8012E334 0012B294 C3 03 00 00 */ lfs f24, 0(r3) +/* 8012E338 0012B298 38 61 01 88 */ addi r3, r1, 0x188 +/* 8012E33C 0012B29C 38 9E 01 88 */ addi r4, r30, 0x188 +/* 8012E340 0012B2A0 FC 20 C0 90 */ fmr f1, f24 +/* 8012E344 0012B2A4 4B F2 D7 3D */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf +/* 8012E348 0012B2A8 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 8012E34C 0012B2AC 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 8012E350 0012B2B0 C3 41 01 B4 */ lfs f26, 0x1b4(r1) +/* 8012E354 0012B2B4 80 84 00 80 */ lwz r4, 0x80(r4) +/* 8012E358 0012B2B8 C3 61 01 A4 */ lfs f27, 0x1a4(r1) +/* 8012E35C 0012B2BC C3 81 01 94 */ lfs f28, 0x194(r1) +/* 8012E360 0012B2C0 38 84 00 34 */ addi r4, r4, 0x34 +/* 8012E364 0012B2C4 48 1E 48 11 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8012E368 0012B2C8 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8012E36C 0012B2CC 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8012E370 0012B2D0 2C 00 00 01 */ cmpwi r0, 1 +/* 8012E374 0012B2D4 41 82 00 20 */ beq lbl_8012E394 +/* 8012E378 0012B2D8 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 8012E37C 0012B2DC 7F E5 FB 78 */ mr r5, r31 +/* 8012E380 0012B2E0 38 61 01 58 */ addi r3, r1, 0x158 +/* 8012E384 0012B2E4 4B ED C5 E5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 8012E388 0012B2E8 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 8012E38C 0012B2EC 38 81 01 58 */ addi r4, r1, 0x158 +/* 8012E390 0012B2F0 48 1E 47 B1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_8012E394: +/* 8012E394 0012B2F4 C0 41 02 14 */ lfs f2, 0x214(r1) +/* 8012E398 0012B2F8 3B A0 00 00 */ li r29, 0 +/* 8012E39C 0012B2FC C0 21 01 F4 */ lfs f1, 0x1f4(r1) +/* 8012E3A0 0012B300 C0 01 02 04 */ lfs f0, 0x204(r1) +/* 8012E3A4 0012B304 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8012E3A8 0012B308 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8012E3AC 0012B30C D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 8012E3B0 0012B310 80 1E 01 E8 */ lwz r0, 0x1e8(r30) +/* 8012E3B4 0012B314 2C 00 00 00 */ cmpwi r0, 0 +/* 8012E3B8 0012B318 40 82 00 88 */ bne lbl_8012E440 +/* 8012E3BC 0012B31C C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 8012E3C0 0012B320 38 61 00 8C */ addi r3, r1, 0x8c +/* 8012E3C4 0012B324 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 8012E3C8 0012B328 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8012E3CC 0012B32C EC 42 F0 28 */ fsubs f2, f2, f30 +/* 8012E3D0 0012B330 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 8012E3D4 0012B334 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8012E3D8 0012B338 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8012E3DC 0012B33C D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8012E3E0 0012B340 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 8012E3E4 0012B344 48 1E 63 15 */ bl CanBeNormalized__9CVector3fCFv +/* 8012E3E8 0012B348 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012E3EC 0012B34C 41 82 00 60 */ beq lbl_8012E44C +/* 8012E3F0 0012B350 38 61 00 38 */ addi r3, r1, 0x38 +/* 8012E3F4 0012B354 38 81 00 8C */ addi r4, r1, 0x8c +/* 8012E3F8 0012B358 48 1E 64 59 */ bl AsNormalized__9CVector3fCFv +/* 8012E3FC 0012B35C C0 81 01 FC */ lfs f4, 0x1fc(r1) +/* 8012E400 0012B360 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8012E404 0012B364 C0 A1 01 EC */ lfs f5, 0x1ec(r1) +/* 8012E408 0012B368 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8012E40C 0012B36C C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8012E410 0012B370 C0 61 02 0C */ lfs f3, 0x20c(r1) +/* 8012E414 0012B374 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 8012E418 0012B378 EC 25 00 7A */ fmadds f1, f5, f1, f0 +/* 8012E41C 0012B37C C0 02 98 A8 */ lfs f0, lbl_805AB5C8@sda21(r2) +/* 8012E420 0012B380 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 8012E424 0012B384 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 8012E428 0012B388 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 8012E42C 0012B38C D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 8012E430 0012B390 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012E434 0012B394 40 81 00 18 */ ble lbl_8012E44C +/* 8012E438 0012B398 3B A0 00 01 */ li r29, 1 +/* 8012E43C 0012B39C 48 00 00 10 */ b lbl_8012E44C +lbl_8012E440: +/* 8012E440 0012B3A0 20 00 00 01 */ subfic r0, r0, 1 +/* 8012E444 0012B3A4 7C 00 00 34 */ cntlzw r0, r0 +/* 8012E448 0012B3A8 54 1D D9 7E */ srwi r29, r0, 5 +lbl_8012E44C: +/* 8012E44C 0012B3AC C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 8012E450 0012B3B0 38 61 00 80 */ addi r3, r1, 0x80 +/* 8012E454 0012B3B4 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 8012E458 0012B3B8 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 8012E45C 0012B3BC EC 5E 10 28 */ fsubs f2, f30, f2 +/* 8012E460 0012B3C0 EC 3D 08 28 */ fsubs f1, f29, f1 +/* 8012E464 0012B3C4 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 8012E468 0012B3C8 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8012E46C 0012B3CC D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8012E470 0012B3D0 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8012E474 0012B3D4 48 1E 64 45 */ bl Magnitude__9CVector3fCFv +/* 8012E478 0012B3D8 FE E0 08 90 */ fmr f23, f1 +/* 8012E47C 0012B3DC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8012E480 0012B3E0 38 81 00 80 */ addi r4, r1, 0x80 +/* 8012E484 0012B3E4 48 1E 63 CD */ bl AsNormalized__9CVector3fCFv +/* 8012E488 0012B3E8 FC 20 B8 90 */ fmr f1, f23 +/* 8012E48C 0012B3EC 3C 60 80 47 */ lis r3, lbl_8046C720@ha +/* 8012E490 0012B3F0 38 E3 C7 20 */ addi r7, r3, lbl_8046C720@l +/* 8012E494 0012B3F4 7F E4 FB 78 */ mr r4, r31 +/* 8012E498 0012B3F8 38 61 01 28 */ addi r3, r1, 0x128 +/* 8012E49C 0012B3FC 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8012E4A0 0012B400 38 C1 00 2C */ addi r6, r1, 0x2c +/* 8012E4A4 0012B404 4B F1 EA F5 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8012E4A8 0012B408 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 8012E4AC 0012B40C 38 61 00 74 */ addi r3, r1, 0x74 +/* 8012E4B0 0012B410 C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 8012E4B4 0012B414 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 8012E4B8 0012B418 EC 5B 10 28 */ fsubs f2, f27, f2 +/* 8012E4BC 0012B41C EC 3A 08 28 */ fsubs f1, f26, f1 +/* 8012E4C0 0012B420 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 8012E4C4 0012B424 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 8012E4C8 0012B428 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8012E4CC 0012B42C D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 8012E4D0 0012B430 48 1E 63 E9 */ bl Magnitude__9CVector3fCFv +/* 8012E4D4 0012B434 FE E0 08 90 */ fmr f23, f1 +/* 8012E4D8 0012B438 38 61 00 20 */ addi r3, r1, 0x20 +/* 8012E4DC 0012B43C 38 81 00 74 */ addi r4, r1, 0x74 +/* 8012E4E0 0012B440 48 1E 63 71 */ bl AsNormalized__9CVector3fCFv +/* 8012E4E4 0012B444 FC 20 B8 90 */ fmr f1, f23 +/* 8012E4E8 0012B448 3C 60 80 47 */ lis r3, lbl_8046C720@ha +/* 8012E4EC 0012B44C 38 E3 C7 20 */ addi r7, r3, lbl_8046C720@l +/* 8012E4F0 0012B450 7F E4 FB 78 */ mr r4, r31 +/* 8012E4F4 0012B454 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8012E4F8 0012B458 38 A1 00 98 */ addi r5, r1, 0x98 +/* 8012E4FC 0012B45C 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8012E500 0012B460 4B F1 EA 99 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8012E504 0012B464 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8012E508 0012B468 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 8012E50C 0012B46C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8012E510 0012B470 C0 23 00 04 */ lfs f1, 4(r3) +/* 8012E514 0012B474 C0 03 00 08 */ lfs f0, 8(r3) +/* 8012E518 0012B478 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 8012E51C 0012B47C D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 8012E520 0012B480 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8012E524 0012B484 41 82 00 18 */ beq lbl_8012E53C +/* 8012E528 0012B488 D3 3E 01 D4 */ stfs f25, 0x1d4(r30) +/* 8012E52C 0012B48C D3 E1 00 68 */ stfs f31, 0x68(r1) +/* 8012E530 0012B490 D3 C1 00 6C */ stfs f30, 0x6c(r1) +/* 8012E534 0012B494 D3 A1 00 70 */ stfs f29, 0x70(r1) +/* 8012E538 0012B498 48 00 00 14 */ b lbl_8012E54C +lbl_8012E53C: +/* 8012E53C 0012B49C D3 1E 01 D4 */ stfs f24, 0x1d4(r30) +/* 8012E540 0012B4A0 D3 81 00 68 */ stfs f28, 0x68(r1) +/* 8012E544 0012B4A4 D3 61 00 6C */ stfs f27, 0x6c(r1) +/* 8012E548 0012B4A8 D3 41 00 70 */ stfs f26, 0x70(r1) +lbl_8012E54C: +/* 8012E54C 0012B4AC 80 1E 01 E8 */ lwz r0, 0x1e8(r30) +/* 8012E550 0012B4B0 2C 00 00 03 */ cmpwi r0, 3 +/* 8012E554 0012B4B4 40 82 00 84 */ bne lbl_8012E5D8 +/* 8012E558 0012B4B8 3C 60 80 47 */ lis r3, lbl_8046C720@ha +/* 8012E55C 0012B4BC 81 21 00 A4 */ lwz r9, 0xa4(r1) +/* 8012E560 0012B4C0 38 83 C7 20 */ addi r4, r3, lbl_8046C720@l +/* 8012E564 0012B4C4 81 01 00 A8 */ lwz r8, 0xa8(r1) +/* 8012E568 0012B4C8 C8 44 00 00 */ lfd f2, 0(r4) +/* 8012E56C 0012B4CC 7F E7 FB 78 */ mr r7, r31 +/* 8012E570 0012B4D0 C8 24 00 08 */ lfd f1, 8(r4) +/* 8012E574 0012B4D4 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012E578 0012B4D8 C8 04 00 10 */ lfd f0, 0x10(r4) +/* 8012E57C 0012B4DC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8012E580 0012B4E0 80 01 00 AC */ lwz r0, 0xac(r1) +/* 8012E584 0012B4E4 38 C1 00 B0 */ addi r6, r1, 0xb0 +/* 8012E588 0012B4E8 D8 41 00 B0 */ stfd f2, 0xb0(r1) +/* 8012E58C 0012B4EC 38 A0 00 00 */ li r5, 0 +/* 8012E590 0012B4F0 D8 21 00 B8 */ stfd f1, 0xb8(r1) +/* 8012E594 0012B4F4 D8 01 00 C0 */ stfd f0, 0xc0(r1) +/* 8012E598 0012B4F8 91 21 00 14 */ stw r9, 0x14(r1) +/* 8012E59C 0012B4FC 91 01 00 18 */ stw r8, 0x18(r1) +/* 8012E5A0 0012B500 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8012E5A4 0012B504 4B F2 E0 51 */ bl ClampLength__13CCameraSplineCFRC9CVector3fbRC15CMaterialFilterRC13CStateManager +/* 8012E5A8 0012B508 FC 01 C8 40 */ fcmpo cr0, f1, f25 +/* 8012E5AC 0012B50C 4C 40 13 82 */ cror 2, 0, 2 +/* 8012E5B0 0012B510 40 82 00 18 */ bne lbl_8012E5C8 +/* 8012E5B4 0012B514 D3 3E 01 D4 */ stfs f25, 0x1d4(r30) +/* 8012E5B8 0012B518 D3 E1 00 68 */ stfs f31, 0x68(r1) +/* 8012E5BC 0012B51C D3 C1 00 6C */ stfs f30, 0x6c(r1) +/* 8012E5C0 0012B520 D3 A1 00 70 */ stfs f29, 0x70(r1) +/* 8012E5C4 0012B524 48 00 00 14 */ b lbl_8012E5D8 +lbl_8012E5C8: +/* 8012E5C8 0012B528 D3 1E 01 D4 */ stfs f24, 0x1d4(r30) +/* 8012E5CC 0012B52C D3 81 00 68 */ stfs f28, 0x68(r1) +/* 8012E5D0 0012B530 D3 61 00 6C */ stfs f27, 0x6c(r1) +/* 8012E5D4 0012B534 D3 41 00 70 */ stfs f26, 0x70(r1) +lbl_8012E5D8: +/* 8012E5D8 0012B538 80 9F 08 70 */ lwz r4, 0x870(r31) +/* 8012E5DC 0012B53C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8012E5E0 0012B540 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8012E5E4 0012B544 38 A1 00 5C */ addi r5, r1, 0x5c +/* 8012E5E8 0012B548 80 E4 00 80 */ lwz r7, 0x80(r4) +/* 8012E5EC 0012B54C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8012E5F0 0012B550 38 81 00 68 */ addi r4, r1, 0x68 +/* 8012E5F4 0012B554 C0 07 01 CC */ lfs f0, 0x1cc(r7) +/* 8012E5F8 0012B558 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8012E5FC 0012B55C C0 07 01 D0 */ lfs f0, 0x1d0(r7) +/* 8012E600 0012B560 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8012E604 0012B564 C0 07 01 D4 */ lfs f0, 0x1d4(r7) +/* 8012E608 0012B568 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8012E60C 0012B56C 48 1E 55 05 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8012E610 0012B570 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8012E614 0012B574 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8012E618 0012B578 48 1E 45 29 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8012E61C 0012B57C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8012E620 0012B580 38 60 00 01 */ li r3, 1 +/* 8012E624 0012B584 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8012E628 0012B588 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8012E62C 0012B58C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8012E630 0012B590 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8012E634 0012B594 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8012E638 0012B598 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8012E63C 0012B59C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8012E640 0012B5A0 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8012E644 0012B5A4 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 +/* 8012E648 0012B5A8 CB E1 02 B0 */ lfd f31, 0x2b0(r1) +/* 8012E64C 0012B5AC E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 +/* 8012E650 0012B5B0 CB C1 02 A0 */ lfd f30, 0x2a0(r1) +/* 8012E654 0012B5B4 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 +/* 8012E658 0012B5B8 CB A1 02 90 */ lfd f29, 0x290(r1) +/* 8012E65C 0012B5BC E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 +/* 8012E660 0012B5C0 CB 81 02 80 */ lfd f28, 0x280(r1) +/* 8012E664 0012B5C4 E3 61 02 78 */ psq_l f27, 632(r1), 0, qr0 +/* 8012E668 0012B5C8 CB 61 02 70 */ lfd f27, 0x270(r1) +/* 8012E66C 0012B5CC E3 41 02 68 */ psq_l f26, 616(r1), 0, qr0 +/* 8012E670 0012B5D0 CB 41 02 60 */ lfd f26, 0x260(r1) +/* 8012E674 0012B5D4 E3 21 02 58 */ psq_l f25, 600(r1), 0, qr0 +/* 8012E678 0012B5D8 CB 21 02 50 */ lfd f25, 0x250(r1) +/* 8012E67C 0012B5DC E3 01 02 48 */ psq_l f24, 584(r1), 0, qr0 +/* 8012E680 0012B5E0 CB 01 02 40 */ lfd f24, 0x240(r1) +/* 8012E684 0012B5E4 E2 E1 02 38 */ psq_l f23, 568(r1), 0, qr0 +/* 8012E688 0012B5E8 CA E1 02 30 */ lfd f23, 0x230(r1) +/* 8012E68C 0012B5EC 83 E1 02 2C */ lwz r31, 0x22c(r1) +/* 8012E690 0012B5F0 83 C1 02 28 */ lwz r30, 0x228(r1) +/* 8012E694 0012B5F4 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 8012E698 0012B5F8 83 A1 02 24 */ lwz r29, 0x224(r1) +/* 8012E69C 0012B5FC 7C 08 03 A6 */ mtlr r0 +/* 8012E6A0 0012B600 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 8012E6A4 0012B604 4E 80 00 20 */ blr + +.global __dt__11CPathCameraFv +__dt__11CPathCameraFv: +/* 8012E6A8 0012B608 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012E6AC 0012B60C 7C 08 02 A6 */ mflr r0 +/* 8012E6B0 0012B610 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012E6B4 0012B614 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012E6B8 0012B618 7C 9F 23 78 */ mr r31, r4 +/* 8012E6BC 0012B61C 93 C1 00 08 */ stw r30, 8(r1) +/* 8012E6C0 0012B620 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8012E6C4 0012B624 41 82 00 38 */ beq lbl_8012E6FC +/* 8012E6C8 0012B628 3C 80 80 3E */ lis r4, lbl_803E0C68@ha +/* 8012E6CC 0012B62C 38 7E 01 88 */ addi r3, r30, 0x188 +/* 8012E6D0 0012B630 38 04 0C 68 */ addi r0, r4, lbl_803E0C68@l +/* 8012E6D4 0012B634 38 80 FF FF */ li r4, -1 +/* 8012E6D8 0012B638 90 1E 00 00 */ stw r0, 0(r30) +/* 8012E6DC 0012B63C 4B F2 EF 0D */ bl __dt__13CCameraSplineFv +/* 8012E6E0 0012B640 7F C3 F3 78 */ mr r3, r30 +/* 8012E6E4 0012B644 38 80 00 00 */ li r4, 0 +/* 8012E6E8 0012B648 4B F2 F3 75 */ bl __dt__11CGameCameraFv +/* 8012E6EC 0012B64C 7F E0 07 35 */ extsh. r0, r31 +/* 8012E6F0 0012B650 40 81 00 0C */ ble lbl_8012E6FC +/* 8012E6F4 0012B654 7F C3 F3 78 */ mr r3, r30 +/* 8012E6F8 0012B658 48 1E 72 39 */ bl Free__7CMemoryFPCv +lbl_8012E6FC: +/* 8012E6FC 0012B65C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012E700 0012B660 7F C3 F3 78 */ mr r3, r30 +/* 8012E704 0012B664 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012E708 0012B668 83 C1 00 08 */ lwz r30, 8(r1) +/* 8012E70C 0012B66C 7C 08 03 A6 */ mtlr r0 +/* 8012E710 0012B670 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012E714 0012B674 4E 80 00 20 */ blr + +.global "__ct__11CPathCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbbbbbfffffffQ211CPathCamera22EInitialSplinePosition" +"__ct__11CPathCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbbbbbfffffffQ211CPathCamera22EInitialSplinePosition": +/* 8012E718 0012B678 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8012E71C 0012B67C 7C 08 02 A6 */ mflr r0 +/* 8012E720 0012B680 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8012E724 0012B684 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8012E728 0012B688 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8012E72C 0012B68C DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8012E730 0012B690 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8012E734 0012B694 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 8012E738 0012B698 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 8012E73C 0012B69C DB 81 00 80 */ stfd f28, 0x80(r1) +/* 8012E740 0012B6A0 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 8012E744 0012B6A4 DB 61 00 70 */ stfd f27, 0x70(r1) +/* 8012E748 0012B6A8 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 8012E74C 0012B6AC DB 41 00 60 */ stfd f26, 0x60(r1) +/* 8012E750 0012B6B0 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 +/* 8012E754 0012B6B4 DB 21 00 50 */ stfd f25, 0x50(r1) +/* 8012E758 0012B6B8 F3 21 00 58 */ psq_st f25, 88(r1), 0, qr0 +/* 8012E75C 0012B6BC DB 01 00 40 */ stfd f24, 0x40(r1) +/* 8012E760 0012B6C0 F3 01 00 48 */ psq_st f24, 72(r1), 0, qr0 +/* 8012E764 0012B6C4 BF 21 00 24 */ stmw r25, 0x24(r1) +/* 8012E768 0012B6C8 A1 6D A3 8C */ lhz r11, lbl_805A8F4C@sda21(r13) +/* 8012E76C 0012B6CC FF 00 08 90 */ fmr f24, f1 +/* 8012E770 0012B6D0 A0 04 00 00 */ lhz r0, 0(r4) +/* 8012E774 0012B6D4 FF 20 10 90 */ fmr f25, f2 +/* 8012E778 0012B6D8 FF 40 18 90 */ fmr f26, f3 +/* 8012E77C 0012B6DC B1 61 00 10 */ sth r11, 0x10(r1) +/* 8012E780 0012B6E0 FF 60 20 90 */ fmr f27, f4 +/* 8012E784 0012B6E4 FF 80 28 90 */ fmr f28, f5 +/* 8012E788 0012B6E8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8012E78C 0012B6EC 7C 79 1B 78 */ mr r25, r3 +/* 8012E790 0012B6F0 7C BA 2B 78 */ mr r26, r5 +/* 8012E794 0012B6F4 7C DB 33 78 */ mr r27, r6 +/* 8012E798 0012B6F8 7C FC 3B 78 */ mr r28, r7 +/* 8012E79C 0012B6FC 7D 1D 43 78 */ mr r29, r8 +/* 8012E7A0 0012B700 7D 3E 4B 78 */ mr r30, r9 +/* 8012E7A4 0012B704 7D 5F 53 78 */ mr r31, r10 +/* 8012E7A8 0012B708 4B ED D9 11 */ bl DefaultAspect__14CCameraManagerFv +/* 8012E7AC 0012B70C FF A0 08 90 */ fmr f29, f1 +/* 8012E7B0 0012B710 4B ED D9 11 */ bl DefaultFarPlane__14CCameraManagerFv +/* 8012E7B4 0012B714 FF C0 08 90 */ fmr f30, f1 +/* 8012E7B8 0012B718 4B ED D9 11 */ bl DefaultNearPlane__14CCameraManagerFv +/* 8012E7BC 0012B71C FF E0 08 90 */ fmr f31, f1 +/* 8012E7C0 0012B720 4B ED D9 19 */ bl DefaultThirdPersonFov__14CCameraManagerFv +/* 8012E7C4 0012B724 38 00 00 00 */ li r0, 0 +/* 8012E7C8 0012B728 FC 40 F8 90 */ fmr f2, f31 +/* 8012E7CC 0012B72C FC 60 F0 90 */ fmr f3, f30 +/* 8012E7D0 0012B730 90 01 00 08 */ stw r0, 8(r1) +/* 8012E7D4 0012B734 FC 80 E8 90 */ fmr f4, f29 +/* 8012E7D8 0012B738 7F 23 CB 78 */ mr r3, r25 +/* 8012E7DC 0012B73C 7F A5 EB 78 */ mr r5, r29 +/* 8012E7E0 0012B740 7F 46 D3 78 */ mr r6, r26 +/* 8012E7E4 0012B744 7F 67 DB 78 */ mr r7, r27 +/* 8012E7E8 0012B748 7F 88 E3 78 */ mr r8, r28 +/* 8012E7EC 0012B74C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8012E7F0 0012B750 39 21 00 10 */ addi r9, r1, 0x10 +/* 8012E7F4 0012B754 39 40 00 00 */ li r10, 0 +/* 8012E7F8 0012B758 4B F2 F2 C5 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" +/* 8012E7FC 0012B75C 3C 60 80 3E */ lis r3, lbl_803E0C68@ha +/* 8012E800 0012B760 57 C4 07 FE */ clrlwi r4, r30, 0x1f +/* 8012E804 0012B764 38 03 0C 68 */ addi r0, r3, lbl_803E0C68@l +/* 8012E808 0012B768 90 19 00 00 */ stw r0, 0(r25) +/* 8012E80C 0012B76C 38 79 01 88 */ addi r3, r25, 0x188 +/* 8012E810 0012B770 4B F2 EF 51 */ bl __ct__13CCameraSplineFb +/* 8012E814 0012B774 C0 02 98 A8 */ lfs f0, lbl_805AB5C8@sda21(r2) +/* 8012E818 0012B778 7F 23 CB 78 */ mr r3, r25 +/* 8012E81C 0012B77C D0 19 01 D4 */ stfs f0, 0x1d4(r25) +/* 8012E820 0012B780 D0 19 01 D8 */ stfs f0, 0x1d8(r25) +/* 8012E824 0012B784 D3 19 01 DC */ stfs f24, 0x1dc(r25) +/* 8012E828 0012B788 D3 39 01 E0 */ stfs f25, 0x1e0(r25) +/* 8012E82C 0012B78C D3 59 01 E4 */ stfs f26, 0x1e4(r25) +/* 8012E830 0012B790 93 F9 01 E8 */ stw r31, 0x1e8(r25) +/* 8012E834 0012B794 93 D9 01 EC */ stw r30, 0x1ec(r25) +/* 8012E838 0012B798 D3 79 01 F0 */ stfs f27, 0x1f0(r25) +/* 8012E83C 0012B79C D3 99 01 F4 */ stfs f28, 0x1f4(r25) +/* 8012E840 0012B7A0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8012E844 0012B7A4 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8012E848 0012B7A8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8012E84C 0012B7AC CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8012E850 0012B7B0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 8012E854 0012B7B4 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8012E858 0012B7B8 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 8012E85C 0012B7BC CB 81 00 80 */ lfd f28, 0x80(r1) +/* 8012E860 0012B7C0 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 8012E864 0012B7C4 CB 61 00 70 */ lfd f27, 0x70(r1) +/* 8012E868 0012B7C8 E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 +/* 8012E86C 0012B7CC CB 41 00 60 */ lfd f26, 0x60(r1) +/* 8012E870 0012B7D0 E3 21 00 58 */ psq_l f25, 88(r1), 0, qr0 +/* 8012E874 0012B7D4 CB 21 00 50 */ lfd f25, 0x50(r1) +/* 8012E878 0012B7D8 E3 01 00 48 */ psq_l f24, 72(r1), 0, qr0 +/* 8012E87C 0012B7DC CB 01 00 40 */ lfd f24, 0x40(r1) +/* 8012E880 0012B7E0 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 8012E884 0012B7E4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8012E888 0012B7E8 7C 08 03 A6 */ mtlr r0 +/* 8012E88C 0012B7EC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8012E890 0012B7F0 4E 80 00 20 */ blr + +.global __sinit_CPathCamera_cpp +__sinit_CPathCamera_cpp: +/* 8012E894 0012B7F4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8012E898 0012B7F8 7C 08 02 A6 */ mflr r0 +/* 8012E89C 0012B7FC 38 60 00 00 */ li r3, 0 +/* 8012E8A0 0012B800 38 80 00 01 */ li r4, 1 +/* 8012E8A4 0012B804 90 01 00 24 */ stw r0, 0x24(r1) +/* 8012E8A8 0012B808 80 AD 8A F0 */ lwz r5, lbl_805A76B0@sda21(r13) +/* 8012E8AC 0012B80C 48 25 B6 49 */ bl __shl2i +/* 8012E8B0 0012B810 90 8D A3 A4 */ stw r4, lbl_805A8F64@sda21(r13) +/* 8012E8B4 0012B814 38 80 00 01 */ li r4, 1 +/* 8012E8B8 0012B818 80 AD 8A F4 */ lwz r5, lbl_805A76B4@sda21(r13) +/* 8012E8BC 0012B81C 90 6D A3 A0 */ stw r3, lbl_805A8F60@sda21(r13) +/* 8012E8C0 0012B820 38 60 00 00 */ li r3, 0 +/* 8012E8C4 0012B824 48 25 B6 31 */ bl __shl2i +/* 8012E8C8 0012B828 3C A0 80 47 */ lis r5, lbl_8046C720@ha +/* 8012E8CC 0012B82C 80 0D A3 A0 */ lwz r0, lbl_805A8F60@sda21(r13) +/* 8012E8D0 0012B830 38 A5 C7 20 */ addi r5, r5, lbl_8046C720@l +/* 8012E8D4 0012B834 38 E0 00 03 */ li r7, 3 +/* 8012E8D8 0012B838 80 CD A3 A4 */ lwz r6, lbl_805A8F64@sda21(r13) +/* 8012E8DC 0012B83C 90 8D A3 AC */ stw r4, lbl_805A8F6C@sda21(r13) +/* 8012E8E0 0012B840 90 6D A3 A8 */ stw r3, lbl_805A8F68@sda21(r13) +/* 8012E8E4 0012B844 90 E1 00 18 */ stw r7, 0x18(r1) +/* 8012E8E8 0012B848 90 C5 00 04 */ stw r6, 4(r5) +/* 8012E8EC 0012B84C 90 05 00 00 */ stw r0, 0(r5) +/* 8012E8F0 0012B850 90 85 00 0C */ stw r4, 0xc(r5) +/* 8012E8F4 0012B854 90 65 00 08 */ stw r3, 8(r5) +/* 8012E8F8 0012B858 90 E5 00 10 */ stw r7, 0x10(r5) +/* 8012E8FC 0012B85C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8012E900 0012B860 7C 08 03 A6 */ mtlr r0 +/* 8012E904 0012B864 38 21 00 20 */ addi r1, r1, 0x20 +/* 8012E908 0012B868 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPhysicsActor.s b/asm/Kyoto_CWD/CPhysicsActor.s new file mode 100644 index 00000000..8a966c98 --- /dev/null +++ b/asm/Kyoto_CWD/CPhysicsActor.s @@ -0,0 +1,2474 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetMaximumCollisionVelocity__13CPhysicsActorCFv +GetMaximumCollisionVelocity__13CPhysicsActorCFv: +/* 8011A4B8 00117418 C0 23 02 38 */ lfs f1, 0x238(r3) +/* 8011A4BC 0011741C 4E 80 00 20 */ blr + +.global SetMaximumCollisionVelocity__13CPhysicsActorFf +SetMaximumCollisionVelocity__13CPhysicsActorFf: +/* 8011A4C0 00117420 D0 23 02 38 */ stfs f1, 0x238(r3) +/* 8011A4C4 00117424 4E 80 00 20 */ blr + +.global GetCollisionAccuracyModifier__13CPhysicsActorCFv +GetCollisionAccuracyModifier__13CPhysicsActorCFv: +/* 8011A4C8 00117428 C0 23 02 48 */ lfs f1, 0x248(r3) +/* 8011A4CC 0011742C 4E 80 00 20 */ blr + +.global SetCollisionAccuracyModifier__13CPhysicsActorFf +SetCollisionAccuracyModifier__13CPhysicsActorFf: +/* 8011A4D0 00117430 D0 23 02 48 */ stfs f1, 0x248(r3) +/* 8011A4D4 00117434 4E 80 00 20 */ blr + +.global GetCoefficientOfRestitutionModifier__13CPhysicsActorCFv +GetCoefficientOfRestitutionModifier__13CPhysicsActorCFv: +/* 8011A4D8 00117438 C0 23 02 44 */ lfs f1, 0x244(r3) +/* 8011A4DC 0011743C 4E 80 00 20 */ blr + +.global SetCoefficientOfRestitutionModifier__13CPhysicsActorFf +SetCoefficientOfRestitutionModifier__13CPhysicsActorFf: +/* 8011A4E0 00117440 D0 23 02 44 */ stfs f1, 0x244(r3) +/* 8011A4E4 00117444 4E 80 00 20 */ blr + +.global Render__13CPhysicsActorCFRC13CStateManager +Render__13CPhysicsActorCFRC13CStateManager: +/* 8011A4E8 00117448 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011A4EC 0011744C 7C 08 02 A6 */ mflr r0 +/* 8011A4F0 00117450 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011A4F4 00117454 4B F3 A2 B1 */ bl Render__6CActorCFRC13CStateManager +/* 8011A4F8 00117458 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011A4FC 0011745C 7C 08 03 A6 */ mtlr r0 +/* 8011A500 00117460 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011A504 00117464 4E 80 00 20 */ blr + +.global GetAimPosition__13CPhysicsActorCFRC13CStateManagerf +GetAimPosition__13CPhysicsActorCFRC13CStateManagerf: +/* 8011A508 00117468 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8011A50C 0011746C 7C 08 02 A6 */ mflr r0 +/* 8011A510 00117470 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8011A514 00117474 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8011A518 00117478 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8011A51C 0011747C DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8011A520 00117480 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8011A524 00117484 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8011A528 00117488 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8011A52C 0011748C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8011A530 00117490 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8011A534 00117494 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) +/* 8011A538 00117498 7C 7E 1B 78 */ mr r30, r3 +/* 8011A53C 0011749C 7C 9F 23 78 */ mr r31, r4 +/* 8011A540 001174A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011A544 001174A4 40 81 00 58 */ ble lbl_8011A59C +/* 8011A548 001174A8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8011A54C 001174AC 48 00 17 65 */ bl PredictMotion__13CPhysicsActorCFf +/* 8011A550 001174B0 C3 E1 00 44 */ lfs f31, 0x44(r1) +/* 8011A554 001174B4 7F E4 FB 78 */ mr r4, r31 +/* 8011A558 001174B8 C3 C1 00 48 */ lfs f30, 0x48(r1) +/* 8011A55C 001174BC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8011A560 001174C0 C3 A1 00 4C */ lfs f29, 0x4c(r1) +/* 8011A564 001174C4 48 00 03 C9 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8011A568 001174C8 38 61 00 08 */ addi r3, r1, 8 +/* 8011A56C 001174CC 38 81 00 2C */ addi r4, r1, 0x2c +/* 8011A570 001174D0 48 21 D0 9D */ bl GetCenterPoint__6CAABoxCFv +/* 8011A574 001174D4 C0 01 00 08 */ lfs f0, 8(r1) +/* 8011A578 001174D8 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8011A57C 001174DC EC 00 F8 2A */ fadds f0, f0, f31 +/* 8011A580 001174E0 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8011A584 001174E4 EC 42 F0 2A */ fadds f2, f2, f30 +/* 8011A588 001174E8 EC 21 E8 2A */ fadds f1, f1, f29 +/* 8011A58C 001174EC D0 1E 00 00 */ stfs f0, 0(r30) +/* 8011A590 001174F0 D0 5E 00 04 */ stfs f2, 4(r30) +/* 8011A594 001174F4 D0 3E 00 08 */ stfs f1, 8(r30) +/* 8011A598 001174F8 48 00 00 18 */ b lbl_8011A5B0 +lbl_8011A59C: +/* 8011A59C 001174FC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011A5A0 00117500 48 00 03 8D */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8011A5A4 00117504 7F C3 F3 78 */ mr r3, r30 +/* 8011A5A8 00117508 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011A5AC 0011750C 48 21 D0 61 */ bl GetCenterPoint__6CAABoxCFv +lbl_8011A5B0: +/* 8011A5B0 00117510 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8011A5B4 00117514 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8011A5B8 00117518 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8011A5BC 0011751C CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8011A5C0 00117520 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8011A5C4 00117524 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8011A5C8 00117528 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8011A5CC 0011752C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8011A5D0 00117530 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8011A5D4 00117534 7C 08 03 A6 */ mtlr r0 +/* 8011A5D8 00117538 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8011A5DC 0011753C 4E 80 00 20 */ blr + +.global GetOrbitPosition__13CPhysicsActorCFRC13CStateManager +GetOrbitPosition__13CPhysicsActorCFRC13CStateManager: +/* 8011A5E0 00117540 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011A5E4 00117544 7C 08 02 A6 */ mflr r0 +/* 8011A5E8 00117548 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011A5EC 0011754C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011A5F0 00117550 7C 7F 1B 78 */ mr r31, r3 +/* 8011A5F4 00117554 38 61 00 08 */ addi r3, r1, 8 +/* 8011A5F8 00117558 48 00 03 35 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8011A5FC 0011755C 7F E3 FB 78 */ mr r3, r31 +/* 8011A600 00117560 38 81 00 08 */ addi r4, r1, 8 +/* 8011A604 00117564 48 21 D0 09 */ bl GetCenterPoint__6CAABoxCFv +/* 8011A608 00117568 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011A60C 0011756C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011A610 00117570 7C 08 03 A6 */ mtlr r0 +/* 8011A614 00117574 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011A618 00117578 4E 80 00 20 */ blr + +.global GetStepUpHeight__13CPhysicsActorCFv +GetStepUpHeight__13CPhysicsActorCFv: +/* 8011A61C 0011757C C0 23 02 3C */ lfs f1, 0x23c(r3) +/* 8011A620 00117580 4E 80 00 20 */ blr + +.global GetStepDownHeight__13CPhysicsActorCFv +GetStepDownHeight__13CPhysicsActorCFv: +/* 8011A624 00117584 C0 23 02 40 */ lfs f1, 0x240(r3) +/* 8011A628 00117588 4E 80 00 20 */ blr + +.global GetPrimitiveOffset__13CPhysicsActorCFv +GetPrimitiveOffset__13CPhysicsActorCFv: +/* 8011A62C 0011758C C0 04 01 E8 */ lfs f0, 0x1e8(r4) +/* 8011A630 00117590 D0 03 00 00 */ stfs f0, 0(r3) +/* 8011A634 00117594 C0 04 01 EC */ lfs f0, 0x1ec(r4) +/* 8011A638 00117598 D0 03 00 04 */ stfs f0, 4(r3) +/* 8011A63C 0011759C C0 04 01 F0 */ lfs f0, 0x1f0(r4) +/* 8011A640 001175A0 D0 03 00 08 */ stfs f0, 8(r3) +/* 8011A644 001175A4 4E 80 00 20 */ blr + +.global GetWeight__13CPhysicsActorCFv +GetWeight__13CPhysicsActorCFv: +/* 8011A648 001175A8 C0 22 96 A8 */ lfs f1, lbl_805AB3C8@sda21(r2) +/* 8011A64C 001175AC C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 8011A650 001175B0 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8011A654 001175B4 4E 80 00 20 */ blr + +.global SetBoundingBox__13CPhysicsActorFRC6CAABox +SetBoundingBox__13CPhysicsActorFRC6CAABox: +/* 8011A658 001175B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011A65C 001175BC 7C 08 02 A6 */ mflr r0 +/* 8011A660 001175C0 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8011A664 001175C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011A668 001175C8 38 05 66 A0 */ addi r0, r5, skZero3f@l +/* 8011A66C 001175CC 80 E4 00 00 */ lwz r7, 0(r4) +/* 8011A670 001175D0 80 C4 00 04 */ lwz r6, 4(r4) +/* 8011A674 001175D4 90 E3 01 A4 */ stw r7, 0x1a4(r3) +/* 8011A678 001175D8 90 C3 01 A8 */ stw r6, 0x1a8(r3) +/* 8011A67C 001175DC 80 A4 00 08 */ lwz r5, 8(r4) +/* 8011A680 001175E0 90 A3 01 AC */ stw r5, 0x1ac(r3) +/* 8011A684 001175E4 80 C4 00 0C */ lwz r6, 0xc(r4) +/* 8011A688 001175E8 80 A4 00 10 */ lwz r5, 0x10(r4) +/* 8011A68C 001175EC 90 C3 01 B0 */ stw r6, 0x1b0(r3) +/* 8011A690 001175F0 90 A3 01 B4 */ stw r5, 0x1b4(r3) +/* 8011A694 001175F4 80 A4 00 14 */ lwz r5, 0x14(r4) +/* 8011A698 001175F8 7C 04 03 78 */ mr r4, r0 +/* 8011A69C 001175FC 90 A3 01 B8 */ stw r5, 0x1b8(r3) +/* 8011A6A0 00117600 48 00 03 99 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +/* 8011A6A4 00117604 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011A6A8 00117608 7C 08 03 A6 */ mtlr r0 +/* 8011A6AC 0011760C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011A6B0 00117610 4E 80 00 20 */ blr + +.global GetMotionVolume__13CPhysicsActorCFf +GetMotionVolume__13CPhysicsActorCFf: +/* 8011A6B4 00117614 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8011A6B8 00117618 7C 08 02 A6 */ mflr r0 +/* 8011A6BC 0011761C 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8011A6C0 00117620 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 8011A6C4 00117624 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8011A6C8 00117628 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 8011A6CC 0011762C F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 8011A6D0 00117630 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 8011A6D4 00117634 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 8011A6D8 00117638 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8011A6DC 0011763C 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8011A6E0 00117640 81 84 00 00 */ lwz r12, 0(r4) +/* 8011A6E4 00117644 7C 7E 1B 78 */ mr r30, r3 +/* 8011A6E8 00117648 FF E0 08 90 */ fmr f31, f1 +/* 8011A6EC 0011764C 7C 9F 23 78 */ mr r31, r4 +/* 8011A6F0 00117650 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 8011A6F4 00117654 38 61 00 7C */ addi r3, r1, 0x7c +/* 8011A6F8 00117658 7D 89 03 A6 */ mtctr r12 +/* 8011A6FC 0011765C 4E 80 04 21 */ bctrl +/* 8011A700 00117660 7F E3 FB 78 */ mr r3, r31 +/* 8011A704 00117664 81 9F 00 00 */ lwz r12, 0(r31) +/* 8011A708 00117668 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 8011A70C 0011766C 7D 89 03 A6 */ mtctr r12 +/* 8011A710 00117670 4E 80 04 21 */ bctrl +/* 8011A714 00117674 7C 64 1B 78 */ mr r4, r3 +/* 8011A718 00117678 38 61 00 4C */ addi r3, r1, 0x4c +/* 8011A71C 0011767C 81 84 00 00 */ lwz r12, 0(r4) +/* 8011A720 00117680 38 A1 00 7C */ addi r5, r1, 0x7c +/* 8011A724 00117684 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8011A728 00117688 7D 89 03 A6 */ mtctr r12 +/* 8011A72C 0011768C 4E 80 04 21 */ bctrl +/* 8011A730 00117690 C0 A1 00 4C */ lfs f5, 0x4c(r1) +/* 8011A734 00117694 7F E4 FB 78 */ mr r4, r31 +/* 8011A738 00117698 C0 81 00 50 */ lfs f4, 0x50(r1) +/* 8011A73C 0011769C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8011A740 001176A0 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 8011A744 001176A4 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 8011A748 001176A8 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 8011A74C 001176AC C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8011A750 001176B0 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 8011A754 001176B4 D0 81 00 68 */ stfs f4, 0x68(r1) +/* 8011A758 001176B8 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 8011A75C 001176BC D0 41 00 70 */ stfs f2, 0x70(r1) +/* 8011A760 001176C0 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 8011A764 001176C4 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8011A768 001176C8 48 00 16 61 */ bl CalculateNewVelocityWR_UsingImpulses__13CPhysicsActorCFv +/* 8011A76C 001176CC C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8011A770 001176D0 38 61 00 64 */ addi r3, r1, 0x64 +/* 8011A774 001176D4 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8011A778 001176D8 38 81 00 34 */ addi r4, r1, 0x34 +/* 8011A77C 001176DC C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8011A780 001176E0 EF BF 00 32 */ fmuls f29, f31, f0 +/* 8011A784 001176E4 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 8011A788 001176E8 EF DF 00 B2 */ fmuls f30, f31, f2 +/* 8011A78C 001176EC C0 41 00 74 */ lfs f2, 0x74(r1) +/* 8011A790 001176F0 EF FF 00 72 */ fmuls f31, f31, f1 +/* 8011A794 001176F4 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 8011A798 001176F8 EC 42 F0 2A */ fadds f2, f2, f30 +/* 8011A79C 001176FC EC 21 F8 2A */ fadds f1, f1, f31 +/* 8011A7A0 00117700 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8011A7A4 00117704 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8011A7A8 00117708 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8011A7AC 0011770C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8011A7B0 00117710 48 21 D3 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8011A7B4 00117714 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 8011A7B8 00117718 38 61 00 64 */ addi r3, r1, 0x64 +/* 8011A7BC 0011771C C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 8011A7C0 00117720 38 81 00 28 */ addi r4, r1, 0x28 +/* 8011A7C4 00117724 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8011A7C8 00117728 EC 42 F0 2A */ fadds f2, f2, f30 +/* 8011A7CC 0011772C EC 21 F8 2A */ fadds f1, f1, f31 +/* 8011A7D0 00117730 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8011A7D4 00117734 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8011A7D8 00117738 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8011A7DC 0011773C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8011A7E0 00117740 48 21 D3 29 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8011A7E4 00117744 7F E3 FB 78 */ mr r3, r31 +/* 8011A7E8 00117748 81 9F 00 00 */ lwz r12, 0(r31) +/* 8011A7EC 0011774C 81 8C 00 7C */ lwz r12, 0x7c(r12) +/* 8011A7F0 00117750 7D 89 03 A6 */ mtctr r12 +/* 8011A7F4 00117754 4E 80 04 21 */ bctrl +/* 8011A7F8 00117758 FC 40 08 18 */ frsp f2, f1 +/* 8011A7FC 0011775C C0 0D 8A 70 */ lfs f0, lbl_805A7630@sda21(r13) +/* 8011A800 00117760 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8011A804 00117764 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8011A808 00117768 40 80 00 0C */ bge lbl_8011A814 +/* 8011A80C 0011776C 38 8D 8A 70 */ addi r4, r13, lbl_805A7630@sda21 +/* 8011A810 00117770 48 00 00 08 */ b lbl_8011A818 +lbl_8011A814: +/* 8011A814 00117774 38 81 00 0C */ addi r4, r1, 0xc +lbl_8011A818: +/* 8011A818 00117778 C0 22 96 B0 */ lfs f1, lbl_805AB3D0@sda21(r2) +/* 8011A81C 0011777C 38 61 00 64 */ addi r3, r1, 0x64 +/* 8011A820 00117780 C0 04 00 00 */ lfs f0, 0(r4) +/* 8011A824 00117784 38 81 00 1C */ addi r4, r1, 0x1c +/* 8011A828 00117788 C0 81 00 74 */ lfs f4, 0x74(r1) +/* 8011A82C 0011778C C0 62 96 AC */ lfs f3, lbl_805AB3CC@sda21(r2) +/* 8011A830 00117790 EC 21 00 2A */ fadds f1, f1, f0 +/* 8011A834 00117794 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 8011A838 00117798 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 8011A83C 0011779C EC 84 18 2A */ fadds f4, f4, f3 +/* 8011A840 001177A0 EC 22 08 2A */ fadds f1, f2, f1 +/* 8011A844 001177A4 EC 00 18 2A */ fadds f0, f0, f3 +/* 8011A848 001177A8 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8011A84C 001177AC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8011A850 001177B0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8011A854 001177B4 48 21 D2 B5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8011A858 001177B8 7F E3 FB 78 */ mr r3, r31 +/* 8011A85C 001177BC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8011A860 001177C0 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 8011A864 001177C4 7D 89 03 A6 */ mtctr r12 +/* 8011A868 001177C8 4E 80 04 21 */ bctrl +/* 8011A86C 001177CC FC 40 08 18 */ frsp f2, f1 +/* 8011A870 001177D0 C0 0D 8A 74 */ lfs f0, lbl_805A7634@sda21(r13) +/* 8011A874 001177D4 D0 21 00 08 */ stfs f1, 8(r1) +/* 8011A878 001177D8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8011A87C 001177DC 40 80 00 0C */ bge lbl_8011A888 +/* 8011A880 001177E0 38 8D 8A 74 */ addi r4, r13, lbl_805A7634@sda21 +/* 8011A884 001177E4 48 00 00 08 */ b lbl_8011A88C +lbl_8011A888: +/* 8011A888 001177E8 38 81 00 08 */ addi r4, r1, 8 +lbl_8011A88C: +/* 8011A88C 001177EC C0 22 96 B4 */ lfs f1, lbl_805AB3D4@sda21(r2) +/* 8011A890 001177F0 38 61 00 64 */ addi r3, r1, 0x64 +/* 8011A894 001177F4 C0 04 00 00 */ lfs f0, 0(r4) +/* 8011A898 001177F8 38 81 00 10 */ addi r4, r1, 0x10 +/* 8011A89C 001177FC C0 81 00 68 */ lfs f4, 0x68(r1) +/* 8011A8A0 00117800 C0 62 96 AC */ lfs f3, lbl_805AB3CC@sda21(r2) +/* 8011A8A4 00117804 EC 21 00 2A */ fadds f1, f1, f0 +/* 8011A8A8 00117808 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 8011A8AC 0011780C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8011A8B0 00117810 EC 84 18 28 */ fsubs f4, f4, f3 +/* 8011A8B4 00117814 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8011A8B8 00117818 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8011A8BC 0011781C D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8011A8C0 00117820 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8011A8C4 00117824 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8011A8C8 00117828 48 21 D2 41 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 8011A8CC 0011782C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8011A8D0 00117830 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8011A8D4 00117834 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8011A8D8 00117838 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8011A8DC 0011783C C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8011A8E0 00117840 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8011A8E4 00117844 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 8011A8E8 00117848 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8011A8EC 0011784C C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8011A8F0 00117850 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8011A8F4 00117854 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8011A8F8 00117858 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8011A8FC 0011785C E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 8011A900 00117860 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 8011A904 00117864 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 8011A908 00117868 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 8011A90C 0011786C E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 8011A910 00117870 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 8011A914 00117874 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8011A918 00117878 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8011A91C 0011787C 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8011A920 00117880 7C 08 03 A6 */ mtlr r0 +/* 8011A924 00117884 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8011A928 00117888 4E 80 00 20 */ blr + +.global GetBoundingBox__13CPhysicsActorCFv +GetBoundingBox__13CPhysicsActorCFv: +/* 8011A92C 0011788C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011A930 00117890 7C 08 02 A6 */ mflr r0 +/* 8011A934 00117894 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011A938 00117898 38 A1 00 08 */ addi r5, r1, 8 +/* 8011A93C 0011789C C0 24 01 E8 */ lfs f1, 0x1e8(r4) +/* 8011A940 001178A0 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8011A944 001178A4 C0 64 01 EC */ lfs f3, 0x1ec(r4) +/* 8011A948 001178A8 EC A1 00 2A */ fadds f5, f1, f0 +/* 8011A94C 001178AC C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8011A950 001178B0 C0 24 01 B0 */ lfs f1, 0x1b0(r4) +/* 8011A954 001178B4 EC 83 10 2A */ fadds f4, f3, f2 +/* 8011A958 001178B8 C0 04 01 A4 */ lfs f0, 0x1a4(r4) +/* 8011A95C 001178BC EC 41 28 2A */ fadds f2, f1, f5 +/* 8011A960 001178C0 C0 64 01 B4 */ lfs f3, 0x1b4(r4) +/* 8011A964 001178C4 EC 00 28 2A */ fadds f0, f0, f5 +/* 8011A968 001178C8 C0 24 01 A8 */ lfs f1, 0x1a8(r4) +/* 8011A96C 001178CC EC C3 20 2A */ fadds f6, f3, f4 +/* 8011A970 001178D0 C0 64 01 B8 */ lfs f3, 0x1b8(r4) +/* 8011A974 001178D4 EC A1 20 2A */ fadds f5, f1, f4 +/* 8011A978 001178D8 C0 84 01 F0 */ lfs f4, 0x1f0(r4) +/* 8011A97C 001178DC C0 24 00 60 */ lfs f1, 0x60(r4) +/* 8011A980 001178E0 D0 41 00 08 */ stfs f2, 8(r1) +/* 8011A984 001178E4 EC 84 08 2A */ fadds f4, f4, f1 +/* 8011A988 001178E8 C0 24 01 AC */ lfs f1, 0x1ac(r4) +/* 8011A98C 001178EC D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 8011A990 001178F0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011A994 001178F4 EC 43 20 2A */ fadds f2, f3, f4 +/* 8011A998 001178F8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8011A99C 001178FC EC 21 20 2A */ fadds f1, f1, f4 +/* 8011A9A0 00117900 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 8011A9A4 00117904 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8011A9A8 00117908 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8011A9AC 0011790C 48 21 DB 5D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8011A9B0 00117910 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011A9B4 00117914 7C 08 03 A6 */ mtlr r0 +/* 8011A9B8 00117918 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011A9BC 0011791C 4E 80 00 20 */ blr + +.global GetBaseBoundingBox__13CPhysicsActorCFv +GetBaseBoundingBox__13CPhysicsActorCFv: +/* 8011A9C0 00117920 38 63 01 A4 */ addi r3, r3, 0x1a4 +/* 8011A9C4 00117924 4E 80 00 20 */ blr + +.global CollidedWith__13CPhysicsActorFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +CollidedWith__13CPhysicsActorFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: +/* 8011A9C8 00117928 4E 80 00 20 */ blr + +.global GetPrimitiveTransform__13CPhysicsActorCFv +GetPrimitiveTransform__13CPhysicsActorCFv: +/* 8011A9CC 0011792C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011A9D0 00117930 7C 08 02 A6 */ mflr r0 +/* 8011A9D4 00117934 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011A9D8 00117938 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011A9DC 0011793C 7C 7F 1B 78 */ mr r31, r3 +/* 8011A9E0 00117940 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 8011A9E4 00117944 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 8011A9E8 00117948 C0 64 00 40 */ lfs f3, 0x40(r4) +/* 8011A9EC 0011794C C0 44 01 EC */ lfs f2, 0x1ec(r4) +/* 8011A9F0 00117950 C0 24 01 F0 */ lfs f1, 0x1f0(r4) +/* 8011A9F4 00117954 C0 04 01 E8 */ lfs f0, 0x1e8(r4) +/* 8011A9F8 00117958 EC 44 10 2A */ fadds f2, f4, f2 +/* 8011A9FC 0011795C EC 25 08 2A */ fadds f1, f5, f1 +/* 8011AA00 00117960 D0 61 00 08 */ stfs f3, 8(r1) +/* 8011AA04 00117964 EC 03 00 2A */ fadds f0, f3, f0 +/* 8011AA08 00117968 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011AA0C 0011796C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8011AA10 00117970 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 8011AA14 00117974 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8011AA18 00117978 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8011AA1C 0011797C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8011AA20 00117980 48 1F 87 21 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8011AA24 00117984 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011AA28 00117988 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011AA2C 0011798C 7C 08 03 A6 */ mtlr r0 +/* 8011AA30 00117990 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011AA34 00117994 4E 80 00 20 */ blr + +.global MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f: +/* 8011AA38 00117998 C0 04 00 00 */ lfs f0, 0(r4) +/* 8011AA3C 0011799C D0 03 01 E8 */ stfs f0, 0x1e8(r3) +/* 8011AA40 001179A0 C0 04 00 04 */ lfs f0, 4(r4) +/* 8011AA44 001179A4 D0 03 01 EC */ stfs f0, 0x1ec(r3) +/* 8011AA48 001179A8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8011AA4C 001179AC D0 03 01 F0 */ stfs f0, 0x1f0(r3) +/* 8011AA50 001179B0 4E 80 00 20 */ blr + +.global GetCollisionPrimitive__13CPhysicsActorCFv +GetCollisionPrimitive__13CPhysicsActorCFv: +/* 8011AA54 001179B4 38 63 01 C0 */ addi r3, r3, 0x1c0 +/* 8011AA58 001179B8 4E 80 00 20 */ blr + +.global SetInertiaTensorScalar__13CPhysicsActorFf +SetInertiaTensorScalar__13CPhysicsActorFf: +/* 8011AA5C 001179BC C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) +/* 8011AA60 001179C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011AA64 001179C4 40 81 00 08 */ ble lbl_8011AA6C +/* 8011AA68 001179C8 48 00 00 08 */ b lbl_8011AA70 +lbl_8011AA6C: +/* 8011AA6C 001179CC C0 22 96 B0 */ lfs f1, lbl_805AB3D0@sda21(r2) +lbl_8011AA70: +/* 8011AA70 001179D0 D0 23 00 F0 */ stfs f1, 0xf0(r3) +/* 8011AA74 001179D4 C0 22 96 B0 */ lfs f1, lbl_805AB3D0@sda21(r2) +/* 8011AA78 001179D8 C0 03 00 F0 */ lfs f0, 0xf0(r3) +/* 8011AA7C 001179DC EC 01 00 24 */ fdivs f0, f1, f0 +/* 8011AA80 001179E0 D0 03 00 F4 */ stfs f0, 0xf4(r3) +/* 8011AA84 001179E4 4E 80 00 20 */ blr + +.global SetMass__13CPhysicsActorFf +SetMass__13CPhysicsActorFf: +/* 8011AA88 001179E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011AA8C 001179EC 7C 08 02 A6 */ mflr r0 +/* 8011AA90 001179F0 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) +/* 8011AA94 001179F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011AA98 001179F8 D0 23 00 E8 */ stfs f1, 0xe8(r3) +/* 8011AA9C 001179FC C0 23 00 E8 */ lfs f1, 0xe8(r3) +/* 8011AAA0 00117A00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011AAA4 00117A04 40 81 00 10 */ ble lbl_8011AAB4 +/* 8011AAA8 00117A08 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) +/* 8011AAAC 00117A0C EC 00 08 24 */ fdivs f0, f0, f1 +/* 8011AAB0 00117A10 48 00 00 08 */ b lbl_8011AAB8 +lbl_8011AAB4: +/* 8011AAB4 00117A14 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) +lbl_8011AAB8: +/* 8011AAB8 00117A18 D0 03 00 EC */ stfs f0, 0xec(r3) +/* 8011AABC 00117A1C C0 22 96 B8 */ lfs f1, lbl_805AB3D8@sda21(r2) +/* 8011AAC0 00117A20 C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 8011AAC4 00117A24 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8011AAC8 00117A28 4B FF FF 95 */ bl SetInertiaTensorScalar__13CPhysicsActorFf +/* 8011AACC 00117A2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011AAD0 00117A30 7C 08 03 A6 */ mtlr r0 +/* 8011AAD4 00117A34 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011AAD8 00117A38 4E 80 00 20 */ blr + +.global SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle: +/* 8011AADC 00117A3C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8011AAE0 00117A40 7C 08 02 A6 */ mflr r0 +/* 8011AAE4 00117A44 90 01 00 54 */ stw r0, 0x54(r1) +/* 8011AAE8 00117A48 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8011AAEC 00117A4C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8011AAF0 00117A50 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8011AAF4 00117A54 7C 7F 1B 78 */ mr r31, r3 +/* 8011AAF8 00117A58 7C 83 23 78 */ mr r3, r4 +/* 8011AAFC 00117A5C 4B F0 0A 35 */ bl GetVector__10CAxisAngleCFv +/* 8011AB00 00117A60 7C 65 1B 78 */ mr r5, r3 +/* 8011AB04 00117A64 38 61 00 20 */ addi r3, r1, 0x20 +/* 8011AB08 00117A68 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8011AB0C 00117A6C 48 1F 7F 75 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8011AB10 00117A70 38 61 00 2C */ addi r3, r1, 0x2c +/* 8011AB14 00117A74 38 81 00 20 */ addi r4, r1, 0x20 +/* 8011AB18 00117A78 4B F0 0A 6D */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011AB1C 00117A7C 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 8011AB20 00117A80 38 7F 01 44 */ addi r3, r31, 0x144 +/* 8011AB24 00117A84 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8011AB28 00117A88 90 9F 01 44 */ stw r4, 0x144(r31) +/* 8011AB2C 00117A8C 90 1F 01 48 */ stw r0, 0x148(r31) +/* 8011AB30 00117A90 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011AB34 00117A94 90 1F 01 4C */ stw r0, 0x14c(r31) +/* 8011AB38 00117A98 C3 FF 00 F0 */ lfs f31, 0xf0(r31) +/* 8011AB3C 00117A9C 4B F0 09 F5 */ bl GetVector__10CAxisAngleCFv +/* 8011AB40 00117AA0 C0 43 00 04 */ lfs f2, 4(r3) +/* 8011AB44 00117AA4 38 81 00 08 */ addi r4, r1, 8 +/* 8011AB48 00117AA8 C0 23 00 08 */ lfs f1, 8(r3) +/* 8011AB4C 00117AAC C0 03 00 00 */ lfs f0, 0(r3) +/* 8011AB50 00117AB0 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8011AB54 00117AB4 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8011AB58 00117AB8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011AB5C 00117ABC EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8011AB60 00117AC0 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8011AB64 00117AC4 D0 01 00 08 */ stfs f0, 8(r1) +/* 8011AB68 00117AC8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8011AB6C 00117ACC 4B F0 0A 19 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011AB70 00117AD0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8011AB74 00117AD4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8011AB78 00117AD8 90 7F 01 08 */ stw r3, 0x108(r31) +/* 8011AB7C 00117ADC 90 1F 01 0C */ stw r0, 0x10c(r31) +/* 8011AB80 00117AE0 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8011AB84 00117AE4 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8011AB88 00117AE8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8011AB8C 00117AEC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8011AB90 00117AF0 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8011AB94 00117AF4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8011AB98 00117AF8 7C 08 03 A6 */ mtlr r0 +/* 8011AB9C 00117AFC 38 21 00 50 */ addi r1, r1, 0x50 +/* 8011ABA0 00117B00 4E 80 00 20 */ blr + +.global GetAngularVelocityOR__13CPhysicsActorCFv +GetAngularVelocityOR__13CPhysicsActorCFv: +/* 8011ABA4 00117B04 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011ABA8 00117B08 7C 08 02 A6 */ mflr r0 +/* 8011ABAC 00117B0C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011ABB0 00117B10 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011ABB4 00117B14 7C 9F 23 78 */ mr r31, r4 +/* 8011ABB8 00117B18 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8011ABBC 00117B1C 7C 7E 1B 78 */ mr r30, r3 +/* 8011ABC0 00117B20 38 7F 01 44 */ addi r3, r31, 0x144 +/* 8011ABC4 00117B24 4B F0 09 6D */ bl GetVector__10CAxisAngleCFv +/* 8011ABC8 00117B28 7C 65 1B 78 */ mr r5, r3 +/* 8011ABCC 00117B2C 38 61 00 08 */ addi r3, r1, 8 +/* 8011ABD0 00117B30 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8011ABD4 00117B34 48 1F 7E 51 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 8011ABD8 00117B38 7F C3 F3 78 */ mr r3, r30 +/* 8011ABDC 00117B3C 38 81 00 08 */ addi r4, r1, 8 +/* 8011ABE0 00117B40 4B F0 09 A5 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011ABE4 00117B44 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011ABE8 00117B48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011ABEC 00117B4C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8011ABF0 00117B50 7C 08 03 A6 */ mtlr r0 +/* 8011ABF4 00117B54 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011ABF8 00117B58 4E 80 00 20 */ blr + +.global SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle +SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle: +/* 8011ABFC 00117B5C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8011AC00 00117B60 7C 08 02 A6 */ mflr r0 +/* 8011AC04 00117B64 90 01 00 44 */ stw r0, 0x44(r1) +/* 8011AC08 00117B68 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8011AC0C 00117B6C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8011AC10 00117B70 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011AC14 00117B74 80 A4 00 00 */ lwz r5, 0(r4) +/* 8011AC18 00117B78 7C 7F 1B 78 */ mr r31, r3 +/* 8011AC1C 00117B7C 80 04 00 04 */ lwz r0, 4(r4) +/* 8011AC20 00117B80 38 7F 01 44 */ addi r3, r31, 0x144 +/* 8011AC24 00117B84 90 BF 01 44 */ stw r5, 0x144(r31) +/* 8011AC28 00117B88 90 1F 01 48 */ stw r0, 0x148(r31) +/* 8011AC2C 00117B8C 80 04 00 08 */ lwz r0, 8(r4) +/* 8011AC30 00117B90 90 1F 01 4C */ stw r0, 0x14c(r31) +/* 8011AC34 00117B94 C3 FF 00 F0 */ lfs f31, 0xf0(r31) +/* 8011AC38 00117B98 4B F0 08 F9 */ bl GetVector__10CAxisAngleCFv +/* 8011AC3C 00117B9C C0 43 00 04 */ lfs f2, 4(r3) +/* 8011AC40 00117BA0 38 81 00 08 */ addi r4, r1, 8 +/* 8011AC44 00117BA4 C0 23 00 08 */ lfs f1, 8(r3) +/* 8011AC48 00117BA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8011AC4C 00117BAC EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8011AC50 00117BB0 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8011AC54 00117BB4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011AC58 00117BB8 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8011AC5C 00117BBC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8011AC60 00117BC0 D0 01 00 08 */ stfs f0, 8(r1) +/* 8011AC64 00117BC4 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8011AC68 00117BC8 4B F0 09 1D */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011AC6C 00117BCC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8011AC70 00117BD0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8011AC74 00117BD4 90 7F 01 08 */ stw r3, 0x108(r31) +/* 8011AC78 00117BD8 90 1F 01 0C */ stw r0, 0x10c(r31) +/* 8011AC7C 00117BDC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8011AC80 00117BE0 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8011AC84 00117BE4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8011AC88 00117BE8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8011AC8C 00117BEC CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8011AC90 00117BF0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011AC94 00117BF4 7C 08 03 A6 */ mtlr r0 +/* 8011AC98 00117BF8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8011AC9C 00117BFC 4E 80 00 20 */ blr + +.global SetVelocityWR__13CPhysicsActorFRC9CVector3f +SetVelocityWR__13CPhysicsActorFRC9CVector3f: +/* 8011ACA0 00117C00 C0 04 00 00 */ lfs f0, 0(r4) +/* 8011ACA4 00117C04 D0 03 01 38 */ stfs f0, 0x138(r3) +/* 8011ACA8 00117C08 C0 04 00 04 */ lfs f0, 4(r4) +/* 8011ACAC 00117C0C D0 03 01 3C */ stfs f0, 0x13c(r3) +/* 8011ACB0 00117C10 C0 04 00 08 */ lfs f0, 8(r4) +/* 8011ACB4 00117C14 D0 03 01 40 */ stfs f0, 0x140(r3) +/* 8011ACB8 00117C18 C0 63 00 E8 */ lfs f3, 0xe8(r3) +/* 8011ACBC 00117C1C C0 03 01 38 */ lfs f0, 0x138(r3) +/* 8011ACC0 00117C20 C0 43 01 3C */ lfs f2, 0x13c(r3) +/* 8011ACC4 00117C24 C0 23 01 40 */ lfs f1, 0x140(r3) +/* 8011ACC8 00117C28 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8011ACCC 00117C2C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8011ACD0 00117C30 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8011ACD4 00117C34 D0 03 00 FC */ stfs f0, 0xfc(r3) +/* 8011ACD8 00117C38 D0 43 01 00 */ stfs f2, 0x100(r3) +/* 8011ACDC 00117C3C D0 23 01 04 */ stfs f1, 0x104(r3) +/* 8011ACE0 00117C40 4E 80 00 20 */ blr + +.global GetTotalForceWR__13CPhysicsActorCFv +GetTotalForceWR__13CPhysicsActorCFv: +/* 8011ACE4 00117C44 C0 24 01 5C */ lfs f1, 0x15c(r4) +/* 8011ACE8 00117C48 C0 04 01 50 */ lfs f0, 0x150(r4) +/* 8011ACEC 00117C4C C0 84 01 60 */ lfs f4, 0x160(r4) +/* 8011ACF0 00117C50 C0 64 01 54 */ lfs f3, 0x154(r4) +/* 8011ACF4 00117C54 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011ACF8 00117C58 C0 44 01 64 */ lfs f2, 0x164(r4) +/* 8011ACFC 00117C5C C0 24 01 58 */ lfs f1, 0x158(r4) +/* 8011AD00 00117C60 EC 64 18 2A */ fadds f3, f4, f3 +/* 8011AD04 00117C64 D0 03 00 00 */ stfs f0, 0(r3) +/* 8011AD08 00117C68 EC 02 08 2A */ fadds f0, f2, f1 +/* 8011AD0C 00117C6C D0 63 00 04 */ stfs f3, 4(r3) +/* 8011AD10 00117C70 D0 03 00 08 */ stfs f0, 8(r3) +/* 8011AD14 00117C74 4E 80 00 20 */ blr + +.global SetVelocityOR__13CPhysicsActorFRC9CVector3f +SetVelocityOR__13CPhysicsActorFRC9CVector3f: +/* 8011AD18 00117C78 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011AD1C 00117C7C 7C 08 02 A6 */ mflr r0 +/* 8011AD20 00117C80 7C 85 23 78 */ mr r5, r4 +/* 8011AD24 00117C84 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011AD28 00117C88 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011AD2C 00117C8C 7C 7F 1B 78 */ mr r31, r3 +/* 8011AD30 00117C90 38 61 00 08 */ addi r3, r1, 8 +/* 8011AD34 00117C94 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8011AD38 00117C98 48 1F 7D 49 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8011AD3C 00117C9C 7F E3 FB 78 */ mr r3, r31 +/* 8011AD40 00117CA0 38 81 00 08 */ addi r4, r1, 8 +/* 8011AD44 00117CA4 4B FF FF 5D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 8011AD48 00117CA8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011AD4C 00117CAC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011AD50 00117CB0 7C 08 03 A6 */ mtlr r0 +/* 8011AD54 00117CB4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011AD58 00117CB8 4E 80 00 20 */ blr + +.global RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf: +/* 8011AD5C 00117CBC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011AD60 00117CC0 7C 08 02 A6 */ mflr r0 +/* 8011AD64 00117CC4 7C 85 23 78 */ mr r5, r4 +/* 8011AD68 00117CC8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011AD6C 00117CCC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011AD70 00117CD0 7C 7F 1B 78 */ mr r31, r3 +/* 8011AD74 00117CD4 7F E4 FB 78 */ mr r4, r31 +/* 8011AD78 00117CD8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011AD7C 00117CDC 48 00 01 55 */ bl GetRotateToORAngularMomentumWR__13CPhysicsActorCFRC11CQuaternionf +/* 8011AD80 00117CE0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011AD84 00117CE4 38 61 00 08 */ addi r3, r1, 8 +/* 8011AD88 00117CE8 4B F0 07 FD */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011AD8C 00117CEC 7C 64 1B 78 */ mr r4, r3 +/* 8011AD90 00117CF0 38 7F 01 98 */ addi r3, r31, 0x198 +/* 8011AD94 00117CF4 4B F0 07 1D */ bl __apl__10CAxisAngleFRC10CAxisAngle +/* 8011AD98 00117CF8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011AD9C 00117CFC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011ADA0 00117D00 7C 08 03 A6 */ mtlr r0 +/* 8011ADA4 00117D04 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011ADA8 00117D08 4E 80 00 20 */ blr + +.global MoveInOneFrameOR__13CPhysicsActorFRC9CVector3ff +MoveInOneFrameOR__13CPhysicsActorFRC9CVector3ff: +/* 8011ADAC 00117D0C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011ADB0 00117D10 7C 08 02 A6 */ mflr r0 +/* 8011ADB4 00117D14 7C 85 23 78 */ mr r5, r4 +/* 8011ADB8 00117D18 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011ADBC 00117D1C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011ADC0 00117D20 7C 7F 1B 78 */ mr r31, r3 +/* 8011ADC4 00117D24 7F E4 FB 78 */ mr r4, r31 +/* 8011ADC8 00117D28 38 61 00 08 */ addi r3, r1, 8 +/* 8011ADCC 00117D2C 48 00 02 3D */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff +/* 8011ADD0 00117D30 C0 3F 01 8C */ lfs f1, 0x18c(r31) +/* 8011ADD4 00117D34 C0 01 00 08 */ lfs f0, 8(r1) +/* 8011ADD8 00117D38 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011ADDC 00117D3C D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 8011ADE0 00117D40 C0 3F 01 90 */ lfs f1, 0x190(r31) +/* 8011ADE4 00117D44 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8011ADE8 00117D48 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011ADEC 00117D4C D0 1F 01 90 */ stfs f0, 0x190(r31) +/* 8011ADF0 00117D50 C0 3F 01 94 */ lfs f1, 0x194(r31) +/* 8011ADF4 00117D54 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8011ADF8 00117D58 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011ADFC 00117D5C D0 1F 01 94 */ stfs f0, 0x194(r31) +/* 8011AE00 00117D60 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011AE04 00117D64 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011AE08 00117D68 7C 08 03 A6 */ mtlr r0 +/* 8011AE0C 00117D6C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011AE10 00117D70 4E 80 00 20 */ blr + +.global RotateToOR__13CPhysicsActorFRC11CQuaternionf +RotateToOR__13CPhysicsActorFRC11CQuaternionf: +/* 8011AE14 00117D74 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011AE18 00117D78 7C 08 02 A6 */ mflr r0 +/* 8011AE1C 00117D7C 7C 85 23 78 */ mr r5, r4 +/* 8011AE20 00117D80 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011AE24 00117D84 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011AE28 00117D88 7C 7F 1B 78 */ mr r31, r3 +/* 8011AE2C 00117D8C 7F E4 FB 78 */ mr r4, r31 +/* 8011AE30 00117D90 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011AE34 00117D94 48 00 00 9D */ bl GetRotateToORAngularMomentumWR__13CPhysicsActorCFRC11CQuaternionf +/* 8011AE38 00117D98 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011AE3C 00117D9C 38 61 00 08 */ addi r3, r1, 8 +/* 8011AE40 00117DA0 4B F0 07 45 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011AE44 00117DA4 80 81 00 08 */ lwz r4, 8(r1) +/* 8011AE48 00117DA8 7F E3 FB 78 */ mr r3, r31 +/* 8011AE4C 00117DAC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8011AE50 00117DB0 90 9F 01 08 */ stw r4, 0x108(r31) +/* 8011AE54 00117DB4 90 1F 01 0C */ stw r0, 0x10c(r31) +/* 8011AE58 00117DB8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8011AE5C 00117DBC 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8011AE60 00117DC0 48 00 12 19 */ bl ComputeDerivedQuantities__13CPhysicsActorFv +/* 8011AE64 00117DC4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011AE68 00117DC8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011AE6C 00117DCC 7C 08 03 A6 */ mtlr r0 +/* 8011AE70 00117DD0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011AE74 00117DD4 4E 80 00 20 */ blr + +.global MoveToOR__13CPhysicsActorFRC9CVector3ff +MoveToOR__13CPhysicsActorFRC9CVector3ff: +/* 8011AE78 00117DD8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011AE7C 00117DDC 7C 08 02 A6 */ mflr r0 +/* 8011AE80 00117DE0 7C 85 23 78 */ mr r5, r4 +/* 8011AE84 00117DE4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011AE88 00117DE8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011AE8C 00117DEC 7C 7F 1B 78 */ mr r31, r3 +/* 8011AE90 00117DF0 7F E4 FB 78 */ mr r4, r31 +/* 8011AE94 00117DF4 38 61 00 08 */ addi r3, r1, 8 +/* 8011AE98 00117DF8 48 00 01 71 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff +/* 8011AE9C 00117DFC C0 01 00 08 */ lfs f0, 8(r1) +/* 8011AEA0 00117E00 7F E3 FB 78 */ mr r3, r31 +/* 8011AEA4 00117E04 D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 8011AEA8 00117E08 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8011AEAC 00117E0C D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 8011AEB0 00117E10 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8011AEB4 00117E14 D0 1F 01 04 */ stfs f0, 0x104(r31) +/* 8011AEB8 00117E18 48 00 11 C1 */ bl ComputeDerivedQuantities__13CPhysicsActorFv +/* 8011AEBC 00117E1C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011AEC0 00117E20 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011AEC4 00117E24 7C 08 03 A6 */ mtlr r0 +/* 8011AEC8 00117E28 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011AECC 00117E2C 4E 80 00 20 */ blr + +.global GetRotateToORAngularMomentumWR__13CPhysicsActorCFRC11CQuaternionf +GetRotateToORAngularMomentumWR__13CPhysicsActorCFRC11CQuaternionf: +/* 8011AED0 00117E30 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8011AED4 00117E34 7C 08 02 A6 */ mflr r0 +/* 8011AED8 00117E38 90 01 00 74 */ stw r0, 0x74(r1) +/* 8011AEDC 00117E3C DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8011AEE0 00117E40 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8011AEE4 00117E44 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 8011AEE8 00117E48 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 8011AEEC 00117E4C DB A1 00 40 */ stfd f29, 0x40(r1) +/* 8011AEF0 00117E50 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 8011AEF4 00117E54 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8011AEF8 00117E58 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8011AEFC 00117E5C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8011AF00 00117E60 7C BF 2B 78 */ mr r31, r5 +/* 8011AF04 00117E64 C0 02 96 BC */ lfs f0, lbl_805AB3DC@sda21(r2) +/* 8011AF08 00117E68 C0 45 00 00 */ lfs f2, 0(r5) +/* 8011AF0C 00117E6C FF A0 08 90 */ fmr f29, f1 +/* 8011AF10 00117E70 7C 7D 1B 78 */ mr r29, r3 +/* 8011AF14 00117E74 7C 9E 23 78 */ mr r30, r4 +/* 8011AF18 00117E78 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8011AF1C 00117E7C 40 81 00 24 */ ble lbl_8011AF40 +/* 8011AF20 00117E80 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011AF24 00117E84 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8011AF28 00117E88 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8011AF2C 00117E8C C0 03 00 04 */ lfs f0, 4(r3) +/* 8011AF30 00117E90 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8011AF34 00117E94 C0 03 00 08 */ lfs f0, 8(r3) +/* 8011AF38 00117E98 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8011AF3C 00117E9C 48 00 00 98 */ b lbl_8011AFD4 +lbl_8011AF40: +/* 8011AF40 00117EA0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011AF44 00117EA4 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8011AF48 00117EA8 38 BF 00 04 */ addi r5, r31, 4 +/* 8011AF4C 00117EAC 48 1F 7B 35 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8011AF50 00117EB0 C0 3F 00 00 */ lfs f1, 0(r31) +/* 8011AF54 00117EB4 3B E1 00 24 */ addi r31, r1, 0x24 +/* 8011AF58 00117EB8 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 8011AF5C 00117EBC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8011AF60 00117EC0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8011AF64 00117EC4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8011AF68 00117EC8 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8011AF6C 00117ECC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8011AF70 00117ED0 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8011AF74 00117ED4 48 27 9C B9 */ bl acos +/* 8011AF78 00117ED8 FF E0 08 90 */ fmr f31, f1 +/* 8011AF7C 00117EDC C3 DE 00 F0 */ lfs f30, 0xf0(r30) +/* 8011AF80 00117EE0 7F E4 FB 78 */ mr r4, r31 +/* 8011AF84 00117EE4 38 61 00 08 */ addi r3, r1, 8 +/* 8011AF88 00117EE8 48 1F 98 C9 */ bl AsNormalized__9CVector3fCFv +/* 8011AF8C 00117EEC C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) +/* 8011AF90 00117EF0 FC 80 F8 18 */ frsp f4, f31 +/* 8011AF94 00117EF4 C0 A2 96 C0 */ lfs f5, lbl_805AB3E0@sda21(r2) +/* 8011AF98 00117EF8 EC 60 E8 24 */ fdivs f3, f0, f29 +/* 8011AF9C 00117EFC C0 41 00 08 */ lfs f2, 8(r1) +/* 8011AFA0 00117F00 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8011AFA4 00117F04 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8011AFA8 00117F08 EC 85 01 32 */ fmuls f4, f5, f4 +/* 8011AFAC 00117F0C EC 84 00 F2 */ fmuls f4, f4, f3 +/* 8011AFB0 00117F10 EC 64 00 B2 */ fmuls f3, f4, f2 +/* 8011AFB4 00117F14 EC 44 00 72 */ fmuls f2, f4, f1 +/* 8011AFB8 00117F18 EC 24 00 32 */ fmuls f1, f4, f0 +/* 8011AFBC 00117F1C EC 1E 00 F2 */ fmuls f0, f30, f3 +/* 8011AFC0 00117F20 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 8011AFC4 00117F24 EC 3E 00 72 */ fmuls f1, f30, f1 +/* 8011AFC8 00117F28 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8011AFCC 00117F2C D0 5D 00 04 */ stfs f2, 4(r29) +/* 8011AFD0 00117F30 D0 3D 00 08 */ stfs f1, 8(r29) +lbl_8011AFD4: +/* 8011AFD4 00117F34 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8011AFD8 00117F38 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8011AFDC 00117F3C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8011AFE0 00117F40 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 8011AFE4 00117F44 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 8011AFE8 00117F48 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 8011AFEC 00117F4C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8011AFF0 00117F50 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8011AFF4 00117F54 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8011AFF8 00117F58 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8011AFFC 00117F5C 7C 08 03 A6 */ mtlr r0 +/* 8011B000 00117F60 38 21 00 70 */ addi r1, r1, 0x70 +/* 8011B004 00117F64 4E 80 00 20 */ blr + +.global GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff +GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff: +/* 8011B008 00117F68 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011B00C 00117F6C 7C 08 02 A6 */ mflr r0 +/* 8011B010 00117F70 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011B014 00117F74 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8011B018 00117F78 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8011B01C 00117F7C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011B020 00117F80 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8011B024 00117F84 FF E0 08 90 */ fmr f31, f1 +/* 8011B028 00117F88 7C 9F 23 78 */ mr r31, r4 +/* 8011B02C 00117F8C 7C 7E 1B 78 */ mr r30, r3 +/* 8011B030 00117F90 38 61 00 08 */ addi r3, r1, 8 +/* 8011B034 00117F94 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8011B038 00117F98 48 1F 7A 49 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8011B03C 00117F9C C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) +/* 8011B040 00117FA0 C0 7F 00 E8 */ lfs f3, 0xe8(r31) +/* 8011B044 00117FA4 EC 80 F8 24 */ fdivs f4, f0, f31 +/* 8011B048 00117FA8 C0 41 00 08 */ lfs f2, 8(r1) +/* 8011B04C 00117FAC C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8011B050 00117FB0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8011B054 00117FB4 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8011B058 00117FB8 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8011B05C 00117FBC EC 03 00 32 */ fmuls f0, f3, f0 +/* 8011B060 00117FC0 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8011B064 00117FC4 EC 24 00 72 */ fmuls f1, f4, f1 +/* 8011B068 00117FC8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8011B06C 00117FCC D0 5E 00 00 */ stfs f2, 0(r30) +/* 8011B070 00117FD0 D0 3E 00 04 */ stfs f1, 4(r30) +/* 8011B074 00117FD4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8011B078 00117FD8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8011B07C 00117FDC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011B080 00117FE0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8011B084 00117FE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011B088 00117FE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8011B08C 00117FEC 7C 08 03 A6 */ mtlr r0 +/* 8011B090 00117FF0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011B094 00117FF4 4E 80 00 20 */ blr + +.global MoveToInOneFrameWR__13CPhysicsActorFRC9CVector3ff +MoveToInOneFrameWR__13CPhysicsActorFRC9CVector3ff: +/* 8011B098 00117FF8 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) +/* 8011B09C 00117FFC C0 84 00 00 */ lfs f4, 0(r4) +/* 8011B0A0 00118000 EC C0 08 24 */ fdivs f6, f0, f1 +/* 8011B0A4 00118004 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 8011B0A8 00118008 C0 A3 00 E8 */ lfs f5, 0xe8(r3) +/* 8011B0AC 0011800C C0 64 00 04 */ lfs f3, 4(r4) +/* 8011B0B0 00118010 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8011B0B4 00118014 C0 03 01 8C */ lfs f0, 0x18c(r3) +/* 8011B0B8 00118018 EC 84 10 28 */ fsubs f4, f4, f2 +/* 8011B0BC 0011801C C0 44 00 08 */ lfs f2, 8(r4) +/* 8011B0C0 00118020 EC 63 08 28 */ fsubs f3, f3, f1 +/* 8011B0C4 00118024 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 8011B0C8 00118028 EC 85 01 32 */ fmuls f4, f5, f4 +/* 8011B0CC 0011802C EC 65 00 F2 */ fmuls f3, f5, f3 +/* 8011B0D0 00118030 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8011B0D4 00118034 EC 86 01 32 */ fmuls f4, f6, f4 +/* 8011B0D8 00118038 EC 46 00 F2 */ fmuls f2, f6, f3 +/* 8011B0DC 0011803C EC 25 00 72 */ fmuls f1, f5, f1 +/* 8011B0E0 00118040 EC 00 20 2A */ fadds f0, f0, f4 +/* 8011B0E4 00118044 EC 26 00 72 */ fmuls f1, f6, f1 +/* 8011B0E8 00118048 D0 03 01 8C */ stfs f0, 0x18c(r3) +/* 8011B0EC 0011804C C0 03 01 90 */ lfs f0, 0x190(r3) +/* 8011B0F0 00118050 EC 00 10 2A */ fadds f0, f0, f2 +/* 8011B0F4 00118054 D0 03 01 90 */ stfs f0, 0x190(r3) +/* 8011B0F8 00118058 C0 03 01 94 */ lfs f0, 0x194(r3) +/* 8011B0FC 0011805C EC 00 08 2A */ fadds f0, f0, f1 +/* 8011B100 00118060 D0 03 01 94 */ stfs f0, 0x194(r3) +/* 8011B104 00118064 4E 80 00 20 */ blr + +.global MoveToWR__13CPhysicsActorFRC9CVector3ff +MoveToWR__13CPhysicsActorFRC9CVector3ff: +/* 8011B108 00118068 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011B10C 0011806C 7C 08 02 A6 */ mflr r0 +/* 8011B110 00118070 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) +/* 8011B114 00118074 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011B118 00118078 EC C0 08 24 */ fdivs f6, f0, f1 +/* 8011B11C 0011807C C0 84 00 00 */ lfs f4, 0(r4) +/* 8011B120 00118080 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8011B124 00118084 C0 64 00 04 */ lfs f3, 4(r4) +/* 8011B128 00118088 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8011B12C 0011808C C0 A3 00 E8 */ lfs f5, 0xe8(r3) +/* 8011B130 00118090 EC 84 00 28 */ fsubs f4, f4, f0 +/* 8011B134 00118094 C0 24 00 08 */ lfs f1, 8(r4) +/* 8011B138 00118098 C0 03 00 60 */ lfs f0, 0x60(r3) +/* 8011B13C 0011809C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8011B140 001180A0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8011B144 001180A4 EC 25 00 B2 */ fmuls f1, f5, f2 +/* 8011B148 001180A8 EC 65 01 32 */ fmuls f3, f5, f4 +/* 8011B14C 001180AC EC 05 00 32 */ fmuls f0, f5, f0 +/* 8011B150 001180B0 EC 26 00 72 */ fmuls f1, f6, f1 +/* 8011B154 001180B4 EC 46 00 F2 */ fmuls f2, f6, f3 +/* 8011B158 001180B8 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8011B15C 001180BC D0 43 00 FC */ stfs f2, 0xfc(r3) +/* 8011B160 001180C0 D0 23 01 00 */ stfs f1, 0x100(r3) +/* 8011B164 001180C4 D0 03 01 04 */ stfs f0, 0x104(r3) +/* 8011B168 001180C8 48 00 0F 11 */ bl ComputeDerivedQuantities__13CPhysicsActorFv +/* 8011B16C 001180CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011B170 001180D0 7C 08 03 A6 */ mtlr r0 +/* 8011B174 001180D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011B178 001180D8 4E 80 00 20 */ blr + +.global UseCollisionImpulses__13CPhysicsActorFv +UseCollisionImpulses__13CPhysicsActorFv: +/* 8011B17C 001180DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011B180 001180E0 7C 08 02 A6 */ mflr r0 +/* 8011B184 001180E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011B188 001180E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011B18C 001180EC 7C 7F 1B 78 */ mr r31, r3 +/* 8011B190 001180F0 38 9F 01 80 */ addi r4, r31, 0x180 +/* 8011B194 001180F4 C0 23 00 FC */ lfs f1, 0xfc(r3) +/* 8011B198 001180F8 38 7F 01 08 */ addi r3, r31, 0x108 +/* 8011B19C 001180FC C0 1F 01 68 */ lfs f0, 0x168(r31) +/* 8011B1A0 00118100 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011B1A4 00118104 D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 8011B1A8 00118108 C0 3F 01 00 */ lfs f1, 0x100(r31) +/* 8011B1AC 0011810C C0 1F 01 6C */ lfs f0, 0x16c(r31) +/* 8011B1B0 00118110 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011B1B4 00118114 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 8011B1B8 00118118 C0 3F 01 04 */ lfs f1, 0x104(r31) +/* 8011B1BC 0011811C C0 1F 01 70 */ lfs f0, 0x170(r31) +/* 8011B1C0 00118120 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011B1C4 00118124 D0 1F 01 04 */ stfs f0, 0x104(r31) +/* 8011B1C8 00118128 4B F0 02 E9 */ bl __apl__10CAxisAngleFRC10CAxisAngle +/* 8011B1CC 0011812C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011B1D0 00118130 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8011B1D4 00118134 D0 1F 01 68 */ stfs f0, 0x168(r31) +/* 8011B1D8 00118138 C0 03 00 04 */ lfs f0, 4(r3) +/* 8011B1DC 0011813C D0 1F 01 6C */ stfs f0, 0x16c(r31) +/* 8011B1E0 00118140 C0 03 00 08 */ lfs f0, 8(r3) +/* 8011B1E4 00118144 D0 1F 01 70 */ stfs f0, 0x170(r31) +/* 8011B1E8 00118148 4B F0 03 4D */ bl Identity__10CAxisAngleFv +/* 8011B1EC 0011814C 80 83 00 00 */ lwz r4, 0(r3) +/* 8011B1F0 00118150 80 03 00 04 */ lwz r0, 4(r3) +/* 8011B1F4 00118154 90 9F 01 80 */ stw r4, 0x180(r31) +/* 8011B1F8 00118158 90 1F 01 84 */ stw r0, 0x184(r31) +/* 8011B1FC 0011815C 80 03 00 08 */ lwz r0, 8(r3) +/* 8011B200 00118160 7F E3 FB 78 */ mr r3, r31 +/* 8011B204 00118164 90 1F 01 88 */ stw r0, 0x188(r31) +/* 8011B208 00118168 48 00 0E 71 */ bl ComputeDerivedQuantities__13CPhysicsActorFv +/* 8011B20C 0011816C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011B210 00118170 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011B214 00118174 7C 08 03 A6 */ mtlr r0 +/* 8011B218 00118178 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011B21C 0011817C 4E 80 00 20 */ blr + +.global ClearImpulses__13CPhysicsActorFv +ClearImpulses__13CPhysicsActorFv: +/* 8011B220 00118180 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011B224 00118184 7C 08 02 A6 */ mflr r0 +/* 8011B228 00118188 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011B22C 0011818C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011B230 00118190 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011B234 00118194 7C 7F 1B 78 */ mr r31, r3 +/* 8011B238 00118198 38 64 66 A0 */ addi r3, r4, skZero3f@l +/* 8011B23C 0011819C C0 03 00 00 */ lfs f0, 0(r3) +/* 8011B240 001181A0 D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 8011B244 001181A4 C0 03 00 04 */ lfs f0, 4(r3) +/* 8011B248 001181A8 D0 1F 01 90 */ stfs f0, 0x190(r31) +/* 8011B24C 001181AC C0 03 00 08 */ lfs f0, 8(r3) +/* 8011B250 001181B0 D0 1F 01 94 */ stfs f0, 0x194(r31) +/* 8011B254 001181B4 C0 1F 01 8C */ lfs f0, 0x18c(r31) +/* 8011B258 001181B8 D0 1F 01 68 */ stfs f0, 0x168(r31) +/* 8011B25C 001181BC C0 1F 01 90 */ lfs f0, 0x190(r31) +/* 8011B260 001181C0 D0 1F 01 6C */ stfs f0, 0x16c(r31) +/* 8011B264 001181C4 C0 1F 01 94 */ lfs f0, 0x194(r31) +/* 8011B268 001181C8 D0 1F 01 70 */ stfs f0, 0x170(r31) +/* 8011B26C 001181CC 4B F0 02 C9 */ bl Identity__10CAxisAngleFv +/* 8011B270 001181D0 80 83 00 00 */ lwz r4, 0(r3) +/* 8011B274 001181D4 80 03 00 04 */ lwz r0, 4(r3) +/* 8011B278 001181D8 90 9F 01 98 */ stw r4, 0x198(r31) +/* 8011B27C 001181DC 90 1F 01 9C */ stw r0, 0x19c(r31) +/* 8011B280 001181E0 80 03 00 08 */ lwz r0, 8(r3) +/* 8011B284 001181E4 90 1F 01 A0 */ stw r0, 0x1a0(r31) +/* 8011B288 001181E8 80 7F 01 98 */ lwz r3, 0x198(r31) +/* 8011B28C 001181EC 80 1F 01 9C */ lwz r0, 0x19c(r31) +/* 8011B290 001181F0 90 7F 01 80 */ stw r3, 0x180(r31) +/* 8011B294 001181F4 90 1F 01 84 */ stw r0, 0x184(r31) +/* 8011B298 001181F8 80 1F 01 A0 */ lwz r0, 0x1a0(r31) +/* 8011B29C 001181FC 90 1F 01 88 */ stw r0, 0x188(r31) +/* 8011B2A0 00118200 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011B2A4 00118204 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011B2A8 00118208 7C 08 03 A6 */ mtlr r0 +/* 8011B2AC 0011820C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011B2B0 00118210 4E 80 00 20 */ blr + +.global ClearForcesAndTorques__13CPhysicsActorFv +ClearForcesAndTorques__13CPhysicsActorFv: +/* 8011B2B4 00118214 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011B2B8 00118218 7C 08 02 A6 */ mflr r0 +/* 8011B2BC 0011821C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011B2C0 00118220 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011B2C4 00118224 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011B2C8 00118228 7C 7F 1B 78 */ mr r31, r3 +/* 8011B2CC 0011822C 38 64 66 A0 */ addi r3, r4, skZero3f@l +/* 8011B2D0 00118230 C0 03 00 00 */ lfs f0, 0(r3) +/* 8011B2D4 00118234 D0 1F 01 8C */ stfs f0, 0x18c(r31) +/* 8011B2D8 00118238 C0 03 00 04 */ lfs f0, 4(r3) +/* 8011B2DC 0011823C D0 1F 01 90 */ stfs f0, 0x190(r31) +/* 8011B2E0 00118240 C0 03 00 08 */ lfs f0, 8(r3) +/* 8011B2E4 00118244 D0 1F 01 94 */ stfs f0, 0x194(r31) +/* 8011B2E8 00118248 C0 1F 01 8C */ lfs f0, 0x18c(r31) +/* 8011B2EC 0011824C D0 1F 01 68 */ stfs f0, 0x168(r31) +/* 8011B2F0 00118250 C0 1F 01 90 */ lfs f0, 0x190(r31) +/* 8011B2F4 00118254 D0 1F 01 6C */ stfs f0, 0x16c(r31) +/* 8011B2F8 00118258 C0 1F 01 94 */ lfs f0, 0x194(r31) +/* 8011B2FC 0011825C D0 1F 01 70 */ stfs f0, 0x170(r31) +/* 8011B300 00118260 C0 1F 01 68 */ lfs f0, 0x168(r31) +/* 8011B304 00118264 D0 1F 01 5C */ stfs f0, 0x15c(r31) +/* 8011B308 00118268 C0 1F 01 6C */ lfs f0, 0x16c(r31) +/* 8011B30C 0011826C D0 1F 01 60 */ stfs f0, 0x160(r31) +/* 8011B310 00118270 C0 1F 01 70 */ lfs f0, 0x170(r31) +/* 8011B314 00118274 D0 1F 01 64 */ stfs f0, 0x164(r31) +/* 8011B318 00118278 4B F0 02 1D */ bl Identity__10CAxisAngleFv +/* 8011B31C 0011827C 80 83 00 00 */ lwz r4, 0(r3) +/* 8011B320 00118280 80 03 00 04 */ lwz r0, 4(r3) +/* 8011B324 00118284 90 9F 01 98 */ stw r4, 0x198(r31) +/* 8011B328 00118288 90 1F 01 9C */ stw r0, 0x19c(r31) +/* 8011B32C 0011828C 80 03 00 08 */ lwz r0, 8(r3) +/* 8011B330 00118290 90 1F 01 A0 */ stw r0, 0x1a0(r31) +/* 8011B334 00118294 80 7F 01 98 */ lwz r3, 0x198(r31) +/* 8011B338 00118298 80 1F 01 9C */ lwz r0, 0x19c(r31) +/* 8011B33C 0011829C 90 7F 01 80 */ stw r3, 0x180(r31) +/* 8011B340 001182A0 90 1F 01 84 */ stw r0, 0x184(r31) +/* 8011B344 001182A4 80 1F 01 A0 */ lwz r0, 0x1a0(r31) +/* 8011B348 001182A8 90 1F 01 88 */ stw r0, 0x188(r31) +/* 8011B34C 001182AC 80 7F 01 80 */ lwz r3, 0x180(r31) +/* 8011B350 001182B0 80 1F 01 84 */ lwz r0, 0x184(r31) +/* 8011B354 001182B4 90 7F 01 74 */ stw r3, 0x174(r31) +/* 8011B358 001182B8 90 1F 01 78 */ stw r0, 0x178(r31) +/* 8011B35C 001182BC 80 1F 01 88 */ lwz r0, 0x188(r31) +/* 8011B360 001182C0 90 1F 01 7C */ stw r0, 0x17c(r31) +/* 8011B364 001182C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011B368 001182C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011B36C 001182CC 7C 08 03 A6 */ mtlr r0 +/* 8011B370 001182D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011B374 001182D4 4E 80 00 20 */ blr + +.global Stop__13CPhysicsActorFv +Stop__13CPhysicsActorFv: +/* 8011B378 001182D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011B37C 001182DC 7C 08 02 A6 */ mflr r0 +/* 8011B380 001182E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011B384 001182E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011B388 001182E8 7C 7F 1B 78 */ mr r31, r3 +/* 8011B38C 001182EC 4B FF FF 29 */ bl ClearForcesAndTorques__13CPhysicsActorFv +/* 8011B390 001182F0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011B394 001182F4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8011B398 001182F8 D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 8011B39C 001182FC C0 03 00 04 */ lfs f0, 4(r3) +/* 8011B3A0 00118300 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 8011B3A4 00118304 C0 03 00 08 */ lfs f0, 8(r3) +/* 8011B3A8 00118308 D0 1F 01 04 */ stfs f0, 0x104(r31) +/* 8011B3AC 0011830C 4B F0 01 89 */ bl Identity__10CAxisAngleFv +/* 8011B3B0 00118310 80 83 00 00 */ lwz r4, 0(r3) +/* 8011B3B4 00118314 80 03 00 04 */ lwz r0, 4(r3) +/* 8011B3B8 00118318 90 9F 01 08 */ stw r4, 0x108(r31) +/* 8011B3BC 0011831C 90 1F 01 0C */ stw r0, 0x10c(r31) +/* 8011B3C0 00118320 80 03 00 08 */ lwz r0, 8(r3) +/* 8011B3C4 00118324 7F E3 FB 78 */ mr r3, r31 +/* 8011B3C8 00118328 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8011B3CC 0011832C 48 00 0C AD */ bl ComputeDerivedQuantities__13CPhysicsActorFv +/* 8011B3D0 00118330 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011B3D4 00118334 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011B3D8 00118338 7C 08 03 A6 */ mtlr r0 +/* 8011B3DC 0011833C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011B3E0 00118340 4E 80 00 20 */ blr + +.global WillMove__13CPhysicsActorFRC13CStateManager +WillMove__13CPhysicsActorFRC13CStateManager: +/* 8011B3E4 00118344 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011B3E8 00118348 7C 08 02 A6 */ mflr r0 +/* 8011B3EC 0011834C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011B3F0 00118350 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) +/* 8011B3F4 00118354 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011B3F8 00118358 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8011B3FC 0011835C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011B400 00118360 7C 7F 1B 78 */ mr r31, r3 +/* 8011B404 00118364 38 7F 01 38 */ addi r3, r31, 0x138 +/* 8011B408 00118368 48 1F 4B 5D */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8011B40C 0011836C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011B410 00118370 41 82 00 EC */ beq lbl_8011B4FC +/* 8011B414 00118374 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011B418 00118378 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) +/* 8011B41C 0011837C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8011B420 00118380 38 7F 01 68 */ addi r3, r31, 0x168 +/* 8011B424 00118384 48 1F 4B 41 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8011B428 00118388 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011B42C 0011838C 41 82 00 D0 */ beq lbl_8011B4FC +/* 8011B430 00118390 38 7F 01 74 */ addi r3, r31, 0x174 +/* 8011B434 00118394 4B F0 00 FD */ bl GetVector__10CAxisAngleCFv +/* 8011B438 00118398 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011B43C 0011839C C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) +/* 8011B440 001183A0 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8011B444 001183A4 48 1F 4B 21 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8011B448 001183A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011B44C 001183AC 41 82 00 B0 */ beq lbl_8011B4FC +/* 8011B450 001183B0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011B454 001183B4 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) +/* 8011B458 001183B8 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8011B45C 001183BC 38 7F 01 8C */ addi r3, r31, 0x18c +/* 8011B460 001183C0 48 1F 4B 05 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8011B464 001183C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011B468 001183C8 41 82 00 94 */ beq lbl_8011B4FC +/* 8011B46C 001183CC 38 7F 01 44 */ addi r3, r31, 0x144 +/* 8011B470 001183D0 4B F0 00 C1 */ bl GetVector__10CAxisAngleCFv +/* 8011B474 001183D4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011B478 001183D8 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) +/* 8011B47C 001183DC 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8011B480 001183E0 48 1F 4A E5 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8011B484 001183E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011B488 001183E8 41 82 00 74 */ beq lbl_8011B4FC +/* 8011B48C 001183EC 38 7F 01 80 */ addi r3, r31, 0x180 +/* 8011B490 001183F0 4B F0 00 A1 */ bl GetVector__10CAxisAngleCFv +/* 8011B494 001183F4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011B498 001183F8 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) +/* 8011B49C 001183FC 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8011B4A0 00118400 48 1F 4A C5 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8011B4A4 00118404 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011B4A8 00118408 41 82 00 54 */ beq lbl_8011B4FC +/* 8011B4AC 0011840C 38 7F 01 98 */ addi r3, r31, 0x198 +/* 8011B4B0 00118410 4B F0 00 81 */ bl GetVector__10CAxisAngleCFv +/* 8011B4B4 00118414 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011B4B8 00118418 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) +/* 8011B4BC 0011841C 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8011B4C0 00118420 48 1F 4A A5 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8011B4C4 00118424 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011B4C8 00118428 41 82 00 34 */ beq lbl_8011B4FC +/* 8011B4CC 0011842C 7F E4 FB 78 */ mr r4, r31 +/* 8011B4D0 00118430 38 61 00 08 */ addi r3, r1, 8 +/* 8011B4D4 00118434 4B FF F8 11 */ bl GetTotalForceWR__13CPhysicsActorCFv +/* 8011B4D8 00118438 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011B4DC 0011843C C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) +/* 8011B4E0 00118440 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8011B4E4 00118444 38 61 00 08 */ addi r3, r1, 8 +/* 8011B4E8 00118448 48 1F 4A 7D */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8011B4EC 0011844C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011B4F0 00118450 41 82 00 0C */ beq lbl_8011B4FC +/* 8011B4F4 00118454 38 60 00 00 */ li r3, 0 +/* 8011B4F8 00118458 48 00 00 08 */ b lbl_8011B500 +lbl_8011B4FC: +/* 8011B4FC 0011845C 38 60 00 01 */ li r3, 1 +lbl_8011B500: +/* 8011B500 00118460 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011B504 00118464 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011B508 00118468 7C 08 03 A6 */ mtlr r0 +/* 8011B50C 0011846C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011B510 00118470 4E 80 00 20 */ blr + +.global AddMotionState__13CPhysicsActorFRC12CMotionState +AddMotionState__13CPhysicsActorFRC12CMotionState: +/* 8011B514 00118474 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8011B518 00118478 7C 08 02 A6 */ mflr r0 +/* 8011B51C 0011847C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8011B520 00118480 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8011B524 00118484 7C 9F 23 78 */ mr r31, r4 +/* 8011B528 00118488 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8011B52C 0011848C 7C 7E 1B 78 */ mr r30, r3 +/* 8011B530 00118490 38 61 00 30 */ addi r3, r1, 0x30 +/* 8011B534 00118494 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8011B538 00118498 48 1F 6B F1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8011B53C 0011849C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8011B540 001184A0 38 81 00 30 */ addi r4, r1, 0x30 +/* 8011B544 001184A4 48 1F 57 D1 */ bl BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion +/* 8011B548 001184A8 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 8011B54C 001184AC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8011B550 001184B0 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8011B554 001184B4 38 9F 00 0C */ addi r4, r31, 0xc +/* 8011B558 001184B8 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8011B55C 001184BC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8011B560 001184C0 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 8011B564 001184C4 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8011B568 001184C8 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8011B56C 001184CC D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8011B570 001184D0 48 1F 59 21 */ bl __apl__13CNUQuaternionFRC13CNUQuaternion +/* 8011B574 001184D4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8011B578 001184D8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8011B57C 001184DC 48 1F 54 6D */ bl FromNUQuaternion__11CQuaternionFRC13CNUQuaternion +/* 8011B580 001184E0 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8011B584 001184E4 38 61 00 60 */ addi r3, r1, 0x60 +/* 8011B588 001184E8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8011B58C 001184EC 38 81 00 20 */ addi r4, r1, 0x20 +/* 8011B590 001184F0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8011B594 001184F4 38 A1 00 08 */ addi r5, r1, 8 +/* 8011B598 001184F8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8011B59C 001184FC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8011B5A0 00118500 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8011B5A4 00118504 48 1F 69 19 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 8011B5A8 00118508 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8011B5AC 0011850C 38 81 00 60 */ addi r4, r1, 0x60 +/* 8011B5B0 00118510 48 1F 75 91 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8011B5B4 00118514 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8011B5B8 00118518 38 A0 00 01 */ li r5, 1 +/* 8011B5BC 0011851C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8011B5C0 00118520 7F C3 F3 78 */ mr r3, r30 +/* 8011B5C4 00118524 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8011B5C8 00118528 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011B5CC 0011852C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8011B5D0 00118530 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8011B5D4 00118534 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8011B5D8 00118538 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8011B5DC 0011853C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8011B5E0 00118540 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8011B5E4 00118544 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8011B5E8 00118548 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8011B5EC 0011854C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8011B5F0 00118550 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8011B5F4 00118554 EC 81 00 2A */ fadds f4, f1, f0 +/* 8011B5F8 00118558 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8011B5FC 0011855C C0 1F 00 00 */ lfs f0, 0(r31) +/* 8011B600 00118560 EC 43 10 2A */ fadds f2, f3, f2 +/* 8011B604 00118564 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8011B608 00118568 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011B60C 0011856C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8011B610 00118570 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8011B614 00118574 4B F3 78 79 */ bl SetTranslation__6CActorFRC9CVector3f +/* 8011B618 00118578 C0 3E 00 FC */ lfs f1, 0xfc(r30) +/* 8011B61C 0011857C 38 7E 01 08 */ addi r3, r30, 0x108 +/* 8011B620 00118580 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8011B624 00118584 38 9F 00 28 */ addi r4, r31, 0x28 +/* 8011B628 00118588 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011B62C 0011858C D0 1E 00 FC */ stfs f0, 0xfc(r30) +/* 8011B630 00118590 C0 3E 01 00 */ lfs f1, 0x100(r30) +/* 8011B634 00118594 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8011B638 00118598 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011B63C 0011859C D0 1E 01 00 */ stfs f0, 0x100(r30) +/* 8011B640 001185A0 C0 3E 01 04 */ lfs f1, 0x104(r30) +/* 8011B644 001185A4 C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8011B648 001185A8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011B64C 001185AC D0 1E 01 04 */ stfs f0, 0x104(r30) +/* 8011B650 001185B0 4B EF FE 61 */ bl __apl__10CAxisAngleFRC10CAxisAngle +/* 8011B654 001185B4 7F C3 F3 78 */ mr r3, r30 +/* 8011B658 001185B8 48 00 0A 21 */ bl ComputeDerivedQuantities__13CPhysicsActorFv +/* 8011B65C 001185BC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8011B660 001185C0 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8011B664 001185C4 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8011B668 001185C8 7C 08 03 A6 */ mtlr r0 +/* 8011B66C 001185CC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8011B670 001185D0 4E 80 00 20 */ blr + +.global GetMotionState__13CPhysicsActorCFv +GetMotionState__13CPhysicsActorCFv: +/* 8011B674 001185D4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011B678 001185D8 7C 08 02 A6 */ mflr r0 +/* 8011B67C 001185DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011B680 001185E0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011B684 001185E4 7C 9F 23 78 */ mr r31, r4 +/* 8011B688 001185E8 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8011B68C 001185EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8011B690 001185F0 7C 7E 1B 78 */ mr r30, r3 +/* 8011B694 001185F4 38 61 00 08 */ addi r3, r1, 8 +/* 8011B698 001185F8 48 1F 6A 91 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8011B69C 001185FC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011B6A0 00118600 38 81 00 08 */ addi r4, r1, 8 +/* 8011B6A4 00118604 48 1F 56 71 */ bl BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion +/* 8011B6A8 00118608 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8011B6AC 0011860C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8011B6B0 00118610 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8011B6B4 00118614 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8011B6B8 00118618 D0 3E 00 04 */ stfs f1, 4(r30) +/* 8011B6BC 0011861C D0 5E 00 08 */ stfs f2, 8(r30) +/* 8011B6C0 00118620 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8011B6C4 00118624 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8011B6C8 00118628 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8011B6CC 0011862C D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8011B6D0 00118630 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8011B6D4 00118634 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8011B6D8 00118638 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8011B6DC 0011863C D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8011B6E0 00118640 C0 1F 00 FC */ lfs f0, 0xfc(r31) +/* 8011B6E4 00118644 D0 1E 00 1C */ stfs f0, 0x1c(r30) +/* 8011B6E8 00118648 C0 1F 01 00 */ lfs f0, 0x100(r31) +/* 8011B6EC 0011864C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 8011B6F0 00118650 C0 1F 01 04 */ lfs f0, 0x104(r31) +/* 8011B6F4 00118654 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 8011B6F8 00118658 C0 1F 01 08 */ lfs f0, 0x108(r31) +/* 8011B6FC 0011865C D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 8011B700 00118660 C0 1F 01 0C */ lfs f0, 0x10c(r31) +/* 8011B704 00118664 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 8011B708 00118668 C0 1F 01 10 */ lfs f0, 0x110(r31) +/* 8011B70C 0011866C D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 8011B710 00118670 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011B714 00118674 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011B718 00118678 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8011B71C 0011867C 7C 08 03 A6 */ mtlr r0 +/* 8011B720 00118680 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011B724 00118684 4E 80 00 20 */ blr + +.global SetMotionState__13CPhysicsActorFRC12CMotionState +SetMotionState__13CPhysicsActorFRC12CMotionState: +/* 8011B728 00118688 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8011B72C 0011868C 7C 08 02 A6 */ mflr r0 +/* 8011B730 00118690 90 01 00 64 */ stw r0, 0x64(r1) +/* 8011B734 00118694 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8011B738 00118698 7C 9F 23 78 */ mr r31, r4 +/* 8011B73C 0011869C 38 9F 00 0C */ addi r4, r31, 0xc +/* 8011B740 001186A0 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8011B744 001186A4 7C 7E 1B 78 */ mr r30, r3 +/* 8011B748 001186A8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011B74C 001186AC 48 1F 52 9D */ bl FromNUQuaternion__11CQuaternionFRC13CNUQuaternion +/* 8011B750 001186B0 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8011B754 001186B4 38 61 00 24 */ addi r3, r1, 0x24 +/* 8011B758 001186B8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8011B75C 001186BC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011B760 001186C0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8011B764 001186C4 38 A1 00 08 */ addi r5, r1, 8 +/* 8011B768 001186C8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8011B76C 001186CC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8011B770 001186D0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8011B774 001186D4 48 1F 67 49 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 8011B778 001186D8 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8011B77C 001186DC 38 81 00 24 */ addi r4, r1, 0x24 +/* 8011B780 001186E0 48 1F 73 C1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8011B784 001186E4 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8011B788 001186E8 38 A0 00 01 */ li r5, 1 +/* 8011B78C 001186EC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 8011B790 001186F0 7F C3 F3 78 */ mr r3, r30 +/* 8011B794 001186F4 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8011B798 001186F8 7F E4 FB 78 */ mr r4, r31 +/* 8011B79C 001186FC 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8011B7A0 00118700 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 8011B7A4 00118704 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8011B7A8 00118708 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8011B7AC 0011870C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8011B7B0 00118710 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8011B7B4 00118714 4B F3 76 D9 */ bl SetTranslation__6CActorFRC9CVector3f +/* 8011B7B8 00118718 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8011B7BC 0011871C 7F C3 F3 78 */ mr r3, r30 +/* 8011B7C0 00118720 D0 1E 00 FC */ stfs f0, 0xfc(r30) +/* 8011B7C4 00118724 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8011B7C8 00118728 D0 1E 01 00 */ stfs f0, 0x100(r30) +/* 8011B7CC 0011872C C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8011B7D0 00118730 D0 1E 01 04 */ stfs f0, 0x104(r30) +/* 8011B7D4 00118734 80 9F 00 28 */ lwz r4, 0x28(r31) +/* 8011B7D8 00118738 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 8011B7DC 0011873C 90 9E 01 08 */ stw r4, 0x108(r30) +/* 8011B7E0 00118740 90 1E 01 0C */ stw r0, 0x10c(r30) +/* 8011B7E4 00118744 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 8011B7E8 00118748 90 1E 01 10 */ stw r0, 0x110(r30) +/* 8011B7EC 0011874C 48 00 08 8D */ bl ComputeDerivedQuantities__13CPhysicsActorFv +/* 8011B7F0 00118750 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8011B7F4 00118754 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8011B7F8 00118758 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8011B7FC 0011875C 7C 08 03 A6 */ mtlr r0 +/* 8011B800 00118760 38 21 00 60 */ addi r1, r1, 0x60 +/* 8011B804 00118764 4E 80 00 20 */ blr + +.global PredictMotion_Internal__13CPhysicsActorCFf +PredictMotion_Internal__13CPhysicsActorCFf: +/* 8011B808 00118768 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8011B80C 0011876C 7C 08 02 A6 */ mflr r0 +/* 8011B810 00118770 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8011B814 00118774 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8011B818 00118778 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8011B81C 0011877C DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 8011B820 00118780 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 8011B824 00118784 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8011B828 00118788 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 8011B82C 0011878C DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 8011B830 00118790 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 8011B834 00118794 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 8011B838 00118798 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 8011B83C 0011879C DB 41 00 80 */ stfd f26, 0x80(r1) +/* 8011B840 001187A0 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 +/* 8011B844 001187A4 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8011B848 001187A8 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8011B84C 001187AC 88 04 00 F8 */ lbz r0, 0xf8(r4) +/* 8011B850 001187B0 FF 40 08 90 */ fmr f26, f1 +/* 8011B854 001187B4 7C 9F 23 78 */ mr r31, r4 +/* 8011B858 001187B8 7C 7E 1B 78 */ mr r30, r3 +/* 8011B85C 001187BC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8011B860 001187C0 40 82 00 88 */ bne lbl_8011B8E8 +/* 8011B864 001187C4 38 61 00 3C */ addi r3, r1, 0x3c +/* 8011B868 001187C8 48 00 00 CD */ bl PredictLinearMotion__13CPhysicsActorCFf +/* 8011B86C 001187CC FC 20 D0 90 */ fmr f1, f26 +/* 8011B870 001187D0 C3 E1 00 3C */ lfs f31, 0x3c(r1) +/* 8011B874 001187D4 C3 C1 00 40 */ lfs f30, 0x40(r1) +/* 8011B878 001187D8 7F E4 FB 78 */ mr r4, r31 +/* 8011B87C 001187DC C3 A1 00 44 */ lfs f29, 0x44(r1) +/* 8011B880 001187E0 38 61 00 08 */ addi r3, r1, 8 +/* 8011B884 001187E4 C3 81 00 58 */ lfs f28, 0x58(r1) +/* 8011B888 001187E8 C3 61 00 5C */ lfs f27, 0x5c(r1) +/* 8011B88C 001187EC C3 41 00 60 */ lfs f26, 0x60(r1) +/* 8011B890 001187F0 48 00 02 21 */ bl PredictAngularMotion__13CPhysicsActorCFf +/* 8011B894 001187F4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8011B898 001187F8 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8011B89C 001187FC C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8011B8A0 00118800 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8011B8A4 00118804 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 8011B8A8 00118808 C0 A1 00 34 */ lfs f5, 0x34(r1) +/* 8011B8AC 0011880C C0 C1 00 38 */ lfs f6, 0x38(r1) +/* 8011B8B0 00118810 D3 FE 00 00 */ stfs f31, 0(r30) +/* 8011B8B4 00118814 D3 DE 00 04 */ stfs f30, 4(r30) +/* 8011B8B8 00118818 D3 BE 00 08 */ stfs f29, 8(r30) +/* 8011B8BC 0011881C D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8011B8C0 00118820 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 8011B8C4 00118824 D0 5E 00 14 */ stfs f2, 0x14(r30) +/* 8011B8C8 00118828 D0 7E 00 18 */ stfs f3, 0x18(r30) +/* 8011B8CC 0011882C D3 9E 00 1C */ stfs f28, 0x1c(r30) +/* 8011B8D0 00118830 D3 7E 00 20 */ stfs f27, 0x20(r30) +/* 8011B8D4 00118834 D3 5E 00 24 */ stfs f26, 0x24(r30) +/* 8011B8D8 00118838 D0 9E 00 28 */ stfs f4, 0x28(r30) +/* 8011B8DC 0011883C D0 BE 00 2C */ stfs f5, 0x2c(r30) +/* 8011B8E0 00118840 D0 DE 00 30 */ stfs f6, 0x30(r30) +/* 8011B8E4 00118844 48 00 00 08 */ b lbl_8011B8EC +lbl_8011B8E8: +/* 8011B8E8 00118848 48 00 00 4D */ bl PredictLinearMotion__13CPhysicsActorCFf +lbl_8011B8EC: +/* 8011B8EC 0011884C E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8011B8F0 00118850 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8011B8F4 00118854 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 8011B8F8 00118858 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8011B8FC 0011885C E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 8011B900 00118860 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 8011B904 00118864 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 8011B908 00118868 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 8011B90C 0011886C E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 8011B910 00118870 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 8011B914 00118874 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 +/* 8011B918 00118878 CB 41 00 80 */ lfd f26, 0x80(r1) +/* 8011B91C 0011887C 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8011B920 00118880 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8011B924 00118884 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8011B928 00118888 7C 08 03 A6 */ mtlr r0 +/* 8011B92C 0011888C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8011B930 00118890 4E 80 00 20 */ blr + +.global PredictLinearMotion__13CPhysicsActorCFf +PredictLinearMotion__13CPhysicsActorCFf: +/* 8011B934 00118894 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8011B938 00118898 7C 08 02 A6 */ mflr r0 +/* 8011B93C 0011889C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8011B940 001188A0 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8011B944 001188A4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8011B948 001188A8 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8011B94C 001188AC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8011B950 001188B0 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8011B954 001188B4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8011B958 001188B8 DB 81 00 60 */ stfd f28, 0x60(r1) +/* 8011B95C 001188BC F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 8011B960 001188C0 DB 61 00 50 */ stfd f27, 0x50(r1) +/* 8011B964 001188C4 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 +/* 8011B968 001188C8 DB 41 00 40 */ stfd f26, 0x40(r1) +/* 8011B96C 001188CC F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 +/* 8011B970 001188D0 DB 21 00 30 */ stfd f25, 0x30(r1) +/* 8011B974 001188D4 F3 21 00 38 */ psq_st f25, 56(r1), 0, qr0 +/* 8011B978 001188D8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011B97C 001188DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8011B980 001188E0 FF E0 08 90 */ fmr f31, f1 +/* 8011B984 001188E4 7C 7E 1B 78 */ mr r30, r3 +/* 8011B988 001188E8 7C 9F 23 78 */ mr r31, r4 +/* 8011B98C 001188EC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011B990 001188F0 48 00 04 39 */ bl CalculateNewVelocityWR_UsingImpulses__13CPhysicsActorCFv +/* 8011B994 001188F4 C0 3F 01 5C */ lfs f1, 0x15c(r31) +/* 8011B998 001188F8 C0 1F 01 50 */ lfs f0, 0x150(r31) +/* 8011B99C 001188FC C0 7F 01 60 */ lfs f3, 0x160(r31) +/* 8011B9A0 00118900 C0 5F 01 54 */ lfs f2, 0x154(r31) +/* 8011B9A4 00118904 EF 81 00 2A */ fadds f28, f1, f0 +/* 8011B9A8 00118908 C0 3F 01 64 */ lfs f1, 0x164(r31) +/* 8011B9AC 0011890C C0 1F 01 58 */ lfs f0, 0x158(r31) +/* 8011B9B0 00118910 EF A3 10 2A */ fadds f29, f3, f2 +/* 8011B9B4 00118914 C3 21 00 18 */ lfs f25, 0x18(r1) +/* 8011B9B8 00118918 EF C1 00 2A */ fadds f30, f1, f0 +/* 8011B9BC 0011891C C3 61 00 1C */ lfs f27, 0x1c(r1) +/* 8011B9C0 00118920 C3 41 00 20 */ lfs f26, 0x20(r1) +/* 8011B9C4 00118924 4B EF FB 71 */ bl Identity__10CAxisAngleFv +/* 8011B9C8 00118928 EC BF 07 32 */ fmuls f5, f31, f28 +/* 8011B9CC 0011892C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011B9D0 00118930 EC 7F 07 72 */ fmuls f3, f31, f29 +/* 8011B9D4 00118934 C0 3F 01 6C */ lfs f1, 0x16c(r31) +/* 8011B9D8 00118938 EC 5F 07 B2 */ fmuls f2, f31, f30 +/* 8011B9DC 0011893C C0 9F 01 68 */ lfs f4, 0x168(r31) +/* 8011B9E0 00118940 C0 1F 01 70 */ lfs f0, 0x170(r31) +/* 8011B9E4 00118944 EF A3 08 2A */ fadds f29, f3, f1 +/* 8011B9E8 00118948 7C 7F 1B 78 */ mr r31, r3 +/* 8011B9EC 0011894C EF C5 20 2A */ fadds f30, f5, f4 +/* 8011B9F0 00118950 EF 82 00 2A */ fadds f28, f2, f0 +/* 8011B9F4 00118954 C0 22 96 A4 */ lfs f1, lbl_805AB3C4@sda21(r2) +/* 8011B9F8 00118958 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8011B9FC 0011895C 38 61 00 08 */ addi r3, r1, 8 +/* 8011BA00 00118960 48 1F 56 01 */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 8011BA04 00118964 EC 5F 06 72 */ fmuls f2, f31, f25 +/* 8011BA08 00118968 EC 3F 06 F2 */ fmuls f1, f31, f27 +/* 8011BA0C 0011896C EC 1F 06 B2 */ fmuls f0, f31, f26 +/* 8011BA10 00118970 D0 5E 00 00 */ stfs f2, 0(r30) +/* 8011BA14 00118974 D0 3E 00 04 */ stfs f1, 4(r30) +/* 8011BA18 00118978 D0 1E 00 08 */ stfs f0, 8(r30) +/* 8011BA1C 0011897C C0 01 00 08 */ lfs f0, 8(r1) +/* 8011BA20 00118980 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8011BA24 00118984 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8011BA28 00118988 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 8011BA2C 0011898C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8011BA30 00118990 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 8011BA34 00118994 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8011BA38 00118998 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 8011BA3C 0011899C D3 DE 00 1C */ stfs f30, 0x1c(r30) +/* 8011BA40 001189A0 D3 BE 00 20 */ stfs f29, 0x20(r30) +/* 8011BA44 001189A4 D3 9E 00 24 */ stfs f28, 0x24(r30) +/* 8011BA48 001189A8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8011BA4C 001189AC D0 1E 00 28 */ stfs f0, 0x28(r30) +/* 8011BA50 001189B0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8011BA54 001189B4 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 8011BA58 001189B8 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8011BA5C 001189BC D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 8011BA60 001189C0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8011BA64 001189C4 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8011BA68 001189C8 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8011BA6C 001189CC CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8011BA70 001189D0 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8011BA74 001189D4 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8011BA78 001189D8 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 8011BA7C 001189DC CB 81 00 60 */ lfd f28, 0x60(r1) +/* 8011BA80 001189E0 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 +/* 8011BA84 001189E4 CB 61 00 50 */ lfd f27, 0x50(r1) +/* 8011BA88 001189E8 E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 +/* 8011BA8C 001189EC CB 41 00 40 */ lfd f26, 0x40(r1) +/* 8011BA90 001189F0 E3 21 00 38 */ psq_l f25, 56(r1), 0, qr0 +/* 8011BA94 001189F4 CB 21 00 30 */ lfd f25, 0x30(r1) +/* 8011BA98 001189F8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011BA9C 001189FC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8011BAA0 00118A00 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8011BAA4 00118A04 7C 08 03 A6 */ mtlr r0 +/* 8011BAA8 00118A08 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8011BAAC 00118A0C 4E 80 00 20 */ blr + +.global PredictAngularMotion__13CPhysicsActorCFf +PredictAngularMotion__13CPhysicsActorCFf: +/* 8011BAB0 00118A10 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8011BAB4 00118A14 7C 08 02 A6 */ mflr r0 +/* 8011BAB8 00118A18 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8011BABC 00118A1C DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 8011BAC0 00118A20 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8011BAC4 00118A24 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 8011BAC8 00118A28 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 8011BACC 00118A2C DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 8011BAD0 00118A30 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 8011BAD4 00118A34 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8011BAD8 00118A38 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8011BADC 00118A3C 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8011BAE0 00118A40 7C 9E 23 78 */ mr r30, r4 +/* 8011BAE4 00118A44 7C 7D 1B 78 */ mr r29, r3 +/* 8011BAE8 00118A48 D0 21 00 08 */ stfs f1, 8(r1) +/* 8011BAEC 00118A4C 38 7E 01 98 */ addi r3, r30, 0x198 +/* 8011BAF0 00118A50 C3 E4 00 F4 */ lfs f31, 0xf4(r4) +/* 8011BAF4 00118A54 4B EF FA 3D */ bl GetVector__10CAxisAngleCFv +/* 8011BAF8 00118A58 7C 7F 1B 78 */ mr r31, r3 +/* 8011BAFC 00118A5C 38 7E 01 80 */ addi r3, r30, 0x180 +/* 8011BB00 00118A60 4B EF FA 31 */ bl GetVector__10CAxisAngleCFv +/* 8011BB04 00118A64 C0 23 00 00 */ lfs f1, 0(r3) +/* 8011BB08 00118A68 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8011BB0C 00118A6C C0 63 00 04 */ lfs f3, 4(r3) +/* 8011BB10 00118A70 C0 5F 00 04 */ lfs f2, 4(r31) +/* 8011BB14 00118A74 EC 81 00 2A */ fadds f4, f1, f0 +/* 8011BB18 00118A78 C0 23 00 08 */ lfs f1, 8(r3) +/* 8011BB1C 00118A7C 38 7E 01 44 */ addi r3, r30, 0x144 +/* 8011BB20 00118A80 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8011BB24 00118A84 EC 43 10 2A */ fadds f2, f3, f2 +/* 8011BB28 00118A88 EF BF 01 32 */ fmuls f29, f31, f4 +/* 8011BB2C 00118A8C EC 01 00 2A */ fadds f0, f1, f0 +/* 8011BB30 00118A90 EF DF 00 B2 */ fmuls f30, f31, f2 +/* 8011BB34 00118A94 EF FF 00 32 */ fmuls f31, f31, f0 +/* 8011BB38 00118A98 4B EF F9 F9 */ bl GetVector__10CAxisAngleCFv +/* 8011BB3C 00118A9C C0 43 00 04 */ lfs f2, 4(r3) +/* 8011BB40 00118AA0 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8011BB44 00118AA4 C0 23 00 08 */ lfs f1, 8(r3) +/* 8011BB48 00118AA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8011BB4C 00118AAC EC 42 F0 2A */ fadds f2, f2, f30 +/* 8011BB50 00118AB0 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8011BB54 00118AB4 38 61 00 34 */ addi r3, r1, 0x34 +/* 8011BB58 00118AB8 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8011BB5C 00118ABC D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8011BB60 00118AC0 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8011BB64 00118AC4 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 8011BB68 00118AC8 48 1F 65 C1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8011BB6C 00118ACC 38 61 00 44 */ addi r3, r1, 0x44 +/* 8011BB70 00118AD0 38 81 00 34 */ addi r4, r1, 0x34 +/* 8011BB74 00118AD4 48 1F 51 A1 */ bl BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion +/* 8011BB78 00118AD8 C0 22 96 A4 */ lfs f1, lbl_805AB3C4@sda21(r2) +/* 8011BB7C 00118ADC 38 61 00 54 */ addi r3, r1, 0x54 +/* 8011BB80 00118AE0 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 8011BB84 00118AE4 48 1F 54 7D */ bl __ct__13CNUQuaternionFfRC9CVector3f +/* 8011BB88 00118AE8 C0 22 96 AC */ lfs f1, lbl_805AB3CC@sda21(r2) +/* 8011BB8C 00118AEC 7C 64 1B 78 */ mr r4, r3 +/* 8011BB90 00118AF0 38 61 00 64 */ addi r3, r1, 0x64 +/* 8011BB94 00118AF4 48 1F 4E A5 */ bl __ml__FfRC13CNUQuaternion +/* 8011BB98 00118AF8 38 61 00 74 */ addi r3, r1, 0x74 +/* 8011BB9C 00118AFC 38 81 00 64 */ addi r4, r1, 0x64 +/* 8011BBA0 00118B00 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8011BBA4 00118B04 48 1F 53 31 */ bl __ml__13CNUQuaternionCFRC13CNUQuaternion +/* 8011BBA8 00118B08 C0 C1 00 74 */ lfs f6, 0x74(r1) +/* 8011BBAC 00118B0C 38 61 00 0C */ addi r3, r1, 0xc +/* 8011BBB0 00118B10 C0 A1 00 78 */ lfs f5, 0x78(r1) +/* 8011BBB4 00118B14 38 81 00 84 */ addi r4, r1, 0x84 +/* 8011BBB8 00118B18 C0 81 00 7C */ lfs f4, 0x7c(r1) +/* 8011BBBC 00118B1C 38 A1 00 08 */ addi r5, r1, 8 +/* 8011BBC0 00118B20 C0 61 00 80 */ lfs f3, 0x80(r1) +/* 8011BBC4 00118B24 C0 5E 01 74 */ lfs f2, 0x174(r30) +/* 8011BBC8 00118B28 C0 3E 01 78 */ lfs f1, 0x178(r30) +/* 8011BBCC 00118B2C C0 1E 01 7C */ lfs f0, 0x17c(r30) +/* 8011BBD0 00118B30 D0 C1 00 90 */ stfs f6, 0x90(r1) +/* 8011BBD4 00118B34 D0 A1 00 94 */ stfs f5, 0x94(r1) +/* 8011BBD8 00118B38 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 8011BBDC 00118B3C D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 8011BBE0 00118B40 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8011BBE4 00118B44 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8011BBE8 00118B48 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8011BBEC 00118B4C 4B EF F8 99 */ bl __ml__FRC10CAxisAngleRCf +/* 8011BBF0 00118B50 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011BBF4 00118B54 38 81 00 0C */ addi r4, r1, 0xc +/* 8011BBF8 00118B58 38 BE 01 80 */ addi r5, r30, 0x180 +/* 8011BBFC 00118B5C 4B EF F8 29 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle +/* 8011BC00 00118B60 C0 21 00 08 */ lfs f1, 8(r1) +/* 8011BC04 00118B64 38 61 00 24 */ addi r3, r1, 0x24 +/* 8011BC08 00118B68 38 81 00 90 */ addi r4, r1, 0x90 +/* 8011BC0C 00118B6C 48 1F 4E 89 */ bl __ml__FRC13CNUQuaternionf +/* 8011BC10 00118B70 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011BC14 00118B74 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8011BC18 00118B78 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8011BC1C 00118B7C C0 03 00 04 */ lfs f0, 4(r3) +/* 8011BC20 00118B80 D0 1D 00 04 */ stfs f0, 4(r29) +/* 8011BC24 00118B84 C0 03 00 08 */ lfs f0, 8(r3) +/* 8011BC28 00118B88 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8011BC2C 00118B8C C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8011BC30 00118B90 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 8011BC34 00118B94 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8011BC38 00118B98 D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 8011BC3C 00118B9C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8011BC40 00118BA0 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 8011BC44 00118BA4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8011BC48 00118BA8 D0 1D 00 18 */ stfs f0, 0x18(r29) +/* 8011BC4C 00118BAC C0 03 00 00 */ lfs f0, 0(r3) +/* 8011BC50 00118BB0 D0 1D 00 1C */ stfs f0, 0x1c(r29) +/* 8011BC54 00118BB4 C0 03 00 04 */ lfs f0, 4(r3) +/* 8011BC58 00118BB8 D0 1D 00 20 */ stfs f0, 0x20(r29) +/* 8011BC5C 00118BBC C0 03 00 08 */ lfs f0, 8(r3) +/* 8011BC60 00118BC0 D0 1D 00 24 */ stfs f0, 0x24(r29) +/* 8011BC64 00118BC4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8011BC68 00118BC8 D0 1D 00 28 */ stfs f0, 0x28(r29) +/* 8011BC6C 00118BCC C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8011BC70 00118BD0 D0 1D 00 2C */ stfs f0, 0x2c(r29) +/* 8011BC74 00118BD4 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8011BC78 00118BD8 D0 1D 00 30 */ stfs f0, 0x30(r29) +/* 8011BC7C 00118BDC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 8011BC80 00118BE0 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 8011BC84 00118BE4 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 8011BC88 00118BE8 CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 8011BC8C 00118BEC E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 8011BC90 00118BF0 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 8011BC94 00118BF4 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8011BC98 00118BF8 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8011BC9C 00118BFC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8011BCA0 00118C00 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 8011BCA4 00118C04 7C 08 03 A6 */ mtlr r0 +/* 8011BCA8 00118C08 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8011BCAC 00118C0C 4E 80 00 20 */ blr + +.global PredictMotion__13CPhysicsActorCFf +PredictMotion__13CPhysicsActorCFf: +/* 8011BCB0 00118C10 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8011BCB4 00118C14 7C 08 02 A6 */ mflr r0 +/* 8011BCB8 00118C18 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8011BCBC 00118C1C DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8011BCC0 00118C20 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8011BCC4 00118C24 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 8011BCC8 00118C28 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 8011BCCC 00118C2C DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8011BCD0 00118C30 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 8011BCD4 00118C34 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 8011BCD8 00118C38 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 8011BCDC 00118C3C DB 61 00 90 */ stfd f27, 0x90(r1) +/* 8011BCE0 00118C40 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 8011BCE4 00118C44 DB 41 00 80 */ stfd f26, 0x80(r1) +/* 8011BCE8 00118C48 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 +/* 8011BCEC 00118C4C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8011BCF0 00118C50 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8011BCF4 00118C54 FF 40 08 90 */ fmr f26, f1 +/* 8011BCF8 00118C58 7C 7E 1B 78 */ mr r30, r3 +/* 8011BCFC 00118C5C 7C 9F 23 78 */ mr r31, r4 +/* 8011BD00 00118C60 38 61 00 3C */ addi r3, r1, 0x3c +/* 8011BD04 00118C64 4B FF FC 31 */ bl PredictLinearMotion__13CPhysicsActorCFf +/* 8011BD08 00118C68 FC 20 D0 90 */ fmr f1, f26 +/* 8011BD0C 00118C6C C3 E1 00 3C */ lfs f31, 0x3c(r1) +/* 8011BD10 00118C70 C3 C1 00 40 */ lfs f30, 0x40(r1) +/* 8011BD14 00118C74 7F E4 FB 78 */ mr r4, r31 +/* 8011BD18 00118C78 C3 A1 00 44 */ lfs f29, 0x44(r1) +/* 8011BD1C 00118C7C 38 61 00 08 */ addi r3, r1, 8 +/* 8011BD20 00118C80 C3 81 00 58 */ lfs f28, 0x58(r1) +/* 8011BD24 00118C84 C3 61 00 5C */ lfs f27, 0x5c(r1) +/* 8011BD28 00118C88 C3 41 00 60 */ lfs f26, 0x60(r1) +/* 8011BD2C 00118C8C 4B FF FD 85 */ bl PredictAngularMotion__13CPhysicsActorCFf +/* 8011BD30 00118C90 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8011BD34 00118C94 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8011BD38 00118C98 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8011BD3C 00118C9C C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8011BD40 00118CA0 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 8011BD44 00118CA4 C0 A1 00 34 */ lfs f5, 0x34(r1) +/* 8011BD48 00118CA8 C0 C1 00 38 */ lfs f6, 0x38(r1) +/* 8011BD4C 00118CAC D3 FE 00 00 */ stfs f31, 0(r30) +/* 8011BD50 00118CB0 D3 DE 00 04 */ stfs f30, 4(r30) +/* 8011BD54 00118CB4 D3 BE 00 08 */ stfs f29, 8(r30) +/* 8011BD58 00118CB8 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8011BD5C 00118CBC D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 8011BD60 00118CC0 D0 5E 00 14 */ stfs f2, 0x14(r30) +/* 8011BD64 00118CC4 D0 7E 00 18 */ stfs f3, 0x18(r30) +/* 8011BD68 00118CC8 D3 9E 00 1C */ stfs f28, 0x1c(r30) +/* 8011BD6C 00118CCC D3 7E 00 20 */ stfs f27, 0x20(r30) +/* 8011BD70 00118CD0 D3 5E 00 24 */ stfs f26, 0x24(r30) +/* 8011BD74 00118CD4 D0 9E 00 28 */ stfs f4, 0x28(r30) +/* 8011BD78 00118CD8 D0 BE 00 2C */ stfs f5, 0x2c(r30) +/* 8011BD7C 00118CDC D0 DE 00 30 */ stfs f6, 0x30(r30) +/* 8011BD80 00118CE0 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8011BD84 00118CE4 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8011BD88 00118CE8 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 8011BD8C 00118CEC CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8011BD90 00118CF0 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 8011BD94 00118CF4 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 8011BD98 00118CF8 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 8011BD9C 00118CFC CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 8011BDA0 00118D00 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 8011BDA4 00118D04 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 8011BDA8 00118D08 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 +/* 8011BDAC 00118D0C CB 41 00 80 */ lfd f26, 0x80(r1) +/* 8011BDB0 00118D10 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8011BDB4 00118D14 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8011BDB8 00118D18 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8011BDBC 00118D1C 7C 08 03 A6 */ mtlr r0 +/* 8011BDC0 00118D20 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8011BDC4 00118D24 4E 80 00 20 */ blr + +.global CalculateNewVelocityWR_UsingImpulses__13CPhysicsActorCFv +CalculateNewVelocityWR_UsingImpulses__13CPhysicsActorCFv: +/* 8011BDC8 00118D28 C0 24 01 68 */ lfs f1, 0x168(r4) +/* 8011BDCC 00118D2C C0 04 01 8C */ lfs f0, 0x18c(r4) +/* 8011BDD0 00118D30 C0 64 01 6C */ lfs f3, 0x16c(r4) +/* 8011BDD4 00118D34 C0 44 01 90 */ lfs f2, 0x190(r4) +/* 8011BDD8 00118D38 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011BDDC 00118D3C C0 C4 00 EC */ lfs f6, 0xec(r4) +/* 8011BDE0 00118D40 EC 83 10 2A */ fadds f4, f3, f2 +/* 8011BDE4 00118D44 C0 64 01 70 */ lfs f3, 0x170(r4) +/* 8011BDE8 00118D48 C0 44 01 94 */ lfs f2, 0x194(r4) +/* 8011BDEC 00118D4C EC 06 00 32 */ fmuls f0, f6, f0 +/* 8011BDF0 00118D50 C0 24 01 38 */ lfs f1, 0x138(r4) +/* 8011BDF4 00118D54 EC 43 10 2A */ fadds f2, f3, f2 +/* 8011BDF8 00118D58 EC 86 01 32 */ fmuls f4, f6, f4 +/* 8011BDFC 00118D5C C0 A4 01 3C */ lfs f5, 0x13c(r4) +/* 8011BE00 00118D60 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011BE04 00118D64 C0 64 01 40 */ lfs f3, 0x140(r4) +/* 8011BE08 00118D68 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 8011BE0C 00118D6C EC 45 20 2A */ fadds f2, f5, f4 +/* 8011BE10 00118D70 D0 03 00 00 */ stfs f0, 0(r3) +/* 8011BE14 00118D74 EC 03 08 2A */ fadds f0, f3, f1 +/* 8011BE18 00118D78 D0 43 00 04 */ stfs f2, 4(r3) +/* 8011BE1C 00118D7C D0 03 00 08 */ stfs f0, 8(r3) +/* 8011BE20 00118D80 4E 80 00 20 */ blr + +.global SetPhysicsState__13CPhysicsActorFRC13CPhysicsState +SetPhysicsState__13CPhysicsActorFRC13CPhysicsState: +/* 8011BE24 00118D84 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8011BE28 00118D88 7C 08 02 A6 */ mflr r0 +/* 8011BE2C 00118D8C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8011BE30 00118D90 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8011BE34 00118D94 7C 9F 23 78 */ mr r31, r4 +/* 8011BE38 00118D98 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8011BE3C 00118D9C 7C 7E 1B 78 */ mr r30, r3 +/* 8011BE40 00118DA0 C0 44 00 00 */ lfs f2, 0(r4) +/* 8011BE44 00118DA4 38 81 00 48 */ addi r4, r1, 0x48 +/* 8011BE48 00118DA8 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8011BE4C 00118DAC C0 1F 00 08 */ lfs f0, 8(r31) +/* 8011BE50 00118DB0 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8011BE54 00118DB4 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8011BE58 00118DB8 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8011BE5C 00118DBC 4B F3 70 31 */ bl SetTranslation__6CActorFRC9CVector3f +/* 8011BE60 00118DC0 C0 7F 00 0C */ lfs f3, 0xc(r31) +/* 8011BE64 00118DC4 38 61 00 54 */ addi r3, r1, 0x54 +/* 8011BE68 00118DC8 C0 5F 00 10 */ lfs f2, 0x10(r31) +/* 8011BE6C 00118DCC 38 81 00 38 */ addi r4, r1, 0x38 +/* 8011BE70 00118DD0 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8011BE74 00118DD4 38 A1 00 08 */ addi r5, r1, 8 +/* 8011BE78 00118DD8 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8011BE7C 00118DDC D0 61 00 38 */ stfs f3, 0x38(r1) +/* 8011BE80 00118DE0 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8011BE84 00118DE4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8011BE88 00118DE8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8011BE8C 00118DEC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8011BE90 00118DF0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8011BE94 00118DF4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8011BE98 00118DF8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8011BE9C 00118DFC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8011BEA0 00118E00 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8011BEA4 00118E04 48 1F 60 19 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 8011BEA8 00118E08 38 7E 00 34 */ addi r3, r30, 0x34 +/* 8011BEAC 00118E0C 38 81 00 54 */ addi r4, r1, 0x54 +/* 8011BEB0 00118E10 48 1F 6C 91 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8011BEB4 00118E14 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8011BEB8 00118E18 38 80 00 01 */ li r4, 1 +/* 8011BEBC 00118E1C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8011BEC0 00118E20 7F C3 F3 78 */ mr r3, r30 +/* 8011BEC4 00118E24 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8011BEC8 00118E28 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8011BECC 00118E2C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8011BED0 00118E30 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8011BED4 00118E34 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 8011BED8 00118E38 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8011BEDC 00118E3C 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 8011BEE0 00118E40 C0 3F 00 20 */ lfs f1, 0x20(r31) +/* 8011BEE4 00118E44 C0 5F 00 24 */ lfs f2, 0x24(r31) +/* 8011BEE8 00118E48 C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8011BEEC 00118E4C D0 1E 00 FC */ stfs f0, 0xfc(r30) +/* 8011BEF0 00118E50 D0 3E 01 00 */ stfs f1, 0x100(r30) +/* 8011BEF4 00118E54 D0 5E 01 04 */ stfs f2, 0x104(r30) +/* 8011BEF8 00118E58 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 8011BEFC 00118E5C C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 8011BF00 00118E60 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8011BF04 00118E64 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8011BF08 00118E68 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8011BF0C 00118E6C 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8011BF10 00118E70 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8011BF14 00118E74 80 81 00 30 */ lwz r4, 0x30(r1) +/* 8011BF18 00118E78 90 1E 01 08 */ stw r0, 0x108(r30) +/* 8011BF1C 00118E7C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011BF20 00118E80 90 9E 01 0C */ stw r4, 0x10c(r30) +/* 8011BF24 00118E84 90 1E 01 10 */ stw r0, 0x110(r30) +/* 8011BF28 00118E88 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 8011BF2C 00118E8C C0 5F 00 3C */ lfs f2, 0x3c(r31) +/* 8011BF30 00118E90 C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8011BF34 00118E94 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 8011BF38 00118E98 D0 3E 01 54 */ stfs f1, 0x154(r30) +/* 8011BF3C 00118E9C D0 5E 01 58 */ stfs f2, 0x158(r30) +/* 8011BF40 00118EA0 C0 3F 00 44 */ lfs f1, 0x44(r31) +/* 8011BF44 00118EA4 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 8011BF48 00118EA8 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8011BF4C 00118EAC D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 8011BF50 00118EB0 D0 3E 01 60 */ stfs f1, 0x160(r30) +/* 8011BF54 00118EB4 D0 5E 01 64 */ stfs f2, 0x164(r30) +/* 8011BF58 00118EB8 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8011BF5C 00118EBC C0 5F 00 54 */ lfs f2, 0x54(r31) +/* 8011BF60 00118EC0 C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 8011BF64 00118EC4 D0 1E 01 68 */ stfs f0, 0x168(r30) +/* 8011BF68 00118EC8 D0 3E 01 6C */ stfs f1, 0x16c(r30) +/* 8011BF6C 00118ECC D0 5E 01 70 */ stfs f2, 0x170(r30) +/* 8011BF70 00118ED0 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8011BF74 00118ED4 C0 3F 00 5C */ lfs f1, 0x5c(r31) +/* 8011BF78 00118ED8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8011BF7C 00118EDC C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8011BF80 00118EE0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8011BF84 00118EE4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8011BF88 00118EE8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8011BF8C 00118EEC 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8011BF90 00118EF0 90 1E 01 74 */ stw r0, 0x174(r30) +/* 8011BF94 00118EF4 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8011BF98 00118EF8 90 9E 01 78 */ stw r4, 0x178(r30) +/* 8011BF9C 00118EFC 90 1E 01 7C */ stw r0, 0x17c(r30) +/* 8011BFA0 00118F00 C0 1F 00 64 */ lfs f0, 0x64(r31) +/* 8011BFA4 00118F04 C0 3F 00 68 */ lfs f1, 0x68(r31) +/* 8011BFA8 00118F08 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8011BFAC 00118F0C C0 1F 00 6C */ lfs f0, 0x6c(r31) +/* 8011BFB0 00118F10 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8011BFB4 00118F14 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011BFB8 00118F18 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8011BFBC 00118F1C 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8011BFC0 00118F20 90 1E 01 80 */ stw r0, 0x180(r30) +/* 8011BFC4 00118F24 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8011BFC8 00118F28 90 9E 01 84 */ stw r4, 0x184(r30) +/* 8011BFCC 00118F2C 90 1E 01 88 */ stw r0, 0x188(r30) +/* 8011BFD0 00118F30 48 00 00 A9 */ bl ComputeDerivedQuantities__13CPhysicsActorFv +/* 8011BFD4 00118F34 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8011BFD8 00118F38 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8011BFDC 00118F3C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8011BFE0 00118F40 7C 08 03 A6 */ mtlr r0 +/* 8011BFE4 00118F44 38 21 00 90 */ addi r1, r1, 0x90 +/* 8011BFE8 00118F48 4E 80 00 20 */ blr + +.global GetPhysicsState__13CPhysicsActorCFv +GetPhysicsState__13CPhysicsActorCFv: +/* 8011BFEC 00118F4C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8011BFF0 00118F50 7C 08 02 A6 */ mflr r0 +/* 8011BFF4 00118F54 90 01 00 44 */ stw r0, 0x44(r1) +/* 8011BFF8 00118F58 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8011BFFC 00118F5C 7C 9F 23 78 */ mr r31, r4 +/* 8011C000 00118F60 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8011C004 00118F64 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8011C008 00118F68 7C 7E 1B 78 */ mr r30, r3 +/* 8011C00C 00118F6C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8011C010 00118F70 48 1F 61 19 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8011C014 00118F74 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8011C018 00118F78 39 7F 01 74 */ addi r11, r31, 0x174 +/* 8011C01C 00118F7C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8011C020 00118F80 38 1F 01 80 */ addi r0, r31, 0x180 +/* 8011C024 00118F84 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8011C028 00118F88 7F C3 F3 78 */ mr r3, r30 +/* 8011C02C 00118F8C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8011C030 00118F90 38 81 00 20 */ addi r4, r1, 0x20 +/* 8011C034 00118F94 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8011C038 00118F98 38 DF 00 FC */ addi r6, r31, 0xfc +/* 8011C03C 00118F9C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8011C040 00118FA0 38 FF 01 08 */ addi r7, r31, 0x108 +/* 8011C044 00118FA4 39 1F 01 50 */ addi r8, r31, 0x150 +/* 8011C048 00118FA8 39 3F 01 5C */ addi r9, r31, 0x15c +/* 8011C04C 00118FAC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8011C050 00118FB0 39 5F 01 68 */ addi r10, r31, 0x168 +/* 8011C054 00118FB4 91 61 00 08 */ stw r11, 8(r1) +/* 8011C058 00118FB8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8011C05C 00118FBC 48 00 07 D5 */ bl __ct__13CPhysicsStateFRC9CVector3fRC11CQuaternionRC9CVector3fRC10CAxisAngleRC9CVector3fRC9CVector3fRC9CVector3fRC10CAxisAngleRC10CAxisAngle +/* 8011C060 00118FC0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8011C064 00118FC4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8011C068 00118FC8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8011C06C 00118FCC 7C 08 03 A6 */ mtlr r0 +/* 8011C070 00118FD0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8011C074 00118FD4 4E 80 00 20 */ blr + +.global ComputeDerivedQuantities__13CPhysicsActorFv +ComputeDerivedQuantities__13CPhysicsActorFv: +/* 8011C078 00118FD8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8011C07C 00118FDC 7C 08 02 A6 */ mflr r0 +/* 8011C080 00118FE0 90 01 00 64 */ stw r0, 0x64(r1) +/* 8011C084 00118FE4 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8011C088 00118FE8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8011C08C 00118FEC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8011C090 00118FF0 7C 7F 1B 78 */ mr r31, r3 +/* 8011C094 00118FF4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8011C098 00118FF8 C0 7F 00 EC */ lfs f3, 0xec(r31) +/* 8011C09C 00118FFC 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8011C0A0 00119000 C0 1F 00 FC */ lfs f0, 0xfc(r31) +/* 8011C0A4 00119004 C0 5F 01 00 */ lfs f2, 0x100(r31) +/* 8011C0A8 00119008 C0 3F 01 04 */ lfs f1, 0x104(r31) +/* 8011C0AC 0011900C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8011C0B0 00119010 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8011C0B4 00119014 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8011C0B8 00119018 D0 1F 01 38 */ stfs f0, 0x138(r31) +/* 8011C0BC 0011901C D0 5F 01 3C */ stfs f2, 0x13c(r31) +/* 8011C0C0 00119020 D0 3F 01 40 */ stfs f1, 0x140(r31) +/* 8011C0C4 00119024 48 1F 70 31 */ bl BuildMatrix3f__12CTransform4fCFv +/* 8011C0C8 00119028 38 7F 01 14 */ addi r3, r31, 0x114 +/* 8011C0CC 0011902C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8011C0D0 00119030 48 1F 3F 29 */ bl __as__9CMatrix3fFRC9CMatrix3f +/* 8011C0D4 00119034 C3 FF 00 F4 */ lfs f31, 0xf4(r31) +/* 8011C0D8 00119038 38 7F 01 08 */ addi r3, r31, 0x108 +/* 8011C0DC 0011903C 4B EF F4 55 */ bl GetVector__10CAxisAngleCFv +/* 8011C0E0 00119040 C0 43 00 04 */ lfs f2, 4(r3) +/* 8011C0E4 00119044 38 81 00 08 */ addi r4, r1, 8 +/* 8011C0E8 00119048 C0 23 00 08 */ lfs f1, 8(r3) +/* 8011C0EC 0011904C C0 03 00 00 */ lfs f0, 0(r3) +/* 8011C0F0 00119050 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8011C0F4 00119054 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8011C0F8 00119058 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011C0FC 0011905C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8011C100 00119060 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8011C104 00119064 D0 01 00 08 */ stfs f0, 8(r1) +/* 8011C108 00119068 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8011C10C 0011906C 4B EF F4 79 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011C110 00119070 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8011C114 00119074 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8011C118 00119078 90 7F 01 44 */ stw r3, 0x144(r31) +/* 8011C11C 0011907C 90 1F 01 48 */ stw r0, 0x148(r31) +/* 8011C120 00119080 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8011C124 00119084 90 1F 01 4C */ stw r0, 0x14c(r31) +/* 8011C128 00119088 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8011C12C 0011908C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8011C130 00119090 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8011C134 00119094 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8011C138 00119098 7C 08 03 A6 */ mtlr r0 +/* 8011C13C 0011909C 38 21 00 60 */ addi r1, r1, 0x60 +/* 8011C140 001190A0 4E 80 00 20 */ blr + +.global ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle: +/* 8011C144 001190A4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8011C148 001190A8 7C 08 02 A6 */ mflr r0 +/* 8011C14C 001190AC 90 01 00 44 */ stw r0, 0x44(r1) +/* 8011C150 001190B0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8011C154 001190B4 7C BF 2B 78 */ mr r31, r5 +/* 8011C158 001190B8 7C 85 23 78 */ mr r5, r4 +/* 8011C15C 001190BC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8011C160 001190C0 7C 7E 1B 78 */ mr r30, r3 +/* 8011C164 001190C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8011C168 001190C8 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8011C16C 001190CC 48 1F 69 15 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8011C170 001190D0 C0 3E 01 5C */ lfs f1, 0x15c(r30) +/* 8011C174 001190D4 7F E3 FB 78 */ mr r3, r31 +/* 8011C178 001190D8 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8011C17C 001190DC C0 9E 01 60 */ lfs f4, 0x160(r30) +/* 8011C180 001190E0 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 8011C184 001190E4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011C188 001190E8 C0 5E 01 64 */ lfs f2, 0x164(r30) +/* 8011C18C 001190EC C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8011C190 001190F0 EC 64 18 2A */ fadds f3, f4, f3 +/* 8011C194 001190F4 D0 1E 01 5C */ stfs f0, 0x15c(r30) +/* 8011C198 001190F8 EC 02 08 2A */ fadds f0, f2, f1 +/* 8011C19C 001190FC D0 7E 01 60 */ stfs f3, 0x160(r30) +/* 8011C1A0 00119100 D0 1E 01 64 */ stfs f0, 0x164(r30) +/* 8011C1A4 00119104 4B EF F3 8D */ bl GetVector__10CAxisAngleCFv +/* 8011C1A8 00119108 7C 65 1B 78 */ mr r5, r3 +/* 8011C1AC 0011910C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011C1B0 00119110 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8011C1B4 00119114 48 1F 68 CD */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8011C1B8 00119118 38 61 00 2C */ addi r3, r1, 0x2c +/* 8011C1BC 0011911C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011C1C0 00119120 4B EF F3 C5 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011C1C4 00119124 38 61 00 08 */ addi r3, r1, 8 +/* 8011C1C8 00119128 38 9E 01 74 */ addi r4, r30, 0x174 +/* 8011C1CC 0011912C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8011C1D0 00119130 4B EF F2 55 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle +/* 8011C1D4 00119134 80 61 00 08 */ lwz r3, 8(r1) +/* 8011C1D8 00119138 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8011C1DC 0011913C 90 7E 01 74 */ stw r3, 0x174(r30) +/* 8011C1E0 00119140 90 1E 01 78 */ stw r0, 0x178(r30) +/* 8011C1E4 00119144 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8011C1E8 00119148 90 1E 01 7C */ stw r0, 0x17c(r30) +/* 8011C1EC 0011914C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8011C1F0 00119150 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8011C1F4 00119154 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8011C1F8 00119158 7C 08 03 A6 */ mtlr r0 +/* 8011C1FC 0011915C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8011C200 00119160 4E 80 00 20 */ blr + +.global ApplyImpulseOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +ApplyImpulseOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle: +/* 8011C204 00119164 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8011C208 00119168 7C 08 02 A6 */ mflr r0 +/* 8011C20C 0011916C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8011C210 00119170 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8011C214 00119174 7C BF 2B 78 */ mr r31, r5 +/* 8011C218 00119178 7C 85 23 78 */ mr r5, r4 +/* 8011C21C 0011917C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8011C220 00119180 7C 7E 1B 78 */ mr r30, r3 +/* 8011C224 00119184 38 61 00 20 */ addi r3, r1, 0x20 +/* 8011C228 00119188 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8011C22C 0011918C 48 1F 68 55 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8011C230 00119190 C0 3E 01 68 */ lfs f1, 0x168(r30) +/* 8011C234 00119194 7F E3 FB 78 */ mr r3, r31 +/* 8011C238 00119198 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8011C23C 0011919C C0 9E 01 6C */ lfs f4, 0x16c(r30) +/* 8011C240 001191A0 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 8011C244 001191A4 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011C248 001191A8 C0 5E 01 70 */ lfs f2, 0x170(r30) +/* 8011C24C 001191AC C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8011C250 001191B0 EC 64 18 2A */ fadds f3, f4, f3 +/* 8011C254 001191B4 D0 1E 01 68 */ stfs f0, 0x168(r30) +/* 8011C258 001191B8 EC 02 08 2A */ fadds f0, f2, f1 +/* 8011C25C 001191BC D0 7E 01 6C */ stfs f3, 0x16c(r30) +/* 8011C260 001191C0 D0 1E 01 70 */ stfs f0, 0x170(r30) +/* 8011C264 001191C4 4B EF F2 CD */ bl GetVector__10CAxisAngleCFv +/* 8011C268 001191C8 7C 65 1B 78 */ mr r5, r3 +/* 8011C26C 001191CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011C270 001191D0 38 9E 00 34 */ addi r4, r30, 0x34 +/* 8011C274 001191D4 48 1F 68 0D */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 8011C278 001191D8 38 61 00 2C */ addi r3, r1, 0x2c +/* 8011C27C 001191DC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011C280 001191E0 4B EF F3 05 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011C284 001191E4 38 61 00 08 */ addi r3, r1, 8 +/* 8011C288 001191E8 38 9E 01 80 */ addi r4, r30, 0x180 +/* 8011C28C 001191EC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8011C290 001191F0 4B EF F1 95 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle +/* 8011C294 001191F4 80 61 00 08 */ lwz r3, 8(r1) +/* 8011C298 001191F8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8011C29C 001191FC 90 7E 01 80 */ stw r3, 0x180(r30) +/* 8011C2A0 00119200 90 1E 01 84 */ stw r0, 0x184(r30) +/* 8011C2A4 00119204 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8011C2A8 00119208 90 1E 01 88 */ stw r0, 0x188(r30) +/* 8011C2AC 0011920C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8011C2B0 00119210 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8011C2B4 00119214 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8011C2B8 00119218 7C 08 03 A6 */ mtlr r0 +/* 8011C2BC 0011921C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8011C2C0 00119220 4E 80 00 20 */ blr + +.global ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle: +/* 8011C2C4 00119224 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011C2C8 00119228 7C 08 02 A6 */ mflr r0 +/* 8011C2CC 0011922C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011C2D0 00119230 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011C2D4 00119234 7C 7F 1B 78 */ mr r31, r3 +/* 8011C2D8 00119238 C0 23 01 5C */ lfs f1, 0x15c(r3) +/* 8011C2DC 0011923C 38 61 00 08 */ addi r3, r1, 8 +/* 8011C2E0 00119240 C0 04 00 00 */ lfs f0, 0(r4) +/* 8011C2E4 00119244 C0 9F 01 60 */ lfs f4, 0x160(r31) +/* 8011C2E8 00119248 C0 64 00 04 */ lfs f3, 4(r4) +/* 8011C2EC 0011924C EC 01 00 2A */ fadds f0, f1, f0 +/* 8011C2F0 00119250 C0 24 00 08 */ lfs f1, 8(r4) +/* 8011C2F4 00119254 38 9F 01 74 */ addi r4, r31, 0x174 +/* 8011C2F8 00119258 C0 5F 01 64 */ lfs f2, 0x164(r31) +/* 8011C2FC 0011925C EC 64 18 2A */ fadds f3, f4, f3 +/* 8011C300 00119260 D0 1F 01 5C */ stfs f0, 0x15c(r31) +/* 8011C304 00119264 EC 02 08 2A */ fadds f0, f2, f1 +/* 8011C308 00119268 D0 7F 01 60 */ stfs f3, 0x160(r31) +/* 8011C30C 0011926C D0 1F 01 64 */ stfs f0, 0x164(r31) +/* 8011C310 00119270 4B EF F1 15 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle +/* 8011C314 00119274 80 61 00 08 */ lwz r3, 8(r1) +/* 8011C318 00119278 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8011C31C 0011927C 90 7F 01 74 */ stw r3, 0x174(r31) +/* 8011C320 00119280 90 1F 01 78 */ stw r0, 0x178(r31) +/* 8011C324 00119284 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8011C328 00119288 90 1F 01 7C */ stw r0, 0x17c(r31) +/* 8011C32C 0011928C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011C330 00119290 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011C334 00119294 7C 08 03 A6 */ mtlr r0 +/* 8011C338 00119298 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011C33C 0011929C 4E 80 00 20 */ blr + +.global ApplyTorqueWR__13CPhysicsActorFRC9CVector3f +ApplyTorqueWR__13CPhysicsActorFRC9CVector3f: +/* 8011C340 001192A0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011C344 001192A4 7C 08 02 A6 */ mflr r0 +/* 8011C348 001192A8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011C34C 001192AC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011C350 001192B0 7C 7F 1B 78 */ mr r31, r3 +/* 8011C354 001192B4 38 61 00 08 */ addi r3, r1, 8 +/* 8011C358 001192B8 4B EF F2 2D */ bl __ct__10CAxisAngleFRC9CVector3f +/* 8011C35C 001192BC 7C 65 1B 78 */ mr r5, r3 +/* 8011C360 001192C0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011C364 001192C4 38 9F 01 74 */ addi r4, r31, 0x174 +/* 8011C368 001192C8 4B EF F0 BD */ bl __pl__FRC10CAxisAngleRC10CAxisAngle +/* 8011C36C 001192CC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8011C370 001192D0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8011C374 001192D4 90 7F 01 74 */ stw r3, 0x174(r31) +/* 8011C378 001192D8 90 1F 01 78 */ stw r0, 0x178(r31) +/* 8011C37C 001192DC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8011C380 001192E0 90 1F 01 7C */ stw r0, 0x17c(r31) +/* 8011C384 001192E4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011C388 001192E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011C38C 001192EC 7C 08 03 A6 */ mtlr r0 +/* 8011C390 001192F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011C394 001192F4 4E 80 00 20 */ blr + +.global ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle: +/* 8011C398 001192F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011C39C 001192FC 7C 08 02 A6 */ mflr r0 +/* 8011C3A0 00119300 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011C3A4 00119304 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011C3A8 00119308 7C 7F 1B 78 */ mr r31, r3 +/* 8011C3AC 0011930C C0 23 01 68 */ lfs f1, 0x168(r3) +/* 8011C3B0 00119310 38 61 00 08 */ addi r3, r1, 8 +/* 8011C3B4 00119314 C0 04 00 00 */ lfs f0, 0(r4) +/* 8011C3B8 00119318 C0 9F 01 6C */ lfs f4, 0x16c(r31) +/* 8011C3BC 0011931C C0 64 00 04 */ lfs f3, 4(r4) +/* 8011C3C0 00119320 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011C3C4 00119324 C0 24 00 08 */ lfs f1, 8(r4) +/* 8011C3C8 00119328 38 9F 01 80 */ addi r4, r31, 0x180 +/* 8011C3CC 0011932C C0 5F 01 70 */ lfs f2, 0x170(r31) +/* 8011C3D0 00119330 EC 64 18 2A */ fadds f3, f4, f3 +/* 8011C3D4 00119334 D0 1F 01 68 */ stfs f0, 0x168(r31) +/* 8011C3D8 00119338 EC 02 08 2A */ fadds f0, f2, f1 +/* 8011C3DC 0011933C D0 7F 01 6C */ stfs f3, 0x16c(r31) +/* 8011C3E0 00119340 D0 1F 01 70 */ stfs f0, 0x170(r31) +/* 8011C3E4 00119344 4B EF F0 41 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle +/* 8011C3E8 00119348 80 61 00 08 */ lwz r3, 8(r1) +/* 8011C3EC 0011934C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8011C3F0 00119350 90 7F 01 80 */ stw r3, 0x180(r31) +/* 8011C3F4 00119354 90 1F 01 84 */ stw r0, 0x184(r31) +/* 8011C3F8 00119358 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8011C3FC 0011935C 90 1F 01 88 */ stw r0, 0x188(r31) +/* 8011C400 00119360 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011C404 00119364 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011C408 00119368 7C 08 03 A6 */ mtlr r0 +/* 8011C40C 0011936C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011C410 00119370 4E 80 00 20 */ blr + +.global __dt__13CPhysicsActorFv +__dt__13CPhysicsActorFv: +/* 8011C414 00119374 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011C418 00119378 7C 08 02 A6 */ mflr r0 +/* 8011C41C 0011937C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011C420 00119380 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011C424 00119384 7C 9F 23 78 */ mr r31, r4 +/* 8011C428 00119388 93 C1 00 08 */ stw r30, 8(r1) +/* 8011C42C 0011938C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8011C430 00119390 41 82 00 64 */ beq lbl_8011C494 +/* 8011C434 00119394 3C 60 80 3E */ lis r3, lbl_803E0628@ha +/* 8011C438 00119398 34 1E 02 28 */ addic. r0, r30, 0x228 +/* 8011C43C 0011939C 38 03 06 28 */ addi r0, r3, lbl_803E0628@l +/* 8011C440 001193A0 90 1E 00 00 */ stw r0, 0(r30) +/* 8011C444 001193A4 41 82 00 0C */ beq lbl_8011C450 +/* 8011C448 001193A8 38 00 00 00 */ li r0, 0 +/* 8011C44C 001193AC 98 1E 02 34 */ stb r0, 0x234(r30) +lbl_8011C450: +/* 8011C450 001193B0 34 1E 01 C0 */ addic. r0, r30, 0x1c0 +/* 8011C454 001193B4 41 82 00 24 */ beq lbl_8011C478 +/* 8011C458 001193B8 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha +/* 8011C45C 001193BC 34 1E 01 C0 */ addic. r0, r30, 0x1c0 +/* 8011C460 001193C0 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l +/* 8011C464 001193C4 90 1E 01 C0 */ stw r0, 0x1c0(r30) +/* 8011C468 001193C8 41 82 00 10 */ beq lbl_8011C478 +/* 8011C46C 001193CC 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 8011C470 001193D0 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 8011C474 001193D4 90 1E 01 C0 */ stw r0, 0x1c0(r30) +lbl_8011C478: +/* 8011C478 001193D8 7F C3 F3 78 */ mr r3, r30 +/* 8011C47C 001193DC 38 80 00 00 */ li r4, 0 +/* 8011C480 001193E0 4B F3 92 71 */ bl __dt__6CActorFv +/* 8011C484 001193E4 7F E0 07 35 */ extsh. r0, r31 +/* 8011C488 001193E8 40 81 00 0C */ ble lbl_8011C494 +/* 8011C48C 001193EC 7F C3 F3 78 */ mr r3, r30 +/* 8011C490 001193F0 48 1F 94 A1 */ bl Free__7CMemoryFPCv +lbl_8011C494: +/* 8011C494 001193F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011C498 001193F8 7F C3 F3 78 */ mr r3, r30 +/* 8011C49C 001193FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011C4A0 00119400 83 C1 00 08 */ lwz r30, 8(r1) +/* 8011C4A4 00119404 7C 08 03 A6 */ mtlr r0 +/* 8011C4A8 00119408 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011C4AC 0011940C 4E 80 00 20 */ blr + +.global "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +"__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff": +/* 8011C4B0 00119410 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8011C4B4 00119414 7C 08 02 A6 */ mflr r0 +/* 8011C4B8 00119418 90 01 00 94 */ stw r0, 0x94(r1) +/* 8011C4BC 0011941C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8011C4C0 00119420 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8011C4C4 00119424 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 8011C4C8 00119428 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8011C4CC 0011942C BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8011C4D0 00119430 A0 04 00 00 */ lhz r0, 0(r4) +/* 8011C4D4 00119434 FF C0 08 90 */ fmr f30, f1 +/* 8011C4D8 00119438 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8011C4DC 0011943C FF E0 10 90 */ fmr f31, f2 +/* 8011C4E0 00119440 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8011C4E4 00119444 38 01 00 10 */ addi r0, r1, 0x10 +/* 8011C4E8 00119448 81 61 00 A0 */ lwz r11, 0xa0(r1) +/* 8011C4EC 0011944C B0 81 00 10 */ sth r4, 0x10(r1) +/* 8011C4F0 00119450 7C 7D 1B 78 */ mr r29, r3 +/* 8011C4F4 00119454 83 81 00 98 */ lwz r28, 0x98(r1) +/* 8011C4F8 00119458 7D 1E 43 78 */ mr r30, r8 +/* 8011C4FC 0011945C 91 61 00 08 */ stw r11, 8(r1) +/* 8011C500 00119460 7D 5B 53 78 */ mr r27, r10 +/* 8011C504 00119464 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8011C508 00119468 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011C50C 0011946C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8011C510 00119470 4B F3 93 11 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8011C514 00119474 3C 60 80 3E */ lis r3, lbl_803E0628@ha +/* 8011C518 00119478 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) +/* 8011C51C 0011947C 38 03 06 28 */ addi r0, r3, lbl_803E0628@l +/* 8011C520 00119480 90 1D 00 00 */ stw r0, 0(r29) +/* 8011C524 00119484 C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8011C528 00119488 D0 3D 00 E8 */ stfs f1, 0xe8(r29) +/* 8011C52C 0011948C C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8011C530 00119490 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011C534 00119494 40 81 00 10 */ ble lbl_8011C544 +/* 8011C538 00119498 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) +/* 8011C53C 0011949C EC 00 08 24 */ fdivs f0, f0, f1 +/* 8011C540 001194A0 48 00 00 08 */ b lbl_8011C548 +lbl_8011C544: +/* 8011C544 001194A4 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) +lbl_8011C548: +/* 8011C548 001194A8 D0 1D 00 EC */ stfs f0, 0xec(r29) +/* 8011C54C 001194AC 38 80 00 01 */ li r4, 1 +/* 8011C550 001194B0 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) +/* 8011C554 001194B4 38 60 00 00 */ li r3, 0 +/* 8011C558 001194B8 D0 1D 00 F0 */ stfs f0, 0xf0(r29) +/* 8011C55C 001194BC D0 1D 00 F4 */ stfs f0, 0xf4(r29) +/* 8011C560 001194C0 88 1D 00 F8 */ lbz r0, 0xf8(r29) +/* 8011C564 001194C4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8011C568 001194C8 98 1D 00 F8 */ stb r0, 0xf8(r29) +/* 8011C56C 001194CC 88 1D 00 F8 */ lbz r0, 0xf8(r29) +/* 8011C570 001194D0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8011C574 001194D4 98 1D 00 F8 */ stb r0, 0xf8(r29) +/* 8011C578 001194D8 98 7D 00 F9 */ stb r3, 0xf9(r29) +/* 8011C57C 001194DC D0 1D 00 FC */ stfs f0, 0xfc(r29) +/* 8011C580 001194E0 D0 1D 01 00 */ stfs f0, 0x100(r29) +/* 8011C584 001194E4 D0 1D 01 04 */ stfs f0, 0x104(r29) +/* 8011C588 001194E8 4B EF EF AD */ bl Identity__10CAxisAngleFv +/* 8011C58C 001194EC C0 03 00 00 */ lfs f0, 0(r3) +/* 8011C590 001194F0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha +/* 8011C594 001194F4 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l +/* 8011C598 001194F8 D0 1D 01 08 */ stfs f0, 0x108(r29) +/* 8011C59C 001194FC C0 03 00 04 */ lfs f0, 4(r3) +/* 8011C5A0 00119500 D0 1D 01 0C */ stfs f0, 0x10c(r29) +/* 8011C5A4 00119504 C0 03 00 08 */ lfs f0, 8(r3) +/* 8011C5A8 00119508 38 7D 01 14 */ addi r3, r29, 0x114 +/* 8011C5AC 0011950C D0 1D 01 10 */ stfs f0, 0x110(r29) +/* 8011C5B0 00119510 48 1F 3A 75 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 8011C5B4 00119514 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) +/* 8011C5B8 00119518 D0 1D 01 38 */ stfs f0, 0x138(r29) +/* 8011C5BC 0011951C D0 1D 01 3C */ stfs f0, 0x13c(r29) +/* 8011C5C0 00119520 D0 1D 01 40 */ stfs f0, 0x140(r29) +/* 8011C5C4 00119524 4B EF EF 71 */ bl Identity__10CAxisAngleFv +/* 8011C5C8 00119528 C0 23 00 00 */ lfs f1, 0(r3) +/* 8011C5CC 0011952C C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) +/* 8011C5D0 00119530 D0 3D 01 44 */ stfs f1, 0x144(r29) +/* 8011C5D4 00119534 C0 23 00 04 */ lfs f1, 4(r3) +/* 8011C5D8 00119538 D0 3D 01 48 */ stfs f1, 0x148(r29) +/* 8011C5DC 0011953C C0 23 00 08 */ lfs f1, 8(r3) +/* 8011C5E0 00119540 D0 3D 01 4C */ stfs f1, 0x14c(r29) +/* 8011C5E4 00119544 C0 3F 00 18 */ lfs f1, 0x18(r31) +/* 8011C5E8 00119548 D0 3D 01 50 */ stfs f1, 0x150(r29) +/* 8011C5EC 0011954C C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8011C5F0 00119550 D0 3D 01 54 */ stfs f1, 0x154(r29) +/* 8011C5F4 00119554 C0 3F 00 20 */ lfs f1, 0x20(r31) +/* 8011C5F8 00119558 D0 3D 01 58 */ stfs f1, 0x158(r29) +/* 8011C5FC 0011955C D0 1D 01 5C */ stfs f0, 0x15c(r29) +/* 8011C600 00119560 D0 1D 01 60 */ stfs f0, 0x160(r29) +/* 8011C604 00119564 D0 1D 01 64 */ stfs f0, 0x164(r29) +/* 8011C608 00119568 D0 1D 01 68 */ stfs f0, 0x168(r29) +/* 8011C60C 0011956C D0 1D 01 6C */ stfs f0, 0x16c(r29) +/* 8011C610 00119570 D0 1D 01 70 */ stfs f0, 0x170(r29) +/* 8011C614 00119574 4B EF EF 21 */ bl Identity__10CAxisAngleFv +/* 8011C618 00119578 C0 03 00 00 */ lfs f0, 0(r3) +/* 8011C61C 0011957C D0 1D 01 74 */ stfs f0, 0x174(r29) +/* 8011C620 00119580 C0 03 00 04 */ lfs f0, 4(r3) +/* 8011C624 00119584 D0 1D 01 78 */ stfs f0, 0x178(r29) +/* 8011C628 00119588 C0 03 00 08 */ lfs f0, 8(r3) +/* 8011C62C 0011958C D0 1D 01 7C */ stfs f0, 0x17c(r29) +/* 8011C630 00119590 4B EF EF 05 */ bl Identity__10CAxisAngleFv +/* 8011C634 00119594 C0 23 00 00 */ lfs f1, 0(r3) +/* 8011C638 00119598 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) +/* 8011C63C 0011959C D0 3D 01 80 */ stfs f1, 0x180(r29) +/* 8011C640 001195A0 C0 23 00 04 */ lfs f1, 4(r3) +/* 8011C644 001195A4 D0 3D 01 84 */ stfs f1, 0x184(r29) +/* 8011C648 001195A8 C0 23 00 08 */ lfs f1, 8(r3) +/* 8011C64C 001195AC D0 3D 01 88 */ stfs f1, 0x188(r29) +/* 8011C650 001195B0 D0 1D 01 8C */ stfs f0, 0x18c(r29) +/* 8011C654 001195B4 D0 1D 01 90 */ stfs f0, 0x190(r29) +/* 8011C658 001195B8 D0 1D 01 94 */ stfs f0, 0x194(r29) +/* 8011C65C 001195BC 4B EF EE D9 */ bl Identity__10CAxisAngleFv +/* 8011C660 001195C0 C0 03 00 00 */ lfs f0, 0(r3) +/* 8011C664 001195C4 3B 5D 01 C0 */ addi r26, r29, 0x1c0 +/* 8011C668 001195C8 7F 64 DB 78 */ mr r4, r27 +/* 8011C66C 001195CC D0 1D 01 98 */ stfs f0, 0x198(r29) +/* 8011C670 001195D0 C0 03 00 04 */ lfs f0, 4(r3) +/* 8011C674 001195D4 D0 1D 01 9C */ stfs f0, 0x19c(r29) +/* 8011C678 001195D8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8011C67C 001195DC 7F 43 D3 78 */ mr r3, r26 +/* 8011C680 001195E0 D0 1D 01 A0 */ stfs f0, 0x1a0(r29) +/* 8011C684 001195E4 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8011C688 001195E8 D0 1D 01 A4 */ stfs f0, 0x1a4(r29) +/* 8011C68C 001195EC C0 1C 00 04 */ lfs f0, 4(r28) +/* 8011C690 001195F0 D0 1D 01 A8 */ stfs f0, 0x1a8(r29) +/* 8011C694 001195F4 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8011C698 001195F8 D0 1D 01 AC */ stfs f0, 0x1ac(r29) +/* 8011C69C 001195FC C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 8011C6A0 00119600 D0 1D 01 B0 */ stfs f0, 0x1b0(r29) +/* 8011C6A4 00119604 C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 8011C6A8 00119608 D0 1D 01 B4 */ stfs f0, 0x1b4(r29) +/* 8011C6AC 0011960C C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 8011C6B0 00119610 D0 1D 01 B8 */ stfs f0, 0x1b8(r29) +/* 8011C6B4 00119614 48 1B 32 01 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 8011C6B8 00119618 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha +/* 8011C6BC 0011961C 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l +/* 8011C6C0 00119620 90 1A 00 00 */ stw r0, 0(r26) +/* 8011C6C4 00119624 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8011C6C8 00119628 D0 1A 00 10 */ stfs f0, 0x10(r26) +/* 8011C6CC 0011962C C0 1C 00 04 */ lfs f0, 4(r28) +/* 8011C6D0 00119630 D0 1A 00 14 */ stfs f0, 0x14(r26) +/* 8011C6D4 00119634 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8011C6D8 00119638 D0 1A 00 18 */ stfs f0, 0x18(r26) +/* 8011C6DC 0011963C C0 1C 00 0C */ lfs f0, 0xc(r28) +/* 8011C6E0 00119640 D0 1A 00 1C */ stfs f0, 0x1c(r26) +/* 8011C6E4 00119644 C0 1C 00 10 */ lfs f0, 0x10(r28) +/* 8011C6E8 00119648 D0 1A 00 20 */ stfs f0, 0x20(r26) +/* 8011C6EC 0011964C C0 1C 00 14 */ lfs f0, 0x14(r28) +/* 8011C6F0 00119650 D0 1A 00 24 */ stfs f0, 0x24(r26) +/* 8011C6F4 00119654 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 8011C6F8 00119658 C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 8011C6FC 0011965C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8011C700 00119660 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) +/* 8011C704 00119664 D0 3D 01 EC */ stfs f1, 0x1ec(r29) +/* 8011C708 00119668 D0 5D 01 F0 */ stfs f2, 0x1f0(r29) +/* 8011C70C 0011966C 4B EF EE 29 */ bl Identity__10CAxisAngleFv +/* 8011C710 00119670 7C 7C 1B 78 */ mr r28, r3 +/* 8011C714 00119674 7F C4 F3 78 */ mr r4, r30 +/* 8011C718 00119678 38 61 00 28 */ addi r3, r1, 0x28 +/* 8011C71C 0011967C 48 1F 69 D9 */ bl BuildMatrix3f__12CTransform4fCFv +/* 8011C720 00119680 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011C724 00119684 38 81 00 28 */ addi r4, r1, 0x28 +/* 8011C728 00119688 48 1F 43 C9 */ bl BuildFromMatrix3f__13CNUQuaternionFRC9CMatrix3f +/* 8011C72C 0011968C C0 9E 00 2C */ lfs f4, 0x2c(r30) +/* 8011C730 00119690 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011C734 00119694 C0 7E 00 1C */ lfs f3, 0x1c(r30) +/* 8011C738 00119698 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8011C73C 0011969C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8011C740 001196A0 38 00 00 00 */ li r0, 0 +/* 8011C744 001196A4 C0 42 96 C8 */ lfs f2, lbl_805AB3E8@sda21(r2) +/* 8011C748 001196A8 7F A3 EB 78 */ mr r3, r29 +/* 8011C74C 001196AC D0 1D 01 F4 */ stfs f0, 0x1f4(r29) +/* 8011C750 001196B0 C0 22 96 A4 */ lfs f1, lbl_805AB3C4@sda21(r2) +/* 8011C754 001196B4 D0 7D 01 F8 */ stfs f3, 0x1f8(r29) +/* 8011C758 001196B8 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) +/* 8011C75C 001196BC D0 9D 01 FC */ stfs f4, 0x1fc(r29) +/* 8011C760 001196C0 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8011C764 001196C4 D0 7D 02 00 */ stfs f3, 0x200(r29) +/* 8011C768 001196C8 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 8011C76C 001196CC D0 7D 02 04 */ stfs f3, 0x204(r29) +/* 8011C770 001196D0 C0 61 00 20 */ lfs f3, 0x20(r1) +/* 8011C774 001196D4 D0 7D 02 08 */ stfs f3, 0x208(r29) +/* 8011C778 001196D8 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 8011C77C 001196DC D0 7D 02 0C */ stfs f3, 0x20c(r29) +/* 8011C780 001196E0 C0 64 00 00 */ lfs f3, 0(r4) +/* 8011C784 001196E4 D0 7D 02 10 */ stfs f3, 0x210(r29) +/* 8011C788 001196E8 C0 64 00 04 */ lfs f3, 4(r4) +/* 8011C78C 001196EC D0 7D 02 14 */ stfs f3, 0x214(r29) +/* 8011C790 001196F0 C0 64 00 08 */ lfs f3, 8(r4) +/* 8011C794 001196F4 D0 7D 02 18 */ stfs f3, 0x218(r29) +/* 8011C798 001196F8 C0 7C 00 00 */ lfs f3, 0(r28) +/* 8011C79C 001196FC D0 7D 02 1C */ stfs f3, 0x21c(r29) +/* 8011C7A0 00119700 C0 7C 00 04 */ lfs f3, 4(r28) +/* 8011C7A4 00119704 D0 7D 02 20 */ stfs f3, 0x220(r29) +/* 8011C7A8 00119708 C0 7C 00 08 */ lfs f3, 8(r28) +/* 8011C7AC 0011970C D0 7D 02 24 */ stfs f3, 0x224(r29) +/* 8011C7B0 00119710 98 1D 02 34 */ stb r0, 0x234(r29) +/* 8011C7B4 00119714 D0 5D 02 38 */ stfs f2, 0x238(r29) +/* 8011C7B8 00119718 D3 DD 02 3C */ stfs f30, 0x23c(r29) +/* 8011C7BC 0011971C D3 FD 02 40 */ stfs f31, 0x240(r29) +/* 8011C7C0 00119720 D0 3D 02 44 */ stfs f1, 0x244(r29) +/* 8011C7C4 00119724 D0 1D 02 48 */ stfs f0, 0x248(r29) +/* 8011C7C8 00119728 90 1D 02 4C */ stw r0, 0x24c(r29) +/* 8011C7CC 0011972C 90 1D 02 50 */ stw r0, 0x250(r29) +/* 8011C7D0 00119730 C0 3F 00 30 */ lfs f1, 0x30(r31) +/* 8011C7D4 00119734 4B FF E2 B5 */ bl SetMass__13CPhysicsActorFf +/* 8011C7D8 00119738 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011C7DC 0011973C 7F A3 EB 78 */ mr r3, r29 +/* 8011C7E0 00119740 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 8011C7E4 00119744 4B FF E2 55 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f +/* 8011C7E8 00119748 7F A3 EB 78 */ mr r3, r29 +/* 8011C7EC 0011974C 7F E4 FB 78 */ mr r4, r31 +/* 8011C7F0 00119750 4B FF E5 29 */ bl SetVelocityOR__13CPhysicsActorFRC9CVector3f +/* 8011C7F4 00119754 7F A3 EB 78 */ mr r3, r29 +/* 8011C7F8 00119758 38 9F 00 0C */ addi r4, r31, 0xc +/* 8011C7FC 0011975C 4B FF E2 E1 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle +/* 8011C800 00119760 7F A3 EB 78 */ mr r3, r29 +/* 8011C804 00119764 4B FF F8 75 */ bl ComputeDerivedQuantities__13CPhysicsActorFv +/* 8011C808 00119768 7F A3 EB 78 */ mr r3, r29 +/* 8011C80C 0011976C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8011C810 00119770 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8011C814 00119774 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 8011C818 00119778 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 8011C81C 0011977C BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8011C820 00119780 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8011C824 00119784 7C 08 03 A6 */ mtlr r0 +/* 8011C828 00119788 38 21 00 90 */ addi r1, r1, 0x90 +/* 8011C82C 0011978C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPhysicsState.s b/asm/Kyoto_CWD/CPhysicsState.s new file mode 100644 index 00000000..2feab809 --- /dev/null +++ b/asm/Kyoto_CWD/CPhysicsState.s @@ -0,0 +1,65 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__13CPhysicsStateFRC9CVector3fRC11CQuaternionRC9CVector3fRC10CAxisAngleRC9CVector3fRC9CVector3fRC9CVector3fRC10CAxisAngleRC10CAxisAngle +__ct__13CPhysicsStateFRC9CVector3fRC11CQuaternionRC9CVector3fRC10CAxisAngleRC9CVector3fRC9CVector3fRC9CVector3fRC10CAxisAngleRC10CAxisAngle: +/* 8011C830 00119790 C0 04 00 00 */ lfs f0, 0(r4) +/* 8011C834 00119794 81 81 00 08 */ lwz r12, 8(r1) +/* 8011C838 00119798 D0 03 00 00 */ stfs f0, 0(r3) +/* 8011C83C 0011979C 81 61 00 0C */ lwz r11, 0xc(r1) +/* 8011C840 001197A0 C0 04 00 04 */ lfs f0, 4(r4) +/* 8011C844 001197A4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8011C848 001197A8 C0 04 00 08 */ lfs f0, 8(r4) +/* 8011C84C 001197AC D0 03 00 08 */ stfs f0, 8(r3) +/* 8011C850 001197B0 C0 05 00 00 */ lfs f0, 0(r5) +/* 8011C854 001197B4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8011C858 001197B8 C0 05 00 04 */ lfs f0, 4(r5) +/* 8011C85C 001197BC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8011C860 001197C0 C0 05 00 08 */ lfs f0, 8(r5) +/* 8011C864 001197C4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8011C868 001197C8 C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8011C86C 001197CC D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8011C870 001197D0 C0 06 00 00 */ lfs f0, 0(r6) +/* 8011C874 001197D4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8011C878 001197D8 C0 06 00 04 */ lfs f0, 4(r6) +/* 8011C87C 001197DC D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8011C880 001197E0 C0 06 00 08 */ lfs f0, 8(r6) +/* 8011C884 001197E4 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8011C888 001197E8 C0 07 00 00 */ lfs f0, 0(r7) +/* 8011C88C 001197EC D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8011C890 001197F0 C0 07 00 04 */ lfs f0, 4(r7) +/* 8011C894 001197F4 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8011C898 001197F8 C0 07 00 08 */ lfs f0, 8(r7) +/* 8011C89C 001197FC D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8011C8A0 00119800 C0 08 00 00 */ lfs f0, 0(r8) +/* 8011C8A4 00119804 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 8011C8A8 00119808 C0 08 00 04 */ lfs f0, 4(r8) +/* 8011C8AC 0011980C D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8011C8B0 00119810 C0 08 00 08 */ lfs f0, 8(r8) +/* 8011C8B4 00119814 D0 03 00 3C */ stfs f0, 0x3c(r3) +/* 8011C8B8 00119818 C0 09 00 00 */ lfs f0, 0(r9) +/* 8011C8BC 0011981C D0 03 00 40 */ stfs f0, 0x40(r3) +/* 8011C8C0 00119820 C0 09 00 04 */ lfs f0, 4(r9) +/* 8011C8C4 00119824 D0 03 00 44 */ stfs f0, 0x44(r3) +/* 8011C8C8 00119828 C0 09 00 08 */ lfs f0, 8(r9) +/* 8011C8CC 0011982C D0 03 00 48 */ stfs f0, 0x48(r3) +/* 8011C8D0 00119830 C0 0A 00 00 */ lfs f0, 0(r10) +/* 8011C8D4 00119834 D0 03 00 4C */ stfs f0, 0x4c(r3) +/* 8011C8D8 00119838 C0 0A 00 04 */ lfs f0, 4(r10) +/* 8011C8DC 0011983C D0 03 00 50 */ stfs f0, 0x50(r3) +/* 8011C8E0 00119840 C0 0A 00 08 */ lfs f0, 8(r10) +/* 8011C8E4 00119844 D0 03 00 54 */ stfs f0, 0x54(r3) +/* 8011C8E8 00119848 C0 0C 00 00 */ lfs f0, 0(r12) +/* 8011C8EC 0011984C D0 03 00 58 */ stfs f0, 0x58(r3) +/* 8011C8F0 00119850 C0 0C 00 04 */ lfs f0, 4(r12) +/* 8011C8F4 00119854 D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 8011C8F8 00119858 C0 0C 00 08 */ lfs f0, 8(r12) +/* 8011C8FC 0011985C D0 03 00 60 */ stfs f0, 0x60(r3) +/* 8011C900 00119860 C0 0B 00 00 */ lfs f0, 0(r11) +/* 8011C904 00119864 D0 03 00 64 */ stfs f0, 0x64(r3) +/* 8011C908 00119868 C0 0B 00 04 */ lfs f0, 4(r11) +/* 8011C90C 0011986C D0 03 00 68 */ stfs f0, 0x68(r3) +/* 8011C910 00119870 C0 0B 00 08 */ lfs f0, 8(r11) +/* 8011C914 00119874 D0 03 00 6C */ stfs f0, 0x6c(r3) +/* 8011C918 00119878 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CRipple.s b/asm/Kyoto_CWD/CRipple.s new file mode 100644 index 00000000..402059d2 --- /dev/null +++ b/asm/Kyoto_CWD/CRipple.s @@ -0,0 +1,124 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__7CRippleF9TUniqueIdRC9CVector3ff +__ct__7CRippleF9TUniqueIdRC9CVector3ff: +/* 8011C91C 0011987C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011C920 00119880 7C 08 02 A6 */ mflr r0 +/* 8011C924 00119884 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011C928 00119888 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 8011C92C 0011988C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 8011C930 00119890 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011C934 00119894 A0 04 00 00 */ lhz r0, 0(r4) +/* 8011C938 00119898 7C 7F 1B 78 */ mr r31, r3 +/* 8011C93C 0011989C C0 E2 96 D4 */ lfs f7, lbl_805AB3F4@sda21(r2) +/* 8011C940 001198A0 FF E0 08 90 */ fmr f31, f1 +/* 8011C944 001198A4 B0 03 00 00 */ sth r0, 0(r3) +/* 8011C948 001198A8 C0 A2 96 D8 */ lfs f5, lbl_805AB3F8@sda21(r2) +/* 8011C94C 001198AC D0 E3 00 04 */ stfs f7, 4(r3) +/* 8011C950 001198B0 C0 82 96 DC */ lfs f4, lbl_805AB3FC@sda21(r2) +/* 8011C954 001198B4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8011C958 001198B8 C0 62 96 E0 */ lfs f3, lbl_805AB400@sda21(r2) +/* 8011C95C 001198BC D0 03 00 08 */ stfs f0, 8(r3) +/* 8011C960 001198C0 C0 42 96 E4 */ lfs f2, lbl_805AB404@sda21(r2) +/* 8011C964 001198C4 C0 C5 00 04 */ lfs f6, 4(r5) +/* 8011C968 001198C8 C0 02 96 E8 */ lfs f0, lbl_805AB408@sda21(r2) +/* 8011C96C 001198CC D0 C3 00 0C */ stfs f6, 0xc(r3) +/* 8011C970 001198D0 C0 C5 00 08 */ lfs f6, 8(r5) +/* 8011C974 001198D4 D0 C3 00 10 */ stfs f6, 0x10(r3) +/* 8011C978 001198D8 D0 A3 00 14 */ stfs f5, 0x14(r3) +/* 8011C97C 001198DC D0 83 00 18 */ stfs f4, 0x18(r3) +/* 8011C980 001198E0 D0 63 00 1C */ stfs f3, 0x1c(r3) +/* 8011C984 001198E4 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 8011C988 001198E8 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8011C98C 001198EC D0 E3 00 28 */ stfs f7, 0x28(r3) +/* 8011C990 001198F0 D0 E3 00 2C */ stfs f7, 0x2c(r3) +/* 8011C994 001198F4 D0 E3 00 30 */ stfs f7, 0x30(r3) +/* 8011C998 001198F8 D0 E3 00 34 */ stfs f7, 0x34(r3) +/* 8011C99C 001198FC D0 E3 00 38 */ stfs f7, 0x38(r3) +/* 8011C9A0 00119900 48 01 26 F9 */ bl sub_8012f098 +/* 8011C9A4 00119904 C0 02 96 D4 */ lfs f0, lbl_805AB3F4@sda21(r2) +/* 8011C9A8 00119908 90 7F 00 3C */ stw r3, 0x3c(r31) +/* 8011C9AC 0011990C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8011C9B0 00119910 41 80 00 CC */ blt lbl_8011CA7C +/* 8011C9B4 00119914 C0 02 96 EC */ lfs f0, lbl_805AB40C@sda21(r2) +/* 8011C9B8 00119918 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8011C9BC 0011991C 41 81 00 C0 */ bgt lbl_8011CA7C +/* 8011C9C0 00119920 88 0D A3 98 */ lbz r0, lbl_805A8F58@sda21(r13) +/* 8011C9C4 00119924 7C 00 07 75 */ extsb. r0, r0 +/* 8011C9C8 00119928 40 82 00 1C */ bne lbl_8011C9E4 +/* 8011C9CC 0011992C 3C 80 00 01 */ lis r4, 0x0000ABBA@ha +/* 8011C9D0 00119930 38 6D A3 9C */ addi r3, r13, lbl_805A8F5C@sda21 +/* 8011C9D4 00119934 38 84 AB BA */ addi r4, r4, 0x0000ABBA@l +/* 8011C9D8 00119938 48 1F 5C 15 */ bl __ct__9CRandom16FUi +/* 8011C9DC 0011993C 38 00 00 01 */ li r0, 1 +/* 8011C9E0 00119940 98 0D A3 98 */ stb r0, lbl_805A8F58@sda21(r13) +lbl_8011C9E4: +/* 8011C9E4 00119944 38 6D A3 9C */ addi r3, r13, lbl_805A8F5C@sda21 +/* 8011C9E8 00119948 48 1F 5A F5 */ bl Float__9CRandom16Fv +/* 8011C9EC 0011994C C0 02 96 F4 */ lfs f0, lbl_805AB414@sda21(r2) +/* 8011C9F0 00119950 C0 42 96 D8 */ lfs f2, lbl_805AB3F8@sda21(r2) +/* 8011C9F4 00119954 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8011C9F8 00119958 C0 62 96 F0 */ lfs f3, lbl_805AB410@sda21(r2) +/* 8011C9FC 0011995C C0 02 96 D4 */ lfs f0, lbl_805AB3F4@sda21(r2) +/* 8011CA00 00119960 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8011CA04 00119964 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8011CA08 00119968 EC 23 F8 7A */ fmadds f1, f3, f1, f31 +/* 8011CA0C 0011996C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011CA10 00119970 40 80 00 0C */ bge lbl_8011CA1C +/* 8011CA14 00119974 FC 20 00 90 */ fmr f1, f0 +/* 8011CA18 00119978 48 00 00 14 */ b lbl_8011CA2C +lbl_8011CA1C: +/* 8011CA1C 0011997C C0 02 96 EC */ lfs f0, lbl_805AB40C@sda21(r2) +/* 8011CA20 00119980 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011CA24 00119984 40 81 00 08 */ ble lbl_8011CA2C +/* 8011CA28 00119988 FC 20 00 90 */ fmr f1, f0 +lbl_8011CA2C: +/* 8011CA2C 0011998C C0 C2 96 D8 */ lfs f6, lbl_805AB3F8@sda21(r2) +/* 8011CA30 00119990 C0 42 96 F4 */ lfs f2, lbl_805AB414@sda21(r2) +/* 8011CA34 00119994 EC E6 00 72 */ fmuls f7, f6, f1 +/* 8011CA38 00119998 C0 22 96 F8 */ lfs f1, lbl_805AB418@sda21(r2) +/* 8011CA3C 0011999C C0 62 97 00 */ lfs f3, lbl_805AB420@sda21(r2) +/* 8011CA40 001199A0 C0 02 96 FC */ lfs f0, lbl_805AB41C@sda21(r2) +/* 8011CA44 001199A4 EC A2 09 FA */ fmadds f5, f2, f7, f1 +/* 8011CA48 001199A8 C0 42 97 08 */ lfs f2, lbl_805AB428@sda21(r2) +/* 8011CA4C 001199AC C0 22 97 04 */ lfs f1, lbl_805AB424@sda21(r2) +/* 8011CA50 001199B0 EC 83 01 FA */ fmadds f4, f3, f7, f0 +/* 8011CA54 001199B4 EC 66 38 2A */ fadds f3, f6, f7 +/* 8011CA58 001199B8 C0 02 97 0C */ lfs f0, lbl_805AB42C@sda21(r2) +/* 8011CA5C 001199BC D0 BF 00 14 */ stfs f5, 0x14(r31) +/* 8011CA60 001199C0 EC 22 09 FA */ fmadds f1, f2, f7, f1 +/* 8011CA64 001199C4 D0 9F 00 18 */ stfs f4, 0x18(r31) +/* 8011CA68 001199C8 D0 7F 00 1C */ stfs f3, 0x1c(r31) +/* 8011CA6C 001199CC D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 8011CA70 001199D0 C0 3F 00 20 */ lfs f1, 0x20(r31) +/* 8011CA74 001199D4 EC 01 00 24 */ fdivs f0, f1, f0 +/* 8011CA78 001199D8 D0 1F 00 24 */ stfs f0, 0x24(r31) +lbl_8011CA7C: +/* 8011CA7C 001199DC C0 62 96 EC */ lfs f3, lbl_805AB40C@sda21(r2) +/* 8011CA80 001199E0 7F E3 FB 78 */ mr r3, r31 +/* 8011CA84 001199E4 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 8011CA88 001199E8 C0 02 97 10 */ lfs f0, lbl_805AB430@sda21(r2) +/* 8011CA8C 001199EC EC 43 08 24 */ fdivs f2, f3, f1 +/* 8011CA90 001199F0 C0 22 97 14 */ lfs f1, lbl_805AB434@sda21(r2) +/* 8011CA94 001199F4 D0 5F 00 28 */ stfs f2, 0x28(r31) +/* 8011CA98 001199F8 C0 5F 00 18 */ lfs f2, 0x18(r31) +/* 8011CA9C 001199FC EC 43 10 24 */ fdivs f2, f3, f2 +/* 8011CAA0 00119A00 D0 5F 00 2C */ stfs f2, 0x2c(r31) +/* 8011CAA4 00119A04 C0 5F 00 18 */ lfs f2, 0x18(r31) +/* 8011CAA8 00119A08 EC 02 00 24 */ fdivs f0, f2, f0 +/* 8011CAAC 00119A0C D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 8011CAB0 00119A10 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8011CAB4 00119A14 EC 03 00 24 */ fdivs f0, f3, f0 +/* 8011CAB8 00119A18 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 8011CABC 00119A1C C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8011CAC0 00119A20 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8011CAC4 00119A24 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 8011CAC8 00119A28 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 8011CACC 00119A2C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011CAD0 00119A30 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8011CAD4 00119A34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011CAD8 00119A38 7C 08 03 A6 */ mtlr r0 +/* 8011CADC 00119A3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011CAE0 00119A40 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CRippleManager.s b/asm/Kyoto_CWD/CRippleManager.s new file mode 100644 index 00000000..d35afb94 --- /dev/null +++ b/asm/Kyoto_CWD/CRippleManager.s @@ -0,0 +1,408 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global AddRipple__14CRippleManagerFRC7CRipple +AddRipple__14CRippleManagerFRC7CRipple: +/* 8011CF4C 00119EAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011CF50 00119EB0 C0 42 97 40 */ lfs f2, lbl_805AB460@sda21(r2) +/* 8011CF54 00119EB4 80 03 00 08 */ lwz r0, 8(r3) +/* 8011CF58 00119EB8 80 E3 00 10 */ lwz r7, 0x10(r3) +/* 8011CF5C 00119EBC 54 00 30 32 */ slwi r0, r0, 6 +/* 8011CF60 00119EC0 C0 02 98 F4 */ lfs f0, lbl_805AB614@sda21(r2) +/* 8011CF64 00119EC4 7C C7 02 14 */ add r6, r7, r0 +/* 8011CF68 00119EC8 48 00 00 2C */ b lbl_8011CF94 +lbl_8011CF6C: +/* 8011CF6C 00119ECC C0 27 00 04 */ lfs f1, 4(r7) +/* 8011CF70 00119ED0 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 8011CF74 00119ED4 40 82 00 0C */ bne lbl_8011CF80 +/* 8011CF78 00119ED8 7C E6 3B 78 */ mr r6, r7 +/* 8011CF7C 00119EDC 48 00 00 30 */ b lbl_8011CFAC +lbl_8011CF80: +/* 8011CF80 00119EE0 FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 8011CF84 00119EE4 40 81 00 0C */ ble lbl_8011CF90 +/* 8011CF88 00119EE8 7C E6 3B 78 */ mr r6, r7 +/* 8011CF8C 00119EEC FC 40 08 90 */ fmr f2, f1 +lbl_8011CF90: +/* 8011CF90 00119EF0 38 E7 00 40 */ addi r7, r7, 0x40 +lbl_8011CF94: +/* 8011CF94 00119EF4 80 03 00 08 */ lwz r0, 8(r3) +/* 8011CF98 00119EF8 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 8011CF9C 00119EFC 54 00 30 32 */ slwi r0, r0, 6 +/* 8011CFA0 00119F00 7C 05 02 14 */ add r0, r5, r0 +/* 8011CFA4 00119F04 7C 07 00 40 */ cmplw r7, r0 +/* 8011CFA8 00119F08 40 82 FF C4 */ bne lbl_8011CF6C +lbl_8011CFAC: +/* 8011CFAC 00119F0C 80 03 00 08 */ lwz r0, 8(r3) +/* 8011CFB0 00119F10 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 8011CFB4 00119F14 54 00 30 32 */ slwi r0, r0, 6 +/* 8011CFB8 00119F18 7C 05 02 14 */ add r0, r5, r0 +/* 8011CFBC 00119F1C 7C 06 00 40 */ cmplw r6, r0 +/* 8011CFC0 00119F20 41 82 00 B8 */ beq lbl_8011D078 +/* 8011CFC4 00119F24 A0 04 00 00 */ lhz r0, 0(r4) +/* 8011CFC8 00119F28 C0 02 97 40 */ lfs f0, lbl_805AB460@sda21(r2) +/* 8011CFCC 00119F2C B0 06 00 00 */ sth r0, 0(r6) +/* 8011CFD0 00119F30 C0 24 00 04 */ lfs f1, 4(r4) +/* 8011CFD4 00119F34 D0 26 00 04 */ stfs f1, 4(r6) +/* 8011CFD8 00119F38 80 A4 00 08 */ lwz r5, 8(r4) +/* 8011CFDC 00119F3C 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8011CFE0 00119F40 90 A6 00 08 */ stw r5, 8(r6) +/* 8011CFE4 00119F44 90 06 00 0C */ stw r0, 0xc(r6) +/* 8011CFE8 00119F48 80 04 00 10 */ lwz r0, 0x10(r4) +/* 8011CFEC 00119F4C 90 06 00 10 */ stw r0, 0x10(r6) +/* 8011CFF0 00119F50 C0 24 00 14 */ lfs f1, 0x14(r4) +/* 8011CFF4 00119F54 D0 26 00 14 */ stfs f1, 0x14(r6) +/* 8011CFF8 00119F58 C0 24 00 18 */ lfs f1, 0x18(r4) +/* 8011CFFC 00119F5C D0 26 00 18 */ stfs f1, 0x18(r6) +/* 8011D000 00119F60 C0 24 00 1C */ lfs f1, 0x1c(r4) +/* 8011D004 00119F64 D0 26 00 1C */ stfs f1, 0x1c(r6) +/* 8011D008 00119F68 C0 24 00 20 */ lfs f1, 0x20(r4) +/* 8011D00C 00119F6C D0 26 00 20 */ stfs f1, 0x20(r6) +/* 8011D010 00119F70 C0 24 00 24 */ lfs f1, 0x24(r4) +/* 8011D014 00119F74 D0 26 00 24 */ stfs f1, 0x24(r6) +/* 8011D018 00119F78 C0 24 00 28 */ lfs f1, 0x28(r4) +/* 8011D01C 00119F7C D0 26 00 28 */ stfs f1, 0x28(r6) +/* 8011D020 00119F80 C0 24 00 2C */ lfs f1, 0x2c(r4) +/* 8011D024 00119F84 D0 26 00 2C */ stfs f1, 0x2c(r6) +/* 8011D028 00119F88 C0 24 00 30 */ lfs f1, 0x30(r4) +/* 8011D02C 00119F8C D0 26 00 30 */ stfs f1, 0x30(r6) +/* 8011D030 00119F90 C0 24 00 34 */ lfs f1, 0x34(r4) +/* 8011D034 00119F94 D0 26 00 34 */ stfs f1, 0x34(r6) +/* 8011D038 00119F98 C0 24 00 38 */ lfs f1, 0x38(r4) +/* 8011D03C 00119F9C D0 26 00 38 */ stfs f1, 0x38(r6) +/* 8011D040 00119FA0 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 8011D044 00119FA4 90 06 00 3C */ stw r0, 0x3c(r6) +/* 8011D048 00119FA8 D0 06 00 04 */ stfs f0, 4(r6) +/* 8011D04C 00119FAC C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8011D050 00119FB0 D0 01 00 08 */ stfs f0, 8(r1) +/* 8011D054 00119FB4 C0 23 00 00 */ lfs f1, 0(r3) +/* 8011D058 00119FB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011D05C 00119FBC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8011D060 00119FC0 40 80 00 0C */ bge lbl_8011D06C +/* 8011D064 00119FC4 38 81 00 08 */ addi r4, r1, 8 +/* 8011D068 00119FC8 48 00 00 08 */ b lbl_8011D070 +lbl_8011D06C: +/* 8011D06C 00119FCC 38 81 00 0C */ addi r4, r1, 0xc +lbl_8011D070: +/* 8011D070 00119FD0 C0 04 00 00 */ lfs f0, 0(r4) +/* 8011D074 00119FD4 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8011D078: +/* 8011D078 00119FD8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011D07C 00119FDC 4E 80 00 20 */ blr + +.global GetLastRippleDeltaTime__14CRippleManagerCF9TUniqueId +GetLastRippleDeltaTime__14CRippleManagerCF9TUniqueId: +/* 8011D080 00119FE0 C0 22 98 F4 */ lfs f1, lbl_805AB614@sda21(r2) +/* 8011D084 00119FE4 80 C3 00 10 */ lwz r6, 0x10(r3) +/* 8011D088 00119FE8 48 00 00 28 */ b lbl_8011D0B0 +lbl_8011D08C: +/* 8011D08C 00119FEC A0 A4 00 00 */ lhz r5, 0(r4) +/* 8011D090 00119FF0 A0 06 00 00 */ lhz r0, 0(r6) +/* 8011D094 00119FF4 7C 05 00 40 */ cmplw r5, r0 +/* 8011D098 00119FF8 40 82 00 14 */ bne lbl_8011D0AC +/* 8011D09C 00119FFC C0 06 00 04 */ lfs f0, 4(r6) +/* 8011D0A0 0011A000 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011D0A4 0011A004 40 81 00 08 */ ble lbl_8011D0AC +/* 8011D0A8 0011A008 FC 20 00 90 */ fmr f1, f0 +lbl_8011D0AC: +/* 8011D0AC 0011A00C 38 C6 00 40 */ addi r6, r6, 0x40 +lbl_8011D0B0: +/* 8011D0B0 0011A010 80 03 00 08 */ lwz r0, 8(r3) +/* 8011D0B4 0011A014 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 8011D0B8 0011A018 54 00 30 32 */ slwi r0, r0, 6 +/* 8011D0BC 0011A01C 7C 05 02 14 */ add r0, r5, r0 +/* 8011D0C0 0011A020 7C 06 00 40 */ cmplw r6, r0 +/* 8011D0C4 0011A024 40 82 FF C8 */ bne lbl_8011D08C +/* 8011D0C8 0011A028 4E 80 00 20 */ blr + +.global Update__14CRippleManagerFf +Update__14CRippleManagerFf: +/* 8011D0CC 0011A02C 80 A3 00 10 */ lwz r5, 0x10(r3) +/* 8011D0D0 0011A030 C0 42 98 F4 */ lfs f2, lbl_805AB614@sda21(r2) +/* 8011D0D4 0011A034 48 00 00 24 */ b lbl_8011D0F8 +lbl_8011D0D8: +/* 8011D0D8 0011A038 C0 05 00 04 */ lfs f0, 4(r5) +/* 8011D0DC 0011A03C EC 01 00 2A */ fadds f0, f1, f0 +/* 8011D0E0 0011A040 D0 05 00 04 */ stfs f0, 4(r5) +/* 8011D0E4 0011A044 C0 05 00 04 */ lfs f0, 4(r5) +/* 8011D0E8 0011A048 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8011D0EC 0011A04C 40 81 00 08 */ ble lbl_8011D0F4 +/* 8011D0F0 0011A050 D0 45 00 04 */ stfs f2, 4(r5) +lbl_8011D0F4: +/* 8011D0F4 0011A054 38 A5 00 40 */ addi r5, r5, 0x40 +lbl_8011D0F8: +/* 8011D0F8 0011A058 80 03 00 08 */ lwz r0, 8(r3) +/* 8011D0FC 0011A05C 80 83 00 10 */ lwz r4, 0x10(r3) +/* 8011D100 0011A060 54 00 30 32 */ slwi r0, r0, 6 +/* 8011D104 0011A064 7C 04 02 14 */ add r0, r4, r0 +/* 8011D108 0011A068 7C 05 00 40 */ cmplw r5, r0 +/* 8011D10C 0011A06C 40 82 FF CC */ bne lbl_8011D0D8 + +.global sub_8011d110 +sub_8011d110: +/* 8011D110 0011A070 4E 80 00 20 */ blr + +.global Init__14CRippleManagerFi +Init__14CRippleManagerFi: +/* 8011D114 0011A074 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8011D118 0011A078 7C 08 02 A6 */ mflr r0 +/* 8011D11C 0011A07C 3C A0 80 5A */ lis r5, skZero3f@ha +/* 8011D120 0011A080 C0 22 97 40 */ lfs f1, lbl_805AB460@sda21(r2) +/* 8011D124 0011A084 90 01 00 64 */ stw r0, 0x64(r1) +/* 8011D128 0011A088 38 A5 66 A0 */ addi r5, r5, skZero3f@l +/* 8011D12C 0011A08C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8011D130 0011A090 7C 9F 23 78 */ mr r31, r4 +/* 8011D134 0011A094 38 81 00 08 */ addi r4, r1, 8 +/* 8011D138 0011A098 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8011D13C 0011A09C 7C 7E 1B 78 */ mr r30, r3 +/* 8011D140 0011A0A0 38 61 00 0C */ addi r3, r1, 0xc +/* 8011D144 0011A0A4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8011D148 0011A0A8 B0 01 00 08 */ sth r0, 8(r1) +/* 8011D14C 0011A0AC 4B FF F7 D1 */ bl __ct__7CRippleF9TUniqueIdRC9CVector3ff +/* 8011D150 0011A0B0 7C 65 1B 78 */ mr r5, r3 +/* 8011D154 0011A0B4 7F E4 FB 78 */ mr r4, r31 +/* 8011D158 0011A0B8 38 7E 00 04 */ addi r3, r30, 4 +/* 8011D15C 0011A0BC 48 00 00 49 */ bl sub_8011d1a4 +/* 8011D160 0011A0C0 80 9E 00 10 */ lwz r4, 0x10(r30) +/* 8011D164 0011A0C4 C0 02 98 F4 */ lfs f0, lbl_805AB614@sda21(r2) +/* 8011D168 0011A0C8 48 00 00 0C */ b lbl_8011D174 +lbl_8011D16C: +/* 8011D16C 0011A0CC D0 04 00 04 */ stfs f0, 4(r4) +/* 8011D170 0011A0D0 38 84 00 40 */ addi r4, r4, 0x40 +lbl_8011D174: +/* 8011D174 0011A0D4 80 1E 00 08 */ lwz r0, 8(r30) +/* 8011D178 0011A0D8 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8011D17C 0011A0DC 54 00 30 32 */ slwi r0, r0, 6 +/* 8011D180 0011A0E0 7C 03 02 14 */ add r0, r3, r0 +/* 8011D184 0011A0E4 7C 04 00 40 */ cmplw r4, r0 +/* 8011D188 0011A0E8 40 82 FF E4 */ bne lbl_8011D16C +/* 8011D18C 0011A0EC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8011D190 0011A0F0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8011D194 0011A0F4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8011D198 0011A0F8 7C 08 03 A6 */ mtlr r0 +/* 8011D19C 0011A0FC 38 21 00 60 */ addi r1, r1, 0x60 +/* 8011D1A0 0011A100 4E 80 00 20 */ blr + +.global sub_8011d1a4 +sub_8011d1a4: +/* 8011D1A4 0011A104 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011D1A8 0011A108 7C 08 02 A6 */ mflr r0 +/* 8011D1AC 0011A10C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011D1B0 0011A110 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011D1B4 0011A114 7C BF 2B 78 */ mr r31, r5 +/* 8011D1B8 0011A118 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8011D1BC 0011A11C 7C 9E 23 78 */ mr r30, r4 +/* 8011D1C0 0011A120 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8011D1C4 0011A124 7C 7D 1B 78 */ mr r29, r3 +/* 8011D1C8 0011A128 80 03 00 04 */ lwz r0, 4(r3) +/* 8011D1CC 0011A12C 7C 00 F0 00 */ cmpw r0, r30 +/* 8011D1D0 0011A130 41 82 00 F8 */ beq lbl_8011D2C8 +/* 8011D1D4 0011A134 7C 1E 00 00 */ cmpw r30, r0 +/* 8011D1D8 0011A138 40 81 00 B8 */ ble lbl_8011D290 +/* 8011D1DC 0011A13C 48 00 01 55 */ bl sub_8011d330 +/* 8011D1E0 0011A140 80 9D 00 04 */ lwz r4, 4(r29) +/* 8011D1E4 0011A144 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8011D1E8 0011A148 54 80 30 32 */ slwi r0, r4, 6 +/* 8011D1EC 0011A14C 7C 84 F0 51 */ subf. r4, r4, r30 +/* 8011D1F0 0011A150 7C 63 02 14 */ add r3, r3, r0 +/* 8011D1F4 0011A154 7C 89 03 A6 */ mtctr r4 +/* 8011D1F8 0011A158 40 81 00 CC */ ble lbl_8011D2C4 +lbl_8011D1FC: +/* 8011D1FC 0011A15C 28 03 00 00 */ cmplwi r3, 0 +/* 8011D200 0011A160 41 82 00 84 */ beq lbl_8011D284 +/* 8011D204 0011A164 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8011D208 0011A168 B0 03 00 00 */ sth r0, 0(r3) +/* 8011D20C 0011A16C C0 1F 00 04 */ lfs f0, 4(r31) +/* 8011D210 0011A170 D0 03 00 04 */ stfs f0, 4(r3) +/* 8011D214 0011A174 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8011D218 0011A178 D0 03 00 08 */ stfs f0, 8(r3) +/* 8011D21C 0011A17C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8011D220 0011A180 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8011D224 0011A184 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8011D228 0011A188 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8011D22C 0011A18C C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8011D230 0011A190 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8011D234 0011A194 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 8011D238 0011A198 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8011D23C 0011A19C C0 1F 00 1C */ lfs f0, 0x1c(r31) +/* 8011D240 0011A1A0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8011D244 0011A1A4 C0 1F 00 20 */ lfs f0, 0x20(r31) +/* 8011D248 0011A1A8 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8011D24C 0011A1AC C0 1F 00 24 */ lfs f0, 0x24(r31) +/* 8011D250 0011A1B0 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8011D254 0011A1B4 C0 1F 00 28 */ lfs f0, 0x28(r31) +/* 8011D258 0011A1B8 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 8011D25C 0011A1BC C0 1F 00 2C */ lfs f0, 0x2c(r31) +/* 8011D260 0011A1C0 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 8011D264 0011A1C4 C0 1F 00 30 */ lfs f0, 0x30(r31) +/* 8011D268 0011A1C8 D0 03 00 30 */ stfs f0, 0x30(r3) +/* 8011D26C 0011A1CC C0 1F 00 34 */ lfs f0, 0x34(r31) +/* 8011D270 0011A1D0 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 8011D274 0011A1D4 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8011D278 0011A1D8 D0 03 00 38 */ stfs f0, 0x38(r3) +/* 8011D27C 0011A1DC 80 1F 00 3C */ lwz r0, 0x3c(r31) +/* 8011D280 0011A1E0 90 03 00 3C */ stw r0, 0x3c(r3) +lbl_8011D284: +/* 8011D284 0011A1E4 38 63 00 40 */ addi r3, r3, 0x40 +/* 8011D288 0011A1E8 42 00 FF 74 */ bdnz lbl_8011D1FC +/* 8011D28C 0011A1EC 48 00 00 38 */ b lbl_8011D2C4 +lbl_8011D290: +/* 8011D290 0011A1F0 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 8011D294 0011A1F4 54 03 30 32 */ slwi r3, r0, 6 +/* 8011D298 0011A1F8 57 C0 30 32 */ slwi r0, r30, 6 +/* 8011D29C 0011A1FC 7C A4 02 14 */ add r5, r4, r0 +/* 8011D2A0 0011A200 7C 04 1A 14 */ add r0, r4, r3 +/* 8011D2A4 0011A204 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8011D2A8 0011A208 90 01 00 08 */ stw r0, 8(r1) +/* 8011D2AC 0011A20C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8011D2B0 0011A210 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8011D2B4 0011A214 48 00 00 08 */ b lbl_8011D2BC +lbl_8011D2B8: +/* 8011D2B8 0011A218 38 A5 00 40 */ addi r5, r5, 0x40 +lbl_8011D2BC: +/* 8011D2BC 0011A21C 7C 05 00 40 */ cmplw r5, r0 +/* 8011D2C0 0011A220 40 82 FF F8 */ bne lbl_8011D2B8 +lbl_8011D2C4: +/* 8011D2C4 0011A224 93 DD 00 04 */ stw r30, 4(r29) +lbl_8011D2C8: +/* 8011D2C8 0011A228 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011D2CC 0011A22C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011D2D0 0011A230 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8011D2D4 0011A234 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8011D2D8 0011A238 7C 08 03 A6 */ mtlr r0 +/* 8011D2DC 0011A23C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011D2E0 0011A240 4E 80 00 20 */ blr + +.global __ct__14CRippleManagerFif +__ct__14CRippleManagerFif: +/* 8011D2E4 0011A244 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011D2E8 0011A248 7C 08 02 A6 */ mflr r0 +/* 8011D2EC 0011A24C C0 02 97 40 */ lfs f0, lbl_805AB460@sda21(r2) +/* 8011D2F0 0011A250 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011D2F4 0011A254 38 00 00 00 */ li r0, 0 +/* 8011D2F8 0011A258 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011D2FC 0011A25C 7C 7F 1B 78 */ mr r31, r3 +/* 8011D300 0011A260 D0 03 00 00 */ stfs f0, 0(r3) +/* 8011D304 0011A264 90 03 00 08 */ stw r0, 8(r3) +/* 8011D308 0011A268 90 03 00 0C */ stw r0, 0xc(r3) +/* 8011D30C 0011A26C 90 03 00 10 */ stw r0, 0x10(r3) +/* 8011D310 0011A270 D0 23 00 14 */ stfs f1, 0x14(r3) +/* 8011D314 0011A274 4B FF FE 01 */ bl Init__14CRippleManagerFi +/* 8011D318 0011A278 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011D31C 0011A27C 7F E3 FB 78 */ mr r3, r31 +/* 8011D320 0011A280 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011D324 0011A284 7C 08 03 A6 */ mtlr r0 +/* 8011D328 0011A288 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011D32C 0011A28C 4E 80 00 20 */ blr + +.global sub_8011d330 +sub_8011d330: +/* 8011D330 0011A290 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011D334 0011A294 7C 08 02 A6 */ mflr r0 +/* 8011D338 0011A298 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011D33C 0011A29C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011D340 0011A2A0 7C 9F 23 78 */ mr r31, r4 +/* 8011D344 0011A2A4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8011D348 0011A2A8 7C 7E 1B 78 */ mr r30, r3 +/* 8011D34C 0011A2AC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8011D350 0011A2B0 80 03 00 08 */ lwz r0, 8(r3) +/* 8011D354 0011A2B4 7C 1F 00 00 */ cmpw r31, r0 +/* 8011D358 0011A2B8 40 81 00 94 */ ble lbl_8011D3EC +/* 8011D35C 0011A2BC 57 E3 30 33 */ rlwinm. r3, r31, 6, 0, 0x19 +/* 8011D360 0011A2C0 40 82 00 0C */ bne lbl_8011D36C +/* 8011D364 0011A2C4 3B A0 00 00 */ li r29, 0 +/* 8011D368 0011A2C8 48 00 00 18 */ b lbl_8011D380 +lbl_8011D36C: +/* 8011D36C 0011A2CC 3C 80 80 3D */ lis r4, lbl_803CF318@ha +/* 8011D370 0011A2D0 38 A0 00 00 */ li r5, 0 +/* 8011D374 0011A2D4 38 84 F3 18 */ addi r4, r4, lbl_803CF318@l +/* 8011D378 0011A2D8 48 1F 84 A1 */ bl __nwa__FUlPCcPCc +/* 8011D37C 0011A2DC 7C 7D 1B 78 */ mr r29, r3 +lbl_8011D380: +/* 8011D380 0011A2E0 80 1E 00 04 */ lwz r0, 4(r30) +/* 8011D384 0011A2E4 7F A5 EB 78 */ mr r5, r29 +/* 8011D388 0011A2E8 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8011D38C 0011A2EC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011D390 0011A2F0 54 00 30 32 */ slwi r0, r0, 6 +/* 8011D394 0011A2F4 38 81 00 0C */ addi r4, r1, 0xc +/* 8011D398 0011A2F8 7C C6 02 14 */ add r6, r6, r0 +/* 8011D39C 0011A2FC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8011D3A0 0011A300 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8011D3A4 0011A304 90 C1 00 08 */ stw r6, 8(r1) +/* 8011D3A8 0011A308 90 01 00 10 */ stw r0, 0x10(r1) +/* 8011D3AC 0011A30C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011D3B0 0011A310 48 00 00 59 */ bl sub_8011d408 +/* 8011D3B4 0011A314 80 1E 00 04 */ lwz r0, 4(r30) +/* 8011D3B8 0011A318 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8011D3BC 0011A31C 54 00 30 32 */ slwi r0, r0, 6 +/* 8011D3C0 0011A320 7C 64 1B 78 */ mr r4, r3 +/* 8011D3C4 0011A324 7C 03 02 14 */ add r0, r3, r0 +/* 8011D3C8 0011A328 48 00 00 08 */ b lbl_8011D3D0 +lbl_8011D3CC: +/* 8011D3CC 0011A32C 38 84 00 40 */ addi r4, r4, 0x40 +lbl_8011D3D0: +/* 8011D3D0 0011A330 7C 04 00 40 */ cmplw r4, r0 +/* 8011D3D4 0011A334 40 82 FF F8 */ bne lbl_8011D3CC +/* 8011D3D8 0011A338 28 03 00 00 */ cmplwi r3, 0 +/* 8011D3DC 0011A33C 41 82 00 08 */ beq lbl_8011D3E4 +/* 8011D3E0 0011A340 48 1F 85 51 */ bl Free__7CMemoryFPCv +lbl_8011D3E4: +/* 8011D3E4 0011A344 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8011D3E8 0011A348 93 FE 00 08 */ stw r31, 8(r30) +lbl_8011D3EC: +/* 8011D3EC 0011A34C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011D3F0 0011A350 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011D3F4 0011A354 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8011D3F8 0011A358 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8011D3FC 0011A35C 7C 08 03 A6 */ mtlr r0 +/* 8011D400 0011A360 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011D404 0011A364 4E 80 00 20 */ blr + +.global sub_8011d408 +sub_8011d408: +/* 8011D408 0011A368 80 63 00 00 */ lwz r3, 0(r3) +/* 8011D40C 0011A36C 48 00 00 94 */ b lbl_8011D4A0 +lbl_8011D410: +/* 8011D410 0011A370 28 05 00 00 */ cmplwi r5, 0 +/* 8011D414 0011A374 41 82 00 84 */ beq lbl_8011D498 +/* 8011D418 0011A378 A0 03 00 00 */ lhz r0, 0(r3) +/* 8011D41C 0011A37C B0 05 00 00 */ sth r0, 0(r5) +/* 8011D420 0011A380 C0 03 00 04 */ lfs f0, 4(r3) +/* 8011D424 0011A384 D0 05 00 04 */ stfs f0, 4(r5) +/* 8011D428 0011A388 C0 03 00 08 */ lfs f0, 8(r3) +/* 8011D42C 0011A38C D0 05 00 08 */ stfs f0, 8(r5) +/* 8011D430 0011A390 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8011D434 0011A394 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 8011D438 0011A398 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8011D43C 0011A39C D0 05 00 10 */ stfs f0, 0x10(r5) +/* 8011D440 0011A3A0 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8011D444 0011A3A4 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8011D448 0011A3A8 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8011D44C 0011A3AC D0 05 00 18 */ stfs f0, 0x18(r5) +/* 8011D450 0011A3B0 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8011D454 0011A3B4 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 8011D458 0011A3B8 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 8011D45C 0011A3BC D0 05 00 20 */ stfs f0, 0x20(r5) +/* 8011D460 0011A3C0 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 8011D464 0011A3C4 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 8011D468 0011A3C8 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8011D46C 0011A3CC D0 05 00 28 */ stfs f0, 0x28(r5) +/* 8011D470 0011A3D0 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 8011D474 0011A3D4 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 8011D478 0011A3D8 C0 03 00 30 */ lfs f0, 0x30(r3) +/* 8011D47C 0011A3DC D0 05 00 30 */ stfs f0, 0x30(r5) +/* 8011D480 0011A3E0 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 8011D484 0011A3E4 D0 05 00 34 */ stfs f0, 0x34(r5) +/* 8011D488 0011A3E8 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8011D48C 0011A3EC D0 05 00 38 */ stfs f0, 0x38(r5) +/* 8011D490 0011A3F0 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 8011D494 0011A3F4 90 05 00 3C */ stw r0, 0x3c(r5) +lbl_8011D498: +/* 8011D498 0011A3F8 38 A5 00 40 */ addi r5, r5, 0x40 +/* 8011D49C 0011A3FC 38 63 00 40 */ addi r3, r3, 0x40 +lbl_8011D4A0: +/* 8011D4A0 0011A400 80 04 00 00 */ lwz r0, 0(r4) +/* 8011D4A4 0011A404 7C 03 00 40 */ cmplw r3, r0 +/* 8011D4A8 0011A408 40 82 FF 68 */ bne lbl_8011D410 +/* 8011D4AC 0011A40C 7C A3 2B 78 */ mr r3, r5 +/* 8011D4B0 0011A410 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CSimpleShadow.s b/asm/Kyoto_CWD/CSimpleShadow.s new file mode 100644 index 00000000..4c8eafb5 --- /dev/null +++ b/asm/Kyoto_CWD/CSimpleShadow.s @@ -0,0 +1,624 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Valid__13CSimpleShadowCFv +Valid__13CSimpleShadowCFv: +/* 80105B00 00102A60 88 03 00 48 */ lbz r0, 0x48(r3) +/* 80105B04 00102A64 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 80105B08 00102A68 4E 80 00 20 */ blr + +.global GetMaxShadowBox__13CSimpleShadowCFRC6CAABox +GetMaxShadowBox__13CSimpleShadowCFRC6CAABox: +/* 80105B0C 00102A6C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80105B10 00102A70 7C 08 02 A6 */ mflr r0 +/* 80105B14 00102A74 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80105B18 00102A78 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 80105B1C 00102A7C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 80105B20 00102A80 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80105B24 00102A84 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80105B28 00102A88 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 80105B2C 00102A8C F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 80105B30 00102A90 DB 81 00 60 */ stfd f28, 0x60(r1) +/* 80105B34 00102A94 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 80105B38 00102A98 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80105B3C 00102A9C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80105B40 00102AA0 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80105B44 00102AA4 7C 9E 23 78 */ mr r30, r4 +/* 80105B48 00102AA8 7C BF 2B 78 */ mr r31, r5 +/* 80105B4C 00102AAC C0 24 00 34 */ lfs f1, 0x34(r4) +/* 80105B50 00102AB0 7C 7D 1B 78 */ mr r29, r3 +/* 80105B54 00102AB4 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 80105B58 00102AB8 7F E4 FB 78 */ mr r4, r31 +/* 80105B5C 00102ABC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80105B60 00102AC0 EF 81 00 32 */ fmuls f28, f1, f0 +/* 80105B64 00102AC4 48 23 1A A9 */ bl GetCenterPoint__6CAABoxCFv +/* 80105B68 00102AC8 C0 BF 00 00 */ lfs f5, 0(r31) +/* 80105B6C 00102ACC 7F C3 F3 78 */ mr r3, r30 +/* 80105B70 00102AD0 C0 9F 00 04 */ lfs f4, 4(r31) +/* 80105B74 00102AD4 C0 7F 00 08 */ lfs f3, 8(r31) +/* 80105B78 00102AD8 C0 5F 00 0C */ lfs f2, 0xc(r31) +/* 80105B7C 00102ADC C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80105B80 00102AE0 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80105B84 00102AE4 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 80105B88 00102AE8 C3 E1 00 20 */ lfs f31, 0x20(r1) +/* 80105B8C 00102AEC D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80105B90 00102AF0 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 80105B94 00102AF4 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80105B98 00102AF8 C3 A1 00 28 */ lfs f29, 0x28(r1) +/* 80105B9C 00102AFC D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80105BA0 00102B00 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80105BA4 00102B04 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80105BA8 00102B08 48 00 01 59 */ bl GetMaxObjectHeight__13CSimpleShadowCFv +/* 80105BAC 00102B0C FC 00 08 50 */ fneg f0, f1 +/* 80105BB0 00102B10 38 61 00 2C */ addi r3, r1, 0x2c +/* 80105BB4 00102B14 EC 5F E0 2A */ fadds f2, f31, f28 +/* 80105BB8 00102B18 38 81 00 14 */ addi r4, r1, 0x14 +/* 80105BBC 00102B1C EC 3E E0 2A */ fadds f1, f30, f28 +/* 80105BC0 00102B20 EC 1D 00 2A */ fadds f0, f29, f0 +/* 80105BC4 00102B24 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80105BC8 00102B28 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80105BCC 00102B2C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80105BD0 00102B30 48 23 1F 39 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80105BD4 00102B34 7F C3 F3 78 */ mr r3, r30 +/* 80105BD8 00102B38 48 00 01 29 */ bl GetMaxObjectHeight__13CSimpleShadowCFv +/* 80105BDC 00102B3C FC 60 E0 50 */ fneg f3, f28 +/* 80105BE0 00102B40 38 61 00 2C */ addi r3, r1, 0x2c +/* 80105BE4 00102B44 FC 00 08 50 */ fneg f0, f1 +/* 80105BE8 00102B48 38 81 00 08 */ addi r4, r1, 8 +/* 80105BEC 00102B4C EC 5F 18 2A */ fadds f2, f31, f3 +/* 80105BF0 00102B50 EC 3E 18 2A */ fadds f1, f30, f3 +/* 80105BF4 00102B54 EC 1D 00 2A */ fadds f0, f29, f0 +/* 80105BF8 00102B58 D0 41 00 08 */ stfs f2, 8(r1) +/* 80105BFC 00102B5C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80105C00 00102B60 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80105C04 00102B64 48 23 1F 05 */ bl AccumulateBounds__6CAABoxFRC9CVector3f +/* 80105C08 00102B68 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80105C0C 00102B6C D0 1D 00 00 */ stfs f0, 0(r29) +/* 80105C10 00102B70 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80105C14 00102B74 D0 1D 00 04 */ stfs f0, 4(r29) +/* 80105C18 00102B78 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80105C1C 00102B7C D0 1D 00 08 */ stfs f0, 8(r29) +/* 80105C20 00102B80 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80105C24 00102B84 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 80105C28 00102B88 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80105C2C 00102B8C D0 1D 00 10 */ stfs f0, 0x10(r29) +/* 80105C30 00102B90 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80105C34 00102B94 D0 1D 00 14 */ stfs f0, 0x14(r29) +/* 80105C38 00102B98 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 80105C3C 00102B9C CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80105C40 00102BA0 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80105C44 00102BA4 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80105C48 00102BA8 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 80105C4C 00102BAC CB A1 00 70 */ lfd f29, 0x70(r1) +/* 80105C50 00102BB0 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 80105C54 00102BB4 CB 81 00 60 */ lfd f28, 0x60(r1) +/* 80105C58 00102BB8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80105C5C 00102BBC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80105C60 00102BC0 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80105C64 00102BC4 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80105C68 00102BC8 7C 08 03 A6 */ mtlr r0 +/* 80105C6C 00102BCC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80105C70 00102BD0 4E 80 00 20 */ blr + +.global GetBounds__13CSimpleShadowCFv +GetBounds__13CSimpleShadowCFv: +/* 80105C74 00102BD4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80105C78 00102BD8 7C 08 02 A6 */ mflr r0 +/* 80105C7C 00102BDC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80105C80 00102BE0 38 A1 00 08 */ addi r5, r1, 8 +/* 80105C84 00102BE4 C0 24 00 34 */ lfs f1, 0x34(r4) +/* 80105C88 00102BE8 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 80105C8C 00102BEC C0 C4 00 2C */ lfs f6, 0x2c(r4) +/* 80105C90 00102BF0 EC E1 00 32 */ fmuls f7, f1, f0 +/* 80105C94 00102BF4 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 80105C98 00102BF8 C0 24 00 1C */ lfs f1, 0x1c(r4) +/* 80105C9C 00102BFC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80105CA0 00102C00 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80105CA4 00102C04 EC A1 38 2A */ fadds f5, f1, f7 +/* 80105CA8 00102C08 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80105CAC 00102C0C EC 86 38 2A */ fadds f4, f6, f7 +/* 80105CB0 00102C10 EC 60 38 2A */ fadds f3, f0, f7 +/* 80105CB4 00102C14 EC 40 38 28 */ fsubs f2, f0, f7 +/* 80105CB8 00102C18 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 80105CBC 00102C1C EC 21 38 28 */ fsubs f1, f1, f7 +/* 80105CC0 00102C20 EC 06 38 28 */ fsubs f0, f6, f7 +/* 80105CC4 00102C24 D0 61 00 08 */ stfs f3, 8(r1) +/* 80105CC8 00102C28 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80105CCC 00102C2C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80105CD0 00102C30 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80105CD4 00102C34 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80105CD8 00102C38 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80105CDC 00102C3C 48 23 28 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80105CE0 00102C40 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80105CE4 00102C44 7C 08 03 A6 */ mtlr r0 +/* 80105CE8 00102C48 38 21 00 30 */ addi r1, r1, 0x30 +/* 80105CEC 00102C4C 4E 80 00 20 */ blr + +.global sub_80105cf0 +sub_80105cf0: +/* 80105CF0 00102C50 88 03 00 48 */ lbz r0, 0x48(r3) +/* 80105CF4 00102C54 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80105CF8 00102C58 98 03 00 48 */ stb r0, 0x48(r3) +/* 80105CFC 00102C5C 4E 80 00 20 */ blr + +.global GetMaxObjectHeight__13CSimpleShadowCFv +GetMaxObjectHeight__13CSimpleShadowCFv: +/* 80105D00 00102C60 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 80105D04 00102C64 4E 80 00 20 */ blr + +.global SetUserAlpha__13CSimpleShadowFf +SetUserAlpha__13CSimpleShadowFf: +/* 80105D08 00102C68 D0 23 00 38 */ stfs f1, 0x38(r3) +/* 80105D0C 00102C6C 4E 80 00 20 */ blr + +.global GetTransform__13CSimpleShadowCFv +GetTransform__13CSimpleShadowCFv: +/* 80105D10 00102C70 4E 80 00 20 */ blr + +.global Render__13CSimpleShadowCFPC8CTexture +Render__13CSimpleShadowCFPC8CTexture: +/* 80105D14 00102C74 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80105D18 00102C78 7C 08 02 A6 */ mflr r0 +/* 80105D1C 00102C7C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80105D20 00102C80 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80105D24 00102C84 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80105D28 00102C88 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 80105D2C 00102C8C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 80105D30 00102C90 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80105D34 00102C94 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80105D38 00102C98 88 03 00 48 */ lbz r0, 0x48(r3) +/* 80105D3C 00102C9C 7C 7E 1B 78 */ mr r30, r3 +/* 80105D40 00102CA0 7C 9F 23 78 */ mr r31, r4 +/* 80105D44 00102CA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80105D48 00102CA8 41 82 01 58 */ beq lbl_80105EA0 +/* 80105D4C 00102CAC 48 20 6C 31 */ bl DisableAllLights__9CGraphicsFv +/* 80105D50 00102CB0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80105D54 00102CB4 7F C4 F3 78 */ mr r4, r30 +/* 80105D58 00102CB8 81 83 00 00 */ lwz r12, 0(r3) +/* 80105D5C 00102CBC 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80105D60 00102CC0 7D 89 03 A6 */ mtctr r12 +/* 80105D64 00102CC4 4E 80 04 21 */ bctrl +/* 80105D68 00102CC8 7F E3 FB 78 */ mr r3, r31 +/* 80105D6C 00102CCC 38 80 00 00 */ li r4, 0 +/* 80105D70 00102CD0 38 A0 00 01 */ li r5, 1 +/* 80105D74 00102CD4 48 20 99 C9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode +/* 80105D78 00102CD8 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80105D7C 00102CDC 38 60 00 00 */ li r3, 0 +/* 80105D80 00102CE0 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 80105D84 00102CE4 48 20 45 35 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80105D88 00102CE8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80105D8C 00102CEC 38 60 00 01 */ li r3, 1 +/* 80105D90 00102CF0 48 20 45 29 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80105D94 00102CF4 38 60 00 07 */ li r3, 7 +/* 80105D98 00102CF8 38 80 00 00 */ li r4, 0 +/* 80105D9C 00102CFC 38 A0 00 00 */ li r5, 0 +/* 80105DA0 00102D00 38 C0 00 07 */ li r6, 7 +/* 80105DA4 00102D04 38 E0 00 00 */ li r7, 0 +/* 80105DA8 00102D08 48 20 5C 81 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80105DAC 00102D0C 38 60 00 01 */ li r3, 1 +/* 80105DB0 00102D10 38 80 00 03 */ li r4, 3 +/* 80105DB4 00102D14 38 A0 00 00 */ li r5, 0 +/* 80105DB8 00102D18 48 20 5C DD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80105DBC 00102D1C 38 60 00 01 */ li r3, 1 +/* 80105DC0 00102D20 38 80 00 04 */ li r4, 4 +/* 80105DC4 00102D24 38 A0 00 05 */ li r5, 5 +/* 80105DC8 00102D28 38 C0 00 00 */ li r6, 0 +/* 80105DCC 00102D2C 48 20 5C 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80105DD0 00102D30 C0 3E 00 34 */ lfs f1, 0x34(r30) +/* 80105DD4 00102D34 38 60 00 80 */ li r3, 0x80 +/* 80105DD8 00102D38 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 80105DDC 00102D3C EF C1 00 32 */ fmuls f30, f1, f0 +/* 80105DE0 00102D40 48 20 58 89 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 80105DE4 00102D44 C0 3E 00 3C */ lfs f1, 0x3c(r30) +/* 80105DE8 00102D48 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 80105DEC 00102D4C C0 42 94 50 */ lfs f2, lbl_805AB170@sda21(r2) +/* 80105DF0 00102D50 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80105DF4 00102D54 EF E2 00 32 */ fmuls f31, f2, f0 +/* 80105DF8 00102D58 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80105DFC 00102D5C 88 61 00 08 */ lbz r3, 8(r1) +/* 80105E00 00102D60 38 63 FF 00 */ addi r3, r3, -256 +/* 80105E04 00102D64 48 20 57 69 */ bl StreamColor__9CGraphicsFUi +/* 80105E08 00102D68 C0 22 94 54 */ lfs f1, lbl_805AB174@sda21(r2) +/* 80105E0C 00102D6C FC 40 08 90 */ fmr f2, f1 +/* 80105E10 00102D70 48 20 56 55 */ bl StreamTexcoord__9CGraphicsFff +/* 80105E14 00102D74 FF E0 F0 50 */ fneg f31, f30 +/* 80105E18 00102D78 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) +/* 80105E1C 00102D7C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80105E20 00102D80 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80105E24 00102D84 D3 E1 00 30 */ stfs f31, 0x30(r1) +/* 80105E28 00102D88 D3 E1 00 38 */ stfs f31, 0x38(r1) +/* 80105E2C 00102D8C 48 20 57 95 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80105E30 00102D90 C0 22 94 54 */ lfs f1, lbl_805AB174@sda21(r2) +/* 80105E34 00102D94 C0 42 94 58 */ lfs f2, lbl_805AB178@sda21(r2) +/* 80105E38 00102D98 48 20 56 2D */ bl StreamTexcoord__9CGraphicsFff +/* 80105E3C 00102D9C C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) +/* 80105E40 00102DA0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80105E44 00102DA4 D3 C1 00 24 */ stfs f30, 0x24(r1) +/* 80105E48 00102DA8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80105E4C 00102DAC D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 80105E50 00102DB0 48 20 57 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80105E54 00102DB4 C0 22 94 58 */ lfs f1, lbl_805AB178@sda21(r2) +/* 80105E58 00102DB8 FC 40 08 90 */ fmr f2, f1 +/* 80105E5C 00102DBC 48 20 56 09 */ bl StreamTexcoord__9CGraphicsFff +/* 80105E60 00102DC0 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) +/* 80105E64 00102DC4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80105E68 00102DC8 D3 C1 00 18 */ stfs f30, 0x18(r1) +/* 80105E6C 00102DCC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80105E70 00102DD0 D3 C1 00 20 */ stfs f30, 0x20(r1) +/* 80105E74 00102DD4 48 20 57 4D */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80105E78 00102DD8 C0 22 94 58 */ lfs f1, lbl_805AB178@sda21(r2) +/* 80105E7C 00102DDC C0 42 94 54 */ lfs f2, lbl_805AB174@sda21(r2) +/* 80105E80 00102DE0 48 20 55 E5 */ bl StreamTexcoord__9CGraphicsFff +/* 80105E84 00102DE4 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) +/* 80105E88 00102DE8 38 61 00 0C */ addi r3, r1, 0xc +/* 80105E8C 00102DEC D3 E1 00 0C */ stfs f31, 0xc(r1) +/* 80105E90 00102DF0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80105E94 00102DF4 D3 C1 00 14 */ stfs f30, 0x14(r1) +/* 80105E98 00102DF8 48 20 57 29 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80105E9C 00102DFC 48 20 55 75 */ bl StreamEnd__9CGraphicsFv +lbl_80105EA0: +/* 80105EA0 00102E00 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80105EA4 00102E04 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80105EA8 00102E08 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 80105EAC 00102E0C CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80105EB0 00102E10 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80105EB4 00102E14 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80105EB8 00102E18 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80105EBC 00102E1C 7C 08 03 A6 */ mtlr r0 +/* 80105EC0 00102E20 38 21 00 70 */ addi r1, r1, 0x70 +/* 80105EC4 00102E24 4E 80 00 20 */ blr + +.global Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager +Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager: +/* 80105EC8 00102E28 94 21 F6 50 */ stwu r1, -0x9b0(r1) +/* 80105ECC 00102E2C 7C 08 02 A6 */ mflr r0 +/* 80105ED0 00102E30 90 01 09 B4 */ stw r0, 0x9b4(r1) +/* 80105ED4 00102E34 DB E1 09 A0 */ stfd f31, 0x9a0(r1) +/* 80105ED8 00102E38 F3 E1 09 A8 */ psq_st f31, -1624(r1), 0, qr0 +/* 80105EDC 00102E3C DB C1 09 90 */ stfd f30, 0x990(r1) +/* 80105EE0 00102E40 F3 C1 09 98 */ psq_st f30, -1640(r1), 0, qr0 +/* 80105EE4 00102E44 DB A1 09 80 */ stfd f29, 0x980(r1) +/* 80105EE8 00102E48 F3 A1 09 88 */ psq_st f29, -1656(r1), 0, qr0 +/* 80105EEC 00102E4C DB 81 09 70 */ stfd f28, 0x970(r1) +/* 80105EF0 00102E50 F3 81 09 78 */ psq_st f28, -1672(r1), 0, qr0 +/* 80105EF4 00102E54 93 E1 09 6C */ stw r31, 0x96c(r1) +/* 80105EF8 00102E58 93 C1 09 68 */ stw r30, 0x968(r1) +/* 80105EFC 00102E5C 7C 7E 1B 78 */ mr r30, r3 +/* 80105F00 00102E60 38 60 00 00 */ li r3, 0 +/* 80105F04 00102E64 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 80105F08 00102E68 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80105F0C 00102E6C C0 82 94 5C */ lfs f4, lbl_805AB17C@sda21(r2) +/* 80105F10 00102E70 7C DF 33 78 */ mr r31, r6 +/* 80105F14 00102E74 98 1E 00 48 */ stb r0, 0x48(r30) +/* 80105F18 00102E78 38 60 00 00 */ li r3, 0 +/* 80105F1C 00102E7C C0 62 94 54 */ lfs f3, lbl_805AB174@sda21(r2) +/* 80105F20 00102E80 C0 44 00 14 */ lfs f2, 0x14(r4) +/* 80105F24 00102E84 C0 24 00 08 */ lfs f1, 8(r4) +/* 80105F28 00102E88 C0 05 00 1C */ lfs f0, 0x1c(r5) +/* 80105F2C 00102E8C EC A2 08 28 */ fsubs f5, f2, f1 +/* 80105F30 00102E90 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 80105F34 00102E94 ED 00 18 2A */ fadds f8, f0, f3 +/* 80105F38 00102E98 C0 45 00 2C */ lfs f2, 0x2c(r5) +/* 80105F3C 00102E9C EC 21 18 2A */ fadds f1, f1, f3 +/* 80105F40 00102EA0 C0 02 94 60 */ lfs f0, lbl_805AB180@sda21(r2) +/* 80105F44 00102EA4 EF A5 01 32 */ fmuls f29, f5, f4 +/* 80105F48 00102EA8 C0 C4 00 0C */ lfs f6, 0xc(r4) +/* 80105F4C 00102EAC C0 A4 00 00 */ lfs f5, 0(r4) +/* 80105F50 00102EB0 C0 84 00 10 */ lfs f4, 0x10(r4) +/* 80105F54 00102EB4 EC E2 E8 2A */ fadds f7, f2, f29 +/* 80105F58 00102EB8 C0 44 00 04 */ lfs f2, 4(r4) +/* 80105F5C 00102EBC EF C6 28 28 */ fsubs f30, f6, f5 +/* 80105F60 00102EC0 80 AD 89 B8 */ lwz r5, lbl_805A7578@sda21(r13) +/* 80105F64 00102EC4 EF E4 10 28 */ fsubs f31, f4, f2 +/* 80105F68 00102EC8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80105F6C 00102ECC D1 01 00 2C */ stfs f8, 0x2c(r1) +/* 80105F70 00102ED0 38 80 00 01 */ li r4, 1 +/* 80105F74 00102ED4 D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 80105F78 00102ED8 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80105F7C 00102EDC D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80105F80 00102EE0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80105F84 00102EE4 48 28 3F 71 */ bl __shl2i +/* 80105F88 00102EE8 39 20 FF FF */ li r9, -1 +/* 80105F8C 00102EEC 39 00 00 00 */ li r8, 0 +/* 80105F90 00102EF0 38 00 00 02 */ li r0, 2 +/* 80105F94 00102EF4 90 81 00 5C */ stw r4, 0x5c(r1) +/* 80105F98 00102EF8 7F E4 FB 78 */ mr r4, r31 +/* 80105F9C 00102EFC 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80105FA0 00102F00 90 61 00 58 */ stw r3, 0x58(r1) +/* 80105FA4 00102F04 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80105FA8 00102F08 38 C1 00 1C */ addi r6, r1, 0x1c +/* 80105FAC 00102F0C 38 E1 00 50 */ addi r7, r1, 0x50 +/* 80105FB0 00102F10 91 21 00 54 */ stw r9, 0x54(r1) +/* 80105FB4 00102F14 91 01 00 50 */ stw r8, 0x50(r1) +/* 80105FB8 00102F18 90 01 00 60 */ stw r0, 0x60(r1) +/* 80105FBC 00102F1C C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80105FC0 00102F20 4B F4 6F D9 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80105FC4 00102F24 88 81 00 E8 */ lbz r4, 0xe8(r1) +/* 80105FC8 00102F28 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 80105FCC 00102F2C 28 04 00 00 */ cmplwi r4, 0 +/* 80105FD0 00102F30 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80105FD4 00102F34 C0 61 00 D0 */ lfs f3, 0xd0(r1) +/* 80105FD8 00102F38 C0 81 00 D4 */ lfs f4, 0xd4(r1) +/* 80105FDC 00102F3C C0 A1 00 D8 */ lfs f5, 0xd8(r1) +/* 80105FE0 00102F40 C0 C1 00 DC */ lfs f6, 0xdc(r1) +/* 80105FE4 00102F44 C0 E1 00 E0 */ lfs f7, 0xe0(r1) +/* 80105FE8 00102F48 C1 01 00 E4 */ lfs f8, 0xe4(r1) +/* 80105FEC 00102F4C 80 A1 00 F0 */ lwz r5, 0xf0(r1) +/* 80105FF0 00102F50 80 C1 00 F4 */ lwz r6, 0xf4(r1) +/* 80105FF4 00102F54 C3 9E 00 40 */ lfs f28, 0x40(r30) +/* 80105FF8 00102F58 41 82 00 18 */ beq lbl_80106010 +/* 80105FFC 00102F5C 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 80106000 00102F60 38 60 00 01 */ li r3, 1 +/* 80106004 00102F64 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80106008 00102F68 FF 80 08 90 */ fmr f28, f1 +/* 8010600C 00102F6C 98 1E 00 48 */ stb r0, 0x48(r30) +lbl_80106010: +/* 80106010 00102F70 C0 02 94 64 */ lfs f0, lbl_805AB184@sda21(r2) +/* 80106014 00102F74 D0 21 01 28 */ stfs f1, 0x128(r1) +/* 80106018 00102F78 EC 00 E8 2A */ fadds f0, f0, f29 +/* 8010601C 00102F7C D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 80106020 00102F80 FC 1C 00 40 */ fcmpo cr0, f28, f0 +/* 80106024 00102F84 D0 61 01 30 */ stfs f3, 0x130(r1) +/* 80106028 00102F88 D0 81 01 34 */ stfs f4, 0x134(r1) +/* 8010602C 00102F8C D0 A1 01 38 */ stfs f5, 0x138(r1) +/* 80106030 00102F90 D0 C1 01 3C */ stfs f6, 0x13c(r1) +/* 80106034 00102F94 D0 E1 01 40 */ stfs f7, 0x140(r1) +/* 80106038 00102F98 D1 01 01 44 */ stfs f8, 0x144(r1) +/* 8010603C 00102F9C 98 81 01 48 */ stb r4, 0x148(r1) +/* 80106040 00102FA0 90 C1 01 54 */ stw r6, 0x154(r1) +/* 80106044 00102FA4 90 A1 01 50 */ stw r5, 0x150(r1) +/* 80106048 00102FA8 40 81 01 90 */ ble lbl_801061D8 +/* 8010604C 00102FAC 38 00 00 00 */ li r0, 0 +/* 80106050 00102FB0 80 AD 89 BC */ lwz r5, lbl_805A757C@sda21(r13) +/* 80106054 00102FB4 90 01 01 58 */ stw r0, 0x158(r1) +/* 80106058 00102FB8 38 60 00 00 */ li r3, 0 +/* 8010605C 00102FBC 38 80 00 01 */ li r4, 1 +/* 80106060 00102FC0 48 28 3E 95 */ bl __shl2i +/* 80106064 00102FC4 39 20 00 00 */ li r9, 0 +/* 80106068 00102FC8 38 00 00 01 */ li r0, 1 +/* 8010606C 00102FCC 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80106070 00102FD0 38 81 01 58 */ addi r4, r1, 0x158 +/* 80106074 00102FD4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80106078 00102FD8 38 C1 00 1C */ addi r6, r1, 0x1c +/* 8010607C 00102FDC 90 61 00 38 */ stw r3, 0x38(r1) +/* 80106080 00102FE0 7F E3 FB 78 */ mr r3, r31 +/* 80106084 00102FE4 38 E1 00 38 */ addi r7, r1, 0x38 +/* 80106088 00102FE8 39 00 00 00 */ li r8, 0 +/* 8010608C 00102FEC 91 21 00 44 */ stw r9, 0x44(r1) +/* 80106090 00102FF0 91 21 00 40 */ stw r9, 0x40(r1) +/* 80106094 00102FF4 90 01 00 48 */ stw r0, 0x48(r1) +/* 80106098 00102FF8 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8010609C 00102FFC 4B F4 66 3D */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" +/* 801060A0 00103000 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801060A4 00103004 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 801060A8 00103008 39 03 FD 18 */ addi r8, r3, lbl_8059FD18@l +/* 801060AC 0010300C 7F E4 FB 78 */ mr r4, r31 +/* 801060B0 00103010 B0 01 00 08 */ sth r0, 8(r1) +/* 801060B4 00103014 38 61 00 98 */ addi r3, r1, 0x98 +/* 801060B8 00103018 38 A1 00 08 */ addi r5, r1, 8 +/* 801060BC 0010301C 38 C1 00 28 */ addi r6, r1, 0x28 +/* 801060C0 00103020 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 801060C4 00103024 38 E1 00 1C */ addi r7, r1, 0x1c +/* 801060C8 00103028 39 21 01 58 */ addi r9, r1, 0x158 +/* 801060CC 0010302C 48 07 ED A1 */ bl "RayDynamicIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 801060D0 00103030 88 E1 00 B8 */ lbz r7, 0xb8(r1) +/* 801060D4 00103034 C0 E1 00 98 */ lfs f7, 0x98(r1) +/* 801060D8 00103038 54 E0 06 3F */ clrlwi. r0, r7, 0x18 +/* 801060DC 0010303C C0 C1 00 9C */ lfs f6, 0x9c(r1) +/* 801060E0 00103040 C0 A1 00 A0 */ lfs f5, 0xa0(r1) +/* 801060E4 00103044 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 801060E8 00103048 C0 81 00 A8 */ lfs f4, 0xa8(r1) +/* 801060EC 0010304C C0 61 00 AC */ lfs f3, 0xac(r1) +/* 801060F0 00103050 C0 41 00 B0 */ lfs f2, 0xb0(r1) +/* 801060F4 00103054 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 801060F8 00103058 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 801060FC 0010305C 80 61 00 C4 */ lwz r3, 0xc4(r1) +/* 80106100 00103060 D0 E1 00 F8 */ stfs f7, 0xf8(r1) +/* 80106104 00103064 D0 C1 00 FC */ stfs f6, 0xfc(r1) +/* 80106108 00103068 D0 A1 01 00 */ stfs f5, 0x100(r1) +/* 8010610C 0010306C D0 01 01 04 */ stfs f0, 0x104(r1) +/* 80106110 00103070 D0 81 01 08 */ stfs f4, 0x108(r1) +/* 80106114 00103074 D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 80106118 00103078 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 8010611C 0010307C D0 21 01 14 */ stfs f1, 0x114(r1) +/* 80106120 00103080 98 E1 01 18 */ stb r7, 0x118(r1) +/* 80106124 00103084 90 61 01 24 */ stw r3, 0x124(r1) +/* 80106128 00103088 90 01 01 20 */ stw r0, 0x120(r1) +/* 8010612C 0010308C 41 82 00 58 */ beq lbl_80106184 +/* 80106130 00103090 FC 07 E0 40 */ fcmpo cr0, f7, f28 +/* 80106134 00103094 40 80 00 50 */ bge lbl_80106184 +/* 80106138 00103098 80 C1 00 FC */ lwz r6, 0xfc(r1) +/* 8010613C 0010309C 38 60 00 01 */ li r3, 1 +/* 80106140 001030A0 80 A1 01 00 */ lwz r5, 0x100(r1) +/* 80106144 001030A4 FF 80 38 90 */ fmr f28, f7 +/* 80106148 001030A8 80 81 01 04 */ lwz r4, 0x104(r1) +/* 8010614C 001030AC C8 01 01 20 */ lfd f0, 0x120(r1) +/* 80106150 001030B0 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 80106154 001030B4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80106158 001030B8 D0 E1 01 28 */ stfs f7, 0x128(r1) +/* 8010615C 001030BC 90 C1 01 2C */ stw r6, 0x12c(r1) +/* 80106160 001030C0 90 A1 01 30 */ stw r5, 0x130(r1) +/* 80106164 001030C4 90 81 01 34 */ stw r4, 0x134(r1) +/* 80106168 001030C8 D0 81 01 38 */ stfs f4, 0x138(r1) +/* 8010616C 001030CC D0 61 01 3C */ stfs f3, 0x13c(r1) +/* 80106170 001030D0 D0 41 01 40 */ stfs f2, 0x140(r1) +/* 80106174 001030D4 D0 21 01 44 */ stfs f1, 0x144(r1) +/* 80106178 001030D8 98 E1 01 48 */ stb r7, 0x148(r1) +/* 8010617C 001030DC D8 01 01 50 */ stfd f0, 0x150(r1) +/* 80106180 001030E0 98 1E 00 48 */ stb r0, 0x48(r30) +lbl_80106184: +/* 80106184 001030E4 80 A1 01 58 */ lwz r5, 0x158(r1) +/* 80106188 001030E8 38 60 00 00 */ li r3, 0 +/* 8010618C 001030EC 2C 05 00 00 */ cmpwi r5, 0 +/* 80106190 001030F0 40 81 00 40 */ ble lbl_801061D0 +/* 80106194 001030F4 2C 05 00 08 */ cmpwi r5, 8 +/* 80106198 001030F8 38 85 FF F8 */ addi r4, r5, -8 +/* 8010619C 001030FC 40 81 00 20 */ ble lbl_801061BC +/* 801061A0 00103100 38 04 00 07 */ addi r0, r4, 7 +/* 801061A4 00103104 54 00 E8 FE */ srwi r0, r0, 3 +/* 801061A8 00103108 7C 09 03 A6 */ mtctr r0 +/* 801061AC 0010310C 2C 04 00 00 */ cmpwi r4, 0 +/* 801061B0 00103110 40 81 00 0C */ ble lbl_801061BC +lbl_801061B4: +/* 801061B4 00103114 38 63 00 08 */ addi r3, r3, 8 +/* 801061B8 00103118 42 00 FF FC */ bdnz lbl_801061B4 +lbl_801061BC: +/* 801061BC 0010311C 7C 03 28 50 */ subf r0, r3, r5 +/* 801061C0 00103120 7C 09 03 A6 */ mtctr r0 +/* 801061C4 00103124 7C 03 28 00 */ cmpw r3, r5 +/* 801061C8 00103128 40 80 00 08 */ bge lbl_801061D0 +lbl_801061CC: +/* 801061CC 0010312C 42 00 00 00 */ bdnz lbl_801061CC +lbl_801061D0: +/* 801061D0 00103130 38 00 00 00 */ li r0, 0 +/* 801061D4 00103134 90 01 01 58 */ stw r0, 0x158(r1) +lbl_801061D8: +/* 801061D8 00103138 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 801061DC 0010313C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801061E0 00103140 41 82 01 28 */ beq lbl_80106308 +/* 801061E4 00103144 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 801061E8 00103148 3C 80 80 5A */ lis r4, skZero3f@ha +/* 801061EC 0010314C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 801061F0 00103150 C0 62 94 58 */ lfs f3, lbl_805AB178@sda21(r2) +/* 801061F4 00103154 EC 1C 00 24 */ fdivs f0, f28, f0 +/* 801061F8 00103158 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 801061FC 0010315C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80106200 00103160 C0 41 01 38 */ lfs f2, 0x138(r1) +/* 80106204 00103164 C0 21 01 3C */ lfs f1, 0x13c(r1) +/* 80106208 00103168 38 61 00 68 */ addi r3, r1, 0x68 +/* 8010620C 0010316C EC 63 00 28 */ fsubs f3, f3, f0 +/* 80106210 00103170 C0 01 01 40 */ lfs f0, 0x140(r1) +/* 80106214 00103174 38 81 00 10 */ addi r4, r1, 0x10 +/* 80106218 00103178 D0 7E 00 3C */ stfs f3, 0x3c(r30) +/* 8010621C 0010317C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80106220 00103180 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80106224 00103184 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80106228 00103188 48 20 D8 E9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8010622C 0010318C 7F C3 F3 78 */ mr r3, r30 +/* 80106230 00103190 38 81 00 68 */ addi r4, r1, 0x68 +/* 80106234 00103194 48 20 C9 0D */ bl __as__12CTransform4fFRC12CTransform4f +/* 80106238 00103198 C0 BE 00 44 */ lfs f5, 0x44(r30) +/* 8010623C 0010319C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80106240 001031A0 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 80106244 001031A4 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80106248 001031A8 C0 21 01 2C */ lfs f1, 0x12c(r1) +/* 8010624C 001031AC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80106250 001031B0 EC 65 00 F2 */ fmuls f3, f5, f3 +/* 80106254 001031B4 C0 81 01 30 */ lfs f4, 0x130(r1) +/* 80106258 001031B8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8010625C 001031BC EC 25 00 B2 */ fmuls f1, f5, f2 +/* 80106260 001031C0 C0 41 01 34 */ lfs f2, 0x134(r1) +/* 80106264 001031C4 EC 64 18 2A */ fadds f3, f4, f3 +/* 80106268 001031C8 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8010626C 001031CC EC 02 08 2A */ fadds f0, f2, f1 +/* 80106270 001031D0 D0 7E 00 1C */ stfs f3, 0x1c(r30) +/* 80106274 001031D4 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 80106278 001031D8 88 7E 00 48 */ lbz r3, 0x48(r30) +/* 8010627C 001031DC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80106280 001031E0 40 82 00 0C */ bne lbl_8010628C +/* 80106284 001031E4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 80106288 001031E8 40 82 00 80 */ bne lbl_80106308 +lbl_8010628C: +/* 8010628C 001031EC EC 3F 07 F2 */ fmuls f1, f31, f31 +/* 80106290 001031F0 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) +/* 80106294 001031F4 EC 9E 0F BA */ fmadds f4, f30, f30, f1 +/* 80106298 001031F8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 8010629C 001031FC 40 81 00 50 */ ble lbl_801062EC +/* 801062A0 00103200 FC 20 20 34 */ frsqrte f1, f4 +/* 801062A4 00103204 C8 62 94 68 */ lfd f3, lbl_805AB188@sda21(r2) +/* 801062A8 00103208 C8 42 94 70 */ lfd f2, lbl_805AB190@sda21(r2) +/* 801062AC 0010320C FC 01 00 72 */ fmul f0, f1, f1 +/* 801062B0 00103210 FC 23 00 72 */ fmul f1, f3, f1 +/* 801062B4 00103214 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 801062B8 00103218 FC 21 00 32 */ fmul f1, f1, f0 +/* 801062BC 0010321C FC 01 00 72 */ fmul f0, f1, f1 +/* 801062C0 00103220 FC 23 00 72 */ fmul f1, f3, f1 +/* 801062C4 00103224 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 801062C8 00103228 FC 21 00 32 */ fmul f1, f1, f0 +/* 801062CC 0010322C FC 01 00 72 */ fmul f0, f1, f1 +/* 801062D0 00103230 FC 23 00 72 */ fmul f1, f3, f1 +/* 801062D4 00103234 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 801062D8 00103238 FC 01 00 32 */ fmul f0, f1, f0 +/* 801062DC 0010323C FC 04 00 32 */ fmul f0, f4, f0 +/* 801062E0 00103240 FC 00 00 18 */ frsp f0, f0 +/* 801062E4 00103244 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 801062E8 00103248 C0 81 00 0C */ lfs f4, 0xc(r1) +lbl_801062EC: +/* 801062EC 0010324C C0 02 94 5C */ lfs f0, lbl_805AB17C@sda21(r2) +/* 801062F0 00103250 38 60 00 01 */ li r3, 1 +/* 801062F4 00103254 EC 04 00 32 */ fmuls f0, f4, f0 +/* 801062F8 00103258 D0 1E 00 34 */ stfs f0, 0x34(r30) +/* 801062FC 0010325C 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 80106300 00103260 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80106304 00103264 98 1E 00 48 */ stb r0, 0x48(r30) +lbl_80106308: +/* 80106308 00103268 E3 E1 09 A8 */ psq_l f31, -1624(r1), 0, qr0 +/* 8010630C 0010326C CB E1 09 A0 */ lfd f31, 0x9a0(r1) +/* 80106310 00103270 E3 C1 09 98 */ psq_l f30, -1640(r1), 0, qr0 +/* 80106314 00103274 CB C1 09 90 */ lfd f30, 0x990(r1) +/* 80106318 00103278 E3 A1 09 88 */ psq_l f29, -1656(r1), 0, qr0 +/* 8010631C 0010327C CB A1 09 80 */ lfd f29, 0x980(r1) +/* 80106320 00103280 E3 81 09 78 */ psq_l f28, -1672(r1), 0, qr0 +/* 80106324 00103284 CB 81 09 70 */ lfd f28, 0x970(r1) +/* 80106328 00103288 83 E1 09 6C */ lwz r31, 0x96c(r1) +/* 8010632C 0010328C 80 01 09 B4 */ lwz r0, 0x9b4(r1) +/* 80106330 00103290 83 C1 09 68 */ lwz r30, 0x968(r1) +/* 80106334 00103294 7C 08 03 A6 */ mtlr r0 +/* 80106338 00103298 38 21 09 B0 */ addi r1, r1, 0x9b0 +/* 8010633C 0010329C 4E 80 00 20 */ blr + +.global __ct__13CSimpleShadowFffff +__ct__13CSimpleShadowFffff: +/* 80106340 001032A0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80106344 001032A4 7C 08 02 A6 */ mflr r0 +/* 80106348 001032A8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8010634C 001032AC DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80106350 001032B0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80106354 001032B4 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80106358 001032B8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 8010635C 001032BC DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80106360 001032C0 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80106364 001032C4 DB 81 00 10 */ stfd f28, 0x10(r1) +/* 80106368 001032C8 F3 81 00 18 */ psq_st f28, 24(r1), 0, qr0 +/* 8010636C 001032CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80106370 001032D0 FF 80 08 90 */ fmr f28, f1 +/* 80106374 001032D4 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80106378 001032D8 FF A0 10 90 */ fmr f29, f2 +/* 8010637C 001032DC 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80106380 001032E0 FF C0 18 90 */ fmr f30, f3 +/* 80106384 001032E4 7C 7F 1B 78 */ mr r31, r3 +/* 80106388 001032E8 FF E0 20 90 */ fmr f31, f4 +/* 8010638C 001032EC 48 20 C7 E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80106390 001032F0 D3 9F 00 30 */ stfs f28, 0x30(r31) +/* 80106394 001032F4 38 A0 00 00 */ li r5, 0 +/* 80106398 001032F8 C0 02 94 58 */ lfs f0, lbl_805AB178@sda21(r2) +/* 8010639C 001032FC 38 80 00 01 */ li r4, 1 +/* 801063A0 00103300 7F E3 FB 78 */ mr r3, r31 +/* 801063A4 00103304 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 801063A8 00103308 D3 BF 00 38 */ stfs f29, 0x38(r31) +/* 801063AC 0010330C D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 801063B0 00103310 D3 DF 00 40 */ stfs f30, 0x40(r31) +/* 801063B4 00103314 D3 FF 00 44 */ stfs f31, 0x44(r31) +/* 801063B8 00103318 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 801063BC 0010331C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 801063C0 00103320 98 1F 00 48 */ stb r0, 0x48(r31) +/* 801063C4 00103324 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 801063C8 00103328 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 801063CC 0010332C 98 1F 00 48 */ stb r0, 0x48(r31) +/* 801063D0 00103330 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 801063D4 00103334 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 801063D8 00103338 98 1F 00 48 */ stb r0, 0x48(r31) +/* 801063DC 0010333C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 801063E0 00103340 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 801063E4 00103344 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 801063E8 00103348 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 801063EC 0010334C E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 801063F0 00103350 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 801063F4 00103354 E3 81 00 18 */ psq_l f28, 24(r1), 0, qr0 +/* 801063F8 00103358 CB 81 00 10 */ lfd f28, 0x10(r1) +/* 801063FC 0010335C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80106400 00103360 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80106404 00103364 7C 08 03 A6 */ mtlr r0 +/* 80106408 00103368 38 21 00 50 */ addi r1, r1, 0x50 +/* 8010640C 0010336C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CSortedLists.s b/asm/Kyoto_CWD/CSortedLists.s new file mode 100644 index 00000000..bbb8ee63 --- /dev/null +++ b/asm/Kyoto_CWD/CSortedLists.s @@ -0,0 +1,1550 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" +"BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor": +/* 801495D4 00146534 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 801495D8 00146538 7C 08 02 A6 */ mflr r0 +/* 801495DC 0014653C C0 02 9C DC */ lfs f0, lbl_805AB9FC@sda21(r2) +/* 801495E0 00146540 90 01 00 54 */ stw r0, 0x54(r1) +/* 801495E4 00146544 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 801495E8 00146548 41 82 00 08 */ beq lbl_801495F0 +/* 801495EC 0014654C 48 00 00 08 */ b lbl_801495F4 +lbl_801495F0: +/* 801495F0 00146550 C0 22 9C D8 */ lfs f1, lbl_805AB9F8@sda21(r2) +lbl_801495F4: +/* 801495F4 00146554 C0 06 00 08 */ lfs f0, 8(r6) +/* 801495F8 00146558 C0 86 00 00 */ lfs f4, 0(r6) +/* 801495FC 0014655C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80149600 00146560 C0 45 00 08 */ lfs f2, 8(r5) +/* 80149604 00146564 C0 66 00 04 */ lfs f3, 4(r6) +/* 80149608 00146568 EC 81 01 32 */ fmuls f4, f1, f4 +/* 8014960C 0014656C C0 A5 00 00 */ lfs f5, 0(r5) +/* 80149610 00146570 EC C2 00 2A */ fadds f6, f2, f0 +/* 80149614 00146574 EC 01 00 F2 */ fmuls f0, f1, f3 +/* 80149618 00146578 C0 25 00 04 */ lfs f1, 4(r5) +/* 8014961C 0014657C EC E5 20 2A */ fadds f7, f5, f4 +/* 80149620 00146580 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80149624 00146584 FC 02 30 40 */ fcmpo cr0, f2, f6 +/* 80149628 00146588 EC 01 00 2A */ fadds f0, f1, f0 +/* 8014962C 0014658C D0 C1 00 08 */ stfs f6, 8(r1) +/* 80149630 00146590 40 80 00 0C */ bge lbl_8014963C +/* 80149634 00146594 38 C1 00 08 */ addi r6, r1, 8 +/* 80149638 00146598 48 00 00 08 */ b lbl_80149640 +lbl_8014963C: +/* 8014963C 0014659C 38 C1 00 0C */ addi r6, r1, 0xc +lbl_80149640: +/* 80149640 001465A0 C0 25 00 04 */ lfs f1, 4(r5) +/* 80149644 001465A4 C0 A6 00 00 */ lfs f5, 0(r6) +/* 80149648 001465A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8014964C 001465AC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80149650 001465B0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80149654 001465B4 40 80 00 0C */ bge lbl_80149660 +/* 80149658 001465B8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8014965C 001465BC 48 00 00 08 */ b lbl_80149664 +lbl_80149660: +/* 80149660 001465C0 38 C1 00 14 */ addi r6, r1, 0x14 +lbl_80149664: +/* 80149664 001465C4 C0 25 00 00 */ lfs f1, 0(r5) +/* 80149668 001465C8 C0 86 00 00 */ lfs f4, 0(r6) +/* 8014966C 001465CC FC 01 38 40 */ fcmpo cr0, f1, f7 +/* 80149670 001465D0 D0 E1 00 18 */ stfs f7, 0x18(r1) +/* 80149674 001465D4 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80149678 001465D8 40 80 00 0C */ bge lbl_80149684 +/* 8014967C 001465DC 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80149680 001465E0 48 00 00 08 */ b lbl_80149688 +lbl_80149684: +/* 80149684 001465E4 38 C1 00 1C */ addi r6, r1, 0x1c +lbl_80149688: +/* 80149688 001465E8 C0 25 00 08 */ lfs f1, 8(r5) +/* 8014968C 001465EC C0 66 00 00 */ lfs f3, 0(r6) +/* 80149690 001465F0 FC 06 08 40 */ fcmpo cr0, f6, f1 +/* 80149694 001465F4 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 80149698 001465F8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8014969C 001465FC 40 80 00 0C */ bge lbl_801496A8 +/* 801496A0 00146600 38 C1 00 20 */ addi r6, r1, 0x20 +/* 801496A4 00146604 48 00 00 08 */ b lbl_801496AC +lbl_801496A8: +/* 801496A8 00146608 38 C1 00 24 */ addi r6, r1, 0x24 +lbl_801496AC: +/* 801496AC 0014660C C0 25 00 04 */ lfs f1, 4(r5) +/* 801496B0 00146610 C0 46 00 00 */ lfs f2, 0(r6) +/* 801496B4 00146614 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801496B8 00146618 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 801496BC 0014661C D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 801496C0 00146620 40 80 00 0C */ bge lbl_801496CC +/* 801496C4 00146624 38 C1 00 28 */ addi r6, r1, 0x28 +/* 801496C8 00146628 48 00 00 08 */ b lbl_801496D0 +lbl_801496CC: +/* 801496CC 0014662C 38 C1 00 2C */ addi r6, r1, 0x2c +lbl_801496D0: +/* 801496D0 00146630 C0 05 00 00 */ lfs f0, 0(r5) +/* 801496D4 00146634 C0 26 00 00 */ lfs f1, 0(r6) +/* 801496D8 00146638 FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 801496DC 0014663C D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 801496E0 00146640 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 801496E4 00146644 40 80 00 0C */ bge lbl_801496F0 +/* 801496E8 00146648 38 A1 00 30 */ addi r5, r1, 0x30 +/* 801496EC 0014664C 48 00 00 08 */ b lbl_801496F4 +lbl_801496F0: +/* 801496F0 00146650 38 A1 00 34 */ addi r5, r1, 0x34 +lbl_801496F4: +/* 801496F4 00146654 C0 05 00 00 */ lfs f0, 0(r5) +/* 801496F8 00146658 7C E6 3B 78 */ mr r6, r7 +/* 801496FC 0014665C 7D 07 43 78 */ mr r7, r8 +/* 80149700 00146660 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80149704 00146664 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80149708 00146668 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8014970C 0014666C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80149710 00146670 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 80149714 00146674 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80149718 00146678 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 8014971C 0014667C 48 00 00 F1 */ bl "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80149720 00146680 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80149724 00146684 7C 08 03 A6 */ mtlr r0 +/* 80149728 00146688 38 21 00 50 */ addi r1, r1, 0x50 +/* 8014972C 0014668C 4E 80 00 20 */ blr + +.global "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" +"BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox": +/* 80149730 00146690 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80149734 00146694 7C 08 02 A6 */ mflr r0 +/* 80149738 00146698 90 01 00 34 */ stw r0, 0x34(r1) +/* 8014973C 0014669C BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80149740 001466A0 7C BD 2B 78 */ mr r29, r5 +/* 80149744 001466A4 7C 7B 1B 78 */ mr r27, r3 +/* 80149748 001466A8 7C 9C 23 78 */ mr r28, r4 +/* 8014974C 001466AC 7C D9 33 78 */ mr r25, r6 +/* 80149750 001466B0 7F A3 EB 78 */ mr r3, r29 +/* 80149754 001466B4 4B F0 A1 69 */ bl GetMaterialFilter__6CActorCFv +/* 80149758 001466B8 7C 60 1B 78 */ mr r0, r3 +/* 8014975C 001466BC 7F 63 DB 78 */ mr r3, r27 +/* 80149760 001466C0 7C 1E 03 78 */ mr r30, r0 +/* 80149764 001466C4 7F 24 CB 78 */ mr r4, r25 +/* 80149768 001466C8 3B FD 00 68 */ addi r31, r29, 0x68 +/* 8014976C 001466CC 48 00 01 4D */ bl ConstructIntersectionArray__Q22SL18CSortedListManagerCFRC6CAABox +/* 80149770 001466D0 48 00 00 7C */ b lbl_801497EC +lbl_80149774: +/* 80149774 001466D4 7C 60 07 34 */ extsh r0, r3 +/* 80149778 001466D8 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 8014977C 001466DC 7F 5B 02 14 */ add r26, r27, r0 +/* 80149780 001466E0 83 3A 00 00 */ lwz r25, 0(r26) +/* 80149784 001466E4 7C 1D C8 40 */ cmplw r29, r25 +/* 80149788 001466E8 41 82 00 58 */ beq lbl_801497E0 +/* 8014978C 001466EC 7F C3 F3 78 */ mr r3, r30 +/* 80149790 001466F0 38 99 00 68 */ addi r4, r25, 0x68 +/* 80149794 001466F4 48 18 BB B9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 80149798 001466F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8014979C 001466FC 41 82 00 44 */ beq lbl_801497E0 +/* 801497A0 00146700 7F 23 CB 78 */ mr r3, r25 +/* 801497A4 00146704 4B F0 A1 19 */ bl GetMaterialFilter__6CActorCFv +/* 801497A8 00146708 7F E4 FB 78 */ mr r4, r31 +/* 801497AC 0014670C 48 18 BB A1 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 801497B0 00146710 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801497B4 00146714 41 82 00 2C */ beq lbl_801497E0 +/* 801497B8 00146718 80 1C 00 00 */ lwz r0, 0(r28) +/* 801497BC 0014671C A0 99 00 08 */ lhz r4, 8(r25) +/* 801497C0 00146720 54 00 08 3C */ slwi r0, r0, 1 +/* 801497C4 00146724 7C 7C 02 14 */ add r3, r28, r0 +/* 801497C8 00146728 34 63 00 04 */ addic. r3, r3, 4 +/* 801497CC 0014672C 41 82 00 08 */ beq lbl_801497D4 +/* 801497D0 00146730 B0 83 00 00 */ sth r4, 0(r3) +lbl_801497D4: +/* 801497D4 00146734 80 7C 00 00 */ lwz r3, 0(r28) +/* 801497D8 00146738 38 03 00 01 */ addi r0, r3, 1 +/* 801497DC 0014673C 90 1C 00 00 */ stw r0, 0(r28) +lbl_801497E0: +/* 801497E0 00146740 A8 7A 00 28 */ lha r3, 0x28(r26) +/* 801497E4 00146744 38 00 FF FF */ li r0, -1 +/* 801497E8 00146748 B0 1A 00 28 */ sth r0, 0x28(r26) +lbl_801497EC: +/* 801497EC 0014674C 7C 60 07 34 */ extsh r0, r3 +/* 801497F0 00146750 2C 00 FF FF */ cmpwi r0, -1 +/* 801497F4 00146754 40 82 FF 80 */ bne lbl_80149774 +/* 801497F8 00146758 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 801497FC 0014675C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80149800 00146760 7C 08 03 A6 */ mtlr r0 +/* 80149804 00146764 38 21 00 30 */ addi r1, r1, 0x30 +/* 80149808 00146768 4E 80 00 20 */ blr + +.global "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +"BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor": +/* 8014980C 0014676C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80149810 00146770 7C 08 02 A6 */ mflr r0 +/* 80149814 00146774 90 01 00 24 */ stw r0, 0x24(r1) +/* 80149818 00146778 BF 41 00 08 */ stmw r26, 8(r1) +/* 8014981C 0014677C 7C 9D 23 78 */ mr r29, r4 +/* 80149820 00146780 7C 7C 1B 78 */ mr r28, r3 +/* 80149824 00146784 7C DE 33 78 */ mr r30, r6 +/* 80149828 00146788 7C FF 3B 78 */ mr r31, r7 +/* 8014982C 0014678C 7C A4 2B 78 */ mr r4, r5 +/* 80149830 00146790 48 00 00 89 */ bl ConstructIntersectionArray__Q22SL18CSortedListManagerCFRC6CAABox +/* 80149834 00146794 48 00 00 64 */ b lbl_80149898 +lbl_80149838: +/* 80149838 00146798 7C 60 07 34 */ extsh r0, r3 +/* 8014983C 0014679C 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 80149840 001467A0 7F 7C 02 14 */ add r27, r28, r0 +/* 80149844 001467A4 83 5B 00 00 */ lwz r26, 0(r27) +/* 80149848 001467A8 7C 1F D0 40 */ cmplw r31, r26 +/* 8014984C 001467AC 41 82 00 40 */ beq lbl_8014988C +/* 80149850 001467B0 7F C3 F3 78 */ mr r3, r30 +/* 80149854 001467B4 38 9A 00 68 */ addi r4, r26, 0x68 +/* 80149858 001467B8 48 18 BA F5 */ bl Passes__15CMaterialFilterCFRC13CMaterialList +/* 8014985C 001467BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80149860 001467C0 41 82 00 2C */ beq lbl_8014988C +/* 80149864 001467C4 80 1D 00 00 */ lwz r0, 0(r29) +/* 80149868 001467C8 A0 9A 00 08 */ lhz r4, 8(r26) +/* 8014986C 001467CC 54 00 08 3C */ slwi r0, r0, 1 +/* 80149870 001467D0 7C 7D 02 14 */ add r3, r29, r0 +/* 80149874 001467D4 34 63 00 04 */ addic. r3, r3, 4 +/* 80149878 001467D8 41 82 00 08 */ beq lbl_80149880 +/* 8014987C 001467DC B0 83 00 00 */ sth r4, 0(r3) +lbl_80149880: +/* 80149880 001467E0 80 7D 00 00 */ lwz r3, 0(r29) +/* 80149884 001467E4 38 03 00 01 */ addi r0, r3, 1 +/* 80149888 001467E8 90 1D 00 00 */ stw r0, 0(r29) +lbl_8014988C: +/* 8014988C 001467EC A8 7B 00 28 */ lha r3, 0x28(r27) +/* 80149890 001467F0 38 00 FF FF */ li r0, -1 +/* 80149894 001467F4 B0 1B 00 28 */ sth r0, 0x28(r27) +lbl_80149898: +/* 80149898 001467F8 7C 60 07 34 */ extsh r0, r3 +/* 8014989C 001467FC 2C 00 FF FF */ cmpwi r0, -1 +/* 801498A0 00146800 40 82 FF 98 */ bne lbl_80149838 +/* 801498A4 00146804 BB 41 00 08 */ lmw r26, 8(r1) +/* 801498A8 00146808 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801498AC 0014680C 7C 08 03 A6 */ mtlr r0 +/* 801498B0 00146810 38 21 00 20 */ addi r1, r1, 0x20 +/* 801498B4 00146814 4E 80 00 20 */ blr + +.global ConstructIntersectionArray__Q22SL18CSortedListManagerCFRC6CAABox +ConstructIntersectionArray__Q22SL18CSortedListManagerCFRC6CAABox: +/* 801498B8 00146818 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 801498BC 0014681C 7C 08 02 A6 */ mflr r0 +/* 801498C0 00146820 90 01 00 74 */ stw r0, 0x74(r1) +/* 801498C4 00146824 BE 21 00 34 */ stmw r17, 0x34(r1) +/* 801498C8 00146828 7C 9F 23 78 */ mr r31, r4 +/* 801498CC 0014682C 7C 7E 1B 78 */ mr r30, r3 +/* 801498D0 00146830 C0 24 00 00 */ lfs f1, 0(r4) +/* 801498D4 00146834 38 80 00 00 */ li r4, 0 +/* 801498D8 00146838 48 00 0B A1 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 801498DC 0014683C B0 61 00 22 */ sth r3, 0x22(r1) +/* 801498E0 00146840 7F C3 F3 78 */ mr r3, r30 +/* 801498E4 00146844 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 801498E8 00146848 38 80 00 00 */ li r4, 0 +/* 801498EC 0014684C 48 00 0B 19 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 801498F0 00146850 C0 3F 00 00 */ lfs f1, 0(r31) +/* 801498F4 00146854 7C 7B 1B 78 */ mr r27, r3 +/* 801498F8 00146858 7F C3 F3 78 */ mr r3, r30 +/* 801498FC 0014685C 38 80 00 03 */ li r4, 3 +/* 80149900 00146860 48 00 0B 79 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 80149904 00146864 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 80149908 00146868 7C 7A 1B 78 */ mr r26, r3 +/* 8014990C 0014686C 7F C3 F3 78 */ mr r3, r30 +/* 80149910 00146870 38 80 00 03 */ li r4, 3 +/* 80149914 00146874 48 00 0A F1 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 80149918 00146878 3C 9E 00 01 */ addis r4, r30, 1 +/* 8014991C 0014687C 7C 79 1B 78 */ mr r25, r3 +/* 80149920 00146880 80 64 D0 0C */ lwz r3, -0x2ff4(r4) +/* 80149924 00146884 7F 3D 07 34 */ extsh r29, r25 +/* 80149928 00146888 A8 01 00 22 */ lha r0, 0x22(r1) +/* 8014992C 0014688C 7C BD 18 50 */ subf r5, r29, r3 +/* 80149930 00146890 38 61 00 22 */ addi r3, r1, 0x22 +/* 80149934 00146894 7C A4 07 34 */ extsh r4, r5 +/* 80149938 00146898 B0 A1 00 1C */ sth r5, 0x1c(r1) +/* 8014993C 0014689C 7C 04 00 00 */ cmpw r4, r0 +/* 80149940 001468A0 40 80 00 08 */ bge lbl_80149948 +/* 80149944 001468A4 38 61 00 1C */ addi r3, r1, 0x1c +lbl_80149948: +/* 80149948 001468A8 AB 03 00 00 */ lha r24, 0(r3) +/* 8014994C 001468AC 7F C3 F3 78 */ mr r3, r30 +/* 80149950 001468B0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80149954 001468B4 38 80 00 01 */ li r4, 1 +/* 80149958 001468B8 48 00 0B 21 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 8014995C 001468BC B0 61 00 20 */ sth r3, 0x20(r1) +/* 80149960 001468C0 7F C3 F3 78 */ mr r3, r30 +/* 80149964 001468C4 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80149968 001468C8 38 80 00 01 */ li r4, 1 +/* 8014996C 001468CC 48 00 0A 99 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 80149970 001468D0 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80149974 001468D4 7C 77 1B 78 */ mr r23, r3 +/* 80149978 001468D8 7F C3 F3 78 */ mr r3, r30 +/* 8014997C 001468DC 38 80 00 04 */ li r4, 4 +/* 80149980 001468E0 48 00 0A F9 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 80149984 001468E4 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 80149988 001468E8 7C 76 1B 78 */ mr r22, r3 +/* 8014998C 001468EC 7F C3 F3 78 */ mr r3, r30 +/* 80149990 001468F0 38 80 00 04 */ li r4, 4 +/* 80149994 001468F4 48 00 0A 71 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 80149998 001468F8 3C 9E 00 01 */ addis r4, r30, 1 +/* 8014999C 001468FC 7C 75 1B 78 */ mr r21, r3 +/* 801499A0 00146900 80 64 D8 10 */ lwz r3, -0x27f0(r4) +/* 801499A4 00146904 7E BC 07 34 */ extsh r28, r21 +/* 801499A8 00146908 A8 01 00 20 */ lha r0, 0x20(r1) +/* 801499AC 0014690C 7C BC 18 50 */ subf r5, r28, r3 +/* 801499B0 00146910 38 61 00 20 */ addi r3, r1, 0x20 +/* 801499B4 00146914 7C A4 07 34 */ extsh r4, r5 +/* 801499B8 00146918 B0 A1 00 1A */ sth r5, 0x1a(r1) +/* 801499BC 0014691C 7C 04 00 00 */ cmpw r4, r0 +/* 801499C0 00146920 40 80 00 08 */ bge lbl_801499C8 +/* 801499C4 00146924 38 61 00 1A */ addi r3, r1, 0x1a +lbl_801499C8: +/* 801499C8 00146928 AA 83 00 00 */ lha r20, 0(r3) +/* 801499CC 0014692C 7F C3 F3 78 */ mr r3, r30 +/* 801499D0 00146930 C0 3F 00 08 */ lfs f1, 8(r31) +/* 801499D4 00146934 38 80 00 02 */ li r4, 2 +/* 801499D8 00146938 48 00 0A A1 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 801499DC 0014693C B0 61 00 1E */ sth r3, 0x1e(r1) +/* 801499E0 00146940 7F C3 F3 78 */ mr r3, r30 +/* 801499E4 00146944 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 801499E8 00146948 38 80 00 02 */ li r4, 2 +/* 801499EC 0014694C 48 00 0A 19 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 801499F0 00146950 C0 3F 00 08 */ lfs f1, 8(r31) +/* 801499F4 00146954 7C 73 1B 78 */ mr r19, r3 +/* 801499F8 00146958 7F C3 F3 78 */ mr r3, r30 +/* 801499FC 0014695C 38 80 00 05 */ li r4, 5 +/* 80149A00 00146960 48 00 0A 79 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 80149A04 00146964 C0 3F 00 14 */ lfs f1, 0x14(r31) +/* 80149A08 00146968 7C 72 1B 78 */ mr r18, r3 +/* 80149A0C 0014696C 7F C3 F3 78 */ mr r3, r30 +/* 80149A10 00146970 38 80 00 05 */ li r4, 5 +/* 80149A14 00146974 48 00 09 F1 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +/* 80149A18 00146978 3C 9E 00 01 */ addis r4, r30, 1 +/* 80149A1C 0014697C 7C 69 1B 78 */ mr r9, r3 +/* 80149A20 00146980 80 04 E0 14 */ lwz r0, -0x1fec(r4) +/* 80149A24 00146984 7D 27 07 34 */ extsh r7, r9 +/* 80149A28 00146988 A8 A1 00 1E */ lha r5, 0x1e(r1) +/* 80149A2C 0014698C 38 81 00 1E */ addi r4, r1, 0x1e +/* 80149A30 00146990 7C 67 00 50 */ subf r3, r7, r0 +/* 80149A34 00146994 7C 60 07 34 */ extsh r0, r3 +/* 80149A38 00146998 B0 61 00 18 */ sth r3, 0x18(r1) +/* 80149A3C 0014699C 7C 00 28 00 */ cmpw r0, r5 +/* 80149A40 001469A0 40 80 00 08 */ bge lbl_80149A48 +/* 80149A44 001469A4 38 81 00 18 */ addi r4, r1, 0x18 +lbl_80149A48: +/* 80149A48 001469A8 A8 C1 00 22 */ lha r6, 0x22(r1) +/* 80149A4C 001469AC 7F 60 07 34 */ extsh r0, r27 +/* 80149A50 001469B0 A9 01 00 20 */ lha r8, 0x20(r1) +/* 80149A54 001469B4 7E E3 07 34 */ extsh r3, r23 +/* 80149A58 001469B8 7D 66 00 50 */ subf r11, r6, r0 +/* 80149A5C 001469BC 7E 60 07 34 */ extsh r0, r19 +/* 80149A60 001469C0 7D 48 18 50 */ subf r10, r8, r3 +/* 80149A64 001469C4 7F 51 07 34 */ extsh r17, r26 +/* 80149A68 001469C8 7C 7D 5A 14 */ add r3, r29, r11 +/* 80149A6C 001469CC 7E CC 07 34 */ extsh r12, r22 +/* 80149A70 001469D0 7C 71 18 50 */ subf r3, r17, r3 +/* 80149A74 001469D4 7D 7C 52 14 */ add r11, r28, r10 +/* 80149A78 001469D8 54 7C 0F FE */ srwi r28, r3, 0x1f +/* 80149A7C 001469DC 7D 45 00 50 */ subf r10, r5, r0 +/* 80149A80 001469E0 7C 0C 58 50 */ subf r0, r12, r11 +/* 80149A84 001469E4 7E 4B 07 34 */ extsh r11, r18 +/* 80149A88 001469E8 7C 7C 1A 14 */ add r3, r28, r3 +/* 80149A8C 001469EC 7C E7 52 14 */ add r7, r7, r10 +/* 80149A90 001469F0 54 0C 0F FE */ srwi r12, r0, 0x1f +/* 80149A94 001469F4 A9 44 00 00 */ lha r10, 0(r4) +/* 80149A98 001469F8 7C 63 0E 70 */ srawi r3, r3, 1 +/* 80149A9C 001469FC 7C 8B 38 50 */ subf r4, r11, r7 +/* 80149AA0 00146A00 7C 0C 02 14 */ add r0, r12, r0 +/* 80149AA4 00146A04 7C 07 0E 70 */ srawi r7, r0, 1 +/* 80149AA8 00146A08 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80149AAC 00146A0C 7C 00 22 14 */ add r0, r0, r4 +/* 80149AB0 00146A10 7C 78 1A 14 */ add r3, r24, r3 +/* 80149AB4 00146A14 7C 94 3A 14 */ add r4, r20, r7 +/* 80149AB8 00146A18 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80149ABC 00146A1C 7C 03 20 00 */ cmpw r3, r4 +/* 80149AC0 00146A20 7C 0A 02 14 */ add r0, r10, r0 +/* 80149AC4 00146A24 40 80 00 4C */ bge lbl_80149B10 +/* 80149AC8 00146A28 7C 03 00 00 */ cmpw r3, r0 +/* 80149ACC 00146A2C 40 80 00 44 */ bge lbl_80149B10 +/* 80149AD0 00146A30 38 00 00 04 */ li r0, 4 +/* 80149AD4 00146A34 38 80 00 02 */ li r4, 2 +/* 80149AD8 00146A38 90 01 00 08 */ stw r0, 8(r1) +/* 80149ADC 00146A3C 38 00 00 05 */ li r0, 5 +/* 80149AE0 00146A40 7F C3 F3 78 */ mr r3, r30 +/* 80149AE4 00146A44 7F 67 DB 78 */ mr r7, r27 +/* 80149AE8 00146A48 90 81 00 0C */ stw r4, 0xc(r1) +/* 80149AEC 00146A4C 7F 48 D3 78 */ mr r8, r26 +/* 80149AF0 00146A50 7F 29 CB 78 */ mr r9, r25 +/* 80149AF4 00146A54 38 80 00 00 */ li r4, 0 +/* 80149AF8 00146A58 90 01 00 10 */ stw r0, 0x10(r1) +/* 80149AFC 00146A5C 38 A0 00 03 */ li r5, 3 +/* 80149B00 00146A60 39 40 00 01 */ li r10, 1 +/* 80149B04 00146A64 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80149B08 00146A68 48 00 00 A5 */ bl CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox +/* 80149B0C 00146A6C 48 00 00 8C */ b lbl_80149B98 +lbl_80149B10: +/* 80149B10 00146A70 7C 04 00 00 */ cmpw r4, r0 +/* 80149B14 00146A74 40 80 00 48 */ bge lbl_80149B5C +/* 80149B18 00146A78 38 00 00 03 */ li r0, 3 +/* 80149B1C 00146A7C 38 80 00 02 */ li r4, 2 +/* 80149B20 00146A80 90 01 00 08 */ stw r0, 8(r1) +/* 80149B24 00146A84 38 00 00 05 */ li r0, 5 +/* 80149B28 00146A88 7F C3 F3 78 */ mr r3, r30 +/* 80149B2C 00146A8C 7D 06 43 78 */ mr r6, r8 +/* 80149B30 00146A90 90 81 00 0C */ stw r4, 0xc(r1) +/* 80149B34 00146A94 7E E7 BB 78 */ mr r7, r23 +/* 80149B38 00146A98 7E C8 B3 78 */ mr r8, r22 +/* 80149B3C 00146A9C 7E A9 AB 78 */ mr r9, r21 +/* 80149B40 00146AA0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80149B44 00146AA4 38 80 00 01 */ li r4, 1 +/* 80149B48 00146AA8 38 A0 00 04 */ li r5, 4 +/* 80149B4C 00146AAC 39 40 00 00 */ li r10, 0 +/* 80149B50 00146AB0 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80149B54 00146AB4 48 00 00 59 */ bl CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox +/* 80149B58 00146AB8 48 00 00 40 */ b lbl_80149B98 +lbl_80149B5C: +/* 80149B5C 00146ABC 38 00 00 03 */ li r0, 3 +/* 80149B60 00146AC0 7C A6 2B 78 */ mr r6, r5 +/* 80149B64 00146AC4 90 01 00 08 */ stw r0, 8(r1) +/* 80149B68 00146AC8 38 80 00 01 */ li r4, 1 +/* 80149B6C 00146ACC 38 00 00 04 */ li r0, 4 +/* 80149B70 00146AD0 7F C3 F3 78 */ mr r3, r30 +/* 80149B74 00146AD4 90 81 00 0C */ stw r4, 0xc(r1) +/* 80149B78 00146AD8 7E 67 9B 78 */ mr r7, r19 +/* 80149B7C 00146ADC 7E 48 93 78 */ mr r8, r18 +/* 80149B80 00146AE0 38 80 00 02 */ li r4, 2 +/* 80149B84 00146AE4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80149B88 00146AE8 38 A0 00 05 */ li r5, 5 +/* 80149B8C 00146AEC 39 40 00 00 */ li r10, 0 +/* 80149B90 00146AF0 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80149B94 00146AF4 48 00 00 19 */ bl CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox +lbl_80149B98: +/* 80149B98 00146AF8 BA 21 00 34 */ lmw r17, 0x34(r1) +/* 80149B9C 00146AFC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80149BA0 00146B00 7C 08 03 A6 */ mtlr r0 +/* 80149BA4 00146B04 38 21 00 70 */ addi r1, r1, 0x70 +/* 80149BA8 00146B08 4E 80 00 20 */ blr + +.global CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox +CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox: +/* 80149BAC 00146B0C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80149BB0 00146B10 7C 08 02 A6 */ mflr r0 +/* 80149BB4 00146B14 90 01 00 54 */ stw r0, 0x54(r1) +/* 80149BB8 00146B18 BE 21 00 14 */ stmw r17, 0x14(r1) +/* 80149BBC 00146B1C 7C 98 23 78 */ mr r24, r4 +/* 80149BC0 00146B20 38 80 FF FF */ li r4, -1 +/* 80149BC4 00146B24 7C DA 33 78 */ mr r26, r6 +/* 80149BC8 00146B28 1C 18 08 04 */ mulli r0, r24, 0x804 +/* 80149BCC 00146B2C 7C 77 1B 78 */ mr r23, r3 +/* 80149BD0 00146B30 7F 53 07 34 */ extsh r19, r26 +/* 80149BD4 00146B34 83 81 00 58 */ lwz r28, 0x58(r1) +/* 80149BD8 00146B38 83 A1 00 5C */ lwz r29, 0x5c(r1) +/* 80149BDC 00146B3C 7C B9 2B 78 */ mr r25, r5 +/* 80149BE0 00146B40 7E 97 02 14 */ add r20, r23, r0 +/* 80149BE4 00146B44 56 60 08 3C */ slwi r0, r19, 1 +/* 80149BE8 00146B48 83 C1 00 60 */ lwz r30, 0x60(r1) +/* 80149BEC 00146B4C 7D 12 43 78 */ mr r18, r8 +/* 80149BF0 00146B50 83 E1 00 64 */ lwz r31, 0x64(r1) +/* 80149BF4 00146B54 7D 36 4B 78 */ mr r22, r9 +/* 80149BF8 00146B58 7D 5B 53 78 */ mr r27, r10 +/* 80149BFC 00146B5C 7E 34 02 14 */ add r17, r20, r0 +/* 80149C00 00146B60 7C F5 07 34 */ extsh r21, r7 +/* 80149C04 00146B64 B0 81 00 0A */ sth r4, 0xa(r1) +/* 80149C08 00146B68 B0 81 00 08 */ sth r4, 8(r1) +/* 80149C0C 00146B6C 48 00 00 24 */ b lbl_80149C30 +lbl_80149C10: +/* 80149C10 00146B70 3C 91 00 01 */ addis r4, r17, 1 +/* 80149C14 00146B74 7E E3 BB 78 */ mr r3, r23 +/* 80149C18 00146B78 A8 84 B0 00 */ lha r4, -0x5000(r4) +/* 80149C1C 00146B7C 38 A1 00 0A */ addi r5, r1, 0xa +/* 80149C20 00146B80 38 C1 00 08 */ addi r6, r1, 8 +/* 80149C24 00146B84 48 00 01 E5 */ bl AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs +/* 80149C28 00146B88 3A 31 00 02 */ addi r17, r17, 2 +/* 80149C2C 00146B8C 3A 73 00 01 */ addi r19, r19, 1 +lbl_80149C30: +/* 80149C30 00146B90 7E 60 07 34 */ extsh r0, r19 +/* 80149C34 00146B94 7C 00 A8 00 */ cmpw r0, r21 +/* 80149C38 00146B98 41 80 FF D8 */ blt lbl_80149C10 +/* 80149C3C 00146B9C 1E B9 08 04 */ mulli r21, r25, 0x804 +/* 80149C40 00146BA0 7E 52 07 34 */ extsh r18, r18 +/* 80149C44 00146BA4 7E D6 07 34 */ extsh r22, r22 +/* 80149C48 00146BA8 56 40 08 3C */ slwi r0, r18, 1 +/* 80149C4C 00146BAC 7E 77 AA 14 */ add r19, r23, r21 +/* 80149C50 00146BB0 7E 33 02 14 */ add r17, r19, r0 +/* 80149C54 00146BB4 48 00 00 24 */ b lbl_80149C78 +lbl_80149C58: +/* 80149C58 00146BB8 3C 91 00 01 */ addis r4, r17, 1 +/* 80149C5C 00146BBC 7E E3 BB 78 */ mr r3, r23 +/* 80149C60 00146BC0 A8 84 B0 00 */ lha r4, -0x5000(r4) +/* 80149C64 00146BC4 38 A1 00 0A */ addi r5, r1, 0xa +/* 80149C68 00146BC8 38 C1 00 08 */ addi r6, r1, 8 +/* 80149C6C 00146BCC 48 00 01 9D */ bl AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs +/* 80149C70 00146BD0 3A 31 00 02 */ addi r17, r17, 2 +/* 80149C74 00146BD4 3A 52 00 01 */ addi r18, r18, 1 +lbl_80149C78: +/* 80149C78 00146BD8 7E 40 07 34 */ extsh r0, r18 +/* 80149C7C 00146BDC 7C 00 B0 00 */ cmpw r0, r22 +/* 80149C80 00146BE0 41 80 FF D8 */ blt lbl_80149C58 +/* 80149C84 00146BE4 3C 17 00 01 */ addis r0, r23, 1 +/* 80149C88 00146BE8 7F 5A 07 34 */ extsh r26, r26 +/* 80149C8C 00146BEC 7C 60 AA 14 */ add r3, r0, r21 +/* 80149C90 00146BF0 80 03 B8 00 */ lwz r0, -0x4800(r3) +/* 80149C94 00146BF4 7C 16 00 50 */ subf r0, r22, r0 +/* 80149C98 00146BF8 7C 1A 00 00 */ cmpw r26, r0 +/* 80149C9C 00146BFC 40 80 00 5C */ bge lbl_80149CF8 +/* 80149CA0 00146C00 57 31 10 3A */ slwi r17, r25, 2 +/* 80149CA4 00146C04 3A 40 00 00 */ li r18, 0 +/* 80149CA8 00146C08 48 00 00 40 */ b lbl_80149CE8 +lbl_80149CAC: +/* 80149CAC 00146C0C 3C 74 00 01 */ addis r3, r20, 1 +/* 80149CB0 00146C10 7C 1F 8C 2E */ lfsx f0, r31, r17 +/* 80149CB4 00146C14 A8 83 B0 00 */ lha r4, -0x5000(r3) +/* 80149CB8 00146C18 1C 64 00 2C */ mulli r3, r4, 0x2c +/* 80149CBC 00146C1C 38 03 00 04 */ addi r0, r3, 4 +/* 80149CC0 00146C20 7C 00 8A 14 */ add r0, r0, r17 +/* 80149CC4 00146C24 7C 37 04 2E */ lfsx f1, r23, r0 +/* 80149CC8 00146C28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80149CCC 00146C2C 40 81 00 14 */ ble lbl_80149CE0 +/* 80149CD0 00146C30 7E E3 BB 78 */ mr r3, r23 +/* 80149CD4 00146C34 38 A1 00 0A */ addi r5, r1, 0xa +/* 80149CD8 00146C38 38 C1 00 08 */ addi r6, r1, 8 +/* 80149CDC 00146C3C 48 00 01 2D */ bl AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs +lbl_80149CE0: +/* 80149CE0 00146C40 3A 94 00 02 */ addi r20, r20, 2 +/* 80149CE4 00146C44 3A 52 00 01 */ addi r18, r18, 1 +lbl_80149CE8: +/* 80149CE8 00146C48 7E 40 07 34 */ extsh r0, r18 +/* 80149CEC 00146C4C 7C 00 D0 00 */ cmpw r0, r26 +/* 80149CF0 00146C50 41 80 FF BC */ blt lbl_80149CAC +/* 80149CF4 00146C54 48 00 00 68 */ b lbl_80149D5C +lbl_80149CF8: +/* 80149CF8 00146C58 56 C0 08 3C */ slwi r0, r22, 1 +/* 80149CFC 00146C5C 7E D2 B3 78 */ mr r18, r22 +/* 80149D00 00146C60 7E D3 02 14 */ add r22, r19, r0 +/* 80149D04 00146C64 57 14 10 3A */ slwi r20, r24, 2 +/* 80149D08 00146C68 3E 33 00 01 */ addis r17, r19, 1 +/* 80149D0C 00146C6C 48 00 00 40 */ b lbl_80149D4C +lbl_80149D10: +/* 80149D10 00146C70 3C 76 00 01 */ addis r3, r22, 1 +/* 80149D14 00146C74 7C 1F A4 2E */ lfsx f0, r31, r20 +/* 80149D18 00146C78 A8 83 B0 00 */ lha r4, -0x5000(r3) +/* 80149D1C 00146C7C 1C 64 00 2C */ mulli r3, r4, 0x2c +/* 80149D20 00146C80 38 03 00 04 */ addi r0, r3, 4 +/* 80149D24 00146C84 7C 00 A2 14 */ add r0, r0, r20 +/* 80149D28 00146C88 7C 37 04 2E */ lfsx f1, r23, r0 +/* 80149D2C 00146C8C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80149D30 00146C90 40 80 00 14 */ bge lbl_80149D44 +/* 80149D34 00146C94 7E E3 BB 78 */ mr r3, r23 +/* 80149D38 00146C98 38 A1 00 0A */ addi r5, r1, 0xa +/* 80149D3C 00146C9C 38 C1 00 08 */ addi r6, r1, 8 +/* 80149D40 00146CA0 48 00 00 C9 */ bl AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs +lbl_80149D44: +/* 80149D44 00146CA4 3A D6 00 02 */ addi r22, r22, 2 +/* 80149D48 00146CA8 3A 52 00 01 */ addi r18, r18, 1 +lbl_80149D4C: +/* 80149D4C 00146CAC 80 11 B8 00 */ lwz r0, -0x4800(r17) +/* 80149D50 00146CB0 7E 43 07 34 */ extsh r3, r18 +/* 80149D54 00146CB4 7C 03 00 00 */ cmpw r3, r0 +/* 80149D58 00146CB8 41 80 FF B8 */ blt lbl_80149D10 +lbl_80149D5C: +/* 80149D5C 00146CBC 39 01 00 0A */ addi r8, r1, 0xa +/* 80149D60 00146CC0 57 85 10 3A */ slwi r5, r28, 2 +/* 80149D64 00146CC4 57 64 10 3A */ slwi r4, r27, 2 +/* 80149D68 00146CC8 57 C7 10 3A */ slwi r7, r30, 2 +/* 80149D6C 00146CCC 57 A6 10 3A */ slwi r6, r29, 2 +/* 80149D70 00146CD0 48 00 00 74 */ b lbl_80149DE4 +lbl_80149D74: +/* 80149D74 00146CD4 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 80149D78 00146CD8 7C 1F 2C 2E */ lfsx f0, r31, r5 +/* 80149D7C 00146CDC 7D 37 02 14 */ add r9, r23, r0 +/* 80149D80 00146CE0 7C 69 22 14 */ add r3, r9, r4 +/* 80149D84 00146CE4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80149D88 00146CE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80149D8C 00146CEC 41 81 00 40 */ bgt lbl_80149DCC +/* 80149D90 00146CF0 7C 69 2A 14 */ add r3, r9, r5 +/* 80149D94 00146CF4 7C 1F 24 2E */ lfsx f0, r31, r4 +/* 80149D98 00146CF8 C0 23 00 04 */ lfs f1, 4(r3) +/* 80149D9C 00146CFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80149DA0 00146D00 41 80 00 2C */ blt lbl_80149DCC +/* 80149DA4 00146D04 7C 69 32 14 */ add r3, r9, r6 +/* 80149DA8 00146D08 7C 1F 3C 2E */ lfsx f0, r31, r7 +/* 80149DAC 00146D0C C0 23 00 04 */ lfs f1, 4(r3) +/* 80149DB0 00146D10 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80149DB4 00146D14 41 81 00 18 */ bgt lbl_80149DCC +/* 80149DB8 00146D18 7C 69 3A 14 */ add r3, r9, r7 +/* 80149DBC 00146D1C 7C 1F 34 2E */ lfsx f0, r31, r6 +/* 80149DC0 00146D20 C0 23 00 04 */ lfs f1, 4(r3) +/* 80149DC4 00146D24 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80149DC8 00146D28 40 80 00 18 */ bge lbl_80149DE0 +lbl_80149DCC: +/* 80149DCC 00146D2C A8 69 00 28 */ lha r3, 0x28(r9) +/* 80149DD0 00146D30 38 00 FF FF */ li r0, -1 +/* 80149DD4 00146D34 B0 68 00 00 */ sth r3, 0(r8) +/* 80149DD8 00146D38 B0 09 00 28 */ sth r0, 0x28(r9) +/* 80149DDC 00146D3C 48 00 00 08 */ b lbl_80149DE4 +lbl_80149DE0: +/* 80149DE0 00146D40 39 09 00 28 */ addi r8, r9, 0x28 +lbl_80149DE4: +/* 80149DE4 00146D44 A8 08 00 00 */ lha r0, 0(r8) +/* 80149DE8 00146D48 2C 00 FF FF */ cmpwi r0, -1 +/* 80149DEC 00146D4C 40 82 FF 88 */ bne lbl_80149D74 +/* 80149DF0 00146D50 BA 21 00 14 */ lmw r17, 0x14(r1) +/* 80149DF4 00146D54 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80149DF8 00146D58 A8 61 00 0A */ lha r3, 0xa(r1) +/* 80149DFC 00146D5C 7C 08 03 A6 */ mtlr r0 +/* 80149E00 00146D60 38 21 00 50 */ addi r1, r1, 0x50 +/* 80149E04 00146D64 4E 80 00 20 */ blr + +.global AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs +AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs: +/* 80149E08 00146D68 A9 05 00 00 */ lha r8, 0(r5) +/* 80149E0C 00146D6C 2C 08 FF FF */ cmpwi r8, -1 +/* 80149E10 00146D70 40 82 00 20 */ bne lbl_80149E30 +/* 80149E14 00146D74 7C 80 07 34 */ extsh r0, r4 +/* 80149E18 00146D78 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 80149E1C 00146D7C 7C 63 02 14 */ add r3, r3, r0 +/* 80149E20 00146D80 B1 03 00 28 */ sth r8, 0x28(r3) +/* 80149E24 00146D84 B0 86 00 00 */ sth r4, 0(r6) +/* 80149E28 00146D88 B0 85 00 00 */ sth r4, 0(r5) +/* 80149E2C 00146D8C 4E 80 00 20 */ blr +lbl_80149E30: +/* 80149E30 00146D90 7C 87 07 34 */ extsh r7, r4 +/* 80149E34 00146D94 1C 07 00 2C */ mulli r0, r7, 0x2c +/* 80149E38 00146D98 7C 63 02 14 */ add r3, r3, r0 +/* 80149E3C 00146D9C A8 03 00 28 */ lha r0, 0x28(r3) +/* 80149E40 00146DA0 2C 00 FF FF */ cmpwi r0, -1 +/* 80149E44 00146DA4 4C 82 00 20 */ bnelr +/* 80149E48 00146DA8 A8 06 00 00 */ lha r0, 0(r6) +/* 80149E4C 00146DAC 7C 07 00 00 */ cmpw r7, r0 +/* 80149E50 00146DB0 4D 82 00 20 */ beqlr +/* 80149E54 00146DB4 B1 03 00 28 */ sth r8, 0x28(r3) +/* 80149E58 00146DB8 B0 85 00 00 */ sth r4, 0(r5) +/* 80149E5C 00146DBC 4E 80 00 20 */ blr + +.global Move__Q22SL18CSortedListManagerFPC6CActorRC6CAABox +Move__Q22SL18CSortedListManagerFPC6CActorRC6CAABox: +/* 80149E60 00146DC0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80149E64 00146DC4 7C 08 02 A6 */ mflr r0 +/* 80149E68 00146DC8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80149E6C 00146DCC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80149E70 00146DD0 93 C1 00 08 */ stw r30, 8(r1) +/* 80149E74 00146DD4 7C 7E 1B 78 */ mr r30, r3 +/* 80149E78 00146DD8 A0 04 00 08 */ lhz r0, 8(r4) +/* 80149E7C 00146DDC 38 80 00 00 */ li r4, 0 +/* 80149E80 00146DE0 80 C5 00 00 */ lwz r6, 0(r5) +/* 80149E84 00146DE4 54 07 05 BE */ clrlwi r7, r0, 0x16 +/* 80149E88 00146DE8 80 05 00 04 */ lwz r0, 4(r5) +/* 80149E8C 00146DEC 1C E7 00 2C */ mulli r7, r7, 0x2c +/* 80149E90 00146DF0 7F FE 3A 14 */ add r31, r30, r7 +/* 80149E94 00146DF4 90 DF 00 04 */ stw r6, 4(r31) +/* 80149E98 00146DF8 90 1F 00 08 */ stw r0, 8(r31) +/* 80149E9C 00146DFC 80 05 00 08 */ lwz r0, 8(r5) +/* 80149EA0 00146E00 90 1F 00 0C */ stw r0, 0xc(r31) +/* 80149EA4 00146E04 80 C5 00 0C */ lwz r6, 0xc(r5) +/* 80149EA8 00146E08 80 05 00 10 */ lwz r0, 0x10(r5) +/* 80149EAC 00146E0C 90 DF 00 10 */ stw r6, 0x10(r31) +/* 80149EB0 00146E10 90 1F 00 14 */ stw r0, 0x14(r31) +/* 80149EB4 00146E14 80 05 00 14 */ lwz r0, 0x14(r5) +/* 80149EB8 00146E18 90 1F 00 18 */ stw r0, 0x18(r31) +/* 80149EBC 00146E1C A8 BF 00 1C */ lha r5, 0x1c(r31) +/* 80149EC0 00146E20 48 00 02 55 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149EC4 00146E24 A8 BF 00 22 */ lha r5, 0x22(r31) +/* 80149EC8 00146E28 7F C3 F3 78 */ mr r3, r30 +/* 80149ECC 00146E2C 38 80 00 03 */ li r4, 3 +/* 80149ED0 00146E30 48 00 02 45 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149ED4 00146E34 A8 BF 00 1E */ lha r5, 0x1e(r31) +/* 80149ED8 00146E38 7F C3 F3 78 */ mr r3, r30 +/* 80149EDC 00146E3C 38 80 00 01 */ li r4, 1 +/* 80149EE0 00146E40 48 00 02 35 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149EE4 00146E44 A8 BF 00 24 */ lha r5, 0x24(r31) +/* 80149EE8 00146E48 7F C3 F3 78 */ mr r3, r30 +/* 80149EEC 00146E4C 38 80 00 04 */ li r4, 4 +/* 80149EF0 00146E50 48 00 02 25 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149EF4 00146E54 A8 BF 00 20 */ lha r5, 0x20(r31) +/* 80149EF8 00146E58 7F C3 F3 78 */ mr r3, r30 +/* 80149EFC 00146E5C 38 80 00 02 */ li r4, 2 +/* 80149F00 00146E60 48 00 02 15 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149F04 00146E64 A8 BF 00 26 */ lha r5, 0x26(r31) +/* 80149F08 00146E68 7F C3 F3 78 */ mr r3, r30 +/* 80149F0C 00146E6C 38 80 00 05 */ li r4, 5 +/* 80149F10 00146E70 48 00 02 05 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149F14 00146E74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80149F18 00146E78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80149F1C 00146E7C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80149F20 00146E80 7C 08 03 A6 */ mtlr r0 +/* 80149F24 00146E84 38 21 00 10 */ addi r1, r1, 0x10 +/* 80149F28 00146E88 4E 80 00 20 */ blr + +.global Remove__Q22SL18CSortedListManagerFPC6CActor +Remove__Q22SL18CSortedListManagerFPC6CActor: +/* 80149F2C 00146E8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80149F30 00146E90 7C 08 02 A6 */ mflr r0 +/* 80149F34 00146E94 28 04 00 00 */ cmplwi r4, 0 +/* 80149F38 00146E98 90 01 00 14 */ stw r0, 0x14(r1) +/* 80149F3C 00146E9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80149F40 00146EA0 93 C1 00 08 */ stw r30, 8(r1) +/* 80149F44 00146EA4 7C 7E 1B 78 */ mr r30, r3 +/* 80149F48 00146EA8 41 82 00 84 */ beq lbl_80149FCC +/* 80149F4C 00146EAC A0 04 00 08 */ lhz r0, 8(r4) +/* 80149F50 00146EB0 54 00 05 BE */ clrlwi r0, r0, 0x16 +/* 80149F54 00146EB4 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 80149F58 00146EB8 7F FE 02 14 */ add r31, r30, r0 +/* 80149F5C 00146EBC 88 1F 00 2A */ lbz r0, 0x2a(r31) +/* 80149F60 00146EC0 28 00 00 00 */ cmplwi r0, 0 +/* 80149F64 00146EC4 41 82 00 68 */ beq lbl_80149FCC +/* 80149F68 00146EC8 A8 BF 00 1C */ lha r5, 0x1c(r31) +/* 80149F6C 00146ECC 38 80 00 00 */ li r4, 0 +/* 80149F70 00146ED0 48 00 02 C1 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149F74 00146ED4 A8 BF 00 22 */ lha r5, 0x22(r31) +/* 80149F78 00146ED8 7F C3 F3 78 */ mr r3, r30 +/* 80149F7C 00146EDC 38 80 00 03 */ li r4, 3 +/* 80149F80 00146EE0 48 00 02 B1 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149F84 00146EE4 A8 BF 00 1E */ lha r5, 0x1e(r31) +/* 80149F88 00146EE8 7F C3 F3 78 */ mr r3, r30 +/* 80149F8C 00146EEC 38 80 00 01 */ li r4, 1 +/* 80149F90 00146EF0 48 00 02 A1 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149F94 00146EF4 A8 BF 00 24 */ lha r5, 0x24(r31) +/* 80149F98 00146EF8 7F C3 F3 78 */ mr r3, r30 +/* 80149F9C 00146EFC 38 80 00 04 */ li r4, 4 +/* 80149FA0 00146F00 48 00 02 91 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149FA4 00146F04 A8 BF 00 20 */ lha r5, 0x20(r31) +/* 80149FA8 00146F08 7F C3 F3 78 */ mr r3, r30 +/* 80149FAC 00146F0C 38 80 00 02 */ li r4, 2 +/* 80149FB0 00146F10 48 00 02 81 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149FB4 00146F14 A8 BF 00 26 */ lha r5, 0x26(r31) +/* 80149FB8 00146F18 7F C3 F3 78 */ mr r3, r30 +/* 80149FBC 00146F1C 38 80 00 05 */ li r4, 5 +/* 80149FC0 00146F20 48 00 02 71 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +/* 80149FC4 00146F24 38 00 00 00 */ li r0, 0 +/* 80149FC8 00146F28 98 1F 00 2A */ stb r0, 0x2a(r31) +lbl_80149FCC: +/* 80149FCC 00146F2C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80149FD0 00146F30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80149FD4 00146F34 83 C1 00 08 */ lwz r30, 8(r1) +/* 80149FD8 00146F38 7C 08 03 A6 */ mtlr r0 +/* 80149FDC 00146F3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80149FE0 00146F40 4E 80 00 20 */ blr + +.global Insert__Q22SL18CSortedListManagerFP6CActorRC6CAABox +Insert__Q22SL18CSortedListManagerFP6CActorRC6CAABox: +/* 80149FE4 00146F44 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80149FE8 00146F48 7C 08 02 A6 */ mflr r0 +/* 80149FEC 00146F4C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80149FF0 00146F50 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80149FF4 00146F54 7C 9F 23 78 */ mr r31, r4 +/* 80149FF8 00146F58 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80149FFC 00146F5C 7C 7E 1B 78 */ mr r30, r3 +/* 8014A000 00146F60 A0 04 00 08 */ lhz r0, 8(r4) +/* 8014A004 00146F64 54 00 05 BE */ clrlwi r0, r0, 0x16 +/* 8014A008 00146F68 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 8014A00C 00146F6C 7C DE 02 14 */ add r6, r30, r0 +/* 8014A010 00146F70 88 06 00 2A */ lbz r0, 0x2a(r6) +/* 8014A014 00146F74 28 00 00 00 */ cmplwi r0, 0 +/* 8014A018 00146F78 41 82 00 0C */ beq lbl_8014A024 +/* 8014A01C 00146F7C 4B FF FE 45 */ bl Move__Q22SL18CSortedListManagerFPC6CActorRC6CAABox +/* 8014A020 00146F80 48 00 00 DC */ b lbl_8014A0FC +lbl_8014A024: +/* 8014A024 00146F84 38 61 00 08 */ addi r3, r1, 8 +/* 8014A028 00146F88 48 00 0B 11 */ bl __ct__Q22SL5SNodeFP6CActorRC6CAABox +/* 8014A02C 00146F8C 7F C3 F3 78 */ mr r3, r30 +/* 8014A030 00146F90 38 A1 00 08 */ addi r5, r1, 8 +/* 8014A034 00146F94 38 80 00 00 */ li r4, 0 +/* 8014A038 00146F98 48 00 02 59 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode +/* 8014A03C 00146F9C 7F C3 F3 78 */ mr r3, r30 +/* 8014A040 00146FA0 38 A1 00 08 */ addi r5, r1, 8 +/* 8014A044 00146FA4 38 80 00 03 */ li r4, 3 +/* 8014A048 00146FA8 48 00 02 49 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode +/* 8014A04C 00146FAC 7F C3 F3 78 */ mr r3, r30 +/* 8014A050 00146FB0 38 A1 00 08 */ addi r5, r1, 8 +/* 8014A054 00146FB4 38 80 00 01 */ li r4, 1 +/* 8014A058 00146FB8 48 00 02 39 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode +/* 8014A05C 00146FBC 7F C3 F3 78 */ mr r3, r30 +/* 8014A060 00146FC0 38 A1 00 08 */ addi r5, r1, 8 +/* 8014A064 00146FC4 38 80 00 04 */ li r4, 4 +/* 8014A068 00146FC8 48 00 02 29 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode +/* 8014A06C 00146FCC 7F C3 F3 78 */ mr r3, r30 +/* 8014A070 00146FD0 38 A1 00 08 */ addi r5, r1, 8 +/* 8014A074 00146FD4 38 80 00 02 */ li r4, 2 +/* 8014A078 00146FD8 48 00 02 19 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode +/* 8014A07C 00146FDC 7F C3 F3 78 */ mr r3, r30 +/* 8014A080 00146FE0 38 A1 00 08 */ addi r5, r1, 8 +/* 8014A084 00146FE4 38 80 00 05 */ li r4, 5 +/* 8014A088 00146FE8 48 00 02 09 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode +/* 8014A08C 00146FEC A0 7F 00 08 */ lhz r3, 8(r31) +/* 8014A090 00146FF0 80 01 00 08 */ lwz r0, 8(r1) +/* 8014A094 00146FF4 54 63 05 BE */ clrlwi r3, r3, 0x16 +/* 8014A098 00146FF8 1C 63 00 2C */ mulli r3, r3, 0x2c +/* 8014A09C 00146FFC 7C 9E 1A 14 */ add r4, r30, r3 +/* 8014A0A0 00147000 90 04 00 00 */ stw r0, 0(r4) +/* 8014A0A4 00147004 80 61 00 0C */ lwz r3, 0xc(r1) +/* 8014A0A8 00147008 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014A0AC 0014700C 90 64 00 04 */ stw r3, 4(r4) +/* 8014A0B0 00147010 90 04 00 08 */ stw r0, 8(r4) +/* 8014A0B4 00147014 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8014A0B8 00147018 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8014A0BC 0014701C 90 64 00 0C */ stw r3, 0xc(r4) +/* 8014A0C0 00147020 90 04 00 10 */ stw r0, 0x10(r4) +/* 8014A0C4 00147024 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8014A0C8 00147028 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8014A0CC 0014702C 90 64 00 14 */ stw r3, 0x14(r4) +/* 8014A0D0 00147030 90 04 00 18 */ stw r0, 0x18(r4) +/* 8014A0D4 00147034 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8014A0D8 00147038 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8014A0DC 0014703C 90 64 00 1C */ stw r3, 0x1c(r4) +/* 8014A0E0 00147040 90 04 00 20 */ stw r0, 0x20(r4) +/* 8014A0E4 00147044 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8014A0E8 00147048 90 04 00 24 */ stw r0, 0x24(r4) +/* 8014A0EC 0014704C A8 01 00 30 */ lha r0, 0x30(r1) +/* 8014A0F0 00147050 B0 04 00 28 */ sth r0, 0x28(r4) +/* 8014A0F4 00147054 88 01 00 32 */ lbz r0, 0x32(r1) +/* 8014A0F8 00147058 98 04 00 2A */ stb r0, 0x2a(r4) +lbl_8014A0FC: +/* 8014A0FC 0014705C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8014A100 00147060 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8014A104 00147064 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8014A108 00147068 7C 08 03 A6 */ mtlr r0 +/* 8014A10C 0014706C 38 21 00 40 */ addi r1, r1, 0x40 +/* 8014A110 00147070 4E 80 00 20 */ blr + +.global MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss: +/* 8014A114 00147074 1D 04 08 04 */ mulli r8, r4, 0x804 +/* 8014A118 00147078 54 87 08 3C */ slwi r7, r4, 1 +/* 8014A11C 0014707C 7C A6 07 34 */ extsh r6, r5 +/* 8014A120 00147080 54 80 10 3A */ slwi r0, r4, 2 +/* 8014A124 00147084 3C A8 00 01 */ addis r5, r8, 1 +/* 8014A128 00147088 7C 83 3A 14 */ add r4, r3, r7 +/* 8014A12C 0014708C 38 A5 B0 00 */ addi r5, r5, -20480 +/* 8014A130 00147090 7C A3 2A 14 */ add r5, r3, r5 +lbl_8014A134: +/* 8014A134 00147094 7C C7 07 35 */ extsh. r7, r6 +/* 8014A138 00147098 40 81 00 74 */ ble lbl_8014A1AC +/* 8014A13C 0014709C 7C CA 07 34 */ extsh r10, r6 +/* 8014A140 001470A0 55 49 08 3C */ slwi r9, r10, 1 +/* 8014A144 001470A4 39 89 FF FE */ addi r12, r9, -2 +/* 8014A148 001470A8 7D 05 4A AE */ lhax r8, r5, r9 +/* 8014A14C 001470AC 7C E5 62 AE */ lhax r7, r5, r12 +/* 8014A150 001470B0 1D 08 00 2C */ mulli r8, r8, 0x2c +/* 8014A154 001470B4 1D 67 00 2C */ mulli r11, r7, 0x2c +/* 8014A158 001470B8 39 08 00 04 */ addi r8, r8, 4 +/* 8014A15C 001470BC 38 EB 00 04 */ addi r7, r11, 4 +/* 8014A160 001470C0 7D 08 02 14 */ add r8, r8, r0 +/* 8014A164 001470C4 7C E7 02 14 */ add r7, r7, r0 +/* 8014A168 001470C8 7C 03 44 2E */ lfsx f0, r3, r8 +/* 8014A16C 001470CC 7C 23 3C 2E */ lfsx f1, r3, r7 +/* 8014A170 001470D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8014A174 001470D4 40 81 00 38 */ ble lbl_8014A1AC +/* 8014A178 001470D8 38 EB 00 1C */ addi r7, r11, 0x1c +/* 8014A17C 001470DC 39 0A FF FF */ addi r8, r10, -1 +/* 8014A180 001470E0 7C C4 3B 2E */ sthx r6, r4, r7 +/* 8014A184 001470E4 38 C6 FF FF */ addi r6, r6, -1 +/* 8014A188 001470E8 7C E5 4A AE */ lhax r7, r5, r9 +/* 8014A18C 001470EC 1C E7 00 2C */ mulli r7, r7, 0x2c +/* 8014A190 001470F0 38 E7 00 1C */ addi r7, r7, 0x1c +/* 8014A194 001470F4 7D 04 3B 2E */ sthx r8, r4, r7 +/* 8014A198 001470F8 7D 05 62 AE */ lhax r8, r5, r12 +/* 8014A19C 001470FC 7C E5 4A AE */ lhax r7, r5, r9 +/* 8014A1A0 00147100 7C E5 63 2E */ sthx r7, r5, r12 +/* 8014A1A4 00147104 7D 05 4B 2E */ sthx r8, r5, r9 +/* 8014A1A8 00147108 4B FF FF 8C */ b lbl_8014A134 +lbl_8014A1AC: +/* 8014A1AC 0014710C 80 E5 08 00 */ lwz r7, 0x800(r5) +/* 8014A1B0 00147110 7C CA 07 34 */ extsh r10, r6 +/* 8014A1B4 00147114 38 E7 FF FF */ addi r7, r7, -1 +/* 8014A1B8 00147118 7C 0A 38 00 */ cmpw r10, r7 +/* 8014A1BC 0014711C 4C 80 00 20 */ bgelr +/* 8014A1C0 00147120 55 49 08 3C */ slwi r9, r10, 1 +/* 8014A1C4 00147124 39 89 00 02 */ addi r12, r9, 2 +/* 8014A1C8 00147128 7D 05 4A AE */ lhax r8, r5, r9 +/* 8014A1CC 0014712C 7C E5 62 AE */ lhax r7, r5, r12 +/* 8014A1D0 00147130 1D 08 00 2C */ mulli r8, r8, 0x2c +/* 8014A1D4 00147134 1D 67 00 2C */ mulli r11, r7, 0x2c +/* 8014A1D8 00147138 39 08 00 04 */ addi r8, r8, 4 +/* 8014A1DC 0014713C 38 EB 00 04 */ addi r7, r11, 4 +/* 8014A1E0 00147140 7D 08 02 14 */ add r8, r8, r0 +/* 8014A1E4 00147144 7C E7 02 14 */ add r7, r7, r0 +/* 8014A1E8 00147148 7C 03 44 2E */ lfsx f0, r3, r8 +/* 8014A1EC 0014714C 7C 23 3C 2E */ lfsx f1, r3, r7 +/* 8014A1F0 00147150 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8014A1F4 00147154 4C 80 00 20 */ bgelr +/* 8014A1F8 00147158 38 EB 00 1C */ addi r7, r11, 0x1c +/* 8014A1FC 0014715C 39 0A 00 01 */ addi r8, r10, 1 +/* 8014A200 00147160 7C C4 3B 2E */ sthx r6, r4, r7 +/* 8014A204 00147164 38 C6 00 01 */ addi r6, r6, 1 +/* 8014A208 00147168 7C E5 4A AE */ lhax r7, r5, r9 +/* 8014A20C 0014716C 1C E7 00 2C */ mulli r7, r7, 0x2c +/* 8014A210 00147170 38 E7 00 1C */ addi r7, r7, 0x1c +/* 8014A214 00147174 7D 04 3B 2E */ sthx r8, r4, r7 +/* 8014A218 00147178 7D 05 62 AE */ lhax r8, r5, r12 +/* 8014A21C 0014717C 7C E5 4A AE */ lhax r7, r5, r9 +/* 8014A220 00147180 7C E5 63 2E */ sthx r7, r5, r12 +/* 8014A224 00147184 7D 05 4B 2E */ sthx r8, r5, r9 +/* 8014A228 00147188 4B FF FF 0C */ b lbl_8014A134 +/* 8014A22C 0014718C 4E 80 00 20 */ blr + +.global RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss +RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss: +/* 8014A230 00147190 1C C4 08 04 */ mulli r6, r4, 0x804 +/* 8014A234 00147194 7C A7 07 34 */ extsh r7, r5 +/* 8014A238 00147198 54 80 08 3C */ slwi r0, r4, 1 +/* 8014A23C 0014719C 54 E4 08 3C */ slwi r4, r7, 1 +/* 8014A240 001471A0 3C C6 00 01 */ addis r6, r6, 1 +/* 8014A244 001471A4 7C A3 02 14 */ add r5, r3, r0 +/* 8014A248 001471A8 38 C6 B0 00 */ addi r6, r6, -20480 +/* 8014A24C 001471AC 7C C3 32 14 */ add r6, r3, r6 +/* 8014A250 001471B0 7C 86 22 14 */ add r4, r6, r4 +/* 8014A254 001471B4 48 00 00 24 */ b lbl_8014A278 +lbl_8014A258: +/* 8014A258 001471B8 A8 04 00 02 */ lha r0, 2(r4) +/* 8014A25C 001471BC 1C 60 00 2C */ mulli r3, r0, 0x2c +/* 8014A260 001471C0 38 03 00 1C */ addi r0, r3, 0x1c +/* 8014A264 001471C4 7C E5 03 2E */ sthx r7, r5, r0 +/* 8014A268 001471C8 38 E7 00 01 */ addi r7, r7, 1 +/* 8014A26C 001471CC A8 04 00 02 */ lha r0, 2(r4) +/* 8014A270 001471D0 B0 04 00 00 */ sth r0, 0(r4) +/* 8014A274 001471D4 38 84 00 02 */ addi r4, r4, 2 +lbl_8014A278: +/* 8014A278 001471D8 80 66 08 00 */ lwz r3, 0x800(r6) +/* 8014A27C 001471DC 38 03 FF FF */ addi r0, r3, -1 +/* 8014A280 001471E0 7C 07 00 00 */ cmpw r7, r0 +/* 8014A284 001471E4 41 80 FF D4 */ blt lbl_8014A258 +/* 8014A288 001471E8 90 06 08 00 */ stw r0, 0x800(r6) +/* 8014A28C 001471EC 4E 80 00 20 */ blr + +.global InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode +InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode: +/* 8014A290 001471F0 1C C4 08 04 */ mulli r6, r4, 0x804 +/* 8014A294 001471F4 54 88 10 3A */ slwi r8, r4, 2 +/* 8014A298 001471F8 38 00 00 00 */ li r0, 0 +/* 8014A29C 001471FC 7C E5 42 14 */ add r7, r5, r8 +/* 8014A2A0 00147200 3C C6 00 01 */ addis r6, r6, 1 +/* 8014A2A4 00147204 C0 27 00 04 */ lfs f1, 4(r7) +/* 8014A2A8 00147208 38 C6 B0 00 */ addi r6, r6, -20480 +/* 8014A2AC 0014720C 7C C3 32 14 */ add r6, r3, r6 +/* 8014A2B0 00147210 81 26 08 00 */ lwz r9, 0x800(r6) +/* 8014A2B4 00147214 7D 2A 4B 78 */ mr r10, r9 +/* 8014A2B8 00147218 48 00 00 48 */ b lbl_8014A300 +lbl_8014A2BC: +/* 8014A2BC 0014721C 55 47 0F FE */ srwi r7, r10, 0x1f +/* 8014A2C0 00147220 7C E7 52 14 */ add r7, r7, r10 +/* 8014A2C4 00147224 7C EB 0E 70 */ srawi r11, r7, 1 +/* 8014A2C8 00147228 7D 80 5A 14 */ add r12, r0, r11 +/* 8014A2CC 0014722C 55 87 08 3C */ slwi r7, r12, 1 +/* 8014A2D0 00147230 7C E6 3A AE */ lhax r7, r6, r7 +/* 8014A2D4 00147234 1C E7 00 2C */ mulli r7, r7, 0x2c +/* 8014A2D8 00147238 38 E7 00 04 */ addi r7, r7, 4 +/* 8014A2DC 0014723C 7C E7 42 14 */ add r7, r7, r8 +/* 8014A2E0 00147240 7C 03 3C 2E */ lfsx f0, r3, r7 +/* 8014A2E4 00147244 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8014A2E8 00147248 40 80 00 14 */ bge lbl_8014A2FC +/* 8014A2EC 0014724C 7C EB 50 50 */ subf r7, r11, r10 +/* 8014A2F0 00147250 38 0C 00 01 */ addi r0, r12, 1 +/* 8014A2F4 00147254 39 47 FF FF */ addi r10, r7, -1 +/* 8014A2F8 00147258 48 00 00 08 */ b lbl_8014A300 +lbl_8014A2FC: +/* 8014A2FC 0014725C 7D 6A 5B 78 */ mr r10, r11 +lbl_8014A300: +/* 8014A300 00147260 2C 0A 00 00 */ cmpwi r10, 0 +/* 8014A304 00147264 41 81 FF B8 */ bgt lbl_8014A2BC +/* 8014A308 00147268 7C 09 00 00 */ cmpw r9, r0 +/* 8014A30C 0014726C 54 8A 08 3C */ slwi r10, r4, 1 +/* 8014A310 00147270 55 27 08 3C */ slwi r7, r9, 1 +/* 8014A314 00147274 7C 80 48 50 */ subf r4, r0, r9 +/* 8014A318 00147278 7C E6 3A 14 */ add r7, r6, r7 +/* 8014A31C 0014727C 7D 03 52 14 */ add r8, r3, r10 +/* 8014A320 00147280 40 81 00 B8 */ ble lbl_8014A3D8 +/* 8014A324 00147284 54 83 F0 BF */ rlwinm. r3, r4, 0x1e, 2, 0x1f +/* 8014A328 00147288 7C 69 03 A6 */ mtctr r3 +/* 8014A32C 0014728C 41 82 00 84 */ beq lbl_8014A3B0 +lbl_8014A330: +/* 8014A330 00147290 A8 67 FF FE */ lha r3, -2(r7) +/* 8014A334 00147294 1C 63 00 2C */ mulli r3, r3, 0x2c +/* 8014A338 00147298 38 63 00 1C */ addi r3, r3, 0x1c +/* 8014A33C 0014729C 7D 28 1B 2E */ sthx r9, r8, r3 +/* 8014A340 001472A0 39 29 FF FF */ addi r9, r9, -1 +/* 8014A344 001472A4 A8 67 FF FE */ lha r3, -2(r7) +/* 8014A348 001472A8 B0 67 00 00 */ sth r3, 0(r7) +/* 8014A34C 001472AC A8 67 FF FC */ lha r3, -4(r7) +/* 8014A350 001472B0 1C 63 00 2C */ mulli r3, r3, 0x2c +/* 8014A354 001472B4 38 63 00 1C */ addi r3, r3, 0x1c +/* 8014A358 001472B8 7D 28 1B 2E */ sthx r9, r8, r3 +/* 8014A35C 001472BC 39 29 FF FF */ addi r9, r9, -1 +/* 8014A360 001472C0 A8 67 FF FC */ lha r3, -4(r7) +/* 8014A364 001472C4 B0 67 FF FE */ sth r3, -2(r7) +/* 8014A368 001472C8 A8 67 FF FA */ lha r3, -6(r7) +/* 8014A36C 001472CC 1C 63 00 2C */ mulli r3, r3, 0x2c +/* 8014A370 001472D0 38 63 00 1C */ addi r3, r3, 0x1c +/* 8014A374 001472D4 7D 28 1B 2E */ sthx r9, r8, r3 +/* 8014A378 001472D8 39 29 FF FF */ addi r9, r9, -1 +/* 8014A37C 001472DC A8 67 FF FA */ lha r3, -6(r7) +/* 8014A380 001472E0 B0 67 FF FC */ sth r3, -4(r7) +/* 8014A384 001472E4 A8 67 FF F8 */ lha r3, -8(r7) +/* 8014A388 001472E8 1C 63 00 2C */ mulli r3, r3, 0x2c +/* 8014A38C 001472EC 38 63 00 1C */ addi r3, r3, 0x1c +/* 8014A390 001472F0 7D 28 1B 2E */ sthx r9, r8, r3 +/* 8014A394 001472F4 39 29 FF FF */ addi r9, r9, -1 +/* 8014A398 001472F8 A8 67 FF F8 */ lha r3, -8(r7) +/* 8014A39C 001472FC B0 67 FF FA */ sth r3, -6(r7) +/* 8014A3A0 00147300 38 E7 FF F8 */ addi r7, r7, -8 +/* 8014A3A4 00147304 42 00 FF 8C */ bdnz lbl_8014A330 +/* 8014A3A8 00147308 70 84 00 03 */ andi. r4, r4, 3 +/* 8014A3AC 0014730C 41 82 00 2C */ beq lbl_8014A3D8 +lbl_8014A3B0: +/* 8014A3B0 00147310 7C 89 03 A6 */ mtctr r4 +lbl_8014A3B4: +/* 8014A3B4 00147314 A8 67 FF FE */ lha r3, -2(r7) +/* 8014A3B8 00147318 1C 63 00 2C */ mulli r3, r3, 0x2c +/* 8014A3BC 0014731C 38 63 00 1C */ addi r3, r3, 0x1c +/* 8014A3C0 00147320 7D 28 1B 2E */ sthx r9, r8, r3 +/* 8014A3C4 00147324 39 29 FF FF */ addi r9, r9, -1 +/* 8014A3C8 00147328 A8 67 FF FE */ lha r3, -2(r7) +/* 8014A3CC 0014732C B0 67 00 00 */ sth r3, 0(r7) +/* 8014A3D0 00147330 38 E7 FF FE */ addi r7, r7, -2 +/* 8014A3D4 00147334 42 00 FF E0 */ bdnz lbl_8014A3B4 +lbl_8014A3D8: +/* 8014A3D8 00147338 80 E5 00 00 */ lwz r7, 0(r5) +/* 8014A3DC 0014733C 7C 65 52 14 */ add r3, r5, r10 +/* 8014A3E0 00147340 54 04 08 3C */ slwi r4, r0, 1 +/* 8014A3E4 00147344 A0 A7 00 08 */ lhz r5, 8(r7) +/* 8014A3E8 00147348 54 A5 05 BE */ clrlwi r5, r5, 0x16 +/* 8014A3EC 0014734C 7C A6 23 2E */ sthx r5, r6, r4 +/* 8014A3F0 00147350 80 86 08 00 */ lwz r4, 0x800(r6) +/* 8014A3F4 00147354 38 84 00 01 */ addi r4, r4, 1 +/* 8014A3F8 00147358 90 86 08 00 */ stw r4, 0x800(r6) +/* 8014A3FC 0014735C B0 03 00 1C */ sth r0, 0x1c(r3) +/* 8014A400 00147360 4E 80 00 20 */ blr + +.global FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf: +/* 8014A404 00147364 1C A4 08 04 */ mulli r5, r4, 0x804 +/* 8014A408 00147368 54 86 10 3A */ slwi r6, r4, 2 +/* 8014A40C 0014736C 39 20 00 00 */ li r9, 0 +/* 8014A410 00147370 3C A5 00 01 */ addis r5, r5, 1 +/* 8014A414 00147374 38 A5 B0 00 */ addi r5, r5, -20480 +/* 8014A418 00147378 7C A3 2A 14 */ add r5, r3, r5 +/* 8014A41C 0014737C 80 E5 08 00 */ lwz r7, 0x800(r5) +/* 8014A420 00147380 48 00 00 48 */ b lbl_8014A468 +lbl_8014A424: +/* 8014A424 00147384 54 E0 0F FE */ srwi r0, r7, 0x1f +/* 8014A428 00147388 7C 00 3A 14 */ add r0, r0, r7 +/* 8014A42C 0014738C 7C 08 0E 70 */ srawi r8, r0, 1 +/* 8014A430 00147390 7D 49 42 14 */ add r10, r9, r8 +/* 8014A434 00147394 55 40 08 3C */ slwi r0, r10, 1 +/* 8014A438 00147398 7C 05 02 AE */ lhax r0, r5, r0 +/* 8014A43C 0014739C 1C 80 00 2C */ mulli r4, r0, 0x2c +/* 8014A440 001473A0 38 04 00 04 */ addi r0, r4, 4 +/* 8014A444 001473A4 7C 00 32 14 */ add r0, r0, r6 +/* 8014A448 001473A8 7C 03 04 2E */ lfsx f0, r3, r0 +/* 8014A44C 001473AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8014A450 001473B0 40 80 00 0C */ bge lbl_8014A45C +/* 8014A454 001473B4 7D 07 43 78 */ mr r7, r8 +/* 8014A458 001473B8 48 00 00 10 */ b lbl_8014A468 +lbl_8014A45C: +/* 8014A45C 001473BC 7C 88 38 50 */ subf r4, r8, r7 +/* 8014A460 001473C0 39 2A 00 01 */ addi r9, r10, 1 +/* 8014A464 001473C4 38 E4 FF FF */ addi r7, r4, -1 +lbl_8014A468: +/* 8014A468 001473C8 2C 07 00 00 */ cmpwi r7, 0 +/* 8014A46C 001473CC 41 81 FF B8 */ bgt lbl_8014A424 +/* 8014A470 001473D0 7D 23 07 34 */ extsh r3, r9 +/* 8014A474 001473D4 4E 80 00 20 */ blr + +.global FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf +FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf: +/* 8014A478 001473D8 1C A4 08 04 */ mulli r5, r4, 0x804 +/* 8014A47C 001473DC 54 86 10 3A */ slwi r6, r4, 2 +/* 8014A480 001473E0 39 20 00 00 */ li r9, 0 +/* 8014A484 001473E4 3C A5 00 01 */ addis r5, r5, 1 +/* 8014A488 001473E8 38 A5 B0 00 */ addi r5, r5, -20480 +/* 8014A48C 001473EC 7C A3 2A 14 */ add r5, r3, r5 +/* 8014A490 001473F0 80 E5 08 00 */ lwz r7, 0x800(r5) +/* 8014A494 001473F4 48 00 00 48 */ b lbl_8014A4DC +lbl_8014A498: +/* 8014A498 001473F8 54 E0 0F FE */ srwi r0, r7, 0x1f +/* 8014A49C 001473FC 7C 00 3A 14 */ add r0, r0, r7 +/* 8014A4A0 00147400 7C 08 0E 70 */ srawi r8, r0, 1 +/* 8014A4A4 00147404 7D 49 42 14 */ add r10, r9, r8 +/* 8014A4A8 00147408 55 40 08 3C */ slwi r0, r10, 1 +/* 8014A4AC 0014740C 7C 05 02 AE */ lhax r0, r5, r0 +/* 8014A4B0 00147410 1C 80 00 2C */ mulli r4, r0, 0x2c +/* 8014A4B4 00147414 38 04 00 04 */ addi r0, r4, 4 +/* 8014A4B8 00147418 7C 00 32 14 */ add r0, r0, r6 +/* 8014A4BC 0014741C 7C 03 04 2E */ lfsx f0, r3, r0 +/* 8014A4C0 00147420 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8014A4C4 00147424 40 80 00 14 */ bge lbl_8014A4D8 +/* 8014A4C8 00147428 7C 88 38 50 */ subf r4, r8, r7 +/* 8014A4CC 0014742C 39 2A 00 01 */ addi r9, r10, 1 +/* 8014A4D0 00147430 38 E4 FF FF */ addi r7, r4, -1 +/* 8014A4D4 00147434 48 00 00 08 */ b lbl_8014A4DC +lbl_8014A4D8: +/* 8014A4D8 00147438 7D 07 43 78 */ mr r7, r8 +lbl_8014A4DC: +/* 8014A4DC 0014743C 2C 07 00 00 */ cmpwi r7, 0 +/* 8014A4E0 00147440 41 81 FF B8 */ bgt lbl_8014A498 +/* 8014A4E4 00147444 7D 23 07 34 */ extsh r3, r9 +/* 8014A4E8 00147448 4E 80 00 20 */ blr + +.global ActorInLists__Q22SL18CSortedListManagerCFPC6CActor +ActorInLists__Q22SL18CSortedListManagerCFPC6CActor: +/* 8014A4EC 0014744C 28 04 00 00 */ cmplwi r4, 0 +/* 8014A4F0 00147450 38 A0 00 00 */ li r5, 0 +/* 8014A4F4 00147454 41 82 00 24 */ beq lbl_8014A518 +/* 8014A4F8 00147458 A0 04 00 08 */ lhz r0, 8(r4) +/* 8014A4FC 0014745C 54 00 05 BE */ clrlwi r0, r0, 0x16 +/* 8014A500 00147460 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 8014A504 00147464 7C 63 02 14 */ add r3, r3, r0 +/* 8014A508 00147468 88 03 00 2A */ lbz r0, 0x2a(r3) +/* 8014A50C 0014746C 28 00 00 00 */ cmplwi r0, 0 +/* 8014A510 00147470 41 82 00 08 */ beq lbl_8014A518 +/* 8014A514 00147474 38 A0 00 01 */ li r5, 1 +lbl_8014A518: +/* 8014A518 00147478 7C A3 2B 78 */ mr r3, r5 +/* 8014A51C 0014747C 4E 80 00 20 */ blr + +.global Reset__Q22SL18CSortedListManagerFv +Reset__Q22SL18CSortedListManagerFv: +/* 8014A520 00147480 94 21 F7 C0 */ stwu r1, -0x840(r1) +/* 8014A524 00147484 7C 08 02 A6 */ mflr r0 +/* 8014A528 00147488 90 01 08 44 */ stw r0, 0x844(r1) +/* 8014A52C 0014748C 93 E1 08 3C */ stw r31, 0x83c(r1) +/* 8014A530 00147490 7C 7F 1B 78 */ mr r31, r3 +/* 8014A534 00147494 38 61 00 08 */ addi r3, r1, 8 +/* 8014A538 00147498 48 00 06 61 */ bl __ct__Q22SL5SNodeFv +/* 8014A53C 0014749C 38 00 00 80 */ li r0, 0x80 +/* 8014A540 001474A0 7F E3 FB 78 */ mr r3, r31 +/* 8014A544 001474A4 7C 09 03 A6 */ mtctr r0 +lbl_8014A548: +/* 8014A548 001474A8 80 01 00 08 */ lwz r0, 8(r1) +/* 8014A54C 001474AC 90 03 00 00 */ stw r0, 0(r3) +/* 8014A550 001474B0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8014A554 001474B4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014A558 001474B8 90 83 00 04 */ stw r4, 4(r3) +/* 8014A55C 001474BC 90 03 00 08 */ stw r0, 8(r3) +/* 8014A560 001474C0 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8014A564 001474C4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8014A568 001474C8 90 83 00 0C */ stw r4, 0xc(r3) +/* 8014A56C 001474CC 90 03 00 10 */ stw r0, 0x10(r3) +/* 8014A570 001474D0 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8014A574 001474D4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8014A578 001474D8 90 83 00 14 */ stw r4, 0x14(r3) +/* 8014A57C 001474DC 90 03 00 18 */ stw r0, 0x18(r3) +/* 8014A580 001474E0 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8014A584 001474E4 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8014A588 001474E8 90 83 00 1C */ stw r4, 0x1c(r3) +/* 8014A58C 001474EC 90 03 00 20 */ stw r0, 0x20(r3) +/* 8014A590 001474F0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8014A594 001474F4 90 03 00 24 */ stw r0, 0x24(r3) +/* 8014A598 001474F8 A8 01 00 30 */ lha r0, 0x30(r1) +/* 8014A59C 001474FC B0 03 00 28 */ sth r0, 0x28(r3) +/* 8014A5A0 00147500 88 01 00 32 */ lbz r0, 0x32(r1) +/* 8014A5A4 00147504 98 03 00 2A */ stb r0, 0x2a(r3) +/* 8014A5A8 00147508 80 01 00 08 */ lwz r0, 8(r1) +/* 8014A5AC 0014750C 90 03 00 2C */ stw r0, 0x2c(r3) +/* 8014A5B0 00147510 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8014A5B4 00147514 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014A5B8 00147518 90 83 00 30 */ stw r4, 0x30(r3) +/* 8014A5BC 0014751C 90 03 00 34 */ stw r0, 0x34(r3) +/* 8014A5C0 00147520 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8014A5C4 00147524 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8014A5C8 00147528 90 83 00 38 */ stw r4, 0x38(r3) +/* 8014A5CC 0014752C 90 03 00 3C */ stw r0, 0x3c(r3) +/* 8014A5D0 00147530 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8014A5D4 00147534 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8014A5D8 00147538 90 83 00 40 */ stw r4, 0x40(r3) +/* 8014A5DC 0014753C 90 03 00 44 */ stw r0, 0x44(r3) +/* 8014A5E0 00147540 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8014A5E4 00147544 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8014A5E8 00147548 90 83 00 48 */ stw r4, 0x48(r3) +/* 8014A5EC 0014754C 90 03 00 4C */ stw r0, 0x4c(r3) +/* 8014A5F0 00147550 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8014A5F4 00147554 90 03 00 50 */ stw r0, 0x50(r3) +/* 8014A5F8 00147558 A8 01 00 30 */ lha r0, 0x30(r1) +/* 8014A5FC 0014755C B0 03 00 54 */ sth r0, 0x54(r3) +/* 8014A600 00147560 88 01 00 32 */ lbz r0, 0x32(r1) +/* 8014A604 00147564 98 03 00 56 */ stb r0, 0x56(r3) +/* 8014A608 00147568 80 01 00 08 */ lwz r0, 8(r1) +/* 8014A60C 0014756C 90 03 00 58 */ stw r0, 0x58(r3) +/* 8014A610 00147570 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8014A614 00147574 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014A618 00147578 90 83 00 5C */ stw r4, 0x5c(r3) +/* 8014A61C 0014757C 90 03 00 60 */ stw r0, 0x60(r3) +/* 8014A620 00147580 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8014A624 00147584 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8014A628 00147588 90 83 00 64 */ stw r4, 0x64(r3) +/* 8014A62C 0014758C 90 03 00 68 */ stw r0, 0x68(r3) +/* 8014A630 00147590 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8014A634 00147594 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8014A638 00147598 90 83 00 6C */ stw r4, 0x6c(r3) +/* 8014A63C 0014759C 90 03 00 70 */ stw r0, 0x70(r3) +/* 8014A640 001475A0 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8014A644 001475A4 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8014A648 001475A8 90 83 00 74 */ stw r4, 0x74(r3) +/* 8014A64C 001475AC 90 03 00 78 */ stw r0, 0x78(r3) +/* 8014A650 001475B0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8014A654 001475B4 90 03 00 7C */ stw r0, 0x7c(r3) +/* 8014A658 001475B8 A8 01 00 30 */ lha r0, 0x30(r1) +/* 8014A65C 001475BC B0 03 00 80 */ sth r0, 0x80(r3) +/* 8014A660 001475C0 88 01 00 32 */ lbz r0, 0x32(r1) +/* 8014A664 001475C4 98 03 00 82 */ stb r0, 0x82(r3) +/* 8014A668 001475C8 80 01 00 08 */ lwz r0, 8(r1) +/* 8014A66C 001475CC 90 03 00 84 */ stw r0, 0x84(r3) +/* 8014A670 001475D0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8014A674 001475D4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014A678 001475D8 90 83 00 88 */ stw r4, 0x88(r3) +/* 8014A67C 001475DC 90 03 00 8C */ stw r0, 0x8c(r3) +/* 8014A680 001475E0 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8014A684 001475E4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8014A688 001475E8 90 83 00 90 */ stw r4, 0x90(r3) +/* 8014A68C 001475EC 90 03 00 94 */ stw r0, 0x94(r3) +/* 8014A690 001475F0 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8014A694 001475F4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8014A698 001475F8 90 83 00 98 */ stw r4, 0x98(r3) +/* 8014A69C 001475FC 90 03 00 9C */ stw r0, 0x9c(r3) +/* 8014A6A0 00147600 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8014A6A4 00147604 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8014A6A8 00147608 90 83 00 A0 */ stw r4, 0xa0(r3) +/* 8014A6AC 0014760C 90 03 00 A4 */ stw r0, 0xa4(r3) +/* 8014A6B0 00147610 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8014A6B4 00147614 90 03 00 A8 */ stw r0, 0xa8(r3) +/* 8014A6B8 00147618 A8 01 00 30 */ lha r0, 0x30(r1) +/* 8014A6BC 0014761C B0 03 00 AC */ sth r0, 0xac(r3) +/* 8014A6C0 00147620 88 01 00 32 */ lbz r0, 0x32(r1) +/* 8014A6C4 00147624 98 03 00 AE */ stb r0, 0xae(r3) +/* 8014A6C8 00147628 80 01 00 08 */ lwz r0, 8(r1) +/* 8014A6CC 0014762C 90 03 00 B0 */ stw r0, 0xb0(r3) +/* 8014A6D0 00147630 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8014A6D4 00147634 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014A6D8 00147638 90 83 00 B4 */ stw r4, 0xb4(r3) +/* 8014A6DC 0014763C 90 03 00 B8 */ stw r0, 0xb8(r3) +/* 8014A6E0 00147640 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8014A6E4 00147644 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8014A6E8 00147648 90 83 00 BC */ stw r4, 0xbc(r3) +/* 8014A6EC 0014764C 90 03 00 C0 */ stw r0, 0xc0(r3) +/* 8014A6F0 00147650 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8014A6F4 00147654 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8014A6F8 00147658 90 83 00 C4 */ stw r4, 0xc4(r3) +/* 8014A6FC 0014765C 90 03 00 C8 */ stw r0, 0xc8(r3) +/* 8014A700 00147660 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8014A704 00147664 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8014A708 00147668 90 83 00 CC */ stw r4, 0xcc(r3) +/* 8014A70C 0014766C 90 03 00 D0 */ stw r0, 0xd0(r3) +/* 8014A710 00147670 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8014A714 00147674 90 03 00 D4 */ stw r0, 0xd4(r3) +/* 8014A718 00147678 A8 01 00 30 */ lha r0, 0x30(r1) +/* 8014A71C 0014767C B0 03 00 D8 */ sth r0, 0xd8(r3) +/* 8014A720 00147680 88 01 00 32 */ lbz r0, 0x32(r1) +/* 8014A724 00147684 98 03 00 DA */ stb r0, 0xda(r3) +/* 8014A728 00147688 80 01 00 08 */ lwz r0, 8(r1) +/* 8014A72C 0014768C 90 03 00 DC */ stw r0, 0xdc(r3) +/* 8014A730 00147690 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8014A734 00147694 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014A738 00147698 90 83 00 E0 */ stw r4, 0xe0(r3) +/* 8014A73C 0014769C 90 03 00 E4 */ stw r0, 0xe4(r3) +/* 8014A740 001476A0 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8014A744 001476A4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8014A748 001476A8 90 83 00 E8 */ stw r4, 0xe8(r3) +/* 8014A74C 001476AC 90 03 00 EC */ stw r0, 0xec(r3) +/* 8014A750 001476B0 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8014A754 001476B4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8014A758 001476B8 90 83 00 F0 */ stw r4, 0xf0(r3) +/* 8014A75C 001476BC 90 03 00 F4 */ stw r0, 0xf4(r3) +/* 8014A760 001476C0 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8014A764 001476C4 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8014A768 001476C8 90 83 00 F8 */ stw r4, 0xf8(r3) +/* 8014A76C 001476CC 90 03 00 FC */ stw r0, 0xfc(r3) +/* 8014A770 001476D0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8014A774 001476D4 90 03 01 00 */ stw r0, 0x100(r3) +/* 8014A778 001476D8 A8 01 00 30 */ lha r0, 0x30(r1) +/* 8014A77C 001476DC B0 03 01 04 */ sth r0, 0x104(r3) +/* 8014A780 001476E0 88 01 00 32 */ lbz r0, 0x32(r1) +/* 8014A784 001476E4 98 03 01 06 */ stb r0, 0x106(r3) +/* 8014A788 001476E8 80 01 00 08 */ lwz r0, 8(r1) +/* 8014A78C 001476EC 90 03 01 08 */ stw r0, 0x108(r3) +/* 8014A790 001476F0 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8014A794 001476F4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014A798 001476F8 90 83 01 0C */ stw r4, 0x10c(r3) +/* 8014A79C 001476FC 90 03 01 10 */ stw r0, 0x110(r3) +/* 8014A7A0 00147700 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8014A7A4 00147704 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8014A7A8 00147708 90 83 01 14 */ stw r4, 0x114(r3) +/* 8014A7AC 0014770C 90 03 01 18 */ stw r0, 0x118(r3) +/* 8014A7B0 00147710 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8014A7B4 00147714 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8014A7B8 00147718 90 83 01 1C */ stw r4, 0x11c(r3) +/* 8014A7BC 0014771C 90 03 01 20 */ stw r0, 0x120(r3) +/* 8014A7C0 00147720 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8014A7C4 00147724 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8014A7C8 00147728 90 83 01 24 */ stw r4, 0x124(r3) +/* 8014A7CC 0014772C 90 03 01 28 */ stw r0, 0x128(r3) +/* 8014A7D0 00147730 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8014A7D4 00147734 90 03 01 2C */ stw r0, 0x12c(r3) +/* 8014A7D8 00147738 A8 01 00 30 */ lha r0, 0x30(r1) +/* 8014A7DC 0014773C B0 03 01 30 */ sth r0, 0x130(r3) +/* 8014A7E0 00147740 88 01 00 32 */ lbz r0, 0x32(r1) +/* 8014A7E4 00147744 98 03 01 32 */ stb r0, 0x132(r3) +/* 8014A7E8 00147748 80 01 00 08 */ lwz r0, 8(r1) +/* 8014A7EC 0014774C 90 03 01 34 */ stw r0, 0x134(r3) +/* 8014A7F0 00147750 80 81 00 0C */ lwz r4, 0xc(r1) +/* 8014A7F4 00147754 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014A7F8 00147758 90 83 01 38 */ stw r4, 0x138(r3) +/* 8014A7FC 0014775C 90 03 01 3C */ stw r0, 0x13c(r3) +/* 8014A800 00147760 80 81 00 14 */ lwz r4, 0x14(r1) +/* 8014A804 00147764 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8014A808 00147768 90 83 01 40 */ stw r4, 0x140(r3) +/* 8014A80C 0014776C 90 03 01 44 */ stw r0, 0x144(r3) +/* 8014A810 00147770 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8014A814 00147774 80 01 00 20 */ lwz r0, 0x20(r1) +/* 8014A818 00147778 90 83 01 48 */ stw r4, 0x148(r3) +/* 8014A81C 0014777C 90 03 01 4C */ stw r0, 0x14c(r3) +/* 8014A820 00147780 80 81 00 24 */ lwz r4, 0x24(r1) +/* 8014A824 00147784 80 01 00 28 */ lwz r0, 0x28(r1) +/* 8014A828 00147788 90 83 01 50 */ stw r4, 0x150(r3) +/* 8014A82C 0014778C 90 03 01 54 */ stw r0, 0x154(r3) +/* 8014A830 00147790 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8014A834 00147794 90 03 01 58 */ stw r0, 0x158(r3) +/* 8014A838 00147798 A8 01 00 30 */ lha r0, 0x30(r1) +/* 8014A83C 0014779C B0 03 01 5C */ sth r0, 0x15c(r3) +/* 8014A840 001477A0 88 01 00 32 */ lbz r0, 0x32(r1) +/* 8014A844 001477A4 98 03 01 5E */ stb r0, 0x15e(r3) +/* 8014A848 001477A8 38 63 01 60 */ addi r3, r3, 0x160 +/* 8014A84C 001477AC 42 00 FC FC */ bdnz lbl_8014A548 +/* 8014A850 001477B0 38 60 00 00 */ li r3, 0 +/* 8014A854 001477B4 38 00 00 20 */ li r0, 0x20 +/* 8014A858 001477B8 90 61 08 34 */ stw r3, 0x834(r1) +/* 8014A85C 001477BC 38 81 00 34 */ addi r4, r1, 0x34 +/* 8014A860 001477C0 38 60 FF FF */ li r3, -1 +/* 8014A864 001477C4 7C 09 03 A6 */ mtctr r0 +lbl_8014A868: +/* 8014A868 001477C8 B0 64 00 00 */ sth r3, 0(r4) +/* 8014A86C 001477CC B0 64 00 02 */ sth r3, 2(r4) +/* 8014A870 001477D0 B0 64 00 04 */ sth r3, 4(r4) +/* 8014A874 001477D4 B0 64 00 06 */ sth r3, 6(r4) +/* 8014A878 001477D8 B0 64 00 08 */ sth r3, 8(r4) +/* 8014A87C 001477DC B0 64 00 0A */ sth r3, 0xa(r4) +/* 8014A880 001477E0 B0 64 00 0C */ sth r3, 0xc(r4) +/* 8014A884 001477E4 B0 64 00 0E */ sth r3, 0xe(r4) +/* 8014A888 001477E8 B0 64 00 10 */ sth r3, 0x10(r4) +/* 8014A88C 001477EC B0 64 00 12 */ sth r3, 0x12(r4) +/* 8014A890 001477F0 B0 64 00 14 */ sth r3, 0x14(r4) +/* 8014A894 001477F4 B0 64 00 16 */ sth r3, 0x16(r4) +/* 8014A898 001477F8 B0 64 00 18 */ sth r3, 0x18(r4) +/* 8014A89C 001477FC B0 64 00 1A */ sth r3, 0x1a(r4) +/* 8014A8A0 00147800 B0 64 00 1C */ sth r3, 0x1c(r4) +/* 8014A8A4 00147804 B0 64 00 1E */ sth r3, 0x1e(r4) +/* 8014A8A8 00147808 B0 64 00 20 */ sth r3, 0x20(r4) +/* 8014A8AC 0014780C B0 64 00 22 */ sth r3, 0x22(r4) +/* 8014A8B0 00147810 B0 64 00 24 */ sth r3, 0x24(r4) +/* 8014A8B4 00147814 B0 64 00 26 */ sth r3, 0x26(r4) +/* 8014A8B8 00147818 B0 64 00 28 */ sth r3, 0x28(r4) +/* 8014A8BC 0014781C B0 64 00 2A */ sth r3, 0x2a(r4) +/* 8014A8C0 00147820 B0 64 00 2C */ sth r3, 0x2c(r4) +/* 8014A8C4 00147824 B0 64 00 2E */ sth r3, 0x2e(r4) +/* 8014A8C8 00147828 B0 64 00 30 */ sth r3, 0x30(r4) +/* 8014A8CC 0014782C B0 64 00 32 */ sth r3, 0x32(r4) +/* 8014A8D0 00147830 B0 64 00 34 */ sth r3, 0x34(r4) +/* 8014A8D4 00147834 B0 64 00 36 */ sth r3, 0x36(r4) +/* 8014A8D8 00147838 B0 64 00 38 */ sth r3, 0x38(r4) +/* 8014A8DC 0014783C B0 64 00 3A */ sth r3, 0x3a(r4) +/* 8014A8E0 00147840 B0 64 00 3C */ sth r3, 0x3c(r4) +/* 8014A8E4 00147844 B0 64 00 3E */ sth r3, 0x3e(r4) +/* 8014A8E8 00147848 38 84 00 40 */ addi r4, r4, 0x40 +/* 8014A8EC 0014784C 42 00 FF 7C */ bdnz lbl_8014A868 +/* 8014A8F0 00147850 3C 7F 00 01 */ addis r3, r31, 1 +/* 8014A8F4 00147854 38 00 01 00 */ li r0, 0x100 +/* 8014A8F8 00147858 38 A3 AF FC */ addi r5, r3, -20484 +/* 8014A8FC 0014785C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8014A900 00147860 7C 09 03 A6 */ mtctr r0 +lbl_8014A904: +/* 8014A904 00147864 80 64 00 04 */ lwz r3, 4(r4) +/* 8014A908 00147868 84 04 00 08 */ lwzu r0, 8(r4) +/* 8014A90C 0014786C 90 65 00 04 */ stw r3, 4(r5) +/* 8014A910 00147870 94 05 00 08 */ stwu r0, 8(r5) +/* 8014A914 00147874 42 00 FF F0 */ bdnz lbl_8014A904 +/* 8014A918 00147878 80 A1 08 34 */ lwz r5, 0x834(r1) +/* 8014A91C 0014787C 3C 7F 00 01 */ addis r3, r31, 1 +/* 8014A920 00147880 38 00 01 00 */ li r0, 0x100 +/* 8014A924 00147884 38 81 00 30 */ addi r4, r1, 0x30 +/* 8014A928 00147888 90 A3 B8 00 */ stw r5, -0x4800(r3) +/* 8014A92C 0014788C 38 A3 B8 00 */ addi r5, r3, -18432 +/* 8014A930 00147890 7C 09 03 A6 */ mtctr r0 +lbl_8014A934: +/* 8014A934 00147894 80 64 00 04 */ lwz r3, 4(r4) +/* 8014A938 00147898 84 04 00 08 */ lwzu r0, 8(r4) +/* 8014A93C 0014789C 90 65 00 04 */ stw r3, 4(r5) +/* 8014A940 001478A0 94 05 00 08 */ stwu r0, 8(r5) +/* 8014A944 001478A4 42 00 FF F0 */ bdnz lbl_8014A934 +/* 8014A948 001478A8 80 A1 08 34 */ lwz r5, 0x834(r1) +/* 8014A94C 001478AC 3C 7F 00 01 */ addis r3, r31, 1 +/* 8014A950 001478B0 38 00 01 00 */ li r0, 0x100 +/* 8014A954 001478B4 38 81 00 30 */ addi r4, r1, 0x30 +/* 8014A958 001478B8 90 A3 C0 04 */ stw r5, -0x3ffc(r3) +/* 8014A95C 001478BC 38 A3 C0 04 */ addi r5, r3, -16380 +/* 8014A960 001478C0 7C 09 03 A6 */ mtctr r0 +lbl_8014A964: +/* 8014A964 001478C4 80 64 00 04 */ lwz r3, 4(r4) +/* 8014A968 001478C8 84 04 00 08 */ lwzu r0, 8(r4) +/* 8014A96C 001478CC 90 65 00 04 */ stw r3, 4(r5) +/* 8014A970 001478D0 94 05 00 08 */ stwu r0, 8(r5) +/* 8014A974 001478D4 42 00 FF F0 */ bdnz lbl_8014A964 +/* 8014A978 001478D8 80 A1 08 34 */ lwz r5, 0x834(r1) +/* 8014A97C 001478DC 3C 7F 00 01 */ addis r3, r31, 1 +/* 8014A980 001478E0 38 00 01 00 */ li r0, 0x100 +/* 8014A984 001478E4 38 81 00 30 */ addi r4, r1, 0x30 +/* 8014A988 001478E8 90 A3 C8 08 */ stw r5, -0x37f8(r3) +/* 8014A98C 001478EC 38 A3 C8 08 */ addi r5, r3, -14328 +/* 8014A990 001478F0 7C 09 03 A6 */ mtctr r0 +lbl_8014A994: +/* 8014A994 001478F4 80 64 00 04 */ lwz r3, 4(r4) +/* 8014A998 001478F8 84 04 00 08 */ lwzu r0, 8(r4) +/* 8014A99C 001478FC 90 65 00 04 */ stw r3, 4(r5) +/* 8014A9A0 00147900 94 05 00 08 */ stwu r0, 8(r5) +/* 8014A9A4 00147904 42 00 FF F0 */ bdnz lbl_8014A994 +/* 8014A9A8 00147908 80 A1 08 34 */ lwz r5, 0x834(r1) +/* 8014A9AC 0014790C 3C 7F 00 01 */ addis r3, r31, 1 +/* 8014A9B0 00147910 38 00 01 00 */ li r0, 0x100 +/* 8014A9B4 00147914 38 81 00 30 */ addi r4, r1, 0x30 +/* 8014A9B8 00147918 90 A3 D0 0C */ stw r5, -0x2ff4(r3) +/* 8014A9BC 0014791C 38 A3 D0 0C */ addi r5, r3, -12276 +/* 8014A9C0 00147920 7C 09 03 A6 */ mtctr r0 +lbl_8014A9C4: +/* 8014A9C4 00147924 80 64 00 04 */ lwz r3, 4(r4) +/* 8014A9C8 00147928 84 04 00 08 */ lwzu r0, 8(r4) +/* 8014A9CC 0014792C 90 65 00 04 */ stw r3, 4(r5) +/* 8014A9D0 00147930 94 05 00 08 */ stwu r0, 8(r5) +/* 8014A9D4 00147934 42 00 FF F0 */ bdnz lbl_8014A9C4 +/* 8014A9D8 00147938 80 A1 08 34 */ lwz r5, 0x834(r1) +/* 8014A9DC 0014793C 3C 7F 00 01 */ addis r3, r31, 1 +/* 8014A9E0 00147940 38 00 01 00 */ li r0, 0x100 +/* 8014A9E4 00147944 38 81 00 30 */ addi r4, r1, 0x30 +/* 8014A9E8 00147948 90 A3 D8 10 */ stw r5, -0x27f0(r3) +/* 8014A9EC 0014794C 38 A3 D8 10 */ addi r5, r3, -10224 +/* 8014A9F0 00147950 7C 09 03 A6 */ mtctr r0 +lbl_8014A9F4: +/* 8014A9F4 00147954 80 64 00 04 */ lwz r3, 4(r4) +/* 8014A9F8 00147958 84 04 00 08 */ lwzu r0, 8(r4) +/* 8014A9FC 0014795C 90 65 00 04 */ stw r3, 4(r5) +/* 8014AA00 00147960 94 05 00 08 */ stwu r0, 8(r5) +/* 8014AA04 00147964 42 00 FF F0 */ bdnz lbl_8014A9F4 +/* 8014AA08 00147968 80 01 08 34 */ lwz r0, 0x834(r1) +/* 8014AA0C 0014796C 3C 7F 00 01 */ addis r3, r31, 1 +/* 8014AA10 00147970 90 03 E0 14 */ stw r0, -0x1fec(r3) +/* 8014AA14 00147974 83 E1 08 3C */ lwz r31, 0x83c(r1) +/* 8014AA18 00147978 80 01 08 44 */ lwz r0, 0x844(r1) +/* 8014AA1C 0014797C 7C 08 03 A6 */ mtlr r0 +/* 8014AA20 00147980 38 21 08 40 */ addi r1, r1, 0x840 +/* 8014AA24 00147984 4E 80 00 20 */ blr + +.global __ct__Q22SL18CSortedListManagerFv +__ct__Q22SL18CSortedListManagerFv: +/* 8014AA28 00147988 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8014AA2C 0014798C 7C 08 02 A6 */ mflr r0 +/* 8014AA30 00147990 3C 80 80 15 */ lis r4, __ct__Q22SL5SNodeFv@ha +/* 8014AA34 00147994 38 A0 00 00 */ li r5, 0 +/* 8014AA38 00147998 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014AA3C 0014799C 38 84 AB 98 */ addi r4, r4, __ct__Q22SL5SNodeFv@l +/* 8014AA40 001479A0 38 C0 00 2C */ li r6, 0x2c +/* 8014AA44 001479A4 38 E0 04 00 */ li r7, 0x400 +/* 8014AA48 001479A8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8014AA4C 001479AC 7C 7F 1B 78 */ mr r31, r3 +/* 8014AA50 001479B0 48 23 EC FD */ bl __construct_array +/* 8014AA54 001479B4 3C 80 80 15 */ lis r4, __ct__Q22SL11SSortedListFv@ha +/* 8014AA58 001479B8 3C 7F 00 01 */ addis r3, r31, 1 +/* 8014AA5C 001479BC 38 84 AA 94 */ addi r4, r4, __ct__Q22SL11SSortedListFv@l +/* 8014AA60 001479C0 38 A0 00 00 */ li r5, 0 +/* 8014AA64 001479C4 38 C0 08 04 */ li r6, 0x804 +/* 8014AA68 001479C8 38 E0 00 06 */ li r7, 6 +/* 8014AA6C 001479CC 38 63 B0 00 */ addi r3, r3, -20480 +/* 8014AA70 001479D0 48 23 EC DD */ bl __construct_array +/* 8014AA74 001479D4 7F E3 FB 78 */ mr r3, r31 +/* 8014AA78 001479D8 4B FF FA A9 */ bl Reset__Q22SL18CSortedListManagerFv +/* 8014AA7C 001479DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8014AA80 001479E0 7F E3 FB 78 */ mr r3, r31 +/* 8014AA84 001479E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8014AA88 001479E8 7C 08 03 A6 */ mtlr r0 +/* 8014AA8C 001479EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8014AA90 001479F0 4E 80 00 20 */ blr + +.global __ct__Q22SL11SSortedListFv +__ct__Q22SL11SSortedListFv: +/* 8014AA94 001479F4 38 80 00 00 */ li r4, 0 +/* 8014AA98 001479F8 38 00 00 20 */ li r0, 0x20 +/* 8014AA9C 001479FC 90 83 08 00 */ stw r4, 0x800(r3) +/* 8014AAA0 00147A00 7C 65 1B 78 */ mr r5, r3 +/* 8014AAA4 00147A04 38 80 FF FF */ li r4, -1 +/* 8014AAA8 00147A08 7C 09 03 A6 */ mtctr r0 +lbl_8014AAAC: +/* 8014AAAC 00147A0C B0 85 00 00 */ sth r4, 0(r5) +/* 8014AAB0 00147A10 B0 85 00 02 */ sth r4, 2(r5) +/* 8014AAB4 00147A14 B0 85 00 04 */ sth r4, 4(r5) +/* 8014AAB8 00147A18 B0 85 00 06 */ sth r4, 6(r5) +/* 8014AABC 00147A1C B0 85 00 08 */ sth r4, 8(r5) +/* 8014AAC0 00147A20 B0 85 00 0A */ sth r4, 0xa(r5) +/* 8014AAC4 00147A24 B0 85 00 0C */ sth r4, 0xc(r5) +/* 8014AAC8 00147A28 B0 85 00 0E */ sth r4, 0xe(r5) +/* 8014AACC 00147A2C B0 85 00 10 */ sth r4, 0x10(r5) +/* 8014AAD0 00147A30 B0 85 00 12 */ sth r4, 0x12(r5) +/* 8014AAD4 00147A34 B0 85 00 14 */ sth r4, 0x14(r5) +/* 8014AAD8 00147A38 B0 85 00 16 */ sth r4, 0x16(r5) +/* 8014AADC 00147A3C B0 85 00 18 */ sth r4, 0x18(r5) +/* 8014AAE0 00147A40 B0 85 00 1A */ sth r4, 0x1a(r5) +/* 8014AAE4 00147A44 B0 85 00 1C */ sth r4, 0x1c(r5) +/* 8014AAE8 00147A48 B0 85 00 1E */ sth r4, 0x1e(r5) +/* 8014AAEC 00147A4C B0 85 00 20 */ sth r4, 0x20(r5) +/* 8014AAF0 00147A50 B0 85 00 22 */ sth r4, 0x22(r5) +/* 8014AAF4 00147A54 B0 85 00 24 */ sth r4, 0x24(r5) +/* 8014AAF8 00147A58 B0 85 00 26 */ sth r4, 0x26(r5) +/* 8014AAFC 00147A5C B0 85 00 28 */ sth r4, 0x28(r5) +/* 8014AB00 00147A60 B0 85 00 2A */ sth r4, 0x2a(r5) +/* 8014AB04 00147A64 B0 85 00 2C */ sth r4, 0x2c(r5) +/* 8014AB08 00147A68 B0 85 00 2E */ sth r4, 0x2e(r5) +/* 8014AB0C 00147A6C B0 85 00 30 */ sth r4, 0x30(r5) +/* 8014AB10 00147A70 B0 85 00 32 */ sth r4, 0x32(r5) +/* 8014AB14 00147A74 B0 85 00 34 */ sth r4, 0x34(r5) +/* 8014AB18 00147A78 B0 85 00 36 */ sth r4, 0x36(r5) +/* 8014AB1C 00147A7C B0 85 00 38 */ sth r4, 0x38(r5) +/* 8014AB20 00147A80 B0 85 00 3A */ sth r4, 0x3a(r5) +/* 8014AB24 00147A84 B0 85 00 3C */ sth r4, 0x3c(r5) +/* 8014AB28 00147A88 B0 85 00 3E */ sth r4, 0x3e(r5) +/* 8014AB2C 00147A8C 38 A5 00 40 */ addi r5, r5, 0x40 +/* 8014AB30 00147A90 42 00 FF 7C */ bdnz lbl_8014AAAC +/* 8014AB34 00147A94 4E 80 00 20 */ blr + +.global __ct__Q22SL5SNodeFP6CActorRC6CAABox +__ct__Q22SL5SNodeFP6CActorRC6CAABox: +/* 8014AB38 00147A98 90 83 00 00 */ stw r4, 0(r3) +/* 8014AB3C 00147A9C 38 80 FF FF */ li r4, -1 +/* 8014AB40 00147AA0 38 00 00 01 */ li r0, 1 +/* 8014AB44 00147AA4 C0 05 00 00 */ lfs f0, 0(r5) +/* 8014AB48 00147AA8 D0 03 00 04 */ stfs f0, 4(r3) +/* 8014AB4C 00147AAC C0 05 00 04 */ lfs f0, 4(r5) +/* 8014AB50 00147AB0 D0 03 00 08 */ stfs f0, 8(r3) +/* 8014AB54 00147AB4 C0 05 00 08 */ lfs f0, 8(r5) +/* 8014AB58 00147AB8 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8014AB5C 00147ABC C0 05 00 0C */ lfs f0, 0xc(r5) +/* 8014AB60 00147AC0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8014AB64 00147AC4 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8014AB68 00147AC8 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8014AB6C 00147ACC C0 05 00 14 */ lfs f0, 0x14(r5) +/* 8014AB70 00147AD0 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8014AB74 00147AD4 B0 83 00 28 */ sth r4, 0x28(r3) +/* 8014AB78 00147AD8 98 03 00 2A */ stb r0, 0x2a(r3) +/* 8014AB7C 00147ADC B0 83 00 1C */ sth r4, 0x1c(r3) +/* 8014AB80 00147AE0 B0 83 00 1E */ sth r4, 0x1e(r3) +/* 8014AB84 00147AE4 B0 83 00 20 */ sth r4, 0x20(r3) +/* 8014AB88 00147AE8 B0 83 00 22 */ sth r4, 0x22(r3) +/* 8014AB8C 00147AEC B0 83 00 24 */ sth r4, 0x24(r3) +/* 8014AB90 00147AF0 B0 83 00 26 */ sth r4, 0x26(r3) +/* 8014AB94 00147AF4 4E 80 00 20 */ blr + +.global __ct__Q22SL5SNodeFv +__ct__Q22SL5SNodeFv: +/* 8014AB98 00147AF8 38 A0 00 00 */ li r5, 0 +/* 8014AB9C 00147AFC 3C 80 80 5A */ lis r4, lbl_805A6784@ha +/* 8014ABA0 00147B00 90 A3 00 00 */ stw r5, 0(r3) +/* 8014ABA4 00147B04 38 00 FF FF */ li r0, -1 +/* 8014ABA8 00147B08 C4 04 67 84 */ lfsu f0, lbl_805A6784@l(r4) +/* 8014ABAC 00147B0C D0 03 00 04 */ stfs f0, 4(r3) +/* 8014ABB0 00147B10 C0 04 00 04 */ lfs f0, 4(r4) +/* 8014ABB4 00147B14 D0 03 00 08 */ stfs f0, 8(r3) +/* 8014ABB8 00147B18 C0 04 00 08 */ lfs f0, 8(r4) +/* 8014ABBC 00147B1C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8014ABC0 00147B20 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8014ABC4 00147B24 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8014ABC8 00147B28 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8014ABCC 00147B2C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8014ABD0 00147B30 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8014ABD4 00147B34 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 8014ABD8 00147B38 B0 03 00 28 */ sth r0, 0x28(r3) +/* 8014ABDC 00147B3C 98 A3 00 2A */ stb r5, 0x2a(r3) +/* 8014ABE0 00147B40 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CSteeringBehaviors.s b/asm/Kyoto_CWD/CSteeringBehaviors.s new file mode 100644 index 00000000..77520141 --- /dev/null +++ b/asm/Kyoto_CWD/CSteeringBehaviors.s @@ -0,0 +1,2433 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ProjectOrbitalPosition__18CSteeringBehaviorsFRC9CVector3fRC9CVector3fRC9CVector3ff +ProjectOrbitalPosition__18CSteeringBehaviorsFRC9CVector3fRC9CVector3fRC9CVector3ff: +/* 8013CA58 001399B8 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8013CA5C 001399BC 7C 08 02 A6 */ mflr r0 +/* 8013CA60 001399C0 90 01 01 34 */ stw r0, 0x134(r1) +/* 8013CA64 001399C4 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 8013CA68 001399C8 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 8013CA6C 001399CC DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8013CA70 001399D0 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 8013CA74 001399D4 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 8013CA78 001399D8 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 8013CA7C 001399DC DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 8013CA80 001399E0 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 8013CA84 001399E4 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 8013CA88 001399E8 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 8013CA8C 001399EC DB 41 00 D0 */ stfd f26, 0xd0(r1) +/* 8013CA90 001399F0 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 +/* 8013CA94 001399F4 DB 21 00 C0 */ stfd f25, 0xc0(r1) +/* 8013CA98 001399F8 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 +/* 8013CA9C 001399FC DB 01 00 B0 */ stfd f24, 0xb0(r1) +/* 8013CAA0 00139A00 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0 +/* 8013CAA4 00139A04 DA E1 00 A0 */ stfd f23, 0xa0(r1) +/* 8013CAA8 00139A08 F2 E1 00 A8 */ psq_st f23, 168(r1), 0, qr0 +/* 8013CAAC 00139A0C DA C1 00 90 */ stfd f22, 0x90(r1) +/* 8013CAB0 00139A10 F2 C1 00 98 */ psq_st f22, 152(r1), 0, qr0 +/* 8013CAB4 00139A14 DA A1 00 80 */ stfd f21, 0x80(r1) +/* 8013CAB8 00139A18 F2 A1 00 88 */ psq_st f21, 136(r1), 0, qr0 +/* 8013CABC 00139A1C DA 81 00 70 */ stfd f20, 0x70(r1) +/* 8013CAC0 00139A20 F2 81 00 78 */ psq_st f20, 120(r1), 0, qr0 +/* 8013CAC4 00139A24 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8013CAC8 00139A28 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8013CACC 00139A2C 93 A1 00 64 */ stw r29, 0x64(r1) +/* 8013CAD0 00139A30 93 81 00 60 */ stw r28, 0x60(r1) +/* 8013CAD4 00139A34 7C 9D 23 78 */ mr r29, r4 +/* 8013CAD8 00139A38 FE 80 08 90 */ fmr f20, f1 +/* 8013CADC 00139A3C FE A0 10 90 */ fmr f21, f2 +/* 8013CAE0 00139A40 7C BF 2B 78 */ mr r31, r5 +/* 8013CAE4 00139A44 7C 7C 1B 78 */ mr r28, r3 +/* 8013CAE8 00139A48 C3 84 00 00 */ lfs f28, 0(r4) +/* 8013CAEC 00139A4C C3 64 00 04 */ lfs f27, 4(r4) +/* 8013CAF0 00139A50 C3 44 00 08 */ lfs f26, 8(r4) +/* 8013CAF4 00139A54 7C DE 33 78 */ mr r30, r6 +/* 8013CAF8 00139A58 7F E3 FB 78 */ mr r3, r31 +/* 8013CAFC 00139A5C 48 1D 7B FD */ bl CanBeNormalized__9CVector3fCFv +/* 8013CB00 00139A60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013CB04 00139A64 41 82 01 C0 */ beq lbl_8013CCC4 +/* 8013CB08 00139A68 C0 5D 00 04 */ lfs f2, 4(r29) +/* 8013CB0C 00139A6C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013CB10 00139A70 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8013CB14 00139A74 C0 3D 00 00 */ lfs f1, 0(r29) +/* 8013CB18 00139A78 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8013CB1C 00139A7C C0 1E 00 00 */ lfs f0, 0(r30) +/* 8013CB20 00139A80 C0 7D 00 08 */ lfs f3, 8(r29) +/* 8013CB24 00139A84 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8013CB28 00139A88 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8013CB2C 00139A8C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8013CB30 00139A90 EC 03 00 28 */ fsubs f0, f3, f0 +/* 8013CB34 00139A94 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8013CB38 00139A98 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8013CB3C 00139A9C 48 1D 76 C5 */ bl __ct__9CVector2fFff +/* 8013CB40 00139AA0 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8013CB44 00139AA4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013CB48 00139AA8 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8013CB4C 00139AAC C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013CB50 00139AB0 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8013CB54 00139AB4 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8013CB58 00139AB8 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8013CB5C 00139ABC 48 1D 7B 9D */ bl CanBeNormalized__9CVector3fCFv +/* 8013CB60 00139AC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013CB64 00139AC4 41 82 01 60 */ beq lbl_8013CCC4 +/* 8013CB68 00139AC8 C3 3F 00 00 */ lfs f25, 0(r31) +/* 8013CB6C 00139ACC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013CB70 00139AD0 C3 1F 00 04 */ lfs f24, 4(r31) +/* 8013CB74 00139AD4 38 81 00 48 */ addi r4, r1, 0x48 +/* 8013CB78 00139AD8 C2 FF 00 08 */ lfs f23, 8(r31) +/* 8013CB7C 00139ADC C2 C2 9A B8 */ lfs f22, lbl_805AB7D8@sda21(r2) +/* 8013CB80 00139AE0 48 1D 7C D1 */ bl AsNormalized__9CVector3fCFv +/* 8013CB84 00139AE4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8013CB88 00139AE8 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 8013CB8C 00139AEC 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l +/* 8013CB90 00139AF0 C1 01 00 30 */ lfs f8, 0x30(r1) +/* 8013CB94 00139AF4 C0 BF 00 08 */ lfs f5, 8(r31) +/* 8013CB98 00139AF8 EC 18 01 B2 */ fmuls f0, f24, f6 +/* 8013CB9C 00139AFC C1 3F 00 00 */ lfs f9, 0(r31) +/* 8013CBA0 00139B00 EC 25 02 32 */ fmuls f1, f5, f8 +/* 8013CBA4 00139B04 C0 E1 00 38 */ lfs f7, 0x38(r1) +/* 8013CBA8 00139B08 C0 9F 00 04 */ lfs f4, 4(r31) +/* 8013CBAC 00139B0C EC 69 01 B2 */ fmuls f3, f9, f6 +/* 8013CBB0 00139B10 EC 19 02 3A */ fmadds f0, f25, f8, f0 +/* 8013CBB4 00139B14 C3 E2 9A B8 */ lfs f31, lbl_805AB7D8@sda21(r2) +/* 8013CBB8 00139B18 EC 44 01 F2 */ fmuls f2, f4, f7 +/* 8013CBBC 00139B1C EC 27 0A 78 */ fmsubs f1, f7, f9, f1 +/* 8013CBC0 00139B20 EC 68 19 38 */ fmsubs f3, f8, f4, f3 +/* 8013CBC4 00139B24 EC 46 11 78 */ fmsubs f2, f6, f5, f2 +/* 8013CBC8 00139B28 EC 38 00 72 */ fmuls f1, f24, f1 +/* 8013CBCC 00139B2C EF B7 01 FA */ fmadds f29, f23, f7, f0 +/* 8013CBD0 00139B30 EC 19 08 BA */ fmadds f0, f25, f2, f1 +/* 8013CBD4 00139B34 EF D7 00 FA */ fmadds f30, f23, f3, f0 +/* 8013CBD8 00139B38 48 00 00 E4 */ b lbl_8013CCBC +lbl_8013CBDC: +/* 8013CBDC 00139B3C EC B5 06 72 */ fmuls f5, f21, f25 +/* 8013CBE0 00139B40 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8013CBE4 00139B44 EC 95 06 32 */ fmuls f4, f21, f24 +/* 8013CBE8 00139B48 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8013CBEC 00139B4C EC 35 05 F2 */ fmuls f1, f21, f23 +/* 8013CBF0 00139B50 C0 7E 00 08 */ lfs f3, 8(r30) +/* 8013CBF4 00139B54 EF 7B 20 2A */ fadds f27, f27, f4 +/* 8013CBF8 00139B58 38 61 00 08 */ addi r3, r1, 8 +/* 8013CBFC 00139B5C EF 9C 28 2A */ fadds f28, f28, f5 +/* 8013CC00 00139B60 EF 5A 08 2A */ fadds f26, f26, f1 +/* 8013CC04 00139B64 EC 5B 10 28 */ fsubs f2, f27, f2 +/* 8013CC08 00139B68 EC 3C 00 28 */ fsubs f1, f28, f0 +/* 8013CC0C 00139B6C EC 1A 18 28 */ fsubs f0, f26, f3 +/* 8013CC10 00139B70 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8013CC14 00139B74 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8013CC18 00139B78 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8013CC1C 00139B7C 48 1D 75 E5 */ bl __ct__9CVector2fFff +/* 8013CC20 00139B80 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8013CC24 00139B84 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013CC28 00139B88 C0 01 00 08 */ lfs f0, 8(r1) +/* 8013CC2C 00139B8C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8013CC30 00139B90 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8013CC34 00139B94 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 8013CC38 00139B98 48 1D 7A C1 */ bl CanBeNormalized__9CVector3fCFv +/* 8013CC3C 00139B9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013CC40 00139BA0 41 82 00 68 */ beq lbl_8013CCA8 +/* 8013CC44 00139BA4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013CC48 00139BA8 38 81 00 48 */ addi r4, r1, 0x48 +/* 8013CC4C 00139BAC 48 1D 7C 05 */ bl AsNormalized__9CVector3fCFv +/* 8013CC50 00139BB0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8013CC54 00139BB4 C1 21 00 1C */ lfs f9, 0x1c(r1) +/* 8013CC58 00139BB8 C1 41 00 20 */ lfs f10, 0x20(r1) +/* 8013CC5C 00139BBC C0 BF 00 04 */ lfs f5, 4(r31) +/* 8013CC60 00139BC0 EC 5D 02 72 */ fmuls f2, f29, f9 +/* 8013CC64 00139BC4 C1 03 66 F4 */ lfs f8, lbl_805A66F4@l(r3) +/* 8013CC68 00139BC8 EC 1D 02 B2 */ fmuls f0, f29, f10 +/* 8013CC6C 00139BCC C0 E1 00 18 */ lfs f7, 0x18(r1) +/* 8013CC70 00139BD0 EC 65 02 B2 */ fmuls f3, f5, f10 +/* 8013CC74 00139BD4 C0 DF 00 08 */ lfs f6, 8(r31) +/* 8013CC78 00139BD8 EC 88 02 72 */ fmuls f4, f8, f9 +/* 8013CC7C 00139BDC EC 26 01 F2 */ fmuls f1, f6, f7 +/* 8013CC80 00139BE0 EC 69 19 B8 */ fmsubs f3, f9, f6, f3 +/* 8013CC84 00139BE4 EC C7 21 78 */ fmsubs f6, f7, f5, f4 +/* 8013CC88 00139BE8 EC 2A 0A 38 */ fmsubs f1, f10, f8, f1 +/* 8013CC8C 00139BEC EC BE 00 F2 */ fmuls f5, f30, f3 +/* 8013CC90 00139BF0 EC 9D 01 F2 */ fmuls f4, f29, f7 +/* 8013CC94 00139BF4 EC 7E 00 72 */ fmuls f3, f30, f1 +/* 8013CC98 00139BF8 EC 3E 01 B2 */ fmuls f1, f30, f6 +/* 8013CC9C 00139BFC EF 25 20 2A */ fadds f25, f5, f4 +/* 8013CCA0 00139C00 EF 03 10 2A */ fadds f24, f3, f2 +/* 8013CCA4 00139C04 EE E1 00 2A */ fadds f23, f1, f0 +lbl_8013CCA8: +/* 8013CCA8 00139C08 EC 14 B0 28 */ fsubs f0, f20, f22 +/* 8013CCAC 00139C0C FC 00 A8 40 */ fcmpo cr0, f0, f21 +/* 8013CCB0 00139C10 40 81 00 08 */ ble lbl_8013CCB8 +/* 8013CCB4 00139C14 FC 00 A8 90 */ fmr f0, f21 +lbl_8013CCB8: +/* 8013CCB8 00139C18 EE D6 00 2A */ fadds f22, f22, f0 +lbl_8013CCBC: +/* 8013CCBC 00139C1C FC 16 A0 40 */ fcmpo cr0, f22, f20 +/* 8013CCC0 00139C20 41 80 FF 1C */ blt lbl_8013CBDC +lbl_8013CCC4: +/* 8013CCC4 00139C24 D3 9C 00 00 */ stfs f28, 0(r28) +/* 8013CCC8 00139C28 D3 7C 00 04 */ stfs f27, 4(r28) +/* 8013CCCC 00139C2C D3 5C 00 08 */ stfs f26, 8(r28) +/* 8013CCD0 00139C30 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 8013CCD4 00139C34 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 8013CCD8 00139C38 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 8013CCDC 00139C3C CB C1 01 10 */ lfd f30, 0x110(r1) +/* 8013CCE0 00139C40 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 8013CCE4 00139C44 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 8013CCE8 00139C48 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 8013CCEC 00139C4C CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 8013CCF0 00139C50 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 8013CCF4 00139C54 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 8013CCF8 00139C58 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 +/* 8013CCFC 00139C5C CB 41 00 D0 */ lfd f26, 0xd0(r1) +/* 8013CD00 00139C60 E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 +/* 8013CD04 00139C64 CB 21 00 C0 */ lfd f25, 0xc0(r1) +/* 8013CD08 00139C68 E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0 +/* 8013CD0C 00139C6C CB 01 00 B0 */ lfd f24, 0xb0(r1) +/* 8013CD10 00139C70 E2 E1 00 A8 */ psq_l f23, 168(r1), 0, qr0 +/* 8013CD14 00139C74 CA E1 00 A0 */ lfd f23, 0xa0(r1) +/* 8013CD18 00139C78 E2 C1 00 98 */ psq_l f22, 152(r1), 0, qr0 +/* 8013CD1C 00139C7C CA C1 00 90 */ lfd f22, 0x90(r1) +/* 8013CD20 00139C80 E2 A1 00 88 */ psq_l f21, 136(r1), 0, qr0 +/* 8013CD24 00139C84 CA A1 00 80 */ lfd f21, 0x80(r1) +/* 8013CD28 00139C88 E2 81 00 78 */ psq_l f20, 120(r1), 0, qr0 +/* 8013CD2C 00139C8C CA 81 00 70 */ lfd f20, 0x70(r1) +/* 8013CD30 00139C90 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8013CD34 00139C94 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8013CD38 00139C98 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 8013CD3C 00139C9C 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8013CD40 00139CA0 83 81 00 60 */ lwz r28, 0x60(r1) +/* 8013CD44 00139CA4 7C 08 03 A6 */ mtlr r0 +/* 8013CD48 00139CA8 38 21 01 30 */ addi r1, r1, 0x130 +/* 8013CD4C 00139CAC 4E 80 00 20 */ blr + +.global ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f +ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f: +/* 8013CD50 00139CB0 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 8013CD54 00139CB4 7C 08 02 A6 */ mflr r0 +/* 8013CD58 00139CB8 90 01 01 84 */ stw r0, 0x184(r1) +/* 8013CD5C 00139CBC DB E1 01 70 */ stfd f31, 0x170(r1) +/* 8013CD60 00139CC0 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 8013CD64 00139CC4 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 8013CD68 00139CC8 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 8013CD6C 00139CCC DB A1 01 50 */ stfd f29, 0x150(r1) +/* 8013CD70 00139CD0 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 8013CD74 00139CD4 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 8013CD78 00139CD8 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 8013CD7C 00139CDC DB 61 01 30 */ stfd f27, 0x130(r1) +/* 8013CD80 00139CE0 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 +/* 8013CD84 00139CE4 DB 41 01 20 */ stfd f26, 0x120(r1) +/* 8013CD88 00139CE8 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 +/* 8013CD8C 00139CEC DB 21 01 10 */ stfd f25, 0x110(r1) +/* 8013CD90 00139CF0 F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 +/* 8013CD94 00139CF4 DB 01 01 00 */ stfd f24, 0x100(r1) +/* 8013CD98 00139CF8 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0 +/* 8013CD9C 00139CFC DA E1 00 F0 */ stfd f23, 0xf0(r1) +/* 8013CDA0 00139D00 F2 E1 00 F8 */ psq_st f23, 248(r1), 0, qr0 +/* 8013CDA4 00139D04 DA C1 00 E0 */ stfd f22, 0xe0(r1) +/* 8013CDA8 00139D08 F2 C1 00 E8 */ psq_st f22, 232(r1), 0, qr0 +/* 8013CDAC 00139D0C DA A1 00 D0 */ stfd f21, 0xd0(r1) +/* 8013CDB0 00139D10 F2 A1 00 D8 */ psq_st f21, 216(r1), 0, qr0 +/* 8013CDB4 00139D14 DA 81 00 C0 */ stfd f20, 0xc0(r1) +/* 8013CDB8 00139D18 F2 81 00 C8 */ psq_st f20, 200(r1), 0, qr0 +/* 8013CDBC 00139D1C DA 61 00 B0 */ stfd f19, 0xb0(r1) +/* 8013CDC0 00139D20 F2 61 00 B8 */ psq_st f19, 184(r1), 0, qr0 +/* 8013CDC4 00139D24 DA 41 00 A0 */ stfd f18, 0xa0(r1) +/* 8013CDC8 00139D28 F2 41 00 A8 */ psq_st f18, 168(r1), 0, qr0 +/* 8013CDCC 00139D2C DA 21 00 90 */ stfd f17, 0x90(r1) +/* 8013CDD0 00139D30 F2 21 00 98 */ psq_st f17, 152(r1), 0, qr0 +/* 8013CDD4 00139D34 DA 01 00 80 */ stfd f16, 0x80(r1) +/* 8013CDD8 00139D38 F2 01 00 88 */ psq_st f16, 136(r1), 0, qr0 +/* 8013CDDC 00139D3C BF 21 00 64 */ stmw r25, 0x64(r1) +/* 8013CDE0 00139D40 FF C0 08 90 */ fmr f30, f1 +/* 8013CDE4 00139D44 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013CDE8 00139D48 FF E0 10 90 */ fmr f31, f2 +/* 8013CDEC 00139D4C 7C 79 1B 78 */ mr r25, r3 +/* 8013CDF0 00139D50 7C 9A 23 78 */ mr r26, r4 +/* 8013CDF4 00139D54 7C BF 2B 78 */ mr r31, r5 +/* 8013CDF8 00139D58 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8013CDFC 00139D5C 7C DB 33 78 */ mr r27, r6 +/* 8013CE00 00139D60 7C FC 3B 78 */ mr r28, r7 +/* 8013CE04 00139D64 7D 1D 43 78 */ mr r29, r8 +/* 8013CE08 00139D68 3B C0 00 00 */ li r30, 0 +/* 8013CE0C 00139D6C 40 81 02 C8 */ ble lbl_8013D0D4 +/* 8013CE10 00139D70 C0 5A 00 04 */ lfs f2, 4(r26) +/* 8013CE14 00139D74 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013CE18 00139D78 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8013CE1C 00139D7C C0 3A 00 00 */ lfs f1, 0(r26) +/* 8013CE20 00139D80 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8013CE24 00139D84 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8013CE28 00139D88 C0 7A 00 08 */ lfs f3, 8(r26) +/* 8013CE2C 00139D8C EC 21 00 28 */ fsubs f1, f1, f0 +/* 8013CE30 00139D90 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8013CE34 00139D94 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8013CE38 00139D98 EC 03 00 28 */ fsubs f0, f3, f0 +/* 8013CE3C 00139D9C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8013CE40 00139DA0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8013CE44 00139DA4 48 1D 73 BD */ bl __ct__9CVector2fFff +/* 8013CE48 00139DA8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8013CE4C 00139DAC 7F E3 FB 78 */ mr r3, r31 +/* 8013CE50 00139DB0 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8013CE54 00139DB4 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013CE58 00139DB8 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8013CE5C 00139DBC D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8013CE60 00139DC0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8013CE64 00139DC4 48 1D 78 95 */ bl CanBeNormalized__9CVector3fCFv +/* 8013CE68 00139DC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013CE6C 00139DCC 41 82 02 48 */ beq lbl_8013D0B4 +/* 8013CE70 00139DD0 38 61 00 54 */ addi r3, r1, 0x54 +/* 8013CE74 00139DD4 48 1D 78 85 */ bl CanBeNormalized__9CVector3fCFv +/* 8013CE78 00139DD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013CE7C 00139DDC 41 82 02 38 */ beq lbl_8013D0B4 +/* 8013CE80 00139DE0 C3 1A 00 00 */ lfs f24, 0(r26) +/* 8013CE84 00139DE4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013CE88 00139DE8 C0 19 00 00 */ lfs f0, 0(r25) +/* 8013CE8C 00139DEC C2 FA 00 04 */ lfs f23, 4(r26) +/* 8013CE90 00139DF0 C0 59 00 04 */ lfs f2, 4(r25) +/* 8013CE94 00139DF4 EC 18 00 28 */ fsubs f0, f24, f0 +/* 8013CE98 00139DF8 C2 DA 00 08 */ lfs f22, 8(r26) +/* 8013CE9C 00139DFC C0 39 00 08 */ lfs f1, 8(r25) +/* 8013CEA0 00139E00 EC 57 10 28 */ fsubs f2, f23, f2 +/* 8013CEA4 00139E04 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8013CEA8 00139E08 EC 16 08 28 */ fsubs f0, f22, f1 +/* 8013CEAC 00139E0C C2 BF 00 00 */ lfs f21, 0(r31) +/* 8013CEB0 00139E10 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8013CEB4 00139E14 C2 9F 00 04 */ lfs f20, 4(r31) +/* 8013CEB8 00139E18 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8013CEBC 00139E1C C2 7F 00 08 */ lfs f19, 8(r31) +/* 8013CEC0 00139E20 48 1D 79 F9 */ bl Magnitude__9CVector3fCFv +/* 8013CEC4 00139E24 EC 01 F0 24 */ fdivs f0, f1, f30 +/* 8013CEC8 00139E28 C2 42 9A B8 */ lfs f18, lbl_805AB7D8@sda21(r2) +/* 8013CECC 00139E2C C2 22 9A BC */ lfs f17, lbl_805AB7DC@sda21(r2) +/* 8013CED0 00139E30 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013CED4 00139E34 38 81 00 54 */ addi r4, r1, 0x54 +/* 8013CED8 00139E38 EE 00 90 28 */ fsubs f16, f0, f18 +/* 8013CEDC 00139E3C 48 1D 79 75 */ bl AsNormalized__9CVector3fCFv +/* 8013CEE0 00139E40 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8013CEE4 00139E44 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 8013CEE8 00139E48 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l +/* 8013CEEC 00139E4C C1 01 00 30 */ lfs f8, 0x30(r1) +/* 8013CEF0 00139E50 C0 BF 00 08 */ lfs f5, 8(r31) +/* 8013CEF4 00139E54 EC 14 01 B2 */ fmuls f0, f20, f6 +/* 8013CEF8 00139E58 C1 3F 00 00 */ lfs f9, 0(r31) +/* 8013CEFC 00139E5C EC 25 02 32 */ fmuls f1, f5, f8 +/* 8013CF00 00139E60 C0 E1 00 38 */ lfs f7, 0x38(r1) +/* 8013CF04 00139E64 C0 9F 00 04 */ lfs f4, 4(r31) +/* 8013CF08 00139E68 EC 69 01 B2 */ fmuls f3, f9, f6 +/* 8013CF0C 00139E6C EC 15 02 3A */ fmadds f0, f21, f8, f0 +/* 8013CF10 00139E70 C3 A2 9A C4 */ lfs f29, lbl_805AB7E4@sda21(r2) +/* 8013CF14 00139E74 EC 44 01 F2 */ fmuls f2, f4, f7 +/* 8013CF18 00139E78 C3 62 9A C0 */ lfs f27, lbl_805AB7E0@sda21(r2) +/* 8013CF1C 00139E7C EC 27 0A 78 */ fmsubs f1, f7, f9, f1 +/* 8013CF20 00139E80 C3 82 9A B8 */ lfs f28, lbl_805AB7D8@sda21(r2) +/* 8013CF24 00139E84 EC 68 19 38 */ fmsubs f3, f8, f4, f3 +/* 8013CF28 00139E88 EC 46 11 78 */ fmsubs f2, f6, f5, f2 +/* 8013CF2C 00139E8C EC 34 00 72 */ fmuls f1, f20, f1 +/* 8013CF30 00139E90 EF 33 01 FA */ fmadds f25, f19, f7, f0 +/* 8013CF34 00139E94 EC 15 08 BA */ fmadds f0, f21, f2, f1 +/* 8013CF38 00139E98 EF 53 00 FA */ fmadds f26, f19, f3, f0 +/* 8013CF3C 00139E9C 48 00 01 64 */ b lbl_8013D0A0 +lbl_8013CF40: +/* 8013CF40 00139EA0 EC 10 F8 28 */ fsubs f0, f16, f31 +/* 8013CF44 00139EA4 FC 00 02 10 */ fabs f0, f0 +/* 8013CF48 00139EA8 FC 00 D8 40 */ fcmpo cr0, f0, f27 +/* 8013CF4C 00139EAC 41 80 00 0C */ blt lbl_8013CF58 +/* 8013CF50 00139EB0 FC 10 E0 40 */ fcmpo cr0, f16, f28 +/* 8013CF54 00139EB4 40 80 00 18 */ bge lbl_8013CF6C +lbl_8013CF58: +/* 8013CF58 00139EB8 D3 1D 00 00 */ stfs f24, 0(r29) +/* 8013CF5C 00139EBC 3B C0 00 01 */ li r30, 1 +/* 8013CF60 00139EC0 D2 FD 00 04 */ stfs f23, 4(r29) +/* 8013CF64 00139EC4 D2 DD 00 08 */ stfs f22, 8(r29) +/* 8013CF68 00139EC8 48 00 01 6C */ b lbl_8013D0D4 +lbl_8013CF6C: +/* 8013CF6C 00139ECC EC BF 05 72 */ fmuls f5, f31, f21 +/* 8013CF70 00139ED0 C0 59 00 04 */ lfs f2, 4(r25) +/* 8013CF74 00139ED4 EC 9F 05 32 */ fmuls f4, f31, f20 +/* 8013CF78 00139ED8 C0 39 00 08 */ lfs f1, 8(r25) +/* 8013CF7C 00139EDC EC 7F 04 F2 */ fmuls f3, f31, f19 +/* 8013CF80 00139EE0 C0 19 00 00 */ lfs f0, 0(r25) +/* 8013CF84 00139EE4 EF 18 28 2A */ fadds f24, f24, f5 +/* 8013CF88 00139EE8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013CF8C 00139EEC EE F7 20 2A */ fadds f23, f23, f4 +/* 8013CF90 00139EF0 EE D6 18 2A */ fadds f22, f22, f3 +/* 8013CF94 00139EF4 EC 18 00 28 */ fsubs f0, f24, f0 +/* 8013CF98 00139EF8 EC 57 10 28 */ fsubs f2, f23, f2 +/* 8013CF9C 00139EFC EC 36 08 28 */ fsubs f1, f22, f1 +/* 8013CFA0 00139F00 FE 20 80 90 */ fmr f17, f16 +/* 8013CFA4 00139F04 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8013CFA8 00139F08 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8013CFAC 00139F0C D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8013CFB0 00139F10 48 1D 79 09 */ bl Magnitude__9CVector3fCFv +/* 8013CFB4 00139F14 EC 81 F0 24 */ fdivs f4, f1, f30 +/* 8013CFB8 00139F18 C0 3C 00 04 */ lfs f1, 4(r28) +/* 8013CFBC 00139F1C C0 1C 00 00 */ lfs f0, 0(r28) +/* 8013CFC0 00139F20 38 61 00 08 */ addi r3, r1, 8 +/* 8013CFC4 00139F24 C0 7C 00 08 */ lfs f3, 8(r28) +/* 8013CFC8 00139F28 EC 57 08 28 */ fsubs f2, f23, f1 +/* 8013CFCC 00139F2C EC 38 00 28 */ fsubs f1, f24, f0 +/* 8013CFD0 00139F30 EE 52 F8 2A */ fadds f18, f18, f31 +/* 8013CFD4 00139F34 EC 16 18 28 */ fsubs f0, f22, f3 +/* 8013CFD8 00139F38 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8013CFDC 00139F3C EE 04 90 28 */ fsubs f16, f4, f18 +/* 8013CFE0 00139F40 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8013CFE4 00139F44 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8013CFE8 00139F48 48 1D 72 19 */ bl __ct__9CVector2fFff +/* 8013CFEC 00139F4C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8013CFF0 00139F50 38 61 00 54 */ addi r3, r1, 0x54 +/* 8013CFF4 00139F54 C0 01 00 08 */ lfs f0, 8(r1) +/* 8013CFF8 00139F58 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8013CFFC 00139F5C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8013D000 00139F60 D3 81 00 5C */ stfs f28, 0x5c(r1) +/* 8013D004 00139F64 48 1D 76 F5 */ bl CanBeNormalized__9CVector3fCFv +/* 8013D008 00139F68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013D00C 00139F6C 41 82 00 C8 */ beq lbl_8013D0D4 +/* 8013D010 00139F70 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013D014 00139F74 38 81 00 54 */ addi r4, r1, 0x54 +/* 8013D018 00139F78 48 1D 78 39 */ bl AsNormalized__9CVector3fCFv +/* 8013D01C 00139F7C C1 61 00 1C */ lfs f11, 0x1c(r1) +/* 8013D020 00139F80 C1 81 00 20 */ lfs f12, 0x20(r1) +/* 8013D024 00139F84 C1 3F 00 04 */ lfs f9, 4(r31) +/* 8013D028 00139F88 EC 79 02 F2 */ fmuls f3, f25, f11 +/* 8013D02C 00139F8C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8013D030 00139F90 EC 39 03 32 */ fmuls f1, f25, f12 +/* 8013D034 00139F94 C0 BF 00 08 */ lfs f5, 8(r31) +/* 8013D038 00139F98 EC 89 03 32 */ fmuls f4, f9, f12 +/* 8013D03C 00139F9C C1 5F 00 00 */ lfs f10, 0(r31) +/* 8013D040 00139FA0 EC 45 00 32 */ fmuls f2, f5, f0 +/* 8013D044 00139FA4 C0 FB 00 00 */ lfs f7, 0(r27) +/* 8013D048 00139FA8 ED 0A 02 F2 */ fmuls f8, f10, f11 +/* 8013D04C 00139FAC C0 DB 00 04 */ lfs f6, 4(r27) +/* 8013D050 00139FB0 EC AB 21 78 */ fmsubs f5, f11, f5, f4 +/* 8013D054 00139FB4 C0 9B 00 08 */ lfs f4, 8(r27) +/* 8013D058 00139FB8 ED 20 42 78 */ fmsubs f9, f0, f9, f8 +/* 8013D05C 00139FBC EC 4C 12 B8 */ fmsubs f2, f12, f10, f2 +/* 8013D060 00139FC0 ED 1F 01 F2 */ fmuls f8, f31, f7 +/* 8013D064 00139FC4 EC FF 01 B2 */ fmuls f7, f31, f6 +/* 8013D068 00139FC8 EC DF 01 32 */ fmuls f6, f31, f4 +/* 8013D06C 00139FCC EC 9A 00 B2 */ fmuls f4, f26, f2 +/* 8013D070 00139FD0 EC 5A 02 72 */ fmuls f2, f26, f9 +/* 8013D074 00139FD4 EC BA 01 72 */ fmuls f5, f26, f5 +/* 8013D078 00139FD8 EC 19 00 32 */ fmuls f0, f25, f0 +/* 8013D07C 00139FDC EE BC 40 2A */ fadds f21, f28, f8 +/* 8013D080 00139FE0 EE 9C 38 2A */ fadds f20, f28, f7 +/* 8013D084 00139FE4 EC A5 00 2A */ fadds f5, f5, f0 +/* 8013D088 00139FE8 EC 64 18 2A */ fadds f3, f4, f3 +/* 8013D08C 00139FEC EE 73 30 2A */ fadds f19, f19, f6 +/* 8013D090 00139FF0 EC 02 08 2A */ fadds f0, f2, f1 +/* 8013D094 00139FF4 EE B5 28 2A */ fadds f21, f21, f5 +/* 8013D098 00139FF8 EE 94 18 2A */ fadds f20, f20, f3 +/* 8013D09C 00139FFC EE 73 00 2A */ fadds f19, f19, f0 +lbl_8013D0A0: +/* 8013D0A0 0013A000 FC 10 88 40 */ fcmpo cr0, f16, f17 +/* 8013D0A4 0013A004 40 80 00 30 */ bge lbl_8013D0D4 +/* 8013D0A8 0013A008 FC 12 E8 40 */ fcmpo cr0, f18, f29 +/* 8013D0AC 0013A00C 41 80 FE 94 */ blt lbl_8013CF40 +/* 8013D0B0 0013A010 48 00 00 24 */ b lbl_8013D0D4 +lbl_8013D0B4: +/* 8013D0B4 0013A014 FC 20 F0 90 */ fmr f1, f30 +/* 8013D0B8 0013A018 7F 23 CB 78 */ mr r3, r25 +/* 8013D0BC 0013A01C 7F 44 D3 78 */ mr r4, r26 +/* 8013D0C0 0013A020 7F E5 FB 78 */ mr r5, r31 +/* 8013D0C4 0013A024 7F 66 DB 78 */ mr r6, r27 +/* 8013D0C8 0013A028 7F A7 EB 78 */ mr r7, r29 +/* 8013D0CC 0013A02C 48 00 04 A1 */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f +/* 8013D0D0 0013A030 48 00 00 08 */ b lbl_8013D0D8 +lbl_8013D0D4: +/* 8013D0D4 0013A034 57 C3 06 3E */ clrlwi r3, r30, 0x18 +lbl_8013D0D8: +/* 8013D0D8 0013A038 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 8013D0DC 0013A03C CB E1 01 70 */ lfd f31, 0x170(r1) +/* 8013D0E0 0013A040 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 8013D0E4 0013A044 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 8013D0E8 0013A048 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 8013D0EC 0013A04C CB A1 01 50 */ lfd f29, 0x150(r1) +/* 8013D0F0 0013A050 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 8013D0F4 0013A054 CB 81 01 40 */ lfd f28, 0x140(r1) +/* 8013D0F8 0013A058 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 +/* 8013D0FC 0013A05C CB 61 01 30 */ lfd f27, 0x130(r1) +/* 8013D100 0013A060 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 +/* 8013D104 0013A064 CB 41 01 20 */ lfd f26, 0x120(r1) +/* 8013D108 0013A068 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 +/* 8013D10C 0013A06C CB 21 01 10 */ lfd f25, 0x110(r1) +/* 8013D110 0013A070 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0 +/* 8013D114 0013A074 CB 01 01 00 */ lfd f24, 0x100(r1) +/* 8013D118 0013A078 E2 E1 00 F8 */ psq_l f23, 248(r1), 0, qr0 +/* 8013D11C 0013A07C CA E1 00 F0 */ lfd f23, 0xf0(r1) +/* 8013D120 0013A080 E2 C1 00 E8 */ psq_l f22, 232(r1), 0, qr0 +/* 8013D124 0013A084 CA C1 00 E0 */ lfd f22, 0xe0(r1) +/* 8013D128 0013A088 E2 A1 00 D8 */ psq_l f21, 216(r1), 0, qr0 +/* 8013D12C 0013A08C CA A1 00 D0 */ lfd f21, 0xd0(r1) +/* 8013D130 0013A090 E2 81 00 C8 */ psq_l f20, 200(r1), 0, qr0 +/* 8013D134 0013A094 CA 81 00 C0 */ lfd f20, 0xc0(r1) +/* 8013D138 0013A098 E2 61 00 B8 */ psq_l f19, 184(r1), 0, qr0 +/* 8013D13C 0013A09C CA 61 00 B0 */ lfd f19, 0xb0(r1) +/* 8013D140 0013A0A0 E2 41 00 A8 */ psq_l f18, 168(r1), 0, qr0 +/* 8013D144 0013A0A4 CA 41 00 A0 */ lfd f18, 0xa0(r1) +/* 8013D148 0013A0A8 E2 21 00 98 */ psq_l f17, 152(r1), 0, qr0 +/* 8013D14C 0013A0AC CA 21 00 90 */ lfd f17, 0x90(r1) +/* 8013D150 0013A0B0 E2 01 00 88 */ psq_l f16, 136(r1), 0, qr0 +/* 8013D154 0013A0B4 CA 01 00 80 */ lfd f16, 0x80(r1) +/* 8013D158 0013A0B8 BB 21 00 64 */ lmw r25, 0x64(r1) +/* 8013D15C 0013A0BC 80 01 01 84 */ lwz r0, 0x184(r1) +/* 8013D160 0013A0C0 7C 08 03 A6 */ mtlr r0 +/* 8013D164 0013A0C4 38 21 01 80 */ addi r1, r1, 0x180 +/* 8013D168 0013A0C8 4E 80 00 20 */ blr + +.global ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f +ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f: +/* 8013D16C 0013A0CC 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 8013D170 0013A0D0 7C 08 02 A6 */ mflr r0 +/* 8013D174 0013A0D4 90 01 01 84 */ stw r0, 0x184(r1) +/* 8013D178 0013A0D8 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 8013D17C 0013A0DC F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 8013D180 0013A0E0 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 8013D184 0013A0E4 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 8013D188 0013A0E8 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 8013D18C 0013A0EC F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 8013D190 0013A0F0 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 8013D194 0013A0F4 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 8013D198 0013A0F8 DB 61 01 30 */ stfd f27, 0x130(r1) +/* 8013D19C 0013A0FC F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 +/* 8013D1A0 0013A100 DB 41 01 20 */ stfd f26, 0x120(r1) +/* 8013D1A4 0013A104 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 +/* 8013D1A8 0013A108 DB 21 01 10 */ stfd f25, 0x110(r1) +/* 8013D1AC 0013A10C F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 +/* 8013D1B0 0013A110 DB 01 01 00 */ stfd f24, 0x100(r1) +/* 8013D1B4 0013A114 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0 +/* 8013D1B8 0013A118 DA E1 00 F0 */ stfd f23, 0xf0(r1) +/* 8013D1BC 0013A11C F2 E1 00 F8 */ psq_st f23, 248(r1), 0, qr0 +/* 8013D1C0 0013A120 DA C1 00 E0 */ stfd f22, 0xe0(r1) +/* 8013D1C4 0013A124 F2 C1 00 E8 */ psq_st f22, 232(r1), 0, qr0 +/* 8013D1C8 0013A128 DA A1 00 D0 */ stfd f21, 0xd0(r1) +/* 8013D1CC 0013A12C F2 A1 00 D8 */ psq_st f21, 216(r1), 0, qr0 +/* 8013D1D0 0013A130 DA 81 00 C0 */ stfd f20, 0xc0(r1) +/* 8013D1D4 0013A134 F2 81 00 C8 */ psq_st f20, 200(r1), 0, qr0 +/* 8013D1D8 0013A138 DA 61 00 B0 */ stfd f19, 0xb0(r1) +/* 8013D1DC 0013A13C F2 61 00 B8 */ psq_st f19, 184(r1), 0, qr0 +/* 8013D1E0 0013A140 DA 41 00 A0 */ stfd f18, 0xa0(r1) +/* 8013D1E4 0013A144 F2 41 00 A8 */ psq_st f18, 168(r1), 0, qr0 +/* 8013D1E8 0013A148 DA 21 00 90 */ stfd f17, 0x90(r1) +/* 8013D1EC 0013A14C F2 21 00 98 */ psq_st f17, 152(r1), 0, qr0 +/* 8013D1F0 0013A150 DA 01 00 80 */ stfd f16, 0x80(r1) +/* 8013D1F4 0013A154 F2 01 00 88 */ psq_st f16, 136(r1), 0, qr0 +/* 8013D1F8 0013A158 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8013D1FC 0013A15C FF C0 08 90 */ fmr f30, f1 +/* 8013D200 0013A160 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013D204 0013A164 FF E0 10 90 */ fmr f31, f2 +/* 8013D208 0013A168 7C 7B 1B 78 */ mr r27, r3 +/* 8013D20C 0013A16C 7C 9C 23 78 */ mr r28, r4 +/* 8013D210 0013A170 7C BF 2B 78 */ mr r31, r5 +/* 8013D214 0013A174 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8013D218 0013A178 7C DD 33 78 */ mr r29, r6 +/* 8013D21C 0013A17C 7C FE 3B 78 */ mr r30, r7 +/* 8013D220 0013A180 40 81 02 B4 */ ble lbl_8013D4D4 +/* 8013D224 0013A184 7F E3 FB 78 */ mr r3, r31 +/* 8013D228 0013A188 48 1D 74 D1 */ bl CanBeNormalized__9CVector3fCFv +/* 8013D22C 0013A18C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013D230 0013A190 41 82 02 84 */ beq lbl_8013D4B4 +/* 8013D234 0013A194 C0 5C 00 04 */ lfs f2, 4(r28) +/* 8013D238 0013A198 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013D23C 0013A19C C0 1D 00 04 */ lfs f0, 4(r29) +/* 8013D240 0013A1A0 C0 3C 00 00 */ lfs f1, 0(r28) +/* 8013D244 0013A1A4 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8013D248 0013A1A8 C0 1D 00 00 */ lfs f0, 0(r29) +/* 8013D24C 0013A1AC C0 7C 00 08 */ lfs f3, 8(r28) +/* 8013D250 0013A1B0 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8013D254 0013A1B4 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8013D258 0013A1B8 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8013D25C 0013A1BC EC 03 00 28 */ fsubs f0, f3, f0 +/* 8013D260 0013A1C0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8013D264 0013A1C4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8013D268 0013A1C8 48 1D 6F 99 */ bl __ct__9CVector2fFff +/* 8013D26C 0013A1CC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8013D270 0013A1D0 38 61 00 54 */ addi r3, r1, 0x54 +/* 8013D274 0013A1D4 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8013D278 0013A1D8 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013D27C 0013A1DC D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8013D280 0013A1E0 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8013D284 0013A1E4 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8013D288 0013A1E8 48 1D 74 71 */ bl CanBeNormalized__9CVector3fCFv +/* 8013D28C 0013A1EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013D290 0013A1F0 41 82 02 08 */ beq lbl_8013D498 +/* 8013D294 0013A1F4 C3 3C 00 00 */ lfs f25, 0(r28) +/* 8013D298 0013A1F8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013D29C 0013A1FC C0 1B 00 00 */ lfs f0, 0(r27) +/* 8013D2A0 0013A200 C3 1C 00 04 */ lfs f24, 4(r28) +/* 8013D2A4 0013A204 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8013D2A8 0013A208 EC 19 00 28 */ fsubs f0, f25, f0 +/* 8013D2AC 0013A20C C2 FC 00 08 */ lfs f23, 8(r28) +/* 8013D2B0 0013A210 C0 3B 00 08 */ lfs f1, 8(r27) +/* 8013D2B4 0013A214 EC 58 10 28 */ fsubs f2, f24, f2 +/* 8013D2B8 0013A218 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8013D2BC 0013A21C EC 17 08 28 */ fsubs f0, f23, f1 +/* 8013D2C0 0013A220 C2 DF 00 00 */ lfs f22, 0(r31) +/* 8013D2C4 0013A224 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8013D2C8 0013A228 C2 BF 00 04 */ lfs f21, 4(r31) +/* 8013D2CC 0013A22C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8013D2D0 0013A230 C2 9F 00 08 */ lfs f20, 8(r31) +/* 8013D2D4 0013A234 48 1D 75 E5 */ bl Magnitude__9CVector3fCFv +/* 8013D2D8 0013A238 EC 01 F0 24 */ fdivs f0, f1, f30 +/* 8013D2DC 0013A23C C2 62 9A B8 */ lfs f19, lbl_805AB7D8@sda21(r2) +/* 8013D2E0 0013A240 C2 42 9A BC */ lfs f18, lbl_805AB7DC@sda21(r2) +/* 8013D2E4 0013A244 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013D2E8 0013A248 38 81 00 54 */ addi r4, r1, 0x54 +/* 8013D2EC 0013A24C EE 20 98 28 */ fsubs f17, f0, f19 +/* 8013D2F0 0013A250 48 1D 75 61 */ bl AsNormalized__9CVector3fCFv +/* 8013D2F4 0013A254 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8013D2F8 0013A258 C0 C1 00 34 */ lfs f6, 0x34(r1) +/* 8013D2FC 0013A25C 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l +/* 8013D300 0013A260 C1 01 00 30 */ lfs f8, 0x30(r1) +/* 8013D304 0013A264 C0 BF 00 08 */ lfs f5, 8(r31) +/* 8013D308 0013A268 EC 15 01 B2 */ fmuls f0, f21, f6 +/* 8013D30C 0013A26C C1 3F 00 00 */ lfs f9, 0(r31) +/* 8013D310 0013A270 EC 25 02 32 */ fmuls f1, f5, f8 +/* 8013D314 0013A274 C0 E1 00 38 */ lfs f7, 0x38(r1) +/* 8013D318 0013A278 C0 9F 00 04 */ lfs f4, 4(r31) +/* 8013D31C 0013A27C EC 69 01 B2 */ fmuls f3, f9, f6 +/* 8013D320 0013A280 EC 16 02 3A */ fmadds f0, f22, f8, f0 +/* 8013D324 0013A284 C2 02 9A C4 */ lfs f16, lbl_805AB7E4@sda21(r2) +/* 8013D328 0013A288 EC 44 01 F2 */ fmuls f2, f4, f7 +/* 8013D32C 0013A28C C3 82 9A C0 */ lfs f28, lbl_805AB7E0@sda21(r2) +/* 8013D330 0013A290 EC 27 0A 78 */ fmsubs f1, f7, f9, f1 +/* 8013D334 0013A294 C3 A2 9A B8 */ lfs f29, lbl_805AB7D8@sda21(r2) +/* 8013D338 0013A298 EC 68 19 38 */ fmsubs f3, f8, f4, f3 +/* 8013D33C 0013A29C EC 46 11 78 */ fmsubs f2, f6, f5, f2 +/* 8013D340 0013A2A0 EC 35 00 72 */ fmuls f1, f21, f1 +/* 8013D344 0013A2A4 EF 54 01 FA */ fmadds f26, f20, f7, f0 +/* 8013D348 0013A2A8 EC 16 08 BA */ fmadds f0, f22, f2, f1 +/* 8013D34C 0013A2AC EF 74 00 FA */ fmadds f27, f20, f3, f0 +/* 8013D350 0013A2B0 48 00 01 34 */ b lbl_8013D484 +lbl_8013D354: +/* 8013D354 0013A2B4 EC 11 F8 28 */ fsubs f0, f17, f31 +/* 8013D358 0013A2B8 FC 00 02 10 */ fabs f0, f0 +/* 8013D35C 0013A2BC FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 8013D360 0013A2C0 41 80 00 0C */ blt lbl_8013D36C +/* 8013D364 0013A2C4 FC 11 E8 40 */ fcmpo cr0, f17, f29 +/* 8013D368 0013A2C8 40 80 00 18 */ bge lbl_8013D380 +lbl_8013D36C: +/* 8013D36C 0013A2CC D3 3E 00 00 */ stfs f25, 0(r30) +/* 8013D370 0013A2D0 38 60 00 01 */ li r3, 1 +/* 8013D374 0013A2D4 D3 1E 00 04 */ stfs f24, 4(r30) +/* 8013D378 0013A2D8 D2 FE 00 08 */ stfs f23, 8(r30) +/* 8013D37C 0013A2DC 48 00 01 5C */ b lbl_8013D4D8 +lbl_8013D380: +/* 8013D380 0013A2E0 EC BF 05 B2 */ fmuls f5, f31, f22 +/* 8013D384 0013A2E4 C0 5D 00 04 */ lfs f2, 4(r29) +/* 8013D388 0013A2E8 EC 9F 05 72 */ fmuls f4, f31, f21 +/* 8013D38C 0013A2EC C0 1D 00 00 */ lfs f0, 0(r29) +/* 8013D390 0013A2F0 EC 3F 05 32 */ fmuls f1, f31, f20 +/* 8013D394 0013A2F4 C0 7D 00 08 */ lfs f3, 8(r29) +/* 8013D398 0013A2F8 EF 18 20 2A */ fadds f24, f24, f4 +/* 8013D39C 0013A2FC 38 61 00 08 */ addi r3, r1, 8 +/* 8013D3A0 0013A300 EF 39 28 2A */ fadds f25, f25, f5 +/* 8013D3A4 0013A304 EE F7 08 2A */ fadds f23, f23, f1 +/* 8013D3A8 0013A308 EC 58 10 28 */ fsubs f2, f24, f2 +/* 8013D3AC 0013A30C EC 39 00 28 */ fsubs f1, f25, f0 +/* 8013D3B0 0013A310 EC 17 18 28 */ fsubs f0, f23, f3 +/* 8013D3B4 0013A314 FE 40 88 90 */ fmr f18, f17 +/* 8013D3B8 0013A318 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8013D3BC 0013A31C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8013D3C0 0013A320 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8013D3C4 0013A324 48 1D 6E 3D */ bl __ct__9CVector2fFff +/* 8013D3C8 0013A328 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8013D3CC 0013A32C 38 61 00 54 */ addi r3, r1, 0x54 +/* 8013D3D0 0013A330 C0 01 00 08 */ lfs f0, 8(r1) +/* 8013D3D4 0013A334 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 8013D3D8 0013A338 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8013D3DC 0013A33C D3 A1 00 5C */ stfs f29, 0x5c(r1) +/* 8013D3E0 0013A340 48 1D 73 19 */ bl CanBeNormalized__9CVector3fCFv +/* 8013D3E4 0013A344 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013D3E8 0013A348 41 82 00 EC */ beq lbl_8013D4D4 +/* 8013D3EC 0013A34C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013D3F0 0013A350 38 81 00 54 */ addi r4, r1, 0x54 +/* 8013D3F4 0013A354 48 1D 74 5D */ bl AsNormalized__9CVector3fCFv +/* 8013D3F8 0013A358 C1 61 00 1C */ lfs f11, 0x1c(r1) +/* 8013D3FC 0013A35C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8013D400 0013A360 C1 81 00 20 */ lfs f12, 0x20(r1) +/* 8013D404 0013A364 C1 1F 00 04 */ lfs f8, 4(r31) +/* 8013D408 0013A368 EC 9A 02 F2 */ fmuls f4, f26, f11 +/* 8013D40C 0013A36C C1 21 00 18 */ lfs f9, 0x18(r1) +/* 8013D410 0013A370 EC 7A 03 32 */ fmuls f3, f26, f12 +/* 8013D414 0013A374 C0 DF 00 08 */ lfs f6, 8(r31) +/* 8013D418 0013A378 EC 08 03 32 */ fmuls f0, f8, f12 +/* 8013D41C 0013A37C C1 5F 00 00 */ lfs f10, 0(r31) +/* 8013D420 0013A380 EC A6 02 72 */ fmuls f5, f6, f9 +/* 8013D424 0013A384 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8013D428 0013A388 EC EA 02 F2 */ fmuls f7, f10, f11 +/* 8013D42C 0013A38C C0 3B 00 08 */ lfs f1, 8(r27) +/* 8013D430 0013A390 EC CB 01 B8 */ fmsubs f6, f11, f6, f0 +/* 8013D434 0013A394 C0 1B 00 00 */ lfs f0, 0(r27) +/* 8013D438 0013A398 EC E9 3A 38 */ fmsubs f7, f9, f8, f7 +/* 8013D43C 0013A39C EC AC 2A B8 */ fmsubs f5, f12, f10, f5 +/* 8013D440 0013A3A0 ED 18 10 28 */ fsubs f8, f24, f2 +/* 8013D444 0013A3A4 EC 5B 01 F2 */ fmuls f2, f27, f7 +/* 8013D448 0013A3A8 EC BB 01 72 */ fmuls f5, f27, f5 +/* 8013D44C 0013A3AC EC F7 08 28 */ fsubs f7, f23, f1 +/* 8013D450 0013A3B0 D1 01 00 4C */ stfs f8, 0x4c(r1) +/* 8013D454 0013A3B4 EC 19 00 28 */ fsubs f0, f25, f0 +/* 8013D458 0013A3B8 EC DB 01 B2 */ fmuls f6, f27, f6 +/* 8013D45C 0013A3BC EC 3A 02 72 */ fmuls f1, f26, f9 +/* 8013D460 0013A3C0 D0 E1 00 50 */ stfs f7, 0x50(r1) +/* 8013D464 0013A3C4 EE A5 20 2A */ fadds f21, f5, f4 +/* 8013D468 0013A3C8 EE 82 18 2A */ fadds f20, f2, f3 +/* 8013D46C 0013A3CC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8013D470 0013A3D0 EE C6 08 2A */ fadds f22, f6, f1 +/* 8013D474 0013A3D4 48 1D 74 45 */ bl Magnitude__9CVector3fCFv +/* 8013D478 0013A3D8 EC 01 F0 24 */ fdivs f0, f1, f30 +/* 8013D47C 0013A3DC EE 73 F8 2A */ fadds f19, f19, f31 +/* 8013D480 0013A3E0 EE 20 98 28 */ fsubs f17, f0, f19 +lbl_8013D484: +/* 8013D484 0013A3E4 FC 11 90 40 */ fcmpo cr0, f17, f18 +/* 8013D488 0013A3E8 40 80 00 4C */ bge lbl_8013D4D4 +/* 8013D48C 0013A3EC FC 13 80 40 */ fcmpo cr0, f19, f16 +/* 8013D490 0013A3F0 41 80 FE C4 */ blt lbl_8013D354 +/* 8013D494 0013A3F4 48 00 00 40 */ b lbl_8013D4D4 +lbl_8013D498: +/* 8013D498 0013A3F8 FC 20 F0 90 */ fmr f1, f30 +/* 8013D49C 0013A3FC 7F 63 DB 78 */ mr r3, r27 +/* 8013D4A0 0013A400 7F 84 E3 78 */ mr r4, r28 +/* 8013D4A4 0013A404 7F E5 FB 78 */ mr r5, r31 +/* 8013D4A8 0013A408 7F C6 F3 78 */ mr r6, r30 +/* 8013D4AC 0013A40C 48 00 03 CD */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f +/* 8013D4B0 0013A410 48 00 00 28 */ b lbl_8013D4D8 +lbl_8013D4B4: +/* 8013D4B4 0013A414 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8013D4B8 0013A418 38 60 00 01 */ li r3, 1 +/* 8013D4BC 0013A41C D0 1E 00 00 */ stfs f0, 0(r30) +/* 8013D4C0 0013A420 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8013D4C4 0013A424 D0 1E 00 04 */ stfs f0, 4(r30) +/* 8013D4C8 0013A428 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8013D4CC 0013A42C D0 1E 00 08 */ stfs f0, 8(r30) +/* 8013D4D0 0013A430 48 00 00 08 */ b lbl_8013D4D8 +lbl_8013D4D4: +/* 8013D4D4 0013A434 38 60 00 00 */ li r3, 0 +lbl_8013D4D8: +/* 8013D4D8 0013A438 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 8013D4DC 0013A43C CB E1 01 70 */ lfd f31, 0x170(r1) +/* 8013D4E0 0013A440 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 8013D4E4 0013A444 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 8013D4E8 0013A448 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 8013D4EC 0013A44C CB A1 01 50 */ lfd f29, 0x150(r1) +/* 8013D4F0 0013A450 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 8013D4F4 0013A454 CB 81 01 40 */ lfd f28, 0x140(r1) +/* 8013D4F8 0013A458 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 +/* 8013D4FC 0013A45C CB 61 01 30 */ lfd f27, 0x130(r1) +/* 8013D500 0013A460 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 +/* 8013D504 0013A464 CB 41 01 20 */ lfd f26, 0x120(r1) +/* 8013D508 0013A468 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 +/* 8013D50C 0013A46C CB 21 01 10 */ lfd f25, 0x110(r1) +/* 8013D510 0013A470 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0 +/* 8013D514 0013A474 CB 01 01 00 */ lfd f24, 0x100(r1) +/* 8013D518 0013A478 E2 E1 00 F8 */ psq_l f23, 248(r1), 0, qr0 +/* 8013D51C 0013A47C CA E1 00 F0 */ lfd f23, 0xf0(r1) +/* 8013D520 0013A480 E2 C1 00 E8 */ psq_l f22, 232(r1), 0, qr0 +/* 8013D524 0013A484 CA C1 00 E0 */ lfd f22, 0xe0(r1) +/* 8013D528 0013A488 E2 A1 00 D8 */ psq_l f21, 216(r1), 0, qr0 +/* 8013D52C 0013A48C CA A1 00 D0 */ lfd f21, 0xd0(r1) +/* 8013D530 0013A490 E2 81 00 C8 */ psq_l f20, 200(r1), 0, qr0 +/* 8013D534 0013A494 CA 81 00 C0 */ lfd f20, 0xc0(r1) +/* 8013D538 0013A498 E2 61 00 B8 */ psq_l f19, 184(r1), 0, qr0 +/* 8013D53C 0013A49C CA 61 00 B0 */ lfd f19, 0xb0(r1) +/* 8013D540 0013A4A0 E2 41 00 A8 */ psq_l f18, 168(r1), 0, qr0 +/* 8013D544 0013A4A4 CA 41 00 A0 */ lfd f18, 0xa0(r1) +/* 8013D548 0013A4A8 E2 21 00 98 */ psq_l f17, 152(r1), 0, qr0 +/* 8013D54C 0013A4AC CA 21 00 90 */ lfd f17, 0x90(r1) +/* 8013D550 0013A4B0 E2 01 00 88 */ psq_l f16, 136(r1), 0, qr0 +/* 8013D554 0013A4B4 CA 01 00 80 */ lfd f16, 0x80(r1) +/* 8013D558 0013A4B8 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8013D55C 0013A4BC 80 01 01 84 */ lwz r0, 0x184(r1) +/* 8013D560 0013A4C0 7C 08 03 A6 */ mtlr r0 +/* 8013D564 0013A4C4 38 21 01 80 */ addi r1, r1, 0x180 +/* 8013D568 0013A4C8 4E 80 00 20 */ blr + +.global ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f +ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f: +/* 8013D56C 0013A4CC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8013D570 0013A4D0 7C 08 02 A6 */ mflr r0 +/* 8013D574 0013A4D4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8013D578 0013A4D8 39 21 00 20 */ addi r9, r1, 0x20 +/* 8013D57C 0013A4DC BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8013D580 0013A4E0 7C 9B 23 78 */ mr r27, r4 +/* 8013D584 0013A4E4 38 80 00 00 */ li r4, 0 +/* 8013D588 0013A4E8 7C BC 2B 78 */ mr r28, r5 +/* 8013D58C 0013A4EC 54 80 10 3A */ slwi r0, r4, 2 +/* 8013D590 0013A4F0 7C DD 33 78 */ mr r29, r6 +/* 8013D594 0013A4F4 7D 09 02 15 */ add. r8, r9, r0 +/* 8013D598 0013A4F8 7C FE 3B 78 */ mr r30, r7 +/* 8013D59C 0013A4FC 3B E0 00 00 */ li r31, 0 +/* 8013D5A0 0013A500 C0 5B 00 04 */ lfs f2, 4(r27) +/* 8013D5A4 0013A504 C0 03 00 04 */ lfs f0, 4(r3) +/* 8013D5A8 0013A508 C0 9B 00 00 */ lfs f4, 0(r27) +/* 8013D5AC 0013A50C EC A2 00 28 */ fsubs f5, f2, f0 +/* 8013D5B0 0013A510 C0 03 00 00 */ lfs f0, 0(r3) +/* 8013D5B4 0013A514 C0 7B 00 08 */ lfs f3, 8(r27) +/* 8013D5B8 0013A518 EC E4 00 28 */ fsubs f7, f4, f0 +/* 8013D5BC 0013A51C C0 43 00 08 */ lfs f2, 8(r3) +/* 8013D5C0 0013A520 EC 05 01 72 */ fmuls f0, f5, f5 +/* 8013D5C4 0013A524 EC C3 10 28 */ fsubs f6, f3, f2 +/* 8013D5C8 0013A528 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8013D5CC 0013A52C EC 07 01 FA */ fmadds f0, f7, f7, f0 +/* 8013D5D0 0013A530 90 81 00 08 */ stw r4, 8(r1) +/* 8013D5D4 0013A534 EC 06 01 BA */ fmadds f0, f6, f6, f0 +/* 8013D5D8 0013A538 41 82 00 08 */ beq lbl_8013D5E0 +/* 8013D5DC 0013A53C D0 08 00 00 */ stfs f0, 0(r8) +lbl_8013D5E0: +/* 8013D5E0 0013A540 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8013D5E4 0013A544 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8013D5E8 0013A548 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8013D5EC 0013A54C C0 5C 00 00 */ lfs f2, 0(r28) +/* 8013D5F0 0013A550 38 63 00 01 */ addi r3, r3, 1 +/* 8013D5F4 0013A554 C0 7C 00 08 */ lfs f3, 8(r28) +/* 8013D5F8 0013A558 54 60 10 3A */ slwi r0, r3, 2 +/* 8013D5FC 0013A55C C0 82 9A C8 */ lfs f4, lbl_805AB7E8@sda21(r2) +/* 8013D600 0013A560 EC 07 00 BA */ fmadds f0, f7, f2, f0 +/* 8013D604 0013A564 7C 89 02 15 */ add. r4, r9, r0 +/* 8013D608 0013A568 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8013D60C 0013A56C EC 06 00 FA */ fmadds f0, f6, f3, f0 +/* 8013D610 0013A570 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8013D614 0013A574 41 82 00 08 */ beq lbl_8013D61C +/* 8013D618 0013A578 D0 04 00 00 */ stfs f0, 0(r4) +lbl_8013D61C: +/* 8013D61C 0013A57C C0 7C 00 00 */ lfs f3, 0(r28) +/* 8013D620 0013A580 C0 5C 00 04 */ lfs f2, 4(r28) +/* 8013D624 0013A584 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8013D628 0013A588 EC 83 00 F2 */ fmuls f4, f3, f3 +/* 8013D62C 0013A58C EC 62 00 B2 */ fmuls f3, f2, f2 +/* 8013D630 0013A590 C1 1C 00 08 */ lfs f8, 8(r28) +/* 8013D634 0013A594 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8013D638 0013A598 C0 5D 00 00 */ lfs f2, 0(r29) +/* 8013D63C 0013A59C EC A8 02 32 */ fmuls f5, f8, f8 +/* 8013D640 0013A5A0 EC 64 18 2A */ fadds f3, f4, f3 +/* 8013D644 0013A5A4 EC 07 00 BA */ fmadds f0, f7, f2, f0 +/* 8013D648 0013A5A8 C0 5D 00 08 */ lfs f2, 8(r29) +/* 8013D64C 0013A5AC 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8013D650 0013A5B0 EC 65 18 2A */ fadds f3, f5, f3 +/* 8013D654 0013A5B4 EC 06 00 BA */ fmadds f0, f6, f2, f0 +/* 8013D658 0013A5B8 38 63 00 01 */ addi r3, r3, 1 +/* 8013D65C 0013A5BC 54 60 10 3A */ slwi r0, r3, 2 +/* 8013D660 0013A5C0 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8013D664 0013A5C4 7C 69 02 15 */ add. r3, r9, r0 +/* 8013D668 0013A5C8 EC 03 00 2A */ fadds f0, f3, f0 +/* 8013D66C 0013A5CC EC 01 00 7C */ fnmsubs f0, f1, f1, f0 +/* 8013D670 0013A5D0 41 82 00 08 */ beq lbl_8013D678 +/* 8013D674 0013A5D4 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013D678: +/* 8013D678 0013A5D8 C0 3C 00 04 */ lfs f1, 4(r28) +/* 8013D67C 0013A5DC C0 1D 00 04 */ lfs f0, 4(r29) +/* 8013D680 0013A5E0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8013D684 0013A5E4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8013D688 0013A5E8 C0 5C 00 00 */ lfs f2, 0(r28) +/* 8013D68C 0013A5EC C0 3D 00 00 */ lfs f1, 0(r29) +/* 8013D690 0013A5F0 38 63 00 01 */ addi r3, r3, 1 +/* 8013D694 0013A5F4 54 60 10 3A */ slwi r0, r3, 2 +/* 8013D698 0013A5F8 C0 7C 00 08 */ lfs f3, 8(r28) +/* 8013D69C 0013A5FC EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8013D6A0 0013A600 C0 3D 00 08 */ lfs f1, 8(r29) +/* 8013D6A4 0013A604 7C 89 02 15 */ add. r4, r9, r0 +/* 8013D6A8 0013A608 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8013D6AC 0013A60C EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 8013D6B0 0013A610 41 82 00 08 */ beq lbl_8013D6B8 +/* 8013D6B4 0013A614 D0 04 00 00 */ stfs f0, 0(r4) +lbl_8013D6B8: +/* 8013D6B8 0013A618 C0 3D 00 00 */ lfs f1, 0(r29) +/* 8013D6BC 0013A61C C0 1D 00 04 */ lfs f0, 4(r29) +/* 8013D6C0 0013A620 EC 21 00 72 */ fmuls f1, f1, f1 +/* 8013D6C4 0013A624 C0 5D 00 08 */ lfs f2, 8(r29) +/* 8013D6C8 0013A628 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8013D6CC 0013A62C 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8013D6D0 0013A630 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 8013D6D4 0013A634 C0 62 9A CC */ lfs f3, lbl_805AB7EC@sda21(r2) +/* 8013D6D8 0013A638 EC 01 00 2A */ fadds f0, f1, f0 +/* 8013D6DC 0013A63C 38 63 00 01 */ addi r3, r3, 1 +/* 8013D6E0 0013A640 54 60 10 3A */ slwi r0, r3, 2 +/* 8013D6E4 0013A644 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8013D6E8 0013A648 7C 69 02 15 */ add. r3, r9, r0 +/* 8013D6EC 0013A64C EC 02 00 2A */ fadds f0, f2, f0 +/* 8013D6F0 0013A650 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8013D6F4 0013A654 41 82 00 08 */ beq lbl_8013D6FC +/* 8013D6F8 0013A658 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013D6FC: +/* 8013D6FC 0013A65C 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8013D700 0013A660 38 61 00 1C */ addi r3, r1, 0x1c +/* 8013D704 0013A664 38 81 00 08 */ addi r4, r1, 8 +/* 8013D708 0013A668 38 05 00 01 */ addi r0, r5, 1 +/* 8013D70C 0013A66C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8013D710 0013A670 48 00 02 75 */ bl "SolveQuartic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" +/* 8013D714 0013A674 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013D718 0013A678 41 82 00 A4 */ beq lbl_8013D7BC +/* 8013D71C 0013A67C C0 E2 9A B8 */ lfs f7, lbl_805AB7D8@sda21(r2) +/* 8013D720 0013A680 38 61 00 0C */ addi r3, r1, 0xc +/* 8013D724 0013A684 38 80 00 00 */ li r4, 0 +/* 8013D728 0013A688 48 00 00 88 */ b lbl_8013D7B0 +lbl_8013D72C: +/* 8013D72C 0013A68C C1 03 00 00 */ lfs f8, 0(r3) +/* 8013D730 0013A690 FC 08 38 40 */ fcmpo cr0, f8, f7 +/* 8013D734 0013A694 40 81 00 74 */ ble lbl_8013D7A8 +/* 8013D738 0013A698 C0 22 9A D0 */ lfs f1, lbl_805AB7F0@sda21(r2) +/* 8013D73C 0013A69C 3B E0 00 01 */ li r31, 1 +/* 8013D740 0013A6A0 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8013D744 0013A6A4 EC 81 02 32 */ fmuls f4, f1, f8 +/* 8013D748 0013A6A8 C0 7C 00 04 */ lfs f3, 4(r28) +/* 8013D74C 0013A6AC C0 5C 00 08 */ lfs f2, 8(r28) +/* 8013D750 0013A6B0 EC 08 00 32 */ fmuls f0, f8, f0 +/* 8013D754 0013A6B4 C0 3B 00 00 */ lfs f1, 0(r27) +/* 8013D758 0013A6B8 EC A8 00 F2 */ fmuls f5, f8, f3 +/* 8013D75C 0013A6BC ED 24 02 32 */ fmuls f9, f4, f8 +/* 8013D760 0013A6C0 C0 7D 00 00 */ lfs f3, 0(r29) +/* 8013D764 0013A6C4 C0 DB 00 04 */ lfs f6, 4(r27) +/* 8013D768 0013A6C8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8013D76C 0013A6CC C0 9D 00 04 */ lfs f4, 4(r29) +/* 8013D770 0013A6D0 EC 48 00 B2 */ fmuls f2, f8, f2 +/* 8013D774 0013A6D4 ED 09 00 F2 */ fmuls f8, f9, f3 +/* 8013D778 0013A6D8 C0 7B 00 08 */ lfs f3, 8(r27) +/* 8013D77C 0013A6DC C0 3D 00 08 */ lfs f1, 8(r29) +/* 8013D780 0013A6E0 EC A6 28 2A */ fadds f5, f6, f5 +/* 8013D784 0013A6E4 EC 89 01 32 */ fmuls f4, f9, f4 +/* 8013D788 0013A6E8 EC 00 40 2A */ fadds f0, f0, f8 +/* 8013D78C 0013A6EC EC 43 10 2A */ fadds f2, f3, f2 +/* 8013D790 0013A6F0 EC 29 00 72 */ fmuls f1, f9, f1 +/* 8013D794 0013A6F4 EC 65 20 2A */ fadds f3, f5, f4 +/* 8013D798 0013A6F8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8013D79C 0013A6FC EC 02 08 2A */ fadds f0, f2, f1 +/* 8013D7A0 0013A700 D0 7E 00 04 */ stfs f3, 4(r30) +/* 8013D7A4 0013A704 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_8013D7A8: +/* 8013D7A8 0013A708 38 63 00 04 */ addi r3, r3, 4 +/* 8013D7AC 0013A70C 38 84 00 01 */ addi r4, r4, 1 +lbl_8013D7B0: +/* 8013D7B0 0013A710 80 01 00 08 */ lwz r0, 8(r1) +/* 8013D7B4 0013A714 7C 04 00 00 */ cmpw r4, r0 +/* 8013D7B8 0013A718 41 80 FF 74 */ blt lbl_8013D72C +lbl_8013D7BC: +/* 8013D7BC 0013A71C 80 C1 00 08 */ lwz r6, 8(r1) +/* 8013D7C0 0013A720 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 8013D7C4 0013A724 38 80 00 00 */ li r4, 0 +/* 8013D7C8 0013A728 2C 06 00 00 */ cmpwi r6, 0 +/* 8013D7CC 0013A72C 40 81 00 40 */ ble lbl_8013D80C +/* 8013D7D0 0013A730 2C 06 00 08 */ cmpwi r6, 8 +/* 8013D7D4 0013A734 38 A6 FF F8 */ addi r5, r6, -8 +/* 8013D7D8 0013A738 40 81 00 20 */ ble lbl_8013D7F8 +/* 8013D7DC 0013A73C 38 05 00 07 */ addi r0, r5, 7 +/* 8013D7E0 0013A740 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013D7E4 0013A744 7C 09 03 A6 */ mtctr r0 +/* 8013D7E8 0013A748 2C 05 00 00 */ cmpwi r5, 0 +/* 8013D7EC 0013A74C 40 81 00 0C */ ble lbl_8013D7F8 +lbl_8013D7F0: +/* 8013D7F0 0013A750 38 84 00 08 */ addi r4, r4, 8 +/* 8013D7F4 0013A754 42 00 FF FC */ bdnz lbl_8013D7F0 +lbl_8013D7F8: +/* 8013D7F8 0013A758 7C 04 30 50 */ subf r0, r4, r6 +/* 8013D7FC 0013A75C 7C 09 03 A6 */ mtctr r0 +/* 8013D800 0013A760 7C 04 30 00 */ cmpw r4, r6 +/* 8013D804 0013A764 40 80 00 08 */ bge lbl_8013D80C +lbl_8013D808: +/* 8013D808 0013A768 42 00 00 00 */ bdnz lbl_8013D808 +lbl_8013D80C: +/* 8013D80C 0013A76C 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8013D810 0013A770 38 80 00 00 */ li r4, 0 +/* 8013D814 0013A774 90 81 00 08 */ stw r4, 8(r1) +/* 8013D818 0013A778 2C 06 00 00 */ cmpwi r6, 0 +/* 8013D81C 0013A77C 40 81 00 40 */ ble lbl_8013D85C +/* 8013D820 0013A780 2C 06 00 08 */ cmpwi r6, 8 +/* 8013D824 0013A784 38 A6 FF F8 */ addi r5, r6, -8 +/* 8013D828 0013A788 40 81 00 20 */ ble lbl_8013D848 +/* 8013D82C 0013A78C 38 05 00 07 */ addi r0, r5, 7 +/* 8013D830 0013A790 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013D834 0013A794 7C 09 03 A6 */ mtctr r0 +/* 8013D838 0013A798 2C 05 00 00 */ cmpwi r5, 0 +/* 8013D83C 0013A79C 40 81 00 0C */ ble lbl_8013D848 +lbl_8013D840: +/* 8013D840 0013A7A0 38 84 00 08 */ addi r4, r4, 8 +/* 8013D844 0013A7A4 42 00 FF FC */ bdnz lbl_8013D840 +lbl_8013D848: +/* 8013D848 0013A7A8 7C 04 30 50 */ subf r0, r4, r6 +/* 8013D84C 0013A7AC 7C 09 03 A6 */ mtctr r0 +/* 8013D850 0013A7B0 7C 04 30 00 */ cmpw r4, r6 +/* 8013D854 0013A7B4 40 80 00 08 */ bge lbl_8013D85C +lbl_8013D858: +/* 8013D858 0013A7B8 42 00 00 00 */ bdnz lbl_8013D858 +lbl_8013D85C: +/* 8013D85C 0013A7BC 38 00 00 00 */ li r0, 0 +/* 8013D860 0013A7C0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8013D864 0013A7C4 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8013D868 0013A7C8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8013D86C 0013A7CC 7C 08 03 A6 */ mtlr r0 +/* 8013D870 0013A7D0 38 21 00 50 */ addi r1, r1, 0x50 +/* 8013D874 0013A7D4 4E 80 00 20 */ blr + +.global ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f +ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f: +/* 8013D878 0013A7D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8013D87C 0013A7DC 7C 08 02 A6 */ mflr r0 +/* 8013D880 0013A7E0 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013D884 0013A7E4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013D888 0013A7E8 7C DF 33 78 */ mr r31, r6 +/* 8013D88C 0013A7EC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8013D890 0013A7F0 7C BE 2B 78 */ mr r30, r5 +/* 8013D894 0013A7F4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8013D898 0013A7F8 7C 9D 23 78 */ mr r29, r4 +/* 8013D89C 0013A7FC C0 44 00 04 */ lfs f2, 4(r4) +/* 8013D8A0 0013A800 38 81 00 08 */ addi r4, r1, 8 +/* 8013D8A4 0013A804 C0 03 00 04 */ lfs f0, 4(r3) +/* 8013D8A8 0013A808 C0 A5 00 04 */ lfs f5, 4(r5) +/* 8013D8AC 0013A80C EC E2 00 28 */ fsubs f7, f2, f0 +/* 8013D8B0 0013A810 C0 DD 00 00 */ lfs f6, 0(r29) +/* 8013D8B4 0013A814 C0 03 00 00 */ lfs f0, 0(r3) +/* 8013D8B8 0013A818 EC 65 01 72 */ fmuls f3, f5, f5 +/* 8013D8BC 0013A81C C0 83 00 08 */ lfs f4, 8(r3) +/* 8013D8C0 0013A820 38 61 00 0C */ addi r3, r1, 0xc +/* 8013D8C4 0013A824 EC 45 01 F2 */ fmuls f2, f5, f7 +/* 8013D8C8 0013A828 C1 25 00 00 */ lfs f9, 0(r5) +/* 8013D8CC 0013A82C ED 06 00 28 */ fsubs f8, f6, f0 +/* 8013D8D0 0013A830 C0 BD 00 08 */ lfs f5, 8(r29) +/* 8013D8D4 0013A834 EC 07 01 F2 */ fmuls f0, f7, f7 +/* 8013D8D8 0013A838 C0 E5 00 08 */ lfs f7, 8(r5) +/* 8013D8DC 0013A83C EC C5 20 28 */ fsubs f6, f5, f4 +/* 8013D8E0 0013A840 C0 82 9A C8 */ lfs f4, lbl_805AB7E8@sda21(r2) +/* 8013D8E4 0013A844 EC 69 1A 7A */ fmadds f3, f9, f9, f3 +/* 8013D8E8 0013A848 EC 49 12 3A */ fmadds f2, f9, f8, f2 +/* 8013D8EC 0013A84C EC 08 02 3A */ fmadds f0, f8, f8, f0 +/* 8013D8F0 0013A850 EC A7 19 FA */ fmadds f5, f7, f7, f3 +/* 8013D8F4 0013A854 EC 47 11 BA */ fmadds f2, f7, f6, f2 +/* 8013D8F8 0013A858 EC 66 01 BA */ fmadds f3, f6, f6, f0 +/* 8013D8FC 0013A85C EC 21 28 7C */ fnmsubs f1, f1, f1, f5 +/* 8013D900 0013A860 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8013D904 0013A864 48 00 0A F1 */ bl SolveQuadratic__18CSteeringBehaviorsFfffRfRf +/* 8013D908 0013A868 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013D90C 0013A86C 41 82 00 58 */ beq lbl_8013D964 +/* 8013D910 0013A870 C0 C1 00 08 */ lfs f6, 8(r1) +/* 8013D914 0013A874 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013D918 0013A878 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 8013D91C 0013A87C 40 81 00 48 */ ble lbl_8013D964 +/* 8013D920 0013A880 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8013D924 0013A884 38 60 00 01 */ li r3, 1 +/* 8013D928 0013A888 C0 7E 00 04 */ lfs f3, 4(r30) +/* 8013D92C 0013A88C EC 06 00 32 */ fmuls f0, f6, f0 +/* 8013D930 0013A890 C0 3D 00 00 */ lfs f1, 0(r29) +/* 8013D934 0013A894 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8013D938 0013A898 EC 86 00 F2 */ fmuls f4, f6, f3 +/* 8013D93C 0013A89C C0 BD 00 04 */ lfs f5, 4(r29) +/* 8013D940 0013A8A0 EC 01 00 2A */ fadds f0, f1, f0 +/* 8013D944 0013A8A4 C0 7D 00 08 */ lfs f3, 8(r29) +/* 8013D948 0013A8A8 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 8013D94C 0013A8AC EC 45 20 2A */ fadds f2, f5, f4 +/* 8013D950 0013A8B0 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8013D954 0013A8B4 EC 03 08 2A */ fadds f0, f3, f1 +/* 8013D958 0013A8B8 D0 5F 00 04 */ stfs f2, 4(r31) +/* 8013D95C 0013A8BC D0 1F 00 08 */ stfs f0, 8(r31) +/* 8013D960 0013A8C0 48 00 00 08 */ b lbl_8013D968 +lbl_8013D964: +/* 8013D964 0013A8C4 38 60 00 00 */ li r3, 0 +lbl_8013D968: +/* 8013D968 0013A8C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8013D96C 0013A8CC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013D970 0013A8D0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8013D974 0013A8D4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8013D978 0013A8D8 7C 08 03 A6 */ mtlr r0 +/* 8013D97C 0013A8DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8013D980 0013A8E0 4E 80 00 20 */ blr + +.global "SolveQuartic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" +"SolveQuartic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector": +/* 8013D984 0013A8E4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8013D988 0013A8E8 7C 08 02 A6 */ mflr r0 +/* 8013D98C 0013A8EC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8013D990 0013A8F0 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8013D994 0013A8F4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8013D998 0013A8F8 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8013D99C 0013A8FC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8013D9A0 0013A900 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8013D9A4 0013A904 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8013D9A8 0013A908 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8013D9AC 0013A90C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 8013D9B0 0013A910 DB 61 00 60 */ stfd f27, 0x60(r1) +/* 8013D9B4 0013A914 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 +/* 8013D9B8 0013A918 DB 41 00 50 */ stfd f26, 0x50(r1) +/* 8013D9BC 0013A91C F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 +/* 8013D9C0 0013A920 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8013D9C4 0013A924 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8013D9C8 0013A928 7C 7E 1B 78 */ mr r30, r3 +/* 8013D9CC 0013A92C C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013D9D0 0013A930 C1 63 00 14 */ lfs f11, 0x14(r3) +/* 8013D9D4 0013A934 7C 9F 23 78 */ mr r31, r4 +/* 8013D9D8 0013A938 FC 00 58 00 */ fcmpu cr0, f0, f11 +/* 8013D9DC 0013A93C 40 82 00 F4 */ bne lbl_8013DAD0 +/* 8013D9E0 0013A940 38 60 00 00 */ li r3, 0 +/* 8013D9E4 0013A944 38 81 00 34 */ addi r4, r1, 0x34 +/* 8013D9E8 0013A948 54 60 10 3A */ slwi r0, r3, 2 +/* 8013D9EC 0013A94C 90 61 00 30 */ stw r3, 0x30(r1) +/* 8013D9F0 0013A950 7C 64 02 15 */ add. r3, r4, r0 +/* 8013D9F4 0013A954 41 82 00 0C */ beq lbl_8013DA00 +/* 8013D9F8 0013A958 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8013D9FC 0013A95C D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DA00: +/* 8013DA00 0013A960 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8013DA04 0013A964 38 63 00 01 */ addi r3, r3, 1 +/* 8013DA08 0013A968 54 60 10 3A */ slwi r0, r3, 2 +/* 8013DA0C 0013A96C 90 61 00 30 */ stw r3, 0x30(r1) +/* 8013DA10 0013A970 7C 64 02 15 */ add. r3, r4, r0 +/* 8013DA14 0013A974 41 82 00 0C */ beq lbl_8013DA20 +/* 8013DA18 0013A978 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8013DA1C 0013A97C D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DA20: +/* 8013DA20 0013A980 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8013DA24 0013A984 38 63 00 01 */ addi r3, r3, 1 +/* 8013DA28 0013A988 54 60 10 3A */ slwi r0, r3, 2 +/* 8013DA2C 0013A98C 90 61 00 30 */ stw r3, 0x30(r1) +/* 8013DA30 0013A990 7C 64 02 15 */ add. r3, r4, r0 +/* 8013DA34 0013A994 41 82 00 0C */ beq lbl_8013DA40 +/* 8013DA38 0013A998 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8013DA3C 0013A99C D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DA40: +/* 8013DA40 0013A9A0 80 61 00 30 */ lwz r3, 0x30(r1) +/* 8013DA44 0013A9A4 38 63 00 01 */ addi r3, r3, 1 +/* 8013DA48 0013A9A8 54 60 10 3A */ slwi r0, r3, 2 +/* 8013DA4C 0013A9AC 90 61 00 30 */ stw r3, 0x30(r1) +/* 8013DA50 0013A9B0 7C 64 02 15 */ add. r3, r4, r0 +/* 8013DA54 0013A9B4 41 82 00 0C */ beq lbl_8013DA60 +/* 8013DA58 0013A9B8 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8013DA5C 0013A9BC D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DA60: +/* 8013DA60 0013A9C0 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 8013DA64 0013A9C4 7F E4 FB 78 */ mr r4, r31 +/* 8013DA68 0013A9C8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8013DA6C 0013A9CC 38 05 00 01 */ addi r0, r5, 1 +/* 8013DA70 0013A9D0 90 01 00 30 */ stw r0, 0x30(r1) +/* 8013DA74 0013A9D4 48 00 05 81 */ bl "SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" +/* 8013DA78 0013A9D8 80 C1 00 30 */ lwz r6, 0x30(r1) +/* 8013DA7C 0013A9DC 38 80 00 00 */ li r4, 0 +/* 8013DA80 0013A9E0 2C 06 00 00 */ cmpwi r6, 0 +/* 8013DA84 0013A9E4 40 81 00 40 */ ble lbl_8013DAC4 +/* 8013DA88 0013A9E8 2C 06 00 08 */ cmpwi r6, 8 +/* 8013DA8C 0013A9EC 38 A6 FF F8 */ addi r5, r6, -8 +/* 8013DA90 0013A9F0 40 81 00 20 */ ble lbl_8013DAB0 +/* 8013DA94 0013A9F4 38 05 00 07 */ addi r0, r5, 7 +/* 8013DA98 0013A9F8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013DA9C 0013A9FC 7C 09 03 A6 */ mtctr r0 +/* 8013DAA0 0013AA00 2C 05 00 00 */ cmpwi r5, 0 +/* 8013DAA4 0013AA04 40 81 00 0C */ ble lbl_8013DAB0 +lbl_8013DAA8: +/* 8013DAA8 0013AA08 38 84 00 08 */ addi r4, r4, 8 +/* 8013DAAC 0013AA0C 42 00 FF FC */ bdnz lbl_8013DAA8 +lbl_8013DAB0: +/* 8013DAB0 0013AA10 7C 04 30 50 */ subf r0, r4, r6 +/* 8013DAB4 0013AA14 7C 09 03 A6 */ mtctr r0 +/* 8013DAB8 0013AA18 7C 04 30 00 */ cmpw r4, r6 +/* 8013DABC 0013AA1C 40 80 00 08 */ bge lbl_8013DAC4 +lbl_8013DAC0: +/* 8013DAC0 0013AA20 42 00 00 00 */ bdnz lbl_8013DAC0 +lbl_8013DAC4: +/* 8013DAC4 0013AA24 38 00 00 00 */ li r0, 0 +/* 8013DAC8 0013AA28 90 01 00 30 */ stw r0, 0x30(r1) +/* 8013DACC 0013AA2C 48 00 04 E0 */ b lbl_8013DFAC +lbl_8013DAD0: +/* 8013DAD0 0013AA30 C1 22 9A C4 */ lfs f9, lbl_805AB7E4@sda21(r2) +/* 8013DAD4 0013AA34 38 60 00 00 */ li r3, 0 +/* 8013DAD8 0013AA38 C0 DE 00 0C */ lfs f6, 0xc(r30) +/* 8013DADC 0013AA3C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8013DAE0 0013AA40 ED 09 02 F2 */ fmuls f8, f9, f11 +/* 8013DAE4 0013AA44 C1 5E 00 10 */ lfs f10, 0x10(r30) +/* 8013DAE8 0013AA48 C0 62 9A C8 */ lfs f3, lbl_805AB7E8@sda21(r2) +/* 8013DAEC 0013AA4C 54 60 10 3A */ slwi r0, r3, 2 +/* 8013DAF0 0013AA50 C0 5E 00 08 */ lfs f2, 8(r30) +/* 8013DAF4 0013AA54 EC A6 58 24 */ fdivs f5, f6, f11 +/* 8013DAF8 0013AA58 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8013DAFC 0013AA5C 7C 85 02 15 */ add. r4, r5, r0 +/* 8013DB00 0013AA60 C0 22 9A DC */ lfs f1, lbl_805AB7FC@sda21(r2) +/* 8013DB04 0013AA64 C0 82 9A D8 */ lfs f4, lbl_805AB7F8@sda21(r2) +/* 8013DB08 0013AA68 C0 E2 9A D4 */ lfs f7, lbl_805AB7F4@sda21(r2) +/* 8013DB0C 0013AA6C EF CA 40 24 */ fdivs f30, f10, f8 +/* 8013DB10 0013AA70 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8013DB14 0013AA74 EC 63 01 B2 */ fmuls f3, f3, f6 +/* 8013DB18 0013AA78 EC 21 07 B2 */ fmuls f1, f1, f30 +/* 8013DB1C 0013AA7C EC C7 07 B2 */ fmuls f6, f7, f30 +/* 8013DB20 0013AA80 EC 63 58 24 */ fdivs f3, f3, f11 +/* 8013DB24 0013AA84 EC 84 07 B2 */ fmuls f4, f4, f30 +/* 8013DB28 0013AA88 EC 42 58 24 */ fdivs f2, f2, f11 +/* 8013DB2C 0013AA8C EC 21 2F BA */ fmadds f1, f1, f30, f5 +/* 8013DB30 0013AA90 EC 64 1F B8 */ fmsubs f3, f4, f30, f3 +/* 8013DB34 0013AA94 EC 00 58 24 */ fdivs f0, f0, f11 +/* 8013DB38 0013AA98 EC 3E 10 78 */ fmsubs f1, f30, f1, f2 +/* 8013DB3C 0013AA9C EF BE 10 FA */ fmadds f29, f30, f3, f2 +/* 8013DB40 0013AAA0 EF E6 2F BA */ fmadds f31, f6, f30, f5 +/* 8013DB44 0013AAA4 EF 9E 00 7A */ fmadds f28, f30, f1, f0 +/* 8013DB48 0013AAA8 EC 1D 07 72 */ fmuls f0, f29, f29 +/* 8013DB4C 0013AAAC EC 29 07 32 */ fmuls f1, f9, f28 +/* 8013DB50 0013AAB0 EC 01 07 F8 */ fmsubs f0, f1, f31, f0 +/* 8013DB54 0013AAB4 41 82 00 08 */ beq lbl_8013DB5C +/* 8013DB58 0013AAB8 D0 04 00 00 */ stfs f0, 0(r4) +lbl_8013DB5C: +/* 8013DB5C 0013AABC 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8013DB60 0013AAC0 C0 02 9A E0 */ lfs f0, lbl_805AB800@sda21(r2) +/* 8013DB64 0013AAC4 38 63 00 01 */ addi r3, r3, 1 +/* 8013DB68 0013AAC8 54 60 10 3A */ slwi r0, r3, 2 +/* 8013DB6C 0013AACC EC 00 07 32 */ fmuls f0, f0, f28 +/* 8013DB70 0013AAD0 7C 85 02 15 */ add. r4, r5, r0 +/* 8013DB74 0013AAD4 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8013DB78 0013AAD8 41 82 00 08 */ beq lbl_8013DB80 +/* 8013DB7C 0013AADC D0 04 00 00 */ stfs f0, 0(r4) +lbl_8013DB80: +/* 8013DB80 0013AAE0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8013DB84 0013AAE4 C0 02 9A E4 */ lfs f0, lbl_805AB804@sda21(r2) +/* 8013DB88 0013AAE8 38 63 00 01 */ addi r3, r3, 1 +/* 8013DB8C 0013AAEC 54 60 10 3A */ slwi r0, r3, 2 +/* 8013DB90 0013AAF0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 8013DB94 0013AAF4 7C 85 02 15 */ add. r4, r5, r0 +/* 8013DB98 0013AAF8 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8013DB9C 0013AAFC 41 82 00 08 */ beq lbl_8013DBA4 +/* 8013DBA0 0013AB00 D0 04 00 00 */ stfs f0, 0(r4) +lbl_8013DBA4: +/* 8013DBA4 0013AB04 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8013DBA8 0013AB08 38 63 00 01 */ addi r3, r3, 1 +/* 8013DBAC 0013AB0C 54 60 10 3A */ slwi r0, r3, 2 +/* 8013DBB0 0013AB10 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8013DBB4 0013AB14 7C 65 02 15 */ add. r3, r5, r0 +/* 8013DBB8 0013AB18 41 82 00 0C */ beq lbl_8013DBC4 +/* 8013DBBC 0013AB1C C0 0D 8B 90 */ lfs f0, lbl_805A7750@sda21(r13) +/* 8013DBC0 0013AB20 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DBC4: +/* 8013DBC4 0013AB24 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 8013DBC8 0013AB28 38 00 00 00 */ li r0, 0 +/* 8013DBCC 0013AB2C 90 01 00 08 */ stw r0, 8(r1) +/* 8013DBD0 0013AB30 38 61 00 1C */ addi r3, r1, 0x1c +/* 8013DBD4 0013AB34 38 04 00 01 */ addi r0, r4, 1 +/* 8013DBD8 0013AB38 38 81 00 08 */ addi r4, r1, 8 +/* 8013DBDC 0013AB3C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8013DBE0 0013AB40 48 00 04 15 */ bl "SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" +/* 8013DBE4 0013AB44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013DBE8 0013AB48 41 82 03 10 */ beq lbl_8013DEF8 +/* 8013DBEC 0013AB4C 80 81 00 08 */ lwz r4, 8(r1) +/* 8013DBF0 0013AB50 38 61 00 0C */ addi r3, r1, 0xc +/* 8013DBF4 0013AB54 C0 02 9A C8 */ lfs f0, lbl_805AB7E8@sda21(r2) +/* 8013DBF8 0013AB58 38 04 FF FF */ addi r0, r4, -1 +/* 8013DBFC 0013AB5C 54 00 10 3A */ slwi r0, r0, 2 +/* 8013DC00 0013AB60 7F 63 04 2E */ lfsx f27, r3, r0 +/* 8013DC04 0013AB64 EF 40 FE F8 */ fmsubs f26, f0, f27, f31 +/* 8013DC08 0013AB68 FC 20 D0 90 */ fmr f1, f26 +/* 8013DC0C 0013AB6C 48 1D 78 F5 */ bl SqrtF__5CMathFf +/* 8013DC10 0013AB70 FF E0 08 90 */ fmr f31, f1 +/* 8013DC14 0013AB74 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013DC18 0013AB78 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 8013DC1C 0013AB7C 40 82 00 C4 */ bne lbl_8013DCE0 +/* 8013DC20 0013AB80 EC 3B E6 F8 */ fmsubs f1, f27, f27, f28 +/* 8013DC24 0013AB84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013DC28 0013AB88 40 80 00 B0 */ bge lbl_8013DCD8 +/* 8013DC2C 0013AB8C 80 A1 00 08 */ lwz r5, 8(r1) +/* 8013DC30 0013AB90 38 60 00 00 */ li r3, 0 +/* 8013DC34 0013AB94 2C 05 00 00 */ cmpwi r5, 0 +/* 8013DC38 0013AB98 40 81 00 40 */ ble lbl_8013DC78 +/* 8013DC3C 0013AB9C 2C 05 00 08 */ cmpwi r5, 8 +/* 8013DC40 0013ABA0 38 85 FF F8 */ addi r4, r5, -8 +/* 8013DC44 0013ABA4 40 81 00 20 */ ble lbl_8013DC64 +/* 8013DC48 0013ABA8 38 04 00 07 */ addi r0, r4, 7 +/* 8013DC4C 0013ABAC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013DC50 0013ABB0 7C 09 03 A6 */ mtctr r0 +/* 8013DC54 0013ABB4 2C 04 00 00 */ cmpwi r4, 0 +/* 8013DC58 0013ABB8 40 81 00 0C */ ble lbl_8013DC64 +lbl_8013DC5C: +/* 8013DC5C 0013ABBC 38 63 00 08 */ addi r3, r3, 8 +/* 8013DC60 0013ABC0 42 00 FF FC */ bdnz lbl_8013DC5C +lbl_8013DC64: +/* 8013DC64 0013ABC4 7C 03 28 50 */ subf r0, r3, r5 +/* 8013DC68 0013ABC8 7C 09 03 A6 */ mtctr r0 +/* 8013DC6C 0013ABCC 7C 03 28 00 */ cmpw r3, r5 +/* 8013DC70 0013ABD0 40 80 00 08 */ bge lbl_8013DC78 +lbl_8013DC74: +/* 8013DC74 0013ABD4 42 00 00 00 */ bdnz lbl_8013DC74 +lbl_8013DC78: +/* 8013DC78 0013ABD8 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8013DC7C 0013ABDC 38 60 00 00 */ li r3, 0 +/* 8013DC80 0013ABE0 90 61 00 08 */ stw r3, 8(r1) +/* 8013DC84 0013ABE4 2C 05 00 00 */ cmpwi r5, 0 +/* 8013DC88 0013ABE8 40 81 00 40 */ ble lbl_8013DCC8 +/* 8013DC8C 0013ABEC 2C 05 00 08 */ cmpwi r5, 8 +/* 8013DC90 0013ABF0 38 85 FF F8 */ addi r4, r5, -8 +/* 8013DC94 0013ABF4 40 81 00 20 */ ble lbl_8013DCB4 +/* 8013DC98 0013ABF8 38 04 00 07 */ addi r0, r4, 7 +/* 8013DC9C 0013ABFC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013DCA0 0013AC00 7C 09 03 A6 */ mtctr r0 +/* 8013DCA4 0013AC04 2C 04 00 00 */ cmpwi r4, 0 +/* 8013DCA8 0013AC08 40 81 00 0C */ ble lbl_8013DCB4 +lbl_8013DCAC: +/* 8013DCAC 0013AC0C 38 63 00 08 */ addi r3, r3, 8 +/* 8013DCB0 0013AC10 42 00 FF FC */ bdnz lbl_8013DCAC +lbl_8013DCB4: +/* 8013DCB4 0013AC14 7C 03 28 50 */ subf r0, r3, r5 +/* 8013DCB8 0013AC18 7C 09 03 A6 */ mtctr r0 +/* 8013DCBC 0013AC1C 7C 03 28 00 */ cmpw r3, r5 +/* 8013DCC0 0013AC20 40 80 00 08 */ bge lbl_8013DCC8 +lbl_8013DCC4: +/* 8013DCC4 0013AC24 42 00 00 00 */ bdnz lbl_8013DCC4 +lbl_8013DCC8: +/* 8013DCC8 0013AC28 38 00 00 00 */ li r0, 0 +/* 8013DCCC 0013AC2C 38 60 00 00 */ li r3, 0 +/* 8013DCD0 0013AC30 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8013DCD4 0013AC34 48 00 02 D8 */ b lbl_8013DFAC +lbl_8013DCD8: +/* 8013DCD8 0013AC38 48 1D 78 29 */ bl SqrtF__5CMathFf +/* 8013DCDC 0013AC3C 48 00 00 10 */ b lbl_8013DCEC +lbl_8013DCE0: +/* 8013DCE0 0013AC40 C0 02 9A C8 */ lfs f0, lbl_805AB7E8@sda21(r2) +/* 8013DCE4 0013AC44 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 8013DCE8 0013AC48 EC 3D 00 24 */ fdivs f1, f29, f0 +lbl_8013DCEC: +/* 8013DCEC 0013AC4C EC 7B 08 2A */ fadds f3, f27, f1 +/* 8013DCF0 0013AC50 C0 82 9A C4 */ lfs f4, lbl_805AB7E4@sda21(r2) +/* 8013DCF4 0013AC54 EC 5B 08 28 */ fsubs f2, f27, f1 +/* 8013DCF8 0013AC58 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013DCFC 0013AC5C EC 24 D0 FC */ fnmsubs f1, f4, f3, f26 +/* 8013DD00 0013AC60 EF 44 D0 BC */ fnmsubs f26, f4, f2, f26 +/* 8013DD04 0013AC64 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013DD08 0013AC68 4C 41 13 82 */ cror 2, 1, 2 +/* 8013DD0C 0013AC6C 40 82 00 68 */ bne lbl_8013DD74 +/* 8013DD10 0013AC70 48 1D 77 F1 */ bl SqrtF__5CMathFf +/* 8013DD14 0013AC74 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013DD18 0013AC78 EC 1F 08 28 */ fsubs f0, f31, f1 +/* 8013DD1C 0013AC7C C0 42 9A D0 */ lfs f2, lbl_805AB7F0@sda21(r2) +/* 8013DD20 0013AC80 54 00 10 3A */ slwi r0, r0, 2 +/* 8013DD24 0013AC84 7C 7F 02 14 */ add r3, r31, r0 +/* 8013DD28 0013AC88 EC 02 F0 38 */ fmsubs f0, f2, f0, f30 +/* 8013DD2C 0013AC8C 34 63 00 04 */ addic. r3, r3, 4 +/* 8013DD30 0013AC90 41 82 00 08 */ beq lbl_8013DD38 +/* 8013DD34 0013AC94 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DD38: +/* 8013DD38 0013AC98 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013DD3C 0013AC9C EC 1F 08 2A */ fadds f0, f31, f1 +/* 8013DD40 0013ACA0 C0 22 9A D0 */ lfs f1, lbl_805AB7F0@sda21(r2) +/* 8013DD44 0013ACA4 38 03 00 01 */ addi r0, r3, 1 +/* 8013DD48 0013ACA8 90 1F 00 00 */ stw r0, 0(r31) +/* 8013DD4C 0013ACAC EC 01 F0 38 */ fmsubs f0, f1, f0, f30 +/* 8013DD50 0013ACB0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013DD54 0013ACB4 54 00 10 3A */ slwi r0, r0, 2 +/* 8013DD58 0013ACB8 7C 7F 02 14 */ add r3, r31, r0 +/* 8013DD5C 0013ACBC 34 63 00 04 */ addic. r3, r3, 4 +/* 8013DD60 0013ACC0 41 82 00 08 */ beq lbl_8013DD68 +/* 8013DD64 0013ACC4 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DD68: +/* 8013DD68 0013ACC8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013DD6C 0013ACCC 38 03 00 01 */ addi r0, r3, 1 +/* 8013DD70 0013ACD0 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013DD74: +/* 8013DD74 0013ACD4 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013DD78 0013ACD8 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 8013DD7C 0013ACDC 4C 41 13 82 */ cror 2, 1, 2 +/* 8013DD80 0013ACE0 40 82 00 70 */ bne lbl_8013DDF0 +/* 8013DD84 0013ACE4 FC 20 D0 90 */ fmr f1, f26 +/* 8013DD88 0013ACE8 48 1D 77 79 */ bl SqrtF__5CMathFf +/* 8013DD8C 0013ACEC FC 60 F8 50 */ fneg f3, f31 +/* 8013DD90 0013ACF0 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013DD94 0013ACF4 C0 42 9A D0 */ lfs f2, lbl_805AB7F0@sda21(r2) +/* 8013DD98 0013ACF8 54 00 10 3A */ slwi r0, r0, 2 +/* 8013DD9C 0013ACFC EC 03 08 28 */ fsubs f0, f3, f1 +/* 8013DDA0 0013AD00 7C 7F 02 14 */ add r3, r31, r0 +/* 8013DDA4 0013AD04 34 63 00 04 */ addic. r3, r3, 4 +/* 8013DDA8 0013AD08 EC 02 F0 38 */ fmsubs f0, f2, f0, f30 +/* 8013DDAC 0013AD0C 41 82 00 08 */ beq lbl_8013DDB4 +/* 8013DDB0 0013AD10 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DDB4: +/* 8013DDB4 0013AD14 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013DDB8 0013AD18 EC 03 08 2A */ fadds f0, f3, f1 +/* 8013DDBC 0013AD1C C0 22 9A D0 */ lfs f1, lbl_805AB7F0@sda21(r2) +/* 8013DDC0 0013AD20 38 03 00 01 */ addi r0, r3, 1 +/* 8013DDC4 0013AD24 90 1F 00 00 */ stw r0, 0(r31) +/* 8013DDC8 0013AD28 EC 01 F0 38 */ fmsubs f0, f1, f0, f30 +/* 8013DDCC 0013AD2C 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013DDD0 0013AD30 54 00 10 3A */ slwi r0, r0, 2 +/* 8013DDD4 0013AD34 7C 7F 02 14 */ add r3, r31, r0 +/* 8013DDD8 0013AD38 34 63 00 04 */ addic. r3, r3, 4 +/* 8013DDDC 0013AD3C 41 82 00 08 */ beq lbl_8013DDE4 +/* 8013DDE0 0013AD40 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DDE4: +/* 8013DDE4 0013AD44 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013DDE8 0013AD48 38 03 00 01 */ addi r0, r3, 1 +/* 8013DDEC 0013AD4C 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013DDF0: +/* 8013DDF0 0013AD50 C0 A2 9A C8 */ lfs f5, lbl_805AB7E8@sda21(r2) +/* 8013DDF4 0013AD54 38 7F 00 04 */ addi r3, r31, 4 +/* 8013DDF8 0013AD58 C0 82 9A E8 */ lfs f4, lbl_805AB808@sda21(r2) +/* 8013DDFC 0013AD5C 38 80 00 00 */ li r4, 0 +/* 8013DE00 0013AD60 C0 62 9A C4 */ lfs f3, lbl_805AB7E4@sda21(r2) +/* 8013DE04 0013AD64 C0 42 9A B8 */ lfs f2, lbl_805AB7D8@sda21(r2) +/* 8013DE08 0013AD68 48 00 00 64 */ b lbl_8013DE6C +lbl_8013DE0C: +/* 8013DE0C 0013AD6C C0 C3 00 00 */ lfs f6, 0(r3) +/* 8013DE10 0013AD70 C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 8013DE14 0013AD74 EC 03 01 B2 */ fmuls f0, f3, f6 +/* 8013DE18 0013AD78 C0 FE 00 10 */ lfs f7, 0x10(r30) +/* 8013DE1C 0013AD7C C1 1E 00 0C */ lfs f8, 0xc(r30) +/* 8013DE20 0013AD80 C1 3E 00 08 */ lfs f9, 8(r30) +/* 8013DE24 0013AD84 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8013DE28 0013AD88 EC 04 01 FA */ fmadds f0, f4, f7, f0 +/* 8013DE2C 0013AD8C EC 06 00 32 */ fmuls f0, f6, f0 +/* 8013DE30 0013AD90 EC 05 02 3A */ fmadds f0, f5, f8, f0 +/* 8013DE34 0013AD94 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8013DE38 0013AD98 ED 49 00 2A */ fadds f10, f9, f0 +/* 8013DE3C 0013AD9C FC 02 50 00 */ fcmpu cr0, f2, f10 +/* 8013DE40 0013ADA0 41 82 00 24 */ beq lbl_8013DE64 +/* 8013DE44 0013ADA4 EC 26 38 7A */ fmadds f1, f6, f1, f7 +/* 8013DE48 0013ADA8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8013DE4C 0013ADAC EC 26 40 7A */ fmadds f1, f6, f1, f8 +/* 8013DE50 0013ADB0 EC 26 48 7A */ fmadds f1, f6, f1, f9 +/* 8013DE54 0013ADB4 EC 06 00 7A */ fmadds f0, f6, f1, f0 +/* 8013DE58 0013ADB8 EC 00 50 24 */ fdivs f0, f0, f10 +/* 8013DE5C 0013ADBC EC 06 00 28 */ fsubs f0, f6, f0 +/* 8013DE60 0013ADC0 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013DE64: +/* 8013DE64 0013ADC4 38 63 00 04 */ addi r3, r3, 4 +/* 8013DE68 0013ADC8 38 84 00 01 */ addi r4, r4, 1 +lbl_8013DE6C: +/* 8013DE6C 0013ADCC 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013DE70 0013ADD0 7C 04 00 00 */ cmpw r4, r0 +/* 8013DE74 0013ADD4 41 80 FF 98 */ blt lbl_8013DE0C +/* 8013DE78 0013ADD8 2C 00 00 02 */ cmpwi r0, 2 +/* 8013DE7C 0013ADDC 40 81 00 7C */ ble lbl_8013DEF8 +/* 8013DE80 0013ADE0 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 8013DE84 0013ADE4 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8013DE88 0013ADE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013DE8C 0013ADEC 40 80 00 0C */ bge lbl_8013DE98 +/* 8013DE90 0013ADF0 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8013DE94 0013ADF4 D0 1F 00 0C */ stfs f0, 0xc(r31) +lbl_8013DE98: +/* 8013DE98 0013ADF8 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 8013DE9C 0013ADFC C0 1F 00 08 */ lfs f0, 8(r31) +/* 8013DEA0 0013AE00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013DEA4 0013AE04 40 80 00 0C */ bge lbl_8013DEB0 +/* 8013DEA8 0013AE08 D0 3F 00 08 */ stfs f1, 8(r31) +/* 8013DEAC 0013AE0C D0 1F 00 10 */ stfs f0, 0x10(r31) +lbl_8013DEB0: +/* 8013DEB0 0013AE10 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8013DEB4 0013AE14 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8013DEB8 0013AE18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013DEBC 0013AE1C 40 80 00 0C */ bge lbl_8013DEC8 +/* 8013DEC0 0013AE20 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8013DEC4 0013AE24 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_8013DEC8: +/* 8013DEC8 0013AE28 C0 3F 00 10 */ lfs f1, 0x10(r31) +/* 8013DECC 0013AE2C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8013DED0 0013AE30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013DED4 0013AE34 40 80 00 0C */ bge lbl_8013DEE0 +/* 8013DED8 0013AE38 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 8013DEDC 0013AE3C D0 1F 00 10 */ stfs f0, 0x10(r31) +lbl_8013DEE0: +/* 8013DEE0 0013AE40 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 8013DEE4 0013AE44 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8013DEE8 0013AE48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013DEEC 0013AE4C 40 80 00 0C */ bge lbl_8013DEF8 +/* 8013DEF0 0013AE50 D0 3F 00 08 */ stfs f1, 8(r31) +/* 8013DEF4 0013AE54 D0 1F 00 0C */ stfs f0, 0xc(r31) +lbl_8013DEF8: +/* 8013DEF8 0013AE58 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013DEFC 0013AE5C 38 80 00 00 */ li r4, 0 +/* 8013DF00 0013AE60 80 C1 00 08 */ lwz r6, 8(r1) +/* 8013DF04 0013AE64 7C 03 00 D0 */ neg r0, r3 +/* 8013DF08 0013AE68 7C 00 18 78 */ andc r0, r0, r3 +/* 8013DF0C 0013AE6C 2C 06 00 00 */ cmpwi r6, 0 +/* 8013DF10 0013AE70 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8013DF14 0013AE74 40 81 00 40 */ ble lbl_8013DF54 +/* 8013DF18 0013AE78 2C 06 00 08 */ cmpwi r6, 8 +/* 8013DF1C 0013AE7C 38 A6 FF F8 */ addi r5, r6, -8 +/* 8013DF20 0013AE80 40 81 00 20 */ ble lbl_8013DF40 +/* 8013DF24 0013AE84 38 05 00 07 */ addi r0, r5, 7 +/* 8013DF28 0013AE88 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013DF2C 0013AE8C 7C 09 03 A6 */ mtctr r0 +/* 8013DF30 0013AE90 2C 05 00 00 */ cmpwi r5, 0 +/* 8013DF34 0013AE94 40 81 00 0C */ ble lbl_8013DF40 +lbl_8013DF38: +/* 8013DF38 0013AE98 38 84 00 08 */ addi r4, r4, 8 +/* 8013DF3C 0013AE9C 42 00 FF FC */ bdnz lbl_8013DF38 +lbl_8013DF40: +/* 8013DF40 0013AEA0 7C 04 30 50 */ subf r0, r4, r6 +/* 8013DF44 0013AEA4 7C 09 03 A6 */ mtctr r0 +/* 8013DF48 0013AEA8 7C 04 30 00 */ cmpw r4, r6 +/* 8013DF4C 0013AEAC 40 80 00 08 */ bge lbl_8013DF54 +lbl_8013DF50: +/* 8013DF50 0013AEB0 42 00 00 00 */ bdnz lbl_8013DF50 +lbl_8013DF54: +/* 8013DF54 0013AEB4 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8013DF58 0013AEB8 38 80 00 00 */ li r4, 0 +/* 8013DF5C 0013AEBC 90 81 00 08 */ stw r4, 8(r1) +/* 8013DF60 0013AEC0 2C 06 00 00 */ cmpwi r6, 0 +/* 8013DF64 0013AEC4 40 81 00 40 */ ble lbl_8013DFA4 +/* 8013DF68 0013AEC8 2C 06 00 08 */ cmpwi r6, 8 +/* 8013DF6C 0013AECC 38 A6 FF F8 */ addi r5, r6, -8 +/* 8013DF70 0013AED0 40 81 00 20 */ ble lbl_8013DF90 +/* 8013DF74 0013AED4 38 05 00 07 */ addi r0, r5, 7 +/* 8013DF78 0013AED8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8013DF7C 0013AEDC 7C 09 03 A6 */ mtctr r0 +/* 8013DF80 0013AEE0 2C 05 00 00 */ cmpwi r5, 0 +/* 8013DF84 0013AEE4 40 81 00 0C */ ble lbl_8013DF90 +lbl_8013DF88: +/* 8013DF88 0013AEE8 38 84 00 08 */ addi r4, r4, 8 +/* 8013DF8C 0013AEEC 42 00 FF FC */ bdnz lbl_8013DF88 +lbl_8013DF90: +/* 8013DF90 0013AEF0 7C 04 30 50 */ subf r0, r4, r6 +/* 8013DF94 0013AEF4 7C 09 03 A6 */ mtctr r0 +/* 8013DF98 0013AEF8 7C 04 30 00 */ cmpw r4, r6 +/* 8013DF9C 0013AEFC 40 80 00 08 */ bge lbl_8013DFA4 +lbl_8013DFA0: +/* 8013DFA0 0013AF00 42 00 00 00 */ bdnz lbl_8013DFA0 +lbl_8013DFA4: +/* 8013DFA4 0013AF04 38 00 00 00 */ li r0, 0 +/* 8013DFA8 0013AF08 90 01 00 1C */ stw r0, 0x1c(r1) +lbl_8013DFAC: +/* 8013DFAC 0013AF0C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8013DFB0 0013AF10 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8013DFB4 0013AF14 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8013DFB8 0013AF18 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8013DFBC 0013AF1C E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8013DFC0 0013AF20 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8013DFC4 0013AF24 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 8013DFC8 0013AF28 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 8013DFCC 0013AF2C E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 +/* 8013DFD0 0013AF30 CB 61 00 60 */ lfd f27, 0x60(r1) +/* 8013DFD4 0013AF34 E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 +/* 8013DFD8 0013AF38 CB 41 00 50 */ lfd f26, 0x50(r1) +/* 8013DFDC 0013AF3C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8013DFE0 0013AF40 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8013DFE4 0013AF44 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8013DFE8 0013AF48 7C 08 03 A6 */ mtlr r0 +/* 8013DFEC 0013AF4C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8013DFF0 0013AF50 4E 80 00 20 */ blr + +.global "SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" +"SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector": +/* 8013DFF4 0013AF54 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8013DFF8 0013AF58 7C 08 02 A6 */ mflr r0 +/* 8013DFFC 0013AF5C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8013E000 0013AF60 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8013E004 0013AF64 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8013E008 0013AF68 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8013E00C 0013AF6C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8013E010 0013AF70 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8013E014 0013AF74 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8013E018 0013AF78 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 8013E01C 0013AF7C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 8013E020 0013AF80 DB 61 00 60 */ stfd f27, 0x60(r1) +/* 8013E024 0013AF84 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 +/* 8013E028 0013AF88 DB 41 00 50 */ stfd f26, 0x50(r1) +/* 8013E02C 0013AF8C F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 +/* 8013E030 0013AF90 DB 21 00 40 */ stfd f25, 0x40(r1) +/* 8013E034 0013AF94 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 +/* 8013E038 0013AF98 DB 01 00 30 */ stfd f24, 0x30(r1) +/* 8013E03C 0013AF9C F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0 +/* 8013E040 0013AFA0 DA E1 00 20 */ stfd f23, 0x20(r1) +/* 8013E044 0013AFA4 F2 E1 00 28 */ psq_st f23, 40(r1), 0, qr0 +/* 8013E048 0013AFA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013E04C 0013AFAC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8013E050 0013AFB0 7C 7E 1B 78 */ mr r30, r3 +/* 8013E054 0013AFB4 C0 C2 9A B8 */ lfs f6, lbl_805AB7D8@sda21(r2) +/* 8013E058 0013AFB8 C0 A3 00 10 */ lfs f5, 0x10(r3) +/* 8013E05C 0013AFBC 7C 9F 23 78 */ mr r31, r4 +/* 8013E060 0013AFC0 FC 06 28 00 */ fcmpu cr0, f6, f5 +/* 8013E064 0013AFC4 41 82 02 54 */ beq lbl_8013E2B8 +/* 8013E068 0013AFC8 C0 02 9A E8 */ lfs f0, lbl_805AB808@sda21(r2) +/* 8013E06C 0013AFCC C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 8013E070 0013AFD0 EC 60 01 72 */ fmuls f3, f0, f5 +/* 8013E074 0013AFD4 C0 9E 00 08 */ lfs f4, 8(r30) +/* 8013E078 0013AFD8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8013E07C 0013AFDC C0 22 9A C8 */ lfs f1, lbl_805AB7E8@sda21(r2) +/* 8013E080 0013AFE0 EF E2 18 24 */ fdivs f31, f2, f3 +/* 8013E084 0013AFE4 C0 42 9A EC */ lfs f2, lbl_805AB80C@sda21(r2) +/* 8013E088 0013AFE8 EC 64 18 24 */ fdivs f3, f4, f3 +/* 8013E08C 0013AFEC EC 1F 01 38 */ fmsubs f0, f31, f4, f0 +/* 8013E090 0013AFF0 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 8013E094 0013AFF4 EC 9F 1F FC */ fnmsubs f4, f31, f31, f3 +/* 8013E098 0013AFF8 EC 00 28 24 */ fdivs f0, f0, f5 +/* 8013E09C 0013AFFC EC 21 07 F2 */ fmuls f1, f1, f31 +/* 8013E0A0 0013B000 EC 64 01 32 */ fmuls f3, f4, f4 +/* 8013E0A4 0013B004 EC 1F 00 78 */ fmsubs f0, f31, f1, f0 +/* 8013E0A8 0013B008 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8013E0AC 0013B00C EF 02 00 32 */ fmuls f24, f2, f0 +/* 8013E0B0 0013B010 EC 38 1E 3A */ fmadds f1, f24, f24, f3 +/* 8013E0B4 0013B014 FC 01 30 40 */ fcmpo cr0, f1, f6 +/* 8013E0B8 0013B018 40 80 00 FC */ bge lbl_8013E1B4 +/* 8013E0BC 0013B01C FF 40 18 50 */ fneg f26, f3 +/* 8013E0C0 0013B020 FC 20 D0 90 */ fmr f1, f26 +/* 8013E0C4 0013B024 48 1D 74 3D */ bl SqrtF__5CMathFf +/* 8013E0C8 0013B028 EC 18 08 24 */ fdivs f0, f24, f1 +/* 8013E0CC 0013B02C 38 81 00 08 */ addi r4, r1, 8 +/* 8013E0D0 0013B030 38 6D 8B 88 */ addi r3, r13, lbl_805A7748@sda21 +/* 8013E0D4 0013B034 38 AD 8B 8C */ addi r5, r13, lbl_805A774C@sda21 +/* 8013E0D8 0013B038 D0 01 00 08 */ stfs f0, 8(r1) +/* 8013E0DC 0013B03C 4B EC E1 D9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8013E0E0 0013B040 C0 23 00 00 */ lfs f1, 0(r3) +/* 8013E0E4 0013B044 D0 21 00 08 */ stfs f1, 8(r1) +/* 8013E0E8 0013B048 48 25 6B 45 */ bl acos +/* 8013E0EC 0013B04C FF 20 08 18 */ frsp f25, f1 +/* 8013E0F0 0013B050 C8 42 9A F0 */ lfd f2, lbl_805AB810@sda21(r2) +/* 8013E0F4 0013B054 FC 20 D0 90 */ fmr f1, f26 +/* 8013E0F8 0013B058 48 25 6B F5 */ bl pow +/* 8013E0FC 0013B05C FC 00 08 18 */ frsp f0, f1 +/* 8013E100 0013B060 C3 42 9A C8 */ lfs f26, lbl_805AB7E8@sda21(r2) +/* 8013E104 0013B064 C2 E2 9A B8 */ lfs f23, lbl_805AB7D8@sda21(r2) +/* 8013E108 0013B068 C3 62 9A F8 */ lfs f27, lbl_805AB818@sda21(r2) +/* 8013E10C 0013B06C EF 1A 00 32 */ fmuls f24, f26, f0 +/* 8013E110 0013B070 C3 82 9A E8 */ lfs f28, lbl_805AB808@sda21(r2) +/* 8013E114 0013B074 C3 A2 9A FC */ lfs f29, lbl_805AB81C@sda21(r2) +/* 8013E118 0013B078 C3 C2 9B 00 */ lfs f30, lbl_805AB820@sda21(r2) +/* 8013E11C 0013B07C 48 00 00 44 */ b lbl_8013E160 +lbl_8013E120: +/* 8013E120 0013B080 EC 1A 05 F2 */ fmuls f0, f26, f23 +/* 8013E124 0013B084 EC 1B C8 3A */ fmadds f0, f27, f0, f25 +/* 8013E128 0013B088 EC 20 E0 24 */ fdivs f1, f0, f28 +/* 8013E12C 0013B08C 48 25 62 C5 */ bl cos +/* 8013E130 0013B090 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013E134 0013B094 FC 00 08 18 */ frsp f0, f1 +/* 8013E138 0013B098 54 00 10 3A */ slwi r0, r0, 2 +/* 8013E13C 0013B09C 7C 7F 02 14 */ add r3, r31, r0 +/* 8013E140 0013B0A0 EC 18 F8 38 */ fmsubs f0, f24, f0, f31 +/* 8013E144 0013B0A4 34 63 00 04 */ addic. r3, r3, 4 +/* 8013E148 0013B0A8 41 82 00 08 */ beq lbl_8013E150 +/* 8013E14C 0013B0AC D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013E150: +/* 8013E150 0013B0B0 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013E154 0013B0B4 EE F7 E8 2A */ fadds f23, f23, f29 +/* 8013E158 0013B0B8 38 03 00 01 */ addi r0, r3, 1 +/* 8013E15C 0013B0BC 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013E160: +/* 8013E160 0013B0C0 FC 17 F0 40 */ fcmpo cr0, f23, f30 +/* 8013E164 0013B0C4 41 80 FF BC */ blt lbl_8013E120 +/* 8013E168 0013B0C8 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8013E16C 0013B0CC C0 1F 00 04 */ lfs f0, 4(r31) +/* 8013E170 0013B0D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013E174 0013B0D4 40 80 00 0C */ bge lbl_8013E180 +/* 8013E178 0013B0D8 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8013E17C 0013B0DC D0 1F 00 08 */ stfs f0, 8(r31) +lbl_8013E180: +/* 8013E180 0013B0E0 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8013E184 0013B0E4 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8013E188 0013B0E8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8013E18C 0013B0EC 40 80 00 0C */ bge lbl_8013E198 +/* 8013E190 0013B0F0 D0 1F 00 08 */ stfs f0, 8(r31) +/* 8013E194 0013B0F4 D0 3F 00 0C */ stfs f1, 0xc(r31) +lbl_8013E198: +/* 8013E198 0013B0F8 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8013E19C 0013B0FC C0 1F 00 04 */ lfs f0, 4(r31) +/* 8013E1A0 0013B100 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013E1A4 0013B104 40 80 00 9C */ bge lbl_8013E240 +/* 8013E1A8 0013B108 D0 3F 00 04 */ stfs f1, 4(r31) +/* 8013E1AC 0013B10C D0 1F 00 08 */ stfs f0, 8(r31) +/* 8013E1B0 0013B110 48 00 00 90 */ b lbl_8013E240 +lbl_8013E1B4: +/* 8013E1B4 0013B114 48 1D 73 4D */ bl SqrtF__5CMathFf +/* 8013E1B8 0013B118 FF C0 08 90 */ fmr f30, f1 +/* 8013E1BC 0013B11C C8 42 9B 08 */ lfd f2, lbl_805AB828@sda21(r2) +/* 8013E1C0 0013B120 EF 78 F0 2A */ fadds f27, f24, f30 +/* 8013E1C4 0013B124 FC 00 DA 10 */ fabs f0, f27 +/* 8013E1C8 0013B128 FC 20 00 18 */ frsp f1, f0 +/* 8013E1CC 0013B12C 48 25 6B 21 */ bl pow +/* 8013E1D0 0013B130 EF 58 F0 28 */ fsubs f26, f24, f30 +/* 8013E1D4 0013B134 C8 42 9B 08 */ lfd f2, lbl_805AB828@sda21(r2) +/* 8013E1D8 0013B138 FF 20 08 18 */ frsp f25, f1 +/* 8013E1DC 0013B13C FC 00 D2 10 */ fabs f0, f26 +/* 8013E1E0 0013B140 FC 20 00 18 */ frsp f1, f0 +/* 8013E1E4 0013B144 48 25 6B 09 */ bl pow +/* 8013E1E8 0013B148 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013E1EC 0013B14C FC 20 08 18 */ frsp f1, f1 +/* 8013E1F0 0013B150 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 8013E1F4 0013B154 40 81 00 08 */ ble lbl_8013E1FC +/* 8013E1F8 0013B158 48 00 00 08 */ b lbl_8013E200 +lbl_8013E1FC: +/* 8013E1FC 0013B15C FC 20 08 50 */ fneg f1, f1 +lbl_8013E200: +/* 8013E200 0013B160 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) +/* 8013E204 0013B164 FC 1B 00 40 */ fcmpo cr0, f27, f0 +/* 8013E208 0013B168 40 81 00 08 */ ble lbl_8013E210 +/* 8013E20C 0013B16C 48 00 00 08 */ b lbl_8013E214 +lbl_8013E210: +/* 8013E210 0013B170 FF 20 C8 50 */ fneg f25, f25 +lbl_8013E214: +/* 8013E214 0013B174 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013E218 0013B178 EC 19 08 2A */ fadds f0, f25, f1 +/* 8013E21C 0013B17C 54 00 10 3A */ slwi r0, r0, 2 +/* 8013E220 0013B180 7C 7F 02 14 */ add r3, r31, r0 +/* 8013E224 0013B184 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8013E228 0013B188 34 63 00 04 */ addic. r3, r3, 4 +/* 8013E22C 0013B18C 41 82 00 08 */ beq lbl_8013E234 +/* 8013E230 0013B190 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013E234: +/* 8013E234 0013B194 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013E238 0013B198 38 03 00 01 */ addi r0, r3, 1 +/* 8013E23C 0013B19C 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013E240: +/* 8013E240 0013B1A0 C0 82 9A C8 */ lfs f4, lbl_805AB7E8@sda21(r2) +/* 8013E244 0013B1A4 38 7F 00 04 */ addi r3, r31, 4 +/* 8013E248 0013B1A8 C0 62 9A E8 */ lfs f3, lbl_805AB808@sda21(r2) +/* 8013E24C 0013B1AC 38 80 00 00 */ li r4, 0 +/* 8013E250 0013B1B0 C0 42 9A B8 */ lfs f2, lbl_805AB7D8@sda21(r2) +/* 8013E254 0013B1B4 48 00 00 54 */ b lbl_8013E2A8 +lbl_8013E258: +/* 8013E258 0013B1B8 C0 A3 00 00 */ lfs f5, 0(r3) +/* 8013E25C 0013B1BC C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 8013E260 0013B1C0 EC 03 01 72 */ fmuls f0, f3, f5 +/* 8013E264 0013B1C4 C0 DE 00 0C */ lfs f6, 0xc(r30) +/* 8013E268 0013B1C8 C0 FE 00 08 */ lfs f7, 8(r30) +/* 8013E26C 0013B1CC EC 00 00 72 */ fmuls f0, f0, f1 +/* 8013E270 0013B1D0 EC 04 01 BA */ fmadds f0, f4, f6, f0 +/* 8013E274 0013B1D4 EC 05 00 32 */ fmuls f0, f5, f0 +/* 8013E278 0013B1D8 ED 07 00 2A */ fadds f8, f7, f0 +/* 8013E27C 0013B1DC FC 02 40 00 */ fcmpu cr0, f2, f8 +/* 8013E280 0013B1E0 41 82 00 20 */ beq lbl_8013E2A0 +/* 8013E284 0013B1E4 EC 25 30 7A */ fmadds f1, f5, f1, f6 +/* 8013E288 0013B1E8 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8013E28C 0013B1EC EC 25 38 7A */ fmadds f1, f5, f1, f7 +/* 8013E290 0013B1F0 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 8013E294 0013B1F4 EC 00 40 24 */ fdivs f0, f0, f8 +/* 8013E298 0013B1F8 EC 05 00 28 */ fsubs f0, f5, f0 +/* 8013E29C 0013B1FC D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013E2A0: +/* 8013E2A0 0013B200 38 63 00 04 */ addi r3, r3, 4 +/* 8013E2A4 0013B204 38 84 00 01 */ addi r4, r4, 1 +lbl_8013E2A8: +/* 8013E2A8 0013B208 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013E2AC 0013B20C 7C 04 00 00 */ cmpw r4, r0 +/* 8013E2B0 0013B210 41 80 FF A8 */ blt lbl_8013E258 +/* 8013E2B4 0013B214 48 00 00 D0 */ b lbl_8013E384 +lbl_8013E2B8: +/* 8013E2B8 0013B218 C0 7E 00 0C */ lfs f3, 0xc(r30) +/* 8013E2BC 0013B21C FC 06 18 00 */ fcmpu cr0, f6, f3 +/* 8013E2C0 0013B220 41 82 00 88 */ beq lbl_8013E348 +/* 8013E2C4 0013B224 C0 42 9A D0 */ lfs f2, lbl_805AB7F0@sda21(r2) +/* 8013E2C8 0013B228 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8013E2CC 0013B22C C0 1E 00 04 */ lfs f0, 4(r30) +/* 8013E2D0 0013B230 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8013E2D4 0013B234 EC 00 18 24 */ fdivs f0, f0, f3 +/* 8013E2D8 0013B238 EE E1 18 24 */ fdivs f23, f1, f3 +/* 8013E2DC 0013B23C EC 37 05 F8 */ fmsubs f1, f23, f23, f0 +/* 8013E2E0 0013B240 FC 01 30 40 */ fcmpo cr0, f1, f6 +/* 8013E2E4 0013B244 4C 41 13 82 */ cror 2, 1, 2 +/* 8013E2E8 0013B248 40 82 00 9C */ bne lbl_8013E384 +/* 8013E2EC 0013B24C 48 1D 72 15 */ bl SqrtF__5CMathFf +/* 8013E2F0 0013B250 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013E2F4 0013B254 FC 40 B8 50 */ fneg f2, f23 +/* 8013E2F8 0013B258 54 00 10 3A */ slwi r0, r0, 2 +/* 8013E2FC 0013B25C 7C 7F 02 14 */ add r3, r31, r0 +/* 8013E300 0013B260 EC 02 08 28 */ fsubs f0, f2, f1 +/* 8013E304 0013B264 34 63 00 04 */ addic. r3, r3, 4 +/* 8013E308 0013B268 41 82 00 08 */ beq lbl_8013E310 +/* 8013E30C 0013B26C D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013E310: +/* 8013E310 0013B270 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013E314 0013B274 EC 02 08 2A */ fadds f0, f2, f1 +/* 8013E318 0013B278 38 03 00 01 */ addi r0, r3, 1 +/* 8013E31C 0013B27C 90 1F 00 00 */ stw r0, 0(r31) +/* 8013E320 0013B280 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013E324 0013B284 54 00 10 3A */ slwi r0, r0, 2 +/* 8013E328 0013B288 7C 7F 02 14 */ add r3, r31, r0 +/* 8013E32C 0013B28C 34 63 00 04 */ addic. r3, r3, 4 +/* 8013E330 0013B290 41 82 00 08 */ beq lbl_8013E338 +/* 8013E334 0013B294 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013E338: +/* 8013E338 0013B298 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013E33C 0013B29C 38 03 00 01 */ addi r0, r3, 1 +/* 8013E340 0013B2A0 90 1F 00 00 */ stw r0, 0(r31) +/* 8013E344 0013B2A4 48 00 00 40 */ b lbl_8013E384 +lbl_8013E348: +/* 8013E348 0013B2A8 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8013E34C 0013B2AC FC 06 08 00 */ fcmpu cr0, f6, f1 +/* 8013E350 0013B2B0 41 82 00 34 */ beq lbl_8013E384 +/* 8013E354 0013B2B4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 8013E358 0013B2B8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013E35C 0013B2BC FC 00 00 50 */ fneg f0, f0 +/* 8013E360 0013B2C0 54 00 10 3A */ slwi r0, r0, 2 +/* 8013E364 0013B2C4 7C 7F 02 14 */ add r3, r31, r0 +/* 8013E368 0013B2C8 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8013E36C 0013B2CC 34 63 00 04 */ addic. r3, r3, 4 +/* 8013E370 0013B2D0 41 82 00 08 */ beq lbl_8013E378 +/* 8013E374 0013B2D4 D0 03 00 00 */ stfs f0, 0(r3) +lbl_8013E378: +/* 8013E378 0013B2D8 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013E37C 0013B2DC 38 03 00 01 */ addi r0, r3, 1 +/* 8013E380 0013B2E0 90 1F 00 00 */ stw r0, 0(r31) +lbl_8013E384: +/* 8013E384 0013B2E4 80 7F 00 00 */ lwz r3, 0(r31) +/* 8013E388 0013B2E8 7C 03 00 D0 */ neg r0, r3 +/* 8013E38C 0013B2EC 7C 00 18 78 */ andc r0, r0, r3 +/* 8013E390 0013B2F0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8013E394 0013B2F4 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8013E398 0013B2F8 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8013E39C 0013B2FC E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8013E3A0 0013B300 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8013E3A4 0013B304 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8013E3A8 0013B308 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8013E3AC 0013B30C E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 8013E3B0 0013B310 CB 81 00 70 */ lfd f28, 0x70(r1) +/* 8013E3B4 0013B314 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 +/* 8013E3B8 0013B318 CB 61 00 60 */ lfd f27, 0x60(r1) +/* 8013E3BC 0013B31C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 +/* 8013E3C0 0013B320 CB 41 00 50 */ lfd f26, 0x50(r1) +/* 8013E3C4 0013B324 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 +/* 8013E3C8 0013B328 CB 21 00 40 */ lfd f25, 0x40(r1) +/* 8013E3CC 0013B32C E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0 +/* 8013E3D0 0013B330 CB 01 00 30 */ lfd f24, 0x30(r1) +/* 8013E3D4 0013B334 E2 E1 00 28 */ psq_l f23, 40(r1), 0, qr0 +/* 8013E3D8 0013B338 CA E1 00 20 */ lfd f23, 0x20(r1) +/* 8013E3DC 0013B33C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013E3E0 0013B340 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8013E3E4 0013B344 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8013E3E8 0013B348 7C 08 03 A6 */ mtlr r0 +/* 8013E3EC 0013B34C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8013E3F0 0013B350 4E 80 00 20 */ blr + +.global SolveQuadratic__18CSteeringBehaviorsFfffRfRf +SolveQuadratic__18CSteeringBehaviorsFfffRfRf: +/* 8013E3F4 0013B354 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8013E3F8 0013B358 7C 08 02 A6 */ mflr r0 +/* 8013E3FC 0013B35C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8013E400 0013B360 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8013E404 0013B364 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8013E408 0013B368 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 8013E40C 0013B36C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 8013E410 0013B370 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013E414 0013B374 93 C1 00 08 */ stw r30, 8(r1) +/* 8013E418 0013B378 FF C0 08 90 */ fmr f30, f1 +/* 8013E41C 0013B37C C0 02 9A C4 */ lfs f0, lbl_805AB7E4@sda21(r2) +/* 8013E420 0013B380 FF E0 10 90 */ fmr f31, f2 +/* 8013E424 0013B384 C0 42 9B 10 */ lfs f2, lbl_805AB830@sda21(r2) +/* 8013E428 0013B388 7C 7E 1B 78 */ mr r30, r3 +/* 8013E42C 0013B38C 7C 9F 23 78 */ mr r31, r4 +/* 8013E430 0013B390 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 8013E434 0013B394 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8013E438 0013B398 EC 3F 07 F8 */ fmsubs f1, f31, f31, f0 +/* 8013E43C 0013B39C FC 01 10 40 */ fcmpo cr0, f1, f2 +/* 8013E440 0013B3A0 41 80 00 14 */ blt lbl_8013E454 +/* 8013E444 0013B3A4 FC 00 F2 10 */ fabs f0, f30 +/* 8013E448 0013B3A8 FC 00 00 18 */ frsp f0, f0 +/* 8013E44C 0013B3AC FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 8013E450 0013B3B0 40 80 00 0C */ bge lbl_8013E45C +lbl_8013E454: +/* 8013E454 0013B3B4 38 60 00 00 */ li r3, 0 +/* 8013E458 0013B3B8 48 00 00 30 */ b lbl_8013E488 +lbl_8013E45C: +/* 8013E45C 0013B3BC 48 1D 70 A5 */ bl SqrtF__5CMathFf +/* 8013E460 0013B3C0 FC 60 F8 50 */ fneg f3, f31 +/* 8013E464 0013B3C4 C0 02 9A C8 */ lfs f0, lbl_805AB7E8@sda21(r2) +/* 8013E468 0013B3C8 38 60 00 01 */ li r3, 1 +/* 8013E46C 0013B3CC EC 80 07 B2 */ fmuls f4, f0, f30 +/* 8013E470 0013B3D0 EC 43 08 2A */ fadds f2, f3, f1 +/* 8013E474 0013B3D4 EC 03 08 28 */ fsubs f0, f3, f1 +/* 8013E478 0013B3D8 EC 22 20 24 */ fdivs f1, f2, f4 +/* 8013E47C 0013B3DC EC 00 20 24 */ fdivs f0, f0, f4 +/* 8013E480 0013B3E0 D0 3E 00 00 */ stfs f1, 0(r30) +/* 8013E484 0013B3E4 D0 1F 00 00 */ stfs f0, 0(r31) +lbl_8013E488: +/* 8013E488 0013B3E8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8013E48C 0013B3EC CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8013E490 0013B3F0 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 8013E494 0013B3F4 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 8013E498 0013B3F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013E49C 0013B3FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8013E4A0 0013B400 83 C1 00 08 */ lwz r30, 8(r1) +/* 8013E4A4 0013B404 7C 08 03 A6 */ mtlr r0 +/* 8013E4A8 0013B408 38 21 00 30 */ addi r1, r1, 0x30 +/* 8013E4AC 0013B40C 4E 80 00 20 */ blr + +.global Arrival2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2ff +Arrival2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2ff: +/* 8013E4B0 0013B410 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8013E4B4 0013B414 7C 08 02 A6 */ mflr r0 +/* 8013E4B8 0013B418 90 01 00 44 */ stw r0, 0x44(r1) +/* 8013E4BC 0013B41C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8013E4C0 0013B420 7C DF 33 78 */ mr r31, r6 +/* 8013E4C4 0013B424 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8013E4C8 0013B428 7C 7E 1B 78 */ mr r30, r3 +/* 8013E4CC 0013B42C 38 61 00 08 */ addi r3, r1, 8 +/* 8013E4D0 0013B430 C0 45 00 50 */ lfs f2, 0x50(r5) +/* 8013E4D4 0013B434 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 8013E4D8 0013B438 C0 05 00 60 */ lfs f0, 0x60(r5) +/* 8013E4DC 0013B43C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8013E4E0 0013B440 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8013E4E4 0013B444 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8013E4E8 0013B448 48 1D 5D 19 */ bl __ct__9CVector2fFff +/* 8013E4EC 0013B44C 7F E4 FB 78 */ mr r4, r31 +/* 8013E4F0 0013B450 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013E4F4 0013B454 38 A1 00 08 */ addi r5, r1, 8 +/* 8013E4F8 0013B458 48 1D 5A 41 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8013E4FC 0013B45C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8013E500 0013B460 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013E504 0013B464 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8013E508 0013B468 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8013E50C 0013B46C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8013E510 0013B470 48 1D 5B CD */ bl MagSquared__9CVector2fCFv +/* 8013E514 0013B474 C0 02 9B 10 */ lfs f0, lbl_805AB830@sda21(r2) +/* 8013E518 0013B478 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013E51C 0013B47C 40 81 00 14 */ ble lbl_8013E530 +/* 8013E520 0013B480 7F C3 F3 78 */ mr r3, r30 +/* 8013E524 0013B484 38 81 00 18 */ addi r4, r1, 0x18 +/* 8013E528 0013B488 48 1D 5B 59 */ bl AsNormalized__9CVector2fCFv +/* 8013E52C 0013B48C 48 00 00 18 */ b lbl_8013E544 +lbl_8013E530: +/* 8013E530 0013B490 C0 0D A8 98 */ lfs f0, lbl_805A9458@sda21(r13) +/* 8013E534 0013B494 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 +/* 8013E538 0013B498 D0 1E 00 00 */ stfs f0, 0(r30) +/* 8013E53C 0013B49C C0 03 00 04 */ lfs f0, 4(r3) +/* 8013E540 0013B4A0 D0 1E 00 04 */ stfs f0, 4(r30) +lbl_8013E544: +/* 8013E544 0013B4A4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8013E548 0013B4A8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8013E54C 0013B4AC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8013E550 0013B4B0 7C 08 03 A6 */ mtlr r0 +/* 8013E554 0013B4B4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8013E558 0013B4B8 4E 80 00 20 */ blr + +.global Flee2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2f +Flee2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2f: +/* 8013E55C 0013B4BC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8013E560 0013B4C0 7C 08 02 A6 */ mflr r0 +/* 8013E564 0013B4C4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8013E568 0013B4C8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8013E56C 0013B4CC 7C DF 33 78 */ mr r31, r6 +/* 8013E570 0013B4D0 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8013E574 0013B4D4 7C BE 2B 78 */ mr r30, r5 +/* 8013E578 0013B4D8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8013E57C 0013B4DC 7C 7D 1B 78 */ mr r29, r3 +/* 8013E580 0013B4E0 38 61 00 08 */ addi r3, r1, 8 +/* 8013E584 0013B4E4 C0 45 00 50 */ lfs f2, 0x50(r5) +/* 8013E588 0013B4E8 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 8013E58C 0013B4EC C0 05 00 60 */ lfs f0, 0x60(r5) +/* 8013E590 0013B4F0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8013E594 0013B4F4 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8013E598 0013B4F8 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8013E59C 0013B4FC 48 1D 5C 65 */ bl __ct__9CVector2fFff +/* 8013E5A0 0013B500 7F E5 FB 78 */ mr r5, r31 +/* 8013E5A4 0013B504 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013E5A8 0013B508 38 81 00 08 */ addi r4, r1, 8 +/* 8013E5AC 0013B50C 48 1D 59 8D */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8013E5B0 0013B510 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8013E5B4 0013B514 38 61 00 18 */ addi r3, r1, 0x18 +/* 8013E5B8 0013B518 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8013E5BC 0013B51C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8013E5C0 0013B520 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8013E5C4 0013B524 48 1D 5B 19 */ bl MagSquared__9CVector2fCFv +/* 8013E5C8 0013B528 C0 02 9B 10 */ lfs f0, lbl_805AB830@sda21(r2) +/* 8013E5CC 0013B52C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013E5D0 0013B530 40 81 00 14 */ ble lbl_8013E5E4 +/* 8013E5D4 0013B534 7F A3 EB 78 */ mr r3, r29 +/* 8013E5D8 0013B538 38 81 00 18 */ addi r4, r1, 0x18 +/* 8013E5DC 0013B53C 48 1D 5A A5 */ bl AsNormalized__9CVector2fCFv +/* 8013E5E0 0013B540 48 00 00 24 */ b lbl_8013E604 +lbl_8013E5E4: +/* 8013E5E4 0013B544 C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 8013E5E8 0013B548 7F A3 EB 78 */ mr r3, r29 +/* 8013E5EC 0013B54C C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 8013E5F0 0013B550 C0 1E 00 58 */ lfs f0, 0x58(r30) +/* 8013E5F4 0013B554 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8013E5F8 0013B558 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8013E5FC 0013B55C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8013E600 0013B560 48 1D 5C 01 */ bl __ct__9CVector2fFff +lbl_8013E604: +/* 8013E604 0013B564 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8013E608 0013B568 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8013E60C 0013B56C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8013E610 0013B570 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8013E614 0013B574 7C 08 03 A6 */ mtlr r0 +/* 8013E618 0013B578 38 21 00 50 */ addi r1, r1, 0x50 +/* 8013E61C 0013B57C 4E 80 00 20 */ blr + +.global "Cohesion__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>fRC13CStateManager" +"Cohesion__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>fRC13CStateManager": +/* 8013E620 0013B580 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8013E624 0013B584 7C 08 02 A6 */ mflr r0 +/* 8013E628 0013B588 90 01 00 54 */ stw r0, 0x54(r1) +/* 8013E62C 0013B58C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8013E630 0013B590 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8013E634 0013B594 BF 21 00 24 */ stmw r25, 0x24(r1) +/* 8013E638 0013B598 3D 00 80 5A */ lis r8, skZero3f@ha +/* 8013E63C 0013B59C 7C DC 33 78 */ mr r28, r6 +/* 8013E640 0013B5A0 38 C8 66 A0 */ addi r6, r8, skZero3f@l +/* 8013E644 0013B5A4 FF E0 08 90 */ fmr f31, f1 +/* 8013E648 0013B5A8 C0 46 00 00 */ lfs f2, 0(r6) +/* 8013E64C 0013B5AC 7C 79 1B 78 */ mr r25, r3 +/* 8013E650 0013B5B0 C0 26 00 04 */ lfs f1, 4(r6) +/* 8013E654 0013B5B4 7C 9A 23 78 */ mr r26, r4 +/* 8013E658 0013B5B8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8013E65C 0013B5BC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8013E660 0013B5C0 7C BB 2B 78 */ mr r27, r5 +/* 8013E664 0013B5C4 7C FD 3B 78 */ mr r29, r7 +/* 8013E668 0013B5C8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8013E66C 0013B5CC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8013E670 0013B5D0 80 1C 00 00 */ lwz r0, 0(r28) +/* 8013E674 0013B5D4 2C 00 00 00 */ cmpwi r0, 0 +/* 8013E678 0013B5D8 41 82 00 D4 */ beq lbl_8013E74C +/* 8013E67C 0013B5DC 3B FC 00 04 */ addi r31, r28, 4 +/* 8013E680 0013B5E0 3B C0 00 00 */ li r30, 0 +/* 8013E684 0013B5E4 48 00 00 58 */ b lbl_8013E6DC +lbl_8013E688: +/* 8013E688 0013B5E8 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8013E68C 0013B5EC 7F A3 EB 78 */ mr r3, r29 +/* 8013E690 0013B5F0 38 81 00 08 */ addi r4, r1, 8 +/* 8013E694 0013B5F4 B0 01 00 08 */ sth r0, 8(r1) +/* 8013E698 0013B5F8 4B F0 DF 0D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8013E69C 0013B5FC 28 03 00 00 */ cmplwi r3, 0 +/* 8013E6A0 0013B600 41 82 00 34 */ beq lbl_8013E6D4 +/* 8013E6A4 0013B604 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8013E6A8 0013B608 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8013E6AC 0013B60C C0 83 00 50 */ lfs f4, 0x50(r3) +/* 8013E6B0 0013B610 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8013E6B4 0013B614 EC 00 10 2A */ fadds f0, f0, f2 +/* 8013E6B8 0013B618 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 8013E6BC 0013B61C C0 61 00 0C */ lfs f3, 0xc(r1) +/* 8013E6C0 0013B620 EC 21 20 2A */ fadds f1, f1, f4 +/* 8013E6C4 0013B624 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8013E6C8 0013B628 EC 03 10 2A */ fadds f0, f3, f2 +/* 8013E6CC 0013B62C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8013E6D0 0013B630 D0 01 00 0C */ stfs f0, 0xc(r1) +lbl_8013E6D4: +/* 8013E6D4 0013B634 3B FF 00 02 */ addi r31, r31, 2 +/* 8013E6D8 0013B638 3B DE 00 01 */ addi r30, r30, 1 +lbl_8013E6DC: +/* 8013E6DC 0013B63C 80 1C 00 00 */ lwz r0, 0(r28) +/* 8013E6E0 0013B640 7C 1E 00 00 */ cmpw r30, r0 +/* 8013E6E4 0013B644 41 80 FF A4 */ blt lbl_8013E688 +/* 8013E6E8 0013B648 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8013E6EC 0013B64C 3C 00 43 30 */ lis r0, 0x4330 +/* 8013E6F0 0013B650 90 61 00 1C */ stw r3, 0x1c(r1) +/* 8013E6F4 0013B654 FC 20 F8 90 */ fmr f1, f31 +/* 8013E6F8 0013B658 C8 42 9B 18 */ lfd f2, lbl_805AB838@sda21(r2) +/* 8013E6FC 0013B65C 7F 23 CB 78 */ mr r3, r25 +/* 8013E700 0013B660 90 01 00 18 */ stw r0, 0x18(r1) +/* 8013E704 0013B664 7F 44 D3 78 */ mr r4, r26 +/* 8013E708 0013B668 C0 A2 9A FC */ lfs f5, lbl_805AB81C@sda21(r2) +/* 8013E70C 0013B66C C8 01 00 18 */ lfd f0, 0x18(r1) +/* 8013E710 0013B670 7F 65 DB 78 */ mr r5, r27 +/* 8013E714 0013B674 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 8013E718 0013B678 38 C1 00 0C */ addi r6, r1, 0xc +/* 8013E71C 0013B67C EC 80 10 28 */ fsubs f4, f0, f2 +/* 8013E720 0013B680 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8013E724 0013B684 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8013E728 0013B688 EC 85 20 24 */ fdivs f4, f5, f4 +/* 8013E72C 0013B68C EC 63 01 32 */ fmuls f3, f3, f4 +/* 8013E730 0013B690 EC 42 01 32 */ fmuls f2, f2, f4 +/* 8013E734 0013B694 EC 00 01 32 */ fmuls f0, f0, f4 +/* 8013E738 0013B698 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8013E73C 0013B69C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8013E740 0013B6A0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8013E744 0013B6A4 48 00 03 D9 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8013E748 0013B6A8 48 00 00 18 */ b lbl_8013E760 +lbl_8013E74C: +/* 8013E74C 0013B6AC D0 59 00 00 */ stfs f2, 0(r25) +/* 8013E750 0013B6B0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8013E754 0013B6B4 D0 19 00 04 */ stfs f0, 4(r25) +/* 8013E758 0013B6B8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8013E75C 0013B6BC D0 19 00 08 */ stfs f0, 8(r25) +lbl_8013E760: +/* 8013E760 0013B6C0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8013E764 0013B6C4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8013E768 0013B6C8 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 8013E76C 0013B6CC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8013E770 0013B6D0 7C 08 03 A6 */ mtlr r0 +/* 8013E774 0013B6D4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8013E778 0013B6D8 4E 80 00 20 */ blr + +.global "Alignment__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager" +"Alignment__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager": +/* 8013E77C 0013B6DC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8013E780 0013B6E0 7C 08 02 A6 */ mflr r0 +/* 8013E784 0013B6E4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8013E788 0013B6E8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8013E78C 0013B6EC BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8013E790 0013B6F0 7C DC 33 78 */ mr r28, r6 +/* 8013E794 0013B6F4 7C 7A 1B 78 */ mr r26, r3 +/* 8013E798 0013B6F8 7C BB 2B 78 */ mr r27, r5 +/* 8013E79C 0013B6FC 7C FD 3B 78 */ mr r29, r7 +/* 8013E7A0 0013B700 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 8013E7A4 0013B704 C0 24 00 04 */ lfs f1, 4(r4) +/* 8013E7A8 0013B708 C0 04 00 08 */ lfs f0, 8(r4) +/* 8013E7AC 0013B70C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8013E7B0 0013B710 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8013E7B4 0013B714 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8013E7B8 0013B718 80 06 00 00 */ lwz r0, 0(r6) +/* 8013E7BC 0013B71C 2C 00 00 00 */ cmpwi r0, 0 +/* 8013E7C0 0013B720 41 82 00 B8 */ beq lbl_8013E878 +/* 8013E7C4 0013B724 3B FC 00 04 */ addi r31, r28, 4 +/* 8013E7C8 0013B728 3B C0 00 00 */ li r30, 0 +/* 8013E7CC 0013B72C 48 00 00 58 */ b lbl_8013E824 +lbl_8013E7D0: +/* 8013E7D0 0013B730 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8013E7D4 0013B734 7F A3 EB 78 */ mr r3, r29 +/* 8013E7D8 0013B738 38 81 00 08 */ addi r4, r1, 8 +/* 8013E7DC 0013B73C B0 01 00 08 */ sth r0, 8(r1) +/* 8013E7E0 0013B740 4B F0 DD C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8013E7E4 0013B744 28 03 00 00 */ cmplwi r3, 0 +/* 8013E7E8 0013B748 41 82 00 34 */ beq lbl_8013E81C +/* 8013E7EC 0013B74C C0 43 00 58 */ lfs f2, 0x58(r3) +/* 8013E7F0 0013B750 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8013E7F4 0013B754 C0 83 00 48 */ lfs f4, 0x48(r3) +/* 8013E7F8 0013B758 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 8013E7FC 0013B75C EC 00 10 2A */ fadds f0, f0, f2 +/* 8013E800 0013B760 C0 43 00 38 */ lfs f2, 0x38(r3) +/* 8013E804 0013B764 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 8013E808 0013B768 EC 21 20 2A */ fadds f1, f1, f4 +/* 8013E80C 0013B76C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8013E810 0013B770 EC 03 10 2A */ fadds f0, f3, f2 +/* 8013E814 0013B774 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8013E818 0013B778 D0 01 00 18 */ stfs f0, 0x18(r1) +lbl_8013E81C: +/* 8013E81C 0013B77C 3B FF 00 02 */ addi r31, r31, 2 +/* 8013E820 0013B780 3B DE 00 01 */ addi r30, r30, 1 +lbl_8013E824: +/* 8013E824 0013B784 80 1C 00 00 */ lwz r0, 0(r28) +/* 8013E828 0013B788 7C 1E 00 00 */ cmpw r30, r0 +/* 8013E82C 0013B78C 41 80 FF A4 */ blt lbl_8013E7D0 +/* 8013E830 0013B790 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 8013E834 0013B794 3C 00 43 30 */ lis r0, 0x4330 +/* 8013E838 0013B798 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8013E83C 0013B79C C8 22 9B 18 */ lfd f1, lbl_805AB838@sda21(r2) +/* 8013E840 0013B7A0 90 01 00 28 */ stw r0, 0x28(r1) +/* 8013E844 0013B7A4 C0 82 9A FC */ lfs f4, lbl_805AB81C@sda21(r2) +/* 8013E848 0013B7A8 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 8013E84C 0013B7AC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8013E850 0013B7B0 EC 60 08 28 */ fsubs f3, f0, f1 +/* 8013E854 0013B7B4 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 8013E858 0013B7B8 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8013E85C 0013B7BC EC 64 18 24 */ fdivs f3, f4, f3 +/* 8013E860 0013B7C0 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 8013E864 0013B7C4 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 8013E868 0013B7C8 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8013E86C 0013B7CC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8013E870 0013B7D0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8013E874 0013B7D4 D0 01 00 20 */ stfs f0, 0x20(r1) +lbl_8013E878: +/* 8013E878 0013B7D8 C0 5B 00 58 */ lfs f2, 0x58(r27) +/* 8013E87C 0013B7DC 38 61 00 0C */ addi r3, r1, 0xc +/* 8013E880 0013B7E0 C0 3B 00 48 */ lfs f1, 0x48(r27) +/* 8013E884 0013B7E4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8013E888 0013B7E8 C0 1B 00 38 */ lfs f0, 0x38(r27) +/* 8013E88C 0013B7EC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8013E890 0013B7F0 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8013E894 0013B7F4 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8013E898 0013B7F8 48 1D 5D 99 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 8013E89C 0013B7FC C0 02 9A F8 */ lfs f0, lbl_805AB818@sda21(r2) +/* 8013E8A0 0013B800 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8013E8A4 0013B804 EC 61 00 24 */ fdivs f3, f1, f0 +/* 8013E8A8 0013B808 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 8013E8AC 0013B80C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8013E8B0 0013B810 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 8013E8B4 0013B814 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 8013E8B8 0013B818 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 8013E8BC 0013B81C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8013E8C0 0013B820 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8013E8C4 0013B824 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8013E8C8 0013B828 D0 5A 00 00 */ stfs f2, 0(r26) +/* 8013E8CC 0013B82C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8013E8D0 0013B830 D0 1A 00 04 */ stfs f0, 4(r26) +/* 8013E8D4 0013B834 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8013E8D8 0013B838 D0 1A 00 08 */ stfs f0, 8(r26) +/* 8013E8DC 0013B83C BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8013E8E0 0013B840 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8013E8E4 0013B844 7C 08 03 A6 */ mtlr r0 +/* 8013E8E8 0013B848 38 21 00 50 */ addi r1, r1, 0x50 +/* 8013E8EC 0013B84C 4E 80 00 20 */ blr + +.global Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff: +/* 8013E8F0 0013B850 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8013E8F4 0013B854 7C 08 02 A6 */ mflr r0 +/* 8013E8F8 0013B858 90 01 00 54 */ stw r0, 0x54(r1) +/* 8013E8FC 0013B85C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8013E900 0013B860 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8013E904 0013B864 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8013E908 0013B868 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8013E90C 0013B86C C0 45 00 50 */ lfs f2, 0x50(r5) +/* 8013E910 0013B870 EC A1 00 72 */ fmuls f5, f1, f1 +/* 8013E914 0013B874 C0 06 00 04 */ lfs f0, 4(r6) +/* 8013E918 0013B878 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8013E91C 0013B87C C0 25 00 40 */ lfs f1, 0x40(r5) +/* 8013E920 0013B880 7C BF 2B 78 */ mr r31, r5 +/* 8013E924 0013B884 EC 82 00 28 */ fsubs f4, f2, f0 +/* 8013E928 0013B888 C0 06 00 00 */ lfs f0, 0(r6) +/* 8013E92C 0013B88C 7C 7E 1B 78 */ mr r30, r3 +/* 8013E930 0013B890 C0 65 00 60 */ lfs f3, 0x60(r5) +/* 8013E934 0013B894 EC 41 00 28 */ fsubs f2, f1, f0 +/* 8013E938 0013B898 C0 26 00 08 */ lfs f1, 8(r6) +/* 8013E93C 0013B89C EC 04 01 32 */ fmuls f0, f4, f4 +/* 8013E940 0013B8A0 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8013E944 0013B8A4 EC 63 08 28 */ fsubs f3, f3, f1 +/* 8013E948 0013B8A8 C4 84 66 A0 */ lfsu f4, skZero3f@l(r4) +/* 8013E94C 0013B8AC EC 22 00 B2 */ fmuls f1, f2, f2 +/* 8013E950 0013B8B0 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8013E954 0013B8B4 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 8013E958 0013B8B8 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8013E95C 0013B8BC EC 01 00 2A */ fadds f0, f1, f0 +/* 8013E960 0013B8C0 C0 24 00 04 */ lfs f1, 4(r4) +/* 8013E964 0013B8C4 C0 64 00 08 */ lfs f3, 8(r4) +/* 8013E968 0013B8C8 EC 02 00 2A */ fadds f0, f2, f0 +/* 8013E96C 0013B8CC FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 8013E970 0013B8D0 40 80 00 80 */ bge lbl_8013E9F0 +/* 8013E974 0013B8D4 EC 00 28 24 */ fdivs f0, f0, f5 +/* 8013E978 0013B8D8 C0 22 9A FC */ lfs f1, lbl_805AB81C@sda21(r2) +/* 8013E97C 0013B8DC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8013E980 0013B8E0 EF E1 00 28 */ fsubs f31, f1, f0 +/* 8013E984 0013B8E4 48 1D 5D 75 */ bl CanBeNormalized__9CVector3fCFv +/* 8013E988 0013B8E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013E98C 0013B8EC 41 82 00 3C */ beq lbl_8013E9C8 +/* 8013E990 0013B8F0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8013E994 0013B8F4 38 81 00 2C */ addi r4, r1, 0x2c +/* 8013E998 0013B8F8 48 1D 5E B9 */ bl AsNormalized__9CVector3fCFv +/* 8013E99C 0013B8FC C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8013E9A0 0013B900 38 61 00 14 */ addi r3, r1, 0x14 +/* 8013E9A4 0013B904 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8013E9A8 0013B908 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8013E9AC 0013B90C EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8013E9B0 0013B910 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8013E9B4 0013B914 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8013E9B8 0013B918 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8013E9BC 0013B91C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8013E9C0 0013B920 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8013E9C4 0013B924 48 00 00 20 */ b lbl_8013E9E4 +lbl_8013E9C8: +/* 8013E9C8 0013B928 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 8013E9CC 0013B92C 38 61 00 08 */ addi r3, r1, 8 +/* 8013E9D0 0013B930 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 8013E9D4 0013B934 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8013E9D8 0013B938 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8013E9DC 0013B93C D0 01 00 08 */ stfs f0, 8(r1) +/* 8013E9E0 0013B940 D0 41 00 10 */ stfs f2, 0x10(r1) +lbl_8013E9E4: +/* 8013E9E4 0013B944 C0 83 00 00 */ lfs f4, 0(r3) +/* 8013E9E8 0013B948 C0 23 00 04 */ lfs f1, 4(r3) +/* 8013E9EC 0013B94C C0 63 00 08 */ lfs f3, 8(r3) +lbl_8013E9F0: +/* 8013E9F0 0013B950 D0 9E 00 00 */ stfs f4, 0(r30) +/* 8013E9F4 0013B954 D0 3E 00 04 */ stfs f1, 4(r30) +/* 8013E9F8 0013B958 D0 7E 00 08 */ stfs f3, 8(r30) +/* 8013E9FC 0013B95C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8013EA00 0013B960 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8013EA04 0013B964 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8013EA08 0013B968 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8013EA0C 0013B96C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8013EA10 0013B970 7C 08 03 A6 */ mtlr r0 +/* 8013EA14 0013B974 38 21 00 50 */ addi r1, r1, 0x50 +/* 8013EA18 0013B978 4E 80 00 20 */ blr + +.global Pursuit__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3fRC9CVector3f +Pursuit__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3fRC9CVector3f: +/* 8013EA1C 0013B97C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8013EA20 0013B980 7C 08 02 A6 */ mflr r0 +/* 8013EA24 0013B984 3D 00 80 5A */ lis r8, skZero3f@ha +/* 8013EA28 0013B988 90 01 00 54 */ stw r0, 0x54(r1) +/* 8013EA2C 0013B98C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8013EA30 0013B990 7C BD 2B 78 */ mr r29, r5 +/* 8013EA34 0013B994 38 A8 66 A0 */ addi r5, r8, skZero3f@l +/* 8013EA38 0013B998 7C 7B 1B 78 */ mr r27, r3 +/* 8013EA3C 0013B99C 7C 9C 23 78 */ mr r28, r4 +/* 8013EA40 0013B9A0 7C DE 33 78 */ mr r30, r6 +/* 8013EA44 0013B9A4 7C FF 3B 78 */ mr r31, r7 +/* 8013EA48 0013B9A8 38 7D 01 38 */ addi r3, r29, 0x138 +/* 8013EA4C 0013B9AC C0 45 00 00 */ lfs f2, 0(r5) +/* 8013EA50 0013B9B0 C0 25 00 04 */ lfs f1, 4(r5) +/* 8013EA54 0013B9B4 C0 05 00 08 */ lfs f0, 8(r5) +/* 8013EA58 0013B9B8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8013EA5C 0013B9BC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8013EA60 0013B9C0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8013EA64 0013B9C4 48 1D 5E 55 */ bl Magnitude__9CVector3fCFv +/* 8013EA68 0013B9C8 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 8013EA6C 0013B9CC 7F C4 F3 78 */ mr r4, r30 +/* 8013EA70 0013B9D0 C0 5D 00 50 */ lfs f2, 0x50(r29) +/* 8013EA74 0013B9D4 7F E5 FB 78 */ mr r5, r31 +/* 8013EA78 0013B9D8 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8013EA7C 0013B9DC 38 61 00 14 */ addi r3, r1, 0x14 +/* 8013EA80 0013B9E0 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8013EA84 0013B9E4 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8013EA88 0013B9E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8013EA8C 0013B9EC D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8013EA90 0013B9F0 4B FF ED E9 */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f +/* 8013EA94 0013B9F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013EA98 0013B9F8 40 82 00 44 */ bne lbl_8013EADC +/* 8013EA9C 0013B9FC C0 A2 9A FC */ lfs f5, lbl_805AB81C@sda21(r2) +/* 8013EAA0 0013BA00 C0 5F 00 04 */ lfs f2, 4(r31) +/* 8013EAA4 0013BA04 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8013EAA8 0013BA08 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8013EAAC 0013BA0C EC 85 00 B2 */ fmuls f4, f5, f2 +/* 8013EAB0 0013BA10 C0 DE 00 04 */ lfs f6, 4(r30) +/* 8013EAB4 0013BA14 EC 45 00 72 */ fmuls f2, f5, f1 +/* 8013EAB8 0013BA18 C0 7E 00 08 */ lfs f3, 8(r30) +/* 8013EABC 0013BA1C EC 05 00 32 */ fmuls f0, f5, f0 +/* 8013EAC0 0013BA20 C0 3E 00 00 */ lfs f1, 0(r30) +/* 8013EAC4 0013BA24 EC 86 20 2A */ fadds f4, f6, f4 +/* 8013EAC8 0013BA28 EC 43 10 2A */ fadds f2, f3, f2 +/* 8013EACC 0013BA2C EC 01 00 2A */ fadds f0, f1, f0 +/* 8013EAD0 0013BA30 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8013EAD4 0013BA34 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8013EAD8 0013BA38 D0 41 00 28 */ stfs f2, 0x28(r1) +lbl_8013EADC: +/* 8013EADC 0013BA3C 7F 84 E3 78 */ mr r4, r28 +/* 8013EAE0 0013BA40 7F A5 EB 78 */ mr r5, r29 +/* 8013EAE4 0013BA44 38 61 00 08 */ addi r3, r1, 8 +/* 8013EAE8 0013BA48 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8013EAEC 0013BA4C 48 00 01 35 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +/* 8013EAF0 0013BA50 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 8013EAF4 0013BA54 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8013EAF8 0013BA58 C0 01 00 08 */ lfs f0, 8(r1) +/* 8013EAFC 0013BA5C D0 1B 00 00 */ stfs f0, 0(r27) +/* 8013EB00 0013BA60 D0 3B 00 04 */ stfs f1, 4(r27) +/* 8013EB04 0013BA64 D0 5B 00 08 */ stfs f2, 8(r27) +/* 8013EB08 0013BA68 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8013EB0C 0013BA6C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8013EB10 0013BA70 7C 08 03 A6 */ mtlr r0 +/* 8013EB14 0013BA74 38 21 00 50 */ addi r1, r1, 0x50 +/* 8013EB18 0013BA78 4E 80 00 20 */ blr + +.global Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff: +/* 8013EB1C 0013BA7C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8013EB20 0013BA80 7C 08 02 A6 */ mflr r0 +/* 8013EB24 0013BA84 90 01 00 44 */ stw r0, 0x44(r1) +/* 8013EB28 0013BA88 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8013EB2C 0013BA8C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8013EB30 0013BA90 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8013EB34 0013BA94 C0 86 00 04 */ lfs f4, 4(r6) +/* 8013EB38 0013BA98 7C 7F 1B 78 */ mr r31, r3 +/* 8013EB3C 0013BA9C C0 05 00 50 */ lfs f0, 0x50(r5) +/* 8013EB40 0013BAA0 FF E0 08 90 */ fmr f31, f1 +/* 8013EB44 0013BAA4 C0 66 00 08 */ lfs f3, 8(r6) +/* 8013EB48 0013BAA8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8013EB4C 0013BAAC C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8013EB50 0013BAB0 EC 84 00 28 */ fsubs f4, f4, f0 +/* 8013EB54 0013BAB4 C0 26 00 00 */ lfs f1, 0(r6) +/* 8013EB58 0013BAB8 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8013EB5C 0013BABC EC 43 10 28 */ fsubs f2, f3, f2 +/* 8013EB60 0013BAC0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8013EB64 0013BAC4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8013EB68 0013BAC8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8013EB6C 0013BACC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8013EB70 0013BAD0 48 1D 5B 89 */ bl CanBeNormalized__9CVector3fCFv +/* 8013EB74 0013BAD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013EB78 0013BAD8 41 82 00 70 */ beq lbl_8013EBE8 +/* 8013EB7C 0013BADC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 8013EB80 0013BAE0 EC 7F 07 F2 */ fmuls f3, f31, f31 +/* 8013EB84 0013BAE4 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8013EB88 0013BAE8 EC 21 00 72 */ fmuls f1, f1, f1 +/* 8013EB8C 0013BAEC C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8013EB90 0013BAF0 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8013EB94 0013BAF4 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 8013EB98 0013BAF8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8013EB9C 0013BAFC EC 02 00 2A */ fadds f0, f2, f0 +/* 8013EBA0 0013BB00 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 8013EBA4 0013BB04 40 80 00 0C */ bge lbl_8013EBB0 +/* 8013EBA8 0013BB08 EF E0 18 24 */ fdivs f31, f0, f3 +/* 8013EBAC 0013BB0C 48 00 00 08 */ b lbl_8013EBB4 +lbl_8013EBB0: +/* 8013EBB0 0013BB10 C3 E2 9A FC */ lfs f31, lbl_805AB81C@sda21(r2) +lbl_8013EBB4: +/* 8013EBB4 0013BB14 38 61 00 08 */ addi r3, r1, 8 +/* 8013EBB8 0013BB18 38 81 00 14 */ addi r4, r1, 0x14 +/* 8013EBBC 0013BB1C 48 1D 5C 95 */ bl AsNormalized__9CVector3fCFv +/* 8013EBC0 0013BB20 C0 01 00 08 */ lfs f0, 8(r1) +/* 8013EBC4 0013BB24 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8013EBC8 0013BB28 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8013EBCC 0013BB2C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8013EBD0 0013BB30 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8013EBD4 0013BB34 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8013EBD8 0013BB38 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8013EBDC 0013BB3C D0 5F 00 04 */ stfs f2, 4(r31) +/* 8013EBE0 0013BB40 D0 3F 00 08 */ stfs f1, 8(r31) +/* 8013EBE4 0013BB44 48 00 00 20 */ b lbl_8013EC04 +lbl_8013EBE8: +/* 8013EBE8 0013BB48 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013EBEC 0013BB4C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8013EBF0 0013BB50 D0 1F 00 00 */ stfs f0, 0(r31) +/* 8013EBF4 0013BB54 C0 03 00 04 */ lfs f0, 4(r3) +/* 8013EBF8 0013BB58 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8013EBFC 0013BB5C C0 03 00 08 */ lfs f0, 8(r3) +/* 8013EC00 0013BB60 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_8013EC04: +/* 8013EC04 0013BB64 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8013EC08 0013BB68 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8013EC0C 0013BB6C CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8013EC10 0013BB70 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8013EC14 0013BB74 7C 08 03 A6 */ mtlr r0 +/* 8013EC18 0013BB78 38 21 00 40 */ addi r1, r1, 0x40 +/* 8013EC1C 0013BB7C 4E 80 00 20 */ blr + +.global Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f: +/* 8013EC20 0013BB80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8013EC24 0013BB84 7C 08 02 A6 */ mflr r0 +/* 8013EC28 0013BB88 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013EC2C 0013BB8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013EC30 0013BB90 7C 7F 1B 78 */ mr r31, r3 +/* 8013EC34 0013BB94 38 61 00 08 */ addi r3, r1, 8 +/* 8013EC38 0013BB98 C0 26 00 04 */ lfs f1, 4(r6) +/* 8013EC3C 0013BB9C C0 05 00 50 */ lfs f0, 0x50(r5) +/* 8013EC40 0013BBA0 C0 66 00 08 */ lfs f3, 8(r6) +/* 8013EC44 0013BBA4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8013EC48 0013BBA8 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8013EC4C 0013BBAC C0 26 00 00 */ lfs f1, 0(r6) +/* 8013EC50 0013BBB0 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8013EC54 0013BBB4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8013EC58 0013BBB8 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8013EC5C 0013BBBC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8013EC60 0013BBC0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8013EC64 0013BBC4 D0 01 00 08 */ stfs f0, 8(r1) +/* 8013EC68 0013BBC8 48 1D 5A 91 */ bl CanBeNormalized__9CVector3fCFv +/* 8013EC6C 0013BBCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013EC70 0013BBD0 41 82 00 14 */ beq lbl_8013EC84 +/* 8013EC74 0013BBD4 7F E3 FB 78 */ mr r3, r31 +/* 8013EC78 0013BBD8 38 81 00 08 */ addi r4, r1, 8 +/* 8013EC7C 0013BBDC 48 1D 5B D5 */ bl AsNormalized__9CVector3fCFv +/* 8013EC80 0013BBE0 48 00 00 20 */ b lbl_8013ECA0 +lbl_8013EC84: +/* 8013EC84 0013BBE4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013EC88 0013BBE8 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8013EC8C 0013BBEC D0 1F 00 00 */ stfs f0, 0(r31) +/* 8013EC90 0013BBF0 C0 03 00 04 */ lfs f0, 4(r3) +/* 8013EC94 0013BBF4 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8013EC98 0013BBF8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8013EC9C 0013BBFC D0 1F 00 08 */ stfs f0, 8(r31) +lbl_8013ECA0: +/* 8013ECA0 0013BC00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8013ECA4 0013BC04 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013ECA8 0013BC08 7C 08 03 A6 */ mtlr r0 +/* 8013ECAC 0013BC0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8013ECB0 0013BC10 4E 80 00 20 */ blr + +.global Flee__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +Flee__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f: +/* 8013ECB4 0013BC14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8013ECB8 0013BC18 7C 08 02 A6 */ mflr r0 +/* 8013ECBC 0013BC1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013ECC0 0013BC20 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013ECC4 0013BC24 7C BF 2B 78 */ mr r31, r5 +/* 8013ECC8 0013BC28 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8013ECCC 0013BC2C 7C 7E 1B 78 */ mr r30, r3 +/* 8013ECD0 0013BC30 38 61 00 08 */ addi r3, r1, 8 +/* 8013ECD4 0013BC34 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8013ECD8 0013BC38 C0 06 00 04 */ lfs f0, 4(r6) +/* 8013ECDC 0013BC3C C0 65 00 60 */ lfs f3, 0x60(r5) +/* 8013ECE0 0013BC40 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8013ECE4 0013BC44 C0 46 00 08 */ lfs f2, 8(r6) +/* 8013ECE8 0013BC48 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 8013ECEC 0013BC4C C0 06 00 00 */ lfs f0, 0(r6) +/* 8013ECF0 0013BC50 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8013ECF4 0013BC54 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8013ECF8 0013BC58 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8013ECFC 0013BC5C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8013ED00 0013BC60 D0 01 00 08 */ stfs f0, 8(r1) +/* 8013ED04 0013BC64 48 1D 59 F5 */ bl CanBeNormalized__9CVector3fCFv +/* 8013ED08 0013BC68 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013ED0C 0013BC6C 41 82 00 14 */ beq lbl_8013ED20 +/* 8013ED10 0013BC70 7F C3 F3 78 */ mr r3, r30 +/* 8013ED14 0013BC74 38 81 00 08 */ addi r4, r1, 8 +/* 8013ED18 0013BC78 48 1D 5B 39 */ bl AsNormalized__9CVector3fCFv +/* 8013ED1C 0013BC7C 48 00 00 1C */ b lbl_8013ED38 +lbl_8013ED20: +/* 8013ED20 0013BC80 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 8013ED24 0013BC84 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 8013ED28 0013BC88 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 8013ED2C 0013BC8C D0 1E 00 00 */ stfs f0, 0(r30) +/* 8013ED30 0013BC90 D0 3E 00 04 */ stfs f1, 4(r30) +/* 8013ED34 0013BC94 D0 5E 00 08 */ stfs f2, 8(r30) +lbl_8013ED38: +/* 8013ED38 0013BC98 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8013ED3C 0013BC9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013ED40 0013BCA0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8013ED44 0013BCA4 7C 08 03 A6 */ mtlr r0 +/* 8013ED48 0013BCA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8013ED4C 0013BCAC 4E 80 00 20 */ blr + +.global __ct__18CSteeringBehaviorsFv +__ct__18CSteeringBehaviorsFv: +/* 8013ED50 0013BCB0 C0 02 9B 20 */ lfs f0, lbl_805AB840@sda21(r2) +/* 8013ED54 0013BCB4 D0 03 00 00 */ stfs f0, 0(r3) +/* 8013ED58 0013BCB8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CWorldShadow.s b/asm/Kyoto_CWD/CWorldShadow.s new file mode 100644 index 00000000..1f18be2d --- /dev/null +++ b/asm/Kyoto_CWD/CWorldShadow.s @@ -0,0 +1,892 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global ResetBlur__12CWorldShadowFv +ResetBlur__12CWorldShadowFv: +/* 80110F8C 0010DEEC 38 00 00 01 */ li r0, 1 +/* 80110F90 0010DEF0 98 03 00 88 */ stb r0, 0x88(r3) +/* 80110F94 0010DEF4 4E 80 00 20 */ blr + +.global DisableModelProjectedShadow__12CWorldShadowCFv +DisableModelProjectedShadow__12CWorldShadowCFv: +/* 80110F98 0010DEF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80110F9C 0010DEFC 7C 08 02 A6 */ mflr r0 +/* 80110FA0 0010DF00 90 01 00 14 */ stw r0, 0x14(r1) +/* 80110FA4 0010DF04 48 23 47 E1 */ bl DisableShadowMaps__10CCubeModelFv +/* 80110FA8 0010DF08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80110FAC 0010DF0C 7C 08 03 A6 */ mtlr r0 +/* 80110FB0 0010DF10 38 21 00 10 */ addi r1, r1, 0x10 +/* 80110FB4 0010DF14 4E 80 00 20 */ blr + +.global EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif +EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif: +/* 80110FB8 0010DF18 94 21 FD E0 */ stwu r1, -0x220(r1) +/* 80110FBC 0010DF1C 7C 08 02 A6 */ mflr r0 +/* 80110FC0 0010DF20 90 01 02 24 */ stw r0, 0x224(r1) +/* 80110FC4 0010DF24 DB E1 02 10 */ stfd f31, 0x210(r1) +/* 80110FC8 0010DF28 F3 E1 02 18 */ psq_st f31, 536(r1), 0, qr0 +/* 80110FCC 0010DF2C 93 E1 02 0C */ stw r31, 0x20c(r1) +/* 80110FD0 0010DF30 93 C1 02 08 */ stw r30, 0x208(r1) +/* 80110FD4 0010DF34 93 A1 02 04 */ stw r29, 0x204(r1) +/* 80110FD8 0010DF38 88 0D A3 64 */ lbz r0, lbl_805A8F24@sda21(r13) +/* 80110FDC 0010DF3C FF E0 08 90 */ fmr f31, f1 +/* 80110FE0 0010DF40 7C 7D 1B 78 */ mr r29, r3 +/* 80110FE4 0010DF44 7C 9E 23 78 */ mr r30, r4 +/* 80110FE8 0010DF48 7C 00 07 75 */ extsb. r0, r0 +/* 80110FEC 0010DF4C 7C BF 2B 78 */ mr r31, r5 +/* 80110FF0 0010DF50 40 82 00 68 */ bne lbl_80111058 +/* 80110FF4 0010DF54 C8 82 95 70 */ lfd f4, lbl_805AB290@sda21(r2) +/* 80110FF8 0010DF58 38 00 00 01 */ li r0, 1 +/* 80110FFC 0010DF5C C8 62 95 78 */ lfd f3, lbl_805AB298@sda21(r2) +/* 80111000 0010DF60 FC 20 20 34 */ frsqrte f1, f4 +/* 80111004 0010DF64 C8 42 95 80 */ lfd f2, lbl_805AB2A0@sda21(r2) +/* 80111008 0010DF68 98 0D A3 64 */ stb r0, lbl_805A8F24@sda21(r13) +/* 8011100C 0010DF6C FC 01 00 72 */ fmul f0, f1, f1 +/* 80111010 0010DF70 FC 23 00 72 */ fmul f1, f3, f1 +/* 80111014 0010DF74 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80111018 0010DF78 FC 21 00 32 */ fmul f1, f1, f0 +/* 8011101C 0010DF7C FC 01 00 72 */ fmul f0, f1, f1 +/* 80111020 0010DF80 FC 23 00 72 */ fmul f1, f3, f1 +/* 80111024 0010DF84 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80111028 0010DF88 FC 21 00 32 */ fmul f1, f1, f0 +/* 8011102C 0010DF8C FC 01 00 72 */ fmul f0, f1, f1 +/* 80111030 0010DF90 FC 23 00 72 */ fmul f1, f3, f1 +/* 80111034 0010DF94 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80111038 0010DF98 FC 21 00 32 */ fmul f1, f1, f0 +/* 8011103C 0010DF9C FC 01 00 72 */ fmul f0, f1, f1 +/* 80111040 0010DFA0 FC 23 00 72 */ fmul f1, f3, f1 +/* 80111044 0010DFA4 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 80111048 0010DFA8 FC 01 00 32 */ fmul f0, f1, f0 +/* 8011104C 0010DFAC FC 04 00 32 */ fmul f0, f4, f0 +/* 80111050 0010DFB0 FC 00 00 18 */ frsp f0, f0 +/* 80111054 0010DFB4 D0 0D A3 60 */ stfs f0, lbl_805A8F20@sda21(r13) +lbl_80111058: +/* 80111058 0010DFB8 C0 5D 00 78 */ lfs f2, 0x78(r29) +/* 8011105C 0010DFBC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80111060 0010DFC0 C0 1D 00 6C */ lfs f0, 0x6c(r29) +/* 80111064 0010DFC4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80111068 0010DFC8 C0 3D 00 7C */ lfs f1, 0x7c(r29) +/* 8011106C 0010DFCC 38 61 01 70 */ addi r3, r1, 0x170 +/* 80111070 0010DFD0 EC A2 00 28 */ fsubs f5, f2, f0 +/* 80111074 0010DFD4 C0 1D 00 70 */ lfs f0, 0x70(r29) +/* 80111078 0010DFD8 C0 62 95 88 */ lfs f3, lbl_805AB2A8@sda21(r2) +/* 8011107C 0010DFDC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80111080 0010DFE0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80111084 0010DFE4 C0 3D 00 74 */ lfs f1, 0x74(r29) +/* 80111088 0010DFE8 C0 1D 00 68 */ lfs f0, 0x68(r29) +/* 8011108C 0010DFEC 38 C1 00 08 */ addi r6, r1, 8 +/* 80111090 0010DFF0 C0 42 95 8C */ lfs f2, lbl_805AB2AC@sda21(r2) +/* 80111094 0010DFF4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80111098 0010DFF8 D0 61 00 08 */ stfs f3, 8(r1) +/* 8011109C 0010DFFC D0 61 00 0C */ stfs f3, 0xc(r1) +/* 801110A0 0010E000 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 801110A4 0010E004 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 801110A8 0010E008 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 801110AC 0010E00C D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 801110B0 0010E010 48 20 2A 61 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 801110B4 0010E014 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 801110B8 0010E018 38 81 01 70 */ addi r4, r1, 0x170 +/* 801110BC 0010E01C 48 20 1A B9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801110C0 0010E020 7F C4 F3 78 */ mr r4, r30 +/* 801110C4 0010E024 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 801110C8 0010E028 48 20 1A AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801110CC 0010E02C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 801110D0 0010E030 38 61 01 10 */ addi r3, r1, 0x110 +/* 801110D4 0010E034 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 801110D8 0010E038 38 81 01 A0 */ addi r4, r1, 0x1a0 +/* 801110DC 0010E03C C0 45 00 00 */ lfs f2, 0(r5) +/* 801110E0 0010E040 C0 25 00 04 */ lfs f1, 4(r5) +/* 801110E4 0010E044 C0 05 00 08 */ lfs f0, 8(r5) +/* 801110E8 0010E048 D0 41 01 AC */ stfs f2, 0x1ac(r1) +/* 801110EC 0010E04C D0 21 01 BC */ stfs f1, 0x1bc(r1) +/* 801110F0 0010E050 D0 01 01 CC */ stfs f0, 0x1cc(r1) +/* 801110F4 0010E054 48 20 15 ED */ bl GetInverse__12CTransform4fCFv +/* 801110F8 0010E058 38 61 01 40 */ addi r3, r1, 0x140 +/* 801110FC 0010E05C 38 81 01 10 */ addi r4, r1, 0x110 +/* 80111100 0010E060 38 A1 01 D0 */ addi r5, r1, 0x1d0 +/* 80111104 0010E064 48 20 18 4D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80111108 0010E068 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 8011110C 0010E06C 38 81 01 40 */ addi r4, r1, 0x140 +/* 80111110 0010E070 48 20 1A 31 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80111114 0010E074 C0 2D A3 60 */ lfs f1, lbl_805A8F20@sda21(r13) +/* 80111118 0010E078 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 8011111C 0010E07C C0 1D 00 64 */ lfs f0, 0x64(r29) +/* 80111120 0010E080 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80111124 0010E084 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80111128 0010E088 48 20 21 19 */ bl Scale__12CTransform4fFf +/* 8011112C 0010E08C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80111130 0010E090 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 80111134 0010E094 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 80111138 0010E098 48 20 18 19 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011113C 0010E09C 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 80111140 0010E0A0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80111144 0010E0A4 48 20 19 FD */ bl __as__12CTransform4fFRC12CTransform4f +/* 80111148 0010E0A8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8011114C 0010E0AC 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 80111150 0010E0B0 48 20 15 91 */ bl GetInverse__12CTransform4fCFv +/* 80111154 0010E0B4 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 80111158 0010E0B8 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8011115C 0010E0BC 48 20 19 E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80111160 0010E0C0 C0 22 95 90 */ lfs f1, lbl_805AB2B0@sda21(r2) +/* 80111164 0010E0C4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80111168 0010E0C8 C0 42 95 88 */ lfs f2, lbl_805AB2A8@sda21(r2) +/* 8011116C 0010E0CC FC 60 08 90 */ fmr f3, f1 +/* 80111170 0010E0D0 48 20 20 19 */ bl Translate__12CTransform4fFfff +/* 80111174 0010E0D4 38 61 00 80 */ addi r3, r1, 0x80 +/* 80111178 0010E0D8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8011117C 0010E0DC 38 A1 01 D0 */ addi r5, r1, 0x1d0 +/* 80111180 0010E0E0 48 20 17 D1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80111184 0010E0E4 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 80111188 0010E0E8 38 81 00 80 */ addi r4, r1, 0x80 +/* 8011118C 0010E0EC 48 20 19 B5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80111190 0010E0F0 38 00 00 01 */ li r0, 1 +/* 80111194 0010E0F4 80 7D 00 00 */ lwz r3, 0(r29) +/* 80111198 0010E0F8 7C 00 F8 30 */ slw r0, r0, r31 +/* 8011119C 0010E0FC 38 81 01 D0 */ addi r4, r1, 0x1d0 +/* 801111A0 0010E100 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 801111A4 0010E104 7C A6 2B 78 */ mr r6, r5 +/* 801111A8 0010E108 48 23 45 E9 */ bl EnableShadowMaps__10CCubeModelFPC8CTextureRC12CTransform4fUcUc +/* 801111AC 0010E10C E3 E1 02 18 */ psq_l f31, 536(r1), 0, qr0 +/* 801111B0 0010E110 80 01 02 24 */ lwz r0, 0x224(r1) +/* 801111B4 0010E114 CB E1 02 10 */ lfd f31, 0x210(r1) +/* 801111B8 0010E118 83 E1 02 0C */ lwz r31, 0x20c(r1) +/* 801111BC 0010E11C 83 C1 02 08 */ lwz r30, 0x208(r1) +/* 801111C0 0010E120 83 A1 02 04 */ lwz r29, 0x204(r1) +/* 801111C4 0010E124 7C 08 03 A6 */ mtlr r0 +/* 801111C8 0010E128 38 21 02 20 */ addi r1, r1, 0x220 +/* 801111CC 0010E12C 4E 80 00 20 */ blr + +.global BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb +BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb: +/* 801111D0 0010E130 94 21 FD B0 */ stwu r1, -0x250(r1) +/* 801111D4 0010E134 7C 08 02 A6 */ mflr r0 +/* 801111D8 0010E138 90 01 02 54 */ stw r0, 0x254(r1) +/* 801111DC 0010E13C DB E1 02 40 */ stfd f31, 0x240(r1) +/* 801111E0 0010E140 F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0 +/* 801111E4 0010E144 DB C1 02 30 */ stfd f30, 0x230(r1) +/* 801111E8 0010E148 F3 C1 02 38 */ psq_st f30, 568(r1), 0, qr0 +/* 801111EC 0010E14C DB A1 02 20 */ stfd f29, 0x220(r1) +/* 801111F0 0010E150 F3 A1 02 28 */ psq_st f29, 552(r1), 0, qr0 +/* 801111F4 0010E154 DB 81 02 10 */ stfd f28, 0x210(r1) +/* 801111F8 0010E158 F3 81 02 18 */ psq_st f28, 536(r1), 0, qr0 +/* 801111FC 0010E15C BE E1 01 EC */ stmw r23, 0x1ec(r1) +/* 80111200 0010E160 7C 7F 1B 78 */ mr r31, r3 +/* 80111204 0010E164 7C B7 2B 78 */ mr r23, r5 +/* 80111208 0010E168 80 63 00 80 */ lwz r3, 0x80(r3) +/* 8011120C 0010E16C 7C DB 33 78 */ mr r27, r6 +/* 80111210 0010E170 80 05 00 00 */ lwz r0, 0(r5) +/* 80111214 0010E174 7C FA 3B 78 */ mr r26, r7 +/* 80111218 0010E178 7D 18 43 78 */ mr r24, r8 +/* 8011121C 0010E17C 7D 39 4B 78 */ mr r25, r9 +/* 80111220 0010E180 7C 03 00 00 */ cmpw r3, r0 +/* 80111224 0010E184 40 82 00 10 */ bne lbl_80111234 +/* 80111228 0010E188 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 8011122C 0010E18C 7C 00 D8 40 */ cmplw r0, r27 +/* 80111230 0010E190 41 82 00 18 */ beq lbl_80111248 +lbl_80111234: +/* 80111234 0010E194 38 00 00 01 */ li r0, 1 +/* 80111238 0010E198 98 1F 00 88 */ stb r0, 0x88(r31) +/* 8011123C 0010E19C 80 17 00 00 */ lwz r0, 0(r23) +/* 80111240 0010E1A0 90 1F 00 80 */ stw r0, 0x80(r31) +/* 80111244 0010E1A4 93 7F 00 84 */ stw r27, 0x84(r31) +lbl_80111248: +/* 80111248 0010E1A8 80 77 00 00 */ lwz r3, 0(r23) +/* 8011124C 0010E1AC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 80111250 0010E1B0 7C 03 00 00 */ cmpw r3, r0 +/* 80111254 0010E1B4 41 82 08 CC */ beq lbl_80111B20 +/* 80111258 0010E1B8 80 17 00 00 */ lwz r0, 0(r23) +/* 8011125C 0010E1BC 80 84 08 50 */ lwz r4, 0x850(r4) +/* 80111260 0010E1C0 54 03 18 38 */ slwi r3, r0, 3 +/* 80111264 0010E1C4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80111268 0010E1C8 80 84 00 20 */ lwz r4, 0x20(r4) +/* 8011126C 0010E1CC 38 03 00 04 */ addi r0, r3, 4 +/* 80111270 0010E1D0 7F 84 00 2E */ lwzx r28, r4, r0 +/* 80111274 0010E1D4 88 1C 00 F0 */ lbz r0, 0xf0(r28) +/* 80111278 0010E1D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8011127C 0010E1DC 41 82 08 A4 */ beq lbl_80111B20 +/* 80111280 0010E1E0 80 7C 01 2C */ lwz r3, 0x12c(r28) +/* 80111284 0010E1E4 1C 1B 00 44 */ mulli r0, r27, 0x44 +/* 80111288 0010E1E8 7F 44 D3 78 */ mr r4, r26 +/* 8011128C 0010E1EC 80 A3 00 6C */ lwz r5, 0x6c(r3) +/* 80111290 0010E1F0 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 80111294 0010E1F4 7F C5 02 14 */ add r30, r5, r0 +/* 80111298 0010E1F8 48 22 63 75 */ bl GetCenterPoint__6CAABoxCFv +/* 8011129C 0010E1FC C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 801112A0 0010E200 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 801112A4 0010E204 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 801112A8 0010E208 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 801112AC 0010E20C D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 801112B0 0010E210 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 801112B4 0010E214 80 7C 01 2C */ lwz r3, 0x12c(r28) +/* 801112B8 0010E218 80 83 00 A0 */ lwz r4, 0xa0(r3) +/* 801112BC 0010E21C 28 04 00 00 */ cmplwi r4, 0 +/* 801112C0 0010E220 41 82 00 A8 */ beq lbl_80111368 +/* 801112C4 0010E224 80 02 85 40 */ lwz r0, lbl_805AA260@sda21(r2) +/* 801112C8 0010E228 2C 00 00 01 */ cmpwi r0, 1 +/* 801112CC 0010E22C 40 82 00 9C */ bne lbl_80111368 +/* 801112D0 0010E230 80 04 00 08 */ lwz r0, 8(r4) +/* 801112D4 0010E234 38 61 00 EC */ addi r3, r1, 0xec +/* 801112D8 0010E238 7C BB 02 14 */ add r5, r27, r0 +/* 801112DC 0010E23C 48 19 D1 19 */ bl GetLightSet__11CPVSAreaSetCFi +/* 801112E0 0010E240 34 01 00 F8 */ addic. r0, r1, 0xf8 +/* 801112E4 0010E244 80 E1 00 EC */ lwz r7, 0xec(r1) +/* 801112E8 0010E248 80 C1 00 F0 */ lwz r6, 0xf0(r1) +/* 801112EC 0010E24C 38 00 00 00 */ li r0, 0 +/* 801112F0 0010E250 88 81 00 F8 */ lbz r4, 0xf8(r1) +/* 801112F4 0010E254 3B 61 01 0C */ addi r27, r1, 0x10c +/* 801112F8 0010E258 80 A1 00 F4 */ lwz r5, 0xf4(r1) +/* 801112FC 0010E25C 80 61 00 FC */ lwz r3, 0xfc(r1) +/* 80111300 0010E260 90 E1 01 00 */ stw r7, 0x100(r1) +/* 80111304 0010E264 90 C1 01 04 */ stw r6, 0x104(r1) +/* 80111308 0010E268 90 A1 01 08 */ stw r5, 0x108(r1) +/* 8011130C 0010E26C 98 81 01 0C */ stb r4, 0x10c(r1) +/* 80111310 0010E270 90 61 01 10 */ stw r3, 0x110(r1) +/* 80111314 0010E274 98 01 00 F8 */ stb r0, 0xf8(r1) +/* 80111318 0010E278 41 82 00 14 */ beq lbl_8011132C +/* 8011131C 0010E27C 28 00 00 00 */ cmplwi r0, 0 +/* 80111320 0010E280 41 82 00 0C */ beq lbl_8011132C +/* 80111324 0010E284 80 61 00 FC */ lwz r3, 0xfc(r1) +/* 80111328 0010E288 48 20 46 09 */ bl Free__7CMemoryFPCv +lbl_8011132C: +/* 8011132C 0010E28C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111330 0010E290 38 81 01 00 */ addi r4, r1, 0x100 +/* 80111334 0010E294 80 B7 00 00 */ lwz r5, 0(r23) +/* 80111338 0010E298 81 83 00 00 */ lwz r12, 0(r3) +/* 8011133C 0010E29C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80111340 0010E2A0 7D 89 03 A6 */ mtctr r12 +/* 80111344 0010E2A4 4E 80 04 21 */ bctrl +/* 80111348 0010E2A8 28 1B 00 00 */ cmplwi r27, 0 +/* 8011134C 0010E2AC 41 82 00 60 */ beq lbl_801113AC +/* 80111350 0010E2B0 88 01 01 0C */ lbz r0, 0x10c(r1) +/* 80111354 0010E2B4 28 00 00 00 */ cmplwi r0, 0 +/* 80111358 0010E2B8 41 82 00 54 */ beq lbl_801113AC +/* 8011135C 0010E2BC 80 61 01 10 */ lwz r3, 0x110(r1) +/* 80111360 0010E2C0 48 20 45 D1 */ bl Free__7CMemoryFPCv +/* 80111364 0010E2C4 48 00 00 48 */ b lbl_801113AC +lbl_80111368: +/* 80111368 0010E2C8 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8011136C 0010E2CC 38 80 00 02 */ li r4, 2 +/* 80111370 0010E2D0 48 20 50 11 */ bl Reset__10CPVSVisSetFi +/* 80111374 0010E2D4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111378 0010E2D8 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8011137C 0010E2DC 80 B7 00 00 */ lwz r5, 0(r23) +/* 80111380 0010E2E0 81 83 00 00 */ lwz r12, 0(r3) +/* 80111384 0010E2E4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80111388 0010E2E8 7D 89 03 A6 */ mtctr r12 +/* 8011138C 0010E2EC 4E 80 04 21 */ bctrl +/* 80111390 0010E2F0 34 61 00 E4 */ addic. r3, r1, 0xe4 +/* 80111394 0010E2F4 41 82 00 18 */ beq lbl_801113AC +/* 80111398 0010E2F8 88 03 00 00 */ lbz r0, 0(r3) +/* 8011139C 0010E2FC 28 00 00 00 */ cmplwi r0, 0 +/* 801113A0 0010E300 41 82 00 0C */ beq lbl_801113AC +/* 801113A4 0010E304 80 61 00 E8 */ lwz r3, 0xe8(r1) +/* 801113A8 0010E308 48 20 45 89 */ bl Free__7CMemoryFPCv +lbl_801113AC: +/* 801113AC 0010E30C C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 801113B0 0010E310 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 801113B4 0010E314 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 801113B8 0010E318 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 801113BC 0010E31C C0 C1 00 D0 */ lfs f6, 0xd0(r1) +/* 801113C0 0010E320 EC A2 08 28 */ fsubs f5, f2, f1 +/* 801113C4 0010E324 C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 801113C8 0010E328 EC 00 10 28 */ fsubs f0, f0, f2 +/* 801113CC 0010E32C C0 7E 00 18 */ lfs f3, 0x18(r30) +/* 801113D0 0010E330 C0 E1 00 D4 */ lfs f7, 0xd4(r1) +/* 801113D4 0010E334 EC 86 08 28 */ fsubs f4, f6, f1 +/* 801113D8 0010E338 C0 5A 00 10 */ lfs f2, 0x10(r26) +/* 801113DC 0010E33C C0 3A 00 14 */ lfs f1, 0x14(r26) +/* 801113E0 0010E340 EC 67 18 28 */ fsubs f3, f7, f3 +/* 801113E4 0010E344 EC 42 30 28 */ fsubs f2, f2, f6 +/* 801113E8 0010E348 D0 A1 00 C0 */ stfs f5, 0xc0(r1) +/* 801113EC 0010E34C EC 21 38 28 */ fsubs f1, f1, f7 +/* 801113F0 0010E350 D0 81 00 C4 */ stfs f4, 0xc4(r1) +/* 801113F4 0010E354 D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 801113F8 0010E358 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 801113FC 0010E35C D0 41 00 AC */ stfs f2, 0xac(r1) +/* 80111400 0010E360 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80111404 0010E364 48 20 34 B5 */ bl Magnitude__9CVector3fCFv +/* 80111408 0010E368 D0 3F 00 64 */ stfs f1, 0x64(r31) +/* 8011140C 0010E36C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 80111410 0010E370 48 20 34 A9 */ bl Magnitude__9CVector3fCFv +/* 80111414 0010E374 FC 00 08 90 */ fmr f0, f1 +/* 80111418 0010E378 C0 3F 00 64 */ lfs f1, 0x64(r31) +/* 8011141C 0010E37C FF A0 00 90 */ fmr f29, f0 +/* 80111420 0010E380 FC 40 E8 90 */ fmr f2, f29 +/* 80111424 0010E384 48 28 38 49 */ bl atan2 +/* 80111428 0010E388 FC 20 08 18 */ frsp f1, f1 +/* 8011142C 0010E38C C0 42 95 98 */ lfs f2, lbl_805AB2B8@sda21(r2) +/* 80111430 0010E390 C0 62 95 94 */ lfs f3, lbl_805AB2B4@sda21(r2) +/* 80111434 0010E394 C0 02 95 9C */ lfs f0, lbl_805AB2BC@sda21(r2) +/* 80111438 0010E398 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8011143C 0010E39C EF C3 00 72 */ fmuls f30, f3, f1 +/* 80111440 0010E3A0 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80111444 0010E3A4 41 80 06 DC */ blt lbl_80111B20 +/* 80111448 0010E3A8 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8011144C 0010E3AC 48 20 34 AD */ bl Normalize__9CVector3fFv +/* 80111450 0010E3B0 C0 22 95 88 */ lfs f1, lbl_805AB2A8@sda21(r2) +/* 80111454 0010E3B4 38 61 01 44 */ addi r3, r1, 0x144 +/* 80111458 0010E3B8 C0 02 95 A0 */ lfs f0, lbl_805AB2C0@sda21(r2) +/* 8011145C 0010E3BC 38 9E 00 10 */ addi r4, r30, 0x10 +/* 80111460 0010E3C0 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 80111464 0010E3C4 38 A1 00 CC */ addi r5, r1, 0xcc +/* 80111468 0010E3C8 38 C1 00 9C */ addi r6, r1, 0x9c +/* 8011146C 0010E3CC D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 80111470 0010E3D0 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80111474 0010E3D4 48 20 26 9D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80111478 0010E3D8 38 7F 00 04 */ addi r3, r31, 4 +/* 8011147C 0010E3DC 38 81 01 44 */ addi r4, r1, 0x144 +/* 80111480 0010E3E0 48 20 16 C1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80111484 0010E3E4 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 80111488 0010E3E8 38 7F 00 04 */ addi r3, r31, 4 +/* 8011148C 0010E3EC D0 1F 00 68 */ stfs f0, 0x68(r31) +/* 80111490 0010E3F0 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 80111494 0010E3F4 D0 1F 00 6C */ stfs f0, 0x6c(r31) +/* 80111498 0010E3F8 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 8011149C 0010E3FC D0 1F 00 70 */ stfs f0, 0x70(r31) +/* 801114A0 0010E400 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 801114A4 0010E404 D0 1F 00 74 */ stfs f0, 0x74(r31) +/* 801114A8 0010E408 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 801114AC 0010E40C D0 1F 00 78 */ stfs f0, 0x78(r31) +/* 801114B0 0010E410 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 801114B4 0010E414 D0 1F 00 7C */ stfs f0, 0x7c(r31) +/* 801114B8 0010E418 48 1F B2 95 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 801114BC 0010E41C C0 22 95 A4 */ lfs f1, lbl_805AB2C4@sda21(r2) +/* 801114C0 0010E420 38 61 01 74 */ addi r3, r1, 0x174 +/* 801114C4 0010E424 C0 1F 00 64 */ lfs f0, 0x64(r31) +/* 801114C8 0010E428 38 9F 00 04 */ addi r4, r31, 4 +/* 801114CC 0010E42C EC 21 07 B2 */ fmuls f1, f1, f30 +/* 801114D0 0010E430 C0 42 95 8C */ lfs f2, lbl_805AB2AC@sda21(r2) +/* 801114D4 0010E434 EC 9D 00 2A */ fadds f4, f29, f0 +/* 801114D8 0010E438 C0 62 95 A8 */ lfs f3, lbl_805AB2C8@sda21(r2) +/* 801114DC 0010E43C 38 A0 00 01 */ li r5, 1 +/* 801114E0 0010E440 48 23 3D 75 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf +/* 801114E4 0010E444 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801114E8 0010E448 38 81 01 74 */ addi r4, r1, 0x174 +/* 801114EC 0010E44C 81 83 00 00 */ lwz r12, 0(r3) +/* 801114F0 0010E450 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 801114F4 0010E454 7D 89 03 A6 */ mtctr r12 +/* 801114F8 0010E458 4E 80 04 21 */ bctrl +/* 801114FC 0010E45C 80 DF 00 00 */ lwz r6, 0(r31) +/* 80111500 0010E460 3C 80 43 30 */ lis r4, 0x4330 +/* 80111504 0010E464 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111508 0010E468 FC 20 F0 90 */ fmr f1, f30 +/* 8011150C 0010E46C A8 A6 00 04 */ lha r5, 4(r6) +/* 80111510 0010E470 A8 06 00 06 */ lha r0, 6(r6) +/* 80111514 0010E474 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 80111518 0010E478 81 83 00 00 */ lwz r12, 0(r3) +/* 8011151C 0010E47C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 80111520 0010E480 90 A1 01 DC */ stw r5, 0x1dc(r1) +/* 80111524 0010E484 C8 62 95 C0 */ lfd f3, lbl_805AB2E0@sda21(r2) +/* 80111528 0010E488 90 81 01 D8 */ stw r4, 0x1d8(r1) +/* 8011152C 0010E48C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80111530 0010E490 C8 01 01 D8 */ lfd f0, 0x1d8(r1) +/* 80111534 0010E494 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 80111538 0010E498 EC 40 18 28 */ fsubs f2, f0, f3 +/* 8011153C 0010E49C C0 82 95 A8 */ lfs f4, lbl_805AB2C8@sda21(r2) +/* 80111540 0010E4A0 90 81 01 E0 */ stw r4, 0x1e0(r1) +/* 80111544 0010E4A4 C0 A2 95 AC */ lfs f5, lbl_805AB2CC@sda21(r2) +/* 80111548 0010E4A8 C8 01 01 E0 */ lfd f0, 0x1e0(r1) +/* 8011154C 0010E4AC EC 60 18 28 */ fsubs f3, f0, f3 +/* 80111550 0010E4B0 7D 89 03 A6 */ mtctr r12 +/* 80111554 0010E4B4 4E 80 04 21 */ bctrl +/* 80111558 0010E4B8 C3 ED A7 E0 */ lfs f31, lbl_805A93A0@sda21(r13) +/* 8011155C 0010E4BC C3 CD 9C 78 */ lfs f30, lbl_805A8838@sda21(r13) +/* 80111560 0010E4C0 C0 22 95 88 */ lfs f1, lbl_805AB2A8@sda21(r2) +/* 80111564 0010E4C4 C0 42 95 8C */ lfs f2, lbl_805AB2AC@sda21(r2) +/* 80111568 0010E4C8 48 1F 8E 79 */ bl SetDepthRange__9CGraphicsFff +/* 8011156C 0010E4CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111570 0010E4D0 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 80111574 0010E4D4 39 04 D9 10 */ addi r8, r4, lbl_803ED910@l +/* 80111578 0010E4D8 80 FF 00 00 */ lwz r7, 0(r31) +/* 8011157C 0010E4DC 81 83 00 00 */ lwz r12, 0(r3) +/* 80111580 0010E4E0 38 80 00 00 */ li r4, 0 +/* 80111584 0010E4E4 A8 C7 00 04 */ lha r6, 4(r7) +/* 80111588 0010E4E8 38 A0 00 00 */ li r5, 0 +/* 8011158C 0010E4EC A8 07 00 06 */ lha r0, 6(r7) +/* 80111590 0010E4F0 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80111594 0010E4F4 54 C6 08 3C */ slwi r6, r6, 1 +/* 80111598 0010E4F8 54 07 08 3C */ slwi r7, r0, 1 +/* 8011159C 0010E4FC 83 A8 00 00 */ lwz r29, 0(r8) +/* 801115A0 0010E500 83 88 00 04 */ lwz r28, 4(r8) +/* 801115A4 0010E504 83 68 00 08 */ lwz r27, 8(r8) +/* 801115A8 0010E508 83 48 00 0C */ lwz r26, 0xc(r8) +/* 801115AC 0010E50C 7D 89 03 A6 */ mtctr r12 +/* 801115B0 0010E510 4E 80 04 21 */ bctrl +/* 801115B4 0010E514 C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 801115B8 0010E518 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 801115BC 0010E51C C0 62 95 88 */ lfs f3, lbl_805AB2A8@sda21(r2) +/* 801115C0 0010E520 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 801115C4 0010E524 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 801115C8 0010E528 38 61 01 14 */ addi r3, r1, 0x114 +/* 801115CC 0010E52C EC 81 18 28 */ fsubs f4, f1, f3 +/* 801115D0 0010E530 C0 41 00 D4 */ lfs f2, 0xd4(r1) +/* 801115D4 0010E534 C0 22 95 A8 */ lfs f1, lbl_805AB2C8@sda21(r2) +/* 801115D8 0010E538 EC 00 18 28 */ fsubs f0, f0, f3 +/* 801115DC 0010E53C C0 7F 00 64 */ lfs f3, 0x64(r31) +/* 801115E0 0010E540 38 81 00 90 */ addi r4, r1, 0x90 +/* 801115E4 0010E544 EC 42 08 28 */ fsubs f2, f2, f1 +/* 801115E8 0010E548 C0 22 95 B0 */ lfs f1, lbl_805AB2D0@sda21(r2) +/* 801115EC 0010E54C D0 01 00 90 */ stfs f0, 0x90(r1) +/* 801115F0 0010E550 38 BE 00 10 */ addi r5, r30, 0x10 +/* 801115F4 0010E554 EF 81 00 F2 */ fmuls f28, f1, f3 +/* 801115F8 0010E558 D0 81 00 94 */ stfs f4, 0x94(r1) +/* 801115FC 0010E55C D0 41 00 98 */ stfs f2, 0x98(r1) +/* 80111600 0010E560 48 20 25 11 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 80111604 0010E564 38 7F 00 34 */ addi r3, r31, 0x34 +/* 80111608 0010E568 38 81 01 14 */ addi r4, r1, 0x114 +/* 8011160C 0010E56C 48 20 15 35 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80111610 0010E570 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111614 0010E574 38 9F 00 34 */ addi r4, r31, 0x34 +/* 80111618 0010E578 81 83 00 00 */ lwz r12, 0(r3) +/* 8011161C 0010E57C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80111620 0010E580 7D 89 03 A6 */ mtctr r12 +/* 80111624 0010E584 4E 80 04 21 */ bctrl +/* 80111628 0010E588 48 23 89 85 */ bl White__6CColorFv +/* 8011162C 0010E58C 7C 64 1B 78 */ mr r4, r3 +/* 80111630 0010E590 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111634 0010E594 81 83 00 00 */ lwz r12, 0(r3) +/* 80111638 0010E598 81 8C 00 B4 */ lwz r12, 0xb4(r12) +/* 8011163C 0010E59C 7D 89 03 A6 */ mtctr r12 +/* 80111640 0010E5A0 4E 80 04 21 */ bctrl +/* 80111644 0010E5A4 38 60 00 07 */ li r3, 7 +/* 80111648 0010E5A8 38 80 00 00 */ li r4, 0 +/* 8011164C 0010E5AC 38 A0 00 00 */ li r5, 0 +/* 80111650 0010E5B0 38 C0 00 07 */ li r6, 7 +/* 80111654 0010E5B4 38 E0 00 00 */ li r7, 0 +/* 80111658 0010E5B8 48 1F A3 D1 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 8011165C 0010E5BC 38 60 00 01 */ li r3, 1 +/* 80111660 0010E5C0 38 80 00 03 */ li r4, 3 +/* 80111664 0010E5C4 38 A0 00 01 */ li r5, 1 +/* 80111668 0010E5C8 48 1F A4 2D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 8011166C 0010E5CC 38 60 00 01 */ li r3, 1 +/* 80111670 0010E5D0 38 80 00 04 */ li r4, 4 +/* 80111674 0010E5D4 38 A0 00 05 */ li r5, 5 +/* 80111678 0010E5D8 38 C0 00 00 */ li r6, 0 +/* 8011167C 0010E5DC 48 1F A3 D5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80111680 0010E5E0 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80111684 0010E5E4 38 60 00 00 */ li r3, 0 +/* 80111688 0010E5E8 48 1F 8C 31 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8011168C 0010E5EC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80111690 0010E5F0 38 60 00 01 */ li r3, 1 +/* 80111694 0010E5F4 48 1F 8C 25 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80111698 0010E5F8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011169C 0010E5FC 38 80 00 04 */ li r4, 4 +/* 801116A0 0010E600 81 83 00 00 */ lwz r12, 0(r3) +/* 801116A4 0010E604 81 8C 00 A0 */ lwz r12, 0xa0(r12) +/* 801116A8 0010E608 7D 89 03 A6 */ mtctr r12 +/* 801116AC 0010E60C 4E 80 04 21 */ bctrl +/* 801116B0 0010E610 FF A0 E0 50 */ fneg f29, f28 +/* 801116B4 0010E614 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) +/* 801116B8 0010E618 D3 81 00 8C */ stfs f28, 0x8c(r1) +/* 801116BC 0010E61C 38 81 00 84 */ addi r4, r1, 0x84 +/* 801116C0 0010E620 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801116C4 0010E624 D3 A1 00 84 */ stfs f29, 0x84(r1) +/* 801116C8 0010E628 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 801116CC 0010E62C 81 83 00 00 */ lwz r12, 0(r3) +/* 801116D0 0010E630 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 801116D4 0010E634 7D 89 03 A6 */ mtctr r12 +/* 801116D8 0010E638 4E 80 04 21 */ bctrl +/* 801116DC 0010E63C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) +/* 801116E0 0010E640 38 81 00 78 */ addi r4, r1, 0x78 +/* 801116E4 0010E644 D3 81 00 78 */ stfs f28, 0x78(r1) +/* 801116E8 0010E648 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801116EC 0010E64C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 801116F0 0010E650 D3 81 00 80 */ stfs f28, 0x80(r1) +/* 801116F4 0010E654 81 83 00 00 */ lwz r12, 0(r3) +/* 801116F8 0010E658 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 801116FC 0010E65C 7D 89 03 A6 */ mtctr r12 +/* 80111700 0010E660 4E 80 04 21 */ bctrl +/* 80111704 0010E664 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) +/* 80111708 0010E668 38 81 00 6C */ addi r4, r1, 0x6c +/* 8011170C 0010E66C D3 A1 00 6C */ stfs f29, 0x6c(r1) +/* 80111710 0010E670 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111714 0010E674 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80111718 0010E678 D3 A1 00 74 */ stfs f29, 0x74(r1) +/* 8011171C 0010E67C 81 83 00 00 */ lwz r12, 0(r3) +/* 80111720 0010E680 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 80111724 0010E684 7D 89 03 A6 */ mtctr r12 +/* 80111728 0010E688 4E 80 04 21 */ bctrl +/* 8011172C 0010E68C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) +/* 80111730 0010E690 38 81 00 60 */ addi r4, r1, 0x60 +/* 80111734 0010E694 D3 81 00 60 */ stfs f28, 0x60(r1) +/* 80111738 0010E698 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011173C 0010E69C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 80111740 0010E6A0 D3 A1 00 68 */ stfs f29, 0x68(r1) +/* 80111744 0010E6A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80111748 0010E6A8 81 8C 00 A8 */ lwz r12, 0xa8(r12) +/* 8011174C 0010E6AC 7D 89 03 A6 */ mtctr r12 +/* 80111750 0010E6B0 4E 80 04 21 */ bctrl +/* 80111754 0010E6B4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111758 0010E6B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8011175C 0010E6BC 81 8C 00 B8 */ lwz r12, 0xb8(r12) +/* 80111760 0010E6C0 7D 89 03 A6 */ mtctr r12 +/* 80111764 0010E6C4 4E 80 04 21 */ bctrl +/* 80111768 0010E6C8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011176C 0010E6CC 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80111770 0010E6D0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80111774 0010E6D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80111778 0010E6D8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8011177C 0010E6DC 7D 89 03 A6 */ mtctr r12 +/* 80111780 0010E6E0 4E 80 04 21 */ bctrl +/* 80111784 0010E6E4 38 60 00 01 */ li r3, 1 +/* 80111788 0010E6E8 48 23 40 61 */ bl SetRenderModelBlack__10CCubeModelFb +/* 8011178C 0010E6EC 38 60 00 01 */ li r3, 1 +/* 80111790 0010E6F0 48 1F 51 09 */ bl SetDrawingOccluders__10CCubeModelFb +/* 80111794 0010E6F4 38 00 00 00 */ li r0, 0 +/* 80111798 0010E6F8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011179C 0010E6FC 90 01 00 54 */ stw r0, 0x54(r1) +/* 801117A0 0010E700 38 81 00 50 */ addi r4, r1, 0x50 +/* 801117A4 0010E704 90 01 00 58 */ stw r0, 0x58(r1) +/* 801117A8 0010E708 90 01 00 5C */ stw r0, 0x5c(r1) +/* 801117AC 0010E70C 81 83 00 00 */ lwz r12, 0(r3) +/* 801117B0 0010E710 81 8C 01 08 */ lwz r12, 0x108(r12) +/* 801117B4 0010E714 7D 89 03 A6 */ mtctr r12 +/* 801117B8 0010E718 4E 80 04 21 */ bctrl +/* 801117BC 0010E71C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 801117C0 0010E720 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 801117C4 0010E724 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 801117C8 0010E728 90 61 00 0C */ stw r3, 0xc(r1) +/* 801117CC 0010E72C 7C 64 1B 78 */ mr r4, r3 +/* 801117D0 0010E730 7C 03 02 14 */ add r0, r3, r0 +/* 801117D4 0010E734 90 61 00 08 */ stw r3, 8(r1) +/* 801117D8 0010E738 90 01 00 14 */ stw r0, 0x14(r1) +/* 801117DC 0010E73C 90 01 00 10 */ stw r0, 0x10(r1) +/* 801117E0 0010E740 48 00 00 08 */ b lbl_801117E8 +lbl_801117E4: +/* 801117E4 0010E744 38 84 00 50 */ addi r4, r4, 0x50 +lbl_801117E8: +/* 801117E8 0010E748 7C 04 00 40 */ cmplw r4, r0 +/* 801117EC 0010E74C 40 82 FF F8 */ bne lbl_801117E4 +/* 801117F0 0010E750 28 03 00 00 */ cmplwi r3, 0 +/* 801117F4 0010E754 41 82 00 08 */ beq lbl_801117FC +/* 801117F8 0010E758 48 20 41 39 */ bl Free__7CMemoryFPCv +lbl_801117FC: +/* 801117FC 0010E75C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111800 0010E760 38 A0 00 00 */ li r5, 0 +/* 80111804 0010E764 80 97 00 00 */ lwz r4, 0(r23) +/* 80111808 0010E768 38 C0 00 00 */ li r6, 0 +/* 8011180C 0010E76C 81 83 00 00 */ lwz r12, 0(r3) +/* 80111810 0010E770 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80111814 0010E774 7D 89 03 A6 */ mtctr r12 +/* 80111818 0010E778 4E 80 04 21 */ bctrl +/* 8011181C 0010E77C 38 60 00 00 */ li r3, 0 +/* 80111820 0010E780 48 23 3F C9 */ bl SetRenderModelBlack__10CCubeModelFb +/* 80111824 0010E784 38 60 00 00 */ li r3, 0 +/* 80111828 0010E788 48 1F 50 71 */ bl SetDrawingOccluders__10CCubeModelFb +/* 8011182C 0010E78C 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 80111830 0010E790 41 82 01 00 */ beq lbl_80111930 +/* 80111834 0010E794 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111838 0010E798 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8011183C 0010E79C 81 83 00 00 */ lwz r12, 0(r3) +/* 80111840 0010E7A0 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80111844 0010E7A4 7D 89 03 A6 */ mtctr r12 +/* 80111848 0010E7A8 4E 80 04 21 */ bctrl +/* 8011184C 0010E7AC 38 60 00 07 */ li r3, 7 +/* 80111850 0010E7B0 38 80 00 00 */ li r4, 0 +/* 80111854 0010E7B4 38 A0 00 00 */ li r5, 0 +/* 80111858 0010E7B8 38 C0 00 07 */ li r6, 7 +/* 8011185C 0010E7BC 38 E0 00 00 */ li r7, 0 +/* 80111860 0010E7C0 48 1F A1 C9 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80111864 0010E7C4 38 60 00 00 */ li r3, 0 +/* 80111868 0010E7C8 38 80 00 03 */ li r4, 3 +/* 8011186C 0010E7CC 38 A0 00 00 */ li r5, 0 +/* 80111870 0010E7D0 48 1F A2 25 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80111874 0010E7D4 38 60 00 01 */ li r3, 1 +/* 80111878 0010E7D8 38 80 00 04 */ li r4, 4 +/* 8011187C 0010E7DC 38 A0 00 05 */ li r5, 5 +/* 80111880 0010E7E0 38 C0 00 00 */ li r6, 0 +/* 80111884 0010E7E4 48 1F A1 CD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80111888 0010E7E8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 8011188C 0010E7EC 38 60 00 00 */ li r3, 0 +/* 80111890 0010E7F0 48 1F 8A 29 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80111894 0010E7F4 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80111898 0010E7F8 38 60 00 01 */ li r3, 1 +/* 8011189C 0010E7FC 48 1F 8A 1D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 801118A0 0010E800 38 60 00 98 */ li r3, 0x98 +/* 801118A4 0010E804 48 1F 9D C5 */ bl StreamBegin__9CGraphicsF13ERglPrimitive +/* 801118A8 0010E808 C0 22 95 8C */ lfs f1, lbl_805AB2AC@sda21(r2) +/* 801118AC 0010E80C C0 82 95 B4 */ lfs f4, lbl_805AB2D4@sda21(r2) +/* 801118B0 0010E810 FC 40 08 90 */ fmr f2, f1 +/* 801118B4 0010E814 FC 60 08 90 */ fmr f3, f1 +/* 801118B8 0010E818 48 1F 9C 15 */ bl StreamColor__9CGraphicsFffff +/* 801118BC 0010E81C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) +/* 801118C0 0010E820 38 61 00 44 */ addi r3, r1, 0x44 +/* 801118C4 0010E824 D3 A1 00 44 */ stfs f29, 0x44(r1) +/* 801118C8 0010E828 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 801118CC 0010E82C D3 81 00 4C */ stfs f28, 0x4c(r1) +/* 801118D0 0010E830 48 1F 9C F1 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 801118D4 0010E834 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) +/* 801118D8 0010E838 38 61 00 38 */ addi r3, r1, 0x38 +/* 801118DC 0010E83C D3 81 00 38 */ stfs f28, 0x38(r1) +/* 801118E0 0010E840 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 801118E4 0010E844 D3 81 00 40 */ stfs f28, 0x40(r1) +/* 801118E8 0010E848 48 1F 9C D9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 801118EC 0010E84C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) +/* 801118F0 0010E850 38 61 00 2C */ addi r3, r1, 0x2c +/* 801118F4 0010E854 D3 A1 00 2C */ stfs f29, 0x2c(r1) +/* 801118F8 0010E858 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 801118FC 0010E85C D3 A1 00 34 */ stfs f29, 0x34(r1) +/* 80111900 0010E860 48 1F 9C C1 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 80111904 0010E864 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) +/* 80111908 0010E868 38 61 00 20 */ addi r3, r1, 0x20 +/* 8011190C 0010E86C D3 81 00 20 */ stfs f28, 0x20(r1) +/* 80111910 0010E870 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80111914 0010E874 D3 A1 00 28 */ stfs f29, 0x28(r1) +/* 80111918 0010E878 48 1F 9C A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f +/* 8011191C 0010E87C 48 1F 9A F5 */ bl StreamEnd__9CGraphicsFv +/* 80111920 0010E880 38 60 00 01 */ li r3, 1 +/* 80111924 0010E884 38 80 00 03 */ li r4, 3 +/* 80111928 0010E888 38 A0 00 01 */ li r5, 1 +/* 8011192C 0010E88C 48 1F A1 69 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +lbl_80111930: +/* 80111930 0010E890 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80111934 0010E894 41 82 00 BC */ beq lbl_801119F0 +/* 80111938 0010E898 88 1F 00 88 */ lbz r0, 0x88(r31) +/* 8011193C 0010E89C 28 00 00 01 */ cmplwi r0, 1 +/* 80111940 0010E8A0 41 82 00 B0 */ beq lbl_801119F0 +/* 80111944 0010E8A4 38 60 00 00 */ li r3, 0 +/* 80111948 0010E8A8 38 80 00 03 */ li r4, 3 +/* 8011194C 0010E8AC 38 A0 00 00 */ li r5, 0 +/* 80111950 0010E8B0 48 1F A1 45 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +/* 80111954 0010E8B4 38 60 00 01 */ li r3, 1 +/* 80111958 0010E8B8 38 80 00 04 */ li r4, 4 +/* 8011195C 0010E8BC 38 A0 00 05 */ li r5, 5 +/* 80111960 0010E8C0 38 C0 00 00 */ li r6, 0 +/* 80111964 0010E8C4 48 1F A0 ED */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp +/* 80111968 0010E8C8 38 60 00 07 */ li r3, 7 +/* 8011196C 0010E8CC 38 80 00 00 */ li r4, 0 +/* 80111970 0010E8D0 38 A0 00 00 */ li r5, 0 +/* 80111974 0010E8D4 38 C0 00 07 */ li r6, 7 +/* 80111978 0010E8D8 38 E0 00 00 */ li r7, 0 +/* 8011197C 0010E8DC 48 1F A0 AD */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc +/* 80111980 0010E8E0 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha +/* 80111984 0010E8E4 38 60 00 00 */ li r3, 0 +/* 80111988 0010E8E8 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l +/* 8011198C 0010E8EC 48 1F 89 2D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 80111990 0010E8F0 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) +/* 80111994 0010E8F4 38 60 00 01 */ li r3, 1 +/* 80111998 0010E8F8 48 1F 89 21 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass +/* 8011199C 0010E8FC C0 22 95 8C */ lfs f1, lbl_805AB2AC@sda21(r2) +/* 801119A0 0010E900 38 61 00 18 */ addi r3, r1, 0x18 +/* 801119A4 0010E904 83 3F 00 00 */ lwz r25, 0(r31) +/* 801119A8 0010E908 FC 40 08 90 */ fmr f2, f1 +/* 801119AC 0010E90C C0 82 95 B8 */ lfs f4, lbl_805AB2D8@sda21(r2) +/* 801119B0 0010E910 FC 60 08 90 */ fmr f3, f1 +/* 801119B4 0010E914 AA F9 00 04 */ lha r23, 4(r25) +/* 801119B8 0010E918 AB 19 00 06 */ lha r24, 6(r25) +/* 801119BC 0010E91C 48 25 1A 31 */ bl __ct__6CColorFffff +/* 801119C0 0010E920 7C 17 00 D0 */ neg r0, r23 +/* 801119C4 0010E924 7C 68 1B 78 */ mr r8, r3 +/* 801119C8 0010E928 7F 23 CB 78 */ mr r3, r25 +/* 801119CC 0010E92C 56 E5 08 3C */ slwi r5, r23, 1 +/* 801119D0 0010E930 57 06 08 3C */ slwi r6, r24, 1 +/* 801119D4 0010E934 54 07 08 3C */ slwi r7, r0, 1 +/* 801119D8 0010E938 38 80 00 00 */ li r4, 0 +/* 801119DC 0010E93C 48 1F 9D 81 */ bl Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor +/* 801119E0 0010E940 38 60 00 01 */ li r3, 1 +/* 801119E4 0010E944 38 80 00 03 */ li r4, 3 +/* 801119E8 0010E948 38 A0 00 01 */ li r5, 1 +/* 801119EC 0010E94C 48 1F A0 A9 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb +lbl_801119F0: +/* 801119F0 0010E950 38 00 00 00 */ li r0, 0 +/* 801119F4 0010E954 38 60 00 00 */ li r3, 0 +/* 801119F8 0010E958 98 1F 00 88 */ stb r0, 0x88(r31) +/* 801119FC 0010E95C 80 9F 00 00 */ lwz r4, 0(r31) +/* 80111A00 0010E960 A8 A4 00 06 */ lha r5, 6(r4) +/* 80111A04 0010E964 A8 04 00 04 */ lha r0, 4(r4) +/* 80111A08 0010E968 54 A4 08 3C */ slwi r4, r5, 1 +/* 80111A0C 0010E96C 54 A6 0C 3C */ rlwinm r6, r5, 1, 0x10, 0x1e +/* 80111A10 0010E970 20 84 01 C0 */ subfic r4, r4, 0x1c0 +/* 80111A14 0010E974 54 05 0C 3C */ rlwinm r5, r0, 1, 0x10, 0x1e +/* 80111A18 0010E978 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 80111A1C 0010E97C 48 26 73 99 */ bl GXSetTexCopySrc +/* 80111A20 0010E980 80 DF 00 00 */ lwz r6, 0(r31) +/* 80111A24 0010E984 38 A0 00 06 */ li r5, 6 +/* 80111A28 0010E988 80 86 00 00 */ lwz r4, 0(r6) +/* 80111A2C 0010E98C A8 66 00 04 */ lha r3, 4(r6) +/* 80111A30 0010E990 A8 06 00 06 */ lha r0, 6(r6) +/* 80111A34 0010E994 2C 04 00 07 */ cmpwi r4, 7 +/* 80111A38 0010E998 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80111A3C 0010E99C 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 80111A40 0010E9A0 40 82 00 08 */ bne lbl_80111A48 +/* 80111A44 0010E9A4 38 A0 00 04 */ li r5, 4 +lbl_80111A48: +/* 80111A48 0010E9A8 38 C0 00 01 */ li r6, 1 +/* 80111A4C 0010E9AC 48 26 74 35 */ bl GXSetTexCopyDst +/* 80111A50 0010E9B0 88 0D A3 5C */ lbz r0, lbl_805A8F1C@sda21(r13) +/* 80111A54 0010E9B4 7C 00 07 75 */ extsb. r0, r0 +/* 80111A58 0010E9B8 40 82 00 14 */ bne lbl_80111A6C +/* 80111A5C 0010E9BC 38 60 00 00 */ li r3, 0 +/* 80111A60 0010E9C0 38 00 00 01 */ li r0, 1 +/* 80111A64 0010E9C4 90 6D A3 58 */ stw r3, lbl_805A8F18@sda21(r13) +/* 80111A68 0010E9C8 98 0D A3 5C */ stb r0, lbl_805A8F1C@sda21(r13) +lbl_80111A6C: +/* 80111A6C 0010E9CC 80 7F 00 00 */ lwz r3, 0(r31) +/* 80111A70 0010E9D0 38 A0 00 01 */ li r5, 1 +/* 80111A74 0010E9D4 38 80 00 00 */ li r4, 0 +/* 80111A78 0010E9D8 88 03 00 0A */ lbz r0, 0xa(r3) +/* 80111A7C 0010E9DC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80111A80 0010E9E0 98 03 00 0A */ stb r0, 0xa(r3) +/* 80111A84 0010E9E4 80 7F 00 00 */ lwz r3, 0(r31) +/* 80111A88 0010E9E8 48 1F CB 4D */ bl GetBitMapData__8CTextureFi +/* 80111A8C 0010E9EC 38 80 00 01 */ li r4, 1 +/* 80111A90 0010E9F0 48 26 7A A5 */ bl GXCopyTex +/* 80111A94 0010E9F4 80 7F 00 00 */ lwz r3, 0(r31) +/* 80111A98 0010E9F8 48 1F CE 85 */ bl UnLock__8CTextureFv +/* 80111A9C 0010E9FC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80111AA0 0010EA00 7F A4 EB 78 */ mr r4, r29 +/* 80111AA4 0010EA04 7F 85 E3 78 */ mr r5, r28 +/* 80111AA8 0010EA08 7F 66 DB 78 */ mr r6, r27 +/* 80111AAC 0010EA0C 81 83 00 00 */ lwz r12, 0(r3) +/* 80111AB0 0010EA10 7F 47 D3 78 */ mr r7, r26 +/* 80111AB4 0010EA14 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80111AB8 0010EA18 7D 89 03 A6 */ mtctr r12 +/* 80111ABC 0010EA1C 4E 80 04 21 */ bctrl +/* 80111AC0 0010EA20 FC 20 F8 90 */ fmr f1, f31 +/* 80111AC4 0010EA24 FC 40 F0 90 */ fmr f2, f30 +/* 80111AC8 0010EA28 48 1F 89 19 */ bl SetDepthRange__9CGraphicsFff +/* 80111ACC 0010EA2C 80 A1 01 74 */ lwz r5, 0x174(r1) +/* 80111AD0 0010EA30 38 60 00 00 */ li r3, 0 +/* 80111AD4 0010EA34 2C 05 00 00 */ cmpwi r5, 0 +/* 80111AD8 0010EA38 40 81 00 40 */ ble lbl_80111B18 +/* 80111ADC 0010EA3C 2C 05 00 08 */ cmpwi r5, 8 +/* 80111AE0 0010EA40 38 85 FF F8 */ addi r4, r5, -8 +/* 80111AE4 0010EA44 40 81 00 20 */ ble lbl_80111B04 +/* 80111AE8 0010EA48 38 04 00 07 */ addi r0, r4, 7 +/* 80111AEC 0010EA4C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80111AF0 0010EA50 7C 09 03 A6 */ mtctr r0 +/* 80111AF4 0010EA54 2C 04 00 00 */ cmpwi r4, 0 +/* 80111AF8 0010EA58 40 81 00 0C */ ble lbl_80111B04 +lbl_80111AFC: +/* 80111AFC 0010EA5C 38 63 00 08 */ addi r3, r3, 8 +/* 80111B00 0010EA60 42 00 FF FC */ bdnz lbl_80111AFC +lbl_80111B04: +/* 80111B04 0010EA64 7C 03 28 50 */ subf r0, r3, r5 +/* 80111B08 0010EA68 7C 09 03 A6 */ mtctr r0 +/* 80111B0C 0010EA6C 7C 03 28 00 */ cmpw r3, r5 +/* 80111B10 0010EA70 40 80 00 08 */ bge lbl_80111B18 +lbl_80111B14: +/* 80111B14 0010EA74 42 00 00 00 */ bdnz lbl_80111B14 +lbl_80111B18: +/* 80111B18 0010EA78 38 00 00 00 */ li r0, 0 +/* 80111B1C 0010EA7C 90 01 01 74 */ stw r0, 0x174(r1) +lbl_80111B20: +/* 80111B20 0010EA80 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0 +/* 80111B24 0010EA84 CB E1 02 40 */ lfd f31, 0x240(r1) +/* 80111B28 0010EA88 E3 C1 02 38 */ psq_l f30, 568(r1), 0, qr0 +/* 80111B2C 0010EA8C CB C1 02 30 */ lfd f30, 0x230(r1) +/* 80111B30 0010EA90 E3 A1 02 28 */ psq_l f29, 552(r1), 0, qr0 +/* 80111B34 0010EA94 CB A1 02 20 */ lfd f29, 0x220(r1) +/* 80111B38 0010EA98 E3 81 02 18 */ psq_l f28, 536(r1), 0, qr0 +/* 80111B3C 0010EA9C CB 81 02 10 */ lfd f28, 0x210(r1) +/* 80111B40 0010EAA0 BA E1 01 EC */ lmw r23, 0x1ec(r1) +/* 80111B44 0010EAA4 80 01 02 54 */ lwz r0, 0x254(r1) +/* 80111B48 0010EAA8 7C 08 03 A6 */ mtlr r0 +/* 80111B4C 0010EAAC 38 21 02 50 */ addi r1, r1, 0x250 +/* 80111B50 0010EAB0 4E 80 00 20 */ blr + +.global __dt__12CWorldShadowFv +__dt__12CWorldShadowFv: +/* 80111B54 0010EAB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80111B58 0010EAB8 7C 08 02 A6 */ mflr r0 +/* 80111B5C 0010EABC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80111B60 0010EAC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80111B64 0010EAC4 7C 9F 23 78 */ mr r31, r4 +/* 80111B68 0010EAC8 93 C1 00 08 */ stw r30, 8(r1) +/* 80111B6C 0010EACC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80111B70 0010EAD0 41 82 00 38 */ beq lbl_80111BA8 +/* 80111B74 0010EAD4 80 7E 00 00 */ lwz r3, 0(r30) +/* 80111B78 0010EAD8 28 03 00 00 */ cmplwi r3, 0 +/* 80111B7C 0010EADC 41 82 00 08 */ beq lbl_80111B84 +/* 80111B80 0010EAE0 48 1F C5 8D */ bl sub_8030e10c +lbl_80111B84: +/* 80111B84 0010EAE4 28 1E 00 00 */ cmplwi r30, 0 +/* 80111B88 0010EAE8 41 82 00 10 */ beq lbl_80111B98 +/* 80111B8C 0010EAEC 80 7E 00 00 */ lwz r3, 0(r30) +/* 80111B90 0010EAF0 38 80 00 01 */ li r4, 1 +/* 80111B94 0010EAF4 48 1F DE 65 */ bl __dt__8CTextureFv +lbl_80111B98: +/* 80111B98 0010EAF8 7F E0 07 35 */ extsh. r0, r31 +/* 80111B9C 0010EAFC 40 81 00 0C */ ble lbl_80111BA8 +/* 80111BA0 0010EB00 7F C3 F3 78 */ mr r3, r30 +/* 80111BA4 0010EB04 48 20 3D 8D */ bl Free__7CMemoryFPCv +lbl_80111BA8: +/* 80111BA8 0010EB08 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80111BAC 0010EB0C 7F C3 F3 78 */ mr r3, r30 +/* 80111BB0 0010EB10 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80111BB4 0010EB14 83 C1 00 08 */ lwz r30, 8(r1) +/* 80111BB8 0010EB18 7C 08 03 A6 */ mtlr r0 +/* 80111BBC 0010EB1C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80111BC0 0010EB20 4E 80 00 20 */ blr + +.global __ct__12CWorldShadowFUiUib +__ct__12CWorldShadowFUiUib: +/* 80111BC4 0010EB24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80111BC8 0010EB28 7C 08 02 A6 */ mflr r0 +/* 80111BCC 0010EB2C 3C E0 80 3D */ lis r7, lbl_803CF1F8@ha +/* 80111BD0 0010EB30 90 01 00 24 */ stw r0, 0x24(r1) +/* 80111BD4 0010EB34 38 07 F1 F8 */ addi r0, r7, lbl_803CF1F8@l +/* 80111BD8 0010EB38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80111BDC 0010EB3C 7C 7F 1B 78 */ mr r31, r3 +/* 80111BE0 0010EB40 38 60 00 68 */ li r3, 0x68 +/* 80111BE4 0010EB44 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80111BE8 0010EB48 7C DE 33 78 */ mr r30, r6 +/* 80111BEC 0010EB4C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80111BF0 0010EB50 7C BD 2B 78 */ mr r29, r5 +/* 80111BF4 0010EB54 38 A0 00 00 */ li r5, 0 +/* 80111BF8 0010EB58 93 81 00 10 */ stw r28, 0x10(r1) +/* 80111BFC 0010EB5C 7C 9C 23 78 */ mr r28, r4 +/* 80111C00 0010EB60 7C 04 03 78 */ mr r4, r0 +/* 80111C04 0010EB64 48 20 3C 69 */ bl __nw__FUlPCcPCc +/* 80111C08 0010EB68 7C 60 1B 79 */ or. r0, r3, r3 +/* 80111C0C 0010EB6C 41 82 00 28 */ beq lbl_80111C34 +/* 80111C10 0010EB70 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80111C14 0010EB74 38 80 00 07 */ li r4, 7 +/* 80111C18 0010EB78 41 82 00 08 */ beq lbl_80111C20 +/* 80111C1C 0010EB7C 38 80 00 09 */ li r4, 9 +lbl_80111C20: +/* 80111C20 0010EB80 7F 85 07 34 */ extsh r5, r28 +/* 80111C24 0010EB84 7F A6 07 34 */ extsh r6, r29 +/* 80111C28 0010EB88 38 E0 00 01 */ li r7, 1 +/* 80111C2C 0010EB8C 48 1F E2 01 */ bl __ct__8CTextureF12ETexelFormatssi +/* 80111C30 0010EB90 7C 60 1B 78 */ mr r0, r3 +lbl_80111C34: +/* 80111C34 0010EB94 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80111C38 0010EB98 90 1F 00 00 */ stw r0, 0(r31) +/* 80111C3C 0010EB9C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80111C40 0010EBA0 38 7F 00 04 */ addi r3, r31, 4 +/* 80111C44 0010EBA4 48 20 0F 31 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80111C48 0010EBA8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 80111C4C 0010EBAC 38 7F 00 34 */ addi r3, r31, 0x34 +/* 80111C50 0010EBB0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 80111C54 0010EBB4 48 20 0F 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80111C58 0010EBB8 C0 22 95 8C */ lfs f1, lbl_805AB2AC@sda21(r2) +/* 80111C5C 0010EBBC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80111C60 0010EBC0 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) +/* 80111C64 0010EBC4 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80111C68 0010EBC8 D0 3F 00 64 */ stfs f1, 0x64(r31) +/* 80111C6C 0010EBCC 38 80 FF FF */ li r4, -1 +/* 80111C70 0010EBD0 38 00 00 01 */ li r0, 1 +/* 80111C74 0010EBD4 7F E3 FB 78 */ mr r3, r31 +/* 80111C78 0010EBD8 D0 1F 00 68 */ stfs f0, 0x68(r31) +/* 80111C7C 0010EBDC D0 3F 00 6C */ stfs f1, 0x6c(r31) +/* 80111C80 0010EBE0 D0 1F 00 70 */ stfs f0, 0x70(r31) +/* 80111C84 0010EBE4 C0 05 00 00 */ lfs f0, 0(r5) +/* 80111C88 0010EBE8 D0 1F 00 74 */ stfs f0, 0x74(r31) +/* 80111C8C 0010EBEC C0 05 00 04 */ lfs f0, 4(r5) +/* 80111C90 0010EBF0 D0 1F 00 78 */ stfs f0, 0x78(r31) +/* 80111C94 0010EBF4 C0 05 00 08 */ lfs f0, 8(r5) +/* 80111C98 0010EBF8 D0 1F 00 7C */ stfs f0, 0x7c(r31) +/* 80111C9C 0010EBFC 80 AD A3 90 */ lwz r5, lbl_805A8F50@sda21(r13) +/* 80111CA0 0010EC00 90 BF 00 80 */ stw r5, 0x80(r31) +/* 80111CA4 0010EC04 90 9F 00 84 */ stw r4, 0x84(r31) +/* 80111CA8 0010EC08 98 1F 00 88 */ stb r0, 0x88(r31) +/* 80111CAC 0010EC0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80111CB0 0010EC10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80111CB4 0010EC14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80111CB8 0010EC18 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80111CBC 0010EC1C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80111CC0 0010EC20 7C 08 03 A6 */ mtlr r0 +/* 80111CC4 0010EC24 38 21 00 20 */ addi r1, r1, 0x20 +/* 80111CC8 0010EC28 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CBloodFlower.s b/asm/Kyoto_CWD/Enemies/CBloodFlower.s new file mode 100644 index 00000000..1c581e9d --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CBloodFlower.s @@ -0,0 +1,1724 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__12CBloodFlowerFv +__dt__12CBloodFlowerFv: +/* 80118BE0 00115B40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80118BE4 00115B44 7C 08 02 A6 */ mflr r0 +/* 80118BE8 00115B48 90 01 00 14 */ stw r0, 0x14(r1) +/* 80118BEC 00115B4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80118BF0 00115B50 7C 9F 23 78 */ mr r31, r4 +/* 80118BF4 00115B54 93 C1 00 08 */ stw r30, 8(r1) +/* 80118BF8 00115B58 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80118BFC 00115B5C 41 82 00 E4 */ beq lbl_80118CE0 +/* 80118C00 00115B60 3C 60 80 3E */ lis r3, lbl_803E0350@ha +/* 80118C04 00115B64 34 1E 05 C4 */ addic. r0, r30, 0x5c4 +/* 80118C08 00115B68 38 03 03 50 */ addi r0, r3, lbl_803E0350@l +/* 80118C0C 00115B6C 90 1E 00 00 */ stw r0, 0(r30) +/* 80118C10 00115B70 41 82 00 30 */ beq lbl_80118C40 +/* 80118C14 00115B74 88 1E 05 D0 */ lbz r0, 0x5d0(r30) +/* 80118C18 00115B78 28 00 00 00 */ cmplwi r0, 0 +/* 80118C1C 00115B7C 41 82 00 1C */ beq lbl_80118C38 +/* 80118C20 00115B80 34 7E 05 C4 */ addic. r3, r30, 0x5c4 +/* 80118C24 00115B84 41 82 00 14 */ beq lbl_80118C38 +/* 80118C28 00115B88 28 03 00 00 */ cmplwi r3, 0 +/* 80118C2C 00115B8C 41 82 00 0C */ beq lbl_80118C38 +/* 80118C30 00115B90 38 80 00 00 */ li r4, 0 +/* 80118C34 00115B94 48 22 82 0D */ bl __dt__6CTokenFv +lbl_80118C38: +/* 80118C38 00115B98 38 00 00 00 */ li r0, 0 +/* 80118C3C 00115B9C 98 1E 05 D0 */ stb r0, 0x5d0(r30) +lbl_80118C40: +/* 80118C40 00115BA0 34 1E 05 90 */ addic. r0, r30, 0x590 +/* 80118C44 00115BA4 41 82 00 20 */ beq lbl_80118C64 +/* 80118C48 00115BA8 34 1E 05 90 */ addic. r0, r30, 0x590 +/* 80118C4C 00115BAC 41 82 00 18 */ beq lbl_80118C64 +/* 80118C50 00115BB0 34 1E 05 90 */ addic. r0, r30, 0x590 +/* 80118C54 00115BB4 41 82 00 10 */ beq lbl_80118C64 +/* 80118C58 00115BB8 38 7E 05 90 */ addi r3, r30, 0x590 +/* 80118C5C 00115BBC 38 80 00 00 */ li r4, 0 +/* 80118C60 00115BC0 48 22 81 E1 */ bl __dt__6CTokenFv +lbl_80118C64: +/* 80118C64 00115BC4 34 1E 05 78 */ addic. r0, r30, 0x578 +/* 80118C68 00115BC8 41 82 00 18 */ beq lbl_80118C80 +/* 80118C6C 00115BCC 34 1E 05 78 */ addic. r0, r30, 0x578 +/* 80118C70 00115BD0 41 82 00 10 */ beq lbl_80118C80 +/* 80118C74 00115BD4 38 7E 05 78 */ addi r3, r30, 0x578 +/* 80118C78 00115BD8 38 80 00 00 */ li r4, 0 +/* 80118C7C 00115BDC 48 22 81 C5 */ bl __dt__6CTokenFv +lbl_80118C80: +/* 80118C80 00115BE0 34 1E 05 74 */ addic. r0, r30, 0x574 +/* 80118C84 00115BE4 41 82 00 24 */ beq lbl_80118CA8 +/* 80118C88 00115BE8 80 7E 05 74 */ lwz r3, 0x574(r30) +/* 80118C8C 00115BEC 28 03 00 00 */ cmplwi r3, 0 +/* 80118C90 00115BF0 41 82 00 18 */ beq lbl_80118CA8 +/* 80118C94 00115BF4 81 83 00 00 */ lwz r12, 0(r3) +/* 80118C98 00115BF8 38 80 00 01 */ li r4, 1 +/* 80118C9C 00115BFC 81 8C 00 08 */ lwz r12, 8(r12) +/* 80118CA0 00115C00 7D 89 03 A6 */ mtctr r12 +/* 80118CA4 00115C04 4E 80 04 21 */ bctrl +lbl_80118CA8: +/* 80118CA8 00115C08 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80118CAC 00115C0C 41 82 00 18 */ beq lbl_80118CC4 +/* 80118CB0 00115C10 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80118CB4 00115C14 41 82 00 10 */ beq lbl_80118CC4 +/* 80118CB8 00115C18 38 7E 05 68 */ addi r3, r30, 0x568 +/* 80118CBC 00115C1C 38 80 00 00 */ li r4, 0 +/* 80118CC0 00115C20 48 22 81 81 */ bl __dt__6CTokenFv +lbl_80118CC4: +/* 80118CC4 00115C24 7F C3 F3 78 */ mr r3, r30 +/* 80118CC8 00115C28 38 80 00 00 */ li r4, 0 +/* 80118CCC 00115C2C 4B F5 E8 A5 */ bl __dt__10CPatternedFv +/* 80118CD0 00115C30 7F E0 07 35 */ extsh. r0, r31 +/* 80118CD4 00115C34 40 81 00 0C */ ble lbl_80118CE0 +/* 80118CD8 00115C38 7F C3 F3 78 */ mr r3, r30 +/* 80118CDC 00115C3C 48 1F CC 55 */ bl Free__7CMemoryFPCv +lbl_80118CE0: +/* 80118CE0 00115C40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80118CE4 00115C44 7F C3 F3 78 */ mr r3, r30 +/* 80118CE8 00115C48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80118CEC 00115C4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80118CF0 00115C50 7C 08 03 A6 */ mtlr r0 +/* 80118CF4 00115C54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80118CF8 00115C58 4E 80 00 20 */ blr + +.global sub_80118cfc +sub_80118cfc: +/* 80118CFC 00115C5C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80118D00 00115C60 7C 08 02 A6 */ mflr r0 +/* 80118D04 00115C64 90 01 01 24 */ stw r0, 0x124(r1) +/* 80118D08 00115C68 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 80118D0C 00115C6C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 80118D10 00115C70 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 80118D14 00115C74 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 80118D18 00115C78 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 80118D1C 00115C7C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 80118D20 00115C80 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 80118D24 00115C84 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 80118D28 00115C88 DB 61 00 D0 */ stfd f27, 0xd0(r1) +/* 80118D2C 00115C8C F3 61 00 D8 */ psq_st f27, 216(r1), 0, qr0 +/* 80118D30 00115C90 BF 61 00 BC */ stmw r27, 0xbc(r1) +/* 80118D34 00115C94 88 0D A3 84 */ lbz r0, lbl_805A8F44@sda21(r13) +/* 80118D38 00115C98 FF 80 08 90 */ fmr f28, f1 +/* 80118D3C 00115C9C 7C 7E 1B 78 */ mr r30, r3 +/* 80118D40 00115CA0 7C 9B 23 78 */ mr r27, r4 +/* 80118D44 00115CA4 7C 00 07 75 */ extsb. r0, r0 +/* 80118D48 00115CA8 7C BF 2B 78 */ mr r31, r5 +/* 80118D4C 00115CAC 7C DC 33 78 */ mr r28, r6 +/* 80118D50 00115CB0 40 82 00 14 */ bne lbl_80118D64 +/* 80118D54 00115CB4 48 19 83 E9 */ bl GetTickPeriod__17CProjectileWeaponFv +/* 80118D58 00115CB8 38 00 00 01 */ li r0, 1 +/* 80118D5C 00115CBC D0 2D A3 80 */ stfs f1, lbl_805A8F40@sda21(r13) +/* 80118D60 00115CC0 98 0D A3 84 */ stb r0, lbl_805A8F44@sda21(r13) +lbl_80118D64: +/* 80118D64 00115CC4 7F C3 F3 78 */ mr r3, r30 +/* 80118D68 00115CC8 81 9E 00 00 */ lwz r12, 0(r30) +/* 80118D6C 00115CCC 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80118D70 00115CD0 7D 89 03 A6 */ mtctr r12 +/* 80118D74 00115CD4 4E 80 04 21 */ bctrl +/* 80118D78 00115CD8 7C 7D 1B 78 */ mr r29, r3 +/* 80118D7C 00115CDC 80 03 00 08 */ lwz r0, 8(r3) +/* 80118D80 00115CE0 28 00 00 00 */ cmplwi r0, 0 +/* 80118D84 00115CE4 41 82 00 0C */ beq lbl_80118D90 +/* 80118D88 00115CE8 38 60 00 01 */ li r3, 1 +/* 80118D8C 00115CEC 48 00 00 38 */ b lbl_80118DC4 +lbl_80118D90: +/* 80118D90 00115CF0 88 1D 00 04 */ lbz r0, 4(r29) +/* 80118D94 00115CF4 28 00 00 00 */ cmplwi r0, 0 +/* 80118D98 00115CF8 41 82 00 28 */ beq lbl_80118DC0 +/* 80118D9C 00115CFC 80 9D 00 00 */ lwz r4, 0(r29) +/* 80118DA0 00115D00 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80118DA4 00115D04 28 00 00 00 */ cmplwi r0, 0 +/* 80118DA8 00115D08 41 82 00 18 */ beq lbl_80118DC0 +/* 80118DAC 00115D0C 48 22 80 61 */ bl GetObj__6CTokenFv +/* 80118DB0 00115D10 80 03 00 04 */ lwz r0, 4(r3) +/* 80118DB4 00115D14 38 60 00 01 */ li r3, 1 +/* 80118DB8 00115D18 90 1D 00 08 */ stw r0, 8(r29) +/* 80118DBC 00115D1C 48 00 00 08 */ b lbl_80118DC4 +lbl_80118DC0: +/* 80118DC0 00115D20 38 60 00 00 */ li r3, 0 +lbl_80118DC4: +/* 80118DC4 00115D24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80118DC8 00115D28 41 82 01 E4 */ beq lbl_80118FAC +/* 80118DCC 00115D2C A0 1E 00 08 */ lhz r0, 8(r30) +/* 80118DD0 00115D30 7F E3 FB 78 */ mr r3, r31 +/* 80118DD4 00115D34 7F 86 E3 78 */ mr r6, r28 +/* 80118DD8 00115D38 38 81 00 10 */ addi r4, r1, 0x10 +/* 80118DDC 00115D3C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80118DE0 00115D40 38 A0 00 09 */ li r5, 9 +/* 80118DE4 00115D44 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80118DE8 00115D48 4B F2 C9 49 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 80118DEC 00115D4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80118DF0 00115D50 41 82 01 BC */ beq lbl_80118FAC +/* 80118DF4 00115D54 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80118DF8 00115D58 7F E5 FB 78 */ mr r5, r31 +/* 80118DFC 00115D5C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80118E00 00115D60 C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) +/* 80118E04 00115D64 81 84 00 00 */ lwz r12, 0(r4) +/* 80118E08 00115D68 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80118E0C 00115D6C 7D 89 03 A6 */ mtctr r12 +/* 80118E10 00115D70 4E 80 04 21 */ bctrl +/* 80118E14 00115D74 C0 7B 00 2C */ lfs f3, 0x2c(r27) +/* 80118E18 00115D78 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80118E1C 00115D7C C0 5B 00 1C */ lfs f2, 0x1c(r27) +/* 80118E20 00115D80 EF C3 00 28 */ fsubs f30, f3, f0 +/* 80118E24 00115D84 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) +/* 80118E28 00115D88 C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 80118E2C 00115D8C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80118E30 00115D90 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80118E34 00115D94 C3 E1 00 44 */ lfs f31, 0x44(r1) +/* 80118E38 00115D98 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80118E3C 00115D9C C3 61 00 48 */ lfs f27, 0x48(r1) +/* 80118E40 00115DA0 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80118E44 00115DA4 40 81 00 0C */ ble lbl_80118E50 +/* 80118E48 00115DA8 FC 40 E0 90 */ fmr f2, f28 +/* 80118E4C 00115DAC 48 00 00 0C */ b lbl_80118E58 +lbl_80118E50: +/* 80118E50 00115DB0 FC 00 F0 50 */ fneg f0, f30 +/* 80118E54 00115DB4 EC 40 E0 2A */ fadds f2, f0, f28 +lbl_80118E58: +/* 80118E58 00115DB8 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) +/* 80118E5C 00115DBC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80118E60 00115DC0 40 81 00 08 */ ble lbl_80118E68 +/* 80118E64 00115DC4 EF 9E E0 2A */ fadds f28, f30, f28 +lbl_80118E68: +/* 80118E68 00115DC8 C0 22 96 80 */ lfs f1, lbl_805AB3A0@sda21(r2) +/* 80118E6C 00115DCC C0 02 96 84 */ lfs f0, lbl_805AB3A4@sda21(r2) +/* 80118E70 00115DD0 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 80118E74 00115DD4 EC 21 00 24 */ fdivs f1, f1, f0 +/* 80118E78 00115DD8 48 1F C6 89 */ bl SqrtF__5CMathFf +/* 80118E7C 00115DDC C0 42 96 80 */ lfs f2, lbl_805AB3A0@sda21(r2) +/* 80118E80 00115DE0 FF A0 08 90 */ fmr f29, f1 +/* 80118E84 00115DE4 C0 02 96 84 */ lfs f0, lbl_805AB3A4@sda21(r2) +/* 80118E88 00115DE8 EC 22 07 32 */ fmuls f1, f2, f28 +/* 80118E8C 00115DEC EC 21 00 24 */ fdivs f1, f1, f0 +/* 80118E90 00115DF0 48 1F C6 71 */ bl SqrtF__5CMathFf +/* 80118E94 00115DF4 EC FD 08 2A */ fadds f7, f29, f1 +/* 80118E98 00115DF8 C0 BB 00 1C */ lfs f5, 0x1c(r27) +/* 80118E9C 00115DFC FC 40 F0 50 */ fneg f2, f30 +/* 80118EA0 00115E00 C0 22 96 8C */ lfs f1, lbl_805AB3AC@sda21(r2) +/* 80118EA4 00115E04 C0 DB 00 0C */ lfs f6, 0xc(r27) +/* 80118EA8 00115E08 EC 1B 28 28 */ fsubs f0, f27, f5 +/* 80118EAC 00115E0C EC 81 38 24 */ fdivs f4, f1, f7 +/* 80118EB0 00115E10 C0 3B 00 2C */ lfs f1, 0x2c(r27) +/* 80118EB4 00115E14 C0 62 96 88 */ lfs f3, lbl_805AB3A8@sda21(r2) +/* 80118EB8 00115E18 38 61 00 50 */ addi r3, r1, 0x50 +/* 80118EBC 00115E1C D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 80118EC0 00115E20 38 81 00 2C */ addi r4, r1, 0x2c +/* 80118EC4 00115E24 EC 42 38 24 */ fdivs f2, f2, f7 +/* 80118EC8 00115E28 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80118ECC 00115E2C D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80118ED0 00115E30 EC 3F 30 28 */ fsubs f1, f31, f6 +/* 80118ED4 00115E34 EF 63 11 FA */ fmadds f27, f3, f7, f2 +/* 80118ED8 00115E38 EF A4 00 32 */ fmuls f29, f4, f0 +/* 80118EDC 00115E3C EF C4 00 72 */ fmuls f30, f4, f1 +/* 80118EE0 00115E40 48 1F A2 61 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80118EE4 00115E44 38 61 00 80 */ addi r3, r1, 0x80 +/* 80118EE8 00115E48 38 81 00 50 */ addi r4, r1, 0x50 +/* 80118EEC 00115E4C 48 1F 9C 89 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80118EF0 00115E50 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80118EF4 00115E54 7F C3 F3 78 */ mr r3, r30 +/* 80118EF8 00115E58 B0 01 00 08 */ sth r0, 8(r1) +/* 80118EFC 00115E5C 81 9E 00 00 */ lwz r12, 0(r30) +/* 80118F00 00115E60 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80118F04 00115E64 7D 89 03 A6 */ mtctr r12 +/* 80118F08 00115E68 4E 80 04 21 */ bctrl +/* 80118F0C 00115E6C 7C 7D 1B 78 */ mr r29, r3 +/* 80118F10 00115E70 7F C3 F3 78 */ mr r3, r30 +/* 80118F14 00115E74 81 9E 00 00 */ lwz r12, 0(r30) +/* 80118F18 00115E78 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80118F1C 00115E7C 7D 89 03 A6 */ mtctr r12 +/* 80118F20 00115E80 4E 80 04 21 */ bctrl +/* 80118F24 00115E84 7C 65 1B 78 */ mr r5, r3 +/* 80118F28 00115E88 7F C3 F3 78 */ mr r3, r30 +/* 80118F2C 00115E8C 7F E4 FB 78 */ mr r4, r31 +/* 80118F30 00115E90 38 C1 00 80 */ addi r6, r1, 0x80 +/* 80118F34 00115E94 38 FD 00 0C */ addi r7, r29, 0xc +/* 80118F38 00115E98 39 01 00 08 */ addi r8, r1, 8 +/* 80118F3C 00115E9C 48 00 02 3D */ bl sub_80119178 +/* 80118F40 00115EA0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80118F44 00115EA4 41 82 00 68 */ beq lbl_80118FAC +/* 80118F48 00115EA8 C0 0D A3 80 */ lfs f0, lbl_805A8F40@sda21(r13) +/* 80118F4C 00115EAC 3B BE 01 70 */ addi r29, r30, 0x170 +/* 80118F50 00115EB0 7F A3 EB 78 */ mr r3, r29 +/* 80118F54 00115EB4 38 81 00 20 */ addi r4, r1, 0x20 +/* 80118F58 00115EB8 EC 40 07 B2 */ fmuls f2, f0, f30 +/* 80118F5C 00115EBC EC 20 07 72 */ fmuls f1, f0, f29 +/* 80118F60 00115EC0 EC 00 06 F2 */ fmuls f0, f0, f27 +/* 80118F64 00115EC4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80118F68 00115EC8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80118F6C 00115ECC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80118F70 00115ED0 48 19 61 CD */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f +/* 80118F74 00115ED4 C0 4D A3 80 */ lfs f2, lbl_805A8F40@sda21(r13) +/* 80118F78 00115ED8 7F A3 EB 78 */ mr r3, r29 +/* 80118F7C 00115EDC C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) +/* 80118F80 00115EE0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80118F84 00115EE4 C0 02 96 90 */ lfs f0, lbl_805AB3B0@sda21(r2) +/* 80118F88 00115EE8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80118F8C 00115EEC EC 02 00 32 */ fmuls f0, f2, f0 +/* 80118F90 00115EF0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80118F94 00115EF4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80118F98 00115EF8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80118F9C 00115EFC 48 19 61 7D */ bl SetGravity__17CProjectileWeaponFRC9CVector3f +/* 80118FA0 00115F00 7F E3 FB 78 */ mr r3, r31 +/* 80118FA4 00115F04 7F C4 F3 78 */ mr r4, r30 +/* 80118FA8 00115F08 4B F3 3B 6D */ bl AddObject__13CStateManagerFR7CEntity +lbl_80118FAC: +/* 80118FAC 00115F0C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 80118FB0 00115F10 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80118FB4 00115F14 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 80118FB8 00115F18 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 80118FBC 00115F1C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 80118FC0 00115F20 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 80118FC4 00115F24 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 80118FC8 00115F28 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 80118FCC 00115F2C E3 61 00 D8 */ psq_l f27, 216(r1), 0, qr0 +/* 80118FD0 00115F30 CB 61 00 D0 */ lfd f27, 0xd0(r1) +/* 80118FD4 00115F34 BB 61 00 BC */ lmw r27, 0xbc(r1) +/* 80118FD8 00115F38 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80118FDC 00115F3C 7C 08 03 A6 */ mtlr r0 +/* 80118FE0 00115F40 38 21 01 20 */ addi r1, r1, 0x120 +/* 80118FE4 00115F44 4E 80 00 20 */ blr + +.global Touch__12CBloodFlowerFR6CActorR13CStateManager +Touch__12CBloodFlowerFR6CActorR13CStateManager: +/* 80118FE8 00115F48 4E 80 00 20 */ blr + +.global sub_80118fec +sub_80118fec: +/* 80118FEC 00115F4C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80118FF0 00115F50 7C 08 02 A6 */ mflr r0 +/* 80118FF4 00115F54 3C C0 80 3E */ lis r6, lbl_803E0338@ha +/* 80118FF8 00115F58 90 01 00 24 */ stw r0, 0x24(r1) +/* 80118FFC 00115F5C 54 80 10 3A */ slwi r0, r4, 2 +/* 80119000 00115F60 38 86 03 38 */ addi r4, r6, lbl_803E0338@l +/* 80119004 00115F64 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80119008 00115F68 7C BF 2B 78 */ mr r31, r5 +/* 8011900C 00115F6C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80119010 00115F70 7C 7E 1B 78 */ mr r30, r3 +/* 80119014 00115F74 38 61 00 08 */ addi r3, r1, 8 +/* 80119018 00115F78 7C 84 00 2E */ lwzx r4, r4, r0 +/* 8011901C 00115F7C 4B EE BC 9D */ bl string_l__4rstlFPCc +/* 80119020 00115F80 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80119024 00115F84 7F E6 FB 78 */ mr r6, r31 +/* 80119028 00115F88 38 81 00 08 */ addi r4, r1, 8 +/* 8011902C 00115F8C 38 A0 00 00 */ li r5, 0 +/* 80119030 00115F90 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80119034 00115F94 4B F1 1D 8D */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80119038 00115F98 38 61 00 08 */ addi r3, r1, 8 +/* 8011903C 00115F9C 48 22 4A A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80119040 00115FA0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80119044 00115FA4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80119048 00115FA8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8011904C 00115FAC 7C 08 03 A6 */ mtlr r0 +/* 80119050 00115FB0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80119054 00115FB4 4E 80 00 20 */ blr + +.global sub_80119058 +sub_80119058: +/* 80119058 00115FB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011905C 00115FBC 7C 08 02 A6 */ mflr r0 +/* 80119060 00115FC0 3C C0 80 3E */ lis r6, lbl_803E0338@ha +/* 80119064 00115FC4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80119068 00115FC8 54 80 10 3A */ slwi r0, r4, 2 +/* 8011906C 00115FCC 38 86 03 38 */ addi r4, r6, lbl_803E0338@l +/* 80119070 00115FD0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80119074 00115FD4 7C BF 2B 78 */ mr r31, r5 +/* 80119078 00115FD8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8011907C 00115FDC 7C 7E 1B 78 */ mr r30, r3 +/* 80119080 00115FE0 38 61 00 08 */ addi r3, r1, 8 +/* 80119084 00115FE4 7C 84 00 2E */ lwzx r4, r4, r0 +/* 80119088 00115FE8 4B EE BC 31 */ bl string_l__4rstlFPCc +/* 8011908C 00115FEC 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80119090 00115FF0 7F E6 FB 78 */ mr r6, r31 +/* 80119094 00115FF4 38 81 00 08 */ addi r4, r1, 8 +/* 80119098 00115FF8 38 A0 00 01 */ li r5, 1 +/* 8011909C 00115FFC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 801190A0 00116000 4B F1 1D 21 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 801190A4 00116004 38 61 00 08 */ addi r3, r1, 8 +/* 801190A8 00116008 48 22 4A 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 801190AC 0011600C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801190B0 00116010 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801190B4 00116014 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801190B8 00116018 7C 08 03 A6 */ mtlr r0 +/* 801190BC 0011601C 38 21 00 20 */ addi r1, r1, 0x20 +/* 801190C0 00116020 4E 80 00 20 */ blr + +.global sub_801190c4 +sub_801190c4: +/* 801190C4 00116024 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801190C8 00116028 7C 08 02 A6 */ mflr r0 +/* 801190CC 0011602C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801190D0 00116030 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801190D4 00116034 7C 9F 23 78 */ mr r31, r4 +/* 801190D8 00116038 93 C1 00 08 */ stw r30, 8(r1) +/* 801190DC 0011603C 7C 7E 1B 78 */ mr r30, r3 +/* 801190E0 00116040 80 03 05 D8 */ lwz r0, 0x5d8(r3) +/* 801190E4 00116044 2C 00 00 01 */ cmpwi r0, 1 +/* 801190E8 00116048 41 82 00 30 */ beq lbl_80119118 +/* 801190EC 0011604C 40 80 00 10 */ bge lbl_801190FC +/* 801190F0 00116050 2C 00 00 00 */ cmpwi r0, 0 +/* 801190F4 00116054 40 80 00 14 */ bge lbl_80119108 +/* 801190F8 00116058 48 00 00 5C */ b lbl_80119154 +lbl_801190FC: +/* 801190FC 0011605C 2C 00 00 03 */ cmpwi r0, 3 +/* 80119100 00116060 40 80 00 54 */ bge lbl_80119154 +/* 80119104 00116064 48 00 00 34 */ b lbl_80119138 +lbl_80119108: +/* 80119108 00116068 7F E5 FB 78 */ mr r5, r31 +/* 8011910C 0011606C 38 80 00 00 */ li r4, 0 +/* 80119110 00116070 4B FF FF 49 */ bl sub_80119058 +/* 80119114 00116074 48 00 00 40 */ b lbl_80119154 +lbl_80119118: +/* 80119118 00116078 7F E5 FB 78 */ mr r5, r31 +/* 8011911C 0011607C 38 80 00 00 */ li r4, 0 +/* 80119120 00116080 4B FF FE CD */ bl sub_80118fec +/* 80119124 00116084 7F C3 F3 78 */ mr r3, r30 +/* 80119128 00116088 7F E5 FB 78 */ mr r5, r31 +/* 8011912C 0011608C 38 80 00 01 */ li r4, 1 +/* 80119130 00116090 4B FF FF 29 */ bl sub_80119058 +/* 80119134 00116094 48 00 00 20 */ b lbl_80119154 +lbl_80119138: +/* 80119138 00116098 7F E5 FB 78 */ mr r5, r31 +/* 8011913C 0011609C 38 80 00 01 */ li r4, 1 +/* 80119140 001160A0 4B FF FE AD */ bl sub_80118fec +/* 80119144 001160A4 7F C3 F3 78 */ mr r3, r30 +/* 80119148 001160A8 7F E5 FB 78 */ mr r5, r31 +/* 8011914C 001160AC 38 80 00 02 */ li r4, 2 +/* 80119150 001160B0 4B FF FF 09 */ bl sub_80119058 +lbl_80119154: +/* 80119154 001160B4 80 7E 05 D8 */ lwz r3, 0x5d8(r30) +/* 80119158 001160B8 38 03 00 01 */ addi r0, r3, 1 +/* 8011915C 001160BC 90 1E 05 D8 */ stw r0, 0x5d8(r30) +/* 80119160 001160C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80119164 001160C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80119168 001160C8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011916C 001160CC 7C 08 03 A6 */ mtlr r0 +/* 80119170 001160D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80119174 001160D4 4E 80 00 20 */ blr + +.global sub_80119178 +sub_80119178: +/* 80119178 001160D8 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8011917C 001160DC 7C 08 02 A6 */ mflr r0 +/* 80119180 001160E0 90 01 00 84 */ stw r0, 0x84(r1) +/* 80119184 001160E4 BE E1 00 5C */ stmw r23, 0x5c(r1) +/* 80119188 001160E8 7C 7B 1B 78 */ mr r27, r3 +/* 8011918C 001160EC 7C 9C 23 78 */ mr r28, r4 +/* 80119190 001160F0 7C BD 2B 78 */ mr r29, r5 +/* 80119194 001160F4 7C DE 33 78 */ mr r30, r6 +/* 80119198 001160F8 7C FF 3B 78 */ mr r31, r7 +/* 8011919C 001160FC 7D 18 43 78 */ mr r24, r8 +/* 801191A0 00116100 80 03 05 80 */ lwz r0, 0x580(r3) +/* 801191A4 00116104 28 00 00 00 */ cmplwi r0, 0 +/* 801191A8 00116108 41 82 00 0C */ beq lbl_801191B4 +/* 801191AC 0011610C 38 60 00 01 */ li r3, 1 +/* 801191B0 00116110 48 00 00 3C */ b lbl_801191EC +lbl_801191B4: +/* 801191B4 00116114 88 1B 05 7C */ lbz r0, 0x57c(r27) +/* 801191B8 00116118 28 00 00 00 */ cmplwi r0, 0 +/* 801191BC 0011611C 41 82 00 2C */ beq lbl_801191E8 +/* 801191C0 00116120 80 7B 05 78 */ lwz r3, 0x578(r27) +/* 801191C4 00116124 80 03 00 10 */ lwz r0, 0x10(r3) +/* 801191C8 00116128 28 00 00 00 */ cmplwi r0, 0 +/* 801191CC 0011612C 41 82 00 1C */ beq lbl_801191E8 +/* 801191D0 00116130 38 7B 05 78 */ addi r3, r27, 0x578 +/* 801191D4 00116134 48 22 7C 39 */ bl GetObj__6CTokenFv +/* 801191D8 00116138 80 03 00 04 */ lwz r0, 4(r3) +/* 801191DC 0011613C 38 60 00 01 */ li r3, 1 +/* 801191E0 00116140 90 1B 05 80 */ stw r0, 0x580(r27) +/* 801191E4 00116144 48 00 00 08 */ b lbl_801191EC +lbl_801191E8: +/* 801191E8 00116148 38 60 00 00 */ li r3, 0 +lbl_801191EC: +/* 801191EC 0011614C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801191F0 00116150 41 82 01 08 */ beq lbl_801192F8 +/* 801191F4 00116154 7F 84 E3 78 */ mr r4, r28 +/* 801191F8 00116158 38 61 00 40 */ addi r3, r1, 0x40 +/* 801191FC 0011615C 4B F3 3E E1 */ bl AllocateUniqueId__13CStateManagerFv +/* 80119200 00116160 A0 01 00 40 */ lhz r0, 0x40(r1) +/* 80119204 00116164 3C 60 80 3D */ lis r3, lbl_803CF2F0@ha +/* 80119208 00116168 38 83 F2 F0 */ addi r4, r3, lbl_803CF2F0@l +/* 8011920C 0011616C 38 60 04 00 */ li r3, 0x400 +/* 80119210 00116170 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80119214 00116174 38 84 00 21 */ addi r4, r4, 0x21 +/* 80119218 00116178 38 A0 00 00 */ li r5, 0 +/* 8011921C 0011617C 48 1F C6 51 */ bl __nw__FUlPCcPCc +/* 80119220 00116180 7C 77 1B 79 */ or. r23, r3, r3 +/* 80119224 00116184 41 82 00 8C */ beq lbl_801192B0 +/* 80119228 00116188 A0 18 00 00 */ lhz r0, 0(r24) +/* 8011922C 0011618C 3B 01 00 4C */ addi r24, r1, 0x4c +/* 80119230 00116190 A2 E1 00 44 */ lhz r23, 0x44(r1) +/* 80119234 00116194 3B 21 00 38 */ addi r25, r1, 0x38 +/* 80119238 00116198 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 8011923C 0011619C 3B 5B 05 78 */ addi r26, r27, 0x578 +/* 80119240 001161A0 39 81 00 3C */ addi r12, r1, 0x3c +/* 80119244 001161A4 39 60 00 00 */ li r11, 0 +/* 80119248 001161A8 A0 FB 00 08 */ lhz r7, 8(r27) +/* 8011924C 001161AC 38 1B 05 C4 */ addi r0, r27, 0x5c4 +/* 80119250 001161B0 7F A4 EB 78 */ mr r4, r29 +/* 80119254 001161B4 7F C6 F3 78 */ mr r6, r30 +/* 80119258 001161B8 B0 E1 00 38 */ sth r7, 0x38(r1) +/* 8011925C 001161BC 7F E8 FB 78 */ mr r8, r31 +/* 80119260 001161C0 39 3B 05 DC */ addi r9, r27, 0x5dc +/* 80119264 001161C4 39 41 00 30 */ addi r10, r1, 0x30 +/* 80119268 001161C8 83 BB 00 04 */ lwz r29, 4(r27) +/* 8011926C 001161CC 38 A0 00 09 */ li r5, 9 +/* 80119270 001161D0 B0 E1 00 34 */ sth r7, 0x34(r1) +/* 80119274 001161D4 38 E0 00 21 */ li r7, 0x21 +/* 80119278 001161D8 93 A1 00 4C */ stw r29, 0x4c(r1) +/* 8011927C 001161DC B2 E1 00 30 */ sth r23, 0x30(r1) +/* 80119280 001161E0 93 01 00 08 */ stw r24, 8(r1) +/* 80119284 001161E4 93 21 00 0C */ stw r25, 0xc(r1) +/* 80119288 001161E8 93 41 00 10 */ stw r26, 0x10(r1) +/* 8011928C 001161EC 91 81 00 14 */ stw r12, 0x14(r1) +/* 80119290 001161F0 91 61 00 18 */ stw r11, 0x18(r1) +/* 80119294 001161F4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80119298 001161F8 A0 1B 05 D4 */ lhz r0, 0x5d4(r27) +/* 8011929C 001161FC 93 A1 00 48 */ stw r29, 0x48(r1) +/* 801192A0 00116200 90 01 00 20 */ stw r0, 0x20(r1) +/* 801192A4 00116204 91 61 00 24 */ stw r11, 0x24(r1) +/* 801192A8 00116208 48 02 2C 4D */ bl "__ct__21CTargetableProjectileFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfoRC11CDamageInfo9TUniqueId9TUniqueIdRC28TToken<18CWeaponDescription>9TUniqueIdUi" +/* 801192AC 0011620C 7C 77 1B 78 */ mr r23, r3 +lbl_801192B0: +/* 801192B0 00116210 80 7C 08 4C */ lwz r3, 0x84c(r28) +/* 801192B4 00116214 A0 1B 00 08 */ lhz r0, 8(r27) +/* 801192B8 00116218 A0 63 03 10 */ lhz r3, 0x310(r3) +/* 801192BC 0011621C 7C 03 00 40 */ cmplw r3, r0 +/* 801192C0 00116220 40 82 00 30 */ bne lbl_801192F0 +/* 801192C4 00116224 A0 01 00 44 */ lhz r0, 0x44(r1) +/* 801192C8 00116228 38 81 00 2C */ addi r4, r1, 0x2c +/* 801192CC 0011622C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 801192D0 00116230 80 7C 08 4C */ lwz r3, 0x84c(r28) +/* 801192D4 00116234 4B F0 0A D1 */ bl ResetAimTargetPrediction__7CPlayerF9TUniqueId +/* 801192D8 00116238 A0 01 00 44 */ lhz r0, 0x44(r1) +/* 801192DC 0011623C 7F 85 E3 78 */ mr r5, r28 +/* 801192E0 00116240 38 81 00 28 */ addi r4, r1, 0x28 +/* 801192E4 00116244 B0 01 00 28 */ sth r0, 0x28(r1) +/* 801192E8 00116248 80 7C 08 4C */ lwz r3, 0x84c(r28) +/* 801192EC 0011624C 48 06 23 01 */ bl SetOrbitTargetId__7CPlayerF9TUniqueIdR13CStateManager +lbl_801192F0: +/* 801192F0 00116250 7E E3 BB 78 */ mr r3, r23 +/* 801192F4 00116254 48 00 00 08 */ b lbl_801192FC +lbl_801192F8: +/* 801192F8 00116258 38 60 00 00 */ li r3, 0 +lbl_801192FC: +/* 801192FC 0011625C BA E1 00 5C */ lmw r23, 0x5c(r1) +/* 80119300 00116260 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80119304 00116264 7C 08 03 A6 */ mtlr r0 +/* 80119308 00116268 38 21 00 80 */ addi r1, r1, 0x80 +/* 8011930C 0011626C 4E 80 00 20 */ blr + +.global GetCollisionResponseType__12CBloodFlowerCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__12CBloodFlowerCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 80119310 00116270 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80119314 00116274 7C 08 02 A6 */ mflr r0 +/* 80119318 00116278 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011931C 0011627C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80119320 00116280 7C DF 33 78 */ mr r31, r6 +/* 80119324 00116284 81 83 00 00 */ lwz r12, 0(r3) +/* 80119328 00116288 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8011932C 0011628C 7D 89 03 A6 */ mtctr r12 +/* 80119330 00116290 4E 80 04 21 */ bctrl +/* 80119334 00116294 7F E4 FB 78 */ mr r4, r31 +/* 80119338 00116298 38 A0 00 00 */ li r5, 0 +/* 8011933C 0011629C 4B FE 93 CD */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 80119340 001162A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80119344 001162A4 38 60 00 4E */ li r3, 0x4e +/* 80119348 001162A8 41 82 00 08 */ beq lbl_80119350 +/* 8011934C 001162AC 38 60 00 1C */ li r3, 0x1c +lbl_80119350: +/* 80119350 001162B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80119354 001162B4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80119358 001162B8 7C 08 03 A6 */ mtlr r0 +/* 8011935C 001162BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80119360 001162C0 4E 80 00 20 */ blr + +.global sub_80119364 +sub_80119364: +/* 80119364 001162C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80119368 001162C8 7C 08 02 A6 */ mflr r0 +/* 8011936C 001162CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80119370 001162D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80119374 001162D4 7C 7F 1B 78 */ mr r31, r3 +/* 80119378 001162D8 80 64 09 00 */ lwz r3, 0x900(r4) +/* 8011937C 001162DC 48 1F 91 61 */ bl Float__9CRandom16Fv +/* 80119380 001162E0 FC 20 08 50 */ fneg f1, f1 +/* 80119384 001162E4 C0 1F 03 08 */ lfs f0, 0x308(r31) +/* 80119388 001162E8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8011938C 001162EC D0 1F 05 84 */ stfs f0, 0x584(r31) +/* 80119390 001162F0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80119394 001162F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80119398 001162F8 7C 08 03 A6 */ mtlr r0 +/* 8011939C 001162FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 801193A0 00116300 4E 80 00 20 */ blr + +.global Render__12CBloodFlowerCFRC13CStateManager +Render__12CBloodFlowerCFRC13CStateManager: +/* 801193A4 00116304 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801193A8 00116308 7C 08 02 A6 */ mflr r0 +/* 801193AC 0011630C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801193B0 00116310 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801193B4 00116314 7C 7F 1B 78 */ mr r31, r3 +/* 801193B8 00116318 4B F5 EC 75 */ bl Render__10CPatternedCFRC13CStateManager +/* 801193BC 0011631C 80 7F 05 74 */ lwz r3, 0x574(r31) +/* 801193C0 00116320 81 83 00 00 */ lwz r12, 0(r3) +/* 801193C4 00116324 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 801193C8 00116328 7D 89 03 A6 */ mtctr r12 +/* 801193CC 0011632C 4E 80 04 21 */ bctrl +/* 801193D0 00116330 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801193D4 00116334 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801193D8 00116338 7C 08 03 A6 */ mtlr r0 +/* 801193DC 0011633C 38 21 00 10 */ addi r1, r1, 0x10 +/* 801193E0 00116340 4E 80 00 20 */ blr + +.global Think__12CBloodFlowerFfR13CStateManager +Think__12CBloodFlowerFfR13CStateManager: +/* 801193E4 00116344 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801193E8 00116348 7C 08 02 A6 */ mflr r0 +/* 801193EC 0011634C 90 01 00 24 */ stw r0, 0x24(r1) +/* 801193F0 00116350 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 801193F4 00116354 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 801193F8 00116358 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801193FC 0011635C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80119400 00116360 FF E0 08 90 */ fmr f31, f1 +/* 80119404 00116364 7C 7F 1B 78 */ mr r31, r3 +/* 80119408 00116368 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8011940C 0011636C 41 82 00 44 */ beq lbl_80119450 +/* 80119410 00116370 4B F6 07 09 */ bl Think__10CPatternedFfR13CStateManager +/* 80119414 00116374 80 7F 05 74 */ lwz r3, 0x574(r31) +/* 80119418 00116378 FC 20 F8 90 */ fmr f1, f31 +/* 8011941C 0011637C 81 83 00 00 */ lwz r12, 0(r3) +/* 80119420 00116380 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80119424 00116384 7D 89 03 A6 */ mtctr r12 +/* 80119428 00116388 4E 80 04 21 */ bctrl +/* 8011942C 0011638C C0 3F 05 BC */ lfs f1, 0x5bc(r31) +/* 80119430 00116390 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) +/* 80119434 00116394 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80119438 00116398 40 81 00 0C */ ble lbl_80119444 +/* 8011943C 0011639C EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80119440 001163A0 D0 1F 05 BC */ stfs f0, 0x5bc(r31) +lbl_80119444: +/* 80119444 001163A4 C0 1F 05 C0 */ lfs f0, 0x5c0(r31) +/* 80119448 001163A8 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8011944C 001163AC D0 1F 05 C0 */ stfs f0, 0x5c0(r31) +lbl_80119450: +/* 80119450 001163B0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 80119454 001163B4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80119458 001163B8 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 8011945C 001163BC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80119460 001163C0 7C 08 03 A6 */ mtlr r0 +/* 80119464 001163C4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80119468 001163C8 4E 80 00 20 */ blr + +.global DoUserAnimEvent__12CBloodFlowerFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__12CBloodFlowerFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 8011946C 001163CC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80119470 001163D0 7C 08 02 A6 */ mflr r0 +/* 80119474 001163D4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80119478 001163D8 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8011947C 001163DC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80119480 001163E0 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 80119484 001163E4 7C DE 33 78 */ mr r30, r6 +/* 80119488 001163E8 FF E0 08 90 */ fmr f31, f1 +/* 8011948C 001163EC 2C 1E 00 06 */ cmpwi r30, 6 +/* 80119490 001163F0 7C 7B 1B 78 */ mr r27, r3 +/* 80119494 001163F4 7C 9C 23 78 */ mr r28, r4 +/* 80119498 001163F8 7C BD 2B 78 */ mr r29, r5 +/* 8011949C 001163FC 3B E0 00 00 */ li r31, 0 +/* 801194A0 00116400 41 82 00 14 */ beq lbl_801194B4 +/* 801194A4 00116404 40 80 00 A4 */ bge lbl_80119548 +/* 801194A8 00116408 2C 1E 00 00 */ cmpwi r30, 0 +/* 801194AC 0011640C 41 82 00 30 */ beq lbl_801194DC +/* 801194B0 00116410 48 00 00 98 */ b lbl_80119548 +lbl_801194B4: +/* 801194B4 00116414 80 BB 05 D8 */ lwz r5, 0x5d8(r27) +/* 801194B8 00116418 2C 05 00 00 */ cmpwi r5, 0 +/* 801194BC 0011641C 40 81 00 8C */ ble lbl_80119548 +/* 801194C0 00116420 2C 05 00 03 */ cmpwi r5, 3 +/* 801194C4 00116424 38 80 00 02 */ li r4, 2 +/* 801194C8 00116428 41 81 00 08 */ bgt lbl_801194D0 +/* 801194CC 0011642C 38 85 FF FF */ addi r4, r5, -1 +lbl_801194D0: +/* 801194D0 00116430 7F 85 E3 78 */ mr r5, r28 +/* 801194D4 00116434 4B FF FB 19 */ bl sub_80118fec +/* 801194D8 00116438 48 00 00 70 */ b lbl_80119548 +lbl_801194DC: +/* 801194DC 0011643C 80 1B 05 8C */ lwz r0, 0x58c(r27) +/* 801194E0 00116440 2C 00 00 02 */ cmpwi r0, 2 +/* 801194E4 00116444 41 82 00 60 */ beq lbl_80119544 +/* 801194E8 00116448 40 80 00 5C */ bge lbl_80119544 +/* 801194EC 0011644C 2C 00 00 01 */ cmpwi r0, 1 +/* 801194F0 00116450 40 80 00 08 */ bge lbl_801194F8 +/* 801194F4 00116454 48 00 00 50 */ b lbl_80119544 +lbl_801194F8: +/* 801194F8 00116458 C0 3B 05 BC */ lfs f1, 0x5bc(r27) +/* 801194FC 0011645C C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) +/* 80119500 00116460 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80119504 00116464 4C 40 13 82 */ cror 2, 0, 2 +/* 80119508 00116468 40 82 00 3C */ bne lbl_80119544 +/* 8011950C 0011646C 7F 64 DB 78 */ mr r4, r27 +/* 80119510 00116470 38 61 00 08 */ addi r3, r1, 8 +/* 80119514 00116474 38 BD 00 3C */ addi r5, r29, 0x3c +/* 80119518 00116478 4B F5 F4 61 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8011951C 0011647C C0 3B 06 14 */ lfs f1, 0x614(r27) +/* 80119520 00116480 7F 63 DB 78 */ mr r3, r27 +/* 80119524 00116484 7F 85 E3 78 */ mr r5, r28 +/* 80119528 00116488 38 81 00 08 */ addi r4, r1, 8 +/* 8011952C 0011648C 38 C0 00 05 */ li r6, 5 +/* 80119530 00116490 4B FF F7 CD */ bl sub_80118cfc +/* 80119534 00116494 38 00 00 00 */ li r0, 0 +/* 80119538 00116498 C0 02 96 94 */ lfs f0, lbl_805AB3B4@sda21(r2) +/* 8011953C 0011649C 90 1B 05 8C */ stw r0, 0x58c(r27) +/* 80119540 001164A0 D0 1B 05 BC */ stfs f0, 0x5bc(r27) +lbl_80119544: +/* 80119544 001164A4 3B E0 00 01 */ li r31, 1 +lbl_80119548: +/* 80119548 001164A8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8011954C 001164AC 40 82 00 1C */ bne lbl_80119568 +/* 80119550 001164B0 FC 20 F8 90 */ fmr f1, f31 +/* 80119554 001164B4 7F 63 DB 78 */ mr r3, r27 +/* 80119558 001164B8 7F 84 E3 78 */ mr r4, r28 +/* 8011955C 001164BC 7F A5 EB 78 */ mr r5, r29 +/* 80119560 001164C0 7F C6 F3 78 */ mr r6, r30 +/* 80119564 001164C4 4B F5 F9 4D */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80119568: +/* 80119568 001164C8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8011956C 001164CC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80119570 001164D0 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80119574 001164D4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80119578 001164D8 7C 08 03 A6 */ mtlr r0 +/* 8011957C 001164DC 38 21 00 60 */ addi r1, r1, 0x60 +/* 80119580 001164E0 4E 80 00 20 */ blr + +.global ShouldAttack__12CBloodFlowerFR13CStateManagerf +ShouldAttack__12CBloodFlowerFR13CStateManagerf: +/* 80119584 001164E4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80119588 001164E8 7C 08 02 A6 */ mflr r0 +/* 8011958C 001164EC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80119590 001164F0 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80119594 001164F4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80119598 001164F8 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8011959C 001164FC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 801195A0 00116500 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801195A4 00116504 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801195A8 00116508 81 83 00 00 */ lwz r12, 0(r3) +/* 801195AC 0011650C 7C 7E 1B 78 */ mr r30, r3 +/* 801195B0 00116510 7C 9F 23 78 */ mr r31, r4 +/* 801195B4 00116514 C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) +/* 801195B8 00116518 81 8C 01 9C */ lwz r12, 0x19c(r12) +/* 801195BC 0011651C 7D 89 03 A6 */ mtctr r12 +/* 801195C0 00116520 4E 80 04 21 */ bctrl +/* 801195C4 00116524 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801195C8 00116528 41 82 00 0C */ beq lbl_801195D4 +/* 801195CC 0011652C 38 60 00 00 */ li r3, 0 +/* 801195D0 00116530 48 00 00 6C */ b lbl_8011963C +lbl_801195D4: +/* 801195D4 00116534 C0 3E 05 84 */ lfs f1, 0x584(r30) +/* 801195D8 00116538 C0 1E 03 04 */ lfs f0, 0x304(r30) +/* 801195DC 0011653C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801195E0 00116540 40 81 00 58 */ ble lbl_80119638 +/* 801195E4 00116544 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 801195E8 00116548 C3 E3 00 60 */ lfs f31, 0x60(r3) +/* 801195EC 0011654C 48 16 B7 F5 */ bl GetEyeHeight__7CPlayerCFv +/* 801195F0 00116550 C0 9E 00 60 */ lfs f4, 0x60(r30) +/* 801195F4 00116554 EF FF 08 2A */ fadds f31, f31, f1 +/* 801195F8 00116558 C0 1E 06 14 */ lfs f0, 0x614(r30) +/* 801195FC 0011655C 7F C3 F3 78 */ mr r3, r30 +/* 80119600 00116560 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 80119604 00116564 7F E4 FB 78 */ mr r4, r31 +/* 80119608 00116568 EC 00 20 2A */ fadds f0, f0, f4 +/* 8011960C 0011656C C0 3E 05 88 */ lfs f1, 0x588(r30) +/* 80119610 00116570 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80119614 00116574 EF C1 00 2A */ fadds f30, f1, f0 +/* 80119618 00116578 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8011961C 0011657C D0 41 00 08 */ stfs f2, 8(r1) +/* 80119620 00116580 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80119624 00116584 4B FF FD 41 */ bl sub_80119364 +/* 80119628 00116588 FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 8011962C 0011658C 40 80 00 0C */ bge lbl_80119638 +/* 80119630 00116590 38 60 00 01 */ li r3, 1 +/* 80119634 00116594 48 00 00 08 */ b lbl_8011963C +lbl_80119638: +/* 80119638 00116598 38 60 00 00 */ li r3, 0 +lbl_8011963C: +/* 8011963C 0011659C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80119640 001165A0 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80119644 001165A4 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80119648 001165A8 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8011964C 001165AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80119650 001165B0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80119654 001165B4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80119658 001165B8 7C 08 03 A6 */ mtlr r0 +/* 8011965C 001165BC 38 21 00 40 */ addi r1, r1, 0x40 +/* 80119660 001165C0 4E 80 00 20 */ blr + +.global ShouldTurn__12CBloodFlowerFR13CStateManagerf +ShouldTurn__12CBloodFlowerFR13CStateManagerf: +/* 80119664 001165C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80119668 001165C8 7C 08 02 A6 */ mflr r0 +/* 8011966C 001165CC C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) +/* 80119670 001165D0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80119674 001165D4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80119678 001165D8 7C 9F 23 78 */ mr r31, r4 +/* 8011967C 001165DC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80119680 001165E0 7C 7E 1B 78 */ mr r30, r3 +/* 80119684 001165E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80119688 001165E8 81 8C 01 9C */ lwz r12, 0x19c(r12) +/* 8011968C 001165EC 7D 89 03 A6 */ mtctr r12 +/* 80119690 001165F0 4E 80 04 21 */ bctrl +/* 80119694 001165F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80119698 001165F8 41 82 00 0C */ beq lbl_801196A4 +/* 8011969C 001165FC 38 60 00 00 */ li r3, 0 +/* 801196A0 00116600 48 00 00 A4 */ b lbl_80119744 +lbl_801196A4: +/* 801196A4 00116604 C0 7E 00 58 */ lfs f3, 0x58(r30) +/* 801196A8 00116608 38 61 00 14 */ addi r3, r1, 0x14 +/* 801196AC 0011660C C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 801196B0 00116610 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 801196B4 00116614 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) +/* 801196B8 00116618 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 801196BC 0011661C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 801196C0 00116620 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 801196C4 00116624 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 801196C8 00116628 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 801196CC 0011662C C0 44 00 50 */ lfs f2, 0x50(r4) +/* 801196D0 00116630 C0 84 00 60 */ lfs f4, 0x60(r4) +/* 801196D4 00116634 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 801196D8 00116638 EC A2 08 28 */ fsubs f5, f2, f1 +/* 801196DC 0011663C C0 44 00 40 */ lfs f2, 0x40(r4) +/* 801196E0 00116640 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 801196E4 00116644 EC 64 18 28 */ fsubs f3, f4, f3 +/* 801196E8 00116648 EC 22 08 28 */ fsubs f1, f2, f1 +/* 801196EC 0011664C D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 801196F0 00116650 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 801196F4 00116654 D0 21 00 08 */ stfs f1, 8(r1) +/* 801196F8 00116658 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 801196FC 0011665C 48 1F B1 FD */ bl Normalize__9CVector3fFv +/* 80119700 00116660 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) +/* 80119704 00116664 38 61 00 08 */ addi r3, r1, 8 +/* 80119708 00116668 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8011970C 0011666C 48 1F B1 ED */ bl Normalize__9CVector3fFv +/* 80119710 00116670 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80119714 00116674 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80119718 00116678 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8011971C 0011667C EC 01 00 32 */ fmuls f0, f1, f0 +/* 80119720 00116680 C0 21 00 08 */ lfs f1, 8(r1) +/* 80119724 00116684 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80119728 00116688 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 8011972C 0011668C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80119730 00116690 C0 02 96 98 */ lfs f0, lbl_805AB3B8@sda21(r2) +/* 80119734 00116694 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80119738 00116698 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011973C 0011669C 7C 00 00 26 */ mfcr r0 +/* 80119740 001166A0 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_80119744: +/* 80119744 001166A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80119748 001166A8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011974C 001166AC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80119750 001166B0 7C 08 03 A6 */ mtlr r0 +/* 80119754 001166B4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80119758 001166B8 4E 80 00 20 */ blr + +.global Leash__12CBloodFlowerFR13CStateManager9EStateMsgf +Leash__12CBloodFlowerFR13CStateManager9EStateMsgf: +/* 8011975C 001166BC C0 23 05 C0 */ lfs f1, 0x5c0(r3) +/* 80119760 001166C0 C0 03 03 D0 */ lfs f0, 0x3d0(r3) +/* 80119764 001166C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80119768 001166C8 7C 00 00 26 */ mfcr r0 +/* 8011976C 001166CC 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80119770 001166D0 4E 80 00 20 */ blr + +.global PodAttack__12CBloodFlowerFR13CStateManager9EStateMsgf +PodAttack__12CBloodFlowerFR13CStateManager9EStateMsgf: +/* 80119774 001166D4 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80119778 001166D8 7C 08 02 A6 */ mflr r0 +/* 8011977C 001166DC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80119780 001166E0 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80119784 001166E4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80119788 001166E8 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8011978C 001166EC 93 C1 00 98 */ stw r30, 0x98(r1) +/* 80119790 001166F0 93 A1 00 94 */ stw r29, 0x94(r1) +/* 80119794 001166F4 FF E0 08 90 */ fmr f31, f1 +/* 80119798 001166F8 2C 05 00 01 */ cmpwi r5, 1 +/* 8011979C 001166FC 7C 7E 1B 78 */ mr r30, r3 +/* 801197A0 00116700 7C 9F 23 78 */ mr r31, r4 +/* 801197A4 00116704 41 82 00 F8 */ beq lbl_8011989C +/* 801197A8 00116708 40 80 00 10 */ bge lbl_801197B8 +/* 801197AC 0011670C 2C 05 00 00 */ cmpwi r5, 0 +/* 801197B0 00116710 40 80 00 14 */ bge lbl_801197C4 +/* 801197B4 00116714 48 00 02 54 */ b lbl_80119A08 +lbl_801197B8: +/* 801197B8 00116718 2C 05 00 03 */ cmpwi r5, 3 +/* 801197BC 0011671C 40 80 02 4C */ bge lbl_80119A08 +/* 801197C0 00116720 48 00 01 84 */ b lbl_80119944 +lbl_801197C4: +/* 801197C4 00116724 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 801197C8 00116728 3C 60 80 5A */ lis r3, skZero3f@ha +/* 801197CC 0011672C C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 801197D0 00116730 38 E4 AA 68 */ addi r7, r4, lbl_803DAA68@l +/* 801197D4 00116734 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha +/* 801197D8 00116738 90 E1 00 6C */ stw r7, 0x6c(r1) +/* 801197DC 0011673C 38 00 00 00 */ li r0, 0 +/* 801197E0 00116740 C0 23 00 04 */ lfs f1, 4(r3) +/* 801197E4 00116744 C0 03 00 08 */ lfs f0, 8(r3) +/* 801197E8 00116748 38 A4 A9 D8 */ addi r5, r4, lbl_803DA9D8@l +/* 801197EC 0011674C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 801197F0 00116750 38 C0 00 05 */ li r6, 5 +/* 801197F4 00116754 90 C1 00 70 */ stw r6, 0x70(r1) +/* 801197F8 00116758 38 80 00 05 */ li r4, 5 +/* 801197FC 0011675C 3B A3 00 04 */ addi r29, r3, 4 +/* 80119800 00116760 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 80119804 00116764 7F A3 EB 78 */ mr r3, r29 +/* 80119808 00116768 90 01 00 74 */ stw r0, 0x74(r1) +/* 8011980C 0011676C D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80119810 00116770 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 80119814 00116774 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80119818 00116778 98 01 00 84 */ stb r0, 0x84(r1) +/* 8011981C 0011677C 48 01 7C 1D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80119820 00116780 80 01 00 70 */ lwz r0, 0x70(r1) +/* 80119824 00116784 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha +/* 80119828 00116788 38 C3 A9 D8 */ addi r6, r3, lbl_803DA9D8@l +/* 8011982C 0011678C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80119830 00116790 90 1D 01 10 */ stw r0, 0x110(r29) +/* 80119834 00116794 38 00 00 02 */ li r0, 2 +/* 80119838 00116798 81 01 00 74 */ lwz r8, 0x74(r1) +/* 8011983C 0011679C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 80119840 001167A0 80 E1 00 78 */ lwz r7, 0x78(r1) +/* 80119844 001167A4 38 80 00 01 */ li r4, 1 +/* 80119848 001167A8 91 1D 01 14 */ stw r8, 0x114(r29) +/* 8011984C 001167AC 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 80119850 001167B0 90 FD 01 18 */ stw r7, 0x118(r29) +/* 80119854 001167B4 80 E1 00 80 */ lwz r7, 0x80(r1) +/* 80119858 001167B8 90 7D 01 1C */ stw r3, 0x11c(r29) +/* 8011985C 001167BC 88 61 00 84 */ lbz r3, 0x84(r1) +/* 80119860 001167C0 90 FD 01 20 */ stw r7, 0x120(r29) +/* 80119864 001167C4 98 7D 01 24 */ stb r3, 0x124(r29) +/* 80119868 001167C8 90 1E 05 8C */ stw r0, 0x58c(r30) +/* 8011986C 001167CC 80 7E 05 74 */ lwz r3, 0x574(r30) +/* 80119870 001167D0 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 80119874 001167D4 81 83 00 00 */ lwz r12, 0(r3) +/* 80119878 001167D8 90 A1 00 6C */ stw r5, 0x6c(r1) +/* 8011987C 001167DC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80119880 001167E0 7D 89 03 A6 */ mtctr r12 +/* 80119884 001167E4 4E 80 04 21 */ bctrl +/* 80119888 001167E8 7F C3 F3 78 */ mr r3, r30 +/* 8011988C 001167EC 7F E4 FB 78 */ mr r4, r31 +/* 80119890 001167F0 38 A0 00 01 */ li r5, 1 +/* 80119894 001167F4 48 00 01 99 */ bl sub_80119a2c +/* 80119898 001167F8 48 00 01 70 */ b lbl_80119A08 +lbl_8011989C: +/* 8011989C 001167FC 81 83 00 00 */ lwz r12, 0(r3) +/* 801198A0 00116800 C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) +/* 801198A4 00116804 81 8C 01 9C */ lwz r12, 0x19c(r12) +/* 801198A8 00116808 7D 89 03 A6 */ mtctr r12 +/* 801198AC 0011680C 4E 80 04 21 */ bctrl +/* 801198B0 00116810 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801198B4 00116814 41 82 01 54 */ beq lbl_80119A08 +/* 801198B8 00116818 80 AD 8A 68 */ lwz r5, lbl_805A7628@sda21(r13) +/* 801198BC 0011681C 38 60 00 00 */ li r3, 0 +/* 801198C0 00116820 38 80 00 01 */ li r4, 1 +/* 801198C4 00116824 48 27 06 31 */ bl __shl2i +/* 801198C8 00116828 38 A0 00 00 */ li r5, 0 +/* 801198CC 0011682C 38 00 00 03 */ li r0, 3 +/* 801198D0 00116830 90 81 00 3C */ stw r4, 0x3c(r1) +/* 801198D4 00116834 FC 20 F8 90 */ fmr f1, f31 +/* 801198D8 00116838 38 9E 05 F8 */ addi r4, r30, 0x5f8 +/* 801198DC 0011683C 90 61 00 38 */ stw r3, 0x38(r1) +/* 801198E0 00116840 38 61 00 50 */ addi r3, r1, 0x50 +/* 801198E4 00116844 90 A1 00 44 */ stw r5, 0x44(r1) +/* 801198E8 00116848 90 A1 00 40 */ stw r5, 0x40(r1) +/* 801198EC 0011684C 90 01 00 48 */ stw r0, 0x48(r1) +/* 801198F0 00116850 A0 1E 00 08 */ lhz r0, 8(r30) +/* 801198F4 00116854 B0 01 00 0C */ sth r0, 0xc(r1) +/* 801198F8 00116858 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 801198FC 0011685C B0 01 00 08 */ sth r0, 8(r1) +/* 80119900 00116860 A0 A5 00 08 */ lhz r5, 8(r5) +/* 80119904 00116864 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 80119908 00116868 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8011990C 0011686C B0 A1 00 10 */ sth r5, 0x10(r1) +/* 80119910 00116870 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80119914 00116874 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80119918 00116878 4B FA 9B 31 */ bl __ct__11CDamageInfoFRC11CDamageInfof +/* 8011991C 0011687C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80119920 00116880 7F E3 FB 78 */ mr r3, r31 +/* 80119924 00116884 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80119928 00116888 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8011992C 0011688C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80119930 00116890 38 C1 00 0C */ addi r6, r1, 0xc +/* 80119934 00116894 38 E1 00 50 */ addi r7, r1, 0x50 +/* 80119938 00116898 39 01 00 38 */ addi r8, r1, 0x38 +/* 8011993C 0011689C 4B F3 07 65 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80119940 001168A0 48 00 00 C8 */ b lbl_80119A08 +lbl_80119944: +/* 80119944 001168A4 80 7E 05 74 */ lwz r3, 0x574(r30) +/* 80119948 001168A8 38 80 00 00 */ li r4, 0 +/* 8011994C 001168AC 81 83 00 00 */ lwz r12, 0(r3) +/* 80119950 001168B0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80119954 001168B4 7D 89 03 A6 */ mtctr r12 +/* 80119958 001168B8 4E 80 04 21 */ bctrl +/* 8011995C 001168BC 7F C3 F3 78 */ mr r3, r30 +/* 80119960 001168C0 7F E4 FB 78 */ mr r4, r31 +/* 80119964 001168C4 38 A0 00 00 */ li r5, 0 +/* 80119968 001168C8 48 00 00 C5 */ bl sub_80119a2c +/* 8011996C 001168CC 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 80119970 001168D0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80119974 001168D4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80119978 001168D8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8011997C 001168DC 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l +/* 80119980 001168E0 C0 44 00 00 */ lfs f2, 0(r4) +/* 80119984 001168E4 C0 24 00 04 */ lfs f1, 4(r4) +/* 80119988 001168E8 3C A0 80 3E */ lis r5, lbl_803DAA44@ha +/* 8011998C 001168EC C0 04 00 08 */ lfs f0, 8(r4) +/* 80119990 001168F0 38 C0 00 04 */ li r6, 4 +/* 80119994 001168F4 38 00 00 01 */ li r0, 1 +/* 80119998 001168F8 3B A3 00 04 */ addi r29, r3, 4 +/* 8011999C 001168FC 90 E1 00 20 */ stw r7, 0x20(r1) +/* 801199A0 00116900 38 A5 AA 44 */ addi r5, r5, lbl_803DAA44@l +/* 801199A4 00116904 7F A3 EB 78 */ mr r3, r29 +/* 801199A8 00116908 38 80 00 04 */ li r4, 4 +/* 801199AC 0011690C 90 C1 00 24 */ stw r6, 0x24(r1) +/* 801199B0 00116910 90 A1 00 20 */ stw r5, 0x20(r1) +/* 801199B4 00116914 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 801199B8 00116918 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 801199BC 0011691C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 801199C0 00116920 90 01 00 34 */ stw r0, 0x34(r1) +/* 801199C4 00116924 48 01 7A 75 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801199C8 00116928 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801199CC 0011692C 3C 60 80 3E */ lis r3, lbl_803DAA44@ha +/* 801199D0 00116930 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l +/* 801199D4 00116934 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801199D8 00116938 90 1D 00 F8 */ stw r0, 0xf8(r29) +/* 801199DC 0011693C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801199E0 00116940 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 801199E4 00116944 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 801199E8 00116948 90 BD 00 FC */ stw r5, 0xfc(r29) +/* 801199EC 0011694C 80 A1 00 30 */ lwz r5, 0x30(r1) +/* 801199F0 00116950 90 7D 01 00 */ stw r3, 0x100(r29) +/* 801199F4 00116954 80 61 00 34 */ lwz r3, 0x34(r1) +/* 801199F8 00116958 90 BD 01 04 */ stw r5, 0x104(r29) +/* 801199FC 0011695C 90 81 00 20 */ stw r4, 0x20(r1) +/* 80119A00 00116960 90 7D 01 08 */ stw r3, 0x108(r29) +/* 80119A04 00116964 90 01 00 20 */ stw r0, 0x20(r1) +lbl_80119A08: +/* 80119A08 00116968 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80119A0C 0011696C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80119A10 00116970 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80119A14 00116974 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80119A18 00116978 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 80119A1C 0011697C 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 80119A20 00116980 7C 08 03 A6 */ mtlr r0 +/* 80119A24 00116984 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80119A28 00116988 4E 80 00 20 */ blr + +.global sub_80119a2c +sub_80119a2c: +/* 80119A2C 0011698C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80119A30 00116990 7C 08 02 A6 */ mflr r0 +/* 80119A34 00116994 90 01 00 44 */ stw r0, 0x44(r1) +/* 80119A38 00116998 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80119A3C 0011699C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80119A40 001169A0 7C BE 2B 78 */ mr r30, r5 +/* 80119A44 001169A4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80119A48 001169A8 7C 9D 23 78 */ mr r29, r4 +/* 80119A4C 001169AC 93 81 00 30 */ stw r28, 0x30(r1) +/* 80119A50 001169B0 7C 7C 1B 78 */ mr r28, r3 +/* 80119A54 001169B4 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 80119A58 001169B8 48 00 00 A4 */ b lbl_80119AFC +lbl_80119A5C: +/* 80119A5C 001169BC 80 1F 00 08 */ lwz r0, 8(r31) +/* 80119A60 001169C0 7F A4 EB 78 */ mr r4, r29 +/* 80119A64 001169C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80119A68 001169C8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80119A6C 001169CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80119A70 001169D0 4B F2 E5 59 */ bl GetIdListForScript__13CStateManagerCF9TEditorId +/* 80119A74 001169D4 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 80119A78 001169D8 38 60 00 00 */ li r3, 0 +/* 80119A7C 001169DC 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80119A80 001169E0 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80119A84 001169E4 7C 05 00 40 */ cmplw r5, r0 +/* 80119A88 001169E8 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80119A8C 001169EC 40 82 00 0C */ bne lbl_80119A98 +/* 80119A90 001169F0 7C 04 00 40 */ cmplw r4, r0 +/* 80119A94 001169F4 41 82 00 08 */ beq lbl_80119A9C +lbl_80119A98: +/* 80119A98 001169F8 38 60 00 01 */ li r3, 1 +lbl_80119A9C: +/* 80119A9C 001169FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80119AA0 00116A00 41 82 00 58 */ beq lbl_80119AF8 +/* 80119AA4 00116A04 A0 05 00 14 */ lhz r0, 0x14(r5) +/* 80119AA8 00116A08 7F A3 EB 78 */ mr r3, r29 +/* 80119AAC 00116A0C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80119AB0 00116A10 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80119AB4 00116A14 4B F3 2A C1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80119AB8 00116A18 7C 64 1B 78 */ mr r4, r3 +/* 80119ABC 00116A1C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80119AC0 00116A20 4B F8 D4 29 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" +/* 80119AC4 00116A24 80 83 00 04 */ lwz r4, 4(r3) +/* 80119AC8 00116A28 28 04 00 00 */ cmplwi r4, 0 +/* 80119ACC 00116A2C 41 82 00 2C */ beq lbl_80119AF8 +/* 80119AD0 00116A30 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80119AD4 00116A34 38 C0 00 04 */ li r6, 4 +/* 80119AD8 00116A38 41 82 00 08 */ beq lbl_80119AE0 +/* 80119ADC 00116A3C 38 C0 00 01 */ li r6, 1 +lbl_80119AE0: +/* 80119AE0 00116A40 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80119AE4 00116A44 7F A3 EB 78 */ mr r3, r29 +/* 80119AE8 00116A48 38 A1 00 0C */ addi r5, r1, 0xc +/* 80119AEC 00116A4C B0 01 00 08 */ sth r0, 8(r1) +/* 80119AF0 00116A50 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80119AF4 00116A54 4B F2 A3 DD */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80119AF8: +/* 80119AF8 00116A58 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80119AFC: +/* 80119AFC 00116A5C 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 80119B00 00116A60 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 80119B04 00116A64 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80119B08 00116A68 7C 03 02 14 */ add r0, r3, r0 +/* 80119B0C 00116A6C 7C 1F 00 40 */ cmplw r31, r0 +/* 80119B10 00116A70 40 82 FF 4C */ bne lbl_80119A5C +/* 80119B14 00116A74 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80119B18 00116A78 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80119B1C 00116A7C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80119B20 00116A80 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80119B24 00116A84 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80119B28 00116A88 7C 08 03 A6 */ mtlr r0 +/* 80119B2C 00116A8C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80119B30 00116A90 4E 80 00 20 */ blr + +.global BulbAttack__12CBloodFlowerFR13CStateManager9EStateMsgf +BulbAttack__12CBloodFlowerFR13CStateManager9EStateMsgf: +/* 80119B34 00116A94 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80119B38 00116A98 7C 08 02 A6 */ mflr r0 +/* 80119B3C 00116A9C 2C 05 00 00 */ cmpwi r5, 0 +/* 80119B40 00116AA0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80119B44 00116AA4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80119B48 00116AA8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80119B4C 00116AAC 7C 7E 1B 78 */ mr r30, r3 +/* 80119B50 00116AB0 41 82 00 0C */ beq lbl_80119B5C +/* 80119B54 00116AB4 41 80 00 B8 */ blt lbl_80119C0C +/* 80119B58 00116AB8 48 00 00 B4 */ b lbl_80119C0C +lbl_80119B5C: +/* 80119B5C 00116ABC 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 80119B60 00116AC0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80119B64 00116AC4 38 C3 AA 68 */ addi r6, r3, lbl_803DAA68@l +/* 80119B68 00116AC8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80119B6C 00116ACC C0 45 00 60 */ lfs f2, 0x60(r5) +/* 80119B70 00116AD0 3C 80 80 3E */ lis r4, lbl_803DA9CC@ha +/* 80119B74 00116AD4 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 80119B78 00116AD8 38 E0 00 06 */ li r7, 6 +/* 80119B7C 00116ADC C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80119B80 00116AE0 38 A0 00 00 */ li r5, 0 +/* 80119B84 00116AE4 38 00 00 01 */ li r0, 1 +/* 80119B88 00116AE8 3B E3 00 04 */ addi r31, r3, 4 +/* 80119B8C 00116AEC 90 C1 00 08 */ stw r6, 8(r1) +/* 80119B90 00116AF0 38 C4 A9 CC */ addi r6, r4, lbl_803DA9CC@l +/* 80119B94 00116AF4 7F E3 FB 78 */ mr r3, r31 +/* 80119B98 00116AF8 38 80 00 06 */ li r4, 6 +/* 80119B9C 00116AFC 90 E1 00 0C */ stw r7, 0xc(r1) +/* 80119BA0 00116B00 90 C1 00 08 */ stw r6, 8(r1) +/* 80119BA4 00116B04 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80119BA8 00116B08 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80119BAC 00116B0C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80119BB0 00116B10 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80119BB4 00116B14 98 01 00 20 */ stb r0, 0x20(r1) +/* 80119BB8 00116B18 48 01 78 81 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80119BBC 00116B1C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80119BC0 00116B20 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha +/* 80119BC4 00116B24 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l +/* 80119BC8 00116B28 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80119BCC 00116B2C 90 1F 01 2C */ stw r0, 0x12c(r31) +/* 80119BD0 00116B30 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 80119BD4 00116B34 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80119BD8 00116B38 38 00 00 01 */ li r0, 1 +/* 80119BDC 00116B3C 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 80119BE0 00116B40 90 BF 01 30 */ stw r5, 0x130(r31) +/* 80119BE4 00116B44 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80119BE8 00116B48 90 DF 01 34 */ stw r6, 0x134(r31) +/* 80119BEC 00116B4C 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80119BF0 00116B50 90 BF 01 38 */ stw r5, 0x138(r31) +/* 80119BF4 00116B54 88 A1 00 20 */ lbz r5, 0x20(r1) +/* 80119BF8 00116B58 90 DF 01 3C */ stw r6, 0x13c(r31) +/* 80119BFC 00116B5C 98 BF 01 40 */ stb r5, 0x140(r31) +/* 80119C00 00116B60 90 81 00 08 */ stw r4, 8(r1) +/* 80119C04 00116B64 90 61 00 08 */ stw r3, 8(r1) +/* 80119C08 00116B68 90 1E 05 8C */ stw r0, 0x58c(r30) +lbl_80119C0C: +/* 80119C0C 00116B6C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80119C10 00116B70 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80119C14 00116B74 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80119C18 00116B78 7C 08 03 A6 */ mtlr r0 +/* 80119C1C 00116B7C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80119C20 00116B80 4E 80 00 20 */ blr + +.global Active__12CBloodFlowerFR13CStateManager9EStateMsgf +Active__12CBloodFlowerFR13CStateManager9EStateMsgf: +/* 80119C24 00116B84 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80119C28 00116B88 7C 08 02 A6 */ mflr r0 +/* 80119C2C 00116B8C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80119C30 00116B90 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80119C34 00116B94 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80119C38 00116B98 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80119C3C 00116B9C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80119C40 00116BA0 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80119C44 00116BA4 FF E0 08 90 */ fmr f31, f1 +/* 80119C48 00116BA8 2C 05 00 01 */ cmpwi r5, 1 +/* 80119C4C 00116BAC 7C 7E 1B 78 */ mr r30, r3 +/* 80119C50 00116BB0 7C 9F 23 78 */ mr r31, r4 +/* 80119C54 00116BB4 41 82 00 30 */ beq lbl_80119C84 +/* 80119C58 00116BB8 40 80 00 10 */ bge lbl_80119C68 +/* 80119C5C 00116BBC 2C 05 00 00 */ cmpwi r5, 0 +/* 80119C60 00116BC0 40 80 00 14 */ bge lbl_80119C74 +/* 80119C64 00116BC4 48 00 01 84 */ b lbl_80119DE8 +lbl_80119C68: +/* 80119C68 00116BC8 2C 05 00 03 */ cmpwi r5, 3 +/* 80119C6C 00116BCC 40 80 01 7C */ bge lbl_80119DE8 +/* 80119C70 00116BD0 48 00 01 10 */ b lbl_80119D80 +lbl_80119C74: +/* 80119C74 00116BD4 38 00 00 01 */ li r0, 1 +/* 80119C78 00116BD8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80119C7C 00116BDC 4B FF F6 E9 */ bl sub_80119364 +/* 80119C80 00116BE0 48 00 01 68 */ b lbl_80119DE8 +lbl_80119C84: +/* 80119C84 00116BE4 3C A0 80 3E */ lis r5, lbl_803E0344@ha +/* 80119C88 00116BE8 38 C1 00 2C */ addi r6, r1, 0x2c +/* 80119C8C 00116BEC 39 45 03 44 */ addi r10, r5, lbl_803E0344@l +/* 80119C90 00116BF0 38 A0 00 0A */ li r5, 0xa +/* 80119C94 00116BF4 81 2A 00 00 */ lwz r9, 0(r10) +/* 80119C98 00116BF8 38 E0 00 00 */ li r7, 0 +/* 80119C9C 00116BFC 81 0A 00 04 */ lwz r8, 4(r10) +/* 80119CA0 00116C00 80 0A 00 08 */ lwz r0, 8(r10) +/* 80119CA4 00116C04 91 21 00 2C */ stw r9, 0x2c(r1) +/* 80119CA8 00116C08 91 01 00 30 */ stw r8, 0x30(r1) +/* 80119CAC 00116C0C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80119CB0 00116C10 4B F6 2B 05 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80119CB4 00116C14 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80119CB8 00116C18 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80119CBC 00116C1C 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 80119CC0 00116C20 3C 80 80 3E */ lis r4, lbl_803E061C@ha +/* 80119CC4 00116C24 90 01 00 18 */ stw r0, 0x18(r1) +/* 80119CC8 00116C28 38 04 06 1C */ addi r0, r4, lbl_803E061C@l +/* 80119CCC 00116C2C 38 80 00 18 */ li r4, 0x18 +/* 80119CD0 00116C30 3B A3 00 04 */ addi r29, r3, 4 +/* 80119CD4 00116C34 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80119CD8 00116C38 7F A3 EB 78 */ mr r3, r29 +/* 80119CDC 00116C3C 38 80 00 18 */ li r4, 0x18 +/* 80119CE0 00116C40 90 01 00 18 */ stw r0, 0x18(r1) +/* 80119CE4 00116C44 48 01 77 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80119CE8 00116C48 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80119CEC 00116C4C 3C 60 80 3E */ lis r3, lbl_803E061C@ha +/* 80119CF0 00116C50 38 C3 06 1C */ addi r6, r3, lbl_803E061C@l +/* 80119CF4 00116C54 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80119CF8 00116C58 90 1D 02 74 */ stw r0, 0x274(r29) +/* 80119CFC 00116C5C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80119D00 00116C60 38 61 00 20 */ addi r3, r1, 0x20 +/* 80119D04 00116C64 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80119D08 00116C68 C0 1E 05 84 */ lfs f0, 0x584(r30) +/* 80119D0C 00116C6C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 80119D10 00116C70 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80119D14 00116C74 EC 00 F8 2A */ fadds f0, f0, f31 +/* 80119D18 00116C78 90 01 00 18 */ stw r0, 0x18(r1) +/* 80119D1C 00116C7C D0 1E 05 84 */ stfs f0, 0x584(r30) +/* 80119D20 00116C80 80 DF 08 4C */ lwz r6, 0x84c(r31) +/* 80119D24 00116C84 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80119D28 00116C88 C0 26 00 50 */ lfs f1, 0x50(r6) +/* 80119D2C 00116C8C C0 66 00 60 */ lfs f3, 0x60(r6) +/* 80119D30 00116C90 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80119D34 00116C94 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80119D38 00116C98 C0 26 00 40 */ lfs f1, 0x40(r6) +/* 80119D3C 00116C9C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80119D40 00116CA0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80119D44 00116CA4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80119D48 00116CA8 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80119D4C 00116CAC D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80119D50 00116CB0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80119D54 00116CB4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80119D58 00116CB8 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 80119D5C 00116CBC 48 1F 8C C9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80119D60 00116CC0 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80119D64 00116CC4 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80119D68 00116CC8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80119D6C 00116CCC C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80119D70 00116CD0 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 80119D74 00116CD4 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 80119D78 00116CD8 D0 43 00 30 */ stfs f2, 0x30(r3) +/* 80119D7C 00116CDC 48 00 00 6C */ b lbl_80119DE8 +lbl_80119D80: +/* 80119D80 00116CE0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80119D84 00116CE4 38 00 00 0A */ li r0, 0xa +/* 80119D88 00116CE8 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 80119D8C 00116CEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80119D90 00116CF0 38 81 00 10 */ addi r4, r1, 0x10 +/* 80119D94 00116CF4 90 61 00 10 */ stw r3, 0x10(r1) +/* 80119D98 00116CF8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80119D9C 00116CFC 38 63 00 04 */ addi r3, r3, 4 +/* 80119DA0 00116D00 48 01 7A 19 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80119DA4 00116D04 34 01 00 10 */ addic. r0, r1, 0x10 +/* 80119DA8 00116D08 41 82 00 10 */ beq lbl_80119DB8 +/* 80119DAC 00116D0C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80119DB0 00116D10 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80119DB4 00116D14 90 01 00 10 */ stw r0, 0x10(r1) +lbl_80119DB8: +/* 80119DB8 00116D18 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80119DBC 00116D1C 38 00 00 17 */ li r0, 0x17 +/* 80119DC0 00116D20 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 80119DC4 00116D24 90 01 00 0C */ stw r0, 0xc(r1) +/* 80119DC8 00116D28 38 81 00 08 */ addi r4, r1, 8 +/* 80119DCC 00116D2C 90 61 00 08 */ stw r3, 8(r1) +/* 80119DD0 00116D30 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80119DD4 00116D34 38 63 00 04 */ addi r3, r3, 4 +/* 80119DD8 00116D38 48 01 79 E1 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80119DDC 00116D3C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80119DE0 00116D40 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80119DE4 00116D44 90 01 00 08 */ stw r0, 8(r1) +lbl_80119DE8: +/* 80119DE8 00116D48 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80119DEC 00116D4C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80119DF0 00116D50 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80119DF4 00116D54 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80119DF8 00116D58 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80119DFC 00116D5C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80119E00 00116D60 7C 08 03 A6 */ mtlr r0 +/* 80119E04 00116D64 38 21 00 70 */ addi r1, r1, 0x70 +/* 80119E08 00116D68 4E 80 00 20 */ blr + +.global __dt__17CBCAdditiveAimCmd +__dt__17CBCAdditiveAimCmd: +/* 80119E0C 00116D6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80119E10 00116D70 7C 08 02 A6 */ mflr r0 +/* 80119E14 00116D74 90 01 00 14 */ stw r0, 0x14(r1) +/* 80119E18 00116D78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80119E1C 00116D7C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80119E20 00116D80 41 82 00 30 */ beq lbl_80119E50 +/* 80119E24 00116D84 3C 60 80 3E */ lis r3, lbl_803E061C@ha +/* 80119E28 00116D88 38 03 06 1C */ addi r0, r3, lbl_803E061C@l +/* 80119E2C 00116D8C 90 1F 00 00 */ stw r0, 0(r31) +/* 80119E30 00116D90 41 82 00 10 */ beq lbl_80119E40 +/* 80119E34 00116D94 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80119E38 00116D98 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80119E3C 00116D9C 90 1F 00 00 */ stw r0, 0(r31) +lbl_80119E40: +/* 80119E40 00116DA0 7C 80 07 35 */ extsh. r0, r4 +/* 80119E44 00116DA4 40 81 00 0C */ ble lbl_80119E50 +/* 80119E48 00116DA8 7F E3 FB 78 */ mr r3, r31 +/* 80119E4C 00116DAC 48 1F BA E5 */ bl Free__7CMemoryFPCv +lbl_80119E50: +/* 80119E50 00116DB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80119E54 00116DB4 7F E3 FB 78 */ mr r3, r31 +/* 80119E58 00116DB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80119E5C 00116DBC 7C 08 03 A6 */ mtlr r0 +/* 80119E60 00116DC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80119E64 00116DC4 4E 80 00 20 */ blr + +.global InActive__12CBloodFlowerFR13CStateManager9EStateMsgf +InActive__12CBloodFlowerFR13CStateManager9EStateMsgf: +/* 80119E68 00116DC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80119E6C 00116DCC 7C 08 02 A6 */ mflr r0 +/* 80119E70 00116DD0 2C 05 00 01 */ cmpwi r5, 1 +/* 80119E74 00116DD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80119E78 00116DD8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80119E7C 00116DDC 7C 7F 1B 78 */ mr r31, r3 +/* 80119E80 00116DE0 41 82 00 48 */ beq lbl_80119EC8 +/* 80119E84 00116DE4 40 80 00 10 */ bge lbl_80119E94 +/* 80119E88 00116DE8 2C 05 00 00 */ cmpwi r5, 0 +/* 80119E8C 00116DEC 40 80 00 14 */ bge lbl_80119EA0 +/* 80119E90 00116DF0 48 00 00 38 */ b lbl_80119EC8 +lbl_80119E94: +/* 80119E94 00116DF4 2C 05 00 03 */ cmpwi r5, 3 +/* 80119E98 00116DF8 40 80 00 30 */ bge lbl_80119EC8 +/* 80119E9C 00116DFC 48 00 00 24 */ b lbl_80119EC0 +lbl_80119EA0: +/* 80119EA0 00116E00 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80119EA4 00116E04 38 80 00 01 */ li r4, 1 +/* 80119EA8 00116E08 48 02 0B 31 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80119EAC 00116E0C 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 80119EB0 00116E10 38 60 00 00 */ li r3, 0 +/* 80119EB4 00116E14 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80119EB8 00116E18 98 1F 04 00 */ stb r0, 0x400(r31) +/* 80119EBC 00116E1C 48 00 00 0C */ b lbl_80119EC8 +lbl_80119EC0: +/* 80119EC0 00116E20 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) +/* 80119EC4 00116E24 D0 1F 05 C0 */ stfs f0, 0x5c0(r31) +lbl_80119EC8: +/* 80119EC8 00116E28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80119ECC 00116E2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80119ED0 00116E30 7C 08 03 A6 */ mtlr r0 +/* 80119ED4 00116E34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80119ED8 00116E38 4E 80 00 20 */ blr + +.global ProjectileInfo__12CBloodFlowerFv +ProjectileInfo__12CBloodFlowerFv: +/* 80119EDC 00116E3C 38 63 05 90 */ addi r3, r3, 0x590 +/* 80119EE0 00116E40 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12CBloodFlowerF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12CBloodFlowerF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80119EE4 00116E44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80119EE8 00116E48 7C 08 02 A6 */ mflr r0 +/* 80119EEC 00116E4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80119EF0 00116E50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80119EF4 00116E54 7C DF 33 78 */ mr r31, r6 +/* 80119EF8 00116E58 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80119EFC 00116E5C 7C 9E 23 78 */ mr r30, r4 +/* 80119F00 00116E60 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80119F04 00116E64 7C 7D 1B 78 */ mr r29, r3 +/* 80119F08 00116E68 A0 05 00 00 */ lhz r0, 0(r5) +/* 80119F0C 00116E6C 38 A1 00 08 */ addi r5, r1, 8 +/* 80119F10 00116E70 B0 01 00 08 */ sth r0, 8(r1) +/* 80119F14 00116E74 4B F6 2C 65 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80119F18 00116E78 2C 1E 00 21 */ cmpwi r30, 0x21 +/* 80119F1C 00116E7C 41 82 00 20 */ beq lbl_80119F3C +/* 80119F20 00116E80 40 80 00 10 */ bge lbl_80119F30 +/* 80119F24 00116E84 2C 1E 00 01 */ cmpwi r30, 1 +/* 80119F28 00116E88 41 82 00 70 */ beq lbl_80119F98 +/* 80119F2C 00116E8C 48 00 00 6C */ b lbl_80119F98 +lbl_80119F30: +/* 80119F30 00116E90 2C 1E 00 29 */ cmpwi r30, 0x29 +/* 80119F34 00116E94 41 82 00 38 */ beq lbl_80119F6C +/* 80119F38 00116E98 48 00 00 60 */ b lbl_80119F98 +lbl_80119F3C: +/* 80119F3C 00116E9C 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80119F40 00116EA0 7F E4 FB 78 */ mr r4, r31 +/* 80119F44 00116EA4 48 02 0D AD */ bl Activate__15CBodyControllerFR13CStateManager +/* 80119F48 00116EA8 7F A3 EB 78 */ mr r3, r29 +/* 80119F4C 00116EAC 7F E4 FB 78 */ mr r4, r31 +/* 80119F50 00116EB0 81 9D 00 00 */ lwz r12, 0(r29) +/* 80119F54 00116EB4 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80119F58 00116EB8 7D 89 03 A6 */ mtctr r12 +/* 80119F5C 00116EBC 4E 80 04 21 */ bctrl +/* 80119F60 00116EC0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80119F64 00116EC4 D0 1D 05 B8 */ stfs f0, 0x5b8(r29) +/* 80119F68 00116EC8 48 00 00 30 */ b lbl_80119F98 +lbl_80119F6C: +/* 80119F6C 00116ECC 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80119F70 00116ED0 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80119F74 00116ED4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80119F78 00116ED8 41 82 00 08 */ beq lbl_80119F80 +/* 80119F7C 00116EDC 48 02 02 99 */ bl FrozenBreakout__15CBodyControllerFv +lbl_80119F80: +/* 80119F80 00116EE0 7F A3 EB 78 */ mr r3, r29 +/* 80119F84 00116EE4 7F E4 FB 78 */ mr r4, r31 +/* 80119F88 00116EE8 4B FF F3 DD */ bl sub_80119364 +/* 80119F8C 00116EEC 7F A3 EB 78 */ mr r3, r29 +/* 80119F90 00116EF0 7F E4 FB 78 */ mr r4, r31 +/* 80119F94 00116EF4 4B FF F1 31 */ bl sub_801190c4 +lbl_80119F98: +/* 80119F98 00116EF8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80119F9C 00116EFC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80119FA0 00116F00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80119FA4 00116F04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80119FA8 00116F08 7C 08 03 A6 */ mtlr r0 +/* 80119FAC 00116F0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80119FB0 00116F10 4E 80 00 20 */ blr + +.global Accept__12CBloodFlowerFR8IVisitor +Accept__12CBloodFlowerFR8IVisitor: +/* 80119FB4 00116F14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80119FB8 00116F18 7C 08 02 A6 */ mflr r0 +/* 80119FBC 00116F1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80119FC0 00116F20 7C 60 1B 78 */ mr r0, r3 +/* 80119FC4 00116F24 7C 83 23 78 */ mr r3, r4 +/* 80119FC8 00116F28 81 84 00 00 */ lwz r12, 0(r4) +/* 80119FCC 00116F2C 7C 04 03 78 */ mr r4, r0 +/* 80119FD0 00116F30 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80119FD4 00116F34 7D 89 03 A6 */ mtctr r12 +/* 80119FD8 00116F38 4E 80 04 21 */ bctrl +/* 80119FDC 00116F3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80119FE0 00116F40 7C 08 03 A6 */ mtlr r0 +/* 80119FE4 00116F44 38 21 00 10 */ addi r1, r1, 0x10 +/* 80119FE8 00116F48 4E 80 00 20 */ blr + +.global "__ct__12CBloodFlowerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoUiUiRC16CActorParametersUiRC11CDamageInfoRC11CDamageInfoUiUiUi" +"__ct__12CBloodFlowerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoUiUiRC16CActorParametersUiRC11CDamageInfoRC11CDamageInfoUiUiUi": +/* 80119FEC 00116F4C 94 21 FE 90 */ stwu r1, -0x170(r1) +/* 80119FF0 00116F50 7C 08 02 A6 */ mflr r0 +/* 80119FF4 00116F54 90 01 01 74 */ stw r0, 0x174(r1) +/* 80119FF8 00116F58 DB E1 01 60 */ stfd f31, 0x160(r1) +/* 80119FFC 00116F5C F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 +/* 8011A000 00116F60 BE 21 01 24 */ stmw r17, 0x124(r1) +/* 8011A004 00116F64 A0 04 00 00 */ lhz r0, 0(r4) +/* 8011A008 00116F68 7C CB 33 78 */ mr r11, r6 +/* 8011A00C 00116F6C 7C FE 3B 78 */ mr r30, r7 +/* 8011A010 00116F70 7D 1F 43 78 */ mr r31, r8 +/* 8011A014 00116F74 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8011A018 00116F78 7D 52 53 78 */ mr r18, r10 +/* 8011A01C 00116F7C 38 C0 00 00 */ li r6, 0 +/* 8011A020 00116F80 38 80 00 01 */ li r4, 1 +/* 8011A024 00116F84 91 21 00 08 */ stw r9, 8(r1) +/* 8011A028 00116F88 38 00 00 02 */ li r0, 2 +/* 8011A02C 00116F8C 80 E1 01 7C */ lwz r7, 0x17c(r1) +/* 8011A030 00116F90 FF E0 08 90 */ fmr f31, f1 +/* 8011A034 00116F94 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8011A038 00116F98 7C A6 2B 78 */ mr r6, r5 +/* 8011A03C 00116F9C 82 61 01 78 */ lwz r19, 0x178(r1) +/* 8011A040 00116FA0 7C 7D 1B 78 */ mr r29, r3 +/* 8011A044 00116FA4 90 81 00 10 */ stw r4, 0x10(r1) +/* 8011A048 00116FA8 82 81 01 80 */ lwz r20, 0x180(r1) +/* 8011A04C 00116FAC 7D 68 5B 78 */ mr r8, r11 +/* 8011A050 00116FB0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011A054 00116FB4 7F C9 F3 78 */ mr r9, r30 +/* 8011A058 00116FB8 82 A1 01 84 */ lwz r21, 0x184(r1) +/* 8011A05C 00116FBC 7F EA FB 78 */ mr r10, r31 +/* 8011A060 00116FC0 90 E1 00 18 */ stw r7, 0x18(r1) +/* 8011A064 00116FC4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8011A068 00116FC8 82 C1 01 88 */ lwz r22, 0x188(r1) +/* 8011A06C 00116FCC 38 E0 00 00 */ li r7, 0 +/* 8011A070 00116FD0 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8011A074 00116FD4 38 80 00 04 */ li r4, 4 +/* 8011A078 00116FD8 82 E1 01 8C */ lwz r23, 0x18c(r1) +/* 8011A07C 00116FDC 83 01 01 90 */ lwz r24, 0x190(r1) +/* 8011A080 00116FE0 83 21 01 94 */ lwz r25, 0x194(r1) +/* 8011A084 00116FE4 83 41 01 98 */ lwz r26, 0x198(r1) +/* 8011A088 00116FE8 83 61 01 9C */ lwz r27, 0x19c(r1) +/* 8011A08C 00116FEC 83 81 01 A0 */ lwz r28, 0x1a0(r1) +/* 8011A090 00116FF0 4B F6 33 C1 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8011A094 00116FF4 3C 60 80 3E */ lis r3, lbl_803E0350@ha +/* 8011A098 00116FF8 3C 80 50 41 */ lis r4, 0x50415254@ha +/* 8011A09C 00116FFC 38 03 03 50 */ addi r0, r3, lbl_803E0350@l +/* 8011A0A0 00117000 38 61 00 4C */ addi r3, r1, 0x4c +/* 8011A0A4 00117004 90 1D 00 00 */ stw r0, 0(r29) +/* 8011A0A8 00117008 38 04 52 54 */ addi r0, r4, 0x50415254@l +/* 8011A0AC 0011700C 38 A1 00 54 */ addi r5, r1, 0x54 +/* 8011A0B0 00117010 90 01 00 54 */ stw r0, 0x54(r1) +/* 8011A0B4 00117014 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8011A0B8 00117018 92 41 00 58 */ stw r18, 0x58(r1) +/* 8011A0BC 0011701C 81 84 00 00 */ lwz r12, 0(r4) +/* 8011A0C0 00117020 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011A0C4 00117024 7D 89 03 A6 */ mtctr r12 +/* 8011A0C8 00117028 4E 80 04 21 */ bctrl +/* 8011A0CC 0011702C 3A 3D 05 68 */ addi r17, r29, 0x568 +/* 8011A0D0 00117030 38 81 00 4C */ addi r4, r1, 0x4c +/* 8011A0D4 00117034 7E 23 8B 78 */ mr r3, r17 +/* 8011A0D8 00117038 48 22 6D D1 */ bl __ct__6CTokenFRC6CToken +/* 8011A0DC 0011703C 7E 23 8B 78 */ mr r3, r17 +/* 8011A0E0 00117040 48 22 6D 2D */ bl GetObj__6CTokenFv +/* 8011A0E4 00117044 80 03 00 04 */ lwz r0, 4(r3) +/* 8011A0E8 00117048 38 61 00 4C */ addi r3, r1, 0x4c +/* 8011A0EC 0011704C 38 80 FF FF */ li r4, -1 +/* 8011A0F0 00117050 90 11 00 08 */ stw r0, 8(r17) +/* 8011A0F4 00117054 48 22 6D 4D */ bl __dt__6CTokenFv +/* 8011A0F8 00117058 3C 60 80 3D */ lis r3, lbl_803CF2F0@ha +/* 8011A0FC 0011705C 3A 40 00 00 */ li r18, 0 +/* 8011A100 00117060 38 83 F2 F0 */ addi r4, r3, lbl_803CF2F0@l +/* 8011A104 00117064 38 60 03 40 */ li r3, 0x340 +/* 8011A108 00117068 38 84 00 21 */ addi r4, r4, 0x21 +/* 8011A10C 0011706C 38 A0 00 00 */ li r5, 0 +/* 8011A110 00117070 48 1F B7 5D */ bl __nw__FUlPCcPCc +/* 8011A114 00117074 7C 71 1B 79 */ or. r17, r3, r3 +/* 8011A118 00117078 41 82 00 2C */ beq lbl_8011A144 +/* 8011A11C 0011707C 38 61 00 44 */ addi r3, r1, 0x44 +/* 8011A120 00117080 38 9D 05 68 */ addi r4, r29, 0x568 +/* 8011A124 00117084 48 22 6D 85 */ bl __ct__6CTokenFRC6CToken +/* 8011A128 00117088 7E 23 8B 78 */ mr r3, r17 +/* 8011A12C 0011708C 38 81 00 44 */ addi r4, r1, 0x44 +/* 8011A130 00117090 3A 40 00 01 */ li r18, 1 +/* 8011A134 00117094 38 A0 00 00 */ li r5, 0 +/* 8011A138 00117098 38 C0 00 01 */ li r6, 1 +/* 8011A13C 0011709C 48 20 52 A5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8011A140 001170A0 7C 71 1B 78 */ mr r17, r3 +lbl_8011A144: +/* 8011A144 001170A4 7E 40 07 75 */ extsb. r0, r18 +/* 8011A148 001170A8 92 3D 05 74 */ stw r17, 0x574(r29) +/* 8011A14C 001170AC 41 82 00 10 */ beq lbl_8011A15C +/* 8011A150 001170B0 38 61 00 44 */ addi r3, r1, 0x44 +/* 8011A154 001170B4 38 80 00 00 */ li r4, 0 +/* 8011A158 001170B8 48 22 6C E9 */ bl __dt__6CTokenFv +lbl_8011A15C: +/* 8011A15C 001170BC 3C 60 57 50 */ lis r3, 0x57505343@ha +/* 8011A160 001170C0 92 61 00 40 */ stw r19, 0x40(r1) +/* 8011A164 001170C4 38 03 53 43 */ addi r0, r3, 0x57505343@l +/* 8011A168 001170C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8011A16C 001170CC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8011A170 001170D0 38 61 00 34 */ addi r3, r1, 0x34 +/* 8011A174 001170D4 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8011A178 001170D8 81 84 00 00 */ lwz r12, 0(r4) +/* 8011A17C 001170DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011A180 001170E0 7D 89 03 A6 */ mtctr r12 +/* 8011A184 001170E4 4E 80 04 21 */ bctrl +/* 8011A188 001170E8 3A 3D 05 78 */ addi r17, r29, 0x578 +/* 8011A18C 001170EC 38 81 00 34 */ addi r4, r1, 0x34 +/* 8011A190 001170F0 7E 23 8B 78 */ mr r3, r17 +/* 8011A194 001170F4 48 22 6D 15 */ bl __ct__6CTokenFRC6CToken +/* 8011A198 001170F8 38 00 00 00 */ li r0, 0 +/* 8011A19C 001170FC 38 61 00 34 */ addi r3, r1, 0x34 +/* 8011A1A0 00117100 90 11 00 08 */ stw r0, 8(r17) +/* 8011A1A4 00117104 38 80 FF FF */ li r4, -1 +/* 8011A1A8 00117108 48 22 6C 99 */ bl __dt__6CTokenFv +/* 8011A1AC 0011710C C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) +/* 8011A1B0 00117110 38 00 00 00 */ li r0, 0 +/* 8011A1B4 00117114 7E 84 A3 78 */ mr r4, r20 +/* 8011A1B8 00117118 7E A5 AB 78 */ mr r5, r21 +/* 8011A1BC 0011711C D0 1D 05 84 */ stfs f0, 0x584(r29) +/* 8011A1C0 00117120 38 7D 05 90 */ addi r3, r29, 0x590 +/* 8011A1C4 00117124 D0 1D 05 88 */ stfs f0, 0x588(r29) +/* 8011A1C8 00117128 90 1D 05 8C */ stw r0, 0x58c(r29) +/* 8011A1CC 0011712C 48 10 1E DD */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8011A1D0 00117130 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) +/* 8011A1D4 00117134 38 00 00 00 */ li r0, 0 +/* 8011A1D8 00117138 57 83 04 3E */ clrlwi r3, r28, 0x10 +/* 8011A1DC 0011713C D0 1D 05 B8 */ stfs f0, 0x5b8(r29) +/* 8011A1E0 00117140 D0 1D 05 BC */ stfs f0, 0x5bc(r29) +/* 8011A1E4 00117144 D0 1D 05 C0 */ stfs f0, 0x5c0(r29) +/* 8011A1E8 00117148 98 1D 05 D0 */ stb r0, 0x5d0(r29) +/* 8011A1EC 0011714C 48 1C E7 C5 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8011A1F0 00117150 B0 7D 05 D4 */ sth r3, 0x5d4(r29) +/* 8011A1F4 00117154 38 00 00 00 */ li r0, 0 +/* 8011A1F8 00117158 80 82 96 78 */ lwz r4, lbl_805AB398@sda21(r2) +/* 8011A1FC 0011715C 38 61 00 80 */ addi r3, r1, 0x80 +/* 8011A200 00117160 90 1D 05 D8 */ stw r0, 0x5d8(r29) +/* 8011A204 00117164 80 16 00 00 */ lwz r0, 0(r22) +/* 8011A208 00117168 90 1D 05 DC */ stw r0, 0x5dc(r29) +/* 8011A20C 0011716C 88 16 00 04 */ lbz r0, 4(r22) +/* 8011A210 00117170 98 1D 05 E0 */ stb r0, 0x5e0(r29) +/* 8011A214 00117174 C0 16 00 08 */ lfs f0, 8(r22) +/* 8011A218 00117178 D0 1D 05 E4 */ stfs f0, 0x5e4(r29) +/* 8011A21C 0011717C C0 16 00 0C */ lfs f0, 0xc(r22) +/* 8011A220 00117180 D0 1D 05 E8 */ stfs f0, 0x5e8(r29) +/* 8011A224 00117184 C0 16 00 10 */ lfs f0, 0x10(r22) +/* 8011A228 00117188 D0 1D 05 EC */ stfs f0, 0x5ec(r29) +/* 8011A22C 0011718C C0 16 00 14 */ lfs f0, 0x14(r22) +/* 8011A230 00117190 D0 1D 05 F0 */ stfs f0, 0x5f0(r29) +/* 8011A234 00117194 88 16 00 18 */ lbz r0, 0x18(r22) +/* 8011A238 00117198 98 1D 05 F4 */ stb r0, 0x5f4(r29) +/* 8011A23C 0011719C 80 17 00 00 */ lwz r0, 0(r23) +/* 8011A240 001171A0 90 1D 05 F8 */ stw r0, 0x5f8(r29) +/* 8011A244 001171A4 88 17 00 04 */ lbz r0, 4(r23) +/* 8011A248 001171A8 98 1D 05 FC */ stb r0, 0x5fc(r29) +/* 8011A24C 001171AC C0 17 00 08 */ lfs f0, 8(r23) +/* 8011A250 001171B0 D0 1D 06 00 */ stfs f0, 0x600(r29) +/* 8011A254 001171B4 C0 17 00 0C */ lfs f0, 0xc(r23) +/* 8011A258 001171B8 D0 1D 06 04 */ stfs f0, 0x604(r29) +/* 8011A25C 001171BC C0 17 00 10 */ lfs f0, 0x10(r23) +/* 8011A260 001171C0 D0 1D 06 08 */ stfs f0, 0x608(r29) +/* 8011A264 001171C4 C0 17 00 14 */ lfs f0, 0x14(r23) +/* 8011A268 001171C8 D0 1D 06 0C */ stfs f0, 0x60c(r29) +/* 8011A26C 001171CC 88 17 00 18 */ lbz r0, 0x18(r23) +/* 8011A270 001171D0 98 1D 06 10 */ stb r0, 0x610(r29) +/* 8011A274 001171D4 D3 FD 06 14 */ stfs f31, 0x614(r29) +/* 8011A278 001171D8 93 1D 06 18 */ stw r24, 0x618(r29) +/* 8011A27C 001171DC 93 3D 06 1C */ stw r25, 0x61c(r29) +/* 8011A280 001171E0 93 5D 06 20 */ stw r26, 0x620(r29) +/* 8011A284 001171E4 4B EE AA 35 */ bl string_l__4rstlFPCc +/* 8011A288 001171E8 7F A4 EB 78 */ mr r4, r29 +/* 8011A28C 001171EC 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 8011A290 001171F0 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8011A294 001171F4 4B F3 8C 6D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8011A298 001171F8 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 8011A29C 001171FC 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8011A2A0 00117200 48 1F 88 D5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011A2A4 00117204 38 61 00 80 */ addi r3, r1, 0x80 +/* 8011A2A8 00117208 48 22 38 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8011A2AC 0011720C 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8011A2B0 00117210 38 80 00 00 */ li r4, 0 +/* 8011A2B4 00117214 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 8011A2B8 00117218 C0 23 00 08 */ lfs f1, 8(r3) +/* 8011A2BC 0011721C EC 01 00 32 */ fmuls f0, f1, f0 +/* 8011A2C0 00117220 D0 1D 05 88 */ stfs f0, 0x588(r29) +/* 8011A2C4 00117224 80 7D 05 74 */ lwz r3, 0x574(r29) +/* 8011A2C8 00117228 81 83 00 00 */ lwz r12, 0(r3) +/* 8011A2CC 0011722C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8011A2D0 00117230 7D 89 03 A6 */ mtctr r12 +/* 8011A2D4 00117234 4E 80 04 21 */ bctrl +/* 8011A2D8 00117238 82 3D 05 74 */ lwz r17, 0x574(r29) +/* 8011A2DC 0011723C 7F C4 F3 78 */ mr r4, r30 +/* 8011A2E0 00117240 38 61 00 90 */ addi r3, r1, 0x90 +/* 8011A2E4 00117244 48 1F 89 5D */ bl GetRotation__12CTransform4fCFv +/* 8011A2E8 00117248 7E 23 8B 78 */ mr r3, r17 +/* 8011A2EC 0011724C 38 81 00 90 */ addi r4, r1, 0x90 +/* 8011A2F0 00117250 81 91 00 00 */ lwz r12, 0(r17) +/* 8011A2F4 00117254 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 8011A2F8 00117258 7D 89 03 A6 */ mtctr r12 +/* 8011A2FC 0011725C 4E 80 04 21 */ bctrl +/* 8011A300 00117260 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 8011A304 00117264 38 81 00 74 */ addi r4, r1, 0x74 +/* 8011A308 00117268 C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 8011A30C 0011726C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8011A310 00117270 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 8011A314 00117274 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8011A318 00117278 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 8011A31C 0011727C 80 7D 05 74 */ lwz r3, 0x574(r29) +/* 8011A320 00117280 81 83 00 00 */ lwz r12, 0(r3) +/* 8011A324 00117284 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8011A328 00117288 7D 89 03 A6 */ mtctr r12 +/* 8011A32C 0011728C 4E 80 04 21 */ bctrl +/* 8011A330 00117290 C0 5F 00 00 */ lfs f2, 0(r31) +/* 8011A334 00117294 38 81 00 68 */ addi r4, r1, 0x68 +/* 8011A338 00117298 C0 3F 00 04 */ lfs f1, 4(r31) +/* 8011A33C 0011729C C0 1F 00 08 */ lfs f0, 8(r31) +/* 8011A340 001172A0 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 8011A344 001172A4 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 8011A348 001172A8 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8011A34C 001172AC 80 7D 05 74 */ lwz r3, 0x574(r29) +/* 8011A350 001172B0 81 83 00 00 */ lwz r12, 0(r3) +/* 8011A354 001172B4 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 8011A358 001172B8 7D 89 03 A6 */ mtctr r12 +/* 8011A35C 001172BC 4E 80 04 21 */ bctrl +/* 8011A360 001172C0 38 7D 05 78 */ addi r3, r29, 0x578 +/* 8011A364 001172C4 48 22 6A 21 */ bl Lock__6CTokenFv +/* 8011A368 001172C8 38 7D 05 90 */ addi r3, r29, 0x590 +/* 8011A36C 001172CC 48 22 6A 19 */ bl Lock__6CTokenFv +/* 8011A370 001172D0 38 7D 04 60 */ addi r3, r29, 0x460 +/* 8011A374 001172D4 38 80 00 00 */ li r4, 0 +/* 8011A378 001172D8 48 11 99 ED */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 8011A37C 001172DC 3C 1B 00 01 */ addis r0, r27, 1 +/* 8011A380 001172E0 28 00 FF FF */ cmplwi r0, 0xffff +/* 8011A384 001172E4 41 82 00 BC */ beq lbl_8011A440 +/* 8011A388 001172E8 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8011A38C 001172EC 93 61 00 30 */ stw r27, 0x30(r1) +/* 8011A390 001172F0 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8011A394 001172F4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8011A398 001172F8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8011A39C 001172FC 38 61 00 24 */ addi r3, r1, 0x24 +/* 8011A3A0 00117300 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8011A3A4 00117304 81 84 00 00 */ lwz r12, 0(r4) +/* 8011A3A8 00117308 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011A3AC 0011730C 7D 89 03 A6 */ mtctr r12 +/* 8011A3B0 00117310 4E 80 04 21 */ bctrl +/* 8011A3B4 00117314 3A 21 00 5C */ addi r17, r1, 0x5c +/* 8011A3B8 00117318 38 81 00 24 */ addi r4, r1, 0x24 +/* 8011A3BC 0011731C 7E 23 8B 78 */ mr r3, r17 +/* 8011A3C0 00117320 48 22 6A E9 */ bl __ct__6CTokenFRC6CToken +/* 8011A3C4 00117324 7E 23 8B 78 */ mr r3, r17 +/* 8011A3C8 00117328 48 22 6A 45 */ bl GetObj__6CTokenFv +/* 8011A3CC 0011732C 80 03 00 04 */ lwz r0, 4(r3) +/* 8011A3D0 00117330 90 01 00 64 */ stw r0, 0x64(r1) +/* 8011A3D4 00117334 88 1D 05 D0 */ lbz r0, 0x5d0(r29) +/* 8011A3D8 00117338 28 00 00 00 */ cmplwi r0, 0 +/* 8011A3DC 0011733C 40 82 00 34 */ bne lbl_8011A410 +/* 8011A3E0 00117340 36 3D 05 C4 */ addic. r17, r29, 0x5c4 +/* 8011A3E4 00117344 41 82 00 20 */ beq lbl_8011A404 +/* 8011A3E8 00117348 7E 23 8B 78 */ mr r3, r17 +/* 8011A3EC 0011734C 38 81 00 5C */ addi r4, r1, 0x5c +/* 8011A3F0 00117350 48 22 6A B9 */ bl __ct__6CTokenFRC6CToken +/* 8011A3F4 00117354 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8011A3F8 00117358 7E 23 8B 78 */ mr r3, r17 +/* 8011A3FC 0011735C 90 11 00 08 */ stw r0, 8(r17) +/* 8011A400 00117360 48 22 69 85 */ bl Lock__6CTokenFv +lbl_8011A404: +/* 8011A404 00117364 38 00 00 01 */ li r0, 1 +/* 8011A408 00117368 98 1D 05 D0 */ stb r0, 0x5d0(r29) +/* 8011A40C 0011736C 48 00 00 1C */ b lbl_8011A428 +lbl_8011A410: +/* 8011A410 00117370 3A 3D 05 C4 */ addi r17, r29, 0x5c4 +/* 8011A414 00117374 38 81 00 5C */ addi r4, r1, 0x5c +/* 8011A418 00117378 7E 23 8B 78 */ mr r3, r17 +/* 8011A41C 0011737C 48 22 68 A9 */ bl __as__6CTokenFRC6CToken +/* 8011A420 00117380 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8011A424 00117384 90 11 00 08 */ stw r0, 8(r17) +lbl_8011A428: +/* 8011A428 00117388 38 61 00 5C */ addi r3, r1, 0x5c +/* 8011A42C 0011738C 38 80 00 00 */ li r4, 0 +/* 8011A430 00117390 48 22 6A 11 */ bl __dt__6CTokenFv +/* 8011A434 00117394 38 61 00 24 */ addi r3, r1, 0x24 +/* 8011A438 00117398 38 80 FF FF */ li r4, -1 +/* 8011A43C 0011739C 48 22 6A 05 */ bl __dt__6CTokenFv +lbl_8011A440: +/* 8011A440 001173A0 7F A3 EB 78 */ mr r3, r29 +/* 8011A444 001173A4 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 +/* 8011A448 001173A8 CB E1 01 60 */ lfd f31, 0x160(r1) +/* 8011A44C 001173AC BA 21 01 24 */ lmw r17, 0x124(r1) +/* 8011A450 001173B0 80 01 01 74 */ lwz r0, 0x174(r1) +/* 8011A454 001173B4 7C 08 03 A6 */ mtlr r0 +/* 8011A458 001173B8 38 21 01 70 */ addi r1, r1, 0x170 +/* 8011A45C 001173BC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CChozoGhost.s b/asm/Kyoto_CWD/Enemies/CChozoGhost.s new file mode 100644 index 00000000..03e7cce6 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CChozoGhost.s @@ -0,0 +1,3809 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__11CChozoGhostFv +__dt__11CChozoGhostFv: +/* 8013F2F0 0013C250 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013F2F4 0013C254 7C 08 02 A6 */ mflr r0 +/* 8013F2F8 0013C258 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013F2FC 0013C25C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013F300 0013C260 7C 9F 23 78 */ mr r31, r4 +/* 8013F304 0013C264 93 C1 00 08 */ stw r30, 8(r1) +/* 8013F308 0013C268 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8013F30C 0013C26C 41 82 00 C0 */ beq lbl_8013F3CC +/* 8013F310 0013C270 3C 60 80 3E */ lis r3, lbl_803E1918@ha +/* 8013F314 0013C274 34 1E 06 8C */ addic. r0, r30, 0x68c +/* 8013F318 0013C278 38 03 19 18 */ addi r0, r3, lbl_803E1918@l +/* 8013F31C 0013C27C 90 1E 00 00 */ stw r0, 0(r30) +/* 8013F320 0013C280 41 82 00 14 */ beq lbl_8013F334 +/* 8013F324 0013C284 34 1E 06 B0 */ addic. r0, r30, 0x6b0 +/* 8013F328 0013C288 41 82 00 0C */ beq lbl_8013F334 +/* 8013F32C 0013C28C 38 00 00 00 */ li r0, 0 +/* 8013F330 0013C290 98 1E 06 BC */ stb r0, 0x6bc(r30) +lbl_8013F334: +/* 8013F334 0013C294 34 1E 06 40 */ addic. r0, r30, 0x640 +/* 8013F338 0013C298 41 82 00 30 */ beq lbl_8013F368 +/* 8013F33C 0013C29C 88 1E 06 4C */ lbz r0, 0x64c(r30) +/* 8013F340 0013C2A0 28 00 00 00 */ cmplwi r0, 0 +/* 8013F344 0013C2A4 41 82 00 1C */ beq lbl_8013F360 +/* 8013F348 0013C2A8 34 7E 06 40 */ addic. r3, r30, 0x640 +/* 8013F34C 0013C2AC 41 82 00 14 */ beq lbl_8013F360 +/* 8013F350 0013C2B0 28 03 00 00 */ cmplwi r3, 0 +/* 8013F354 0013C2B4 41 82 00 0C */ beq lbl_8013F360 +/* 8013F358 0013C2B8 38 80 00 00 */ li r4, 0 +/* 8013F35C 0013C2BC 48 20 1A E5 */ bl __dt__6CTokenFv +lbl_8013F360: +/* 8013F360 0013C2C0 38 00 00 00 */ li r0, 0 +/* 8013F364 0013C2C4 98 1E 06 4C */ stb r0, 0x64c(r30) +lbl_8013F368: +/* 8013F368 0013C2C8 34 1E 05 A0 */ addic. r0, r30, 0x5a0 +/* 8013F36C 0013C2CC 41 82 00 20 */ beq lbl_8013F38C +/* 8013F370 0013C2D0 34 1E 05 A0 */ addic. r0, r30, 0x5a0 +/* 8013F374 0013C2D4 41 82 00 18 */ beq lbl_8013F38C +/* 8013F378 0013C2D8 34 1E 05 A0 */ addic. r0, r30, 0x5a0 +/* 8013F37C 0013C2DC 41 82 00 10 */ beq lbl_8013F38C +/* 8013F380 0013C2E0 38 7E 05 A0 */ addi r3, r30, 0x5a0 +/* 8013F384 0013C2E4 38 80 00 00 */ li r4, 0 +/* 8013F388 0013C2E8 48 20 1A B9 */ bl __dt__6CTokenFv +lbl_8013F38C: +/* 8013F38C 0013C2EC 34 1E 05 78 */ addic. r0, r30, 0x578 +/* 8013F390 0013C2F0 41 82 00 20 */ beq lbl_8013F3B0 +/* 8013F394 0013C2F4 34 1E 05 78 */ addic. r0, r30, 0x578 +/* 8013F398 0013C2F8 41 82 00 18 */ beq lbl_8013F3B0 +/* 8013F39C 0013C2FC 34 1E 05 78 */ addic. r0, r30, 0x578 +/* 8013F3A0 0013C300 41 82 00 10 */ beq lbl_8013F3B0 +/* 8013F3A4 0013C304 38 7E 05 78 */ addi r3, r30, 0x578 +/* 8013F3A8 0013C308 38 80 00 00 */ li r4, 0 +/* 8013F3AC 0013C30C 48 20 1A 95 */ bl __dt__6CTokenFv +lbl_8013F3B0: +/* 8013F3B0 0013C310 7F C3 F3 78 */ mr r3, r30 +/* 8013F3B4 0013C314 38 80 00 00 */ li r4, 0 +/* 8013F3B8 0013C318 4B F3 81 B9 */ bl __dt__10CPatternedFv +/* 8013F3BC 0013C31C 7F E0 07 35 */ extsh. r0, r31 +/* 8013F3C0 0013C320 40 81 00 0C */ ble lbl_8013F3CC +/* 8013F3C4 0013C324 7F C3 F3 78 */ mr r3, r30 +/* 8013F3C8 0013C328 48 1D 65 69 */ bl Free__7CMemoryFPCv +lbl_8013F3CC: +/* 8013F3CC 0013C32C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013F3D0 0013C330 7F C3 F3 78 */ mr r3, r30 +/* 8013F3D4 0013C334 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013F3D8 0013C338 83 C1 00 08 */ lwz r30, 8(r1) +/* 8013F3DC 0013C33C 7C 08 03 A6 */ mtlr r0 +/* 8013F3E0 0013C340 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013F3E4 0013C344 4E 80 00 20 */ blr + +.global GetGravityConstant__11CChozoGhostCFv +GetGravityConstant__11CChozoGhostCFv: +/* 8013F3E8 0013C348 C0 22 9B 58 */ lfs f1, lbl_805AB878@sda21(r2) +/* 8013F3EC 0013C34C 4E 80 00 20 */ blr + +.global Think__11CChozoGhostFfR13CStateManager +Think__11CChozoGhostFfR13CStateManager: +/* 8013F3F0 0013C350 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8013F3F4 0013C354 7C 08 02 A6 */ mflr r0 +/* 8013F3F8 0013C358 90 01 00 34 */ stw r0, 0x34(r1) +/* 8013F3FC 0013C35C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8013F400 0013C360 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8013F404 0013C364 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013F408 0013C368 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8013F40C 0013C36C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8013F410 0013C370 FF E0 08 90 */ fmr f31, f1 +/* 8013F414 0013C374 7C 7E 1B 78 */ mr r30, r3 +/* 8013F418 0013C378 7C 9F 23 78 */ mr r31, r4 +/* 8013F41C 0013C37C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013F420 0013C380 41 82 00 58 */ beq lbl_8013F478 +/* 8013F424 0013C384 4B F3 A6 F5 */ bl Think__10CPatternedFfR13CStateManager +/* 8013F428 0013C388 7F C3 F3 78 */ mr r3, r30 +/* 8013F42C 0013C38C 38 80 00 00 */ li r4, 0 +/* 8013F430 0013C390 4B F3 84 25 */ bl UpdateThermalFrozenState__10CPatternedFb +/* 8013F434 0013C394 FC 20 F8 90 */ fmr f1, f31 +/* 8013F438 0013C398 38 7E 06 8C */ addi r3, r30, 0x68c +/* 8013F43C 0013C39C 48 03 65 6D */ bl Update__13CBoneTrackingFf +/* 8013F440 0013C3A0 C0 1E 06 C8 */ lfs f0, 0x6c8(r30) +/* 8013F444 0013C3A4 38 81 00 08 */ addi r4, r1, 8 +/* 8013F448 0013C3A8 38 6D 8B B8 */ addi r3, r13, lbl_805A7778@sda21 +/* 8013F44C 0013C3AC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8013F450 0013C3B0 D0 01 00 08 */ stfs f0, 8(r1) +/* 8013F454 0013C3B4 4B F1 02 DD */ bl "Max__5CMathFRCfRCf" +/* 8013F458 0013C3B8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8013F45C 0013C3BC 7F C3 F3 78 */ mr r3, r30 +/* 8013F460 0013C3C0 7F E4 FB 78 */ mr r4, r31 +/* 8013F464 0013C3C4 D0 1E 06 C8 */ stfs f0, 0x6c8(r30) +/* 8013F468 0013C3C8 48 00 22 F9 */ bl sub_80141760 +/* 8013F46C 0013C3CC 88 1E 00 E7 */ lbz r0, 0xe7(r30) +/* 8013F470 0013C3D0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8013F474 0013C3D4 98 1E 00 E7 */ stb r0, 0xe7(r30) +lbl_8013F478: +/* 8013F478 0013C3D8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8013F47C 0013C3DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8013F480 0013C3E0 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8013F484 0013C3E4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013F488 0013C3E8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8013F48C 0013C3EC 7C 08 03 A6 */ mtlr r0 +/* 8013F490 0013C3F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 8013F494 0013C3F4 4E 80 00 20 */ blr + +.global KnockBack__11CChozoGhostFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef +KnockBack__11CChozoGhostFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: +/* 8013F498 0013C3F8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8013F49C 0013C3FC 7C 08 02 A6 */ mflr r0 +/* 8013F4A0 0013C400 90 01 00 44 */ stw r0, 0x44(r1) +/* 8013F4A4 0013C404 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8013F4A8 0013C408 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8013F4AC 0013C40C BF 41 00 18 */ stmw r26, 0x18(r1) +/* 8013F4B0 0013C410 88 03 04 00 */ lbz r0, 0x400(r3) +/* 8013F4B4 0013C414 FF E0 08 90 */ fmr f31, f1 +/* 8013F4B8 0013C418 7C 7F 1B 78 */ mr r31, r3 +/* 8013F4BC 0013C41C 7C 9A 23 78 */ mr r26, r4 +/* 8013F4C0 0013C420 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8013F4C4 0013C424 7C BB 2B 78 */ mr r27, r5 +/* 8013F4C8 0013C428 7C DC 33 78 */ mr r28, r6 +/* 8013F4CC 0013C42C 7C FD 3B 78 */ mr r29, r7 +/* 8013F4D0 0013C430 7D 1E 43 78 */ mr r30, r8 +/* 8013F4D4 0013C434 40 82 00 18 */ bne lbl_8013F4EC +/* 8013F4D8 0013C438 38 7F 04 60 */ addi r3, r31, 0x460 +/* 8013F4DC 0013C43C 38 80 00 03 */ li r4, 3 +/* 8013F4E0 0013C440 38 A0 00 00 */ li r5, 0 +/* 8013F4E4 0013C444 48 0F 48 E1 */ bl SetAvailableState__20CKnockBackControllerFib +/* 8013F4E8 0013C448 48 00 00 34 */ b lbl_8013F51C +lbl_8013F4EC: +/* 8013F4EC 0013C44C 38 7F 04 60 */ addi r3, r31, 0x460 +/* 8013F4F0 0013C450 38 80 00 02 */ li r4, 2 +/* 8013F4F4 0013C454 48 0F 48 AD */ bl TestAvailableState__20CKnockBackControllerCFi +/* 8013F4F8 0013C458 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013F4FC 0013C45C 40 82 00 20 */ bne lbl_8013F51C +/* 8013F500 0013C460 88 1C 00 04 */ lbz r0, 4(r28) +/* 8013F504 0013C464 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013F508 0013C468 41 82 00 14 */ beq lbl_8013F51C +/* 8013F50C 0013C46C 38 7F 04 60 */ addi r3, r31, 0x460 +/* 8013F510 0013C470 38 80 00 03 */ li r4, 3 +/* 8013F514 0013C474 38 A0 00 04 */ li r5, 4 +/* 8013F518 0013C478 48 0F 48 7D */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState +lbl_8013F51C: +/* 8013F51C 0013C47C FC 20 F8 90 */ fmr f1, f31 +/* 8013F520 0013C480 7F E3 FB 78 */ mr r3, r31 +/* 8013F524 0013C484 7F 44 D3 78 */ mr r4, r26 +/* 8013F528 0013C488 7F 65 DB 78 */ mr r5, r27 +/* 8013F52C 0013C48C 7F 86 E3 78 */ mr r6, r28 +/* 8013F530 0013C490 7F A7 EB 78 */ mr r7, r29 +/* 8013F534 0013C494 7F C8 F3 78 */ mr r8, r30 +/* 8013F538 0013C498 4B F3 B2 45 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef +/* 8013F53C 0013C49C 38 7F 04 60 */ addi r3, r31, 0x460 +/* 8013F540 0013C4A0 38 80 00 01 */ li r4, 1 +/* 8013F544 0013C4A4 38 A0 00 04 */ li r5, 4 +/* 8013F548 0013C4A8 48 0F 48 4D */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState +/* 8013F54C 0013C4AC 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 8013F550 0013C4B0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8013F554 0013C4B4 41 82 00 4C */ beq lbl_8013F5A0 +/* 8013F558 0013C4B8 80 1F 04 64 */ lwz r0, 0x464(r31) +/* 8013F55C 0013C4BC 2C 00 00 03 */ cmpwi r0, 3 +/* 8013F560 0013C4C0 40 82 00 64 */ bne lbl_8013F5C4 +/* 8013F564 0013C4C4 3C 80 80 3D */ lis r4, lbl_803D0078@ha +/* 8013F568 0013C4C8 38 61 00 08 */ addi r3, r1, 8 +/* 8013F56C 0013C4CC 38 84 00 78 */ addi r4, r4, lbl_803D0078@l +/* 8013F570 0013C4D0 4B EC 57 49 */ bl string_l__4rstlFPCc +/* 8013F574 0013C4D4 7F E3 FB 78 */ mr r3, r31 +/* 8013F578 0013C4D8 4B F6 33 81 */ bl GetStateMachine__3CAiFv +/* 8013F57C 0013C4DC 7C 66 1B 78 */ mr r6, r3 +/* 8013F580 0013C4E0 7F 64 DB 78 */ mr r4, r27 +/* 8013F584 0013C4E4 7F E5 FB 78 */ mr r5, r31 +/* 8013F588 0013C4E8 38 7F 03 30 */ addi r3, r31, 0x330 +/* 8013F58C 0013C4EC 38 E1 00 08 */ addi r7, r1, 8 +/* 8013F590 0013C4F0 4B F4 06 75 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8013F594 0013C4F4 38 61 00 08 */ addi r3, r1, 8 +/* 8013F598 0013C4F8 48 1F E5 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8013F59C 0013C4FC 48 00 00 28 */ b lbl_8013F5C4 +lbl_8013F5A0: +/* 8013F5A0 0013C500 7F E3 FB 78 */ mr r3, r31 +/* 8013F5A4 0013C504 4B FD BD D5 */ bl Stop__13CPhysicsActorFv +/* 8013F5A8 0013C508 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013F5AC 0013C50C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8013F5B0 0013C510 D0 1F 01 50 */ stfs f0, 0x150(r31) +/* 8013F5B4 0013C514 C0 03 00 04 */ lfs f0, 4(r3) +/* 8013F5B8 0013C518 D0 1F 01 54 */ stfs f0, 0x154(r31) +/* 8013F5BC 0013C51C C0 03 00 08 */ lfs f0, 8(r3) +/* 8013F5C0 0013C520 D0 1F 01 58 */ stfs f0, 0x158(r31) +lbl_8013F5C4: +/* 8013F5C4 0013C524 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8013F5C8 0013C528 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8013F5CC 0013C52C BB 41 00 18 */ lmw r26, 0x18(r1) +/* 8013F5D0 0013C530 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8013F5D4 0013C534 7C 08 03 A6 */ mtlr r0 +/* 8013F5D8 0013C538 38 21 00 40 */ addi r1, r1, 0x40 +/* 8013F5DC 0013C53C 4E 80 00 20 */ blr + +.global DoUserAnimEvent__11CChozoGhostFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__11CChozoGhostFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 8013F5E0 0013C540 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 8013F5E4 0013C544 7C 08 02 A6 */ mflr r0 +/* 8013F5E8 0013C548 90 01 01 64 */ stw r0, 0x164(r1) +/* 8013F5EC 0013C54C DB E1 01 50 */ stfd f31, 0x150(r1) +/* 8013F5F0 0013C550 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 8013F5F4 0013C554 BF 61 01 3C */ stmw r27, 0x13c(r1) +/* 8013F5F8 0013C558 7C DF 33 78 */ mr r31, r6 +/* 8013F5FC 0013C55C FF E0 08 90 */ fmr f31, f1 +/* 8013F600 0013C560 2C 1F 00 0E */ cmpwi r31, 0xe +/* 8013F604 0013C564 7C 7C 1B 78 */ mr r28, r3 +/* 8013F608 0013C568 7C 9D 23 78 */ mr r29, r4 +/* 8013F60C 0013C56C 7C BE 2B 78 */ mr r30, r5 +/* 8013F610 0013C570 38 80 00 00 */ li r4, 0 +/* 8013F614 0013C574 41 82 01 F8 */ beq lbl_8013F80C +/* 8013F618 0013C578 40 80 00 10 */ bge lbl_8013F628 +/* 8013F61C 0013C57C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8013F620 0013C580 41 82 00 14 */ beq lbl_8013F634 +/* 8013F624 0013C584 48 00 03 08 */ b lbl_8013F92C +lbl_8013F628: +/* 8013F628 0013C588 2C 1F 00 10 */ cmpwi r31, 0x10 +/* 8013F62C 0013C58C 40 80 03 00 */ bge lbl_8013F92C +/* 8013F630 0013C590 48 00 02 68 */ b lbl_8013F898 +lbl_8013F634: +/* 8013F634 0013C594 7F 84 E3 78 */ mr r4, r28 +/* 8013F638 0013C598 38 61 00 9C */ addi r3, r1, 0x9c +/* 8013F63C 0013C59C 38 BE 00 3C */ addi r5, r30, 0x3c +/* 8013F640 0013C5A0 4B F3 93 39 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8013F644 0013C5A4 38 61 00 FC */ addi r3, r1, 0xfc +/* 8013F648 0013C5A8 38 81 00 9C */ addi r4, r1, 0x9c +/* 8013F64C 0013C5AC 48 1D 35 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8013F650 0013C5B0 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 8013F654 0013C5B4 7F A5 EB 78 */ mr r5, r29 +/* 8013F658 0013C5B8 38 61 00 54 */ addi r3, r1, 0x54 +/* 8013F65C 0013C5BC C0 22 9B 5C */ lfs f1, lbl_805AB87C@sda21(r2) +/* 8013F660 0013C5C0 81 84 00 00 */ lwz r12, 0(r4) +/* 8013F664 0013C5C4 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8013F668 0013C5C8 7D 89 03 A6 */ mtctr r12 +/* 8013F66C 0013C5CC 4E 80 04 21 */ bctrl +/* 8013F670 0013C5D0 C0 A1 00 54 */ lfs f5, 0x54(r1) +/* 8013F674 0013C5D4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8013F678 0013C5D8 C0 81 00 58 */ lfs f4, 0x58(r1) +/* 8013F67C 0013C5DC 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8013F680 0013C5E0 C0 61 00 5C */ lfs f3, 0x5c(r1) +/* 8013F684 0013C5E4 38 61 00 6C */ addi r3, r1, 0x6c +/* 8013F688 0013C5E8 C0 41 01 08 */ lfs f2, 0x108(r1) +/* 8013F68C 0013C5EC 38 81 00 48 */ addi r4, r1, 0x48 +/* 8013F690 0013C5F0 C0 21 01 18 */ lfs f1, 0x118(r1) +/* 8013F694 0013C5F4 38 A1 00 60 */ addi r5, r1, 0x60 +/* 8013F698 0013C5F8 C0 01 01 28 */ lfs f0, 0x128(r1) +/* 8013F69C 0013C5FC D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 8013F6A0 0013C600 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 8013F6A4 0013C604 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 8013F6A8 0013C608 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8013F6AC 0013C60C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8013F6B0 0013C610 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8013F6B4 0013C614 48 1D 44 5D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8013F6B8 0013C618 38 61 00 CC */ addi r3, r1, 0xcc +/* 8013F6BC 0013C61C 38 81 00 6C */ addi r4, r1, 0x6c +/* 8013F6C0 0013C620 48 1D 34 B5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8013F6C4 0013C624 80 1C 06 7C */ lwz r0, 0x67c(r28) +/* 8013F6C8 0013C628 2C 00 00 02 */ cmpwi r0, 2 +/* 8013F6CC 0013C62C 41 82 00 08 */ beq lbl_8013F6D4 +/* 8013F6D0 0013C630 48 00 00 84 */ b lbl_8013F754 +lbl_8013F6D4: +/* 8013F6D4 0013C634 C0 02 9B 60 */ lfs f0, lbl_805AB880@sda21(r2) +/* 8013F6D8 0013C638 39 40 00 00 */ li r10, 0 +/* 8013F6DC 0013C63C 38 01 00 3C */ addi r0, r1, 0x3c +/* 8013F6E0 0013C640 7F 83 E3 78 */ mr r3, r28 +/* 8013F6E4 0013C644 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8013F6E8 0013C648 7F A5 EB 78 */ mr r5, r29 +/* 8013F6EC 0013C64C 38 81 00 CC */ addi r4, r1, 0xcc +/* 8013F6F0 0013C650 39 3C 06 40 */ addi r9, r28, 0x640 +/* 8013F6F4 0013C654 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8013F6F8 0013C658 38 C0 00 02 */ li r6, 2 +/* 8013F6FC 0013C65C 38 E0 50 00 */ li r7, 0x5000 +/* 8013F700 0013C660 39 00 00 01 */ li r8, 1 +/* 8013F704 0013C664 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8013F708 0013C668 91 41 00 08 */ stw r10, 8(r1) +/* 8013F70C 0013C66C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013F710 0013C670 A1 5C 06 50 */ lhz r10, 0x650(r28) +/* 8013F714 0013C674 4B F3 82 E5 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 8013F718 0013C678 28 03 00 00 */ cmplwi r3, 0 +/* 8013F71C 0013C67C 41 82 00 E8 */ beq lbl_8013F804 +/* 8013F720 0013C680 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 8013F724 0013C684 C0 1C 06 2C */ lfs f0, 0x62c(r28) +/* 8013F728 0013C688 60 00 10 00 */ ori r0, r0, 0x1000 +/* 8013F72C 0013C68C 90 03 00 E8 */ stw r0, 0xe8(r3) +/* 8013F730 0013C690 D0 03 01 50 */ stfs f0, 0x150(r3) +/* 8013F734 0013C694 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 8013F738 0013C698 C0 1C 06 2C */ lfs f0, 0x62c(r28) +/* 8013F73C 0013C69C 60 00 40 00 */ ori r0, r0, 0x4000 +/* 8013F740 0013C6A0 90 03 00 E8 */ stw r0, 0xe8(r3) +/* 8013F744 0013C6A4 D0 03 01 54 */ stfs f0, 0x154(r3) +/* 8013F748 0013C6A8 C0 1C 06 34 */ lfs f0, 0x634(r28) +/* 8013F74C 0013C6AC D0 03 02 E0 */ stfs f0, 0x2e0(r3) +/* 8013F750 0013C6B0 48 00 00 B4 */ b lbl_8013F804 +lbl_8013F754: +/* 8013F754 0013C6B4 C0 02 9B 60 */ lfs f0, lbl_805AB880@sda21(r2) +/* 8013F758 0013C6B8 39 40 00 00 */ li r10, 0 +/* 8013F75C 0013C6BC 38 01 00 30 */ addi r0, r1, 0x30 +/* 8013F760 0013C6C0 7F 83 E3 78 */ mr r3, r28 +/* 8013F764 0013C6C4 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8013F768 0013C6C8 7F A5 EB 78 */ mr r5, r29 +/* 8013F76C 0013C6CC 38 81 00 CC */ addi r4, r1, 0xcc +/* 8013F770 0013C6D0 39 3C 06 40 */ addi r9, r28, 0x640 +/* 8013F774 0013C6D4 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8013F778 0013C6D8 38 C0 00 05 */ li r6, 5 +/* 8013F77C 0013C6DC 38 E0 60 00 */ li r7, 0x6000 +/* 8013F780 0013C6E0 39 00 00 01 */ li r8, 1 +/* 8013F784 0013C6E4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8013F788 0013C6E8 91 41 00 08 */ stw r10, 8(r1) +/* 8013F78C 0013C6EC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013F790 0013C6F0 A1 5C 06 50 */ lhz r10, 0x650(r28) +/* 8013F794 0013C6F4 4B F3 82 65 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 8013F798 0013C6F8 7C 7B 1B 79 */ or. r27, r3, r3 +/* 8013F79C 0013C6FC 41 82 00 68 */ beq lbl_8013F804 +/* 8013F7A0 0013C700 7F 83 E3 78 */ mr r3, r28 +/* 8013F7A4 0013C704 81 9C 00 00 */ lwz r12, 0(r28) +/* 8013F7A8 0013C708 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 8013F7AC 0013C70C 7D 89 03 A6 */ mtctr r12 +/* 8013F7B0 0013C710 4E 80 04 21 */ bctrl +/* 8013F7B4 0013C714 48 0D C7 A1 */ bl GetProjectileSpeed__15CProjectileInfoCFv +/* 8013F7B8 0013C718 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 8013F7BC 0013C71C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013F7C0 0013C720 40 81 00 14 */ ble lbl_8013F7D4 +/* 8013F7C4 0013C724 C0 02 9B 64 */ lfs f0, lbl_805AB884@sda21(r2) +/* 8013F7C8 0013C728 7F 63 DB 78 */ mr r3, r27 +/* 8013F7CC 0013C72C EC 20 08 24 */ fdivs f1, f0, f1 +/* 8013F7D0 0013C730 4B FC 2A 49 */ bl sub_80102218 +lbl_8013F7D4: +/* 8013F7D4 0013C734 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 8013F7D8 0013C738 C0 1C 06 2C */ lfs f0, 0x62c(r28) +/* 8013F7DC 0013C73C 60 00 10 00 */ ori r0, r0, 0x1000 +/* 8013F7E0 0013C740 90 1B 00 E8 */ stw r0, 0xe8(r27) +/* 8013F7E4 0013C744 D0 1B 01 50 */ stfs f0, 0x150(r27) +/* 8013F7E8 0013C748 80 1B 00 E8 */ lwz r0, 0xe8(r27) +/* 8013F7EC 0013C74C C0 1C 06 2C */ lfs f0, 0x62c(r28) +/* 8013F7F0 0013C750 60 00 40 00 */ ori r0, r0, 0x4000 +/* 8013F7F4 0013C754 90 1B 00 E8 */ stw r0, 0xe8(r27) +/* 8013F7F8 0013C758 D0 1B 01 54 */ stfs f0, 0x154(r27) +/* 8013F7FC 0013C75C C0 1C 06 34 */ lfs f0, 0x634(r28) +/* 8013F800 0013C760 D0 1B 02 E0 */ stfs f0, 0x2e0(r27) +lbl_8013F804: +/* 8013F804 0013C764 38 80 00 01 */ li r4, 1 +/* 8013F808 0013C768 48 00 01 24 */ b lbl_8013F92C +lbl_8013F80C: +/* 8013F80C 0013C76C 88 1C 06 64 */ lbz r0, 0x664(r28) +/* 8013F810 0013C770 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8013F814 0013C774 41 82 00 4C */ beq lbl_8013F860 +/* 8013F818 0013C778 C0 02 9B 68 */ lfs f0, lbl_805AB888@sda21(r2) +/* 8013F81C 0013C77C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013F820 0013C780 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8013F824 0013C784 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8013F828 0013C788 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) +/* 8013F82C 0013C78C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8013F830 0013C790 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8013F834 0013C794 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8013F838 0013C798 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 8013F83C 0013C79C 38 E0 00 00 */ li r7, 0 +/* 8013F840 0013C7A0 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8013F844 0013C7A4 39 00 00 00 */ li r8, 0 +/* 8013F848 0013C7A8 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 8013F84C 0013C7AC D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8013F850 0013C7B0 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8013F854 0013C7B4 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8013F858 0013C7B8 A0 9C 06 30 */ lhz r4, 0x630(r28) +/* 8013F85C 0013C7BC 48 1A AA 55 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +lbl_8013F860: +/* 8013F860 0013C7C0 7F 83 E3 78 */ mr r3, r28 +/* 8013F864 0013C7C4 7F A5 EB 78 */ mr r5, r29 +/* 8013F868 0013C7C8 38 80 00 28 */ li r4, 0x28 +/* 8013F86C 0013C7CC 4B F1 4A E5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8013F870 0013C7D0 88 1C 06 64 */ lbz r0, 0x664(r28) +/* 8013F874 0013C7D4 38 60 00 00 */ li r3, 0 +/* 8013F878 0013C7D8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8013F87C 0013C7DC 38 60 00 01 */ li r3, 1 +/* 8013F880 0013C7E0 98 1C 06 64 */ stb r0, 0x664(r28) +/* 8013F884 0013C7E4 38 80 00 01 */ li r4, 1 +/* 8013F888 0013C7E8 88 1C 06 64 */ lbz r0, 0x664(r28) +/* 8013F88C 0013C7EC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8013F890 0013C7F0 98 1C 06 64 */ stb r0, 0x664(r28) +/* 8013F894 0013C7F4 48 00 00 98 */ b lbl_8013F92C +lbl_8013F898: +/* 8013F898 0013C7F8 88 1C 06 64 */ lbz r0, 0x664(r28) +/* 8013F89C 0013C7FC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8013F8A0 0013C800 41 82 00 4C */ beq lbl_8013F8EC +/* 8013F8A4 0013C804 C0 02 9B 6C */ lfs f0, lbl_805AB88C@sda21(r2) +/* 8013F8A8 0013C808 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013F8AC 0013C80C 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8013F8B0 0013C810 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8013F8B4 0013C814 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) +/* 8013F8B8 0013C818 38 61 00 10 */ addi r3, r1, 0x10 +/* 8013F8BC 0013C81C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8013F8C0 0013C820 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8013F8C4 0013C824 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 8013F8C8 0013C828 38 E0 00 00 */ li r7, 0 +/* 8013F8CC 0013C82C C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8013F8D0 0013C830 39 00 00 00 */ li r8, 0 +/* 8013F8D4 0013C834 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 8013F8D8 0013C838 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8013F8DC 0013C83C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8013F8E0 0013C840 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8013F8E4 0013C844 A0 9C 06 32 */ lhz r4, 0x632(r28) +/* 8013F8E8 0013C848 48 1A A9 C9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +lbl_8013F8EC: +/* 8013F8EC 0013C84C 7F 83 E3 78 */ mr r3, r28 +/* 8013F8F0 0013C850 7F A5 EB 78 */ mr r5, r29 +/* 8013F8F4 0013C854 38 80 00 28 */ li r4, 0x28 +/* 8013F8F8 0013C858 4B F1 46 89 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8013F8FC 0013C85C 88 1C 06 64 */ lbz r0, 0x664(r28) +/* 8013F900 0013C860 38 60 00 00 */ li r3, 0 +/* 8013F904 0013C864 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8013F908 0013C868 38 60 00 01 */ li r3, 1 +/* 8013F90C 0013C86C 98 1C 06 64 */ stb r0, 0x664(r28) +/* 8013F910 0013C870 38 80 00 01 */ li r4, 1 +/* 8013F914 0013C874 88 1C 06 64 */ lbz r0, 0x664(r28) +/* 8013F918 0013C878 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8013F91C 0013C87C 98 1C 06 64 */ stb r0, 0x664(r28) +/* 8013F920 0013C880 88 1C 06 65 */ lbz r0, 0x665(r28) +/* 8013F924 0013C884 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8013F928 0013C888 98 1C 06 65 */ stb r0, 0x665(r28) +lbl_8013F92C: +/* 8013F92C 0013C88C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8013F930 0013C890 40 82 00 1C */ bne lbl_8013F94C +/* 8013F934 0013C894 FC 20 F8 90 */ fmr f1, f31 +/* 8013F938 0013C898 7F 83 E3 78 */ mr r3, r28 +/* 8013F93C 0013C89C 7F A4 EB 78 */ mr r4, r29 +/* 8013F940 0013C8A0 7F C5 F3 78 */ mr r5, r30 +/* 8013F944 0013C8A4 7F E6 FB 78 */ mr r6, r31 +/* 8013F948 0013C8A8 4B F3 95 69 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_8013F94C: +/* 8013F94C 0013C8AC 2C 1F 00 06 */ cmpwi r31, 6 +/* 8013F950 0013C8B0 40 82 00 0C */ bne lbl_8013F95C +/* 8013F954 0013C8B4 C0 02 9B 70 */ lfs f0, lbl_805AB890@sda21(r2) +/* 8013F958 0013C8B8 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) +lbl_8013F95C: +/* 8013F95C 0013C8BC E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 8013F960 0013C8C0 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 8013F964 0013C8C4 BB 61 01 3C */ lmw r27, 0x13c(r1) +/* 8013F968 0013C8C8 80 01 01 64 */ lwz r0, 0x164(r1) +/* 8013F96C 0013C8CC 7C 08 03 A6 */ mtlr r0 +/* 8013F970 0013C8D0 38 21 01 60 */ addi r1, r1, 0x160 +/* 8013F974 0013C8D4 4E 80 00 20 */ blr + +.global ProjectileInfo__11CChozoGhostFv +ProjectileInfo__11CChozoGhostFv: +/* 8013F978 0013C8D8 80 03 06 7C */ lwz r0, 0x67c(r3) +/* 8013F97C 0013C8DC 2C 00 00 02 */ cmpwi r0, 2 +/* 8013F980 0013C8E0 40 82 00 0C */ bne lbl_8013F98C +/* 8013F984 0013C8E4 38 63 05 78 */ addi r3, r3, 0x578 +/* 8013F988 0013C8E8 4E 80 00 20 */ blr +lbl_8013F98C: +/* 8013F98C 0013C8EC 38 63 05 A0 */ addi r3, r3, 0x5a0 +/* 8013F990 0013C8F0 4E 80 00 20 */ blr + +.global Dead__11CChozoGhostFR13CStateManager9EStateMsgf +Dead__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 8013F994 0013C8F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013F998 0013C8F8 7C 08 02 A6 */ mflr r0 +/* 8013F99C 0013C8FC 2C 05 00 01 */ cmpwi r5, 1 +/* 8013F9A0 0013C900 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013F9A4 0013C904 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013F9A8 0013C908 7C 7F 1B 78 */ mr r31, r3 +/* 8013F9AC 0013C90C 41 82 00 58 */ beq lbl_8013FA04 +/* 8013F9B0 0013C910 40 80 00 74 */ bge lbl_8013FA24 +/* 8013F9B4 0013C914 2C 05 00 00 */ cmpwi r5, 0 +/* 8013F9B8 0013C918 40 80 00 08 */ bge lbl_8013F9C0 +/* 8013F9BC 0013C91C 48 00 00 68 */ b lbl_8013FA24 +lbl_8013F9C0: +/* 8013F9C0 0013C920 38 BF 06 74 */ addi r5, r31, 0x674 +/* 8013F9C4 0013C924 4B F3 CE 99 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId +/* 8013F9C8 0013C928 C0 02 9B 74 */ lfs f0, lbl_805AB894@sda21(r2) +/* 8013F9CC 0013C92C 38 A0 00 00 */ li r5, 0 +/* 8013F9D0 0013C930 38 7F 06 8C */ addi r3, r31, 0x68c +/* 8013F9D4 0013C934 38 80 00 00 */ li r4, 0 +/* 8013F9D8 0013C938 D0 1F 03 E8 */ stfs f0, 0x3e8(r31) +/* 8013F9DC 0013C93C 88 1F 06 64 */ lbz r0, 0x664(r31) +/* 8013F9E0 0013C940 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 8013F9E4 0013C944 98 1F 06 64 */ stb r0, 0x664(r31) +/* 8013F9E8 0013C948 88 1F 06 64 */ lbz r0, 0x664(r31) +/* 8013F9EC 0013C94C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8013F9F0 0013C950 98 1F 06 64 */ stb r0, 0x664(r31) +/* 8013F9F4 0013C954 48 03 58 31 */ bl SetActive__13CBoneTrackingFb +/* 8013F9F8 0013C958 7F E3 FB 78 */ mr r3, r31 +/* 8013F9FC 0013C95C 4B FD B9 7D */ bl Stop__13CPhysicsActorFv +/* 8013FA00 0013C960 48 00 00 24 */ b lbl_8013FA24 +lbl_8013FA04: +/* 8013FA04 0013C964 4B FD B9 75 */ bl Stop__13CPhysicsActorFv +/* 8013FA08 0013C968 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013FA0C 0013C96C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8013FA10 0013C970 D0 1F 01 50 */ stfs f0, 0x150(r31) +/* 8013FA14 0013C974 C0 03 00 04 */ lfs f0, 4(r3) +/* 8013FA18 0013C978 D0 1F 01 54 */ stfs f0, 0x154(r31) +/* 8013FA1C 0013C97C C0 03 00 08 */ lfs f0, 8(r3) +/* 8013FA20 0013C980 D0 1F 01 58 */ stfs f0, 0x158(r31) +lbl_8013FA24: +/* 8013FA24 0013C984 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013FA28 0013C988 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013FA2C 0013C98C 7C 08 03 A6 */ mtlr r0 +/* 8013FA30 0013C990 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013FA34 0013C994 4E 80 00 20 */ blr + +.global Deactivate__11CChozoGhostFR13CStateManager9EStateMsgf +Deactivate__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 8013FA38 0013C998 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8013FA3C 0013C99C 7C 08 02 A6 */ mflr r0 +/* 8013FA40 0013C9A0 2C 05 00 01 */ cmpwi r5, 1 +/* 8013FA44 0013C9A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013FA48 0013C9A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013FA4C 0013C9AC 7C 9F 23 78 */ mr r31, r4 +/* 8013FA50 0013C9B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8013FA54 0013C9B4 7C 7E 1B 78 */ mr r30, r3 +/* 8013FA58 0013C9B8 41 82 00 54 */ beq lbl_8013FAAC +/* 8013FA5C 0013C9BC 40 80 00 10 */ bge lbl_8013FA6C +/* 8013FA60 0013C9C0 2C 05 00 00 */ cmpwi r5, 0 +/* 8013FA64 0013C9C4 40 80 00 14 */ bge lbl_8013FA78 +/* 8013FA68 0013C9C8 48 00 00 98 */ b lbl_8013FB00 +lbl_8013FA6C: +/* 8013FA6C 0013C9CC 2C 05 00 03 */ cmpwi r5, 3 +/* 8013FA70 0013C9D0 40 80 00 90 */ bge lbl_8013FB00 +/* 8013FA74 0013C9D4 48 00 00 84 */ b lbl_8013FAF8 +lbl_8013FA78: +/* 8013FA78 0013C9D8 38 7E 06 8C */ addi r3, r30, 0x68c +/* 8013FA7C 0013C9DC 38 80 00 00 */ li r4, 0 +/* 8013FA80 0013C9E0 48 03 57 A5 */ bl SetActive__13CBoneTrackingFb +/* 8013FA84 0013C9E4 7F C3 F3 78 */ mr r3, r30 +/* 8013FA88 0013C9E8 7F E4 FB 78 */ mr r4, r31 +/* 8013FA8C 0013C9EC 38 BE 06 74 */ addi r5, r30, 0x674 +/* 8013FA90 0013C9F0 4B F3 CD CD */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId +/* 8013FA94 0013C9F4 38 60 00 01 */ li r3, 1 +/* 8013FA98 0013C9F8 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 8013FA9C 0013C9FC 88 1E 06 65 */ lbz r0, 0x665(r30) +/* 8013FAA0 0013CA00 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8013FAA4 0013CA04 98 1E 06 65 */ stb r0, 0x665(r30) +/* 8013FAA8 0013CA08 48 00 00 58 */ b lbl_8013FB00 +lbl_8013FAAC: +/* 8013FAAC 0013CA0C 3C A0 80 3E */ lis r5, lbl_803E190C@ha +/* 8013FAB0 0013CA10 38 C1 00 08 */ addi r6, r1, 8 +/* 8013FAB4 0013CA14 39 45 19 0C */ addi r10, r5, lbl_803E190C@l +/* 8013FAB8 0013CA18 38 A0 00 0C */ li r5, 0xc +/* 8013FABC 0013CA1C 81 2A 00 00 */ lwz r9, 0(r10) +/* 8013FAC0 0013CA20 38 E0 00 01 */ li r7, 1 +/* 8013FAC4 0013CA24 81 0A 00 04 */ lwz r8, 4(r10) +/* 8013FAC8 0013CA28 80 0A 00 08 */ lwz r0, 8(r10) +/* 8013FACC 0013CA2C 91 21 00 08 */ stw r9, 8(r1) +/* 8013FAD0 0013CA30 91 01 00 0C */ stw r8, 0xc(r1) +/* 8013FAD4 0013CA34 90 01 00 10 */ stw r0, 0x10(r1) +/* 8013FAD8 0013CA38 4B F3 CC DD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8013FADC 0013CA3C 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 8013FAE0 0013CA40 2C 00 00 02 */ cmpwi r0, 2 +/* 8013FAE4 0013CA44 40 82 00 1C */ bne lbl_8013FB00 +/* 8013FAE8 0013CA48 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8013FAEC 0013CA4C 38 80 00 01 */ li r4, 1 +/* 8013FAF0 0013CA50 4B FF AE E9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8013FAF4 0013CA54 48 00 00 0C */ b lbl_8013FB00 +lbl_8013FAF8: +/* 8013FAF8 0013CA58 38 00 00 00 */ li r0, 0 +/* 8013FAFC 0013CA5C 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_8013FB00: +/* 8013FB00 0013CA60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8013FB04 0013CA64 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013FB08 0013CA68 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8013FB0C 0013CA6C 7C 08 03 A6 */ mtlr r0 +/* 8013FB10 0013CA70 38 21 00 20 */ addi r1, r1, 0x20 +/* 8013FB14 0013CA74 4E 80 00 20 */ blr + +.global AggressionCheck__11CChozoGhostFR13CStateManagerf +AggressionCheck__11CChozoGhostFR13CStateManagerf: +/* 8013FB18 0013CA78 88 03 06 65 */ lbz r0, 0x665(r3) +/* 8013FB1C 0013CA7C 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f +/* 8013FB20 0013CA80 4E 80 00 20 */ blr + +.global ShouldFlinch__11CChozoGhostFR13CStateManagerf +ShouldFlinch__11CChozoGhostFR13CStateManagerf: +/* 8013FB24 0013CA84 88 03 06 64 */ lbz r0, 0x664(r3) +/* 8013FB28 0013CA88 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 8013FB2C 0013CA8C 4E 80 00 20 */ blr + +.global Leash__11CChozoGhostFR13CStateManagerf +Leash__11CChozoGhostFR13CStateManagerf: +/* 8013FB30 0013CA90 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013FB34 0013CA94 7C 08 02 A6 */ mflr r0 +/* 8013FB38 0013CA98 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013FB3C 0013CA9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013FB40 0013CAA0 3B E0 00 00 */ li r31, 0 +/* 8013FB44 0013CAA4 88 03 06 65 */ lbz r0, 0x665(r3) +/* 8013FB48 0013CAA8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8013FB4C 0013CAAC 40 82 00 10 */ bne lbl_8013FB5C +/* 8013FB50 0013CAB0 48 0B 67 95 */ bl Leash__10CPatternedFR13CStateManagerf +/* 8013FB54 0013CAB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013FB58 0013CAB8 41 82 00 08 */ beq lbl_8013FB60 +lbl_8013FB5C: +/* 8013FB5C 0013CABC 3B E0 00 01 */ li r31, 1 +lbl_8013FB60: +/* 8013FB60 0013CAC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013FB64 0013CAC4 7F E3 FB 78 */ mr r3, r31 +/* 8013FB68 0013CAC8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013FB6C 0013CACC 7C 08 03 A6 */ mtlr r0 +/* 8013FB70 0013CAD0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013FB74 0013CAD4 4E 80 00 20 */ blr + +.global sub_8013fb78 +sub_8013fb78: +/* 8013FB78 0013CAD8 80 03 06 80 */ lwz r0, 0x680(r3) +/* 8013FB7C 0013CADC 20 00 00 03 */ subfic r0, r0, 3 +/* 8013FB80 0013CAE0 7C 00 00 34 */ cntlzw r0, r0 +/* 8013FB84 0013CAE4 54 03 D9 7E */ srwi r3, r0, 5 +/* 8013FB88 0013CAE8 4E 80 00 20 */ blr + +.global Lurk__11CChozoGhostFR13CStateManager9EStateMsgf +Lurk__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 8013FB8C 0013CAEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013FB90 0013CAF0 7C 08 02 A6 */ mflr r0 +/* 8013FB94 0013CAF4 2C 05 00 01 */ cmpwi r5, 1 +/* 8013FB98 0013CAF8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013FB9C 0013CAFC 41 82 00 20 */ beq lbl_8013FBBC +/* 8013FBA0 0013CB00 40 80 00 28 */ bge lbl_8013FBC8 +/* 8013FBA4 0013CB04 2C 05 00 00 */ cmpwi r5, 0 +/* 8013FBA8 0013CB08 40 80 00 08 */ bge lbl_8013FBB0 +/* 8013FBAC 0013CB0C 48 00 00 1C */ b lbl_8013FBC8 +lbl_8013FBB0: +/* 8013FBB0 0013CB10 C0 03 06 84 */ lfs f0, 0x684(r3) +/* 8013FBB4 0013CB14 D0 03 03 40 */ stfs f0, 0x340(r3) +/* 8013FBB8 0013CB18 48 00 00 10 */ b lbl_8013FBC8 +lbl_8013FBBC: +/* 8013FBBC 0013CB1C FC 40 08 90 */ fmr f2, f1 +/* 8013FBC0 0013CB20 C0 23 06 78 */ lfs f1, 0x678(r3) +/* 8013FBC4 0013CB24 48 00 19 D9 */ bl sub_8014159c +lbl_8013FBC8: +/* 8013FBC8 0013CB28 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013FBCC 0013CB2C 7C 08 03 A6 */ mtlr r0 +/* 8013FBD0 0013CB30 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013FBD4 0013CB34 4E 80 00 20 */ blr + +.global Hurled__11CChozoGhostFR13CStateManager9EStateMsgf +Hurled__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 8013FBD8 0013CB38 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8013FBDC 0013CB3C 7C 08 02 A6 */ mflr r0 +/* 8013FBE0 0013CB40 90 01 00 94 */ stw r0, 0x94(r1) +/* 8013FBE4 0013CB44 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8013FBE8 0013CB48 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8013FBEC 0013CB4C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8013FBF0 0013CB50 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8013FBF4 0013CB54 2C 05 00 01 */ cmpwi r5, 1 +/* 8013FBF8 0013CB58 7C 7F 1B 78 */ mr r31, r3 +/* 8013FBFC 0013CB5C 7C 9E 23 78 */ mr r30, r4 +/* 8013FC00 0013CB60 41 82 00 50 */ beq lbl_8013FC50 +/* 8013FC04 0013CB64 40 80 00 10 */ bge lbl_8013FC14 +/* 8013FC08 0013CB68 2C 05 00 00 */ cmpwi r5, 0 +/* 8013FC0C 0013CB6C 40 80 00 14 */ bge lbl_8013FC20 +/* 8013FC10 0013CB70 48 00 02 10 */ b lbl_8013FE20 +lbl_8013FC14: +/* 8013FC14 0013CB74 2C 05 00 03 */ cmpwi r5, 3 +/* 8013FC18 0013CB78 40 80 02 08 */ bge lbl_8013FE20 +/* 8013FC1C 0013CB7C 48 00 01 D8 */ b lbl_8013FDF4 +lbl_8013FC20: +/* 8013FC20 0013CB80 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8013FC24 0013CB84 38 80 00 00 */ li r4, 0 +/* 8013FC28 0013CB88 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8013FC2C 0013CB8C 38 60 00 01 */ li r3, 1 +/* 8013FC30 0013CB90 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8013FC34 0013CB94 88 1F 06 64 */ lbz r0, 0x664(r31) +/* 8013FC38 0013CB98 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8013FC3C 0013CB9C 98 1F 06 64 */ stb r0, 0x664(r31) +/* 8013FC40 0013CBA0 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 8013FC44 0013CBA4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8013FC48 0013CBA8 98 1F 06 65 */ stb r0, 0x665(r31) +/* 8013FC4C 0013CBAC 48 00 01 D4 */ b lbl_8013FE20 +lbl_8013FC50: +/* 8013FC50 0013CBB0 C0 02 9B 68 */ lfs f0, lbl_805AB888@sda21(r2) +/* 8013FC54 0013CBB4 D0 1F 03 E8 */ stfs f0, 0x3e8(r31) +/* 8013FC58 0013CBB8 88 1F 06 64 */ lbz r0, 0x664(r31) +/* 8013FC5C 0013CBBC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8013FC60 0013CBC0 40 82 01 C0 */ bne lbl_8013FE20 +/* 8013FC64 0013CBC4 C0 3F 01 40 */ lfs f1, 0x140(r31) +/* 8013FC68 0013CBC8 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 8013FC6C 0013CBCC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013FC70 0013CBD0 40 80 01 10 */ bge lbl_8013FD80 +/* 8013FC74 0013CBD4 80 AD 8B B4 */ lwz r5, lbl_805A7774@sda21(r13) +/* 8013FC78 0013CBD8 38 60 00 00 */ li r3, 0 +/* 8013FC7C 0013CBDC 38 80 00 01 */ li r4, 1 +/* 8013FC80 0013CBE0 48 24 A2 75 */ bl __shl2i +/* 8013FC84 0013CBE4 38 A0 00 00 */ li r5, 0 +/* 8013FC88 0013CBE8 38 00 00 01 */ li r0, 1 +/* 8013FC8C 0013CBEC 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8013FC90 0013CBF0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8013FC94 0013CBF4 38 E4 66 F4 */ addi r7, r4, lbl_805A66F4@l +/* 8013FC98 0013CBF8 C0 22 9B 68 */ lfs f1, lbl_805AB888@sda21(r2) +/* 8013FC9C 0013CBFC 90 61 00 28 */ stw r3, 0x28(r1) +/* 8013FCA0 0013CC00 3C 80 80 5A */ lis r4, lbl_805A6700@ha +/* 8013FCA4 0013CC04 C0 A7 00 04 */ lfs f5, 4(r7) +/* 8013FCA8 0013CC08 38 C4 67 00 */ addi r6, r4, lbl_805A6700@l +/* 8013FCAC 0013CC0C 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8013FCB0 0013CC10 7F C4 F3 78 */ mr r4, r30 +/* 8013FCB4 0013CC14 C0 67 00 08 */ lfs f3, 8(r7) +/* 8013FCB8 0013CC18 38 61 00 40 */ addi r3, r1, 0x40 +/* 8013FCBC 0013CC1C 90 A1 00 30 */ stw r5, 0x30(r1) +/* 8013FCC0 0013CC20 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8013FCC4 0013CC24 C0 07 00 00 */ lfs f0, 0(r7) +/* 8013FCC8 0013CC28 38 E1 00 28 */ addi r7, r1, 0x28 +/* 8013FCCC 0013CC2C 90 01 00 38 */ stw r0, 0x38(r1) +/* 8013FCD0 0013CC30 C0 DF 00 50 */ lfs f6, 0x50(r31) +/* 8013FCD4 0013CC34 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 8013FCD8 0013CC38 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 8013FCDC 0013CC3C EC A6 28 2A */ fadds f5, f6, f5 +/* 8013FCE0 0013CC40 EC 64 18 2A */ fadds f3, f4, f3 +/* 8013FCE4 0013CC44 EC 02 00 2A */ fadds f0, f2, f0 +/* 8013FCE8 0013CC48 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 8013FCEC 0013CC4C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8013FCF0 0013CC50 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8013FCF4 0013CC54 4B F0 D2 A5 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8013FCF8 0013CC58 88 01 00 60 */ lbz r0, 0x60(r1) +/* 8013FCFC 0013CC5C C0 21 00 40 */ lfs f1, 0x40(r1) +/* 8013FD00 0013CC60 28 00 00 00 */ cmplwi r0, 0 +/* 8013FD04 0013CC64 C3 E1 00 4C */ lfs f31, 0x4c(r1) +/* 8013FD08 0013CC68 41 82 00 78 */ beq lbl_8013FD80 +/* 8013FD0C 0013CC6C C0 02 9B 78 */ lfs f0, lbl_805AB898@sda21(r2) +/* 8013FD10 0013CC70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013FD14 0013CC74 40 80 00 6C */ bge lbl_8013FD80 +/* 8013FD18 0013CC78 88 1F 06 64 */ lbz r0, 0x664(r31) +/* 8013FD1C 0013CC7C 38 60 00 01 */ li r3, 1 +/* 8013FD20 0013CC80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8013FD24 0013CC84 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013FD28 0013CC88 98 1F 06 64 */ stb r0, 0x664(r31) +/* 8013FD2C 0013CC8C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8013FD30 0013CC90 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 8013FD34 0013CC94 7F E3 FB 78 */ mr r3, r31 +/* 8013FD38 0013CC98 C0 25 00 00 */ lfs f1, 0(r5) +/* 8013FD3C 0013CC9C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8013FD40 0013CCA0 D0 3F 01 50 */ stfs f1, 0x150(r31) +/* 8013FD44 0013CCA4 C0 25 00 04 */ lfs f1, 4(r5) +/* 8013FD48 0013CCA8 D0 3F 01 54 */ stfs f1, 0x154(r31) +/* 8013FD4C 0013CCAC C0 25 00 08 */ lfs f1, 8(r5) +/* 8013FD50 0013CCB0 D0 3F 01 58 */ stfs f1, 0x158(r31) +/* 8013FD54 0013CCB4 C0 5F 01 3C */ lfs f2, 0x13c(r31) +/* 8013FD58 0013CCB8 C0 3F 01 38 */ lfs f1, 0x138(r31) +/* 8013FD5C 0013CCBC D0 21 00 10 */ stfs f1, 0x10(r1) +/* 8013FD60 0013CCC0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 8013FD64 0013CCC4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8013FD68 0013CCC8 4B FD AF 39 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 8013FD6C 0013CCCC D3 FF 06 78 */ stfs f31, 0x678(r31) +/* 8013FD70 0013CCD0 38 60 00 01 */ li r3, 1 +/* 8013FD74 0013CCD4 88 1F 03 48 */ lbz r0, 0x348(r31) +/* 8013FD78 0013CCD8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8013FD7C 0013CCDC 98 1F 03 48 */ stb r0, 0x348(r31) +lbl_8013FD80: +/* 8013FD80 0013CCE0 88 1F 06 64 */ lbz r0, 0x664(r31) +/* 8013FD84 0013CCE4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8013FD88 0013CCE8 40 82 00 98 */ bne lbl_8013FE20 +/* 8013FD8C 0013CCEC C0 3F 03 38 */ lfs f1, 0x338(r31) +/* 8013FD90 0013CCF0 C0 1F 06 38 */ lfs f0, 0x638(r31) +/* 8013FD94 0013CCF4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013FD98 0013CCF8 40 81 00 88 */ ble lbl_8013FE20 +/* 8013FD9C 0013CCFC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8013FDA0 0013CD00 38 00 00 0A */ li r0, 0xa +/* 8013FDA4 0013CD04 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 8013FDA8 0013CD08 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013FDAC 0013CD0C 38 81 00 08 */ addi r4, r1, 8 +/* 8013FDB0 0013CD10 90 61 00 08 */ stw r3, 8(r1) +/* 8013FDB4 0013CD14 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8013FDB8 0013CD18 38 63 00 04 */ addi r3, r3, 4 +/* 8013FDBC 0013CD1C 4B FF 19 FD */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 8013FDC0 0013CD20 34 01 00 08 */ addic. r0, r1, 8 +/* 8013FDC4 0013CD24 41 82 00 10 */ beq lbl_8013FDD4 +/* 8013FDC8 0013CD28 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8013FDCC 0013CD2C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8013FDD0 0013CD30 90 01 00 08 */ stw r0, 8(r1) +lbl_8013FDD4: +/* 8013FDD4 0013CD34 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8013FDD8 0013CD38 38 80 00 02 */ li r4, 2 +/* 8013FDDC 0013CD3C 4B FF AB FD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8013FDE0 0013CD40 88 1F 03 48 */ lbz r0, 0x348(r31) +/* 8013FDE4 0013CD44 38 60 00 01 */ li r3, 1 +/* 8013FDE8 0013CD48 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8013FDEC 0013CD4C 98 1F 03 48 */ stb r0, 0x348(r31) +/* 8013FDF0 0013CD50 48 00 00 30 */ b lbl_8013FE20 +lbl_8013FDF4: +/* 8013FDF4 0013CD54 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8013FDF8 0013CD58 38 60 00 01 */ li r3, 1 +/* 8013FDFC 0013CD5C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8013FE00 0013CD60 98 1F 03 28 */ stb r0, 0x328(r31) +/* 8013FE04 0013CD64 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8013FE08 0013CD68 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8013FE0C 0013CD6C D0 1F 01 50 */ stfs f0, 0x150(r31) +/* 8013FE10 0013CD70 C0 03 00 04 */ lfs f0, 4(r3) +/* 8013FE14 0013CD74 D0 1F 01 54 */ stfs f0, 0x154(r31) +/* 8013FE18 0013CD78 C0 03 00 08 */ lfs f0, 8(r3) +/* 8013FE1C 0013CD7C D0 1F 01 58 */ stfs f0, 0x158(r31) +lbl_8013FE20: +/* 8013FE20 0013CD80 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8013FE24 0013CD84 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8013FE28 0013CD88 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8013FE2C 0013CD8C 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8013FE30 0013CD90 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 8013FE34 0013CD94 7C 08 03 A6 */ mtlr r0 +/* 8013FE38 0013CD98 38 21 00 90 */ addi r1, r1, 0x90 +/* 8013FE3C 0013CD9C 4E 80 00 20 */ blr + +.global Taunt__11CChozoGhostFR13CStateManager9EStateMsgf +Taunt__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 8013FE40 0013CDA0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8013FE44 0013CDA4 7C 08 02 A6 */ mflr r0 +/* 8013FE48 0013CDA8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8013FE4C 0013CDAC DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8013FE50 0013CDB0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8013FE54 0013CDB4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013FE58 0013CDB8 FF E0 08 90 */ fmr f31, f1 +/* 8013FE5C 0013CDBC 2C 05 00 01 */ cmpwi r5, 1 +/* 8013FE60 0013CDC0 7C 7F 1B 78 */ mr r31, r3 +/* 8013FE64 0013CDC4 41 82 00 2C */ beq lbl_8013FE90 +/* 8013FE68 0013CDC8 40 80 00 10 */ bge lbl_8013FE78 +/* 8013FE6C 0013CDCC 2C 05 00 00 */ cmpwi r5, 0 +/* 8013FE70 0013CDD0 40 80 00 14 */ bge lbl_8013FE84 +/* 8013FE74 0013CDD4 48 00 00 74 */ b lbl_8013FEE8 +lbl_8013FE78: +/* 8013FE78 0013CDD8 2C 05 00 03 */ cmpwi r5, 3 +/* 8013FE7C 0013CDDC 40 80 00 6C */ bge lbl_8013FEE8 +/* 8013FE80 0013CDE0 48 00 00 54 */ b lbl_8013FED4 +lbl_8013FE84: +/* 8013FE84 0013CDE4 38 00 00 01 */ li r0, 1 +/* 8013FE88 0013CDE8 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8013FE8C 0013CDEC 48 00 00 5C */ b lbl_8013FEE8 +lbl_8013FE90: +/* 8013FE90 0013CDF0 3C A0 80 3E */ lis r5, lbl_803E1900@ha +/* 8013FE94 0013CDF4 38 C1 00 08 */ addi r6, r1, 8 +/* 8013FE98 0013CDF8 39 45 19 00 */ addi r10, r5, lbl_803E1900@l +/* 8013FE9C 0013CDFC 38 A0 00 10 */ li r5, 0x10 +/* 8013FEA0 0013CE00 81 2A 00 00 */ lwz r9, 0(r10) +/* 8013FEA4 0013CE04 38 E0 00 00 */ li r7, 0 +/* 8013FEA8 0013CE08 81 0A 00 04 */ lwz r8, 4(r10) +/* 8013FEAC 0013CE0C 80 0A 00 08 */ lwz r0, 8(r10) +/* 8013FEB0 0013CE10 91 21 00 08 */ stw r9, 8(r1) +/* 8013FEB4 0013CE14 91 01 00 0C */ stw r8, 0xc(r1) +/* 8013FEB8 0013CE18 90 01 00 10 */ stw r0, 0x10(r1) +/* 8013FEBC 0013CE1C 4B F3 C8 F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8013FEC0 0013CE20 FC 40 F8 90 */ fmr f2, f31 +/* 8013FEC4 0013CE24 C0 3F 06 78 */ lfs f1, 0x678(r31) +/* 8013FEC8 0013CE28 7F E3 FB 78 */ mr r3, r31 +/* 8013FECC 0013CE2C 48 00 16 D1 */ bl sub_8014159c +/* 8013FED0 0013CE30 48 00 00 18 */ b lbl_8013FEE8 +lbl_8013FED4: +/* 8013FED4 0013CE34 38 60 00 00 */ li r3, 0 +/* 8013FED8 0013CE38 90 7F 03 2C */ stw r3, 0x32c(r31) +/* 8013FEDC 0013CE3C 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 8013FEE0 0013CE40 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8013FEE4 0013CE44 98 1F 06 65 */ stb r0, 0x665(r31) +lbl_8013FEE8: +/* 8013FEE8 0013CE48 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8013FEEC 0013CE4C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8013FEF0 0013CE50 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8013FEF4 0013CE54 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013FEF8 0013CE58 7C 08 03 A6 */ mtlr r0 +/* 8013FEFC 0013CE5C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8013FF00 0013CE60 4E 80 00 20 */ blr + +.global sub_8013ff04 +sub_8013ff04: +/* 8013FF04 0013CE64 80 03 06 80 */ lwz r0, 0x680(r3) +/* 8013FF08 0013CE68 20 00 00 01 */ subfic r0, r0, 1 +/* 8013FF0C 0013CE6C 7C 00 00 34 */ cntlzw r0, r0 +/* 8013FF10 0013CE70 54 03 D9 7E */ srwi r3, r0, 5 +/* 8013FF14 0013CE74 4E 80 00 20 */ blr + +.global Shuffle__11CChozoGhostFR13CStateManager9EStateMsgf +Shuffle__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 8013FF18 0013CE78 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8013FF1C 0013CE7C 7C 08 02 A6 */ mflr r0 +/* 8013FF20 0013CE80 90 01 00 44 */ stw r0, 0x44(r1) +/* 8013FF24 0013CE84 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8013FF28 0013CE88 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8013FF2C 0013CE8C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8013FF30 0013CE90 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8013FF34 0013CE94 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8013FF38 0013CE98 2C 05 00 00 */ cmpwi r5, 0 +/* 8013FF3C 0013CE9C 7C 7F 1B 78 */ mr r31, r3 +/* 8013FF40 0013CEA0 7C 9D 23 78 */ mr r29, r4 +/* 8013FF44 0013CEA4 41 82 00 08 */ beq lbl_8013FF4C +/* 8013FF48 0013CEA8 48 00 01 28 */ b lbl_80140070 +lbl_8013FF4C: +/* 8013FF4C 0013CEAC 48 00 0F 8D */ bl sub_80140ed8 +/* 8013FF50 0013CEB0 A0 DF 00 08 */ lhz r6, 8(r31) +/* 8013FF54 0013CEB4 7C 7E 1B 78 */ mr r30, r3 +/* 8013FF58 0013CEB8 7F A3 EB 78 */ mr r3, r29 +/* 8013FF5C 0013CEBC 38 81 00 1C */ addi r4, r1, 0x1c +/* 8013FF60 0013CEC0 B0 C1 00 18 */ sth r6, 0x18(r1) +/* 8013FF64 0013CEC4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8013FF68 0013CEC8 A0 1F 06 C4 */ lhz r0, 0x6c4(r31) +/* 8013FF6C 0013CECC B0 C1 00 14 */ sth r6, 0x14(r1) +/* 8013FF70 0013CED0 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8013FF74 0013CED4 48 0F A2 0D */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId +/* 8013FF78 0013CED8 28 03 00 00 */ cmplwi r3, 0 +/* 8013FF7C 0013CEDC 41 82 00 48 */ beq lbl_8013FFC4 +/* 8013FF80 0013CEE0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8013FF84 0013CEE4 2C 00 00 02 */ cmpwi r0, 2 +/* 8013FF88 0013CEE8 40 82 00 34 */ bne lbl_8013FFBC +/* 8013FF8C 0013CEEC A0 FF 00 08 */ lhz r7, 8(r31) +/* 8013FF90 0013CEF0 7F A4 EB 78 */ mr r4, r29 +/* 8013FF94 0013CEF4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8013FF98 0013CEF8 38 C1 00 0C */ addi r6, r1, 0xc +/* 8013FF9C 0013CEFC B0 E1 00 0C */ sth r7, 0xc(r1) +/* 8013FFA0 0013CF00 38 60 00 01 */ li r3, 1 +/* 8013FFA4 0013CF04 A0 1F 06 C4 */ lhz r0, 0x6c4(r31) +/* 8013FFA8 0013CF08 B0 E1 00 08 */ sth r7, 8(r1) +/* 8013FFAC 0013CF0C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8013FFB0 0013CF10 48 0F A1 09 */ bl CanAcceptAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId +/* 8013FFB4 0013CF14 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8013FFB8 0013CF18 40 82 00 0C */ bne lbl_8013FFC4 +lbl_8013FFBC: +/* 8013FFBC 0013CF1C 38 00 00 02 */ li r0, 2 +/* 8013FFC0 0013CF20 90 1F 06 80 */ stw r0, 0x680(r31) +lbl_8013FFC4: +/* 8013FFC4 0013CF24 7F E3 FB 78 */ mr r3, r31 +/* 8013FFC8 0013CF28 7F A4 EB 78 */ mr r4, r29 +/* 8013FFCC 0013CF2C 48 00 0F 0D */ bl sub_80140ed8 +/* 8013FFD0 0013CF30 80 9F 06 80 */ lwz r4, 0x680(r31) +/* 8013FFD4 0013CF34 7F A5 EB 78 */ mr r5, r29 +/* 8013FFD8 0013CF38 48 00 26 B1 */ bl GetBehave__Q211CChozoGhost13CBehaveChanceCFQ211CChozoGhost11EBehaveTypeR13CStateManager +/* 8013FFDC 0013CF3C 90 7F 06 80 */ stw r3, 0x680(r31) +/* 8013FFE0 0013CF40 80 1F 06 80 */ lwz r0, 0x680(r31) +/* 8013FFE4 0013CF44 2C 00 00 01 */ cmpwi r0, 1 +/* 8013FFE8 0013CF48 41 82 00 6C */ beq lbl_80140054 +/* 8013FFEC 0013CF4C 40 80 00 10 */ bge lbl_8013FFFC +/* 8013FFF0 0013CF50 2C 00 00 00 */ cmpwi r0, 0 +/* 8013FFF4 0013CF54 40 80 00 14 */ bge lbl_80140008 +/* 8013FFF8 0013CF58 48 00 00 5C */ b lbl_80140054 +lbl_8013FFFC: +/* 8013FFFC 0013CF5C 2C 00 00 03 */ cmpwi r0, 3 +/* 80140000 0013CF60 40 80 00 54 */ bge lbl_80140054 +/* 80140004 0013CF64 48 00 00 10 */ b lbl_80140014 +lbl_80140008: +/* 80140008 0013CF68 C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 8014000C 0013CF6C D0 1F 06 84 */ stfs f0, 0x684(r31) +/* 80140010 0013CF70 48 00 00 44 */ b lbl_80140054 +lbl_80140014: +/* 80140014 0013CF74 C3 FE 00 18 */ lfs f31, 0x18(r30) +/* 80140018 0013CF78 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8014001C 0013CF7C 48 1D 24 C1 */ bl Float__9CRandom16Fv +/* 80140020 0013CF80 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80140024 0013CF84 7C 60 00 26 */ mfcr r3 +/* 80140028 0013CF88 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 8014002C 0013CF8C 50 60 3E 72 */ rlwimi r0, r3, 7, 0x19, 0x19 +/* 80140030 0013CF90 98 1F 06 65 */ stb r0, 0x665(r31) +/* 80140034 0013CF94 83 DE 00 1C */ lwz r30, 0x1c(r30) +/* 80140038 0013CF98 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8014003C 0013CF9C 48 1D 24 E5 */ bl Next__9CRandom16Fv +/* 80140040 0013CFA0 7C 03 F3 96 */ divwu r0, r3, r30 +/* 80140044 0013CFA4 7C 00 F1 D6 */ mullw r0, r0, r30 +/* 80140048 0013CFA8 7C 60 18 50 */ subf r3, r0, r3 +/* 8014004C 0013CFAC 38 03 00 01 */ addi r0, r3, 1 +/* 80140050 0013CFB0 90 1F 06 D8 */ stw r0, 0x6d8(r31) +lbl_80140054: +/* 80140054 0013CFB4 88 1F 06 64 */ lbz r0, 0x664(r31) +/* 80140058 0013CFB8 38 60 00 00 */ li r3, 0 +/* 8014005C 0013CFBC 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80140060 0013CFC0 98 1F 06 64 */ stb r0, 0x664(r31) +/* 80140064 0013CFC4 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 80140068 0013CFC8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8014006C 0013CFCC 98 1F 06 65 */ stb r0, 0x665(r31) +lbl_80140070: +/* 80140070 0013CFD0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80140074 0013CFD4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80140078 0013CFD8 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8014007C 0013CFDC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80140080 0013CFE0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80140084 0013CFE4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80140088 0013CFE8 7C 08 03 A6 */ mtlr r0 +/* 8014008C 0013CFEC 38 21 00 40 */ addi r1, r1, 0x40 +/* 80140090 0013CFF0 4E 80 00 20 */ blr + +.global Land__11CChozoGhostFR13CStateManager9EStateMsgf +Land__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 80140094 0013CFF4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80140098 0013CFF8 7C 08 02 A6 */ mflr r0 +/* 8014009C 0013CFFC 2C 05 00 01 */ cmpwi r5, 1 +/* 801400A0 0013D000 90 01 00 24 */ stw r0, 0x24(r1) +/* 801400A4 0013D004 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801400A8 0013D008 7C 7F 1B 78 */ mr r31, r3 +/* 801400AC 0013D00C 41 82 00 08 */ beq lbl_801400B4 +/* 801400B0 0013D010 48 00 00 54 */ b lbl_80140104 +lbl_801400B4: +/* 801400B4 0013D014 FC 40 08 90 */ fmr f2, f1 +/* 801400B8 0013D018 C0 3F 06 78 */ lfs f1, 0x678(r31) +/* 801400BC 0013D01C 48 00 14 E1 */ bl sub_8014159c +/* 801400C0 0013D020 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 801400C4 0013D024 C0 1F 06 78 */ lfs f0, 0x678(r31) +/* 801400C8 0013D028 C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 801400CC 0013D02C EC 20 20 28 */ fsubs f1, f0, f4 +/* 801400D0 0013D030 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 801400D4 0013D034 C0 02 9B 7C */ lfs f0, lbl_805AB89C@sda21(r2) +/* 801400D8 0013D038 D0 41 00 08 */ stfs f2, 8(r1) +/* 801400DC 0013D03C FC 20 0A 10 */ fabs f1, f1 +/* 801400E0 0013D040 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 801400E4 0013D044 FC 20 08 18 */ frsp f1, f1 +/* 801400E8 0013D048 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 801400EC 0013D04C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801400F0 0013D050 40 80 00 14 */ bge lbl_80140104 +/* 801400F4 0013D054 88 1F 03 48 */ lbz r0, 0x348(r31) +/* 801400F8 0013D058 38 60 00 01 */ li r3, 1 +/* 801400FC 0013D05C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80140100 0013D060 98 1F 03 48 */ stb r0, 0x348(r31) +lbl_80140104: +/* 80140104 0013D064 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80140108 0013D068 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8014010C 0013D06C 7C 08 03 A6 */ mtlr r0 +/* 80140110 0013D070 38 21 00 20 */ addi r1, r1, 0x20 +/* 80140114 0013D074 4E 80 00 20 */ blr + +.global Attack__11CChozoGhostFR13CStateManager9EStateMsgf +Attack__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 80140118 0013D078 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8014011C 0013D07C 7C 08 02 A6 */ mflr r0 +/* 80140120 0013D080 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80140124 0013D084 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80140128 0013D088 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8014012C 0013D08C 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 80140130 0013D090 93 C1 00 98 */ stw r30, 0x98(r1) +/* 80140134 0013D094 FF E0 08 90 */ fmr f31, f1 +/* 80140138 0013D098 2C 05 00 01 */ cmpwi r5, 1 +/* 8014013C 0013D09C 7C 7E 1B 78 */ mr r30, r3 +/* 80140140 0013D0A0 7C 9F 23 78 */ mr r31, r4 +/* 80140144 0013D0A4 41 82 01 A0 */ beq lbl_801402E4 +/* 80140148 0013D0A8 40 80 00 10 */ bge lbl_80140158 +/* 8014014C 0013D0AC 2C 05 00 00 */ cmpwi r5, 0 +/* 80140150 0013D0B0 40 80 00 14 */ bge lbl_80140164 +/* 80140154 0013D0B4 48 00 02 68 */ b lbl_801403BC +lbl_80140158: +/* 80140158 0013D0B8 2C 05 00 03 */ cmpwi r5, 3 +/* 8014015C 0013D0BC 40 80 02 60 */ bge lbl_801403BC +/* 80140160 0013D0C0 48 00 02 0C */ b lbl_8014036C +lbl_80140164: +/* 80140164 0013D0C4 A0 FE 00 08 */ lhz r7, 8(r30) +/* 80140168 0013D0C8 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8014016C 0013D0CC 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80140170 0013D0D0 38 60 00 01 */ li r3, 1 +/* 80140174 0013D0D4 B0 E1 00 18 */ sth r7, 0x18(r1) +/* 80140178 0013D0D8 A0 1E 06 C4 */ lhz r0, 0x6c4(r30) +/* 8014017C 0013D0DC B0 E1 00 14 */ sth r7, 0x14(r1) +/* 80140180 0013D0E0 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80140184 0013D0E4 48 0F 9E 6D */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId +/* 80140188 0013D0E8 38 00 00 01 */ li r0, 1 +/* 8014018C 0013D0EC 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80140190 0013D0F0 80 1E 06 D8 */ lwz r0, 0x6d8(r30) +/* 80140194 0013D0F4 2C 00 00 02 */ cmpwi r0, 2 +/* 80140198 0013D0F8 41 82 00 2C */ beq lbl_801401C4 +/* 8014019C 0013D0FC 40 80 00 10 */ bge lbl_801401AC +/* 801401A0 0013D100 2C 00 00 01 */ cmpwi r0, 1 +/* 801401A4 0013D104 40 80 00 14 */ bge lbl_801401B8 +/* 801401A8 0013D108 48 00 00 30 */ b lbl_801401D8 +lbl_801401AC: +/* 801401AC 0013D10C 2C 00 00 04 */ cmpwi r0, 4 +/* 801401B0 0013D110 40 80 00 28 */ bge lbl_801401D8 +/* 801401B4 0013D114 48 00 00 1C */ b lbl_801401D0 +lbl_801401B8: +/* 801401B8 0013D118 38 00 00 03 */ li r0, 3 +/* 801401BC 0013D11C 90 1E 06 7C */ stw r0, 0x67c(r30) +/* 801401C0 0013D120 48 00 00 18 */ b lbl_801401D8 +lbl_801401C4: +/* 801401C4 0013D124 38 00 00 04 */ li r0, 4 +/* 801401C8 0013D128 90 1E 06 7C */ stw r0, 0x67c(r30) +/* 801401CC 0013D12C 48 00 00 0C */ b lbl_801401D8 +lbl_801401D0: +/* 801401D0 0013D130 38 00 00 05 */ li r0, 5 +/* 801401D4 0013D134 90 1E 06 7C */ stw r0, 0x67c(r30) +lbl_801401D8: +/* 801401D8 0013D138 88 1E 06 65 */ lbz r0, 0x665(r30) +/* 801401DC 0013D13C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801401E0 0013D140 41 82 00 CC */ beq lbl_801402AC +/* 801401E4 0013D144 80 AD 8B B0 */ lwz r5, lbl_805A7770@sda21(r13) +/* 801401E8 0013D148 38 60 00 00 */ li r3, 0 +/* 801401EC 0013D14C 38 80 00 01 */ li r4, 1 +/* 801401F0 0013D150 48 24 9D 05 */ bl __shl2i +/* 801401F4 0013D154 3C A0 80 5A */ lis r5, lbl_805A66F4@ha +/* 801401F8 0013D158 39 00 00 00 */ li r8, 0 +/* 801401FC 0013D15C 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l +/* 80140200 0013D160 38 00 00 01 */ li r0, 1 +/* 80140204 0013D164 C0 82 9B 80 */ lfs f4, lbl_805AB8A0@sda21(r2) +/* 80140208 0013D168 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8014020C 0013D16C C0 46 00 08 */ lfs f2, 8(r6) +/* 80140210 0013D170 38 E1 00 50 */ addi r7, r1, 0x50 +/* 80140214 0013D174 C0 26 00 00 */ lfs f1, 0(r6) +/* 80140218 0013D178 90 81 00 54 */ stw r4, 0x54(r1) +/* 8014021C 0013D17C EC A4 00 B2 */ fmuls f5, f4, f2 +/* 80140220 0013D180 EC 64 00 72 */ fmuls f3, f4, f1 +/* 80140224 0013D184 C0 06 00 04 */ lfs f0, 4(r6) +/* 80140228 0013D188 90 61 00 50 */ stw r3, 0x50(r1) +/* 8014022C 0013D18C 7F E4 FB 78 */ mr r4, r31 +/* 80140230 0013D190 EC 24 00 32 */ fmuls f1, f4, f0 +/* 80140234 0013D194 91 01 00 5C */ stw r8, 0x5c(r1) +/* 80140238 0013D198 38 61 00 68 */ addi r3, r1, 0x68 +/* 8014023C 0013D19C 91 01 00 58 */ stw r8, 0x58(r1) +/* 80140240 0013D1A0 90 01 00 60 */ stw r0, 0x60(r1) +/* 80140244 0013D1A4 C1 1E 00 60 */ lfs f8, 0x60(r30) +/* 80140248 0013D1A8 C0 FE 00 50 */ lfs f7, 0x50(r30) +/* 8014024C 0013D1AC C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 80140250 0013D1B0 EC 88 28 2A */ fadds f4, f8, f5 +/* 80140254 0013D1B4 EC C7 08 2A */ fadds f6, f7, f1 +/* 80140258 0013D1B8 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8014025C 0013D1BC EC 02 18 2A */ fadds f0, f2, f3 +/* 80140260 0013D1C0 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 80140264 0013D1C4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80140268 0013D1C8 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 8014026C 0013D1CC D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80140270 0013D1D0 C0 3E 06 70 */ lfs f1, 0x670(r30) +/* 80140274 0013D1D4 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 80140278 0013D1D8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8014027C 0013D1DC D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 80140280 0013D1E0 D1 01 00 40 */ stfs f8, 0x40(r1) +/* 80140284 0013D1E4 4B F0 CD 15 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80140288 0013D1E8 88 01 00 88 */ lbz r0, 0x88(r1) +/* 8014028C 0013D1EC 28 00 00 00 */ cmplwi r0, 0 +/* 80140290 0013D1F0 40 82 00 1C */ bne lbl_801402AC +/* 80140294 0013D1F4 38 00 00 02 */ li r0, 2 +/* 80140298 0013D1F8 38 7E 04 60 */ addi r3, r30, 0x460 +/* 8014029C 0013D1FC 90 1E 06 7C */ stw r0, 0x67c(r30) +/* 801402A0 0013D200 38 80 00 02 */ li r4, 2 +/* 801402A4 0013D204 38 A0 00 00 */ li r5, 0 +/* 801402A8 0013D208 48 0F 3B 1D */ bl SetAvailableState__20CKnockBackControllerFib +lbl_801402AC: +/* 801402AC 0013D20C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 801402B0 0013D210 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 801402B4 0013D214 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 801402B8 0013D218 C0 03 00 04 */ lfs f0, 4(r3) +/* 801402BC 0013D21C D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 801402C0 0013D220 C0 03 00 08 */ lfs f0, 8(r3) +/* 801402C4 0013D224 D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 801402C8 0013D228 C0 03 00 00 */ lfs f0, 0(r3) +/* 801402CC 0013D22C D0 1E 00 FC */ stfs f0, 0xfc(r30) +/* 801402D0 0013D230 C0 03 00 04 */ lfs f0, 4(r3) +/* 801402D4 0013D234 D0 1E 01 00 */ stfs f0, 0x100(r30) +/* 801402D8 0013D238 C0 03 00 08 */ lfs f0, 8(r3) +/* 801402DC 0013D23C D0 1E 01 04 */ stfs f0, 0x104(r30) +/* 801402E0 0013D240 48 00 00 DC */ b lbl_801403BC +lbl_801402E4: +/* 801402E4 0013D244 3C A0 80 3E */ lis r5, lbl_803E18F4@ha +/* 801402E8 0013D248 38 C1 00 20 */ addi r6, r1, 0x20 +/* 801402EC 0013D24C 39 25 18 F4 */ addi r9, r5, lbl_803E18F4@l +/* 801402F0 0013D250 38 A0 00 07 */ li r5, 7 +/* 801402F4 0013D254 81 09 00 00 */ lwz r8, 0(r9) +/* 801402F8 0013D258 80 E9 00 04 */ lwz r7, 4(r9) +/* 801402FC 0013D25C 80 09 00 08 */ lwz r0, 8(r9) +/* 80140300 0013D260 91 01 00 20 */ stw r8, 0x20(r1) +/* 80140304 0013D264 90 E1 00 24 */ stw r7, 0x24(r1) +/* 80140308 0013D268 90 01 00 28 */ stw r0, 0x28(r1) +/* 8014030C 0013D26C 80 FE 06 7C */ lwz r7, 0x67c(r30) +/* 80140310 0013D270 4B F3 C4 A5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80140314 0013D274 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80140318 0013D278 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8014031C 0013D27C C0 23 00 40 */ lfs f1, 0x40(r3) +/* 80140320 0013D280 C0 83 00 50 */ lfs f4, 0x50(r3) +/* 80140324 0013D284 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 80140328 0013D288 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8014032C 0013D28C C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80140330 0013D290 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 80140334 0013D294 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80140338 0013D298 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8014033C 0013D29C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80140340 0013D2A0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80140344 0013D2A4 D0 63 00 20 */ stfs f3, 0x20(r3) +/* 80140348 0013D2A8 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 8014034C 0013D2AC 80 1E 06 7C */ lwz r0, 0x67c(r30) +/* 80140350 0013D2B0 2C 00 00 02 */ cmpwi r0, 2 +/* 80140354 0013D2B4 41 82 00 68 */ beq lbl_801403BC +/* 80140358 0013D2B8 FC 40 F8 90 */ fmr f2, f31 +/* 8014035C 0013D2BC C0 3E 06 78 */ lfs f1, 0x678(r30) +/* 80140360 0013D2C0 7F C3 F3 78 */ mr r3, r30 +/* 80140364 0013D2C4 48 00 12 39 */ bl sub_8014159c +/* 80140368 0013D2C8 48 00 00 54 */ b lbl_801403BC +lbl_8014036C: +/* 8014036C 0013D2CC 38 C0 00 00 */ li r6, 0 +/* 80140370 0013D2D0 38 7E 04 60 */ addi r3, r30, 0x460 +/* 80140374 0013D2D4 90 DE 03 2C */ stw r6, 0x32c(r30) +/* 80140378 0013D2D8 38 80 00 02 */ li r4, 2 +/* 8014037C 0013D2DC 38 A0 00 01 */ li r5, 1 +/* 80140380 0013D2E0 88 1E 06 65 */ lbz r0, 0x665(r30) +/* 80140384 0013D2E4 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 80140388 0013D2E8 98 1E 06 65 */ stb r0, 0x665(r30) +/* 8014038C 0013D2EC 48 0F 3A 39 */ bl SetAvailableState__20CKnockBackControllerFib +/* 80140390 0013D2F0 A1 1E 00 08 */ lhz r8, 8(r30) +/* 80140394 0013D2F4 7F E4 FB 78 */ mr r4, r31 +/* 80140398 0013D2F8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8014039C 0013D2FC 38 C1 00 0C */ addi r6, r1, 0xc +/* 801403A0 0013D300 B1 01 00 0C */ sth r8, 0xc(r1) +/* 801403A4 0013D304 38 60 00 01 */ li r3, 1 +/* 801403A8 0013D308 38 E0 00 01 */ li r7, 1 +/* 801403AC 0013D30C A0 1E 06 C4 */ lhz r0, 0x6c4(r30) +/* 801403B0 0013D310 B1 01 00 08 */ sth r8, 8(r1) +/* 801403B4 0013D314 B0 01 00 10 */ sth r0, 0x10(r1) +/* 801403B8 0013D318 48 0F 9B 19 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb +lbl_801403BC: +/* 801403BC 0013D31C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 801403C0 0013D320 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 801403C4 0013D324 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 801403C8 0013D328 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 801403CC 0013D32C 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 801403D0 0013D330 7C 08 03 A6 */ mtlr r0 +/* 801403D4 0013D334 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 801403D8 0013D338 4E 80 00 20 */ blr + +.global sub_801403dc +sub_801403dc: +/* 801403DC 0013D33C 80 03 06 80 */ lwz r0, 0x680(r3) +/* 801403E0 0013D340 20 00 00 02 */ subfic r0, r0, 2 +/* 801403E4 0013D344 7C 00 00 34 */ cntlzw r0, r0 +/* 801403E8 0013D348 54 03 D9 7E */ srwi r3, r0, 5 +/* 801403EC 0013D34C 4E 80 00 20 */ blr + +.global SelectTarget__11CChozoGhostFR13CStateManager9EStateMsgf +SelectTarget__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 801403F0 0013D350 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801403F4 0013D354 7C 08 02 A6 */ mflr r0 +/* 801403F8 0013D358 2C 05 00 00 */ cmpwi r5, 0 +/* 801403FC 0013D35C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80140400 0013D360 41 82 00 08 */ beq lbl_80140408 +/* 80140404 0013D364 48 00 00 08 */ b lbl_8014040C +lbl_80140408: +/* 80140408 0013D368 48 00 0B 79 */ bl sub_80140f80 +lbl_8014040C: +/* 8014040C 0013D36C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80140410 0013D370 7C 08 03 A6 */ mtlr r0 +/* 80140414 0013D374 38 21 00 10 */ addi r1, r1, 0x10 +/* 80140418 0013D378 4E 80 00 20 */ blr + +.global InRange__11CChozoGhostFR13CStateManagerf +InRange__11CChozoGhostFR13CStateManagerf: +/* 8014041C 0013D37C 88 03 06 65 */ lbz r0, 0x665(r3) +/* 80140420 0013D380 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 80140424 0013D384 4E 80 00 20 */ blr + +.global Run__11CChozoGhostFR13CStateManager9EStateMsgf +Run__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 80140428 0013D388 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8014042C 0013D38C 7C 08 02 A6 */ mflr r0 +/* 80140430 0013D390 90 01 00 74 */ stw r0, 0x74(r1) +/* 80140434 0013D394 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80140438 0013D398 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8014043C 0013D39C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80140440 0013D3A0 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80140444 0013D3A4 FF E0 08 90 */ fmr f31, f1 +/* 80140448 0013D3A8 2C 05 00 01 */ cmpwi r5, 1 +/* 8014044C 0013D3AC 7C 7F 1B 78 */ mr r31, r3 +/* 80140450 0013D3B0 7C 9E 23 78 */ mr r30, r4 +/* 80140454 0013D3B4 41 82 00 60 */ beq lbl_801404B4 +/* 80140458 0013D3B8 40 80 00 10 */ bge lbl_80140468 +/* 8014045C 0013D3BC 2C 05 00 00 */ cmpwi r5, 0 +/* 80140460 0013D3C0 40 80 00 14 */ bge lbl_80140474 +/* 80140464 0013D3C4 48 00 02 00 */ b lbl_80140664 +lbl_80140468: +/* 80140468 0013D3C8 2C 05 00 03 */ cmpwi r5, 3 +/* 8014046C 0013D3CC 40 80 01 F8 */ bge lbl_80140664 +/* 80140470 0013D3D0 48 00 01 84 */ b lbl_801405F4 +lbl_80140474: +/* 80140474 0013D3D4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80140478 0013D3D8 38 80 00 02 */ li r4, 2 +/* 8014047C 0013D3DC 4B FF A5 5D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80140480 0013D3E0 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 80140484 0013D3E4 38 60 00 00 */ li r3, 0 +/* 80140488 0013D3E8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8014048C 0013D3EC 38 7F 04 60 */ addi r3, r31, 0x460 +/* 80140490 0013D3F0 98 1F 04 00 */ stb r0, 0x400(r31) +/* 80140494 0013D3F4 38 80 00 02 */ li r4, 2 +/* 80140498 0013D3F8 38 A0 00 00 */ li r5, 0 +/* 8014049C 0013D3FC 48 0F 39 29 */ bl SetAvailableState__20CKnockBackControllerFib +/* 801404A0 0013D400 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 801404A4 0013D404 38 60 00 00 */ li r3, 0 +/* 801404A8 0013D408 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 801404AC 0013D40C 98 1F 06 65 */ stb r0, 0x665(r31) +/* 801404B0 0013D410 48 00 01 B4 */ b lbl_80140664 +lbl_801404B4: +/* 801404B4 0013D414 7F E5 FB 78 */ mr r5, r31 +/* 801404B8 0013D418 38 61 00 2C */ addi r3, r1, 0x2c +/* 801404BC 0013D41C 38 9F 06 88 */ addi r4, r31, 0x688 +/* 801404C0 0013D420 38 DF 02 E0 */ addi r6, r31, 0x2e0 +/* 801404C4 0013D424 4B FF E7 5D */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +/* 801404C8 0013D428 3C 60 80 5A */ lis r3, skZero3f@ha +/* 801404CC 0013D42C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 801404D0 0013D430 C0 C1 00 2C */ lfs f6, 0x2c(r1) +/* 801404D4 0013D434 38 81 00 38 */ addi r4, r1, 0x38 +/* 801404D8 0013D438 C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 801404DC 0013D43C C0 81 00 34 */ lfs f4, 0x34(r1) +/* 801404E0 0013D440 C0 43 00 04 */ lfs f2, 4(r3) +/* 801404E4 0013D444 C0 23 00 08 */ lfs f1, 8(r3) +/* 801404E8 0013D448 C0 02 9B 60 */ lfs f0, lbl_805AB880@sda21(r2) +/* 801404EC 0013D44C D0 C1 00 38 */ stfs f6, 0x38(r1) +/* 801404F0 0013D450 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 801404F4 0013D454 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 801404F8 0013D458 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 801404FC 0013D45C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80140500 0013D460 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80140504 0013D464 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80140508 0013D468 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8014050C 0013D46C 38 63 00 04 */ addi r3, r3, 4 +/* 80140510 0013D470 4B FF 12 09 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80140514 0013D474 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 80140518 0013D478 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8014051C 0013D47C 41 82 01 48 */ beq lbl_80140664 +/* 80140520 0013D480 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) +/* 80140524 0013D484 FC 40 F8 90 */ fmr f2, f31 +/* 80140528 0013D488 7F E3 FB 78 */ mr r3, r31 +/* 8014052C 0013D48C D0 1F 06 78 */ stfs f0, 0x678(r31) +/* 80140530 0013D490 C0 3F 06 78 */ lfs f1, 0x678(r31) +/* 80140534 0013D494 48 00 10 69 */ bl sub_8014159c +/* 80140538 0013D498 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 8014053C 0013D49C 3C 60 80 57 */ lis r3, lbl_805719CC@ha +/* 80140540 0013D4A0 38 83 19 CC */ addi r4, r3, lbl_805719CC@l +/* 80140544 0013D4A4 7F C6 F3 78 */ mr r6, r30 +/* 80140548 0013D4A8 80 65 00 10 */ lwz r3, 0x10(r5) +/* 8014054C 0013D4AC 38 A0 00 01 */ li r5, 1 +/* 80140550 0013D4B0 4B EE A8 71 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80140554 0013D4B4 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 80140558 0013D4B8 38 60 00 00 */ li r3, 0 +/* 8014055C 0013D4BC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80140560 0013D4C0 98 1F 06 65 */ stb r0, 0x665(r31) +/* 80140564 0013D4C4 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 80140568 0013D4C8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 8014056C 0013D4CC 40 82 00 F8 */ bne lbl_80140664 +/* 80140570 0013D4D0 38 7F 01 38 */ addi r3, r31, 0x138 +/* 80140574 0013D4D4 48 1D 43 45 */ bl Magnitude__9CVector3fCFv +/* 80140578 0013D4D8 C1 1F 00 50 */ lfs f8, 0x50(r31) +/* 8014057C 0013D4DC ED 5F 00 72 */ fmuls f10, f31, f1 +/* 80140580 0013D4E0 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80140584 0013D4E4 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) +/* 80140588 0013D4E8 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) +/* 8014058C 0013D4EC EC E8 08 28 */ fsubs f7, f8, f1 +/* 80140590 0013D4F0 C1 3F 00 60 */ lfs f9, 0x60(r31) +/* 80140594 0013D4F4 EC 62 00 28 */ fsubs f3, f2, f0 +/* 80140598 0013D4F8 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) +/* 8014059C 0013D4FC C0 A2 9B 84 */ lfs f5, lbl_805AB8A4@sda21(r2) +/* 801405A0 0013D500 EC C9 00 28 */ fsubs f6, f9, f0 +/* 801405A4 0013D504 C0 9F 06 6C */ lfs f4, 0x66c(r31) +/* 801405A8 0013D508 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 801405AC 0013D50C EC 07 01 F2 */ fmuls f0, f7, f7 +/* 801405B0 0013D510 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 801405B4 0013D514 EC 85 22 BA */ fmadds f4, f5, f10, f4 +/* 801405B8 0013D518 EC 46 01 B2 */ fmuls f2, f6, f6 +/* 801405BC 0013D51C D1 01 00 18 */ stfs f8, 0x18(r1) +/* 801405C0 0013D520 EC 21 00 2A */ fadds f1, f1, f0 +/* 801405C4 0013D524 EC 04 01 32 */ fmuls f0, f4, f4 +/* 801405C8 0013D528 D1 21 00 1C */ stfs f9, 0x1c(r1) +/* 801405CC 0013D52C EC 22 08 2A */ fadds f1, f2, f1 +/* 801405D0 0013D530 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 801405D4 0013D534 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 801405D8 0013D538 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801405DC 0013D53C D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 801405E0 0013D540 7C 60 00 26 */ mfcr r3 +/* 801405E4 0013D544 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 801405E8 0013D548 50 60 27 38 */ rlwimi r0, r3, 4, 0x1c, 0x1c +/* 801405EC 0013D54C 98 1F 06 65 */ stb r0, 0x665(r31) +/* 801405F0 0013D550 48 00 00 74 */ b lbl_80140664 +lbl_801405F4: +/* 801405F4 0013D554 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 801405F8 0013D558 38 80 00 00 */ li r4, 0 +/* 801405FC 0013D55C 4B FF A3 DD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80140600 0013D560 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80140604 0013D564 7F E3 FB 78 */ mr r3, r31 +/* 80140608 0013D568 38 81 00 08 */ addi r4, r1, 8 +/* 8014060C 0013D56C C0 45 00 60 */ lfs f2, 0x60(r5) +/* 80140610 0013D570 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 80140614 0013D574 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80140618 0013D578 D0 01 00 08 */ stfs f0, 8(r1) +/* 8014061C 0013D57C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80140620 0013D580 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80140624 0013D584 4B F3 C5 39 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80140628 0013D588 80 BF 00 64 */ lwz r5, 0x64(r31) +/* 8014062C 0013D58C 3C 60 80 57 */ lis r3, lbl_805719CC@ha +/* 80140630 0013D590 38 83 19 CC */ addi r4, r3, lbl_805719CC@l +/* 80140634 0013D594 7F C6 F3 78 */ mr r6, r30 +/* 80140638 0013D598 80 65 00 10 */ lwz r3, 0x10(r5) +/* 8014063C 0013D59C 38 A0 00 00 */ li r5, 0 +/* 80140640 0013D5A0 4B EE A7 81 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80140644 0013D5A4 38 7F 04 60 */ addi r3, r31, 0x460 +/* 80140648 0013D5A8 38 80 00 02 */ li r4, 2 +/* 8014064C 0013D5AC 38 A0 00 01 */ li r5, 1 +/* 80140650 0013D5B0 48 0F 37 75 */ bl SetAvailableState__20CKnockBackControllerFib +/* 80140654 0013D5B4 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 80140658 0013D5B8 38 60 00 00 */ li r3, 0 +/* 8014065C 0013D5BC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80140660 0013D5C0 98 1F 06 65 */ stb r0, 0x665(r31) +lbl_80140664: +/* 80140664 0013D5C4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80140668 0013D5C8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8014066C 0013D5CC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80140670 0013D5D0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80140674 0013D5D4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80140678 0013D5D8 7C 08 03 A6 */ mtlr r0 +/* 8014067C 0013D5DC 38 21 00 70 */ addi r1, r1, 0x70 +/* 80140680 0013D5E0 4E 80 00 20 */ blr + +.global WallDetach__11CChozoGhostFR13CStateManager9EStateMsgf +WallDetach__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 80140684 0013D5E4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80140688 0013D5E8 7C 08 02 A6 */ mflr r0 +/* 8014068C 0013D5EC 2C 05 00 01 */ cmpwi r5, 1 +/* 80140690 0013D5F0 90 01 00 84 */ stw r0, 0x84(r1) +/* 80140694 0013D5F4 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80140698 0013D5F8 93 C1 00 78 */ stw r30, 0x78(r1) +/* 8014069C 0013D5FC 7C 9E 23 78 */ mr r30, r4 +/* 801406A0 0013D600 93 A1 00 74 */ stw r29, 0x74(r1) +/* 801406A4 0013D604 7C 7D 1B 78 */ mr r29, r3 +/* 801406A8 0013D608 41 82 01 C4 */ beq lbl_8014086C +/* 801406AC 0013D60C 40 80 00 10 */ bge lbl_801406BC +/* 801406B0 0013D610 2C 05 00 00 */ cmpwi r5, 0 +/* 801406B4 0013D614 40 80 00 14 */ bge lbl_801406C8 +/* 801406B8 0013D618 48 00 01 B4 */ b lbl_8014086C +lbl_801406BC: +/* 801406BC 0013D61C 2C 05 00 03 */ cmpwi r5, 3 +/* 801406C0 0013D620 40 80 01 AC */ bge lbl_8014086C +/* 801406C4 0013D624 48 00 01 68 */ b lbl_8014082C +lbl_801406C8: +/* 801406C8 0013D628 C0 1D 05 6C */ lfs f0, 0x56c(r29) +/* 801406CC 0013D62C 38 A0 00 00 */ li r5, 0 +/* 801406D0 0013D630 C0 22 9B 60 */ lfs f1, lbl_805AB880@sda21(r2) +/* 801406D4 0013D634 D0 1D 03 40 */ stfs f0, 0x340(r29) +/* 801406D8 0013D638 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 801406DC 0013D63C D0 3D 03 E8 */ stfs f1, 0x3e8(r29) +/* 801406E0 0013D640 88 1D 06 64 */ lbz r0, 0x664(r29) +/* 801406E4 0013D644 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 801406E8 0013D648 98 1D 06 64 */ stb r0, 0x664(r29) +/* 801406EC 0013D64C C0 3D 05 6C */ lfs f1, 0x56c(r29) +/* 801406F0 0013D650 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801406F4 0013D654 40 81 00 28 */ ble lbl_8014071C +/* 801406F8 0013D658 D0 3D 06 C8 */ stfs f1, 0x6c8(r29) +/* 801406FC 0013D65C 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80140700 0013D660 C0 5D 00 58 */ lfs f2, 0x58(r29) +/* 80140704 0013D664 C0 3D 00 48 */ lfs f1, 0x48(r29) +/* 80140708 0013D668 C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 8014070C 0013D66C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80140710 0013D670 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80140714 0013D674 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80140718 0013D678 48 00 05 FD */ bl sub_80140d14 +lbl_8014071C: +/* 8014071C 0013D67C 7F A4 EB 78 */ mr r4, r29 +/* 80140720 0013D680 7F C5 F3 78 */ mr r5, r30 +/* 80140724 0013D684 38 61 00 14 */ addi r3, r1, 0x14 +/* 80140728 0013D688 3B E0 00 00 */ li r31, 0 +/* 8014072C 0013D68C 38 C0 00 0A */ li r6, 0xa +/* 80140730 0013D690 38 E0 00 06 */ li r7, 6 +/* 80140734 0013D694 48 0B 48 65 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 80140738 0013D698 A0 61 00 14 */ lhz r3, 0x14(r1) +/* 8014073C 0013D69C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80140740 0013D6A0 B0 61 00 18 */ sth r3, 0x18(r1) +/* 80140744 0013D6A4 7C 03 00 40 */ cmplw r3, r0 +/* 80140748 0013D6A8 41 82 00 24 */ beq lbl_8014076C +/* 8014074C 0013D6AC B0 61 00 10 */ sth r3, 0x10(r1) +/* 80140750 0013D6B0 7F C3 F3 78 */ mr r3, r30 +/* 80140754 0013D6B4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80140758 0013D6B8 4B F0 BE 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8014075C 0013D6BC 7C 64 1B 78 */ mr r4, r3 +/* 80140760 0013D6C0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80140764 0013D6C4 4B F6 F5 2D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80140768 0013D6C8 83 E3 00 04 */ lwz r31, 4(r3) +lbl_8014076C: +/* 8014076C 0013D6CC 28 1F 00 00 */ cmplwi r31, 0 +/* 80140770 0013D6D0 41 82 00 2C */ beq lbl_8014079C +/* 80140774 0013D6D4 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80140778 0013D6D8 7F A3 EB 78 */ mr r3, r29 +/* 8014077C 0013D6DC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80140780 0013D6E0 38 81 00 54 */ addi r4, r1, 0x54 +/* 80140784 0013D6E4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80140788 0013D6E8 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8014078C 0013D6EC D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80140790 0013D6F0 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 80140794 0013D6F4 4B F3 C3 C9 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80140798 0013D6F8 48 00 00 7C */ b lbl_80140814 +lbl_8014079C: +/* 8014079C 0013D6FC C0 22 9B 68 */ lfs f1, lbl_805AB888@sda21(r2) +/* 801407A0 0013D700 7F A3 EB 78 */ mr r3, r29 +/* 801407A4 0013D704 C0 1D 06 6C */ lfs f0, 0x66c(r29) +/* 801407A8 0013D708 38 81 00 48 */ addi r4, r1, 0x48 +/* 801407AC 0013D70C C0 FD 00 58 */ lfs f7, 0x58(r29) +/* 801407B0 0013D710 EC 41 00 32 */ fmuls f2, f1, f0 +/* 801407B4 0013D714 C0 BD 00 48 */ lfs f5, 0x48(r29) +/* 801407B8 0013D718 C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 801407BC 0013D71C C1 3D 00 60 */ lfs f9, 0x60(r29) +/* 801407C0 0013D720 EC 62 01 F2 */ fmuls f3, f2, f7 +/* 801407C4 0013D724 C1 1D 00 50 */ lfs f8, 0x50(r29) +/* 801407C8 0013D728 EC 82 01 72 */ fmuls f4, f2, f5 +/* 801407CC 0013D72C C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 801407D0 0013D730 EC 42 00 32 */ fmuls f2, f2, f0 +/* 801407D4 0013D734 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 801407D8 0013D738 EC C8 20 2A */ fadds f6, f8, f4 +/* 801407DC 0013D73C D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 801407E0 0013D740 EC A9 18 2A */ fadds f5, f9, f3 +/* 801407E4 0013D744 EC 01 10 2A */ fadds f0, f1, f2 +/* 801407E8 0013D748 D0 E1 00 2C */ stfs f7, 0x2c(r1) +/* 801407EC 0013D74C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 801407F0 0013D750 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 801407F4 0013D754 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 801407F8 0013D758 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 801407FC 0013D75C D1 01 00 40 */ stfs f8, 0x40(r1) +/* 80140800 0013D760 D1 21 00 44 */ stfs f9, 0x44(r1) +/* 80140804 0013D764 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80140808 0013D768 D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 8014080C 0013D76C D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 80140810 0013D770 4B F3 C3 4D */ bl SetDestPos__10CPatternedFRC9CVector3f +lbl_80140814: +/* 80140814 0013D774 7F A3 EB 78 */ mr r3, r29 +/* 80140818 0013D778 7F C5 F3 78 */ mr r5, r30 +/* 8014081C 0013D77C 38 80 00 0A */ li r4, 0xa +/* 80140820 0013D780 38 C0 00 06 */ li r6, 6 +/* 80140824 0013D784 4B F1 08 9D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80140828 0013D788 48 00 00 44 */ b lbl_8014086C +lbl_8014082C: +/* 8014082C 0013D78C 38 7D 06 8C */ addi r3, r29, 0x68c +/* 80140830 0013D790 38 80 00 01 */ li r4, 1 +/* 80140834 0013D794 48 03 49 F1 */ bl SetActive__13CBoneTrackingFb +/* 80140838 0013D798 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 8014083C 0013D79C 38 7D 06 8C */ addi r3, r29, 0x68c +/* 80140840 0013D7A0 38 81 00 0C */ addi r4, r1, 0xc +/* 80140844 0013D7A4 A0 05 00 08 */ lhz r0, 8(r5) +/* 80140848 0013D7A8 B0 01 00 08 */ sth r0, 8(r1) +/* 8014084C 0013D7AC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80140850 0013D7B0 48 03 49 C9 */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 80140854 0013D7B4 88 7D 06 65 */ lbz r3, 0x665(r29) +/* 80140858 0013D7B8 38 00 00 00 */ li r0, 0 +/* 8014085C 0013D7BC 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 80140860 0013D7C0 38 00 00 03 */ li r0, 3 +/* 80140864 0013D7C4 98 7D 06 65 */ stb r3, 0x665(r29) +/* 80140868 0013D7C8 90 1D 06 80 */ stw r0, 0x680(r29) +lbl_8014086C: +/* 8014086C 0013D7CC 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80140870 0013D7D0 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80140874 0013D7D4 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80140878 0013D7D8 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 8014087C 0013D7DC 7C 08 03 A6 */ mtlr r0 +/* 80140880 0013D7E0 38 21 00 80 */ addi r1, r1, 0x80 +/* 80140884 0013D7E4 4E 80 00 20 */ blr + +.global Generate__11CChozoGhostFR13CStateManager9EStateMsgf +Generate__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 80140888 0013D7E8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8014088C 0013D7EC 7C 08 02 A6 */ mflr r0 +/* 80140890 0013D7F0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80140894 0013D7F4 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80140898 0013D7F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8014089C 0013D7FC 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 801408A0 0013D800 93 C1 00 98 */ stw r30, 0x98(r1) +/* 801408A4 0013D804 FF E0 08 90 */ fmr f31, f1 +/* 801408A8 0013D808 2C 05 00 01 */ cmpwi r5, 1 +/* 801408AC 0013D80C 7C 7E 1B 78 */ mr r30, r3 +/* 801408B0 0013D810 7C 9F 23 78 */ mr r31, r4 +/* 801408B4 0013D814 41 82 01 20 */ beq lbl_801409D4 +/* 801408B8 0013D818 40 80 00 10 */ bge lbl_801408C8 +/* 801408BC 0013D81C 2C 05 00 00 */ cmpwi r5, 0 +/* 801408C0 0013D820 40 80 00 14 */ bge lbl_801408D4 +/* 801408C4 0013D824 48 00 02 2C */ b lbl_80140AF0 +lbl_801408C8: +/* 801408C8 0013D828 2C 05 00 03 */ cmpwi r5, 3 +/* 801408CC 0013D82C 40 80 02 24 */ bge lbl_80140AF0 +/* 801408D0 0013D830 48 00 02 00 */ b lbl_80140AD0 +lbl_801408D4: +/* 801408D4 0013D834 C0 1E 05 6C */ lfs f0, 0x56c(r30) +/* 801408D8 0013D838 38 00 00 01 */ li r0, 1 +/* 801408DC 0013D83C 38 A0 00 00 */ li r5, 0 +/* 801408E0 0013D840 38 60 00 00 */ li r3, 0 +/* 801408E4 0013D844 D0 1E 03 40 */ stfs f0, 0x340(r30) +/* 801408E8 0013D848 38 80 00 01 */ li r4, 1 +/* 801408EC 0013D84C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 801408F0 0013D850 88 1E 06 64 */ lbz r0, 0x664(r30) +/* 801408F4 0013D854 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 801408F8 0013D858 98 1E 06 64 */ stb r0, 0x664(r30) +/* 801408FC 0013D85C 80 AD 8B AC */ lwz r5, lbl_805A776C@sda21(r13) +/* 80140900 0013D860 48 24 95 F5 */ bl __shl2i +/* 80140904 0013D864 39 00 00 00 */ li r8, 0 +/* 80140908 0013D868 38 00 00 01 */ li r0, 1 +/* 8014090C 0013D86C 90 81 00 54 */ stw r4, 0x54(r1) +/* 80140910 0013D870 3C 80 80 5A */ lis r4, lbl_805A6700@ha +/* 80140914 0013D874 38 C4 67 00 */ addi r6, r4, lbl_805A6700@l +/* 80140918 0013D878 C0 22 9B 88 */ lfs f1, lbl_805AB8A8@sda21(r2) +/* 8014091C 0013D87C 90 61 00 50 */ stw r3, 0x50(r1) +/* 80140920 0013D880 7F E4 FB 78 */ mr r4, r31 +/* 80140924 0013D884 38 61 00 68 */ addi r3, r1, 0x68 +/* 80140928 0013D888 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8014092C 0013D88C 91 01 00 5C */ stw r8, 0x5c(r1) +/* 80140930 0013D890 38 E1 00 50 */ addi r7, r1, 0x50 +/* 80140934 0013D894 91 01 00 58 */ stw r8, 0x58(r1) +/* 80140938 0013D898 90 01 00 60 */ stw r0, 0x60(r1) +/* 8014093C 0013D89C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80140940 0013D8A0 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80140944 0013D8A4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80140948 0013D8A8 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8014094C 0013D8AC D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80140950 0013D8B0 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 80140954 0013D8B4 4B F0 C6 45 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80140958 0013D8B8 88 01 00 88 */ lbz r0, 0x88(r1) +/* 8014095C 0013D8BC C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80140960 0013D8C0 28 00 00 00 */ cmplwi r0, 0 +/* 80140964 0013D8C4 41 82 00 0C */ beq lbl_80140970 +/* 80140968 0013D8C8 D0 1E 06 78 */ stfs f0, 0x678(r30) +/* 8014096C 0013D8CC 48 00 00 24 */ b lbl_80140990 +lbl_80140970: +/* 80140970 0013D8D0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80140974 0013D8D4 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80140978 0013D8D8 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8014097C 0013D8DC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80140980 0013D8E0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80140984 0013D8E4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80140988 0013D8E8 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8014098C 0013D8EC D0 5E 06 78 */ stfs f2, 0x678(r30) +lbl_80140990: +/* 80140990 0013D8F0 C0 22 9B 60 */ lfs f1, lbl_805AB880@sda21(r2) +/* 80140994 0013D8F4 38 60 00 01 */ li r3, 1 +/* 80140998 0013D8F8 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 8014099C 0013D8FC D0 3E 03 E8 */ stfs f1, 0x3e8(r30) +/* 801409A0 0013D900 88 1E 06 64 */ lbz r0, 0x664(r30) +/* 801409A4 0013D904 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 801409A8 0013D908 98 1E 06 64 */ stb r0, 0x664(r30) +/* 801409AC 0013D90C C0 3E 05 6C */ lfs f1, 0x56c(r30) +/* 801409B0 0013D910 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801409B4 0013D914 40 81 01 3C */ ble lbl_80140AF0 +/* 801409B8 0013D918 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 801409BC 0013D91C D0 3E 06 C8 */ stfs f1, 0x6c8(r30) +/* 801409C0 0013D920 38 A3 67 00 */ addi r5, r3, lbl_805A6700@l +/* 801409C4 0013D924 7F E4 FB 78 */ mr r4, r31 +/* 801409C8 0013D928 7F C3 F3 78 */ mr r3, r30 +/* 801409CC 0013D92C 48 00 03 49 */ bl sub_80140d14 +/* 801409D0 0013D930 48 00 01 20 */ b lbl_80140AF0 +lbl_801409D4: +/* 801409D4 0013D934 3C A0 80 3E */ lis r5, lbl_803E18E8@ha +/* 801409D8 0013D938 38 C1 00 1C */ addi r6, r1, 0x1c +/* 801409DC 0013D93C 39 45 18 E8 */ addi r10, r5, lbl_803E18E8@l +/* 801409E0 0013D940 38 A0 00 0D */ li r5, 0xd +/* 801409E4 0013D944 81 2A 00 00 */ lwz r9, 0(r10) +/* 801409E8 0013D948 38 E0 00 00 */ li r7, 0 +/* 801409EC 0013D94C 81 0A 00 04 */ lwz r8, 4(r10) +/* 801409F0 0013D950 80 0A 00 08 */ lwz r0, 8(r10) +/* 801409F4 0013D954 91 21 00 1C */ stw r9, 0x1c(r1) +/* 801409F8 0013D958 91 01 00 20 */ stw r8, 0x20(r1) +/* 801409FC 0013D95C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80140A00 0013D960 4B F3 BD B5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80140A04 0013D964 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80140A08 0013D968 2C 00 00 03 */ cmpwi r0, 3 +/* 80140A0C 0013D96C 41 82 00 88 */ beq lbl_80140A94 +/* 80140A10 0013D970 40 80 00 E0 */ bge lbl_80140AF0 +/* 80140A14 0013D974 2C 00 00 02 */ cmpwi r0, 2 +/* 80140A18 0013D978 40 80 00 08 */ bge lbl_80140A20 +/* 80140A1C 0013D97C 48 00 00 D4 */ b lbl_80140AF0 +lbl_80140A20: +/* 80140A20 0013D980 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80140A24 0013D984 38 80 00 00 */ li r4, 0 +/* 80140A28 0013D988 4B FF 9F B1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80140A2C 0013D98C 88 1E 06 64 */ lbz r0, 0x664(r30) +/* 80140A30 0013D990 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80140A34 0013D994 40 82 00 BC */ bne lbl_80140AF0 +/* 80140A38 0013D998 C0 3E 06 78 */ lfs f1, 0x678(r30) +/* 80140A3C 0013D99C C0 1E 06 68 */ lfs f0, 0x668(r30) +/* 80140A40 0013D9A0 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80140A44 0013D9A4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80140A48 0013D9A8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80140A4C 0013D9AC C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80140A50 0013D9B0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80140A54 0013D9B4 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80140A58 0013D9B8 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80140A5C 0013D9BC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80140A60 0013D9C0 40 80 00 90 */ bge lbl_80140AF0 +/* 80140A64 0013D9C4 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80140A68 0013D9C8 7F C3 F3 78 */ mr r3, r30 +/* 80140A6C 0013D9CC 38 81 00 40 */ addi r4, r1, 0x40 +/* 80140A70 0013D9D0 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80140A74 0013D9D4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80140A78 0013D9D8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80140A7C 0013D9DC 4B F1 24 11 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80140A80 0013D9E0 88 1E 06 64 */ lbz r0, 0x664(r30) +/* 80140A84 0013D9E4 38 60 00 01 */ li r3, 1 +/* 80140A88 0013D9E8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80140A8C 0013D9EC 98 1E 06 64 */ stb r0, 0x664(r30) +/* 80140A90 0013D9F0 48 00 00 60 */ b lbl_80140AF0 +lbl_80140A94: +/* 80140A94 0013D9F4 38 7E 06 8C */ addi r3, r30, 0x68c +/* 80140A98 0013D9F8 38 80 00 01 */ li r4, 1 +/* 80140A9C 0013D9FC 48 03 47 89 */ bl SetActive__13CBoneTrackingFb +/* 80140AA0 0013DA00 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80140AA4 0013DA04 38 7E 06 8C */ addi r3, r30, 0x68c +/* 80140AA8 0013DA08 38 81 00 0C */ addi r4, r1, 0xc +/* 80140AAC 0013DA0C A0 05 00 08 */ lhz r0, 8(r5) +/* 80140AB0 0013DA10 B0 01 00 08 */ sth r0, 8(r1) +/* 80140AB4 0013DA14 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80140AB8 0013DA18 48 03 47 61 */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 80140ABC 0013DA1C FC 40 F8 90 */ fmr f2, f31 +/* 80140AC0 0013DA20 C0 3E 06 78 */ lfs f1, 0x678(r30) +/* 80140AC4 0013DA24 7F C3 F3 78 */ mr r3, r30 +/* 80140AC8 0013DA28 48 00 0A D5 */ bl sub_8014159c +/* 80140ACC 0013DA2C 48 00 00 24 */ b lbl_80140AF0 +lbl_80140AD0: +/* 80140AD0 0013DA30 38 60 00 00 */ li r3, 0 +/* 80140AD4 0013DA34 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80140AD8 0013DA38 88 1E 06 65 */ lbz r0, 0x665(r30) +/* 80140ADC 0013DA3C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80140AE0 0013DA40 98 1E 06 65 */ stb r0, 0x665(r30) +/* 80140AE4 0013DA44 88 1E 06 64 */ lbz r0, 0x664(r30) +/* 80140AE8 0013DA48 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80140AEC 0013DA4C 98 1E 06 64 */ stb r0, 0x664(r30) +lbl_80140AF0: +/* 80140AF0 0013DA50 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80140AF4 0013DA54 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80140AF8 0013DA58 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80140AFC 0013DA5C 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80140B00 0013DA60 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 80140B04 0013DA64 7C 08 03 A6 */ mtlr r0 +/* 80140B08 0013DA68 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80140B0C 0013DA6C 4E 80 00 20 */ blr + +.global Growth__11CChozoGhostFR13CStateManager9EStateMsgf +Growth__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 80140B10 0013DA70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80140B14 0013DA74 7C 08 02 A6 */ mflr r0 +/* 80140B18 0013DA78 2C 05 00 01 */ cmpwi r5, 1 +/* 80140B1C 0013DA7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80140B20 0013DA80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80140B24 0013DA84 7C 9F 23 78 */ mr r31, r4 +/* 80140B28 0013DA88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80140B2C 0013DA8C 7C 7E 1B 78 */ mr r30, r3 +/* 80140B30 0013DA90 41 82 00 B0 */ beq lbl_80140BE0 +/* 80140B34 0013DA94 40 80 00 10 */ bge lbl_80140B44 +/* 80140B38 0013DA98 2C 05 00 00 */ cmpwi r5, 0 +/* 80140B3C 0013DA9C 40 80 00 14 */ bge lbl_80140B50 +/* 80140B40 0013DAA0 48 00 00 A0 */ b lbl_80140BE0 +lbl_80140B44: +/* 80140B44 0013DAA4 2C 05 00 03 */ cmpwi r5, 3 +/* 80140B48 0013DAA8 40 80 00 98 */ bge lbl_80140BE0 +/* 80140B4C 0013DAAC 48 00 00 5C */ b lbl_80140BA8 +lbl_80140B50: +/* 80140B50 0013DAB0 C0 1E 05 6C */ lfs f0, 0x56c(r30) +/* 80140B54 0013DAB4 38 80 00 00 */ li r4, 0 +/* 80140B58 0013DAB8 D0 1E 03 40 */ stfs f0, 0x340(r30) +/* 80140B5C 0013DABC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80140B60 0013DAC0 4B FF 9E 79 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80140B64 0013DAC4 C0 22 9B 60 */ lfs f1, lbl_805AB880@sda21(r2) +/* 80140B68 0013DAC8 38 60 00 01 */ li r3, 1 +/* 80140B6C 0013DACC C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 80140B70 0013DAD0 D0 3E 03 E8 */ stfs f1, 0x3e8(r30) +/* 80140B74 0013DAD4 88 1E 06 64 */ lbz r0, 0x664(r30) +/* 80140B78 0013DAD8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80140B7C 0013DADC 98 1E 06 64 */ stb r0, 0x664(r30) +/* 80140B80 0013DAE0 C0 3E 05 6C */ lfs f1, 0x56c(r30) +/* 80140B84 0013DAE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80140B88 0013DAE8 40 81 00 58 */ ble lbl_80140BE0 +/* 80140B8C 0013DAEC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80140B90 0013DAF0 D0 3E 06 C8 */ stfs f1, 0x6c8(r30) +/* 80140B94 0013DAF4 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l +/* 80140B98 0013DAF8 7F E4 FB 78 */ mr r4, r31 +/* 80140B9C 0013DAFC 7F C3 F3 78 */ mr r3, r30 +/* 80140BA0 0013DB00 48 00 01 75 */ bl sub_80140d14 +/* 80140BA4 0013DB04 48 00 00 3C */ b lbl_80140BE0 +lbl_80140BA8: +/* 80140BA8 0013DB08 88 1E 06 65 */ lbz r0, 0x665(r30) +/* 80140BAC 0013DB0C 38 60 00 00 */ li r3, 0 +/* 80140BB0 0013DB10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80140BB4 0013DB14 38 7E 06 8C */ addi r3, r30, 0x68c +/* 80140BB8 0013DB18 98 1E 06 65 */ stb r0, 0x665(r30) +/* 80140BBC 0013DB1C 38 80 00 01 */ li r4, 1 +/* 80140BC0 0013DB20 48 03 46 65 */ bl SetActive__13CBoneTrackingFb +/* 80140BC4 0013DB24 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80140BC8 0013DB28 38 7E 06 8C */ addi r3, r30, 0x68c +/* 80140BCC 0013DB2C 38 81 00 0C */ addi r4, r1, 0xc +/* 80140BD0 0013DB30 A0 05 00 08 */ lhz r0, 8(r5) +/* 80140BD4 0013DB34 B0 01 00 08 */ sth r0, 8(r1) +/* 80140BD8 0013DB38 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80140BDC 0013DB3C 48 03 46 3D */ bl SetTarget__13CBoneTrackingF9TUniqueId +lbl_80140BE0: +/* 80140BE0 0013DB40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80140BE4 0013DB44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80140BE8 0013DB48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80140BEC 0013DB4C 7C 08 03 A6 */ mtlr r0 +/* 80140BF0 0013DB50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80140BF4 0013DB54 4E 80 00 20 */ blr + +.global AIStage__11CChozoGhostFR13CStateManagerf +AIStage__11CChozoGhostFR13CStateManagerf: +/* 80140BF8 0013DB58 FC 00 08 1E */ fctiwz f0, f1 +/* 80140BFC 0013DB5C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80140C00 0013DB60 80 03 06 3C */ lwz r0, 0x63c(r3) +/* 80140C04 0013DB64 D8 01 00 08 */ stfd f0, 8(r1) +/* 80140C08 0013DB68 80 61 00 0C */ lwz r3, 0xc(r1) +/* 80140C0C 0013DB6C 7C 00 18 50 */ subf r0, r0, r3 +/* 80140C10 0013DB70 7C 00 00 34 */ cntlzw r0, r0 +/* 80140C14 0013DB74 54 03 D9 7E */ srwi r3, r0, 5 +/* 80140C18 0013DB78 38 21 00 10 */ addi r1, r1, 0x10 +/* 80140C1C 0013DB7C 4E 80 00 20 */ blr + +.global InActive__11CChozoGhostFR13CStateManager9EStateMsgf +InActive__11CChozoGhostFR13CStateManager9EStateMsgf: +/* 80140C20 0013DB80 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80140C24 0013DB84 7C 08 02 A6 */ mflr r0 +/* 80140C28 0013DB88 90 01 00 34 */ stw r0, 0x34(r1) +/* 80140C2C 0013DB8C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80140C30 0013DB90 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80140C34 0013DB94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80140C38 0013DB98 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80140C3C 0013DB9C 2C 05 00 01 */ cmpwi r5, 1 +/* 80140C40 0013DBA0 7C 7E 1B 78 */ mr r30, r3 +/* 80140C44 0013DBA4 7C 9F 23 78 */ mr r31, r4 +/* 80140C48 0013DBA8 41 82 00 AC */ beq lbl_80140CF4 +/* 80140C4C 0013DBAC 40 80 00 A8 */ bge lbl_80140CF4 +/* 80140C50 0013DBB0 2C 05 00 00 */ cmpwi r5, 0 +/* 80140C54 0013DBB4 40 80 00 08 */ bge lbl_80140C5C +/* 80140C58 0013DBB8 48 00 00 9C */ b lbl_80140CF4 +lbl_80140C5C: +/* 80140C5C 0013DBBC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80140C60 0013DBC0 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80140C64 0013DBC4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80140C68 0013DBC8 40 82 00 08 */ bne lbl_80140C70 +/* 80140C6C 0013DBCC 4B FF A0 85 */ bl Activate__15CBodyControllerFR13CStateManager +lbl_80140C70: +/* 80140C70 0013DBD0 80 1E 06 3C */ lwz r0, 0x63c(r30) +/* 80140C74 0013DBD4 2C 00 00 03 */ cmpwi r0, 3 +/* 80140C78 0013DBD8 40 82 00 24 */ bne lbl_80140C9C +/* 80140C7C 0013DBDC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80140C80 0013DBE0 38 80 00 00 */ li r4, 0 +/* 80140C84 0013DBE4 4B FF 9D 55 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80140C88 0013DBE8 C3 E2 9B 8C */ lfs f31, lbl_805AB8AC@sda21(r2) +/* 80140C8C 0013DBEC F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 80140C90 0013DBF0 88 01 00 09 */ lbz r0, 9(r1) +/* 80140C94 0013DBF4 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 80140C98 0013DBF8 48 00 00 20 */ b lbl_80140CB8 +lbl_80140C9C: +/* 80140C9C 0013DBFC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80140CA0 0013DC00 38 80 00 01 */ li r4, 1 +/* 80140CA4 0013DC04 4B FF 9D 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80140CA8 0013DC08 C3 E2 9B 5C */ lfs f31, lbl_805AB87C@sda21(r2) +/* 80140CAC 0013DC0C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80140CB0 0013DC10 88 01 00 08 */ lbz r0, 8(r1) +/* 80140CB4 0013DC14 98 1E 04 2F */ stb r0, 0x42f(r30) +lbl_80140CB8: +/* 80140CB8 0013DC18 7F C3 F3 78 */ mr r3, r30 +/* 80140CBC 0013DC1C 7F E5 FB 78 */ mr r5, r31 +/* 80140CC0 0013DC20 38 80 00 13 */ li r4, 0x13 +/* 80140CC4 0013DC24 4B F1 32 BD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80140CC8 0013DC28 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80140CCC 0013DC2C C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 80140CD0 0013DC30 38 60 00 01 */ li r3, 1 +/* 80140CD4 0013DC34 D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 80140CD8 0013DC38 C0 04 00 04 */ lfs f0, 4(r4) +/* 80140CDC 0013DC3C D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 80140CE0 0013DC40 C0 04 00 08 */ lfs f0, 8(r4) +/* 80140CE4 0013DC44 D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 80140CE8 0013DC48 88 1E 06 65 */ lbz r0, 0x665(r30) +/* 80140CEC 0013DC4C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80140CF0 0013DC50 98 1E 06 65 */ stb r0, 0x665(r30) +lbl_80140CF4: +/* 80140CF4 0013DC54 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80140CF8 0013DC58 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80140CFC 0013DC5C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80140D00 0013DC60 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80140D04 0013DC64 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80140D08 0013DC68 7C 08 03 A6 */ mtlr r0 +/* 80140D0C 0013DC6C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80140D10 0013DC70 4E 80 00 20 */ blr + +.global sub_80140d14 +sub_80140d14: +/* 80140D14 0013DC74 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 80140D18 0013DC78 7C 08 02 A6 */ mflr r0 +/* 80140D1C 0013DC7C 90 01 01 14 */ stw r0, 0x114(r1) +/* 80140D20 0013DC80 DB E1 01 00 */ stfd f31, 0x100(r1) +/* 80140D24 0013DC84 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 80140D28 0013DC88 DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 80140D2C 0013DC8C F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 80140D30 0013DC90 DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 80140D34 0013DC94 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 80140D38 0013DC98 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 80140D3C 0013DC9C 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 80140D40 0013DCA0 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 80140D44 0013DCA4 7C 7D 1B 78 */ mr r29, r3 +/* 80140D48 0013DCA8 7C 9E 23 78 */ mr r30, r4 +/* 80140D4C 0013DCAC 7C BF 2B 78 */ mr r31, r5 +/* 80140D50 0013DCB0 38 61 00 50 */ addi r3, r1, 0x50 +/* 80140D54 0013DCB4 7F A4 EB 78 */ mr r4, r29 +/* 80140D58 0013DCB8 4B FD 9B D5 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80140D5C 0013DCBC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80140D60 0013DCC0 38 81 00 50 */ addi r4, r1, 0x50 +/* 80140D64 0013DCC4 48 1F 68 A9 */ bl GetCenterPoint__6CAABoxCFv +/* 80140D68 0013DCC8 80 AD 8B A8 */ lwz r5, lbl_805A7768@sda21(r13) +/* 80140D6C 0013DCCC 38 60 00 00 */ li r3, 0 +/* 80140D70 0013DCD0 C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 80140D74 0013DCD4 38 80 00 01 */ li r4, 1 +/* 80140D78 0013DCD8 C3 E1 00 30 */ lfs f31, 0x30(r1) +/* 80140D7C 0013DCDC C3 C1 00 34 */ lfs f30, 0x34(r1) +/* 80140D80 0013DCE0 48 24 91 75 */ bl __shl2i +/* 80140D84 0013DCE4 C0 5F 00 08 */ lfs f2, 8(r31) +/* 80140D88 0013DCE8 38 A0 00 00 */ li r5, 0 +/* 80140D8C 0013DCEC C0 22 9B 90 */ lfs f1, lbl_805AB8B0@sda21(r2) +/* 80140D90 0013DCF0 38 00 00 01 */ li r0, 1 +/* 80140D94 0013DCF4 C0 7F 00 04 */ lfs f3, 4(r31) +/* 80140D98 0013DCF8 FD 20 10 50 */ fneg f9, f2 +/* 80140D9C 0013DCFC EC 81 00 B2 */ fmuls f4, f1, f2 +/* 80140DA0 0013DD00 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80140DA4 0013DD04 EC A1 00 F2 */ fmuls f5, f1, f3 +/* 80140DA8 0013DD08 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80140DAC 0013DD0C FD 00 18 50 */ fneg f8, f3 +/* 80140DB0 0013DD10 EC 41 00 32 */ fmuls f2, f1, f0 +/* 80140DB4 0013DD14 FC 60 00 50 */ fneg f3, f0 +/* 80140DB8 0013DD18 90 61 00 38 */ stw r3, 0x38(r1) +/* 80140DBC 0013DD1C EC FF 28 2A */ fadds f7, f31, f5 +/* 80140DC0 0013DD20 7F C4 F3 78 */ mr r4, r30 +/* 80140DC4 0013DD24 EC DE 20 2A */ fadds f6, f30, f4 +/* 80140DC8 0013DD28 EC 1D 10 2A */ fadds f0, f29, f2 +/* 80140DCC 0013DD2C 90 A1 00 44 */ stw r5, 0x44(r1) +/* 80140DD0 0013DD30 38 61 00 68 */ addi r3, r1, 0x68 +/* 80140DD4 0013DD34 38 C1 00 08 */ addi r6, r1, 8 +/* 80140DD8 0013DD38 38 E1 00 38 */ addi r7, r1, 0x38 +/* 80140DDC 0013DD3C 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80140DE0 0013DD40 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80140DE4 0013DD44 90 01 00 48 */ stw r0, 0x48(r1) +/* 80140DE8 0013DD48 D0 61 00 08 */ stfs f3, 8(r1) +/* 80140DEC 0013DD4C D1 01 00 0C */ stfs f8, 0xc(r1) +/* 80140DF0 0013DD50 D1 21 00 10 */ stfs f9, 0x10(r1) +/* 80140DF4 0013DD54 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80140DF8 0013DD58 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80140DFC 0013DD5C D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80140E00 0013DD60 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80140E04 0013DD64 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 80140E08 0013DD68 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 80140E0C 0013DD6C 4B F0 C1 8D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80140E10 0013DD70 88 81 00 88 */ lbz r4, 0x88(r1) +/* 80140E14 0013DD74 C0 E1 00 68 */ lfs f7, 0x68(r1) +/* 80140E18 0013DD78 C0 C1 00 6C */ lfs f6, 0x6c(r1) +/* 80140E1C 0013DD7C 28 04 00 00 */ cmplwi r4, 0 +/* 80140E20 0013DD80 C0 A1 00 70 */ lfs f5, 0x70(r1) +/* 80140E24 0013DD84 C0 81 00 74 */ lfs f4, 0x74(r1) +/* 80140E28 0013DD88 C0 61 00 78 */ lfs f3, 0x78(r1) +/* 80140E2C 0013DD8C C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 80140E30 0013DD90 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 80140E34 0013DD94 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 80140E38 0013DD98 80 01 00 90 */ lwz r0, 0x90(r1) +/* 80140E3C 0013DD9C 80 61 00 94 */ lwz r3, 0x94(r1) +/* 80140E40 0013DDA0 D0 E1 00 98 */ stfs f7, 0x98(r1) +/* 80140E44 0013DDA4 D0 C1 00 9C */ stfs f6, 0x9c(r1) +/* 80140E48 0013DDA8 D0 A1 00 A0 */ stfs f5, 0xa0(r1) +/* 80140E4C 0013DDAC D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 80140E50 0013DDB0 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 80140E54 0013DDB4 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 80140E58 0013DDB8 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80140E5C 0013DDBC D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 80140E60 0013DDC0 98 81 00 B8 */ stb r4, 0xb8(r1) +/* 80140E64 0013DDC4 90 61 00 C4 */ stw r3, 0xc4(r1) +/* 80140E68 0013DDC8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80140E6C 0013DDCC 41 82 00 14 */ beq lbl_80140E80 +/* 80140E70 0013DDD0 D0 DD 06 CC */ stfs f6, 0x6cc(r29) +/* 80140E74 0013DDD4 D0 BD 06 D0 */ stfs f5, 0x6d0(r29) +/* 80140E78 0013DDD8 D0 9D 06 D4 */ stfs f4, 0x6d4(r29) +/* 80140E7C 0013DDDC 48 00 00 28 */ b lbl_80140EA4 +lbl_80140E80: +/* 80140E80 0013DDE0 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80140E84 0013DDE4 C0 5F 00 04 */ lfs f2, 4(r31) +/* 80140E88 0013DDE8 EC 1D 00 2A */ fadds f0, f29, f0 +/* 80140E8C 0013DDEC C0 3F 00 08 */ lfs f1, 8(r31) +/* 80140E90 0013DDF0 EC 5F 10 2A */ fadds f2, f31, f2 +/* 80140E94 0013DDF4 EC 3E 08 2A */ fadds f1, f30, f1 +/* 80140E98 0013DDF8 D0 1D 06 CC */ stfs f0, 0x6cc(r29) +/* 80140E9C 0013DDFC D0 5D 06 D0 */ stfs f2, 0x6d0(r29) +/* 80140EA0 0013DE00 D0 3D 06 D4 */ stfs f1, 0x6d4(r29) +lbl_80140EA4: +/* 80140EA4 0013DE04 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 80140EA8 0013DE08 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 80140EAC 0013DE0C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 80140EB0 0013DE10 CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 80140EB4 0013DE14 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 80140EB8 0013DE18 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 80140EBC 0013DE1C 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 80140EC0 0013DE20 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 80140EC4 0013DE24 80 01 01 14 */ lwz r0, 0x114(r1) +/* 80140EC8 0013DE28 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 80140ECC 0013DE2C 7C 08 03 A6 */ mtlr r0 +/* 80140ED0 0013DE30 38 21 01 10 */ addi r1, r1, 0x110 +/* 80140ED4 0013DE34 4E 80 00 20 */ blr + +.global sub_80140ed8 +sub_80140ed8: +/* 80140ED8 0013DE38 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80140EDC 0013DE3C 7C 08 02 A6 */ mflr r0 +/* 80140EE0 0013DE40 90 01 00 44 */ stw r0, 0x44(r1) +/* 80140EE4 0013DE44 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80140EE8 0013DE48 7C 7F 1B 78 */ mr r31, r3 +/* 80140EEC 0013DE4C 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80140EF0 0013DE50 C0 E3 00 60 */ lfs f7, 0x60(r3) +/* 80140EF4 0013DE54 38 61 00 20 */ addi r3, r1, 0x20 +/* 80140EF8 0013DE58 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 80140EFC 0013DE5C C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80140F00 0013DE60 C0 DF 00 50 */ lfs f6, 0x50(r31) +/* 80140F04 0013DE64 EC 47 28 28 */ fsubs f2, f7, f5 +/* 80140F08 0013DE68 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80140F0C 0013DE6C C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80140F10 0013DE70 EC 66 20 28 */ fsubs f3, f6, f4 +/* 80140F14 0013DE74 D0 01 00 08 */ stfs f0, 8(r1) +/* 80140F18 0013DE78 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80140F1C 0013DE7C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80140F20 0013DE80 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80140F24 0013DE84 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80140F28 0013DE88 D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 80140F2C 0013DE8C D0 E1 00 1C */ stfs f7, 0x1c(r1) +/* 80140F30 0013DE90 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80140F34 0013DE94 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80140F38 0013DE98 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80140F3C 0013DE9C 48 1D 39 7D */ bl Magnitude__9CVector3fCFv +/* 80140F40 0013DEA0 C0 1F 06 54 */ lfs f0, 0x654(r31) +/* 80140F44 0013DEA4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80140F48 0013DEA8 40 80 00 0C */ bge lbl_80140F54 +/* 80140F4C 0013DEAC 38 7F 05 C8 */ addi r3, r31, 0x5c8 +/* 80140F50 0013DEB0 48 00 00 1C */ b lbl_80140F6C +lbl_80140F54: +/* 80140F54 0013DEB4 C0 1F 06 58 */ lfs f0, 0x658(r31) +/* 80140F58 0013DEB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80140F5C 0013DEBC 40 80 00 0C */ bge lbl_80140F68 +/* 80140F60 0013DEC0 38 7F 05 E8 */ addi r3, r31, 0x5e8 +/* 80140F64 0013DEC4 48 00 00 08 */ b lbl_80140F6C +lbl_80140F68: +/* 80140F68 0013DEC8 38 7F 06 08 */ addi r3, r31, 0x608 +lbl_80140F6C: +/* 80140F6C 0013DECC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80140F70 0013DED0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80140F74 0013DED4 7C 08 03 A6 */ mtlr r0 +/* 80140F78 0013DED8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80140F7C 0013DEDC 4E 80 00 20 */ blr + +.global sub_80140f80 +sub_80140f80: +/* 80140F80 0013DEE0 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 80140F84 0013DEE4 7C 08 02 A6 */ mflr r0 +/* 80140F88 0013DEE8 90 01 01 84 */ stw r0, 0x184(r1) +/* 80140F8C 0013DEEC DB E1 01 70 */ stfd f31, 0x170(r1) +/* 80140F90 0013DEF0 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 80140F94 0013DEF4 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 80140F98 0013DEF8 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 80140F9C 0013DEFC DB A1 01 50 */ stfd f29, 0x150(r1) +/* 80140FA0 0013DF00 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 80140FA4 0013DF04 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 80140FA8 0013DF08 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 80140FAC 0013DF0C DB 61 01 30 */ stfd f27, 0x130(r1) +/* 80140FB0 0013DF10 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 +/* 80140FB4 0013DF14 DB 41 01 20 */ stfd f26, 0x120(r1) +/* 80140FB8 0013DF18 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 +/* 80140FBC 0013DF1C BF 41 01 08 */ stmw r26, 0x108(r1) +/* 80140FC0 0013DF20 7C 7B 1B 78 */ mr r27, r3 +/* 80140FC4 0013DF24 38 60 00 00 */ li r3, 0 +/* 80140FC8 0013DF28 88 1B 06 65 */ lbz r0, 0x665(r27) +/* 80140FCC 0013DF2C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80140FD0 0013DF30 C3 C2 9B 94 */ lfs f30, lbl_805AB8B4@sda21(r2) +/* 80140FD4 0013DF34 7C 9C 23 78 */ mr r28, r4 +/* 80140FD8 0013DF38 98 1B 06 65 */ stb r0, 0x665(r27) +/* 80140FDC 0013DF3C 3B C0 00 00 */ li r30, 0 +/* 80140FE0 0013DF40 83 E4 08 40 */ lwz r31, 0x840(r4) +/* 80140FE4 0013DF44 80 64 09 00 */ lwz r3, 0x900(r4) +/* 80140FE8 0013DF48 48 1D 15 39 */ bl Next__9CRandom16Fv +/* 80140FEC 0013DF4C 3C 80 51 EC */ lis r4, 0x51EB851F@ha +/* 80140FF0 0013DF50 80 BB 06 5C */ lwz r5, 0x65c(r27) +/* 80140FF4 0013DF54 38 04 85 1F */ addi r0, r4, 0x51EB851F@l +/* 80140FF8 0013DF58 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80140FFC 0013DF5C 7C 00 2E 70 */ srawi r0, r0, 5 +/* 80141000 0013DF60 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80141004 0013DF64 7C 00 22 14 */ add r0, r0, r4 +/* 80141008 0013DF68 1C 00 00 64 */ mulli r0, r0, 0x64 +/* 8014100C 0013DF6C 7C C0 18 50 */ subf r6, r0, r3 +/* 80141010 0013DF70 7C 06 28 00 */ cmpw r6, r5 +/* 80141014 0013DF74 40 80 00 0C */ bge lbl_80141020 +/* 80141018 0013DF78 38 00 00 00 */ li r0, 0 +/* 8014101C 0013DF7C 48 00 00 20 */ b lbl_8014103C +lbl_80141020: +/* 80141020 0013DF80 80 7B 06 60 */ lwz r3, 0x660(r27) +/* 80141024 0013DF84 54 C0 0F FE */ srwi r0, r6, 0x1f +/* 80141028 0013DF88 7C 85 1A 14 */ add r4, r5, r3 +/* 8014102C 0013DF8C 7C 64 30 10 */ subfc r3, r4, r6 +/* 80141030 0013DF90 54 83 0F FE */ srwi r3, r4, 0x1f +/* 80141034 0013DF94 7C 60 19 10 */ subfe r3, r0, r3 +/* 80141038 0013DF98 38 03 00 02 */ addi r0, r3, 2 +lbl_8014103C: +/* 8014103C 0013DF9C C0 22 9B 98 */ lfs f1, lbl_805AB8B8@sda21(r2) +/* 80141040 0013DFA0 2C 00 00 01 */ cmpwi r0, 1 +/* 80141044 0013DFA4 C0 1B 06 58 */ lfs f0, 0x658(r27) +/* 80141048 0013DFA8 EF A1 00 32 */ fmuls f29, f1, f0 +/* 8014104C 0013DFAC FF 80 E8 90 */ fmr f28, f29 +/* 80141050 0013DFB0 FF 60 E8 90 */ fmr f27, f29 +/* 80141054 0013DFB4 41 82 00 30 */ beq lbl_80141084 +/* 80141058 0013DFB8 40 80 00 10 */ bge lbl_80141068 +/* 8014105C 0013DFBC 2C 00 00 00 */ cmpwi r0, 0 +/* 80141060 0013DFC0 40 80 00 14 */ bge lbl_80141074 +/* 80141064 0013DFC4 48 00 00 3C */ b lbl_801410A0 +lbl_80141068: +/* 80141068 0013DFC8 2C 00 00 03 */ cmpwi r0, 3 +/* 8014106C 0013DFCC 40 80 00 34 */ bge lbl_801410A0 +/* 80141070 0013DFD0 48 00 00 24 */ b lbl_80141094 +lbl_80141074: +/* 80141074 0013DFD4 C0 02 9B 9C */ lfs f0, lbl_805AB8BC@sda21(r2) +/* 80141078 0013DFD8 EF 7D 00 72 */ fmuls f27, f29, f1 +/* 8014107C 0013DFDC EF 9D 00 32 */ fmuls f28, f29, f0 +/* 80141080 0013DFE0 48 00 00 20 */ b lbl_801410A0 +lbl_80141084: +/* 80141084 0013DFE4 C0 02 9B 9C */ lfs f0, lbl_805AB8BC@sda21(r2) +/* 80141088 0013DFE8 EF BD 00 72 */ fmuls f29, f29, f1 +/* 8014108C 0013DFEC EF 7B 00 32 */ fmuls f27, f27, f0 +/* 80141090 0013DFF0 48 00 00 10 */ b lbl_801410A0 +lbl_80141094: +/* 80141094 0013DFF4 C0 02 9B 9C */ lfs f0, lbl_805AB8BC@sda21(r2) +/* 80141098 0013DFF8 EF BD 00 72 */ fmuls f29, f29, f1 +/* 8014109C 0013DFFC EF 9C 00 32 */ fmuls f28, f28, f0 +lbl_801410A0: +/* 801410A0 0013E000 AB BF 20 08 */ lha r29, 0x2008(r31) +/* 801410A4 0013E004 48 00 02 B4 */ b lbl_80141358 +lbl_801410A8: +/* 801410A8 0013E008 7F E3 FB 78 */ mr r3, r31 +/* 801410AC 0013E00C 7F A4 EB 78 */ mr r4, r29 +/* 801410B0 0013E010 4B EC EC 65 */ bl __vc__11CObjectListFi +/* 801410B4 0013E014 7C 64 1B 78 */ mr r4, r3 +/* 801410B8 0013E018 38 61 00 10 */ addi r3, r1, 0x10 +/* 801410BC 0013E01C 4B F6 99 71 */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" +/* 801410C0 0013E020 83 43 00 04 */ lwz r26, 4(r3) +/* 801410C4 0013E024 28 1A 00 00 */ cmplwi r26, 0 +/* 801410C8 0013E028 41 82 02 74 */ beq lbl_8014133C +/* 801410CC 0013E02C 88 1A 00 30 */ lbz r0, 0x30(r26) +/* 801410D0 0013E030 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801410D4 0013E034 41 82 02 68 */ beq lbl_8014133C +/* 801410D8 0013E038 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801410DC 0013E03C 7F 43 D3 78 */ mr r3, r26 +/* 801410E0 0013E040 38 81 00 08 */ addi r4, r1, 8 +/* 801410E4 0013E044 B0 01 00 08 */ sth r0, 8(r1) +/* 801410E8 0013E048 4B FE C3 2D */ bl GetInUse__17CScriptCoverPointCF9TUniqueId +/* 801410EC 0013E04C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801410F0 0013E050 40 82 02 4C */ bne lbl_8014133C +/* 801410F4 0013E054 80 7A 00 04 */ lwz r3, 4(r26) +/* 801410F8 0013E058 80 1B 00 04 */ lwz r0, 4(r27) +/* 801410FC 0013E05C 7C 03 00 00 */ cmpw r3, r0 +/* 80141100 0013E060 40 82 02 3C */ bne lbl_8014133C +/* 80141104 0013E064 C0 BA 00 60 */ lfs f5, 0x60(r26) +/* 80141108 0013E068 38 61 00 6C */ addi r3, r1, 0x6c +/* 8014110C 0013E06C C0 1B 00 60 */ lfs f0, 0x60(r27) +/* 80141110 0013E070 C0 9A 00 50 */ lfs f4, 0x50(r26) +/* 80141114 0013E074 C0 5B 00 50 */ lfs f2, 0x50(r27) +/* 80141118 0013E078 EC 25 00 28 */ fsubs f1, f5, f0 +/* 8014111C 0013E07C C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 80141120 0013E080 C0 7B 00 40 */ lfs f3, 0x40(r27) +/* 80141124 0013E084 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80141128 0013E088 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8014112C 0013E08C EC 00 18 28 */ fsubs f0, f0, f3 +/* 80141130 0013E090 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 80141134 0013E094 D0 A1 00 68 */ stfs f5, 0x68(r1) +/* 80141138 0013E098 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8014113C 0013E09C D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80141140 0013E0A0 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80141144 0013E0A4 48 1D 37 75 */ bl Magnitude__9CVector3fCFv +/* 80141148 0013E0A8 C0 42 9B 68 */ lfs f2, lbl_805AB888@sda21(r2) +/* 8014114C 0013E0AC C0 1B 06 6C */ lfs f0, 0x66c(r27) +/* 80141150 0013E0B0 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80141154 0013E0B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80141158 0013E0B8 41 80 01 E4 */ blt lbl_8014133C +/* 8014115C 0013E0BC C0 1B 06 54 */ lfs f0, 0x654(r27) +/* 80141160 0013E0C0 38 81 00 0C */ addi r4, r1, 0xc +/* 80141164 0013E0C4 38 6D 8B A0 */ addi r3, r13, lbl_805A7760@sda21 +/* 80141168 0013E0C8 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8014116C 0013E0CC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80141170 0013E0D0 4B F0 E5 C1 */ bl "Max__5CMathFRCfRCf" +/* 80141174 0013E0D4 80 9C 08 4C */ lwz r4, 0x84c(r28) +/* 80141178 0013E0D8 C3 43 00 00 */ lfs f26, 0(r3) +/* 8014117C 0013E0DC 38 61 00 84 */ addi r3, r1, 0x84 +/* 80141180 0013E0E0 C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80141184 0013E0E4 C0 04 00 50 */ lfs f0, 0x50(r4) +/* 80141188 0013E0E8 C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 8014118C 0013E0EC C0 44 00 60 */ lfs f2, 0x60(r4) +/* 80141190 0013E0F0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80141194 0013E0F4 C0 3A 00 40 */ lfs f1, 0x40(r26) +/* 80141198 0013E0F8 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8014119C 0013E0FC EC 43 10 28 */ fsubs f2, f3, f2 +/* 801411A0 0013E100 EC 01 00 28 */ fsubs f0, f1, f0 +/* 801411A4 0013E104 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 801411A8 0013E108 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 801411AC 0013E10C D0 01 00 84 */ stfs f0, 0x84(r1) +/* 801411B0 0013E110 48 1D 37 09 */ bl Magnitude__9CVector3fCFv +/* 801411B4 0013E114 FF E0 08 90 */ fmr f31, f1 +/* 801411B8 0013E118 C0 1B 02 FC */ lfs f0, 0x2fc(r27) +/* 801411BC 0013E11C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 801411C0 0013E120 41 80 01 7C */ blt lbl_8014133C +/* 801411C4 0013E124 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 801411C8 0013E128 C0 02 9B A4 */ lfs f0, lbl_805AB8C4@sda21(r2) +/* 801411CC 0013E12C FC 20 0A 10 */ fabs f1, f1 +/* 801411D0 0013E130 FC 20 08 18 */ frsp f1, f1 +/* 801411D4 0013E134 EC 21 F8 24 */ fdivs f1, f1, f31 +/* 801411D8 0013E138 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801411DC 0013E13C 40 81 00 18 */ ble lbl_801411F4 +/* 801411E0 0013E140 C0 42 9B A0 */ lfs f2, lbl_805AB8C0@sda21(r2) +/* 801411E4 0013E144 EC 01 00 28 */ fsubs f0, f1, f0 +/* 801411E8 0013E148 C0 3B 06 58 */ lfs f1, 0x658(r27) +/* 801411EC 0013E14C EC 22 00 72 */ fmuls f1, f2, f1 +/* 801411F0 0013E150 EF 41 D0 3A */ fmadds f26, f1, f0, f26 +lbl_801411F4: +/* 801411F4 0013E154 C0 1B 06 54 */ lfs f0, 0x654(r27) +/* 801411F8 0013E158 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 801411FC 0013E15C 40 80 00 7C */ bge lbl_80141278 +/* 80141200 0013E160 EF 5A E8 2A */ fadds f26, f26, f29 +/* 80141204 0013E164 FC 1A F0 40 */ fcmpo cr0, f26, f30 +/* 80141208 0013E168 40 80 00 F4 */ bge lbl_801412FC +/* 8014120C 0013E16C C0 C2 9B 60 */ lfs f6, lbl_805AB880@sda21(r2) +/* 80141210 0013E170 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 80141214 0013E174 EC E6 F8 24 */ fdivs f7, f6, f31 +/* 80141218 0013E178 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 8014121C 0013E17C C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80141220 0013E180 C0 22 9B 98 */ lfs f1, lbl_805AB8B8@sda21(r2) +/* 80141224 0013E184 EC A3 01 F2 */ fmuls f5, f3, f7 +/* 80141228 0013E188 EC 82 01 F2 */ fmuls f4, f2, f7 +/* 8014122C 0013E18C EC 60 01 F2 */ fmuls f3, f0, f7 +/* 80141230 0013E190 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 80141234 0013E194 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 80141238 0013E198 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 8014123C 0013E19C 80 7C 08 4C */ lwz r3, 0x84c(r28) +/* 80141240 0013E1A0 C0 1B 06 58 */ lfs f0, 0x658(r27) +/* 80141244 0013E1A4 C0 E3 00 48 */ lfs f7, 0x48(r3) +/* 80141248 0013E1A8 C0 43 00 38 */ lfs f2, 0x38(r3) +/* 8014124C 0013E1AC EC 21 00 32 */ fmuls f1, f1, f0 +/* 80141250 0013E1B0 EC 07 01 32 */ fmuls f0, f7, f4 +/* 80141254 0013E1B4 C0 83 00 58 */ lfs f4, 0x58(r3) +/* 80141258 0013E1B8 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8014125C 0013E1BC EC 02 01 7A */ fmadds f0, f2, f5, f0 +/* 80141260 0013E1C0 D0 E1 00 58 */ stfs f7, 0x58(r1) +/* 80141264 0013E1C4 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 80141268 0013E1C8 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 8014126C 0013E1CC EC 06 00 28 */ fsubs f0, f6, f0 +/* 80141270 0013E1D0 EF 41 D0 3A */ fmadds f26, f1, f0, f26 +/* 80141274 0013E1D4 48 00 00 88 */ b lbl_801412FC +lbl_80141278: +/* 80141278 0013E1D8 C0 FB 06 58 */ lfs f7, 0x658(r27) +/* 8014127C 0013E1DC FC 1F 38 40 */ fcmpo cr0, f31, f7 +/* 80141280 0013E1E0 40 80 00 78 */ bge lbl_801412F8 +/* 80141284 0013E1E4 EF 5A E0 2A */ fadds f26, f26, f28 +/* 80141288 0013E1E8 FC 1A F0 40 */ fcmpo cr0, f26, f30 +/* 8014128C 0013E1EC 40 80 00 70 */ bge lbl_801412FC +/* 80141290 0013E1F0 C0 C2 9B 60 */ lfs f6, lbl_805AB880@sda21(r2) +/* 80141294 0013E1F4 C0 02 9B 98 */ lfs f0, lbl_805AB8B8@sda21(r2) +/* 80141298 0013E1F8 ED 06 F8 24 */ fdivs f8, f6, f31 +/* 8014129C 0013E1FC C0 61 00 84 */ lfs f3, 0x84(r1) +/* 801412A0 0013E200 C0 41 00 88 */ lfs f2, 0x88(r1) +/* 801412A4 0013E204 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 801412A8 0013E208 EC A3 02 32 */ fmuls f5, f3, f8 +/* 801412AC 0013E20C EC 82 02 32 */ fmuls f4, f2, f8 +/* 801412B0 0013E210 EC 61 02 32 */ fmuls f3, f1, f8 +/* 801412B4 0013E214 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 801412B8 0013E218 EC 20 01 F2 */ fmuls f1, f0, f7 +/* 801412BC 0013E21C D0 81 00 88 */ stfs f4, 0x88(r1) +/* 801412C0 0013E220 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 801412C4 0013E224 80 7C 08 4C */ lwz r3, 0x84c(r28) +/* 801412C8 0013E228 C0 E3 00 48 */ lfs f7, 0x48(r3) +/* 801412CC 0013E22C C0 43 00 38 */ lfs f2, 0x38(r3) +/* 801412D0 0013E230 EC 07 01 32 */ fmuls f0, f7, f4 +/* 801412D4 0013E234 C0 83 00 58 */ lfs f4, 0x58(r3) +/* 801412D8 0013E238 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 801412DC 0013E23C EC 02 01 7A */ fmadds f0, f2, f5, f0 +/* 801412E0 0013E240 D0 E1 00 4C */ stfs f7, 0x4c(r1) +/* 801412E4 0013E244 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 801412E8 0013E248 EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 801412EC 0013E24C EC 06 00 28 */ fsubs f0, f6, f0 +/* 801412F0 0013E250 EF 41 D0 3A */ fmadds f26, f1, f0, f26 +/* 801412F4 0013E254 48 00 00 08 */ b lbl_801412FC +lbl_801412F8: +/* 801412F8 0013E258 EF 5A D8 2A */ fadds f26, f26, f27 +lbl_801412FC: +/* 801412FC 0013E25C FC 1A F0 40 */ fcmpo cr0, f26, f30 +/* 80141300 0013E260 40 80 00 3C */ bge lbl_8014133C +/* 80141304 0013E264 80 7C 09 00 */ lwz r3, 0x900(r28) +/* 80141308 0013E268 48 1D 11 D5 */ bl Float__9CRandom16Fv +/* 8014130C 0013E26C C0 1B 06 58 */ lfs f0, 0x658(r27) +/* 80141310 0013E270 EF 40 D0 7A */ fmadds f26, f0, f1, f26 +/* 80141314 0013E274 FC 1A F0 40 */ fcmpo cr0, f26, f30 +/* 80141318 0013E278 40 80 00 24 */ bge lbl_8014133C +/* 8014131C 0013E27C C0 1B 03 C8 */ lfs f0, 0x3c8(r27) +/* 80141320 0013E280 FF C0 D0 90 */ fmr f30, f26 +/* 80141324 0013E284 7F 5E D3 78 */ mr r30, r26 +/* 80141328 0013E288 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8014132C 0013E28C 7C 60 00 26 */ mfcr r3 +/* 80141330 0013E290 88 1B 06 65 */ lbz r0, 0x665(r27) +/* 80141334 0013E294 50 60 36 F6 */ rlwimi r0, r3, 6, 0x1b, 0x1b +/* 80141338 0013E298 98 1B 06 65 */ stb r0, 0x665(r27) +lbl_8014133C: +/* 8014133C 0013E29C 2C 1D FF FF */ cmpwi r29, -1 +/* 80141340 0013E2A0 41 82 00 14 */ beq lbl_80141354 +/* 80141344 0013E2A4 57 A3 18 38 */ slwi r3, r29, 3 +/* 80141348 0013E2A8 38 03 00 08 */ addi r0, r3, 8 +/* 8014134C 0013E2AC 7F BF 02 AE */ lhax r29, r31, r0 +/* 80141350 0013E2B0 48 00 00 08 */ b lbl_80141358 +lbl_80141354: +/* 80141354 0013E2B4 3B A0 FF FF */ li r29, -1 +lbl_80141358: +/* 80141358 0013E2B8 2C 1D FF FF */ cmpwi r29, -1 +/* 8014135C 0013E2BC 40 82 FD 4C */ bne lbl_801410A8 +/* 80141360 0013E2C0 28 1E 00 00 */ cmplwi r30, 0 +/* 80141364 0013E2C4 41 82 00 54 */ beq lbl_801413B8 +/* 80141368 0013E2C8 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8014136C 0013E2CC 7F 63 DB 78 */ mr r3, r27 +/* 80141370 0013E2D0 38 81 00 3C */ addi r4, r1, 0x3c +/* 80141374 0013E2D4 B0 1B 02 DC */ sth r0, 0x2dc(r27) +/* 80141378 0013E2D8 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8014137C 0013E2DC C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80141380 0013E2E0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80141384 0013E2E4 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80141388 0013E2E8 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8014138C 0013E2EC D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80141390 0013E2F0 4B F3 B7 CD */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80141394 0013E2F4 7F 63 DB 78 */ mr r3, r27 +/* 80141398 0013E2F8 7F 84 E3 78 */ mr r4, r28 +/* 8014139C 0013E2FC 38 BB 06 74 */ addi r5, r27, 0x674 +/* 801413A0 0013E300 4B F3 B4 BD */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId +/* 801413A4 0013E304 7F 63 DB 78 */ mr r3, r27 +/* 801413A8 0013E308 7F C4 F3 78 */ mr r4, r30 +/* 801413AC 0013E30C 38 BB 06 74 */ addi r5, r27, 0x674 +/* 801413B0 0013E310 4B F3 B4 65 */ bl SetCoverPoint__10CPatternedFP17CScriptCoverPointR9TUniqueId +/* 801413B4 0013E314 48 00 01 98 */ b lbl_8014154C +lbl_801413B8: +/* 801413B8 0013E318 80 9C 08 4C */ lwz r4, 0x84c(r28) +/* 801413BC 0013E31C 80 1B 00 04 */ lwz r0, 4(r27) +/* 801413C0 0013E320 80 64 00 04 */ lwz r3, 4(r4) +/* 801413C4 0013E324 7C 03 00 00 */ cmpw r3, r0 +/* 801413C8 0013E328 40 82 01 64 */ bne lbl_8014152C +/* 801413CC 0013E32C A0 04 00 08 */ lhz r0, 8(r4) +/* 801413D0 0013E330 38 61 00 30 */ addi r3, r1, 0x30 +/* 801413D4 0013E334 38 81 00 24 */ addi r4, r1, 0x24 +/* 801413D8 0013E338 B0 1B 02 DC */ sth r0, 0x2dc(r27) +/* 801413DC 0013E33C 80 BC 08 4C */ lwz r5, 0x84c(r28) +/* 801413E0 0013E340 C0 1B 00 60 */ lfs f0, 0x60(r27) +/* 801413E4 0013E344 C0 A5 00 60 */ lfs f5, 0x60(r5) +/* 801413E8 0013E348 C0 85 00 50 */ lfs f4, 0x50(r5) +/* 801413EC 0013E34C C0 5B 00 50 */ lfs f2, 0x50(r27) +/* 801413F0 0013E350 EC 25 00 28 */ fsubs f1, f5, f0 +/* 801413F4 0013E354 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 801413F8 0013E358 C0 7B 00 40 */ lfs f3, 0x40(r27) +/* 801413FC 0013E35C EC 44 10 28 */ fsubs f2, f4, f2 +/* 80141400 0013E360 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80141404 0013E364 EC 00 18 28 */ fsubs f0, f0, f3 +/* 80141408 0013E368 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8014140C 0013E36C D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 80141410 0013E370 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80141414 0013E374 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80141418 0013E378 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8014141C 0013E37C 48 1D 34 35 */ bl AsNormalized__9CVector3fCFv +/* 80141420 0013E380 C0 DB 06 54 */ lfs f6, 0x654(r27) +/* 80141424 0013E384 38 60 00 00 */ li r3, 0 +/* 80141428 0013E388 80 BC 08 4C */ lwz r5, 0x84c(r28) +/* 8014142C 0013E38C 38 80 00 01 */ li r4, 1 +/* 80141430 0013E390 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80141434 0013E394 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80141438 0013E398 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 8014143C 0013E39C EC 86 00 B2 */ fmuls f4, f6, f2 +/* 80141440 0013E3A0 C0 A5 00 50 */ lfs f5, 0x50(r5) +/* 80141444 0013E3A4 EC 06 00 32 */ fmuls f0, f6, f0 +/* 80141448 0013E3A8 EC 46 00 72 */ fmuls f2, f6, f1 +/* 8014144C 0013E3AC C0 65 00 60 */ lfs f3, 0x60(r5) +/* 80141450 0013E3B0 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 80141454 0013E3B4 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80141458 0013E3B8 80 AD 8B A4 */ lwz r5, lbl_805A7764@sda21(r13) +/* 8014145C 0013E3BC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80141460 0013E3C0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80141464 0013E3C4 D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 80141468 0013E3C8 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 8014146C 0013E3CC D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80141470 0013E3D0 48 24 8A 85 */ bl __shl2i +/* 80141474 0013E3D4 39 00 00 00 */ li r8, 0 +/* 80141478 0013E3D8 38 00 00 01 */ li r0, 1 +/* 8014147C 0013E3DC 3C A0 80 5A */ lis r5, lbl_805A6700@ha +/* 80141480 0013E3E0 90 81 00 94 */ stw r4, 0x94(r1) +/* 80141484 0013E3E4 38 C5 67 00 */ addi r6, r5, lbl_805A6700@l +/* 80141488 0013E3E8 C0 22 9B 90 */ lfs f1, lbl_805AB8B0@sda21(r2) +/* 8014148C 0013E3EC 90 61 00 90 */ stw r3, 0x90(r1) +/* 80141490 0013E3F0 7F 84 E3 78 */ mr r4, r28 +/* 80141494 0013E3F4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 80141498 0013E3F8 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8014149C 0013E3FC 91 01 00 9C */ stw r8, 0x9c(r1) +/* 801414A0 0013E400 38 E1 00 90 */ addi r7, r1, 0x90 +/* 801414A4 0013E404 91 01 00 98 */ stw r8, 0x98(r1) +/* 801414A8 0013E408 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 801414AC 0013E40C 4B F0 BA ED */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 801414B0 0013E410 88 81 00 C8 */ lbz r4, 0xc8(r1) +/* 801414B4 0013E414 C0 E1 00 A8 */ lfs f7, 0xa8(r1) +/* 801414B8 0013E418 C0 C1 00 AC */ lfs f6, 0xac(r1) +/* 801414BC 0013E41C 28 04 00 00 */ cmplwi r4, 0 +/* 801414C0 0013E420 C0 A1 00 B0 */ lfs f5, 0xb0(r1) +/* 801414C4 0013E424 C0 81 00 B4 */ lfs f4, 0xb4(r1) +/* 801414C8 0013E428 C0 61 00 B8 */ lfs f3, 0xb8(r1) +/* 801414CC 0013E42C C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 801414D0 0013E430 C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 801414D4 0013E434 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 801414D8 0013E438 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 801414DC 0013E43C 80 61 00 D4 */ lwz r3, 0xd4(r1) +/* 801414E0 0013E440 D0 E1 00 D8 */ stfs f7, 0xd8(r1) +/* 801414E4 0013E444 D0 C1 00 DC */ stfs f6, 0xdc(r1) +/* 801414E8 0013E448 D0 A1 00 E0 */ stfs f5, 0xe0(r1) +/* 801414EC 0013E44C D0 81 00 E4 */ stfs f4, 0xe4(r1) +/* 801414F0 0013E450 D0 61 00 E8 */ stfs f3, 0xe8(r1) +/* 801414F4 0013E454 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 801414F8 0013E458 D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 801414FC 0013E45C D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 80141500 0013E460 98 81 00 F8 */ stb r4, 0xf8(r1) +/* 80141504 0013E464 90 61 01 04 */ stw r3, 0x104(r1) +/* 80141508 0013E468 90 01 01 00 */ stw r0, 0x100(r1) +/* 8014150C 0013E46C 41 82 00 10 */ beq lbl_8014151C +/* 80141510 0013E470 D0 C1 00 78 */ stfs f6, 0x78(r1) +/* 80141514 0013E474 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 80141518 0013E478 D0 81 00 80 */ stfs f4, 0x80(r1) +lbl_8014151C: +/* 8014151C 0013E47C 7F 63 DB 78 */ mr r3, r27 +/* 80141520 0013E480 38 81 00 78 */ addi r4, r1, 0x78 +/* 80141524 0013E484 4B F3 B6 39 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80141528 0013E488 48 00 00 24 */ b lbl_8014154C +lbl_8014152C: +/* 8014152C 0013E48C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80141530 0013E490 B0 1B 02 DC */ sth r0, 0x2dc(r27) +/* 80141534 0013E494 C0 5B 00 60 */ lfs f2, 0x60(r27) +/* 80141538 0013E498 C0 3B 00 50 */ lfs f1, 0x50(r27) +/* 8014153C 0013E49C C0 1B 00 40 */ lfs f0, 0x40(r27) +/* 80141540 0013E4A0 D0 1B 02 E0 */ stfs f0, 0x2e0(r27) +/* 80141544 0013E4A4 D0 3B 02 E4 */ stfs f1, 0x2e4(r27) +/* 80141548 0013E4A8 D0 5B 02 E8 */ stfs f2, 0x2e8(r27) +lbl_8014154C: +/* 8014154C 0013E4AC E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 80141550 0013E4B0 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 80141554 0013E4B4 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 80141558 0013E4B8 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 8014155C 0013E4BC E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 80141560 0013E4C0 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 80141564 0013E4C4 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 80141568 0013E4C8 CB 81 01 40 */ lfd f28, 0x140(r1) +/* 8014156C 0013E4CC E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 +/* 80141570 0013E4D0 CB 61 01 30 */ lfd f27, 0x130(r1) +/* 80141574 0013E4D4 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 +/* 80141578 0013E4D8 CB 41 01 20 */ lfd f26, 0x120(r1) +/* 8014157C 0013E4DC BB 41 01 08 */ lmw r26, 0x108(r1) +/* 80141580 0013E4E0 80 01 01 84 */ lwz r0, 0x184(r1) +/* 80141584 0013E4E4 7C 08 03 A6 */ mtlr r0 +/* 80141588 0013E4E8 38 21 01 80 */ addi r1, r1, 0x180 +/* 8014158C 0013E4EC 4E 80 00 20 */ blr + +.global sub_80141590 +sub_80141590: +/* 80141590 0013E4F0 88 03 06 64 */ lbz r0, 0x664(r3) +/* 80141594 0013E4F4 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 80141598 0013E4F8 4E 80 00 20 */ blr + +.global sub_8014159c +sub_8014159c: +/* 8014159C 0013E4FC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801415A0 0013E500 7C 08 02 A6 */ mflr r0 +/* 801415A4 0013E504 C0 62 9B 74 */ lfs f3, lbl_805AB894@sda21(r2) +/* 801415A8 0013E508 90 01 00 24 */ stw r0, 0x24(r1) +/* 801415AC 0013E50C 38 81 00 08 */ addi r4, r1, 8 +/* 801415B0 0013E510 C0 A3 00 60 */ lfs f5, 0x60(r3) +/* 801415B4 0013E514 C0 83 00 50 */ lfs f4, 0x50(r3) +/* 801415B8 0013E518 EC 01 28 28 */ fsubs f0, f1, f5 +/* 801415BC 0013E51C C0 23 00 40 */ lfs f1, 0x40(r3) +/* 801415C0 0013E520 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 801415C4 0013E524 EC 03 00 32 */ fmuls f0, f3, f0 +/* 801415C8 0013E528 D0 21 00 08 */ stfs f1, 8(r1) +/* 801415CC 0013E52C EC 00 28 BA */ fmadds f0, f0, f2, f5 +/* 801415D0 0013E530 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 801415D4 0013E534 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 801415D8 0013E538 4B F1 18 B5 */ bl SetTranslation__6CActorFRC9CVector3f +/* 801415DC 0013E53C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801415E0 0013E540 7C 08 03 A6 */ mtlr r0 +/* 801415E4 0013E544 38 21 00 20 */ addi r1, r1, 0x20 +/* 801415E8 0013E548 4E 80 00 20 */ blr + +.global sub_801415ec +sub_801415ec: +/* 801415EC 0013E54C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801415F0 0013E550 7C 08 02 A6 */ mflr r0 +/* 801415F4 0013E554 90 01 00 34 */ stw r0, 0x34(r1) +/* 801415F8 0013E558 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801415FC 0013E55C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80141600 0013E560 7C 7E 1B 78 */ mr r30, r3 +/* 80141604 0013E564 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80141608 0013E568 A0 63 06 C4 */ lhz r3, 0x6c4(r3) +/* 8014160C 0013E56C 7C 03 00 40 */ cmplw r3, r0 +/* 80141610 0013E570 41 82 00 70 */ beq lbl_80141680 +/* 80141614 0013E574 A0 1E 06 C4 */ lhz r0, 0x6c4(r30) +/* 80141618 0013E578 7C 83 23 78 */ mr r3, r4 +/* 8014161C 0013E57C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80141620 0013E580 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80141624 0013E584 4B F0 AF 51 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80141628 0013E588 7C 64 1B 78 */ mr r4, r3 +/* 8014162C 0013E58C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80141630 0013E590 4B F6 5F 45 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 80141634 0013E594 83 E3 00 04 */ lwz r31, 4(r3) +/* 80141638 0013E598 28 1F 00 00 */ cmplwi r31, 0 +/* 8014163C 0013E59C 41 82 00 44 */ beq lbl_80141680 +/* 80141640 0013E5A0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80141644 0013E5A4 7F E3 FB 78 */ mr r3, r31 +/* 80141648 0013E5A8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8014164C 0013E5AC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80141650 0013E5B0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80141654 0013E5B4 48 0F 79 9D */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId +/* 80141658 0013E5B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8014165C 0013E5BC 41 82 00 24 */ beq lbl_80141680 +/* 80141660 0013E5C0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80141664 0013E5C4 7F E3 FB 78 */ mr r3, r31 +/* 80141668 0013E5C8 38 81 00 0C */ addi r4, r1, 0xc +/* 8014166C 0013E5CC B0 01 00 08 */ sth r0, 8(r1) +/* 80141670 0013E5D0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80141674 0013E5D4 48 0F 7E 81 */ bl RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId +/* 80141678 0013E5D8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8014167C 0013E5DC B0 1E 06 C4 */ sth r0, 0x6c4(r30) +lbl_80141680: +/* 80141680 0013E5E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80141684 0013E5E4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80141688 0013E5E8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8014168C 0013E5EC 7C 08 03 A6 */ mtlr r0 +/* 80141690 0013E5F0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80141694 0013E5F4 4E 80 00 20 */ blr + +.global sub_80141698 +sub_80141698: +/* 80141698 0013E5F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8014169C 0013E5FC 7C 08 02 A6 */ mflr r0 +/* 801416A0 0013E600 90 01 00 24 */ stw r0, 0x24(r1) +/* 801416A4 0013E604 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801416A8 0013E608 7C 9F 23 78 */ mr r31, r4 +/* 801416AC 0013E60C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801416B0 0013E610 7C 7E 1B 78 */ mr r30, r3 +/* 801416B4 0013E614 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801416B8 0013E618 A0 63 06 C4 */ lhz r3, 0x6c4(r3) +/* 801416BC 0013E61C 7C 03 00 40 */ cmplw r3, r0 +/* 801416C0 0013E620 40 82 00 1C */ bne lbl_801416DC +/* 801416C4 0013E624 7F C4 F3 78 */ mr r4, r30 +/* 801416C8 0013E628 7F E5 FB 78 */ mr r5, r31 +/* 801416CC 0013E62C 38 61 00 0C */ addi r3, r1, 0xc +/* 801416D0 0013E630 48 0F 8B 19 */ bl GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager +/* 801416D4 0013E634 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 801416D8 0013E638 B0 1E 06 C4 */ sth r0, 0x6c4(r30) +lbl_801416DC: +/* 801416DC 0013E63C A0 7E 06 C4 */ lhz r3, 0x6c4(r30) +/* 801416E0 0013E640 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801416E4 0013E644 7C 03 00 40 */ cmplw r3, r0 +/* 801416E8 0013E648 41 82 00 44 */ beq lbl_8014172C +/* 801416EC 0013E64C A0 1E 06 C4 */ lhz r0, 0x6c4(r30) +/* 801416F0 0013E650 7F E3 FB 78 */ mr r3, r31 +/* 801416F4 0013E654 38 81 00 08 */ addi r4, r1, 8 +/* 801416F8 0013E658 B0 01 00 08 */ sth r0, 8(r1) +/* 801416FC 0013E65C 4B F0 AE 79 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80141700 0013E660 7C 64 1B 78 */ mr r4, r3 +/* 80141704 0013E664 38 61 00 10 */ addi r3, r1, 0x10 +/* 80141708 0013E668 4B F6 5E 6D */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8014170C 0013E66C 80 63 00 04 */ lwz r3, 4(r3) +/* 80141710 0013E670 28 03 00 00 */ cmplwi r3, 0 +/* 80141714 0013E674 41 82 00 18 */ beq lbl_8014172C +/* 80141718 0013E678 7F C4 F3 78 */ mr r4, r30 +/* 8014171C 0013E67C 38 A0 00 02 */ li r5, 2 +/* 80141720 0013E680 38 C0 00 03 */ li r6, 3 +/* 80141724 0013E684 38 E0 FF FF */ li r7, -1 +/* 80141728 0013E688 48 0F 80 85 */ bl AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii +lbl_8014172C: +/* 8014172C 0013E68C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80141730 0013E690 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80141734 0013E694 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80141738 0013E698 7C 08 03 A6 */ mtlr r0 +/* 8014173C 0013E69C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80141740 0013E6A0 4E 80 00 20 */ blr + +.global GetOrigin__11CChozoGhostCFv +GetOrigin__11CChozoGhostCFv: +/* 80141744 0013E6A4 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 80141748 0013E6A8 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8014174C 0013E6AC C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80141750 0013E6B0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80141754 0013E6B4 D0 23 00 04 */ stfs f1, 4(r3) +/* 80141758 0013E6B8 D0 43 00 08 */ stfs f2, 8(r3) +/* 8014175C 0013E6BC 4E 80 00 20 */ blr + +.global sub_80141760 +sub_80141760: +/* 80141760 0013E6C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80141764 0013E6C4 7C 08 02 A6 */ mflr r0 +/* 80141768 0013E6C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014176C 0013E6CC 81 83 00 00 */ lwz r12, 0(r3) +/* 80141770 0013E6D0 81 8C 02 B4 */ lwz r12, 0x2b4(r12) +/* 80141774 0013E6D4 7D 89 03 A6 */ mtctr r12 +/* 80141778 0013E6D8 4E 80 04 21 */ bctrl +/* 8014177C 0013E6DC 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80141780 0013E6E0 20 00 00 1F */ subfic r0, r0, 0x1f +/* 80141784 0013E6E4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80141788 0013E6E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8014178C 0013E6EC 7C 08 03 A6 */ mtlr r0 +/* 80141790 0013E6F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80141794 0013E6F4 4E 80 00 20 */ blr + +.global Render__11CChozoGhostCFRC13CStateManager +Render__11CChozoGhostCFRC13CStateManager: +/* 80141798 0013E6F8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8014179C 0013E6FC 7C 08 02 A6 */ mflr r0 +/* 801417A0 0013E700 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 801417A4 0013E704 90 01 00 34 */ stw r0, 0x34(r1) +/* 801417A8 0013E708 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801417AC 0013E70C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 801417B0 0013E710 7C 9E 23 78 */ mr r30, r4 +/* 801417B4 0013E714 93 A1 00 24 */ stw r29, 0x24(r1) +/* 801417B8 0013E718 7C 7D 1B 78 */ mr r29, r3 +/* 801417BC 0013E71C C0 43 06 C8 */ lfs f2, 0x6c8(r3) +/* 801417C0 0013E720 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801417C4 0013E724 40 81 00 24 */ ble lbl_801417E8 +/* 801417C8 0013E728 C0 22 9B A8 */ lfs f1, lbl_805AB8C8@sda21(r2) +/* 801417CC 0013E72C C0 1D 05 6C */ lfs f0, 0x56c(r29) +/* 801417D0 0013E730 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 801417D4 0013E734 EC 21 00 24 */ fdivs f1, f1, f0 +/* 801417D8 0013E738 48 1D 36 19 */ bl FastSinR__5CMathFf +/* 801417DC 0013E73C 7F C3 F3 78 */ mr r3, r30 +/* 801417E0 0013E740 38 9D 06 CC */ addi r4, r29, 0x6cc +/* 801417E4 0013E744 4B F0 3C 19 */ bl DrawSpaceWarp__13CStateManagerCFRC9CVector3ff +lbl_801417E8: +/* 801417E8 0013E748 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 801417EC 0013E74C 7F C4 F3 78 */ mr r4, r30 +/* 801417F0 0013E750 80 63 00 00 */ lwz r3, 0(r3) +/* 801417F4 0013E754 4B F4 FD 65 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 801417F8 0013E758 20 03 00 01 */ subfic r0, r3, 1 +/* 801417FC 0013E75C 80 7D 00 04 */ lwz r3, 4(r29) +/* 80141800 0013E760 7C 04 00 34 */ cntlzw r4, r0 +/* 80141804 0013E764 54 80 DE 3F */ rlwinm. r0, r4, 0x1b, 0x18, 0x1f +/* 80141808 0013E768 90 61 00 10 */ stw r3, 0x10(r1) +/* 8014180C 0013E76C 54 9F D9 7E */ srwi r31, r4, 5 +/* 80141810 0013E770 41 82 00 4C */ beq lbl_8014185C +/* 80141814 0013E774 38 00 00 01 */ li r0, 1 +/* 80141818 0013E778 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) +/* 8014181C 0013E77C 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) +/* 80141820 0013E780 48 20 87 95 */ bl Black__6CColorFv +/* 80141824 0013E784 C0 22 9B 5C */ lfs f1, lbl_805AB87C@sda21(r2) +/* 80141828 0013E788 7C 64 1B 78 */ mr r4, r3 +/* 8014182C 0013E78C C0 42 9B AC */ lfs f2, lbl_805AB8CC@sda21(r2) +/* 80141830 0013E790 38 60 00 02 */ li r3, 2 +/* 80141834 0013E794 48 1C 8A 55 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor +/* 80141838 0013E798 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8014183C 0013E79C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80141840 0013E7A0 38 63 01 20 */ addi r3, r3, 0x120 +/* 80141844 0013E7A4 4B F7 67 71 */ bl RenderSystemsToBeDrawnFirst__17CParticleDatabaseCFv +/* 80141848 0013E7A8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014184C 0013E7AC 7F C3 F3 78 */ mr r3, r30 +/* 80141850 0013E7B0 38 81 00 0C */ addi r4, r1, 0xc +/* 80141854 0013E7B4 90 01 00 0C */ stw r0, 0xc(r1) +/* 80141858 0013E7B8 4B F0 54 C1 */ bl sub_80046d18 +lbl_8014185C: +/* 8014185C 0013E7BC 7F A3 EB 78 */ mr r3, r29 +/* 80141860 0013E7C0 7F C4 F3 78 */ mr r4, r30 +/* 80141864 0013E7C4 4B F3 67 C9 */ bl Render__10CPatternedCFRC13CStateManager +/* 80141868 0013E7C8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8014186C 0013E7CC 41 82 00 4C */ beq lbl_801418B8 +/* 80141870 0013E7D0 48 20 87 45 */ bl Black__6CColorFv +/* 80141874 0013E7D4 C0 22 9B 5C */ lfs f1, lbl_805AB87C@sda21(r2) +/* 80141878 0013E7D8 7C 64 1B 78 */ mr r4, r3 +/* 8014187C 0013E7DC C0 42 9B AC */ lfs f2, lbl_805AB8CC@sda21(r2) +/* 80141880 0013E7E0 38 60 00 02 */ li r3, 2 +/* 80141884 0013E7E4 48 1C 8A 05 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor +/* 80141888 0013E7E8 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8014188C 0013E7EC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 80141890 0013E7F0 38 63 01 20 */ addi r3, r3, 0x120 +/* 80141894 0013E7F4 4B F7 66 91 */ bl RenderSystemsToBeDrawnLast__17CParticleDatabaseCFv +/* 80141898 0013E7F8 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8014189C 0013E7FC 7F C3 F3 78 */ mr r3, r30 +/* 801418A0 0013E800 38 81 00 08 */ addi r4, r1, 8 +/* 801418A4 0013E804 90 01 00 08 */ stw r0, 8(r1) +/* 801418A8 0013E808 4B F0 54 D9 */ bl SetupFogForArea__13CStateManagerCF7TAreaId +/* 801418AC 0013E80C 38 00 00 00 */ li r0, 0 +/* 801418B0 0013E810 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) +/* 801418B4 0013E814 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) +lbl_801418B8: +/* 801418B8 0013E818 80 01 00 34 */ lwz r0, 0x34(r1) +/* 801418BC 0013E81C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 801418C0 0013E820 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 801418C4 0013E824 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 801418C8 0013E828 7C 08 03 A6 */ mtlr r0 +/* 801418CC 0013E82C 38 21 00 30 */ addi r1, r1, 0x30 +/* 801418D0 0013E830 4E 80 00 20 */ blr + +.global PreRender__11CChozoGhostFR13CStateManagerRC14CFrustumPlanes +PreRender__11CChozoGhostFR13CStateManagerRC14CFrustumPlanes: +/* 801418D4 0013E834 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 801418D8 0013E838 7C 08 02 A6 */ mflr r0 +/* 801418DC 0013E83C 90 01 00 44 */ stw r0, 0x44(r1) +/* 801418E0 0013E840 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 801418E4 0013E844 7C BF 2B 78 */ mr r31, r5 +/* 801418E8 0013E848 93 C1 00 38 */ stw r30, 0x38(r1) +/* 801418EC 0013E84C 7C 9E 23 78 */ mr r30, r4 +/* 801418F0 0013E850 93 A1 00 34 */ stw r29, 0x34(r1) +/* 801418F4 0013E854 7C 7D 1B 78 */ mr r29, r3 +/* 801418F8 0013E858 93 81 00 30 */ stw r28, 0x30(r1) +/* 801418FC 0013E85C 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 80141900 0013E860 80 63 00 00 */ lwz r3, 0(r3) +/* 80141904 0013E864 4B F4 FC 55 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80141908 0013E868 20 63 00 01 */ subfic r3, r3, 1 +/* 8014190C 0013E86C 88 1D 04 02 */ lbz r0, 0x402(r29) +/* 80141910 0013E870 7C 63 00 34 */ cntlzw r3, r3 +/* 80141914 0013E874 7F C4 F3 78 */ mr r4, r30 +/* 80141918 0013E878 54 63 DE 3E */ rlwinm r3, r3, 0x1b, 0x18, 0x1f +/* 8014191C 0013E87C 7C 63 00 34 */ cntlzw r3, r3 +/* 80141920 0013E880 50 60 EF 7A */ rlwimi r0, r3, 0x1d, 0x1d, 0x1d +/* 80141924 0013E884 98 1D 04 02 */ stb r0, 0x402(r29) +/* 80141928 0013E888 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 8014192C 0013E88C 80 63 00 00 */ lwz r3, 0(r3) +/* 80141930 0013E890 4B F4 FC 29 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80141934 0013E894 2C 03 00 03 */ cmpwi r3, 3 +/* 80141938 0013E898 40 82 00 28 */ bne lbl_80141960 +/* 8014193C 0013E89C 7F A3 EB 78 */ mr r3, r29 +/* 80141940 0013E8A0 38 80 00 00 */ li r4, 0 +/* 80141944 0013E8A4 4B F1 1F DD */ bl SetCalculateLighting__6CActorFb +/* 80141948 0013E8A8 83 9D 00 90 */ lwz r28, 0x90(r29) +/* 8014194C 0013E8AC 48 20 86 61 */ bl White__6CColorFv +/* 80141950 0013E8B0 7C 64 1B 78 */ mr r4, r3 +/* 80141954 0013E8B4 7F 83 E3 78 */ mr r3, r28 +/* 80141958 0013E8B8 4B FC 17 59 */ bl BuildConstantAmbientLighting__12CActorLightsFRC6CColor +/* 8014195C 0013E8BC 48 00 00 10 */ b lbl_8014196C +lbl_80141960: +/* 80141960 0013E8C0 7F A3 EB 78 */ mr r3, r29 +/* 80141964 0013E8C4 38 80 00 01 */ li r4, 1 +/* 80141968 0013E8C8 4B F1 1F B9 */ bl SetCalculateLighting__6CActorFb +lbl_8014196C: +/* 8014196C 0013E8CC 7F A3 EB 78 */ mr r3, r29 +/* 80141970 0013E8D0 80 1D 04 2C */ lwz r0, 0x42c(r29) +/* 80141974 0013E8D4 81 9D 00 00 */ lwz r12, 0(r29) +/* 80141978 0013E8D8 7F C4 F3 78 */ mr r4, r30 +/* 8014197C 0013E8DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80141980 0013E8E0 81 8C 02 B4 */ lwz r12, 0x2b4(r12) +/* 80141984 0013E8E4 7D 89 03 A6 */ mtctr r12 +/* 80141988 0013E8E8 4E 80 04 21 */ bctrl +/* 8014198C 0013E8EC 7C 7C 1B 78 */ mr r28, r3 +/* 80141990 0013E8F0 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80141994 0013E8F4 28 00 00 FF */ cmplwi r0, 0xff +/* 80141998 0013E8F8 41 80 00 10 */ blt lbl_801419A8 +/* 8014199C 0013E8FC 88 01 00 10 */ lbz r0, 0x10(r1) +/* 801419A0 0013E900 28 00 00 00 */ cmplwi r0, 0 +/* 801419A4 0013E904 41 82 00 8C */ beq lbl_80141A30 +lbl_801419A8: +/* 801419A8 0013E908 88 01 00 10 */ lbz r0, 0x10(r1) +/* 801419AC 0013E90C 28 00 00 00 */ cmplwi r0, 0 +/* 801419B0 0013E910 41 82 00 34 */ beq lbl_801419E4 +/* 801419B4 0013E914 54 00 08 3C */ slwi r0, r0, 1 +/* 801419B8 0013E918 38 81 00 0C */ addi r4, r1, 0xc +/* 801419BC 0013E91C 20 00 00 FF */ subfic r0, r0, 0xff +/* 801419C0 0013E920 38 6D 8B 9C */ addi r3, r13, lbl_805A775C@sda21 +/* 801419C4 0013E924 90 01 00 0C */ stw r0, 0xc(r1) +/* 801419C8 0013E928 48 00 0E F9 */ bl sub_801428c0 +/* 801419CC 0013E92C 80 63 00 00 */ lwz r3, 0(r3) +/* 801419D0 0013E930 38 00 00 FF */ li r0, 0xff +/* 801419D4 0013E934 98 01 00 10 */ stb r0, 0x10(r1) +/* 801419D8 0013E938 98 61 00 11 */ stb r3, 0x11(r1) +/* 801419DC 0013E93C 98 61 00 12 */ stb r3, 0x12(r1) +/* 801419E0 0013E940 48 00 00 10 */ b lbl_801419F0 +lbl_801419E4: +/* 801419E4 0013E944 48 20 85 C9 */ bl White__6CColorFv +/* 801419E8 0013E948 80 03 00 00 */ lwz r0, 0(r3) +/* 801419EC 0013E94C 90 01 00 10 */ stw r0, 0x10(r1) +lbl_801419F0: +/* 801419F0 0013E950 38 00 00 05 */ li r0, 5 +/* 801419F4 0013E954 88 C1 00 10 */ lbz r6, 0x10(r1) +/* 801419F8 0013E958 88 A1 00 11 */ lbz r5, 0x11(r1) +/* 801419FC 0013E95C 38 60 00 00 */ li r3, 0 +/* 80141A00 0013E960 98 1D 00 B4 */ stb r0, 0xb4(r29) +/* 80141A04 0013E964 38 00 00 03 */ li r0, 3 +/* 80141A08 0013E968 88 81 00 12 */ lbz r4, 0x12(r1) +/* 80141A0C 0013E96C 98 7D 00 B5 */ stb r3, 0xb5(r29) +/* 80141A10 0013E970 98 C1 00 08 */ stb r6, 8(r1) +/* 80141A14 0013E974 98 A1 00 09 */ stb r5, 9(r1) +/* 80141A18 0013E978 98 81 00 0A */ stb r4, 0xa(r1) +/* 80141A1C 0013E97C 9B 81 00 0B */ stb r28, 0xb(r1) +/* 80141A20 0013E980 B0 1D 00 B6 */ sth r0, 0xb6(r29) +/* 80141A24 0013E984 80 01 00 08 */ lwz r0, 8(r1) +/* 80141A28 0013E988 90 1D 00 B8 */ stw r0, 0xb8(r29) +/* 80141A2C 0013E98C 48 00 00 50 */ b lbl_80141A7C +lbl_80141A30: +/* 80141A30 0013E990 C0 22 9B 60 */ lfs f1, lbl_805AB880@sda21(r2) +/* 80141A34 0013E994 38 80 00 00 */ li r4, 0 +/* 80141A38 0013E998 38 00 00 03 */ li r0, 3 +/* 80141A3C 0013E99C 98 81 00 14 */ stb r4, 0x14(r1) +/* 80141A40 0013E9A0 FC 40 08 90 */ fmr f2, f1 +/* 80141A44 0013E9A4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80141A48 0013E9A8 FC 60 08 90 */ fmr f3, f1 +/* 80141A4C 0013E9AC 98 81 00 15 */ stb r4, 0x15(r1) +/* 80141A50 0013E9B0 FC 80 08 90 */ fmr f4, f1 +/* 80141A54 0013E9B4 B0 01 00 16 */ sth r0, 0x16(r1) +/* 80141A58 0013E9B8 48 22 19 95 */ bl __ct__6CColorFffff +/* 80141A5C 0013E9BC 88 01 00 14 */ lbz r0, 0x14(r1) +/* 80141A60 0013E9C0 98 1D 00 B4 */ stb r0, 0xb4(r29) +/* 80141A64 0013E9C4 88 01 00 15 */ lbz r0, 0x15(r1) +/* 80141A68 0013E9C8 98 1D 00 B5 */ stb r0, 0xb5(r29) +/* 80141A6C 0013E9CC A0 01 00 16 */ lhz r0, 0x16(r1) +/* 80141A70 0013E9D0 B0 1D 00 B6 */ sth r0, 0xb6(r29) +/* 80141A74 0013E9D4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80141A78 0013E9D8 90 1D 00 B8 */ stw r0, 0xb8(r29) +lbl_80141A7C: +/* 80141A7C 0013E9DC 7F A3 EB 78 */ mr r3, r29 +/* 80141A80 0013E9E0 7F C4 F3 78 */ mr r4, r30 +/* 80141A84 0013E9E4 7F E5 FB 78 */ mr r5, r31 +/* 80141A88 0013E9E8 4B F1 32 59 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes +/* 80141A8C 0013E9EC 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80141A90 0013E9F0 7F C4 F3 78 */ mr r4, r30 +/* 80141A94 0013E9F4 81 1D 04 50 */ lwz r8, 0x450(r29) +/* 80141A98 0013E9F8 38 7D 06 8C */ addi r3, r29, 0x68c +/* 80141A9C 0013E9FC C0 05 00 00 */ lfs f0, 0(r5) +/* 80141AA0 0013EA00 38 DD 00 34 */ addi r6, r29, 0x34 +/* 80141AA4 0013EA04 38 E1 00 1C */ addi r7, r1, 0x1c +/* 80141AA8 0013EA08 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80141AAC 0013EA0C C0 05 00 04 */ lfs f0, 4(r5) +/* 80141AB0 0013EA10 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80141AB4 0013EA14 C0 05 00 08 */ lfs f0, 8(r5) +/* 80141AB8 0013EA18 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80141ABC 0013EA1C 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80141AC0 0013EA20 80 A5 00 10 */ lwz r5, 0x10(r5) +/* 80141AC4 0013EA24 48 03 3E 4D */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController +/* 80141AC8 0013EA28 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80141ACC 0013EA2C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80141AD0 0013EA30 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80141AD4 0013EA34 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80141AD8 0013EA38 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80141ADC 0013EA3C 7C 08 03 A6 */ mtlr r0 +/* 80141AE0 0013EA40 38 21 00 40 */ addi r1, r1, 0x40 +/* 80141AE4 0013EA44 4E 80 00 20 */ blr + +.global GetModelAlphau8__11CChozoGhostCFRC13CStateManager +GetModelAlphau8__11CChozoGhostCFRC13CStateManager: +/* 80141AE8 0013EA48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80141AEC 0013EA4C 7C 08 02 A6 */ mflr r0 +/* 80141AF0 0013EA50 90 01 00 14 */ stw r0, 0x14(r1) +/* 80141AF4 0013EA54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80141AF8 0013EA58 3B E0 00 FF */ li r31, 0xff +/* 80141AFC 0013EA5C 93 C1 00 08 */ stw r30, 8(r1) +/* 80141B00 0013EA60 7C 7E 1B 78 */ mr r30, r3 +/* 80141B04 0013EA64 80 A4 08 B8 */ lwz r5, 0x8b8(r4) +/* 80141B08 0013EA68 80 65 00 00 */ lwz r3, 0(r5) +/* 80141B0C 0013EA6C 4B F4 FA 4D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80141B10 0013EA70 2C 03 00 01 */ cmpwi r3, 1 +/* 80141B14 0013EA74 40 82 00 10 */ bne lbl_80141B24 +/* 80141B18 0013EA78 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80141B1C 0013EA7C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80141B20 0013EA80 40 82 00 08 */ bne lbl_80141B28 +lbl_80141B24: +/* 80141B24 0013EA84 8B FE 04 2F */ lbz r31, 0x42f(r30) +lbl_80141B28: +/* 80141B28 0013EA88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80141B2C 0013EA8C 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 80141B30 0013EA90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80141B34 0013EA94 83 C1 00 08 */ lwz r30, 8(r1) +/* 80141B38 0013EA98 7C 08 03 A6 */ mtlr r0 +/* 80141B3C 0013EA9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80141B40 0013EAA0 4E 80 00 20 */ blr + +.global GetDamageVulnerability__11CChozoGhostCFv +GetDamageVulnerability__11CChozoGhostCFv: +/* 80141B44 0013EAA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80141B48 0013EAA8 7C 08 02 A6 */ mflr r0 +/* 80141B4C 0013EAAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80141B50 0013EAB0 88 03 06 65 */ lbz r0, 0x665(r3) +/* 80141B54 0013EAB4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80141B58 0013EAB8 41 82 00 10 */ beq lbl_80141B68 +/* 80141B5C 0013EABC 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha +/* 80141B60 0013EAC0 38 63 D7 E8 */ addi r3, r3, lbl_8056D7E8@l +/* 80141B64 0013EAC4 48 00 00 08 */ b lbl_80141B6C +lbl_80141B68: +/* 80141B68 0013EAC8 4B F6 12 09 */ bl GetDamageVulnerability__3CAiCFv +lbl_80141B6C: +/* 80141B6C 0013EACC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80141B70 0013EAD0 7C 08 03 A6 */ mtlr r0 +/* 80141B74 0013EAD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80141B78 0013EAD8 4E 80 00 20 */ blr + +.global GetCollisionResponseType__11CChozoGhostCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__11CChozoGhostCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 80141B7C 0013EADC 38 60 00 26 */ li r3, 0x26 +/* 80141B80 0013EAE0 4E 80 00 20 */ blr + +.global CanBeShot__11CChozoGhostFRC13CStateManageri +CanBeShot__11CChozoGhostFRC13CStateManageri: +/* 80141B84 0013EAE4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80141B88 0013EAE8 7C 08 02 A6 */ mflr r0 +/* 80141B8C 0013EAEC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80141B90 0013EAF0 4B FF FB D1 */ bl sub_80141760 +/* 80141B94 0013EAF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80141B98 0013EAF8 7C 08 03 A6 */ mtlr r0 +/* 80141B9C 0013EAFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80141BA0 0013EB00 4E 80 00 20 */ blr + +.global Touch__11CChozoGhostFR6CActorR13CStateManager +Touch__11CChozoGhostFR6CActorR13CStateManager: +/* 80141BA4 0013EB04 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80141BA8 0013EB08 7C 08 02 A6 */ mflr r0 +/* 80141BAC 0013EB0C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80141BB0 0013EB10 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80141BB4 0013EB14 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80141BB8 0013EB18 7C BE 2B 78 */ mr r30, r5 +/* 80141BBC 0013EB1C 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80141BC0 0013EB20 7C 9D 23 78 */ mr r29, r4 +/* 80141BC4 0013EB24 7F C4 F3 78 */ mr r4, r30 +/* 80141BC8 0013EB28 93 81 00 60 */ stw r28, 0x60(r1) +/* 80141BCC 0013EB2C 7C 7C 1B 78 */ mr r28, r3 +/* 80141BD0 0013EB30 4B FF FB 91 */ bl sub_80141760 +/* 80141BD4 0013EB34 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80141BD8 0013EB38 41 82 00 C4 */ beq lbl_80141C9C +/* 80141BDC 0013EB3C 7F A4 EB 78 */ mr r4, r29 +/* 80141BE0 0013EB40 38 61 00 20 */ addi r3, r1, 0x20 +/* 80141BE4 0013EB44 4B F6 A8 1D */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 80141BE8 0013EB48 83 E3 00 04 */ lwz r31, 4(r3) +/* 80141BEC 0013EB4C 28 1F 00 00 */ cmplwi r31, 0 +/* 80141BF0 0013EB50 41 82 00 AC */ beq lbl_80141C9C +/* 80141BF4 0013EB54 C0 3C 04 20 */ lfs f1, 0x420(r28) +/* 80141BF8 0013EB58 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 80141BFC 0013EB5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80141C00 0013EB60 4C 40 13 82 */ cror 2, 0, 2 +/* 80141C04 0013EB64 40 82 00 98 */ bne lbl_80141C9C +/* 80141C08 0013EB68 80 AD 8B 98 */ lwz r5, lbl_805A7758@sda21(r13) +/* 80141C0C 0013EB6C 38 60 00 00 */ li r3, 0 +/* 80141C10 0013EB70 38 80 00 01 */ li r4, 1 +/* 80141C14 0013EB74 48 24 82 E1 */ bl __shl2i +/* 80141C18 0013EB78 38 A0 00 00 */ li r5, 0 +/* 80141C1C 0013EB7C 38 00 00 03 */ li r0, 3 +/* 80141C20 0013EB80 90 81 00 2C */ stw r4, 0x2c(r1) +/* 80141C24 0013EB84 7F 84 E3 78 */ mr r4, r28 +/* 80141C28 0013EB88 90 61 00 28 */ stw r3, 0x28(r1) +/* 80141C2C 0013EB8C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80141C30 0013EB90 90 A1 00 34 */ stw r5, 0x34(r1) +/* 80141C34 0013EB94 90 A1 00 30 */ stw r5, 0x30(r1) +/* 80141C38 0013EB98 90 01 00 38 */ stw r0, 0x38(r1) +/* 80141C3C 0013EB9C A0 1C 00 08 */ lhz r0, 8(r28) +/* 80141C40 0013EBA0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80141C44 0013EBA4 A0 BF 00 08 */ lhz r5, 8(r31) +/* 80141C48 0013EBA8 B0 01 00 08 */ sth r0, 8(r1) +/* 80141C4C 0013EBAC B0 A1 00 14 */ sth r5, 0x14(r1) +/* 80141C50 0013EBB0 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80141C54 0013EBB4 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 80141C58 0013EBB8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80141C5C 0013EBBC 81 9C 00 00 */ lwz r12, 0(r28) +/* 80141C60 0013EBC0 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80141C64 0013EBC4 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80141C68 0013EBC8 7D 89 03 A6 */ mtctr r12 +/* 80141C6C 0013EBCC 4E 80 04 21 */ bctrl +/* 80141C70 0013EBD0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80141C74 0013EBD4 7F C3 F3 78 */ mr r3, r30 +/* 80141C78 0013EBD8 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80141C7C 0013EBDC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80141C80 0013EBE0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80141C84 0013EBE4 38 C1 00 0C */ addi r6, r1, 0xc +/* 80141C88 0013EBE8 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80141C8C 0013EBEC 39 01 00 28 */ addi r8, r1, 0x28 +/* 80141C90 0013EBF0 4B F0 84 11 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80141C94 0013EBF4 C0 1C 04 24 */ lfs f0, 0x424(r28) +/* 80141C98 0013EBF8 D0 1C 04 20 */ stfs f0, 0x420(r28) +lbl_80141C9C: +/* 80141C9C 0013EBFC 7F 83 E3 78 */ mr r3, r28 +/* 80141CA0 0013EC00 7F A4 EB 78 */ mr r4, r29 +/* 80141CA4 0013EC04 7F C5 F3 78 */ mr r5, r30 +/* 80141CA8 0013EC08 4B F3 7D F9 */ bl Touch__10CPatternedFR6CActorR13CStateManager +/* 80141CAC 0013EC0C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80141CB0 0013EC10 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80141CB4 0013EC14 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80141CB8 0013EC18 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80141CBC 0013EC1C 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80141CC0 0013EC20 7C 08 03 A6 */ mtlr r0 +/* 80141CC4 0013EC24 38 21 00 70 */ addi r1, r1, 0x70 +/* 80141CC8 0013EC28 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CChozoGhostF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CChozoGhostF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80141CCC 0013EC2C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80141CD0 0013EC30 7C 08 02 A6 */ mflr r0 +/* 80141CD4 0013EC34 90 01 00 34 */ stw r0, 0x34(r1) +/* 80141CD8 0013EC38 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80141CDC 0013EC3C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80141CE0 0013EC40 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80141CE4 0013EC44 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80141CE8 0013EC48 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80141CEC 0013EC4C A0 05 00 00 */ lhz r0, 0(r5) +/* 80141CF0 0013EC50 7C 7F 1B 78 */ mr r31, r3 +/* 80141CF4 0013EC54 7C 9D 23 78 */ mr r29, r4 +/* 80141CF8 0013EC58 7C DE 33 78 */ mr r30, r6 +/* 80141CFC 0013EC5C B0 01 00 08 */ sth r0, 8(r1) +/* 80141D00 0013EC60 38 A1 00 08 */ addi r5, r1, 8 +/* 80141D04 0013EC64 4B F3 AE 75 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80141D08 0013EC68 28 1D 00 28 */ cmplwi r29, 0x28 +/* 80141D0C 0013EC6C 41 81 00 DC */ bgt lbl_80141DE8 +/* 80141D10 0013EC70 3C 60 80 3E */ lis r3, lbl_803E1BE4@ha +/* 80141D14 0013EC74 57 A0 10 3A */ slwi r0, r29, 2 +/* 80141D18 0013EC78 38 63 1B E4 */ addi r3, r3, lbl_803E1BE4@l +/* 80141D1C 0013EC7C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80141D20 0013EC80 7C 09 03 A6 */ mtctr r0 +/* 80141D24 0013EC84 4E 80 04 20 */ bctr +/* 80141D28 0013EC88 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80141D2C 0013EC8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80141D30 0013EC90 41 82 00 B8 */ beq lbl_80141DE8 +/* 80141D34 0013EC94 7F E3 FB 78 */ mr r3, r31 +/* 80141D38 0013EC98 7F C4 F3 78 */ mr r4, r30 +/* 80141D3C 0013EC9C 4B FF F9 5D */ bl sub_80141698 +/* 80141D40 0013ECA0 48 00 00 A8 */ b lbl_80141DE8 +/* 80141D44 0013ECA4 7F E3 FB 78 */ mr r3, r31 +/* 80141D48 0013ECA8 7F C4 F3 78 */ mr r4, r30 +/* 80141D4C 0013ECAC 4B FF F9 4D */ bl sub_80141698 +/* 80141D50 0013ECB0 48 00 00 98 */ b lbl_80141DE8 +/* 80141D54 0013ECB4 88 9F 06 64 */ lbz r4, 0x664(r31) +/* 80141D58 0013ECB8 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f +/* 80141D5C 0013ECBC 40 82 00 8C */ bne lbl_80141DE8 +/* 80141D60 0013ECC0 38 60 00 01 */ li r3, 1 +/* 80141D64 0013ECC4 50 64 2E B4 */ rlwimi r4, r3, 5, 0x1a, 0x1a +/* 80141D68 0013ECC8 98 9F 06 64 */ stb r4, 0x664(r31) +/* 80141D6C 0013ECCC 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 80141D70 0013ECD0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80141D74 0013ECD4 98 1F 04 00 */ stb r0, 0x400(r31) +/* 80141D78 0013ECD8 48 00 00 70 */ b lbl_80141DE8 +/* 80141D7C 0013ECDC 88 1F 06 64 */ lbz r0, 0x664(r31) +/* 80141D80 0013ECE0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80141D84 0013ECE4 41 82 00 64 */ beq lbl_80141DE8 +/* 80141D88 0013ECE8 88 1F 06 65 */ lbz r0, 0x665(r31) +/* 80141D8C 0013ECEC 38 60 00 01 */ li r3, 1 +/* 80141D90 0013ECF0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80141D94 0013ECF4 98 1F 06 65 */ stb r0, 0x665(r31) +/* 80141D98 0013ECF8 48 00 00 50 */ b lbl_80141DE8 +/* 80141D9C 0013ECFC 7F E3 FB 78 */ mr r3, r31 +/* 80141DA0 0013ED00 7F C4 F3 78 */ mr r4, r30 +/* 80141DA4 0013ED04 4B FF F8 49 */ bl sub_801415ec +/* 80141DA8 0013ED08 48 00 00 40 */ b lbl_80141DE8 +/* 80141DAC 0013ED0C 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 80141DB0 0013ED10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80141DB4 0013ED14 40 82 00 34 */ bne lbl_80141DE8 +/* 80141DB8 0013ED18 7F E3 FB 78 */ mr r3, r31 +/* 80141DBC 0013ED1C C3 FF 00 E8 */ lfs f31, 0xe8(r31) +/* 80141DC0 0013ED20 81 9F 00 00 */ lwz r12, 0(r31) +/* 80141DC4 0013ED24 81 8C 02 BC */ lwz r12, 0x2bc(r12) +/* 80141DC8 0013ED28 7D 89 03 A6 */ mtctr r12 +/* 80141DCC 0013ED2C 4E 80 04 21 */ bctrl +/* 80141DD0 0013ED30 FC 20 08 50 */ fneg f1, f1 +/* 80141DD4 0013ED34 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 80141DD8 0013ED38 D0 1F 01 50 */ stfs f0, 0x150(r31) +/* 80141DDC 0013ED3C EC 21 07 F2 */ fmuls f1, f1, f31 +/* 80141DE0 0013ED40 D0 1F 01 54 */ stfs f0, 0x154(r31) +/* 80141DE4 0013ED44 D0 3F 01 58 */ stfs f1, 0x158(r31) +lbl_80141DE8: +/* 80141DE8 0013ED48 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80141DEC 0013ED4C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80141DF0 0013ED50 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80141DF4 0013ED54 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80141DF8 0013ED58 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80141DFC 0013ED5C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80141E00 0013ED60 7C 08 03 A6 */ mtlr r0 +/* 80141E04 0013ED64 38 21 00 30 */ addi r1, r1, 0x30 +/* 80141E08 0013ED68 4E 80 00 20 */ blr + +.global Accept__11CChozoGhostFR8IVisitor +Accept__11CChozoGhostFR8IVisitor: +/* 80141E0C 0013ED6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80141E10 0013ED70 7C 08 02 A6 */ mflr r0 +/* 80141E14 0013ED74 90 01 00 14 */ stw r0, 0x14(r1) +/* 80141E18 0013ED78 7C 60 1B 78 */ mr r0, r3 +/* 80141E1C 0013ED7C 7C 83 23 78 */ mr r3, r4 +/* 80141E20 0013ED80 81 84 00 00 */ lwz r12, 0(r4) +/* 80141E24 0013ED84 7C 04 03 78 */ mr r4, r0 +/* 80141E28 0013ED88 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80141E2C 0013ED8C 7D 89 03 A6 */ mtctr r12 +/* 80141E30 0013ED90 4E 80 04 21 */ bctrl +/* 80141E34 0013ED94 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80141E38 0013ED98 7C 08 03 A6 */ mtlr r0 +/* 80141E3C 0013ED9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80141E40 0013EDA0 4E 80 00 20 */ blr + +.global "__ct__11CChozoGhostF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffffUiRC11CDamageInfoUiRC11CDamageInfoRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChance" +"__ct__11CChozoGhostF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffffUiRC11CDamageInfoUiRC11CDamageInfoRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChance": +/* 80141E44 0013EDA4 94 21 FD 10 */ stwu r1, -0x2f0(r1) +/* 80141E48 0013EDA8 7C 08 02 A6 */ mflr r0 +/* 80141E4C 0013EDAC 90 01 02 F4 */ stw r0, 0x2f4(r1) +/* 80141E50 0013EDB0 DB E1 02 E0 */ stfd f31, 0x2e0(r1) +/* 80141E54 0013EDB4 F3 E1 02 E8 */ psq_st f31, 744(r1), 0, qr0 +/* 80141E58 0013EDB8 DB C1 02 D0 */ stfd f30, 0x2d0(r1) +/* 80141E5C 0013EDBC F3 C1 02 D8 */ psq_st f30, 728(r1), 0, qr0 +/* 80141E60 0013EDC0 DB A1 02 C0 */ stfd f29, 0x2c0(r1) +/* 80141E64 0013EDC4 F3 A1 02 C8 */ psq_st f29, 712(r1), 0, qr0 +/* 80141E68 0013EDC8 DB 81 02 B0 */ stfd f28, 0x2b0(r1) +/* 80141E6C 0013EDCC F3 81 02 B8 */ psq_st f28, 696(r1), 0, qr0 +/* 80141E70 0013EDD0 DB 61 02 A0 */ stfd f27, 0x2a0(r1) +/* 80141E74 0013EDD4 F3 61 02 A8 */ psq_st f27, 680(r1), 0, qr0 +/* 80141E78 0013EDD8 DB 41 02 90 */ stfd f26, 0x290(r1) +/* 80141E7C 0013EDDC F3 41 02 98 */ psq_st f26, 664(r1), 0, qr0 +/* 80141E80 0013EDE0 DB 21 02 80 */ stfd f25, 0x280(r1) +/* 80141E84 0013EDE4 F3 21 02 88 */ psq_st f25, 648(r1), 0, qr0 +/* 80141E88 0013EDE8 DB 01 02 70 */ stfd f24, 0x270(r1) +/* 80141E8C 0013EDEC F3 01 02 78 */ psq_st f24, 632(r1), 0, qr0 +/* 80141E90 0013EDF0 DA E1 02 60 */ stfd f23, 0x260(r1) +/* 80141E94 0013EDF4 F2 E1 02 68 */ psq_st f23, 616(r1), 0, qr0 +/* 80141E98 0013EDF8 BD E1 02 1C */ stmw r15, 0x21c(r1) +/* 80141E9C 0013EDFC A0 04 00 00 */ lhz r0, 0(r4) +/* 80141EA0 0013EE00 7C CC 33 78 */ mr r12, r6 +/* 80141EA4 0013EE04 7D 0B 43 78 */ mr r11, r8 +/* 80141EA8 0013EE08 7C A6 2B 78 */ mr r6, r5 +/* 80141EAC 0013EE0C B0 01 00 20 */ sth r0, 0x20(r1) +/* 80141EB0 0013EE10 38 80 00 01 */ li r4, 1 +/* 80141EB4 0013EE14 38 00 00 00 */ li r0, 0 +/* 80141EB8 0013EE18 FE E0 08 90 */ fmr f23, f1 +/* 80141EBC 0013EE1C 91 41 00 08 */ stw r10, 8(r1) +/* 80141EC0 0013EE20 FF 00 10 90 */ fmr f24, f2 +/* 80141EC4 0013EE24 FF 20 18 90 */ fmr f25, f3 +/* 80141EC8 0013EE28 83 21 02 F8 */ lwz r25, 0x2f8(r1) +/* 80141ECC 0013EE2C 90 81 00 0C */ stw r4, 0xc(r1) +/* 80141ED0 0013EE30 FF 40 20 90 */ fmr f26, f4 +/* 80141ED4 0013EE34 83 41 02 FC */ lwz r26, 0x2fc(r1) +/* 80141ED8 0013EE38 90 01 00 10 */ stw r0, 0x10(r1) +/* 80141EDC 0013EE3C FF 60 28 90 */ fmr f27, f5 +/* 80141EE0 0013EE40 83 61 03 00 */ lwz r27, 0x300(r1) +/* 80141EE4 0013EE44 90 81 00 14 */ stw r4, 0x14(r1) +/* 80141EE8 0013EE48 FF 80 30 90 */ fmr f28, f6 +/* 80141EEC 0013EE4C 83 81 03 04 */ lwz r28, 0x304(r1) +/* 80141EF0 0013EE50 91 21 00 18 */ stw r9, 0x18(r1) +/* 80141EF4 0013EE54 FF A0 38 90 */ fmr f29, f7 +/* 80141EF8 0013EE58 7C E9 3B 78 */ mr r9, r7 +/* 80141EFC 0013EE5C 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80141F00 0013EE60 FF C0 40 90 */ fmr f30, f8 +/* 80141F04 0013EE64 83 A1 03 08 */ lwz r29, 0x308(r1) +/* 80141F08 0013EE68 83 C1 03 0C */ lwz r30, 0x30c(r1) +/* 80141F0C 0013EE6C 83 E1 03 10 */ lwz r31, 0x310(r1) +/* 80141F10 0013EE70 7C 78 1B 78 */ mr r24, r3 +/* 80141F14 0013EE74 A2 01 03 16 */ lhz r16, 0x316(r1) +/* 80141F18 0013EE78 A2 21 03 1A */ lhz r17, 0x31a(r1) +/* 80141F1C 0013EE7C 7D 88 63 78 */ mr r8, r12 +/* 80141F20 0013EE80 A2 41 03 1E */ lhz r18, 0x31e(r1) +/* 80141F24 0013EE84 7D 6A 5B 78 */ mr r10, r11 +/* 80141F28 0013EE88 82 61 03 20 */ lwz r19, 0x320(r1) +/* 80141F2C 0013EE8C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80141F30 0013EE90 82 81 03 24 */ lwz r20, 0x324(r1) +/* 80141F34 0013EE94 38 80 00 06 */ li r4, 6 +/* 80141F38 0013EE98 82 A1 03 28 */ lwz r21, 0x328(r1) +/* 80141F3C 0013EE9C 38 E0 00 00 */ li r7, 0 +/* 80141F40 0013EEA0 A2 C1 03 2E */ lhz r22, 0x32e(r1) +/* 80141F44 0013EEA4 C3 E1 03 30 */ lfs f31, 0x330(r1) +/* 80141F48 0013EEA8 82 E1 03 34 */ lwz r23, 0x334(r1) +/* 80141F4C 0013EEAC 81 E1 03 38 */ lwz r15, 0x338(r1) +/* 80141F50 0013EEB0 4B F3 B5 01 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80141F54 0013EEB4 3C 60 80 3E */ lis r3, lbl_803E1918@ha +/* 80141F58 0013EEB8 7F 24 CB 78 */ mr r4, r25 +/* 80141F5C 0013EEBC 38 03 19 18 */ addi r0, r3, lbl_803E1918@l +/* 80141F60 0013EEC0 7F 45 D3 78 */ mr r5, r26 +/* 80141F64 0013EEC4 90 18 00 00 */ stw r0, 0(r24) +/* 80141F68 0013EEC8 38 78 05 78 */ addi r3, r24, 0x578 +/* 80141F6C 0013EECC D2 F8 05 68 */ stfs f23, 0x568(r24) +/* 80141F70 0013EED0 D3 18 05 6C */ stfs f24, 0x56c(r24) +/* 80141F74 0013EED4 D3 38 05 70 */ stfs f25, 0x570(r24) +/* 80141F78 0013EED8 D3 58 05 74 */ stfs f26, 0x574(r24) +/* 80141F7C 0013EEDC 48 0D A1 2D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 80141F80 0013EEE0 7F 64 DB 78 */ mr r4, r27 +/* 80141F84 0013EEE4 7F 85 E3 78 */ mr r5, r28 +/* 80141F88 0013EEE8 38 78 05 A0 */ addi r3, r24, 0x5a0 +/* 80141F8C 0013EEEC 48 0D A1 1D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 80141F90 0013EEF0 80 7D 00 00 */ lwz r3, 0(r29) +/* 80141F94 0013EEF4 38 00 00 00 */ li r0, 0 +/* 80141F98 0013EEF8 90 78 05 C8 */ stw r3, 0x5c8(r24) +/* 80141F9C 0013EEFC C0 1D 00 04 */ lfs f0, 4(r29) +/* 80141FA0 0013EF00 D0 18 05 CC */ stfs f0, 0x5cc(r24) +/* 80141FA4 0013EF04 C0 1D 00 08 */ lfs f0, 8(r29) +/* 80141FA8 0013EF08 D0 18 05 D0 */ stfs f0, 0x5d0(r24) +/* 80141FAC 0013EF0C C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 80141FB0 0013EF10 D0 18 05 D4 */ stfs f0, 0x5d4(r24) +/* 80141FB4 0013EF14 C0 1D 00 10 */ lfs f0, 0x10(r29) +/* 80141FB8 0013EF18 D0 18 05 D8 */ stfs f0, 0x5d8(r24) +/* 80141FBC 0013EF1C C0 1D 00 14 */ lfs f0, 0x14(r29) +/* 80141FC0 0013EF20 D0 18 05 DC */ stfs f0, 0x5dc(r24) +/* 80141FC4 0013EF24 C0 1D 00 18 */ lfs f0, 0x18(r29) +/* 80141FC8 0013EF28 D0 18 05 E0 */ stfs f0, 0x5e0(r24) +/* 80141FCC 0013EF2C 80 7D 00 1C */ lwz r3, 0x1c(r29) +/* 80141FD0 0013EF30 90 78 05 E4 */ stw r3, 0x5e4(r24) +/* 80141FD4 0013EF34 80 7E 00 00 */ lwz r3, 0(r30) +/* 80141FD8 0013EF38 90 78 05 E8 */ stw r3, 0x5e8(r24) +/* 80141FDC 0013EF3C C0 1E 00 04 */ lfs f0, 4(r30) +/* 80141FE0 0013EF40 D0 18 05 EC */ stfs f0, 0x5ec(r24) +/* 80141FE4 0013EF44 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80141FE8 0013EF48 D0 18 05 F0 */ stfs f0, 0x5f0(r24) +/* 80141FEC 0013EF4C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80141FF0 0013EF50 D0 18 05 F4 */ stfs f0, 0x5f4(r24) +/* 80141FF4 0013EF54 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 80141FF8 0013EF58 D0 18 05 F8 */ stfs f0, 0x5f8(r24) +/* 80141FFC 0013EF5C C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 80142000 0013EF60 D0 18 05 FC */ stfs f0, 0x5fc(r24) +/* 80142004 0013EF64 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 80142008 0013EF68 D0 18 06 00 */ stfs f0, 0x600(r24) +/* 8014200C 0013EF6C 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 80142010 0013EF70 90 78 06 04 */ stw r3, 0x604(r24) +/* 80142014 0013EF74 80 7F 00 00 */ lwz r3, 0(r31) +/* 80142018 0013EF78 90 78 06 08 */ stw r3, 0x608(r24) +/* 8014201C 0013EF7C C0 1F 00 04 */ lfs f0, 4(r31) +/* 80142020 0013EF80 D0 18 06 0C */ stfs f0, 0x60c(r24) +/* 80142024 0013EF84 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80142028 0013EF88 D0 18 06 10 */ stfs f0, 0x610(r24) +/* 8014202C 0013EF8C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 80142030 0013EF90 D0 18 06 14 */ stfs f0, 0x614(r24) +/* 80142034 0013EF94 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 80142038 0013EF98 D0 18 06 18 */ stfs f0, 0x618(r24) +/* 8014203C 0013EF9C C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 80142040 0013EFA0 D0 18 06 1C */ stfs f0, 0x61c(r24) +/* 80142044 0013EFA4 C0 1F 00 18 */ lfs f0, 0x18(r31) +/* 80142048 0013EFA8 D0 18 06 20 */ stfs f0, 0x620(r24) +/* 8014204C 0013EFAC 80 7F 00 1C */ lwz r3, 0x1c(r31) +/* 80142050 0013EFB0 90 78 06 24 */ stw r3, 0x624(r24) +/* 80142054 0013EFB4 B2 18 06 28 */ sth r16, 0x628(r24) +/* 80142058 0013EFB8 D3 78 06 2C */ stfs f27, 0x62c(r24) +/* 8014205C 0013EFBC B2 38 06 30 */ sth r17, 0x630(r24) +/* 80142060 0013EFC0 B2 58 06 32 */ sth r18, 0x632(r24) +/* 80142064 0013EFC4 D3 98 06 34 */ stfs f28, 0x634(r24) +/* 80142068 0013EFC8 D3 B8 06 38 */ stfs f29, 0x638(r24) +/* 8014206C 0013EFCC 92 98 06 3C */ stw r20, 0x63c(r24) +/* 80142070 0013EFD0 98 18 06 4C */ stb r0, 0x64c(r24) +/* 80142074 0013EFD4 B2 D8 06 50 */ sth r22, 0x650(r24) +/* 80142078 0013EFD8 D3 D8 06 54 */ stfs f30, 0x654(r24) +/* 8014207C 0013EFDC D3 F8 06 58 */ stfs f31, 0x658(r24) +/* 80142080 0013EFE0 92 F8 06 5C */ stw r23, 0x65c(r24) +/* 80142084 0013EFE4 91 F8 06 60 */ stw r15, 0x660(r24) +/* 80142088 0013EFE8 88 78 06 64 */ lbz r3, 0x664(r24) +/* 8014208C 0013EFEC 52 63 3E 30 */ rlwimi r3, r19, 7, 0x18, 0x18 +/* 80142090 0013EFF0 98 78 06 64 */ stb r3, 0x664(r24) +/* 80142094 0013EFF4 88 78 06 64 */ lbz r3, 0x664(r24) +/* 80142098 0013EFF8 52 63 2E 72 */ rlwimi r3, r19, 5, 0x19, 0x19 +/* 8014209C 0013EFFC 98 78 06 64 */ stb r3, 0x664(r24) +/* 801420A0 0013F000 88 78 06 64 */ lbz r3, 0x664(r24) +/* 801420A4 0013F004 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a +/* 801420A8 0013F008 98 78 06 64 */ stb r3, 0x664(r24) +/* 801420AC 0013F00C 88 78 06 64 */ lbz r3, 0x664(r24) +/* 801420B0 0013F010 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 801420B4 0013F014 98 78 06 64 */ stb r3, 0x664(r24) +/* 801420B8 0013F018 88 78 06 64 */ lbz r3, 0x664(r24) +/* 801420BC 0013F01C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 801420C0 0013F020 98 78 06 64 */ stb r3, 0x664(r24) +/* 801420C4 0013F024 88 78 06 64 */ lbz r3, 0x664(r24) +/* 801420C8 0013F028 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d +/* 801420CC 0013F02C 98 78 06 64 */ stb r3, 0x664(r24) +/* 801420D0 0013F030 88 78 06 64 */ lbz r3, 0x664(r24) +/* 801420D4 0013F034 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e +/* 801420D8 0013F038 98 78 06 64 */ stb r3, 0x664(r24) +/* 801420DC 0013F03C 88 78 06 64 */ lbz r3, 0x664(r24) +/* 801420E0 0013F040 50 03 07 FE */ rlwimi r3, r0, 0, 0x1f, 0x1f +/* 801420E4 0013F044 98 78 06 64 */ stb r3, 0x664(r24) +/* 801420E8 0013F048 88 78 06 65 */ lbz r3, 0x665(r24) +/* 801420EC 0013F04C 38 80 00 01 */ li r4, 1 +/* 801420F0 0013F050 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 801420F4 0013F054 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 801420F8 0013F058 98 78 06 65 */ stb r3, 0x665(r24) +/* 801420FC 0013F05C 38 80 FF FF */ li r4, -1 +/* 80142100 0013F060 38 60 00 04 */ li r3, 4 +/* 80142104 0013F064 88 B8 06 65 */ lbz r5, 0x665(r24) +/* 80142108 0013F068 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 +/* 8014210C 0013F06C 98 B8 06 65 */ stb r5, 0x665(r24) +/* 80142110 0013F070 88 B8 06 65 */ lbz r5, 0x665(r24) +/* 80142114 0013F074 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a +/* 80142118 0013F078 98 B8 06 65 */ stb r5, 0x665(r24) +/* 8014211C 0013F07C 88 B8 06 65 */ lbz r5, 0x665(r24) +/* 80142120 0013F080 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c +/* 80142124 0013F084 98 B8 06 65 */ stb r5, 0x665(r24) +/* 80142128 0013F088 88 B8 06 65 */ lbz r5, 0x665(r24) +/* 8014212C 0013F08C 50 05 17 7A */ rlwimi r5, r0, 2, 0x1d, 0x1d +/* 80142130 0013F090 98 B8 06 65 */ stb r5, 0x665(r24) +/* 80142134 0013F094 D0 18 06 68 */ stfs f0, 0x668(r24) +/* 80142138 0013F098 D0 18 06 6C */ stfs f0, 0x66c(r24) +/* 8014213C 0013F09C D0 18 06 70 */ stfs f0, 0x670(r24) +/* 80142140 0013F0A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80142144 0013F0A4 B0 18 06 74 */ sth r0, 0x674(r24) +/* 80142148 0013F0A8 D0 18 06 78 */ stfs f0, 0x678(r24) +/* 8014214C 0013F0AC 90 98 06 7C */ stw r4, 0x67c(r24) +/* 80142150 0013F0B0 88 18 06 64 */ lbz r0, 0x664(r24) +/* 80142154 0013F0B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80142158 0013F0B8 41 82 00 08 */ beq lbl_80142160 +/* 8014215C 0013F0BC 38 60 00 02 */ li r3, 2 +lbl_80142160: +/* 80142160 0013F0C0 90 78 06 80 */ stw r3, 0x680(r24) +/* 80142164 0013F0C4 38 78 06 88 */ addi r3, r24, 0x688 +/* 80142168 0013F0C8 C0 02 9B 60 */ lfs f0, lbl_805AB880@sda21(r2) +/* 8014216C 0013F0CC D0 18 06 84 */ stfs f0, 0x684(r24) +/* 80142170 0013F0D0 4B FF CB E1 */ bl __ct__18CSteeringBehaviorsFv +/* 80142174 0013F0D4 3C 80 80 3D */ lis r4, lbl_803D0078@ha +/* 80142178 0013F0D8 38 61 01 24 */ addi r3, r1, 0x124 +/* 8014217C 0013F0DC 38 84 00 78 */ addi r4, r4, lbl_803D0078@l +/* 80142180 0013F0E0 38 84 00 07 */ addi r4, r4, 7 +/* 80142184 0013F0E4 4B EC 2B 35 */ bl string_l__4rstlFPCc +/* 80142188 0013F0E8 80 98 00 64 */ lwz r4, 0x64(r24) +/* 8014218C 0013F0EC 38 78 06 8C */ addi r3, r24, 0x68c +/* 80142190 0013F0F0 C0 22 9B B0 */ lfs f1, lbl_805AB8D0@sda21(r2) +/* 80142194 0013F0F4 38 A1 01 24 */ addi r5, r1, 0x124 +/* 80142198 0013F0F8 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8014219C 0013F0FC 38 C0 00 00 */ li r6, 0 +/* 801421A0 0013F100 C0 42 9B A8 */ lfs f2, lbl_805AB8C8@sda21(r2) +/* 801421A4 0013F104 48 03 38 15 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" +/* 801421A8 0013F108 38 61 01 24 */ addi r3, r1, 0x124 +/* 801421AC 0013F10C 48 1F B9 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 801421B0 0013F110 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801421B4 0013F114 3C 60 80 5A */ lis r3, skZero3f@ha +/* 801421B8 0013F118 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) +/* 801421BC 0013F11C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 801421C0 0013F120 B0 18 06 C4 */ sth r0, 0x6c4(r24) +/* 801421C4 0013F124 38 00 00 01 */ li r0, 1 +/* 801421C8 0013F128 38 78 05 78 */ addi r3, r24, 0x578 +/* 801421CC 0013F12C D0 18 06 C8 */ stfs f0, 0x6c8(r24) +/* 801421D0 0013F130 C0 04 00 00 */ lfs f0, 0(r4) +/* 801421D4 0013F134 D0 18 06 CC */ stfs f0, 0x6cc(r24) +/* 801421D8 0013F138 C0 04 00 04 */ lfs f0, 4(r4) +/* 801421DC 0013F13C D0 18 06 D0 */ stfs f0, 0x6d0(r24) +/* 801421E0 0013F140 C0 04 00 08 */ lfs f0, 8(r4) +/* 801421E4 0013F144 D0 18 06 D4 */ stfs f0, 0x6d4(r24) +/* 801421E8 0013F148 90 18 06 D8 */ stw r0, 0x6d8(r24) +/* 801421EC 0013F14C 48 1F EB 99 */ bl Lock__6CTokenFv +/* 801421F0 0013F150 38 78 05 A0 */ addi r3, r24, 0x5a0 +/* 801421F4 0013F154 48 1F EB 91 */ bl Lock__6CTokenFv +/* 801421F8 0013F158 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 801421FC 0013F15C 48 1A 0E 81 */ bl NoParameter__12CPASAnimParmFv +/* 80142200 0013F160 38 61 00 BC */ addi r3, r1, 0xbc +/* 80142204 0013F164 48 1A 0E 79 */ bl NoParameter__12CPASAnimParmFv +/* 80142208 0013F168 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8014220C 0013F16C 48 1A 0E 71 */ bl NoParameter__12CPASAnimParmFv +/* 80142210 0013F170 38 61 00 CC */ addi r3, r1, 0xcc +/* 80142214 0013F174 48 1A 0E 69 */ bl NoParameter__12CPASAnimParmFv +/* 80142218 0013F178 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8014221C 0013F17C 48 1A 0E 61 */ bl NoParameter__12CPASAnimParmFv +/* 80142220 0013F180 38 61 00 DC */ addi r3, r1, 0xdc +/* 80142224 0013F184 48 1A 0E 59 */ bl NoParameter__12CPASAnimParmFv +/* 80142228 0013F188 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8014222C 0013F18C 38 80 00 00 */ li r4, 0 +/* 80142230 0013F190 48 1A 0D 55 */ bl FromEnum__12CPASAnimParmFi +/* 80142234 0013F194 38 61 00 EC */ addi r3, r1, 0xec +/* 80142238 0013F198 38 80 00 03 */ li r4, 3 +/* 8014223C 0013F19C 48 1A 0D 49 */ bl FromEnum__12CPASAnimParmFi +/* 80142240 0013F1A0 38 61 00 BC */ addi r3, r1, 0xbc +/* 80142244 0013F1A4 38 01 00 B4 */ addi r0, r1, 0xb4 +/* 80142248 0013F1A8 90 61 00 08 */ stw r3, 8(r1) +/* 8014224C 0013F1AC 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 80142250 0013F1B0 38 A1 00 EC */ addi r5, r1, 0xec +/* 80142254 0013F1B4 38 C1 00 E4 */ addi r6, r1, 0xe4 +/* 80142258 0013F1B8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8014225C 0013F1BC 38 E1 00 DC */ addi r7, r1, 0xdc +/* 80142260 0013F1C0 39 01 00 D4 */ addi r8, r1, 0xd4 +/* 80142264 0013F1C4 39 21 00 CC */ addi r9, r1, 0xcc +/* 80142268 0013F1C8 39 41 00 C4 */ addi r10, r1, 0xc4 +/* 8014226C 0013F1CC 38 80 00 0D */ li r4, 0xd +/* 80142270 0013F1D0 4B F3 B0 55 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80142274 0013F1D4 80 B8 00 64 */ lwz r5, 0x64(r24) +/* 80142278 0013F1D8 7F 03 C3 78 */ mr r3, r24 +/* 8014227C 0013F1DC 38 81 01 C4 */ addi r4, r1, 0x1c4 +/* 80142280 0013F1E0 C0 45 00 00 */ lfs f2, 0(r5) +/* 80142284 0013F1E4 C0 25 00 04 */ lfs f1, 4(r5) +/* 80142288 0013F1E8 C0 05 00 08 */ lfs f0, 8(r5) +/* 8014228C 0013F1EC D0 41 01 18 */ stfs f2, 0x118(r1) +/* 80142290 0013F1F0 D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 80142294 0013F1F4 D0 01 01 20 */ stfs f0, 0x120(r1) +/* 80142298 0013F1F8 4B F3 A7 69 */ bl func_8007CA00 +/* 8014229C 0013F1FC C0 01 01 20 */ lfs f0, 0x120(r1) +/* 801422A0 0013F200 38 61 00 74 */ addi r3, r1, 0x74 +/* 801422A4 0013F204 EC 00 00 72 */ fmuls f0, f0, f1 +/* 801422A8 0013F208 D0 18 06 68 */ stfs f0, 0x668(r24) +/* 801422AC 0013F20C 48 1A 0D D1 */ bl NoParameter__12CPASAnimParmFv +/* 801422B0 0013F210 38 61 00 7C */ addi r3, r1, 0x7c +/* 801422B4 0013F214 48 1A 0D C9 */ bl NoParameter__12CPASAnimParmFv +/* 801422B8 0013F218 38 61 00 84 */ addi r3, r1, 0x84 +/* 801422BC 0013F21C 48 1A 0D C1 */ bl NoParameter__12CPASAnimParmFv +/* 801422C0 0013F220 38 61 00 8C */ addi r3, r1, 0x8c +/* 801422C4 0013F224 48 1A 0D B9 */ bl NoParameter__12CPASAnimParmFv +/* 801422C8 0013F228 38 61 00 94 */ addi r3, r1, 0x94 +/* 801422CC 0013F22C 48 1A 0D B1 */ bl NoParameter__12CPASAnimParmFv +/* 801422D0 0013F230 38 61 00 9C */ addi r3, r1, 0x9c +/* 801422D4 0013F234 48 1A 0D A9 */ bl NoParameter__12CPASAnimParmFv +/* 801422D8 0013F238 C0 22 9B B4 */ lfs f1, lbl_805AB8D4@sda21(r2) +/* 801422DC 0013F23C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 801422E0 0013F240 48 1A 0D 09 */ bl FromReal32__12CPASAnimParmFf +/* 801422E4 0013F244 38 61 00 AC */ addi r3, r1, 0xac +/* 801422E8 0013F248 38 80 00 01 */ li r4, 1 +/* 801422EC 0013F24C 48 1A 0C 99 */ bl FromEnum__12CPASAnimParmFi +/* 801422F0 0013F250 38 61 00 7C */ addi r3, r1, 0x7c +/* 801422F4 0013F254 38 01 00 74 */ addi r0, r1, 0x74 +/* 801422F8 0013F258 90 61 00 08 */ stw r3, 8(r1) +/* 801422FC 0013F25C 38 61 01 7C */ addi r3, r1, 0x17c +/* 80142300 0013F260 38 A1 00 AC */ addi r5, r1, 0xac +/* 80142304 0013F264 38 C1 00 A4 */ addi r6, r1, 0xa4 +/* 80142308 0013F268 90 01 00 0C */ stw r0, 0xc(r1) +/* 8014230C 0013F26C 38 E1 00 9C */ addi r7, r1, 0x9c +/* 80142310 0013F270 39 01 00 94 */ addi r8, r1, 0x94 +/* 80142314 0013F274 39 21 00 8C */ addi r9, r1, 0x8c +/* 80142318 0013F278 39 41 00 84 */ addi r10, r1, 0x84 +/* 8014231C 0013F27C 38 80 00 0F */ li r4, 0xf +/* 80142320 0013F280 4B F3 AF A5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80142324 0013F284 80 B8 00 64 */ lwz r5, 0x64(r24) +/* 80142328 0013F288 7F 03 C3 78 */ mr r3, r24 +/* 8014232C 0013F28C 38 81 01 7C */ addi r4, r1, 0x17c +/* 80142330 0013F290 C0 45 00 00 */ lfs f2, 0(r5) +/* 80142334 0013F294 C0 25 00 04 */ lfs f1, 4(r5) +/* 80142338 0013F298 C0 05 00 08 */ lfs f0, 8(r5) +/* 8014233C 0013F29C D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 80142340 0013F2A0 D0 21 01 10 */ stfs f1, 0x110(r1) +/* 80142344 0013F2A4 D0 01 01 14 */ stfs f0, 0x114(r1) +/* 80142348 0013F2A8 4B F3 A6 B9 */ bl func_8007CA00 +/* 8014234C 0013F2AC C0 01 01 10 */ lfs f0, 0x110(r1) +/* 80142350 0013F2B0 38 61 00 34 */ addi r3, r1, 0x34 +/* 80142354 0013F2B4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80142358 0013F2B8 D0 18 06 6C */ stfs f0, 0x66c(r24) +/* 8014235C 0013F2BC 48 1A 0D 21 */ bl NoParameter__12CPASAnimParmFv +/* 80142360 0013F2C0 38 61 00 3C */ addi r3, r1, 0x3c +/* 80142364 0013F2C4 48 1A 0D 19 */ bl NoParameter__12CPASAnimParmFv +/* 80142368 0013F2C8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8014236C 0013F2CC 48 1A 0D 11 */ bl NoParameter__12CPASAnimParmFv +/* 80142370 0013F2D0 38 61 00 4C */ addi r3, r1, 0x4c +/* 80142374 0013F2D4 48 1A 0D 09 */ bl NoParameter__12CPASAnimParmFv +/* 80142378 0013F2D8 38 61 00 54 */ addi r3, r1, 0x54 +/* 8014237C 0013F2DC 48 1A 0D 01 */ bl NoParameter__12CPASAnimParmFv +/* 80142380 0013F2E0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80142384 0013F2E4 48 1A 0C F9 */ bl NoParameter__12CPASAnimParmFv +/* 80142388 0013F2E8 38 61 00 64 */ addi r3, r1, 0x64 +/* 8014238C 0013F2EC 38 80 00 01 */ li r4, 1 +/* 80142390 0013F2F0 48 1A 0B F5 */ bl FromEnum__12CPASAnimParmFi +/* 80142394 0013F2F4 38 61 00 6C */ addi r3, r1, 0x6c +/* 80142398 0013F2F8 38 80 00 02 */ li r4, 2 +/* 8014239C 0013F2FC 48 1A 0B E9 */ bl FromEnum__12CPASAnimParmFi +/* 801423A0 0013F300 38 61 00 3C */ addi r3, r1, 0x3c +/* 801423A4 0013F304 38 01 00 34 */ addi r0, r1, 0x34 +/* 801423A8 0013F308 90 61 00 08 */ stw r3, 8(r1) +/* 801423AC 0013F30C 38 61 01 34 */ addi r3, r1, 0x134 +/* 801423B0 0013F310 38 A1 00 6C */ addi r5, r1, 0x6c +/* 801423B4 0013F314 38 C1 00 64 */ addi r6, r1, 0x64 +/* 801423B8 0013F318 90 01 00 0C */ stw r0, 0xc(r1) +/* 801423BC 0013F31C 38 E1 00 5C */ addi r7, r1, 0x5c +/* 801423C0 0013F320 39 01 00 54 */ addi r8, r1, 0x54 +/* 801423C4 0013F324 39 21 00 4C */ addi r9, r1, 0x4c +/* 801423C8 0013F328 39 41 00 44 */ addi r10, r1, 0x44 +/* 801423CC 0013F32C 38 80 00 07 */ li r4, 7 +/* 801423D0 0013F330 4B F3 AE F5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 801423D4 0013F334 80 B8 00 64 */ lwz r5, 0x64(r24) +/* 801423D8 0013F338 7F 03 C3 78 */ mr r3, r24 +/* 801423DC 0013F33C 38 81 01 34 */ addi r4, r1, 0x134 +/* 801423E0 0013F340 C0 45 00 00 */ lfs f2, 0(r5) +/* 801423E4 0013F344 C0 25 00 04 */ lfs f1, 4(r5) +/* 801423E8 0013F348 C0 05 00 08 */ lfs f0, 8(r5) +/* 801423EC 0013F34C D0 41 01 00 */ stfs f2, 0x100(r1) +/* 801423F0 0013F350 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 801423F4 0013F354 D0 01 01 08 */ stfs f0, 0x108(r1) +/* 801423F8 0013F358 4B F3 A6 09 */ bl func_8007CA00 +/* 801423FC 0013F35C C0 01 01 08 */ lfs f0, 0x108(r1) +/* 80142400 0013F360 3C 15 00 01 */ addis r0, r21, 1 +/* 80142404 0013F364 28 00 FF FF */ cmplwi r0, 0xffff +/* 80142408 0013F368 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8014240C 0013F36C D0 18 06 70 */ stfs f0, 0x670(r24) +/* 80142410 0013F370 41 82 00 BC */ beq lbl_801424CC +/* 80142414 0013F374 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80142418 0013F378 92 A1 00 30 */ stw r21, 0x30(r1) +/* 8014241C 0013F37C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80142420 0013F380 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80142424 0013F384 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80142428 0013F388 38 61 00 24 */ addi r3, r1, 0x24 +/* 8014242C 0013F38C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80142430 0013F390 81 84 00 00 */ lwz r12, 0(r4) +/* 80142434 0013F394 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80142438 0013F398 7D 89 03 A6 */ mtctr r12 +/* 8014243C 0013F39C 4E 80 04 21 */ bctrl +/* 80142440 0013F3A0 39 E1 00 F4 */ addi r15, r1, 0xf4 +/* 80142444 0013F3A4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80142448 0013F3A8 7D E3 7B 78 */ mr r3, r15 +/* 8014244C 0013F3AC 48 1F EA 5D */ bl __ct__6CTokenFRC6CToken +/* 80142450 0013F3B0 7D E3 7B 78 */ mr r3, r15 +/* 80142454 0013F3B4 48 1F E9 B9 */ bl GetObj__6CTokenFv +/* 80142458 0013F3B8 80 03 00 04 */ lwz r0, 4(r3) +/* 8014245C 0013F3BC 90 01 00 FC */ stw r0, 0xfc(r1) +/* 80142460 0013F3C0 88 18 06 4C */ lbz r0, 0x64c(r24) +/* 80142464 0013F3C4 28 00 00 00 */ cmplwi r0, 0 +/* 80142468 0013F3C8 40 82 00 34 */ bne lbl_8014249C +/* 8014246C 0013F3CC 35 F8 06 40 */ addic. r15, r24, 0x640 +/* 80142470 0013F3D0 41 82 00 20 */ beq lbl_80142490 +/* 80142474 0013F3D4 7D E3 7B 78 */ mr r3, r15 +/* 80142478 0013F3D8 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 8014247C 0013F3DC 48 1F EA 2D */ bl __ct__6CTokenFRC6CToken +/* 80142480 0013F3E0 80 01 00 FC */ lwz r0, 0xfc(r1) +/* 80142484 0013F3E4 7D E3 7B 78 */ mr r3, r15 +/* 80142488 0013F3E8 90 0F 00 08 */ stw r0, 8(r15) +/* 8014248C 0013F3EC 48 1F E8 F9 */ bl Lock__6CTokenFv +lbl_80142490: +/* 80142490 0013F3F0 38 00 00 01 */ li r0, 1 +/* 80142494 0013F3F4 98 18 06 4C */ stb r0, 0x64c(r24) +/* 80142498 0013F3F8 48 00 00 1C */ b lbl_801424B4 +lbl_8014249C: +/* 8014249C 0013F3FC 39 F8 06 40 */ addi r15, r24, 0x640 +/* 801424A0 0013F400 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 801424A4 0013F404 7D E3 7B 78 */ mr r3, r15 +/* 801424A8 0013F408 48 1F E8 1D */ bl __as__6CTokenFRC6CToken +/* 801424AC 0013F40C 80 01 00 FC */ lwz r0, 0xfc(r1) +/* 801424B0 0013F410 90 0F 00 08 */ stw r0, 8(r15) +lbl_801424B4: +/* 801424B4 0013F414 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 801424B8 0013F418 38 80 00 00 */ li r4, 0 +/* 801424BC 0013F41C 48 1F E9 85 */ bl __dt__6CTokenFv +/* 801424C0 0013F420 38 61 00 24 */ addi r3, r1, 0x24 +/* 801424C4 0013F424 38 80 FF FF */ li r4, -1 +/* 801424C8 0013F428 48 1F E9 79 */ bl __dt__6CTokenFv +lbl_801424CC: +/* 801424CC 0013F42C 88 18 04 E1 */ lbz r0, 0x4e1(r24) +/* 801424D0 0013F430 38 A0 00 00 */ li r5, 0 +/* 801424D4 0013F434 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 801424D8 0013F438 7F 03 C3 78 */ mr r3, r24 +/* 801424DC 0013F43C 98 18 04 E1 */ stb r0, 0x4e1(r24) +/* 801424E0 0013F440 38 80 00 00 */ li r4, 0 +/* 801424E4 0013F444 88 18 04 E1 */ lbz r0, 0x4e1(r24) +/* 801424E8 0013F448 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 801424EC 0013F44C 98 18 04 E1 */ stb r0, 0x4e1(r24) +/* 801424F0 0013F450 88 18 04 E1 */ lbz r0, 0x4e1(r24) +/* 801424F4 0013F454 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 801424F8 0013F458 98 18 04 E1 */ stb r0, 0x4e1(r24) +/* 801424FC 0013F45C 88 18 04 E1 */ lbz r0, 0x4e1(r24) +/* 80142500 0013F460 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80142504 0013F464 98 18 04 E1 */ stb r0, 0x4e1(r24) +/* 80142508 0013F468 4B F1 08 65 */ bl CreateShadow__6CActorFb +/* 8014250C 0013F46C 7F 03 C3 78 */ mr r3, r24 +/* 80142510 0013F470 4B F3 53 85 */ bl MakeThermalColdAndHot__10CPatternedFv +/* 80142514 0013F474 34 A1 01 38 */ addic. r5, r1, 0x138 +/* 80142518 0013F478 41 82 00 58 */ beq lbl_80142570 +/* 8014251C 0013F47C 80 C5 00 00 */ lwz r6, 0(r5) +/* 80142520 0013F480 38 60 00 00 */ li r3, 0 +/* 80142524 0013F484 2C 06 00 00 */ cmpwi r6, 0 +/* 80142528 0013F488 40 81 00 40 */ ble lbl_80142568 +/* 8014252C 0013F48C 2C 06 00 08 */ cmpwi r6, 8 +/* 80142530 0013F490 38 86 FF F8 */ addi r4, r6, -8 +/* 80142534 0013F494 40 81 00 20 */ ble lbl_80142554 +/* 80142538 0013F498 38 04 00 07 */ addi r0, r4, 7 +/* 8014253C 0013F49C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80142540 0013F4A0 7C 09 03 A6 */ mtctr r0 +/* 80142544 0013F4A4 2C 04 00 00 */ cmpwi r4, 0 +/* 80142548 0013F4A8 40 81 00 0C */ ble lbl_80142554 +lbl_8014254C: +/* 8014254C 0013F4AC 38 63 00 08 */ addi r3, r3, 8 +/* 80142550 0013F4B0 42 00 FF FC */ bdnz lbl_8014254C +lbl_80142554: +/* 80142554 0013F4B4 7C 03 30 50 */ subf r0, r3, r6 +/* 80142558 0013F4B8 7C 09 03 A6 */ mtctr r0 +/* 8014255C 0013F4BC 7C 03 30 00 */ cmpw r3, r6 +/* 80142560 0013F4C0 40 80 00 08 */ bge lbl_80142568 +lbl_80142564: +/* 80142564 0013F4C4 42 00 00 00 */ bdnz lbl_80142564 +lbl_80142568: +/* 80142568 0013F4C8 38 00 00 00 */ li r0, 0 +/* 8014256C 0013F4CC 90 05 00 00 */ stw r0, 0(r5) +lbl_80142570: +/* 80142570 0013F4D0 34 A1 01 80 */ addic. r5, r1, 0x180 +/* 80142574 0013F4D4 41 82 00 58 */ beq lbl_801425CC +/* 80142578 0013F4D8 80 C5 00 00 */ lwz r6, 0(r5) +/* 8014257C 0013F4DC 38 60 00 00 */ li r3, 0 +/* 80142580 0013F4E0 2C 06 00 00 */ cmpwi r6, 0 +/* 80142584 0013F4E4 40 81 00 40 */ ble lbl_801425C4 +/* 80142588 0013F4E8 2C 06 00 08 */ cmpwi r6, 8 +/* 8014258C 0013F4EC 38 86 FF F8 */ addi r4, r6, -8 +/* 80142590 0013F4F0 40 81 00 20 */ ble lbl_801425B0 +/* 80142594 0013F4F4 38 04 00 07 */ addi r0, r4, 7 +/* 80142598 0013F4F8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8014259C 0013F4FC 7C 09 03 A6 */ mtctr r0 +/* 801425A0 0013F500 2C 04 00 00 */ cmpwi r4, 0 +/* 801425A4 0013F504 40 81 00 0C */ ble lbl_801425B0 +lbl_801425A8: +/* 801425A8 0013F508 38 63 00 08 */ addi r3, r3, 8 +/* 801425AC 0013F50C 42 00 FF FC */ bdnz lbl_801425A8 +lbl_801425B0: +/* 801425B0 0013F510 7C 03 30 50 */ subf r0, r3, r6 +/* 801425B4 0013F514 7C 09 03 A6 */ mtctr r0 +/* 801425B8 0013F518 7C 03 30 00 */ cmpw r3, r6 +/* 801425BC 0013F51C 40 80 00 08 */ bge lbl_801425C4 +lbl_801425C0: +/* 801425C0 0013F520 42 00 00 00 */ bdnz lbl_801425C0 +lbl_801425C4: +/* 801425C4 0013F524 38 00 00 00 */ li r0, 0 +/* 801425C8 0013F528 90 05 00 00 */ stw r0, 0(r5) +lbl_801425CC: +/* 801425CC 0013F52C 34 A1 01 C8 */ addic. r5, r1, 0x1c8 +/* 801425D0 0013F530 41 82 00 58 */ beq lbl_80142628 +/* 801425D4 0013F534 80 C5 00 00 */ lwz r6, 0(r5) +/* 801425D8 0013F538 38 60 00 00 */ li r3, 0 +/* 801425DC 0013F53C 2C 06 00 00 */ cmpwi r6, 0 +/* 801425E0 0013F540 40 81 00 40 */ ble lbl_80142620 +/* 801425E4 0013F544 2C 06 00 08 */ cmpwi r6, 8 +/* 801425E8 0013F548 38 86 FF F8 */ addi r4, r6, -8 +/* 801425EC 0013F54C 40 81 00 20 */ ble lbl_8014260C +/* 801425F0 0013F550 38 04 00 07 */ addi r0, r4, 7 +/* 801425F4 0013F554 54 00 E8 FE */ srwi r0, r0, 3 +/* 801425F8 0013F558 7C 09 03 A6 */ mtctr r0 +/* 801425FC 0013F55C 2C 04 00 00 */ cmpwi r4, 0 +/* 80142600 0013F560 40 81 00 0C */ ble lbl_8014260C +lbl_80142604: +/* 80142604 0013F564 38 63 00 08 */ addi r3, r3, 8 +/* 80142608 0013F568 42 00 FF FC */ bdnz lbl_80142604 +lbl_8014260C: +/* 8014260C 0013F56C 7C 03 30 50 */ subf r0, r3, r6 +/* 80142610 0013F570 7C 09 03 A6 */ mtctr r0 +/* 80142614 0013F574 7C 03 30 00 */ cmpw r3, r6 +/* 80142618 0013F578 40 80 00 08 */ bge lbl_80142620 +lbl_8014261C: +/* 8014261C 0013F57C 42 00 00 00 */ bdnz lbl_8014261C +lbl_80142620: +/* 80142620 0013F580 38 00 00 00 */ li r0, 0 +/* 80142624 0013F584 90 05 00 00 */ stw r0, 0(r5) +lbl_80142628: +/* 80142628 0013F588 7F 03 C3 78 */ mr r3, r24 +/* 8014262C 0013F58C E3 E1 02 E8 */ psq_l f31, 744(r1), 0, qr0 +/* 80142630 0013F590 CB E1 02 E0 */ lfd f31, 0x2e0(r1) +/* 80142634 0013F594 E3 C1 02 D8 */ psq_l f30, 728(r1), 0, qr0 +/* 80142638 0013F598 CB C1 02 D0 */ lfd f30, 0x2d0(r1) +/* 8014263C 0013F59C E3 A1 02 C8 */ psq_l f29, 712(r1), 0, qr0 +/* 80142640 0013F5A0 CB A1 02 C0 */ lfd f29, 0x2c0(r1) +/* 80142644 0013F5A4 E3 81 02 B8 */ psq_l f28, 696(r1), 0, qr0 +/* 80142648 0013F5A8 CB 81 02 B0 */ lfd f28, 0x2b0(r1) +/* 8014264C 0013F5AC E3 61 02 A8 */ psq_l f27, 680(r1), 0, qr0 +/* 80142650 0013F5B0 CB 61 02 A0 */ lfd f27, 0x2a0(r1) +/* 80142654 0013F5B4 E3 41 02 98 */ psq_l f26, 664(r1), 0, qr0 +/* 80142658 0013F5B8 CB 41 02 90 */ lfd f26, 0x290(r1) +/* 8014265C 0013F5BC E3 21 02 88 */ psq_l f25, 648(r1), 0, qr0 +/* 80142660 0013F5C0 CB 21 02 80 */ lfd f25, 0x280(r1) +/* 80142664 0013F5C4 E3 01 02 78 */ psq_l f24, 632(r1), 0, qr0 +/* 80142668 0013F5C8 CB 01 02 70 */ lfd f24, 0x270(r1) +/* 8014266C 0013F5CC E2 E1 02 68 */ psq_l f23, 616(r1), 0, qr0 +/* 80142670 0013F5D0 CA E1 02 60 */ lfd f23, 0x260(r1) +/* 80142674 0013F5D4 B9 E1 02 1C */ lmw r15, 0x21c(r1) +/* 80142678 0013F5D8 80 01 02 F4 */ lwz r0, 0x2f4(r1) +/* 8014267C 0013F5DC 7C 08 03 A6 */ mtlr r0 +/* 80142680 0013F5E0 38 21 02 F0 */ addi r1, r1, 0x2f0 +/* 80142684 0013F5E4 4E 80 00 20 */ blr + +.global GetBehave__Q211CChozoGhost13CBehaveChanceCFQ211CChozoGhost11EBehaveTypeR13CStateManager +GetBehave__Q211CChozoGhost13CBehaveChanceCFQ211CChozoGhost11EBehaveTypeR13CStateManager: +/* 80142688 0013F5E8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8014268C 0013F5EC 7C 08 02 A6 */ mflr r0 +/* 80142690 0013F5F0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80142694 0013F5F4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80142698 0013F5F8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8014269C 0013F5FC DB C1 00 20 */ stfd f30, 0x20(r1) +/* 801426A0 0013F600 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 801426A4 0013F604 DB A1 00 10 */ stfd f29, 0x10(r1) +/* 801426A8 0013F608 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 801426AC 0013F60C 2C 04 00 02 */ cmpwi r4, 2 +/* 801426B0 0013F610 C3 E3 00 04 */ lfs f31, 4(r3) +/* 801426B4 0013F614 C3 C3 00 08 */ lfs f30, 8(r3) +/* 801426B8 0013F618 C3 A3 00 0C */ lfs f29, 0xc(r3) +/* 801426BC 0013F61C 41 82 00 54 */ beq lbl_80142710 +/* 801426C0 0013F620 40 80 00 14 */ bge lbl_801426D4 +/* 801426C4 0013F624 2C 04 00 00 */ cmpwi r4, 0 +/* 801426C8 0013F628 41 82 00 18 */ beq lbl_801426E0 +/* 801426CC 0013F62C 40 80 00 2C */ bge lbl_801426F8 +/* 801426D0 0013F630 48 00 00 70 */ b lbl_80142740 +lbl_801426D4: +/* 801426D4 0013F634 2C 04 00 04 */ cmpwi r4, 4 +/* 801426D8 0013F638 40 80 00 68 */ bge lbl_80142740 +/* 801426DC 0013F63C 48 00 00 4C */ b lbl_80142728 +lbl_801426E0: +/* 801426E0 0013F640 C0 02 9B B8 */ lfs f0, lbl_805AB8D8@sda21(r2) +/* 801426E4 0013F644 EC 1F 00 24 */ fdivs f0, f31, f0 +/* 801426E8 0013F648 C3 E2 9B 5C */ lfs f31, lbl_805AB87C@sda21(r2) +/* 801426EC 0013F64C EF DE 00 2A */ fadds f30, f30, f0 +/* 801426F0 0013F650 EF BD 00 2A */ fadds f29, f29, f0 +/* 801426F4 0013F654 48 00 00 4C */ b lbl_80142740 +lbl_801426F8: +/* 801426F8 0013F658 C0 02 9B B8 */ lfs f0, lbl_805AB8D8@sda21(r2) +/* 801426FC 0013F65C EC 1E 00 24 */ fdivs f0, f30, f0 +/* 80142700 0013F660 C3 C2 9B 5C */ lfs f30, lbl_805AB87C@sda21(r2) +/* 80142704 0013F664 EF FF 00 2A */ fadds f31, f31, f0 +/* 80142708 0013F668 EF BD 00 2A */ fadds f29, f29, f0 +/* 8014270C 0013F66C 48 00 00 34 */ b lbl_80142740 +lbl_80142710: +/* 80142710 0013F670 C0 02 9B B8 */ lfs f0, lbl_805AB8D8@sda21(r2) +/* 80142714 0013F674 EC 1D 00 24 */ fdivs f0, f29, f0 +/* 80142718 0013F678 C3 A2 9B 5C */ lfs f29, lbl_805AB87C@sda21(r2) +/* 8014271C 0013F67C EF FF 00 2A */ fadds f31, f31, f0 +/* 80142720 0013F680 EF DE 00 2A */ fadds f30, f30, f0 +/* 80142724 0013F684 48 00 00 1C */ b lbl_80142740 +lbl_80142728: +/* 80142728 0013F688 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 8014272C 0013F68C C0 02 9B B8 */ lfs f0, lbl_805AB8D8@sda21(r2) +/* 80142730 0013F690 EC 01 00 24 */ fdivs f0, f1, f0 +/* 80142734 0013F694 EF FF 00 2A */ fadds f31, f31, f0 +/* 80142738 0013F698 EF DE 00 2A */ fadds f30, f30, f0 +/* 8014273C 0013F69C EF BD 00 2A */ fadds f29, f29, f0 +lbl_80142740: +/* 80142740 0013F6A0 80 65 09 00 */ lwz r3, 0x900(r5) +/* 80142744 0013F6A4 48 1C FD 99 */ bl Float__9CRandom16Fv +/* 80142748 0013F6A8 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8014274C 0013F6AC 38 60 00 03 */ li r3, 3 +/* 80142750 0013F6B0 40 80 00 0C */ bge lbl_8014275C +/* 80142754 0013F6B4 38 60 00 00 */ li r3, 0 +/* 80142758 0013F6B8 48 00 00 28 */ b lbl_80142780 +lbl_8014275C: +/* 8014275C 0013F6BC EC 01 F8 28 */ fsubs f0, f1, f31 +/* 80142760 0013F6C0 FC 00 F0 40 */ fcmpo cr0, f0, f30 +/* 80142764 0013F6C4 40 80 00 0C */ bge lbl_80142770 +/* 80142768 0013F6C8 38 60 00 01 */ li r3, 1 +/* 8014276C 0013F6CC 48 00 00 14 */ b lbl_80142780 +lbl_80142770: +/* 80142770 0013F6D0 EC 00 F0 28 */ fsubs f0, f0, f30 +/* 80142774 0013F6D4 FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 80142778 0013F6D8 40 80 00 08 */ bge lbl_80142780 +/* 8014277C 0013F6DC 38 60 00 02 */ li r3, 2 +lbl_80142780: +/* 80142780 0013F6E0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80142784 0013F6E4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80142788 0013F6E8 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8014278C 0013F6EC CB C1 00 20 */ lfd f30, 0x20(r1) +/* 80142790 0013F6F0 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 80142794 0013F6F4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80142798 0013F6F8 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 8014279C 0013F6FC 7C 08 03 A6 */ mtlr r0 +/* 801427A0 0013F700 38 21 00 40 */ addi r1, r1, 0x40 +/* 801427A4 0013F704 4E 80 00 20 */ blr + +.global __ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream +__ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream: +/* 801427A8 0013F708 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801427AC 0013F70C 7C 08 02 A6 */ mflr r0 +/* 801427B0 0013F710 90 01 00 14 */ stw r0, 0x14(r1) +/* 801427B4 0013F714 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801427B8 0013F718 7C 9F 23 78 */ mr r31, r4 +/* 801427BC 0013F71C 93 C1 00 08 */ stw r30, 8(r1) +/* 801427C0 0013F720 7C 7E 1B 78 */ mr r30, r3 +/* 801427C4 0013F724 7F E3 FB 78 */ mr r3, r31 +/* 801427C8 0013F728 48 1F C4 BD */ bl ReadLong__12CInputStreamFv +/* 801427CC 0013F72C 90 7E 00 00 */ stw r3, 0(r30) +/* 801427D0 0013F730 7F E3 FB 78 */ mr r3, r31 +/* 801427D4 0013F734 48 1F C4 55 */ bl ReadFloat__12CInputStreamFv +/* 801427D8 0013F738 D0 3E 00 04 */ stfs f1, 4(r30) +/* 801427DC 0013F73C 7F E3 FB 78 */ mr r3, r31 +/* 801427E0 0013F740 48 1F C4 49 */ bl ReadFloat__12CInputStreamFv +/* 801427E4 0013F744 D0 3E 00 08 */ stfs f1, 8(r30) +/* 801427E8 0013F748 7F E3 FB 78 */ mr r3, r31 +/* 801427EC 0013F74C 48 1F C4 3D */ bl ReadFloat__12CInputStreamFv +/* 801427F0 0013F750 D0 3E 00 0C */ stfs f1, 0xc(r30) +/* 801427F4 0013F754 7F E3 FB 78 */ mr r3, r31 +/* 801427F8 0013F758 48 1F C4 31 */ bl ReadFloat__12CInputStreamFv +/* 801427FC 0013F75C D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 80142800 0013F760 7F E3 FB 78 */ mr r3, r31 +/* 80142804 0013F764 48 1F C4 25 */ bl ReadFloat__12CInputStreamFv +/* 80142808 0013F768 D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 8014280C 0013F76C 80 1E 00 00 */ lwz r0, 0(r30) +/* 80142810 0013F770 2C 00 00 05 */ cmpwi r0, 5 +/* 80142814 0013F774 40 81 00 18 */ ble lbl_8014282C +/* 80142818 0013F778 7F E3 FB 78 */ mr r3, r31 +/* 8014281C 0013F77C 48 1F C4 0D */ bl ReadFloat__12CInputStreamFv +/* 80142820 0013F780 C0 02 9B BC */ lfs f0, lbl_805AB8DC@sda21(r2) +/* 80142824 0013F784 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80142828 0013F788 48 00 00 08 */ b lbl_80142830 +lbl_8014282C: +/* 8014282C 0013F78C C0 02 9B 80 */ lfs f0, lbl_805AB8A0@sda21(r2) +lbl_80142830: +/* 80142830 0013F790 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 80142834 0013F794 80 1E 00 00 */ lwz r0, 0(r30) +/* 80142838 0013F798 2C 00 00 06 */ cmpwi r0, 6 +/* 8014283C 0013F79C 40 81 00 10 */ ble lbl_8014284C +/* 80142840 0013F7A0 7F E3 FB 78 */ mr r3, r31 +/* 80142844 0013F7A4 48 1F C4 41 */ bl ReadLong__12CInputStreamFv +/* 80142848 0013F7A8 48 00 00 08 */ b lbl_80142850 +lbl_8014284C: +/* 8014284C 0013F7AC 38 60 00 02 */ li r3, 2 +lbl_80142850: +/* 80142850 0013F7B0 90 7E 00 1C */ stw r3, 0x1c(r30) +/* 80142854 0013F7B4 7F C3 F3 78 */ mr r3, r30 +/* 80142858 0013F7B8 C0 82 9B 60 */ lfs f4, lbl_805AB880@sda21(r2) +/* 8014285C 0013F7BC C0 3E 00 04 */ lfs f1, 4(r30) +/* 80142860 0013F7C0 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80142864 0013F7C4 C0 5E 00 0C */ lfs f2, 0xc(r30) +/* 80142868 0013F7C8 EC 01 00 2A */ fadds f0, f1, f0 +/* 8014286C 0013F7CC C0 7E 00 10 */ lfs f3, 0x10(r30) +/* 80142870 0013F7D0 EC 02 00 2A */ fadds f0, f2, f0 +/* 80142874 0013F7D4 EC 03 00 2A */ fadds f0, f3, f0 +/* 80142878 0013F7D8 EC 44 00 24 */ fdivs f2, f4, f0 +/* 8014287C 0013F7DC EC 01 00 B2 */ fmuls f0, f1, f2 +/* 80142880 0013F7E0 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80142884 0013F7E4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 80142888 0013F7E8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 8014288C 0013F7EC D0 1E 00 08 */ stfs f0, 8(r30) +/* 80142890 0013F7F0 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 80142894 0013F7F4 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 80142898 0013F7F8 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 8014289C 0013F7FC C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 801428A0 0013F800 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 801428A4 0013F804 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 801428A8 0013F808 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801428AC 0013F80C 83 C1 00 08 */ lwz r30, 8(r1) +/* 801428B0 0013F810 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801428B4 0013F814 7C 08 03 A6 */ mtlr r0 +/* 801428B8 0013F818 38 21 00 10 */ addi r1, r1, 0x10 +/* 801428BC 0013F81C 4E 80 00 20 */ blr + +.global sub_801428c0 +sub_801428c0: +/* 801428C0 0013F820 80 A3 00 00 */ lwz r5, 0(r3) +/* 801428C4 0013F824 80 04 00 00 */ lwz r0, 0(r4) +/* 801428C8 0013F828 7C 05 00 00 */ cmpw r5, r0 +/* 801428CC 0013F82C 4D 81 00 20 */ bgtlr +/* 801428D0 0013F830 7C 83 23 78 */ mr r3, r4 +/* 801428D4 0013F834 4E 80 00 20 */ blr + +.global __sinit_CChozoGhost_cpp +__sinit_CChozoGhost_cpp: +/* 801428D8 0013F838 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801428DC 0013F83C 7C 08 02 A6 */ mflr r0 +/* 801428E0 0013F840 3C 80 80 3D */ lis r4, lbl_803D0078@ha +/* 801428E4 0013F844 38 84 00 78 */ addi r4, r4, lbl_803D0078@l +/* 801428E8 0013F848 90 01 00 24 */ stw r0, 0x24(r1) +/* 801428EC 0013F84C 38 61 00 08 */ addi r3, r1, 8 +/* 801428F0 0013F850 38 84 00 0E */ addi r4, r4, 0xe +/* 801428F4 0013F854 4B EC 23 C5 */ bl string_l__4rstlFPCc +/* 801428F8 0013F858 3C 60 80 57 */ lis r3, lbl_805719CC@ha +/* 801428FC 0013F85C 38 81 00 08 */ addi r4, r1, 8 +/* 80142900 0013F860 38 63 19 CC */ addi r3, r3, lbl_805719CC@l +/* 80142904 0013F864 48 1F B8 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80142908 0013F868 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8014290C 0013F86C 3C A0 80 47 */ lis r5, lbl_8046C748@ha +/* 80142910 0013F870 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 80142914 0013F874 38 A5 C7 48 */ addi r5, r5, lbl_8046C748@l +/* 80142918 0013F878 48 24 6D 75 */ bl __register_global_object +/* 8014291C 0013F87C 38 61 00 08 */ addi r3, r1, 8 +/* 80142920 0013F880 48 1F B1 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80142924 0013F884 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80142928 0013F888 7C 08 03 A6 */ mtlr r0 +/* 8014292C 0013F88C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80142930 0013F890 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CFireFlea.s b/asm/Kyoto_CWD/Enemies/CFireFlea.s new file mode 100644 index 00000000..5ab69f21 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CFireFlea.s @@ -0,0 +1,1565 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__9CFireFleaFv +__dt__9CFireFleaFv: +/* 80142934 0013F894 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80142938 0013F898 7C 08 02 A6 */ mflr r0 +/* 8014293C 0013F89C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80142940 0013F8A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80142944 0013F8A4 7C 9F 23 78 */ mr r31, r4 +/* 80142948 0013F8A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8014294C 0013F8AC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80142950 0013F8B0 41 82 00 EC */ beq lbl_80142A3C +/* 80142954 0013F8B4 3C 60 80 3E */ lis r3, lbl_803E1C88@ha +/* 80142958 0013F8B8 34 1E 0D 8C */ addic. r0, r30, 0xd8c +/* 8014295C 0013F8BC 38 03 1C 88 */ addi r0, r3, lbl_803E1C88@l +/* 80142960 0013F8C0 90 1E 00 00 */ stw r0, 0(r30) +/* 80142964 0013F8C4 41 82 00 60 */ beq lbl_801429C4 +/* 80142968 0013F8C8 34 1E 0D 90 */ addic. r0, r30, 0xd90 +/* 8014296C 0013F8CC 41 82 00 58 */ beq lbl_801429C4 +/* 80142970 0013F8D0 80 BE 0D 90 */ lwz r5, 0xd90(r30) +/* 80142974 0013F8D4 38 60 00 00 */ li r3, 0 +/* 80142978 0013F8D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8014297C 0013F8DC 40 81 00 40 */ ble lbl_801429BC +/* 80142980 0013F8E0 2C 05 00 08 */ cmpwi r5, 8 +/* 80142984 0013F8E4 38 85 FF F8 */ addi r4, r5, -8 +/* 80142988 0013F8E8 40 81 00 20 */ ble lbl_801429A8 +/* 8014298C 0013F8EC 38 04 00 07 */ addi r0, r4, 7 +/* 80142990 0013F8F0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80142994 0013F8F4 7C 09 03 A6 */ mtctr r0 +/* 80142998 0013F8F8 2C 04 00 00 */ cmpwi r4, 0 +/* 8014299C 0013F8FC 40 81 00 0C */ ble lbl_801429A8 +lbl_801429A0: +/* 801429A0 0013F900 38 63 00 08 */ addi r3, r3, 8 +/* 801429A4 0013F904 42 00 FF FC */ bdnz lbl_801429A0 +lbl_801429A8: +/* 801429A8 0013F908 7C 03 28 50 */ subf r0, r3, r5 +/* 801429AC 0013F90C 7C 09 03 A6 */ mtctr r0 +/* 801429B0 0013F910 7C 03 28 00 */ cmpw r3, r5 +/* 801429B4 0013F914 40 80 00 08 */ bge lbl_801429BC +lbl_801429B8: +/* 801429B8 0013F918 42 00 00 00 */ bdnz lbl_801429B8 +lbl_801429BC: +/* 801429BC 0013F91C 38 00 00 00 */ li r0, 0 +/* 801429C0 0013F920 90 1E 0D 90 */ stw r0, 0xd90(r30) +lbl_801429C4: +/* 801429C4 0013F924 34 1E 05 70 */ addic. r0, r30, 0x570 +/* 801429C8 0013F928 41 82 00 58 */ beq lbl_80142A20 +/* 801429CC 0013F92C 80 BE 05 70 */ lwz r5, 0x570(r30) +/* 801429D0 0013F930 38 60 00 00 */ li r3, 0 +/* 801429D4 0013F934 2C 05 00 00 */ cmpwi r5, 0 +/* 801429D8 0013F938 40 81 00 40 */ ble lbl_80142A18 +/* 801429DC 0013F93C 2C 05 00 08 */ cmpwi r5, 8 +/* 801429E0 0013F940 38 85 FF F8 */ addi r4, r5, -8 +/* 801429E4 0013F944 40 81 00 20 */ ble lbl_80142A04 +/* 801429E8 0013F948 38 04 00 07 */ addi r0, r4, 7 +/* 801429EC 0013F94C 54 00 E8 FE */ srwi r0, r0, 3 +/* 801429F0 0013F950 7C 09 03 A6 */ mtctr r0 +/* 801429F4 0013F954 2C 04 00 00 */ cmpwi r4, 0 +/* 801429F8 0013F958 40 81 00 0C */ ble lbl_80142A04 +lbl_801429FC: +/* 801429FC 0013F95C 38 63 00 08 */ addi r3, r3, 8 +/* 80142A00 0013F960 42 00 FF FC */ bdnz lbl_801429FC +lbl_80142A04: +/* 80142A04 0013F964 7C 03 28 50 */ subf r0, r3, r5 +/* 80142A08 0013F968 7C 09 03 A6 */ mtctr r0 +/* 80142A0C 0013F96C 7C 03 28 00 */ cmpw r3, r5 +/* 80142A10 0013F970 40 80 00 08 */ bge lbl_80142A18 +lbl_80142A14: +/* 80142A14 0013F974 42 00 00 00 */ bdnz lbl_80142A14 +lbl_80142A18: +/* 80142A18 0013F978 38 00 00 00 */ li r0, 0 +/* 80142A1C 0013F97C 90 1E 05 70 */ stw r0, 0x570(r30) +lbl_80142A20: +/* 80142A20 0013F980 7F C3 F3 78 */ mr r3, r30 +/* 80142A24 0013F984 38 80 00 00 */ li r4, 0 +/* 80142A28 0013F988 4B F3 4B 49 */ bl __dt__10CPatternedFv +/* 80142A2C 0013F98C 7F E0 07 35 */ extsh. r0, r31 +/* 80142A30 0013F990 40 81 00 0C */ ble lbl_80142A3C +/* 80142A34 0013F994 7F C3 F3 78 */ mr r3, r30 +/* 80142A38 0013F998 48 1D 2E F9 */ bl Free__7CMemoryFPCv +lbl_80142A3C: +/* 80142A3C 0013F99C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80142A40 0013F9A0 7F C3 F3 78 */ mr r3, r30 +/* 80142A44 0013F9A4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80142A48 0013F9A8 83 C1 00 08 */ lwz r30, 8(r1) +/* 80142A4C 0013F9AC 7C 08 03 A6 */ mtlr r0 +/* 80142A50 0013F9B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80142A54 0013F9B4 4E 80 00 20 */ blr + +.global Delay__9CFireFleaFR13CStateManagerf +Delay__9CFireFleaFR13CStateManagerf: +/* 80142A58 0013F9B8 C0 23 03 38 */ lfs f1, 0x338(r3) +/* 80142A5C 0013F9BC C0 02 9B C0 */ lfs f0, lbl_805AB8E0@sda21(r2) +/* 80142A60 0013F9C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80142A64 0013F9C4 7C 00 00 26 */ mfcr r0 +/* 80142A68 0013F9C8 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80142A6C 0013F9CC 4E 80 00 20 */ blr + +.global GetSearchPath__9CFireFleaFv +GetSearchPath__9CFireFleaFv: +/* 80142A70 0013F9D0 38 63 0D 8C */ addi r3, r3, 0xd8c +/* 80142A74 0013F9D4 4E 80 00 20 */ blr + +.global InPosition__9CFireFleaFR13CStateManagerf +InPosition__9CFireFleaFR13CStateManagerf: +/* 80142A78 0013F9D8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80142A7C 0013F9DC A0 83 02 DC */ lhz r4, 0x2dc(r3) +/* 80142A80 0013F9E0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80142A84 0013F9E4 7C 04 00 40 */ cmplw r4, r0 +/* 80142A88 0013F9E8 41 82 00 5C */ beq lbl_80142AE4 +/* 80142A8C 0013F9EC C0 43 0D 84 */ lfs f2, 0xd84(r3) +/* 80142A90 0013F9F0 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 80142A94 0013F9F4 C0 23 0D 80 */ lfs f1, 0xd80(r3) +/* 80142A98 0013F9F8 EC A2 00 28 */ fsubs f5, f2, f0 +/* 80142A9C 0013F9FC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80142AA0 0013FA00 C0 43 0D 88 */ lfs f2, 0xd88(r3) +/* 80142AA4 0013FA04 EC 61 00 28 */ fsubs f3, f1, f0 +/* 80142AA8 0013FA08 C0 03 00 60 */ lfs f0, 0x60(r3) +/* 80142AAC 0013FA0C EC 25 01 72 */ fmuls f1, f5, f5 +/* 80142AB0 0013FA10 EC 82 00 28 */ fsubs f4, f2, f0 +/* 80142AB4 0013FA14 C0 02 9B C4 */ lfs f0, lbl_805AB8E4@sda21(r2) +/* 80142AB8 0013FA18 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80142ABC 0013FA1C D0 61 00 08 */ stfs f3, 8(r1) +/* 80142AC0 0013FA20 EC 64 01 32 */ fmuls f3, f4, f4 +/* 80142AC4 0013FA24 EC 22 08 2A */ fadds f1, f2, f1 +/* 80142AC8 0013FA28 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 80142ACC 0013FA2C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 80142AD0 0013FA30 EC 23 08 2A */ fadds f1, f3, f1 +/* 80142AD4 0013FA34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80142AD8 0013FA38 7C 00 00 26 */ mfcr r0 +/* 80142ADC 0013FA3C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80142AE0 0013FA40 48 00 00 08 */ b lbl_80142AE8 +lbl_80142AE4: +/* 80142AE4 0013FA44 38 60 00 00 */ li r3, 0 +lbl_80142AE8: +/* 80142AE8 0013FA48 38 21 00 20 */ addi r1, r1, 0x20 +/* 80142AEC 0013FA4C 4E 80 00 20 */ blr + +.global TargetPatrol__9CFireFleaFR13CStateManager9EStateMsgf +TargetPatrol__9CFireFleaFR13CStateManager9EStateMsgf: +/* 80142AF0 0013FA50 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80142AF4 0013FA54 7C 08 02 A6 */ mflr r0 +/* 80142AF8 0013FA58 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80142AFC 0013FA5C DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80142B00 0013FA60 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80142B04 0013FA64 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 80142B08 0013FA68 93 C1 00 98 */ stw r30, 0x98(r1) +/* 80142B0C 0013FA6C 93 A1 00 94 */ stw r29, 0x94(r1) +/* 80142B10 0013FA70 7C BF 2B 78 */ mr r31, r5 +/* 80142B14 0013FA74 FF E0 08 90 */ fmr f31, f1 +/* 80142B18 0013FA78 2C 1F 00 01 */ cmpwi r31, 1 +/* 80142B1C 0013FA7C 7C 7D 1B 78 */ mr r29, r3 +/* 80142B20 0013FA80 7C 9E 23 78 */ mr r30, r4 +/* 80142B24 0013FA84 41 82 00 44 */ beq lbl_80142B68 +/* 80142B28 0013FA88 40 80 01 F4 */ bge lbl_80142D1C +/* 80142B2C 0013FA8C 2C 1F 00 00 */ cmpwi r31, 0 +/* 80142B30 0013FA90 40 80 00 0C */ bge lbl_80142B3C +/* 80142B34 0013FA94 48 00 01 E8 */ b lbl_80142D1C +/* 80142B38 0013FA98 48 00 01 E4 */ b lbl_80142D1C +lbl_80142B3C: +/* 80142B3C 0013FA9C 48 0B 43 39 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 80142B40 0013FAA0 7F A3 EB 78 */ mr r3, r29 +/* 80142B44 0013FAA4 7F C4 F3 78 */ mr r4, r30 +/* 80142B48 0013FAA8 48 0B 27 49 */ bl UpdateDest__10CPatternedFR13CStateManager +/* 80142B4C 0013FAAC C0 1D 02 E0 */ lfs f0, 0x2e0(r29) +/* 80142B50 0013FAB0 D0 1D 0D 80 */ stfs f0, 0xd80(r29) +/* 80142B54 0013FAB4 C0 1D 02 E4 */ lfs f0, 0x2e4(r29) +/* 80142B58 0013FAB8 D0 1D 0D 84 */ stfs f0, 0xd84(r29) +/* 80142B5C 0013FABC C0 1D 02 E8 */ lfs f0, 0x2e8(r29) +/* 80142B60 0013FAC0 D0 1D 0D 88 */ stfs f0, 0xd88(r29) +/* 80142B64 0013FAC4 48 00 01 B8 */ b lbl_80142D1C +lbl_80142B68: +/* 80142B68 0013FAC8 81 83 00 00 */ lwz r12, 0(r3) +/* 80142B6C 0013FACC 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80142B70 0013FAD0 7D 89 03 A6 */ mtctr r12 +/* 80142B74 0013FAD4 4E 80 04 21 */ bctrl +/* 80142B78 0013FAD8 28 03 00 00 */ cmplwi r3, 0 +/* 80142B7C 0013FADC 41 82 01 3C */ beq lbl_80142CB8 +/* 80142B80 0013FAE0 7F A3 EB 78 */ mr r3, r29 +/* 80142B84 0013FAE4 81 9D 00 00 */ lwz r12, 0(r29) +/* 80142B88 0013FAE8 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80142B8C 0013FAEC 7D 89 03 A6 */ mtctr r12 +/* 80142B90 0013FAF0 4E 80 04 21 */ bctrl +/* 80142B94 0013FAF4 80 03 00 CC */ lwz r0, 0xcc(r3) +/* 80142B98 0013FAF8 2C 00 00 00 */ cmpwi r0, 0 +/* 80142B9C 0013FAFC 41 82 01 04 */ beq lbl_80142CA0 +/* 80142BA0 0013FB00 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80142BA4 0013FB04 7F A3 EB 78 */ mr r3, r29 +/* 80142BA8 0013FB08 3B E4 66 A0 */ addi r31, r4, skZero3f@l +/* 80142BAC 0013FB0C C0 5F 00 00 */ lfs f2, 0(r31) +/* 80142BB0 0013FB10 C0 3F 00 04 */ lfs f1, 4(r31) +/* 80142BB4 0013FB14 C0 1F 00 08 */ lfs f0, 8(r31) +/* 80142BB8 0013FB18 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80142BBC 0013FB1C D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80142BC0 0013FB20 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 80142BC4 0013FB24 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80142BC8 0013FB28 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80142BCC 0013FB2C C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80142BD0 0013FB30 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80142BD4 0013FB34 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80142BD8 0013FB38 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80142BDC 0013FB3C 81 9D 00 00 */ lwz r12, 0(r29) +/* 80142BE0 0013FB40 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80142BE4 0013FB44 7D 89 03 A6 */ mtctr r12 +/* 80142BE8 0013FB48 4E 80 04 21 */ bctrl +/* 80142BEC 0013FB4C 38 81 00 2C */ addi r4, r1, 0x2c +/* 80142BF0 0013FB50 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80142BF4 0013FB54 48 08 45 09 */ bl FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f +/* 80142BF8 0013FB58 2C 03 00 00 */ cmpwi r3, 0 +/* 80142BFC 0013FB5C 40 82 01 20 */ bne lbl_80142D1C +/* 80142C00 0013FB60 C0 22 9B C8 */ lfs f1, lbl_805AB8E8@sda21(r2) +/* 80142C04 0013FB64 7F A5 EB 78 */ mr r5, r29 +/* 80142C08 0013FB68 38 61 00 20 */ addi r3, r1, 0x20 +/* 80142C0C 0013FB6C 38 9D 04 5C */ addi r4, r29, 0x45c +/* 80142C10 0013FB70 38 DD 0D 80 */ addi r6, r29, 0xd80 +/* 80142C14 0013FB74 4B FF BF 09 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 80142C18 0013FB78 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 80142C1C 0013FB7C 7F A4 EB 78 */ mr r4, r29 +/* 80142C20 0013FB80 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 80142C24 0013FB84 7F C5 F3 78 */ mr r5, r30 +/* 80142C28 0013FB88 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 80142C2C 0013FB8C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80142C30 0013FB90 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80142C34 0013FB94 38 C1 00 38 */ addi r6, r1, 0x38 +/* 80142C38 0013FB98 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80142C3C 0013FB9C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80142C40 0013FBA0 48 00 03 F5 */ bl sub_80143034 +/* 80142C44 0013FBA4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80142C48 0013FBA8 C0 C1 00 14 */ lfs f6, 0x14(r1) +/* 80142C4C 0013FBAC C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 80142C50 0013FBB0 38 81 00 6C */ addi r4, r1, 0x6c +/* 80142C54 0013FBB4 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 80142C58 0013FBB8 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 80142C5C 0013FBBC C0 5F 00 04 */ lfs f2, 4(r31) +/* 80142C60 0013FBC0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80142C64 0013FBC4 C0 02 9B CC */ lfs f0, lbl_805AB8EC@sda21(r2) +/* 80142C68 0013FBC8 D0 C1 00 38 */ stfs f6, 0x38(r1) +/* 80142C6C 0013FBCC D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 80142C70 0013FBD0 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 80142C74 0013FBD4 D0 C1 00 6C */ stfs f6, 0x6c(r1) +/* 80142C78 0013FBD8 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 80142C7C 0013FBDC D0 81 00 74 */ stfs f4, 0x74(r1) +/* 80142C80 0013FBE0 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 80142C84 0013FBE4 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 80142C88 0013FBE8 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 80142C8C 0013FBEC D0 01 00 84 */ stfs f0, 0x84(r1) +/* 80142C90 0013FBF0 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80142C94 0013FBF4 38 63 00 04 */ addi r3, r3, 4 +/* 80142C98 0013FBF8 4B FE EA 81 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80142C9C 0013FBFC 48 00 00 80 */ b lbl_80142D1C +lbl_80142CA0: +/* 80142CA0 0013FC00 FC 20 F8 90 */ fmr f1, f31 +/* 80142CA4 0013FC04 7F A3 EB 78 */ mr r3, r29 +/* 80142CA8 0013FC08 7F C4 F3 78 */ mr r4, r30 +/* 80142CAC 0013FC0C 7F E5 FB 78 */ mr r5, r31 +/* 80142CB0 0013FC10 48 0B 3A 1D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 80142CB4 0013FC14 48 00 00 68 */ b lbl_80142D1C +lbl_80142CB8: +/* 80142CB8 0013FC18 C0 22 9B C8 */ lfs f1, lbl_805AB8E8@sda21(r2) +/* 80142CBC 0013FC1C 7F A5 EB 78 */ mr r5, r29 +/* 80142CC0 0013FC20 38 61 00 08 */ addi r3, r1, 8 +/* 80142CC4 0013FC24 38 9D 04 5C */ addi r4, r29, 0x45c +/* 80142CC8 0013FC28 38 DD 0D 80 */ addi r6, r29, 0xd80 +/* 80142CCC 0013FC2C 4B FF BE 51 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 80142CD0 0013FC30 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80142CD4 0013FC34 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 80142CD8 0013FC38 C0 C1 00 08 */ lfs f6, 8(r1) +/* 80142CDC 0013FC3C 38 81 00 50 */ addi r4, r1, 0x50 +/* 80142CE0 0013FC40 C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 80142CE4 0013FC44 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 80142CE8 0013FC48 C0 43 00 04 */ lfs f2, 4(r3) +/* 80142CEC 0013FC4C C0 23 00 08 */ lfs f1, 8(r3) +/* 80142CF0 0013FC50 C0 02 9B CC */ lfs f0, lbl_805AB8EC@sda21(r2) +/* 80142CF4 0013FC54 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 80142CF8 0013FC58 D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 80142CFC 0013FC5C D0 81 00 58 */ stfs f4, 0x58(r1) +/* 80142D00 0013FC60 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 80142D04 0013FC64 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80142D08 0013FC68 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80142D0C 0013FC6C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80142D10 0013FC70 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80142D14 0013FC74 38 63 00 04 */ addi r3, r3, 4 +/* 80142D18 0013FC78 4B FE EA 01 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_80142D1C: +/* 80142D1C 0013FC7C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80142D20 0013FC80 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80142D24 0013FC84 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80142D28 0013FC88 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80142D2C 0013FC8C 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 80142D30 0013FC90 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 80142D34 0013FC94 7C 08 03 A6 */ mtlr r0 +/* 80142D38 0013FC98 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80142D3C 0013FC9C 4E 80 00 20 */ blr + +.global Dead__9CFireFleaFR13CStateManager9EStateMsgf +Dead__9CFireFleaFR13CStateManager9EStateMsgf: +/* 80142D40 0013FCA0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80142D44 0013FCA4 7C 08 02 A6 */ mflr r0 +/* 80142D48 0013FCA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80142D4C 0013FCAC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80142D50 0013FCB0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80142D54 0013FCB4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80142D58 0013FCB8 7C 9E 23 78 */ mr r30, r4 +/* 80142D5C 0013FCBC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80142D60 0013FCC0 7C 7D 1B 78 */ mr r29, r3 +/* 80142D64 0013FCC4 41 82 00 0C */ beq lbl_80142D70 +/* 80142D68 0013FCC8 41 80 00 A0 */ blt lbl_80142E08 +/* 80142D6C 0013FCCC 48 00 00 9C */ b lbl_80142E08 +lbl_80142D70: +/* 80142D70 0013FCD0 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80142D74 0013FCD4 80 63 00 00 */ lwz r3, 0(r3) +/* 80142D78 0013FCD8 4B F4 E7 E1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80142D7C 0013FCDC 2C 03 00 03 */ cmpwi r3, 3 +/* 80142D80 0013FCE0 40 82 00 88 */ bne lbl_80142E08 +/* 80142D84 0013FCE4 3C 80 80 3D */ lis r4, lbl_803D0098@ha +/* 80142D88 0013FCE8 38 61 00 1C */ addi r3, r1, 0x1c +/* 80142D8C 0013FCEC 38 84 00 98 */ addi r4, r4, lbl_803D0098@l +/* 80142D90 0013FCF0 38 C1 00 08 */ addi r6, r1, 8 +/* 80142D94 0013FCF4 38 A0 FF FF */ li r5, -1 +/* 80142D98 0013FCF8 48 1F B3 FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 80142D9C 0013FCFC 3C 80 80 3D */ lis r4, lbl_803D0098@ha +/* 80142DA0 0013FD00 38 60 00 48 */ li r3, 0x48 +/* 80142DA4 0013FD04 38 84 00 98 */ addi r4, r4, lbl_803D0098@l +/* 80142DA8 0013FD08 38 A0 00 00 */ li r5, 0 +/* 80142DAC 0013FD0C 38 84 00 01 */ addi r4, r4, 1 +/* 80142DB0 0013FD10 48 1D 2A BD */ bl __nw__FUlPCcPCc +/* 80142DB4 0013FD14 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80142DB8 0013FD18 41 82 00 3C */ beq lbl_80142DF4 +/* 80142DBC 0013FD1C 80 1D 00 04 */ lwz r0, 4(r29) +/* 80142DC0 0013FD20 7F C4 F3 78 */ mr r4, r30 +/* 80142DC4 0013FD24 38 61 00 0C */ addi r3, r1, 0xc +/* 80142DC8 0013FD28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80142DCC 0013FD2C 90 01 00 18 */ stw r0, 0x18(r1) +/* 80142DD0 0013FD30 4B F0 A3 0D */ bl AllocateUniqueId__13CStateManagerFv +/* 80142DD4 0013FD34 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80142DD8 0013FD38 7F E3 FB 78 */ mr r3, r31 +/* 80142DDC 0013FD3C 38 81 00 10 */ addi r4, r1, 0x10 +/* 80142DE0 0013FD40 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80142DE4 0013FD44 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80142DE8 0013FD48 38 C1 00 1C */ addi r6, r1, 0x1c +/* 80142DEC 0013FD4C 48 00 0F CD */ bl "__ct__Q29CFireFlea18CDeathCameraEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80142DF0 0013FD50 7C 7F 1B 78 */ mr r31, r3 +lbl_80142DF4: +/* 80142DF4 0013FD54 7F C3 F3 78 */ mr r3, r30 +/* 80142DF8 0013FD58 7F E4 FB 78 */ mr r4, r31 +/* 80142DFC 0013FD5C 4B F0 9E F9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 80142E00 0013FD60 38 61 00 1C */ addi r3, r1, 0x1c +/* 80142E04 0013FD64 48 1F AC DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80142E08: +/* 80142E08 0013FD68 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80142E0C 0013FD6C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80142E10 0013FD70 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80142E14 0013FD74 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80142E18 0013FD78 7C 08 03 A6 */ mtlr r0 +/* 80142E1C 0013FD7C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80142E20 0013FD80 4E 80 00 20 */ blr + +.global Flee__9CFireFleaFR13CStateManager9EStateMsgf +Flee__9CFireFleaFR13CStateManager9EStateMsgf: +/* 80142E24 0013FD84 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 80142E28 0013FD88 7C 08 02 A6 */ mflr r0 +/* 80142E2C 0013FD8C 2C 05 00 01 */ cmpwi r5, 1 +/* 80142E30 0013FD90 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 80142E34 0013FD94 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 80142E38 0013FD98 7C 7B 1B 78 */ mr r27, r3 +/* 80142E3C 0013FD9C 7C 9C 23 78 */ mr r28, r4 +/* 80142E40 0013FDA0 41 82 00 30 */ beq lbl_80142E70 +/* 80142E44 0013FDA4 40 80 00 10 */ bge lbl_80142E54 +/* 80142E48 0013FDA8 2C 05 00 00 */ cmpwi r5, 0 +/* 80142E4C 0013FDAC 40 80 00 14 */ bge lbl_80142E60 +/* 80142E50 0013FDB0 48 00 01 D0 */ b lbl_80143020 +lbl_80142E54: +/* 80142E54 0013FDB4 2C 05 00 03 */ cmpwi r5, 3 +/* 80142E58 0013FDB8 40 80 01 C8 */ bge lbl_80143020 +/* 80142E5C 0013FDBC 48 00 01 B8 */ b lbl_80143014 +lbl_80142E60: +/* 80142E60 0013FDC0 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 80142E64 0013FDC4 38 80 00 02 */ li r4, 2 +/* 80142E68 0013FDC8 4B FF 7B 71 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80142E6C 0013FDCC 48 00 01 B4 */ b lbl_80143020 +lbl_80142E70: +/* 80142E70 0013FDD0 80 1B 05 70 */ lwz r0, 0x570(r27) +/* 80142E74 0013FDD4 2C 00 00 00 */ cmpwi r0, 0 +/* 80142E78 0013FDD8 40 82 00 80 */ bne lbl_80142EF8 +/* 80142E7C 0013FDDC 7F 64 DB 78 */ mr r4, r27 +/* 80142E80 0013FDE0 7F 85 E3 78 */ mr r5, r28 +/* 80142E84 0013FDE4 38 61 00 30 */ addi r3, r1, 0x30 +/* 80142E88 0013FDE8 38 DB 0D 74 */ addi r6, r27, 0xd74 +/* 80142E8C 0013FDEC 48 00 01 A9 */ bl sub_80143034 +/* 80142E90 0013FDF0 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80142E94 0013FDF4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80142E98 0013FDF8 C0 02 9B CC */ lfs f0, lbl_805AB8EC@sda21(r2) +/* 80142E9C 0013FDFC 38 81 00 64 */ addi r4, r1, 0x64 +/* 80142EA0 0013FE00 D0 3B 0D 74 */ stfs f1, 0xd74(r27) +/* 80142EA4 0013FE04 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 80142EA8 0013FE08 D0 3B 0D 78 */ stfs f1, 0xd78(r27) +/* 80142EAC 0013FE0C C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80142EB0 0013FE10 D0 3B 0D 7C */ stfs f1, 0xd7c(r27) +/* 80142EB4 0013FE14 C0 3B 0D 74 */ lfs f1, 0xd74(r27) +/* 80142EB8 0013FE18 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 80142EBC 0013FE1C D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80142EC0 0013FE20 C0 43 00 04 */ lfs f2, 4(r3) +/* 80142EC4 0013FE24 C0 9B 0D 78 */ lfs f4, 0xd78(r27) +/* 80142EC8 0013FE28 C0 23 00 08 */ lfs f1, 8(r3) +/* 80142ECC 0013FE2C D0 81 00 68 */ stfs f4, 0x68(r1) +/* 80142ED0 0013FE30 C0 9B 0D 7C */ lfs f4, 0xd7c(r27) +/* 80142ED4 0013FE34 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 80142ED8 0013FE38 D0 61 00 70 */ stfs f3, 0x70(r1) +/* 80142EDC 0013FE3C D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80142EE0 0013FE40 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 80142EE4 0013FE44 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 80142EE8 0013FE48 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 80142EEC 0013FE4C 38 63 00 04 */ addi r3, r3, 4 +/* 80142EF0 0013FE50 4B FE E8 29 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80142EF4 0013FE54 48 00 01 2C */ b lbl_80143020 +lbl_80142EF8: +/* 80142EF8 0013FE58 3B DB 05 74 */ addi r30, r27, 0x574 +/* 80142EFC 0013FE5C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80142F00 0013FE60 7F DD F3 78 */ mr r29, r30 +/* 80142F04 0013FE64 3B E3 66 A0 */ addi r31, r3, skZero3f@l +/* 80142F08 0013FE68 48 00 00 F4 */ b lbl_80142FFC +lbl_80142F0C: +/* 80142F0C 0013FE6C A0 1D 00 00 */ lhz r0, 0(r29) +/* 80142F10 0013FE70 7F 83 E3 78 */ mr r3, r28 +/* 80142F14 0013FE74 38 81 00 08 */ addi r4, r1, 8 +/* 80142F18 0013FE78 B0 01 00 08 */ sth r0, 8(r1) +/* 80142F1C 0013FE7C 4B F0 96 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80142F20 0013FE80 28 03 00 00 */ cmplwi r3, 0 +/* 80142F24 0013FE84 41 82 00 D4 */ beq lbl_80142FF8 +/* 80142F28 0013FE88 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80142F2C 0013FE8C 7F 65 DB 78 */ mr r5, r27 +/* 80142F30 0013FE90 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80142F34 0013FE94 38 9B 04 5C */ addi r4, r27, 0x45c +/* 80142F38 0013FE98 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80142F3C 0013FE9C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80142F40 0013FEA0 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80142F44 0013FEA4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80142F48 0013FEA8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80142F4C 0013FEAC D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80142F50 0013FEB0 4B FF BD 65 */ bl Flee__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +/* 80142F54 0013FEB4 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 80142F58 0013FEB8 7F 64 DB 78 */ mr r4, r27 +/* 80142F5C 0013FEBC C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80142F60 0013FEC0 7F 85 E3 78 */ mr r5, r28 +/* 80142F64 0013FEC4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80142F68 0013FEC8 38 61 00 0C */ addi r3, r1, 0xc +/* 80142F6C 0013FECC D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80142F70 0013FED0 38 C1 00 3C */ addi r6, r1, 0x3c +/* 80142F74 0013FED4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80142F78 0013FED8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80142F7C 0013FEDC 48 00 00 B9 */ bl sub_80143034 +/* 80142F80 0013FEE0 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 80142F84 0013FEE4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80142F88 0013FEE8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80142F8C 0013FEEC 38 81 00 48 */ addi r4, r1, 0x48 +/* 80142F90 0013FEF0 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80142F94 0013FEF4 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 80142F98 0013FEF8 C0 02 9B CC */ lfs f0, lbl_805AB8EC@sda21(r2) +/* 80142F9C 0013FEFC D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80142FA0 0013FF00 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 80142FA4 0013FF04 D0 7B 0D 74 */ stfs f3, 0xd74(r27) +/* 80142FA8 0013FF08 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 80142FAC 0013FF0C D0 3B 0D 78 */ stfs f1, 0xd78(r27) +/* 80142FB0 0013FF10 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 80142FB4 0013FF14 D0 3B 0D 7C */ stfs f1, 0xd7c(r27) +/* 80142FB8 0013FF18 C0 C1 00 3C */ lfs f6, 0x3c(r1) +/* 80142FBC 0013FF1C C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 80142FC0 0013FF20 C0 81 00 44 */ lfs f4, 0x44(r1) +/* 80142FC4 0013FF24 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 80142FC8 0013FF28 C0 5F 00 04 */ lfs f2, 4(r31) +/* 80142FCC 0013FF2C C0 3F 00 08 */ lfs f1, 8(r31) +/* 80142FD0 0013FF30 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 80142FD4 0013FF34 D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 80142FD8 0013FF38 D0 81 00 50 */ stfs f4, 0x50(r1) +/* 80142FDC 0013FF3C D0 61 00 54 */ stfs f3, 0x54(r1) +/* 80142FE0 0013FF40 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80142FE4 0013FF44 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 80142FE8 0013FF48 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 80142FEC 0013FF4C 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 80142FF0 0013FF50 38 63 00 04 */ addi r3, r3, 4 +/* 80142FF4 0013FF54 4B FE E7 25 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_80142FF8: +/* 80142FF8 0013FF58 3B BD 00 02 */ addi r29, r29, 2 +lbl_80142FFC: +/* 80142FFC 0013FF5C 80 1B 05 70 */ lwz r0, 0x570(r27) +/* 80143000 0013FF60 54 00 08 3C */ slwi r0, r0, 1 +/* 80143004 0013FF64 7C 1E 02 14 */ add r0, r30, r0 +/* 80143008 0013FF68 7C 1D 00 40 */ cmplw r29, r0 +/* 8014300C 0013FF6C 40 82 FF 00 */ bne lbl_80142F0C +/* 80143010 0013FF70 48 00 00 10 */ b lbl_80143020 +lbl_80143014: +/* 80143014 0013FF74 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 80143018 0013FF78 38 80 00 01 */ li r4, 1 +/* 8014301C 0013FF7C 4B FF 79 BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80143020: +/* 80143020 0013FF80 BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 80143024 0013FF84 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80143028 0013FF88 7C 08 03 A6 */ mtlr r0 +/* 8014302C 0013FF8C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80143030 0013FF90 4E 80 00 20 */ blr + +.global sub_80143034 +sub_80143034: +/* 80143034 0013FF94 94 21 FD C0 */ stwu r1, -0x240(r1) +/* 80143038 0013FF98 7C 08 02 A6 */ mflr r0 +/* 8014303C 0013FF9C 90 01 02 44 */ stw r0, 0x244(r1) +/* 80143040 0013FFA0 DB E1 02 30 */ stfd f31, 0x230(r1) +/* 80143044 0013FFA4 F3 E1 02 38 */ psq_st f31, 568(r1), 0, qr0 +/* 80143048 0013FFA8 93 E1 02 2C */ stw r31, 0x22c(r1) +/* 8014304C 0013FFAC 93 C1 02 28 */ stw r30, 0x228(r1) +/* 80143050 0013FFB0 93 A1 02 24 */ stw r29, 0x224(r1) +/* 80143054 0013FFB4 93 81 02 20 */ stw r28, 0x220(r1) +/* 80143058 0013FFB8 C0 46 00 00 */ lfs f2, 0(r6) +/* 8014305C 0013FFBC 7C 7D 1B 78 */ mr r29, r3 +/* 80143060 0013FFC0 C0 26 00 04 */ lfs f1, 4(r6) +/* 80143064 0013FFC4 7C 9E 23 78 */ mr r30, r4 +/* 80143068 0013FFC8 C0 06 00 08 */ lfs f0, 8(r6) +/* 8014306C 0013FFCC 7C BF 2B 78 */ mr r31, r5 +/* 80143070 0013FFD0 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 80143074 0013FFD4 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80143078 0013FFD8 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 8014307C 0013FFDC D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80143080 0013FFE0 48 1D 18 39 */ bl Magnitude__9CVector3fCFv +/* 80143084 0013FFE4 FF E0 08 90 */ fmr f31, f1 +/* 80143088 0013FFE8 C0 02 9B D0 */ lfs f0, lbl_805AB8F0@sda21(r2) +/* 8014308C 0013FFEC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80143090 0013FFF0 40 81 04 28 */ ble lbl_801434B8 +/* 80143094 0013FFF4 38 61 00 5C */ addi r3, r1, 0x5c +/* 80143098 0013FFF8 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 8014309C 0013FFFC 48 1D 17 B5 */ bl AsNormalized__9CVector3fCFv +/* 801430A0 00140000 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 801430A4 00140004 38 60 00 00 */ li r3, 0 +/* 801430A8 00140008 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 801430AC 0014000C 38 80 00 01 */ li r4, 1 +/* 801430B0 00140010 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 801430B4 00140014 80 AD 8B C8 */ lwz r5, lbl_805A7788@sda21(r13) +/* 801430B8 00140018 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 801430BC 0014001C D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 801430C0 00140020 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 801430C4 00140024 48 24 6E 31 */ bl __shl2i +/* 801430C8 00140028 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 801430CC 0014002C 39 00 00 00 */ li r8, 0 +/* 801430D0 00140030 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 801430D4 00140034 38 00 00 01 */ li r0, 1 +/* 801430D8 00140038 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 801430DC 0014003C 38 A1 00 50 */ addi r5, r1, 0x50 +/* 801430E0 00140040 90 81 01 14 */ stw r4, 0x114(r1) +/* 801430E4 00140044 7F E4 FB 78 */ mr r4, r31 +/* 801430E8 00140048 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) +/* 801430EC 0014004C 38 C1 00 98 */ addi r6, r1, 0x98 +/* 801430F0 00140050 90 61 01 10 */ stw r3, 0x110(r1) +/* 801430F4 00140054 38 61 01 E8 */ addi r3, r1, 0x1e8 +/* 801430F8 00140058 38 E1 01 10 */ addi r7, r1, 0x110 +/* 801430FC 0014005C 91 01 01 1C */ stw r8, 0x11c(r1) +/* 80143100 00140060 91 01 01 18 */ stw r8, 0x118(r1) +/* 80143104 00140064 90 01 01 20 */ stw r0, 0x120(r1) +/* 80143108 00140068 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8014310C 0014006C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 80143110 00140070 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 80143114 00140074 4B F0 9E 85 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80143118 00140078 8B 81 02 08 */ lbz r28, 0x208(r1) +/* 8014311C 0014007C 7F C3 F3 78 */ mr r3, r30 +/* 80143120 00140080 7F E4 FB 78 */ mr r4, r31 +/* 80143124 00140084 38 A1 00 98 */ addi r5, r1, 0x98 +/* 80143128 00140088 48 00 03 D5 */ bl sub_801434fc +/* 8014312C 0014008C 28 1C 00 00 */ cmplwi r28, 0 +/* 80143130 00140090 40 82 00 0C */ bne lbl_8014313C +/* 80143134 00140094 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80143138 00140098 41 82 03 64 */ beq lbl_8014349C +lbl_8014313C: +/* 8014313C 0014009C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80143140 001400A0 C0 A1 00 9C */ lfs f5, 0x9c(r1) +/* 80143144 001400A4 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l +/* 80143148 001400A8 C0 C1 00 A0 */ lfs f6, 0xa0(r1) +/* 8014314C 001400AC C0 85 00 08 */ lfs f4, 8(r5) +/* 80143150 001400B0 38 61 00 44 */ addi r3, r1, 0x44 +/* 80143154 001400B4 C1 05 00 00 */ lfs f8, 0(r5) +/* 80143158 001400B8 38 81 00 38 */ addi r4, r1, 0x38 +/* 8014315C 001400BC C0 65 00 04 */ lfs f3, 4(r5) +/* 80143160 001400C0 EC 45 01 32 */ fmuls f2, f5, f4 +/* 80143164 001400C4 C0 E1 00 98 */ lfs f7, 0x98(r1) +/* 80143168 001400C8 EC 26 02 32 */ fmuls f1, f6, f8 +/* 8014316C 001400CC EC 07 00 F2 */ fmuls f0, f7, f3 +/* 80143170 001400D0 EC 43 11 B8 */ fmsubs f2, f3, f6, f2 +/* 80143174 001400D4 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 +/* 80143178 001400D8 EC 08 01 78 */ fmsubs f0, f8, f5, f0 +/* 8014317C 001400DC D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80143180 001400E0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80143184 001400E4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80143188 001400E8 48 1D 16 C9 */ bl AsNormalized__9CVector3fCFv +/* 8014318C 001400EC C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80143190 001400F0 38 60 00 00 */ li r3, 0 +/* 80143194 001400F4 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80143198 001400F8 38 80 00 01 */ li r4, 1 +/* 8014319C 001400FC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 801431A0 00140100 80 AD 8B CC */ lwz r5, lbl_805A778C@sda21(r13) +/* 801431A4 00140104 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 801431A8 00140108 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 801431AC 0014010C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 801431B0 00140110 48 24 6D 45 */ bl __shl2i +/* 801431B4 00140114 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 801431B8 00140118 39 00 00 00 */ li r8, 0 +/* 801431BC 0014011C C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 801431C0 00140120 38 00 00 01 */ li r0, 1 +/* 801431C4 00140124 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 801431C8 00140128 38 A1 00 2C */ addi r5, r1, 0x2c +/* 801431CC 0014012C 90 81 00 FC */ stw r4, 0xfc(r1) +/* 801431D0 00140130 7F E4 FB 78 */ mr r4, r31 +/* 801431D4 00140134 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) +/* 801431D8 00140138 38 C1 00 8C */ addi r6, r1, 0x8c +/* 801431DC 0014013C 90 61 00 F8 */ stw r3, 0xf8(r1) +/* 801431E0 00140140 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 801431E4 00140144 38 E1 00 F8 */ addi r7, r1, 0xf8 +/* 801431E8 00140148 91 01 01 04 */ stw r8, 0x104(r1) +/* 801431EC 0014014C 91 01 01 00 */ stw r8, 0x100(r1) +/* 801431F0 00140150 90 01 01 08 */ stw r0, 0x108(r1) +/* 801431F4 00140154 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 801431F8 00140158 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 801431FC 0014015C D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80143200 00140160 4B F0 9D 99 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80143204 00140164 88 01 01 D8 */ lbz r0, 0x1d8(r1) +/* 80143208 00140168 28 00 00 00 */ cmplwi r0, 0 +/* 8014320C 0014016C 41 82 02 6C */ beq lbl_80143478 +/* 80143210 00140170 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 80143214 00140174 38 60 00 00 */ li r3, 0 +/* 80143218 00140178 C0 21 00 90 */ lfs f1, 0x90(r1) +/* 8014321C 0014017C 38 80 00 01 */ li r4, 1 +/* 80143220 00140180 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80143224 00140184 FC 40 10 50 */ fneg f2, f2 +/* 80143228 00140188 FC 20 08 50 */ fneg f1, f1 +/* 8014322C 0014018C 80 AD 8B D0 */ lwz r5, lbl_805A7790@sda21(r13) +/* 80143230 00140190 FC 00 00 50 */ fneg f0, f0 +/* 80143234 00140194 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 80143238 00140198 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8014323C 0014019C D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80143240 001401A0 48 24 6C B5 */ bl __shl2i +/* 80143244 001401A4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80143248 001401A8 39 00 00 00 */ li r8, 0 +/* 8014324C 001401AC C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80143250 001401B0 38 00 00 01 */ li r0, 1 +/* 80143254 001401B4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80143258 001401B8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8014325C 001401BC 90 81 00 E4 */ stw r4, 0xe4(r1) +/* 80143260 001401C0 7F E4 FB 78 */ mr r4, r31 +/* 80143264 001401C4 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) +/* 80143268 001401C8 38 C1 00 80 */ addi r6, r1, 0x80 +/* 8014326C 001401CC 90 61 00 E0 */ stw r3, 0xe0(r1) +/* 80143270 001401D0 38 61 01 88 */ addi r3, r1, 0x188 +/* 80143274 001401D4 38 E1 00 E0 */ addi r7, r1, 0xe0 +/* 80143278 001401D8 91 01 00 EC */ stw r8, 0xec(r1) +/* 8014327C 001401DC 91 01 00 E8 */ stw r8, 0xe8(r1) +/* 80143280 001401E0 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 80143284 001401E4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80143288 001401E8 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8014328C 001401EC D0 61 00 28 */ stfs f3, 0x28(r1) +/* 80143290 001401F0 4B F0 9D 09 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80143294 001401F4 88 01 01 A8 */ lbz r0, 0x1a8(r1) +/* 80143298 001401F8 28 00 00 00 */ cmplwi r0, 0 +/* 8014329C 001401FC 41 82 01 B4 */ beq lbl_80143450 +/* 801432A0 00140200 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 801432A4 00140204 38 60 00 00 */ li r3, 0 +/* 801432A8 00140208 C0 E1 00 8C */ lfs f7, 0x8c(r1) +/* 801432AC 0014020C 38 80 00 01 */ li r4, 1 +/* 801432B0 00140210 C0 81 00 A0 */ lfs f4, 0xa0(r1) +/* 801432B4 00140214 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 801432B8 00140218 EC 07 00 F2 */ fmuls f0, f7, f3 +/* 801432BC 0014021C C0 C1 00 98 */ lfs f6, 0x98(r1) +/* 801432C0 00140220 EC 22 01 32 */ fmuls f1, f2, f4 +/* 801432C4 00140224 C0 A1 00 94 */ lfs f5, 0x94(r1) +/* 801432C8 00140228 EC 46 00 B8 */ fmsubs f2, f6, f2, f0 +/* 801432CC 0014022C 80 AD 8B D4 */ lwz r5, lbl_805A7794@sda21(r13) +/* 801432D0 00140230 EC 05 01 B2 */ fmuls f0, f5, f6 +/* 801432D4 00140234 EC 23 09 78 */ fmsubs f1, f3, f5, f1 +/* 801432D8 00140238 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 801432DC 0014023C EC 04 01 F8 */ fmsubs f0, f4, f7, f0 +/* 801432E0 00140240 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 801432E4 00140244 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 801432E8 00140248 48 24 6C 0D */ bl __shl2i +/* 801432EC 0014024C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 801432F0 00140250 39 00 00 00 */ li r8, 0 +/* 801432F4 00140254 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 801432F8 00140258 38 00 00 01 */ li r0, 1 +/* 801432FC 0014025C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80143300 00140260 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80143304 00140264 90 81 00 CC */ stw r4, 0xcc(r1) +/* 80143308 00140268 7F E4 FB 78 */ mr r4, r31 +/* 8014330C 0014026C C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) +/* 80143310 00140270 38 C1 00 74 */ addi r6, r1, 0x74 +/* 80143314 00140274 90 61 00 C8 */ stw r3, 0xc8(r1) +/* 80143318 00140278 38 61 01 58 */ addi r3, r1, 0x158 +/* 8014331C 0014027C 38 E1 00 C8 */ addi r7, r1, 0xc8 +/* 80143320 00140280 91 01 00 D4 */ stw r8, 0xd4(r1) +/* 80143324 00140284 91 01 00 D0 */ stw r8, 0xd0(r1) +/* 80143328 00140288 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8014332C 0014028C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80143330 00140290 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80143334 00140294 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80143338 00140298 4B F0 9C 61 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8014333C 0014029C 88 01 01 78 */ lbz r0, 0x178(r1) +/* 80143340 001402A0 28 00 00 00 */ cmplwi r0, 0 +/* 80143344 001402A4 41 82 00 E4 */ beq lbl_80143428 +/* 80143348 001402A8 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 8014334C 001402AC 38 60 00 00 */ li r3, 0 +/* 80143350 001402B0 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 80143354 001402B4 38 80 00 01 */ li r4, 1 +/* 80143358 001402B8 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8014335C 001402BC FC 40 10 50 */ fneg f2, f2 +/* 80143360 001402C0 FC 20 08 50 */ fneg f1, f1 +/* 80143364 001402C4 80 AD 8B D8 */ lwz r5, lbl_805A7798@sda21(r13) +/* 80143368 001402C8 FC 00 00 50 */ fneg f0, f0 +/* 8014336C 001402CC D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80143370 001402D0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80143374 001402D4 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 80143378 001402D8 48 24 6B 7D */ bl __shl2i +/* 8014337C 001402DC C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80143380 001402E0 39 00 00 00 */ li r8, 0 +/* 80143384 001402E4 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80143388 001402E8 38 00 00 01 */ li r0, 1 +/* 8014338C 001402EC C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80143390 001402F0 38 A1 00 08 */ addi r5, r1, 8 +/* 80143394 001402F4 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 80143398 001402F8 7F E4 FB 78 */ mr r4, r31 +/* 8014339C 001402FC C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) +/* 801433A0 00140300 38 C1 00 68 */ addi r6, r1, 0x68 +/* 801433A4 00140304 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 801433A8 00140308 38 61 01 28 */ addi r3, r1, 0x128 +/* 801433AC 0014030C 38 E1 00 B0 */ addi r7, r1, 0xb0 +/* 801433B0 00140310 91 01 00 BC */ stw r8, 0xbc(r1) +/* 801433B4 00140314 91 01 00 B8 */ stw r8, 0xb8(r1) +/* 801433B8 00140318 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 801433BC 0014031C D0 01 00 08 */ stfs f0, 8(r1) +/* 801433C0 00140320 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 801433C4 00140324 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 801433C8 00140328 4B F0 9B D1 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 801433CC 0014032C 88 01 01 48 */ lbz r0, 0x148(r1) +/* 801433D0 00140330 28 00 00 00 */ cmplwi r0, 0 +/* 801433D4 00140334 40 82 00 2C */ bne lbl_80143400 +/* 801433D8 00140338 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 801433DC 0014033C C0 21 00 70 */ lfs f1, 0x70(r1) +/* 801433E0 00140340 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 801433E4 00140344 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 801433E8 00140348 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 801433EC 0014034C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 801433F0 00140350 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 801433F4 00140354 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 801433F8 00140358 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 801433FC 0014035C 48 00 00 A0 */ b lbl_8014349C +lbl_80143400: +/* 80143400 00140360 C0 41 00 AC */ lfs f2, 0xac(r1) +/* 80143404 00140364 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 80143408 00140368 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8014340C 0014036C FC 40 10 50 */ fneg f2, f2 +/* 80143410 00140370 FC 20 08 50 */ fneg f1, f1 +/* 80143414 00140374 FC 00 00 50 */ fneg f0, f0 +/* 80143418 00140378 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 8014341C 0014037C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80143420 00140380 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 80143424 00140384 48 00 00 78 */ b lbl_8014349C +lbl_80143428: +/* 80143428 00140388 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 8014342C 0014038C C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 80143430 00140390 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 80143434 00140394 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80143438 00140398 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8014343C 0014039C EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80143440 001403A0 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 80143444 001403A4 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80143448 001403A8 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 8014344C 001403AC 48 00 00 50 */ b lbl_8014349C +lbl_80143450: +/* 80143450 001403B0 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 80143454 001403B4 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 80143458 001403B8 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 8014345C 001403BC EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80143460 001403C0 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80143464 001403C4 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80143468 001403C8 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 8014346C 001403CC D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80143470 001403D0 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 80143474 001403D4 48 00 00 28 */ b lbl_8014349C +lbl_80143478: +/* 80143478 001403D8 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 8014347C 001403DC C0 21 00 94 */ lfs f1, 0x94(r1) +/* 80143480 001403E0 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 80143484 001403E4 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 80143488 001403E8 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8014348C 001403EC EC 1F 00 32 */ fmuls f0, f31, f0 +/* 80143490 001403F0 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 80143494 001403F4 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 80143498 001403F8 D0 21 00 AC */ stfs f1, 0xac(r1) +lbl_8014349C: +/* 8014349C 001403FC C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 801434A0 00140400 D0 1D 00 00 */ stfs f0, 0(r29) +/* 801434A4 00140404 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 801434A8 00140408 D0 1D 00 04 */ stfs f0, 4(r29) +/* 801434AC 0014040C C0 01 00 AC */ lfs f0, 0xac(r1) +/* 801434B0 00140410 D0 1D 00 08 */ stfs f0, 8(r29) +/* 801434B4 00140414 48 00 00 20 */ b lbl_801434D4 +lbl_801434B8: +/* 801434B8 00140418 3C 60 80 5A */ lis r3, skZero3f@ha +/* 801434BC 0014041C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 801434C0 00140420 D0 1D 00 00 */ stfs f0, 0(r29) +/* 801434C4 00140424 C0 03 00 04 */ lfs f0, 4(r3) +/* 801434C8 00140428 D0 1D 00 04 */ stfs f0, 4(r29) +/* 801434CC 0014042C C0 03 00 08 */ lfs f0, 8(r3) +/* 801434D0 00140430 D0 1D 00 08 */ stfs f0, 8(r29) +lbl_801434D4: +/* 801434D4 00140434 E3 E1 02 38 */ psq_l f31, 568(r1), 0, qr0 +/* 801434D8 00140438 80 01 02 44 */ lwz r0, 0x244(r1) +/* 801434DC 0014043C CB E1 02 30 */ lfd f31, 0x230(r1) +/* 801434E0 00140440 83 E1 02 2C */ lwz r31, 0x22c(r1) +/* 801434E4 00140444 83 C1 02 28 */ lwz r30, 0x228(r1) +/* 801434E8 00140448 83 A1 02 24 */ lwz r29, 0x224(r1) +/* 801434EC 0014044C 83 81 02 20 */ lwz r28, 0x220(r1) +/* 801434F0 00140450 7C 08 03 A6 */ mtlr r0 +/* 801434F4 00140454 38 21 02 40 */ addi r1, r1, 0x240 +/* 801434F8 00140458 4E 80 00 20 */ blr + +.global sub_801434fc +sub_801434fc: +/* 801434FC 0014045C 94 21 F7 C0 */ stwu r1, -0x840(r1) +/* 80143500 00140460 7C 08 02 A6 */ mflr r0 +/* 80143504 00140464 7C A6 2B 78 */ mr r6, r5 +/* 80143508 00140468 C0 22 9B D4 */ lfs f1, lbl_805AB8F4@sda21(r2) +/* 8014350C 0014046C 90 01 08 44 */ stw r0, 0x844(r1) +/* 80143510 00140470 38 00 00 00 */ li r0, 0 +/* 80143514 00140474 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80143518 00140478 39 00 00 00 */ li r8, 0 +/* 8014351C 0014047C 93 E1 08 3C */ stw r31, 0x83c(r1) +/* 80143520 00140480 93 C1 08 38 */ stw r30, 0x838(r1) +/* 80143524 00140484 93 A1 08 34 */ stw r29, 0x834(r1) +/* 80143528 00140488 7C 9D 23 78 */ mr r29, r4 +/* 8014352C 0014048C 38 81 00 24 */ addi r4, r1, 0x24 +/* 80143530 00140490 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 80143534 00140494 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 80143538 00140498 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8014353C 0014049C 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 80143540 001404A0 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l +/* 80143544 001404A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80143548 001404A8 7F A3 EB 78 */ mr r3, r29 +/* 8014354C 001404AC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80143550 001404B0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80143554 001404B4 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80143558 001404B8 4B F0 91 81 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" +/* 8014355C 001404BC 3B E1 00 28 */ addi r31, r1, 0x28 +/* 80143560 001404C0 7F FE FB 78 */ mr r30, r31 +/* 80143564 001404C4 48 00 00 94 */ b lbl_801435F8 +lbl_80143568: +/* 80143568 001404C8 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8014356C 001404CC 7F A3 EB 78 */ mr r3, r29 +/* 80143570 001404D0 38 81 00 08 */ addi r4, r1, 8 +/* 80143574 001404D4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80143578 001404D8 B0 01 00 08 */ sth r0, 8(r1) +/* 8014357C 001404DC 4B F0 90 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80143580 001404E0 7C 64 1B 78 */ mr r4, r3 +/* 80143584 001404E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80143588 001404E8 4B F6 32 D9 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" +/* 8014358C 001404EC 80 03 00 04 */ lwz r0, 4(r3) +/* 80143590 001404F0 28 00 00 00 */ cmplwi r0, 0 +/* 80143594 001404F4 41 82 00 60 */ beq lbl_801435F4 +/* 80143598 001404F8 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 8014359C 001404FC 38 60 00 00 */ li r3, 0 +/* 801435A0 00140500 2C 05 00 00 */ cmpwi r5, 0 +/* 801435A4 00140504 40 81 00 40 */ ble lbl_801435E4 +/* 801435A8 00140508 2C 05 00 08 */ cmpwi r5, 8 +/* 801435AC 0014050C 38 85 FF F8 */ addi r4, r5, -8 +/* 801435B0 00140510 40 81 00 20 */ ble lbl_801435D0 +/* 801435B4 00140514 38 04 00 07 */ addi r0, r4, 7 +/* 801435B8 00140518 54 00 E8 FE */ srwi r0, r0, 3 +/* 801435BC 0014051C 7C 09 03 A6 */ mtctr r0 +/* 801435C0 00140520 2C 04 00 00 */ cmpwi r4, 0 +/* 801435C4 00140524 40 81 00 0C */ ble lbl_801435D0 +lbl_801435C8: +/* 801435C8 00140528 38 63 00 08 */ addi r3, r3, 8 +/* 801435CC 0014052C 42 00 FF FC */ bdnz lbl_801435C8 +lbl_801435D0: +/* 801435D0 00140530 7C 03 28 50 */ subf r0, r3, r5 +/* 801435D4 00140534 7C 09 03 A6 */ mtctr r0 +/* 801435D8 00140538 7C 03 28 00 */ cmpw r3, r5 +/* 801435DC 0014053C 40 80 00 08 */ bge lbl_801435E4 +lbl_801435E0: +/* 801435E0 00140540 42 00 00 00 */ bdnz lbl_801435E0 +lbl_801435E4: +/* 801435E4 00140544 38 00 00 00 */ li r0, 0 +/* 801435E8 00140548 38 60 00 01 */ li r3, 1 +/* 801435EC 0014054C 90 01 00 24 */ stw r0, 0x24(r1) +/* 801435F0 00140550 48 00 00 70 */ b lbl_80143660 +lbl_801435F4: +/* 801435F4 00140554 3B DE 00 02 */ addi r30, r30, 2 +lbl_801435F8: +/* 801435F8 00140558 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 801435FC 0014055C 54 A0 08 3C */ slwi r0, r5, 1 +/* 80143600 00140560 7C 1F 02 14 */ add r0, r31, r0 +/* 80143604 00140564 7C 1E 00 40 */ cmplw r30, r0 +/* 80143608 00140568 40 82 FF 60 */ bne lbl_80143568 +/* 8014360C 0014056C 2C 05 00 00 */ cmpwi r5, 0 +/* 80143610 00140570 38 60 00 00 */ li r3, 0 +/* 80143614 00140574 40 81 00 40 */ ble lbl_80143654 +/* 80143618 00140578 2C 05 00 08 */ cmpwi r5, 8 +/* 8014361C 0014057C 38 85 FF F8 */ addi r4, r5, -8 +/* 80143620 00140580 40 81 00 20 */ ble lbl_80143640 +/* 80143624 00140584 38 04 00 07 */ addi r0, r4, 7 +/* 80143628 00140588 54 00 E8 FE */ srwi r0, r0, 3 +/* 8014362C 0014058C 7C 09 03 A6 */ mtctr r0 +/* 80143630 00140590 2C 04 00 00 */ cmpwi r4, 0 +/* 80143634 00140594 40 81 00 0C */ ble lbl_80143640 +lbl_80143638: +/* 80143638 00140598 38 63 00 08 */ addi r3, r3, 8 +/* 8014363C 0014059C 42 00 FF FC */ bdnz lbl_80143638 +lbl_80143640: +/* 80143640 001405A0 7C 03 28 50 */ subf r0, r3, r5 +/* 80143644 001405A4 7C 09 03 A6 */ mtctr r0 +/* 80143648 001405A8 7C 03 28 00 */ cmpw r3, r5 +/* 8014364C 001405AC 40 80 00 08 */ bge lbl_80143654 +lbl_80143650: +/* 80143650 001405B0 42 00 00 00 */ bdnz lbl_80143650 +lbl_80143654: +/* 80143654 001405B4 38 00 00 00 */ li r0, 0 +/* 80143658 001405B8 38 60 00 00 */ li r3, 0 +/* 8014365C 001405BC 90 01 00 24 */ stw r0, 0x24(r1) +lbl_80143660: +/* 80143660 001405C0 80 01 08 44 */ lwz r0, 0x844(r1) +/* 80143664 001405C4 83 E1 08 3C */ lwz r31, 0x83c(r1) +/* 80143668 001405C8 83 C1 08 38 */ lwz r30, 0x838(r1) +/* 8014366C 001405CC 83 A1 08 34 */ lwz r29, 0x834(r1) +/* 80143670 001405D0 7C 08 03 A6 */ mtlr r0 +/* 80143674 001405D4 38 21 08 40 */ addi r1, r1, 0x840 +/* 80143678 001405D8 4E 80 00 20 */ blr + +.global Patrol__9CFireFleaFR13CStateManager9EStateMsgf +Patrol__9CFireFleaFR13CStateManager9EStateMsgf: +/* 8014367C 001405DC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80143680 001405E0 7C 08 02 A6 */ mflr r0 +/* 80143684 001405E4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80143688 001405E8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8014368C 001405EC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80143690 001405F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80143694 001405F4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80143698 001405F8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8014369C 001405FC FF E0 08 90 */ fmr f31, f1 +/* 801436A0 00140600 3C C0 80 5A */ lis r6, skZero3f@ha +/* 801436A4 00140604 7C 7D 1B 78 */ mr r29, r3 +/* 801436A8 00140608 C0 22 9B D8 */ lfs f1, lbl_805AB8F8@sda21(r2) +/* 801436AC 0014060C 38 06 66 A0 */ addi r0, r6, skZero3f@l +/* 801436B0 00140610 7C 9E 23 78 */ mr r30, r4 +/* 801436B4 00140614 7C BF 2B 78 */ mr r31, r5 +/* 801436B8 00140618 7C 04 03 78 */ mr r4, r0 +/* 801436BC 0014061C 38 7D 03 10 */ addi r3, r29, 0x310 +/* 801436C0 00140620 48 1C C8 A5 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 801436C4 00140624 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801436C8 00140628 40 82 00 0C */ bne lbl_801436D4 +/* 801436CC 0014062C 38 7D 03 10 */ addi r3, r29, 0x310 +/* 801436D0 00140630 48 1D 12 29 */ bl Normalize__9CVector3fFv +lbl_801436D4: +/* 801436D4 00140634 7F A4 EB 78 */ mr r4, r29 +/* 801436D8 00140638 7F C5 F3 78 */ mr r5, r30 +/* 801436DC 0014063C 38 61 00 10 */ addi r3, r1, 0x10 +/* 801436E0 00140640 38 DD 03 10 */ addi r6, r29, 0x310 +/* 801436E4 00140644 4B FF F9 51 */ bl sub_80143034 +/* 801436E8 00140648 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 801436EC 0014064C FC 20 F8 90 */ fmr f1, f31 +/* 801436F0 00140650 7F A3 EB 78 */ mr r3, r29 +/* 801436F4 00140654 7F C4 F3 78 */ mr r4, r30 +/* 801436F8 00140658 D0 1D 03 10 */ stfs f0, 0x310(r29) +/* 801436FC 0014065C 7F E5 FB 78 */ mr r5, r31 +/* 80143700 00140660 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80143704 00140664 D0 1D 03 14 */ stfs f0, 0x314(r29) +/* 80143708 00140668 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8014370C 0014066C D0 1D 03 18 */ stfs f0, 0x318(r29) +/* 80143710 00140670 48 0B 37 65 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 80143714 00140674 80 1D 02 D8 */ lwz r0, 0x2d8(r29) +/* 80143718 00140678 2C 00 00 02 */ cmpwi r0, 2 +/* 8014371C 0014067C 40 82 00 1C */ bne lbl_80143738 +/* 80143720 00140680 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80143724 00140684 7F C3 F3 78 */ mr r3, r30 +/* 80143728 00140688 38 81 00 0C */ addi r4, r1, 0xc +/* 8014372C 0014068C B0 01 00 08 */ sth r0, 8(r1) +/* 80143730 00140690 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80143734 00140694 4B F0 8B 39 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_80143738: +/* 80143738 00140698 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8014373C 0014069C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80143740 001406A0 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80143744 001406A4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80143748 001406A8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8014374C 001406AC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80143750 001406B0 7C 08 03 A6 */ mtlr r0 +/* 80143754 001406B4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80143758 001406B8 4E 80 00 20 */ blr + +.global HearShot__9CFireFleaFR13CStateManagerf +HearShot__9CFireFleaFR13CStateManagerf: +/* 8014375C 001406BC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80143760 001406C0 7C 08 02 A6 */ mflr r0 +/* 80143764 001406C4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80143768 001406C8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8014376C 001406CC 7C 9F 23 78 */ mr r31, r4 +/* 80143770 001406D0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80143774 001406D4 7C 7E 1B 78 */ mr r30, r3 +/* 80143778 001406D8 80 A3 05 70 */ lwz r5, 0x570(r3) +/* 8014377C 001406DC 38 60 00 00 */ li r3, 0 +/* 80143780 001406E0 2C 05 00 00 */ cmpwi r5, 0 +/* 80143784 001406E4 40 81 00 40 */ ble lbl_801437C4 +/* 80143788 001406E8 2C 05 00 08 */ cmpwi r5, 8 +/* 8014378C 001406EC 38 85 FF F8 */ addi r4, r5, -8 +/* 80143790 001406F0 40 81 00 20 */ ble lbl_801437B0 +/* 80143794 001406F4 38 04 00 07 */ addi r0, r4, 7 +/* 80143798 001406F8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8014379C 001406FC 7C 09 03 A6 */ mtctr r0 +/* 801437A0 00140700 2C 04 00 00 */ cmpwi r4, 0 +/* 801437A4 00140704 40 81 00 0C */ ble lbl_801437B0 +lbl_801437A8: +/* 801437A8 00140708 38 63 00 08 */ addi r3, r3, 8 +/* 801437AC 0014070C 42 00 FF FC */ bdnz lbl_801437A8 +lbl_801437B0: +/* 801437B0 00140710 7C 03 28 50 */ subf r0, r3, r5 +/* 801437B4 00140714 7C 09 03 A6 */ mtctr r0 +/* 801437B8 00140718 7C 03 28 00 */ cmpw r3, r5 +/* 801437BC 0014071C 40 80 00 08 */ bge lbl_801437C4 +lbl_801437C0: +/* 801437C0 00140720 42 00 00 00 */ bdnz lbl_801437C0 +lbl_801437C4: +/* 801437C4 00140724 38 00 00 00 */ li r0, 0 +/* 801437C8 00140728 C0 A2 9B DC */ lfs f5, lbl_805AB8FC@sda21(r2) +/* 801437CC 0014072C 90 1E 05 70 */ stw r0, 0x570(r30) +/* 801437D0 00140730 38 61 00 50 */ addi r3, r1, 0x50 +/* 801437D4 00140734 38 81 00 14 */ addi r4, r1, 0x14 +/* 801437D8 00140738 38 A1 00 08 */ addi r5, r1, 8 +/* 801437DC 0014073C C0 FE 00 60 */ lfs f7, 0x60(r30) +/* 801437E0 00140740 C0 DE 00 50 */ lfs f6, 0x50(r30) +/* 801437E4 00140744 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 801437E8 00140748 EC 07 28 2A */ fadds f0, f7, f5 +/* 801437EC 0014074C EC 66 28 2A */ fadds f3, f6, f5 +/* 801437F0 00140750 EC 81 28 2A */ fadds f4, f1, f5 +/* 801437F4 00140754 EC 41 28 28 */ fsubs f2, f1, f5 +/* 801437F8 00140758 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 801437FC 0014075C EC 26 28 28 */ fsubs f1, f6, f5 +/* 80143800 00140760 EC 07 28 28 */ fsubs f0, f7, f5 +/* 80143804 00140764 D0 81 00 08 */ stfs f4, 8(r1) +/* 80143808 00140768 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8014380C 0014076C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80143810 00140770 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80143814 00140774 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80143818 00140778 48 1F 4C F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8014381C 0014077C 80 AD 8B C4 */ lwz r5, lbl_805A7784@sda21(r13) +/* 80143820 00140780 38 60 00 00 */ li r3, 0 +/* 80143824 00140784 38 80 00 01 */ li r4, 1 +/* 80143828 00140788 48 24 66 CD */ bl __shl2i +/* 8014382C 0014078C 39 00 00 01 */ li r8, 1 +/* 80143830 00140790 38 00 00 00 */ li r0, 0 +/* 80143834 00140794 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80143838 00140798 38 9E 05 70 */ addi r4, r30, 0x570 +/* 8014383C 0014079C 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80143840 001407A0 38 C1 00 38 */ addi r6, r1, 0x38 +/* 80143844 001407A4 90 61 00 38 */ stw r3, 0x38(r1) +/* 80143848 001407A8 7F E3 FB 78 */ mr r3, r31 +/* 8014384C 001407AC 38 E0 00 00 */ li r7, 0 +/* 80143850 001407B0 91 01 00 30 */ stw r8, 0x30(r1) +/* 80143854 001407B4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80143858 001407B8 90 01 00 40 */ stw r0, 0x40(r1) +/* 8014385C 001407BC 91 01 00 48 */ stw r8, 0x48(r1) +/* 80143860 001407C0 4B F0 8E C1 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80143864 001407C4 80 7E 05 70 */ lwz r3, 0x570(r30) +/* 80143868 001407C8 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8014386C 001407CC 7C 03 00 D0 */ neg r0, r3 +/* 80143870 001407D0 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80143874 001407D4 7C 00 18 78 */ andc r0, r0, r3 +/* 80143878 001407D8 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8014387C 001407DC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80143880 001407E0 7C 08 03 A6 */ mtlr r0 +/* 80143884 001407E4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80143888 001407E8 4E 80 00 20 */ blr + +.global Think__9CFireFleaFfR13CStateManager +Think__9CFireFleaFfR13CStateManager: +/* 8014388C 001407EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80143890 001407F0 7C 08 02 A6 */ mflr r0 +/* 80143894 001407F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80143898 001407F8 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8014389C 001407FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801438A0 00140800 41 82 00 08 */ beq lbl_801438A8 +/* 801438A4 00140804 4B F3 62 75 */ bl Think__10CPatternedFfR13CStateManager +lbl_801438A8: +/* 801438A8 00140808 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801438AC 0014080C 7C 08 03 A6 */ mtlr r0 +/* 801438B0 00140810 38 21 00 10 */ addi r1, r1, 0x10 +/* 801438B4 00140814 4E 80 00 20 */ blr + +.global AcceptScriptMsg__9CFireFleaF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__9CFireFleaF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 801438B8 00140818 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801438BC 0014081C 7C 08 02 A6 */ mflr r0 +/* 801438C0 00140820 90 01 00 34 */ stw r0, 0x34(r1) +/* 801438C4 00140824 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801438C8 00140828 7C DF 33 78 */ mr r31, r6 +/* 801438CC 0014082C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 801438D0 00140830 7C 9E 23 78 */ mr r30, r4 +/* 801438D4 00140834 93 A1 00 24 */ stw r29, 0x24(r1) +/* 801438D8 00140838 7C 7D 1B 78 */ mr r29, r3 +/* 801438DC 0014083C A0 05 00 00 */ lhz r0, 0(r5) +/* 801438E0 00140840 38 A1 00 08 */ addi r5, r1, 8 +/* 801438E4 00140844 B0 01 00 08 */ sth r0, 8(r1) +/* 801438E8 00140848 4B F3 92 91 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 801438EC 0014084C 2C 1E 00 22 */ cmpwi r30, 0x22 +/* 801438F0 00140850 41 82 00 64 */ beq lbl_80143954 +/* 801438F4 00140854 40 80 00 10 */ bge lbl_80143904 +/* 801438F8 00140858 2C 1E 00 21 */ cmpwi r30, 0x21 +/* 801438FC 0014085C 40 80 00 14 */ bge lbl_80143910 +/* 80143900 00140860 48 00 00 54 */ b lbl_80143954 +lbl_80143904: +/* 80143904 00140864 2C 1E 00 24 */ cmpwi r30, 0x24 +/* 80143908 00140868 40 80 00 4C */ bge lbl_80143954 +/* 8014390C 0014086C 48 00 00 14 */ b lbl_80143920 +lbl_80143910: +/* 80143910 00140870 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80143914 00140874 7F E4 FB 78 */ mr r4, r31 +/* 80143918 00140878 4B FF 73 D9 */ bl Activate__15CBodyControllerFR13CStateManager +/* 8014391C 0014087C 48 00 00 38 */ b lbl_80143954 +lbl_80143920: +/* 80143920 00140880 80 BD 00 04 */ lwz r5, 4(r29) +/* 80143924 00140884 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 80143928 00140888 54 A3 18 38 */ slwi r3, r5, 3 +/* 8014392C 0014088C C0 02 9B E0 */ lfs f0, lbl_805AB900@sda21(r2) +/* 80143930 00140890 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80143934 00140894 38 03 00 04 */ addi r0, r3, 4 +/* 80143938 00140898 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8014393C 0014089C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80143940 001408A0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80143944 001408A4 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80143948 001408A8 80 03 10 BC */ lwz r0, 0x10bc(r3) +/* 8014394C 001408AC 90 1D 0D 8C */ stw r0, 0xd8c(r29) +/* 80143950 001408B0 D0 1D 0E 64 */ stfs f0, 0xe64(r29) +lbl_80143954: +/* 80143954 001408B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80143958 001408B8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8014395C 001408BC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80143960 001408C0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80143964 001408C4 7C 08 03 A6 */ mtlr r0 +/* 80143968 001408C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8014396C 001408CC 4E 80 00 20 */ blr + +.global Accept__9CFireFleaFR8IVisitor +Accept__9CFireFleaFR8IVisitor: +/* 80143970 001408D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80143974 001408D4 7C 08 02 A6 */ mflr r0 +/* 80143978 001408D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014397C 001408DC 7C 60 1B 78 */ mr r0, r3 +/* 80143980 001408E0 7C 83 23 78 */ mr r3, r4 +/* 80143984 001408E4 81 84 00 00 */ lwz r12, 0(r4) +/* 80143988 001408E8 7C 04 03 78 */ mr r4, r0 +/* 8014398C 001408EC 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80143990 001408F0 7D 89 03 A6 */ mtctr r12 +/* 80143994 001408F4 4E 80 04 21 */ bctrl +/* 80143998 001408F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8014399C 001408FC 7C 08 03 A6 */ mtlr r0 +/* 801439A0 00140900 38 21 00 10 */ addi r1, r1, 0x10 +/* 801439A4 00140904 4E 80 00 20 */ blr + +.global "__ct__9CFireFleaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfof" +"__ct__9CFireFleaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfof": +/* 801439A8 00140908 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 801439AC 0014090C 7C 08 02 A6 */ mflr r0 +/* 801439B0 00140910 90 01 00 64 */ stw r0, 0x64(r1) +/* 801439B4 00140914 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 801439B8 00140918 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 801439BC 0014091C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 801439C0 00140920 93 C1 00 48 */ stw r30, 0x48(r1) +/* 801439C4 00140924 93 A1 00 44 */ stw r29, 0x44(r1) +/* 801439C8 00140928 A0 04 00 00 */ lhz r0, 0(r4) +/* 801439CC 0014092C 7D 5D 53 78 */ mr r29, r10 +/* 801439D0 00140930 7C EB 3B 78 */ mr r11, r7 +/* 801439D4 00140934 7C CC 33 78 */ mr r12, r6 +/* 801439D8 00140938 B0 01 00 20 */ sth r0, 0x20(r1) +/* 801439DC 0014093C 7D 0A 43 78 */ mr r10, r8 +/* 801439E0 00140940 7C A6 2B 78 */ mr r6, r5 +/* 801439E4 00140944 38 80 00 01 */ li r4, 1 +/* 801439E8 00140948 93 A1 00 08 */ stw r29, 8(r1) +/* 801439EC 0014094C 38 E0 00 03 */ li r7, 3 +/* 801439F0 00140950 FF E0 08 90 */ fmr f31, f1 +/* 801439F4 00140954 38 00 00 00 */ li r0, 0 +/* 801439F8 00140958 90 81 00 0C */ stw r4, 0xc(r1) +/* 801439FC 0014095C 7C 7F 1B 78 */ mr r31, r3 +/* 80143A00 00140960 7D 88 63 78 */ mr r8, r12 +/* 80143A04 00140964 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80143A08 00140968 90 81 00 10 */ stw r4, 0x10(r1) +/* 80143A0C 0014096C 38 80 00 0A */ li r4, 0xa +/* 80143A10 00140970 90 E1 00 14 */ stw r7, 0x14(r1) +/* 80143A14 00140974 38 E0 00 00 */ li r7, 0 +/* 80143A18 00140978 91 21 00 18 */ stw r9, 0x18(r1) +/* 80143A1C 0014097C 7D 69 5B 78 */ mr r9, r11 +/* 80143A20 00140980 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80143A24 00140984 4B F3 9A 2D */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80143A28 00140988 3C 60 80 3E */ lis r3, lbl_803E1C88@ha +/* 80143A2C 0014098C C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) +/* 80143A30 00140990 38 03 1C 88 */ addi r0, r3, lbl_803E1C88@l +/* 80143A34 00140994 38 80 00 00 */ li r4, 0 +/* 80143A38 00140998 90 1F 00 00 */ stw r0, 0(r31) +/* 80143A3C 0014099C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80143A40 001409A0 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80143A44 001409A4 38 00 00 00 */ li r0, 0 +/* 80143A48 001409A8 D0 3F 05 68 */ stfs f1, 0x568(r31) +/* 80143A4C 001409AC FC 40 08 90 */ fmr f2, f1 +/* 80143A50 001409B0 38 7F 0D 8C */ addi r3, r31, 0xd8c +/* 80143A54 001409B4 38 A0 00 03 */ li r5, 3 +/* 80143A58 001409B8 D3 FF 05 6C */ stfs f31, 0x56c(r31) +/* 80143A5C 001409BC 90 1F 05 70 */ stw r0, 0x570(r31) +/* 80143A60 001409C0 C0 06 00 00 */ lfs f0, 0(r6) +/* 80143A64 001409C4 D0 1F 0D 74 */ stfs f0, 0xd74(r31) +/* 80143A68 001409C8 C0 06 00 04 */ lfs f0, 4(r6) +/* 80143A6C 001409CC D0 1F 0D 78 */ stfs f0, 0xd78(r31) +/* 80143A70 001409D0 C0 06 00 08 */ lfs f0, 8(r6) +/* 80143A74 001409D4 D0 1F 0D 7C */ stfs f0, 0xd7c(r31) +/* 80143A78 001409D8 C0 06 00 00 */ lfs f0, 0(r6) +/* 80143A7C 001409DC D0 1F 0D 80 */ stfs f0, 0xd80(r31) +/* 80143A80 001409E0 C0 06 00 04 */ lfs f0, 4(r6) +/* 80143A84 001409E4 D0 1F 0D 84 */ stfs f0, 0xd84(r31) +/* 80143A88 001409E8 C0 06 00 08 */ lfs f0, 8(r6) +/* 80143A8C 001409EC D0 1F 0D 88 */ stfs f0, 0xd88(r31) +/* 80143A90 001409F0 80 DD 01 0C */ lwz r6, 0x10c(r29) +/* 80143A94 001409F4 48 08 53 01 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 80143A98 001409F8 7F E3 FB 78 */ mr r3, r31 +/* 80143A9C 001409FC 4B F0 FE 21 */ bl GetMaterialFilter__6CActorCFv +/* 80143AA0 00140A00 80 AD 8B C0 */ lwz r5, lbl_805A7780@sda21(r13) +/* 80143AA4 00140A04 38 80 00 01 */ li r4, 1 +/* 80143AA8 00140A08 83 C3 00 08 */ lwz r30, 8(r3) +/* 80143AAC 00140A0C 83 A3 00 0C */ lwz r29, 0xc(r3) +/* 80143AB0 00140A10 38 60 00 00 */ li r3, 0 +/* 80143AB4 00140A14 48 24 64 41 */ bl __shl2i +/* 80143AB8 00140A18 7F DE 1B 78 */ or r30, r30, r3 +/* 80143ABC 00140A1C 7F E3 FB 78 */ mr r3, r31 +/* 80143AC0 00140A20 7F BD 23 78 */ or r29, r29, r4 +/* 80143AC4 00140A24 4B F0 FD F9 */ bl GetMaterialFilter__6CActorCFv +/* 80143AC8 00140A28 80 A3 00 00 */ lwz r5, 0(r3) +/* 80143ACC 00140A2C 38 00 00 03 */ li r0, 3 +/* 80143AD0 00140A30 80 C3 00 04 */ lwz r6, 4(r3) +/* 80143AD4 00140A34 7F E3 FB 78 */ mr r3, r31 +/* 80143AD8 00140A38 38 81 00 28 */ addi r4, r1, 0x28 +/* 80143ADC 00140A3C 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80143AE0 00140A40 90 A1 00 28 */ stw r5, 0x28(r1) +/* 80143AE4 00140A44 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80143AE8 00140A48 93 C1 00 30 */ stw r30, 0x30(r1) +/* 80143AEC 00140A4C 90 01 00 38 */ stw r0, 0x38(r1) +/* 80143AF0 00140A50 4B F0 FD B1 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80143AF4 00140A54 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 80143AF8 00140A58 7F E3 FB 78 */ mr r3, r31 +/* 80143AFC 00140A5C 80 0D A3 DC */ lwz r0, lbl_805A8F9C@sda21(r13) +/* 80143B00 00140A60 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80143B04 00140A64 90 04 02 1C */ stw r0, 0x21c(r4) +/* 80143B08 00140A68 80 8D A3 DC */ lwz r4, lbl_805A8F9C@sda21(r13) +/* 80143B0C 00140A6C 38 04 00 01 */ addi r0, r4, 1 +/* 80143B10 00140A70 90 0D A3 DC */ stw r0, lbl_805A8F9C@sda21(r13) +/* 80143B14 00140A74 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80143B18 00140A78 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80143B1C 00140A7C CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80143B20 00140A80 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80143B24 00140A84 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80143B28 00140A88 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80143B2C 00140A8C 7C 08 03 A6 */ mtlr r0 +/* 80143B30 00140A90 38 21 00 60 */ addi r1, r1, 0x60 +/* 80143B34 00140A94 4E 80 00 20 */ blr + +.global Accept__Q29CFireFlea18CDeathCameraEffectFR8IVisitor +Accept__Q29CFireFlea18CDeathCameraEffectFR8IVisitor: +/* 80143B38 00140A98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80143B3C 00140A9C 7C 08 02 A6 */ mflr r0 +/* 80143B40 00140AA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80143B44 00140AA4 7C 60 1B 78 */ mr r0, r3 +/* 80143B48 00140AA8 7C 83 23 78 */ mr r3, r4 +/* 80143B4C 00140AAC 81 84 00 00 */ lwz r12, 0(r4) +/* 80143B50 00140AB0 7C 04 03 78 */ mr r4, r0 +/* 80143B54 00140AB4 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 80143B58 00140AB8 7D 89 03 A6 */ mtctr r12 +/* 80143B5C 00140ABC 4E 80 04 21 */ bctrl +/* 80143B60 00140AC0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80143B64 00140AC4 7C 08 03 A6 */ mtlr r0 +/* 80143B68 00140AC8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80143B6C 00140ACC 4E 80 00 20 */ blr + +.global Think__Q29CFireFlea18CDeathCameraEffectFfR13CStateManager +Think__Q29CFireFlea18CDeathCameraEffectFfR13CStateManager: +/* 80143B70 00140AD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80143B74 00140AD4 7C 08 02 A6 */ mflr r0 +/* 80143B78 00140AD8 C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) +/* 80143B7C 00140ADC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80143B80 00140AE0 38 61 00 08 */ addi r3, r1, 8 +/* 80143B84 00140AE4 FC 40 08 90 */ fmr f2, f1 +/* 80143B88 00140AE8 FC 60 08 90 */ fmr f3, f1 +/* 80143B8C 00140AEC FC 80 08 90 */ fmr f4, f1 +/* 80143B90 00140AF0 48 21 F8 5D */ bl __ct__6CColorFffff +/* 80143B94 00140AF4 80 01 00 08 */ lwz r0, 8(r1) +/* 80143B98 00140AF8 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) +/* 80143B9C 00140AFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80143BA0 00140B00 7C 08 03 A6 */ mtlr r0 +/* 80143BA4 00140B04 38 21 00 10 */ addi r1, r1, 0x10 +/* 80143BA8 00140B08 4E 80 00 20 */ blr + +.global PreThink__Q29CFireFlea18CDeathCameraEffectFfR13CStateManager +PreThink__Q29CFireFlea18CDeathCameraEffectFfR13CStateManager: +/* 80143BAC 00140B0C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80143BB0 00140B10 7C 08 02 A6 */ mflr r0 +/* 80143BB4 00140B14 90 01 00 44 */ stw r0, 0x44(r1) +/* 80143BB8 00140B18 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80143BBC 00140B1C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80143BC0 00140B20 7C 9E 23 78 */ mr r30, r4 +/* 80143BC4 00140B24 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80143BC8 00140B28 7C 7D 1B 78 */ mr r29, r3 +/* 80143BCC 00140B2C 93 81 00 30 */ stw r28, 0x30(r1) +/* 80143BD0 00140B30 3B 9E 0C 64 */ addi r28, r30, 0xc64 +/* 80143BD4 00140B34 80 63 00 34 */ lwz r3, 0x34(r3) +/* 80143BD8 00140B38 80 DD 00 38 */ lwz r6, 0x38(r29) +/* 80143BDC 00140B3C 80 9D 00 44 */ lwz r4, 0x44(r29) +/* 80143BE0 00140B40 80 1D 00 3C */ lwz r0, 0x3c(r29) +/* 80143BE4 00140B44 7C A3 32 14 */ add r5, r3, r6 +/* 80143BE8 00140B48 7C 04 18 40 */ cmplw r4, r3 +/* 80143BEC 00140B4C 80 FD 00 40 */ lwz r7, 0x40(r29) +/* 80143BF0 00140B50 7D 05 02 14 */ add r8, r5, r0 +/* 80143BF4 00140B54 7F E8 3A 14 */ add r31, r8, r7 +/* 80143BF8 00140B58 41 80 00 84 */ blt lbl_80143C7C +/* 80143BFC 00140B5C 7C 04 28 40 */ cmplw r4, r5 +/* 80143C00 00140B60 41 81 00 7C */ bgt lbl_80143C7C +/* 80143C04 00140B64 3C 00 43 30 */ lis r0, 0x4330 +/* 80143C08 00140B68 7C 63 20 50 */ subf r3, r3, r4 +/* 80143C0C 00140B6C 90 61 00 24 */ stw r3, 0x24(r1) +/* 80143C10 00140B70 38 61 00 18 */ addi r3, r1, 0x18 +/* 80143C14 00140B74 C8 42 9B E8 */ lfd f2, lbl_805AB908@sda21(r2) +/* 80143C18 00140B78 38 8D A3 D4 */ addi r4, r13, lbl_805A8F94@sda21 +/* 80143C1C 00140B7C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80143C20 00140B80 38 AD A3 D0 */ addi r5, r13, lbl_805A8F90@sda21 +/* 80143C24 00140B84 C8 01 00 20 */ lfd f0, 0x20(r1) +/* 80143C28 00140B88 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80143C2C 00140B8C EC 20 10 28 */ fsubs f1, f0, f2 +/* 80143C30 00140B90 90 01 00 28 */ stw r0, 0x28(r1) +/* 80143C34 00140B94 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 80143C38 00140B98 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80143C3C 00140B9C EC 21 00 24 */ fdivs f1, f1, f0 +/* 80143C40 00140BA0 48 21 F6 6D */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80143C44 00140BA4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80143C48 00140BA8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80143C4C 00140BAC 38 8D A3 D8 */ addi r4, r13, lbl_805A8F98@sda21 +/* 80143C50 00140BB0 48 21 F4 61 */ bl Add__6CColorFRC6CColorRC6CColor +/* 80143C54 00140BB4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80143C58 00140BB8 7F 83 E3 78 */ mr r3, r28 +/* 80143C5C 00140BBC C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) +/* 80143C60 00140BC0 38 80 00 05 */ li r4, 5 +/* 80143C64 00140BC4 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) +/* 80143C68 00140BC8 38 A0 00 00 */ li r5, 0 +/* 80143C6C 00140BCC 38 CD A3 D8 */ addi r6, r13, lbl_805A8F98@sda21 +/* 80143C70 00140BD0 38 E0 FF FF */ li r7, -1 +/* 80143C74 00140BD4 4B FA 97 2D */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +/* 80143C78 00140BD8 48 00 00 B8 */ b lbl_80143D30 +lbl_80143C7C: +/* 80143C7C 00140BDC 7C 04 40 40 */ cmplw r4, r8 +/* 80143C80 00140BE0 41 80 00 84 */ blt lbl_80143D04 +/* 80143C84 00140BE4 7C 04 F8 40 */ cmplw r4, r31 +/* 80143C88 00140BE8 41 81 00 7C */ bgt lbl_80143D04 +/* 80143C8C 00140BEC 3C 00 43 30 */ lis r0, 0x4330 +/* 80143C90 00140BF0 7C 68 20 50 */ subf r3, r8, r4 +/* 80143C94 00140BF4 90 61 00 2C */ stw r3, 0x2c(r1) +/* 80143C98 00140BF8 38 61 00 10 */ addi r3, r1, 0x10 +/* 80143C9C 00140BFC C8 42 9B E8 */ lfd f2, lbl_805AB908@sda21(r2) +/* 80143CA0 00140C00 38 8D A3 D0 */ addi r4, r13, lbl_805A8F90@sda21 +/* 80143CA4 00140C04 90 01 00 28 */ stw r0, 0x28(r1) +/* 80143CA8 00140C08 38 AD A3 D4 */ addi r5, r13, lbl_805A8F94@sda21 +/* 80143CAC 00140C0C C8 01 00 28 */ lfd f0, 0x28(r1) +/* 80143CB0 00140C10 90 E1 00 24 */ stw r7, 0x24(r1) +/* 80143CB4 00140C14 EC 20 10 28 */ fsubs f1, f0, f2 +/* 80143CB8 00140C18 90 01 00 20 */ stw r0, 0x20(r1) +/* 80143CBC 00140C1C C8 01 00 20 */ lfd f0, 0x20(r1) +/* 80143CC0 00140C20 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80143CC4 00140C24 EC 21 00 24 */ fdivs f1, f1, f0 +/* 80143CC8 00140C28 48 21 F5 E5 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80143CCC 00140C2C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80143CD0 00140C30 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80143CD4 00140C34 38 8D A3 D8 */ addi r4, r13, lbl_805A8F98@sda21 +/* 80143CD8 00140C38 48 21 F3 D9 */ bl Add__6CColorFRC6CColorRC6CColor +/* 80143CDC 00140C3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80143CE0 00140C40 7F 83 E3 78 */ mr r3, r28 +/* 80143CE4 00140C44 C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) +/* 80143CE8 00140C48 38 80 00 05 */ li r4, 5 +/* 80143CEC 00140C4C 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) +/* 80143CF0 00140C50 38 A0 00 00 */ li r5, 0 +/* 80143CF4 00140C54 38 CD A3 D8 */ addi r6, r13, lbl_805A8F98@sda21 +/* 80143CF8 00140C58 38 E0 FF FF */ li r7, -1 +/* 80143CFC 00140C5C 4B FA 96 A5 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +/* 80143D00 00140C60 48 00 00 30 */ b lbl_80143D30 +lbl_80143D04: +/* 80143D04 00140C64 7C 04 28 40 */ cmplw r4, r5 +/* 80143D08 00140C68 41 80 00 28 */ blt lbl_80143D30 +/* 80143D0C 00140C6C 80 0D A3 D0 */ lwz r0, lbl_805A8F90@sda21(r13) +/* 80143D10 00140C70 7F 83 E3 78 */ mr r3, r28 +/* 80143D14 00140C74 C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) +/* 80143D18 00140C78 38 80 00 05 */ li r4, 5 +/* 80143D1C 00140C7C 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) +/* 80143D20 00140C80 38 A0 00 00 */ li r5, 0 +/* 80143D24 00140C84 38 CD A3 D8 */ addi r6, r13, lbl_805A8F98@sda21 +/* 80143D28 00140C88 38 E0 FF FF */ li r7, -1 +/* 80143D2C 00140C8C 4B FA 96 75 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +lbl_80143D30: +/* 80143D30 00140C90 80 7D 00 44 */ lwz r3, 0x44(r29) +/* 80143D34 00140C94 7C 03 F8 40 */ cmplw r3, r31 +/* 80143D38 00140C98 40 82 00 34 */ bne lbl_80143D6C +/* 80143D3C 00140C9C C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) +/* 80143D40 00140CA0 7F 83 E3 78 */ mr r3, r28 +/* 80143D44 00140CA4 4B FA 96 25 */ bl DisableFilter__17CCameraFilterPassFf +/* 80143D48 00140CA8 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80143D4C 00140CAC 7F C3 F3 78 */ mr r3, r30 +/* 80143D50 00140CB0 38 81 00 0C */ addi r4, r1, 0xc +/* 80143D54 00140CB4 B0 01 00 08 */ sth r0, 8(r1) +/* 80143D58 00140CB8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80143D5C 00140CBC 4B F0 85 11 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 80143D60 00140CC0 38 00 00 00 */ li r0, 0 +/* 80143D64 00140CC4 90 1D 00 44 */ stw r0, 0x44(r29) +/* 80143D68 00140CC8 48 00 00 0C */ b lbl_80143D74 +lbl_80143D6C: +/* 80143D6C 00140CCC 38 03 00 01 */ addi r0, r3, 1 +/* 80143D70 00140CD0 90 1D 00 44 */ stw r0, 0x44(r29) +lbl_80143D74: +/* 80143D74 00140CD4 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80143D78 00140CD8 7F C4 F3 78 */ mr r4, r30 +/* 80143D7C 00140CDC 80 63 00 00 */ lwz r3, 0(r3) +/* 80143D80 00140CE0 4B F4 D7 D9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80143D84 00140CE4 2C 03 00 03 */ cmpwi r3, 3 +/* 80143D88 00140CE8 41 82 00 10 */ beq lbl_80143D98 +/* 80143D8C 00140CEC C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) +/* 80143D90 00140CF0 7F 83 E3 78 */ mr r3, r28 +/* 80143D94 00140CF4 4B FA 95 D5 */ bl DisableFilter__17CCameraFilterPassFf +lbl_80143D98: +/* 80143D98 00140CF8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80143D9C 00140CFC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80143DA0 00140D00 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80143DA4 00140D04 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80143DA8 00140D08 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80143DAC 00140D0C 7C 08 03 A6 */ mtlr r0 +/* 80143DB0 00140D10 38 21 00 40 */ addi r1, r1, 0x40 +/* 80143DB4 00140D14 4E 80 00 20 */ blr + +.global "__ct__Q29CFireFlea18CDeathCameraEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"__ct__Q29CFireFlea18CDeathCameraEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 80143DB8 00140D18 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80143DBC 00140D1C 7C 08 02 A6 */ mflr r0 +/* 80143DC0 00140D20 3C E0 80 57 */ lis r7, lbl_8056D410@ha +/* 80143DC4 00140D24 90 01 00 54 */ stw r0, 0x54(r1) +/* 80143DC8 00140D28 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80143DCC 00140D2C 7C 7F 1B 78 */ mr r31, r3 +/* 80143DD0 00140D30 38 61 00 24 */ addi r3, r1, 0x24 +/* 80143DD4 00140D34 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80143DD8 00140D38 7C DE 33 78 */ mr r30, r6 +/* 80143DDC 00140D3C 38 C1 00 1C */ addi r6, r1, 0x1c +/* 80143DE0 00140D40 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80143DE4 00140D44 7C 9D 23 78 */ mr r29, r4 +/* 80143DE8 00140D48 38 81 00 20 */ addi r4, r1, 0x20 +/* 80143DEC 00140D4C 80 05 00 00 */ lwz r0, 0(r5) +/* 80143DF0 00140D50 38 A7 D4 10 */ addi r5, r7, lbl_8056D410@l +/* 80143DF4 00140D54 81 0D A3 88 */ lwz r8, lbl_805A8F48@sda21(r13) +/* 80143DF8 00140D58 90 01 00 20 */ stw r0, 0x20(r1) +/* 80143DFC 00140D5C 91 01 00 1C */ stw r8, 0x1c(r1) +/* 80143E00 00140D60 4B F0 D6 85 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 80143E04 00140D64 A0 1D 00 00 */ lhz r0, 0(r29) +/* 80143E08 00140D68 7F E3 FB 78 */ mr r3, r31 +/* 80143E0C 00140D6C 7F C7 F3 78 */ mr r7, r30 +/* 80143E10 00140D70 38 81 00 08 */ addi r4, r1, 8 +/* 80143E14 00140D74 B0 01 00 08 */ sth r0, 8(r1) +/* 80143E18 00140D78 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80143E1C 00140D7C 38 C0 00 01 */ li r6, 1 +/* 80143E20 00140D80 4B F0 D5 05 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80143E24 00140D84 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80143E28 00140D88 80 61 00 34 */ lwz r3, 0x34(r1) +/* 80143E2C 00140D8C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80143E30 00140D90 90 61 00 10 */ stw r3, 0x10(r1) +/* 80143E34 00140D94 7C 64 1B 78 */ mr r4, r3 +/* 80143E38 00140D98 7C 03 02 14 */ add r0, r3, r0 +/* 80143E3C 00140D9C 90 61 00 0C */ stw r3, 0xc(r1) +/* 80143E40 00140DA0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80143E44 00140DA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80143E48 00140DA8 48 00 00 08 */ b lbl_80143E50 +lbl_80143E4C: +/* 80143E4C 00140DAC 38 84 00 0C */ addi r4, r4, 0xc +lbl_80143E50: +/* 80143E50 00140DB0 7C 04 00 40 */ cmplw r4, r0 +/* 80143E54 00140DB4 40 82 FF F8 */ bne lbl_80143E4C +/* 80143E58 00140DB8 28 03 00 00 */ cmplwi r3, 0 +/* 80143E5C 00140DBC 41 82 00 08 */ beq lbl_80143E64 +/* 80143E60 00140DC0 48 1D 1A D1 */ bl Free__7CMemoryFPCv +lbl_80143E64: +/* 80143E64 00140DC4 3C 80 80 3E */ lis r4, lbl_803E1F54@ha +/* 80143E68 00140DC8 38 60 00 0D */ li r3, 0xd +/* 80143E6C 00140DCC 38 04 1F 54 */ addi r0, r4, lbl_803E1F54@l +/* 80143E70 00140DD0 38 C0 00 05 */ li r6, 5 +/* 80143E74 00140DD4 90 1F 00 00 */ stw r0, 0(r31) +/* 80143E78 00140DD8 38 A0 00 3C */ li r5, 0x3c +/* 80143E7C 00140DDC 38 80 00 BE */ li r4, 0xbe +/* 80143E80 00140DE0 38 00 00 00 */ li r0, 0 +/* 80143E84 00140DE4 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80143E88 00140DE8 7F E3 FB 78 */ mr r3, r31 +/* 80143E8C 00140DEC 90 DF 00 38 */ stw r6, 0x38(r31) +/* 80143E90 00140DF0 90 BF 00 3C */ stw r5, 0x3c(r31) +/* 80143E94 00140DF4 90 9F 00 40 */ stw r4, 0x40(r31) +/* 80143E98 00140DF8 90 1F 00 44 */ stw r0, 0x44(r31) +/* 80143E9C 00140DFC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80143EA0 00140E00 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80143EA4 00140E04 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80143EA8 00140E08 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80143EAC 00140E0C 7C 08 03 A6 */ mtlr r0 +/* 80143EB0 00140E10 38 21 00 50 */ addi r1, r1, 0x50 +/* 80143EB4 00140E14 4E 80 00 20 */ blr + +.global __dt__Q29CFireFlea18CDeathCameraEffectFv +__dt__Q29CFireFlea18CDeathCameraEffectFv: +/* 80143EB8 00140E18 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80143EBC 00140E1C 7C 08 02 A6 */ mflr r0 +/* 80143EC0 00140E20 90 01 00 14 */ stw r0, 0x14(r1) +/* 80143EC4 00140E24 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80143EC8 00140E28 7C 9F 23 78 */ mr r31, r4 +/* 80143ECC 00140E2C 93 C1 00 08 */ stw r30, 8(r1) +/* 80143ED0 00140E30 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80143ED4 00140E34 41 82 00 28 */ beq lbl_80143EFC +/* 80143ED8 00140E38 3C A0 80 3E */ lis r5, lbl_803E1F54@ha +/* 80143EDC 00140E3C 38 80 00 00 */ li r4, 0 +/* 80143EE0 00140E40 38 05 1F 54 */ addi r0, r5, lbl_803E1F54@l +/* 80143EE4 00140E44 90 1E 00 00 */ stw r0, 0(r30) +/* 80143EE8 00140E48 4B F0 D3 8D */ bl __dt__7CEntityFv +/* 80143EEC 00140E4C 7F E0 07 35 */ extsh. r0, r31 +/* 80143EF0 00140E50 40 81 00 0C */ ble lbl_80143EFC +/* 80143EF4 00140E54 7F C3 F3 78 */ mr r3, r30 +/* 80143EF8 00140E58 48 1D 1A 39 */ bl Free__7CMemoryFPCv +lbl_80143EFC: +/* 80143EFC 00140E5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80143F00 00140E60 7F C3 F3 78 */ mr r3, r30 +/* 80143F04 00140E64 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80143F08 00140E68 83 C1 00 08 */ lwz r30, 8(r1) +/* 80143F0C 00140E6C 7C 08 03 A6 */ mtlr r0 +/* 80143F10 00140E70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80143F14 00140E74 4E 80 00 20 */ blr + +.global __sinit_CFireFlea_cpp +__sinit_CFireFlea_cpp: +/* 80143F18 00140E78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80143F1C 00140E7C 7C 08 02 A6 */ mflr r0 +/* 80143F20 00140E80 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) +/* 80143F24 00140E84 38 6D A3 D0 */ addi r3, r13, lbl_805A8F90@sda21 +/* 80143F28 00140E88 90 01 00 14 */ stw r0, 0x14(r1) +/* 80143F2C 00140E8C FC 40 08 90 */ fmr f2, f1 +/* 80143F30 00140E90 C0 62 9B C0 */ lfs f3, lbl_805AB8E0@sda21(r2) +/* 80143F34 00140E94 FC 80 08 90 */ fmr f4, f1 +/* 80143F38 00140E98 48 21 F4 B5 */ bl __ct__6CColorFffff +/* 80143F3C 00140E9C C0 42 9B D0 */ lfs f2, lbl_805AB8F0@sda21(r2) +/* 80143F40 00140EA0 38 6D A3 D4 */ addi r3, r13, lbl_805A8F94@sda21 +/* 80143F44 00140EA4 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) +/* 80143F48 00140EA8 FC 60 10 90 */ fmr f3, f2 +/* 80143F4C 00140EAC FC 80 10 90 */ fmr f4, f2 +/* 80143F50 00140EB0 48 21 F4 9D */ bl __ct__6CColorFffff +/* 80143F54 00140EB4 C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) +/* 80143F58 00140EB8 38 61 00 08 */ addi r3, r1, 8 +/* 80143F5C 00140EBC FC 40 08 90 */ fmr f2, f1 +/* 80143F60 00140EC0 FC 60 08 90 */ fmr f3, f1 +/* 80143F64 00140EC4 FC 80 08 90 */ fmr f4, f1 +/* 80143F68 00140EC8 48 21 F4 85 */ bl __ct__6CColorFffff +/* 80143F6C 00140ECC 80 01 00 08 */ lwz r0, 8(r1) +/* 80143F70 00140ED0 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) +/* 80143F74 00140ED4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80143F78 00140ED8 7C 08 03 A6 */ mtlr r0 +/* 80143F7C 00140EDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80143F80 00140EE0 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CFlickerBat.s b/asm/Kyoto_CWD/Enemies/CFlickerBat.s new file mode 100644 index 00000000..bb7a9753 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CFlickerBat.s @@ -0,0 +1,1240 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Attack__11CFlickerBatFR13CStateManager9EStateMsgf +Attack__11CFlickerBatFR13CStateManager9EStateMsgf: +/* 801302F4 0012D254 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 801302F8 0012D258 7C 08 02 A6 */ mflr r0 +/* 801302FC 0012D25C 2C 05 00 01 */ cmpwi r5, 1 +/* 80130300 0012D260 90 01 00 54 */ stw r0, 0x54(r1) +/* 80130304 0012D264 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80130308 0012D268 7C 7F 1B 78 */ mr r31, r3 +/* 8013030C 0012D26C 7C 83 23 78 */ mr r3, r4 +/* 80130310 0012D270 41 82 00 10 */ beq lbl_80130320 +/* 80130314 0012D274 40 80 00 B4 */ bge lbl_801303C8 +/* 80130318 0012D278 48 00 00 B0 */ b lbl_801303C8 +/* 8013031C 0012D27C 48 00 00 AC */ b lbl_801303C8 +lbl_80130320: +/* 80130320 0012D280 80 83 08 4C */ lwz r4, 0x84c(r3) +/* 80130324 0012D284 7C 65 1B 78 */ mr r5, r3 +/* 80130328 0012D288 38 61 00 14 */ addi r3, r1, 0x14 +/* 8013032C 0012D28C C0 22 99 60 */ lfs f1, lbl_805AB680@sda21(r2) +/* 80130330 0012D290 81 84 00 00 */ lwz r12, 0(r4) +/* 80130334 0012D294 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80130338 0012D298 7D 89 03 A6 */ mtctr r12 +/* 8013033C 0012D29C 4E 80 04 21 */ bctrl +/* 80130340 0012D2A0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80130344 0012D2A4 38 61 00 08 */ addi r3, r1, 8 +/* 80130348 0012D2A8 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 8013034C 0012D2AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80130350 0012D2B0 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80130354 0012D2B4 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80130358 0012D2B8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8013035C 0012D2BC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80130360 0012D2C0 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80130364 0012D2C4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80130368 0012D2C8 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8013036C 0012D2CC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80130370 0012D2D0 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80130374 0012D2D4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80130378 0012D2D8 48 1E 44 D9 */ bl AsNormalized__9CVector3fCFv +/* 8013037C 0012D2DC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80130380 0012D2E0 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 80130384 0012D2E4 C0 C1 00 08 */ lfs f6, 8(r1) +/* 80130388 0012D2E8 38 81 00 2C */ addi r4, r1, 0x2c +/* 8013038C 0012D2EC C0 A1 00 0C */ lfs f5, 0xc(r1) +/* 80130390 0012D2F0 C0 81 00 10 */ lfs f4, 0x10(r1) +/* 80130394 0012D2F4 C0 43 00 04 */ lfs f2, 4(r3) +/* 80130398 0012D2F8 C0 23 00 08 */ lfs f1, 8(r3) +/* 8013039C 0012D2FC C0 02 99 64 */ lfs f0, lbl_805AB684@sda21(r2) +/* 801303A0 0012D300 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 801303A4 0012D304 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 801303A8 0012D308 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 801303AC 0012D30C D0 61 00 38 */ stfs f3, 0x38(r1) +/* 801303B0 0012D310 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 801303B4 0012D314 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 801303B8 0012D318 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 801303BC 0012D31C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 801303C0 0012D320 38 63 00 04 */ addi r3, r3, 4 +/* 801303C4 0012D324 48 00 13 55 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_801303C8: +/* 801303C8 0012D328 80 01 00 54 */ lwz r0, 0x54(r1) +/* 801303CC 0012D32C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 801303D0 0012D330 7C 08 03 A6 */ mtlr r0 +/* 801303D4 0012D334 38 21 00 50 */ addi r1, r1, 0x50 +/* 801303D8 0012D338 4E 80 00 20 */ blr + +.global InPosition__11CFlickerBatFR13CStateManagerf +InPosition__11CFlickerBatFR13CStateManagerf: +/* 801303DC 0012D33C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801303E0 0012D340 7C 08 02 A6 */ mflr r0 +/* 801303E4 0012D344 7C 85 23 78 */ mr r5, r4 +/* 801303E8 0012D348 C0 22 99 60 */ lfs f1, lbl_805AB680@sda21(r2) +/* 801303EC 0012D34C 90 01 00 34 */ stw r0, 0x34(r1) +/* 801303F0 0012D350 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801303F4 0012D354 7C 7F 1B 78 */ mr r31, r3 +/* 801303F8 0012D358 38 61 00 14 */ addi r3, r1, 0x14 +/* 801303FC 0012D35C 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80130400 0012D360 81 84 00 00 */ lwz r12, 0(r4) +/* 80130404 0012D364 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80130408 0012D368 7D 89 03 A6 */ mtctr r12 +/* 8013040C 0012D36C 4E 80 04 21 */ bctrl +/* 80130410 0012D370 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80130414 0012D374 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80130418 0012D378 C0 DF 00 48 */ lfs f6, 0x48(r31) +/* 8013041C 0012D37C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80130420 0012D380 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80130424 0012D384 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80130428 0012D388 C0 5F 00 38 */ lfs f2, 0x38(r31) +/* 8013042C 0012D38C EC A1 00 28 */ fsubs f5, f1, f0 +/* 80130430 0012D390 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 80130434 0012D394 EC 06 01 32 */ fmuls f0, f6, f4 +/* 80130438 0012D398 C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 8013043C 0012D39C C0 9F 00 58 */ lfs f4, 0x58(r31) +/* 80130440 0012D3A0 EC 63 08 28 */ fsubs f3, f3, f1 +/* 80130444 0012D3A4 EC 22 01 7A */ fmadds f1, f2, f5, f0 +/* 80130448 0012D3A8 C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) +/* 8013044C 0012D3AC D0 41 00 08 */ stfs f2, 8(r1) +/* 80130450 0012D3B0 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80130454 0012D3B4 D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 80130458 0012D3B8 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8013045C 0012D3BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80130460 0012D3C0 7C 00 00 26 */ mfcr r0 +/* 80130464 0012D3C4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80130468 0012D3C8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8013046C 0012D3CC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80130470 0012D3D0 7C 08 03 A6 */ mtlr r0 +/* 80130474 0012D3D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80130478 0012D3D8 4E 80 00 20 */ blr + +.global Render__11CFlickerBatCFRC13CStateManager +Render__11CFlickerBatCFRC13CStateManager: +/* 8013047C 0012D3DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80130480 0012D3E0 7C 08 02 A6 */ mflr r0 +/* 80130484 0012D3E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80130488 0012D3E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8013048C 0012D3EC 7C 9F 23 78 */ mr r31, r4 +/* 80130490 0012D3F0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80130494 0012D3F4 7C 7E 1B 78 */ mr r30, r3 +/* 80130498 0012D3F8 88 63 05 80 */ lbz r3, 0x580(r3) +/* 8013049C 0012D3FC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 801304A0 0012D400 40 82 00 B0 */ bne lbl_80130550 +/* 801304A4 0012D404 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 801304A8 0012D408 41 82 00 A8 */ beq lbl_80130550 +/* 801304AC 0012D40C 80 1E 05 74 */ lwz r0, 0x574(r30) +/* 801304B0 0012D410 2C 00 00 02 */ cmpwi r0, 2 +/* 801304B4 0012D414 41 82 00 0C */ beq lbl_801304C0 +/* 801304B8 0012D418 2C 00 00 03 */ cmpwi r0, 3 +/* 801304BC 0012D41C 40 82 00 94 */ bne lbl_80130550 +lbl_801304C0: +/* 801304C0 0012D420 2C 00 00 03 */ cmpwi r0, 3 +/* 801304C4 0012D424 C0 22 99 60 */ lfs f1, lbl_805AB680@sda21(r2) +/* 801304C8 0012D428 41 82 00 2C */ beq lbl_801304F4 +/* 801304CC 0012D42C 40 80 00 34 */ bge lbl_80130500 +/* 801304D0 0012D430 2C 00 00 02 */ cmpwi r0, 2 +/* 801304D4 0012D434 40 80 00 08 */ bge lbl_801304DC +/* 801304D8 0012D438 48 00 00 28 */ b lbl_80130500 +lbl_801304DC: +/* 801304DC 0012D43C C0 3E 05 78 */ lfs f1, 0x578(r30) +/* 801304E0 0012D440 C0 02 99 6C */ lfs f0, lbl_805AB68C@sda21(r2) +/* 801304E4 0012D444 C0 42 99 68 */ lfs f2, lbl_805AB688@sda21(r2) +/* 801304E8 0012D448 EC 01 00 28 */ fsubs f0, f1, f0 +/* 801304EC 0012D44C EC 22 00 32 */ fmuls f1, f2, f0 +/* 801304F0 0012D450 48 00 00 10 */ b lbl_80130500 +lbl_801304F4: +/* 801304F4 0012D454 C0 22 99 68 */ lfs f1, lbl_805AB688@sda21(r2) +/* 801304F8 0012D458 C0 1E 05 78 */ lfs f0, 0x578(r30) +/* 801304FC 0012D45C EC 21 00 32 */ fmuls f1, f1, f0 +lbl_80130500: +/* 80130500 0012D460 C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) +/* 80130504 0012D464 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80130508 0012D468 40 81 00 48 */ ble lbl_80130550 +/* 8013050C 0012D46C C0 02 99 64 */ lfs f0, lbl_805AB684@sda21(r2) +/* 80130510 0012D470 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80130514 0012D474 40 80 00 3C */ bge lbl_80130550 +/* 80130518 0012D478 C0 02 99 74 */ lfs f0, lbl_805AB694@sda21(r2) +/* 8013051C 0012D47C EC 20 00 72 */ fmuls f1, f0, f1 +/* 80130520 0012D480 48 1E 48 D1 */ bl FastSinR__5CMathFf +/* 80130524 0012D484 C0 02 99 70 */ lfs f0, lbl_805AB690@sda21(r2) +/* 80130528 0012D488 7F E3 FB 78 */ mr r3, r31 +/* 8013052C 0012D48C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80130530 0012D490 38 81 00 14 */ addi r4, r1, 0x14 +/* 80130534 0012D494 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80130538 0012D498 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8013053C 0012D49C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80130540 0012D4A0 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80130544 0012D4A4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80130548 0012D4A8 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8013054C 0012D4AC 4B F1 4E B1 */ bl DrawSpaceWarp__13CStateManagerCFRC9CVector3ff +lbl_80130550: +/* 80130550 0012D4B0 88 1E 05 80 */ lbz r0, 0x580(r30) +/* 80130554 0012D4B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80130558 0012D4B8 41 82 00 40 */ beq lbl_80130598 +/* 8013055C 0012D4BC 80 1E 00 04 */ lwz r0, 4(r30) +/* 80130560 0012D4C0 7F E3 FB 78 */ mr r3, r31 +/* 80130564 0012D4C4 38 81 00 0C */ addi r4, r1, 0xc +/* 80130568 0012D4C8 90 01 00 10 */ stw r0, 0x10(r1) +/* 8013056C 0012D4CC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80130570 0012D4D0 4B F1 67 A9 */ bl sub_80046d18 +/* 80130574 0012D4D4 7F C3 F3 78 */ mr r3, r30 +/* 80130578 0012D4D8 7F E4 FB 78 */ mr r4, r31 +/* 8013057C 0012D4DC 4B F4 7A B1 */ bl Render__10CPatternedCFRC13CStateManager +/* 80130580 0012D4E0 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80130584 0012D4E4 7F E3 FB 78 */ mr r3, r31 +/* 80130588 0012D4E8 38 81 00 08 */ addi r4, r1, 8 +/* 8013058C 0012D4EC 90 01 00 08 */ stw r0, 8(r1) +/* 80130590 0012D4F0 4B F1 67 F1 */ bl SetupFogForArea__13CStateManagerCF7TAreaId +/* 80130594 0012D4F4 48 00 00 10 */ b lbl_801305A4 +lbl_80130598: +/* 80130598 0012D4F8 7F C3 F3 78 */ mr r3, r30 +/* 8013059C 0012D4FC 7F E4 FB 78 */ mr r4, r31 +/* 801305A0 0012D500 4B F4 7A 8D */ bl Render__10CPatternedCFRC13CStateManager +lbl_801305A4: +/* 801305A4 0012D504 80 01 00 34 */ lwz r0, 0x34(r1) +/* 801305A8 0012D508 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 801305AC 0012D50C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 801305B0 0012D510 7C 08 03 A6 */ mtlr r0 +/* 801305B4 0012D514 38 21 00 30 */ addi r1, r1, 0x30 +/* 801305B8 0012D518 4E 80 00 20 */ blr + +.global Patrol__11CFlickerBatFR13CStateManager9EStateMsgf +Patrol__11CFlickerBatFR13CStateManager9EStateMsgf: +/* 801305BC 0012D51C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801305C0 0012D520 7C 08 02 A6 */ mflr r0 +/* 801305C4 0012D524 90 01 00 34 */ stw r0, 0x34(r1) +/* 801305C8 0012D528 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801305CC 0012D52C 7C 7F 1B 78 */ mr r31, r3 +/* 801305D0 0012D530 48 0C 68 A5 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 801305D4 0012D534 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) +/* 801305D8 0012D538 38 61 00 14 */ addi r3, r1, 0x14 +/* 801305DC 0012D53C C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 801305E0 0012D540 38 81 00 08 */ addi r4, r1, 8 +/* 801305E4 0012D544 C0 7F 02 E8 */ lfs f3, 0x2e8(r31) +/* 801305E8 0012D548 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 801305EC 0012D54C EC 81 00 28 */ fsubs f4, f1, f0 +/* 801305F0 0012D550 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) +/* 801305F4 0012D554 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 801305F8 0012D558 EC 43 10 28 */ fsubs f2, f3, f2 +/* 801305FC 0012D55C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80130600 0012D560 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80130604 0012D564 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80130608 0012D568 D0 01 00 08 */ stfs f0, 8(r1) +/* 8013060C 0012D56C 48 1E 42 45 */ bl AsNormalized__9CVector3fCFv +/* 80130610 0012D570 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80130614 0012D574 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80130618 0012D578 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8013061C 0012D57C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80130620 0012D580 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80130624 0012D584 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80130628 0012D588 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8013062C 0012D58C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80130630 0012D590 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80130634 0012D594 7C 08 03 A6 */ mtlr r0 +/* 80130638 0012D598 38 21 00 30 */ addi r1, r1, 0x30 +/* 8013063C 0012D59C 4E 80 00 20 */ blr + +.global Shuffle__11CFlickerBatFR13CStateManager9EStateMsgf +Shuffle__11CFlickerBatFR13CStateManager9EStateMsgf: +/* 80130640 0012D5A0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80130644 0012D5A4 7C 08 02 A6 */ mflr r0 +/* 80130648 0012D5A8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8013064C 0012D5AC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80130650 0012D5B0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80130654 0012D5B4 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80130658 0012D5B8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8013065C 0012D5BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80130660 0012D5C0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80130664 0012D5C4 2C 05 00 01 */ cmpwi r5, 1 +/* 80130668 0012D5C8 7C 7E 1B 78 */ mr r30, r3 +/* 8013066C 0012D5CC 41 82 00 8C */ beq lbl_801306F8 +/* 80130670 0012D5D0 40 80 00 8C */ bge lbl_801306FC +/* 80130674 0012D5D4 2C 05 00 00 */ cmpwi r5, 0 +/* 80130678 0012D5D8 40 80 00 0C */ bge lbl_80130684 +/* 8013067C 0012D5DC 48 00 00 80 */ b lbl_801306FC +/* 80130680 0012D5E0 48 00 00 7C */ b lbl_801306FC +lbl_80130684: +/* 80130684 0012D5E4 83 E4 09 00 */ lwz r31, 0x900(r4) +/* 80130688 0012D5E8 7F E3 FB 78 */ mr r3, r31 +/* 8013068C 0012D5EC 48 1E 1E 51 */ bl Float__9CRandom16Fv +/* 80130690 0012D5F0 C0 42 99 78 */ lfs f2, lbl_805AB698@sda21(r2) +/* 80130694 0012D5F4 7F E3 FB 78 */ mr r3, r31 +/* 80130698 0012D5F8 C0 02 99 7C */ lfs f0, lbl_805AB69C@sda21(r2) +/* 8013069C 0012D5FC EF C2 00 78 */ fmsubs f30, f2, f1, f0 +/* 801306A0 0012D600 48 1E 1E 3D */ bl Float__9CRandom16Fv +/* 801306A4 0012D604 C0 42 99 78 */ lfs f2, lbl_805AB698@sda21(r2) +/* 801306A8 0012D608 7F E3 FB 78 */ mr r3, r31 +/* 801306AC 0012D60C C0 02 99 7C */ lfs f0, lbl_805AB69C@sda21(r2) +/* 801306B0 0012D610 EF E2 00 78 */ fmsubs f31, f2, f1, f0 +/* 801306B4 0012D614 48 1E 1E 29 */ bl Float__9CRandom16Fv +/* 801306B8 0012D618 C0 82 99 78 */ lfs f4, lbl_805AB698@sda21(r2) +/* 801306BC 0012D61C 7F C3 F3 78 */ mr r3, r30 +/* 801306C0 0012D620 C0 02 99 7C */ lfs f0, lbl_805AB69C@sda21(r2) +/* 801306C4 0012D624 38 81 00 08 */ addi r4, r1, 8 +/* 801306C8 0012D628 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 801306CC 0012D62C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 801306D0 0012D630 EC 84 00 78 */ fmsubs f4, f4, f1, f0 +/* 801306D4 0012D634 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 801306D8 0012D638 EC 63 F8 2A */ fadds f3, f3, f31 +/* 801306DC 0012D63C EC 22 F0 2A */ fadds f1, f2, f30 +/* 801306E0 0012D640 EC 00 20 2A */ fadds f0, f0, f4 +/* 801306E4 0012D644 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 801306E8 0012D648 D0 01 00 08 */ stfs f0, 8(r1) +/* 801306EC 0012D64C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 801306F0 0012D650 4B F4 C4 6D */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 801306F4 0012D654 48 00 00 08 */ b lbl_801306FC +lbl_801306F8: +/* 801306F8 0012D658 48 0C 4F 59 */ bl ApproachDest__10CPatternedFR13CStateManager +lbl_801306FC: +/* 801306FC 0012D65C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 80130700 0012D660 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80130704 0012D664 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 80130708 0012D668 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8013070C 0012D66C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80130710 0012D670 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80130714 0012D674 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80130718 0012D678 7C 08 03 A6 */ mtlr r0 +/* 8013071C 0012D67C 38 21 00 40 */ addi r1, r1, 0x40 +/* 80130720 0012D680 4E 80 00 20 */ blr + +.global Taunt__11CFlickerBatFR13CStateManager9EStateMsgf +Taunt__11CFlickerBatFR13CStateManager9EStateMsgf: +/* 80130724 0012D684 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80130728 0012D688 7C 08 02 A6 */ mflr r0 +/* 8013072C 0012D68C 2C 05 00 00 */ cmpwi r5, 0 +/* 80130730 0012D690 90 01 00 14 */ stw r0, 0x14(r1) +/* 80130734 0012D694 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80130738 0012D698 7C 7F 1B 78 */ mr r31, r3 +/* 8013073C 0012D69C 41 82 00 0C */ beq lbl_80130748 +/* 80130740 0012D6A0 41 80 00 1C */ blt lbl_8013075C +/* 80130744 0012D6A4 48 00 00 18 */ b lbl_8013075C +lbl_80130748: +/* 80130748 0012D6A8 48 00 00 61 */ bl NotifyNeighbors__11CFlickerBatFR13CStateManager +/* 8013074C 0012D6AC 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 80130750 0012D6B0 38 60 00 00 */ li r3, 0 +/* 80130754 0012D6B4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80130758 0012D6B8 98 1F 04 00 */ stb r0, 0x400(r31) +lbl_8013075C: +/* 8013075C 0012D6BC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80130760 0012D6C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80130764 0012D6C4 7C 08 03 A6 */ mtlr r0 +/* 80130768 0012D6C8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013076C 0012D6CC 4E 80 00 20 */ blr + +.global HearShot__11CFlickerBatFR13CStateManagerf +HearShot__11CFlickerBatFR13CStateManagerf: +/* 80130770 0012D6D0 88 83 05 80 */ lbz r4, 0x580(r3) +/* 80130774 0012D6D4 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 80130778 0012D6D8 41 82 00 18 */ beq lbl_80130790 +/* 8013077C 0012D6DC 38 00 00 00 */ li r0, 0 +/* 80130780 0012D6E0 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 80130784 0012D6E4 98 83 05 80 */ stb r4, 0x580(r3) +/* 80130788 0012D6E8 38 60 00 01 */ li r3, 1 +/* 8013078C 0012D6EC 4E 80 00 20 */ blr +lbl_80130790: +/* 80130790 0012D6F0 38 60 00 00 */ li r3, 0 +/* 80130794 0012D6F4 4E 80 00 20 */ blr + +.global SetHeardShot__11CFlickerBatFb +SetHeardShot__11CFlickerBatFb: +/* 80130798 0012D6F8 88 03 05 80 */ lbz r0, 0x580(r3) +/* 8013079C 0012D6FC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 801307A0 0012D700 98 03 05 80 */ stb r0, 0x580(r3) +/* 801307A4 0012D704 4E 80 00 20 */ blr + +.global NotifyNeighbors__11CFlickerBatFR13CStateManager +NotifyNeighbors__11CFlickerBatFR13CStateManager: +/* 801307A8 0012D708 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 801307AC 0012D70C 7C 08 02 A6 */ mflr r0 +/* 801307B0 0012D710 90 01 00 64 */ stw r0, 0x64(r1) +/* 801307B4 0012D714 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 801307B8 0012D718 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 801307BC 0012D71C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 801307C0 0012D720 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 801307C4 0012D724 DB A1 00 30 */ stfd f29, 0x30(r1) +/* 801307C8 0012D728 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 +/* 801307CC 0012D72C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801307D0 0012D730 93 C1 00 28 */ stw r30, 0x28(r1) +/* 801307D4 0012D734 93 A1 00 24 */ stw r29, 0x24(r1) +/* 801307D8 0012D738 7C 9D 23 78 */ mr r29, r4 +/* 801307DC 0012D73C C3 E3 00 40 */ lfs f31, 0x40(r3) +/* 801307E0 0012D740 3B FD 0F 3C */ addi r31, r29, 0xf3c +/* 801307E4 0012D744 C3 C3 00 50 */ lfs f30, 0x50(r3) +/* 801307E8 0012D748 C3 A3 00 60 */ lfs f29, 0x60(r3) +/* 801307EC 0012D74C 83 C4 0F 40 */ lwz r30, 0xf40(r4) +/* 801307F0 0012D750 48 00 00 94 */ b lbl_80130884 +lbl_801307F4: +/* 801307F4 0012D754 A0 1E 00 08 */ lhz r0, 8(r30) +/* 801307F8 0012D758 7F A3 EB 78 */ mr r3, r29 +/* 801307FC 0012D75C 38 81 00 08 */ addi r4, r1, 8 +/* 80130800 0012D760 B0 01 00 08 */ sth r0, 8(r1) +/* 80130804 0012D764 4B F1 BD 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80130808 0012D768 7C 64 1B 78 */ mr r4, r3 +/* 8013080C 0012D76C 38 61 00 0C */ addi r3, r1, 0xc +/* 80130810 0012D770 4B F7 4D 61 */ bl sub_800a5570 +/* 80130814 0012D774 4B F7 4D 31 */ bl "CastTo<11CFlickerBat>__10CPatternedFP7CEntity" +/* 80130818 0012D778 28 03 00 00 */ cmplwi r3, 0 +/* 8013081C 0012D77C 40 82 00 18 */ bne lbl_80130834 +/* 80130820 0012D780 7F E3 FB 78 */ mr r3, r31 +/* 80130824 0012D784 7F C4 F3 78 */ mr r4, r30 +/* 80130828 0012D788 4B FF C6 49 */ bl "erase__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRCQ34rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>8iterator" +/* 8013082C 0012D78C 7C 7E 1B 78 */ mr r30, r3 +/* 80130830 0012D790 48 00 00 54 */ b lbl_80130884 +lbl_80130834: +/* 80130834 0012D794 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80130838 0012D798 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8013083C 0012D79C EC BE 08 28 */ fsubs f5, f30, f1 +/* 80130840 0012D7A0 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 80130844 0012D7A4 EC 7F 00 28 */ fsubs f3, f31, f0 +/* 80130848 0012D7A8 C0 02 99 78 */ lfs f0, lbl_805AB698@sda21(r2) +/* 8013084C 0012D7AC EC 9D 08 28 */ fsubs f4, f29, f1 +/* 80130850 0012D7B0 EC 25 01 72 */ fmuls f1, f5, f5 +/* 80130854 0012D7B4 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80130858 0012D7B8 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8013085C 0012D7BC EC 64 01 32 */ fmuls f3, f4, f4 +/* 80130860 0012D7C0 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 80130864 0012D7C4 EC 22 08 2A */ fadds f1, f2, f1 +/* 80130868 0012D7C8 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8013086C 0012D7CC EC 23 08 2A */ fadds f1, f3, f1 +/* 80130870 0012D7D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80130874 0012D7D4 40 80 00 0C */ bge lbl_80130880 +/* 80130878 0012D7D8 38 80 00 01 */ li r4, 1 +/* 8013087C 0012D7DC 4B FF FF 1D */ bl SetHeardShot__11CFlickerBatFb +lbl_80130880: +/* 80130880 0012D7E0 83 DE 00 04 */ lwz r30, 4(r30) +lbl_80130884: +/* 80130884 0012D7E4 80 1F 00 08 */ lwz r0, 8(r31) +/* 80130888 0012D7E8 7C 1E 00 40 */ cmplw r30, r0 +/* 8013088C 0012D7EC 40 82 FF 68 */ bne lbl_801307F4 +/* 80130890 0012D7F0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80130894 0012D7F4 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80130898 0012D7F8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 8013089C 0012D7FC CB C1 00 40 */ lfd f30, 0x40(r1) +/* 801308A0 0012D800 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 +/* 801308A4 0012D804 CB A1 00 30 */ lfd f29, 0x30(r1) +/* 801308A8 0012D808 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 801308AC 0012D80C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 801308B0 0012D810 80 01 00 64 */ lwz r0, 0x64(r1) +/* 801308B4 0012D814 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 801308B8 0012D818 7C 08 03 A6 */ mtlr r0 +/* 801308BC 0012D81C 38 21 00 60 */ addi r1, r1, 0x60 +/* 801308C0 0012D820 4E 80 00 20 */ blr + +.global CanBeShot__11CFlickerBatFRC13CStateManageri +CanBeShot__11CFlickerBatFRC13CStateManageri: +/* 801308C4 0012D824 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801308C8 0012D828 7C 08 02 A6 */ mflr r0 +/* 801308CC 0012D82C 90 01 00 24 */ stw r0, 0x24(r1) +/* 801308D0 0012D830 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801308D4 0012D834 3B E0 00 00 */ li r31, 0 +/* 801308D8 0012D838 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801308DC 0012D83C 3B C0 00 01 */ li r30, 1 +/* 801308E0 0012D840 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801308E4 0012D844 7C 9D 23 78 */ mr r29, r4 +/* 801308E8 0012D848 93 81 00 10 */ stw r28, 0x10(r1) +/* 801308EC 0012D84C 7C 7C 1B 78 */ mr r28, r3 +/* 801308F0 0012D850 48 00 07 25 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 801308F4 0012D854 2C 03 00 00 */ cmpwi r3, 0 +/* 801308F8 0012D858 41 82 00 14 */ beq lbl_8013090C +/* 801308FC 0012D85C 7F 83 E3 78 */ mr r3, r28 +/* 80130900 0012D860 48 00 07 15 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130904 0012D864 2C 03 00 02 */ cmpwi r3, 2 +/* 80130908 0012D868 40 82 00 08 */ bne lbl_80130910 +lbl_8013090C: +/* 8013090C 0012D86C 3B E0 00 01 */ li r31, 1 +lbl_80130910: +/* 80130910 0012D870 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80130914 0012D874 40 82 00 1C */ bne lbl_80130930 +/* 80130918 0012D878 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 8013091C 0012D87C 80 63 00 00 */ lwz r3, 0(r3) +/* 80130920 0012D880 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80130924 0012D884 2C 00 00 01 */ cmpwi r0, 1 +/* 80130928 0012D888 41 82 00 08 */ beq lbl_80130930 +/* 8013092C 0012D88C 3B C0 00 00 */ li r30, 0 +lbl_80130930: +/* 80130930 0012D890 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80130934 0012D894 7F C3 F3 78 */ mr r3, r30 +/* 80130938 0012D898 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013093C 0012D89C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80130940 0012D8A0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80130944 0012D8A4 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80130948 0012D8A8 7C 08 03 A6 */ mtlr r0 +/* 8013094C 0012D8AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80130950 0012D8B0 4E 80 00 20 */ blr + +.global Touch__11CFlickerBatFR6CActorR13CStateManager +Touch__11CFlickerBatFR6CActorR13CStateManager: +/* 80130954 0012D8B4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80130958 0012D8B8 7C 08 02 A6 */ mflr r0 +/* 8013095C 0012D8BC 90 01 00 74 */ stw r0, 0x74(r1) +/* 80130960 0012D8C0 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80130964 0012D8C4 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80130968 0012D8C8 7C BE 2B 78 */ mr r30, r5 +/* 8013096C 0012D8CC 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80130970 0012D8D0 7C 9D 23 78 */ mr r29, r4 +/* 80130974 0012D8D4 93 81 00 60 */ stw r28, 0x60(r1) +/* 80130978 0012D8D8 7C 7C 1B 78 */ mr r28, r3 +/* 8013097C 0012D8DC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80130980 0012D8E0 4B F7 BA 81 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 80130984 0012D8E4 83 E3 00 04 */ lwz r31, 4(r3) +/* 80130988 0012D8E8 28 1F 00 00 */ cmplwi r31, 0 +/* 8013098C 0012D8EC 41 82 00 AC */ beq lbl_80130A38 +/* 80130990 0012D8F0 C0 3C 04 20 */ lfs f1, 0x420(r28) +/* 80130994 0012D8F4 C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) +/* 80130998 0012D8F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8013099C 0012D8FC 4C 40 13 82 */ cror 2, 0, 2 +/* 801309A0 0012D900 40 82 00 98 */ bne lbl_80130A38 +/* 801309A4 0012D904 80 AD 8B 30 */ lwz r5, lbl_805A76F0@sda21(r13) +/* 801309A8 0012D908 38 60 00 00 */ li r3, 0 +/* 801309AC 0012D90C 38 80 00 01 */ li r4, 1 +/* 801309B0 0012D910 48 25 95 45 */ bl __shl2i +/* 801309B4 0012D914 38 A0 00 00 */ li r5, 0 +/* 801309B8 0012D918 38 00 00 03 */ li r0, 3 +/* 801309BC 0012D91C 90 81 00 2C */ stw r4, 0x2c(r1) +/* 801309C0 0012D920 7F 84 E3 78 */ mr r4, r28 +/* 801309C4 0012D924 90 61 00 28 */ stw r3, 0x28(r1) +/* 801309C8 0012D928 38 61 00 40 */ addi r3, r1, 0x40 +/* 801309CC 0012D92C 90 A1 00 34 */ stw r5, 0x34(r1) +/* 801309D0 0012D930 90 A1 00 30 */ stw r5, 0x30(r1) +/* 801309D4 0012D934 90 01 00 38 */ stw r0, 0x38(r1) +/* 801309D8 0012D938 A0 1C 00 08 */ lhz r0, 8(r28) +/* 801309DC 0012D93C B0 01 00 0C */ sth r0, 0xc(r1) +/* 801309E0 0012D940 A0 BF 00 08 */ lhz r5, 8(r31) +/* 801309E4 0012D944 B0 01 00 08 */ sth r0, 8(r1) +/* 801309E8 0012D948 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 801309EC 0012D94C A0 1C 00 08 */ lhz r0, 8(r28) +/* 801309F0 0012D950 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 801309F4 0012D954 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 801309F8 0012D958 81 9C 00 00 */ lwz r12, 0(r28) +/* 801309FC 0012D95C B0 01 00 18 */ sth r0, 0x18(r1) +/* 80130A00 0012D960 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 80130A04 0012D964 7D 89 03 A6 */ mtctr r12 +/* 80130A08 0012D968 4E 80 04 21 */ bctrl +/* 80130A0C 0012D96C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80130A10 0012D970 7F C3 F3 78 */ mr r3, r30 +/* 80130A14 0012D974 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80130A18 0012D978 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80130A1C 0012D97C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80130A20 0012D980 38 C1 00 0C */ addi r6, r1, 0xc +/* 80130A24 0012D984 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80130A28 0012D988 39 01 00 28 */ addi r8, r1, 0x28 +/* 80130A2C 0012D98C 4B F1 96 75 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 80130A30 0012D990 C0 1C 04 24 */ lfs f0, 0x424(r28) +/* 80130A34 0012D994 D0 1C 04 20 */ stfs f0, 0x420(r28) +lbl_80130A38: +/* 80130A38 0012D998 7F 83 E3 78 */ mr r3, r28 +/* 80130A3C 0012D99C 7F A4 EB 78 */ mr r4, r29 +/* 80130A40 0012D9A0 7F C5 F3 78 */ mr r5, r30 +/* 80130A44 0012D9A4 4B F4 90 5D */ bl Touch__10CPatternedFR6CActorR13CStateManager +/* 80130A48 0012D9A8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80130A4C 0012D9AC 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80130A50 0012D9B0 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80130A54 0012D9B4 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 80130A58 0012D9B8 83 81 00 60 */ lwz r28, 0x60(r1) +/* 80130A5C 0012D9BC 7C 08 03 A6 */ mtlr r0 +/* 80130A60 0012D9C0 38 21 00 70 */ addi r1, r1, 0x70 +/* 80130A64 0012D9C4 4E 80 00 20 */ blr + +.global Think__11CFlickerBatFfR13CStateManager +Think__11CFlickerBatFfR13CStateManager: +/* 80130A68 0012D9C8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80130A6C 0012D9CC 7C 08 02 A6 */ mflr r0 +/* 80130A70 0012D9D0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80130A74 0012D9D4 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80130A78 0012D9D8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80130A7C 0012D9DC DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80130A80 0012D9E0 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80130A84 0012D9E4 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80130A88 0012D9E8 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80130A8C 0012D9EC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80130A90 0012D9F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80130A94 0012D9F4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80130A98 0012D9F8 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80130A9C 0012D9FC FF A0 08 90 */ fmr f29, f1 +/* 80130AA0 0012DA00 7C 7E 1B 78 */ mr r30, r3 +/* 80130AA4 0012DA04 7C 9F 23 78 */ mr r31, r4 +/* 80130AA8 0012DA08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80130AAC 0012DA0C 41 82 02 48 */ beq lbl_80130CF4 +/* 80130AB0 0012DA10 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80130AB4 0012DA14 80 63 00 00 */ lwz r3, 0(r3) +/* 80130AB8 0012DA18 4B F6 0A A1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80130ABC 0012DA1C 20 83 00 01 */ subfic r4, r3, 1 +/* 80130AC0 0012DA20 38 03 FF FF */ addi r0, r3, -1 +/* 80130AC4 0012DA24 7C 83 03 78 */ or r3, r4, r0 +/* 80130AC8 0012DA28 88 1E 04 02 */ lbz r0, 0x402(r30) +/* 80130ACC 0012DA2C 54 64 0F FE */ srwi r4, r3, 0x1f +/* 80130AD0 0012DA30 7F C3 F3 78 */ mr r3, r30 +/* 80130AD4 0012DA34 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80130AD8 0012DA38 98 1E 04 02 */ stb r0, 0x402(r30) +/* 80130ADC 0012DA3C 48 00 05 39 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130AE0 0012DA40 2C 03 00 02 */ cmpwi r3, 2 +/* 80130AE4 0012DA44 41 82 00 14 */ beq lbl_80130AF8 +/* 80130AE8 0012DA48 7F C3 F3 78 */ mr r3, r30 +/* 80130AEC 0012DA4C 48 00 05 29 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130AF0 0012DA50 2C 03 00 03 */ cmpwi r3, 3 +/* 80130AF4 0012DA54 40 82 00 58 */ bne lbl_80130B4C +lbl_80130AF8: +/* 80130AF8 0012DA58 C0 3E 05 78 */ lfs f1, 0x578(r30) +/* 80130AFC 0012DA5C C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) +/* 80130B00 0012DA60 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80130B04 0012DA64 D0 3E 05 78 */ stfs f1, 0x578(r30) +/* 80130B08 0012DA68 C0 3E 05 78 */ lfs f1, 0x578(r30) +/* 80130B0C 0012DA6C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80130B10 0012DA70 4C 40 13 82 */ cror 2, 0, 2 +/* 80130B14 0012DA74 40 82 00 38 */ bne lbl_80130B4C +/* 80130B18 0012DA78 7F C3 F3 78 */ mr r3, r30 +/* 80130B1C 0012DA7C 48 00 04 F9 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130B20 0012DA80 2C 03 00 02 */ cmpwi r3, 2 +/* 80130B24 0012DA84 40 82 00 18 */ bne lbl_80130B3C +/* 80130B28 0012DA88 7F C3 F3 78 */ mr r3, r30 +/* 80130B2C 0012DA8C 7F E5 FB 78 */ mr r5, r31 +/* 80130B30 0012DA90 38 80 00 00 */ li r4, 0 +/* 80130B34 0012DA94 48 00 04 E9 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager +/* 80130B38 0012DA98 48 00 00 14 */ b lbl_80130B4C +lbl_80130B3C: +/* 80130B3C 0012DA9C 7F C3 F3 78 */ mr r3, r30 +/* 80130B40 0012DAA0 7F E5 FB 78 */ mr r5, r31 +/* 80130B44 0012DAA4 38 80 00 01 */ li r4, 1 +/* 80130B48 0012DAA8 48 00 04 D5 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager +lbl_80130B4C: +/* 80130B4C 0012DAAC 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80130B50 0012DAB0 88 1E 05 80 */ lbz r0, 0x580(r30) +/* 80130B54 0012DAB4 80 63 00 00 */ lwz r3, 0(r3) +/* 80130B58 0012DAB8 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 80130B5C 0012DABC 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80130B60 0012DAC0 20 63 00 01 */ subfic r3, r3, 1 +/* 80130B64 0012DAC4 7C 64 00 34 */ cntlzw r4, r3 +/* 80130B68 0012DAC8 54 83 DE 3E */ rlwinm r3, r4, 0x1b, 0x18, 0x1f +/* 80130B6C 0012DACC 7C 03 00 40 */ cmplw r3, r0 +/* 80130B70 0012DAD0 54 9D D9 7E */ srwi r29, r4, 5 +/* 80130B74 0012DAD4 41 82 00 98 */ beq lbl_80130C0C +/* 80130B78 0012DAD8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80130B7C 0012DADC 41 82 00 44 */ beq lbl_80130BC0 +/* 80130B80 0012DAE0 7F C3 F3 78 */ mr r3, r30 +/* 80130B84 0012DAE4 48 00 04 91 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130B88 0012DAE8 2C 03 00 01 */ cmpwi r3, 1 +/* 80130B8C 0012DAEC 40 82 00 24 */ bne lbl_80130BB0 +/* 80130B90 0012DAF0 7F C3 F3 78 */ mr r3, r30 +/* 80130B94 0012DAF4 7F E6 FB 78 */ mr r6, r31 +/* 80130B98 0012DAF8 38 80 00 28 */ li r4, 0x28 +/* 80130B9C 0012DAFC 38 A0 00 29 */ li r5, 0x29 +/* 80130BA0 0012DB00 4B F2 37 15 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80130BA4 0012DB04 7F C3 F3 78 */ mr r3, r30 +/* 80130BA8 0012DB08 38 80 00 00 */ li r4, 0 +/* 80130BAC 0012DB0C 4B F2 28 41 */ bl SetMuted__6CActorFb +lbl_80130BB0: +/* 80130BB0 0012DB10 7F C3 F3 78 */ mr r3, r30 +/* 80130BB4 0012DB14 38 80 00 00 */ li r4, 0 +/* 80130BB8 0012DB18 4B F2 21 B5 */ bl CreateShadow__6CActorFb +/* 80130BBC 0012DB1C 48 00 00 44 */ b lbl_80130C00 +lbl_80130BC0: +/* 80130BC0 0012DB20 7F C3 F3 78 */ mr r3, r30 +/* 80130BC4 0012DB24 48 00 04 51 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130BC8 0012DB28 2C 03 00 01 */ cmpwi r3, 1 +/* 80130BCC 0012DB2C 40 82 00 28 */ bne lbl_80130BF4 +/* 80130BD0 0012DB30 7F C3 F3 78 */ mr r3, r30 +/* 80130BD4 0012DB34 7F E6 FB 78 */ mr r6, r31 +/* 80130BD8 0012DB38 38 80 00 28 */ li r4, 0x28 +/* 80130BDC 0012DB3C 38 A0 00 29 */ li r5, 0x29 +/* 80130BE0 0012DB40 4B F2 32 F5 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80130BE4 0012DB44 7F C3 F3 78 */ mr r3, r30 +/* 80130BE8 0012DB48 38 80 00 01 */ li r4, 1 +/* 80130BEC 0012DB4C 4B F2 28 01 */ bl SetMuted__6CActorFb +/* 80130BF0 0012DB50 48 00 00 10 */ b lbl_80130C00 +lbl_80130BF4: +/* 80130BF4 0012DB54 7F C3 F3 78 */ mr r3, r30 +/* 80130BF8 0012DB58 38 80 00 01 */ li r4, 1 +/* 80130BFC 0012DB5C 4B F2 21 71 */ bl CreateShadow__6CActorFb +lbl_80130C00: +/* 80130C00 0012DB60 88 1E 05 80 */ lbz r0, 0x580(r30) +/* 80130C04 0012DB64 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 +/* 80130C08 0012DB68 98 1E 05 80 */ stb r0, 0x580(r30) +lbl_80130C0C: +/* 80130C0C 0012DB6C 88 1E 05 80 */ lbz r0, 0x580(r30) +/* 80130C10 0012DB70 C3 C2 99 60 */ lfs f30, lbl_805AB680@sda21(r2) +/* 80130C14 0012DB74 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80130C18 0012DB78 40 82 00 14 */ bne lbl_80130C2C +/* 80130C1C 0012DB7C 7F C3 F3 78 */ mr r3, r30 +/* 80130C20 0012DB80 48 00 03 F5 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130C24 0012DB84 2C 03 00 00 */ cmpwi r3, 0 +/* 80130C28 0012DB88 40 82 00 0C */ bne lbl_80130C34 +lbl_80130C2C: +/* 80130C2C 0012DB8C C3 C2 99 64 */ lfs f30, lbl_805AB684@sda21(r2) +/* 80130C30 0012DB90 48 00 00 48 */ b lbl_80130C78 +lbl_80130C34: +/* 80130C34 0012DB94 7F C3 F3 78 */ mr r3, r30 +/* 80130C38 0012DB98 48 00 03 DD */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130C3C 0012DB9C 2C 03 00 02 */ cmpwi r3, 2 +/* 80130C40 0012DBA0 41 82 00 14 */ beq lbl_80130C54 +/* 80130C44 0012DBA4 7F C3 F3 78 */ mr r3, r30 +/* 80130C48 0012DBA8 48 00 03 CD */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130C4C 0012DBAC 2C 03 00 03 */ cmpwi r3, 3 +/* 80130C50 0012DBB0 40 82 00 28 */ bne lbl_80130C78 +lbl_80130C54: +/* 80130C54 0012DBB4 C0 3E 05 78 */ lfs f1, 0x578(r30) +/* 80130C58 0012DBB8 7F C3 F3 78 */ mr r3, r30 +/* 80130C5C 0012DBBC C0 1E 05 7C */ lfs f0, 0x57c(r30) +/* 80130C60 0012DBC0 EF C1 00 32 */ fmuls f30, f1, f0 +/* 80130C64 0012DBC4 48 00 03 B1 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80130C68 0012DBC8 2C 03 00 02 */ cmpwi r3, 2 +/* 80130C6C 0012DBCC 40 82 00 0C */ bne lbl_80130C78 +/* 80130C70 0012DBD0 C0 02 99 64 */ lfs f0, lbl_805AB684@sda21(r2) +/* 80130C74 0012DBD4 EF C0 F0 28 */ fsubs f30, f0, f30 +lbl_80130C78: +/* 80130C78 0012DBD8 C0 02 99 80 */ lfs f0, lbl_805AB6A0@sda21(r2) +/* 80130C7C 0012DBDC EF E0 07 B2 */ fmuls f31, f0, f30 +/* 80130C80 0012DBE0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80130C84 0012DBE4 FC 20 F0 90 */ fmr f1, f30 +/* 80130C88 0012DBE8 88 01 00 08 */ lbz r0, 8(r1) +/* 80130C8C 0012DBEC 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 80130C90 0012DBF0 80 7E 00 94 */ lwz r3, 0x94(r30) +/* 80130C94 0012DBF4 4B FD 50 75 */ bl SetUserAlpha__13CSimpleShadowFf +/* 80130C98 0012DBF8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 80130C9C 0012DBFC 38 80 00 01 */ li r4, 1 +/* 80130CA0 0012DC00 80 63 00 00 */ lwz r3, 0(r3) +/* 80130CA4 0012DC04 80 63 00 14 */ lwz r3, 0x14(r3) +/* 80130CA8 0012DC08 2C 03 00 01 */ cmpwi r3, 1 +/* 80130CAC 0012DC0C 41 82 00 2C */ beq lbl_80130CD8 +/* 80130CB0 0012DC10 80 1E 05 74 */ lwz r0, 0x574(r30) +/* 80130CB4 0012DC14 38 A0 00 00 */ li r5, 0 +/* 80130CB8 0012DC18 2C 00 00 00 */ cmpwi r0, 0 +/* 80130CBC 0012DC1C 40 82 00 10 */ bne lbl_80130CCC +/* 80130CC0 0012DC20 2C 03 00 02 */ cmpwi r3, 2 +/* 80130CC4 0012DC24 40 82 00 08 */ bne lbl_80130CCC +/* 80130CC8 0012DC28 7C 85 23 78 */ mr r5, r4 +lbl_80130CCC: +/* 80130CCC 0012DC2C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80130CD0 0012DC30 40 82 00 08 */ bne lbl_80130CD8 +/* 80130CD4 0012DC34 38 80 00 00 */ li r4, 0 +lbl_80130CD8: +/* 80130CD8 0012DC38 88 1E 00 E7 */ lbz r0, 0xe7(r30) +/* 80130CDC 0012DC3C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80130CE0 0012DC40 FC 20 E8 90 */ fmr f1, f29 +/* 80130CE4 0012DC44 7F C3 F3 78 */ mr r3, r30 +/* 80130CE8 0012DC48 98 1E 00 E7 */ stb r0, 0xe7(r30) +/* 80130CEC 0012DC4C 7F E4 FB 78 */ mr r4, r31 +/* 80130CF0 0012DC50 4B F4 8E 29 */ bl Think__10CPatternedFfR13CStateManager +lbl_80130CF4: +/* 80130CF4 0012DC54 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80130CF8 0012DC58 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80130CFC 0012DC5C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80130D00 0012DC60 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80130D04 0012DC64 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 80130D08 0012DC68 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 80130D0C 0012DC6C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80130D10 0012DC70 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80130D14 0012DC74 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80130D18 0012DC78 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80130D1C 0012DC7C 7C 08 03 A6 */ mtlr r0 +/* 80130D20 0012DC80 38 21 00 50 */ addi r1, r1, 0x50 +/* 80130D24 0012DC84 4E 80 00 20 */ blr + +.global Death__11CFlickerBatFRC9CVector3fR13CStateManager +Death__11CFlickerBatFRC9CVector3fR13CStateManager: +/* 80130D28 0012DC88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80130D2C 0012DC8C 7C 08 02 A6 */ mflr r0 +/* 80130D30 0012DC90 90 01 00 24 */ stw r0, 0x24(r1) +/* 80130D34 0012DC94 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80130D38 0012DC98 7C DF 33 78 */ mr r31, r6 +/* 80130D3C 0012DC9C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80130D40 0012DCA0 7C BE 2B 78 */ mr r30, r5 +/* 80130D44 0012DCA4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80130D48 0012DCA8 7C 9D 23 78 */ mr r29, r4 +/* 80130D4C 0012DCAC 7F A5 EB 78 */ mr r5, r29 +/* 80130D50 0012DCB0 38 80 00 00 */ li r4, 0 +/* 80130D54 0012DCB4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80130D58 0012DCB8 7C 7C 1B 78 */ mr r28, r3 +/* 80130D5C 0012DCBC 48 00 02 C1 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager +/* 80130D60 0012DCC0 7F 83 E3 78 */ mr r3, r28 +/* 80130D64 0012DCC4 38 80 00 00 */ li r4, 0 +/* 80130D68 0012DCC8 4B F2 26 85 */ bl SetMuted__6CActorFb +/* 80130D6C 0012DCCC 7F 83 E3 78 */ mr r3, r28 +/* 80130D70 0012DCD0 7F A4 EB 78 */ mr r4, r29 +/* 80130D74 0012DCD4 7F C5 F3 78 */ mr r5, r30 +/* 80130D78 0012DCD8 7F E6 FB 78 */ mr r6, r31 +/* 80130D7C 0012DCDC 4B F4 A6 29 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 80130D80 0012DCE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80130D84 0012DCE4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80130D88 0012DCE8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80130D8C 0012DCEC 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80130D90 0012DCF0 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80130D94 0012DCF4 7C 08 03 A6 */ mtlr r0 +/* 80130D98 0012DCF8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80130D9C 0012DCFC 4E 80 00 20 */ blr + +.global sub_80130da0 +sub_80130da0: +/* 80130DA0 0012DD00 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80130DA4 0012DD04 7C 08 02 A6 */ mflr r0 +/* 80130DA8 0012DD08 90 01 00 84 */ stw r0, 0x84(r1) +/* 80130DAC 0012DD0C DB E1 00 70 */ stfd f31, 0x70(r1) +/* 80130DB0 0012DD10 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80130DB4 0012DD14 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80130DB8 0012DD18 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80130DBC 0012DD1C 7C 7E 1B 78 */ mr r30, r3 +/* 80130DC0 0012DD20 88 63 05 80 */ lbz r3, 0x580(r3) +/* 80130DC4 0012DD24 7C 9F 23 78 */ mr r31, r4 +/* 80130DC8 0012DD28 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80130DCC 0012DD2C 40 82 00 14 */ bne lbl_80130DE0 +/* 80130DD0 0012DD30 38 00 00 00 */ li r0, 0 +/* 80130DD4 0012DD34 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a +/* 80130DD8 0012DD38 98 7E 05 80 */ stb r3, 0x580(r30) +/* 80130DDC 0012DD3C 48 00 00 F8 */ b lbl_80130ED4 +lbl_80130DE0: +/* 80130DE0 0012DD40 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80130DE4 0012DD44 4B ED AD 35 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80130DE8 0012DD48 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80130DEC 0012DD4C 7F C4 F3 78 */ mr r4, r30 +/* 80130DF0 0012DD50 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80130DF4 0012DD54 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80130DF8 0012DD58 38 61 00 48 */ addi r3, r1, 0x48 +/* 80130DFC 0012DD5C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80130E00 0012DD60 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80130E04 0012DD64 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80130E08 0012DD68 4B FE 9B 25 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80130E0C 0012DD6C 38 61 00 08 */ addi r3, r1, 8 +/* 80130E10 0012DD70 38 81 00 48 */ addi r4, r1, 0x48 +/* 80130E14 0012DD74 48 20 67 F9 */ bl GetCenterPoint__6CAABoxCFv +/* 80130E18 0012DD78 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80130E1C 0012DD7C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80130E20 0012DD80 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80130E24 0012DD84 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 80130E28 0012DD88 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80130E2C 0012DD8C EC 81 00 28 */ fsubs f4, f1, f0 +/* 80130E30 0012DD90 C0 21 00 08 */ lfs f1, 8(r1) +/* 80130E34 0012DD94 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80130E38 0012DD98 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80130E3C 0012DD9C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80130E40 0012DDA0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80130E44 0012DDA4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80130E48 0012DDA8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80130E4C 0012DDAC 48 1E 3A 6D */ bl Magnitude__9CVector3fCFv +/* 80130E50 0012DDB0 FF E0 08 90 */ fmr f31, f1 +/* 80130E54 0012DDB4 C0 62 99 64 */ lfs f3, lbl_805AB684@sda21(r2) +/* 80130E58 0012DDB8 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 80130E5C 0012DDBC 38 60 00 00 */ li r3, 0 +/* 80130E60 0012DDC0 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80130E64 0012DDC4 38 80 00 01 */ li r4, 1 +/* 80130E68 0012DDC8 EC 63 F8 24 */ fdivs f3, f3, f31 +/* 80130E6C 0012DDCC C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80130E70 0012DDD0 80 AD 8B 34 */ lwz r5, lbl_805A76F4@sda21(r13) +/* 80130E74 0012DDD4 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 80130E78 0012DDD8 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80130E7C 0012DDDC EC 00 00 F2 */ fmuls f0, f0, f3 +/* 80130E80 0012DDE0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80130E84 0012DDE4 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80130E88 0012DDE8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80130E8C 0012DDEC 48 25 90 69 */ bl __shl2i +/* 80130E90 0012DDF0 39 00 FF FF */ li r8, -1 +/* 80130E94 0012DDF4 38 E0 00 00 */ li r7, 0 +/* 80130E98 0012DDF8 38 00 00 02 */ li r0, 2 +/* 80130E9C 0012DDFC 90 81 00 3C */ stw r4, 0x3c(r1) +/* 80130EA0 0012DE00 FC 20 F8 90 */ fmr f1, f31 +/* 80130EA4 0012DE04 38 81 00 20 */ addi r4, r1, 0x20 +/* 80130EA8 0012DE08 90 61 00 38 */ stw r3, 0x38(r1) +/* 80130EAC 0012DE0C 7F E3 FB 78 */ mr r3, r31 +/* 80130EB0 0012DE10 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80130EB4 0012DE14 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80130EB8 0012DE18 91 01 00 34 */ stw r8, 0x34(r1) +/* 80130EBC 0012DE1C 90 E1 00 30 */ stw r7, 0x30(r1) +/* 80130EC0 0012DE20 90 01 00 40 */ stw r0, 0x40(r1) +/* 80130EC4 0012DE24 48 05 3D 35 */ bl RayStaticIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80130EC8 0012DE28 88 1E 05 80 */ lbz r0, 0x580(r30) +/* 80130ECC 0012DE2C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80130ED0 0012DE30 98 1E 05 80 */ stb r0, 0x580(r30) +lbl_80130ED4: +/* 80130ED4 0012DE34 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80130ED8 0012DE38 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80130EDC 0012DE3C CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80130EE0 0012DE40 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80130EE4 0012DE44 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80130EE8 0012DE48 7C 08 03 A6 */ mtlr r0 +/* 80130EEC 0012DE4C 38 21 00 80 */ addi r1, r1, 0x80 +/* 80130EF0 0012DE50 4E 80 00 20 */ blr + +.global FlickerBatStateChanged__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager +FlickerBatStateChanged__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager: +/* 80130EF4 0012DE54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80130EF8 0012DE58 7C 08 02 A6 */ mflr r0 +/* 80130EFC 0012DE5C 2C 04 00 02 */ cmpwi r4, 2 +/* 80130F00 0012DE60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80130F04 0012DE64 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80130F08 0012DE68 7C BF 2B 78 */ mr r31, r5 +/* 80130F0C 0012DE6C 93 C1 00 08 */ stw r30, 8(r1) +/* 80130F10 0012DE70 7C 7E 1B 78 */ mr r30, r3 +/* 80130F14 0012DE74 41 82 00 70 */ beq lbl_80130F84 +/* 80130F18 0012DE78 40 80 00 14 */ bge lbl_80130F2C +/* 80130F1C 0012DE7C 2C 04 00 00 */ cmpwi r4, 0 +/* 80130F20 0012DE80 41 82 00 18 */ beq lbl_80130F38 +/* 80130F24 0012DE84 40 80 00 44 */ bge lbl_80130F68 +/* 80130F28 0012DE88 48 00 00 D4 */ b lbl_80130FFC +lbl_80130F2C: +/* 80130F2C 0012DE8C 2C 04 00 04 */ cmpwi r4, 4 +/* 80130F30 0012DE90 40 80 00 CC */ bge lbl_80130FFC +/* 80130F34 0012DE94 48 00 00 94 */ b lbl_80130FC8 +lbl_80130F38: +/* 80130F38 0012DE98 80 9F 08 B8 */ lwz r4, 0x8b8(r31) +/* 80130F3C 0012DE9C 80 84 00 00 */ lwz r4, 0(r4) +/* 80130F40 0012DEA0 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80130F44 0012DEA4 2C 00 00 01 */ cmpwi r0, 1 +/* 80130F48 0012DEA8 41 82 00 0C */ beq lbl_80130F54 +/* 80130F4C 0012DEAC 38 80 00 01 */ li r4, 1 +/* 80130F50 0012DEB0 4B F2 1E 1D */ bl CreateShadow__6CActorFb +lbl_80130F54: +/* 80130F54 0012DEB4 7F C3 F3 78 */ mr r3, r30 +/* 80130F58 0012DEB8 7F E5 FB 78 */ mr r5, r31 +/* 80130F5C 0012DEBC 38 80 00 28 */ li r4, 0x28 +/* 80130F60 0012DEC0 4B F2 33 F1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80130F64 0012DEC4 48 00 00 98 */ b lbl_80130FFC +lbl_80130F68: +/* 80130F68 0012DEC8 38 80 00 01 */ li r4, 1 +/* 80130F6C 0012DECC 4B F2 24 81 */ bl SetMuted__6CActorFb +/* 80130F70 0012DED0 7F C3 F3 78 */ mr r3, r30 +/* 80130F74 0012DED4 7F E5 FB 78 */ mr r5, r31 +/* 80130F78 0012DED8 38 80 00 28 */ li r4, 0x28 +/* 80130F7C 0012DEDC 4B F2 30 05 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80130F80 0012DEE0 48 00 00 7C */ b lbl_80130FFC +lbl_80130F84: +/* 80130F84 0012DEE4 80 9F 08 B8 */ lwz r4, 0x8b8(r31) +/* 80130F88 0012DEE8 80 84 00 00 */ lwz r4, 0(r4) +/* 80130F8C 0012DEEC 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80130F90 0012DEF0 2C 00 00 01 */ cmpwi r0, 1 +/* 80130F94 0012DEF4 41 82 00 18 */ beq lbl_80130FAC +/* 80130F98 0012DEF8 38 80 00 01 */ li r4, 1 +/* 80130F9C 0012DEFC 4B F2 1D D1 */ bl CreateShadow__6CActorFb +/* 80130FA0 0012DF00 7F C3 F3 78 */ mr r3, r30 +/* 80130FA4 0012DF04 38 80 00 00 */ li r4, 0 +/* 80130FA8 0012DF08 4B F2 24 45 */ bl SetMuted__6CActorFb +lbl_80130FAC: +/* 80130FAC 0012DF0C 7F C3 F3 78 */ mr r3, r30 +/* 80130FB0 0012DF10 7F E4 FB 78 */ mr r4, r31 +/* 80130FB4 0012DF14 4B FF FD ED */ bl sub_80130da0 +/* 80130FB8 0012DF18 7F C3 F3 78 */ mr r3, r30 +/* 80130FBC 0012DF1C 38 80 00 01 */ li r4, 1 +/* 80130FC0 0012DF20 4B F4 B9 3D */ bl SetupPlayerCollision__10CPatternedFb +/* 80130FC4 0012DF24 48 00 00 38 */ b lbl_80130FFC +lbl_80130FC8: +/* 80130FC8 0012DF28 80 9F 08 B8 */ lwz r4, 0x8b8(r31) +/* 80130FCC 0012DF2C 80 84 00 00 */ lwz r4, 0(r4) +/* 80130FD0 0012DF30 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80130FD4 0012DF34 2C 00 00 01 */ cmpwi r0, 1 +/* 80130FD8 0012DF38 41 82 00 0C */ beq lbl_80130FE4 +/* 80130FDC 0012DF3C 38 80 00 00 */ li r4, 0 +/* 80130FE0 0012DF40 4B F2 1D 8D */ bl CreateShadow__6CActorFb +lbl_80130FE4: +/* 80130FE4 0012DF44 7F C3 F3 78 */ mr r3, r30 +/* 80130FE8 0012DF48 7F E4 FB 78 */ mr r4, r31 +/* 80130FEC 0012DF4C 4B FF FD B5 */ bl sub_80130da0 +/* 80130FF0 0012DF50 7F C3 F3 78 */ mr r3, r30 +/* 80130FF4 0012DF54 38 80 00 00 */ li r4, 0 +/* 80130FF8 0012DF58 4B F4 B9 05 */ bl SetupPlayerCollision__10CPatternedFb +lbl_80130FFC: +/* 80130FFC 0012DF5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80131000 0012DF60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80131004 0012DF64 83 C1 00 08 */ lwz r30, 8(r1) +/* 80131008 0012DF68 7C 08 03 A6 */ mtlr r0 +/* 8013100C 0012DF6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80131010 0012DF70 4E 80 00 20 */ blr + +.global GetFlickerBatState__11CFlickerBatCFv +GetFlickerBatState__11CFlickerBatCFv: +/* 80131014 0012DF74 80 63 05 74 */ lwz r3, 0x574(r3) +/* 80131018 0012DF78 4E 80 00 20 */ blr + +.global SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager +SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager: +/* 8013101C 0012DF7C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80131020 0012DF80 7C 08 02 A6 */ mflr r0 +/* 80131024 0012DF84 90 01 00 14 */ stw r0, 0x14(r1) +/* 80131028 0012DF88 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013102C 0012DF8C 7C 9F 23 78 */ mr r31, r4 +/* 80131030 0012DF90 93 C1 00 08 */ stw r30, 8(r1) +/* 80131034 0012DF94 7C 7E 1B 78 */ mr r30, r3 +/* 80131038 0012DF98 80 03 05 74 */ lwz r0, 0x574(r3) +/* 8013103C 0012DF9C 7C 1F 00 00 */ cmpw r31, r0 +/* 80131040 0012DFA0 41 82 00 0C */ beq lbl_8013104C +/* 80131044 0012DFA4 4B FF FE B1 */ bl FlickerBatStateChanged__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager +/* 80131048 0012DFA8 93 FE 05 74 */ stw r31, 0x574(r30) +lbl_8013104C: +/* 8013104C 0012DFAC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80131050 0012DFB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80131054 0012DFB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80131058 0012DFB8 7C 08 03 A6 */ mtlr r0 +/* 8013105C 0012DFBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80131060 0012DFC0 4E 80 00 20 */ blr + +.global sub_80131064 +sub_80131064: +/* 80131064 0012DFC4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80131068 0012DFC8 7C 08 02 A6 */ mflr r0 +/* 8013106C 0012DFCC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80131070 0012DFD0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80131074 0012DFD4 7C 9F 23 78 */ mr r31, r4 +/* 80131078 0012DFD8 93 C1 00 08 */ stw r30, 8(r1) +/* 8013107C 0012DFDC 7C 7E 1B 78 */ mr r30, r3 +/* 80131080 0012DFE0 4B FF FF 95 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80131084 0012DFE4 2C 03 00 00 */ cmpwi r3, 0 +/* 80131088 0012DFE8 41 82 00 14 */ beq lbl_8013109C +/* 8013108C 0012DFEC 7F C3 F3 78 */ mr r3, r30 +/* 80131090 0012DFF0 4B FF FF 85 */ bl GetFlickerBatState__11CFlickerBatCFv +/* 80131094 0012DFF4 2C 03 00 02 */ cmpwi r3, 2 +/* 80131098 0012DFF8 40 82 00 18 */ bne lbl_801310B0 +lbl_8013109C: +/* 8013109C 0012DFFC 7F C3 F3 78 */ mr r3, r30 +/* 801310A0 0012E000 7F E5 FB 78 */ mr r5, r31 +/* 801310A4 0012E004 38 80 00 03 */ li r4, 3 +/* 801310A8 0012E008 4B FF FF 75 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager +/* 801310AC 0012E00C 48 00 00 14 */ b lbl_801310C0 +lbl_801310B0: +/* 801310B0 0012E010 7F C3 F3 78 */ mr r3, r30 +/* 801310B4 0012E014 7F E5 FB 78 */ mr r5, r31 +/* 801310B8 0012E018 38 80 00 02 */ li r4, 2 +/* 801310BC 0012E01C 4B FF FF 61 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager +lbl_801310C0: +/* 801310C0 0012E020 C0 22 99 64 */ lfs f1, lbl_805AB684@sda21(r2) +/* 801310C4 0012E024 D0 3E 05 78 */ stfs f1, 0x578(r30) +/* 801310C8 0012E028 C0 1E 05 78 */ lfs f0, 0x578(r30) +/* 801310CC 0012E02C EC 01 00 24 */ fdivs f0, f1, f0 +/* 801310D0 0012E030 D0 1E 05 7C */ stfs f0, 0x57c(r30) +/* 801310D4 0012E034 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801310D8 0012E038 83 C1 00 08 */ lwz r30, 8(r1) +/* 801310DC 0012E03C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801310E0 0012E040 7C 08 03 A6 */ mtlr r0 +/* 801310E4 0012E044 38 21 00 10 */ addi r1, r1, 0x10 +/* 801310E8 0012E048 4E 80 00 20 */ blr + +.global DoUserAnimEvent__11CFlickerBatFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__11CFlickerBatFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 801310EC 0012E04C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801310F0 0012E050 7C 08 02 A6 */ mflr r0 +/* 801310F4 0012E054 90 01 00 34 */ stw r0, 0x34(r1) +/* 801310F8 0012E058 DB E1 00 28 */ stfd f31, 0x28(r1) +/* 801310FC 0012E05C FF E0 08 90 */ fmr f31, f1 +/* 80131100 0012E060 BF 61 00 14 */ stmw r27, 0x14(r1) +/* 80131104 0012E064 7C DE 33 78 */ mr r30, r6 +/* 80131108 0012E068 2C 1E 00 0E */ cmpwi r30, 0xe +/* 8013110C 0012E06C 7C 7B 1B 78 */ mr r27, r3 +/* 80131110 0012E070 7C 9C 23 78 */ mr r28, r4 +/* 80131114 0012E074 7C BD 2B 78 */ mr r29, r5 +/* 80131118 0012E078 3B E0 00 00 */ li r31, 0 +/* 8013111C 0012E07C 41 82 00 08 */ beq lbl_80131124 +/* 80131120 0012E080 48 00 00 0C */ b lbl_8013112C +lbl_80131124: +/* 80131124 0012E084 3B E0 00 01 */ li r31, 1 +/* 80131128 0012E088 4B FF FF 3D */ bl sub_80131064 +lbl_8013112C: +/* 8013112C 0012E08C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80131130 0012E090 40 82 00 1C */ bne lbl_8013114C +/* 80131134 0012E094 FC 20 F8 90 */ fmr f1, f31 +/* 80131138 0012E098 7F 63 DB 78 */ mr r3, r27 +/* 8013113C 0012E09C 7F 84 E3 78 */ mr r4, r28 +/* 80131140 0012E0A0 7F A5 EB 78 */ mr r5, r29 +/* 80131144 0012E0A4 7F C6 F3 78 */ mr r6, r30 +/* 80131148 0012E0A8 4B F4 7D 69 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_8013114C: +/* 8013114C 0012E0AC CB E1 00 28 */ lfd f31, 0x28(r1) +/* 80131150 0012E0B0 BB 61 00 14 */ lmw r27, 0x14(r1) +/* 80131154 0012E0B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80131158 0012E0B8 7C 08 03 A6 */ mtlr r0 +/* 8013115C 0012E0BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80131160 0012E0C0 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CFlickerBatF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CFlickerBatF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80131164 0012E0C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80131168 0012E0C8 7C 08 02 A6 */ mflr r0 +/* 8013116C 0012E0CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80131170 0012E0D0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80131174 0012E0D4 7C 7B 1B 78 */ mr r27, r3 +/* 80131178 0012E0D8 7C 9D 23 78 */ mr r29, r4 +/* 8013117C 0012E0DC 7C DC 33 78 */ mr r28, r6 +/* 80131180 0012E0E0 A0 05 00 00 */ lhz r0, 0(r5) +/* 80131184 0012E0E4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80131188 0012E0E8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8013118C 0012E0EC 4B F4 B9 ED */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80131190 0012E0F0 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 80131194 0012E0F4 41 82 00 A8 */ beq lbl_8013123C +/* 80131198 0012E0F8 40 80 00 B8 */ bge lbl_80131250 +/* 8013119C 0012E0FC 2C 1D 00 21 */ cmpwi r29, 0x21 +/* 801311A0 0012E100 40 80 00 08 */ bge lbl_801311A8 +/* 801311A4 0012E104 48 00 00 AC */ b lbl_80131250 +lbl_801311A8: +/* 801311A8 0012E108 7F 63 DB 78 */ mr r3, r27 +/* 801311AC 0012E10C 7F 85 E3 78 */ mr r5, r28 +/* 801311B0 0012E110 38 80 00 13 */ li r4, 0x13 +/* 801311B4 0012E114 4B F2 2D CD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 801311B8 0012E118 83 FC 0F 44 */ lwz r31, 0xf44(r28) +/* 801311BC 0012E11C 3C 60 80 3D */ lis r3, lbl_803D0050@ha +/* 801311C0 0012E120 38 83 00 50 */ addi r4, r3, lbl_803D0050@l +/* 801311C4 0012E124 A3 BB 00 08 */ lhz r29, 8(r27) +/* 801311C8 0012E128 83 DF 00 00 */ lwz r30, 0(r31) +/* 801311CC 0012E12C 38 60 00 0A */ li r3, 0xa +/* 801311D0 0012E130 38 A0 00 00 */ li r5, 0 +/* 801311D4 0012E134 48 1E 46 45 */ bl __nwa__FUlPCcPCc +/* 801311D8 0012E138 28 03 00 00 */ cmplwi r3, 0 +/* 801311DC 0012E13C 41 82 00 0C */ beq lbl_801311E8 +/* 801311E0 0012E140 93 C3 00 00 */ stw r30, 0(r3) +/* 801311E4 0012E144 93 E3 00 04 */ stw r31, 4(r3) +lbl_801311E8: +/* 801311E8 0012E148 34 83 00 08 */ addic. r4, r3, 8 +/* 801311EC 0012E14C 41 82 00 08 */ beq lbl_801311F4 +/* 801311F0 0012E150 B3 A4 00 00 */ sth r29, 0(r4) +lbl_801311F4: +/* 801311F4 0012E154 80 1C 0F 40 */ lwz r0, 0xf40(r28) +/* 801311F8 0012E158 7C 1F 00 40 */ cmplw r31, r0 +/* 801311FC 0012E15C 40 82 00 08 */ bne lbl_80131204 +/* 80131200 0012E160 90 7C 0F 40 */ stw r3, 0xf40(r28) +lbl_80131204: +/* 80131204 0012E164 80 A3 00 00 */ lwz r5, 0(r3) +/* 80131208 0012E168 7F 84 E3 78 */ mr r4, r28 +/* 8013120C 0012E16C 90 65 00 04 */ stw r3, 4(r5) +/* 80131210 0012E170 80 A3 00 04 */ lwz r5, 4(r3) +/* 80131214 0012E174 90 65 00 00 */ stw r3, 0(r5) +/* 80131218 0012E178 80 7C 0F 50 */ lwz r3, 0xf50(r28) +/* 8013121C 0012E17C 38 03 00 01 */ addi r0, r3, 1 +/* 80131220 0012E180 90 1C 0F 50 */ stw r0, 0xf50(r28) +/* 80131224 0012E184 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 80131228 0012E188 48 00 9A C9 */ bl Activate__15CBodyControllerFR13CStateManager +/* 8013122C 0012E18C C0 02 99 84 */ lfs f0, lbl_805AB6A4@sda21(r2) +/* 80131230 0012E190 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 80131234 0012E194 D0 03 02 D4 */ stfs f0, 0x2d4(r3) +/* 80131238 0012E198 48 00 00 18 */ b lbl_80131250 +lbl_8013123C: +/* 8013123C 0012E19C A0 1B 00 08 */ lhz r0, 8(r27) +/* 80131240 0012E1A0 38 7C 0F 3C */ addi r3, r28, 0xf3c +/* 80131244 0012E1A4 38 81 00 08 */ addi r4, r1, 8 +/* 80131248 0012E1A8 B0 01 00 08 */ sth r0, 8(r1) +/* 8013124C 0012E1AC 4B FF 4B 3D */ bl "remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId" +lbl_80131250: +/* 80131250 0012E1B0 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80131254 0012E1B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80131258 0012E1B8 7C 08 03 A6 */ mtlr r0 +/* 8013125C 0012E1BC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80131260 0012E1C0 4E 80 00 20 */ blr + +.global Accept__11CFlickerBatFR8IVisitor +Accept__11CFlickerBatFR8IVisitor: +/* 80131264 0012E1C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80131268 0012E1C8 7C 08 02 A6 */ mflr r0 +/* 8013126C 0012E1CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80131270 0012E1D0 7C 60 1B 78 */ mr r0, r3 +/* 80131274 0012E1D4 7C 83 23 78 */ mr r3, r4 +/* 80131278 0012E1D8 81 84 00 00 */ lwz r12, 0(r4) +/* 8013127C 0012E1DC 7C 04 03 78 */ mr r4, r0 +/* 80131280 0012E1E0 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80131284 0012E1E4 7D 89 03 A6 */ mtctr r12 +/* 80131288 0012E1E8 4E 80 04 21 */ bctrl +/* 8013128C 0012E1EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80131290 0012E1F0 7C 08 03 A6 */ mtlr r0 +/* 80131294 0012E1F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80131298 0012E1F8 4E 80 00 20 */ blr + +.global __dt__11CFlickerBatFv +__dt__11CFlickerBatFv: +/* 8013129C 0012E1FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801312A0 0012E200 7C 08 02 A6 */ mflr r0 +/* 801312A4 0012E204 90 01 00 14 */ stw r0, 0x14(r1) +/* 801312A8 0012E208 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801312AC 0012E20C 7C 9F 23 78 */ mr r31, r4 +/* 801312B0 0012E210 93 C1 00 08 */ stw r30, 8(r1) +/* 801312B4 0012E214 7C 7E 1B 79 */ or. r30, r3, r3 +/* 801312B8 0012E218 41 82 00 28 */ beq lbl_801312E0 +/* 801312BC 0012E21C 3C A0 80 3E */ lis r5, lbl_803E0DE0@ha +/* 801312C0 0012E220 38 80 00 00 */ li r4, 0 +/* 801312C4 0012E224 38 05 0D E0 */ addi r0, r5, lbl_803E0DE0@l +/* 801312C8 0012E228 90 1E 00 00 */ stw r0, 0(r30) +/* 801312CC 0012E22C 4B F4 62 A5 */ bl __dt__10CPatternedFv +/* 801312D0 0012E230 7F E0 07 35 */ extsh. r0, r31 +/* 801312D4 0012E234 40 81 00 0C */ ble lbl_801312E0 +/* 801312D8 0012E238 7F C3 F3 78 */ mr r3, r30 +/* 801312DC 0012E23C 48 1E 46 55 */ bl Free__7CMemoryFPCv +lbl_801312E0: +/* 801312E0 0012E240 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801312E4 0012E244 7F C3 F3 78 */ mr r3, r30 +/* 801312E8 0012E248 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801312EC 0012E24C 83 C1 00 08 */ lwz r30, 8(r1) +/* 801312F0 0012E250 7C 08 03 A6 */ mtlr r0 +/* 801312F4 0012E254 38 21 00 10 */ addi r1, r1, 0x10 +/* 801312F8 0012E258 4E 80 00 20 */ blr + +.global "__ct__11CFlickerBatF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypebRC16CActorParameters" +"__ct__11CFlickerBatF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypebRC16CActorParameters": +/* 801312FC 0012E25C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80131300 0012E260 7C 08 02 A6 */ mflr r0 +/* 80131304 0012E264 7D 2C 4B 78 */ mr r12, r9 +/* 80131308 0012E268 90 01 00 44 */ stw r0, 0x44(r1) +/* 8013130C 0012E26C 81 61 00 50 */ lwz r11, 0x50(r1) +/* 80131310 0012E270 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80131314 0012E274 7C 7F 1B 78 */ mr r31, r3 +/* 80131318 0012E278 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8013131C 0012E27C 7D 1E 43 78 */ mr r30, r8 +/* 80131320 0012E280 7F C9 F3 78 */ mr r9, r30 +/* 80131324 0012E284 8B C1 00 57 */ lbz r30, 0x57(r1) +/* 80131328 0012E288 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8013132C 0012E28C 7C DD 33 78 */ mr r29, r6 +/* 80131330 0012E290 38 C0 00 01 */ li r6, 1 +/* 80131334 0012E294 93 81 00 30 */ stw r28, 0x30(r1) +/* 80131338 0012E298 7C FC 3B 78 */ mr r28, r7 +/* 8013133C 0012E29C 80 E1 00 48 */ lwz r7, 0x48(r1) +/* 80131340 0012E2A0 7F 88 E3 78 */ mr r8, r28 +/* 80131344 0012E2A4 A0 04 00 00 */ lhz r0, 0(r4) +/* 80131348 0012E2A8 38 80 00 04 */ li r4, 4 +/* 8013134C 0012E2AC B0 01 00 20 */ sth r0, 0x20(r1) +/* 80131350 0012E2B0 38 00 00 00 */ li r0, 0 +/* 80131354 0012E2B4 91 41 00 08 */ stw r10, 8(r1) +/* 80131358 0012E2B8 7D 8A 63 78 */ mr r10, r12 +/* 8013135C 0012E2BC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80131360 0012E2C0 7C A6 2B 78 */ mr r6, r5 +/* 80131364 0012E2C4 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80131368 0012E2C8 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8013136C 0012E2CC 7F A7 EB 78 */ mr r7, r29 +/* 80131370 0012E2D0 8B A1 00 4F */ lbz r29, 0x4f(r1) +/* 80131374 0012E2D4 90 81 00 14 */ stw r4, 0x14(r1) +/* 80131378 0012E2D8 38 80 00 0D */ li r4, 0xd +/* 8013137C 0012E2DC 91 61 00 18 */ stw r11, 0x18(r1) +/* 80131380 0012E2E0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80131384 0012E2E4 4B F4 C0 CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80131388 0012E2E8 3C 60 80 3E */ lis r3, lbl_803E0DE0@ha +/* 8013138C 0012E2EC 7F A0 00 34 */ cntlzw r0, r29 +/* 80131390 0012E2F0 38 63 0D E0 */ addi r3, r3, lbl_803E0DE0@l +/* 80131394 0012E2F4 C0 22 99 60 */ lfs f1, lbl_805AB680@sda21(r2) +/* 80131398 0012E2F8 90 7F 00 00 */ stw r3, 0(r31) +/* 8013139C 0012E2FC 54 00 D9 7E */ srwi r0, r0, 5 +/* 801313A0 0012E300 C0 02 99 64 */ lfs f0, lbl_805AB684@sda21(r2) +/* 801313A4 0012E304 38 A0 00 00 */ li r5, 0 +/* 801313A8 0012E308 D0 3F 05 68 */ stfs f1, 0x568(r31) +/* 801313AC 0012E30C 7F E3 FB 78 */ mr r3, r31 +/* 801313B0 0012E310 7F A4 EB 78 */ mr r4, r29 +/* 801313B4 0012E314 D0 3F 05 6C */ stfs f1, 0x56c(r31) +/* 801313B8 0012E318 D0 3F 05 70 */ stfs f1, 0x570(r31) +/* 801313BC 0012E31C 90 1F 05 74 */ stw r0, 0x574(r31) +/* 801313C0 0012E320 D0 1F 05 78 */ stfs f0, 0x578(r31) +/* 801313C4 0012E324 D0 3F 05 7C */ stfs f1, 0x57c(r31) +/* 801313C8 0012E328 88 1F 05 80 */ lbz r0, 0x580(r31) +/* 801313CC 0012E32C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 801313D0 0012E330 98 1F 05 80 */ stb r0, 0x580(r31) +/* 801313D4 0012E334 88 1F 05 80 */ lbz r0, 0x580(r31) +/* 801313D8 0012E338 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 801313DC 0012E33C 98 1F 05 80 */ stb r0, 0x580(r31) +/* 801313E0 0012E340 88 1F 05 80 */ lbz r0, 0x580(r31) +/* 801313E4 0012E344 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 801313E8 0012E348 98 1F 05 80 */ stb r0, 0x580(r31) +/* 801313EC 0012E34C 88 1F 05 80 */ lbz r0, 0x580(r31) +/* 801313F0 0012E350 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b +/* 801313F4 0012E354 98 1F 05 80 */ stb r0, 0x580(r31) +/* 801313F8 0012E358 4B F4 B5 05 */ bl SetupPlayerCollision__10CPatternedFb +/* 801313FC 0012E35C C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) +/* 80131400 0012E360 38 80 00 00 */ li r4, 0 +/* 80131404 0012E364 7F E3 FB 78 */ mr r3, r31 +/* 80131408 0012E368 D0 1F 03 D8 */ stfs f0, 0x3d8(r31) +/* 8013140C 0012E36C 88 1F 04 02 */ lbz r0, 0x402(r31) +/* 80131410 0012E370 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80131414 0012E374 98 1F 04 02 */ stb r0, 0x402(r31) +/* 80131418 0012E378 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8013141C 0012E37C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80131420 0012E380 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80131424 0012E384 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80131428 0012E388 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8013142C 0012E38C 7C 08 03 A6 */ mtlr r0 +/* 80131430 0012E390 38 21 00 40 */ addi r1, r1, 0x40 +/* 80131434 0012E394 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CPatternedInfo.s b/asm/Kyoto_CWD/Enemies/CPatternedInfo.s new file mode 100644 index 00000000..bc5209b9 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CPatternedInfo.s @@ -0,0 +1,198 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +HasCorrectParameterCount__14CPatternedInfoFR12CInputStream: +/* 80105828 00102788 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8010582C 0010278C 7C 08 02 A6 */ mflr r0 +/* 80105830 00102790 90 01 00 14 */ stw r0, 0x14(r1) +/* 80105834 00102794 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80105838 00102798 7C 7F 1B 78 */ mr r31, r3 +/* 8010583C 0010279C 7C 83 23 78 */ mr r3, r4 +/* 80105840 001027A0 48 23 94 45 */ bl ReadLong__12CInputStreamFv +/* 80105844 001027A4 28 03 00 23 */ cmplwi r3, 0x23 +/* 80105848 001027A8 38 00 00 00 */ li r0, 0 +/* 8010584C 001027AC 41 80 00 10 */ blt lbl_8010585C +/* 80105850 001027B0 28 03 00 26 */ cmplwi r3, 0x26 +/* 80105854 001027B4 41 81 00 08 */ bgt lbl_8010585C +/* 80105858 001027B8 38 00 00 01 */ li r0, 1 +lbl_8010585C: +/* 8010585C 001027BC 98 1F 00 00 */ stb r0, 0(r31) +/* 80105860 001027C0 90 7F 00 04 */ stw r3, 4(r31) +/* 80105864 001027C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80105868 001027C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8010586C 001027CC 7C 08 03 A6 */ mtlr r0 +/* 80105870 001027D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80105874 001027D4 4E 80 00 20 */ blr + +.global __ct__14CPatternedInfoFR12CInputStreamUi +__ct__14CPatternedInfoFR12CInputStreamUi: +/* 80105878 001027D8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010587C 001027DC 7C 08 02 A6 */ mflr r0 +/* 80105880 001027E0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80105884 001027E4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80105888 001027E8 7C BF 2B 78 */ mr r31, r5 +/* 8010588C 001027EC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80105890 001027F0 7C 9E 23 78 */ mr r30, r4 +/* 80105894 001027F4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80105898 001027F8 7C 7D 1B 78 */ mr r29, r3 +/* 8010589C 001027FC 7F C3 F3 78 */ mr r3, r30 +/* 801058A0 00102800 48 23 93 89 */ bl ReadFloat__12CInputStreamFv +/* 801058A4 00102804 D0 3D 00 00 */ stfs f1, 0(r29) +/* 801058A8 00102808 7F C3 F3 78 */ mr r3, r30 +/* 801058AC 0010280C 48 23 93 7D */ bl ReadFloat__12CInputStreamFv +/* 801058B0 00102810 D0 3D 00 04 */ stfs f1, 4(r29) +/* 801058B4 00102814 7F C3 F3 78 */ mr r3, r30 +/* 801058B8 00102818 48 23 93 71 */ bl ReadFloat__12CInputStreamFv +/* 801058BC 0010281C D0 3D 00 08 */ stfs f1, 8(r29) +/* 801058C0 00102820 7F C3 F3 78 */ mr r3, r30 +/* 801058C4 00102824 48 23 93 65 */ bl ReadFloat__12CInputStreamFv +/* 801058C8 00102828 D0 3D 00 0C */ stfs f1, 0xc(r29) +/* 801058CC 0010282C 7F C3 F3 78 */ mr r3, r30 +/* 801058D0 00102830 48 23 93 59 */ bl ReadFloat__12CInputStreamFv +/* 801058D4 00102834 D0 3D 00 10 */ stfs f1, 0x10(r29) +/* 801058D8 00102838 7F C3 F3 78 */ mr r3, r30 +/* 801058DC 0010283C 48 23 93 4D */ bl ReadFloat__12CInputStreamFv +/* 801058E0 00102840 D0 3D 00 14 */ stfs f1, 0x14(r29) +/* 801058E4 00102844 7F C3 F3 78 */ mr r3, r30 +/* 801058E8 00102848 48 23 93 41 */ bl ReadFloat__12CInputStreamFv +/* 801058EC 0010284C D0 3D 00 18 */ stfs f1, 0x18(r29) +/* 801058F0 00102850 7F C3 F3 78 */ mr r3, r30 +/* 801058F4 00102854 48 23 93 35 */ bl ReadFloat__12CInputStreamFv +/* 801058F8 00102858 D0 3D 00 1C */ stfs f1, 0x1c(r29) +/* 801058FC 0010285C 7F C3 F3 78 */ mr r3, r30 +/* 80105900 00102860 48 23 93 29 */ bl ReadFloat__12CInputStreamFv +/* 80105904 00102864 D0 3D 00 20 */ stfs f1, 0x20(r29) +/* 80105908 00102868 7F C3 F3 78 */ mr r3, r30 +/* 8010590C 0010286C 48 23 93 1D */ bl ReadFloat__12CInputStreamFv +/* 80105910 00102870 D0 3D 00 24 */ stfs f1, 0x24(r29) +/* 80105914 00102874 7F C3 F3 78 */ mr r3, r30 +/* 80105918 00102878 48 23 93 11 */ bl ReadFloat__12CInputStreamFv +/* 8010591C 0010287C D0 3D 00 28 */ stfs f1, 0x28(r29) +/* 80105920 00102880 7F C3 F3 78 */ mr r3, r30 +/* 80105924 00102884 48 23 93 05 */ bl ReadFloat__12CInputStreamFv +/* 80105928 00102888 D0 3D 00 2C */ stfs f1, 0x2c(r29) +/* 8010592C 0010288C 7F C3 F3 78 */ mr r3, r30 +/* 80105930 00102890 48 23 92 F9 */ bl ReadFloat__12CInputStreamFv +/* 80105934 00102894 D0 3D 00 30 */ stfs f1, 0x30(r29) +/* 80105938 00102898 7F C4 F3 78 */ mr r4, r30 +/* 8010593C 0010289C 38 7D 00 34 */ addi r3, r29, 0x34 +/* 80105940 001028A0 4B FB DC 21 */ bl __ct__11CDamageInfoFR12CInputStream +/* 80105944 001028A4 7F C3 F3 78 */ mr r3, r30 +/* 80105948 001028A8 48 23 92 E1 */ bl ReadFloat__12CInputStreamFv +/* 8010594C 001028AC D0 3D 00 50 */ stfs f1, 0x50(r29) +/* 80105950 001028B0 7F C4 F3 78 */ mr r4, r30 +/* 80105954 001028B4 38 7D 00 54 */ addi r3, r29, 0x54 +/* 80105958 001028B8 48 0C DE ED */ bl __ct__11CHealthInfoFR12CInputStream +/* 8010595C 001028BC 7F C4 F3 78 */ mr r4, r30 +/* 80105960 001028C0 38 7D 00 5C */ addi r3, r29, 0x5c +/* 80105964 001028C4 4B FF D1 F5 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 80105968 001028C8 7F C3 F3 78 */ mr r3, r30 +/* 8010596C 001028CC 48 23 92 BD */ bl ReadFloat__12CInputStreamFv +/* 80105970 001028D0 D0 3D 00 C4 */ stfs f1, 0xc4(r29) +/* 80105974 001028D4 7F C3 F3 78 */ mr r3, r30 +/* 80105978 001028D8 48 23 92 B1 */ bl ReadFloat__12CInputStreamFv +/* 8010597C 001028DC D0 3D 00 C8 */ stfs f1, 0xc8(r29) +/* 80105980 001028E0 7F C4 F3 78 */ mr r4, r30 +/* 80105984 001028E4 38 7D 00 CC */ addi r3, r29, 0xcc +/* 80105988 001028E8 48 20 F2 05 */ bl __ct__9CVector3fFR12CInputStream +/* 8010598C 001028EC 7F C3 F3 78 */ mr r3, r30 +/* 80105990 001028F0 48 23 92 99 */ bl ReadFloat__12CInputStreamFv +/* 80105994 001028F4 D0 3D 00 D8 */ stfs f1, 0xd8(r29) +/* 80105998 001028F8 7F C3 F3 78 */ mr r3, r30 +/* 8010599C 001028FC 48 23 92 8D */ bl ReadFloat__12CInputStreamFv +/* 801059A0 00102900 D0 3D 00 DC */ stfs f1, 0xdc(r29) +/* 801059A4 00102904 7F C3 F3 78 */ mr r3, r30 +/* 801059A8 00102908 48 23 92 81 */ bl ReadFloat__12CInputStreamFv +/* 801059AC 0010290C D0 3D 00 E0 */ stfs f1, 0xe0(r29) +/* 801059B0 00102910 7F C3 F3 78 */ mr r3, r30 +/* 801059B4 00102914 48 23 92 75 */ bl ReadFloat__12CInputStreamFv +/* 801059B8 00102918 D0 3D 00 E4 */ stfs f1, 0xe4(r29) +/* 801059BC 0010291C 7F C3 F3 78 */ mr r3, r30 +/* 801059C0 00102920 48 23 92 C5 */ bl ReadLong__12CInputStreamFv +/* 801059C4 00102924 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 801059C8 00102928 48 1E 2F E9 */ bl TranslateSFXID__11CSfxManagerFUs +/* 801059CC 0010292C 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 801059D0 00102930 7F C3 F3 78 */ mr r3, r30 +/* 801059D4 00102934 90 1D 00 E8 */ stw r0, 0xe8(r29) +/* 801059D8 00102938 48 23 92 AD */ bl ReadLong__12CInputStreamFv +/* 801059DC 0010293C 90 7D 00 EC */ stw r3, 0xec(r29) +/* 801059E0 00102940 7F C3 F3 78 */ mr r3, r30 +/* 801059E4 00102944 48 23 92 A1 */ bl ReadLong__12CInputStreamFv +/* 801059E8 00102948 90 7D 00 F0 */ stw r3, 0xf0(r29) +/* 801059EC 0010294C 7F C3 F3 78 */ mr r3, r30 +/* 801059F0 00102950 48 23 92 95 */ bl ReadLong__12CInputStreamFv +/* 801059F4 00102954 90 7D 00 F4 */ stw r3, 0xf4(r29) +/* 801059F8 00102958 7F C3 F3 78 */ mr r3, r30 +/* 801059FC 0010295C 48 23 92 E1 */ bl ReadBool__12CInputStreamFv +/* 80105A00 00102960 98 7D 00 F8 */ stb r3, 0xf8(r29) +/* 80105A04 00102964 7F C3 F3 78 */ mr r3, r30 +/* 80105A08 00102968 48 23 92 7D */ bl ReadLong__12CInputStreamFv +/* 80105A0C 0010296C 90 7D 00 FC */ stw r3, 0xfc(r29) +/* 80105A10 00102970 7F C3 F3 78 */ mr r3, r30 +/* 80105A14 00102974 48 23 92 15 */ bl ReadFloat__12CInputStreamFv +/* 80105A18 00102978 D0 3D 01 00 */ stfs f1, 0x100(r29) +/* 80105A1C 0010297C 7F C3 F3 78 */ mr r3, r30 +/* 80105A20 00102980 48 23 92 09 */ bl ReadFloat__12CInputStreamFv +/* 80105A24 00102984 D0 3D 01 04 */ stfs f1, 0x104(r29) +/* 80105A28 00102988 7F C3 F3 78 */ mr r3, r30 +/* 80105A2C 0010298C 48 23 91 FD */ bl ReadFloat__12CInputStreamFv +/* 80105A30 00102990 D0 3D 01 08 */ stfs f1, 0x108(r29) +/* 80105A34 00102994 7F C3 F3 78 */ mr r3, r30 +/* 80105A38 00102998 48 23 92 4D */ bl ReadLong__12CInputStreamFv +/* 80105A3C 0010299C 90 7D 01 0C */ stw r3, 0x10c(r29) +/* 80105A40 001029A0 7F C4 F3 78 */ mr r4, r30 +/* 80105A44 001029A4 38 7D 01 10 */ addi r3, r29, 0x110 +/* 80105A48 001029A8 48 20 F1 45 */ bl __ct__9CVector3fFR12CInputStream +/* 80105A4C 001029AC 7F C3 F3 78 */ mr r3, r30 +/* 80105A50 001029B0 48 23 92 35 */ bl ReadLong__12CInputStreamFv +/* 80105A54 001029B4 90 7D 01 1C */ stw r3, 0x11c(r29) +/* 80105A58 001029B8 7F C3 F3 78 */ mr r3, r30 +/* 80105A5C 001029BC 48 23 92 29 */ bl ReadLong__12CInputStreamFv +/* 80105A60 001029C0 28 1F 00 24 */ cmplwi r31, 0x24 +/* 80105A64 001029C4 90 7D 01 20 */ stw r3, 0x120(r29) +/* 80105A68 001029C8 41 80 00 14 */ blt lbl_80105A7C +/* 80105A6C 001029CC 7F C4 F3 78 */ mr r4, r30 +/* 80105A70 001029D0 38 61 00 08 */ addi r3, r1, 8 +/* 80105A74 001029D4 48 20 F1 19 */ bl __ct__9CVector3fFR12CInputStream +/* 80105A78 001029D8 48 00 00 0C */ b lbl_80105A84 +lbl_80105A7C: +/* 80105A7C 001029DC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80105A80 001029E0 38 63 66 A0 */ addi r3, r3, skZero3f@l +lbl_80105A84: +/* 80105A84 001029E4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80105A88 001029E8 28 1F 00 25 */ cmplwi r31, 0x25 +/* 80105A8C 001029EC D0 1D 01 24 */ stfs f0, 0x124(r29) +/* 80105A90 001029F0 C0 03 00 04 */ lfs f0, 4(r3) +/* 80105A94 001029F4 D0 1D 01 28 */ stfs f0, 0x128(r29) +/* 80105A98 001029F8 C0 03 00 08 */ lfs f0, 8(r3) +/* 80105A9C 001029FC D0 1D 01 2C */ stfs f0, 0x12c(r29) +/* 80105AA0 00102A00 41 80 00 10 */ blt lbl_80105AB0 +/* 80105AA4 00102A04 7F C3 F3 78 */ mr r3, r30 +/* 80105AA8 00102A08 48 23 91 DD */ bl ReadLong__12CInputStreamFv +/* 80105AAC 00102A0C 48 00 00 08 */ b lbl_80105AB4 +lbl_80105AB0: +/* 80105AB0 00102A10 38 60 FF FF */ li r3, -1 +lbl_80105AB4: +/* 80105AB4 00102A14 28 1F 00 26 */ cmplwi r31, 0x26 +/* 80105AB8 00102A18 90 7D 01 30 */ stw r3, 0x130(r29) +/* 80105ABC 00102A1C 41 80 00 18 */ blt lbl_80105AD4 +/* 80105AC0 00102A20 7F C3 F3 78 */ mr r3, r30 +/* 80105AC4 00102A24 48 23 91 C1 */ bl ReadLong__12CInputStreamFv +/* 80105AC8 00102A28 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80105ACC 00102A2C 48 1E 2E E5 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80105AD0 00102A30 48 00 00 08 */ b lbl_80105AD8 +lbl_80105AD4: +/* 80105AD4 00102A34 A0 62 C5 FC */ lhz r3, lbl_805AE31C@sda21(r2) +lbl_80105AD8: +/* 80105AD8 00102A38 54 60 04 3E */ clrlwi r0, r3, 0x10 +/* 80105ADC 00102A3C 7F A3 EB 78 */ mr r3, r29 +/* 80105AE0 00102A40 90 1D 01 34 */ stw r0, 0x134(r29) +/* 80105AE4 00102A44 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80105AE8 00102A48 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80105AEC 00102A4C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80105AF0 00102A50 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80105AF4 00102A54 7C 08 03 A6 */ mtlr r0 +/* 80105AF8 00102A58 38 21 00 30 */ addi r1, r1, 0x30 +/* 80105AFC 00102A5C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CPuddleSpore.s b/asm/Kyoto_CWD/Enemies/CPuddleSpore.s new file mode 100644 index 00000000..e07c9b6a --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CPuddleSpore.s @@ -0,0 +1,2827 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__12CPuddleSporeFv +__dt__12CPuddleSporeFv: +/* 80146AAC 00143A0C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80146AB0 00143A10 7C 08 02 A6 */ mflr r0 +/* 80146AB4 00143A14 90 01 00 34 */ stw r0, 0x34(r1) +/* 80146AB8 00143A18 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80146ABC 00143A1C 7C 9F 23 78 */ mr r31, r4 +/* 80146AC0 00143A20 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80146AC4 00143A24 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80146AC8 00143A28 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80146ACC 00143A2C 93 81 00 20 */ stw r28, 0x20(r1) +/* 80146AD0 00143A30 41 82 00 F4 */ beq lbl_80146BC4 +/* 80146AD4 00143A34 3C 60 80 3E */ lis r3, lbl_803E20C4@ha +/* 80146AD8 00143A38 34 1E 05 EC */ addic. r0, r30, 0x5ec +/* 80146ADC 00143A3C 38 03 20 C4 */ addi r0, r3, lbl_803E20C4@l +/* 80146AE0 00143A40 90 1E 00 00 */ stw r0, 0(r30) +/* 80146AE4 00143A44 41 82 00 20 */ beq lbl_80146B04 +/* 80146AE8 00143A48 34 1E 05 EC */ addic. r0, r30, 0x5ec +/* 80146AEC 00143A4C 41 82 00 18 */ beq lbl_80146B04 +/* 80146AF0 00143A50 34 1E 05 EC */ addic. r0, r30, 0x5ec +/* 80146AF4 00143A54 41 82 00 10 */ beq lbl_80146B04 +/* 80146AF8 00143A58 38 7E 05 EC */ addi r3, r30, 0x5ec +/* 80146AFC 00143A5C 38 80 00 00 */ li r4, 0 +/* 80146B00 00143A60 48 1F A3 41 */ bl __dt__6CTokenFv +lbl_80146B04: +/* 80146B04 00143A64 34 1E 05 DC */ addic. r0, r30, 0x5dc +/* 80146B08 00143A68 41 82 00 5C */ beq lbl_80146B64 +/* 80146B0C 00143A6C 80 1E 05 E0 */ lwz r0, 0x5e0(r30) +/* 80146B10 00143A70 83 9E 05 E8 */ lwz r28, 0x5e8(r30) +/* 80146B14 00143A74 1C 00 03 40 */ mulli r0, r0, 0x340 +/* 80146B18 00143A78 93 81 00 0C */ stw r28, 0xc(r1) +/* 80146B1C 00143A7C 7F BC 02 14 */ add r29, r28, r0 +/* 80146B20 00143A80 93 81 00 08 */ stw r28, 8(r1) +/* 80146B24 00143A84 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80146B28 00143A88 93 A1 00 10 */ stw r29, 0x10(r1) +/* 80146B2C 00143A8C 48 00 00 20 */ b lbl_80146B4C +lbl_80146B30: +/* 80146B30 00143A90 7F 83 E3 78 */ mr r3, r28 +/* 80146B34 00143A94 38 80 FF FF */ li r4, -1 +/* 80146B38 00143A98 81 9C 00 00 */ lwz r12, 0(r28) +/* 80146B3C 00143A9C 81 8C 00 08 */ lwz r12, 8(r12) +/* 80146B40 00143AA0 7D 89 03 A6 */ mtctr r12 +/* 80146B44 00143AA4 4E 80 04 21 */ bctrl +/* 80146B48 00143AA8 3B 9C 03 40 */ addi r28, r28, 0x340 +lbl_80146B4C: +/* 80146B4C 00143AAC 7C 1C E8 40 */ cmplw r28, r29 +/* 80146B50 00143AB0 40 82 FF E0 */ bne lbl_80146B30 +/* 80146B54 00143AB4 80 7E 05 E8 */ lwz r3, 0x5e8(r30) +/* 80146B58 00143AB8 28 03 00 00 */ cmplwi r3, 0 +/* 80146B5C 00143ABC 41 82 00 08 */ beq lbl_80146B64 +/* 80146B60 00143AC0 48 1C ED D1 */ bl Free__7CMemoryFPCv +lbl_80146B64: +/* 80146B64 00143AC4 34 1E 05 D0 */ addic. r0, r30, 0x5d0 +/* 80146B68 00143AC8 41 82 00 18 */ beq lbl_80146B80 +/* 80146B6C 00143ACC 34 1E 05 D0 */ addic. r0, r30, 0x5d0 +/* 80146B70 00143AD0 41 82 00 10 */ beq lbl_80146B80 +/* 80146B74 00143AD4 38 7E 05 D0 */ addi r3, r30, 0x5d0 +/* 80146B78 00143AD8 38 80 00 00 */ li r4, 0 +/* 80146B7C 00143ADC 48 1F A2 C5 */ bl __dt__6CTokenFv +lbl_80146B80: +/* 80146B80 00143AE0 34 1E 05 A0 */ addic. r0, r30, 0x5a0 +/* 80146B84 00143AE4 41 82 00 24 */ beq lbl_80146BA8 +/* 80146B88 00143AE8 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha +/* 80146B8C 00143AEC 34 1E 05 A0 */ addic. r0, r30, 0x5a0 +/* 80146B90 00143AF0 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l +/* 80146B94 00143AF4 90 1E 05 A0 */ stw r0, 0x5a0(r30) +/* 80146B98 00143AF8 41 82 00 10 */ beq lbl_80146BA8 +/* 80146B9C 00143AFC 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80146BA0 00143B00 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 80146BA4 00143B04 90 1E 05 A0 */ stw r0, 0x5a0(r30) +lbl_80146BA8: +/* 80146BA8 00143B08 7F C3 F3 78 */ mr r3, r30 +/* 80146BAC 00143B0C 38 80 00 00 */ li r4, 0 +/* 80146BB0 00143B10 4B F3 09 C1 */ bl __dt__10CPatternedFv +/* 80146BB4 00143B14 7F E0 07 35 */ extsh. r0, r31 +/* 80146BB8 00143B18 40 81 00 0C */ ble lbl_80146BC4 +/* 80146BBC 00143B1C 7F C3 F3 78 */ mr r3, r30 +/* 80146BC0 00143B20 48 1C ED 71 */ bl Free__7CMemoryFPCv +lbl_80146BC4: +/* 80146BC4 00143B24 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80146BC8 00143B28 7F C3 F3 78 */ mr r3, r30 +/* 80146BCC 00143B2C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80146BD0 00143B30 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80146BD4 00143B34 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80146BD8 00143B38 83 81 00 20 */ lwz r28, 0x20(r1) +/* 80146BDC 00143B3C 7C 08 03 A6 */ mtlr r0 +/* 80146BE0 00143B40 38 21 00 30 */ addi r1, r1, 0x30 +/* 80146BE4 00143B44 4E 80 00 20 */ blr + +.global Attack__12CPuddleSporeFR13CStateManager9EStateMsgf +Attack__12CPuddleSporeFR13CStateManager9EStateMsgf: +/* 80146BE8 00143B48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80146BEC 00143B4C 7C 08 02 A6 */ mflr r0 +/* 80146BF0 00143B50 2C 05 00 01 */ cmpwi r5, 1 +/* 80146BF4 00143B54 90 01 00 24 */ stw r0, 0x24(r1) +/* 80146BF8 00143B58 41 82 00 34 */ beq lbl_80146C2C +/* 80146BFC 00143B5C 40 80 00 10 */ bge lbl_80146C0C +/* 80146C00 00143B60 2C 05 00 00 */ cmpwi r5, 0 +/* 80146C04 00143B64 40 80 00 14 */ bge lbl_80146C18 +/* 80146C08 00143B68 48 00 00 60 */ b lbl_80146C68 +lbl_80146C0C: +/* 80146C0C 00143B6C 2C 05 00 03 */ cmpwi r5, 3 +/* 80146C10 00143B70 40 80 00 58 */ bge lbl_80146C68 +/* 80146C14 00143B74 48 00 00 4C */ b lbl_80146C60 +lbl_80146C18: +/* 80146C18 00143B78 38 00 00 01 */ li r0, 1 +/* 80146C1C 00143B7C C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) +/* 80146C20 00143B80 90 03 03 2C */ stw r0, 0x32c(r3) +/* 80146C24 00143B84 D0 03 05 98 */ stfs f0, 0x598(r3) +/* 80146C28 00143B88 48 00 00 40 */ b lbl_80146C68 +lbl_80146C2C: +/* 80146C2C 00143B8C 3C A0 80 3E */ lis r5, lbl_803E20B8@ha +/* 80146C30 00143B90 38 C1 00 08 */ addi r6, r1, 8 +/* 80146C34 00143B94 39 45 20 B8 */ addi r10, r5, lbl_803E20B8@l +/* 80146C38 00143B98 38 A0 00 07 */ li r5, 7 +/* 80146C3C 00143B9C 81 2A 00 00 */ lwz r9, 0(r10) +/* 80146C40 00143BA0 38 E0 00 01 */ li r7, 1 +/* 80146C44 00143BA4 81 0A 00 04 */ lwz r8, 4(r10) +/* 80146C48 00143BA8 80 0A 00 08 */ lwz r0, 8(r10) +/* 80146C4C 00143BAC 91 21 00 08 */ stw r9, 8(r1) +/* 80146C50 00143BB0 91 01 00 0C */ stw r8, 0xc(r1) +/* 80146C54 00143BB4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80146C58 00143BB8 4B F3 5B 5D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80146C5C 00143BBC 48 00 00 0C */ b lbl_80146C68 +lbl_80146C60: +/* 80146C60 00143BC0 38 00 00 00 */ li r0, 0 +/* 80146C64 00143BC4 90 03 03 2C */ stw r0, 0x32c(r3) +lbl_80146C68: +/* 80146C68 00143BC8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80146C6C 00143BCC 7C 08 03 A6 */ mtlr r0 +/* 80146C70 00143BD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80146C74 00143BD4 4E 80 00 20 */ blr + +.global GetUp__12CPuddleSporeFR13CStateManager9EStateMsgf +GetUp__12CPuddleSporeFR13CStateManager9EStateMsgf: +/* 80146C78 00143BD8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80146C7C 00143BDC 7C 08 02 A6 */ mflr r0 +/* 80146C80 00143BE0 2C 05 00 01 */ cmpwi r5, 1 +/* 80146C84 00143BE4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80146C88 00143BE8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80146C8C 00143BEC 7C 7F 1B 78 */ mr r31, r3 +/* 80146C90 00143BF0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80146C94 00143BF4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80146C98 00143BF8 7C 9D 23 78 */ mr r29, r4 +/* 80146C9C 00143BFC 41 82 00 AC */ beq lbl_80146D48 +/* 80146CA0 00143C00 40 80 00 10 */ bge lbl_80146CB0 +/* 80146CA4 00143C04 2C 05 00 00 */ cmpwi r5, 0 +/* 80146CA8 00143C08 40 80 00 14 */ bge lbl_80146CBC +/* 80146CAC 00143C0C 48 00 01 68 */ b lbl_80146E14 +lbl_80146CB0: +/* 80146CB0 00143C10 2C 05 00 03 */ cmpwi r5, 3 +/* 80146CB4 00143C14 40 80 01 60 */ bge lbl_80146E14 +/* 80146CB8 00143C18 48 00 01 54 */ b lbl_80146E0C +lbl_80146CBC: +/* 80146CBC 00143C1C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80146CC0 00143C20 38 A0 00 00 */ li r5, 0 +/* 80146CC4 00143C24 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80146CC8 00143C28 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80146CCC 00143C2C 3C 80 80 3E */ lis r4, lbl_803DAA20@ha +/* 80146CD0 00143C30 90 01 00 14 */ stw r0, 0x14(r1) +/* 80146CD4 00143C34 38 04 AA 20 */ addi r0, r4, lbl_803DAA20@l +/* 80146CD8 00143C38 3B C3 00 04 */ addi r30, r3, 4 +/* 80146CDC 00143C3C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 80146CE0 00143C40 7F C3 F3 78 */ mr r3, r30 +/* 80146CE4 00143C44 38 80 00 00 */ li r4, 0 +/* 80146CE8 00143C48 90 01 00 14 */ stw r0, 0x14(r1) +/* 80146CEC 00143C4C 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80146CF0 00143C50 4B FE A7 49 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80146CF4 00143C54 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80146CF8 00143C58 3C 60 80 3E */ lis r3, lbl_803DAA20@ha +/* 80146CFC 00143C5C 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l +/* 80146D00 00143C60 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80146D04 00143C64 90 1E 00 BC */ stw r0, 0xbc(r30) +/* 80146D08 00143C68 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80146D0C 00143C6C 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80146D10 00143C70 7F E3 FB 78 */ mr r3, r31 +/* 80146D14 00143C74 90 81 00 14 */ stw r4, 0x14(r1) +/* 80146D18 00143C78 7F A4 EB 78 */ mr r4, r29 +/* 80146D1C 00143C7C 90 BE 00 C0 */ stw r5, 0xc0(r30) +/* 80146D20 00143C80 90 01 00 14 */ stw r0, 0x14(r1) +/* 80146D24 00143C84 C0 3F 05 80 */ lfs f1, 0x580(r31) +/* 80146D28 00143C88 48 00 0B 39 */ bl KnockPlayer__12CPuddleSporeFR13CStateManagerf +/* 80146D2C 00143C8C C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) +/* 80146D30 00143C90 38 00 00 00 */ li r0, 0 +/* 80146D34 00143C94 C0 02 9C 8C */ lfs f0, lbl_805AB9AC@sda21(r2) +/* 80146D38 00143C98 D0 3F 05 6C */ stfs f1, 0x56c(r31) +/* 80146D3C 00143C9C D0 1F 05 98 */ stfs f0, 0x598(r31) +/* 80146D40 00143CA0 90 1F 05 CC */ stw r0, 0x5cc(r31) +/* 80146D44 00143CA4 48 00 00 D0 */ b lbl_80146E14 +lbl_80146D48: +/* 80146D48 00143CA8 C0 3F 05 80 */ lfs f1, 0x580(r31) +/* 80146D4C 00143CAC C0 02 9C 90 */ lfs f0, lbl_805AB9B0@sda21(r2) +/* 80146D50 00143CB0 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80146D54 00143CB4 48 00 0B 0D */ bl KnockPlayer__12CPuddleSporeFR13CStateManagerf +/* 80146D58 00143CB8 80 1F 05 CC */ lwz r0, 0x5cc(r31) +/* 80146D5C 00143CBC 2C 00 00 01 */ cmpwi r0, 1 +/* 80146D60 00143CC0 41 82 00 90 */ beq lbl_80146DF0 +/* 80146D64 00143CC4 40 80 00 B0 */ bge lbl_80146E14 +/* 80146D68 00143CC8 2C 00 00 00 */ cmpwi r0, 0 +/* 80146D6C 00143CCC 40 80 00 08 */ bge lbl_80146D74 +/* 80146D70 00143CD0 48 00 00 A4 */ b lbl_80146E14 +lbl_80146D74: +/* 80146D74 00143CD4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80146D78 00143CD8 38 A0 00 00 */ li r5, 0 +/* 80146D7C 00143CDC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80146D80 00143CE0 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80146D84 00143CE4 3C 80 80 3E */ lis r4, lbl_803DAA20@ha +/* 80146D88 00143CE8 90 01 00 08 */ stw r0, 8(r1) +/* 80146D8C 00143CEC 38 04 AA 20 */ addi r0, r4, lbl_803DAA20@l +/* 80146D90 00143CF0 3B C3 00 04 */ addi r30, r3, 4 +/* 80146D94 00143CF4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80146D98 00143CF8 7F C3 F3 78 */ mr r3, r30 +/* 80146D9C 00143CFC 38 80 00 00 */ li r4, 0 +/* 80146DA0 00143D00 90 01 00 08 */ stw r0, 8(r1) +/* 80146DA4 00143D04 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80146DA8 00143D08 4B FE A6 91 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80146DAC 00143D0C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80146DB0 00143D10 3C 60 80 3E */ lis r3, lbl_803DAA20@ha +/* 80146DB4 00143D14 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l +/* 80146DB8 00143D18 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80146DBC 00143D1C 90 1E 00 BC */ stw r0, 0xbc(r30) +/* 80146DC0 00143D20 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80146DC4 00143D24 80 61 00 10 */ lwz r3, 0x10(r1) +/* 80146DC8 00143D28 90 81 00 08 */ stw r4, 8(r1) +/* 80146DCC 00143D2C 90 7E 00 C0 */ stw r3, 0xc0(r30) +/* 80146DD0 00143D30 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80146DD4 00143D34 90 01 00 08 */ stw r0, 8(r1) +/* 80146DD8 00143D38 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80146DDC 00143D3C 2C 00 00 01 */ cmpwi r0, 1 +/* 80146DE0 00143D40 40 82 00 34 */ bne lbl_80146E14 +/* 80146DE4 00143D44 38 00 00 01 */ li r0, 1 +/* 80146DE8 00143D48 90 1F 05 CC */ stw r0, 0x5cc(r31) +/* 80146DEC 00143D4C 48 00 00 28 */ b lbl_80146E14 +lbl_80146DF0: +/* 80146DF0 00143D50 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80146DF4 00143D54 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80146DF8 00143D58 2C 00 00 01 */ cmpwi r0, 1 +/* 80146DFC 00143D5C 41 82 00 18 */ beq lbl_80146E14 +/* 80146E00 00143D60 38 00 00 01 */ li r0, 1 +/* 80146E04 00143D64 90 1F 05 CC */ stw r0, 0x5cc(r31) +/* 80146E08 00143D68 48 00 00 0C */ b lbl_80146E14 +lbl_80146E0C: +/* 80146E0C 00143D6C 38 00 00 00 */ li r0, 0 +/* 80146E10 00143D70 90 1F 05 C8 */ stw r0, 0x5c8(r31) +lbl_80146E14: +/* 80146E14 00143D74 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80146E18 00143D78 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80146E1C 00143D7C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80146E20 00143D80 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80146E24 00143D84 7C 08 03 A6 */ mtlr r0 +/* 80146E28 00143D88 38 21 00 30 */ addi r1, r1, 0x30 +/* 80146E2C 00143D8C 4E 80 00 20 */ blr + +.global TurnAround__12CPuddleSporeFR13CStateManager9EStateMsgf +TurnAround__12CPuddleSporeFR13CStateManager9EStateMsgf: +/* 80146E30 00143D90 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80146E34 00143D94 7C 08 02 A6 */ mflr r0 +/* 80146E38 00143D98 2C 05 00 01 */ cmpwi r5, 1 +/* 80146E3C 00143D9C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80146E40 00143DA0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80146E44 00143DA4 41 82 00 60 */ beq lbl_80146EA4 +/* 80146E48 00143DA8 40 80 00 10 */ bge lbl_80146E58 +/* 80146E4C 00143DAC 2C 05 00 00 */ cmpwi r5, 0 +/* 80146E50 00143DB0 40 80 00 14 */ bge lbl_80146E64 +/* 80146E54 00143DB4 48 00 01 54 */ b lbl_80146FA8 +lbl_80146E58: +/* 80146E58 00143DB8 2C 05 00 03 */ cmpwi r5, 3 +/* 80146E5C 00143DBC 40 80 01 4C */ bge lbl_80146FA8 +/* 80146E60 00143DC0 48 00 01 38 */ b lbl_80146F98 +lbl_80146E64: +/* 80146E64 00143DC4 C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) +/* 80146E68 00143DC8 38 A0 00 00 */ li r5, 0 +/* 80146E6C 00143DCC C0 02 9C 94 */ lfs f0, lbl_805AB9B4@sda21(r2) +/* 80146E70 00143DD0 38 00 00 02 */ li r0, 2 +/* 80146E74 00143DD4 D0 23 05 68 */ stfs f1, 0x568(r3) +/* 80146E78 00143DD8 D0 23 05 6C */ stfs f1, 0x56c(r3) +/* 80146E7C 00143DDC 88 83 04 00 */ lbz r4, 0x400(r3) +/* 80146E80 00143DE0 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 +/* 80146E84 00143DE4 98 83 04 00 */ stb r4, 0x400(r3) +/* 80146E88 00143DE8 D0 03 05 98 */ stfs f0, 0x598(r3) +/* 80146E8C 00143DEC 90 03 05 C8 */ stw r0, 0x5c8(r3) +/* 80146E90 00143DF0 90 A3 05 CC */ stw r5, 0x5cc(r3) +/* 80146E94 00143DF4 88 03 06 14 */ lbz r0, 0x614(r3) +/* 80146E98 00143DF8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80146E9C 00143DFC 98 03 06 14 */ stb r0, 0x614(r3) +/* 80146EA0 00143E00 48 00 01 08 */ b lbl_80146FA8 +lbl_80146EA4: +/* 80146EA4 00143E04 80 03 05 CC */ lwz r0, 0x5cc(r3) +/* 80146EA8 00143E08 2C 00 00 01 */ cmpwi r0, 1 +/* 80146EAC 00143E0C 41 82 00 D0 */ beq lbl_80146F7C +/* 80146EB0 00143E10 40 80 00 F8 */ bge lbl_80146FA8 +/* 80146EB4 00143E14 2C 00 00 00 */ cmpwi r0, 0 +/* 80146EB8 00143E18 40 80 00 0C */ bge lbl_80146EC4 +/* 80146EBC 00143E1C 48 00 00 EC */ b lbl_80146FA8 +/* 80146EC0 00143E20 48 00 00 E8 */ b lbl_80146FA8 +lbl_80146EC4: +/* 80146EC4 00143E24 80 83 04 50 */ lwz r4, 0x450(r3) +/* 80146EC8 00143E28 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 80146ECC 00143E2C 2C 00 00 02 */ cmpwi r0, 2 +/* 80146ED0 00143E30 40 82 00 1C */ bne lbl_80146EEC +/* 80146ED4 00143E34 38 80 00 01 */ li r4, 1 +/* 80146ED8 00143E38 90 83 05 CC */ stw r4, 0x5cc(r3) +/* 80146EDC 00143E3C 88 03 06 14 */ lbz r0, 0x614(r3) +/* 80146EE0 00143E40 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80146EE4 00143E44 98 03 06 14 */ stb r0, 0x614(r3) +/* 80146EE8 00143E48 48 00 00 C0 */ b lbl_80146FA8 +lbl_80146EEC: +/* 80146EEC 00143E4C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80146EF0 00143E50 C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) +/* 80146EF4 00143E54 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80146EF8 00143E58 C0 22 9C 98 */ lfs f1, lbl_805AB9B8@sda21(r2) +/* 80146EFC 00143E5C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha +/* 80146F00 00143E60 90 01 00 08 */ stw r0, 8(r1) +/* 80146F04 00143E64 38 A3 AA 50 */ addi r5, r3, lbl_803DAA50@l +/* 80146F08 00143E68 38 60 00 03 */ li r3, 3 +/* 80146F0C 00143E6C 38 00 00 01 */ li r0, 1 +/* 80146F10 00143E70 3B E4 00 04 */ addi r31, r4, 4 +/* 80146F14 00143E74 90 61 00 0C */ stw r3, 0xc(r1) +/* 80146F18 00143E78 7F E3 FB 78 */ mr r3, r31 +/* 80146F1C 00143E7C 38 80 00 03 */ li r4, 3 +/* 80146F20 00143E80 90 A1 00 08 */ stw r5, 8(r1) +/* 80146F24 00143E84 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 80146F28 00143E88 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80146F2C 00143E8C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80146F30 00143E90 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80146F34 00143E94 4B FE A5 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80146F38 00143E98 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80146F3C 00143E9C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha +/* 80146F40 00143EA0 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l +/* 80146F44 00143EA4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80146F48 00143EA8 90 1F 00 E0 */ stw r0, 0xe0(r31) +/* 80146F4C 00143EAC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80146F50 00143EB0 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80146F54 00143EB4 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80146F58 00143EB8 90 BF 00 E4 */ stw r5, 0xe4(r31) +/* 80146F5C 00143EBC 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80146F60 00143EC0 90 7F 00 E8 */ stw r3, 0xe8(r31) +/* 80146F64 00143EC4 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80146F68 00143EC8 90 BF 00 EC */ stw r5, 0xec(r31) +/* 80146F6C 00143ECC 90 81 00 08 */ stw r4, 8(r1) +/* 80146F70 00143ED0 90 7F 00 F0 */ stw r3, 0xf0(r31) +/* 80146F74 00143ED4 90 01 00 08 */ stw r0, 8(r1) +/* 80146F78 00143ED8 48 00 00 30 */ b lbl_80146FA8 +lbl_80146F7C: +/* 80146F7C 00143EDC 80 83 04 50 */ lwz r4, 0x450(r3) +/* 80146F80 00143EE0 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 80146F84 00143EE4 2C 00 00 02 */ cmpwi r0, 2 +/* 80146F88 00143EE8 41 82 00 20 */ beq lbl_80146FA8 +/* 80146F8C 00143EEC 38 00 00 02 */ li r0, 2 +/* 80146F90 00143EF0 90 03 05 CC */ stw r0, 0x5cc(r3) +/* 80146F94 00143EF4 48 00 00 14 */ b lbl_80146FA8 +lbl_80146F98: +/* 80146F98 00143EF8 88 03 06 14 */ lbz r0, 0x614(r3) +/* 80146F9C 00143EFC 38 80 00 00 */ li r4, 0 +/* 80146FA0 00143F00 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80146FA4 00143F04 98 03 06 14 */ stb r0, 0x614(r3) +lbl_80146FA8: +/* 80146FA8 00143F08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80146FAC 00143F0C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80146FB0 00143F10 7C 08 03 A6 */ mtlr r0 +/* 80146FB4 00143F14 38 21 00 30 */ addi r1, r1, 0x30 +/* 80146FB8 00143F18 4E 80 00 20 */ blr + +.global Run__12CPuddleSporeFR13CStateManager9EStateMsgf +Run__12CPuddleSporeFR13CStateManager9EStateMsgf: +/* 80146FBC 00143F1C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80146FC0 00143F20 7C 08 02 A6 */ mflr r0 +/* 80146FC4 00143F24 2C 05 00 01 */ cmpwi r5, 1 +/* 80146FC8 00143F28 90 01 00 34 */ stw r0, 0x34(r1) +/* 80146FCC 00143F2C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80146FD0 00143F30 7C 7F 1B 78 */ mr r31, r3 +/* 80146FD4 00143F34 41 82 00 54 */ beq lbl_80147028 +/* 80146FD8 00143F38 40 80 00 10 */ bge lbl_80146FE8 +/* 80146FDC 00143F3C 2C 05 00 00 */ cmpwi r5, 0 +/* 80146FE0 00143F40 40 80 00 14 */ bge lbl_80146FF4 +/* 80146FE4 00143F44 48 00 01 60 */ b lbl_80147144 +lbl_80146FE8: +/* 80146FE8 00143F48 2C 05 00 03 */ cmpwi r5, 3 +/* 80146FEC 00143F4C 40 80 01 58 */ bge lbl_80147144 +/* 80146FF0 00143F50 48 00 01 00 */ b lbl_801470F0 +lbl_80146FF4: +/* 80146FF4 00143F54 38 00 00 01 */ li r0, 1 +/* 80146FF8 00143F58 38 60 00 00 */ li r3, 0 +/* 80146FFC 00143F5C 90 1F 05 C8 */ stw r0, 0x5c8(r31) +/* 80147000 00143F60 C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) +/* 80147004 00143F64 90 7F 05 CC */ stw r3, 0x5cc(r31) +/* 80147008 00143F68 C0 02 9C 9C */ lfs f0, lbl_805AB9BC@sda21(r2) +/* 8014700C 00143F6C D0 3F 05 68 */ stfs f1, 0x568(r31) +/* 80147010 00143F70 88 1F 06 14 */ lbz r0, 0x614(r31) +/* 80147014 00143F74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80147018 00143F78 98 1F 06 14 */ stb r0, 0x614(r31) +/* 8014701C 00143F7C D0 3F 05 98 */ stfs f1, 0x598(r31) +/* 80147020 00143F80 D0 1F 05 9C */ stfs f0, 0x59c(r31) +/* 80147024 00143F84 48 00 01 20 */ b lbl_80147144 +lbl_80147028: +/* 80147028 00143F88 80 1F 05 CC */ lwz r0, 0x5cc(r31) +/* 8014702C 00143F8C 2C 00 00 01 */ cmpwi r0, 1 +/* 80147030 00143F90 41 82 00 A4 */ beq lbl_801470D4 +/* 80147034 00143F94 40 80 01 10 */ bge lbl_80147144 +/* 80147038 00143F98 2C 00 00 00 */ cmpwi r0, 0 +/* 8014703C 00143F9C 40 80 00 0C */ bge lbl_80147048 +/* 80147040 00143FA0 48 00 01 04 */ b lbl_80147144 +/* 80147044 00143FA4 48 00 01 00 */ b lbl_80147144 +lbl_80147048: +/* 80147048 00143FA8 80 DF 04 50 */ lwz r6, 0x450(r31) +/* 8014704C 00143FAC 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 80147050 00143FB0 2C 00 00 0A */ cmpwi r0, 0xa +/* 80147054 00143FB4 40 82 00 1C */ bne lbl_80147070 +/* 80147058 00143FB8 38 60 00 01 */ li r3, 1 +/* 8014705C 00143FBC 90 7F 05 CC */ stw r3, 0x5cc(r31) +/* 80147060 00143FC0 88 1F 06 14 */ lbz r0, 0x614(r31) +/* 80147064 00143FC4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80147068 00143FC8 98 1F 06 14 */ stb r0, 0x614(r31) +/* 8014706C 00143FCC 48 00 00 D8 */ b lbl_80147144 +lbl_80147070: +/* 80147070 00143FD0 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80147074 00143FD4 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 80147078 00143FD8 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8014707C 00143FDC 38 80 00 08 */ li r4, 8 +/* 80147080 00143FE0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80147084 00143FE4 38 A3 AA 2C */ addi r5, r3, lbl_803DAA2C@l +/* 80147088 00143FE8 38 00 00 00 */ li r0, 0 +/* 8014708C 00143FEC 3B E6 00 04 */ addi r31, r6, 4 +/* 80147090 00143FF0 90 81 00 14 */ stw r4, 0x14(r1) +/* 80147094 00143FF4 7F E3 FB 78 */ mr r3, r31 +/* 80147098 00143FF8 38 80 00 08 */ li r4, 8 +/* 8014709C 00143FFC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 801470A0 00144000 90 01 00 18 */ stw r0, 0x18(r1) +/* 801470A4 00144004 4B FE A3 95 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801470A8 00144008 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801470AC 0014400C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha +/* 801470B0 00144010 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l +/* 801470B4 00144014 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801470B8 00144018 90 1F 01 58 */ stw r0, 0x158(r31) +/* 801470BC 0014401C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801470C0 00144020 80 61 00 18 */ lwz r3, 0x18(r1) +/* 801470C4 00144024 90 81 00 10 */ stw r4, 0x10(r1) +/* 801470C8 00144028 90 7F 01 5C */ stw r3, 0x15c(r31) +/* 801470CC 0014402C 90 01 00 10 */ stw r0, 0x10(r1) +/* 801470D0 00144030 48 00 00 74 */ b lbl_80147144 +lbl_801470D4: +/* 801470D4 00144034 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 801470D8 00144038 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 801470DC 0014403C 2C 00 00 0A */ cmpwi r0, 0xa +/* 801470E0 00144040 41 82 00 64 */ beq lbl_80147144 +/* 801470E4 00144044 38 00 00 02 */ li r0, 2 +/* 801470E8 00144048 90 1F 05 CC */ stw r0, 0x5cc(r31) +/* 801470EC 0014404C 48 00 00 58 */ b lbl_80147144 +lbl_801470F0: +/* 801470F0 00144050 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801470F4 00144054 38 00 00 0A */ li r0, 0xa +/* 801470F8 00144058 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 801470FC 0014405C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80147100 00144060 38 81 00 08 */ addi r4, r1, 8 +/* 80147104 00144064 90 61 00 08 */ stw r3, 8(r1) +/* 80147108 00144068 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8014710C 0014406C 38 63 00 04 */ addi r3, r3, 4 +/* 80147110 00144070 4B FE A6 A9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80147114 00144074 34 01 00 08 */ addic. r0, r1, 8 +/* 80147118 00144078 41 82 00 10 */ beq lbl_80147128 +/* 8014711C 0014407C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80147120 00144080 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80147124 00144084 90 01 00 08 */ stw r0, 8(r1) +lbl_80147128: +/* 80147128 00144088 38 60 00 00 */ li r3, 0 +/* 8014712C 0014408C C0 02 9C 98 */ lfs f0, lbl_805AB9B8@sda21(r2) +/* 80147130 00144090 90 7F 05 C8 */ stw r3, 0x5c8(r31) +/* 80147134 00144094 D0 1F 05 9C */ stfs f0, 0x59c(r31) +/* 80147138 00144098 88 1F 06 14 */ lbz r0, 0x614(r31) +/* 8014713C 0014409C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80147140 001440A0 98 1F 06 14 */ stb r0, 0x614(r31) +lbl_80147144: +/* 80147144 001440A4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80147148 001440A8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8014714C 001440AC 7C 08 03 A6 */ mtlr r0 +/* 80147150 001440B0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80147154 001440B4 4E 80 00 20 */ blr + +.global Active__12CPuddleSporeFR13CStateManager9EStateMsgf +Active__12CPuddleSporeFR13CStateManager9EStateMsgf: +/* 80147158 001440B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8014715C 001440BC 7C 08 02 A6 */ mflr r0 +/* 80147160 001440C0 2C 05 00 01 */ cmpwi r5, 1 +/* 80147164 001440C4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80147168 001440C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8014716C 001440CC 7C 7F 1B 78 */ mr r31, r3 +/* 80147170 001440D0 41 82 00 78 */ beq lbl_801471E8 +/* 80147174 001440D4 40 80 00 10 */ bge lbl_80147184 +/* 80147178 001440D8 2C 05 00 00 */ cmpwi r5, 0 +/* 8014717C 001440DC 40 80 00 14 */ bge lbl_80147190 +/* 80147180 001440E0 48 00 00 68 */ b lbl_801471E8 +lbl_80147184: +/* 80147184 001440E4 2C 05 00 03 */ cmpwi r5, 3 +/* 80147188 001440E8 40 80 00 60 */ bge lbl_801471E8 +/* 8014718C 001440EC 48 00 00 40 */ b lbl_801471CC +lbl_80147190: +/* 80147190 001440F0 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80147194 001440F4 38 80 00 02 */ li r4, 2 +/* 80147198 001440F8 4B FF 38 41 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8014719C 001440FC C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) +/* 801471A0 00144100 38 60 00 01 */ li r3, 1 +/* 801471A4 00144104 D0 1F 05 68 */ stfs f0, 0x568(r31) +/* 801471A8 00144108 D0 1F 05 6C */ stfs f0, 0x56c(r31) +/* 801471AC 0014410C D0 1F 05 98 */ stfs f0, 0x598(r31) +/* 801471B0 00144110 88 1F 06 14 */ lbz r0, 0x614(r31) +/* 801471B4 00144114 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 801471B8 00144118 98 1F 06 14 */ stb r0, 0x614(r31) +/* 801471BC 0014411C 88 1F 06 14 */ lbz r0, 0x614(r31) +/* 801471C0 00144120 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 801471C4 00144124 98 1F 06 14 */ stb r0, 0x614(r31) +/* 801471C8 00144128 48 00 00 20 */ b lbl_801471E8 +lbl_801471CC: +/* 801471CC 0014412C 88 1F 06 14 */ lbz r0, 0x614(r31) +/* 801471D0 00144130 38 60 00 00 */ li r3, 0 +/* 801471D4 00144134 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 801471D8 00144138 98 1F 06 14 */ stb r0, 0x614(r31) +/* 801471DC 0014413C 88 1F 06 14 */ lbz r0, 0x614(r31) +/* 801471E0 00144140 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 801471E4 00144144 98 1F 06 14 */ stb r0, 0x614(r31) +lbl_801471E8: +/* 801471E8 00144148 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801471EC 0014414C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801471F0 00144150 7C 08 03 A6 */ mtlr r0 +/* 801471F4 00144154 38 21 00 10 */ addi r1, r1, 0x10 +/* 801471F8 00144158 4E 80 00 20 */ blr + +.global InActive__12CPuddleSporeFR13CStateManager9EStateMsgf +InActive__12CPuddleSporeFR13CStateManager9EStateMsgf: +/* 801471FC 0014415C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80147200 00144160 7C 08 02 A6 */ mflr r0 +/* 80147204 00144164 2C 05 00 01 */ cmpwi r5, 1 +/* 80147208 00144168 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014720C 0014416C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80147210 00144170 7C 7F 1B 78 */ mr r31, r3 +/* 80147214 00144174 41 82 00 34 */ beq lbl_80147248 +/* 80147218 00144178 40 80 00 30 */ bge lbl_80147248 +/* 8014721C 0014417C 2C 05 00 00 */ cmpwi r5, 0 +/* 80147220 00144180 40 80 00 0C */ bge lbl_8014722C +/* 80147224 00144184 48 00 00 24 */ b lbl_80147248 +/* 80147228 00144188 48 00 00 20 */ b lbl_80147248 +lbl_8014722C: +/* 8014722C 0014418C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80147230 00144190 38 80 00 01 */ li r4, 1 +/* 80147234 00144194 4B FF 37 A5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80147238 00144198 C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) +/* 8014723C 0014419C C0 02 9C 8C */ lfs f0, lbl_805AB9AC@sda21(r2) +/* 80147240 001441A0 D0 3F 05 6C */ stfs f1, 0x56c(r31) +/* 80147244 001441A4 D0 1F 05 98 */ stfs f0, 0x598(r31) +lbl_80147248: +/* 80147248 001441A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8014724C 001441AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80147250 001441B0 7C 08 03 A6 */ mtlr r0 +/* 80147254 001441B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80147258 001441B8 4E 80 00 20 */ blr + +.global AnimOver__12CPuddleSporeFR13CStateManagerf +AnimOver__12CPuddleSporeFR13CStateManagerf: +/* 8014725C 001441BC 80 03 05 CC */ lwz r0, 0x5cc(r3) +/* 80147260 001441C0 20 00 00 02 */ subfic r0, r0, 2 +/* 80147264 001441C4 7C 00 00 34 */ cntlzw r0, r0 +/* 80147268 001441C8 54 03 D9 7E */ srwi r3, r0, 5 +/* 8014726C 001441CC 4E 80 00 20 */ blr + +.global ShouldTurn__12CPuddleSporeFR13CStateManagerf +ShouldTurn__12CPuddleSporeFR13CStateManagerf: +/* 80147270 001441D0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80147274 001441D4 7C 08 02 A6 */ mflr r0 +/* 80147278 001441D8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8014727C 001441DC 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80147280 001441E0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80147284 001441E4 7C 7E 1B 78 */ mr r30, r3 +/* 80147288 001441E8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8014728C 001441EC 83 E4 08 4C */ lwz r31, 0x84c(r4) +/* 80147290 001441F0 7F C4 F3 78 */ mr r4, r30 +/* 80147294 001441F4 4B FD 36 99 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80147298 001441F8 7F E4 FB 78 */ mr r4, r31 +/* 8014729C 001441FC 38 61 00 08 */ addi r3, r1, 8 +/* 801472A0 00144200 4B FD 36 8D */ bl GetBoundingBox__13CPhysicsActorCFv +/* 801472A4 00144204 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 801472A8 00144208 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 801472AC 0014420C C0 02 9C A0 */ lfs f0, lbl_805AB9C0@sda21(r2) +/* 801472B0 00144210 EC 22 08 2A */ fadds f1, f2, f1 +/* 801472B4 00144214 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 801472B8 00144218 EC 01 00 32 */ fmuls f0, f1, f0 +/* 801472BC 0014421C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801472C0 00144220 40 80 00 68 */ bge lbl_80147328 +/* 801472C4 00144224 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 801472C8 00144228 C0 01 00 08 */ lfs f0, 8(r1) +/* 801472CC 0014422C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801472D0 00144230 4C 41 13 82 */ cror 2, 1, 2 +/* 801472D4 00144234 40 82 00 54 */ bne lbl_80147328 +/* 801472D8 00144238 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 801472DC 0014423C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 801472E0 00144240 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801472E4 00144244 4C 41 13 82 */ cror 2, 1, 2 +/* 801472E8 00144248 40 82 00 40 */ bne lbl_80147328 +/* 801472EC 0014424C C0 21 00 14 */ lfs f1, 0x14(r1) +/* 801472F0 00144250 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 801472F4 00144254 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801472F8 00144258 4C 41 13 82 */ cror 2, 1, 2 +/* 801472FC 0014425C 40 82 00 2C */ bne lbl_80147328 +/* 80147300 00144260 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80147304 00144264 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80147308 00144268 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8014730C 0014426C 4C 41 13 82 */ cror 2, 1, 2 +/* 80147310 00144270 40 82 00 18 */ bne lbl_80147328 +/* 80147314 00144274 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80147318 00144278 2C 00 00 01 */ cmpwi r0, 1 +/* 8014731C 0014427C 40 82 00 0C */ bne lbl_80147328 +/* 80147320 00144280 38 60 00 01 */ li r3, 1 +/* 80147324 00144284 48 00 00 1C */ b lbl_80147340 +lbl_80147328: +/* 80147328 00144288 C0 3E 05 68 */ lfs f1, 0x568(r30) +/* 8014732C 0014428C C0 1E 05 78 */ lfs f0, 0x578(r30) +/* 80147330 00144290 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80147334 00144294 4C 41 13 82 */ cror 2, 1, 2 +/* 80147338 00144298 7C 00 00 26 */ mfcr r0 +/* 8014733C 0014429C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +lbl_80147340: +/* 80147340 001442A0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80147344 001442A4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80147348 001442A8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8014734C 001442AC 7C 08 03 A6 */ mtlr r0 +/* 80147350 001442B0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80147354 001442B4 4E 80 00 20 */ blr + +.global ShouldAttack__12CPuddleSporeFR13CStateManagerf +ShouldAttack__12CPuddleSporeFR13CStateManagerf: +/* 80147358 001442B8 C0 23 05 68 */ lfs f1, 0x568(r3) +/* 8014735C 001442BC C0 03 05 74 */ lfs f0, 0x574(r3) +/* 80147360 001442C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80147364 001442C4 4C 41 13 82 */ cror 2, 1, 2 +/* 80147368 001442C8 7C 00 00 26 */ mfcr r0 +/* 8014736C 001442CC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 80147370 001442D0 4E 80 00 20 */ blr + +.global InAttackPosition__12CPuddleSporeFR13CStateManagerf +InAttackPosition__12CPuddleSporeFR13CStateManagerf: +/* 80147374 001442D4 C0 23 05 68 */ lfs f1, 0x568(r3) +/* 80147378 001442D8 C0 03 05 70 */ lfs f0, 0x570(r3) +/* 8014737C 001442DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80147380 001442E0 4C 41 13 82 */ cror 2, 1, 2 +/* 80147384 001442E4 7C 00 00 26 */ mfcr r0 +/* 80147388 001442E8 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 8014738C 001442EC 4E 80 00 20 */ blr + +.global UpdateBoundingState__12CPuddleSporeFRC6CAABoxR13CStateManager +UpdateBoundingState__12CPuddleSporeFRC6CAABoxR13CStateManager: +/* 80147390 001442F0 94 21 FE 30 */ stwu r1, -0x1d0(r1) +/* 80147394 001442F4 7C 08 02 A6 */ mflr r0 +/* 80147398 001442F8 90 01 01 D4 */ stw r0, 0x1d4(r1) +/* 8014739C 001442FC DB E1 01 C0 */ stfd f31, 0x1c0(r1) +/* 801473A0 00144300 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 +/* 801473A4 00144304 DB C1 01 B0 */ stfd f30, 0x1b0(r1) +/* 801473A8 00144308 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 +/* 801473AC 0014430C 93 E1 01 AC */ stw r31, 0x1ac(r1) +/* 801473B0 00144310 93 C1 01 A8 */ stw r30, 0x1a8(r1) +/* 801473B4 00144314 93 A1 01 A4 */ stw r29, 0x1a4(r1) +/* 801473B8 00144318 93 81 01 A0 */ stw r28, 0x1a0(r1) +/* 801473BC 0014431C FF E0 08 90 */ fmr f31, f1 +/* 801473C0 00144320 7C 7D 1B 78 */ mr r29, r3 +/* 801473C4 00144324 7C 9C 23 78 */ mr r28, r4 +/* 801473C8 00144328 7C BE 2B 78 */ mr r30, r5 +/* 801473CC 0014432C 4B FD 32 8D */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox +/* 801473D0 00144330 38 61 00 90 */ addi r3, r1, 0x90 +/* 801473D4 00144334 38 9D 00 68 */ addi r4, r29, 0x68 +/* 801473D8 00144338 48 18 84 DD */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 801473DC 0014433C C0 DC 00 00 */ lfs f6, 0(r28) +/* 801473E0 00144340 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha +/* 801473E4 00144344 39 03 CA D0 */ addi r8, r3, lbl_803ECAD0@l +/* 801473E8 00144348 C0 BC 00 04 */ lfs f5, 4(r28) +/* 801473EC 0014434C C0 9C 00 08 */ lfs f4, 8(r28) +/* 801473F0 00144350 3C A0 80 3E */ lis r5, lbl_803D97E4@ha +/* 801473F4 00144354 C0 7C 00 0C */ lfs f3, 0xc(r28) +/* 801473F8 00144358 3C 60 80 5A */ lis r3, skZero3f@ha +/* 801473FC 0014435C C0 5C 00 10 */ lfs f2, 0x10(r28) +/* 80147400 00144360 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80147404 00144364 C0 3C 00 14 */ lfs f1, 0x14(r28) +/* 80147408 00144368 38 05 97 E4 */ addi r0, r5, lbl_803D97E4@l +/* 8014740C 0014436C 91 01 00 90 */ stw r8, 0x90(r1) +/* 80147410 00144370 7C 85 23 78 */ mr r5, r4 +/* 80147414 00144374 C8 01 00 98 */ lfd f0, 0x98(r1) +/* 80147418 00144378 38 61 00 74 */ addi r3, r1, 0x74 +/* 8014741C 0014437C D0 C1 00 A0 */ stfs f6, 0xa0(r1) +/* 80147420 00144380 D0 A1 00 A4 */ stfs f5, 0xa4(r1) +/* 80147424 00144384 D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 80147428 00144388 D0 61 00 AC */ stfs f3, 0xac(r1) +/* 8014742C 0014438C D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 80147430 00144390 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 80147434 00144394 D8 1D 05 A8 */ stfd f0, 0x5a8(r29) +/* 80147438 00144398 80 E1 00 A0 */ lwz r7, 0xa0(r1) +/* 8014743C 0014439C 80 C1 00 A4 */ lwz r6, 0xa4(r1) +/* 80147440 001443A0 90 FD 05 B0 */ stw r7, 0x5b0(r29) +/* 80147444 001443A4 90 DD 05 B4 */ stw r6, 0x5b4(r29) +/* 80147448 001443A8 80 E1 00 A8 */ lwz r7, 0xa8(r1) +/* 8014744C 001443AC 80 C1 00 AC */ lwz r6, 0xac(r1) +/* 80147450 001443B0 90 FD 05 B8 */ stw r7, 0x5b8(r29) +/* 80147454 001443B4 90 DD 05 BC */ stw r6, 0x5bc(r29) +/* 80147458 001443B8 80 E1 00 B0 */ lwz r7, 0xb0(r1) +/* 8014745C 001443BC 80 C1 00 B4 */ lwz r6, 0xb4(r1) +/* 80147460 001443C0 90 FD 05 C0 */ stw r7, 0x5c0(r29) +/* 80147464 001443C4 90 DD 05 C4 */ stw r6, 0x5c4(r29) +/* 80147468 001443C8 91 01 00 90 */ stw r8, 0x90(r1) +/* 8014746C 001443CC 90 01 00 90 */ stw r0, 0x90(r1) +/* 80147470 001443D0 83 FE 08 4C */ lwz r31, 0x84c(r30) +/* 80147474 001443D4 48 1F 10 95 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80147478 001443D8 7F A4 EB 78 */ mr r4, r29 +/* 8014747C 001443DC 38 61 00 5C */ addi r3, r1, 0x5c +/* 80147480 001443E0 4B FD 34 AD */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80147484 001443E4 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 80147488 001443E8 3B 81 00 5C */ addi r28, r1, 0x5c +/* 8014748C 001443EC 2C 00 00 01 */ cmpwi r0, 1 +/* 80147490 001443F0 40 82 00 A0 */ bne lbl_80147530 +/* 80147494 001443F4 80 7F 07 68 */ lwz r3, 0x768(r31) +/* 80147498 001443F8 4B FB 19 6D */ bl GetBallRadius__10CMorphBallCFv +/* 8014749C 001443FC C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 801474A0 00144400 FD 00 08 50 */ fneg f8, f1 +/* 801474A4 00144404 C0 7F 00 40 */ lfs f3, 0x40(r31) +/* 801474A8 00144408 38 61 00 44 */ addi r3, r1, 0x44 +/* 801474AC 0014440C EC A0 08 2A */ fadds f5, f0, f1 +/* 801474B0 00144410 C0 42 9C 88 */ lfs f2, lbl_805AB9A8@sda21(r2) +/* 801474B4 00144414 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 801474B8 00144418 EC E3 10 2A */ fadds f7, f3, f2 +/* 801474BC 0014441C 38 81 00 20 */ addi r4, r1, 0x20 +/* 801474C0 00144420 EC C0 10 2A */ fadds f6, f0, f2 +/* 801474C4 00144424 EC 05 08 2A */ fadds f0, f5, f1 +/* 801474C8 00144428 38 A1 00 14 */ addi r5, r1, 0x14 +/* 801474CC 0014442C EC 87 08 2A */ fadds f4, f7, f1 +/* 801474D0 00144430 EC 66 08 2A */ fadds f3, f6, f1 +/* 801474D4 00144434 EC 47 40 2A */ fadds f2, f7, f8 +/* 801474D8 00144438 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 801474DC 0014443C EC 26 40 2A */ fadds f1, f6, f8 +/* 801474E0 00144440 EC 05 40 2A */ fadds f0, f5, f8 +/* 801474E4 00144444 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 801474E8 00144448 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 801474EC 0014444C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 801474F0 00144450 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 801474F4 00144454 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 801474F8 00144458 48 1F 10 11 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 801474FC 0014445C 80 E1 00 44 */ lwz r7, 0x44(r1) +/* 80147500 00144460 80 C1 00 48 */ lwz r6, 0x48(r1) +/* 80147504 00144464 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 80147508 00144468 80 81 00 50 */ lwz r4, 0x50(r1) +/* 8014750C 0014446C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 80147510 00144470 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80147514 00144474 90 E1 00 74 */ stw r7, 0x74(r1) +/* 80147518 00144478 90 C1 00 78 */ stw r6, 0x78(r1) +/* 8014751C 0014447C 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 80147520 00144480 90 81 00 80 */ stw r4, 0x80(r1) +/* 80147524 00144484 90 61 00 84 */ stw r3, 0x84(r1) +/* 80147528 00144488 90 01 00 88 */ stw r0, 0x88(r1) +/* 8014752C 0014448C 48 00 00 40 */ b lbl_8014756C +lbl_80147530: +/* 80147530 00144490 7F E4 FB 78 */ mr r4, r31 +/* 80147534 00144494 38 61 00 2C */ addi r3, r1, 0x2c +/* 80147538 00144498 4B FD 33 F5 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8014753C 0014449C 80 E1 00 2C */ lwz r7, 0x2c(r1) +/* 80147540 001444A0 80 C1 00 30 */ lwz r6, 0x30(r1) +/* 80147544 001444A4 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 80147548 001444A8 80 81 00 38 */ lwz r4, 0x38(r1) +/* 8014754C 001444AC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 80147550 001444B0 80 01 00 40 */ lwz r0, 0x40(r1) +/* 80147554 001444B4 90 E1 00 74 */ stw r7, 0x74(r1) +/* 80147558 001444B8 90 C1 00 78 */ stw r6, 0x78(r1) +/* 8014755C 001444BC 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 80147560 001444C0 90 81 00 80 */ stw r4, 0x80(r1) +/* 80147564 001444C4 90 61 00 84 */ stw r3, 0x84(r1) +/* 80147568 001444C8 90 01 00 88 */ stw r0, 0x88(r1) +lbl_8014756C: +/* 8014756C 001444CC 7F 83 E3 78 */ mr r3, r28 +/* 80147570 001444D0 38 81 00 74 */ addi r4, r1, 0x74 +/* 80147574 001444D4 48 1F 06 11 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 80147578 001444D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8014757C 001444DC 41 82 01 3C */ beq lbl_801476B8 +/* 80147580 001444E0 80 1D 05 C8 */ lwz r0, 0x5c8(r29) +/* 80147584 001444E4 2C 00 00 02 */ cmpwi r0, 2 +/* 80147588 001444E8 40 82 00 0C */ bne lbl_80147594 +/* 8014758C 001444EC C0 42 9C A4 */ lfs f2, lbl_805AB9C4@sda21(r2) +/* 80147590 001444F0 48 00 00 08 */ b lbl_80147598 +lbl_80147594: +/* 80147594 001444F4 C0 42 9C A8 */ lfs f2, lbl_805AB9C8@sda21(r2) +lbl_80147598: +/* 80147598 001444F8 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 8014759C 001444FC C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 801475A0 00144500 C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) +/* 801475A4 00144504 EC 23 08 28 */ fsubs f1, f3, f1 +/* 801475A8 00144508 EF C2 08 2A */ fadds f30, f2, f1 +/* 801475AC 0014450C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 801475B0 00144510 40 81 01 08 */ ble lbl_801476B8 +/* 801475B4 00144514 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 801475B8 00144518 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 801475BC 0014451C 40 80 00 FC */ bge lbl_801476B8 +/* 801475C0 00144520 80 7F 00 68 */ lwz r3, 0x68(r31) +/* 801475C4 00144524 38 00 00 20 */ li r0, 0x20 +/* 801475C8 00144528 80 9F 00 6C */ lwz r4, 0x6c(r31) +/* 801475CC 0014452C 3B A0 00 00 */ li r29, 0 +/* 801475D0 00144530 7C 60 00 38 */ and r0, r3, r0 +/* 801475D4 00144534 7C 83 E8 38 */ and r3, r4, r29 +/* 801475D8 00144538 7C 63 EA 78 */ xor r3, r3, r29 +/* 801475DC 0014453C 7C 00 EA 78 */ xor r0, r0, r29 +/* 801475E0 00144540 7C 60 03 79 */ or. r0, r3, r0 +/* 801475E4 00144544 41 82 00 08 */ beq lbl_801475EC +/* 801475E8 00144548 3B A0 00 01 */ li r29, 1 +lbl_801475EC: +/* 801475EC 0014454C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 801475F0 00144550 41 82 00 14 */ beq lbl_80147604 +/* 801475F4 00144554 7F E3 FB 78 */ mr r3, r31 +/* 801475F8 00144558 7F C5 F3 78 */ mr r5, r30 +/* 801475FC 0014455C 38 80 00 25 */ li r4, 0x25 +/* 80147600 00144560 4B F0 C9 81 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_80147604: +/* 80147604 00144564 7F E3 FB 78 */ mr r3, r31 +/* 80147608 00144568 7F C5 F3 78 */ mr r5, r30 +/* 8014760C 0014456C 38 80 00 20 */ li r4, 0x20 +/* 80147610 00144570 4B F0 C9 71 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80147614 00144574 7F E4 FB 78 */ mr r4, r31 +/* 80147618 00144578 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8014761C 0014457C 4B FD 49 D1 */ bl GetPhysicsState__13CPhysicsActorCFv +/* 80147620 00144580 38 61 01 28 */ addi r3, r1, 0x128 +/* 80147624 00144584 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80147628 00144588 4B F6 BE 99 */ bl __ct__13CPhysicsStateFRC13CPhysicsState +/* 8014762C 0014458C C0 42 9C 88 */ lfs f2, lbl_805AB9A8@sda21(r2) +/* 80147630 00144590 FC 20 F8 90 */ fmr f1, f31 +/* 80147634 00144594 C0 02 9C 98 */ lfs f0, lbl_805AB9B8@sda21(r2) +/* 80147638 00144598 7F E3 FB 78 */ mr r3, r31 +/* 8014763C 0014459C EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 80147640 001445A0 38 81 00 08 */ addi r4, r1, 8 +/* 80147644 001445A4 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 80147648 001445A8 D0 41 00 08 */ stfs f2, 8(r1) +/* 8014764C 001445AC D0 41 00 0C */ stfs f2, 0xc(r1) +/* 80147650 001445B0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80147654 001445B4 4B FD 38 25 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff +/* 80147658 001445B8 FC 20 F8 90 */ fmr f1, f31 +/* 8014765C 001445BC 7F C3 F3 78 */ mr r3, r30 +/* 80147660 001445C0 7F E4 FB 78 */ mr r4, r31 +/* 80147664 001445C4 38 A0 00 00 */ li r5, 0 +/* 80147668 001445C8 48 03 A6 D1 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 8014766C 001445CC C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80147670 001445D0 7F E3 FB 78 */ mr r3, r31 +/* 80147674 001445D4 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80147678 001445D8 38 81 01 28 */ addi r4, r1, 0x128 +/* 8014767C 001445DC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80147680 001445E0 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 80147684 001445E4 D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 80147688 001445E8 D0 41 01 30 */ stfs f2, 0x130(r1) +/* 8014768C 001445EC 4B FD 47 99 */ bl SetPhysicsState__13CPhysicsActorFRC13CPhysicsState +/* 80147690 001445F0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80147694 001445F4 41 82 00 14 */ beq lbl_801476A8 +/* 80147698 001445F8 7F E3 FB 78 */ mr r3, r31 +/* 8014769C 001445FC 7F C5 F3 78 */ mr r5, r30 +/* 801476A0 00144600 38 80 00 25 */ li r4, 0x25 +/* 801476A4 00144604 4B F0 CC AD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_801476A8: +/* 801476A8 00144608 7F E3 FB 78 */ mr r3, r31 +/* 801476AC 0014460C 7F C5 F3 78 */ mr r5, r30 +/* 801476B0 00144610 38 80 00 20 */ li r4, 0x20 +/* 801476B4 00144614 4B F0 CC 9D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_801476B8: +/* 801476B8 00144618 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 +/* 801476BC 0014461C CB E1 01 C0 */ lfd f31, 0x1c0(r1) +/* 801476C0 00144620 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 +/* 801476C4 00144624 CB C1 01 B0 */ lfd f30, 0x1b0(r1) +/* 801476C8 00144628 83 E1 01 AC */ lwz r31, 0x1ac(r1) +/* 801476CC 0014462C 83 C1 01 A8 */ lwz r30, 0x1a8(r1) +/* 801476D0 00144630 83 A1 01 A4 */ lwz r29, 0x1a4(r1) +/* 801476D4 00144634 80 01 01 D4 */ lwz r0, 0x1d4(r1) +/* 801476D8 00144638 83 81 01 A0 */ lwz r28, 0x1a0(r1) +/* 801476DC 0014463C 7C 08 03 A6 */ mtlr r0 +/* 801476E0 00144640 38 21 01 D0 */ addi r1, r1, 0x1d0 +/* 801476E4 00144644 4E 80 00 20 */ blr + +.global CalculateBoundingBox__12CPuddleSporeCFv +CalculateBoundingBox__12CPuddleSporeCFv: +/* 801476E8 00144648 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 801476EC 0014464C 7C 08 02 A6 */ mflr r0 +/* 801476F0 00144650 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 801476F4 00144654 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 801476F8 00144658 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 801476FC 0014465C DB C1 00 80 */ stfd f30, 0x80(r1) +/* 80147700 00144660 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 80147704 00144664 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 80147708 00144668 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8014770C 0014466C DB 81 00 60 */ stfd f28, 0x60(r1) +/* 80147710 00144670 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 +/* 80147714 00144674 DB 61 00 50 */ stfd f27, 0x50(r1) +/* 80147718 00144678 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 +/* 8014771C 0014467C DB 41 00 40 */ stfd f26, 0x40(r1) +/* 80147720 00144680 F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 +/* 80147724 00144684 DB 21 00 30 */ stfd f25, 0x30(r1) +/* 80147728 00144688 F3 21 00 38 */ psq_st f25, 56(r1), 0, qr0 +/* 8014772C 0014468C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80147730 00144690 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80147734 00144694 7C 9F 23 78 */ mr r31, r4 +/* 80147738 00144698 7C 7E 1B 78 */ mr r30, r3 +/* 8014773C 0014469C C3 44 05 90 */ lfs f26, 0x590(r4) +/* 80147740 001446A0 7F E3 FB 78 */ mr r3, r31 +/* 80147744 001446A4 C0 84 05 98 */ lfs f4, 0x598(r4) +/* 80147748 001446A8 C0 24 05 94 */ lfs f1, 0x594(r4) +/* 8014774C 001446AC FC 40 D0 50 */ fneg f2, f26 +/* 80147750 001446B0 C0 04 05 9C */ lfs f0, 0x59c(r4) +/* 80147754 001446B4 C0 64 05 8C */ lfs f3, 0x58c(r4) +/* 80147758 001446B8 EC 01 20 3A */ fmadds f0, f1, f0, f4 +/* 8014775C 001446BC C3 64 05 88 */ lfs f27, 0x588(r4) +/* 80147760 001446C0 C3 24 05 84 */ lfs f25, 0x584(r4) +/* 80147764 001446C4 EF A4 18 2A */ fadds f29, f4, f3 +/* 80147768 001446C8 EF C2 D8 2A */ fadds f30, f2, f27 +/* 8014776C 001446CC EF E2 C8 2A */ fadds f31, f2, f25 +/* 80147770 001446D0 EF 80 18 2A */ fadds f28, f0, f3 +/* 80147774 001446D4 4B FD 32 4D */ bl GetBaseBoundingBox__13CPhysicsActorCFv +/* 80147778 001446D8 C0 63 00 10 */ lfs f3, 0x10(r3) +/* 8014777C 001446DC EC DA D8 2A */ fadds f6, f26, f27 +/* 80147780 001446E0 C0 82 9C B0 */ lfs f4, lbl_805AB9D0@sda21(r2) +/* 80147784 001446E4 EC 3A C8 2A */ fadds f1, f26, f25 +/* 80147788 001446E8 C0 43 00 14 */ lfs f2, 0x14(r3) +/* 8014778C 001446EC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80147790 001446F0 EC 63 01 32 */ fmuls f3, f3, f4 +/* 80147794 001446F4 C0 A2 9C AC */ lfs f5, lbl_805AB9CC@sda21(r2) +/* 80147798 001446F8 EC 42 01 32 */ fmuls f2, f2, f4 +/* 8014779C 001446FC EC 00 01 32 */ fmuls f0, f0, f4 +/* 801477A0 00144700 7F E3 FB 78 */ mr r3, r31 +/* 801477A4 00144704 EC 66 19 7A */ fmadds f3, f6, f5, f3 +/* 801477A8 00144708 EC 5C 11 7A */ fmadds f2, f28, f5, f2 +/* 801477AC 0014470C EC 01 01 7A */ fmadds f0, f1, f5, f0 +/* 801477B0 00144710 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 801477B4 00144714 D0 01 00 08 */ stfs f0, 8(r1) +/* 801477B8 00144718 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 801477BC 0014471C 4B FD 32 05 */ bl GetBaseBoundingBox__13CPhysicsActorCFv +/* 801477C0 00144720 C0 43 00 04 */ lfs f2, 4(r3) +/* 801477C4 00144724 38 81 00 14 */ addi r4, r1, 0x14 +/* 801477C8 00144728 C0 62 9C B0 */ lfs f3, lbl_805AB9D0@sda21(r2) +/* 801477CC 0014472C 38 A1 00 08 */ addi r5, r1, 8 +/* 801477D0 00144730 C0 23 00 08 */ lfs f1, 8(r3) +/* 801477D4 00144734 C0 03 00 00 */ lfs f0, 0(r3) +/* 801477D8 00144738 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 801477DC 0014473C C0 82 9C AC */ lfs f4, lbl_805AB9CC@sda21(r2) +/* 801477E0 00144740 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 801477E4 00144744 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 801477E8 00144748 7F C3 F3 78 */ mr r3, r30 +/* 801477EC 0014474C EC 5E 11 3A */ fmadds f2, f30, f4, f2 +/* 801477F0 00144750 EC 3D 09 3A */ fmadds f1, f29, f4, f1 +/* 801477F4 00144754 EC 1F 01 3A */ fmadds f0, f31, f4, f0 +/* 801477F8 00144758 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 801477FC 0014475C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80147800 00144760 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80147804 00144764 48 1F 0D 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80147808 00144768 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8014780C 0014476C CB E1 00 90 */ lfd f31, 0x90(r1) +/* 80147810 00144770 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 80147814 00144774 CB C1 00 80 */ lfd f30, 0x80(r1) +/* 80147818 00144778 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8014781C 0014477C CB A1 00 70 */ lfd f29, 0x70(r1) +/* 80147820 00144780 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 +/* 80147824 00144784 CB 81 00 60 */ lfd f28, 0x60(r1) +/* 80147828 00144788 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 +/* 8014782C 0014478C CB 61 00 50 */ lfd f27, 0x50(r1) +/* 80147830 00144790 E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 +/* 80147834 00144794 CB 41 00 40 */ lfd f26, 0x40(r1) +/* 80147838 00144798 E3 21 00 38 */ psq_l f25, 56(r1), 0, qr0 +/* 8014783C 0014479C CB 21 00 30 */ lfd f25, 0x30(r1) +/* 80147840 001447A0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80147844 001447A4 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 80147848 001447A8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8014784C 001447AC 7C 08 03 A6 */ mtlr r0 +/* 80147850 001447B0 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 80147854 001447B4 4E 80 00 20 */ blr + +.global GetCollisionPrimitive__12CPuddleSporeCFv +GetCollisionPrimitive__12CPuddleSporeCFv: +/* 80147858 001447B8 38 63 05 A0 */ addi r3, r3, 0x5a0 +/* 8014785C 001447BC 4E 80 00 20 */ blr + +.global KnockPlayer__12CPuddleSporeFR13CStateManagerf +KnockPlayer__12CPuddleSporeFR13CStateManagerf: +/* 80147860 001447C0 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80147864 001447C4 7C 08 02 A6 */ mflr r0 +/* 80147868 001447C8 90 01 00 94 */ stw r0, 0x94(r1) +/* 8014786C 001447CC DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80147870 001447D0 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80147874 001447D4 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80147878 001447D8 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8014787C 001447DC 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80147880 001447E0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80147884 001447E4 93 A1 00 64 */ stw r29, 0x64(r1) +/* 80147888 001447E8 FF E0 08 90 */ fmr f31, f1 +/* 8014788C 001447EC 7C 7D 1B 78 */ mr r29, r3 +/* 80147890 001447F0 7C 9E 23 78 */ mr r30, r4 +/* 80147894 001447F4 38 61 00 44 */ addi r3, r1, 0x44 +/* 80147898 001447F8 7F A4 EB 78 */ mr r4, r29 +/* 8014789C 001447FC 4B FD 30 91 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 801478A0 00144800 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 801478A4 00144804 38 61 00 2C */ addi r3, r1, 0x2c +/* 801478A8 00144808 4B FD 30 85 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 801478AC 0014480C C0 61 00 34 */ lfs f3, 0x34(r1) +/* 801478B0 00144810 C0 21 00 40 */ lfs f1, 0x40(r1) +/* 801478B4 00144814 C0 02 9C A0 */ lfs f0, lbl_805AB9C0@sda21(r2) +/* 801478B8 00144818 EC 23 08 2A */ fadds f1, f3, f1 +/* 801478BC 0014481C C0 41 00 58 */ lfs f2, 0x58(r1) +/* 801478C0 00144820 EC 01 00 32 */ fmuls f0, f1, f0 +/* 801478C4 00144824 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801478C8 00144828 40 80 00 F4 */ bge lbl_801479BC +/* 801478CC 0014482C C0 21 00 50 */ lfs f1, 0x50(r1) +/* 801478D0 00144830 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 801478D4 00144834 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801478D8 00144838 4C 41 13 82 */ cror 2, 1, 2 +/* 801478DC 0014483C 40 82 00 E0 */ bne lbl_801479BC +/* 801478E0 00144840 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 801478E4 00144844 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 801478E8 00144848 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801478EC 0014484C 4C 41 13 82 */ cror 2, 1, 2 +/* 801478F0 00144850 40 82 00 CC */ bne lbl_801479BC +/* 801478F4 00144854 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 801478F8 00144858 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 801478FC 0014485C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80147900 00144860 4C 41 13 82 */ cror 2, 1, 2 +/* 80147904 00144864 40 82 00 B8 */ bne lbl_801479BC +/* 80147908 00144868 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 8014790C 0014486C C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80147910 00144870 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80147914 00144874 4C 41 13 82 */ cror 2, 1, 2 +/* 80147918 00144878 40 82 00 A4 */ bne lbl_801479BC +/* 8014791C 0014487C EC 23 10 28 */ fsubs f1, f3, f2 +/* 80147920 00144880 C0 02 9C B4 */ lfs f0, lbl_805AB9D4@sda21(r2) +/* 80147924 00144884 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80147928 00144888 40 80 00 94 */ bge lbl_801479BC +/* 8014792C 0014488C C3 C2 9C 98 */ lfs f30, lbl_805AB9B8@sda21(r2) +/* 80147930 00144890 C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) +/* 80147934 00144894 C0 02 9C B8 */ lfs f0, lbl_805AB9D8@sda21(r2) +/* 80147938 00144898 D3 C1 00 20 */ stfs f30, 0x20(r1) +/* 8014793C 0014489C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80147940 001448A0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80147944 001448A4 83 FE 08 4C */ lwz r31, 0x84c(r30) +/* 80147948 001448A8 80 1F 02 F8 */ lwz r0, 0x2f8(r31) +/* 8014794C 001448AC 2C 00 00 01 */ cmpwi r0, 1 +/* 80147950 001448B0 40 82 00 08 */ bne lbl_80147958 +/* 80147954 001448B4 C3 C2 9C 9C */ lfs f30, lbl_805AB9BC@sda21(r2) +lbl_80147958: +/* 80147958 001448B8 38 61 00 08 */ addi r3, r1, 8 +/* 8014795C 001448BC 38 9D 00 34 */ addi r4, r29, 0x34 +/* 80147960 001448C0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80147964 001448C4 48 1C B1 1D */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80147968 001448C8 C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 8014796C 001448CC C0 41 00 08 */ lfs f2, 8(r1) +/* 80147970 001448D0 EC 7F 00 32 */ fmuls f3, f31, f0 +/* 80147974 001448D4 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 80147978 001448D8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8014797C 001448DC EC 7E 00 F2 */ fmuls f3, f30, f3 +/* 80147980 001448E0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80147984 001448E4 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80147988 001448E8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8014798C 001448EC D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80147990 001448F0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80147994 001448F4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80147998 001448F8 4B ED 3B 9D */ bl Identity__10CAxisAngleFv +/* 8014799C 001448FC 7C 65 1B 78 */ mr r5, r3 +/* 801479A0 00144900 7F E3 FB 78 */ mr r3, r31 +/* 801479A4 00144904 38 81 00 14 */ addi r4, r1, 0x14 +/* 801479A8 00144908 4B FD 49 F1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 801479AC 0014490C 7F E3 FB 78 */ mr r3, r31 +/* 801479B0 00144910 7F C5 F3 78 */ mr r5, r30 +/* 801479B4 00144914 38 80 00 02 */ li r4, 2 +/* 801479B8 00144918 48 13 EA 35 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager +lbl_801479BC: +/* 801479BC 0014491C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 801479C0 00144920 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 801479C4 00144924 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 801479C8 00144928 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 801479CC 0014492C 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 801479D0 00144930 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 801479D4 00144934 80 01 00 94 */ lwz r0, 0x94(r1) +/* 801479D8 00144938 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 801479DC 0014493C 7C 08 03 A6 */ mtlr r0 +/* 801479E0 00144940 38 21 00 90 */ addi r1, r1, 0x90 +/* 801479E4 00144944 4E 80 00 20 */ blr + +.global CollidedWith__12CPuddleSporeFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +CollidedWith__12CPuddleSporeFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: +/* 801479E8 00144948 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801479EC 0014494C 7C 08 02 A6 */ mflr r0 +/* 801479F0 00144950 90 01 00 14 */ stw r0, 0x14(r1) +/* 801479F4 00144954 80 03 05 C8 */ lwz r0, 0x5c8(r3) +/* 801479F8 00144958 2C 00 00 02 */ cmpwi r0, 2 +/* 801479FC 0014495C 41 82 00 08 */ beq lbl_80147A04 +/* 80147A00 00144960 4B F3 1C 51 */ bl CollidedWith__10CPatternedFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +lbl_80147A04: +/* 80147A04 00144964 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80147A08 00144968 7C 08 03 A6 */ mtlr r0 +/* 80147A0C 0014496C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80147A10 00144970 4E 80 00 20 */ blr + +.global DoUserAnimEvent__12CPuddleSporeFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__12CPuddleSporeFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80147A14 00144974 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 80147A18 00144978 7C 08 02 A6 */ mflr r0 +/* 80147A1C 0014497C 90 01 01 54 */ stw r0, 0x154(r1) +/* 80147A20 00144980 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 80147A24 00144984 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 80147A28 00144988 BE E1 01 1C */ stmw r23, 0x11c(r1) +/* 80147A2C 0014498C 7C DE 33 79 */ or. r30, r6, r6 +/* 80147A30 00144990 FF E0 08 90 */ fmr f31, f1 +/* 80147A34 00144994 7C 7B 1B 78 */ mr r27, r3 +/* 80147A38 00144998 7C 9C 23 78 */ mr r28, r4 +/* 80147A3C 0014499C 7C BD 2B 78 */ mr r29, r5 +/* 80147A40 001449A0 38 00 00 00 */ li r0, 0 +/* 80147A44 001449A4 41 82 00 08 */ beq lbl_80147A4C +/* 80147A48 001449A8 48 00 02 50 */ b lbl_80147C98 +lbl_80147A4C: +/* 80147A4C 001449AC C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) +/* 80147A50 001449B0 D0 1B 05 6C */ stfs f0, 0x56c(r27) +/* 80147A54 001449B4 81 83 00 00 */ lwz r12, 0(r3) +/* 80147A58 001449B8 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80147A5C 001449BC 7D 89 03 A6 */ mtctr r12 +/* 80147A60 001449C0 4E 80 04 21 */ bctrl +/* 80147A64 001449C4 7C 78 1B 78 */ mr r24, r3 +/* 80147A68 001449C8 80 03 00 08 */ lwz r0, 8(r3) +/* 80147A6C 001449CC 28 00 00 00 */ cmplwi r0, 0 +/* 80147A70 001449D0 41 82 00 0C */ beq lbl_80147A7C +/* 80147A74 001449D4 38 60 00 01 */ li r3, 1 +/* 80147A78 001449D8 48 00 00 38 */ b lbl_80147AB0 +lbl_80147A7C: +/* 80147A7C 001449DC 88 18 00 04 */ lbz r0, 4(r24) +/* 80147A80 001449E0 28 00 00 00 */ cmplwi r0, 0 +/* 80147A84 001449E4 41 82 00 28 */ beq lbl_80147AAC +/* 80147A88 001449E8 80 98 00 00 */ lwz r4, 0(r24) +/* 80147A8C 001449EC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 80147A90 001449F0 28 00 00 00 */ cmplwi r0, 0 +/* 80147A94 001449F4 41 82 00 18 */ beq lbl_80147AAC +/* 80147A98 001449F8 48 1F 93 75 */ bl GetObj__6CTokenFv +/* 80147A9C 001449FC 80 03 00 04 */ lwz r0, 4(r3) +/* 80147AA0 00144A00 38 60 00 01 */ li r3, 1 +/* 80147AA4 00144A04 90 18 00 08 */ stw r0, 8(r24) +/* 80147AA8 00144A08 48 00 00 08 */ b lbl_80147AB0 +lbl_80147AAC: +/* 80147AAC 00144A0C 38 60 00 00 */ li r3, 0 +lbl_80147AB0: +/* 80147AB0 00144A10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80147AB4 00144A14 41 82 01 E0 */ beq lbl_80147C94 +/* 80147AB8 00144A18 A0 1B 00 08 */ lhz r0, 8(r27) +/* 80147ABC 00144A1C 7F 83 E3 78 */ mr r3, r28 +/* 80147AC0 00144A20 80 CD 8B E0 */ lwz r6, lbl_805A77A0@sda21(r13) +/* 80147AC4 00144A24 38 81 00 48 */ addi r4, r1, 0x48 +/* 80147AC8 00144A28 B0 01 00 44 */ sth r0, 0x44(r1) +/* 80147ACC 00144A2C 38 A0 00 09 */ li r5, 9 +/* 80147AD0 00144A30 B0 01 00 48 */ sth r0, 0x48(r1) +/* 80147AD4 00144A34 4B EF DC 5D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei +/* 80147AD8 00144A38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80147ADC 00144A3C 41 82 01 B8 */ beq lbl_80147C94 +/* 80147AE0 00144A40 7F 64 DB 78 */ mr r4, r27 +/* 80147AE4 00144A44 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 80147AE8 00144A48 38 BD 00 3C */ addi r5, r29, 0x3c +/* 80147AEC 00144A4C 4B F3 0E 8D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80147AF0 00144A50 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80147AF4 00144A54 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 80147AF8 00144A58 48 1C B0 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80147AFC 00144A5C 3C 60 80 3D */ lis r3, lbl_803D00A0@ha +/* 80147B00 00144A60 3B 40 00 00 */ li r26, 0 +/* 80147B04 00144A64 38 83 00 A0 */ addi r4, r3, lbl_803D00A0@l +/* 80147B08 00144A68 38 60 03 D8 */ li r3, 0x3d8 +/* 80147B0C 00144A6C 38 84 00 C7 */ addi r4, r4, 0xc7 +/* 80147B10 00144A70 38 A0 00 00 */ li r5, 0 +/* 80147B14 00144A74 48 1C DD 59 */ bl __nw__FUlPCcPCc +/* 80147B18 00144A78 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80147B1C 00144A7C 41 82 01 10 */ beq lbl_80147C2C +/* 80147B20 00144A80 C0 02 9C 98 */ lfs f0, lbl_805AB9B8@sda21(r2) +/* 80147B24 00144A84 38 60 00 00 */ li r3, 0 +/* 80147B28 00144A88 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80147B2C 00144A8C 7F 84 E3 78 */ mr r4, r28 +/* 80147B30 00144A90 98 61 00 84 */ stb r3, 0x84(r1) +/* 80147B34 00144A94 38 61 00 30 */ addi r3, r1, 0x30 +/* 80147B38 00144A98 3B 40 00 01 */ li r26, 1 +/* 80147B3C 00144A9C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 80147B40 00144AA0 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80147B44 00144AA4 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80147B48 00144AA8 B0 01 00 40 */ sth r0, 0x40(r1) +/* 80147B4C 00144AAC A0 BB 00 08 */ lhz r5, 8(r27) +/* 80147B50 00144AB0 B0 A1 00 3C */ sth r5, 0x3c(r1) +/* 80147B54 00144AB4 80 1B 00 04 */ lwz r0, 4(r27) +/* 80147B58 00144AB8 B0 A1 00 38 */ sth r5, 0x38(r1) +/* 80147B5C 00144ABC 90 01 00 4C */ stw r0, 0x4c(r1) +/* 80147B60 00144AC0 90 01 00 50 */ stw r0, 0x50(r1) +/* 80147B64 00144AC4 4B F0 55 79 */ bl AllocateUniqueId__13CStateManagerFv +/* 80147B68 00144AC8 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 80147B6C 00144ACC 7F 63 DB 78 */ mr r3, r27 +/* 80147B70 00144AD0 B0 01 00 34 */ sth r0, 0x34(r1) +/* 80147B74 00144AD4 81 9B 00 00 */ lwz r12, 0(r27) +/* 80147B78 00144AD8 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80147B7C 00144ADC 7D 89 03 A6 */ mtctr r12 +/* 80147B80 00144AE0 4E 80 04 21 */ bctrl +/* 80147B84 00144AE4 C0 41 00 F4 */ lfs f2, 0xf4(r1) +/* 80147B88 00144AE8 7C 78 1B 78 */ mr r24, r3 +/* 80147B8C 00144AEC C0 21 01 04 */ lfs f1, 0x104(r1) +/* 80147B90 00144AF0 7F 63 DB 78 */ mr r3, r27 +/* 80147B94 00144AF4 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 80147B98 00144AF8 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80147B9C 00144AFC D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80147BA0 00144B00 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80147BA4 00144B04 81 9B 00 00 */ lwz r12, 0(r27) +/* 80147BA8 00144B08 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80147BAC 00144B0C 7D 89 03 A6 */ mtctr r12 +/* 80147BB0 00144B10 4E 80 04 21 */ bctrl +/* 80147BB4 00144B14 7C 77 1B 78 */ mr r23, r3 +/* 80147BB8 00144B18 38 61 00 88 */ addi r3, r1, 0x88 +/* 80147BBC 00144B1C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80147BC0 00144B20 48 1C B5 81 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80147BC4 00144B24 38 61 00 50 */ addi r3, r1, 0x50 +/* 80147BC8 00144B28 38 01 00 3C */ addi r0, r1, 0x3c +/* 80147BCC 00144B2C 90 61 00 08 */ stw r3, 8(r1) +/* 80147BD0 00144B30 38 81 00 40 */ addi r4, r1, 0x40 +/* 80147BD4 00144B34 3B 20 00 00 */ li r25, 0 +/* 80147BD8 00144B38 39 81 00 6C */ addi r12, r1, 0x6c +/* 80147BDC 00144B3C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80147BE0 00144B40 39 61 00 78 */ addi r11, r1, 0x78 +/* 80147BE4 00144B44 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 80147BE8 00144B48 7F E3 FB 78 */ mr r3, r31 +/* 80147BEC 00144B4C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80147BF0 00144B50 7E E5 BB 78 */ mr r5, r23 +/* 80147BF4 00144B54 38 E1 00 88 */ addi r7, r1, 0x88 +/* 80147BF8 00144B58 39 38 00 0C */ addi r9, r24, 0xc +/* 80147BFC 00144B5C 93 21 00 14 */ stw r25, 0x14(r1) +/* 80147C00 00144B60 39 41 00 34 */ addi r10, r1, 0x34 +/* 80147C04 00144B64 38 80 00 01 */ li r4, 1 +/* 80147C08 00144B68 38 C0 00 09 */ li r6, 9 +/* 80147C0C 00144B6C 93 21 00 18 */ stw r25, 0x18(r1) +/* 80147C10 00144B70 39 00 00 21 */ li r8, 0x21 +/* 80147C14 00144B74 91 81 00 1C */ stw r12, 0x1c(r1) +/* 80147C18 00144B78 91 61 00 20 */ stw r11, 0x20(r1) +/* 80147C1C 00144B7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80147C20 00144B80 93 21 00 28 */ stw r25, 0x28(r1) +/* 80147C24 00144B84 48 0C DA 75 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 80147C28 00144B88 7C 7F 1B 78 */ mr r31, r3 +lbl_80147C2C: +/* 80147C2C 00144B8C 7F 40 07 75 */ extsb. r0, r26 +/* 80147C30 00144B90 41 82 00 30 */ beq lbl_80147C60 +/* 80147C34 00144B94 88 01 00 84 */ lbz r0, 0x84(r1) +/* 80147C38 00144B98 28 00 00 00 */ cmplwi r0, 0 +/* 80147C3C 00144B9C 41 82 00 1C */ beq lbl_80147C58 +/* 80147C40 00144BA0 34 61 00 78 */ addic. r3, r1, 0x78 +/* 80147C44 00144BA4 41 82 00 14 */ beq lbl_80147C58 +/* 80147C48 00144BA8 28 03 00 00 */ cmplwi r3, 0 +/* 80147C4C 00144BAC 41 82 00 0C */ beq lbl_80147C58 +/* 80147C50 00144BB0 38 80 00 00 */ li r4, 0 +/* 80147C54 00144BB4 48 1F 91 ED */ bl __dt__6CTokenFv +lbl_80147C58: +/* 80147C58 00144BB8 38 00 00 00 */ li r0, 0 +/* 80147C5C 00144BBC 98 01 00 84 */ stb r0, 0x84(r1) +lbl_80147C60: +/* 80147C60 00144BC0 3A FF 01 70 */ addi r23, r31, 0x170 +/* 80147C64 00144BC4 7E E3 BB 78 */ mr r3, r23 +/* 80147C68 00144BC8 48 16 74 CD */ bl GetVelocity__17CProjectileWeaponCFv +/* 80147C6C 00144BCC 7C 65 1B 78 */ mr r5, r3 +/* 80147C70 00144BD0 38 61 00 54 */ addi r3, r1, 0x54 +/* 80147C74 00144BD4 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 80147C78 00144BD8 48 1C AE 09 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80147C7C 00144BDC 7E E3 BB 78 */ mr r3, r23 +/* 80147C80 00144BE0 38 81 00 54 */ addi r4, r1, 0x54 +/* 80147C84 00144BE4 48 16 74 B9 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f +/* 80147C88 00144BE8 7F 83 E3 78 */ mr r3, r28 +/* 80147C8C 00144BEC 7F E4 FB 78 */ mr r4, r31 +/* 80147C90 00144BF0 4B F0 50 65 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +lbl_80147C94: +/* 80147C94 00144BF4 38 00 00 01 */ li r0, 1 +lbl_80147C98: +/* 80147C98 00144BF8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80147C9C 00144BFC 40 82 00 1C */ bne lbl_80147CB8 +/* 80147CA0 00144C00 FC 20 F8 90 */ fmr f1, f31 +/* 80147CA4 00144C04 7F 63 DB 78 */ mr r3, r27 +/* 80147CA8 00144C08 7F 84 E3 78 */ mr r4, r28 +/* 80147CAC 00144C0C 7F A5 EB 78 */ mr r5, r29 +/* 80147CB0 00144C10 7F C6 F3 78 */ mr r6, r30 +/* 80147CB4 00144C14 4B F3 11 FD */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80147CB8: +/* 80147CB8 00144C18 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 80147CBC 00144C1C CB E1 01 40 */ lfd f31, 0x140(r1) +/* 80147CC0 00144C20 BA E1 01 1C */ lmw r23, 0x11c(r1) +/* 80147CC4 00144C24 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80147CC8 00144C28 7C 08 03 A6 */ mtlr r0 +/* 80147CCC 00144C2C 38 21 01 50 */ addi r1, r1, 0x150 +/* 80147CD0 00144C30 4E 80 00 20 */ blr + +.global KnockBack__12CPuddleSporeFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef +KnockBack__12CPuddleSporeFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: +/* 80147CD4 00144C34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80147CD8 00144C38 7C 08 02 A6 */ mflr r0 +/* 80147CDC 00144C3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80147CE0 00144C40 80 03 05 C8 */ lwz r0, 0x5c8(r3) +/* 80147CE4 00144C44 2C 00 00 01 */ cmpwi r0, 1 +/* 80147CE8 00144C48 41 82 00 08 */ beq lbl_80147CF0 +/* 80147CEC 00144C4C 4B F3 2A 91 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef +lbl_80147CF0: +/* 80147CF0 00144C50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80147CF4 00144C54 7C 08 03 A6 */ mtlr r0 +/* 80147CF8 00144C58 38 21 00 10 */ addi r1, r1, 0x10 +/* 80147CFC 00144C5C 4E 80 00 20 */ blr + +.global Touch__12CPuddleSporeFR6CActorR13CStateManager +Touch__12CPuddleSporeFR6CActorR13CStateManager: +/* 80147D00 00144C60 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80147D04 00144C64 7C 08 02 A6 */ mflr r0 +/* 80147D08 00144C68 90 01 00 34 */ stw r0, 0x34(r1) +/* 80147D0C 00144C6C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80147D10 00144C70 7C BF 2B 78 */ mr r31, r5 +/* 80147D14 00144C74 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80147D18 00144C78 7C 7E 1B 78 */ mr r30, r3 +/* 80147D1C 00144C7C 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80147D20 00144C80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80147D24 00144C84 41 82 00 64 */ beq lbl_80147D88 +/* 80147D28 00144C88 38 61 00 08 */ addi r3, r1, 8 +/* 80147D2C 00144C8C 4B F6 5A 4D */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" +/* 80147D30 00144C90 80 A3 00 04 */ lwz r5, 4(r3) +/* 80147D34 00144C94 28 05 00 00 */ cmplwi r5, 0 +/* 80147D38 00144C98 41 82 00 50 */ beq lbl_80147D88 +/* 80147D3C 00144C9C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80147D40 00144CA0 A0 85 00 EC */ lhz r4, 0xec(r5) +/* 80147D44 00144CA4 A0 03 00 08 */ lhz r0, 8(r3) +/* 80147D48 00144CA8 7C 04 00 40 */ cmplw r4, r0 +/* 80147D4C 00144CAC 40 82 00 3C */ bne lbl_80147D88 +/* 80147D50 00144CB0 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 80147D54 00144CB4 7F C3 F3 78 */ mr r3, r30 +/* 80147D58 00144CB8 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 80147D5C 00144CBC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80147D60 00144CC0 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80147D64 00144CC4 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80147D68 00144CC8 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80147D6C 00144CCC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80147D70 00144CD0 48 00 00 6D */ bl HitShell__12CPuddleSporeCFRC9CVector3f +/* 80147D74 00144CD4 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 80147D78 00144CD8 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80147D7C 00144CDC 7C 63 00 34 */ cntlzw r3, r3 +/* 80147D80 00144CE0 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18 +/* 80147D84 00144CE4 98 1E 04 00 */ stb r0, 0x400(r30) +lbl_80147D88: +/* 80147D88 00144CE8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80147D8C 00144CEC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80147D90 00144CF0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80147D94 00144CF4 7C 08 03 A6 */ mtlr r0 +/* 80147D98 00144CF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80147D9C 00144CFC 4E 80 00 20 */ blr + +.global GetCollisionResponseType__12CPuddleSporeCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__12CPuddleSporeCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 80147DA0 00144D00 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80147DA4 00144D04 7C 08 02 A6 */ mflr r0 +/* 80147DA8 00144D08 90 01 00 14 */ stw r0, 0x14(r1) +/* 80147DAC 00144D0C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80147DB0 00144D10 3B E0 00 22 */ li r31, 0x22 +/* 80147DB4 00144D14 48 00 00 29 */ bl HitShell__12CPuddleSporeCFRC9CVector3f +/* 80147DB8 00144D18 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80147DBC 00144D1C 41 82 00 08 */ beq lbl_80147DC4 +/* 80147DC0 00144D20 3B E0 00 54 */ li r31, 0x54 +lbl_80147DC4: +/* 80147DC4 00144D24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80147DC8 00144D28 7F E3 FB 78 */ mr r3, r31 +/* 80147DCC 00144D2C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80147DD0 00144D30 7C 08 03 A6 */ mtlr r0 +/* 80147DD4 00144D34 38 21 00 10 */ addi r1, r1, 0x10 +/* 80147DD8 00144D38 4E 80 00 20 */ blr + +.global HitShell__12CPuddleSporeCFRC9CVector3f +HitShell__12CPuddleSporeCFRC9CVector3f: +/* 80147DDC 00144D3C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80147DE0 00144D40 7C 08 02 A6 */ mflr r0 +/* 80147DE4 00144D44 90 01 00 54 */ stw r0, 0x54(r1) +/* 80147DE8 00144D48 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80147DEC 00144D4C 7C 9F 23 78 */ mr r31, r4 +/* 80147DF0 00144D50 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80147DF4 00144D54 7C 7E 1B 78 */ mr r30, r3 +/* 80147DF8 00144D58 80 03 05 C8 */ lwz r0, 0x5c8(r3) +/* 80147DFC 00144D5C 2C 00 00 01 */ cmpwi r0, 1 +/* 80147E00 00144D60 40 82 00 9C */ bne lbl_80147E9C +/* 80147E04 00144D64 7F C4 F3 78 */ mr r4, r30 +/* 80147E08 00144D68 38 61 00 2C */ addi r3, r1, 0x2c +/* 80147E0C 00144D6C 4B FD 2B 21 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80147E10 00144D70 38 61 00 08 */ addi r3, r1, 8 +/* 80147E14 00144D74 38 81 00 2C */ addi r4, r1, 0x2c +/* 80147E18 00144D78 48 1E F7 F5 */ bl GetCenterPoint__6CAABoxCFv +/* 80147E1C 00144D7C C0 3F 00 04 */ lfs f1, 4(r31) +/* 80147E20 00144D80 38 61 00 20 */ addi r3, r1, 0x20 +/* 80147E24 00144D84 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80147E28 00144D88 38 81 00 14 */ addi r4, r1, 0x14 +/* 80147E2C 00144D8C C0 7F 00 08 */ lfs f3, 8(r31) +/* 80147E30 00144D90 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80147E34 00144D94 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80147E38 00144D98 C0 3F 00 00 */ lfs f1, 0(r31) +/* 80147E3C 00144D9C C0 01 00 08 */ lfs f0, 8(r1) +/* 80147E40 00144DA0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80147E44 00144DA4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80147E48 00144DA8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80147E4C 00144DAC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80147E50 00144DB0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80147E54 00144DB4 48 1C BF 7D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 80147E58 00144DB8 C0 3E 00 4C */ lfs f1, 0x4c(r30) +/* 80147E5C 00144DBC C0 01 00 24 */ lfs f0, 0x24(r1) +/* 80147E60 00144DC0 C0 5E 00 3C */ lfs f2, 0x3c(r30) +/* 80147E64 00144DC4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80147E68 00144DC8 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80147E6C 00144DCC C0 9E 00 5C */ lfs f4, 0x5c(r30) +/* 80147E70 00144DD0 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 80147E74 00144DD4 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80147E78 00144DD8 C0 02 9C BC */ lfs f0, lbl_805AB9DC@sda21(r2) +/* 80147E7C 00144DDC EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80147E80 00144DE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80147E84 00144DE4 40 81 00 18 */ ble lbl_80147E9C +/* 80147E88 00144DE8 C0 02 9C A0 */ lfs f0, lbl_805AB9C0@sda21(r2) +/* 80147E8C 00144DEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80147E90 00144DF0 40 80 00 0C */ bge lbl_80147E9C +/* 80147E94 00144DF4 38 60 00 00 */ li r3, 0 +/* 80147E98 00144DF8 48 00 00 08 */ b lbl_80147EA0 +lbl_80147E9C: +/* 80147E9C 00144DFC 38 60 00 01 */ li r3, 1 +lbl_80147EA0: +/* 80147EA0 00144E00 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80147EA4 00144E04 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80147EA8 00144E08 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80147EAC 00144E0C 7C 08 03 A6 */ mtlr r0 +/* 80147EB0 00144E10 38 21 00 50 */ addi r1, r1, 0x50 +/* 80147EB4 00144E14 4E 80 00 20 */ blr + +.global ProjectileInfo__12CPuddleSporeFv +ProjectileInfo__12CPuddleSporeFv: +/* 80147EB8 00144E18 38 63 05 EC */ addi r3, r3, 0x5ec +/* 80147EBC 00144E1C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12CPuddleSporeF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12CPuddleSporeF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80147EC0 00144E20 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80147EC4 00144E24 7C 08 02 A6 */ mflr r0 +/* 80147EC8 00144E28 90 01 00 34 */ stw r0, 0x34(r1) +/* 80147ECC 00144E2C BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 80147ED0 00144E30 7C 9C 23 78 */ mr r28, r4 +/* 80147ED4 00144E34 2C 1C 00 2A */ cmpwi r28, 0x2a +/* 80147ED8 00144E38 7C 7B 1B 78 */ mr r27, r3 +/* 80147EDC 00144E3C 7C BD 2B 78 */ mr r29, r5 +/* 80147EE0 00144E40 7C DE 33 78 */ mr r30, r6 +/* 80147EE4 00144E44 3B E0 00 00 */ li r31, 0 +/* 80147EE8 00144E48 41 82 00 14 */ beq lbl_80147EFC +/* 80147EEC 00144E4C 40 80 00 24 */ bge lbl_80147F10 +/* 80147EF0 00144E50 2C 1C 00 21 */ cmpwi r28, 0x21 +/* 80147EF4 00144E54 41 82 00 10 */ beq lbl_80147F04 +/* 80147EF8 00144E58 48 00 00 18 */ b lbl_80147F10 +lbl_80147EFC: +/* 80147EFC 00144E5C 3B E0 00 01 */ li r31, 1 +/* 80147F00 00144E60 48 00 00 10 */ b lbl_80147F10 +lbl_80147F04: +/* 80147F04 00144E64 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 80147F08 00144E68 7F C4 F3 78 */ mr r4, r30 +/* 80147F0C 00144E6C 4B FF 2D E5 */ bl Activate__15CBodyControllerFR13CStateManager +lbl_80147F10: +/* 80147F10 00144E70 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80147F14 00144E74 40 82 00 20 */ bne lbl_80147F34 +/* 80147F18 00144E78 A0 1D 00 00 */ lhz r0, 0(r29) +/* 80147F1C 00144E7C 7F 63 DB 78 */ mr r3, r27 +/* 80147F20 00144E80 7F 84 E3 78 */ mr r4, r28 +/* 80147F24 00144E84 7F C6 F3 78 */ mr r6, r30 +/* 80147F28 00144E88 B0 01 00 08 */ sth r0, 8(r1) +/* 80147F2C 00144E8C 38 A1 00 08 */ addi r5, r1, 8 +/* 80147F30 00144E90 4B F3 4C 49 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_80147F34: +/* 80147F34 00144E94 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 80147F38 00144E98 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80147F3C 00144E9C 7C 08 03 A6 */ mtlr r0 +/* 80147F40 00144EA0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80147F44 00144EA4 4E 80 00 20 */ blr + +.global FluidFXThink__12CPuddleSporeFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager +FluidFXThink__12CPuddleSporeFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: +/* 80147F48 00144EA8 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80147F4C 00144EAC 7C 08 02 A6 */ mflr r0 +/* 80147F50 00144EB0 2C 04 00 01 */ cmpwi r4, 1 +/* 80147F54 00144EB4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80147F58 00144EB8 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80147F5C 00144EBC 7C DF 33 78 */ mr r31, r6 +/* 80147F60 00144EC0 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80147F64 00144EC4 7C BE 2B 78 */ mr r30, r5 +/* 80147F68 00144EC8 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80147F6C 00144ECC 7C 7D 1B 78 */ mr r29, r3 +/* 80147F70 00144ED0 40 82 00 94 */ bne lbl_80148004 +/* 80147F74 00144ED4 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80147F78 00144ED8 38 81 00 14 */ addi r4, r1, 0x14 +/* 80147F7C 00144EDC B0 01 00 14 */ sth r0, 0x14(r1) +/* 80147F80 00144EE0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80147F84 00144EE4 80 7F 08 7C */ lwz r3, 0x87c(r31) +/* 80147F88 00144EE8 4B FE 75 F9 */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId +/* 80147F8C 00144EEC C0 02 9C C0 */ lfs f0, lbl_805AB9E0@sda21(r2) +/* 80147F90 00144EF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80147F94 00144EF4 4C 41 13 82 */ cror 2, 1, 2 +/* 80147F98 00144EF8 40 82 00 6C */ bne lbl_80148004 +/* 80147F9C 00144EFC 7F C4 F3 78 */ mr r4, r30 +/* 80147FA0 00144F00 38 61 00 30 */ addi r3, r1, 0x30 +/* 80147FA4 00144F04 4B F2 E7 29 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80147FA8 00144F08 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80147FAC 00144F0C 7F C6 F3 78 */ mr r6, r30 +/* 80147FB0 00144F10 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 80147FB4 00144F14 7F E7 FB 78 */ mr r7, r31 +/* 80147FB8 00144F18 C0 9D 00 40 */ lfs f4, 0x40(r29) +/* 80147FBC 00144F1C 38 81 00 0C */ addi r4, r1, 0xc +/* 80147FC0 00144F20 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80147FC4 00144F24 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80147FC8 00144F28 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80147FCC 00144F2C C0 22 9C C4 */ lfs f1, lbl_805AB9E4@sda21(r2) +/* 80147FD0 00144F30 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80147FD4 00144F34 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80147FD8 00144F38 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80147FDC 00144F3C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 80147FE0 00144F40 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80147FE4 00144F44 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 80147FE8 00144F48 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80147FEC 00144F4C 81 83 00 00 */ lwz r12, 0(r3) +/* 80147FF0 00144F50 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80147FF4 00144F54 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80147FF8 00144F58 B0 01 00 08 */ sth r0, 8(r1) +/* 80147FFC 00144F5C 7D 89 03 A6 */ mtctr r12 +/* 80148000 00144F60 4E 80 04 21 */ bctrl +lbl_80148004: +/* 80148004 00144F64 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80148008 00144F68 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8014800C 00144F6C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80148010 00144F70 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80148014 00144F74 7C 08 03 A6 */ mtlr r0 +/* 80148018 00144F78 38 21 00 60 */ addi r1, r1, 0x60 +/* 8014801C 00144F7C 4E 80 00 20 */ blr + +.global Render__12CPuddleSporeCFRC13CStateManager +Render__12CPuddleSporeCFRC13CStateManager: +/* 80148020 00144F80 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80148024 00144F84 7C 08 02 A6 */ mflr r0 +/* 80148028 00144F88 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014802C 00144F8C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80148030 00144F90 93 C1 00 08 */ stw r30, 8(r1) +/* 80148034 00144F94 7C 7E 1B 78 */ mr r30, r3 +/* 80148038 00144F98 4B F2 FF F5 */ bl Render__10CPatternedCFRC13CStateManager +/* 8014803C 00144F9C C0 3E 05 6C */ lfs f1, 0x56c(r30) +/* 80148040 00144FA0 C0 02 9C C8 */ lfs f0, lbl_805AB9E8@sda21(r2) +/* 80148044 00144FA4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80148048 00144FA8 40 81 00 3C */ ble lbl_80148084 +/* 8014804C 00144FAC 83 FE 05 E8 */ lwz r31, 0x5e8(r30) +/* 80148050 00144FB0 48 00 00 1C */ b lbl_8014806C +lbl_80148054: +/* 80148054 00144FB4 7F E3 FB 78 */ mr r3, r31 +/* 80148058 00144FB8 81 9F 00 00 */ lwz r12, 0(r31) +/* 8014805C 00144FBC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80148060 00144FC0 7D 89 03 A6 */ mtctr r12 +/* 80148064 00144FC4 4E 80 04 21 */ bctrl +/* 80148068 00144FC8 3B FF 03 40 */ addi r31, r31, 0x340 +lbl_8014806C: +/* 8014806C 00144FCC 80 1E 05 E0 */ lwz r0, 0x5e0(r30) +/* 80148070 00144FD0 80 7E 05 E8 */ lwz r3, 0x5e8(r30) +/* 80148074 00144FD4 1C 00 03 40 */ mulli r0, r0, 0x340 +/* 80148078 00144FD8 7C 03 02 14 */ add r0, r3, r0 +/* 8014807C 00144FDC 7C 1F 00 40 */ cmplw r31, r0 +/* 80148080 00144FE0 40 82 FF D4 */ bne lbl_80148054 +lbl_80148084: +/* 80148084 00144FE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80148088 00144FE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8014808C 00144FEC 83 C1 00 08 */ lwz r30, 8(r1) +/* 80148090 00144FF0 7C 08 03 A6 */ mtlr r0 +/* 80148094 00144FF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80148098 00144FF8 4E 80 00 20 */ blr + +.global Think__12CPuddleSporeFfR13CStateManager +Think__12CPuddleSporeFfR13CStateManager: +/* 8014809C 00144FFC 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 801480A0 00145000 7C 08 02 A6 */ mflr r0 +/* 801480A4 00145004 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 801480A8 00145008 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 801480AC 0014500C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 801480B0 00145010 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 801480B4 00145014 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 801480B8 00145018 BF 61 00 9C */ stmw r27, 0x9c(r1) +/* 801480BC 0014501C 88 03 06 14 */ lbz r0, 0x614(r3) +/* 801480C0 00145020 FF C0 08 90 */ fmr f30, f1 +/* 801480C4 00145024 7C 7E 1B 78 */ mr r30, r3 +/* 801480C8 00145028 7C 9F 23 78 */ mr r31, r4 +/* 801480CC 0014502C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801480D0 00145030 41 82 00 10 */ beq lbl_801480E0 +/* 801480D4 00145034 C0 1E 05 6C */ lfs f0, 0x56c(r30) +/* 801480D8 00145038 EC 00 F0 2A */ fadds f0, f0, f30 +/* 801480DC 0014503C D0 1E 05 6C */ stfs f0, 0x56c(r30) +lbl_801480E0: +/* 801480E0 00145040 88 1E 06 14 */ lbz r0, 0x614(r30) +/* 801480E4 00145044 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801480E8 00145048 41 82 00 10 */ beq lbl_801480F8 +/* 801480EC 0014504C C0 1E 05 68 */ lfs f0, 0x568(r30) +/* 801480F0 00145050 EC 00 F0 2A */ fadds f0, f0, f30 +/* 801480F4 00145054 D0 1E 05 68 */ stfs f0, 0x568(r30) +lbl_801480F8: +/* 801480F8 00145058 7F C3 F3 78 */ mr r3, r30 +/* 801480FC 0014505C 7F E4 FB 78 */ mr r4, r31 +/* 80148100 00145060 81 9E 00 00 */ lwz r12, 0(r30) +/* 80148104 00145064 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80148108 00145068 7D 89 03 A6 */ mtctr r12 +/* 8014810C 0014506C 4E 80 04 21 */ bctrl +/* 80148110 00145070 C0 02 9C CC */ lfs f0, lbl_805AB9EC@sda21(r2) +/* 80148114 00145074 C0 22 9C 98 */ lfs f1, lbl_805AB9B8@sda21(r2) +/* 80148118 00145078 D0 03 00 00 */ stfs f0, 0(r3) +/* 8014811C 0014507C 38 61 00 0C */ addi r3, r1, 0xc +/* 80148120 00145080 FC 40 08 90 */ fmr f2, f1 +/* 80148124 00145084 C0 BE 05 6C */ lfs f5, 0x56c(r30) +/* 80148128 00145088 FC 60 08 90 */ fmr f3, f1 +/* 8014812C 0014508C C0 1E 05 70 */ lfs f0, 0x570(r30) +/* 80148130 00145090 FC 80 08 90 */ fmr f4, f1 +/* 80148134 00145094 EC A5 00 24 */ fdivs f5, f5, f0 +/* 80148138 00145098 EC 05 08 28 */ fsubs f0, f5, f1 +/* 8014813C 0014509C FF E0 28 6E */ fsel f31, f0, f1, f5 +/* 80148140 001450A0 48 21 B2 AD */ bl __ct__6CColorFffff +/* 80148144 001450A4 C0 22 9C 98 */ lfs f1, lbl_805AB9B8@sda21(r2) +/* 80148148 001450A8 7C 7D 1B 78 */ mr r29, r3 +/* 8014814C 001450AC C0 82 9C 88 */ lfs f4, lbl_805AB9A8@sda21(r2) +/* 80148150 001450B0 38 61 00 10 */ addi r3, r1, 0x10 +/* 80148154 001450B4 FC 40 08 90 */ fmr f2, f1 +/* 80148158 001450B8 FC 60 08 90 */ fmr f3, f1 +/* 8014815C 001450BC 48 21 B2 91 */ bl __ct__6CColorFffff +/* 80148160 001450C0 FC 20 F8 90 */ fmr f1, f31 +/* 80148164 001450C4 7C 64 1B 78 */ mr r4, r3 +/* 80148168 001450C8 7F A5 EB 78 */ mr r5, r29 +/* 8014816C 001450CC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80148170 001450D0 48 21 B1 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80148174 001450D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80148178 001450D8 3C 60 80 3E */ lis r3, lbl_803E2078@ha +/* 8014817C 001450DC 3B A3 20 78 */ addi r29, r3, lbl_803E2078@l +/* 80148180 001450E0 3B 60 00 00 */ li r27, 0 +/* 80148184 001450E4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80148188 001450E8 3B 80 00 00 */ li r28, 0 +/* 8014818C 001450EC 48 00 00 B4 */ b lbl_80148240 +lbl_80148190: +/* 80148190 001450F0 80 9D 00 00 */ lwz r4, 0(r29) +/* 80148194 001450F4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80148198 001450F8 38 C1 00 08 */ addi r6, r1, 8 +/* 8014819C 001450FC 38 A0 FF FF */ li r5, -1 +/* 801481A0 00145100 48 1F 5F F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 801481A4 00145104 7F C4 F3 78 */ mr r4, r30 +/* 801481A8 00145108 38 61 00 38 */ addi r3, r1, 0x38 +/* 801481AC 0014510C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 801481B0 00145110 4B F3 07 C9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 801481B4 00145114 38 61 00 68 */ addi r3, r1, 0x68 +/* 801481B8 00145118 38 81 00 38 */ addi r4, r1, 0x38 +/* 801481BC 0014511C 48 1C A9 B9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801481C0 00145120 38 61 00 28 */ addi r3, r1, 0x28 +/* 801481C4 00145124 48 1F 59 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 801481C8 00145128 80 1E 05 E8 */ lwz r0, 0x5e8(r30) +/* 801481CC 0014512C 38 81 00 18 */ addi r4, r1, 0x18 +/* 801481D0 00145130 7C 60 E2 14 */ add r3, r0, r28 +/* 801481D4 00145134 81 83 00 00 */ lwz r12, 0(r3) +/* 801481D8 00145138 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801481DC 0014513C 7D 89 03 A6 */ mtctr r12 +/* 801481E0 00145140 4E 80 04 21 */ bctrl +/* 801481E4 00145144 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 801481E8 00145148 38 81 00 1C */ addi r4, r1, 0x1c +/* 801481EC 0014514C C0 21 00 84 */ lfs f1, 0x84(r1) +/* 801481F0 00145150 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 801481F4 00145154 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 801481F8 00145158 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 801481FC 0014515C D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80148200 00145160 80 1E 05 E8 */ lwz r0, 0x5e8(r30) +/* 80148204 00145164 7C 60 E2 14 */ add r3, r0, r28 +/* 80148208 00145168 81 83 00 00 */ lwz r12, 0(r3) +/* 8014820C 0014516C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 80148210 00145170 7D 89 03 A6 */ mtctr r12 +/* 80148214 00145174 4E 80 04 21 */ bctrl +/* 80148218 00145178 80 1E 05 E8 */ lwz r0, 0x5e8(r30) +/* 8014821C 0014517C FC 20 F0 90 */ fmr f1, f30 +/* 80148220 00145180 7C 60 E2 14 */ add r3, r0, r28 +/* 80148224 00145184 81 83 00 00 */ lwz r12, 0(r3) +/* 80148228 00145188 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8014822C 0014518C 7D 89 03 A6 */ mtctr r12 +/* 80148230 00145190 4E 80 04 21 */ bctrl +/* 80148234 00145194 3B BD 00 04 */ addi r29, r29, 4 +/* 80148238 00145198 3B 9C 03 40 */ addi r28, r28, 0x340 +/* 8014823C 0014519C 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80148240: +/* 80148240 001451A0 80 0D 8B E0 */ lwz r0, lbl_805A77A0@sda21(r13) +/* 80148244 001451A4 7C 1B 00 00 */ cmpw r27, r0 +/* 80148248 001451A8 41 80 FF 48 */ blt lbl_80148190 +/* 8014824C 001451AC FC 20 F0 90 */ fmr f1, f30 +/* 80148250 001451B0 7F C3 F3 78 */ mr r3, r30 +/* 80148254 001451B4 7F E4 FB 78 */ mr r4, r31 +/* 80148258 001451B8 4B F3 18 C1 */ bl Think__10CPatternedFfR13CStateManager +/* 8014825C 001451BC E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80148260 001451C0 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80148264 001451C4 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80148268 001451C8 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 8014826C 001451CC BB 61 00 9C */ lmw r27, 0x9c(r1) +/* 80148270 001451D0 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80148274 001451D4 7C 08 03 A6 */ mtlr r0 +/* 80148278 001451D8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8014827C 001451DC 4E 80 00 20 */ blr + +.global PreThink__12CPuddleSporeFfR13CStateManager +PreThink__12CPuddleSporeFfR13CStateManager: +/* 80148280 001451E0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80148284 001451E4 7C 08 02 A6 */ mflr r0 +/* 80148288 001451E8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8014828C 001451EC DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80148290 001451F0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80148294 001451F4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80148298 001451F8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8014829C 001451FC FF E0 08 90 */ fmr f31, f1 +/* 801482A0 00145200 7C 7E 1B 78 */ mr r30, r3 +/* 801482A4 00145204 7C 9F 23 78 */ mr r31, r4 +/* 801482A8 00145208 38 61 00 08 */ addi r3, r1, 8 +/* 801482AC 0014520C 7F C4 F3 78 */ mr r4, r30 +/* 801482B0 00145210 4B FF F4 39 */ bl CalculateBoundingBox__12CPuddleSporeCFv +/* 801482B4 00145214 C0 A1 00 08 */ lfs f5, 8(r1) +/* 801482B8 00145218 C0 81 00 0C */ lfs f4, 0xc(r1) +/* 801482BC 0014521C C0 61 00 10 */ lfs f3, 0x10(r1) +/* 801482C0 00145220 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 801482C4 00145224 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 801482C8 00145228 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 801482CC 0014522C D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 801482D0 00145230 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 801482D4 00145234 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 801482D8 00145238 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 801482DC 0014523C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 801482E0 00145240 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 801482E4 00145244 80 1E 05 C8 */ lwz r0, 0x5c8(r30) +/* 801482E8 00145248 2C 00 00 02 */ cmpwi r0, 2 +/* 801482EC 0014524C 40 82 00 18 */ bne lbl_80148304 +/* 801482F0 00145250 7F C3 F3 78 */ mr r3, r30 +/* 801482F4 00145254 7F E5 FB 78 */ mr r5, r31 +/* 801482F8 00145258 38 80 00 37 */ li r4, 0x37 +/* 801482FC 0014525C 4B F0 C0 55 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80148300 00145260 48 00 00 14 */ b lbl_80148314 +lbl_80148304: +/* 80148304 00145264 7F C3 F3 78 */ mr r3, r30 +/* 80148308 00145268 7F E5 FB 78 */ mr r5, r31 +/* 8014830C 0014526C 38 80 00 37 */ li r4, 0x37 +/* 80148310 00145270 4B F0 BC 71 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_80148314: +/* 80148314 00145274 FC 20 F8 90 */ fmr f1, f31 +/* 80148318 00145278 7F C3 F3 78 */ mr r3, r30 +/* 8014831C 0014527C 7F E5 FB 78 */ mr r5, r31 +/* 80148320 00145280 38 81 00 20 */ addi r4, r1, 0x20 +/* 80148324 00145284 4B FF F0 6D */ bl UpdateBoundingState__12CPuddleSporeFRC6CAABoxR13CStateManager +/* 80148328 00145288 FC 20 F8 90 */ fmr f1, f31 +/* 8014832C 0014528C 7F C3 F3 78 */ mr r3, r30 +/* 80148330 00145290 7F E4 FB 78 */ mr r4, r31 +/* 80148334 00145294 4B F2 F6 5D */ bl PreThink__10CPatternedFfR13CStateManager +/* 80148338 00145298 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8014833C 0014529C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80148340 001452A0 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80148344 001452A4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80148348 001452A8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8014834C 001452AC 7C 08 03 A6 */ mtlr r0 +/* 80148350 001452B0 38 21 00 50 */ addi r1, r1, 0x50 +/* 80148354 001452B4 4E 80 00 20 */ blr + +.global Accept__12CPuddleSporeFR8IVisitor +Accept__12CPuddleSporeFR8IVisitor: +/* 80148358 001452B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8014835C 001452BC 7C 08 02 A6 */ mflr r0 +/* 80148360 001452C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80148364 001452C4 7C 60 1B 78 */ mr r0, r3 +/* 80148368 001452C8 7C 83 23 78 */ mr r3, r4 +/* 8014836C 001452CC 81 84 00 00 */ lwz r12, 0(r4) +/* 80148370 001452D0 7C 04 03 78 */ mr r4, r0 +/* 80148374 001452D4 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80148378 001452D8 7D 89 03 A6 */ mtctr r12 +/* 8014837C 001452DC 4E 80 04 21 */ bctrl +/* 80148380 001452E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80148384 001452E4 7C 08 03 A6 */ mtlr r0 +/* 80148388 001452E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8014838C 001452EC 4E 80 00 20 */ blr + +.global "__ct__12CPuddleSporeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypeUifffffRC16CActorParametersUiRC11CDamageInfo" +"__ct__12CPuddleSporeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypeUifffffRC16CActorParametersUiRC11CDamageInfo": +/* 80148390 001452F0 94 21 FC 00 */ stwu r1, -0x400(r1) +/* 80148394 001452F4 7C 08 02 A6 */ mflr r0 +/* 80148398 001452F8 90 01 04 04 */ stw r0, 0x404(r1) +/* 8014839C 001452FC DB E1 03 F0 */ stfd f31, 0x3f0(r1) +/* 801483A0 00145300 F3 E1 03 F8 */ psq_st f31, 1016(r1), 0, qr0 +/* 801483A4 00145304 DB C1 03 E0 */ stfd f30, 0x3e0(r1) +/* 801483A8 00145308 F3 C1 03 E8 */ psq_st f30, 1000(r1), 0, qr0 +/* 801483AC 0014530C DB A1 03 D0 */ stfd f29, 0x3d0(r1) +/* 801483B0 00145310 F3 A1 03 D8 */ psq_st f29, 984(r1), 0, qr0 +/* 801483B4 00145314 DB 81 03 C0 */ stfd f28, 0x3c0(r1) +/* 801483B8 00145318 F3 81 03 C8 */ psq_st f28, 968(r1), 0, qr0 +/* 801483BC 0014531C DB 61 03 B0 */ stfd f27, 0x3b0(r1) +/* 801483C0 00145320 F3 61 03 B8 */ psq_st f27, 952(r1), 0, qr0 +/* 801483C4 00145324 BF 41 03 98 */ stmw r26, 0x398(r1) +/* 801483C8 00145328 A0 04 00 00 */ lhz r0, 0(r4) +/* 801483CC 0014532C 7D 5A 53 78 */ mr r26, r10 +/* 801483D0 00145330 7C EC 3B 78 */ mr r12, r7 +/* 801483D4 00145334 7C DD 33 78 */ mr r29, r6 +/* 801483D8 00145338 B0 01 00 20 */ sth r0, 0x20(r1) +/* 801483DC 0014533C 7D 0B 43 78 */ mr r11, r8 +/* 801483E0 00145340 7D 2A 4B 78 */ mr r10, r9 +/* 801483E4 00145344 38 80 00 01 */ li r4, 1 +/* 801483E8 00145348 93 41 00 08 */ stw r26, 8(r1) +/* 801483EC 0014534C 38 00 00 02 */ li r0, 2 +/* 801483F0 00145350 80 E1 04 08 */ lwz r7, 0x408(r1) +/* 801483F4 00145354 FF 60 08 90 */ fmr f27, f1 +/* 801483F8 00145358 90 81 00 0C */ stw r4, 0xc(r1) +/* 801483FC 0014535C FF 80 10 90 */ fmr f28, f2 +/* 80148400 00145360 80 C1 04 10 */ lwz r6, 0x410(r1) +/* 80148404 00145364 FF A0 18 90 */ fmr f29, f3 +/* 80148408 00145368 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8014840C 0014536C 7F A7 EB 78 */ mr r7, r29 +/* 80148410 00145370 FF C0 20 90 */ fmr f30, f4 +/* 80148414 00145374 90 01 00 14 */ stw r0, 0x14(r1) +/* 80148418 00145378 FF E0 28 90 */ fmr f31, f5 +/* 8014841C 0014537C 83 61 04 0C */ lwz r27, 0x40c(r1) +/* 80148420 00145380 7C 7F 1B 78 */ mr r31, r3 +/* 80148424 00145384 90 C1 00 18 */ stw r6, 0x18(r1) +/* 80148428 00145388 7C A6 2B 78 */ mr r6, r5 +/* 8014842C 0014538C 83 81 04 14 */ lwz r28, 0x414(r1) +/* 80148430 00145390 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80148434 00145394 7D 88 63 78 */ mr r8, r12 +/* 80148438 00145398 83 A1 04 18 */ lwz r29, 0x418(r1) +/* 8014843C 0014539C 7D 69 5B 78 */ mr r9, r11 +/* 80148440 001453A0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80148444 001453A4 38 80 00 1B */ li r4, 0x1b +/* 80148448 001453A8 4B F3 50 09 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8014844C 001453AC 3C 60 80 3E */ lis r3, lbl_803E20C4@ha +/* 80148450 001453B0 C0 42 9C 88 */ lfs f2, lbl_805AB9A8@sda21(r2) +/* 80148454 001453B4 38 03 20 C4 */ addi r0, r3, lbl_803E20C4@l +/* 80148458 001453B8 C0 02 9C 98 */ lfs f0, lbl_805AB9B8@sda21(r2) +/* 8014845C 001453BC 90 1F 00 00 */ stw r0, 0(r31) +/* 80148460 001453C0 7F E4 FB 78 */ mr r4, r31 +/* 80148464 001453C4 3B DF 00 68 */ addi r30, r31, 0x68 +/* 80148468 001453C8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8014846C 001453CC D0 5F 05 68 */ stfs f2, 0x568(r31) +/* 80148470 001453D0 D0 5F 05 6C */ stfs f2, 0x56c(r31) +/* 80148474 001453D4 D3 7F 05 70 */ stfs f27, 0x570(r31) +/* 80148478 001453D8 D3 9F 05 74 */ stfs f28, 0x574(r31) +/* 8014847C 001453DC D3 BF 05 78 */ stfs f29, 0x578(r31) +/* 80148480 001453E0 D3 DF 05 7C */ stfs f30, 0x57c(r31) +/* 80148484 001453E4 D3 FF 05 80 */ stfs f31, 0x580(r31) +/* 80148488 001453E8 C0 3A 00 CC */ lfs f1, 0xcc(r26) +/* 8014848C 001453EC D0 3F 05 84 */ stfs f1, 0x584(r31) +/* 80148490 001453F0 C0 3A 00 D0 */ lfs f1, 0xd0(r26) +/* 80148494 001453F4 D0 3F 05 88 */ stfs f1, 0x588(r31) +/* 80148498 001453F8 C0 3A 00 D4 */ lfs f1, 0xd4(r26) +/* 8014849C 001453FC D0 3F 05 8C */ stfs f1, 0x58c(r31) +/* 801484A0 00145400 C0 3A 00 C4 */ lfs f1, 0xc4(r26) +/* 801484A4 00145404 D0 3F 05 90 */ stfs f1, 0x590(r31) +/* 801484A8 00145408 C0 3A 00 C8 */ lfs f1, 0xc8(r26) +/* 801484AC 0014540C D0 3F 05 94 */ stfs f1, 0x594(r31) +/* 801484B0 00145410 D0 5F 05 98 */ stfs f2, 0x598(r31) +/* 801484B4 00145414 D0 1F 05 9C */ stfs f0, 0x59c(r31) +/* 801484B8 00145418 4B FF F2 31 */ bl CalculateBoundingBox__12CPuddleSporeCFv +/* 801484BC 0014541C 3B 5F 05 A0 */ addi r26, r31, 0x5a0 +/* 801484C0 00145420 7F C4 F3 78 */ mr r4, r30 +/* 801484C4 00145424 7F 43 D3 78 */ mr r3, r26 +/* 801484C8 00145428 48 18 73 ED */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 801484CC 0014542C 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha +/* 801484D0 00145430 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 801484D4 00145434 38 04 CA D0 */ addi r0, r4, lbl_803ECAD0@l +/* 801484D8 00145438 38 80 00 00 */ li r4, 0 +/* 801484DC 0014543C 90 1A 00 00 */ stw r0, 0(r26) +/* 801484E0 00145440 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 801484E4 00145444 38 61 00 2C */ addi r3, r1, 0x2c +/* 801484E8 00145448 38 A1 00 34 */ addi r5, r1, 0x34 +/* 801484EC 0014544C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 801484F0 00145450 D0 1A 00 10 */ stfs f0, 0x10(r26) +/* 801484F4 00145454 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 801484F8 00145458 D0 1A 00 14 */ stfs f0, 0x14(r26) +/* 801484FC 0014545C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80148500 00145460 D0 1A 00 18 */ stfs f0, 0x18(r26) +/* 80148504 00145464 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80148508 00145468 D0 1A 00 1C */ stfs f0, 0x1c(r26) +/* 8014850C 0014546C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80148510 00145470 D0 1A 00 20 */ stfs f0, 0x20(r26) +/* 80148514 00145474 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80148518 00145478 D0 1A 00 24 */ stfs f0, 0x24(r26) +/* 8014851C 0014547C 90 9F 05 C8 */ stw r4, 0x5c8(r31) +/* 80148520 00145480 90 9F 05 CC */ stw r4, 0x5cc(r31) +/* 80148524 00145484 90 01 00 34 */ stw r0, 0x34(r1) +/* 80148528 00145488 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8014852C 0014548C 93 61 00 38 */ stw r27, 0x38(r1) +/* 80148530 00145490 81 84 00 00 */ lwz r12, 0(r4) +/* 80148534 00145494 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80148538 00145498 7D 89 03 A6 */ mtctr r12 +/* 8014853C 0014549C 4E 80 04 21 */ bctrl +/* 80148540 001454A0 3B 5F 05 D0 */ addi r26, r31, 0x5d0 +/* 80148544 001454A4 38 81 00 2C */ addi r4, r1, 0x2c +/* 80148548 001454A8 7F 43 D3 78 */ mr r3, r26 +/* 8014854C 001454AC 48 1F 89 5D */ bl __ct__6CTokenFRC6CToken +/* 80148550 001454B0 7F 43 D3 78 */ mr r3, r26 +/* 80148554 001454B4 48 1F 88 B9 */ bl GetObj__6CTokenFv +/* 80148558 001454B8 80 03 00 04 */ lwz r0, 4(r3) +/* 8014855C 001454BC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80148560 001454C0 38 80 FF FF */ li r4, -1 +/* 80148564 001454C4 90 1A 00 08 */ stw r0, 8(r26) +/* 80148568 001454C8 48 1F 88 D9 */ bl __dt__6CTokenFv +/* 8014856C 001454CC 38 00 00 00 */ li r0, 0 +/* 80148570 001454D0 7F 84 E3 78 */ mr r4, r28 +/* 80148574 001454D4 90 1F 05 E0 */ stw r0, 0x5e0(r31) +/* 80148578 001454D8 7F A5 EB 78 */ mr r5, r29 +/* 8014857C 001454DC 38 7F 05 EC */ addi r3, r31, 0x5ec +/* 80148580 001454E0 90 1F 05 E4 */ stw r0, 0x5e4(r31) +/* 80148584 001454E4 90 1F 05 E8 */ stw r0, 0x5e8(r31) +/* 80148588 001454E8 48 0D 3B 21 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 8014858C 001454EC 88 1F 06 14 */ lbz r0, 0x614(r31) +/* 80148590 001454F0 38 80 00 00 */ li r4, 0 +/* 80148594 001454F4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80148598 001454F8 38 7F 05 DC */ addi r3, r31, 0x5dc +/* 8014859C 001454FC 98 1F 06 14 */ stb r0, 0x614(r31) +/* 801485A0 00145500 88 1F 06 14 */ lbz r0, 0x614(r31) +/* 801485A4 00145504 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 801485A8 00145508 98 1F 06 14 */ stb r0, 0x614(r31) +/* 801485AC 0014550C 80 8D 8B E0 */ lwz r4, lbl_805A77A0@sda21(r13) +/* 801485B0 00145510 48 00 0B 35 */ bl sub_801490e4 +/* 801485B4 00145514 3B C0 00 00 */ li r30, 0 +/* 801485B8 00145518 48 00 00 4C */ b lbl_80148604 +lbl_801485BC: +/* 801485BC 0014551C 38 61 00 24 */ addi r3, r1, 0x24 +/* 801485C0 00145520 38 9F 05 D0 */ addi r4, r31, 0x5d0 +/* 801485C4 00145524 48 1F 88 E5 */ bl __ct__6CTokenFRC6CToken +/* 801485C8 00145528 38 61 00 58 */ addi r3, r1, 0x58 +/* 801485CC 0014552C 38 81 00 24 */ addi r4, r1, 0x24 +/* 801485D0 00145530 38 A0 00 00 */ li r5, 0 +/* 801485D4 00145534 38 C0 00 01 */ li r6, 1 +/* 801485D8 00145538 48 1D 6E 09 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 801485DC 0014553C 38 7F 05 DC */ addi r3, r31, 0x5dc +/* 801485E0 00145540 38 81 00 58 */ addi r4, r1, 0x58 +/* 801485E4 00145544 48 00 00 81 */ bl sub_80148664 +/* 801485E8 00145548 38 61 00 58 */ addi r3, r1, 0x58 +/* 801485EC 0014554C 38 80 FF FF */ li r4, -1 +/* 801485F0 00145550 48 1D 6B 9D */ bl __dt__11CElementGenFv +/* 801485F4 00145554 38 61 00 24 */ addi r3, r1, 0x24 +/* 801485F8 00145558 38 80 00 00 */ li r4, 0 +/* 801485FC 0014555C 48 1F 88 45 */ bl __dt__6CTokenFv +/* 80148600 00145560 3B DE 00 01 */ addi r30, r30, 1 +lbl_80148604: +/* 80148604 00145564 80 0D 8B E0 */ lwz r0, lbl_805A77A0@sda21(r13) +/* 80148608 00145568 7C 1E 00 00 */ cmpw r30, r0 +/* 8014860C 0014556C 41 80 FF B0 */ blt lbl_801485BC +/* 80148610 00145570 38 7F 05 EC */ addi r3, r31, 0x5ec +/* 80148614 00145574 48 1F 87 71 */ bl Lock__6CTokenFv +/* 80148618 00145578 38 7F 04 60 */ addi r3, r31, 0x460 +/* 8014861C 0014557C 38 80 00 00 */ li r4, 0 +/* 80148620 00145580 48 0E B7 45 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 80148624 00145584 7F E3 FB 78 */ mr r3, r31 +/* 80148628 00145588 E3 E1 03 F8 */ psq_l f31, 1016(r1), 0, qr0 +/* 8014862C 0014558C CB E1 03 F0 */ lfd f31, 0x3f0(r1) +/* 80148630 00145590 E3 C1 03 E8 */ psq_l f30, 1000(r1), 0, qr0 +/* 80148634 00145594 CB C1 03 E0 */ lfd f30, 0x3e0(r1) +/* 80148638 00145598 E3 A1 03 D8 */ psq_l f29, 984(r1), 0, qr0 +/* 8014863C 0014559C CB A1 03 D0 */ lfd f29, 0x3d0(r1) +/* 80148640 001455A0 E3 81 03 C8 */ psq_l f28, 968(r1), 0, qr0 +/* 80148644 001455A4 CB 81 03 C0 */ lfd f28, 0x3c0(r1) +/* 80148648 001455A8 E3 61 03 B8 */ psq_l f27, 952(r1), 0, qr0 +/* 8014864C 001455AC CB 61 03 B0 */ lfd f27, 0x3b0(r1) +/* 80148650 001455B0 BB 41 03 98 */ lmw r26, 0x398(r1) +/* 80148654 001455B4 80 01 04 04 */ lwz r0, 0x404(r1) +/* 80148658 001455B8 7C 08 03 A6 */ mtlr r0 +/* 8014865C 001455BC 38 21 04 00 */ addi r1, r1, 0x400 +/* 80148660 001455C0 4E 80 00 20 */ blr + +.global sub_80148664 +sub_80148664: +/* 80148664 001455C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80148668 001455C8 7C 08 02 A6 */ mflr r0 +/* 8014866C 001455CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80148670 001455D0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80148674 001455D4 7C 9F 23 78 */ mr r31, r4 +/* 80148678 001455D8 93 C1 00 08 */ stw r30, 8(r1) +/* 8014867C 001455DC 7C 7E 1B 78 */ mr r30, r3 +/* 80148680 001455E0 80 03 00 04 */ lwz r0, 4(r3) +/* 80148684 001455E4 80 A3 00 08 */ lwz r5, 8(r3) +/* 80148688 001455E8 7C 00 28 00 */ cmpw r0, r5 +/* 8014868C 001455EC 41 80 00 18 */ blt lbl_801486A4 +/* 80148690 001455F0 2C 05 00 00 */ cmpwi r5, 0 +/* 80148694 001455F4 38 80 00 04 */ li r4, 4 +/* 80148698 001455F8 41 82 00 08 */ beq lbl_801486A0 +/* 8014869C 001455FC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_801486A0: +/* 801486A0 00145600 48 00 0A 45 */ bl sub_801490e4 +lbl_801486A4: +/* 801486A4 00145604 80 1E 00 04 */ lwz r0, 4(r30) +/* 801486A8 00145608 7F E4 FB 78 */ mr r4, r31 +/* 801486AC 0014560C 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 801486B0 00145610 1C 00 03 40 */ mulli r0, r0, 0x340 +/* 801486B4 00145614 7C 63 02 14 */ add r3, r3, r0 +/* 801486B8 00145618 48 00 00 29 */ bl sub_801486e0 +/* 801486BC 0014561C 80 7E 00 04 */ lwz r3, 4(r30) +/* 801486C0 00145620 38 03 00 01 */ addi r0, r3, 1 +/* 801486C4 00145624 90 1E 00 04 */ stw r0, 4(r30) +/* 801486C8 00145628 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801486CC 0014562C 83 C1 00 08 */ lwz r30, 8(r1) +/* 801486D0 00145630 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801486D4 00145634 7C 08 03 A6 */ mtlr r0 +/* 801486D8 00145638 38 21 00 10 */ addi r1, r1, 0x10 +/* 801486DC 0014563C 4E 80 00 20 */ blr + +.global sub_801486e0 +sub_801486e0: +/* 801486E0 00145640 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801486E4 00145644 7C 08 02 A6 */ mflr r0 +/* 801486E8 00145648 28 03 00 00 */ cmplwi r3, 0 +/* 801486EC 0014564C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801486F0 00145650 41 82 00 08 */ beq lbl_801486F8 +/* 801486F4 00145654 48 00 00 15 */ bl sub_80148708 +lbl_801486F8: +/* 801486F8 00145658 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801486FC 0014565C 7C 08 03 A6 */ mtlr r0 +/* 80148700 00145660 38 21 00 10 */ addi r1, r1, 0x10 +/* 80148704 00145664 4E 80 00 20 */ blr + +.global sub_80148708 +sub_80148708: +/* 80148708 00145668 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8014870C 0014566C 7C 08 02 A6 */ mflr r0 +/* 80148710 00145670 90 01 00 24 */ stw r0, 0x24(r1) +/* 80148714 00145674 BF 41 00 08 */ stmw r26, 8(r1) +/* 80148718 00145678 7C 7E 1B 78 */ mr r30, r3 +/* 8014871C 0014567C 7C 9F 23 78 */ mr r31, r4 +/* 80148720 00145680 48 00 07 A9 */ bl sub_80148ec8 +/* 80148724 00145684 3C 60 80 3F */ lis r3, lbl_803EDA80@ha +/* 80148728 00145688 3B 5E 00 1C */ addi r26, r30, 0x1c +/* 8014872C 0014568C 38 03 DA 80 */ addi r0, r3, lbl_803EDA80@l +/* 80148730 00145690 38 9F 00 1C */ addi r4, r31, 0x1c +/* 80148734 00145694 90 1E 00 00 */ stw r0, 0(r30) +/* 80148738 00145698 7F 43 D3 78 */ mr r3, r26 +/* 8014873C 0014569C 48 1F 87 6D */ bl __ct__6CTokenFRC6CToken +/* 80148740 001456A0 80 1F 00 24 */ lwz r0, 0x24(r31) +/* 80148744 001456A4 7F 43 D3 78 */ mr r3, r26 +/* 80148748 001456A8 90 1A 00 08 */ stw r0, 8(r26) +/* 8014874C 001456AC 48 1F 86 39 */ bl Lock__6CTokenFv +/* 80148750 001456B0 80 1F 00 28 */ lwz r0, 0x28(r31) +/* 80148754 001456B4 38 7E 00 30 */ addi r3, r30, 0x30 +/* 80148758 001456B8 38 9F 00 30 */ addi r4, r31, 0x30 +/* 8014875C 001456BC 90 1E 00 28 */ stw r0, 0x28(r30) +/* 80148760 001456C0 80 1F 00 2C */ lwz r0, 0x2c(r31) +/* 80148764 001456C4 90 1E 00 2C */ stw r0, 0x2c(r30) +/* 80148768 001456C8 48 00 06 19 */ bl sub_80148d80 +/* 8014876C 001456CC 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 80148770 001456D0 90 1E 00 44 */ stw r0, 0x44(r30) +/* 80148774 001456D4 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 80148778 001456D8 90 1E 00 48 */ stw r0, 0x48(r30) +/* 8014877C 001456DC 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 80148780 001456E0 2C 00 00 00 */ cmpwi r0, 0 +/* 80148784 001456E4 40 82 00 1C */ bne lbl_801487A0 +/* 80148788 001456E8 80 1F 00 48 */ lwz r0, 0x48(r31) +/* 8014878C 001456EC 2C 00 00 00 */ cmpwi r0, 0 +/* 80148790 001456F0 40 82 00 10 */ bne lbl_801487A0 +/* 80148794 001456F4 38 00 00 00 */ li r0, 0 +/* 80148798 001456F8 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 8014879C 001456FC 48 00 00 7C */ b lbl_80148818 +lbl_801487A0: +/* 801487A0 00145700 80 1E 00 48 */ lwz r0, 0x48(r30) +/* 801487A4 00145704 1C 60 00 0C */ mulli r3, r0, 0xc +/* 801487A8 00145708 2C 03 00 00 */ cmpwi r3, 0 +/* 801487AC 0014570C 40 82 00 10 */ bne lbl_801487BC +/* 801487B0 00145710 38 00 00 00 */ li r0, 0 +/* 801487B4 00145714 90 1E 00 4C */ stw r0, 0x4c(r30) +/* 801487B8 00145718 48 00 00 1C */ b lbl_801487D4 +lbl_801487BC: +/* 801487BC 0014571C 3C 80 80 3D */ lis r4, lbl_803D00A0@ha +/* 801487C0 00145720 38 A0 00 00 */ li r5, 0 +/* 801487C4 00145724 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l +/* 801487C8 00145728 38 84 00 C7 */ addi r4, r4, 0xc7 +/* 801487CC 0014572C 48 1C D0 4D */ bl __nwa__FUlPCcPCc +/* 801487D0 00145730 90 7E 00 4C */ stw r3, 0x4c(r30) +lbl_801487D4: +/* 801487D4 00145734 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 801487D8 00145738 80 9F 00 4C */ lwz r4, 0x4c(r31) +/* 801487DC 0014573C 80 7E 00 4C */ lwz r3, 0x4c(r30) +/* 801487E0 00145740 7C 09 03 A6 */ mtctr r0 +/* 801487E4 00145744 2C 00 00 00 */ cmpwi r0, 0 +/* 801487E8 00145748 40 81 00 30 */ ble lbl_80148818 +lbl_801487EC: +/* 801487EC 0014574C 28 03 00 00 */ cmplwi r3, 0 +/* 801487F0 00145750 41 82 00 1C */ beq lbl_8014880C +/* 801487F4 00145754 C0 04 00 00 */ lfs f0, 0(r4) +/* 801487F8 00145758 D0 03 00 00 */ stfs f0, 0(r3) +/* 801487FC 0014575C C0 04 00 04 */ lfs f0, 4(r4) +/* 80148800 00145760 D0 03 00 04 */ stfs f0, 4(r3) +/* 80148804 00145764 C0 04 00 08 */ lfs f0, 8(r4) +/* 80148808 00145768 D0 03 00 08 */ stfs f0, 8(r3) +lbl_8014880C: +/* 8014880C 0014576C 38 63 00 0C */ addi r3, r3, 0xc +/* 80148810 00145770 38 84 00 0C */ addi r4, r4, 0xc +/* 80148814 00145774 42 00 FF D8 */ bdnz lbl_801487EC +lbl_80148818: +/* 80148818 00145778 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 8014881C 0014577C 90 1E 00 54 */ stw r0, 0x54(r30) +/* 80148820 00145780 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80148824 00145784 90 1E 00 58 */ stw r0, 0x58(r30) +/* 80148828 00145788 80 1F 00 54 */ lwz r0, 0x54(r31) +/* 8014882C 0014578C 2C 00 00 00 */ cmpwi r0, 0 +/* 80148830 00145790 40 82 00 1C */ bne lbl_8014884C +/* 80148834 00145794 80 1F 00 58 */ lwz r0, 0x58(r31) +/* 80148838 00145798 2C 00 00 00 */ cmpwi r0, 0 +/* 8014883C 0014579C 40 82 00 10 */ bne lbl_8014884C +/* 80148840 001457A0 38 00 00 00 */ li r0, 0 +/* 80148844 001457A4 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 80148848 001457A8 48 00 00 74 */ b lbl_801488BC +lbl_8014884C: +/* 8014884C 001457AC 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 80148850 001457B0 1C 60 00 24 */ mulli r3, r0, 0x24 +/* 80148854 001457B4 2C 03 00 00 */ cmpwi r3, 0 +/* 80148858 001457B8 40 82 00 10 */ bne lbl_80148868 +/* 8014885C 001457BC 38 00 00 00 */ li r0, 0 +/* 80148860 001457C0 90 1E 00 5C */ stw r0, 0x5c(r30) +/* 80148864 001457C4 48 00 00 1C */ b lbl_80148880 +lbl_80148868: +/* 80148868 001457C8 3C 80 80 3D */ lis r4, lbl_803D00A0@ha +/* 8014886C 001457CC 38 A0 00 00 */ li r5, 0 +/* 80148870 001457D0 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l +/* 80148874 001457D4 38 84 00 C7 */ addi r4, r4, 0xc7 +/* 80148878 001457D8 48 1C CF A1 */ bl __nwa__FUlPCcPCc +/* 8014887C 001457DC 90 7E 00 5C */ stw r3, 0x5c(r30) +lbl_80148880: +/* 80148880 001457E0 83 5E 00 54 */ lwz r26, 0x54(r30) +/* 80148884 001457E4 3B A0 00 00 */ li r29, 0 +/* 80148888 001457E8 83 7F 00 5C */ lwz r27, 0x5c(r31) +/* 8014888C 001457EC 83 9E 00 5C */ lwz r28, 0x5c(r30) +/* 80148890 001457F0 48 00 00 24 */ b lbl_801488B4 +lbl_80148894: +/* 80148894 001457F4 28 1C 00 00 */ cmplwi r28, 0 +/* 80148898 001457F8 41 82 00 10 */ beq lbl_801488A8 +/* 8014889C 001457FC 7F 83 E3 78 */ mr r3, r28 +/* 801488A0 00145800 7F 64 DB 78 */ mr r4, r27 +/* 801488A4 00145804 48 1C 77 81 */ bl __ct__9CMatrix3fFRC9CMatrix3f +lbl_801488A8: +/* 801488A8 00145808 3B 9C 00 24 */ addi r28, r28, 0x24 +/* 801488AC 0014580C 3B BD 00 01 */ addi r29, r29, 1 +/* 801488B0 00145810 3B 7B 00 24 */ addi r27, r27, 0x24 +lbl_801488B4: +/* 801488B4 00145814 7C 1D D0 00 */ cmpw r29, r26 +/* 801488B8 00145818 41 80 FF DC */ blt lbl_80148894 +lbl_801488BC: +/* 801488BC 0014581C 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 801488C0 00145820 90 1E 00 64 */ stw r0, 0x64(r30) +/* 801488C4 00145824 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 801488C8 00145828 90 1E 00 68 */ stw r0, 0x68(r30) +/* 801488CC 0014582C 80 1F 00 64 */ lwz r0, 0x64(r31) +/* 801488D0 00145830 2C 00 00 00 */ cmpwi r0, 0 +/* 801488D4 00145834 40 82 00 1C */ bne lbl_801488F0 +/* 801488D8 00145838 80 1F 00 68 */ lwz r0, 0x68(r31) +/* 801488DC 0014583C 2C 00 00 00 */ cmpwi r0, 0 +/* 801488E0 00145840 40 82 00 10 */ bne lbl_801488F0 +/* 801488E4 00145844 38 00 00 00 */ li r0, 0 +/* 801488E8 00145848 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 801488EC 0014584C 48 00 00 A0 */ b lbl_8014898C +lbl_801488F0: +/* 801488F0 00145850 80 1E 00 68 */ lwz r0, 0x68(r30) +/* 801488F4 00145854 54 03 28 35 */ rlwinm. r3, r0, 5, 0, 0x1a +/* 801488F8 00145858 40 82 00 10 */ bne lbl_80148908 +/* 801488FC 0014585C 38 00 00 00 */ li r0, 0 +/* 80148900 00145860 90 1E 00 6C */ stw r0, 0x6c(r30) +/* 80148904 00145864 48 00 00 1C */ b lbl_80148920 +lbl_80148908: +/* 80148908 00145868 3C 80 80 3D */ lis r4, lbl_803D00A0@ha +/* 8014890C 0014586C 38 A0 00 00 */ li r5, 0 +/* 80148910 00145870 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l +/* 80148914 00145874 38 84 00 C7 */ addi r4, r4, 0xc7 +/* 80148918 00145878 48 1C CF 01 */ bl __nwa__FUlPCcPCc +/* 8014891C 0014587C 90 7E 00 6C */ stw r3, 0x6c(r30) +lbl_80148920: +/* 80148920 00145880 80 1E 00 64 */ lwz r0, 0x64(r30) +/* 80148924 00145884 80 BF 00 6C */ lwz r5, 0x6c(r31) +/* 80148928 00145888 80 9E 00 6C */ lwz r4, 0x6c(r30) +/* 8014892C 0014588C 7C 09 03 A6 */ mtctr r0 +/* 80148930 00145890 2C 00 00 00 */ cmpwi r0, 0 +/* 80148934 00145894 40 81 00 58 */ ble lbl_8014898C +lbl_80148938: +/* 80148938 00145898 28 04 00 00 */ cmplwi r4, 0 +/* 8014893C 0014589C 41 82 00 44 */ beq lbl_80148980 +/* 80148940 001458A0 80 65 00 00 */ lwz r3, 0(r5) +/* 80148944 001458A4 80 05 00 04 */ lwz r0, 4(r5) +/* 80148948 001458A8 90 64 00 00 */ stw r3, 0(r4) +/* 8014894C 001458AC 90 04 00 04 */ stw r0, 4(r4) +/* 80148950 001458B0 80 65 00 08 */ lwz r3, 8(r5) +/* 80148954 001458B4 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80148958 001458B8 90 64 00 08 */ stw r3, 8(r4) +/* 8014895C 001458BC 90 04 00 0C */ stw r0, 0xc(r4) +/* 80148960 001458C0 80 65 00 10 */ lwz r3, 0x10(r5) +/* 80148964 001458C4 80 05 00 14 */ lwz r0, 0x14(r5) +/* 80148968 001458C8 90 64 00 10 */ stw r3, 0x10(r4) +/* 8014896C 001458CC 90 04 00 14 */ stw r0, 0x14(r4) +/* 80148970 001458D0 80 65 00 18 */ lwz r3, 0x18(r5) +/* 80148974 001458D4 80 05 00 1C */ lwz r0, 0x1c(r5) +/* 80148978 001458D8 90 64 00 18 */ stw r3, 0x18(r4) +/* 8014897C 001458DC 90 04 00 1C */ stw r0, 0x1c(r4) +lbl_80148980: +/* 80148980 001458E0 38 84 00 20 */ addi r4, r4, 0x20 +/* 80148984 001458E4 38 A5 00 20 */ addi r5, r5, 0x20 +/* 80148988 001458E8 42 00 FF B0 */ bdnz lbl_80148938 +lbl_8014898C: +/* 8014898C 001458EC 80 1F 00 70 */ lwz r0, 0x70(r31) +/* 80148990 001458F0 38 7E 01 0C */ addi r3, r30, 0x10c +/* 80148994 001458F4 38 9F 01 0C */ addi r4, r31, 0x10c +/* 80148998 001458F8 90 1E 00 70 */ stw r0, 0x70(r30) +/* 8014899C 001458FC 80 1F 00 74 */ lwz r0, 0x74(r31) +/* 801489A0 00145900 90 1E 00 74 */ stw r0, 0x74(r30) +/* 801489A4 00145904 C8 1F 00 78 */ lfd f0, 0x78(r31) +/* 801489A8 00145908 D8 1E 00 78 */ stfd f0, 0x78(r30) +/* 801489AC 0014590C C0 1F 00 80 */ lfs f0, 0x80(r31) +/* 801489B0 00145910 D0 1E 00 80 */ stfs f0, 0x80(r30) +/* 801489B4 00145914 80 1F 00 84 */ lwz r0, 0x84(r31) +/* 801489B8 00145918 90 1E 00 84 */ stw r0, 0x84(r30) +/* 801489BC 0014591C 88 1F 00 88 */ lbz r0, 0x88(r31) +/* 801489C0 00145920 98 1E 00 88 */ stb r0, 0x88(r30) +/* 801489C4 00145924 C0 1F 00 8C */ lfs f0, 0x8c(r31) +/* 801489C8 00145928 D0 1E 00 8C */ stfs f0, 0x8c(r30) +/* 801489CC 0014592C 80 1F 00 90 */ lwz r0, 0x90(r31) +/* 801489D0 00145930 90 1E 00 90 */ stw r0, 0x90(r30) +/* 801489D4 00145934 A8 1F 00 94 */ lha r0, 0x94(r31) +/* 801489D8 00145938 B0 1E 00 94 */ sth r0, 0x94(r30) +/* 801489DC 0014593C C0 1F 00 98 */ lfs f0, 0x98(r31) +/* 801489E0 00145940 D0 1E 00 98 */ stfs f0, 0x98(r30) +/* 801489E4 00145944 80 BF 00 9C */ lwz r5, 0x9c(r31) +/* 801489E8 00145948 80 1F 00 A0 */ lwz r0, 0xa0(r31) +/* 801489EC 0014594C 90 BE 00 9C */ stw r5, 0x9c(r30) +/* 801489F0 00145950 90 1E 00 A0 */ stw r0, 0xa0(r30) +/* 801489F4 00145954 80 BF 00 A4 */ lwz r5, 0xa4(r31) +/* 801489F8 00145958 80 1F 00 A8 */ lwz r0, 0xa8(r31) +/* 801489FC 0014595C 90 BE 00 A4 */ stw r5, 0xa4(r30) +/* 80148A00 00145960 90 1E 00 A8 */ stw r0, 0xa8(r30) +/* 80148A04 00145964 80 BF 00 AC */ lwz r5, 0xac(r31) +/* 80148A08 00145968 80 1F 00 B0 */ lwz r0, 0xb0(r31) +/* 80148A0C 0014596C 90 BE 00 AC */ stw r5, 0xac(r30) +/* 80148A10 00145970 90 1E 00 B0 */ stw r0, 0xb0(r30) +/* 80148A14 00145974 80 BF 00 B4 */ lwz r5, 0xb4(r31) +/* 80148A18 00145978 80 1F 00 B8 */ lwz r0, 0xb8(r31) +/* 80148A1C 0014597C 90 BE 00 B4 */ stw r5, 0xb4(r30) +/* 80148A20 00145980 90 1E 00 B8 */ stw r0, 0xb8(r30) +/* 80148A24 00145984 80 BF 00 BC */ lwz r5, 0xbc(r31) +/* 80148A28 00145988 80 1F 00 C0 */ lwz r0, 0xc0(r31) +/* 80148A2C 0014598C 90 BE 00 BC */ stw r5, 0xbc(r30) +/* 80148A30 00145990 90 1E 00 C0 */ stw r0, 0xc0(r30) +/* 80148A34 00145994 80 BF 00 C4 */ lwz r5, 0xc4(r31) +/* 80148A38 00145998 80 1F 00 C8 */ lwz r0, 0xc8(r31) +/* 80148A3C 0014599C 90 BE 00 C4 */ stw r5, 0xc4(r30) +/* 80148A40 001459A0 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 80148A44 001459A4 80 BF 00 CC */ lwz r5, 0xcc(r31) +/* 80148A48 001459A8 80 1F 00 D0 */ lwz r0, 0xd0(r31) +/* 80148A4C 001459AC 90 BE 00 CC */ stw r5, 0xcc(r30) +/* 80148A50 001459B0 90 1E 00 D0 */ stw r0, 0xd0(r30) +/* 80148A54 001459B4 80 BF 00 D4 */ lwz r5, 0xd4(r31) +/* 80148A58 001459B8 80 1F 00 D8 */ lwz r0, 0xd8(r31) +/* 80148A5C 001459BC 90 BE 00 D4 */ stw r5, 0xd4(r30) +/* 80148A60 001459C0 90 1E 00 D8 */ stw r0, 0xd8(r30) +/* 80148A64 001459C4 C0 1F 00 DC */ lfs f0, 0xdc(r31) +/* 80148A68 001459C8 D0 1E 00 DC */ stfs f0, 0xdc(r30) +/* 80148A6C 001459CC C0 1F 00 E0 */ lfs f0, 0xe0(r31) +/* 80148A70 001459D0 D0 1E 00 E0 */ stfs f0, 0xe0(r30) +/* 80148A74 001459D4 C0 1F 00 E4 */ lfs f0, 0xe4(r31) +/* 80148A78 001459D8 D0 1E 00 E4 */ stfs f0, 0xe4(r30) +/* 80148A7C 001459DC C0 1F 00 E8 */ lfs f0, 0xe8(r31) +/* 80148A80 001459E0 D0 1E 00 E8 */ stfs f0, 0xe8(r30) +/* 80148A84 001459E4 C0 1F 00 EC */ lfs f0, 0xec(r31) +/* 80148A88 001459E8 D0 1E 00 EC */ stfs f0, 0xec(r30) +/* 80148A8C 001459EC C0 1F 00 F0 */ lfs f0, 0xf0(r31) +/* 80148A90 001459F0 D0 1E 00 F0 */ stfs f0, 0xf0(r30) +/* 80148A94 001459F4 C0 1F 00 F4 */ lfs f0, 0xf4(r31) +/* 80148A98 001459F8 D0 1E 00 F4 */ stfs f0, 0xf4(r30) +/* 80148A9C 001459FC C0 1F 00 F8 */ lfs f0, 0xf8(r31) +/* 80148AA0 00145A00 D0 1E 00 F8 */ stfs f0, 0xf8(r30) +/* 80148AA4 00145A04 C0 1F 00 FC */ lfs f0, 0xfc(r31) +/* 80148AA8 00145A08 D0 1E 00 FC */ stfs f0, 0xfc(r30) +/* 80148AAC 00145A0C C0 1F 01 00 */ lfs f0, 0x100(r31) +/* 80148AB0 00145A10 D0 1E 01 00 */ stfs f0, 0x100(r30) +/* 80148AB4 00145A14 C0 1F 01 04 */ lfs f0, 0x104(r31) +/* 80148AB8 00145A18 D0 1E 01 04 */ stfs f0, 0x104(r30) +/* 80148ABC 00145A1C C0 1F 01 08 */ lfs f0, 0x108(r31) +/* 80148AC0 00145A20 D0 1E 01 08 */ stfs f0, 0x108(r30) +/* 80148AC4 00145A24 48 1C A0 B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80148AC8 00145A28 38 7E 01 3C */ addi r3, r30, 0x13c +/* 80148ACC 00145A2C 38 9F 01 3C */ addi r4, r31, 0x13c +/* 80148AD0 00145A30 48 1C A0 A5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80148AD4 00145A34 C0 1F 01 6C */ lfs f0, 0x16c(r31) +/* 80148AD8 00145A38 38 7E 01 78 */ addi r3, r30, 0x178 +/* 80148ADC 00145A3C 38 9F 01 78 */ addi r4, r31, 0x178 +/* 80148AE0 00145A40 D0 1E 01 6C */ stfs f0, 0x16c(r30) +/* 80148AE4 00145A44 C0 1F 01 70 */ lfs f0, 0x170(r31) +/* 80148AE8 00145A48 D0 1E 01 70 */ stfs f0, 0x170(r30) +/* 80148AEC 00145A4C C0 1F 01 74 */ lfs f0, 0x174(r31) +/* 80148AF0 00145A50 D0 1E 01 74 */ stfs f0, 0x174(r30) +/* 80148AF4 00145A54 48 1C A0 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80148AF8 00145A58 38 7E 01 A8 */ addi r3, r30, 0x1a8 +/* 80148AFC 00145A5C 38 9F 01 A8 */ addi r4, r31, 0x1a8 +/* 80148B00 00145A60 48 1C A0 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80148B04 00145A64 38 7E 01 D8 */ addi r3, r30, 0x1d8 +/* 80148B08 00145A68 38 9F 01 D8 */ addi r4, r31, 0x1d8 +/* 80148B0C 00145A6C 48 1C A0 69 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80148B10 00145A70 38 7E 02 08 */ addi r3, r30, 0x208 +/* 80148B14 00145A74 38 9F 02 08 */ addi r4, r31, 0x208 +/* 80148B18 00145A78 48 1C 75 0D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80148B1C 00145A7C 38 7E 02 2C */ addi r3, r30, 0x22c +/* 80148B20 00145A80 38 9F 02 2C */ addi r4, r31, 0x22c +/* 80148B24 00145A84 48 1C A0 51 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80148B28 00145A88 80 1F 02 5C */ lwz r0, 0x25c(r31) +/* 80148B2C 00145A8C 90 1E 02 5C */ stw r0, 0x25c(r30) +/* 80148B30 00145A90 80 1F 02 60 */ lwz r0, 0x260(r31) +/* 80148B34 00145A94 90 1E 02 60 */ stw r0, 0x260(r30) +/* 80148B38 00145A98 80 1F 02 64 */ lwz r0, 0x264(r31) +/* 80148B3C 00145A9C 90 1E 02 64 */ stw r0, 0x264(r30) +/* 80148B40 00145AA0 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 80148B44 00145AA4 90 1E 02 68 */ stw r0, 0x268(r30) +/* 80148B48 00145AA8 88 1F 02 6C */ lbz r0, 0x26c(r31) +/* 80148B4C 00145AAC 98 1E 02 6C */ stb r0, 0x26c(r30) +/* 80148B50 00145AB0 88 1F 02 6D */ lbz r0, 0x26d(r31) +/* 80148B54 00145AB4 98 1E 02 6D */ stb r0, 0x26d(r30) +/* 80148B58 00145AB8 80 1F 02 70 */ lwz r0, 0x270(r31) +/* 80148B5C 00145ABC 90 1E 02 70 */ stw r0, 0x270(r30) +/* 80148B60 00145AC0 88 1F 02 74 */ lbz r0, 0x274(r31) +/* 80148B64 00145AC4 98 1E 02 74 */ stb r0, 0x274(r30) +/* 80148B68 00145AC8 80 1F 02 78 */ lwz r0, 0x278(r31) +/* 80148B6C 00145ACC 90 1E 02 78 */ stw r0, 0x278(r30) +/* 80148B70 00145AD0 80 1F 02 7C */ lwz r0, 0x27c(r31) +/* 80148B74 00145AD4 90 1E 02 7C */ stw r0, 0x27c(r30) +/* 80148B78 00145AD8 80 7F 02 80 */ lwz r3, 0x280(r31) +/* 80148B7C 00145ADC 80 1F 02 84 */ lwz r0, 0x284(r31) +/* 80148B80 00145AE0 90 7E 02 80 */ stw r3, 0x280(r30) +/* 80148B84 00145AE4 90 1E 02 84 */ stw r0, 0x284(r30) +/* 80148B88 00145AE8 80 7F 02 88 */ lwz r3, 0x288(r31) +/* 80148B8C 00145AEC 80 1F 02 8C */ lwz r0, 0x28c(r31) +/* 80148B90 00145AF0 90 7E 02 88 */ stw r3, 0x288(r30) +/* 80148B94 00145AF4 90 1E 02 8C */ stw r0, 0x28c(r30) +/* 80148B98 00145AF8 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 80148B9C 00145AFC 90 1E 02 94 */ stw r0, 0x294(r30) +/* 80148BA0 00145B00 80 1F 02 98 */ lwz r0, 0x298(r31) +/* 80148BA4 00145B04 90 1E 02 98 */ stw r0, 0x298(r30) +/* 80148BA8 00145B08 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 80148BAC 00145B0C 2C 00 00 00 */ cmpwi r0, 0 +/* 80148BB0 00145B10 40 82 00 1C */ bne lbl_80148BCC +/* 80148BB4 00145B14 80 1F 02 98 */ lwz r0, 0x298(r31) +/* 80148BB8 00145B18 2C 00 00 00 */ cmpwi r0, 0 +/* 80148BBC 00145B1C 40 82 00 10 */ bne lbl_80148BCC +/* 80148BC0 00145B20 38 00 00 00 */ li r0, 0 +/* 80148BC4 00145B24 90 1E 02 9C */ stw r0, 0x29c(r30) +/* 80148BC8 00145B28 48 00 00 68 */ b lbl_80148C30 +lbl_80148BCC: +/* 80148BCC 00145B2C 80 1E 02 98 */ lwz r0, 0x298(r30) +/* 80148BD0 00145B30 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d +/* 80148BD4 00145B34 40 82 00 10 */ bne lbl_80148BE4 +/* 80148BD8 00145B38 38 00 00 00 */ li r0, 0 +/* 80148BDC 00145B3C 90 1E 02 9C */ stw r0, 0x29c(r30) +/* 80148BE0 00145B40 48 00 00 1C */ b lbl_80148BFC +lbl_80148BE4: +/* 80148BE4 00145B44 3C 80 80 3D */ lis r4, lbl_803D00A0@ha +/* 80148BE8 00145B48 38 A0 00 00 */ li r5, 0 +/* 80148BEC 00145B4C 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l +/* 80148BF0 00145B50 38 84 00 C7 */ addi r4, r4, 0xc7 +/* 80148BF4 00145B54 48 1C CC 25 */ bl __nwa__FUlPCcPCc +/* 80148BF8 00145B58 90 7E 02 9C */ stw r3, 0x29c(r30) +lbl_80148BFC: +/* 80148BFC 00145B5C 80 1E 02 94 */ lwz r0, 0x294(r30) +/* 80148C00 00145B60 80 9F 02 9C */ lwz r4, 0x29c(r31) +/* 80148C04 00145B64 80 7E 02 9C */ lwz r3, 0x29c(r30) +/* 80148C08 00145B68 7C 09 03 A6 */ mtctr r0 +/* 80148C0C 00145B6C 2C 00 00 00 */ cmpwi r0, 0 +/* 80148C10 00145B70 40 81 00 20 */ ble lbl_80148C30 +lbl_80148C14: +/* 80148C14 00145B74 28 03 00 00 */ cmplwi r3, 0 +/* 80148C18 00145B78 41 82 00 0C */ beq lbl_80148C24 +/* 80148C1C 00145B7C 80 04 00 00 */ lwz r0, 0(r4) +/* 80148C20 00145B80 90 03 00 00 */ stw r0, 0(r3) +lbl_80148C24: +/* 80148C24 00145B84 38 63 00 04 */ addi r3, r3, 4 +/* 80148C28 00145B88 38 84 00 04 */ addi r4, r4, 4 +/* 80148C2C 00145B8C 42 00 FF E8 */ bdnz lbl_80148C14 +lbl_80148C30: +/* 80148C30 00145B90 80 1F 02 A0 */ lwz r0, 0x2a0(r31) +/* 80148C34 00145B94 7F C3 F3 78 */ mr r3, r30 +/* 80148C38 00145B98 90 1E 02 A0 */ stw r0, 0x2a0(r30) +/* 80148C3C 00145B9C 80 1F 02 A4 */ lwz r0, 0x2a4(r31) +/* 80148C40 00145BA0 90 1E 02 A4 */ stw r0, 0x2a4(r30) +/* 80148C44 00145BA4 80 1F 02 A8 */ lwz r0, 0x2a8(r31) +/* 80148C48 00145BA8 90 1E 02 A8 */ stw r0, 0x2a8(r30) +/* 80148C4C 00145BAC 80 1F 02 AC */ lwz r0, 0x2ac(r31) +/* 80148C50 00145BB0 90 1E 02 AC */ stw r0, 0x2ac(r30) +/* 80148C54 00145BB4 C0 1F 02 B0 */ lfs f0, 0x2b0(r31) +/* 80148C58 00145BB8 D0 1E 02 B0 */ stfs f0, 0x2b0(r30) +/* 80148C5C 00145BBC C0 1F 02 B4 */ lfs f0, 0x2b4(r31) +/* 80148C60 00145BC0 D0 1E 02 B4 */ stfs f0, 0x2b4(r30) +/* 80148C64 00145BC4 C0 1F 02 B8 */ lfs f0, 0x2b8(r31) +/* 80148C68 00145BC8 D0 1E 02 B8 */ stfs f0, 0x2b8(r30) +/* 80148C6C 00145BCC 80 1F 02 BC */ lwz r0, 0x2bc(r31) +/* 80148C70 00145BD0 90 1E 02 BC */ stw r0, 0x2bc(r30) +/* 80148C74 00145BD4 C0 1F 02 C0 */ lfs f0, 0x2c0(r31) +/* 80148C78 00145BD8 D0 1E 02 C0 */ stfs f0, 0x2c0(r30) +/* 80148C7C 00145BDC C0 1F 02 C4 */ lfs f0, 0x2c4(r31) +/* 80148C80 00145BE0 D0 1E 02 C4 */ stfs f0, 0x2c4(r30) +/* 80148C84 00145BE4 C0 1F 02 C8 */ lfs f0, 0x2c8(r31) +/* 80148C88 00145BE8 D0 1E 02 C8 */ stfs f0, 0x2c8(r30) +/* 80148C8C 00145BEC C0 1F 02 CC */ lfs f0, 0x2cc(r31) +/* 80148C90 00145BF0 D0 1E 02 CC */ stfs f0, 0x2cc(r30) +/* 80148C94 00145BF4 C0 1F 02 D0 */ lfs f0, 0x2d0(r31) +/* 80148C98 00145BF8 D0 1E 02 D0 */ stfs f0, 0x2d0(r30) +/* 80148C9C 00145BFC C0 1F 02 D4 */ lfs f0, 0x2d4(r31) +/* 80148CA0 00145C00 D0 1E 02 D4 */ stfs f0, 0x2d4(r30) +/* 80148CA4 00145C04 C0 1F 02 D8 */ lfs f0, 0x2d8(r31) +/* 80148CA8 00145C08 D0 1E 02 D8 */ stfs f0, 0x2d8(r30) +/* 80148CAC 00145C0C C0 1F 02 DC */ lfs f0, 0x2dc(r31) +/* 80148CB0 00145C10 D0 1E 02 DC */ stfs f0, 0x2dc(r30) +/* 80148CB4 00145C14 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) +/* 80148CB8 00145C18 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) +/* 80148CBC 00145C1C C0 1F 02 E4 */ lfs f0, 0x2e4(r31) +/* 80148CC0 00145C20 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) +/* 80148CC4 00145C24 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) +/* 80148CC8 00145C28 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) +/* 80148CCC 00145C2C C0 1F 02 EC */ lfs f0, 0x2ec(r31) +/* 80148CD0 00145C30 D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 80148CD4 00145C34 C0 1F 02 F0 */ lfs f0, 0x2f0(r31) +/* 80148CD8 00145C38 D0 1E 02 F0 */ stfs f0, 0x2f0(r30) +/* 80148CDC 00145C3C C0 1F 02 F4 */ lfs f0, 0x2f4(r31) +/* 80148CE0 00145C40 D0 1E 02 F4 */ stfs f0, 0x2f4(r30) +/* 80148CE4 00145C44 C0 1F 02 F8 */ lfs f0, 0x2f8(r31) +/* 80148CE8 00145C48 D0 1E 02 F8 */ stfs f0, 0x2f8(r30) +/* 80148CEC 00145C4C C0 1F 02 FC */ lfs f0, 0x2fc(r31) +/* 80148CF0 00145C50 D0 1E 02 FC */ stfs f0, 0x2fc(r30) +/* 80148CF4 00145C54 C0 1F 03 00 */ lfs f0, 0x300(r31) +/* 80148CF8 00145C58 D0 1E 03 00 */ stfs f0, 0x300(r30) +/* 80148CFC 00145C5C C0 1F 03 04 */ lfs f0, 0x304(r31) +/* 80148D00 00145C60 D0 1E 03 04 */ stfs f0, 0x304(r30) +/* 80148D04 00145C64 80 1F 03 08 */ lwz r0, 0x308(r31) +/* 80148D08 00145C68 90 1E 03 08 */ stw r0, 0x308(r30) +/* 80148D0C 00145C6C 80 1F 03 0C */ lwz r0, 0x30c(r31) +/* 80148D10 00145C70 90 1E 03 0C */ stw r0, 0x30c(r30) +/* 80148D14 00145C74 C0 1F 03 10 */ lfs f0, 0x310(r31) +/* 80148D18 00145C78 D0 1E 03 10 */ stfs f0, 0x310(r30) +/* 80148D1C 00145C7C C0 1F 03 14 */ lfs f0, 0x314(r31) +/* 80148D20 00145C80 D0 1E 03 14 */ stfs f0, 0x314(r30) +/* 80148D24 00145C84 C0 1F 03 18 */ lfs f0, 0x318(r31) +/* 80148D28 00145C88 D0 1E 03 18 */ stfs f0, 0x318(r30) +/* 80148D2C 00145C8C C0 1F 03 1C */ lfs f0, 0x31c(r31) +/* 80148D30 00145C90 D0 1E 03 1C */ stfs f0, 0x31c(r30) +/* 80148D34 00145C94 C0 1F 03 20 */ lfs f0, 0x320(r31) +/* 80148D38 00145C98 D0 1E 03 20 */ stfs f0, 0x320(r30) +/* 80148D3C 00145C9C C0 1F 03 24 */ lfs f0, 0x324(r31) +/* 80148D40 00145CA0 D0 1E 03 24 */ stfs f0, 0x324(r30) +/* 80148D44 00145CA4 C0 1F 03 28 */ lfs f0, 0x328(r31) +/* 80148D48 00145CA8 D0 1E 03 28 */ stfs f0, 0x328(r30) +/* 80148D4C 00145CAC 80 1F 03 2C */ lwz r0, 0x32c(r31) +/* 80148D50 00145CB0 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80148D54 00145CB4 C0 1F 03 30 */ lfs f0, 0x330(r31) +/* 80148D58 00145CB8 D0 1E 03 30 */ stfs f0, 0x330(r30) +/* 80148D5C 00145CBC C0 1F 03 34 */ lfs f0, 0x334(r31) +/* 80148D60 00145CC0 D0 1E 03 34 */ stfs f0, 0x334(r30) +/* 80148D64 00145CC4 80 1F 03 38 */ lwz r0, 0x338(r31) +/* 80148D68 00145CC8 90 1E 03 38 */ stw r0, 0x338(r30) +/* 80148D6C 00145CCC BB 41 00 08 */ lmw r26, 8(r1) +/* 80148D70 00145CD0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80148D74 00145CD4 7C 08 03 A6 */ mtlr r0 +/* 80148D78 00145CD8 38 21 00 20 */ addi r1, r1, 0x20 +/* 80148D7C 00145CDC 4E 80 00 20 */ blr + +.global sub_80148d80 +sub_80148d80: +/* 80148D80 00145CE0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80148D84 00145CE4 7C 08 02 A6 */ mflr r0 +/* 80148D88 00145CE8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80148D8C 00145CEC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80148D90 00145CF0 7C 9F 23 78 */ mr r31, r4 +/* 80148D94 00145CF4 93 C1 00 08 */ stw r30, 8(r1) +/* 80148D98 00145CF8 7C 7E 1B 78 */ mr r30, r3 +/* 80148D9C 00145CFC 80 04 00 04 */ lwz r0, 4(r4) +/* 80148DA0 00145D00 90 03 00 04 */ stw r0, 4(r3) +/* 80148DA4 00145D04 80 04 00 08 */ lwz r0, 8(r4) +/* 80148DA8 00145D08 90 03 00 08 */ stw r0, 8(r3) +/* 80148DAC 00145D0C 80 04 00 04 */ lwz r0, 4(r4) +/* 80148DB0 00145D10 2C 00 00 00 */ cmpwi r0, 0 +/* 80148DB4 00145D14 40 82 00 1C */ bne lbl_80148DD0 +/* 80148DB8 00145D18 80 1F 00 08 */ lwz r0, 8(r31) +/* 80148DBC 00145D1C 2C 00 00 00 */ cmpwi r0, 0 +/* 80148DC0 00145D20 40 82 00 10 */ bne lbl_80148DD0 +/* 80148DC4 00145D24 38 00 00 00 */ li r0, 0 +/* 80148DC8 00145D28 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80148DCC 00145D2C 48 00 00 48 */ b lbl_80148E14 +lbl_80148DD0: +/* 80148DD0 00145D30 80 1E 00 08 */ lwz r0, 8(r30) +/* 80148DD4 00145D34 1C 60 00 38 */ mulli r3, r0, 0x38 +/* 80148DD8 00145D38 2C 03 00 00 */ cmpwi r3, 0 +/* 80148DDC 00145D3C 40 82 00 10 */ bne lbl_80148DEC +/* 80148DE0 00145D40 38 00 00 00 */ li r0, 0 +/* 80148DE4 00145D44 90 1E 00 0C */ stw r0, 0xc(r30) +/* 80148DE8 00145D48 48 00 00 1C */ b lbl_80148E04 +lbl_80148DEC: +/* 80148DEC 00145D4C 3C 80 80 3D */ lis r4, lbl_803D00A0@ha +/* 80148DF0 00145D50 38 A0 00 00 */ li r5, 0 +/* 80148DF4 00145D54 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l +/* 80148DF8 00145D58 38 84 00 C7 */ addi r4, r4, 0xc7 +/* 80148DFC 00145D5C 48 1C CA 1D */ bl __nwa__FUlPCcPCc +/* 80148E00 00145D60 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_80148E04: +/* 80148E04 00145D64 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 80148E08 00145D68 80 9E 00 04 */ lwz r4, 4(r30) +/* 80148E0C 00145D6C 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 80148E10 00145D70 48 00 00 21 */ bl sub_80148e30 +lbl_80148E14: +/* 80148E14 00145D74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80148E18 00145D78 7F C3 F3 78 */ mr r3, r30 +/* 80148E1C 00145D7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80148E20 00145D80 83 C1 00 08 */ lwz r30, 8(r1) +/* 80148E24 00145D84 7C 08 03 A6 */ mtlr r0 +/* 80148E28 00145D88 38 21 00 10 */ addi r1, r1, 0x10 +/* 80148E2C 00145D8C 4E 80 00 20 */ blr + +.global sub_80148e30 +sub_80148e30: +/* 80148E30 00145D90 7C 89 03 A6 */ mtctr r4 +/* 80148E34 00145D94 2C 04 00 00 */ cmpwi r4, 0 +/* 80148E38 00145D98 40 81 00 88 */ ble lbl_80148EC0 +lbl_80148E3C: +/* 80148E3C 00145D9C 28 05 00 00 */ cmplwi r5, 0 +/* 80148E40 00145DA0 41 82 00 74 */ beq lbl_80148EB4 +/* 80148E44 00145DA4 80 03 00 00 */ lwz r0, 0(r3) +/* 80148E48 00145DA8 90 05 00 00 */ stw r0, 0(r5) +/* 80148E4C 00145DAC C0 03 00 04 */ lfs f0, 4(r3) +/* 80148E50 00145DB0 D0 05 00 04 */ stfs f0, 4(r5) +/* 80148E54 00145DB4 C0 03 00 08 */ lfs f0, 8(r3) +/* 80148E58 00145DB8 D0 05 00 08 */ stfs f0, 8(r5) +/* 80148E5C 00145DBC C0 03 00 0C */ lfs f0, 0xc(r3) +/* 80148E60 00145DC0 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 80148E64 00145DC4 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 80148E68 00145DC8 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 80148E6C 00145DCC C0 03 00 14 */ lfs f0, 0x14(r3) +/* 80148E70 00145DD0 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 80148E74 00145DD4 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 80148E78 00145DD8 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 80148E7C 00145DDC C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 80148E80 00145DE0 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 80148E84 00145DE4 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 80148E88 00145DE8 D0 05 00 20 */ stfs f0, 0x20(r5) +/* 80148E8C 00145DEC C0 03 00 24 */ lfs f0, 0x24(r3) +/* 80148E90 00145DF0 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 80148E94 00145DF4 80 03 00 28 */ lwz r0, 0x28(r3) +/* 80148E98 00145DF8 90 05 00 28 */ stw r0, 0x28(r5) +/* 80148E9C 00145DFC C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 80148EA0 00145E00 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 80148EA4 00145E04 C0 03 00 30 */ lfs f0, 0x30(r3) +/* 80148EA8 00145E08 D0 05 00 30 */ stfs f0, 0x30(r5) +/* 80148EAC 00145E0C 80 03 00 34 */ lwz r0, 0x34(r3) +/* 80148EB0 00145E10 90 05 00 34 */ stw r0, 0x34(r5) +lbl_80148EB4: +/* 80148EB4 00145E14 38 A5 00 38 */ addi r5, r5, 0x38 +/* 80148EB8 00145E18 38 63 00 38 */ addi r3, r3, 0x38 +/* 80148EBC 00145E1C 42 00 FF 80 */ bdnz lbl_80148E3C +lbl_80148EC0: +/* 80148EC0 00145E20 7C A3 2B 78 */ mr r3, r5 +/* 80148EC4 00145E24 4E 80 00 20 */ blr + +.global sub_80148ec8 +sub_80148ec8: +/* 80148EC8 00145E28 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80148ECC 00145E2C 7C 08 02 A6 */ mflr r0 +/* 80148ED0 00145E30 3C A0 80 3F */ lis r5, lbl_803EDD08@ha +/* 80148ED4 00145E34 38 84 00 04 */ addi r4, r4, 4 +/* 80148ED8 00145E38 90 01 00 14 */ stw r0, 0x14(r1) +/* 80148EDC 00145E3C 38 05 DD 08 */ addi r0, r5, lbl_803EDD08@l +/* 80148EE0 00145E40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80148EE4 00145E44 7C 7F 1B 78 */ mr r31, r3 +/* 80148EE8 00145E48 90 03 00 00 */ stw r0, 0(r3) +/* 80148EEC 00145E4C 38 7F 00 04 */ addi r3, r31, 4 +/* 80148EF0 00145E50 48 00 00 1D */ bl sub_80148f0c +/* 80148EF4 00145E54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80148EF8 00145E58 7F E3 FB 78 */ mr r3, r31 +/* 80148EFC 00145E5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80148F00 00145E60 7C 08 03 A6 */ mtlr r0 +/* 80148F04 00145E64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80148F08 00145E68 4E 80 00 20 */ blr + +.global sub_80148f0c +sub_80148f0c: +/* 80148F0C 00145E6C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80148F10 00145E70 7C 08 02 A6 */ mflr r0 +/* 80148F14 00145E74 38 E0 00 00 */ li r7, 0 +/* 80148F18 00145E78 90 01 00 34 */ stw r0, 0x34(r1) +/* 80148F1C 00145E7C 38 00 00 01 */ li r0, 1 +/* 80148F20 00145E80 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80148F24 00145E84 38 C1 00 0C */ addi r6, r1, 0xc +/* 80148F28 00145E88 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80148F2C 00145E8C 7C 7F 1B 78 */ mr r31, r3 +/* 80148F30 00145E90 39 1F 00 0C */ addi r8, r31, 0xc +/* 80148F34 00145E94 91 03 00 04 */ stw r8, 4(r3) +/* 80148F38 00145E98 91 03 00 08 */ stw r8, 8(r3) +/* 80148F3C 00145E9C 91 03 00 0C */ stw r8, 0xc(r3) +/* 80148F40 00145EA0 91 03 00 10 */ stw r8, 0x10(r3) +/* 80148F44 00145EA4 90 E3 00 14 */ stw r7, 0x14(r3) +/* 80148F48 00145EA8 81 04 00 08 */ lwz r8, 8(r4) +/* 80148F4C 00145EAC 80 E4 00 04 */ lwz r7, 4(r4) +/* 80148F50 00145EB0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80148F54 00145EB4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80148F58 00145EB8 98 01 00 20 */ stb r0, 0x20(r1) +/* 80148F5C 00145EBC 91 01 00 0C */ stw r8, 0xc(r1) +/* 80148F60 00145EC0 90 E1 00 14 */ stw r7, 0x14(r1) +/* 80148F64 00145EC4 80 03 00 08 */ lwz r0, 8(r3) +/* 80148F68 00145EC8 91 01 00 08 */ stw r8, 8(r1) +/* 80148F6C 00145ECC 90 E1 00 10 */ stw r7, 0x10(r1) +/* 80148F70 00145ED0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80148F74 00145ED4 48 00 00 31 */ bl sub_80148fa4 +/* 80148F78 00145ED8 38 00 00 00 */ li r0, 0 +/* 80148F7C 00145EDC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80148F80 00145EE0 98 01 00 20 */ stb r0, 0x20(r1) +/* 80148F84 00145EE4 38 80 FF FF */ li r4, -1 +/* 80148F88 00145EE8 48 00 00 D1 */ bl sub_80149058 +/* 80148F8C 00145EEC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80148F90 00145EF0 7F E3 FB 78 */ mr r3, r31 +/* 80148F94 00145EF4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80148F98 00145EF8 7C 08 03 A6 */ mtlr r0 +/* 80148F9C 00145EFC 38 21 00 30 */ addi r1, r1, 0x30 +/* 80148FA0 00145F00 4E 80 00 20 */ blr + +.global sub_80148fa4 +sub_80148fa4: +/* 80148FA4 00145F04 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80148FA8 00145F08 7C 08 02 A6 */ mflr r0 +/* 80148FAC 00145F0C 3C E0 80 3D */ lis r7, lbl_803D00A0@ha +/* 80148FB0 00145F10 90 01 00 34 */ stw r0, 0x34(r1) +/* 80148FB4 00145F14 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 80148FB8 00145F18 7C 79 1B 78 */ mr r25, r3 +/* 80148FBC 00145F1C 7C 9A 23 78 */ mr r26, r4 +/* 80148FC0 00145F20 7C DB 33 78 */ mr r27, r6 +/* 80148FC4 00145F24 3B E7 00 A0 */ addi r31, r7, lbl_803D00A0@l +/* 80148FC8 00145F28 83 85 00 00 */ lwz r28, 0(r5) +/* 80148FCC 00145F2C 48 00 00 6C */ b lbl_80149038 +lbl_80148FD0: +/* 80148FD0 00145F30 83 DA 00 00 */ lwz r30, 0(r26) +/* 80148FD4 00145F34 38 9F 00 C7 */ addi r4, r31, 0xc7 +/* 80148FD8 00145F38 38 60 00 0C */ li r3, 0xc +/* 80148FDC 00145F3C 38 A0 00 00 */ li r5, 0 +/* 80148FE0 00145F40 83 BE 00 00 */ lwz r29, 0(r30) +/* 80148FE4 00145F44 48 1C C8 35 */ bl __nwa__FUlPCcPCc +/* 80148FE8 00145F48 28 03 00 00 */ cmplwi r3, 0 +/* 80148FEC 00145F4C 41 82 00 0C */ beq lbl_80148FF8 +/* 80148FF0 00145F50 93 A3 00 00 */ stw r29, 0(r3) +/* 80148FF4 00145F54 93 C3 00 04 */ stw r30, 4(r3) +lbl_80148FF8: +/* 80148FF8 00145F58 34 83 00 08 */ addic. r4, r3, 8 +/* 80148FFC 00145F5C 41 82 00 0C */ beq lbl_80149008 +/* 80149000 00145F60 80 1C 00 08 */ lwz r0, 8(r28) +/* 80149004 00145F64 90 04 00 00 */ stw r0, 0(r4) +lbl_80149008: +/* 80149008 00145F68 80 19 00 04 */ lwz r0, 4(r25) +/* 8014900C 00145F6C 7C 1E 00 40 */ cmplw r30, r0 +/* 80149010 00145F70 40 82 00 08 */ bne lbl_80149018 +/* 80149014 00145F74 90 79 00 04 */ stw r3, 4(r25) +lbl_80149018: +/* 80149018 00145F78 80 83 00 00 */ lwz r4, 0(r3) +/* 8014901C 00145F7C 90 64 00 04 */ stw r3, 4(r4) +/* 80149020 00145F80 80 83 00 04 */ lwz r4, 4(r3) +/* 80149024 00145F84 90 64 00 00 */ stw r3, 0(r4) +/* 80149028 00145F88 80 79 00 14 */ lwz r3, 0x14(r25) +/* 8014902C 00145F8C 38 03 00 01 */ addi r0, r3, 1 +/* 80149030 00145F90 90 19 00 14 */ stw r0, 0x14(r25) +/* 80149034 00145F94 83 9C 00 04 */ lwz r28, 4(r28) +lbl_80149038: +/* 80149038 00145F98 80 1B 00 00 */ lwz r0, 0(r27) +/* 8014903C 00145F9C 7C 1C 00 40 */ cmplw r28, r0 +/* 80149040 00145FA0 40 82 FF 90 */ bne lbl_80148FD0 +/* 80149044 00145FA4 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 80149048 00145FA8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8014904C 00145FAC 7C 08 03 A6 */ mtlr r0 +/* 80149050 00145FB0 38 21 00 30 */ addi r1, r1, 0x30 +/* 80149054 00145FB4 4E 80 00 20 */ blr + +.global sub_80149058 +sub_80149058: +/* 80149058 00145FB8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8014905C 00145FBC 7C 08 02 A6 */ mflr r0 +/* 80149060 00145FC0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80149064 00145FC4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80149068 00145FC8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8014906C 00145FCC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80149070 00145FD0 7C 9D 23 78 */ mr r29, r4 +/* 80149074 00145FD4 93 81 00 10 */ stw r28, 0x10(r1) +/* 80149078 00145FD8 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8014907C 00145FDC 41 82 00 44 */ beq lbl_801490C0 +/* 80149080 00145FE0 88 1C 00 04 */ lbz r0, 4(r28) +/* 80149084 00145FE4 28 00 00 00 */ cmplwi r0, 0 +/* 80149088 00145FE8 41 82 00 28 */ beq lbl_801490B0 +/* 8014908C 00145FEC 83 FC 00 00 */ lwz r31, 0(r28) +/* 80149090 00145FF0 83 DF 00 08 */ lwz r30, 8(r31) +/* 80149094 00145FF4 80 9F 00 04 */ lwz r4, 4(r31) +/* 80149098 00145FF8 48 00 00 10 */ b lbl_801490A8 +lbl_8014909C: +/* 8014909C 00145FFC 7F E3 FB 78 */ mr r3, r31 +/* 801490A0 00146000 48 00 01 95 */ bl sub_80149234 +/* 801490A4 00146004 7C 64 1B 78 */ mr r4, r3 +lbl_801490A8: +/* 801490A8 00146008 7C 04 F0 40 */ cmplw r4, r30 +/* 801490AC 0014600C 40 82 FF F0 */ bne lbl_8014909C +lbl_801490B0: +/* 801490B0 00146010 7F A0 07 35 */ extsh. r0, r29 +/* 801490B4 00146014 40 81 00 0C */ ble lbl_801490C0 +/* 801490B8 00146018 7F 83 E3 78 */ mr r3, r28 +/* 801490BC 0014601C 48 1C C8 75 */ bl Free__7CMemoryFPCv +lbl_801490C0: +/* 801490C0 00146020 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801490C4 00146024 7F 83 E3 78 */ mr r3, r28 +/* 801490C8 00146028 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801490CC 0014602C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801490D0 00146030 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 801490D4 00146034 83 81 00 10 */ lwz r28, 0x10(r1) +/* 801490D8 00146038 7C 08 03 A6 */ mtlr r0 +/* 801490DC 0014603C 38 21 00 20 */ addi r1, r1, 0x20 +/* 801490E0 00146040 4E 80 00 20 */ blr + +.global sub_801490e4 +sub_801490e4: +/* 801490E4 00146044 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801490E8 00146048 7C 08 02 A6 */ mflr r0 +/* 801490EC 0014604C 90 01 00 34 */ stw r0, 0x34(r1) +/* 801490F0 00146050 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 801490F4 00146054 7C 9F 23 78 */ mr r31, r4 +/* 801490F8 00146058 7C 7E 1B 78 */ mr r30, r3 +/* 801490FC 0014605C 80 03 00 08 */ lwz r0, 8(r3) +/* 80149100 00146060 7C 1F 00 00 */ cmpw r31, r0 +/* 80149104 00146064 40 81 00 B4 */ ble lbl_801491B8 +/* 80149108 00146068 1C 7F 03 40 */ mulli r3, r31, 0x340 +/* 8014910C 0014606C 2C 03 00 00 */ cmpwi r3, 0 +/* 80149110 00146070 40 82 00 0C */ bne lbl_8014911C +/* 80149114 00146074 3B A0 00 00 */ li r29, 0 +/* 80149118 00146078 48 00 00 1C */ b lbl_80149134 +lbl_8014911C: +/* 8014911C 0014607C 3C 80 80 3D */ lis r4, lbl_803D00A0@ha +/* 80149120 00146080 38 A0 00 00 */ li r5, 0 +/* 80149124 00146084 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l +/* 80149128 00146088 38 84 00 C7 */ addi r4, r4, 0xc7 +/* 8014912C 0014608C 48 1C C6 ED */ bl __nwa__FUlPCcPCc +/* 80149130 00146090 7C 7D 1B 78 */ mr r29, r3 +lbl_80149134: +/* 80149134 00146094 80 1E 00 04 */ lwz r0, 4(r30) +/* 80149138 00146098 7F A5 EB 78 */ mr r5, r29 +/* 8014913C 0014609C 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 80149140 001460A0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80149144 001460A4 1C 00 03 40 */ mulli r0, r0, 0x340 +/* 80149148 001460A8 38 81 00 0C */ addi r4, r1, 0xc +/* 8014914C 001460AC 7C C6 02 14 */ add r6, r6, r0 +/* 80149150 001460B0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80149154 001460B4 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 80149158 001460B8 90 C1 00 08 */ stw r6, 8(r1) +/* 8014915C 001460BC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80149160 001460C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80149164 001460C4 48 00 00 69 */ bl sub_801491cc +/* 80149168 001460C8 80 1E 00 04 */ lwz r0, 4(r30) +/* 8014916C 001460CC 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 80149170 001460D0 1C 00 03 40 */ mulli r0, r0, 0x340 +/* 80149174 001460D4 7F 9B 02 14 */ add r28, r27, r0 +/* 80149178 001460D8 48 00 00 20 */ b lbl_80149198 +lbl_8014917C: +/* 8014917C 001460DC 7F 63 DB 78 */ mr r3, r27 +/* 80149180 001460E0 38 80 FF FF */ li r4, -1 +/* 80149184 001460E4 81 9B 00 00 */ lwz r12, 0(r27) +/* 80149188 001460E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8014918C 001460EC 7D 89 03 A6 */ mtctr r12 +/* 80149190 001460F0 4E 80 04 21 */ bctrl +/* 80149194 001460F4 3B 7B 03 40 */ addi r27, r27, 0x340 +lbl_80149198: +/* 80149198 001460F8 7C 1B E0 40 */ cmplw r27, r28 +/* 8014919C 001460FC 40 82 FF E0 */ bne lbl_8014917C +/* 801491A0 00146100 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 801491A4 00146104 28 03 00 00 */ cmplwi r3, 0 +/* 801491A8 00146108 41 82 00 08 */ beq lbl_801491B0 +/* 801491AC 0014610C 48 1C C7 85 */ bl Free__7CMemoryFPCv +lbl_801491B0: +/* 801491B0 00146110 93 BE 00 0C */ stw r29, 0xc(r30) +/* 801491B4 00146114 93 FE 00 08 */ stw r31, 8(r30) +lbl_801491B8: +/* 801491B8 00146118 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 801491BC 0014611C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 801491C0 00146120 7C 08 03 A6 */ mtlr r0 +/* 801491C4 00146124 38 21 00 30 */ addi r1, r1, 0x30 +/* 801491C8 00146128 4E 80 00 20 */ blr + +.global sub_801491cc +sub_801491cc: +/* 801491CC 0014612C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801491D0 00146130 7C 08 02 A6 */ mflr r0 +/* 801491D4 00146134 90 01 00 24 */ stw r0, 0x24(r1) +/* 801491D8 00146138 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801491DC 0014613C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801491E0 00146140 7C BE 2B 78 */ mr r30, r5 +/* 801491E4 00146144 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801491E8 00146148 7C 9D 23 78 */ mr r29, r4 +/* 801491EC 0014614C 83 E3 00 00 */ lwz r31, 0(r3) +/* 801491F0 00146150 48 00 00 18 */ b lbl_80149208 +lbl_801491F4: +/* 801491F4 00146154 7F C3 F3 78 */ mr r3, r30 +/* 801491F8 00146158 7F E4 FB 78 */ mr r4, r31 +/* 801491FC 0014615C 4B FF F4 E5 */ bl sub_801486e0 +/* 80149200 00146160 3B DE 03 40 */ addi r30, r30, 0x340 +/* 80149204 00146164 3B FF 03 40 */ addi r31, r31, 0x340 +lbl_80149208: +/* 80149208 00146168 80 1D 00 00 */ lwz r0, 0(r29) +/* 8014920C 0014616C 7C 1F 00 40 */ cmplw r31, r0 +/* 80149210 00146170 40 82 FF E4 */ bne lbl_801491F4 +/* 80149214 00146174 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80149218 00146178 7F C3 F3 78 */ mr r3, r30 +/* 8014921C 0014617C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80149220 00146180 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80149224 00146184 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80149228 00146188 7C 08 03 A6 */ mtlr r0 +/* 8014922C 0014618C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80149230 00146190 4E 80 00 20 */ blr + +.global sub_80149234 +sub_80149234: +/* 80149234 00146194 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80149238 00146198 7C 08 02 A6 */ mflr r0 +/* 8014923C 0014619C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80149240 001461A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80149244 001461A4 93 C1 00 08 */ stw r30, 8(r1) +/* 80149248 001461A8 7C 7E 1B 78 */ mr r30, r3 +/* 8014924C 001461AC 80 03 00 04 */ lwz r0, 4(r3) +/* 80149250 001461B0 83 E4 00 04 */ lwz r31, 4(r4) +/* 80149254 001461B4 7C 04 00 40 */ cmplw r4, r0 +/* 80149258 001461B8 40 82 00 08 */ bne lbl_80149260 +/* 8014925C 001461BC 93 FE 00 04 */ stw r31, 4(r30) +lbl_80149260: +/* 80149260 001461C0 80 04 00 04 */ lwz r0, 4(r4) +/* 80149264 001461C4 28 04 00 00 */ cmplwi r4, 0 +/* 80149268 001461C8 80 64 00 00 */ lwz r3, 0(r4) +/* 8014926C 001461CC 90 03 00 04 */ stw r0, 4(r3) +/* 80149270 001461D0 80 04 00 00 */ lwz r0, 0(r4) +/* 80149274 001461D4 80 64 00 04 */ lwz r3, 4(r4) +/* 80149278 001461D8 90 03 00 00 */ stw r0, 0(r3) +/* 8014927C 001461DC 41 82 00 0C */ beq lbl_80149288 +/* 80149280 001461E0 7C 83 23 78 */ mr r3, r4 +/* 80149284 001461E4 48 1C C6 AD */ bl Free__7CMemoryFPCv +lbl_80149288: +/* 80149288 001461E8 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8014928C 001461EC 7F E3 FB 78 */ mr r3, r31 +/* 80149290 001461F0 38 04 FF FF */ addi r0, r4, -1 +/* 80149294 001461F4 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80149298 001461F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8014929C 001461FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 801492A0 00146200 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801492A4 00146204 7C 08 03 A6 */ mtlr r0 +/* 801492A8 00146208 38 21 00 10 */ addi r1, r1, 0x10 +/* 801492AC 0014620C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CSpacePirate.s b/asm/Kyoto_CWD/Enemies/CSpacePirate.s new file mode 100644 index 00000000..ed22c67b --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CSpacePirate.s @@ -0,0 +1,14202 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__12CSpacePirateFv +__dt__12CSpacePirateFv: +/* 80120518 0011D478 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012051C 0011D47C 7C 08 02 A6 */ mflr r0 +/* 80120520 0011D480 90 01 00 14 */ stw r0, 0x14(r1) +/* 80120524 0011D484 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80120528 0011D488 7C 9F 23 78 */ mr r31, r4 +/* 8012052C 0011D48C 93 C1 00 08 */ stw r30, 8(r1) +/* 80120530 0011D490 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80120534 0011D494 41 82 01 58 */ beq lbl_8012068C +/* 80120538 0011D498 3C 80 80 3E */ lis r4, lbl_803E0800@ha +/* 8012053C 0011D49C 38 7E 08 5C */ addi r3, r30, 0x85c +/* 80120540 0011D4A0 38 04 08 00 */ addi r0, r4, lbl_803E0800@l +/* 80120544 0011D4A4 38 80 FF FF */ li r4, -1 +/* 80120548 0011D4A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8012054C 0011D4AC 48 00 01 5D */ bl sub_801206a8 +/* 80120550 0011D4B0 34 1E 07 C4 */ addic. r0, r30, 0x7c4 +/* 80120554 0011D4B4 41 82 00 60 */ beq lbl_801205B4 +/* 80120558 0011D4B8 34 1E 07 E0 */ addic. r0, r30, 0x7e0 +/* 8012055C 0011D4BC 41 82 00 58 */ beq lbl_801205B4 +/* 80120560 0011D4C0 80 BE 07 E0 */ lwz r5, 0x7e0(r30) +/* 80120564 0011D4C4 38 60 00 00 */ li r3, 0 +/* 80120568 0011D4C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8012056C 0011D4CC 40 81 00 40 */ ble lbl_801205AC +/* 80120570 0011D4D0 2C 05 00 08 */ cmpwi r5, 8 +/* 80120574 0011D4D4 38 85 FF F8 */ addi r4, r5, -8 +/* 80120578 0011D4D8 40 81 00 20 */ ble lbl_80120598 +/* 8012057C 0011D4DC 38 04 00 07 */ addi r0, r4, 7 +/* 80120580 0011D4E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80120584 0011D4E4 7C 09 03 A6 */ mtctr r0 +/* 80120588 0011D4E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8012058C 0011D4EC 40 81 00 0C */ ble lbl_80120598 +lbl_80120590: +/* 80120590 0011D4F0 38 63 00 08 */ addi r3, r3, 8 +/* 80120594 0011D4F4 42 00 FF FC */ bdnz lbl_80120590 +lbl_80120598: +/* 80120598 0011D4F8 7C 03 28 50 */ subf r0, r3, r5 +/* 8012059C 0011D4FC 7C 09 03 A6 */ mtctr r0 +/* 801205A0 0011D500 7C 03 28 00 */ cmpw r3, r5 +/* 801205A4 0011D504 40 80 00 08 */ bge lbl_801205AC +lbl_801205A8: +/* 801205A8 0011D508 42 00 00 00 */ bdnz lbl_801205A8 +lbl_801205AC: +/* 801205AC 0011D50C 38 00 00 00 */ li r0, 0 +/* 801205B0 0011D510 90 1E 07 E0 */ stw r0, 0x7e0(r30) +lbl_801205B4: +/* 801205B4 0011D514 34 1E 07 64 */ addic. r0, r30, 0x764 +/* 801205B8 0011D518 41 82 00 14 */ beq lbl_801205CC +/* 801205BC 0011D51C 34 1E 07 88 */ addic. r0, r30, 0x788 +/* 801205C0 0011D520 41 82 00 0C */ beq lbl_801205CC +/* 801205C4 0011D524 38 00 00 00 */ li r0, 0 +/* 801205C8 0011D528 98 1E 07 94 */ stb r0, 0x794(r30) +lbl_801205CC: +/* 801205CC 0011D52C 34 1E 06 60 */ addic. r0, r30, 0x660 +/* 801205D0 0011D530 41 82 00 60 */ beq lbl_80120630 +/* 801205D4 0011D534 34 1E 06 64 */ addic. r0, r30, 0x664 +/* 801205D8 0011D538 41 82 00 58 */ beq lbl_80120630 +/* 801205DC 0011D53C 80 BE 06 64 */ lwz r5, 0x664(r30) +/* 801205E0 0011D540 38 60 00 00 */ li r3, 0 +/* 801205E4 0011D544 2C 05 00 00 */ cmpwi r5, 0 +/* 801205E8 0011D548 40 81 00 40 */ ble lbl_80120628 +/* 801205EC 0011D54C 2C 05 00 08 */ cmpwi r5, 8 +/* 801205F0 0011D550 38 85 FF F8 */ addi r4, r5, -8 +/* 801205F4 0011D554 40 81 00 20 */ ble lbl_80120614 +/* 801205F8 0011D558 38 04 00 07 */ addi r0, r4, 7 +/* 801205FC 0011D55C 54 00 E8 FE */ srwi r0, r0, 3 +/* 80120600 0011D560 7C 09 03 A6 */ mtctr r0 +/* 80120604 0011D564 2C 04 00 00 */ cmpwi r4, 0 +/* 80120608 0011D568 40 81 00 0C */ ble lbl_80120614 +lbl_8012060C: +/* 8012060C 0011D56C 38 63 00 08 */ addi r3, r3, 8 +/* 80120610 0011D570 42 00 FF FC */ bdnz lbl_8012060C +lbl_80120614: +/* 80120614 0011D574 7C 03 28 50 */ subf r0, r3, r5 +/* 80120618 0011D578 7C 09 03 A6 */ mtctr r0 +/* 8012061C 0011D57C 7C 03 28 00 */ cmpw r3, r5 +/* 80120620 0011D580 40 80 00 08 */ bge lbl_80120628 +lbl_80120624: +/* 80120624 0011D584 42 00 00 00 */ bdnz lbl_80120624 +lbl_80120628: +/* 80120628 0011D588 38 00 00 00 */ li r0, 0 +/* 8012062C 0011D58C 90 1E 06 64 */ stw r0, 0x664(r30) +lbl_80120630: +/* 80120630 0011D590 34 1E 05 68 */ addic. r0, r30, 0x568 +/* 80120634 0011D594 41 82 00 3C */ beq lbl_80120670 +/* 80120638 0011D598 34 7E 05 D4 */ addic. r3, r30, 0x5d4 +/* 8012063C 0011D59C 41 82 00 18 */ beq lbl_80120654 +/* 80120640 0011D5A0 28 03 00 00 */ cmplwi r3, 0 +/* 80120644 0011D5A4 41 82 00 10 */ beq lbl_80120654 +/* 80120648 0011D5A8 41 82 00 0C */ beq lbl_80120654 +/* 8012064C 0011D5AC 38 80 00 00 */ li r4, 0 +/* 80120650 0011D5B0 48 22 07 F1 */ bl __dt__6CTokenFv +lbl_80120654: +/* 80120654 0011D5B4 34 7E 05 88 */ addic. r3, r30, 0x588 +/* 80120658 0011D5B8 41 82 00 18 */ beq lbl_80120670 +/* 8012065C 0011D5BC 28 03 00 00 */ cmplwi r3, 0 +/* 80120660 0011D5C0 41 82 00 10 */ beq lbl_80120670 +/* 80120664 0011D5C4 41 82 00 0C */ beq lbl_80120670 +/* 80120668 0011D5C8 38 80 00 00 */ li r4, 0 +/* 8012066C 0011D5CC 48 22 07 D5 */ bl __dt__6CTokenFv +lbl_80120670: +/* 80120670 0011D5D0 7F C3 F3 78 */ mr r3, r30 +/* 80120674 0011D5D4 38 80 00 00 */ li r4, 0 +/* 80120678 0011D5D8 4B F5 6E F9 */ bl __dt__10CPatternedFv +/* 8012067C 0011D5DC 7F E0 07 35 */ extsh. r0, r31 +/* 80120680 0011D5E0 40 81 00 0C */ ble lbl_8012068C +/* 80120684 0011D5E4 7F C3 F3 78 */ mr r3, r30 +/* 80120688 0011D5E8 48 1F 52 A9 */ bl Free__7CMemoryFPCv +lbl_8012068C: +/* 8012068C 0011D5EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80120690 0011D5F0 7F C3 F3 78 */ mr r3, r30 +/* 80120694 0011D5F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80120698 0011D5F8 83 C1 00 08 */ lwz r30, 8(r1) +/* 8012069C 0011D5FC 7C 08 03 A6 */ mtlr r0 +/* 801206A0 0011D600 38 21 00 10 */ addi r1, r1, 0x10 +/* 801206A4 0011D604 4E 80 00 20 */ blr + +.global sub_801206a8 +sub_801206a8: +/* 801206A8 0011D608 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801206AC 0011D60C 7C 08 02 A6 */ mflr r0 +/* 801206B0 0011D610 90 01 00 14 */ stw r0, 0x14(r1) +/* 801206B4 0011D614 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801206B8 0011D618 7C 9F 23 78 */ mr r31, r4 +/* 801206BC 0011D61C 93 C1 00 08 */ stw r30, 8(r1) +/* 801206C0 0011D620 7C 7E 1B 79 */ or. r30, r3, r3 +/* 801206C4 0011D624 41 82 00 20 */ beq lbl_801206E4 +/* 801206C8 0011D628 80 7E 00 00 */ lwz r3, 0(r30) +/* 801206CC 0011D62C 38 80 00 01 */ li r4, 1 +/* 801206D0 0011D630 48 00 00 31 */ bl __dt__14CPirateRagDollFv +/* 801206D4 0011D634 7F E0 07 35 */ extsh. r0, r31 +/* 801206D8 0011D638 40 81 00 0C */ ble lbl_801206E4 +/* 801206DC 0011D63C 7F C3 F3 78 */ mr r3, r30 +/* 801206E0 0011D640 48 1F 52 51 */ bl Free__7CMemoryFPCv +lbl_801206E4: +/* 801206E4 0011D644 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801206E8 0011D648 7F C3 F3 78 */ mr r3, r30 +/* 801206EC 0011D64C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801206F0 0011D650 83 C1 00 08 */ lwz r30, 8(r1) +/* 801206F4 0011D654 7C 08 03 A6 */ mtlr r0 +/* 801206F8 0011D658 38 21 00 10 */ addi r1, r1, 0x10 +/* 801206FC 0011D65C 4E 80 00 20 */ blr + +.global __dt__14CPirateRagDollFv +__dt__14CPirateRagDollFv: +/* 80120700 0011D660 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80120704 0011D664 7C 08 02 A6 */ mflr r0 +/* 80120708 0011D668 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012070C 0011D66C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80120710 0011D670 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80120714 0011D674 93 C1 00 08 */ stw r30, 8(r1) +/* 80120718 0011D678 7C 9E 23 78 */ mr r30, r4 +/* 8012071C 0011D67C 41 82 00 E4 */ beq lbl_80120800 +/* 80120720 0011D680 3C 60 80 3E */ lis r3, lbl_803E0BE0@ha +/* 80120724 0011D684 34 1F 00 9C */ addic. r0, r31, 0x9c +/* 80120728 0011D688 38 03 0B E0 */ addi r0, r3, lbl_803E0BE0@l +/* 8012072C 0011D68C 90 1F 00 00 */ stw r0, 0(r31) +/* 80120730 0011D690 41 82 00 58 */ beq lbl_80120788 +/* 80120734 0011D694 80 BF 00 9C */ lwz r5, 0x9c(r31) +/* 80120738 0011D698 38 60 00 00 */ li r3, 0 +/* 8012073C 0011D69C 2C 05 00 00 */ cmpwi r5, 0 +/* 80120740 0011D6A0 40 81 00 40 */ ble lbl_80120780 +/* 80120744 0011D6A4 2C 05 00 08 */ cmpwi r5, 8 +/* 80120748 0011D6A8 38 85 FF F8 */ addi r4, r5, -8 +/* 8012074C 0011D6AC 40 81 00 20 */ ble lbl_8012076C +/* 80120750 0011D6B0 38 04 00 07 */ addi r0, r4, 7 +/* 80120754 0011D6B4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80120758 0011D6B8 7C 09 03 A6 */ mtctr r0 +/* 8012075C 0011D6BC 2C 04 00 00 */ cmpwi r4, 0 +/* 80120760 0011D6C0 40 81 00 0C */ ble lbl_8012076C +lbl_80120764: +/* 80120764 0011D6C4 38 63 00 08 */ addi r3, r3, 8 +/* 80120768 0011D6C8 42 00 FF FC */ bdnz lbl_80120764 +lbl_8012076C: +/* 8012076C 0011D6CC 7C 03 28 50 */ subf r0, r3, r5 +/* 80120770 0011D6D0 7C 09 03 A6 */ mtctr r0 +/* 80120774 0011D6D4 7C 03 28 00 */ cmpw r3, r5 +/* 80120778 0011D6D8 40 80 00 08 */ bge lbl_80120780 +lbl_8012077C: +/* 8012077C 0011D6DC 42 00 00 00 */ bdnz lbl_8012077C +lbl_80120780: +/* 80120780 0011D6E0 38 00 00 00 */ li r0, 0 +/* 80120784 0011D6E4 90 1F 00 9C */ stw r0, 0x9c(r31) +lbl_80120788: +/* 80120788 0011D6E8 34 1F 00 90 */ addic. r0, r31, 0x90 +/* 8012078C 0011D6EC 41 82 00 58 */ beq lbl_801207E4 +/* 80120790 0011D6F0 80 BF 00 90 */ lwz r5, 0x90(r31) +/* 80120794 0011D6F4 38 60 00 00 */ li r3, 0 +/* 80120798 0011D6F8 2C 05 00 00 */ cmpwi r5, 0 +/* 8012079C 0011D6FC 40 81 00 40 */ ble lbl_801207DC +/* 801207A0 0011D700 2C 05 00 08 */ cmpwi r5, 8 +/* 801207A4 0011D704 38 85 FF F8 */ addi r4, r5, -8 +/* 801207A8 0011D708 40 81 00 20 */ ble lbl_801207C8 +/* 801207AC 0011D70C 38 04 00 07 */ addi r0, r4, 7 +/* 801207B0 0011D710 54 00 E8 FE */ srwi r0, r0, 3 +/* 801207B4 0011D714 7C 09 03 A6 */ mtctr r0 +/* 801207B8 0011D718 2C 04 00 00 */ cmpwi r4, 0 +/* 801207BC 0011D71C 40 81 00 0C */ ble lbl_801207C8 +lbl_801207C0: +/* 801207C0 0011D720 38 63 00 08 */ addi r3, r3, 8 +/* 801207C4 0011D724 42 00 FF FC */ bdnz lbl_801207C0 +lbl_801207C8: +/* 801207C8 0011D728 7C 03 28 50 */ subf r0, r3, r5 +/* 801207CC 0011D72C 7C 09 03 A6 */ mtctr r0 +/* 801207D0 0011D730 7C 03 28 00 */ cmpw r3, r5 +/* 801207D4 0011D734 40 80 00 08 */ bge lbl_801207DC +lbl_801207D8: +/* 801207D8 0011D738 42 00 00 00 */ bdnz lbl_801207D8 +lbl_801207DC: +/* 801207DC 0011D73C 38 00 00 00 */ li r0, 0 +/* 801207E0 0011D740 90 1F 00 90 */ stw r0, 0x90(r31) +lbl_801207E4: +/* 801207E4 0011D744 7F E3 FB 78 */ mr r3, r31 +/* 801207E8 0011D748 38 80 00 00 */ li r4, 0 +/* 801207EC 0011D74C 48 00 00 31 */ bl __dt__8CRagDollFv +/* 801207F0 0011D750 7F C0 07 35 */ extsh. r0, r30 +/* 801207F4 0011D754 40 81 00 0C */ ble lbl_80120800 +/* 801207F8 0011D758 7F E3 FB 78 */ mr r3, r31 +/* 801207FC 0011D75C 48 1F 51 35 */ bl Free__7CMemoryFPCv +lbl_80120800: +/* 80120800 0011D760 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80120804 0011D764 7F E3 FB 78 */ mr r3, r31 +/* 80120808 0011D768 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012080C 0011D76C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80120810 0011D770 7C 08 03 A6 */ mtlr r0 +/* 80120814 0011D774 38 21 00 10 */ addi r1, r1, 0x10 +/* 80120818 0011D778 4E 80 00 20 */ blr + +.global __dt__8CRagDollFv +__dt__8CRagDollFv: +/* 8012081C 0011D77C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80120820 0011D780 7C 08 02 A6 */ mflr r0 +/* 80120824 0011D784 90 01 00 54 */ stw r0, 0x54(r1) +/* 80120828 0011D788 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8012082C 0011D78C 7C 9F 23 78 */ mr r31, r4 +/* 80120830 0011D790 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80120834 0011D794 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80120838 0011D798 41 82 01 40 */ beq lbl_80120978 +/* 8012083C 0011D79C 3C 60 80 3E */ lis r3, lbl_803E70D0@ha +/* 80120840 0011D7A0 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 80120844 0011D7A4 38 03 70 D0 */ addi r0, r3, lbl_803E70D0@l +/* 80120848 0011D7A8 90 1E 00 00 */ stw r0, 0(r30) +/* 8012084C 0011D7AC 41 82 00 44 */ beq lbl_80120890 +/* 80120850 0011D7B0 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 80120854 0011D7B4 80 7E 00 40 */ lwz r3, 0x40(r30) +/* 80120858 0011D7B8 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 8012085C 0011D7BC 90 61 00 3C */ stw r3, 0x3c(r1) +/* 80120860 0011D7C0 7C 64 1B 78 */ mr r4, r3 +/* 80120864 0011D7C4 7C 03 02 14 */ add r0, r3, r0 +/* 80120868 0011D7C8 90 61 00 38 */ stw r3, 0x38(r1) +/* 8012086C 0011D7CC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80120870 0011D7D0 90 01 00 40 */ stw r0, 0x40(r1) +/* 80120874 0011D7D4 48 00 00 08 */ b lbl_8012087C +lbl_80120878: +/* 80120878 0011D7D8 38 84 00 14 */ addi r4, r4, 0x14 +lbl_8012087C: +/* 8012087C 0011D7DC 7C 04 00 40 */ cmplw r4, r0 +/* 80120880 0011D7E0 40 82 FF F8 */ bne lbl_80120878 +/* 80120884 0011D7E4 28 03 00 00 */ cmplwi r3, 0 +/* 80120888 0011D7E8 41 82 00 08 */ beq lbl_80120890 +/* 8012088C 0011D7EC 48 1F 50 A5 */ bl Free__7CMemoryFPCv +lbl_80120890: +/* 80120890 0011D7F0 34 1E 00 24 */ addic. r0, r30, 0x24 +/* 80120894 0011D7F4 41 82 00 44 */ beq lbl_801208D8 +/* 80120898 0011D7F8 80 1E 00 28 */ lwz r0, 0x28(r30) +/* 8012089C 0011D7FC 80 7E 00 30 */ lwz r3, 0x30(r30) +/* 801208A0 0011D800 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 801208A4 0011D804 90 61 00 2C */ stw r3, 0x2c(r1) +/* 801208A8 0011D808 7C 64 1B 78 */ mr r4, r3 +/* 801208AC 0011D80C 7C 03 02 14 */ add r0, r3, r0 +/* 801208B0 0011D810 90 61 00 28 */ stw r3, 0x28(r1) +/* 801208B4 0011D814 90 01 00 34 */ stw r0, 0x34(r1) +/* 801208B8 0011D818 90 01 00 30 */ stw r0, 0x30(r1) +/* 801208BC 0011D81C 48 00 00 08 */ b lbl_801208C4 +lbl_801208C0: +/* 801208C0 0011D820 38 84 00 18 */ addi r4, r4, 0x18 +lbl_801208C4: +/* 801208C4 0011D824 7C 04 00 40 */ cmplw r4, r0 +/* 801208C8 0011D828 40 82 FF F8 */ bne lbl_801208C0 +/* 801208CC 0011D82C 28 03 00 00 */ cmplwi r3, 0 +/* 801208D0 0011D830 41 82 00 08 */ beq lbl_801208D8 +/* 801208D4 0011D834 48 1F 50 5D */ bl Free__7CMemoryFPCv +lbl_801208D8: +/* 801208D8 0011D838 34 1E 00 14 */ addic. r0, r30, 0x14 +/* 801208DC 0011D83C 41 82 00 44 */ beq lbl_80120920 +/* 801208E0 0011D840 80 1E 00 18 */ lwz r0, 0x18(r30) +/* 801208E4 0011D844 80 7E 00 20 */ lwz r3, 0x20(r30) +/* 801208E8 0011D848 54 00 20 36 */ slwi r0, r0, 4 +/* 801208EC 0011D84C 7C 03 02 14 */ add r0, r3, r0 +/* 801208F0 0011D850 90 61 00 1C */ stw r3, 0x1c(r1) +/* 801208F4 0011D854 7C 64 1B 78 */ mr r4, r3 +/* 801208F8 0011D858 90 01 00 24 */ stw r0, 0x24(r1) +/* 801208FC 0011D85C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80120900 0011D860 90 61 00 18 */ stw r3, 0x18(r1) +/* 80120904 0011D864 48 00 00 08 */ b lbl_8012090C +lbl_80120908: +/* 80120908 0011D868 38 84 00 10 */ addi r4, r4, 0x10 +lbl_8012090C: +/* 8012090C 0011D86C 7C 04 00 40 */ cmplw r4, r0 +/* 80120910 0011D870 40 82 FF F8 */ bne lbl_80120908 +/* 80120914 0011D874 28 03 00 00 */ cmplwi r3, 0 +/* 80120918 0011D878 41 82 00 08 */ beq lbl_80120920 +/* 8012091C 0011D87C 48 1F 50 15 */ bl Free__7CMemoryFPCv +lbl_80120920: +/* 80120920 0011D880 34 1E 00 04 */ addic. r0, r30, 4 +/* 80120924 0011D884 41 82 00 44 */ beq lbl_80120968 +/* 80120928 0011D888 80 1E 00 08 */ lwz r0, 8(r30) +/* 8012092C 0011D88C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 80120930 0011D890 54 00 30 32 */ slwi r0, r0, 6 +/* 80120934 0011D894 7C 03 02 14 */ add r0, r3, r0 +/* 80120938 0011D898 90 61 00 0C */ stw r3, 0xc(r1) +/* 8012093C 0011D89C 7C 64 1B 78 */ mr r4, r3 +/* 80120940 0011D8A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80120944 0011D8A4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80120948 0011D8A8 90 61 00 08 */ stw r3, 8(r1) +/* 8012094C 0011D8AC 48 00 00 08 */ b lbl_80120954 +lbl_80120950: +/* 80120950 0011D8B0 38 84 00 40 */ addi r4, r4, 0x40 +lbl_80120954: +/* 80120954 0011D8B4 7C 04 00 40 */ cmplw r4, r0 +/* 80120958 0011D8B8 40 82 FF F8 */ bne lbl_80120950 +/* 8012095C 0011D8BC 28 03 00 00 */ cmplwi r3, 0 +/* 80120960 0011D8C0 41 82 00 08 */ beq lbl_80120968 +/* 80120964 0011D8C4 48 1F 4F CD */ bl Free__7CMemoryFPCv +lbl_80120968: +/* 80120968 0011D8C8 7F E0 07 35 */ extsh. r0, r31 +/* 8012096C 0011D8CC 40 81 00 0C */ ble lbl_80120978 +/* 80120970 0011D8D0 7F C3 F3 78 */ mr r3, r30 +/* 80120974 0011D8D4 48 1F 4F BD */ bl Free__7CMemoryFPCv +lbl_80120978: +/* 80120978 0011D8D8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8012097C 0011D8DC 7F C3 F3 78 */ mr r3, r30 +/* 80120980 0011D8E0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80120984 0011D8E4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80120988 0011D8E8 7C 08 03 A6 */ mtlr r0 +/* 8012098C 0011D8EC 38 21 00 50 */ addi r1, r1, 0x50 +/* 80120990 0011D8F0 4E 80 00 20 */ blr + +.global GetSearchPath__12CSpacePirateCFv +GetSearchPath__12CSpacePirateCFv: +/* 80120994 0011D8F4 38 63 06 60 */ addi r3, r3, 0x660 +/* 80120998 0011D8F8 4E 80 00 20 */ blr + +.global IsListening__12CSpacePirateCFv +IsListening__12CSpacePirateCFv: +/* 8012099C 0011D8FC 38 60 00 01 */ li r3, 1 +/* 801209A0 0011D900 4E 80 00 20 */ blr + +.global GetGravityConstant__12CSpacePirateCFv +GetGravityConstant__12CSpacePirateCFv: +/* 801209A4 0011D904 C0 22 97 B0 */ lfs f1, lbl_805AB4D0@sda21(r2) +/* 801209A8 0011D908 4E 80 00 20 */ blr + +.global Think__12CSpacePirateFfR13CStateManager +Think__12CSpacePirateFfR13CStateManager: +/* 801209AC 0011D90C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 801209B0 0011D910 7C 08 02 A6 */ mflr r0 +/* 801209B4 0011D914 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 801209B8 0011D918 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 801209BC 0011D91C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 801209C0 0011D920 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 801209C4 0011D924 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 801209C8 0011D928 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 801209CC 0011D92C 93 C1 00 88 */ stw r30, 0x88(r1) +/* 801209D0 0011D930 93 A1 00 84 */ stw r29, 0x84(r1) +/* 801209D4 0011D934 88 03 00 30 */ lbz r0, 0x30(r3) +/* 801209D8 0011D938 FF E0 08 90 */ fmr f31, f1 +/* 801209DC 0011D93C 7C 7E 1B 78 */ mr r30, r3 +/* 801209E0 0011D940 7C 9F 23 78 */ mr r31, r4 +/* 801209E4 0011D944 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801209E8 0011D948 41 82 05 D0 */ beq lbl_80120FB8 +/* 801209EC 0011D94C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 801209F0 0011D950 88 03 03 00 */ lbz r0, 0x300(r3) +/* 801209F4 0011D954 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801209F8 0011D958 40 82 00 08 */ bne lbl_80120A00 +/* 801209FC 0011D95C 48 01 A2 F5 */ bl Activate__15CBodyControllerFR13CStateManager +lbl_80120A00: +/* 80120A00 0011D960 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 80120A04 0011D964 4B EE 9E FD */ bl IsInCinematicCamera__14CCameraManagerCFv +/* 80120A08 0011D968 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80120A0C 0011D96C 7C 7D 1B 78 */ mr r29, r3 +/* 80120A10 0011D970 41 82 00 20 */ beq lbl_80120A30 +/* 80120A14 0011D974 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80120A18 0011D978 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80120A1C 0011D97C 40 82 00 14 */ bne lbl_80120A30 +/* 80120A20 0011D980 7F C3 F3 78 */ mr r3, r30 +/* 80120A24 0011D984 7F E4 FB 78 */ mr r4, r31 +/* 80120A28 0011D988 48 00 79 81 */ bl SetCinematicCollision__12CSpacePirateFR13CStateManager +/* 80120A2C 0011D98C 48 00 00 30 */ b lbl_80120A5C +lbl_80120A30: +/* 80120A30 0011D990 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80120A34 0011D994 40 82 00 28 */ bne lbl_80120A5C +/* 80120A38 0011D998 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80120A3C 0011D99C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80120A40 0011D9A0 41 82 00 1C */ beq lbl_80120A5C +/* 80120A44 0011D9A4 88 1E 06 35 */ lbz r0, 0x635(r30) +/* 80120A48 0011D9A8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80120A4C 0011D9AC 40 82 00 10 */ bne lbl_80120A5C +/* 80120A50 0011D9B0 7F C3 F3 78 */ mr r3, r30 +/* 80120A54 0011D9B4 7F E4 FB 78 */ mr r4, r31 +/* 80120A58 0011D9B8 48 00 78 9D */ bl SetNonCinematicCollision__12CSpacePirateFR13CStateManager +lbl_80120A5C: +/* 80120A5C 0011D9BC 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80120A60 0011D9C0 53 A0 07 FE */ rlwimi r0, r29, 0, 0x1f, 0x1f +/* 80120A64 0011D9C4 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80120A68 0011D9C8 98 1E 06 37 */ stb r0, 0x637(r30) +/* 80120A6C 0011D9CC C0 1E 07 48 */ lfs f0, 0x748(r30) +/* 80120A70 0011D9D0 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80120A74 0011D9D4 41 82 00 08 */ beq lbl_80120A7C +/* 80120A78 0011D9D8 48 00 00 08 */ b lbl_80120A80 +lbl_80120A7C: +/* 80120A7C 0011D9DC C0 3E 06 44 */ lfs f1, 0x644(r30) +lbl_80120A80: +/* 80120A80 0011D9E0 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80120A84 0011D9E4 FC 40 08 90 */ fmr f2, f1 +/* 80120A88 0011D9E8 38 63 00 04 */ addi r3, r3, 4 +/* 80120A8C 0011D9EC 48 01 0D 5D */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff +/* 80120A90 0011D9F0 C0 1E 07 44 */ lfs f0, 0x744(r30) +/* 80120A94 0011D9F4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80120A98 0011D9F8 38 6D 8A D4 */ addi r3, r13, lbl_805A7694@sda21 +/* 80120A9C 0011D9FC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80120AA0 0011DA00 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80120AA4 0011DA04 4B F2 EC 8D */ bl "Max__5CMathFRCfRCf" +/* 80120AA8 0011DA08 C0 03 00 00 */ lfs f0, 0(r3) +/* 80120AAC 0011DA0C D0 1E 07 44 */ stfs f0, 0x744(r30) +/* 80120AB0 0011DA10 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80120AB4 0011DA14 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80120AB8 0011DA18 41 82 00 64 */ beq lbl_80120B1C +/* 80120ABC 0011DA1C C0 1E 08 50 */ lfs f0, 0x850(r30) +/* 80120AC0 0011DA20 EC 00 F8 2A */ fadds f0, f0, f31 +/* 80120AC4 0011DA24 D0 1E 08 50 */ stfs f0, 0x850(r30) +/* 80120AC8 0011DA28 C0 1E 08 54 */ lfs f0, 0x854(r30) +/* 80120ACC 0011DA2C EC 00 F8 2A */ fadds f0, f0, f31 +/* 80120AD0 0011DA30 D0 1E 08 54 */ stfs f0, 0x854(r30) +/* 80120AD4 0011DA34 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80120AD8 0011DA38 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80120ADC 0011DA3C 41 82 00 1C */ beq lbl_80120AF8 +/* 80120AE0 0011DA40 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80120AE4 0011DA44 38 60 00 00 */ li r3, 0 +/* 80120AE8 0011DA48 D0 1E 08 54 */ stfs f0, 0x854(r30) +/* 80120AEC 0011DA4C 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80120AF0 0011DA50 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80120AF4 0011DA54 98 1E 06 37 */ stb r0, 0x637(r30) +lbl_80120AF8: +/* 80120AF8 0011DA58 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80120AFC 0011DA5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80120B00 0011DA60 41 82 00 1C */ beq lbl_80120B1C +/* 80120B04 0011DA64 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80120B08 0011DA68 38 60 00 00 */ li r3, 0 +/* 80120B0C 0011DA6C D0 1E 08 50 */ stfs f0, 0x850(r30) +/* 80120B10 0011DA70 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80120B14 0011DA74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80120B18 0011DA78 98 1E 04 00 */ stb r0, 0x400(r30) +lbl_80120B1C: +/* 80120B1C 0011DA7C FC 20 F8 90 */ fmr f1, f31 +/* 80120B20 0011DA80 7F C3 F3 78 */ mr r3, r30 +/* 80120B24 0011DA84 7F E4 FB 78 */ mr r4, r31 +/* 80120B28 0011DA88 48 00 0B 75 */ bl UpdateCloak__12CSpacePirateFfRC13CStateManager +/* 80120B2C 0011DA8C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80120B30 0011DA90 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80120B34 0011DA94 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80120B38 0011DA98 40 82 00 CC */ bne lbl_80120C04 +/* 80120B3C 0011DA9C 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80120B40 0011DAA0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80120B44 0011DAA4 41 82 00 94 */ beq lbl_80120BD8 +/* 80120B48 0011DAA8 C0 1E 07 48 */ lfs f0, 0x748(r30) +/* 80120B4C 0011DAAC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80120B50 0011DAB0 38 6D 8A D8 */ addi r3, r13, lbl_805A7698@sda21 +/* 80120B54 0011DAB4 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80120B58 0011DAB8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80120B5C 0011DABC 4B F2 EB D5 */ bl "Max__5CMathFRCfRCf" +/* 80120B60 0011DAC0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80120B64 0011DAC4 D0 1E 07 48 */ stfs f0, 0x748(r30) +/* 80120B68 0011DAC8 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80120B6C 0011DACC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80120B70 0011DAD0 41 82 00 14 */ beq lbl_80120B84 +/* 80120B74 0011DAD4 C0 1E 07 AC */ lfs f0, 0x7ac(r30) +/* 80120B78 0011DAD8 EC 00 F8 2A */ fadds f0, f0, f31 +/* 80120B7C 0011DADC D0 1E 07 AC */ stfs f0, 0x7ac(r30) +/* 80120B80 0011DAE0 48 00 00 0C */ b lbl_80120B8C +lbl_80120B84: +/* 80120B84 0011DAE4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80120B88 0011DAE8 D0 1E 07 AC */ stfs f0, 0x7ac(r30) +lbl_80120B8C: +/* 80120B8C 0011DAEC C0 1E 08 38 */ lfs f0, 0x838(r30) +/* 80120B90 0011DAF0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80120B94 0011DAF4 38 6D 8A DC */ addi r3, r13, lbl_805A769C@sda21 +/* 80120B98 0011DAF8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80120B9C 0011DAFC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80120BA0 0011DB00 4B F2 EB 91 */ bl "Max__5CMathFRCfRCf" +/* 80120BA4 0011DB04 C0 03 00 00 */ lfs f0, 0(r3) +/* 80120BA8 0011DB08 38 81 00 18 */ addi r4, r1, 0x18 +/* 80120BAC 0011DB0C 38 6D 8A E0 */ addi r3, r13, lbl_805A76A0@sda21 +/* 80120BB0 0011DB10 D0 1E 08 38 */ stfs f0, 0x838(r30) +/* 80120BB4 0011DB14 C0 1E 08 C0 */ lfs f0, 0x8c0(r30) +/* 80120BB8 0011DB18 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80120BBC 0011DB1C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80120BC0 0011DB20 4B F2 EB 71 */ bl "Max__5CMathFRCfRCf" +/* 80120BC4 0011DB24 C0 03 00 00 */ lfs f0, 0(r3) +/* 80120BC8 0011DB28 7F C3 F3 78 */ mr r3, r30 +/* 80120BCC 0011DB2C 7F E4 FB 78 */ mr r4, r31 +/* 80120BD0 0011DB30 D0 1E 08 C0 */ stfs f0, 0x8c0(r30) +/* 80120BD4 0011DB34 48 00 87 45 */ bl CheckForProjectiles__12CSpacePirateFR13CStateManager +lbl_80120BD8: +/* 80120BD8 0011DB38 FC 20 F8 90 */ fmr f1, f31 +/* 80120BDC 0011DB3C 7F C3 F3 78 */ mr r3, r30 +/* 80120BE0 0011DB40 7F E4 FB 78 */ mr r4, r31 +/* 80120BE4 0011DB44 48 00 06 31 */ bl UpdateAttacks__12CSpacePirateFfR13CStateManager +/* 80120BE8 0011DB48 FC 20 F8 90 */ fmr f1, f31 +/* 80120BEC 0011DB4C 7F C3 F3 78 */ mr r3, r30 +/* 80120BF0 0011DB50 7F E4 FB 78 */ mr r4, r31 +/* 80120BF4 0011DB54 48 00 04 39 */ bl UpdateAimBodyState__12CSpacePirateFfR13CStateManager +/* 80120BF8 0011DB58 FC 20 F8 90 */ fmr f1, f31 +/* 80120BFC 0011DB5C 38 7E 08 60 */ addi r3, r30, 0x860 +/* 80120C00 0011DB60 48 10 4C E9 */ bl Update__8CIkChainFf +lbl_80120C04: +/* 80120C04 0011DB64 88 7E 06 34 */ lbz r3, 0x634(r30) +/* 80120C08 0011DB68 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80120C0C 0011DB6C 41 82 00 70 */ beq lbl_80120C7C +/* 80120C10 0011DB70 38 00 00 00 */ li r0, 0 +/* 80120C14 0011DB74 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 80120C18 0011DB78 98 7E 06 34 */ stb r3, 0x634(r30) +/* 80120C1C 0011DB7C 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 80120C20 0011DB80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80120C24 0011DB84 41 82 00 14 */ beq lbl_80120C38 +/* 80120C28 0011DB88 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80120C2C 0011DB8C 38 80 00 06 */ li r4, 6 +/* 80120C30 0011DB90 48 01 9D A9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80120C34 0011DB94 48 00 00 10 */ b lbl_80120C44 +lbl_80120C38: +/* 80120C38 0011DB98 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80120C3C 0011DB9C 38 80 00 00 */ li r4, 0 +/* 80120C40 0011DBA0 48 01 9D 99 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80120C44: +/* 80120C44 0011DBA4 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 80120C48 0011DBA8 38 61 00 40 */ addi r3, r1, 0x40 +/* 80120C4C 0011DBAC 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 80120C50 0011DBB0 4B EE 40 69 */ bl string_l__4rstlFPCc +/* 80120C54 0011DBB4 7F C3 F3 78 */ mr r3, r30 +/* 80120C58 0011DBB8 4B F8 1C A1 */ bl GetStateMachine__3CAiFv +/* 80120C5C 0011DBBC 7C 66 1B 78 */ mr r6, r3 +/* 80120C60 0011DBC0 7F E4 FB 78 */ mr r4, r31 +/* 80120C64 0011DBC4 7F C5 F3 78 */ mr r5, r30 +/* 80120C68 0011DBC8 38 7E 03 30 */ addi r3, r30, 0x330 +/* 80120C6C 0011DBCC 38 E1 00 40 */ addi r7, r1, 0x40 +/* 80120C70 0011DBD0 4B F5 EF 95 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80120C74 0011DBD4 38 61 00 40 */ addi r3, r1, 0x40 +/* 80120C78 0011DBD8 48 21 CE 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_80120C7C: +/* 80120C7C 0011DBDC 80 9E 08 5C */ lwz r4, 0x85c(r30) +/* 80120C80 0011DBE0 7C 83 00 34 */ cntlzw r3, r4 +/* 80120C84 0011DBE4 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 80120C88 0011DBE8 54 7D D9 7E */ srwi r29, r3, 5 +/* 80120C8C 0011DBEC 40 82 00 10 */ bne lbl_80120C9C +/* 80120C90 0011DBF0 88 04 00 68 */ lbz r0, 0x68(r4) +/* 80120C94 0011DBF4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80120C98 0011DBF8 40 82 00 34 */ bne lbl_80120CCC +lbl_80120C9C: +/* 80120C9C 0011DBFC FC 20 F8 90 */ fmr f1, f31 +/* 80120CA0 0011DC00 7F C3 F3 78 */ mr r3, r30 +/* 80120CA4 0011DC04 7F E4 FB 78 */ mr r4, r31 +/* 80120CA8 0011DC08 4B F5 8E 71 */ bl Think__10CPatternedFfR13CStateManager +/* 80120CAC 0011DC0C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80120CB0 0011DC10 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80120CB4 0011DC14 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80120CB8 0011DC18 40 82 00 80 */ bne lbl_80120D38 +/* 80120CBC 0011DC1C FC 20 F8 90 */ fmr f1, f31 +/* 80120CC0 0011DC20 38 7E 07 64 */ addi r3, r30, 0x764 +/* 80120CC4 0011DC24 48 05 4C E5 */ bl Update__13CBoneTrackingFf +/* 80120CC8 0011DC28 48 00 00 70 */ b lbl_80120D38 +lbl_80120CCC: +/* 80120CCC 0011DC2C FC 20 F8 90 */ fmr f1, f31 +/* 80120CD0 0011DC30 7F C3 F3 78 */ mr r3, r30 +/* 80120CD4 0011DC34 7F E4 FB 78 */ mr r4, r31 +/* 80120CD8 0011DC38 4B F5 99 B5 */ bl UpdateAlphaDelta__10CPatternedFfR13CStateManager +/* 80120CDC 0011DC3C FC 20 F8 90 */ fmr f1, f31 +/* 80120CE0 0011DC40 7F C3 F3 78 */ mr r3, r30 +/* 80120CE4 0011DC44 4B F5 98 D5 */ bl UpdateDamageColor__10CPatternedFf +/* 80120CE8 0011DC48 7F C4 F3 78 */ mr r4, r30 +/* 80120CEC 0011DC4C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80120CF0 0011DC50 4B F3 26 29 */ bl GetSfxHandle__6CActorCFv +/* 80120CF4 0011DC54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80120CF8 0011DC58 28 00 00 00 */ cmplwi r0, 0 +/* 80120CFC 0011DC5C 90 01 00 28 */ stw r0, 0x28(r1) +/* 80120D00 0011DC60 41 82 00 38 */ beq lbl_80120D38 +/* 80120D04 0011DC64 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80120D08 0011DC68 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80120D0C 0011DC6C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80120D10 0011DC70 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 80120D14 0011DC74 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80120D18 0011DC78 38 61 00 10 */ addi r3, r1, 0x10 +/* 80120D1C 0011DC7C 38 81 00 34 */ addi r4, r1, 0x34 +/* 80120D20 0011DC80 38 C0 00 7F */ li r6, 0x7f +/* 80120D24 0011DC84 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80120D28 0011DC88 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80120D2C 0011DC8C D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 80120D30 0011DC90 90 01 00 10 */ stw r0, 0x10(r1) +/* 80120D34 0011DC94 48 1C 91 7D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +lbl_80120D38: +/* 80120D38 0011DC98 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80120D3C 0011DC9C 40 82 01 B8 */ bne lbl_80120EF4 +/* 80120D40 0011DCA0 80 7E 08 5C */ lwz r3, 0x85c(r30) +/* 80120D44 0011DCA4 88 03 00 68 */ lbz r0, 0x68(r3) +/* 80120D48 0011DCA8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80120D4C 0011DCAC 40 82 00 8C */ bne lbl_80120DD8 +/* 80120D50 0011DCB0 81 83 00 00 */ lwz r12, 0(r3) +/* 80120D54 0011DCB4 7F E4 FB 78 */ mr r4, r31 +/* 80120D58 0011DCB8 38 BE 00 34 */ addi r5, r30, 0x34 +/* 80120D5C 0011DCBC 80 DE 00 64 */ lwz r6, 0x64(r30) +/* 80120D60 0011DCC0 81 8C 00 08 */ lwz r12, 8(r12) +/* 80120D64 0011DCC4 7D 89 03 A6 */ mtctr r12 +/* 80120D68 0011DCC8 4E 80 04 21 */ bctrl +/* 80120D6C 0011DCCC C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80120D70 0011DCD0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 80120D74 0011DCD4 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80120D78 0011DCD8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 80120D7C 0011DCDC C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80120D80 0011DCE0 38 7E 00 34 */ addi r3, r30, 0x34 +/* 80120D84 0011DCE4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80120D88 0011DCE8 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80120D8C 0011DCEC D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80120D90 0011DCF0 48 1F 1D B1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 80120D94 0011DCF4 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80120D98 0011DCF8 38 A0 00 01 */ li r5, 1 +/* 80120D9C 0011DCFC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 80120DA0 0011DD00 7F C3 F3 78 */ mr r3, r30 +/* 80120DA4 0011DD04 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80120DA8 0011DD08 38 81 00 50 */ addi r4, r1, 0x50 +/* 80120DAC 0011DD0C 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80120DB0 0011DD10 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80120DB4 0011DD14 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80120DB8 0011DD18 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 80120DBC 0011DD1C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80120DC0 0011DD20 98 1E 00 E4 */ stb r0, 0xe4(r30) +/* 80120DC4 0011DD24 4B F3 20 C9 */ bl SetTranslation__6CActorFRC9CVector3f +/* 80120DC8 0011DD28 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80120DCC 0011DD2C C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80120DD0 0011DD30 48 01 9A BD */ bl SetPlaybackRate__15CBodyControllerFf +/* 80120DD4 0011DD34 48 00 00 9C */ b lbl_80120E70 +lbl_80120DD8: +/* 80120DD8 0011DD38 A0 BE 00 C4 */ lhz r5, 0xc4(r30) +/* 80120DDC 0011DD3C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80120DE0 0011DD40 C3 C2 97 C0 */ lfs f30, lbl_805AB4E0@sda21(r2) +/* 80120DE4 0011DD44 7C 05 00 40 */ cmplw r5, r0 +/* 80120DE8 0011DD48 41 82 00 48 */ beq lbl_80120E30 +/* 80120DEC 0011DD4C B0 A1 00 08 */ sth r5, 8(r1) +/* 80120DF0 0011DD50 7F E3 FB 78 */ mr r3, r31 +/* 80120DF4 0011DD54 38 81 00 0C */ addi r4, r1, 0xc +/* 80120DF8 0011DD58 B0 A1 00 0C */ sth r5, 0xc(r1) +/* 80120DFC 0011DD5C 4B F2 B7 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80120E00 0011DD60 7C 64 1B 78 */ mr r4, r3 +/* 80120E04 0011DD64 38 61 00 2C */ addi r3, r1, 0x2c +/* 80120E08 0011DD68 4B F8 5A 59 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" +/* 80120E0C 0011DD6C 80 83 00 04 */ lwz r4, 4(r3) +/* 80120E10 0011DD70 28 04 00 00 */ cmplwi r4, 0 +/* 80120E14 0011DD74 41 82 00 1C */ beq lbl_80120E30 +/* 80120E18 0011DD78 88 04 00 30 */ lbz r0, 0x30(r4) +/* 80120E1C 0011DD7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80120E20 0011DD80 41 82 00 10 */ beq lbl_80120E30 +/* 80120E24 0011DD84 38 61 00 5C */ addi r3, r1, 0x5c +/* 80120E28 0011DD88 4B F5 58 A5 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80120E2C 0011DD8C C3 C1 00 70 */ lfs f30, 0x70(r1) +lbl_80120E30: +/* 80120E30 0011DD90 83 BE 08 5C */ lwz r29, 0x85c(r30) +/* 80120E34 0011DD94 7F C3 F3 78 */ mr r3, r30 +/* 80120E38 0011DD98 4B F5 7C 51 */ bl CalcDyingThinkRate__10CPatternedFv +/* 80120E3C 0011DD9C 81 9D 00 00 */ lwz r12, 0(r29) +/* 80120E40 0011DDA0 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 80120E44 0011DDA4 FC 40 F0 90 */ fmr f2, f30 +/* 80120E48 0011DDA8 7F A3 EB 78 */ mr r3, r29 +/* 80120E4C 0011DDAC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80120E50 0011DDB0 7F E4 FB 78 */ mr r4, r31 +/* 80120E54 0011DDB4 7D 89 03 A6 */ mtctr r12 +/* 80120E58 0011DDB8 4E 80 04 21 */ bctrl +/* 80120E5C 0011DDBC FC 20 F8 90 */ fmr f1, f31 +/* 80120E60 0011DDC0 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80120E64 0011DDC4 7F E5 FB 78 */ mr r5, r31 +/* 80120E68 0011DDC8 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80120E6C 0011DDCC 4B FF 47 21 */ bl AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager +lbl_80120E70: +/* 80120E70 0011DDD0 80 7E 08 5C */ lwz r3, 0x85c(r30) +/* 80120E74 0011DDD4 88 63 00 68 */ lbz r3, 0x68(r3) +/* 80120E78 0011DDD8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80120E7C 0011DDDC 41 82 00 78 */ beq lbl_80120EF4 +/* 80120E80 0011DDE0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80120E84 0011DDE4 40 82 00 70 */ bne lbl_80120EF4 +/* 80120E88 0011DDE8 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80120E8C 0011DDEC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80120E90 0011DDF0 40 82 00 64 */ bne lbl_80120EF4 +/* 80120E94 0011DDF4 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80120E98 0011DDF8 38 60 00 01 */ li r3, 1 +/* 80120E9C 0011DDFC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80120EA0 0011DE00 C0 02 97 C4 */ lfs f0, lbl_805AB4E4@sda21(r2) +/* 80120EA4 0011DE04 98 1E 04 00 */ stb r0, 0x400(r30) +/* 80120EA8 0011DE08 7F C3 F3 78 */ mr r3, r30 +/* 80120EAC 0011DE0C 7F E5 FB 78 */ mr r5, r31 +/* 80120EB0 0011DE10 38 80 00 12 */ li r4, 0x12 +/* 80120EB4 0011DE14 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) +/* 80120EB8 0011DE18 4B F3 34 99 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80120EBC 0011DE1C 88 1E 06 38 */ lbz r0, 0x638(r30) +/* 80120EC0 0011DE20 38 60 00 01 */ li r3, 1 +/* 80120EC4 0011DE24 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80120EC8 0011DE28 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80120ECC 0011DE2C 98 1E 06 38 */ stb r0, 0x638(r30) +/* 80120ED0 0011DE30 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 80120ED4 0011DE34 7F C3 F3 78 */ mr r3, r30 +/* 80120ED8 0011DE38 C0 04 00 00 */ lfs f0, 0(r4) +/* 80120EDC 0011DE3C D0 1E 01 50 */ stfs f0, 0x150(r30) +/* 80120EE0 0011DE40 C0 04 00 04 */ lfs f0, 4(r4) +/* 80120EE4 0011DE44 D0 1E 01 54 */ stfs f0, 0x154(r30) +/* 80120EE8 0011DE48 C0 04 00 08 */ lfs f0, 8(r4) +/* 80120EEC 0011DE4C D0 1E 01 58 */ stfs f0, 0x158(r30) +/* 80120EF0 0011DE50 4B FF A4 89 */ bl Stop__13CPhysicsActorFv +lbl_80120EF4: +/* 80120EF4 0011DE54 C0 1E 08 58 */ lfs f0, 0x858(r30) +/* 80120EF8 0011DE58 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80120EFC 0011DE5C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80120F00 0011DE60 40 81 00 B8 */ ble lbl_80120FB8 +/* 80120F04 0011DE64 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80120F08 0011DE68 D0 1E 08 58 */ stfs f0, 0x858(r30) +/* 80120F0C 0011DE6C C0 1E 08 58 */ lfs f0, 0x858(r30) +/* 80120F10 0011DE70 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80120F14 0011DE74 4C 40 13 82 */ cror 2, 0, 2 +/* 80120F18 0011DE78 40 82 00 A0 */ bne lbl_80120FB8 +/* 80120F1C 0011DE7C 80 1E 08 5C */ lwz r0, 0x85c(r30) +/* 80120F20 0011DE80 28 00 00 00 */ cmplwi r0, 0 +/* 80120F24 0011DE84 40 82 00 8C */ bne lbl_80120FB0 +/* 80120F28 0011DE88 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 80120F2C 0011DE8C 38 60 00 B4 */ li r3, 0xb4 +/* 80120F30 0011DE90 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 80120F34 0011DE94 38 A0 00 00 */ li r5, 0 +/* 80120F38 0011DE98 38 84 00 0A */ addi r4, r4, 0xa +/* 80120F3C 0011DE9C 48 1F 49 31 */ bl __nw__FUlPCcPCc +/* 80120F40 0011DEA0 7C 64 1B 79 */ or. r4, r3, r3 +/* 80120F44 0011DEA4 41 82 00 50 */ beq lbl_80120F94 +/* 80120F48 0011DEA8 88 9E 06 35 */ lbz r4, 0x635(r30) +/* 80120F4C 0011DEAC 39 20 00 04 */ li r9, 4 +/* 80120F50 0011DEB0 38 00 00 03 */ li r0, 3 +/* 80120F54 0011DEB4 A0 DE 06 00 */ lhz r6, 0x600(r30) +/* 80120F58 0011DEB8 54 87 07 FE */ clrlwi r7, r4, 0x1f +/* 80120F5C 0011DEBC 54 88 FF FE */ rlwinm r8, r4, 0x1f, 0x1f, 0x1f +/* 80120F60 0011DEC0 7C A7 00 D0 */ neg r5, r7 +/* 80120F64 0011DEC4 7F E4 FB 78 */ mr r4, r31 +/* 80120F68 0011DEC8 7C A5 3B 78 */ or r5, r5, r7 +/* 80120F6C 0011DECC 7C E8 00 D0 */ neg r7, r8 +/* 80120F70 0011DED0 7C AA FE 70 */ srawi r10, r5, 0x1f +/* 80120F74 0011DED4 7F C5 F3 78 */ mr r5, r30 +/* 80120F78 0011DED8 7C E7 43 78 */ or r7, r7, r8 +/* 80120F7C 0011DEDC 7C E7 FE 70 */ srawi r7, r7, 0x1f +/* 80120F80 0011DEE0 7D 28 50 38 */ and r8, r9, r10 +/* 80120F84 0011DEE4 7C 00 38 38 */ and r0, r0, r7 +/* 80120F88 0011DEE8 7C 07 43 78 */ or r7, r0, r8 +/* 80120F8C 0011DEEC 48 00 B2 D1 */ bl __ct__14CPirateRagDollFR13CStateManagerP12CSpacePiratefUsUi +/* 80120F90 0011DEF0 7C 64 1B 78 */ mr r4, r3 +lbl_80120F94: +/* 80120F94 0011DEF4 38 7E 08 5C */ addi r3, r30, 0x85c +/* 80120F98 0011DEF8 48 00 00 4D */ bl sub_80120fe4 +/* 80120F9C 0011DEFC 7F C3 F3 78 */ mr r3, r30 +/* 80120FA0 0011DF00 7F E6 FB 78 */ mr r6, r31 +/* 80120FA4 0011DF04 38 80 00 29 */ li r4, 0x29 +/* 80120FA8 0011DF08 38 A0 00 28 */ li r5, 0x28 +/* 80120FAC 0011DF0C 4B F3 2F 29 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +lbl_80120FB0: +/* 80120FB0 0011DF10 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80120FB4 0011DF14 D0 1E 08 58 */ stfs f0, 0x858(r30) +lbl_80120FB8: +/* 80120FB8 0011DF18 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80120FBC 0011DF1C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80120FC0 0011DF20 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 80120FC4 0011DF24 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 80120FC8 0011DF28 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80120FCC 0011DF2C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80120FD0 0011DF30 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80120FD4 0011DF34 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 80120FD8 0011DF38 7C 08 03 A6 */ mtlr r0 +/* 80120FDC 0011DF3C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80120FE0 0011DF40 4E 80 00 20 */ blr + +.global sub_80120fe4 +sub_80120fe4: +/* 80120FE4 0011DF44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80120FE8 0011DF48 7C 08 02 A6 */ mflr r0 +/* 80120FEC 0011DF4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80120FF0 0011DF50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80120FF4 0011DF54 7C 9F 23 78 */ mr r31, r4 +/* 80120FF8 0011DF58 38 80 00 01 */ li r4, 1 +/* 80120FFC 0011DF5C 93 C1 00 08 */ stw r30, 8(r1) +/* 80121000 0011DF60 7C 7E 1B 78 */ mr r30, r3 +/* 80121004 0011DF64 80 63 00 00 */ lwz r3, 0(r3) +/* 80121008 0011DF68 4B FF F6 F9 */ bl __dt__14CPirateRagDollFv +/* 8012100C 0011DF6C 93 FE 00 00 */ stw r31, 0(r30) +/* 80121010 0011DF70 7F C3 F3 78 */ mr r3, r30 +/* 80121014 0011DF74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80121018 0011DF78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012101C 0011DF7C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80121020 0011DF80 7C 08 03 A6 */ mtlr r0 +/* 80121024 0011DF84 38 21 00 10 */ addi r1, r1, 0x10 +/* 80121028 0011DF88 4E 80 00 20 */ blr + +.global UpdateAimBodyState__12CSpacePirateFfR13CStateManager +UpdateAimBodyState__12CSpacePirateFfR13CStateManager: +/* 8012102C 0011DF8C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80121030 0011DF90 7C 08 02 A6 */ mflr r0 +/* 80121034 0011DF94 90 01 00 54 */ stw r0, 0x54(r1) +/* 80121038 0011DF98 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8012103C 0011DF9C 7C 9F 23 78 */ mr r31, r4 +/* 80121040 0011DFA0 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80121044 0011DFA4 7C 7E 1B 78 */ mr r30, r3 +/* 80121048 0011DFA8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8012104C 0011DFAC 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80121050 0011DFB0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80121054 0011DFB4 41 82 01 5C */ beq lbl_801211B0 +/* 80121058 0011DFB8 88 7E 06 37 */ lbz r3, 0x637(r30) +/* 8012105C 0011DFBC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80121060 0011DFC0 41 82 01 50 */ beq lbl_801211B0 +/* 80121064 0011DFC4 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 80121068 0011DFC8 40 82 01 48 */ bne lbl_801211B0 +/* 8012106C 0011DFCC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80121070 0011DFD0 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80121074 0011DFD4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80121078 0011DFD8 40 82 01 38 */ bne lbl_801211B0 +/* 8012107C 0011DFDC 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 80121080 0011DFE0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80121084 0011DFE4 40 82 01 2C */ bne lbl_801211B0 +/* 80121088 0011DFE8 80 1E 08 5C */ lwz r0, 0x85c(r30) +/* 8012108C 0011DFEC 28 00 00 00 */ cmplwi r0, 0 +/* 80121090 0011DFF0 40 82 01 20 */ bne lbl_801211B0 +/* 80121094 0011DFF4 88 1E 06 35 */ lbz r0, 0x635(r30) +/* 80121098 0011DFF8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8012109C 0011DFFC 41 82 00 10 */ beq lbl_801210AC +/* 801210A0 0011E000 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 801210A4 0011E004 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 801210A8 0011E008 41 82 01 08 */ beq lbl_801211B0 +lbl_801210AC: +/* 801210AC 0011E00C C0 43 03 24 */ lfs f2, 0x324(r3) +/* 801210B0 0011E010 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801210B4 0011E014 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801210B8 0011E018 41 81 00 F8 */ bgt lbl_801211B0 +/* 801210BC 0011E01C C0 1E 08 C4 */ lfs f0, 0x8c4(r30) +/* 801210C0 0011E020 38 81 00 08 */ addi r4, r1, 8 +/* 801210C4 0011E024 38 6D 8A D0 */ addi r3, r13, lbl_805A7690@sda21 +/* 801210C8 0011E028 EC 00 08 28 */ fsubs f0, f0, f1 +/* 801210CC 0011E02C D0 01 00 08 */ stfs f0, 8(r1) +/* 801210D0 0011E030 4B F2 E6 61 */ bl "Max__5CMathFRCfRCf" +/* 801210D4 0011E034 C0 23 00 00 */ lfs f1, 0(r3) +/* 801210D8 0011E038 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801210DC 0011E03C D0 3E 08 C4 */ stfs f1, 0x8c4(r30) +/* 801210E0 0011E040 C0 3E 08 C4 */ lfs f1, 0x8c4(r30) +/* 801210E4 0011E044 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 801210E8 0011E048 40 82 01 10 */ bne lbl_801211F8 +/* 801210EC 0011E04C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 801210F0 0011E050 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 801210F4 0011E054 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 801210F8 0011E058 3C 80 80 3E */ lis r4, lbl_803E061C@ha +/* 801210FC 0011E05C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80121100 0011E060 38 04 06 1C */ addi r0, r4, lbl_803E061C@l +/* 80121104 0011E064 38 80 00 18 */ li r4, 0x18 +/* 80121108 0011E068 3B A3 00 04 */ addi r29, r3, 4 +/* 8012110C 0011E06C 90 81 00 18 */ stw r4, 0x18(r1) +/* 80121110 0011E070 7F A3 EB 78 */ mr r3, r29 +/* 80121114 0011E074 38 80 00 18 */ li r4, 0x18 +/* 80121118 0011E078 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012111C 0011E07C 48 01 03 1D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80121120 0011E080 3C 60 80 3E */ lis r3, lbl_803E061C@ha +/* 80121124 0011E084 80 C1 00 18 */ lwz r6, 0x18(r1) +/* 80121128 0011E088 38 03 06 1C */ addi r0, r3, lbl_803E061C@l +/* 8012112C 0011E08C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80121130 0011E090 90 01 00 14 */ stw r0, 0x14(r1) +/* 80121134 0011E094 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80121138 0011E098 7F C4 F3 78 */ mr r4, r30 +/* 8012113C 0011E09C 7F E5 FB 78 */ mr r5, r31 +/* 80121140 0011E0A0 90 DD 02 74 */ stw r6, 0x274(r29) +/* 80121144 0011E0A4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80121148 0011E0A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012114C 0011E0AC 48 00 72 F9 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 80121150 0011E0B0 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80121154 0011E0B4 38 9E 00 34 */ addi r4, r30, 0x34 +/* 80121158 0011E0B8 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 8012115C 0011E0BC 38 61 00 34 */ addi r3, r1, 0x34 +/* 80121160 0011E0C0 C0 61 00 2C */ lfs f3, 0x2c(r1) +/* 80121164 0011E0C4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 80121168 0011E0C8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8012116C 0011E0CC C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80121170 0011E0D0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80121174 0011E0D4 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80121178 0011E0D8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8012117C 0011E0DC D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80121180 0011E0E0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80121184 0011E0E4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80121188 0011E0E8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8012118C 0011E0EC 48 1F 18 99 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 80121190 0011E0F0 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80121194 0011E0F4 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 80121198 0011E0F8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8012119C 0011E0FC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 801211A0 0011E100 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 801211A4 0011E104 D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 801211A8 0011E108 D0 43 00 30 */ stfs f2, 0x30(r3) +/* 801211AC 0011E10C 48 00 00 4C */ b lbl_801211F8 +lbl_801211B0: +/* 801211B0 0011E110 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 801211B4 0011E114 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801211B8 0011E118 41 82 00 40 */ beq lbl_801211F8 +/* 801211BC 0011E11C 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 801211C0 0011E120 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 801211C4 0011E124 40 82 00 34 */ bne lbl_801211F8 +/* 801211C8 0011E128 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801211CC 0011E12C 38 00 00 17 */ li r0, 0x17 +/* 801211D0 0011E130 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 801211D4 0011E134 90 01 00 10 */ stw r0, 0x10(r1) +/* 801211D8 0011E138 38 81 00 0C */ addi r4, r1, 0xc +/* 801211DC 0011E13C 90 61 00 0C */ stw r3, 0xc(r1) +/* 801211E0 0011E140 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 801211E4 0011E144 38 63 00 04 */ addi r3, r3, 4 +/* 801211E8 0011E148 48 01 05 D1 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 801211EC 0011E14C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801211F0 0011E150 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801211F4 0011E154 90 01 00 0C */ stw r0, 0xc(r1) +lbl_801211F8: +/* 801211F8 0011E158 80 01 00 54 */ lwz r0, 0x54(r1) +/* 801211FC 0011E15C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80121200 0011E160 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80121204 0011E164 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80121208 0011E168 7C 08 03 A6 */ mtlr r0 +/* 8012120C 0011E16C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80121210 0011E170 4E 80 00 20 */ blr + +.global UpdateAttacks__12CSpacePirateFfR13CStateManager +UpdateAttacks__12CSpacePirateFfR13CStateManager: +/* 80121214 0011E174 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80121218 0011E178 7C 08 02 A6 */ mflr r0 +/* 8012121C 0011E17C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80121220 0011E180 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80121224 0011E184 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80121228 0011E188 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8012122C 0011E18C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 80121230 0011E190 BF 61 00 7C */ stmw r27, 0x7c(r1) +/* 80121234 0011E194 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80121238 0011E198 FF E0 08 90 */ fmr f31, f1 +/* 8012123C 0011E19C 7C 7D 1B 78 */ mr r29, r3 +/* 80121240 0011E1A0 7C 9E 23 78 */ mr r30, r4 +/* 80121244 0011E1A4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80121248 0011E1A8 3B E0 00 01 */ li r31, 1 +/* 8012124C 0011E1AC 41 82 00 68 */ beq lbl_801212B4 +/* 80121250 0011E1B0 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80121254 0011E1B4 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 80121258 0011E1B8 48 01 2E 21 */ bl GetCurrentState__14CBodyStateInfoCFv +/* 8012125C 0011E1BC 81 83 00 00 */ lwz r12, 0(r3) +/* 80121260 0011E1C0 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 80121264 0011E1C4 7D 89 03 A6 */ mtctr r12 +/* 80121268 0011E1C8 4E 80 04 21 */ bctrl +/* 8012126C 0011E1CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80121270 0011E1D0 41 82 03 D4 */ beq lbl_80121644 +/* 80121274 0011E1D4 88 1D 06 37 */ lbz r0, 0x637(r29) +/* 80121278 0011E1D8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8012127C 0011E1DC 41 82 03 C8 */ beq lbl_80121644 +/* 80121280 0011E1E0 88 7D 06 34 */ lbz r3, 0x634(r29) +/* 80121284 0011E1E4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 80121288 0011E1E8 40 82 03 BC */ bne lbl_80121644 +/* 8012128C 0011E1EC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80121290 0011E1F0 40 82 03 B4 */ bne lbl_80121644 +/* 80121294 0011E1F4 88 1D 06 39 */ lbz r0, 0x639(r29) +/* 80121298 0011E1F8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8012129C 0011E1FC 40 82 03 A8 */ bne lbl_80121644 +/* 801212A0 0011E200 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 801212A4 0011E204 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801212A8 0011E208 C0 23 03 24 */ lfs f1, 0x324(r3) +/* 801212AC 0011E20C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801212B0 0011E210 41 81 03 94 */ bgt lbl_80121644 +lbl_801212B4: +/* 801212B4 0011E214 80 1D 07 C4 */ lwz r0, 0x7c4(r29) +/* 801212B8 0011E218 2C 00 FF FF */ cmpwi r0, -1 +/* 801212BC 0011E21C 41 82 03 88 */ beq lbl_80121644 +/* 801212C0 0011E220 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 801212C4 0011E224 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801212C8 0011E228 41 82 02 C8 */ beq lbl_80121590 +/* 801212CC 0011E22C 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 801212D0 0011E230 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 801212D4 0011E234 41 82 00 68 */ beq lbl_8012133C +/* 801212D8 0011E238 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 801212DC 0011E23C C0 1D 03 C8 */ lfs f0, 0x3c8(r29) +/* 801212E0 0011E240 C0 E3 00 50 */ lfs f7, 0x50(r3) +/* 801212E4 0011E244 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 801212E8 0011E248 EC 00 00 32 */ fmuls f0, f0, f0 +/* 801212EC 0011E24C C0 43 00 40 */ lfs f2, 0x40(r3) +/* 801212F0 0011E250 EC C7 08 28 */ fsubs f6, f7, f1 +/* 801212F4 0011E254 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 801212F8 0011E258 C1 03 00 60 */ lfs f8, 0x60(r3) +/* 801212FC 0011E25C EC 82 08 28 */ fsubs f4, f2, f1 +/* 80121300 0011E260 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80121304 0011E264 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 80121308 0011E268 EC A8 18 28 */ fsubs f5, f8, f3 +/* 8012130C 0011E26C D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80121310 0011E270 EC 44 01 32 */ fmuls f2, f4, f4 +/* 80121314 0011E274 D0 E1 00 64 */ stfs f7, 0x64(r1) +/* 80121318 0011E278 EC 65 01 72 */ fmuls f3, f5, f5 +/* 8012131C 0011E27C EC 22 08 2A */ fadds f1, f2, f1 +/* 80121320 0011E280 D1 01 00 68 */ stfs f8, 0x68(r1) +/* 80121324 0011E284 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 80121328 0011E288 EC 23 08 2A */ fadds f1, f3, f1 +/* 8012132C 0011E28C D0 C1 00 70 */ stfs f6, 0x70(r1) +/* 80121330 0011E290 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80121334 0011E294 D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 80121338 0011E298 40 80 02 58 */ bge lbl_80121590 +lbl_8012133C: +/* 8012133C 0011E29C C0 3D 07 BC */ lfs f1, 0x7bc(r29) +/* 80121340 0011E2A0 3B E0 00 00 */ li r31, 0 +/* 80121344 0011E2A4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80121348 0011E2A8 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 8012134C 0011E2AC D0 3D 07 BC */ stfs f1, 0x7bc(r29) +/* 80121350 0011E2B0 C0 3D 07 BC */ lfs f1, 0x7bc(r29) +/* 80121354 0011E2B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80121358 0011E2B8 40 80 02 38 */ bge lbl_80121590 +/* 8012135C 0011E2BC A0 DD 00 08 */ lhz r6, 8(r29) +/* 80121360 0011E2C0 7F C3 F3 78 */ mr r3, r30 +/* 80121364 0011E2C4 38 81 00 1C */ addi r4, r1, 0x1c +/* 80121368 0011E2C8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8012136C 0011E2CC B0 C1 00 18 */ sth r6, 0x18(r1) +/* 80121370 0011E2D0 A0 1D 08 C8 */ lhz r0, 0x8c8(r29) +/* 80121374 0011E2D4 B0 C1 00 14 */ sth r6, 0x14(r1) +/* 80121378 0011E2D8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8012137C 0011E2DC 48 11 8E 05 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId +/* 80121380 0011E2E0 28 03 00 00 */ cmplwi r3, 0 +/* 80121384 0011E2E4 41 82 00 10 */ beq lbl_80121394 +/* 80121388 0011E2E8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8012138C 0011E2EC 2C 00 00 02 */ cmpwi r0, 2 +/* 80121390 0011E2F0 40 82 02 00 */ bne lbl_80121590 +lbl_80121394: +/* 80121394 0011E2F4 A0 7D 08 C8 */ lhz r3, 0x8c8(r29) +/* 80121398 0011E2F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8012139C 0011E2FC 7C 03 00 40 */ cmplw r3, r0 +/* 801213A0 0011E300 41 82 00 34 */ beq lbl_801213D4 +/* 801213A4 0011E304 A0 FD 00 08 */ lhz r7, 8(r29) +/* 801213A8 0011E308 7F C4 F3 78 */ mr r4, r30 +/* 801213AC 0011E30C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 801213B0 0011E310 38 C1 00 0C */ addi r6, r1, 0xc +/* 801213B4 0011E314 B0 E1 00 0C */ sth r7, 0xc(r1) +/* 801213B8 0011E318 38 60 00 01 */ li r3, 1 +/* 801213BC 0011E31C A0 1D 08 C8 */ lhz r0, 0x8c8(r29) +/* 801213C0 0011E320 B0 E1 00 08 */ sth r7, 8(r1) +/* 801213C4 0011E324 B0 01 00 10 */ sth r0, 0x10(r1) +/* 801213C8 0011E328 48 11 8C 29 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId +/* 801213CC 0011E32C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801213D0 0011E330 41 82 01 C0 */ beq lbl_80121590 +lbl_801213D4: +/* 801213D4 0011E334 7F A3 EB 78 */ mr r3, r29 +/* 801213D8 0011E338 7F C4 F3 78 */ mr r4, r30 +/* 801213DC 0011E33C 48 00 05 3D */ bl ShouldFrenzy__12CSpacePirateFR13CStateManager +/* 801213E0 0011E340 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801213E4 0011E344 41 82 00 0C */ beq lbl_801213F0 +/* 801213E8 0011E348 38 00 00 02 */ li r0, 2 +/* 801213EC 0011E34C 90 1D 07 C4 */ stw r0, 0x7c4(r29) +lbl_801213F0: +/* 801213F0 0011E350 88 1D 06 35 */ lbz r0, 0x635(r29) +/* 801213F4 0011E354 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 801213F8 0011E358 41 82 00 0C */ beq lbl_80121404 +/* 801213FC 0011E35C 38 00 00 05 */ li r0, 5 +/* 80121400 0011E360 90 1D 07 C4 */ stw r0, 0x7c4(r29) +lbl_80121404: +/* 80121404 0011E364 7F A3 EB 78 */ mr r3, r29 +/* 80121408 0011E368 7F C4 F3 78 */ mr r4, r30 +/* 8012140C 0011E36C 81 9D 00 00 */ lwz r12, 0(r29) +/* 80121410 0011E370 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80121414 0011E374 81 8C 01 B0 */ lwz r12, 0x1b0(r12) +/* 80121418 0011E378 7D 89 03 A6 */ mtctr r12 +/* 8012141C 0011E37C 4E 80 04 21 */ bctrl +/* 80121420 0011E380 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80121424 0011E384 40 82 00 18 */ bne lbl_8012143C +/* 80121428 0011E388 80 7D 07 C4 */ lwz r3, 0x7c4(r29) +/* 8012142C 0011E38C 2C 03 00 06 */ cmpwi r3, 6 +/* 80121430 0011E390 40 80 00 0C */ bge lbl_8012143C +/* 80121434 0011E394 38 03 00 06 */ addi r0, r3, 6 +/* 80121438 0011E398 90 1D 07 C4 */ stw r0, 0x7c4(r29) +lbl_8012143C: +/* 8012143C 0011E39C 7F C4 F3 78 */ mr r4, r30 +/* 80121440 0011E3A0 38 7D 07 C4 */ addi r3, r29, 0x7c4 +/* 80121444 0011E3A4 48 08 BF E1 */ bl Start__10CBurstFireFR13CStateManager +/* 80121448 0011E3A8 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8012144C 0011E3AC 48 1F 10 91 */ bl Float__9CRandom16Fv +/* 80121450 0011E3B0 C0 5D 03 08 */ lfs f2, 0x308(r29) +/* 80121454 0011E3B4 7F C5 F3 78 */ mr r5, r30 +/* 80121458 0011E3B8 C0 1D 03 04 */ lfs f0, 0x304(r29) +/* 8012145C 0011E3BC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80121460 0011E3C0 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80121464 0011E3C4 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80121468 0011E3C8 D0 1D 07 BC */ stfs f0, 0x7bc(r29) +/* 8012146C 0011E3CC 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 80121470 0011E3D0 81 84 00 00 */ lwz r12, 0(r4) +/* 80121474 0011E3D4 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80121478 0011E3D8 7D 89 03 A6 */ mtctr r12 +/* 8012147C 0011E3DC 4E 80 04 21 */ bctrl +/* 80121480 0011E3E0 7F A4 EB 78 */ mr r4, r29 +/* 80121484 0011E3E4 38 61 00 3C */ addi r3, r1, 0x3c +/* 80121488 0011E3E8 4B F5 B6 49 */ bl GetGunEyePos__10CPatternedCFv +/* 8012148C 0011E3EC C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 80121490 0011E3F0 38 61 00 54 */ addi r3, r1, 0x54 +/* 80121494 0011E3F4 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 80121498 0011E3F8 38 81 00 48 */ addi r4, r1, 0x48 +/* 8012149C 0011E3FC C0 61 00 40 */ lfs f3, 0x40(r1) +/* 801214A0 0011E400 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 801214A4 0011E404 EC 81 00 28 */ fsubs f4, f1, f0 +/* 801214A8 0011E408 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 801214AC 0011E40C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 801214B0 0011E410 EC 43 10 28 */ fsubs f2, f3, f2 +/* 801214B4 0011E414 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 801214B8 0011E418 EC 01 00 28 */ fsubs f0, f1, f0 +/* 801214BC 0011E41C D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 801214C0 0011E420 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 801214C4 0011E424 48 1F 33 8D */ bl AsNormalized__9CVector3fCFv +/* 801214C8 0011E428 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 801214CC 0011E42C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 801214D0 0011E430 C0 83 00 48 */ lfs f4, 0x48(r3) +/* 801214D4 0011E434 C0 63 00 38 */ lfs f3, 0x38(r3) +/* 801214D8 0011E438 EC 00 01 32 */ fmuls f0, f0, f4 +/* 801214DC 0011E43C C0 21 00 54 */ lfs f1, 0x54(r1) +/* 801214E0 0011E440 C0 A3 00 58 */ lfs f5, 0x58(r3) +/* 801214E4 0011E444 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 801214E8 0011E448 EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 801214EC 0011E44C C0 02 97 C8 */ lfs f0, lbl_805AB4E8@sda21(r2) +/* 801214F0 0011E450 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 801214F4 0011E454 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 801214F8 0011E458 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 801214FC 0011E45C D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 80121500 0011E460 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80121504 0011E464 40 80 00 8C */ bge lbl_80121590 +/* 80121508 0011E468 83 9E 08 38 */ lwz r28, 0x838(r30) +/* 8012150C 0011E46C AB 7C 20 08 */ lha r27, 0x2008(r28) +/* 80121510 0011E470 48 00 00 78 */ b lbl_80121588 +lbl_80121514: +/* 80121514 0011E474 7F 83 E3 78 */ mr r3, r28 +/* 80121518 0011E478 7F 64 DB 78 */ mr r4, r27 +/* 8012151C 0011E47C 4B EE E7 C1 */ bl __vc__11CObjectListCFi +/* 80121520 0011E480 7C 64 1B 78 */ mr r4, r3 +/* 80121524 0011E484 38 61 00 20 */ addi r3, r1, 0x20 +/* 80121528 0011E488 4B F8 3E A9 */ bl sub_800a53d0 +/* 8012152C 0011E48C 4B F8 3E 79 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" +/* 80121530 0011E490 28 03 00 00 */ cmplwi r3, 0 +/* 80121534 0011E494 41 82 00 38 */ beq lbl_8012156C +/* 80121538 0011E498 7C 03 E8 40 */ cmplw r3, r29 +/* 8012153C 0011E49C 41 82 00 30 */ beq lbl_8012156C +/* 80121540 0011E4A0 88 03 06 37 */ lbz r0, 0x637(r3) +/* 80121544 0011E4A4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80121548 0011E4A8 41 82 00 24 */ beq lbl_8012156C +/* 8012154C 0011E4AC 80 63 00 04 */ lwz r3, 4(r3) +/* 80121550 0011E4B0 80 1D 00 04 */ lwz r0, 4(r29) +/* 80121554 0011E4B4 7C 03 00 00 */ cmpw r3, r0 +/* 80121558 0011E4B8 40 82 00 14 */ bne lbl_8012156C +/* 8012155C 0011E4BC C0 3D 07 BC */ lfs f1, 0x7bc(r29) +/* 80121560 0011E4C0 C0 02 97 CC */ lfs f0, lbl_805AB4EC@sda21(r2) +/* 80121564 0011E4C4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80121568 0011E4C8 D0 1D 07 BC */ stfs f0, 0x7bc(r29) +lbl_8012156C: +/* 8012156C 0011E4CC 2C 1B FF FF */ cmpwi r27, -1 +/* 80121570 0011E4D0 41 82 00 14 */ beq lbl_80121584 +/* 80121574 0011E4D4 57 63 18 38 */ slwi r3, r27, 3 +/* 80121578 0011E4D8 38 03 00 08 */ addi r0, r3, 8 +/* 8012157C 0011E4DC 7F 7C 02 AE */ lhax r27, r28, r0 +/* 80121580 0011E4E0 48 00 00 08 */ b lbl_80121588 +lbl_80121584: +/* 80121584 0011E4E4 3B 60 FF FF */ li r27, -1 +lbl_80121588: +/* 80121588 0011E4E8 2C 1B FF FF */ cmpwi r27, -1 +/* 8012158C 0011E4EC 40 82 FF 88 */ bne lbl_80121514 +lbl_80121590: +/* 80121590 0011E4F0 FC 20 F8 90 */ fmr f1, f31 +/* 80121594 0011E4F4 7F C4 F3 78 */ mr r4, r30 +/* 80121598 0011E4F8 38 7D 07 C4 */ addi r3, r29, 0x7c4 +/* 8012159C 0011E4FC 48 08 BD B9 */ bl Update__10CBurstFireFR13CStateManagerf +/* 801215A0 0011E500 88 1D 07 D8 */ lbz r0, 0x7d8(r29) +/* 801215A4 0011E504 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801215A8 0011E508 41 82 00 8C */ beq lbl_80121634 +/* 801215AC 0011E50C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 801215B0 0011E510 88 03 03 7C */ lbz r0, 0x37c(r3) +/* 801215B4 0011E514 28 00 00 00 */ cmplwi r0, 0 +/* 801215B8 0011E518 41 82 00 28 */ beq lbl_801215E0 +/* 801215BC 0011E51C 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 801215C0 0011E520 48 1F 0F 1D */ bl Float__9CRandom16Fv +/* 801215C4 0011E524 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 801215C8 0011E528 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801215CC 0011E52C 40 80 00 14 */ bge lbl_801215E0 +/* 801215D0 0011E530 88 1D 07 D8 */ lbz r0, 0x7d8(r29) +/* 801215D4 0011E534 38 60 00 01 */ li r3, 1 +/* 801215D8 0011E538 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 801215DC 0011E53C 98 1D 07 D8 */ stb r0, 0x7d8(r29) +lbl_801215E0: +/* 801215E0 0011E540 FC 20 F8 90 */ fmr f1, f31 +/* 801215E4 0011E544 7F A3 EB 78 */ mr r3, r29 +/* 801215E8 0011E548 7F C4 F3 78 */ mr r4, r30 +/* 801215EC 0011E54C 48 00 0A E1 */ bl FireProjectile__12CSpacePirateFfR13CStateManager +/* 801215F0 0011E550 88 1D 07 D8 */ lbz r0, 0x7d8(r29) +/* 801215F4 0011E554 38 60 00 00 */ li r3, 0 +/* 801215F8 0011E558 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 801215FC 0011E55C 98 1D 07 D8 */ stb r0, 0x7d8(r29) +/* 80121600 0011E560 C3 FD 06 08 */ lfs f31, 0x608(r29) +/* 80121604 0011E564 C3 DD 06 04 */ lfs f30, 0x604(r29) +/* 80121608 0011E568 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8012160C 0011E56C 48 1F 0E D1 */ bl Float__9CRandom16Fv +/* 80121610 0011E570 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80121614 0011E574 C0 5D 07 CC */ lfs f2, 0x7cc(r29) +/* 80121618 0011E578 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8012161C 0011E57C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80121620 0011E580 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80121624 0011E584 EC 1F F0 7A */ fmadds f0, f31, f1, f30 +/* 80121628 0011E588 40 81 00 1C */ ble lbl_80121644 +/* 8012162C 0011E58C D0 1D 07 CC */ stfs f0, 0x7cc(r29) +/* 80121630 0011E590 48 00 00 14 */ b lbl_80121644 +lbl_80121634: +/* 80121634 0011E594 80 1D 07 DC */ lwz r0, 0x7dc(r29) +/* 80121638 0011E598 28 00 00 00 */ cmplwi r0, 0 +/* 8012163C 0011E59C 40 82 00 08 */ bne lbl_80121644 +/* 80121640 0011E5A0 3B E0 00 01 */ li r31, 1 +lbl_80121644: +/* 80121644 0011E5A4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80121648 0011E5A8 41 82 00 10 */ beq lbl_80121658 +/* 8012164C 0011E5AC 7F A3 EB 78 */ mr r3, r29 +/* 80121650 0011E5B0 7F C4 F3 78 */ mr r4, r30 +/* 80121654 0011E5B4 48 00 7F E5 */ bl SquadReset__12CSpacePirateFR13CStateManager +lbl_80121658: +/* 80121658 0011E5B8 7F A3 EB 78 */ mr r3, r29 +/* 8012165C 0011E5BC 7F C4 F3 78 */ mr r4, r30 +/* 80121660 0011E5C0 48 00 83 7D */ bl CheckTargetable__12CSpacePirateFR13CStateManager +/* 80121664 0011E5C4 88 1D 00 E7 */ lbz r0, 0xe7(r29) +/* 80121668 0011E5C8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8012166C 0011E5CC 98 1D 00 E7 */ stb r0, 0xe7(r29) +/* 80121670 0011E5D0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80121674 0011E5D4 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80121678 0011E5D8 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8012167C 0011E5DC CB C1 00 90 */ lfd f30, 0x90(r1) +/* 80121680 0011E5E0 BB 61 00 7C */ lmw r27, 0x7c(r1) +/* 80121684 0011E5E4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80121688 0011E5E8 7C 08 03 A6 */ mtlr r0 +/* 8012168C 0011E5EC 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80121690 0011E5F0 4E 80 00 20 */ blr + +.global CanShoot__10CBodyStateCFv +CanShoot__10CBodyStateCFv: +/* 80121694 0011E5F4 38 60 00 00 */ li r3, 0 +/* 80121698 0011E5F8 4E 80 00 20 */ blr + +.global UpdateCloak__12CSpacePirateFfRC13CStateManager +UpdateCloak__12CSpacePirateFfRC13CStateManager: +/* 8012169C 0011E5FC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 801216A0 0011E600 7C 08 02 A6 */ mflr r0 +/* 801216A4 0011E604 90 01 00 54 */ stw r0, 0x54(r1) +/* 801216A8 0011E608 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 801216AC 0011E60C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 801216B0 0011E610 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 801216B4 0011E614 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 801216B8 0011E618 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 801216BC 0011E61C F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 801216C0 0011E620 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801216C4 0011E624 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801216C8 0011E628 88 03 06 35 */ lbz r0, 0x635(r3) +/* 801216CC 0011E62C FF A0 08 90 */ fmr f29, f1 +/* 801216D0 0011E630 7C 7E 1B 78 */ mr r30, r3 +/* 801216D4 0011E634 7C 9F 23 78 */ mr r31, r4 +/* 801216D8 0011E638 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 801216DC 0011E63C 41 82 02 0C */ beq lbl_801218E8 +/* 801216E0 0011E640 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 801216E4 0011E644 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801216E8 0011E648 41 82 00 38 */ beq lbl_80121720 +/* 801216EC 0011E64C C0 1E 08 A8 */ lfs f0, 0x8a8(r30) +/* 801216F0 0011E650 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 801216F4 0011E654 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801216F8 0011E658 40 81 00 38 */ ble lbl_80121730 +/* 801216FC 0011E65C EC 00 E8 28 */ fsubs f0, f0, f29 +/* 80121700 0011E660 D0 1E 08 A8 */ stfs f0, 0x8a8(r30) +/* 80121704 0011E664 C0 1E 08 A8 */ lfs f0, 0x8a8(r30) +/* 80121708 0011E668 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8012170C 0011E66C 4C 40 13 82 */ cror 2, 0, 2 +/* 80121710 0011E670 40 82 00 20 */ bne lbl_80121730 +/* 80121714 0011E674 C0 02 97 D4 */ lfs f0, lbl_805AB4F4@sda21(r2) +/* 80121718 0011E678 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) +/* 8012171C 0011E67C 48 00 00 14 */ b lbl_80121730 +lbl_80121720: +/* 80121720 0011E680 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80121724 0011E684 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80121728 0011E688 D0 3E 08 B8 */ stfs f1, 0x8b8(r30) +/* 8012172C 0011E68C D0 1E 08 BC */ stfs f0, 0x8bc(r30) +lbl_80121730: +/* 80121730 0011E690 C0 1E 08 AC */ lfs f0, 0x8ac(r30) +/* 80121734 0011E694 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80121738 0011E698 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8012173C 0011E69C 40 81 00 38 */ ble lbl_80121774 +/* 80121740 0011E6A0 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 80121744 0011E6A4 D0 1E 08 AC */ stfs f0, 0x8ac(r30) +/* 80121748 0011E6A8 C0 1E 08 AC */ lfs f0, 0x8ac(r30) +/* 8012174C 0011E6AC FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80121750 0011E6B0 4C 40 13 82 */ cror 2, 0, 2 +/* 80121754 0011E6B4 40 82 00 20 */ bne lbl_80121774 +/* 80121758 0011E6B8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8012175C 0011E6BC C0 03 03 24 */ lfs f0, 0x324(r3) +/* 80121760 0011E6C0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80121764 0011E6C4 41 81 00 10 */ bgt lbl_80121774 +/* 80121768 0011E6C8 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 8012176C 0011E6CC 7F C4 F3 78 */ mr r4, r30 +/* 80121770 0011E6D0 48 0C 39 E1 */ bl StopElectric__20CActorModelParticlesFR5CActor +lbl_80121774: +/* 80121774 0011E6D4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80121778 0011E6D8 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8012177C 0011E6DC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80121780 0011E6E0 41 82 00 0C */ beq lbl_8012178C +/* 80121784 0011E6E4 C0 02 97 DC */ lfs f0, lbl_805AB4FC@sda21(r2) +/* 80121788 0011E6E8 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) +lbl_8012178C: +/* 8012178C 0011E6EC C0 1E 03 E8 */ lfs f0, 0x3e8(r30) +/* 80121790 0011E6F0 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80121794 0011E6F4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80121798 0011E6F8 40 80 00 44 */ bge lbl_801217DC +/* 8012179C 0011E6FC E0 5E A4 2F */ psq_l f2, 1071(r30), 1, qr2 +/* 801217A0 0011E700 C0 02 97 E0 */ lfs f0, lbl_805AB500@sda21(r2) +/* 801217A4 0011E704 C0 7E 08 B8 */ lfs f3, 0x8b8(r30) +/* 801217A8 0011E708 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 801217AC 0011E70C FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 801217B0 0011E710 40 80 00 2C */ bge lbl_801217DC +/* 801217B4 0011E714 C0 02 97 E4 */ lfs f0, lbl_805AB504@sda21(r2) +/* 801217B8 0011E718 EF E0 00 F2 */ fmuls f31, f0, f3 +/* 801217BC 0011E71C F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 +/* 801217C0 0011E720 7F C3 F3 78 */ mr r3, r30 +/* 801217C4 0011E724 7F E5 FB 78 */ mr r5, r31 +/* 801217C8 0011E728 38 80 00 28 */ li r4, 0x28 +/* 801217CC 0011E72C 88 01 00 09 */ lbz r0, 9(r1) +/* 801217D0 0011E730 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 801217D4 0011E734 D0 3E 03 E8 */ stfs f1, 0x3e8(r30) +/* 801217D8 0011E738 4B F3 27 A9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_801217DC: +/* 801217DC 0011E73C C0 3E 03 E8 */ lfs f1, 0x3e8(r30) +/* 801217E0 0011E740 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801217E4 0011E744 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801217E8 0011E748 40 81 00 40 */ ble lbl_80121828 +/* 801217EC 0011E74C E0 3E A4 2F */ psq_l f1, 1071(r30), 1, qr2 +/* 801217F0 0011E750 C0 02 97 E0 */ lfs f0, lbl_805AB500@sda21(r2) +/* 801217F4 0011E754 C0 5E 08 BC */ lfs f2, 0x8bc(r30) +/* 801217F8 0011E758 EC 00 00 72 */ fmuls f0, f0, f1 +/* 801217FC 0011E75C FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80121800 0011E760 40 81 00 28 */ ble lbl_80121828 +/* 80121804 0011E764 C0 02 97 E4 */ lfs f0, lbl_805AB504@sda21(r2) +/* 80121808 0011E768 EF C0 00 B2 */ fmuls f30, f0, f2 +/* 8012180C 0011E76C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 80121810 0011E770 7F C3 F3 78 */ mr r3, r30 +/* 80121814 0011E774 7F E5 FB 78 */ mr r5, r31 +/* 80121818 0011E778 38 80 00 28 */ li r4, 0x28 +/* 8012181C 0011E77C 88 01 00 08 */ lbz r0, 8(r1) +/* 80121820 0011E780 98 1E 04 2F */ stb r0, 0x42f(r30) +/* 80121824 0011E784 4B F3 2B 2D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_80121828: +/* 80121828 0011E788 C0 3E 08 B0 */ lfs f1, 0x8b0(r30) +/* 8012182C 0011E78C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80121830 0011E790 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80121834 0011E794 D0 3E 08 B0 */ stfs f1, 0x8b0(r30) +/* 80121838 0011E798 C0 3E 08 B0 */ lfs f1, 0x8b0(r30) +/* 8012183C 0011E79C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80121840 0011E7A0 40 80 00 A8 */ bge lbl_801218E8 +/* 80121844 0011E7A4 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80121848 0011E7A8 48 1F 0C 95 */ bl Float__9CRandom16Fv +/* 8012184C 0011E7AC C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80121850 0011E7B0 C0 62 97 E8 */ lfs f3, lbl_805AB508@sda21(r2) +/* 80121854 0011E7B4 EC 40 08 28 */ fsubs f2, f0, f1 +/* 80121858 0011E7B8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012185C 0011E7BC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 80121860 0011E7C0 D0 5E 08 B0 */ stfs f2, 0x8b0(r30) +/* 80121864 0011E7C4 C0 5E 03 E8 */ lfs f2, 0x3e8(r30) +/* 80121868 0011E7C8 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8012186C 0011E7CC 40 80 00 40 */ bge lbl_801218AC +/* 80121870 0011E7D0 E0 1E A4 2F */ psq_l f0, 1071(r30), 1, qr2 +/* 80121874 0011E7D4 C0 62 97 E0 */ lfs f3, lbl_805AB500@sda21(r2) +/* 80121878 0011E7D8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8012187C 0011E7DC D0 1E 08 B4 */ stfs f0, 0x8b4(r30) +/* 80121880 0011E7E0 88 1E 04 00 */ lbz r0, 0x400(r30) +/* 80121884 0011E7E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80121888 0011E7E8 41 82 00 60 */ beq lbl_801218E8 +/* 8012188C 0011E7EC E0 1E A4 2F */ psq_l f0, 1071(r30), 1, qr2 +/* 80121890 0011E7F0 C0 5E 08 B8 */ lfs f2, 0x8b8(r30) +/* 80121894 0011E7F4 EC 63 00 32 */ fmuls f3, f3, f0 +/* 80121898 0011E7F8 C0 1E 08 B4 */ lfs f0, 0x8b4(r30) +/* 8012189C 0011E7FC EC 43 10 28 */ fsubs f2, f3, f2 +/* 801218A0 0011E800 EC 01 00 BC */ fnmsubs f0, f1, f2, f0 +/* 801218A4 0011E804 D0 1E 08 B4 */ stfs f0, 0x8b4(r30) +/* 801218A8 0011E808 48 00 00 40 */ b lbl_801218E8 +lbl_801218AC: +/* 801218AC 0011E80C 40 81 00 2C */ ble lbl_801218D8 +/* 801218B0 0011E810 E0 9E A4 2F */ psq_l f4, 1071(r30), 1, qr2 +/* 801218B4 0011E814 E0 5E A4 2F */ psq_l f2, 1071(r30), 1, qr2 +/* 801218B8 0011E818 C0 02 97 E0 */ lfs f0, lbl_805AB500@sda21(r2) +/* 801218BC 0011E81C C0 7E 08 BC */ lfs f3, 0x8bc(r30) +/* 801218C0 0011E820 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 801218C4 0011E824 EC 00 01 32 */ fmuls f0, f0, f4 +/* 801218C8 0011E828 EC 43 10 28 */ fsubs f2, f3, f2 +/* 801218CC 0011E82C EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 801218D0 0011E830 D0 1E 08 B4 */ stfs f0, 0x8b4(r30) +/* 801218D4 0011E834 48 00 00 14 */ b lbl_801218E8 +lbl_801218D8: +/* 801218D8 0011E838 E0 3E A4 2F */ psq_l f1, 1071(r30), 1, qr2 +/* 801218DC 0011E83C C0 02 97 E0 */ lfs f0, lbl_805AB500@sda21(r2) +/* 801218E0 0011E840 EC 00 00 72 */ fmuls f0, f0, f1 +/* 801218E4 0011E844 D0 1E 08 B4 */ stfs f0, 0x8b4(r30) +lbl_801218E8: +/* 801218E8 0011E848 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 801218EC 0011E84C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 801218F0 0011E850 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 801218F4 0011E854 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 801218F8 0011E858 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 801218FC 0011E85C CB A1 00 20 */ lfd f29, 0x20(r1) +/* 80121900 0011E860 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80121904 0011E864 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80121908 0011E868 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8012190C 0011E86C 7C 08 03 A6 */ mtlr r0 +/* 80121910 0011E870 38 21 00 50 */ addi r1, r1, 0x50 +/* 80121914 0011E874 4E 80 00 20 */ blr + +.global ShouldFrenzy__12CSpacePirateFR13CStateManager +ShouldFrenzy__12CSpacePirateFR13CStateManager: +/* 80121918 0011E878 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8012191C 0011E87C 7C 08 02 A6 */ mflr r0 +/* 80121920 0011E880 90 01 00 24 */ stw r0, 0x24(r1) +/* 80121924 0011E884 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80121928 0011E888 3B E0 00 00 */ li r31, 0 +/* 8012192C 0011E88C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80121930 0011E890 7C 9E 23 78 */ mr r30, r4 +/* 80121934 0011E894 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80121938 0011E898 7C 7D 1B 78 */ mr r29, r3 +/* 8012193C 0011E89C 88 63 06 38 */ lbz r3, 0x638(r3) +/* 80121940 0011E8A0 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80121944 0011E8A4 41 82 00 44 */ beq lbl_80121988 +/* 80121948 0011E8A8 38 00 00 00 */ li r0, 0 +/* 8012194C 0011E8AC 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 80121950 0011E8B0 98 7D 06 38 */ stb r3, 0x638(r29) +/* 80121954 0011E8B4 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80121958 0011E8B8 48 1F 0B C9 */ bl Next__9CRandom16Fv +/* 8012195C 0011E8BC 3C 80 51 EC */ lis r4, 0x51EB851F@ha +/* 80121960 0011E8C0 38 04 85 1F */ addi r0, r4, 0x51EB851F@l +/* 80121964 0011E8C4 7C 00 18 96 */ mulhw r0, r0, r3 +/* 80121968 0011E8C8 7C 00 2E 70 */ srawi r0, r0, 5 +/* 8012196C 0011E8CC 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80121970 0011E8D0 7C 00 22 14 */ add r0, r0, r4 +/* 80121974 0011E8D4 1C 00 00 64 */ mulli r0, r0, 0x64 +/* 80121978 0011E8D8 7C 00 18 50 */ subf r0, r0, r3 +/* 8012197C 0011E8DC 2C 00 00 19 */ cmpwi r0, 0x19 +/* 80121980 0011E8E0 40 80 00 08 */ bge lbl_80121988 +/* 80121984 0011E8E4 3B E0 00 01 */ li r31, 1 +lbl_80121988: +/* 80121988 0011E8E8 3C 60 80 57 */ lis r3, lbl_8056F85C@ha +/* 8012198C 0011E8EC 38 63 F8 5C */ addi r3, r3, lbl_8056F85C@l +/* 80121990 0011E8F0 80 03 00 14 */ lwz r0, 0x14(r3) +/* 80121994 0011E8F4 2C 00 00 00 */ cmpwi r0, 0 +/* 80121998 0011E8F8 41 82 00 08 */ beq lbl_801219A0 +/* 8012199C 0011E8FC 3B E0 00 01 */ li r31, 1 +lbl_801219A0: +/* 801219A0 0011E900 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 801219A4 0011E904 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 801219A8 0011E908 2C 00 00 01 */ cmpwi r0, 1 +/* 801219AC 0011E90C 40 82 00 08 */ bne lbl_801219B4 +/* 801219B0 0011E910 3B E0 00 01 */ li r31, 1 +lbl_801219B4: +/* 801219B4 0011E914 7F A3 EB 78 */ mr r3, r29 +/* 801219B8 0011E918 7F C4 F3 78 */ mr r4, r30 +/* 801219BC 0011E91C 81 9D 00 00 */ lwz r12, 0(r29) +/* 801219C0 0011E920 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 801219C4 0011E924 7D 89 03 A6 */ mtctr r12 +/* 801219C8 0011E928 4E 80 04 21 */ bctrl +/* 801219CC 0011E92C C0 22 97 EC */ lfs f1, lbl_805AB50C@sda21(r2) +/* 801219D0 0011E930 C0 1D 07 50 */ lfs f0, 0x750(r29) +/* 801219D4 0011E934 C0 43 00 00 */ lfs f2, 0(r3) +/* 801219D8 0011E938 EC 01 00 32 */ fmuls f0, f1, f0 +/* 801219DC 0011E93C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801219E0 0011E940 40 80 00 48 */ bge lbl_80121A28 +/* 801219E4 0011E944 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 801219E8 0011E948 48 1F 0B 39 */ bl Next__9CRandom16Fv +/* 801219EC 0011E94C 3C 80 51 EC */ lis r4, 0x51EB851F@ha +/* 801219F0 0011E950 38 04 85 1F */ addi r0, r4, 0x51EB851F@l +/* 801219F4 0011E954 7C 00 18 96 */ mulhw r0, r0, r3 +/* 801219F8 0011E958 7C 00 2E 70 */ srawi r0, r0, 5 +/* 801219FC 0011E95C 54 04 0F FE */ srwi r4, r0, 0x1f +/* 80121A00 0011E960 7C 00 22 14 */ add r0, r0, r4 +/* 80121A04 0011E964 1C 00 00 64 */ mulli r0, r0, 0x64 +/* 80121A08 0011E968 7C 00 18 50 */ subf r0, r0, r3 +/* 80121A0C 0011E96C 2C 00 00 3C */ cmpwi r0, 0x3c +/* 80121A10 0011E970 40 80 00 18 */ bge lbl_80121A28 +/* 80121A14 0011E974 C0 3D 08 54 */ lfs f1, 0x854(r29) +/* 80121A18 0011E978 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80121A1C 0011E97C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80121A20 0011E980 40 80 00 08 */ bge lbl_80121A28 +/* 80121A24 0011E984 3B E0 00 01 */ li r31, 1 +lbl_80121A28: +/* 80121A28 0011E988 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80121A2C 0011E98C 41 82 00 18 */ beq lbl_80121A44 +/* 80121A30 0011E990 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80121A34 0011E994 38 80 00 02 */ li r4, 2 +/* 80121A38 0011E998 38 A0 00 04 */ li r5, 4 +/* 80121A3C 0011E99C 48 1F 0B 59 */ bl Range__9CRandom16Fii +/* 80121A40 0011E9A0 90 7D 06 3C */ stw r3, 0x63c(r29) +lbl_80121A44: +/* 80121A44 0011E9A4 80 7D 06 3C */ lwz r3, 0x63c(r29) +/* 80121A48 0011E9A8 38 63 FF FF */ addi r3, r3, -1 +/* 80121A4C 0011E9AC 54 60 0F FE */ srwi r0, r3, 0x1f +/* 80121A50 0011E9B0 90 7D 06 3C */ stw r3, 0x63c(r29) +/* 80121A54 0011E9B4 68 03 00 01 */ xori r3, r0, 1 +/* 80121A58 0011E9B8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80121A5C 0011E9BC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80121A60 0011E9C0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80121A64 0011E9C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80121A68 0011E9C8 7C 08 03 A6 */ mtlr r0 +/* 80121A6C 0011E9CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80121A70 0011E9D0 4E 80 00 20 */ blr + +.global GetSortingBounds__12CSpacePirateCFRC12CTransform4f +GetSortingBounds__12CSpacePirateCFRC12CTransform4f: +/* 80121A74 0011E9D4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80121A78 0011E9D8 7C 08 02 A6 */ mflr r0 +/* 80121A7C 0011E9DC 7C 85 23 78 */ mr r5, r4 +/* 80121A80 0011E9E0 90 01 00 74 */ stw r0, 0x74(r1) +/* 80121A84 0011E9E4 38 A5 00 34 */ addi r5, r5, 0x34 +/* 80121A88 0011E9E8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80121A8C 0011E9EC 7C 7F 1B 78 */ mr r31, r3 +/* 80121A90 0011E9F0 38 61 00 2C */ addi r3, r1, 0x2c +/* 80121A94 0011E9F4 80 84 00 64 */ lwz r4, 0x64(r4) +/* 80121A98 0011E9F8 4B FF 3D 1D */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 80121A9C 0011E9FC C0 A1 00 2C */ lfs f5, 0x2c(r1) +/* 80121AA0 0011EA00 38 61 00 20 */ addi r3, r1, 0x20 +/* 80121AA4 0011EA04 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 80121AA8 0011EA08 38 81 00 44 */ addi r4, r1, 0x44 +/* 80121AAC 0011EA0C C0 61 00 34 */ lfs f3, 0x34(r1) +/* 80121AB0 0011EA10 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 80121AB4 0011EA14 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 80121AB8 0011EA18 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80121ABC 0011EA1C D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 80121AC0 0011EA20 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80121AC4 0011EA24 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80121AC8 0011EA28 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80121ACC 0011EA2C D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80121AD0 0011EA30 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80121AD4 0011EA34 48 21 5B 39 */ bl GetCenterPoint__6CAABoxCFv +/* 80121AD8 0011EA38 C0 61 00 50 */ lfs f3, 0x50(r1) +/* 80121ADC 0011EA3C 7F E3 FB 78 */ mr r3, r31 +/* 80121AE0 0011EA40 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80121AE4 0011EA44 38 81 00 14 */ addi r4, r1, 0x14 +/* 80121AE8 0011EA48 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 80121AEC 0011EA4C 38 A1 00 08 */ addi r5, r1, 8 +/* 80121AF0 0011EA50 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80121AF4 0011EA54 EC 63 10 28 */ fsubs f3, f3, f2 +/* 80121AF8 0011EA58 C0 82 97 F0 */ lfs f4, lbl_805AB510@sda21(r2) +/* 80121AFC 0011EA5C EC 41 00 28 */ fsubs f2, f1, f0 +/* 80121B00 0011EA60 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 80121B04 0011EA64 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80121B08 0011EA68 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80121B0C 0011EA6C C1 01 00 20 */ lfs f8, 0x20(r1) +/* 80121B10 0011EA70 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80121B14 0011EA74 EC 28 18 2A */ fadds f1, f8, f3 +/* 80121B18 0011EA78 C0 C1 00 24 */ lfs f6, 0x24(r1) +/* 80121B1C 0011EA7C EC A4 00 B2 */ fmuls f5, f4, f2 +/* 80121B20 0011EA80 C0 E1 00 28 */ lfs f7, 0x28(r1) +/* 80121B24 0011EA84 EC 84 00 32 */ fmuls f4, f4, f0 +/* 80121B28 0011EA88 EC 08 18 28 */ fsubs f0, f8, f3 +/* 80121B2C 0011EA8C EC 66 28 2A */ fadds f3, f6, f5 +/* 80121B30 0011EA90 D0 21 00 08 */ stfs f1, 8(r1) +/* 80121B34 0011EA94 EC 47 20 2A */ fadds f2, f7, f4 +/* 80121B38 0011EA98 EC 26 28 28 */ fsubs f1, f6, f5 +/* 80121B3C 0011EA9C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80121B40 0011EAA0 EC 07 20 28 */ fsubs f0, f7, f4 +/* 80121B44 0011EAA4 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 80121B48 0011EAA8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80121B4C 0011EAAC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80121B50 0011EAB0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80121B54 0011EAB4 48 21 69 B5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80121B58 0011EAB8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80121B5C 0011EABC 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80121B60 0011EAC0 7C 08 03 A6 */ mtlr r0 +/* 80121B64 0011EAC4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80121B68 0011EAC8 4E 80 00 20 */ blr + +.global Render__12CSpacePirateCFRC13CStateManager +Render__12CSpacePirateCFRC13CStateManager: +/* 80121B6C 0011EACC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80121B70 0011EAD0 7C 08 02 A6 */ mflr r0 +/* 80121B74 0011EAD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80121B78 0011EAD8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80121B7C 0011EADC 7C 9F 23 78 */ mr r31, r4 +/* 80121B80 0011EAE0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80121B84 0011EAE4 7C 7E 1B 78 */ mr r30, r3 +/* 80121B88 0011EAE8 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80121B8C 0011EAEC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80121B90 0011EAF0 41 82 00 0C */ beq lbl_80121B9C +/* 80121B94 0011EAF4 48 1E 83 4D */ bl GetSecondsMod900__9CGraphicsFv +/* 80121B98 0011EAF8 48 00 00 08 */ b lbl_80121BA0 +lbl_80121B9C: +/* 80121B9C 0011EAFC C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +lbl_80121BA0: +/* 80121BA0 0011EB00 D0 21 00 08 */ stfs f1, 8(r1) +/* 80121BA4 0011EB04 38 61 00 0C */ addi r3, r1, 0xc +/* 80121BA8 0011EB08 38 81 00 08 */ addi r4, r1, 8 +/* 80121BAC 0011EB0C 48 23 67 29 */ bl __ct__13CTimeProviderFRCf +/* 80121BB0 0011EB10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80121BB4 0011EB14 38 9E 08 CC */ addi r4, r30, 0x8cc +/* 80121BB8 0011EB18 81 83 00 00 */ lwz r12, 0(r3) +/* 80121BBC 0011EB1C 81 8C 00 FC */ lwz r12, 0xfc(r12) +/* 80121BC0 0011EB20 7D 89 03 A6 */ mtctr r12 +/* 80121BC4 0011EB24 4E 80 04 21 */ bctrl +/* 80121BC8 0011EB28 7F C3 F3 78 */ mr r3, r30 +/* 80121BCC 0011EB2C 7F E4 FB 78 */ mr r4, r31 +/* 80121BD0 0011EB30 4B F5 64 5D */ bl Render__10CPatternedCFRC13CStateManager +/* 80121BD4 0011EB34 38 61 00 0C */ addi r3, r1, 0xc +/* 80121BD8 0011EB38 38 80 FF FF */ li r4, -1 +/* 80121BDC 0011EB3C 48 23 66 81 */ bl __dt__13CTimeProviderFv +/* 80121BE0 0011EB40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80121BE4 0011EB44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80121BE8 0011EB48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80121BEC 0011EB4C 7C 08 03 A6 */ mtlr r0 +/* 80121BF0 0011EB50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80121BF4 0011EB54 4E 80 00 20 */ blr + +.global PreRender__12CSpacePirateFR13CStateManagerRC14CFrustumPlanes +PreRender__12CSpacePirateFR13CStateManagerRC14CFrustumPlanes: +/* 80121BF8 0011EB58 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80121BFC 0011EB5C 7C 08 02 A6 */ mflr r0 +/* 80121C00 0011EB60 90 01 00 44 */ stw r0, 0x44(r1) +/* 80121C04 0011EB64 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80121C08 0011EB68 7C BF 2B 78 */ mr r31, r5 +/* 80121C0C 0011EB6C 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80121C10 0011EB70 7C 9E 23 78 */ mr r30, r4 +/* 80121C14 0011EB74 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80121C18 0011EB78 7C 7D 1B 78 */ mr r29, r3 +/* 80121C1C 0011EB7C 80 63 08 5C */ lwz r3, 0x85c(r3) +/* 80121C20 0011EB80 28 03 00 00 */ cmplwi r3, 0 +/* 80121C24 0011EB84 41 82 00 40 */ beq lbl_80121C64 +/* 80121C28 0011EB88 88 03 00 68 */ lbz r0, 0x68(r3) +/* 80121C2C 0011EB8C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80121C30 0011EB90 41 82 00 34 */ beq lbl_80121C64 +/* 80121C34 0011EB94 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80121C38 0011EB98 38 81 00 20 */ addi r4, r1, 0x20 +/* 80121C3C 0011EB9C C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80121C40 0011EBA0 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80121C44 0011EBA4 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80121C48 0011EBA8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80121C4C 0011EBAC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80121C50 0011EBB0 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80121C54 0011EBB4 81 83 00 00 */ lwz r12, 0(r3) +/* 80121C58 0011EBB8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80121C5C 0011EBBC 7D 89 03 A6 */ mtctr r12 +/* 80121C60 0011EBC0 4E 80 04 21 */ bctrl +lbl_80121C64: +/* 80121C64 0011EBC4 7F A3 EB 78 */ mr r3, r29 +/* 80121C68 0011EBC8 7F C4 F3 78 */ mr r4, r30 +/* 80121C6C 0011EBCC 7F E5 FB 78 */ mr r5, r31 +/* 80121C70 0011EBD0 4B F5 66 6D */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes +/* 80121C74 0011EBD4 80 7D 08 5C */ lwz r3, 0x85c(r29) +/* 80121C78 0011EBD8 28 03 00 00 */ cmplwi r3, 0 +/* 80121C7C 0011EBDC 41 82 00 10 */ beq lbl_80121C8C +/* 80121C80 0011EBE0 88 03 00 68 */ lbz r0, 0x68(r3) +/* 80121C84 0011EBE4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80121C88 0011EBE8 40 82 00 74 */ bne lbl_80121CFC +lbl_80121C8C: +/* 80121C8C 0011EBEC 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80121C90 0011EBF0 7F C4 F3 78 */ mr r4, r30 +/* 80121C94 0011EBF4 81 1D 04 50 */ lwz r8, 0x450(r29) +/* 80121C98 0011EBF8 38 7D 07 64 */ addi r3, r29, 0x764 +/* 80121C9C 0011EBFC C0 05 00 00 */ lfs f0, 0(r5) +/* 80121CA0 0011EC00 38 DD 00 34 */ addi r6, r29, 0x34 +/* 80121CA4 0011EC04 38 E1 00 14 */ addi r7, r1, 0x14 +/* 80121CA8 0011EC08 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80121CAC 0011EC0C C0 05 00 04 */ lfs f0, 4(r5) +/* 80121CB0 0011EC10 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80121CB4 0011EC14 C0 05 00 08 */ lfs f0, 8(r5) +/* 80121CB8 0011EC18 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80121CBC 0011EC1C 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 80121CC0 0011EC20 80 A5 00 10 */ lwz r5, 0x10(r5) +/* 80121CC4 0011EC24 48 05 3C 4D */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController +/* 80121CC8 0011EC28 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80121CCC 0011EC2C 38 7D 08 60 */ addi r3, r29, 0x860 +/* 80121CD0 0011EC30 38 BD 00 34 */ addi r5, r29, 0x34 +/* 80121CD4 0011EC34 38 C1 00 08 */ addi r6, r1, 8 +/* 80121CD8 0011EC38 C0 04 00 00 */ lfs f0, 0(r4) +/* 80121CDC 0011EC3C D0 01 00 08 */ stfs f0, 8(r1) +/* 80121CE0 0011EC40 C0 04 00 04 */ lfs f0, 4(r4) +/* 80121CE4 0011EC44 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80121CE8 0011EC48 C0 04 00 08 */ lfs f0, 8(r4) +/* 80121CEC 0011EC4C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80121CF0 0011EC50 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 80121CF4 0011EC54 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80121CF8 0011EC58 48 10 3C 7D */ bl PreRender__8CIkChainFR9CAnimDataRC12CTransform4fRC9CVector3f +lbl_80121CFC: +/* 80121CFC 0011EC5C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80121D00 0011EC60 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80121D04 0011EC64 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80121D08 0011EC68 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80121D0C 0011EC6C 7C 08 03 A6 */ mtlr r0 +/* 80121D10 0011EC70 38 21 00 40 */ addi r1, r1, 0x40 +/* 80121D14 0011EC74 4E 80 00 20 */ blr + +.global CalculateRenderBounds__12CSpacePirateFv +CalculateRenderBounds__12CSpacePirateFv: +/* 80121D18 0011EC78 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80121D1C 0011EC7C 7C 08 02 A6 */ mflr r0 +/* 80121D20 0011EC80 90 01 00 64 */ stw r0, 0x64(r1) +/* 80121D24 0011EC84 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80121D28 0011EC88 7C 7F 1B 78 */ mr r31, r3 +/* 80121D2C 0011EC8C 80 83 08 5C */ lwz r4, 0x85c(r3) +/* 80121D30 0011EC90 28 04 00 00 */ cmplwi r4, 0 +/* 80121D34 0011EC94 41 82 00 C4 */ beq lbl_80121DF8 +/* 80121D38 0011EC98 88 04 00 68 */ lbz r0, 0x68(r4) +/* 80121D3C 0011EC9C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80121D40 0011ECA0 41 82 00 B8 */ beq lbl_80121DF8 +/* 80121D44 0011ECA4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80121D48 0011ECA8 48 0E AB 11 */ bl CalculateRenderBounds__8CRagDollCFv +/* 80121D4C 0011ECAC 80 DF 00 64 */ lwz r6, 0x64(r31) +/* 80121D50 0011ECB0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80121D54 0011ECB4 C0 62 97 CC */ lfs f3, lbl_805AB4EC@sda21(r2) +/* 80121D58 0011ECB8 38 81 00 14 */ addi r4, r1, 0x14 +/* 80121D5C 0011ECBC C0 26 00 00 */ lfs f1, 0(r6) +/* 80121D60 0011ECC0 38 A1 00 08 */ addi r5, r1, 8 +/* 80121D64 0011ECC4 C0 06 00 04 */ lfs f0, 4(r6) +/* 80121D68 0011ECC8 C0 46 00 08 */ lfs f2, 8(r6) +/* 80121D6C 0011ECCC ED 03 00 72 */ fmuls f8, f3, f1 +/* 80121D70 0011ECD0 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 80121D74 0011ECD4 EC E3 00 32 */ fmuls f7, f3, f0 +/* 80121D78 0011ECD8 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80121D7C 0011ECDC EC C3 00 B2 */ fmuls f6, f3, f2 +/* 80121D80 0011ECE0 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 80121D84 0011ECE4 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 80121D88 0011ECE8 EC A1 40 2A */ fadds f5, f1, f8 +/* 80121D8C 0011ECEC C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 80121D90 0011ECF0 EC 80 38 2A */ fadds f4, f0, f7 +/* 80121D94 0011ECF4 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80121D98 0011ECF8 EC 63 30 2A */ fadds f3, f3, f6 +/* 80121D9C 0011ECFC EC 42 40 28 */ fsubs f2, f2, f8 +/* 80121DA0 0011ED00 EC 21 38 28 */ fsubs f1, f1, f7 +/* 80121DA4 0011ED04 D0 A1 00 08 */ stfs f5, 8(r1) +/* 80121DA8 0011ED08 EC 00 30 28 */ fsubs f0, f0, f6 +/* 80121DAC 0011ED0C D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80121DB0 0011ED10 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80121DB4 0011ED14 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80121DB8 0011ED18 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80121DBC 0011ED1C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80121DC0 0011ED20 48 21 67 49 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80121DC4 0011ED24 80 61 00 20 */ lwz r3, 0x20(r1) +/* 80121DC8 0011ED28 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80121DCC 0011ED2C 90 7F 00 9C */ stw r3, 0x9c(r31) +/* 80121DD0 0011ED30 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 80121DD4 0011ED34 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80121DD8 0011ED38 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 80121DDC 0011ED3C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80121DE0 0011ED40 80 01 00 30 */ lwz r0, 0x30(r1) +/* 80121DE4 0011ED44 90 7F 00 A8 */ stw r3, 0xa8(r31) +/* 80121DE8 0011ED48 90 1F 00 AC */ stw r0, 0xac(r31) +/* 80121DEC 0011ED4C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80121DF0 0011ED50 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 80121DF4 0011ED54 48 00 00 0C */ b lbl_80121E00 +lbl_80121DF8: +/* 80121DF8 0011ED58 7F E3 FB 78 */ mr r3, r31 +/* 80121DFC 0011ED5C 4B F3 32 D9 */ bl CalculateRenderBounds__6CActorFv +lbl_80121E00: +/* 80121E00 0011ED60 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80121E04 0011ED64 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80121E08 0011ED68 7C 08 03 A6 */ mtlr r0 +/* 80121E0C 0011ED6C 38 21 00 60 */ addi r1, r1, 0x60 +/* 80121E10 0011ED70 4E 80 00 20 */ blr + +.global GetModelAlphau8__12CSpacePirateCFRC13CStateManager +GetModelAlphau8__12CSpacePirateCFRC13CStateManager: +/* 80121E14 0011ED74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80121E18 0011ED78 7C 08 02 A6 */ mflr r0 +/* 80121E1C 0011ED7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80121E20 0011ED80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80121E24 0011ED84 3B E0 00 FF */ li r31, 0xff +/* 80121E28 0011ED88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80121E2C 0011ED8C 7C 9E 23 78 */ mr r30, r4 +/* 80121E30 0011ED90 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80121E34 0011ED94 7C 7D 1B 78 */ mr r29, r3 +/* 80121E38 0011ED98 80 64 08 B8 */ lwz r3, 0x8b8(r4) +/* 80121E3C 0011ED9C 80 63 00 00 */ lwz r3, 0(r3) +/* 80121E40 0011EDA0 4B F6 F7 19 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80121E44 0011EDA4 2C 03 00 01 */ cmpwi r3, 1 +/* 80121E48 0011EDA8 41 82 00 1C */ beq lbl_80121E64 +/* 80121E4C 0011EDAC 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80121E50 0011EDB0 7F C4 F3 78 */ mr r4, r30 +/* 80121E54 0011EDB4 80 63 00 00 */ lwz r3, 0(r3) +/* 80121E58 0011EDB8 4B F6 F7 01 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80121E5C 0011EDBC 2C 03 00 03 */ cmpwi r3, 3 +/* 80121E60 0011EDC0 40 82 00 10 */ bne lbl_80121E70 +lbl_80121E64: +/* 80121E64 0011EDC4 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 80121E68 0011EDC8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80121E6C 0011EDCC 40 82 00 30 */ bne lbl_80121E9C +lbl_80121E70: +/* 80121E70 0011EDD0 88 1D 06 35 */ lbz r0, 0x635(r29) +/* 80121E74 0011EDD4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80121E78 0011EDD8 40 82 00 0C */ bne lbl_80121E84 +/* 80121E7C 0011EDDC 8B FD 04 2F */ lbz r31, 0x42f(r29) +/* 80121E80 0011EDE0 48 00 00 1C */ b lbl_80121E9C +lbl_80121E84: +/* 80121E84 0011EDE4 C0 22 97 E4 */ lfs f1, lbl_805AB504@sda21(r2) +/* 80121E88 0011EDE8 C0 1D 08 B4 */ lfs f0, 0x8b4(r29) +/* 80121E8C 0011EDEC EC 01 00 32 */ fmuls f0, f1, f0 +/* 80121E90 0011EDF0 FC 00 00 1E */ fctiwz f0, f0 +/* 80121E94 0011EDF4 D8 01 00 08 */ stfd f0, 8(r1) +/* 80121E98 0011EDF8 83 E1 00 0C */ lwz r31, 0xc(r1) +lbl_80121E9C: +/* 80121E9C 0011EDFC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80121EA0 0011EE00 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 80121EA4 0011EE04 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80121EA8 0011EE08 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80121EAC 0011EE0C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80121EB0 0011EE10 7C 08 03 A6 */ mtlr r0 +/* 80121EB4 0011EE14 38 21 00 20 */ addi r1, r1, 0x20 +/* 80121EB8 0011EE18 4E 80 00 20 */ blr + +.global DoUserAnimEvent__12CSpacePirateFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__12CSpacePirateFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80121EBC 0011EE1C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80121EC0 0011EE20 7C 08 02 A6 */ mflr r0 +/* 80121EC4 0011EE24 90 01 00 94 */ stw r0, 0x94(r1) +/* 80121EC8 0011EE28 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80121ECC 0011EE2C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80121ED0 0011EE30 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80121ED4 0011EE34 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80121ED8 0011EE38 93 A1 00 74 */ stw r29, 0x74(r1) +/* 80121EDC 0011EE3C 93 81 00 70 */ stw r28, 0x70(r1) +/* 80121EE0 0011EE40 7C DF 33 78 */ mr r31, r6 +/* 80121EE4 0011EE44 FF E0 08 90 */ fmr f31, f1 +/* 80121EE8 0011EE48 38 1F FF F5 */ addi r0, r31, -11 +/* 80121EEC 0011EE4C 7C 7C 1B 78 */ mr r28, r3 +/* 80121EF0 0011EE50 28 00 00 0A */ cmplwi r0, 0xa +/* 80121EF4 0011EE54 7C 9D 23 78 */ mr r29, r4 +/* 80121EF8 0011EE58 7C BE 2B 78 */ mr r30, r5 +/* 80121EFC 0011EE5C 38 A0 00 00 */ li r5, 0 +/* 80121F00 0011EE60 41 81 01 84 */ bgt lbl_80122084 +/* 80121F04 0011EE64 3C 80 80 3E */ lis r4, lbl_803E0ACC@ha +/* 80121F08 0011EE68 54 00 10 3A */ slwi r0, r0, 2 +/* 80121F0C 0011EE6C 38 84 0A CC */ addi r4, r4, lbl_803E0ACC@l +/* 80121F10 0011EE70 7C 04 00 2E */ lwzx r0, r4, r0 +/* 80121F14 0011EE74 7C 09 03 A6 */ mtctr r0 +/* 80121F18 0011EE78 4E 80 04 20 */ bctr +/* 80121F1C 0011EE7C 7F A5 EB 78 */ mr r5, r29 +/* 80121F20 0011EE80 38 80 00 13 */ li r4, 0x13 +/* 80121F24 0011EE84 4B F3 20 5D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80121F28 0011EE88 88 1C 06 38 */ lbz r0, 0x638(r28) +/* 80121F2C 0011EE8C 38 60 00 01 */ li r3, 1 +/* 80121F30 0011EE90 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80121F34 0011EE94 38 A0 00 01 */ li r5, 1 +/* 80121F38 0011EE98 98 1C 06 38 */ stb r0, 0x638(r28) +/* 80121F3C 0011EE9C 48 00 01 48 */ b lbl_80122084 +/* 80121F40 0011EEA0 88 1C 06 39 */ lbz r0, 0x639(r28) +/* 80121F44 0011EEA4 38 60 00 00 */ li r3, 0 +/* 80121F48 0011EEA8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80121F4C 0011EEAC 38 A0 00 01 */ li r5, 1 +/* 80121F50 0011EEB0 98 1C 06 39 */ stb r0, 0x639(r28) +/* 80121F54 0011EEB4 48 00 01 30 */ b lbl_80122084 +/* 80121F58 0011EEB8 88 1C 06 34 */ lbz r0, 0x634(r28) +/* 80121F5C 0011EEBC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80121F60 0011EEC0 40 82 00 30 */ bne lbl_80121F90 +/* 80121F64 0011EEC4 7F 83 E3 78 */ mr r3, r28 +/* 80121F68 0011EEC8 7F A4 EB 78 */ mr r4, r29 +/* 80121F6C 0011EECC 81 9C 00 00 */ lwz r12, 0(r28) +/* 80121F70 0011EED0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80121F74 0011EED4 7D 89 03 A6 */ mtctr r12 +/* 80121F78 0011EED8 4E 80 04 21 */ bctrl +/* 80121F7C 0011EEDC C0 23 00 00 */ lfs f1, 0(r3) +/* 80121F80 0011EEE0 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80121F84 0011EEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80121F88 0011EEE8 4C 40 13 82 */ cror 2, 0, 2 +/* 80121F8C 0011EEEC 40 82 00 1C */ bne lbl_80121FA8 +lbl_80121F90: +/* 80121F90 0011EEF0 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 80121F94 0011EEF4 48 1F 05 49 */ bl Float__9CRandom16Fv +/* 80121F98 0011EEF8 C0 42 97 F8 */ lfs f2, lbl_805AB518@sda21(r2) +/* 80121F9C 0011EEFC C0 02 97 F4 */ lfs f0, lbl_805AB514@sda21(r2) +/* 80121FA0 0011EF00 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80121FA4 0011EF04 D0 1C 08 58 */ stfs f0, 0x858(r28) +lbl_80121FA8: +/* 80121FA8 0011EF08 38 A0 00 01 */ li r5, 1 +/* 80121FAC 0011EF0C 48 00 00 D8 */ b lbl_80122084 +/* 80121FB0 0011EF10 88 1C 08 A4 */ lbz r0, 0x8a4(r28) +/* 80121FB4 0011EF14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80121FB8 0011EF18 40 82 00 70 */ bne lbl_80122028 +/* 80121FBC 0011EF1C 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 80121FC0 0011EF20 38 61 00 0C */ addi r3, r1, 0xc +/* 80121FC4 0011EF24 38 BE 00 3C */ addi r5, r30, 0x3c +/* 80121FC8 0011EF28 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80121FCC 0011EF2C 4B F0 C8 6D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80121FD0 0011EF30 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80121FD4 0011EF34 38 A1 00 0C */ addi r5, r1, 0xc +/* 80121FD8 0011EF38 28 00 00 03 */ cmplwi r0, 3 +/* 80121FDC 0011EF3C 41 82 00 4C */ beq lbl_80122028 +/* 80121FE0 0011EF40 7F 84 E3 78 */ mr r4, r28 +/* 80121FE4 0011EF44 38 61 00 10 */ addi r3, r1, 0x10 +/* 80121FE8 0011EF48 4B F5 68 D1 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80121FEC 0011EF4C 38 61 00 40 */ addi r3, r1, 0x40 +/* 80121FF0 0011EF50 38 81 00 10 */ addi r4, r1, 0x10 +/* 80121FF4 0011EF54 48 1F 0B 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80121FF8 0011EF58 88 01 00 0C */ lbz r0, 0xc(r1) +/* 80121FFC 0011EF5C 38 7C 08 60 */ addi r3, r28, 0x860 +/* 80122000 0011EF60 38 A1 00 08 */ addi r5, r1, 8 +/* 80122004 0011EF64 38 C1 00 40 */ addi r6, r1, 0x40 +/* 80122008 0011EF68 98 01 00 08 */ stb r0, 8(r1) +/* 8012200C 0011EF6C 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 80122010 0011EF70 80 84 00 10 */ lwz r4, 0x10(r4) +/* 80122014 0011EF74 48 10 3E 09 */ bl Activate__8CIkChainFRC9CAnimData6CSegIdRC12CTransform4f +/* 80122018 0011EF78 88 1C 06 39 */ lbz r0, 0x639(r28) +/* 8012201C 0011EF7C 38 60 00 01 */ li r3, 1 +/* 80122020 0011EF80 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80122024 0011EF84 98 1C 06 39 */ stb r0, 0x639(r28) +lbl_80122028: +/* 80122028 0011EF88 38 A0 00 01 */ li r5, 1 +/* 8012202C 0011EF8C 48 00 00 58 */ b lbl_80122084 +/* 80122030 0011EF90 38 7C 08 60 */ addi r3, r28, 0x860 +/* 80122034 0011EF94 48 10 39 2D */ bl Deactivate__8CIkChainFv +/* 80122038 0011EF98 38 A0 00 01 */ li r5, 1 +/* 8012203C 0011EF9C 48 00 00 48 */ b lbl_80122084 +/* 80122040 0011EFA0 7F A5 EB 78 */ mr r5, r29 +/* 80122044 0011EFA4 38 80 00 12 */ li r4, 0x12 +/* 80122048 0011EFA8 38 C0 FF FF */ li r6, -1 +/* 8012204C 0011EFAC 4B F2 F0 75 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 80122050 0011EFB0 38 A0 00 01 */ li r5, 1 +/* 80122054 0011EFB4 48 00 00 30 */ b lbl_80122084 +/* 80122058 0011EFB8 88 1C 06 35 */ lbz r0, 0x635(r28) +/* 8012205C 0011EFBC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80122060 0011EFC0 41 82 00 20 */ beq lbl_80122080 +/* 80122064 0011EFC4 C0 02 97 FC */ lfs f0, lbl_805AB51C@sda21(r2) +/* 80122068 0011EFC8 7F 84 E3 78 */ mr r4, r28 +/* 8012206C 0011EFCC D0 1C 03 E8 */ stfs f0, 0x3e8(r28) +/* 80122070 0011EFD0 80 7D 08 84 */ lwz r3, 0x884(r29) +/* 80122074 0011EFD4 48 0C 31 5D */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor +/* 80122078 0011EFD8 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 8012207C 0011EFDC D0 1C 08 AC */ stfs f0, 0x8ac(r28) +lbl_80122080: +/* 80122080 0011EFE0 38 A0 00 01 */ li r5, 1 +lbl_80122084: +/* 80122084 0011EFE4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80122088 0011EFE8 40 82 00 1C */ bne lbl_801220A4 +/* 8012208C 0011EFEC FC 20 F8 90 */ fmr f1, f31 +/* 80122090 0011EFF0 7F 83 E3 78 */ mr r3, r28 +/* 80122094 0011EFF4 7F A4 EB 78 */ mr r4, r29 +/* 80122098 0011EFF8 7F C5 F3 78 */ mr r5, r30 +/* 8012209C 0011EFFC 7F E6 FB 78 */ mr r6, r31 +/* 801220A0 0011F000 4B F5 6E 11 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_801220A4: +/* 801220A4 0011F004 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 801220A8 0011F008 80 01 00 94 */ lwz r0, 0x94(r1) +/* 801220AC 0011F00C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 801220B0 0011F010 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 801220B4 0011F014 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 801220B8 0011F018 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 801220BC 0011F01C 83 81 00 70 */ lwz r28, 0x70(r1) +/* 801220C0 0011F020 7C 08 03 A6 */ mtlr r0 +/* 801220C4 0011F024 38 21 00 90 */ addi r1, r1, 0x90 +/* 801220C8 0011F028 4E 80 00 20 */ blr + +.global FireProjectile__12CSpacePirateFfR13CStateManager +FireProjectile__12CSpacePirateFfR13CStateManager: +/* 801220CC 0011F02C 94 21 FD 20 */ stwu r1, -0x2e0(r1) +/* 801220D0 0011F030 7C 08 02 A6 */ mflr r0 +/* 801220D4 0011F034 90 01 02 E4 */ stw r0, 0x2e4(r1) +/* 801220D8 0011F038 DB E1 02 D0 */ stfd f31, 0x2d0(r1) +/* 801220DC 0011F03C F3 E1 02 D8 */ psq_st f31, 728(r1), 0, qr0 +/* 801220E0 0011F040 93 E1 02 CC */ stw r31, 0x2cc(r1) +/* 801220E4 0011F044 93 C1 02 C8 */ stw r30, 0x2c8(r1) +/* 801220E8 0011F048 93 A1 02 C4 */ stw r29, 0x2c4(r1) +/* 801220EC 0011F04C 93 81 02 C0 */ stw r28, 0x2c0(r1) +/* 801220F0 0011F050 FF E0 08 90 */ fmr f31, f1 +/* 801220F4 0011F054 7C 7D 1B 78 */ mr r29, r3 +/* 801220F8 0011F058 7C 9E 23 78 */ mr r30, r4 +/* 801220FC 0011F05C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 80122100 0011F060 7F A4 EB 78 */ mr r4, r29 +/* 80122104 0011F064 38 BD 07 B6 */ addi r5, r29, 0x7b6 +/* 80122108 0011F068 3B E0 00 00 */ li r31, 0 +/* 8012210C 0011F06C 4B F5 67 AD */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80122110 0011F070 38 61 02 40 */ addi r3, r1, 0x240 +/* 80122114 0011F074 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 80122118 0011F078 48 1F 0A 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8012211C 0011F07C 88 1D 04 00 */ lbz r0, 0x400(r29) +/* 80122120 0011F080 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80122124 0011F084 40 82 00 80 */ bne lbl_801221A4 +/* 80122128 0011F088 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 8012212C 0011F08C 39 60 00 00 */ li r11, 0 +/* 80122130 0011F090 99 61 01 34 */ stb r11, 0x134(r1) +/* 80122134 0011F094 38 01 01 1C */ addi r0, r1, 0x11c +/* 80122138 0011F098 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) +/* 8012213C 0011F09C 7F A3 EB 78 */ mr r3, r29 +/* 80122140 0011F0A0 D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 80122144 0011F0A4 7F C5 F3 78 */ mr r5, r30 +/* 80122148 0011F0A8 38 81 02 40 */ addi r4, r1, 0x240 +/* 8012214C 0011F0AC 39 21 01 28 */ addi r9, r1, 0x128 +/* 80122150 0011F0B0 D0 01 01 20 */ stfs f0, 0x120(r1) +/* 80122154 0011F0B4 38 C0 00 06 */ li r6, 6 +/* 80122158 0011F0B8 38 E0 00 00 */ li r7, 0 +/* 8012215C 0011F0BC 39 00 00 00 */ li r8, 0 +/* 80122160 0011F0C0 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 80122164 0011F0C4 91 61 00 08 */ stw r11, 8(r1) +/* 80122168 0011F0C8 90 01 00 0C */ stw r0, 0xc(r1) +/* 8012216C 0011F0CC 4B F5 58 8D */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 80122170 0011F0D0 88 01 01 34 */ lbz r0, 0x134(r1) +/* 80122174 0011F0D4 28 00 00 00 */ cmplwi r0, 0 +/* 80122178 0011F0D8 41 82 00 1C */ beq lbl_80122194 +/* 8012217C 0011F0DC 34 61 01 28 */ addic. r3, r1, 0x128 +/* 80122180 0011F0E0 41 82 00 14 */ beq lbl_80122194 +/* 80122184 0011F0E4 28 03 00 00 */ cmplwi r3, 0 +/* 80122188 0011F0E8 41 82 00 0C */ beq lbl_80122194 +/* 8012218C 0011F0EC 38 80 00 00 */ li r4, 0 +/* 80122190 0011F0F0 48 21 EC B1 */ bl __dt__6CTokenFv +lbl_80122194: +/* 80122194 0011F0F4 38 00 00 00 */ li r0, 0 +/* 80122198 0011F0F8 3B E0 00 01 */ li r31, 1 +/* 8012219C 0011F0FC 98 01 01 34 */ stb r0, 0x134(r1) +/* 801221A0 0011F100 48 00 03 AC */ b lbl_8012254C +lbl_801221A4: +/* 801221A4 0011F104 A0 1D 07 C0 */ lhz r0, 0x7c0(r29) +/* 801221A8 0011F108 7F C3 F3 78 */ mr r3, r30 +/* 801221AC 0011F10C 38 81 00 10 */ addi r4, r1, 0x10 +/* 801221B0 0011F110 B0 01 00 10 */ sth r0, 0x10(r1) +/* 801221B4 0011F114 4B F2 A3 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 801221B8 0011F118 7C 64 1B 78 */ mr r4, r3 +/* 801221BC 0011F11C 38 61 00 18 */ addi r3, r1, 0x18 +/* 801221C0 0011F120 4B F8 DA D1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 801221C4 0011F124 80 63 00 04 */ lwz r3, 4(r3) +/* 801221C8 0011F128 28 03 00 00 */ cmplwi r3, 0 +/* 801221CC 0011F12C 41 82 03 80 */ beq lbl_8012254C +/* 801221D0 0011F130 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 801221D4 0011F134 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 801221D8 0011F138 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 801221DC 0011F13C D0 01 01 44 */ stfs f0, 0x144(r1) +/* 801221E0 0011F140 D0 21 01 48 */ stfs f1, 0x148(r1) +/* 801221E4 0011F144 D0 41 01 4C */ stfs f2, 0x14c(r1) +/* 801221E8 0011F148 83 9E 08 4C */ lwz r28, 0x84c(r30) +/* 801221EC 0011F14C A0 7D 07 C0 */ lhz r3, 0x7c0(r29) +/* 801221F0 0011F150 A0 1C 00 08 */ lhz r0, 8(r28) +/* 801221F4 0011F154 7C 03 00 40 */ cmplw r3, r0 +/* 801221F8 0011F158 40 82 00 88 */ bne lbl_80122280 +/* 801221FC 0011F15C C0 21 02 4C */ lfs f1, 0x24c(r1) +/* 80122200 0011F160 7F 84 E3 78 */ mr r4, r28 +/* 80122204 0011F164 C0 41 02 5C */ lfs f2, 0x25c(r1) +/* 80122208 0011F168 7F C5 F3 78 */ mr r5, r30 +/* 8012220C 0011F16C C0 01 02 6C */ lfs f0, 0x26c(r1) +/* 80122210 0011F170 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 80122214 0011F174 D0 21 01 04 */ stfs f1, 0x104(r1) +/* 80122218 0011F178 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 8012221C 0011F17C D0 41 01 08 */ stfs f2, 0x108(r1) +/* 80122220 0011F180 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 80122224 0011F184 81 9C 00 00 */ lwz r12, 0(r28) +/* 80122228 0011F188 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8012222C 0011F18C 7D 89 03 A6 */ mtctr r12 +/* 80122230 0011F190 4E 80 04 21 */ bctrl +/* 80122234 0011F194 7F A3 EB 78 */ mr r3, r29 +/* 80122238 0011F198 81 9D 00 00 */ lwz r12, 0(r29) +/* 8012223C 0011F19C 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 80122240 0011F1A0 7D 89 03 A6 */ mtctr r12 +/* 80122244 0011F1A4 4E 80 04 21 */ bctrl +/* 80122248 0011F1A8 FC 20 F8 90 */ fmr f1, f31 +/* 8012224C 0011F1AC 7C 64 1B 78 */ mr r4, r3 +/* 80122250 0011F1B0 7F 87 E3 78 */ mr r7, r28 +/* 80122254 0011F1B4 38 61 01 10 */ addi r3, r1, 0x110 +/* 80122258 0011F1B8 38 A1 01 04 */ addi r5, r1, 0x104 +/* 8012225C 0011F1BC 38 C1 00 F8 */ addi r6, r1, 0xf8 +/* 80122260 0011F1C0 39 00 00 01 */ li r8, 1 +/* 80122264 0011F1C4 48 0F 9C 89 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf +/* 80122268 0011F1C8 C0 41 01 10 */ lfs f2, 0x110(r1) +/* 8012226C 0011F1CC C0 21 01 14 */ lfs f1, 0x114(r1) +/* 80122270 0011F1D0 C0 01 01 18 */ lfs f0, 0x118(r1) +/* 80122274 0011F1D4 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 80122278 0011F1D8 D0 21 01 48 */ stfs f1, 0x148(r1) +/* 8012227C 0011F1DC D0 01 01 4C */ stfs f0, 0x14c(r1) +lbl_80122280: +/* 80122280 0011F1E0 C0 41 02 6C */ lfs f2, 0x26c(r1) +/* 80122284 0011F1E4 38 61 01 38 */ addi r3, r1, 0x138 +/* 80122288 0011F1E8 C0 01 01 4C */ lfs f0, 0x14c(r1) +/* 8012228C 0011F1EC C0 81 02 5C */ lfs f4, 0x25c(r1) +/* 80122290 0011F1F0 C0 21 01 48 */ lfs f1, 0x148(r1) +/* 80122294 0011F1F4 EC 40 10 28 */ fsubs f2, f0, f2 +/* 80122298 0011F1F8 C0 61 02 4C */ lfs f3, 0x24c(r1) +/* 8012229C 0011F1FC C0 01 01 44 */ lfs f0, 0x144(r1) +/* 801222A0 0011F200 EC 21 20 28 */ fsubs f1, f1, f4 +/* 801222A4 0011F204 D0 41 01 40 */ stfs f2, 0x140(r1) +/* 801222A8 0011F208 EC 00 18 28 */ fsubs f0, f0, f3 +/* 801222AC 0011F20C D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 801222B0 0011F210 D0 01 01 38 */ stfs f0, 0x138(r1) +/* 801222B4 0011F214 48 1F 26 05 */ bl Magnitude__9CVector3fCFv +/* 801222B8 0011F218 FF E0 08 90 */ fmr f31, f1 +/* 801222BC 0011F21C C0 62 97 D8 */ lfs f3, lbl_805AB4F8@sda21(r2) +/* 801222C0 0011F220 C0 81 01 38 */ lfs f4, 0x138(r1) +/* 801222C4 0011F224 7F A4 EB 78 */ mr r4, r29 +/* 801222C8 0011F228 C0 41 01 3C */ lfs f2, 0x13c(r1) +/* 801222CC 0011F22C 38 61 01 80 */ addi r3, r1, 0x180 +/* 801222D0 0011F230 EC A3 F8 24 */ fdivs f5, f3, f31 +/* 801222D4 0011F234 C0 01 01 40 */ lfs f0, 0x140(r1) +/* 801222D8 0011F238 38 BD 07 B7 */ addi r5, r29, 0x7b7 +/* 801222DC 0011F23C EC 64 01 72 */ fmuls f3, f4, f5 +/* 801222E0 0011F240 EC 22 01 72 */ fmuls f1, f2, f5 +/* 801222E4 0011F244 EC 00 01 72 */ fmuls f0, f0, f5 +/* 801222E8 0011F248 D0 61 01 38 */ stfs f3, 0x138(r1) +/* 801222EC 0011F24C D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 801222F0 0011F250 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 801222F4 0011F254 4B F5 65 C5 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 801222F8 0011F258 C0 41 01 AC */ lfs f2, 0x1ac(r1) +/* 801222FC 0011F25C 7F A4 EB 78 */ mr r4, r29 +/* 80122300 0011F260 C0 21 01 9C */ lfs f1, 0x19c(r1) +/* 80122304 0011F264 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 80122308 0011F268 C0 01 01 8C */ lfs f0, 0x18c(r1) +/* 8012230C 0011F26C 38 BD 07 B8 */ addi r5, r29, 0x7b8 +/* 80122310 0011F270 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 80122314 0011F274 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 80122318 0011F278 D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 8012231C 0011F27C 4B F5 65 9D */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 80122320 0011F280 C0 A1 01 DC */ lfs f5, 0x1dc(r1) +/* 80122324 0011F284 38 61 00 EC */ addi r3, r1, 0xec +/* 80122328 0011F288 C0 81 01 CC */ lfs f4, 0x1cc(r1) +/* 8012232C 0011F28C 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80122330 0011F290 C0 61 01 BC */ lfs f3, 0x1bc(r1) +/* 80122334 0011F294 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80122338 0011F298 C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 8012233C 0011F29C C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 80122340 0011F2A0 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80122344 0011F2A4 EC 25 08 28 */ fsubs f1, f5, f1 +/* 80122348 0011F2A8 D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 8012234C 0011F2AC EC 03 00 28 */ fsubs f0, f3, f0 +/* 80122350 0011F2B0 D0 81 00 D8 */ stfs f4, 0xd8(r1) +/* 80122354 0011F2B4 D0 A1 00 DC */ stfs f5, 0xdc(r1) +/* 80122358 0011F2B8 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 8012235C 0011F2BC D0 41 00 E4 */ stfs f2, 0xe4(r1) +/* 80122360 0011F2C0 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 80122364 0011F2C4 48 1F 24 ED */ bl AsNormalized__9CVector3fCFv +/* 80122368 0011F2C8 C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 8012236C 0011F2CC C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 80122370 0011F2D0 C0 41 00 EC */ lfs f2, 0xec(r1) +/* 80122374 0011F2D4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80122378 0011F2D8 C0 21 01 38 */ lfs f1, 0x138(r1) +/* 8012237C 0011F2DC C0 81 00 F4 */ lfs f4, 0xf4(r1) +/* 80122380 0011F2E0 C0 61 01 40 */ lfs f3, 0x140(r1) +/* 80122384 0011F2E4 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80122388 0011F2E8 C0 02 98 00 */ lfs f0, lbl_805AB520@sda21(r2) +/* 8012238C 0011F2EC EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80122390 0011F2F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80122394 0011F2F4 41 81 00 1C */ bgt lbl_801223B0 +/* 80122398 0011F2F8 C0 02 98 04 */ lfs f0, lbl_805AB524@sda21(r2) +/* 8012239C 0011F2FC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 801223A0 0011F300 40 80 01 AC */ bge lbl_8012254C +/* 801223A4 0011F304 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 801223A8 0011F308 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801223AC 0011F30C 40 81 01 A0 */ ble lbl_8012254C +lbl_801223B0: +/* 801223B0 0011F310 38 00 00 00 */ li r0, 0 +/* 801223B4 0011F314 80 AD 8A C8 */ lwz r5, lbl_805A7688@sda21(r13) +/* 801223B8 0011F318 90 01 00 6C */ stw r0, 0x6c(r1) +/* 801223BC 0011F31C 38 60 00 00 */ li r3, 0 +/* 801223C0 0011F320 38 80 00 01 */ li r4, 1 +/* 801223C4 0011F324 90 01 00 68 */ stw r0, 0x68(r1) +/* 801223C8 0011F328 48 26 7B 2D */ bl __shl2i +/* 801223CC 0011F32C 80 01 00 68 */ lwz r0, 0x68(r1) +/* 801223D0 0011F330 80 C1 00 6C */ lwz r6, 0x6c(r1) +/* 801223D4 0011F334 7C 00 1B 78 */ or r0, r0, r3 +/* 801223D8 0011F338 80 AD 8A CC */ lwz r5, lbl_805A768C@sda21(r13) +/* 801223DC 0011F33C 7C C4 23 78 */ or r4, r6, r4 +/* 801223E0 0011F340 90 01 00 68 */ stw r0, 0x68(r1) +/* 801223E4 0011F344 38 60 00 00 */ li r3, 0 +/* 801223E8 0011F348 90 81 00 6C */ stw r4, 0x6c(r1) +/* 801223EC 0011F34C 38 80 00 01 */ li r4, 1 +/* 801223F0 0011F350 48 26 7B 05 */ bl __shl2i +/* 801223F4 0011F354 80 01 00 68 */ lwz r0, 0x68(r1) +/* 801223F8 0011F358 38 A1 00 BC */ addi r5, r1, 0xbc +/* 801223FC 0011F35C 80 E1 00 6C */ lwz r7, 0x6c(r1) +/* 80122400 0011F360 38 C1 01 44 */ addi r6, r1, 0x144 +/* 80122404 0011F364 7C 00 1B 78 */ or r0, r0, r3 +/* 80122408 0011F368 C0 41 02 4C */ lfs f2, 0x24c(r1) +/* 8012240C 0011F36C 7C E4 23 78 */ or r4, r7, r4 +/* 80122410 0011F370 C0 21 02 5C */ lfs f1, 0x25c(r1) +/* 80122414 0011F374 C0 01 02 6C */ lfs f0, 0x26c(r1) +/* 80122418 0011F378 7F A3 EB 78 */ mr r3, r29 +/* 8012241C 0011F37C 90 81 00 6C */ stw r4, 0x6c(r1) +/* 80122420 0011F380 7F C4 F3 78 */ mr r4, r30 +/* 80122424 0011F384 38 E1 00 68 */ addi r7, r1, 0x68 +/* 80122428 0011F388 90 01 00 68 */ stw r0, 0x68(r1) +/* 8012242C 0011F38C D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 80122430 0011F390 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 80122434 0011F394 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 80122438 0011F398 48 00 6E 59 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList +/* 8012243C 0011F39C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80122440 0011F3A0 41 82 01 0C */ beq lbl_8012254C +/* 80122444 0011F3A4 FC 20 F8 90 */ fmr f1, f31 +/* 80122448 0011F3A8 C0 42 98 04 */ lfs f2, lbl_805AB524@sda21(r2) +/* 8012244C 0011F3AC 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80122450 0011F3B0 38 9D 07 C4 */ addi r4, r29, 0x7c4 +/* 80122454 0011F3B4 48 08 AC F1 */ bl GetDistanceCompensatedError__10CBurstFireCFff +/* 80122458 0011F3B8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 8012245C 0011F3BC 38 9D 00 34 */ addi r4, r29, 0x34 +/* 80122460 0011F3C0 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 80122464 0011F3C4 48 1F 06 1D */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 80122468 0011F3C8 C0 61 01 44 */ lfs f3, 0x144(r1) +/* 8012246C 0011F3CC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80122470 0011F3D0 C0 41 00 B0 */ lfs f2, 0xb0(r1) +/* 80122474 0011F3D4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80122478 0011F3D8 C0 21 01 48 */ lfs f1, 0x148(r1) +/* 8012247C 0011F3DC 38 61 01 50 */ addi r3, r1, 0x150 +/* 80122480 0011F3E0 EC C3 10 2A */ fadds f6, f3, f2 +/* 80122484 0011F3E4 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 80122488 0011F3E8 C0 81 01 4C */ lfs f4, 0x14c(r1) +/* 8012248C 0011F3EC 38 81 00 98 */ addi r4, r1, 0x98 +/* 80122490 0011F3F0 EC A1 00 2A */ fadds f5, f1, f0 +/* 80122494 0011F3F4 C0 61 00 B8 */ lfs f3, 0xb8(r1) +/* 80122498 0011F3F8 EC 64 18 2A */ fadds f3, f4, f3 +/* 8012249C 0011F3FC C0 41 02 4C */ lfs f2, 0x24c(r1) +/* 801224A0 0011F400 C0 21 02 5C */ lfs f1, 0x25c(r1) +/* 801224A4 0011F404 38 A1 01 44 */ addi r5, r1, 0x144 +/* 801224A8 0011F408 C0 01 02 6C */ lfs f0, 0x26c(r1) +/* 801224AC 0011F40C D0 C1 01 44 */ stfs f6, 0x144(r1) +/* 801224B0 0011F410 D0 A1 01 48 */ stfs f5, 0x148(r1) +/* 801224B4 0011F414 D0 61 01 4C */ stfs f3, 0x14c(r1) +/* 801224B8 0011F418 D0 41 00 98 */ stfs f2, 0x98(r1) +/* 801224BC 0011F41C D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 801224C0 0011F420 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 801224C4 0011F424 48 1F 16 4D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 801224C8 0011F428 38 61 02 10 */ addi r3, r1, 0x210 +/* 801224CC 0011F42C 38 81 01 50 */ addi r4, r1, 0x150 +/* 801224D0 0011F430 48 1F 06 A5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801224D4 0011F434 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 801224D8 0011F438 39 60 00 00 */ li r11, 0 +/* 801224DC 0011F43C 99 61 00 94 */ stb r11, 0x94(r1) +/* 801224E0 0011F440 38 01 00 7C */ addi r0, r1, 0x7c +/* 801224E4 0011F444 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) +/* 801224E8 0011F448 7F A3 EB 78 */ mr r3, r29 +/* 801224EC 0011F44C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 801224F0 0011F450 7F C5 F3 78 */ mr r5, r30 +/* 801224F4 0011F454 38 81 02 10 */ addi r4, r1, 0x210 +/* 801224F8 0011F458 39 21 00 88 */ addi r9, r1, 0x88 +/* 801224FC 0011F45C D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80122500 0011F460 38 C0 00 06 */ li r6, 6 +/* 80122504 0011F464 38 E0 00 00 */ li r7, 0 +/* 80122508 0011F468 39 00 00 00 */ li r8, 0 +/* 8012250C 0011F46C D0 01 00 84 */ stfs f0, 0x84(r1) +/* 80122510 0011F470 91 61 00 08 */ stw r11, 8(r1) +/* 80122514 0011F474 90 01 00 0C */ stw r0, 0xc(r1) +/* 80122518 0011F478 4B F5 54 E1 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 8012251C 0011F47C 88 01 00 94 */ lbz r0, 0x94(r1) +/* 80122520 0011F480 28 00 00 00 */ cmplwi r0, 0 +/* 80122524 0011F484 41 82 00 1C */ beq lbl_80122540 +/* 80122528 0011F488 34 61 00 88 */ addic. r3, r1, 0x88 +/* 8012252C 0011F48C 41 82 00 14 */ beq lbl_80122540 +/* 80122530 0011F490 28 03 00 00 */ cmplwi r3, 0 +/* 80122534 0011F494 41 82 00 0C */ beq lbl_80122540 +/* 80122538 0011F498 38 80 00 00 */ li r4, 0 +/* 8012253C 0011F49C 48 21 E9 05 */ bl __dt__6CTokenFv +lbl_80122540: +/* 80122540 0011F4A0 38 00 00 00 */ li r0, 0 +/* 80122544 0011F4A4 3B E0 00 01 */ li r31, 1 +/* 80122548 0011F4A8 98 01 00 94 */ stb r0, 0x94(r1) +lbl_8012254C: +/* 8012254C 0011F4AC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80122550 0011F4B0 41 82 01 6C */ beq lbl_801226BC +/* 80122554 0011F4B4 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80122558 0011F4B8 48 01 7E FD */ bl GetPASDatabase__15CBodyControllerCFv +/* 8012255C 0011F4BC 7C 60 1B 78 */ mr r0, r3 +/* 80122560 0011F4C0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80122564 0011F4C4 7C 1C 03 78 */ mr r28, r0 +/* 80122568 0011F4C8 48 1C 0B 15 */ bl NoParameter__12CPASAnimParmFv +/* 8012256C 0011F4CC 38 61 00 30 */ addi r3, r1, 0x30 +/* 80122570 0011F4D0 48 1C 0B 0D */ bl NoParameter__12CPASAnimParmFv +/* 80122574 0011F4D4 38 61 00 38 */ addi r3, r1, 0x38 +/* 80122578 0011F4D8 48 1C 0B 05 */ bl NoParameter__12CPASAnimParmFv +/* 8012257C 0011F4DC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80122580 0011F4E0 48 1C 0A FD */ bl NoParameter__12CPASAnimParmFv +/* 80122584 0011F4E4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80122588 0011F4E8 48 1C 0A F5 */ bl NoParameter__12CPASAnimParmFv +/* 8012258C 0011F4EC 38 61 00 50 */ addi r3, r1, 0x50 +/* 80122590 0011F4F0 48 1C 0A ED */ bl NoParameter__12CPASAnimParmFv +/* 80122594 0011F4F4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80122598 0011F4F8 48 1C 0A E5 */ bl NoParameter__12CPASAnimParmFv +/* 8012259C 0011F4FC 38 61 00 60 */ addi r3, r1, 0x60 +/* 801225A0 0011F500 38 80 00 02 */ li r4, 2 +/* 801225A4 0011F504 48 1C 09 E1 */ bl FromEnum__12CPASAnimParmFi +/* 801225A8 0011F508 38 61 00 30 */ addi r3, r1, 0x30 +/* 801225AC 0011F50C 38 01 00 28 */ addi r0, r1, 0x28 +/* 801225B0 0011F510 90 61 00 08 */ stw r3, 8(r1) +/* 801225B4 0011F514 38 61 02 70 */ addi r3, r1, 0x270 +/* 801225B8 0011F518 38 A1 00 60 */ addi r5, r1, 0x60 +/* 801225BC 0011F51C 38 C1 00 58 */ addi r6, r1, 0x58 +/* 801225C0 0011F520 90 01 00 0C */ stw r0, 0xc(r1) +/* 801225C4 0011F524 38 E1 00 50 */ addi r7, r1, 0x50 +/* 801225C8 0011F528 39 01 00 48 */ addi r8, r1, 0x48 +/* 801225CC 0011F52C 39 21 00 40 */ addi r9, r1, 0x40 +/* 801225D0 0011F530 39 41 00 38 */ addi r10, r1, 0x38 +/* 801225D4 0011F534 38 80 00 18 */ li r4, 0x18 +/* 801225D8 0011F538 4B F5 AC ED */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 801225DC 0011F53C 80 DE 09 00 */ lwz r6, 0x900(r30) +/* 801225E0 0011F540 7F 84 E3 78 */ mr r4, r28 +/* 801225E4 0011F544 38 61 00 20 */ addi r3, r1, 0x20 +/* 801225E8 0011F548 38 A1 02 70 */ addi r5, r1, 0x270 +/* 801225EC 0011F54C 38 E0 FF FF */ li r7, -1 +/* 801225F0 0011F550 48 1C 2A 71 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 801225F4 0011F554 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 801225F8 0011F558 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801225FC 0011F55C 80 81 00 24 */ lwz r4, 0x24(r1) +/* 80122600 0011F560 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80122604 0011F564 40 81 00 1C */ ble lbl_80122620 +/* 80122608 0011F568 80 7D 00 64 */ lwz r3, 0x64(r29) +/* 8012260C 0011F56C 38 A0 00 00 */ li r5, 0 +/* 80122610 0011F570 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) +/* 80122614 0011F574 38 C0 00 01 */ li r6, 1 +/* 80122618 0011F578 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8012261C 0011F57C 4B F0 7B B5 */ bl AddAdditiveAnimation__9CAnimDataFUifbb +lbl_80122620: +/* 80122620 0011F580 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80122624 0011F584 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80122628 0011F588 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 8012262C 0011F58C 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80122630 0011F590 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80122634 0011F594 38 61 00 14 */ addi r3, r1, 0x14 +/* 80122638 0011F598 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 8012263C 0011F59C 38 A1 00 70 */ addi r5, r1, 0x70 +/* 80122640 0011F5A0 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 80122644 0011F5A4 38 E0 00 01 */ li r7, 1 +/* 80122648 0011F5A8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8012264C 0011F5AC 39 00 00 00 */ li r8, 0 +/* 80122650 0011F5B0 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80122654 0011F5B4 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 80122658 0011F5B8 A0 9D 05 B0 */ lhz r4, 0x5b0(r29) +/* 8012265C 0011F5BC 48 1C 7C 55 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 80122660 0011F5C0 34 A1 02 74 */ addic. r5, r1, 0x274 +/* 80122664 0011F5C4 41 82 00 58 */ beq lbl_801226BC +/* 80122668 0011F5C8 80 C5 00 00 */ lwz r6, 0(r5) +/* 8012266C 0011F5CC 38 60 00 00 */ li r3, 0 +/* 80122670 0011F5D0 2C 06 00 00 */ cmpwi r6, 0 +/* 80122674 0011F5D4 40 81 00 40 */ ble lbl_801226B4 +/* 80122678 0011F5D8 2C 06 00 08 */ cmpwi r6, 8 +/* 8012267C 0011F5DC 38 86 FF F8 */ addi r4, r6, -8 +/* 80122680 0011F5E0 40 81 00 20 */ ble lbl_801226A0 +/* 80122684 0011F5E4 38 04 00 07 */ addi r0, r4, 7 +/* 80122688 0011F5E8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8012268C 0011F5EC 7C 09 03 A6 */ mtctr r0 +/* 80122690 0011F5F0 2C 04 00 00 */ cmpwi r4, 0 +/* 80122694 0011F5F4 40 81 00 0C */ ble lbl_801226A0 +lbl_80122698: +/* 80122698 0011F5F8 38 63 00 08 */ addi r3, r3, 8 +/* 8012269C 0011F5FC 42 00 FF FC */ bdnz lbl_80122698 +lbl_801226A0: +/* 801226A0 0011F600 7C 03 30 50 */ subf r0, r3, r6 +/* 801226A4 0011F604 7C 09 03 A6 */ mtctr r0 +/* 801226A8 0011F608 7C 03 30 00 */ cmpw r3, r6 +/* 801226AC 0011F60C 40 80 00 08 */ bge lbl_801226B4 +lbl_801226B0: +/* 801226B0 0011F610 42 00 00 00 */ bdnz lbl_801226B0 +lbl_801226B4: +/* 801226B4 0011F614 38 00 00 00 */ li r0, 0 +/* 801226B8 0011F618 90 05 00 00 */ stw r0, 0(r5) +lbl_801226BC: +/* 801226BC 0011F61C 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 801226C0 0011F620 E3 E1 02 D8 */ psq_l f31, 728(r1), 0, qr0 +/* 801226C4 0011F624 80 01 02 E4 */ lwz r0, 0x2e4(r1) +/* 801226C8 0011F628 CB E1 02 D0 */ lfd f31, 0x2d0(r1) +/* 801226CC 0011F62C 83 E1 02 CC */ lwz r31, 0x2cc(r1) +/* 801226D0 0011F630 83 C1 02 C8 */ lwz r30, 0x2c8(r1) +/* 801226D4 0011F634 83 A1 02 C4 */ lwz r29, 0x2c4(r1) +/* 801226D8 0011F638 83 81 02 C0 */ lwz r28, 0x2c0(r1) +/* 801226DC 0011F63C 7C 08 03 A6 */ mtlr r0 +/* 801226E0 0011F640 38 21 02 E0 */ addi r1, r1, 0x2e0 +/* 801226E4 0011F644 4E 80 00 20 */ blr + +.global ProjectileInfo__12CSpacePirateFv +ProjectileInfo__12CSpacePirateFv: +/* 801226E8 0011F648 38 63 05 88 */ addi r3, r3, 0x588 +/* 801226EC 0011F64C 4E 80 00 20 */ blr + +.global UpdateLeashTimer__12CSpacePirateFf +UpdateLeashTimer__12CSpacePirateFf: +/* 801226F0 0011F650 80 83 04 50 */ lwz r4, 0x450(r3) +/* 801226F4 0011F654 88 04 03 00 */ lbz r0, 0x300(r4) +/* 801226F8 0011F658 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 801226FC 0011F65C 4C 82 00 20 */ bnelr +/* 80122700 0011F660 C0 44 03 24 */ lfs f2, 0x324(r4) +/* 80122704 0011F664 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80122708 0011F668 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8012270C 0011F66C 4D 81 00 20 */ bgtlr +/* 80122710 0011F670 C0 03 08 DC */ lfs f0, 0x8dc(r3) +/* 80122714 0011F674 EC 00 08 2A */ fadds f0, f0, f1 +/* 80122718 0011F678 D0 03 08 DC */ stfs f0, 0x8dc(r3) +/* 8012271C 0011F67C 4E 80 00 20 */ blr + +.global Leash__12CSpacePirateFR13CStateManagerf +Leash__12CSpacePirateFR13CStateManagerf: +/* 80122720 0011F680 C0 03 08 DC */ lfs f0, 0x8dc(r3) +/* 80122724 0011F684 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80122728 0011F688 7C 00 00 26 */ mfcr r0 +/* 8012272C 0011F68C 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 80122730 0011F690 4E 80 00 20 */ blr + +.global Jump__12CSpacePirateFR13CStateManager9EStateMsgf +Jump__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80122734 0011F694 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80122738 0011F698 7C 08 02 A6 */ mflr r0 +/* 8012273C 0011F69C 90 01 00 34 */ stw r0, 0x34(r1) +/* 80122740 0011F6A0 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80122744 0011F6A4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80122748 0011F6A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8012274C 0011F6AC FF E0 08 90 */ fmr f31, f1 +/* 80122750 0011F6B0 2C 05 00 01 */ cmpwi r5, 1 +/* 80122754 0011F6B4 7C 7F 1B 78 */ mr r31, r3 +/* 80122758 0011F6B8 41 82 00 6C */ beq lbl_801227C4 +/* 8012275C 0011F6BC 40 80 00 10 */ bge lbl_8012276C +/* 80122760 0011F6C0 2C 05 00 00 */ cmpwi r5, 0 +/* 80122764 0011F6C4 40 80 00 14 */ bge lbl_80122778 +/* 80122768 0011F6C8 48 00 00 A4 */ b lbl_8012280C +lbl_8012276C: +/* 8012276C 0011F6CC 2C 05 00 03 */ cmpwi r5, 3 +/* 80122770 0011F6D0 40 80 00 9C */ bge lbl_8012280C +/* 80122774 0011F6D4 48 00 00 90 */ b lbl_80122804 +lbl_80122778: +/* 80122778 0011F6D8 38 00 00 01 */ li r0, 1 +/* 8012277C 0011F6DC 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 80122780 0011F6E0 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80122784 0011F6E4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80122788 0011F6E8 C4 23 67 00 */ lfsu f1, lbl_805A6700@l(r3) +/* 8012278C 0011F6EC C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 80122790 0011F6F0 C0 BF 00 50 */ lfs f5, 0x50(r31) +/* 80122794 0011F6F4 C0 83 00 04 */ lfs f4, 4(r3) +/* 80122798 0011F6F8 EC 22 08 2A */ fadds f1, f2, f1 +/* 8012279C 0011F6FC C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 801227A0 0011F700 C0 43 00 08 */ lfs f2, 8(r3) +/* 801227A4 0011F704 EC 85 20 2A */ fadds f4, f5, f4 +/* 801227A8 0011F708 D0 3F 08 28 */ stfs f1, 0x828(r31) +/* 801227AC 0011F70C EC 23 10 2A */ fadds f1, f3, f2 +/* 801227B0 0011F710 D0 9F 08 2C */ stfs f4, 0x82c(r31) +/* 801227B4 0011F714 D0 3F 08 30 */ stfs f1, 0x830(r31) +/* 801227B8 0011F718 D0 1F 08 24 */ stfs f0, 0x824(r31) +/* 801227BC 0011F71C D0 1F 08 DC */ stfs f0, 0x8dc(r31) +/* 801227C0 0011F720 48 00 00 4C */ b lbl_8012280C +lbl_801227C4: +/* 801227C4 0011F724 3C A0 80 3E */ lis r5, lbl_803E07F4@ha +/* 801227C8 0011F728 38 C1 00 08 */ addi r6, r1, 8 +/* 801227CC 0011F72C 39 45 07 F4 */ addi r10, r5, lbl_803E07F4@l +/* 801227D0 0011F730 38 A0 00 0D */ li r5, 0xd +/* 801227D4 0011F734 81 2A 00 00 */ lwz r9, 0(r10) +/* 801227D8 0011F738 38 E0 00 00 */ li r7, 0 +/* 801227DC 0011F73C 81 0A 00 04 */ lwz r8, 4(r10) +/* 801227E0 0011F740 80 0A 00 08 */ lwz r0, 8(r10) +/* 801227E4 0011F744 91 21 00 08 */ stw r9, 8(r1) +/* 801227E8 0011F748 91 01 00 0C */ stw r8, 0xc(r1) +/* 801227EC 0011F74C 90 01 00 10 */ stw r0, 0x10(r1) +/* 801227F0 0011F750 4B F5 9F C5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 801227F4 0011F754 FC 20 F8 90 */ fmr f1, f31 +/* 801227F8 0011F758 7F E3 FB 78 */ mr r3, r31 +/* 801227FC 0011F75C 4B FF FE F5 */ bl UpdateLeashTimer__12CSpacePirateFf +/* 80122800 0011F760 48 00 00 0C */ b lbl_8012280C +lbl_80122804: +/* 80122804 0011F764 38 00 00 00 */ li r0, 0 +/* 80122808 0011F768 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_8012280C: +/* 8012280C 0011F76C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80122810 0011F770 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80122814 0011F774 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80122818 0011F778 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8012281C 0011F77C 7C 08 03 A6 */ mtlr r0 +/* 80122820 0011F780 38 21 00 30 */ addi r1, r1, 0x30 +/* 80122824 0011F784 4E 80 00 20 */ blr + +.global TryJumpInLoop__10CPatternedFR13CStateManageri +TryJumpInLoop__10CPatternedFR13CStateManageri: +/* 80122828 0011F788 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8012282C 0011F78C 7C 08 02 A6 */ mflr r0 +/* 80122830 0011F790 3C E0 80 3E */ lis r7, lbl_803DAA68@ha +/* 80122834 0011F794 39 00 00 10 */ li r8, 0x10 +/* 80122838 0011F798 90 01 00 44 */ stw r0, 0x44(r1) +/* 8012283C 0011F79C 39 27 AA 68 */ addi r9, r7, lbl_803DAA68@l +/* 80122840 0011F7A0 3C E0 80 3E */ lis r7, lbl_803DA9FC@ha +/* 80122844 0011F7A4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80122848 0011F7A8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8012284C 0011F7AC 38 00 00 00 */ li r0, 0 +/* 80122850 0011F7B0 88 C1 00 2C */ lbz r6, 0x2c(r1) +/* 80122854 0011F7B4 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 +/* 80122858 0011F7B8 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 8012285C 0011F7BC 38 E7 A9 FC */ addi r7, r7, lbl_803DA9FC@l +/* 80122860 0011F7C0 81 43 04 50 */ lwz r10, 0x450(r3) +/* 80122864 0011F7C4 54 C0 06 3E */ clrlwi r0, r6, 0x18 +/* 80122868 0011F7C8 C0 A3 02 E0 */ lfs f5, 0x2e0(r3) +/* 8012286C 0011F7CC C0 83 02 E4 */ lfs f4, 0x2e4(r3) +/* 80122870 0011F7D0 3B EA 00 04 */ addi r31, r10, 4 +/* 80122874 0011F7D4 C0 63 02 E8 */ lfs f3, 0x2e8(r3) +/* 80122878 0011F7D8 38 60 00 01 */ li r3, 1 +/* 8012287C 0011F7DC C0 24 00 04 */ lfs f1, 4(r4) +/* 80122880 0011F7E0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80122884 0011F7E4 C0 04 00 08 */ lfs f0, 8(r4) +/* 80122888 0011F7E8 7F E3 FB 78 */ mr r3, r31 +/* 8012288C 0011F7EC 91 21 00 08 */ stw r9, 8(r1) +/* 80122890 0011F7F0 38 80 00 10 */ li r4, 0x10 +/* 80122894 0011F7F4 98 C1 00 2C */ stb r6, 0x2c(r1) +/* 80122898 0011F7F8 91 01 00 0C */ stw r8, 0xc(r1) +/* 8012289C 0011F7FC 90 E1 00 08 */ stw r7, 8(r1) +/* 801228A0 0011F800 90 A1 00 10 */ stw r5, 0x10(r1) +/* 801228A4 0011F804 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 801228A8 0011F808 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 801228AC 0011F80C D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 801228B0 0011F810 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 801228B4 0011F814 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 801228B8 0011F818 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 801228BC 0011F81C 98 01 00 2C */ stb r0, 0x2c(r1) +/* 801228C0 0011F820 48 00 EB 79 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801228C4 0011F824 80 01 00 0C */ lwz r0, 0xc(r1) +/* 801228C8 0011F828 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha +/* 801228CC 0011F82C 38 83 A9 FC */ addi r4, r3, lbl_803DA9FC@l +/* 801228D0 0011F830 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801228D4 0011F834 90 1F 01 D4 */ stw r0, 0x1d4(r31) +/* 801228D8 0011F838 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801228DC 0011F83C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 801228E0 0011F840 80 61 00 14 */ lwz r3, 0x14(r1) +/* 801228E4 0011F844 90 BF 01 D8 */ stw r5, 0x1d8(r31) +/* 801228E8 0011F848 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 801228EC 0011F84C 90 7F 01 DC */ stw r3, 0x1dc(r31) +/* 801228F0 0011F850 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 801228F4 0011F854 90 BF 01 E0 */ stw r5, 0x1e0(r31) +/* 801228F8 0011F858 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 801228FC 0011F85C 90 7F 01 E4 */ stw r3, 0x1e4(r31) +/* 80122900 0011F860 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80122904 0011F864 90 BF 01 E8 */ stw r5, 0x1e8(r31) +/* 80122908 0011F868 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8012290C 0011F86C 90 7F 01 EC */ stw r3, 0x1ec(r31) +/* 80122910 0011F870 88 61 00 2C */ lbz r3, 0x2c(r1) +/* 80122914 0011F874 90 BF 01 F0 */ stw r5, 0x1f0(r31) +/* 80122918 0011F878 90 81 00 08 */ stw r4, 8(r1) +/* 8012291C 0011F87C 98 7F 01 F4 */ stb r3, 0x1f4(r31) +/* 80122920 0011F880 90 01 00 08 */ stw r0, 8(r1) +/* 80122924 0011F884 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80122928 0011F888 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8012292C 0011F88C 7C 08 03 A6 */ mtlr r0 +/* 80122930 0011F890 38 21 00 40 */ addi r1, r1, 0x40 +/* 80122934 0011F894 4E 80 00 20 */ blr + +.global Landed__12CSpacePirateFR13CStateManagerf +Landed__12CSpacePirateFR13CStateManagerf: +/* 80122938 0011F898 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012293C 0011F89C 7C 08 02 A6 */ mflr r0 +/* 80122940 0011F8A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80122944 0011F8A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80122948 0011F8A8 81 8C 02 B8 */ lwz r12, 0x2b8(r12) +/* 8012294C 0011F8AC 7D 89 03 A6 */ mtctr r12 +/* 80122950 0011F8B0 4E 80 04 21 */ bctrl +/* 80122954 0011F8B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80122958 0011F8B8 7C 08 03 A6 */ mtlr r0 +/* 8012295C 0011F8BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80122960 0011F8C0 4E 80 00 20 */ blr + +.global OffLine__12CSpacePirateFR13CStateManagerf +OffLine__12CSpacePirateFR13CStateManagerf: +/* 80122964 0011F8C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80122968 0011F8C8 7C 08 02 A6 */ mflr r0 +/* 8012296C 0011F8CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80122970 0011F8D0 81 83 00 00 */ lwz r12, 0(r3) +/* 80122974 0011F8D4 81 8C 02 B8 */ lwz r12, 0x2b8(r12) +/* 80122978 0011F8D8 7D 89 03 A6 */ mtctr r12 +/* 8012297C 0011F8DC 4E 80 04 21 */ bctrl +/* 80122980 0011F8E0 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 80122984 0011F8E4 7C 00 00 34 */ cntlzw r0, r0 +/* 80122988 0011F8E8 54 03 D9 7E */ srwi r3, r0, 5 +/* 8012298C 0011F8EC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80122990 0011F8F0 7C 08 03 A6 */ mtlr r0 +/* 80122994 0011F8F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80122998 0011F8F8 4E 80 00 20 */ blr + +.global Deactivate__12CSpacePirateFR13CStateManager9EStateMsgf +Deactivate__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 8012299C 0011F8FC 2C 05 00 00 */ cmpwi r5, 0 +/* 801229A0 0011F900 4C 82 00 20 */ bnelr +/* 801229A4 0011F904 88 03 04 01 */ lbz r0, 0x401(r3) +/* 801229A8 0011F908 38 80 00 01 */ li r4, 1 +/* 801229AC 0011F90C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 801229B0 0011F910 98 03 04 01 */ stb r0, 0x401(r3) +/* 801229B4 0011F914 4E 80 00 20 */ blr + +.global Dead__12CSpacePirateFR13CStateManager9EStateMsgf +Dead__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801229B8 0011F918 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801229BC 0011F91C 7C 08 02 A6 */ mflr r0 +/* 801229C0 0011F920 90 01 00 24 */ stw r0, 0x24(r1) +/* 801229C4 0011F924 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801229C8 0011F928 7C BF 2B 78 */ mr r31, r5 +/* 801229CC 0011F92C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801229D0 0011F930 7C 9E 23 78 */ mr r30, r4 +/* 801229D4 0011F934 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801229D8 0011F938 7C 7D 1B 78 */ mr r29, r3 +/* 801229DC 0011F93C 48 0D 3F E9 */ bl Dead__10CPatternedFR13CStateManager9EStateMsgf +/* 801229E0 0011F940 2C 1F 00 01 */ cmpwi r31, 1 +/* 801229E4 0011F944 41 82 00 44 */ beq lbl_80122A28 +/* 801229E8 0011F948 40 80 00 B0 */ bge lbl_80122A98 +/* 801229EC 0011F94C 2C 1F 00 00 */ cmpwi r31, 0 +/* 801229F0 0011F950 40 80 00 0C */ bge lbl_801229FC +/* 801229F4 0011F954 48 00 00 A4 */ b lbl_80122A98 +/* 801229F8 0011F958 48 00 00 A0 */ b lbl_80122A98 +lbl_801229FC: +/* 801229FC 0011F95C 38 7D 07 64 */ addi r3, r29, 0x764 +/* 80122A00 0011F960 38 80 00 00 */ li r4, 0 +/* 80122A04 0011F964 48 05 28 21 */ bl SetActive__13CBoneTrackingFb +/* 80122A08 0011F968 7F A3 EB 78 */ mr r3, r29 +/* 80122A0C 0011F96C 7F C4 F3 78 */ mr r4, r30 +/* 80122A10 0011F970 38 A0 00 00 */ li r5, 0 +/* 80122A14 0011F974 48 00 70 01 */ bl SetEyeParticleActive__12CSpacePirateFR13CStateManagerb +/* 80122A18 0011F978 7F A3 EB 78 */ mr r3, r29 +/* 80122A1C 0011F97C 7F C4 F3 78 */ mr r4, r30 +/* 80122A20 0011F980 48 00 6C 19 */ bl SquadReset__12CSpacePirateFR13CStateManager +/* 80122A24 0011F984 48 00 00 74 */ b lbl_80122A98 +lbl_80122A28: +/* 80122A28 0011F988 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 80122A2C 0011F98C 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80122A30 0011F990 2C 00 00 04 */ cmpwi r0, 4 +/* 80122A34 0011F994 40 82 00 64 */ bne lbl_80122A98 +/* 80122A38 0011F998 7F A3 EB 78 */ mr r3, r29 +/* 80122A3C 0011F99C 7F C6 F3 78 */ mr r6, r30 +/* 80122A40 0011F9A0 38 80 00 28 */ li r4, 0x28 +/* 80122A44 0011F9A4 38 A0 00 29 */ li r5, 0x29 +/* 80122A48 0011F9A8 4B F3 14 8D */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80122A4C 0011F9AC 7F A3 EB 78 */ mr r3, r29 +/* 80122A50 0011F9B0 7F C7 F3 78 */ mr r7, r30 +/* 80122A54 0011F9B4 38 80 00 25 */ li r4, 0x25 +/* 80122A58 0011F9B8 38 A0 00 13 */ li r5, 0x13 +/* 80122A5C 0011F9BC 38 C0 00 30 */ li r6, 0x30 +/* 80122A60 0011F9C0 4B F3 13 8D */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80122A64 0011F9C4 7F A3 EB 78 */ mr r3, r29 +/* 80122A68 0011F9C8 7F C5 F3 78 */ mr r5, r30 +/* 80122A6C 0011F9CC 38 80 00 12 */ li r4, 0x12 +/* 80122A70 0011F9D0 4B F3 18 E1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80122A74 0011F9D4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80122A78 0011F9D8 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) +/* 80122A7C 0011F9DC 7F A3 EB 78 */ mr r3, r29 +/* 80122A80 0011F9E0 D0 1D 01 50 */ stfs f0, 0x150(r29) +/* 80122A84 0011F9E4 C0 04 00 04 */ lfs f0, 4(r4) +/* 80122A88 0011F9E8 D0 1D 01 54 */ stfs f0, 0x154(r29) +/* 80122A8C 0011F9EC C0 04 00 08 */ lfs f0, 8(r4) +/* 80122A90 0011F9F0 D0 1D 01 58 */ stfs f0, 0x158(r29) +/* 80122A94 0011F9F4 4B FF 88 E5 */ bl Stop__13CPhysicsActorFv +lbl_80122A98: +/* 80122A98 0011F9F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80122A9C 0011F9FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80122AA0 0011FA00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80122AA4 0011FA04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80122AA8 0011FA08 7C 08 03 A6 */ mtlr r0 +/* 80122AAC 0011FA0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80122AB0 0011FA10 4E 80 00 20 */ blr + +.global Bounce__12CSpacePirateFR13CStateManager9EStateMsgf +Bounce__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80122AB4 0011FA14 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80122AB8 0011FA18 7C 08 02 A6 */ mflr r0 +/* 80122ABC 0011FA1C 2C 05 00 01 */ cmpwi r5, 1 +/* 80122AC0 0011FA20 90 01 00 64 */ stw r0, 0x64(r1) +/* 80122AC4 0011FA24 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80122AC8 0011FA28 7C 9F 23 78 */ mr r31, r4 +/* 80122ACC 0011FA2C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80122AD0 0011FA30 7C 7E 1B 78 */ mr r30, r3 +/* 80122AD4 0011FA34 41 82 01 60 */ beq lbl_80122C34 +/* 80122AD8 0011FA38 40 80 01 8C */ bge lbl_80122C64 +/* 80122ADC 0011FA3C 2C 05 00 00 */ cmpwi r5, 0 +/* 80122AE0 0011FA40 40 80 00 0C */ bge lbl_80122AEC +/* 80122AE4 0011FA44 48 00 01 80 */ b lbl_80122C64 +/* 80122AE8 0011FA48 48 00 01 7C */ b lbl_80122C64 +lbl_80122AEC: +/* 80122AEC 0011FA4C A0 1E 08 40 */ lhz r0, 0x840(r30) +/* 80122AF0 0011FA50 7F E3 FB 78 */ mr r3, r31 +/* 80122AF4 0011FA54 38 81 00 0C */ addi r4, r1, 0xc +/* 80122AF8 0011FA58 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80122AFC 0011FA5C 4B F2 9A A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80122B00 0011FA60 7C 64 1B 78 */ mr r4, r3 +/* 80122B04 0011FA64 38 61 00 1C */ addi r3, r1, 0x1c +/* 80122B08 0011FA68 4B F8 8B D9 */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" +/* 80122B0C 0011FA6C 80 63 00 04 */ lwz r3, 4(r3) +/* 80122B10 0011FA70 28 03 00 00 */ cmplwi r3, 0 +/* 80122B14 0011FA74 41 82 01 50 */ beq lbl_80122C64 +/* 80122B18 0011FA78 A0 03 01 0E */ lhz r0, 0x10e(r3) +/* 80122B1C 0011FA7C 7F E3 FB 78 */ mr r3, r31 +/* 80122B20 0011FA80 38 81 00 08 */ addi r4, r1, 8 +/* 80122B24 0011FA84 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80122B28 0011FA88 B0 01 00 08 */ sth r0, 8(r1) +/* 80122B2C 0011FA8C 4B F2 9A 79 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80122B30 0011FA90 7C 64 1B 78 */ mr r4, r3 +/* 80122B34 0011FA94 38 61 00 14 */ addi r3, r1, 0x14 +/* 80122B38 0011FA98 4B F8 3A 15 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80122B3C 0011FA9C 81 03 00 04 */ lwz r8, 4(r3) +/* 80122B40 0011FAA0 28 08 00 00 */ cmplwi r8, 0 +/* 80122B44 0011FAA4 41 82 01 20 */ beq lbl_80122C64 +/* 80122B48 0011FAA8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80122B4C 0011FAAC 88 A1 00 48 */ lbz r5, 0x48(r1) +/* 80122B50 0011FAB0 38 00 00 01 */ li r0, 1 +/* 80122B54 0011FAB4 80 FE 04 50 */ lwz r7, 0x450(r30) +/* 80122B58 0011FAB8 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 +/* 80122B5C 0011FABC 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l +/* 80122B60 0011FAC0 C0 A8 00 60 */ lfs f5, 0x60(r8) +/* 80122B64 0011FAC4 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha +/* 80122B68 0011FAC8 C0 88 00 50 */ lfs f4, 0x50(r8) +/* 80122B6C 0011FACC 38 C0 00 00 */ li r6, 0 +/* 80122B70 0011FAD0 C0 68 00 40 */ lfs f3, 0x40(r8) +/* 80122B74 0011FAD4 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 80122B78 0011FAD8 C0 5E 08 28 */ lfs f2, 0x828(r30) +/* 80122B7C 0011FADC 39 00 00 10 */ li r8, 0x10 +/* 80122B80 0011FAE0 C0 3E 08 2C */ lfs f1, 0x82c(r30) +/* 80122B84 0011FAE4 3B E7 00 04 */ addi r31, r7, 4 +/* 80122B88 0011FAE8 C0 1E 08 30 */ lfs f0, 0x830(r30) +/* 80122B8C 0011FAEC 38 E3 A9 FC */ addi r7, r3, lbl_803DA9FC@l +/* 80122B90 0011FAF0 90 81 00 24 */ stw r4, 0x24(r1) +/* 80122B94 0011FAF4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80122B98 0011FAF8 7F E3 FB 78 */ mr r3, r31 +/* 80122B9C 0011FAFC 38 80 00 10 */ li r4, 0x10 +/* 80122BA0 0011FB00 98 A1 00 48 */ stb r5, 0x48(r1) +/* 80122BA4 0011FB04 91 01 00 28 */ stw r8, 0x28(r1) +/* 80122BA8 0011FB08 90 E1 00 24 */ stw r7, 0x24(r1) +/* 80122BAC 0011FB0C 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 80122BB0 0011FB10 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80122BB4 0011FB14 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80122BB8 0011FB18 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80122BBC 0011FB1C D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 80122BC0 0011FB20 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 80122BC4 0011FB24 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 80122BC8 0011FB28 98 01 00 48 */ stb r0, 0x48(r1) +/* 80122BCC 0011FB2C 48 00 E8 6D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80122BD0 0011FB30 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80122BD4 0011FB34 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha +/* 80122BD8 0011FB38 38 83 A9 FC */ addi r4, r3, lbl_803DA9FC@l +/* 80122BDC 0011FB3C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80122BE0 0011FB40 90 1F 01 D4 */ stw r0, 0x1d4(r31) +/* 80122BE4 0011FB44 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80122BE8 0011FB48 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 80122BEC 0011FB4C 80 61 00 30 */ lwz r3, 0x30(r1) +/* 80122BF0 0011FB50 90 BF 01 D8 */ stw r5, 0x1d8(r31) +/* 80122BF4 0011FB54 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 80122BF8 0011FB58 90 7F 01 DC */ stw r3, 0x1dc(r31) +/* 80122BFC 0011FB5C 80 61 00 38 */ lwz r3, 0x38(r1) +/* 80122C00 0011FB60 90 BF 01 E0 */ stw r5, 0x1e0(r31) +/* 80122C04 0011FB64 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 80122C08 0011FB68 90 7F 01 E4 */ stw r3, 0x1e4(r31) +/* 80122C0C 0011FB6C 80 61 00 40 */ lwz r3, 0x40(r1) +/* 80122C10 0011FB70 90 BF 01 E8 */ stw r5, 0x1e8(r31) +/* 80122C14 0011FB74 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 80122C18 0011FB78 90 7F 01 EC */ stw r3, 0x1ec(r31) +/* 80122C1C 0011FB7C 88 61 00 48 */ lbz r3, 0x48(r1) +/* 80122C20 0011FB80 90 BF 01 F0 */ stw r5, 0x1f0(r31) +/* 80122C24 0011FB84 90 81 00 24 */ stw r4, 0x24(r1) +/* 80122C28 0011FB88 98 7F 01 F4 */ stb r3, 0x1f4(r31) +/* 80122C2C 0011FB8C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80122C30 0011FB90 48 00 00 34 */ b lbl_80122C64 +lbl_80122C34: +/* 80122C34 0011FB94 C0 3E 03 38 */ lfs f1, 0x338(r30) +/* 80122C38 0011FB98 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) +/* 80122C3C 0011FB9C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80122C40 0011FBA0 40 81 00 24 */ ble lbl_80122C64 +/* 80122C44 0011FBA4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80122C48 0011FBA8 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80122C4C 0011FBAC 2C 00 00 0D */ cmpwi r0, 0xd +/* 80122C50 0011FBB0 41 82 00 14 */ beq lbl_80122C64 +/* 80122C54 0011FBB4 88 1E 03 48 */ lbz r0, 0x348(r30) +/* 80122C58 0011FBB8 38 60 00 01 */ li r3, 1 +/* 80122C5C 0011FBBC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80122C60 0011FBC0 98 1E 03 48 */ stb r0, 0x348(r30) +lbl_80122C64: +/* 80122C64 0011FBC4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80122C68 0011FBC8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80122C6C 0011FBCC 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80122C70 0011FBD0 7C 08 03 A6 */ mtlr r0 +/* 80122C74 0011FBD4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80122C78 0011FBD8 4E 80 00 20 */ blr + +.global PathFindEx__12CSpacePirateFR13CStateManager9EStateMsgf +PathFindEx__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80122C7C 0011FBDC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80122C80 0011FBE0 7C 08 02 A6 */ mflr r0 +/* 80122C84 0011FBE4 90 01 00 64 */ stw r0, 0x64(r1) +/* 80122C88 0011FBE8 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80122C8C 0011FBEC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80122C90 0011FBF0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80122C94 0011FBF4 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80122C98 0011FBF8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80122C9C 0011FBFC FF E0 08 90 */ fmr f31, f1 +/* 80122CA0 0011FC00 7C 7F 1B 78 */ mr r31, r3 +/* 80122CA4 0011FC04 7C 9D 23 78 */ mr r29, r4 +/* 80122CA8 0011FC08 7C BE 2B 78 */ mr r30, r5 +/* 80122CAC 0011FC0C 48 0D 3A 21 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 80122CB0 0011FC10 2C 1E 00 01 */ cmpwi r30, 1 +/* 80122CB4 0011FC14 41 82 00 38 */ beq lbl_80122CEC +/* 80122CB8 0011FC18 40 80 00 10 */ bge lbl_80122CC8 +/* 80122CBC 0011FC1C 2C 1E 00 00 */ cmpwi r30, 0 +/* 80122CC0 0011FC20 40 80 00 14 */ bge lbl_80122CD4 +/* 80122CC4 0011FC24 48 00 01 30 */ b lbl_80122DF4 +lbl_80122CC8: +/* 80122CC8 0011FC28 2C 1E 00 03 */ cmpwi r30, 3 +/* 80122CCC 0011FC2C 40 80 01 28 */ bge lbl_80122DF4 +/* 80122CD0 0011FC30 48 00 01 14 */ b lbl_80122DE4 +lbl_80122CD4: +/* 80122CD4 0011FC34 88 1F 06 39 */ lbz r0, 0x639(r31) +/* 80122CD8 0011FC38 38 60 00 00 */ li r3, 0 +/* 80122CDC 0011FC3C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80122CE0 0011FC40 98 1F 06 39 */ stb r0, 0x639(r31) +/* 80122CE4 0011FC44 90 7F 03 0C */ stw r3, 0x30c(r31) +/* 80122CE8 0011FC48 48 00 01 0C */ b lbl_80122DF4 +lbl_80122CEC: +/* 80122CEC 0011FC4C 7F E3 FB 78 */ mr r3, r31 +/* 80122CF0 0011FC50 7F A4 EB 78 */ mr r4, r29 +/* 80122CF4 0011FC54 48 00 5E DD */ bl AvoidActors__12CSpacePirateFR13CStateManager +/* 80122CF8 0011FC58 88 1F 06 39 */ lbz r0, 0x639(r31) +/* 80122CFC 0011FC5C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80122D00 0011FC60 40 82 00 F4 */ bne lbl_80122DF4 +/* 80122D04 0011FC64 A0 1F 08 40 */ lhz r0, 0x840(r31) +/* 80122D08 0011FC68 7F A3 EB 78 */ mr r3, r29 +/* 80122D0C 0011FC6C 38 81 00 08 */ addi r4, r1, 8 +/* 80122D10 0011FC70 B0 01 00 08 */ sth r0, 8(r1) +/* 80122D14 0011FC74 4B F2 98 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80122D18 0011FC78 7C 64 1B 78 */ mr r4, r3 +/* 80122D1C 0011FC7C 38 61 00 0C */ addi r3, r1, 0xc +/* 80122D20 0011FC80 4B F8 89 C1 */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" +/* 80122D24 0011FC84 83 C3 00 04 */ lwz r30, 4(r3) +/* 80122D28 0011FC88 28 1E 00 00 */ cmplwi r30, 0 +/* 80122D2C 0011FC8C 41 82 00 C8 */ beq lbl_80122DF4 +/* 80122D30 0011FC90 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80122D34 0011FC94 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 80122D38 0011FC98 48 01 11 75 */ bl GetMaxSpeed__14CBodyStateInfoCFv +/* 80122D3C 0011FC9C C0 42 98 0C */ lfs f2, lbl_805AB52C@sda21(r2) +/* 80122D40 0011FCA0 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 80122D44 0011FCA4 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) +/* 80122D48 0011FCA8 C0 83 00 04 */ lfs f4, 4(r3) +/* 80122D4C 0011FCAC EC 42 07 FA */ fmadds f2, f2, f31, f0 +/* 80122D50 0011FCB0 C0 A3 00 00 */ lfs f5, 0(r3) +/* 80122D54 0011FCB4 C0 63 00 08 */ lfs f3, 8(r3) +/* 80122D58 0011FCB8 C0 1F 07 A4 */ lfs f0, 0x7a4(r31) +/* 80122D5C 0011FCBC EC 42 01 32 */ fmuls f2, f2, f4 +/* 80122D60 0011FCC0 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80122D64 0011FCC4 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80122D68 0011FCC8 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 80122D6C 0011FCCC D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 80122D70 0011FCD0 D0 1F 07 54 */ stfs f0, 0x754(r31) +/* 80122D74 0011FCD4 C0 FF 00 50 */ lfs f7, 0x50(r31) +/* 80122D78 0011FCD8 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80122D7C 0011FCDC C0 7F 00 40 */ lfs f3, 0x40(r31) +/* 80122D80 0011FCE0 EC C7 00 28 */ fsubs f6, f7, f0 +/* 80122D84 0011FCE4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80122D88 0011FCE8 C1 1F 00 60 */ lfs f8, 0x60(r31) +/* 80122D8C 0011FCEC EC 83 00 28 */ fsubs f4, f3, f0 +/* 80122D90 0011FCF0 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80122D94 0011FCF4 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 80122D98 0011FCF8 EC A8 00 28 */ fsubs f5, f8, f0 +/* 80122D9C 0011FCFC D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80122DA0 0011FD00 EC 44 01 32 */ fmuls f2, f4, f4 +/* 80122DA4 0011FD04 C0 1F 07 54 */ lfs f0, 0x754(r31) +/* 80122DA8 0011FD08 EC 65 01 72 */ fmuls f3, f5, f5 +/* 80122DAC 0011FD0C D0 E1 00 18 */ stfs f7, 0x18(r1) +/* 80122DB0 0011FD10 EC 22 08 2A */ fadds f1, f2, f1 +/* 80122DB4 0011FD14 EC 00 00 32 */ fmuls f0, f0, f0 +/* 80122DB8 0011FD18 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 80122DBC 0011FD1C EC 23 08 2A */ fadds f1, f3, f1 +/* 80122DC0 0011FD20 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 80122DC4 0011FD24 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 80122DC8 0011FD28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80122DCC 0011FD2C D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 80122DD0 0011FD30 7C 60 00 26 */ mfcr r3 +/* 80122DD4 0011FD34 88 1F 06 39 */ lbz r0, 0x639(r31) +/* 80122DD8 0011FD38 50 60 2E F6 */ rlwimi r0, r3, 5, 0x1b, 0x1b +/* 80122DDC 0011FD3C 98 1F 06 39 */ stb r0, 0x639(r31) +/* 80122DE0 0011FD40 48 00 00 14 */ b lbl_80122DF4 +lbl_80122DE4: +/* 80122DE4 0011FD44 88 1F 06 39 */ lbz r0, 0x639(r31) +/* 80122DE8 0011FD48 38 60 00 00 */ li r3, 0 +/* 80122DEC 0011FD4C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80122DF0 0011FD50 98 1F 06 39 */ stb r0, 0x639(r31) +lbl_80122DF4: +/* 80122DF4 0011FD54 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80122DF8 0011FD58 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80122DFC 0011FD5C CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80122E00 0011FD60 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80122E04 0011FD64 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80122E08 0011FD68 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 80122E0C 0011FD6C 7C 08 03 A6 */ mtlr r0 +/* 80122E10 0011FD70 38 21 00 60 */ addi r1, r1, 0x60 +/* 80122E14 0011FD74 4E 80 00 20 */ blr + +.global BounceFind__12CSpacePirateFR13CStateManagerf +BounceFind__12CSpacePirateFR13CStateManagerf: +/* 80122E18 0011FD78 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80122E1C 0011FD7C 7C 08 02 A6 */ mflr r0 +/* 80122E20 0011FD80 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80122E24 0011FD84 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 80122E28 0011FD88 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80122E2C 0011FD8C DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80122E30 0011FD90 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 80122E34 0011FD94 BE E1 00 8C */ stmw r23, 0x8c(r1) +/* 80122E38 0011FD98 83 E4 08 40 */ lwz r31, 0x840(r4) +/* 80122E3C 0011FD9C 7C 9A 23 78 */ mr r26, r4 +/* 80122E40 0011FDA0 C3 C2 98 10 */ lfs f30, lbl_805AB530@sda21(r2) +/* 80122E44 0011FDA4 7C 79 1B 78 */ mr r25, r3 +/* 80122E48 0011FDA8 AB 7F 20 08 */ lha r27, 0x2008(r31) +/* 80122E4C 0011FDAC 3B A0 00 00 */ li r29, 0 +/* 80122E50 0011FDB0 3B 80 00 00 */ li r28, 0 +/* 80122E54 0011FDB4 48 00 02 6C */ b lbl_801230C0 +lbl_80122E58: +/* 80122E58 0011FDB8 7F E3 FB 78 */ mr r3, r31 +/* 80122E5C 0011FDBC 7F 64 DB 78 */ mr r4, r27 +/* 80122E60 0011FDC0 4B EE CE B5 */ bl __vc__11CObjectListFi +/* 80122E64 0011FDC4 7C 64 1B 78 */ mr r4, r3 +/* 80122E68 0011FDC8 38 61 00 30 */ addi r3, r1, 0x30 +/* 80122E6C 0011FDCC 4B F8 88 75 */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" +/* 80122E70 0011FDD0 83 C3 00 04 */ lwz r30, 4(r3) +/* 80122E74 0011FDD4 28 1E 00 00 */ cmplwi r30, 0 +/* 80122E78 0011FDD8 41 82 02 2C */ beq lbl_801230A4 +/* 80122E7C 0011FDDC 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80122E80 0011FDE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80122E84 0011FDE4 41 82 02 20 */ beq lbl_801230A4 +/* 80122E88 0011FDE8 A0 19 00 08 */ lhz r0, 8(r25) +/* 80122E8C 0011FDEC 7F C3 F3 78 */ mr r3, r30 +/* 80122E90 0011FDF0 38 81 00 1C */ addi r4, r1, 0x1c +/* 80122E94 0011FDF4 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80122E98 0011FDF8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80122E9C 0011FDFC 48 0C C4 39 */ bl GetInUse__18CScriptAiJumpPointCF9TUniqueId +/* 80122EA0 0011FE00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80122EA4 0011FE04 40 82 02 00 */ bne lbl_801230A4 +/* 80122EA8 0011FE08 A0 BE 01 0E */ lhz r5, 0x10e(r30) +/* 80122EAC 0011FE0C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80122EB0 0011FE10 7C 05 00 40 */ cmplw r5, r0 +/* 80122EB4 0011FE14 41 82 01 F0 */ beq lbl_801230A4 +/* 80122EB8 0011FE18 80 7E 00 04 */ lwz r3, 4(r30) +/* 80122EBC 0011FE1C 80 19 00 04 */ lwz r0, 4(r25) +/* 80122EC0 0011FE20 7C 03 00 00 */ cmpw r3, r0 +/* 80122EC4 0011FE24 40 82 01 E0 */ bne lbl_801230A4 +/* 80122EC8 0011FE28 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80122ECC 0011FE2C C0 19 00 50 */ lfs f0, 0x50(r25) +/* 80122ED0 0011FE30 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80122ED4 0011FE34 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80122ED8 0011FE38 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 80122EDC 0011FE3C C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80122EE0 0011FE40 EC A3 00 28 */ fsubs f5, f3, f0 +/* 80122EE4 0011FE44 C0 39 00 60 */ lfs f1, 0x60(r25) +/* 80122EE8 0011FE48 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80122EEC 0011FE4C EC 62 08 28 */ fsubs f3, f2, f1 +/* 80122EF0 0011FE50 EC 05 01 7A */ fmadds f0, f5, f5, f0 +/* 80122EF4 0011FE54 EF E3 00 FA */ fmadds f31, f3, f3, f0 +/* 80122EF8 0011FE58 FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 80122EFC 0011FE5C 40 80 01 A8 */ bge lbl_801230A4 +/* 80122F00 0011FE60 C0 DE 00 48 */ lfs f6, 0x48(r30) +/* 80122F04 0011FE64 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 80122F08 0011FE68 EC 26 01 32 */ fmuls f1, f6, f4 +/* 80122F0C 0011FE6C C0 9E 00 58 */ lfs f4, 0x58(r30) +/* 80122F10 0011FE70 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80122F14 0011FE74 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80122F18 0011FE78 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 80122F1C 0011FE7C D0 C1 00 78 */ stfs f6, 0x78(r1) +/* 80122F20 0011FE80 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80122F24 0011FE84 D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 80122F28 0011FE88 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80122F2C 0011FE8C 40 81 01 78 */ ble lbl_801230A4 +/* 80122F30 0011FE90 B0 A1 00 10 */ sth r5, 0x10(r1) +/* 80122F34 0011FE94 7F 43 D3 78 */ mr r3, r26 +/* 80122F38 0011FE98 38 81 00 14 */ addi r4, r1, 0x14 +/* 80122F3C 0011FE9C B0 A1 00 14 */ sth r5, 0x14(r1) +/* 80122F40 0011FEA0 4B F2 96 65 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80122F44 0011FEA4 7C 64 1B 78 */ mr r4, r3 +/* 80122F48 0011FEA8 38 61 00 28 */ addi r3, r1, 0x28 +/* 80122F4C 0011FEAC 4B F8 36 01 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80122F50 0011FEB0 83 03 00 04 */ lwz r24, 4(r3) +/* 80122F54 0011FEB4 28 18 00 00 */ cmplwi r24, 0 +/* 80122F58 0011FEB8 41 82 01 4C */ beq lbl_801230A4 +/* 80122F5C 0011FEBC C0 39 02 E4 */ lfs f1, 0x2e4(r25) +/* 80122F60 0011FEC0 C0 18 00 50 */ lfs f0, 0x50(r24) +/* 80122F64 0011FEC4 C0 79 02 E0 */ lfs f3, 0x2e0(r25) +/* 80122F68 0011FEC8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80122F6C 0011FECC C0 18 00 40 */ lfs f0, 0x40(r24) +/* 80122F70 0011FED0 C0 59 02 E8 */ lfs f2, 0x2e8(r25) +/* 80122F74 0011FED4 EC A3 00 28 */ fsubs f5, f3, f0 +/* 80122F78 0011FED8 C0 38 00 60 */ lfs f1, 0x60(r24) +/* 80122F7C 0011FEDC EC 04 01 32 */ fmuls f0, f4, f4 +/* 80122F80 0011FEE0 EC 62 08 28 */ fsubs f3, f2, f1 +/* 80122F84 0011FEE4 C0 22 98 14 */ lfs f1, lbl_805AB534@sda21(r2) +/* 80122F88 0011FEE8 EC 05 01 7A */ fmadds f0, f5, f5, f0 +/* 80122F8C 0011FEEC EC 21 00 F2 */ fmuls f1, f1, f3 +/* 80122F90 0011FEF0 EC 03 00 FA */ fmadds f0, f3, f3, f0 +/* 80122F94 0011FEF4 EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 80122F98 0011FEF8 EF FF 00 2A */ fadds f31, f31, f0 +/* 80122F9C 0011FEFC FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 80122FA0 0011FF00 40 80 01 04 */ bge lbl_801230A4 +/* 80122FA4 0011FF04 C0 D8 00 48 */ lfs f6, 0x48(r24) +/* 80122FA8 0011FF08 C0 58 00 38 */ lfs f2, 0x38(r24) +/* 80122FAC 0011FF0C EC 26 01 32 */ fmuls f1, f6, f4 +/* 80122FB0 0011FF10 C0 98 00 58 */ lfs f4, 0x58(r24) +/* 80122FB4 0011FF14 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80122FB8 0011FF18 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 80122FBC 0011FF1C EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 80122FC0 0011FF20 D0 C1 00 6C */ stfs f6, 0x6c(r1) +/* 80122FC4 0011FF24 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80122FC8 0011FF28 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 80122FCC 0011FF2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80122FD0 0011FF30 40 81 00 D4 */ ble lbl_801230A4 +/* 80122FD4 0011FF34 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80122FD8 0011FF38 7F 23 CB 78 */ mr r3, r25 +/* 80122FDC 0011FF3C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80122FE0 0011FF40 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80122FE4 0011FF44 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80122FE8 0011FF48 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80122FEC 0011FF4C D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80122FF0 0011FF50 C0 59 00 60 */ lfs f2, 0x60(r25) +/* 80122FF4 0011FF54 C0 39 00 50 */ lfs f1, 0x50(r25) +/* 80122FF8 0011FF58 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 80122FFC 0011FF5C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80123000 0011FF60 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 80123004 0011FF64 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 80123008 0011FF68 81 99 00 00 */ lwz r12, 0(r25) +/* 8012300C 0011FF6C 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80123010 0011FF70 7D 89 03 A6 */ mtctr r12 +/* 80123014 0011FF74 4E 80 04 21 */ bctrl +/* 80123018 0011FF78 38 81 00 5C */ addi r4, r1, 0x5c +/* 8012301C 0011FF7C 38 A1 00 50 */ addi r5, r1, 0x50 +/* 80123020 0011FF80 48 0A 3C A9 */ bl PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f +/* 80123024 0011FF84 2C 03 00 00 */ cmpwi r3, 0 +/* 80123028 0011FF88 40 82 00 7C */ bne lbl_801230A4 +/* 8012302C 0011FF8C C0 58 00 60 */ lfs f2, 0x60(r24) +/* 80123030 0011FF90 7F 23 CB 78 */ mr r3, r25 +/* 80123034 0011FF94 C0 38 00 50 */ lfs f1, 0x50(r24) +/* 80123038 0011FF98 3A E0 00 00 */ li r23, 0 +/* 8012303C 0011FF9C C0 18 00 40 */ lfs f0, 0x40(r24) +/* 80123040 0011FFA0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80123044 0011FFA4 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80123048 0011FFA8 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8012304C 0011FFAC 81 99 00 00 */ lwz r12, 0(r25) +/* 80123050 0011FFB0 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80123054 0011FFB4 7D 89 03 A6 */ mtctr r12 +/* 80123058 0011FFB8 4E 80 04 21 */ bctrl +/* 8012305C 0011FFBC 38 81 00 44 */ addi r4, r1, 0x44 +/* 80123060 0011FFC0 38 B9 02 E0 */ addi r5, r25, 0x2e0 +/* 80123064 0011FFC4 48 0A 3C 65 */ bl PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f +/* 80123068 0011FFC8 7C 03 00 D0 */ neg r0, r3 +/* 8012306C 0011FFCC 7C 00 1B 78 */ or r0, r0, r3 +/* 80123070 0011FFD0 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80123074 0011FFD4 41 82 00 0C */ beq lbl_80123080 +/* 80123078 0011FFD8 C0 02 98 18 */ lfs f0, lbl_805AB538@sda21(r2) +/* 8012307C 0011FFDC EF FF 00 2A */ fadds f31, f31, f0 +lbl_80123080: +/* 80123080 0011FFE0 28 00 00 00 */ cmplwi r0, 0 +/* 80123084 0011FFE4 40 82 00 08 */ bne lbl_8012308C +/* 80123088 0011FFE8 3A E0 00 01 */ li r23, 1 +lbl_8012308C: +/* 8012308C 0011FFEC FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 80123090 0011FFF0 40 80 00 14 */ bge lbl_801230A4 +/* 80123094 0011FFF4 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 80123098 0011FFF8 FF C0 F8 90 */ fmr f30, f31 +/* 8012309C 0011FFFC 7F DC F3 78 */ mr r28, r30 +/* 801230A0 00120000 40 82 00 28 */ bne lbl_801230C8 +lbl_801230A4: +/* 801230A4 00120004 2C 1B FF FF */ cmpwi r27, -1 +/* 801230A8 00120008 41 82 00 14 */ beq lbl_801230BC +/* 801230AC 0012000C 57 63 18 38 */ slwi r3, r27, 3 +/* 801230B0 00120010 38 03 00 08 */ addi r0, r3, 8 +/* 801230B4 00120014 7F 7F 02 AE */ lhax r27, r31, r0 +/* 801230B8 00120018 48 00 00 08 */ b lbl_801230C0 +lbl_801230BC: +/* 801230BC 0012001C 3B 60 FF FF */ li r27, -1 +lbl_801230C0: +/* 801230C0 00120020 2C 1B FF FF */ cmpwi r27, -1 +/* 801230C4 00120024 40 82 FD 94 */ bne lbl_80122E58 +lbl_801230C8: +/* 801230C8 00120028 28 1C 00 00 */ cmplwi r28, 0 +/* 801230CC 0012002C 41 82 00 84 */ beq lbl_80123150 +/* 801230D0 00120030 A0 1C 01 0C */ lhz r0, 0x10c(r28) +/* 801230D4 00120034 7F 43 D3 78 */ mr r3, r26 +/* 801230D8 00120038 38 81 00 0C */ addi r4, r1, 0xc +/* 801230DC 0012003C B0 01 00 08 */ sth r0, 8(r1) +/* 801230E0 00120040 B0 01 00 0C */ sth r0, 0xc(r1) +/* 801230E4 00120044 4B F2 94 C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 801230E8 00120048 7C 64 1B 78 */ mr r4, r3 +/* 801230EC 0012004C 38 61 00 20 */ addi r3, r1, 0x20 +/* 801230F0 00120050 4B F8 34 5D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 801230F4 00120054 83 03 00 04 */ lwz r24, 4(r3) +/* 801230F8 00120058 28 18 00 00 */ cmplwi r24, 0 +/* 801230FC 0012005C 41 82 00 54 */ beq lbl_80123150 +/* 80123100 00120060 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 80123104 00120064 7F 23 CB 78 */ mr r3, r25 +/* 80123108 00120068 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8012310C 0012006C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80123110 00120070 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80123114 00120074 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80123118 00120078 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8012311C 0012007C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80123120 00120080 4B F5 9A 3D */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80123124 00120084 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80123128 00120088 3B A0 00 01 */ li r29, 1 +/* 8012312C 0012008C B0 19 08 40 */ sth r0, 0x840(r25) +/* 80123130 00120090 C0 1C 00 E8 */ lfs f0, 0xe8(r28) +/* 80123134 00120094 D0 19 08 24 */ stfs f0, 0x824(r25) +/* 80123138 00120098 C0 58 00 60 */ lfs f2, 0x60(r24) +/* 8012313C 0012009C C0 38 00 50 */ lfs f1, 0x50(r24) +/* 80123140 001200A0 C0 18 00 40 */ lfs f0, 0x40(r24) +/* 80123144 001200A4 D0 19 08 28 */ stfs f0, 0x828(r25) +/* 80123148 001200A8 D0 39 08 2C */ stfs f1, 0x82c(r25) +/* 8012314C 001200AC D0 59 08 30 */ stfs f2, 0x830(r25) +lbl_80123150: +/* 80123150 001200B0 7F A3 EB 78 */ mr r3, r29 +/* 80123154 001200B4 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80123158 001200B8 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8012315C 001200BC E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80123160 001200C0 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80123164 001200C4 BA E1 00 8C */ lmw r23, 0x8c(r1) +/* 80123168 001200C8 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8012316C 001200CC 7C 08 03 A6 */ mtlr r0 +/* 80123170 001200D0 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80123174 001200D4 4E 80 00 20 */ blr + +.global BreakAttack__12CSpacePirateFR13CStateManagerf +BreakAttack__12CSpacePirateFR13CStateManagerf: +/* 80123178 001200D8 88 03 06 35 */ lbz r0, 0x635(r3) +/* 8012317C 001200DC 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 80123180 001200E0 4E 80 00 20 */ blr + +.global StartAttack__12CSpacePirateFR13CStateManagerf +StartAttack__12CSpacePirateFR13CStateManagerf: +/* 80123184 001200E4 88 83 06 38 */ lbz r4, 0x638(r3) +/* 80123188 001200E8 54 80 07 FF */ clrlwi. r0, r4, 0x1f +/* 8012318C 001200EC 41 82 00 18 */ beq lbl_801231A4 +/* 80123190 001200F0 38 00 00 00 */ li r0, 0 +/* 80123194 001200F4 50 04 07 FE */ rlwimi r4, r0, 0, 0x1f, 0x1f +/* 80123198 001200F8 98 83 06 38 */ stb r4, 0x638(r3) +/* 8012319C 001200FC 38 60 00 01 */ li r3, 1 +/* 801231A0 00120100 4E 80 00 20 */ blr +lbl_801231A4: +/* 801231A4 00120104 38 60 00 00 */ li r3, 0 +/* 801231A8 00120108 4E 80 00 20 */ blr + +.global SpecialAttack__12CSpacePirateFR13CStateManager9EStateMsgf +SpecialAttack__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801231AC 0012010C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 801231B0 00120110 7C 08 02 A6 */ mflr r0 +/* 801231B4 00120114 2C 05 00 01 */ cmpwi r5, 1 +/* 801231B8 00120118 90 01 00 44 */ stw r0, 0x44(r1) +/* 801231BC 0012011C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 801231C0 00120120 7C 9F 23 78 */ mr r31, r4 +/* 801231C4 00120124 93 C1 00 38 */ stw r30, 0x38(r1) +/* 801231C8 00120128 7C 7E 1B 78 */ mr r30, r3 +/* 801231CC 0012012C 41 82 00 88 */ beq lbl_80123254 +/* 801231D0 00120130 40 80 00 10 */ bge lbl_801231E0 +/* 801231D4 00120134 2C 05 00 00 */ cmpwi r5, 0 +/* 801231D8 00120138 40 80 00 14 */ bge lbl_801231EC +/* 801231DC 0012013C 48 00 00 DC */ b lbl_801232B8 +lbl_801231E0: +/* 801231E0 00120140 2C 05 00 03 */ cmpwi r5, 3 +/* 801231E4 00120144 40 80 00 D4 */ bge lbl_801232B8 +/* 801231E8 00120148 48 00 00 C8 */ b lbl_801232B0 +lbl_801231EC: +/* 801231EC 0012014C 38 00 00 01 */ li r0, 1 +/* 801231F0 00120150 7F C4 F3 78 */ mr r4, r30 +/* 801231F4 00120154 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 801231F8 00120158 38 61 00 14 */ addi r3, r1, 0x14 +/* 801231FC 0012015C 4B F5 98 D5 */ bl GetGunEyePos__10CPatternedCFv +/* 80123200 00120160 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80123204 00120164 7F E5 FB 78 */ mr r5, r31 +/* 80123208 00120168 38 61 00 20 */ addi r3, r1, 0x20 +/* 8012320C 0012016C C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80123210 00120170 81 84 00 00 */ lwz r12, 0(r4) +/* 80123214 00120174 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80123218 00120178 7D 89 03 A6 */ mtctr r12 +/* 8012321C 0012017C 4E 80 04 21 */ bctrl +/* 80123220 00120180 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80123224 00120184 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80123228 00120188 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 8012322C 0012018C C0 61 00 18 */ lfs f3, 0x18(r1) +/* 80123230 00120190 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80123234 00120194 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 80123238 00120198 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 8012323C 0012019C EC 64 18 28 */ fsubs f3, f4, f3 +/* 80123240 001201A0 D0 1E 06 48 */ stfs f0, 0x648(r30) +/* 80123244 001201A4 EC 02 08 28 */ fsubs f0, f2, f1 +/* 80123248 001201A8 D0 7E 06 4C */ stfs f3, 0x64c(r30) +/* 8012324C 001201AC D0 1E 06 50 */ stfs f0, 0x650(r30) +/* 80123250 001201B0 48 00 00 68 */ b lbl_801232B8 +lbl_80123254: +/* 80123254 001201B4 3C A0 80 3E */ lis r5, lbl_803E07E8@ha +/* 80123258 001201B8 38 C1 00 08 */ addi r6, r1, 8 +/* 8012325C 001201BC 39 45 07 E8 */ addi r10, r5, lbl_803E07E8@l +/* 80123260 001201C0 38 A0 00 12 */ li r5, 0x12 +/* 80123264 001201C4 81 2A 00 00 */ lwz r9, 0(r10) +/* 80123268 001201C8 38 E0 00 01 */ li r7, 1 +/* 8012326C 001201CC 81 0A 00 04 */ lwz r8, 4(r10) +/* 80123270 001201D0 80 0A 00 08 */ lwz r0, 8(r10) +/* 80123274 001201D4 91 21 00 08 */ stw r9, 8(r1) +/* 80123278 001201D8 91 01 00 0C */ stw r8, 0xc(r1) +/* 8012327C 001201DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80123280 001201E0 4B F5 95 35 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80123284 001201E4 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80123288 001201E8 2C 00 00 01 */ cmpwi r0, 1 +/* 8012328C 001201EC 40 82 00 2C */ bne lbl_801232B8 +/* 80123290 001201F0 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80123294 001201F4 C0 1E 06 48 */ lfs f0, 0x648(r30) +/* 80123298 001201F8 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8012329C 001201FC C0 1E 06 4C */ lfs f0, 0x64c(r30) +/* 801232A0 00120200 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 801232A4 00120204 C0 1E 06 50 */ lfs f0, 0x650(r30) +/* 801232A8 00120208 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 801232AC 0012020C 48 00 00 0C */ b lbl_801232B8 +lbl_801232B0: +/* 801232B0 00120210 38 00 00 00 */ li r0, 0 +/* 801232B4 00120214 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_801232B8: +/* 801232B8 00120218 80 01 00 44 */ lwz r0, 0x44(r1) +/* 801232BC 0012021C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 801232C0 00120220 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 801232C4 00120224 7C 08 03 A6 */ mtlr r0 +/* 801232C8 00120228 38 21 00 40 */ addi r1, r1, 0x40 +/* 801232CC 0012022C 4E 80 00 20 */ blr + +.global LostInterest__12CSpacePirateFR13CStateManagerf +LostInterest__12CSpacePirateFR13CStateManagerf: +/* 801232D0 00120230 88 03 06 34 */ lbz r0, 0x634(r3) +/* 801232D4 00120234 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 801232D8 00120238 41 82 00 1C */ beq lbl_801232F4 +/* 801232DC 0012023C C0 23 07 BC */ lfs f1, 0x7bc(r3) +/* 801232E0 00120240 C0 02 98 0C */ lfs f0, lbl_805AB52C@sda21(r2) +/* 801232E4 00120244 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801232E8 00120248 40 80 00 0C */ bge lbl_801232F4 +/* 801232EC 0012024C 38 60 00 01 */ li r3, 1 +/* 801232F0 00120250 4E 80 00 20 */ blr +lbl_801232F4: +/* 801232F4 00120254 38 60 00 00 */ li r3, 0 +/* 801232F8 00120258 4E 80 00 20 */ blr + +.global ShouldSpecialAttack__12CSpacePirateFR13CStateManagerf +ShouldSpecialAttack__12CSpacePirateFR13CStateManagerf: +/* 801232FC 0012025C 88 03 06 34 */ lbz r0, 0x634(r3) +/* 80123300 00120260 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80123304 00120264 41 82 00 28 */ beq lbl_8012332C +/* 80123308 00120268 80 03 07 DC */ lwz r0, 0x7dc(r3) +/* 8012330C 0012026C 28 00 00 00 */ cmplwi r0, 0 +/* 80123310 00120270 40 82 00 1C */ bne lbl_8012332C +/* 80123314 00120274 C0 23 07 BC */ lfs f1, 0x7bc(r3) +/* 80123318 00120278 C0 02 97 DC */ lfs f0, lbl_805AB4FC@sda21(r2) +/* 8012331C 0012027C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80123320 00120280 40 81 00 0C */ ble lbl_8012332C +/* 80123324 00120284 38 60 00 01 */ li r3, 1 +/* 80123328 00120288 4E 80 00 20 */ blr +lbl_8012332C: +/* 8012332C 0012028C 38 60 00 00 */ li r3, 0 +/* 80123330 00120290 4E 80 00 20 */ blr + +.global JumpBack__12CSpacePirateFR13CStateManager9EStateMsgf +JumpBack__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80123334 00120294 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 80123338 00120298 7C 08 02 A6 */ mflr r0 +/* 8012333C 0012029C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80123340 001202A0 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 80123344 001202A4 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 80123348 001202A8 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8012334C 001202AC F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 80123350 001202B0 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 80123354 001202B4 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 80123358 001202B8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8012335C 001202BC 93 C1 00 88 */ stw r30, 0x88(r1) +/* 80123360 001202C0 93 A1 00 84 */ stw r29, 0x84(r1) +/* 80123364 001202C4 81 83 00 00 */ lwz r12, 0(r3) +/* 80123368 001202C8 7C 7E 1B 78 */ mr r30, r3 +/* 8012336C 001202CC 7C 9F 23 78 */ mr r31, r4 +/* 80123370 001202D0 7C BD 2B 78 */ mr r29, r5 +/* 80123374 001202D4 81 8C 01 F0 */ lwz r12, 0x1f0(r12) +/* 80123378 001202D8 7D 89 03 A6 */ mtctr r12 +/* 8012337C 001202DC 4E 80 04 21 */ bctrl +/* 80123380 001202E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80123384 001202E4 41 82 03 80 */ beq lbl_80123704 +/* 80123388 001202E8 2C 1D 00 01 */ cmpwi r29, 1 +/* 8012338C 001202EC 41 82 02 50 */ beq lbl_801235DC +/* 80123390 001202F0 40 80 00 10 */ bge lbl_801233A0 +/* 80123394 001202F4 2C 1D 00 00 */ cmpwi r29, 0 +/* 80123398 001202F8 40 80 00 14 */ bge lbl_801233AC +/* 8012339C 001202FC 48 00 03 68 */ b lbl_80123704 +lbl_801233A0: +/* 801233A0 00120300 2C 1D 00 03 */ cmpwi r29, 3 +/* 801233A4 00120304 40 80 03 60 */ bge lbl_80123704 +/* 801233A8 00120308 48 00 03 34 */ b lbl_801236DC +lbl_801233AC: +/* 801233AC 0012030C 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 801233B0 00120310 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 801233B4 00120314 40 82 03 50 */ bne lbl_80123704 +/* 801233B8 00120318 C0 BE 00 58 */ lfs f5, 0x58(r30) +/* 801233BC 0012031C 7F C3 F3 78 */ mr r3, r30 +/* 801233C0 00120320 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 801233C4 00120324 7F E4 FB 78 */ mr r4, r31 +/* 801233C8 00120328 C0 9E 00 38 */ lfs f4, 0x38(r30) +/* 801233CC 0012032C FC 00 28 50 */ fneg f0, f5 +/* 801233D0 00120330 FC 40 08 50 */ fneg f2, f1 +/* 801233D4 00120334 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 801233D8 00120338 FC 60 20 50 */ fneg f3, f4 +/* 801233DC 0012033C C0 22 98 1C */ lfs f1, lbl_805AB53C@sda21(r2) +/* 801233E0 00120340 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 801233E4 00120344 38 A1 00 60 */ addi r5, r1, 0x60 +/* 801233E8 00120348 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 801233EC 0012034C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 801233F0 00120350 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 801233F4 00120354 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 801233F8 00120358 48 00 55 41 */ bl CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff +/* 801233FC 0012035C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80123400 00120360 40 82 03 04 */ bne lbl_80123704 +/* 80123404 00120364 7F C3 F3 78 */ mr r3, r30 +/* 80123408 00120368 81 9E 00 00 */ lwz r12, 0(r30) +/* 8012340C 0012036C 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80123410 00120370 7D 89 03 A6 */ mtctr r12 +/* 80123414 00120374 4E 80 04 21 */ bctrl +/* 80123418 00120378 C3 E3 00 D0 */ lfs f31, 0xd0(r3) +/* 8012341C 0012037C 7F C3 F3 78 */ mr r3, r30 +/* 80123420 00120380 C0 02 98 1C */ lfs f0, lbl_805AB53C@sda21(r2) +/* 80123424 00120384 C0 A2 98 20 */ lfs f5, lbl_805AB540@sda21(r2) +/* 80123428 00120388 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8012342C 0012038C D0 1E 07 30 */ stfs f0, 0x730(r30) +/* 80123430 00120390 C0 5E 00 48 */ lfs f2, 0x48(r30) +/* 80123434 00120394 C0 3E 00 58 */ lfs f1, 0x58(r30) +/* 80123438 00120398 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8012343C 0012039C EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80123440 001203A0 C0 DE 00 50 */ lfs f6, 0x50(r30) +/* 80123444 001203A4 EC 45 00 72 */ fmuls f2, f5, f1 +/* 80123448 001203A8 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8012344C 001203AC EC 05 00 32 */ fmuls f0, f5, f0 +/* 80123450 001203B0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80123454 001203B4 EC 86 20 2A */ fadds f4, f6, f4 +/* 80123458 001203B8 EC 43 10 2A */ fadds f2, f3, f2 +/* 8012345C 001203BC D0 21 00 48 */ stfs f1, 0x48(r1) +/* 80123460 001203C0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80123464 001203C4 D0 81 00 70 */ stfs f4, 0x70(r1) +/* 80123468 001203C8 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8012346C 001203CC D0 41 00 74 */ stfs f2, 0x74(r1) +/* 80123470 001203D0 D0 C1 00 4C */ stfs f6, 0x4c(r1) +/* 80123474 001203D4 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80123478 001203D8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8012347C 001203DC 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80123480 001203E0 7D 89 03 A6 */ mtctr r12 +/* 80123484 001203E4 4E 80 04 21 */ bctrl +/* 80123488 001203E8 38 81 00 48 */ addi r4, r1, 0x48 +/* 8012348C 001203EC 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80123490 001203F0 48 0A 47 DD */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f +/* 80123494 001203F4 2C 03 00 00 */ cmpwi r3, 0 +/* 80123498 001203F8 40 82 01 28 */ bne lbl_801235C0 +/* 8012349C 001203FC 7F C3 F3 78 */ mr r3, r30 +/* 801234A0 00120400 81 9E 00 00 */ lwz r12, 0(r30) +/* 801234A4 00120404 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 801234A8 00120408 7D 89 03 A6 */ mtctr r12 +/* 801234AC 0012040C 4E 80 04 21 */ bctrl +/* 801234B0 00120410 38 83 00 04 */ addi r4, r3, 4 +/* 801234B4 00120414 C0 81 00 70 */ lfs f4, 0x70(r1) +/* 801234B8 00120418 80 63 00 04 */ lwz r3, 4(r3) +/* 801234BC 0012041C C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 801234C0 00120420 38 03 FF FF */ addi r0, r3, -1 +/* 801234C4 00120424 C0 61 00 74 */ lfs f3, 0x74(r1) +/* 801234C8 00120428 1C 00 00 0C */ mulli r0, r0, 0xc +/* 801234CC 0012042C C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) +/* 801234D0 00120430 7C 64 02 14 */ add r3, r4, r0 +/* 801234D4 00120434 C0 A3 00 08 */ lfs f5, 8(r3) +/* 801234D8 00120438 C0 43 00 04 */ lfs f2, 4(r3) +/* 801234DC 0012043C EC C5 20 28 */ fsubs f6, f5, f4 +/* 801234E0 00120440 C0 A3 00 0C */ lfs f5, 0xc(r3) +/* 801234E4 00120444 EC 82 08 28 */ fsubs f4, f2, f1 +/* 801234E8 00120448 EC A5 18 28 */ fsubs f5, f5, f3 +/* 801234EC 0012044C EC 26 01 B2 */ fmuls f1, f6, f6 +/* 801234F0 00120450 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 801234F4 00120454 EC 44 01 32 */ fmuls f2, f4, f4 +/* 801234F8 00120458 EC 65 01 72 */ fmuls f3, f5, f5 +/* 801234FC 0012045C D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80123500 00120460 EC 22 08 2A */ fadds f1, f2, f1 +/* 80123504 00120464 D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 80123508 00120468 EC 23 08 2A */ fadds f1, f3, f1 +/* 8012350C 0012046C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80123510 00120470 40 80 00 B0 */ bge lbl_801235C0 +/* 80123514 00120474 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80123518 00120478 7F C3 F3 78 */ mr r3, r30 +/* 8012351C 0012047C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80123520 00120480 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80123524 00120484 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80123528 00120488 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8012352C 0012048C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80123530 00120490 81 9E 00 00 */ lwz r12, 0(r30) +/* 80123534 00120494 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80123538 00120498 7D 89 03 A6 */ mtctr r12 +/* 8012353C 0012049C 4E 80 04 21 */ bctrl +/* 80123540 001204A0 38 81 00 30 */ addi r4, r1, 0x30 +/* 80123544 001204A4 48 0A 85 2D */ bl RemainingPathDistance__15CPathFindSearchCFR9CVector3f +/* 80123548 001204A8 C0 42 98 20 */ lfs f2, lbl_805AB540@sda21(r2) +/* 8012354C 001204AC C0 02 98 28 */ lfs f0, lbl_805AB548@sda21(r2) +/* 80123550 001204B0 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80123554 001204B4 FC 20 0A 10 */ fabs f1, f1 +/* 80123558 001204B8 FC 20 08 18 */ frsp f1, f1 +/* 8012355C 001204BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80123560 001204C0 40 80 00 60 */ bge lbl_801235C0 +/* 80123564 001204C4 7F C3 F3 78 */ mr r3, r30 +/* 80123568 001204C8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8012356C 001204CC 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80123570 001204D0 7D 89 03 A6 */ mtctr r12 +/* 80123574 001204D4 4E 80 04 21 */ bctrl +/* 80123578 001204D8 38 A3 00 04 */ addi r5, r3, 4 +/* 8012357C 001204DC C0 02 98 1C */ lfs f0, lbl_805AB53C@sda21(r2) +/* 80123580 001204E0 80 83 00 04 */ lwz r4, 4(r3) +/* 80123584 001204E4 38 60 00 01 */ li r3, 1 +/* 80123588 001204E8 38 04 FF FF */ addi r0, r4, -1 +/* 8012358C 001204EC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80123590 001204F0 7C 85 02 14 */ add r4, r5, r0 +/* 80123594 001204F4 C0 24 00 04 */ lfs f1, 4(r4) +/* 80123598 001204F8 D0 3E 08 28 */ stfs f1, 0x828(r30) +/* 8012359C 001204FC C0 24 00 08 */ lfs f1, 8(r4) +/* 801235A0 00120500 D0 3E 08 2C */ stfs f1, 0x82c(r30) +/* 801235A4 00120504 C0 24 00 0C */ lfs f1, 0xc(r4) +/* 801235A8 00120508 D0 3E 08 30 */ stfs f1, 0x830(r30) +/* 801235AC 0012050C D0 1E 08 24 */ stfs f0, 0x824(r30) +/* 801235B0 00120510 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 801235B4 00120514 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 801235B8 00120518 98 1E 06 39 */ stb r0, 0x639(r30) +/* 801235BC 0012051C 90 7E 03 2C */ stw r3, 0x32c(r30) +lbl_801235C0: +/* 801235C0 00120520 7F C3 F3 78 */ mr r3, r30 +/* 801235C4 00120524 81 9E 00 00 */ lwz r12, 0(r30) +/* 801235C8 00120528 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 801235CC 0012052C 7D 89 03 A6 */ mtctr r12 +/* 801235D0 00120530 4E 80 04 21 */ bctrl +/* 801235D4 00120534 D3 E3 00 D0 */ stfs f31, 0xd0(r3) +/* 801235D8 00120538 48 00 01 2C */ b lbl_80123704 +lbl_801235DC: +/* 801235DC 0012053C 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 801235E0 00120540 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801235E4 00120544 40 82 00 BC */ bne lbl_801236A0 +/* 801235E8 00120548 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801235EC 0012054C 38 C0 00 01 */ li r6, 1 +/* 801235F0 00120550 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801235F4 00120554 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 801235F8 00120558 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 801235FC 0012055C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80123600 00120560 38 A4 A9 E4 */ addi r5, r4, lbl_803DA9E4@l +/* 80123604 00120564 38 00 00 00 */ li r0, 0 +/* 80123608 00120568 3B A3 00 04 */ addi r29, r3, 4 +/* 8012360C 0012056C 90 C1 00 24 */ stw r6, 0x24(r1) +/* 80123610 00120570 7F A3 EB 78 */ mr r3, r29 +/* 80123614 00120574 38 80 00 01 */ li r4, 1 +/* 80123618 00120578 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8012361C 0012057C 90 C1 00 28 */ stw r6, 0x28(r1) +/* 80123620 00120580 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80123624 00120584 48 00 DE 15 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80123628 00120588 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8012362C 0012058C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80123630 00120590 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l +/* 80123634 00120594 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80123638 00120598 90 1D 00 C8 */ stw r0, 0xc8(r29) +/* 8012363C 0012059C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80123640 001205A0 80 61 00 28 */ lwz r3, 0x28(r1) +/* 80123644 001205A4 7F C4 F3 78 */ mr r4, r30 +/* 80123648 001205A8 80 E1 00 2C */ lwz r7, 0x2c(r1) +/* 8012364C 001205AC 7F E5 FB 78 */ mr r5, r31 +/* 80123650 001205B0 90 7D 00 CC */ stw r3, 0xcc(r29) +/* 80123654 001205B4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80123658 001205B8 90 FD 00 D0 */ stw r7, 0xd0(r29) +/* 8012365C 001205BC 90 C1 00 20 */ stw r6, 0x20(r1) +/* 80123660 001205C0 C3 BE 00 60 */ lfs f29, 0x60(r30) +/* 80123664 001205C4 90 01 00 20 */ stw r0, 0x20(r1) +/* 80123668 001205C8 C3 DE 00 50 */ lfs f30, 0x50(r30) +/* 8012366C 001205CC C3 FE 00 40 */ lfs f31, 0x40(r30) +/* 80123670 001205D0 48 00 4D D5 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 80123674 001205D4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80123678 001205D8 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 8012367C 001205DC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80123680 001205E0 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80123684 001205E4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80123688 001205E8 EC 42 F0 28 */ fsubs f2, f2, f30 +/* 8012368C 001205EC EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80123690 001205F0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80123694 001205F4 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 80123698 001205F8 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 8012369C 001205FC 48 00 00 68 */ b lbl_80123704 +lbl_801236A0: +/* 801236A0 00120600 3C 80 80 3E */ lis r4, lbl_803E07DC@ha +/* 801236A4 00120604 7F C3 F3 78 */ mr r3, r30 +/* 801236A8 00120608 38 E4 07 DC */ addi r7, r4, lbl_803E07DC@l +/* 801236AC 0012060C 7F E4 FB 78 */ mr r4, r31 +/* 801236B0 00120610 81 27 00 00 */ lwz r9, 0(r7) +/* 801236B4 00120614 38 C1 00 08 */ addi r6, r1, 8 +/* 801236B8 00120618 81 07 00 04 */ lwz r8, 4(r7) +/* 801236BC 0012061C 38 A0 00 0D */ li r5, 0xd +/* 801236C0 00120620 80 07 00 08 */ lwz r0, 8(r7) +/* 801236C4 00120624 38 E0 00 00 */ li r7, 0 +/* 801236C8 00120628 91 21 00 08 */ stw r9, 8(r1) +/* 801236CC 0012062C 91 01 00 0C */ stw r8, 0xc(r1) +/* 801236D0 00120630 90 01 00 10 */ stw r0, 0x10(r1) +/* 801236D4 00120634 4B F5 90 E1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 801236D8 00120638 48 00 00 2C */ b lbl_80123704 +lbl_801236DC: +/* 801236DC 0012063C 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 801236E0 00120640 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 801236E4 00120644 41 82 00 18 */ beq lbl_801236FC +/* 801236E8 00120648 38 60 00 00 */ li r3, 0 +/* 801236EC 0012064C 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 801236F0 00120650 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 801236F4 00120654 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 801236F8 00120658 98 1E 06 39 */ stb r0, 0x639(r30) +lbl_801236FC: +/* 801236FC 0012065C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80123700 00120660 D0 1E 08 D8 */ stfs f0, 0x8d8(r30) +lbl_80123704: +/* 80123704 00120664 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 80123708 00120668 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8012370C 0012066C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 80123710 00120670 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 80123714 00120674 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 80123718 00120678 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8012371C 0012067C 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 80123720 00120680 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 80123724 00120684 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80123728 00120688 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8012372C 0012068C 7C 08 03 A6 */ mtlr r0 +/* 80123730 00120690 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 80123734 00120694 4E 80 00 20 */ blr + +.global ShouldJumpBack__12CSpacePirateFR13CStateManagerf +ShouldJumpBack__12CSpacePirateFR13CStateManagerf: +/* 80123738 00120698 88 03 06 34 */ lbz r0, 0x634(r3) +/* 8012373C 0012069C 38 80 00 00 */ li r4, 0 +/* 80123740 001206A0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80123744 001206A4 41 82 00 14 */ beq lbl_80123758 +/* 80123748 001206A8 C0 23 08 D8 */ lfs f1, 0x8d8(r3) +/* 8012374C 001206AC C0 02 98 04 */ lfs f0, lbl_805AB524@sda21(r2) +/* 80123750 001206B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80123754 001206B4 40 81 00 08 */ ble lbl_8012375C +lbl_80123758: +/* 80123758 001206B8 38 80 00 01 */ li r4, 1 +lbl_8012375C: +/* 8012375C 001206BC 7C 83 23 78 */ mr r3, r4 +/* 80123760 001206C0 4E 80 00 20 */ blr + +.global AnimOver__12CSpacePirateFR13CStateManagerf +AnimOver__12CSpacePirateFR13CStateManagerf: +/* 80123764 001206C4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80123768 001206C8 7C 08 02 A6 */ mflr r0 +/* 8012376C 001206CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80123770 001206D0 88 03 06 37 */ lbz r0, 0x637(r3) +/* 80123774 001206D4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80123778 001206D8 41 82 00 20 */ beq lbl_80123798 +/* 8012377C 001206DC 80 63 04 50 */ lwz r3, 0x450(r3) +/* 80123780 001206E0 80 83 02 B8 */ lwz r4, 0x2b8(r3) +/* 80123784 001206E4 20 64 00 14 */ subfic r3, r4, 0x14 +/* 80123788 001206E8 38 04 FF EC */ addi r0, r4, -20 +/* 8012378C 001206EC 7C 60 03 78 */ or r0, r3, r0 +/* 80123790 001206F0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80123794 001206F4 48 00 00 08 */ b lbl_8012379C +lbl_80123798: +/* 80123798 001206F8 48 0D 23 DD */ bl AnimOver__10CPatternedFR13CStateManagerf +lbl_8012379C: +/* 8012379C 001206FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801237A0 00120700 7C 08 03 A6 */ mtlr r0 +/* 801237A4 00120704 38 21 00 10 */ addi r1, r1, 0x10 +/* 801237A8 00120708 4E 80 00 20 */ blr + +.global WallDetach__12CSpacePirateFR13CStateManager9EStateMsgf +WallDetach__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801237AC 0012070C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801237B0 00120710 7C 08 02 A6 */ mflr r0 +/* 801237B4 00120714 2C 05 00 01 */ cmpwi r5, 1 +/* 801237B8 00120718 90 01 00 14 */ stw r0, 0x14(r1) +/* 801237BC 0012071C 41 82 00 34 */ beq lbl_801237F0 +/* 801237C0 00120720 40 80 00 10 */ bge lbl_801237D0 +/* 801237C4 00120724 2C 05 00 00 */ cmpwi r5, 0 +/* 801237C8 00120728 40 80 00 14 */ bge lbl_801237DC +/* 801237CC 0012072C 48 00 00 68 */ b lbl_80123834 +lbl_801237D0: +/* 801237D0 00120730 2C 05 00 03 */ cmpwi r5, 3 +/* 801237D4 00120734 40 80 00 60 */ bge lbl_80123834 +/* 801237D8 00120738 48 00 00 4C */ b lbl_80123824 +lbl_801237DC: +/* 801237DC 0012073C 88 03 06 37 */ lbz r0, 0x637(r3) +/* 801237E0 00120740 38 80 00 01 */ li r4, 1 +/* 801237E4 00120744 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 801237E8 00120748 98 03 06 37 */ stb r0, 0x637(r3) +/* 801237EC 0012074C 48 00 00 48 */ b lbl_80123834 +lbl_801237F0: +/* 801237F0 00120750 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 801237F4 00120754 38 00 00 0A */ li r0, 0xa +/* 801237F8 00120758 38 A4 AA 68 */ addi r5, r4, lbl_803DAA68@l +/* 801237FC 0012075C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80123800 00120760 38 81 00 08 */ addi r4, r1, 8 +/* 80123804 00120764 90 A1 00 08 */ stw r5, 8(r1) +/* 80123808 00120768 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8012380C 0012076C 38 63 00 04 */ addi r3, r3, 4 +/* 80123810 00120770 48 00 DF A9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80123814 00120774 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80123818 00120778 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8012381C 0012077C 90 01 00 08 */ stw r0, 8(r1) +/* 80123820 00120780 48 00 00 14 */ b lbl_80123834 +lbl_80123824: +/* 80123824 00120784 88 03 06 37 */ lbz r0, 0x637(r3) +/* 80123828 00120788 38 80 00 00 */ li r4, 0 +/* 8012382C 0012078C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80123830 00120790 98 03 06 37 */ stb r0, 0x637(r3) +lbl_80123834: +/* 80123834 00120794 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80123838 00120798 7C 08 03 A6 */ mtlr r0 +/* 8012383C 0012079C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80123840 001207A0 4E 80 00 20 */ blr + +.global WallHang__12CSpacePirateFR13CStateManager9EStateMsgf +WallHang__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80123844 001207A4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80123848 001207A8 7C 08 02 A6 */ mflr r0 +/* 8012384C 001207AC 2C 05 00 01 */ cmpwi r5, 1 +/* 80123850 001207B0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80123854 001207B4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80123858 001207B8 7C 9F 23 78 */ mr r31, r4 +/* 8012385C 001207BC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80123860 001207C0 7C 7E 1B 78 */ mr r30, r3 +/* 80123864 001207C4 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80123868 001207C8 93 81 00 30 */ stw r28, 0x30(r1) +/* 8012386C 001207CC 41 82 01 30 */ beq lbl_8012399C +/* 80123870 001207D0 40 80 00 10 */ bge lbl_80123880 +/* 80123874 001207D4 2C 05 00 00 */ cmpwi r5, 0 +/* 80123878 001207D8 40 80 00 14 */ bge lbl_8012388C +/* 8012387C 001207DC 48 00 01 AC */ b lbl_80123A28 +lbl_80123880: +/* 80123880 001207E0 2C 05 00 03 */ cmpwi r5, 3 +/* 80123884 001207E4 40 80 01 A4 */ bge lbl_80123A28 +/* 80123888 001207E8 48 00 01 80 */ b lbl_80123A08 +lbl_8012388C: +/* 8012388C 001207EC 38 C0 00 01 */ li r6, 1 +/* 80123890 001207F0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80123894 001207F4 90 DE 03 2C */ stw r6, 0x32c(r30) +/* 80123898 001207F8 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 8012389C 001207FC 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 801238A0 00120800 98 1E 06 37 */ stb r0, 0x637(r30) +/* 801238A4 00120804 A0 1E 06 40 */ lhz r0, 0x640(r30) +/* 801238A8 00120808 B0 01 00 10 */ sth r0, 0x10(r1) +/* 801238AC 0012080C 4B F5 90 01 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 801238B0 00120810 7C 7D 1B 79 */ or. r29, r3, r3 +/* 801238B4 00120814 41 82 00 D4 */ beq lbl_80123988 +/* 801238B8 00120818 83 9D 00 2C */ lwz r28, 0x2c(r29) +/* 801238BC 0012081C 48 00 00 B4 */ b lbl_80123970 +lbl_801238C0: +/* 801238C0 00120820 80 1C 00 00 */ lwz r0, 0(r28) +/* 801238C4 00120824 2C 00 00 01 */ cmpwi r0, 1 +/* 801238C8 00120828 40 82 00 A4 */ bne lbl_8012396C +/* 801238CC 0012082C 80 1C 00 04 */ lwz r0, 4(r28) +/* 801238D0 00120830 2C 00 00 08 */ cmpwi r0, 8 +/* 801238D4 00120834 40 82 00 98 */ bne lbl_8012396C +/* 801238D8 00120838 80 1C 00 08 */ lwz r0, 8(r28) +/* 801238DC 0012083C 7F E4 FB 78 */ mr r4, r31 +/* 801238E0 00120840 38 61 00 0C */ addi r3, r1, 0xc +/* 801238E4 00120844 38 A1 00 18 */ addi r5, r1, 0x18 +/* 801238E8 00120848 90 01 00 18 */ stw r0, 0x18(r1) +/* 801238EC 0012084C 4B F2 46 31 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 801238F0 00120850 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 801238F4 00120854 7F E3 FB 78 */ mr r3, r31 +/* 801238F8 00120858 38 81 00 08 */ addi r4, r1, 8 +/* 801238FC 0012085C B0 01 00 14 */ sth r0, 0x14(r1) +/* 80123900 00120860 B0 01 00 08 */ sth r0, 8(r1) +/* 80123904 00120864 4B F2 8C 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80123908 00120868 7C 64 1B 78 */ mr r4, r3 +/* 8012390C 0012086C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80123910 00120870 4B F8 2C 3D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80123914 00120874 80 83 00 04 */ lwz r4, 4(r3) +/* 80123918 00120878 28 04 00 00 */ cmplwi r4, 0 +/* 8012391C 0012087C 41 82 00 50 */ beq lbl_8012396C +/* 80123920 00120880 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80123924 00120884 38 60 00 00 */ li r3, 0 +/* 80123928 00120888 B0 1E 02 DC */ sth r0, 0x2dc(r30) +/* 8012392C 0012088C C0 44 00 60 */ lfs f2, 0x60(r4) +/* 80123930 00120890 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80123934 00120894 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80123938 00120898 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) +/* 8012393C 0012089C D0 3E 02 E4 */ stfs f1, 0x2e4(r30) +/* 80123940 001208A0 D0 5E 02 E8 */ stfs f2, 0x2e8(r30) +/* 80123944 001208A4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80123948 001208A8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 8012394C 001208AC C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80123950 001208B0 D0 1E 02 EC */ stfs f0, 0x2ec(r30) +/* 80123954 001208B4 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) +/* 80123958 001208B8 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) +/* 8012395C 001208BC 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 80123960 001208C0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80123964 001208C4 98 1E 03 28 */ stb r0, 0x328(r30) +/* 80123968 001208C8 48 00 00 20 */ b lbl_80123988 +lbl_8012396C: +/* 8012396C 001208CC 3B 9C 00 0C */ addi r28, r28, 0xc +lbl_80123970: +/* 80123970 001208D0 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 80123974 001208D4 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 80123978 001208D8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8012397C 001208DC 7C 03 02 14 */ add r0, r3, r0 +/* 80123980 001208E0 7C 1C 00 40 */ cmplw r28, r0 +/* 80123984 001208E4 40 82 FF 3C */ bne lbl_801238C0 +lbl_80123988: +/* 80123988 001208E8 88 1E 06 36 */ lbz r0, 0x636(r30) +/* 8012398C 001208EC 38 60 00 01 */ li r3, 1 +/* 80123990 001208F0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80123994 001208F4 98 1E 06 36 */ stb r0, 0x636(r30) +/* 80123998 001208F8 48 00 00 90 */ b lbl_80123A28 +lbl_8012399C: +/* 8012399C 001208FC 3C A0 80 3E */ lis r5, lbl_803E07D0@ha +/* 801239A0 00120900 38 C1 00 24 */ addi r6, r1, 0x24 +/* 801239A4 00120904 39 45 07 D0 */ addi r10, r5, lbl_803E07D0@l +/* 801239A8 00120908 38 A0 00 14 */ li r5, 0x14 +/* 801239AC 0012090C 81 2A 00 00 */ lwz r9, 0(r10) +/* 801239B0 00120910 38 E0 00 00 */ li r7, 0 +/* 801239B4 00120914 81 0A 00 04 */ lwz r8, 4(r10) +/* 801239B8 00120918 80 0A 00 08 */ lwz r0, 8(r10) +/* 801239BC 0012091C 91 21 00 24 */ stw r9, 0x24(r1) +/* 801239C0 00120920 91 01 00 28 */ stw r8, 0x28(r1) +/* 801239C4 00120924 90 01 00 2C */ stw r0, 0x2c(r1) +/* 801239C8 00120928 4B F5 8D ED */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 801239CC 0012092C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 801239D0 00120930 38 00 00 01 */ li r0, 1 +/* 801239D4 00120934 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 801239D8 00120938 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 801239DC 0012093C C0 63 00 50 */ lfs f3, 0x50(r3) +/* 801239E0 00120940 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 801239E4 00120944 EC 21 00 28 */ fsubs f1, f1, f0 +/* 801239E8 00120948 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 801239EC 0012094C EC 43 10 28 */ fsubs f2, f3, f2 +/* 801239F0 00120950 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801239F4 00120954 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 801239F8 00120958 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 801239FC 0012095C D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80123A00 00120960 90 1E 07 C4 */ stw r0, 0x7c4(r30) +/* 80123A04 00120964 48 00 00 24 */ b lbl_80123A28 +lbl_80123A08: +/* 80123A08 00120968 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80123A0C 0012096C 38 60 00 00 */ li r3, 0 +/* 80123A10 00120970 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80123A14 00120974 98 1E 06 37 */ stb r0, 0x637(r30) +/* 80123A18 00120978 90 7E 03 2C */ stw r3, 0x32c(r30) +/* 80123A1C 0012097C 88 1E 06 36 */ lbz r0, 0x636(r30) +/* 80123A20 00120980 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80123A24 00120984 98 1E 06 36 */ stb r0, 0x636(r30) +lbl_80123A28: +/* 80123A28 00120988 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80123A2C 0012098C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80123A30 00120990 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80123A34 00120994 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80123A38 00120998 83 81 00 30 */ lwz r28, 0x30(r1) +/* 80123A3C 0012099C 7C 08 03 A6 */ mtlr r0 +/* 80123A40 001209A0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80123A44 001209A4 4E 80 00 20 */ blr + +.global ShouldWallHang__12CSpacePirateFR13CStateManagerf +ShouldWallHang__12CSpacePirateFR13CStateManagerf: +/* 80123A48 001209A8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80123A4C 001209AC 7C 08 02 A6 */ mflr r0 +/* 80123A50 001209B0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80123A54 001209B4 38 A1 00 08 */ addi r5, r1, 8 +/* 80123A58 001209B8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80123A5C 001209BC A0 03 06 40 */ lhz r0, 0x640(r3) +/* 80123A60 001209C0 B0 01 00 08 */ sth r0, 8(r1) +/* 80123A64 001209C4 4B F5 8E 49 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80123A68 001209C8 28 03 00 00 */ cmplwi r3, 0 +/* 80123A6C 001209CC 3B E0 00 00 */ li r31, 0 +/* 80123A70 001209D0 41 82 00 14 */ beq lbl_80123A84 +/* 80123A74 001209D4 48 00 9B 8D */ bl ShouldWallHang__17CScriptCoverPointCFv +/* 80123A78 001209D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80123A7C 001209DC 41 82 00 08 */ beq lbl_80123A84 +/* 80123A80 001209E0 3B E0 00 01 */ li r31, 1 +lbl_80123A84: +/* 80123A84 001209E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80123A88 001209E8 7F E3 FB 78 */ mr r3, r31 +/* 80123A8C 001209EC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80123A90 001209F0 7C 08 03 A6 */ mtlr r0 +/* 80123A94 001209F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 80123A98 001209F8 4E 80 00 20 */ blr + +.global TargetCover__12CSpacePirateFR13CStateManager9EStateMsgf +TargetCover__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80123A9C 001209FC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80123AA0 00120A00 7C 08 02 A6 */ mflr r0 +/* 80123AA4 00120A04 2C 05 00 00 */ cmpwi r5, 0 +/* 80123AA8 00120A08 90 01 00 24 */ stw r0, 0x24(r1) +/* 80123AAC 00120A0C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80123AB0 00120A10 7C 7F 1B 78 */ mr r31, r3 +/* 80123AB4 00120A14 41 82 00 08 */ beq lbl_80123ABC +/* 80123AB8 00120A18 48 00 00 64 */ b lbl_80123B1C +lbl_80123ABC: +/* 80123ABC 00120A1C A0 1F 06 40 */ lhz r0, 0x640(r31) +/* 80123AC0 00120A20 38 A1 00 08 */ addi r5, r1, 8 +/* 80123AC4 00120A24 B0 01 00 08 */ sth r0, 8(r1) +/* 80123AC8 00120A28 4B F5 8D E5 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80123ACC 00120A2C 28 03 00 00 */ cmplwi r3, 0 +/* 80123AD0 00120A30 41 82 00 24 */ beq lbl_80123AF4 +/* 80123AD4 00120A34 A0 1F 06 40 */ lhz r0, 0x640(r31) +/* 80123AD8 00120A38 B0 1F 02 DC */ sth r0, 0x2dc(r31) +/* 80123ADC 00120A3C C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80123AE0 00120A40 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80123AE4 00120A44 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80123AE8 00120A48 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) +/* 80123AEC 00120A4C D0 3F 02 E4 */ stfs f1, 0x2e4(r31) +/* 80123AF0 00120A50 D0 5F 02 E8 */ stfs f2, 0x2e8(r31) +lbl_80123AF4: +/* 80123AF4 00120A54 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80123AF8 00120A58 38 60 00 00 */ li r3, 0 +/* 80123AFC 00120A5C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80123B00 00120A60 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80123B04 00120A64 D0 1F 02 EC */ stfs f0, 0x2ec(r31) +/* 80123B08 00120A68 D0 3F 02 F0 */ stfs f1, 0x2f0(r31) +/* 80123B0C 00120A6C D0 5F 02 F4 */ stfs f2, 0x2f4(r31) +/* 80123B10 00120A70 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 80123B14 00120A74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80123B18 00120A78 98 1F 03 28 */ stb r0, 0x328(r31) +lbl_80123B1C: +/* 80123B1C 00120A7C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80123B20 00120A80 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80123B24 00120A84 7C 08 03 A6 */ mtlr r0 +/* 80123B28 00120A88 38 21 00 20 */ addi r1, r1, 0x20 +/* 80123B2C 00120A8C 4E 80 00 20 */ blr + +.global HasTargetingPoint__12CSpacePirateFR13CStateManagerf +HasTargetingPoint__12CSpacePirateFR13CStateManagerf: +/* 80123B30 00120A90 94 21 F7 60 */ stwu r1, -0x8a0(r1) +/* 80123B34 00120A94 7C 08 02 A6 */ mflr r0 +/* 80123B38 00120A98 90 01 08 A4 */ stw r0, 0x8a4(r1) +/* 80123B3C 00120A9C BF 41 08 88 */ stmw r26, 0x888(r1) +/* 80123B40 00120AA0 7C 9E 23 78 */ mr r30, r4 +/* 80123B44 00120AA4 7C 7D 1B 78 */ mr r29, r3 +/* 80123B48 00120AA8 38 81 00 1C */ addi r4, r1, 0x1c +/* 80123B4C 00120AAC 3B E0 00 01 */ li r31, 1 +/* 80123B50 00120AB0 A0 03 07 C0 */ lhz r0, 0x7c0(r3) +/* 80123B54 00120AB4 7F C3 F3 78 */ mr r3, r30 +/* 80123B58 00120AB8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80123B5C 00120ABC 4B F2 8A 19 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80123B60 00120AC0 7C 64 1B 78 */ mr r4, r3 +/* 80123B64 00120AC4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80123B68 00120AC8 4B F8 C1 29 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80123B6C 00120ACC 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80123B70 00120AD0 A0 9D 07 C0 */ lhz r4, 0x7c0(r29) +/* 80123B74 00120AD4 A0 05 00 08 */ lhz r0, 8(r5) +/* 80123B78 00120AD8 80 63 00 04 */ lwz r3, 4(r3) +/* 80123B7C 00120ADC 7C 04 00 40 */ cmplw r4, r0 +/* 80123B80 00120AE0 41 82 00 18 */ beq lbl_80123B98 +/* 80123B84 00120AE4 28 03 00 00 */ cmplwi r3, 0 +/* 80123B88 00120AE8 41 82 00 10 */ beq lbl_80123B98 +/* 80123B8C 00120AEC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80123B90 00120AF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80123B94 00120AF4 40 82 01 C8 */ bne lbl_80123D5C +lbl_80123B98: +/* 80123B98 00120AF8 A0 05 00 08 */ lhz r0, 8(r5) +/* 80123B9C 00120AFC 38 7D 07 64 */ addi r3, r29, 0x764 +/* 80123BA0 00120B00 38 81 00 18 */ addi r4, r1, 0x18 +/* 80123BA4 00120B04 3B E0 00 00 */ li r31, 0 +/* 80123BA8 00120B08 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80123BAC 00120B0C B0 01 00 18 */ sth r0, 0x18(r1) +/* 80123BB0 00120B10 48 05 16 69 */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 80123BB4 00120B14 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80123BB8 00120B18 38 61 00 60 */ addi r3, r1, 0x60 +/* 80123BBC 00120B1C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80123BC0 00120B20 38 81 00 3C */ addi r4, r1, 0x3c +/* 80123BC4 00120B24 A0 05 00 08 */ lhz r0, 8(r5) +/* 80123BC8 00120B28 38 A1 00 30 */ addi r5, r1, 0x30 +/* 80123BCC 00120B2C B0 1D 07 C0 */ sth r0, 0x7c0(r29) +/* 80123BD0 00120B30 C0 3D 05 70 */ lfs f1, 0x570(r29) +/* 80123BD4 00120B34 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 80123BD8 00120B38 EC C1 00 32 */ fmuls f6, f1, f0 +/* 80123BDC 00120B3C C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80123BE0 00120B40 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80123BE4 00120B44 EC A3 30 2A */ fadds f5, f3, f6 +/* 80123BE8 00120B48 EC 82 30 2A */ fadds f4, f2, f6 +/* 80123BEC 00120B4C EC 20 30 2A */ fadds f1, f0, f6 +/* 80123BF0 00120B50 EC 63 30 28 */ fsubs f3, f3, f6 +/* 80123BF4 00120B54 D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 80123BF8 00120B58 EC 42 30 28 */ fsubs f2, f2, f6 +/* 80123BFC 00120B5C EC 00 30 28 */ fsubs f0, f0, f6 +/* 80123C00 00120B60 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80123C04 00120B64 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 80123C08 00120B68 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 80123C0C 00120B6C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80123C10 00120B70 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 80123C14 00120B74 48 21 48 F5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80123C18 00120B78 38 00 00 00 */ li r0, 0 +/* 80123C1C 00120B7C 80 AD 8A C4 */ lwz r5, lbl_805A7684@sda21(r13) +/* 80123C20 00120B80 90 01 00 78 */ stw r0, 0x78(r1) +/* 80123C24 00120B84 38 60 00 00 */ li r3, 0 +/* 80123C28 00120B88 38 80 00 01 */ li r4, 1 +/* 80123C2C 00120B8C 48 26 62 C9 */ bl __shl2i +/* 80123C30 00120B90 39 20 FF FF */ li r9, -1 +/* 80123C34 00120B94 39 00 00 00 */ li r8, 0 +/* 80123C38 00120B98 38 00 00 02 */ li r0, 2 +/* 80123C3C 00120B9C 90 81 00 54 */ stw r4, 0x54(r1) +/* 80123C40 00120BA0 38 81 00 78 */ addi r4, r1, 0x78 +/* 80123C44 00120BA4 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80123C48 00120BA8 90 61 00 50 */ stw r3, 0x50(r1) +/* 80123C4C 00120BAC 7F C3 F3 78 */ mr r3, r30 +/* 80123C50 00120BB0 38 C1 00 48 */ addi r6, r1, 0x48 +/* 80123C54 00120BB4 38 E0 00 00 */ li r7, 0 +/* 80123C58 00120BB8 91 21 00 4C */ stw r9, 0x4c(r1) +/* 80123C5C 00120BBC 91 01 00 48 */ stw r8, 0x48(r1) +/* 80123C60 00120BC0 90 01 00 58 */ stw r0, 0x58(r1) +/* 80123C64 00120BC4 4B F2 8A BD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 80123C68 00120BC8 3B 81 00 7C */ addi r28, r1, 0x7c +/* 80123C6C 00120BCC 3B 60 00 00 */ li r27, 0 +/* 80123C70 00120BD0 48 00 00 8C */ b lbl_80123CFC +lbl_80123C74: +/* 80123C74 00120BD4 A0 1C 00 00 */ lhz r0, 0(r28) +/* 80123C78 00120BD8 7F C3 F3 78 */ mr r3, r30 +/* 80123C7C 00120BDC 38 81 00 10 */ addi r4, r1, 0x10 +/* 80123C80 00120BE0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80123C84 00120BE4 4B F2 89 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80123C88 00120BE8 7C 64 1B 78 */ mr r4, r3 +/* 80123C8C 00120BEC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80123C90 00120BF0 4B F8 3B F9 */ bl "__ct__35TCastToPtr<21CScriptTargetingPoint>FP7CEntity" +/* 80123C94 00120BF4 83 43 00 04 */ lwz r26, 4(r3) +/* 80123C98 00120BF8 28 1A 00 00 */ cmplwi r26, 0 +/* 80123C9C 00120BFC 41 82 00 58 */ beq lbl_80123CF4 +/* 80123CA0 00120C00 88 1A 00 30 */ lbz r0, 0x30(r26) +/* 80123CA4 00120C04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80123CA8 00120C08 41 82 00 4C */ beq lbl_80123CF4 +/* 80123CAC 00120C0C 80 7A 00 04 */ lwz r3, 4(r26) +/* 80123CB0 00120C10 80 1D 00 04 */ lwz r0, 4(r29) +/* 80123CB4 00120C14 7C 03 00 00 */ cmpw r3, r0 +/* 80123CB8 00120C18 40 82 00 3C */ bne lbl_80123CF4 +/* 80123CBC 00120C1C 7F 43 D3 78 */ mr r3, r26 +/* 80123CC0 00120C20 48 06 96 29 */ bl GetLocked__21CScriptTargetingPointCFv +/* 80123CC4 00120C24 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80123CC8 00120C28 40 82 00 2C */ bne lbl_80123CF4 +/* 80123CCC 00120C2C A0 1A 00 08 */ lhz r0, 8(r26) +/* 80123CD0 00120C30 38 7D 07 64 */ addi r3, r29, 0x764 +/* 80123CD4 00120C34 38 81 00 0C */ addi r4, r1, 0xc +/* 80123CD8 00120C38 3B E0 00 01 */ li r31, 1 +/* 80123CDC 00120C3C B0 01 00 08 */ sth r0, 8(r1) +/* 80123CE0 00120C40 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80123CE4 00120C44 48 05 15 35 */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 80123CE8 00120C48 A0 1A 00 08 */ lhz r0, 8(r26) +/* 80123CEC 00120C4C B0 1D 07 C0 */ sth r0, 0x7c0(r29) +/* 80123CF0 00120C50 48 00 00 18 */ b lbl_80123D08 +lbl_80123CF4: +/* 80123CF4 00120C54 3B 9C 00 02 */ addi r28, r28, 2 +/* 80123CF8 00120C58 3B 7B 00 01 */ addi r27, r27, 1 +lbl_80123CFC: +/* 80123CFC 00120C5C 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80123D00 00120C60 7C 1B 00 00 */ cmpw r27, r0 +/* 80123D04 00120C64 41 80 FF 70 */ blt lbl_80123C74 +lbl_80123D08: +/* 80123D08 00120C68 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 80123D0C 00120C6C 38 60 00 00 */ li r3, 0 +/* 80123D10 00120C70 2C 05 00 00 */ cmpwi r5, 0 +/* 80123D14 00120C74 40 81 00 40 */ ble lbl_80123D54 +/* 80123D18 00120C78 2C 05 00 08 */ cmpwi r5, 8 +/* 80123D1C 00120C7C 38 85 FF F8 */ addi r4, r5, -8 +/* 80123D20 00120C80 40 81 00 20 */ ble lbl_80123D40 +/* 80123D24 00120C84 38 04 00 07 */ addi r0, r4, 7 +/* 80123D28 00120C88 54 00 E8 FE */ srwi r0, r0, 3 +/* 80123D2C 00120C8C 7C 09 03 A6 */ mtctr r0 +/* 80123D30 00120C90 2C 04 00 00 */ cmpwi r4, 0 +/* 80123D34 00120C94 40 81 00 0C */ ble lbl_80123D40 +lbl_80123D38: +/* 80123D38 00120C98 38 63 00 08 */ addi r3, r3, 8 +/* 80123D3C 00120C9C 42 00 FF FC */ bdnz lbl_80123D38 +lbl_80123D40: +/* 80123D40 00120CA0 7C 03 28 50 */ subf r0, r3, r5 +/* 80123D44 00120CA4 7C 09 03 A6 */ mtctr r0 +/* 80123D48 00120CA8 7C 03 28 00 */ cmpw r3, r5 +/* 80123D4C 00120CAC 40 80 00 08 */ bge lbl_80123D54 +lbl_80123D50: +/* 80123D50 00120CB0 42 00 00 00 */ bdnz lbl_80123D50 +lbl_80123D54: +/* 80123D54 00120CB4 38 00 00 00 */ li r0, 0 +/* 80123D58 00120CB8 90 01 00 78 */ stw r0, 0x78(r1) +lbl_80123D5C: +/* 80123D5C 00120CBC 7F E3 FB 78 */ mr r3, r31 +/* 80123D60 00120CC0 BB 41 08 88 */ lmw r26, 0x888(r1) +/* 80123D64 00120CC4 80 01 08 A4 */ lwz r0, 0x8a4(r1) +/* 80123D68 00120CC8 7C 08 03 A6 */ mtlr r0 +/* 80123D6C 00120CCC 38 21 08 A0 */ addi r1, r1, 0x8a0 +/* 80123D70 00120CD0 4E 80 00 20 */ blr + +.global Attacked__12CSpacePirateFR13CStateManagerf +Attacked__12CSpacePirateFR13CStateManagerf: +/* 80123D74 00120CD4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80123D78 00120CD8 C0 43 08 50 */ lfs f2, 0x850(r3) +/* 80123D7C 00120CDC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80123D80 00120CE0 41 82 00 08 */ beq lbl_80123D88 +/* 80123D84 00120CE4 48 00 00 08 */ b lbl_80123D8C +lbl_80123D88: +/* 80123D88 00120CE8 C0 22 97 D0 */ lfs f1, lbl_805AB4F0@sda21(r2) +lbl_80123D8C: +/* 80123D8C 00120CEC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80123D90 00120CF0 7C 00 00 26 */ mfcr r0 +/* 80123D94 00120CF4 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80123D98 00120CF8 4E 80 00 20 */ blr + +.global ShotAt__12CSpacePirateFR13CStateManagerf +ShotAt__12CSpacePirateFR13CStateManagerf: +/* 80123D9C 00120CFC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80123DA0 00120D00 C0 43 08 54 */ lfs f2, 0x854(r3) +/* 80123DA4 00120D04 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80123DA8 00120D08 41 82 00 08 */ beq lbl_80123DB0 +/* 80123DAC 00120D0C 48 00 00 08 */ b lbl_80123DB4 +lbl_80123DB0: +/* 80123DB0 00120D10 C0 22 97 D0 */ lfs f1, lbl_805AB4F0@sda21(r2) +lbl_80123DB4: +/* 80123DB4 00120D14 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80123DB8 00120D18 7C 00 00 26 */ mfcr r0 +/* 80123DBC 00120D1C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80123DC0 00120D20 4E 80 00 20 */ blr + +.global ShouldMove__12CSpacePirateFR13CStateManagerf +ShouldMove__12CSpacePirateFR13CStateManagerf: +/* 80123DC4 00120D24 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80123DC8 00120D28 7C 08 02 A6 */ mflr r0 +/* 80123DCC 00120D2C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80123DD0 00120D30 38 A1 00 08 */ addi r5, r1, 8 +/* 80123DD4 00120D34 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80123DD8 00120D38 A0 03 06 40 */ lhz r0, 0x640(r3) +/* 80123DDC 00120D3C B0 01 00 08 */ sth r0, 8(r1) +/* 80123DE0 00120D40 4B F5 8A CD */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80123DE4 00120D44 28 03 00 00 */ cmplwi r3, 0 +/* 80123DE8 00120D48 3B E0 00 00 */ li r31, 0 +/* 80123DEC 00120D4C 41 82 00 14 */ beq lbl_80123E00 +/* 80123DF0 00120D50 48 00 98 1D */ bl ShouldStay__17CScriptCoverPointCFv +/* 80123DF4 00120D54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80123DF8 00120D58 40 82 00 08 */ bne lbl_80123E00 +/* 80123DFC 00120D5C 3B E0 00 01 */ li r31, 1 +lbl_80123E00: +/* 80123E00 00120D60 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80123E04 00120D64 7F E3 FB 78 */ mr r3, r31 +/* 80123E08 00120D68 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80123E0C 00120D6C 7C 08 03 A6 */ mtlr r0 +/* 80123E10 00120D70 38 21 00 20 */ addi r1, r1, 0x20 +/* 80123E14 00120D74 4E 80 00 20 */ blr + +.global ShouldRetreat__12CSpacePirateFR13CStateManagerf +ShouldRetreat__12CSpacePirateFR13CStateManagerf: +/* 80123E18 00120D78 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80123E1C 00120D7C 7C 08 02 A6 */ mflr r0 +/* 80123E20 00120D80 90 01 00 64 */ stw r0, 0x64(r1) +/* 80123E24 00120D84 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80123E28 00120D88 7C 7F 1B 78 */ mr r31, r3 +/* 80123E2C 00120D8C 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80123E30 00120D90 3B C0 00 00 */ li r30, 0 +/* 80123E34 00120D94 93 A1 00 54 */ stw r29, 0x54(r1) +/* 80123E38 00120D98 7C 9D 23 78 */ mr r29, r4 +/* 80123E3C 00120D9C 88 03 06 36 */ lbz r0, 0x636(r3) +/* 80123E40 00120DA0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80123E44 00120DA4 41 82 01 64 */ beq lbl_80123FA8 +/* 80123E48 00120DA8 7F E4 FB 78 */ mr r4, r31 +/* 80123E4C 00120DAC 7F A5 EB 78 */ mr r5, r29 +/* 80123E50 00120DB0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80123E54 00120DB4 38 C0 00 0D */ li r6, 0xd +/* 80123E58 00120DB8 38 E0 00 06 */ li r7, 6 +/* 80123E5C 00120DBC 48 0D 11 3D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 80123E60 00120DC0 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80123E64 00120DC4 7F A3 EB 78 */ mr r3, r29 +/* 80123E68 00120DC8 38 81 00 10 */ addi r4, r1, 0x10 +/* 80123E6C 00120DCC B0 01 00 18 */ sth r0, 0x18(r1) +/* 80123E70 00120DD0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80123E74 00120DD4 4B F2 87 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80123E78 00120DD8 7C 64 1B 78 */ mr r4, r3 +/* 80123E7C 00120DDC 38 61 00 24 */ addi r3, r1, 0x24 +/* 80123E80 00120DE0 4B F8 26 CD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80123E84 00120DE4 80 03 00 04 */ lwz r0, 4(r3) +/* 80123E88 00120DE8 28 00 00 00 */ cmplwi r0, 0 +/* 80123E8C 00120DEC 7C 05 03 78 */ mr r5, r0 +/* 80123E90 00120DF0 40 82 00 44 */ bne lbl_80123ED4 +/* 80123E94 00120DF4 7F E4 FB 78 */ mr r4, r31 +/* 80123E98 00120DF8 7F A5 EB 78 */ mr r5, r29 +/* 80123E9C 00120DFC 38 61 00 0C */ addi r3, r1, 0xc +/* 80123EA0 00120E00 38 C0 00 0C */ li r6, 0xc +/* 80123EA4 00120E04 38 E0 00 06 */ li r7, 6 +/* 80123EA8 00120E08 48 0D 10 F1 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 80123EAC 00120E0C A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80123EB0 00120E10 7F A3 EB 78 */ mr r3, r29 +/* 80123EB4 00120E14 38 81 00 08 */ addi r4, r1, 8 +/* 80123EB8 00120E18 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80123EBC 00120E1C B0 01 00 08 */ sth r0, 8(r1) +/* 80123EC0 00120E20 4B F2 86 E5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80123EC4 00120E24 7C 64 1B 78 */ mr r4, r3 +/* 80123EC8 00120E28 38 61 00 1C */ addi r3, r1, 0x1c +/* 80123ECC 00120E2C 4B F8 26 81 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80123ED0 00120E30 80 A3 00 04 */ lwz r5, 4(r3) +lbl_80123ED4: +/* 80123ED4 00120E34 28 05 00 00 */ cmplwi r5, 0 +/* 80123ED8 00120E38 41 82 00 34 */ beq lbl_80123F0C +/* 80123EDC 00120E3C A0 01 00 18 */ lhz r0, 0x18(r1) +/* 80123EE0 00120E40 7F E3 FB 78 */ mr r3, r31 +/* 80123EE4 00120E44 38 81 00 38 */ addi r4, r1, 0x38 +/* 80123EE8 00120E48 B0 1F 02 DC */ sth r0, 0x2dc(r31) +/* 80123EEC 00120E4C C0 45 00 60 */ lfs f2, 0x60(r5) +/* 80123EF0 00120E50 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 80123EF4 00120E54 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80123EF8 00120E58 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80123EFC 00120E5C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80123F00 00120E60 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80123F04 00120E64 4B F5 8C 59 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80123F08 00120E68 48 00 00 30 */ b lbl_80123F38 +lbl_80123F0C: +/* 80123F0C 00120E6C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80123F10 00120E70 7F E3 FB 78 */ mr r3, r31 +/* 80123F14 00120E74 38 81 00 2C */ addi r4, r1, 0x2c +/* 80123F18 00120E78 B0 1F 02 DC */ sth r0, 0x2dc(r31) +/* 80123F1C 00120E7C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80123F20 00120E80 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80123F24 00120E84 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80123F28 00120E88 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80123F2C 00120E8C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80123F30 00120E90 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80123F34 00120E94 4B F5 8C 29 */ bl SetDestPos__10CPatternedFRC9CVector3f +lbl_80123F38: +/* 80123F38 00120E98 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 80123F3C 00120E9C 38 C0 00 00 */ li r6, 0 +/* 80123F40 00120EA0 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80123F44 00120EA4 7F E3 FB 78 */ mr r3, r31 +/* 80123F48 00120EA8 98 1F 06 36 */ stb r0, 0x636(r31) +/* 80123F4C 00120EAC 7F A4 EB 78 */ mr r4, r29 +/* 80123F50 00120EB0 38 BF 06 40 */ addi r5, r31, 0x640 +/* 80123F54 00120EB4 3B C0 00 01 */ li r30, 1 +/* 80123F58 00120EB8 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80123F5C 00120EBC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80123F60 00120EC0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80123F64 00120EC4 D0 1F 02 EC */ stfs f0, 0x2ec(r31) +/* 80123F68 00120EC8 D0 3F 02 F0 */ stfs f1, 0x2f0(r31) +/* 80123F6C 00120ECC D0 5F 02 F4 */ stfs f2, 0x2f4(r31) +/* 80123F70 00120ED0 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 80123F74 00120ED4 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 80123F78 00120ED8 98 1F 03 28 */ stb r0, 0x328(r31) +/* 80123F7C 00120EDC 4B F5 88 E1 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId +/* 80123F80 00120EE0 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 80123F84 00120EE4 38 60 00 00 */ li r3, 0 +/* 80123F88 00120EE8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80123F8C 00120EEC 98 1F 06 36 */ stb r0, 0x636(r31) +/* 80123F90 00120EF0 88 1F 06 37 */ lbz r0, 0x637(r31) +/* 80123F94 00120EF4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80123F98 00120EF8 98 1F 06 37 */ stb r0, 0x637(r31) +/* 80123F9C 00120EFC 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 80123FA0 00120F00 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80123FA4 00120F04 98 1F 04 00 */ stb r0, 0x400(r31) +lbl_80123FA8: +/* 80123FA8 00120F08 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80123FAC 00120F0C 7F C3 F3 78 */ mr r3, r30 +/* 80123FB0 00120F10 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80123FB4 00120F14 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80123FB8 00120F18 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80123FBC 00120F1C 7C 08 03 A6 */ mtlr r0 +/* 80123FC0 00120F20 38 21 00 60 */ addi r1, r1, 0x60 +/* 80123FC4 00120F24 4E 80 00 20 */ blr + +.global Dodge__12CSpacePirateFR13CStateManager9EStateMsgf +Dodge__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80123FC8 00120F28 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80123FCC 00120F2C 7C 08 02 A6 */ mflr r0 +/* 80123FD0 00120F30 90 01 00 64 */ stw r0, 0x64(r1) +/* 80123FD4 00120F34 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 80123FD8 00120F38 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 80123FDC 00120F3C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80123FE0 00120F40 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80123FE4 00120F44 93 A1 00 44 */ stw r29, 0x44(r1) +/* 80123FE8 00120F48 2C 05 00 01 */ cmpwi r5, 1 +/* 80123FEC 00120F4C 3C C0 80 3E */ lis r6, lbl_803E0700@ha +/* 80123FF0 00120F50 7C 7E 1B 78 */ mr r30, r3 +/* 80123FF4 00120F54 7C 9F 23 78 */ mr r31, r4 +/* 80123FF8 00120F58 3B A6 07 00 */ addi r29, r6, lbl_803E0700@l +/* 80123FFC 00120F5C 41 82 01 08 */ beq lbl_80124104 +/* 80124000 00120F60 40 80 00 10 */ bge lbl_80124010 +/* 80124004 00120F64 2C 05 00 00 */ cmpwi r5, 0 +/* 80124008 00120F68 40 80 00 14 */ bge lbl_8012401C +/* 8012400C 00120F6C 48 00 02 68 */ b lbl_80124274 +lbl_80124010: +/* 80124010 00120F70 2C 05 00 03 */ cmpwi r5, 3 +/* 80124014 00120F74 40 80 02 60 */ bge lbl_80124274 +/* 80124018 00120F78 48 00 02 14 */ b lbl_8012422C +lbl_8012401C: +/* 8012401C 00120F7C 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 80124020 00120F80 38 A0 00 00 */ li r5, 0 +/* 80124024 00120F84 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80124028 00120F88 98 1E 06 39 */ stb r0, 0x639(r30) +/* 8012402C 00120F8C 88 1E 06 3A */ lbz r0, 0x63a(r30) +/* 80124030 00120F90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80124034 00120F94 40 82 00 90 */ bne lbl_801240C4 +/* 80124038 00120F98 88 1E 06 35 */ lbz r0, 0x635(r30) +/* 8012403C 00120F9C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80124040 00120FA0 40 82 00 84 */ bne lbl_801240C4 +/* 80124044 00120FA4 C0 3E 08 C0 */ lfs f1, 0x8c0(r30) +/* 80124048 00120FA8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012404C 00120FAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80124050 00120FB0 4C 40 13 82 */ cror 2, 0, 2 +/* 80124054 00120FB4 40 82 00 70 */ bne lbl_801240C4 +/* 80124058 00120FB8 81 83 00 00 */ lwz r12, 0(r3) +/* 8012405C 00120FBC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80124060 00120FC0 7D 89 03 A6 */ mtctr r12 +/* 80124064 00120FC4 4E 80 04 21 */ bctrl +/* 80124068 00120FC8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8012406C 00120FCC C0 9E 07 50 */ lfs f4, 0x750(r30) +/* 80124070 00120FD0 C0 22 98 28 */ lfs f1, lbl_805AB548@sda21(r2) +/* 80124074 00120FD4 EC 04 00 28 */ fsubs f0, f4, f0 +/* 80124078 00120FD8 C0 42 97 D8 */ lfs f2, lbl_805AB4F8@sda21(r2) +/* 8012407C 00120FDC C0 62 98 2C */ lfs f3, lbl_805AB54C@sda21(r2) +/* 80124080 00120FE0 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80124084 00120FE4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80124088 00120FE8 EC 00 20 24 */ fdivs f0, f0, f4 +/* 8012408C 00120FEC EC 02 00 2A */ fadds f0, f2, f0 +/* 80124090 00120FF0 EF E3 00 32 */ fmuls f31, f3, f0 +/* 80124094 00120FF4 48 1E E4 49 */ bl Float__9CRandom16Fv +/* 80124098 00120FF8 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 8012409C 00120FFC 40 80 00 14 */ bge lbl_801240B0 +/* 801240A0 00121000 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 801240A4 00121004 38 60 00 01 */ li r3, 1 +/* 801240A8 00121008 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 801240AC 0012100C 98 1E 06 39 */ stb r0, 0x639(r30) +lbl_801240B0: +/* 801240B0 00121010 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 801240B4 00121014 C0 3E 06 20 */ lfs f1, 0x620(r30) +/* 801240B8 00121018 C0 5E 06 24 */ lfs f2, 0x624(r30) +/* 801240BC 0012101C 48 1E E4 89 */ bl Range__9CRandom16Fff +/* 801240C0 00121020 D0 3E 08 C0 */ stfs f1, 0x8c0(r30) +lbl_801240C4: +/* 801240C4 00121024 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 801240C8 00121028 7F C3 F3 78 */ mr r3, r30 +/* 801240CC 0012102C 7F E4 FB 78 */ mr r4, r31 +/* 801240D0 00121030 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 801240D4 00121034 41 82 00 0C */ beq lbl_801240E0 +/* 801240D8 00121038 C0 3E 08 4C */ lfs f1, 0x84c(r30) +/* 801240DC 0012103C 48 00 00 08 */ b lbl_801240E4 +lbl_801240E0: +/* 801240E0 00121040 C0 3E 08 48 */ lfs f1, 0x848(r30) +lbl_801240E4: +/* 801240E4 00121044 48 00 45 F9 */ bl GetStrafeDir__12CSpacePirateCFR13CStateManagerf +/* 801240E8 00121048 90 7E 08 44 */ stw r3, 0x844(r30) +/* 801240EC 0012104C 80 1E 08 44 */ lwz r0, 0x844(r30) +/* 801240F0 00121050 2C 00 FF FF */ cmpwi r0, -1 +/* 801240F4 00121054 41 82 01 80 */ beq lbl_80124274 +/* 801240F8 00121058 38 00 00 01 */ li r0, 1 +/* 801240FC 0012105C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80124100 00121060 48 00 01 74 */ b lbl_80124274 +lbl_80124104: +/* 80124104 00121064 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 80124108 00121068 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8012410C 0012106C 40 82 00 8C */ bne lbl_80124198 +/* 80124110 00121070 88 1E 06 3A */ lbz r0, 0x63a(r30) +/* 80124114 00121074 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80124118 00121078 40 82 00 18 */ bne lbl_80124130 +/* 8012411C 0012107C 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80124120 00121080 48 1E E3 BD */ bl Float__9CRandom16Fv +/* 80124124 00121084 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80124128 00121088 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012412C 0012108C 40 80 00 38 */ bge lbl_80124164 +lbl_80124130: +/* 80124130 00121090 80 BD 00 AC */ lwz r5, 0xac(r29) +/* 80124134 00121094 7F C3 F3 78 */ mr r3, r30 +/* 80124138 00121098 80 FD 00 B0 */ lwz r7, 0xb0(r29) +/* 8012413C 0012109C 7F E4 FB 78 */ mr r4, r31 +/* 80124140 001210A0 80 1D 00 B4 */ lwz r0, 0xb4(r29) +/* 80124144 001210A4 38 C1 00 28 */ addi r6, r1, 0x28 +/* 80124148 001210A8 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8012414C 001210AC 38 A0 00 03 */ li r5, 3 +/* 80124150 001210B0 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 80124154 001210B4 90 01 00 30 */ stw r0, 0x30(r1) +/* 80124158 001210B8 80 FE 08 44 */ lwz r7, 0x844(r30) +/* 8012415C 001210BC 4B F5 86 59 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80124160 001210C0 48 00 01 14 */ b lbl_80124274 +lbl_80124164: +/* 80124164 001210C4 80 BD 00 B8 */ lwz r5, 0xb8(r29) +/* 80124168 001210C8 7F C3 F3 78 */ mr r3, r30 +/* 8012416C 001210CC 80 FD 00 BC */ lwz r7, 0xbc(r29) +/* 80124170 001210D0 7F E4 FB 78 */ mr r4, r31 +/* 80124174 001210D4 80 1D 00 C0 */ lwz r0, 0xc0(r29) +/* 80124178 001210D8 38 C1 00 1C */ addi r6, r1, 0x1c +/* 8012417C 001210DC 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 80124180 001210E0 38 A0 00 03 */ li r5, 3 +/* 80124184 001210E4 90 E1 00 20 */ stw r7, 0x20(r1) +/* 80124188 001210E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8012418C 001210EC 80 FE 08 44 */ lwz r7, 0x844(r30) +/* 80124190 001210F0 4B F5 86 25 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80124194 001210F4 48 00 00 E0 */ b lbl_80124274 +lbl_80124198: +/* 80124198 001210F8 81 1D 00 C4 */ lwz r8, 0xc4(r29) +/* 8012419C 001210FC 38 C1 00 10 */ addi r6, r1, 0x10 +/* 801241A0 00121100 80 FD 00 C8 */ lwz r7, 0xc8(r29) +/* 801241A4 00121104 38 A0 00 03 */ li r5, 3 +/* 801241A8 00121108 80 1D 00 CC */ lwz r0, 0xcc(r29) +/* 801241AC 0012110C 91 01 00 10 */ stw r8, 0x10(r1) +/* 801241B0 00121110 90 E1 00 14 */ stw r7, 0x14(r1) +/* 801241B4 00121114 90 01 00 18 */ stw r0, 0x18(r1) +/* 801241B8 00121118 80 FE 08 44 */ lwz r7, 0x844(r30) +/* 801241BC 0012111C 4B F5 85 F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 801241C0 00121120 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 801241C4 00121124 38 00 02 00 */ li r0, 0x200 +/* 801241C8 00121128 80 BE 00 6C */ lwz r5, 0x6c(r30) +/* 801241CC 0012112C 38 80 00 00 */ li r4, 0 +/* 801241D0 00121130 7C 60 00 38 */ and r0, r3, r0 +/* 801241D4 00121134 7C A3 20 38 */ and r3, r5, r4 +/* 801241D8 00121138 7C 63 22 78 */ xor r3, r3, r4 +/* 801241DC 0012113C 7C 00 22 78 */ xor r0, r0, r4 +/* 801241E0 00121140 7C 60 03 79 */ or. r0, r3, r0 +/* 801241E4 00121144 41 82 00 90 */ beq lbl_80124274 +/* 801241E8 00121148 C0 3E 03 38 */ lfs f1, 0x338(r30) +/* 801241EC 0012114C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 801241F0 00121150 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801241F4 00121154 40 81 00 80 */ ble lbl_80124274 +/* 801241F8 00121158 7F C3 F3 78 */ mr r3, r30 +/* 801241FC 0012115C 7F E5 FB 78 */ mr r5, r31 +/* 80124200 00121160 38 80 00 29 */ li r4, 0x29 +/* 80124204 00121164 4B F2 FD 7D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80124208 00121168 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8012420C 0012116C 7F E6 FB 78 */ mr r6, r31 +/* 80124210 00121170 38 81 00 0C */ addi r4, r1, 0xc +/* 80124214 00121174 38 A0 00 08 */ li r5, 8 +/* 80124218 00121178 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8012421C 0012117C B0 01 00 08 */ sth r0, 8(r1) +/* 80124220 00121180 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80124224 00121184 48 05 70 31 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager +/* 80124228 00121188 48 00 00 4C */ b lbl_80124274 +lbl_8012422C: +/* 8012422C 0012118C 38 C0 00 00 */ li r6, 0 +/* 80124230 00121190 38 A0 00 01 */ li r5, 1 +/* 80124234 00121194 90 DE 03 2C */ stw r6, 0x32c(r30) +/* 80124238 00121198 38 00 02 00 */ li r0, 0x200 +/* 8012423C 0012119C 88 9E 06 38 */ lbz r4, 0x638(r30) +/* 80124240 001211A0 50 A4 17 7A */ rlwimi r4, r5, 2, 0x1d, 0x1d +/* 80124244 001211A4 98 9E 06 38 */ stb r4, 0x638(r30) +/* 80124248 001211A8 80 9E 00 68 */ lwz r4, 0x68(r30) +/* 8012424C 001211AC 80 BE 00 6C */ lwz r5, 0x6c(r30) +/* 80124250 001211B0 7C 80 00 38 */ and r0, r4, r0 +/* 80124254 001211B4 7C A4 30 38 */ and r4, r5, r6 +/* 80124258 001211B8 7C 84 32 78 */ xor r4, r4, r6 +/* 8012425C 001211BC 7C 00 32 78 */ xor r0, r0, r6 +/* 80124260 001211C0 7C 80 03 79 */ or. r0, r4, r0 +/* 80124264 001211C4 40 82 00 10 */ bne lbl_80124274 +/* 80124268 001211C8 7F E5 FB 78 */ mr r5, r31 +/* 8012426C 001211CC 38 80 00 29 */ li r4, 0x29 +/* 80124270 001211D0 4B F3 00 E1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_80124274: +/* 80124274 001211D4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 80124278 001211D8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8012427C 001211DC CB E1 00 50 */ lfd f31, 0x50(r1) +/* 80124280 001211E0 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80124284 001211E4 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80124288 001211E8 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8012428C 001211EC 7C 08 03 A6 */ mtlr r0 +/* 80124290 001211F0 38 21 00 60 */ addi r1, r1, 0x60 +/* 80124294 001211F4 4E 80 00 20 */ blr + +.global TryRollingDodge__10CPatternedFR13CStateManageri +TryRollingDodge__10CPatternedFR13CStateManageri: +/* 80124298 001211F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8012429C 001211FC 7C 08 02 A6 */ mflr r0 +/* 801242A0 00121200 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 801242A4 00121204 90 01 00 24 */ stw r0, 0x24(r1) +/* 801242A8 00121208 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 801242AC 0012120C 38 80 00 01 */ li r4, 1 +/* 801242B0 00121210 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801242B4 00121214 80 E3 04 50 */ lwz r7, 0x450(r3) +/* 801242B8 00121218 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 801242BC 0012121C 90 01 00 08 */ stw r0, 8(r1) +/* 801242C0 00121220 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l +/* 801242C4 00121224 38 60 00 01 */ li r3, 1 +/* 801242C8 00121228 38 00 00 03 */ li r0, 3 +/* 801242CC 0012122C 3B E7 00 04 */ addi r31, r7, 4 +/* 801242D0 00121230 90 61 00 0C */ stw r3, 0xc(r1) +/* 801242D4 00121234 7F E3 FB 78 */ mr r3, r31 +/* 801242D8 00121238 90 C1 00 08 */ stw r6, 8(r1) +/* 801242DC 0012123C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 801242E0 00121240 90 01 00 14 */ stw r0, 0x14(r1) +/* 801242E4 00121244 48 00 D1 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801242E8 00121248 80 01 00 0C */ lwz r0, 0xc(r1) +/* 801242EC 0012124C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 801242F0 00121250 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 801242F4 00121254 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801242F8 00121258 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 801242FC 0012125C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80124300 00121260 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80124304 00121264 90 81 00 08 */ stw r4, 8(r1) +/* 80124308 00121268 80 61 00 14 */ lwz r3, 0x14(r1) +/* 8012430C 0012126C 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 80124310 00121270 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 80124314 00121274 90 01 00 08 */ stw r0, 8(r1) +/* 80124318 00121278 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8012431C 0012127C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80124320 00121280 7C 08 03 A6 */ mtlr r0 +/* 80124324 00121284 38 21 00 20 */ addi r1, r1, 0x20 +/* 80124328 00121288 4E 80 00 20 */ blr + +.global ShouldDodge__12CSpacePirateFR13CStateManagerf +ShouldDodge__12CSpacePirateFR13CStateManagerf: +/* 8012432C 0012128C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80124330 00121290 7C 08 02 A6 */ mflr r0 +/* 80124334 00121294 90 01 00 84 */ stw r0, 0x84(r1) +/* 80124338 00121298 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8012433C 0012129C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80124340 001212A0 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80124344 001212A4 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80124348 001212A8 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8012434C 001212AC F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80124350 001212B0 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80124354 001212B4 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80124358 001212B8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8012435C 001212BC 7C 7D 1B 78 */ mr r29, r3 +/* 80124360 001212C0 88 63 06 38 */ lbz r3, 0x638(r3) +/* 80124364 001212C4 7C 9E 23 78 */ mr r30, r4 +/* 80124368 001212C8 3B E0 00 00 */ li r31, 0 +/* 8012436C 001212CC 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 80124370 001212D0 41 82 01 44 */ beq lbl_801244B4 +/* 80124374 001212D4 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 80124378 001212D8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8012437C 001212DC 40 82 00 A0 */ bne lbl_8012441C +/* 80124380 001212E0 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 80124384 001212E4 40 82 00 98 */ bne lbl_8012441C +/* 80124388 001212E8 C3 BD 00 60 */ lfs f29, 0x60(r29) +/* 8012438C 001212EC 7F A4 EB 78 */ mr r4, r29 +/* 80124390 001212F0 C3 DD 00 50 */ lfs f30, 0x50(r29) +/* 80124394 001212F4 7F C5 F3 78 */ mr r5, r30 +/* 80124398 001212F8 C3 FD 00 40 */ lfs f31, 0x40(r29) +/* 8012439C 001212FC 38 61 00 28 */ addi r3, r1, 0x28 +/* 801243A0 00121300 48 00 40 A5 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 801243A4 00121304 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 801243A8 00121308 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 801243AC 0012130C EC 60 F0 28 */ fsubs f3, f0, f30 +/* 801243B0 00121310 C0 BD 00 48 */ lfs f5, 0x48(r29) +/* 801243B4 00121314 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 801243B8 00121318 EC 81 F8 28 */ fsubs f4, f1, f31 +/* 801243BC 0012131C C0 5D 00 38 */ lfs f2, 0x38(r29) +/* 801243C0 00121320 EC 23 01 72 */ fmuls f1, f3, f5 +/* 801243C4 00121324 C0 DD 00 58 */ lfs f6, 0x58(r29) +/* 801243C8 00121328 EC 60 E8 28 */ fsubs f3, f0, f29 +/* 801243CC 0012132C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801243D0 00121330 EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 801243D4 00121334 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 801243D8 00121338 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 801243DC 0012133C EC 23 09 BA */ fmadds f1, f3, f6, f1 +/* 801243E0 00121340 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 801243E4 00121344 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801243E8 00121348 40 81 00 34 */ ble lbl_8012441C +/* 801243EC 0012134C C0 1D 08 50 */ lfs f0, 0x850(r29) +/* 801243F0 00121350 C0 22 98 30 */ lfs f1, lbl_805AB550@sda21(r2) +/* 801243F4 00121354 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801243F8 00121358 41 80 00 10 */ blt lbl_80124408 +/* 801243FC 0012135C C0 1D 08 54 */ lfs f0, 0x854(r29) +/* 80124400 00121360 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80124404 00121364 40 80 00 18 */ bge lbl_8012441C +lbl_80124408: +/* 80124408 00121368 C0 3D 07 AC */ lfs f1, 0x7ac(r29) +/* 8012440C 0012136C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80124410 00121370 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80124414 00121374 40 80 00 08 */ bge lbl_8012441C +/* 80124418 00121378 3B E0 00 01 */ li r31, 1 +lbl_8012441C: +/* 8012441C 0012137C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80124420 00121380 40 82 00 94 */ bne lbl_801244B4 +/* 80124424 00121384 A0 1D 07 C0 */ lhz r0, 0x7c0(r29) +/* 80124428 00121388 7F C3 F3 78 */ mr r3, r30 +/* 8012442C 0012138C 38 81 00 08 */ addi r4, r1, 8 +/* 80124430 00121390 B0 01 00 08 */ sth r0, 8(r1) +/* 80124434 00121394 4B F2 81 71 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80124438 00121398 7C 64 1B 78 */ mr r4, r3 +/* 8012443C 0012139C 38 61 00 0C */ addi r3, r1, 0xc +/* 80124440 001213A0 4B F8 10 95 */ bl sub_800a54d4 +/* 80124444 001213A4 4B F8 10 65 */ bl "CastTo<8CMetroid>__10CPatternedFP7CEntity" +/* 80124448 001213A8 28 03 00 00 */ cmplwi r3, 0 +/* 8012444C 001213AC 41 82 00 68 */ beq lbl_801244B4 +/* 80124450 001213B0 88 03 09 BF */ lbz r0, 0x9bf(r3) +/* 80124454 001213B4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80124458 001213B8 41 82 00 5C */ beq lbl_801244B4 +/* 8012445C 001213BC C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80124460 001213C0 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 80124464 001213C4 C0 C3 00 48 */ lfs f6, 0x48(r3) +/* 80124468 001213C8 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8012446C 001213CC C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 80124470 001213D0 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80124474 001213D4 C0 43 00 38 */ lfs f2, 0x38(r3) +/* 80124478 001213D8 EC A1 00 28 */ fsubs f5, f1, f0 +/* 8012447C 001213DC C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 80124480 001213E0 EC 04 01 B2 */ fmuls f0, f4, f6 +/* 80124484 001213E4 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 80124488 001213E8 C0 83 00 58 */ lfs f4, 0x58(r3) +/* 8012448C 001213EC EC 63 08 28 */ fsubs f3, f3, f1 +/* 80124490 001213F0 EC 25 00 BA */ fmadds f1, f5, f2, f0 +/* 80124494 001213F4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80124498 001213F8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8012449C 001213FC EC 23 09 3A */ fmadds f1, f3, f4, f1 +/* 801244A0 00121400 D0 C1 00 14 */ stfs f6, 0x14(r1) +/* 801244A4 00121404 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 801244A8 00121408 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801244AC 0012140C 40 81 00 08 */ ble lbl_801244B4 +/* 801244B0 00121410 3B E0 00 01 */ li r31, 1 +lbl_801244B4: +/* 801244B4 00121414 7F E3 FB 78 */ mr r3, r31 +/* 801244B8 00121418 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 801244BC 0012141C CB E1 00 70 */ lfd f31, 0x70(r1) +/* 801244C0 00121420 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 801244C4 00121424 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 801244C8 00121428 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 801244CC 0012142C CB A1 00 50 */ lfd f29, 0x50(r1) +/* 801244D0 00121430 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 801244D4 00121434 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 801244D8 00121438 80 01 00 84 */ lwz r0, 0x84(r1) +/* 801244DC 0012143C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 801244E0 00121440 7C 08 03 A6 */ mtlr r0 +/* 801244E4 00121444 38 21 00 80 */ addi r1, r1, 0x80 +/* 801244E8 00121448 4E 80 00 20 */ blr + +.global TurnAround__12CSpacePirateFR13CStateManager9EStateMsgf +TurnAround__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801244EC 0012144C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 801244F0 00121450 7C 08 02 A6 */ mflr r0 +/* 801244F4 00121454 2C 05 00 01 */ cmpwi r5, 1 +/* 801244F8 00121458 90 01 00 54 */ stw r0, 0x54(r1) +/* 801244FC 0012145C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 80124500 00121460 7C 9F 23 78 */ mr r31, r4 +/* 80124504 00121464 93 C1 00 48 */ stw r30, 0x48(r1) +/* 80124508 00121468 7C 7E 1B 78 */ mr r30, r3 +/* 8012450C 0012146C 41 82 00 C8 */ beq lbl_801245D4 +/* 80124510 00121470 40 80 00 10 */ bge lbl_80124520 +/* 80124514 00121474 2C 05 00 00 */ cmpwi r5, 0 +/* 80124518 00121478 40 80 00 14 */ bge lbl_8012452C +/* 8012451C 0012147C 48 00 01 00 */ b lbl_8012461C +lbl_80124520: +/* 80124520 00121480 2C 05 00 03 */ cmpwi r5, 3 +/* 80124524 00121484 40 80 00 F8 */ bge lbl_8012461C +/* 80124528 00121488 48 00 00 EC */ b lbl_80124614 +lbl_8012452C: +/* 8012452C 0012148C 7F C4 F3 78 */ mr r4, r30 +/* 80124530 00121490 7F E5 FB 78 */ mr r5, r31 +/* 80124534 00121494 38 61 00 2C */ addi r3, r1, 0x2c +/* 80124538 00121498 48 00 3F 0D */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 8012453C 0012149C 7F C3 F3 78 */ mr r3, r30 +/* 80124540 001214A0 38 81 00 2C */ addi r4, r1, 0x2c +/* 80124544 001214A4 4B F5 86 19 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80124548 001214A8 C0 3E 02 E8 */ lfs f1, 0x2e8(r30) +/* 8012454C 001214AC 38 61 00 14 */ addi r3, r1, 0x14 +/* 80124550 001214B0 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80124554 001214B4 38 81 00 38 */ addi r4, r1, 0x38 +/* 80124558 001214B8 C0 9E 02 E4 */ lfs f4, 0x2e4(r30) +/* 8012455C 001214BC C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 80124560 001214C0 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80124564 001214C4 C0 5E 02 E0 */ lfs f2, 0x2e0(r30) +/* 80124568 001214C8 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8012456C 001214CC EC 64 18 28 */ fsubs f3, f4, f3 +/* 80124570 001214D0 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80124574 001214D4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80124578 001214D8 D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 8012457C 001214DC D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 80124580 001214E0 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 80124584 001214E4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80124588 001214E8 48 1F 02 C9 */ bl AsNormalized__9CVector3fCFv +/* 8012458C 001214EC C0 9E 00 48 */ lfs f4, 0x48(r30) +/* 80124590 001214F0 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80124594 001214F4 C0 7E 00 38 */ lfs f3, 0x38(r30) +/* 80124598 001214F8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 8012459C 001214FC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 801245A0 00121500 C0 BE 00 58 */ lfs f5, 0x58(r30) +/* 801245A4 00121504 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 801245A8 00121508 EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 801245AC 0012150C C0 02 98 34 */ lfs f0, lbl_805AB554@sda21(r2) +/* 801245B0 00121510 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 801245B4 00121514 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 801245B8 00121518 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 801245BC 0012151C D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 801245C0 00121520 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801245C4 00121524 40 80 00 58 */ bge lbl_8012461C +/* 801245C8 00121528 38 00 00 01 */ li r0, 1 +/* 801245CC 0012152C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 801245D0 00121530 48 00 00 4C */ b lbl_8012461C +lbl_801245D4: +/* 801245D4 00121534 3C A0 80 3E */ lis r5, lbl_803E07A0@ha +/* 801245D8 00121538 38 C1 00 08 */ addi r6, r1, 8 +/* 801245DC 0012153C 39 45 07 A0 */ addi r10, r5, lbl_803E07A0@l +/* 801245E0 00121540 38 A0 00 08 */ li r5, 8 +/* 801245E4 00121544 81 2A 00 00 */ lwz r9, 0(r10) +/* 801245E8 00121548 38 E0 00 00 */ li r7, 0 +/* 801245EC 0012154C 81 0A 00 04 */ lwz r8, 4(r10) +/* 801245F0 00121550 80 0A 00 08 */ lwz r0, 8(r10) +/* 801245F4 00121554 91 21 00 08 */ stw r9, 8(r1) +/* 801245F8 00121558 91 01 00 0C */ stw r8, 0xc(r1) +/* 801245FC 0012155C 90 01 00 10 */ stw r0, 0x10(r1) +/* 80124600 00121560 4B F5 81 B5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80124604 00121564 7F C3 F3 78 */ mr r3, r30 +/* 80124608 00121568 7F E4 FB 78 */ mr r4, r31 +/* 8012460C 0012156C 48 00 49 91 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager +/* 80124610 00121570 48 00 00 0C */ b lbl_8012461C +lbl_80124614: +/* 80124614 00121574 38 00 00 00 */ li r0, 0 +/* 80124618 00121578 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_8012461C: +/* 8012461C 0012157C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80124620 00121580 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80124624 00121584 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 80124628 00121588 7C 08 03 A6 */ mtlr r0 +/* 8012462C 0012158C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80124630 00121590 4E 80 00 20 */ blr + +.global Shuffle__12CSpacePirateFR13CStateManager9EStateMsgf +Shuffle__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80124634 00121594 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 80124638 00121598 7C 08 02 A6 */ mflr r0 +/* 8012463C 0012159C 90 01 01 24 */ stw r0, 0x124(r1) +/* 80124640 001215A0 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 80124644 001215A4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 80124648 001215A8 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 8012464C 001215AC F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 80124650 001215B0 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 80124654 001215B4 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 80124658 001215B8 93 E1 00 EC */ stw r31, 0xec(r1) +/* 8012465C 001215BC 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 80124660 001215C0 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 80124664 001215C4 7C BF 2B 79 */ or. r31, r5, r5 +/* 80124668 001215C8 FF C0 08 90 */ fmr f30, f1 +/* 8012466C 001215CC 7C 7D 1B 78 */ mr r29, r3 +/* 80124670 001215D0 7C 9E 23 78 */ mr r30, r4 +/* 80124674 001215D4 41 82 00 08 */ beq lbl_8012467C +/* 80124678 001215D8 48 00 02 D0 */ b lbl_80124948 +lbl_8012467C: +/* 8012467C 001215DC 80 BD 04 50 */ lwz r5, 0x450(r29) +/* 80124680 001215E0 38 00 00 00 */ li r0, 0 +/* 80124684 001215E4 90 05 00 34 */ stw r0, 0x34(r5) +/* 80124688 001215E8 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012468C 001215EC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80124690 001215F0 40 82 01 34 */ bne lbl_801247C4 +/* 80124694 001215F4 81 83 00 00 */ lwz r12, 0(r3) +/* 80124698 001215F8 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 8012469C 001215FC 81 8C 01 9C */ lwz r12, 0x19c(r12) +/* 801246A0 00121600 7D 89 03 A6 */ mtctr r12 +/* 801246A4 00121604 4E 80 04 21 */ bctrl +/* 801246A8 00121608 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801246AC 0012160C 41 82 01 18 */ beq lbl_801247C4 +/* 801246B0 00121610 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 801246B4 00121614 7F C4 F3 78 */ mr r4, r30 +/* 801246B8 00121618 C0 42 98 1C */ lfs f2, lbl_805AB53C@sda21(r2) +/* 801246BC 0012161C 38 61 00 5C */ addi r3, r1, 0x5c +/* 801246C0 00121620 48 00 47 1D */ bl Random2f__FR13CStateManagerff +/* 801246C4 00121624 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 801246C8 00121628 38 61 00 8C */ addi r3, r1, 0x8c +/* 801246CC 0012162C C0 FD 00 60 */ lfs f7, 0x60(r29) +/* 801246D0 00121630 38 81 00 80 */ addi r4, r1, 0x80 +/* 801246D4 00121634 C0 A5 00 60 */ lfs f5, 0x60(r5) +/* 801246D8 00121638 C0 85 00 50 */ lfs f4, 0x50(r5) +/* 801246DC 0012163C C0 DD 00 50 */ lfs f6, 0x50(r29) +/* 801246E0 00121640 EC 47 28 28 */ fsubs f2, f7, f5 +/* 801246E4 00121644 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 801246E8 00121648 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 801246EC 0012164C EC 66 20 28 */ fsubs f3, f6, f4 +/* 801246F0 00121650 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 801246F4 00121654 EC 01 00 28 */ fsubs f0, f1, f0 +/* 801246F8 00121658 D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 801246FC 0012165C D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 80124700 00121660 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80124704 00121664 D0 C1 00 78 */ stfs f6, 0x78(r1) +/* 80124708 00121668 D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 8012470C 0012166C D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80124710 00121670 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 80124714 00121674 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 80124718 00121678 48 1F 01 39 */ bl AsNormalized__9CVector3fCFv +/* 8012471C 0012167C C0 7D 02 FC */ lfs f3, 0x2fc(r29) +/* 80124720 00121680 7F A3 EB 78 */ mr r3, r29 +/* 80124724 00121684 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 80124728 00121688 38 81 00 BC */ addi r4, r1, 0xbc +/* 8012472C 0012168C C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 80124730 00121690 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 80124734 00121694 EC E3 00 B2 */ fmuls f7, f3, f2 +/* 80124738 00121698 C1 7D 00 60 */ lfs f11, 0x60(r29) +/* 8012473C 0012169C EC C3 00 72 */ fmuls f6, f3, f1 +/* 80124740 001216A0 C0 9D 00 40 */ lfs f4, 0x40(r29) +/* 80124744 001216A4 EC A3 00 32 */ fmuls f5, f3, f0 +/* 80124748 001216A8 C1 5D 00 50 */ lfs f10, 0x50(r29) +/* 8012474C 001216AC ED 0B 38 2A */ fadds f8, f11, f7 +/* 80124750 001216B0 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 80124754 001216B4 ED 2A 28 2A */ fadds f9, f10, f5 +/* 80124758 001216B8 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 8012475C 001216BC EC 64 30 2A */ fadds f3, f4, f6 +/* 80124760 001216C0 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80124764 001216C4 EC 49 10 2A */ fadds f2, f9, f2 +/* 80124768 001216C8 D0 C1 00 98 */ stfs f6, 0x98(r1) +/* 8012476C 001216CC EC 28 08 2A */ fadds f1, f8, f1 +/* 80124770 001216D0 EC 03 00 2A */ fadds f0, f3, f0 +/* 80124774 001216D4 D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 80124778 001216D8 D0 E1 00 A0 */ stfs f7, 0xa0(r1) +/* 8012477C 001216DC D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 80124780 001216E0 D1 41 00 A8 */ stfs f10, 0xa8(r1) +/* 80124784 001216E4 D1 61 00 AC */ stfs f11, 0xac(r1) +/* 80124788 001216E8 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 8012478C 001216EC D1 21 00 B4 */ stfs f9, 0xb4(r1) +/* 80124790 001216F0 D1 01 00 B8 */ stfs f8, 0xb8(r1) +/* 80124794 001216F4 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 80124798 001216F8 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 8012479C 001216FC D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 801247A0 00121700 4B F5 83 BD */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 801247A4 00121704 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801247A8 00121708 38 60 00 01 */ li r3, 1 +/* 801247AC 0012170C B0 1D 02 DC */ sth r0, 0x2dc(r29) +/* 801247B0 00121710 90 7D 03 0C */ stw r3, 0x30c(r29) +/* 801247B4 00121714 88 1D 06 36 */ lbz r0, 0x636(r29) +/* 801247B8 00121718 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 801247BC 0012171C 98 1D 06 36 */ stb r0, 0x636(r29) +/* 801247C0 00121720 48 00 01 80 */ b lbl_80124940 +lbl_801247C4: +/* 801247C4 00121724 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 801247C8 00121728 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 801247CC 0012172C 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l +/* 801247D0 00121730 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 801247D4 00121734 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 801247D8 00121738 C0 3D 00 60 */ lfs f1, 0x60(r29) +/* 801247DC 0012173C C0 04 00 60 */ lfs f0, 0x60(r4) +/* 801247E0 00121740 EC A3 10 28 */ fsubs f5, f3, f2 +/* 801247E4 00121744 C0 E3 00 08 */ lfs f7, 8(r3) +/* 801247E8 00121748 C0 5D 00 40 */ lfs f2, 0x40(r29) +/* 801247EC 0012174C EC 81 00 28 */ fsubs f4, f1, f0 +/* 801247F0 00121750 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 801247F4 00121754 EC 05 01 F2 */ fmuls f0, f5, f7 +/* 801247F8 00121758 C0 C3 00 04 */ lfs f6, 4(r3) +/* 801247FC 0012175C EC 62 08 28 */ fsubs f3, f2, f1 +/* 80124800 00121760 C1 03 00 00 */ lfs f8, 0(r3) +/* 80124804 00121764 EC 26 01 38 */ fmsubs f1, f6, f4, f0 +/* 80124808 00121768 D0 A1 00 D8 */ stfs f5, 0xd8(r1) +/* 8012480C 0012176C EC 04 02 32 */ fmuls f0, f4, f8 +/* 80124810 00121770 EC 43 01 B2 */ fmuls f2, f3, f6 +/* 80124814 00121774 D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 80124818 00121778 EC 07 00 F8 */ fmsubs f0, f7, f3, f0 +/* 8012481C 0012177C EC 48 11 78 */ fmsubs f2, f8, f5, f2 +/* 80124820 00121780 D0 81 00 DC */ stfs f4, 0xdc(r1) +/* 80124824 00121784 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 80124828 00121788 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 8012482C 0012178C D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 80124830 00121790 C3 FD 03 00 */ lfs f31, 0x300(r29) +/* 80124834 00121794 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80124838 00121798 48 1E DC A5 */ bl Float__9CRandom16Fv +/* 8012483C 0012179C EF FF F8 7A */ fmadds f31, f31, f1, f31 +/* 80124840 001217A0 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 80124844 001217A4 48 1E DC 99 */ bl Float__9CRandom16Fv +/* 80124848 001217A8 C0 62 97 D0 */ lfs f3, lbl_805AB4F0@sda21(r2) +/* 8012484C 001217AC 38 61 00 08 */ addi r3, r1, 8 +/* 80124850 001217B0 C0 42 97 DC */ lfs f2, lbl_805AB4FC@sda21(r2) +/* 80124854 001217B4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80124858 001217B8 C0 1D 03 00 */ lfs f0, 0x300(r29) +/* 8012485C 001217BC EC 21 18 28 */ fsubs f1, f1, f3 +/* 80124860 001217C0 EC 02 00 32 */ fmuls f0, f2, f0 +/* 80124864 001217C4 EF A0 00 72 */ fmuls f29, f0, f1 +/* 80124868 001217C8 48 1E FF E9 */ bl AsNormalized__9CVector3fCFv +/* 8012486C 001217CC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80124870 001217D0 38 61 00 20 */ addi r3, r1, 0x20 +/* 80124874 001217D4 C0 21 00 08 */ lfs f1, 8(r1) +/* 80124878 001217D8 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 8012487C 001217DC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80124880 001217E0 EC 5D 00 B2 */ fmuls f2, f29, f2 +/* 80124884 001217E4 EC 3D 00 72 */ fmuls f1, f29, f1 +/* 80124888 001217E8 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 8012488C 001217EC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80124890 001217F0 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80124894 001217F4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80124898 001217F8 48 1E FF B9 */ bl AsNormalized__9CVector3fCFv +/* 8012489C 001217FC C0 01 00 28 */ lfs f0, 0x28(r1) +/* 801248A0 00121800 7F A3 EB 78 */ mr r3, r29 +/* 801248A4 00121804 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 801248A8 00121808 38 81 00 50 */ addi r4, r1, 0x50 +/* 801248AC 0012180C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 801248B0 00121810 EC FF 00 32 */ fmuls f7, f31, f0 +/* 801248B4 00121814 C1 65 00 60 */ lfs f11, 0x60(r5) +/* 801248B8 00121818 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 801248BC 0012181C EC DF 00 72 */ fmuls f6, f31, f1 +/* 801248C0 00121820 C0 85 00 40 */ lfs f4, 0x40(r5) +/* 801248C4 00121824 ED 0B 38 2A */ fadds f8, f11, f7 +/* 801248C8 00121828 EC BF 00 32 */ fmuls f5, f31, f0 +/* 801248CC 0012182C C1 45 00 50 */ lfs f10, 0x50(r5) +/* 801248D0 00121830 EC 64 30 2A */ fadds f3, f4, f6 +/* 801248D4 00121834 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 801248D8 00121838 ED 2A 28 2A */ fadds f9, f10, f5 +/* 801248DC 0012183C C0 41 00 18 */ lfs f2, 0x18(r1) +/* 801248E0 00121840 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 801248E4 00121844 EC 28 08 2A */ fadds f1, f8, f1 +/* 801248E8 00121848 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 801248EC 0012184C EC 49 10 2A */ fadds f2, f9, f2 +/* 801248F0 00121850 EC 03 00 2A */ fadds f0, f3, f0 +/* 801248F4 00121854 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 801248F8 00121858 D0 E1 00 34 */ stfs f7, 0x34(r1) +/* 801248FC 0012185C D0 81 00 38 */ stfs f4, 0x38(r1) +/* 80124900 00121860 D1 41 00 3C */ stfs f10, 0x3c(r1) +/* 80124904 00121864 D1 61 00 40 */ stfs f11, 0x40(r1) +/* 80124908 00121868 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 8012490C 0012186C D1 21 00 48 */ stfs f9, 0x48(r1) +/* 80124910 00121870 D1 01 00 4C */ stfs f8, 0x4c(r1) +/* 80124914 00121874 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80124918 00121878 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 8012491C 0012187C D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80124920 00121880 4B F5 82 3D */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 80124924 00121884 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80124928 00121888 38 60 00 00 */ li r3, 0 +/* 8012492C 0012188C B0 1D 02 DC */ sth r0, 0x2dc(r29) +/* 80124930 00121890 90 7D 03 0C */ stw r3, 0x30c(r29) +/* 80124934 00121894 88 1D 06 36 */ lbz r0, 0x636(r29) +/* 80124938 00121898 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8012493C 0012189C 98 1D 06 36 */ stb r0, 0x636(r29) +lbl_80124940: +/* 80124940 001218A0 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80124944 001218A4 D0 1D 06 44 */ stfs f0, 0x644(r29) +lbl_80124948: +/* 80124948 001218A8 FC 20 F0 90 */ fmr f1, f30 +/* 8012494C 001218AC 7F A3 EB 78 */ mr r3, r29 +/* 80124950 001218B0 7F C4 F3 78 */ mr r4, r30 +/* 80124954 001218B4 7F E5 FB 78 */ mr r5, r31 +/* 80124958 001218B8 48 0D 1D 75 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8012495C 001218BC 2C 1F 00 02 */ cmpwi r31, 2 +/* 80124960 001218C0 41 82 00 24 */ beq lbl_80124984 +/* 80124964 001218C4 40 80 00 30 */ bge lbl_80124994 +/* 80124968 001218C8 2C 1F 00 01 */ cmpwi r31, 1 +/* 8012496C 001218CC 40 80 00 08 */ bge lbl_80124974 +/* 80124970 001218D0 48 00 00 24 */ b lbl_80124994 +lbl_80124974: +/* 80124974 001218D4 7F A3 EB 78 */ mr r3, r29 +/* 80124978 001218D8 7F C4 F3 78 */ mr r4, r30 +/* 8012497C 001218DC 48 00 42 55 */ bl AvoidActors__12CSpacePirateFR13CStateManager +/* 80124980 001218E0 48 00 00 14 */ b lbl_80124994 +lbl_80124984: +/* 80124984 001218E4 88 1D 06 36 */ lbz r0, 0x636(r29) +/* 80124988 001218E8 38 60 00 00 */ li r3, 0 +/* 8012498C 001218EC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80124990 001218F0 98 1D 06 36 */ stb r0, 0x636(r29) +lbl_80124994: +/* 80124994 001218F4 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 80124998 001218F8 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 8012499C 001218FC E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 801249A0 00121900 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 801249A4 00121904 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 801249A8 00121908 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 801249AC 0012190C 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 801249B0 00121910 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 801249B4 00121914 80 01 01 24 */ lwz r0, 0x124(r1) +/* 801249B8 00121918 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 801249BC 0012191C 7C 08 03 A6 */ mtlr r0 +/* 801249C0 00121920 38 21 01 20 */ addi r1, r1, 0x120 +/* 801249C4 00121924 4E 80 00 20 */ blr + +.global InRange__12CSpacePirateFR13CStateManagerf +InRange__12CSpacePirateFR13CStateManagerf: +/* 801249C8 00121928 88 03 06 39 */ lbz r0, 0x639(r3) +/* 801249CC 0012192C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 801249D0 00121930 4E 80 00 20 */ blr + +.global PathFind__12CSpacePirateFR13CStateManager9EStateMsgf +PathFind__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801249D4 00121934 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 801249D8 00121938 7C 08 02 A6 */ mflr r0 +/* 801249DC 0012193C 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 801249E0 00121940 DB E1 01 90 */ stfd f31, 0x190(r1) +/* 801249E4 00121944 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 +/* 801249E8 00121948 DB C1 01 80 */ stfd f30, 0x180(r1) +/* 801249EC 0012194C F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 +/* 801249F0 00121950 DB A1 01 70 */ stfd f29, 0x170(r1) +/* 801249F4 00121954 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 +/* 801249F8 00121958 BF 01 01 50 */ stmw r24, 0x150(r1) +/* 801249FC 0012195C FF A0 08 90 */ fmr f29, f1 +/* 80124A00 00121960 2C 05 00 01 */ cmpwi r5, 1 +/* 80124A04 00121964 7C 7A 1B 78 */ mr r26, r3 +/* 80124A08 00121968 7C 9B 23 78 */ mr r27, r4 +/* 80124A0C 0012196C 41 82 06 3C */ beq lbl_80125048 +/* 80124A10 00121970 40 80 00 10 */ bge lbl_80124A20 +/* 80124A14 00121974 2C 05 00 00 */ cmpwi r5, 0 +/* 80124A18 00121978 40 80 00 14 */ bge lbl_80124A2C +/* 80124A1C 0012197C 48 00 08 9C */ b lbl_801252B8 +lbl_80124A20: +/* 80124A20 00121980 2C 05 00 03 */ cmpwi r5, 3 +/* 80124A24 00121984 40 80 08 94 */ bge lbl_801252B8 +/* 80124A28 00121988 48 00 08 60 */ b lbl_80125288 +lbl_80124A2C: +/* 80124A2C 0012198C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80124A30 00121990 38 A1 00 28 */ addi r5, r1, 0x28 +/* 80124A34 00121994 B0 1A 08 40 */ sth r0, 0x840(r26) +/* 80124A38 00121998 A0 1A 06 40 */ lhz r0, 0x640(r26) +/* 80124A3C 0012199C B0 01 00 28 */ sth r0, 0x28(r1) +/* 80124A40 001219A0 4B F5 7E 6D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80124A44 001219A4 28 03 00 00 */ cmplwi r3, 0 +/* 80124A48 001219A8 41 82 00 4C */ beq lbl_80124A94 +/* 80124A4C 001219AC C0 5A 00 60 */ lfs f2, 0x60(r26) +/* 80124A50 001219B0 38 80 00 00 */ li r4, 0 +/* 80124A54 001219B4 C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80124A58 001219B8 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 80124A5C 001219BC D0 1A 02 EC */ stfs f0, 0x2ec(r26) +/* 80124A60 001219C0 D0 3A 02 F0 */ stfs f1, 0x2f0(r26) +/* 80124A64 001219C4 D0 5A 02 F4 */ stfs f2, 0x2f4(r26) +/* 80124A68 001219C8 88 1A 03 28 */ lbz r0, 0x328(r26) +/* 80124A6C 001219CC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80124A70 001219D0 98 1A 03 28 */ stb r0, 0x328(r26) +/* 80124A74 001219D4 A0 03 00 08 */ lhz r0, 8(r3) +/* 80124A78 001219D8 B0 1A 02 DC */ sth r0, 0x2dc(r26) +/* 80124A7C 001219DC C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80124A80 001219E0 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80124A84 001219E4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80124A88 001219E8 D0 1A 02 E0 */ stfs f0, 0x2e0(r26) +/* 80124A8C 001219EC D0 3A 02 E4 */ stfs f1, 0x2e4(r26) +/* 80124A90 001219F0 D0 5A 02 E8 */ stfs f2, 0x2e8(r26) +lbl_80124A94: +/* 80124A94 001219F4 C0 5A 00 60 */ lfs f2, 0x60(r26) +/* 80124A98 001219F8 7F 43 D3 78 */ mr r3, r26 +/* 80124A9C 001219FC C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80124AA0 00121A00 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 80124AA4 00121A04 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 80124AA8 00121A08 D0 21 01 10 */ stfs f1, 0x110(r1) +/* 80124AAC 00121A0C D0 41 01 14 */ stfs f2, 0x114(r1) +/* 80124AB0 00121A10 81 9A 00 00 */ lwz r12, 0(r26) +/* 80124AB4 00121A14 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80124AB8 00121A18 7D 89 03 A6 */ mtctr r12 +/* 80124ABC 00121A1C 4E 80 04 21 */ bctrl +/* 80124AC0 00121A20 38 81 01 0C */ addi r4, r1, 0x10c +/* 80124AC4 00121A24 38 BA 02 E0 */ addi r5, r26, 0x2e0 +/* 80124AC8 00121A28 48 0A 31 A5 */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f +/* 80124ACC 00121A2C 2C 03 00 00 */ cmpwi r3, 0 +/* 80124AD0 00121A30 40 82 00 FC */ bne lbl_80124BCC +/* 80124AD4 00121A34 C0 5A 00 60 */ lfs f2, 0x60(r26) +/* 80124AD8 00121A38 7F 43 D3 78 */ mr r3, r26 +/* 80124ADC 00121A3C C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80124AE0 00121A40 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 80124AE4 00121A44 D0 1A 02 EC */ stfs f0, 0x2ec(r26) +/* 80124AE8 00121A48 D0 3A 02 F0 */ stfs f1, 0x2f0(r26) +/* 80124AEC 00121A4C D0 5A 02 F4 */ stfs f2, 0x2f4(r26) +/* 80124AF0 00121A50 81 9A 00 00 */ lwz r12, 0(r26) +/* 80124AF4 00121A54 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80124AF8 00121A58 7D 89 03 A6 */ mtctr r12 +/* 80124AFC 00121A5C 4E 80 04 21 */ bctrl +/* 80124B00 00121A60 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 80124B04 00121A64 80 03 00 04 */ lwz r0, 4(r3) +/* 80124B08 00121A68 38 85 00 01 */ addi r4, r5, 1 +/* 80124B0C 00121A6C 7C 04 00 00 */ cmpw r4, r0 +/* 80124B10 00121A70 40 80 00 14 */ bge lbl_80124B24 +/* 80124B14 00121A74 1C 04 00 0C */ mulli r0, r4, 0xc +/* 80124B18 00121A78 7C C3 02 14 */ add r6, r3, r0 +/* 80124B1C 00121A7C 38 C6 00 08 */ addi r6, r6, 8 +/* 80124B20 00121A80 48 00 00 10 */ b lbl_80124B30 +lbl_80124B24: +/* 80124B24 00121A84 1C 05 00 0C */ mulli r0, r5, 0xc +/* 80124B28 00121A88 7C C3 02 14 */ add r6, r3, r0 +/* 80124B2C 00121A8C 38 C6 00 08 */ addi r6, r6, 8 +lbl_80124B30: +/* 80124B30 00121A90 C0 26 00 00 */ lfs f1, 0(r6) +/* 80124B34 00121A94 38 A0 00 00 */ li r5, 0 +/* 80124B38 00121A98 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80124B3C 00121A9C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80124B40 00121AA0 D0 3A 02 E0 */ stfs f1, 0x2e0(r26) +/* 80124B44 00121AA4 38 81 01 34 */ addi r4, r1, 0x134 +/* 80124B48 00121AA8 C0 26 00 04 */ lfs f1, 4(r6) +/* 80124B4C 00121AAC D0 3A 02 E4 */ stfs f1, 0x2e4(r26) +/* 80124B50 00121AB0 C0 26 00 08 */ lfs f1, 8(r6) +/* 80124B54 00121AB4 D0 3A 02 E8 */ stfs f1, 0x2e8(r26) +/* 80124B58 00121AB8 88 1A 03 28 */ lbz r0, 0x328(r26) +/* 80124B5C 00121ABC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80124B60 00121AC0 98 1A 03 28 */ stb r0, 0x328(r26) +/* 80124B64 00121AC4 C0 5A 02 E4 */ lfs f2, 0x2e4(r26) +/* 80124B68 00121AC8 C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80124B6C 00121ACC C0 9A 02 E8 */ lfs f4, 0x2e8(r26) +/* 80124B70 00121AD0 EC C2 08 28 */ fsubs f6, f2, f1 +/* 80124B74 00121AD4 C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 80124B78 00121AD8 C0 5A 02 E0 */ lfs f2, 0x2e0(r26) +/* 80124B7C 00121ADC C0 3A 00 40 */ lfs f1, 0x40(r26) +/* 80124B80 00121AE0 EC A4 18 28 */ fsubs f5, f4, f3 +/* 80124B84 00121AE4 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 80124B88 00121AE8 EC 82 08 28 */ fsubs f4, f2, f1 +/* 80124B8C 00121AEC D0 C1 01 38 */ stfs f6, 0x138(r1) +/* 80124B90 00121AF0 C0 43 00 04 */ lfs f2, 4(r3) +/* 80124B94 00121AF4 C0 23 00 08 */ lfs f1, 8(r3) +/* 80124B98 00121AF8 D0 81 01 34 */ stfs f4, 0x134(r1) +/* 80124B9C 00121AFC D0 A1 01 3C */ stfs f5, 0x13c(r1) +/* 80124BA0 00121B00 D0 61 01 40 */ stfs f3, 0x140(r1) +/* 80124BA4 00121B04 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 80124BA8 00121B08 D0 21 01 48 */ stfs f1, 0x148(r1) +/* 80124BAC 00121B0C D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 80124BB0 00121B10 80 7A 04 50 */ lwz r3, 0x450(r26) +/* 80124BB4 00121B14 D0 81 01 00 */ stfs f4, 0x100(r1) +/* 80124BB8 00121B18 38 63 00 04 */ addi r3, r3, 4 +/* 80124BBC 00121B1C D0 C1 01 04 */ stfs f6, 0x104(r1) +/* 80124BC0 00121B20 D0 A1 01 08 */ stfs f5, 0x108(r1) +/* 80124BC4 00121B24 48 00 CB 55 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80124BC8 00121B28 48 00 04 3C */ b lbl_80125004 +lbl_80124BCC: +/* 80124BCC 00121B2C 83 FB 08 40 */ lwz r31, 0x840(r27) +/* 80124BD0 00121B30 3B A0 00 00 */ li r29, 0 +/* 80124BD4 00121B34 C3 A2 98 10 */ lfs f29, lbl_805AB530@sda21(r2) +/* 80124BD8 00121B38 AB 9F 20 08 */ lha r28, 0x2008(r31) +/* 80124BDC 00121B3C 48 00 02 90 */ b lbl_80124E6C +lbl_80124BE0: +/* 80124BE0 00121B40 7F E3 FB 78 */ mr r3, r31 +/* 80124BE4 00121B44 7F 84 E3 78 */ mr r4, r28 +/* 80124BE8 00121B48 4B EE B1 2D */ bl __vc__11CObjectListFi +/* 80124BEC 00121B4C 7C 64 1B 78 */ mr r4, r3 +/* 80124BF0 00121B50 38 61 00 44 */ addi r3, r1, 0x44 +/* 80124BF4 00121B54 4B F8 6A ED */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" +/* 80124BF8 00121B58 83 C3 00 04 */ lwz r30, 4(r3) +/* 80124BFC 00121B5C 28 1E 00 00 */ cmplwi r30, 0 +/* 80124C00 00121B60 41 82 02 50 */ beq lbl_80124E50 +/* 80124C04 00121B64 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 80124C08 00121B68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80124C0C 00121B6C 41 82 02 44 */ beq lbl_80124E50 +/* 80124C10 00121B70 A0 1A 00 08 */ lhz r0, 8(r26) +/* 80124C14 00121B74 7F C3 F3 78 */ mr r3, r30 +/* 80124C18 00121B78 38 81 00 24 */ addi r4, r1, 0x24 +/* 80124C1C 00121B7C B0 01 00 20 */ sth r0, 0x20(r1) +/* 80124C20 00121B80 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80124C24 00121B84 48 0C A6 B1 */ bl GetInUse__18CScriptAiJumpPointCF9TUniqueId +/* 80124C28 00121B88 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80124C2C 00121B8C 40 82 02 24 */ bne lbl_80124E50 +/* 80124C30 00121B90 A0 7E 01 0E */ lhz r3, 0x10e(r30) +/* 80124C34 00121B94 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80124C38 00121B98 7C 03 00 40 */ cmplw r3, r0 +/* 80124C3C 00121B9C 40 82 02 14 */ bne lbl_80124E50 +/* 80124C40 00121BA0 80 7E 00 04 */ lwz r3, 4(r30) +/* 80124C44 00121BA4 80 1A 00 04 */ lwz r0, 4(r26) +/* 80124C48 00121BA8 7C 03 00 00 */ cmpw r3, r0 +/* 80124C4C 00121BAC 40 82 02 04 */ bne lbl_80124E50 +/* 80124C50 00121BB0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80124C54 00121BB4 C0 1A 00 50 */ lfs f0, 0x50(r26) +/* 80124C58 00121BB8 C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80124C5C 00121BBC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80124C60 00121BC0 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 80124C64 00121BC4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80124C68 00121BC8 EC 63 00 28 */ fsubs f3, f3, f0 +/* 80124C6C 00121BCC C0 1A 00 60 */ lfs f0, 0x60(r26) +/* 80124C70 00121BD0 EC 24 01 32 */ fmuls f1, f4, f4 +/* 80124C74 00121BD4 EF E2 00 28 */ fsubs f31, f2, f0 +/* 80124C78 00121BD8 C0 02 98 38 */ lfs f0, lbl_805AB558@sda21(r2) +/* 80124C7C 00121BDC EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 80124C80 00121BE0 EF DF 0F FA */ fmadds f30, f31, f31, f1 +/* 80124C84 00121BE4 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 80124C88 00121BE8 40 81 01 C8 */ ble lbl_80124E50 +/* 80124C8C 00121BEC C0 BE 00 48 */ lfs f5, 0x48(r30) +/* 80124C90 00121BF0 C0 5E 00 38 */ lfs f2, 0x38(r30) +/* 80124C94 00121BF4 EC 25 01 32 */ fmuls f1, f5, f4 +/* 80124C98 00121BF8 C0 9E 00 58 */ lfs f4, 0x58(r30) +/* 80124C9C 00121BFC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80124CA0 00121C00 D0 41 00 F4 */ stfs f2, 0xf4(r1) +/* 80124CA4 00121C04 EC 22 08 FA */ fmadds f1, f2, f3, f1 +/* 80124CA8 00121C08 D0 A1 00 F8 */ stfs f5, 0xf8(r1) +/* 80124CAC 00121C0C EC 24 0F FA */ fmadds f1, f4, f31, f1 +/* 80124CB0 00121C10 D0 81 00 FC */ stfs f4, 0xfc(r1) +/* 80124CB4 00121C14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80124CB8 00121C18 40 81 01 98 */ ble lbl_80124E50 +/* 80124CBC 00121C1C A0 1E 01 0C */ lhz r0, 0x10c(r30) +/* 80124CC0 00121C20 7F 63 DB 78 */ mr r3, r27 +/* 80124CC4 00121C24 38 81 00 1C */ addi r4, r1, 0x1c +/* 80124CC8 00121C28 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80124CCC 00121C2C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 80124CD0 00121C30 4B F2 78 D5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80124CD4 00121C34 7C 64 1B 78 */ mr r4, r3 +/* 80124CD8 00121C38 38 61 00 34 */ addi r3, r1, 0x34 +/* 80124CDC 00121C3C 4B F8 18 71 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80124CE0 00121C40 83 23 00 04 */ lwz r25, 4(r3) +/* 80124CE4 00121C44 28 19 00 00 */ cmplwi r25, 0 +/* 80124CE8 00121C48 41 82 01 68 */ beq lbl_80124E50 +/* 80124CEC 00121C4C C1 9E 00 60 */ lfs f12, 0x60(r30) +/* 80124CF0 00121C50 C1 59 00 60 */ lfs f10, 0x60(r25) +/* 80124CF4 00121C54 C1 3A 00 60 */ lfs f9, 0x60(r26) +/* 80124CF8 00121C58 C0 1A 02 E8 */ lfs f0, 0x2e8(r26) +/* 80124CFC 00121C5C EC 2A 60 28 */ fsubs f1, f10, f12 +/* 80124D00 00121C60 C1 7E 00 50 */ lfs f11, 0x50(r30) +/* 80124D04 00121C64 EC 40 48 28 */ fsubs f2, f0, f9 +/* 80124D08 00121C68 C0 BE 00 40 */ lfs f5, 0x40(r30) +/* 80124D0C 00121C6C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80124D10 00121C70 C0 D9 00 50 */ lfs f6, 0x50(r25) +/* 80124D14 00121C74 EC 22 00 72 */ fmuls f1, f2, f1 +/* 80124D18 00121C78 C0 99 00 40 */ lfs f4, 0x40(r25) +/* 80124D1C 00121C7C C1 1A 00 50 */ lfs f8, 0x50(r26) +/* 80124D20 00121C80 C0 7A 00 40 */ lfs f3, 0x40(r26) +/* 80124D24 00121C84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80124D28 00121C88 D0 A1 00 D0 */ stfs f5, 0xd0(r1) +/* 80124D2C 00121C8C D1 61 00 D4 */ stfs f11, 0xd4(r1) +/* 80124D30 00121C90 D1 81 00 D8 */ stfs f12, 0xd8(r1) +/* 80124D34 00121C94 D0 81 00 DC */ stfs f4, 0xdc(r1) +/* 80124D38 00121C98 D0 C1 00 E0 */ stfs f6, 0xe0(r1) +/* 80124D3C 00121C9C D1 41 00 E4 */ stfs f10, 0xe4(r1) +/* 80124D40 00121CA0 D0 61 00 E8 */ stfs f3, 0xe8(r1) +/* 80124D44 00121CA4 D1 01 00 EC */ stfs f8, 0xec(r1) +/* 80124D48 00121CA8 D1 21 00 F0 */ stfs f9, 0xf0(r1) +/* 80124D4C 00121CAC 40 81 01 04 */ ble lbl_80124E50 +/* 80124D50 00121CB0 C0 1A 02 E4 */ lfs f0, 0x2e4(r26) +/* 80124D54 00121CB4 C0 3A 02 E0 */ lfs f1, 0x2e0(r26) +/* 80124D58 00121CB8 EC C0 30 28 */ fsubs f6, f0, f6 +/* 80124D5C 00121CBC C0 1A 02 E8 */ lfs f0, 0x2e8(r26) +/* 80124D60 00121CC0 C0 42 98 28 */ lfs f2, lbl_805AB548@sda21(r2) +/* 80124D64 00121CC4 EC E1 20 28 */ fsubs f7, f1, f4 +/* 80124D68 00121CC8 EC 80 50 28 */ fsubs f4, f0, f10 +/* 80124D6C 00121CCC C0 22 98 14 */ lfs f1, lbl_805AB534@sda21(r2) +/* 80124D70 00121CD0 EC 06 01 B2 */ fmuls f0, f6, f6 +/* 80124D74 00121CD4 EC 42 07 F2 */ fmuls f2, f2, f31 +/* 80124D78 00121CD8 EC 21 01 32 */ fmuls f1, f1, f4 +/* 80124D7C 00121CDC EC 07 01 FA */ fmadds f0, f7, f7, f0 +/* 80124D80 00121CE0 EF C2 F7 FA */ fmadds f30, f2, f31, f30 +/* 80124D84 00121CE4 EC 04 01 3A */ fmadds f0, f4, f4, f0 +/* 80124D88 00121CE8 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 80124D8C 00121CEC EF DE 00 2A */ fadds f30, f30, f0 +/* 80124D90 00121CF0 FC 1E E8 40 */ fcmpo cr0, f30, f29 +/* 80124D94 00121CF4 40 80 00 BC */ bge lbl_80124E50 +/* 80124D98 00121CF8 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 80124D9C 00121CFC 7F 43 D3 78 */ mr r3, r26 +/* 80124DA0 00121D00 D1 61 00 BC */ stfs f11, 0xbc(r1) +/* 80124DA4 00121D04 D1 81 00 C0 */ stfs f12, 0xc0(r1) +/* 80124DA8 00121D08 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 80124DAC 00121D0C D1 01 00 C8 */ stfs f8, 0xc8(r1) +/* 80124DB0 00121D10 D1 21 00 CC */ stfs f9, 0xcc(r1) +/* 80124DB4 00121D14 81 9A 00 00 */ lwz r12, 0(r26) +/* 80124DB8 00121D18 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80124DBC 00121D1C 7D 89 03 A6 */ mtctr r12 +/* 80124DC0 00121D20 4E 80 04 21 */ bctrl +/* 80124DC4 00121D24 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 80124DC8 00121D28 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 80124DCC 00121D2C 48 0A 1E FD */ bl PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f +/* 80124DD0 00121D30 2C 03 00 00 */ cmpwi r3, 0 +/* 80124DD4 00121D34 40 82 00 7C */ bne lbl_80124E50 +/* 80124DD8 00121D38 C0 59 00 60 */ lfs f2, 0x60(r25) +/* 80124DDC 00121D3C 7F 43 D3 78 */ mr r3, r26 +/* 80124DE0 00121D40 C0 39 00 50 */ lfs f1, 0x50(r25) +/* 80124DE4 00121D44 3B 00 00 00 */ li r24, 0 +/* 80124DE8 00121D48 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 80124DEC 00121D4C D0 01 00 AC */ stfs f0, 0xac(r1) +/* 80124DF0 00121D50 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 80124DF4 00121D54 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 80124DF8 00121D58 81 9A 00 00 */ lwz r12, 0(r26) +/* 80124DFC 00121D5C 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80124E00 00121D60 7D 89 03 A6 */ mtctr r12 +/* 80124E04 00121D64 4E 80 04 21 */ bctrl +/* 80124E08 00121D68 38 81 00 AC */ addi r4, r1, 0xac +/* 80124E0C 00121D6C 38 BA 02 E0 */ addi r5, r26, 0x2e0 +/* 80124E10 00121D70 48 0A 1E B9 */ bl PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f +/* 80124E14 00121D74 7C 03 00 D0 */ neg r0, r3 +/* 80124E18 00121D78 7C 00 1B 78 */ or r0, r0, r3 +/* 80124E1C 00121D7C 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 80124E20 00121D80 41 82 00 0C */ beq lbl_80124E2C +/* 80124E24 00121D84 C0 02 98 18 */ lfs f0, lbl_805AB538@sda21(r2) +/* 80124E28 00121D88 EF DE 00 2A */ fadds f30, f30, f0 +lbl_80124E2C: +/* 80124E2C 00121D8C 28 00 00 00 */ cmplwi r0, 0 +/* 80124E30 00121D90 40 82 00 08 */ bne lbl_80124E38 +/* 80124E34 00121D94 3B 00 00 01 */ li r24, 1 +lbl_80124E38: +/* 80124E38 00121D98 FC 1E E8 40 */ fcmpo cr0, f30, f29 +/* 80124E3C 00121D9C 40 80 00 14 */ bge lbl_80124E50 +/* 80124E40 00121DA0 57 00 06 3F */ clrlwi. r0, r24, 0x18 +/* 80124E44 00121DA4 FF A0 F0 90 */ fmr f29, f30 +/* 80124E48 00121DA8 7F DD F3 78 */ mr r29, r30 +/* 80124E4C 00121DAC 40 82 00 28 */ bne lbl_80124E74 +lbl_80124E50: +/* 80124E50 00121DB0 2C 1C FF FF */ cmpwi r28, -1 +/* 80124E54 00121DB4 41 82 00 14 */ beq lbl_80124E68 +/* 80124E58 00121DB8 57 83 18 38 */ slwi r3, r28, 3 +/* 80124E5C 00121DBC 38 03 00 08 */ addi r0, r3, 8 +/* 80124E60 00121DC0 7F 9F 02 AE */ lhax r28, r31, r0 +/* 80124E64 00121DC4 48 00 00 08 */ b lbl_80124E6C +lbl_80124E68: +/* 80124E68 00121DC8 3B 80 FF FF */ li r28, -1 +lbl_80124E6C: +/* 80124E6C 00121DCC 2C 1C FF FF */ cmpwi r28, -1 +/* 80124E70 00121DD0 40 82 FD 70 */ bne lbl_80124BE0 +lbl_80124E74: +/* 80124E74 00121DD4 28 1D 00 00 */ cmplwi r29, 0 +/* 80124E78 00121DD8 41 82 01 8C */ beq lbl_80125004 +/* 80124E7C 00121DDC C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 80124E80 00121DE0 7F 43 D3 78 */ mr r3, r26 +/* 80124E84 00121DE4 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 80124E88 00121DE8 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 80124E8C 00121DEC D0 1A 02 E0 */ stfs f0, 0x2e0(r26) +/* 80124E90 00121DF0 D0 3A 02 E4 */ stfs f1, 0x2e4(r26) +/* 80124E94 00121DF4 D0 5A 02 E8 */ stfs f2, 0x2e8(r26) +/* 80124E98 00121DF8 C0 5A 00 60 */ lfs f2, 0x60(r26) +/* 80124E9C 00121DFC C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80124EA0 00121E00 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 80124EA4 00121E04 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 80124EA8 00121E08 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 80124EAC 00121E0C D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 80124EB0 00121E10 81 9A 00 00 */ lwz r12, 0(r26) +/* 80124EB4 00121E14 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80124EB8 00121E18 7D 89 03 A6 */ mtctr r12 +/* 80124EBC 00121E1C 4E 80 04 21 */ bctrl +/* 80124EC0 00121E20 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 80124EC4 00121E24 38 BA 02 E0 */ addi r5, r26, 0x2e0 +/* 80124EC8 00121E28 48 0A 2D A5 */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f +/* 80124ECC 00121E2C 2C 03 00 00 */ cmpwi r3, 0 +/* 80124ED0 00121E30 40 82 01 34 */ bne lbl_80125004 +/* 80124ED4 00121E34 C0 5A 00 60 */ lfs f2, 0x60(r26) +/* 80124ED8 00121E38 7F 43 D3 78 */ mr r3, r26 +/* 80124EDC 00121E3C C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80124EE0 00121E40 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 80124EE4 00121E44 D0 1A 02 EC */ stfs f0, 0x2ec(r26) +/* 80124EE8 00121E48 D0 3A 02 F0 */ stfs f1, 0x2f0(r26) +/* 80124EEC 00121E4C D0 5A 02 F4 */ stfs f2, 0x2f4(r26) +/* 80124EF0 00121E50 81 9A 00 00 */ lwz r12, 0(r26) +/* 80124EF4 00121E54 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80124EF8 00121E58 7D 89 03 A6 */ mtctr r12 +/* 80124EFC 00121E5C 4E 80 04 21 */ bctrl +/* 80124F00 00121E60 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 80124F04 00121E64 80 03 00 04 */ lwz r0, 4(r3) +/* 80124F08 00121E68 38 85 00 01 */ addi r4, r5, 1 +/* 80124F0C 00121E6C 7C 04 00 00 */ cmpw r4, r0 +/* 80124F10 00121E70 40 80 00 14 */ bge lbl_80124F24 +/* 80124F14 00121E74 1C 04 00 0C */ mulli r0, r4, 0xc +/* 80124F18 00121E78 7C C3 02 14 */ add r6, r3, r0 +/* 80124F1C 00121E7C 38 C6 00 08 */ addi r6, r6, 8 +/* 80124F20 00121E80 48 00 00 10 */ b lbl_80124F30 +lbl_80124F24: +/* 80124F24 00121E84 1C 05 00 0C */ mulli r0, r5, 0xc +/* 80124F28 00121E88 7C C3 02 14 */ add r6, r3, r0 +/* 80124F2C 00121E8C 38 C6 00 08 */ addi r6, r6, 8 +lbl_80124F30: +/* 80124F30 00121E90 C0 06 00 00 */ lfs f0, 0(r6) +/* 80124F34 00121E94 38 A0 00 00 */ li r5, 0 +/* 80124F38 00121E98 7F 63 DB 78 */ mr r3, r27 +/* 80124F3C 00121E9C 38 81 00 14 */ addi r4, r1, 0x14 +/* 80124F40 00121EA0 D0 1A 02 E0 */ stfs f0, 0x2e0(r26) +/* 80124F44 00121EA4 C0 06 00 04 */ lfs f0, 4(r6) +/* 80124F48 00121EA8 D0 1A 02 E4 */ stfs f0, 0x2e4(r26) +/* 80124F4C 00121EAC C0 06 00 08 */ lfs f0, 8(r6) +/* 80124F50 00121EB0 D0 1A 02 E8 */ stfs f0, 0x2e8(r26) +/* 80124F54 00121EB4 88 1A 03 28 */ lbz r0, 0x328(r26) +/* 80124F58 00121EB8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80124F5C 00121EBC 98 1A 03 28 */ stb r0, 0x328(r26) +/* 80124F60 00121EC0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80124F64 00121EC4 B0 1A 08 40 */ sth r0, 0x840(r26) +/* 80124F68 00121EC8 C0 1D 00 E8 */ lfs f0, 0xe8(r29) +/* 80124F6C 00121ECC D0 1A 08 24 */ stfs f0, 0x824(r26) +/* 80124F70 00121ED0 A0 1D 01 0C */ lhz r0, 0x10c(r29) +/* 80124F74 00121ED4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80124F78 00121ED8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80124F7C 00121EDC 4B F2 76 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80124F80 00121EE0 7C 64 1B 78 */ mr r4, r3 +/* 80124F84 00121EE4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80124F88 00121EE8 4B F8 15 C5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80124F8C 00121EEC 80 83 00 04 */ lwz r4, 4(r3) +/* 80124F90 00121EF0 28 04 00 00 */ cmplwi r4, 0 +/* 80124F94 00121EF4 41 82 00 70 */ beq lbl_80125004 +/* 80124F98 00121EF8 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80124F9C 00121EFC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80124FA0 00121F00 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 80124FA4 00121F04 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80124FA8 00121F08 38 81 01 18 */ addi r4, r1, 0x118 +/* 80124FAC 00121F0C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80124FB0 00121F10 D0 3A 08 28 */ stfs f1, 0x828(r26) +/* 80124FB4 00121F14 D0 5A 08 2C */ stfs f2, 0x82c(r26) +/* 80124FB8 00121F18 D0 7A 08 30 */ stfs f3, 0x830(r26) +/* 80124FBC 00121F1C C0 3A 02 E0 */ lfs f1, 0x2e0(r26) +/* 80124FC0 00121F20 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 80124FC4 00121F24 D0 21 01 18 */ stfs f1, 0x118(r1) +/* 80124FC8 00121F28 C0 43 00 04 */ lfs f2, 4(r3) +/* 80124FCC 00121F2C C0 9A 02 E4 */ lfs f4, 0x2e4(r26) +/* 80124FD0 00121F30 C0 23 00 08 */ lfs f1, 8(r3) +/* 80124FD4 00121F34 D0 81 01 1C */ stfs f4, 0x11c(r1) +/* 80124FD8 00121F38 C0 9A 02 E8 */ lfs f4, 0x2e8(r26) +/* 80124FDC 00121F3C D0 81 01 20 */ stfs f4, 0x120(r1) +/* 80124FE0 00121F40 D0 61 01 24 */ stfs f3, 0x124(r1) +/* 80124FE4 00121F44 D0 41 01 28 */ stfs f2, 0x128(r1) +/* 80124FE8 00121F48 D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 80124FEC 00121F4C D0 01 01 30 */ stfs f0, 0x130(r1) +/* 80124FF0 00121F50 80 7A 04 50 */ lwz r3, 0x450(r26) +/* 80124FF4 00121F54 38 63 00 04 */ addi r3, r3, 4 +/* 80124FF8 00121F58 48 00 C7 21 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80124FFC 00121F5C 38 00 00 00 */ li r0, 0 +/* 80125000 00121F60 90 1A 03 0C */ stw r0, 0x30c(r26) +lbl_80125004: +/* 80125004 00121F64 80 7A 04 50 */ lwz r3, 0x450(r26) +/* 80125008 00121F68 38 00 00 01 */ li r0, 1 +/* 8012500C 00121F6C 90 03 00 34 */ stw r0, 0x34(r3) +/* 80125010 00121F70 88 1A 06 37 */ lbz r0, 0x637(r26) +/* 80125014 00121F74 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80125018 00121F78 41 82 00 0C */ beq lbl_80125024 +/* 8012501C 00121F7C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80125020 00121F80 D0 1A 06 44 */ stfs f0, 0x644(r26) +lbl_80125024: +/* 80125024 00121F84 88 1A 06 39 */ lbz r0, 0x639(r26) +/* 80125028 00121F88 38 60 00 00 */ li r3, 0 +/* 8012502C 00121F8C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80125030 00121F90 38 60 00 01 */ li r3, 1 +/* 80125034 00121F94 98 1A 06 39 */ stb r0, 0x639(r26) +/* 80125038 00121F98 88 1A 06 3A */ lbz r0, 0x63a(r26) +/* 8012503C 00121F9C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80125040 00121FA0 98 1A 06 3A */ stb r0, 0x63a(r26) +/* 80125044 00121FA4 48 00 02 74 */ b lbl_801252B8 +lbl_80125048: +/* 80125048 00121FA8 48 0D 16 85 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8012504C 00121FAC A0 7A 08 40 */ lhz r3, 0x840(r26) +/* 80125050 00121FB0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80125054 00121FB4 7C 03 00 40 */ cmplw r3, r0 +/* 80125058 00121FB8 41 82 01 0C */ beq lbl_80125164 +/* 8012505C 00121FBC A0 1A 08 40 */ lhz r0, 0x840(r26) +/* 80125060 00121FC0 7F 63 DB 78 */ mr r3, r27 +/* 80125064 00121FC4 38 81 00 0C */ addi r4, r1, 0xc +/* 80125068 00121FC8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8012506C 00121FCC 4B F2 75 09 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80125070 00121FD0 7C 64 1B 78 */ mr r4, r3 +/* 80125074 00121FD4 38 61 00 3C */ addi r3, r1, 0x3c +/* 80125078 00121FD8 4B F8 66 69 */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" +/* 8012507C 00121FDC 83 23 00 04 */ lwz r25, 4(r3) +/* 80125080 00121FE0 28 19 00 00 */ cmplwi r25, 0 +/* 80125084 00121FE4 41 82 00 E0 */ beq lbl_80125164 +/* 80125088 00121FE8 80 7A 04 50 */ lwz r3, 0x450(r26) +/* 8012508C 00121FEC 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 80125090 00121FF0 48 00 EE 1D */ bl GetMaxSpeed__14CBodyStateInfoCFv +/* 80125094 00121FF4 C1 BA 00 50 */ lfs f13, 0x50(r26) +/* 80125098 00121FF8 80 7A 00 64 */ lwz r3, 0x64(r26) +/* 8012509C 00121FFC C0 19 00 50 */ lfs f0, 0x50(r25) +/* 801250A0 00122000 C0 BA 00 40 */ lfs f5, 0x40(r26) +/* 801250A4 00122004 ED 8D 00 28 */ fsubs f12, f13, f0 +/* 801250A8 00122008 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 801250AC 0012200C C1 23 00 04 */ lfs f9, 4(r3) +/* 801250B0 00122010 EC 85 00 28 */ fsubs f4, f5, f0 +/* 801250B4 00122014 C3 DA 00 60 */ lfs f30, 0x60(r26) +/* 801250B8 00122018 C0 59 00 60 */ lfs f2, 0x60(r25) +/* 801250BC 0012201C C0 E2 98 0C */ lfs f7, lbl_805AB52C@sda21(r2) +/* 801250C0 00122020 EC 0C 03 32 */ fmuls f0, f12, f12 +/* 801250C4 00122024 ED 7E 10 28 */ fsubs f11, f30, f2 +/* 801250C8 00122028 C0 62 98 08 */ lfs f3, lbl_805AB528@sda21(r2) +/* 801250CC 0012202C EC 44 01 32 */ fmuls f2, f4, f4 +/* 801250D0 00122030 C0 DA 07 A4 */ lfs f6, 0x7a4(r26) +/* 801250D4 00122034 EC E7 1F 7A */ fmadds f7, f7, f29, f3 +/* 801250D8 00122038 C1 43 00 00 */ lfs f10, 0(r3) +/* 801250DC 0012203C C1 03 00 08 */ lfs f8, 8(r3) +/* 801250E0 00122040 EC 6B 02 F2 */ fmuls f3, f11, f11 +/* 801250E4 00122044 EC 02 00 2A */ fadds f0, f2, f0 +/* 801250E8 00122048 D1 41 00 94 */ stfs f10, 0x94(r1) +/* 801250EC 0012204C EC 47 02 72 */ fmuls f2, f7, f9 +/* 801250F0 00122050 D1 21 00 98 */ stfs f9, 0x98(r1) +/* 801250F4 00122054 EC 63 00 2A */ fadds f3, f3, f0 +/* 801250F8 00122058 D1 01 00 9C */ stfs f8, 0x9c(r1) +/* 801250FC 0012205C EC 01 30 BA */ fmadds f0, f1, f2, f6 +/* 80125100 00122060 D0 A1 00 7C */ stfs f5, 0x7c(r1) +/* 80125104 00122064 EC 00 00 32 */ fmuls f0, f0, f0 +/* 80125108 00122068 D1 A1 00 80 */ stfs f13, 0x80(r1) +/* 8012510C 0012206C D3 C1 00 84 */ stfs f30, 0x84(r1) +/* 80125110 00122070 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80125114 00122074 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 80125118 00122078 D1 81 00 8C */ stfs f12, 0x8c(r1) +/* 8012511C 0012207C D1 61 00 90 */ stfs f11, 0x90(r1) +/* 80125120 00122080 40 80 00 44 */ bge lbl_80125164 +/* 80125124 00122084 38 00 00 01 */ li r0, 1 +/* 80125128 00122088 3C 60 80 3E */ lis r3, lbl_803E0794@ha +/* 8012512C 0012208C 90 1A 03 2C */ stw r0, 0x32c(r26) +/* 80125130 00122090 38 E3 07 94 */ addi r7, r3, lbl_803E0794@l +/* 80125134 00122094 7F 43 D3 78 */ mr r3, r26 +/* 80125138 00122098 7F 64 DB 78 */ mr r4, r27 +/* 8012513C 0012209C 81 27 00 00 */ lwz r9, 0(r7) +/* 80125140 001220A0 38 C1 00 70 */ addi r6, r1, 0x70 +/* 80125144 001220A4 81 07 00 04 */ lwz r8, 4(r7) +/* 80125148 001220A8 38 A0 00 0D */ li r5, 0xd +/* 8012514C 001220AC 80 07 00 08 */ lwz r0, 8(r7) +/* 80125150 001220B0 38 E0 00 00 */ li r7, 0 +/* 80125154 001220B4 91 21 00 70 */ stw r9, 0x70(r1) +/* 80125158 001220B8 91 01 00 74 */ stw r8, 0x74(r1) +/* 8012515C 001220BC 90 01 00 78 */ stw r0, 0x78(r1) +/* 80125160 001220C0 4B F5 76 55 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +lbl_80125164: +/* 80125164 001220C4 7F 43 D3 78 */ mr r3, r26 +/* 80125168 001220C8 7F 64 DB 78 */ mr r4, r27 +/* 8012516C 001220CC 48 00 3A 65 */ bl AvoidActors__12CSpacePirateFR13CStateManager +/* 80125170 001220D0 88 1A 06 39 */ lbz r0, 0x639(r26) +/* 80125174 001220D4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80125178 001220D8 40 82 00 F0 */ bne lbl_80125268 +/* 8012517C 001220DC A0 1A 06 40 */ lhz r0, 0x640(r26) +/* 80125180 001220E0 7F 43 D3 78 */ mr r3, r26 +/* 80125184 001220E4 7F 64 DB 78 */ mr r4, r27 +/* 80125188 001220E8 38 A1 00 08 */ addi r5, r1, 8 +/* 8012518C 001220EC B0 01 00 08 */ sth r0, 8(r1) +/* 80125190 001220F0 4B F5 77 1D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80125194 001220F4 7C 78 1B 79 */ or. r24, r3, r3 +/* 80125198 001220F8 41 82 00 D0 */ beq lbl_80125268 +/* 8012519C 001220FC 80 7A 04 50 */ lwz r3, 0x450(r26) +/* 801251A0 00122100 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 801251A4 00122104 48 00 ED 09 */ bl GetMaxSpeed__14CBodyStateInfoCFv +/* 801251A8 00122108 C0 42 98 0C */ lfs f2, lbl_805AB52C@sda21(r2) +/* 801251AC 0012210C 7F 03 C3 78 */ mr r3, r24 +/* 801251B0 00122110 80 9A 00 64 */ lwz r4, 0x64(r26) +/* 801251B4 00122114 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) +/* 801251B8 00122118 C0 64 00 04 */ lfs f3, 4(r4) +/* 801251BC 0012211C EC 02 07 7A */ fmadds f0, f2, f29, f0 +/* 801251C0 00122120 C0 84 00 00 */ lfs f4, 0(r4) +/* 801251C4 00122124 C0 44 00 08 */ lfs f2, 8(r4) +/* 801251C8 00122128 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 801251CC 0012212C EC 00 00 F2 */ fmuls f0, f0, f3 +/* 801251D0 00122130 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 801251D4 00122134 EC 01 00 32 */ fmuls f0, f1, f0 +/* 801251D8 00122138 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 801251DC 0012213C D0 1A 07 54 */ stfs f0, 0x754(r26) +/* 801251E0 00122140 48 00 84 21 */ bl ShouldWallHang__17CScriptCoverPointCFv +/* 801251E4 00122144 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801251E8 00122148 41 82 00 14 */ beq lbl_801251FC +/* 801251EC 0012214C C0 3A 07 54 */ lfs f1, 0x754(r26) +/* 801251F0 00122150 C0 1A 07 A4 */ lfs f0, 0x7a4(r26) +/* 801251F4 00122154 EC 01 00 2A */ fadds f0, f1, f0 +/* 801251F8 00122158 D0 1A 07 54 */ stfs f0, 0x754(r26) +lbl_801251FC: +/* 801251FC 0012215C C0 FA 00 50 */ lfs f7, 0x50(r26) +/* 80125200 00122160 C0 18 00 50 */ lfs f0, 0x50(r24) +/* 80125204 00122164 C0 7A 00 40 */ lfs f3, 0x40(r26) +/* 80125208 00122168 EC C7 00 28 */ fsubs f6, f7, f0 +/* 8012520C 0012216C C0 18 00 40 */ lfs f0, 0x40(r24) +/* 80125210 00122170 C1 1A 00 60 */ lfs f8, 0x60(r26) +/* 80125214 00122174 EC 83 00 28 */ fsubs f4, f3, f0 +/* 80125218 00122178 C0 18 00 60 */ lfs f0, 0x60(r24) +/* 8012521C 0012217C EC 26 01 B2 */ fmuls f1, f6, f6 +/* 80125220 00122180 EC A8 00 28 */ fsubs f5, f8, f0 +/* 80125224 00122184 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80125228 00122188 EC 44 01 32 */ fmuls f2, f4, f4 +/* 8012522C 0012218C C0 1A 07 54 */ lfs f0, 0x754(r26) +/* 80125230 00122190 EC 65 01 72 */ fmuls f3, f5, f5 +/* 80125234 00122194 D0 E1 00 50 */ stfs f7, 0x50(r1) +/* 80125238 00122198 EC 22 08 2A */ fadds f1, f2, f1 +/* 8012523C 0012219C EC 00 00 32 */ fmuls f0, f0, f0 +/* 80125240 001221A0 D1 01 00 54 */ stfs f8, 0x54(r1) +/* 80125244 001221A4 EC 23 08 2A */ fadds f1, f3, f1 +/* 80125248 001221A8 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8012524C 001221AC D0 C1 00 5C */ stfs f6, 0x5c(r1) +/* 80125250 001221B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80125254 001221B4 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 80125258 001221B8 7C 60 00 26 */ mfcr r3 +/* 8012525C 001221BC 88 1A 06 39 */ lbz r0, 0x639(r26) +/* 80125260 001221C0 50 60 2E F6 */ rlwimi r0, r3, 5, 0x1b, 0x1b +/* 80125264 001221C4 98 1A 06 39 */ stb r0, 0x639(r26) +lbl_80125268: +/* 80125268 001221C8 7F 43 D3 78 */ mr r3, r26 +/* 8012526C 001221CC 7F 64 DB 78 */ mr r4, r27 +/* 80125270 001221D0 48 00 3D 2D */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager +/* 80125274 001221D4 FC 20 E8 90 */ fmr f1, f29 +/* 80125278 001221D8 7F 43 D3 78 */ mr r3, r26 +/* 8012527C 001221DC 7F 64 DB 78 */ mr r4, r27 +/* 80125280 001221E0 48 00 3C 61 */ bl UpdateHeldPosition__12CSpacePirateFR13CStateManagerf +/* 80125284 001221E4 48 00 00 34 */ b lbl_801252B8 +lbl_80125288: +/* 80125288 001221E8 48 0D 14 45 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8012528C 001221EC 38 80 00 00 */ li r4, 0 +/* 80125290 001221F0 38 00 00 01 */ li r0, 1 +/* 80125294 001221F4 90 9A 03 2C */ stw r4, 0x32c(r26) +/* 80125298 001221F8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 8012529C 001221FC B0 7A 08 40 */ sth r3, 0x840(r26) +/* 801252A0 00122200 90 1A 03 0C */ stw r0, 0x30c(r26) +/* 801252A4 00122204 88 1A 06 39 */ lbz r0, 0x639(r26) +/* 801252A8 00122208 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 801252AC 0012220C 98 1A 06 39 */ stb r0, 0x639(r26) +/* 801252B0 00122210 80 7A 04 50 */ lwz r3, 0x450(r26) +/* 801252B4 00122214 90 83 00 34 */ stw r4, 0x34(r3) +lbl_801252B8: +/* 801252B8 00122218 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 +/* 801252BC 0012221C CB E1 01 90 */ lfd f31, 0x190(r1) +/* 801252C0 00122220 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 +/* 801252C4 00122224 CB C1 01 80 */ lfd f30, 0x180(r1) +/* 801252C8 00122228 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 +/* 801252CC 0012222C CB A1 01 70 */ lfd f29, 0x170(r1) +/* 801252D0 00122230 BB 01 01 50 */ lmw r24, 0x150(r1) +/* 801252D4 00122234 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 801252D8 00122238 7C 08 03 A6 */ mtlr r0 +/* 801252DC 0012223C 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 801252E0 00122240 4E 80 00 20 */ blr + +.global LineOfSight__12CSpacePirateFR13CStateManagerf +LineOfSight__12CSpacePirateFR13CStateManagerf: +/* 801252E4 00122244 88 03 06 37 */ lbz r0, 0x637(r3) +/* 801252E8 00122248 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f +/* 801252EC 0012224C 7C 00 00 34 */ cntlzw r0, r0 +/* 801252F0 00122250 54 03 D9 7E */ srwi r3, r0, 5 +/* 801252F4 00122254 4E 80 00 20 */ blr + +.global SpotPlayer__12CSpacePirateFR13CStateManagerf +SpotPlayer__12CSpacePirateFR13CStateManagerf: +/* 801252F8 00122258 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801252FC 0012225C 7C 08 02 A6 */ mflr r0 +/* 80125300 00122260 90 01 00 34 */ stw r0, 0x34(r1) +/* 80125304 00122264 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80125308 00122268 7C 7F 1B 78 */ mr r31, r3 +/* 8012530C 0012226C 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80125310 00122270 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 80125314 00122274 38 61 00 14 */ addi r3, r1, 0x14 +/* 80125318 00122278 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8012531C 0012227C C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80125320 00122280 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80125324 00122284 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80125328 00122288 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 8012532C 0012228C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80125330 00122290 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80125334 00122294 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80125338 00122298 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8012533C 0012229C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80125340 001222A0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80125344 001222A4 48 1E F5 75 */ bl Magnitude__9CVector3fCFv +/* 80125348 001222A8 C0 BF 00 48 */ lfs f5, 0x48(r31) +/* 8012534C 001222AC C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80125350 001222B0 C0 9F 00 38 */ lfs f4, 0x38(r31) +/* 80125354 001222B4 EC 00 01 72 */ fmuls f0, f0, f5 +/* 80125358 001222B8 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8012535C 001222BC C0 FF 03 C4 */ lfs f7, 0x3c4(r31) +/* 80125360 001222C0 C0 DF 00 58 */ lfs f6, 0x58(r31) +/* 80125364 001222C4 EC 42 01 3A */ fmadds f2, f2, f4, f0 +/* 80125368 001222C8 C0 61 00 1C */ lfs f3, 0x1c(r1) +/* 8012536C 001222CC EC 01 01 F2 */ fmuls f0, f1, f7 +/* 80125370 001222D0 D0 81 00 08 */ stfs f4, 8(r1) +/* 80125374 001222D4 EC 23 11 BA */ fmadds f1, f3, f6, f2 +/* 80125378 001222D8 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 8012537C 001222DC D0 C1 00 10 */ stfs f6, 0x10(r1) +/* 80125380 001222E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80125384 001222E4 7C 00 00 26 */ mfcr r0 +/* 80125388 001222E8 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 8012538C 001222EC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80125390 001222F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80125394 001222F4 7C 08 03 A6 */ mtlr r0 +/* 80125398 001222F8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8012539C 001222FC 4E 80 00 20 */ blr + +.global Approach__12CSpacePirateFR13CStateManager9EStateMsgf +Approach__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801253A0 00122300 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801253A4 00122304 7C 08 02 A6 */ mflr r0 +/* 801253A8 00122308 2C 05 00 01 */ cmpwi r5, 1 +/* 801253AC 0012230C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801253B0 00122310 41 82 00 34 */ beq lbl_801253E4 +/* 801253B4 00122314 40 80 00 34 */ bge lbl_801253E8 +/* 801253B8 00122318 2C 05 00 00 */ cmpwi r5, 0 +/* 801253BC 0012231C 40 80 00 0C */ bge lbl_801253C8 +/* 801253C0 00122320 48 00 00 28 */ b lbl_801253E8 +/* 801253C4 00122324 48 00 00 24 */ b lbl_801253E8 +lbl_801253C8: +/* 801253C8 00122328 80 83 04 50 */ lwz r4, 0x450(r3) +/* 801253CC 0012232C 38 00 00 00 */ li r0, 0 +/* 801253D0 00122330 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 801253D4 00122334 90 04 00 34 */ stw r0, 0x34(r4) +/* 801253D8 00122338 90 03 03 0C */ stw r0, 0x30c(r3) +/* 801253DC 0012233C D0 03 06 44 */ stfs f0, 0x644(r3) +/* 801253E0 00122340 48 00 00 08 */ b lbl_801253E8 +lbl_801253E4: +/* 801253E4 00122344 48 00 37 ED */ bl AvoidActors__12CSpacePirateFR13CStateManager +lbl_801253E8: +/* 801253E8 00122348 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801253EC 0012234C 7C 08 03 A6 */ mtlr r0 +/* 801253F0 00122350 38 21 00 10 */ addi r1, r1, 0x10 +/* 801253F4 00122354 4E 80 00 20 */ blr + +.global Flee__12CSpacePirateFR13CStateManager9EStateMsgf +Flee__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801253F8 00122358 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 801253FC 0012235C 7C 08 02 A6 */ mflr r0 +/* 80125400 00122360 2C 05 00 01 */ cmpwi r5, 1 +/* 80125404 00122364 90 01 00 54 */ stw r0, 0x54(r1) +/* 80125408 00122368 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8012540C 0012236C 7C 7F 1B 78 */ mr r31, r3 +/* 80125410 00122370 41 82 00 DC */ beq lbl_801254EC +/* 80125414 00122374 40 80 00 DC */ bge lbl_801254F0 +/* 80125418 00122378 2C 05 00 00 */ cmpwi r5, 0 +/* 8012541C 0012237C 40 80 00 0C */ bge lbl_80125428 +/* 80125420 00122380 48 00 00 D0 */ b lbl_801254F0 +/* 80125424 00122384 48 00 00 CC */ b lbl_801254F0 +lbl_80125428: +/* 80125428 00122388 80 BF 04 50 */ lwz r5, 0x450(r31) +/* 8012542C 0012238C 38 00 00 00 */ li r0, 0 +/* 80125430 00122390 38 61 00 08 */ addi r3, r1, 8 +/* 80125434 00122394 90 05 00 34 */ stw r0, 0x34(r5) +/* 80125438 00122398 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 8012543C 0012239C 38 81 00 38 */ addi r4, r1, 0x38 +/* 80125440 001223A0 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80125444 001223A4 C0 05 00 50 */ lfs f0, 0x50(r5) +/* 80125448 001223A8 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8012544C 001223AC C0 45 00 60 */ lfs f2, 0x60(r5) +/* 80125450 001223B0 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80125454 001223B4 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80125458 001223B8 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 8012545C 001223BC EC 43 10 28 */ fsubs f2, f3, f2 +/* 80125460 001223C0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80125464 001223C4 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 80125468 001223C8 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8012546C 001223CC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 80125470 001223D0 48 1E F3 E1 */ bl AsNormalized__9CVector3fCFv +/* 80125474 001223D4 C0 82 98 3C */ lfs f4, lbl_805AB55C@sda21(r2) +/* 80125478 001223D8 7F E3 FB 78 */ mr r3, r31 +/* 8012547C 001223DC C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80125480 001223E0 38 81 00 2C */ addi r4, r1, 0x2c +/* 80125484 001223E4 C0 21 00 08 */ lfs f1, 8(r1) +/* 80125488 001223E8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8012548C 001223EC EC A4 00 B2 */ fmuls f5, f4, f2 +/* 80125490 001223F0 C1 1F 00 60 */ lfs f8, 0x60(r31) +/* 80125494 001223F4 EC 64 00 72 */ fmuls f3, f4, f1 +/* 80125498 001223F8 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8012549C 001223FC EC 44 00 32 */ fmuls f2, f4, f0 +/* 801254A0 00122400 C0 FF 00 50 */ lfs f7, 0x50(r31) +/* 801254A4 00122404 EC 88 28 2A */ fadds f4, f8, f5 +/* 801254A8 00122408 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 801254AC 0012240C EC C7 10 2A */ fadds f6, f7, f2 +/* 801254B0 00122410 EC 01 18 2A */ fadds f0, f1, f3 +/* 801254B4 00122414 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 801254B8 00122418 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 801254BC 0012241C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 801254C0 00122420 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 801254C4 00122424 D1 01 00 28 */ stfs f8, 0x28(r1) +/* 801254C8 00122428 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 801254CC 0012242C D0 C1 00 30 */ stfs f6, 0x30(r1) +/* 801254D0 00122430 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 801254D4 00122434 4B F5 76 89 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 801254D8 00122438 38 00 00 00 */ li r0, 0 +/* 801254DC 0012243C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 801254E0 00122440 90 1F 03 0C */ stw r0, 0x30c(r31) +/* 801254E4 00122444 D0 1F 06 44 */ stfs f0, 0x644(r31) +/* 801254E8 00122448 48 00 00 08 */ b lbl_801254F0 +lbl_801254EC: +/* 801254EC 0012244C 48 00 36 E5 */ bl AvoidActors__12CSpacePirateFR13CStateManager +lbl_801254F0: +/* 801254F0 00122450 80 01 00 54 */ lwz r0, 0x54(r1) +/* 801254F4 00122454 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 801254F8 00122458 7C 08 03 A6 */ mtlr r0 +/* 801254FC 0012245C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80125500 00122460 4E 80 00 20 */ blr + +.global Skid__12CSpacePirateFR13CStateManager9EStateMsgf +Skid__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80125504 00122464 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80125508 00122468 7C 08 02 A6 */ mflr r0 +/* 8012550C 0012246C 2C 05 00 01 */ cmpwi r5, 1 +/* 80125510 00122470 90 01 00 24 */ stw r0, 0x24(r1) +/* 80125514 00122474 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80125518 00122478 41 82 00 3C */ beq lbl_80125554 +/* 8012551C 0012247C 40 80 00 10 */ bge lbl_8012552C +/* 80125520 00122480 2C 05 00 00 */ cmpwi r5, 0 +/* 80125524 00122484 40 80 00 14 */ bge lbl_80125538 +/* 80125528 00122488 48 00 00 C0 */ b lbl_801255E8 +lbl_8012552C: +/* 8012552C 0012248C 2C 05 00 03 */ cmpwi r5, 3 +/* 80125530 00122490 40 80 00 B8 */ bge lbl_801255E8 +/* 80125534 00122494 48 00 00 A4 */ b lbl_801255D8 +lbl_80125538: +/* 80125538 00122498 C0 02 98 28 */ lfs f0, lbl_805AB548@sda21(r2) +/* 8012553C 0012249C 38 80 00 01 */ li r4, 1 +/* 80125540 001224A0 D0 03 08 38 */ stfs f0, 0x838(r3) +/* 80125544 001224A4 88 03 06 36 */ lbz r0, 0x636(r3) +/* 80125548 001224A8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 8012554C 001224AC 98 03 06 36 */ stb r0, 0x636(r3) +/* 80125550 001224B0 48 00 00 98 */ b lbl_801255E8 +lbl_80125554: +/* 80125554 001224B4 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 80125558 001224B8 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 8012555C 001224BC 2C 00 00 03 */ cmpwi r0, 3 +/* 80125560 001224C0 41 82 00 88 */ beq lbl_801255E8 +/* 80125564 001224C4 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80125568 001224C8 80 E3 08 34 */ lwz r7, 0x834(r3) +/* 8012556C 001224CC 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 80125570 001224D0 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 80125574 001224D4 90 01 00 08 */ stw r0, 8(r1) +/* 80125578 001224D8 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8012557C 001224DC 38 60 00 01 */ li r3, 1 +/* 80125580 001224E0 38 00 00 00 */ li r0, 0 +/* 80125584 001224E4 3B E6 00 04 */ addi r31, r6, 4 +/* 80125588 001224E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 8012558C 001224EC 7F E3 FB 78 */ mr r3, r31 +/* 80125590 001224F0 38 80 00 01 */ li r4, 1 +/* 80125594 001224F4 90 A1 00 08 */ stw r5, 8(r1) +/* 80125598 001224F8 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8012559C 001224FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 801255A0 00122500 48 00 BE 99 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801255A4 00122504 80 01 00 0C */ lwz r0, 0xc(r1) +/* 801255A8 00122508 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 801255AC 0012250C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 801255B0 00122510 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801255B4 00122514 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 801255B8 00122518 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801255BC 0012251C 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 801255C0 00122520 90 81 00 08 */ stw r4, 8(r1) +/* 801255C4 00122524 80 61 00 14 */ lwz r3, 0x14(r1) +/* 801255C8 00122528 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 801255CC 0012252C 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 801255D0 00122530 90 01 00 08 */ stw r0, 8(r1) +/* 801255D4 00122534 48 00 00 14 */ b lbl_801255E8 +lbl_801255D8: +/* 801255D8 00122538 88 03 06 36 */ lbz r0, 0x636(r3) +/* 801255DC 0012253C 38 80 00 00 */ li r4, 0 +/* 801255E0 00122540 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 801255E4 00122544 98 03 06 36 */ stb r0, 0x636(r3) +lbl_801255E8: +/* 801255E8 00122548 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801255EC 0012254C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801255F0 00122550 7C 08 03 A6 */ mtlr r0 +/* 801255F4 00122554 38 21 00 20 */ addi r1, r1, 0x20 +/* 801255F8 00122558 4E 80 00 20 */ blr + +.global ShouldStrafe__12CSpacePirateFR13CStateManagerf +ShouldStrafe__12CSpacePirateFR13CStateManagerf: +/* 801255FC 0012255C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 80125600 00122560 7C 08 02 A6 */ mflr r0 +/* 80125604 00122564 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 80125608 00122568 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8012560C 0012256C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 80125610 00122570 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 80125614 00122574 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 80125618 00122578 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 8012561C 0012257C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 80125620 00122580 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 80125624 00122584 93 C1 00 98 */ stw r30, 0x98(r1) +/* 80125628 00122588 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8012562C 0012258C 93 81 00 90 */ stw r28, 0x90(r1) +/* 80125630 00122590 38 00 FF FF */ li r0, -1 +/* 80125634 00122594 7C 7C 1B 78 */ mr r28, r3 +/* 80125638 00122598 90 03 08 34 */ stw r0, 0x834(r3) +/* 8012563C 0012259C 7C 9D 23 78 */ mr r29, r4 +/* 80125640 001225A0 3B E0 00 00 */ li r31, 0 +/* 80125644 001225A4 3B C0 00 00 */ li r30, 0 +/* 80125648 001225A8 88 03 06 34 */ lbz r0, 0x634(r3) +/* 8012564C 001225AC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80125650 001225B0 40 82 02 14 */ bne lbl_80125864 +/* 80125654 001225B4 C3 BC 00 60 */ lfs f29, 0x60(r28) +/* 80125658 001225B8 7F 84 E3 78 */ mr r4, r28 +/* 8012565C 001225BC C3 DC 00 50 */ lfs f30, 0x50(r28) +/* 80125660 001225C0 7F A5 EB 78 */ mr r5, r29 +/* 80125664 001225C4 C3 FC 00 40 */ lfs f31, 0x40(r28) +/* 80125668 001225C8 38 61 00 68 */ addi r3, r1, 0x68 +/* 8012566C 001225CC 48 00 2D D9 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 80125670 001225D0 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 80125674 001225D4 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80125678 001225D8 EC 60 F0 28 */ fsubs f3, f0, f30 +/* 8012567C 001225DC C0 BC 00 48 */ lfs f5, 0x48(r28) +/* 80125680 001225E0 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 80125684 001225E4 EC 81 F8 28 */ fsubs f4, f1, f31 +/* 80125688 001225E8 C0 5C 00 38 */ lfs f2, 0x38(r28) +/* 8012568C 001225EC EC 23 01 72 */ fmuls f1, f3, f5 +/* 80125690 001225F0 C0 DC 00 58 */ lfs f6, 0x58(r28) +/* 80125694 001225F4 EC 60 E8 28 */ fsubs f3, f0, f29 +/* 80125698 001225F8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012569C 001225FC EC 24 08 BA */ fmadds f1, f4, f2, f1 +/* 801256A0 00122600 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 801256A4 00122604 D0 A1 00 60 */ stfs f5, 0x60(r1) +/* 801256A8 00122608 EC 23 09 BA */ fmadds f1, f3, f6, f1 +/* 801256AC 0012260C D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 801256B0 00122610 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801256B4 00122614 40 81 01 B0 */ ble lbl_80125864 +/* 801256B8 00122618 C0 1C 08 54 */ lfs f0, 0x854(r28) +/* 801256BC 0012261C C0 22 98 40 */ lfs f1, lbl_805AB560@sda21(r2) +/* 801256C0 00122620 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801256C4 00122624 41 80 00 10 */ blt lbl_801256D4 +/* 801256C8 00122628 C0 1C 08 50 */ lfs f0, 0x850(r28) +/* 801256CC 0012262C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801256D0 00122630 40 80 00 E0 */ bge lbl_801257B0 +lbl_801256D4: +/* 801256D4 00122634 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 801256D8 00122638 C0 1C 08 38 */ lfs f0, 0x838(r28) +/* 801256DC 0012263C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 801256E0 00122640 40 82 00 D0 */ bne lbl_801257B0 +/* 801256E4 00122644 7F 84 E3 78 */ mr r4, r28 +/* 801256E8 00122648 38 61 00 74 */ addi r3, r1, 0x74 +/* 801256EC 0012264C 4B FF 52 41 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 801256F0 00122650 38 61 00 50 */ addi r3, r1, 0x50 +/* 801256F4 00122654 38 81 00 74 */ addi r4, r1, 0x74 +/* 801256F8 00122658 48 21 1F 15 */ bl GetCenterPoint__6CAABoxCFv +/* 801256FC 0012265C C3 A1 00 50 */ lfs f29, 0x50(r1) +/* 80125700 00122660 7F 84 E3 78 */ mr r4, r28 +/* 80125704 00122664 C3 C1 00 54 */ lfs f30, 0x54(r1) +/* 80125708 00122668 7F A5 EB 78 */ mr r5, r29 +/* 8012570C 0012266C C3 E1 00 58 */ lfs f31, 0x58(r1) +/* 80125710 00122670 38 61 00 2C */ addi r3, r1, 0x2c +/* 80125714 00122674 48 00 2D 31 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 80125718 00122678 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8012571C 0012267C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80125720 00122680 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80125724 00122684 38 81 00 38 */ addi r4, r1, 0x38 +/* 80125728 00122688 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8012572C 0012268C EC 42 E8 28 */ fsubs f2, f2, f29 +/* 80125730 00122690 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80125734 00122694 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80125738 00122698 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8012573C 0012269C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80125740 001226A0 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80125744 001226A4 48 1E F1 0D */ bl AsNormalized__9CVector3fCFv +/* 80125748 001226A8 C0 9C 00 48 */ lfs f4, 0x48(r28) +/* 8012574C 001226AC C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80125750 001226B0 C0 7C 00 38 */ lfs f3, 0x38(r28) +/* 80125754 001226B4 EC 00 01 32 */ fmuls f0, f0, f4 +/* 80125758 001226B8 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 8012575C 001226BC C0 BC 00 58 */ lfs f5, 0x58(r28) +/* 80125760 001226C0 C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 80125764 001226C4 EC 21 00 FA */ fmadds f1, f1, f3, f0 +/* 80125768 001226C8 C0 02 98 00 */ lfs f0, lbl_805AB520@sda21(r2) +/* 8012576C 001226CC D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80125770 001226D0 EC 22 09 7A */ fmadds f1, f2, f5, f1 +/* 80125774 001226D4 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80125778 001226D8 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 8012577C 001226DC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80125780 001226E0 40 81 00 30 */ ble lbl_801257B0 +/* 80125784 001226E4 C0 22 98 20 */ lfs f1, lbl_805AB540@sda21(r2) +/* 80125788 001226E8 7F 83 E3 78 */ mr r3, r28 +/* 8012578C 001226EC 7F A4 EB 78 */ mr r4, r29 +/* 80125790 001226F0 48 00 2F 4D */ bl GetStrafeDir__12CSpacePirateCFR13CStateManagerf +/* 80125794 001226F4 90 7C 08 34 */ stw r3, 0x834(r28) +/* 80125798 001226F8 80 1C 08 34 */ lwz r0, 0x834(r28) +/* 8012579C 001226FC 2C 00 FF FF */ cmpwi r0, -1 +/* 801257A0 00122700 41 82 00 0C */ beq lbl_801257AC +/* 801257A4 00122704 3B E0 00 01 */ li r31, 1 +/* 801257A8 00122708 48 00 00 08 */ b lbl_801257B0 +lbl_801257AC: +/* 801257AC 0012270C 3B C0 00 01 */ li r30, 1 +lbl_801257B0: +/* 801257B0 00122710 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 801257B4 00122714 40 82 00 B0 */ bne lbl_80125864 +/* 801257B8 00122718 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 801257BC 0012271C 40 82 00 A8 */ bne lbl_80125864 +/* 801257C0 00122720 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 801257C4 00122724 A0 7C 07 C0 */ lhz r3, 0x7c0(r28) +/* 801257C8 00122728 A0 04 00 08 */ lhz r0, 8(r4) +/* 801257CC 0012272C 7C 03 00 40 */ cmplw r3, r0 +/* 801257D0 00122730 40 82 00 94 */ bne lbl_80125864 +/* 801257D4 00122734 C0 3C 07 AC */ lfs f1, 0x7ac(r28) +/* 801257D8 00122738 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 801257DC 0012273C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801257E0 00122740 40 81 00 84 */ ble lbl_80125864 +/* 801257E4 00122744 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 801257E8 00122748 38 61 00 14 */ addi r3, r1, 0x14 +/* 801257EC 0012274C C0 1C 00 60 */ lfs f0, 0x60(r28) +/* 801257F0 00122750 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 801257F4 00122754 C0 5C 00 50 */ lfs f2, 0x50(r28) +/* 801257F8 00122758 EC 25 00 28 */ fsubs f1, f5, f0 +/* 801257FC 0012275C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 80125800 00122760 C0 7C 00 40 */ lfs f3, 0x40(r28) +/* 80125804 00122764 EC 44 10 28 */ fsubs f2, f4, f2 +/* 80125808 00122768 D0 01 00 08 */ stfs f0, 8(r1) +/* 8012580C 0012276C EC 00 18 28 */ fsubs f0, f0, f3 +/* 80125810 00122770 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80125814 00122774 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80125818 00122778 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8012581C 0012277C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80125820 00122780 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80125824 00122784 48 1E F0 95 */ bl Magnitude__9CVector3fCFv +/* 80125828 00122788 C0 02 98 3C */ lfs f0, lbl_805AB55C@sda21(r2) +/* 8012582C 0012278C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80125830 00122790 40 80 00 34 */ bge lbl_80125864 +/* 80125834 00122794 80 1C 08 34 */ lwz r0, 0x834(r28) +/* 80125838 00122798 2C 00 FF FF */ cmpwi r0, -1 +/* 8012583C 0012279C 40 82 00 28 */ bne lbl_80125864 +/* 80125840 001227A0 C0 22 98 1C */ lfs f1, lbl_805AB53C@sda21(r2) +/* 80125844 001227A4 7F 83 E3 78 */ mr r3, r28 +/* 80125848 001227A8 7F A4 EB 78 */ mr r4, r29 +/* 8012584C 001227AC 48 00 2E 91 */ bl GetStrafeDir__12CSpacePirateCFR13CStateManagerf +/* 80125850 001227B0 90 7C 08 34 */ stw r3, 0x834(r28) +/* 80125854 001227B4 80 1C 08 34 */ lwz r0, 0x834(r28) +/* 80125858 001227B8 2C 00 FF FF */ cmpwi r0, -1 +/* 8012585C 001227BC 41 82 00 08 */ beq lbl_80125864 +/* 80125860 001227C0 3B E0 00 01 */ li r31, 1 +lbl_80125864: +/* 80125864 001227C4 7F E3 FB 78 */ mr r3, r31 +/* 80125868 001227C8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8012586C 001227CC CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80125870 001227D0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 80125874 001227D4 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 80125878 001227D8 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 8012587C 001227DC CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 80125880 001227E0 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 80125884 001227E4 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 80125888 001227E8 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8012588C 001227EC 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80125890 001227F0 83 81 00 90 */ lwz r28, 0x90(r1) +/* 80125894 001227F4 7C 08 03 A6 */ mtlr r0 +/* 80125898 001227F8 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8012589C 001227FC 4E 80 00 20 */ blr + +.global Crouch__12CSpacePirateFR13CStateManager9EStateMsgf +Crouch__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801258A0 00122800 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801258A4 00122804 7C 08 02 A6 */ mflr r0 +/* 801258A8 00122808 90 01 00 34 */ stw r0, 0x34(r1) +/* 801258AC 0012280C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 801258B0 00122810 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 801258B4 00122814 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801258B8 00122818 93 C1 00 18 */ stw r30, 0x18(r1) +/* 801258BC 0012281C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801258C0 00122820 7C BF 2B 78 */ mr r31, r5 +/* 801258C4 00122824 FF E0 08 90 */ fmr f31, f1 +/* 801258C8 00122828 2C 1F 00 01 */ cmpwi r31, 1 +/* 801258CC 0012282C 7C 7D 1B 78 */ mr r29, r3 +/* 801258D0 00122830 7C 9E 23 78 */ mr r30, r4 +/* 801258D4 00122834 41 82 00 90 */ beq lbl_80125964 +/* 801258D8 00122838 40 80 00 AC */ bge lbl_80125984 +/* 801258DC 0012283C 2C 1F 00 00 */ cmpwi r31, 0 +/* 801258E0 00122840 40 80 00 0C */ bge lbl_801258EC +/* 801258E4 00122844 48 00 00 A0 */ b lbl_80125984 +/* 801258E8 00122848 48 00 00 9C */ b lbl_80125984 +lbl_801258EC: +/* 801258EC 0012284C 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 801258F0 00122850 38 80 00 00 */ li r4, 0 +/* 801258F4 00122854 48 01 50 E5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 801258F8 00122858 A0 1D 06 40 */ lhz r0, 0x640(r29) +/* 801258FC 0012285C 7F A3 EB 78 */ mr r3, r29 +/* 80125900 00122860 7F C4 F3 78 */ mr r4, r30 +/* 80125904 00122864 38 A1 00 08 */ addi r5, r1, 8 +/* 80125908 00122868 B0 01 00 08 */ sth r0, 8(r1) +/* 8012590C 0012286C 4B F5 6F A1 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80125910 00122870 28 03 00 00 */ cmplwi r3, 0 +/* 80125914 00122874 41 82 00 1C */ beq lbl_80125930 +/* 80125918 00122878 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 8012591C 0012287C C0 23 00 48 */ lfs f1, 0x48(r3) +/* 80125920 00122880 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 80125924 00122884 D0 1D 06 48 */ stfs f0, 0x648(r29) +/* 80125928 00122888 D0 3D 06 4C */ stfs f1, 0x64c(r29) +/* 8012592C 0012288C D0 5D 06 50 */ stfs f2, 0x650(r29) +lbl_80125930: +/* 80125930 00122890 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80125934 00122894 7F A3 EB 78 */ mr r3, r29 +/* 80125938 00122898 FC 20 F8 90 */ fmr f1, f31 +/* 8012593C 0012289C 7F C4 F3 78 */ mr r4, r30 +/* 80125940 001228A0 D0 1D 06 44 */ stfs f0, 0x644(r29) +/* 80125944 001228A4 7F E5 FB 78 */ mr r5, r31 +/* 80125948 001228A8 81 9D 00 00 */ lwz r12, 0(r29) +/* 8012594C 001228AC 81 8C 00 C0 */ lwz r12, 0xc0(r12) +/* 80125950 001228B0 7D 89 03 A6 */ mtctr r12 +/* 80125954 001228B4 4E 80 04 21 */ bctrl +/* 80125958 001228B8 38 00 FF FF */ li r0, -1 +/* 8012595C 001228BC 90 1D 07 9C */ stw r0, 0x79c(r29) +/* 80125960 001228C0 48 00 00 24 */ b lbl_80125984 +lbl_80125964: +/* 80125964 001228C4 80 BD 04 50 */ lwz r5, 0x450(r29) +/* 80125968 001228C8 C0 1D 06 48 */ lfs f0, 0x648(r29) +/* 8012596C 001228CC D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 80125970 001228D0 C0 1D 06 4C */ lfs f0, 0x64c(r29) +/* 80125974 001228D4 D0 05 00 20 */ stfs f0, 0x20(r5) +/* 80125978 001228D8 C0 1D 06 50 */ lfs f0, 0x650(r29) +/* 8012597C 001228DC D0 05 00 24 */ stfs f0, 0x24(r5) +/* 80125980 001228E0 48 00 36 1D */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager +lbl_80125984: +/* 80125984 001228E4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80125988 001228E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8012598C 001228EC CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80125990 001228F0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80125994 001228F4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80125998 001228F8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8012599C 001228FC 7C 08 03 A6 */ mtlr r0 +/* 801259A0 00122900 38 21 00 30 */ addi r1, r1, 0x30 +/* 801259A4 00122904 4E 80 00 20 */ blr + +.global ShouldCrouch__12CSpacePirateFR13CStateManagerf +ShouldCrouch__12CSpacePirateFR13CStateManagerf: +/* 801259A8 00122908 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801259AC 0012290C 7C 08 02 A6 */ mflr r0 +/* 801259B0 00122910 90 01 00 24 */ stw r0, 0x24(r1) +/* 801259B4 00122914 38 A1 00 08 */ addi r5, r1, 8 +/* 801259B8 00122918 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801259BC 0012291C 3B E0 00 00 */ li r31, 0 +/* 801259C0 00122920 A0 03 06 40 */ lhz r0, 0x640(r3) +/* 801259C4 00122924 B0 01 00 08 */ sth r0, 8(r1) +/* 801259C8 00122928 4B F5 6E E5 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 801259CC 0012292C 28 03 00 00 */ cmplwi r3, 0 +/* 801259D0 00122930 41 82 00 0C */ beq lbl_801259DC +/* 801259D4 00122934 48 00 7C 45 */ bl ShouldCrouch__17CScriptCoverPointCFv +/* 801259D8 00122938 7C 7F 1B 78 */ mr r31, r3 +lbl_801259DC: +/* 801259DC 0012293C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801259E0 00122940 7F E3 FB 78 */ mr r3, r31 +/* 801259E4 00122944 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801259E8 00122948 7C 08 03 A6 */ mtlr r0 +/* 801259EC 0012294C 38 21 00 20 */ addi r1, r1, 0x20 +/* 801259F0 00122950 4E 80 00 20 */ blr + +.global DoubleSnap__12CSpacePirateFR13CStateManager9EStateMsgf +DoubleSnap__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801259F4 00122954 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 801259F8 00122958 7C 08 02 A6 */ mflr r0 +/* 801259FC 0012295C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80125A00 00122960 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80125A04 00122964 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80125A08 00122968 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 80125A0C 0012296C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 80125A10 00122970 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 80125A14 00122974 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 80125A18 00122978 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 80125A1C 0012297C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 80125A20 00122980 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 80125A24 00122984 93 C1 00 68 */ stw r30, 0x68(r1) +/* 80125A28 00122988 FF E0 08 90 */ fmr f31, f1 +/* 80125A2C 0012298C 2C 05 00 01 */ cmpwi r5, 1 +/* 80125A30 00122990 7C 7E 1B 78 */ mr r30, r3 +/* 80125A34 00122994 7C 9F 23 78 */ mr r31, r4 +/* 80125A38 00122998 41 82 00 EC */ beq lbl_80125B24 +/* 80125A3C 0012299C 40 80 00 10 */ bge lbl_80125A4C +/* 80125A40 001229A0 2C 05 00 00 */ cmpwi r5, 0 +/* 80125A44 001229A4 40 80 00 14 */ bge lbl_80125A58 +/* 80125A48 001229A8 48 00 03 08 */ b lbl_80125D50 +lbl_80125A4C: +/* 80125A4C 001229AC 2C 05 00 03 */ cmpwi r5, 3 +/* 80125A50 001229B0 40 80 03 00 */ bge lbl_80125D50 +/* 80125A54 001229B4 48 00 02 DC */ b lbl_80125D30 +lbl_80125A58: +/* 80125A58 001229B8 88 1E 06 35 */ lbz r0, 0x635(r30) +/* 80125A5C 001229BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80125A60 001229C0 40 82 00 0C */ bne lbl_80125A6C +/* 80125A64 001229C4 38 00 00 01 */ li r0, 1 +/* 80125A68 001229C8 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_80125A6C: +/* 80125A6C 001229CC 7F C4 F3 78 */ mr r4, r30 +/* 80125A70 001229D0 7F E5 FB 78 */ mr r5, r31 +/* 80125A74 001229D4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80125A78 001229D8 48 00 29 CD */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 80125A7C 001229DC C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80125A80 001229E0 3C 60 80 57 */ lis r3, lbl_8056F85C@ha +/* 80125A84 001229E4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80125A88 001229E8 38 C0 00 01 */ li r6, 1 +/* 80125A8C 001229EC D0 3E 02 E0 */ stfs f1, 0x2e0(r30) +/* 80125A90 001229F0 38 A0 00 00 */ li r5, 0 +/* 80125A94 001229F4 38 63 F8 5C */ addi r3, r3, lbl_8056F85C@l +/* 80125A98 001229F8 38 81 00 08 */ addi r4, r1, 8 +/* 80125A9C 001229FC C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80125AA0 00122A00 D0 3E 02 E4 */ stfs f1, 0x2e4(r30) +/* 80125AA4 00122A04 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 80125AA8 00122A08 D0 3E 02 E8 */ stfs f1, 0x2e8(r30) +/* 80125AAC 00122A0C C0 5E 02 E0 */ lfs f2, 0x2e0(r30) +/* 80125AB0 00122A10 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80125AB4 00122A14 C0 BE 02 E4 */ lfs f5, 0x2e4(r30) +/* 80125AB8 00122A18 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 80125ABC 00122A1C EC 22 08 28 */ fsubs f1, f2, f1 +/* 80125AC0 00122A20 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) +/* 80125AC4 00122A24 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80125AC8 00122A28 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80125ACC 00122A2C D0 3E 06 48 */ stfs f1, 0x648(r30) +/* 80125AD0 00122A30 EC 23 10 28 */ fsubs f1, f3, f2 +/* 80125AD4 00122A34 D0 9E 06 4C */ stfs f4, 0x64c(r30) +/* 80125AD8 00122A38 D0 3E 06 50 */ stfs f1, 0x650(r30) +/* 80125ADC 00122A3C D0 1E 06 44 */ stfs f0, 0x644(r30) +/* 80125AE0 00122A40 88 1E 06 36 */ lbz r0, 0x636(r30) +/* 80125AE4 00122A44 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 80125AE8 00122A48 98 1E 06 36 */ stb r0, 0x636(r30) +/* 80125AEC 00122A4C 90 DE 08 3C */ stw r6, 0x83c(r30) +/* 80125AF0 00122A50 88 1E 06 38 */ lbz r0, 0x638(r30) +/* 80125AF4 00122A54 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80125AF8 00122A58 98 1E 06 38 */ stb r0, 0x638(r30) +/* 80125AFC 00122A5C 88 1E 06 36 */ lbz r0, 0x636(r30) +/* 80125B00 00122A60 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f +/* 80125B04 00122A64 98 1E 06 36 */ stb r0, 0x636(r30) +/* 80125B08 00122A68 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 80125B0C 00122A6C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e +/* 80125B10 00122A70 98 1E 06 39 */ stb r0, 0x639(r30) +/* 80125B14 00122A74 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80125B18 00122A78 B0 01 00 08 */ sth r0, 8(r1) +/* 80125B1C 00122A7C 48 00 02 6D */ bl "remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId" +/* 80125B20 00122A80 48 00 02 30 */ b lbl_80125D50 +lbl_80125B24: +/* 80125B24 00122A84 3C A0 80 3E */ lis r5, lbl_803E0788@ha +/* 80125B28 00122A88 38 C1 00 3C */ addi r6, r1, 0x3c +/* 80125B2C 00122A8C 39 25 07 88 */ addi r9, r5, lbl_803E0788@l +/* 80125B30 00122A90 38 A0 00 07 */ li r5, 7 +/* 80125B34 00122A94 81 09 00 00 */ lwz r8, 0(r9) +/* 80125B38 00122A98 80 E9 00 04 */ lwz r7, 4(r9) +/* 80125B3C 00122A9C 80 09 00 08 */ lwz r0, 8(r9) +/* 80125B40 00122AA0 91 01 00 3C */ stw r8, 0x3c(r1) +/* 80125B44 00122AA4 90 E1 00 40 */ stw r7, 0x40(r1) +/* 80125B48 00122AA8 90 01 00 44 */ stw r0, 0x44(r1) +/* 80125B4C 00122AAC 80 FE 08 3C */ lwz r7, 0x83c(r30) +/* 80125B50 00122AB0 4B F5 6C 65 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80125B54 00122AB4 80 1E 08 3C */ lwz r0, 0x83c(r30) +/* 80125B58 00122AB8 2C 00 00 01 */ cmpwi r0, 1 +/* 80125B5C 00122ABC 40 82 01 0C */ bne lbl_80125C68 +/* 80125B60 00122AC0 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80125B64 00122AC4 2C 00 00 03 */ cmpwi r0, 3 +/* 80125B68 00122AC8 40 82 01 00 */ bne lbl_80125C68 +/* 80125B6C 00122ACC C3 9E 00 60 */ lfs f28, 0x60(r30) +/* 80125B70 00122AD0 7F C4 F3 78 */ mr r4, r30 +/* 80125B74 00122AD4 C3 BE 00 50 */ lfs f29, 0x50(r30) +/* 80125B78 00122AD8 7F E5 FB 78 */ mr r5, r31 +/* 80125B7C 00122ADC C3 DE 00 40 */ lfs f30, 0x40(r30) +/* 80125B80 00122AE0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80125B84 00122AE4 48 00 28 C1 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 80125B88 00122AE8 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80125B8C 00122AEC C0 01 00 34 */ lfs f0, 0x34(r1) +/* 80125B90 00122AF0 EC 61 F0 28 */ fsubs f3, f1, f30 +/* 80125B94 00122AF4 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 80125B98 00122AF8 EC 40 E8 28 */ fsubs f2, f0, f29 +/* 80125B9C 00122AFC EC 81 E0 28 */ fsubs f4, f1, f28 +/* 80125BA0 00122B00 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 80125BA4 00122B04 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 80125BA8 00122B08 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 80125BAC 00122B0C D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80125BB0 00122B10 EC 44 01 32 */ fmuls f2, f4, f4 +/* 80125BB4 00122B14 D0 81 00 5C */ stfs f4, 0x5c(r1) +/* 80125BB8 00122B18 EC 01 00 2A */ fadds f0, f1, f0 +/* 80125BBC 00122B1C C0 7E 02 FC */ lfs f3, 0x2fc(r30) +/* 80125BC0 00122B20 EC 22 00 2A */ fadds f1, f2, f0 +/* 80125BC4 00122B24 EC 03 00 F2 */ fmuls f0, f3, f3 +/* 80125BC8 00122B28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80125BCC 00122B2C 40 80 00 9C */ bge lbl_80125C68 +/* 80125BD0 00122B30 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 80125BD4 00122B34 38 61 00 24 */ addi r3, r1, 0x24 +/* 80125BD8 00122B38 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 80125BDC 00122B3C 38 81 00 54 */ addi r4, r1, 0x54 +/* 80125BE0 00122B40 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 80125BE4 00122B44 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80125BE8 00122B48 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80125BEC 00122B4C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80125BF0 00122B50 48 1E EC 61 */ bl AsNormalized__9CVector3fCFv +/* 80125BF4 00122B54 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80125BF8 00122B58 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80125BFC 00122B5C C0 41 00 24 */ lfs f2, 0x24(r1) +/* 80125C00 00122B60 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80125C04 00122B64 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80125C08 00122B68 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 80125C0C 00122B6C C0 61 00 20 */ lfs f3, 0x20(r1) +/* 80125C10 00122B70 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80125C14 00122B74 C0 02 98 44 */ lfs f0, lbl_805AB564@sda21(r2) +/* 80125C18 00122B78 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80125C1C 00122B7C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80125C20 00122B80 40 81 00 48 */ ble lbl_80125C68 +/* 80125C24 00122B84 38 80 00 01 */ li r4, 1 +/* 80125C28 00122B88 38 00 00 02 */ li r0, 2 +/* 80125C2C 00122B8C 90 9E 03 2C */ stw r4, 0x32c(r30) +/* 80125C30 00122B90 38 60 00 00 */ li r3, 0 +/* 80125C34 00122B94 90 1E 08 3C */ stw r0, 0x83c(r30) +/* 80125C38 00122B98 88 1E 06 38 */ lbz r0, 0x638(r30) +/* 80125C3C 00122B9C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80125C40 00122BA0 98 1E 06 38 */ stb r0, 0x638(r30) +/* 80125C44 00122BA4 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 80125C48 00122BA8 D0 1E 06 48 */ stfs f0, 0x648(r30) +/* 80125C4C 00122BAC C0 01 00 58 */ lfs f0, 0x58(r1) +/* 80125C50 00122BB0 D0 1E 06 4C */ stfs f0, 0x64c(r30) +/* 80125C54 00122BB4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80125C58 00122BB8 D0 1E 06 50 */ stfs f0, 0x650(r30) +/* 80125C5C 00122BBC 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 80125C60 00122BC0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80125C64 00122BC4 98 1E 06 39 */ stb r0, 0x639(r30) +lbl_80125C68: +/* 80125C68 00122BC8 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 80125C6C 00122BCC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80125C70 00122BD0 41 82 00 44 */ beq lbl_80125CB4 +/* 80125C74 00122BD4 C3 DE 00 60 */ lfs f30, 0x60(r30) +/* 80125C78 00122BD8 7F C4 F3 78 */ mr r4, r30 +/* 80125C7C 00122BDC C3 BE 00 50 */ lfs f29, 0x50(r30) +/* 80125C80 00122BE0 7F E5 FB 78 */ mr r5, r31 +/* 80125C84 00122BE4 C3 9E 00 40 */ lfs f28, 0x40(r30) +/* 80125C88 00122BE8 38 61 00 0C */ addi r3, r1, 0xc +/* 80125C8C 00122BEC 48 00 27 B9 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 80125C90 00122BF0 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80125C94 00122BF4 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 80125C98 00122BF8 EC 00 E0 28 */ fsubs f0, f0, f28 +/* 80125C9C 00122BFC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80125CA0 00122C00 EC 42 E8 28 */ fsubs f2, f2, f29 +/* 80125CA4 00122C04 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80125CA8 00122C08 D0 1E 06 48 */ stfs f0, 0x648(r30) +/* 80125CAC 00122C0C D0 5E 06 4C */ stfs f2, 0x64c(r30) +/* 80125CB0 00122C10 D0 3E 06 50 */ stfs f1, 0x650(r30) +lbl_80125CB4: +/* 80125CB4 00122C14 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80125CB8 00122C18 C0 1E 06 48 */ lfs f0, 0x648(r30) +/* 80125CBC 00122C1C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80125CC0 00122C20 C0 1E 06 4C */ lfs f0, 0x64c(r30) +/* 80125CC4 00122C24 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 80125CC8 00122C28 C0 1E 06 50 */ lfs f0, 0x650(r30) +/* 80125CCC 00122C2C D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80125CD0 00122C30 88 1E 06 35 */ lbz r0, 0x635(r30) +/* 80125CD4 00122C34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80125CD8 00122C38 41 82 00 2C */ beq lbl_80125D04 +/* 80125CDC 00122C3C 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80125CE0 00122C40 2C 00 00 03 */ cmpwi r0, 3 +/* 80125CE4 00122C44 40 82 00 10 */ bne lbl_80125CF4 +/* 80125CE8 00122C48 C0 02 97 D4 */ lfs f0, lbl_805AB4F4@sda21(r2) +/* 80125CEC 00122C4C D0 1E 03 E8 */ stfs f0, 0x3e8(r30) +/* 80125CF0 00122C50 48 00 00 14 */ b lbl_80125D04 +lbl_80125CF4: +/* 80125CF4 00122C54 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) +/* 80125CF8 00122C58 C0 02 98 48 */ lfs f0, lbl_805AB568@sda21(r2) +/* 80125CFC 00122C5C D0 3E 03 E8 */ stfs f1, 0x3e8(r30) +/* 80125D00 00122C60 D0 1E 08 BC */ stfs f0, 0x8bc(r30) +lbl_80125D04: +/* 80125D04 00122C64 7F C3 F3 78 */ mr r3, r30 +/* 80125D08 00122C68 7F E4 FB 78 */ mr r4, r31 +/* 80125D0C 00122C6C 48 00 32 91 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager +/* 80125D10 00122C70 FC 20 F8 90 */ fmr f1, f31 +/* 80125D14 00122C74 7F C3 F3 78 */ mr r3, r30 +/* 80125D18 00122C78 7F E4 FB 78 */ mr r4, r31 +/* 80125D1C 00122C7C 48 00 31 C5 */ bl UpdateHeldPosition__12CSpacePirateFR13CStateManagerf +/* 80125D20 00122C80 7F C3 F3 78 */ mr r3, r30 +/* 80125D24 00122C84 7F E4 FB 78 */ mr r4, r31 +/* 80125D28 00122C88 48 00 28 09 */ bl CheckBlade__12CSpacePirateFR13CStateManager +/* 80125D2C 00122C8C 48 00 00 24 */ b lbl_80125D50 +lbl_80125D30: +/* 80125D30 00122C90 88 1E 06 36 */ lbz r0, 0x636(r30) +/* 80125D34 00122C94 38 60 00 00 */ li r3, 0 +/* 80125D38 00122C98 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80125D3C 00122C9C 98 1E 06 36 */ stb r0, 0x636(r30) +/* 80125D40 00122CA0 88 1E 06 36 */ lbz r0, 0x636(r30) +/* 80125D44 00122CA4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80125D48 00122CA8 98 1E 06 36 */ stb r0, 0x636(r30) +/* 80125D4C 00122CAC 90 7E 03 2C */ stw r3, 0x32c(r30) +lbl_80125D50: +/* 80125D50 00122CB0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 80125D54 00122CB4 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 80125D58 00122CB8 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 80125D5C 00122CBC CB C1 00 90 */ lfd f30, 0x90(r1) +/* 80125D60 00122CC0 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 80125D64 00122CC4 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 80125D68 00122CC8 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 80125D6C 00122CCC CB 81 00 70 */ lfd f28, 0x70(r1) +/* 80125D70 00122CD0 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 80125D74 00122CD4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 80125D78 00122CD8 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 80125D7C 00122CDC 7C 08 03 A6 */ mtlr r0 +/* 80125D80 00122CE0 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 80125D84 00122CE4 4E 80 00 20 */ blr + +.global "remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId" +"remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId": +/* 80125D88 00122CE8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80125D8C 00122CEC 7C 08 02 A6 */ mflr r0 +/* 80125D90 00122CF0 7C 85 23 78 */ mr r5, r4 +/* 80125D94 00122CF4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80125D98 00122CF8 38 81 00 08 */ addi r4, r1, 8 +/* 80125D9C 00122CFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80125DA0 00122D00 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80125DA4 00122D04 7C 7E 1B 78 */ mr r30, r3 +/* 80125DA8 00122D08 38 61 00 0C */ addi r3, r1, 0xc +/* 80125DAC 00122D0C 48 00 6D 05 */ bl sub_8012cab0 +/* 80125DB0 00122D10 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80125DB4 00122D14 80 9E 00 04 */ lwz r4, 4(r30) +/* 80125DB8 00122D18 90 01 00 10 */ stw r0, 0x10(r1) +/* 80125DBC 00122D1C A3 E1 00 12 */ lhz r31, 0x12(r1) +/* 80125DC0 00122D20 48 00 00 24 */ b lbl_80125DE4 +lbl_80125DC4: +/* 80125DC4 00122D24 A0 04 00 08 */ lhz r0, 8(r4) +/* 80125DC8 00122D28 7C 1F 00 40 */ cmplw r31, r0 +/* 80125DCC 00122D2C 40 82 00 14 */ bne lbl_80125DE0 +/* 80125DD0 00122D30 7F C3 F3 78 */ mr r3, r30 +/* 80125DD4 00122D34 48 00 70 9D */ bl "erase__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRCQ34rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>8iterator" +/* 80125DD8 00122D38 7C 64 1B 78 */ mr r4, r3 +/* 80125DDC 00122D3C 48 00 00 08 */ b lbl_80125DE4 +lbl_80125DE0: +/* 80125DE0 00122D40 80 84 00 04 */ lwz r4, 4(r4) +lbl_80125DE4: +/* 80125DE4 00122D44 80 1E 00 08 */ lwz r0, 8(r30) +/* 80125DE8 00122D48 7C 04 00 40 */ cmplw r4, r0 +/* 80125DEC 00122D4C 40 82 FF D8 */ bne lbl_80125DC4 +/* 80125DF0 00122D50 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80125DF4 00122D54 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80125DF8 00122D58 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80125DFC 00122D5C 7C 08 03 A6 */ mtlr r0 +/* 80125E00 00122D60 38 21 00 20 */ addi r1, r1, 0x20 +/* 80125E04 00122D64 4E 80 00 20 */ blr + +.global Attack__12CSpacePirateFR13CStateManager9EStateMsgf +Attack__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80125E08 00122D68 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80125E0C 00122D6C 7C 08 02 A6 */ mflr r0 +/* 80125E10 00122D70 90 01 00 94 */ stw r0, 0x94(r1) +/* 80125E14 00122D74 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80125E18 00122D78 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80125E1C 00122D7C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 80125E20 00122D80 93 C1 00 78 */ stw r30, 0x78(r1) +/* 80125E24 00122D84 FF E0 08 90 */ fmr f31, f1 +/* 80125E28 00122D88 2C 05 00 01 */ cmpwi r5, 1 +/* 80125E2C 00122D8C 7C 7F 1B 78 */ mr r31, r3 +/* 80125E30 00122D90 7C 9E 23 78 */ mr r30, r4 +/* 80125E34 00122D94 41 82 01 DC */ beq lbl_80126010 +/* 80125E38 00122D98 40 80 00 10 */ bge lbl_80125E48 +/* 80125E3C 00122D9C 2C 05 00 00 */ cmpwi r5, 0 +/* 80125E40 00122DA0 40 80 00 14 */ bge lbl_80125E54 +/* 80125E44 00122DA4 48 00 02 A4 */ b lbl_801260E8 +lbl_80125E48: +/* 80125E48 00122DA8 2C 05 00 03 */ cmpwi r5, 3 +/* 80125E4C 00122DAC 40 80 02 9C */ bge lbl_801260E8 +/* 80125E50 00122DB0 48 00 02 78 */ b lbl_801260C8 +lbl_80125E54: +/* 80125E54 00122DB4 38 00 00 01 */ li r0, 1 +/* 80125E58 00122DB8 38 80 00 03 */ li r4, 3 +/* 80125E5C 00122DBC 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 80125E60 00122DC0 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80125E64 00122DC4 48 01 4B 75 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80125E68 00122DC8 7F E4 FB 78 */ mr r4, r31 +/* 80125E6C 00122DCC 7F C5 F3 78 */ mr r5, r30 +/* 80125E70 00122DD0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80125E74 00122DD4 48 00 25 D1 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 80125E78 00122DD8 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 80125E7C 00122DDC 7F E4 FB 78 */ mr r4, r31 +/* 80125E80 00122DE0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80125E84 00122DE4 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) +/* 80125E88 00122DE8 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80125E8C 00122DEC D0 1F 02 E4 */ stfs f0, 0x2e4(r31) +/* 80125E90 00122DF0 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80125E94 00122DF4 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) +/* 80125E98 00122DF8 4B FF 4A 95 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80125E9C 00122DFC 38 61 00 2C */ addi r3, r1, 0x2c +/* 80125EA0 00122E00 38 81 00 60 */ addi r4, r1, 0x60 +/* 80125EA4 00122E04 48 21 17 69 */ bl GetCenterPoint__6CAABoxCFv +/* 80125EA8 00122E08 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) +/* 80125EAC 00122E0C 38 80 00 00 */ li r4, 0 +/* 80125EB0 00122E10 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 80125EB4 00122E14 C0 BF 02 E4 */ lfs f5, 0x2e4(r31) +/* 80125EB8 00122E18 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 80125EBC 00122E1C EC 21 00 28 */ fsubs f1, f1, f0 +/* 80125EC0 00122E20 C0 7F 02 E8 */ lfs f3, 0x2e8(r31) +/* 80125EC4 00122E24 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 80125EC8 00122E28 EC 85 20 28 */ fsubs f4, f5, f4 +/* 80125ECC 00122E2C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80125ED0 00122E30 D0 3F 06 48 */ stfs f1, 0x648(r31) +/* 80125ED4 00122E34 EC 23 10 28 */ fsubs f1, f3, f2 +/* 80125ED8 00122E38 D0 9F 06 4C */ stfs f4, 0x64c(r31) +/* 80125EDC 00122E3C D0 3F 06 50 */ stfs f1, 0x650(r31) +/* 80125EE0 00122E40 D0 1F 06 44 */ stfs f0, 0x644(r31) +/* 80125EE4 00122E44 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 80125EE8 00122E48 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80125EEC 00122E4C 98 1F 06 36 */ stb r0, 0x636(r31) +/* 80125EF0 00122E50 88 1F 06 35 */ lbz r0, 0x635(r31) +/* 80125EF4 00122E54 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80125EF8 00122E58 40 82 00 68 */ bne lbl_80125F60 +/* 80125EFC 00122E5C C0 3F 06 48 */ lfs f1, 0x648(r31) +/* 80125F00 00122E60 C0 1F 06 4C */ lfs f0, 0x64c(r31) +/* 80125F04 00122E64 EC 41 00 72 */ fmuls f2, f1, f1 +/* 80125F08 00122E68 C0 7F 06 50 */ lfs f3, 0x650(r31) +/* 80125F0C 00122E6C EC 20 00 32 */ fmuls f1, f0, f0 +/* 80125F10 00122E70 C0 1F 02 FC */ lfs f0, 0x2fc(r31) +/* 80125F14 00122E74 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 80125F18 00122E78 EC 00 00 32 */ fmuls f0, f0, f0 +/* 80125F1C 00122E7C EC 22 08 2A */ fadds f1, f2, f1 +/* 80125F20 00122E80 EC 23 08 2A */ fadds f1, f3, f1 +/* 80125F24 00122E84 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80125F28 00122E88 40 80 00 38 */ bge lbl_80125F60 +/* 80125F2C 00122E8C C0 3F 06 50 */ lfs f1, 0x650(r31) +/* 80125F30 00122E90 C0 02 98 28 */ lfs f0, lbl_805AB548@sda21(r2) +/* 80125F34 00122E94 EC 21 00 72 */ fmuls f1, f1, f1 +/* 80125F38 00122E98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80125F3C 00122E9C 40 80 00 24 */ bge lbl_80125F60 +/* 80125F40 00122EA0 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 80125F44 00122EA4 38 60 00 01 */ li r3, 1 +/* 80125F48 00122EA8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80125F4C 00122EAC 98 1F 06 36 */ stb r0, 0x636(r31) +/* 80125F50 00122EB0 88 1F 06 38 */ lbz r0, 0x638(r31) +/* 80125F54 00122EB4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80125F58 00122EB8 98 1F 06 38 */ stb r0, 0x638(r31) +/* 80125F5C 00122EBC 48 00 00 98 */ b lbl_80125FF4 +lbl_80125F60: +/* 80125F60 00122EC0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80125F64 00122EC4 38 9F 06 48 */ addi r4, r31, 0x648 +/* 80125F68 00122EC8 48 1E E8 E9 */ bl AsNormalized__9CVector3fCFv +/* 80125F6C 00122ECC C0 9F 00 48 */ lfs f4, 0x48(r31) +/* 80125F70 00122ED0 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80125F74 00122ED4 C0 7F 00 38 */ lfs f3, 0x38(r31) +/* 80125F78 00122ED8 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80125F7C 00122EDC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 80125F80 00122EE0 C0 BF 00 58 */ lfs f5, 0x58(r31) +/* 80125F84 00122EE4 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 80125F88 00122EE8 EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 80125F8C 00122EEC C0 02 98 34 */ lfs f0, lbl_805AB554@sda21(r2) +/* 80125F90 00122EF0 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80125F94 00122EF4 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 80125F98 00122EF8 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 80125F9C 00122EFC D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 80125FA0 00122F00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80125FA4 00122F04 40 80 00 50 */ bge lbl_80125FF4 +/* 80125FA8 00122F08 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80125FAC 00122F0C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 80125FB0 00122F10 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80125FB4 00122F14 38 81 00 44 */ addi r4, r1, 0x44 +/* 80125FB8 00122F18 C0 43 00 04 */ lfs f2, 4(r3) +/* 80125FBC 00122F1C C0 23 00 08 */ lfs f1, 8(r3) +/* 80125FC0 00122F20 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 80125FC4 00122F24 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80125FC8 00122F28 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80125FCC 00122F2C C0 3F 06 48 */ lfs f1, 0x648(r31) +/* 80125FD0 00122F30 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80125FD4 00122F34 C0 3F 06 4C */ lfs f1, 0x64c(r31) +/* 80125FD8 00122F38 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80125FDC 00122F3C C0 3F 06 50 */ lfs f1, 0x650(r31) +/* 80125FE0 00122F40 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80125FE4 00122F44 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80125FE8 00122F48 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80125FEC 00122F4C 38 63 00 04 */ addi r3, r3, 4 +/* 80125FF0 00122F50 48 00 B7 29 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_80125FF4: +/* 80125FF4 00122F54 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 80125FF8 00122F58 38 60 00 01 */ li r3, 1 +/* 80125FFC 00122F5C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80126000 00122F60 C0 02 98 48 */ lfs f0, lbl_805AB568@sda21(r2) +/* 80126004 00122F64 98 1F 06 36 */ stb r0, 0x636(r31) +/* 80126008 00122F68 D0 1F 08 BC */ stfs f0, 0x8bc(r31) +/* 8012600C 00122F6C 48 00 00 DC */ b lbl_801260E8 +lbl_80126010: +/* 80126010 00122F70 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 80126014 00122F74 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80126018 00122F78 41 82 00 90 */ beq lbl_801260A8 +/* 8012601C 00122F7C 3C A0 80 3E */ lis r5, lbl_803E077C@ha +/* 80126020 00122F80 38 C1 00 08 */ addi r6, r1, 8 +/* 80126024 00122F84 39 45 07 7C */ addi r10, r5, lbl_803E077C@l +/* 80126028 00122F88 38 A0 00 07 */ li r5, 7 +/* 8012602C 00122F8C 81 2A 00 00 */ lwz r9, 0(r10) +/* 80126030 00122F90 38 E0 00 01 */ li r7, 1 +/* 80126034 00122F94 81 0A 00 04 */ lwz r8, 4(r10) +/* 80126038 00122F98 80 0A 00 08 */ lwz r0, 8(r10) +/* 8012603C 00122F9C 91 21 00 08 */ stw r9, 8(r1) +/* 80126040 00122FA0 91 01 00 0C */ stw r8, 0xc(r1) +/* 80126044 00122FA4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80126048 00122FA8 4B F5 67 6D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 8012604C 00122FAC 80 BF 04 50 */ lwz r5, 0x450(r31) +/* 80126050 00122FB0 7F E3 FB 78 */ mr r3, r31 +/* 80126054 00122FB4 C0 1F 06 48 */ lfs f0, 0x648(r31) +/* 80126058 00122FB8 7F C4 F3 78 */ mr r4, r30 +/* 8012605C 00122FBC D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 80126060 00122FC0 C0 1F 06 4C */ lfs f0, 0x64c(r31) +/* 80126064 00122FC4 D0 05 00 20 */ stfs f0, 0x20(r5) +/* 80126068 00122FC8 C0 1F 06 50 */ lfs f0, 0x650(r31) +/* 8012606C 00122FCC D0 05 00 24 */ stfs f0, 0x24(r5) +/* 80126070 00122FD0 48 00 24 C1 */ bl CheckBlade__12CSpacePirateFR13CStateManager +/* 80126074 00122FD4 88 1F 06 35 */ lbz r0, 0x635(r31) +/* 80126078 00122FD8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8012607C 00122FDC 41 82 00 2C */ beq lbl_801260A8 +/* 80126080 00122FE0 80 1F 03 2C */ lwz r0, 0x32c(r31) +/* 80126084 00122FE4 2C 00 00 03 */ cmpwi r0, 3 +/* 80126088 00122FE8 40 82 00 10 */ bne lbl_80126098 +/* 8012608C 00122FEC C0 02 97 D4 */ lfs f0, lbl_805AB4F4@sda21(r2) +/* 80126090 00122FF0 D0 1F 03 E8 */ stfs f0, 0x3e8(r31) +/* 80126094 00122FF4 48 00 00 14 */ b lbl_801260A8 +lbl_80126098: +/* 80126098 00122FF8 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) +/* 8012609C 00122FFC C0 02 98 48 */ lfs f0, lbl_805AB568@sda21(r2) +/* 801260A0 00123000 D0 3F 03 E8 */ stfs f1, 0x3e8(r31) +/* 801260A4 00123004 D0 1F 08 BC */ stfs f0, 0x8bc(r31) +lbl_801260A8: +/* 801260A8 00123008 7F E3 FB 78 */ mr r3, r31 +/* 801260AC 0012300C 7F C4 F3 78 */ mr r4, r30 +/* 801260B0 00123010 48 00 2E ED */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager +/* 801260B4 00123014 FC 20 F8 90 */ fmr f1, f31 +/* 801260B8 00123018 7F E3 FB 78 */ mr r3, r31 +/* 801260BC 0012301C 7F C4 F3 78 */ mr r4, r30 +/* 801260C0 00123020 48 00 2E 21 */ bl UpdateHeldPosition__12CSpacePirateFR13CStateManagerf +/* 801260C4 00123024 48 00 00 24 */ b lbl_801260E8 +lbl_801260C8: +/* 801260C8 00123028 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 801260CC 0012302C 38 60 00 00 */ li r3, 0 +/* 801260D0 00123030 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 801260D4 00123034 98 1F 06 36 */ stb r0, 0x636(r31) +/* 801260D8 00123038 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 801260DC 0012303C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 801260E0 00123040 98 1F 06 36 */ stb r0, 0x636(r31) +/* 801260E4 00123044 90 7F 03 2C */ stw r3, 0x32c(r31) +lbl_801260E8: +/* 801260E8 00123048 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 801260EC 0012304C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 801260F0 00123050 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 801260F4 00123054 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 801260F8 00123058 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 801260FC 0012305C 7C 08 03 A6 */ mtlr r0 +/* 80126100 00123060 38 21 00 90 */ addi r1, r1, 0x90 +/* 80126104 00123064 4E 80 00 20 */ blr + +.global Enraged__12CSpacePirateFR13CStateManager9EStateMsgf +Enraged__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80126108 00123068 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012610C 0012306C 7C 08 02 A6 */ mflr r0 +/* 80126110 00123070 2C 05 00 00 */ cmpwi r5, 0 +/* 80126114 00123074 90 01 00 14 */ stw r0, 0x14(r1) +/* 80126118 00123078 41 82 00 08 */ beq lbl_80126120 +/* 8012611C 0012307C 48 00 00 34 */ b lbl_80126150 +lbl_80126120: +/* 80126120 00123080 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 80126124 00123084 38 00 00 0A */ li r0, 0xa +/* 80126128 00123088 38 A4 AA 68 */ addi r5, r4, lbl_803DAA68@l +/* 8012612C 0012308C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80126130 00123090 38 81 00 08 */ addi r4, r1, 8 +/* 80126134 00123094 90 A1 00 08 */ stw r5, 8(r1) +/* 80126138 00123098 80 63 04 50 */ lwz r3, 0x450(r3) +/* 8012613C 0012309C 38 63 00 04 */ addi r3, r3, 4 +/* 80126140 001230A0 48 00 B6 79 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 80126144 001230A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80126148 001230A8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8012614C 001230AC 90 01 00 08 */ stw r0, 8(r1) +lbl_80126150: +/* 80126150 001230B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80126154 001230B4 7C 08 03 A6 */ mtlr r0 +/* 80126158 001230B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012615C 001230BC 4E 80 00 20 */ blr + +.global CoverAttack__12CSpacePirateFR13CStateManager9EStateMsgf +CoverAttack__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80126160 001230C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80126164 001230C4 7C 08 02 A6 */ mflr r0 +/* 80126168 001230C8 2C 05 00 01 */ cmpwi r5, 1 +/* 8012616C 001230CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80126170 001230D0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80126174 001230D4 7C 7F 1B 78 */ mr r31, r3 +/* 80126178 001230D8 41 82 00 6C */ beq lbl_801261E4 +/* 8012617C 001230DC 40 80 00 10 */ bge lbl_8012618C +/* 80126180 001230E0 2C 05 00 00 */ cmpwi r5, 0 +/* 80126184 001230E4 40 80 00 14 */ bge lbl_80126198 +/* 80126188 001230E8 48 00 00 74 */ b lbl_801261FC +lbl_8012618C: +/* 8012618C 001230EC 2C 05 00 03 */ cmpwi r5, 3 +/* 80126190 001230F0 40 80 00 6C */ bge lbl_801261FC +/* 80126194 001230F4 48 00 00 58 */ b lbl_801261EC +lbl_80126198: +/* 80126198 001230F8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8012619C 001230FC 38 00 00 0B */ li r0, 0xb +/* 801261A0 00123100 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 801261A4 00123104 90 01 00 0C */ stw r0, 0xc(r1) +/* 801261A8 00123108 38 81 00 08 */ addi r4, r1, 8 +/* 801261AC 0012310C 90 61 00 08 */ stw r3, 8(r1) +/* 801261B0 00123110 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 801261B4 00123114 38 63 00 04 */ addi r3, r3, 4 +/* 801261B8 00123118 48 00 B6 01 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 801261BC 0012311C 34 01 00 08 */ addic. r0, r1, 8 +/* 801261C0 00123120 41 82 00 10 */ beq lbl_801261D0 +/* 801261C4 00123124 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801261C8 00123128 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801261CC 0012312C 90 01 00 08 */ stw r0, 8(r1) +lbl_801261D0: +/* 801261D0 00123130 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 801261D4 00123134 38 60 00 01 */ li r3, 1 +/* 801261D8 00123138 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 801261DC 0012313C 98 1F 06 36 */ stb r0, 0x636(r31) +/* 801261E0 00123140 48 00 00 1C */ b lbl_801261FC +lbl_801261E4: +/* 801261E4 00123144 48 00 2D B9 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager +/* 801261E8 00123148 48 00 00 14 */ b lbl_801261FC +lbl_801261EC: +/* 801261EC 0012314C 88 1F 06 36 */ lbz r0, 0x636(r31) +/* 801261F0 00123150 38 60 00 00 */ li r3, 0 +/* 801261F4 00123154 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 801261F8 00123158 98 1F 06 36 */ stb r0, 0x636(r31) +lbl_801261FC: +/* 801261FC 0012315C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80126200 00123160 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80126204 00123164 7C 08 03 A6 */ mtlr r0 +/* 80126208 00123168 38 21 00 20 */ addi r1, r1, 0x20 +/* 8012620C 0012316C 4E 80 00 20 */ blr + +.global Cover__12CSpacePirateFR13CStateManager9EStateMsgf +Cover__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80126210 00123170 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80126214 00123174 7C 08 02 A6 */ mflr r0 +/* 80126218 00123178 2C 05 00 01 */ cmpwi r5, 1 +/* 8012621C 0012317C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80126220 00123180 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80126224 00123184 7C 7F 1B 78 */ mr r31, r3 +/* 80126228 00123188 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8012622C 0012318C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 80126230 00123190 7C 9D 23 78 */ mr r29, r4 +/* 80126234 00123194 41 82 00 B0 */ beq lbl_801262E4 +/* 80126238 00123198 40 80 00 10 */ bge lbl_80126248 +/* 8012623C 0012319C 2C 05 00 00 */ cmpwi r5, 0 +/* 80126240 001231A0 40 80 00 14 */ bge lbl_80126254 +/* 80126244 001231A4 48 00 01 30 */ b lbl_80126374 +lbl_80126248: +/* 80126248 001231A8 2C 05 00 03 */ cmpwi r5, 3 +/* 8012624C 001231AC 40 80 01 28 */ bge lbl_80126374 +/* 80126250 001231B0 48 00 01 1C */ b lbl_8012636C +lbl_80126254: +/* 80126254 001231B4 80 BF 04 50 */ lwz r5, 0x450(r31) +/* 80126258 001231B8 80 05 02 B8 */ lwz r0, 0x2b8(r5) +/* 8012625C 001231BC 2C 00 00 13 */ cmpwi r0, 0x13 +/* 80126260 001231C0 41 82 01 14 */ beq lbl_80126374 +/* 80126264 001231C4 A0 1F 06 40 */ lhz r0, 0x640(r31) +/* 80126268 001231C8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8012626C 001231CC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80126270 001231D0 4B F5 66 3D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80126274 001231D4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80126278 001231D8 41 82 00 FC */ beq lbl_80126374 +/* 8012627C 001231DC 48 00 73 A9 */ bl GetAttackDirection__17CScriptCoverPointCFv +/* 80126280 001231E0 54 60 FF FE */ rlwinm r0, r3, 0x1f, 0x1f, 0x1f +/* 80126284 001231E4 3C 60 80 3E */ lis r3, lbl_803E0764@ha +/* 80126288 001231E8 90 1F 07 9C */ stw r0, 0x79c(r31) +/* 8012628C 001231EC 38 00 00 01 */ li r0, 1 +/* 80126290 001231F0 39 23 07 64 */ addi r9, r3, lbl_803E0764@l +/* 80126294 001231F4 7F E3 FB 78 */ mr r3, r31 +/* 80126298 001231F8 90 1F 03 2C */ stw r0, 0x32c(r31) +/* 8012629C 001231FC 7F A4 EB 78 */ mr r4, r29 +/* 801262A0 00123200 38 C1 00 1C */ addi r6, r1, 0x1c +/* 801262A4 00123204 38 A0 00 13 */ li r5, 0x13 +/* 801262A8 00123208 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 801262AC 0012320C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 801262B0 00123210 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 801262B4 00123214 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) +/* 801262B8 00123218 D0 3F 02 E4 */ stfs f1, 0x2e4(r31) +/* 801262BC 0012321C D0 5F 02 E8 */ stfs f2, 0x2e8(r31) +/* 801262C0 00123220 81 09 00 00 */ lwz r8, 0(r9) +/* 801262C4 00123224 80 E9 00 04 */ lwz r7, 4(r9) +/* 801262C8 00123228 80 09 00 08 */ lwz r0, 8(r9) +/* 801262CC 0012322C 91 01 00 1C */ stw r8, 0x1c(r1) +/* 801262D0 00123230 90 E1 00 20 */ stw r7, 0x20(r1) +/* 801262D4 00123234 90 01 00 24 */ stw r0, 0x24(r1) +/* 801262D8 00123238 80 FF 07 9C */ lwz r7, 0x79c(r31) +/* 801262DC 0012323C 4B F5 64 D9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 801262E0 00123240 48 00 00 94 */ b lbl_80126374 +lbl_801262E4: +/* 801262E4 00123244 3C A0 80 3E */ lis r5, lbl_803E0770@ha +/* 801262E8 00123248 38 C1 00 10 */ addi r6, r1, 0x10 +/* 801262EC 0012324C 39 25 07 70 */ addi r9, r5, lbl_803E0770@l +/* 801262F0 00123250 38 A0 00 13 */ li r5, 0x13 +/* 801262F4 00123254 81 09 00 00 */ lwz r8, 0(r9) +/* 801262F8 00123258 80 E9 00 04 */ lwz r7, 4(r9) +/* 801262FC 0012325C 80 09 00 08 */ lwz r0, 8(r9) +/* 80126300 00123260 91 01 00 10 */ stw r8, 0x10(r1) +/* 80126304 00123264 90 E1 00 14 */ stw r7, 0x14(r1) +/* 80126308 00123268 90 01 00 18 */ stw r0, 0x18(r1) +/* 8012630C 0012326C 80 FF 07 9C */ lwz r7, 0x79c(r31) +/* 80126310 00123270 4B F5 64 A5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80126314 00123274 A0 1F 06 40 */ lhz r0, 0x640(r31) +/* 80126318 00123278 7F E3 FB 78 */ mr r3, r31 +/* 8012631C 0012327C 7F A4 EB 78 */ mr r4, r29 +/* 80126320 00123280 38 A1 00 08 */ addi r5, r1, 8 +/* 80126324 00123284 B0 01 00 08 */ sth r0, 8(r1) +/* 80126328 00123288 4B F5 65 85 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 8012632C 0012328C 28 03 00 00 */ cmplwi r3, 0 +/* 80126330 00123290 41 82 00 2C */ beq lbl_8012635C +/* 80126334 00123294 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 80126338 00123298 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 8012633C 0012329C FC 00 00 50 */ fneg f0, f0 +/* 80126340 001232A0 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 80126344 001232A4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80126348 001232A8 FC 20 08 50 */ fneg f1, f1 +/* 8012634C 001232AC FC 40 10 50 */ fneg f2, f2 +/* 80126350 001232B0 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80126354 001232B4 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 80126358 001232B8 D0 43 00 24 */ stfs f2, 0x24(r3) +lbl_8012635C: +/* 8012635C 001232BC 7F E3 FB 78 */ mr r3, r31 +/* 80126360 001232C0 7F A4 EB 78 */ mr r4, r29 +/* 80126364 001232C4 48 00 2C 39 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager +/* 80126368 001232C8 48 00 00 0C */ b lbl_80126374 +lbl_8012636C: +/* 8012636C 001232CC 38 00 00 00 */ li r0, 0 +/* 80126370 001232D0 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_80126374: +/* 80126374 001232D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80126378 001232D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8012637C 001232DC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80126380 001232E0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80126384 001232E4 7C 08 03 A6 */ mtlr r0 +/* 80126388 001232E8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8012638C 001232EC 4E 80 00 20 */ blr + +.global ShouldAttack__12CSpacePirateFR13CStateManagerf +ShouldAttack__12CSpacePirateFR13CStateManagerf: +/* 80126390 001232F0 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80126394 001232F4 7C 08 02 A6 */ mflr r0 +/* 80126398 001232F8 90 01 00 94 */ stw r0, 0x94(r1) +/* 8012639C 001232FC DB E1 00 80 */ stfd f31, 0x80(r1) +/* 801263A0 00123300 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 801263A4 00123304 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 801263A8 00123308 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 801263AC 0012330C DB A1 00 60 */ stfd f29, 0x60(r1) +/* 801263B0 00123310 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 801263B4 00123314 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 801263B8 00123318 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 801263BC 0012331C BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 801263C0 00123320 7C 9B 23 78 */ mr r27, r4 +/* 801263C4 00123324 7C 7F 1B 78 */ mr r31, r3 +/* 801263C8 00123328 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 801263CC 0012332C 3B A0 00 01 */ li r29, 1 +/* 801263D0 00123330 A0 9F 07 C0 */ lhz r4, 0x7c0(r31) +/* 801263D4 00123334 A0 03 00 08 */ lhz r0, 8(r3) +/* 801263D8 00123338 7C 04 00 40 */ cmplw r4, r0 +/* 801263DC 0012333C 40 82 01 30 */ bne lbl_8012650C +/* 801263E0 00123340 7F E4 FB 78 */ mr r4, r31 +/* 801263E4 00123344 7F 65 DB 78 */ mr r5, r27 +/* 801263E8 00123348 38 61 00 24 */ addi r3, r1, 0x24 +/* 801263EC 0012334C 48 00 20 59 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 801263F0 00123350 C3 A1 00 24 */ lfs f29, 0x24(r1) +/* 801263F4 00123354 3B 80 00 00 */ li r28, 0 +/* 801263F8 00123358 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 801263FC 0012335C C3 E1 00 28 */ lfs f31, 0x28(r1) +/* 80126400 00123360 EC 40 E8 28 */ fsubs f2, f0, f29 +/* 80126404 00123364 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80126408 00123368 83 DB 08 38 */ lwz r30, 0x838(r27) +/* 8012640C 0012336C EC 80 F8 28 */ fsubs f4, f0, f31 +/* 80126410 00123370 C3 C1 00 2C */ lfs f30, 0x2c(r1) +/* 80126414 00123374 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 80126418 00123378 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 8012641C 0012337C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80126420 00123380 EC 60 F0 28 */ fsubs f3, f0, f30 +/* 80126424 00123384 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80126428 00123388 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8012642C 0012338C AB 7E 20 08 */ lha r27, 0x2008(r30) +/* 80126430 00123390 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 80126434 00123394 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 80126438 00123398 EC 01 00 2A */ fadds f0, f1, f0 +/* 8012643C 0012339C EF 82 00 2A */ fadds f28, f2, f0 +/* 80126440 001233A0 48 00 00 C4 */ b lbl_80126504 +lbl_80126444: +/* 80126444 001233A4 7F C3 F3 78 */ mr r3, r30 +/* 80126448 001233A8 7F 64 DB 78 */ mr r4, r27 +/* 8012644C 001233AC 4B EE 98 91 */ bl __vc__11CObjectListCFi +/* 80126450 001233B0 7C 64 1B 78 */ mr r4, r3 +/* 80126454 001233B4 38 61 00 08 */ addi r3, r1, 8 +/* 80126458 001233B8 4B F7 EF 79 */ bl sub_800a53d0 +/* 8012645C 001233BC 4B F7 EF 49 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" +/* 80126460 001233C0 28 03 00 00 */ cmplwi r3, 0 +/* 80126464 001233C4 41 82 00 84 */ beq lbl_801264E8 +/* 80126468 001233C8 7C 03 F8 40 */ cmplw r3, r31 +/* 8012646C 001233CC 41 82 00 7C */ beq lbl_801264E8 +/* 80126470 001233D0 88 03 06 36 */ lbz r0, 0x636(r3) +/* 80126474 001233D4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80126478 001233D8 41 82 00 70 */ beq lbl_801264E8 +/* 8012647C 001233DC 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80126480 001233E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80126484 001233E4 41 82 00 64 */ beq lbl_801264E8 +/* 80126488 001233E8 80 83 00 04 */ lwz r4, 4(r3) +/* 8012648C 001233EC 80 1F 00 04 */ lwz r0, 4(r31) +/* 80126490 001233F0 7C 04 00 00 */ cmpw r4, r0 +/* 80126494 001233F4 40 82 00 54 */ bne lbl_801264E8 +/* 80126498 001233F8 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8012649C 001233FC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 801264A0 00123400 EC 41 F8 28 */ fsubs f2, f1, f31 +/* 801264A4 00123404 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 801264A8 00123408 EC 60 E8 28 */ fsubs f3, f0, f29 +/* 801264AC 0012340C EC 81 F0 28 */ fsubs f4, f1, f30 +/* 801264B0 00123410 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 801264B4 00123414 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 801264B8 00123418 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 801264BC 0012341C EC 44 01 32 */ fmuls f2, f4, f4 +/* 801264C0 00123420 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 801264C4 00123424 EC 01 00 2A */ fadds f0, f1, f0 +/* 801264C8 00123428 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 801264CC 0012342C EC 02 00 2A */ fadds f0, f2, f0 +/* 801264D0 00123430 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 801264D4 00123434 40 80 00 14 */ bge lbl_801264E8 +/* 801264D8 00123438 3B 9C 00 01 */ addi r28, r28, 1 +/* 801264DC 0012343C 2C 1C 00 03 */ cmpwi r28, 3 +/* 801264E0 00123440 40 81 00 08 */ ble lbl_801264E8 +/* 801264E4 00123444 3B A0 00 00 */ li r29, 0 +lbl_801264E8: +/* 801264E8 00123448 2C 1B FF FF */ cmpwi r27, -1 +/* 801264EC 0012344C 41 82 00 14 */ beq lbl_80126500 +/* 801264F0 00123450 57 63 18 38 */ slwi r3, r27, 3 +/* 801264F4 00123454 38 03 00 08 */ addi r0, r3, 8 +/* 801264F8 00123458 7F 7E 02 AE */ lhax r27, r30, r0 +/* 801264FC 0012345C 48 00 00 08 */ b lbl_80126504 +lbl_80126500: +/* 80126500 00123460 3B 60 FF FF */ li r27, -1 +lbl_80126504: +/* 80126504 00123464 2C 1B FF FF */ cmpwi r27, -1 +/* 80126508 00123468 40 82 FF 3C */ bne lbl_80126444 +lbl_8012650C: +/* 8012650C 0012346C 7F A3 EB 78 */ mr r3, r29 +/* 80126510 00123470 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80126514 00123474 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80126518 00123478 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 8012651C 0012347C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80126520 00123480 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80126524 00123484 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80126528 00123488 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 8012652C 0012348C CB 81 00 50 */ lfd f28, 0x50(r1) +/* 80126530 00123490 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80126534 00123494 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80126538 00123498 7C 08 03 A6 */ mtlr r0 +/* 8012653C 0012349C 38 21 00 90 */ addi r1, r1, 0x90 +/* 80126540 001234A0 4E 80 00 20 */ blr + +.global CoveringFire__12CSpacePirateFR13CStateManagerf +CoveringFire__12CSpacePirateFR13CStateManagerf: +/* 80126544 001234A4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80126548 001234A8 7C 08 02 A6 */ mflr r0 +/* 8012654C 001234AC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80126550 001234B0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80126554 001234B4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80126558 001234B8 3B C0 00 00 */ li r30, 0 +/* 8012655C 001234BC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80126560 001234C0 93 81 00 10 */ stw r28, 0x10(r1) +/* 80126564 001234C4 7C 7C 1B 78 */ mr r28, r3 +/* 80126568 001234C8 83 E4 08 38 */ lwz r31, 0x838(r4) +/* 8012656C 001234CC AB BF 20 08 */ lha r29, 0x2008(r31) +/* 80126570 001234D0 48 00 00 6C */ b lbl_801265DC +lbl_80126574: +/* 80126574 001234D4 7F E3 FB 78 */ mr r3, r31 +/* 80126578 001234D8 7F A4 EB 78 */ mr r4, r29 +/* 8012657C 001234DC 4B EE 97 61 */ bl __vc__11CObjectListCFi +/* 80126580 001234E0 7C 64 1B 78 */ mr r4, r3 +/* 80126584 001234E4 38 61 00 08 */ addi r3, r1, 8 +/* 80126588 001234E8 4B F7 EE 49 */ bl sub_800a53d0 +/* 8012658C 001234EC 4B F7 EE 19 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" +/* 80126590 001234F0 28 03 00 00 */ cmplwi r3, 0 +/* 80126594 001234F4 41 82 00 2C */ beq lbl_801265C0 +/* 80126598 001234F8 7C 03 E0 40 */ cmplw r3, r28 +/* 8012659C 001234FC 41 82 00 24 */ beq lbl_801265C0 +/* 801265A0 00123500 88 03 06 36 */ lbz r0, 0x636(r3) +/* 801265A4 00123504 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 801265A8 00123508 41 82 00 18 */ beq lbl_801265C0 +/* 801265AC 0012350C 80 63 00 04 */ lwz r3, 4(r3) +/* 801265B0 00123510 80 1C 00 04 */ lwz r0, 4(r28) +/* 801265B4 00123514 7C 03 00 00 */ cmpw r3, r0 +/* 801265B8 00123518 40 82 00 08 */ bne lbl_801265C0 +/* 801265BC 0012351C 3B C0 00 01 */ li r30, 1 +lbl_801265C0: +/* 801265C0 00123520 2C 1D FF FF */ cmpwi r29, -1 +/* 801265C4 00123524 41 82 00 14 */ beq lbl_801265D8 +/* 801265C8 00123528 57 A3 18 38 */ slwi r3, r29, 3 +/* 801265CC 0012352C 38 03 00 08 */ addi r0, r3, 8 +/* 801265D0 00123530 7F BF 02 AE */ lhax r29, r31, r0 +/* 801265D4 00123534 48 00 00 08 */ b lbl_801265DC +lbl_801265D8: +/* 801265D8 00123538 3B A0 FF FF */ li r29, -1 +lbl_801265DC: +/* 801265DC 0012353C 2C 1D FF FF */ cmpwi r29, -1 +/* 801265E0 00123540 40 82 FF 94 */ bne lbl_80126574 +/* 801265E4 00123544 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801265E8 00123548 7F C3 F3 78 */ mr r3, r30 +/* 801265EC 0012354C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801265F0 00123550 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801265F4 00123554 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 801265F8 00123558 83 81 00 10 */ lwz r28, 0x10(r1) +/* 801265FC 0012355C 7C 08 03 A6 */ mtlr r0 +/* 80126600 00123560 38 21 00 20 */ addi r1, r1, 0x20 +/* 80126604 00123564 4E 80 00 20 */ blr + +.global CoverNearlyBlown__12CSpacePirateFR13CStateManagerf +CoverNearlyBlown__12CSpacePirateFR13CStateManagerf: +/* 80126608 00123568 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8012660C 0012356C 7C 08 02 A6 */ mflr r0 +/* 80126610 00123570 90 01 00 24 */ stw r0, 0x24(r1) +/* 80126614 00123574 38 A1 00 08 */ addi r5, r1, 8 +/* 80126618 00123578 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8012661C 0012357C 3B E0 00 01 */ li r31, 1 +/* 80126620 00123580 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80126624 00123584 7C 9E 23 78 */ mr r30, r4 +/* 80126628 00123588 A0 03 06 40 */ lhz r0, 0x640(r3) +/* 8012662C 0012358C B0 01 00 08 */ sth r0, 8(r1) +/* 80126630 00123590 4B F5 62 7D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80126634 00123594 28 03 00 00 */ cmplwi r3, 0 +/* 80126638 00123598 41 82 00 54 */ beq lbl_8012668C +/* 8012663C 0012359C 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 80126640 001235A0 38 81 00 0C */ addi r4, r1, 0xc +/* 80126644 001235A4 C0 A2 97 D8 */ lfs f5, lbl_805AB4F8@sda21(r2) +/* 80126648 001235A8 C0 45 01 3C */ lfs f2, 0x13c(r5) +/* 8012664C 001235AC C0 25 01 40 */ lfs f1, 0x140(r5) +/* 80126650 001235B0 C0 05 01 38 */ lfs f0, 0x138(r5) +/* 80126654 001235B4 EC 85 00 B2 */ fmuls f4, f5, f2 +/* 80126658 001235B8 C0 C5 00 50 */ lfs f6, 0x50(r5) +/* 8012665C 001235BC EC 45 00 72 */ fmuls f2, f5, f1 +/* 80126660 001235C0 C0 65 00 60 */ lfs f3, 0x60(r5) +/* 80126664 001235C4 EC 05 00 32 */ fmuls f0, f5, f0 +/* 80126668 001235C8 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 8012666C 001235CC EC 86 20 2A */ fadds f4, f6, f4 +/* 80126670 001235D0 EC 43 10 2A */ fadds f2, f3, f2 +/* 80126674 001235D4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80126678 001235D8 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 8012667C 001235DC D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80126680 001235E0 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 80126684 001235E4 48 00 6D E1 */ bl Blown__17CScriptCoverPointCFRC9CVector3f +/* 80126688 001235E8 7C 7F 1B 78 */ mr r31, r3 +lbl_8012668C: +/* 8012668C 001235EC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80126690 001235F0 7F E3 FB 78 */ mr r3, r31 +/* 80126694 001235F4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80126698 001235F8 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8012669C 001235FC 7C 08 03 A6 */ mtlr r0 +/* 801266A0 00123600 38 21 00 20 */ addi r1, r1, 0x20 +/* 801266A4 00123604 4E 80 00 20 */ blr + +.global CoverBlown__12CSpacePirateFR13CStateManagerf +CoverBlown__12CSpacePirateFR13CStateManagerf: +/* 801266A8 00123608 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 801266AC 0012360C 7C 08 02 A6 */ mflr r0 +/* 801266B0 00123610 90 01 00 44 */ stw r0, 0x44(r1) +/* 801266B4 00123614 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 801266B8 00123618 93 C1 00 38 */ stw r30, 0x38(r1) +/* 801266BC 0012361C 3B C0 00 01 */ li r30, 1 +/* 801266C0 00123620 93 A1 00 34 */ stw r29, 0x34(r1) +/* 801266C4 00123624 7C 9D 23 78 */ mr r29, r4 +/* 801266C8 00123628 93 81 00 30 */ stw r28, 0x30(r1) +/* 801266CC 0012362C 7C 7C 1B 78 */ mr r28, r3 +/* 801266D0 00123630 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 801266D4 00123634 C0 03 02 FC */ lfs f0, 0x2fc(r3) +/* 801266D8 00123638 C0 45 00 50 */ lfs f2, 0x50(r5) +/* 801266DC 0012363C C0 23 00 50 */ lfs f1, 0x50(r3) +/* 801266E0 00123640 EC 00 00 32 */ fmuls f0, f0, f0 +/* 801266E4 00123644 C0 85 00 40 */ lfs f4, 0x40(r5) +/* 801266E8 00123648 EC A2 08 28 */ fsubs f5, f2, f1 +/* 801266EC 0012364C C0 23 00 40 */ lfs f1, 0x40(r3) +/* 801266F0 00123650 C0 65 00 60 */ lfs f3, 0x60(r5) +/* 801266F4 00123654 EC 84 08 28 */ fsubs f4, f4, f1 +/* 801266F8 00123658 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 801266FC 0012365C EC 25 01 72 */ fmuls f1, f5, f5 +/* 80126700 00123660 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80126704 00123664 EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 80126708 00123668 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8012670C 0012366C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80126710 00123670 40 81 00 CC */ ble lbl_801267DC +/* 80126714 00123674 A0 1C 06 40 */ lhz r0, 0x640(r28) +/* 80126718 00123678 38 A1 00 08 */ addi r5, r1, 8 +/* 8012671C 0012367C B0 01 00 08 */ sth r0, 8(r1) +/* 80126720 00123680 4B F5 61 8D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80126724 00123684 7C 7F 1B 79 */ or. r31, r3, r3 +/* 80126728 00123688 41 82 00 B4 */ beq lbl_801267DC +/* 8012672C 0012368C 80 BD 08 4C */ lwz r5, 0x84c(r29) +/* 80126730 00123690 38 81 00 18 */ addi r4, r1, 0x18 +/* 80126734 00123694 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 80126738 00123698 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8012673C 0012369C C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80126740 001236A0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80126744 001236A4 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80126748 001236A8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8012674C 001236AC 48 00 6D 19 */ bl Blown__17CScriptCoverPointCFRC9CVector3f +/* 80126750 001236B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80126754 001236B4 7C 7E 1B 78 */ mr r30, r3 +/* 80126758 001236B8 40 82 00 84 */ bne lbl_801267DC +/* 8012675C 001236BC C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80126760 001236C0 C0 1C 06 44 */ lfs f0, 0x644(r28) +/* 80126764 001236C4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80126768 001236C8 40 82 00 74 */ bne lbl_801267DC +/* 8012676C 001236CC 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 80126770 001236D0 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80126774 001236D4 2C 00 00 03 */ cmpwi r0, 3 +/* 80126778 001236D8 41 82 00 64 */ beq lbl_801267DC +/* 8012677C 001236DC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 80126780 001236E0 C0 1C 00 50 */ lfs f0, 0x50(r28) +/* 80126784 001236E4 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 80126788 001236E8 EC 41 00 28 */ fsubs f2, f1, f0 +/* 8012678C 001236EC C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80126790 001236F0 C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80126794 001236F4 C0 63 00 04 */ lfs f3, 4(r3) +/* 80126798 001236F8 EC C1 00 28 */ fsubs f6, f1, f0 +/* 8012679C 001236FC C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 801267A0 00123700 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 801267A4 00123704 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 801267A8 00123708 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) +/* 801267AC 0012370C EC A4 10 28 */ fsubs f5, f4, f2 +/* 801267B0 00123710 EC 26 09 BA */ fmadds f1, f6, f6, f1 +/* 801267B4 00123714 C0 83 00 00 */ lfs f4, 0(r3) +/* 801267B8 00123718 EC 00 00 F2 */ fmuls f0, f0, f3 +/* 801267BC 0012371C C0 43 00 08 */ lfs f2, 8(r3) +/* 801267C0 00123720 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 801267C4 00123724 EC 25 09 7A */ fmadds f1, f5, f5, f1 +/* 801267C8 00123728 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 801267CC 0012372C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801267D0 00123730 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 801267D4 00123734 40 81 00 08 */ ble lbl_801267DC +/* 801267D8 00123738 3B C0 00 01 */ li r30, 1 +lbl_801267DC: +/* 801267DC 0012373C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 801267E0 00123740 7F C3 F3 78 */ mr r3, r30 +/* 801267E4 00123744 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 801267E8 00123748 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 801267EC 0012374C 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 801267F0 00123750 83 81 00 30 */ lwz r28, 0x30(r1) +/* 801267F4 00123754 7C 08 03 A6 */ mtlr r0 +/* 801267F8 00123758 38 21 00 40 */ addi r1, r1, 0x40 +/* 801267FC 0012375C 4E 80 00 20 */ blr + +.global CoverFind__12CSpacePirateFR13CStateManagerf +CoverFind__12CSpacePirateFR13CStateManagerf: +/* 80126800 00123760 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80126804 00123764 7C 08 02 A6 */ mflr r0 +/* 80126808 00123768 90 01 00 94 */ stw r0, 0x94(r1) +/* 8012680C 0012376C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80126810 00123770 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80126814 00123774 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80126818 00123778 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8012681C 0012377C BF 21 00 54 */ stmw r25, 0x54(r1) +/* 80126820 00123780 C0 03 05 70 */ lfs f0, 0x570(r3) +/* 80126824 00123784 7C 7A 1B 78 */ mr r26, r3 +/* 80126828 00123788 83 E4 08 40 */ lwz r31, 0x840(r4) +/* 8012682C 0012378C 7C 9B 23 78 */ mr r27, r4 +/* 80126830 00123790 EF C0 00 32 */ fmuls f30, f0, f0 +/* 80126834 00123794 3B C0 00 00 */ li r30, 0 +/* 80126838 00123798 AB 9F 20 08 */ lha r28, 0x2008(r31) +/* 8012683C 0012379C 3B A0 00 00 */ li r29, 0 +/* 80126840 001237A0 48 00 01 30 */ b lbl_80126970 +lbl_80126844: +/* 80126844 001237A4 7F E3 FB 78 */ mr r3, r31 +/* 80126848 001237A8 7F 84 E3 78 */ mr r4, r28 +/* 8012684C 001237AC 4B EE 94 91 */ bl __vc__11CObjectListCFi +/* 80126850 001237B0 7C 64 1B 78 */ mr r4, r3 +/* 80126854 001237B4 38 61 00 18 */ addi r3, r1, 0x18 +/* 80126858 001237B8 4B F8 41 D5 */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" +/* 8012685C 001237BC 83 23 00 04 */ lwz r25, 4(r3) +/* 80126860 001237C0 28 19 00 00 */ cmplwi r25, 0 +/* 80126864 001237C4 41 82 00 F0 */ beq lbl_80126954 +/* 80126868 001237C8 88 19 00 30 */ lbz r0, 0x30(r25) +/* 8012686C 001237CC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80126870 001237D0 41 82 00 E4 */ beq lbl_80126954 +/* 80126874 001237D4 7F 23 CB 78 */ mr r3, r25 +/* 80126878 001237D8 48 00 6D 7D */ bl ShouldLandHere__17CScriptCoverPointCFv +/* 8012687C 001237DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80126880 001237E0 40 82 00 D4 */ bne lbl_80126954 +/* 80126884 001237E4 A0 1A 00 08 */ lhz r0, 8(r26) +/* 80126888 001237E8 7F 23 CB 78 */ mr r3, r25 +/* 8012688C 001237EC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80126890 001237F0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80126894 001237F4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80126898 001237F8 48 00 6B 7D */ bl GetInUse__17CScriptCoverPointCF9TUniqueId +/* 8012689C 001237FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801268A0 00123800 40 82 00 B4 */ bne lbl_80126954 +/* 801268A4 00123804 80 79 00 04 */ lwz r3, 4(r25) +/* 801268A8 00123808 80 1A 00 04 */ lwz r0, 4(r26) +/* 801268AC 0012380C 7C 03 00 00 */ cmpw r3, r0 +/* 801268B0 00123810 40 82 00 A4 */ bne lbl_80126954 +/* 801268B4 00123814 A0 79 00 08 */ lhz r3, 8(r25) +/* 801268B8 00123818 A0 1A 06 42 */ lhz r0, 0x642(r26) +/* 801268BC 0012381C 7C 03 00 40 */ cmplw r3, r0 +/* 801268C0 00123820 41 82 00 94 */ beq lbl_80126954 +/* 801268C4 00123824 C0 DA 00 50 */ lfs f6, 0x50(r26) +/* 801268C8 00123828 C0 19 00 50 */ lfs f0, 0x50(r25) +/* 801268CC 0012382C C0 3A 00 40 */ lfs f1, 0x40(r26) +/* 801268D0 00123830 EC A6 00 28 */ fsubs f5, f6, f0 +/* 801268D4 00123834 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 801268D8 00123838 C0 FA 00 60 */ lfs f7, 0x60(r26) +/* 801268DC 0012383C EC 61 00 28 */ fsubs f3, f1, f0 +/* 801268E0 00123840 C0 59 00 60 */ lfs f2, 0x60(r25) +/* 801268E4 00123844 EC 05 01 72 */ fmuls f0, f5, f5 +/* 801268E8 00123848 EC 87 10 28 */ fsubs f4, f7, f2 +/* 801268EC 0012384C D0 21 00 34 */ stfs f1, 0x34(r1) +/* 801268F0 00123850 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 801268F4 00123854 D0 C1 00 38 */ stfs f6, 0x38(r1) +/* 801268F8 00123858 EC 44 01 32 */ fmuls f2, f4, f4 +/* 801268FC 0012385C EC 01 00 2A */ fadds f0, f1, f0 +/* 80126900 00123860 D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 80126904 00123864 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 80126908 00123868 EF E2 00 2A */ fadds f31, f2, f0 +/* 8012690C 0012386C D0 A1 00 44 */ stfs f5, 0x44(r1) +/* 80126910 00123870 FC 1F F0 40 */ fcmpo cr0, f31, f30 +/* 80126914 00123874 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80126918 00123878 40 80 00 3C */ bge lbl_80126954 +/* 8012691C 0012387C 80 BB 08 4C */ lwz r5, 0x84c(r27) +/* 80126920 00123880 7F 23 CB 78 */ mr r3, r25 +/* 80126924 00123884 38 81 00 28 */ addi r4, r1, 0x28 +/* 80126928 00123888 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 8012692C 0012388C C0 25 00 50 */ lfs f1, 0x50(r5) +/* 80126930 00123890 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 80126934 00123894 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80126938 00123898 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8012693C 0012389C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80126940 001238A0 48 00 6B 25 */ bl Blown__17CScriptCoverPointCFRC9CVector3f +/* 80126944 001238A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80126948 001238A8 40 82 00 0C */ bne lbl_80126954 +/* 8012694C 001238AC FF C0 F8 90 */ fmr f30, f31 +/* 80126950 001238B0 7F 3D CB 78 */ mr r29, r25 +lbl_80126954: +/* 80126954 001238B4 2C 1C FF FF */ cmpwi r28, -1 +/* 80126958 001238B8 41 82 00 14 */ beq lbl_8012696C +/* 8012695C 001238BC 57 83 18 38 */ slwi r3, r28, 3 +/* 80126960 001238C0 38 03 00 08 */ addi r0, r3, 8 +/* 80126964 001238C4 7F 9F 02 AE */ lhax r28, r31, r0 +/* 80126968 001238C8 48 00 00 08 */ b lbl_80126970 +lbl_8012696C: +/* 8012696C 001238CC 3B 80 FF FF */ li r28, -1 +lbl_80126970: +/* 80126970 001238D0 2C 1C FF FF */ cmpwi r28, -1 +/* 80126974 001238D4 40 82 FE D0 */ bne lbl_80126844 +/* 80126978 001238D8 28 1D 00 00 */ cmplwi r29, 0 +/* 8012697C 001238DC 41 82 00 88 */ beq lbl_80126A04 +/* 80126980 001238E0 7F 43 D3 78 */ mr r3, r26 +/* 80126984 001238E4 7F 64 DB 78 */ mr r4, r27 +/* 80126988 001238E8 38 BA 06 40 */ addi r5, r26, 0x640 +/* 8012698C 001238EC 4B F5 5E D1 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId +/* 80126990 001238F0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80126994 001238F4 7F 63 DB 78 */ mr r3, r27 +/* 80126998 001238F8 38 81 00 0C */ addi r4, r1, 0xc +/* 8012699C 001238FC B0 01 00 08 */ sth r0, 8(r1) +/* 801269A0 00123900 B0 01 00 0C */ sth r0, 0xc(r1) +/* 801269A4 00123904 4B F2 5B D1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 801269A8 00123908 7C 64 1B 78 */ mr r4, r3 +/* 801269AC 0012390C 38 61 00 20 */ addi r3, r1, 0x20 +/* 801269B0 00123910 4B F8 40 7D */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" +/* 801269B4 00123914 80 83 00 04 */ lwz r4, 4(r3) +/* 801269B8 00123918 28 04 00 00 */ cmplwi r4, 0 +/* 801269BC 0012391C 41 82 00 48 */ beq lbl_80126A04 +/* 801269C0 00123920 7F 43 D3 78 */ mr r3, r26 +/* 801269C4 00123924 38 BA 06 40 */ addi r5, r26, 0x640 +/* 801269C8 00123928 4B F5 5E 4D */ bl SetCoverPoint__10CPatternedFP17CScriptCoverPointR9TUniqueId +/* 801269CC 0012392C A0 7A 06 40 */ lhz r3, 0x640(r26) +/* 801269D0 00123930 38 00 00 00 */ li r0, 0 +/* 801269D4 00123934 3B C0 00 01 */ li r30, 1 +/* 801269D8 00123938 B0 7A 06 42 */ sth r3, 0x642(r26) +/* 801269DC 0012393C C0 1D 00 38 */ lfs f0, 0x38(r29) +/* 801269E0 00123940 C0 3D 00 48 */ lfs f1, 0x48(r29) +/* 801269E4 00123944 FC 00 00 50 */ fneg f0, f0 +/* 801269E8 00123948 C0 5D 00 58 */ lfs f2, 0x58(r29) +/* 801269EC 0012394C FC 20 08 50 */ fneg f1, f1 +/* 801269F0 00123950 FC 40 10 50 */ fneg f2, f2 +/* 801269F4 00123954 D0 1A 06 54 */ stfs f0, 0x654(r26) +/* 801269F8 00123958 D0 3A 06 58 */ stfs f1, 0x658(r26) +/* 801269FC 0012395C D0 5A 06 5C */ stfs f2, 0x65c(r26) +/* 80126A00 00123960 90 1A 03 0C */ stw r0, 0x30c(r26) +lbl_80126A04: +/* 80126A04 00123964 7F C3 F3 78 */ mr r3, r30 +/* 80126A08 00123968 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80126A0C 0012396C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80126A10 00123970 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 80126A14 00123974 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80126A18 00123978 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 80126A1C 0012397C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80126A20 00123980 7C 08 03 A6 */ mtlr r0 +/* 80126A24 00123984 38 21 00 90 */ addi r1, r1, 0x90 +/* 80126A28 00123988 4E 80 00 20 */ blr + +.global CoverCheck__12CSpacePirateFR13CStateManagerf +CoverCheck__12CSpacePirateFR13CStateManagerf: +/* 80126A2C 0012398C 88 03 06 38 */ lbz r0, 0x638(r3) +/* 80126A30 00123990 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 80126A34 00123994 4E 80 00 20 */ blr + +.global AggressionCheck__12CSpacePirateFR13CStateManagerf +AggressionCheck__12CSpacePirateFR13CStateManagerf: +/* 80126A38 00123998 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80126A3C 0012399C 7C 08 02 A6 */ mflr r0 +/* 80126A40 001239A0 90 01 00 44 */ stw r0, 0x44(r1) +/* 80126A44 001239A4 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 80126A48 001239A8 3B E0 00 00 */ li r31, 0 +/* 80126A4C 001239AC 88 03 06 34 */ lbz r0, 0x634(r3) +/* 80126A50 001239B0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80126A54 001239B4 40 82 01 20 */ bne lbl_80126B74 +/* 80126A58 001239B8 88 03 06 38 */ lbz r0, 0x638(r3) +/* 80126A5C 001239BC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80126A60 001239C0 41 82 00 0C */ beq lbl_80126A6C +/* 80126A64 001239C4 3B E0 00 01 */ li r31, 1 +/* 80126A68 001239C8 48 00 00 2C */ b lbl_80126A94 +lbl_80126A6C: +/* 80126A6C 001239CC 3C 80 80 57 */ lis r4, lbl_8056F85C@ha +/* 80126A70 001239D0 38 84 F8 5C */ addi r4, r4, lbl_8056F85C@l +/* 80126A74 001239D4 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80126A78 001239D8 2C 00 00 00 */ cmpwi r0, 0 +/* 80126A7C 001239DC 40 82 00 18 */ bne lbl_80126A94 +/* 80126A80 001239E0 C0 23 07 AC */ lfs f1, 0x7ac(r3) +/* 80126A84 001239E4 C0 02 98 20 */ lfs f0, lbl_805AB540@sda21(r2) +/* 80126A88 001239E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80126A8C 001239EC 40 81 00 08 */ ble lbl_80126A94 +/* 80126A90 001239F0 3B E0 00 01 */ li r31, 1 +lbl_80126A94: +/* 80126A94 001239F4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80126A98 001239F8 41 82 00 DC */ beq lbl_80126B74 +/* 80126A9C 001239FC 38 00 00 00 */ li r0, 0 +/* 80126AA0 00123A00 3C 80 80 57 */ lis r4, lbl_8056F85C@ha +/* 80126AA4 00123A04 90 03 03 0C */ stw r0, 0x30c(r3) +/* 80126AA8 00123A08 3B C4 F8 5C */ addi r30, r4, lbl_8056F85C@l +/* 80126AAC 00123A0C 83 9E 00 08 */ lwz r28, 8(r30) +/* 80126AB0 00123A10 80 1E 00 04 */ lwz r0, 4(r30) +/* 80126AB4 00123A14 93 81 00 08 */ stw r28, 8(r1) +/* 80126AB8 00123A18 A3 63 00 08 */ lhz r27, 8(r3) +/* 80126ABC 00123A1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80126AC0 00123A20 90 01 00 18 */ stw r0, 0x18(r1) +/* 80126AC4 00123A24 93 81 00 0C */ stw r28, 0xc(r1) +/* 80126AC8 00123A28 93 81 00 10 */ stw r28, 0x10(r1) +/* 80126ACC 00123A2C 48 00 00 10 */ b lbl_80126ADC +lbl_80126AD0: +/* 80126AD0 00123A30 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80126AD4 00123A34 80 03 00 04 */ lwz r0, 4(r3) +/* 80126AD8 00123A38 90 01 00 18 */ stw r0, 0x18(r1) +lbl_80126ADC: +/* 80126ADC 00123A3C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80126AE0 00123A40 7C 00 E0 40 */ cmplw r0, r28 +/* 80126AE4 00123A44 41 82 00 14 */ beq lbl_80126AF8 +/* 80126AE8 00123A48 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80126AEC 00123A4C A0 03 00 08 */ lhz r0, 8(r3) +/* 80126AF0 00123A50 7C 00 D8 40 */ cmplw r0, r27 +/* 80126AF4 00123A54 40 82 FF DC */ bne lbl_80126AD0 +lbl_80126AF8: +/* 80126AF8 00123A58 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80126AFC 00123A5C 80 01 00 08 */ lwz r0, 8(r1) +/* 80126B00 00123A60 7C 03 00 40 */ cmplw r3, r0 +/* 80126B04 00123A64 40 82 00 70 */ bne lbl_80126B74 +/* 80126B08 00123A68 3C 60 80 3D */ lis r3, lbl_803CFF70@ha +/* 80126B0C 00123A6C 83 BC 00 00 */ lwz r29, 0(r28) +/* 80126B10 00123A70 38 83 FF 70 */ addi r4, r3, lbl_803CFF70@l +/* 80126B14 00123A74 38 60 00 0A */ li r3, 0xa +/* 80126B18 00123A78 38 84 00 0A */ addi r4, r4, 0xa +/* 80126B1C 00123A7C 38 A0 00 00 */ li r5, 0 +/* 80126B20 00123A80 48 1E EC F9 */ bl __nwa__FUlPCcPCc +/* 80126B24 00123A84 28 03 00 00 */ cmplwi r3, 0 +/* 80126B28 00123A88 41 82 00 0C */ beq lbl_80126B34 +/* 80126B2C 00123A8C 93 A3 00 00 */ stw r29, 0(r3) +/* 80126B30 00123A90 93 83 00 04 */ stw r28, 4(r3) +lbl_80126B34: +/* 80126B34 00123A94 34 83 00 08 */ addic. r4, r3, 8 +/* 80126B38 00123A98 41 82 00 08 */ beq lbl_80126B40 +/* 80126B3C 00123A9C B3 64 00 00 */ sth r27, 0(r4) +lbl_80126B40: +/* 80126B40 00123AA0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80126B44 00123AA4 7C 1C 00 40 */ cmplw r28, r0 +/* 80126B48 00123AA8 40 82 00 08 */ bne lbl_80126B50 +/* 80126B4C 00123AAC 90 7E 00 04 */ stw r3, 4(r30) +lbl_80126B50: +/* 80126B50 00123AB0 80 A3 00 00 */ lwz r5, 0(r3) +/* 80126B54 00123AB4 3C 80 80 57 */ lis r4, lbl_8056F85C@ha +/* 80126B58 00123AB8 38 84 F8 5C */ addi r4, r4, lbl_8056F85C@l +/* 80126B5C 00123ABC 90 65 00 04 */ stw r3, 4(r5) +/* 80126B60 00123AC0 80 A3 00 04 */ lwz r5, 4(r3) +/* 80126B64 00123AC4 90 65 00 00 */ stw r3, 0(r5) +/* 80126B68 00123AC8 80 64 00 14 */ lwz r3, 0x14(r4) +/* 80126B6C 00123ACC 38 03 00 01 */ addi r0, r3, 1 +/* 80126B70 00123AD0 90 04 00 14 */ stw r0, 0x14(r4) +lbl_80126B74: +/* 80126B74 00123AD4 7F E3 FB 78 */ mr r3, r31 +/* 80126B78 00123AD8 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 80126B7C 00123ADC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80126B80 00123AE0 7C 08 03 A6 */ mtlr r0 +/* 80126B84 00123AE4 38 21 00 40 */ addi r1, r1, 0x40 +/* 80126B88 00123AE8 4E 80 00 20 */ blr + +.global Lurk__12CSpacePirateFR13CStateManager9EStateMsgf +Lurk__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80126B8C 00123AEC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80126B90 00123AF0 7C 08 02 A6 */ mflr r0 +/* 80126B94 00123AF4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80126B98 00123AF8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80126B9C 00123AFC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80126BA0 00123B00 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80126BA4 00123B04 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80126BA8 00123B08 FF E0 08 90 */ fmr f31, f1 +/* 80126BAC 00123B0C 2C 05 00 01 */ cmpwi r5, 1 +/* 80126BB0 00123B10 7C 7E 1B 78 */ mr r30, r3 +/* 80126BB4 00123B14 7C 9F 23 78 */ mr r31, r4 +/* 80126BB8 00123B18 41 82 01 34 */ beq lbl_80126CEC +/* 80126BBC 00123B1C 40 80 00 10 */ bge lbl_80126BCC +/* 80126BC0 00123B20 2C 05 00 00 */ cmpwi r5, 0 +/* 80126BC4 00123B24 40 80 00 14 */ bge lbl_80126BD8 +/* 80126BC8 00123B28 48 00 02 E4 */ b lbl_80126EAC +lbl_80126BCC: +/* 80126BCC 00123B2C 2C 05 00 03 */ cmpwi r5, 3 +/* 80126BD0 00123B30 40 80 02 DC */ bge lbl_80126EAC +/* 80126BD4 00123B34 48 00 02 B8 */ b lbl_80126E8C +lbl_80126BD8: +/* 80126BD8 00123B38 38 BE 06 40 */ addi r5, r30, 0x640 +/* 80126BDC 00123B3C 4B F5 5C 81 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId +/* 80126BE0 00123B40 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80126BE4 00123B44 38 80 00 03 */ li r4, 3 +/* 80126BE8 00123B48 D0 1E 06 44 */ stfs f0, 0x644(r30) +/* 80126BEC 00123B4C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80126BF0 00123B50 48 01 3D E9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80126BF4 00123B54 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80126BF8 00123B58 38 60 00 01 */ li r3, 1 +/* 80126BFC 00123B5C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 80126C00 00123B60 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80126C04 00123B64 98 1E 06 37 */ stb r0, 0x637(r30) +/* 80126C08 00123B68 C0 42 98 4C */ lfs f2, lbl_805AB56C@sda21(r2) +/* 80126C0C 00123B6C D0 3E 07 AC */ stfs f1, 0x7ac(r30) +/* 80126C10 00123B70 C3 FE 05 68 */ lfs f31, 0x568(r30) +/* 80126C14 00123B74 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80126C18 00123B78 48 1E B9 2D */ bl Range__9CRandom16Fff +/* 80126C1C 00123B7C FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80126C20 00123B80 7C 60 00 26 */ mfcr r3 +/* 80126C24 00123B84 88 1E 06 38 */ lbz r0, 0x638(r30) +/* 80126C28 00123B88 50 60 36 B4 */ rlwimi r0, r3, 6, 0x1a, 0x1a +/* 80126C2C 00123B8C C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80126C30 00123B90 98 1E 06 38 */ stb r0, 0x638(r30) +/* 80126C34 00123B94 C0 42 98 4C */ lfs f2, lbl_805AB56C@sda21(r2) +/* 80126C38 00123B98 C3 FE 05 6C */ lfs f31, 0x56c(r30) +/* 80126C3C 00123B9C 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80126C40 00123BA0 48 1E B9 05 */ bl Range__9CRandom16Fff +/* 80126C44 00123BA4 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80126C48 00123BA8 7C 60 00 26 */ mfcr r3 +/* 80126C4C 00123BAC 88 1E 06 38 */ lbz r0, 0x638(r30) +/* 80126C50 00123BB0 50 60 2E F6 */ rlwimi r0, r3, 5, 0x1b, 0x1b +/* 80126C54 00123BB4 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80126C58 00123BB8 98 1E 06 38 */ stb r0, 0x638(r30) +/* 80126C5C 00123BBC C0 42 98 4C */ lfs f2, lbl_805AB56C@sda21(r2) +/* 80126C60 00123BC0 C3 FE 05 FC */ lfs f31, 0x5fc(r30) +/* 80126C64 00123BC4 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80126C68 00123BC8 48 1E B8 DD */ bl Range__9CRandom16Fff +/* 80126C6C 00123BCC FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 80126C70 00123BD0 7C 60 00 26 */ mfcr r3 +/* 80126C74 00123BD4 88 1E 06 38 */ lbz r0, 0x638(r30) +/* 80126C78 00123BD8 50 60 27 38 */ rlwimi r0, r3, 4, 0x1c, 0x1c +/* 80126C7C 00123BDC 38 A0 00 01 */ li r5, 1 +/* 80126C80 00123BE0 98 1E 06 38 */ stb r0, 0x638(r30) +/* 80126C84 00123BE4 38 7E 07 64 */ addi r3, r30, 0x764 +/* 80126C88 00123BE8 38 80 00 01 */ li r4, 1 +/* 80126C8C 00123BEC 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80126C90 00123BF0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80126C94 00123BF4 98 1E 06 37 */ stb r0, 0x637(r30) +/* 80126C98 00123BF8 48 04 E5 8D */ bl SetActive__13CBoneTrackingFb +/* 80126C9C 00123BFC 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80126CA0 00123C00 38 7E 07 64 */ addi r3, r30, 0x764 +/* 80126CA4 00123C04 38 81 00 0C */ addi r4, r1, 0xc +/* 80126CA8 00123C08 A0 05 00 08 */ lhz r0, 8(r5) +/* 80126CAC 00123C0C B0 01 00 08 */ sth r0, 8(r1) +/* 80126CB0 00123C10 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80126CB4 00123C14 48 04 E5 65 */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 80126CB8 00123C18 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 80126CBC 00123C1C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80126CC0 00123C20 41 82 00 18 */ beq lbl_80126CD8 +/* 80126CC4 00123C24 38 00 00 04 */ li r0, 4 +/* 80126CC8 00123C28 38 80 00 03 */ li r4, 3 +/* 80126CCC 00123C2C 90 1E 07 C4 */ stw r0, 0x7c4(r30) +/* 80126CD0 00123C30 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80126CD4 00123C34 48 01 3D 05 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80126CD8: +/* 80126CD8 00123C38 88 1E 06 3A */ lbz r0, 0x63a(r30) +/* 80126CDC 00123C3C 38 60 00 00 */ li r3, 0 +/* 80126CE0 00123C40 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80126CE4 00123C44 98 1E 06 3A */ stb r0, 0x63a(r30) +/* 80126CE8 00123C48 48 00 01 C4 */ b lbl_80126EAC +lbl_80126CEC: +/* 80126CEC 00123C4C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80126CF0 00123C50 38 80 00 08 */ li r4, 8 +/* 80126CF4 00123C54 48 01 3E C1 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState +/* 80126CF8 00123C58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80126CFC 00123C5C 41 82 01 04 */ beq lbl_80126E00 +/* 80126D00 00123C60 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80126D04 00123C64 2C 00 00 00 */ cmpwi r0, 0 +/* 80126D08 00123C68 41 82 00 3C */ beq lbl_80126D44 +/* 80126D0C 00123C6C 3C 80 80 3E */ lis r4, lbl_803E0758@ha +/* 80126D10 00123C70 7F C3 F3 78 */ mr r3, r30 +/* 80126D14 00123C74 38 E4 07 58 */ addi r7, r4, lbl_803E0758@l +/* 80126D18 00123C78 7F E4 FB 78 */ mr r4, r31 +/* 80126D1C 00123C7C 81 27 00 00 */ lwz r9, 0(r7) +/* 80126D20 00123C80 38 C1 00 34 */ addi r6, r1, 0x34 +/* 80126D24 00123C84 81 07 00 04 */ lwz r8, 4(r7) +/* 80126D28 00123C88 38 A0 00 08 */ li r5, 8 +/* 80126D2C 00123C8C 80 07 00 08 */ lwz r0, 8(r7) +/* 80126D30 00123C90 38 E0 00 00 */ li r7, 0 +/* 80126D34 00123C94 91 21 00 34 */ stw r9, 0x34(r1) +/* 80126D38 00123C98 91 01 00 38 */ stw r8, 0x38(r1) +/* 80126D3C 00123C9C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80126D40 00123CA0 4B F5 5A 75 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +lbl_80126D44: +/* 80126D44 00123CA4 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80126D48 00123CA8 2C 00 00 02 */ cmpwi r0, 2 +/* 80126D4C 00123CAC 41 82 00 B4 */ beq lbl_80126E00 +/* 80126D50 00123CB0 7F C4 F3 78 */ mr r4, r30 +/* 80126D54 00123CB4 7F E5 FB 78 */ mr r5, r31 +/* 80126D58 00123CB8 38 61 00 28 */ addi r3, r1, 0x28 +/* 80126D5C 00123CBC 48 00 16 E9 */ bl GetTargetPos__12CSpacePirateFR13CStateManager +/* 80126D60 00123CC0 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80126D64 00123CC4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80126D68 00123CC8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80126D6C 00123CCC 38 81 00 40 */ addi r4, r1, 0x40 +/* 80126D70 00123CD0 D0 3E 02 E0 */ stfs f1, 0x2e0(r30) +/* 80126D74 00123CD4 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 80126D78 00123CD8 D0 3E 02 E4 */ stfs f1, 0x2e4(r30) +/* 80126D7C 00123CDC C0 21 00 30 */ lfs f1, 0x30(r1) +/* 80126D80 00123CE0 D0 3E 02 E8 */ stfs f1, 0x2e8(r30) +/* 80126D84 00123CE4 C0 5E 02 E8 */ lfs f2, 0x2e8(r30) +/* 80126D88 00123CE8 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 80126D8C 00123CEC C0 9E 02 E4 */ lfs f4, 0x2e4(r30) +/* 80126D90 00123CF0 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 80126D94 00123CF4 EC A2 08 28 */ fsubs f5, f2, f1 +/* 80126D98 00123CF8 C0 5E 02 E0 */ lfs f2, 0x2e0(r30) +/* 80126D9C 00123CFC C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 80126DA0 00123D00 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80126DA4 00123D04 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80126DA8 00123D08 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 80126DAC 00123D0C D0 61 00 44 */ stfs f3, 0x44(r1) +/* 80126DB0 00123D10 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 80126DB4 00123D14 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80126DB8 00123D18 48 1E DA 99 */ bl AsNormalized__9CVector3fCFv +/* 80126DBC 00123D1C C0 9E 00 48 */ lfs f4, 0x48(r30) +/* 80126DC0 00123D20 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80126DC4 00123D24 C0 7E 00 38 */ lfs f3, 0x38(r30) +/* 80126DC8 00123D28 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80126DCC 00123D2C C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80126DD0 00123D30 C0 BE 00 58 */ lfs f5, 0x58(r30) +/* 80126DD4 00123D34 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 80126DD8 00123D38 EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 80126DDC 00123D3C C0 02 97 C8 */ lfs f0, lbl_805AB4E8@sda21(r2) +/* 80126DE0 00123D40 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80126DE4 00123D44 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 80126DE8 00123D48 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 80126DEC 00123D4C D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80126DF0 00123D50 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80126DF4 00123D54 40 80 00 0C */ bge lbl_80126E00 +/* 80126DF8 00123D58 38 00 00 01 */ li r0, 1 +/* 80126DFC 00123D5C 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_80126E00: +/* 80126E00 00123D60 88 1E 06 35 */ lbz r0, 0x635(r30) +/* 80126E04 00123D64 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80126E08 00123D68 41 82 00 64 */ beq lbl_80126E6C +/* 80126E0C 00123D6C 88 1E 06 39 */ lbz r0, 0x639(r30) +/* 80126E10 00123D70 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 80126E14 00123D74 41 82 00 58 */ beq lbl_80126E6C +/* 80126E18 00123D78 C0 5E 07 BC */ lfs f2, 0x7bc(r30) +/* 80126E1C 00123D7C C0 3E 03 04 */ lfs f1, 0x304(r30) +/* 80126E20 00123D80 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80126E24 00123D84 40 81 00 20 */ ble lbl_80126E44 +/* 80126E28 00123D88 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80126E2C 00123D8C 80 03 02 EC */ lwz r0, 0x2ec(r3) +/* 80126E30 00123D90 2C 00 00 03 */ cmpwi r0, 3 +/* 80126E34 00123D94 40 82 00 10 */ bne lbl_80126E44 +/* 80126E38 00123D98 38 80 00 05 */ li r4, 5 +/* 80126E3C 00123D9C 48 01 3B 9D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80126E40 00123DA0 48 00 00 2C */ b lbl_80126E6C +lbl_80126E44: +/* 80126E44 00123DA4 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80126E48 00123DA8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 80126E4C 00123DAC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80126E50 00123DB0 40 80 00 1C */ bge lbl_80126E6C +/* 80126E54 00123DB4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80126E58 00123DB8 80 03 02 EC */ lwz r0, 0x2ec(r3) +/* 80126E5C 00123DBC 2C 00 00 05 */ cmpwi r0, 5 +/* 80126E60 00123DC0 40 82 00 0C */ bne lbl_80126E6C +/* 80126E64 00123DC4 38 80 00 03 */ li r4, 3 +/* 80126E68 00123DC8 48 01 3B 71 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80126E6C: +/* 80126E6C 00123DCC 7F C3 F3 78 */ mr r3, r30 +/* 80126E70 00123DD0 7F E4 FB 78 */ mr r4, r31 +/* 80126E74 00123DD4 48 00 21 29 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager +/* 80126E78 00123DD8 FC 20 F8 90 */ fmr f1, f31 +/* 80126E7C 00123DDC 7F C3 F3 78 */ mr r3, r30 +/* 80126E80 00123DE0 7F E4 FB 78 */ mr r4, r31 +/* 80126E84 00123DE4 48 00 20 5D */ bl UpdateHeldPosition__12CSpacePirateFR13CStateManagerf +/* 80126E88 00123DE8 48 00 00 24 */ b lbl_80126EAC +lbl_80126E8C: +/* 80126E8C 00123DEC 88 1E 06 38 */ lbz r0, 0x638(r30) +/* 80126E90 00123DF0 38 60 00 00 */ li r3, 0 +/* 80126E94 00123DF4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80126E98 00123DF8 98 1E 06 38 */ stb r0, 0x638(r30) +/* 80126E9C 00123DFC 88 1E 06 38 */ lbz r0, 0x638(r30) +/* 80126EA0 00123E00 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80126EA4 00123E04 98 1E 06 38 */ stb r0, 0x638(r30) +/* 80126EA8 00123E08 90 7E 03 2C */ stw r3, 0x32c(r30) +lbl_80126EAC: +/* 80126EAC 00123E0C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80126EB0 00123E10 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80126EB4 00123E14 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80126EB8 00123E18 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80126EBC 00123E1C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80126EC0 00123E20 7C 08 03 A6 */ mtlr r0 +/* 80126EC4 00123E24 38 21 00 70 */ addi r1, r1, 0x70 +/* 80126EC8 00123E28 4E 80 00 20 */ blr + +.global GetUp__12CSpacePirateFR13CStateManager9EStateMsgf +GetUp__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80126ECC 00123E2C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80126ED0 00123E30 7C 08 02 A6 */ mflr r0 +/* 80126ED4 00123E34 90 01 00 54 */ stw r0, 0x54(r1) +/* 80126ED8 00123E38 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80126EDC 00123E3C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80126EE0 00123E40 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80126EE4 00123E44 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80126EE8 00123E48 FF E0 08 90 */ fmr f31, f1 +/* 80126EEC 00123E4C 2C 05 00 01 */ cmpwi r5, 1 +/* 80126EF0 00123E50 7C 7E 1B 78 */ mr r30, r3 +/* 80126EF4 00123E54 7C 9F 23 78 */ mr r31, r4 +/* 80126EF8 00123E58 41 82 00 38 */ beq lbl_80126F30 +/* 80126EFC 00123E5C 40 80 00 10 */ bge lbl_80126F0C +/* 80126F00 00123E60 2C 05 00 00 */ cmpwi r5, 0 +/* 80126F04 00123E64 40 80 00 14 */ bge lbl_80126F18 +/* 80126F08 00123E68 48 00 00 D8 */ b lbl_80126FE0 +lbl_80126F0C: +/* 80126F0C 00123E6C 2C 05 00 03 */ cmpwi r5, 3 +/* 80126F10 00123E70 40 80 00 D0 */ bge lbl_80126FE0 +/* 80126F14 00123E74 48 00 00 C4 */ b lbl_80126FD8 +lbl_80126F18: +/* 80126F18 00123E78 38 00 00 01 */ li r0, 1 +/* 80126F1C 00123E7C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80126F20 00123E80 48 00 27 19 */ bl SquadReset__12CSpacePirateFR13CStateManager +/* 80126F24 00123E84 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80126F28 00123E88 D0 1E 08 DC */ stfs f0, 0x8dc(r30) +/* 80126F2C 00123E8C 48 00 00 B4 */ b lbl_80126FE0 +lbl_80126F30: +/* 80126F30 00123E90 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80126F34 00123E94 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80126F38 00123E98 2C 00 00 02 */ cmpwi r0, 2 +/* 80126F3C 00123E9C 40 82 00 54 */ bne lbl_80126F90 +/* 80126F40 00123EA0 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80126F44 00123EA4 38 7E 06 60 */ addi r3, r30, 0x660 +/* 80126F48 00123EA8 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80126F4C 00123EAC 38 81 00 20 */ addi r4, r1, 0x20 +/* 80126F50 00123EB0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80126F54 00123EB4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80126F58 00123EB8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80126F5C 00123EBC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80126F60 00123EC0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 80126F64 00123EC4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 80126F68 00123EC8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80126F6C 00123ECC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80126F70 00123ED0 48 0A 0C FD */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f +/* 80126F74 00123ED4 2C 03 00 02 */ cmpwi r3, 2 +/* 80126F78 00123ED8 40 82 00 18 */ bne lbl_80126F90 +/* 80126F7C 00123EDC 88 1E 04 01 */ lbz r0, 0x401(r30) +/* 80126F80 00123EE0 38 60 00 01 */ li r3, 1 +/* 80126F84 00123EE4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80126F88 00123EE8 98 1E 04 01 */ stb r0, 0x401(r30) +/* 80126F8C 00123EEC 48 00 00 3C */ b lbl_80126FC8 +lbl_80126F90: +/* 80126F90 00123EF0 3C 80 80 3E */ lis r4, lbl_803E074C@ha +/* 80126F94 00123EF4 7F C3 F3 78 */ mr r3, r30 +/* 80126F98 00123EF8 38 E4 07 4C */ addi r7, r4, lbl_803E074C@l +/* 80126F9C 00123EFC 7F E4 FB 78 */ mr r4, r31 +/* 80126FA0 00123F00 81 27 00 00 */ lwz r9, 0(r7) +/* 80126FA4 00123F04 38 C1 00 08 */ addi r6, r1, 8 +/* 80126FA8 00123F08 81 07 00 04 */ lwz r8, 4(r7) +/* 80126FAC 00123F0C 38 A0 00 01 */ li r5, 1 +/* 80126FB0 00123F10 80 07 00 08 */ lwz r0, 8(r7) +/* 80126FB4 00123F14 38 E0 00 00 */ li r7, 0 +/* 80126FB8 00123F18 91 21 00 08 */ stw r9, 8(r1) +/* 80126FBC 00123F1C 91 01 00 0C */ stw r8, 0xc(r1) +/* 80126FC0 00123F20 90 01 00 10 */ stw r0, 0x10(r1) +/* 80126FC4 00123F24 4B F5 57 F1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +lbl_80126FC8: +/* 80126FC8 00123F28 FC 20 F8 90 */ fmr f1, f31 +/* 80126FCC 00123F2C 7F C3 F3 78 */ mr r3, r30 +/* 80126FD0 00123F30 4B FF B7 21 */ bl UpdateLeashTimer__12CSpacePirateFf +/* 80126FD4 00123F34 48 00 00 0C */ b lbl_80126FE0 +lbl_80126FD8: +/* 80126FD8 00123F38 38 00 00 00 */ li r0, 0 +/* 80126FDC 00123F3C 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_80126FE0: +/* 80126FE0 00123F40 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80126FE4 00123F44 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80126FE8 00123F48 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80126FEC 00123F4C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80126FF0 00123F50 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80126FF4 00123F54 7C 08 03 A6 */ mtlr r0 +/* 80126FF8 00123F58 38 21 00 50 */ addi r1, r1, 0x50 +/* 80126FFC 00123F5C 4E 80 00 20 */ blr + +.global Taunt__12CSpacePirateFR13CStateManager9EStateMsgf +Taunt__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80127000 00123F60 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80127004 00123F64 7C 08 02 A6 */ mflr r0 +/* 80127008 00123F68 2C 05 00 01 */ cmpwi r5, 1 +/* 8012700C 00123F6C 90 01 01 04 */ stw r0, 0x104(r1) +/* 80127010 00123F70 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 80127014 00123F74 7C 9F 23 78 */ mr r31, r4 +/* 80127018 00123F78 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8012701C 00123F7C 7C 7E 1B 78 */ mr r30, r3 +/* 80127020 00123F80 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 80127024 00123F84 93 81 00 F0 */ stw r28, 0xf0(r1) +/* 80127028 00123F88 41 82 03 20 */ beq lbl_80127348 +/* 8012702C 00123F8C 40 80 00 10 */ bge lbl_8012703C +/* 80127030 00123F90 2C 05 00 00 */ cmpwi r5, 0 +/* 80127034 00123F94 40 80 00 14 */ bge lbl_80127048 +/* 80127038 00123F98 48 00 03 80 */ b lbl_801273B8 +lbl_8012703C: +/* 8012703C 00123F9C 2C 05 00 03 */ cmpwi r5, 3 +/* 80127040 00123FA0 40 80 03 78 */ bge lbl_801273B8 +/* 80127044 00123FA4 48 00 03 38 */ b lbl_8012737C +lbl_80127048: +/* 80127048 00123FA8 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 8012704C 00123FAC 38 60 00 01 */ li r3, 1 +/* 80127050 00123FB0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80127054 00123FB4 38 7E 07 64 */ addi r3, r30, 0x764 +/* 80127058 00123FB8 98 1E 06 37 */ stb r0, 0x637(r30) +/* 8012705C 00123FBC 38 80 00 01 */ li r4, 1 +/* 80127060 00123FC0 48 04 E1 C5 */ bl SetActive__13CBoneTrackingFb +/* 80127064 00123FC4 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80127068 00123FC8 38 7E 07 64 */ addi r3, r30, 0x764 +/* 8012706C 00123FCC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80127070 00123FD0 A0 05 00 08 */ lhz r0, 8(r5) +/* 80127074 00123FD4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80127078 00123FD8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8012707C 00123FDC 48 04 E1 9D */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 80127080 00123FE0 A0 7E 07 C0 */ lhz r3, 0x7c0(r30) +/* 80127084 00123FE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80127088 00123FE8 7C 03 00 40 */ cmplw r3, r0 +/* 8012708C 00123FEC 40 82 00 10 */ bne lbl_8012709C +/* 80127090 00123FF0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80127094 00123FF4 A0 03 00 08 */ lhz r0, 8(r3) +/* 80127098 00123FF8 B0 1E 07 C0 */ sth r0, 0x7c0(r30) +lbl_8012709C: +/* 8012709C 00123FFC 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 801270A0 00124000 38 80 00 10 */ li r4, 0x10 +/* 801270A4 00124004 48 01 3B 11 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState +/* 801270A8 00124008 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801270AC 0012400C 41 82 02 58 */ beq lbl_80127304 +/* 801270B0 00124010 88 7E 06 35 */ lbz r3, 0x635(r30) +/* 801270B4 00124014 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 801270B8 00124018 40 82 02 2C */ bne lbl_801272E4 +/* 801270BC 0012401C 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 801270C0 00124020 3B A0 00 01 */ li r29, 1 +/* 801270C4 00124024 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 801270C8 00124028 41 82 01 14 */ beq lbl_801271DC +/* 801270CC 0012402C 38 61 00 28 */ addi r3, r1, 0x28 +/* 801270D0 00124030 48 1B BF AD */ bl NoParameter__12CPASAnimParmFv +/* 801270D4 00124034 38 61 00 30 */ addi r3, r1, 0x30 +/* 801270D8 00124038 48 1B BF A5 */ bl NoParameter__12CPASAnimParmFv +/* 801270DC 0012403C 38 61 00 38 */ addi r3, r1, 0x38 +/* 801270E0 00124040 48 1B BF 9D */ bl NoParameter__12CPASAnimParmFv +/* 801270E4 00124044 38 61 00 40 */ addi r3, r1, 0x40 +/* 801270E8 00124048 48 1B BF 95 */ bl NoParameter__12CPASAnimParmFv +/* 801270EC 0012404C 38 61 00 48 */ addi r3, r1, 0x48 +/* 801270F0 00124050 48 1B BF 8D */ bl NoParameter__12CPASAnimParmFv +/* 801270F4 00124054 38 61 00 50 */ addi r3, r1, 0x50 +/* 801270F8 00124058 48 1B BF 85 */ bl NoParameter__12CPASAnimParmFv +/* 801270FC 0012405C 38 61 00 58 */ addi r3, r1, 0x58 +/* 80127100 00124060 48 1B BF 7D */ bl NoParameter__12CPASAnimParmFv +/* 80127104 00124064 38 61 00 60 */ addi r3, r1, 0x60 +/* 80127108 00124068 38 80 00 02 */ li r4, 2 +/* 8012710C 0012406C 48 1B BE 79 */ bl FromEnum__12CPASAnimParmFi +/* 80127110 00124070 38 61 00 30 */ addi r3, r1, 0x30 +/* 80127114 00124074 38 01 00 28 */ addi r0, r1, 0x28 +/* 80127118 00124078 90 61 00 08 */ stw r3, 8(r1) +/* 8012711C 0012407C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80127120 00124080 38 A1 00 60 */ addi r5, r1, 0x60 +/* 80127124 00124084 38 C1 00 58 */ addi r6, r1, 0x58 +/* 80127128 00124088 90 01 00 0C */ stw r0, 0xc(r1) +/* 8012712C 0012408C 38 E1 00 50 */ addi r7, r1, 0x50 +/* 80127130 00124090 39 01 00 48 */ addi r8, r1, 0x48 +/* 80127134 00124094 39 21 00 40 */ addi r9, r1, 0x40 +/* 80127138 00124098 39 41 00 38 */ addi r10, r1, 0x38 +/* 8012713C 0012409C 38 80 00 10 */ li r4, 0x10 +/* 80127140 001240A0 4B F5 61 85 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 80127144 001240A4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80127148 001240A8 48 01 33 0D */ bl GetPASDatabase__15CBodyControllerCFv +/* 8012714C 001240AC 80 DF 09 00 */ lwz r6, 0x900(r31) +/* 80127150 001240B0 7C 64 1B 78 */ mr r4, r3 +/* 80127154 001240B4 38 61 00 20 */ addi r3, r1, 0x20 +/* 80127158 001240B8 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 8012715C 001240BC 38 E0 FF FF */ li r7, -1 +/* 80127160 001240C0 48 1B DF 01 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i +/* 80127164 001240C4 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 80127168 001240C8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012716C 001240CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80127170 001240D0 40 81 00 10 */ ble lbl_80127180 +/* 80127174 001240D4 38 00 00 02 */ li r0, 2 +/* 80127178 001240D8 3B A0 00 00 */ li r29, 0 +/* 8012717C 001240DC 90 1E 07 60 */ stw r0, 0x760(r30) +lbl_80127180: +/* 80127180 001240E0 34 A1 00 A8 */ addic. r5, r1, 0xa8 +/* 80127184 001240E4 41 82 00 58 */ beq lbl_801271DC +/* 80127188 001240E8 80 C5 00 00 */ lwz r6, 0(r5) +/* 8012718C 001240EC 38 60 00 00 */ li r3, 0 +/* 80127190 001240F0 2C 06 00 00 */ cmpwi r6, 0 +/* 80127194 001240F4 40 81 00 40 */ ble lbl_801271D4 +/* 80127198 001240F8 2C 06 00 08 */ cmpwi r6, 8 +/* 8012719C 001240FC 38 86 FF F8 */ addi r4, r6, -8 +/* 801271A0 00124100 40 81 00 20 */ ble lbl_801271C0 +/* 801271A4 00124104 38 04 00 07 */ addi r0, r4, 7 +/* 801271A8 00124108 54 00 E8 FE */ srwi r0, r0, 3 +/* 801271AC 0012410C 7C 09 03 A6 */ mtctr r0 +/* 801271B0 00124110 2C 04 00 00 */ cmpwi r4, 0 +/* 801271B4 00124114 40 81 00 0C */ ble lbl_801271C0 +lbl_801271B8: +/* 801271B8 00124118 38 63 00 08 */ addi r3, r3, 8 +/* 801271BC 0012411C 42 00 FF FC */ bdnz lbl_801271B8 +lbl_801271C0: +/* 801271C0 00124120 7C 03 30 50 */ subf r0, r3, r6 +/* 801271C4 00124124 7C 09 03 A6 */ mtctr r0 +/* 801271C8 00124128 7C 03 30 00 */ cmpw r3, r6 +/* 801271CC 0012412C 40 80 00 08 */ bge lbl_801271D4 +lbl_801271D0: +/* 801271D0 00124130 42 00 00 00 */ bdnz lbl_801271D0 +lbl_801271D4: +/* 801271D4 00124134 38 00 00 00 */ li r0, 0 +/* 801271D8 00124138 90 05 00 00 */ stw r0, 0(r5) +lbl_801271DC: +/* 801271DC 0012413C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 801271E0 00124140 41 82 01 18 */ beq lbl_801272F8 +/* 801271E4 00124144 83 FF 08 38 */ lwz r31, 0x838(r31) +/* 801271E8 00124148 3B A0 00 00 */ li r29, 0 +/* 801271EC 0012414C AB 9F 20 08 */ lha r28, 0x2008(r31) +/* 801271F0 00124150 48 00 00 D8 */ b lbl_801272C8 +lbl_801271F4: +/* 801271F4 00124154 7F E3 FB 78 */ mr r3, r31 +/* 801271F8 00124158 7F 84 E3 78 */ mr r4, r28 +/* 801271FC 0012415C 4B EE 8A E1 */ bl __vc__11CObjectListCFi +/* 80127200 00124160 7C 64 1B 78 */ mr r4, r3 +/* 80127204 00124164 38 61 00 18 */ addi r3, r1, 0x18 +/* 80127208 00124168 4B F7 E1 C9 */ bl sub_800a53d0 +/* 8012720C 0012416C 4B F7 E1 99 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" +/* 80127210 00124170 28 03 00 00 */ cmplwi r3, 0 +/* 80127214 00124174 41 82 00 98 */ beq lbl_801272AC +/* 80127218 00124178 7C 03 F0 40 */ cmplw r3, r30 +/* 8012721C 0012417C 41 82 00 90 */ beq lbl_801272AC +/* 80127220 00124180 88 03 06 37 */ lbz r0, 0x637(r3) +/* 80127224 00124184 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80127228 00124188 40 82 00 84 */ bne lbl_801272AC +/* 8012722C 0012418C 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80127230 00124190 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80127234 00124194 41 82 00 78 */ beq lbl_801272AC +/* 80127238 00124198 80 83 00 04 */ lwz r4, 4(r3) +/* 8012723C 0012419C 80 1E 00 04 */ lwz r0, 4(r30) +/* 80127240 001241A0 7C 04 00 00 */ cmpw r4, r0 +/* 80127244 001241A4 40 82 00 68 */ bne lbl_801272AC +/* 80127248 001241A8 C0 E3 00 50 */ lfs f7, 0x50(r3) +/* 8012724C 001241AC C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 80127250 001241B0 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80127254 001241B4 EC C7 00 28 */ fsubs f6, f7, f0 +/* 80127258 001241B8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8012725C 001241BC C1 03 00 60 */ lfs f8, 0x60(r3) +/* 80127260 001241C0 EC 83 00 28 */ fsubs f4, f3, f0 +/* 80127264 001241C4 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 80127268 001241C8 EC 26 01 B2 */ fmuls f1, f6, f6 +/* 8012726C 001241CC EC A8 00 28 */ fsubs f5, f8, f0 +/* 80127270 001241D0 C0 1E 05 7C */ lfs f0, 0x57c(r30) +/* 80127274 001241D4 EC 44 01 32 */ fmuls f2, f4, f4 +/* 80127278 001241D8 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8012727C 001241DC D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 80127280 001241E0 EC 65 01 72 */ fmuls f3, f5, f5 +/* 80127284 001241E4 EC 22 08 2A */ fadds f1, f2, f1 +/* 80127288 001241E8 D0 E1 00 90 */ stfs f7, 0x90(r1) +/* 8012728C 001241EC D1 01 00 94 */ stfs f8, 0x94(r1) +/* 80127290 001241F0 EC 23 08 2A */ fadds f1, f3, f1 +/* 80127294 001241F4 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 80127298 001241F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012729C 001241FC D0 C1 00 9C */ stfs f6, 0x9c(r1) +/* 801272A0 00124200 D0 A1 00 A0 */ stfs f5, 0xa0(r1) +/* 801272A4 00124204 40 80 00 08 */ bge lbl_801272AC +/* 801272A8 00124208 3B A0 00 01 */ li r29, 1 +lbl_801272AC: +/* 801272AC 0012420C 2C 1C FF FF */ cmpwi r28, -1 +/* 801272B0 00124210 41 82 00 14 */ beq lbl_801272C4 +/* 801272B4 00124214 57 83 18 38 */ slwi r3, r28, 3 +/* 801272B8 00124218 38 03 00 08 */ addi r0, r3, 8 +/* 801272BC 0012421C 7F 9F 02 AE */ lhax r28, r31, r0 +/* 801272C0 00124220 48 00 00 08 */ b lbl_801272C8 +lbl_801272C4: +/* 801272C4 00124224 3B 80 FF FF */ li r28, -1 +lbl_801272C8: +/* 801272C8 00124228 2C 1C FF FF */ cmpwi r28, -1 +/* 801272CC 0012422C 40 82 FF 28 */ bne lbl_801271F4 +/* 801272D0 00124230 57 A0 06 3E */ clrlwi r0, r29, 0x18 +/* 801272D4 00124234 7C 00 00 34 */ cntlzw r0, r0 +/* 801272D8 00124238 54 00 D9 7E */ srwi r0, r0, 5 +/* 801272DC 0012423C 90 1E 07 60 */ stw r0, 0x760(r30) +/* 801272E0 00124240 48 00 00 18 */ b lbl_801272F8 +lbl_801272E4: +/* 801272E4 00124244 54 63 EF FE */ rlwinm r3, r3, 0x1d, 0x1f, 0x1f +/* 801272E8 00124248 7C 03 00 D0 */ neg r0, r3 +/* 801272EC 0012424C 7C 00 1B 78 */ or r0, r0, r3 +/* 801272F0 00124250 54 00 0F FE */ srwi r0, r0, 0x1f +/* 801272F4 00124254 90 1E 07 60 */ stw r0, 0x760(r30) +lbl_801272F8: +/* 801272F8 00124258 38 00 00 01 */ li r0, 1 +/* 801272FC 0012425C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80127300 00124260 48 00 00 B8 */ b lbl_801273B8 +lbl_80127304: +/* 80127304 00124264 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80127308 00124268 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8012730C 0012426C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80127310 00124270 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80127314 00124274 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80127318 00124278 38 61 00 1C */ addi r3, r1, 0x1c +/* 8012731C 0012427C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 80127320 00124280 38 A1 00 80 */ addi r5, r1, 0x80 +/* 80127324 00124284 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 80127328 00124288 38 E0 00 01 */ li r7, 1 +/* 8012732C 0012428C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80127330 00124290 39 00 00 00 */ li r8, 0 +/* 80127334 00124294 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80127338 00124298 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 8012733C 0012429C A0 9E 06 0C */ lhz r4, 0x60c(r30) +/* 80127340 001242A0 48 1C 2F 71 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 80127344 001242A4 48 00 00 74 */ b lbl_801273B8 +lbl_80127348: +/* 80127348 001242A8 3C A0 80 3E */ lis r5, lbl_803E0740@ha +/* 8012734C 001242AC 38 C1 00 74 */ addi r6, r1, 0x74 +/* 80127350 001242B0 39 25 07 40 */ addi r9, r5, lbl_803E0740@l +/* 80127354 001242B4 38 A0 00 10 */ li r5, 0x10 +/* 80127358 001242B8 81 09 00 00 */ lwz r8, 0(r9) +/* 8012735C 001242BC 80 E9 00 04 */ lwz r7, 4(r9) +/* 80127360 001242C0 80 09 00 08 */ lwz r0, 8(r9) +/* 80127364 001242C4 91 01 00 74 */ stw r8, 0x74(r1) +/* 80127368 001242C8 90 E1 00 78 */ stw r7, 0x78(r1) +/* 8012736C 001242CC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 80127370 001242D0 80 FE 07 60 */ lwz r7, 0x760(r30) +/* 80127374 001242D4 4B F5 54 41 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80127378 001242D8 48 00 00 40 */ b lbl_801273B8 +lbl_8012737C: +/* 8012737C 001242DC 80 1E 07 60 */ lwz r0, 0x760(r30) +/* 80127380 001242E0 2C 00 00 00 */ cmpwi r0, 0 +/* 80127384 001242E4 40 82 00 2C */ bne lbl_801273B0 +/* 80127388 001242E8 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8012738C 001242EC 7F E3 FB 78 */ mr r3, r31 +/* 80127390 001242F0 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80127394 001242F4 38 81 00 68 */ addi r4, r1, 0x68 +/* 80127398 001242F8 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8012739C 001242FC 38 A0 00 00 */ li r5, 0 +/* 801273A0 00124300 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 801273A4 00124304 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 801273A8 00124308 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 801273AC 0012430C 4B F2 13 D9 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType +lbl_801273B0: +/* 801273B0 00124310 38 00 00 00 */ li r0, 0 +/* 801273B4 00124314 90 1E 03 2C */ stw r0, 0x32c(r30) +lbl_801273B8: +/* 801273B8 00124318 80 01 01 04 */ lwz r0, 0x104(r1) +/* 801273BC 0012431C 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 801273C0 00124320 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 801273C4 00124324 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 801273C8 00124328 83 81 00 F0 */ lwz r28, 0xf0(r1) +/* 801273CC 0012432C 7C 08 03 A6 */ mtlr r0 +/* 801273D0 00124330 38 21 01 00 */ addi r1, r1, 0x100 +/* 801273D4 00124334 4E 80 00 20 */ blr + +.global Run__12CSpacePirateFR13CStateManager9EStateMsgf +Run__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801273D8 00124338 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 801273DC 0012433C D0 03 06 44 */ stfs f0, 0x644(r3) +/* 801273E0 00124340 4E 80 00 20 */ blr + +.global Halt__12CSpacePirateFR13CStateManager9EStateMsgf +Halt__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801273E4 00124344 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801273E8 00124348 D0 03 06 44 */ stfs f0, 0x644(r3) +/* 801273EC 0012434C 4E 80 00 20 */ blr + +.global HearPlayer__12CSpacePirateFR13CStateManagerf +HearPlayer__12CSpacePirateFR13CStateManagerf: +/* 801273F0 00124350 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 801273F4 00124354 38 00 00 00 */ li r0, 0 +/* 801273F8 00124358 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) +/* 801273FC 0012435C C0 44 01 38 */ lfs f2, 0x138(r4) +/* 80127400 00124360 C0 24 01 3C */ lfs f1, 0x13c(r4) +/* 80127404 00124364 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80127408 00124368 C0 64 01 40 */ lfs f3, 0x140(r4) +/* 8012740C 0012436C EC 21 00 72 */ fmuls f1, f1, f1 +/* 80127410 00124370 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 80127414 00124374 EC 22 08 2A */ fadds f1, f2, f1 +/* 80127418 00124378 EC 23 08 2A */ fadds f1, f3, f1 +/* 8012741C 0012437C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80127420 00124380 40 81 00 48 */ ble lbl_80127468 +/* 80127424 00124384 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 80127428 00124388 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 8012742C 0012438C C0 43 05 7C */ lfs f2, 0x57c(r3) +/* 80127430 00124390 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80127434 00124394 C0 84 00 40 */ lfs f4, 0x40(r4) +/* 80127438 00124398 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 8012743C 0012439C EC 02 00 B2 */ fmuls f0, f2, f2 +/* 80127440 001243A0 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 80127444 001243A4 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80127448 001243A8 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8012744C 001243AC EC 25 01 72 */ fmuls f1, f5, f5 +/* 80127450 001243B0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80127454 001243B4 EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 80127458 001243B8 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8012745C 001243BC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80127460 001243C0 40 80 00 08 */ bge lbl_80127468 +/* 80127464 001243C4 38 00 00 01 */ li r0, 1 +lbl_80127468: +/* 80127468 001243C8 7C 03 03 78 */ mr r3, r0 +/* 8012746C 001243CC 4E 80 00 20 */ blr + +.global HearShot__12CSpacePirateFR13CStateManagerf +HearShot__12CSpacePirateFR13CStateManagerf: +/* 80127470 001243D0 88 A3 06 36 */ lbz r5, 0x636(r3) +/* 80127474 001243D4 38 00 00 00 */ li r0, 0 +/* 80127478 001243D8 54 A4 D7 FE */ rlwinm r4, r5, 0x1a, 0x1f, 0x1f +/* 8012747C 001243DC 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 +/* 80127480 001243E0 98 A3 06 36 */ stb r5, 0x636(r3) +/* 80127484 001243E4 7C 83 23 78 */ mr r3, r4 +/* 80127488 001243E8 4E 80 00 20 */ blr + +.global PatternOver__12CSpacePirateFR13CStateManagerf +PatternOver__12CSpacePirateFR13CStateManagerf: +/* 8012748C 001243EC A0 63 02 DC */ lhz r3, 0x2dc(r3) +/* 80127490 001243F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80127494 001243F4 7C 03 00 50 */ subf r0, r3, r0 +/* 80127498 001243F8 7C 00 00 34 */ cntlzw r0, r0 +/* 8012749C 001243FC 54 03 D9 7E */ srwi r3, r0, 5 +/* 801274A0 00124400 4E 80 00 20 */ blr + +.global TargetPatrol__12CSpacePirateFR13CStateManager9EStateMsgf +TargetPatrol__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 801274A4 00124404 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 801274A8 00124408 7C 08 02 A6 */ mflr r0 +/* 801274AC 0012440C 90 01 00 84 */ stw r0, 0x84(r1) +/* 801274B0 00124410 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 801274B4 00124414 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 801274B8 00124418 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 801274BC 0012441C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 801274C0 00124420 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 801274C4 00124424 93 C1 00 58 */ stw r30, 0x58(r1) +/* 801274C8 00124428 93 A1 00 54 */ stw r29, 0x54(r1) +/* 801274CC 0012442C 93 81 00 50 */ stw r28, 0x50(r1) +/* 801274D0 00124430 FF C0 08 90 */ fmr f30, f1 +/* 801274D4 00124434 7C 7E 1B 78 */ mr r30, r3 +/* 801274D8 00124438 7C 9F 23 78 */ mr r31, r4 +/* 801274DC 0012443C 7C BC 2B 78 */ mr r28, r5 +/* 801274E0 00124440 48 0C F9 95 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 801274E4 00124444 2C 1C 00 01 */ cmpwi r28, 1 +/* 801274E8 00124448 41 82 00 58 */ beq lbl_80127540 +/* 801274EC 0012444C 40 80 00 10 */ bge lbl_801274FC +/* 801274F0 00124450 2C 1C 00 00 */ cmpwi r28, 0 +/* 801274F4 00124454 40 80 00 14 */ bge lbl_80127508 +/* 801274F8 00124458 48 00 02 38 */ b lbl_80127730 +lbl_801274FC: +/* 801274FC 0012445C 2C 1C 00 03 */ cmpwi r28, 3 +/* 80127500 00124460 40 80 02 30 */ bge lbl_80127730 +/* 80127504 00124464 48 00 02 20 */ b lbl_80127724 +lbl_80127508: +/* 80127508 00124468 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 8012750C 0012446C 38 00 00 01 */ li r0, 1 +/* 80127510 00124470 7F C4 F3 78 */ mr r4, r30 +/* 80127514 00124474 7F E5 FB 78 */ mr r5, r31 +/* 80127518 00124478 D0 1E 06 44 */ stfs f0, 0x644(r30) +/* 8012751C 0012447C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80127520 00124480 38 C0 00 0A */ li r6, 0xa +/* 80127524 00124484 38 E0 00 06 */ li r7, 6 +/* 80127528 00124488 81 1E 04 50 */ lwz r8, 0x450(r30) +/* 8012752C 0012448C 90 08 00 34 */ stw r0, 0x34(r8) +/* 80127530 00124490 48 0C DA 69 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 80127534 00124494 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80127538 00124498 B0 1E 02 DC */ sth r0, 0x2dc(r30) +/* 8012753C 0012449C 48 00 01 F4 */ b lbl_80127730 +lbl_80127540: +/* 80127540 001244A0 A0 1E 02 DC */ lhz r0, 0x2dc(r30) +/* 80127544 001244A4 7F E3 FB 78 */ mr r3, r31 +/* 80127548 001244A8 38 81 00 0C */ addi r4, r1, 0xc +/* 8012754C 001244AC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80127550 001244B0 4B F2 50 25 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80127554 001244B4 7C 64 1B 78 */ mr r4, r3 +/* 80127558 001244B8 38 61 00 1C */ addi r3, r1, 0x1c +/* 8012755C 001244BC 4B F7 EF F1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 80127560 001244C0 83 A3 00 04 */ lwz r29, 4(r3) +/* 80127564 001244C4 28 1D 00 00 */ cmplwi r29, 0 +/* 80127568 001244C8 41 82 00 E0 */ beq lbl_80127648 +/* 8012756C 001244CC A0 1D 00 FA */ lhz r0, 0xfa(r29) +/* 80127570 001244D0 54 1C FF FF */ rlwinm. r28, r0, 0x1f, 0x1f, 0x1f +/* 80127574 001244D4 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f +/* 80127578 001244D8 40 82 00 0C */ bne lbl_80127584 +/* 8012757C 001244DC 28 00 00 00 */ cmplwi r0, 0 +/* 80127580 001244E0 41 82 00 C8 */ beq lbl_80127648 +lbl_80127584: +/* 80127584 001244E4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80127588 001244E8 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 8012758C 001244EC 48 00 C9 21 */ bl GetMaxSpeed__14CBodyStateInfoCFv +/* 80127590 001244F0 C1 BE 00 50 */ lfs f13, 0x50(r30) +/* 80127594 001244F4 80 7E 00 64 */ lwz r3, 0x64(r30) +/* 80127598 001244F8 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 8012759C 001244FC C0 BE 00 40 */ lfs f5, 0x40(r30) +/* 801275A0 00124500 ED 8D 00 28 */ fsubs f12, f13, f0 +/* 801275A4 00124504 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 801275A8 00124508 C1 23 00 04 */ lfs f9, 4(r3) +/* 801275AC 0012450C EC 85 00 28 */ fsubs f4, f5, f0 +/* 801275B0 00124510 C3 FE 00 60 */ lfs f31, 0x60(r30) +/* 801275B4 00124514 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 801275B8 00124518 C0 E2 98 0C */ lfs f7, lbl_805AB52C@sda21(r2) +/* 801275BC 0012451C EC 0C 03 32 */ fmuls f0, f12, f12 +/* 801275C0 00124520 ED 7F 10 28 */ fsubs f11, f31, f2 +/* 801275C4 00124524 C0 62 98 08 */ lfs f3, lbl_805AB528@sda21(r2) +/* 801275C8 00124528 EC 44 01 32 */ fmuls f2, f4, f4 +/* 801275CC 0012452C C0 DE 07 A4 */ lfs f6, 0x7a4(r30) +/* 801275D0 00124530 EC E7 1F BA */ fmadds f7, f7, f30, f3 +/* 801275D4 00124534 C1 43 00 00 */ lfs f10, 0(r3) +/* 801275D8 00124538 C1 03 00 08 */ lfs f8, 8(r3) +/* 801275DC 0012453C EC 6B 02 F2 */ fmuls f3, f11, f11 +/* 801275E0 00124540 EC 02 00 2A */ fadds f0, f2, f0 +/* 801275E4 00124544 D1 41 00 3C */ stfs f10, 0x3c(r1) +/* 801275E8 00124548 EC 47 02 72 */ fmuls f2, f7, f9 +/* 801275EC 0012454C D1 21 00 40 */ stfs f9, 0x40(r1) +/* 801275F0 00124550 EC 63 00 2A */ fadds f3, f3, f0 +/* 801275F4 00124554 D1 01 00 44 */ stfs f8, 0x44(r1) +/* 801275F8 00124558 EC 01 30 BA */ fmadds f0, f1, f2, f6 +/* 801275FC 0012455C D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 80127600 00124560 EC 00 00 32 */ fmuls f0, f0, f0 +/* 80127604 00124564 D1 A1 00 28 */ stfs f13, 0x28(r1) +/* 80127608 00124568 D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 8012760C 0012456C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80127610 00124570 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 80127614 00124574 D1 81 00 34 */ stfs f12, 0x34(r1) +/* 80127618 00124578 D1 61 00 38 */ stfs f11, 0x38(r1) +/* 8012761C 0012457C 40 80 00 2C */ bge lbl_80127648 +/* 80127620 00124580 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 80127624 00124584 38 60 00 01 */ li r3, 1 +/* 80127628 00124588 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8012762C 0012458C 28 1C 00 00 */ cmplwi r28, 0 +/* 80127630 00124590 98 1E 03 28 */ stb r0, 0x328(r30) +/* 80127634 00124594 41 82 00 0C */ beq lbl_80127640 +/* 80127638 00124598 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) +/* 8012763C 0012459C 48 00 00 08 */ b lbl_80127644 +lbl_80127640: +/* 80127640 001245A0 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +lbl_80127644: +/* 80127644 001245A4 D0 1E 08 24 */ stfs f0, 0x824(r30) +lbl_80127648: +/* 80127648 001245A8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8012764C 001245AC 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80127650 001245B0 2C 00 00 0D */ cmpwi r0, 0xd +/* 80127654 001245B4 40 82 00 B4 */ bne lbl_80127708 +/* 80127658 001245B8 A0 1E 02 DC */ lhz r0, 0x2dc(r30) +/* 8012765C 001245BC 7F E3 FB 78 */ mr r3, r31 +/* 80127660 001245C0 38 81 00 08 */ addi r4, r1, 8 +/* 80127664 001245C4 3B 80 00 01 */ li r28, 1 +/* 80127668 001245C8 B0 01 00 08 */ sth r0, 8(r1) +/* 8012766C 001245CC 4B F2 4F 09 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80127670 001245D0 7C 64 1B 78 */ mr r4, r3 +/* 80127674 001245D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80127678 001245D8 4B F7 EE D5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8012767C 001245DC 80 83 00 04 */ lwz r4, 4(r3) +/* 80127680 001245E0 28 04 00 00 */ cmplwi r4, 0 +/* 80127684 001245E4 41 82 00 44 */ beq lbl_801276C8 +/* 80127688 001245E8 80 A4 00 2C */ lwz r5, 0x2c(r4) +/* 8012768C 001245EC 48 00 00 24 */ b lbl_801276B0 +lbl_80127690: +/* 80127690 001245F0 80 05 00 00 */ lwz r0, 0(r5) +/* 80127694 001245F4 2C 00 00 01 */ cmpwi r0, 1 +/* 80127698 001245F8 40 82 00 14 */ bne lbl_801276AC +/* 8012769C 001245FC 80 05 00 04 */ lwz r0, 4(r5) +/* 801276A0 00124600 2C 00 00 08 */ cmpwi r0, 8 +/* 801276A4 00124604 40 82 00 08 */ bne lbl_801276AC +/* 801276A8 00124608 3B 80 00 00 */ li r28, 0 +lbl_801276AC: +/* 801276AC 0012460C 38 A5 00 0C */ addi r5, r5, 0xc +lbl_801276B0: +/* 801276B0 00124610 80 04 00 24 */ lwz r0, 0x24(r4) +/* 801276B4 00124614 80 64 00 2C */ lwz r3, 0x2c(r4) +/* 801276B8 00124618 1C 00 00 0C */ mulli r0, r0, 0xc +/* 801276BC 0012461C 7C 03 02 14 */ add r0, r3, r0 +/* 801276C0 00124620 7C 05 00 40 */ cmplw r5, r0 +/* 801276C4 00124624 40 82 FF CC */ bne lbl_80127690 +lbl_801276C8: +/* 801276C8 00124628 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 801276CC 0012462C 41 82 00 3C */ beq lbl_80127708 +/* 801276D0 00124630 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 801276D4 00124634 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 801276D8 00124638 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 801276DC 0012463C C0 83 00 50 */ lfs f4, 0x50(r3) +/* 801276E0 00124640 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 801276E4 00124644 EC 01 00 28 */ fsubs f0, f1, f0 +/* 801276E8 00124648 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 801276EC 0012464C C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 801276F0 00124650 EC 64 18 28 */ fsubs f3, f4, f3 +/* 801276F4 00124654 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 801276F8 00124658 EC 22 08 28 */ fsubs f1, f2, f1 +/* 801276FC 0012465C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 80127700 00124660 D0 63 00 20 */ stfs f3, 0x20(r3) +/* 80127704 00124664 D0 23 00 24 */ stfs f1, 0x24(r3) +lbl_80127708: +/* 80127708 00124668 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) +/* 8012770C 0012466C D0 1E 08 28 */ stfs f0, 0x828(r30) +/* 80127710 00124670 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) +/* 80127714 00124674 D0 1E 08 2C */ stfs f0, 0x82c(r30) +/* 80127718 00124678 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) +/* 8012771C 0012467C D0 1E 08 30 */ stfs f0, 0x830(r30) +/* 80127720 00124680 48 00 00 10 */ b lbl_80127730 +lbl_80127724: +/* 80127724 00124684 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80127728 00124688 38 00 00 00 */ li r0, 0 +/* 8012772C 0012468C 90 03 00 34 */ stw r0, 0x34(r3) +lbl_80127730: +/* 80127730 00124690 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80127734 00124694 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 80127738 00124698 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 8012773C 0012469C CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80127740 001246A0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80127744 001246A4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80127748 001246A8 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8012774C 001246AC 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80127750 001246B0 83 81 00 50 */ lwz r28, 0x50(r1) +/* 80127754 001246B4 7C 08 03 A6 */ mtlr r0 +/* 80127758 001246B8 38 21 00 80 */ addi r1, r1, 0x80 +/* 8012775C 001246BC 4E 80 00 20 */ blr + +.global Patrol__12CSpacePirateFR13CStateManager9EStateMsgf +Patrol__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80127760 001246C0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80127764 001246C4 7C 08 02 A6 */ mflr r0 +/* 80127768 001246C8 90 01 00 44 */ stw r0, 0x44(r1) +/* 8012776C 001246CC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 80127770 001246D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 80127774 001246D4 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 80127778 001246D8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8012777C 001246DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80127780 001246E0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80127784 001246E4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80127788 001246E8 93 81 00 10 */ stw r28, 0x10(r1) +/* 8012778C 001246EC 7C BE 2B 78 */ mr r30, r5 +/* 80127790 001246F0 FF C0 08 90 */ fmr f30, f1 +/* 80127794 001246F4 2C 1E 00 01 */ cmpwi r30, 1 +/* 80127798 001246F8 7C 7C 1B 78 */ mr r28, r3 +/* 8012779C 001246FC 7C 9D 23 78 */ mr r29, r4 +/* 801277A0 00124700 41 82 00 90 */ beq lbl_80127830 +/* 801277A4 00124704 40 80 00 10 */ bge lbl_801277B4 +/* 801277A8 00124708 2C 1E 00 00 */ cmpwi r30, 0 +/* 801277AC 0012470C 40 80 00 14 */ bge lbl_801277C0 +/* 801277B0 00124710 48 00 00 80 */ b lbl_80127830 +lbl_801277B4: +/* 801277B4 00124714 2C 1E 00 03 */ cmpwi r30, 3 +/* 801277B8 00124718 40 80 00 78 */ bge lbl_80127830 +/* 801277BC 0012471C 48 00 00 3C */ b lbl_801277F8 +lbl_801277C0: +/* 801277C0 00124720 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 801277C4 00124724 38 80 00 01 */ li r4, 1 +/* 801277C8 00124728 48 01 32 11 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 801277CC 0012472C 83 FC 04 50 */ lwz r31, 0x450(r28) +/* 801277D0 00124730 38 80 00 02 */ li r4, 2 +/* 801277D4 00124734 38 7F 02 A4 */ addi r3, r31, 0x2a4 +/* 801277D8 00124738 48 00 C5 FD */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim +/* 801277DC 0012473C FF E0 08 90 */ fmr f31, f1 +/* 801277E0 00124740 38 7F 02 A4 */ addi r3, r31, 0x2a4 +/* 801277E4 00124744 38 80 00 01 */ li r4, 1 +/* 801277E8 00124748 48 00 C5 ED */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim +/* 801277EC 0012474C EC 01 F8 24 */ fdivs f0, f1, f31 +/* 801277F0 00124750 D0 1C 06 44 */ stfs f0, 0x644(r28) +/* 801277F4 00124754 48 00 00 3C */ b lbl_80127830 +lbl_801277F8: +/* 801277F8 00124758 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 801277FC 0012475C 38 80 00 03 */ li r4, 3 +/* 80127800 00124760 48 01 31 D9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80127804 00124764 88 9C 06 39 */ lbz r4, 0x639(r28) +/* 80127808 00124768 54 80 07 FF */ clrlwi. r0, r4, 0x1f +/* 8012780C 0012476C 40 82 00 24 */ bne lbl_80127830 +/* 80127810 00124770 38 00 00 01 */ li r0, 1 +/* 80127814 00124774 7F 83 E3 78 */ mr r3, r28 +/* 80127818 00124778 50 04 07 FE */ rlwimi r4, r0, 0, 0x1f, 0x1f +/* 8012781C 0012477C 7F A5 EB 78 */ mr r5, r29 +/* 80127820 00124780 98 9C 06 39 */ stb r4, 0x639(r28) +/* 80127824 00124784 38 80 00 0A */ li r4, 0xa +/* 80127828 00124788 38 C0 FF FF */ li r6, -1 +/* 8012782C 0012478C 4B F2 98 95 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_80127830: +/* 80127830 00124790 88 1C 06 37 */ lbz r0, 0x637(r28) +/* 80127834 00124794 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80127838 00124798 41 82 00 A8 */ beq lbl_801278E0 +/* 8012783C 0012479C FC 20 F0 90 */ fmr f1, f30 +/* 80127840 001247A0 7F 83 E3 78 */ mr r3, r28 +/* 80127844 001247A4 7F A4 EB 78 */ mr r4, r29 +/* 80127848 001247A8 7F C5 F3 78 */ mr r5, r30 +/* 8012784C 001247AC 48 0C F6 29 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 80127850 001247B0 2C 1E 00 01 */ cmpwi r30, 1 +/* 80127854 001247B4 41 82 00 44 */ beq lbl_80127898 +/* 80127858 001247B8 40 80 00 10 */ bge lbl_80127868 +/* 8012785C 001247BC 2C 1E 00 00 */ cmpwi r30, 0 +/* 80127860 001247C0 40 80 00 14 */ bge lbl_80127874 +/* 80127864 001247C4 48 00 00 7C */ b lbl_801278E0 +lbl_80127868: +/* 80127868 001247C8 2C 1E 00 03 */ cmpwi r30, 3 +/* 8012786C 001247CC 40 80 00 74 */ bge lbl_801278E0 +/* 80127870 001247D0 48 00 00 50 */ b lbl_801278C0 +lbl_80127874: +/* 80127874 001247D4 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 80127878 001247D8 38 00 00 01 */ li r0, 1 +/* 8012787C 001247DC C0 02 98 50 */ lfs f0, lbl_805AB570@sda21(r2) +/* 80127880 001247E0 90 03 00 34 */ stw r0, 0x34(r3) +/* 80127884 001247E4 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 80127888 001247E8 C0 23 02 FC */ lfs f1, 0x2fc(r3) +/* 8012788C 001247EC EC 21 00 24 */ fdivs f1, f1, f0 +/* 80127890 001247F0 48 01 31 15 */ bl SetTurnSpeed__15CBodyControllerFf +/* 80127894 001247F4 48 00 00 4C */ b lbl_801278E0 +lbl_80127898: +/* 80127898 001247F8 7F 83 E3 78 */ mr r3, r28 +/* 8012789C 001247FC 7F A4 EB 78 */ mr r4, r29 +/* 801278A0 00124800 48 00 13 31 */ bl AvoidActors__12CSpacePirateFR13CStateManager +/* 801278A4 00124804 C0 1C 02 E0 */ lfs f0, 0x2e0(r28) +/* 801278A8 00124808 D0 1C 08 28 */ stfs f0, 0x828(r28) +/* 801278AC 0012480C C0 1C 02 E4 */ lfs f0, 0x2e4(r28) +/* 801278B0 00124810 D0 1C 08 2C */ stfs f0, 0x82c(r28) +/* 801278B4 00124814 C0 1C 02 E8 */ lfs f0, 0x2e8(r28) +/* 801278B8 00124818 D0 1C 08 30 */ stfs f0, 0x830(r28) +/* 801278BC 0012481C 48 00 00 24 */ b lbl_801278E0 +lbl_801278C0: +/* 801278C0 00124820 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 801278C4 00124824 38 00 00 00 */ li r0, 0 +/* 801278C8 00124828 C0 22 98 50 */ lfs f1, lbl_805AB570@sda21(r2) +/* 801278CC 0012482C 90 03 00 34 */ stw r0, 0x34(r3) +/* 801278D0 00124830 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 801278D4 00124834 C0 03 02 FC */ lfs f0, 0x2fc(r3) +/* 801278D8 00124838 EC 21 00 32 */ fmuls f1, f1, f0 +/* 801278DC 0012483C 48 01 30 C9 */ bl SetTurnSpeed__15CBodyControllerFf +lbl_801278E0: +/* 801278E0 00124840 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 801278E4 00124844 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 801278E8 00124848 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 801278EC 0012484C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 801278F0 00124850 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801278F4 00124854 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801278F8 00124858 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 801278FC 0012485C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80127900 00124860 83 81 00 10 */ lwz r28, 0x10(r1) +/* 80127904 00124864 7C 08 03 A6 */ mtlr r0 +/* 80127908 00124868 38 21 00 40 */ addi r1, r1, 0x40 +/* 8012790C 0012486C 4E 80 00 20 */ blr + +.global Generate__12CSpacePirateFR13CStateManager9EStateMsgf +Generate__12CSpacePirateFR13CStateManager9EStateMsgf: +/* 80127910 00124870 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80127914 00124874 7C 08 02 A6 */ mflr r0 +/* 80127918 00124878 2C 05 00 01 */ cmpwi r5, 1 +/* 8012791C 0012487C 90 01 00 44 */ stw r0, 0x44(r1) +/* 80127920 00124880 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80127924 00124884 7C 9F 23 78 */ mr r31, r4 +/* 80127928 00124888 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8012792C 0012488C 7C 7E 1B 78 */ mr r30, r3 +/* 80127930 00124890 41 82 01 50 */ beq lbl_80127A80 +/* 80127934 00124894 40 80 00 10 */ bge lbl_80127944 +/* 80127938 00124898 2C 05 00 00 */ cmpwi r5, 0 +/* 8012793C 0012489C 40 80 00 14 */ bge lbl_80127950 +/* 80127940 001248A0 48 00 02 28 */ b lbl_80127B68 +lbl_80127944: +/* 80127944 001248A4 2C 05 00 03 */ cmpwi r5, 3 +/* 80127948 001248A8 40 80 02 20 */ bge lbl_80127B68 +/* 8012794C 001248AC 48 00 01 C8 */ b lbl_80127B14 +lbl_80127950: +/* 80127950 001248B0 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80127954 001248B4 38 80 00 01 */ li r4, 1 +/* 80127958 001248B8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8012795C 001248BC 98 1E 06 37 */ stb r0, 0x637(r30) +/* 80127960 001248C0 88 DE 06 39 */ lbz r6, 0x639(r30) +/* 80127964 001248C4 54 C0 07 FF */ clrlwi. r0, r6, 0x1f +/* 80127968 001248C8 40 82 00 1C */ bne lbl_80127984 +/* 8012796C 001248CC 50 86 07 FE */ rlwimi r6, r4, 0, 0x1f, 0x1f +/* 80127970 001248D0 7F E5 FB 78 */ mr r5, r31 +/* 80127974 001248D4 98 DE 06 39 */ stb r6, 0x639(r30) +/* 80127978 001248D8 38 80 00 0A */ li r4, 0xa +/* 8012797C 001248DC 38 C0 FF FF */ li r6, -1 +/* 80127980 001248E0 4B F2 97 41 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_80127984: +/* 80127984 001248E4 38 00 00 01 */ li r0, 1 +/* 80127988 001248E8 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 8012798C 001248EC 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 80127990 001248F0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80127994 001248F4 41 82 00 5C */ beq lbl_801279F0 +/* 80127998 001248F8 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 8012799C 001248FC C4 03 67 00 */ lfsu f0, lbl_805A6700@l(r3) +/* 801279A0 00124900 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 801279A4 00124904 C0 BE 00 50 */ lfs f5, 0x50(r30) +/* 801279A8 00124908 C0 83 00 04 */ lfs f4, 4(r3) +/* 801279AC 0012490C EC 21 00 2A */ fadds f1, f1, f0 +/* 801279B0 00124910 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 801279B4 00124914 C0 43 00 08 */ lfs f2, 8(r3) +/* 801279B8 00124918 EC 85 20 2A */ fadds f4, f5, f4 +/* 801279BC 0012491C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801279C0 00124920 D0 3E 02 E0 */ stfs f1, 0x2e0(r30) +/* 801279C4 00124924 EC 23 10 2A */ fadds f1, f3, f2 +/* 801279C8 00124928 D0 9E 02 E4 */ stfs f4, 0x2e4(r30) +/* 801279CC 0012492C D0 3E 02 E8 */ stfs f1, 0x2e8(r30) +/* 801279D0 00124930 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) +/* 801279D4 00124934 D0 3E 08 28 */ stfs f1, 0x828(r30) +/* 801279D8 00124938 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) +/* 801279DC 0012493C D0 3E 08 2C */ stfs f1, 0x82c(r30) +/* 801279E0 00124940 C0 3E 02 E8 */ lfs f1, 0x2e8(r30) +/* 801279E4 00124944 D0 3E 08 30 */ stfs f1, 0x830(r30) +/* 801279E8 00124948 D0 1E 08 24 */ stfs f0, 0x824(r30) +/* 801279EC 0012494C 48 00 01 7C */ b lbl_80127B68 +lbl_801279F0: +/* 801279F0 00124950 7F C4 F3 78 */ mr r4, r30 +/* 801279F4 00124954 7F E5 FB 78 */ mr r5, r31 +/* 801279F8 00124958 38 61 00 14 */ addi r3, r1, 0x14 +/* 801279FC 0012495C 38 C0 00 0A */ li r6, 0xa +/* 80127A00 00124960 38 E0 00 06 */ li r7, 6 +/* 80127A04 00124964 48 0C D5 95 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState +/* 80127A08 00124968 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80127A0C 0012496C 7F E3 FB 78 */ mr r3, r31 +/* 80127A10 00124970 38 81 00 10 */ addi r4, r1, 0x10 +/* 80127A14 00124974 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80127A18 00124978 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80127A1C 0012497C 4B F2 4B 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80127A20 00124980 7C 64 1B 78 */ mr r4, r3 +/* 80127A24 00124984 38 61 00 1C */ addi r3, r1, 0x1c +/* 80127A28 00124988 4B F8 82 69 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80127A2C 0012498C 80 63 00 04 */ lwz r3, 4(r3) +/* 80127A30 00124990 28 03 00 00 */ cmplwi r3, 0 +/* 80127A34 00124994 41 82 00 3C */ beq lbl_80127A70 +/* 80127A38 00124998 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 80127A3C 0012499C C0 43 00 50 */ lfs f2, 0x50(r3) +/* 80127A40 001249A0 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 80127A44 001249A4 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) +/* 80127A48 001249A8 D0 3E 02 E0 */ stfs f1, 0x2e0(r30) +/* 80127A4C 001249AC D0 5E 02 E4 */ stfs f2, 0x2e4(r30) +/* 80127A50 001249B0 D0 7E 02 E8 */ stfs f3, 0x2e8(r30) +/* 80127A54 001249B4 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) +/* 80127A58 001249B8 D0 3E 08 28 */ stfs f1, 0x828(r30) +/* 80127A5C 001249BC C0 3E 02 E4 */ lfs f1, 0x2e4(r30) +/* 80127A60 001249C0 D0 3E 08 2C */ stfs f1, 0x82c(r30) +/* 80127A64 001249C4 C0 3E 02 E8 */ lfs f1, 0x2e8(r30) +/* 80127A68 001249C8 D0 3E 08 30 */ stfs f1, 0x830(r30) +/* 80127A6C 001249CC D0 1E 08 24 */ stfs f0, 0x824(r30) +lbl_80127A70: +/* 80127A70 001249D0 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80127A74 001249D4 38 80 00 03 */ li r4, 3 +/* 80127A78 001249D8 48 01 2F 61 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80127A7C 001249DC 48 00 00 EC */ b lbl_80127B68 +lbl_80127A80: +/* 80127A80 001249E0 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 80127A84 001249E4 38 E0 00 00 */ li r7, 0 +/* 80127A88 001249E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80127A8C 001249EC 41 82 00 08 */ beq lbl_80127A94 +/* 80127A90 001249F0 38 E0 00 02 */ li r7, 2 +lbl_80127A94: +/* 80127A94 001249F4 3C 80 80 3E */ lis r4, lbl_803E0734@ha +/* 80127A98 001249F8 7F C3 F3 78 */ mr r3, r30 +/* 80127A9C 001249FC 38 A4 07 34 */ addi r5, r4, lbl_803E0734@l +/* 80127AA0 00124A00 38 C1 00 24 */ addi r6, r1, 0x24 +/* 80127AA4 00124A04 81 25 00 00 */ lwz r9, 0(r5) +/* 80127AA8 00124A08 7F E4 FB 78 */ mr r4, r31 +/* 80127AAC 00124A0C 81 05 00 04 */ lwz r8, 4(r5) +/* 80127AB0 00124A10 80 05 00 08 */ lwz r0, 8(r5) +/* 80127AB4 00124A14 38 A0 00 0D */ li r5, 0xd +/* 80127AB8 00124A18 91 21 00 24 */ stw r9, 0x24(r1) +/* 80127ABC 00124A1C 91 01 00 28 */ stw r8, 0x28(r1) +/* 80127AC0 00124A20 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80127AC4 00124A24 4B F5 4C F1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi +/* 80127AC8 00124A28 80 1E 03 2C */ lwz r0, 0x32c(r30) +/* 80127ACC 00124A2C 2C 00 00 02 */ cmpwi r0, 2 +/* 80127AD0 00124A30 40 82 00 10 */ bne lbl_80127AE0 +/* 80127AD4 00124A34 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80127AD8 00124A38 38 80 00 03 */ li r4, 3 +/* 80127ADC 00124A3C 48 01 2E FD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_80127AE0: +/* 80127AE0 00124A40 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 80127AE4 00124A44 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80127AE8 00124A48 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 80127AEC 00124A4C C0 63 00 50 */ lfs f3, 0x50(r3) +/* 80127AF0 00124A50 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80127AF4 00124A54 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80127AF8 00124A58 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80127AFC 00124A5C EC 43 10 28 */ fsubs f2, f3, f2 +/* 80127B00 00124A60 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80127B04 00124A64 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 80127B08 00124A68 D0 43 00 20 */ stfs f2, 0x20(r3) +/* 80127B0C 00124A6C D0 03 00 24 */ stfs f0, 0x24(r3) +/* 80127B10 00124A70 48 00 00 58 */ b lbl_80127B68 +lbl_80127B14: +/* 80127B14 00124A74 38 00 00 00 */ li r0, 0 +/* 80127B18 00124A78 38 80 00 03 */ li r4, 3 +/* 80127B1C 00124A7C 90 1E 03 2C */ stw r0, 0x32c(r30) +/* 80127B20 00124A80 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 80127B24 00124A84 48 01 2E B5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 80127B28 00124A88 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) +/* 80127B2C 00124A8C 38 A0 00 00 */ li r5, 0 +/* 80127B30 00124A90 38 7E 07 64 */ addi r3, r30, 0x764 +/* 80127B34 00124A94 38 80 00 01 */ li r4, 1 +/* 80127B38 00124A98 D0 1E 08 24 */ stfs f0, 0x824(r30) +/* 80127B3C 00124A9C 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 80127B40 00124AA0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80127B44 00124AA4 98 1E 06 34 */ stb r0, 0x634(r30) +/* 80127B48 00124AA8 48 04 D6 DD */ bl SetActive__13CBoneTrackingFb +/* 80127B4C 00124AAC 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 80127B50 00124AB0 38 7E 07 64 */ addi r3, r30, 0x764 +/* 80127B54 00124AB4 38 81 00 0C */ addi r4, r1, 0xc +/* 80127B58 00124AB8 A0 05 00 08 */ lhz r0, 8(r5) +/* 80127B5C 00124ABC B0 01 00 08 */ sth r0, 8(r1) +/* 80127B60 00124AC0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80127B64 00124AC4 48 04 D6 B5 */ bl SetTarget__13CBoneTrackingF9TUniqueId +lbl_80127B68: +/* 80127B68 00124AC8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80127B6C 00124ACC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80127B70 00124AD0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80127B74 00124AD4 7C 08 03 A6 */ mtlr r0 +/* 80127B78 00124AD8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80127B7C 00124ADC 4E 80 00 20 */ blr + +.global PatternShagged__12CSpacePirateFR13CStateManagerf +PatternShagged__12CSpacePirateFR13CStateManagerf: +/* 80127B80 00124AE0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80127B84 00124AE4 7C 08 02 A6 */ mflr r0 +/* 80127B88 00124AE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 80127B8C 00124AEC DB E1 00 18 */ stfd f31, 0x18(r1) +/* 80127B90 00124AF0 FF E0 08 90 */ fmr f31, f1 +/* 80127B94 00124AF4 93 E1 00 14 */ stw r31, 0x14(r1) +/* 80127B98 00124AF8 3B E0 00 00 */ li r31, 0 +/* 80127B9C 00124AFC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 80127BA0 00124B00 7C 9E 23 78 */ mr r30, r4 +/* 80127BA4 00124B04 93 A1 00 0C */ stw r29, 0xc(r1) +/* 80127BA8 00124B08 7C 7D 1B 78 */ mr r29, r3 +/* 80127BAC 00124B0C 48 0C DF B1 */ bl Stuck__10CPatternedFR13CStateManagerf +/* 80127BB0 00124B10 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80127BB4 00124B14 40 82 00 1C */ bne lbl_80127BD0 +/* 80127BB8 00124B18 FC 20 F8 90 */ fmr f1, f31 +/* 80127BBC 00124B1C 7F A3 EB 78 */ mr r3, r29 +/* 80127BC0 00124B20 7F C4 F3 78 */ mr r4, r30 +/* 80127BC4 00124B24 48 0C E0 35 */ bl PatternShagged__10CPatternedFR13CStateManagerf +/* 80127BC8 00124B28 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80127BCC 00124B2C 41 82 00 08 */ beq lbl_80127BD4 +lbl_80127BD0: +/* 80127BD0 00124B30 3B E0 00 01 */ li r31, 1 +lbl_80127BD4: +/* 80127BD4 00124B34 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80127BD8 00124B38 7F E3 FB 78 */ mr r3, r31 +/* 80127BDC 00124B3C CB E1 00 18 */ lfd f31, 0x18(r1) +/* 80127BE0 00124B40 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 80127BE4 00124B44 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 80127BE8 00124B48 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 80127BEC 00124B4C 7C 08 03 A6 */ mtlr r0 +/* 80127BF0 00124B50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80127BF4 00124B54 4E 80 00 20 */ blr + +.global Stuck__12CSpacePirateFR13CStateManagerf +Stuck__12CSpacePirateFR13CStateManagerf: +/* 80127BF8 00124B58 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80127BFC 00124B5C 7C 08 02 A6 */ mflr r0 +/* 80127C00 00124B60 90 01 00 34 */ stw r0, 0x34(r1) +/* 80127C04 00124B64 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80127C08 00124B68 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80127C0C 00124B6C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80127C10 00124B70 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80127C14 00124B74 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80127C18 00124B78 7C 7D 1B 78 */ mr r29, r3 +/* 80127C1C 00124B7C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80127C20 00124B80 C0 43 03 38 */ lfs f2, 0x338(r3) +/* 80127C24 00124B84 FF E0 08 90 */ fmr f31, f1 +/* 80127C28 00124B88 7C 9E 23 78 */ mr r30, r4 +/* 80127C2C 00124B8C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80127C30 00124B90 40 81 00 34 */ ble lbl_80127C64 +/* 80127C34 00124B94 3B E0 00 00 */ li r31, 0 +/* 80127C38 00124B98 48 0C DF 25 */ bl Stuck__10CPatternedFR13CStateManagerf +/* 80127C3C 00124B9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80127C40 00124BA0 40 82 00 1C */ bne lbl_80127C5C +/* 80127C44 00124BA4 FC 20 F8 90 */ fmr f1, f31 +/* 80127C48 00124BA8 7F A3 EB 78 */ mr r3, r29 +/* 80127C4C 00124BAC 7F C4 F3 78 */ mr r4, r30 +/* 80127C50 00124BB0 48 0C E0 FD */ bl PathShagged__10CPatternedFR13CStateManagerf +/* 80127C54 00124BB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80127C58 00124BB8 41 82 00 10 */ beq lbl_80127C68 +lbl_80127C5C: +/* 80127C5C 00124BBC 3B E0 00 01 */ li r31, 1 +/* 80127C60 00124BC0 48 00 00 08 */ b lbl_80127C68 +lbl_80127C64: +/* 80127C64 00124BC4 3B E0 00 00 */ li r31, 0 +lbl_80127C68: +/* 80127C68 00124BC8 7F E3 FB 78 */ mr r3, r31 +/* 80127C6C 00124BCC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80127C70 00124BD0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80127C74 00124BD4 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80127C78 00124BD8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80127C7C 00124BDC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80127C80 00124BE0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80127C84 00124BE4 7C 08 03 A6 */ mtlr r0 +/* 80127C88 00124BE8 38 21 00 30 */ addi r1, r1, 0x30 +/* 80127C8C 00124BEC 4E 80 00 20 */ blr + +.global Death__12CSpacePirateFRC9CVector3fR13CStateManager +Death__12CSpacePirateFRC9CVector3fR13CStateManager: +/* 80127C90 00124BF0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80127C94 00124BF4 7C 08 02 A6 */ mflr r0 +/* 80127C98 00124BF8 90 01 00 34 */ stw r0, 0x34(r1) +/* 80127C9C 00124BFC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80127CA0 00124C00 7C 7F 1B 78 */ mr r31, r3 +/* 80127CA4 00124C04 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80127CA8 00124C08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80127CAC 00124C0C 41 82 00 AC */ beq lbl_80127D58 +/* 80127CB0 00124C10 4B F5 36 F5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 80127CB4 00124C14 A0 7F 07 B4 */ lhz r3, 0x7b4(r31) +/* 80127CB8 00124C18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80127CBC 00124C1C 7C 03 00 40 */ cmplw r3, r0 +/* 80127CC0 00124C20 41 82 00 98 */ beq lbl_80127D58 +/* 80127CC4 00124C24 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80127CC8 00124C28 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80127CCC 00124C2C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 80127CD0 00124C30 C0 3F 00 48 */ lfs f1, 0x48(r31) +/* 80127CD4 00124C34 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80127CD8 00124C38 3C 80 80 3E */ lis r4, lbl_803DAA50@ha +/* 80127CDC 00124C3C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80127CE0 00124C40 38 C0 00 03 */ li r6, 3 +/* 80127CE4 00124C44 38 00 00 02 */ li r0, 2 +/* 80127CE8 00124C48 90 A1 00 08 */ stw r5, 8(r1) +/* 80127CEC 00124C4C 38 A4 AA 50 */ addi r5, r4, lbl_803DAA50@l +/* 80127CF0 00124C50 3B E3 00 04 */ addi r31, r3, 4 +/* 80127CF4 00124C54 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80127CF8 00124C58 7F E3 FB 78 */ mr r3, r31 +/* 80127CFC 00124C5C 38 80 00 03 */ li r4, 3 +/* 80127D00 00124C60 90 A1 00 08 */ stw r5, 8(r1) +/* 80127D04 00124C64 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80127D08 00124C68 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80127D0C 00124C6C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80127D10 00124C70 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80127D14 00124C74 48 00 97 25 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80127D18 00124C78 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80127D1C 00124C7C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha +/* 80127D20 00124C80 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l +/* 80127D24 00124C84 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80127D28 00124C88 90 1F 00 E0 */ stw r0, 0xe0(r31) +/* 80127D2C 00124C8C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80127D30 00124C90 80 A1 00 10 */ lwz r5, 0x10(r1) +/* 80127D34 00124C94 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80127D38 00124C98 90 BF 00 E4 */ stw r5, 0xe4(r31) +/* 80127D3C 00124C9C 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80127D40 00124CA0 90 7F 00 E8 */ stw r3, 0xe8(r31) +/* 80127D44 00124CA4 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80127D48 00124CA8 90 BF 00 EC */ stw r5, 0xec(r31) +/* 80127D4C 00124CAC 90 81 00 08 */ stw r4, 8(r1) +/* 80127D50 00124CB0 90 7F 00 F0 */ stw r3, 0xf0(r31) +/* 80127D54 00124CB4 90 01 00 08 */ stw r0, 8(r1) +lbl_80127D58: +/* 80127D58 00124CB8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80127D5C 00124CBC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80127D60 00124CC0 7C 08 03 A6 */ mtlr r0 +/* 80127D64 00124CC4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80127D68 00124CC8 4E 80 00 20 */ blr + +.global KnockBack__12CSpacePirateFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef +KnockBack__12CSpacePirateFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: +/* 80127D6C 00124CCC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80127D70 00124CD0 7C 08 02 A6 */ mflr r0 +/* 80127D74 00124CD4 90 01 00 74 */ stw r0, 0x74(r1) +/* 80127D78 00124CD8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80127D7C 00124CDC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80127D80 00124CE0 BF 41 00 48 */ stmw r26, 0x48(r1) +/* 80127D84 00124CE4 88 03 06 34 */ lbz r0, 0x634(r3) +/* 80127D88 00124CE8 FF E0 08 90 */ fmr f31, f1 +/* 80127D8C 00124CEC 7C 7A 1B 78 */ mr r26, r3 +/* 80127D90 00124CF0 7C 9B 23 78 */ mr r27, r4 +/* 80127D94 00124CF4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80127D98 00124CF8 7C BC 2B 78 */ mr r28, r5 +/* 80127D9C 00124CFC 7C DD 33 78 */ mr r29, r6 +/* 80127DA0 00124D00 7C FE 3B 78 */ mr r30, r7 +/* 80127DA4 00124D04 7D 1F 43 78 */ mr r31, r8 +/* 80127DA8 00124D08 41 82 00 18 */ beq lbl_80127DC0 +/* 80127DAC 00124D0C 88 1A 04 00 */ lbz r0, 0x400(r26) +/* 80127DB0 00124D10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80127DB4 00124D14 41 82 00 0C */ beq lbl_80127DC0 +/* 80127DB8 00124D18 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80127DBC 00124D1C 41 82 02 C4 */ beq lbl_80128080 +lbl_80127DC0: +/* 80127DC0 00124D20 88 1A 06 34 */ lbz r0, 0x634(r26) +/* 80127DC4 00124D24 38 7A 04 60 */ addi r3, r26, 0x460 +/* 80127DC8 00124D28 54 00 07 FE */ clrlwi r0, r0, 0x1f +/* 80127DCC 00124D2C 7C 00 00 34 */ cntlzw r0, r0 +/* 80127DD0 00124D30 54 04 D9 7E */ srwi r4, r0, 5 +/* 80127DD4 00124D34 48 10 BF 91 */ bl SetAutoResetImpulse__20CKnockBackControllerFb +/* 80127DD8 00124D38 7F 43 D3 78 */ mr r3, r26 +/* 80127DDC 00124D3C 81 9A 00 00 */ lwz r12, 0(r26) +/* 80127DE0 00124D40 81 8C 02 B8 */ lwz r12, 0x2b8(r12) +/* 80127DE4 00124D44 7D 89 03 A6 */ mtctr r12 +/* 80127DE8 00124D48 4E 80 04 21 */ bctrl +/* 80127DEC 00124D4C 7C 65 1B 78 */ mr r5, r3 +/* 80127DF0 00124D50 38 7A 04 60 */ addi r3, r26, 0x460 +/* 80127DF4 00124D54 38 80 00 02 */ li r4, 2 +/* 80127DF8 00124D58 48 10 BF CD */ bl SetAvailableState__20CKnockBackControllerFib +/* 80127DFC 00124D5C 88 1A 06 36 */ lbz r0, 0x636(r26) +/* 80127E00 00124D60 38 80 00 01 */ li r4, 1 +/* 80127E04 00124D64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80127E08 00124D68 40 82 00 10 */ bne lbl_80127E18 +/* 80127E0C 00124D6C 88 1A 06 35 */ lbz r0, 0x635(r26) +/* 80127E10 00124D70 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80127E14 00124D74 41 82 00 1C */ beq lbl_80127E30 +lbl_80127E18: +/* 80127E18 00124D78 88 7D 00 04 */ lbz r3, 4(r29) +/* 80127E1C 00124D7C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 80127E20 00124D80 40 82 00 10 */ bne lbl_80127E30 +/* 80127E24 00124D84 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80127E28 00124D88 40 82 00 08 */ bne lbl_80127E30 +/* 80127E2C 00124D8C 38 80 00 00 */ li r4, 0 +lbl_80127E30: +/* 80127E30 00124D90 88 1A 04 E1 */ lbz r0, 0x4e1(r26) +/* 80127E34 00124D94 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80127E38 00124D98 FC 20 F8 90 */ fmr f1, f31 +/* 80127E3C 00124D9C 7F 43 D3 78 */ mr r3, r26 +/* 80127E40 00124DA0 98 1A 04 E1 */ stb r0, 0x4e1(r26) +/* 80127E44 00124DA4 7F 64 DB 78 */ mr r4, r27 +/* 80127E48 00124DA8 7F 85 E3 78 */ mr r5, r28 +/* 80127E4C 00124DAC 7F A6 EB 78 */ mr r6, r29 +/* 80127E50 00124DB0 7F C7 F3 78 */ mr r7, r30 +/* 80127E54 00124DB4 7F E8 FB 78 */ mr r8, r31 +/* 80127E58 00124DB8 4B F5 29 25 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef +/* 80127E5C 00124DBC 88 1A 06 35 */ lbz r0, 0x635(r26) +/* 80127E60 00124DC0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80127E64 00124DC4 41 82 00 B0 */ beq lbl_80127F14 +/* 80127E68 00124DC8 88 1A 04 00 */ lbz r0, 0x400(r26) +/* 80127E6C 00124DCC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80127E70 00124DD0 41 82 00 7C */ beq lbl_80127EEC +/* 80127E74 00124DD4 C0 02 98 28 */ lfs f0, lbl_805AB548@sda21(r2) +/* 80127E78 00124DD8 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80127E7C 00124DDC 4C 41 13 82 */ cror 2, 1, 2 +/* 80127E80 00124DE0 40 82 00 94 */ bne lbl_80127F14 +/* 80127E84 00124DE4 80 7A 04 50 */ lwz r3, 0x450(r26) +/* 80127E88 00124DE8 88 03 03 00 */ lbz r0, 0x300(r3) +/* 80127E8C 00124DEC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80127E90 00124DF0 40 82 00 84 */ bne lbl_80127F14 +/* 80127E94 00124DF4 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80127E98 00124DF8 38 9A 08 A8 */ addi r4, r26, 0x8a8 +/* 80127E9C 00124DFC C0 22 98 08 */ lfs f1, lbl_805AB528@sda21(r2) +/* 80127EA0 00124E00 38 6D 8A BC */ addi r3, r13, lbl_805A767C@sda21 +/* 80127EA4 00124E04 D0 1A 03 E8 */ stfs f0, 0x3e8(r26) +/* 80127EA8 00124E08 38 AD 8A C0 */ addi r5, r13, lbl_805A7680@sda21 +/* 80127EAC 00124E0C C0 1A 08 A8 */ lfs f0, 0x8a8(r26) +/* 80127EB0 00124E10 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 80127EB4 00124E14 D0 1A 08 A8 */ stfs f0, 0x8a8(r26) +/* 80127EB8 00124E18 4B EE 43 FD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80127EBC 00124E1C C0 23 00 00 */ lfs f1, 0(r3) +/* 80127EC0 00124E20 7F 44 D3 78 */ mr r4, r26 +/* 80127EC4 00124E24 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80127EC8 00124E28 D0 3A 08 A8 */ stfs f1, 0x8a8(r26) +/* 80127ECC 00124E2C D0 1A 08 BC */ stfs f0, 0x8bc(r26) +/* 80127ED0 00124E30 80 7C 08 84 */ lwz r3, 0x884(r28) +/* 80127ED4 00124E34 48 0B D2 FD */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor +/* 80127ED8 00124E38 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) +/* 80127EDC 00124E3C C0 1A 08 A8 */ lfs f0, 0x8a8(r26) +/* 80127EE0 00124E40 EC 01 00 2A */ fadds f0, f1, f0 +/* 80127EE4 00124E44 D0 1A 08 AC */ stfs f0, 0x8ac(r26) +/* 80127EE8 00124E48 48 00 00 2C */ b lbl_80127F14 +lbl_80127EEC: +/* 80127EEC 00124E4C C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) +/* 80127EF0 00124E50 7F 44 D3 78 */ mr r4, r26 +/* 80127EF4 00124E54 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80127EF8 00124E58 D0 3A 03 E8 */ stfs f1, 0x3e8(r26) +/* 80127EFC 00124E5C D0 3A 08 BC */ stfs f1, 0x8bc(r26) +/* 80127F00 00124E60 D0 1A 08 B8 */ stfs f0, 0x8b8(r26) +/* 80127F04 00124E64 80 7C 08 84 */ lwz r3, 0x884(r28) +/* 80127F08 00124E68 48 0B D2 C9 */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor +/* 80127F0C 00124E6C C0 02 97 DC */ lfs f0, lbl_805AB4FC@sda21(r2) +/* 80127F10 00124E70 D0 1A 08 AC */ stfs f0, 0x8ac(r26) +lbl_80127F14: +/* 80127F14 00124E74 88 1A 06 35 */ lbz r0, 0x635(r26) +/* 80127F18 00124E78 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80127F1C 00124E7C 41 82 00 54 */ beq lbl_80127F70 +/* 80127F20 00124E80 80 7A 08 5C */ lwz r3, 0x85c(r26) +/* 80127F24 00124E84 28 03 00 00 */ cmplwi r3, 0 +/* 80127F28 00124E88 41 82 00 48 */ beq lbl_80127F70 +/* 80127F2C 00124E8C C0 02 98 54 */ lfs f0, lbl_805AB574@sda21(r2) +/* 80127F30 00124E90 C0 7B 00 00 */ lfs f3, 0(r27) +/* 80127F34 00124E94 EC 80 07 F2 */ fmuls f4, f0, f31 +/* 80127F38 00124E98 C0 5B 00 04 */ lfs f2, 4(r27) +/* 80127F3C 00124E9C C0 3B 00 08 */ lfs f1, 8(r27) +/* 80127F40 00124EA0 C0 03 00 84 */ lfs f0, 0x84(r3) +/* 80127F44 00124EA4 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80127F48 00124EA8 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80127F4C 00124EAC EC 24 00 72 */ fmuls f1, f4, f1 +/* 80127F50 00124EB0 EC 00 18 2A */ fadds f0, f0, f3 +/* 80127F54 00124EB4 D0 03 00 84 */ stfs f0, 0x84(r3) +/* 80127F58 00124EB8 C0 03 00 88 */ lfs f0, 0x88(r3) +/* 80127F5C 00124EBC EC 00 10 2A */ fadds f0, f0, f2 +/* 80127F60 00124EC0 D0 03 00 88 */ stfs f0, 0x88(r3) +/* 80127F64 00124EC4 C0 03 00 8C */ lfs f0, 0x8c(r3) +/* 80127F68 00124EC8 EC 00 08 2A */ fadds f0, f0, f1 +/* 80127F6C 00124ECC D0 03 00 8C */ stfs f0, 0x8c(r3) +lbl_80127F70: +/* 80127F70 00124ED0 88 1A 04 00 */ lbz r0, 0x400(r26) +/* 80127F74 00124ED4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80127F78 00124ED8 41 82 00 9C */ beq lbl_80128014 +/* 80127F7C 00124EDC 80 1A 04 64 */ lwz r0, 0x464(r26) +/* 80127F80 00124EE0 2C 00 00 03 */ cmpwi r0, 3 +/* 80127F84 00124EE4 41 82 00 08 */ beq lbl_80127F8C +/* 80127F88 00124EE8 48 00 00 F8 */ b lbl_80128080 +lbl_80127F8C: +/* 80127F8C 00124EEC 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 80127F90 00124EF0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80127F94 00124EF4 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 80127F98 00124EF8 38 84 00 11 */ addi r4, r4, 0x11 +/* 80127F9C 00124EFC 4B ED CD 1D */ bl string_l__4rstlFPCc +/* 80127FA0 00124F00 7F 43 D3 78 */ mr r3, r26 +/* 80127FA4 00124F04 4B F7 A9 55 */ bl GetStateMachine__3CAiFv +/* 80127FA8 00124F08 7C 66 1B 78 */ mr r6, r3 +/* 80127FAC 00124F0C 7F 84 E3 78 */ mr r4, r28 +/* 80127FB0 00124F10 7F 45 D3 78 */ mr r5, r26 +/* 80127FB4 00124F14 38 7A 03 30 */ addi r3, r26, 0x330 +/* 80127FB8 00124F18 38 E1 00 30 */ addi r7, r1, 0x30 +/* 80127FBC 00124F1C 4B F5 7C 49 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 80127FC0 00124F20 38 61 00 30 */ addi r3, r1, 0x30 +/* 80127FC4 00124F24 48 21 5B 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 80127FC8 00124F28 C0 5A 00 60 */ lfs f2, 0x60(r26) +/* 80127FCC 00124F2C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80127FD0 00124F30 C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80127FD4 00124F34 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80127FD8 00124F38 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 80127FDC 00124F3C 38 61 00 14 */ addi r3, r1, 0x14 +/* 80127FE0 00124F40 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) +/* 80127FE4 00124F44 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80127FE8 00124F48 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80127FEC 00124F4C 38 E0 00 7F */ li r7, 0x7f +/* 80127FF0 00124F50 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) +/* 80127FF4 00124F54 39 00 00 01 */ li r8, 1 +/* 80127FF8 00124F58 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80127FFC 00124F5C 39 20 00 00 */ li r9, 0 +/* 80128000 00124F60 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80128004 00124F64 90 01 00 08 */ stw r0, 8(r1) +/* 80128008 00124F68 A0 9A 06 28 */ lhz r4, 0x628(r26) +/* 8012800C 00124F6C 48 1C 21 AD */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +/* 80128010 00124F70 48 00 00 70 */ b lbl_80128080 +lbl_80128014: +/* 80128014 00124F74 80 1A 04 64 */ lwz r0, 0x464(r26) +/* 80128018 00124F78 2C 00 00 03 */ cmpwi r0, 3 +/* 8012801C 00124F7C 41 82 00 08 */ beq lbl_80128024 +/* 80128020 00124F80 48 00 00 60 */ b lbl_80128080 +lbl_80128024: +/* 80128024 00124F84 80 1A 04 68 */ lwz r0, 0x468(r26) +/* 80128028 00124F88 2C 00 00 09 */ cmpwi r0, 9 +/* 8012802C 00124F8C 41 82 00 54 */ beq lbl_80128080 +/* 80128030 00124F90 2C 00 00 08 */ cmpwi r0, 8 +/* 80128034 00124F94 41 82 00 4C */ beq lbl_80128080 +/* 80128038 00124F98 C0 5A 00 60 */ lfs f2, 0x60(r26) +/* 8012803C 00124F9C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80128040 00124FA0 C0 3A 00 50 */ lfs f1, 0x50(r26) +/* 80128044 00124FA4 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 80128048 00124FA8 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 8012804C 00124FAC 38 61 00 10 */ addi r3, r1, 0x10 +/* 80128050 00124FB0 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) +/* 80128054 00124FB4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 80128058 00124FB8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8012805C 00124FBC 38 E0 00 7F */ li r7, 0x7f +/* 80128060 00124FC0 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) +/* 80128064 00124FC4 39 00 00 01 */ li r8, 1 +/* 80128068 00124FC8 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8012806C 00124FCC 39 20 00 00 */ li r9, 0 +/* 80128070 00124FD0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80128074 00124FD4 90 01 00 08 */ stw r0, 8(r1) +/* 80128078 00124FD8 A0 9A 06 2A */ lhz r4, 0x62a(r26) +/* 8012807C 00124FDC 48 1C 21 3D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +lbl_80128080: +/* 80128080 00124FE0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80128084 00124FE4 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80128088 00124FE8 BB 41 00 48 */ lmw r26, 0x48(r1) +/* 8012808C 00124FEC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80128090 00124FF0 7C 08 03 A6 */ mtlr r0 +/* 80128094 00124FF4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80128098 00124FF8 4E 80 00 20 */ blr + +.global TryWallHang__10CPatternedFR13CStateManageri +TryWallHang__10CPatternedFR13CStateManageri: +/* 8012809C 00124FFC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801280A0 00125000 7C 08 02 A6 */ mflr r0 +/* 801280A4 00125004 38 A0 00 15 */ li r5, 0x15 +/* 801280A8 00125008 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 801280AC 0012500C 90 01 00 24 */ stw r0, 0x24(r1) +/* 801280B0 00125010 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 801280B4 00125014 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801280B8 00125018 A0 C3 02 DC */ lhz r6, 0x2dc(r3) +/* 801280BC 0012501C 80 83 04 50 */ lwz r4, 0x450(r3) +/* 801280C0 00125020 3C 60 80 3E */ lis r3, lbl_803E0B98@ha +/* 801280C4 00125024 90 01 00 0C */ stw r0, 0xc(r1) +/* 801280C8 00125028 38 03 0B 98 */ addi r0, r3, lbl_803E0B98@l +/* 801280CC 0012502C 3B E4 00 04 */ addi r31, r4, 4 +/* 801280D0 00125030 38 80 00 15 */ li r4, 0x15 +/* 801280D4 00125034 B0 C1 00 08 */ sth r6, 8(r1) +/* 801280D8 00125038 7F E3 FB 78 */ mr r3, r31 +/* 801280DC 0012503C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 801280E0 00125040 90 01 00 0C */ stw r0, 0xc(r1) +/* 801280E4 00125044 B0 C1 00 14 */ sth r6, 0x14(r1) +/* 801280E8 00125048 48 00 93 51 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 801280EC 0012504C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 801280F0 00125050 3C 60 80 3E */ lis r3, lbl_803E0B98@ha +/* 801280F4 00125054 38 83 0B 98 */ addi r4, r3, lbl_803E0B98@l +/* 801280F8 00125058 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801280FC 0012505C 90 1F 02 58 */ stw r0, 0x258(r31) +/* 80128100 00125060 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80128104 00125064 A0 61 00 14 */ lhz r3, 0x14(r1) +/* 80128108 00125068 90 81 00 0C */ stw r4, 0xc(r1) +/* 8012810C 0012506C B0 7F 02 5C */ sth r3, 0x25c(r31) +/* 80128110 00125070 90 01 00 0C */ stw r0, 0xc(r1) +/* 80128114 00125074 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80128118 00125078 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8012811C 0012507C 7C 08 03 A6 */ mtlr r0 +/* 80128120 00125080 38 21 00 20 */ addi r1, r1, 0x20 +/* 80128124 00125084 4E 80 00 20 */ blr + +.global __dt__14CBCWallHangCmdFv +__dt__14CBCWallHangCmdFv: +/* 80128128 00125088 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012812C 0012508C 7C 08 02 A6 */ mflr r0 +/* 80128130 00125090 90 01 00 14 */ stw r0, 0x14(r1) +/* 80128134 00125094 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80128138 00125098 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8012813C 0012509C 41 82 00 30 */ beq lbl_8012816C +/* 80128140 001250A0 3C 60 80 3E */ lis r3, lbl_803E0B98@ha +/* 80128144 001250A4 38 03 0B 98 */ addi r0, r3, lbl_803E0B98@l +/* 80128148 001250A8 90 1F 00 00 */ stw r0, 0(r31) +/* 8012814C 001250AC 41 82 00 10 */ beq lbl_8012815C +/* 80128150 001250B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 80128154 001250B4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80128158 001250B8 90 1F 00 00 */ stw r0, 0(r31) +lbl_8012815C: +/* 8012815C 001250BC 7C 80 07 35 */ extsh. r0, r4 +/* 80128160 001250C0 40 81 00 0C */ ble lbl_8012816C +/* 80128164 001250C4 7F E3 FB 78 */ mr r3, r31 +/* 80128168 001250C8 48 1E D7 C9 */ bl Free__7CMemoryFPCv +lbl_8012816C: +/* 8012816C 001250CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80128170 001250D0 7F E3 FB 78 */ mr r3, r31 +/* 80128174 001250D4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80128178 001250D8 7C 08 03 A6 */ mtlr r0 +/* 8012817C 001250DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80128180 001250E0 4E 80 00 20 */ blr + +.global TryCover__10CPatternedFR13CStateManageri +TryCover__10CPatternedFR13CStateManageri: +/* 80128184 001250E4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80128188 001250E8 7C 08 02 A6 */ mflr r0 +/* 8012818C 001250EC 90 01 00 44 */ stw r0, 0x44(r1) +/* 80128190 001250F0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80128194 001250F4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80128198 001250F8 7C BE 2B 78 */ mr r30, r5 +/* 8012819C 001250FC 38 A1 00 08 */ addi r5, r1, 8 +/* 801281A0 00125100 80 C3 04 50 */ lwz r6, 0x450(r3) +/* 801281A4 00125104 A0 03 02 DC */ lhz r0, 0x2dc(r3) +/* 801281A8 00125108 3B E6 00 04 */ addi r31, r6, 4 +/* 801281AC 0012510C B0 01 00 08 */ sth r0, 8(r1) +/* 801281B0 00125110 4B F5 46 FD */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 801281B4 00125114 28 03 00 00 */ cmplwi r3, 0 +/* 801281B8 00125118 41 82 00 C8 */ beq lbl_80128280 +/* 801281BC 0012511C C0 43 00 58 */ lfs f2, 0x58(r3) +/* 801281C0 00125120 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 801281C4 00125124 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 801281C8 00125128 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 801281CC 0012512C C0 03 00 38 */ lfs f0, 0x38(r3) +/* 801281D0 00125130 FC 40 10 50 */ fneg f2, f2 +/* 801281D4 00125134 FC 20 08 50 */ fneg f1, f1 +/* 801281D8 00125138 C0 A3 00 60 */ lfs f5, 0x60(r3) +/* 801281DC 0012513C FC 00 00 50 */ fneg f0, f0 +/* 801281E0 00125140 C0 83 00 50 */ lfs f4, 0x50(r3) +/* 801281E4 00125144 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 801281E8 00125148 3C 60 80 3E */ lis r3, lbl_803E0B8C@ha +/* 801281EC 0012514C 38 80 00 14 */ li r4, 0x14 +/* 801281F0 00125150 90 01 00 0C */ stw r0, 0xc(r1) +/* 801281F4 00125154 38 03 0B 8C */ addi r0, r3, lbl_803E0B8C@l +/* 801281F8 00125158 7F E3 FB 78 */ mr r3, r31 +/* 801281FC 0012515C 90 81 00 10 */ stw r4, 0x10(r1) +/* 80128200 00125160 38 80 00 14 */ li r4, 0x14 +/* 80128204 00125164 90 01 00 0C */ stw r0, 0xc(r1) +/* 80128208 00125168 93 C1 00 14 */ stw r30, 0x14(r1) +/* 8012820C 0012516C D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80128210 00125170 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 80128214 00125174 D0 A1 00 20 */ stfs f5, 0x20(r1) +/* 80128218 00125178 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8012821C 0012517C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80128220 00125180 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80128224 00125184 48 00 92 15 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 80128228 00125188 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8012822C 0012518C 3C 60 80 3E */ lis r3, lbl_803E0B8C@ha +/* 80128230 00125190 38 83 0B 8C */ addi r4, r3, lbl_803E0B8C@l +/* 80128234 00125194 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80128238 00125198 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8012823C 0012519C 90 1F 02 34 */ stw r0, 0x234(r31) +/* 80128240 001251A0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 80128244 001251A4 7F C3 F3 78 */ mr r3, r30 +/* 80128248 001251A8 90 81 00 0C */ stw r4, 0xc(r1) +/* 8012824C 001251AC 90 7F 02 38 */ stw r3, 0x238(r31) +/* 80128250 001251B0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 80128254 001251B4 90 BF 02 3C */ stw r5, 0x23c(r31) +/* 80128258 001251B8 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8012825C 001251BC 90 7F 02 40 */ stw r3, 0x240(r31) +/* 80128260 001251C0 80 61 00 24 */ lwz r3, 0x24(r1) +/* 80128264 001251C4 90 BF 02 44 */ stw r5, 0x244(r31) +/* 80128268 001251C8 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8012826C 001251CC 90 7F 02 48 */ stw r3, 0x248(r31) +/* 80128270 001251D0 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 80128274 001251D4 90 BF 02 4C */ stw r5, 0x24c(r31) +/* 80128278 001251D8 90 7F 02 50 */ stw r3, 0x250(r31) +/* 8012827C 001251DC 90 01 00 0C */ stw r0, 0xc(r1) +lbl_80128280: +/* 80128280 001251E0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80128284 001251E4 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80128288 001251E8 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8012828C 001251EC 7C 08 03 A6 */ mtlr r0 +/* 80128290 001251F0 38 21 00 40 */ addi r1, r1, 0x40 +/* 80128294 001251F4 4E 80 00 20 */ blr + +.global __dt__11CBCCoverCmdFv +__dt__11CBCCoverCmdFv: +/* 80128298 001251F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012829C 001251FC 7C 08 02 A6 */ mflr r0 +/* 801282A0 00125200 90 01 00 14 */ stw r0, 0x14(r1) +/* 801282A4 00125204 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801282A8 00125208 7C 7F 1B 79 */ or. r31, r3, r3 +/* 801282AC 0012520C 41 82 00 30 */ beq lbl_801282DC +/* 801282B0 00125210 3C 60 80 3E */ lis r3, lbl_803E0B8C@ha +/* 801282B4 00125214 38 03 0B 8C */ addi r0, r3, lbl_803E0B8C@l +/* 801282B8 00125218 90 1F 00 00 */ stw r0, 0(r31) +/* 801282BC 0012521C 41 82 00 10 */ beq lbl_801282CC +/* 801282C0 00125220 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 801282C4 00125224 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 801282C8 00125228 90 1F 00 00 */ stw r0, 0(r31) +lbl_801282CC: +/* 801282CC 0012522C 7C 80 07 35 */ extsh. r0, r4 +/* 801282D0 00125230 40 81 00 0C */ ble lbl_801282DC +/* 801282D4 00125234 7F E3 FB 78 */ mr r3, r31 +/* 801282D8 00125238 48 1E D6 59 */ bl Free__7CMemoryFPCv +lbl_801282DC: +/* 801282DC 0012523C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801282E0 00125240 7F E3 FB 78 */ mr r3, r31 +/* 801282E4 00125244 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801282E8 00125248 7C 08 03 A6 */ mtlr r0 +/* 801282EC 0012524C 38 21 00 10 */ addi r1, r1, 0x10 +/* 801282F0 00125250 4E 80 00 20 */ blr + +.global SetNonCinematicCollision__12CSpacePirateFR13CStateManager +SetNonCinematicCollision__12CSpacePirateFR13CStateManager: +/* 801282F4 00125254 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801282F8 00125258 7C 08 02 A6 */ mflr r0 +/* 801282FC 0012525C 7C 85 23 78 */ mr r5, r4 +/* 80128300 00125260 38 80 00 30 */ li r4, 0x30 +/* 80128304 00125264 90 01 00 34 */ stw r0, 0x34(r1) +/* 80128308 00125268 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8012830C 0012526C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80128310 00125270 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80128314 00125274 93 81 00 20 */ stw r28, 0x20(r1) +/* 80128318 00125278 7C 7C 1B 78 */ mr r28, r3 +/* 8012831C 0012527C 4B F2 C0 35 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80128320 00125280 7F 83 E3 78 */ mr r3, r28 +/* 80128324 00125284 4B F2 B5 99 */ bl GetMaterialFilter__6CActorCFv +/* 80128328 00125288 80 AD 8A B8 */ lwz r5, lbl_805A7678@sda21(r13) +/* 8012832C 0012528C 7C 7F 1B 78 */ mr r31, r3 +/* 80128330 00125290 38 60 00 00 */ li r3, 0 +/* 80128334 00125294 38 80 00 01 */ li r4, 1 +/* 80128338 00125298 48 26 1B BD */ bl __shl2i +/* 8012833C 0012529C 7C 7E 1B 78 */ mr r30, r3 +/* 80128340 001252A0 7C 9D 23 78 */ mr r29, r4 +/* 80128344 001252A4 7F 83 E3 78 */ mr r3, r28 +/* 80128348 001252A8 4B F2 B5 75 */ bl GetMaterialFilter__6CActorCFv +/* 8012834C 001252AC 80 83 00 00 */ lwz r4, 0(r3) +/* 80128350 001252B0 38 00 00 03 */ li r0, 3 +/* 80128354 001252B4 80 C3 00 04 */ lwz r6, 4(r3) +/* 80128358 001252B8 7F 83 E3 78 */ mr r3, r28 +/* 8012835C 001252BC 7C 85 F3 78 */ or r5, r4, r30 +/* 80128360 001252C0 38 81 00 08 */ addi r4, r1, 8 +/* 80128364 001252C4 7C C6 EB 78 */ or r6, r6, r29 +/* 80128368 001252C8 90 A1 00 08 */ stw r5, 8(r1) +/* 8012836C 001252CC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80128370 001252D0 80 BF 00 08 */ lwz r5, 8(r31) +/* 80128374 001252D4 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 80128378 001252D8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8012837C 001252DC 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80128380 001252E0 90 01 00 18 */ stw r0, 0x18(r1) +/* 80128384 001252E4 4B F2 B5 1D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80128388 001252E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8012838C 001252EC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80128390 001252F0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80128394 001252F4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80128398 001252F8 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8012839C 001252FC 7C 08 03 A6 */ mtlr r0 +/* 801283A0 00125300 38 21 00 30 */ addi r1, r1, 0x30 +/* 801283A4 00125304 4E 80 00 20 */ blr + +.global SetCinematicCollision__12CSpacePirateFR13CStateManager +SetCinematicCollision__12CSpacePirateFR13CStateManager: +/* 801283A8 00125308 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801283AC 0012530C 7C 08 02 A6 */ mflr r0 +/* 801283B0 00125310 7C 85 23 78 */ mr r5, r4 +/* 801283B4 00125314 38 80 00 30 */ li r4, 0x30 +/* 801283B8 00125318 90 01 00 34 */ stw r0, 0x34(r1) +/* 801283BC 0012531C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801283C0 00125320 93 C1 00 28 */ stw r30, 0x28(r1) +/* 801283C4 00125324 93 A1 00 24 */ stw r29, 0x24(r1) +/* 801283C8 00125328 7C 7D 1B 78 */ mr r29, r3 +/* 801283CC 0012532C 4B F2 BB B5 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 801283D0 00125330 7F A3 EB 78 */ mr r3, r29 +/* 801283D4 00125334 4B F2 B4 E9 */ bl GetMaterialFilter__6CActorCFv +/* 801283D8 00125338 83 E3 00 00 */ lwz r31, 0(r3) +/* 801283DC 0012533C 83 C3 00 04 */ lwz r30, 4(r3) +/* 801283E0 00125340 7F A3 EB 78 */ mr r3, r29 +/* 801283E4 00125344 4B F2 B4 D9 */ bl GetMaterialFilter__6CActorCFv +/* 801283E8 00125348 3C 80 FF FF */ lis r4, 0xFFFEFFFF@ha +/* 801283EC 0012534C 38 C0 FF FF */ li r6, -1 +/* 801283F0 00125350 38 A4 FF FF */ addi r5, r4, 0xFFFEFFFF@l +/* 801283F4 00125354 38 00 00 03 */ li r0, 3 +/* 801283F8 00125358 7F C6 30 38 */ and r6, r30, r6 +/* 801283FC 0012535C 38 81 00 08 */ addi r4, r1, 8 +/* 80128400 00125360 7F E5 28 38 */ and r5, r31, r5 +/* 80128404 00125364 90 C1 00 0C */ stw r6, 0xc(r1) +/* 80128408 00125368 90 A1 00 08 */ stw r5, 8(r1) +/* 8012840C 0012536C 80 A3 00 08 */ lwz r5, 8(r3) +/* 80128410 00125370 80 C3 00 0C */ lwz r6, 0xc(r3) +/* 80128414 00125374 7F A3 EB 78 */ mr r3, r29 +/* 80128418 00125378 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8012841C 0012537C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80128420 00125380 90 01 00 18 */ stw r0, 0x18(r1) +/* 80128424 00125384 4B F2 B4 7D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 80128428 00125388 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8012842C 0012538C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80128430 00125390 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80128434 00125394 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80128438 00125398 7C 08 03 A6 */ mtlr r0 +/* 8012843C 0012539C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80128440 001253A0 4E 80 00 20 */ blr + +.global GetTargetPos__12CSpacePirateFR13CStateManager +GetTargetPos__12CSpacePirateFR13CStateManager: +/* 80128444 001253A4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80128448 001253A8 7C 08 02 A6 */ mflr r0 +/* 8012844C 001253AC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80128450 001253B0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80128454 001253B4 7C BF 2B 78 */ mr r31, r5 +/* 80128458 001253B8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8012845C 001253BC 7C 9E 23 78 */ mr r30, r4 +/* 80128460 001253C0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80128464 001253C4 7C 7D 1B 78 */ mr r29, r3 +/* 80128468 001253C8 80 85 08 4C */ lwz r4, 0x84c(r5) +/* 8012846C 001253CC A0 7E 07 C0 */ lhz r3, 0x7c0(r30) +/* 80128470 001253D0 A0 04 00 08 */ lhz r0, 8(r4) +/* 80128474 001253D4 7C 03 00 40 */ cmplw r3, r0 +/* 80128478 001253D8 41 82 00 80 */ beq lbl_801284F8 +/* 8012847C 001253DC A0 1E 07 C0 */ lhz r0, 0x7c0(r30) +/* 80128480 001253E0 7F E3 FB 78 */ mr r3, r31 +/* 80128484 001253E4 38 81 00 10 */ addi r4, r1, 0x10 +/* 80128488 001253E8 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8012848C 001253EC 4B F2 41 19 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80128490 001253F0 7C 64 1B 78 */ mr r4, r3 +/* 80128494 001253F4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80128498 001253F8 4B F8 77 F9 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8012849C 001253FC 80 63 00 04 */ lwz r3, 4(r3) +/* 801284A0 00125400 28 03 00 00 */ cmplwi r3, 0 +/* 801284A4 00125404 41 82 00 2C */ beq lbl_801284D0 +/* 801284A8 00125408 88 03 00 30 */ lbz r0, 0x30(r3) +/* 801284AC 0012540C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801284B0 00125410 41 82 00 20 */ beq lbl_801284D0 +/* 801284B4 00125414 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 801284B8 00125418 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 801284BC 0012541C C0 03 00 40 */ lfs f0, 0x40(r3) +/* 801284C0 00125420 D0 1D 00 00 */ stfs f0, 0(r29) +/* 801284C4 00125424 D0 3D 00 04 */ stfs f1, 4(r29) +/* 801284C8 00125428 D0 5D 00 08 */ stfs f2, 8(r29) +/* 801284CC 0012542C 48 00 00 48 */ b lbl_80128514 +lbl_801284D0: +/* 801284D0 00125430 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 801284D4 00125434 38 7E 07 64 */ addi r3, r30, 0x764 +/* 801284D8 00125438 38 81 00 0C */ addi r4, r1, 0xc +/* 801284DC 0012543C A0 05 00 08 */ lhz r0, 8(r5) +/* 801284E0 00125440 B0 01 00 08 */ sth r0, 8(r1) +/* 801284E4 00125444 B0 01 00 0C */ sth r0, 0xc(r1) +/* 801284E8 00125448 48 04 CD 31 */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 801284EC 0012544C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 801284F0 00125450 A0 03 00 08 */ lhz r0, 8(r3) +/* 801284F4 00125454 B0 1E 07 C0 */ sth r0, 0x7c0(r30) +lbl_801284F8: +/* 801284F8 00125458 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 801284FC 0012545C C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80128500 00125460 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80128504 00125464 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80128508 00125468 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8012850C 0012546C D0 3D 00 04 */ stfs f1, 4(r29) +/* 80128510 00125470 D0 5D 00 08 */ stfs f2, 8(r29) +lbl_80128514: +/* 80128514 00125474 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80128518 00125478 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8012851C 0012547C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80128520 00125480 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80128524 00125484 7C 08 03 A6 */ mtlr r0 +/* 80128528 00125488 38 21 00 30 */ addi r1, r1, 0x30 +/* 8012852C 0012548C 4E 80 00 20 */ blr + +.global CheckBlade__12CSpacePirateFR13CStateManager +CheckBlade__12CSpacePirateFR13CStateManager: +/* 80128530 00125490 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80128534 00125494 7C 08 02 A6 */ mflr r0 +/* 80128538 00125498 90 01 01 04 */ stw r0, 0x104(r1) +/* 8012853C 0012549C 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 80128540 001254A0 7C 7F 1B 78 */ mr r31, r3 +/* 80128544 001254A4 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 80128548 001254A8 93 A1 00 F4 */ stw r29, 0xf4(r1) +/* 8012854C 001254AC 7C 9D 23 78 */ mr r29, r4 +/* 80128550 001254B0 88 03 06 38 */ lbz r0, 0x638(r3) +/* 80128554 001254B4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80128558 001254B8 40 82 01 68 */ bne lbl_801286C0 +/* 8012855C 001254BC 88 1F 07 B9 */ lbz r0, 0x7b9(r31) +/* 80128560 001254C0 28 00 00 FF */ cmplwi r0, 0xff +/* 80128564 001254C4 41 82 01 5C */ beq lbl_801286C0 +/* 80128568 001254C8 A0 1F 07 C0 */ lhz r0, 0x7c0(r31) +/* 8012856C 001254CC 7F A3 EB 78 */ mr r3, r29 +/* 80128570 001254D0 38 81 00 20 */ addi r4, r1, 0x20 +/* 80128574 001254D4 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80128578 001254D8 4B F2 3F FD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8012857C 001254DC 7C 64 1B 78 */ mr r4, r3 +/* 80128580 001254E0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80128584 001254E4 4B F8 41 61 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 80128588 001254E8 83 C3 00 04 */ lwz r30, 4(r3) +/* 8012858C 001254EC 28 1E 00 00 */ cmplwi r30, 0 +/* 80128590 001254F0 41 82 01 30 */ beq lbl_801286C0 +/* 80128594 001254F4 7F E4 FB 78 */ mr r4, r31 +/* 80128598 001254F8 38 61 00 90 */ addi r3, r1, 0x90 +/* 8012859C 001254FC 38 BF 07 B9 */ addi r5, r31, 0x7b9 +/* 801285A0 00125500 4B F5 03 19 */ bl GetLctrTransform__10CPatternedCFRC6CSegId +/* 801285A4 00125504 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 801285A8 00125508 38 81 00 90 */ addi r4, r1, 0x90 +/* 801285AC 0012550C 48 1E A5 C9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801285B0 00125510 80 DF 00 64 */ lwz r6, 0x64(r31) +/* 801285B4 00125514 38 61 00 78 */ addi r3, r1, 0x78 +/* 801285B8 00125518 C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) +/* 801285BC 0012551C 38 81 00 38 */ addi r4, r1, 0x38 +/* 801285C0 00125520 C0 66 00 08 */ lfs f3, 8(r6) +/* 801285C4 00125524 38 A1 00 2C */ addi r5, r1, 0x2c +/* 801285C8 00125528 C0 26 00 04 */ lfs f1, 4(r6) +/* 801285CC 0012552C C0 06 00 00 */ lfs f0, 0(r6) +/* 801285D0 00125530 EC C3 00 B2 */ fmuls f6, f3, f2 +/* 801285D4 00125534 C0 E1 00 EC */ lfs f7, 0xec(r1) +/* 801285D8 00125538 EC A1 00 B2 */ fmuls f5, f1, f2 +/* 801285DC 0012553C C1 01 00 DC */ lfs f8, 0xdc(r1) +/* 801285E0 00125540 EC 20 00 B2 */ fmuls f1, f0, f2 +/* 801285E4 00125544 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 801285E8 00125548 EC 08 28 2A */ fadds f0, f8, f5 +/* 801285EC 0012554C EC 82 08 2A */ fadds f4, f2, f1 +/* 801285F0 00125550 EC 67 30 2A */ fadds f3, f7, f6 +/* 801285F4 00125554 EC 42 08 28 */ fsubs f2, f2, f1 +/* 801285F8 00125558 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 801285FC 0012555C EC 28 28 28 */ fsubs f1, f8, f5 +/* 80128600 00125560 EC 07 30 28 */ fsubs f0, f7, f6 +/* 80128604 00125564 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 80128608 00125568 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8012860C 0012556C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80128610 00125570 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80128614 00125574 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 80128618 00125578 48 20 FE F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8012861C 0012557C 7F C4 F3 78 */ mr r4, r30 +/* 80128620 00125580 38 61 00 60 */ addi r3, r1, 0x60 +/* 80128624 00125584 4B FF 23 09 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 80128628 00125588 38 61 00 78 */ addi r3, r1, 0x78 +/* 8012862C 0012558C 38 81 00 60 */ addi r4, r1, 0x60 +/* 80128630 00125590 48 20 F5 55 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox +/* 80128634 00125594 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80128638 00125598 41 82 00 88 */ beq lbl_801286C0 +/* 8012863C 0012559C 80 AD 8A 90 */ lwz r5, lbl_805A7650@sda21(r13) +/* 80128640 001255A0 38 60 00 00 */ li r3, 0 +/* 80128644 001255A4 38 80 00 01 */ li r4, 1 +/* 80128648 001255A8 48 26 18 AD */ bl __shl2i +/* 8012864C 001255AC 39 40 00 00 */ li r10, 0 +/* 80128650 001255B0 38 00 00 03 */ li r0, 3 +/* 80128654 001255B4 90 81 00 4C */ stw r4, 0x4c(r1) +/* 80128658 001255B8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8012865C 001255BC 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 80128660 001255C0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80128664 001255C4 90 61 00 48 */ stw r3, 0x48(r1) +/* 80128668 001255C8 38 81 00 1C */ addi r4, r1, 0x1c +/* 8012866C 001255CC 7F A3 EB 78 */ mr r3, r29 +/* 80128670 001255D0 38 C1 00 0C */ addi r6, r1, 0xc +/* 80128674 001255D4 91 41 00 54 */ stw r10, 0x54(r1) +/* 80128678 001255D8 38 FF 05 B4 */ addi r7, r31, 0x5b4 +/* 8012867C 001255DC 39 01 00 48 */ addi r8, r1, 0x48 +/* 80128680 001255E0 91 41 00 50 */ stw r10, 0x50(r1) +/* 80128684 001255E4 90 01 00 58 */ stw r0, 0x58(r1) +/* 80128688 001255E8 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8012868C 001255EC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80128690 001255F0 A1 5E 00 08 */ lhz r10, 8(r30) +/* 80128694 001255F4 B0 01 00 08 */ sth r0, 8(r1) +/* 80128698 001255F8 B1 41 00 14 */ sth r10, 0x14(r1) +/* 8012869C 001255FC A0 1F 00 08 */ lhz r0, 8(r31) +/* 801286A0 00125600 B1 41 00 10 */ sth r10, 0x10(r1) +/* 801286A4 00125604 B0 01 00 18 */ sth r0, 0x18(r1) +/* 801286A8 00125608 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 801286AC 0012560C 4B F2 19 F5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 801286B0 00125610 88 1F 06 38 */ lbz r0, 0x638(r31) +/* 801286B4 00125614 38 60 00 01 */ li r3, 1 +/* 801286B8 00125618 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 801286BC 0012561C 98 1F 06 38 */ stb r0, 0x638(r31) +lbl_801286C0: +/* 801286C0 00125620 80 01 01 04 */ lwz r0, 0x104(r1) +/* 801286C4 00125624 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 801286C8 00125628 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 801286CC 0012562C 83 A1 00 F4 */ lwz r29, 0xf4(r1) +/* 801286D0 00125630 7C 08 03 A6 */ mtlr r0 +/* 801286D4 00125634 38 21 01 00 */ addi r1, r1, 0x100 +/* 801286D8 00125638 4E 80 00 20 */ blr + +.global GetStrafeDir__12CSpacePirateCFR13CStateManagerf +GetStrafeDir__12CSpacePirateCFR13CStateManagerf: +/* 801286DC 0012563C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 801286E0 00125640 7C 08 02 A6 */ mflr r0 +/* 801286E4 00125644 90 01 00 84 */ stw r0, 0x84(r1) +/* 801286E8 00125648 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 801286EC 0012564C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 801286F0 00125650 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 801286F4 00125654 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 801286F8 00125658 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 801286FC 0012565C FF C0 08 90 */ fmr f30, f1 +/* 80128700 00125660 83 64 08 38 */ lwz r27, 0x838(r4) +/* 80128704 00125664 7C 9C 23 78 */ mr r28, r4 +/* 80128708 00125668 7C 79 1B 78 */ mr r25, r3 +/* 8012870C 0012566C AB 5B 20 08 */ lha r26, 0x2008(r27) +/* 80128710 00125670 3B E0 00 01 */ li r31, 1 +/* 80128714 00125674 EF FE 07 B2 */ fmuls f31, f30, f30 +/* 80128718 00125678 3B C0 00 01 */ li r30, 1 +/* 8012871C 0012567C 3B A0 FF FF */ li r29, -1 +/* 80128720 00125680 48 00 01 18 */ b lbl_80128838 +lbl_80128724: +/* 80128724 00125684 7F 63 DB 78 */ mr r3, r27 +/* 80128728 00125688 7F 44 D3 78 */ mr r4, r26 +/* 8012872C 0012568C 4B EE 75 B1 */ bl __vc__11CObjectListCFi +/* 80128730 00125690 7C 64 1B 78 */ mr r4, r3 +/* 80128734 00125694 38 61 00 08 */ addi r3, r1, 8 +/* 80128738 00125698 4B F7 CC 99 */ bl sub_800a53d0 +/* 8012873C 0012569C 4B F7 CC 69 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" +/* 80128740 001256A0 28 03 00 00 */ cmplwi r3, 0 +/* 80128744 001256A4 41 82 00 D8 */ beq lbl_8012881C +/* 80128748 001256A8 7C 03 C8 40 */ cmplw r3, r25 +/* 8012874C 001256AC 41 82 00 D0 */ beq lbl_8012881C +/* 80128750 001256B0 80 83 00 04 */ lwz r4, 4(r3) +/* 80128754 001256B4 80 19 00 04 */ lwz r0, 4(r25) +/* 80128758 001256B8 7C 04 00 00 */ cmpw r4, r0 +/* 8012875C 001256BC 40 82 00 C0 */ bne lbl_8012881C +/* 80128760 001256C0 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80128764 001256C4 C0 19 00 50 */ lfs f0, 0x50(r25) +/* 80128768 001256C8 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 8012876C 001256CC EC 81 00 28 */ fsubs f4, f1, f0 +/* 80128770 001256D0 C0 19 00 40 */ lfs f0, 0x40(r25) +/* 80128774 001256D4 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80128778 001256D8 EC A3 00 28 */ fsubs f5, f3, f0 +/* 8012877C 001256DC C0 39 00 60 */ lfs f1, 0x60(r25) +/* 80128780 001256E0 EC 04 01 32 */ fmuls f0, f4, f4 +/* 80128784 001256E4 EC 62 08 28 */ fsubs f3, f2, f1 +/* 80128788 001256E8 EC 05 01 7A */ fmadds f0, f5, f5, f0 +/* 8012878C 001256EC EC E3 00 FA */ fmadds f7, f3, f3, f0 +/* 80128790 001256F0 FC 07 F8 40 */ fcmpo cr0, f7, f31 +/* 80128794 001256F4 40 80 00 88 */ bge lbl_8012881C +/* 80128798 001256F8 C0 D9 00 44 */ lfs f6, 0x44(r25) +/* 8012879C 001256FC C0 59 00 34 */ lfs f2, 0x34(r25) +/* 801287A0 00125700 EC 24 01 B2 */ fmuls f1, f4, f6 +/* 801287A4 00125704 C0 99 00 54 */ lfs f4, 0x54(r25) +/* 801287A8 00125708 C0 02 98 58 */ lfs f0, lbl_805AB578@sda21(r2) +/* 801287AC 0012570C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 801287B0 00125710 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 801287B4 00125714 EC 00 01 F2 */ fmuls f0, f0, f7 +/* 801287B8 00125718 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 801287BC 0012571C EC 43 09 3A */ fmadds f2, f3, f4, f1 +/* 801287C0 00125720 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 801287C4 00125724 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801287C8 00125728 41 81 00 1C */ bgt lbl_801287E4 +/* 801287CC 0012572C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801287D0 00125730 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801287D4 00125734 40 81 00 18 */ ble lbl_801287EC +/* 801287D8 00125738 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) +/* 801287DC 0012573C FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 801287E0 00125740 40 80 00 0C */ bge lbl_801287EC +lbl_801287E4: +/* 801287E4 00125744 3B C0 00 00 */ li r30, 0 +/* 801287E8 00125748 48 00 00 34 */ b lbl_8012881C +lbl_801287EC: +/* 801287EC 0012574C FC 00 38 50 */ fneg f0, f7 +/* 801287F0 00125750 C0 22 98 58 */ lfs f1, lbl_805AB578@sda21(r2) +/* 801287F4 00125754 EC 01 00 32 */ fmuls f0, f1, f0 +/* 801287F8 00125758 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 801287FC 0012575C 41 80 00 1C */ blt lbl_80128818 +/* 80128800 00125760 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80128804 00125764 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80128808 00125768 40 80 00 14 */ bge lbl_8012881C +/* 8012880C 0012576C C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) +/* 80128810 00125770 FC 07 00 40 */ fcmpo cr0, f7, f0 +/* 80128814 00125774 40 80 00 08 */ bge lbl_8012881C +lbl_80128818: +/* 80128818 00125778 3B E0 00 00 */ li r31, 0 +lbl_8012881C: +/* 8012881C 0012577C 2C 1A FF FF */ cmpwi r26, -1 +/* 80128820 00125780 41 82 00 14 */ beq lbl_80128834 +/* 80128824 00125784 57 43 18 38 */ slwi r3, r26, 3 +/* 80128828 00125788 38 03 00 08 */ addi r0, r3, 8 +/* 8012882C 0012578C 7F 5B 02 AE */ lhax r26, r27, r0 +/* 80128830 00125790 48 00 00 08 */ b lbl_80128838 +lbl_80128834: +/* 80128834 00125794 3B 40 FF FF */ li r26, -1 +lbl_80128838: +/* 80128838 00125798 2C 1A FF FF */ cmpwi r26, -1 +/* 8012883C 0012579C 40 82 FE E8 */ bne lbl_80128724 +/* 80128840 001257A0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80128844 001257A4 41 82 00 34 */ beq lbl_80128878 +/* 80128848 001257A8 C0 79 00 54 */ lfs f3, 0x54(r25) +/* 8012884C 001257AC FC 20 F0 90 */ fmr f1, f30 +/* 80128850 001257B0 C0 59 00 44 */ lfs f2, 0x44(r25) +/* 80128854 001257B4 7F 23 CB 78 */ mr r3, r25 +/* 80128858 001257B8 C0 19 00 34 */ lfs f0, 0x34(r25) +/* 8012885C 001257BC 7F 84 E3 78 */ mr r4, r28 +/* 80128860 001257C0 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80128864 001257C4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80128868 001257C8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8012886C 001257CC D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 80128870 001257D0 48 00 00 C9 */ bl CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff +/* 80128874 001257D4 7C 7E 1B 78 */ mr r30, r3 +lbl_80128878: +/* 80128878 001257D8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8012887C 001257DC 41 82 00 4C */ beq lbl_801288C8 +/* 80128880 001257E0 C0 D9 00 54 */ lfs f6, 0x54(r25) +/* 80128884 001257E4 FC 20 F0 90 */ fmr f1, f30 +/* 80128888 001257E8 C0 B9 00 44 */ lfs f5, 0x44(r25) +/* 8012888C 001257EC 7F 23 CB 78 */ mr r3, r25 +/* 80128890 001257F0 C0 99 00 34 */ lfs f4, 0x34(r25) +/* 80128894 001257F4 FC 00 30 50 */ fneg f0, f6 +/* 80128898 001257F8 FC 40 28 50 */ fneg f2, f5 +/* 8012889C 001257FC FC 60 20 50 */ fneg f3, f4 +/* 801288A0 00125800 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 801288A4 00125804 7F 84 E3 78 */ mr r4, r28 +/* 801288A8 00125808 38 A1 00 18 */ addi r5, r1, 0x18 +/* 801288AC 0012580C D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 801288B0 00125810 D0 C1 00 14 */ stfs f6, 0x14(r1) +/* 801288B4 00125814 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 801288B8 00125818 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 801288BC 0012581C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 801288C0 00125820 48 00 00 79 */ bl CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff +/* 801288C4 00125824 7C 7F 1B 78 */ mr r31, r3 +lbl_801288C8: +/* 801288C8 00125828 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 801288CC 0012582C 41 82 00 28 */ beq lbl_801288F4 +/* 801288D0 00125830 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 801288D4 00125834 41 82 00 20 */ beq lbl_801288F4 +/* 801288D8 00125838 80 7C 09 00 */ lwz r3, 0x900(r28) +/* 801288DC 0012583C 48 1E 9C 45 */ bl Next__9CRandom16Fv +/* 801288E0 00125840 54 60 04 63 */ rlwinm. r0, r3, 0, 0x11, 0x11 +/* 801288E4 00125844 41 82 00 0C */ beq lbl_801288F0 +/* 801288E8 00125848 3B E0 00 00 */ li r31, 0 +/* 801288EC 0012584C 48 00 00 08 */ b lbl_801288F4 +lbl_801288F0: +/* 801288F0 00125850 3B C0 00 00 */ li r30, 0 +lbl_801288F4: +/* 801288F4 00125854 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 801288F8 00125858 41 82 00 0C */ beq lbl_80128904 +/* 801288FC 0012585C 3B A0 00 02 */ li r29, 2 +/* 80128900 00125860 48 00 00 10 */ b lbl_80128910 +lbl_80128904: +/* 80128904 00125864 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80128908 00125868 41 82 00 08 */ beq lbl_80128910 +/* 8012890C 0012586C 3B A0 00 03 */ li r29, 3 +lbl_80128910: +/* 80128910 00125870 7F A3 EB 78 */ mr r3, r29 +/* 80128914 00125874 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 80128918 00125878 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 8012891C 0012587C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 80128920 00125880 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 80128924 00125884 BB 21 00 44 */ lmw r25, 0x44(r1) +/* 80128928 00125888 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8012892C 0012588C 7C 08 03 A6 */ mtlr r0 +/* 80128930 00125890 38 21 00 80 */ addi r1, r1, 0x80 +/* 80128934 00125894 4E 80 00 20 */ blr + +.global CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff +CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff: +/* 80128938 00125898 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 8012893C 0012589C 7C 08 02 A6 */ mflr r0 +/* 80128940 001258A0 90 01 01 24 */ stw r0, 0x124(r1) +/* 80128944 001258A4 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 80128948 001258A8 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 8012894C 001258AC BF 61 00 FC */ stmw r27, 0xfc(r1) +/* 80128950 001258B0 FF E0 08 90 */ fmr f31, f1 +/* 80128954 001258B4 7C 7B 1B 78 */ mr r27, r3 +/* 80128958 001258B8 7C 9C 23 78 */ mr r28, r4 +/* 8012895C 001258BC 7C BD 2B 78 */ mr r29, r5 +/* 80128960 001258C0 7F 64 DB 78 */ mr r4, r27 +/* 80128964 001258C4 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80128968 001258C8 4B FF 1F C5 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8012896C 001258CC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80128970 001258D0 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80128974 001258D4 48 20 EC 99 */ bl GetCenterPoint__6CAABoxCFv +/* 80128978 001258D8 C0 5D 00 04 */ lfs f2, 4(r29) +/* 8012897C 001258DC 38 00 00 00 */ li r0, 0 +/* 80128980 001258E0 C0 3D 00 08 */ lfs f1, 8(r29) +/* 80128984 001258E4 7F 63 DB 78 */ mr r3, r27 +/* 80128988 001258E8 C0 1D 00 00 */ lfs f0, 0(r29) +/* 8012898C 001258EC EC DF 00 B2 */ fmuls f6, f31, f2 +/* 80128990 001258F0 C0 61 00 CC */ lfs f3, 0xcc(r1) +/* 80128994 001258F4 EC BF 00 72 */ fmuls f5, f31, f1 +/* 80128998 001258F8 C0 41 00 D0 */ lfs f2, 0xd0(r1) +/* 8012899C 001258FC EC 3F 00 32 */ fmuls f1, f31, f0 +/* 801289A0 00125900 C0 81 00 C8 */ lfs f4, 0xc8(r1) +/* 801289A4 00125904 EC E3 30 2A */ fadds f7, f3, f6 +/* 801289A8 00125908 D0 61 00 D8 */ stfs f3, 0xd8(r1) +/* 801289AC 0012590C EC 62 28 2A */ fadds f3, f2, f5 +/* 801289B0 00125910 7F 84 E3 78 */ mr r4, r28 +/* 801289B4 00125914 EC 04 08 2A */ fadds f0, f4, f1 +/* 801289B8 00125918 D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 801289BC 0012591C D0 41 00 DC */ stfs f2, 0xdc(r1) +/* 801289C0 00125920 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 801289C4 00125924 38 C1 00 BC */ addi r6, r1, 0xbc +/* 801289C8 00125928 38 E1 00 18 */ addi r7, r1, 0x18 +/* 801289CC 0012592C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 801289D0 00125930 3B C0 00 01 */ li r30, 1 +/* 801289D4 00125934 90 01 00 18 */ stw r0, 0x18(r1) +/* 801289D8 00125938 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 801289DC 0012593C D0 C1 00 B4 */ stfs f6, 0xb4(r1) +/* 801289E0 00125940 D0 A1 00 B8 */ stfs f5, 0xb8(r1) +/* 801289E4 00125944 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 801289E8 00125948 D0 E1 00 C0 */ stfs f7, 0xc0(r1) +/* 801289EC 0012594C D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 801289F0 00125950 48 00 08 A1 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList +/* 801289F4 00125954 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801289F8 00125958 41 82 01 B4 */ beq lbl_80128BAC +/* 801289FC 0012595C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80128A00 00125960 38 00 00 00 */ li r0, 0 +/* 80128A04 00125964 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 80128A08 00125968 C0 5D 00 00 */ lfs f2, 0(r29) +/* 80128A0C 0012596C EC 60 07 F2 */ fmuls f3, f0, f31 +/* 80128A10 00125970 3B E3 67 00 */ addi r31, r3, lbl_805A6700@l +/* 80128A14 00125974 C0 3D 00 04 */ lfs f1, 4(r29) +/* 80128A18 00125978 7F 63 DB 78 */ mr r3, r27 +/* 80128A1C 0012597C C0 1D 00 08 */ lfs f0, 8(r29) +/* 80128A20 00125980 7F 84 E3 78 */ mr r4, r28 +/* 80128A24 00125984 EC A3 00 B2 */ fmuls f5, f3, f2 +/* 80128A28 00125988 C0 41 00 D4 */ lfs f2, 0xd4(r1) +/* 80128A2C 0012598C EC 83 00 72 */ fmuls f4, f3, f1 +/* 80128A30 00125990 C0 21 00 D8 */ lfs f1, 0xd8(r1) +/* 80128A34 00125994 EC 63 00 32 */ fmuls f3, f3, f0 +/* 80128A38 00125998 C0 C1 00 DC */ lfs f6, 0xdc(r1) +/* 80128A3C 0012599C ED 02 28 2A */ fadds f8, f2, f5 +/* 80128A40 001259A0 C0 42 98 1C */ lfs f2, lbl_805AB53C@sda21(r2) +/* 80128A44 001259A4 EC E1 20 2A */ fadds f7, f1, f4 +/* 80128A48 001259A8 C0 1F 00 04 */ lfs f0, 4(r31) +/* 80128A4C 001259AC EC C6 18 2A */ fadds f6, f6, f3 +/* 80128A50 001259B0 C0 3F 00 08 */ lfs f1, 8(r31) +/* 80128A54 001259B4 ED 42 00 32 */ fmuls f10, f2, f0 +/* 80128A58 001259B8 C0 1F 00 00 */ lfs f0, 0(r31) +/* 80128A5C 001259BC ED 22 00 72 */ fmuls f9, f2, f1 +/* 80128A60 001259C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80128A64 001259C4 EC 22 00 32 */ fmuls f1, f2, f0 +/* 80128A68 001259C8 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 80128A6C 001259CC ED 67 50 2A */ fadds f11, f7, f10 +/* 80128A70 001259D0 90 01 00 10 */ stw r0, 0x10(r1) +/* 80128A74 001259D4 EC 46 48 2A */ fadds f2, f6, f9 +/* 80128A78 001259D8 38 C1 00 8C */ addi r6, r1, 0x8c +/* 80128A7C 001259DC EC 08 08 2A */ fadds f0, f8, f1 +/* 80128A80 001259E0 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 80128A84 001259E4 D1 41 00 6C */ stfs f10, 0x6c(r1) +/* 80128A88 001259E8 38 E1 00 10 */ addi r7, r1, 0x10 +/* 80128A8C 001259EC D1 21 00 70 */ stfs f9, 0x70(r1) +/* 80128A90 001259F0 D0 A1 00 74 */ stfs f5, 0x74(r1) +/* 80128A94 001259F4 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 80128A98 001259F8 D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 80128A9C 001259FC D1 01 00 80 */ stfs f8, 0x80(r1) +/* 80128AA0 00125A00 D0 E1 00 84 */ stfs f7, 0x84(r1) +/* 80128AA4 00125A04 D0 C1 00 88 */ stfs f6, 0x88(r1) +/* 80128AA8 00125A08 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 80128AAC 00125A0C D1 61 00 90 */ stfs f11, 0x90(r1) +/* 80128AB0 00125A10 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 80128AB4 00125A14 D0 A1 00 98 */ stfs f5, 0x98(r1) +/* 80128AB8 00125A18 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 80128ABC 00125A1C D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 80128AC0 00125A20 D1 01 00 A4 */ stfs f8, 0xa4(r1) +/* 80128AC4 00125A24 D0 E1 00 A8 */ stfs f7, 0xa8(r1) +/* 80128AC8 00125A28 D0 C1 00 AC */ stfs f6, 0xac(r1) +/* 80128ACC 00125A2C 48 00 07 C5 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList +/* 80128AD0 00125A30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80128AD4 00125A34 40 82 00 D8 */ bne lbl_80128BAC +/* 80128AD8 00125A38 C0 1D 00 04 */ lfs f0, 4(r29) +/* 80128ADC 00125A3C 38 00 00 00 */ li r0, 0 +/* 80128AE0 00125A40 C0 3D 00 08 */ lfs f1, 8(r29) +/* 80128AE4 00125A44 3C 60 80 5A */ lis r3, lbl_805A6700@ha +/* 80128AE8 00125A48 EC BF 00 32 */ fmuls f5, f31, f0 +/* 80128AEC 00125A4C C0 1D 00 00 */ lfs f0, 0(r29) +/* 80128AF0 00125A50 EC 9F 00 72 */ fmuls f4, f31, f1 +/* 80128AF4 00125A54 38 83 67 00 */ addi r4, r3, lbl_805A6700@l +/* 80128AF8 00125A58 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80128AFC 00125A5C C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 80128B00 00125A60 C0 41 00 D8 */ lfs f2, 0xd8(r1) +/* 80128B04 00125A64 7F 63 DB 78 */ mr r3, r27 +/* 80128B08 00125A68 ED 00 08 2A */ fadds f8, f0, f1 +/* 80128B0C 00125A6C C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 80128B10 00125A70 EC E2 28 2A */ fadds f7, f2, f5 +/* 80128B14 00125A74 C0 62 98 1C */ lfs f3, lbl_805AB53C@sda21(r2) +/* 80128B18 00125A78 EC C0 20 2A */ fadds f6, f0, f4 +/* 80128B1C 00125A7C C0 1F 00 04 */ lfs f0, 4(r31) +/* 80128B20 00125A80 ED 43 00 32 */ fmuls f10, f3, f0 +/* 80128B24 00125A84 C0 5F 00 08 */ lfs f2, 8(r31) +/* 80128B28 00125A88 C0 04 00 00 */ lfs f0, 0(r4) +/* 80128B2C 00125A8C 7F 84 E3 78 */ mr r4, r28 +/* 80128B30 00125A90 ED 23 00 B2 */ fmuls f9, f3, f2 +/* 80128B34 00125A94 90 01 00 0C */ stw r0, 0xc(r1) +/* 80128B38 00125A98 EC 43 00 32 */ fmuls f2, f3, f0 +/* 80128B3C 00125A9C 90 01 00 08 */ stw r0, 8(r1) +/* 80128B40 00125AA0 ED 67 50 2A */ fadds f11, f7, f10 +/* 80128B44 00125AA4 38 A1 00 5C */ addi r5, r1, 0x5c +/* 80128B48 00125AA8 EC 66 48 2A */ fadds f3, f6, f9 +/* 80128B4C 00125AAC D1 41 00 24 */ stfs f10, 0x24(r1) +/* 80128B50 00125AB0 EC 08 10 2A */ fadds f0, f8, f2 +/* 80128B54 00125AB4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80128B58 00125AB8 38 C1 00 44 */ addi r6, r1, 0x44 +/* 80128B5C 00125ABC 38 E1 00 08 */ addi r7, r1, 8 +/* 80128B60 00125AC0 D1 21 00 28 */ stfs f9, 0x28(r1) +/* 80128B64 00125AC4 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80128B68 00125AC8 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80128B6C 00125ACC D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80128B70 00125AD0 D1 01 00 38 */ stfs f8, 0x38(r1) +/* 80128B74 00125AD4 D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 80128B78 00125AD8 D0 C1 00 40 */ stfs f6, 0x40(r1) +/* 80128B7C 00125ADC D0 01 00 44 */ stfs f0, 0x44(r1) +/* 80128B80 00125AE0 D1 61 00 48 */ stfs f11, 0x48(r1) +/* 80128B84 00125AE4 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 80128B88 00125AE8 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 80128B8C 00125AEC D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 80128B90 00125AF0 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 80128B94 00125AF4 D1 01 00 5C */ stfs f8, 0x5c(r1) +/* 80128B98 00125AF8 D0 E1 00 60 */ stfs f7, 0x60(r1) +/* 80128B9C 00125AFC D0 C1 00 64 */ stfs f6, 0x64(r1) +/* 80128BA0 00125B00 48 00 06 F1 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList +/* 80128BA4 00125B04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80128BA8 00125B08 41 82 00 08 */ beq lbl_80128BB0 +lbl_80128BAC: +/* 80128BAC 00125B0C 3B C0 00 00 */ li r30, 0 +lbl_80128BB0: +/* 80128BB0 00125B10 57 C3 06 3E */ clrlwi r3, r30, 0x18 +/* 80128BB4 00125B14 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 80128BB8 00125B18 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 80128BBC 00125B1C BB 61 00 FC */ lmw r27, 0xfc(r1) +/* 80128BC0 00125B20 80 01 01 24 */ lwz r0, 0x124(r1) +/* 80128BC4 00125B24 7C 08 03 A6 */ mtlr r0 +/* 80128BC8 00125B28 38 21 01 20 */ addi r1, r1, 0x120 +/* 80128BCC 00125B2C 4E 80 00 20 */ blr + +.global AvoidActors__12CSpacePirateFR13CStateManager +AvoidActors__12CSpacePirateFR13CStateManager: +/* 80128BD0 00125B30 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80128BD4 00125B34 7C 08 02 A6 */ mflr r0 +/* 80128BD8 00125B38 90 01 00 84 */ stw r0, 0x84(r1) +/* 80128BDC 00125B3C BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 80128BE0 00125B40 7C 7F 1B 78 */ mr r31, r3 +/* 80128BE4 00125B44 83 A4 08 38 */ lwz r29, 0x838(r4) +/* 80128BE8 00125B48 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80128BEC 00125B4C 3B C4 66 A0 */ addi r30, r4, skZero3f@l +/* 80128BF0 00125B50 AB 7D 20 08 */ lha r27, 0x2008(r29) +/* 80128BF4 00125B54 48 00 01 CC */ b lbl_80128DC0 +lbl_80128BF8: +/* 80128BF8 00125B58 7F A3 EB 78 */ mr r3, r29 +/* 80128BFC 00125B5C 7F 64 DB 78 */ mr r4, r27 +/* 80128C00 00125B60 4B EE 70 DD */ bl __vc__11CObjectListCFi +/* 80128C04 00125B64 7C 64 1B 78 */ mr r4, r3 +/* 80128C08 00125B68 38 61 00 0C */ addi r3, r1, 0xc +/* 80128C0C 00125B6C 4B F8 3E 51 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 80128C10 00125B70 83 83 00 04 */ lwz r28, 4(r3) +/* 80128C14 00125B74 28 1C 00 00 */ cmplwi r28, 0 +/* 80128C18 00125B78 41 82 01 8C */ beq lbl_80128DA4 +/* 80128C1C 00125B7C 7C 1C F8 40 */ cmplw r28, r31 +/* 80128C20 00125B80 41 82 01 84 */ beq lbl_80128DA4 +/* 80128C24 00125B84 80 7C 00 04 */ lwz r3, 4(r28) +/* 80128C28 00125B88 80 1F 00 04 */ lwz r0, 4(r31) +/* 80128C2C 00125B8C 7C 03 00 00 */ cmpw r3, r0 +/* 80128C30 00125B90 40 82 01 74 */ bne lbl_80128DA4 +/* 80128C34 00125B94 C0 3F 06 30 */ lfs f1, 0x630(r31) +/* 80128C38 00125B98 7F E5 FB 78 */ mr r5, r31 +/* 80128C3C 00125B9C C0 7C 00 60 */ lfs f3, 0x60(r28) +/* 80128C40 00125BA0 38 61 00 38 */ addi r3, r1, 0x38 +/* 80128C44 00125BA4 C0 5C 00 50 */ lfs f2, 0x50(r28) +/* 80128C48 00125BA8 38 9F 04 5C */ addi r4, r31, 0x45c +/* 80128C4C 00125BAC C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 80128C50 00125BB0 38 C1 00 2C */ addi r6, r1, 0x2c +/* 80128C54 00125BB4 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 80128C58 00125BB8 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80128C5C 00125BBC D0 61 00 34 */ stfs f3, 0x34(r1) +/* 80128C60 00125BC0 48 01 5C 91 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 80128C64 00125BC4 C0 C1 00 38 */ lfs f6, 0x38(r1) +/* 80128C68 00125BC8 38 00 00 00 */ li r0, 0 +/* 80128C6C 00125BCC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80128C70 00125BD0 C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 80128C74 00125BD4 FC 00 30 00 */ fcmpu cr0, f0, f6 +/* 80128C78 00125BD8 C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 80128C7C 00125BDC 40 82 00 14 */ bne lbl_80128C90 +/* 80128C80 00125BE0 FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 80128C84 00125BE4 40 82 00 0C */ bne lbl_80128C90 +/* 80128C88 00125BE8 FC 00 28 00 */ fcmpu cr0, f0, f5 +/* 80128C8C 00125BEC 41 82 00 08 */ beq lbl_80128C94 +lbl_80128C90: +/* 80128C90 00125BF0 38 00 00 01 */ li r0, 1 +lbl_80128C94: +/* 80128C94 00125BF4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80128C98 00125BF8 41 82 01 0C */ beq lbl_80128DA4 +/* 80128C9C 00125BFC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80128CA0 00125C00 C0 5E 00 04 */ lfs f2, 4(r30) +/* 80128CA4 00125C04 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80128CA8 00125C08 38 81 00 44 */ addi r4, r1, 0x44 +/* 80128CAC 00125C0C C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 80128CB0 00125C10 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80128CB4 00125C14 D0 C1 00 44 */ stfs f6, 0x44(r1) +/* 80128CB8 00125C18 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 80128CBC 00125C1C D0 A1 00 4C */ stfs f5, 0x4c(r1) +/* 80128CC0 00125C20 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80128CC4 00125C24 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 80128CC8 00125C28 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 80128CCC 00125C2C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 80128CD0 00125C30 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 80128CD4 00125C34 38 63 00 04 */ addi r3, r3, 4 +/* 80128CD8 00125C38 48 00 8A 41 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 80128CDC 00125C3C C0 3F 07 48 */ lfs f1, 0x748(r31) +/* 80128CE0 00125C40 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80128CE4 00125C44 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80128CE8 00125C48 40 82 00 BC */ bne lbl_80128DA4 +/* 80128CEC 00125C4C 7F 84 E3 78 */ mr r4, r28 +/* 80128CF0 00125C50 38 61 00 08 */ addi r3, r1, 8 +/* 80128CF4 00125C54 4B F7 C6 DD */ bl sub_800a53d0 +/* 80128CF8 00125C58 4B F7 C6 AD */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" +/* 80128CFC 00125C5C 28 03 00 00 */ cmplwi r3, 0 +/* 80128D00 00125C60 41 82 00 A4 */ beq lbl_80128DA4 +/* 80128D04 00125C64 C0 03 07 48 */ lfs f0, 0x748(r3) +/* 80128D08 00125C68 C0 82 97 BC */ lfs f4, lbl_805AB4DC@sda21(r2) +/* 80128D0C 00125C6C FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 80128D10 00125C70 40 82 00 94 */ bne lbl_80128DA4 +/* 80128D14 00125C74 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80128D18 00125C78 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 80128D1C 00125C7C C0 FF 00 48 */ lfs f7, 0x48(r31) +/* 80128D20 00125C80 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80128D24 00125C84 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 80128D28 00125C88 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80128D2C 00125C8C C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 80128D30 00125C90 EC C2 00 28 */ fsubs f6, f2, f0 +/* 80128D34 00125C94 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 80128D38 00125C98 EC 07 01 72 */ fmuls f0, f7, f5 +/* 80128D3C 00125C9C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 80128D40 00125CA0 C0 BF 00 58 */ lfs f5, 0x58(r31) +/* 80128D44 00125CA4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80128D48 00125CA8 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 80128D4C 00125CAC D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80128D50 00125CB0 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 80128D54 00125CB4 EC 05 00 BA */ fmadds f0, f5, f2, f0 +/* 80128D58 00125CB8 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 80128D5C 00125CBC FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 80128D60 00125CC0 40 81 00 44 */ ble lbl_80128DA4 +/* 80128D64 00125CC4 C0 A3 00 48 */ lfs f5, 0x48(r3) +/* 80128D68 00125CC8 C0 03 01 3C */ lfs f0, 0x13c(r3) +/* 80128D6C 00125CCC C0 63 00 38 */ lfs f3, 0x38(r3) +/* 80128D70 00125CD0 EC 00 01 72 */ fmuls f0, f0, f5 +/* 80128D74 00125CD4 C0 23 01 38 */ lfs f1, 0x138(r3) +/* 80128D78 00125CD8 C0 C3 00 58 */ lfs f6, 0x58(r3) +/* 80128D7C 00125CDC C0 43 01 40 */ lfs f2, 0x140(r3) +/* 80128D80 00125CE0 EC 01 00 FA */ fmadds f0, f1, f3, f0 +/* 80128D84 00125CE4 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80128D88 00125CE8 D0 A1 00 18 */ stfs f5, 0x18(r1) +/* 80128D8C 00125CEC EC 02 01 BA */ fmadds f0, f2, f6, f0 +/* 80128D90 00125CF0 D0 C1 00 1C */ stfs f6, 0x1c(r1) +/* 80128D94 00125CF4 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 80128D98 00125CF8 40 81 00 0C */ ble lbl_80128DA4 +/* 80128D9C 00125CFC C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80128DA0 00125D00 D0 1F 07 48 */ stfs f0, 0x748(r31) +lbl_80128DA4: +/* 80128DA4 00125D04 2C 1B FF FF */ cmpwi r27, -1 +/* 80128DA8 00125D08 41 82 00 14 */ beq lbl_80128DBC +/* 80128DAC 00125D0C 57 63 18 38 */ slwi r3, r27, 3 +/* 80128DB0 00125D10 38 03 00 08 */ addi r0, r3, 8 +/* 80128DB4 00125D14 7F 7D 02 AE */ lhax r27, r29, r0 +/* 80128DB8 00125D18 48 00 00 08 */ b lbl_80128DC0 +lbl_80128DBC: +/* 80128DBC 00125D1C 3B 60 FF FF */ li r27, -1 +lbl_80128DC0: +/* 80128DC0 00125D20 2C 1B FF FF */ cmpwi r27, -1 +/* 80128DC4 00125D24 40 82 FE 34 */ bne lbl_80128BF8 +/* 80128DC8 00125D28 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 80128DCC 00125D2C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80128DD0 00125D30 7C 08 03 A6 */ mtlr r0 +/* 80128DD4 00125D34 38 21 00 80 */ addi r1, r1, 0x80 +/* 80128DD8 00125D38 4E 80 00 20 */ blr + +.global Random2f__FR13CStateManagerff +Random2f__FR13CStateManagerff: +/* 80128DDC 00125D3C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80128DE0 00125D40 7C 08 02 A6 */ mflr r0 +/* 80128DE4 00125D44 90 01 00 54 */ stw r0, 0x54(r1) +/* 80128DE8 00125D48 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80128DEC 00125D4C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80128DF0 00125D50 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80128DF4 00125D54 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80128DF8 00125D58 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80128DFC 00125D5C F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80128E00 00125D60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80128E04 00125D64 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80128E08 00125D68 7C 9F 23 78 */ mr r31, r4 +/* 80128E0C 00125D6C FF A0 08 90 */ fmr f29, f1 +/* 80128E10 00125D70 7C 7E 1B 78 */ mr r30, r3 +/* 80128E14 00125D74 FF C0 10 90 */ fmr f30, f2 +/* 80128E18 00125D78 80 64 09 00 */ lwz r3, 0x900(r4) +/* 80128E1C 00125D7C 48 1E 96 C1 */ bl Float__9CRandom16Fv +/* 80128E20 00125D80 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80128E24 00125D84 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80128E28 00125D88 EF E1 00 28 */ fsubs f31, f1, f0 +/* 80128E2C 00125D8C 48 1E 96 B1 */ bl Float__9CRandom16Fv +/* 80128E30 00125D90 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 80128E34 00125D94 C0 42 97 BC */ lfs f2, lbl_805AB4DC@sda21(r2) +/* 80128E38 00125D98 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80128E3C 00125D9C C0 02 97 F4 */ lfs f0, lbl_805AB514@sda21(r2) +/* 80128E40 00125DA0 D3 E1 00 0C */ stfs f31, 0xc(r1) +/* 80128E44 00125DA4 FC 60 0A 10 */ fabs f3, f1 +/* 80128E48 00125DA8 D0 21 00 08 */ stfs f1, 8(r1) +/* 80128E4C 00125DAC D0 41 00 10 */ stfs f2, 0x10(r1) +/* 80128E50 00125DB0 FC 20 18 18 */ frsp f1, f3 +/* 80128E54 00125DB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80128E58 00125DB8 40 80 00 08 */ bge lbl_80128E60 +/* 80128E5C 00125DBC D0 01 00 08 */ stfs f0, 8(r1) +lbl_80128E60: +/* 80128E60 00125DC0 38 61 00 08 */ addi r3, r1, 8 +/* 80128E64 00125DC4 48 1E BA 95 */ bl Normalize__9CVector3fFv +/* 80128E68 00125DC8 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80128E6C 00125DCC 48 1E 96 71 */ bl Float__9CRandom16Fv +/* 80128E70 00125DD0 EC 9E E8 28 */ fsubs f4, f30, f29 +/* 80128E74 00125DD4 C0 61 00 08 */ lfs f3, 8(r1) +/* 80128E78 00125DD8 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 80128E7C 00125DDC C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80128E80 00125DE0 EC 84 E8 7A */ fmadds f4, f4, f1, f29 +/* 80128E84 00125DE4 EC 63 01 32 */ fmuls f3, f3, f4 +/* 80128E88 00125DE8 EC 22 01 32 */ fmuls f1, f2, f4 +/* 80128E8C 00125DEC EC 00 01 32 */ fmuls f0, f0, f4 +/* 80128E90 00125DF0 D0 61 00 08 */ stfs f3, 8(r1) +/* 80128E94 00125DF4 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 80128E98 00125DF8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 80128E9C 00125DFC D0 7E 00 00 */ stfs f3, 0(r30) +/* 80128EA0 00125E00 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80128EA4 00125E04 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80128EA8 00125E08 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80128EAC 00125E0C D0 1E 00 08 */ stfs f0, 8(r30) +/* 80128EB0 00125E10 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80128EB4 00125E14 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80128EB8 00125E18 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80128EBC 00125E1C CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80128EC0 00125E20 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 80128EC4 00125E24 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 80128EC8 00125E28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80128ECC 00125E2C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80128ED0 00125E30 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80128ED4 00125E34 7C 08 03 A6 */ mtlr r0 +/* 80128ED8 00125E38 38 21 00 50 */ addi r1, r1, 0x50 +/* 80128EDC 00125E3C 4E 80 00 20 */ blr + +.global UpdateHeldPosition__12CSpacePirateFR13CStateManagerf +UpdateHeldPosition__12CSpacePirateFR13CStateManagerf: +/* 80128EE0 00125E40 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80128EE4 00125E44 7C 08 02 A6 */ mflr r0 +/* 80128EE8 00125E48 90 01 00 54 */ stw r0, 0x54(r1) +/* 80128EEC 00125E4C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80128EF0 00125E50 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 80128EF4 00125E54 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 80128EF8 00125E58 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 80128EFC 00125E5C FF E0 08 90 */ fmr f31, f1 +/* 80128F00 00125E60 7C 7F 1B 78 */ mr r31, r3 +/* 80128F04 00125E64 38 61 00 10 */ addi r3, r1, 0x10 +/* 80128F08 00125E68 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 80128F0C 00125E6C C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80128F10 00125E70 C0 04 00 60 */ lfs f0, 0x60(r4) +/* 80128F14 00125E74 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80128F18 00125E78 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 80128F1C 00125E7C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80128F20 00125E80 48 1E B2 E1 */ bl __ct__9CVector2fFff +/* 80128F24 00125E84 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 80128F28 00125E88 38 61 00 08 */ addi r3, r1, 8 +/* 80128F2C 00125E8C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80128F30 00125E90 38 81 00 18 */ addi r4, r1, 0x18 +/* 80128F34 00125E94 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 80128F38 00125E98 38 BF 08 D0 */ addi r5, r31, 0x8d0 +/* 80128F3C 00125E9C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 80128F40 00125EA0 48 1E AF F9 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 80128F44 00125EA4 38 61 00 08 */ addi r3, r1, 8 +/* 80128F48 00125EA8 48 1E B1 95 */ bl MagSquared__9CVector2fCFv +/* 80128F4C 00125EAC C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) +/* 80128F50 00125EB0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80128F54 00125EB4 40 80 00 14 */ bge lbl_80128F68 +/* 80128F58 00125EB8 C0 1F 08 D8 */ lfs f0, 0x8d8(r31) +/* 80128F5C 00125EBC EC 00 F8 2A */ fadds f0, f0, f31 +/* 80128F60 00125EC0 D0 1F 08 D8 */ stfs f0, 0x8d8(r31) +/* 80128F64 00125EC4 48 00 00 1C */ b lbl_80128F80 +lbl_80128F68: +/* 80128F68 00125EC8 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 80128F6C 00125ECC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80128F70 00125ED0 D0 3F 08 D0 */ stfs f1, 0x8d0(r31) +/* 80128F74 00125ED4 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 80128F78 00125ED8 D0 3F 08 D4 */ stfs f1, 0x8d4(r31) +/* 80128F7C 00125EDC D0 1F 08 D8 */ stfs f0, 0x8d8(r31) +lbl_80128F80: +/* 80128F80 00125EE0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80128F84 00125EE4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80128F88 00125EE8 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80128F8C 00125EEC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80128F90 00125EF0 7C 08 03 A6 */ mtlr r0 +/* 80128F94 00125EF4 38 21 00 50 */ addi r1, r1, 0x50 +/* 80128F98 00125EF8 4E 80 00 20 */ blr + +.global UpdateCantSeePlayer__12CSpacePirateFR13CStateManager +UpdateCantSeePlayer__12CSpacePirateFR13CStateManager: +/* 80128F9C 00125EFC 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 80128FA0 00125F00 7C 08 02 A6 */ mflr r0 +/* 80128FA4 00125F04 90 01 00 94 */ stw r0, 0x94(r1) +/* 80128FA8 00125F08 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 80128FAC 00125F0C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 80128FB0 00125F10 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 80128FB4 00125F14 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 80128FB8 00125F18 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 80128FBC 00125F1C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 80128FC0 00125F20 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 80128FC4 00125F24 93 C1 00 58 */ stw r30, 0x58(r1) +/* 80128FC8 00125F28 7C 7E 1B 78 */ mr r30, r3 +/* 80128FCC 00125F2C 3C 60 92 49 */ lis r3, 0x92492493@ha +/* 80128FD0 00125F30 80 BE 07 B0 */ lwz r5, 0x7b0(r30) +/* 80128FD4 00125F34 38 03 24 93 */ addi r0, r3, 0x92492493@l +/* 80128FD8 00125F38 7C 9F 23 78 */ mr r31, r4 +/* 80128FDC 00125F3C 38 85 00 01 */ addi r4, r5, 1 +/* 80128FE0 00125F40 7C 00 20 96 */ mulhw r0, r0, r4 +/* 80128FE4 00125F44 90 9E 07 B0 */ stw r4, 0x7b0(r30) +/* 80128FE8 00125F48 7C 00 22 14 */ add r0, r0, r4 +/* 80128FEC 00125F4C 7C 00 16 70 */ srawi r0, r0, 2 +/* 80128FF0 00125F50 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80128FF4 00125F54 7C 00 1A 14 */ add r0, r0, r3 +/* 80128FF8 00125F58 1C 00 00 07 */ mulli r0, r0, 7 +/* 80128FFC 00125F5C 7C 00 20 51 */ subf. r0, r0, r4 +/* 80129000 00125F60 40 82 02 60 */ bne lbl_80129260 +/* 80129004 00125F64 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80129008 00125F68 7F E5 FB 78 */ mr r5, r31 +/* 8012900C 00125F6C C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 80129010 00125F70 38 61 00 3C */ addi r3, r1, 0x3c +/* 80129014 00125F74 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80129018 00125F78 EC 82 08 2A */ fadds f4, f2, f1 +/* 8012901C 00125F7C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 80129020 00125F80 C0 5E 07 A8 */ lfs f2, 0x7a8(r30) +/* 80129024 00125F84 EC 00 08 2A */ fadds f0, f0, f1 +/* 80129028 00125F88 EC 43 10 2A */ fadds f2, f3, f2 +/* 8012902C 00125F8C D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 80129030 00125F90 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 80129034 00125F94 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 80129038 00125F98 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8012903C 00125F9C 81 84 00 00 */ lwz r12, 0(r4) +/* 80129040 00125FA0 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80129044 00125FA4 7D 89 03 A6 */ mtctr r12 +/* 80129048 00125FA8 4E 80 04 21 */ bctrl +/* 8012904C 00125FAC A0 1E 06 40 */ lhz r0, 0x640(r30) +/* 80129050 00125FB0 7F C3 F3 78 */ mr r3, r30 +/* 80129054 00125FB4 C3 E1 00 3C */ lfs f31, 0x3c(r1) +/* 80129058 00125FB8 7F E4 FB 78 */ mr r4, r31 +/* 8012905C 00125FBC B0 01 00 08 */ sth r0, 8(r1) +/* 80129060 00125FC0 38 A1 00 08 */ addi r5, r1, 8 +/* 80129064 00125FC4 C3 C1 00 40 */ lfs f30, 0x40(r1) +/* 80129068 00125FC8 C3 A1 00 44 */ lfs f29, 0x44(r1) +/* 8012906C 00125FCC 4B F5 38 41 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId +/* 80129070 00125FD0 28 03 00 00 */ cmplwi r3, 0 +/* 80129074 00125FD4 41 82 00 A8 */ beq lbl_8012911C +/* 80129078 00125FD8 80 1E 07 9C */ lwz r0, 0x79c(r30) +/* 8012907C 00125FDC 2C 00 00 01 */ cmpwi r0, 1 +/* 80129080 00125FE0 41 82 00 58 */ beq lbl_801290D8 +/* 80129084 00125FE4 40 80 01 34 */ bge lbl_801291B8 +/* 80129088 00125FE8 2C 00 00 00 */ cmpwi r0, 0 +/* 8012908C 00125FEC 40 80 00 08 */ bge lbl_80129094 +/* 80129090 00125FF0 48 00 01 28 */ b lbl_801291B8 +lbl_80129094: +/* 80129094 00125FF4 C0 62 97 DC */ lfs f3, lbl_805AB4FC@sda21(r2) +/* 80129098 00125FF8 C0 3E 00 44 */ lfs f1, 0x44(r30) +/* 8012909C 00125FFC C0 1E 00 54 */ lfs f0, 0x54(r30) +/* 801290A0 00126000 C0 5E 00 34 */ lfs f2, 0x34(r30) +/* 801290A4 00126004 EC A3 00 72 */ fmuls f5, f3, f1 +/* 801290A8 00126008 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 801290AC 0012600C EC 83 00 32 */ fmuls f4, f3, f0 +/* 801290B0 00126010 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 801290B4 00126014 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 801290B8 00126018 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 801290BC 0012601C EC 21 28 28 */ fsubs f1, f1, f5 +/* 801290C0 00126020 EC 43 10 28 */ fsubs f2, f3, f2 +/* 801290C4 00126024 EC 00 20 28 */ fsubs f0, f0, f4 +/* 801290C8 00126028 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 801290CC 0012602C D0 41 00 48 */ stfs f2, 0x48(r1) +/* 801290D0 00126030 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 801290D4 00126034 48 00 00 E4 */ b lbl_801291B8 +lbl_801290D8: +/* 801290D8 00126038 C0 62 97 DC */ lfs f3, lbl_805AB4FC@sda21(r2) +/* 801290DC 0012603C C0 3E 00 44 */ lfs f1, 0x44(r30) +/* 801290E0 00126040 C0 1E 00 54 */ lfs f0, 0x54(r30) +/* 801290E4 00126044 C0 5E 00 34 */ lfs f2, 0x34(r30) +/* 801290E8 00126048 EC A3 00 72 */ fmuls f5, f3, f1 +/* 801290EC 0012604C C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 801290F0 00126050 EC 83 00 32 */ fmuls f4, f3, f0 +/* 801290F4 00126054 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 801290F8 00126058 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 801290FC 0012605C C0 61 00 48 */ lfs f3, 0x48(r1) +/* 80129100 00126060 EC 21 28 2A */ fadds f1, f1, f5 +/* 80129104 00126064 EC 43 10 2A */ fadds f2, f3, f2 +/* 80129108 00126068 EC 00 20 2A */ fadds f0, f0, f4 +/* 8012910C 0012606C D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 80129110 00126070 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 80129114 00126074 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80129118 00126078 48 00 00 A0 */ b lbl_801291B8 +lbl_8012911C: +/* 8012911C 0012607C C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 80129120 00126080 38 61 00 30 */ addi r3, r1, 0x30 +/* 80129124 00126084 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 80129128 00126088 38 81 00 24 */ addi r4, r1, 0x24 +/* 8012912C 0012608C C0 01 00 48 */ lfs f0, 0x48(r1) +/* 80129130 00126090 EC 5E 10 28 */ fsubs f2, f30, f2 +/* 80129134 00126094 EC 3D 08 28 */ fsubs f1, f29, f1 +/* 80129138 00126098 EC 1F 00 28 */ fsubs f0, f31, f0 +/* 8012913C 0012609C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80129140 001260A0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 80129144 001260A4 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80129148 001260A8 48 1E B7 09 */ bl AsNormalized__9CVector3fCFv +/* 8012914C 001260AC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 80129150 001260B0 C1 01 00 34 */ lfs f8, 0x34(r1) +/* 80129154 001260B4 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l +/* 80129158 001260B8 C1 21 00 38 */ lfs f9, 0x38(r1) +/* 8012915C 001260BC C0 63 00 04 */ lfs f3, 4(r3) +/* 80129160 001260C0 C1 43 00 00 */ lfs f10, 0(r3) +/* 80129164 001260C4 C0 83 00 08 */ lfs f4, 8(r3) +/* 80129168 001260C8 EC 23 02 72 */ fmuls f1, f3, f9 +/* 8012916C 001260CC C0 E1 00 30 */ lfs f7, 0x30(r1) +/* 80129170 001260D0 EC 4A 02 32 */ fmuls f2, f10, f8 +/* 80129174 001260D4 C0 A2 98 5C */ lfs f5, lbl_805AB57C@sda21(r2) +/* 80129178 001260D8 EC 04 01 F2 */ fmuls f0, f4, f7 +/* 8012917C 001260DC C0 C1 00 48 */ lfs f6, 0x48(r1) +/* 80129180 001260E0 EC E7 10 F8 */ fmsubs f7, f7, f3, f2 +/* 80129184 001260E4 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 80129188 001260E8 EC 88 09 38 */ fmsubs f4, f8, f4, f1 +/* 8012918C 001260EC C0 21 00 50 */ lfs f1, 0x50(r1) +/* 80129190 001260F0 EC 49 02 B8 */ fmsubs f2, f9, f10, f0 +/* 80129194 001260F4 EC 85 01 32 */ fmuls f4, f5, f4 +/* 80129198 001260F8 EC 05 01 F2 */ fmuls f0, f5, f7 +/* 8012919C 001260FC EC 45 00 B2 */ fmuls f2, f5, f2 +/* 801291A0 00126100 EC 86 20 2A */ fadds f4, f6, f4 +/* 801291A4 00126104 EC 01 00 2A */ fadds f0, f1, f0 +/* 801291A8 00126108 EC 23 10 2A */ fadds f1, f3, f2 +/* 801291AC 0012610C D0 81 00 48 */ stfs f4, 0x48(r1) +/* 801291B0 00126110 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 801291B4 00126114 D0 01 00 50 */ stfs f0, 0x50(r1) +lbl_801291B8: +/* 801291B8 00126118 38 00 00 00 */ li r0, 0 +/* 801291BC 0012611C 80 AD 8A B0 */ lwz r5, lbl_805A7670@sda21(r13) +/* 801291C0 00126120 90 01 00 14 */ stw r0, 0x14(r1) +/* 801291C4 00126124 38 60 00 00 */ li r3, 0 +/* 801291C8 00126128 38 80 00 01 */ li r4, 1 +/* 801291CC 0012612C 90 01 00 10 */ stw r0, 0x10(r1) +/* 801291D0 00126130 48 26 0D 25 */ bl __shl2i +/* 801291D4 00126134 80 01 00 10 */ lwz r0, 0x10(r1) +/* 801291D8 00126138 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 801291DC 0012613C 7C 00 1B 78 */ or r0, r0, r3 +/* 801291E0 00126140 80 AD 8A B4 */ lwz r5, lbl_805A7674@sda21(r13) +/* 801291E4 00126144 7C C4 23 78 */ or r4, r6, r4 +/* 801291E8 00126148 90 01 00 10 */ stw r0, 0x10(r1) +/* 801291EC 0012614C 38 60 00 00 */ li r3, 0 +/* 801291F0 00126150 90 81 00 14 */ stw r4, 0x14(r1) +/* 801291F4 00126154 38 80 00 01 */ li r4, 1 +/* 801291F8 00126158 48 26 0C FD */ bl __shl2i +/* 801291FC 0012615C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80129200 00126160 7F E5 FB 78 */ mr r5, r31 +/* 80129204 00126164 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 80129208 00126168 7C 00 1B 78 */ or r0, r0, r3 +/* 8012920C 0012616C 38 61 00 18 */ addi r3, r1, 0x18 +/* 80129210 00126170 7C C4 23 78 */ or r4, r6, r4 +/* 80129214 00126174 90 01 00 10 */ stw r0, 0x10(r1) +/* 80129218 00126178 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 8012921C 0012617C 90 81 00 14 */ stw r4, 0x14(r1) +/* 80129220 00126180 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80129224 00126184 81 84 00 00 */ lwz r12, 0(r4) +/* 80129228 00126188 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8012922C 0012618C 7D 89 03 A6 */ mtctr r12 +/* 80129230 00126190 4E 80 04 21 */ bctrl +/* 80129234 00126194 7F C3 F3 78 */ mr r3, r30 +/* 80129238 00126198 7F E4 FB 78 */ mr r4, r31 +/* 8012923C 0012619C 38 A1 00 48 */ addi r5, r1, 0x48 +/* 80129240 001261A0 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80129244 001261A4 38 E1 00 10 */ addi r7, r1, 0x10 +/* 80129248 001261A8 48 00 00 49 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList +/* 8012924C 001261AC 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 80129250 001261B0 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80129254 001261B4 7C 63 00 34 */ cntlzw r3, r3 +/* 80129258 001261B8 50 60 F7 38 */ rlwimi r0, r3, 0x1e, 0x1c, 0x1c +/* 8012925C 001261BC 98 1E 06 37 */ stb r0, 0x637(r30) +lbl_80129260: +/* 80129260 001261C0 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 80129264 001261C4 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 80129268 001261C8 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 8012926C 001261CC CB C1 00 70 */ lfd f30, 0x70(r1) +/* 80129270 001261D0 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 80129274 001261D4 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 80129278 001261D8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8012927C 001261DC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 80129280 001261E0 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80129284 001261E4 7C 08 03 A6 */ mtlr r0 +/* 80129288 001261E8 38 21 00 90 */ addi r1, r1, 0x90 +/* 8012928C 001261EC 4E 80 00 20 */ blr + +.global LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList +LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList: +/* 80129290 001261F0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80129294 001261F4 7C 08 02 A6 */ mflr r0 +/* 80129298 001261F8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8012929C 001261FC BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 801292A0 00126200 7C 7B 1B 78 */ mr r27, r3 +/* 801292A4 00126204 7C 9C 23 78 */ mr r28, r4 +/* 801292A8 00126208 7C BD 2B 78 */ mr r29, r5 +/* 801292AC 0012620C 7C DE 33 78 */ mr r30, r6 +/* 801292B0 00126210 7C FF 3B 78 */ mr r31, r7 +/* 801292B4 00126214 38 60 00 00 */ li r3, 0 +/* 801292B8 00126218 38 80 00 01 */ li r4, 1 +/* 801292BC 0012621C 80 0D 8A AC */ lwz r0, lbl_805A766C@sda21(r13) +/* 801292C0 00126220 7C 05 03 78 */ mr r5, r0 +/* 801292C4 00126224 48 26 0C 31 */ bl __shl2i +/* 801292C8 00126228 81 1F 00 00 */ lwz r8, 0(r31) +/* 801292CC 0012622C 38 00 00 03 */ li r0, 3 +/* 801292D0 00126230 81 3F 00 04 */ lwz r9, 4(r31) +/* 801292D4 00126234 7F C5 F3 78 */ mr r5, r30 +/* 801292D8 00126238 90 81 00 24 */ stw r4, 0x24(r1) +/* 801292DC 0012623C 7F A4 EB 78 */ mr r4, r29 +/* 801292E0 00126240 7F 67 DB 78 */ mr r7, r27 +/* 801292E4 00126244 38 C1 00 20 */ addi r6, r1, 0x20 +/* 801292E8 00126248 90 61 00 20 */ stw r3, 0x20(r1) +/* 801292EC 0012624C 7F 83 E3 78 */ mr r3, r28 +/* 801292F0 00126250 90 01 00 18 */ stw r0, 0x18(r1) +/* 801292F4 00126254 91 21 00 2C */ stw r9, 0x2c(r1) +/* 801292F8 00126258 91 01 00 28 */ stw r8, 0x28(r1) +/* 801292FC 0012625C 90 01 00 30 */ stw r0, 0x30(r1) +/* 80129300 00126260 4B F2 3B 3D */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor +/* 80129304 00126264 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80129308 00126268 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8012930C 0012626C 7C 08 03 A6 */ mtlr r0 +/* 80129310 00126270 38 21 00 50 */ addi r1, r1, 0x50 +/* 80129314 00126274 4E 80 00 20 */ blr + +.global CheckForProjectiles__12CSpacePirateFR13CStateManager +CheckForProjectiles__12CSpacePirateFR13CStateManager: +/* 80129318 00126278 94 21 F7 00 */ stwu r1, -0x900(r1) +/* 8012931C 0012627C 7C 08 02 A6 */ mflr r0 +/* 80129320 00126280 90 01 09 04 */ stw r0, 0x904(r1) +/* 80129324 00126284 DB E1 08 F0 */ stfd f31, 0x8f0(r1) +/* 80129328 00126288 F3 E1 08 F8 */ psq_st f31, -1800(r1), 0, qr0 +/* 8012932C 0012628C DB C1 08 E0 */ stfd f30, 0x8e0(r1) +/* 80129330 00126290 F3 C1 08 E8 */ psq_st f30, -1816(r1), 0, qr0 +/* 80129334 00126294 DB A1 08 D0 */ stfd f29, 0x8d0(r1) +/* 80129338 00126298 F3 A1 08 D8 */ psq_st f29, -1832(r1), 0, qr0 +/* 8012933C 0012629C BF 61 08 BC */ stmw r27, 0x8bc(r1) +/* 80129340 001262A0 88 03 06 37 */ lbz r0, 0x637(r3) +/* 80129344 001262A4 7C 7E 1B 78 */ mr r30, r3 +/* 80129348 001262A8 7C 9F 23 78 */ mr r31, r4 +/* 8012934C 001262AC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80129350 001262B0 41 82 02 BC */ beq lbl_8012960C +/* 80129354 001262B4 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 80129358 001262B8 7F E5 FB 78 */ mr r5, r31 +/* 8012935C 001262BC 38 61 00 44 */ addi r3, r1, 0x44 +/* 80129360 001262C0 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 80129364 001262C4 81 84 00 00 */ lwz r12, 0(r4) +/* 80129368 001262C8 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8012936C 001262CC 7D 89 03 A6 */ mtctr r12 +/* 80129370 001262D0 4E 80 04 21 */ bctrl +/* 80129374 001262D4 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 80129378 001262D8 38 61 00 98 */ addi r3, r1, 0x98 +/* 8012937C 001262DC C0 82 98 1C */ lfs f4, lbl_805AB53C@sda21(r2) +/* 80129380 001262E0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80129384 001262E4 C0 C1 00 4C */ lfs f6, 0x4c(r1) +/* 80129388 001262E8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8012938C 001262EC C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80129390 001262F0 EC 01 20 2A */ fadds f0, f1, f4 +/* 80129394 001262F4 EC 66 20 2A */ fadds f3, f6, f4 +/* 80129398 001262F8 EC A2 20 2A */ fadds f5, f2, f4 +/* 8012939C 001262FC EC 42 20 28 */ fsubs f2, f2, f4 +/* 801293A0 00126300 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 801293A4 00126304 EC 21 20 28 */ fsubs f1, f1, f4 +/* 801293A8 00126308 EC 06 20 28 */ fsubs f0, f6, f4 +/* 801293AC 0012630C D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 801293B0 00126310 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 801293B4 00126314 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 801293B8 00126318 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 801293BC 0012631C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 801293C0 00126320 48 20 F1 49 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 801293C4 00126324 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 801293C8 00126328 38 C0 00 00 */ li r6, 0 +/* 801293CC 0012632C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b +/* 801293D0 00126330 38 60 00 00 */ li r3, 0 +/* 801293D4 00126334 98 1E 06 37 */ stb r0, 0x637(r30) +/* 801293D8 00126338 38 80 00 01 */ li r4, 1 +/* 801293DC 0012633C 80 AD 8A A8 */ lwz r5, lbl_805A7668@sda21(r13) +/* 801293E0 00126340 90 C1 00 B0 */ stw r6, 0xb0(r1) +/* 801293E4 00126344 48 26 0B 11 */ bl __shl2i +/* 801293E8 00126348 39 00 00 00 */ li r8, 0 +/* 801293EC 0012634C 38 00 00 01 */ li r0, 1 +/* 801293F0 00126350 90 81 00 84 */ stw r4, 0x84(r1) +/* 801293F4 00126354 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 801293F8 00126358 38 A1 00 98 */ addi r5, r1, 0x98 +/* 801293FC 0012635C 38 C1 00 80 */ addi r6, r1, 0x80 +/* 80129400 00126360 90 61 00 80 */ stw r3, 0x80(r1) +/* 80129404 00126364 7F E3 FB 78 */ mr r3, r31 +/* 80129408 00126368 38 E0 00 00 */ li r7, 0 +/* 8012940C 0012636C 91 01 00 8C */ stw r8, 0x8c(r1) +/* 80129410 00126370 91 01 00 88 */ stw r8, 0x88(r1) +/* 80129414 00126374 90 01 00 90 */ stw r0, 0x90(r1) +/* 80129418 00126378 4B F2 33 09 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8012941C 0012637C 3B A1 00 B4 */ addi r29, r1, 0xb4 +/* 80129420 00126380 3B 80 00 00 */ li r28, 0 +/* 80129424 00126384 48 00 01 7C */ b lbl_801295A0 +lbl_80129428: +/* 80129428 00126388 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8012942C 0012638C 7F E3 FB 78 */ mr r3, r31 +/* 80129430 00126390 38 81 00 08 */ addi r4, r1, 8 +/* 80129434 00126394 B0 01 00 08 */ sth r0, 8(r1) +/* 80129438 00126398 4B F2 31 6D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8012943C 0012639C 7C 64 1B 78 */ mr r4, r3 +/* 80129440 001263A0 38 61 00 0C */ addi r3, r1, 0xc +/* 80129444 001263A4 4B F8 42 C9 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 80129448 001263A8 83 63 00 04 */ lwz r27, 4(r3) +/* 8012944C 001263AC 28 1B 00 00 */ cmplwi r27, 0 +/* 80129450 001263B0 41 82 01 48 */ beq lbl_80129598 +/* 80129454 001263B4 C3 BB 00 60 */ lfs f29, 0x60(r27) +/* 80129458 001263B8 7F C4 F3 78 */ mr r4, r30 +/* 8012945C 001263BC C3 DB 00 50 */ lfs f30, 0x50(r27) +/* 80129460 001263C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 80129464 001263C4 C3 FB 00 40 */ lfs f31, 0x40(r27) +/* 80129468 001263C8 4B FF 14 C5 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8012946C 001263CC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80129470 001263D0 38 81 00 68 */ addi r4, r1, 0x68 +/* 80129474 001263D4 48 20 E1 99 */ bl GetCenterPoint__6CAABoxCFv +/* 80129478 001263D8 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 8012947C 001263DC 38 61 00 5C */ addi r3, r1, 0x5c +/* 80129480 001263E0 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 80129484 001263E4 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80129488 001263E8 EC 42 F0 28 */ fsubs f2, f2, f30 +/* 8012948C 001263EC EC 21 E8 28 */ fsubs f1, f1, f29 +/* 80129490 001263F0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 80129494 001263F4 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 80129498 001263F8 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8012949C 001263FC D0 21 00 64 */ stfs f1, 0x64(r1) +/* 801294A0 00126400 48 1E B2 ED */ bl IsMagnitudeSafe__9CVector3fCFv +/* 801294A4 00126404 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801294A8 00126408 41 82 00 D4 */ beq lbl_8012957C +/* 801294AC 0012640C C0 9E 00 48 */ lfs f4, 0x48(r30) +/* 801294B0 00126410 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 801294B4 00126414 C0 7E 00 38 */ lfs f3, 0x38(r30) +/* 801294B8 00126418 EC 04 00 32 */ fmuls f0, f4, f0 +/* 801294BC 0012641C C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 801294C0 00126420 C0 BE 00 58 */ lfs f5, 0x58(r30) +/* 801294C4 00126424 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 801294C8 00126428 EC 23 00 7A */ fmadds f1, f3, f1, f0 +/* 801294CC 0012642C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 801294D0 00126430 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 801294D4 00126434 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 801294D8 00126438 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 801294DC 0012643C D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 801294E0 00126440 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801294E4 00126444 40 80 00 A8 */ bge lbl_8012958C +/* 801294E8 00126448 38 61 00 5C */ addi r3, r1, 0x5c +/* 801294EC 0012644C 48 1E B4 0D */ bl Normalize__9CVector3fFv +/* 801294F0 00126450 C0 3B 00 50 */ lfs f1, 0x50(r27) +/* 801294F4 00126454 38 61 00 50 */ addi r3, r1, 0x50 +/* 801294F8 00126458 C0 1B 02 9C */ lfs f0, 0x29c(r27) +/* 801294FC 0012645C C0 7B 00 60 */ lfs f3, 0x60(r27) +/* 80129500 00126460 C0 5B 02 A0 */ lfs f2, 0x2a0(r27) +/* 80129504 00126464 EC 81 00 28 */ fsubs f4, f1, f0 +/* 80129508 00126468 C0 3B 00 40 */ lfs f1, 0x40(r27) +/* 8012950C 0012646C C0 1B 02 98 */ lfs f0, 0x298(r27) +/* 80129510 00126470 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80129514 00126474 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80129518 00126478 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 8012951C 0012647C D0 41 00 58 */ stfs f2, 0x58(r1) +/* 80129520 00126480 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80129524 00126484 48 1E B2 69 */ bl IsMagnitudeSafe__9CVector3fCFv +/* 80129528 00126488 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012952C 0012648C 41 82 00 60 */ beq lbl_8012958C +/* 80129530 00126490 38 61 00 50 */ addi r3, r1, 0x50 +/* 80129534 00126494 48 1E B3 C5 */ bl Normalize__9CVector3fFv +/* 80129538 00126498 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 8012953C 0012649C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 80129540 001264A0 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 80129544 001264A4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80129548 001264A8 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 8012954C 001264AC C0 81 00 58 */ lfs f4, 0x58(r1) +/* 80129550 001264B0 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 80129554 001264B4 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 80129558 001264B8 C0 02 98 60 */ lfs f0, lbl_805AB580@sda21(r2) +/* 8012955C 001264BC EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 80129560 001264C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80129564 001264C4 40 81 00 28 */ ble lbl_8012958C +/* 80129568 001264C8 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 8012956C 001264CC 38 60 00 01 */ li r3, 1 +/* 80129570 001264D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80129574 001264D4 98 1E 06 37 */ stb r0, 0x637(r30) +/* 80129578 001264D8 48 00 00 14 */ b lbl_8012958C +lbl_8012957C: +/* 8012957C 001264DC 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80129580 001264E0 38 60 00 01 */ li r3, 1 +/* 80129584 001264E4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80129588 001264E8 98 1E 06 37 */ stb r0, 0x637(r30) +lbl_8012958C: +/* 8012958C 001264EC 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 80129590 001264F0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80129594 001264F4 40 82 00 18 */ bne lbl_801295AC +lbl_80129598: +/* 80129598 001264F8 3B BD 00 02 */ addi r29, r29, 2 +/* 8012959C 001264FC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_801295A0: +/* 801295A0 00126500 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 801295A4 00126504 7C 1C 00 00 */ cmpw r28, r0 +/* 801295A8 00126508 41 80 FE 80 */ blt lbl_80129428 +lbl_801295AC: +/* 801295AC 0012650C 38 60 00 00 */ li r3, 0 +/* 801295B0 00126510 88 1E 06 37 */ lbz r0, 0x637(r30) +/* 801295B4 00126514 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 801295B8 00126518 98 1E 06 37 */ stb r0, 0x637(r30) +/* 801295BC 0012651C 80 A1 00 B0 */ lwz r5, 0xb0(r1) +/* 801295C0 00126520 2C 05 00 00 */ cmpwi r5, 0 +/* 801295C4 00126524 40 81 00 40 */ ble lbl_80129604 +/* 801295C8 00126528 2C 05 00 08 */ cmpwi r5, 8 +/* 801295CC 0012652C 38 85 FF F8 */ addi r4, r5, -8 +/* 801295D0 00126530 40 81 00 20 */ ble lbl_801295F0 +/* 801295D4 00126534 38 04 00 07 */ addi r0, r4, 7 +/* 801295D8 00126538 54 00 E8 FE */ srwi r0, r0, 3 +/* 801295DC 0012653C 7C 09 03 A6 */ mtctr r0 +/* 801295E0 00126540 2C 04 00 00 */ cmpwi r4, 0 +/* 801295E4 00126544 40 81 00 0C */ ble lbl_801295F0 +lbl_801295E8: +/* 801295E8 00126548 38 63 00 08 */ addi r3, r3, 8 +/* 801295EC 0012654C 42 00 FF FC */ bdnz lbl_801295E8 +lbl_801295F0: +/* 801295F0 00126550 7C 03 28 50 */ subf r0, r3, r5 +/* 801295F4 00126554 7C 09 03 A6 */ mtctr r0 +/* 801295F8 00126558 7C 03 28 00 */ cmpw r3, r5 +/* 801295FC 0012655C 40 80 00 08 */ bge lbl_80129604 +lbl_80129600: +/* 80129600 00126560 42 00 00 00 */ bdnz lbl_80129600 +lbl_80129604: +/* 80129604 00126564 38 00 00 00 */ li r0, 0 +/* 80129608 00126568 90 01 00 B0 */ stw r0, 0xb0(r1) +lbl_8012960C: +/* 8012960C 0012656C E3 E1 08 F8 */ psq_l f31, -1800(r1), 0, qr0 +/* 80129610 00126570 CB E1 08 F0 */ lfd f31, 0x8f0(r1) +/* 80129614 00126574 E3 C1 08 E8 */ psq_l f30, -1816(r1), 0, qr0 +/* 80129618 00126578 CB C1 08 E0 */ lfd f30, 0x8e0(r1) +/* 8012961C 0012657C E3 A1 08 D8 */ psq_l f29, -1832(r1), 0, qr0 +/* 80129620 00126580 CB A1 08 D0 */ lfd f29, 0x8d0(r1) +/* 80129624 00126584 BB 61 08 BC */ lmw r27, 0x8bc(r1) +/* 80129628 00126588 80 01 09 04 */ lwz r0, 0x904(r1) +/* 8012962C 0012658C 7C 08 03 A6 */ mtlr r0 +/* 80129630 00126590 38 21 09 00 */ addi r1, r1, 0x900 +/* 80129634 00126594 4E 80 00 20 */ blr + +.global SquadReset__12CSpacePirateFR13CStateManager +SquadReset__12CSpacePirateFR13CStateManager: +/* 80129638 00126598 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8012963C 0012659C 7C 08 02 A6 */ mflr r0 +/* 80129640 001265A0 38 E0 00 01 */ li r7, 1 +/* 80129644 001265A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80129648 001265A8 38 C1 00 0C */ addi r6, r1, 0xc +/* 8012964C 001265AC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80129650 001265B0 A1 03 00 08 */ lhz r8, 8(r3) +/* 80129654 001265B4 B1 01 00 0C */ sth r8, 0xc(r1) +/* 80129658 001265B8 A0 03 08 C8 */ lhz r0, 0x8c8(r3) +/* 8012965C 001265BC B1 01 00 08 */ sth r8, 8(r1) +/* 80129660 001265C0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80129664 001265C4 88 03 06 34 */ lbz r0, 0x634(r3) +/* 80129668 001265C8 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f +/* 8012966C 001265CC 7C 00 00 34 */ cntlzw r0, r0 +/* 80129670 001265D0 54 03 D9 7E */ srwi r3, r0, 5 +/* 80129674 001265D4 48 11 08 5D */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb +/* 80129678 001265D8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8012967C 001265DC 7C 08 03 A6 */ mtlr r0 +/* 80129680 001265E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 80129684 001265E4 4E 80 00 20 */ blr + +.global SquadRemove__12CSpacePirateFR13CStateManager +SquadRemove__12CSpacePirateFR13CStateManager: +/* 80129688 001265E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8012968C 001265EC 7C 08 02 A6 */ mflr r0 +/* 80129690 001265F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80129694 001265F4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80129698 001265F8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8012969C 001265FC 7C 7E 1B 78 */ mr r30, r3 +/* 801296A0 00126600 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801296A4 00126604 A0 63 08 C8 */ lhz r3, 0x8c8(r3) +/* 801296A8 00126608 7C 03 00 40 */ cmplw r3, r0 +/* 801296AC 0012660C 41 82 00 70 */ beq lbl_8012971C +/* 801296B0 00126610 A0 1E 08 C8 */ lhz r0, 0x8c8(r30) +/* 801296B4 00126614 7C 83 23 78 */ mr r3, r4 +/* 801296B8 00126618 38 81 00 18 */ addi r4, r1, 0x18 +/* 801296BC 0012661C B0 01 00 18 */ sth r0, 0x18(r1) +/* 801296C0 00126620 4B F2 2E B5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 801296C4 00126624 7C 64 1B 78 */ mr r4, r3 +/* 801296C8 00126628 38 61 00 1C */ addi r3, r1, 0x1c +/* 801296CC 0012662C 4B F7 DE A9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 801296D0 00126630 83 E3 00 04 */ lwz r31, 4(r3) +/* 801296D4 00126634 28 1F 00 00 */ cmplwi r31, 0 +/* 801296D8 00126638 41 82 00 44 */ beq lbl_8012971C +/* 801296DC 0012663C A0 1E 00 08 */ lhz r0, 8(r30) +/* 801296E0 00126640 7F E3 FB 78 */ mr r3, r31 +/* 801296E4 00126644 38 81 00 14 */ addi r4, r1, 0x14 +/* 801296E8 00126648 B0 01 00 10 */ sth r0, 0x10(r1) +/* 801296EC 0012664C B0 01 00 14 */ sth r0, 0x14(r1) +/* 801296F0 00126650 48 10 F9 01 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId +/* 801296F4 00126654 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801296F8 00126658 41 82 00 24 */ beq lbl_8012971C +/* 801296FC 0012665C A0 1E 00 08 */ lhz r0, 8(r30) +/* 80129700 00126660 7F E3 FB 78 */ mr r3, r31 +/* 80129704 00126664 38 81 00 0C */ addi r4, r1, 0xc +/* 80129708 00126668 B0 01 00 08 */ sth r0, 8(r1) +/* 8012970C 0012666C B0 01 00 0C */ sth r0, 0xc(r1) +/* 80129710 00126670 48 10 FD E5 */ bl RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId +/* 80129714 00126674 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80129718 00126678 B0 1E 08 C8 */ sth r0, 0x8c8(r30) +lbl_8012971C: +/* 8012971C 0012667C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80129720 00126680 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80129724 00126684 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80129728 00126688 7C 08 03 A6 */ mtlr r0 +/* 8012972C 0012668C 38 21 00 30 */ addi r1, r1, 0x30 +/* 80129730 00126690 4E 80 00 20 */ blr + +.global SquadAdd__12CSpacePirateFR13CStateManager +SquadAdd__12CSpacePirateFR13CStateManager: +/* 80129734 00126694 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80129738 00126698 7C 08 02 A6 */ mflr r0 +/* 8012973C 0012669C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80129740 001266A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80129744 001266A4 7C 9F 23 78 */ mr r31, r4 +/* 80129748 001266A8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8012974C 001266AC 7C 7E 1B 78 */ mr r30, r3 +/* 80129750 001266B0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80129754 001266B4 A0 63 08 C8 */ lhz r3, 0x8c8(r3) +/* 80129758 001266B8 7C 03 00 40 */ cmplw r3, r0 +/* 8012975C 001266BC 40 82 00 1C */ bne lbl_80129778 +/* 80129760 001266C0 7F C4 F3 78 */ mr r4, r30 +/* 80129764 001266C4 7F E5 FB 78 */ mr r5, r31 +/* 80129768 001266C8 38 61 00 0C */ addi r3, r1, 0xc +/* 8012976C 001266CC 48 11 0A 7D */ bl GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager +/* 80129770 001266D0 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80129774 001266D4 B0 1E 08 C8 */ sth r0, 0x8c8(r30) +lbl_80129778: +/* 80129778 001266D8 A0 7E 08 C8 */ lhz r3, 0x8c8(r30) +/* 8012977C 001266DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80129780 001266E0 7C 03 00 40 */ cmplw r3, r0 +/* 80129784 001266E4 41 82 00 54 */ beq lbl_801297D8 +/* 80129788 001266E8 A0 1E 08 C8 */ lhz r0, 0x8c8(r30) +/* 8012978C 001266EC 7F E3 FB 78 */ mr r3, r31 +/* 80129790 001266F0 38 81 00 08 */ addi r4, r1, 8 +/* 80129794 001266F4 B0 01 00 08 */ sth r0, 8(r1) +/* 80129798 001266F8 4B F2 2D DD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8012979C 001266FC 7C 64 1B 78 */ mr r4, r3 +/* 801297A0 00126700 38 61 00 10 */ addi r3, r1, 0x10 +/* 801297A4 00126704 4B F7 DD D1 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 801297A8 00126708 80 63 00 04 */ lwz r3, 4(r3) +/* 801297AC 0012670C 28 03 00 00 */ cmplwi r3, 0 +/* 801297B0 00126710 41 82 00 28 */ beq lbl_801297D8 +/* 801297B4 00126714 88 1E 06 34 */ lbz r0, 0x634(r30) +/* 801297B8 00126718 7F C4 F3 78 */ mr r4, r30 +/* 801297BC 0012671C 38 A0 00 02 */ li r5, 2 +/* 801297C0 00126720 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 801297C4 00126724 41 82 00 08 */ beq lbl_801297CC +/* 801297C8 00126728 38 A0 00 01 */ li r5, 1 +lbl_801297CC: +/* 801297CC 0012672C 38 C0 00 03 */ li r6, 3 +/* 801297D0 00126730 38 E0 FF FF */ li r7, -1 +/* 801297D4 00126734 48 10 FF D9 */ bl AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii +lbl_801297D8: +/* 801297D8 00126738 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801297DC 0012673C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801297E0 00126740 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801297E4 00126744 7C 08 03 A6 */ mtlr r0 +/* 801297E8 00126748 38 21 00 20 */ addi r1, r1, 0x20 +/* 801297EC 0012674C 4E 80 00 20 */ blr + +.global GetOrigin__12CSpacePirateCFv +GetOrigin__12CSpacePirateCFv: +/* 801297F0 00126750 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 801297F4 00126754 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 801297F8 00126758 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 801297FC 0012675C D0 03 00 00 */ stfs f0, 0(r3) +/* 80129800 00126760 D0 23 00 04 */ stfs f1, 4(r3) +/* 80129804 00126764 D0 43 00 08 */ stfs f2, 8(r3) +/* 80129808 00126768 4E 80 00 20 */ blr + +.global DetachActorFromPirate__12CSpacePirateFv +DetachActorFromPirate__12CSpacePirateFv: +/* 8012980C 0012676C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80129810 00126770 B0 03 07 B4 */ sth r0, 0x7b4(r3) +/* 80129814 00126774 4E 80 00 20 */ blr + +.global AttachActorToPirate__12CSpacePirateF9TUniqueId +AttachActorToPirate__12CSpacePirateF9TUniqueId: +/* 80129818 00126778 A0 A3 07 B4 */ lhz r5, 0x7b4(r3) +/* 8012981C 0012677C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80129820 00126780 7C 05 00 40 */ cmplw r5, r0 +/* 80129824 00126784 40 82 00 14 */ bne lbl_80129838 +/* 80129828 00126788 A0 04 00 00 */ lhz r0, 0(r4) +/* 8012982C 0012678C B0 03 07 B4 */ sth r0, 0x7b4(r3) +/* 80129830 00126790 38 60 00 01 */ li r3, 1 +/* 80129834 00126794 4E 80 00 20 */ blr +lbl_80129838: +/* 80129838 00126798 38 60 00 00 */ li r3, 0 +/* 8012983C 0012679C 4E 80 00 20 */ blr + +.global SetAttackTarget__12CSpacePirateF9TUniqueId +SetAttackTarget__12CSpacePirateF9TUniqueId: +/* 80129840 001267A0 A0 84 00 00 */ lhz r4, 0(r4) +/* 80129844 001267A4 38 00 00 01 */ li r0, 1 +/* 80129848 001267A8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012984C 001267AC B0 83 07 C0 */ sth r4, 0x7c0(r3) +/* 80129850 001267B0 90 03 07 C4 */ stw r0, 0x7c4(r3) +/* 80129854 001267B4 D0 03 07 BC */ stfs f0, 0x7bc(r3) +/* 80129858 001267B8 4E 80 00 20 */ blr + +.global SetVelocityForJump__12CSpacePirateFv +SetVelocityForJump__12CSpacePirateFv: +/* 8012985C 001267BC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 80129860 001267C0 7C 08 02 A6 */ mflr r0 +/* 80129864 001267C4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80129868 001267C8 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 8012986C 001267CC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 80129870 001267D0 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 80129874 001267D4 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 80129878 001267D8 DB A1 00 50 */ stfd f29, 0x50(r1) +/* 8012987C 001267DC F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 +/* 80129880 001267E0 DB 81 00 40 */ stfd f28, 0x40(r1) +/* 80129884 001267E4 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 +/* 80129888 001267E8 DB 61 00 30 */ stfd f27, 0x30(r1) +/* 8012988C 001267EC F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 +/* 80129890 001267F0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80129894 001267F4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80129898 001267F8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8012989C 001267FC 88 03 06 37 */ lbz r0, 0x637(r3) +/* 801298A0 00126800 7C 7D 1B 78 */ mr r29, r3 +/* 801298A4 00126804 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 801298A8 00126808 40 82 00 F0 */ bne lbl_80129998 +/* 801298AC 0012680C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 801298B0 00126810 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 801298B4 00126814 3B E1 00 10 */ addi r31, r1, 0x10 +/* 801298B8 00126818 C0 24 00 04 */ lfs f1, 4(r4) +/* 801298BC 0012681C C0 04 00 08 */ lfs f0, 8(r4) +/* 801298C0 00126820 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 801298C4 00126824 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 801298C8 00126828 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 801298CC 0012682C C0 1D 00 60 */ lfs f0, 0x60(r29) +/* 801298D0 00126830 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 801298D4 00126834 C0 5D 00 40 */ lfs f2, 0x40(r29) +/* 801298D8 00126838 D0 41 00 08 */ stfs f2, 8(r1) +/* 801298DC 0012683C D0 61 00 0C */ stfs f3, 0xc(r1) +/* 801298E0 00126840 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 801298E4 00126844 81 83 00 00 */ lwz r12, 0(r3) +/* 801298E8 00126848 C0 3D 08 28 */ lfs f1, 0x828(r29) +/* 801298EC 0012684C C0 1D 08 2C */ lfs f0, 0x82c(r29) +/* 801298F0 00126850 81 8C 02 BC */ lwz r12, 0x2bc(r12) +/* 801298F4 00126854 EF A1 10 28 */ fsubs f29, f1, f2 +/* 801298F8 00126858 EF C0 18 28 */ fsubs f30, f0, f3 +/* 801298FC 0012685C 7D 89 03 A6 */ mtctr r12 +/* 80129900 00126860 4E 80 04 21 */ bctrl +/* 80129904 00126864 FF E0 08 90 */ fmr f31, f1 +/* 80129908 00126868 3B DD 08 30 */ addi r30, r29, 0x830 +/* 8012990C 0012686C 7F C3 F3 78 */ mr r3, r30 +/* 80129910 00126870 7F E4 FB 78 */ mr r4, r31 +/* 80129914 00126874 4B F2 5E 1D */ bl "Max__5CMathFRCfRCf" +/* 80129918 00126878 C0 43 00 00 */ lfs f2, 0(r3) +/* 8012991C 0012687C C0 1D 08 24 */ lfs f0, 0x824(r29) +/* 80129920 00126880 C0 22 97 DC */ lfs f1, lbl_805AB4FC@sda21(r2) +/* 80129924 00126884 EF 80 10 2A */ fadds f28, f0, f2 +/* 80129928 00126888 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8012992C 0012688C EC 21 07 F2 */ fmuls f1, f1, f31 +/* 80129930 00126890 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 80129934 00126894 EC 21 00 32 */ fmuls f1, f1, f0 +/* 80129938 00126898 48 1E BB C9 */ bl SqrtF__5CMathFf +/* 8012993C 0012689C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 80129940 001268A0 FC 40 08 18 */ frsp f2, f1 +/* 80129944 001268A4 C0 22 97 DC */ lfs f1, lbl_805AB4FC@sda21(r2) +/* 80129948 001268A8 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8012994C 001268AC EF 62 F8 24 */ fdivs f27, f2, f31 +/* 80129950 001268B0 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 80129954 001268B4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 80129958 001268B8 EC 20 F8 24 */ fdivs f1, f0, f31 +/* 8012995C 001268BC 48 1E BB A5 */ bl SqrtF__5CMathFf +/* 80129960 001268C0 EF 7B 08 2A */ fadds f27, f27, f1 +/* 80129964 001268C4 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 80129968 001268C8 7F A3 EB 78 */ mr r3, r29 +/* 8012996C 001268CC 38 81 00 14 */ addi r4, r1, 0x14 +/* 80129970 001268D0 EC 00 D8 24 */ fdivs f0, f0, f27 +/* 80129974 001268D4 EC 20 07 72 */ fmuls f1, f0, f29 +/* 80129978 001268D8 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 8012997C 001268DC D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80129980 001268E0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 80129984 001268E4 4B FF 13 1D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 80129988 001268E8 88 1D 06 37 */ lbz r0, 0x637(r29) +/* 8012998C 001268EC 38 60 00 01 */ li r3, 1 +/* 80129990 001268F0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80129994 001268F4 98 1D 06 37 */ stb r0, 0x637(r29) +lbl_80129998: +/* 80129998 001268F8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 8012999C 001268FC CB E1 00 70 */ lfd f31, 0x70(r1) +/* 801299A0 00126900 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 801299A4 00126904 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 801299A8 00126908 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 +/* 801299AC 0012690C CB A1 00 50 */ lfd f29, 0x50(r1) +/* 801299B0 00126910 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 +/* 801299B4 00126914 CB 81 00 40 */ lfd f28, 0x40(r1) +/* 801299B8 00126918 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 +/* 801299BC 0012691C CB 61 00 30 */ lfd f27, 0x30(r1) +/* 801299C0 00126920 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 801299C4 00126924 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 801299C8 00126928 80 01 00 84 */ lwz r0, 0x84(r1) +/* 801299CC 0012692C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 801299D0 00126930 7C 08 03 A6 */ mtlr r0 +/* 801299D4 00126934 38 21 00 80 */ addi r1, r1, 0x80 +/* 801299D8 00126938 4E 80 00 20 */ blr + +.global CheckTargetable__12CSpacePirateFR13CStateManager +CheckTargetable__12CSpacePirateFR13CStateManager: +/* 801299DC 0012693C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801299E0 00126940 7C 08 02 A6 */ mflr r0 +/* 801299E4 00126944 90 01 00 14 */ stw r0, 0x14(r1) +/* 801299E8 00126948 81 83 00 00 */ lwz r12, 0(r3) +/* 801299EC 0012694C 81 8C 02 B4 */ lwz r12, 0x2b4(r12) +/* 801299F0 00126950 7D 89 03 A6 */ mtctr r12 +/* 801299F4 00126954 4E 80 04 21 */ bctrl +/* 801299F8 00126958 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 801299FC 0012695C 20 00 00 7F */ subfic r0, r0, 0x7f +/* 80129A00 00126960 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80129A04 00126964 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80129A08 00126968 7C 08 03 A6 */ mtlr r0 +/* 80129A0C 0012696C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80129A10 00126970 4E 80 00 20 */ blr + +.global SetEyeParticleActive__12CSpacePirateFR13CStateManagerb +SetEyeParticleActive__12CSpacePirateFR13CStateManagerb: +/* 80129A14 00126974 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80129A18 00126978 7C 08 02 A6 */ mflr r0 +/* 80129A1C 0012697C 7C 86 23 78 */ mr r6, r4 +/* 80129A20 00126980 90 01 00 14 */ stw r0, 0x14(r1) +/* 80129A24 00126984 88 03 06 36 */ lbz r0, 0x636(r3) +/* 80129A28 00126988 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80129A2C 0012698C 40 82 00 54 */ bne lbl_80129A80 +/* 80129A30 00126990 88 03 06 34 */ lbz r0, 0x634(r3) +/* 80129A34 00126994 80 83 00 64 */ lwz r4, 0x64(r3) +/* 80129A38 00126998 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80129A3C 0012699C 80 E4 00 10 */ lwz r7, 0x10(r4) +/* 80129A40 001269A0 41 82 00 10 */ beq lbl_80129A50 +/* 80129A44 001269A4 88 03 06 35 */ lbz r0, 0x635(r3) +/* 80129A48 001269A8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80129A4C 001269AC 41 82 00 24 */ beq lbl_80129A70 +lbl_80129A50: +/* 80129A50 001269B0 88 03 06 35 */ lbz r0, 0x635(r3) +/* 80129A54 001269B4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80129A58 001269B8 40 82 00 28 */ bne lbl_80129A80 +/* 80129A5C 001269BC 3C 80 80 57 */ lis r4, lbl_8056F8A4@ha +/* 80129A60 001269C0 7C E3 3B 78 */ mr r3, r7 +/* 80129A64 001269C4 38 84 F8 A4 */ addi r4, r4, lbl_8056F8A4@l +/* 80129A68 001269C8 4B F0 13 59 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +/* 80129A6C 001269CC 48 00 00 14 */ b lbl_80129A80 +lbl_80129A70: +/* 80129A70 001269D0 3C 80 80 57 */ lis r4, lbl_8056F894@ha +/* 80129A74 001269D4 7C E3 3B 78 */ mr r3, r7 +/* 80129A78 001269D8 38 84 F8 94 */ addi r4, r4, lbl_8056F894@l +/* 80129A7C 001269DC 4B F0 13 45 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager +lbl_80129A80: +/* 80129A80 001269E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80129A84 001269E4 7C 08 03 A6 */ mtlr r0 +/* 80129A88 001269E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 80129A8C 001269EC 4E 80 00 20 */ blr + +.global Listen__12CSpacePirateFRC9CVector3f16EListenNoiseType +Listen__12CSpacePirateFRC9CVector3f16EListenNoiseType: +/* 80129A90 001269F0 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80129A94 001269F4 38 C0 00 00 */ li r6, 0 +/* 80129A98 001269F8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80129A9C 001269FC 41 82 00 90 */ beq lbl_80129B2C +/* 80129AA0 00126A00 C0 24 00 04 */ lfs f1, 4(r4) +/* 80129AA4 00126A04 C0 03 00 50 */ lfs f0, 0x50(r3) +/* 80129AA8 00126A08 C0 43 05 7C */ lfs f2, 0x57c(r3) +/* 80129AAC 00126A0C EC A1 00 28 */ fsubs f5, f1, f0 +/* 80129AB0 00126A10 C0 84 00 00 */ lfs f4, 0(r4) +/* 80129AB4 00126A14 C0 63 00 40 */ lfs f3, 0x40(r3) +/* 80129AB8 00126A18 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 80129ABC 00126A1C C0 44 00 08 */ lfs f2, 8(r4) +/* 80129AC0 00126A20 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 80129AC4 00126A24 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80129AC8 00126A28 EC 42 08 28 */ fsubs f2, f2, f1 +/* 80129ACC 00126A2C EC 25 01 72 */ fmuls f1, f5, f5 +/* 80129AD0 00126A30 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 80129AD4 00126A34 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 80129AD8 00126A38 EC 22 08 2A */ fadds f1, f2, f1 +/* 80129ADC 00126A3C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80129AE0 00126A40 40 80 00 34 */ bge lbl_80129B14 +/* 80129AE4 00126A44 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80129AE8 00126A48 C0 23 03 C0 */ lfs f1, 0x3c0(r3) +/* 80129AEC 00126A4C FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80129AF0 00126A50 41 82 00 10 */ beq lbl_80129B00 +/* 80129AF4 00126A54 EC 01 00 72 */ fmuls f0, f1, f1 +/* 80129AF8 00126A58 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80129AFC 00126A5C 40 80 00 18 */ bge lbl_80129B14 +lbl_80129B00: +/* 80129B00 00126A60 88 03 06 36 */ lbz r0, 0x636(r3) +/* 80129B04 00126A64 38 80 00 01 */ li r4, 1 +/* 80129B08 00126A68 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80129B0C 00126A6C 38 C0 00 01 */ li r6, 1 +/* 80129B10 00126A70 98 03 06 36 */ stb r0, 0x636(r3) +lbl_80129B14: +/* 80129B14 00126A74 2C 05 00 00 */ cmpwi r5, 0 +/* 80129B18 00126A78 40 82 00 14 */ bne lbl_80129B2C +/* 80129B1C 00126A7C 88 03 06 37 */ lbz r0, 0x637(r3) +/* 80129B20 00126A80 38 80 00 01 */ li r4, 1 +/* 80129B24 00126A84 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80129B28 00126A88 98 03 06 37 */ stb r0, 0x637(r3) +lbl_80129B2C: +/* 80129B2C 00126A8C 54 C3 06 3E */ clrlwi r3, r6, 0x18 +/* 80129B30 00126A90 4E 80 00 20 */ blr + +.global Touch__12CSpacePirateFR6CActorR13CStateManager +Touch__12CSpacePirateFR6CActorR13CStateManager: +/* 80129B34 00126A94 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80129B38 00126A98 7C 08 02 A6 */ mflr r0 +/* 80129B3C 00126A9C 90 01 00 24 */ stw r0, 0x24(r1) +/* 80129B40 00126AA0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80129B44 00126AA4 7C 9F 23 78 */ mr r31, r4 +/* 80129B48 00126AA8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80129B4C 00126AAC 7C 7E 1B 78 */ mr r30, r3 +/* 80129B50 00126AB0 4B F4 FF 51 */ bl Touch__10CPatternedFR6CActorR13CStateManager +/* 80129B54 00126AB4 80 7E 08 5C */ lwz r3, 0x85c(r30) +/* 80129B58 00126AB8 28 03 00 00 */ cmplwi r3, 0 +/* 80129B5C 00126ABC 41 82 00 84 */ beq lbl_80129BE0 +/* 80129B60 00126AC0 88 03 00 68 */ lbz r0, 0x68(r3) +/* 80129B64 00126AC4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80129B68 00126AC8 41 82 00 78 */ beq lbl_80129BE0 +/* 80129B6C 00126ACC 7F E4 FB 78 */ mr r4, r31 +/* 80129B70 00126AD0 38 61 00 08 */ addi r3, r1, 8 +/* 80129B74 00126AD4 4B F7 D3 E1 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity" +/* 80129B78 00126AD8 80 63 00 04 */ lwz r3, 4(r3) +/* 80129B7C 00126ADC 28 03 00 00 */ cmplwi r3, 0 +/* 80129B80 00126AE0 41 82 00 60 */ beq lbl_80129BE0 +/* 80129B84 00126AE4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80129B88 00126AE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80129B8C 00126AEC 41 82 00 54 */ beq lbl_80129BE0 +/* 80129B90 00126AF0 80 03 01 2C */ lwz r0, 0x12c(r3) +/* 80129B94 00126AF4 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e +/* 80129B98 00126AF8 41 82 00 48 */ beq lbl_80129BE0 +/* 80129B9C 00126AFC C0 23 01 28 */ lfs f1, 0x128(r3) +/* 80129BA0 00126B00 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 80129BA4 00126B04 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80129BA8 00126B08 40 81 00 38 */ ble lbl_80129BE0 +/* 80129BAC 00126B0C 80 9E 08 5C */ lwz r4, 0x85c(r30) +/* 80129BB0 00126B10 C0 03 01 1C */ lfs f0, 0x11c(r3) +/* 80129BB4 00126B14 C0 24 00 84 */ lfs f1, 0x84(r4) +/* 80129BB8 00126B18 EC 01 00 2A */ fadds f0, f1, f0 +/* 80129BBC 00126B1C D0 04 00 84 */ stfs f0, 0x84(r4) +/* 80129BC0 00126B20 C0 24 00 88 */ lfs f1, 0x88(r4) +/* 80129BC4 00126B24 C0 03 01 20 */ lfs f0, 0x120(r3) +/* 80129BC8 00126B28 EC 01 00 2A */ fadds f0, f1, f0 +/* 80129BCC 00126B2C D0 04 00 88 */ stfs f0, 0x88(r4) +/* 80129BD0 00126B30 C0 24 00 8C */ lfs f1, 0x8c(r4) +/* 80129BD4 00126B34 C0 03 01 24 */ lfs f0, 0x124(r3) +/* 80129BD8 00126B38 EC 01 00 2A */ fadds f0, f1, f0 +/* 80129BDC 00126B3C D0 04 00 8C */ stfs f0, 0x8c(r4) +lbl_80129BE0: +/* 80129BE0 00126B40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80129BE4 00126B44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80129BE8 00126B48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80129BEC 00126B4C 7C 08 03 A6 */ mtlr r0 +/* 80129BF0 00126B50 38 21 00 20 */ addi r1, r1, 0x20 +/* 80129BF4 00126B54 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12CSpacePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12CSpacePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80129BF8 00126B58 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 80129BFC 00126B5C 7C 08 02 A6 */ mflr r0 +/* 80129C00 00126B60 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80129C04 00126B64 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 80129C08 00126B68 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 80129C0C 00126B6C BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 80129C10 00126B70 88 03 06 37 */ lbz r0, 0x637(r3) +/* 80129C14 00126B74 7C 7C 1B 78 */ mr r28, r3 +/* 80129C18 00126B78 7C 9D 23 78 */ mr r29, r4 +/* 80129C1C 00126B7C 7C BE 2B 78 */ mr r30, r5 +/* 80129C20 00126B80 54 03 F7 FF */ rlwinm. r3, r0, 0x1e, 0x1f, 0x1f +/* 80129C24 00126B84 7C DF 33 78 */ mr r31, r6 +/* 80129C28 00126B88 40 82 00 10 */ bne lbl_80129C38 +/* 80129C2C 00126B8C 88 1C 06 34 */ lbz r0, 0x634(r28) +/* 80129C30 00126B90 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80129C34 00126B94 41 82 00 D0 */ beq lbl_80129D04 +lbl_80129C38: +/* 80129C38 00126B98 2C 1D 00 1A */ cmpwi r29, 0x1a +/* 80129C3C 00126B9C 41 82 00 14 */ beq lbl_80129C50 +/* 80129C40 00126BA0 40 80 00 C4 */ bge lbl_80129D04 +/* 80129C44 00126BA4 2C 1D 00 17 */ cmpwi r29, 0x17 +/* 80129C48 00126BA8 41 82 00 B4 */ beq lbl_80129CFC +/* 80129C4C 00126BAC 48 00 00 B8 */ b lbl_80129D04 +lbl_80129C50: +/* 80129C50 00126BB0 28 03 00 00 */ cmplwi r3, 0 +/* 80129C54 00126BB4 41 82 00 34 */ beq lbl_80129C88 +/* 80129C58 00126BB8 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 80129C5C 00126BBC 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80129C60 00126BC0 2C 00 00 14 */ cmpwi r0, 0x14 +/* 80129C64 00126BC4 40 82 00 24 */ bne lbl_80129C88 +/* 80129C68 00126BC8 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 80129C6C 00126BCC 48 00 A4 0D */ bl GetCurrentState__14CBodyStateInfoCFv +/* 80129C70 00126BD0 81 83 00 00 */ lwz r12, 0(r3) +/* 80129C74 00126BD4 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 80129C78 00126BD8 7D 89 03 A6 */ mtctr r12 +/* 80129C7C 00126BDC 4E 80 04 21 */ bctrl +/* 80129C80 00126BE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80129C84 00126BE4 41 82 00 50 */ beq lbl_80129CD4 +lbl_80129C88: +/* 80129C88 00126BE8 88 1C 06 34 */ lbz r0, 0x634(r28) +/* 80129C8C 00126BEC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80129C90 00126BF0 41 82 00 74 */ beq lbl_80129D04 +/* 80129C94 00126BF4 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 80129C98 00126BF8 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 80129C9C 00126BFC 2C 00 00 05 */ cmpwi r0, 5 +/* 80129CA0 00126C00 41 82 00 34 */ beq lbl_80129CD4 +/* 80129CA4 00126C04 2C 00 00 0D */ cmpwi r0, 0xd +/* 80129CA8 00126C08 40 82 00 5C */ bne lbl_80129D04 +/* 80129CAC 00126C0C 3B 63 02 A4 */ addi r27, r3, 0x2a4 +/* 80129CB0 00126C10 7F 63 DB 78 */ mr r3, r27 +/* 80129CB4 00126C14 48 00 A3 C5 */ bl GetCurrentState__14CBodyStateInfoCFv +/* 80129CB8 00126C18 81 83 00 00 */ lwz r12, 0(r3) +/* 80129CBC 00126C1C 80 9B 00 18 */ lwz r4, 0x18(r27) +/* 80129CC0 00126C20 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80129CC4 00126C24 7D 89 03 A6 */ mtctr r12 +/* 80129CC8 00126C28 4E 80 04 21 */ bctrl +/* 80129CCC 00126C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80129CD0 00126C30 40 82 00 34 */ bne lbl_80129D04 +lbl_80129CD4: +/* 80129CD4 00126C34 7F 83 E3 78 */ mr r3, r28 +/* 80129CD8 00126C38 4B FF 16 A1 */ bl Stop__13CPhysicsActorFv +/* 80129CDC 00126C3C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80129CE0 00126C40 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 80129CE4 00126C44 D0 1C 01 50 */ stfs f0, 0x150(r28) +/* 80129CE8 00126C48 C0 03 00 04 */ lfs f0, 4(r3) +/* 80129CEC 00126C4C D0 1C 01 54 */ stfs f0, 0x154(r28) +/* 80129CF0 00126C50 C0 03 00 08 */ lfs f0, 8(r3) +/* 80129CF4 00126C54 D0 1C 01 58 */ stfs f0, 0x158(r28) +/* 80129CF8 00126C58 48 00 05 EC */ b lbl_8012A2E4 +lbl_80129CFC: +/* 80129CFC 00126C5C C0 02 98 10 */ lfs f0, lbl_805AB530@sda21(r2) +/* 80129D00 00126C60 D0 1C 08 50 */ stfs f0, 0x850(r28) +lbl_80129D04: +/* 80129D04 00126C64 2C 1D 00 15 */ cmpwi r29, 0x15 +/* 80129D08 00126C68 41 82 00 14 */ beq lbl_80129D1C +/* 80129D0C 00126C6C 40 80 00 88 */ bge lbl_80129D94 +/* 80129D10 00126C70 2C 1D 00 01 */ cmpwi r29, 1 +/* 80129D14 00126C74 41 82 00 08 */ beq lbl_80129D1C +/* 80129D18 00126C78 48 00 00 7C */ b lbl_80129D94 +lbl_80129D1C: +/* 80129D1C 00126C7C 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 80129D20 00126C80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80129D24 00126C84 41 82 00 44 */ beq lbl_80129D68 +/* 80129D28 00126C88 88 1C 06 34 */ lbz r0, 0x634(r28) +/* 80129D2C 00126C8C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 80129D30 00126C90 41 82 00 18 */ beq lbl_80129D48 +/* 80129D34 00126C94 88 1C 06 38 */ lbz r0, 0x638(r28) +/* 80129D38 00126C98 38 60 00 01 */ li r3, 1 +/* 80129D3C 00126C9C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 80129D40 00126CA0 98 1C 06 38 */ stb r0, 0x638(r28) +/* 80129D44 00126CA4 48 00 00 14 */ b lbl_80129D58 +lbl_80129D48: +/* 80129D48 00126CA8 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 80129D4C 00126CAC 38 60 00 01 */ li r3, 1 +/* 80129D50 00126CB0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80129D54 00126CB4 98 1C 04 00 */ stb r0, 0x400(r28) +lbl_80129D58: +/* 80129D58 00126CB8 7F 83 E3 78 */ mr r3, r28 +/* 80129D5C 00126CBC 7F E4 FB 78 */ mr r4, r31 +/* 80129D60 00126CC0 4B FF F9 D5 */ bl SquadAdd__12CSpacePirateFR13CStateManager +/* 80129D64 00126CC4 48 00 00 30 */ b lbl_80129D94 +lbl_80129D68: +/* 80129D68 00126CC8 88 1C 06 34 */ lbz r0, 0x634(r28) +/* 80129D6C 00126CCC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80129D70 00126CD0 41 82 00 24 */ beq lbl_80129D94 +/* 80129D74 00126CD4 7F 83 E3 78 */ mr r3, r28 +/* 80129D78 00126CD8 7F E5 FB 78 */ mr r5, r31 +/* 80129D7C 00126CDC 38 80 00 25 */ li r4, 0x25 +/* 80129D80 00126CE0 4B F2 A2 01 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 80129D84 00126CE4 88 1C 03 28 */ lbz r0, 0x328(r28) +/* 80129D88 00126CE8 38 60 00 00 */ li r3, 0 +/* 80129D8C 00126CEC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 80129D90 00126CF0 98 1C 03 28 */ stb r0, 0x328(r28) +lbl_80129D94: +/* 80129D94 00126CF4 A0 1E 00 00 */ lhz r0, 0(r30) +/* 80129D98 00126CF8 7F 83 E3 78 */ mr r3, r28 +/* 80129D9C 00126CFC 7F A4 EB 78 */ mr r4, r29 +/* 80129DA0 00126D00 7F E6 FB 78 */ mr r6, r31 +/* 80129DA4 00126D04 B0 01 00 34 */ sth r0, 0x34(r1) +/* 80129DA8 00126D08 38 A1 00 34 */ addi r5, r1, 0x34 +/* 80129DAC 00126D0C 4B F5 2D CD */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80129DB0 00126D10 38 1D FF FC */ addi r0, r29, -4 +/* 80129DB4 00126D14 28 00 00 24 */ cmplwi r0, 0x24 +/* 80129DB8 00126D18 41 81 05 2C */ bgt lbl_8012A2E4 +/* 80129DBC 00126D1C 3C 60 80 3E */ lis r3, lbl_803E0AF8@ha +/* 80129DC0 00126D20 54 00 10 3A */ slwi r0, r0, 2 +/* 80129DC4 00126D24 38 63 0A F8 */ addi r3, r3, lbl_803E0AF8@l +/* 80129DC8 00126D28 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80129DCC 00126D2C 7C 09 03 A6 */ mtctr r0 +/* 80129DD0 00126D30 4E 80 04 20 */ bctr +/* 80129DD4 00126D34 83 7C 00 2C */ lwz r27, 0x2c(r28) +/* 80129DD8 00126D38 48 00 00 A0 */ b lbl_80129E78 +lbl_80129DDC: +/* 80129DDC 00126D3C 80 7B 00 00 */ lwz r3, 0(r27) +/* 80129DE0 00126D40 2C 03 00 0C */ cmpwi r3, 0xc +/* 80129DE4 00126D44 40 82 00 6C */ bne lbl_80129E50 +/* 80129DE8 00126D48 80 1B 00 04 */ lwz r0, 4(r27) +/* 80129DEC 00126D4C 2C 00 00 08 */ cmpwi r0, 8 +/* 80129DF0 00126D50 40 82 00 60 */ bne lbl_80129E50 +/* 80129DF4 00126D54 80 1B 00 08 */ lwz r0, 8(r27) +/* 80129DF8 00126D58 7F E4 FB 78 */ mr r4, r31 +/* 80129DFC 00126D5C 38 61 00 30 */ addi r3, r1, 0x30 +/* 80129E00 00126D60 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80129E04 00126D64 90 01 00 44 */ stw r0, 0x44(r1) +/* 80129E08 00126D68 4B F1 E1 15 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80129E0C 00126D6C A0 01 00 30 */ lhz r0, 0x30(r1) +/* 80129E10 00126D70 7F E3 FB 78 */ mr r3, r31 +/* 80129E14 00126D74 38 81 00 2C */ addi r4, r1, 0x2c +/* 80129E18 00126D78 B0 01 00 38 */ sth r0, 0x38(r1) +/* 80129E1C 00126D7C B0 01 00 2C */ sth r0, 0x2c(r1) +/* 80129E20 00126D80 4B F2 27 55 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80129E24 00126D84 7C 64 1B 78 */ mr r4, r3 +/* 80129E28 00126D88 38 61 00 50 */ addi r3, r1, 0x50 +/* 80129E2C 00126D8C 4B F8 0C 01 */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" +/* 80129E30 00126D90 80 63 00 04 */ lwz r3, 4(r3) +/* 80129E34 00126D94 28 03 00 00 */ cmplwi r3, 0 +/* 80129E38 00126D98 41 82 00 3C */ beq lbl_80129E74 +/* 80129E3C 00126D9C A0 1C 00 08 */ lhz r0, 8(r28) +/* 80129E40 00126DA0 B0 01 00 24 */ sth r0, 0x24(r1) +/* 80129E44 00126DA4 B0 01 00 28 */ sth r0, 0x28(r1) +/* 80129E48 00126DA8 B0 03 00 FA */ sth r0, 0xfa(r3) +/* 80129E4C 00126DAC 48 00 00 28 */ b lbl_80129E74 +lbl_80129E50: +/* 80129E50 00126DB0 2C 03 00 0D */ cmpwi r3, 0xd +/* 80129E54 00126DB4 40 82 00 20 */ bne lbl_80129E74 +/* 80129E58 00126DB8 80 1B 00 04 */ lwz r0, 4(r27) +/* 80129E5C 00126DBC 2C 00 00 06 */ cmpwi r0, 6 +/* 80129E60 00126DC0 40 82 00 14 */ bne lbl_80129E74 +/* 80129E64 00126DC4 88 1C 06 37 */ lbz r0, 0x637(r28) +/* 80129E68 00126DC8 38 60 00 01 */ li r3, 1 +/* 80129E6C 00126DCC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80129E70 00126DD0 98 1C 06 37 */ stb r0, 0x637(r28) +lbl_80129E74: +/* 80129E74 00126DD4 3B 7B 00 0C */ addi r27, r27, 0xc +lbl_80129E78: +/* 80129E78 00126DD8 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 80129E7C 00126DDC 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 80129E80 00126DE0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80129E84 00126DE4 7C 03 02 14 */ add r0, r3, r0 +/* 80129E88 00126DE8 7C 1B 00 40 */ cmplw r27, r0 +/* 80129E8C 00126DEC 40 82 FF 50 */ bne lbl_80129DDC +/* 80129E90 00126DF0 80 BC 00 04 */ lwz r5, 4(r28) +/* 80129E94 00126DF4 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 80129E98 00126DF8 54 A3 18 38 */ slwi r3, r5, 3 +/* 80129E9C 00126DFC 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 80129EA0 00126E00 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80129EA4 00126E04 38 03 00 04 */ addi r0, r3, 4 +/* 80129EA8 00126E08 90 A1 00 40 */ stw r5, 0x40(r1) +/* 80129EAC 00126E0C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 80129EB0 00126E10 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80129EB4 00126E14 80 03 10 BC */ lwz r0, 0x10bc(r3) +/* 80129EB8 00126E18 90 1C 06 60 */ stw r0, 0x660(r28) +/* 80129EBC 00126E1C 88 1C 06 35 */ lbz r0, 0x635(r28) +/* 80129EC0 00126E20 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 80129EC4 00126E24 41 82 00 5C */ beq lbl_80129F20 +/* 80129EC8 00126E28 C0 02 98 64 */ lfs f0, lbl_805AB584@sda21(r2) +/* 80129ECC 00126E2C 7F 83 E3 78 */ mr r3, r28 +/* 80129ED0 00126E30 7F E8 FB 78 */ mr r8, r31 +/* 80129ED4 00126E34 38 80 00 21 */ li r4, 0x21 +/* 80129ED8 00126E38 D0 1C 08 58 */ stfs f0, 0x858(r28) +/* 80129EDC 00126E3C 38 A0 00 13 */ li r5, 0x13 +/* 80129EE0 00126E40 38 C0 00 28 */ li r6, 0x28 +/* 80129EE4 00126E44 38 E0 00 29 */ li r7, 0x29 +/* 80129EE8 00126E48 4B F2 9E 01 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 80129EEC 00126E4C 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 80129EF0 00126E50 38 60 00 00 */ li r3, 0 +/* 80129EF4 00126E54 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80129EF8 00126E58 7F 83 E3 78 */ mr r3, r28 +/* 80129EFC 00126E5C 98 1C 04 00 */ stb r0, 0x400(r28) +/* 80129F00 00126E60 7F E4 FB 78 */ mr r4, r31 +/* 80129F04 00126E64 81 9C 00 00 */ lwz r12, 0(r28) +/* 80129F08 00126E68 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 80129F0C 00126E6C 7D 89 03 A6 */ mtctr r12 +/* 80129F10 00126E70 4E 80 04 21 */ bctrl +/* 80129F14 00126E74 C0 02 98 68 */ lfs f0, lbl_805AB588@sda21(r2) +/* 80129F18 00126E78 D0 03 00 00 */ stfs f0, 0(r3) +/* 80129F1C 00126E7C 48 00 03 C8 */ b lbl_8012A2E4 +lbl_80129F20: +/* 80129F20 00126E80 7F 83 E3 78 */ mr r3, r28 +/* 80129F24 00126E84 7F E4 FB 78 */ mr r4, r31 +/* 80129F28 00126E88 38 A0 00 01 */ li r5, 1 +/* 80129F2C 00126E8C 4B FF FA E9 */ bl SetEyeParticleActive__12CSpacePirateFR13CStateManagerb +/* 80129F30 00126E90 48 00 03 B4 */ b lbl_8012A2E4 +/* 80129F34 00126E94 80 7C 08 5C */ lwz r3, 0x85c(r28) +/* 80129F38 00126E98 28 03 00 00 */ cmplwi r3, 0 +/* 80129F3C 00126E9C 41 82 03 A8 */ beq lbl_8012A2E4 +/* 80129F40 00126EA0 88 03 00 68 */ lbz r0, 0x68(r3) +/* 80129F44 00126EA4 38 80 00 00 */ li r4, 0 +/* 80129F48 00126EA8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80129F4C 00126EAC 98 03 00 68 */ stb r0, 0x68(r3) +/* 80129F50 00126EB0 80 7C 08 5C */ lwz r3, 0x85c(r28) +/* 80129F54 00126EB4 88 03 00 68 */ lbz r0, 0x68(r3) +/* 80129F58 00126EB8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80129F5C 00126EBC 98 03 00 68 */ stb r0, 0x68(r3) +/* 80129F60 00126EC0 48 00 03 84 */ b lbl_8012A2E4 +/* 80129F64 00126EC4 88 7C 06 34 */ lbz r3, 0x634(r28) +/* 80129F68 00126EC8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 80129F6C 00126ECC 41 82 00 3C */ beq lbl_80129FA8 +/* 80129F70 00126ED0 38 00 00 01 */ li r0, 1 +/* 80129F74 00126ED4 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 80129F78 00126ED8 98 7C 06 34 */ stb r3, 0x634(r28) +/* 80129F7C 00126EDC 88 1C 06 35 */ lbz r0, 0x635(r28) +/* 80129F80 00126EE0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 80129F84 00126EE4 41 82 00 24 */ beq lbl_80129FA8 +/* 80129F88 00126EE8 C0 22 97 E4 */ lfs f1, lbl_805AB504@sda21(r2) +/* 80129F8C 00126EEC C0 1C 06 18 */ lfs f0, 0x618(r28) +/* 80129F90 00126EF0 EF E1 00 32 */ fmuls f31, f1, f0 +/* 80129F94 00126EF4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 80129F98 00126EF8 C0 02 98 68 */ lfs f0, lbl_805AB588@sda21(r2) +/* 80129F9C 00126EFC 88 01 00 08 */ lbz r0, 8(r1) +/* 80129FA0 00126F00 98 1C 04 2F */ stb r0, 0x42f(r28) +/* 80129FA4 00126F04 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) +lbl_80129FA8: +/* 80129FA8 00126F08 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 80129FAC 00126F0C 48 1E 85 75 */ bl Next__9CRandom16Fv +/* 80129FB0 00126F10 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha +/* 80129FB4 00126F14 38 04 AA AB */ addi r0, r4, 0x2AAAAAAB@l +/* 80129FB8 00126F18 7C 80 18 96 */ mulhw r4, r0, r3 +/* 80129FBC 00126F1C 54 80 0F FE */ srwi r0, r4, 0x1f +/* 80129FC0 00126F20 7C 04 02 14 */ add r0, r4, r0 +/* 80129FC4 00126F24 1C 00 00 06 */ mulli r0, r0, 6 +/* 80129FC8 00126F28 7C 00 18 50 */ subf r0, r0, r3 +/* 80129FCC 00126F2C 7F 83 E3 78 */ mr r3, r28 +/* 80129FD0 00126F30 90 1C 07 5C */ stw r0, 0x75c(r28) +/* 80129FD4 00126F34 4B F2 98 E9 */ bl GetMaterialFilter__6CActorCFv +/* 80129FD8 00126F38 83 63 00 00 */ lwz r27, 0(r3) +/* 80129FDC 00126F3C 83 A3 00 04 */ lwz r29, 4(r3) +/* 80129FE0 00126F40 7F 83 E3 78 */ mr r3, r28 +/* 80129FE4 00126F44 4B F2 98 D9 */ bl GetMaterialFilter__6CActorCFv +/* 80129FE8 00126F48 80 AD 8A 9C */ lwz r5, lbl_805A765C@sda21(r13) +/* 80129FEC 00126F4C 38 80 00 01 */ li r4, 1 +/* 80129FF0 00126F50 83 C3 00 08 */ lwz r30, 8(r3) +/* 80129FF4 00126F54 83 E3 00 0C */ lwz r31, 0xc(r3) +/* 80129FF8 00126F58 38 60 00 00 */ li r3, 0 +/* 80129FFC 00126F5C 48 25 FE F9 */ bl __shl2i +/* 8012A000 00126F60 7C 85 20 F8 */ nor r5, r4, r4 +/* 8012A004 00126F64 7C 60 18 F8 */ nor r0, r3, r3 +/* 8012A008 00126F68 7F FF 23 78 */ or r31, r31, r4 +/* 8012A00C 00126F6C 7F DE 1B 78 */ or r30, r30, r3 +/* 8012A010 00126F70 7F BD 28 38 */ and r29, r29, r5 +/* 8012A014 00126F74 7F 7B 00 38 */ and r27, r27, r0 +/* 8012A018 00126F78 38 00 00 03 */ li r0, 3 +/* 8012A01C 00126F7C 93 A1 00 6C */ stw r29, 0x6c(r1) +/* 8012A020 00126F80 7F 83 E3 78 */ mr r3, r28 +/* 8012A024 00126F84 38 81 00 68 */ addi r4, r1, 0x68 +/* 8012A028 00126F88 93 61 00 68 */ stw r27, 0x68(r1) +/* 8012A02C 00126F8C 93 E1 00 74 */ stw r31, 0x74(r1) +/* 8012A030 00126F90 93 C1 00 70 */ stw r30, 0x70(r1) +/* 8012A034 00126F94 90 01 00 78 */ stw r0, 0x78(r1) +/* 8012A038 00126F98 4B F2 98 69 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 8012A03C 00126F9C 48 00 02 A8 */ b lbl_8012A2E4 +/* 8012A040 00126FA0 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 8012A044 00126FA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012A048 00126FA8 41 82 02 9C */ beq lbl_8012A2E4 +/* 8012A04C 00126FAC 88 1C 06 36 */ lbz r0, 0x636(r28) +/* 8012A050 00126FB0 38 60 00 01 */ li r3, 1 +/* 8012A054 00126FB4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8012A058 00126FB8 98 1C 06 36 */ stb r0, 0x636(r28) +/* 8012A05C 00126FBC 48 00 02 88 */ b lbl_8012A2E4 +/* 8012A060 00126FC0 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8012A064 00126FC4 88 03 03 00 */ lbz r0, 0x300(r3) +/* 8012A068 00126FC8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8012A06C 00126FCC 40 82 00 48 */ bne lbl_8012A0B4 +/* 8012A070 00126FD0 7F 83 E3 78 */ mr r3, r28 +/* 8012A074 00126FD4 C3 FC 00 E8 */ lfs f31, 0xe8(r28) +/* 8012A078 00126FD8 81 9C 00 00 */ lwz r12, 0(r28) +/* 8012A07C 00126FDC 81 8C 02 BC */ lwz r12, 0x2bc(r12) +/* 8012A080 00126FE0 7D 89 03 A6 */ mtctr r12 +/* 8012A084 00126FE4 4E 80 04 21 */ bctrl +/* 8012A088 00126FE8 88 1C 06 34 */ lbz r0, 0x634(r28) +/* 8012A08C 00126FEC EC 41 07 F2 */ fmuls f2, f1, f31 +/* 8012A090 00126FF0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8012A094 00126FF4 41 82 00 0C */ beq lbl_8012A0A0 +/* 8012A098 00126FF8 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) +/* 8012A09C 00126FFC EC 42 00 32 */ fmuls f2, f2, f0 +lbl_8012A0A0: +/* 8012A0A0 00127000 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 8012A0A4 00127004 FC 00 10 50 */ fneg f0, f2 +/* 8012A0A8 00127008 D0 3C 01 50 */ stfs f1, 0x150(r28) +/* 8012A0AC 0012700C D0 3C 01 54 */ stfs f1, 0x154(r28) +/* 8012A0B0 00127010 D0 1C 01 58 */ stfs f0, 0x158(r28) +lbl_8012A0B4: +/* 8012A0B4 00127014 80 7C 04 50 */ lwz r3, 0x450(r28) +/* 8012A0B8 00127018 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8012A0BC 0012701C 2C 00 00 03 */ cmpwi r0, 3 +/* 8012A0C0 00127020 40 82 00 24 */ bne lbl_8012A0E4 +/* 8012A0C4 00127024 C0 3C 01 40 */ lfs f1, 0x140(r28) +/* 8012A0C8 00127028 7F 83 E3 78 */ mr r3, r28 +/* 8012A0CC 0012702C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012A0D0 00127030 38 81 00 58 */ addi r4, r1, 0x58 +/* 8012A0D4 00127034 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 8012A0D8 00127038 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8012A0DC 0012703C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8012A0E0 00127040 4B FF 0B C1 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_8012A0E4: +/* 8012A0E4 00127044 38 00 00 03 */ li r0, 3 +/* 8012A0E8 00127048 90 1C 07 C4 */ stw r0, 0x7c4(r28) +/* 8012A0EC 0012704C 48 00 01 F8 */ b lbl_8012A2E4 +/* 8012A0F0 00127050 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8012A0F4 00127054 7F 83 E3 78 */ mr r3, r28 +/* 8012A0F8 00127058 7F E6 FB 78 */ mr r6, r31 +/* 8012A0FC 0012705C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8012A100 00127060 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8012A104 00127064 38 80 00 1A */ li r4, 0x1a +/* 8012A108 00127068 4B F5 2A 71 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8012A10C 0012706C 7F 83 E3 78 */ mr r3, r28 +/* 8012A110 00127070 C3 FC 00 E8 */ lfs f31, 0xe8(r28) +/* 8012A114 00127074 81 9C 00 00 */ lwz r12, 0(r28) +/* 8012A118 00127078 81 8C 02 BC */ lwz r12, 0x2bc(r12) +/* 8012A11C 0012707C 7D 89 03 A6 */ mtctr r12 +/* 8012A120 00127080 4E 80 04 21 */ bctrl +/* 8012A124 00127084 FC 20 08 50 */ fneg f1, f1 +/* 8012A128 00127088 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012A12C 0012708C 7F 83 E3 78 */ mr r3, r28 +/* 8012A130 00127090 D0 1C 01 50 */ stfs f0, 0x150(r28) +/* 8012A134 00127094 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 8012A138 00127098 D0 1C 01 54 */ stfs f0, 0x154(r28) +/* 8012A13C 0012709C D0 3C 01 58 */ stfs f1, 0x158(r28) +/* 8012A140 001270A0 4B FF F7 1D */ bl SetVelocityForJump__12CSpacePirateFv +/* 8012A144 001270A4 48 00 01 A0 */ b lbl_8012A2E4 +/* 8012A148 001270A8 88 1C 06 34 */ lbz r0, 0x634(r28) +/* 8012A14C 001270AC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8012A150 001270B0 40 82 00 10 */ bne lbl_8012A160 +/* 8012A154 001270B4 38 00 00 01 */ li r0, 1 +/* 8012A158 001270B8 90 1C 07 C4 */ stw r0, 0x7c4(r28) +/* 8012A15C 001270BC 48 00 00 0C */ b lbl_8012A168 +lbl_8012A160: +/* 8012A160 001270C0 38 00 00 04 */ li r0, 4 +/* 8012A164 001270C4 90 1C 07 C4 */ stw r0, 0x7c4(r28) +lbl_8012A168: +/* 8012A168 001270C8 88 1C 06 37 */ lbz r0, 0x637(r28) +/* 8012A16C 001270CC 38 60 00 00 */ li r3, 0 +/* 8012A170 001270D0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8012A174 001270D4 98 1C 06 37 */ stb r0, 0x637(r28) +/* 8012A178 001270D8 88 1C 06 35 */ lbz r0, 0x635(r28) +/* 8012A17C 001270DC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8012A180 001270E0 41 82 01 64 */ beq lbl_8012A2E4 +/* 8012A184 001270E4 C0 3C 01 40 */ lfs f1, 0x140(r28) +/* 8012A188 001270E8 C0 02 98 68 */ lfs f0, lbl_805AB588@sda21(r2) +/* 8012A18C 001270EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012A190 001270F0 40 80 01 54 */ bge lbl_8012A2E4 +/* 8012A194 001270F4 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 8012A198 001270F8 38 9C 08 A8 */ addi r4, r28, 0x8a8 +/* 8012A19C 001270FC C0 42 98 6C */ lfs f2, lbl_805AB58C@sda21(r2) +/* 8012A1A0 00127100 38 6D 8A A0 */ addi r3, r13, lbl_805A7660@sda21 +/* 8012A1A4 00127104 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) +/* 8012A1A8 00127108 38 AD 8A A4 */ addi r5, r13, lbl_805A7664@sda21 +/* 8012A1AC 0012710C C0 3C 01 40 */ lfs f1, 0x140(r28) +/* 8012A1B0 00127110 C0 1C 08 A8 */ lfs f0, 0x8a8(r28) +/* 8012A1B4 00127114 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8012A1B8 00127118 D0 1C 08 A8 */ stfs f0, 0x8a8(r28) +/* 8012A1BC 0012711C 4B EE 20 F9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8012A1C0 00127120 C0 23 00 00 */ lfs f1, 0(r3) +/* 8012A1C4 00127124 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 8012A1C8 00127128 D0 3C 08 A8 */ stfs f1, 0x8a8(r28) +/* 8012A1CC 0012712C D0 1C 08 BC */ stfs f0, 0x8bc(r28) +/* 8012A1D0 00127130 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 8012A1D4 00127134 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8012A1D8 00127138 41 82 01 0C */ beq lbl_8012A2E4 +/* 8012A1DC 0012713C 80 7F 08 84 */ lwz r3, 0x884(r31) +/* 8012A1E0 00127140 7F 84 E3 78 */ mr r4, r28 +/* 8012A1E4 00127144 48 0B AF ED */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor +/* 8012A1E8 00127148 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) +/* 8012A1EC 0012714C C0 1C 08 A8 */ lfs f0, 0x8a8(r28) +/* 8012A1F0 00127150 EC 01 00 2A */ fadds f0, f1, f0 +/* 8012A1F4 00127154 D0 1C 08 AC */ stfs f0, 0x8ac(r28) +/* 8012A1F8 00127158 48 00 00 EC */ b lbl_8012A2E4 +/* 8012A1FC 0012715C A0 1E 00 00 */ lhz r0, 0(r30) +/* 8012A200 00127160 7F E3 FB 78 */ mr r3, r31 +/* 8012A204 00127164 38 81 00 1C */ addi r4, r1, 0x1c +/* 8012A208 00127168 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8012A20C 0012716C 4B F2 23 69 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8012A210 00127170 7C 64 1B 78 */ mr r4, r3 +/* 8012A214 00127174 38 61 00 48 */ addi r3, r1, 0x48 +/* 8012A218 00127178 4B F7 D6 71 */ bl "__ct__35TCastToPtr<21CScriptTargetingPoint>FP7CEntity" +/* 8012A21C 0012717C 80 63 00 04 */ lwz r3, 4(r3) +/* 8012A220 00127180 28 03 00 00 */ cmplwi r3, 0 +/* 8012A224 00127184 41 82 00 C0 */ beq lbl_8012A2E4 +/* 8012A228 00127188 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8012A22C 0012718C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012A230 00127190 41 82 00 34 */ beq lbl_8012A264 +/* 8012A234 00127194 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8012A238 00127198 38 7C 07 64 */ addi r3, r28, 0x764 +/* 8012A23C 0012719C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8012A240 001271A0 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8012A244 001271A4 48 04 AF D5 */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 8012A248 001271A8 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8012A24C 001271AC 38 60 00 01 */ li r3, 1 +/* 8012A250 001271B0 B0 1C 07 C0 */ sth r0, 0x7c0(r28) +/* 8012A254 001271B4 88 1C 04 00 */ lbz r0, 0x400(r28) +/* 8012A258 001271B8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8012A25C 001271BC 98 1C 04 00 */ stb r0, 0x400(r28) +/* 8012A260 001271C0 48 00 00 2C */ b lbl_8012A28C +lbl_8012A264: +/* 8012A264 001271C4 80 BF 08 4C */ lwz r5, 0x84c(r31) +/* 8012A268 001271C8 38 7C 07 64 */ addi r3, r28, 0x764 +/* 8012A26C 001271CC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8012A270 001271D0 A0 05 00 08 */ lhz r0, 8(r5) +/* 8012A274 001271D4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8012A278 001271D8 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8012A27C 001271DC 48 04 AF 9D */ bl SetTarget__13CBoneTrackingF9TUniqueId +/* 8012A280 001271E0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8012A284 001271E4 A0 03 00 08 */ lhz r0, 8(r3) +/* 8012A288 001271E8 B0 1C 07 C0 */ sth r0, 0x7c0(r28) +lbl_8012A28C: +/* 8012A28C 001271EC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012A290 001271F0 D0 1C 07 BC */ stfs f0, 0x7bc(r28) +/* 8012A294 001271F4 48 00 00 50 */ b lbl_8012A2E4 +/* 8012A298 001271F8 7F 83 E3 78 */ mr r3, r28 +/* 8012A29C 001271FC 7F E4 FB 78 */ mr r4, r31 +/* 8012A2A0 00127200 4B FF F3 E9 */ bl SquadRemove__12CSpacePirateFR13CStateManager +/* 8012A2A4 00127204 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8012A2A8 00127208 3C 60 80 57 */ lis r3, lbl_8056F85C@ha +/* 8012A2AC 0012720C 38 63 F8 5C */ addi r3, r3, lbl_8056F85C@l +/* 8012A2B0 00127210 38 81 00 0C */ addi r4, r1, 0xc +/* 8012A2B4 00127214 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8012A2B8 00127218 4B FF BA D1 */ bl "remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId" +/* 8012A2BC 0012721C 48 00 00 28 */ b lbl_8012A2E4 +/* 8012A2C0 00127220 88 1C 06 39 */ lbz r0, 0x639(r28) +/* 8012A2C4 00127224 38 60 00 00 */ li r3, 0 +/* 8012A2C8 00127228 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8012A2CC 0012722C 98 1C 06 39 */ stb r0, 0x639(r28) +/* 8012A2D0 00127230 48 00 00 14 */ b lbl_8012A2E4 +/* 8012A2D4 00127234 88 1C 06 39 */ lbz r0, 0x639(r28) +/* 8012A2D8 00127238 38 60 00 01 */ li r3, 1 +/* 8012A2DC 0012723C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8012A2E0 00127240 98 1C 06 39 */ stb r0, 0x639(r28) +lbl_8012A2E4: +/* 8012A2E4 00127244 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8012A2E8 00127248 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8012A2EC 0012724C BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 8012A2F0 00127250 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8012A2F4 00127254 7C 08 03 A6 */ mtlr r0 +/* 8012A2F8 00127258 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8012A2FC 0012725C 4E 80 00 20 */ blr + +.global IsInAir__10CBodyStateCFRC15CBodyController +IsInAir__10CBodyStateCFRC15CBodyController: +/* 8012A300 00127260 38 60 00 00 */ li r3, 0 +/* 8012A304 00127264 4E 80 00 20 */ blr + +.global ApplyGravity__10CBodyStateCFv +ApplyGravity__10CBodyStateCFv: +/* 8012A308 00127268 38 60 00 01 */ li r3, 1 +/* 8012A30C 0012726C 4E 80 00 20 */ blr + +.global Accept__12CSpacePirateFR8IVisitor +Accept__12CSpacePirateFR8IVisitor: +/* 8012A310 00127270 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012A314 00127274 7C 08 02 A6 */ mflr r0 +/* 8012A318 00127278 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012A31C 0012727C 7C 60 1B 78 */ mr r0, r3 +/* 8012A320 00127280 7C 83 23 78 */ mr r3, r4 +/* 8012A324 00127284 81 84 00 00 */ lwz r12, 0(r4) +/* 8012A328 00127288 7C 04 03 78 */ mr r4, r0 +/* 8012A32C 0012728C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8012A330 00127290 7D 89 03 A6 */ mtctr r12 +/* 8012A334 00127294 4E 80 04 21 */ bctrl +/* 8012A338 00127298 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012A33C 0012729C 7C 08 03 A6 */ mtlr r0 +/* 8012A340 001272A0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012A344 001272A4 4E 80 00 20 */ blr + +.global "__ct__12CSpacePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoiififfUiUiRC11CDamageInfoUsRC11CDamageInfoiUi11CDamageInfoiUsffUsfi" +"__ct__12CSpacePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoiififfUiUiRC11CDamageInfoUsRC11CDamageInfoiUi11CDamageInfoiUsffUsfi": +/* 8012A348 001272A8 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 8012A34C 001272AC 7C 08 02 A6 */ mflr r0 +/* 8012A350 001272B0 7C CC 33 78 */ mr r12, r6 +/* 8012A354 001272B4 7C EB 3B 78 */ mr r11, r7 +/* 8012A358 001272B8 90 01 02 84 */ stw r0, 0x284(r1) +/* 8012A35C 001272BC 7C A6 2B 78 */ mr r6, r5 +/* 8012A360 001272C0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8012A364 001272C4 38 E0 00 00 */ li r7, 0 +/* 8012A368 001272C8 93 E1 02 7C */ stw r31, 0x27c(r1) +/* 8012A36C 001272CC 83 E1 02 8C */ lwz r31, 0x28c(r1) +/* 8012A370 001272D0 93 C1 02 78 */ stw r30, 0x278(r1) +/* 8012A374 001272D4 7D 5E 53 78 */ mr r30, r10 +/* 8012A378 001272D8 7D 0A 43 78 */ mr r10, r8 +/* 8012A37C 001272DC 7D 88 63 78 */ mr r8, r12 +/* 8012A380 001272E0 93 A1 02 74 */ stw r29, 0x274(r1) +/* 8012A384 001272E4 7C 7D 1B 78 */ mr r29, r3 +/* 8012A388 001272E8 93 81 02 70 */ stw r28, 0x270(r1) +/* 8012A38C 001272EC 83 81 02 88 */ lwz r28, 0x288(r1) +/* 8012A390 001272F0 A0 04 00 00 */ lhz r0, 0(r4) +/* 8012A394 001272F4 38 80 00 00 */ li r4, 0 +/* 8012A398 001272F8 B0 01 00 34 */ sth r0, 0x34(r1) +/* 8012A39C 001272FC 38 00 00 01 */ li r0, 1 +/* 8012A3A0 00127300 93 C1 00 08 */ stw r30, 8(r1) +/* 8012A3A4 00127304 90 81 00 0C */ stw r4, 0xc(r1) +/* 8012A3A8 00127308 38 80 00 22 */ li r4, 0x22 +/* 8012A3AC 0012730C 90 01 00 10 */ stw r0, 0x10(r1) +/* 8012A3B0 00127310 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012A3B4 00127314 91 21 00 18 */ stw r9, 0x18(r1) +/* 8012A3B8 00127318 7D 69 5B 78 */ mr r9, r11 +/* 8012A3BC 0012731C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8012A3C0 00127320 4B F5 30 91 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 8012A3C4 00127324 3C 60 80 3E */ lis r3, lbl_803E0800@ha +/* 8012A3C8 00127328 7F 84 E3 78 */ mr r4, r28 +/* 8012A3CC 0012732C 38 03 08 00 */ addi r0, r3, lbl_803E0800@l +/* 8012A3D0 00127330 7F E5 FB 78 */ mr r5, r31 +/* 8012A3D4 00127334 90 1D 00 00 */ stw r0, 0(r29) +/* 8012A3D8 00127338 38 7D 05 68 */ addi r3, r29, 0x568 +/* 8012A3DC 0012733C 48 00 0C 79 */ bl __ct__Q212CSpacePirate16CSpacePirateDataFR12CInputStreamUi +/* 8012A3E0 00127340 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A3E4 00127344 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012A3E8 00127348 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8012A3EC 0012734C 98 1D 06 34 */ stb r0, 0x634(r29) +/* 8012A3F0 00127350 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A3F4 00127354 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012A3F8 00127358 50 60 2E 72 */ rlwimi r0, r3, 5, 0x19, 0x19 +/* 8012A3FC 0012735C 98 1D 06 34 */ stb r0, 0x634(r29) +/* 8012A400 00127360 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A404 00127364 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012A408 00127368 50 60 1E B4 */ rlwimi r0, r3, 3, 0x1a, 0x1a +/* 8012A40C 0012736C 98 1D 06 34 */ stb r0, 0x634(r29) +/* 8012A410 00127370 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A414 00127374 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012A418 00127378 50 60 0E F6 */ rlwimi r0, r3, 1, 0x1b, 0x1b +/* 8012A41C 0012737C 98 1D 06 34 */ stb r0, 0x634(r29) +/* 8012A420 00127380 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A424 00127384 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012A428 00127388 50 60 FF 38 */ rlwimi r0, r3, 0x1f, 0x1c, 0x1c +/* 8012A42C 0012738C 98 1D 06 34 */ stb r0, 0x634(r29) +/* 8012A430 00127390 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A434 00127394 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012A438 00127398 50 60 EF 7A */ rlwimi r0, r3, 0x1d, 0x1d, 0x1d +/* 8012A43C 0012739C 98 1D 06 34 */ stb r0, 0x634(r29) +/* 8012A440 001273A0 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A444 001273A4 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012A448 001273A8 50 60 DF BC */ rlwimi r0, r3, 0x1b, 0x1e, 0x1e +/* 8012A44C 001273AC 98 1D 06 34 */ stb r0, 0x634(r29) +/* 8012A450 001273B0 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A454 001273B4 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012A458 001273B8 50 60 CF FE */ rlwimi r0, r3, 0x19, 0x1f, 0x1f +/* 8012A45C 001273BC 98 1D 06 34 */ stb r0, 0x634(r29) +/* 8012A460 001273C0 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A464 001273C4 88 1D 06 35 */ lbz r0, 0x635(r29) +/* 8012A468 001273C8 50 60 F6 30 */ rlwimi r0, r3, 0x1e, 0x18, 0x18 +/* 8012A46C 001273CC 98 1D 06 35 */ stb r0, 0x635(r29) +/* 8012A470 001273D0 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A474 001273D4 88 1D 06 35 */ lbz r0, 0x635(r29) +/* 8012A478 001273D8 50 60 E6 72 */ rlwimi r0, r3, 0x1c, 0x19, 0x19 +/* 8012A47C 001273DC 98 1D 06 35 */ stb r0, 0x635(r29) +/* 8012A480 001273E0 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A484 001273E4 88 1D 06 35 */ lbz r0, 0x635(r29) +/* 8012A488 001273E8 50 60 CE B4 */ rlwimi r0, r3, 0x19, 0x1a, 0x1a +/* 8012A48C 001273EC 98 1D 06 35 */ stb r0, 0x635(r29) +/* 8012A490 001273F0 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A494 001273F4 88 1D 06 35 */ lbz r0, 0x635(r29) +/* 8012A498 001273F8 50 60 BE F6 */ rlwimi r0, r3, 0x17, 0x1b, 0x1b +/* 8012A49C 001273FC 98 1D 06 35 */ stb r0, 0x635(r29) +/* 8012A4A0 00127400 80 7D 05 80 */ lwz r3, 0x580(r29) +/* 8012A4A4 00127404 88 1D 06 35 */ lbz r0, 0x635(r29) +/* 8012A4A8 00127408 50 60 AF 38 */ rlwimi r0, r3, 0x15, 0x1c, 0x1c +/* 8012A4AC 0012740C 98 1D 06 35 */ stb r0, 0x635(r29) +/* 8012A4B0 00127410 80 9D 05 80 */ lwz r4, 0x580(r29) +/* 8012A4B4 00127414 38 00 00 00 */ li r0, 0 +/* 8012A4B8 00127418 88 7D 06 35 */ lbz r3, 0x635(r29) +/* 8012A4BC 0012741C 50 83 9F 7A */ rlwimi r3, r4, 0x13, 0x1d, 0x1d +/* 8012A4C0 00127420 98 7D 06 35 */ stb r3, 0x635(r29) +/* 8012A4C4 00127424 80 9D 05 80 */ lwz r4, 0x580(r29) +/* 8012A4C8 00127428 88 7D 06 35 */ lbz r3, 0x635(r29) +/* 8012A4CC 0012742C 50 83 8F BC */ rlwimi r3, r4, 0x11, 0x1e, 0x1e +/* 8012A4D0 00127430 98 7D 06 35 */ stb r3, 0x635(r29) +/* 8012A4D4 00127434 80 9D 05 80 */ lwz r4, 0x580(r29) +/* 8012A4D8 00127438 88 7D 06 35 */ lbz r3, 0x635(r29) +/* 8012A4DC 0012743C 50 83 7F FE */ rlwimi r3, r4, 0xf, 0x1f, 0x1f +/* 8012A4E0 00127440 98 7D 06 35 */ stb r3, 0x635(r29) +/* 8012A4E4 00127444 80 9D 05 80 */ lwz r4, 0x580(r29) +/* 8012A4E8 00127448 88 7D 06 36 */ lbz r3, 0x636(r29) +/* 8012A4EC 0012744C 50 83 AE 30 */ rlwimi r3, r4, 0x15, 0x18, 0x18 +/* 8012A4F0 00127450 98 7D 06 36 */ stb r3, 0x636(r29) +/* 8012A4F4 00127454 88 7D 06 36 */ lbz r3, 0x636(r29) +/* 8012A4F8 00127458 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 8012A4FC 0012745C 98 7D 06 36 */ stb r3, 0x636(r29) +/* 8012A500 00127460 88 7D 06 36 */ lbz r3, 0x636(r29) +/* 8012A504 00127464 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a +/* 8012A508 00127468 98 7D 06 36 */ stb r3, 0x636(r29) +/* 8012A50C 0012746C 88 7D 06 36 */ lbz r3, 0x636(r29) +/* 8012A510 00127470 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 8012A514 00127474 98 7D 06 36 */ stb r3, 0x636(r29) +/* 8012A518 00127478 88 7D 06 36 */ lbz r3, 0x636(r29) +/* 8012A51C 0012747C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 8012A520 00127480 98 7D 06 36 */ stb r3, 0x636(r29) +/* 8012A524 00127484 88 7D 06 36 */ lbz r3, 0x636(r29) +/* 8012A528 00127488 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d +/* 8012A52C 0012748C 98 7D 06 36 */ stb r3, 0x636(r29) +/* 8012A530 00127490 88 7D 06 36 */ lbz r3, 0x636(r29) +/* 8012A534 00127494 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e +/* 8012A538 00127498 98 7D 06 36 */ stb r3, 0x636(r29) +/* 8012A53C 0012749C 88 7D 06 37 */ lbz r3, 0x637(r29) +/* 8012A540 001274A0 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 8012A544 001274A4 98 7D 06 37 */ stb r3, 0x637(r29) +/* 8012A548 001274A8 88 7D 06 37 */ lbz r3, 0x637(r29) +/* 8012A54C 001274AC 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 8012A550 001274B0 98 7D 06 37 */ stb r3, 0x637(r29) +/* 8012A554 001274B4 88 7D 06 37 */ lbz r3, 0x637(r29) +/* 8012A558 001274B8 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a +/* 8012A55C 001274BC 98 7D 06 37 */ stb r3, 0x637(r29) +/* 8012A560 001274C0 88 7D 06 37 */ lbz r3, 0x637(r29) +/* 8012A564 001274C4 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 8012A568 001274C8 98 7D 06 37 */ stb r3, 0x637(r29) +/* 8012A56C 001274CC 88 7D 06 37 */ lbz r3, 0x637(r29) +/* 8012A570 001274D0 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 8012A574 001274D4 98 7D 06 37 */ stb r3, 0x637(r29) +/* 8012A578 001274D8 88 7D 06 37 */ lbz r3, 0x637(r29) +/* 8012A57C 001274DC 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d +/* 8012A580 001274E0 98 7D 06 37 */ stb r3, 0x637(r29) +/* 8012A584 001274E4 88 7D 06 37 */ lbz r3, 0x637(r29) +/* 8012A588 001274E8 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e +/* 8012A58C 001274EC 98 7D 06 37 */ stb r3, 0x637(r29) +/* 8012A590 001274F0 88 7D 06 37 */ lbz r3, 0x637(r29) +/* 8012A594 001274F4 50 03 07 FE */ rlwimi r3, r0, 0, 0x1f, 0x1f +/* 8012A598 001274F8 98 7D 06 37 */ stb r3, 0x637(r29) +/* 8012A59C 001274FC 88 7D 06 38 */ lbz r3, 0x638(r29) +/* 8012A5A0 00127500 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 +/* 8012A5A4 00127504 98 7D 06 38 */ stb r3, 0x638(r29) +/* 8012A5A8 00127508 88 7D 06 38 */ lbz r3, 0x638(r29) +/* 8012A5AC 0012750C 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 8012A5B0 00127510 98 7D 06 38 */ stb r3, 0x638(r29) +/* 8012A5B4 00127514 88 7D 06 38 */ lbz r3, 0x638(r29) +/* 8012A5B8 00127518 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a +/* 8012A5BC 0012751C 98 7D 06 38 */ stb r3, 0x638(r29) +/* 8012A5C0 00127520 88 7D 06 38 */ lbz r3, 0x638(r29) +/* 8012A5C4 00127524 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 8012A5C8 00127528 98 7D 06 38 */ stb r3, 0x638(r29) +/* 8012A5CC 0012752C 88 7D 06 38 */ lbz r3, 0x638(r29) +/* 8012A5D0 00127530 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c +/* 8012A5D4 00127534 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 8012A5D8 00127538 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) +/* 8012A5DC 0012753C 98 7D 06 38 */ stb r3, 0x638(r29) +/* 8012A5E0 00127540 38 C4 67 24 */ addi r6, r4, lbl_805A6724@l +/* 8012A5E4 00127544 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8012A5E8 00127548 FC 40 08 90 */ fmr f2, f1 +/* 8012A5EC 0012754C 88 9D 06 38 */ lbz r4, 0x638(r29) +/* 8012A5F0 00127550 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d +/* 8012A5F4 00127554 3B E3 66 A0 */ addi r31, r3, skZero3f@l +/* 8012A5F8 00127558 38 7D 06 60 */ addi r3, r29, 0x660 +/* 8012A5FC 0012755C 98 9D 06 38 */ stb r4, 0x638(r29) +/* 8012A600 00127560 38 80 00 00 */ li r4, 0 +/* 8012A604 00127564 38 A0 00 01 */ li r5, 1 +/* 8012A608 00127568 88 FD 06 38 */ lbz r7, 0x638(r29) +/* 8012A60C 0012756C 50 07 0F BC */ rlwimi r7, r0, 1, 0x1e, 0x1e +/* 8012A610 00127570 98 FD 06 38 */ stb r7, 0x638(r29) +/* 8012A614 00127574 88 FD 06 38 */ lbz r7, 0x638(r29) +/* 8012A618 00127578 50 07 07 FE */ rlwimi r7, r0, 0, 0x1f, 0x1f +/* 8012A61C 0012757C 98 FD 06 38 */ stb r7, 0x638(r29) +/* 8012A620 00127580 88 FD 06 39 */ lbz r7, 0x639(r29) +/* 8012A624 00127584 50 07 3E 30 */ rlwimi r7, r0, 7, 0x18, 0x18 +/* 8012A628 00127588 98 FD 06 39 */ stb r7, 0x639(r29) +/* 8012A62C 0012758C 88 FD 06 39 */ lbz r7, 0x639(r29) +/* 8012A630 00127590 50 07 36 72 */ rlwimi r7, r0, 6, 0x19, 0x19 +/* 8012A634 00127594 98 FD 06 39 */ stb r7, 0x639(r29) +/* 8012A638 00127598 88 FD 06 39 */ lbz r7, 0x639(r29) +/* 8012A63C 0012759C 50 07 2E B4 */ rlwimi r7, r0, 5, 0x1a, 0x1a +/* 8012A640 001275A0 98 FD 06 39 */ stb r7, 0x639(r29) +/* 8012A644 001275A4 88 FD 06 39 */ lbz r7, 0x639(r29) +/* 8012A648 001275A8 50 07 26 F6 */ rlwimi r7, r0, 4, 0x1b, 0x1b +/* 8012A64C 001275AC 98 FD 06 39 */ stb r7, 0x639(r29) +/* 8012A650 001275B0 88 FD 06 39 */ lbz r7, 0x639(r29) +/* 8012A654 001275B4 50 07 1F 38 */ rlwimi r7, r0, 3, 0x1c, 0x1c +/* 8012A658 001275B8 98 FD 06 39 */ stb r7, 0x639(r29) +/* 8012A65C 001275BC 88 FD 06 39 */ lbz r7, 0x639(r29) +/* 8012A660 001275C0 50 07 0F BC */ rlwimi r7, r0, 1, 0x1e, 0x1e +/* 8012A664 001275C4 98 FD 06 39 */ stb r7, 0x639(r29) +/* 8012A668 001275C8 88 FD 06 39 */ lbz r7, 0x639(r29) +/* 8012A66C 001275CC 50 07 07 FE */ rlwimi r7, r0, 0, 0x1f, 0x1f +/* 8012A670 001275D0 98 FD 06 39 */ stb r7, 0x639(r29) +/* 8012A674 001275D4 88 FD 06 3A */ lbz r7, 0x63a(r29) +/* 8012A678 001275D8 50 07 3E 30 */ rlwimi r7, r0, 7, 0x18, 0x18 +/* 8012A67C 001275DC 98 FD 06 3A */ stb r7, 0x63a(r29) +/* 8012A680 001275E0 90 1D 06 3C */ stw r0, 0x63c(r29) +/* 8012A684 001275E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8012A688 001275E8 B0 1D 06 40 */ sth r0, 0x640(r29) +/* 8012A68C 001275EC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8012A690 001275F0 B0 1D 06 42 */ sth r0, 0x642(r29) +/* 8012A694 001275F4 D0 3D 06 44 */ stfs f1, 0x644(r29) +/* 8012A698 001275F8 C0 06 00 00 */ lfs f0, 0(r6) +/* 8012A69C 001275FC D0 1D 06 48 */ stfs f0, 0x648(r29) +/* 8012A6A0 00127600 C0 06 00 04 */ lfs f0, 4(r6) +/* 8012A6A4 00127604 D0 1D 06 4C */ stfs f0, 0x64c(r29) +/* 8012A6A8 00127608 C0 06 00 08 */ lfs f0, 8(r6) +/* 8012A6AC 0012760C D0 1D 06 50 */ stfs f0, 0x650(r29) +/* 8012A6B0 00127610 C0 1F 00 00 */ lfs f0, 0(r31) +/* 8012A6B4 00127614 D0 1D 06 54 */ stfs f0, 0x654(r29) +/* 8012A6B8 00127618 C0 1F 00 04 */ lfs f0, 4(r31) +/* 8012A6BC 0012761C D0 1D 06 58 */ stfs f0, 0x658(r29) +/* 8012A6C0 00127620 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8012A6C4 00127624 D0 1D 06 5C */ stfs f0, 0x65c(r29) +/* 8012A6C8 00127628 80 DE 01 0C */ lwz r6, 0x10c(r30) +/* 8012A6CC 0012762C 48 09 E6 C9 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 8012A6D0 00127630 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 8012A6D4 00127634 3C 60 80 3D */ lis r3, lbl_803CFF70@ha +/* 8012A6D8 00127638 38 83 FF 70 */ addi r4, r3, lbl_803CFF70@l +/* 8012A6DC 0012763C 38 C0 00 00 */ li r6, 0 +/* 8012A6E0 00127640 D0 3D 07 48 */ stfs f1, 0x748(r29) +/* 8012A6E4 00127644 38 A0 00 FF */ li r5, 0xff +/* 8012A6E8 00127648 38 00 FF FF */ li r0, -1 +/* 8012A6EC 0012764C 38 61 01 88 */ addi r3, r1, 0x188 +/* 8012A6F0 00127650 90 DD 07 4C */ stw r6, 0x74c(r29) +/* 8012A6F4 00127654 38 84 00 1A */ addi r4, r4, 0x1a +/* 8012A6F8 00127658 C0 1E 00 54 */ lfs f0, 0x54(r30) +/* 8012A6FC 0012765C D0 1D 07 50 */ stfs f0, 0x750(r29) +/* 8012A700 00127660 D0 3D 07 54 */ stfs f1, 0x754(r29) +/* 8012A704 00127664 98 BD 07 58 */ stb r5, 0x758(r29) +/* 8012A708 00127668 90 DD 07 5C */ stw r6, 0x75c(r29) +/* 8012A70C 0012766C 90 1D 07 60 */ stw r0, 0x760(r29) +/* 8012A710 00127670 4B ED A5 A9 */ bl string_l__4rstlFPCc +/* 8012A714 00127674 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 8012A718 00127678 38 7D 07 64 */ addi r3, r29, 0x764 +/* 8012A71C 0012767C C0 22 98 70 */ lfs f1, lbl_805AB590@sda21(r2) +/* 8012A720 00127680 38 A1 01 88 */ addi r5, r1, 0x188 +/* 8012A724 00127684 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8012A728 00127688 38 C0 00 00 */ li r6, 0 +/* 8012A72C 0012768C C0 42 98 74 */ lfs f2, lbl_805AB594@sda21(r2) +/* 8012A730 00127690 48 04 B2 89 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" +/* 8012A734 00127694 38 61 01 88 */ addi r3, r1, 0x188 +/* 8012A738 00127698 48 21 33 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012A73C 0012769C 38 00 FF FF */ li r0, -1 +/* 8012A740 001276A0 3C 60 80 3E */ lis r3, lbl_803E0700@ha +/* 8012A744 001276A4 90 1D 07 9C */ stw r0, 0x79c(r29) +/* 8012A748 001276A8 38 83 07 00 */ addi r4, r3, lbl_803E0700@l +/* 8012A74C 001276AC C0 42 97 D8 */ lfs f2, lbl_805AB4F8@sda21(r2) +/* 8012A750 001276B0 38 A0 00 00 */ li r5, 0 +/* 8012A754 001276B4 C0 22 97 DC */ lfs f1, lbl_805AB4FC@sda21(r2) +/* 8012A758 001276B8 38 00 00 FF */ li r0, 0xff +/* 8012A75C 001276BC D0 5D 07 A4 */ stfs f2, 0x7a4(r29) +/* 8012A760 001276C0 38 7D 07 C4 */ addi r3, r29, 0x7c4 +/* 8012A764 001276C4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012A768 001276C8 D0 3D 07 A8 */ stfs f1, 0x7a8(r29) +/* 8012A76C 001276CC D0 1D 07 AC */ stfs f0, 0x7ac(r29) +/* 8012A770 001276D0 90 BD 07 B0 */ stw r5, 0x7b0(r29) +/* 8012A774 001276D4 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) +/* 8012A778 001276D8 B0 BD 07 B4 */ sth r5, 0x7b4(r29) +/* 8012A77C 001276DC 98 1D 07 B6 */ stb r0, 0x7b6(r29) +/* 8012A780 001276E0 98 1D 07 B7 */ stb r0, 0x7b7(r29) +/* 8012A784 001276E4 98 1D 07 B8 */ stb r0, 0x7b8(r29) +/* 8012A788 001276E8 98 1D 07 B9 */ stb r0, 0x7b9(r29) +/* 8012A78C 001276EC D0 5D 07 BC */ stfs f2, 0x7bc(r29) +/* 8012A790 001276F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8012A794 001276F4 B0 1D 07 C0 */ sth r0, 0x7c0(r29) +/* 8012A798 001276F8 80 BD 06 14 */ lwz r5, 0x614(r29) +/* 8012A79C 001276FC 48 08 2D 69 */ bl __ct__10CBurstFireFPPC6SBursti +/* 8012A7A0 00127700 C0 62 98 24 */ lfs f3, lbl_805AB544@sda21(r2) +/* 8012A7A4 00127704 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8012A7A8 00127708 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 8012A7AC 0012770C 38 A0 FF FF */ li r5, -1 +/* 8012A7B0 00127710 D0 7D 08 24 */ stfs f3, 0x824(r29) +/* 8012A7B4 00127714 38 00 00 00 */ li r0, 0 +/* 8012A7B8 00127718 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 8012A7BC 0012771C 38 7D 08 60 */ addi r3, r29, 0x860 +/* 8012A7C0 00127720 C0 44 00 00 */ lfs f2, 0(r4) +/* 8012A7C4 00127724 C0 02 98 10 */ lfs f0, lbl_805AB530@sda21(r2) +/* 8012A7C8 00127728 D0 5D 08 28 */ stfs f2, 0x828(r29) +/* 8012A7CC 0012772C C0 5F 00 04 */ lfs f2, 4(r31) +/* 8012A7D0 00127730 D0 5D 08 2C */ stfs f2, 0x82c(r29) +/* 8012A7D4 00127734 C0 5F 00 08 */ lfs f2, 8(r31) +/* 8012A7D8 00127738 D0 5D 08 30 */ stfs f2, 0x830(r29) +/* 8012A7DC 0012773C 90 BD 08 34 */ stw r5, 0x834(r29) +/* 8012A7E0 00127740 D0 3D 08 38 */ stfs f1, 0x838(r29) +/* 8012A7E4 00127744 90 BD 08 3C */ stw r5, 0x83c(r29) +/* 8012A7E8 00127748 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8012A7EC 0012774C B0 9D 08 40 */ sth r4, 0x840(r29) +/* 8012A7F0 00127750 90 BD 08 44 */ stw r5, 0x844(r29) +/* 8012A7F4 00127754 D0 7D 08 48 */ stfs f3, 0x848(r29) +/* 8012A7F8 00127758 D0 7D 08 4C */ stfs f3, 0x84c(r29) +/* 8012A7FC 0012775C D0 1D 08 50 */ stfs f0, 0x850(r29) +/* 8012A800 00127760 D0 1D 08 54 */ stfs f0, 0x854(r29) +/* 8012A804 00127764 D0 3D 08 58 */ stfs f1, 0x858(r29) +/* 8012A808 00127768 90 1D 08 5C */ stw r0, 0x85c(r29) +/* 8012A80C 0012776C 48 00 07 91 */ bl __ct__8CIkChainFv +/* 8012A810 00127770 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) +/* 8012A814 00127774 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 8012A818 00127778 D0 3D 08 A8 */ stfs f1, 0x8a8(r29) +/* 8012A81C 0012777C D0 3D 08 AC */ stfs f1, 0x8ac(r29) +/* 8012A820 00127780 D0 3D 08 B0 */ stfs f1, 0x8b0(r29) +/* 8012A824 00127784 D0 1D 08 B4 */ stfs f0, 0x8b4(r29) +/* 8012A828 00127788 C0 1D 06 18 */ lfs f0, 0x618(r29) +/* 8012A82C 0012778C D0 1D 08 B8 */ stfs f0, 0x8b8(r29) +/* 8012A830 00127790 C0 1D 06 1C */ lfs f0, 0x61c(r29) +/* 8012A834 00127794 D0 1D 08 BC */ stfs f0, 0x8bc(r29) +/* 8012A838 00127798 C0 1D 06 20 */ lfs f0, 0x620(r29) +/* 8012A83C 0012779C D0 1D 08 C0 */ stfs f0, 0x8c0(r29) +/* 8012A840 001277A0 C0 1D 06 10 */ lfs f0, 0x610(r29) +/* 8012A844 001277A4 D0 1D 08 C4 */ stfs f0, 0x8c4(r29) +/* 8012A848 001277A8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8012A84C 001277AC B0 1D 08 C8 */ sth r0, 0x8c8(r29) +/* 8012A850 001277B0 48 21 F7 5D */ bl White__6CColorFv +/* 8012A854 001277B4 80 03 00 00 */ lwz r0, 0(r3) +/* 8012A858 001277B8 3C 60 80 3D */ lis r3, lbl_803CFF70@ha +/* 8012A85C 001277BC 38 83 FF 70 */ addi r4, r3, lbl_803CFF70@l +/* 8012A860 001277C0 38 AD A8 98 */ addi r5, r13, lbl_805A9458@sda21 +/* 8012A864 001277C4 90 1D 08 CC */ stw r0, 0x8cc(r29) +/* 8012A868 001277C8 38 61 01 78 */ addi r3, r1, 0x178 +/* 8012A86C 001277CC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012A870 001277D0 38 84 00 1A */ addi r4, r4, 0x1a +/* 8012A874 001277D4 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) +/* 8012A878 001277D8 D0 3D 08 D0 */ stfs f1, 0x8d0(r29) +/* 8012A87C 001277DC C0 25 00 04 */ lfs f1, 4(r5) +/* 8012A880 001277E0 D0 3D 08 D4 */ stfs f1, 0x8d4(r29) +/* 8012A884 001277E4 D0 1D 08 D8 */ stfs f0, 0x8d8(r29) +/* 8012A888 001277E8 D0 1D 08 DC */ stfs f0, 0x8dc(r29) +/* 8012A88C 001277EC 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 8012A890 001277F0 83 C5 00 10 */ lwz r30, 0x10(r5) +/* 8012A894 001277F4 4B ED A4 25 */ bl string_l__4rstlFPCc +/* 8012A898 001277F8 7F C4 F3 78 */ mr r4, r30 +/* 8012A89C 001277FC 38 61 00 30 */ addi r3, r1, 0x30 +/* 8012A8A0 00127800 38 A1 01 78 */ addi r5, r1, 0x178 +/* 8012A8A4 00127804 4B F0 3F 95 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012A8A8 00127808 88 01 00 30 */ lbz r0, 0x30(r1) +/* 8012A8AC 0012780C 38 61 01 78 */ addi r3, r1, 0x178 +/* 8012A8B0 00127810 98 1D 07 58 */ stb r0, 0x758(r29) +/* 8012A8B4 00127814 48 21 32 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012A8B8 00127818 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012A8BC 0012781C 38 61 01 68 */ addi r3, r1, 0x168 +/* 8012A8C0 00127820 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012A8C4 00127824 38 84 00 21 */ addi r4, r4, 0x21 +/* 8012A8C8 00127828 4B ED A3 F1 */ bl string_l__4rstlFPCc +/* 8012A8CC 0012782C 7F C4 F3 78 */ mr r4, r30 +/* 8012A8D0 00127830 38 61 00 2C */ addi r3, r1, 0x2c +/* 8012A8D4 00127834 38 A1 01 68 */ addi r5, r1, 0x168 +/* 8012A8D8 00127838 4B F0 3F 61 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012A8DC 0012783C 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 8012A8E0 00127840 38 61 01 68 */ addi r3, r1, 0x168 +/* 8012A8E4 00127844 98 1D 07 B6 */ stb r0, 0x7b6(r29) +/* 8012A8E8 00127848 48 21 31 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012A8EC 0012784C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012A8F0 00127850 38 61 01 58 */ addi r3, r1, 0x158 +/* 8012A8F4 00127854 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012A8F8 00127858 38 84 00 2C */ addi r4, r4, 0x2c +/* 8012A8FC 0012785C 4B ED A3 BD */ bl string_l__4rstlFPCc +/* 8012A900 00127860 7F C4 F3 78 */ mr r4, r30 +/* 8012A904 00127864 38 61 00 28 */ addi r3, r1, 0x28 +/* 8012A908 00127868 38 A1 01 58 */ addi r5, r1, 0x158 +/* 8012A90C 0012786C 4B F0 3F 2D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012A910 00127870 88 01 00 28 */ lbz r0, 0x28(r1) +/* 8012A914 00127874 38 61 01 58 */ addi r3, r1, 0x158 +/* 8012A918 00127878 98 1D 07 B7 */ stb r0, 0x7b7(r29) +/* 8012A91C 0012787C 48 21 31 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012A920 00127880 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012A924 00127884 38 61 01 48 */ addi r3, r1, 0x148 +/* 8012A928 00127888 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012A92C 0012788C 38 84 00 34 */ addi r4, r4, 0x34 +/* 8012A930 00127890 4B ED A3 89 */ bl string_l__4rstlFPCc +/* 8012A934 00127894 7F C4 F3 78 */ mr r4, r30 +/* 8012A938 00127898 38 61 00 24 */ addi r3, r1, 0x24 +/* 8012A93C 0012789C 38 A1 01 48 */ addi r5, r1, 0x148 +/* 8012A940 001278A0 4B F0 3E F9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012A944 001278A4 88 01 00 24 */ lbz r0, 0x24(r1) +/* 8012A948 001278A8 38 61 01 48 */ addi r3, r1, 0x148 +/* 8012A94C 001278AC 98 1D 07 B8 */ stb r0, 0x7b8(r29) +/* 8012A950 001278B0 48 21 31 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012A954 001278B4 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012A958 001278B8 38 61 01 38 */ addi r3, r1, 0x138 +/* 8012A95C 001278BC 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012A960 001278C0 38 84 00 3C */ addi r4, r4, 0x3c +/* 8012A964 001278C4 4B ED A3 55 */ bl string_l__4rstlFPCc +/* 8012A968 001278C8 7F C4 F3 78 */ mr r4, r30 +/* 8012A96C 001278CC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8012A970 001278D0 38 A1 01 38 */ addi r5, r1, 0x138 +/* 8012A974 001278D4 4B F0 3E C5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012A978 001278D8 88 01 00 20 */ lbz r0, 0x20(r1) +/* 8012A97C 001278DC 38 61 01 38 */ addi r3, r1, 0x138 +/* 8012A980 001278E0 98 1D 07 B9 */ stb r0, 0x7b9(r29) +/* 8012A984 001278E4 48 21 31 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012A988 001278E8 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012A98C 001278EC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8012A990 001278F0 40 82 02 FC */ bne lbl_8012AC8C +/* 8012A994 001278F4 38 61 00 EC */ addi r3, r1, 0xec +/* 8012A998 001278F8 48 1B 86 E5 */ bl NoParameter__12CPASAnimParmFv +/* 8012A99C 001278FC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8012A9A0 00127900 48 1B 86 DD */ bl NoParameter__12CPASAnimParmFv +/* 8012A9A4 00127904 38 61 00 FC */ addi r3, r1, 0xfc +/* 8012A9A8 00127908 48 1B 86 D5 */ bl NoParameter__12CPASAnimParmFv +/* 8012A9AC 0012790C 38 61 01 04 */ addi r3, r1, 0x104 +/* 8012A9B0 00127910 48 1B 86 CD */ bl NoParameter__12CPASAnimParmFv +/* 8012A9B4 00127914 38 61 01 0C */ addi r3, r1, 0x10c +/* 8012A9B8 00127918 48 1B 86 C5 */ bl NoParameter__12CPASAnimParmFv +/* 8012A9BC 0012791C 38 61 01 14 */ addi r3, r1, 0x114 +/* 8012A9C0 00127920 48 1B 86 BD */ bl NoParameter__12CPASAnimParmFv +/* 8012A9C4 00127924 38 61 01 1C */ addi r3, r1, 0x11c +/* 8012A9C8 00127928 38 80 00 00 */ li r4, 0 +/* 8012A9CC 0012792C 48 1B 85 B9 */ bl FromEnum__12CPASAnimParmFi +/* 8012A9D0 00127930 38 61 01 24 */ addi r3, r1, 0x124 +/* 8012A9D4 00127934 38 80 00 00 */ li r4, 0 +/* 8012A9D8 00127938 48 1B 85 AD */ bl FromEnum__12CPASAnimParmFi +/* 8012A9DC 0012793C 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 8012A9E0 00127940 38 01 00 EC */ addi r0, r1, 0xec +/* 8012A9E4 00127944 90 61 00 08 */ stw r3, 8(r1) +/* 8012A9E8 00127948 38 61 02 28 */ addi r3, r1, 0x228 +/* 8012A9EC 0012794C 38 A1 01 24 */ addi r5, r1, 0x124 +/* 8012A9F0 00127950 38 C1 01 1C */ addi r6, r1, 0x11c +/* 8012A9F4 00127954 90 01 00 0C */ stw r0, 0xc(r1) +/* 8012A9F8 00127958 38 E1 01 14 */ addi r7, r1, 0x114 +/* 8012A9FC 0012795C 39 01 01 0C */ addi r8, r1, 0x10c +/* 8012AA00 00127960 39 21 01 04 */ addi r9, r1, 0x104 +/* 8012AA04 00127964 39 41 00 FC */ addi r10, r1, 0xfc +/* 8012AA08 00127968 38 80 00 0D */ li r4, 0xd +/* 8012AA0C 0012796C 4B F5 28 B9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8012AA10 00127970 80 BD 00 64 */ lwz r5, 0x64(r29) +/* 8012AA14 00127974 7F A3 EB 78 */ mr r3, r29 +/* 8012AA18 00127978 38 81 02 28 */ addi r4, r1, 0x228 +/* 8012AA1C 0012797C C0 45 00 00 */ lfs f2, 0(r5) +/* 8012AA20 00127980 C0 25 00 04 */ lfs f1, 4(r5) +/* 8012AA24 00127984 C0 05 00 08 */ lfs f0, 8(r5) +/* 8012AA28 00127988 D0 41 01 2C */ stfs f2, 0x12c(r1) +/* 8012AA2C 0012798C D0 21 01 30 */ stfs f1, 0x130(r1) +/* 8012AA30 00127990 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 8012AA34 00127994 4B F5 1F CD */ bl func_8007CA00 +/* 8012AA38 00127998 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 8012AA3C 0012799C 38 61 00 AC */ addi r3, r1, 0xac +/* 8012AA40 001279A0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8012AA44 001279A4 D0 1D 07 A4 */ stfs f0, 0x7a4(r29) +/* 8012AA48 001279A8 48 1B 86 35 */ bl NoParameter__12CPASAnimParmFv +/* 8012AA4C 001279AC 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8012AA50 001279B0 48 1B 86 2D */ bl NoParameter__12CPASAnimParmFv +/* 8012AA54 001279B4 38 61 00 BC */ addi r3, r1, 0xbc +/* 8012AA58 001279B8 48 1B 86 25 */ bl NoParameter__12CPASAnimParmFv +/* 8012AA5C 001279BC 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8012AA60 001279C0 48 1B 86 1D */ bl NoParameter__12CPASAnimParmFv +/* 8012AA64 001279C4 38 61 00 CC */ addi r3, r1, 0xcc +/* 8012AA68 001279C8 48 1B 86 15 */ bl NoParameter__12CPASAnimParmFv +/* 8012AA6C 001279CC 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 8012AA70 001279D0 48 1B 86 0D */ bl NoParameter__12CPASAnimParmFv +/* 8012AA74 001279D4 38 61 00 DC */ addi r3, r1, 0xdc +/* 8012AA78 001279D8 38 80 00 01 */ li r4, 1 +/* 8012AA7C 001279DC 48 1B 85 09 */ bl FromEnum__12CPASAnimParmFi +/* 8012AA80 001279E0 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 8012AA84 001279E4 38 80 00 03 */ li r4, 3 +/* 8012AA88 001279E8 48 1B 84 FD */ bl FromEnum__12CPASAnimParmFi +/* 8012AA8C 001279EC 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8012AA90 001279F0 38 01 00 AC */ addi r0, r1, 0xac +/* 8012AA94 001279F4 90 61 00 08 */ stw r3, 8(r1) +/* 8012AA98 001279F8 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 8012AA9C 001279FC 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 8012AAA0 00127A00 38 C1 00 DC */ addi r6, r1, 0xdc +/* 8012AAA4 00127A04 90 01 00 0C */ stw r0, 0xc(r1) +/* 8012AAA8 00127A08 38 E1 00 D4 */ addi r7, r1, 0xd4 +/* 8012AAAC 00127A0C 39 01 00 CC */ addi r8, r1, 0xcc +/* 8012AAB0 00127A10 39 21 00 C4 */ addi r9, r1, 0xc4 +/* 8012AAB4 00127A14 39 41 00 BC */ addi r10, r1, 0xbc +/* 8012AAB8 00127A18 38 80 00 03 */ li r4, 3 +/* 8012AABC 00127A1C 4B F5 28 09 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8012AAC0 00127A20 83 DD 00 64 */ lwz r30, 0x64(r29) +/* 8012AAC4 00127A24 7F A3 EB 78 */ mr r3, r29 +/* 8012AAC8 00127A28 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 8012AACC 00127A2C 4B F5 1F 35 */ bl func_8007CA00 +/* 8012AAD0 00127A30 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8012AAD4 00127A34 38 61 00 6C */ addi r3, r1, 0x6c +/* 8012AAD8 00127A38 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8012AADC 00127A3C D0 1D 08 48 */ stfs f0, 0x848(r29) +/* 8012AAE0 00127A40 48 1B 85 9D */ bl NoParameter__12CPASAnimParmFv +/* 8012AAE4 00127A44 38 61 00 74 */ addi r3, r1, 0x74 +/* 8012AAE8 00127A48 48 1B 85 95 */ bl NoParameter__12CPASAnimParmFv +/* 8012AAEC 00127A4C 38 61 00 7C */ addi r3, r1, 0x7c +/* 8012AAF0 00127A50 48 1B 85 8D */ bl NoParameter__12CPASAnimParmFv +/* 8012AAF4 00127A54 38 61 00 84 */ addi r3, r1, 0x84 +/* 8012AAF8 00127A58 48 1B 85 85 */ bl NoParameter__12CPASAnimParmFv +/* 8012AAFC 00127A5C 38 61 00 8C */ addi r3, r1, 0x8c +/* 8012AB00 00127A60 48 1B 85 7D */ bl NoParameter__12CPASAnimParmFv +/* 8012AB04 00127A64 38 61 00 94 */ addi r3, r1, 0x94 +/* 8012AB08 00127A68 48 1B 85 75 */ bl NoParameter__12CPASAnimParmFv +/* 8012AB0C 00127A6C 38 61 00 9C */ addi r3, r1, 0x9c +/* 8012AB10 00127A70 38 80 00 02 */ li r4, 2 +/* 8012AB14 00127A74 48 1B 84 71 */ bl FromEnum__12CPASAnimParmFi +/* 8012AB18 00127A78 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8012AB1C 00127A7C 38 80 00 03 */ li r4, 3 +/* 8012AB20 00127A80 48 1B 84 65 */ bl FromEnum__12CPASAnimParmFi +/* 8012AB24 00127A84 38 61 00 74 */ addi r3, r1, 0x74 +/* 8012AB28 00127A88 38 01 00 6C */ addi r0, r1, 0x6c +/* 8012AB2C 00127A8C 90 61 00 08 */ stw r3, 8(r1) +/* 8012AB30 00127A90 38 61 01 98 */ addi r3, r1, 0x198 +/* 8012AB34 00127A94 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 8012AB38 00127A98 38 C1 00 9C */ addi r6, r1, 0x9c +/* 8012AB3C 00127A9C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8012AB40 00127AA0 38 E1 00 94 */ addi r7, r1, 0x94 +/* 8012AB44 00127AA4 39 01 00 8C */ addi r8, r1, 0x8c +/* 8012AB48 00127AA8 39 21 00 84 */ addi r9, r1, 0x84 +/* 8012AB4C 00127AAC 39 41 00 7C */ addi r10, r1, 0x7c +/* 8012AB50 00127AB0 38 80 00 03 */ li r4, 3 +/* 8012AB54 00127AB4 4B F5 27 71 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm +/* 8012AB58 00127AB8 83 DD 00 64 */ lwz r30, 0x64(r29) +/* 8012AB5C 00127ABC 7F A3 EB 78 */ mr r3, r29 +/* 8012AB60 00127AC0 38 81 01 98 */ addi r4, r1, 0x198 +/* 8012AB64 00127AC4 4B F5 1E 9D */ bl func_8007CA00 +/* 8012AB68 00127AC8 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8012AB6C 00127ACC 34 A1 01 9C */ addic. r5, r1, 0x19c +/* 8012AB70 00127AD0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8012AB74 00127AD4 D0 1D 08 4C */ stfs f0, 0x84c(r29) +/* 8012AB78 00127AD8 41 82 00 58 */ beq lbl_8012ABD0 +/* 8012AB7C 00127ADC 80 C5 00 00 */ lwz r6, 0(r5) +/* 8012AB80 00127AE0 38 60 00 00 */ li r3, 0 +/* 8012AB84 00127AE4 2C 06 00 00 */ cmpwi r6, 0 +/* 8012AB88 00127AE8 40 81 00 40 */ ble lbl_8012ABC8 +/* 8012AB8C 00127AEC 2C 06 00 08 */ cmpwi r6, 8 +/* 8012AB90 00127AF0 38 86 FF F8 */ addi r4, r6, -8 +/* 8012AB94 00127AF4 40 81 00 20 */ ble lbl_8012ABB4 +/* 8012AB98 00127AF8 38 04 00 07 */ addi r0, r4, 7 +/* 8012AB9C 00127AFC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8012ABA0 00127B00 7C 09 03 A6 */ mtctr r0 +/* 8012ABA4 00127B04 2C 04 00 00 */ cmpwi r4, 0 +/* 8012ABA8 00127B08 40 81 00 0C */ ble lbl_8012ABB4 +lbl_8012ABAC: +/* 8012ABAC 00127B0C 38 63 00 08 */ addi r3, r3, 8 +/* 8012ABB0 00127B10 42 00 FF FC */ bdnz lbl_8012ABAC +lbl_8012ABB4: +/* 8012ABB4 00127B14 7C 03 30 50 */ subf r0, r3, r6 +/* 8012ABB8 00127B18 7C 09 03 A6 */ mtctr r0 +/* 8012ABBC 00127B1C 7C 03 30 00 */ cmpw r3, r6 +/* 8012ABC0 00127B20 40 80 00 08 */ bge lbl_8012ABC8 +lbl_8012ABC4: +/* 8012ABC4 00127B24 42 00 00 00 */ bdnz lbl_8012ABC4 +lbl_8012ABC8: +/* 8012ABC8 00127B28 38 00 00 00 */ li r0, 0 +/* 8012ABCC 00127B2C 90 05 00 00 */ stw r0, 0(r5) +lbl_8012ABD0: +/* 8012ABD0 00127B30 34 A1 01 E4 */ addic. r5, r1, 0x1e4 +/* 8012ABD4 00127B34 41 82 00 58 */ beq lbl_8012AC2C +/* 8012ABD8 00127B38 80 C5 00 00 */ lwz r6, 0(r5) +/* 8012ABDC 00127B3C 38 60 00 00 */ li r3, 0 +/* 8012ABE0 00127B40 2C 06 00 00 */ cmpwi r6, 0 +/* 8012ABE4 00127B44 40 81 00 40 */ ble lbl_8012AC24 +/* 8012ABE8 00127B48 2C 06 00 08 */ cmpwi r6, 8 +/* 8012ABEC 00127B4C 38 86 FF F8 */ addi r4, r6, -8 +/* 8012ABF0 00127B50 40 81 00 20 */ ble lbl_8012AC10 +/* 8012ABF4 00127B54 38 04 00 07 */ addi r0, r4, 7 +/* 8012ABF8 00127B58 54 00 E8 FE */ srwi r0, r0, 3 +/* 8012ABFC 00127B5C 7C 09 03 A6 */ mtctr r0 +/* 8012AC00 00127B60 2C 04 00 00 */ cmpwi r4, 0 +/* 8012AC04 00127B64 40 81 00 0C */ ble lbl_8012AC10 +lbl_8012AC08: +/* 8012AC08 00127B68 38 63 00 08 */ addi r3, r3, 8 +/* 8012AC0C 00127B6C 42 00 FF FC */ bdnz lbl_8012AC08 +lbl_8012AC10: +/* 8012AC10 00127B70 7C 03 30 50 */ subf r0, r3, r6 +/* 8012AC14 00127B74 7C 09 03 A6 */ mtctr r0 +/* 8012AC18 00127B78 7C 03 30 00 */ cmpw r3, r6 +/* 8012AC1C 00127B7C 40 80 00 08 */ bge lbl_8012AC24 +lbl_8012AC20: +/* 8012AC20 00127B80 42 00 00 00 */ bdnz lbl_8012AC20 +lbl_8012AC24: +/* 8012AC24 00127B84 38 00 00 00 */ li r0, 0 +/* 8012AC28 00127B88 90 05 00 00 */ stw r0, 0(r5) +lbl_8012AC2C: +/* 8012AC2C 00127B8C 34 A1 02 2C */ addic. r5, r1, 0x22c +/* 8012AC30 00127B90 41 82 00 70 */ beq lbl_8012ACA0 +/* 8012AC34 00127B94 80 C5 00 00 */ lwz r6, 0(r5) +/* 8012AC38 00127B98 38 60 00 00 */ li r3, 0 +/* 8012AC3C 00127B9C 2C 06 00 00 */ cmpwi r6, 0 +/* 8012AC40 00127BA0 40 81 00 40 */ ble lbl_8012AC80 +/* 8012AC44 00127BA4 2C 06 00 08 */ cmpwi r6, 8 +/* 8012AC48 00127BA8 38 86 FF F8 */ addi r4, r6, -8 +/* 8012AC4C 00127BAC 40 81 00 20 */ ble lbl_8012AC6C +/* 8012AC50 00127BB0 38 04 00 07 */ addi r0, r4, 7 +/* 8012AC54 00127BB4 54 00 E8 FE */ srwi r0, r0, 3 +/* 8012AC58 00127BB8 7C 09 03 A6 */ mtctr r0 +/* 8012AC5C 00127BBC 2C 04 00 00 */ cmpwi r4, 0 +/* 8012AC60 00127BC0 40 81 00 0C */ ble lbl_8012AC6C +lbl_8012AC64: +/* 8012AC64 00127BC4 38 63 00 08 */ addi r3, r3, 8 +/* 8012AC68 00127BC8 42 00 FF FC */ bdnz lbl_8012AC64 +lbl_8012AC6C: +/* 8012AC6C 00127BCC 7C 03 30 50 */ subf r0, r3, r6 +/* 8012AC70 00127BD0 7C 09 03 A6 */ mtctr r0 +/* 8012AC74 00127BD4 7C 03 30 00 */ cmpw r3, r6 +/* 8012AC78 00127BD8 40 80 00 08 */ bge lbl_8012AC80 +lbl_8012AC7C: +/* 8012AC7C 00127BDC 42 00 00 00 */ bdnz lbl_8012AC7C +lbl_8012AC80: +/* 8012AC80 00127BE0 38 00 00 00 */ li r0, 0 +/* 8012AC84 00127BE4 90 05 00 00 */ stw r0, 0(r5) +/* 8012AC88 00127BE8 48 00 00 18 */ b lbl_8012ACA0 +lbl_8012AC8C: +/* 8012AC8C 00127BEC 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8012AC90 00127BF0 38 80 00 01 */ li r4, 1 +/* 8012AC94 00127BF4 88 03 02 D8 */ lbz r0, 0x2d8(r3) +/* 8012AC98 00127BF8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8012AC9C 00127BFC 98 03 02 D8 */ stb r0, 0x2d8(r3) +lbl_8012ACA0: +/* 8012ACA0 00127C00 7F A3 EB 78 */ mr r3, r29 +/* 8012ACA4 00127C04 4B FE FD 1D */ bl GetBaseBoundingBox__13CPhysicsActorCFv +/* 8012ACA8 00127C08 C0 23 00 14 */ lfs f1, 0x14(r3) +/* 8012ACAC 00127C0C C0 03 00 08 */ lfs f0, 8(r3) +/* 8012ACB0 00127C10 C0 42 98 78 */ lfs f2, lbl_805AB598@sda21(r2) +/* 8012ACB4 00127C14 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012ACB8 00127C18 EC 02 00 32 */ fmuls f0, f2, f0 +/* 8012ACBC 00127C1C D0 1D 07 A8 */ stfs f0, 0x7a8(r29) +/* 8012ACC0 00127C20 80 9D 00 90 */ lwz r4, 0x90(r29) +/* 8012ACC4 00127C24 28 04 00 00 */ cmplwi r4, 0 +/* 8012ACC8 00127C28 41 82 00 14 */ beq lbl_8012ACDC +/* 8012ACCC 00127C2C 88 04 02 98 */ lbz r0, 0x298(r4) +/* 8012ACD0 00127C30 38 60 00 00 */ li r3, 0 +/* 8012ACD4 00127C34 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8012ACD8 00127C38 98 04 02 98 */ stb r0, 0x298(r4) +lbl_8012ACDC: +/* 8012ACDC 00127C3C C0 22 98 24 */ lfs f1, lbl_805AB544@sda21(r2) +/* 8012ACE0 00127C40 38 7D 04 60 */ addi r3, r29, 0x460 +/* 8012ACE4 00127C44 C0 42 98 10 */ lfs f2, lbl_805AB530@sda21(r2) +/* 8012ACE8 00127C48 38 80 00 03 */ li r4, 3 +/* 8012ACEC 00127C4C 48 10 90 55 */ bl sub_80233d40 +/* 8012ACF0 00127C50 88 1D 04 E2 */ lbz r0, 0x4e2(r29) +/* 8012ACF4 00127C54 38 60 00 01 */ li r3, 1 +/* 8012ACF8 00127C58 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8012ACFC 00127C5C 98 1D 04 E2 */ stb r0, 0x4e2(r29) +/* 8012AD00 00127C60 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012AD04 00127C64 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8012AD08 00127C68 41 82 00 14 */ beq lbl_8012AD1C +/* 8012AD0C 00127C6C 38 7D 04 60 */ addi r3, r29, 0x460 +/* 8012AD10 00127C70 38 80 00 00 */ li r4, 0 +/* 8012AD14 00127C74 48 10 90 15 */ bl SetKnockBackVariant__20CKnockBackControllerF17EKnockBackVariant +/* 8012AD18 00127C78 48 00 00 74 */ b lbl_8012AD8C +lbl_8012AD1C: +/* 8012AD1C 00127C7C 88 1D 06 36 */ lbz r0, 0x636(r29) +/* 8012AD20 00127C80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012AD24 00127C84 41 82 00 68 */ beq lbl_8012AD8C +/* 8012AD28 00127C88 88 01 00 68 */ lbz r0, 0x68(r1) +/* 8012AD2C 00127C8C 38 80 00 00 */ li r4, 0 +/* 8012AD30 00127C90 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8012AD34 00127C94 38 A0 00 03 */ li r5, 3 +/* 8012AD38 00127C98 98 01 00 68 */ stb r0, 0x68(r1) +/* 8012AD3C 00127C9C 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8012AD40 00127CA0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8012AD44 00127CA4 7F A3 EB 78 */ mr r3, r29 +/* 8012AD48 00127CA8 98 01 00 68 */ stb r0, 0x68(r1) +/* 8012AD4C 00127CAC 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8012AD50 00127CB0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8012AD54 00127CB4 90 A1 00 64 */ stw r5, 0x64(r1) +/* 8012AD58 00127CB8 98 01 00 68 */ stb r0, 0x68(r1) +/* 8012AD5C 00127CBC 81 9D 00 00 */ lwz r12, 0(r29) +/* 8012AD60 00127CC0 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8012AD64 00127CC4 7D 89 03 A6 */ mtctr r12 +/* 8012AD68 00127CC8 4E 80 04 21 */ bctrl +/* 8012AD6C 00127CCC 38 81 00 64 */ addi r4, r1, 0x64 +/* 8012AD70 00127CD0 38 A0 00 00 */ li r5, 0 +/* 8012AD74 00127CD4 4B FD 79 95 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 8012AD78 00127CD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012AD7C 00127CDC 41 82 00 10 */ beq lbl_8012AD8C +/* 8012AD80 00127CE0 38 7D 04 60 */ addi r3, r29, 0x460 +/* 8012AD84 00127CE4 38 80 00 02 */ li r4, 2 +/* 8012AD88 00127CE8 48 10 8F A1 */ bl SetKnockBackVariant__20CKnockBackControllerF17EKnockBackVariant +lbl_8012AD8C: +/* 8012AD8C 00127CEC 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8012AD90 00127CF0 38 80 00 16 */ li r4, 0x16 +/* 8012AD94 00127CF4 48 00 FE 21 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState +/* 8012AD98 00127CF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012AD9C 00127CFC 40 82 00 14 */ bne lbl_8012ADB0 +/* 8012ADA0 00127D00 88 1D 06 34 */ lbz r0, 0x634(r29) +/* 8012ADA4 00127D04 38 60 00 01 */ li r3, 1 +/* 8012ADA8 00127D08 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8012ADAC 00127D0C 98 1D 06 34 */ stb r0, 0x634(r29) +lbl_8012ADB0: +/* 8012ADB0 00127D10 88 1D 06 36 */ lbz r0, 0x636(r29) +/* 8012ADB4 00127D14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012ADB8 00127D18 41 82 01 C0 */ beq lbl_8012AF78 +/* 8012ADBC 00127D1C 7F A3 EB 78 */ mr r3, r29 +/* 8012ADC0 00127D20 81 9D 00 00 */ lwz r12, 0(r29) +/* 8012ADC4 00127D24 81 8C 00 38 */ lwz r12, 0x38(r12) +/* 8012ADC8 00127D28 7D 89 03 A6 */ mtctr r12 +/* 8012ADCC 00127D2C 4E 80 04 21 */ bctrl +/* 8012ADD0 00127D30 88 01 00 60 */ lbz r0, 0x60(r1) +/* 8012ADD4 00127D34 38 80 00 00 */ li r4, 0 +/* 8012ADD8 00127D38 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8012ADDC 00127D3C 38 A0 00 03 */ li r5, 3 +/* 8012ADE0 00127D40 98 01 00 60 */ stb r0, 0x60(r1) +/* 8012ADE4 00127D44 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8012ADE8 00127D48 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8012ADEC 00127D4C 7C 7F 1B 78 */ mr r31, r3 +/* 8012ADF0 00127D50 98 01 00 60 */ stb r0, 0x60(r1) +/* 8012ADF4 00127D54 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8012ADF8 00127D58 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8012ADFC 00127D5C 38 81 00 5C */ addi r4, r1, 0x5c +/* 8012AE00 00127D60 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 8012AE04 00127D64 38 A0 00 00 */ li r5, 0 +/* 8012AE08 00127D68 98 01 00 60 */ stb r0, 0x60(r1) +/* 8012AE0C 00127D6C 4B FD 78 FD */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 8012AE10 00127D70 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012AE14 00127D74 41 82 00 30 */ beq lbl_8012AE44 +/* 8012AE18 00127D78 38 A0 00 FE */ li r5, 0xfe +/* 8012AE1C 00127D7C 38 80 00 00 */ li r4, 0 +/* 8012AE20 00127D80 38 60 00 28 */ li r3, 0x28 +/* 8012AE24 00127D84 38 00 00 FF */ li r0, 0xff +/* 8012AE28 00127D88 98 A1 00 40 */ stb r5, 0x40(r1) +/* 8012AE2C 00127D8C 98 81 00 41 */ stb r4, 0x41(r1) +/* 8012AE30 00127D90 98 61 00 42 */ stb r3, 0x42(r1) +/* 8012AE34 00127D94 98 01 00 43 */ stb r0, 0x43(r1) +/* 8012AE38 00127D98 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8012AE3C 00127D9C 90 1D 08 CC */ stw r0, 0x8cc(r29) +/* 8012AE40 00127DA0 48 00 01 38 */ b lbl_8012AF78 +lbl_8012AE44: +/* 8012AE44 00127DA4 88 01 00 58 */ lbz r0, 0x58(r1) +/* 8012AE48 00127DA8 38 80 00 00 */ li r4, 0 +/* 8012AE4C 00127DAC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8012AE50 00127DB0 38 A0 00 01 */ li r5, 1 +/* 8012AE54 00127DB4 98 01 00 58 */ stb r0, 0x58(r1) +/* 8012AE58 00127DB8 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8012AE5C 00127DBC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8012AE60 00127DC0 7F E3 FB 78 */ mr r3, r31 +/* 8012AE64 00127DC4 98 01 00 58 */ stb r0, 0x58(r1) +/* 8012AE68 00127DC8 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8012AE6C 00127DCC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8012AE70 00127DD0 38 81 00 54 */ addi r4, r1, 0x54 +/* 8012AE74 00127DD4 90 A1 00 54 */ stw r5, 0x54(r1) +/* 8012AE78 00127DD8 38 A0 00 00 */ li r5, 0 +/* 8012AE7C 00127DDC 98 01 00 58 */ stb r0, 0x58(r1) +/* 8012AE80 00127DE0 4B FD 78 89 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 8012AE84 00127DE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012AE88 00127DE8 41 82 00 14 */ beq lbl_8012AE9C +/* 8012AE8C 00127DEC 48 21 F1 21 */ bl White__6CColorFv +/* 8012AE90 00127DF0 80 03 00 00 */ lwz r0, 0(r3) +/* 8012AE94 00127DF4 90 1D 08 CC */ stw r0, 0x8cc(r29) +/* 8012AE98 00127DF8 48 00 00 E0 */ b lbl_8012AF78 +lbl_8012AE9C: +/* 8012AE9C 00127DFC 38 C0 00 00 */ li r6, 0 +/* 8012AEA0 00127E00 88 01 00 50 */ lbz r0, 0x50(r1) +/* 8012AEA4 00127E04 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 8012AEA8 00127E08 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 8012AEAC 00127E0C 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 8012AEB0 00127E10 7F E3 FB 78 */ mr r3, r31 +/* 8012AEB4 00127E14 50 C5 36 72 */ rlwimi r5, r6, 6, 0x19, 0x19 +/* 8012AEB8 00127E18 98 01 00 50 */ stb r0, 0x50(r1) +/* 8012AEBC 00127E1C 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 8012AEC0 00127E20 38 81 00 4C */ addi r4, r1, 0x4c +/* 8012AEC4 00127E24 98 A1 00 50 */ stb r5, 0x50(r1) +/* 8012AEC8 00127E28 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a +/* 8012AECC 00127E2C 38 A0 00 00 */ li r5, 0 +/* 8012AED0 00127E30 98 01 00 50 */ stb r0, 0x50(r1) +/* 8012AED4 00127E34 4B FD 78 35 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 8012AED8 00127E38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012AEDC 00127E3C 41 82 00 30 */ beq lbl_8012AF0C +/* 8012AEE0 00127E40 38 A0 00 FD */ li r5, 0xfd +/* 8012AEE4 00127E44 38 80 00 EF */ li r4, 0xef +/* 8012AEE8 00127E48 38 60 00 56 */ li r3, 0x56 +/* 8012AEEC 00127E4C 38 00 00 FF */ li r0, 0xff +/* 8012AEF0 00127E50 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 8012AEF4 00127E54 98 81 00 3D */ stb r4, 0x3d(r1) +/* 8012AEF8 00127E58 98 61 00 3E */ stb r3, 0x3e(r1) +/* 8012AEFC 00127E5C 98 01 00 3F */ stb r0, 0x3f(r1) +/* 8012AF00 00127E60 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8012AF04 00127E64 90 1D 08 CC */ stw r0, 0x8cc(r29) +/* 8012AF08 00127E68 48 00 00 70 */ b lbl_8012AF78 +lbl_8012AF0C: +/* 8012AF0C 00127E6C 88 01 00 48 */ lbz r0, 0x48(r1) +/* 8012AF10 00127E70 38 80 00 00 */ li r4, 0 +/* 8012AF14 00127E74 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8012AF18 00127E78 38 A0 00 02 */ li r5, 2 +/* 8012AF1C 00127E7C 98 01 00 48 */ stb r0, 0x48(r1) +/* 8012AF20 00127E80 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8012AF24 00127E84 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8012AF28 00127E88 7F E3 FB 78 */ mr r3, r31 +/* 8012AF2C 00127E8C 98 01 00 48 */ stb r0, 0x48(r1) +/* 8012AF30 00127E90 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 8012AF34 00127E94 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 8012AF38 00127E98 38 81 00 44 */ addi r4, r1, 0x44 +/* 8012AF3C 00127E9C 90 A1 00 44 */ stw r5, 0x44(r1) +/* 8012AF40 00127EA0 38 A0 00 00 */ li r5, 0 +/* 8012AF44 00127EA4 98 01 00 48 */ stb r0, 0x48(r1) +/* 8012AF48 00127EA8 4B FD 77 C1 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 8012AF4C 00127EAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012AF50 00127EB0 41 82 00 28 */ beq lbl_8012AF78 +/* 8012AF54 00127EB4 38 00 00 FF */ li r0, 0xff +/* 8012AF58 00127EB8 38 80 00 C6 */ li r4, 0xc6 +/* 8012AF5C 00127EBC 38 60 00 0E */ li r3, 0xe +/* 8012AF60 00127EC0 98 81 00 38 */ stb r4, 0x38(r1) +/* 8012AF64 00127EC4 98 61 00 39 */ stb r3, 0x39(r1) +/* 8012AF68 00127EC8 98 01 00 3A */ stb r0, 0x3a(r1) +/* 8012AF6C 00127ECC 98 01 00 3B */ stb r0, 0x3b(r1) +/* 8012AF70 00127ED0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 8012AF74 00127ED4 90 1D 08 CC */ stw r0, 0x8cc(r29) +lbl_8012AF78: +/* 8012AF78 00127ED8 80 01 02 84 */ lwz r0, 0x284(r1) +/* 8012AF7C 00127EDC 7F A3 EB 78 */ mr r3, r29 +/* 8012AF80 00127EE0 83 E1 02 7C */ lwz r31, 0x27c(r1) +/* 8012AF84 00127EE4 83 C1 02 78 */ lwz r30, 0x278(r1) +/* 8012AF88 00127EE8 83 A1 02 74 */ lwz r29, 0x274(r1) +/* 8012AF8C 00127EEC 83 81 02 70 */ lwz r28, 0x270(r1) +/* 8012AF90 00127EF0 7C 08 03 A6 */ mtlr r0 +/* 8012AF94 00127EF4 38 21 02 80 */ addi r1, r1, 0x280 +/* 8012AF98 00127EF8 4E 80 00 20 */ blr + +.global __ct__8CIkChainFv +__ct__8CIkChainFv: +/* 8012AF9C 00127EFC 38 00 00 FF */ li r0, 0xff +/* 8012AFA0 00127F00 3C C0 80 5A */ lis r6, lbl_805A6724@ha +/* 8012AFA4 00127F04 98 03 00 00 */ stb r0, 0(r3) +/* 8012AFA8 00127F08 3C A0 80 5A */ lis r5, lbl_805A6660@ha +/* 8012AFAC 00127F0C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8012AFB0 00127F10 38 E6 67 24 */ addi r7, r6, lbl_805A6724@l +/* 8012AFB4 00127F14 98 03 00 01 */ stb r0, 1(r3) +/* 8012AFB8 00127F18 38 C5 66 60 */ addi r6, r5, lbl_805A6660@l +/* 8012AFBC 00127F1C C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) +/* 8012AFC0 00127F20 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8012AFC4 00127F24 98 03 00 02 */ stb r0, 2(r3) +/* 8012AFC8 00127F28 38 80 00 00 */ li r4, 0 +/* 8012AFCC 00127F2C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012AFD0 00127F30 C0 47 00 00 */ lfs f2, 0(r7) +/* 8012AFD4 00127F34 D0 43 00 04 */ stfs f2, 4(r3) +/* 8012AFD8 00127F38 C0 47 00 04 */ lfs f2, 4(r7) +/* 8012AFDC 00127F3C D0 43 00 08 */ stfs f2, 8(r3) +/* 8012AFE0 00127F40 C0 47 00 08 */ lfs f2, 8(r7) +/* 8012AFE4 00127F44 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 8012AFE8 00127F48 C0 47 00 00 */ lfs f2, 0(r7) +/* 8012AFEC 00127F4C D0 43 00 10 */ stfs f2, 0x10(r3) +/* 8012AFF0 00127F50 C0 47 00 04 */ lfs f2, 4(r7) +/* 8012AFF4 00127F54 D0 43 00 14 */ stfs f2, 0x14(r3) +/* 8012AFF8 00127F58 C0 47 00 08 */ lfs f2, 8(r7) +/* 8012AFFC 00127F5C D0 43 00 18 */ stfs f2, 0x18(r3) +/* 8012B000 00127F60 D0 23 00 1C */ stfs f1, 0x1c(r3) +/* 8012B004 00127F64 D0 23 00 20 */ stfs f1, 0x20(r3) +/* 8012B008 00127F68 C0 26 00 00 */ lfs f1, 0(r6) +/* 8012B00C 00127F6C D0 23 00 24 */ stfs f1, 0x24(r3) +/* 8012B010 00127F70 C0 26 00 04 */ lfs f1, 4(r6) +/* 8012B014 00127F74 D0 23 00 28 */ stfs f1, 0x28(r3) +/* 8012B018 00127F78 C0 26 00 08 */ lfs f1, 8(r6) +/* 8012B01C 00127F7C D0 23 00 2C */ stfs f1, 0x2c(r3) +/* 8012B020 00127F80 C0 26 00 0C */ lfs f1, 0xc(r6) +/* 8012B024 00127F84 D0 23 00 30 */ stfs f1, 0x30(r3) +/* 8012B028 00127F88 C0 25 00 00 */ lfs f1, 0(r5) +/* 8012B02C 00127F8C D0 23 00 34 */ stfs f1, 0x34(r3) +/* 8012B030 00127F90 C0 25 00 04 */ lfs f1, 4(r5) +/* 8012B034 00127F94 D0 23 00 38 */ stfs f1, 0x38(r3) +/* 8012B038 00127F98 C0 25 00 08 */ lfs f1, 8(r5) +/* 8012B03C 00127F9C D0 23 00 3C */ stfs f1, 0x3c(r3) +/* 8012B040 00127FA0 D0 03 00 40 */ stfs f0, 0x40(r3) +/* 8012B044 00127FA4 88 03 00 44 */ lbz r0, 0x44(r3) +/* 8012B048 00127FA8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8012B04C 00127FAC 98 03 00 44 */ stb r0, 0x44(r3) +/* 8012B050 00127FB0 4E 80 00 20 */ blr + +.global __ct__Q212CSpacePirate16CSpacePirateDataFR12CInputStreamUi +__ct__Q212CSpacePirate16CSpacePirateDataFR12CInputStreamUi: +/* 8012B054 00127FB4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8012B058 00127FB8 7C 08 02 A6 */ mflr r0 +/* 8012B05C 00127FBC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8012B060 00127FC0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8012B064 00127FC4 7C BF 2B 78 */ mr r31, r5 +/* 8012B068 00127FC8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8012B06C 00127FCC 7C 9E 23 78 */ mr r30, r4 +/* 8012B070 00127FD0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8012B074 00127FD4 7C 7D 1B 78 */ mr r29, r3 +/* 8012B078 00127FD8 7F C3 F3 78 */ mr r3, r30 +/* 8012B07C 00127FDC 48 21 3B AD */ bl ReadFloat__12CInputStreamFv +/* 8012B080 00127FE0 D0 3D 00 00 */ stfs f1, 0(r29) +/* 8012B084 00127FE4 7F C3 F3 78 */ mr r3, r30 +/* 8012B088 00127FE8 48 21 3B A1 */ bl ReadFloat__12CInputStreamFv +/* 8012B08C 00127FEC D0 3D 00 04 */ stfs f1, 4(r29) +/* 8012B090 00127FF0 7F C3 F3 78 */ mr r3, r30 +/* 8012B094 00127FF4 48 21 3B 95 */ bl ReadFloat__12CInputStreamFv +/* 8012B098 00127FF8 D0 3D 00 08 */ stfs f1, 8(r29) +/* 8012B09C 00127FFC 7F C3 F3 78 */ mr r3, r30 +/* 8012B0A0 00128000 48 21 3B 89 */ bl ReadFloat__12CInputStreamFv +/* 8012B0A4 00128004 D0 3D 00 0C */ stfs f1, 0xc(r29) +/* 8012B0A8 00128008 7F C3 F3 78 */ mr r3, r30 +/* 8012B0AC 0012800C 48 21 3B 7D */ bl ReadFloat__12CInputStreamFv +/* 8012B0B0 00128010 D0 3D 00 10 */ stfs f1, 0x10(r29) +/* 8012B0B4 00128014 7F C3 F3 78 */ mr r3, r30 +/* 8012B0B8 00128018 48 21 3B 71 */ bl ReadFloat__12CInputStreamFv +/* 8012B0BC 0012801C D0 3D 00 14 */ stfs f1, 0x14(r29) +/* 8012B0C0 00128020 7F C3 F3 78 */ mr r3, r30 +/* 8012B0C4 00128024 48 21 3B C1 */ bl ReadLong__12CInputStreamFv +/* 8012B0C8 00128028 90 7D 00 18 */ stw r3, 0x18(r29) +/* 8012B0CC 0012802C 7F C3 F3 78 */ mr r3, r30 +/* 8012B0D0 00128030 48 21 3C 0D */ bl ReadBool__12CInputStreamFv +/* 8012B0D4 00128034 98 7D 00 1C */ stb r3, 0x1c(r29) +/* 8012B0D8 00128038 7F C4 F3 78 */ mr r4, r30 +/* 8012B0DC 0012803C 38 7D 00 20 */ addi r3, r29, 0x20 +/* 8012B0E0 00128040 48 0F 0F 31 */ bl sub_8021c010 +/* 8012B0E4 00128044 7F C3 F3 78 */ mr r3, r30 +/* 8012B0E8 00128048 48 21 3B 9D */ bl ReadLong__12CInputStreamFv +/* 8012B0EC 0012804C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8012B0F0 00128050 48 1B D8 C1 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8012B0F4 00128054 B0 7D 00 48 */ sth r3, 0x48(r29) +/* 8012B0F8 00128058 7F C4 F3 78 */ mr r4, r30 +/* 8012B0FC 0012805C 38 7D 00 4C */ addi r3, r29, 0x4c +/* 8012B100 00128060 4B F9 84 61 */ bl __ct__11CDamageInfoFR12CInputStream +/* 8012B104 00128064 7F C3 F3 78 */ mr r3, r30 +/* 8012B108 00128068 48 21 3B 21 */ bl ReadFloat__12CInputStreamFv +/* 8012B10C 0012806C D0 3D 00 68 */ stfs f1, 0x68(r29) +/* 8012B110 00128070 7F C4 F3 78 */ mr r4, r30 +/* 8012B114 00128074 38 7D 00 6C */ addi r3, r29, 0x6c +/* 8012B118 00128078 48 0F 0E F9 */ bl sub_8021c010 +/* 8012B11C 0012807C 7F C3 F3 78 */ mr r3, r30 +/* 8012B120 00128080 48 21 3B 09 */ bl ReadFloat__12CInputStreamFv +/* 8012B124 00128084 D0 3D 00 94 */ stfs f1, 0x94(r29) +/* 8012B128 00128088 7F C3 F3 78 */ mr r3, r30 +/* 8012B12C 0012808C 48 21 3B 59 */ bl ReadLong__12CInputStreamFv +/* 8012B130 00128090 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8012B134 00128094 48 1B D8 7D */ bl TranslateSFXID__11CSfxManagerFUs +/* 8012B138 00128098 B0 7D 00 98 */ sth r3, 0x98(r29) +/* 8012B13C 0012809C 7F C3 F3 78 */ mr r3, r30 +/* 8012B140 001280A0 48 21 3A E9 */ bl ReadFloat__12CInputStreamFv +/* 8012B144 001280A4 D0 3D 00 9C */ stfs f1, 0x9c(r29) +/* 8012B148 001280A8 7F C3 F3 78 */ mr r3, r30 +/* 8012B14C 001280AC 48 21 3A DD */ bl ReadFloat__12CInputStreamFv +/* 8012B150 001280B0 D0 3D 00 A0 */ stfs f1, 0xa0(r29) +/* 8012B154 001280B4 7F C3 F3 78 */ mr r3, r30 +/* 8012B158 001280B8 48 21 3B 2D */ bl ReadLong__12CInputStreamFv +/* 8012B15C 001280BC 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8012B160 001280C0 48 1B D8 51 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8012B164 001280C4 B0 7D 00 A4 */ sth r3, 0xa4(r29) +/* 8012B168 001280C8 7F C3 F3 78 */ mr r3, r30 +/* 8012B16C 001280CC 48 21 3A BD */ bl ReadFloat__12CInputStreamFv +/* 8012B170 001280D0 D0 3D 00 A8 */ stfs f1, 0xa8(r29) +/* 8012B174 001280D4 7F C3 F3 78 */ mr r3, r30 +/* 8012B178 001280D8 48 21 3B 0D */ bl ReadLong__12CInputStreamFv +/* 8012B17C 001280DC 90 7D 00 AC */ stw r3, 0xac(r29) +/* 8012B180 001280E0 7F C3 F3 78 */ mr r3, r30 +/* 8012B184 001280E4 48 21 3A A5 */ bl ReadFloat__12CInputStreamFv +/* 8012B188 001280E8 D0 3D 00 B0 */ stfs f1, 0xb0(r29) +/* 8012B18C 001280EC 7F C3 F3 78 */ mr r3, r30 +/* 8012B190 001280F0 48 21 3A 99 */ bl ReadFloat__12CInputStreamFv +/* 8012B194 001280F4 D0 3D 00 B4 */ stfs f1, 0xb4(r29) +/* 8012B198 001280F8 7F C3 F3 78 */ mr r3, r30 +/* 8012B19C 001280FC 48 21 3A 8D */ bl ReadFloat__12CInputStreamFv +/* 8012B1A0 00128100 D0 3D 00 B8 */ stfs f1, 0xb8(r29) +/* 8012B1A4 00128104 7F C3 F3 78 */ mr r3, r30 +/* 8012B1A8 00128108 48 21 3A 81 */ bl ReadFloat__12CInputStreamFv +/* 8012B1AC 0012810C D0 3D 00 BC */ stfs f1, 0xbc(r29) +/* 8012B1B0 00128110 7F C3 F3 78 */ mr r3, r30 +/* 8012B1B4 00128114 48 21 3A D1 */ bl ReadLong__12CInputStreamFv +/* 8012B1B8 00128118 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8012B1BC 0012811C 48 1B D7 F5 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8012B1C0 00128120 B0 7D 00 C0 */ sth r3, 0xc0(r29) +/* 8012B1C4 00128124 7F C3 F3 78 */ mr r3, r30 +/* 8012B1C8 00128128 48 21 3A BD */ bl ReadLong__12CInputStreamFv +/* 8012B1CC 0012812C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 8012B1D0 00128130 48 1B D7 E1 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8012B1D4 00128134 2C 1F 00 23 */ cmpwi r31, 0x23 +/* 8012B1D8 00128138 B0 7D 00 C2 */ sth r3, 0xc2(r29) +/* 8012B1DC 0012813C 41 80 00 10 */ blt lbl_8012B1EC +/* 8012B1E0 00128140 7F C3 F3 78 */ mr r3, r30 +/* 8012B1E4 00128144 48 21 3A 45 */ bl ReadFloat__12CInputStreamFv +/* 8012B1E8 00128148 48 00 00 08 */ b lbl_8012B1F0 +lbl_8012B1EC: +/* 8012B1EC 0012814C C0 22 97 CC */ lfs f1, lbl_805AB4EC@sda21(r2) +lbl_8012B1F0: +/* 8012B1F0 00128150 2C 1F 00 24 */ cmpwi r31, 0x24 +/* 8012B1F4 00128154 D0 3D 00 C4 */ stfs f1, 0xc4(r29) +/* 8012B1F8 00128158 41 80 00 10 */ blt lbl_8012B208 +/* 8012B1FC 0012815C 7F C3 F3 78 */ mr r3, r30 +/* 8012B200 00128160 48 21 3A 29 */ bl ReadFloat__12CInputStreamFv +/* 8012B204 00128164 48 00 00 08 */ b lbl_8012B20C +lbl_8012B208: +/* 8012B208 00128168 C0 22 98 7C */ lfs f1, lbl_805AB59C@sda21(r2) +lbl_8012B20C: +/* 8012B20C 0012816C D0 3D 00 C8 */ stfs f1, 0xc8(r29) +/* 8012B210 00128170 38 7D 00 20 */ addi r3, r29, 0x20 +/* 8012B214 00128174 48 21 5B 71 */ bl Lock__6CTokenFv +/* 8012B218 00128178 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8012B21C 0012817C 7F A3 EB 78 */ mr r3, r29 +/* 8012B220 00128180 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8012B224 00128184 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8012B228 00128188 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8012B22C 0012818C 7C 08 03 A6 */ mtlr r0 +/* 8012B230 00128190 38 21 00 20 */ addi r1, r1, 0x20 +/* 8012B234 00128194 4E 80 00 20 */ blr + +.global PreRender__14CPirateRagDollFRC9CVector3fR10CModelData +PreRender__14CPirateRagDollFRC9CVector3fR10CModelData: +/* 8012B238 00128198 94 21 FD 70 */ stwu r1, -0x290(r1) +/* 8012B23C 0012819C 7C 08 02 A6 */ mflr r0 +/* 8012B240 001281A0 90 01 02 94 */ stw r0, 0x294(r1) +/* 8012B244 001281A4 BF 21 02 74 */ stmw r25, 0x274(r1) +/* 8012B248 001281A8 7C 7A 1B 78 */ mr r26, r3 +/* 8012B24C 001281AC 7C 9B 23 78 */ mr r27, r4 +/* 8012B250 001281B0 7C BD 2B 78 */ mr r29, r5 +/* 8012B254 001281B4 88 63 00 68 */ lbz r3, 0x68(r3) +/* 8012B258 001281B8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8012B25C 001281BC 41 82 00 0C */ beq lbl_8012B268 +/* 8012B260 001281C0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8012B264 001281C4 41 82 07 28 */ beq lbl_8012B98C +lbl_8012B268: +/* 8012B268 001281C8 83 FD 00 10 */ lwz r31, 0x10(r29) +/* 8012B26C 001281CC 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 8012B270 001281D0 38 63 66 60 */ addi r3, r3, lbl_805A6660@l +/* 8012B274 001281D4 80 9F 00 D4 */ lwz r4, 0xd4(r31) +/* 8012B278 001281D8 3B DF 02 FC */ addi r30, r31, 0x2fc +/* 8012B27C 001281DC 3B 9E 00 40 */ addi r28, r30, 0x40 +/* 8012B280 001281E0 80 A4 00 14 */ lwz r5, 0x14(r4) +/* 8012B284 001281E4 48 00 00 70 */ b lbl_8012B2F4 +lbl_8012B288: +/* 8012B288 001281E8 80 DF 00 D4 */ lwz r6, 0xd4(r31) +/* 8012B28C 001281EC 88 05 00 00 */ lbz r0, 0(r5) +/* 8012B290 001281F0 81 06 00 00 */ lwz r8, 0(r6) +/* 8012B294 001281F4 54 07 0D FC */ rlwinm r7, r0, 1, 0x17, 0x1e +/* 8012B298 001281F8 7C C8 3A 14 */ add r6, r8, r7 +/* 8012B29C 001281FC 81 08 00 D0 */ lwz r8, 0xd0(r8) +/* 8012B2A0 00128200 88 06 00 09 */ lbz r0, 9(r6) +/* 8012B2A4 00128204 54 06 2C F4 */ rlwinm r6, r0, 5, 0x13, 0x1a +/* 8012B2A8 00128208 38 06 00 14 */ addi r0, r6, 0x14 +/* 8012B2AC 0012820C 7C 08 00 2E */ lwzx r0, r8, r0 +/* 8012B2B0 00128210 2C 00 00 01 */ cmpwi r0, 1 +/* 8012B2B4 00128214 40 81 00 3C */ ble lbl_8012B2F0 +/* 8012B2B8 00128218 38 07 00 01 */ addi r0, r7, 1 +/* 8012B2BC 0012821C 3C C0 80 5A */ lis r6, lbl_805A6660@ha +/* 8012B2C0 00128220 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8012B2C4 00128224 80 FE 01 08 */ lwz r7, 0x108(r30) +/* 8012B2C8 00128228 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 8012B2CC 0012822C C0 06 66 60 */ lfs f0, lbl_805A6660@l(r6) +/* 8012B2D0 00128230 7C E7 02 14 */ add r7, r7, r0 +/* 8012B2D4 00128234 D0 07 00 04 */ stfs f0, 4(r7) +/* 8012B2D8 00128238 80 C3 00 04 */ lwz r6, 4(r3) +/* 8012B2DC 0012823C 80 03 00 08 */ lwz r0, 8(r3) +/* 8012B2E0 00128240 90 C7 00 08 */ stw r6, 8(r7) +/* 8012B2E4 00128244 90 07 00 0C */ stw r0, 0xc(r7) +/* 8012B2E8 00128248 80 03 00 0C */ lwz r0, 0xc(r3) +/* 8012B2EC 0012824C 90 07 00 10 */ stw r0, 0x10(r7) +lbl_8012B2F0: +/* 8012B2F0 00128250 38 A5 00 01 */ addi r5, r5, 1 +lbl_8012B2F4: +/* 8012B2F4 00128254 80 C4 00 14 */ lwz r6, 0x14(r4) +/* 8012B2F8 00128258 80 04 00 0C */ lwz r0, 0xc(r4) +/* 8012B2FC 0012825C 7C 06 02 14 */ add r0, r6, r0 +/* 8012B300 00128260 7C 05 00 40 */ cmplw r5, r0 +/* 8012B304 00128264 40 82 FF 84 */ bne lbl_8012B288 +/* 8012B308 00128268 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012B30C 0012826C 38 61 01 94 */ addi r3, r1, 0x194 +/* 8012B310 00128270 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012B314 00128274 38 84 00 48 */ addi r4, r4, 0x48 +/* 8012B318 00128278 4B ED 99 A1 */ bl string_l__4rstlFPCc +/* 8012B31C 0012827C 7F E4 FB 78 */ mr r4, r31 +/* 8012B320 00128280 38 61 00 08 */ addi r3, r1, 8 +/* 8012B324 00128284 38 A1 01 94 */ addi r5, r1, 0x194 +/* 8012B328 00128288 4B F0 35 11 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012B32C 0012828C 8B 21 00 08 */ lbz r25, 8(r1) +/* 8012B330 00128290 38 61 01 94 */ addi r3, r1, 0x194 +/* 8012B334 00128294 48 21 27 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012B338 00128298 80 BA 00 10 */ lwz r5, 0x10(r26) +/* 8012B33C 0012829C 57 20 0D FC */ rlwinm r0, r25, 1, 0x17, 0x1e +/* 8012B340 001282A0 C0 7D 00 00 */ lfs f3, 0(r29) +/* 8012B344 001282A4 7F 3C 02 14 */ add r25, r28, r0 +/* 8012B348 001282A8 C0 85 02 04 */ lfs f4, 0x204(r5) +/* 8012B34C 001282AC 38 61 01 70 */ addi r3, r1, 0x170 +/* 8012B350 001282B0 C0 45 02 C4 */ lfs f2, 0x2c4(r5) +/* 8012B354 001282B4 38 81 01 64 */ addi r4, r1, 0x164 +/* 8012B358 001282B8 88 19 00 01 */ lbz r0, 1(r25) +/* 8012B35C 001282BC EC A4 10 2A */ fadds f5, f4, f2 +/* 8012B360 001282C0 C0 C2 97 D0 */ lfs f6, lbl_805AB4F0@sda21(r2) +/* 8012B364 001282C4 C0 25 02 08 */ lfs f1, 0x208(r5) +/* 8012B368 001282C8 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 8012B36C 001282CC C0 05 02 C8 */ lfs f0, 0x2c8(r5) +/* 8012B370 001282D0 EC A6 01 72 */ fmuls f5, f6, f5 +/* 8012B374 001282D4 EC 81 00 2A */ fadds f4, f1, f0 +/* 8012B378 001282D8 C0 1B 00 00 */ lfs f0, 0(r27) +/* 8012B37C 001282DC C0 45 02 0C */ lfs f2, 0x20c(r5) +/* 8012B380 001282E0 EC A5 00 28 */ fsubs f5, f5, f0 +/* 8012B384 001282E4 C0 1B 00 04 */ lfs f0, 4(r27) +/* 8012B388 001282E8 EC E6 01 32 */ fmuls f7, f6, f4 +/* 8012B38C 001282EC C0 25 02 CC */ lfs f1, 0x2cc(r5) +/* 8012B390 001282F0 80 BE 01 08 */ lwz r5, 0x108(r30) +/* 8012B394 001282F4 EC E7 00 28 */ fsubs f7, f7, f0 +/* 8012B398 001282F8 C0 9B 00 08 */ lfs f4, 8(r27) +/* 8012B39C 001282FC EC 05 18 24 */ fdivs f0, f5, f3 +/* 8012B3A0 00128300 7C A5 02 14 */ add r5, r5, r0 +/* 8012B3A4 00128304 D0 61 01 7C */ stfs f3, 0x17c(r1) +/* 8012B3A8 00128308 D0 61 01 88 */ stfs f3, 0x188(r1) +/* 8012B3AC 0012830C EC 22 08 2A */ fadds f1, f2, f1 +/* 8012B3B0 00128310 C0 5D 00 04 */ lfs f2, 4(r29) +/* 8012B3B4 00128314 D0 41 01 80 */ stfs f2, 0x180(r1) +/* 8012B3B8 00128318 ED 06 00 72 */ fmuls f8, f6, f1 +/* 8012B3BC 0012831C C0 3D 00 08 */ lfs f1, 8(r29) +/* 8012B3C0 00128320 D0 41 01 8C */ stfs f2, 0x18c(r1) +/* 8012B3C4 00128324 ED 08 20 28 */ fsubs f8, f8, f4 +/* 8012B3C8 00128328 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8012B3CC 0012832C EC 87 10 24 */ fdivs f4, f7, f2 +/* 8012B3D0 00128330 D0 21 01 84 */ stfs f1, 0x184(r1) +/* 8012B3D4 00128334 D0 21 01 90 */ stfs f1, 0x190(r1) +/* 8012B3D8 00128338 EC 08 08 24 */ fdivs f0, f8, f1 +/* 8012B3DC 0012833C D0 85 00 18 */ stfs f4, 0x18(r5) +/* 8012B3E0 00128340 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 8012B3E4 00128344 80 BA 00 10 */ lwz r5, 0x10(r26) +/* 8012B3E8 00128348 C0 25 00 88 */ lfs f1, 0x88(r5) +/* 8012B3EC 0012834C C0 05 01 48 */ lfs f0, 0x148(r5) +/* 8012B3F0 00128350 C0 65 00 8C */ lfs f3, 0x8c(r5) +/* 8012B3F4 00128354 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8012B3F8 00128358 C0 45 01 4C */ lfs f2, 0x14c(r5) +/* 8012B3FC 0012835C C0 25 00 84 */ lfs f1, 0x84(r5) +/* 8012B400 00128360 C0 05 01 44 */ lfs f0, 0x144(r5) +/* 8012B404 00128364 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8012B408 00128368 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012B40C 0012836C D0 81 02 18 */ stfs f4, 0x218(r1) +/* 8012B410 00128370 D0 41 02 1C */ stfs f2, 0x21c(r1) +/* 8012B414 00128374 D0 01 02 14 */ stfs f0, 0x214(r1) +/* 8012B418 00128378 C0 25 02 08 */ lfs f1, 0x208(r5) +/* 8012B41C 0012837C C0 05 02 C8 */ lfs f0, 0x2c8(r5) +/* 8012B420 00128380 C0 45 02 0C */ lfs f2, 0x20c(r5) +/* 8012B424 00128384 EC A1 00 2A */ fadds f5, f1, f0 +/* 8012B428 00128388 C0 05 02 CC */ lfs f0, 0x2cc(r5) +/* 8012B42C 0012838C C0 25 02 04 */ lfs f1, 0x204(r5) +/* 8012B430 00128390 EC 82 00 2A */ fadds f4, f2, f0 +/* 8012B434 00128394 C0 05 02 C4 */ lfs f0, 0x2c4(r5) +/* 8012B438 00128398 ED 06 01 72 */ fmuls f8, f6, f5 +/* 8012B43C 0012839C EC 61 00 2A */ fadds f3, f1, f0 +/* 8012B440 001283A0 C0 05 00 08 */ lfs f0, 8(r5) +/* 8012B444 001283A4 EC E6 01 32 */ fmuls f7, f6, f4 +/* 8012B448 001283A8 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 8012B44C 001283AC ED 20 40 28 */ fsubs f9, f0, f8 +/* 8012B450 001283B0 EC 46 00 F2 */ fmuls f2, f6, f3 +/* 8012B454 001283B4 C0 05 00 04 */ lfs f0, 4(r5) +/* 8012B458 001283B8 EC 21 38 28 */ fsubs f1, f1, f7 +/* 8012B45C 001283BC D0 61 01 4C */ stfs f3, 0x14c(r1) +/* 8012B460 001283C0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 8012B464 001283C4 D0 A1 01 50 */ stfs f5, 0x150(r1) +/* 8012B468 001283C8 D0 81 01 54 */ stfs f4, 0x154(r1) +/* 8012B46C 001283CC D0 41 01 58 */ stfs f2, 0x158(r1) +/* 8012B470 001283D0 D1 01 01 5C */ stfs f8, 0x15c(r1) +/* 8012B474 001283D4 D0 E1 01 60 */ stfs f7, 0x160(r1) +/* 8012B478 001283D8 D0 01 01 64 */ stfs f0, 0x164(r1) +/* 8012B47C 001283DC D1 21 01 68 */ stfs f9, 0x168(r1) +/* 8012B480 001283E0 D0 21 01 6C */ stfs f1, 0x16c(r1) +/* 8012B484 001283E4 48 1E 93 CD */ bl AsNormalized__9CVector3fCFv +/* 8012B488 001283E8 C0 A1 01 70 */ lfs f5, 0x170(r1) +/* 8012B48C 001283EC 38 61 01 40 */ addi r3, r1, 0x140 +/* 8012B490 001283F0 C0 81 01 74 */ lfs f4, 0x174(r1) +/* 8012B494 001283F4 38 81 01 34 */ addi r4, r1, 0x134 +/* 8012B498 001283F8 C0 61 01 78 */ lfs f3, 0x178(r1) +/* 8012B49C 001283FC C0 C1 02 18 */ lfs f6, 0x218(r1) +/* 8012B4A0 00128400 C0 E1 02 1C */ lfs f7, 0x21c(r1) +/* 8012B4A4 00128404 C1 01 02 14 */ lfs f8, 0x214(r1) +/* 8012B4A8 00128408 EC 46 00 F2 */ fmuls f2, f6, f3 +/* 8012B4AC 0012840C EC 27 01 72 */ fmuls f1, f7, f5 +/* 8012B4B0 00128410 D0 A1 02 08 */ stfs f5, 0x208(r1) +/* 8012B4B4 00128414 EC 08 01 32 */ fmuls f0, f8, f4 +/* 8012B4B8 00128418 EC 44 11 F8 */ fmsubs f2, f4, f7, f2 +/* 8012B4BC 0012841C D0 81 02 0C */ stfs f4, 0x20c(r1) +/* 8012B4C0 00128420 EC 23 0A 38 */ fmsubs f1, f3, f8, f1 +/* 8012B4C4 00128424 EC 05 01 B8 */ fmsubs f0, f5, f6, f0 +/* 8012B4C8 00128428 D0 61 02 10 */ stfs f3, 0x210(r1) +/* 8012B4CC 0012842C D0 41 01 34 */ stfs f2, 0x134(r1) +/* 8012B4D0 00128430 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 8012B4D4 00128434 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 8012B4D8 00128438 48 1E 93 79 */ bl AsNormalized__9CVector3fCFv +/* 8012B4DC 0012843C C0 A1 01 40 */ lfs f5, 0x140(r1) +/* 8012B4E0 00128440 38 61 02 44 */ addi r3, r1, 0x244 +/* 8012B4E4 00128444 C0 81 01 44 */ lfs f4, 0x144(r1) +/* 8012B4E8 00128448 38 81 02 14 */ addi r4, r1, 0x214 +/* 8012B4EC 0012844C C0 61 01 48 */ lfs f3, 0x148(r1) +/* 8012B4F0 00128450 38 A1 01 FC */ addi r5, r1, 0x1fc +/* 8012B4F4 00128454 C0 C1 02 0C */ lfs f6, 0x20c(r1) +/* 8012B4F8 00128458 38 C1 02 08 */ addi r6, r1, 0x208 +/* 8012B4FC 0012845C C0 E1 02 10 */ lfs f7, 0x210(r1) +/* 8012B500 00128460 C1 01 02 08 */ lfs f8, 0x208(r1) +/* 8012B504 00128464 EC 26 00 F2 */ fmuls f1, f6, f3 +/* 8012B508 00128468 EC 07 01 72 */ fmuls f0, f7, f5 +/* 8012B50C 0012846C D0 A1 01 FC */ stfs f5, 0x1fc(r1) +/* 8012B510 00128470 EC 48 01 32 */ fmuls f2, f8, f4 +/* 8012B514 00128474 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 +/* 8012B518 00128478 D0 81 02 00 */ stfs f4, 0x200(r1) +/* 8012B51C 0012847C EC 03 02 38 */ fmsubs f0, f3, f8, f0 +/* 8012B520 00128480 EC 45 11 B8 */ fmsubs f2, f5, f6, f2 +/* 8012B524 00128484 D0 61 02 04 */ stfs f3, 0x204(r1) +/* 8012B528 00128488 D0 21 02 14 */ stfs f1, 0x214(r1) +/* 8012B52C 0012848C D0 01 02 18 */ stfs f0, 0x218(r1) +/* 8012B530 00128490 D0 41 02 1C */ stfs f2, 0x21c(r1) +/* 8012B534 00128494 48 1E 51 49 */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8012B538 00128498 C1 01 02 44 */ lfs f8, 0x244(r1) +/* 8012B53C 0012849C 38 61 01 24 */ addi r3, r1, 0x124 +/* 8012B540 001284A0 C0 E1 02 50 */ lfs f7, 0x250(r1) +/* 8012B544 001284A4 38 81 02 20 */ addi r4, r1, 0x220 +/* 8012B548 001284A8 C0 C1 02 5C */ lfs f6, 0x25c(r1) +/* 8012B54C 001284AC C0 A1 02 48 */ lfs f5, 0x248(r1) +/* 8012B550 001284B0 C0 81 02 54 */ lfs f4, 0x254(r1) +/* 8012B554 001284B4 C0 61 02 60 */ lfs f3, 0x260(r1) +/* 8012B558 001284B8 C0 41 02 4C */ lfs f2, 0x24c(r1) +/* 8012B55C 001284BC C0 21 02 58 */ lfs f1, 0x258(r1) +/* 8012B560 001284C0 C0 01 02 64 */ lfs f0, 0x264(r1) +/* 8012B564 001284C4 D1 01 02 20 */ stfs f8, 0x220(r1) +/* 8012B568 001284C8 D0 E1 02 24 */ stfs f7, 0x224(r1) +/* 8012B56C 001284CC D0 C1 02 28 */ stfs f6, 0x228(r1) +/* 8012B570 001284D0 D0 A1 02 2C */ stfs f5, 0x22c(r1) +/* 8012B574 001284D4 D0 81 02 30 */ stfs f4, 0x230(r1) +/* 8012B578 001284D8 D0 61 02 34 */ stfs f3, 0x234(r1) +/* 8012B57C 001284DC D0 41 02 38 */ stfs f2, 0x238(r1) +/* 8012B580 001284E0 D0 21 02 3C */ stfs f1, 0x23c(r1) +/* 8012B584 001284E4 D0 01 02 40 */ stfs f0, 0x240(r1) +/* 8012B588 001284E8 48 1E 6B F9 */ bl FromMatrix__11CQuaternionFRC9CMatrix3f +/* 8012B58C 001284EC C0 61 01 24 */ lfs f3, 0x124(r1) +/* 8012B590 001284F0 C0 41 01 28 */ lfs f2, 0x128(r1) +/* 8012B594 001284F4 C0 21 01 2C */ lfs f1, 0x12c(r1) +/* 8012B598 001284F8 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 8012B59C 001284FC D0 61 01 EC */ stfs f3, 0x1ec(r1) +/* 8012B5A0 00128500 D0 41 01 F0 */ stfs f2, 0x1f0(r1) +/* 8012B5A4 00128504 D0 21 01 F4 */ stfs f1, 0x1f4(r1) +/* 8012B5A8 00128508 D0 01 01 F8 */ stfs f0, 0x1f8(r1) +/* 8012B5AC 0012850C 88 19 00 01 */ lbz r0, 1(r25) +/* 8012B5B0 00128510 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 8012B5B4 00128514 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 8012B5B8 00128518 7C 83 02 14 */ add r4, r3, r0 +/* 8012B5BC 0012851C D0 64 00 04 */ stfs f3, 4(r4) +/* 8012B5C0 00128520 80 61 01 F0 */ lwz r3, 0x1f0(r1) +/* 8012B5C4 00128524 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 8012B5C8 00128528 90 64 00 08 */ stw r3, 8(r4) +/* 8012B5CC 0012852C 90 04 00 0C */ stw r0, 0xc(r4) +/* 8012B5D0 00128530 80 01 01 F8 */ lwz r0, 0x1f8(r1) +/* 8012B5D4 00128534 90 04 00 10 */ stw r0, 0x10(r4) +/* 8012B5D8 00128538 80 7A 00 6C */ lwz r3, 0x6c(r26) +/* 8012B5DC 0012853C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8012B5E0 00128540 A0 63 07 B4 */ lhz r3, 0x7b4(r3) +/* 8012B5E4 00128544 83 BF 00 D4 */ lwz r29, 0xd4(r31) +/* 8012B5E8 00128548 7C 03 00 40 */ cmplw r3, r0 +/* 8012B5EC 0012854C 40 82 01 24 */ bne lbl_8012B710 +/* 8012B5F0 00128550 80 BA 00 10 */ lwz r5, 0x10(r26) +/* 8012B5F4 00128554 7F A4 EB 78 */ mr r4, r29 +/* 8012B5F8 00128558 38 61 01 18 */ addi r3, r1, 0x118 +/* 8012B5FC 0012855C 38 A5 00 40 */ addi r5, r5, 0x40 +/* 8012B600 00128560 48 00 03 A1 */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId +/* 8012B604 00128564 C0 01 01 18 */ lfs f0, 0x118(r1) +/* 8012B608 00128568 38 61 01 0C */ addi r3, r1, 0x10c +/* 8012B60C 0012856C C0 21 01 1C */ lfs f1, 0x11c(r1) +/* 8012B610 00128570 38 81 00 FC */ addi r4, r1, 0xfc +/* 8012B614 00128574 C0 41 01 20 */ lfs f2, 0x120(r1) +/* 8012B618 00128578 38 A1 01 D4 */ addi r5, r1, 0x1d4 +/* 8012B61C 0012857C D0 01 01 E0 */ stfs f0, 0x1e0(r1) +/* 8012B620 00128580 C0 01 01 F8 */ lfs f0, 0x1f8(r1) +/* 8012B624 00128584 D0 21 01 E4 */ stfs f1, 0x1e4(r1) +/* 8012B628 00128588 C0 21 01 F4 */ lfs f1, 0x1f4(r1) +/* 8012B62C 0012858C FD 00 00 50 */ fneg f8, f0 +/* 8012B630 00128590 D0 41 01 E8 */ stfs f2, 0x1e8(r1) +/* 8012B634 00128594 C0 01 01 F0 */ lfs f0, 0x1f0(r1) +/* 8012B638 00128598 FC E0 08 50 */ fneg f7, f1 +/* 8012B63C 0012859C 80 DA 00 10 */ lwz r6, 0x10(r26) +/* 8012B640 001285A0 FC C0 00 50 */ fneg f6, f0 +/* 8012B644 001285A4 C0 01 01 EC */ lfs f0, 0x1ec(r1) +/* 8012B648 001285A8 C0 46 00 48 */ lfs f2, 0x48(r6) +/* 8012B64C 001285AC C0 26 00 08 */ lfs f1, 8(r6) +/* 8012B650 001285B0 C0 86 00 4C */ lfs f4, 0x4c(r6) +/* 8012B654 001285B4 C0 66 00 0C */ lfs f3, 0xc(r6) +/* 8012B658 001285B8 EC A2 08 28 */ fsubs f5, f2, f1 +/* 8012B65C 001285BC C0 46 00 44 */ lfs f2, 0x44(r6) +/* 8012B660 001285C0 C0 26 00 04 */ lfs f1, 4(r6) +/* 8012B664 001285C4 EC 64 18 28 */ fsubs f3, f4, f3 +/* 8012B668 001285C8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8012B66C 001285CC D0 A1 01 D8 */ stfs f5, 0x1d8(r1) +/* 8012B670 001285D0 D0 61 01 DC */ stfs f3, 0x1dc(r1) +/* 8012B674 001285D4 D0 21 01 D4 */ stfs f1, 0x1d4(r1) +/* 8012B678 001285D8 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 8012B67C 001285DC D0 C1 01 00 */ stfs f6, 0x100(r1) +/* 8012B680 001285E0 D0 E1 01 04 */ stfs f7, 0x104(r1) +/* 8012B684 001285E4 D1 01 01 08 */ stfs f8, 0x108(r1) +/* 8012B688 001285E8 48 1E 5B DD */ bl Transform__11CQuaternionCFRC9CVector3f +/* 8012B68C 001285EC C0 41 01 0C */ lfs f2, 0x10c(r1) +/* 8012B690 001285F0 38 61 00 EC */ addi r3, r1, 0xec +/* 8012B694 001285F4 C0 21 01 10 */ lfs f1, 0x110(r1) +/* 8012B698 001285F8 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 8012B69C 001285FC C0 01 01 14 */ lfs f0, 0x114(r1) +/* 8012B6A0 00128600 38 A1 01 D4 */ addi r5, r1, 0x1d4 +/* 8012B6A4 00128604 D0 41 01 D4 */ stfs f2, 0x1d4(r1) +/* 8012B6A8 00128608 D0 21 01 D8 */ stfs f1, 0x1d8(r1) +/* 8012B6AC 0012860C D0 01 01 DC */ stfs f0, 0x1dc(r1) +/* 8012B6B0 00128610 48 1E 64 09 */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f +/* 8012B6B4 00128614 80 7A 00 10 */ lwz r3, 0x10(r26) +/* 8012B6B8 00128618 C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 8012B6BC 0012861C 88 03 00 40 */ lbz r0, 0x40(r3) +/* 8012B6C0 00128620 D0 01 01 C8 */ stfs f0, 0x1c8(r1) +/* 8012B6C4 00128624 54 03 08 3C */ slwi r3, r0, 1 +/* 8012B6C8 00128628 C0 41 00 EC */ lfs f2, 0xec(r1) +/* 8012B6CC 0012862C 38 03 00 01 */ addi r0, r3, 1 +/* 8012B6D0 00128630 C0 21 00 F4 */ lfs f1, 0xf4(r1) +/* 8012B6D4 00128634 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8012B6D8 00128638 80 7E 01 08 */ lwz r3, 0x108(r30) +/* 8012B6DC 0012863C C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 8012B6E0 00128640 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 8012B6E4 00128644 7C 83 02 14 */ add r4, r3, r0 +/* 8012B6E8 00128648 D0 21 01 CC */ stfs f1, 0x1cc(r1) +/* 8012B6EC 0012864C 80 01 01 C8 */ lwz r0, 0x1c8(r1) +/* 8012B6F0 00128650 D0 44 00 04 */ stfs f2, 4(r4) +/* 8012B6F4 00128654 80 61 01 CC */ lwz r3, 0x1cc(r1) +/* 8012B6F8 00128658 90 04 00 08 */ stw r0, 8(r4) +/* 8012B6FC 0012865C D0 01 01 D0 */ stfs f0, 0x1d0(r1) +/* 8012B700 00128660 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 8012B704 00128664 90 64 00 0C */ stw r3, 0xc(r4) +/* 8012B708 00128668 D0 41 01 C4 */ stfs f2, 0x1c4(r1) +/* 8012B70C 0012866C 90 04 00 10 */ stw r0, 0x10(r4) +lbl_8012B710: +/* 8012B710 00128670 7F 44 D3 78 */ mr r4, r26 +/* 8012B714 00128674 7F C5 F3 78 */ mr r5, r30 +/* 8012B718 00128678 7F A6 EB 78 */ mr r6, r29 +/* 8012B71C 0012867C 38 61 00 DC */ addi r3, r1, 0xdc +/* 8012B720 00128680 39 21 01 EC */ addi r9, r1, 0x1ec +/* 8012B724 00128684 38 E0 00 02 */ li r7, 2 +/* 8012B728 00128688 39 00 00 03 */ li r8, 3 +/* 8012B72C 0012868C 48 0E 12 31 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion +/* 8012B730 00128690 C0 61 00 DC */ lfs f3, 0xdc(r1) +/* 8012B734 00128694 38 61 00 BC */ addi r3, r1, 0xbc +/* 8012B738 00128698 C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 8012B73C 0012869C 38 81 01 EC */ addi r4, r1, 0x1ec +/* 8012B740 001286A0 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 8012B744 001286A4 38 A1 01 B4 */ addi r5, r1, 0x1b4 +/* 8012B748 001286A8 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 8012B74C 001286AC D0 61 01 B4 */ stfs f3, 0x1b4(r1) +/* 8012B750 001286B0 D0 41 01 B8 */ stfs f2, 0x1b8(r1) +/* 8012B754 001286B4 D0 21 01 BC */ stfs f1, 0x1bc(r1) +/* 8012B758 001286B8 D0 01 01 C0 */ stfs f0, 0x1c0(r1) +/* 8012B75C 001286BC 48 1E 5A 45 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8012B760 001286C0 7F 44 D3 78 */ mr r4, r26 +/* 8012B764 001286C4 7F C5 F3 78 */ mr r5, r30 +/* 8012B768 001286C8 7F A6 EB 78 */ mr r6, r29 +/* 8012B76C 001286CC 38 61 00 CC */ addi r3, r1, 0xcc +/* 8012B770 001286D0 39 21 00 BC */ addi r9, r1, 0xbc +/* 8012B774 001286D4 38 E0 00 03 */ li r7, 3 +/* 8012B778 001286D8 39 00 00 04 */ li r8, 4 +/* 8012B77C 001286DC 48 0E 11 E1 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion +/* 8012B780 001286E0 7F 44 D3 78 */ mr r4, r26 +/* 8012B784 001286E4 7F C5 F3 78 */ mr r5, r30 +/* 8012B788 001286E8 7F A6 EB 78 */ mr r6, r29 +/* 8012B78C 001286EC 38 61 00 AC */ addi r3, r1, 0xac +/* 8012B790 001286F0 39 21 01 EC */ addi r9, r1, 0x1ec +/* 8012B794 001286F4 38 E0 00 05 */ li r7, 5 +/* 8012B798 001286F8 39 00 00 06 */ li r8, 6 +/* 8012B79C 001286FC 48 0E 11 C1 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion +/* 8012B7A0 00128700 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 8012B7A4 00128704 38 61 00 8C */ addi r3, r1, 0x8c +/* 8012B7A8 00128708 80 E1 00 B0 */ lwz r7, 0xb0(r1) +/* 8012B7AC 0012870C 38 81 01 EC */ addi r4, r1, 0x1ec +/* 8012B7B0 00128710 80 C1 00 B4 */ lwz r6, 0xb4(r1) +/* 8012B7B4 00128714 38 A1 01 B4 */ addi r5, r1, 0x1b4 +/* 8012B7B8 00128718 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 8012B7BC 0012871C D0 01 01 B4 */ stfs f0, 0x1b4(r1) +/* 8012B7C0 00128720 90 E1 01 B8 */ stw r7, 0x1b8(r1) +/* 8012B7C4 00128724 90 C1 01 BC */ stw r6, 0x1bc(r1) +/* 8012B7C8 00128728 90 01 01 C0 */ stw r0, 0x1c0(r1) +/* 8012B7CC 0012872C 48 1E 59 D5 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8012B7D0 00128730 7F 44 D3 78 */ mr r4, r26 +/* 8012B7D4 00128734 7F C5 F3 78 */ mr r5, r30 +/* 8012B7D8 00128738 7F A6 EB 78 */ mr r6, r29 +/* 8012B7DC 0012873C 38 61 00 9C */ addi r3, r1, 0x9c +/* 8012B7E0 00128740 39 21 00 8C */ addi r9, r1, 0x8c +/* 8012B7E4 00128744 38 E0 00 06 */ li r7, 6 +/* 8012B7E8 00128748 39 00 00 07 */ li r8, 7 +/* 8012B7EC 0012874C 48 0E 11 71 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion +/* 8012B7F0 00128750 7F 44 D3 78 */ mr r4, r26 +/* 8012B7F4 00128754 7F C5 F3 78 */ mr r5, r30 +/* 8012B7F8 00128758 7F A6 EB 78 */ mr r6, r29 +/* 8012B7FC 0012875C 38 61 00 7C */ addi r3, r1, 0x7c +/* 8012B800 00128760 39 21 01 EC */ addi r9, r1, 0x1ec +/* 8012B804 00128764 38 E0 00 08 */ li r7, 8 +/* 8012B808 00128768 39 00 00 09 */ li r8, 9 +/* 8012B80C 0012876C 48 0E 11 51 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion +/* 8012B810 00128770 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8012B814 00128774 38 61 00 5C */ addi r3, r1, 0x5c +/* 8012B818 00128778 80 E1 00 80 */ lwz r7, 0x80(r1) +/* 8012B81C 0012877C 38 81 01 EC */ addi r4, r1, 0x1ec +/* 8012B820 00128780 80 C1 00 84 */ lwz r6, 0x84(r1) +/* 8012B824 00128784 38 A1 01 B4 */ addi r5, r1, 0x1b4 +/* 8012B828 00128788 80 01 00 88 */ lwz r0, 0x88(r1) +/* 8012B82C 0012878C D0 01 01 B4 */ stfs f0, 0x1b4(r1) +/* 8012B830 00128790 90 E1 01 B8 */ stw r7, 0x1b8(r1) +/* 8012B834 00128794 90 C1 01 BC */ stw r6, 0x1bc(r1) +/* 8012B838 00128798 90 01 01 C0 */ stw r0, 0x1c0(r1) +/* 8012B83C 0012879C 48 1E 59 65 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8012B840 001287A0 7F 44 D3 78 */ mr r4, r26 +/* 8012B844 001287A4 7F C5 F3 78 */ mr r5, r30 +/* 8012B848 001287A8 7F A6 EB 78 */ mr r6, r29 +/* 8012B84C 001287AC 38 61 00 6C */ addi r3, r1, 0x6c +/* 8012B850 001287B0 39 21 00 5C */ addi r9, r1, 0x5c +/* 8012B854 001287B4 38 E0 00 09 */ li r7, 9 +/* 8012B858 001287B8 39 00 00 0A */ li r8, 0xa +/* 8012B85C 001287BC 48 0E 11 01 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion +/* 8012B860 001287C0 7F 44 D3 78 */ mr r4, r26 +/* 8012B864 001287C4 7F C5 F3 78 */ mr r5, r30 +/* 8012B868 001287C8 7F A6 EB 78 */ mr r6, r29 +/* 8012B86C 001287CC 38 61 00 4C */ addi r3, r1, 0x4c +/* 8012B870 001287D0 39 21 01 EC */ addi r9, r1, 0x1ec +/* 8012B874 001287D4 38 E0 00 0B */ li r7, 0xb +/* 8012B878 001287D8 39 00 00 0C */ li r8, 0xc +/* 8012B87C 001287DC 48 0E 10 E1 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion +/* 8012B880 001287E0 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8012B884 001287E4 38 61 00 2C */ addi r3, r1, 0x2c +/* 8012B888 001287E8 80 E1 00 50 */ lwz r7, 0x50(r1) +/* 8012B88C 001287EC 38 81 01 EC */ addi r4, r1, 0x1ec +/* 8012B890 001287F0 80 C1 00 54 */ lwz r6, 0x54(r1) +/* 8012B894 001287F4 38 A1 01 B4 */ addi r5, r1, 0x1b4 +/* 8012B898 001287F8 80 01 00 58 */ lwz r0, 0x58(r1) +/* 8012B89C 001287FC D0 01 01 B4 */ stfs f0, 0x1b4(r1) +/* 8012B8A0 00128800 90 E1 01 B8 */ stw r7, 0x1b8(r1) +/* 8012B8A4 00128804 90 C1 01 BC */ stw r6, 0x1bc(r1) +/* 8012B8A8 00128808 90 01 01 C0 */ stw r0, 0x1c0(r1) +/* 8012B8AC 0012880C 48 1E 58 F5 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8012B8B0 00128810 7F 44 D3 78 */ mr r4, r26 +/* 8012B8B4 00128814 7F C5 F3 78 */ mr r5, r30 +/* 8012B8B8 00128818 7F A6 EB 78 */ mr r6, r29 +/* 8012B8BC 0012881C 38 61 00 3C */ addi r3, r1, 0x3c +/* 8012B8C0 00128820 39 21 00 2C */ addi r9, r1, 0x2c +/* 8012B8C4 00128824 38 E0 00 0C */ li r7, 0xc +/* 8012B8C8 00128828 39 00 00 0D */ li r8, 0xd +/* 8012B8CC 0012882C 48 0E 10 91 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion +/* 8012B8D0 00128830 C0 02 98 80 */ lfs f0, lbl_805AB5A0@sda21(r2) +/* 8012B8D4 00128834 38 61 00 1C */ addi r3, r1, 0x1c +/* 8012B8D8 00128838 38 81 00 0C */ addi r4, r1, 0xc +/* 8012B8DC 0012883C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8012B8E0 00128840 48 1E 58 89 */ bl XRotation__11CQuaternionFRC9CRelAngle +/* 8012B8E4 00128844 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8012B8E8 00128848 38 60 00 00 */ li r3, 0 +/* 8012B8EC 0012884C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8012B8F0 00128850 88 04 02 80 */ lbz r0, 0x280(r4) +/* 8012B8F4 00128854 D0 01 01 A8 */ stfs f0, 0x1a8(r1) +/* 8012B8F8 00128858 54 04 08 3C */ slwi r4, r0, 1 +/* 8012B8FC 0012885C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8012B900 00128860 38 04 00 01 */ addi r0, r4, 1 +/* 8012B904 00128864 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8012B908 00128868 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8012B90C 0012886C 80 9E 01 08 */ lwz r4, 0x108(r30) +/* 8012B910 00128870 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8012B914 00128874 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 8012B918 00128878 7C 84 02 14 */ add r4, r4, r0 +/* 8012B91C 0012887C D0 21 01 AC */ stfs f1, 0x1ac(r1) +/* 8012B920 00128880 81 01 01 A8 */ lwz r8, 0x1a8(r1) +/* 8012B924 00128884 D0 44 00 04 */ stfs f2, 4(r4) +/* 8012B928 00128888 80 E1 01 AC */ lwz r7, 0x1ac(r1) +/* 8012B92C 0012888C D0 01 01 B0 */ stfs f0, 0x1b0(r1) +/* 8012B930 00128890 91 04 00 08 */ stw r8, 8(r4) +/* 8012B934 00128894 80 C1 01 B0 */ lwz r6, 0x1b0(r1) +/* 8012B938 00128898 90 E4 00 0C */ stw r7, 0xc(r4) +/* 8012B93C 0012889C 90 C4 00 10 */ stw r6, 0x10(r4) +/* 8012B940 001288A0 80 9A 00 10 */ lwz r4, 0x10(r26) +/* 8012B944 001288A4 80 BE 01 08 */ lwz r5, 0x108(r30) +/* 8012B948 001288A8 88 04 03 40 */ lbz r0, 0x340(r4) +/* 8012B94C 001288AC D0 41 01 A4 */ stfs f2, 0x1a4(r1) +/* 8012B950 001288B0 54 04 08 3C */ slwi r4, r0, 1 +/* 8012B954 001288B4 38 04 00 01 */ addi r0, r4, 1 +/* 8012B958 001288B8 91 01 00 10 */ stw r8, 0x10(r1) +/* 8012B95C 001288BC 7C 1C 00 AE */ lbzx r0, r28, r0 +/* 8012B960 001288C0 90 E1 00 14 */ stw r7, 0x14(r1) +/* 8012B964 001288C4 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a +/* 8012B968 001288C8 7C 85 02 14 */ add r4, r5, r0 +/* 8012B96C 001288CC 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8012B970 001288D0 D0 44 00 04 */ stfs f2, 4(r4) +/* 8012B974 001288D4 91 04 00 08 */ stw r8, 8(r4) +/* 8012B978 001288D8 90 E4 00 0C */ stw r7, 0xc(r4) +/* 8012B97C 001288DC 90 C4 00 10 */ stw r6, 0x10(r4) +/* 8012B980 001288E0 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8012B984 001288E4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8012B988 001288E8 98 1F 02 20 */ stb r0, 0x220(r31) +lbl_8012B98C: +/* 8012B98C 001288EC BB 21 02 74 */ lmw r25, 0x274(r1) +/* 8012B990 001288F0 80 01 02 94 */ lwz r0, 0x294(r1) +/* 8012B994 001288F4 7C 08 03 A6 */ mtlr r0 +/* 8012B998 001288F8 38 21 02 90 */ addi r1, r1, 0x290 +/* 8012B99C 001288FC 4E 80 00 20 */ blr + +.global GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId +GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId: +/* 8012B9A0 00128900 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8012B9A4 00128904 88 05 00 00 */ lbz r0, 0(r5) +/* 8012B9A8 00128908 38 A0 00 00 */ li r5, 0 +/* 8012B9AC 0012890C 81 24 00 00 */ lwz r9, 0(r4) +/* 8012B9B0 00128910 54 04 08 3C */ slwi r4, r0, 1 +/* 8012B9B4 00128914 88 0D 8A 94 */ lbz r0, lbl_805A7654@sda21(r13) +/* 8012B9B8 00128918 7C C9 22 14 */ add r6, r9, r4 +/* 8012B9BC 0012891C 88 8D 8A 95 */ lbz r4, lbl_805A7655@sda21(r13) +/* 8012B9C0 00128920 88 C6 00 09 */ lbz r6, 9(r6) +/* 8012B9C4 00128924 7C 00 07 74 */ extsb r0, r0 +/* 8012B9C8 00128928 80 E9 00 D0 */ lwz r7, 0xd0(r9) +/* 8012B9CC 0012892C 7C 88 07 74 */ extsb r8, r4 +/* 8012B9D0 00128930 54 C4 2C F4 */ rlwinm r4, r6, 5, 0x13, 0x1a +/* 8012B9D4 00128934 7C C7 22 14 */ add r6, r7, r4 +/* 8012B9D8 00128938 89 46 00 00 */ lbz r10, 0(r6) +/* 8012B9DC 0012893C 55 44 0D FC */ rlwinm r4, r10, 1, 0x17, 0x1e +/* 8012B9E0 00128940 7C E9 22 14 */ add r7, r9, r4 +/* 8012B9E4 00128944 88 87 00 08 */ lbz r4, 8(r7) +/* 8012B9E8 00128948 7C 84 07 74 */ extsb r4, r4 +/* 8012B9EC 0012894C 7C 04 00 00 */ cmpw r4, r0 +/* 8012B9F0 00128950 40 82 00 14 */ bne lbl_8012BA04 +/* 8012B9F4 00128954 88 07 00 09 */ lbz r0, 9(r7) +/* 8012B9F8 00128958 7C 00 07 74 */ extsb r0, r0 +/* 8012B9FC 0012895C 7C 00 40 00 */ cmpw r0, r8 +/* 8012BA00 00128960 41 82 00 08 */ beq lbl_8012BA08 +lbl_8012BA04: +/* 8012BA04 00128964 38 A0 00 01 */ li r5, 1 +lbl_8012BA08: +/* 8012BA08 00128968 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 8012BA0C 0012896C 40 82 00 0C */ bne lbl_8012BA18 +/* 8012BA10 00128970 38 E6 00 04 */ addi r7, r6, 4 +/* 8012BA14 00128974 48 00 00 54 */ b lbl_8012BA68 +lbl_8012BA18: +/* 8012BA18 00128978 55 40 0D FC */ rlwinm r0, r10, 1, 0x17, 0x1e +/* 8012BA1C 0012897C 80 A9 00 D0 */ lwz r5, 0xd0(r9) +/* 8012BA20 00128980 7C 89 02 14 */ add r4, r9, r0 +/* 8012BA24 00128984 C0 A6 00 08 */ lfs f5, 8(r6) +/* 8012BA28 00128988 88 04 00 09 */ lbz r0, 9(r4) +/* 8012BA2C 0012898C 38 E1 00 08 */ addi r7, r1, 8 +/* 8012BA30 00128990 C0 66 00 0C */ lfs f3, 0xc(r6) +/* 8012BA34 00128994 54 04 2C F4 */ rlwinm r4, r0, 5, 0x13, 0x1a +/* 8012BA38 00128998 C0 26 00 04 */ lfs f1, 4(r6) +/* 8012BA3C 0012899C 38 84 00 04 */ addi r4, r4, 4 +/* 8012BA40 001289A0 7C 85 22 14 */ add r4, r5, r4 +/* 8012BA44 001289A4 C0 84 00 04 */ lfs f4, 4(r4) +/* 8012BA48 001289A8 C0 44 00 08 */ lfs f2, 8(r4) +/* 8012BA4C 001289AC C0 04 00 00 */ lfs f0, 0(r4) +/* 8012BA50 001289B0 EC 85 20 28 */ fsubs f4, f5, f4 +/* 8012BA54 001289B4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8012BA58 001289B8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012BA5C 001289BC D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8012BA60 001289C0 D0 01 00 08 */ stfs f0, 8(r1) +/* 8012BA64 001289C4 D0 41 00 10 */ stfs f2, 0x10(r1) +lbl_8012BA68: +/* 8012BA68 001289C8 C0 07 00 00 */ lfs f0, 0(r7) +/* 8012BA6C 001289CC D0 03 00 00 */ stfs f0, 0(r3) +/* 8012BA70 001289D0 C0 07 00 04 */ lfs f0, 4(r7) +/* 8012BA74 001289D4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8012BA78 001289D8 C0 07 00 08 */ lfs f0, 8(r7) +/* 8012BA7C 001289DC D0 03 00 08 */ stfs f0, 8(r3) +/* 8012BA80 001289E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8012BA84 001289E4 4E 80 00 20 */ blr + +.global Update__14CPirateRagDollFR13CStateManagerf +Update__14CPirateRagDollFR13CStateManagerf: +/* 8012BA88 001289E8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8012BA8C 001289EC 7C 08 02 A6 */ mflr r0 +/* 8012BA90 001289F0 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8012BA94 001289F4 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8012BA98 001289F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8012BA9C 001289FC DB C1 00 90 */ stfd f30, 0x90(r1) +/* 8012BAA0 00128A00 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 8012BAA4 00128A04 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 8012BAA8 00128A08 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 8012BAAC 00128A0C BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 8012BAB0 00128A10 7C 7E 1B 78 */ mr r30, r3 +/* 8012BAB4 00128A14 88 63 00 68 */ lbz r3, 0x68(r3) +/* 8012BAB8 00128A18 FF A0 08 90 */ fmr f29, f1 +/* 8012BABC 00128A1C 7C 9F 23 78 */ mr r31, r4 +/* 8012BAC0 00128A20 FF C0 10 90 */ fmr f30, f2 +/* 8012BAC4 00128A24 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8012BAC8 00128A28 41 82 00 0C */ beq lbl_8012BAD4 +/* 8012BACC 00128A2C 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8012BAD0 00128A30 41 82 06 88 */ beq lbl_8012C158 +lbl_8012BAD4: +/* 8012BAD4 00128A34 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8012BAD8 00128A38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8012BADC 00128A3C A0 63 07 B4 */ lhz r3, 0x7b4(r3) +/* 8012BAE0 00128A40 7C 03 00 40 */ cmplw r3, r0 +/* 8012BAE4 00128A44 41 82 01 70 */ beq lbl_8012BC54 +/* 8012BAE8 00128A48 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8012BAEC 00128A4C C0 02 98 84 */ lfs f0, lbl_805AB5A4@sda21(r2) +/* 8012BAF0 00128A50 C0 43 00 8C */ lfs f2, 0x8c(r3) +/* 8012BAF4 00128A54 C0 23 01 4C */ lfs f1, 0x14c(r3) +/* 8012BAF8 00128A58 EC 42 08 28 */ fsubs f2, f2, f1 +/* 8012BAFC 00128A5C EC 22 00 B2 */ fmuls f1, f2, f2 +/* 8012BB00 00128A60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012BB04 00128A64 40 81 00 7C */ ble lbl_8012BB80 +/* 8012BB08 00128A68 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012BB0C 00128A6C C0 22 98 08 */ lfs f1, lbl_805AB528@sda21(r2) +/* 8012BB10 00128A70 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8012BB14 00128A74 40 81 00 10 */ ble lbl_8012BB24 +/* 8012BB18 00128A78 C0 02 97 F0 */ lfs f0, lbl_805AB510@sda21(r2) +/* 8012BB1C 00128A7C EC 02 00 28 */ fsubs f0, f2, f0 +/* 8012BB20 00128A80 48 00 00 0C */ b lbl_8012BB2C +lbl_8012BB24: +/* 8012BB24 00128A84 C0 02 97 F0 */ lfs f0, lbl_805AB510@sda21(r2) +/* 8012BB28 00128A88 EC 00 10 2A */ fadds f0, f0, f2 +lbl_8012BB2C: +/* 8012BB2C 00128A8C C0 62 97 BC */ lfs f3, lbl_805AB4DC@sda21(r2) +/* 8012BB30 00128A90 EC 81 00 32 */ fmuls f4, f1, f0 +/* 8012BB34 00128A94 C0 03 00 84 */ lfs f0, 0x84(r3) +/* 8012BB38 00128A98 C0 43 00 88 */ lfs f2, 0x88(r3) +/* 8012BB3C 00128A9C C0 23 00 8C */ lfs f1, 0x8c(r3) +/* 8012BB40 00128AA0 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8012BB44 00128AA4 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8012BB48 00128AA8 EC 21 20 28 */ fsubs f1, f1, f4 +/* 8012BB4C 00128AAC D0 03 00 84 */ stfs f0, 0x84(r3) +/* 8012BB50 00128AB0 D0 43 00 88 */ stfs f2, 0x88(r3) +/* 8012BB54 00128AB4 D0 23 00 8C */ stfs f1, 0x8c(r3) +/* 8012BB58 00128AB8 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8012BB5C 00128ABC C0 03 01 44 */ lfs f0, 0x144(r3) +/* 8012BB60 00128AC0 C0 43 01 48 */ lfs f2, 0x148(r3) +/* 8012BB64 00128AC4 C0 23 01 4C */ lfs f1, 0x14c(r3) +/* 8012BB68 00128AC8 EC 00 18 2A */ fadds f0, f0, f3 +/* 8012BB6C 00128ACC EC 42 18 2A */ fadds f2, f2, f3 +/* 8012BB70 00128AD0 EC 21 20 2A */ fadds f1, f1, f4 +/* 8012BB74 00128AD4 D0 03 01 44 */ stfs f0, 0x144(r3) +/* 8012BB78 00128AD8 D0 43 01 48 */ stfs f2, 0x148(r3) +/* 8012BB7C 00128ADC D0 23 01 4C */ stfs f1, 0x14c(r3) +lbl_8012BB80: +/* 8012BB80 00128AE0 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8012BB84 00128AE4 C0 62 97 D0 */ lfs f3, lbl_805AB4F0@sda21(r2) +/* 8012BB88 00128AE8 C0 43 02 0C */ lfs f2, 0x20c(r3) +/* 8012BB8C 00128AEC C0 03 02 CC */ lfs f0, 0x2cc(r3) +/* 8012BB90 00128AF0 C0 23 00 0C */ lfs f1, 0xc(r3) +/* 8012BB94 00128AF4 EC 42 00 2A */ fadds f2, f2, f0 +/* 8012BB98 00128AF8 C0 02 98 84 */ lfs f0, lbl_805AB5A4@sda21(r2) +/* 8012BB9C 00128AFC EC 43 08 BC */ fnmsubs f2, f3, f2, f1 +/* 8012BBA0 00128B00 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 8012BBA4 00128B04 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012BBA8 00128B08 40 81 00 AC */ ble lbl_8012BC54 +/* 8012BBAC 00128B0C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012BBB0 00128B10 C0 22 98 08 */ lfs f1, lbl_805AB528@sda21(r2) +/* 8012BBB4 00128B14 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8012BBB8 00128B18 40 81 00 10 */ ble lbl_8012BBC8 +/* 8012BBBC 00128B1C C0 02 97 F0 */ lfs f0, lbl_805AB510@sda21(r2) +/* 8012BBC0 00128B20 EC 02 00 28 */ fsubs f0, f2, f0 +/* 8012BBC4 00128B24 48 00 00 0C */ b lbl_8012BBD0 +lbl_8012BBC8: +/* 8012BBC8 00128B28 C0 02 97 F0 */ lfs f0, lbl_805AB510@sda21(r2) +/* 8012BBCC 00128B2C EC 00 10 2A */ fadds f0, f0, f2 +lbl_8012BBD0: +/* 8012BBD0 00128B30 C0 62 97 BC */ lfs f3, lbl_805AB4DC@sda21(r2) +/* 8012BBD4 00128B34 EC A1 00 32 */ fmuls f5, f1, f0 +/* 8012BBD8 00128B38 C0 03 00 04 */ lfs f0, 4(r3) +/* 8012BBDC 00128B3C C0 83 00 08 */ lfs f4, 8(r3) +/* 8012BBE0 00128B40 C0 43 00 0C */ lfs f2, 0xc(r3) +/* 8012BBE4 00128B44 EC 20 18 28 */ fsubs f1, f0, f3 +/* 8012BBE8 00128B48 EC 84 18 28 */ fsubs f4, f4, f3 +/* 8012BBEC 00128B4C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 8012BBF0 00128B50 EC 42 28 28 */ fsubs f2, f2, f5 +/* 8012BBF4 00128B54 D0 23 00 04 */ stfs f1, 4(r3) +/* 8012BBF8 00128B58 EC A0 01 72 */ fmuls f5, f0, f5 +/* 8012BBFC 00128B5C D0 83 00 08 */ stfs f4, 8(r3) +/* 8012BC00 00128B60 D0 43 00 0C */ stfs f2, 0xc(r3) +/* 8012BC04 00128B64 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8012BC08 00128B68 C0 03 02 04 */ lfs f0, 0x204(r3) +/* 8012BC0C 00128B6C C0 43 02 08 */ lfs f2, 0x208(r3) +/* 8012BC10 00128B70 C0 23 02 0C */ lfs f1, 0x20c(r3) +/* 8012BC14 00128B74 EC 00 18 2A */ fadds f0, f0, f3 +/* 8012BC18 00128B78 EC 42 18 2A */ fadds f2, f2, f3 +/* 8012BC1C 00128B7C EC 21 28 2A */ fadds f1, f1, f5 +/* 8012BC20 00128B80 D0 03 02 04 */ stfs f0, 0x204(r3) +/* 8012BC24 00128B84 D0 43 02 08 */ stfs f2, 0x208(r3) +/* 8012BC28 00128B88 D0 23 02 0C */ stfs f1, 0x20c(r3) +/* 8012BC2C 00128B8C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8012BC30 00128B90 C0 03 02 C4 */ lfs f0, 0x2c4(r3) +/* 8012BC34 00128B94 C0 43 02 C8 */ lfs f2, 0x2c8(r3) +/* 8012BC38 00128B98 C0 23 02 CC */ lfs f1, 0x2cc(r3) +/* 8012BC3C 00128B9C EC 00 18 2A */ fadds f0, f0, f3 +/* 8012BC40 00128BA0 EC 42 18 2A */ fadds f2, f2, f3 +/* 8012BC44 00128BA4 EC 21 28 2A */ fadds f1, f1, f5 +/* 8012BC48 00128BA8 D0 03 02 C4 */ stfs f0, 0x2c4(r3) +/* 8012BC4C 00128BAC D0 43 02 C8 */ stfs f2, 0x2c8(r3) +/* 8012BC50 00128BB0 D0 23 02 CC */ stfs f1, 0x2cc(r3) +lbl_8012BC54: +/* 8012BC54 00128BB4 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 8012BC58 00128BB8 3B 81 00 64 */ addi r28, r1, 0x64 +/* 8012BC5C 00128BBC C0 62 97 F0 */ lfs f3, lbl_805AB510@sda21(r2) +/* 8012BC60 00128BC0 38 61 00 34 */ addi r3, r1, 0x34 +/* 8012BC64 00128BC4 C0 45 02 08 */ lfs f2, 0x208(r5) +/* 8012BC68 00128BC8 38 81 00 30 */ addi r4, r1, 0x30 +/* 8012BC6C 00128BCC C0 25 02 C8 */ lfs f1, 0x2c8(r5) +/* 8012BC70 00128BD0 C0 05 02 0C */ lfs f0, 0x20c(r5) +/* 8012BC74 00128BD4 ED 43 00 B2 */ fmuls f10, f3, f2 +/* 8012BC78 00128BD8 C0 A5 02 CC */ lfs f5, 0x2cc(r5) +/* 8012BC7C 00128BDC ED 23 00 72 */ fmuls f9, f3, f1 +/* 8012BC80 00128BE0 C0 25 02 04 */ lfs f1, 0x204(r5) +/* 8012BC84 00128BE4 EC C3 00 32 */ fmuls f6, f3, f0 +/* 8012BC88 00128BE8 C0 05 02 C4 */ lfs f0, 0x2c4(r5) +/* 8012BC8C 00128BEC EC 83 01 72 */ fmuls f4, f3, f5 +/* 8012BC90 00128BF0 C1 02 97 D0 */ lfs f8, lbl_805AB4F0@sda21(r2) +/* 8012BC94 00128BF4 C0 E5 00 08 */ lfs f7, 8(r5) +/* 8012BC98 00128BF8 EC 43 00 72 */ fmuls f2, f3, f1 +/* 8012BC9C 00128BFC EC 23 00 32 */ fmuls f1, f3, f0 +/* 8012BCA0 00128C00 C0 65 00 0C */ lfs f3, 0xc(r5) +/* 8012BCA4 00128C04 C0 05 00 04 */ lfs f0, 4(r5) +/* 8012BCA8 00128C08 ED 2A 48 2A */ fadds f9, f10, f9 +/* 8012BCAC 00128C0C EC E8 01 F2 */ fmuls f7, f8, f7 +/* 8012BCB0 00128C10 EC 86 20 2A */ fadds f4, f6, f4 +/* 8012BCB4 00128C14 EC 68 00 F2 */ fmuls f3, f8, f3 +/* 8012BCB8 00128C18 EC C9 38 2A */ fadds f6, f9, f7 +/* 8012BCBC 00128C1C EC 22 08 2A */ fadds f1, f2, f1 +/* 8012BCC0 00128C20 EC 08 00 32 */ fmuls f0, f8, f0 +/* 8012BCC4 00128C24 EC 44 18 2A */ fadds f2, f4, f3 +/* 8012BCC8 00128C28 D0 C1 00 60 */ stfs f6, 0x60(r1) +/* 8012BCCC 00128C2C EC 01 00 2A */ fadds f0, f1, f0 +/* 8012BCD0 00128C30 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8012BCD4 00128C34 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8012BCD8 00128C38 C0 05 02 D0 */ lfs f0, 0x2d0(r5) +/* 8012BCDC 00128C3C EC 05 00 28 */ fsubs f0, f5, f0 +/* 8012BCE0 00128C40 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8012BCE4 00128C44 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 8012BCE8 00128C48 C0 25 02 0C */ lfs f1, 0x20c(r5) +/* 8012BCEC 00128C4C C0 05 02 10 */ lfs f0, 0x210(r5) +/* 8012BCF0 00128C50 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012BCF4 00128C54 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8012BCF8 00128C58 4B F5 20 E9 */ bl "Min__5CMathFRCfRCf" +/* 8012BCFC 00128C5C C0 03 00 00 */ lfs f0, 0(r3) +/* 8012BD00 00128C60 7F 84 E3 78 */ mr r4, r28 +/* 8012BD04 00128C64 38 61 00 2C */ addi r3, r1, 0x2c +/* 8012BD08 00128C68 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8012BD0C 00128C6C 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 8012BD10 00128C70 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 8012BD14 00128C74 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8012BD18 00128C78 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012BD1C 00128C7C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8012BD20 00128C80 4B F5 20 C1 */ bl "Min__5CMathFRCfRCf" +/* 8012BD24 00128C84 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) +/* 8012BD28 00128C88 C0 23 00 00 */ lfs f1, 0(r3) +/* 8012BD2C 00128C8C EC 00 F0 2A */ fadds f0, f0, f30 +/* 8012BD30 00128C90 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 8012BD34 00128C94 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012BD38 00128C98 40 80 00 2C */ bge lbl_8012BD64 +/* 8012BD3C 00128C9C C0 1E 00 84 */ lfs f0, 0x84(r30) +/* 8012BD40 00128CA0 C0 22 98 18 */ lfs f1, lbl_805AB538@sda21(r2) +/* 8012BD44 00128CA4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8012BD48 00128CA8 D0 1E 00 84 */ stfs f0, 0x84(r30) +/* 8012BD4C 00128CAC C0 1E 00 88 */ lfs f0, 0x88(r30) +/* 8012BD50 00128CB0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8012BD54 00128CB4 D0 1E 00 88 */ stfs f0, 0x88(r30) +/* 8012BD58 00128CB8 C0 1E 00 8C */ lfs f0, 0x8c(r30) +/* 8012BD5C 00128CBC EC 00 00 72 */ fmuls f0, f0, f1 +/* 8012BD60 00128CC0 D0 1E 00 8C */ stfs f0, 0x8c(r30) +lbl_8012BD64: +/* 8012BD64 00128CC4 80 9E 00 6C */ lwz r4, 0x6c(r30) +/* 8012BD68 00128CC8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8012BD6C 00128CCC 80 DE 00 10 */ lwz r6, 0x10(r30) +/* 8012BD70 00128CD0 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8012BD74 00128CD4 C0 62 97 D8 */ lfs f3, lbl_805AB4F8@sda21(r2) +/* 8012BD78 00128CD8 FC 20 E8 90 */ fmr f1, f29 +/* 8012BD7C 00128CDC C0 04 00 E8 */ lfs f0, 0xe8(r4) +/* 8012BD80 00128CE0 FC 40 F0 90 */ fmr f2, f30 +/* 8012BD84 00128CE4 C0 C2 98 88 */ lfs f6, lbl_805AB5A8@sda21(r2) +/* 8012BD88 00128CE8 7F C3 F3 78 */ mr r3, r30 +/* 8012BD8C 00128CEC EC E3 00 24 */ fdivs f7, f3, f0 +/* 8012BD90 00128CF0 C0 BE 00 84 */ lfs f5, 0x84(r30) +/* 8012BD94 00128CF4 7F E4 FB 78 */ mr r4, r31 +/* 8012BD98 00128CF8 C0 9E 00 88 */ lfs f4, 0x88(r30) +/* 8012BD9C 00128CFC C0 7E 00 8C */ lfs f3, 0x8c(r30) +/* 8012BDA0 00128D00 C0 06 02 E0 */ lfs f0, 0x2e0(r6) +/* 8012BDA4 00128D04 EC A6 01 72 */ fmuls f5, f6, f5 +/* 8012BDA8 00128D08 EC 86 01 32 */ fmuls f4, f6, f4 +/* 8012BDAC 00128D0C EC 66 00 F2 */ fmuls f3, f6, f3 +/* 8012BDB0 00128D10 EC A7 01 72 */ fmuls f5, f7, f5 +/* 8012BDB4 00128D14 EC 87 01 32 */ fmuls f4, f7, f4 +/* 8012BDB8 00128D18 EC 67 00 F2 */ fmuls f3, f7, f3 +/* 8012BDBC 00128D1C EC 00 28 2A */ fadds f0, f0, f5 +/* 8012BDC0 00128D20 D0 06 02 E0 */ stfs f0, 0x2e0(r6) +/* 8012BDC4 00128D24 C0 06 02 E4 */ lfs f0, 0x2e4(r6) +/* 8012BDC8 00128D28 EC 00 20 2A */ fadds f0, f0, f4 +/* 8012BDCC 00128D2C D0 06 02 E4 */ stfs f0, 0x2e4(r6) +/* 8012BDD0 00128D30 C0 06 02 E8 */ lfs f0, 0x2e8(r6) +/* 8012BDD4 00128D34 EC 00 18 2A */ fadds f0, f0, f3 +/* 8012BDD8 00128D38 D0 06 02 E8 */ stfs f0, 0x2e8(r6) +/* 8012BDDC 00128D3C 80 DE 00 10 */ lwz r6, 0x10(r30) +/* 8012BDE0 00128D40 C0 06 02 20 */ lfs f0, 0x220(r6) +/* 8012BDE4 00128D44 EC 00 28 2A */ fadds f0, f0, f5 +/* 8012BDE8 00128D48 D0 06 02 20 */ stfs f0, 0x220(r6) +/* 8012BDEC 00128D4C C0 06 02 24 */ lfs f0, 0x224(r6) +/* 8012BDF0 00128D50 EC 00 20 2A */ fadds f0, f0, f4 +/* 8012BDF4 00128D54 D0 06 02 24 */ stfs f0, 0x224(r6) +/* 8012BDF8 00128D58 C0 06 02 28 */ lfs f0, 0x228(r6) +/* 8012BDFC 00128D5C EC 00 18 2A */ fadds f0, f0, f3 +/* 8012BE00 00128D60 D0 06 02 28 */ stfs f0, 0x228(r6) +/* 8012BE04 00128D64 80 DE 00 10 */ lwz r6, 0x10(r30) +/* 8012BE08 00128D68 C0 06 00 20 */ lfs f0, 0x20(r6) +/* 8012BE0C 00128D6C EC 00 28 2A */ fadds f0, f0, f5 +/* 8012BE10 00128D70 D0 06 00 20 */ stfs f0, 0x20(r6) +/* 8012BE14 00128D74 C0 06 00 24 */ lfs f0, 0x24(r6) +/* 8012BE18 00128D78 EC 00 20 2A */ fadds f0, f0, f4 +/* 8012BE1C 00128D7C D0 06 00 24 */ stfs f0, 0x24(r6) +/* 8012BE20 00128D80 C0 06 00 28 */ lfs f0, 0x28(r6) +/* 8012BE24 00128D84 EC 00 18 2A */ fadds f0, f0, f3 +/* 8012BE28 00128D88 D0 06 00 28 */ stfs f0, 0x28(r6) +/* 8012BE2C 00128D8C C0 05 00 00 */ lfs f0, 0(r5) +/* 8012BE30 00128D90 D0 1E 00 84 */ stfs f0, 0x84(r30) +/* 8012BE34 00128D94 C0 05 00 04 */ lfs f0, 4(r5) +/* 8012BE38 00128D98 D0 1E 00 88 */ stfs f0, 0x88(r30) +/* 8012BE3C 00128D9C C0 05 00 08 */ lfs f0, 8(r5) +/* 8012BE40 00128DA0 D0 1E 00 8C */ stfs f0, 0x8c(r30) +/* 8012BE44 00128DA4 48 0E 15 91 */ bl Update__8CRagDollFR13CStateManagerff +/* 8012BE48 00128DA8 3B BE 00 94 */ addi r29, r30, 0x94 +/* 8012BE4C 00128DAC 3B 9E 00 A0 */ addi r28, r30, 0xa0 +/* 8012BE50 00128DB0 3B 60 00 00 */ li r27, 0 +/* 8012BE54 00128DB4 48 00 00 64 */ b lbl_8012BEB8 +lbl_8012BE58: +/* 8012BE58 00128DB8 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8012BE5C 00128DBC 7F E3 FB 78 */ mr r3, r31 +/* 8012BE60 00128DC0 38 81 00 14 */ addi r4, r1, 0x14 +/* 8012BE64 00128DC4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8012BE68 00128DC8 4B F2 07 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8012BE6C 00128DCC 28 03 00 00 */ cmplwi r3, 0 +/* 8012BE70 00128DD0 41 82 00 3C */ beq lbl_8012BEAC +/* 8012BE74 00128DD4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8012BE78 00128DD8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012BE7C 00128DDC 41 82 00 30 */ beq lbl_8012BEAC +/* 8012BE80 00128DE0 80 1C 00 00 */ lwz r0, 0(r28) +/* 8012BE84 00128DE4 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 8012BE88 00128DE8 54 04 30 32 */ slwi r4, r0, 6 +/* 8012BE8C 00128DEC C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8012BE90 00128DF0 38 84 00 04 */ addi r4, r4, 4 +/* 8012BE94 00128DF4 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8012BE98 00128DF8 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8012BE9C 00128DFC 7C 85 22 14 */ add r4, r5, r4 +/* 8012BEA0 00128E00 D0 04 00 00 */ stfs f0, 0(r4) +/* 8012BEA4 00128E04 D0 24 00 04 */ stfs f1, 4(r4) +/* 8012BEA8 00128E08 D0 44 00 08 */ stfs f2, 8(r4) +lbl_8012BEAC: +/* 8012BEAC 00128E0C 3B BD 00 02 */ addi r29, r29, 2 +/* 8012BEB0 00128E10 3B 9C 00 04 */ addi r28, r28, 4 +/* 8012BEB4 00128E14 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8012BEB8: +/* 8012BEB8 00128E18 80 1E 00 90 */ lwz r0, 0x90(r30) +/* 8012BEBC 00128E1C 7C 1B 00 00 */ cmpw r27, r0 +/* 8012BEC0 00128E20 41 80 FF 98 */ blt lbl_8012BE58 +/* 8012BEC4 00128E24 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 8012BEC8 00128E28 3B 81 00 58 */ addi r28, r1, 0x58 +/* 8012BECC 00128E2C C0 62 97 F0 */ lfs f3, lbl_805AB510@sda21(r2) +/* 8012BED0 00128E30 38 61 00 28 */ addi r3, r1, 0x28 +/* 8012BED4 00128E34 C0 45 02 08 */ lfs f2, 0x208(r5) +/* 8012BED8 00128E38 38 81 00 24 */ addi r4, r1, 0x24 +/* 8012BEDC 00128E3C C0 25 02 C8 */ lfs f1, 0x2c8(r5) +/* 8012BEE0 00128E40 C0 05 02 0C */ lfs f0, 0x20c(r5) +/* 8012BEE4 00128E44 ED 43 00 B2 */ fmuls f10, f3, f2 +/* 8012BEE8 00128E48 C0 A5 02 CC */ lfs f5, 0x2cc(r5) +/* 8012BEEC 00128E4C ED 23 00 72 */ fmuls f9, f3, f1 +/* 8012BEF0 00128E50 C0 25 02 04 */ lfs f1, 0x204(r5) +/* 8012BEF4 00128E54 EC C3 00 32 */ fmuls f6, f3, f0 +/* 8012BEF8 00128E58 C0 05 02 C4 */ lfs f0, 0x2c4(r5) +/* 8012BEFC 00128E5C EC 83 01 72 */ fmuls f4, f3, f5 +/* 8012BF00 00128E60 C1 02 97 D0 */ lfs f8, lbl_805AB4F0@sda21(r2) +/* 8012BF04 00128E64 C0 E5 00 08 */ lfs f7, 8(r5) +/* 8012BF08 00128E68 EC 43 00 72 */ fmuls f2, f3, f1 +/* 8012BF0C 00128E6C EC 23 00 32 */ fmuls f1, f3, f0 +/* 8012BF10 00128E70 C0 65 00 0C */ lfs f3, 0xc(r5) +/* 8012BF14 00128E74 C0 05 00 04 */ lfs f0, 4(r5) +/* 8012BF18 00128E78 ED 2A 48 2A */ fadds f9, f10, f9 +/* 8012BF1C 00128E7C EC E8 01 F2 */ fmuls f7, f8, f7 +/* 8012BF20 00128E80 EC 86 20 2A */ fadds f4, f6, f4 +/* 8012BF24 00128E84 EC 68 00 F2 */ fmuls f3, f8, f3 +/* 8012BF28 00128E88 EC C9 38 2A */ fadds f6, f9, f7 +/* 8012BF2C 00128E8C EC 22 08 2A */ fadds f1, f2, f1 +/* 8012BF30 00128E90 EC 08 00 32 */ fmuls f0, f8, f0 +/* 8012BF34 00128E94 EC 44 18 2A */ fadds f2, f4, f3 +/* 8012BF38 00128E98 D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 8012BF3C 00128E9C EC 01 00 2A */ fadds f0, f1, f0 +/* 8012BF40 00128EA0 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8012BF44 00128EA4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8012BF48 00128EA8 C0 05 02 D0 */ lfs f0, 0x2d0(r5) +/* 8012BF4C 00128EAC EC 05 00 28 */ fsubs f0, f5, f0 +/* 8012BF50 00128EB0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8012BF54 00128EB4 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 8012BF58 00128EB8 C0 25 02 0C */ lfs f1, 0x20c(r5) +/* 8012BF5C 00128EBC C0 05 02 10 */ lfs f0, 0x210(r5) +/* 8012BF60 00128EC0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012BF64 00128EC4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8012BF68 00128EC8 4B F5 1E 79 */ bl "Min__5CMathFRCfRCf" +/* 8012BF6C 00128ECC C0 03 00 00 */ lfs f0, 0(r3) +/* 8012BF70 00128ED0 7F 84 E3 78 */ mr r4, r28 +/* 8012BF74 00128ED4 38 61 00 20 */ addi r3, r1, 0x20 +/* 8012BF78 00128ED8 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8012BF7C 00128EDC 80 BE 00 10 */ lwz r5, 0x10(r30) +/* 8012BF80 00128EE0 C0 25 00 0C */ lfs f1, 0xc(r5) +/* 8012BF84 00128EE4 C0 05 00 10 */ lfs f0, 0x10(r5) +/* 8012BF88 00128EE8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012BF8C 00128EEC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8012BF90 00128EF0 4B F5 1E 51 */ bl "Min__5CMathFRCfRCf" +/* 8012BF94 00128EF4 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) +/* 8012BF98 00128EF8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8012BF9C 00128EFC C0 A3 00 00 */ lfs f5, 0(r3) +/* 8012BFA0 00128F00 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8012BFA4 00128F04 EC C0 E8 24 */ fdivs f6, f0, f29 +/* 8012BFA8 00128F08 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8012BFAC 00128F0C C0 81 00 54 */ lfs f4, 0x54(r1) +/* 8012BFB0 00128F10 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 8012BFB4 00128F14 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 8012BFB8 00128F18 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8012BFBC 00128F1C EC 64 18 28 */ fsubs f3, f4, f3 +/* 8012BFC0 00128F20 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 8012BFC4 00128F24 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012BFC8 00128F28 EC 45 10 28 */ fsubs f2, f5, f2 +/* 8012BFCC 00128F2C EC 66 00 F2 */ fmuls f3, f6, f3 +/* 8012BFD0 00128F30 EC 06 00 32 */ fmuls f0, f6, f0 +/* 8012BFD4 00128F34 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 8012BFD8 00128F38 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8012BFDC 00128F3C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8012BFE0 00128F40 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 8012BFE4 00128F44 83 BE 00 6C */ lwz r29, 0x6c(r30) +/* 8012BFE8 00128F48 38 7D 00 34 */ addi r3, r29, 0x34 +/* 8012BFEC 00128F4C 48 1E 6B 55 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8012BFF0 00128F50 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8012BFF4 00128F54 38 60 00 01 */ li r3, 1 +/* 8012BFF8 00128F58 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8012BFFC 00128F5C 38 81 00 50 */ addi r4, r1, 0x50 +/* 8012C000 00128F60 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8012C004 00128F64 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8012C008 00128F68 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8012C00C 00128F6C 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8012C010 00128F70 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 8012C014 00128F74 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8012C018 00128F78 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 8012C01C 00128F7C 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8012C020 00128F80 4B F2 6E 6D */ bl SetTranslation__6CActorFRC9CVector3f +/* 8012C024 00128F84 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8012C028 00128F88 38 81 00 44 */ addi r4, r1, 0x44 +/* 8012C02C 00128F8C 4B FE EC 75 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 8012C030 00128F90 C0 3E 00 74 */ lfs f1, 0x74(r30) +/* 8012C034 00128F94 C0 02 98 8C */ lfs f0, lbl_805AB5AC@sda21(r2) +/* 8012C038 00128F98 EC 21 E8 28 */ fsubs f1, f1, f29 +/* 8012C03C 00128F9C D0 3E 00 74 */ stfs f1, 0x74(r30) +/* 8012C040 00128FA0 C0 BE 00 54 */ lfs f5, 0x54(r30) +/* 8012C044 00128FA4 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 8012C048 00128FA8 40 81 01 38 */ ble lbl_8012C180 +/* 8012C04C 00128FAC C0 3E 00 74 */ lfs f1, 0x74(r30) +/* 8012C050 00128FB0 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012C054 00128FB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012C058 00128FB8 40 80 01 28 */ bge lbl_8012C180 +/* 8012C05C 00128FBC 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8012C060 00128FC0 88 1E 00 B0 */ lbz r0, 0xb0(r30) +/* 8012C064 00128FC4 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 8012C068 00128FC8 C0 1E 00 78 */ lfs f0, 0x78(r30) +/* 8012C06C 00128FCC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012C070 00128FD0 C0 63 00 50 */ lfs f3, 0x50(r3) +/* 8012C074 00128FD4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8012C078 00128FD8 C0 5E 00 7C */ lfs f2, 0x7c(r30) +/* 8012C07C 00128FDC C0 23 00 60 */ lfs f1, 0x60(r3) +/* 8012C080 00128FE0 C0 1E 00 80 */ lfs f0, 0x80(r30) +/* 8012C084 00128FE4 EC 63 10 28 */ fsubs f3, f3, f2 +/* 8012C088 00128FE8 EC 41 00 28 */ fsubs f2, f1, f0 +/* 8012C08C 00128FEC 40 82 00 1C */ bne lbl_8012C0A8 +/* 8012C090 00128FF0 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 8012C094 00128FF4 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) +/* 8012C098 00128FF8 EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 8012C09C 00128FFC EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8012C0A0 00129000 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012C0A4 00129004 40 81 00 DC */ ble lbl_8012C180 +lbl_8012C0A8: +/* 8012C0A8 00129008 C0 02 98 38 */ lfs f0, lbl_805AB558@sda21(r2) +/* 8012C0AC 0012900C 38 61 00 1C */ addi r3, r1, 0x1c +/* 8012C0B0 00129010 38 8D 8A 98 */ addi r4, r13, lbl_805A7658@sda21 +/* 8012C0B4 00129014 EC 00 01 72 */ fmuls f0, f0, f5 +/* 8012C0B8 00129018 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8012C0BC 0012901C 4B F5 1D 25 */ bl "Min__5CMathFRCfRCf" +/* 8012C0C0 00129020 80 9E 00 6C */ lwz r4, 0x6c(r30) +/* 8012C0C4 00129024 C3 E3 00 00 */ lfs f31, 0(r3) +/* 8012C0C8 00129028 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 8012C0CC 0012902C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8012C0D0 00129030 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8012C0D4 00129034 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8012C0D8 00129038 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8012C0DC 0012903C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8012C0E0 00129040 F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2 +/* 8012C0E4 00129044 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8012C0E8 00129048 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) +/* 8012C0EC 0012904C 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 8012C0F0 00129050 88 E1 00 10 */ lbz r7, 0x10(r1) +/* 8012C0F4 00129054 38 61 00 18 */ addi r3, r1, 0x18 +/* 8012C0F8 00129058 90 01 00 08 */ stw r0, 8(r1) +/* 8012C0FC 0012905C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8012C100 00129060 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) +/* 8012C104 00129064 39 00 00 01 */ li r8, 1 +/* 8012C108 00129068 A0 9E 00 70 */ lhz r4, 0x70(r30) +/* 8012C10C 0012906C 39 20 00 00 */ li r9, 0 +/* 8012C110 00129070 48 1B E0 A9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi +/* 8012C114 00129074 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 8012C118 00129078 48 1E 63 C5 */ bl Float__9CRandom16Fv +/* 8012C11C 0012907C C0 02 98 90 */ lfs f0, lbl_805AB5B0@sda21(r2) +/* 8012C120 00129080 38 60 00 00 */ li r3, 0 +/* 8012C124 00129084 EC 00 00 7A */ fmadds f0, f0, f1, f0 +/* 8012C128 00129088 D0 1E 00 74 */ stfs f0, 0x74(r30) +/* 8012C12C 0012908C 88 1E 00 B0 */ lbz r0, 0xb0(r30) +/* 8012C130 00129090 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8012C134 00129094 98 1E 00 B0 */ stb r0, 0xb0(r30) +/* 8012C138 00129098 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8012C13C 0012909C C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8012C140 001290A0 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8012C144 001290A4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8012C148 001290A8 D0 1E 00 78 */ stfs f0, 0x78(r30) +/* 8012C14C 001290AC D0 3E 00 7C */ stfs f1, 0x7c(r30) +/* 8012C150 001290B0 D0 5E 00 80 */ stfs f2, 0x80(r30) +/* 8012C154 001290B4 48 00 00 2C */ b lbl_8012C180 +lbl_8012C158: +/* 8012C158 001290B8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8012C15C 001290BC 80 9E 00 6C */ lwz r4, 0x6c(r30) +/* 8012C160 001290C0 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 8012C164 001290C4 D0 04 01 50 */ stfs f0, 0x150(r4) +/* 8012C168 001290C8 C0 03 00 04 */ lfs f0, 4(r3) +/* 8012C16C 001290CC D0 04 01 54 */ stfs f0, 0x154(r4) +/* 8012C170 001290D0 C0 03 00 08 */ lfs f0, 8(r3) +/* 8012C174 001290D4 D0 04 01 58 */ stfs f0, 0x158(r4) +/* 8012C178 001290D8 80 7E 00 6C */ lwz r3, 0x6c(r30) +/* 8012C17C 001290DC 4B FE F1 FD */ bl Stop__13CPhysicsActorFv +lbl_8012C180: +/* 8012C180 001290E0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8012C184 001290E4 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8012C188 001290E8 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 8012C18C 001290EC CB C1 00 90 */ lfd f30, 0x90(r1) +/* 8012C190 001290F0 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 8012C194 001290F4 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 8012C198 001290F8 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 8012C19C 001290FC 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8012C1A0 00129100 7C 08 03 A6 */ mtlr r0 +/* 8012C1A4 00129104 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8012C1A8 00129108 4E 80 00 20 */ blr + +.global Prime__14CPirateRagDollFR13CStateManagerRC12CTransform4fR10CModelData +Prime__14CPirateRagDollFR13CStateManagerRC12CTransform4fR10CModelData: +/* 8012C1AC 0012910C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8012C1B0 00129110 7C 08 02 A6 */ mflr r0 +/* 8012C1B4 00129114 90 01 00 44 */ stw r0, 0x44(r1) +/* 8012C1B8 00129118 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8012C1BC 0012911C 7C DF 33 78 */ mr r31, r6 +/* 8012C1C0 00129120 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8012C1C4 00129124 7C BE 2B 78 */ mr r30, r5 +/* 8012C1C8 00129128 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8012C1CC 0012912C 7C 9D 23 78 */ mr r29, r4 +/* 8012C1D0 00129130 93 81 00 30 */ stw r28, 0x30(r1) +/* 8012C1D4 00129134 7C 7C 1B 78 */ mr r28, r3 +/* 8012C1D8 00129138 80 63 00 6C */ lwz r3, 0x6c(r3) +/* 8012C1DC 0012913C 4B FE E7 E5 */ bl GetBaseBoundingBox__13CPhysicsActorCFv +/* 8012C1E0 00129140 7C 64 1B 78 */ mr r4, r3 +/* 8012C1E4 00129144 C0 22 97 D0 */ lfs f1, lbl_805AB4F0@sda21(r2) +/* 8012C1E8 00129148 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 8012C1EC 0012914C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8012C1F0 00129150 38 A1 00 08 */ addi r5, r1, 8 +/* 8012C1F4 00129154 D0 01 00 08 */ stfs f0, 8(r1) +/* 8012C1F8 00129158 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 8012C1FC 0012915C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8012C200 00129160 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 8012C204 00129164 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8012C208 00129168 C0 44 00 08 */ lfs f2, 8(r4) +/* 8012C20C 0012916C EC 00 10 28 */ fsubs f0, f0, f2 +/* 8012C210 00129170 EC 01 10 3A */ fmadds f0, f1, f0, f2 +/* 8012C214 00129174 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8012C218 00129178 48 20 C2 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8012C21C 0012917C 7C 64 1B 78 */ mr r4, r3 +/* 8012C220 00129180 80 7C 00 6C */ lwz r3, 0x6c(r28) +/* 8012C224 00129184 4B FE E4 35 */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox +/* 8012C228 00129188 7F 83 E3 78 */ mr r3, r28 +/* 8012C22C 0012918C 7F A4 EB 78 */ mr r4, r29 +/* 8012C230 00129190 7F C5 F3 78 */ mr r5, r30 +/* 8012C234 00129194 7F E6 FB 78 */ mr r6, r31 +/* 8012C238 00129198 48 0E 24 9D */ bl Prime__8CRagDollFR13CStateManagerRC12CTransform4fR10CModelData +/* 8012C23C 0012919C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8012C240 001291A0 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8012C244 001291A4 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8012C248 001291A8 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8012C24C 001291AC 83 81 00 30 */ lwz r28, 0x30(r1) +/* 8012C250 001291B0 7C 08 03 A6 */ mtlr r0 +/* 8012C254 001291B4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8012C258 001291B8 4E 80 00 20 */ blr + +.global __ct__14CPirateRagDollFR13CStateManagerP12CSpacePiratefUsUi +__ct__14CPirateRagDollFR13CStateManagerP12CSpacePiratefUsUi: +/* 8012C25C 001291BC 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8012C260 001291C0 7C 08 02 A6 */ mflr r0 +/* 8012C264 001291C4 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8012C268 001291C8 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8012C26C 001291CC F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8012C270 001291D0 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 8012C274 001291D4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 8012C278 001291D8 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8012C27C 001291DC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 8012C280 001291E0 BF 21 00 94 */ stmw r25, 0x94(r1) +/* 8012C284 001291E4 7C BB 2B 78 */ mr r27, r5 +/* 8012C288 001291E8 7C 7D 1B 78 */ mr r29, r3 +/* 8012C28C 001291EC 7F 63 DB 78 */ mr r3, r27 +/* 8012C290 001291F0 7C 9E 23 78 */ mr r30, r4 +/* 8012C294 001291F4 81 9B 00 00 */ lwz r12, 0(r27) +/* 8012C298 001291F8 7C DA 33 78 */ mr r26, r6 +/* 8012C29C 001291FC 7C F9 3B 78 */ mr r25, r7 +/* 8012C2A0 00129200 C3 A2 97 B4 */ lfs f29, lbl_805AB4D4@sda21(r2) +/* 8012C2A4 00129204 81 8C 02 BC */ lwz r12, 0x2bc(r12) +/* 8012C2A8 00129208 7D 89 03 A6 */ mtctr r12 +/* 8012C2AC 0012920C 4E 80 04 21 */ bctrl +/* 8012C2B0 00129210 FC 20 08 50 */ fneg f1, f1 +/* 8012C2B4 00129214 C0 62 98 7C */ lfs f3, lbl_805AB59C@sda21(r2) +/* 8012C2B8 00129218 FC 40 E8 50 */ fneg f2, f29 +/* 8012C2BC 0012921C 7F A3 EB 78 */ mr r3, r29 +/* 8012C2C0 00129220 7F 24 CB 78 */ mr r4, r25 +/* 8012C2C4 00129224 48 0E 26 0D */ bl __ct__8CRagDollFfffUi +/* 8012C2C8 00129228 3C 80 80 3E */ lis r4, lbl_803E0BE0@ha +/* 8012C2CC 0012922C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8012C2D0 00129230 38 04 0B E0 */ addi r0, r4, lbl_803E0BE0@l +/* 8012C2D4 00129234 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) +/* 8012C2D8 00129238 90 1D 00 00 */ stw r0, 0(r29) +/* 8012C2DC 0012923C 39 03 66 A0 */ addi r8, r3, skZero3f@l +/* 8012C2E0 00129240 38 00 00 00 */ li r0, 0 +/* 8012C2E4 00129244 38 60 00 01 */ li r3, 1 +/* 8012C2E8 00129248 93 7D 00 6C */ stw r27, 0x6c(r29) +/* 8012C2EC 0012924C 7F C7 F3 78 */ mr r7, r30 +/* 8012C2F0 00129250 38 80 00 13 */ li r4, 0x13 +/* 8012C2F4 00129254 38 A0 00 30 */ li r5, 0x30 +/* 8012C2F8 00129258 B3 5D 00 70 */ sth r26, 0x70(r29) +/* 8012C2FC 0012925C 38 C0 00 25 */ li r6, 0x25 +/* 8012C300 00129260 D0 1D 00 74 */ stfs f0, 0x74(r29) +/* 8012C304 00129264 C0 08 00 00 */ lfs f0, 0(r8) +/* 8012C308 00129268 D0 1D 00 78 */ stfs f0, 0x78(r29) +/* 8012C30C 0012926C C0 08 00 04 */ lfs f0, 4(r8) +/* 8012C310 00129270 D0 1D 00 7C */ stfs f0, 0x7c(r29) +/* 8012C314 00129274 C0 08 00 08 */ lfs f0, 8(r8) +/* 8012C318 00129278 D0 1D 00 80 */ stfs f0, 0x80(r29) +/* 8012C31C 0012927C C0 08 00 00 */ lfs f0, 0(r8) +/* 8012C320 00129280 D0 1D 00 84 */ stfs f0, 0x84(r29) +/* 8012C324 00129284 C0 08 00 04 */ lfs f0, 4(r8) +/* 8012C328 00129288 D0 1D 00 88 */ stfs f0, 0x88(r29) +/* 8012C32C 0012928C C0 08 00 08 */ lfs f0, 8(r8) +/* 8012C330 00129290 D0 1D 00 8C */ stfs f0, 0x8c(r29) +/* 8012C334 00129294 90 1D 00 90 */ stw r0, 0x90(r29) +/* 8012C338 00129298 90 1D 00 9C */ stw r0, 0x9c(r29) +/* 8012C33C 0012929C 88 1D 00 B0 */ lbz r0, 0xb0(r29) +/* 8012C340 001292A0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8012C344 001292A4 98 1D 00 B0 */ stb r0, 0xb0(r29) +/* 8012C348 001292A8 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8012C34C 001292AC 4B F2 7A A1 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8012C350 001292B0 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8012C354 001292B4 7F C4 F3 78 */ mr r4, r30 +/* 8012C358 001292B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8012C35C 001292BC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8012C360 001292C0 7D 89 03 A6 */ mtctr r12 +/* 8012C364 001292C4 4E 80 04 21 */ bctrl +/* 8012C368 001292C8 C0 02 98 68 */ lfs f0, lbl_805AB588@sda21(r2) +/* 8012C36C 001292CC 38 80 00 0E */ li r4, 0xe +/* 8012C370 001292D0 D0 03 00 00 */ stfs f0, 0(r3) +/* 8012C374 001292D4 38 7D 00 04 */ addi r3, r29, 4 +/* 8012C378 001292D8 48 00 07 4D */ bl "reserve__Q24rstl64vectorFi" +/* 8012C37C 001292DC 38 7D 00 14 */ addi r3, r29, 0x14 +/* 8012C380 001292E0 38 80 00 2F */ li r4, 0x2f +/* 8012C384 001292E4 48 00 08 C9 */ bl "reserve__Q24rstl72vectorFi" +/* 8012C388 001292E8 38 7D 00 24 */ addi r3, r29, 0x24 +/* 8012C38C 001292EC 38 80 00 04 */ li r4, 4 +/* 8012C390 001292F0 48 00 09 C5 */ bl "reserve__Q24rstl71vectorFi" +/* 8012C394 001292F4 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 8012C398 001292F8 3B FB 00 34 */ addi r31, r27, 0x34 +/* 8012C39C 001292FC C0 43 00 00 */ lfs f2, 0(r3) +/* 8012C3A0 00129300 C0 23 00 04 */ lfs f1, 4(r3) +/* 8012C3A4 00129304 C0 03 00 08 */ lfs f0, 8(r3) +/* 8012C3A8 00129308 83 83 00 10 */ lwz r28, 0x10(r3) +/* 8012C3AC 0012930C D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8012C3B0 00129310 7F 83 E3 78 */ mr r3, r28 +/* 8012C3B4 00129314 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 8012C3B8 00129318 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 8012C3BC 0012931C 4B F0 06 A5 */ bl BuildPose__9CAnimDataFv +/* 8012C3C0 00129320 7F 64 DB 78 */ mr r4, r27 +/* 8012C3C4 00129324 38 61 00 70 */ addi r3, r1, 0x70 +/* 8012C3C8 00129328 4B FE E5 65 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8012C3CC 0012932C 38 61 00 40 */ addi r3, r1, 0x40 +/* 8012C3D0 00129330 38 81 00 70 */ addi r4, r1, 0x70 +/* 8012C3D4 00129334 48 20 B2 39 */ bl GetCenterPoint__6CAABoxCFv +/* 8012C3D8 00129338 C0 41 00 40 */ lfs f2, 0x40(r1) +/* 8012C3DC 0012933C 3C 80 80 47 */ lis r4, lbl_8046C618@ha +/* 8012C3E0 00129340 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 8012C3E4 00129344 3C 60 80 3D */ lis r3, lbl_803CF438@ha +/* 8012C3E8 00129348 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8012C3EC 0012934C 3B 64 C6 18 */ addi r27, r4, lbl_8046C618@l +/* 8012C3F0 00129350 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8012C3F4 00129354 3B 43 F4 38 */ addi r26, r3, lbl_803CF438@l +/* 8012C3F8 00129358 C3 A1 00 54 */ lfs f29, 0x54(r1) +/* 8012C3FC 0012935C 3B 20 00 00 */ li r25, 0 +/* 8012C400 00129360 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 8012C404 00129364 C3 C1 00 50 */ lfs f30, 0x50(r1) +/* 8012C408 00129368 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 8012C40C 0012936C C3 E1 00 4C */ lfs f31, 0x4c(r1) +lbl_8012C410: +/* 8012C410 00129370 7F 84 E3 78 */ mr r4, r28 +/* 8012C414 00129374 7F 65 DB 78 */ mr r5, r27 +/* 8012C418 00129378 38 61 00 08 */ addi r3, r1, 8 +/* 8012C41C 0012937C 4B F0 24 1D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012C420 00129380 88 01 00 08 */ lbz r0, 8(r1) +/* 8012C424 00129384 38 7C 02 24 */ addi r3, r28, 0x224 +/* 8012C428 00129388 38 81 00 0C */ addi r4, r1, 0xc +/* 8012C42C 0012938C 98 01 00 0C */ stb r0, 0xc(r1) +/* 8012C430 00129390 48 23 CB 29 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId +/* 8012C434 00129394 C0 43 00 08 */ lfs f2, 8(r3) +/* 8012C438 00129398 7F E4 FB 78 */ mr r4, r31 +/* 8012C43C 0012939C C0 23 00 04 */ lfs f1, 4(r3) +/* 8012C440 001293A0 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8012C444 001293A4 C0 03 00 00 */ lfs f0, 0(r3) +/* 8012C448 001293A8 EC 5D 00 B2 */ fmuls f2, f29, f2 +/* 8012C44C 001293AC EC 3E 00 72 */ fmuls f1, f30, f1 +/* 8012C450 001293B0 38 61 00 34 */ addi r3, r1, 0x34 +/* 8012C454 001293B4 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 8012C458 001293B8 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8012C45C 001293BC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8012C460 001293C0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8012C464 001293C4 48 1E 66 85 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8012C468 001293C8 C0 1A 00 00 */ lfs f0, 0(r26) +/* 8012C46C 001293CC 7F A3 EB 78 */ mr r3, r29 +/* 8012C470 001293D0 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 8012C474 001293D4 38 81 00 0C */ addi r4, r1, 0xc +/* 8012C478 001293D8 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8012C47C 001293DC EC 20 07 72 */ fmuls f1, f0, f29 +/* 8012C480 001293E0 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8012C484 001293E4 38 A1 00 64 */ addi r5, r1, 0x64 +/* 8012C488 001293E8 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 8012C48C 001293EC 38 C1 00 58 */ addi r6, r1, 0x58 +/* 8012C490 001293F0 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 8012C494 001293F4 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8012C498 001293F8 48 0E 09 85 */ bl AddParticle__8CRagDollFRC6CSegIdRC9CVector3fRC9CVector3ff +/* 8012C49C 001293FC 3B 39 00 01 */ addi r25, r25, 1 +/* 8012C4A0 00129400 3B 5A 00 04 */ addi r26, r26, 4 +/* 8012C4A4 00129404 2C 19 00 0E */ cmpwi r25, 0xe +/* 8012C4A8 00129408 3B 7B 00 10 */ addi r27, r27, 0x10 +/* 8012C4AC 0012940C 41 80 FF 64 */ blt lbl_8012C410 +/* 8012C4B0 00129410 7F A3 EB 78 */ mr r3, r29 +/* 8012C4B4 00129414 7F C4 F3 78 */ mr r4, r30 +/* 8012C4B8 00129418 48 0E 23 6D */ bl SatisfyWorldConstraintsOnConstruction__8CRagDollFR13CStateManager +/* 8012C4BC 0012941C 7F A3 EB 78 */ mr r3, r29 +/* 8012C4C0 00129420 38 80 00 00 */ li r4, 0 +/* 8012C4C4 00129424 38 A0 00 01 */ li r5, 1 +/* 8012C4C8 00129428 48 0E 08 4D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C4CC 0012942C 7F A3 EB 78 */ mr r3, r29 +/* 8012C4D0 00129430 38 80 00 00 */ li r4, 0 +/* 8012C4D4 00129434 38 A0 00 02 */ li r5, 2 +/* 8012C4D8 00129438 48 0E 08 3D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C4DC 0012943C 7F A3 EB 78 */ mr r3, r29 +/* 8012C4E0 00129440 38 80 00 00 */ li r4, 0 +/* 8012C4E4 00129444 38 A0 00 08 */ li r5, 8 +/* 8012C4E8 00129448 48 0E 08 2D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C4EC 0012944C 7F A3 EB 78 */ mr r3, r29 +/* 8012C4F0 00129450 38 80 00 00 */ li r4, 0 +/* 8012C4F4 00129454 38 A0 00 0B */ li r5, 0xb +/* 8012C4F8 00129458 48 0E 08 1D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C4FC 0012945C 7F A3 EB 78 */ mr r3, r29 +/* 8012C500 00129460 38 80 00 00 */ li r4, 0 +/* 8012C504 00129464 38 A0 00 05 */ li r5, 5 +/* 8012C508 00129468 48 0E 08 0D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C50C 0012946C 7F A3 EB 78 */ mr r3, r29 +/* 8012C510 00129470 38 80 00 02 */ li r4, 2 +/* 8012C514 00129474 38 A0 00 03 */ li r5, 3 +/* 8012C518 00129478 48 0E 07 FD */ bl AddLengthConstraint__8CRagDollFii +/* 8012C51C 0012947C 7F A3 EB 78 */ mr r3, r29 +/* 8012C520 00129480 38 80 00 03 */ li r4, 3 +/* 8012C524 00129484 38 A0 00 04 */ li r5, 4 +/* 8012C528 00129488 48 0E 07 ED */ bl AddLengthConstraint__8CRagDollFii +/* 8012C52C 0012948C 7F A3 EB 78 */ mr r3, r29 +/* 8012C530 00129490 38 80 00 05 */ li r4, 5 +/* 8012C534 00129494 38 A0 00 06 */ li r5, 6 +/* 8012C538 00129498 48 0E 07 DD */ bl AddLengthConstraint__8CRagDollFii +/* 8012C53C 0012949C 7F A3 EB 78 */ mr r3, r29 +/* 8012C540 001294A0 38 80 00 06 */ li r4, 6 +/* 8012C544 001294A4 38 A0 00 07 */ li r5, 7 +/* 8012C548 001294A8 48 0E 07 CD */ bl AddLengthConstraint__8CRagDollFii +/* 8012C54C 001294AC 7F A3 EB 78 */ mr r3, r29 +/* 8012C550 001294B0 38 80 00 02 */ li r4, 2 +/* 8012C554 001294B4 38 A0 00 05 */ li r5, 5 +/* 8012C558 001294B8 48 0E 07 BD */ bl AddLengthConstraint__8CRagDollFii +/* 8012C55C 001294BC 7F A3 EB 78 */ mr r3, r29 +/* 8012C560 001294C0 38 80 00 02 */ li r4, 2 +/* 8012C564 001294C4 38 A0 00 08 */ li r5, 8 +/* 8012C568 001294C8 48 0E 07 AD */ bl AddLengthConstraint__8CRagDollFii +/* 8012C56C 001294CC 7F A3 EB 78 */ mr r3, r29 +/* 8012C570 001294D0 38 80 00 02 */ li r4, 2 +/* 8012C574 001294D4 38 A0 00 0B */ li r5, 0xb +/* 8012C578 001294D8 48 0E 07 9D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C57C 001294DC 7F A3 EB 78 */ mr r3, r29 +/* 8012C580 001294E0 38 80 00 05 */ li r4, 5 +/* 8012C584 001294E4 38 A0 00 08 */ li r5, 8 +/* 8012C588 001294E8 48 0E 07 8D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C58C 001294EC 7F A3 EB 78 */ mr r3, r29 +/* 8012C590 001294F0 38 80 00 05 */ li r4, 5 +/* 8012C594 001294F4 38 A0 00 0B */ li r5, 0xb +/* 8012C598 001294F8 48 0E 07 7D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C59C 001294FC 7F A3 EB 78 */ mr r3, r29 +/* 8012C5A0 00129500 38 80 00 08 */ li r4, 8 +/* 8012C5A4 00129504 38 A0 00 0B */ li r5, 0xb +/* 8012C5A8 00129508 48 0E 07 6D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C5AC 0012950C 7F A3 EB 78 */ mr r3, r29 +/* 8012C5B0 00129510 38 80 00 08 */ li r4, 8 +/* 8012C5B4 00129514 38 A0 00 09 */ li r5, 9 +/* 8012C5B8 00129518 48 0E 07 5D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C5BC 0012951C 7F A3 EB 78 */ mr r3, r29 +/* 8012C5C0 00129520 38 80 00 09 */ li r4, 9 +/* 8012C5C4 00129524 38 A0 00 0A */ li r5, 0xa +/* 8012C5C8 00129528 48 0E 07 4D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C5CC 0012952C 7F A3 EB 78 */ mr r3, r29 +/* 8012C5D0 00129530 38 80 00 0B */ li r4, 0xb +/* 8012C5D4 00129534 38 A0 00 0C */ li r5, 0xc +/* 8012C5D8 00129538 48 0E 07 3D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C5DC 0012953C 7F A3 EB 78 */ mr r3, r29 +/* 8012C5E0 00129540 38 80 00 0C */ li r4, 0xc +/* 8012C5E4 00129544 38 A0 00 0D */ li r5, 0xd +/* 8012C5E8 00129548 48 0E 07 2D */ bl AddLengthConstraint__8CRagDollFii +/* 8012C5EC 0012954C 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C5F0 00129550 7F A3 EB 78 */ mr r3, r29 +/* 8012C5F4 00129554 38 80 00 01 */ li r4, 1 +/* 8012C5F8 00129558 38 A0 00 08 */ li r5, 8 +/* 8012C5FC 0012955C C0 26 00 28 */ lfs f1, 0x28(r6) +/* 8012C600 00129560 48 0E 06 61 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C604 00129564 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C608 00129568 7F A3 EB 78 */ mr r3, r29 +/* 8012C60C 0012956C 38 80 00 01 */ li r4, 1 +/* 8012C610 00129570 38 A0 00 0B */ li r5, 0xb +/* 8012C614 00129574 C0 26 00 38 */ lfs f1, 0x38(r6) +/* 8012C618 00129578 48 0E 06 49 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C61C 0012957C 80 BD 00 20 */ lwz r5, 0x20(r29) +/* 8012C620 00129580 7F A3 EB 78 */ mr r3, r29 +/* 8012C624 00129584 C0 22 97 C8 */ lfs f1, lbl_805AB4E8@sda21(r2) +/* 8012C628 00129588 38 80 00 01 */ li r4, 1 +/* 8012C62C 0012958C C0 05 00 18 */ lfs f0, 0x18(r5) +/* 8012C630 00129590 38 A0 00 02 */ li r5, 2 +/* 8012C634 00129594 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8012C638 00129598 48 0E 06 29 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C63C 0012959C 80 BD 00 20 */ lwz r5, 0x20(r29) +/* 8012C640 001295A0 7F A3 EB 78 */ mr r3, r29 +/* 8012C644 001295A4 C0 22 97 C8 */ lfs f1, lbl_805AB4E8@sda21(r2) +/* 8012C648 001295A8 38 80 00 01 */ li r4, 1 +/* 8012C64C 001295AC C0 05 00 48 */ lfs f0, 0x48(r5) +/* 8012C650 001295B0 38 A0 00 05 */ li r5, 5 +/* 8012C654 001295B4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8012C658 001295B8 48 0E 06 09 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C65C 001295BC 80 BD 00 20 */ lwz r5, 0x20(r29) +/* 8012C660 001295C0 7F A3 EB 78 */ mr r3, r29 +/* 8012C664 001295C4 C0 22 98 8C */ lfs f1, lbl_805AB5AC@sda21(r2) +/* 8012C668 001295C8 38 80 00 01 */ li r4, 1 +/* 8012C66C 001295CC C0 05 00 08 */ lfs f0, 8(r5) +/* 8012C670 001295D0 38 A0 00 04 */ li r5, 4 +/* 8012C674 001295D4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8012C678 001295D8 48 0E 05 E9 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C67C 001295DC 80 BD 00 20 */ lwz r5, 0x20(r29) +/* 8012C680 001295E0 7F A3 EB 78 */ mr r3, r29 +/* 8012C684 001295E4 C0 22 98 8C */ lfs f1, lbl_805AB5AC@sda21(r2) +/* 8012C688 001295E8 38 80 00 01 */ li r4, 1 +/* 8012C68C 001295EC C0 05 00 08 */ lfs f0, 8(r5) +/* 8012C690 001295F0 38 A0 00 07 */ li r5, 7 +/* 8012C694 001295F4 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8012C698 001295F8 48 0E 05 C9 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C69C 001295FC 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C6A0 00129600 7F A3 EB 78 */ mr r3, r29 +/* 8012C6A4 00129604 38 80 00 04 */ li r4, 4 +/* 8012C6A8 00129608 38 A0 00 02 */ li r5, 2 +/* 8012C6AC 0012960C C0 26 00 58 */ lfs f1, 0x58(r6) +/* 8012C6B0 00129610 48 0E 05 B1 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C6B4 00129614 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C6B8 00129618 7F A3 EB 78 */ mr r3, r29 +/* 8012C6BC 0012961C 38 80 00 07 */ li r4, 7 +/* 8012C6C0 00129620 38 A0 00 05 */ li r5, 5 +/* 8012C6C4 00129624 C0 26 00 78 */ lfs f1, 0x78(r6) +/* 8012C6C8 00129628 48 0E 05 99 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C6CC 0012962C 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C6D0 00129630 7F A3 EB 78 */ mr r3, r29 +/* 8012C6D4 00129634 C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) +/* 8012C6D8 00129638 38 80 00 03 */ li r4, 3 +/* 8012C6DC 0012963C C0 26 00 58 */ lfs f1, 0x58(r6) +/* 8012C6E0 00129640 38 A0 00 05 */ li r5, 5 +/* 8012C6E4 00129644 C0 06 00 98 */ lfs f0, 0x98(r6) +/* 8012C6E8 00129648 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8012C6EC 0012964C 48 0E 05 75 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C6F0 00129650 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C6F4 00129654 7F A3 EB 78 */ mr r3, r29 +/* 8012C6F8 00129658 C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) +/* 8012C6FC 0012965C 38 80 00 06 */ li r4, 6 +/* 8012C700 00129660 C0 26 00 78 */ lfs f1, 0x78(r6) +/* 8012C704 00129664 38 A0 00 02 */ li r5, 2 +/* 8012C708 00129668 C0 06 00 98 */ lfs f0, 0x98(r6) +/* 8012C70C 0012966C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8012C710 00129670 48 0E 05 51 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C714 00129674 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C718 00129678 7F A3 EB 78 */ mr r3, r29 +/* 8012C71C 0012967C C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) +/* 8012C720 00129680 38 80 00 04 */ li r4, 4 +/* 8012C724 00129684 C0 26 00 58 */ lfs f1, 0x58(r6) +/* 8012C728 00129688 38 A0 00 05 */ li r5, 5 +/* 8012C72C 0012968C C0 06 00 98 */ lfs f0, 0x98(r6) +/* 8012C730 00129690 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8012C734 00129694 48 0E 05 2D */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C738 00129698 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C73C 0012969C 7F A3 EB 78 */ mr r3, r29 +/* 8012C740 001296A0 C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) +/* 8012C744 001296A4 38 80 00 07 */ li r4, 7 +/* 8012C748 001296A8 C0 26 00 78 */ lfs f1, 0x78(r6) +/* 8012C74C 001296AC 38 A0 00 02 */ li r5, 2 +/* 8012C750 001296B0 C0 06 00 98 */ lfs f0, 0x98(r6) +/* 8012C754 001296B4 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8012C758 001296B8 48 0E 05 09 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C75C 001296BC 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C760 001296C0 7F A3 EB 78 */ mr r3, r29 +/* 8012C764 001296C4 38 80 00 04 */ li r4, 4 +/* 8012C768 001296C8 38 A0 00 07 */ li r5, 7 +/* 8012C76C 001296CC C0 26 00 98 */ lfs f1, 0x98(r6) +/* 8012C770 001296D0 48 0E 04 F1 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C774 001296D4 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C778 001296D8 7F A3 EB 78 */ mr r3, r29 +/* 8012C77C 001296DC 38 80 00 04 */ li r4, 4 +/* 8012C780 001296E0 38 A0 00 08 */ li r5, 8 +/* 8012C784 001296E4 C0 26 00 E8 */ lfs f1, 0xe8(r6) +/* 8012C788 001296E8 48 0E 04 D9 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C78C 001296EC 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C790 001296F0 7F A3 EB 78 */ mr r3, r29 +/* 8012C794 001296F4 38 80 00 07 */ li r4, 7 +/* 8012C798 001296F8 38 A0 00 0B */ li r5, 0xb +/* 8012C79C 001296FC C0 26 00 E8 */ lfs f1, 0xe8(r6) +/* 8012C7A0 00129700 48 0E 04 C1 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C7A4 00129704 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C7A8 00129708 7F A3 EB 78 */ mr r3, r29 +/* 8012C7AC 0012970C 38 80 00 0A */ li r4, 0xa +/* 8012C7B0 00129710 38 A0 00 08 */ li r5, 8 +/* 8012C7B4 00129714 C0 26 00 F8 */ lfs f1, 0xf8(r6) +/* 8012C7B8 00129718 48 0E 04 A9 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C7BC 0012971C 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C7C0 00129720 7F A3 EB 78 */ mr r3, r29 +/* 8012C7C4 00129724 38 80 00 0D */ li r4, 0xd +/* 8012C7C8 00129728 38 A0 00 0B */ li r5, 0xb +/* 8012C7CC 0012972C C0 26 01 18 */ lfs f1, 0x118(r6) +/* 8012C7D0 00129730 48 0E 04 91 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C7D4 00129734 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C7D8 00129738 7F A3 EB 78 */ mr r3, r29 +/* 8012C7DC 0012973C C0 42 98 00 */ lfs f2, lbl_805AB520@sda21(r2) +/* 8012C7E0 00129740 38 80 00 09 */ li r4, 9 +/* 8012C7E4 00129744 C0 26 00 F8 */ lfs f1, 0xf8(r6) +/* 8012C7E8 00129748 38 A0 00 02 */ li r5, 2 +/* 8012C7EC 0012974C C0 06 00 A8 */ lfs f0, 0xa8(r6) +/* 8012C7F0 00129750 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8012C7F4 00129754 48 0E 04 6D */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C7F8 00129758 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C7FC 0012975C 7F A3 EB 78 */ mr r3, r29 +/* 8012C800 00129760 C0 42 98 00 */ lfs f2, lbl_805AB520@sda21(r2) +/* 8012C804 00129764 38 80 00 0C */ li r4, 0xc +/* 8012C808 00129768 C0 26 01 18 */ lfs f1, 0x118(r6) +/* 8012C80C 0012976C 38 A0 00 05 */ li r5, 5 +/* 8012C810 00129770 C0 06 00 D8 */ lfs f0, 0xd8(r6) +/* 8012C814 00129774 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8012C818 00129778 48 0E 04 49 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C81C 0012977C 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C820 00129780 7F A3 EB 78 */ mr r3, r29 +/* 8012C824 00129784 38 80 00 09 */ li r4, 9 +/* 8012C828 00129788 38 A0 00 0B */ li r5, 0xb +/* 8012C82C 0012978C C0 26 00 F8 */ lfs f1, 0xf8(r6) +/* 8012C830 00129790 48 0E 04 31 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C834 00129794 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C838 00129798 7F A3 EB 78 */ mr r3, r29 +/* 8012C83C 0012979C 38 80 00 0C */ li r4, 0xc +/* 8012C840 001297A0 38 A0 00 08 */ li r5, 8 +/* 8012C844 001297A4 C0 26 01 18 */ lfs f1, 0x118(r6) +/* 8012C848 001297A8 48 0E 04 19 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C84C 001297AC 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C850 001297B0 7F A3 EB 78 */ mr r3, r29 +/* 8012C854 001297B4 38 80 00 0A */ li r4, 0xa +/* 8012C858 001297B8 38 A0 00 00 */ li r5, 0 +/* 8012C85C 001297BC C0 26 00 28 */ lfs f1, 0x28(r6) +/* 8012C860 001297C0 C0 06 00 F8 */ lfs f0, 0xf8(r6) +/* 8012C864 001297C4 EC 21 00 2A */ fadds f1, f1, f0 +/* 8012C868 001297C8 48 0E 03 F9 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C86C 001297CC 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C870 001297D0 7F A3 EB 78 */ mr r3, r29 +/* 8012C874 001297D4 38 80 00 0D */ li r4, 0xd +/* 8012C878 001297D8 38 A0 00 00 */ li r5, 0 +/* 8012C87C 001297DC C0 26 00 38 */ lfs f1, 0x38(r6) +/* 8012C880 001297E0 C0 06 01 18 */ lfs f0, 0x118(r6) +/* 8012C884 001297E4 EC 21 00 2A */ fadds f1, f1, f0 +/* 8012C888 001297E8 48 0E 03 D9 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C88C 001297EC 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C890 001297F0 7F A3 EB 78 */ mr r3, r29 +/* 8012C894 001297F4 38 80 00 0A */ li r4, 0xa +/* 8012C898 001297F8 38 A0 00 0D */ li r5, 0xd +/* 8012C89C 001297FC C0 26 00 E8 */ lfs f1, 0xe8(r6) +/* 8012C8A0 00129800 48 0E 03 C1 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C8A4 00129804 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C8A8 00129808 7F A3 EB 78 */ mr r3, r29 +/* 8012C8AC 0012980C 38 80 00 09 */ li r4, 9 +/* 8012C8B0 00129810 38 A0 00 0C */ li r5, 0xc +/* 8012C8B4 00129814 C0 26 00 E8 */ lfs f1, 0xe8(r6) +/* 8012C8B8 00129818 48 0E 03 A9 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C8BC 0012981C 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C8C0 00129820 7F A3 EB 78 */ mr r3, r29 +/* 8012C8C4 00129824 38 80 00 0A */ li r4, 0xa +/* 8012C8C8 00129828 38 A0 00 0C */ li r5, 0xc +/* 8012C8CC 0012982C C0 26 00 E8 */ lfs f1, 0xe8(r6) +/* 8012C8D0 00129830 48 0E 03 91 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C8D4 00129834 80 DD 00 20 */ lwz r6, 0x20(r29) +/* 8012C8D8 00129838 7F A3 EB 78 */ mr r3, r29 +/* 8012C8DC 0012983C 38 80 00 0D */ li r4, 0xd +/* 8012C8E0 00129840 38 A0 00 09 */ li r5, 9 +/* 8012C8E4 00129844 C0 26 00 E8 */ lfs f1, 0xe8(r6) +/* 8012C8E8 00129848 48 0E 03 79 */ bl AddMinLengthConstraint__8CRagDollFiif +/* 8012C8EC 0012984C 80 BD 00 20 */ lwz r5, 0x20(r29) +/* 8012C8F0 00129850 7F A3 EB 78 */ mr r3, r29 +/* 8012C8F4 00129854 C0 22 98 1C */ lfs f1, lbl_805AB53C@sda21(r2) +/* 8012C8F8 00129858 38 80 00 0A */ li r4, 0xa +/* 8012C8FC 0012985C C0 05 00 E8 */ lfs f0, 0xe8(r5) +/* 8012C900 00129860 38 A0 00 0D */ li r5, 0xd +/* 8012C904 00129864 EC 21 00 32 */ fmuls f1, f1, f0 +/* 8012C908 00129868 48 0E 02 A5 */ bl AddMaxLengthConstraint__8CRagDollFiif +/* 8012C90C 0012986C 7F A3 EB 78 */ mr r3, r29 +/* 8012C910 00129870 38 80 00 08 */ li r4, 8 +/* 8012C914 00129874 38 A0 00 02 */ li r5, 2 +/* 8012C918 00129878 38 C0 00 05 */ li r6, 5 +/* 8012C91C 0012987C 38 E0 00 08 */ li r7, 8 +/* 8012C920 00129880 39 00 00 09 */ li r8, 9 +/* 8012C924 00129884 39 20 00 0A */ li r9, 0xa +/* 8012C928 00129888 48 0E 01 C9 */ bl AddJointConstraint__8CRagDollFiiiiii +/* 8012C92C 0012988C 7F A3 EB 78 */ mr r3, r29 +/* 8012C930 00129890 38 80 00 0B */ li r4, 0xb +/* 8012C934 00129894 38 A0 00 02 */ li r5, 2 +/* 8012C938 00129898 38 C0 00 05 */ li r6, 5 +/* 8012C93C 0012989C 38 E0 00 0B */ li r7, 0xb +/* 8012C940 001298A0 39 00 00 0C */ li r8, 0xc +/* 8012C944 001298A4 39 20 00 0D */ li r9, 0xd +/* 8012C948 001298A8 48 0E 01 A9 */ bl AddJointConstraint__8CRagDollFiiiiii +/* 8012C94C 001298AC 7F A3 EB 78 */ mr r3, r29 +/* 8012C950 001298B0 38 80 00 02 */ li r4, 2 +/* 8012C954 001298B4 38 A0 00 0B */ li r5, 0xb +/* 8012C958 001298B8 38 C0 00 05 */ li r6, 5 +/* 8012C95C 001298BC 38 E0 00 02 */ li r7, 2 +/* 8012C960 001298C0 39 00 00 03 */ li r8, 3 +/* 8012C964 001298C4 39 20 00 04 */ li r9, 4 +/* 8012C968 001298C8 48 0E 01 89 */ bl AddJointConstraint__8CRagDollFiiiiii +/* 8012C96C 001298CC 7F A3 EB 78 */ mr r3, r29 +/* 8012C970 001298D0 38 80 00 05 */ li r4, 5 +/* 8012C974 001298D4 38 A0 00 02 */ li r5, 2 +/* 8012C978 001298D8 38 C0 00 08 */ li r6, 8 +/* 8012C97C 001298DC 38 E0 00 05 */ li r7, 5 +/* 8012C980 001298E0 39 00 00 06 */ li r8, 6 +/* 8012C984 001298E4 39 20 00 07 */ li r9, 7 +/* 8012C988 001298E8 48 0E 01 69 */ bl AddJointConstraint__8CRagDollFiiiiii +/* 8012C98C 001298EC 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8012C990 001298F0 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 8012C994 001298F4 48 00 00 D0 */ b lbl_8012CA64 +lbl_8012C998: +/* 8012C998 001298F8 80 1F 00 00 */ lwz r0, 0(r31) +/* 8012C99C 001298FC 2C 00 00 19 */ cmpwi r0, 0x19 +/* 8012C9A0 00129900 40 82 00 C0 */ bne lbl_8012CA60 +/* 8012C9A4 00129904 80 1F 00 04 */ lwz r0, 4(r31) +/* 8012C9A8 00129908 2C 00 00 06 */ cmpwi r0, 6 +/* 8012C9AC 0012990C 40 82 00 B4 */ bne lbl_8012CA60 +/* 8012C9B0 00129910 80 1F 00 08 */ lwz r0, 8(r31) +/* 8012C9B4 00129914 7F C4 F3 78 */ mr r4, r30 +/* 8012C9B8 00129918 38 61 00 14 */ addi r3, r1, 0x14 +/* 8012C9BC 0012991C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8012C9C0 00129920 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8012C9C4 00129924 4B F1 B5 59 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8012C9C8 00129928 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8012C9CC 0012992C 7F C3 F3 78 */ mr r3, r30 +/* 8012C9D0 00129930 38 81 00 10 */ addi r4, r1, 0x10 +/* 8012C9D4 00129934 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8012C9D8 00129938 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8012C9DC 0012993C 4B F1 FB C9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8012C9E0 00129940 7C 64 1B 78 */ mr r4, r3 +/* 8012C9E4 00129944 38 61 00 20 */ addi r3, r1, 0x20 +/* 8012C9E8 00129948 4B F7 9B 65 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8012C9EC 0012994C 80 83 00 04 */ lwz r4, 4(r3) +/* 8012C9F0 00129950 28 04 00 00 */ cmplwi r4, 0 +/* 8012C9F4 00129954 41 82 00 6C */ beq lbl_8012CA60 +/* 8012C9F8 00129958 38 7D 00 90 */ addi r3, r29, 0x90 +/* 8012C9FC 0012995C 80 1D 00 90 */ lwz r0, 0x90(r29) +/* 8012CA00 00129960 54 00 08 3C */ slwi r0, r0, 1 +/* 8012CA04 00129964 7C 63 02 14 */ add r3, r3, r0 +/* 8012CA08 00129968 34 63 00 04 */ addic. r3, r3, 4 +/* 8012CA0C 0012996C 41 82 00 0C */ beq lbl_8012CA18 +/* 8012CA10 00129970 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 8012CA14 00129974 B0 03 00 00 */ sth r0, 0(r3) +lbl_8012CA18: +/* 8012CA18 00129978 80 7D 00 90 */ lwz r3, 0x90(r29) +/* 8012CA1C 0012997C 38 BD 00 9C */ addi r5, r29, 0x9c +/* 8012CA20 00129980 38 03 00 01 */ addi r0, r3, 1 +/* 8012CA24 00129984 90 1D 00 90 */ stw r0, 0x90(r29) +/* 8012CA28 00129988 80 1D 00 9C */ lwz r0, 0x9c(r29) +/* 8012CA2C 0012998C 80 64 00 EC */ lwz r3, 0xec(r4) +/* 8012CA30 00129990 54 00 10 3A */ slwi r0, r0, 2 +/* 8012CA34 00129994 7C 85 02 14 */ add r4, r5, r0 +/* 8012CA38 00129998 34 84 00 04 */ addic. r4, r4, 4 +/* 8012CA3C 0012999C 41 82 00 08 */ beq lbl_8012CA44 +/* 8012CA40 001299A0 90 64 00 00 */ stw r3, 0(r4) +lbl_8012CA44: +/* 8012CA44 001299A4 80 7D 00 9C */ lwz r3, 0x9c(r29) +/* 8012CA48 001299A8 38 03 00 01 */ addi r0, r3, 1 +/* 8012CA4C 001299AC 90 1D 00 9C */ stw r0, 0x9c(r29) +/* 8012CA50 001299B0 80 1D 00 90 */ lwz r0, 0x90(r29) +/* 8012CA54 001299B4 20 00 00 04 */ subfic r0, r0, 4 +/* 8012CA58 001299B8 2C 00 00 00 */ cmpwi r0, 0 +/* 8012CA5C 001299BC 40 81 00 24 */ ble lbl_8012CA80 +lbl_8012CA60: +/* 8012CA60 001299C0 3B FF 00 0C */ addi r31, r31, 0xc +lbl_8012CA64: +/* 8012CA64 001299C4 80 7D 00 6C */ lwz r3, 0x6c(r29) +/* 8012CA68 001299C8 80 03 00 24 */ lwz r0, 0x24(r3) +/* 8012CA6C 001299CC 80 63 00 2C */ lwz r3, 0x2c(r3) +/* 8012CA70 001299D0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8012CA74 001299D4 7C 03 02 14 */ add r0, r3, r0 +/* 8012CA78 001299D8 7C 1F 00 40 */ cmplw r31, r0 +/* 8012CA7C 001299DC 40 82 FF 1C */ bne lbl_8012C998 +lbl_8012CA80: +/* 8012CA80 001299E0 7F A3 EB 78 */ mr r3, r29 +/* 8012CA84 001299E4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8012CA88 001299E8 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8012CA8C 001299EC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 8012CA90 001299F0 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8012CA94 001299F4 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 8012CA98 001299F8 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 8012CA9C 001299FC BB 21 00 94 */ lmw r25, 0x94(r1) +/* 8012CAA0 00129A00 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8012CAA4 00129A04 7C 08 03 A6 */ mtlr r0 +/* 8012CAA8 00129A08 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8012CAAC 00129A0C 4E 80 00 20 */ blr + +.global sub_8012cab0 +sub_8012cab0: +/* 8012CAB0 00129A10 A0 A5 00 00 */ lhz r5, 0(r5) +/* 8012CAB4 00129A14 88 04 00 00 */ lbz r0, 0(r4) +/* 8012CAB8 00129A18 98 03 00 00 */ stb r0, 0(r3) +/* 8012CABC 00129A1C B0 A3 00 02 */ sth r5, 2(r3) +/* 8012CAC0 00129A20 4E 80 00 20 */ blr + +.global "reserve__Q24rstl64vectorFi" +"reserve__Q24rstl64vectorFi": +/* 8012CAC4 00129A24 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8012CAC8 00129A28 7C 08 02 A6 */ mflr r0 +/* 8012CACC 00129A2C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8012CAD0 00129A30 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8012CAD4 00129A34 7C 9F 23 78 */ mr r31, r4 +/* 8012CAD8 00129A38 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8012CADC 00129A3C 7C 7E 1B 78 */ mr r30, r3 +/* 8012CAE0 00129A40 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8012CAE4 00129A44 80 03 00 08 */ lwz r0, 8(r3) +/* 8012CAE8 00129A48 7C 1F 00 00 */ cmpw r31, r0 +/* 8012CAEC 00129A4C 40 81 00 98 */ ble lbl_8012CB84 +/* 8012CAF0 00129A50 57 E3 30 33 */ rlwinm. r3, r31, 6, 0, 0x19 +/* 8012CAF4 00129A54 40 82 00 0C */ bne lbl_8012CB00 +/* 8012CAF8 00129A58 3B A0 00 00 */ li r29, 0 +/* 8012CAFC 00129A5C 48 00 00 1C */ b lbl_8012CB18 +lbl_8012CB00: +/* 8012CB00 00129A60 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012CB04 00129A64 38 A0 00 00 */ li r5, 0 +/* 8012CB08 00129A68 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012CB0C 00129A6C 38 84 00 0A */ addi r4, r4, 0xa +/* 8012CB10 00129A70 48 1E 8D 09 */ bl __nwa__FUlPCcPCc +/* 8012CB14 00129A74 7C 7D 1B 78 */ mr r29, r3 +lbl_8012CB18: +/* 8012CB18 00129A78 80 1E 00 04 */ lwz r0, 4(r30) +/* 8012CB1C 00129A7C 7F A5 EB 78 */ mr r5, r29 +/* 8012CB20 00129A80 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 8012CB24 00129A84 38 61 00 14 */ addi r3, r1, 0x14 +/* 8012CB28 00129A88 54 00 30 32 */ slwi r0, r0, 6 +/* 8012CB2C 00129A8C 38 81 00 0C */ addi r4, r1, 0xc +/* 8012CB30 00129A90 7C C6 02 14 */ add r6, r6, r0 +/* 8012CB34 00129A94 90 C1 00 0C */ stw r6, 0xc(r1) +/* 8012CB38 00129A98 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 8012CB3C 00129A9C 90 C1 00 08 */ stw r6, 8(r1) +/* 8012CB40 00129AA0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8012CB44 00129AA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012CB48 00129AA8 48 00 00 59 */ bl sub_8012cba0 +/* 8012CB4C 00129AAC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8012CB50 00129AB0 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8012CB54 00129AB4 54 00 30 32 */ slwi r0, r0, 6 +/* 8012CB58 00129AB8 7C 64 1B 78 */ mr r4, r3 +/* 8012CB5C 00129ABC 7C 03 02 14 */ add r0, r3, r0 +/* 8012CB60 00129AC0 48 00 00 08 */ b lbl_8012CB68 +lbl_8012CB64: +/* 8012CB64 00129AC4 38 84 00 40 */ addi r4, r4, 0x40 +lbl_8012CB68: +/* 8012CB68 00129AC8 7C 04 00 40 */ cmplw r4, r0 +/* 8012CB6C 00129ACC 40 82 FF F8 */ bne lbl_8012CB64 +/* 8012CB70 00129AD0 28 03 00 00 */ cmplwi r3, 0 +/* 8012CB74 00129AD4 41 82 00 08 */ beq lbl_8012CB7C +/* 8012CB78 00129AD8 48 1E 8D B9 */ bl Free__7CMemoryFPCv +lbl_8012CB7C: +/* 8012CB7C 00129ADC 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8012CB80 00129AE0 93 FE 00 08 */ stw r31, 8(r30) +lbl_8012CB84: +/* 8012CB84 00129AE4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8012CB88 00129AE8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8012CB8C 00129AEC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8012CB90 00129AF0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8012CB94 00129AF4 7C 08 03 A6 */ mtlr r0 +/* 8012CB98 00129AF8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8012CB9C 00129AFC 4E 80 00 20 */ blr + +.global sub_8012cba0 +sub_8012cba0: +/* 8012CBA0 00129B00 80 63 00 00 */ lwz r3, 0(r3) +/* 8012CBA4 00129B04 48 00 00 94 */ b lbl_8012CC38 +lbl_8012CBA8: +/* 8012CBA8 00129B08 28 05 00 00 */ cmplwi r5, 0 +/* 8012CBAC 00129B0C 41 82 00 84 */ beq lbl_8012CC30 +/* 8012CBB0 00129B10 88 03 00 00 */ lbz r0, 0(r3) +/* 8012CBB4 00129B14 98 05 00 00 */ stb r0, 0(r5) +/* 8012CBB8 00129B18 C0 03 00 04 */ lfs f0, 4(r3) +/* 8012CBBC 00129B1C D0 05 00 04 */ stfs f0, 4(r5) +/* 8012CBC0 00129B20 C0 03 00 08 */ lfs f0, 8(r3) +/* 8012CBC4 00129B24 D0 05 00 08 */ stfs f0, 8(r5) +/* 8012CBC8 00129B28 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 8012CBCC 00129B2C D0 05 00 0C */ stfs f0, 0xc(r5) +/* 8012CBD0 00129B30 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 8012CBD4 00129B34 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 8012CBD8 00129B38 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 8012CBDC 00129B3C D0 05 00 14 */ stfs f0, 0x14(r5) +/* 8012CBE0 00129B40 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 8012CBE4 00129B44 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 8012CBE8 00129B48 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 8012CBEC 00129B4C D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 8012CBF0 00129B50 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 8012CBF4 00129B54 D0 05 00 20 */ stfs f0, 0x20(r5) +/* 8012CBF8 00129B58 C0 03 00 24 */ lfs f0, 0x24(r3) +/* 8012CBFC 00129B5C D0 05 00 24 */ stfs f0, 0x24(r5) +/* 8012CC00 00129B60 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 8012CC04 00129B64 D0 05 00 28 */ stfs f0, 0x28(r5) +/* 8012CC08 00129B68 C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 8012CC0C 00129B6C D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 8012CC10 00129B70 C0 03 00 30 */ lfs f0, 0x30(r3) +/* 8012CC14 00129B74 D0 05 00 30 */ stfs f0, 0x30(r5) +/* 8012CC18 00129B78 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 8012CC1C 00129B7C D0 05 00 34 */ stfs f0, 0x34(r5) +/* 8012CC20 00129B80 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8012CC24 00129B84 D0 05 00 38 */ stfs f0, 0x38(r5) +/* 8012CC28 00129B88 88 03 00 3C */ lbz r0, 0x3c(r3) +/* 8012CC2C 00129B8C 98 05 00 3C */ stb r0, 0x3c(r5) +lbl_8012CC30: +/* 8012CC30 00129B90 38 A5 00 40 */ addi r5, r5, 0x40 +/* 8012CC34 00129B94 38 63 00 40 */ addi r3, r3, 0x40 +lbl_8012CC38: +/* 8012CC38 00129B98 80 04 00 00 */ lwz r0, 0(r4) +/* 8012CC3C 00129B9C 7C 03 00 40 */ cmplw r3, r0 +/* 8012CC40 00129BA0 40 82 FF 68 */ bne lbl_8012CBA8 +/* 8012CC44 00129BA4 7C A3 2B 78 */ mr r3, r5 +/* 8012CC48 00129BA8 4E 80 00 20 */ blr + +.global "reserve__Q24rstl72vectorFi" +"reserve__Q24rstl72vectorFi": +/* 8012CC4C 00129BAC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8012CC50 00129BB0 7C 08 02 A6 */ mflr r0 +/* 8012CC54 00129BB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8012CC58 00129BB8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8012CC5C 00129BBC 7C 9F 23 78 */ mr r31, r4 +/* 8012CC60 00129BC0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8012CC64 00129BC4 7C 7E 1B 78 */ mr r30, r3 +/* 8012CC68 00129BC8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8012CC6C 00129BCC 80 03 00 08 */ lwz r0, 8(r3) +/* 8012CC70 00129BD0 7C 1F 00 00 */ cmpw r31, r0 +/* 8012CC74 00129BD4 40 81 00 C4 */ ble lbl_8012CD38 +/* 8012CC78 00129BD8 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b +/* 8012CC7C 00129BDC 40 82 00 0C */ bne lbl_8012CC88 +/* 8012CC80 00129BE0 3B A0 00 00 */ li r29, 0 +/* 8012CC84 00129BE4 48 00 00 1C */ b lbl_8012CCA0 +lbl_8012CC88: +/* 8012CC88 00129BE8 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012CC8C 00129BEC 38 A0 00 00 */ li r5, 0 +/* 8012CC90 00129BF0 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012CC94 00129BF4 38 84 00 0A */ addi r4, r4, 0xa +/* 8012CC98 00129BF8 48 1E 8B 81 */ bl __nwa__FUlPCcPCc +/* 8012CC9C 00129BFC 7C 7D 1B 78 */ mr r29, r3 +lbl_8012CCA0: +/* 8012CCA0 00129C00 80 1E 00 04 */ lwz r0, 4(r30) +/* 8012CCA4 00129C04 7F A4 EB 78 */ mr r4, r29 +/* 8012CCA8 00129C08 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8012CCAC 00129C0C 54 00 20 36 */ slwi r0, r0, 4 +/* 8012CCB0 00129C10 7C 65 02 14 */ add r3, r5, r0 +/* 8012CCB4 00129C14 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8012CCB8 00129C18 90 61 00 08 */ stw r3, 8(r1) +/* 8012CCBC 00129C1C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8012CCC0 00129C20 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8012CCC4 00129C24 48 00 00 34 */ b lbl_8012CCF8 +lbl_8012CCC8: +/* 8012CCC8 00129C28 28 04 00 00 */ cmplwi r4, 0 +/* 8012CCCC 00129C2C 41 82 00 24 */ beq lbl_8012CCF0 +/* 8012CCD0 00129C30 80 05 00 00 */ lwz r0, 0(r5) +/* 8012CCD4 00129C34 90 04 00 00 */ stw r0, 0(r4) +/* 8012CCD8 00129C38 80 05 00 04 */ lwz r0, 4(r5) +/* 8012CCDC 00129C3C 90 04 00 04 */ stw r0, 4(r4) +/* 8012CCE0 00129C40 C0 05 00 08 */ lfs f0, 8(r5) +/* 8012CCE4 00129C44 D0 04 00 08 */ stfs f0, 8(r4) +/* 8012CCE8 00129C48 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8012CCEC 00129C4C 90 04 00 0C */ stw r0, 0xc(r4) +lbl_8012CCF0: +/* 8012CCF0 00129C50 38 84 00 10 */ addi r4, r4, 0x10 +/* 8012CCF4 00129C54 38 A5 00 10 */ addi r5, r5, 0x10 +lbl_8012CCF8: +/* 8012CCF8 00129C58 7C 05 18 40 */ cmplw r5, r3 +/* 8012CCFC 00129C5C 40 82 FF CC */ bne lbl_8012CCC8 +/* 8012CD00 00129C60 80 1E 00 04 */ lwz r0, 4(r30) +/* 8012CD04 00129C64 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8012CD08 00129C68 54 00 20 36 */ slwi r0, r0, 4 +/* 8012CD0C 00129C6C 7C 64 1B 78 */ mr r4, r3 +/* 8012CD10 00129C70 7C 03 02 14 */ add r0, r3, r0 +/* 8012CD14 00129C74 48 00 00 08 */ b lbl_8012CD1C +lbl_8012CD18: +/* 8012CD18 00129C78 38 84 00 10 */ addi r4, r4, 0x10 +lbl_8012CD1C: +/* 8012CD1C 00129C7C 7C 04 00 40 */ cmplw r4, r0 +/* 8012CD20 00129C80 40 82 FF F8 */ bne lbl_8012CD18 +/* 8012CD24 00129C84 28 03 00 00 */ cmplwi r3, 0 +/* 8012CD28 00129C88 41 82 00 08 */ beq lbl_8012CD30 +/* 8012CD2C 00129C8C 48 1E 8C 05 */ bl Free__7CMemoryFPCv +lbl_8012CD30: +/* 8012CD30 00129C90 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8012CD34 00129C94 93 FE 00 08 */ stw r31, 8(r30) +lbl_8012CD38: +/* 8012CD38 00129C98 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8012CD3C 00129C9C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8012CD40 00129CA0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8012CD44 00129CA4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8012CD48 00129CA8 7C 08 03 A6 */ mtlr r0 +/* 8012CD4C 00129CAC 38 21 00 30 */ addi r1, r1, 0x30 +/* 8012CD50 00129CB0 4E 80 00 20 */ blr + +.global "reserve__Q24rstl71vectorFi" +"reserve__Q24rstl71vectorFi": +/* 8012CD54 00129CB4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8012CD58 00129CB8 7C 08 02 A6 */ mflr r0 +/* 8012CD5C 00129CBC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8012CD60 00129CC0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8012CD64 00129CC4 7C 9F 23 78 */ mr r31, r4 +/* 8012CD68 00129CC8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8012CD6C 00129CCC 7C 7E 1B 78 */ mr r30, r3 +/* 8012CD70 00129CD0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8012CD74 00129CD4 80 03 00 08 */ lwz r0, 8(r3) +/* 8012CD78 00129CD8 7C 1F 00 00 */ cmpw r31, r0 +/* 8012CD7C 00129CDC 40 81 00 D8 */ ble lbl_8012CE54 +/* 8012CD80 00129CE0 1C 7F 00 18 */ mulli r3, r31, 0x18 +/* 8012CD84 00129CE4 2C 03 00 00 */ cmpwi r3, 0 +/* 8012CD88 00129CE8 40 82 00 0C */ bne lbl_8012CD94 +/* 8012CD8C 00129CEC 3B A0 00 00 */ li r29, 0 +/* 8012CD90 00129CF0 48 00 00 1C */ b lbl_8012CDAC +lbl_8012CD94: +/* 8012CD94 00129CF4 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012CD98 00129CF8 38 A0 00 00 */ li r5, 0 +/* 8012CD9C 00129CFC 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012CDA0 00129D00 38 84 00 0A */ addi r4, r4, 0xa +/* 8012CDA4 00129D04 48 1E 8A 75 */ bl __nwa__FUlPCcPCc +/* 8012CDA8 00129D08 7C 7D 1B 78 */ mr r29, r3 +lbl_8012CDAC: +/* 8012CDAC 00129D0C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8012CDB0 00129D10 7F A4 EB 78 */ mr r4, r29 +/* 8012CDB4 00129D14 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 8012CDB8 00129D18 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8012CDBC 00129D1C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 8012CDC0 00129D20 7C 65 02 14 */ add r3, r5, r0 +/* 8012CDC4 00129D24 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8012CDC8 00129D28 90 61 00 08 */ stw r3, 8(r1) +/* 8012CDCC 00129D2C 90 61 00 0C */ stw r3, 0xc(r1) +/* 8012CDD0 00129D30 48 00 00 44 */ b lbl_8012CE14 +lbl_8012CDD4: +/* 8012CDD4 00129D34 28 04 00 00 */ cmplwi r4, 0 +/* 8012CDD8 00129D38 41 82 00 34 */ beq lbl_8012CE0C +/* 8012CDDC 00129D3C 80 05 00 00 */ lwz r0, 0(r5) +/* 8012CDE0 00129D40 90 04 00 00 */ stw r0, 0(r4) +/* 8012CDE4 00129D44 80 05 00 04 */ lwz r0, 4(r5) +/* 8012CDE8 00129D48 90 04 00 04 */ stw r0, 4(r4) +/* 8012CDEC 00129D4C 80 05 00 08 */ lwz r0, 8(r5) +/* 8012CDF0 00129D50 90 04 00 08 */ stw r0, 8(r4) +/* 8012CDF4 00129D54 80 05 00 0C */ lwz r0, 0xc(r5) +/* 8012CDF8 00129D58 90 04 00 0C */ stw r0, 0xc(r4) +/* 8012CDFC 00129D5C 80 05 00 10 */ lwz r0, 0x10(r5) +/* 8012CE00 00129D60 90 04 00 10 */ stw r0, 0x10(r4) +/* 8012CE04 00129D64 80 05 00 14 */ lwz r0, 0x14(r5) +/* 8012CE08 00129D68 90 04 00 14 */ stw r0, 0x14(r4) +lbl_8012CE0C: +/* 8012CE0C 00129D6C 38 84 00 18 */ addi r4, r4, 0x18 +/* 8012CE10 00129D70 38 A5 00 18 */ addi r5, r5, 0x18 +lbl_8012CE14: +/* 8012CE14 00129D74 7C 05 18 40 */ cmplw r5, r3 +/* 8012CE18 00129D78 40 82 FF BC */ bne lbl_8012CDD4 +/* 8012CE1C 00129D7C 80 1E 00 04 */ lwz r0, 4(r30) +/* 8012CE20 00129D80 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8012CE24 00129D84 1C 00 00 18 */ mulli r0, r0, 0x18 +/* 8012CE28 00129D88 7C 64 1B 78 */ mr r4, r3 +/* 8012CE2C 00129D8C 7C 03 02 14 */ add r0, r3, r0 +/* 8012CE30 00129D90 48 00 00 08 */ b lbl_8012CE38 +lbl_8012CE34: +/* 8012CE34 00129D94 38 84 00 18 */ addi r4, r4, 0x18 +lbl_8012CE38: +/* 8012CE38 00129D98 7C 04 00 40 */ cmplw r4, r0 +/* 8012CE3C 00129D9C 40 82 FF F8 */ bne lbl_8012CE34 +/* 8012CE40 00129DA0 28 03 00 00 */ cmplwi r3, 0 +/* 8012CE44 00129DA4 41 82 00 08 */ beq lbl_8012CE4C +/* 8012CE48 00129DA8 48 1E 8A E9 */ bl Free__7CMemoryFPCv +lbl_8012CE4C: +/* 8012CE4C 00129DAC 93 BE 00 0C */ stw r29, 0xc(r30) +/* 8012CE50 00129DB0 93 FE 00 08 */ stw r31, 8(r30) +lbl_8012CE54: +/* 8012CE54 00129DB4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8012CE58 00129DB8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8012CE5C 00129DBC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8012CE60 00129DC0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8012CE64 00129DC4 7C 08 03 A6 */ mtlr r0 +/* 8012CE68 00129DC8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8012CE6C 00129DCC 4E 80 00 20 */ blr + +.global "erase__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRCQ34rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>8iterator" +"erase__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRCQ34rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>8iterator": +/* 8012CE70 00129DD0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012CE74 00129DD4 7C 08 02 A6 */ mflr r0 +/* 8012CE78 00129DD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012CE7C 00129DDC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012CE80 00129DE0 93 C1 00 08 */ stw r30, 8(r1) +/* 8012CE84 00129DE4 7C 7E 1B 78 */ mr r30, r3 +/* 8012CE88 00129DE8 80 03 00 04 */ lwz r0, 4(r3) +/* 8012CE8C 00129DEC 83 E4 00 04 */ lwz r31, 4(r4) +/* 8012CE90 00129DF0 7C 04 00 40 */ cmplw r4, r0 +/* 8012CE94 00129DF4 40 82 00 08 */ bne lbl_8012CE9C +/* 8012CE98 00129DF8 93 FE 00 04 */ stw r31, 4(r30) +lbl_8012CE9C: +/* 8012CE9C 00129DFC 80 04 00 04 */ lwz r0, 4(r4) +/* 8012CEA0 00129E00 28 04 00 00 */ cmplwi r4, 0 +/* 8012CEA4 00129E04 80 64 00 00 */ lwz r3, 0(r4) +/* 8012CEA8 00129E08 90 03 00 04 */ stw r0, 4(r3) +/* 8012CEAC 00129E0C 80 04 00 00 */ lwz r0, 0(r4) +/* 8012CEB0 00129E10 80 64 00 04 */ lwz r3, 4(r4) +/* 8012CEB4 00129E14 90 03 00 00 */ stw r0, 0(r3) +/* 8012CEB8 00129E18 41 82 00 0C */ beq lbl_8012CEC4 +/* 8012CEBC 00129E1C 7C 83 23 78 */ mr r3, r4 +/* 8012CEC0 00129E20 48 1E 8A 71 */ bl Free__7CMemoryFPCv +lbl_8012CEC4: +/* 8012CEC4 00129E24 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 8012CEC8 00129E28 7F E3 FB 78 */ mr r3, r31 +/* 8012CECC 00129E2C 38 04 FF FF */ addi r0, r4, -1 +/* 8012CED0 00129E30 90 1E 00 14 */ stw r0, 0x14(r30) +/* 8012CED4 00129E34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012CED8 00129E38 83 C1 00 08 */ lwz r30, 8(r1) +/* 8012CEDC 00129E3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012CEE0 00129E40 7C 08 03 A6 */ mtlr r0 +/* 8012CEE4 00129E44 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012CEE8 00129E48 4E 80 00 20 */ blr + +.global __sinit_CSpacePirate_cpp +__sinit_CSpacePirate_cpp: +/* 8012CEEC 00129E4C 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8012CEF0 00129E50 7C 08 02 A6 */ mflr r0 +/* 8012CEF4 00129E54 3C 60 80 3D */ lis r3, lbl_803CFF70@ha +/* 8012CEF8 00129E58 3C A0 80 47 */ lis r5, lbl_8046C570@ha +/* 8012CEFC 00129E5C 90 01 01 14 */ stw r0, 0x114(r1) +/* 8012CF00 00129E60 38 83 FF 70 */ addi r4, r3, lbl_803CFF70@l +/* 8012CF04 00129E64 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8012CF08 00129E68 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 8012CF0C 00129E6C 3B E5 C5 70 */ addi r31, r5, lbl_8046C570@l +/* 8012CF10 00129E70 38 84 00 56 */ addi r4, r4, 0x56 +/* 8012CF14 00129E74 4B ED 7D A5 */ bl string_l__4rstlFPCc +/* 8012CF18 00129E78 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012CF1C 00129E7C 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8012CF20 00129E80 48 21 12 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012CF24 00129E84 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012CF28 00129E88 38 BF 00 00 */ addi r5, r31, 0 +/* 8012CF2C 00129E8C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012CF30 00129E90 48 25 C7 5D */ bl __register_global_object +/* 8012CF34 00129E94 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8012CF38 00129E98 48 21 0B A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012CF3C 00129E9C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012CF40 00129EA0 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 8012CF44 00129EA4 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012CF48 00129EA8 38 84 00 5D */ addi r4, r4, 0x5d +/* 8012CF4C 00129EAC 4B ED 7D 6D */ bl string_l__4rstlFPCc +/* 8012CF50 00129EB0 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012CF54 00129EB4 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 8012CF58 00129EB8 38 63 00 10 */ addi r3, r3, 0x10 +/* 8012CF5C 00129EBC 48 21 12 05 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012CF60 00129EC0 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012CF64 00129EC4 38 BF 00 0C */ addi r5, r31, 0xc +/* 8012CF68 00129EC8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012CF6C 00129ECC 48 25 C7 21 */ bl __register_global_object +/* 8012CF70 00129ED0 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 8012CF74 00129ED4 48 21 0B 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012CF78 00129ED8 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012CF7C 00129EDC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8012CF80 00129EE0 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012CF84 00129EE4 38 84 00 64 */ addi r4, r4, 0x64 +/* 8012CF88 00129EE8 4B ED 7D 31 */ bl string_l__4rstlFPCc +/* 8012CF8C 00129EEC 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012CF90 00129EF0 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8012CF94 00129EF4 38 63 00 20 */ addi r3, r3, 0x20 +/* 8012CF98 00129EF8 48 21 11 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012CF9C 00129EFC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012CFA0 00129F00 38 BF 00 18 */ addi r5, r31, 0x18 +/* 8012CFA4 00129F04 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012CFA8 00129F08 48 25 C6 E5 */ bl __register_global_object +/* 8012CFAC 00129F0C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8012CFB0 00129F10 48 21 0B 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012CFB4 00129F14 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012CFB8 00129F18 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8012CFBC 00129F1C 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012CFC0 00129F20 38 84 00 2C */ addi r4, r4, 0x2c +/* 8012CFC4 00129F24 4B ED 7C F5 */ bl string_l__4rstlFPCc +/* 8012CFC8 00129F28 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012CFCC 00129F2C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 8012CFD0 00129F30 38 63 00 30 */ addi r3, r3, 0x30 +/* 8012CFD4 00129F34 48 21 11 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012CFD8 00129F38 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012CFDC 00129F3C 38 BF 00 24 */ addi r5, r31, 0x24 +/* 8012CFE0 00129F40 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012CFE4 00129F44 48 25 C6 A9 */ bl __register_global_object +/* 8012CFE8 00129F48 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8012CFEC 00129F4C 48 21 0A F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012CFF0 00129F50 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012CFF4 00129F54 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8012CFF8 00129F58 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012CFFC 00129F5C 38 84 00 34 */ addi r4, r4, 0x34 +/* 8012D000 00129F60 4B ED 7C B9 */ bl string_l__4rstlFPCc +/* 8012D004 00129F64 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D008 00129F68 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 8012D00C 00129F6C 38 63 00 40 */ addi r3, r3, 0x40 +/* 8012D010 00129F70 48 21 11 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D014 00129F74 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D018 00129F78 38 BF 00 30 */ addi r5, r31, 0x30 +/* 8012D01C 00129F7C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D020 00129F80 48 25 C6 6D */ bl __register_global_object +/* 8012D024 00129F84 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8012D028 00129F88 48 21 0A B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D02C 00129F8C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D030 00129F90 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8012D034 00129F94 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D038 00129F98 38 84 00 6F */ addi r4, r4, 0x6f +/* 8012D03C 00129F9C 4B ED 7C 7D */ bl string_l__4rstlFPCc +/* 8012D040 00129FA0 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D044 00129FA4 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8012D048 00129FA8 38 63 00 50 */ addi r3, r3, 0x50 +/* 8012D04C 00129FAC 48 21 11 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D050 00129FB0 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D054 00129FB4 38 BF 00 3C */ addi r5, r31, 0x3c +/* 8012D058 00129FB8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D05C 00129FBC 48 25 C6 31 */ bl __register_global_object +/* 8012D060 00129FC0 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8012D064 00129FC4 48 21 0A 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D068 00129FC8 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D06C 00129FCC 38 61 00 98 */ addi r3, r1, 0x98 +/* 8012D070 00129FD0 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D074 00129FD4 38 84 00 7A */ addi r4, r4, 0x7a +/* 8012D078 00129FD8 4B ED 7C 41 */ bl string_l__4rstlFPCc +/* 8012D07C 00129FDC 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D080 00129FE0 38 81 00 98 */ addi r4, r1, 0x98 +/* 8012D084 00129FE4 38 63 00 60 */ addi r3, r3, 0x60 +/* 8012D088 00129FE8 48 21 10 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D08C 00129FEC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D090 00129FF0 38 BF 00 48 */ addi r5, r31, 0x48 +/* 8012D094 00129FF4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D098 00129FF8 48 25 C5 F5 */ bl __register_global_object +/* 8012D09C 00129FFC 38 61 00 98 */ addi r3, r1, 0x98 +/* 8012D0A0 0012A000 48 21 0A 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D0A4 0012A004 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D0A8 0012A008 38 61 00 88 */ addi r3, r1, 0x88 +/* 8012D0AC 0012A00C 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D0B0 0012A010 38 84 00 82 */ addi r4, r4, 0x82 +/* 8012D0B4 0012A014 4B ED 7C 05 */ bl string_l__4rstlFPCc +/* 8012D0B8 0012A018 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D0BC 0012A01C 38 81 00 88 */ addi r4, r1, 0x88 +/* 8012D0C0 0012A020 38 63 00 70 */ addi r3, r3, 0x70 +/* 8012D0C4 0012A024 48 21 10 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D0C8 0012A028 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D0CC 0012A02C 38 BF 00 54 */ addi r5, r31, 0x54 +/* 8012D0D0 0012A030 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D0D4 0012A034 48 25 C5 B9 */ bl __register_global_object +/* 8012D0D8 0012A038 38 61 00 88 */ addi r3, r1, 0x88 +/* 8012D0DC 0012A03C 48 21 0A 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D0E0 0012A040 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D0E4 0012A044 38 61 00 78 */ addi r3, r1, 0x78 +/* 8012D0E8 0012A048 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D0EC 0012A04C 38 84 00 8A */ addi r4, r4, 0x8a +/* 8012D0F0 0012A050 4B ED 7B C9 */ bl string_l__4rstlFPCc +/* 8012D0F4 0012A054 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D0F8 0012A058 38 81 00 78 */ addi r4, r1, 0x78 +/* 8012D0FC 0012A05C 38 63 00 80 */ addi r3, r3, 0x80 +/* 8012D100 0012A060 48 21 10 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D104 0012A064 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D108 0012A068 38 BF 00 60 */ addi r5, r31, 0x60 +/* 8012D10C 0012A06C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D110 0012A070 48 25 C5 7D */ bl __register_global_object +/* 8012D114 0012A074 38 61 00 78 */ addi r3, r1, 0x78 +/* 8012D118 0012A078 48 21 09 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D11C 0012A07C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D120 0012A080 38 61 00 68 */ addi r3, r1, 0x68 +/* 8012D124 0012A084 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D128 0012A088 38 84 00 90 */ addi r4, r4, 0x90 +/* 8012D12C 0012A08C 4B ED 7B 8D */ bl string_l__4rstlFPCc +/* 8012D130 0012A090 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D134 0012A094 38 81 00 68 */ addi r4, r1, 0x68 +/* 8012D138 0012A098 38 63 00 90 */ addi r3, r3, 0x90 +/* 8012D13C 0012A09C 48 21 10 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D140 0012A0A0 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D144 0012A0A4 38 BF 00 6C */ addi r5, r31, 0x6c +/* 8012D148 0012A0A8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D14C 0012A0AC 48 25 C5 41 */ bl __register_global_object +/* 8012D150 0012A0B0 38 61 00 68 */ addi r3, r1, 0x68 +/* 8012D154 0012A0B4 48 21 09 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D158 0012A0B8 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D15C 0012A0BC 38 61 00 58 */ addi r3, r1, 0x58 +/* 8012D160 0012A0C0 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D164 0012A0C4 38 84 00 97 */ addi r4, r4, 0x97 +/* 8012D168 0012A0C8 4B ED 7B 51 */ bl string_l__4rstlFPCc +/* 8012D16C 0012A0CC 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D170 0012A0D0 38 81 00 58 */ addi r4, r1, 0x58 +/* 8012D174 0012A0D4 38 63 00 A0 */ addi r3, r3, 0xa0 +/* 8012D178 0012A0D8 48 21 0F E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D17C 0012A0DC 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D180 0012A0E0 38 BF 00 78 */ addi r5, r31, 0x78 +/* 8012D184 0012A0E4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D188 0012A0E8 48 25 C5 05 */ bl __register_global_object +/* 8012D18C 0012A0EC 38 61 00 58 */ addi r3, r1, 0x58 +/* 8012D190 0012A0F0 48 21 09 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D194 0012A0F4 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D198 0012A0F8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8012D19C 0012A0FC 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D1A0 0012A100 38 84 00 9F */ addi r4, r4, 0x9f +/* 8012D1A4 0012A104 4B ED 7B 15 */ bl string_l__4rstlFPCc +/* 8012D1A8 0012A108 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D1AC 0012A10C 38 81 00 48 */ addi r4, r1, 0x48 +/* 8012D1B0 0012A110 38 63 00 B0 */ addi r3, r3, 0xb0 +/* 8012D1B4 0012A114 48 21 0F AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D1B8 0012A118 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D1BC 0012A11C 38 BF 00 84 */ addi r5, r31, 0x84 +/* 8012D1C0 0012A120 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D1C4 0012A124 48 25 C4 C9 */ bl __register_global_object +/* 8012D1C8 0012A128 38 61 00 48 */ addi r3, r1, 0x48 +/* 8012D1CC 0012A12C 48 21 09 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D1D0 0012A130 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D1D4 0012A134 38 61 00 38 */ addi r3, r1, 0x38 +/* 8012D1D8 0012A138 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D1DC 0012A13C 38 84 00 A5 */ addi r4, r4, 0xa5 +/* 8012D1E0 0012A140 4B ED 7A D9 */ bl string_l__4rstlFPCc +/* 8012D1E4 0012A144 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D1E8 0012A148 38 81 00 38 */ addi r4, r1, 0x38 +/* 8012D1EC 0012A14C 38 63 00 C0 */ addi r3, r3, 0xc0 +/* 8012D1F0 0012A150 48 21 0F 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D1F4 0012A154 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D1F8 0012A158 38 BF 00 90 */ addi r5, r31, 0x90 +/* 8012D1FC 0012A15C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D200 0012A160 48 25 C4 8D */ bl __register_global_object +/* 8012D204 0012A164 38 61 00 38 */ addi r3, r1, 0x38 +/* 8012D208 0012A168 48 21 08 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D20C 0012A16C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D210 0012A170 38 61 00 28 */ addi r3, r1, 0x28 +/* 8012D214 0012A174 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D218 0012A178 38 84 00 AC */ addi r4, r4, 0xac +/* 8012D21C 0012A17C 4B ED 7A 9D */ bl string_l__4rstlFPCc +/* 8012D220 0012A180 38 7F 00 A8 */ addi r3, r31, 0xa8 +/* 8012D224 0012A184 38 81 00 28 */ addi r4, r1, 0x28 +/* 8012D228 0012A188 38 63 00 D0 */ addi r3, r3, 0xd0 +/* 8012D22C 0012A18C 48 21 0F 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D230 0012A190 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D234 0012A194 38 BF 00 9C */ addi r5, r31, 0x9c +/* 8012D238 0012A198 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D23C 0012A19C 48 25 C4 51 */ bl __register_global_object +/* 8012D240 0012A1A0 38 61 00 28 */ addi r3, r1, 0x28 +/* 8012D244 0012A1A4 48 21 08 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D248 0012A1A8 3C 60 80 57 */ lis r3, lbl_8056F85C@ha +/* 8012D24C 0012A1AC 3C 80 80 05 */ lis r4, sub_80050534@ha +/* 8012D250 0012A1B0 38 63 F8 5C */ addi r3, r3, lbl_8056F85C@l +/* 8012D254 0012A1B4 38 00 00 00 */ li r0, 0 +/* 8012D258 0012A1B8 38 C3 00 0C */ addi r6, r3, 0xc +/* 8012D25C 0012A1BC 90 03 00 14 */ stw r0, 0x14(r3) +/* 8012D260 0012A1C0 38 84 05 34 */ addi r4, r4, sub_80050534@l +/* 8012D264 0012A1C4 38 BF 01 88 */ addi r5, r31, 0x188 +/* 8012D268 0012A1C8 90 C3 00 04 */ stw r6, 4(r3) +/* 8012D26C 0012A1CC 90 C3 00 08 */ stw r6, 8(r3) +/* 8012D270 0012A1D0 90 C6 00 00 */ stw r6, 0(r6) +/* 8012D274 0012A1D4 90 C3 00 10 */ stw r6, 0x10(r3) +/* 8012D278 0012A1D8 48 25 C4 15 */ bl __register_global_object +/* 8012D27C 0012A1DC 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D280 0012A1E0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8012D284 0012A1E4 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D288 0012A1E8 38 84 00 B4 */ addi r4, r4, 0xb4 +/* 8012D28C 0012A1EC 4B ED 7A 2D */ bl string_l__4rstlFPCc +/* 8012D290 0012A1F0 3C 60 80 57 */ lis r3, lbl_8056F894@ha +/* 8012D294 0012A1F4 38 81 00 18 */ addi r4, r1, 0x18 +/* 8012D298 0012A1F8 38 63 F8 94 */ addi r3, r3, lbl_8056F894@l +/* 8012D29C 0012A1FC 48 21 0E C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D2A0 0012A200 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D2A4 0012A204 38 BF 01 94 */ addi r5, r31, 0x194 +/* 8012D2A8 0012A208 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D2AC 0012A20C 48 25 C3 E1 */ bl __register_global_object +/* 8012D2B0 0012A210 38 61 00 18 */ addi r3, r1, 0x18 +/* 8012D2B4 0012A214 48 21 08 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D2B8 0012A218 3C 80 80 3D */ lis r4, lbl_803CFF70@ha +/* 8012D2BC 0012A21C 38 61 00 08 */ addi r3, r1, 8 +/* 8012D2C0 0012A220 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l +/* 8012D2C4 0012A224 38 84 00 BB */ addi r4, r4, 0xbb +/* 8012D2C8 0012A228 4B ED 79 F1 */ bl string_l__4rstlFPCc +/* 8012D2CC 0012A22C 3C 60 80 57 */ lis r3, lbl_8056F8A4@ha +/* 8012D2D0 0012A230 38 81 00 08 */ addi r4, r1, 8 +/* 8012D2D4 0012A234 38 63 F8 A4 */ addi r3, r3, lbl_8056F8A4@l +/* 8012D2D8 0012A238 48 21 0E 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8012D2DC 0012A23C 3C 80 80 00 */ lis r4, sub_80004a9c@ha +/* 8012D2E0 0012A240 38 BF 01 A0 */ addi r5, r31, 0x1a0 +/* 8012D2E4 0012A244 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l +/* 8012D2E8 0012A248 48 25 C3 A5 */ bl __register_global_object +/* 8012D2EC 0012A24C 38 61 00 08 */ addi r3, r1, 8 +/* 8012D2F0 0012A250 48 21 07 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8012D2F4 0012A254 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8012D2F8 0012A258 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 8012D2FC 0012A25C 7C 08 03 A6 */ mtlr r0 +/* 8012D300 0012A260 38 21 01 10 */ addi r1, r1, 0x110 +/* 8012D304 0012A264 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Enemies/CWarWasp.s b/asm/Kyoto_CWD/Enemies/CWarWasp.s new file mode 100644 index 00000000..1ba18761 --- /dev/null +++ b/asm/Kyoto_CWD/Enemies/CWarWasp.s @@ -0,0 +1,6765 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetSearchPath__8CWarWaspFv +GetSearchPath__8CWarWaspFv: +/* 8010ADC4 00107D24 38 63 05 90 */ addi r3, r3, 0x590 +/* 8010ADC8 00107D28 4E 80 00 20 */ blr + +.global IsListening__8CWarWaspCFv +IsListening__8CWarWaspCFv: +/* 8010ADCC 00107D2C 38 60 00 01 */ li r3, 1 +/* 8010ADD0 00107D30 4E 80 00 20 */ blr + +.global UpdateTelegraphMoveSpeed__8CWarWaspFR13CStateManager +UpdateTelegraphMoveSpeed__8CWarWaspFR13CStateManager: +/* 8010ADD4 00107D34 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010ADD8 00107D38 7C 08 02 A6 */ mflr r0 +/* 8010ADDC 00107D3C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010ADE0 00107D40 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8010ADE4 00107D44 7C 9F 23 78 */ mr r31, r4 +/* 8010ADE8 00107D48 7F E5 FB 78 */ mr r5, r31 +/* 8010ADEC 00107D4C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8010ADF0 00107D50 7C 7E 1B 78 */ mr r30, r3 +/* 8010ADF4 00107D54 7F C4 F3 78 */ mr r4, r30 +/* 8010ADF8 00107D58 80 C3 07 08 */ lwz r6, 0x708(r3) +/* 8010ADFC 00107D5C 38 61 00 0C */ addi r3, r1, 0xc +/* 8010AE00 00107D60 48 00 02 89 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri +/* 8010AE04 00107D64 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 8010AE08 00107D68 7F E3 FB 78 */ mr r3, r31 +/* 8010AE0C 00107D6C 38 81 00 08 */ addi r4, r1, 8 +/* 8010AE10 00107D70 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010AE14 00107D74 B0 01 00 08 */ sth r0, 8(r1) +/* 8010AE18 00107D78 4B F4 17 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010AE1C 00107D7C 7C 64 1B 78 */ mr r4, r3 +/* 8010AE20 00107D80 38 61 00 14 */ addi r3, r1, 0x14 +/* 8010AE24 00107D84 4B F9 A5 45 */ bl sub_800a5368 +/* 8010AE28 00107D88 4B F9 A5 15 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010AE2C 00107D8C 28 03 00 00 */ cmplwi r3, 0 +/* 8010AE30 00107D90 41 82 00 A4 */ beq lbl_8010AED4 +/* 8010AE34 00107D94 A0 81 00 10 */ lhz r4, 0x10(r1) +/* 8010AE38 00107D98 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8010AE3C 00107D9C 7C 04 00 40 */ cmplw r4, r0 +/* 8010AE40 00107DA0 40 82 00 88 */ bne lbl_8010AEC8 +/* 8010AE44 00107DA4 C0 7E 03 38 */ lfs f3, 0x338(r30) +/* 8010AE48 00107DA8 3C 00 43 30 */ lis r0, 0x4330 +/* 8010AE4C 00107DAC C0 02 94 C8 */ lfs f0, lbl_805AB1E8@sda21(r2) +/* 8010AE50 00107DB0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8010AE54 00107DB4 EC 23 00 32 */ fmuls f1, f3, f0 +/* 8010AE58 00107DB8 C8 42 94 E0 */ lfd f2, lbl_805AB200@sda21(r2) +/* 8010AE5C 00107DBC C0 02 94 CC */ lfs f0, lbl_805AB1EC@sda21(r2) +/* 8010AE60 00107DC0 C0 82 94 D0 */ lfs f4, lbl_805AB1F0@sda21(r2) +/* 8010AE64 00107DC4 FC 20 08 1E */ fctiwz f1, f1 +/* 8010AE68 00107DC8 D8 21 00 18 */ stfd f1, 0x18(r1) +/* 8010AE6C 00107DCC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8010AE70 00107DD0 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 8010AE74 00107DD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8010AE78 00107DD8 C8 21 00 20 */ lfd f1, 0x20(r1) +/* 8010AE7C 00107DDC EC 21 10 28 */ fsubs f1, f1, f2 +/* 8010AE80 00107DE0 EC 01 18 3C */ fnmsubs f0, f1, f0, f3 +/* 8010AE84 00107DE4 FC 00 20 40 */ fcmpo cr0, f0, f4 +/* 8010AE88 00107DE8 40 80 00 10 */ bge lbl_8010AE98 +/* 8010AE8C 00107DEC C0 1E 06 FC */ lfs f0, 0x6fc(r30) +/* 8010AE90 00107DF0 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) +/* 8010AE94 00107DF4 48 00 00 48 */ b lbl_8010AEDC +lbl_8010AE98: +/* 8010AE98 00107DF8 EC 60 20 28 */ fsubs f3, f0, f4 +/* 8010AE9C 00107DFC C0 22 94 D4 */ lfs f1, lbl_805AB1F4@sda21(r2) +/* 8010AEA0 00107E00 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010AEA4 00107E04 C0 42 94 D8 */ lfs f2, lbl_805AB1F8@sda21(r2) +/* 8010AEA8 00107E08 EC A3 08 24 */ fdivs f5, f3, f1 +/* 8010AEAC 00107E0C C0 7E 06 FC */ lfs f3, 0x6fc(r30) +/* 8010AEB0 00107E10 EC 20 28 28 */ fsubs f1, f0, f5 +/* 8010AEB4 00107E14 EC 04 01 72 */ fmuls f0, f4, f5 +/* 8010AEB8 00107E18 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8010AEBC 00107E1C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8010AEC0 00107E20 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) +/* 8010AEC4 00107E24 48 00 00 18 */ b lbl_8010AEDC +lbl_8010AEC8: +/* 8010AEC8 00107E28 C0 03 03 B4 */ lfs f0, 0x3b4(r3) +/* 8010AECC 00107E2C D0 1E 03 B4 */ stfs f0, 0x3b4(r30) +/* 8010AED0 00107E30 48 00 00 0C */ b lbl_8010AEDC +lbl_8010AED4: +/* 8010AED4 00107E34 C0 1E 06 FC */ lfs f0, 0x6fc(r30) +/* 8010AED8 00107E38 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) +lbl_8010AEDC: +/* 8010AEDC 00107E3C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010AEE0 00107E40 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8010AEE4 00107E44 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8010AEE8 00107E48 7C 08 03 A6 */ mtlr r0 +/* 8010AEEC 00107E4C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010AEF0 00107E50 4E 80 00 20 */ blr + +.global CalcOffTotemAngle__8CWarWaspFR13CStateManager +CalcOffTotemAngle__8CWarWaspFR13CStateManager: +/* 8010AEF4 00107E54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8010AEF8 00107E58 7C 08 02 A6 */ mflr r0 +/* 8010AEFC 00107E5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8010AF00 00107E60 80 64 09 00 */ lwz r3, 0x900(r4) +/* 8010AF04 00107E64 48 20 75 D9 */ bl Float__9CRandom16Fv +/* 8010AF08 00107E68 C0 42 94 EC */ lfs f2, lbl_805AB20C@sda21(r2) +/* 8010AF0C 00107E6C C0 02 94 E8 */ lfs f0, lbl_805AB208@sda21(r2) +/* 8010AF10 00107E70 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8010AF14 00107E74 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8010AF18 00107E78 7C 08 03 A6 */ mtlr r0 +/* 8010AF1C 00107E7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8010AF20 00107E80 4E 80 00 20 */ blr + +.global GetTeamZStratum__8CWarWaspFi +GetTeamZStratum__8CWarWaspFi: +/* 8010AF24 00107E84 2C 04 00 00 */ cmpwi r4, 0 +/* 8010AF28 00107E88 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8010AF2C 00107E8C C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8010AF30 00107E90 40 81 00 68 */ ble lbl_8010AF98 +/* 8010AF34 00107E94 54 80 07 FE */ clrlwi r0, r4, 0x1f +/* 8010AF38 00107E98 2C 00 00 01 */ cmpwi r0, 1 +/* 8010AF3C 00107E9C 40 82 00 34 */ bne lbl_8010AF70 +/* 8010AF40 00107EA0 7C 83 0E 70 */ srawi r3, r4, 1 +/* 8010AF44 00107EA4 3C 00 43 30 */ lis r0, 0x4330 +/* 8010AF48 00107EA8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8010AF4C 00107EAC 90 01 00 08 */ stw r0, 8(r1) +/* 8010AF50 00107EB0 C8 42 94 E0 */ lfd f2, lbl_805AB200@sda21(r2) +/* 8010AF54 00107EB4 90 61 00 0C */ stw r3, 0xc(r1) +/* 8010AF58 00107EB8 C0 62 94 F8 */ lfs f3, lbl_805AB218@sda21(r2) +/* 8010AF5C 00107EBC C8 21 00 08 */ lfd f1, 8(r1) +/* 8010AF60 00107EC0 C0 02 94 F4 */ lfs f0, lbl_805AB214@sda21(r2) +/* 8010AF64 00107EC4 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8010AF68 00107EC8 EC 23 00 7C */ fnmsubs f1, f3, f1, f0 +/* 8010AF6C 00107ECC 48 00 00 2C */ b lbl_8010AF98 +lbl_8010AF70: +/* 8010AF70 00107ED0 7C 83 0E 70 */ srawi r3, r4, 1 +/* 8010AF74 00107ED4 3C 00 43 30 */ lis r0, 0x4330 +/* 8010AF78 00107ED8 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8010AF7C 00107EDC 90 01 00 08 */ stw r0, 8(r1) +/* 8010AF80 00107EE0 C8 22 94 E0 */ lfd f1, lbl_805AB200@sda21(r2) +/* 8010AF84 00107EE4 90 61 00 0C */ stw r3, 0xc(r1) +/* 8010AF88 00107EE8 C0 42 94 F8 */ lfs f2, lbl_805AB218@sda21(r2) +/* 8010AF8C 00107EEC C8 01 00 08 */ lfd f0, 8(r1) +/* 8010AF90 00107EF0 EC 00 08 28 */ fsubs f0, f0, f1 +/* 8010AF94 00107EF4 EC 22 00 32 */ fmuls f1, f2, f0 +lbl_8010AF98: +/* 8010AF98 00107EF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8010AF9C 00107EFC 4E 80 00 20 */ blr + +.global GetAttackTeamSize__8CWarWaspFR13CStateManageri +GetAttackTeamSize__8CWarWaspFR13CStateManageri: +/* 8010AFA0 00107F00 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8010AFA4 00107F04 7C 08 02 A6 */ mflr r0 +/* 8010AFA8 00107F08 90 01 00 44 */ stw r0, 0x44(r1) +/* 8010AFAC 00107F0C BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8010AFB0 00107F10 7C 9E 23 78 */ mr r30, r4 +/* 8010AFB4 00107F14 7C 7D 1B 78 */ mr r29, r3 +/* 8010AFB8 00107F18 7C BF 2B 78 */ mr r31, r5 +/* 8010AFBC 00107F1C 38 81 00 18 */ addi r4, r1, 0x18 +/* 8010AFC0 00107F20 3B 80 00 00 */ li r28, 0 +/* 8010AFC4 00107F24 A0 03 06 74 */ lhz r0, 0x674(r3) +/* 8010AFC8 00107F28 7F C3 F3 78 */ mr r3, r30 +/* 8010AFCC 00107F2C B0 01 00 18 */ sth r0, 0x18(r1) +/* 8010AFD0 00107F30 4B F4 15 D5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010AFD4 00107F34 7C 64 1B 78 */ mr r4, r3 +/* 8010AFD8 00107F38 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010AFDC 00107F3C 4B F9 C5 99 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010AFE0 00107F40 83 63 00 04 */ lwz r27, 4(r3) +/* 8010AFE4 00107F44 28 1B 00 00 */ cmplwi r27, 0 +/* 8010AFE8 00107F48 41 82 00 88 */ beq lbl_8010B070 +/* 8010AFEC 00107F4C A0 1D 00 08 */ lhz r0, 8(r29) +/* 8010AFF0 00107F50 7F 63 DB 78 */ mr r3, r27 +/* 8010AFF4 00107F54 38 81 00 14 */ addi r4, r1, 0x14 +/* 8010AFF8 00107F58 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010AFFC 00107F5C B0 01 00 14 */ sth r0, 0x14(r1) +/* 8010B000 00107F60 48 12 DF F1 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId +/* 8010B004 00107F64 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010B008 00107F68 41 82 00 68 */ beq lbl_8010B070 +/* 8010B00C 00107F6C 83 BB 00 64 */ lwz r29, 0x64(r27) +/* 8010B010 00107F70 48 00 00 48 */ b lbl_8010B058 +lbl_8010B014: +/* 8010B014 00107F74 A0 1D 00 00 */ lhz r0, 0(r29) +/* 8010B018 00107F78 7F C3 F3 78 */ mr r3, r30 +/* 8010B01C 00107F7C 38 81 00 0C */ addi r4, r1, 0xc +/* 8010B020 00107F80 B0 01 00 08 */ sth r0, 8(r1) +/* 8010B024 00107F84 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010B028 00107F88 4B F4 15 7D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B02C 00107F8C 7C 64 1B 78 */ mr r4, r3 +/* 8010B030 00107F90 38 61 00 1C */ addi r3, r1, 0x1c +/* 8010B034 00107F94 4B F9 A3 35 */ bl sub_800a5368 +/* 8010B038 00107F98 4B F9 A3 05 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010B03C 00107F9C 28 03 00 00 */ cmplwi r3, 0 +/* 8010B040 00107FA0 41 82 00 14 */ beq lbl_8010B054 +/* 8010B044 00107FA4 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8010B048 00107FA8 7C 1F 00 00 */ cmpw r31, r0 +/* 8010B04C 00107FAC 40 82 00 08 */ bne lbl_8010B054 +/* 8010B050 00107FB0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8010B054: +/* 8010B054 00107FB4 3B BD 00 28 */ addi r29, r29, 0x28 +lbl_8010B058: +/* 8010B058 00107FB8 80 1B 00 5C */ lwz r0, 0x5c(r27) +/* 8010B05C 00107FBC 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 8010B060 00107FC0 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8010B064 00107FC4 7C 03 02 14 */ add r0, r3, r0 +/* 8010B068 00107FC8 7C 1D 00 40 */ cmplw r29, r0 +/* 8010B06C 00107FCC 40 82 FF A8 */ bne lbl_8010B014 +lbl_8010B070: +/* 8010B070 00107FD0 7F 83 E3 78 */ mr r3, r28 +/* 8010B074 00107FD4 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8010B078 00107FD8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8010B07C 00107FDC 7C 08 03 A6 */ mtlr r0 +/* 8010B080 00107FE0 38 21 00 40 */ addi r1, r1, 0x40 +/* 8010B084 00107FE4 4E 80 00 20 */ blr + +.global GetAttackTeamLeader__8CWarWaspFR13CStateManageri +GetAttackTeamLeader__8CWarWaspFR13CStateManageri: +/* 8010B088 00107FE8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8010B08C 00107FEC 7C 08 02 A6 */ mflr r0 +/* 8010B090 00107FF0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8010B094 00107FF4 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 8010B098 00107FF8 7C BE 2B 78 */ mr r30, r5 +/* 8010B09C 00107FFC 7C 7D 1B 78 */ mr r29, r3 +/* 8010B0A0 00108000 7C 9C 23 78 */ mr r28, r4 +/* 8010B0A4 00108004 7C DF 33 78 */ mr r31, r6 +/* 8010B0A8 00108008 7F C3 F3 78 */ mr r3, r30 +/* 8010B0AC 0010800C A0 04 06 74 */ lhz r0, 0x674(r4) +/* 8010B0B0 00108010 38 81 00 18 */ addi r4, r1, 0x18 +/* 8010B0B4 00108014 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8010B0B8 00108018 4B F4 14 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B0BC 0010801C 7C 64 1B 78 */ mr r4, r3 +/* 8010B0C0 00108020 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010B0C4 00108024 4B F9 C4 B1 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010B0C8 00108028 83 63 00 04 */ lwz r27, 4(r3) +/* 8010B0CC 0010802C 28 1B 00 00 */ cmplwi r27, 0 +/* 8010B0D0 00108030 41 82 00 90 */ beq lbl_8010B160 +/* 8010B0D4 00108034 A0 1C 00 08 */ lhz r0, 8(r28) +/* 8010B0D8 00108038 7F 63 DB 78 */ mr r3, r27 +/* 8010B0DC 0010803C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8010B0E0 00108040 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010B0E4 00108044 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8010B0E8 00108048 48 12 DF 09 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId +/* 8010B0EC 0010804C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010B0F0 00108050 41 82 00 70 */ beq lbl_8010B160 +/* 8010B0F4 00108054 83 9B 00 64 */ lwz r28, 0x64(r27) +/* 8010B0F8 00108058 48 00 00 50 */ b lbl_8010B148 +lbl_8010B0FC: +/* 8010B0FC 0010805C A0 1C 00 00 */ lhz r0, 0(r28) +/* 8010B100 00108060 7F C3 F3 78 */ mr r3, r30 +/* 8010B104 00108064 38 81 00 0C */ addi r4, r1, 0xc +/* 8010B108 00108068 B0 01 00 08 */ sth r0, 8(r1) +/* 8010B10C 0010806C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010B110 00108070 4B F4 14 95 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B114 00108074 7C 64 1B 78 */ mr r4, r3 +/* 8010B118 00108078 38 61 00 1C */ addi r3, r1, 0x1c +/* 8010B11C 0010807C 4B F9 A2 4D */ bl sub_800a5368 +/* 8010B120 00108080 4B F9 A2 1D */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010B124 00108084 28 03 00 00 */ cmplwi r3, 0 +/* 8010B128 00108088 41 82 00 1C */ beq lbl_8010B144 +/* 8010B12C 0010808C 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8010B130 00108090 7C 1F 00 00 */ cmpw r31, r0 +/* 8010B134 00108094 40 82 00 10 */ bne lbl_8010B144 +/* 8010B138 00108098 A0 1C 00 00 */ lhz r0, 0(r28) +/* 8010B13C 0010809C B0 1D 00 00 */ sth r0, 0(r29) +/* 8010B140 001080A0 48 00 00 28 */ b lbl_8010B168 +lbl_8010B144: +/* 8010B144 001080A4 3B 9C 00 28 */ addi r28, r28, 0x28 +lbl_8010B148: +/* 8010B148 001080A8 80 1B 00 5C */ lwz r0, 0x5c(r27) +/* 8010B14C 001080AC 80 7B 00 64 */ lwz r3, 0x64(r27) +/* 8010B150 001080B0 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8010B154 001080B4 7C 03 02 14 */ add r0, r3, r0 +/* 8010B158 001080B8 7C 1C 00 40 */ cmplw r28, r0 +/* 8010B15C 001080BC 40 82 FF A0 */ bne lbl_8010B0FC +lbl_8010B160: +/* 8010B160 001080C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8010B164 001080C4 B0 1D 00 00 */ sth r0, 0(r29) +lbl_8010B168: +/* 8010B168 001080C8 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 8010B16C 001080CC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8010B170 001080D0 7C 08 03 A6 */ mtlr r0 +/* 8010B174 001080D4 38 21 00 40 */ addi r1, r1, 0x40 +/* 8010B178 001080D8 4E 80 00 20 */ blr + +.global TryCircleTeamMerge__8CWarWaspFR13CStateManager +TryCircleTeamMerge__8CWarWaspFR13CStateManager: +/* 8010B17C 001080DC 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8010B180 001080E0 7C 08 02 A6 */ mflr r0 +/* 8010B184 001080E4 90 01 00 54 */ stw r0, 0x54(r1) +/* 8010B188 001080E8 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 8010B18C 001080EC 7C 7B 1B 78 */ mr r27, r3 +/* 8010B190 001080F0 7C 9F 23 78 */ mr r31, r4 +/* 8010B194 001080F4 83 A3 07 08 */ lwz r29, 0x708(r3) +/* 8010B198 001080F8 2C 1D 00 00 */ cmpwi r29, 0 +/* 8010B19C 001080FC 40 81 00 F8 */ ble lbl_8010B294 +/* 8010B1A0 00108100 A0 1B 06 74 */ lhz r0, 0x674(r27) +/* 8010B1A4 00108104 7F E3 FB 78 */ mr r3, r31 +/* 8010B1A8 00108108 38 81 00 1C */ addi r4, r1, 0x1c +/* 8010B1AC 0010810C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8010B1B0 00108110 4B F4 13 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B1B4 00108114 7C 64 1B 78 */ mr r4, r3 +/* 8010B1B8 00108118 38 61 00 24 */ addi r3, r1, 0x24 +/* 8010B1BC 0010811C 4B F9 C3 B9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010B1C0 00108120 83 83 00 04 */ lwz r28, 4(r3) +/* 8010B1C4 00108124 28 1C 00 00 */ cmplwi r28, 0 +/* 8010B1C8 00108128 41 82 00 CC */ beq lbl_8010B294 +/* 8010B1CC 0010812C A0 1B 00 08 */ lhz r0, 8(r27) +/* 8010B1D0 00108130 7F 83 E3 78 */ mr r3, r28 +/* 8010B1D4 00108134 38 81 00 18 */ addi r4, r1, 0x18 +/* 8010B1D8 00108138 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8010B1DC 0010813C B0 01 00 18 */ sth r0, 0x18(r1) +/* 8010B1E0 00108140 48 12 DE 11 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId +/* 8010B1E4 00108144 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010B1E8 00108148 41 82 00 AC */ beq lbl_8010B294 +/* 8010B1EC 0010814C A3 DB 00 08 */ lhz r30, 8(r27) +/* 8010B1F0 00108150 7F 64 DB 78 */ mr r4, r27 +/* 8010B1F4 00108154 7F E5 FB 78 */ mr r5, r31 +/* 8010B1F8 00108158 7F A6 EB 78 */ mr r6, r29 +/* 8010B1FC 0010815C 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010B200 00108160 4B FF FE 89 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri +/* 8010B204 00108164 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8010B208 00108168 7C 00 F0 40 */ cmplw r0, r30 +/* 8010B20C 0010816C 40 82 00 88 */ bne lbl_8010B294 +/* 8010B210 00108170 7F 63 DB 78 */ mr r3, r27 +/* 8010B214 00108174 7F E4 FB 78 */ mr r4, r31 +/* 8010B218 00108178 38 BD FF FF */ addi r5, r29, -1 +/* 8010B21C 0010817C 4B FF FD 85 */ bl GetAttackTeamSize__8CWarWaspFR13CStateManageri +/* 8010B220 00108180 2C 03 00 00 */ cmpwi r3, 0 +/* 8010B224 00108184 40 82 00 70 */ bne lbl_8010B294 +/* 8010B228 00108188 83 DC 00 64 */ lwz r30, 0x64(r28) +/* 8010B22C 0010818C 48 00 00 50 */ b lbl_8010B27C +lbl_8010B230: +/* 8010B230 00108190 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8010B234 00108194 7F E3 FB 78 */ mr r3, r31 +/* 8010B238 00108198 38 81 00 0C */ addi r4, r1, 0xc +/* 8010B23C 0010819C B0 01 00 08 */ sth r0, 8(r1) +/* 8010B240 001081A0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010B244 001081A4 4B F4 13 31 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8010B248 001081A8 7C 64 1B 78 */ mr r4, r3 +/* 8010B24C 001081AC 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010B250 001081B0 4B F9 A1 19 */ bl sub_800a5368 +/* 8010B254 001081B4 4B F9 A0 E9 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010B258 001081B8 28 03 00 00 */ cmplwi r3, 0 +/* 8010B25C 001081BC 41 82 00 1C */ beq lbl_8010B278 +/* 8010B260 001081C0 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8010B264 001081C4 7C 1D 00 00 */ cmpw r29, r0 +/* 8010B268 001081C8 40 82 00 10 */ bne lbl_8010B278 +/* 8010B26C 001081CC 7F E5 FB 78 */ mr r5, r31 +/* 8010B270 001081D0 38 9D FF FF */ addi r4, r29, -1 +/* 8010B274 001081D4 48 00 23 41 */ bl JoinCircleAttackTeam__8CWarWaspFiR13CStateManager +lbl_8010B278: +/* 8010B278 001081D8 3B DE 00 28 */ addi r30, r30, 0x28 +lbl_8010B27C: +/* 8010B27C 001081DC 80 1C 00 5C */ lwz r0, 0x5c(r28) +/* 8010B280 001081E0 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 8010B284 001081E4 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8010B288 001081E8 7C 03 02 14 */ add r0, r3, r0 +/* 8010B28C 001081EC 7C 1E 00 40 */ cmplw r30, r0 +/* 8010B290 001081F0 40 82 FF A0 */ bne lbl_8010B230 +lbl_8010B294: +/* 8010B294 001081F4 BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 8010B298 001081F8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8010B29C 001081FC 7C 08 03 A6 */ mtlr r0 +/* 8010B2A0 00108200 38 21 00 50 */ addi r1, r1, 0x50 +/* 8010B2A4 00108204 4E 80 00 20 */ blr + +.global SetUpCircleTelegraphTeam__8CWarWaspFR13CStateManager +SetUpCircleTelegraphTeam__8CWarWaspFR13CStateManager: +/* 8010B2A8 00108208 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8010B2AC 0010820C 7C 08 02 A6 */ mflr r0 +/* 8010B2B0 00108210 90 01 00 54 */ stw r0, 0x54(r1) +/* 8010B2B4 00108214 BF 01 00 30 */ stmw r24, 0x30(r1) +/* 8010B2B8 00108218 7C 7A 1B 78 */ mr r26, r3 +/* 8010B2BC 0010821C 7C 9B 23 78 */ mr r27, r4 +/* 8010B2C0 00108220 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8010B2C4 00108224 2C 00 FF FF */ cmpwi r0, -1 +/* 8010B2C8 00108228 40 82 01 54 */ bne lbl_8010B41C +/* 8010B2CC 0010822C A0 1A 06 74 */ lhz r0, 0x674(r26) +/* 8010B2D0 00108230 7F 63 DB 78 */ mr r3, r27 +/* 8010B2D4 00108234 38 81 00 18 */ addi r4, r1, 0x18 +/* 8010B2D8 00108238 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8010B2DC 0010823C 4B F4 12 C9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B2E0 00108240 7C 64 1B 78 */ mr r4, r3 +/* 8010B2E4 00108244 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010B2E8 00108248 4B F9 C2 8D */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010B2EC 0010824C 83 E3 00 04 */ lwz r31, 4(r3) +/* 8010B2F0 00108250 28 1F 00 00 */ cmplwi r31, 0 +/* 8010B2F4 00108254 41 82 01 28 */ beq lbl_8010B41C +/* 8010B2F8 00108258 A0 1A 00 08 */ lhz r0, 8(r26) +/* 8010B2FC 0010825C 7F E3 FB 78 */ mr r3, r31 +/* 8010B300 00108260 38 81 00 14 */ addi r4, r1, 0x14 +/* 8010B304 00108264 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010B308 00108268 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8010B30C 0010826C 48 12 DC E5 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId +/* 8010B310 00108270 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010B314 00108274 41 82 01 08 */ beq lbl_8010B41C +/* 8010B318 00108278 83 3F 00 44 */ lwz r25, 0x44(r31) +/* 8010B31C 0010827C 2C 19 00 00 */ cmpwi r25, 0 +/* 8010B320 00108280 40 81 00 FC */ ble lbl_8010B41C +/* 8010B324 00108284 83 1F 00 64 */ lwz r24, 0x64(r31) +/* 8010B328 00108288 3B C0 00 00 */ li r30, 0 +/* 8010B32C 0010828C 3B A0 00 00 */ li r29, 0 +/* 8010B330 00108290 3B 80 00 00 */ li r28, 0 +/* 8010B334 00108294 48 00 00 8C */ b lbl_8010B3C0 +lbl_8010B338: +/* 8010B338 00108298 A0 18 00 00 */ lhz r0, 0(r24) +/* 8010B33C 0010829C 7F 63 DB 78 */ mr r3, r27 +/* 8010B340 001082A0 38 81 00 0C */ addi r4, r1, 0xc +/* 8010B344 001082A4 B0 01 00 08 */ sth r0, 8(r1) +/* 8010B348 001082A8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010B34C 001082AC 4B F4 12 59 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B350 001082B0 7C 64 1B 78 */ mr r4, r3 +/* 8010B354 001082B4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8010B358 001082B8 4B F9 A0 11 */ bl sub_800a5368 +/* 8010B35C 001082BC 4B F9 9F E1 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010B360 001082C0 28 03 00 00 */ cmplwi r3, 0 +/* 8010B364 001082C4 41 82 00 58 */ beq lbl_8010B3BC +/* 8010B368 001082C8 80 9A 07 0C */ lwz r4, 0x70c(r26) +/* 8010B36C 001082CC 2C 04 FF FF */ cmpwi r4, -1 +/* 8010B370 001082D0 41 82 00 28 */ beq lbl_8010B398 +/* 8010B374 001082D4 80 03 07 0C */ lwz r0, 0x70c(r3) +/* 8010B378 001082D8 7C 04 00 00 */ cmpw r4, r0 +/* 8010B37C 001082DC 40 82 00 1C */ bne lbl_8010B398 +/* 8010B380 001082E0 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8010B384 001082E4 2C 00 00 00 */ cmpwi r0, 0 +/* 8010B388 001082E8 41 80 00 10 */ blt lbl_8010B398 +/* 8010B38C 001082EC 7C 1E 03 78 */ mr r30, r0 +/* 8010B390 001082F0 3B 80 00 01 */ li r28, 1 +/* 8010B394 001082F4 48 00 00 44 */ b lbl_8010B3D8 +lbl_8010B398: +/* 8010B398 001082F8 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8010B39C 001082FC 7C 00 F0 00 */ cmpw r0, r30 +/* 8010B3A0 00108300 40 81 00 10 */ ble lbl_8010B3B0 +/* 8010B3A4 00108304 7C 1E 03 78 */ mr r30, r0 +/* 8010B3A8 00108308 3B A0 00 01 */ li r29, 1 +/* 8010B3AC 0010830C 48 00 00 10 */ b lbl_8010B3BC +lbl_8010B3B0: +/* 8010B3B0 00108310 7C 1E 00 00 */ cmpw r30, r0 +/* 8010B3B4 00108314 40 82 00 08 */ bne lbl_8010B3BC +/* 8010B3B8 00108318 3B BD 00 01 */ addi r29, r29, 1 +lbl_8010B3BC: +/* 8010B3BC 0010831C 3B 18 00 28 */ addi r24, r24, 0x28 +lbl_8010B3C0: +/* 8010B3C0 00108320 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 8010B3C4 00108324 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8010B3C8 00108328 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8010B3CC 0010832C 7C 03 02 14 */ add r0, r3, r0 +/* 8010B3D0 00108330 7C 18 00 40 */ cmplw r24, r0 +/* 8010B3D4 00108334 40 82 FF 64 */ bne lbl_8010B338 +lbl_8010B3D8: +/* 8010B3D8 00108338 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8010B3DC 0010833C 40 82 00 1C */ bne lbl_8010B3F8 +/* 8010B3E0 00108340 80 1A 07 0C */ lwz r0, 0x70c(r26) +/* 8010B3E4 00108344 2C 00 FF FF */ cmpwi r0, -1 +/* 8010B3E8 00108348 40 82 00 0C */ bne lbl_8010B3F4 +/* 8010B3EC 0010834C 7C 1D C8 00 */ cmpw r29, r25 +/* 8010B3F0 00108350 41 80 00 08 */ blt lbl_8010B3F8 +lbl_8010B3F4: +/* 8010B3F4 00108354 3B DE 00 01 */ addi r30, r30, 1 +lbl_8010B3F8: +/* 8010B3F8 00108358 7F 43 D3 78 */ mr r3, r26 +/* 8010B3FC 0010835C 7F C4 F3 78 */ mr r4, r30 +/* 8010B400 00108360 7F 65 DB 78 */ mr r5, r27 +/* 8010B404 00108364 48 00 21 B1 */ bl JoinCircleAttackTeam__8CWarWaspFiR13CStateManager +/* 8010B408 00108368 80 7B 09 00 */ lwz r3, 0x900(r27) +/* 8010B40C 0010836C 48 20 70 D1 */ bl Float__9CRandom16Fv +/* 8010B410 00108370 C0 02 94 FC */ lfs f0, lbl_805AB21C@sda21(r2) +/* 8010B414 00108374 EC 00 00 72 */ fmuls f0, f0, f1 +/* 8010B418 00108378 D0 1A 07 14 */ stfs f0, 0x714(r26) +lbl_8010B41C: +/* 8010B41C 0010837C BB 01 00 30 */ lmw r24, 0x30(r1) +/* 8010B420 00108380 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8010B424 00108384 7C 08 03 A6 */ mtlr r0 +/* 8010B428 00108388 38 21 00 50 */ addi r1, r1, 0x50 +/* 8010B42C 0010838C 4E 80 00 20 */ blr + +.global CheckCircleAttackSpread__8CWarWaspFR13CStateManageri +CheckCircleAttackSpread__8CWarWaspFR13CStateManageri: +/* 8010B430 00108390 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8010B434 00108394 7C 08 02 A6 */ mflr r0 +/* 8010B438 00108398 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8010B43C 0010839C DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 8010B440 001083A0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8010B444 001083A4 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 8010B448 001083A8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 8010B44C 001083AC DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 8010B450 001083B0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 8010B454 001083B4 DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 8010B458 001083B8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 8010B45C 001083BC DB 61 00 90 */ stfd f27, 0x90(r1) +/* 8010B460 001083C0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 8010B464 001083C4 DB 41 00 80 */ stfd f26, 0x80(r1) +/* 8010B468 001083C8 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 +/* 8010B46C 001083CC DB 21 00 70 */ stfd f25, 0x70(r1) +/* 8010B470 001083D0 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 +/* 8010B474 001083D4 BF 21 00 54 */ stmw r25, 0x54(r1) +/* 8010B478 001083D8 7C 7C 1B 78 */ mr r28, r3 +/* 8010B47C 001083DC 7C 9D 23 78 */ mr r29, r4 +/* 8010B480 001083E0 A0 03 06 74 */ lhz r0, 0x674(r3) +/* 8010B484 001083E4 7C BE 2B 78 */ mr r30, r5 +/* 8010B488 001083E8 7F A3 EB 78 */ mr r3, r29 +/* 8010B48C 001083EC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8010B490 001083F0 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8010B494 001083F4 4B F4 11 11 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B498 001083F8 7C 64 1B 78 */ mr r4, r3 +/* 8010B49C 001083FC 38 61 00 28 */ addi r3, r1, 0x28 +/* 8010B4A0 00108400 4B F9 C0 D5 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010B4A4 00108404 83 E3 00 04 */ lwz r31, 4(r3) +/* 8010B4A8 00108408 28 1F 00 00 */ cmplwi r31, 0 +/* 8010B4AC 0010840C 41 82 01 C8 */ beq lbl_8010B674 +/* 8010B4B0 00108410 7F 83 E3 78 */ mr r3, r28 +/* 8010B4B4 00108414 7F A4 EB 78 */ mr r4, r29 +/* 8010B4B8 00108418 7F C5 F3 78 */ mr r5, r30 +/* 8010B4BC 0010841C 4B FF FA E5 */ bl GetAttackTeamSize__8CWarWaspFR13CStateManageri +/* 8010B4C0 00108420 7C 7A 1B 78 */ mr r26, r3 +/* 8010B4C4 00108424 2C 1A 00 01 */ cmpwi r26, 1 +/* 8010B4C8 00108428 40 82 00 0C */ bne lbl_8010B4D4 +/* 8010B4CC 0010842C 38 60 00 01 */ li r3, 1 +/* 8010B4D0 00108430 48 00 01 A8 */ b lbl_8010B678 +lbl_8010B4D4: +/* 8010B4D4 00108434 7F 84 E3 78 */ mr r4, r28 +/* 8010B4D8 00108438 7F A5 EB 78 */ mr r5, r29 +/* 8010B4DC 0010843C 7F C6 F3 78 */ mr r6, r30 +/* 8010B4E0 00108440 38 61 00 14 */ addi r3, r1, 0x14 +/* 8010B4E4 00108444 4B FF FB A5 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri +/* 8010B4E8 00108448 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 8010B4EC 0010844C 7F A3 EB 78 */ mr r3, r29 +/* 8010B4F0 00108450 38 81 00 10 */ addi r4, r1, 0x10 +/* 8010B4F4 00108454 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8010B4F8 00108458 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010B4FC 0010845C 4B F4 10 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B500 00108460 7C 64 1B 78 */ mr r4, r3 +/* 8010B504 00108464 38 61 00 24 */ addi r3, r1, 0x24 +/* 8010B508 00108468 4B F9 9E 61 */ bl sub_800a5368 +/* 8010B50C 0010846C 4B F9 9E 31 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010B510 00108470 28 03 00 00 */ cmplwi r3, 0 +/* 8010B514 00108474 41 82 01 60 */ beq lbl_8010B674 +/* 8010B518 00108478 C3 A3 00 60 */ lfs f29, 0x60(r3) +/* 8010B51C 0010847C C0 1C 06 B8 */ lfs f0, 0x6b8(r28) +/* 8010B520 00108480 C3 C3 00 50 */ lfs f30, 0x50(r3) +/* 8010B524 00108484 C0 3C 06 B4 */ lfs f1, 0x6b4(r28) +/* 8010B528 00108488 EC 5D 00 28 */ fsubs f2, f29, f0 +/* 8010B52C 0010848C C3 E3 00 40 */ lfs f31, 0x40(r3) +/* 8010B530 00108490 C0 1C 06 B0 */ lfs f0, 0x6b0(r28) +/* 8010B534 00108494 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 8010B538 00108498 C3 83 00 38 */ lfs f28, 0x38(r3) +/* 8010B53C 0010849C EC 1F 00 28 */ fsubs f0, f31, f0 +/* 8010B540 001084A0 C3 63 00 48 */ lfs f27, 0x48(r3) +/* 8010B544 001084A4 C3 43 00 58 */ lfs f26, 0x58(r3) +/* 8010B548 001084A8 C3 22 94 F0 */ lfs f25, lbl_805AB210@sda21(r2) +/* 8010B54C 001084AC D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8010B550 001084B0 A3 61 00 1C */ lhz r27, 0x1c(r1) +/* 8010B554 001084B4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8010B558 001084B8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8010B55C 001084BC 83 3F 00 64 */ lwz r25, 0x64(r31) +/* 8010B560 001084C0 48 00 00 C0 */ b lbl_8010B620 +lbl_8010B564: +/* 8010B564 001084C4 A0 19 00 00 */ lhz r0, 0(r25) +/* 8010B568 001084C8 7C 00 D8 40 */ cmplw r0, r27 +/* 8010B56C 001084CC 41 82 00 B0 */ beq lbl_8010B61C +/* 8010B570 001084D0 B0 01 00 08 */ sth r0, 8(r1) +/* 8010B574 001084D4 7F A3 EB 78 */ mr r3, r29 +/* 8010B578 001084D8 38 81 00 0C */ addi r4, r1, 0xc +/* 8010B57C 001084DC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010B580 001084E0 4B F4 10 25 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B584 001084E4 7C 64 1B 78 */ mr r4, r3 +/* 8010B588 001084E8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010B58C 001084EC 4B F9 9D DD */ bl sub_800a5368 +/* 8010B590 001084F0 4B F9 9D AD */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010B594 001084F4 28 03 00 00 */ cmplwi r3, 0 +/* 8010B598 001084F8 41 82 00 84 */ beq lbl_8010B61C +/* 8010B59C 001084FC 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8010B5A0 00108500 7C 1E 00 00 */ cmpw r30, r0 +/* 8010B5A4 00108504 40 82 00 78 */ bne lbl_8010B61C +/* 8010B5A8 00108508 C0 A3 00 50 */ lfs f5, 0x50(r3) +/* 8010B5AC 0010850C C0 83 00 40 */ lfs f4, 0x40(r3) +/* 8010B5B0 00108510 EC 25 F0 28 */ fsubs f1, f5, f30 +/* 8010B5B4 00108514 C0 C3 00 60 */ lfs f6, 0x60(r3) +/* 8010B5B8 00108518 EC 44 F8 28 */ fsubs f2, f4, f31 +/* 8010B5BC 0010851C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010B5C0 00108520 EC 66 E8 28 */ fsubs f3, f6, f29 +/* 8010B5C4 00108524 EC 3B 00 72 */ fmuls f1, f27, f1 +/* 8010B5C8 00108528 EC 3C 08 BA */ fmadds f1, f28, f2, f1 +/* 8010B5CC 0010852C EC 3A 08 FA */ fmadds f1, f26, f3, f1 +/* 8010B5D0 00108530 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010B5D4 00108534 40 81 00 0C */ ble lbl_8010B5E0 +/* 8010B5D8 00108538 38 60 00 00 */ li r3, 0 +/* 8010B5DC 0010853C 48 00 00 9C */ b lbl_8010B678 +lbl_8010B5E0: +/* 8010B5E0 00108540 C0 5C 06 B4 */ lfs f2, 0x6b4(r28) +/* 8010B5E4 00108544 38 61 00 30 */ addi r3, r1, 0x30 +/* 8010B5E8 00108548 C0 3C 06 B8 */ lfs f1, 0x6b8(r28) +/* 8010B5EC 0010854C 38 81 00 3C */ addi r4, r1, 0x3c +/* 8010B5F0 00108550 C0 1C 06 B0 */ lfs f0, 0x6b0(r28) +/* 8010B5F4 00108554 EC 45 10 28 */ fsubs f2, f5, f2 +/* 8010B5F8 00108558 EC 26 08 28 */ fsubs f1, f6, f1 +/* 8010B5FC 0010855C EC 04 00 28 */ fsubs f0, f4, f0 +/* 8010B600 00108560 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8010B604 00108564 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8010B608 00108568 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8010B60C 0010856C 48 20 90 25 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 8010B610 00108570 FC 01 C8 40 */ fcmpo cr0, f1, f25 +/* 8010B614 00108574 40 81 00 08 */ ble lbl_8010B61C +/* 8010B618 00108578 FF 20 08 90 */ fmr f25, f1 +lbl_8010B61C: +/* 8010B61C 0010857C 3B 39 00 28 */ addi r25, r25, 0x28 +lbl_8010B620: +/* 8010B620 00108580 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 8010B624 00108584 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8010B628 00108588 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8010B62C 0010858C 7C 03 02 14 */ add r0, r3, r0 +/* 8010B630 00108590 7C 19 00 40 */ cmplw r25, r0 +/* 8010B634 00108594 40 82 FF 30 */ bne lbl_8010B564 +/* 8010B638 00108598 38 7A FF FF */ addi r3, r26, -1 +/* 8010B63C 0010859C 3C 00 43 30 */ lis r0, 0x4330 +/* 8010B640 001085A0 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8010B644 001085A4 90 01 00 48 */ stw r0, 0x48(r1) +/* 8010B648 001085A8 C8 42 94 E0 */ lfd f2, lbl_805AB200@sda21(r2) +/* 8010B64C 001085AC 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8010B650 001085B0 C0 62 95 04 */ lfs f3, lbl_805AB224@sda21(r2) +/* 8010B654 001085B4 C8 21 00 48 */ lfd f1, 0x48(r1) +/* 8010B658 001085B8 C0 02 95 00 */ lfs f0, lbl_805AB220@sda21(r2) +/* 8010B65C 001085BC EC 21 10 28 */ fsubs f1, f1, f2 +/* 8010B660 001085C0 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 8010B664 001085C4 FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 8010B668 001085C8 7C 00 00 26 */ mfcr r0 +/* 8010B66C 001085CC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8010B670 001085D0 48 00 00 08 */ b lbl_8010B678 +lbl_8010B674: +/* 8010B674 001085D4 38 60 00 00 */ li r3, 0 +lbl_8010B678: +/* 8010B678 001085D8 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 8010B67C 001085DC CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8010B680 001085E0 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 8010B684 001085E4 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 8010B688 001085E8 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 8010B68C 001085EC CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 8010B690 001085F0 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 8010B694 001085F4 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 8010B698 001085F8 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 8010B69C 001085FC CB 61 00 90 */ lfd f27, 0x90(r1) +/* 8010B6A0 00108600 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 +/* 8010B6A4 00108604 CB 41 00 80 */ lfd f26, 0x80(r1) +/* 8010B6A8 00108608 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 +/* 8010B6AC 0010860C CB 21 00 70 */ lfd f25, 0x70(r1) +/* 8010B6B0 00108610 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 8010B6B4 00108614 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8010B6B8 00108618 7C 08 03 A6 */ mtlr r0 +/* 8010B6BC 0010861C 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8010B6C0 00108620 4E 80 00 20 */ blr + +.global CalcSeekMagnitude__8CWarWaspFR13CStateManager +CalcSeekMagnitude__8CWarWaspFR13CStateManager: +/* 8010B6C4 00108624 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8010B6C8 00108628 7C 08 02 A6 */ mflr r0 +/* 8010B6CC 0010862C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8010B6D0 00108630 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 8010B6D4 00108634 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 8010B6D8 00108638 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 8010B6DC 0010863C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 8010B6E0 00108640 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 8010B6E4 00108644 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 8010B6E8 00108648 DB 81 00 80 */ stfd f28, 0x80(r1) +/* 8010B6EC 0010864C F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 8010B6F0 00108650 DB 61 00 70 */ stfd f27, 0x70(r1) +/* 8010B6F4 00108654 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 +/* 8010B6F8 00108658 DB 41 00 60 */ stfd f26, 0x60(r1) +/* 8010B6FC 0010865C F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 +/* 8010B700 00108660 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8010B704 00108664 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8010B708 00108668 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8010B70C 0010866C 93 81 00 50 */ stw r28, 0x50(r1) +/* 8010B710 00108670 7C 7D 1B 78 */ mr r29, r3 +/* 8010B714 00108674 C0 22 95 08 */ lfs f1, lbl_805AB228@sda21(r2) +/* 8010B718 00108678 80 A3 07 08 */ lwz r5, 0x708(r3) +/* 8010B71C 0010867C 7C 9E 23 78 */ mr r30, r4 +/* 8010B720 00108680 38 00 00 00 */ li r0, 0 +/* 8010B724 00108684 2C 05 00 00 */ cmpwi r5, 0 +/* 8010B728 00108688 41 80 00 10 */ blt lbl_8010B738 +/* 8010B72C 0010868C 2C 05 00 03 */ cmpwi r5, 3 +/* 8010B730 00108690 40 80 00 08 */ bge lbl_8010B738 +/* 8010B734 00108694 38 00 00 01 */ li r0, 1 +lbl_8010B738: +/* 8010B738 00108698 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8010B73C 0010869C 41 82 00 18 */ beq lbl_8010B754 +/* 8010B740 001086A0 3C 60 80 3D */ lis r3, lbl_803CF1D8@ha +/* 8010B744 001086A4 54 A0 10 3A */ slwi r0, r5, 2 +/* 8010B748 001086A8 38 63 F1 D8 */ addi r3, r3, lbl_803CF1D8@l +/* 8010B74C 001086AC 7C 03 04 2E */ lfsx f0, r3, r0 +/* 8010B750 001086B0 48 00 00 08 */ b lbl_8010B758 +lbl_8010B754: +/* 8010B754 001086B4 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +lbl_8010B758: +/* 8010B758 001086B8 A0 1D 06 74 */ lhz r0, 0x674(r29) +/* 8010B75C 001086BC EF 81 00 32 */ fmuls f28, f1, f0 +/* 8010B760 001086C0 7F C3 F3 78 */ mr r3, r30 +/* 8010B764 001086C4 38 81 00 1C */ addi r4, r1, 0x1c +/* 8010B768 001086C8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8010B76C 001086CC 4B F4 0E 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B770 001086D0 7C 64 1B 78 */ mr r4, r3 +/* 8010B774 001086D4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8010B778 001086D8 4B F9 BD FD */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010B77C 001086DC 83 E3 00 04 */ lwz r31, 4(r3) +/* 8010B780 001086E0 28 1F 00 00 */ cmplwi r31, 0 +/* 8010B784 001086E4 41 82 02 00 */ beq lbl_8010B984 +/* 8010B788 001086E8 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8010B78C 001086EC 7F E3 FB 78 */ mr r3, r31 +/* 8010B790 001086F0 38 81 00 18 */ addi r4, r1, 0x18 +/* 8010B794 001086F4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8010B798 001086F8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8010B79C 001086FC 48 12 D8 55 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId +/* 8010B7A0 00108700 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010B7A4 00108704 41 82 01 E0 */ beq lbl_8010B984 +/* 8010B7A8 00108708 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 8010B7AC 0010870C 28 00 00 01 */ cmplwi r0, 1 +/* 8010B7B0 00108710 40 81 01 D4 */ ble lbl_8010B984 +/* 8010B7B4 00108714 80 DD 07 08 */ lwz r6, 0x708(r29) +/* 8010B7B8 00108718 7F A4 EB 78 */ mr r4, r29 +/* 8010B7BC 0010871C 7F C5 F3 78 */ mr r5, r30 +/* 8010B7C0 00108720 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010B7C4 00108724 4B FF F8 C5 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri +/* 8010B7C8 00108728 A0 7D 00 08 */ lhz r3, 8(r29) +/* 8010B7CC 0010872C A0 01 00 10 */ lhz r0, 0x10(r1) +/* 8010B7D0 00108730 7C 03 00 40 */ cmplw r3, r0 +/* 8010B7D4 00108734 41 82 01 B0 */ beq lbl_8010B984 +/* 8010B7D8 00108738 80 BD 07 08 */ lwz r5, 0x708(r29) +/* 8010B7DC 0010873C 7F A3 EB 78 */ mr r3, r29 +/* 8010B7E0 00108740 7F C4 F3 78 */ mr r4, r30 +/* 8010B7E4 00108744 4B FF F7 BD */ bl GetAttackTeamSize__8CWarWaspFR13CStateManageri +/* 8010B7E8 00108748 38 63 FF FF */ addi r3, r3, -1 +/* 8010B7EC 0010874C 3C 00 43 30 */ lis r0, 0x4330 +/* 8010B7F0 00108750 6C 63 80 00 */ xoris r3, r3, 0x8000 +/* 8010B7F4 00108754 90 01 00 48 */ stw r0, 0x48(r1) +/* 8010B7F8 00108758 C8 62 94 E0 */ lfd f3, lbl_805AB200@sda21(r2) +/* 8010B7FC 0010875C 90 61 00 4C */ stw r3, 0x4c(r1) +/* 8010B800 00108760 C0 22 95 04 */ lfs f1, lbl_805AB224@sda21(r2) +/* 8010B804 00108764 C8 41 00 48 */ lfd f2, 0x48(r1) +/* 8010B808 00108768 C0 02 94 C4 */ lfs f0, lbl_805AB1E4@sda21(r2) +/* 8010B80C 0010876C EC 42 18 28 */ fsubs f2, f2, f3 +/* 8010B810 00108770 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 8010B814 00108774 EC 21 10 24 */ fdivs f1, f1, f2 +/* 8010B818 00108778 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8010B81C 0010877C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8010B820 00108780 40 80 00 0C */ bge lbl_8010B82C +/* 8010B824 00108784 38 61 00 24 */ addi r3, r1, 0x24 +/* 8010B828 00108788 48 00 00 08 */ b lbl_8010B830 +lbl_8010B82C: +/* 8010B82C 0010878C 38 62 94 C4 */ addi r3, r2, lbl_805AB1E4@sda21 +lbl_8010B830: +/* 8010B830 00108790 C0 7D 00 50 */ lfs f3, 0x50(r29) +/* 8010B834 00108794 C0 5D 06 B4 */ lfs f2, 0x6b4(r29) +/* 8010B838 00108798 C0 3D 00 60 */ lfs f1, 0x60(r29) +/* 8010B83C 0010879C C0 1D 06 B8 */ lfs f0, 0x6b8(r29) +/* 8010B840 001087A0 EC 63 10 28 */ fsubs f3, f3, f2 +/* 8010B844 001087A4 C3 63 00 00 */ lfs f27, 0(r3) +/* 8010B848 001087A8 EC 41 00 28 */ fsubs f2, f1, f0 +/* 8010B84C 001087AC C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 8010B850 001087B0 C0 1D 06 B0 */ lfs f0, 0x6b0(r29) +/* 8010B854 001087B4 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 8010B858 001087B8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010B85C 001087BC C3 FD 00 38 */ lfs f31, 0x38(r29) +/* 8010B860 001087C0 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8010B864 001087C4 C3 DD 00 48 */ lfs f30, 0x48(r29) +/* 8010B868 001087C8 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8010B86C 001087CC C3 BD 00 58 */ lfs f29, 0x58(r29) +/* 8010B870 001087D0 C3 42 95 0C */ lfs f26, lbl_805AB22C@sda21(r2) +/* 8010B874 001087D4 83 9F 00 64 */ lwz r28, 0x64(r31) +/* 8010B878 001087D8 48 00 00 CC */ b lbl_8010B944 +lbl_8010B87C: +/* 8010B87C 001087DC A0 BC 00 00 */ lhz r5, 0(r28) +/* 8010B880 001087E0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8010B884 001087E4 7C 05 00 40 */ cmplw r5, r0 +/* 8010B888 001087E8 41 82 00 B8 */ beq lbl_8010B940 +/* 8010B88C 001087EC B0 A1 00 08 */ sth r5, 8(r1) +/* 8010B890 001087F0 7F C3 F3 78 */ mr r3, r30 +/* 8010B894 001087F4 38 81 00 0C */ addi r4, r1, 0xc +/* 8010B898 001087F8 B0 A1 00 0C */ sth r5, 0xc(r1) +/* 8010B89C 001087FC 4B F4 0D 09 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010B8A0 00108800 7C 64 1B 78 */ mr r4, r3 +/* 8010B8A4 00108804 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010B8A8 00108808 4B F9 9A C1 */ bl sub_800a5368 +/* 8010B8AC 0010880C 4B F9 9A 91 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010B8B0 00108810 28 03 00 00 */ cmplwi r3, 0 +/* 8010B8B4 00108814 41 82 00 8C */ beq lbl_8010B940 +/* 8010B8B8 00108818 80 83 07 08 */ lwz r4, 0x708(r3) +/* 8010B8BC 0010881C 80 1D 07 08 */ lwz r0, 0x708(r29) +/* 8010B8C0 00108820 7C 04 00 00 */ cmpw r4, r0 +/* 8010B8C4 00108824 40 82 00 7C */ bne lbl_8010B940 +/* 8010B8C8 00108828 C0 A3 00 50 */ lfs f5, 0x50(r3) +/* 8010B8CC 0010882C C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 8010B8D0 00108830 C0 C3 00 40 */ lfs f6, 0x40(r3) +/* 8010B8D4 00108834 EC 05 00 28 */ fsubs f0, f5, f0 +/* 8010B8D8 00108838 C0 3D 00 40 */ lfs f1, 0x40(r29) +/* 8010B8DC 0010883C C0 83 00 60 */ lfs f4, 0x60(r3) +/* 8010B8E0 00108840 EC 46 08 28 */ fsubs f2, f6, f1 +/* 8010B8E4 00108844 C0 7D 00 60 */ lfs f3, 0x60(r29) +/* 8010B8E8 00108848 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8010B8EC 0010884C EC 64 18 28 */ fsubs f3, f4, f3 +/* 8010B8F0 00108850 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010B8F4 00108854 EC 3F 08 BA */ fmadds f1, f31, f2, f1 +/* 8010B8F8 00108858 EC 3D 08 FA */ fmadds f1, f29, f3, f1 +/* 8010B8FC 0010885C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010B900 00108860 40 81 00 40 */ ble lbl_8010B940 +/* 8010B904 00108864 C0 5D 06 B4 */ lfs f2, 0x6b4(r29) +/* 8010B908 00108868 38 61 00 3C */ addi r3, r1, 0x3c +/* 8010B90C 0010886C C0 3D 06 B8 */ lfs f1, 0x6b8(r29) +/* 8010B910 00108870 38 81 00 30 */ addi r4, r1, 0x30 +/* 8010B914 00108874 C0 1D 06 B0 */ lfs f0, 0x6b0(r29) +/* 8010B918 00108878 EC 45 10 28 */ fsubs f2, f5, f2 +/* 8010B91C 0010887C EC 24 08 28 */ fsubs f1, f4, f1 +/* 8010B920 00108880 EC 06 00 28 */ fsubs f0, f6, f0 +/* 8010B924 00108884 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8010B928 00108888 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8010B92C 0010888C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8010B930 00108890 48 20 8D 01 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 8010B934 00108894 FC 01 D0 40 */ fcmpo cr0, f1, f26 +/* 8010B938 00108898 40 80 00 08 */ bge lbl_8010B940 +/* 8010B93C 0010889C FF 40 08 90 */ fmr f26, f1 +lbl_8010B940: +/* 8010B940 001088A0 3B 9C 00 28 */ addi r28, r28, 0x28 +lbl_8010B944: +/* 8010B944 001088A4 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 8010B948 001088A8 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 8010B94C 001088AC 1C 00 00 28 */ mulli r0, r0, 0x28 +/* 8010B950 001088B0 7C 03 02 14 */ add r0, r3, r0 +/* 8010B954 001088B4 7C 1C 00 40 */ cmplw r28, r0 +/* 8010B958 001088B8 40 82 FF 24 */ bne lbl_8010B87C +/* 8010B95C 001088BC C0 22 94 E8 */ lfs f1, lbl_805AB208@sda21(r2) +/* 8010B960 001088C0 EC 1B 08 28 */ fsubs f0, f27, f1 +/* 8010B964 001088C4 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 8010B968 001088C8 40 80 00 0C */ bge lbl_8010B974 +/* 8010B96C 001088CC C3 82 94 D4 */ lfs f28, lbl_805AB1F4@sda21(r2) +/* 8010B970 001088D0 48 00 00 14 */ b lbl_8010B984 +lbl_8010B974: +/* 8010B974 001088D4 EC 01 D8 2A */ fadds f0, f1, f27 +/* 8010B978 001088D8 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 8010B97C 001088DC 40 81 00 08 */ ble lbl_8010B984 +/* 8010B980 001088E0 C3 82 94 DC */ lfs f28, lbl_805AB1FC@sda21(r2) +lbl_8010B984: +/* 8010B984 001088E4 FC 20 E0 90 */ fmr f1, f28 +/* 8010B988 001088E8 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 8010B98C 001088EC CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 8010B990 001088F0 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 8010B994 001088F4 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 8010B998 001088F8 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 8010B99C 001088FC CB A1 00 90 */ lfd f29, 0x90(r1) +/* 8010B9A0 00108900 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 8010B9A4 00108904 CB 81 00 80 */ lfd f28, 0x80(r1) +/* 8010B9A8 00108908 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 +/* 8010B9AC 0010890C CB 61 00 70 */ lfd f27, 0x70(r1) +/* 8010B9B0 00108910 E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 +/* 8010B9B4 00108914 CB 41 00 60 */ lfd f26, 0x60(r1) +/* 8010B9B8 00108918 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8010B9BC 0010891C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8010B9C0 00108920 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8010B9C4 00108924 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8010B9C8 00108928 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8010B9CC 0010892C 7C 08 03 A6 */ mtlr r0 +/* 8010B9D0 00108930 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8010B9D4 00108934 4E 80 00 20 */ blr + +.global SetUpCircleBurstWaypoint__8CWarWaspFR13CStateManager +SetUpCircleBurstWaypoint__8CWarWaspFR13CStateManager: +/* 8010B9D8 00108938 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010B9DC 0010893C 7C 08 02 A6 */ mflr r0 +/* 8010B9E0 00108940 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010B9E4 00108944 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8010B9E8 00108948 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8010B9EC 0010894C 7C 9E 23 78 */ mr r30, r4 +/* 8010B9F0 00108950 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8010B9F4 00108954 7C 7D 1B 78 */ mr r29, r3 +/* 8010B9F8 00108958 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 8010B9FC 0010895C 48 00 00 B0 */ b lbl_8010BAAC +lbl_8010BA00: +/* 8010BA00 00108960 80 1F 00 00 */ lwz r0, 0(r31) +/* 8010BA04 00108964 2C 00 00 0B */ cmpwi r0, 0xb +/* 8010BA08 00108968 40 82 00 A0 */ bne lbl_8010BAA8 +/* 8010BA0C 0010896C 80 1F 00 04 */ lwz r0, 4(r31) +/* 8010BA10 00108970 2C 00 00 06 */ cmpwi r0, 6 +/* 8010BA14 00108974 40 82 00 94 */ bne lbl_8010BAA8 +/* 8010BA18 00108978 80 1F 00 08 */ lwz r0, 8(r31) +/* 8010BA1C 0010897C 7F C4 F3 78 */ mr r4, r30 +/* 8010BA20 00108980 38 61 00 08 */ addi r3, r1, 8 +/* 8010BA24 00108984 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8010BA28 00108988 90 01 00 10 */ stw r0, 0x10(r1) +/* 8010BA2C 0010898C 4B F3 C4 F1 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8010BA30 00108990 A0 01 00 08 */ lhz r0, 8(r1) +/* 8010BA34 00108994 7F C3 F3 78 */ mr r3, r30 +/* 8010BA38 00108998 38 81 00 0C */ addi r4, r1, 0xc +/* 8010BA3C 0010899C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010BA40 001089A0 4B F4 0B 65 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010BA44 001089A4 7C 64 1B 78 */ mr r4, r3 +/* 8010BA48 001089A8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8010BA4C 001089AC 4B F9 AB 01 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" +/* 8010BA50 001089B0 80 63 00 04 */ lwz r3, 4(r3) +/* 8010BA54 001089B4 28 03 00 00 */ cmplwi r3, 0 +/* 8010BA58 001089B8 41 82 00 50 */ beq lbl_8010BAA8 +/* 8010BA5C 001089BC C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8010BA60 001089C0 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8010BA64 001089C4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8010BA68 001089C8 D0 1D 06 B0 */ stfs f0, 0x6b0(r29) +/* 8010BA6C 001089CC D0 3D 06 B4 */ stfs f1, 0x6b4(r29) +/* 8010BA70 001089D0 D0 5D 06 B8 */ stfs f2, 0x6b8(r29) +/* 8010BA74 001089D4 C0 43 00 58 */ lfs f2, 0x58(r3) +/* 8010BA78 001089D8 C0 23 00 48 */ lfs f1, 0x48(r3) +/* 8010BA7C 001089DC C0 03 00 38 */ lfs f0, 0x38(r3) +/* 8010BA80 001089E0 D0 1D 06 BC */ stfs f0, 0x6bc(r29) +/* 8010BA84 001089E4 D0 3D 06 C0 */ stfs f1, 0x6c0(r29) +/* 8010BA88 001089E8 D0 5D 06 C4 */ stfs f2, 0x6c4(r29) +/* 8010BA8C 001089EC C0 43 00 54 */ lfs f2, 0x54(r3) +/* 8010BA90 001089F0 C0 23 00 44 */ lfs f1, 0x44(r3) +/* 8010BA94 001089F4 C0 03 00 34 */ lfs f0, 0x34(r3) +/* 8010BA98 001089F8 D0 1D 06 C8 */ stfs f0, 0x6c8(r29) +/* 8010BA9C 001089FC D0 3D 06 CC */ stfs f1, 0x6cc(r29) +/* 8010BAA0 00108A00 D0 5D 06 D0 */ stfs f2, 0x6d0(r29) +/* 8010BAA4 00108A04 48 00 00 20 */ b lbl_8010BAC4 +lbl_8010BAA8: +/* 8010BAA8 00108A08 3B FF 00 0C */ addi r31, r31, 0xc +lbl_8010BAAC: +/* 8010BAAC 00108A0C 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8010BAB0 00108A10 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 8010BAB4 00108A14 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8010BAB8 00108A18 7C 03 02 14 */ add r0, r3, r0 +/* 8010BABC 00108A1C 7C 1F 00 40 */ cmplw r31, r0 +/* 8010BAC0 00108A20 40 82 FF 40 */ bne lbl_8010BA00 +lbl_8010BAC4: +/* 8010BAC4 00108A24 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010BAC8 00108A28 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8010BACC 00108A2C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8010BAD0 00108A30 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8010BAD4 00108A34 7C 08 03 A6 */ mtlr r0 +/* 8010BAD8 00108A38 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010BADC 00108A3C 4E 80 00 20 */ blr + +.global GetCloseInPos__8CWarWaspCFR13CStateManagerRC9CVector3f +GetCloseInPos__8CWarWaspCFR13CStateManagerRC9CVector3f: +/* 8010BAE0 00108A40 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8010BAE4 00108A44 7C 08 02 A6 */ mflr r0 +/* 8010BAE8 00108A48 90 01 00 94 */ stw r0, 0x94(r1) +/* 8010BAEC 00108A4C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8010BAF0 00108A50 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8010BAF4 00108A54 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 8010BAF8 00108A58 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8010BAFC 00108A5C DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8010BB00 00108A60 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 8010BB04 00108A64 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8010BB08 00108A68 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8010BB0C 00108A6C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 8010BB10 00108A70 7C 9E 23 78 */ mr r30, r4 +/* 8010BB14 00108A74 7C BF 2B 78 */ mr r31, r5 +/* 8010BB18 00108A78 C0 24 02 FC */ lfs f1, 0x2fc(r4) +/* 8010BB1C 00108A7C 7C 7D 1B 78 */ mr r29, r3 +/* 8010BB20 00108A80 C0 04 03 00 */ lfs f0, 0x300(r4) +/* 8010BB24 00108A84 80 65 08 4C */ lwz r3, 0x84c(r5) +/* 8010BB28 00108A88 EC 01 00 2A */ fadds f0, f1, f0 +/* 8010BB2C 00108A8C C0 22 95 10 */ lfs f1, lbl_805AB230@sda21(r2) +/* 8010BB30 00108A90 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8010BB34 00108A94 C3 E6 00 00 */ lfs f31, 0(r6) +/* 8010BB38 00108A98 2C 00 00 00 */ cmpwi r0, 0 +/* 8010BB3C 00108A9C EF A1 00 32 */ fmuls f29, f1, f0 +/* 8010BB40 00108AA0 C3 C6 00 04 */ lfs f30, 4(r6) +/* 8010BB44 00108AA4 C0 66 00 08 */ lfs f3, 8(r6) +/* 8010BB48 00108AA8 40 82 00 20 */ bne lbl_8010BB68 +/* 8010BB4C 00108AAC C0 23 00 38 */ lfs f1, 0x38(r3) +/* 8010BB50 00108AB0 C0 03 00 48 */ lfs f0, 0x48(r3) +/* 8010BB54 00108AB4 EC 3D 00 72 */ fmuls f1, f29, f1 +/* 8010BB58 00108AB8 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 8010BB5C 00108ABC EF BF 08 2A */ fadds f29, f31, f1 +/* 8010BB60 00108AC0 EF DE 00 2A */ fadds f30, f30, f0 +/* 8010BB64 00108AC4 48 00 00 B4 */ b lbl_8010BC18 +lbl_8010BB68: +/* 8010BB68 00108AC8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8010BB6C 00108ACC 38 61 00 38 */ addi r3, r1, 0x38 +/* 8010BB70 00108AD0 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 8010BB74 00108AD4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8010BB78 00108AD8 EC 42 F0 28 */ fsubs f2, f2, f30 +/* 8010BB7C 00108ADC EC 21 18 28 */ fsubs f1, f1, f3 +/* 8010BB80 00108AE0 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8010BB84 00108AE4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8010BB88 00108AE8 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8010BB8C 00108AEC D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8010BB90 00108AF0 48 20 8B 69 */ bl CanBeNormalized__9CVector3fCFv +/* 8010BB94 00108AF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010BB98 00108AF8 41 82 00 3C */ beq lbl_8010BBD4 +/* 8010BB9C 00108AFC 38 61 00 2C */ addi r3, r1, 0x2c +/* 8010BBA0 00108B00 38 81 00 38 */ addi r4, r1, 0x38 +/* 8010BBA4 00108B04 48 20 8C AD */ bl AsNormalized__9CVector3fCFv +/* 8010BBA8 00108B08 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 8010BBAC 00108B0C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010BBB0 00108B10 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8010BBB4 00108B14 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8010BBB8 00108B18 EC 5D 00 B2 */ fmuls f2, f29, f2 +/* 8010BBBC 00108B1C EC 3D 00 72 */ fmuls f1, f29, f1 +/* 8010BBC0 00108B20 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 8010BBC4 00108B24 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8010BBC8 00108B28 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8010BBCC 00108B2C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8010BBD0 00108B30 48 00 00 38 */ b lbl_8010BC08 +lbl_8010BBD4: +/* 8010BBD4 00108B34 C0 9E 00 58 */ lfs f4, 0x58(r30) +/* 8010BBD8 00108B38 38 61 00 08 */ addi r3, r1, 8 +/* 8010BBDC 00108B3C C0 1E 00 48 */ lfs f0, 0x48(r30) +/* 8010BBE0 00108B40 C0 3E 00 38 */ lfs f1, 0x38(r30) +/* 8010BBE4 00108B44 EC 5D 01 32 */ fmuls f2, f29, f4 +/* 8010BBE8 00108B48 EC 7D 00 32 */ fmuls f3, f29, f0 +/* 8010BBEC 00108B4C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8010BBF0 00108B50 EC 1D 00 72 */ fmuls f0, f29, f1 +/* 8010BBF4 00108B54 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8010BBF8 00108B58 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 8010BBFC 00108B5C D0 01 00 08 */ stfs f0, 8(r1) +/* 8010BC00 00108B60 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 8010BC04 00108B64 D0 41 00 10 */ stfs f2, 0x10(r1) +lbl_8010BC08: +/* 8010BC08 00108B68 C0 23 00 00 */ lfs f1, 0(r3) +/* 8010BC0C 00108B6C C0 03 00 04 */ lfs f0, 4(r3) +/* 8010BC10 00108B70 EF BF 08 2A */ fadds f29, f31, f1 +/* 8010BC14 00108B74 EF DE 00 2A */ fadds f30, f30, f0 +lbl_8010BC18: +/* 8010BC18 00108B78 7F C3 F3 78 */ mr r3, r30 +/* 8010BC1C 00108B7C 7F E4 FB 78 */ mr r4, r31 +/* 8010BC20 00108B80 48 00 00 4D */ bl GetCloseInZBasis__8CWarWaspCFR13CStateManager +/* 8010BC24 00108B84 C0 02 95 10 */ lfs f0, lbl_805AB230@sda21(r2) +/* 8010BC28 00108B88 D3 BD 00 00 */ stfs f29, 0(r29) +/* 8010BC2C 00108B8C EC 00 08 2A */ fadds f0, f0, f1 +/* 8010BC30 00108B90 D3 DD 00 04 */ stfs f30, 4(r29) +/* 8010BC34 00108B94 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8010BC38 00108B98 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8010BC3C 00108B9C CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8010BC40 00108BA0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 8010BC44 00108BA4 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 8010BC48 00108BA8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8010BC4C 00108BAC CB A1 00 60 */ lfd f29, 0x60(r1) +/* 8010BC50 00108BB0 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8010BC54 00108BB4 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8010BC58 00108BB8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8010BC5C 00108BBC 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 8010BC60 00108BC0 7C 08 03 A6 */ mtlr r0 +/* 8010BC64 00108BC4 38 21 00 90 */ addi r1, r1, 0x90 +/* 8010BC68 00108BC8 4E 80 00 20 */ blr + +.global GetCloseInZBasis__8CWarWaspCFR13CStateManager +GetCloseInZBasis__8CWarWaspCFR13CStateManager: +/* 8010BC6C 00108BCC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8010BC70 00108BD0 7C 08 02 A6 */ mflr r0 +/* 8010BC74 00108BD4 90 01 00 24 */ stw r0, 0x24(r1) +/* 8010BC78 00108BD8 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8010BC7C 00108BDC C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8010BC80 00108BE0 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8010BC84 00108BE4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8010BC88 00108BE8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8010BC8C 00108BEC D0 01 00 08 */ stfs f0, 8(r1) +/* 8010BC90 00108BF0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8010BC94 00108BF4 48 17 91 4D */ bl GetEyeHeight__7CPlayerCFv +/* 8010BC98 00108BF8 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 8010BC9C 00108BFC C0 02 94 FC */ lfs f0, lbl_805AB21C@sda21(r2) +/* 8010BCA0 00108C00 EC 22 08 2A */ fadds f1, f2, f1 +/* 8010BCA4 00108C04 EC 20 08 2A */ fadds f1, f0, f1 +/* 8010BCA8 00108C08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8010BCAC 00108C0C 7C 08 03 A6 */ mtlr r0 +/* 8010BCB0 00108C10 38 21 00 20 */ addi r1, r1, 0x20 +/* 8010BCB4 00108C14 4E 80 00 20 */ blr + +.global CalcShuffleDest__8CWarWaspFR13CStateManager +CalcShuffleDest__8CWarWaspFR13CStateManager: +/* 8010BCB8 00108C18 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8010BCBC 00108C1C 7C 08 02 A6 */ mflr r0 +/* 8010BCC0 00108C20 90 01 00 64 */ stw r0, 0x64(r1) +/* 8010BCC4 00108C24 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8010BCC8 00108C28 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8010BCCC 00108C2C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 8010BCD0 00108C30 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 +/* 8010BCD4 00108C34 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8010BCD8 00108C38 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8010BCDC 00108C3C 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8010BCE0 00108C40 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010BCE4 00108C44 7C 7D 1B 78 */ mr r29, r3 +/* 8010BCE8 00108C48 7C 9E 23 78 */ mr r30, r4 +/* 8010BCEC 00108C4C 7C BF 2B 78 */ mr r31, r5 +/* 8010BCF0 00108C50 38 61 00 14 */ addi r3, r1, 0x14 +/* 8010BCF4 00108C54 48 00 01 AD */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010BCF8 00108C58 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8010BCFC 00108C5C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010BD00 00108C60 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010BD04 00108C64 C0 64 00 58 */ lfs f3, 0x58(r4) +/* 8010BD08 00108C68 C0 44 00 48 */ lfs f2, 0x48(r4) +/* 8010BD0C 00108C6C C0 24 00 38 */ lfs f1, 0x38(r4) +/* 8010BD10 00108C70 C3 C1 00 14 */ lfs f30, 0x14(r1) +/* 8010BD14 00108C74 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 8010BD18 00108C78 C3 E1 00 18 */ lfs f31, 0x18(r1) +/* 8010BD1C 00108C7C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8010BD20 00108C80 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 8010BD24 00108C84 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8010BD28 00108C88 48 20 89 D1 */ bl CanBeNormalized__9CVector3fCFv +/* 8010BD2C 00108C8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010BD30 00108C90 41 82 00 18 */ beq lbl_8010BD48 +/* 8010BD34 00108C94 38 61 00 08 */ addi r3, r1, 8 +/* 8010BD38 00108C98 38 81 00 20 */ addi r4, r1, 0x20 +/* 8010BD3C 00108C9C 48 20 8B 15 */ bl AsNormalized__9CVector3fCFv +/* 8010BD40 00108CA0 38 A1 00 08 */ addi r5, r1, 8 +/* 8010BD44 00108CA4 48 00 00 0C */ b lbl_8010BD50 +lbl_8010BD48: +/* 8010BD48 00108CA8 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 8010BD4C 00108CAC 38 A3 67 24 */ addi r5, r3, lbl_805A6724@l +lbl_8010BD50: +/* 8010BD50 00108CB0 C0 45 00 00 */ lfs f2, 0(r5) +/* 8010BD54 00108CB4 7F C3 F3 78 */ mr r3, r30 +/* 8010BD58 00108CB8 C0 22 95 18 */ lfs f1, lbl_805AB238@sda21(r2) +/* 8010BD5C 00108CBC 7F E4 FB 78 */ mr r4, r31 +/* 8010BD60 00108CC0 C0 1E 03 00 */ lfs f0, 0x300(r30) +/* 8010BD64 00108CC4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8010BD68 00108CC8 EC 61 00 2A */ fadds f3, f1, f0 +/* 8010BD6C 00108CCC C0 05 00 04 */ lfs f0, 4(r5) +/* 8010BD70 00108CD0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8010BD74 00108CD4 EC 23 00 B2 */ fmuls f1, f3, f2 +/* 8010BD78 00108CD8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 8010BD7C 00108CDC C0 45 00 08 */ lfs f2, 8(r5) +/* 8010BD80 00108CE0 EF DE 08 2A */ fadds f30, f30, f1 +/* 8010BD84 00108CE4 EF FF 00 2A */ fadds f31, f31, f0 +/* 8010BD88 00108CE8 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8010BD8C 00108CEC 4B FF FE E1 */ bl GetCloseInZBasis__8CWarWaspCFR13CStateManager +/* 8010BD90 00108CF0 D3 DD 00 00 */ stfs f30, 0(r29) +/* 8010BD94 00108CF4 D3 FD 00 04 */ stfs f31, 4(r29) +/* 8010BD98 00108CF8 D0 3D 00 08 */ stfs f1, 8(r29) +/* 8010BD9C 00108CFC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8010BDA0 00108D00 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8010BDA4 00108D04 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 +/* 8010BDA8 00108D08 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 8010BDAC 00108D0C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8010BDB0 00108D10 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8010BDB4 00108D14 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8010BDB8 00108D18 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8010BDBC 00108D1C 7C 08 03 A6 */ mtlr r0 +/* 8010BDC0 00108D20 38 21 00 60 */ addi r1, r1, 0x60 +/* 8010BDC4 00108D24 4E 80 00 20 */ blr + +.global CalcTimeToNextAttack__8CWarWaspFR13CStateManager +CalcTimeToNextAttack__8CWarWaspFR13CStateManager: +/* 8010BDC8 00108D28 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8010BDCC 00108D2C 7C 08 02 A6 */ mflr r0 +/* 8010BDD0 00108D30 90 01 00 44 */ stw r0, 0x44(r1) +/* 8010BDD4 00108D34 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8010BDD8 00108D38 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8010BDDC 00108D3C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8010BDE0 00108D40 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8010BDE4 00108D44 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8010BDE8 00108D48 7C 7D 1B 78 */ mr r29, r3 +/* 8010BDEC 00108D4C 7C 9E 23 78 */ mr r30, r4 +/* 8010BDF0 00108D50 A0 03 06 74 */ lhz r0, 0x674(r3) +/* 8010BDF4 00108D54 7F C3 F3 78 */ mr r3, r30 +/* 8010BDF8 00108D58 C3 E2 94 DC */ lfs f31, lbl_805AB1FC@sda21(r2) +/* 8010BDFC 00108D5C 38 81 00 08 */ addi r4, r1, 8 +/* 8010BE00 00108D60 B0 01 00 08 */ sth r0, 8(r1) +/* 8010BE04 00108D64 4B F4 07 A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010BE08 00108D68 7C 64 1B 78 */ mr r4, r3 +/* 8010BE0C 00108D6C 38 61 00 0C */ addi r3, r1, 0xc +/* 8010BE10 00108D70 4B F9 B7 65 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010BE14 00108D74 80 63 00 04 */ lwz r3, 4(r3) +/* 8010BE18 00108D78 28 03 00 00 */ cmplwi r3, 0 +/* 8010BE1C 00108D7C 41 82 00 48 */ beq lbl_8010BE64 +/* 8010BE20 00108D80 80 1D 03 FC */ lwz r0, 0x3fc(r29) +/* 8010BE24 00108D84 2C 00 00 02 */ cmpwi r0, 2 +/* 8010BE28 00108D88 40 82 00 0C */ bne lbl_8010BE34 +/* 8010BE2C 00108D8C 83 E3 00 48 */ lwz r31, 0x48(r3) +/* 8010BE30 00108D90 48 00 00 08 */ b lbl_8010BE38 +lbl_8010BE34: +/* 8010BE34 00108D94 83 E3 00 44 */ lwz r31, 0x44(r3) +lbl_8010BE38: +/* 8010BE38 00108D98 2C 00 00 02 */ cmpwi r0, 2 +/* 8010BE3C 00108D9C 40 82 00 10 */ bne lbl_8010BE4C +/* 8010BE40 00108DA0 38 80 00 02 */ li r4, 2 +/* 8010BE44 00108DA4 48 12 D6 1D */ bl GetNumAssignedOfRole__10CTeamAiMgrCFQ211CTeamAiRole11ETeamAiRole +/* 8010BE48 00108DA8 48 00 00 0C */ b lbl_8010BE54 +lbl_8010BE4C: +/* 8010BE4C 00108DAC 38 80 00 01 */ li r4, 1 +/* 8010BE50 00108DB0 48 12 D6 11 */ bl GetNumAssignedOfRole__10CTeamAiMgrCFQ211CTeamAiRole11ETeamAiRole +lbl_8010BE54: +/* 8010BE54 00108DB4 7C 03 F8 40 */ cmplw r3, r31 +/* 8010BE58 00108DB8 41 81 00 0C */ bgt lbl_8010BE64 +/* 8010BE5C 00108DBC C0 02 95 10 */ lfs f0, lbl_805AB230@sda21(r2) +/* 8010BE60 00108DC0 EF FF 00 32 */ fmuls f31, f31, f0 +lbl_8010BE64: +/* 8010BE64 00108DC4 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8010BE68 00108DC8 48 20 66 75 */ bl Float__9CRandom16Fv +/* 8010BE6C 00108DCC C0 5D 03 08 */ lfs f2, 0x308(r29) +/* 8010BE70 00108DD0 C0 1D 03 04 */ lfs f0, 0x304(r29) +/* 8010BE74 00108DD4 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8010BE78 00108DD8 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 8010BE7C 00108DDC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8010BE80 00108DE0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8010BE84 00108DE4 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8010BE88 00108DE8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8010BE8C 00108DEC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8010BE90 00108DF0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8010BE94 00108DF4 7C 08 03 A6 */ mtlr r0 +/* 8010BE98 00108DF8 38 21 00 40 */ addi r1, r1, 0x40 +/* 8010BE9C 00108DFC 4E 80 00 20 */ blr + +.global GetProjectileAimPos__8CWarWaspFR13CStateManagerf +GetProjectileAimPos__8CWarWaspFR13CStateManagerf: +/* 8010BEA0 00108E00 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010BEA4 00108E04 7C 08 02 A6 */ mflr r0 +/* 8010BEA8 00108E08 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010BEAC 00108E0C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8010BEB0 00108E10 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8010BEB4 00108E14 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8010BEB8 00108E18 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8010BEBC 00108E1C 7C BF 2B 78 */ mr r31, r5 +/* 8010BEC0 00108E20 FF E0 08 90 */ fmr f31, f1 +/* 8010BEC4 00108E24 80 85 08 4C */ lwz r4, 0x84c(r5) +/* 8010BEC8 00108E28 7C 7E 1B 78 */ mr r30, r3 +/* 8010BECC 00108E2C 38 61 00 08 */ addi r3, r1, 8 +/* 8010BED0 00108E30 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8010BED4 00108E34 81 84 00 00 */ lwz r12, 0(r4) +/* 8010BED8 00108E38 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8010BEDC 00108E3C 7D 89 03 A6 */ mtctr r12 +/* 8010BEE0 00108E40 4E 80 04 21 */ bctrl +/* 8010BEE4 00108E44 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8010BEE8 00108E48 C0 21 00 08 */ lfs f1, 8(r1) +/* 8010BEEC 00108E4C 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 8010BEF0 00108E50 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8010BEF4 00108E54 2C 00 00 01 */ cmpwi r0, 1 +/* 8010BEF8 00108E58 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 8010BEFC 00108E5C 41 82 00 14 */ beq lbl_8010BF10 +/* 8010BF00 00108E60 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010BF04 00108E64 EC 63 F8 2A */ fadds f3, f3, f31 +/* 8010BF08 00108E68 EC 21 00 2A */ fadds f1, f1, f0 +/* 8010BF0C 00108E6C EC 42 00 2A */ fadds f2, f2, f0 +lbl_8010BF10: +/* 8010BF10 00108E70 D0 3E 00 00 */ stfs f1, 0(r30) +/* 8010BF14 00108E74 D0 5E 00 04 */ stfs f2, 4(r30) +/* 8010BF18 00108E78 D0 7E 00 08 */ stfs f3, 8(r30) +/* 8010BF1C 00108E7C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8010BF20 00108E80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010BF24 00108E84 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8010BF28 00108E88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8010BF2C 00108E8C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010BF30 00108E90 7C 08 03 A6 */ mtlr r0 +/* 8010BF34 00108E94 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010BF38 00108E98 4E 80 00 20 */ blr + +.global ApplyDamage__8CWarWaspFR13CStateManager +ApplyDamage__8CWarWaspFR13CStateManager: +/* 8010BF3C 00108E9C 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8010BF40 00108EA0 7C 08 02 A6 */ mflr r0 +/* 8010BF44 00108EA4 90 01 01 44 */ stw r0, 0x144(r1) +/* 8010BF48 00108EA8 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 8010BF4C 00108EAC F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 8010BF50 00108EB0 DB C1 01 20 */ stfd f30, 0x120(r1) +/* 8010BF54 00108EB4 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 8010BF58 00108EB8 DB A1 01 10 */ stfd f29, 0x110(r1) +/* 8010BF5C 00108EBC F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 8010BF60 00108EC0 DB 81 01 00 */ stfd f28, 0x100(r1) +/* 8010BF64 00108EC4 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 8010BF68 00108EC8 DB 61 00 F0 */ stfd f27, 0xf0(r1) +/* 8010BF6C 00108ECC F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 +/* 8010BF70 00108ED0 DB 41 00 E0 */ stfd f26, 0xe0(r1) +/* 8010BF74 00108ED4 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 +/* 8010BF78 00108ED8 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 8010BF7C 00108EDC 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 8010BF80 00108EE0 88 03 07 2E */ lbz r0, 0x72e(r3) +/* 8010BF84 00108EE4 7C 7F 1B 78 */ mr r31, r3 +/* 8010BF88 00108EE8 7C 9E 23 78 */ mr r30, r4 +/* 8010BF8C 00108EEC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8010BF90 00108EF0 41 82 01 5C */ beq lbl_8010C0EC +/* 8010BF94 00108EF4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010BF98 00108EF8 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8010BF9C 00108EFC 2C 00 00 07 */ cmpwi r0, 7 +/* 8010BFA0 00108F00 40 82 01 4C */ bne lbl_8010C0EC +/* 8010BFA4 00108F04 80 FF 00 64 */ lwz r7, 0x64(r31) +/* 8010BFA8 00108F08 38 61 00 30 */ addi r3, r1, 0x30 +/* 8010BFAC 00108F0C 80 82 94 C0 */ lwz r4, lbl_805AB1E0@sda21(r2) +/* 8010BFB0 00108F10 38 C1 00 08 */ addi r6, r1, 8 +/* 8010BFB4 00108F14 C3 87 00 00 */ lfs f28, 0(r7) +/* 8010BFB8 00108F18 38 A0 FF FF */ li r5, -1 +/* 8010BFBC 00108F1C C3 67 00 04 */ lfs f27, 4(r7) +/* 8010BFC0 00108F20 C3 47 00 08 */ lfs f26, 8(r7) +/* 8010BFC4 00108F24 48 23 21 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" +/* 8010BFC8 00108F28 7F E4 FB 78 */ mr r4, r31 +/* 8010BFCC 00108F2C 38 61 00 9C */ addi r3, r1, 0x9c +/* 8010BFD0 00108F30 38 A1 00 30 */ addi r5, r1, 0x30 +/* 8010BFD4 00108F34 4B F4 6F 2D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8010BFD8 00108F38 C3 A1 00 C8 */ lfs f29, 0xc8(r1) +/* 8010BFDC 00108F3C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8010BFE0 00108F40 C3 C1 00 B8 */ lfs f30, 0xb8(r1) +/* 8010BFE4 00108F44 C3 E1 00 A8 */ lfs f31, 0xa8(r1) +/* 8010BFE8 00108F48 48 23 1A F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8010BFEC 00108F4C EC 5C 07 F2 */ fmuls f2, f28, f31 +/* 8010BFF0 00108F50 38 61 00 24 */ addi r3, r1, 0x24 +/* 8010BFF4 00108F54 EC 3B 07 B2 */ fmuls f1, f27, f30 +/* 8010BFF8 00108F58 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8010BFFC 00108F5C EC 1A 07 72 */ fmuls f0, f26, f29 +/* 8010C000 00108F60 38 A1 00 40 */ addi r5, r1, 0x40 +/* 8010C004 00108F64 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8010C008 00108F68 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8010C00C 00108F6C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8010C010 00108F70 48 20 6A D9 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8010C014 00108F74 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 8010C018 00108F78 38 61 00 84 */ addi r3, r1, 0x84 +/* 8010C01C 00108F7C C0 21 00 28 */ lfs f1, 0x28(r1) +/* 8010C020 00108F80 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8010C024 00108F84 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8010C028 00108F88 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 8010C02C 00108F8C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8010C030 00108F90 80 9E 08 4C */ lwz r4, 0x84c(r30) +/* 8010C034 00108F94 48 00 E8 F9 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 8010C038 00108F98 38 61 00 84 */ addi r3, r1, 0x84 +/* 8010C03C 00108F9C 38 81 00 40 */ addi r4, r1, 0x40 +/* 8010C040 00108FA0 48 22 B4 F5 */ bl PointInside__6CAABoxCFRC9CVector3f +/* 8010C044 00108FA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010C048 00108FA8 41 82 00 A4 */ beq lbl_8010C0EC +/* 8010C04C 00108FAC 80 AD 8A 08 */ lwz r5, lbl_805A75C8@sda21(r13) +/* 8010C050 00108FB0 38 60 00 00 */ li r3, 0 +/* 8010C054 00108FB4 38 80 00 01 */ li r4, 1 +/* 8010C058 00108FB8 48 27 DE 9D */ bl __shl2i +/* 8010C05C 00108FBC 38 A0 00 00 */ li r5, 0 +/* 8010C060 00108FC0 38 00 00 03 */ li r0, 3 +/* 8010C064 00108FC4 90 81 00 54 */ stw r4, 0x54(r1) +/* 8010C068 00108FC8 7F E4 FB 78 */ mr r4, r31 +/* 8010C06C 00108FCC 90 61 00 50 */ stw r3, 0x50(r1) +/* 8010C070 00108FD0 38 61 00 68 */ addi r3, r1, 0x68 +/* 8010C074 00108FD4 90 A1 00 5C */ stw r5, 0x5c(r1) +/* 8010C078 00108FD8 90 A1 00 58 */ stw r5, 0x58(r1) +/* 8010C07C 00108FDC 90 01 00 60 */ stw r0, 0x60(r1) +/* 8010C080 00108FE0 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8010C084 00108FE4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010C088 00108FE8 80 BE 08 4C */ lwz r5, 0x84c(r30) +/* 8010C08C 00108FEC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010C090 00108FF0 A0 A5 00 08 */ lhz r5, 8(r5) +/* 8010C094 00108FF4 B0 A1 00 18 */ sth r5, 0x18(r1) +/* 8010C098 00108FF8 A0 1F 00 08 */ lhz r0, 8(r31) +/* 8010C09C 00108FFC B0 A1 00 14 */ sth r5, 0x14(r1) +/* 8010C0A0 00109000 B0 01 00 20 */ sth r0, 0x20(r1) +/* 8010C0A4 00109004 81 9F 00 00 */ lwz r12, 0(r31) +/* 8010C0A8 00109008 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8010C0AC 0010900C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) +/* 8010C0B0 00109010 7D 89 03 A6 */ mtctr r12 +/* 8010C0B4 00109014 4E 80 04 21 */ bctrl +/* 8010C0B8 00109018 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8010C0BC 0010901C 7F C3 F3 78 */ mr r3, r30 +/* 8010C0C0 00109020 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 8010C0C4 00109024 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8010C0C8 00109028 38 81 00 20 */ addi r4, r1, 0x20 +/* 8010C0CC 0010902C 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8010C0D0 00109030 38 E1 00 68 */ addi r7, r1, 0x68 +/* 8010C0D4 00109034 39 01 00 50 */ addi r8, r1, 0x50 +/* 8010C0D8 00109038 4B F3 DF C9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +/* 8010C0DC 0010903C 88 1F 07 2E */ lbz r0, 0x72e(r31) +/* 8010C0E0 00109040 38 60 00 00 */ li r3, 0 +/* 8010C0E4 00109044 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8010C0E8 00109048 98 1F 07 2E */ stb r0, 0x72e(r31) +lbl_8010C0EC: +/* 8010C0EC 0010904C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 8010C0F0 00109050 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 8010C0F4 00109054 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 8010C0F8 00109058 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 8010C0FC 0010905C E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 8010C100 00109060 CB A1 01 10 */ lfd f29, 0x110(r1) +/* 8010C104 00109064 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 8010C108 00109068 CB 81 01 00 */ lfd f28, 0x100(r1) +/* 8010C10C 0010906C E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 +/* 8010C110 00109070 CB 61 00 F0 */ lfd f27, 0xf0(r1) +/* 8010C114 00109074 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 +/* 8010C118 00109078 CB 41 00 E0 */ lfd f26, 0xe0(r1) +/* 8010C11C 0010907C 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8010C120 00109080 80 01 01 44 */ lwz r0, 0x144(r1) +/* 8010C124 00109084 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 8010C128 00109088 7C 08 03 A6 */ mtlr r0 +/* 8010C12C 0010908C 38 21 01 40 */ addi r1, r1, 0x140 +/* 8010C130 00109090 4E 80 00 20 */ blr + +.global UpdateTouchBounds__8CWarWaspFv +UpdateTouchBounds__8CWarWaspFv: +/* 8010C134 00109094 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8010C138 00109098 7C 08 02 A6 */ mflr r0 +/* 8010C13C 0010909C 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8010C140 001090A0 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 8010C144 001090A4 7C 7F 1B 78 */ mr r31, r3 +/* 8010C148 001090A8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8010C14C 001090AC 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 8010C150 001090B0 80 84 00 10 */ lwz r4, 0x10(r4) +/* 8010C154 001090B4 4B F2 27 61 */ bl GetBoundingBox__9CAnimDataCFv +/* 8010C158 001090B8 C0 A1 00 3C */ lfs f5, 0x3c(r1) +/* 8010C15C 001090BC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8010C160 001090C0 C0 81 00 40 */ lfs f4, 0x40(r1) +/* 8010C164 001090C4 38 81 00 54 */ addi r4, r1, 0x54 +/* 8010C168 001090C8 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 8010C16C 001090CC C0 41 00 48 */ lfs f2, 0x48(r1) +/* 8010C170 001090D0 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 8010C174 001090D4 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8010C178 001090D8 D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 8010C17C 001090DC D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8010C180 001090E0 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 8010C184 001090E4 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8010C188 001090E8 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 8010C18C 001090EC D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8010C190 001090F0 48 22 B4 7D */ bl GetCenterPoint__6CAABoxCFv +/* 8010C194 001090F4 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8010C198 001090F8 38 61 00 6C */ addi r3, r1, 0x6c +/* 8010C19C 001090FC C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8010C1A0 00109100 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8010C1A4 00109104 D0 21 00 08 */ stfs f1, 8(r1) +/* 8010C1A8 00109108 C0 3F 05 8C */ lfs f1, 0x58c(r31) +/* 8010C1AC 0010910C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 8010C1B0 00109110 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8010C1B4 00109114 80 01 00 08 */ lwz r0, 8(r1) +/* 8010C1B8 00109118 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8010C1BC 0010911C 80 A1 00 0C */ lwz r5, 0xc(r1) +/* 8010C1C0 00109120 90 1F 05 80 */ stw r0, 0x580(r31) +/* 8010C1C4 00109124 80 01 00 10 */ lwz r0, 0x10(r1) +/* 8010C1C8 00109128 90 BF 05 84 */ stw r5, 0x584(r31) +/* 8010C1CC 0010912C 90 1F 05 88 */ stw r0, 0x588(r31) +/* 8010C1D0 00109130 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8010C1D4 00109134 D0 3F 05 8C */ stfs f1, 0x58c(r31) +/* 8010C1D8 00109138 48 20 6F 1D */ bl BuildMatrix3f__12CTransform4fCFv +/* 8010C1DC 0010913C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8010C1E0 00109140 38 61 00 90 */ addi r3, r1, 0x90 +/* 8010C1E4 00109144 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 8010C1E8 00109148 38 81 00 6C */ addi r4, r1, 0x6c +/* 8010C1EC 0010914C 48 20 70 8D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 8010C1F0 00109150 38 61 00 24 */ addi r3, r1, 0x24 +/* 8010C1F4 00109154 38 81 00 54 */ addi r4, r1, 0x54 +/* 8010C1F8 00109158 38 A1 00 90 */ addi r5, r1, 0x90 +/* 8010C1FC 0010915C 48 22 B7 01 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8010C200 00109160 7F E3 FB 78 */ mr r3, r31 +/* 8010C204 00109164 38 81 00 24 */ addi r4, r1, 0x24 +/* 8010C208 00109168 48 00 E4 51 */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox +/* 8010C20C 0010916C 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8010C210 00109170 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 8010C214 00109174 7C 08 03 A6 */ mtlr r0 +/* 8010C218 00109178 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8010C21C 0010917C 4E 80 00 20 */ blr + +.global SetUpPathFindBehavior__8CWarWaspFR13CStateManager +SetUpPathFindBehavior__8CWarWaspFR13CStateManager: +/* 8010C220 00109180 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8010C224 00109184 7C 08 02 A6 */ mflr r0 +/* 8010C228 00109188 38 A0 00 00 */ li r5, 0 +/* 8010C22C 0010918C 90 01 01 14 */ stw r0, 0x114(r1) +/* 8010C230 00109190 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 8010C234 00109194 7C 7F 1B 78 */ mr r31, r3 +/* 8010C238 00109198 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8010C23C 0010919C 93 A1 01 04 */ stw r29, 0x104(r1) +/* 8010C240 001091A0 93 81 01 00 */ stw r28, 0x100(r1) +/* 8010C244 001091A4 7C 9C 23 78 */ mr r28, r4 +/* 8010C248 001091A8 88 03 07 2E */ lbz r0, 0x72e(r3) +/* 8010C24C 001091AC 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 8010C250 001091B0 98 03 07 2E */ stb r0, 0x72e(r3) +/* 8010C254 001091B4 81 83 00 00 */ lwz r12, 0(r3) +/* 8010C258 001091B8 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010C25C 001091BC 7D 89 03 A6 */ mtctr r12 +/* 8010C260 001091C0 4E 80 04 21 */ bctrl +/* 8010C264 001091C4 28 03 00 00 */ cmplwi r3, 0 +/* 8010C268 001091C8 41 82 02 8C */ beq lbl_8010C4F4 +/* 8010C26C 001091CC 7F E3 FB 78 */ mr r3, r31 +/* 8010C270 001091D0 7F 84 E3 78 */ mr r4, r28 +/* 8010C274 001091D4 48 00 12 81 */ bl SwarmAdd__8CWarWaspFR13CStateManager +/* 8010C278 001091D8 A0 DF 00 08 */ lhz r6, 8(r31) +/* 8010C27C 001091DC 7F 83 E3 78 */ mr r3, r28 +/* 8010C280 001091E0 38 81 00 10 */ addi r4, r1, 0x10 +/* 8010C284 001091E4 38 A1 00 0C */ addi r5, r1, 0xc +/* 8010C288 001091E8 B0 C1 00 0C */ sth r6, 0xc(r1) +/* 8010C28C 001091EC A0 1F 06 74 */ lhz r0, 0x674(r31) +/* 8010C290 001091F0 B0 C1 00 08 */ sth r6, 8(r1) +/* 8010C294 001091F4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010C298 001091F8 48 12 DE E9 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId +/* 8010C29C 001091FC 28 03 00 00 */ cmplwi r3, 0 +/* 8010C2A0 00109200 41 82 00 0C */ beq lbl_8010C2AC +/* 8010C2A4 00109204 38 A3 00 1C */ addi r5, r3, 0x1c +/* 8010C2A8 00109208 48 00 00 30 */ b lbl_8010C2D8 +lbl_8010C2AC: +/* 8010C2AC 0010920C C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010C2B0 00109210 7F E4 FB 78 */ mr r4, r31 +/* 8010C2B4 00109214 7F 85 E3 78 */ mr r5, r28 +/* 8010C2B8 00109218 38 61 00 5C */ addi r3, r1, 0x5c +/* 8010C2BC 0010921C 4B FF FB E5 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010C2C0 00109220 7F E4 FB 78 */ mr r4, r31 +/* 8010C2C4 00109224 7F 85 E3 78 */ mr r5, r28 +/* 8010C2C8 00109228 38 61 00 50 */ addi r3, r1, 0x50 +/* 8010C2CC 0010922C 38 C1 00 5C */ addi r6, r1, 0x5c +/* 8010C2D0 00109230 4B FF F8 11 */ bl GetCloseInPos__8CWarWaspCFR13CStateManagerRC9CVector3f +/* 8010C2D4 00109234 38 A1 00 50 */ addi r5, r1, 0x50 +lbl_8010C2D8: +/* 8010C2D8 00109238 C0 05 00 00 */ lfs f0, 0(r5) +/* 8010C2DC 0010923C 7F E3 FB 78 */ mr r3, r31 +/* 8010C2E0 00109240 38 81 00 8C */ addi r4, r1, 0x8c +/* 8010C2E4 00109244 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8010C2E8 00109248 C0 05 00 04 */ lfs f0, 4(r5) +/* 8010C2EC 0010924C D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8010C2F0 00109250 C0 05 00 08 */ lfs f0, 8(r5) +/* 8010C2F4 00109254 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 8010C2F8 00109258 4B F7 08 65 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8010C2FC 0010925C 38 DF 02 E0 */ addi r6, r31, 0x2e0 +/* 8010C300 00109260 C0 BF 00 50 */ lfs f5, 0x50(r31) +/* 8010C304 00109264 C0 1F 02 E4 */ lfs f0, 0x2e4(r31) +/* 8010C308 00109268 C0 DF 00 40 */ lfs f6, 0x40(r31) +/* 8010C30C 0010926C EC 40 28 28 */ fsubs f2, f0, f5 +/* 8010C310 00109270 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) +/* 8010C314 00109274 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 8010C318 00109278 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) +/* 8010C31C 0010927C EC 61 30 28 */ fsubs f3, f1, f6 +/* 8010C320 00109280 EC 22 00 B2 */ fmuls f1, f2, f2 +/* 8010C324 00109284 EC 40 20 28 */ fsubs f2, f0, f4 +/* 8010C328 00109288 C0 02 95 1C */ lfs f0, lbl_805AB23C@sda21(r2) +/* 8010C32C 0010928C EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 8010C330 00109290 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8010C334 00109294 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010C338 00109298 41 81 00 28 */ bgt lbl_8010C360 +/* 8010C33C 0010929C D0 C1 00 44 */ stfs f6, 0x44(r1) +/* 8010C340 001092A0 7F E3 FB 78 */ mr r3, r31 +/* 8010C344 001092A4 7F 84 E3 78 */ mr r4, r28 +/* 8010C348 001092A8 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8010C34C 001092AC D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 8010C350 001092B0 D0 81 00 4C */ stfs f4, 0x4c(r1) +/* 8010C354 001092B4 48 0E 8A 7D */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f +/* 8010C358 001092B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010C35C 001092BC 41 82 01 98 */ beq lbl_8010C4F4 +lbl_8010C360: +/* 8010C360 001092C0 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010C364 001092C4 7F E4 FB 78 */ mr r4, r31 +/* 8010C368 001092C8 7F 85 E3 78 */ mr r5, r28 +/* 8010C36C 001092CC 38 61 00 38 */ addi r3, r1, 0x38 +/* 8010C370 001092D0 4B FF FB 31 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010C374 001092D4 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 8010C378 001092D8 38 61 00 74 */ addi r3, r1, 0x74 +/* 8010C37C 001092DC C0 81 00 3C */ lfs f4, 0x3c(r1) +/* 8010C380 001092E0 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 8010C384 001092E4 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 8010C388 001092E8 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 8010C38C 001092EC D0 61 00 88 */ stfs f3, 0x88(r1) +/* 8010C390 001092F0 C0 5F 02 E4 */ lfs f2, 0x2e4(r31) +/* 8010C394 001092F4 C0 3F 02 E8 */ lfs f1, 0x2e8(r31) +/* 8010C398 001092F8 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) +/* 8010C39C 001092FC EC 42 20 28 */ fsubs f2, f2, f4 +/* 8010C3A0 00109300 EC 21 18 28 */ fsubs f1, f1, f3 +/* 8010C3A4 00109304 EC 00 28 28 */ fsubs f0, f0, f5 +/* 8010C3A8 00109308 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 8010C3AC 0010930C D0 01 00 74 */ stfs f0, 0x74(r1) +/* 8010C3B0 00109310 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 8010C3B4 00109314 48 20 83 45 */ bl CanBeNormalized__9CVector3fCFv +/* 8010C3B8 00109318 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010C3BC 0010931C 41 82 01 24 */ beq lbl_8010C4E0 +/* 8010C3C0 00109320 80 AD 8A 28 */ lwz r5, lbl_805A75E8@sda21(r13) +/* 8010C3C4 00109324 38 60 00 00 */ li r3, 0 +/* 8010C3C8 00109328 38 80 00 01 */ li r4, 1 +/* 8010C3CC 0010932C 48 27 DB 29 */ bl __shl2i +/* 8010C3D0 00109330 80 AD 8A 24 */ lwz r5, lbl_805A75E4@sda21(r13) +/* 8010C3D4 00109334 7C 9D 23 78 */ mr r29, r4 +/* 8010C3D8 00109338 7C 7E 1B 78 */ mr r30, r3 +/* 8010C3DC 0010933C 38 60 00 00 */ li r3, 0 +/* 8010C3E0 00109340 38 80 00 01 */ li r4, 1 +/* 8010C3E4 00109344 48 27 DB 11 */ bl __shl2i +/* 8010C3E8 00109348 38 00 00 03 */ li r0, 3 +/* 8010C3EC 0010934C 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8010C3F0 00109350 38 61 00 74 */ addi r3, r1, 0x74 +/* 8010C3F4 00109354 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8010C3F8 00109358 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 8010C3FC 0010935C 93 A1 00 BC */ stw r29, 0xbc(r1) +/* 8010C400 00109360 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8010C404 00109364 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 8010C408 00109368 48 20 84 B1 */ bl Magnitude__9CVector3fCFv +/* 8010C40C 0010936C C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010C410 00109370 7F 84 E3 78 */ mr r4, r28 +/* 8010C414 00109374 C0 61 00 74 */ lfs f3, 0x74(r1) +/* 8010C418 00109378 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8010C41C 0010937C EC 80 08 24 */ fdivs f4, f0, f1 +/* 8010C420 00109380 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 8010C424 00109384 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 8010C428 00109388 38 A1 00 80 */ addi r5, r1, 0x80 +/* 8010C42C 0010938C 38 C1 00 68 */ addi r6, r1, 0x68 +/* 8010C430 00109390 38 E1 00 B0 */ addi r7, r1, 0xb0 +/* 8010C434 00109394 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 8010C438 00109398 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 8010C43C 0010939C EC 04 00 32 */ fmuls f0, f4, f0 +/* 8010C440 001093A0 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 8010C444 001093A4 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8010C448 001093A8 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 8010C44C 001093AC 4B F4 0B 4D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 8010C450 001093B0 88 01 00 E8 */ lbz r0, 0xe8(r1) +/* 8010C454 001093B4 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 8010C458 001093B8 28 00 00 00 */ cmplwi r0, 0 +/* 8010C45C 001093BC 41 82 00 84 */ beq lbl_8010C4E0 +/* 8010C460 001093C0 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 8010C464 001093C4 7F E3 FB 78 */ mr r3, r31 +/* 8010C468 001093C8 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 8010C46C 001093CC 38 81 00 2C */ addi r4, r1, 0x2c +/* 8010C470 001093D0 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 8010C474 001093D4 EC C3 00 B2 */ fmuls f6, f3, f2 +/* 8010C478 001093D8 EC A3 00 32 */ fmuls f5, f3, f0 +/* 8010C47C 001093DC C0 02 95 10 */ lfs f0, lbl_805AB230@sda21(r2) +/* 8010C480 001093E0 EC 83 00 72 */ fmuls f4, f3, f1 +/* 8010C484 001093E4 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 8010C488 001093E8 ED 00 01 B2 */ fmuls f8, f0, f6 +/* 8010C48C 001093EC EC E0 01 72 */ fmuls f7, f0, f5 +/* 8010C490 001093F0 EC 60 01 32 */ fmuls f3, f0, f4 +/* 8010C494 001093F4 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 8010C498 001093F8 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 8010C49C 001093FC EC 42 40 2A */ fadds f2, f2, f8 +/* 8010C4A0 00109400 EC 21 38 2A */ fadds f1, f1, f7 +/* 8010C4A4 00109404 EC 00 18 2A */ fadds f0, f0, f3 +/* 8010C4A8 00109408 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8010C4AC 0010940C D0 C1 00 18 */ stfs f6, 0x18(r1) +/* 8010C4B0 00109410 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 8010C4B4 00109414 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 8010C4B8 00109418 D1 01 00 24 */ stfs f8, 0x24(r1) +/* 8010C4BC 0010941C D0 E1 00 28 */ stfs f7, 0x28(r1) +/* 8010C4C0 00109420 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8010C4C4 00109424 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8010C4C8 00109428 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8010C4CC 0010942C 4B F7 06 91 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8010C4D0 00109430 88 1F 07 2E */ lbz r0, 0x72e(r31) +/* 8010C4D4 00109434 38 60 00 01 */ li r3, 1 +/* 8010C4D8 00109438 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8010C4DC 0010943C 98 1F 07 2E */ stb r0, 0x72e(r31) +lbl_8010C4E0: +/* 8010C4E0 00109440 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8010C4E4 00109444 7F E3 FB 78 */ mr r3, r31 +/* 8010C4E8 00109448 7F 84 E3 78 */ mr r4, r28 +/* 8010C4EC 0010944C 38 A0 00 00 */ li r5, 0 +/* 8010C4F0 00109450 48 0E A1 DD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +lbl_8010C4F4: +/* 8010C4F4 00109454 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8010C4F8 00109458 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 8010C4FC 0010945C 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 8010C500 00109460 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 8010C504 00109464 83 81 01 00 */ lwz r28, 0x100(r1) +/* 8010C508 00109468 7C 08 03 A6 */ mtlr r0 +/* 8010C50C 0010946C 38 21 01 10 */ addi r1, r1, 0x110 +/* 8010C510 00109470 4E 80 00 20 */ blr + +.global PathToHiveIsClear__8CWarWaspFR13CStateManager +PathToHiveIsClear__8CWarWaspFR13CStateManager: +/* 8010C514 00109474 94 21 F7 10 */ stwu r1, -0x8f0(r1) +/* 8010C518 00109478 7C 08 02 A6 */ mflr r0 +/* 8010C51C 0010947C 90 01 08 F4 */ stw r0, 0x8f4(r1) +/* 8010C520 00109480 DB E1 08 E0 */ stfd f31, 0x8e0(r1) +/* 8010C524 00109484 F3 E1 08 E8 */ psq_st f31, -1816(r1), 0, qr0 +/* 8010C528 00109488 DB C1 08 D0 */ stfd f30, 0x8d0(r1) +/* 8010C52C 0010948C F3 C1 08 D8 */ psq_st f30, -1832(r1), 0, qr0 +/* 8010C530 00109490 DB A1 08 C0 */ stfd f29, 0x8c0(r1) +/* 8010C534 00109494 F3 A1 08 C8 */ psq_st f29, -1848(r1), 0, qr0 +/* 8010C538 00109498 DB 81 08 B0 */ stfd f28, 0x8b0(r1) +/* 8010C53C 0010949C F3 81 08 B8 */ psq_st f28, -1864(r1), 0, qr0 +/* 8010C540 001094A0 DB 61 08 A0 */ stfd f27, 0x8a0(r1) +/* 8010C544 001094A4 F3 61 08 A8 */ psq_st f27, -1880(r1), 0, qr0 +/* 8010C548 001094A8 DB 41 08 90 */ stfd f26, 0x890(r1) +/* 8010C54C 001094AC F3 41 08 98 */ psq_st f26, -1896(r1), 0, qr0 +/* 8010C550 001094B0 BF 61 08 7C */ stmw r27, 0x87c(r1) +/* 8010C554 001094B4 7C 7E 1B 78 */ mr r30, r3 +/* 8010C558 001094B8 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010C55C 001094BC C0 E3 00 50 */ lfs f7, 0x50(r3) +/* 8010C560 001094C0 7C 9F 23 78 */ mr r31, r4 +/* 8010C564 001094C4 C0 23 03 A4 */ lfs f1, 0x3a4(r3) +/* 8010C568 001094C8 C1 03 00 40 */ lfs f8, 0x40(r3) +/* 8010C56C 001094CC C0 43 03 A0 */ lfs f2, 0x3a0(r3) +/* 8010C570 001094D0 EF C1 38 28 */ fsubs f30, f1, f7 +/* 8010C574 001094D4 C3 63 00 48 */ lfs f27, 0x48(r3) +/* 8010C578 001094D8 EF A2 40 28 */ fsubs f29, f2, f8 +/* 8010C57C 001094DC C0 C3 00 60 */ lfs f6, 0x60(r3) +/* 8010C580 001094E0 C0 43 03 A8 */ lfs f2, 0x3a8(r3) +/* 8010C584 001094E4 EC 3B 07 B2 */ fmuls f1, f27, f30 +/* 8010C588 001094E8 C3 83 00 38 */ lfs f28, 0x38(r3) +/* 8010C58C 001094EC EF E2 30 28 */ fsubs f31, f2, f6 +/* 8010C590 001094F0 EC 3C 0F 7A */ fmadds f1, f28, f29, f1 +/* 8010C594 001094F4 C3 43 00 58 */ lfs f26, 0x58(r3) +/* 8010C598 001094F8 EC 3A 0F FA */ fmadds f1, f26, f31, f1 +/* 8010C59C 001094FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010C5A0 00109500 40 81 02 64 */ ble lbl_8010C804 +/* 8010C5A4 00109504 C0 A2 95 20 */ lfs f5, lbl_805AB240@sda21(r2) +/* 8010C5A8 00109508 38 61 00 58 */ addi r3, r1, 0x58 +/* 8010C5AC 0010950C 38 81 00 1C */ addi r4, r1, 0x1c +/* 8010C5B0 00109510 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8010C5B4 00109514 EC 08 28 2A */ fadds f0, f8, f5 +/* 8010C5B8 00109518 EC 87 28 2A */ fadds f4, f7, f5 +/* 8010C5BC 0010951C EC 66 28 2A */ fadds f3, f6, f5 +/* 8010C5C0 00109520 EC 48 28 28 */ fsubs f2, f8, f5 +/* 8010C5C4 00109524 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8010C5C8 00109528 EC 27 28 28 */ fsubs f1, f7, f5 +/* 8010C5CC 0010952C EC 06 28 28 */ fsubs f0, f6, f5 +/* 8010C5D0 00109530 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8010C5D4 00109534 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8010C5D8 00109538 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8010C5DC 0010953C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8010C5E0 00109540 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8010C5E4 00109544 48 22 BF 25 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8010C5E8 00109548 38 00 00 00 */ li r0, 0 +/* 8010C5EC 0010954C 80 AD 8A 20 */ lwz r5, lbl_805A75E0@sda21(r13) +/* 8010C5F0 00109550 90 01 00 70 */ stw r0, 0x70(r1) +/* 8010C5F4 00109554 38 60 00 00 */ li r3, 0 +/* 8010C5F8 00109558 38 80 00 01 */ li r4, 1 +/* 8010C5FC 0010955C 48 27 D8 F9 */ bl __shl2i +/* 8010C600 00109560 39 00 00 01 */ li r8, 1 +/* 8010C604 00109564 38 00 00 00 */ li r0, 0 +/* 8010C608 00109568 90 81 00 44 */ stw r4, 0x44(r1) +/* 8010C60C 0010956C 38 81 00 70 */ addi r4, r1, 0x70 +/* 8010C610 00109570 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8010C614 00109574 38 C1 00 40 */ addi r6, r1, 0x40 +/* 8010C618 00109578 90 61 00 40 */ stw r3, 0x40(r1) +/* 8010C61C 0010957C 7F E3 FB 78 */ mr r3, r31 +/* 8010C620 00109580 38 E0 00 00 */ li r7, 0 +/* 8010C624 00109584 91 01 00 38 */ stw r8, 0x38(r1) +/* 8010C628 00109588 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8010C62C 0010958C 90 01 00 48 */ stw r0, 0x48(r1) +/* 8010C630 00109590 91 01 00 50 */ stw r8, 0x50(r1) +/* 8010C634 00109594 4B F4 00 ED */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8010C638 00109598 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8010C63C 0010959C 2C 00 00 00 */ cmpwi r0, 0 +/* 8010C640 001095A0 40 81 01 70 */ ble lbl_8010C7B0 +/* 8010C644 001095A4 EC 1E 07 B2 */ fmuls f0, f30, f30 +/* 8010C648 001095A8 3B 81 00 74 */ addi r28, r1, 0x74 +/* 8010C64C 001095AC 7F 9B E3 78 */ mr r27, r28 +/* 8010C650 001095B0 EC 1D 07 7A */ fmadds f0, f29, f29, f0 +/* 8010C654 001095B4 EF BF 07 FA */ fmadds f29, f31, f31, f0 +/* 8010C658 001095B8 48 00 01 44 */ b lbl_8010C79C +lbl_8010C65C: +/* 8010C65C 001095BC A0 1B 00 00 */ lhz r0, 0(r27) +/* 8010C660 001095C0 7F E3 FB 78 */ mr r3, r31 +/* 8010C664 001095C4 38 81 00 08 */ addi r4, r1, 8 +/* 8010C668 001095C8 B0 01 00 08 */ sth r0, 8(r1) +/* 8010C66C 001095CC 4B F3 FF 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010C670 001095D0 7C 64 1B 78 */ mr r4, r3 +/* 8010C674 001095D4 38 61 00 0C */ addi r3, r1, 0xc +/* 8010C678 001095D8 4B F9 8C F1 */ bl sub_800a5368 +/* 8010C67C 001095DC 4B F9 8C C1 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010C680 001095E0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8010C684 001095E4 41 82 01 14 */ beq lbl_8010C798 +/* 8010C688 001095E8 A0 7D 00 08 */ lhz r3, 8(r29) +/* 8010C68C 001095EC A0 1E 00 08 */ lhz r0, 8(r30) +/* 8010C690 001095F0 7C 03 00 40 */ cmplw r3, r0 +/* 8010C694 001095F4 41 82 01 04 */ beq lbl_8010C798 +/* 8010C698 001095F8 88 1D 07 2E */ lbz r0, 0x72e(r29) +/* 8010C69C 001095FC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 8010C6A0 00109600 41 82 00 F8 */ beq lbl_8010C798 +/* 8010C6A4 00109604 C0 22 94 F8 */ lfs f1, lbl_805AB218@sda21(r2) +/* 8010C6A8 00109608 38 7D 03 A0 */ addi r3, r29, 0x3a0 +/* 8010C6AC 0010960C 38 9E 03 A0 */ addi r4, r30, 0x3a0 +/* 8010C6B0 00109610 48 20 38 B5 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 8010C6B4 00109614 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010C6B8 00109618 41 82 00 E0 */ beq lbl_8010C798 +/* 8010C6BC 0010961C C1 1D 00 50 */ lfs f8, 0x50(r29) +/* 8010C6C0 00109620 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8010C6C4 00109624 C0 DD 00 40 */ lfs f6, 0x40(r29) +/* 8010C6C8 00109628 EC 48 00 28 */ fsubs f2, f8, f0 +/* 8010C6CC 0010962C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8010C6D0 00109630 C0 FD 00 60 */ lfs f7, 0x60(r29) +/* 8010C6D4 00109634 EC A6 00 28 */ fsubs f5, f6, f0 +/* 8010C6D8 00109638 C0 1E 00 60 */ lfs f0, 0x60(r30) +/* 8010C6DC 0010963C EC 3B 00 B2 */ fmuls f1, f27, f2 +/* 8010C6E0 00109640 EC 87 00 28 */ fsubs f4, f7, f0 +/* 8010C6E4 00109644 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010C6E8 00109648 EC 3C 09 7A */ fmadds f1, f28, f5, f1 +/* 8010C6EC 0010964C EC 3A 09 3A */ fmadds f1, f26, f4, f1 +/* 8010C6F0 00109650 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010C6F4 00109654 40 81 00 A4 */ ble lbl_8010C798 +/* 8010C6F8 00109658 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 8010C6FC 0010965C C0 3E 03 A0 */ lfs f1, 0x3a0(r30) +/* 8010C700 00109660 C0 7E 03 A4 */ lfs f3, 0x3a4(r30) +/* 8010C704 00109664 C0 5E 03 A8 */ lfs f2, 0x3a8(r30) +/* 8010C708 00109668 EC C6 08 28 */ fsubs f6, f6, f1 +/* 8010C70C 0010966C EC 25 01 7A */ fmadds f1, f5, f5, f0 +/* 8010C710 00109670 C0 02 94 F8 */ lfs f0, lbl_805AB218@sda21(r2) +/* 8010C714 00109674 EC 68 18 28 */ fsubs f3, f8, f3 +/* 8010C718 00109678 EC 47 10 28 */ fsubs f2, f7, f2 +/* 8010C71C 0010967C EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 8010C720 00109680 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010C724 00109684 40 80 00 74 */ bge lbl_8010C798 +/* 8010C728 00109688 EC 03 00 F2 */ fmuls f0, f3, f3 +/* 8010C72C 0010968C EC 06 01 BA */ fmadds f0, f6, f6, f0 +/* 8010C730 00109690 EC 02 00 BA */ fmadds f0, f2, f2, f0 +/* 8010C734 00109694 FC 00 E8 40 */ fcmpo cr0, f0, f29 +/* 8010C738 00109698 40 80 00 60 */ bge lbl_8010C798 +/* 8010C73C 0010969C 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 8010C740 001096A0 38 60 00 00 */ li r3, 0 +/* 8010C744 001096A4 2C 05 00 00 */ cmpwi r5, 0 +/* 8010C748 001096A8 40 81 00 40 */ ble lbl_8010C788 +/* 8010C74C 001096AC 2C 05 00 08 */ cmpwi r5, 8 +/* 8010C750 001096B0 38 85 FF F8 */ addi r4, r5, -8 +/* 8010C754 001096B4 40 81 00 20 */ ble lbl_8010C774 +/* 8010C758 001096B8 38 04 00 07 */ addi r0, r4, 7 +/* 8010C75C 001096BC 54 00 E8 FE */ srwi r0, r0, 3 +/* 8010C760 001096C0 7C 09 03 A6 */ mtctr r0 +/* 8010C764 001096C4 2C 04 00 00 */ cmpwi r4, 0 +/* 8010C768 001096C8 40 81 00 0C */ ble lbl_8010C774 +lbl_8010C76C: +/* 8010C76C 001096CC 38 63 00 08 */ addi r3, r3, 8 +/* 8010C770 001096D0 42 00 FF FC */ bdnz lbl_8010C76C +lbl_8010C774: +/* 8010C774 001096D4 7C 03 28 50 */ subf r0, r3, r5 +/* 8010C778 001096D8 7C 09 03 A6 */ mtctr r0 +/* 8010C77C 001096DC 7C 03 28 00 */ cmpw r3, r5 +/* 8010C780 001096E0 40 80 00 08 */ bge lbl_8010C788 +lbl_8010C784: +/* 8010C784 001096E4 42 00 00 00 */ bdnz lbl_8010C784 +lbl_8010C788: +/* 8010C788 001096E8 38 00 00 00 */ li r0, 0 +/* 8010C78C 001096EC 38 60 00 00 */ li r3, 0 +/* 8010C790 001096F0 90 01 00 70 */ stw r0, 0x70(r1) +/* 8010C794 001096F4 48 00 00 74 */ b lbl_8010C808 +lbl_8010C798: +/* 8010C798 001096F8 3B 7B 00 02 */ addi r27, r27, 2 +lbl_8010C79C: +/* 8010C79C 001096FC 80 01 00 70 */ lwz r0, 0x70(r1) +/* 8010C7A0 00109700 54 00 08 3C */ slwi r0, r0, 1 +/* 8010C7A4 00109704 7C 1C 02 14 */ add r0, r28, r0 +/* 8010C7A8 00109708 7C 1B 00 40 */ cmplw r27, r0 +/* 8010C7AC 0010970C 40 82 FE B0 */ bne lbl_8010C65C +lbl_8010C7B0: +/* 8010C7B0 00109710 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 8010C7B4 00109714 38 60 00 00 */ li r3, 0 +/* 8010C7B8 00109718 2C 05 00 00 */ cmpwi r5, 0 +/* 8010C7BC 0010971C 40 81 00 40 */ ble lbl_8010C7FC +/* 8010C7C0 00109720 2C 05 00 08 */ cmpwi r5, 8 +/* 8010C7C4 00109724 38 85 FF F8 */ addi r4, r5, -8 +/* 8010C7C8 00109728 40 81 00 20 */ ble lbl_8010C7E8 +/* 8010C7CC 0010972C 38 04 00 07 */ addi r0, r4, 7 +/* 8010C7D0 00109730 54 00 E8 FE */ srwi r0, r0, 3 +/* 8010C7D4 00109734 7C 09 03 A6 */ mtctr r0 +/* 8010C7D8 00109738 2C 04 00 00 */ cmpwi r4, 0 +/* 8010C7DC 0010973C 40 81 00 0C */ ble lbl_8010C7E8 +lbl_8010C7E0: +/* 8010C7E0 00109740 38 63 00 08 */ addi r3, r3, 8 +/* 8010C7E4 00109744 42 00 FF FC */ bdnz lbl_8010C7E0 +lbl_8010C7E8: +/* 8010C7E8 00109748 7C 03 28 50 */ subf r0, r3, r5 +/* 8010C7EC 0010974C 7C 09 03 A6 */ mtctr r0 +/* 8010C7F0 00109750 7C 03 28 00 */ cmpw r3, r5 +/* 8010C7F4 00109754 40 80 00 08 */ bge lbl_8010C7FC +lbl_8010C7F8: +/* 8010C7F8 00109758 42 00 00 00 */ bdnz lbl_8010C7F8 +lbl_8010C7FC: +/* 8010C7FC 0010975C 38 00 00 00 */ li r0, 0 +/* 8010C800 00109760 90 01 00 70 */ stw r0, 0x70(r1) +lbl_8010C804: +/* 8010C804 00109764 38 60 00 01 */ li r3, 1 +lbl_8010C808: +/* 8010C808 00109768 E3 E1 08 E8 */ psq_l f31, -1816(r1), 0, qr0 +/* 8010C80C 0010976C CB E1 08 E0 */ lfd f31, 0x8e0(r1) +/* 8010C810 00109770 E3 C1 08 D8 */ psq_l f30, -1832(r1), 0, qr0 +/* 8010C814 00109774 CB C1 08 D0 */ lfd f30, 0x8d0(r1) +/* 8010C818 00109778 E3 A1 08 C8 */ psq_l f29, -1848(r1), 0, qr0 +/* 8010C81C 0010977C CB A1 08 C0 */ lfd f29, 0x8c0(r1) +/* 8010C820 00109780 E3 81 08 B8 */ psq_l f28, -1864(r1), 0, qr0 +/* 8010C824 00109784 CB 81 08 B0 */ lfd f28, 0x8b0(r1) +/* 8010C828 00109788 E3 61 08 A8 */ psq_l f27, -1880(r1), 0, qr0 +/* 8010C82C 0010978C CB 61 08 A0 */ lfd f27, 0x8a0(r1) +/* 8010C830 00109790 E3 41 08 98 */ psq_l f26, -1896(r1), 0, qr0 +/* 8010C834 00109794 CB 41 08 90 */ lfd f26, 0x890(r1) +/* 8010C838 00109798 BB 61 08 7C */ lmw r27, 0x87c(r1) +/* 8010C83C 0010979C 80 01 08 F4 */ lwz r0, 0x8f4(r1) +/* 8010C840 001097A0 7C 08 03 A6 */ mtlr r0 +/* 8010C844 001097A4 38 21 08 F0 */ addi r1, r1, 0x8f0 +/* 8010C848 001097A8 4E 80 00 20 */ blr + +.global SteerToDeactivatePos__8CWarWaspFR13CStateManager9EStateMsgf +SteerToDeactivatePos__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010C84C 001097AC 94 21 FD F0 */ stwu r1, -0x210(r1) +/* 8010C850 001097B0 7C 08 02 A6 */ mflr r0 +/* 8010C854 001097B4 90 01 02 14 */ stw r0, 0x214(r1) +/* 8010C858 001097B8 DB E1 02 00 */ stfd f31, 0x200(r1) +/* 8010C85C 001097BC F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 +/* 8010C860 001097C0 DB C1 01 F0 */ stfd f30, 0x1f0(r1) +/* 8010C864 001097C4 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 +/* 8010C868 001097C8 DB A1 01 E0 */ stfd f29, 0x1e0(r1) +/* 8010C86C 001097CC F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 +/* 8010C870 001097D0 DB 81 01 D0 */ stfd f28, 0x1d0(r1) +/* 8010C874 001097D4 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 +/* 8010C878 001097D8 DB 61 01 C0 */ stfd f27, 0x1c0(r1) +/* 8010C87C 001097DC F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0 +/* 8010C880 001097E0 DB 41 01 B0 */ stfd f26, 0x1b0(r1) +/* 8010C884 001097E4 F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0 +/* 8010C888 001097E8 DB 21 01 A0 */ stfd f25, 0x1a0(r1) +/* 8010C88C 001097EC F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0 +/* 8010C890 001097F0 93 E1 01 9C */ stw r31, 0x19c(r1) +/* 8010C894 001097F4 93 C1 01 98 */ stw r30, 0x198(r1) +/* 8010C898 001097F8 93 A1 01 94 */ stw r29, 0x194(r1) +/* 8010C89C 001097FC 7C 7F 1B 78 */ mr r31, r3 +/* 8010C8A0 00109800 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010C8A4 00109804 C0 43 03 A4 */ lfs f2, 0x3a4(r3) +/* 8010C8A8 00109808 FF 20 08 90 */ fmr f25, f1 +/* 8010C8AC 0010980C C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8010C8B0 00109810 7C 9D 23 78 */ mr r29, r4 +/* 8010C8B4 00109814 C3 C3 05 8C */ lfs f30, 0x58c(r3) +/* 8010C8B8 00109818 7C BE 2B 78 */ mr r30, r5 +/* 8010C8BC 0010981C EC 22 08 28 */ fsubs f1, f2, f1 +/* 8010C8C0 00109820 C0 83 03 A0 */ lfs f4, 0x3a0(r3) +/* 8010C8C4 00109824 EC 00 F0 2A */ fadds f0, f0, f30 +/* 8010C8C8 00109828 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 8010C8CC 0010982C EC 21 00 72 */ fmuls f1, f1, f1 +/* 8010C8D0 00109830 C0 63 03 A8 */ lfs f3, 0x3a8(r3) +/* 8010C8D4 00109834 EC 84 10 28 */ fsubs f4, f4, f2 +/* 8010C8D8 00109838 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8010C8DC 0010983C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8010C8E0 00109840 EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 8010C8E4 00109844 EF E2 08 BA */ fmadds f31, f2, f2, f1 +/* 8010C8E8 00109848 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8010C8EC 0010984C 40 81 03 1C */ ble lbl_8010CC08 +/* 8010C8F0 00109850 4B FF FC 25 */ bl PathToHiveIsClear__8CWarWaspFR13CStateManager +/* 8010C8F4 00109854 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010C8F8 00109858 41 82 03 08 */ beq lbl_8010CC00 +/* 8010C8FC 0010985C C0 22 95 24 */ lfs f1, lbl_805AB244@sda21(r2) +/* 8010C900 00109860 7F E5 FB 78 */ mr r5, r31 +/* 8010C904 00109864 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8010C908 00109868 38 9F 04 5C */ addi r4, r31, 0x45c +/* 8010C90C 0010986C 38 DF 03 A0 */ addi r6, r31, 0x3a0 +/* 8010C910 00109870 48 03 22 0D */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8010C914 00109874 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 8010C918 00109878 C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 8010C91C 0010987C C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 8010C920 00109880 D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 8010C924 00109884 D0 21 01 00 */ stfs f1, 0x100(r1) +/* 8010C928 00109888 D0 01 01 04 */ stfs f0, 0x104(r1) +/* 8010C92C 0010988C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010C930 00109890 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 8010C934 00109894 48 02 75 79 */ bl GetMaxSpeed__14CBodyStateInfoCFv +/* 8010C938 00109898 FF 40 08 90 */ fmr f26, f1 +/* 8010C93C 0010989C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010C940 001098A0 FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 8010C944 001098A4 40 81 00 24 */ ble lbl_8010C968 +/* 8010C948 001098A8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010C94C 001098AC 38 80 00 01 */ li r4, 1 +/* 8010C950 001098B0 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 8010C954 001098B4 48 02 74 81 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim +/* 8010C958 001098B8 C0 02 95 10 */ lfs f0, lbl_805AB230@sda21(r2) +/* 8010C95C 001098BC EC 00 00 72 */ fmuls f0, f0, f1 +/* 8010C960 001098C0 EC 00 D0 24 */ fdivs f0, f0, f26 +/* 8010C964 001098C4 48 00 00 08 */ b lbl_8010C96C +lbl_8010C968: +/* 8010C968 001098C8 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +lbl_8010C96C: +/* 8010C96C 001098CC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8010C970 001098D0 38 61 00 FC */ addi r3, r1, 0xfc +/* 8010C974 001098D4 48 20 7F 45 */ bl Magnitude__9CVector3fCFv +/* 8010C978 001098D8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8010C97C 001098DC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010C980 001098E0 38 81 00 0C */ addi r4, r1, 0xc +/* 8010C984 001098E4 38 AD 8A 1C */ addi r5, r13, lbl_805A75DC@sda21 +/* 8010C988 001098E8 4B EF F9 2D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 8010C98C 001098EC C3 43 00 00 */ lfs f26, 0(r3) +/* 8010C990 001098F0 38 61 00 FC */ addi r3, r1, 0xfc +/* 8010C994 001098F4 48 20 7D 65 */ bl CanBeNormalized__9CVector3fCFv +/* 8010C998 001098F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010C99C 001098FC 41 82 00 3C */ beq lbl_8010C9D8 +/* 8010C9A0 00109900 38 61 00 AC */ addi r3, r1, 0xac +/* 8010C9A4 00109904 38 81 00 FC */ addi r4, r1, 0xfc +/* 8010C9A8 00109908 48 20 7E A9 */ bl AsNormalized__9CVector3fCFv +/* 8010C9AC 0010990C C0 41 00 AC */ lfs f2, 0xac(r1) +/* 8010C9B0 00109910 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8010C9B4 00109914 C0 21 00 B0 */ lfs f1, 0xb0(r1) +/* 8010C9B8 00109918 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 8010C9BC 0010991C EC 5A 00 B2 */ fmuls f2, f26, f2 +/* 8010C9C0 00109920 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 8010C9C4 00109924 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 8010C9C8 00109928 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 8010C9CC 0010992C D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 8010C9D0 00109930 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8010C9D4 00109934 48 00 00 38 */ b lbl_8010CA0C +lbl_8010C9D8: +/* 8010C9D8 00109938 C0 9F 00 58 */ lfs f4, 0x58(r31) +/* 8010C9DC 0010993C 38 61 00 88 */ addi r3, r1, 0x88 +/* 8010C9E0 00109940 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 8010C9E4 00109944 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 8010C9E8 00109948 EC 5A 01 32 */ fmuls f2, f26, f4 +/* 8010C9EC 0010994C EC 7A 00 32 */ fmuls f3, f26, f0 +/* 8010C9F0 00109950 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8010C9F4 00109954 EC 1A 00 72 */ fmuls f0, f26, f1 +/* 8010C9F8 00109958 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 8010C9FC 0010995C D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 8010CA00 00109960 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8010CA04 00109964 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 8010CA08 00109968 D0 41 00 90 */ stfs f2, 0x90(r1) +lbl_8010CA0C: +/* 8010CA0C 0010996C C3 A3 00 00 */ lfs f29, 0(r3) +/* 8010CA10 00109970 38 00 00 01 */ li r0, 1 +/* 8010CA14 00109974 C3 83 00 04 */ lfs f28, 4(r3) +/* 8010CA18 00109978 FC 20 D0 90 */ fmr f1, f26 +/* 8010CA1C 0010997C C3 63 00 08 */ lfs f27, 8(r3) +/* 8010CA20 00109980 FC 40 D0 90 */ fmr f2, f26 +/* 8010CA24 00109984 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010CA28 00109988 90 03 00 34 */ stw r0, 0x34(r3) +/* 8010CA2C 0010998C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010CA30 00109990 38 63 00 04 */ addi r3, r3, 4 +/* 8010CA34 00109994 48 02 4D B5 */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff +/* 8010CA38 00109998 C0 02 95 1C */ lfs f0, lbl_805AB23C@sda21(r2) +/* 8010CA3C 0010999C EC 00 F0 2A */ fadds f0, f0, f30 +/* 8010CA40 001099A0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8010CA44 001099A4 40 81 00 C8 */ ble lbl_8010CB0C +/* 8010CA48 001099A8 7F E3 FB 78 */ mr r3, r31 +/* 8010CA4C 001099AC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8010CA50 001099B0 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010CA54 001099B4 7D 89 03 A6 */ mtctr r12 +/* 8010CA58 001099B8 4E 80 04 21 */ bctrl +/* 8010CA5C 001099BC 28 03 00 00 */ cmplwi r3, 0 +/* 8010CA60 001099C0 41 82 00 68 */ beq lbl_8010CAC8 +/* 8010CA64 001099C4 7F E3 FB 78 */ mr r3, r31 +/* 8010CA68 001099C8 7F A4 EB 78 */ mr r4, r29 +/* 8010CA6C 001099CC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8010CA70 001099D0 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8010CA74 001099D4 81 8C 01 90 */ lwz r12, 0x190(r12) +/* 8010CA78 001099D8 7D 89 03 A6 */ mtctr r12 +/* 8010CA7C 001099DC 4E 80 04 21 */ bctrl +/* 8010CA80 001099E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010CA84 001099E4 40 82 00 44 */ bne lbl_8010CAC8 +/* 8010CA88 001099E8 7F E3 FB 78 */ mr r3, r31 +/* 8010CA8C 001099EC 81 9F 00 00 */ lwz r12, 0(r31) +/* 8010CA90 001099F0 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010CA94 001099F4 7D 89 03 A6 */ mtctr r12 +/* 8010CA98 001099F8 4E 80 04 21 */ bctrl +/* 8010CA9C 001099FC 80 83 00 04 */ lwz r4, 4(r3) +/* 8010CAA0 00109A00 80 63 00 C8 */ lwz r3, 0xc8(r3) +/* 8010CAA4 00109A04 38 04 FF FF */ addi r0, r4, -1 +/* 8010CAA8 00109A08 7C 03 00 00 */ cmpw r3, r0 +/* 8010CAAC 00109A0C 40 80 00 1C */ bge lbl_8010CAC8 +/* 8010CAB0 00109A10 FC 20 C8 90 */ fmr f1, f25 +/* 8010CAB4 00109A14 7F E3 FB 78 */ mr r3, r31 +/* 8010CAB8 00109A18 7F A4 EB 78 */ mr r4, r29 +/* 8010CABC 00109A1C 7F C5 F3 78 */ mr r5, r30 +/* 8010CAC0 00109A20 48 0E 9C 0D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8010CAC4 00109A24 48 00 01 3C */ b lbl_8010CC00 +lbl_8010CAC8: +/* 8010CAC8 00109A28 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010CACC 00109A2C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 8010CAD0 00109A30 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010CAD4 00109A34 38 81 01 40 */ addi r4, r1, 0x140 +/* 8010CAD8 00109A38 C0 43 00 04 */ lfs f2, 4(r3) +/* 8010CADC 00109A3C C0 23 00 08 */ lfs f1, 8(r3) +/* 8010CAE0 00109A40 D3 A1 01 40 */ stfs f29, 0x140(r1) +/* 8010CAE4 00109A44 D3 81 01 44 */ stfs f28, 0x144(r1) +/* 8010CAE8 00109A48 D3 61 01 48 */ stfs f27, 0x148(r1) +/* 8010CAEC 00109A4C D0 61 01 4C */ stfs f3, 0x14c(r1) +/* 8010CAF0 00109A50 D0 41 01 50 */ stfs f2, 0x150(r1) +/* 8010CAF4 00109A54 D0 21 01 54 */ stfs f1, 0x154(r1) +/* 8010CAF8 00109A58 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 8010CAFC 00109A5C 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010CB00 00109A60 38 63 00 04 */ addi r3, r3, 4 +/* 8010CB04 00109A64 48 02 4C 15 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 8010CB08 00109A68 48 00 00 F8 */ b lbl_8010CC00 +lbl_8010CB0C: +/* 8010CB0C 00109A6C 7F E3 FB 78 */ mr r3, r31 +/* 8010CB10 00109A70 7F A5 EB 78 */ mr r5, r29 +/* 8010CB14 00109A74 38 80 00 13 */ li r4, 0x13 +/* 8010CB18 00109A78 4B F4 74 69 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8010CB1C 00109A7C C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 8010CB20 00109A80 7F E5 FB 78 */ mr r5, r31 +/* 8010CB24 00109A84 C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 8010CB28 00109A88 38 61 00 70 */ addi r3, r1, 0x70 +/* 8010CB2C 00109A8C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010CB30 00109A90 38 9F 04 5C */ addi r4, r31, 0x45c +/* 8010CB34 00109A94 C0 5F 03 A8 */ lfs f2, 0x3a8(r31) +/* 8010CB38 00109A98 38 C1 00 F0 */ addi r6, r1, 0xf0 +/* 8010CB3C 00109A9C D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 8010CB40 00109AA0 C0 22 95 28 */ lfs f1, lbl_805AB248@sda21(r2) +/* 8010CB44 00109AA4 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 8010CB48 00109AA8 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 8010CB4C 00109AAC D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 8010CB50 00109AB0 D0 61 00 F4 */ stfs f3, 0xf4(r1) +/* 8010CB54 00109AB4 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 8010CB58 00109AB8 48 03 1F C5 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8010CB5C 00109ABC C0 81 00 74 */ lfs f4, 0x74(r1) +/* 8010CB60 00109AC0 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 8010CB64 00109AC4 EC 24 01 32 */ fmuls f1, f4, f4 +/* 8010CB68 00109AC8 C0 A1 00 78 */ lfs f5, 0x78(r1) +/* 8010CB6C 00109ACC C0 02 95 2C */ lfs f0, lbl_805AB24C@sda21(r2) +/* 8010CB70 00109AD0 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8010CB74 00109AD4 EC 25 09 7A */ fmadds f1, f5, f5, f1 +/* 8010CB78 00109AD8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010CB7C 00109ADC 40 81 00 44 */ ble lbl_8010CBC0 +/* 8010CB80 00109AE0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010CB84 00109AE4 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 8010CB88 00109AE8 C0 02 94 F8 */ lfs f0, lbl_805AB218@sda21(r2) +/* 8010CB8C 00109AEC 38 81 01 24 */ addi r4, r1, 0x124 +/* 8010CB90 00109AF0 D0 41 01 24 */ stfs f2, 0x124(r1) +/* 8010CB94 00109AF4 C0 43 00 04 */ lfs f2, 4(r3) +/* 8010CB98 00109AF8 C0 23 00 08 */ lfs f1, 8(r3) +/* 8010CB9C 00109AFC D0 81 01 28 */ stfs f4, 0x128(r1) +/* 8010CBA0 00109B00 D0 A1 01 2C */ stfs f5, 0x12c(r1) +/* 8010CBA4 00109B04 D0 61 01 30 */ stfs f3, 0x130(r1) +/* 8010CBA8 00109B08 D0 41 01 34 */ stfs f2, 0x134(r1) +/* 8010CBAC 00109B0C D0 21 01 38 */ stfs f1, 0x138(r1) +/* 8010CBB0 00109B10 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 8010CBB4 00109B14 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010CBB8 00109B18 38 63 00 04 */ addi r3, r3, 4 +/* 8010CBBC 00109B1C 48 02 4B 5D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8010CBC0: +/* 8010CBC0 00109B20 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010CBC4 00109B24 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 8010CBC8 00109B28 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010CBCC 00109B2C 38 81 01 08 */ addi r4, r1, 0x108 +/* 8010CBD0 00109B30 C0 43 00 04 */ lfs f2, 4(r3) +/* 8010CBD4 00109B34 C0 23 00 08 */ lfs f1, 8(r3) +/* 8010CBD8 00109B38 D3 A1 01 08 */ stfs f29, 0x108(r1) +/* 8010CBDC 00109B3C D3 81 01 0C */ stfs f28, 0x10c(r1) +/* 8010CBE0 00109B40 D3 61 01 10 */ stfs f27, 0x110(r1) +/* 8010CBE4 00109B44 D0 61 01 14 */ stfs f3, 0x114(r1) +/* 8010CBE8 00109B48 D0 41 01 18 */ stfs f2, 0x118(r1) +/* 8010CBEC 00109B4C D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 8010CBF0 00109B50 D0 01 01 20 */ stfs f0, 0x120(r1) +/* 8010CBF4 00109B54 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010CBF8 00109B58 38 63 00 04 */ addi r3, r3, 4 +/* 8010CBFC 00109B5C 48 02 4B 1D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8010CC00: +/* 8010CC00 00109B60 38 60 00 00 */ li r3, 0 +/* 8010CC04 00109B64 48 00 01 64 */ b lbl_8010CD68 +lbl_8010CC08: +/* 8010CC08 00109B68 C0 02 95 2C */ lfs f0, lbl_805AB24C@sda21(r2) +/* 8010CC0C 00109B6C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8010CC10 00109B70 40 81 01 54 */ ble lbl_8010CD64 +/* 8010CC14 00109B74 7F A5 EB 78 */ mr r5, r29 +/* 8010CC18 00109B78 38 80 00 13 */ li r4, 0x13 +/* 8010CC1C 00109B7C 4B F4 73 65 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8010CC20 00109B80 C0 02 95 30 */ lfs f0, lbl_805AB250@sda21(r2) +/* 8010CC24 00109B84 38 61 00 50 */ addi r3, r1, 0x50 +/* 8010CC28 00109B88 38 81 00 08 */ addi r4, r1, 8 +/* 8010CC2C 00109B8C D0 01 00 08 */ stfs f0, 8(r1) +/* 8010CC30 00109B90 48 20 44 C9 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8010CC34 00109B94 38 61 00 60 */ addi r3, r1, 0x60 +/* 8010CC38 00109B98 38 9F 06 A0 */ addi r4, r31, 0x6a0 +/* 8010CC3C 00109B9C 38 A1 00 50 */ addi r5, r1, 0x50 +/* 8010CC40 00109BA0 48 20 45 61 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8010CC44 00109BA4 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 8010CC48 00109BA8 38 61 00 30 */ addi r3, r1, 0x30 +/* 8010CC4C 00109BAC C0 41 00 64 */ lfs f2, 0x64(r1) +/* 8010CC50 00109BB0 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8010CC54 00109BB4 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 8010CC58 00109BB8 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 8010CC5C 00109BBC D0 61 00 E0 */ stfs f3, 0xe0(r1) +/* 8010CC60 00109BC0 C0 A2 95 34 */ lfs f5, lbl_805AB254@sda21(r2) +/* 8010CC64 00109BC4 D0 41 00 E4 */ stfs f2, 0xe4(r1) +/* 8010CC68 00109BC8 C0 C2 95 08 */ lfs f6, lbl_805AB228@sda21(r2) +/* 8010CC6C 00109BCC D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 8010CC70 00109BD0 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 8010CC74 00109BD4 C0 5F 03 A4 */ lfs f2, 0x3a4(r31) +/* 8010CC78 00109BD8 C0 3F 03 A8 */ lfs f1, 0x3a8(r31) +/* 8010CC7C 00109BDC C0 1F 03 A0 */ lfs f0, 0x3a0(r31) +/* 8010CC80 00109BE0 EC 82 01 72 */ fmuls f4, f2, f5 +/* 8010CC84 00109BE4 C0 FF 00 50 */ lfs f7, 0x50(r31) +/* 8010CC88 00109BE8 EC 41 01 72 */ fmuls f2, f1, f5 +/* 8010CC8C 00109BEC C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8010CC90 00109BF0 EC 00 01 72 */ fmuls f0, f0, f5 +/* 8010CC94 00109BF4 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8010CC98 00109BF8 EC 87 21 BA */ fmadds f4, f7, f6, f4 +/* 8010CC9C 00109BFC EC 43 11 BA */ fmadds f2, f3, f6, f2 +/* 8010CCA0 00109C00 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 8010CCA4 00109C04 D0 81 00 D8 */ stfs f4, 0xd8(r1) +/* 8010CCA8 00109C08 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 8010CCAC 00109C0C D0 41 00 DC */ stfs f2, 0xdc(r1) +/* 8010CCB0 00109C10 48 20 54 79 */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8010CCB4 00109C14 C0 22 95 34 */ lfs f1, lbl_805AB254@sda21(r2) +/* 8010CCB8 00109C18 38 61 00 40 */ addi r3, r1, 0x40 +/* 8010CCBC 00109C1C 38 81 00 30 */ addi r4, r1, 0x30 +/* 8010CCC0 00109C20 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 8010CCC4 00109C24 48 20 48 F5 */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 8010CCC8 00109C28 C0 61 00 40 */ lfs f3, 0x40(r1) +/* 8010CCCC 00109C2C 7F E3 FB 78 */ mr r3, r31 +/* 8010CCD0 00109C30 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8010CCD4 00109C34 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 8010CCD8 00109C38 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8010CCDC 00109C3C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8010CCE0 00109C40 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 8010CCE4 00109C44 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 8010CCE8 00109C48 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 8010CCEC 00109C4C D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 8010CCF0 00109C50 4B F4 61 9D */ bl SetTranslation__6CActorFRC9CVector3f +/* 8010CCF4 00109C54 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010CCF8 00109C58 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 8010CCFC 00109C5C 48 20 46 A1 */ bl BuildNormalized__11CQuaternionCFv +/* 8010CD00 00109C60 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8010CD04 00109C64 38 61 01 5C */ addi r3, r1, 0x15c +/* 8010CD08 00109C68 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8010CD0C 00109C6C 38 81 00 20 */ addi r4, r1, 0x20 +/* 8010CD10 00109C70 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010CD14 00109C74 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8010CD18 00109C78 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8010CD1C 00109C7C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8010CD20 00109C80 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8010CD24 00109C84 48 20 51 99 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 8010CD28 00109C88 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8010CD2C 00109C8C 38 81 01 5C */ addi r4, r1, 0x15c +/* 8010CD30 00109C90 48 20 5E 11 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8010CD34 00109C94 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8010CD38 00109C98 38 80 00 01 */ li r4, 1 +/* 8010CD3C 00109C9C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 8010CD40 00109CA0 38 60 00 00 */ li r3, 0 +/* 8010CD44 00109CA4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8010CD48 00109CA8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8010CD4C 00109CAC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 8010CD50 00109CB0 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8010CD54 00109CB4 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 8010CD58 00109CB8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 8010CD5C 00109CBC 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 8010CD60 00109CC0 48 00 00 08 */ b lbl_8010CD68 +lbl_8010CD64: +/* 8010CD64 00109CC4 38 60 00 01 */ li r3, 1 +lbl_8010CD68: +/* 8010CD68 00109CC8 E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 +/* 8010CD6C 00109CCC CB E1 02 00 */ lfd f31, 0x200(r1) +/* 8010CD70 00109CD0 E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 +/* 8010CD74 00109CD4 CB C1 01 F0 */ lfd f30, 0x1f0(r1) +/* 8010CD78 00109CD8 E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 +/* 8010CD7C 00109CDC CB A1 01 E0 */ lfd f29, 0x1e0(r1) +/* 8010CD80 00109CE0 E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 +/* 8010CD84 00109CE4 CB 81 01 D0 */ lfd f28, 0x1d0(r1) +/* 8010CD88 00109CE8 E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0 +/* 8010CD8C 00109CEC CB 61 01 C0 */ lfd f27, 0x1c0(r1) +/* 8010CD90 00109CF0 E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0 +/* 8010CD94 00109CF4 CB 41 01 B0 */ lfd f26, 0x1b0(r1) +/* 8010CD98 00109CF8 E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0 +/* 8010CD9C 00109CFC CB 21 01 A0 */ lfd f25, 0x1a0(r1) +/* 8010CDA0 00109D00 83 E1 01 9C */ lwz r31, 0x19c(r1) +/* 8010CDA4 00109D04 83 C1 01 98 */ lwz r30, 0x198(r1) +/* 8010CDA8 00109D08 80 01 02 14 */ lwz r0, 0x214(r1) +/* 8010CDAC 00109D0C 83 A1 01 94 */ lwz r29, 0x194(r1) +/* 8010CDB0 00109D10 7C 08 03 A6 */ mtlr r0 +/* 8010CDB4 00109D14 38 21 02 10 */ addi r1, r1, 0x210 +/* 8010CDB8 00109D18 4E 80 00 20 */ blr + +.global ApplyNormalSteering__8CWarWaspFR13CStateManager +ApplyNormalSteering__8CWarWaspFR13CStateManager: +/* 8010CDBC 00109D1C 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 8010CDC0 00109D20 7C 08 02 A6 */ mflr r0 +/* 8010CDC4 00109D24 90 01 01 54 */ stw r0, 0x154(r1) +/* 8010CDC8 00109D28 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 8010CDCC 00109D2C F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 8010CDD0 00109D30 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 8010CDD4 00109D34 93 C1 01 38 */ stw r30, 0x138(r1) +/* 8010CDD8 00109D38 7C 9E 23 78 */ mr r30, r4 +/* 8010CDDC 00109D3C 7C 7F 1B 78 */ mr r31, r3 +/* 8010CDE0 00109D40 80 C4 08 4C */ lwz r6, 0x84c(r4) +/* 8010CDE4 00109D44 7F C3 F3 78 */ mr r3, r30 +/* 8010CDE8 00109D48 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 8010CDEC 00109D4C 38 81 00 10 */ addi r4, r1, 0x10 +/* 8010CDF0 00109D50 C0 26 00 50 */ lfs f1, 0x50(r6) +/* 8010CDF4 00109D54 38 A1 00 0C */ addi r5, r1, 0xc +/* 8010CDF8 00109D58 C0 66 00 60 */ lfs f3, 0x60(r6) +/* 8010CDFC 00109D5C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8010CE00 00109D60 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8010CE04 00109D64 C0 26 00 40 */ lfs f1, 0x40(r6) +/* 8010CE08 00109D68 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010CE0C 00109D6C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8010CE10 00109D70 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010CE14 00109D74 D0 81 00 D0 */ stfs f4, 0xd0(r1) +/* 8010CE18 00109D78 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 8010CE1C 00109D7C D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 8010CE20 00109D80 A0 DF 00 08 */ lhz r6, 8(r31) +/* 8010CE24 00109D84 B0 C1 00 0C */ sth r6, 0xc(r1) +/* 8010CE28 00109D88 A0 1F 06 74 */ lhz r0, 0x674(r31) +/* 8010CE2C 00109D8C B0 C1 00 08 */ sth r6, 8(r1) +/* 8010CE30 00109D90 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010CE34 00109D94 48 12 D3 4D */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId +/* 8010CE38 00109D98 28 03 00 00 */ cmplwi r3, 0 +/* 8010CE3C 00109D9C 41 82 00 0C */ beq lbl_8010CE48 +/* 8010CE40 00109DA0 38 83 00 1C */ addi r4, r3, 0x1c +/* 8010CE44 00109DA4 48 00 00 1C */ b lbl_8010CE60 +lbl_8010CE48: +/* 8010CE48 00109DA8 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010CE4C 00109DAC 7F E4 FB 78 */ mr r4, r31 +/* 8010CE50 00109DB0 7F C5 F3 78 */ mr r5, r30 +/* 8010CE54 00109DB4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8010CE58 00109DB8 4B FF F0 49 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010CE5C 00109DBC 38 81 00 A8 */ addi r4, r1, 0xa8 +lbl_8010CE60: +/* 8010CE60 00109DC0 C0 A4 00 00 */ lfs f5, 0(r4) +/* 8010CE64 00109DC4 38 61 00 14 */ addi r3, r1, 0x14 +/* 8010CE68 00109DC8 D0 A1 00 C0 */ stfs f5, 0xc0(r1) +/* 8010CE6C 00109DCC C0 44 00 04 */ lfs f2, 4(r4) +/* 8010CE70 00109DD0 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 8010CE74 00109DD4 C0 84 00 08 */ lfs f4, 8(r4) +/* 8010CE78 00109DD8 D0 81 00 C8 */ stfs f4, 0xc8(r1) +/* 8010CE7C 00109DDC C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8010CE80 00109DE0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010CE84 00109DE4 EC 42 08 28 */ fsubs f2, f2, f1 +/* 8010CE88 00109DE8 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8010CE8C 00109DEC EC 25 00 28 */ fsubs f1, f5, f0 +/* 8010CE90 00109DF0 EC 04 18 28 */ fsubs f0, f4, f3 +/* 8010CE94 00109DF4 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 8010CE98 00109DF8 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8010CE9C 00109DFC D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8010CEA0 00109E00 48 20 73 61 */ bl __ct__9CVector2fFff +/* 8010CEA4 00109E04 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8010CEA8 00109E08 38 61 00 1C */ addi r3, r1, 0x1c +/* 8010CEAC 00109E0C C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8010CEB0 00109E10 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8010CEB4 00109E14 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 8010CEB8 00109E18 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8010CEBC 00109E1C C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8010CEC0 00109E20 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 8010CEC4 00109E24 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8010CEC8 00109E28 EF E0 18 28 */ fsubs f31, f0, f3 +/* 8010CECC 00109E2C D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8010CED0 00109E30 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 8010CED4 00109E34 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 8010CED8 00109E38 48 20 72 05 */ bl MagSquared__9CVector2fCFv +/* 8010CEDC 00109E3C C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010CEE0 00109E40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010CEE4 00109E44 41 81 00 18 */ bgt lbl_8010CEFC +/* 8010CEE8 00109E48 FC 20 FA 10 */ fabs f1, f31 +/* 8010CEEC 00109E4C C0 02 95 28 */ lfs f0, lbl_805AB248@sda21(r2) +/* 8010CEF0 00109E50 FC 20 08 18 */ frsp f1, f1 +/* 8010CEF4 00109E54 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010CEF8 00109E58 40 81 01 B4 */ ble lbl_8010D0AC +lbl_8010CEFC: +/* 8010CEFC 00109E5C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8010CF00 00109E60 7F E3 FB 78 */ mr r3, r31 +/* 8010CF04 00109E64 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8010CF08 00109E68 38 81 00 84 */ addi r4, r1, 0x84 +/* 8010CF0C 00109E6C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010CF10 00109E70 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8010CF14 00109E74 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8010CF18 00109E78 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8010CF1C 00109E7C 48 0E 7D F1 */ bl GetStepDirection__10CPatternedFRC9CVector3f +/* 8010CF20 00109E80 2C 03 00 00 */ cmpwi r3, 0 +/* 8010CF24 00109E84 41 82 00 78 */ beq lbl_8010CF9C +/* 8010CF28 00109E88 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 8010CF2C 00109E8C 80 9F 04 50 */ lwz r4, 0x450(r31) +/* 8010CF30 00109E90 38 05 AA 68 */ addi r0, r5, lbl_803DAA68@l +/* 8010CF34 00109E94 3C A0 80 3E */ lis r5, lbl_803DA9E4@ha +/* 8010CF38 00109E98 90 01 00 74 */ stw r0, 0x74(r1) +/* 8010CF3C 00109E9C 38 A5 A9 E4 */ addi r5, r5, lbl_803DA9E4@l +/* 8010CF40 00109EA0 38 C0 00 01 */ li r6, 1 +/* 8010CF44 00109EA4 38 00 00 00 */ li r0, 0 +/* 8010CF48 00109EA8 90 C1 00 78 */ stw r6, 0x78(r1) +/* 8010CF4C 00109EAC 3B C4 00 04 */ addi r30, r4, 4 +/* 8010CF50 00109EB0 38 80 00 01 */ li r4, 1 +/* 8010CF54 00109EB4 90 61 00 7C */ stw r3, 0x7c(r1) +/* 8010CF58 00109EB8 7F C3 F3 78 */ mr r3, r30 +/* 8010CF5C 00109EBC 90 A1 00 74 */ stw r5, 0x74(r1) +/* 8010CF60 00109EC0 90 01 00 80 */ stw r0, 0x80(r1) +/* 8010CF64 00109EC4 48 02 44 D5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010CF68 00109EC8 80 01 00 78 */ lwz r0, 0x78(r1) +/* 8010CF6C 00109ECC 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8010CF70 00109ED0 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8010CF74 00109ED4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010CF78 00109ED8 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 8010CF7C 00109EDC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010CF80 00109EE0 80 A1 00 7C */ lwz r5, 0x7c(r1) +/* 8010CF84 00109EE4 90 81 00 74 */ stw r4, 0x74(r1) +/* 8010CF88 00109EE8 80 61 00 80 */ lwz r3, 0x80(r1) +/* 8010CF8C 00109EEC 90 BE 00 CC */ stw r5, 0xcc(r30) +/* 8010CF90 00109EF0 90 7E 00 D0 */ stw r3, 0xd0(r30) +/* 8010CF94 00109EF4 90 01 00 74 */ stw r0, 0x74(r1) +/* 8010CF98 00109EF8 48 00 02 C4 */ b lbl_8010D25C +lbl_8010CF9C: +/* 8010CF9C 00109EFC C0 22 94 F8 */ lfs f1, lbl_805AB218@sda21(r2) +/* 8010CFA0 00109F00 7F E5 FB 78 */ mr r5, r31 +/* 8010CFA4 00109F04 38 61 00 68 */ addi r3, r1, 0x68 +/* 8010CFA8 00109F08 38 9F 04 5C */ addi r4, r31, 0x45c +/* 8010CFAC 00109F0C 38 C1 00 C0 */ addi r6, r1, 0xc0 +/* 8010CFB0 00109F10 48 03 1B 6D */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8010CFB4 00109F14 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010CFB8 00109F18 C0 C1 00 68 */ lfs f6, 0x68(r1) +/* 8010CFBC 00109F1C 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 8010CFC0 00109F20 C0 A1 00 6C */ lfs f5, 0x6c(r1) +/* 8010CFC4 00109F24 C0 81 00 70 */ lfs f4, 0x70(r1) +/* 8010CFC8 00109F28 38 81 01 10 */ addi r4, r1, 0x110 +/* 8010CFCC 00109F2C C0 7E 00 00 */ lfs f3, 0(r30) +/* 8010CFD0 00109F30 C0 5E 00 04 */ lfs f2, 4(r30) +/* 8010CFD4 00109F34 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8010CFD8 00109F38 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010CFDC 00109F3C D0 C1 01 10 */ stfs f6, 0x110(r1) +/* 8010CFE0 00109F40 D0 A1 01 14 */ stfs f5, 0x114(r1) +/* 8010CFE4 00109F44 D0 81 01 18 */ stfs f4, 0x118(r1) +/* 8010CFE8 00109F48 D0 61 01 1C */ stfs f3, 0x11c(r1) +/* 8010CFEC 00109F4C D0 41 01 20 */ stfs f2, 0x120(r1) +/* 8010CFF0 00109F50 D0 21 01 24 */ stfs f1, 0x124(r1) +/* 8010CFF4 00109F54 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 8010CFF8 00109F58 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010CFFC 00109F5C 38 63 00 04 */ addi r3, r3, 4 +/* 8010D000 00109F60 48 02 47 19 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 8010D004 00109F64 C0 9F 00 60 */ lfs f4, 0x60(r31) +/* 8010D008 00109F68 7F E5 FB 78 */ mr r5, r31 +/* 8010D00C 00109F6C C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 8010D010 00109F70 38 61 00 50 */ addi r3, r1, 0x50 +/* 8010D014 00109F74 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 8010D018 00109F78 38 9F 04 5C */ addi r4, r31, 0x45c +/* 8010D01C 00109F7C C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 8010D020 00109F80 38 C1 00 B4 */ addi r6, r1, 0xb4 +/* 8010D024 00109F84 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 8010D028 00109F88 C0 22 95 28 */ lfs f1, lbl_805AB248@sda21(r2) +/* 8010D02C 00109F8C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 8010D030 00109F90 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 8010D034 00109F94 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 8010D038 00109F98 D0 61 00 B8 */ stfs f3, 0xb8(r1) +/* 8010D03C 00109F9C D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 8010D040 00109FA0 48 03 1A DD */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8010D044 00109FA4 C0 81 00 54 */ lfs f4, 0x54(r1) +/* 8010D048 00109FA8 C0 C1 00 50 */ lfs f6, 0x50(r1) +/* 8010D04C 00109FAC EC 24 01 32 */ fmuls f1, f4, f4 +/* 8010D050 00109FB0 C0 A1 00 58 */ lfs f5, 0x58(r1) +/* 8010D054 00109FB4 C0 02 95 2C */ lfs f0, lbl_805AB24C@sda21(r2) +/* 8010D058 00109FB8 EC 26 09 BA */ fmadds f1, f6, f6, f1 +/* 8010D05C 00109FBC EC 25 09 7A */ fmadds f1, f5, f5, f1 +/* 8010D060 00109FC0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010D064 00109FC4 40 81 01 F8 */ ble lbl_8010D25C +/* 8010D068 00109FC8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010D06C 00109FCC C0 5E 00 04 */ lfs f2, 4(r30) +/* 8010D070 00109FD0 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8010D074 00109FD4 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 8010D078 00109FD8 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 8010D07C 00109FDC C0 02 94 F8 */ lfs f0, lbl_805AB218@sda21(r2) +/* 8010D080 00109FE0 D0 C1 00 F4 */ stfs f6, 0xf4(r1) +/* 8010D084 00109FE4 D0 81 00 F8 */ stfs f4, 0xf8(r1) +/* 8010D088 00109FE8 D0 A1 00 FC */ stfs f5, 0xfc(r1) +/* 8010D08C 00109FEC D0 61 01 00 */ stfs f3, 0x100(r1) +/* 8010D090 00109FF0 D0 41 01 04 */ stfs f2, 0x104(r1) +/* 8010D094 00109FF4 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 8010D098 00109FF8 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 8010D09C 00109FFC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010D0A0 0010A000 38 63 00 04 */ addi r3, r3, 4 +/* 8010D0A4 0010A004 48 02 46 75 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 8010D0A8 0010A008 48 00 01 B4 */ b lbl_8010D25C +lbl_8010D0AC: +/* 8010D0AC 0010A00C 80 7E 09 00 */ lwz r3, 0x900(r30) +/* 8010D0B0 0010A010 38 80 00 00 */ li r4, 0 +/* 8010D0B4 0010A014 38 A0 00 02 */ li r5, 2 +/* 8010D0B8 0010A018 48 20 54 DD */ bl Range__9CRandom16Fii +/* 8010D0BC 0010A01C 2C 03 00 01 */ cmpwi r3, 1 +/* 8010D0C0 0010A020 41 82 00 98 */ beq lbl_8010D158 +/* 8010D0C4 0010A024 40 80 00 10 */ bge lbl_8010D0D4 +/* 8010D0C8 0010A028 2C 03 00 00 */ cmpwi r3, 0 +/* 8010D0CC 0010A02C 40 80 00 14 */ bge lbl_8010D0E0 +/* 8010D0D0 0010A030 48 00 01 8C */ b lbl_8010D25C +lbl_8010D0D4: +/* 8010D0D4 0010A034 2C 03 00 03 */ cmpwi r3, 3 +/* 8010D0D8 0010A038 40 80 01 84 */ bge lbl_8010D25C +/* 8010D0DC 0010A03C 48 00 00 F4 */ b lbl_8010D1D0 +lbl_8010D0E0: +/* 8010D0E0 0010A040 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8010D0E4 0010A044 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010D0E8 0010A048 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8010D0EC 0010A04C 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 8010D0F0 0010A050 90 01 00 40 */ stw r0, 0x40(r1) +/* 8010D0F4 0010A054 38 C4 A9 E4 */ addi r6, r4, lbl_803DA9E4@l +/* 8010D0F8 0010A058 38 80 00 01 */ li r4, 1 +/* 8010D0FC 0010A05C 38 A0 00 02 */ li r5, 2 +/* 8010D100 0010A060 38 00 00 00 */ li r0, 0 +/* 8010D104 0010A064 3B C3 00 04 */ addi r30, r3, 4 +/* 8010D108 0010A068 90 81 00 44 */ stw r4, 0x44(r1) +/* 8010D10C 0010A06C 7F C3 F3 78 */ mr r3, r30 +/* 8010D110 0010A070 38 80 00 01 */ li r4, 1 +/* 8010D114 0010A074 90 C1 00 40 */ stw r6, 0x40(r1) +/* 8010D118 0010A078 90 A1 00 48 */ stw r5, 0x48(r1) +/* 8010D11C 0010A07C 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8010D120 0010A080 48 02 43 19 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010D124 0010A084 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8010D128 0010A088 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8010D12C 0010A08C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8010D130 0010A090 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010D134 0010A094 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 8010D138 0010A098 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010D13C 0010A09C 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 8010D140 0010A0A0 90 81 00 40 */ stw r4, 0x40(r1) +/* 8010D144 0010A0A4 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8010D148 0010A0A8 90 BE 00 CC */ stw r5, 0xcc(r30) +/* 8010D14C 0010A0AC 90 7E 00 D0 */ stw r3, 0xd0(r30) +/* 8010D150 0010A0B0 90 01 00 40 */ stw r0, 0x40(r1) +/* 8010D154 0010A0B4 48 00 01 08 */ b lbl_8010D25C +lbl_8010D158: +/* 8010D158 0010A0B8 3C 80 80 3E */ lis r4, lbl_803DAA68@ha +/* 8010D15C 0010A0BC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010D160 0010A0C0 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l +/* 8010D164 0010A0C4 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 8010D168 0010A0C8 90 01 00 30 */ stw r0, 0x30(r1) +/* 8010D16C 0010A0CC 38 C4 A9 E4 */ addi r6, r4, lbl_803DA9E4@l +/* 8010D170 0010A0D0 38 80 00 01 */ li r4, 1 +/* 8010D174 0010A0D4 38 A0 00 03 */ li r5, 3 +/* 8010D178 0010A0D8 38 00 00 00 */ li r0, 0 +/* 8010D17C 0010A0DC 3B C3 00 04 */ addi r30, r3, 4 +/* 8010D180 0010A0E0 90 81 00 34 */ stw r4, 0x34(r1) +/* 8010D184 0010A0E4 7F C3 F3 78 */ mr r3, r30 +/* 8010D188 0010A0E8 38 80 00 01 */ li r4, 1 +/* 8010D18C 0010A0EC 90 C1 00 30 */ stw r6, 0x30(r1) +/* 8010D190 0010A0F0 90 A1 00 38 */ stw r5, 0x38(r1) +/* 8010D194 0010A0F4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 8010D198 0010A0F8 48 02 42 A1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010D19C 0010A0FC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010D1A0 0010A100 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8010D1A4 0010A104 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8010D1A8 0010A108 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010D1AC 0010A10C 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 8010D1B0 0010A110 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010D1B4 0010A114 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 8010D1B8 0010A118 90 81 00 30 */ stw r4, 0x30(r1) +/* 8010D1BC 0010A11C 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8010D1C0 0010A120 90 BE 00 CC */ stw r5, 0xcc(r30) +/* 8010D1C4 0010A124 90 7E 00 D0 */ stw r3, 0xd0(r30) +/* 8010D1C8 0010A128 90 01 00 30 */ stw r0, 0x30(r1) +/* 8010D1CC 0010A12C 48 00 00 90 */ b lbl_8010D25C +lbl_8010D1D0: +/* 8010D1D0 0010A130 7F E3 FB 78 */ mr r3, r31 +/* 8010D1D4 0010A134 7F C4 F3 78 */ mr r4, r30 +/* 8010D1D8 0010A138 81 9F 00 00 */ lwz r12, 0(r31) +/* 8010D1DC 0010A13C C0 22 95 38 */ lfs f1, lbl_805AB258@sda21(r2) +/* 8010D1E0 0010A140 81 8C 01 E8 */ lwz r12, 0x1e8(r12) +/* 8010D1E4 0010A144 7D 89 03 A6 */ mtctr r12 +/* 8010D1E8 0010A148 4E 80 04 21 */ bctrl +/* 8010D1EC 0010A14C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010D1F0 0010A150 41 82 00 6C */ beq lbl_8010D25C +/* 8010D1F4 0010A154 38 61 00 CC */ addi r3, r1, 0xcc +/* 8010D1F8 0010A158 48 20 75 01 */ bl CanBeNormalized__9CVector3fCFv +/* 8010D1FC 0010A15C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010D200 0010A160 41 82 00 5C */ beq lbl_8010D25C +/* 8010D204 0010A164 38 61 00 24 */ addi r3, r1, 0x24 +/* 8010D208 0010A168 38 81 00 CC */ addi r4, r1, 0xcc +/* 8010D20C 0010A16C 48 20 76 45 */ bl AsNormalized__9CVector3fCFv +/* 8010D210 0010A170 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010D214 0010A174 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) +/* 8010D218 0010A178 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 8010D21C 0010A17C 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8010D220 0010A180 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 8010D224 0010A184 C0 A3 00 04 */ lfs f5, 4(r3) +/* 8010D228 0010A188 C0 83 00 08 */ lfs f4, 8(r3) +/* 8010D22C 0010A18C C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8010D230 0010A190 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010D234 0010A194 D0 C1 00 D8 */ stfs f6, 0xd8(r1) +/* 8010D238 0010A198 D0 A1 00 DC */ stfs f5, 0xdc(r1) +/* 8010D23C 0010A19C D0 81 00 E0 */ stfs f4, 0xe0(r1) +/* 8010D240 0010A1A0 D0 61 00 E4 */ stfs f3, 0xe4(r1) +/* 8010D244 0010A1A4 D0 41 00 E8 */ stfs f2, 0xe8(r1) +/* 8010D248 0010A1A8 D0 21 00 EC */ stfs f1, 0xec(r1) +/* 8010D24C 0010A1AC D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 8010D250 0010A1B0 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010D254 0010A1B4 38 63 00 04 */ addi r3, r3, 4 +/* 8010D258 0010A1B8 48 02 44 C1 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8010D25C: +/* 8010D25C 0010A1BC 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010D260 0010A1C0 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 8010D264 0010A1C4 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8010D268 0010A1C8 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 8010D26C 0010A1CC D0 03 00 20 */ stfs f0, 0x20(r3) +/* 8010D270 0010A1D0 C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 8010D274 0010A1D4 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8010D278 0010A1D8 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 8010D27C 0010A1DC 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8010D280 0010A1E0 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 8010D284 0010A1E4 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 8010D288 0010A1E8 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 8010D28C 0010A1EC 7C 08 03 A6 */ mtlr r0 +/* 8010D290 0010A1F0 38 21 01 50 */ addi r1, r1, 0x150 +/* 8010D294 0010A1F4 4E 80 00 20 */ blr + +.global ApplySeparationBehavior__8CWarWaspFR13CStateManagerf +ApplySeparationBehavior__8CWarWaspFR13CStateManagerf: +/* 8010D298 0010A1F8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8010D29C 0010A1FC 7C 08 02 A6 */ mflr r0 +/* 8010D2A0 0010A200 90 01 00 94 */ stw r0, 0x94(r1) +/* 8010D2A4 0010A204 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8010D2A8 0010A208 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8010D2AC 0010A20C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 8010D2B0 0010A210 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8010D2B4 0010A214 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 8010D2B8 0010A218 7C 9C 23 78 */ mr r28, r4 +/* 8010D2BC 0010A21C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8010D2C0 0010A220 83 DC 08 38 */ lwz r30, 0x838(r28) +/* 8010D2C4 0010A224 FF C0 08 90 */ fmr f30, f1 +/* 8010D2C8 0010A228 7C 7B 1B 78 */ mr r27, r3 +/* 8010D2CC 0010A22C 3B E4 66 A0 */ addi r31, r4, skZero3f@l +/* 8010D2D0 0010A230 AB BE 20 08 */ lha r29, 0x2008(r30) +/* 8010D2D4 0010A234 48 00 01 50 */ b lbl_8010D424 +lbl_8010D2D8: +/* 8010D2D8 0010A238 7F C3 F3 78 */ mr r3, r30 +/* 8010D2DC 0010A23C 7F A4 EB 78 */ mr r4, r29 +/* 8010D2E0 0010A240 4B F0 29 FD */ bl __vc__11CObjectListCFi +/* 8010D2E4 0010A244 7C 64 1B 78 */ mr r4, r3 +/* 8010D2E8 0010A248 38 61 00 14 */ addi r3, r1, 0x14 +/* 8010D2EC 0010A24C 4B F9 F7 71 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8010D2F0 0010A250 83 43 00 04 */ lwz r26, 4(r3) +/* 8010D2F4 0010A254 28 1A 00 00 */ cmplwi r26, 0 +/* 8010D2F8 0010A258 41 82 01 10 */ beq lbl_8010D408 +/* 8010D2FC 0010A25C 7C 1A D8 40 */ cmplw r26, r27 +/* 8010D300 0010A260 41 82 01 08 */ beq lbl_8010D408 +/* 8010D304 0010A264 80 7A 00 04 */ lwz r3, 4(r26) +/* 8010D308 0010A268 80 1B 00 04 */ lwz r0, 4(r27) +/* 8010D30C 0010A26C 7C 03 00 00 */ cmpw r3, r0 +/* 8010D310 0010A270 40 82 00 F8 */ bne lbl_8010D408 +/* 8010D314 0010A274 A0 DA 00 08 */ lhz r6, 8(r26) +/* 8010D318 0010A278 FF E0 F0 90 */ fmr f31, f30 +/* 8010D31C 0010A27C 7F 83 E3 78 */ mr r3, r28 +/* 8010D320 0010A280 38 81 00 10 */ addi r4, r1, 0x10 +/* 8010D324 0010A284 B0 C1 00 0C */ sth r6, 0xc(r1) +/* 8010D328 0010A288 38 A1 00 0C */ addi r5, r1, 0xc +/* 8010D32C 0010A28C A0 1B 06 74 */ lhz r0, 0x674(r27) +/* 8010D330 0010A290 B0 C1 00 08 */ sth r6, 8(r1) +/* 8010D334 0010A294 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010D338 0010A298 48 12 CE 49 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId +/* 8010D33C 0010A29C 28 03 00 00 */ cmplwi r3, 0 +/* 8010D340 0010A2A0 41 82 00 20 */ beq lbl_8010D360 +/* 8010D344 0010A2A4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8010D348 0010A2A8 2C 00 00 01 */ cmpwi r0, 1 +/* 8010D34C 0010A2AC 41 82 00 0C */ beq lbl_8010D358 +/* 8010D350 0010A2B0 2C 00 00 02 */ cmpwi r0, 2 +/* 8010D354 0010A2B4 40 82 00 0C */ bne lbl_8010D360 +lbl_8010D358: +/* 8010D358 0010A2B8 C0 02 94 D0 */ lfs f0, lbl_805AB1F0@sda21(r2) +/* 8010D35C 0010A2BC EF FF 00 32 */ fmuls f31, f31, f0 +lbl_8010D360: +/* 8010D360 0010A2C0 C0 7A 00 60 */ lfs f3, 0x60(r26) +/* 8010D364 0010A2C4 FC 20 F8 90 */ fmr f1, f31 +/* 8010D368 0010A2C8 C0 5A 00 50 */ lfs f2, 0x50(r26) +/* 8010D36C 0010A2CC 7F 65 DB 78 */ mr r5, r27 +/* 8010D370 0010A2D0 C0 1A 00 40 */ lfs f0, 0x40(r26) +/* 8010D374 0010A2D4 38 61 00 28 */ addi r3, r1, 0x28 +/* 8010D378 0010A2D8 38 9B 04 5C */ addi r4, r27, 0x45c +/* 8010D37C 0010A2DC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8010D380 0010A2E0 38 C1 00 1C */ addi r6, r1, 0x1c +/* 8010D384 0010A2E4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8010D388 0010A2E8 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8010D38C 0010A2EC 48 03 15 65 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8010D390 0010A2F0 C0 C1 00 28 */ lfs f6, 0x28(r1) +/* 8010D394 0010A2F4 38 00 00 00 */ li r0, 0 +/* 8010D398 0010A2F8 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010D39C 0010A2FC C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 8010D3A0 0010A300 FC 00 30 00 */ fcmpu cr0, f0, f6 +/* 8010D3A4 0010A304 C0 A1 00 30 */ lfs f5, 0x30(r1) +/* 8010D3A8 0010A308 40 82 00 14 */ bne lbl_8010D3BC +/* 8010D3AC 0010A30C FC 00 20 00 */ fcmpu cr0, f0, f4 +/* 8010D3B0 0010A310 40 82 00 0C */ bne lbl_8010D3BC +/* 8010D3B4 0010A314 FC 00 28 00 */ fcmpu cr0, f0, f5 +/* 8010D3B8 0010A318 41 82 00 08 */ beq lbl_8010D3C0 +lbl_8010D3BC: +/* 8010D3BC 0010A31C 38 00 00 01 */ li r0, 1 +lbl_8010D3C0: +/* 8010D3C0 0010A320 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8010D3C4 0010A324 41 82 00 44 */ beq lbl_8010D408 +/* 8010D3C8 0010A328 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010D3CC 0010A32C C0 5F 00 04 */ lfs f2, 4(r31) +/* 8010D3D0 0010A330 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8010D3D4 0010A334 38 81 00 34 */ addi r4, r1, 0x34 +/* 8010D3D8 0010A338 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) +/* 8010D3DC 0010A33C C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010D3E0 0010A340 D0 C1 00 34 */ stfs f6, 0x34(r1) +/* 8010D3E4 0010A344 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 8010D3E8 0010A348 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 8010D3EC 0010A34C D0 61 00 40 */ stfs f3, 0x40(r1) +/* 8010D3F0 0010A350 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8010D3F4 0010A354 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 8010D3F8 0010A358 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8010D3FC 0010A35C 80 7B 04 50 */ lwz r3, 0x450(r27) +/* 8010D400 0010A360 38 63 00 04 */ addi r3, r3, 4 +/* 8010D404 0010A364 48 02 43 15 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +lbl_8010D408: +/* 8010D408 0010A368 2C 1D FF FF */ cmpwi r29, -1 +/* 8010D40C 0010A36C 41 82 00 14 */ beq lbl_8010D420 +/* 8010D410 0010A370 57 A3 18 38 */ slwi r3, r29, 3 +/* 8010D414 0010A374 38 03 00 08 */ addi r0, r3, 8 +/* 8010D418 0010A378 7F BE 02 AE */ lhax r29, r30, r0 +/* 8010D41C 0010A37C 48 00 00 08 */ b lbl_8010D424 +lbl_8010D420: +/* 8010D420 0010A380 3B A0 FF FF */ li r29, -1 +lbl_8010D424: +/* 8010D424 0010A384 2C 1D FF FF */ cmpwi r29, -1 +/* 8010D428 0010A388 40 82 FE B0 */ bne lbl_8010D2D8 +/* 8010D42C 0010A38C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8010D430 0010A390 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8010D434 0010A394 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 8010D438 0010A398 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 8010D43C 0010A39C BB 41 00 58 */ lmw r26, 0x58(r1) +/* 8010D440 0010A3A0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8010D444 0010A3A4 7C 08 03 A6 */ mtlr r0 +/* 8010D448 0010A3A8 38 21 00 90 */ addi r1, r1, 0x90 +/* 8010D44C 0010A3AC 4E 80 00 20 */ blr + +.global SwarmRemove__8CWarWaspFR13CStateManager +SwarmRemove__8CWarWaspFR13CStateManager: +/* 8010D450 0010A3B0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010D454 0010A3B4 7C 08 02 A6 */ mflr r0 +/* 8010D458 0010A3B8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010D45C 0010A3BC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8010D460 0010A3C0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8010D464 0010A3C4 7C 7E 1B 78 */ mr r30, r3 +/* 8010D468 0010A3C8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8010D46C 0010A3CC A0 63 06 74 */ lhz r3, 0x674(r3) +/* 8010D470 0010A3D0 7C 03 00 40 */ cmplw r3, r0 +/* 8010D474 0010A3D4 41 82 00 68 */ beq lbl_8010D4DC +/* 8010D478 0010A3D8 A0 1E 06 74 */ lhz r0, 0x674(r30) +/* 8010D47C 0010A3DC 7C 83 23 78 */ mr r3, r4 +/* 8010D480 0010A3E0 38 81 00 18 */ addi r4, r1, 0x18 +/* 8010D484 0010A3E4 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8010D488 0010A3E8 4B F3 F0 ED */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8010D48C 0010A3EC 7C 64 1B 78 */ mr r4, r3 +/* 8010D490 0010A3F0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8010D494 0010A3F4 4B F9 A0 E1 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010D498 0010A3F8 83 E3 00 04 */ lwz r31, 4(r3) +/* 8010D49C 0010A3FC 28 1F 00 00 */ cmplwi r31, 0 +/* 8010D4A0 0010A400 41 82 00 3C */ beq lbl_8010D4DC +/* 8010D4A4 0010A404 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8010D4A8 0010A408 7F E3 FB 78 */ mr r3, r31 +/* 8010D4AC 0010A40C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8010D4B0 0010A410 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010D4B4 0010A414 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8010D4B8 0010A418 48 12 BB 39 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId +/* 8010D4BC 0010A41C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010D4C0 0010A420 41 82 00 1C */ beq lbl_8010D4DC +/* 8010D4C4 0010A424 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8010D4C8 0010A428 7F E3 FB 78 */ mr r3, r31 +/* 8010D4CC 0010A42C 38 81 00 0C */ addi r4, r1, 0xc +/* 8010D4D0 0010A430 B0 01 00 08 */ sth r0, 8(r1) +/* 8010D4D4 0010A434 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010D4D8 0010A438 48 12 C0 1D */ bl RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId +lbl_8010D4DC: +/* 8010D4DC 0010A43C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010D4E0 0010A440 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8010D4E4 0010A444 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8010D4E8 0010A448 7C 08 03 A6 */ mtlr r0 +/* 8010D4EC 0010A44C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010D4F0 0010A450 4E 80 00 20 */ blr + +.global SwarmAdd__8CWarWaspFR13CStateManager +SwarmAdd__8CWarWaspFR13CStateManager: +/* 8010D4F4 0010A454 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010D4F8 0010A458 7C 08 02 A6 */ mflr r0 +/* 8010D4FC 0010A45C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010D500 0010A460 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8010D504 0010A464 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8010D508 0010A468 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8010D50C 0010A46C 7C 7D 1B 78 */ mr r29, r3 +/* 8010D510 0010A470 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8010D514 0010A474 A0 63 06 74 */ lhz r3, 0x674(r3) +/* 8010D518 0010A478 7C 03 00 40 */ cmplw r3, r0 +/* 8010D51C 0010A47C 41 82 00 7C */ beq lbl_8010D598 +/* 8010D520 0010A480 A0 1D 06 74 */ lhz r0, 0x674(r29) +/* 8010D524 0010A484 7C 83 23 78 */ mr r3, r4 +/* 8010D528 0010A488 38 81 00 10 */ addi r4, r1, 0x10 +/* 8010D52C 0010A48C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010D530 0010A490 4B F3 F0 45 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8010D534 0010A494 7C 64 1B 78 */ mr r4, r3 +/* 8010D538 0010A498 38 61 00 14 */ addi r3, r1, 0x14 +/* 8010D53C 0010A49C 4B F9 A0 39 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010D540 0010A4A0 83 C3 00 04 */ lwz r30, 4(r3) +/* 8010D544 0010A4A4 28 1E 00 00 */ cmplwi r30, 0 +/* 8010D548 0010A4A8 41 82 00 50 */ beq lbl_8010D598 +/* 8010D54C 0010A4AC 80 1D 03 FC */ lwz r0, 0x3fc(r29) +/* 8010D550 0010A4B0 3B E0 00 01 */ li r31, 1 +/* 8010D554 0010A4B4 2C 00 00 02 */ cmpwi r0, 2 +/* 8010D558 0010A4B8 40 82 00 08 */ bne lbl_8010D560 +/* 8010D55C 0010A4BC 3B E0 00 02 */ li r31, 2 +lbl_8010D560: +/* 8010D560 0010A4C0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8010D564 0010A4C4 7F C3 F3 78 */ mr r3, r30 +/* 8010D568 0010A4C8 38 81 00 0C */ addi r4, r1, 0xc +/* 8010D56C 0010A4CC B0 01 00 08 */ sth r0, 8(r1) +/* 8010D570 0010A4D0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010D574 0010A4D4 48 12 BA 7D */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId +/* 8010D578 0010A4D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010D57C 0010A4DC 40 82 00 1C */ bne lbl_8010D598 +/* 8010D580 0010A4E0 7F C3 F3 78 */ mr r3, r30 +/* 8010D584 0010A4E4 7F A4 EB 78 */ mr r4, r29 +/* 8010D588 0010A4E8 7F E5 FB 78 */ mr r5, r31 +/* 8010D58C 0010A4EC 38 C0 FF FF */ li r6, -1 +/* 8010D590 0010A4F0 38 E0 FF FF */ li r7, -1 +/* 8010D594 0010A4F4 48 12 C2 19 */ bl AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii +lbl_8010D598: +/* 8010D598 0010A4F8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010D59C 0010A4FC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8010D5A0 0010A500 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8010D5A4 0010A504 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8010D5A8 0010A508 7C 08 03 A6 */ mtlr r0 +/* 8010D5AC 0010A50C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010D5B0 0010A510 4E 80 00 20 */ blr + +.global JoinCircleAttackTeam__8CWarWaspFiR13CStateManager +JoinCircleAttackTeam__8CWarWaspFiR13CStateManager: +/* 8010D5B4 0010A514 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8010D5B8 0010A518 7C 08 02 A6 */ mflr r0 +/* 8010D5BC 0010A51C C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8010D5C0 0010A520 90 01 00 24 */ stw r0, 0x24(r1) +/* 8010D5C4 0010A524 38 00 00 00 */ li r0, 0 +/* 8010D5C8 0010A528 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8010D5CC 0010A52C 7C BF 2B 78 */ mr r31, r5 +/* 8010D5D0 0010A530 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8010D5D4 0010A534 7C 9E 23 78 */ mr r30, r4 +/* 8010D5D8 0010A538 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8010D5DC 0010A53C 7C 7D 1B 78 */ mr r29, r3 +/* 8010D5E0 0010A540 C0 03 06 B0 */ lfs f0, 0x6b0(r3) +/* 8010D5E4 0010A544 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010D5E8 0010A548 40 82 00 1C */ bne lbl_8010D604 +/* 8010D5EC 0010A54C C0 1D 06 B4 */ lfs f0, 0x6b4(r29) +/* 8010D5F0 0010A550 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010D5F4 0010A554 40 82 00 10 */ bne lbl_8010D604 +/* 8010D5F8 0010A558 C0 1D 06 B8 */ lfs f0, 0x6b8(r29) +/* 8010D5FC 0010A55C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010D600 0010A560 41 82 00 08 */ beq lbl_8010D608 +lbl_8010D604: +/* 8010D604 0010A564 38 00 00 01 */ li r0, 1 +lbl_8010D608: +/* 8010D608 0010A568 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8010D60C 0010A56C 41 82 00 4C */ beq lbl_8010D658 +/* 8010D610 0010A570 80 1D 07 0C */ lwz r0, 0x70c(r29) +/* 8010D614 0010A574 2C 00 FF FF */ cmpwi r0, -1 +/* 8010D618 0010A578 40 82 00 1C */ bne lbl_8010D634 +/* 8010D61C 0010A57C 7F A3 EB 78 */ mr r3, r29 +/* 8010D620 0010A580 7F E4 FB 78 */ mr r4, r31 +/* 8010D624 0010A584 7F C5 F3 78 */ mr r5, r30 +/* 8010D628 0010A588 4B FF D9 79 */ bl GetAttackTeamSize__8CWarWaspFR13CStateManageri +/* 8010D62C 0010A58C 90 7D 07 10 */ stw r3, 0x710(r29) +/* 8010D630 0010A590 93 DD 07 0C */ stw r30, 0x70c(r29) +lbl_8010D634: +/* 8010D634 0010A594 93 DD 07 08 */ stw r30, 0x708(r29) +/* 8010D638 0010A598 7F A3 EB 78 */ mr r3, r29 +/* 8010D63C 0010A59C 7F E4 FB 78 */ mr r4, r31 +/* 8010D640 0010A5A0 4B FF E7 89 */ bl CalcTimeToNextAttack__8CWarWaspFR13CStateManager +/* 8010D644 0010A5A4 D0 3D 07 00 */ stfs f1, 0x700(r29) +/* 8010D648 0010A5A8 7F A3 EB 78 */ mr r3, r29 +/* 8010D64C 0010A5AC 7F E4 FB 78 */ mr r4, r31 +/* 8010D650 0010A5B0 4B FF D8 A5 */ bl CalcOffTotemAngle__8CWarWaspFR13CStateManager +/* 8010D654 0010A5B4 D0 3D 07 18 */ stfs f1, 0x718(r29) +lbl_8010D658: +/* 8010D658 0010A5B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8010D65C 0010A5BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8010D660 0010A5C0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010D664 0010A5C4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8010D668 0010A5C8 7C 08 03 A6 */ mtlr r0 +/* 8010D66C 0010A5CC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8010D670 0010A5D0 4E 80 00 20 */ blr + +.global SpecialAttack__8CWarWaspFR13CStateManager9EStateMsgf +SpecialAttack__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010D674 0010A5D4 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8010D678 0010A5D8 7C 08 02 A6 */ mflr r0 +/* 8010D67C 0010A5DC 2C 05 00 01 */ cmpwi r5, 1 +/* 8010D680 0010A5E0 90 01 00 44 */ stw r0, 0x44(r1) +/* 8010D684 0010A5E4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8010D688 0010A5E8 7C 7F 1B 78 */ mr r31, r3 +/* 8010D68C 0010A5EC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8010D690 0010A5F0 7C 9E 23 78 */ mr r30, r4 +/* 8010D694 0010A5F4 41 82 00 50 */ beq lbl_8010D6E4 +/* 8010D698 0010A5F8 40 80 00 10 */ bge lbl_8010D6A8 +/* 8010D69C 0010A5FC 2C 05 00 00 */ cmpwi r5, 0 +/* 8010D6A0 0010A600 40 80 00 14 */ bge lbl_8010D6B4 +/* 8010D6A4 0010A604 48 00 01 F0 */ b lbl_8010D894 +lbl_8010D6A8: +/* 8010D6A8 0010A608 2C 05 00 03 */ cmpwi r5, 3 +/* 8010D6AC 0010A60C 40 80 01 E8 */ bge lbl_8010D894 +/* 8010D6B0 0010A610 48 00 01 94 */ b lbl_8010D844 +lbl_8010D6B4: +/* 8010D6B4 0010A614 88 7F 07 2E */ lbz r3, 0x72e(r31) +/* 8010D6B8 0010A618 38 80 00 01 */ li r4, 1 +/* 8010D6BC 0010A61C 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 8010D6C0 0010A620 38 00 00 00 */ li r0, 0 +/* 8010D6C4 0010A624 98 7F 07 2E */ stb r3, 0x72e(r31) +/* 8010D6C8 0010A628 88 7F 07 2E */ lbz r3, 0x72e(r31) +/* 8010D6CC 0010A62C 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 8010D6D0 0010A630 98 7F 07 2E */ stb r3, 0x72e(r31) +/* 8010D6D4 0010A634 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010D6D8 0010A638 C0 1F 06 FC */ lfs f0, 0x6fc(r31) +/* 8010D6DC 0010A63C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) +/* 8010D6E0 0010A640 48 00 01 B4 */ b lbl_8010D894 +lbl_8010D6E4: +/* 8010D6E4 0010A644 80 1F 05 68 */ lwz r0, 0x568(r31) +/* 8010D6E8 0010A648 2C 00 00 01 */ cmpwi r0, 1 +/* 8010D6EC 0010A64C 41 82 01 A8 */ beq lbl_8010D894 +/* 8010D6F0 0010A650 40 80 00 10 */ bge lbl_8010D700 +/* 8010D6F4 0010A654 2C 00 00 00 */ cmpwi r0, 0 +/* 8010D6F8 0010A658 40 80 00 14 */ bge lbl_8010D70C +/* 8010D6FC 0010A65C 48 00 01 98 */ b lbl_8010D894 +lbl_8010D700: +/* 8010D700 0010A660 2C 00 00 03 */ cmpwi r0, 3 +/* 8010D704 0010A664 40 80 01 90 */ bge lbl_8010D894 +/* 8010D708 0010A668 48 00 00 C8 */ b lbl_8010D7D0 +lbl_8010D70C: +/* 8010D70C 0010A66C 81 1F 04 50 */ lwz r8, 0x450(r31) +/* 8010D710 0010A670 80 08 02 B8 */ lwz r0, 0x2b8(r8) +/* 8010D714 0010A674 2C 00 00 07 */ cmpwi r0, 7 +/* 8010D718 0010A678 40 82 00 10 */ bne lbl_8010D728 +/* 8010D71C 0010A67C 38 00 00 02 */ li r0, 2 +/* 8010D720 0010A680 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010D724 0010A684 48 00 01 70 */ b lbl_8010D894 +lbl_8010D728: +/* 8010D728 0010A688 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 8010D72C 0010A68C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010D730 0010A690 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 8010D734 0010A694 38 C5 AA 68 */ addi r6, r5, lbl_803DAA68@l +/* 8010D738 0010A698 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha +/* 8010D73C 0010A69C 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8010D740 0010A6A0 38 C4 A9 D8 */ addi r6, r4, lbl_803DA9D8@l +/* 8010D744 0010A6A4 C0 23 00 04 */ lfs f1, 4(r3) +/* 8010D748 0010A6A8 C0 03 00 08 */ lfs f0, 8(r3) +/* 8010D74C 0010A6AC 38 E0 00 05 */ li r7, 5 +/* 8010D750 0010A6B0 38 A0 00 08 */ li r5, 8 +/* 8010D754 0010A6B4 38 00 00 00 */ li r0, 0 +/* 8010D758 0010A6B8 3B E8 00 04 */ addi r31, r8, 4 +/* 8010D75C 0010A6BC 90 E1 00 18 */ stw r7, 0x18(r1) +/* 8010D760 0010A6C0 7F E3 FB 78 */ mr r3, r31 +/* 8010D764 0010A6C4 38 80 00 05 */ li r4, 5 +/* 8010D768 0010A6C8 90 C1 00 14 */ stw r6, 0x14(r1) +/* 8010D76C 0010A6CC 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 8010D770 0010A6D0 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8010D774 0010A6D4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8010D778 0010A6D8 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8010D77C 0010A6DC 98 01 00 2C */ stb r0, 0x2c(r1) +/* 8010D780 0010A6E0 48 02 3C B9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010D784 0010A6E4 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8010D788 0010A6E8 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha +/* 8010D78C 0010A6EC 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l +/* 8010D790 0010A6F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010D794 0010A6F4 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8010D798 0010A6F8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010D79C 0010A6FC 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8010D7A0 0010A700 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8010D7A4 0010A704 90 7F 01 14 */ stw r3, 0x114(r31) +/* 8010D7A8 0010A708 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8010D7AC 0010A70C 90 BF 01 18 */ stw r5, 0x118(r31) +/* 8010D7B0 0010A710 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8010D7B4 0010A714 90 7F 01 1C */ stw r3, 0x11c(r31) +/* 8010D7B8 0010A718 88 61 00 2C */ lbz r3, 0x2c(r1) +/* 8010D7BC 0010A71C 90 BF 01 20 */ stw r5, 0x120(r31) +/* 8010D7C0 0010A720 90 81 00 14 */ stw r4, 0x14(r1) +/* 8010D7C4 0010A724 98 7F 01 24 */ stb r3, 0x124(r31) +/* 8010D7C8 0010A728 90 01 00 14 */ stw r0, 0x14(r1) +/* 8010D7CC 0010A72C 48 00 00 C8 */ b lbl_8010D894 +lbl_8010D7D0: +/* 8010D7D0 0010A730 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010D7D4 0010A734 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8010D7D8 0010A738 2C 00 00 07 */ cmpwi r0, 7 +/* 8010D7DC 0010A73C 41 82 00 10 */ beq lbl_8010D7EC +/* 8010D7E0 0010A740 38 00 00 03 */ li r0, 3 +/* 8010D7E4 0010A744 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010D7E8 0010A748 48 00 00 AC */ b lbl_8010D894 +lbl_8010D7EC: +/* 8010D7EC 0010A74C C0 3F 06 B4 */ lfs f1, 0x6b4(r31) +/* 8010D7F0 0010A750 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 8010D7F4 0010A754 C0 7F 06 B0 */ lfs f3, 0x6b0(r31) +/* 8010D7F8 0010A758 C0 5F 00 40 */ lfs f2, 0x40(r31) +/* 8010D7FC 0010A75C EC 81 00 28 */ fsubs f4, f1, f0 +/* 8010D800 0010A760 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 8010D804 0010A764 EC A3 10 28 */ fsubs f5, f3, f2 +/* 8010D808 0010A768 C0 7F 06 B8 */ lfs f3, 0x6b8(r31) +/* 8010D80C 0010A76C C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8010D810 0010A770 EC 00 01 32 */ fmuls f0, f0, f4 +/* 8010D814 0010A774 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 8010D818 0010A778 EC 63 10 28 */ fsubs f3, f3, f2 +/* 8010D81C 0010A77C EC 21 01 7A */ fmadds f1, f1, f5, f0 +/* 8010D820 0010A780 C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 8010D824 0010A784 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010D828 0010A788 EC 22 08 FA */ fmadds f1, f2, f3, f1 +/* 8010D82C 0010A78C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010D830 0010A790 40 81 00 64 */ ble lbl_8010D894 +/* 8010D834 0010A794 D0 A3 00 1C */ stfs f5, 0x1c(r3) +/* 8010D838 0010A798 D0 83 00 20 */ stfs f4, 0x20(r3) +/* 8010D83C 0010A79C D0 63 00 24 */ stfs f3, 0x24(r3) +/* 8010D840 0010A7A0 48 00 00 54 */ b lbl_8010D894 +lbl_8010D844: +/* 8010D844 0010A7A4 A1 1F 00 08 */ lhz r8, 8(r31) +/* 8010D848 0010A7A8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8010D84C 0010A7AC 38 C1 00 0C */ addi r6, r1, 0xc +/* 8010D850 0010A7B0 38 60 00 00 */ li r3, 0 +/* 8010D854 0010A7B4 B1 01 00 0C */ sth r8, 0xc(r1) +/* 8010D858 0010A7B8 38 E0 00 00 */ li r7, 0 +/* 8010D85C 0010A7BC A0 1F 06 74 */ lhz r0, 0x674(r31) +/* 8010D860 0010A7C0 B1 01 00 08 */ sth r8, 8(r1) +/* 8010D864 0010A7C4 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010D868 0010A7C8 48 12 C6 69 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb +/* 8010D86C 0010A7CC 88 7F 07 2E */ lbz r3, 0x72e(r31) +/* 8010D870 0010A7D0 38 00 00 00 */ li r0, 0 +/* 8010D874 0010A7D4 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b +/* 8010D878 0010A7D8 38 00 FF FF */ li r0, -1 +/* 8010D87C 0010A7DC 98 7F 07 2E */ stb r3, 0x72e(r31) +/* 8010D880 0010A7E0 7F E3 FB 78 */ mr r3, r31 +/* 8010D884 0010A7E4 7F C4 F3 78 */ mr r4, r30 +/* 8010D888 0010A7E8 90 1F 07 08 */ stw r0, 0x708(r31) +/* 8010D88C 0010A7EC 4B FF D6 69 */ bl CalcOffTotemAngle__8CWarWaspFR13CStateManager +/* 8010D890 0010A7F0 D0 3F 07 18 */ stfs f1, 0x718(r31) +lbl_8010D894: +/* 8010D894 0010A7F4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8010D898 0010A7F8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8010D89C 0010A7FC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8010D8A0 0010A800 7C 08 03 A6 */ mtlr r0 +/* 8010D8A4 0010A804 38 21 00 40 */ addi r1, r1, 0x40 +/* 8010D8A8 0010A808 4E 80 00 20 */ blr + +.global TelegraphAttack__8CWarWaspFR13CStateManager9EStateMsgf +TelegraphAttack__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010D8AC 0010A80C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8010D8B0 0010A810 7C 08 02 A6 */ mflr r0 +/* 8010D8B4 0010A814 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8010D8B8 0010A818 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 8010D8BC 0010A81C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 8010D8C0 0010A820 DB C1 00 D0 */ stfd f30, 0xd0(r1) +/* 8010D8C4 0010A824 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 +/* 8010D8C8 0010A828 DB A1 00 C0 */ stfd f29, 0xc0(r1) +/* 8010D8CC 0010A82C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 +/* 8010D8D0 0010A830 DB 81 00 B0 */ stfd f28, 0xb0(r1) +/* 8010D8D4 0010A834 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 +/* 8010D8D8 0010A838 DB 61 00 A0 */ stfd f27, 0xa0(r1) +/* 8010D8DC 0010A83C F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 +/* 8010D8E0 0010A840 DB 41 00 90 */ stfd f26, 0x90(r1) +/* 8010D8E4 0010A844 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 +/* 8010D8E8 0010A848 DB 21 00 80 */ stfd f25, 0x80(r1) +/* 8010D8EC 0010A84C F3 21 00 88 */ psq_st f25, 136(r1), 0, qr0 +/* 8010D8F0 0010A850 DB 01 00 70 */ stfd f24, 0x70(r1) +/* 8010D8F4 0010A854 F3 01 00 78 */ psq_st f24, 120(r1), 0, qr0 +/* 8010D8F8 0010A858 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8010D8FC 0010A85C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8010D900 0010A860 2C 05 00 01 */ cmpwi r5, 1 +/* 8010D904 0010A864 7C 7E 1B 78 */ mr r30, r3 +/* 8010D908 0010A868 7C 9F 23 78 */ mr r31, r4 +/* 8010D90C 0010A86C 41 82 00 78 */ beq lbl_8010D984 +/* 8010D910 0010A870 40 80 00 10 */ bge lbl_8010D920 +/* 8010D914 0010A874 2C 05 00 00 */ cmpwi r5, 0 +/* 8010D918 0010A878 40 80 00 14 */ bge lbl_8010D92C +/* 8010D91C 0010A87C 48 00 02 64 */ b lbl_8010DB80 +lbl_8010D920: +/* 8010D920 0010A880 2C 05 00 03 */ cmpwi r5, 3 +/* 8010D924 0010A884 40 80 02 5C */ bge lbl_8010DB80 +/* 8010D928 0010A888 48 00 02 4C */ b lbl_8010DB74 +lbl_8010D92C: +/* 8010D92C 0010A88C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8010D930 0010A890 38 80 00 03 */ li r4, 3 +/* 8010D934 0010A894 48 02 D0 A5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8010D938 0010A898 7F C3 F3 78 */ mr r3, r30 +/* 8010D93C 0010A89C 7F E5 FB 78 */ mr r5, r31 +/* 8010D940 0010A8A0 38 80 00 29 */ li r4, 0x29 +/* 8010D944 0010A8A4 4B F4 66 3D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8010D948 0010A8A8 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8010D94C 0010A8AC 7F E6 FB 78 */ mr r6, r31 +/* 8010D950 0010A8B0 38 81 00 0C */ addi r4, r1, 0xc +/* 8010D954 0010A8B4 38 A0 00 08 */ li r5, 8 +/* 8010D958 0010A8B8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010D95C 0010A8BC B0 01 00 08 */ sth r0, 8(r1) +/* 8010D960 0010A8C0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8010D964 0010A8C4 48 06 D8 F1 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager +/* 8010D968 0010A8C8 7F C3 F3 78 */ mr r3, r30 +/* 8010D96C 0010A8CC 7F E4 FB 78 */ mr r4, r31 +/* 8010D970 0010A8D0 4B FF FB 85 */ bl SwarmAdd__8CWarWaspFR13CStateManager +/* 8010D974 0010A8D4 7F C3 F3 78 */ mr r3, r30 +/* 8010D978 0010A8D8 7F E4 FB 78 */ mr r4, r31 +/* 8010D97C 0010A8DC 4B FF D9 2D */ bl SetUpCircleTelegraphTeam__8CWarWaspFR13CStateManager +/* 8010D980 0010A8E0 48 00 02 00 */ b lbl_8010DB80 +lbl_8010D984: +/* 8010D984 0010A8E4 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8010D988 0010A8E8 38 00 00 00 */ li r0, 0 +/* 8010D98C 0010A8EC C0 1E 06 B0 */ lfs f0, 0x6b0(r30) +/* 8010D990 0010A8F0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010D994 0010A8F4 40 82 00 1C */ bne lbl_8010D9B0 +/* 8010D998 0010A8F8 C0 1E 06 B4 */ lfs f0, 0x6b4(r30) +/* 8010D99C 0010A8FC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010D9A0 0010A900 40 82 00 10 */ bne lbl_8010D9B0 +/* 8010D9A4 0010A904 C0 1E 06 B8 */ lfs f0, 0x6b8(r30) +/* 8010D9A8 0010A908 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010D9AC 0010A90C 41 82 00 08 */ beq lbl_8010D9B4 +lbl_8010D9B0: +/* 8010D9B0 0010A910 38 00 00 01 */ li r0, 1 +lbl_8010D9B4: +/* 8010D9B4 0010A914 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8010D9B8 0010A918 41 82 01 C8 */ beq lbl_8010DB80 +/* 8010D9BC 0010A91C 7F C3 F3 78 */ mr r3, r30 +/* 8010D9C0 0010A920 7F E4 FB 78 */ mr r4, r31 +/* 8010D9C4 0010A924 4B FF D7 B9 */ bl TryCircleTeamMerge__8CWarWaspFR13CStateManager +/* 8010D9C8 0010A928 C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 8010D9CC 0010A92C 38 61 00 34 */ addi r3, r1, 0x34 +/* 8010D9D0 0010A930 C0 1E 06 B8 */ lfs f0, 0x6b8(r30) +/* 8010D9D4 0010A934 C0 9E 00 50 */ lfs f4, 0x50(r30) +/* 8010D9D8 0010A938 C0 7E 06 B4 */ lfs f3, 0x6b4(r30) +/* 8010D9DC 0010A93C EC A1 00 28 */ fsubs f5, f1, f0 +/* 8010D9E0 0010A940 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 8010D9E4 0010A944 C0 3E 06 B0 */ lfs f1, 0x6b0(r30) +/* 8010D9E8 0010A948 EC 64 18 28 */ fsubs f3, f4, f3 +/* 8010D9EC 0010A94C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010D9F0 0010A950 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8010D9F4 0010A954 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 8010D9F8 0010A958 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 8010D9FC 0010A95C D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8010DA00 0010A960 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8010DA04 0010A964 C3 3E 00 38 */ lfs f25, 0x38(r30) +/* 8010DA08 0010A968 C3 5E 00 48 */ lfs f26, 0x48(r30) +/* 8010DA0C 0010A96C C3 7E 00 58 */ lfs f27, 0x58(r30) +/* 8010DA10 0010A970 48 20 6C E9 */ bl CanBeNormalized__9CVector3fCFv +/* 8010DA14 0010A974 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010DA18 0010A978 41 82 01 0C */ beq lbl_8010DB24 +/* 8010DA1C 0010A97C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8010DA20 0010A980 38 81 00 34 */ addi r4, r1, 0x34 +/* 8010DA24 0010A984 48 20 6E 2D */ bl AsNormalized__9CVector3fCFv +/* 8010DA28 0010A988 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8010DA2C 0010A98C C5 23 66 F4 */ lfsu f9, lbl_805A66F4@l(r3) +/* 8010DA30 0010A990 C0 A1 00 2C */ lfs f5, 0x2c(r1) +/* 8010DA34 0010A994 C0 E1 00 30 */ lfs f7, 0x30(r1) +/* 8010DA38 0010A998 C0 63 00 04 */ lfs f3, 4(r3) +/* 8010DA3C 0010A99C EC 29 01 72 */ fmuls f1, f9, f5 +/* 8010DA40 0010A9A0 C1 01 00 28 */ lfs f8, 0x28(r1) +/* 8010DA44 0010A9A4 C0 DE 02 FC */ lfs f6, 0x2fc(r30) +/* 8010DA48 0010A9A8 EC 03 01 F2 */ fmuls f0, f3, f7 +/* 8010DA4C 0010A9AC C0 83 00 08 */ lfs f4, 8(r3) +/* 8010DA50 0010A9B0 EF 28 08 F8 */ fmsubs f25, f8, f3, f1 +/* 8010DA54 0010A9B4 EC 46 01 72 */ fmuls f2, f6, f5 +/* 8010DA58 0010A9B8 80 9E 07 08 */ lwz r4, 0x708(r30) +/* 8010DA5C 0010A9BC EF 65 01 38 */ fmsubs f27, f5, f4, f0 +/* 8010DA60 0010A9C0 EC 24 02 32 */ fmuls f1, f4, f8 +/* 8010DA64 0010A9C4 C0 7E 06 B4 */ lfs f3, 0x6b4(r30) +/* 8010DA68 0010A9C8 EC A6 02 32 */ fmuls f5, f6, f8 +/* 8010DA6C 0010A9CC C0 9E 06 B0 */ lfs f4, 0x6b0(r30) +/* 8010DA70 0010A9D0 EC 06 01 F2 */ fmuls f0, f6, f7 +/* 8010DA74 0010A9D4 EF 47 0A 78 */ fmsubs f26, f7, f9, f1 +/* 8010DA78 0010A9D8 C0 3E 06 B8 */ lfs f1, 0x6b8(r30) +/* 8010DA7C 0010A9DC 2C 04 00 00 */ cmpwi r4, 0 +/* 8010DA80 0010A9E0 EF 84 28 2A */ fadds f28, f4, f5 +/* 8010DA84 0010A9E4 EF A3 10 2A */ fadds f29, f3, f2 +/* 8010DA88 0010A9E8 EF C1 00 2A */ fadds f30, f1, f0 +/* 8010DA8C 0010A9EC 40 81 00 14 */ ble lbl_8010DAA0 +/* 8010DA90 0010A9F0 C0 02 95 3C */ lfs f0, lbl_805AB25C@sda21(r2) +/* 8010DA94 0010A9F4 EF 60 06 F2 */ fmuls f27, f0, f27 +/* 8010DA98 0010A9F8 EF 40 06 B2 */ fmuls f26, f0, f26 +/* 8010DA9C 0010A9FC EF 20 06 72 */ fmuls f25, f0, f25 +lbl_8010DAA0: +/* 8010DAA0 0010AA00 7F C3 F3 78 */ mr r3, r30 +/* 8010DAA4 0010AA04 4B FF D4 81 */ bl GetTeamZStratum__8CWarWaspFi +/* 8010DAA8 0010AA08 C0 1E 07 14 */ lfs f0, 0x714(r30) +/* 8010DAAC 0010AA0C 7F C3 F3 78 */ mr r3, r30 +/* 8010DAB0 0010AA10 7F E4 FB 78 */ mr r4, r31 +/* 8010DAB4 0010AA14 EF 00 08 2A */ fadds f24, f0, f1 +/* 8010DAB8 0010AA18 4B FF DC 0D */ bl CalcSeekMagnitude__8CWarWaspFR13CStateManager +/* 8010DABC 0010AA1C C0 02 95 40 */ lfs f0, lbl_805AB260@sda21(r2) +/* 8010DAC0 0010AA20 FF E0 08 90 */ fmr f31, f1 +/* 8010DAC4 0010AA24 C0 62 94 F0 */ lfs f3, lbl_805AB210@sda21(r2) +/* 8010DAC8 0010AA28 7F C5 F3 78 */ mr r5, r30 +/* 8010DACC 0010AA2C EC 40 06 F2 */ fmuls f2, f0, f27 +/* 8010DAD0 0010AA30 38 61 00 1C */ addi r3, r1, 0x1c +/* 8010DAD4 0010AA34 EC 20 06 B2 */ fmuls f1, f0, f26 +/* 8010DAD8 0010AA38 EC 00 06 72 */ fmuls f0, f0, f25 +/* 8010DADC 0010AA3C 38 9E 04 5C */ addi r4, r30, 0x45c +/* 8010DAE0 0010AA40 EC 5C 10 2A */ fadds f2, f28, f2 +/* 8010DAE4 0010AA44 EC 3D 08 2A */ fadds f1, f29, f1 +/* 8010DAE8 0010AA48 38 C1 00 10 */ addi r6, r1, 0x10 +/* 8010DAEC 0010AA4C EC 1E 00 2A */ fadds f0, f30, f0 +/* 8010DAF0 0010AA50 EC 42 18 2A */ fadds f2, f2, f3 +/* 8010DAF4 0010AA54 EC 21 18 2A */ fadds f1, f1, f3 +/* 8010DAF8 0010AA58 EC 00 C0 2A */ fadds f0, f0, f24 +/* 8010DAFC 0010AA5C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8010DB00 0010AA60 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8010DB04 0010AA64 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8010DB08 0010AA68 48 03 11 19 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +/* 8010DB0C 0010AA6C C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 8010DB10 0010AA70 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8010DB14 0010AA74 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8010DB18 0010AA78 EF 3F 00 B2 */ fmuls f25, f31, f2 +/* 8010DB1C 0010AA7C EF 5F 00 72 */ fmuls f26, f31, f1 +/* 8010DB20 0010AA80 EF 7F 00 32 */ fmuls f27, f31, f0 +lbl_8010DB24: +/* 8010DB24 0010AA84 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010DB28 0010AA88 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 8010DB2C 0010AA8C C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010DB30 0010AA90 38 81 00 40 */ addi r4, r1, 0x40 +/* 8010DB34 0010AA94 C0 43 00 04 */ lfs f2, 4(r3) +/* 8010DB38 0010AA98 C0 23 00 08 */ lfs f1, 8(r3) +/* 8010DB3C 0010AA9C D3 21 00 40 */ stfs f25, 0x40(r1) +/* 8010DB40 0010AAA0 D3 41 00 44 */ stfs f26, 0x44(r1) +/* 8010DB44 0010AAA4 D3 61 00 48 */ stfs f27, 0x48(r1) +/* 8010DB48 0010AAA8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 8010DB4C 0010AAAC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 8010DB50 0010AAB0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 8010DB54 0010AAB4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 8010DB58 0010AAB8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8010DB5C 0010AABC 38 63 00 04 */ addi r3, r3, 4 +/* 8010DB60 0010AAC0 48 02 3B B9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 8010DB64 0010AAC4 7F C3 F3 78 */ mr r3, r30 +/* 8010DB68 0010AAC8 7F E4 FB 78 */ mr r4, r31 +/* 8010DB6C 0010AACC 4B FF D2 69 */ bl UpdateTelegraphMoveSpeed__8CWarWaspFR13CStateManager +/* 8010DB70 0010AAD0 48 00 00 10 */ b lbl_8010DB80 +lbl_8010DB74: +/* 8010DB74 0010AAD4 7F E5 FB 78 */ mr r5, r31 +/* 8010DB78 0010AAD8 38 80 00 29 */ li r4, 0x29 +/* 8010DB7C 0010AADC 4B F4 67 D5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_8010DB80: +/* 8010DB80 0010AAE0 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 8010DB84 0010AAE4 CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 8010DB88 0010AAE8 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 +/* 8010DB8C 0010AAEC CB C1 00 D0 */ lfd f30, 0xd0(r1) +/* 8010DB90 0010AAF0 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 +/* 8010DB94 0010AAF4 CB A1 00 C0 */ lfd f29, 0xc0(r1) +/* 8010DB98 0010AAF8 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 +/* 8010DB9C 0010AAFC CB 81 00 B0 */ lfd f28, 0xb0(r1) +/* 8010DBA0 0010AB00 E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 +/* 8010DBA4 0010AB04 CB 61 00 A0 */ lfd f27, 0xa0(r1) +/* 8010DBA8 0010AB08 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 +/* 8010DBAC 0010AB0C CB 41 00 90 */ lfd f26, 0x90(r1) +/* 8010DBB0 0010AB10 E3 21 00 88 */ psq_l f25, 136(r1), 0, qr0 +/* 8010DBB4 0010AB14 CB 21 00 80 */ lfd f25, 0x80(r1) +/* 8010DBB8 0010AB18 E3 01 00 78 */ psq_l f24, 120(r1), 0, qr0 +/* 8010DBBC 0010AB1C CB 01 00 70 */ lfd f24, 0x70(r1) +/* 8010DBC0 0010AB20 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8010DBC4 0010AB24 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8010DBC8 0010AB28 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8010DBCC 0010AB2C 7C 08 03 A6 */ mtlr r0 +/* 8010DBD0 0010AB30 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8010DBD4 0010AB34 4E 80 00 20 */ blr + +.global TargetPatrol__8CWarWaspFR13CStateManager9EStateMsgf +TargetPatrol__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010DBD8 0010AB38 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010DBDC 0010AB3C 7C 08 02 A6 */ mflr r0 +/* 8010DBE0 0010AB40 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010DBE4 0010AB44 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8010DBE8 0010AB48 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8010DBEC 0010AB4C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8010DBF0 0010AB50 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8010DBF4 0010AB54 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8010DBF8 0010AB58 7C BF 2B 78 */ mr r31, r5 +/* 8010DBFC 0010AB5C FF E0 08 90 */ fmr f31, f1 +/* 8010DC00 0010AB60 2C 1F 00 01 */ cmpwi r31, 1 +/* 8010DC04 0010AB64 7C 7D 1B 78 */ mr r29, r3 +/* 8010DC08 0010AB68 7C 9E 23 78 */ mr r30, r4 +/* 8010DC0C 0010AB6C 41 82 00 98 */ beq lbl_8010DCA4 +/* 8010DC10 0010AB70 40 80 01 0C */ bge lbl_8010DD1C +/* 8010DC14 0010AB74 2C 1F 00 00 */ cmpwi r31, 0 +/* 8010DC18 0010AB78 40 80 00 08 */ bge lbl_8010DC20 +/* 8010DC1C 0010AB7C 48 00 01 00 */ b lbl_8010DD1C +lbl_8010DC20: +/* 8010DC20 0010AB80 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010DC24 0010AB84 38 80 00 01 */ li r4, 1 +/* 8010DC28 0010AB88 48 02 CD B1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8010DC2C 0010AB8C 7F A3 EB 78 */ mr r3, r29 +/* 8010DC30 0010AB90 7F C4 F3 78 */ mr r4, r30 +/* 8010DC34 0010AB94 4B FF F8 1D */ bl SwarmRemove__8CWarWaspFR13CStateManager +/* 8010DC38 0010AB98 FC 20 F8 90 */ fmr f1, f31 +/* 8010DC3C 0010AB9C 7F A3 EB 78 */ mr r3, r29 +/* 8010DC40 0010ABA0 7F C4 F3 78 */ mr r4, r30 +/* 8010DC44 0010ABA4 7F E5 FB 78 */ mr r5, r31 +/* 8010DC48 0010ABA8 48 0E 92 2D */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 8010DC4C 0010ABAC 7F A3 EB 78 */ mr r3, r29 +/* 8010DC50 0010ABB0 7F C4 F3 78 */ mr r4, r30 +/* 8010DC54 0010ABB4 48 0E 76 3D */ bl UpdateDest__10CPatternedFR13CStateManager +/* 8010DC58 0010ABB8 C0 1D 02 E0 */ lfs f0, 0x2e0(r29) +/* 8010DC5C 0010ABBC 7F A3 EB 78 */ mr r3, r29 +/* 8010DC60 0010ABC0 D0 1D 06 78 */ stfs f0, 0x678(r29) +/* 8010DC64 0010ABC4 C0 1D 02 E4 */ lfs f0, 0x2e4(r29) +/* 8010DC68 0010ABC8 D0 1D 06 7C */ stfs f0, 0x67c(r29) +/* 8010DC6C 0010ABCC C0 1D 02 E8 */ lfs f0, 0x2e8(r29) +/* 8010DC70 0010ABD0 D0 1D 06 80 */ stfs f0, 0x680(r29) +/* 8010DC74 0010ABD4 81 9D 00 00 */ lwz r12, 0(r29) +/* 8010DC78 0010ABD8 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010DC7C 0010ABDC 7D 89 03 A6 */ mtctr r12 +/* 8010DC80 0010ABE0 4E 80 04 21 */ bctrl +/* 8010DC84 0010ABE4 28 03 00 00 */ cmplwi r3, 0 +/* 8010DC88 0010ABE8 41 82 00 94 */ beq lbl_8010DD1C +/* 8010DC8C 0010ABEC FC 20 F8 90 */ fmr f1, f31 +/* 8010DC90 0010ABF0 7F A3 EB 78 */ mr r3, r29 +/* 8010DC94 0010ABF4 7F C4 F3 78 */ mr r4, r30 +/* 8010DC98 0010ABF8 7F E5 FB 78 */ mr r5, r31 +/* 8010DC9C 0010ABFC 48 0E 8A 31 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8010DCA0 0010AC00 48 00 00 7C */ b lbl_8010DD1C +lbl_8010DCA4: +/* 8010DCA4 0010AC04 81 83 00 00 */ lwz r12, 0(r3) +/* 8010DCA8 0010AC08 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010DCAC 0010AC0C 7D 89 03 A6 */ mtctr r12 +/* 8010DCB0 0010AC10 4E 80 04 21 */ bctrl +/* 8010DCB4 0010AC14 28 03 00 00 */ cmplwi r3, 0 +/* 8010DCB8 0010AC18 41 82 00 40 */ beq lbl_8010DCF8 +/* 8010DCBC 0010AC1C 7F A3 EB 78 */ mr r3, r29 +/* 8010DCC0 0010AC20 7F C4 F3 78 */ mr r4, r30 +/* 8010DCC4 0010AC24 81 9D 00 00 */ lwz r12, 0(r29) +/* 8010DCC8 0010AC28 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8010DCCC 0010AC2C 81 8C 01 90 */ lwz r12, 0x190(r12) +/* 8010DCD0 0010AC30 7D 89 03 A6 */ mtctr r12 +/* 8010DCD4 0010AC34 4E 80 04 21 */ bctrl +/* 8010DCD8 0010AC38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010DCDC 0010AC3C 40 82 00 1C */ bne lbl_8010DCF8 +/* 8010DCE0 0010AC40 FC 20 F8 90 */ fmr f1, f31 +/* 8010DCE4 0010AC44 7F A3 EB 78 */ mr r3, r29 +/* 8010DCE8 0010AC48 7F C4 F3 78 */ mr r4, r30 +/* 8010DCEC 0010AC4C 7F E5 FB 78 */ mr r5, r31 +/* 8010DCF0 0010AC50 48 0E 89 DD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8010DCF4 0010AC54 48 00 00 18 */ b lbl_8010DD0C +lbl_8010DCF8: +/* 8010DCF8 0010AC58 FC 20 F8 90 */ fmr f1, f31 +/* 8010DCFC 0010AC5C 7F A3 EB 78 */ mr r3, r29 +/* 8010DD00 0010AC60 7F C4 F3 78 */ mr r4, r30 +/* 8010DD04 0010AC64 7F E5 FB 78 */ mr r5, r31 +/* 8010DD08 0010AC68 48 0E 91 6D */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +lbl_8010DD0C: +/* 8010DD0C 0010AC6C C0 22 95 44 */ lfs f1, lbl_805AB264@sda21(r2) +/* 8010DD10 0010AC70 7F A3 EB 78 */ mr r3, r29 +/* 8010DD14 0010AC74 7F C4 F3 78 */ mr r4, r30 +/* 8010DD18 0010AC78 4B FF F5 81 */ bl ApplySeparationBehavior__8CWarWaspFR13CStateManagerf +lbl_8010DD1C: +/* 8010DD1C 0010AC7C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8010DD20 0010AC80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010DD24 0010AC84 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8010DD28 0010AC88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8010DD2C 0010AC8C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010DD30 0010AC90 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8010DD34 0010AC94 7C 08 03 A6 */ mtlr r0 +/* 8010DD38 0010AC98 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010DD3C 0010AC9C 4E 80 00 20 */ blr + +.global Dodge__8CWarWaspFR13CStateManager9EStateMsgf +Dodge__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010DD40 0010ACA0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8010DD44 0010ACA4 7C 08 02 A6 */ mflr r0 +/* 8010DD48 0010ACA8 2C 05 00 01 */ cmpwi r5, 1 +/* 8010DD4C 0010ACAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 8010DD50 0010ACB0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8010DD54 0010ACB4 7C 7F 1B 78 */ mr r31, r3 +/* 8010DD58 0010ACB8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8010DD5C 0010ACBC 41 82 00 A4 */ beq lbl_8010DE00 +/* 8010DD60 0010ACC0 40 80 00 10 */ bge lbl_8010DD70 +/* 8010DD64 0010ACC4 2C 05 00 00 */ cmpwi r5, 0 +/* 8010DD68 0010ACC8 40 80 00 14 */ bge lbl_8010DD7C +/* 8010DD6C 0010ACCC 48 00 00 F0 */ b lbl_8010DE5C +lbl_8010DD70: +/* 8010DD70 0010ACD0 2C 05 00 03 */ cmpwi r5, 3 +/* 8010DD74 0010ACD4 40 80 00 E8 */ bge lbl_8010DE5C +/* 8010DD78 0010ACD8 48 00 00 DC */ b lbl_8010DE54 +lbl_8010DD7C: +/* 8010DD7C 0010ACDC 80 DF 07 04 */ lwz r6, 0x704(r31) +/* 8010DD80 0010ACE0 2C 06 FF FF */ cmpwi r6, -1 +/* 8010DD84 0010ACE4 41 82 00 D8 */ beq lbl_8010DE5C +/* 8010DD88 0010ACE8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010DD8C 0010ACEC 38 A0 00 01 */ li r5, 1 +/* 8010DD90 0010ACF0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010DD94 0010ACF4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010DD98 0010ACF8 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha +/* 8010DD9C 0010ACFC 90 01 00 08 */ stw r0, 8(r1) +/* 8010DDA0 0010AD00 38 04 A9 E4 */ addi r0, r4, lbl_803DA9E4@l +/* 8010DDA4 0010AD04 3B C3 00 04 */ addi r30, r3, 4 +/* 8010DDA8 0010AD08 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8010DDAC 0010AD0C 7F C3 F3 78 */ mr r3, r30 +/* 8010DDB0 0010AD10 38 80 00 01 */ li r4, 1 +/* 8010DDB4 0010AD14 90 01 00 08 */ stw r0, 8(r1) +/* 8010DDB8 0010AD18 90 C1 00 10 */ stw r6, 0x10(r1) +/* 8010DDBC 0010AD1C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8010DDC0 0010AD20 48 02 36 79 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010DDC4 0010AD24 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8010DDC8 0010AD28 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8010DDCC 0010AD2C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8010DDD0 0010AD30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010DDD4 0010AD34 90 1E 00 C8 */ stw r0, 0xc8(r30) +/* 8010DDD8 0010AD38 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l +/* 8010DDDC 0010AD3C 80 C1 00 10 */ lwz r6, 0x10(r1) +/* 8010DDE0 0010AD40 38 00 00 02 */ li r0, 2 +/* 8010DDE4 0010AD44 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 8010DDE8 0010AD48 90 DE 00 CC */ stw r6, 0xcc(r30) +/* 8010DDEC 0010AD4C 90 BE 00 D0 */ stw r5, 0xd0(r30) +/* 8010DDF0 0010AD50 90 81 00 08 */ stw r4, 8(r1) +/* 8010DDF4 0010AD54 90 61 00 08 */ stw r3, 8(r1) +/* 8010DDF8 0010AD58 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010DDFC 0010AD5C 48 00 00 60 */ b lbl_8010DE5C +lbl_8010DE00: +/* 8010DE00 0010AD60 80 BF 04 50 */ lwz r5, 0x450(r31) +/* 8010DE04 0010AD64 80 05 02 B8 */ lwz r0, 0x2b8(r5) +/* 8010DE08 0010AD68 2C 00 00 03 */ cmpwi r0, 3 +/* 8010DE0C 0010AD6C 41 82 00 10 */ beq lbl_8010DE1C +/* 8010DE10 0010AD70 38 00 00 03 */ li r0, 3 +/* 8010DE14 0010AD74 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010DE18 0010AD78 48 00 00 44 */ b lbl_8010DE5C +lbl_8010DE1C: +/* 8010DE1C 0010AD7C 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8010DE20 0010AD80 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010DE24 0010AD84 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 8010DE28 0010AD88 C0 83 00 50 */ lfs f4, 0x50(r3) +/* 8010DE2C 0010AD8C C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 8010DE30 0010AD90 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010DE34 0010AD94 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8010DE38 0010AD98 C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 8010DE3C 0010AD9C EC 64 18 28 */ fsubs f3, f4, f3 +/* 8010DE40 0010ADA0 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 8010DE44 0010ADA4 EC 02 08 28 */ fsubs f0, f2, f1 +/* 8010DE48 0010ADA8 D0 65 00 20 */ stfs f3, 0x20(r5) +/* 8010DE4C 0010ADAC D0 05 00 24 */ stfs f0, 0x24(r5) +/* 8010DE50 0010ADB0 48 00 00 0C */ b lbl_8010DE5C +lbl_8010DE54: +/* 8010DE54 0010ADB4 38 00 FF FF */ li r0, -1 +/* 8010DE58 0010ADB8 90 1F 07 04 */ stw r0, 0x704(r31) +lbl_8010DE5C: +/* 8010DE5C 0010ADBC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8010DE60 0010ADC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8010DE64 0010ADC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010DE68 0010ADC8 7C 08 03 A6 */ mtlr r0 +/* 8010DE6C 0010ADCC 38 21 00 20 */ addi r1, r1, 0x20 +/* 8010DE70 0010ADD0 4E 80 00 20 */ blr + +.global Deactivate__8CWarWaspFR13CStateManager9EStateMsgf +Deactivate__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010DE74 0010ADD4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8010DE78 0010ADD8 7C 08 02 A6 */ mflr r0 +/* 8010DE7C 0010ADDC 90 01 00 54 */ stw r0, 0x54(r1) +/* 8010DE80 0010ADE0 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8010DE84 0010ADE4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8010DE88 0010ADE8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8010DE8C 0010ADEC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 8010DE90 0010ADF0 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8010DE94 0010ADF4 7C BF 2B 78 */ mr r31, r5 +/* 8010DE98 0010ADF8 7C 7D 1B 78 */ mr r29, r3 +/* 8010DE9C 0010ADFC FF E0 08 90 */ fmr f31, f1 +/* 8010DEA0 0010AE00 2C 1F 00 01 */ cmpwi r31, 1 +/* 8010DEA4 0010AE04 81 43 04 50 */ lwz r10, 0x450(r3) +/* 8010DEA8 0010AE08 7C 9E 23 78 */ mr r30, r4 +/* 8010DEAC 0010AE0C 41 82 00 A0 */ beq lbl_8010DF4C +/* 8010DEB0 0010AE10 40 80 02 1C */ bge lbl_8010E0CC +/* 8010DEB4 0010AE14 2C 1F 00 00 */ cmpwi r31, 0 +/* 8010DEB8 0010AE18 40 80 00 08 */ bge lbl_8010DEC0 +/* 8010DEBC 0010AE1C 48 00 02 10 */ b lbl_8010E0CC +lbl_8010DEC0: +/* 8010DEC0 0010AE20 38 60 00 01 */ li r3, 1 +/* 8010DEC4 0010AE24 38 80 00 01 */ li r4, 1 +/* 8010DEC8 0010AE28 90 7D 05 68 */ stw r3, 0x568(r29) +/* 8010DECC 0010AE2C 88 1D 07 2E */ lbz r0, 0x72e(r29) +/* 8010DED0 0010AE30 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8010DED4 0010AE34 98 1D 07 2E */ stb r0, 0x72e(r29) +/* 8010DED8 0010AE38 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010DEDC 0010AE3C 48 02 CA FD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8010DEE0 0010AE40 7F A3 EB 78 */ mr r3, r29 +/* 8010DEE4 0010AE44 7F C4 F3 78 */ mr r4, r30 +/* 8010DEE8 0010AE48 4B FF F5 69 */ bl SwarmRemove__8CWarWaspFR13CStateManager +/* 8010DEEC 0010AE4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8010DEF0 0010AE50 7F A3 EB 78 */ mr r3, r29 +/* 8010DEF4 0010AE54 38 9D 06 78 */ addi r4, r29, 0x678 +/* 8010DEF8 0010AE58 B0 1D 06 74 */ sth r0, 0x674(r29) +/* 8010DEFC 0010AE5C C0 1D 03 A0 */ lfs f0, 0x3a0(r29) +/* 8010DF00 0010AE60 D0 1D 06 78 */ stfs f0, 0x678(r29) +/* 8010DF04 0010AE64 C0 1D 03 A4 */ lfs f0, 0x3a4(r29) +/* 8010DF08 0010AE68 D0 1D 06 7C */ stfs f0, 0x67c(r29) +/* 8010DF0C 0010AE6C C0 1D 03 A8 */ lfs f0, 0x3a8(r29) +/* 8010DF10 0010AE70 D0 1D 06 80 */ stfs f0, 0x680(r29) +/* 8010DF14 0010AE74 4B F6 EC 49 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8010DF18 0010AE78 7F A3 EB 78 */ mr r3, r29 +/* 8010DF1C 0010AE7C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8010DF20 0010AE80 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010DF24 0010AE84 7D 89 03 A6 */ mtctr r12 +/* 8010DF28 0010AE88 4E 80 04 21 */ bctrl +/* 8010DF2C 0010AE8C 28 03 00 00 */ cmplwi r3, 0 +/* 8010DF30 0010AE90 41 82 01 9C */ beq lbl_8010E0CC +/* 8010DF34 0010AE94 FC 20 F8 90 */ fmr f1, f31 +/* 8010DF38 0010AE98 7F A3 EB 78 */ mr r3, r29 +/* 8010DF3C 0010AE9C 7F C4 F3 78 */ mr r4, r30 +/* 8010DF40 0010AEA0 7F E5 FB 78 */ mr r5, r31 +/* 8010DF44 0010AEA4 48 0E 87 89 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8010DF48 0010AEA8 48 00 01 84 */ b lbl_8010E0CC +lbl_8010DF4C: +/* 8010DF4C 0010AEAC 80 1D 05 68 */ lwz r0, 0x568(r29) +/* 8010DF50 0010AEB0 2C 00 00 01 */ cmpwi r0, 1 +/* 8010DF54 0010AEB4 41 82 00 20 */ beq lbl_8010DF74 +/* 8010DF58 0010AEB8 40 80 00 10 */ bge lbl_8010DF68 +/* 8010DF5C 0010AEBC 2C 00 00 00 */ cmpwi r0, 0 +/* 8010DF60 0010AEC0 40 80 00 3C */ bge lbl_8010DF9C +/* 8010DF64 0010AEC4 48 00 01 68 */ b lbl_8010E0CC +lbl_8010DF68: +/* 8010DF68 0010AEC8 2C 00 00 03 */ cmpwi r0, 3 +/* 8010DF6C 0010AECC 40 80 01 60 */ bge lbl_8010E0CC +/* 8010DF70 0010AED0 48 00 01 48 */ b lbl_8010E0B8 +lbl_8010DF74: +/* 8010DF74 0010AED4 4B FF E8 D9 */ bl SteerToDeactivatePos__8CWarWaspFR13CStateManager9EStateMsgf +/* 8010DF78 0010AED8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010DF7C 0010AEDC 41 82 01 50 */ beq lbl_8010E0CC +/* 8010DF80 0010AEE0 7F A3 EB 78 */ mr r3, r29 +/* 8010DF84 0010AEE4 7F C5 F3 78 */ mr r5, r30 +/* 8010DF88 0010AEE8 38 80 00 13 */ li r4, 0x13 +/* 8010DF8C 0010AEEC 4B F4 5F F5 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8010DF90 0010AEF0 38 00 00 00 */ li r0, 0 +/* 8010DF94 0010AEF4 90 1D 05 68 */ stw r0, 0x568(r29) +/* 8010DF98 0010AEF8 48 00 01 34 */ b lbl_8010E0CC +lbl_8010DF9C: +/* 8010DF9C 0010AEFC 80 0A 02 B8 */ lwz r0, 0x2b8(r10) +/* 8010DFA0 0010AF00 2C 00 00 0C */ cmpwi r0, 0xc +/* 8010DFA4 0010AF04 40 82 00 44 */ bne lbl_8010DFE8 +/* 8010DFA8 0010AF08 7F C7 F3 78 */ mr r7, r30 +/* 8010DFAC 0010AF0C 38 80 00 21 */ li r4, 0x21 +/* 8010DFB0 0010AF10 38 A0 00 28 */ li r5, 0x28 +/* 8010DFB4 0010AF14 38 C0 00 29 */ li r6, 0x29 +/* 8010DFB8 0010AF18 4B F4 5E 35 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8010DFBC 0010AF1C A0 1D 00 08 */ lhz r0, 8(r29) +/* 8010DFC0 0010AF20 7F C6 F3 78 */ mr r6, r30 +/* 8010DFC4 0010AF24 38 81 00 0C */ addi r4, r1, 0xc +/* 8010DFC8 0010AF28 38 A0 00 08 */ li r5, 8 +/* 8010DFCC 0010AF2C B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010DFD0 0010AF30 B0 01 00 08 */ sth r0, 8(r1) +/* 8010DFD4 0010AF34 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8010DFD8 0010AF38 48 06 D2 7D */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager +/* 8010DFDC 0010AF3C 38 00 00 02 */ li r0, 2 +/* 8010DFE0 0010AF40 90 1D 05 68 */ stw r0, 0x568(r29) +/* 8010DFE4 0010AF44 48 00 00 E8 */ b lbl_8010E0CC +lbl_8010DFE8: +/* 8010DFE8 0010AF48 3C C0 80 3E */ lis r6, lbl_803DAA68@ha +/* 8010DFEC 0010AF4C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010DFF0 0010AF50 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 8010DFF4 0010AF54 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 8010DFF8 0010AF58 38 60 00 00 */ li r3, 0 +/* 8010DFFC 0010AF5C 39 26 AA 68 */ addi r9, r6, lbl_803DAA68@l +/* 8010E000 0010AF60 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 +/* 8010E004 0010AF64 C0 45 00 00 */ lfs f2, 0(r5) +/* 8010E008 0010AF68 C0 25 00 04 */ lfs f1, 4(r5) +/* 8010E00C 0010AF6C 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha +/* 8010E010 0010AF70 C0 05 00 08 */ lfs f0, 8(r5) +/* 8010E014 0010AF74 7C 80 23 78 */ mr r0, r4 +/* 8010E018 0010AF78 39 00 00 0E */ li r8, 0xe +/* 8010E01C 0010AF7C 38 C0 00 01 */ li r6, 1 +/* 8010E020 0010AF80 38 A0 FF FF */ li r5, -1 +/* 8010E024 0010AF84 3B EA 00 04 */ addi r31, r10, 4 +/* 8010E028 0010AF88 91 21 00 10 */ stw r9, 0x10(r1) +/* 8010E02C 0010AF8C 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l +/* 8010E030 0010AF90 50 60 F0 42 */ rlwimi r0, r3, 0x1e, 1, 1 +/* 8010E034 0010AF94 7F E3 FB 78 */ mr r3, r31 +/* 8010E038 0010AF98 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8010E03C 0010AF9C 38 80 00 0E */ li r4, 0xe +/* 8010E040 0010AFA0 91 01 00 14 */ stw r8, 0x14(r1) +/* 8010E044 0010AFA4 90 E1 00 10 */ stw r7, 0x10(r1) +/* 8010E048 0010AFA8 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8010E04C 0010AFAC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8010E050 0010AFB0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8010E054 0010AFB4 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8010E058 0010AFB8 90 A1 00 28 */ stw r5, 0x28(r1) +/* 8010E05C 0010AFBC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8010E060 0010AFC0 48 02 33 D9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010E064 0010AFC4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8010E068 0010AFC8 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha +/* 8010E06C 0010AFCC 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l +/* 8010E070 0010AFD0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010E074 0010AFD4 90 1F 01 90 */ stw r0, 0x190(r31) +/* 8010E078 0010AFD8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010E07C 0010AFDC 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8010E080 0010AFE0 80 61 00 1C */ lwz r3, 0x1c(r1) +/* 8010E084 0010AFE4 90 BF 01 94 */ stw r5, 0x194(r31) +/* 8010E088 0010AFE8 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 8010E08C 0010AFEC 90 7F 01 98 */ stw r3, 0x198(r31) +/* 8010E090 0010AFF0 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8010E094 0010AFF4 90 BF 01 9C */ stw r5, 0x19c(r31) +/* 8010E098 0010AFF8 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8010E09C 0010AFFC 90 7F 01 A0 */ stw r3, 0x1a0(r31) +/* 8010E0A0 0010B000 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8010E0A4 0010B004 90 BF 01 A4 */ stw r5, 0x1a4(r31) +/* 8010E0A8 0010B008 90 81 00 10 */ stw r4, 0x10(r1) +/* 8010E0AC 0010B00C 90 7F 01 A8 */ stw r3, 0x1a8(r31) +/* 8010E0B0 0010B010 90 01 00 10 */ stw r0, 0x10(r1) +/* 8010E0B4 0010B014 48 00 00 18 */ b lbl_8010E0CC +lbl_8010E0B8: +/* 8010E0B8 0010B018 80 0A 02 B8 */ lwz r0, 0x2b8(r10) +/* 8010E0BC 0010B01C 2C 00 00 0C */ cmpwi r0, 0xc +/* 8010E0C0 0010B020 41 82 00 0C */ beq lbl_8010E0CC +/* 8010E0C4 0010B024 38 00 00 03 */ li r0, 3 +/* 8010E0C8 0010B028 90 1D 05 68 */ stw r0, 0x568(r29) +lbl_8010E0CC: +/* 8010E0CC 0010B02C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8010E0D0 0010B030 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8010E0D4 0010B034 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8010E0D8 0010B038 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8010E0DC 0010B03C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 8010E0E0 0010B040 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 8010E0E4 0010B044 7C 08 03 A6 */ mtlr r0 +/* 8010E0E8 0010B048 38 21 00 50 */ addi r1, r1, 0x50 +/* 8010E0EC 0010B04C 4E 80 00 20 */ blr + +.global Patrol__8CWarWaspFR13CStateManager9EStateMsgf +Patrol__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010E0F0 0010B050 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8010E0F4 0010B054 7C 08 02 A6 */ mflr r0 +/* 8010E0F8 0010B058 90 01 00 44 */ stw r0, 0x44(r1) +/* 8010E0FC 0010B05C DB E1 00 30 */ stfd f31, 0x30(r1) +/* 8010E100 0010B060 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 8010E104 0010B064 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 8010E108 0010B068 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 8010E10C 0010B06C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8010E110 0010B070 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8010E114 0010B074 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8010E118 0010B078 7C BF 2B 78 */ mr r31, r5 +/* 8010E11C 0010B07C FF C0 08 90 */ fmr f30, f1 +/* 8010E120 0010B080 2C 1F 00 01 */ cmpwi r31, 1 +/* 8010E124 0010B084 7C 7D 1B 78 */ mr r29, r3 +/* 8010E128 0010B088 7C 9E 23 78 */ mr r30, r4 +/* 8010E12C 0010B08C 41 82 00 A0 */ beq lbl_8010E1CC +/* 8010E130 0010B090 40 80 00 10 */ bge lbl_8010E140 +/* 8010E134 0010B094 2C 1F 00 00 */ cmpwi r31, 0 +/* 8010E138 0010B098 40 80 00 14 */ bge lbl_8010E14C +/* 8010E13C 0010B09C 48 00 00 90 */ b lbl_8010E1CC +lbl_8010E140: +/* 8010E140 0010B0A0 2C 1F 00 03 */ cmpwi r31, 3 +/* 8010E144 0010B0A4 40 80 00 88 */ bge lbl_8010E1CC +/* 8010E148 0010B0A8 48 00 00 78 */ b lbl_8010E1C0 +lbl_8010E14C: +/* 8010E14C 0010B0AC 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E150 0010B0B0 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 8010E154 0010B0B4 48 02 5D 59 */ bl GetMaxSpeed__14CBodyStateInfoCFv +/* 8010E158 0010B0B8 FF E0 08 90 */ fmr f31, f1 +/* 8010E15C 0010B0BC C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010E160 0010B0C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 8010E164 0010B0C4 40 81 00 3C */ ble lbl_8010E1A0 +/* 8010E168 0010B0C8 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E16C 0010B0CC 38 00 00 01 */ li r0, 1 +/* 8010E170 0010B0D0 38 80 00 01 */ li r4, 1 +/* 8010E174 0010B0D4 90 03 00 34 */ stw r0, 0x34(r3) +/* 8010E178 0010B0D8 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E17C 0010B0DC 38 63 02 A4 */ addi r3, r3, 0x2a4 +/* 8010E180 0010B0E0 48 02 5C 55 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim +/* 8010E184 0010B0E4 C0 02 95 08 */ lfs f0, lbl_805AB228@sda21(r2) +/* 8010E188 0010B0E8 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E18C 0010B0EC EC 00 00 72 */ fmuls f0, f0, f1 +/* 8010E190 0010B0F0 38 63 00 04 */ addi r3, r3, 4 +/* 8010E194 0010B0F4 EC 20 F8 24 */ fdivs f1, f0, f31 +/* 8010E198 0010B0F8 FC 40 08 90 */ fmr f2, f1 +/* 8010E19C 0010B0FC 48 02 36 4D */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff +lbl_8010E1A0: +/* 8010E1A0 0010B100 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E1A4 0010B104 38 80 00 01 */ li r4, 1 +/* 8010E1A8 0010B108 48 02 C8 31 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8010E1AC 0010B10C 88 1D 07 2E */ lbz r0, 0x72e(r29) +/* 8010E1B0 0010B110 38 60 00 00 */ li r3, 0 +/* 8010E1B4 0010B114 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 8010E1B8 0010B118 98 1D 07 2E */ stb r0, 0x72e(r29) +/* 8010E1BC 0010B11C 48 00 00 10 */ b lbl_8010E1CC +lbl_8010E1C0: +/* 8010E1C0 0010B120 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E1C4 0010B124 38 00 00 00 */ li r0, 0 +/* 8010E1C8 0010B128 90 03 00 34 */ stw r0, 0x34(r3) +lbl_8010E1CC: +/* 8010E1CC 0010B12C FC 20 F0 90 */ fmr f1, f30 +/* 8010E1D0 0010B130 7F A3 EB 78 */ mr r3, r29 +/* 8010E1D4 0010B134 7F C4 F3 78 */ mr r4, r30 +/* 8010E1D8 0010B138 7F E5 FB 78 */ mr r5, r31 +/* 8010E1DC 0010B13C 48 0E 8C 99 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf +/* 8010E1E0 0010B140 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 8010E1E4 0010B144 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 8010E1E8 0010B148 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 8010E1EC 0010B14C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 8010E1F0 0010B150 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8010E1F4 0010B154 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010E1F8 0010B158 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8010E1FC 0010B15C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8010E200 0010B160 7C 08 03 A6 */ mtlr r0 +/* 8010E204 0010B164 38 21 00 40 */ addi r1, r1, 0x40 +/* 8010E208 0010B168 4E 80 00 20 */ blr + +.global Retreat__8CWarWaspFR13CStateManager9EStateMsgf +Retreat__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010E20C 0010B16C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8010E210 0010B170 7C 08 02 A6 */ mflr r0 +/* 8010E214 0010B174 2C 05 00 01 */ cmpwi r5, 1 +/* 8010E218 0010B178 90 01 00 54 */ stw r0, 0x54(r1) +/* 8010E21C 0010B17C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8010E220 0010B180 7C 7F 1B 78 */ mr r31, r3 +/* 8010E224 0010B184 41 82 00 34 */ beq lbl_8010E258 +/* 8010E228 0010B188 40 80 00 10 */ bge lbl_8010E238 +/* 8010E22C 0010B18C 2C 05 00 00 */ cmpwi r5, 0 +/* 8010E230 0010B190 40 80 00 14 */ bge lbl_8010E244 +/* 8010E234 0010B194 48 00 00 C8 */ b lbl_8010E2FC +lbl_8010E238: +/* 8010E238 0010B198 2C 05 00 03 */ cmpwi r5, 3 +/* 8010E23C 0010B19C 40 80 00 C0 */ bge lbl_8010E2FC +/* 8010E240 0010B1A0 48 00 00 A0 */ b lbl_8010E2E0 +lbl_8010E244: +/* 8010E244 0010B1A4 4B FF F2 0D */ bl SwarmRemove__8CWarWaspFR13CStateManager +/* 8010E248 0010B1A8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010E24C 0010B1AC 38 80 00 05 */ li r4, 5 +/* 8010E250 0010B1B0 48 02 C7 89 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8010E254 0010B1B4 48 00 00 A8 */ b lbl_8010E2FC +lbl_8010E258: +/* 8010E258 0010B1B8 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8010E25C 0010B1BC 38 61 00 08 */ addi r3, r1, 8 +/* 8010E260 0010B1C0 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8010E264 0010B1C4 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 8010E268 0010B1C8 C0 04 00 60 */ lfs f0, 0x60(r4) +/* 8010E26C 0010B1CC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8010E270 0010B1D0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8010E274 0010B1D4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8010E278 0010B1D8 48 20 5F 89 */ bl __ct__9CVector2fFff +/* 8010E27C 0010B1DC 7F E5 FB 78 */ mr r5, r31 +/* 8010E280 0010B1E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010E284 0010B1E4 38 9F 04 5C */ addi r4, r31, 0x45c +/* 8010E288 0010B1E8 38 C1 00 08 */ addi r6, r1, 8 +/* 8010E28C 0010B1EC 48 03 02 D1 */ bl Flee2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2f +/* 8010E290 0010B1F0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010E294 0010B1F4 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 8010E298 0010B1F8 C0 C1 00 10 */ lfs f6, 0x10(r1) +/* 8010E29C 0010B1FC 38 81 00 24 */ addi r4, r1, 0x24 +/* 8010E2A0 0010B200 C0 A1 00 14 */ lfs f5, 0x14(r1) +/* 8010E2A4 0010B204 C0 82 94 F0 */ lfs f4, lbl_805AB210@sda21(r2) +/* 8010E2A8 0010B208 C0 43 00 04 */ lfs f2, 4(r3) +/* 8010E2AC 0010B20C C0 23 00 08 */ lfs f1, 8(r3) +/* 8010E2B0 0010B210 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010E2B4 0010B214 D0 C1 00 24 */ stfs f6, 0x24(r1) +/* 8010E2B8 0010B218 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 8010E2BC 0010B21C D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8010E2C0 0010B220 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8010E2C4 0010B224 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8010E2C8 0010B228 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8010E2CC 0010B22C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8010E2D0 0010B230 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010E2D4 0010B234 38 63 00 04 */ addi r3, r3, 4 +/* 8010E2D8 0010B238 48 02 34 41 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 8010E2DC 0010B23C 48 00 00 20 */ b lbl_8010E2FC +lbl_8010E2E0: +/* 8010E2E0 0010B240 88 1F 04 00 */ lbz r0, 0x400(r31) +/* 8010E2E4 0010B244 38 60 00 00 */ li r3, 0 +/* 8010E2E8 0010B248 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8010E2EC 0010B24C 38 80 00 01 */ li r4, 1 +/* 8010E2F0 0010B250 98 1F 04 00 */ stb r0, 0x400(r31) +/* 8010E2F4 0010B254 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010E2F8 0010B258 48 02 C6 E1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_8010E2FC: +/* 8010E2FC 0010B25C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8010E300 0010B260 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8010E304 0010B264 7C 08 03 A6 */ mtlr r0 +/* 8010E308 0010B268 38 21 00 50 */ addi r1, r1, 0x50 +/* 8010E30C 0010B26C 4E 80 00 20 */ blr + +.global JumpBack__8CWarWaspFR13CStateManager9EStateMsgf +JumpBack__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010E310 0010B270 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010E314 0010B274 7C 08 02 A6 */ mflr r0 +/* 8010E318 0010B278 2C 05 00 01 */ cmpwi r5, 1 +/* 8010E31C 0010B27C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010E320 0010B280 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8010E324 0010B284 41 82 00 34 */ beq lbl_8010E358 +/* 8010E328 0010B288 40 80 01 60 */ bge lbl_8010E488 +/* 8010E32C 0010B28C 2C 05 00 00 */ cmpwi r5, 0 +/* 8010E330 0010B290 40 80 00 08 */ bge lbl_8010E338 +/* 8010E334 0010B294 48 00 01 54 */ b lbl_8010E488 +lbl_8010E338: +/* 8010E338 0010B298 38 00 00 00 */ li r0, 0 +/* 8010E33C 0010B29C 38 A0 00 01 */ li r5, 1 +/* 8010E340 0010B2A0 90 03 05 68 */ stw r0, 0x568(r3) +/* 8010E344 0010B2A4 88 03 07 2E */ lbz r0, 0x72e(r3) +/* 8010E348 0010B2A8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 8010E34C 0010B2AC 98 03 07 2E */ stb r0, 0x72e(r3) +/* 8010E350 0010B2B0 4B FF F1 01 */ bl SwarmRemove__8CWarWaspFR13CStateManager +/* 8010E354 0010B2B4 48 00 01 34 */ b lbl_8010E488 +lbl_8010E358: +/* 8010E358 0010B2B8 80 03 05 68 */ lwz r0, 0x568(r3) +/* 8010E35C 0010B2BC 2C 00 00 01 */ cmpwi r0, 1 +/* 8010E360 0010B2C0 41 82 01 28 */ beq lbl_8010E488 +/* 8010E364 0010B2C4 40 80 00 10 */ bge lbl_8010E374 +/* 8010E368 0010B2C8 2C 00 00 00 */ cmpwi r0, 0 +/* 8010E36C 0010B2CC 40 80 00 14 */ bge lbl_8010E380 +/* 8010E370 0010B2D0 48 00 01 18 */ b lbl_8010E488 +lbl_8010E374: +/* 8010E374 0010B2D4 2C 00 00 03 */ cmpwi r0, 3 +/* 8010E378 0010B2D8 40 80 01 10 */ bge lbl_8010E488 +/* 8010E37C 0010B2DC 48 00 00 90 */ b lbl_8010E40C +lbl_8010E380: +/* 8010E380 0010B2E0 80 83 04 50 */ lwz r4, 0x450(r3) +/* 8010E384 0010B2E4 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8010E388 0010B2E8 2C 00 00 03 */ cmpwi r0, 3 +/* 8010E38C 0010B2EC 40 82 00 10 */ bne lbl_8010E39C +/* 8010E390 0010B2F0 38 00 00 02 */ li r0, 2 +/* 8010E394 0010B2F4 90 03 05 68 */ stw r0, 0x568(r3) +/* 8010E398 0010B2F8 48 00 00 F0 */ b lbl_8010E488 +lbl_8010E39C: +/* 8010E39C 0010B2FC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010E3A0 0010B300 38 C0 00 01 */ li r6, 1 +/* 8010E3A4 0010B304 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010E3A8 0010B308 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8010E3AC 0010B30C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8010E3B0 0010B310 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l +/* 8010E3B4 0010B314 38 00 00 00 */ li r0, 0 +/* 8010E3B8 0010B318 3B E4 00 04 */ addi r31, r4, 4 +/* 8010E3BC 0010B31C 90 C1 00 18 */ stw r6, 0x18(r1) +/* 8010E3C0 0010B320 7F E3 FB 78 */ mr r3, r31 +/* 8010E3C4 0010B324 38 80 00 01 */ li r4, 1 +/* 8010E3C8 0010B328 90 A1 00 14 */ stw r5, 0x14(r1) +/* 8010E3CC 0010B32C 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 8010E3D0 0010B330 90 01 00 20 */ stw r0, 0x20(r1) +/* 8010E3D4 0010B334 48 02 30 65 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010E3D8 0010B338 80 01 00 18 */ lwz r0, 0x18(r1) +/* 8010E3DC 0010B33C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8010E3E0 0010B340 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8010E3E4 0010B344 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010E3E8 0010B348 90 1F 00 C8 */ stw r0, 0xc8(r31) +/* 8010E3EC 0010B34C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010E3F0 0010B350 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 8010E3F4 0010B354 90 81 00 14 */ stw r4, 0x14(r1) +/* 8010E3F8 0010B358 80 61 00 20 */ lwz r3, 0x20(r1) +/* 8010E3FC 0010B35C 90 BF 00 CC */ stw r5, 0xcc(r31) +/* 8010E400 0010B360 90 7F 00 D0 */ stw r3, 0xd0(r31) +/* 8010E404 0010B364 90 01 00 14 */ stw r0, 0x14(r1) +/* 8010E408 0010B368 48 00 00 80 */ b lbl_8010E488 +lbl_8010E40C: +/* 8010E40C 0010B36C 80 A3 04 50 */ lwz r5, 0x450(r3) +/* 8010E410 0010B370 80 05 02 B8 */ lwz r0, 0x2b8(r5) +/* 8010E414 0010B374 2C 00 00 03 */ cmpwi r0, 3 +/* 8010E418 0010B378 41 82 00 30 */ beq lbl_8010E448 +/* 8010E41C 0010B37C 88 03 07 2E */ lbz r0, 0x72e(r3) +/* 8010E420 0010B380 38 80 00 03 */ li r4, 3 +/* 8010E424 0010B384 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8010E428 0010B388 41 82 00 08 */ beq lbl_8010E430 +/* 8010E42C 0010B38C 38 80 00 00 */ li r4, 0 +lbl_8010E430: +/* 8010E430 0010B390 90 83 05 68 */ stw r4, 0x568(r3) +/* 8010E434 0010B394 38 80 00 00 */ li r4, 0 +/* 8010E438 0010B398 88 03 07 2E */ lbz r0, 0x72e(r3) +/* 8010E43C 0010B39C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 8010E440 0010B3A0 98 03 07 2E */ stb r0, 0x72e(r3) +/* 8010E444 0010B3A4 48 00 00 44 */ b lbl_8010E488 +lbl_8010E448: +/* 8010E448 0010B3A8 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8010E44C 0010B3AC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8010E450 0010B3B0 C0 64 00 40 */ lfs f3, 0x40(r4) +/* 8010E454 0010B3B4 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 8010E458 0010B3B8 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8010E45C 0010B3BC EC 03 00 28 */ fsubs f0, f3, f0 +/* 8010E460 0010B3C0 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 8010E464 0010B3C4 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 8010E468 0010B3C8 EC 44 10 28 */ fsubs f2, f4, f2 +/* 8010E46C 0010B3CC D0 61 00 08 */ stfs f3, 8(r1) +/* 8010E470 0010B3D0 EC 25 08 28 */ fsubs f1, f5, f1 +/* 8010E474 0010B3D4 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 8010E478 0010B3D8 D0 45 00 20 */ stfs f2, 0x20(r5) +/* 8010E47C 0010B3DC D0 81 00 0C */ stfs f4, 0xc(r1) +/* 8010E480 0010B3E0 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 8010E484 0010B3E4 D0 25 00 24 */ stfs f1, 0x24(r5) +lbl_8010E488: +/* 8010E488 0010B3E8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010E48C 0010B3EC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8010E490 0010B3F0 7C 08 03 A6 */ mtlr r0 +/* 8010E494 0010B3F4 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010E498 0010B3F8 4E 80 00 20 */ blr + +.global Shuffle__8CWarWaspFR13CStateManager9EStateMsgf +Shuffle__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010E49C 0010B3FC 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8010E4A0 0010B400 7C 08 02 A6 */ mflr r0 +/* 8010E4A4 0010B404 2C 05 00 01 */ cmpwi r5, 1 +/* 8010E4A8 0010B408 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 8010E4AC 0010B40C 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 8010E4B0 0010B410 7C 9F 23 78 */ mr r31, r4 +/* 8010E4B4 0010B414 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 8010E4B8 0010B418 7C 7E 1B 78 */ mr r30, r3 +/* 8010E4BC 0010B41C 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 8010E4C0 0010B420 41 82 00 38 */ beq lbl_8010E4F8 +/* 8010E4C4 0010B424 40 80 00 10 */ bge lbl_8010E4D4 +/* 8010E4C8 0010B428 2C 05 00 00 */ cmpwi r5, 0 +/* 8010E4CC 0010B42C 40 80 00 14 */ bge lbl_8010E4E0 +/* 8010E4D0 0010B430 48 00 02 F4 */ b lbl_8010E7C4 +lbl_8010E4D4: +/* 8010E4D4 0010B434 2C 05 00 03 */ cmpwi r5, 3 +/* 8010E4D8 0010B438 40 80 02 EC */ bge lbl_8010E7C4 +/* 8010E4DC 0010B43C 48 00 02 DC */ b lbl_8010E7B8 +lbl_8010E4E0: +/* 8010E4E0 0010B440 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8010E4E4 0010B444 38 80 00 02 */ li r4, 2 +/* 8010E4E8 0010B448 48 02 C4 F1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8010E4EC 0010B44C 38 00 00 02 */ li r0, 2 +/* 8010E4F0 0010B450 90 1E 05 68 */ stw r0, 0x568(r30) +/* 8010E4F4 0010B454 48 00 02 D0 */ b lbl_8010E7C4 +lbl_8010E4F8: +/* 8010E4F8 0010B458 A0 1E 06 74 */ lhz r0, 0x674(r30) +/* 8010E4FC 0010B45C 7F E3 FB 78 */ mr r3, r31 +/* 8010E500 0010B460 38 81 00 08 */ addi r4, r1, 8 +/* 8010E504 0010B464 3B A0 00 00 */ li r29, 0 +/* 8010E508 0010B468 B0 01 00 08 */ sth r0, 8(r1) +/* 8010E50C 0010B46C 4B F3 E0 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010E510 0010B470 7C 64 1B 78 */ mr r4, r3 +/* 8010E514 0010B474 38 61 00 0C */ addi r3, r1, 0xc +/* 8010E518 0010B478 4B F9 90 5D */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010E51C 0010B47C 80 63 00 04 */ lwz r3, 4(r3) +/* 8010E520 0010B480 28 03 00 00 */ cmplwi r3, 0 +/* 8010E524 0010B484 41 82 00 0C */ beq lbl_8010E530 +/* 8010E528 0010B488 48 12 AF 75 */ bl GetNumAssignedAiRoles__10CTeamAiMgrCFv +/* 8010E52C 0010B48C 7C 7D 1B 78 */ mr r29, r3 +lbl_8010E530: +/* 8010E530 0010B490 28 1D 00 00 */ cmplwi r29, 0 +/* 8010E534 0010B494 41 82 02 78 */ beq lbl_8010E7AC +/* 8010E538 0010B498 C0 3E 07 00 */ lfs f1, 0x700(r30) +/* 8010E53C 0010B49C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010E540 0010B4A0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010E544 0010B4A4 40 81 02 68 */ ble lbl_8010E7AC +/* 8010E548 0010B4A8 7F C4 F3 78 */ mr r4, r30 +/* 8010E54C 0010B4AC 7F E5 FB 78 */ mr r5, r31 +/* 8010E550 0010B4B0 38 61 00 60 */ addi r3, r1, 0x60 +/* 8010E554 0010B4B4 4B FF D7 65 */ bl CalcShuffleDest__8CWarWaspFR13CStateManager +/* 8010E558 0010B4B8 C0 C1 00 60 */ lfs f6, 0x60(r1) +/* 8010E55C 0010B4BC C0 A1 00 64 */ lfs f5, 0x64(r1) +/* 8010E560 0010B4C0 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 8010E564 0010B4C4 D0 C1 00 84 */ stfs f6, 0x84(r1) +/* 8010E568 0010B4C8 C0 22 94 DC */ lfs f1, lbl_805AB1FC@sda21(r2) +/* 8010E56C 0010B4CC D0 A1 00 88 */ stfs f5, 0x88(r1) +/* 8010E570 0010B4D0 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8010E574 0010B4D4 C1 1E 00 60 */ lfs f8, 0x60(r30) +/* 8010E578 0010B4D8 C0 FE 00 50 */ lfs f7, 0x50(r30) +/* 8010E57C 0010B4DC C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 8010E580 0010B4E0 EC 40 40 28 */ fsubs f2, f0, f8 +/* 8010E584 0010B4E4 D0 E1 00 4C */ stfs f7, 0x4c(r1) +/* 8010E588 0010B4E8 EC 82 00 B2 */ fmuls f4, f2, f2 +/* 8010E58C 0010B4EC D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8010E590 0010B4F0 D1 01 00 50 */ stfs f8, 0x50(r1) +/* 8010E594 0010B4F4 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 8010E598 0010B4F8 D0 61 00 54 */ stfs f3, 0x54(r1) +/* 8010E59C 0010B4FC D0 E1 00 58 */ stfs f7, 0x58(r1) +/* 8010E5A0 0010B500 D1 01 00 5C */ stfs f8, 0x5c(r1) +/* 8010E5A4 0010B504 40 81 00 98 */ ble lbl_8010E63C +/* 8010E5A8 0010B508 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 8010E5AC 0010B50C 7F C5 F3 78 */ mr r5, r30 +/* 8010E5B0 0010B510 38 61 00 30 */ addi r3, r1, 0x30 +/* 8010E5B4 0010B514 38 9E 04 5C */ addi r4, r30, 0x45c +/* 8010E5B8 0010B518 D0 E1 00 40 */ stfs f7, 0x40(r1) +/* 8010E5BC 0010B51C 38 C1 00 78 */ addi r6, r1, 0x78 +/* 8010E5C0 0010B520 D1 01 00 44 */ stfs f8, 0x44(r1) +/* 8010E5C4 0010B524 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 8010E5C8 0010B528 D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 8010E5CC 0010B52C D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8010E5D0 0010B530 48 03 05 4D */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8010E5D4 0010B534 C0 81 00 34 */ lfs f4, 0x34(r1) +/* 8010E5D8 0010B538 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8010E5DC 0010B53C EC 24 01 32 */ fmuls f1, f4, f4 +/* 8010E5E0 0010B540 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 8010E5E4 0010B544 C0 02 95 2C */ lfs f0, lbl_805AB24C@sda21(r2) +/* 8010E5E8 0010B548 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8010E5EC 0010B54C EC 25 09 7A */ fmadds f1, f5, f5, f1 +/* 8010E5F0 0010B550 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010E5F4 0010B554 40 81 01 7C */ ble lbl_8010E770 +/* 8010E5F8 0010B558 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010E5FC 0010B55C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 8010E600 0010B560 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010E604 0010B564 38 81 00 AC */ addi r4, r1, 0xac +/* 8010E608 0010B568 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 8010E60C 0010B56C C0 43 00 04 */ lfs f2, 4(r3) +/* 8010E610 0010B570 C0 23 00 08 */ lfs f1, 8(r3) +/* 8010E614 0010B574 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 8010E618 0010B578 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 8010E61C 0010B57C D0 61 00 B8 */ stfs f3, 0xb8(r1) +/* 8010E620 0010B580 D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 8010E624 0010B584 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 8010E628 0010B588 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 8010E62C 0010B58C 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8010E630 0010B590 38 63 00 04 */ addi r3, r3, 4 +/* 8010E634 0010B594 48 02 30 E5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 8010E638 0010B598 48 00 01 38 */ b lbl_8010E770 +lbl_8010E63C: +/* 8010E63C 0010B59C EC A5 38 28 */ fsubs f5, f5, f7 +/* 8010E640 0010B5A0 C0 02 95 1C */ lfs f0, lbl_805AB23C@sda21(r2) +/* 8010E644 0010B5A4 EC 66 18 28 */ fsubs f3, f6, f3 +/* 8010E648 0010B5A8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 8010E64C 0010B5AC EC 25 01 72 */ fmuls f1, f5, f5 +/* 8010E650 0010B5B0 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 8010E654 0010B5B4 EC 43 00 F2 */ fmuls f2, f3, f3 +/* 8010E658 0010B5B8 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 8010E65C 0010B5BC EC 22 08 2A */ fadds f1, f2, f1 +/* 8010E660 0010B5C0 EC 24 08 2A */ fadds f1, f4, f1 +/* 8010E664 0010B5C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010E668 0010B5C8 40 81 01 00 */ ble lbl_8010E768 +/* 8010E66C 0010B5CC 7F C3 F3 78 */ mr r3, r30 +/* 8010E670 0010B5D0 38 81 00 6C */ addi r4, r1, 0x6c +/* 8010E674 0010B5D4 48 0E 66 99 */ bl GetStepDirection__10CPatternedFRC9CVector3f +/* 8010E678 0010B5D8 2C 03 00 00 */ cmpwi r3, 0 +/* 8010E67C 0010B5DC 41 82 00 78 */ beq lbl_8010E6F4 +/* 8010E680 0010B5E0 3C A0 80 3E */ lis r5, lbl_803DAA68@ha +/* 8010E684 0010B5E4 80 9E 04 50 */ lwz r4, 0x450(r30) +/* 8010E688 0010B5E8 38 05 AA 68 */ addi r0, r5, lbl_803DAA68@l +/* 8010E68C 0010B5EC 3C A0 80 3E */ lis r5, lbl_803DA9E4@ha +/* 8010E690 0010B5F0 90 01 00 20 */ stw r0, 0x20(r1) +/* 8010E694 0010B5F4 38 A5 A9 E4 */ addi r5, r5, lbl_803DA9E4@l +/* 8010E698 0010B5F8 38 C0 00 01 */ li r6, 1 +/* 8010E69C 0010B5FC 38 00 00 00 */ li r0, 0 +/* 8010E6A0 0010B600 90 C1 00 24 */ stw r6, 0x24(r1) +/* 8010E6A4 0010B604 3B A4 00 04 */ addi r29, r4, 4 +/* 8010E6A8 0010B608 38 80 00 01 */ li r4, 1 +/* 8010E6AC 0010B60C 90 61 00 28 */ stw r3, 0x28(r1) +/* 8010E6B0 0010B610 7F A3 EB 78 */ mr r3, r29 +/* 8010E6B4 0010B614 90 A1 00 20 */ stw r5, 0x20(r1) +/* 8010E6B8 0010B618 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8010E6BC 0010B61C 48 02 2D 7D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010E6C0 0010B620 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8010E6C4 0010B624 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha +/* 8010E6C8 0010B628 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l +/* 8010E6CC 0010B62C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010E6D0 0010B630 90 1D 00 C8 */ stw r0, 0xc8(r29) +/* 8010E6D4 0010B634 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010E6D8 0010B638 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8010E6DC 0010B63C 90 81 00 20 */ stw r4, 0x20(r1) +/* 8010E6E0 0010B640 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8010E6E4 0010B644 90 BD 00 CC */ stw r5, 0xcc(r29) +/* 8010E6E8 0010B648 90 7D 00 D0 */ stw r3, 0xd0(r29) +/* 8010E6EC 0010B64C 90 01 00 20 */ stw r0, 0x20(r1) +/* 8010E6F0 0010B650 48 00 00 80 */ b lbl_8010E770 +lbl_8010E6F4: +/* 8010E6F4 0010B654 7F C5 F3 78 */ mr r5, r30 +/* 8010E6F8 0010B658 38 61 00 14 */ addi r3, r1, 0x14 +/* 8010E6FC 0010B65C 38 9E 04 5C */ addi r4, r30, 0x45c +/* 8010E700 0010B660 38 C1 00 84 */ addi r6, r1, 0x84 +/* 8010E704 0010B664 48 03 05 1D */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f +/* 8010E708 0010B668 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010E70C 0010B66C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) +/* 8010E710 0010B670 C0 C1 00 14 */ lfs f6, 0x14(r1) +/* 8010E714 0010B674 38 81 00 90 */ addi r4, r1, 0x90 +/* 8010E718 0010B678 C0 A1 00 18 */ lfs f5, 0x18(r1) +/* 8010E71C 0010B67C C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 8010E720 0010B680 C0 43 00 04 */ lfs f2, 4(r3) +/* 8010E724 0010B684 C0 23 00 08 */ lfs f1, 8(r3) +/* 8010E728 0010B688 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010E72C 0010B68C D0 C1 00 90 */ stfs f6, 0x90(r1) +/* 8010E730 0010B690 D0 A1 00 94 */ stfs f5, 0x94(r1) +/* 8010E734 0010B694 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 8010E738 0010B698 D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 8010E73C 0010B69C D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 8010E740 0010B6A0 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 8010E744 0010B6A4 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8010E748 0010B6A8 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8010E74C 0010B6AC 38 63 00 04 */ addi r3, r3, 4 +/* 8010E750 0010B6B0 48 02 2F C9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd +/* 8010E754 0010B6B4 C0 22 95 24 */ lfs f1, lbl_805AB244@sda21(r2) +/* 8010E758 0010B6B8 7F C3 F3 78 */ mr r3, r30 +/* 8010E75C 0010B6BC 7F E4 FB 78 */ mr r4, r31 +/* 8010E760 0010B6C0 4B FF EB 39 */ bl ApplySeparationBehavior__8CWarWaspFR13CStateManagerf +/* 8010E764 0010B6C4 48 00 00 0C */ b lbl_8010E770 +lbl_8010E768: +/* 8010E768 0010B6C8 38 00 00 03 */ li r0, 3 +/* 8010E76C 0010B6CC 90 1E 05 68 */ stw r0, 0x568(r30) +lbl_8010E770: +/* 8010E770 0010B6D0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8010E774 0010B6D4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8010E778 0010B6D8 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 8010E77C 0010B6DC C0 83 00 50 */ lfs f4, 0x50(r3) +/* 8010E780 0010B6E0 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 8010E784 0010B6E4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010E788 0010B6E8 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8010E78C 0010B6EC C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 8010E790 0010B6F0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 8010E794 0010B6F4 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8010E798 0010B6F8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8010E79C 0010B6FC D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8010E7A0 0010B700 D0 63 00 20 */ stfs f3, 0x20(r3) +/* 8010E7A4 0010B704 D0 23 00 24 */ stfs f1, 0x24(r3) +/* 8010E7A8 0010B708 48 00 00 1C */ b lbl_8010E7C4 +lbl_8010E7AC: +/* 8010E7AC 0010B70C 38 00 00 03 */ li r0, 3 +/* 8010E7B0 0010B710 90 1E 05 68 */ stw r0, 0x568(r30) +/* 8010E7B4 0010B714 48 00 00 10 */ b lbl_8010E7C4 +lbl_8010E7B8: +/* 8010E7B8 0010B718 80 7E 04 50 */ lwz r3, 0x450(r30) +/* 8010E7BC 0010B71C 38 80 00 01 */ li r4, 1 +/* 8010E7C0 0010B720 48 02 C2 19 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_8010E7C4: +/* 8010E7C4 0010B724 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8010E7C8 0010B728 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 8010E7CC 0010B72C 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 8010E7D0 0010B730 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 8010E7D4 0010B734 7C 08 03 A6 */ mtlr r0 +/* 8010E7D8 0010B738 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 8010E7DC 0010B73C 4E 80 00 20 */ blr + +.global PathFind__8CWarWaspFR13CStateManager9EStateMsgf +PathFind__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010E7E0 0010B740 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8010E7E4 0010B744 7C 08 02 A6 */ mflr r0 +/* 8010E7E8 0010B748 90 01 00 34 */ stw r0, 0x34(r1) +/* 8010E7EC 0010B74C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 8010E7F0 0010B750 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 8010E7F4 0010B754 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8010E7F8 0010B758 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8010E7FC 0010B75C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8010E800 0010B760 7C BF 2B 78 */ mr r31, r5 +/* 8010E804 0010B764 FF E0 08 90 */ fmr f31, f1 +/* 8010E808 0010B768 2C 1F 00 01 */ cmpwi r31, 1 +/* 8010E80C 0010B76C 7C 7D 1B 78 */ mr r29, r3 +/* 8010E810 0010B770 7C 9E 23 78 */ mr r30, r4 +/* 8010E814 0010B774 41 82 00 28 */ beq lbl_8010E83C +/* 8010E818 0010B778 40 80 00 10 */ bge lbl_8010E828 +/* 8010E81C 0010B77C 2C 1F 00 00 */ cmpwi r31, 0 +/* 8010E820 0010B780 40 80 00 14 */ bge lbl_8010E834 +/* 8010E824 0010B784 48 00 01 7C */ b lbl_8010E9A0 +lbl_8010E828: +/* 8010E828 0010B788 2C 1F 00 03 */ cmpwi r31, 3 +/* 8010E82C 0010B78C 40 80 01 74 */ bge lbl_8010E9A0 +/* 8010E830 0010B790 48 00 01 64 */ b lbl_8010E994 +lbl_8010E834: +/* 8010E834 0010B794 4B FF D9 ED */ bl SetUpPathFindBehavior__8CWarWaspFR13CStateManager +/* 8010E838 0010B798 48 00 01 68 */ b lbl_8010E9A0 +lbl_8010E83C: +/* 8010E83C 0010B79C 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8010E840 0010B7A0 80 03 03 04 */ lwz r0, 0x304(r3) +/* 8010E844 0010B7A4 2C 00 00 00 */ cmpwi r0, 0 +/* 8010E848 0010B7A8 41 82 00 24 */ beq lbl_8010E86C +/* 8010E84C 0010B7AC A0 63 03 10 */ lhz r3, 0x310(r3) +/* 8010E850 0010B7B0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8010E854 0010B7B4 7C 03 00 40 */ cmplw r3, r0 +/* 8010E858 0010B7B8 40 82 00 14 */ bne lbl_8010E86C +/* 8010E85C 0010B7BC 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E860 0010B7C0 38 80 00 01 */ li r4, 1 +/* 8010E864 0010B7C4 48 02 C1 75 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +/* 8010E868 0010B7C8 48 00 00 10 */ b lbl_8010E878 +lbl_8010E86C: +/* 8010E86C 0010B7CC 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E870 0010B7D0 38 80 00 02 */ li r4, 2 +/* 8010E874 0010B7D4 48 02 C1 65 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType +lbl_8010E878: +/* 8010E878 0010B7D8 7F A3 EB 78 */ mr r3, r29 +/* 8010E87C 0010B7DC 81 9D 00 00 */ lwz r12, 0(r29) +/* 8010E880 0010B7E0 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010E884 0010B7E4 7D 89 03 A6 */ mtctr r12 +/* 8010E888 0010B7E8 4E 80 04 21 */ bctrl +/* 8010E88C 0010B7EC 28 03 00 00 */ cmplwi r3, 0 +/* 8010E890 0010B7F0 41 82 00 68 */ beq lbl_8010E8F8 +/* 8010E894 0010B7F4 7F A3 EB 78 */ mr r3, r29 +/* 8010E898 0010B7F8 7F C4 F3 78 */ mr r4, r30 +/* 8010E89C 0010B7FC 81 9D 00 00 */ lwz r12, 0(r29) +/* 8010E8A0 0010B800 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8010E8A4 0010B804 81 8C 01 90 */ lwz r12, 0x190(r12) +/* 8010E8A8 0010B808 7D 89 03 A6 */ mtctr r12 +/* 8010E8AC 0010B80C 4E 80 04 21 */ bctrl +/* 8010E8B0 0010B810 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010E8B4 0010B814 40 82 00 44 */ bne lbl_8010E8F8 +/* 8010E8B8 0010B818 7F A3 EB 78 */ mr r3, r29 +/* 8010E8BC 0010B81C 81 9D 00 00 */ lwz r12, 0(r29) +/* 8010E8C0 0010B820 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010E8C4 0010B824 7D 89 03 A6 */ mtctr r12 +/* 8010E8C8 0010B828 4E 80 04 21 */ bctrl +/* 8010E8CC 0010B82C 80 83 00 04 */ lwz r4, 4(r3) +/* 8010E8D0 0010B830 80 63 00 C8 */ lwz r3, 0xc8(r3) +/* 8010E8D4 0010B834 38 04 FF FF */ addi r0, r4, -1 +/* 8010E8D8 0010B838 7C 03 00 00 */ cmpw r3, r0 +/* 8010E8DC 0010B83C 40 80 00 1C */ bge lbl_8010E8F8 +/* 8010E8E0 0010B840 FC 20 F8 90 */ fmr f1, f31 +/* 8010E8E4 0010B844 7F A3 EB 78 */ mr r3, r29 +/* 8010E8E8 0010B848 7F C4 F3 78 */ mr r4, r30 +/* 8010E8EC 0010B84C 7F E5 FB 78 */ mr r5, r31 +/* 8010E8F0 0010B850 48 0E 7D DD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf +/* 8010E8F4 0010B854 48 00 00 10 */ b lbl_8010E904 +lbl_8010E8F8: +/* 8010E8F8 0010B858 7F A3 EB 78 */ mr r3, r29 +/* 8010E8FC 0010B85C 7F C4 F3 78 */ mr r4, r30 +/* 8010E900 0010B860 4B FF E4 BD */ bl ApplyNormalSteering__8CWarWaspFR13CStateManager +lbl_8010E904: +/* 8010E904 0010B864 C0 22 95 44 */ lfs f1, lbl_805AB264@sda21(r2) +/* 8010E908 0010B868 7F A3 EB 78 */ mr r3, r29 +/* 8010E90C 0010B86C 7F C4 F3 78 */ mr r4, r30 +/* 8010E910 0010B870 4B FF E9 89 */ bl ApplySeparationBehavior__8CWarWaspFR13CStateManagerf +/* 8010E914 0010B874 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8010E918 0010B878 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 8010E91C 0010B87C C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8010E920 0010B880 C0 43 00 40 */ lfs f2, 0x40(r3) +/* 8010E924 0010B884 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8010E928 0010B888 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8010E92C 0010B88C C0 63 00 60 */ lfs f3, 0x60(r3) +/* 8010E930 0010B890 C0 3D 00 60 */ lfs f1, 0x60(r29) +/* 8010E934 0010B894 EC A2 00 28 */ fsubs f5, f2, f0 +/* 8010E938 0010B898 EC 04 01 32 */ fmuls f0, f4, f4 +/* 8010E93C 0010B89C C0 42 94 D0 */ lfs f2, lbl_805AB1F0@sda21(r2) +/* 8010E940 0010B8A0 EC 63 08 28 */ fsubs f3, f3, f1 +/* 8010E944 0010B8A4 C0 3D 03 00 */ lfs f1, 0x300(r29) +/* 8010E948 0010B8A8 EC 05 01 7A */ fmadds f0, f5, f5, f0 +/* 8010E94C 0010B8AC EC 42 00 72 */ fmuls f2, f2, f1 +/* 8010E950 0010B8B0 EC 23 00 FA */ fmadds f1, f3, f3, f0 +/* 8010E954 0010B8B4 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 8010E958 0010B8B8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010E95C 0010B8BC 40 81 00 28 */ ble lbl_8010E984 +/* 8010E960 0010B8C0 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E964 0010B8C4 38 00 00 01 */ li r0, 1 +/* 8010E968 0010B8C8 C0 22 94 DC */ lfs f1, lbl_805AB1FC@sda21(r2) +/* 8010E96C 0010B8CC 90 03 00 34 */ stw r0, 0x34(r3) +/* 8010E970 0010B8D0 FC 40 08 90 */ fmr f2, f1 +/* 8010E974 0010B8D4 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E978 0010B8D8 38 63 00 04 */ addi r3, r3, 4 +/* 8010E97C 0010B8DC 48 02 2E 6D */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff +/* 8010E980 0010B8E0 48 00 00 20 */ b lbl_8010E9A0 +lbl_8010E984: +/* 8010E984 0010B8E4 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E988 0010B8E8 38 00 00 00 */ li r0, 0 +/* 8010E98C 0010B8EC 90 03 00 34 */ stw r0, 0x34(r3) +/* 8010E990 0010B8F0 48 00 00 10 */ b lbl_8010E9A0 +lbl_8010E994: +/* 8010E994 0010B8F4 80 7D 04 50 */ lwz r3, 0x450(r29) +/* 8010E998 0010B8F8 38 00 00 00 */ li r0, 0 +/* 8010E99C 0010B8FC 90 03 00 34 */ stw r0, 0x34(r3) +lbl_8010E9A0: +/* 8010E9A0 0010B900 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 8010E9A4 0010B904 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8010E9A8 0010B908 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 8010E9AC 0010B90C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8010E9B0 0010B910 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8010E9B4 0010B914 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8010E9B8 0010B918 7C 08 03 A6 */ mtlr r0 +/* 8010E9BC 0010B91C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8010E9C0 0010B920 4E 80 00 20 */ blr + +.global ProjectileAttack__8CWarWaspFR13CStateManager9EStateMsgf +ProjectileAttack__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010E9C4 0010B924 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8010E9C8 0010B928 7C 08 02 A6 */ mflr r0 +/* 8010E9CC 0010B92C 2C 05 00 01 */ cmpwi r5, 1 +/* 8010E9D0 0010B930 90 01 00 54 */ stw r0, 0x54(r1) +/* 8010E9D4 0010B934 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8010E9D8 0010B938 7C 7F 1B 78 */ mr r31, r3 +/* 8010E9DC 0010B93C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8010E9E0 0010B940 7C 9E 23 78 */ mr r30, r4 +/* 8010E9E4 0010B944 41 82 00 88 */ beq lbl_8010EA6C +/* 8010E9E8 0010B948 40 80 00 10 */ bge lbl_8010E9F8 +/* 8010E9EC 0010B94C 2C 05 00 00 */ cmpwi r5, 0 +/* 8010E9F0 0010B950 40 80 00 14 */ bge lbl_8010EA04 +/* 8010E9F4 0010B954 48 00 02 18 */ b lbl_8010EC0C +lbl_8010E9F8: +/* 8010E9F8 0010B958 2C 05 00 03 */ cmpwi r5, 3 +/* 8010E9FC 0010B95C 40 80 02 10 */ bge lbl_8010EC0C +/* 8010EA00 0010B960 48 00 01 C4 */ b lbl_8010EBC4 +lbl_8010EA04: +/* 8010EA04 0010B964 88 1F 07 2E */ lbz r0, 0x72e(r31) +/* 8010EA08 0010B968 38 60 00 01 */ li r3, 1 +/* 8010EA0C 0010B96C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8010EA10 0010B970 98 1F 07 2E */ stb r0, 0x72e(r31) +/* 8010EA14 0010B974 A0 7F 06 74 */ lhz r3, 0x674(r31) +/* 8010EA18 0010B978 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8010EA1C 0010B97C 7C 03 00 40 */ cmplw r3, r0 +/* 8010EA20 0010B980 41 82 00 40 */ beq lbl_8010EA60 +/* 8010EA24 0010B984 A0 FF 00 08 */ lhz r7, 8(r31) +/* 8010EA28 0010B988 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8010EA2C 0010B98C 38 C1 00 18 */ addi r6, r1, 0x18 +/* 8010EA30 0010B990 38 60 00 01 */ li r3, 1 +/* 8010EA34 0010B994 B0 E1 00 18 */ sth r7, 0x18(r1) +/* 8010EA38 0010B998 A0 1F 06 74 */ lhz r0, 0x674(r31) +/* 8010EA3C 0010B99C B0 E1 00 14 */ sth r7, 0x14(r1) +/* 8010EA40 0010B9A0 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8010EA44 0010B9A4 48 12 B5 AD */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId +/* 8010EA48 0010B9A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010EA4C 0010B9AC 38 60 00 03 */ li r3, 3 +/* 8010EA50 0010B9B0 41 82 00 08 */ beq lbl_8010EA58 +/* 8010EA54 0010B9B4 38 60 00 00 */ li r3, 0 +lbl_8010EA58: +/* 8010EA58 0010B9B8 90 7F 05 68 */ stw r3, 0x568(r31) +/* 8010EA5C 0010B9BC 48 00 01 B0 */ b lbl_8010EC0C +lbl_8010EA60: +/* 8010EA60 0010B9C0 38 00 00 00 */ li r0, 0 +/* 8010EA64 0010B9C4 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010EA68 0010B9C8 48 00 01 A4 */ b lbl_8010EC0C +lbl_8010EA6C: +/* 8010EA6C 0010B9CC 80 1F 05 68 */ lwz r0, 0x568(r31) +/* 8010EA70 0010B9D0 2C 00 00 01 */ cmpwi r0, 1 +/* 8010EA74 0010B9D4 41 82 01 98 */ beq lbl_8010EC0C +/* 8010EA78 0010B9D8 40 80 00 10 */ bge lbl_8010EA88 +/* 8010EA7C 0010B9DC 2C 00 00 00 */ cmpwi r0, 0 +/* 8010EA80 0010B9E0 40 80 00 14 */ bge lbl_8010EA94 +/* 8010EA84 0010B9E4 48 00 01 88 */ b lbl_8010EC0C +lbl_8010EA88: +/* 8010EA88 0010B9E8 2C 00 00 03 */ cmpwi r0, 3 +/* 8010EA8C 0010B9EC 40 80 01 80 */ bge lbl_8010EC0C +/* 8010EA90 0010B9F0 48 00 00 E8 */ b lbl_8010EB78 +lbl_8010EA94: +/* 8010EA94 0010B9F4 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010EA98 0010B9F8 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8010EA9C 0010B9FC 2C 00 00 12 */ cmpwi r0, 0x12 +/* 8010EAA0 0010BA00 40 82 00 10 */ bne lbl_8010EAB0 +/* 8010EAA4 0010BA04 38 00 00 02 */ li r0, 2 +/* 8010EAA8 0010BA08 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010EAAC 0010BA0C 48 00 01 60 */ b lbl_8010EC0C +lbl_8010EAB0: +/* 8010EAB0 0010BA10 C0 22 95 48 */ lfs f1, lbl_805AB268@sda21(r2) +/* 8010EAB4 0010BA14 7F E4 FB 78 */ mr r4, r31 +/* 8010EAB8 0010BA18 7F C5 F3 78 */ mr r5, r30 +/* 8010EABC 0010BA1C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010EAC0 0010BA20 4B FF D3 E1 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010EAC4 0010BA24 7F E3 FB 78 */ mr r3, r31 +/* 8010EAC8 0010BA28 38 81 00 20 */ addi r4, r1, 0x20 +/* 8010EACC 0010BA2C 4B F6 E0 91 */ bl SetDestPos__10CPatternedFRC9CVector3f +/* 8010EAD0 0010BA30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010EAD4 0010BA34 C0 5F 02 E0 */ lfs f2, 0x2e0(r31) +/* 8010EAD8 0010BA38 38 C3 AA 68 */ addi r6, r3, lbl_803DAA68@l +/* 8010EADC 0010BA3C C0 3F 02 E4 */ lfs f1, 0x2e4(r31) +/* 8010EAE0 0010BA40 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) +/* 8010EAE4 0010BA44 3C 80 80 3E */ lis r4, lbl_803DA9CC@ha +/* 8010EAE8 0010BA48 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010EAEC 0010BA4C 38 E0 00 06 */ li r7, 6 +/* 8010EAF0 0010BA50 38 A0 00 01 */ li r5, 1 +/* 8010EAF4 0010BA54 38 00 00 00 */ li r0, 0 +/* 8010EAF8 0010BA58 3B E3 00 04 */ addi r31, r3, 4 +/* 8010EAFC 0010BA5C 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 8010EB00 0010BA60 38 C4 A9 CC */ addi r6, r4, lbl_803DA9CC@l +/* 8010EB04 0010BA64 38 80 00 06 */ li r4, 6 +/* 8010EB08 0010BA68 90 E1 00 30 */ stw r7, 0x30(r1) +/* 8010EB0C 0010BA6C 7F E3 FB 78 */ mr r3, r31 +/* 8010EB10 0010BA70 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 8010EB14 0010BA74 90 A1 00 34 */ stw r5, 0x34(r1) +/* 8010EB18 0010BA78 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8010EB1C 0010BA7C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8010EB20 0010BA80 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8010EB24 0010BA84 98 01 00 44 */ stb r0, 0x44(r1) +/* 8010EB28 0010BA88 48 02 29 11 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010EB2C 0010BA8C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 8010EB30 0010BA90 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha +/* 8010EB34 0010BA94 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l +/* 8010EB38 0010BA98 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010EB3C 0010BA9C 90 1F 01 2C */ stw r0, 0x12c(r31) +/* 8010EB40 0010BAA0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010EB44 0010BAA4 80 61 00 34 */ lwz r3, 0x34(r1) +/* 8010EB48 0010BAA8 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 8010EB4C 0010BAAC 90 7F 01 30 */ stw r3, 0x130(r31) +/* 8010EB50 0010BAB0 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 8010EB54 0010BAB4 90 BF 01 34 */ stw r5, 0x134(r31) +/* 8010EB58 0010BAB8 80 A1 00 40 */ lwz r5, 0x40(r1) +/* 8010EB5C 0010BABC 90 7F 01 38 */ stw r3, 0x138(r31) +/* 8010EB60 0010BAC0 88 61 00 44 */ lbz r3, 0x44(r1) +/* 8010EB64 0010BAC4 90 BF 01 3C */ stw r5, 0x13c(r31) +/* 8010EB68 0010BAC8 90 81 00 2C */ stw r4, 0x2c(r1) +/* 8010EB6C 0010BACC 98 7F 01 40 */ stb r3, 0x140(r31) +/* 8010EB70 0010BAD0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 8010EB74 0010BAD4 48 00 00 98 */ b lbl_8010EC0C +lbl_8010EB78: +/* 8010EB78 0010BAD8 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010EB7C 0010BADC 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8010EB80 0010BAE0 2C 00 00 12 */ cmpwi r0, 0x12 +/* 8010EB84 0010BAE4 41 82 00 88 */ beq lbl_8010EC0C +/* 8010EB88 0010BAE8 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) +/* 8010EB8C 0010BAEC 38 00 00 03 */ li r0, 3 +/* 8010EB90 0010BAF0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010EB94 0010BAF4 C0 9F 02 E4 */ lfs f4, 0x2e4(r31) +/* 8010EB98 0010BAF8 C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 8010EB9C 0010BAFC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010EBA0 0010BB00 C0 5F 02 E8 */ lfs f2, 0x2e8(r31) +/* 8010EBA4 0010BB04 C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 8010EBA8 0010BB08 EC 64 18 28 */ fsubs f3, f4, f3 +/* 8010EBAC 0010BB0C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 8010EBB0 0010BB10 EC 02 08 28 */ fsubs f0, f2, f1 +/* 8010EBB4 0010BB14 D0 63 00 20 */ stfs f3, 0x20(r3) +/* 8010EBB8 0010BB18 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 8010EBBC 0010BB1C 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010EBC0 0010BB20 48 00 00 4C */ b lbl_8010EC0C +lbl_8010EBC4: +/* 8010EBC4 0010BB24 A1 1F 00 08 */ lhz r8, 8(r31) +/* 8010EBC8 0010BB28 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8010EBCC 0010BB2C 38 C1 00 0C */ addi r6, r1, 0xc +/* 8010EBD0 0010BB30 38 60 00 01 */ li r3, 1 +/* 8010EBD4 0010BB34 B1 01 00 0C */ sth r8, 0xc(r1) +/* 8010EBD8 0010BB38 38 E0 00 00 */ li r7, 0 +/* 8010EBDC 0010BB3C A0 1F 06 74 */ lhz r0, 0x674(r31) +/* 8010EBE0 0010BB40 B1 01 00 08 */ sth r8, 8(r1) +/* 8010EBE4 0010BB44 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010EBE8 0010BB48 48 12 B2 E9 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb +/* 8010EBEC 0010BB4C 7F E3 FB 78 */ mr r3, r31 +/* 8010EBF0 0010BB50 7F C4 F3 78 */ mr r4, r30 +/* 8010EBF4 0010BB54 4B FF D1 D5 */ bl CalcTimeToNextAttack__8CWarWaspFR13CStateManager +/* 8010EBF8 0010BB58 D0 3F 07 00 */ stfs f1, 0x700(r31) +/* 8010EBFC 0010BB5C 38 60 00 00 */ li r3, 0 +/* 8010EC00 0010BB60 88 1F 07 2E */ lbz r0, 0x72e(r31) +/* 8010EC04 0010BB64 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8010EC08 0010BB68 98 1F 07 2E */ stb r0, 0x72e(r31) +lbl_8010EC0C: +/* 8010EC0C 0010BB6C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8010EC10 0010BB70 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8010EC14 0010BB74 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8010EC18 0010BB78 7C 08 03 A6 */ mtlr r0 +/* 8010EC1C 0010BB7C 38 21 00 50 */ addi r1, r1, 0x50 +/* 8010EC20 0010BB80 4E 80 00 20 */ blr + +.global Attack__8CWarWaspFR13CStateManager9EStateMsgf +Attack__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010EC24 0010BB84 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8010EC28 0010BB88 7C 08 02 A6 */ mflr r0 +/* 8010EC2C 0010BB8C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8010EC30 0010BB90 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8010EC34 0010BB94 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8010EC38 0010BB98 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8010EC3C 0010BB9C F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8010EC40 0010BBA0 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8010EC44 0010BBA4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8010EC48 0010BBA8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8010EC4C 0010BBAC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8010EC50 0010BBB0 2C 05 00 01 */ cmpwi r5, 1 +/* 8010EC54 0010BBB4 7C 7F 1B 78 */ mr r31, r3 +/* 8010EC58 0010BBB8 7C 9E 23 78 */ mr r30, r4 +/* 8010EC5C 0010BBBC 41 82 00 94 */ beq lbl_8010ECF0 +/* 8010EC60 0010BBC0 40 80 00 10 */ bge lbl_8010EC70 +/* 8010EC64 0010BBC4 2C 05 00 00 */ cmpwi r5, 0 +/* 8010EC68 0010BBC8 40 80 00 14 */ bge lbl_8010EC7C +/* 8010EC6C 0010BBCC 48 00 02 84 */ b lbl_8010EEF0 +lbl_8010EC70: +/* 8010EC70 0010BBD0 2C 05 00 03 */ cmpwi r5, 3 +/* 8010EC74 0010BBD4 40 80 02 7C */ bge lbl_8010EEF0 +/* 8010EC78 0010BBD8 48 00 02 30 */ b lbl_8010EEA8 +lbl_8010EC7C: +/* 8010EC7C 0010BBDC 88 1F 07 2E */ lbz r0, 0x72e(r31) +/* 8010EC80 0010BBE0 38 60 00 01 */ li r3, 1 +/* 8010EC84 0010BBE4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8010EC88 0010BBE8 38 A0 00 00 */ li r5, 0 +/* 8010EC8C 0010BBEC 98 1F 07 2E */ stb r0, 0x72e(r31) +/* 8010EC90 0010BBF0 88 1F 07 2E */ lbz r0, 0x72e(r31) +/* 8010EC94 0010BBF4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 8010EC98 0010BBF8 98 1F 07 2E */ stb r0, 0x72e(r31) +/* 8010EC9C 0010BBFC A0 7F 06 74 */ lhz r3, 0x674(r31) +/* 8010ECA0 0010BC00 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8010ECA4 0010BC04 7C 03 00 40 */ cmplw r3, r0 +/* 8010ECA8 0010BC08 41 82 00 40 */ beq lbl_8010ECE8 +/* 8010ECAC 0010BC0C A0 FF 00 08 */ lhz r7, 8(r31) +/* 8010ECB0 0010BC10 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8010ECB4 0010BC14 38 C1 00 18 */ addi r6, r1, 0x18 +/* 8010ECB8 0010BC18 38 60 00 00 */ li r3, 0 +/* 8010ECBC 0010BC1C B0 E1 00 18 */ sth r7, 0x18(r1) +/* 8010ECC0 0010BC20 A0 1F 06 74 */ lhz r0, 0x674(r31) +/* 8010ECC4 0010BC24 B0 E1 00 14 */ sth r7, 0x14(r1) +/* 8010ECC8 0010BC28 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 8010ECCC 0010BC2C 48 12 B3 25 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId +/* 8010ECD0 0010BC30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010ECD4 0010BC34 38 60 00 03 */ li r3, 3 +/* 8010ECD8 0010BC38 41 82 00 08 */ beq lbl_8010ECE0 +/* 8010ECDC 0010BC3C 38 60 00 00 */ li r3, 0 +lbl_8010ECE0: +/* 8010ECE0 0010BC40 90 7F 05 68 */ stw r3, 0x568(r31) +/* 8010ECE4 0010BC44 48 00 02 0C */ b lbl_8010EEF0 +lbl_8010ECE8: +/* 8010ECE8 0010BC48 90 BF 05 68 */ stw r5, 0x568(r31) +/* 8010ECEC 0010BC4C 48 00 02 04 */ b lbl_8010EEF0 +lbl_8010ECF0: +/* 8010ECF0 0010BC50 80 1F 05 68 */ lwz r0, 0x568(r31) +/* 8010ECF4 0010BC54 2C 00 00 01 */ cmpwi r0, 1 +/* 8010ECF8 0010BC58 41 82 01 F8 */ beq lbl_8010EEF0 +/* 8010ECFC 0010BC5C 40 80 00 10 */ bge lbl_8010ED0C +/* 8010ED00 0010BC60 2C 00 00 00 */ cmpwi r0, 0 +/* 8010ED04 0010BC64 40 80 00 14 */ bge lbl_8010ED18 +/* 8010ED08 0010BC68 48 00 01 E8 */ b lbl_8010EEF0 +lbl_8010ED0C: +/* 8010ED0C 0010BC6C 2C 00 00 03 */ cmpwi r0, 3 +/* 8010ED10 0010BC70 40 80 01 E0 */ bge lbl_8010EEF0 +/* 8010ED14 0010BC74 48 00 01 40 */ b lbl_8010EE54 +lbl_8010ED18: +/* 8010ED18 0010BC78 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010ED1C 0010BC7C 80 03 02 B8 */ lwz r0, 0x2b8(r3) +/* 8010ED20 0010BC80 2C 00 00 07 */ cmpwi r0, 7 +/* 8010ED24 0010BC84 40 82 00 10 */ bne lbl_8010ED34 +/* 8010ED28 0010BC88 38 00 00 02 */ li r0, 2 +/* 8010ED2C 0010BC8C 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010ED30 0010BC90 48 00 01 C0 */ b lbl_8010EEF0 +lbl_8010ED34: +/* 8010ED34 0010BC94 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010ED38 0010BC98 7F E4 FB 78 */ mr r4, r31 +/* 8010ED3C 0010BC9C 7F C5 F3 78 */ mr r5, r30 +/* 8010ED40 0010BCA0 38 61 00 2C */ addi r3, r1, 0x2c +/* 8010ED44 0010BCA4 4B FF D1 5D */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010ED48 0010BCA8 C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 8010ED4C 0010BCAC 38 61 00 38 */ addi r3, r1, 0x38 +/* 8010ED50 0010BCB0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010ED54 0010BCB4 C3 E1 00 30 */ lfs f31, 0x30(r1) +/* 8010ED58 0010BCB8 C0 5F 00 50 */ lfs f2, 0x50(r31) +/* 8010ED5C 0010BCBC EC 1D 00 28 */ fsubs f0, f29, f0 +/* 8010ED60 0010BCC0 C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 8010ED64 0010BCC4 EC 5F 10 28 */ fsubs f2, f31, f2 +/* 8010ED68 0010BCC8 C3 C1 00 34 */ lfs f30, 0x34(r1) +/* 8010ED6C 0010BCCC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8010ED70 0010BCD0 EC 1E 08 28 */ fsubs f0, f30, f1 +/* 8010ED74 0010BCD4 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8010ED78 0010BCD8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8010ED7C 0010BCDC 48 20 59 7D */ bl CanBeNormalized__9CVector3fCFv +/* 8010ED80 0010BCE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010ED84 0010BCE4 41 82 00 38 */ beq lbl_8010EDBC +/* 8010ED88 0010BCE8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010ED8C 0010BCEC 38 81 00 38 */ addi r4, r1, 0x38 +/* 8010ED90 0010BCF0 48 20 5A C1 */ bl AsNormalized__9CVector3fCFv +/* 8010ED94 0010BCF4 C0 62 95 18 */ lfs f3, lbl_805AB238@sda21(r2) +/* 8010ED98 0010BCF8 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8010ED9C 0010BCFC C0 21 00 24 */ lfs f1, 0x24(r1) +/* 8010EDA0 0010BD00 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8010EDA4 0010BD04 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 8010EDA8 0010BD08 EC 23 00 72 */ fmuls f1, f3, f1 +/* 8010EDAC 0010BD0C EC 03 00 32 */ fmuls f0, f3, f0 +/* 8010EDB0 0010BD10 EF BD 10 2A */ fadds f29, f29, f2 +/* 8010EDB4 0010BD14 EF FF 08 2A */ fadds f31, f31, f1 +/* 8010EDB8 0010BD18 EF DE 00 2A */ fadds f30, f30, f0 +lbl_8010EDBC: +/* 8010EDBC 0010BD1C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010EDC0 0010BD20 38 00 00 01 */ li r0, 1 +/* 8010EDC4 0010BD24 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 8010EDC8 0010BD28 80 7F 04 50 */ lwz r3, 0x450(r31) +/* 8010EDCC 0010BD2C 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha +/* 8010EDD0 0010BD30 90 A1 00 44 */ stw r5, 0x44(r1) +/* 8010EDD4 0010BD34 38 A4 A9 D8 */ addi r5, r4, lbl_803DA9D8@l +/* 8010EDD8 0010BD38 38 80 00 05 */ li r4, 5 +/* 8010EDDC 0010BD3C 3B E3 00 04 */ addi r31, r3, 4 +/* 8010EDE0 0010BD40 90 81 00 48 */ stw r4, 0x48(r1) +/* 8010EDE4 0010BD44 7F E3 FB 78 */ mr r3, r31 +/* 8010EDE8 0010BD48 38 80 00 05 */ li r4, 5 +/* 8010EDEC 0010BD4C 90 A1 00 44 */ stw r5, 0x44(r1) +/* 8010EDF0 0010BD50 90 01 00 4C */ stw r0, 0x4c(r1) +/* 8010EDF4 0010BD54 D3 A1 00 50 */ stfs f29, 0x50(r1) +/* 8010EDF8 0010BD58 D3 E1 00 54 */ stfs f31, 0x54(r1) +/* 8010EDFC 0010BD5C D3 C1 00 58 */ stfs f30, 0x58(r1) +/* 8010EE00 0010BD60 98 01 00 5C */ stb r0, 0x5c(r1) +/* 8010EE04 0010BD64 48 02 26 35 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010EE08 0010BD68 80 01 00 48 */ lwz r0, 0x48(r1) +/* 8010EE0C 0010BD6C 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha +/* 8010EE10 0010BD70 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l +/* 8010EE14 0010BD74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010EE18 0010BD78 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8010EE1C 0010BD7C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010EE20 0010BD80 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 8010EE24 0010BD84 80 A1 00 50 */ lwz r5, 0x50(r1) +/* 8010EE28 0010BD88 90 7F 01 14 */ stw r3, 0x114(r31) +/* 8010EE2C 0010BD8C 80 61 00 54 */ lwz r3, 0x54(r1) +/* 8010EE30 0010BD90 90 BF 01 18 */ stw r5, 0x118(r31) +/* 8010EE34 0010BD94 80 A1 00 58 */ lwz r5, 0x58(r1) +/* 8010EE38 0010BD98 90 7F 01 1C */ stw r3, 0x11c(r31) +/* 8010EE3C 0010BD9C 88 61 00 5C */ lbz r3, 0x5c(r1) +/* 8010EE40 0010BDA0 90 BF 01 20 */ stw r5, 0x120(r31) +/* 8010EE44 0010BDA4 90 81 00 44 */ stw r4, 0x44(r1) +/* 8010EE48 0010BDA8 98 7F 01 24 */ stb r3, 0x124(r31) +/* 8010EE4C 0010BDAC 90 01 00 44 */ stw r0, 0x44(r1) +/* 8010EE50 0010BDB0 48 00 00 A0 */ b lbl_8010EEF0 +lbl_8010EE54: +/* 8010EE54 0010BDB4 80 9F 04 50 */ lwz r4, 0x450(r31) +/* 8010EE58 0010BDB8 80 04 02 B8 */ lwz r0, 0x2b8(r4) +/* 8010EE5C 0010BDBC 2C 00 00 07 */ cmpwi r0, 7 +/* 8010EE60 0010BDC0 41 82 00 10 */ beq lbl_8010EE70 +/* 8010EE64 0010BDC4 38 00 00 03 */ li r0, 3 +/* 8010EE68 0010BDC8 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010EE6C 0010BDCC 48 00 00 84 */ b lbl_8010EEF0 +lbl_8010EE70: +/* 8010EE70 0010BDD0 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8010EE74 0010BDD4 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010EE78 0010BDD8 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 8010EE7C 0010BDDC C0 83 00 50 */ lfs f4, 0x50(r3) +/* 8010EE80 0010BDE0 C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 8010EE84 0010BDE4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010EE88 0010BDE8 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8010EE8C 0010BDEC C0 3F 00 60 */ lfs f1, 0x60(r31) +/* 8010EE90 0010BDF0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 8010EE94 0010BDF4 D0 04 00 1C */ stfs f0, 0x1c(r4) +/* 8010EE98 0010BDF8 EC 02 08 28 */ fsubs f0, f2, f1 +/* 8010EE9C 0010BDFC D0 64 00 20 */ stfs f3, 0x20(r4) +/* 8010EEA0 0010BE00 D0 04 00 24 */ stfs f0, 0x24(r4) +/* 8010EEA4 0010BE04 48 00 00 4C */ b lbl_8010EEF0 +lbl_8010EEA8: +/* 8010EEA8 0010BE08 A1 1F 00 08 */ lhz r8, 8(r31) +/* 8010EEAC 0010BE0C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8010EEB0 0010BE10 38 C1 00 0C */ addi r6, r1, 0xc +/* 8010EEB4 0010BE14 38 60 00 00 */ li r3, 0 +/* 8010EEB8 0010BE18 B1 01 00 0C */ sth r8, 0xc(r1) +/* 8010EEBC 0010BE1C 38 E0 00 00 */ li r7, 0 +/* 8010EEC0 0010BE20 A0 1F 06 74 */ lhz r0, 0x674(r31) +/* 8010EEC4 0010BE24 B1 01 00 08 */ sth r8, 8(r1) +/* 8010EEC8 0010BE28 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010EECC 0010BE2C 48 12 B0 05 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb +/* 8010EED0 0010BE30 7F E3 FB 78 */ mr r3, r31 +/* 8010EED4 0010BE34 7F C4 F3 78 */ mr r4, r30 +/* 8010EED8 0010BE38 4B FF CE F1 */ bl CalcTimeToNextAttack__8CWarWaspFR13CStateManager +/* 8010EEDC 0010BE3C D0 3F 07 00 */ stfs f1, 0x700(r31) +/* 8010EEE0 0010BE40 38 60 00 00 */ li r3, 0 +/* 8010EEE4 0010BE44 88 1F 07 2E */ lbz r0, 0x72e(r31) +/* 8010EEE8 0010BE48 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 8010EEEC 0010BE4C 98 1F 07 2E */ stb r0, 0x72e(r31) +lbl_8010EEF0: +/* 8010EEF0 0010BE50 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8010EEF4 0010BE54 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8010EEF8 0010BE58 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8010EEFC 0010BE5C CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8010EF00 0010BE60 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8010EF04 0010BE64 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8010EF08 0010BE68 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8010EF0C 0010BE6C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8010EF10 0010BE70 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8010EF14 0010BE74 7C 08 03 A6 */ mtlr r0 +/* 8010EF18 0010BE78 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8010EF1C 0010BE7C 4E 80 00 20 */ blr + +.global Generate__8CWarWaspFR13CStateManager9EStateMsgf +Generate__8CWarWaspFR13CStateManager9EStateMsgf: +/* 8010EF20 0010BE80 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8010EF24 0010BE84 7C 08 02 A6 */ mflr r0 +/* 8010EF28 0010BE88 90 01 01 34 */ stw r0, 0x134(r1) +/* 8010EF2C 0010BE8C DB E1 01 20 */ stfd f31, 0x120(r1) +/* 8010EF30 0010BE90 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 8010EF34 0010BE94 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 8010EF38 0010BE98 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 8010EF3C 0010BE9C 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 8010EF40 0010BEA0 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8010EF44 0010BEA4 93 A1 01 04 */ stw r29, 0x104(r1) +/* 8010EF48 0010BEA8 7C 7F 1B 78 */ mr r31, r3 +/* 8010EF4C 0010BEAC FF C0 08 90 */ fmr f30, f1 +/* 8010EF50 0010BEB0 2C 05 00 01 */ cmpwi r5, 1 +/* 8010EF54 0010BEB4 81 03 04 50 */ lwz r8, 0x450(r3) +/* 8010EF58 0010BEB8 7C 9D 23 78 */ mr r29, r4 +/* 8010EF5C 0010BEBC 41 82 01 68 */ beq lbl_8010F0C4 +/* 8010EF60 0010BEC0 40 80 00 10 */ bge lbl_8010EF70 +/* 8010EF64 0010BEC4 2C 05 00 00 */ cmpwi r5, 0 +/* 8010EF68 0010BEC8 40 80 00 14 */ bge lbl_8010EF7C +/* 8010EF6C 0010BECC 48 00 04 30 */ b lbl_8010F39C +lbl_8010EF70: +/* 8010EF70 0010BED0 2C 05 00 03 */ cmpwi r5, 3 +/* 8010EF74 0010BED4 40 80 04 28 */ bge lbl_8010F39C +/* 8010EF78 0010BED8 48 00 03 EC */ b lbl_8010F364 +lbl_8010EF7C: +/* 8010EF7C 0010BEDC 7D 03 43 78 */ mr r3, r8 +/* 8010EF80 0010BEE0 48 02 BD 71 */ bl Activate__15CBodyControllerFR13CStateManager +/* 8010EF84 0010BEE4 88 1F 07 2E */ lbz r0, 0x72e(r31) +/* 8010EF88 0010BEE8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8010EF8C 0010BEEC 41 82 01 2C */ beq lbl_8010F0B8 +/* 8010EF90 0010BEF0 7F E3 FB 78 */ mr r3, r31 +/* 8010EF94 0010BEF4 7F A6 EB 78 */ mr r6, r29 +/* 8010EF98 0010BEF8 38 80 00 21 */ li r4, 0x21 +/* 8010EF9C 0010BEFC 38 A0 00 13 */ li r5, 0x13 +/* 8010EFA0 0010BF00 4B F4 4F 35 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8010EFA4 0010BF04 38 61 00 74 */ addi r3, r1, 0x74 +/* 8010EFA8 0010BF08 38 9F 00 34 */ addi r4, r31, 0x34 +/* 8010EFAC 0010BF0C 48 20 31 7D */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 8010EFB0 0010BF10 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 8010EFB4 0010BF14 D0 1F 06 A0 */ stfs f0, 0x6a0(r31) +/* 8010EFB8 0010BF18 80 61 00 78 */ lwz r3, 0x78(r1) +/* 8010EFBC 0010BF1C 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 8010EFC0 0010BF20 90 7F 06 A4 */ stw r3, 0x6a4(r31) +/* 8010EFC4 0010BF24 90 1F 06 A8 */ stw r0, 0x6a8(r31) +/* 8010EFC8 0010BF28 80 01 00 80 */ lwz r0, 0x80(r1) +/* 8010EFCC 0010BF2C 90 1F 06 AC */ stw r0, 0x6ac(r31) +/* 8010EFD0 0010BF30 C0 1F 06 A0 */ lfs f0, 0x6a0(r31) +/* 8010EFD4 0010BF34 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8010EFD8 0010BF38 C0 1F 06 A4 */ lfs f0, 0x6a4(r31) +/* 8010EFDC 0010BF3C D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 8010EFE0 0010BF40 C0 1F 06 A8 */ lfs f0, 0x6a8(r31) +/* 8010EFE4 0010BF44 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 8010EFE8 0010BF48 C0 1F 06 AC */ lfs f0, 0x6ac(r31) +/* 8010EFEC 0010BF4C D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 8010EFF0 0010BF50 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 8010EFF4 0010BF54 48 20 34 E9 */ bl Float__9CRandom16Fv +/* 8010EFF8 0010BF58 C0 42 95 4C */ lfs f2, lbl_805AB26C@sda21(r2) +/* 8010EFFC 0010BF5C 38 61 00 64 */ addi r3, r1, 0x64 +/* 8010F000 0010BF60 C0 02 95 50 */ lfs f0, lbl_805AB270@sda21(r2) +/* 8010F004 0010BF64 38 81 00 08 */ addi r4, r1, 8 +/* 8010F008 0010BF68 EC 02 00 78 */ fmsubs f0, f2, f1, f0 +/* 8010F00C 0010BF6C D0 01 00 08 */ stfs f0, 8(r1) +/* 8010F010 0010BF70 48 20 20 E9 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 8010F014 0010BF74 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010F018 0010BF78 38 81 00 9C */ addi r4, r1, 0x9c +/* 8010F01C 0010BF7C 38 A1 00 64 */ addi r5, r1, 0x64 +/* 8010F020 0010BF80 48 20 21 81 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 8010F024 0010BF84 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8010F028 0010BF88 38 61 00 54 */ addi r3, r1, 0x54 +/* 8010F02C 0010BF8C 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 8010F030 0010BF90 38 81 00 9C */ addi r4, r1, 0x9c +/* 8010F034 0010BF94 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 8010F038 0010BF98 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 8010F03C 0010BF9C D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8010F040 0010BFA0 90 C1 00 A0 */ stw r6, 0xa0(r1) +/* 8010F044 0010BFA4 90 A1 00 A4 */ stw r5, 0xa4(r1) +/* 8010F048 0010BFA8 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 8010F04C 0010BFAC 48 20 23 51 */ bl BuildNormalized__11CQuaternionCFv +/* 8010F050 0010BFB0 C0 5F 00 60 */ lfs f2, 0x60(r31) +/* 8010F054 0010BFB4 38 61 00 CC */ addi r3, r1, 0xcc +/* 8010F058 0010BFB8 C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 8010F05C 0010BFBC 38 81 00 54 */ addi r4, r1, 0x54 +/* 8010F060 0010BFC0 C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010F064 0010BFC4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8010F068 0010BFC8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8010F06C 0010BFCC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8010F070 0010BFD0 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8010F074 0010BFD4 48 20 2E 49 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 8010F078 0010BFD8 38 7F 00 34 */ addi r3, r31, 0x34 +/* 8010F07C 0010BFDC 38 81 00 CC */ addi r4, r1, 0xcc +/* 8010F080 0010BFE0 48 20 3A C1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8010F084 0010BFE4 88 7F 00 E4 */ lbz r3, 0xe4(r31) +/* 8010F088 0010BFE8 38 80 00 01 */ li r4, 1 +/* 8010F08C 0010BFEC 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 8010F090 0010BFF0 38 00 00 00 */ li r0, 0 +/* 8010F094 0010BFF4 98 7F 00 E4 */ stb r3, 0xe4(r31) +/* 8010F098 0010BFF8 88 7F 00 E4 */ lbz r3, 0xe4(r31) +/* 8010F09C 0010BFFC 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c +/* 8010F0A0 0010C000 98 7F 00 E4 */ stb r3, 0xe4(r31) +/* 8010F0A4 0010C004 88 7F 00 E4 */ lbz r3, 0xe4(r31) +/* 8010F0A8 0010C008 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d +/* 8010F0AC 0010C00C 98 7F 00 E4 */ stb r3, 0xe4(r31) +/* 8010F0B0 0010C010 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010F0B4 0010C014 48 00 02 E8 */ b lbl_8010F39C +lbl_8010F0B8: +/* 8010F0B8 0010C018 38 00 00 03 */ li r0, 3 +/* 8010F0BC 0010C01C 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010F0C0 0010C020 48 00 02 DC */ b lbl_8010F39C +lbl_8010F0C4: +/* 8010F0C4 0010C024 80 1F 05 68 */ lwz r0, 0x568(r31) +/* 8010F0C8 0010C028 2C 00 00 01 */ cmpwi r0, 1 +/* 8010F0CC 0010C02C 41 82 02 D0 */ beq lbl_8010F39C +/* 8010F0D0 0010C030 40 80 00 10 */ bge lbl_8010F0E0 +/* 8010F0D4 0010C034 2C 00 00 00 */ cmpwi r0, 0 +/* 8010F0D8 0010C038 40 80 00 14 */ bge lbl_8010F0EC +/* 8010F0DC 0010C03C 48 00 02 C0 */ b lbl_8010F39C +lbl_8010F0E0: +/* 8010F0E0 0010C040 2C 00 00 03 */ cmpwi r0, 3 +/* 8010F0E4 0010C044 40 80 02 B8 */ bge lbl_8010F39C +/* 8010F0E8 0010C048 48 00 00 EC */ b lbl_8010F1D4 +lbl_8010F0EC: +/* 8010F0EC 0010C04C 80 08 02 B8 */ lwz r0, 0x2b8(r8) +/* 8010F0F0 0010C050 2C 00 00 0C */ cmpwi r0, 0xc +/* 8010F0F4 0010C054 40 82 00 10 */ bne lbl_8010F104 +/* 8010F0F8 0010C058 38 00 00 02 */ li r0, 2 +/* 8010F0FC 0010C05C 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010F100 0010C060 48 00 02 9C */ b lbl_8010F39C +lbl_8010F104: +/* 8010F104 0010C064 81 3F 03 88 */ lwz r9, 0x388(r31) +/* 8010F108 0010C068 3C E0 80 3E */ lis r7, lbl_803DAA68@ha +/* 8010F10C 0010C06C 38 C0 00 00 */ li r6, 0 +/* 8010F110 0010C070 80 A1 00 C8 */ lwz r5, 0xc8(r1) +/* 8010F114 0010C074 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8010F118 0010C078 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) +/* 8010F11C 0010C07C 50 C5 F8 00 */ rlwimi r5, r6, 0x1f, 0, 0 +/* 8010F120 0010C080 38 E7 AA 68 */ addi r7, r7, lbl_803DAA68@l +/* 8010F124 0010C084 C0 24 00 04 */ lfs f1, 4(r4) +/* 8010F128 0010C088 20 69 FF FF */ subfic r3, r9, -1 +/* 8010F12C 0010C08C C0 04 00 08 */ lfs f0, 8(r4) +/* 8010F130 0010C090 38 09 00 01 */ addi r0, r9, 1 +/* 8010F134 0010C094 7C 60 03 78 */ or r0, r3, r0 +/* 8010F138 0010C098 90 A1 00 C8 */ stw r5, 0xc8(r1) +/* 8010F13C 0010C09C 38 80 00 0E */ li r4, 0xe +/* 8010F140 0010C0A0 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha +/* 8010F144 0010C0A4 90 E1 00 AC */ stw r7, 0xac(r1) +/* 8010F148 0010C0A8 38 E3 A9 F0 */ addi r7, r3, lbl_803DA9F0@l +/* 8010F14C 0010C0AC 50 05 F8 42 */ rlwimi r5, r0, 0x1f, 1, 1 +/* 8010F150 0010C0B0 3B E8 00 04 */ addi r31, r8, 4 +/* 8010F154 0010C0B4 90 81 00 B0 */ stw r4, 0xb0(r1) +/* 8010F158 0010C0B8 7F E3 FB 78 */ mr r3, r31 +/* 8010F15C 0010C0BC 38 80 00 0E */ li r4, 0xe +/* 8010F160 0010C0C0 90 E1 00 AC */ stw r7, 0xac(r1) +/* 8010F164 0010C0C4 90 C1 00 B4 */ stw r6, 0xb4(r1) +/* 8010F168 0010C0C8 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 8010F16C 0010C0CC D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 8010F170 0010C0D0 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 8010F174 0010C0D4 91 21 00 C4 */ stw r9, 0xc4(r1) +/* 8010F178 0010C0D8 90 A1 00 C8 */ stw r5, 0xc8(r1) +/* 8010F17C 0010C0DC 48 02 22 BD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 8010F180 0010C0E0 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 8010F184 0010C0E4 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha +/* 8010F188 0010C0E8 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l +/* 8010F18C 0010C0EC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 8010F190 0010C0F0 90 1F 01 90 */ stw r0, 0x190(r31) +/* 8010F194 0010C0F4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 8010F198 0010C0F8 80 A1 00 B4 */ lwz r5, 0xb4(r1) +/* 8010F19C 0010C0FC 80 61 00 B8 */ lwz r3, 0xb8(r1) +/* 8010F1A0 0010C100 90 BF 01 94 */ stw r5, 0x194(r31) +/* 8010F1A4 0010C104 80 A1 00 BC */ lwz r5, 0xbc(r1) +/* 8010F1A8 0010C108 90 7F 01 98 */ stw r3, 0x198(r31) +/* 8010F1AC 0010C10C 80 61 00 C0 */ lwz r3, 0xc0(r1) +/* 8010F1B0 0010C110 90 BF 01 9C */ stw r5, 0x19c(r31) +/* 8010F1B4 0010C114 80 A1 00 C4 */ lwz r5, 0xc4(r1) +/* 8010F1B8 0010C118 90 7F 01 A0 */ stw r3, 0x1a0(r31) +/* 8010F1BC 0010C11C 80 61 00 C8 */ lwz r3, 0xc8(r1) +/* 8010F1C0 0010C120 90 BF 01 A4 */ stw r5, 0x1a4(r31) +/* 8010F1C4 0010C124 90 81 00 AC */ stw r4, 0xac(r1) +/* 8010F1C8 0010C128 90 7F 01 A8 */ stw r3, 0x1a8(r31) +/* 8010F1CC 0010C12C 90 01 00 AC */ stw r0, 0xac(r1) +/* 8010F1D0 0010C130 48 00 01 CC */ b lbl_8010F39C +lbl_8010F1D4: +/* 8010F1D4 0010C134 80 08 02 B8 */ lwz r0, 0x2b8(r8) +/* 8010F1D8 0010C138 2C 00 00 0C */ cmpwi r0, 0xc +/* 8010F1DC 0010C13C 41 82 00 10 */ beq lbl_8010F1EC +/* 8010F1E0 0010C140 38 00 00 03 */ li r0, 3 +/* 8010F1E4 0010C144 90 1F 05 68 */ stw r0, 0x568(r31) +/* 8010F1E8 0010C148 48 00 01 B4 */ b lbl_8010F39C +lbl_8010F1EC: +/* 8010F1EC 0010C14C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8010F1F0 0010C150 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 8010F1F4 0010C154 C0 02 95 40 */ lfs f0, lbl_805AB260@sda21(r2) +/* 8010F1F8 0010C158 C0 23 00 04 */ lfs f1, 4(r3) +/* 8010F1FC 0010C15C EF E0 07 B2 */ fmuls f31, f0, f30 +/* 8010F200 0010C160 C0 03 00 08 */ lfs f0, 8(r3) +/* 8010F204 0010C164 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8010F208 0010C168 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 8010F20C 0010C16C D0 01 00 98 */ stfs f0, 0x98(r1) +/* 8010F210 0010C170 83 DD 08 38 */ lwz r30, 0x838(r29) +/* 8010F214 0010C174 AB BE 20 08 */ lha r29, 0x2008(r30) +/* 8010F218 0010C178 48 00 00 C8 */ b lbl_8010F2E0 +lbl_8010F21C: +/* 8010F21C 0010C17C 7F C3 F3 78 */ mr r3, r30 +/* 8010F220 0010C180 7F A4 EB 78 */ mr r4, r29 +/* 8010F224 0010C184 4B F0 0A B9 */ bl __vc__11CObjectListCFi +/* 8010F228 0010C188 7C 64 1B 78 */ mr r4, r3 +/* 8010F22C 0010C18C 38 61 00 0C */ addi r3, r1, 0xc +/* 8010F230 0010C190 4B F9 D8 2D */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 8010F234 0010C194 80 83 00 04 */ lwz r4, 4(r3) +/* 8010F238 0010C198 28 04 00 00 */ cmplwi r4, 0 +/* 8010F23C 0010C19C 41 82 00 88 */ beq lbl_8010F2C4 +/* 8010F240 0010C1A0 7C 04 F8 40 */ cmplw r4, r31 +/* 8010F244 0010C1A4 41 82 00 80 */ beq lbl_8010F2C4 +/* 8010F248 0010C1A8 80 64 00 04 */ lwz r3, 4(r4) +/* 8010F24C 0010C1AC 80 1F 00 04 */ lwz r0, 4(r31) +/* 8010F250 0010C1B0 7C 03 00 00 */ cmpw r3, r0 +/* 8010F254 0010C1B4 40 82 00 70 */ bne lbl_8010F2C4 +/* 8010F258 0010C1B8 C0 64 00 60 */ lfs f3, 0x60(r4) +/* 8010F25C 0010C1BC 7F E5 FB 78 */ mr r5, r31 +/* 8010F260 0010C1C0 C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8010F264 0010C1C4 38 61 00 48 */ addi r3, r1, 0x48 +/* 8010F268 0010C1C8 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8010F26C 0010C1CC 38 9F 04 5C */ addi r4, r31, 0x45c +/* 8010F270 0010C1D0 C0 22 95 40 */ lfs f1, lbl_805AB260@sda21(r2) +/* 8010F274 0010C1D4 38 C1 00 3C */ addi r6, r1, 0x3c +/* 8010F278 0010C1D8 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 8010F27C 0010C1DC D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8010F280 0010C1E0 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 8010F284 0010C1E4 48 02 F6 6D */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff +/* 8010F288 0010C1E8 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 8010F28C 0010C1EC C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8010F290 0010C1F0 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 8010F294 0010C1F4 EC BF 00 72 */ fmuls f5, f31, f1 +/* 8010F298 0010C1F8 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 8010F29C 0010C1FC EC 9F 00 32 */ fmuls f4, f31, f0 +/* 8010F2A0 0010C200 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 8010F2A4 0010C204 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 8010F2A8 0010C208 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 8010F2AC 0010C20C EC 21 28 2A */ fadds f1, f1, f5 +/* 8010F2B0 0010C210 EC 43 10 2A */ fadds f2, f3, f2 +/* 8010F2B4 0010C214 EC 00 20 2A */ fadds f0, f0, f4 +/* 8010F2B8 0010C218 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 8010F2BC 0010C21C D0 41 00 90 */ stfs f2, 0x90(r1) +/* 8010F2C0 0010C220 D0 01 00 98 */ stfs f0, 0x98(r1) +lbl_8010F2C4: +/* 8010F2C4 0010C224 2C 1D FF FF */ cmpwi r29, -1 +/* 8010F2C8 0010C228 41 82 00 14 */ beq lbl_8010F2DC +/* 8010F2CC 0010C22C 57 A3 18 38 */ slwi r3, r29, 3 +/* 8010F2D0 0010C230 38 03 00 08 */ addi r0, r3, 8 +/* 8010F2D4 0010C234 7F BE 02 AE */ lhax r29, r30, r0 +/* 8010F2D8 0010C238 48 00 00 08 */ b lbl_8010F2E0 +lbl_8010F2DC: +/* 8010F2DC 0010C23C 3B A0 FF FF */ li r29, -1 +lbl_8010F2E0: +/* 8010F2E0 0010C240 2C 1D FF FF */ cmpwi r29, -1 +/* 8010F2E4 0010C244 40 82 FF 38 */ bne lbl_8010F21C +/* 8010F2E8 0010C248 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8010F2EC 0010C24C 38 00 00 00 */ li r0, 0 +/* 8010F2F0 0010C250 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 8010F2F4 0010C254 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010F2F8 0010C258 40 82 00 1C */ bne lbl_8010F314 +/* 8010F2FC 0010C25C C0 01 00 94 */ lfs f0, 0x94(r1) +/* 8010F300 0010C260 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010F304 0010C264 40 82 00 10 */ bne lbl_8010F314 +/* 8010F308 0010C268 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 8010F30C 0010C26C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8010F310 0010C270 41 82 00 08 */ beq lbl_8010F318 +lbl_8010F314: +/* 8010F314 0010C274 38 00 00 01 */ li r0, 1 +lbl_8010F318: +/* 8010F318 0010C278 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 8010F31C 0010C27C 41 82 00 80 */ beq lbl_8010F39C +/* 8010F320 0010C280 FC 20 F0 90 */ fmr f1, f30 +/* 8010F324 0010C284 7F E4 FB 78 */ mr r4, r31 +/* 8010F328 0010C288 38 61 00 30 */ addi r3, r1, 0x30 +/* 8010F32C 0010C28C 38 A1 00 90 */ addi r5, r1, 0x90 +/* 8010F330 0010C290 48 00 BC D9 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff +/* 8010F334 0010C294 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 8010F338 0010C298 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 8010F33C 0010C29C C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8010F340 0010C2A0 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 8010F344 0010C2A4 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8010F348 0010C2A8 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 8010F34C 0010C2AC 4B F0 C1 E9 */ bl Identity__10CAxisAngleFv +/* 8010F350 0010C2B0 7C 65 1B 78 */ mr r5, r3 +/* 8010F354 0010C2B4 7F E3 FB 78 */ mr r3, r31 +/* 8010F358 0010C2B8 38 81 00 84 */ addi r4, r1, 0x84 +/* 8010F35C 0010C2BC 48 00 D0 3D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 8010F360 0010C2C0 48 00 00 3C */ b lbl_8010F39C +lbl_8010F364: +/* 8010F364 0010C2C4 88 1F 07 2E */ lbz r0, 0x72e(r31) +/* 8010F368 0010C2C8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8010F36C 0010C2CC 41 82 00 30 */ beq lbl_8010F39C +/* 8010F370 0010C2D0 7F A6 EB 78 */ mr r6, r29 +/* 8010F374 0010C2D4 38 80 00 21 */ li r4, 0x21 +/* 8010F378 0010C2D8 38 A0 00 13 */ li r5, 0x13 +/* 8010F37C 0010C2DC 4B F4 4F 39 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 8010F380 0010C2E0 88 1F 03 28 */ lbz r0, 0x328(r31) +/* 8010F384 0010C2E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8010F388 0010C2E8 41 82 00 14 */ beq lbl_8010F39C +/* 8010F38C 0010C2EC 88 1F 04 01 */ lbz r0, 0x401(r31) +/* 8010F390 0010C2F0 38 60 00 01 */ li r3, 1 +/* 8010F394 0010C2F4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 8010F398 0010C2F8 98 1F 04 01 */ stb r0, 0x401(r31) +lbl_8010F39C: +/* 8010F39C 0010C2FC E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 8010F3A0 0010C300 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 8010F3A4 0010C304 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 8010F3A8 0010C308 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 8010F3AC 0010C30C 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 8010F3B0 0010C310 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 8010F3B4 0010C314 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8010F3B8 0010C318 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 8010F3BC 0010C31C 7C 08 03 A6 */ mtlr r0 +/* 8010F3C0 0010C320 38 21 01 30 */ addi r1, r1, 0x130 +/* 8010F3C4 0010C324 4E 80 00 20 */ blr + +.global AnimOver__8CWarWaspFR13CStateManagerf +AnimOver__8CWarWaspFR13CStateManagerf: +/* 8010F3C8 0010C328 80 03 05 68 */ lwz r0, 0x568(r3) +/* 8010F3CC 0010C32C 20 00 00 03 */ subfic r0, r0, 3 +/* 8010F3D0 0010C330 7C 00 00 34 */ cntlzw r0, r0 +/* 8010F3D4 0010C334 54 03 D9 7E */ srwi r3, r0, 5 +/* 8010F3D8 0010C338 4E 80 00 20 */ blr + +.global InPosition__8CWarWaspFR13CStateManagerf +InPosition__8CWarWaspFR13CStateManagerf: +/* 8010F3DC 0010C33C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8010F3E0 0010C340 7C 08 02 A6 */ mflr r0 +/* 8010F3E4 0010C344 90 01 00 14 */ stw r0, 0x14(r1) +/* 8010F3E8 0010C348 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8010F3EC 0010C34C 7C 7F 1B 78 */ mr r31, r3 +/* 8010F3F0 0010C350 81 83 00 00 */ lwz r12, 0(r3) +/* 8010F3F4 0010C354 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010F3F8 0010C358 7D 89 03 A6 */ mtctr r12 +/* 8010F3FC 0010C35C 4E 80 04 21 */ bctrl +/* 8010F400 0010C360 28 03 00 00 */ cmplwi r3, 0 +/* 8010F404 0010C364 41 82 00 38 */ beq lbl_8010F43C +/* 8010F408 0010C368 7F E3 FB 78 */ mr r3, r31 +/* 8010F40C 0010C36C 81 9F 00 00 */ lwz r12, 0(r31) +/* 8010F410 0010C370 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8010F414 0010C374 7D 89 03 A6 */ mtctr r12 +/* 8010F418 0010C378 4E 80 04 21 */ bctrl +/* 8010F41C 0010C37C 80 A3 00 C8 */ lwz r5, 0xc8(r3) +/* 8010F420 0010C380 80 63 00 04 */ lwz r3, 4(r3) +/* 8010F424 0010C384 7C A4 FE 70 */ srawi r4, r5, 0x1f +/* 8010F428 0010C388 38 03 FF FF */ addi r0, r3, -1 +/* 8010F42C 0010C38C 54 03 0F FE */ srwi r3, r0, 0x1f +/* 8010F430 0010C390 7C 00 28 10 */ subfc r0, r0, r5 +/* 8010F434 0010C394 7C 64 19 14 */ adde r3, r4, r3 +/* 8010F438 0010C398 48 00 00 44 */ b lbl_8010F47C +lbl_8010F43C: +/* 8010F43C 0010C39C C0 3F 06 7C */ lfs f1, 0x67c(r31) +/* 8010F440 0010C3A0 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 8010F444 0010C3A4 C0 7F 06 78 */ lfs f3, 0x678(r31) +/* 8010F448 0010C3A8 EC 21 00 28 */ fsubs f1, f1, f0 +/* 8010F44C 0010C3AC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 8010F450 0010C3B0 C0 5F 06 80 */ lfs f2, 0x680(r31) +/* 8010F454 0010C3B4 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8010F458 0010C3B8 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 8010F45C 0010C3BC EC 21 00 72 */ fmuls f1, f1, f1 +/* 8010F460 0010C3C0 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8010F464 0010C3C4 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8010F468 0010C3C8 EC 23 08 FA */ fmadds f1, f3, f3, f1 +/* 8010F46C 0010C3CC EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8010F470 0010C3D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010F474 0010C3D4 7C 00 00 26 */ mfcr r0 +/* 8010F478 0010C3D8 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_8010F47C: +/* 8010F47C 0010C3DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8010F480 0010C3E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8010F484 0010C3E4 7C 08 03 A6 */ mtlr r0 +/* 8010F488 0010C3E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8010F48C 0010C3EC 4E 80 00 20 */ blr + +.global Leash__8CWarWaspFR13CStateManagerf +Leash__8CWarWaspFR13CStateManagerf: +/* 8010F490 0010C3F0 C0 C3 00 50 */ lfs f6, 0x50(r3) +/* 8010F494 0010C3F4 C0 03 03 A4 */ lfs f0, 0x3a4(r3) +/* 8010F498 0010C3F8 C0 43 03 C8 */ lfs f2, 0x3c8(r3) +/* 8010F49C 0010C3FC EC 60 30 28 */ fsubs f3, f0, f6 +/* 8010F4A0 0010C400 C0 E3 00 40 */ lfs f7, 0x40(r3) +/* 8010F4A4 0010C404 C0 23 03 A0 */ lfs f1, 0x3a0(r3) +/* 8010F4A8 0010C408 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 8010F4AC 0010C40C C0 A3 00 60 */ lfs f5, 0x60(r3) +/* 8010F4B0 0010C410 C0 43 03 A8 */ lfs f2, 0x3a8(r3) +/* 8010F4B4 0010C414 EC 81 38 28 */ fsubs f4, f1, f7 +/* 8010F4B8 0010C418 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 8010F4BC 0010C41C EC 42 28 28 */ fsubs f2, f2, f5 +/* 8010F4C0 0010C420 EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 8010F4C4 0010C424 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8010F4C8 0010C428 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010F4CC 0010C42C 40 81 00 5C */ ble lbl_8010F528 +/* 8010F4D0 0010C430 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8010F4D4 0010C434 38 00 00 00 */ li r0, 0 +/* 8010F4D8 0010C438 C0 03 03 CC */ lfs f0, 0x3cc(r3) +/* 8010F4DC 0010C43C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 8010F4E0 0010C440 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 8010F4E4 0010C444 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8010F4E8 0010C448 EC 61 30 28 */ fsubs f3, f1, f6 +/* 8010F4EC 0010C44C C0 24 00 60 */ lfs f1, 0x60(r4) +/* 8010F4F0 0010C450 EC 82 38 28 */ fsubs f4, f2, f7 +/* 8010F4F4 0010C454 EC 41 28 28 */ fsubs f2, f1, f5 +/* 8010F4F8 0010C458 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 8010F4FC 0010C45C EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 8010F500 0010C460 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8010F504 0010C464 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010F508 0010C468 40 81 00 18 */ ble lbl_8010F520 +/* 8010F50C 0010C46C C0 23 03 D4 */ lfs f1, 0x3d4(r3) +/* 8010F510 0010C470 C0 03 03 D0 */ lfs f0, 0x3d0(r3) +/* 8010F514 0010C474 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010F518 0010C478 40 81 00 08 */ ble lbl_8010F520 +/* 8010F51C 0010C47C 38 00 00 01 */ li r0, 1 +lbl_8010F520: +/* 8010F520 0010C480 7C 03 03 78 */ mr r3, r0 +/* 8010F524 0010C484 4E 80 00 20 */ blr +lbl_8010F528: +/* 8010F528 0010C488 38 60 00 00 */ li r3, 0 +/* 8010F52C 0010C48C 4E 80 00 20 */ blr + +.global ShouldDodge__8CWarWaspFR13CStateManagerf +ShouldDodge__8CWarWaspFR13CStateManagerf: +/* 8010F530 0010C490 94 21 F7 50 */ stwu r1, -0x8b0(r1) +/* 8010F534 0010C494 7C 08 02 A6 */ mflr r0 +/* 8010F538 0010C498 C0 A2 95 18 */ lfs f5, lbl_805AB238@sda21(r2) +/* 8010F53C 0010C49C 90 01 08 B4 */ stw r0, 0x8b4(r1) +/* 8010F540 0010C4A0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8010F544 0010C4A4 93 E1 08 AC */ stw r31, 0x8ac(r1) +/* 8010F548 0010C4A8 7C 9F 23 78 */ mr r31, r4 +/* 8010F54C 0010C4AC 38 81 00 20 */ addi r4, r1, 0x20 +/* 8010F550 0010C4B0 93 C1 08 A8 */ stw r30, 0x8a8(r1) +/* 8010F554 0010C4B4 7C 7E 1B 78 */ mr r30, r3 +/* 8010F558 0010C4B8 93 A1 08 A4 */ stw r29, 0x8a4(r1) +/* 8010F55C 0010C4BC 93 81 08 A0 */ stw r28, 0x8a0(r1) +/* 8010F560 0010C4C0 C0 E3 00 60 */ lfs f7, 0x60(r3) +/* 8010F564 0010C4C4 38 61 00 78 */ addi r3, r1, 0x78 +/* 8010F568 0010C4C8 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 8010F56C 0010C4CC EC 07 28 2A */ fadds f0, f7, f5 +/* 8010F570 0010C4D0 C0 DE 00 50 */ lfs f6, 0x50(r30) +/* 8010F574 0010C4D4 EC 81 28 2A */ fadds f4, f1, f5 +/* 8010F578 0010C4D8 EC 41 28 28 */ fsubs f2, f1, f5 +/* 8010F57C 0010C4DC EC 66 28 2A */ fadds f3, f6, f5 +/* 8010F580 0010C4E0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8010F584 0010C4E4 EC 26 28 28 */ fsubs f1, f6, f5 +/* 8010F588 0010C4E8 EC 07 28 28 */ fsubs f0, f7, f5 +/* 8010F58C 0010C4EC D0 81 00 14 */ stfs f4, 0x14(r1) +/* 8010F590 0010C4F0 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8010F594 0010C4F4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8010F598 0010C4F8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8010F59C 0010C4FC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8010F5A0 0010C500 48 22 8F 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8010F5A4 0010C504 38 00 00 00 */ li r0, 0 +/* 8010F5A8 0010C508 80 AD 8A 18 */ lwz r5, lbl_805A75D8@sda21(r13) +/* 8010F5AC 0010C50C 90 01 00 90 */ stw r0, 0x90(r1) +/* 8010F5B0 0010C510 38 60 00 00 */ li r3, 0 +/* 8010F5B4 0010C514 38 80 00 01 */ li r4, 1 +/* 8010F5B8 0010C518 48 27 A9 3D */ bl __shl2i +/* 8010F5BC 0010C51C 39 00 00 01 */ li r8, 1 +/* 8010F5C0 0010C520 38 00 00 00 */ li r0, 0 +/* 8010F5C4 0010C524 90 81 00 64 */ stw r4, 0x64(r1) +/* 8010F5C8 0010C528 38 81 00 90 */ addi r4, r1, 0x90 +/* 8010F5CC 0010C52C 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8010F5D0 0010C530 38 C1 00 60 */ addi r6, r1, 0x60 +/* 8010F5D4 0010C534 90 61 00 60 */ stw r3, 0x60(r1) +/* 8010F5D8 0010C538 7F E3 FB 78 */ mr r3, r31 +/* 8010F5DC 0010C53C 38 E0 00 00 */ li r7, 0 +/* 8010F5E0 0010C540 91 01 00 58 */ stw r8, 0x58(r1) +/* 8010F5E4 0010C544 90 01 00 6C */ stw r0, 0x6c(r1) +/* 8010F5E8 0010C548 90 01 00 68 */ stw r0, 0x68(r1) +/* 8010F5EC 0010C54C 91 01 00 70 */ stw r8, 0x70(r1) +/* 8010F5F0 0010C550 4B F3 D1 31 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 8010F5F4 0010C554 80 01 00 90 */ lwz r0, 0x90(r1) +/* 8010F5F8 0010C558 2C 00 00 00 */ cmpwi r0, 0 +/* 8010F5FC 0010C55C 40 81 01 64 */ ble lbl_8010F760 +/* 8010F600 0010C560 C0 5E 00 58 */ lfs f2, 0x58(r30) +/* 8010F604 0010C564 3B A1 00 94 */ addi r29, r1, 0x94 +/* 8010F608 0010C568 C0 3E 00 48 */ lfs f1, 0x48(r30) +/* 8010F60C 0010C56C 7F BC EB 78 */ mr r28, r29 +/* 8010F610 0010C570 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 8010F614 0010C574 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8010F618 0010C578 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 8010F61C 0010C57C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8010F620 0010C580 48 00 01 2C */ b lbl_8010F74C +lbl_8010F624: +/* 8010F624 0010C584 A0 1C 00 00 */ lhz r0, 0(r28) +/* 8010F628 0010C588 7F E3 FB 78 */ mr r3, r31 +/* 8010F62C 0010C58C 38 81 00 08 */ addi r4, r1, 8 +/* 8010F630 0010C590 B0 01 00 08 */ sth r0, 8(r1) +/* 8010F634 0010C594 4B F3 CF 71 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010F638 0010C598 7C 64 1B 78 */ mr r4, r3 +/* 8010F63C 0010C59C 38 61 00 0C */ addi r3, r1, 0xc +/* 8010F640 0010C5A0 4B F9 E0 CD */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" +/* 8010F644 0010C5A4 80 A3 00 04 */ lwz r5, 4(r3) +/* 8010F648 0010C5A8 28 05 00 00 */ cmplwi r5, 0 +/* 8010F64C 0010C5AC 41 82 00 FC */ beq lbl_8010F748 +/* 8010F650 0010C5B0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8010F654 0010C5B4 A0 85 00 EC */ lhz r4, 0xec(r5) +/* 8010F658 0010C5B8 A0 03 00 08 */ lhz r0, 8(r3) +/* 8010F65C 0010C5BC 7C 04 00 40 */ cmplw r4, r0 +/* 8010F660 0010C5C0 40 82 00 E8 */ bne lbl_8010F748 +/* 8010F664 0010C5C4 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 8010F668 0010C5C8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8010F66C 0010C5CC C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8010F670 0010C5D0 38 81 00 2C */ addi r4, r1, 0x2c +/* 8010F674 0010C5D4 C0 65 00 60 */ lfs f3, 0x60(r5) +/* 8010F678 0010C5D8 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8010F67C 0010C5DC EC 81 00 28 */ fsubs f4, f1, f0 +/* 8010F680 0010C5E0 C0 25 00 40 */ lfs f1, 0x40(r5) +/* 8010F684 0010C5E4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8010F688 0010C5E8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8010F68C 0010C5EC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010F690 0010C5F0 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8010F694 0010C5F4 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8010F698 0010C5F8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8010F69C 0010C5FC 48 20 4F 95 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 8010F6A0 0010C600 C0 02 95 4C */ lfs f0, lbl_805AB26C@sda21(r2) +/* 8010F6A4 0010C604 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010F6A8 0010C608 40 80 00 A0 */ bge lbl_8010F748 +/* 8010F6AC 0010C60C C0 3E 00 44 */ lfs f1, 0x44(r30) +/* 8010F6B0 0010C610 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8010F6B4 0010C614 C0 5E 00 34 */ lfs f2, 0x34(r30) +/* 8010F6B8 0010C618 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8010F6BC 0010C61C C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8010F6C0 0010C620 C0 9E 00 54 */ lfs f4, 0x54(r30) +/* 8010F6C4 0010C624 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 8010F6C8 0010C628 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 8010F6CC 0010C62C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010F6D0 0010C630 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 8010F6D4 0010C634 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010F6D8 0010C638 40 81 00 0C */ ble lbl_8010F6E4 +/* 8010F6DC 0010C63C 38 00 00 03 */ li r0, 3 +/* 8010F6E0 0010C640 48 00 00 08 */ b lbl_8010F6E8 +lbl_8010F6E4: +/* 8010F6E4 0010C644 38 00 00 02 */ li r0, 2 +lbl_8010F6E8: +/* 8010F6E8 0010C648 90 1E 07 04 */ stw r0, 0x704(r30) +/* 8010F6EC 0010C64C 38 60 00 00 */ li r3, 0 +/* 8010F6F0 0010C650 80 A1 00 90 */ lwz r5, 0x90(r1) +/* 8010F6F4 0010C654 2C 05 00 00 */ cmpwi r5, 0 +/* 8010F6F8 0010C658 40 81 00 40 */ ble lbl_8010F738 +/* 8010F6FC 0010C65C 2C 05 00 08 */ cmpwi r5, 8 +/* 8010F700 0010C660 38 85 FF F8 */ addi r4, r5, -8 +/* 8010F704 0010C664 40 81 00 20 */ ble lbl_8010F724 +/* 8010F708 0010C668 38 04 00 07 */ addi r0, r4, 7 +/* 8010F70C 0010C66C 54 00 E8 FE */ srwi r0, r0, 3 +/* 8010F710 0010C670 7C 09 03 A6 */ mtctr r0 +/* 8010F714 0010C674 2C 04 00 00 */ cmpwi r4, 0 +/* 8010F718 0010C678 40 81 00 0C */ ble lbl_8010F724 +lbl_8010F71C: +/* 8010F71C 0010C67C 38 63 00 08 */ addi r3, r3, 8 +/* 8010F720 0010C680 42 00 FF FC */ bdnz lbl_8010F71C +lbl_8010F724: +/* 8010F724 0010C684 7C 03 28 50 */ subf r0, r3, r5 +/* 8010F728 0010C688 7C 09 03 A6 */ mtctr r0 +/* 8010F72C 0010C68C 7C 03 28 00 */ cmpw r3, r5 +/* 8010F730 0010C690 40 80 00 08 */ bge lbl_8010F738 +lbl_8010F734: +/* 8010F734 0010C694 42 00 00 00 */ bdnz lbl_8010F734 +lbl_8010F738: +/* 8010F738 0010C698 38 00 00 00 */ li r0, 0 +/* 8010F73C 0010C69C 38 60 00 01 */ li r3, 1 +/* 8010F740 0010C6A0 90 01 00 90 */ stw r0, 0x90(r1) +/* 8010F744 0010C6A4 48 00 00 74 */ b lbl_8010F7B8 +lbl_8010F748: +/* 8010F748 0010C6A8 3B 9C 00 02 */ addi r28, r28, 2 +lbl_8010F74C: +/* 8010F74C 0010C6AC 80 01 00 90 */ lwz r0, 0x90(r1) +/* 8010F750 0010C6B0 54 00 08 3C */ slwi r0, r0, 1 +/* 8010F754 0010C6B4 7C 1D 02 14 */ add r0, r29, r0 +/* 8010F758 0010C6B8 7C 1C 00 40 */ cmplw r28, r0 +/* 8010F75C 0010C6BC 40 82 FE C8 */ bne lbl_8010F624 +lbl_8010F760: +/* 8010F760 0010C6C0 80 A1 00 90 */ lwz r5, 0x90(r1) +/* 8010F764 0010C6C4 38 60 00 00 */ li r3, 0 +/* 8010F768 0010C6C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8010F76C 0010C6CC 40 81 00 40 */ ble lbl_8010F7AC +/* 8010F770 0010C6D0 2C 05 00 08 */ cmpwi r5, 8 +/* 8010F774 0010C6D4 38 85 FF F8 */ addi r4, r5, -8 +/* 8010F778 0010C6D8 40 81 00 20 */ ble lbl_8010F798 +/* 8010F77C 0010C6DC 38 04 00 07 */ addi r0, r4, 7 +/* 8010F780 0010C6E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 8010F784 0010C6E4 7C 09 03 A6 */ mtctr r0 +/* 8010F788 0010C6E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8010F78C 0010C6EC 40 81 00 0C */ ble lbl_8010F798 +lbl_8010F790: +/* 8010F790 0010C6F0 38 63 00 08 */ addi r3, r3, 8 +/* 8010F794 0010C6F4 42 00 FF FC */ bdnz lbl_8010F790 +lbl_8010F798: +/* 8010F798 0010C6F8 7C 03 28 50 */ subf r0, r3, r5 +/* 8010F79C 0010C6FC 7C 09 03 A6 */ mtctr r0 +/* 8010F7A0 0010C700 7C 03 28 00 */ cmpw r3, r5 +/* 8010F7A4 0010C704 40 80 00 08 */ bge lbl_8010F7AC +lbl_8010F7A8: +/* 8010F7A8 0010C708 42 00 00 00 */ bdnz lbl_8010F7A8 +lbl_8010F7AC: +/* 8010F7AC 0010C70C 38 00 00 00 */ li r0, 0 +/* 8010F7B0 0010C710 38 60 00 00 */ li r3, 0 +/* 8010F7B4 0010C714 90 01 00 90 */ stw r0, 0x90(r1) +lbl_8010F7B8: +/* 8010F7B8 0010C718 80 01 08 B4 */ lwz r0, 0x8b4(r1) +/* 8010F7BC 0010C71C 83 E1 08 AC */ lwz r31, 0x8ac(r1) +/* 8010F7C0 0010C720 83 C1 08 A8 */ lwz r30, 0x8a8(r1) +/* 8010F7C4 0010C724 83 A1 08 A4 */ lwz r29, 0x8a4(r1) +/* 8010F7C8 0010C728 83 81 08 A0 */ lwz r28, 0x8a0(r1) +/* 8010F7CC 0010C72C 7C 08 03 A6 */ mtlr r0 +/* 8010F7D0 0010C730 38 21 08 B0 */ addi r1, r1, 0x8b0 +/* 8010F7D4 0010C734 4E 80 00 20 */ blr + +.global ShouldTurn__8CWarWaspFR13CStateManagerf +ShouldTurn__8CWarWaspFR13CStateManagerf: +/* 8010F7D8 0010C738 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8010F7DC 0010C73C 7C 08 02 A6 */ mflr r0 +/* 8010F7E0 0010C740 90 01 00 74 */ stw r0, 0x74(r1) +/* 8010F7E4 0010C744 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 8010F7E8 0010C748 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 8010F7EC 0010C74C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8010F7F0 0010C750 80 84 08 4C */ lwz r4, 0x84c(r4) +/* 8010F7F4 0010C754 7C 7F 1B 78 */ mr r31, r3 +/* 8010F7F8 0010C758 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8010F7FC 0010C75C FF E0 08 90 */ fmr f31, f1 +/* 8010F800 0010C760 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 8010F804 0010C764 38 61 00 10 */ addi r3, r1, 0x10 +/* 8010F808 0010C768 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8010F80C 0010C76C C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 8010F810 0010C770 EC 44 10 28 */ fsubs f2, f4, f2 +/* 8010F814 0010C774 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 8010F818 0010C778 C0 7F 00 60 */ lfs f3, 0x60(r31) +/* 8010F81C 0010C77C EC 20 08 28 */ fsubs f1, f0, f1 +/* 8010F820 0010C780 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8010F824 0010C784 EC 65 18 28 */ fsubs f3, f5, f3 +/* 8010F828 0010C788 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 8010F82C 0010C78C D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 8010F830 0010C790 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8010F834 0010C794 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 8010F838 0010C798 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8010F83C 0010C79C 48 20 49 C5 */ bl __ct__9CVector2fFff +/* 8010F840 0010C7A0 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 8010F844 0010C7A4 38 61 00 08 */ addi r3, r1, 8 +/* 8010F848 0010C7A8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 8010F84C 0010C7AC D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8010F850 0010C7B0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8010F854 0010C7B4 C0 5F 00 48 */ lfs f2, 0x48(r31) +/* 8010F858 0010C7B8 C0 3F 00 38 */ lfs f1, 0x38(r31) +/* 8010F85C 0010C7BC C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 8010F860 0010C7C0 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8010F864 0010C7C4 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 8010F868 0010C7C8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8010F86C 0010C7CC 48 20 49 95 */ bl __ct__9CVector2fFff +/* 8010F870 0010C7D0 C0 21 00 08 */ lfs f1, 8(r1) +/* 8010F874 0010C7D4 38 61 00 18 */ addi r3, r1, 0x18 +/* 8010F878 0010C7D8 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 8010F87C 0010C7DC 38 81 00 20 */ addi r4, r1, 0x20 +/* 8010F880 0010C7E0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 8010F884 0010C7E4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8010F888 0010C7E8 48 20 47 3D */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f +/* 8010F88C 0010C7EC C0 02 95 54 */ lfs f0, lbl_805AB274@sda21(r2) +/* 8010F890 0010C7F0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 8010F894 0010C7F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010F898 0010C7F8 7C 00 00 26 */ mfcr r0 +/* 8010F89C 0010C7FC 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 8010F8A0 0010C800 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 8010F8A4 0010C804 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8010F8A8 0010C808 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 8010F8AC 0010C80C 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8010F8B0 0010C810 7C 08 03 A6 */ mtlr r0 +/* 8010F8B4 0010C814 38 21 00 70 */ addi r1, r1, 0x70 +/* 8010F8B8 0010C818 4E 80 00 20 */ blr + +.global ShouldSpecialAttack__8CWarWaspFR13CStateManagerf +ShouldSpecialAttack__8CWarWaspFR13CStateManagerf: +/* 8010F8BC 0010C81C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 8010F8C0 0010C820 7C 08 02 A6 */ mflr r0 +/* 8010F8C4 0010C824 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 8010F8C8 0010C828 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8010F8CC 0010C82C 7C 9F 23 78 */ mr r31, r4 +/* 8010F8D0 0010C830 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8010F8D4 0010C834 7C 7E 1B 78 */ mr r30, r3 +/* 8010F8D8 0010C838 80 03 07 08 */ lwz r0, 0x708(r3) +/* 8010F8DC 0010C83C 2C 00 00 00 */ cmpwi r0, 0 +/* 8010F8E0 0010C840 40 82 02 88 */ bne lbl_8010FB68 +/* 8010F8E4 0010C844 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8010F8E8 0010C848 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 8010F8EC 0010C84C 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8010F8F0 0010C850 40 82 02 78 */ bne lbl_8010FB68 +/* 8010F8F4 0010C854 A0 1E 06 74 */ lhz r0, 0x674(r30) +/* 8010F8F8 0010C858 7F E3 FB 78 */ mr r3, r31 +/* 8010F8FC 0010C85C 38 81 00 28 */ addi r4, r1, 0x28 +/* 8010F900 0010C860 B0 01 00 28 */ sth r0, 0x28(r1) +/* 8010F904 0010C864 4B F3 CC A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010F908 0010C868 7C 64 1B 78 */ mr r4, r3 +/* 8010F90C 0010C86C 38 61 00 3C */ addi r3, r1, 0x3c +/* 8010F910 0010C870 4B F9 7C 65 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010F914 0010C874 80 03 00 04 */ lwz r0, 4(r3) +/* 8010F918 0010C878 28 00 00 00 */ cmplwi r0, 0 +/* 8010F91C 0010C87C 41 82 02 4C */ beq lbl_8010FB68 +/* 8010F920 0010C880 80 BE 07 08 */ lwz r5, 0x708(r30) +/* 8010F924 0010C884 7F C3 F3 78 */ mr r3, r30 +/* 8010F928 0010C888 7F E4 FB 78 */ mr r4, r31 +/* 8010F92C 0010C88C 4B FF BB 05 */ bl CheckCircleAttackSpread__8CWarWaspFR13CStateManageri +/* 8010F930 0010C890 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010F934 0010C894 41 82 02 34 */ beq lbl_8010FB68 +/* 8010F938 0010C898 80 DE 07 08 */ lwz r6, 0x708(r30) +/* 8010F93C 0010C89C 7F C4 F3 78 */ mr r4, r30 +/* 8010F940 0010C8A0 7F E5 FB 78 */ mr r5, r31 +/* 8010F944 0010C8A4 38 61 00 24 */ addi r3, r1, 0x24 +/* 8010F948 0010C8A8 4B FF B7 41 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri +/* 8010F94C 0010C8AC A0 61 00 24 */ lhz r3, 0x24(r1) +/* 8010F950 0010C8B0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8010F954 0010C8B4 B0 61 00 2C */ sth r3, 0x2c(r1) +/* 8010F958 0010C8B8 7C 03 00 40 */ cmplw r3, r0 +/* 8010F95C 0010C8BC 40 82 01 AC */ bne lbl_8010FB08 +/* 8010F960 0010C8C0 C0 3E 07 00 */ lfs f1, 0x700(r30) +/* 8010F964 0010C8C4 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010F968 0010C8C8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010F96C 0010C8CC 4C 40 13 82 */ cror 2, 0, 2 +/* 8010F970 0010C8D0 40 82 01 F8 */ bne lbl_8010FB68 +/* 8010F974 0010C8D4 C0 3E 06 B0 */ lfs f1, 0x6b0(r30) +/* 8010F978 0010C8D8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8010F97C 0010C8DC C0 5E 06 B4 */ lfs f2, 0x6b4(r30) +/* 8010F980 0010C8E0 48 20 48 81 */ bl __ct__9CVector2fFff +/* 8010F984 0010C8E4 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8010F988 0010C8E8 38 61 00 4C */ addi r3, r1, 0x4c +/* 8010F98C 0010C8EC C0 44 00 50 */ lfs f2, 0x50(r4) +/* 8010F990 0010C8F0 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 8010F994 0010C8F4 C0 04 00 60 */ lfs f0, 0x60(r4) +/* 8010F998 0010C8F8 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 8010F99C 0010C8FC D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 8010F9A0 0010C900 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8010F9A4 0010C904 48 20 48 5D */ bl __ct__9CVector2fFff +/* 8010F9A8 0010C908 38 61 00 54 */ addi r3, r1, 0x54 +/* 8010F9AC 0010C90C 38 81 00 4C */ addi r4, r1, 0x4c +/* 8010F9B0 0010C910 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8010F9B4 0010C914 48 20 45 85 */ bl __mi__FRC9CVector2fRC9CVector2f +/* 8010F9B8 0010C918 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 8010F9BC 0010C91C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8010F9C0 0010C920 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8010F9C4 0010C924 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 8010F9C8 0010C928 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8010F9CC 0010C92C 48 20 47 11 */ bl MagSquared__9CVector2fCFv +/* 8010F9D0 0010C930 C0 02 95 58 */ lfs f0, lbl_805AB278@sda21(r2) +/* 8010F9D4 0010C934 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010F9D8 0010C938 40 80 01 90 */ bge lbl_8010FB68 +/* 8010F9DC 0010C93C C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8010F9E0 0010C940 C0 3E 06 B4 */ lfs f1, 0x6b4(r30) +/* 8010F9E4 0010C944 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8010F9E8 0010C948 C0 1E 06 B8 */ lfs f0, 0x6b8(r30) +/* 8010F9EC 0010C94C EC 82 08 28 */ fsubs f4, f2, f1 +/* 8010F9F0 0010C950 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 8010F9F4 0010C954 C0 3E 06 B0 */ lfs f1, 0x6b0(r30) +/* 8010F9F8 0010C958 EC 63 00 28 */ fsubs f3, f3, f0 +/* 8010F9FC 0010C95C C0 02 95 5C */ lfs f0, lbl_805AB27C@sda21(r2) +/* 8010FA00 0010C960 EC 22 08 28 */ fsubs f1, f2, f1 +/* 8010FA04 0010C964 D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 8010FA08 0010C968 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 8010FA0C 0010C96C D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 8010FA10 0010C970 C0 3E 06 BC */ lfs f1, 0x6bc(r30) +/* 8010FA14 0010C974 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 8010FA18 0010C978 C0 3E 06 C0 */ lfs f1, 0x6c0(r30) +/* 8010FA1C 0010C97C D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8010FA20 0010C980 C0 3E 06 C4 */ lfs f1, 0x6c4(r30) +/* 8010FA24 0010C984 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8010FA28 0010C988 C0 3E 07 18 */ lfs f1, 0x718(r30) +/* 8010FA2C 0010C98C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010FA30 0010C990 4C 40 13 82 */ cror 2, 0, 2 +/* 8010FA34 0010C994 40 82 00 38 */ bne lbl_8010FA6C +/* 8010FA38 0010C998 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 8010FA3C 0010C99C 38 61 00 7C */ addi r3, r1, 0x7c +/* 8010FA40 0010C9A0 38 9E 06 C8 */ addi r4, r30, 0x6c8 +/* 8010FA44 0010C9A4 38 BE 06 BC */ addi r5, r30, 0x6bc +/* 8010FA48 0010C9A8 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8010FA4C 0010C9AC 48 20 4F 09 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle +/* 8010FA50 0010C9B0 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 8010FA54 0010C9B4 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 8010FA58 0010C9B8 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 8010FA5C 0010C9BC D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8010FA60 0010C9C0 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8010FA64 0010C9C4 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8010FA68 0010C9C8 48 00 00 5C */ b lbl_8010FAC4 +lbl_8010FA6C: +/* 8010FA6C 0010C9CC EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010FA70 0010C9D0 38 61 00 70 */ addi r3, r1, 0x70 +/* 8010FA74 0010C9D4 38 9E 06 BC */ addi r4, r30, 0x6bc +/* 8010FA78 0010C9D8 38 A1 00 64 */ addi r5, r1, 0x64 +/* 8010FA7C 0010C9DC 38 C1 00 34 */ addi r6, r1, 0x34 +/* 8010FA80 0010C9E0 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8010FA84 0010C9E4 C0 5E 06 D0 */ lfs f2, 0x6d0(r30) +/* 8010FA88 0010C9E8 C0 3E 06 CC */ lfs f1, 0x6cc(r30) +/* 8010FA8C 0010C9EC C0 1E 06 C8 */ lfs f0, 0x6c8(r30) +/* 8010FA90 0010C9F0 FC 40 10 50 */ fneg f2, f2 +/* 8010FA94 0010C9F4 FC 20 08 50 */ fneg f1, f1 +/* 8010FA98 0010C9F8 FC 00 00 50 */ fneg f0, f0 +/* 8010FA9C 0010C9FC D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 8010FAA0 0010CA00 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 8010FAA4 0010CA04 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 8010FAA8 0010CA08 48 20 4E AD */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle +/* 8010FAAC 0010CA0C C0 41 00 70 */ lfs f2, 0x70(r1) +/* 8010FAB0 0010CA10 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 8010FAB4 0010CA14 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 8010FAB8 0010CA18 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8010FABC 0010CA1C D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8010FAC0 0010CA20 D0 01 00 9C */ stfs f0, 0x9c(r1) +lbl_8010FAC4: +/* 8010FAC4 0010CA24 38 61 00 94 */ addi r3, r1, 0x94 +/* 8010FAC8 0010CA28 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 8010FACC 0010CA2C 48 20 4B 65 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f +/* 8010FAD0 0010CA30 C0 02 94 E8 */ lfs f0, lbl_805AB208@sda21(r2) +/* 8010FAD4 0010CA34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010FAD8 0010CA38 40 80 00 90 */ bge lbl_8010FB68 +/* 8010FADC 0010CA3C A0 FE 00 08 */ lhz r7, 8(r30) +/* 8010FAE0 0010CA40 7F E4 FB 78 */ mr r4, r31 +/* 8010FAE4 0010CA44 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8010FAE8 0010CA48 38 C1 00 1C */ addi r6, r1, 0x1c +/* 8010FAEC 0010CA4C B0 E1 00 1C */ sth r7, 0x1c(r1) +/* 8010FAF0 0010CA50 38 60 00 00 */ li r3, 0 +/* 8010FAF4 0010CA54 A0 1E 06 74 */ lhz r0, 0x674(r30) +/* 8010FAF8 0010CA58 B0 E1 00 18 */ sth r7, 0x18(r1) +/* 8010FAFC 0010CA5C B0 01 00 20 */ sth r0, 0x20(r1) +/* 8010FB00 0010CA60 48 12 A4 F1 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId +/* 8010FB04 0010CA64 48 00 00 68 */ b lbl_8010FB6C +lbl_8010FB08: +/* 8010FB08 0010CA68 B0 61 00 14 */ sth r3, 0x14(r1) +/* 8010FB0C 0010CA6C 7F E3 FB 78 */ mr r3, r31 +/* 8010FB10 0010CA70 38 81 00 14 */ addi r4, r1, 0x14 +/* 8010FB14 0010CA74 4B F3 CA 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8010FB18 0010CA78 7C 64 1B 78 */ mr r4, r3 +/* 8010FB1C 0010CA7C 38 61 00 30 */ addi r3, r1, 0x30 +/* 8010FB20 0010CA80 4B F9 58 49 */ bl sub_800a5368 +/* 8010FB24 0010CA84 4B F9 58 19 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" +/* 8010FB28 0010CA88 28 03 00 00 */ cmplwi r3, 0 +/* 8010FB2C 0010CA8C 41 82 00 3C */ beq lbl_8010FB68 +/* 8010FB30 0010CA90 88 03 07 2E */ lbz r0, 0x72e(r3) +/* 8010FB34 0010CA94 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8010FB38 0010CA98 41 82 00 30 */ beq lbl_8010FB68 +/* 8010FB3C 0010CA9C A0 FE 00 08 */ lhz r7, 8(r30) +/* 8010FB40 0010CAA0 7F E4 FB 78 */ mr r4, r31 +/* 8010FB44 0010CAA4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8010FB48 0010CAA8 38 C1 00 0C */ addi r6, r1, 0xc +/* 8010FB4C 0010CAAC B0 E1 00 0C */ sth r7, 0xc(r1) +/* 8010FB50 0010CAB0 38 60 00 00 */ li r3, 0 +/* 8010FB54 0010CAB4 A0 1E 06 74 */ lhz r0, 0x674(r30) +/* 8010FB58 0010CAB8 B0 E1 00 08 */ sth r7, 8(r1) +/* 8010FB5C 0010CABC B0 01 00 10 */ sth r0, 0x10(r1) +/* 8010FB60 0010CAC0 48 12 A4 91 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId +/* 8010FB64 0010CAC4 48 00 00 08 */ b lbl_8010FB6C +lbl_8010FB68: +/* 8010FB68 0010CAC8 38 60 00 00 */ li r3, 0 +lbl_8010FB6C: +/* 8010FB6C 0010CACC 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 8010FB70 0010CAD0 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8010FB74 0010CAD4 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 8010FB78 0010CAD8 7C 08 03 A6 */ mtlr r0 +/* 8010FB7C 0010CADC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 8010FB80 0010CAE0 4E 80 00 20 */ blr + +.global ShouldFire__8CWarWaspFR13CStateManagerf +ShouldFire__8CWarWaspFR13CStateManagerf: +/* 8010FB84 0010CAE4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8010FB88 0010CAE8 7C 08 02 A6 */ mflr r0 +/* 8010FB8C 0010CAEC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8010FB90 0010CAF0 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 8010FB94 0010CAF4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 8010FB98 0010CAF8 DB C1 00 80 */ stfd f30, 0x80(r1) +/* 8010FB9C 0010CAFC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 +/* 8010FBA0 0010CB00 DB A1 00 70 */ stfd f29, 0x70(r1) +/* 8010FBA4 0010CB04 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 +/* 8010FBA8 0010CB08 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 8010FBAC 0010CB0C 93 C1 00 68 */ stw r30, 0x68(r1) +/* 8010FBB0 0010CB10 7C 7E 1B 78 */ mr r30, r3 +/* 8010FBB4 0010CB14 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010FBB8 0010CB18 C0 23 07 00 */ lfs f1, 0x700(r3) +/* 8010FBBC 0010CB1C 7C 9F 23 78 */ mr r31, r4 +/* 8010FBC0 0010CB20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010FBC4 0010CB24 4C 40 13 82 */ cror 2, 0, 2 +/* 8010FBC8 0010CB28 40 82 01 B4 */ bne lbl_8010FD7C +/* 8010FBCC 0010CB2C A0 DE 00 08 */ lhz r6, 8(r30) +/* 8010FBD0 0010CB30 7F E3 FB 78 */ mr r3, r31 +/* 8010FBD4 0010CB34 38 81 00 14 */ addi r4, r1, 0x14 +/* 8010FBD8 0010CB38 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8010FBDC 0010CB3C B0 C1 00 10 */ sth r6, 0x10(r1) +/* 8010FBE0 0010CB40 A0 1E 06 74 */ lhz r0, 0x674(r30) +/* 8010FBE4 0010CB44 B0 C1 00 0C */ sth r6, 0xc(r1) +/* 8010FBE8 0010CB48 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8010FBEC 0010CB4C 48 12 A5 95 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId +/* 8010FBF0 0010CB50 28 03 00 00 */ cmplwi r3, 0 +/* 8010FBF4 0010CB54 41 82 00 E0 */ beq lbl_8010FCD4 +/* 8010FBF8 0010CB58 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8010FBFC 0010CB5C 2C 00 00 02 */ cmpwi r0, 2 +/* 8010FC00 0010CB60 40 82 01 7C */ bne lbl_8010FD7C +/* 8010FC04 0010CB64 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010FC08 0010CB68 7F C4 F3 78 */ mr r4, r30 +/* 8010FC0C 0010CB6C 7F E5 FB 78 */ mr r5, r31 +/* 8010FC10 0010CB70 38 61 00 44 */ addi r3, r1, 0x44 +/* 8010FC14 0010CB74 4B FF C2 8D */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010FC18 0010CB78 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8010FC1C 0010CB7C 38 61 00 5C */ addi r3, r1, 0x5c +/* 8010FC20 0010CB80 C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8010FC24 0010CB84 C0 61 00 4C */ lfs f3, 0x4c(r1) +/* 8010FC28 0010CB88 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8010FC2C 0010CB8C EC 81 00 28 */ fsubs f4, f1, f0 +/* 8010FC30 0010CB90 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8010FC34 0010CB94 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 8010FC38 0010CB98 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8010FC3C 0010CB9C D0 81 00 60 */ stfs f4, 0x60(r1) +/* 8010FC40 0010CBA0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010FC44 0010CBA4 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 8010FC48 0010CBA8 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 8010FC4C 0010CBAC C3 BE 00 58 */ lfs f29, 0x58(r30) +/* 8010FC50 0010CBB0 C3 DE 00 48 */ lfs f30, 0x48(r30) +/* 8010FC54 0010CBB4 C3 FE 00 38 */ lfs f31, 0x38(r30) +/* 8010FC58 0010CBB8 48 20 4A A1 */ bl CanBeNormalized__9CVector3fCFv +/* 8010FC5C 0010CBBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010FC60 0010CBC0 41 82 01 1C */ beq lbl_8010FD7C +/* 8010FC64 0010CBC4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8010FC68 0010CBC8 38 81 00 5C */ addi r4, r1, 0x5c +/* 8010FC6C 0010CBCC 48 20 4B E5 */ bl AsNormalized__9CVector3fCFv +/* 8010FC70 0010CBD0 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8010FC74 0010CBD4 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 8010FC78 0010CBD8 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8010FC7C 0010CBDC C0 61 00 40 */ lfs f3, 0x40(r1) +/* 8010FC80 0010CBE0 C0 02 95 60 */ lfs f0, lbl_805AB280@sda21(r2) +/* 8010FC84 0010CBE4 EC 3F 08 BA */ fmadds f1, f31, f2, f1 +/* 8010FC88 0010CBE8 EC 3D 08 FA */ fmadds f1, f29, f3, f1 +/* 8010FC8C 0010CBEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010FC90 0010CBF0 4C 41 13 82 */ cror 2, 1, 2 +/* 8010FC94 0010CBF4 40 82 00 E8 */ bne lbl_8010FD7C +/* 8010FC98 0010CBF8 A0 1E 06 74 */ lhz r0, 0x674(r30) +/* 8010FC9C 0010CBFC 7F E3 FB 78 */ mr r3, r31 +/* 8010FCA0 0010CC00 38 81 00 08 */ addi r4, r1, 8 +/* 8010FCA4 0010CC04 B0 01 00 08 */ sth r0, 8(r1) +/* 8010FCA8 0010CC08 4B F3 C8 CD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8010FCAC 0010CC0C 7C 64 1B 78 */ mr r4, r3 +/* 8010FCB0 0010CC10 38 61 00 18 */ addi r3, r1, 0x18 +/* 8010FCB4 0010CC14 4B F9 78 C1 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010FCB8 0010CC18 80 63 00 04 */ lwz r3, 4(r3) +/* 8010FCBC 0010CC1C 28 03 00 00 */ cmplwi r3, 0 +/* 8010FCC0 0010CC20 41 82 00 BC */ beq lbl_8010FD7C +/* 8010FCC4 0010CC24 80 03 00 7C */ lwz r0, 0x7c(r3) +/* 8010FCC8 0010CC28 7C 00 00 34 */ cntlzw r0, r0 +/* 8010FCCC 0010CC2C 54 03 D9 7E */ srwi r3, r0, 5 +/* 8010FCD0 0010CC30 48 00 00 B0 */ b lbl_8010FD80 +lbl_8010FCD4: +/* 8010FCD4 0010CC34 80 1E 03 FC */ lwz r0, 0x3fc(r30) +/* 8010FCD8 0010CC38 2C 00 00 02 */ cmpwi r0, 2 +/* 8010FCDC 0010CC3C 40 82 00 A0 */ bne lbl_8010FD7C +/* 8010FCE0 0010CC40 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010FCE4 0010CC44 7F C4 F3 78 */ mr r4, r30 +/* 8010FCE8 0010CC48 7F E5 FB 78 */ mr r5, r31 +/* 8010FCEC 0010CC4C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8010FCF0 0010CC50 4B FF C1 B1 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010FCF4 0010CC54 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 8010FCF8 0010CC58 38 61 00 50 */ addi r3, r1, 0x50 +/* 8010FCFC 0010CC5C C0 1E 00 50 */ lfs f0, 0x50(r30) +/* 8010FD00 0010CC60 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 8010FD04 0010CC64 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 8010FD08 0010CC68 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8010FD0C 0010CC6C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8010FD10 0010CC70 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 8010FD14 0010CC74 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8010FD18 0010CC78 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 8010FD1C 0010CC7C EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010FD20 0010CC80 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 8010FD24 0010CC84 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 8010FD28 0010CC88 C3 FE 00 58 */ lfs f31, 0x58(r30) +/* 8010FD2C 0010CC8C C3 DE 00 48 */ lfs f30, 0x48(r30) +/* 8010FD30 0010CC90 C3 BE 00 38 */ lfs f29, 0x38(r30) +/* 8010FD34 0010CC94 48 20 49 C5 */ bl CanBeNormalized__9CVector3fCFv +/* 8010FD38 0010CC98 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8010FD3C 0010CC9C 41 82 00 40 */ beq lbl_8010FD7C +/* 8010FD40 0010CCA0 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010FD44 0010CCA4 38 81 00 50 */ addi r4, r1, 0x50 +/* 8010FD48 0010CCA8 48 20 4B 09 */ bl AsNormalized__9CVector3fCFv +/* 8010FD4C 0010CCAC C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8010FD50 0010CCB0 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 8010FD54 0010CCB4 EC 3E 00 32 */ fmuls f1, f30, f0 +/* 8010FD58 0010CCB8 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 8010FD5C 0010CCBC C0 02 95 60 */ lfs f0, lbl_805AB280@sda21(r2) +/* 8010FD60 0010CCC0 EC 3D 08 BA */ fmadds f1, f29, f2, f1 +/* 8010FD64 0010CCC4 EC 3F 08 FA */ fmadds f1, f31, f3, f1 +/* 8010FD68 0010CCC8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010FD6C 0010CCCC 4C 41 13 82 */ cror 2, 1, 2 +/* 8010FD70 0010CCD0 7C 00 00 26 */ mfcr r0 +/* 8010FD74 0010CCD4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 8010FD78 0010CCD8 48 00 00 08 */ b lbl_8010FD80 +lbl_8010FD7C: +/* 8010FD7C 0010CCDC 38 60 00 00 */ li r3, 0 +lbl_8010FD80: +/* 8010FD80 0010CCE0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 8010FD84 0010CCE4 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 8010FD88 0010CCE8 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 +/* 8010FD8C 0010CCEC CB C1 00 80 */ lfd f30, 0x80(r1) +/* 8010FD90 0010CCF0 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 +/* 8010FD94 0010CCF4 CB A1 00 70 */ lfd f29, 0x70(r1) +/* 8010FD98 0010CCF8 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 8010FD9C 0010CCFC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8010FDA0 0010CD00 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 8010FDA4 0010CD04 7C 08 03 A6 */ mtlr r0 +/* 8010FDA8 0010CD08 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8010FDAC 0010CD0C 4E 80 00 20 */ blr + +.global ShouldAttack__8CWarWaspFR13CStateManagerf +ShouldAttack__8CWarWaspFR13CStateManagerf: +/* 8010FDB0 0010CD10 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8010FDB4 0010CD14 7C 08 02 A6 */ mflr r0 +/* 8010FDB8 0010CD18 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 8010FDBC 0010CD1C 90 01 00 64 */ stw r0, 0x64(r1) +/* 8010FDC0 0010CD20 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8010FDC4 0010CD24 7C 9F 23 78 */ mr r31, r4 +/* 8010FDC8 0010CD28 93 C1 00 58 */ stw r30, 0x58(r1) +/* 8010FDCC 0010CD2C 7C 7E 1B 78 */ mr r30, r3 +/* 8010FDD0 0010CD30 C0 23 07 00 */ lfs f1, 0x700(r3) +/* 8010FDD4 0010CD34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8010FDD8 0010CD38 4C 40 13 82 */ cror 2, 0, 2 +/* 8010FDDC 0010CD3C 40 82 01 40 */ bne lbl_8010FF1C +/* 8010FDE0 0010CD40 A0 DE 00 08 */ lhz r6, 8(r30) +/* 8010FDE4 0010CD44 7F E3 FB 78 */ mr r3, r31 +/* 8010FDE8 0010CD48 38 81 00 14 */ addi r4, r1, 0x14 +/* 8010FDEC 0010CD4C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8010FDF0 0010CD50 B0 C1 00 10 */ sth r6, 0x10(r1) +/* 8010FDF4 0010CD54 A0 1E 06 74 */ lhz r0, 0x674(r30) +/* 8010FDF8 0010CD58 B0 C1 00 0C */ sth r6, 0xc(r1) +/* 8010FDFC 0010CD5C B0 01 00 14 */ sth r0, 0x14(r1) +/* 8010FE00 0010CD60 48 12 A3 81 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId +/* 8010FE04 0010CD64 28 03 00 00 */ cmplwi r3, 0 +/* 8010FE08 0010CD68 41 82 00 A8 */ beq lbl_8010FEB0 +/* 8010FE0C 0010CD6C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 8010FE10 0010CD70 2C 00 00 01 */ cmpwi r0, 1 +/* 8010FE14 0010CD74 40 82 01 08 */ bne lbl_8010FF1C +/* 8010FE18 0010CD78 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8010FE1C 0010CD7C 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 8010FE20 0010CD80 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8010FE24 0010CD84 40 82 00 F8 */ bne lbl_8010FF1C +/* 8010FE28 0010CD88 A0 1E 06 74 */ lhz r0, 0x674(r30) +/* 8010FE2C 0010CD8C 7F E3 FB 78 */ mr r3, r31 +/* 8010FE30 0010CD90 38 81 00 08 */ addi r4, r1, 8 +/* 8010FE34 0010CD94 B0 01 00 08 */ sth r0, 8(r1) +/* 8010FE38 0010CD98 4B F3 C7 3D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 8010FE3C 0010CD9C 7C 64 1B 78 */ mr r4, r3 +/* 8010FE40 0010CDA0 38 61 00 18 */ addi r3, r1, 0x18 +/* 8010FE44 0010CDA4 4B F9 77 31 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 8010FE48 0010CDA8 80 63 00 04 */ lwz r3, 4(r3) +/* 8010FE4C 0010CDAC 28 03 00 00 */ cmplwi r3, 0 +/* 8010FE50 0010CDB0 41 82 00 CC */ beq lbl_8010FF1C +/* 8010FE54 0010CDB4 80 03 00 6C */ lwz r0, 0x6c(r3) +/* 8010FE58 0010CDB8 28 00 00 00 */ cmplwi r0, 0 +/* 8010FE5C 0010CDBC 40 82 00 C0 */ bne lbl_8010FF1C +/* 8010FE60 0010CDC0 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8010FE64 0010CDC4 7F C4 F3 78 */ mr r4, r30 +/* 8010FE68 0010CDC8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8010FE6C 0010CDCC 7F E5 FB 78 */ mr r5, r31 +/* 8010FE70 0010CDD0 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8010FE74 0010CDD4 38 61 00 38 */ addi r3, r1, 0x38 +/* 8010FE78 0010CDD8 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010FE7C 0010CDDC D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8010FE80 0010CDE0 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8010FE84 0010CDE4 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 8010FE88 0010CDE8 4B FF C0 19 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010FE8C 0010CDEC 7F C3 F3 78 */ mr r3, r30 +/* 8010FE90 0010CDF0 7F E4 FB 78 */ mr r4, r31 +/* 8010FE94 0010CDF4 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8010FE98 0010CDF8 38 C1 00 38 */ addi r6, r1, 0x38 +/* 8010FE9C 0010CDFC 48 0E 4F 35 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f +/* 8010FEA0 0010CE00 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8010FEA4 0010CE04 7C 00 00 34 */ cntlzw r0, r0 +/* 8010FEA8 0010CE08 54 03 D9 7E */ srwi r3, r0, 5 +/* 8010FEAC 0010CE0C 48 00 00 74 */ b lbl_8010FF20 +lbl_8010FEB0: +/* 8010FEB0 0010CE10 80 1E 03 FC */ lwz r0, 0x3fc(r30) +/* 8010FEB4 0010CE14 2C 00 00 02 */ cmpwi r0, 2 +/* 8010FEB8 0010CE18 41 82 00 64 */ beq lbl_8010FF1C +/* 8010FEBC 0010CE1C 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8010FEC0 0010CE20 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 8010FEC4 0010CE24 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 8010FEC8 0010CE28 40 82 00 54 */ bne lbl_8010FF1C +/* 8010FECC 0010CE2C C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 8010FED0 0010CE30 7F C4 F3 78 */ mr r4, r30 +/* 8010FED4 0010CE34 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8010FED8 0010CE38 7F E5 FB 78 */ mr r5, r31 +/* 8010FEDC 0010CE3C C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 8010FEE0 0010CE40 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010FEE4 0010CE44 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010FEE8 0010CE48 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8010FEEC 0010CE4C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8010FEF0 0010CE50 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8010FEF4 0010CE54 4B FF BF AD */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010FEF8 0010CE58 7F C3 F3 78 */ mr r3, r30 +/* 8010FEFC 0010CE5C 7F E4 FB 78 */ mr r4, r31 +/* 8010FF00 0010CE60 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8010FF04 0010CE64 38 C1 00 20 */ addi r6, r1, 0x20 +/* 8010FF08 0010CE68 48 0E 4E C9 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f +/* 8010FF0C 0010CE6C 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 8010FF10 0010CE70 7C 00 00 34 */ cntlzw r0, r0 +/* 8010FF14 0010CE74 54 03 D9 7E */ srwi r3, r0, 5 +/* 8010FF18 0010CE78 48 00 00 08 */ b lbl_8010FF20 +lbl_8010FF1C: +/* 8010FF1C 0010CE7C 38 60 00 00 */ li r3, 0 +lbl_8010FF20: +/* 8010FF20 0010CE80 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8010FF24 0010CE84 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8010FF28 0010CE88 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 8010FF2C 0010CE8C 7C 08 03 A6 */ mtlr r0 +/* 8010FF30 0010CE90 38 21 00 60 */ addi r1, r1, 0x60 +/* 8010FF34 0010CE94 4E 80 00 20 */ blr + +.global InAttackPosition__8CWarWaspFR13CStateManagerf +InAttackPosition__8CWarWaspFR13CStateManagerf: +/* 8010FF38 0010CE98 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8010FF3C 0010CE9C 7C 08 02 A6 */ mflr r0 +/* 8010FF40 0010CEA0 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8010FF44 0010CEA4 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8010FF48 0010CEA8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8010FF4C 0010CEAC 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 8010FF50 0010CEB0 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 8010FF54 0010CEB4 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 8010FF58 0010CEB8 93 81 00 B0 */ stw r28, 0xb0(r1) +/* 8010FF5C 0010CEBC 7C 7C 1B 78 */ mr r28, r3 +/* 8010FF60 0010CEC0 7C 9D 23 78 */ mr r29, r4 +/* 8010FF64 0010CEC4 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 8010FF68 0010CEC8 7F 84 E3 78 */ mr r4, r28 +/* 8010FF6C 0010CECC C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8010FF70 0010CED0 7F A5 EB 78 */ mr r5, r29 +/* 8010FF74 0010CED4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8010FF78 0010CED8 38 61 00 20 */ addi r3, r1, 0x20 +/* 8010FF7C 0010CEDC C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) +/* 8010FF80 0010CEE0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8010FF84 0010CEE4 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8010FF88 0010CEE8 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 8010FF8C 0010CEEC 4B FF BF 15 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 8010FF90 0010CEF0 C3 E1 00 28 */ lfs f31, 0x28(r1) +/* 8010FF94 0010CEF4 3B E0 00 00 */ li r31, 0 +/* 8010FF98 0010CEF8 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8010FF9C 0010CEFC C0 41 00 24 */ lfs f2, 0x24(r1) +/* 8010FFA0 0010CF00 EC 9F 00 28 */ fsubs f4, f31, f0 +/* 8010FFA4 0010CF04 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8010FFA8 0010CF08 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8010FFAC 0010CF0C EC 42 00 28 */ fsubs f2, f2, f0 +/* 8010FFB0 0010CF10 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8010FFB4 0010CF14 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 8010FFB8 0010CF18 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8010FFBC 0010CF1C C0 22 95 40 */ lfs f1, lbl_805AB260@sda21(r2) +/* 8010FFC0 0010CF20 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8010FFC4 0010CF24 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 8010FFC8 0010CF28 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8010FFCC 0010CF2C EC 60 00 32 */ fmuls f3, f0, f0 +/* 8010FFD0 0010CF30 EC 84 01 32 */ fmuls f4, f4, f4 +/* 8010FFD4 0010CF34 C0 1C 02 FC */ lfs f0, 0x2fc(r28) +/* 8010FFD8 0010CF38 EC 43 10 2A */ fadds f2, f3, f2 +/* 8010FFDC 0010CF3C EC 00 08 28 */ fsubs f0, f0, f1 +/* 8010FFE0 0010CF40 EC 44 10 2A */ fadds f2, f4, f2 +/* 8010FFE4 0010CF44 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8010FFE8 0010CF48 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8010FFEC 0010CF4C 40 81 00 40 */ ble lbl_8011002C +/* 8010FFF0 0010CF50 C0 1C 03 00 */ lfs f0, 0x300(r28) +/* 8010FFF4 0010CF54 EC 01 00 2A */ fadds f0, f1, f0 +/* 8010FFF8 0010CF58 EC 00 00 32 */ fmuls f0, f0, f0 +/* 8010FFFC 0010CF5C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80110000 0010CF60 40 80 00 2C */ bge lbl_8011002C +/* 80110004 0010CF64 7F 83 E3 78 */ mr r3, r28 +/* 80110008 0010CF68 7F A4 EB 78 */ mr r4, r29 +/* 8011000C 0010CF6C 81 9C 00 00 */ lwz r12, 0(r28) +/* 80110010 0010CF70 C0 22 95 64 */ lfs f1, lbl_805AB284@sda21(r2) +/* 80110014 0010CF74 81 8C 01 E8 */ lwz r12, 0x1e8(r12) +/* 80110018 0010CF78 7D 89 03 A6 */ mtctr r12 +/* 8011001C 0010CF7C 4E 80 04 21 */ bctrl +/* 80110020 0010CF80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80110024 0010CF84 40 82 00 08 */ bne lbl_8011002C +/* 80110028 0010CF88 3B E0 00 01 */ li r31, 1 +lbl_8011002C: +/* 8011002C 0010CF8C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 80110030 0010CF90 7F FE FB 78 */ mr r30, r31 +/* 80110034 0010CF94 41 82 01 14 */ beq lbl_80110148 +/* 80110038 0010CF98 80 9D 08 4C */ lwz r4, 0x84c(r29) +/* 8011003C 0010CF9C 38 60 00 00 */ li r3, 0 +/* 80110040 0010CFA0 C0 7C 00 60 */ lfs f3, 0x60(r28) +/* 80110044 0010CFA4 C0 A4 00 60 */ lfs f5, 0x60(r4) +/* 80110048 0010CFA8 C0 5C 00 50 */ lfs f2, 0x50(r28) +/* 8011004C 0010CFAC C0 3C 00 40 */ lfs f1, 0x40(r28) +/* 80110050 0010CFB0 FC 03 28 40 */ fcmpo cr0, f3, f5 +/* 80110054 0010CFB4 C0 84 00 50 */ lfs f4, 0x50(r4) +/* 80110058 0010CFB8 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 8011005C 0010CFBC D0 21 00 14 */ stfs f1, 0x14(r1) +/* 80110060 0010CFC0 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 80110064 0010CFC4 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 80110068 0010CFC8 D0 01 00 08 */ stfs f0, 8(r1) +/* 8011006C 0010CFCC D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80110070 0010CFD0 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 80110074 0010CFD4 40 81 00 18 */ ble lbl_8011008C +/* 80110078 0010CFD8 C0 02 95 28 */ lfs f0, lbl_805AB248@sda21(r2) +/* 8011007C 0010CFDC EC 00 F8 2A */ fadds f0, f0, f31 +/* 80110080 0010CFE0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 80110084 0010CFE4 40 80 00 08 */ bge lbl_8011008C +/* 80110088 0010CFE8 38 60 00 01 */ li r3, 1 +lbl_8011008C: +/* 8011008C 0010CFEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80110090 0010CFF0 7C 7E 1B 78 */ mr r30, r3 +/* 80110094 0010CFF4 41 82 00 B4 */ beq lbl_80110148 +/* 80110098 0010CFF8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8011009C 0010CFFC 48 20 46 5D */ bl CanBeNormalized__9CVector3fCFv +/* 801100A0 0010D000 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801100A4 0010D004 41 82 00 A4 */ beq lbl_80110148 +/* 801100A8 0010D008 80 AD 8A 14 */ lwz r5, lbl_805A75D4@sda21(r13) +/* 801100AC 0010D00C 38 60 00 00 */ li r3, 0 +/* 801100B0 0010D010 38 80 00 01 */ li r4, 1 +/* 801100B4 0010D014 48 27 9E 41 */ bl __shl2i +/* 801100B8 0010D018 80 AD 8A 10 */ lwz r5, lbl_805A75D0@sda21(r13) +/* 801100BC 0010D01C 7C 9E 23 78 */ mr r30, r4 +/* 801100C0 0010D020 7C 7F 1B 78 */ mr r31, r3 +/* 801100C4 0010D024 38 60 00 00 */ li r3, 0 +/* 801100C8 0010D028 38 80 00 01 */ li r4, 1 +/* 801100CC 0010D02C 48 27 9E 29 */ bl __shl2i +/* 801100D0 0010D030 38 00 00 03 */ li r0, 3 +/* 801100D4 0010D034 90 61 00 68 */ stw r3, 0x68(r1) +/* 801100D8 0010D038 38 61 00 38 */ addi r3, r1, 0x38 +/* 801100DC 0010D03C 90 01 00 60 */ stw r0, 0x60(r1) +/* 801100E0 0010D040 90 81 00 6C */ stw r4, 0x6c(r1) +/* 801100E4 0010D044 93 C1 00 74 */ stw r30, 0x74(r1) +/* 801100E8 0010D048 93 E1 00 70 */ stw r31, 0x70(r1) +/* 801100EC 0010D04C 90 01 00 78 */ stw r0, 0x78(r1) +/* 801100F0 0010D050 48 20 47 C9 */ bl Magnitude__9CVector3fCFv +/* 801100F4 0010D054 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 801100F8 0010D058 7F A4 EB 78 */ mr r4, r29 +/* 801100FC 0010D05C C0 61 00 38 */ lfs f3, 0x38(r1) +/* 80110100 0010D060 38 61 00 80 */ addi r3, r1, 0x80 +/* 80110104 0010D064 EC 80 08 24 */ fdivs f4, f0, f1 +/* 80110108 0010D068 C0 41 00 3C */ lfs f2, 0x3c(r1) +/* 8011010C 0010D06C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 80110110 0010D070 38 A1 00 44 */ addi r5, r1, 0x44 +/* 80110114 0010D074 38 C1 00 2C */ addi r6, r1, 0x2c +/* 80110118 0010D078 38 E1 00 68 */ addi r7, r1, 0x68 +/* 8011011C 0010D07C EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80110120 0010D080 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 80110124 0010D084 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80110128 0010D088 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 8011012C 0010D08C D0 41 00 30 */ stfs f2, 0x30(r1) +/* 80110130 0010D090 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 80110134 0010D094 4B F3 CE 65 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 80110138 0010D098 88 01 00 A0 */ lbz r0, 0xa0(r1) +/* 8011013C 0010D09C 7C 00 00 34 */ cntlzw r0, r0 +/* 80110140 0010D0A0 54 00 D9 7E */ srwi r0, r0, 5 +/* 80110144 0010D0A4 7C 1E 03 78 */ mr r30, r0 +lbl_80110148: +/* 80110148 0010D0A8 7F C3 F3 78 */ mr r3, r30 +/* 8011014C 0010D0AC E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 80110150 0010D0B0 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 80110154 0010D0B4 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 80110158 0010D0B8 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 8011015C 0010D0BC 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 80110160 0010D0C0 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 80110164 0010D0C4 83 81 00 B0 */ lwz r28, 0xb0(r1) +/* 80110168 0010D0C8 7C 08 03 A6 */ mtlr r0 +/* 8011016C 0010D0CC 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 80110170 0010D0D0 4E 80 00 20 */ blr + +.global HearShot__8CWarWaspFR13CStateManagerf +HearShot__8CWarWaspFR13CStateManagerf: +/* 80110174 0010D0D4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80110178 0010D0D8 7C 08 02 A6 */ mflr r0 +/* 8011017C 0010D0DC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80110180 0010D0E0 88 03 07 2E */ lbz r0, 0x72e(r3) +/* 80110184 0010D0E4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 80110188 0010D0E8 40 82 00 10 */ bne lbl_80110198 +/* 8011018C 0010D0EC 88 03 04 00 */ lbz r0, 0x400(r3) +/* 80110190 0010D0F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80110194 0010D0F4 41 82 00 0C */ beq lbl_801101A0 +lbl_80110198: +/* 80110198 0010D0F8 38 60 00 01 */ li r3, 1 +/* 8011019C 0010D0FC 48 00 00 48 */ b lbl_801101E4 +lbl_801101A0: +/* 801101A0 0010D100 A0 03 06 74 */ lhz r0, 0x674(r3) +/* 801101A4 0010D104 7C 83 23 78 */ mr r3, r4 +/* 801101A8 0010D108 38 81 00 08 */ addi r4, r1, 8 +/* 801101AC 0010D10C B0 01 00 08 */ sth r0, 8(r1) +/* 801101B0 0010D110 4B F3 C3 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 801101B4 0010D114 7C 64 1B 78 */ mr r4, r3 +/* 801101B8 0010D118 38 61 00 0C */ addi r3, r1, 0xc +/* 801101BC 0010D11C 4B F9 73 B9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" +/* 801101C0 0010D120 80 63 00 04 */ lwz r3, 4(r3) +/* 801101C4 0010D124 28 03 00 00 */ cmplwi r3, 0 +/* 801101C8 0010D128 41 82 00 18 */ beq lbl_801101E0 +/* 801101CC 0010D12C 80 63 00 5C */ lwz r3, 0x5c(r3) +/* 801101D0 0010D130 7C 03 00 D0 */ neg r0, r3 +/* 801101D4 0010D134 7C 00 1B 78 */ or r0, r0, r3 +/* 801101D8 0010D138 54 03 0F FE */ srwi r3, r0, 0x1f +/* 801101DC 0010D13C 48 00 00 08 */ b lbl_801101E4 +lbl_801101E0: +/* 801101E0 0010D140 38 60 00 00 */ li r3, 0 +lbl_801101E4: +/* 801101E4 0010D144 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801101E8 0010D148 7C 08 03 A6 */ mtlr r0 +/* 801101EC 0010D14C 38 21 00 20 */ addi r1, r1, 0x20 +/* 801101F0 0010D150 4E 80 00 20 */ blr + +.global PathShagged__8CWarWaspFR13CStateManagerf +PathShagged__8CWarWaspFR13CStateManagerf: +/* 801101F4 0010D154 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801101F8 0010D158 7C 08 02 A6 */ mflr r0 +/* 801101FC 0010D15C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80110200 0010D160 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80110204 0010D164 7C 7F 1B 78 */ mr r31, r3 +/* 80110208 0010D168 81 83 00 00 */ lwz r12, 0(r3) +/* 8011020C 0010D16C 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 80110210 0010D170 7D 89 03 A6 */ mtctr r12 +/* 80110214 0010D174 4E 80 04 21 */ bctrl +/* 80110218 0010D178 28 03 00 00 */ cmplwi r3, 0 +/* 8011021C 0010D17C 41 82 00 2C */ beq lbl_80110248 +/* 80110220 0010D180 7F E3 FB 78 */ mr r3, r31 +/* 80110224 0010D184 81 9F 00 00 */ lwz r12, 0(r31) +/* 80110228 0010D188 81 8C 02 AC */ lwz r12, 0x2ac(r12) +/* 8011022C 0010D18C 7D 89 03 A6 */ mtctr r12 +/* 80110230 0010D190 4E 80 04 21 */ bctrl +/* 80110234 0010D194 80 63 00 CC */ lwz r3, 0xcc(r3) +/* 80110238 0010D198 7C 03 00 D0 */ neg r0, r3 +/* 8011023C 0010D19C 7C 00 1B 78 */ or r0, r0, r3 +/* 80110240 0010D1A0 54 03 0F FE */ srwi r3, r0, 0x1f +/* 80110244 0010D1A4 48 00 00 08 */ b lbl_8011024C +lbl_80110248: +/* 80110248 0010D1A8 38 60 00 00 */ li r3, 0 +lbl_8011024C: +/* 8011024C 0010D1AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80110250 0010D1B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80110254 0010D1B4 7C 08 03 A6 */ mtlr r0 +/* 80110258 0010D1B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011025C 0010D1BC 4E 80 00 20 */ blr + +.global GetOrigin__8CWarWaspCFv +GetOrigin__8CWarWaspCFv: +/* 80110260 0010D1C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80110264 0010D1C4 7C 08 02 A6 */ mflr r0 +/* 80110268 0010D1C8 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 8011026C 0010D1CC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80110270 0010D1D0 38 00 00 00 */ li r0, 0 +/* 80110274 0010D1D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80110278 0010D1D8 7C 7F 1B 78 */ mr r31, r3 +/* 8011027C 0010D1DC C0 04 06 B0 */ lfs f0, 0x6b0(r4) +/* 80110280 0010D1E0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80110284 0010D1E4 40 82 00 1C */ bne lbl_801102A0 +/* 80110288 0010D1E8 C0 04 06 B4 */ lfs f0, 0x6b4(r4) +/* 8011028C 0010D1EC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80110290 0010D1F0 40 82 00 10 */ bne lbl_801102A0 +/* 80110294 0010D1F4 C0 04 06 B8 */ lfs f0, 0x6b8(r4) +/* 80110298 0010D1F8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8011029C 0010D1FC 41 82 00 08 */ beq lbl_801102A4 +lbl_801102A0: +/* 801102A0 0010D200 38 00 00 01 */ li r0, 1 +lbl_801102A4: +/* 801102A4 0010D204 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 801102A8 0010D208 40 82 00 2C */ bne lbl_801102D4 +/* 801102AC 0010D20C 7C E6 3B 78 */ mr r6, r7 +/* 801102B0 0010D210 38 61 00 08 */ addi r3, r1, 8 +/* 801102B4 0010D214 4B FF B8 2D */ bl GetCloseInPos__8CWarWaspCFR13CStateManagerRC9CVector3f +/* 801102B8 0010D218 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 801102BC 0010D21C C0 41 00 10 */ lfs f2, 0x10(r1) +/* 801102C0 0010D220 C0 01 00 08 */ lfs f0, 8(r1) +/* 801102C4 0010D224 D0 1F 00 00 */ stfs f0, 0(r31) +/* 801102C8 0010D228 D0 3F 00 04 */ stfs f1, 4(r31) +/* 801102CC 0010D22C D0 5F 00 08 */ stfs f2, 8(r31) +/* 801102D0 0010D230 48 00 00 1C */ b lbl_801102EC +lbl_801102D4: +/* 801102D4 0010D234 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 801102D8 0010D238 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 801102DC 0010D23C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 801102E0 0010D240 D0 1F 00 00 */ stfs f0, 0(r31) +/* 801102E4 0010D244 D0 3F 00 04 */ stfs f1, 4(r31) +/* 801102E8 0010D248 D0 5F 00 08 */ stfs f2, 8(r31) +lbl_801102EC: +/* 801102EC 0010D24C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801102F0 0010D250 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801102F4 0010D254 7C 08 03 A6 */ mtlr r0 +/* 801102F8 0010D258 38 21 00 20 */ addi r1, r1, 0x20 +/* 801102FC 0010D25C 4E 80 00 20 */ blr + +.global Listen__8CWarWaspFRC9CVector3f16EListenNoiseType +Listen__8CWarWaspFRC9CVector3f16EListenNoiseType: +/* 80110300 0010D260 2C 05 00 03 */ cmpwi r5, 3 +/* 80110304 0010D264 40 80 00 68 */ bge lbl_8011036C +/* 80110308 0010D268 2C 05 00 00 */ cmpwi r5, 0 +/* 8011030C 0010D26C 40 80 00 08 */ bge lbl_80110314 +/* 80110310 0010D270 48 00 00 5C */ b lbl_8011036C +lbl_80110314: +/* 80110314 0010D274 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80110318 0010D278 C0 04 00 04 */ lfs f0, 4(r4) +/* 8011031C 0010D27C C0 43 03 BC */ lfs f2, 0x3bc(r3) +/* 80110320 0010D280 EC A1 00 28 */ fsubs f5, f1, f0 +/* 80110324 0010D284 C0 83 00 40 */ lfs f4, 0x40(r3) +/* 80110328 0010D288 C0 24 00 00 */ lfs f1, 0(r4) +/* 8011032C 0010D28C EC 02 00 B2 */ fmuls f0, f2, f2 +/* 80110330 0010D290 C0 63 00 60 */ lfs f3, 0x60(r3) +/* 80110334 0010D294 C0 44 00 08 */ lfs f2, 8(r4) +/* 80110338 0010D298 EC 84 08 28 */ fsubs f4, f4, f1 +/* 8011033C 0010D29C EC 25 01 72 */ fmuls f1, f5, f5 +/* 80110340 0010D2A0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80110344 0010D2A4 EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 80110348 0010D2A8 EC 22 08 BA */ fmadds f1, f2, f2, f1 +/* 8011034C 0010D2AC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80110350 0010D2B0 40 80 00 1C */ bge lbl_8011036C +/* 80110354 0010D2B4 88 03 07 2E */ lbz r0, 0x72e(r3) +/* 80110358 0010D2B8 38 80 00 01 */ li r4, 1 +/* 8011035C 0010D2BC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80110360 0010D2C0 98 03 07 2E */ stb r0, 0x72e(r3) +/* 80110364 0010D2C4 38 60 00 01 */ li r3, 1 +/* 80110368 0010D2C8 4E 80 00 20 */ blr +lbl_8011036C: +/* 8011036C 0010D2CC 38 60 00 00 */ li r3, 0 +/* 80110370 0010D2D0 4E 80 00 20 */ blr + +.global DoUserAnimEvent__8CWarWaspFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__8CWarWaspFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 80110374 0010D2D4 94 21 F5 E0 */ stwu r1, -0xa20(r1) +/* 80110378 0010D2D8 7C 08 02 A6 */ mflr r0 +/* 8011037C 0010D2DC 90 01 0A 24 */ stw r0, 0xa24(r1) +/* 80110380 0010D2E0 DB E1 0A 10 */ stfd f31, 0xa10(r1) +/* 80110384 0010D2E4 F3 E1 0A 18 */ psq_st f31, -1512(r1), 0, qr0 +/* 80110388 0010D2E8 BF 61 09 FC */ stmw r27, 0x9fc(r1) +/* 8011038C 0010D2EC 7C DF 33 78 */ mr r31, r6 +/* 80110390 0010D2F0 FF E0 08 90 */ fmr f31, f1 +/* 80110394 0010D2F4 28 1F 00 11 */ cmplwi r31, 0x11 +/* 80110398 0010D2F8 7C 7C 1B 78 */ mr r28, r3 +/* 8011039C 0010D2FC 7C 9D 23 78 */ mr r29, r4 +/* 801103A0 0010D300 7C BE 2B 78 */ mr r30, r5 +/* 801103A4 0010D304 38 A0 00 00 */ li r5, 0 +/* 801103A8 0010D308 41 81 03 68 */ bgt lbl_80110710 +/* 801103AC 0010D30C 3C 80 80 3E */ lis r4, lbl_803E025C@ha +/* 801103B0 0010D310 57 E0 10 3A */ slwi r0, r31, 2 +/* 801103B4 0010D314 38 84 02 5C */ addi r4, r4, lbl_803E025C@l +/* 801103B8 0010D318 7C 04 00 2E */ lwzx r0, r4, r0 +/* 801103BC 0010D31C 7C 09 03 A6 */ mtctr r0 +/* 801103C0 0010D320 4E 80 04 20 */ bctr +/* 801103C4 0010D324 7F 84 E3 78 */ mr r4, r28 +/* 801103C8 0010D328 38 61 01 30 */ addi r3, r1, 0x130 +/* 801103CC 0010D32C 38 BE 00 3C */ addi r5, r30, 0x3c +/* 801103D0 0010D330 4B F6 85 A9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 801103D4 0010D334 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 801103D8 0010D338 38 81 01 30 */ addi r4, r1, 0x130 +/* 801103DC 0010D33C 48 20 27 99 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801103E0 0010D340 C0 22 95 48 */ lfs f1, lbl_805AB268@sda21(r2) +/* 801103E4 0010D344 7F 84 E3 78 */ mr r4, r28 +/* 801103E8 0010D348 7F A5 EB 78 */ mr r5, r29 +/* 801103EC 0010D34C 38 61 00 64 */ addi r3, r1, 0x64 +/* 801103F0 0010D350 4B FF BA B1 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf +/* 801103F4 0010D354 C0 A1 00 64 */ lfs f5, 0x64(r1) +/* 801103F8 0010D358 C0 61 00 68 */ lfs f3, 0x68(r1) +/* 801103FC 0010D35C C0 81 00 6C */ lfs f4, 0x6c(r1) +/* 80110400 0010D360 D0 A1 00 94 */ stfs f5, 0x94(r1) +/* 80110404 0010D364 D0 61 00 98 */ stfs f3, 0x98(r1) +/* 80110408 0010D368 D0 81 00 9C */ stfs f4, 0x9c(r1) +/* 8011040C 0010D36C 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 80110410 0010D370 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 80110414 0010D374 2C 00 00 01 */ cmpwi r0, 1 +/* 80110418 0010D378 41 82 01 9C */ beq lbl_801105B4 +/* 8011041C 0010D37C C0 01 01 EC */ lfs f0, 0x1ec(r1) +/* 80110420 0010D380 38 61 00 88 */ addi r3, r1, 0x88 +/* 80110424 0010D384 C0 21 01 DC */ lfs f1, 0x1dc(r1) +/* 80110428 0010D388 C0 41 01 CC */ lfs f2, 0x1cc(r1) +/* 8011042C 0010D38C EC 04 00 28 */ fsubs f0, f4, f0 +/* 80110430 0010D390 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80110434 0010D394 EC 45 10 28 */ fsubs f2, f5, f2 +/* 80110438 0010D398 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 8011043C 0010D39C D0 41 00 88 */ stfs f2, 0x88(r1) +/* 80110440 0010D3A0 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 80110444 0010D3A4 48 20 42 B5 */ bl CanBeNormalized__9CVector3fCFv +/* 80110448 0010D3A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011044C 0010D3AC 41 82 01 68 */ beq lbl_801105B4 +/* 80110450 0010D3B0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80110454 0010D3B4 38 80 00 00 */ li r4, 0 +/* 80110458 0010D3B8 90 81 01 F0 */ stw r4, 0x1f0(r1) +/* 8011045C 0010D3BC 38 60 00 00 */ li r3, 0 +/* 80110460 0010D3C0 80 AD 8A 0C */ lwz r5, lbl_805A75CC@sda21(r13) +/* 80110464 0010D3C4 38 80 00 01 */ li r4, 1 +/* 80110468 0010D3C8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8011046C 0010D3CC 48 27 9A 89 */ bl __shl2i +/* 80110470 0010D3D0 38 A0 00 01 */ li r5, 1 +/* 80110474 0010D3D4 38 00 00 00 */ li r0, 0 +/* 80110478 0010D3D8 90 81 00 BC */ stw r4, 0xbc(r1) +/* 8011047C 0010D3DC 38 81 00 88 */ addi r4, r1, 0x88 +/* 80110480 0010D3E0 90 61 00 B8 */ stw r3, 0xb8(r1) +/* 80110484 0010D3E4 38 61 00 58 */ addi r3, r1, 0x58 +/* 80110488 0010D3E8 90 A1 00 B0 */ stw r5, 0xb0(r1) +/* 8011048C 0010D3EC 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80110490 0010D3F0 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 80110494 0010D3F4 90 A1 00 C8 */ stw r5, 0xc8(r1) +/* 80110498 0010D3F8 48 20 43 B9 */ bl AsNormalized__9CVector3fCFv +/* 8011049C 0010D3FC C0 41 00 58 */ lfs f2, 0x58(r1) +/* 801104A0 0010D400 38 61 00 88 */ addi r3, r1, 0x88 +/* 801104A4 0010D404 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 801104A8 0010D408 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 801104AC 0010D40C D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 801104B0 0010D410 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 801104B4 0010D414 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 801104B8 0010D418 48 20 44 01 */ bl Magnitude__9CVector3fCFv +/* 801104BC 0010D41C C0 61 01 CC */ lfs f3, 0x1cc(r1) +/* 801104C0 0010D420 7F A4 EB 78 */ mr r4, r29 +/* 801104C4 0010D424 C0 41 01 DC */ lfs f2, 0x1dc(r1) +/* 801104C8 0010D428 38 61 01 00 */ addi r3, r1, 0x100 +/* 801104CC 0010D42C C0 01 01 EC */ lfs f0, 0x1ec(r1) +/* 801104D0 0010D430 38 A1 00 18 */ addi r5, r1, 0x18 +/* 801104D4 0010D434 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 801104D8 0010D438 38 C1 00 4C */ addi r6, r1, 0x4c +/* 801104DC 0010D43C 38 E1 00 7C */ addi r7, r1, 0x7c +/* 801104E0 0010D440 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 801104E4 0010D444 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 801104E8 0010D448 39 21 01 F0 */ addi r9, r1, 0x1f0 +/* 801104EC 0010D44C D0 01 00 54 */ stfs f0, 0x54(r1) +/* 801104F0 0010D450 4B F3 CA D5 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" +/* 801104F4 0010D454 88 81 01 20 */ lbz r4, 0x120(r1) +/* 801104F8 0010D458 C0 E1 01 00 */ lfs f7, 0x100(r1) +/* 801104FC 0010D45C C0 C1 01 04 */ lfs f6, 0x104(r1) +/* 80110500 0010D460 28 04 00 00 */ cmplwi r4, 0 +/* 80110504 0010D464 C0 A1 01 08 */ lfs f5, 0x108(r1) +/* 80110508 0010D468 C0 81 01 0C */ lfs f4, 0x10c(r1) +/* 8011050C 0010D46C C0 61 01 10 */ lfs f3, 0x110(r1) +/* 80110510 0010D470 C0 41 01 14 */ lfs f2, 0x114(r1) +/* 80110514 0010D474 C0 21 01 18 */ lfs f1, 0x118(r1) +/* 80110518 0010D478 C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 8011051C 0010D47C 80 01 01 28 */ lwz r0, 0x128(r1) +/* 80110520 0010D480 80 61 01 2C */ lwz r3, 0x12c(r1) +/* 80110524 0010D484 D0 E1 01 90 */ stfs f7, 0x190(r1) +/* 80110528 0010D488 D0 C1 01 94 */ stfs f6, 0x194(r1) +/* 8011052C 0010D48C D0 A1 01 98 */ stfs f5, 0x198(r1) +/* 80110530 0010D490 D0 81 01 9C */ stfs f4, 0x19c(r1) +/* 80110534 0010D494 D0 61 01 A0 */ stfs f3, 0x1a0(r1) +/* 80110538 0010D498 D0 41 01 A4 */ stfs f2, 0x1a4(r1) +/* 8011053C 0010D49C D0 21 01 A8 */ stfs f1, 0x1a8(r1) +/* 80110540 0010D4A0 D0 01 01 AC */ stfs f0, 0x1ac(r1) +/* 80110544 0010D4A4 98 81 01 B0 */ stb r4, 0x1b0(r1) +/* 80110548 0010D4A8 90 61 01 BC */ stw r3, 0x1bc(r1) +/* 8011054C 0010D4AC 90 01 01 B8 */ stw r0, 0x1b8(r1) +/* 80110550 0010D4B0 41 82 00 10 */ beq lbl_80110560 +/* 80110554 0010D4B4 D0 C1 00 94 */ stfs f6, 0x94(r1) +/* 80110558 0010D4B8 D0 A1 00 98 */ stfs f5, 0x98(r1) +/* 8011055C 0010D4BC D0 81 00 9C */ stfs f4, 0x9c(r1) +lbl_80110560: +/* 80110560 0010D4C0 80 A1 01 F0 */ lwz r5, 0x1f0(r1) +/* 80110564 0010D4C4 38 60 00 00 */ li r3, 0 +/* 80110568 0010D4C8 2C 05 00 00 */ cmpwi r5, 0 +/* 8011056C 0010D4CC 40 81 00 40 */ ble lbl_801105AC +/* 80110570 0010D4D0 2C 05 00 08 */ cmpwi r5, 8 +/* 80110574 0010D4D4 38 85 FF F8 */ addi r4, r5, -8 +/* 80110578 0010D4D8 40 81 00 20 */ ble lbl_80110598 +/* 8011057C 0010D4DC 38 04 00 07 */ addi r0, r4, 7 +/* 80110580 0010D4E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 80110584 0010D4E4 7C 09 03 A6 */ mtctr r0 +/* 80110588 0010D4E8 2C 04 00 00 */ cmpwi r4, 0 +/* 8011058C 0010D4EC 40 81 00 0C */ ble lbl_80110598 +lbl_80110590: +/* 80110590 0010D4F0 38 63 00 08 */ addi r3, r3, 8 +/* 80110594 0010D4F4 42 00 FF FC */ bdnz lbl_80110590 +lbl_80110598: +/* 80110598 0010D4F8 7C 03 28 50 */ subf r0, r3, r5 +/* 8011059C 0010D4FC 7C 09 03 A6 */ mtctr r0 +/* 801105A0 0010D500 7C 03 28 00 */ cmpw r3, r5 +/* 801105A4 0010D504 40 80 00 08 */ bge lbl_801105AC +lbl_801105A8: +/* 801105A8 0010D508 42 00 00 00 */ bdnz lbl_801105A8 +lbl_801105AC: +/* 801105AC 0010D50C 38 00 00 00 */ li r0, 0 +/* 801105B0 0010D510 90 01 01 F0 */ stw r0, 0x1f0(r1) +lbl_801105B4: +/* 801105B4 0010D514 83 7D 08 4C */ lwz r27, 0x84c(r29) +/* 801105B8 0010D518 7F 83 E3 78 */ mr r3, r28 +/* 801105BC 0010D51C C0 41 01 CC */ lfs f2, 0x1cc(r1) +/* 801105C0 0010D520 C0 21 01 DC */ lfs f1, 0x1dc(r1) +/* 801105C4 0010D524 C0 01 01 EC */ lfs f0, 0x1ec(r1) +/* 801105C8 0010D528 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 801105CC 0010D52C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 801105D0 0010D530 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 801105D4 0010D534 81 9C 00 00 */ lwz r12, 0(r28) +/* 801105D8 0010D538 81 8C 02 C0 */ lwz r12, 0x2c0(r12) +/* 801105DC 0010D53C 7D 89 03 A6 */ mtctr r12 +/* 801105E0 0010D540 4E 80 04 21 */ bctrl +/* 801105E4 0010D544 FC 20 F8 90 */ fmr f1, f31 +/* 801105E8 0010D548 7C 64 1B 78 */ mr r4, r3 +/* 801105EC 0010D54C 7F 67 DB 78 */ mr r7, r27 +/* 801105F0 0010D550 38 61 00 40 */ addi r3, r1, 0x40 +/* 801105F4 0010D554 38 A1 00 34 */ addi r5, r1, 0x34 +/* 801105F8 0010D558 38 C1 00 94 */ addi r6, r1, 0x94 +/* 801105FC 0010D55C 39 00 00 01 */ li r8, 1 +/* 80110600 0010D560 48 10 B8 ED */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf +/* 80110604 0010D564 C0 A1 00 40 */ lfs f5, 0x40(r1) +/* 80110608 0010D568 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8011060C 0010D56C C0 81 00 44 */ lfs f4, 0x44(r1) +/* 80110610 0010D570 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 80110614 0010D574 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 80110618 0010D578 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 8011061C 0010D57C C0 41 01 CC */ lfs f2, 0x1cc(r1) +/* 80110620 0010D580 38 81 00 28 */ addi r4, r1, 0x28 +/* 80110624 0010D584 C0 21 01 DC */ lfs f1, 0x1dc(r1) +/* 80110628 0010D588 38 A1 00 70 */ addi r5, r1, 0x70 +/* 8011062C 0010D58C C0 01 01 EC */ lfs f0, 0x1ec(r1) +/* 80110630 0010D590 D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 80110634 0010D594 D0 81 00 74 */ stfs f4, 0x74(r1) +/* 80110638 0010D598 D0 61 00 78 */ stfs f3, 0x78(r1) +/* 8011063C 0010D59C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 80110640 0010D5A0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80110644 0010D5A4 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80110648 0010D5A8 48 20 34 C9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8011064C 0010D5AC 38 61 01 60 */ addi r3, r1, 0x160 +/* 80110650 0010D5B0 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 80110654 0010D5B4 48 20 25 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80110658 0010D5B8 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 8011065C 0010D5BC 39 40 00 01 */ li r10, 1 +/* 80110660 0010D5C0 38 01 00 1C */ addi r0, r1, 0x1c +/* 80110664 0010D5C4 7F 83 E3 78 */ mr r3, r28 +/* 80110668 0010D5C8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8011066C 0010D5CC 7F A5 EB 78 */ mr r5, r29 +/* 80110670 0010D5D0 38 81 01 60 */ addi r4, r1, 0x160 +/* 80110674 0010D5D4 39 3C 07 1C */ addi r9, r28, 0x71c +/* 80110678 0010D5D8 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8011067C 0010D5DC 38 C0 00 04 */ li r6, 4 +/* 80110680 0010D5E0 38 E0 00 00 */ li r7, 0 +/* 80110684 0010D5E4 39 00 00 00 */ li r8, 0 +/* 80110688 0010D5E8 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8011068C 0010D5EC 91 41 00 08 */ stw r10, 8(r1) +/* 80110690 0010D5F0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80110694 0010D5F4 A1 5C 07 2C */ lhz r10, 0x72c(r28) +/* 80110698 0010D5F8 4B F6 73 61 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" +/* 8011069C 0010D5FC 38 A0 00 01 */ li r5, 1 +/* 801106A0 0010D600 48 00 00 70 */ b lbl_80110710 +/* 801106A4 0010D604 7F A5 EB 78 */ mr r5, r29 +/* 801106A8 0010D608 38 80 00 11 */ li r4, 0x11 +/* 801106AC 0010D60C 38 C0 FF FF */ li r6, -1 +/* 801106B0 0010D610 4B F4 0A 11 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 801106B4 0010D614 A0 1C 00 08 */ lhz r0, 8(r28) +/* 801106B8 0010D618 7F A3 EB 78 */ mr r3, r29 +/* 801106BC 0010D61C 38 81 00 14 */ addi r4, r1, 0x14 +/* 801106C0 0010D620 B0 01 00 10 */ sth r0, 0x10(r1) +/* 801106C4 0010D624 B0 01 00 14 */ sth r0, 0x14(r1) +/* 801106C8 0010D628 4B F3 BB A5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 801106CC 0010D62C 38 A0 00 01 */ li r5, 1 +/* 801106D0 0010D630 48 00 00 40 */ b lbl_80110710 +/* 801106D4 0010D634 7F A6 EB 78 */ mr r6, r29 +/* 801106D8 0010D638 38 80 00 21 */ li r4, 0x21 +/* 801106DC 0010D63C 38 A0 00 13 */ li r5, 0x13 +/* 801106E0 0010D640 4B F4 3B D5 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager +/* 801106E4 0010D644 38 A0 00 01 */ li r5, 1 +/* 801106E8 0010D648 48 00 00 28 */ b lbl_80110710 +/* 801106EC 0010D64C 88 1C 07 2E */ lbz r0, 0x72e(r28) +/* 801106F0 0010D650 38 60 00 01 */ li r3, 1 +/* 801106F4 0010D654 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 801106F8 0010D658 98 1C 07 2E */ stb r0, 0x72e(r28) +/* 801106FC 0010D65C 48 00 00 14 */ b lbl_80110710 +/* 80110700 0010D660 88 1C 07 2E */ lbz r0, 0x72e(r28) +/* 80110704 0010D664 38 60 00 00 */ li r3, 0 +/* 80110708 0010D668 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8011070C 0010D66C 98 1C 07 2E */ stb r0, 0x72e(r28) +lbl_80110710: +/* 80110710 0010D670 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 80110714 0010D674 40 82 00 1C */ bne lbl_80110730 +/* 80110718 0010D678 FC 20 F8 90 */ fmr f1, f31 +/* 8011071C 0010D67C 7F 83 E3 78 */ mr r3, r28 +/* 80110720 0010D680 7F A4 EB 78 */ mr r4, r29 +/* 80110724 0010D684 7F C5 F3 78 */ mr r5, r30 +/* 80110728 0010D688 7F E6 FB 78 */ mr r6, r31 +/* 8011072C 0010D68C 4B F6 87 85 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType +lbl_80110730: +/* 80110730 0010D690 E3 E1 0A 18 */ psq_l f31, -1512(r1), 0, qr0 +/* 80110734 0010D694 CB E1 0A 10 */ lfd f31, 0xa10(r1) +/* 80110738 0010D698 BB 61 09 FC */ lmw r27, 0x9fc(r1) +/* 8011073C 0010D69C 80 01 0A 24 */ lwz r0, 0xa24(r1) +/* 80110740 0010D6A0 7C 08 03 A6 */ mtlr r0 +/* 80110744 0010D6A4 38 21 0A 20 */ addi r1, r1, 0xa20 +/* 80110748 0010D6A8 4E 80 00 20 */ blr + +.global GetCollisionPrimitive__8CWarWaspCFv +GetCollisionPrimitive__8CWarWaspCFv: +/* 8011074C 0010D6AC 38 63 05 70 */ addi r3, r3, 0x570 +/* 80110750 0010D6B0 4E 80 00 20 */ blr + +.global GetTouchBounds__8CWarWaspCFv +GetTouchBounds__8CWarWaspCFv: +/* 80110754 0010D6B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80110758 0010D6B8 7C 08 02 A6 */ mflr r0 +/* 8011075C 0010D6BC 7C 85 23 78 */ mr r5, r4 +/* 80110760 0010D6C0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80110764 0010D6C4 38 85 05 70 */ addi r4, r5, 0x570 +/* 80110768 0010D6C8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011076C 0010D6CC 7C 7F 1B 78 */ mr r31, r3 +/* 80110770 0010D6D0 38 61 00 08 */ addi r3, r1, 8 +/* 80110774 0010D6D4 81 85 05 70 */ lwz r12, 0x570(r5) +/* 80110778 0010D6D8 38 A5 00 34 */ addi r5, r5, 0x34 +/* 8011077C 0010D6DC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 80110780 0010D6E0 7D 89 03 A6 */ mtctr r12 +/* 80110784 0010D6E4 4E 80 04 21 */ bctrl +/* 80110788 0010D6E8 38 00 00 01 */ li r0, 1 +/* 8011078C 0010D6EC 28 1F 00 00 */ cmplwi r31, 0 +/* 80110790 0010D6F0 98 1F 00 18 */ stb r0, 0x18(r31) +/* 80110794 0010D6F4 41 82 00 34 */ beq lbl_801107C8 +/* 80110798 0010D6F8 C0 01 00 08 */ lfs f0, 8(r1) +/* 8011079C 0010D6FC D0 1F 00 00 */ stfs f0, 0(r31) +/* 801107A0 0010D700 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 801107A4 0010D704 D0 1F 00 04 */ stfs f0, 4(r31) +/* 801107A8 0010D708 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 801107AC 0010D70C D0 1F 00 08 */ stfs f0, 8(r31) +/* 801107B0 0010D710 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 801107B4 0010D714 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 801107B8 0010D718 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 801107BC 0010D71C D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 801107C0 0010D720 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 801107C4 0010D724 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_801107C8: +/* 801107C8 0010D728 80 01 00 34 */ lwz r0, 0x34(r1) +/* 801107CC 0010D72C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 801107D0 0010D730 7C 08 03 A6 */ mtlr r0 +/* 801107D4 0010D734 38 21 00 30 */ addi r1, r1, 0x30 +/* 801107D8 0010D738 4E 80 00 20 */ blr + +.global ProjectileInfo__8CWarWaspFv +ProjectileInfo__8CWarWaspFv: +/* 801107DC 0010D73C 38 63 06 D4 */ addi r3, r3, 0x6d4 +/* 801107E0 0010D740 4E 80 00 20 */ blr + +.global Think__8CWarWaspFfR13CStateManager +Think__8CWarWaspFfR13CStateManager: +/* 801107E4 0010D744 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 801107E8 0010D748 7C 08 02 A6 */ mflr r0 +/* 801107EC 0010D74C 90 01 00 54 */ stw r0, 0x54(r1) +/* 801107F0 0010D750 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 801107F4 0010D754 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 801107F8 0010D758 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 801107FC 0010D75C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80110800 0010D760 DB A1 00 20 */ stfd f29, 0x20(r1) +/* 80110804 0010D764 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 +/* 80110808 0010D768 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011080C 0010D76C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80110810 0010D770 88 03 00 30 */ lbz r0, 0x30(r3) +/* 80110814 0010D774 FF A0 08 90 */ fmr f29, f1 +/* 80110818 0010D778 7C 7E 1B 78 */ mr r30, r3 +/* 8011081C 0010D77C 7C 9F 23 78 */ mr r31, r4 +/* 80110820 0010D780 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80110824 0010D784 41 82 00 A8 */ beq lbl_801108CC +/* 80110828 0010D788 C0 3E 07 00 */ lfs f1, 0x700(r30) +/* 8011082C 0010D78C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 80110830 0010D790 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80110834 0010D794 40 81 00 7C */ ble lbl_801108B0 +/* 80110838 0010D798 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 8011083C 0010D79C C0 22 94 DC */ lfs f1, lbl_805AB1FC@sda21(r2) +/* 80110840 0010D7A0 80 04 02 F8 */ lwz r0, 0x2f8(r4) +/* 80110844 0010D7A4 2C 00 00 00 */ cmpwi r0, 0 +/* 80110848 0010D7A8 40 82 00 5C */ bne lbl_801108A4 +/* 8011084C 0010D7AC C0 7E 00 40 */ lfs f3, 0x40(r30) +/* 80110850 0010D7B0 38 61 00 08 */ addi r3, r1, 8 +/* 80110854 0010D7B4 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 80110858 0010D7B8 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 8011085C 0010D7BC C0 04 00 50 */ lfs f0, 0x50(r4) +/* 80110860 0010D7C0 EC 23 08 28 */ fsubs f1, f3, f1 +/* 80110864 0010D7C4 C3 C4 00 48 */ lfs f30, 0x48(r4) +/* 80110868 0010D7C8 EC 42 00 28 */ fsubs f2, f2, f0 +/* 8011086C 0010D7CC C3 E4 00 38 */ lfs f31, 0x38(r4) +/* 80110870 0010D7D0 48 20 39 91 */ bl __ct__9CVector2fFff +/* 80110874 0010D7D4 FC 20 F8 90 */ fmr f1, f31 +/* 80110878 0010D7D8 38 61 00 10 */ addi r3, r1, 0x10 +/* 8011087C 0010D7DC FC 40 F0 90 */ fmr f2, f30 +/* 80110880 0010D7E0 48 20 39 81 */ bl __ct__9CVector2fFff +/* 80110884 0010D7E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80110888 0010D7E8 38 81 00 08 */ addi r4, r1, 8 +/* 8011088C 0010D7EC 48 20 37 39 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f +/* 80110890 0010D7F0 C0 02 95 30 */ lfs f0, lbl_805AB250@sda21(r2) +/* 80110894 0010D7F4 C0 42 95 68 */ lfs f2, lbl_805AB288@sda21(r2) +/* 80110898 0010D7F8 EC 21 00 24 */ fdivs f1, f1, f0 +/* 8011089C 0010D7FC C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) +/* 801108A0 0010D800 EC 22 00 7C */ fnmsubs f1, f2, f1, f0 +lbl_801108A4: +/* 801108A4 0010D804 C0 1E 07 00 */ lfs f0, 0x700(r30) +/* 801108A8 0010D808 EC 1D 00 7C */ fnmsubs f0, f29, f1, f0 +/* 801108AC 0010D80C D0 1E 07 00 */ stfs f0, 0x700(r30) +lbl_801108B0: +/* 801108B0 0010D810 7F C3 F3 78 */ mr r3, r30 +/* 801108B4 0010D814 7F E4 FB 78 */ mr r4, r31 +/* 801108B8 0010D818 4B FF B6 85 */ bl ApplyDamage__8CWarWaspFR13CStateManager +/* 801108BC 0010D81C FC 20 E8 90 */ fmr f1, f29 +/* 801108C0 0010D820 7F C3 F3 78 */ mr r3, r30 +/* 801108C4 0010D824 7F E4 FB 78 */ mr r4, r31 +/* 801108C8 0010D828 4B F6 92 51 */ bl Think__10CPatternedFfR13CStateManager +lbl_801108CC: +/* 801108CC 0010D82C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 801108D0 0010D830 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 801108D4 0010D834 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 801108D8 0010D838 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 801108DC 0010D83C E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 +/* 801108E0 0010D840 CB A1 00 20 */ lfd f29, 0x20(r1) +/* 801108E4 0010D844 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801108E8 0010D848 80 01 00 54 */ lwz r0, 0x54(r1) +/* 801108EC 0010D84C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801108F0 0010D850 7C 08 03 A6 */ mtlr r0 +/* 801108F4 0010D854 38 21 00 50 */ addi r1, r1, 0x50 +/* 801108F8 0010D858 4E 80 00 20 */ blr + +.global Death__8CWarWaspFRC9CVector3fR13CStateManager +Death__8CWarWaspFRC9CVector3fR13CStateManager: +/* 801108FC 0010D85C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80110900 0010D860 7C 08 02 A6 */ mflr r0 +/* 80110904 0010D864 90 01 00 14 */ stw r0, 0x14(r1) +/* 80110908 0010D868 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011090C 0010D86C 7C 9F 23 78 */ mr r31, r4 +/* 80110910 0010D870 93 C1 00 08 */ stw r30, 8(r1) +/* 80110914 0010D874 7C 7E 1B 78 */ mr r30, r3 +/* 80110918 0010D878 4B F6 AA 8D */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState +/* 8011091C 0010D87C 88 1E 03 28 */ lbz r0, 0x328(r30) +/* 80110920 0010D880 38 60 00 00 */ li r3, 0 +/* 80110924 0010D884 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80110928 0010D888 7F C3 F3 78 */ mr r3, r30 +/* 8011092C 0010D88C 98 1E 03 28 */ stb r0, 0x328(r30) +/* 80110930 0010D890 7F E5 FB 78 */ mr r5, r31 +/* 80110934 0010D894 38 80 00 25 */ li r4, 0x25 +/* 80110938 0010D898 4B F4 3A 19 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8011093C 0010D89C 7F C3 F3 78 */ mr r3, r30 +/* 80110940 0010D8A0 7F E4 FB 78 */ mr r4, r31 +/* 80110944 0010D8A4 4B FF CB 0D */ bl SwarmRemove__8CWarWaspFR13CStateManager +/* 80110948 0010D8A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011094C 0010D8AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80110950 0010D8B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80110954 0010D8B4 7C 08 03 A6 */ mtlr r0 +/* 80110958 0010D8B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011095C 0010D8BC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__8CWarWaspF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__8CWarWaspF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80110960 0010D8C0 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80110964 0010D8C4 7C 08 02 A6 */ mflr r0 +/* 80110968 0010D8C8 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011096C 0010D8CC 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80110970 0010D8D0 7C DF 33 78 */ mr r31, r6 +/* 80110974 0010D8D4 93 C1 00 28 */ stw r30, 0x28(r1) +/* 80110978 0010D8D8 7C 9E 23 78 */ mr r30, r4 +/* 8011097C 0010D8DC 93 A1 00 24 */ stw r29, 0x24(r1) +/* 80110980 0010D8E0 7C 7D 1B 78 */ mr r29, r3 +/* 80110984 0010D8E4 A0 05 00 00 */ lhz r0, 0(r5) +/* 80110988 0010D8E8 38 A1 00 0C */ addi r5, r1, 0xc +/* 8011098C 0010D8EC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80110990 0010D8F0 4B F6 C1 E9 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80110994 0010D8F4 2C 1E 00 22 */ cmpwi r30, 0x22 +/* 80110998 0010D8F8 41 82 00 20 */ beq lbl_801109B8 +/* 8011099C 0010D8FC 40 80 00 10 */ bge lbl_801109AC +/* 801109A0 0010D900 2C 1E 00 04 */ cmpwi r30, 4 +/* 801109A4 0010D904 41 82 00 14 */ beq lbl_801109B8 +/* 801109A8 0010D908 48 00 00 B8 */ b lbl_80110A60 +lbl_801109AC: +/* 801109AC 0010D90C 2C 1E 00 24 */ cmpwi r30, 0x24 +/* 801109B0 0010D910 40 80 00 B0 */ bge lbl_80110A60 +/* 801109B4 0010D914 48 00 00 14 */ b lbl_801109C8 +lbl_801109B8: +/* 801109B8 0010D918 7F A3 EB 78 */ mr r3, r29 +/* 801109BC 0010D91C 7F E4 FB 78 */ mr r4, r31 +/* 801109C0 0010D920 4B FF CA 91 */ bl SwarmRemove__8CWarWaspFR13CStateManager +/* 801109C4 0010D924 48 00 00 9C */ b lbl_80110A60 +lbl_801109C8: +/* 801109C8 0010D928 A0 7D 06 74 */ lhz r3, 0x674(r29) +/* 801109CC 0010D92C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801109D0 0010D930 7C 03 00 40 */ cmplw r3, r0 +/* 801109D4 0010D934 40 82 00 1C */ bne lbl_801109F0 +/* 801109D8 0010D938 7F A4 EB 78 */ mr r4, r29 +/* 801109DC 0010D93C 7F E5 FB 78 */ mr r5, r31 +/* 801109E0 0010D940 38 61 00 08 */ addi r3, r1, 8 +/* 801109E4 0010D944 48 12 98 05 */ bl GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager +/* 801109E8 0010D948 A0 01 00 08 */ lhz r0, 8(r1) +/* 801109EC 0010D94C B0 1D 06 74 */ sth r0, 0x674(r29) +lbl_801109F0: +/* 801109F0 0010D950 80 BD 00 04 */ lwz r5, 4(r29) +/* 801109F4 0010D954 38 00 00 00 */ li r0, 0 +/* 801109F8 0010D958 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 801109FC 0010D95C 54 A3 18 38 */ slwi r3, r5, 3 +/* 80110A00 0010D960 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 80110A04 0010D964 80 84 00 20 */ lwz r4, 0x20(r4) +/* 80110A08 0010D968 38 63 00 04 */ addi r3, r3, 4 +/* 80110A0C 0010D96C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 80110A10 0010D970 7C 64 18 2E */ lwzx r3, r4, r3 +/* 80110A14 0010D974 90 A1 00 10 */ stw r5, 0x10(r1) +/* 80110A18 0010D978 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80110A1C 0010D97C 80 63 10 BC */ lwz r3, 0x10bc(r3) +/* 80110A20 0010D980 90 7D 05 90 */ stw r3, 0x590(r29) +/* 80110A24 0010D984 C0 1D 06 B0 */ lfs f0, 0x6b0(r29) +/* 80110A28 0010D988 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80110A2C 0010D98C 40 82 00 1C */ bne lbl_80110A48 +/* 80110A30 0010D990 C0 1D 06 B4 */ lfs f0, 0x6b4(r29) +/* 80110A34 0010D994 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80110A38 0010D998 40 82 00 10 */ bne lbl_80110A48 +/* 80110A3C 0010D99C C0 1D 06 B8 */ lfs f0, 0x6b8(r29) +/* 80110A40 0010D9A0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80110A44 0010D9A4 41 82 00 08 */ beq lbl_80110A4C +lbl_80110A48: +/* 80110A48 0010D9A8 38 00 00 01 */ li r0, 1 +lbl_80110A4C: +/* 80110A4C 0010D9AC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 80110A50 0010D9B0 40 82 00 10 */ bne lbl_80110A60 +/* 80110A54 0010D9B4 7F A3 EB 78 */ mr r3, r29 +/* 80110A58 0010D9B8 7F E4 FB 78 */ mr r4, r31 +/* 80110A5C 0010D9BC 4B FF AF 7D */ bl SetUpCircleBurstWaypoint__8CWarWaspFR13CStateManager +lbl_80110A60: +/* 80110A60 0010D9C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80110A64 0010D9C4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80110A68 0010D9C8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80110A6C 0010D9CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 80110A70 0010D9D0 7C 08 03 A6 */ mtlr r0 +/* 80110A74 0010D9D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80110A78 0010D9D8 4E 80 00 20 */ blr + +.global Accept__8CWarWaspFR8IVisitor +Accept__8CWarWaspFR8IVisitor: +/* 80110A7C 0010D9DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80110A80 0010D9E0 7C 08 02 A6 */ mflr r0 +/* 80110A84 0010D9E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80110A88 0010D9E8 7C 60 1B 78 */ mr r0, r3 +/* 80110A8C 0010D9EC 7C 83 23 78 */ mr r3, r4 +/* 80110A90 0010D9F0 81 84 00 00 */ lwz r12, 0(r4) +/* 80110A94 0010D9F4 7C 04 03 78 */ mr r4, r0 +/* 80110A98 0010D9F8 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 80110A9C 0010D9FC 7D 89 03 A6 */ mtctr r12 +/* 80110AA0 0010DA00 4E 80 04 21 */ bctrl +/* 80110AA4 0010DA04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80110AA8 0010DA08 7C 08 03 A6 */ mtlr r0 +/* 80110AAC 0010DA0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 80110AB0 0010DA10 4E 80 00 20 */ blr + +.global __dt__8CWarWaspFv +__dt__8CWarWaspFv: +/* 80110AB4 0010DA14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80110AB8 0010DA18 7C 08 02 A6 */ mflr r0 +/* 80110ABC 0010DA1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80110AC0 0010DA20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80110AC4 0010DA24 7C 9F 23 78 */ mr r31, r4 +/* 80110AC8 0010DA28 93 C1 00 08 */ stw r30, 8(r1) +/* 80110ACC 0010DA2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80110AD0 0010DA30 41 82 01 10 */ beq lbl_80110BE0 +/* 80110AD4 0010DA34 3C 60 80 3E */ lis r3, lbl_803DFF90@ha +/* 80110AD8 0010DA38 34 1E 07 1C */ addic. r0, r30, 0x71c +/* 80110ADC 0010DA3C 38 03 FF 90 */ addi r0, r3, lbl_803DFF90@l +/* 80110AE0 0010DA40 90 1E 00 00 */ stw r0, 0(r30) +/* 80110AE4 0010DA44 41 82 00 30 */ beq lbl_80110B14 +/* 80110AE8 0010DA48 88 1E 07 28 */ lbz r0, 0x728(r30) +/* 80110AEC 0010DA4C 28 00 00 00 */ cmplwi r0, 0 +/* 80110AF0 0010DA50 41 82 00 1C */ beq lbl_80110B0C +/* 80110AF4 0010DA54 34 7E 07 1C */ addic. r3, r30, 0x71c +/* 80110AF8 0010DA58 41 82 00 14 */ beq lbl_80110B0C +/* 80110AFC 0010DA5C 28 03 00 00 */ cmplwi r3, 0 +/* 80110B00 0010DA60 41 82 00 0C */ beq lbl_80110B0C +/* 80110B04 0010DA64 38 80 00 00 */ li r4, 0 +/* 80110B08 0010DA68 48 23 03 39 */ bl __dt__6CTokenFv +lbl_80110B0C: +/* 80110B0C 0010DA6C 38 00 00 00 */ li r0, 0 +/* 80110B10 0010DA70 98 1E 07 28 */ stb r0, 0x728(r30) +lbl_80110B14: +/* 80110B14 0010DA74 34 1E 06 D4 */ addic. r0, r30, 0x6d4 +/* 80110B18 0010DA78 41 82 00 20 */ beq lbl_80110B38 +/* 80110B1C 0010DA7C 34 1E 06 D4 */ addic. r0, r30, 0x6d4 +/* 80110B20 0010DA80 41 82 00 18 */ beq lbl_80110B38 +/* 80110B24 0010DA84 34 1E 06 D4 */ addic. r0, r30, 0x6d4 +/* 80110B28 0010DA88 41 82 00 10 */ beq lbl_80110B38 +/* 80110B2C 0010DA8C 38 7E 06 D4 */ addi r3, r30, 0x6d4 +/* 80110B30 0010DA90 38 80 00 00 */ li r4, 0 +/* 80110B34 0010DA94 48 23 03 0D */ bl __dt__6CTokenFv +lbl_80110B38: +/* 80110B38 0010DA98 34 1E 05 90 */ addic. r0, r30, 0x590 +/* 80110B3C 0010DA9C 41 82 00 60 */ beq lbl_80110B9C +/* 80110B40 0010DAA0 34 1E 05 94 */ addic. r0, r30, 0x594 +/* 80110B44 0010DAA4 41 82 00 58 */ beq lbl_80110B9C +/* 80110B48 0010DAA8 80 BE 05 94 */ lwz r5, 0x594(r30) +/* 80110B4C 0010DAAC 38 60 00 00 */ li r3, 0 +/* 80110B50 0010DAB0 2C 05 00 00 */ cmpwi r5, 0 +/* 80110B54 0010DAB4 40 81 00 40 */ ble lbl_80110B94 +/* 80110B58 0010DAB8 2C 05 00 08 */ cmpwi r5, 8 +/* 80110B5C 0010DABC 38 85 FF F8 */ addi r4, r5, -8 +/* 80110B60 0010DAC0 40 81 00 20 */ ble lbl_80110B80 +/* 80110B64 0010DAC4 38 04 00 07 */ addi r0, r4, 7 +/* 80110B68 0010DAC8 54 00 E8 FE */ srwi r0, r0, 3 +/* 80110B6C 0010DACC 7C 09 03 A6 */ mtctr r0 +/* 80110B70 0010DAD0 2C 04 00 00 */ cmpwi r4, 0 +/* 80110B74 0010DAD4 40 81 00 0C */ ble lbl_80110B80 +lbl_80110B78: +/* 80110B78 0010DAD8 38 63 00 08 */ addi r3, r3, 8 +/* 80110B7C 0010DADC 42 00 FF FC */ bdnz lbl_80110B78 +lbl_80110B80: +/* 80110B80 0010DAE0 7C 03 28 50 */ subf r0, r3, r5 +/* 80110B84 0010DAE4 7C 09 03 A6 */ mtctr r0 +/* 80110B88 0010DAE8 7C 03 28 00 */ cmpw r3, r5 +/* 80110B8C 0010DAEC 40 80 00 08 */ bge lbl_80110B94 +lbl_80110B90: +/* 80110B90 0010DAF0 42 00 00 00 */ bdnz lbl_80110B90 +lbl_80110B94: +/* 80110B94 0010DAF4 38 00 00 00 */ li r0, 0 +/* 80110B98 0010DAF8 90 1E 05 94 */ stw r0, 0x594(r30) +lbl_80110B9C: +/* 80110B9C 0010DAFC 34 1E 05 70 */ addic. r0, r30, 0x570 +/* 80110BA0 0010DB00 41 82 00 24 */ beq lbl_80110BC4 +/* 80110BA4 0010DB04 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80110BA8 0010DB08 34 1E 05 70 */ addic. r0, r30, 0x570 +/* 80110BAC 0010DB0C 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 80110BB0 0010DB10 90 1E 05 70 */ stw r0, 0x570(r30) +/* 80110BB4 0010DB14 41 82 00 10 */ beq lbl_80110BC4 +/* 80110BB8 0010DB18 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 80110BBC 0010DB1C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 80110BC0 0010DB20 90 1E 05 70 */ stw r0, 0x570(r30) +lbl_80110BC4: +/* 80110BC4 0010DB24 7F C3 F3 78 */ mr r3, r30 +/* 80110BC8 0010DB28 38 80 00 00 */ li r4, 0 +/* 80110BCC 0010DB2C 4B F6 69 A5 */ bl __dt__10CPatternedFv +/* 80110BD0 0010DB30 7F E0 07 35 */ extsh. r0, r31 +/* 80110BD4 0010DB34 40 81 00 0C */ ble lbl_80110BE0 +/* 80110BD8 0010DB38 7F C3 F3 78 */ mr r3, r30 +/* 80110BDC 0010DB3C 48 20 4D 55 */ bl Free__7CMemoryFPCv +lbl_80110BE0: +/* 80110BE0 0010DB40 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80110BE4 0010DB44 7F C3 F3 78 */ mr r3, r30 +/* 80110BE8 0010DB48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80110BEC 0010DB4C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80110BF0 0010DB50 7C 08 03 A6 */ mtlr r0 +/* 80110BF4 0010DB54 38 21 00 10 */ addi r1, r1, 0x10 +/* 80110BF8 0010DB58 4E 80 00 20 */ blr + +.global "__ct__8CWarWaspF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned11EFlavorTypeQ210CPatterned13EColliderTypeRC11CDamageInfoRC16CActorParametersUiRC11CDamageInfoUiUi" +"__ct__8CWarWaspF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned11EFlavorTypeQ210CPatterned13EColliderTypeRC11CDamageInfoRC16CActorParametersUiRC11CDamageInfoUiUi": +/* 80110BFC 0010DB5C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80110C00 0010DB60 7C 08 02 A6 */ mflr r0 +/* 80110C04 0010DB64 7C CC 33 78 */ mr r12, r6 +/* 80110C08 0010DB68 7D 0B 43 78 */ mr r11, r8 +/* 80110C0C 0010DB6C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80110C10 0010DB70 7D 88 63 78 */ mr r8, r12 +/* 80110C14 0010DB74 80 C1 00 78 */ lwz r6, 0x78(r1) +/* 80110C18 0010DB78 BE E1 00 4C */ stmw r23, 0x4c(r1) +/* 80110C1C 0010DB7C 7D 39 4B 78 */ mr r25, r9 +/* 80110C20 0010DB80 7D 5A 53 78 */ mr r26, r10 +/* 80110C24 0010DB84 7C E9 3B 78 */ mr r9, r7 +/* 80110C28 0010DB88 81 41 00 80 */ lwz r10, 0x80(r1) +/* 80110C2C 0010DB8C 7C 78 1B 78 */ mr r24, r3 +/* 80110C30 0010DB90 83 61 00 7C */ lwz r27, 0x7c(r1) +/* 80110C34 0010DB94 7F 47 D3 78 */ mr r7, r26 +/* 80110C38 0010DB98 83 81 00 84 */ lwz r28, 0x84(r1) +/* 80110C3C 0010DB9C 83 A1 00 88 */ lwz r29, 0x88(r1) +/* 80110C40 0010DBA0 83 C1 00 8C */ lwz r30, 0x8c(r1) +/* 80110C44 0010DBA4 83 E1 00 90 */ lwz r31, 0x90(r1) +/* 80110C48 0010DBA8 A0 04 00 00 */ lhz r0, 0(r4) +/* 80110C4C 0010DBAC 38 80 00 03 */ li r4, 3 +/* 80110C50 0010DBB0 B0 01 00 20 */ sth r0, 0x20(r1) +/* 80110C54 0010DBB4 38 00 00 01 */ li r0, 1 +/* 80110C58 0010DBB8 93 21 00 08 */ stw r25, 8(r1) +/* 80110C5C 0010DBBC 90 01 00 0C */ stw r0, 0xc(r1) +/* 80110C60 0010DBC0 38 00 00 00 */ li r0, 0 +/* 80110C64 0010DBC4 90 C1 00 10 */ stw r6, 0x10(r1) +/* 80110C68 0010DBC8 7C A6 2B 78 */ mr r6, r5 +/* 80110C6C 0010DBCC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 80110C70 0010DBD0 90 81 00 14 */ stw r4, 0x14(r1) +/* 80110C74 0010DBD4 38 80 00 27 */ li r4, 0x27 +/* 80110C78 0010DBD8 91 41 00 18 */ stw r10, 0x18(r1) +/* 80110C7C 0010DBDC 7D 6A 5B 78 */ mr r10, r11 +/* 80110C80 0010DBE0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80110C84 0010DBE4 4B F6 C7 CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" +/* 80110C88 0010DBE8 3C 60 80 3E */ lis r3, lbl_803DFF90@ha +/* 80110C8C 0010DBEC 3A F8 05 70 */ addi r23, r24, 0x570 +/* 80110C90 0010DBF0 38 03 FF 90 */ addi r0, r3, lbl_803DFF90@l +/* 80110C94 0010DBF4 38 98 00 68 */ addi r4, r24, 0x68 +/* 80110C98 0010DBF8 90 18 00 00 */ stw r0, 0(r24) +/* 80110C9C 0010DBFC 38 00 FF FF */ li r0, -1 +/* 80110CA0 0010DC00 7E E3 BB 78 */ mr r3, r23 +/* 80110CA4 0010DC04 90 18 05 68 */ stw r0, 0x568(r24) +/* 80110CA8 0010DC08 48 1B EC 0D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 80110CAC 0010DC0C 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 80110CB0 0010DC10 C0 22 94 DC */ lfs f1, lbl_805AB1FC@sda21(r2) +/* 80110CB4 0010DC14 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 80110CB8 0010DC18 C0 62 94 F0 */ lfs f3, lbl_805AB210@sda21(r2) +/* 80110CBC 0010DC1C 90 17 00 00 */ stw r0, 0(r23) +/* 80110CC0 0010DC20 FC 40 08 90 */ fmr f2, f1 +/* 80110CC4 0010DC24 C0 02 95 6C */ lfs f0, lbl_805AB28C@sda21(r2) +/* 80110CC8 0010DC28 38 78 05 90 */ addi r3, r24, 0x590 +/* 80110CCC 0010DC2C D0 77 00 10 */ stfs f3, 0x10(r23) +/* 80110CD0 0010DC30 38 80 00 00 */ li r4, 0 +/* 80110CD4 0010DC34 38 A0 00 03 */ li r5, 3 +/* 80110CD8 0010DC38 D0 77 00 14 */ stfs f3, 0x14(r23) +/* 80110CDC 0010DC3C D0 17 00 18 */ stfs f0, 0x18(r23) +/* 80110CE0 0010DC40 D0 37 00 1C */ stfs f1, 0x1c(r23) +/* 80110CE4 0010DC44 80 D9 01 0C */ lwz r6, 0x10c(r25) +/* 80110CE8 0010DC48 48 0B 80 AD */ bl __ct__15CPathFindSearchFP7CPFAreaUiff +/* 80110CEC 0010DC4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80110CF0 0010DC50 3C 80 80 5A */ lis r4, skZero3f@ha +/* 80110CF4 0010DC54 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 80110CF8 0010DC58 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) +/* 80110CFC 0010DC5C B0 18 06 74 */ sth r0, 0x674(r24) +/* 80110D00 0010DC60 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 80110D04 0010DC64 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l +/* 80110D08 0010DC68 7F 84 E3 78 */ mr r4, r28 +/* 80110D0C 0010DC6C C0 27 00 00 */ lfs f1, 0(r7) +/* 80110D10 0010DC70 7F A5 EB 78 */ mr r5, r29 +/* 80110D14 0010DC74 38 78 06 D4 */ addi r3, r24, 0x6d4 +/* 80110D18 0010DC78 D0 38 06 78 */ stfs f1, 0x678(r24) +/* 80110D1C 0010DC7C C0 27 00 04 */ lfs f1, 4(r7) +/* 80110D20 0010DC80 D0 38 06 7C */ stfs f1, 0x67c(r24) +/* 80110D24 0010DC84 C0 27 00 08 */ lfs f1, 8(r7) +/* 80110D28 0010DC88 D0 38 06 80 */ stfs f1, 0x680(r24) +/* 80110D2C 0010DC8C 80 1B 00 00 */ lwz r0, 0(r27) +/* 80110D30 0010DC90 90 18 06 84 */ stw r0, 0x684(r24) +/* 80110D34 0010DC94 88 1B 00 04 */ lbz r0, 4(r27) +/* 80110D38 0010DC98 98 18 06 88 */ stb r0, 0x688(r24) +/* 80110D3C 0010DC9C C0 3B 00 08 */ lfs f1, 8(r27) +/* 80110D40 0010DCA0 D0 38 06 8C */ stfs f1, 0x68c(r24) +/* 80110D44 0010DCA4 C0 3B 00 0C */ lfs f1, 0xc(r27) +/* 80110D48 0010DCA8 D0 38 06 90 */ stfs f1, 0x690(r24) +/* 80110D4C 0010DCAC C0 3B 00 10 */ lfs f1, 0x10(r27) +/* 80110D50 0010DCB0 D0 38 06 94 */ stfs f1, 0x694(r24) +/* 80110D54 0010DCB4 C0 3B 00 14 */ lfs f1, 0x14(r27) +/* 80110D58 0010DCB8 D0 38 06 98 */ stfs f1, 0x698(r24) +/* 80110D5C 0010DCBC 88 1B 00 18 */ lbz r0, 0x18(r27) +/* 80110D60 0010DCC0 98 18 06 9C */ stb r0, 0x69c(r24) +/* 80110D64 0010DCC4 C0 26 00 00 */ lfs f1, 0(r6) +/* 80110D68 0010DCC8 D0 38 06 A0 */ stfs f1, 0x6a0(r24) +/* 80110D6C 0010DCCC C0 26 00 04 */ lfs f1, 4(r6) +/* 80110D70 0010DCD0 D0 38 06 A4 */ stfs f1, 0x6a4(r24) +/* 80110D74 0010DCD4 C0 26 00 08 */ lfs f1, 8(r6) +/* 80110D78 0010DCD8 D0 38 06 A8 */ stfs f1, 0x6a8(r24) +/* 80110D7C 0010DCDC C0 26 00 0C */ lfs f1, 0xc(r6) +/* 80110D80 0010DCE0 D0 38 06 AC */ stfs f1, 0x6ac(r24) +/* 80110D84 0010DCE4 C0 27 00 00 */ lfs f1, 0(r7) +/* 80110D88 0010DCE8 D0 38 06 B0 */ stfs f1, 0x6b0(r24) +/* 80110D8C 0010DCEC C0 27 00 04 */ lfs f1, 4(r7) +/* 80110D90 0010DCF0 D0 38 06 B4 */ stfs f1, 0x6b4(r24) +/* 80110D94 0010DCF4 C0 27 00 08 */ lfs f1, 8(r7) +/* 80110D98 0010DCF8 D0 38 06 B8 */ stfs f1, 0x6b8(r24) +/* 80110D9C 0010DCFC D0 18 06 BC */ stfs f0, 0x6bc(r24) +/* 80110DA0 0010DD00 D0 18 06 C0 */ stfs f0, 0x6c0(r24) +/* 80110DA4 0010DD04 D0 18 06 C4 */ stfs f0, 0x6c4(r24) +/* 80110DA8 0010DD08 D0 18 06 C8 */ stfs f0, 0x6c8(r24) +/* 80110DAC 0010DD0C D0 18 06 CC */ stfs f0, 0x6cc(r24) +/* 80110DB0 0010DD10 D0 18 06 D0 */ stfs f0, 0x6d0(r24) +/* 80110DB4 0010DD14 48 10 B2 F5 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo +/* 80110DB8 0010DD18 C0 18 03 B4 */ lfs f0, 0x3b4(r24) +/* 80110DBC 0010DD1C 38 80 FF FF */ li r4, -1 +/* 80110DC0 0010DD20 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) +/* 80110DC4 0010DD24 38 00 00 00 */ li r0, 0 +/* 80110DC8 0010DD28 D0 18 06 FC */ stfs f0, 0x6fc(r24) +/* 80110DCC 0010DD2C 57 E3 04 3E */ clrlwi r3, r31, 0x10 +/* 80110DD0 0010DD30 C0 02 95 5C */ lfs f0, lbl_805AB27C@sda21(r2) +/* 80110DD4 0010DD34 D0 38 07 00 */ stfs f1, 0x700(r24) +/* 80110DD8 0010DD38 90 98 07 04 */ stw r4, 0x704(r24) +/* 80110DDC 0010DD3C 90 98 07 08 */ stw r4, 0x708(r24) +/* 80110DE0 0010DD40 90 98 07 0C */ stw r4, 0x70c(r24) +/* 80110DE4 0010DD44 90 98 07 10 */ stw r4, 0x710(r24) +/* 80110DE8 0010DD48 D0 38 07 14 */ stfs f1, 0x714(r24) +/* 80110DEC 0010DD4C D0 18 07 18 */ stfs f0, 0x718(r24) +/* 80110DF0 0010DD50 98 18 07 28 */ stb r0, 0x728(r24) +/* 80110DF4 0010DD54 48 1D 7B BD */ bl TranslateSFXID__11CSfxManagerFUs +/* 80110DF8 0010DD58 B0 78 07 2C */ sth r3, 0x72c(r24) +/* 80110DFC 0010DD5C 38 60 00 01 */ li r3, 1 +/* 80110E00 0010DD60 38 80 00 00 */ li r4, 0 +/* 80110E04 0010DD64 2C 1A 00 02 */ cmpwi r26, 2 +/* 80110E08 0010DD68 88 18 07 2E */ lbz r0, 0x72e(r24) +/* 80110E0C 0010DD6C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80110E10 0010DD70 98 18 07 2E */ stb r0, 0x72e(r24) +/* 80110E14 0010DD74 88 18 07 2E */ lbz r0, 0x72e(r24) +/* 80110E18 0010DD78 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 80110E1C 0010DD7C 98 18 07 2E */ stb r0, 0x72e(r24) +/* 80110E20 0010DD80 88 79 00 F8 */ lbz r3, 0xf8(r25) +/* 80110E24 0010DD84 88 18 07 2E */ lbz r0, 0x72e(r24) +/* 80110E28 0010DD88 7C 63 00 34 */ cntlzw r3, r3 +/* 80110E2C 0010DD8C 50 60 06 B4 */ rlwimi r0, r3, 0, 0x1a, 0x1a +/* 80110E30 0010DD90 98 18 07 2E */ stb r0, 0x72e(r24) +/* 80110E34 0010DD94 88 18 07 2E */ lbz r0, 0x72e(r24) +/* 80110E38 0010DD98 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80110E3C 0010DD9C 98 18 07 2E */ stb r0, 0x72e(r24) +/* 80110E40 0010DDA0 88 18 07 2E */ lbz r0, 0x72e(r24) +/* 80110E44 0010DDA4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 80110E48 0010DDA8 98 18 07 2E */ stb r0, 0x72e(r24) +/* 80110E4C 0010DDAC 88 18 07 2E */ lbz r0, 0x72e(r24) +/* 80110E50 0010DDB0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 80110E54 0010DDB4 98 18 07 2E */ stb r0, 0x72e(r24) +/* 80110E58 0010DDB8 88 18 07 2E */ lbz r0, 0x72e(r24) +/* 80110E5C 0010DDBC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 80110E60 0010DDC0 98 18 07 2E */ stb r0, 0x72e(r24) +/* 80110E64 0010DDC4 88 18 07 2E */ lbz r0, 0x72e(r24) +/* 80110E68 0010DDC8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 80110E6C 0010DDCC 98 18 07 2E */ stb r0, 0x72e(r24) +/* 80110E70 0010DDD0 40 82 00 0C */ bne lbl_80110E7C +/* 80110E74 0010DDD4 38 78 06 D4 */ addi r3, r24, 0x6d4 +/* 80110E78 0010DDD8 48 22 FF 0D */ bl Lock__6CTokenFv +lbl_80110E7C: +/* 80110E7C 0010DDDC 7F 03 C3 78 */ mr r3, r24 +/* 80110E80 0010DDE0 4B FF B2 B5 */ bl UpdateTouchBounds__8CWarWaspFv +/* 80110E84 0010DDE4 C0 22 95 34 */ lfs f1, lbl_805AB254@sda21(r2) +/* 80110E88 0010DDE8 7F 03 C3 78 */ mr r3, r24 +/* 80110E8C 0010DDEC 48 00 96 55 */ bl SetCoefficientOfRestitutionModifier__13CPhysicsActorFf +/* 80110E90 0010DDF0 3C 1E 00 01 */ addis r0, r30, 1 +/* 80110E94 0010DDF4 28 00 FF FF */ cmplwi r0, 0xffff +/* 80110E98 0010DDF8 41 82 00 BC */ beq lbl_80110F54 +/* 80110E9C 0010DDFC 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80110EA0 0010DE00 93 C1 00 30 */ stw r30, 0x30(r1) +/* 80110EA4 0010DE04 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80110EA8 0010DE08 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80110EAC 0010DE0C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80110EB0 0010DE10 38 61 00 24 */ addi r3, r1, 0x24 +/* 80110EB4 0010DE14 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80110EB8 0010DE18 81 84 00 00 */ lwz r12, 0(r4) +/* 80110EBC 0010DE1C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80110EC0 0010DE20 7D 89 03 A6 */ mtctr r12 +/* 80110EC4 0010DE24 4E 80 04 21 */ bctrl +/* 80110EC8 0010DE28 3A E1 00 34 */ addi r23, r1, 0x34 +/* 80110ECC 0010DE2C 38 81 00 24 */ addi r4, r1, 0x24 +/* 80110ED0 0010DE30 7E E3 BB 78 */ mr r3, r23 +/* 80110ED4 0010DE34 48 22 FF D5 */ bl __ct__6CTokenFRC6CToken +/* 80110ED8 0010DE38 7E E3 BB 78 */ mr r3, r23 +/* 80110EDC 0010DE3C 48 22 FF 31 */ bl GetObj__6CTokenFv +/* 80110EE0 0010DE40 80 03 00 04 */ lwz r0, 4(r3) +/* 80110EE4 0010DE44 90 01 00 3C */ stw r0, 0x3c(r1) +/* 80110EE8 0010DE48 88 18 07 28 */ lbz r0, 0x728(r24) +/* 80110EEC 0010DE4C 28 00 00 00 */ cmplwi r0, 0 +/* 80110EF0 0010DE50 40 82 00 34 */ bne lbl_80110F24 +/* 80110EF4 0010DE54 37 38 07 1C */ addic. r25, r24, 0x71c +/* 80110EF8 0010DE58 41 82 00 20 */ beq lbl_80110F18 +/* 80110EFC 0010DE5C 7F 23 CB 78 */ mr r3, r25 +/* 80110F00 0010DE60 7E E4 BB 78 */ mr r4, r23 +/* 80110F04 0010DE64 48 22 FF A5 */ bl __ct__6CTokenFRC6CToken +/* 80110F08 0010DE68 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80110F0C 0010DE6C 7F 23 CB 78 */ mr r3, r25 +/* 80110F10 0010DE70 90 19 00 08 */ stw r0, 8(r25) +/* 80110F14 0010DE74 48 22 FE 71 */ bl Lock__6CTokenFv +lbl_80110F18: +/* 80110F18 0010DE78 38 00 00 01 */ li r0, 1 +/* 80110F1C 0010DE7C 98 18 07 28 */ stb r0, 0x728(r24) +/* 80110F20 0010DE80 48 00 00 1C */ b lbl_80110F3C +lbl_80110F24: +/* 80110F24 0010DE84 3B 38 07 1C */ addi r25, r24, 0x71c +/* 80110F28 0010DE88 7E E4 BB 78 */ mr r4, r23 +/* 80110F2C 0010DE8C 7F 23 CB 78 */ mr r3, r25 +/* 80110F30 0010DE90 48 22 FD 95 */ bl __as__6CTokenFRC6CToken +/* 80110F34 0010DE94 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80110F38 0010DE98 90 19 00 08 */ stw r0, 8(r25) +lbl_80110F3C: +/* 80110F3C 0010DE9C 38 61 00 34 */ addi r3, r1, 0x34 +/* 80110F40 0010DEA0 38 80 00 00 */ li r4, 0 +/* 80110F44 0010DEA4 48 22 FE FD */ bl __dt__6CTokenFv +/* 80110F48 0010DEA8 38 61 00 24 */ addi r3, r1, 0x24 +/* 80110F4C 0010DEAC 38 80 FF FF */ li r4, -1 +/* 80110F50 0010DEB0 48 22 FE F1 */ bl __dt__6CTokenFv +lbl_80110F54: +/* 80110F54 0010DEB4 88 18 03 28 */ lbz r0, 0x328(r24) +/* 80110F58 0010DEB8 38 60 00 01 */ li r3, 1 +/* 80110F5C 0010DEBC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80110F60 0010DEC0 38 78 04 60 */ addi r3, r24, 0x460 +/* 80110F64 0010DEC4 98 18 03 28 */ stb r0, 0x328(r24) +/* 80110F68 0010DEC8 38 80 00 02 */ li r4, 2 +/* 80110F6C 0010DECC 38 A0 00 02 */ li r5, 2 +/* 80110F70 0010DED0 48 12 2E 25 */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState +/* 80110F74 0010DED4 7F 03 C3 78 */ mr r3, r24 +/* 80110F78 0010DED8 BA E1 00 4C */ lmw r23, 0x4c(r1) +/* 80110F7C 0010DEDC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80110F80 0010DEE0 7C 08 03 A6 */ mtlr r0 +/* 80110F84 0010DEE4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80110F88 0010DEE8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CGrappleArm.s b/asm/Kyoto_CWD/Player/CGrappleArm.s new file mode 100644 index 00000000..5c99ce78 --- /dev/null +++ b/asm/Kyoto_CWD/Player/CGrappleArm.s @@ -0,0 +1,3393 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global DisconnectGrappleBeam__11CGrappleArmFv +DisconnectGrappleBeam__11CGrappleArmFv: +/* 8011D4B4 0011A414 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011D4B8 0011A418 7C 08 02 A6 */ mflr r0 +/* 8011D4BC 0011A41C 38 80 00 00 */ li r4, 0 +/* 8011D4C0 0011A420 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011D4C4 0011A424 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011D4C8 0011A428 7C 7F 1B 78 */ mr r31, r3 +/* 8011D4CC 0011A42C 80 63 03 94 */ lwz r3, 0x394(r3) +/* 8011D4D0 0011A430 81 83 00 00 */ lwz r12, 0(r3) +/* 8011D4D4 0011A434 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8011D4D8 0011A438 7D 89 03 A6 */ mtctr r12 +/* 8011D4DC 0011A43C 4E 80 04 21 */ bctrl +/* 8011D4E0 0011A440 88 1F 03 B2 */ lbz r0, 0x3b2(r31) +/* 8011D4E4 0011A444 38 60 00 00 */ li r3, 0 +/* 8011D4E8 0011A448 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8011D4EC 0011A44C 7F E3 FB 78 */ mr r3, r31 +/* 8011D4F0 0011A450 98 1F 03 B2 */ stb r0, 0x3b2(r31) +/* 8011D4F4 0011A454 48 00 0B E5 */ bl GrappleBeamDisconnected__11CGrappleArmFv +/* 8011D4F8 0011A458 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011D4FC 0011A45C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011D500 0011A460 7C 08 03 A6 */ mtlr r0 +/* 8011D504 0011A464 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011D508 0011A468 4E 80 00 20 */ blr + +.global PointGenerator__11CGrappleArmFPvPC9CVector3fPC9CVector3fi +PointGenerator__11CGrappleArmFPvPC9CVector3fPC9CVector3fi: +/* 8011D50C 0011A46C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011D510 0011A470 7C 08 02 A6 */ mflr r0 +/* 8011D514 0011A474 28 03 00 00 */ cmplwi r3, 0 +/* 8011D518 0011A478 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011D51C 0011A47C 41 82 00 08 */ beq lbl_8011D524 +/* 8011D520 0011A480 48 14 D0 C1 */ bl GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi +lbl_8011D524: +/* 8011D524 0011A484 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011D528 0011A488 7C 08 03 A6 */ mtlr r0 +/* 8011D52C 0011A48C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011D530 0011A490 4E 80 00 20 */ blr + +.global RenderXRayModel__11CGrappleArmFRC13CStateManagerRC12CTransform4fRC11CModelFlags +RenderXRayModel__11CGrappleArmFRC13CStateManagerRC12CTransform4fRC11CModelFlags: +/* 8011D534 0011A494 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 8011D538 0011A498 7C 08 02 A6 */ mflr r0 +/* 8011D53C 0011A49C 7C A4 2B 78 */ mr r4, r5 +/* 8011D540 0011A4A0 90 01 01 04 */ stw r0, 0x104(r1) +/* 8011D544 0011A4A4 93 E1 00 FC */ stw r31, 0xfc(r1) +/* 8011D548 0011A4A8 7C DF 33 78 */ mr r31, r6 +/* 8011D54C 0011A4AC 93 C1 00 F8 */ stw r30, 0xf8(r1) +/* 8011D550 0011A4B0 7C 7E 1B 78 */ mr r30, r3 +/* 8011D554 0011A4B4 C0 43 00 00 */ lfs f2, 0(r3) +/* 8011D558 0011A4B8 C0 23 00 04 */ lfs f1, 4(r3) +/* 8011D55C 0011A4BC C0 03 00 08 */ lfs f0, 8(r3) +/* 8011D560 0011A4C0 38 61 00 74 */ addi r3, r1, 0x74 +/* 8011D564 0011A4C4 D0 41 00 08 */ stfs f2, 8(r1) +/* 8011D568 0011A4C8 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8011D56C 0011A4CC D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8011D570 0011A4D0 48 1F 56 05 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011D574 0011A4D4 C0 21 00 08 */ lfs f1, 8(r1) +/* 8011D578 0011A4D8 38 61 00 44 */ addi r3, r1, 0x44 +/* 8011D57C 0011A4DC C0 41 00 0C */ lfs f2, 0xc(r1) +/* 8011D580 0011A4E0 C0 61 00 10 */ lfs f3, 0x10(r1) +/* 8011D584 0011A4E4 48 1F 5C 85 */ bl Scale__12CTransform4fFfff +/* 8011D588 0011A4E8 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011D58C 0011A4EC 38 81 00 74 */ addi r4, r1, 0x74 +/* 8011D590 0011A4F0 38 A1 00 44 */ addi r5, r1, 0x44 +/* 8011D594 0011A4F4 48 1F 53 BD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011D598 0011A4F8 38 61 00 74 */ addi r3, r1, 0x74 +/* 8011D59C 0011A4FC 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011D5A0 0011A500 48 1F 55 A1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8011D5A4 0011A504 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011D5A8 0011A508 38 81 00 74 */ addi r4, r1, 0x74 +/* 8011D5AC 0011A50C 81 83 00 00 */ lwz r12, 0(r3) +/* 8011D5B0 0011A510 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8011D5B4 0011A514 7D 89 03 A6 */ mtctr r12 +/* 8011D5B8 0011A518 4E 80 04 21 */ bctrl +/* 8011D5BC 0011A51C 48 1E F3 C1 */ bl DisableAllLights__9CGraphicsFv +/* 8011D5C0 0011A520 48 22 C9 ED */ bl White__6CColorFv +/* 8011D5C4 0011A524 7C 64 1B 78 */ mr r4, r3 +/* 8011D5C8 0011A528 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011D5CC 0011A52C 81 83 00 00 */ lwz r12, 0(r3) +/* 8011D5D0 0011A530 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 8011D5D4 0011A534 7D 89 03 A6 */ mtctr r12 +/* 8011D5D8 0011A538 4E 80 04 21 */ bctrl +/* 8011D5DC 0011A53C 38 00 00 00 */ li r0, 0 +/* 8011D5E0 0011A540 80 9E 00 60 */ lwz r4, 0x60(r30) +/* 8011D5E4 0011A544 98 01 00 EC */ stb r0, 0xec(r1) +/* 8011D5E8 0011A548 7F E5 FB 78 */ mr r5, r31 +/* 8011D5EC 0011A54C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8011D5F0 0011A550 38 C1 00 A4 */ addi r6, r1, 0xa4 +/* 8011D5F4 0011A554 80 84 00 E0 */ lwz r4, 0xe0(r4) +/* 8011D5F8 0011A558 38 E0 00 00 */ li r7, 0 +/* 8011D5FC 0011A55C 4B F0 F3 21 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" +/* 8011D600 0011A560 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 8011D604 0011A564 38 80 FF FF */ li r4, -1 +/* 8011D608 0011A568 4B F5 A6 85 */ bl sub_80077c8c +/* 8011D60C 0011A56C 48 22 C9 A1 */ bl White__6CColorFv +/* 8011D610 0011A570 7C 64 1B 78 */ mr r4, r3 +/* 8011D614 0011A574 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011D618 0011A578 81 83 00 00 */ lwz r12, 0(r3) +/* 8011D61C 0011A57C 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 8011D620 0011A580 7D 89 03 A6 */ mtctr r12 +/* 8011D624 0011A584 4E 80 04 21 */ bctrl +/* 8011D628 0011A588 48 1E F3 55 */ bl DisableAllLights__9CGraphicsFv +/* 8011D62C 0011A58C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 8011D630 0011A590 83 E1 00 FC */ lwz r31, 0xfc(r1) +/* 8011D634 0011A594 83 C1 00 F8 */ lwz r30, 0xf8(r1) +/* 8011D638 0011A598 7C 08 03 A6 */ mtlr r0 +/* 8011D63C 0011A59C 38 21 01 00 */ addi r1, r1, 0x100 +/* 8011D640 0011A5A0 4E 80 00 20 */ blr + +.global BuildSuitDependencyList__11CGrappleArmFv +BuildSuitDependencyList__11CGrappleArmFv: +/* 8011D644 0011A5A4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 8011D648 0011A5A8 7C 08 02 A6 */ mflr r0 +/* 8011D64C 0011A5AC 90 01 00 74 */ stw r0, 0x74(r1) +/* 8011D650 0011A5B0 BE A1 00 44 */ stmw r21, 0x44(r1) +/* 8011D654 0011A5B4 7C 7A 1B 78 */ mr r26, r3 +/* 8011D658 0011A5B8 38 7A 01 84 */ addi r3, r26, 0x184 +/* 8011D65C 0011A5BC 48 22 37 29 */ bl Lock__6CTokenFv +/* 8011D660 0011A5C0 3C 60 80 3D */ lis r3, lbl_803CF320@ha +/* 8011D664 0011A5C4 3B 9A 01 A0 */ addi r28, r26, 0x1a0 +/* 8011D668 0011A5C8 3B C3 F3 20 */ addi r30, r3, lbl_803CF320@l +/* 8011D66C 0011A5CC 3B 21 00 30 */ addi r25, r1, 0x30 +/* 8011D670 0011A5D0 7F 9D E3 78 */ mr r29, r28 +/* 8011D674 0011A5D4 3B 60 00 00 */ li r27, 0 +lbl_8011D678: +/* 8011D678 0011A5D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8011D67C 0011A5DC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011D680 0011A5E0 80 BE 00 00 */ lwz r5, 0(r30) +/* 8011D684 0011A5E4 81 84 00 00 */ lwz r12, 0(r4) +/* 8011D688 0011A5E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8011D68C 0011A5EC 7D 89 03 A6 */ mtctr r12 +/* 8011D690 0011A5F0 4E 80 04 21 */ bctrl +/* 8011D694 0011A5F4 7F 23 CB 78 */ mr r3, r25 +/* 8011D698 0011A5F8 38 81 00 18 */ addi r4, r1, 0x18 +/* 8011D69C 0011A5FC 48 22 38 0D */ bl __ct__6CTokenFRC6CToken +/* 8011D6A0 0011A600 7F 23 CB 78 */ mr r3, r25 +/* 8011D6A4 0011A604 48 22 37 69 */ bl GetObj__6CTokenFv +/* 8011D6A8 0011A608 80 03 00 04 */ lwz r0, 4(r3) +/* 8011D6AC 0011A60C 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011D6B0 0011A610 38 80 FF FF */ li r4, -1 +/* 8011D6B4 0011A614 90 01 00 38 */ stw r0, 0x38(r1) +/* 8011D6B8 0011A618 48 22 37 89 */ bl __dt__6CTokenFv +/* 8011D6BC 0011A61C 80 1A 01 9C */ lwz r0, 0x19c(r26) +/* 8011D6C0 0011A620 38 60 00 00 */ li r3, 0 +/* 8011D6C4 0011A624 90 61 00 24 */ stw r3, 0x24(r1) +/* 8011D6C8 0011A628 54 00 20 36 */ slwi r0, r0, 4 +/* 8011D6CC 0011A62C 83 E1 00 38 */ lwz r31, 0x38(r1) +/* 8011D6D0 0011A630 7F 1C 02 15 */ add. r24, r28, r0 +/* 8011D6D4 0011A634 90 61 00 28 */ stw r3, 0x28(r1) +/* 8011D6D8 0011A638 90 61 00 2C */ stw r3, 0x2c(r1) +/* 8011D6DC 0011A63C 41 82 00 8C */ beq lbl_8011D768 +/* 8011D6E0 0011A640 90 78 00 04 */ stw r3, 4(r24) +/* 8011D6E4 0011A644 2C 03 00 00 */ cmpwi r3, 0 +/* 8011D6E8 0011A648 90 78 00 08 */ stw r3, 8(r24) +/* 8011D6EC 0011A64C 40 82 00 10 */ bne lbl_8011D6FC +/* 8011D6F0 0011A650 40 82 00 0C */ bne lbl_8011D6FC +/* 8011D6F4 0011A654 90 78 00 0C */ stw r3, 0xc(r24) +/* 8011D6F8 0011A658 48 00 00 70 */ b lbl_8011D768 +lbl_8011D6FC: +/* 8011D6FC 0011A65C 80 18 00 08 */ lwz r0, 8(r24) +/* 8011D700 0011A660 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c +/* 8011D704 0011A664 40 82 00 10 */ bne lbl_8011D714 +/* 8011D708 0011A668 38 00 00 00 */ li r0, 0 +/* 8011D70C 0011A66C 90 18 00 0C */ stw r0, 0xc(r24) +/* 8011D710 0011A670 48 00 00 1C */ b lbl_8011D72C +lbl_8011D714: +/* 8011D714 0011A674 3C 80 80 3D */ lis r4, lbl_803CF360@ha +/* 8011D718 0011A678 38 A0 00 00 */ li r5, 0 +/* 8011D71C 0011A67C 38 84 F3 60 */ addi r4, r4, lbl_803CF360@l +/* 8011D720 0011A680 38 84 00 C4 */ addi r4, r4, 0xc4 +/* 8011D724 0011A684 48 1F 80 F5 */ bl __nwa__FUlPCcPCc +/* 8011D728 0011A688 90 78 00 0C */ stw r3, 0xc(r24) +lbl_8011D72C: +/* 8011D72C 0011A68C 82 B8 00 04 */ lwz r21, 4(r24) +/* 8011D730 0011A690 3A E0 00 00 */ li r23, 0 +/* 8011D734 0011A694 82 C1 00 2C */ lwz r22, 0x2c(r1) +/* 8011D738 0011A698 83 18 00 0C */ lwz r24, 0xc(r24) +/* 8011D73C 0011A69C 48 00 00 24 */ b lbl_8011D760 +lbl_8011D740: +/* 8011D740 0011A6A0 28 18 00 00 */ cmplwi r24, 0 +/* 8011D744 0011A6A4 41 82 00 10 */ beq lbl_8011D754 +/* 8011D748 0011A6A8 7F 03 C3 78 */ mr r3, r24 +/* 8011D74C 0011A6AC 7E C4 B3 78 */ mr r4, r22 +/* 8011D750 0011A6B0 48 22 37 59 */ bl __ct__6CTokenFRC6CToken +lbl_8011D754: +/* 8011D754 0011A6B4 3B 18 00 08 */ addi r24, r24, 8 +/* 8011D758 0011A6B8 3A F7 00 01 */ addi r23, r23, 1 +/* 8011D75C 0011A6BC 3A D6 00 08 */ addi r22, r22, 8 +lbl_8011D760: +/* 8011D760 0011A6C0 7C 17 A8 00 */ cmpw r23, r21 +/* 8011D764 0011A6C4 41 80 FF DC */ blt lbl_8011D740 +lbl_8011D768: +/* 8011D768 0011A6C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011D76C 0011A6CC 82 A1 00 2C */ lwz r21, 0x2c(r1) +/* 8011D770 0011A6D0 54 00 18 38 */ slwi r0, r0, 3 +/* 8011D774 0011A6D4 80 7A 01 9C */ lwz r3, 0x19c(r26) +/* 8011D778 0011A6D8 7F 15 02 14 */ add r24, r21, r0 +/* 8011D77C 0011A6DC 92 A1 00 0C */ stw r21, 0xc(r1) +/* 8011D780 0011A6E0 38 03 00 01 */ addi r0, r3, 1 +/* 8011D784 0011A6E4 90 1A 01 9C */ stw r0, 0x19c(r26) +/* 8011D788 0011A6E8 93 01 00 14 */ stw r24, 0x14(r1) +/* 8011D78C 0011A6EC 93 01 00 10 */ stw r24, 0x10(r1) +/* 8011D790 0011A6F0 92 A1 00 08 */ stw r21, 8(r1) +/* 8011D794 0011A6F4 48 00 00 14 */ b lbl_8011D7A8 +lbl_8011D798: +/* 8011D798 0011A6F8 7E A3 AB 78 */ mr r3, r21 +/* 8011D79C 0011A6FC 38 80 FF FF */ li r4, -1 +/* 8011D7A0 0011A700 48 22 36 A1 */ bl __dt__6CTokenFv +/* 8011D7A4 0011A704 3A B5 00 08 */ addi r21, r21, 8 +lbl_8011D7A8: +/* 8011D7A8 0011A708 7C 15 C0 40 */ cmplw r21, r24 +/* 8011D7AC 0011A70C 40 82 FF EC */ bne lbl_8011D798 +/* 8011D7B0 0011A710 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 8011D7B4 0011A714 28 03 00 00 */ cmplwi r3, 0 +/* 8011D7B8 0011A718 41 82 00 08 */ beq lbl_8011D7C0 +/* 8011D7BC 0011A71C 48 1F 81 75 */ bl Free__7CMemoryFPCv +lbl_8011D7C0: +/* 8011D7C0 0011A720 7F 43 D3 78 */ mr r3, r26 +/* 8011D7C4 0011A724 7F E4 FB 78 */ mr r4, r31 +/* 8011D7C8 0011A728 7F A5 EB 78 */ mr r5, r29 +/* 8011D7CC 0011A72C 48 00 00 39 */ bl "FillTokenVector__11CGrappleArmFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +/* 8011D7D0 0011A730 38 61 00 30 */ addi r3, r1, 0x30 +/* 8011D7D4 0011A734 38 80 00 00 */ li r4, 0 +/* 8011D7D8 0011A738 48 22 36 69 */ bl __dt__6CTokenFv +/* 8011D7DC 0011A73C 3B 7B 00 01 */ addi r27, r27, 1 +/* 8011D7E0 0011A740 3B BD 00 10 */ addi r29, r29, 0x10 +/* 8011D7E4 0011A744 2C 1B 00 08 */ cmpwi r27, 8 +/* 8011D7E8 0011A748 3B DE 00 04 */ addi r30, r30, 4 +/* 8011D7EC 0011A74C 41 80 FE 8C */ blt lbl_8011D678 +/* 8011D7F0 0011A750 BA A1 00 44 */ lmw r21, 0x44(r1) +/* 8011D7F4 0011A754 80 01 00 74 */ lwz r0, 0x74(r1) +/* 8011D7F8 0011A758 7C 08 03 A6 */ mtlr r0 +/* 8011D7FC 0011A75C 38 21 00 70 */ addi r1, r1, 0x70 +/* 8011D800 0011A760 4E 80 00 20 */ blr + +.global "FillTokenVector__11CGrappleArmFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +"FillTokenVector__11CGrappleArmFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": +/* 8011D804 0011A764 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011D808 0011A768 7C 08 02 A6 */ mflr r0 +/* 8011D80C 0011A76C 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011D810 0011A770 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011D814 0011A774 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8011D818 0011A778 7C BE 2B 78 */ mr r30, r5 +/* 8011D81C 0011A77C 7F C3 F3 78 */ mr r3, r30 +/* 8011D820 0011A780 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8011D824 0011A784 7C 9D 23 78 */ mr r29, r4 +/* 8011D828 0011A788 80 84 00 04 */ lwz r4, 4(r4) +/* 8011D82C 0011A78C 4B EE B1 31 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 8011D830 0011A790 83 FD 00 0C */ lwz r31, 0xc(r29) +/* 8011D834 0011A794 48 00 00 98 */ b lbl_8011D8CC +lbl_8011D838: +/* 8011D838 0011A798 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8011D83C 0011A79C 7F E5 FB 78 */ mr r5, r31 +/* 8011D840 0011A7A0 38 61 00 08 */ addi r3, r1, 8 +/* 8011D844 0011A7A4 81 84 00 00 */ lwz r12, 0(r4) +/* 8011D848 0011A7A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011D84C 0011A7AC 7D 89 03 A6 */ mtctr r12 +/* 8011D850 0011A7B0 4E 80 04 21 */ bctrl +/* 8011D854 0011A7B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 8011D858 0011A7B8 38 81 00 08 */ addi r4, r1, 8 +/* 8011D85C 0011A7BC 48 22 36 4D */ bl __ct__6CTokenFRC6CToken +/* 8011D860 0011A7C0 38 61 00 08 */ addi r3, r1, 8 +/* 8011D864 0011A7C4 38 80 FF FF */ li r4, -1 +/* 8011D868 0011A7C8 48 22 35 D9 */ bl __dt__6CTokenFv +/* 8011D86C 0011A7CC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8011D870 0011A7D0 80 BE 00 08 */ lwz r5, 8(r30) +/* 8011D874 0011A7D4 7C 00 28 00 */ cmpw r0, r5 +/* 8011D878 0011A7D8 41 80 00 1C */ blt lbl_8011D894 +/* 8011D87C 0011A7DC 2C 05 00 00 */ cmpwi r5, 0 +/* 8011D880 0011A7E0 7F C3 F3 78 */ mr r3, r30 +/* 8011D884 0011A7E4 38 80 00 04 */ li r4, 4 +/* 8011D888 0011A7E8 41 82 00 08 */ beq lbl_8011D890 +/* 8011D88C 0011A7EC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_8011D890: +/* 8011D890 0011A7F0 4B EE B0 CD */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_8011D894: +/* 8011D894 0011A7F4 80 1E 00 04 */ lwz r0, 4(r30) +/* 8011D898 0011A7F8 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8011D89C 0011A7FC 54 00 18 38 */ slwi r0, r0, 3 +/* 8011D8A0 0011A800 7C 63 02 15 */ add. r3, r3, r0 +/* 8011D8A4 0011A804 41 82 00 0C */ beq lbl_8011D8B0 +/* 8011D8A8 0011A808 38 81 00 10 */ addi r4, r1, 0x10 +/* 8011D8AC 0011A80C 48 22 35 FD */ bl __ct__6CTokenFRC6CToken +lbl_8011D8B0: +/* 8011D8B0 0011A810 80 BE 00 04 */ lwz r5, 4(r30) +/* 8011D8B4 0011A814 38 61 00 10 */ addi r3, r1, 0x10 +/* 8011D8B8 0011A818 38 80 FF FF */ li r4, -1 +/* 8011D8BC 0011A81C 38 05 00 01 */ addi r0, r5, 1 +/* 8011D8C0 0011A820 90 1E 00 04 */ stw r0, 4(r30) +/* 8011D8C4 0011A824 48 22 35 7D */ bl __dt__6CTokenFv +/* 8011D8C8 0011A828 3B FF 00 08 */ addi r31, r31, 8 +lbl_8011D8CC: +/* 8011D8CC 0011A82C 80 1D 00 04 */ lwz r0, 4(r29) +/* 8011D8D0 0011A830 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 8011D8D4 0011A834 54 00 18 38 */ slwi r0, r0, 3 +/* 8011D8D8 0011A838 7C 03 02 14 */ add r0, r3, r0 +/* 8011D8DC 0011A83C 7C 1F 00 40 */ cmplw r31, r0 +/* 8011D8E0 0011A840 40 82 FF 58 */ bne lbl_8011D838 +/* 8011D8E4 0011A844 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011D8E8 0011A848 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011D8EC 0011A84C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8011D8F0 0011A850 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8011D8F4 0011A854 7C 08 03 A6 */ mtlr r0 +/* 8011D8F8 0011A858 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011D8FC 0011A85C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CGrappleArmF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CGrappleArmF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8011D900 0011A860 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011D904 0011A864 7C 08 02 A6 */ mflr r0 +/* 8011D908 0011A868 2C 04 00 21 */ cmpwi r4, 0x21 +/* 8011D90C 0011A86C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011D910 0011A870 41 82 00 08 */ beq lbl_8011D918 +/* 8011D914 0011A874 48 00 00 0C */ b lbl_8011D920 +lbl_8011D918: +/* 8011D918 0011A878 7C C4 33 78 */ mr r4, r6 +/* 8011D91C 0011A87C 48 00 02 B9 */ bl AsyncLoadSuit__11CGrappleArmFR13CStateManager +lbl_8011D920: +/* 8011D920 0011A880 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011D924 0011A884 7C 08 03 A6 */ mtlr r0 +/* 8011D928 0011A888 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011D92C 0011A88C 4E 80 00 20 */ blr + +.global BuildXRayModel__11CGrappleArmFv +BuildXRayModel__11CGrappleArmFv: +/* 8011D930 0011A890 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8011D934 0011A894 7C 08 02 A6 */ mflr r0 +/* 8011D938 0011A898 90 01 00 84 */ stw r0, 0x84(r1) +/* 8011D93C 0011A89C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8011D940 0011A8A0 7C 7F 1B 78 */ mr r31, r3 +/* 8011D944 0011A8A4 80 63 03 28 */ lwz r3, 0x328(r3) +/* 8011D948 0011A8A8 28 03 00 00 */ cmplwi r3, 0 +/* 8011D94C 0011A8AC 40 82 00 0C */ bne lbl_8011D958 +/* 8011D950 0011A8B0 38 E0 00 29 */ li r7, 0x29 +/* 8011D954 0011A8B4 48 00 00 08 */ b lbl_8011D95C +lbl_8011D958: +/* 8011D958 0011A8B8 80 E3 00 54 */ lwz r7, 0x54(r3) +lbl_8011D95C: +/* 8011D95C 0011A8BC 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) +/* 8011D960 0011A8C0 38 A0 00 08 */ li r5, 8 +/* 8011D964 0011A8C4 38 00 00 00 */ li r0, 0 +/* 8011D968 0011A8C8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8011D96C 0011A8CC 80 C4 00 08 */ lwz r6, 8(r4) +/* 8011D970 0011A8D0 38 81 00 08 */ addi r4, r1, 8 +/* 8011D974 0011A8D4 90 C1 00 08 */ stw r6, 8(r1) +/* 8011D978 0011A8D8 90 A1 00 0C */ stw r5, 0xc(r1) +/* 8011D97C 0011A8DC C0 1F 03 1C */ lfs f0, 0x31c(r31) +/* 8011D980 0011A8E0 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8011D984 0011A8E4 C0 1F 03 20 */ lfs f0, 0x320(r31) +/* 8011D988 0011A8E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8011D98C 0011A8EC C0 1F 03 24 */ lfs f0, 0x324(r31) +/* 8011D990 0011A8F0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8011D994 0011A8F4 98 01 00 1C */ stb r0, 0x1c(r1) +/* 8011D998 0011A8F8 90 E1 00 20 */ stw r7, 0x20(r1) +/* 8011D99C 0011A8FC 4B FF 91 B9 */ bl __ct__10CModelDataFRC8CAnimRes +/* 8011D9A0 0011A900 38 7F 00 50 */ addi r3, r31, 0x50 +/* 8011D9A4 0011A904 38 81 00 24 */ addi r4, r1, 0x24 +/* 8011D9A8 0011A908 4B FC 04 D1 */ bl sub_800dde78 +/* 8011D9AC 0011A90C 38 61 00 24 */ addi r3, r1, 0x24 +/* 8011D9B0 0011A910 38 80 FF FF */ li r4, -1 +/* 8011D9B4 0011A914 4B FF 90 99 */ bl __dt__10CModelDataFv +/* 8011D9B8 0011A918 88 1F 00 64 */ lbz r0, 0x64(r31) +/* 8011D9BC 0011A91C 38 60 00 01 */ li r3, 1 +/* 8011D9C0 0011A920 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8011D9C4 0011A924 98 1F 00 64 */ stb r0, 0x64(r31) +/* 8011D9C8 0011A928 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8011D9CC 0011A92C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8011D9D0 0011A930 7C 08 03 A6 */ mtlr r0 +/* 8011D9D4 0011A934 38 21 00 80 */ addi r1, r1, 0x80 +/* 8011D9D8 0011A938 4E 80 00 20 */ blr + +.global LoadSuitPoll__11CGrappleArmFv +LoadSuitPoll__11CGrappleArmFv: +/* 8011D9DC 0011A93C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8011D9E0 0011A940 7C 08 02 A6 */ mflr r0 +/* 8011D9E4 0011A944 90 01 00 84 */ stw r0, 0x84(r1) +/* 8011D9E8 0011A948 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 8011D9EC 0011A94C 7C 7F 1B 78 */ mr r31, r3 +/* 8011D9F0 0011A950 80 03 03 A8 */ lwz r0, 0x3a8(r3) +/* 8011D9F4 0011A954 54 00 20 36 */ slwi r0, r0, 4 +/* 8011D9F8 0011A958 7C 7F 02 14 */ add r3, r31, r0 +/* 8011D9FC 0011A95C 38 63 01 A0 */ addi r3, r3, 0x1a0 +/* 8011DA00 0011A960 48 16 D8 2D */ bl "are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +/* 8011DA04 0011A964 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011DA08 0011A968 41 82 00 B8 */ beq lbl_8011DAC0 +/* 8011DA0C 0011A96C 80 6D A1 48 */ lwz r3, gpTweakGunRes@sda21(r13) +/* 8011DA10 0011A970 38 A0 00 00 */ li r5, 0 +/* 8011DA14 0011A974 80 FF 03 A8 */ lwz r7, 0x3a8(r31) +/* 8011DA18 0011A978 38 00 00 29 */ li r0, 0x29 +/* 8011DA1C 0011A97C 80 C3 00 08 */ lwz r6, 8(r3) +/* 8011DA20 0011A980 38 61 00 24 */ addi r3, r1, 0x24 +/* 8011DA24 0011A984 38 81 00 08 */ addi r4, r1, 8 +/* 8011DA28 0011A988 90 C1 00 08 */ stw r6, 8(r1) +/* 8011DA2C 0011A98C 90 E1 00 0C */ stw r7, 0xc(r1) +/* 8011DA30 0011A990 C0 1F 03 1C */ lfs f0, 0x31c(r31) +/* 8011DA34 0011A994 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8011DA38 0011A998 C0 1F 03 20 */ lfs f0, 0x320(r31) +/* 8011DA3C 0011A99C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8011DA40 0011A9A0 C0 1F 03 24 */ lfs f0, 0x324(r31) +/* 8011DA44 0011A9A4 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8011DA48 0011A9A8 98 A1 00 1C */ stb r5, 0x1c(r1) +/* 8011DA4C 0011A9AC 90 01 00 20 */ stw r0, 0x20(r1) +/* 8011DA50 0011A9B0 4B FF 91 05 */ bl __ct__10CModelDataFRC8CAnimRes +/* 8011DA54 0011A9B4 7F E3 FB 78 */ mr r3, r31 +/* 8011DA58 0011A9B8 38 81 00 24 */ addi r4, r1, 0x24 +/* 8011DA5C 0011A9BC 4B FC 04 1D */ bl sub_800dde78 +/* 8011DA60 0011A9C0 38 61 00 24 */ addi r3, r1, 0x24 +/* 8011DA64 0011A9C4 38 80 FF FF */ li r4, -1 +/* 8011DA68 0011A9C8 4B FF 8F E5 */ bl __dt__10CModelDataFv +/* 8011DA6C 0011A9CC 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 8011DA70 0011A9D0 38 60 00 01 */ li r3, 1 +/* 8011DA74 0011A9D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8011DA78 0011A9D8 3C 60 80 3D */ lis r3, lbl_803CF360@ha +/* 8011DA7C 0011A9DC 38 63 F3 60 */ addi r3, r3, lbl_803CF360@l +/* 8011DA80 0011A9E0 98 1F 00 14 */ stb r0, 0x14(r31) +/* 8011DA84 0011A9E4 38 83 00 C4 */ addi r4, r3, 0xc4 +/* 8011DA88 0011A9E8 38 60 00 5C */ li r3, 0x5c +/* 8011DA8C 0011A9EC 38 A0 00 00 */ li r5, 0 +/* 8011DA90 0011A9F0 48 1F 7D DD */ bl __nw__FUlPCcPCc +/* 8011DA94 0011A9F4 7C 64 1B 79 */ or. r4, r3, r3 +/* 8011DA98 0011A9F8 41 82 00 10 */ beq lbl_8011DAA8 +/* 8011DA9C 0011A9FC 7F E4 FB 78 */ mr r4, r31 +/* 8011DAA0 0011AA00 48 0A F1 95 */ bl __ct__14CGunControllerFR10CModelData +/* 8011DAA4 0011AA04 7C 64 1B 78 */ mr r4, r3 +lbl_8011DAA8: +/* 8011DAA8 0011AA08 38 7F 03 28 */ addi r3, r31, 0x328 +/* 8011DAAC 0011AA0C 48 00 00 29 */ bl "__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController" +/* 8011DAB0 0011AA10 88 1F 03 B2 */ lbz r0, 0x3b2(r31) +/* 8011DAB4 0011AA14 38 60 00 00 */ li r3, 0 +/* 8011DAB8 0011AA18 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8011DABC 0011AA1C 98 1F 03 B2 */ stb r0, 0x3b2(r31) +lbl_8011DAC0: +/* 8011DAC0 0011AA20 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8011DAC4 0011AA24 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 8011DAC8 0011AA28 7C 08 03 A6 */ mtlr r0 +/* 8011DACC 0011AA2C 38 21 00 80 */ addi r1, r1, 0x80 +/* 8011DAD0 0011AA30 4E 80 00 20 */ blr + +.global "__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController" +"__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController": +/* 8011DAD4 0011AA34 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011DAD8 0011AA38 7C 08 02 A6 */ mflr r0 +/* 8011DADC 0011AA3C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011DAE0 0011AA40 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011DAE4 0011AA44 7C 9F 23 78 */ mr r31, r4 +/* 8011DAE8 0011AA48 38 80 00 01 */ li r4, 1 +/* 8011DAEC 0011AA4C 93 C1 00 08 */ stw r30, 8(r1) +/* 8011DAF0 0011AA50 7C 7E 1B 78 */ mr r30, r3 +/* 8011DAF4 0011AA54 80 63 00 00 */ lwz r3, 0(r3) +/* 8011DAF8 0011AA58 48 00 00 25 */ bl __dt__14CGunControllerFv +/* 8011DAFC 0011AA5C 93 FE 00 00 */ stw r31, 0(r30) +/* 8011DB00 0011AA60 7F C3 F3 78 */ mr r3, r30 +/* 8011DB04 0011AA64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011DB08 0011AA68 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011DB0C 0011AA6C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8011DB10 0011AA70 7C 08 03 A6 */ mtlr r0 +/* 8011DB14 0011AA74 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011DB18 0011AA78 4E 80 00 20 */ blr + +.global __dt__14CGunControllerFv +__dt__14CGunControllerFv: +/* 8011DB1C 0011AA7C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011DB20 0011AA80 7C 08 02 A6 */ mflr r0 +/* 8011DB24 0011AA84 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011DB28 0011AA88 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011DB2C 0011AA8C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8011DB30 0011AA90 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8011DB34 0011AA94 7C 9D 23 78 */ mr r29, r4 +/* 8011DB38 0011AA98 93 81 00 20 */ stw r28, 0x20(r1) +/* 8011DB3C 0011AA9C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 8011DB40 0011AAA0 41 82 00 70 */ beq lbl_8011DBB0 +/* 8011DB44 0011AAA4 34 1C 00 30 */ addic. r0, r28, 0x30 +/* 8011DB48 0011AAA8 41 82 00 58 */ beq lbl_8011DBA0 +/* 8011DB4C 0011AAAC 34 1C 00 30 */ addic. r0, r28, 0x30 +/* 8011DB50 0011AAB0 41 82 00 50 */ beq lbl_8011DBA0 +/* 8011DB54 0011AAB4 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 8011DB58 0011AAB8 83 DC 00 3C */ lwz r30, 0x3c(r28) +/* 8011DB5C 0011AABC 54 00 18 38 */ slwi r0, r0, 3 +/* 8011DB60 0011AAC0 7F FE 02 14 */ add r31, r30, r0 +/* 8011DB64 0011AAC4 93 C1 00 0C */ stw r30, 0xc(r1) +/* 8011DB68 0011AAC8 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8011DB6C 0011AACC 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8011DB70 0011AAD0 93 C1 00 08 */ stw r30, 8(r1) +/* 8011DB74 0011AAD4 48 00 00 14 */ b lbl_8011DB88 +lbl_8011DB78: +/* 8011DB78 0011AAD8 7F C3 F3 78 */ mr r3, r30 +/* 8011DB7C 0011AADC 38 80 FF FF */ li r4, -1 +/* 8011DB80 0011AAE0 48 22 32 C1 */ bl __dt__6CTokenFv +/* 8011DB84 0011AAE4 3B DE 00 08 */ addi r30, r30, 8 +lbl_8011DB88: +/* 8011DB88 0011AAE8 7C 1E F8 40 */ cmplw r30, r31 +/* 8011DB8C 0011AAEC 40 82 FF EC */ bne lbl_8011DB78 +/* 8011DB90 0011AAF0 80 7C 00 3C */ lwz r3, 0x3c(r28) +/* 8011DB94 0011AAF4 28 03 00 00 */ cmplwi r3, 0 +/* 8011DB98 0011AAF8 41 82 00 08 */ beq lbl_8011DBA0 +/* 8011DB9C 0011AAFC 48 1F 7D 95 */ bl Free__7CMemoryFPCv +lbl_8011DBA0: +/* 8011DBA0 0011AB00 7F A0 07 35 */ extsh. r0, r29 +/* 8011DBA4 0011AB04 40 81 00 0C */ ble lbl_8011DBB0 +/* 8011DBA8 0011AB08 7F 83 E3 78 */ mr r3, r28 +/* 8011DBAC 0011AB0C 48 1F 7D 85 */ bl Free__7CMemoryFPCv +lbl_8011DBB0: +/* 8011DBB0 0011AB10 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011DBB4 0011AB14 7F 83 E3 78 */ mr r3, r28 +/* 8011DBB8 0011AB18 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011DBBC 0011AB1C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8011DBC0 0011AB20 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8011DBC4 0011AB24 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8011DBC8 0011AB28 7C 08 03 A6 */ mtlr r0 +/* 8011DBCC 0011AB2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011DBD0 0011AB30 4E 80 00 20 */ blr + +.global AsyncLoadSuit__11CGrappleArmFR13CStateManager +AsyncLoadSuit__11CGrappleArmFR13CStateManager: +/* 8011DBD4 0011AB34 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8011DBD8 0011AB38 7C 08 02 A6 */ mflr r0 +/* 8011DBDC 0011AB3C 90 01 00 94 */ stw r0, 0x94(r1) +/* 8011DBE0 0011AB40 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8011DBE4 0011AB44 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8011DBE8 0011AB48 7C 7E 1B 78 */ mr r30, r3 +/* 8011DBEC 0011AB4C 7C 83 23 78 */ mr r3, r4 +/* 8011DBF0 0011AB50 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8011DBF4 0011AB54 93 81 00 80 */ stw r28, 0x80(r1) +/* 8011DBF8 0011AB58 48 16 CD D5 */ bl get_current_suit__12NWeaponTypesFRC13CStateManager +/* 8011DBFC 0011AB5C 80 1E 03 A8 */ lwz r0, 0x3a8(r30) +/* 8011DC00 0011AB60 7C 7F 1B 78 */ mr r31, r3 +/* 8011DC04 0011AB64 7C 1F 00 00 */ cmpw r31, r0 +/* 8011DC08 0011AB68 41 82 01 24 */ beq lbl_8011DD2C +/* 8011DC0C 0011AB6C 38 00 00 00 */ li r0, 0 +/* 8011DC10 0011AB70 7F C3 F3 78 */ mr r3, r30 +/* 8011DC14 0011AB74 98 01 00 74 */ stb r0, 0x74(r1) +/* 8011DC18 0011AB78 38 81 00 28 */ addi r4, r1, 0x28 +/* 8011DC1C 0011AB7C 48 00 01 31 */ bl sub_8011dd4c +/* 8011DC20 0011AB80 88 01 00 74 */ lbz r0, 0x74(r1) +/* 8011DC24 0011AB84 28 00 00 00 */ cmplwi r0, 0 +/* 8011DC28 0011AB88 41 82 00 10 */ beq lbl_8011DC38 +/* 8011DC2C 0011AB8C 38 61 00 28 */ addi r3, r1, 0x28 +/* 8011DC30 0011AB90 38 80 FF FF */ li r4, -1 +/* 8011DC34 0011AB94 4B FF 8E 19 */ bl __dt__10CModelDataFv +lbl_8011DC38: +/* 8011DC38 0011AB98 38 00 00 00 */ li r0, 0 +/* 8011DC3C 0011AB9C 38 7E 03 28 */ addi r3, r30, 0x328 +/* 8011DC40 0011ABA0 98 01 00 74 */ stb r0, 0x74(r1) +/* 8011DC44 0011ABA4 38 80 00 00 */ li r4, 0 +/* 8011DC48 0011ABA8 4B FF FE 8D */ bl "__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController" +/* 8011DC4C 0011ABAC 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011DC50 0011ABB0 38 60 00 01 */ li r3, 1 +/* 8011DC54 0011ABB4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 8011DC58 0011ABB8 98 1E 03 B2 */ stb r0, 0x3b2(r30) +/* 8011DC5C 0011ABBC 80 1E 03 A8 */ lwz r0, 0x3a8(r30) +/* 8011DC60 0011ABC0 2C 00 FF FF */ cmpwi r0, -1 +/* 8011DC64 0011ABC4 41 82 00 84 */ beq lbl_8011DCE8 +/* 8011DC68 0011ABC8 3B BE 01 A0 */ addi r29, r30, 0x1a0 +/* 8011DC6C 0011ABCC 54 00 20 36 */ slwi r0, r0, 4 +/* 8011DC70 0011ABD0 7C 7D 02 14 */ add r3, r29, r0 +/* 8011DC74 0011ABD4 48 16 D5 01 */ bl "unlock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +/* 8011DC78 0011ABD8 38 00 00 00 */ li r0, 0 +/* 8011DC7C 0011ABDC 38 81 00 18 */ addi r4, r1, 0x18 +/* 8011DC80 0011ABE0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8011DC84 0011ABE4 90 01 00 20 */ stw r0, 0x20(r1) +/* 8011DC88 0011ABE8 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011DC8C 0011ABEC 80 1E 03 A8 */ lwz r0, 0x3a8(r30) +/* 8011DC90 0011ABF0 54 00 20 36 */ slwi r0, r0, 4 +/* 8011DC94 0011ABF4 7C 7D 02 14 */ add r3, r29, r0 +/* 8011DC98 0011ABF8 4B EE 8B 6D */ bl sub_80006804 +/* 8011DC9C 0011ABFC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 8011DCA0 0011AC00 83 81 00 24 */ lwz r28, 0x24(r1) +/* 8011DCA4 0011AC04 54 00 18 38 */ slwi r0, r0, 3 +/* 8011DCA8 0011AC08 7F BC 02 14 */ add r29, r28, r0 +/* 8011DCAC 0011AC0C 93 81 00 0C */ stw r28, 0xc(r1) +/* 8011DCB0 0011AC10 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8011DCB4 0011AC14 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8011DCB8 0011AC18 93 81 00 08 */ stw r28, 8(r1) +/* 8011DCBC 0011AC1C 48 00 00 14 */ b lbl_8011DCD0 +lbl_8011DCC0: +/* 8011DCC0 0011AC20 7F 83 E3 78 */ mr r3, r28 +/* 8011DCC4 0011AC24 38 80 FF FF */ li r4, -1 +/* 8011DCC8 0011AC28 48 22 31 79 */ bl __dt__6CTokenFv +/* 8011DCCC 0011AC2C 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8011DCD0: +/* 8011DCD0 0011AC30 7C 1C E8 40 */ cmplw r28, r29 +/* 8011DCD4 0011AC34 40 82 FF EC */ bne lbl_8011DCC0 +/* 8011DCD8 0011AC38 80 61 00 24 */ lwz r3, 0x24(r1) +/* 8011DCDC 0011AC3C 28 03 00 00 */ cmplwi r3, 0 +/* 8011DCE0 0011AC40 41 82 00 08 */ beq lbl_8011DCE8 +/* 8011DCE4 0011AC44 48 1F 7C 4D */ bl Free__7CMemoryFPCv +lbl_8011DCE8: +/* 8011DCE8 0011AC48 2C 1F 00 00 */ cmpwi r31, 0 +/* 8011DCEC 0011AC4C 41 80 00 0C */ blt lbl_8011DCF8 +/* 8011DCF0 0011AC50 2C 1F 00 07 */ cmpwi r31, 7 +/* 8011DCF4 0011AC54 40 81 00 10 */ ble lbl_8011DD04 +lbl_8011DCF8: +/* 8011DCF8 0011AC58 38 00 00 00 */ li r0, 0 +/* 8011DCFC 0011AC5C 90 1E 03 A8 */ stw r0, 0x3a8(r30) +/* 8011DD00 0011AC60 48 00 00 18 */ b lbl_8011DD18 +lbl_8011DD04: +/* 8011DD04 0011AC64 3C 60 80 3D */ lis r3, lbl_803CF340@ha +/* 8011DD08 0011AC68 57 E0 10 3A */ slwi r0, r31, 2 +/* 8011DD0C 0011AC6C 38 63 F3 40 */ addi r3, r3, lbl_803CF340@l +/* 8011DD10 0011AC70 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8011DD14 0011AC74 90 1E 03 A8 */ stw r0, 0x3a8(r30) +lbl_8011DD18: +/* 8011DD18 0011AC78 80 1E 03 A8 */ lwz r0, 0x3a8(r30) +/* 8011DD1C 0011AC7C 54 00 20 36 */ slwi r0, r0, 4 +/* 8011DD20 0011AC80 7C 7E 02 14 */ add r3, r30, r0 +/* 8011DD24 0011AC84 38 63 01 A0 */ addi r3, r3, 0x1a0 +/* 8011DD28 0011AC88 48 16 D4 A9 */ bl "lock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" +lbl_8011DD2C: +/* 8011DD2C 0011AC8C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8011DD30 0011AC90 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8011DD34 0011AC94 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8011DD38 0011AC98 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8011DD3C 0011AC9C 83 81 00 80 */ lwz r28, 0x80(r1) +/* 8011DD40 0011ACA0 7C 08 03 A6 */ mtlr r0 +/* 8011DD44 0011ACA4 38 21 00 90 */ addi r1, r1, 0x90 +/* 8011DD48 0011ACA8 4E 80 00 20 */ blr + +.global sub_8011dd4c +sub_8011dd4c: +/* 8011DD4C 0011ACAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011DD50 0011ACB0 7C 08 02 A6 */ mflr r0 +/* 8011DD54 0011ACB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011DD58 0011ACB8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011DD5C 0011ACBC 7C 7F 1B 78 */ mr r31, r3 +/* 8011DD60 0011ACC0 7C 1F 20 40 */ cmplw r31, r4 +/* 8011DD64 0011ACC4 40 82 00 08 */ bne lbl_8011DD6C +/* 8011DD68 0011ACC8 48 00 00 38 */ b lbl_8011DDA0 +lbl_8011DD6C: +/* 8011DD6C 0011ACCC 88 04 00 4C */ lbz r0, 0x4c(r4) +/* 8011DD70 0011ACD0 28 00 00 00 */ cmplwi r0, 0 +/* 8011DD74 0011ACD4 41 82 00 0C */ beq lbl_8011DD80 +/* 8011DD78 0011ACD8 4B FC 01 31 */ bl "emplace__Q24rstl29optional_object<10CModelData>FRC10CModelData" +/* 8011DD7C 0011ACDC 48 00 00 20 */ b lbl_8011DD9C +lbl_8011DD80: +/* 8011DD80 0011ACE0 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 8011DD84 0011ACE4 28 00 00 00 */ cmplwi r0, 0 +/* 8011DD88 0011ACE8 41 82 00 0C */ beq lbl_8011DD94 +/* 8011DD8C 0011ACEC 38 80 FF FF */ li r4, -1 +/* 8011DD90 0011ACF0 4B FF 8C BD */ bl __dt__10CModelDataFv +lbl_8011DD94: +/* 8011DD94 0011ACF4 38 00 00 00 */ li r0, 0 +/* 8011DD98 0011ACF8 98 1F 00 4C */ stb r0, 0x4c(r31) +lbl_8011DD9C: +/* 8011DD9C 0011ACFC 7F E3 FB 78 */ mr r3, r31 +lbl_8011DDA0: +/* 8011DDA0 0011AD00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011DDA4 0011AD04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011DDA8 0011AD08 7C 08 03 A6 */ mtlr r0 +/* 8011DDAC 0011AD0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011DDB0 0011AD10 4E 80 00 20 */ blr + +.global ResetAuxParams__11CGrappleArmFb +ResetAuxParams__11CGrappleArmFb: +/* 8011DDB4 0011AD14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011DDB8 0011AD18 7C 08 02 A6 */ mflr r0 +/* 8011DDBC 0011AD1C 38 E0 00 00 */ li r7, 0 +/* 8011DDC0 0011AD20 38 A0 00 0A */ li r5, 0xa +/* 8011DDC4 0011AD24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011DDC8 0011AD28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011DDCC 0011AD2C 7C 9F 23 78 */ mr r31, r4 +/* 8011DDD0 0011AD30 93 C1 00 08 */ stw r30, 8(r1) +/* 8011DDD4 0011AD34 7C 7E 1B 78 */ mr r30, r3 +/* 8011DDD8 0011AD38 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8011DDDC 0011AD3C 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011DDE0 0011AD40 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 8011DDE4 0011AD44 98 1E 03 B2 */ stb r0, 0x3b2(r30) +/* 8011DDE8 0011AD48 38 03 66 70 */ addi r0, r3, skIdentity4f@l +/* 8011DDEC 0011AD4C 38 7E 02 E0 */ addi r3, r30, 0x2e0 +/* 8011DDF0 0011AD50 88 DE 03 B2 */ lbz r6, 0x3b2(r30) +/* 8011DDF4 0011AD54 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b +/* 8011DDF8 0011AD58 7C 04 03 78 */ mr r4, r0 +/* 8011DDFC 0011AD5C 98 DE 03 B2 */ stb r6, 0x3b2(r30) +/* 8011DE00 0011AD60 90 BE 03 34 */ stw r5, 0x334(r30) +/* 8011DE04 0011AD64 48 1F 4D 3D */ bl __as__12CTransform4fFRC12CTransform4f +/* 8011DE08 0011AD68 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 8011DE0C 0011AD6C 41 82 00 0C */ beq lbl_8011DE18 +/* 8011DE10 0011AD70 80 7E 03 28 */ lwz r3, 0x328(r30) +/* 8011DE14 0011AD74 48 0A E4 BD */ bl Reset__14CGunControllerFv +lbl_8011DE18: +/* 8011DE18 0011AD78 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011DE1C 0011AD7C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011DE20 0011AD80 83 C1 00 08 */ lwz r30, 8(r1) +/* 8011DE24 0011AD84 7C 08 03 A6 */ mtlr r0 +/* 8011DE28 0011AD88 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011DE2C 0011AD8C 4E 80 00 20 */ blr + +.global EnterStruck__11CGrappleArmFR13CStateManagerf +EnterStruck__11CGrappleArmFR13CStateManagerf: +/* 8011DE30 0011AD90 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011DE34 0011AD94 7C 08 02 A6 */ mflr r0 +/* 8011DE38 0011AD98 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011DE3C 0011AD9C DB E1 00 18 */ stfd f31, 0x18(r1) +/* 8011DE40 0011ADA0 FF E0 08 90 */ fmr f31, f1 +/* 8011DE44 0011ADA4 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8011DE48 0011ADA8 7C DF 33 78 */ mr r31, r6 +/* 8011DE4C 0011ADAC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8011DE50 0011ADB0 7C BE 2B 78 */ mr r30, r5 +/* 8011DE54 0011ADB4 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8011DE58 0011ADB8 7C 9D 23 78 */ mr r29, r4 +/* 8011DE5C 0011ADBC 93 81 00 08 */ stw r28, 8(r1) +/* 8011DE60 0011ADC0 7C 7C 1B 78 */ mr r28, r3 +/* 8011DE64 0011ADC4 88 E3 03 B2 */ lbz r7, 0x3b2(r3) +/* 8011DE68 0011ADC8 54 E0 F7 FF */ rlwinm. r0, r7, 0x1e, 0x1f, 0x1f +/* 8011DE6C 0011ADCC 40 82 00 64 */ bne lbl_8011DED0 +/* 8011DE70 0011ADD0 54 E0 EF FF */ rlwinm. r0, r7, 0x1d, 0x1f, 0x1f +/* 8011DE74 0011ADD4 41 82 00 18 */ beq lbl_8011DE8C +/* 8011DE78 0011ADD8 4B FF F6 3D */ bl DisconnectGrappleBeam__11CGrappleArmFv +/* 8011DE7C 0011ADDC 88 1C 03 B2 */ lbz r0, 0x3b2(r28) +/* 8011DE80 0011ADE0 38 60 00 00 */ li r3, 0 +/* 8011DE84 0011ADE4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 8011DE88 0011ADE8 98 1C 03 B2 */ stb r0, 0x3b2(r28) +lbl_8011DE8C: +/* 8011DE8C 0011ADEC 88 7C 03 B2 */ lbz r3, 0x3b2(r28) +/* 8011DE90 0011ADF0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 8011DE94 0011ADF4 40 82 00 24 */ bne lbl_8011DEB8 +/* 8011DE98 0011ADF8 38 80 00 01 */ li r4, 1 +/* 8011DE9C 0011ADFC 38 00 00 09 */ li r0, 9 +/* 8011DEA0 0011AE00 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 +/* 8011DEA4 0011AE04 98 7C 03 B2 */ stb r3, 0x3b2(r28) +/* 8011DEA8 0011AE08 88 7C 03 B2 */ lbz r3, 0x3b2(r28) +/* 8011DEAC 0011AE0C 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 8011DEB0 0011AE10 98 7C 03 B2 */ stb r3, 0x3b2(r28) +/* 8011DEB4 0011AE14 90 1C 03 34 */ stw r0, 0x334(r28) +lbl_8011DEB8: +/* 8011DEB8 0011AE18 FC 20 F8 90 */ fmr f1, f31 +/* 8011DEBC 0011AE1C 80 7C 03 28 */ lwz r3, 0x328(r28) +/* 8011DEC0 0011AE20 7F A4 EB 78 */ mr r4, r29 +/* 8011DEC4 0011AE24 7F C5 F3 78 */ mr r5, r30 +/* 8011DEC8 0011AE28 7F E6 FB 78 */ mr r6, r31 +/* 8011DECC 0011AE2C 48 0A E9 81 */ bl EnterStruck__14CGunControllerFR13CStateManagerf +lbl_8011DED0: +/* 8011DED0 0011AE30 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011DED4 0011AE34 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8011DED8 0011AE38 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 8011DEDC 0011AE3C 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 8011DEE0 0011AE40 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 8011DEE4 0011AE44 83 81 00 08 */ lwz r28, 8(r1) +/* 8011DEE8 0011AE48 7C 08 03 A6 */ mtlr r0 +/* 8011DEEC 0011AE4C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011DEF0 0011AE50 4E 80 00 20 */ blr + +.global EnterIdle__11CGrappleArmFR13CStateManager +EnterIdle__11CGrappleArmFR13CStateManager: +/* 8011DEF4 0011AE54 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011DEF8 0011AE58 7C 08 02 A6 */ mflr r0 +/* 8011DEFC 0011AE5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011DF00 0011AE60 88 03 03 B2 */ lbz r0, 0x3b2(r3) +/* 8011DF04 0011AE64 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8011DF08 0011AE68 40 82 00 0C */ bne lbl_8011DF14 +/* 8011DF0C 0011AE6C 80 63 03 28 */ lwz r3, 0x328(r3) +/* 8011DF10 0011AE70 48 0A E4 F5 */ bl EnterIdle__14CGunControllerFR13CStateManager +lbl_8011DF14: +/* 8011DF14 0011AE74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011DF18 0011AE78 7C 08 03 A6 */ mtlr r0 +/* 8011DF1C 0011AE7C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011DF20 0011AE80 4E 80 00 20 */ blr + +.global ReturnToDefault__11CGrappleArmFR13CStateManagerf +ReturnToDefault__11CGrappleArmFR13CStateManagerf: +/* 8011DF24 0011AE84 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011DF28 0011AE88 7C 08 02 A6 */ mflr r0 +/* 8011DF2C 0011AE8C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011DF30 0011AE90 88 03 03 B2 */ lbz r0, 0x3b2(r3) +/* 8011DF34 0011AE94 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8011DF38 0011AE98 40 82 00 0C */ bne lbl_8011DF44 +/* 8011DF3C 0011AE9C 80 63 03 28 */ lwz r3, 0x328(r3) +/* 8011DF40 0011AEA0 48 0A E3 B9 */ bl ReturnToDefault__14CGunControllerFR13CStateManagerf +lbl_8011DF44: +/* 8011DF44 0011AEA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011DF48 0011AEA8 7C 08 03 A6 */ mtlr r0 +/* 8011DF4C 0011AEAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011DF50 0011AEB0 4E 80 00 20 */ blr + +.global EnterComboFire__11CGrappleArmFiR13CStateManager +EnterComboFire__11CGrappleArmFiR13CStateManager: +/* 8011DF54 0011AEB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011DF58 0011AEB8 7C 08 02 A6 */ mflr r0 +/* 8011DF5C 0011AEBC 7C 86 23 78 */ mr r6, r4 +/* 8011DF60 0011AEC0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011DF64 0011AEC4 88 83 03 B2 */ lbz r4, 0x3b2(r3) +/* 8011DF68 0011AEC8 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f +/* 8011DF6C 0011AECC 40 82 00 34 */ bne lbl_8011DFA0 +/* 8011DF70 0011AED0 38 E0 00 01 */ li r7, 1 +/* 8011DF74 0011AED4 38 00 00 09 */ li r0, 9 +/* 8011DF78 0011AED8 50 E4 3E 30 */ rlwimi r4, r7, 7, 0x18, 0x18 +/* 8011DF7C 0011AEDC 98 83 03 B2 */ stb r4, 0x3b2(r3) +/* 8011DF80 0011AEE0 7C A4 2B 78 */ mr r4, r5 +/* 8011DF84 0011AEE4 7C C5 33 78 */ mr r5, r6 +/* 8011DF88 0011AEE8 88 C3 03 B2 */ lbz r6, 0x3b2(r3) +/* 8011DF8C 0011AEEC 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b +/* 8011DF90 0011AEF0 98 C3 03 B2 */ stb r6, 0x3b2(r3) +/* 8011DF94 0011AEF4 90 03 03 34 */ stw r0, 0x334(r3) +/* 8011DF98 0011AEF8 80 63 03 28 */ lwz r3, 0x328(r3) +/* 8011DF9C 0011AEFC 48 0A EB AD */ bl EnterComboFire__14CGunControllerFR13CStateManageri +lbl_8011DFA0: +/* 8011DFA0 0011AF00 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011DFA4 0011AF04 7C 08 03 A6 */ mtlr r0 +/* 8011DFA8 0011AF08 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011DFAC 0011AF0C 4E 80 00 20 */ blr + +.global EnterFidget__11CGrappleArmFR13CStateManageriii +EnterFidget__11CGrappleArmFR13CStateManageriii: +/* 8011DFB0 0011AF10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011DFB4 0011AF14 7C 08 02 A6 */ mflr r0 +/* 8011DFB8 0011AF18 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011DFBC 0011AF1C 89 03 03 B2 */ lbz r8, 0x3b2(r3) +/* 8011DFC0 0011AF20 55 00 F7 FF */ rlwinm. r0, r8, 0x1e, 0x1f, 0x1f +/* 8011DFC4 0011AF24 40 82 00 2C */ bne lbl_8011DFF0 +/* 8011DFC8 0011AF28 39 20 00 01 */ li r9, 1 +/* 8011DFCC 0011AF2C 38 00 00 09 */ li r0, 9 +/* 8011DFD0 0011AF30 51 28 3E 30 */ rlwimi r8, r9, 7, 0x18, 0x18 +/* 8011DFD4 0011AF34 99 03 03 B2 */ stb r8, 0x3b2(r3) +/* 8011DFD8 0011AF38 89 03 03 B2 */ lbz r8, 0x3b2(r3) +/* 8011DFDC 0011AF3C 51 28 26 F6 */ rlwimi r8, r9, 4, 0x1b, 0x1b +/* 8011DFE0 0011AF40 99 03 03 B2 */ stb r8, 0x3b2(r3) +/* 8011DFE4 0011AF44 90 03 03 34 */ stw r0, 0x334(r3) +/* 8011DFE8 0011AF48 80 63 03 28 */ lwz r3, 0x328(r3) +/* 8011DFEC 0011AF4C 48 0A EB 15 */ bl EnterFidget__14CGunControllerFR13CStateManageriii +lbl_8011DFF0: +/* 8011DFF0 0011AF50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011DFF4 0011AF54 7C 08 03 A6 */ mtlr r0 +/* 8011DFF8 0011AF58 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011DFFC 0011AF5C 4E 80 00 20 */ blr + +.global EnterFreeLook__11CGrappleArmFiiR13CStateManager +EnterFreeLook__11CGrappleArmFiiR13CStateManager: +/* 8011E000 0011AF60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011E004 0011AF64 7C 08 02 A6 */ mflr r0 +/* 8011E008 0011AF68 7C 89 23 78 */ mr r9, r4 +/* 8011E00C 0011AF6C 7C A7 2B 78 */ mr r7, r5 +/* 8011E010 0011AF70 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011E014 0011AF74 88 83 03 B2 */ lbz r4, 0x3b2(r3) +/* 8011E018 0011AF78 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f +/* 8011E01C 0011AF7C 40 82 00 38 */ bne lbl_8011E054 +/* 8011E020 0011AF80 39 00 00 01 */ li r8, 1 +/* 8011E024 0011AF84 38 00 00 09 */ li r0, 9 +/* 8011E028 0011AF88 51 04 3E 30 */ rlwimi r4, r8, 7, 0x18, 0x18 +/* 8011E02C 0011AF8C 7D 25 4B 78 */ mr r5, r9 +/* 8011E030 0011AF90 98 83 03 B2 */ stb r4, 0x3b2(r3) +/* 8011E034 0011AF94 7C C4 33 78 */ mr r4, r6 +/* 8011E038 0011AF98 7C E6 3B 78 */ mr r6, r7 +/* 8011E03C 0011AF9C 88 E3 03 B2 */ lbz r7, 0x3b2(r3) +/* 8011E040 0011AFA0 51 07 26 F6 */ rlwimi r7, r8, 4, 0x1b, 0x1b +/* 8011E044 0011AFA4 98 E3 03 B2 */ stb r7, 0x3b2(r3) +/* 8011E048 0011AFA8 90 03 03 34 */ stw r0, 0x334(r3) +/* 8011E04C 0011AFAC 80 63 03 28 */ lwz r3, 0x328(r3) +/* 8011E050 0011AFB0 48 0A EB 71 */ bl EnterFreeLook__14CGunControllerFR13CStateManagerii +lbl_8011E054: +/* 8011E054 0011AFB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011E058 0011AFB8 7C 08 03 A6 */ mtlr r0 +/* 8011E05C 0011AFBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011E060 0011AFC0 4E 80 00 20 */ blr + +.global LoadAnimations__11CGrappleArmFv +LoadAnimations__11CGrappleArmFv: +/* 8011E064 0011AFC4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8011E068 0011AFC8 7C 08 02 A6 */ mflr r0 +/* 8011E06C 0011AFCC 38 80 00 00 */ li r4, 0 +/* 8011E070 0011AFD0 38 A0 00 2A */ li r5, 0x2a +/* 8011E074 0011AFD4 90 01 00 64 */ stw r0, 0x64(r1) +/* 8011E078 0011AFD8 38 E0 00 01 */ li r7, 1 +/* 8011E07C 0011AFDC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 8011E080 0011AFE0 7C 7F 1B 78 */ mr r31, r3 +/* 8011E084 0011AFE4 38 DF 01 8C */ addi r6, r31, 0x18c +/* 8011E088 0011AFE8 80 63 00 10 */ lwz r3, 0x10(r3) +/* 8011E08C 0011AFEC 48 16 D1 E1 */ bl "get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" +/* 8011E090 0011AFF0 38 00 00 00 */ li r0, 0 +/* 8011E094 0011AFF4 7F E3 FB 78 */ mr r3, r31 +/* 8011E098 0011AFF8 98 01 00 54 */ stb r0, 0x54(r1) +/* 8011E09C 0011AFFC 38 81 00 08 */ addi r4, r1, 8 +/* 8011E0A0 0011B000 4B FF FC AD */ bl sub_8011dd4c +/* 8011E0A4 0011B004 88 01 00 54 */ lbz r0, 0x54(r1) +/* 8011E0A8 0011B008 28 00 00 00 */ cmplwi r0, 0 +/* 8011E0AC 0011B00C 41 82 00 10 */ beq lbl_8011E0BC +/* 8011E0B0 0011B010 38 61 00 08 */ addi r3, r1, 8 +/* 8011E0B4 0011B014 38 80 FF FF */ li r4, -1 +/* 8011E0B8 0011B018 4B FF 89 95 */ bl __dt__10CModelDataFv +lbl_8011E0BC: +/* 8011E0BC 0011B01C 38 00 00 00 */ li r0, 0 +/* 8011E0C0 0011B020 98 01 00 54 */ stb r0, 0x54(r1) +/* 8011E0C4 0011B024 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8011E0C8 0011B028 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8011E0CC 0011B02C 7C 08 03 A6 */ mtlr r0 +/* 8011E0D0 0011B030 38 21 00 60 */ addi r1, r1, 0x60 +/* 8011E0D4 0011B034 4E 80 00 20 */ blr + +.global GrappleBeamDisconnected__11CGrappleArmFv +GrappleBeamDisconnected__11CGrappleArmFv: +/* 8011E0D8 0011B038 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011E0DC 0011B03C 7C 08 02 A6 */ mflr r0 +/* 8011E0E0 0011B040 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011E0E4 0011B044 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011E0E8 0011B048 7C 7F 1B 78 */ mr r31, r3 +/* 8011E0EC 0011B04C 80 03 03 2C */ lwz r0, 0x32c(r3) +/* 8011E0F0 0011B050 28 00 00 00 */ cmplwi r0, 0 +/* 8011E0F4 0011B054 41 82 00 1C */ beq lbl_8011E110 +/* 8011E0F8 0011B058 80 1F 03 2C */ lwz r0, 0x32c(r31) +/* 8011E0FC 0011B05C 38 61 00 08 */ addi r3, r1, 8 +/* 8011E100 0011B060 90 01 00 08 */ stw r0, 8(r1) +/* 8011E104 0011B064 48 1C BC 45 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 8011E108 0011B068 38 00 00 00 */ li r0, 0 +/* 8011E10C 0011B06C 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_8011E110: +/* 8011E110 0011B070 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011E114 0011B074 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011E118 0011B078 7C 08 03 A6 */ mtlr r0 +/* 8011E11C 0011B07C 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011E120 0011B080 4E 80 00 20 */ blr + +.global GrappleBeamConnected__11CGrappleArmFv +GrappleBeamConnected__11CGrappleArmFv: +/* 8011E124 0011B084 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011E128 0011B088 7C 08 02 A6 */ mflr r0 +/* 8011E12C 0011B08C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011E130 0011B090 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011E134 0011B094 7C 7F 1B 78 */ mr r31, r3 +/* 8011E138 0011B098 80 03 03 2C */ lwz r0, 0x32c(r3) +/* 8011E13C 0011B09C 28 00 00 00 */ cmplwi r0, 0 +/* 8011E140 0011B0A0 40 82 00 24 */ bne lbl_8011E164 +/* 8011E144 0011B0A4 38 61 00 08 */ addi r3, r1, 8 +/* 8011E148 0011B0A8 38 80 05 F7 */ li r4, 0x5f7 +/* 8011E14C 0011B0AC 38 A0 00 00 */ li r5, 0 +/* 8011E150 0011B0B0 38 C0 00 01 */ li r6, 1 +/* 8011E154 0011B0B4 38 E0 00 36 */ li r7, 0x36 +/* 8011E158 0011B0B8 48 16 C9 A1 */ bl play_sfx__12NWeaponTypesFUsbbs +/* 8011E15C 0011B0BC 80 01 00 08 */ lwz r0, 8(r1) +/* 8011E160 0011B0C0 90 1F 03 2C */ stw r0, 0x32c(r31) +lbl_8011E164: +/* 8011E164 0011B0C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011E168 0011B0C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8011E16C 0011B0CC 7C 08 03 A6 */ mtlr r0 +/* 8011E170 0011B0D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011E174 0011B0D4 4E 80 00 20 */ blr + +.global DoUserAnimEvent__11CGrappleArmFR13CStateManagerRC13CInt32POINode14EUserEventType +DoUserAnimEvent__11CGrappleArmFR13CStateManagerRC13CInt32POINode14EUserEventType: +/* 8011E178 0011B0D8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011E17C 0011B0DC 7C 08 02 A6 */ mflr r0 +/* 8011E180 0011B0E0 2C 06 00 06 */ cmpwi r6, 6 +/* 8011E184 0011B0E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011E188 0011B0E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011E18C 0011B0EC 7C 9F 23 78 */ mr r31, r4 +/* 8011E190 0011B0F0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8011E194 0011B0F4 7C 7E 1B 78 */ mr r30, r3 +/* 8011E198 0011B0F8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8011E19C 0011B0FC 93 81 00 20 */ stw r28, 0x20(r1) +/* 8011E1A0 0011B100 41 82 01 C0 */ beq lbl_8011E360 +/* 8011E1A4 0011B104 40 80 00 10 */ bge lbl_8011E1B4 +/* 8011E1A8 0011B108 2C 06 00 00 */ cmpwi r6, 0 +/* 8011E1AC 0011B10C 41 82 00 14 */ beq lbl_8011E1C0 +/* 8011E1B0 0011B110 48 00 01 B0 */ b lbl_8011E360 +lbl_8011E1B4: +/* 8011E1B4 0011B114 2C 06 00 08 */ cmpwi r6, 8 +/* 8011E1B8 0011B118 41 82 01 A8 */ beq lbl_8011E360 +/* 8011E1BC 0011B11C 48 00 01 A4 */ b lbl_8011E360 +lbl_8011E1C0: +/* 8011E1C0 0011B120 88 9E 03 B2 */ lbz r4, 0x3b2(r30) +/* 8011E1C4 0011B124 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f +/* 8011E1C8 0011B128 40 82 01 98 */ bne lbl_8011E360 +/* 8011E1CC 0011B12C 38 00 00 01 */ li r0, 1 +/* 8011E1D0 0011B130 3C 60 80 3D */ lis r3, lbl_803CF360@ha +/* 8011E1D4 0011B134 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 +/* 8011E1D8 0011B138 3B 80 00 00 */ li r28, 0 +/* 8011E1DC 0011B13C 38 63 F3 60 */ addi r3, r3, lbl_803CF360@l +/* 8011E1E0 0011B140 98 9E 03 B2 */ stb r4, 0x3b2(r30) +/* 8011E1E4 0011B144 38 83 00 C4 */ addi r4, r3, 0xc4 +/* 8011E1E8 0011B148 38 A0 00 00 */ li r5, 0 +/* 8011E1EC 0011B14C 38 60 03 40 */ li r3, 0x340 +/* 8011E1F0 0011B150 48 1F 76 7D */ bl __nw__FUlPCcPCc +/* 8011E1F4 0011B154 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8011E1F8 0011B158 41 82 00 2C */ beq lbl_8011E224 +/* 8011E1FC 0011B15C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011E200 0011B160 38 9E 03 6C */ addi r4, r30, 0x36c +/* 8011E204 0011B164 48 22 2C A5 */ bl __ct__6CTokenFRC6CToken +/* 8011E208 0011B168 7F A3 EB 78 */ mr r3, r29 +/* 8011E20C 0011B16C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011E210 0011B170 3B 80 00 01 */ li r28, 1 +/* 8011E214 0011B174 38 A0 00 00 */ li r5, 0 +/* 8011E218 0011B178 38 C0 00 01 */ li r6, 1 +/* 8011E21C 0011B17C 48 20 11 C5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8011E220 0011B180 7C 7D 1B 78 */ mr r29, r3 +lbl_8011E224: +/* 8011E224 0011B184 80 7E 03 98 */ lwz r3, 0x398(r30) +/* 8011E228 0011B188 28 03 00 00 */ cmplwi r3, 0 +/* 8011E22C 0011B18C 41 82 00 18 */ beq lbl_8011E244 +/* 8011E230 0011B190 81 83 00 00 */ lwz r12, 0(r3) +/* 8011E234 0011B194 38 80 00 01 */ li r4, 1 +/* 8011E238 0011B198 81 8C 00 08 */ lwz r12, 8(r12) +/* 8011E23C 0011B19C 7D 89 03 A6 */ mtctr r12 +/* 8011E240 0011B1A0 4E 80 04 21 */ bctrl +lbl_8011E244: +/* 8011E244 0011B1A4 7F 80 07 75 */ extsb. r0, r28 +/* 8011E248 0011B1A8 93 BE 03 98 */ stw r29, 0x398(r30) +/* 8011E24C 0011B1AC 41 82 00 10 */ beq lbl_8011E25C +/* 8011E250 0011B1B0 38 61 00 14 */ addi r3, r1, 0x14 +/* 8011E254 0011B1B4 38 80 00 00 */ li r4, 0 +/* 8011E258 0011B1B8 48 22 2B E9 */ bl __dt__6CTokenFv +lbl_8011E25C: +/* 8011E25C 0011B1BC 3C 60 80 3D */ lis r3, lbl_803CF360@ha +/* 8011E260 0011B1C0 3B 80 00 00 */ li r28, 0 +/* 8011E264 0011B1C4 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l +/* 8011E268 0011B1C8 38 60 03 40 */ li r3, 0x340 +/* 8011E26C 0011B1CC 38 84 00 C4 */ addi r4, r4, 0xc4 +/* 8011E270 0011B1D0 38 A0 00 00 */ li r5, 0 +/* 8011E274 0011B1D4 48 1F 75 F9 */ bl __nw__FUlPCcPCc +/* 8011E278 0011B1D8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 8011E27C 0011B1DC 41 82 00 2C */ beq lbl_8011E2A8 +/* 8011E280 0011B1E0 38 61 00 0C */ addi r3, r1, 0xc +/* 8011E284 0011B1E4 38 9E 03 78 */ addi r4, r30, 0x378 +/* 8011E288 0011B1E8 48 22 2C 21 */ bl __ct__6CTokenFRC6CToken +/* 8011E28C 0011B1EC 7F A3 EB 78 */ mr r3, r29 +/* 8011E290 0011B1F0 38 81 00 0C */ addi r4, r1, 0xc +/* 8011E294 0011B1F4 3B 80 00 01 */ li r28, 1 +/* 8011E298 0011B1F8 38 A0 00 00 */ li r5, 0 +/* 8011E29C 0011B1FC 38 C0 00 01 */ li r6, 1 +/* 8011E2A0 0011B200 48 20 11 41 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8011E2A4 0011B204 7C 7D 1B 78 */ mr r29, r3 +lbl_8011E2A8: +/* 8011E2A8 0011B208 80 7E 03 9C */ lwz r3, 0x39c(r30) +/* 8011E2AC 0011B20C 28 03 00 00 */ cmplwi r3, 0 +/* 8011E2B0 0011B210 41 82 00 18 */ beq lbl_8011E2C8 +/* 8011E2B4 0011B214 81 83 00 00 */ lwz r12, 0(r3) +/* 8011E2B8 0011B218 38 80 00 01 */ li r4, 1 +/* 8011E2BC 0011B21C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8011E2C0 0011B220 7D 89 03 A6 */ mtctr r12 +/* 8011E2C4 0011B224 4E 80 04 21 */ bctrl +lbl_8011E2C8: +/* 8011E2C8 0011B228 7F 80 07 75 */ extsb. r0, r28 +/* 8011E2CC 0011B22C 93 BE 03 9C */ stw r29, 0x39c(r30) +/* 8011E2D0 0011B230 41 82 00 10 */ beq lbl_8011E2E0 +/* 8011E2D4 0011B234 38 61 00 0C */ addi r3, r1, 0xc +/* 8011E2D8 0011B238 38 80 00 00 */ li r4, 0 +/* 8011E2DC 0011B23C 48 22 2B 65 */ bl __dt__6CTokenFv +lbl_8011E2E0: +/* 8011E2E0 0011B240 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) +/* 8011E2E4 0011B244 38 80 00 00 */ li r4, 0 +/* 8011E2E8 0011B248 D0 1E 03 38 */ stfs f0, 0x338(r30) +/* 8011E2EC 0011B24C D0 1E 03 3C */ stfs f0, 0x33c(r30) +/* 8011E2F0 0011B250 D0 1E 03 40 */ stfs f0, 0x340(r30) +/* 8011E2F4 0011B254 C0 0D 8A 7C */ lfs f0, lbl_805A763C@sda21(r13) +/* 8011E2F8 0011B258 D0 1E 03 44 */ stfs f0, 0x344(r30) +/* 8011E2FC 0011B25C C0 0D 8A 80 */ lfs f0, lbl_805A7640@sda21(r13) +/* 8011E300 0011B260 D0 1E 03 48 */ stfs f0, 0x348(r30) +/* 8011E304 0011B264 80 7E 03 98 */ lwz r3, 0x398(r30) +/* 8011E308 0011B268 81 83 00 00 */ lwz r12, 0(r3) +/* 8011E30C 0011B26C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8011E310 0011B270 7D 89 03 A6 */ mtctr r12 +/* 8011E314 0011B274 4E 80 04 21 */ bctrl +/* 8011E318 0011B278 80 7E 03 94 */ lwz r3, 0x394(r30) +/* 8011E31C 0011B27C 38 80 00 01 */ li r4, 1 +/* 8011E320 0011B280 81 83 00 00 */ lwz r12, 0(r3) +/* 8011E324 0011B284 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8011E328 0011B288 7D 89 03 A6 */ mtctr r12 +/* 8011E32C 0011B28C 4E 80 04 21 */ bctrl +/* 8011E330 0011B290 38 61 00 08 */ addi r3, r1, 8 +/* 8011E334 0011B294 38 80 05 F6 */ li r4, 0x5f6 +/* 8011E338 0011B298 38 A0 00 00 */ li r5, 0 +/* 8011E33C 0011B29C 38 C0 00 00 */ li r6, 0 +/* 8011E340 0011B2A0 38 E0 00 36 */ li r7, 0x36 +/* 8011E344 0011B2A4 48 16 C7 B5 */ bl play_sfx__12NWeaponTypesFUsbbs +/* 8011E348 0011B2A8 80 7F 08 8C */ lwz r3, 0x88c(r31) +/* 8011E34C 0011B2AC 7F E4 FB 78 */ mr r4, r31 +/* 8011E350 0011B2B0 C0 22 97 68 */ lfs f1, lbl_805AB488@sda21(r2) +/* 8011E354 0011B2B4 38 A0 00 0E */ li r5, 0xe +/* 8011E358 0011B2B8 38 C0 00 03 */ li r6, 3 +/* 8011E35C 0011B2BC 48 10 FE E9 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +lbl_8011E360: +/* 8011E360 0011B2C0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011E364 0011B2C4 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011E368 0011B2C8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8011E36C 0011B2CC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8011E370 0011B2D0 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8011E374 0011B2D4 7C 08 03 A6 */ mtlr r0 +/* 8011E378 0011B2D8 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011E37C 0011B2DC 4E 80 00 20 */ blr + +.global DoUserAnimEvents__11CGrappleArmFR13CStateManager +DoUserAnimEvents__11CGrappleArmFR13CStateManager: +/* 8011E380 0011B2E0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8011E384 0011B2E4 7C 08 02 A6 */ mflr r0 +/* 8011E388 0011B2E8 90 01 00 54 */ stw r0, 0x54(r1) +/* 8011E38C 0011B2EC BF 41 00 38 */ stmw r26, 0x38(r1) +/* 8011E390 0011B2F0 7C 7E 1B 78 */ mr r30, r3 +/* 8011E394 0011B2F4 7C 9F 23 78 */ mr r31, r4 +/* 8011E398 0011B2F8 80 A4 08 4C */ lwz r5, 0x84c(r4) +/* 8011E39C 0011B2FC 80 64 08 70 */ lwz r3, 0x870(r4) +/* 8011E3A0 0011B300 83 A5 00 04 */ lwz r29, 4(r5) +/* 8011E3A4 0011B304 4B EE D7 75 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 8011E3A8 0011B308 C0 BE 02 4C */ lfs f5, 0x24c(r30) +/* 8011E3AC 0011B30C 3C 80 80 57 */ lis r4, lbl_8056C9EC@ha +/* 8011E3B0 0011B310 C0 9E 02 3C */ lfs f4, 0x23c(r30) +/* 8011E3B4 0011B314 38 84 C9 EC */ addi r4, r4, lbl_8056C9EC@l +/* 8011E3B8 0011B318 C0 7E 02 2C */ lfs f3, 0x22c(r30) +/* 8011E3BC 0011B31C 3B 84 00 04 */ addi r28, r4, 4 +/* 8011E3C0 0011B320 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8011E3C4 0011B324 D0 81 00 28 */ stfs f4, 0x28(r1) +/* 8011E3C8 0011B328 D0 A1 00 2C */ stfs f5, 0x2c(r1) +/* 8011E3CC 0011B32C C0 43 00 50 */ lfs f2, 0x50(r3) +/* 8011E3D0 0011B330 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 8011E3D4 0011B334 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8011E3D8 0011B338 EC 42 20 28 */ fsubs f2, f2, f4 +/* 8011E3DC 0011B33C EC 21 28 28 */ fsubs f1, f1, f5 +/* 8011E3E0 0011B340 EC 00 18 28 */ fsubs f0, f0, f3 +/* 8011E3E4 0011B344 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8011E3E8 0011B348 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8011E3EC 0011B34C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8011E3F0 0011B350 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8011E3F4 0011B354 83 63 02 18 */ lwz r27, 0x218(r3) +/* 8011E3F8 0011B358 2C 1B 00 00 */ cmpwi r27, 0 +/* 8011E3FC 0011B35C 40 81 00 84 */ ble lbl_8011E480 +/* 8011E400 0011B360 3B 40 00 00 */ li r26, 0 +/* 8011E404 0011B364 48 00 00 74 */ b lbl_8011E478 +lbl_8011E408: +/* 8011E408 0011B368 A0 1C 00 18 */ lhz r0, 0x18(r28) +/* 8011E40C 0011B36C 80 9C 00 30 */ lwz r4, 0x30(r28) +/* 8011E410 0011B370 2C 00 00 08 */ cmpwi r0, 8 +/* 8011E414 0011B374 40 82 00 5C */ bne lbl_8011E470 +/* 8011E418 0011B378 2C 04 FF FF */ cmpwi r4, -1 +/* 8011E41C 0011B37C 41 82 00 14 */ beq lbl_8011E430 +/* 8011E420 0011B380 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8011E424 0011B384 80 03 02 04 */ lwz r0, 0x204(r3) +/* 8011E428 0011B388 7C 04 00 00 */ cmpw r4, r0 +/* 8011E42C 0011B38C 40 82 00 44 */ bne lbl_8011E470 +lbl_8011E430: +/* 8011E430 0011B390 38 01 00 24 */ addi r0, r1, 0x24 +/* 8011E434 0011B394 89 22 CC 40 */ lbz r9, lbl_805AE960@sda21(r2) +/* 8011E438 0011B398 90 01 00 08 */ stw r0, 8(r1) +/* 8011E43C 0011B39C 38 7E 03 4C */ addi r3, r30, 0x34c +/* 8011E440 0011B3A0 38 9E 03 AC */ addi r4, r30, 0x3ac +/* 8011E444 0011B3A4 39 41 00 18 */ addi r10, r1, 0x18 +/* 8011E448 0011B3A8 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8011E44C 0011B3AC 38 A0 00 00 */ li r5, 0 +/* 8011E450 0011B3B0 39 00 00 14 */ li r8, 0x14 +/* 8011E454 0011B3B4 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8011E458 0011B3B8 80 DC 00 38 */ lwz r6, 0x38(r28) +/* 8011E45C 0011B3BC C0 3C 00 2C */ lfs f1, 0x2c(r28) +/* 8011E460 0011B3C0 80 FC 00 34 */ lwz r7, 0x34(r28) +/* 8011E464 0011B3C4 C0 5C 00 3C */ lfs f2, 0x3c(r28) +/* 8011E468 0011B3C8 C0 7C 00 40 */ lfs f3, 0x40(r28) +/* 8011E46C 0011B3CC 48 16 C7 1D */ bl "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" +lbl_8011E470: +/* 8011E470 0011B3D0 3B 9C 00 44 */ addi r28, r28, 0x44 +/* 8011E474 0011B3D4 3B 5A 00 01 */ addi r26, r26, 1 +lbl_8011E478: +/* 8011E478 0011B3D8 7C 1A D8 00 */ cmpw r26, r27 +/* 8011E47C 0011B3DC 41 80 FF 8C */ blt lbl_8011E408 +lbl_8011E480: +/* 8011E480 0011B3E0 80 9E 00 10 */ lwz r4, 0x10(r30) +/* 8011E484 0011B3E4 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha +/* 8011E488 0011B3E8 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l +/* 8011E48C 0011B3EC 83 44 02 10 */ lwz r26, 0x210(r4) +/* 8011E490 0011B3F0 3B 83 00 04 */ addi r28, r3, 4 +/* 8011E494 0011B3F4 2C 1A 00 00 */ cmpwi r26, 0 +/* 8011E498 0011B3F8 40 81 00 B4 */ ble lbl_8011E54C +/* 8011E49C 0011B3FC 3B 60 00 00 */ li r27, 0 +/* 8011E4A0 0011B400 48 00 00 A4 */ b lbl_8011E544 +lbl_8011E4A4: +/* 8011E4A4 0011B404 A0 1C 00 18 */ lhz r0, 0x18(r28) +/* 8011E4A8 0011B408 2C 00 00 05 */ cmpwi r0, 5 +/* 8011E4AC 0011B40C 41 82 00 90 */ beq lbl_8011E53C +/* 8011E4B0 0011B410 40 80 00 10 */ bge lbl_8011E4C0 +/* 8011E4B4 0011B414 2C 00 00 04 */ cmpwi r0, 4 +/* 8011E4B8 0011B418 40 80 00 28 */ bge lbl_8011E4E0 +/* 8011E4BC 0011B41C 48 00 00 80 */ b lbl_8011E53C +lbl_8011E4C0: +/* 8011E4C0 0011B420 2C 00 00 07 */ cmpwi r0, 7 +/* 8011E4C4 0011B424 40 80 00 78 */ bge lbl_8011E53C +/* 8011E4C8 0011B428 80 DC 00 38 */ lwz r6, 0x38(r28) +/* 8011E4CC 0011B42C 7F C3 F3 78 */ mr r3, r30 +/* 8011E4D0 0011B430 7F E4 FB 78 */ mr r4, r31 +/* 8011E4D4 0011B434 7F 85 E3 78 */ mr r5, r28 +/* 8011E4D8 0011B438 4B FF FC A1 */ bl DoUserAnimEvent__11CGrappleArmFR13CStateManagerRC13CInt32POINode14EUserEventType +/* 8011E4DC 0011B43C 48 00 00 60 */ b lbl_8011E53C +lbl_8011E4E0: +/* 8011E4E0 0011B440 80 9C 00 30 */ lwz r4, 0x30(r28) +/* 8011E4E4 0011B444 2C 04 FF FF */ cmpwi r4, -1 +/* 8011E4E8 0011B448 41 82 00 14 */ beq lbl_8011E4FC +/* 8011E4EC 0011B44C 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 8011E4F0 0011B450 80 03 02 04 */ lwz r0, 0x204(r3) +/* 8011E4F4 0011B454 7C 04 00 00 */ cmpw r4, r0 +/* 8011E4F8 0011B458 40 82 00 44 */ bne lbl_8011E53C +lbl_8011E4FC: +/* 8011E4FC 0011B45C 38 01 00 24 */ addi r0, r1, 0x24 +/* 8011E500 0011B460 C0 42 97 6C */ lfs f2, lbl_805AB48C@sda21(r2) +/* 8011E504 0011B464 90 01 00 08 */ stw r0, 8(r1) +/* 8011E508 0011B468 38 7E 03 4C */ addi r3, r30, 0x34c +/* 8011E50C 0011B46C C0 62 97 70 */ lfs f3, lbl_805AB490@sda21(r2) +/* 8011E510 0011B470 38 9E 03 AC */ addi r4, r30, 0x3ac +/* 8011E514 0011B474 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8011E518 0011B478 39 41 00 18 */ addi r10, r1, 0x18 +/* 8011E51C 0011B47C 89 22 CC 40 */ lbz r9, lbl_805AE960@sda21(r2) +/* 8011E520 0011B480 38 A0 00 00 */ li r5, 0 +/* 8011E524 0011B484 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8011E528 0011B488 39 00 00 14 */ li r8, 0x14 +/* 8011E52C 0011B48C 80 DC 00 38 */ lwz r6, 0x38(r28) +/* 8011E530 0011B490 C0 3C 00 2C */ lfs f1, 0x2c(r28) +/* 8011E534 0011B494 80 FC 00 34 */ lwz r7, 0x34(r28) +/* 8011E538 0011B498 48 16 C6 51 */ bl "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" +lbl_8011E53C: +/* 8011E53C 0011B49C 3B 9C 00 4C */ addi r28, r28, 0x4c +/* 8011E540 0011B4A0 3B 7B 00 01 */ addi r27, r27, 1 +lbl_8011E544: +/* 8011E544 0011B4A4 7C 1B D0 00 */ cmpw r27, r26 +/* 8011E548 0011B4A8 41 80 FF 5C */ blt lbl_8011E4A4 +lbl_8011E54C: +/* 8011E54C 0011B4AC BB 41 00 38 */ lmw r26, 0x38(r1) +/* 8011E550 0011B4B0 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8011E554 0011B4B4 7C 08 03 A6 */ mtlr r0 +/* 8011E558 0011B4B8 38 21 00 50 */ addi r1, r1, 0x50 +/* 8011E55C 0011B4BC 4E 80 00 20 */ blr + +.global SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState +SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState: +/* 8011E560 0011B4C0 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8011E564 0011B4C4 7C 08 02 A6 */ mflr r0 +/* 8011E568 0011B4C8 90 01 01 14 */ stw r0, 0x114(r1) +/* 8011E56C 0011B4CC 93 E1 01 0C */ stw r31, 0x10c(r1) +/* 8011E570 0011B4D0 93 C1 01 08 */ stw r30, 0x108(r1) +/* 8011E574 0011B4D4 7C 9E 23 78 */ mr r30, r4 +/* 8011E578 0011B4D8 93 A1 01 04 */ stw r29, 0x104(r1) +/* 8011E57C 0011B4DC 7C 7D 1B 78 */ mr r29, r3 +/* 8011E580 0011B4E0 80 03 03 34 */ lwz r0, 0x334(r3) +/* 8011E584 0011B4E4 7C 00 F0 00 */ cmpw r0, r30 +/* 8011E588 0011B4E8 41 82 02 5C */ beq lbl_8011E7E4 +/* 8011E58C 0011B4EC 83 FD 00 10 */ lwz r31, 0x10(r29) +/* 8011E590 0011B4F0 39 00 00 00 */ li r8, 0 +/* 8011E594 0011B4F4 38 E0 00 01 */ li r7, 1 +/* 8011E598 0011B4F8 28 1E 00 0A */ cmplwi r30, 0xa +/* 8011E59C 0011B4FC 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8011E5A0 0011B500 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 +/* 8011E5A4 0011B504 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8011E5A8 0011B508 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 8011E5AC 0011B50C 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 +/* 8011E5B0 0011B510 98 1F 02 20 */ stb r0, 0x220(r31) +/* 8011E5B4 0011B514 88 1D 03 B2 */ lbz r0, 0x3b2(r29) +/* 8011E5B8 0011B518 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 8011E5BC 0011B51C 98 1D 03 B2 */ stb r0, 0x3b2(r29) +/* 8011E5C0 0011B520 41 81 02 20 */ bgt lbl_8011E7E0 +/* 8011E5C4 0011B524 3C 80 80 3E */ lis r4, lbl_803E06B0@ha +/* 8011E5C8 0011B528 57 C0 10 3A */ slwi r0, r30, 2 +/* 8011E5CC 0011B52C 38 84 06 B0 */ addi r4, r4, lbl_803E06B0@l +/* 8011E5D0 0011B530 7C 04 00 2E */ lwzx r0, r4, r0 +/* 8011E5D4 0011B534 7C 09 03 A6 */ mtctr r0 +/* 8011E5D8 0011B538 4E 80 04 20 */ bctr +/* 8011E5DC 0011B53C 38 80 00 01 */ li r4, 1 +/* 8011E5E0 0011B540 4B FF F7 D5 */ bl ResetAuxParams__11CGrappleArmFb +/* 8011E5E4 0011B544 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +/* 8011E5E8 0011B548 38 E0 00 00 */ li r7, 0 +/* 8011E5EC 0011B54C 38 C0 FF FF */ li r6, -1 +/* 8011E5F0 0011B550 38 00 00 01 */ li r0, 1 +/* 8011E5F4 0011B554 90 E1 00 D0 */ stw r7, 0xd0(r1) +/* 8011E5F8 0011B558 7F E3 FB 78 */ mr r3, r31 +/* 8011E5FC 0011B55C 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 8011E600 0011B560 38 A0 00 00 */ li r5, 0 +/* 8011E604 0011B564 90 C1 00 D4 */ stw r6, 0xd4(r1) +/* 8011E608 0011B568 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 8011E60C 0011B56C 98 01 00 DC */ stb r0, 0xdc(r1) +/* 8011E610 0011B570 90 E1 00 E0 */ stw r7, 0xe0(r1) +/* 8011E614 0011B574 90 E1 00 E4 */ stw r7, 0xe4(r1) +/* 8011E618 0011B578 98 E1 00 E8 */ stb r7, 0xe8(r1) +/* 8011E61C 0011B57C 90 E1 00 EC */ stw r7, 0xec(r1) +/* 8011E620 0011B580 90 E1 00 F0 */ stw r7, 0xf0(r1) +/* 8011E624 0011B584 90 E1 00 F4 */ stw r7, 0xf4(r1) +/* 8011E628 0011B588 4B F0 E7 55 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 8011E62C 0011B58C 88 1D 03 B2 */ lbz r0, 0x3b2(r29) +/* 8011E630 0011B590 38 60 00 00 */ li r3, 0 +/* 8011E634 0011B594 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8011E638 0011B598 38 60 00 01 */ li r3, 1 +/* 8011E63C 0011B59C 98 1D 03 B2 */ stb r0, 0x3b2(r29) +/* 8011E640 0011B5A0 88 1D 03 B2 */ lbz r0, 0x3b2(r29) +/* 8011E644 0011B5A4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8011E648 0011B5A8 98 1D 03 B2 */ stb r0, 0x3b2(r29) +/* 8011E64C 0011B5AC 48 00 01 94 */ b lbl_8011E7E0 +/* 8011E650 0011B5B0 88 7F 02 20 */ lbz r3, 0x220(r31) +/* 8011E654 0011B5B4 50 E3 36 72 */ rlwimi r3, r7, 6, 0x19, 0x19 +/* 8011E658 0011B5B8 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +/* 8011E65C 0011B5BC 38 00 FF FF */ li r0, -1 +/* 8011E660 0011B5C0 98 7F 02 20 */ stb r3, 0x220(r31) +/* 8011E664 0011B5C4 7F E3 FB 78 */ mr r3, r31 +/* 8011E668 0011B5C8 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8011E66C 0011B5CC 38 A0 00 00 */ li r5, 0 +/* 8011E670 0011B5D0 88 DF 02 20 */ lbz r6, 0x220(r31) +/* 8011E674 0011B5D4 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 +/* 8011E678 0011B5D8 98 DF 02 20 */ stb r6, 0x220(r31) +/* 8011E67C 0011B5DC 90 E1 00 A8 */ stw r7, 0xa8(r1) +/* 8011E680 0011B5E0 90 01 00 AC */ stw r0, 0xac(r1) +/* 8011E684 0011B5E4 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8011E688 0011B5E8 98 E1 00 B4 */ stb r7, 0xb4(r1) +/* 8011E68C 0011B5EC 91 01 00 B8 */ stw r8, 0xb8(r1) +/* 8011E690 0011B5F0 91 01 00 BC */ stw r8, 0xbc(r1) +/* 8011E694 0011B5F4 99 01 00 C0 */ stb r8, 0xc0(r1) +/* 8011E698 0011B5F8 91 01 00 C4 */ stw r8, 0xc4(r1) +/* 8011E69C 0011B5FC 91 01 00 C8 */ stw r8, 0xc8(r1) +/* 8011E6A0 0011B600 91 01 00 CC */ stw r8, 0xcc(r1) +/* 8011E6A4 0011B604 4B F0 E6 D9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 8011E6A8 0011B608 48 00 01 38 */ b lbl_8011E7E0 +/* 8011E6AC 0011B60C C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +/* 8011E6B0 0011B610 38 60 00 02 */ li r3, 2 +/* 8011E6B4 0011B614 38 00 FF FF */ li r0, -1 +/* 8011E6B8 0011B618 90 61 00 80 */ stw r3, 0x80(r1) +/* 8011E6BC 0011B61C 7F E3 FB 78 */ mr r3, r31 +/* 8011E6C0 0011B620 38 81 00 80 */ addi r4, r1, 0x80 +/* 8011E6C4 0011B624 90 01 00 84 */ stw r0, 0x84(r1) +/* 8011E6C8 0011B628 38 A0 00 00 */ li r5, 0 +/* 8011E6CC 0011B62C D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8011E6D0 0011B630 98 E1 00 8C */ stb r7, 0x8c(r1) +/* 8011E6D4 0011B634 91 01 00 90 */ stw r8, 0x90(r1) +/* 8011E6D8 0011B638 91 01 00 94 */ stw r8, 0x94(r1) +/* 8011E6DC 0011B63C 99 01 00 98 */ stb r8, 0x98(r1) +/* 8011E6E0 0011B640 91 01 00 9C */ stw r8, 0x9c(r1) +/* 8011E6E4 0011B644 91 01 00 A0 */ stw r8, 0xa0(r1) +/* 8011E6E8 0011B648 91 01 00 A4 */ stw r8, 0xa4(r1) +/* 8011E6EC 0011B64C 4B F0 E6 91 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 8011E6F0 0011B650 48 00 00 F0 */ b lbl_8011E7E0 +/* 8011E6F4 0011B654 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +/* 8011E6F8 0011B658 38 60 00 03 */ li r3, 3 +/* 8011E6FC 0011B65C 38 00 FF FF */ li r0, -1 +/* 8011E700 0011B660 90 61 00 58 */ stw r3, 0x58(r1) +/* 8011E704 0011B664 7F E3 FB 78 */ mr r3, r31 +/* 8011E708 0011B668 38 81 00 58 */ addi r4, r1, 0x58 +/* 8011E70C 0011B66C 90 01 00 5C */ stw r0, 0x5c(r1) +/* 8011E710 0011B670 38 A0 00 00 */ li r5, 0 +/* 8011E714 0011B674 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 8011E718 0011B678 98 E1 00 64 */ stb r7, 0x64(r1) +/* 8011E71C 0011B67C 91 01 00 68 */ stw r8, 0x68(r1) +/* 8011E720 0011B680 91 01 00 6C */ stw r8, 0x6c(r1) +/* 8011E724 0011B684 99 01 00 70 */ stb r8, 0x70(r1) +/* 8011E728 0011B688 91 01 00 74 */ stw r8, 0x74(r1) +/* 8011E72C 0011B68C 91 01 00 78 */ stw r8, 0x78(r1) +/* 8011E730 0011B690 91 01 00 7C */ stw r8, 0x7c(r1) +/* 8011E734 0011B694 4B F0 E6 49 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 8011E738 0011B698 48 00 00 A8 */ b lbl_8011E7E0 +/* 8011E73C 0011B69C C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +/* 8011E740 0011B6A0 38 60 00 03 */ li r3, 3 +/* 8011E744 0011B6A4 38 00 FF FF */ li r0, -1 +/* 8011E748 0011B6A8 90 61 00 30 */ stw r3, 0x30(r1) +/* 8011E74C 0011B6AC 7F E3 FB 78 */ mr r3, r31 +/* 8011E750 0011B6B0 38 81 00 30 */ addi r4, r1, 0x30 +/* 8011E754 0011B6B4 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011E758 0011B6B8 38 A0 00 00 */ li r5, 0 +/* 8011E75C 0011B6BC D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8011E760 0011B6C0 98 E1 00 3C */ stb r7, 0x3c(r1) +/* 8011E764 0011B6C4 91 01 00 40 */ stw r8, 0x40(r1) +/* 8011E768 0011B6C8 91 01 00 44 */ stw r8, 0x44(r1) +/* 8011E76C 0011B6CC 99 01 00 48 */ stb r8, 0x48(r1) +/* 8011E770 0011B6D0 91 01 00 4C */ stw r8, 0x4c(r1) +/* 8011E774 0011B6D4 91 01 00 50 */ stw r8, 0x50(r1) +/* 8011E778 0011B6D8 91 01 00 54 */ stw r8, 0x54(r1) +/* 8011E77C 0011B6DC 4B F0 E6 01 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 8011E780 0011B6E0 48 00 00 60 */ b lbl_8011E7E0 +/* 8011E784 0011B6E4 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +/* 8011E788 0011B6E8 38 60 00 04 */ li r3, 4 +/* 8011E78C 0011B6EC 38 00 FF FF */ li r0, -1 +/* 8011E790 0011B6F0 90 61 00 08 */ stw r3, 8(r1) +/* 8011E794 0011B6F4 7F E3 FB 78 */ mr r3, r31 +/* 8011E798 0011B6F8 38 81 00 08 */ addi r4, r1, 8 +/* 8011E79C 0011B6FC 90 01 00 0C */ stw r0, 0xc(r1) +/* 8011E7A0 0011B700 38 A0 00 00 */ li r5, 0 +/* 8011E7A4 0011B704 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 8011E7A8 0011B708 98 E1 00 14 */ stb r7, 0x14(r1) +/* 8011E7AC 0011B70C 91 01 00 18 */ stw r8, 0x18(r1) +/* 8011E7B0 0011B710 91 01 00 1C */ stw r8, 0x1c(r1) +/* 8011E7B4 0011B714 99 01 00 20 */ stb r8, 0x20(r1) +/* 8011E7B8 0011B718 91 01 00 24 */ stw r8, 0x24(r1) +/* 8011E7BC 0011B71C 91 01 00 28 */ stw r8, 0x28(r1) +/* 8011E7C0 0011B720 91 01 00 2C */ stw r8, 0x2c(r1) +/* 8011E7C4 0011B724 4B F0 E5 B9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 8011E7C8 0011B728 7F A3 EB 78 */ mr r3, r29 +/* 8011E7CC 0011B72C 4B FF EC E9 */ bl DisconnectGrappleBeam__11CGrappleArmFv +/* 8011E7D0 0011B730 48 00 00 10 */ b lbl_8011E7E0 +/* 8011E7D4 0011B734 88 1D 03 B2 */ lbz r0, 0x3b2(r29) +/* 8011E7D8 0011B738 51 00 1F 38 */ rlwimi r0, r8, 3, 0x1c, 0x1c +/* 8011E7DC 0011B73C 98 1D 03 B2 */ stb r0, 0x3b2(r29) +lbl_8011E7E0: +/* 8011E7E0 0011B740 93 DD 03 34 */ stw r30, 0x334(r29) +lbl_8011E7E4: +/* 8011E7E4 0011B744 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8011E7E8 0011B748 83 E1 01 0C */ lwz r31, 0x10c(r1) +/* 8011E7EC 0011B74C 83 C1 01 08 */ lwz r30, 0x108(r1) +/* 8011E7F0 0011B750 83 A1 01 04 */ lwz r29, 0x104(r1) +/* 8011E7F4 0011B754 7C 08 03 A6 */ mtlr r0 +/* 8011E7F8 0011B758 38 21 01 10 */ addi r1, r1, 0x110 +/* 8011E7FC 0011B75C 4E 80 00 20 */ blr + +.global Activate__11CGrappleArmFb +Activate__11CGrappleArmFb: +/* 8011E800 0011B760 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011E804 0011B764 7C 08 02 A6 */ mflr r0 +/* 8011E808 0011B768 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011E80C 0011B76C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8011E810 0011B770 38 80 00 08 */ li r4, 8 +/* 8011E814 0011B774 41 82 00 08 */ beq lbl_8011E81C +/* 8011E818 0011B778 38 80 00 00 */ li r4, 0 +lbl_8011E81C: +/* 8011E81C 0011B77C 4B FF FD 45 */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState +/* 8011E820 0011B780 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011E824 0011B784 7C 08 03 A6 */ mtlr r0 +/* 8011E828 0011B788 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011E82C 0011B78C 4E 80 00 20 */ blr + +.global UpdateGrappleBeamFX__11CGrappleArmFRC9CVector3fRC9CVector3fR13CStateManager +UpdateGrappleBeamFX__11CGrappleArmFRC9CVector3fRC9CVector3fR13CStateManager: +/* 8011E830 0011B790 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 8011E834 0011B794 7C 08 02 A6 */ mflr r0 +/* 8011E838 0011B798 90 01 01 54 */ stw r0, 0x154(r1) +/* 8011E83C 0011B79C DB E1 01 40 */ stfd f31, 0x140(r1) +/* 8011E840 0011B7A0 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 8011E844 0011B7A4 DB C1 01 30 */ stfd f30, 0x130(r1) +/* 8011E848 0011B7A8 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 +/* 8011E84C 0011B7AC DB A1 01 20 */ stfd f29, 0x120(r1) +/* 8011E850 0011B7B0 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 +/* 8011E854 0011B7B4 DB 81 01 10 */ stfd f28, 0x110(r1) +/* 8011E858 0011B7B8 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 +/* 8011E85C 0011B7BC DB 61 01 00 */ stfd f27, 0x100(r1) +/* 8011E860 0011B7C0 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 +/* 8011E864 0011B7C4 DB 41 00 F0 */ stfd f26, 0xf0(r1) +/* 8011E868 0011B7C8 F3 41 00 F8 */ psq_st f26, 248(r1), 0, qr0 +/* 8011E86C 0011B7CC DB 21 00 E0 */ stfd f25, 0xe0(r1) +/* 8011E870 0011B7D0 F3 21 00 E8 */ psq_st f25, 232(r1), 0, qr0 +/* 8011E874 0011B7D4 DB 01 00 D0 */ stfd f24, 0xd0(r1) +/* 8011E878 0011B7D8 F3 01 00 D8 */ psq_st f24, 216(r1), 0, qr0 +/* 8011E87C 0011B7DC DA E1 00 C0 */ stfd f23, 0xc0(r1) +/* 8011E880 0011B7E0 F2 E1 00 C8 */ psq_st f23, 200(r1), 0, qr0 +/* 8011E884 0011B7E4 DA C1 00 B0 */ stfd f22, 0xb0(r1) +/* 8011E888 0011B7E8 F2 C1 00 B8 */ psq_st f22, 184(r1), 0, qr0 +/* 8011E88C 0011B7EC BF 21 00 94 */ stmw r25, 0x94(r1) +/* 8011E890 0011B7F0 7C 7B 1B 78 */ mr r27, r3 +/* 8011E894 0011B7F4 7C B9 2B 78 */ mr r25, r5 +/* 8011E898 0011B7F8 80 63 03 94 */ lwz r3, 0x394(r3) +/* 8011E89C 0011B7FC 7C 9C 23 78 */ mr r28, r4 +/* 8011E8A0 0011B800 7F 24 CB 78 */ mr r4, r25 +/* 8011E8A4 0011B804 81 83 00 00 */ lwz r12, 0(r3) +/* 8011E8A8 0011B808 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8011E8AC 0011B80C 7D 89 03 A6 */ mtctr r12 +/* 8011E8B0 0011B810 4E 80 04 21 */ bctrl +/* 8011E8B4 0011B814 80 7B 03 90 */ lwz r3, 0x390(r27) +/* 8011E8B8 0011B818 38 80 00 01 */ li r4, 1 +/* 8011E8BC 0011B81C 81 83 00 00 */ lwz r12, 0(r3) +/* 8011E8C0 0011B820 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8011E8C4 0011B824 7D 89 03 A6 */ mtctr r12 +/* 8011E8C8 0011B828 4E 80 04 21 */ bctrl +/* 8011E8CC 0011B82C C0 39 00 04 */ lfs f1, 4(r25) +/* 8011E8D0 0011B830 38 61 00 44 */ addi r3, r1, 0x44 +/* 8011E8D4 0011B834 C0 1C 00 04 */ lfs f0, 4(r28) +/* 8011E8D8 0011B838 C0 79 00 08 */ lfs f3, 8(r25) +/* 8011E8DC 0011B83C C0 5C 00 08 */ lfs f2, 8(r28) +/* 8011E8E0 0011B840 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8011E8E4 0011B844 C0 39 00 00 */ lfs f1, 0(r25) +/* 8011E8E8 0011B848 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8011E8EC 0011B84C EC 43 10 28 */ fsubs f2, f3, f2 +/* 8011E8F0 0011B850 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 8011E8F4 0011B854 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8011E8F8 0011B858 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8011E8FC 0011B85C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8011E900 0011B860 48 1F 5F B9 */ bl Magnitude__9CVector3fCFv +/* 8011E904 0011B864 C0 02 97 74 */ lfs f0, lbl_805AB494@sda21(r2) +/* 8011E908 0011B868 3C 00 43 30 */ lis r0, 0x4330 +/* 8011E90C 0011B86C C0 C2 97 68 */ lfs f6, lbl_805AB488@sda21(r2) +/* 8011E910 0011B870 38 61 00 50 */ addi r3, r1, 0x50 +/* 8011E914 0011B874 90 01 00 88 */ stw r0, 0x88(r1) +/* 8011E918 0011B878 38 9B 02 20 */ addi r4, r27, 0x220 +/* 8011E91C 0011B87C EC 00 30 7A */ fmadds f0, f0, f1, f6 +/* 8011E920 0011B880 C8 82 97 80 */ lfd f4, lbl_805AB4A0@sda21(r2) +/* 8011E924 0011B884 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 8011E928 0011B888 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 8011E92C 0011B88C FC A0 00 1E */ fctiwz f5, f0 +/* 8011E930 0011B890 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 8011E934 0011B894 C3 C1 00 44 */ lfs f30, 0x44(r1) +/* 8011E938 0011B898 C0 02 97 78 */ lfs f0, lbl_805AB498@sda21(r2) +/* 8011E93C 0011B89C D8 A1 00 80 */ stfd f5, 0x80(r1) +/* 8011E940 0011B8A0 C3 A1 00 48 */ lfs f29, 0x48(r1) +/* 8011E944 0011B8A4 EF DE 00 32 */ fmuls f30, f30, f0 +/* 8011E948 0011B8A8 83 41 00 84 */ lwz r26, 0x84(r1) +/* 8011E94C 0011B8AC C3 81 00 4C */ lfs f28, 0x4c(r1) +/* 8011E950 0011B8B0 EF BD 00 32 */ fmuls f29, f29, f0 +/* 8011E954 0011B8B4 6F 40 80 00 */ xoris r0, r26, 0x8000 +/* 8011E958 0011B8B8 C3 7C 00 00 */ lfs f27, 0(r28) +/* 8011E95C 0011B8BC 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8011E960 0011B8C0 EF 9C 00 32 */ fmuls f28, f28, f0 +/* 8011E964 0011B8C4 C3 5C 00 04 */ lfs f26, 4(r28) +/* 8011E968 0011B8C8 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 8011E96C 0011B8CC C3 3C 00 08 */ lfs f25, 8(r28) +/* 8011E970 0011B8D0 EC 00 20 28 */ fsubs f0, f0, f4 +/* 8011E974 0011B8D4 EC 06 00 24 */ fdivs f0, f6, f0 +/* 8011E978 0011B8D8 EC 63 00 32 */ fmuls f3, f3, f0 +/* 8011E97C 0011B8DC EC 42 00 32 */ fmuls f2, f2, f0 +/* 8011E980 0011B8E0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8011E984 0011B8E4 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 8011E988 0011B8E8 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 8011E98C 0011B8EC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 8011E990 0011B8F0 48 1F 42 B1 */ bl GetRotation__12CTransform4fCFv +/* 8011E994 0011B8F4 CB E2 97 80 */ lfd f31, lbl_805AB4A0@sda21(r2) +/* 8011E998 0011B8F8 3B C1 00 50 */ addi r30, r1, 0x50 +/* 8011E99C 0011B8FC 3B A0 00 00 */ li r29, 0 +/* 8011E9A0 0011B900 3F 20 43 30 */ lis r25, 0x4330 +/* 8011E9A4 0011B904 48 00 00 D8 */ b lbl_8011EA7C +lbl_8011E9A8: +/* 8011E9A8 0011B908 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 8011E9AC 0011B90C 93 21 00 88 */ stw r25, 0x88(r1) +/* 8011E9B0 0011B910 C0 1B 03 40 */ lfs f0, 0x340(r27) +/* 8011E9B4 0011B914 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8011E9B8 0011B918 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 8011E9BC 0011B91C EF 01 F8 28 */ fsubs f24, f1, f31 +/* 8011E9C0 0011B920 EC 38 00 2A */ fadds f1, f24, f0 +/* 8011E9C4 0011B924 48 1F 63 81 */ bl FastCosR__5CMathFf +/* 8011E9C8 0011B928 C0 1B 03 44 */ lfs f0, 0x344(r27) +/* 8011E9CC 0011B92C EE E0 00 72 */ fmuls f23, f0, f1 +/* 8011E9D0 0011B930 FC 20 C0 90 */ fmr f1, f24 +/* 8011E9D4 0011B934 48 1F 64 1D */ bl FastSinR__5CMathFf +/* 8011E9D8 0011B938 C0 1B 03 48 */ lfs f0, 0x348(r27) +/* 8011E9DC 0011B93C 2C 1D 00 00 */ cmpwi r29, 0 +/* 8011E9E0 0011B940 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8011E9E4 0011B944 40 81 00 2C */ ble lbl_8011EA10 +/* 8011E9E8 0011B948 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) +/* 8011E9EC 0011B94C 7F C4 F3 78 */ mr r4, r30 +/* 8011E9F0 0011B950 D2 E1 00 2C */ stfs f23, 0x2c(r1) +/* 8011E9F4 0011B954 38 61 00 20 */ addi r3, r1, 0x20 +/* 8011E9F8 0011B958 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8011E9FC 0011B95C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8011EA00 0011B960 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8011EA04 0011B964 48 1F 40 E5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8011EA08 0011B968 38 61 00 20 */ addi r3, r1, 0x20 +/* 8011EA0C 0011B96C 48 00 00 0C */ b lbl_8011EA18 +lbl_8011EA10: +/* 8011EA10 0011B970 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011EA14 0011B974 38 63 66 A0 */ addi r3, r3, skZero3f@l +lbl_8011EA18: +/* 8011EA18 0011B978 C0 43 00 04 */ lfs f2, 4(r3) +/* 8011EA1C 0011B97C 38 81 00 38 */ addi r4, r1, 0x38 +/* 8011EA20 0011B980 C0 23 00 08 */ lfs f1, 8(r3) +/* 8011EA24 0011B984 C0 03 00 00 */ lfs f0, 0(r3) +/* 8011EA28 0011B988 EC 5A 10 2A */ fadds f2, f26, f2 +/* 8011EA2C 0011B98C EC 39 08 2A */ fadds f1, f25, f1 +/* 8011EA30 0011B990 EC 1B 00 2A */ fadds f0, f27, f0 +/* 8011EA34 0011B994 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 8011EA38 0011B998 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8011EA3C 0011B99C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 8011EA40 0011B9A0 80 7B 03 90 */ lwz r3, 0x390(r27) +/* 8011EA44 0011B9A4 81 83 00 00 */ lwz r12, 0(r3) +/* 8011EA48 0011B9A8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8011EA4C 0011B9AC 7D 89 03 A6 */ mtctr r12 +/* 8011EA50 0011B9B0 4E 80 04 21 */ bctrl +/* 8011EA54 0011B9B4 80 7B 03 90 */ lwz r3, 0x390(r27) +/* 8011EA58 0011B9B8 38 80 00 01 */ li r4, 1 +/* 8011EA5C 0011B9BC 48 1F DE 65 */ bl ForceParticleCreation__11CElementGenFi +/* 8011EA60 0011B9C0 C0 41 00 44 */ lfs f2, 0x44(r1) +/* 8011EA64 0011B9C4 3B BD 00 01 */ addi r29, r29, 1 +/* 8011EA68 0011B9C8 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 8011EA6C 0011B9CC C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8011EA70 0011B9D0 EF 7B 10 2A */ fadds f27, f27, f2 +/* 8011EA74 0011B9D4 EF 5A 08 2A */ fadds f26, f26, f1 +/* 8011EA78 0011B9D8 EF 39 00 2A */ fadds f25, f25, f0 +lbl_8011EA7C: +/* 8011EA7C 0011B9DC 7C 1D D0 00 */ cmpw r29, r26 +/* 8011EA80 0011B9E0 41 80 FF 28 */ blt lbl_8011E9A8 +/* 8011EA84 0011B9E4 80 7B 03 90 */ lwz r3, 0x390(r27) +/* 8011EA88 0011B9E8 38 80 00 00 */ li r4, 0 +/* 8011EA8C 0011B9EC 81 83 00 00 */ lwz r12, 0(r3) +/* 8011EA90 0011B9F0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8011EA94 0011B9F4 7D 89 03 A6 */ mtctr r12 +/* 8011EA98 0011B9F8 4E 80 04 21 */ bctrl +/* 8011EA9C 0011B9FC 83 3B 03 A0 */ lwz r25, 0x3a0(r27) +/* 8011EAA0 0011BA00 3B A0 00 00 */ li r29, 0 +/* 8011EAA4 0011BA04 C3 3C 00 00 */ lfs f25, 0(r28) +/* 8011EAA8 0011BA08 3B E0 00 00 */ li r31, 0 +/* 8011EAAC 0011BA0C 80 79 01 60 */ lwz r3, 0x160(r25) +/* 8011EAB0 0011BA10 3F 40 43 30 */ lis r26, 0x4330 +/* 8011EAB4 0011BA14 80 99 01 68 */ lwz r4, 0x168(r25) +/* 8011EAB8 0011BA18 38 03 FF FF */ addi r0, r3, -1 +/* 8011EABC 0011BA1C C3 5C 00 04 */ lfs f26, 4(r28) +/* 8011EAC0 0011BA20 54 03 38 30 */ slwi r3, r0, 7 +/* 8011EAC4 0011BA24 C3 7C 00 08 */ lfs f27, 8(r28) +/* 8011EAC8 0011BA28 38 03 00 30 */ addi r0, r3, 0x30 +/* 8011EACC 0011BA2C CB 02 97 80 */ lfd f24, lbl_805AB4A0@sda21(r2) +/* 8011EAD0 0011BA30 7F E4 04 2E */ lfsx f31, r4, r0 +/* 8011EAD4 0011BA34 48 00 00 C0 */ b lbl_8011EB94 +lbl_8011EAD8: +/* 8011EAD8 0011BA38 6F A0 80 00 */ xoris r0, r29, 0x8000 +/* 8011EADC 0011BA3C 93 41 00 88 */ stw r26, 0x88(r1) +/* 8011EAE0 0011BA40 C0 1B 03 40 */ lfs f0, 0x340(r27) +/* 8011EAE4 0011BA44 90 01 00 8C */ stw r0, 0x8c(r1) +/* 8011EAE8 0011BA48 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 8011EAEC 0011BA4C EE E1 C0 28 */ fsubs f23, f1, f24 +/* 8011EAF0 0011BA50 EC 37 00 2A */ fadds f1, f23, f0 +/* 8011EAF4 0011BA54 48 1F 62 51 */ bl FastCosR__5CMathFf +/* 8011EAF8 0011BA58 C0 1B 03 44 */ lfs f0, 0x344(r27) +/* 8011EAFC 0011BA5C EE C0 00 72 */ fmuls f22, f0, f1 +/* 8011EB00 0011BA60 FC 20 B8 90 */ fmr f1, f23 +/* 8011EB04 0011BA64 48 1F 62 ED */ bl FastSinR__5CMathFf +/* 8011EB08 0011BA68 C0 1B 03 48 */ lfs f0, 0x348(r27) +/* 8011EB0C 0011BA6C 2C 1D 00 00 */ cmpwi r29, 0 +/* 8011EB10 0011BA70 EC 20 00 72 */ fmuls f1, f0, f1 +/* 8011EB14 0011BA74 40 81 00 2C */ ble lbl_8011EB40 +/* 8011EB18 0011BA78 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) +/* 8011EB1C 0011BA7C 7F C4 F3 78 */ mr r4, r30 +/* 8011EB20 0011BA80 D2 C1 00 14 */ stfs f22, 0x14(r1) +/* 8011EB24 0011BA84 38 61 00 08 */ addi r3, r1, 8 +/* 8011EB28 0011BA88 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8011EB2C 0011BA8C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8011EB30 0011BA90 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 8011EB34 0011BA94 48 1F 3F B5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8011EB38 0011BA98 38 61 00 08 */ addi r3, r1, 8 +/* 8011EB3C 0011BA9C 48 00 00 0C */ b lbl_8011EB48 +lbl_8011EB40: +/* 8011EB40 0011BAA0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 8011EB44 0011BAA4 38 63 66 A0 */ addi r3, r3, skZero3f@l +lbl_8011EB48: +/* 8011EB48 0011BAA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8011EB4C 0011BAAC 3B BD 00 01 */ addi r29, r29, 1 +/* 8011EB50 0011BAB0 C0 43 00 04 */ lfs f2, 4(r3) +/* 8011EB54 0011BAB4 EC 19 00 2A */ fadds f0, f25, f0 +/* 8011EB58 0011BAB8 80 19 01 68 */ lwz r0, 0x168(r25) +/* 8011EB5C 0011BABC C0 23 00 08 */ lfs f1, 8(r3) +/* 8011EB60 0011BAC0 EC 5A 10 2A */ fadds f2, f26, f2 +/* 8011EB64 0011BAC4 7C 60 FA 14 */ add r3, r0, r31 +/* 8011EB68 0011BAC8 EF 39 F0 2A */ fadds f25, f25, f30 +/* 8011EB6C 0011BACC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8011EB70 0011BAD0 EC 1B 08 2A */ fadds f0, f27, f1 +/* 8011EB74 0011BAD4 EF 5A E8 2A */ fadds f26, f26, f29 +/* 8011EB78 0011BAD8 3B FF 00 80 */ addi r31, r31, 0x80 +/* 8011EB7C 0011BADC D0 43 00 10 */ stfs f2, 0x10(r3) +/* 8011EB80 0011BAE0 EF 7B E0 2A */ fadds f27, f27, f28 +/* 8011EB84 0011BAE4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8011EB88 0011BAE8 C0 03 00 30 */ lfs f0, 0x30(r3) +/* 8011EB8C 0011BAEC D3 E3 00 30 */ stfs f31, 0x30(r3) +/* 8011EB90 0011BAF0 FF E0 00 90 */ fmr f31, f0 +lbl_8011EB94: +/* 8011EB94 0011BAF4 80 19 01 60 */ lwz r0, 0x160(r25) +/* 8011EB98 0011BAF8 7C 1D 00 00 */ cmpw r29, r0 +/* 8011EB9C 0011BAFC 41 80 FF 3C */ blt lbl_8011EAD8 +/* 8011EBA0 0011BB00 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 8011EBA4 0011BB04 CB E1 01 40 */ lfd f31, 0x140(r1) +/* 8011EBA8 0011BB08 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 +/* 8011EBAC 0011BB0C CB C1 01 30 */ lfd f30, 0x130(r1) +/* 8011EBB0 0011BB10 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 +/* 8011EBB4 0011BB14 CB A1 01 20 */ lfd f29, 0x120(r1) +/* 8011EBB8 0011BB18 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 +/* 8011EBBC 0011BB1C CB 81 01 10 */ lfd f28, 0x110(r1) +/* 8011EBC0 0011BB20 E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 +/* 8011EBC4 0011BB24 CB 61 01 00 */ lfd f27, 0x100(r1) +/* 8011EBC8 0011BB28 E3 41 00 F8 */ psq_l f26, 248(r1), 0, qr0 +/* 8011EBCC 0011BB2C CB 41 00 F0 */ lfd f26, 0xf0(r1) +/* 8011EBD0 0011BB30 E3 21 00 E8 */ psq_l f25, 232(r1), 0, qr0 +/* 8011EBD4 0011BB34 CB 21 00 E0 */ lfd f25, 0xe0(r1) +/* 8011EBD8 0011BB38 E3 01 00 D8 */ psq_l f24, 216(r1), 0, qr0 +/* 8011EBDC 0011BB3C CB 01 00 D0 */ lfd f24, 0xd0(r1) +/* 8011EBE0 0011BB40 E2 E1 00 C8 */ psq_l f23, 200(r1), 0, qr0 +/* 8011EBE4 0011BB44 CA E1 00 C0 */ lfd f23, 0xc0(r1) +/* 8011EBE8 0011BB48 E2 C1 00 B8 */ psq_l f22, 184(r1), 0, qr0 +/* 8011EBEC 0011BB4C CA C1 00 B0 */ lfd f22, 0xb0(r1) +/* 8011EBF0 0011BB50 BB 21 00 94 */ lmw r25, 0x94(r1) +/* 8011EBF4 0011BB54 80 01 01 54 */ lwz r0, 0x154(r1) +/* 8011EBF8 0011BB58 7C 08 03 A6 */ mtlr r0 +/* 8011EBFC 0011BB5C 38 21 01 50 */ addi r1, r1, 0x150 +/* 8011EC00 0011BB60 4E 80 00 20 */ blr + +.global UpdateGrappleBeam__11CGrappleArmFfRC12CTransform4fR13CStateManager +UpdateGrappleBeam__11CGrappleArmFfRC12CTransform4fR13CStateManager: +/* 8011EC04 0011BB64 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 8011EC08 0011BB68 7C 08 02 A6 */ mflr r0 +/* 8011EC0C 0011BB6C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 8011EC10 0011BB70 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 8011EC14 0011BB74 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 8011EC18 0011BB78 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8011EC1C 0011BB7C 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8011EC20 0011BB80 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8011EC24 0011BB84 93 81 00 90 */ stw r28, 0x90(r1) +/* 8011EC28 0011BB88 7C BE 2B 78 */ mr r30, r5 +/* 8011EC2C 0011BB8C 7C 7C 1B 78 */ mr r28, r3 +/* 8011EC30 0011BB90 80 A5 08 4C */ lwz r5, 0x84c(r5) +/* 8011EC34 0011BB94 7C 9D 23 78 */ mr r29, r4 +/* 8011EC38 0011BB98 FF E0 08 90 */ fmr f31, f1 +/* 8011EC3C 0011BB9C 7F C3 F3 78 */ mr r3, r30 +/* 8011EC40 0011BBA0 A0 05 03 10 */ lhz r0, 0x310(r5) +/* 8011EC44 0011BBA4 38 81 00 08 */ addi r4, r1, 8 +/* 8011EC48 0011BBA8 3B E0 00 00 */ li r31, 0 +/* 8011EC4C 0011BBAC B0 01 00 0C */ sth r0, 0xc(r1) +/* 8011EC50 0011BBB0 B0 01 00 08 */ sth r0, 8(r1) +/* 8011EC54 0011BBB4 4B F2 D9 51 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8011EC58 0011BBB8 7C 64 1B 78 */ mr r4, r3 +/* 8011EC5C 0011BBBC 38 61 00 10 */ addi r3, r1, 0x10 +/* 8011EC60 0011BBC0 4B F9 10 31 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8011EC64 0011BBC4 80 63 00 04 */ lwz r3, 4(r3) +/* 8011EC68 0011BBC8 28 03 00 00 */ cmplwi r3, 0 +/* 8011EC6C 0011BBCC 41 82 00 24 */ beq lbl_8011EC90 +/* 8011EC70 0011BBD0 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 8011EC74 0011BBD4 38 C1 00 30 */ addi r6, r1, 0x30 +/* 8011EC78 0011BBD8 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 8011EC7C 0011BBDC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8011EC80 0011BBE0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8011EC84 0011BBE4 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 8011EC88 0011BBE8 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 8011EC8C 0011BBEC 48 00 00 20 */ b lbl_8011ECAC +lbl_8011EC90: +/* 8011EC90 0011BBF0 C0 5C 02 4C */ lfs f2, 0x24c(r28) +/* 8011EC94 0011BBF4 38 C1 00 24 */ addi r6, r1, 0x24 +/* 8011EC98 0011BBF8 C0 3C 02 3C */ lfs f1, 0x23c(r28) +/* 8011EC9C 0011BBFC C0 1C 02 2C */ lfs f0, 0x22c(r28) +/* 8011ECA0 0011BC00 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 8011ECA4 0011BC04 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 8011ECA8 0011BC08 D0 41 00 2C */ stfs f2, 0x2c(r1) +lbl_8011ECAC: +/* 8011ECAC 0011BC0C C0 06 00 00 */ lfs f0, 0(r6) +/* 8011ECB0 0011BC10 7F A5 EB 78 */ mr r5, r29 +/* 8011ECB4 0011BC14 38 61 00 54 */ addi r3, r1, 0x54 +/* 8011ECB8 0011BC18 38 9C 02 20 */ addi r4, r28, 0x220 +/* 8011ECBC 0011BC1C D0 1C 03 10 */ stfs f0, 0x310(r28) +/* 8011ECC0 0011BC20 C0 06 00 04 */ lfs f0, 4(r6) +/* 8011ECC4 0011BC24 D0 1C 03 14 */ stfs f0, 0x314(r28) +/* 8011ECC8 0011BC28 C0 06 00 08 */ lfs f0, 8(r6) +/* 8011ECCC 0011BC2C D0 1C 03 18 */ stfs f0, 0x318(r28) +/* 8011ECD0 0011BC30 48 1F 3C 81 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011ECD4 0011BC34 C1 41 00 80 */ lfs f10, 0x80(r1) +/* 8011ECD8 0011BC38 C1 21 00 70 */ lfs f9, 0x70(r1) +/* 8011ECDC 0011BC3C C0 C1 00 60 */ lfs f6, 0x60(r1) +/* 8011ECE0 0011BC40 D1 21 00 4C */ stfs f9, 0x4c(r1) +/* 8011ECE4 0011BC44 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +/* 8011ECE8 0011BC48 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 8011ECEC 0011BC4C D1 41 00 50 */ stfs f10, 0x50(r1) +/* 8011ECF0 0011BC50 C1 1C 03 38 */ lfs f8, 0x338(r28) +/* 8011ECF4 0011BC54 C0 BC 03 10 */ lfs f5, 0x310(r28) +/* 8011ECF8 0011BC58 C0 7C 03 14 */ lfs f3, 0x314(r28) +/* 8011ECFC 0011BC5C EC E0 40 28 */ fsubs f7, f0, f8 +/* 8011ED00 0011BC60 C0 3C 03 18 */ lfs f1, 0x318(r28) +/* 8011ED04 0011BC64 EC 85 02 32 */ fmuls f4, f5, f8 +/* 8011ED08 0011BC68 EC 43 02 32 */ fmuls f2, f3, f8 +/* 8011ED0C 0011BC6C EC 01 02 32 */ fmuls f0, f1, f8 +/* 8011ED10 0011BC70 EC 86 21 FA */ fmadds f4, f6, f7, f4 +/* 8011ED14 0011BC74 EC 49 11 FA */ fmadds f2, f9, f7, f2 +/* 8011ED18 0011BC78 EC 0A 01 FA */ fmadds f0, f10, f7, f0 +/* 8011ED1C 0011BC7C D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 8011ED20 0011BC80 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 8011ED24 0011BC84 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8011ED28 0011BC88 80 1C 03 34 */ lwz r0, 0x334(r28) +/* 8011ED2C 0011BC8C 2C 00 00 04 */ cmpwi r0, 4 +/* 8011ED30 0011BC90 41 82 00 A4 */ beq lbl_8011EDD4 +/* 8011ED34 0011BC94 40 80 00 E8 */ bge lbl_8011EE1C +/* 8011ED38 0011BC98 2C 00 00 02 */ cmpwi r0, 2 +/* 8011ED3C 0011BC9C 40 80 00 0C */ bge lbl_8011ED48 +/* 8011ED40 0011BCA0 48 00 00 DC */ b lbl_8011EE1C +/* 8011ED44 0011BCA4 48 00 00 D8 */ b lbl_8011EE1C +lbl_8011ED48: +/* 8011ED48 0011BCA8 EC 43 48 28 */ fsubs f2, f3, f9 +/* 8011ED4C 0011BCAC 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011ED50 0011BCB0 EC 21 50 28 */ fsubs f1, f1, f10 +/* 8011ED54 0011BCB4 EC 05 30 28 */ fsubs f0, f5, f6 +/* 8011ED58 0011BCB8 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 8011ED5C 0011BCBC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8011ED60 0011BCC0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8011ED64 0011BCC4 48 1F 5B 55 */ bl Magnitude__9CVector3fCFv +/* 8011ED68 0011BCC8 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) +/* 8011ED6C 0011BCCC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011ED70 0011BCD0 40 81 00 10 */ ble lbl_8011ED80 +/* 8011ED74 0011BCD4 C0 1C 03 3C */ lfs f0, 0x33c(r28) +/* 8011ED78 0011BCD8 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8011ED7C 0011BCDC 48 00 00 08 */ b lbl_8011ED84 +lbl_8011ED80: +/* 8011ED80 0011BCE0 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +lbl_8011ED84: +/* 8011ED84 0011BCE4 D0 1C 03 38 */ stfs f0, 0x338(r28) +/* 8011ED88 0011BCE8 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 8011ED8C 0011BCEC 80 03 02 58 */ lwz r0, 0x258(r3) +/* 8011ED90 0011BCF0 2C 00 00 00 */ cmpwi r0, 0 +/* 8011ED94 0011BCF4 41 82 00 0C */ beq lbl_8011EDA0 +/* 8011ED98 0011BCF8 C0 62 97 74 */ lfs f3, lbl_805AB494@sda21(r2) +/* 8011ED9C 0011BCFC 48 00 00 08 */ b lbl_8011EDA4 +lbl_8011EDA0: +/* 8011EDA0 0011BD00 C0 62 97 68 */ lfs f3, lbl_805AB488@sda21(r2) +lbl_8011EDA4: +/* 8011EDA4 0011BD04 C0 0D 8A 84 */ lfs f0, lbl_805A7644@sda21(r13) +/* 8011EDA8 0011BD08 C0 3C 03 3C */ lfs f1, 0x33c(r28) +/* 8011EDAC 0011BD0C EC 5F 00 32 */ fmuls f2, f31, f0 +/* 8011EDB0 0011BD10 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +/* 8011EDB4 0011BD14 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 8011EDB8 0011BD18 D0 3C 03 3C */ stfs f1, 0x33c(r28) +/* 8011EDBC 0011BD1C C0 3C 03 38 */ lfs f1, 0x338(r28) +/* 8011EDC0 0011BD20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011EDC4 0011BD24 41 80 00 58 */ blt lbl_8011EE1C +/* 8011EDC8 0011BD28 D0 1C 03 38 */ stfs f0, 0x338(r28) +/* 8011EDCC 0011BD2C 3B E0 00 01 */ li r31, 1 +/* 8011EDD0 0011BD30 48 00 00 4C */ b lbl_8011EE1C +lbl_8011EDD4: +/* 8011EDD4 0011BD34 C0 02 97 88 */ lfs f0, lbl_805AB4A8@sda21(r2) +/* 8011EDD8 0011BD38 C0 3C 03 44 */ lfs f1, 0x344(r28) +/* 8011EDDC 0011BD3C EC 40 07 F2 */ fmuls f2, f0, f31 +/* 8011EDE0 0011BD40 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) +/* 8011EDE4 0011BD44 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8011EDE8 0011BD48 D0 3C 03 44 */ stfs f1, 0x344(r28) +/* 8011EDEC 0011BD4C C0 3C 03 48 */ lfs f1, 0x348(r28) +/* 8011EDF0 0011BD50 EC 21 10 28 */ fsubs f1, f1, f2 +/* 8011EDF4 0011BD54 D0 3C 03 48 */ stfs f1, 0x348(r28) +/* 8011EDF8 0011BD58 C0 3C 03 44 */ lfs f1, 0x344(r28) +/* 8011EDFC 0011BD5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011EE00 0011BD60 40 80 00 08 */ bge lbl_8011EE08 +/* 8011EE04 0011BD64 D0 1C 03 44 */ stfs f0, 0x344(r28) +lbl_8011EE08: +/* 8011EE08 0011BD68 C0 3C 03 48 */ lfs f1, 0x348(r28) +/* 8011EE0C 0011BD6C C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) +/* 8011EE10 0011BD70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011EE14 0011BD74 40 80 00 08 */ bge lbl_8011EE1C +/* 8011EE18 0011BD78 D0 1C 03 48 */ stfs f0, 0x348(r28) +lbl_8011EE1C: +/* 8011EE1C 0011BD7C 88 1C 03 B2 */ lbz r0, 0x3b2(r28) +/* 8011EE20 0011BD80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8011EE24 0011BD84 41 82 00 58 */ beq lbl_8011EE7C +/* 8011EE28 0011BD88 C0 3C 03 40 */ lfs f1, 0x340(r28) +/* 8011EE2C 0011BD8C 7F 83 E3 78 */ mr r3, r28 +/* 8011EE30 0011BD90 C0 0D 8A 78 */ lfs f0, lbl_805A7638@sda21(r13) +/* 8011EE34 0011BD94 7F C6 F3 78 */ mr r6, r30 +/* 8011EE38 0011BD98 38 81 00 48 */ addi r4, r1, 0x48 +/* 8011EE3C 0011BD9C 38 A1 00 3C */ addi r5, r1, 0x3c +/* 8011EE40 0011BDA0 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011EE44 0011BDA4 D0 1C 03 40 */ stfs f0, 0x340(r28) +/* 8011EE48 0011BDA8 4B FF F9 E9 */ bl UpdateGrappleBeamFX__11CGrappleArmFRC9CVector3fRC9CVector3fR13CStateManager +/* 8011EE4C 0011BDAC 80 7C 03 94 */ lwz r3, 0x394(r28) +/* 8011EE50 0011BDB0 FC 20 F8 90 */ fmr f1, f31 +/* 8011EE54 0011BDB4 81 83 00 00 */ lwz r12, 0(r3) +/* 8011EE58 0011BDB8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011EE5C 0011BDBC 7D 89 03 A6 */ mtctr r12 +/* 8011EE60 0011BDC0 4E 80 04 21 */ bctrl +/* 8011EE64 0011BDC4 80 7C 03 90 */ lwz r3, 0x390(r28) +/* 8011EE68 0011BDC8 FC 20 F8 90 */ fmr f1, f31 +/* 8011EE6C 0011BDCC 81 83 00 00 */ lwz r12, 0(r3) +/* 8011EE70 0011BDD0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011EE74 0011BDD4 7D 89 03 A6 */ mtctr r12 +/* 8011EE78 0011BDD8 4E 80 04 21 */ bctrl +lbl_8011EE7C: +/* 8011EE7C 0011BDDC 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 8011EE80 0011BDE0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 8011EE84 0011BDE4 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 8011EE88 0011BDE8 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 8011EE8C 0011BDEC 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8011EE90 0011BDF0 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8011EE94 0011BDF4 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8011EE98 0011BDF8 83 81 00 90 */ lwz r28, 0x90(r1) +/* 8011EE9C 0011BDFC 7C 08 03 A6 */ mtlr r0 +/* 8011EEA0 0011BE00 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 8011EEA4 0011BE04 4E 80 00 20 */ blr + +.global Update__11CGrappleArmFffR13CStateManager +Update__11CGrappleArmFffR13CStateManager: +/* 8011EEA8 0011BE08 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 8011EEAC 0011BE0C 7C 08 02 A6 */ mflr r0 +/* 8011EEB0 0011BE10 90 01 01 64 */ stw r0, 0x164(r1) +/* 8011EEB4 0011BE14 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 8011EEB8 0011BE18 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 8011EEBC 0011BE1C DB C1 01 40 */ stfd f30, 0x140(r1) +/* 8011EEC0 0011BE20 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 +/* 8011EEC4 0011BE24 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 8011EEC8 0011BE28 93 C1 01 38 */ stw r30, 0x138(r1) +/* 8011EECC 0011BE2C 7C 7E 1B 78 */ mr r30, r3 +/* 8011EED0 0011BE30 88 63 03 B2 */ lbz r3, 0x3b2(r3) +/* 8011EED4 0011BE34 7C 9F 23 78 */ mr r31, r4 +/* 8011EED8 0011BE38 FF C0 08 90 */ fmr f30, f1 +/* 8011EEDC 0011BE3C FF E0 10 90 */ fmr f31, f2 +/* 8011EEE0 0011BE40 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8011EEE4 0011BE44 38 80 00 00 */ li r4, 0 +/* 8011EEE8 0011BE48 41 82 00 10 */ beq lbl_8011EEF8 +/* 8011EEEC 0011BE4C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8011EEF0 0011BE50 40 82 00 08 */ bne lbl_8011EEF8 +/* 8011EEF4 0011BE54 38 80 00 01 */ li r4, 1 +lbl_8011EEF8: +/* 8011EEF8 0011BE58 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8011EEFC 0011BE5C 40 82 00 1C */ bne lbl_8011EF18 +/* 8011EF00 0011BE60 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011EF04 0011BE64 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8011EF08 0011BE68 41 82 01 E0 */ beq lbl_8011F0E8 +/* 8011EF0C 0011BE6C 7F C3 F3 78 */ mr r3, r30 +/* 8011EF10 0011BE70 4B FF EA CD */ bl LoadSuitPoll__11CGrappleArmFv +/* 8011EF14 0011BE74 48 00 01 D4 */ b lbl_8011F0E8 +lbl_8011EF18: +/* 8011EF18 0011BE78 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8011EF1C 0011BE7C 80 63 00 00 */ lwz r3, 0(r3) +/* 8011EF20 0011BE80 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8011EF24 0011BE84 2C 00 00 01 */ cmpwi r0, 1 +/* 8011EF28 0011BE88 40 82 00 1C */ bne lbl_8011EF44 +/* 8011EF2C 0011BE8C 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 8011EF30 0011BE90 28 00 00 00 */ cmplwi r0, 0 +/* 8011EF34 0011BE94 40 82 00 50 */ bne lbl_8011EF84 +/* 8011EF38 0011BE98 7F C3 F3 78 */ mr r3, r30 +/* 8011EF3C 0011BE9C 4B FF E9 F5 */ bl BuildXRayModel__11CGrappleArmFv +/* 8011EF40 0011BEA0 48 00 00 44 */ b lbl_8011EF84 +lbl_8011EF44: +/* 8011EF44 0011BEA4 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 8011EF48 0011BEA8 28 00 00 00 */ cmplwi r0, 0 +/* 8011EF4C 0011BEAC 41 82 00 38 */ beq lbl_8011EF84 +/* 8011EF50 0011BEB0 38 00 00 00 */ li r0, 0 +/* 8011EF54 0011BEB4 38 7E 00 50 */ addi r3, r30, 0x50 +/* 8011EF58 0011BEB8 98 01 01 34 */ stb r0, 0x134(r1) +/* 8011EF5C 0011BEBC 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 8011EF60 0011BEC0 4B FF ED ED */ bl sub_8011dd4c +/* 8011EF64 0011BEC4 88 01 01 34 */ lbz r0, 0x134(r1) +/* 8011EF68 0011BEC8 28 00 00 00 */ cmplwi r0, 0 +/* 8011EF6C 0011BECC 41 82 00 10 */ beq lbl_8011EF7C +/* 8011EF70 0011BED0 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 8011EF74 0011BED4 38 80 FF FF */ li r4, -1 +/* 8011EF78 0011BED8 4B FF 7A D5 */ bl __dt__10CModelDataFv +lbl_8011EF7C: +/* 8011EF7C 0011BEDC 38 00 00 00 */ li r0, 0 +/* 8011EF80 0011BEE0 98 01 01 34 */ stb r0, 0x134(r1) +lbl_8011EF84: +/* 8011EF84 0011BEE4 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011EF88 0011BEE8 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +/* 8011EF8C 0011BEEC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8011EF90 0011BEF0 40 82 00 3C */ bne lbl_8011EFCC +/* 8011EF94 0011BEF4 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 8011EF98 0011BEF8 38 80 00 00 */ li r4, 0 +/* 8011EF9C 0011BEFC 80 03 02 58 */ lwz r0, 0x258(r3) +/* 8011EFA0 0011BF00 2C 00 00 00 */ cmpwi r0, 0 +/* 8011EFA4 0011BF04 41 82 00 14 */ beq lbl_8011EFB8 +/* 8011EFA8 0011BF08 80 1E 03 34 */ lwz r0, 0x334(r30) +/* 8011EFAC 0011BF0C 2C 00 00 08 */ cmpwi r0, 8 +/* 8011EFB0 0011BF10 41 82 00 08 */ beq lbl_8011EFB8 +/* 8011EFB4 0011BF14 38 80 00 01 */ li r4, 1 +lbl_8011EFB8: +/* 8011EFB8 0011BF18 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8011EFBC 0011BF1C 41 82 00 0C */ beq lbl_8011EFC8 +/* 8011EFC0 0011BF20 C0 02 97 88 */ lfs f0, lbl_805AB4A8@sda21(r2) +/* 8011EFC4 0011BF24 48 00 00 08 */ b lbl_8011EFCC +lbl_8011EFC8: +/* 8011EFC8 0011BF28 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) +lbl_8011EFCC: +/* 8011EFCC 0011BF2C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 8011EFD0 0011BF30 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 8011EFD4 0011BF34 7F C4 F3 78 */ mr r4, r30 +/* 8011EFD8 0011BF38 7F E5 FB 78 */ mr r5, r31 +/* 8011EFDC 0011BF3C 90 01 00 08 */ stw r0, 8(r1) +/* 8011EFE0 0011BF40 38 61 00 3C */ addi r3, r1, 0x3c +/* 8011EFE4 0011BF44 38 C1 00 08 */ addi r6, r1, 8 +/* 8011EFE8 0011BF48 38 E0 00 01 */ li r7, 1 +/* 8011EFEC 0011BF4C 4B FF 6B 49 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb +/* 8011EFF0 0011BF50 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8011EFF4 0011BF54 38 80 00 0C */ li r4, 0xc +/* 8011EFF8 0011BF58 80 63 00 00 */ lwz r3, 0(r3) +/* 8011EFFC 0011BF5C 4B F7 2A C5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8011F000 0011BF60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011F004 0011BF64 41 82 00 98 */ beq lbl_8011F09C +/* 8011F008 0011BF68 80 82 97 54 */ lwz r4, lbl_805AB474@sda21(r2) +/* 8011F00C 0011BF6C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8011F010 0011BF70 4B EE 5C A9 */ bl string_l__4rstlFPCc +/* 8011F014 0011BF74 7F C4 F3 78 */ mr r4, r30 +/* 8011F018 0011BF78 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8011F01C 0011BF7C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8011F020 0011BF80 38 C0 00 00 */ li r6, 0 +/* 8011F024 0011BF84 4B FF 68 F9 */ bl "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" +/* 8011F028 0011BF88 38 7E 02 50 */ addi r3, r30, 0x250 +/* 8011F02C 0011BF8C 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 8011F030 0011BF90 48 1F 3B 11 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8011F034 0011BF94 38 61 00 2C */ addi r3, r1, 0x2c +/* 8011F038 0011BF98 48 21 EA A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8011F03C 0011BF9C 80 82 97 58 */ lwz r4, lbl_805AB478@sda21(r2) +/* 8011F040 0011BFA0 38 61 00 1C */ addi r3, r1, 0x1c +/* 8011F044 0011BFA4 4B EE 5C 75 */ bl string_l__4rstlFPCc +/* 8011F048 0011BFA8 7F C4 F3 78 */ mr r4, r30 +/* 8011F04C 0011BFAC 38 61 00 88 */ addi r3, r1, 0x88 +/* 8011F050 0011BFB0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8011F054 0011BFB4 4B FF 69 4D */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8011F058 0011BFB8 38 7E 02 80 */ addi r3, r30, 0x280 +/* 8011F05C 0011BFBC 38 81 00 88 */ addi r4, r1, 0x88 +/* 8011F060 0011BFC0 48 1F 3A E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8011F064 0011BFC4 38 61 00 1C */ addi r3, r1, 0x1c +/* 8011F068 0011BFC8 48 21 EA 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8011F06C 0011BFCC 80 82 97 5C */ lwz r4, lbl_805AB47C@sda21(r2) +/* 8011F070 0011BFD0 38 61 00 0C */ addi r3, r1, 0xc +/* 8011F074 0011BFD4 4B EE 5C 45 */ bl string_l__4rstlFPCc +/* 8011F078 0011BFD8 7F C4 F3 78 */ mr r4, r30 +/* 8011F07C 0011BFDC 38 61 00 58 */ addi r3, r1, 0x58 +/* 8011F080 0011BFE0 38 A1 00 0C */ addi r5, r1, 0xc +/* 8011F084 0011BFE4 4B FF 69 1D */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8011F088 0011BFE8 38 7E 02 B0 */ addi r3, r30, 0x2b0 +/* 8011F08C 0011BFEC 38 81 00 58 */ addi r4, r1, 0x58 +/* 8011F090 0011BFF0 48 1F 3A B1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8011F094 0011BFF4 38 61 00 0C */ addi r3, r1, 0xc +/* 8011F098 0011BFF8 48 21 EA 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_8011F09C: +/* 8011F09C 0011BFFC 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011F0A0 0011C000 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8011F0A4 0011C004 41 82 00 18 */ beq lbl_8011F0BC +/* 8011F0A8 0011C008 FC 20 F8 90 */ fmr f1, f31 +/* 8011F0AC 0011C00C 7F C3 F3 78 */ mr r3, r30 +/* 8011F0B0 0011C010 7F E4 FB 78 */ mr r4, r31 +/* 8011F0B4 0011C014 48 00 00 5D */ bl UpdateArmMovement__11CGrappleArmFfR13CStateManager +/* 8011F0B8 0011C018 48 00 00 18 */ b lbl_8011F0D0 +lbl_8011F0BC: +/* 8011F0BC 0011C01C FC 20 F0 90 */ fmr f1, f30 +/* 8011F0C0 0011C020 7F C3 F3 78 */ mr r3, r30 +/* 8011F0C4 0011C024 FC 40 F8 90 */ fmr f2, f31 +/* 8011F0C8 0011C028 7F E4 FB 78 */ mr r4, r31 +/* 8011F0CC 0011C02C 48 00 00 B1 */ bl UpdateSwingAction__11CGrappleArmFffR13CStateManager +lbl_8011F0D0: +/* 8011F0D0 0011C030 80 7E 03 A4 */ lwz r3, 0x3a4(r30) +/* 8011F0D4 0011C034 28 03 00 00 */ cmplwi r3, 0 +/* 8011F0D8 0011C038 41 82 00 10 */ beq lbl_8011F0E8 +/* 8011F0DC 0011C03C FC 20 F8 90 */ fmr f1, f31 +/* 8011F0E0 0011C040 7F E4 FB 78 */ mr r4, r31 +/* 8011F0E4 0011C044 48 14 B3 09 */ bl Update__20CRainSplashGeneratorFfR13CStateManager +lbl_8011F0E8: +/* 8011F0E8 0011C048 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 8011F0EC 0011C04C CB E1 01 50 */ lfd f31, 0x150(r1) +/* 8011F0F0 0011C050 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 +/* 8011F0F4 0011C054 CB C1 01 40 */ lfd f30, 0x140(r1) +/* 8011F0F8 0011C058 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 8011F0FC 0011C05C 80 01 01 64 */ lwz r0, 0x164(r1) +/* 8011F100 0011C060 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 8011F104 0011C064 7C 08 03 A6 */ mtlr r0 +/* 8011F108 0011C068 38 21 01 60 */ addi r1, r1, 0x160 +/* 8011F10C 0011C06C 4E 80 00 20 */ blr + +.global UpdateArmMovement__11CGrappleArmFfR13CStateManager +UpdateArmMovement__11CGrappleArmFfR13CStateManager: +/* 8011F110 0011C070 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011F114 0011C074 7C 08 02 A6 */ mflr r0 +/* 8011F118 0011C078 90 01 00 24 */ stw r0, 0x24(r1) +/* 8011F11C 0011C07C DB E1 00 18 */ stfd f31, 0x18(r1) +/* 8011F120 0011C080 FF E0 08 90 */ fmr f31, f1 +/* 8011F124 0011C084 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8011F128 0011C088 7C 9F 23 78 */ mr r31, r4 +/* 8011F12C 0011C08C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 8011F130 0011C090 7C 7E 1B 78 */ mr r30, r3 +/* 8011F134 0011C094 4B FF F2 4D */ bl DoUserAnimEvents__11CGrappleArmFR13CStateManager +/* 8011F138 0011C098 FC 20 F8 90 */ fmr f1, f31 +/* 8011F13C 0011C09C 80 7E 03 28 */ lwz r3, 0x328(r30) +/* 8011F140 0011C0A0 7F E4 FB 78 */ mr r4, r31 +/* 8011F144 0011C0A4 48 0A D4 FD */ bl Update__14CGunControllerFfR13CStateManager +/* 8011F148 0011C0A8 2C 03 00 01 */ cmpwi r3, 1 +/* 8011F14C 0011C0AC 41 82 00 08 */ beq lbl_8011F154 +/* 8011F150 0011C0B0 48 00 00 10 */ b lbl_8011F160 +lbl_8011F154: +/* 8011F154 0011C0B4 7F C3 F3 78 */ mr r3, r30 +/* 8011F158 0011C0B8 38 80 00 00 */ li r4, 0 +/* 8011F15C 0011C0BC 4B FF EC 59 */ bl ResetAuxParams__11CGrappleArmFb +lbl_8011F160: +/* 8011F160 0011C0C0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 8011F164 0011C0C4 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 8011F168 0011C0C8 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 8011F16C 0011C0CC 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 8011F170 0011C0D0 7C 08 03 A6 */ mtlr r0 +/* 8011F174 0011C0D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 8011F178 0011C0D8 4E 80 00 20 */ blr + +.global UpdateSwingAction__11CGrappleArmFffR13CStateManager +UpdateSwingAction__11CGrappleArmFffR13CStateManager: +/* 8011F17C 0011C0DC 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 8011F180 0011C0E0 7C 08 02 A6 */ mflr r0 +/* 8011F184 0011C0E4 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 8011F188 0011C0E8 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 8011F18C 0011C0EC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 8011F190 0011C0F0 DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 8011F194 0011C0F4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 8011F198 0011C0F8 93 E1 00 AC */ stw r31, 0xac(r1) +/* 8011F19C 0011C0FC 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 8011F1A0 0011C100 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 8011F1A4 0011C104 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 8011F1A8 0011C108 88 03 03 B2 */ lbz r0, 0x3b2(r3) +/* 8011F1AC 0011C10C FF C0 08 90 */ fmr f30, f1 +/* 8011F1B0 0011C110 FF E0 10 90 */ fmr f31, f2 +/* 8011F1B4 0011C114 7C 7E 1B 78 */ mr r30, r3 +/* 8011F1B8 0011C118 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 8011F1BC 0011C11C 7C 9F 23 78 */ mr r31, r4 +/* 8011F1C0 0011C120 40 82 02 C8 */ bne lbl_8011F488 +/* 8011F1C4 0011C124 80 1E 03 34 */ lwz r0, 0x334(r30) +/* 8011F1C8 0011C128 2C 00 00 02 */ cmpwi r0, 2 +/* 8011F1CC 0011C12C 40 82 00 08 */ bne lbl_8011F1D4 +/* 8011F1D0 0011C130 4B FF F1 B1 */ bl DoUserAnimEvents__11CGrappleArmFR13CStateManager +lbl_8011F1D4: +/* 8011F1D4 0011C134 80 82 97 60 */ lwz r4, lbl_805AB480@sda21(r2) +/* 8011F1D8 0011C138 38 61 00 2C */ addi r3, r1, 0x2c +/* 8011F1DC 0011C13C 4B EE 5A DD */ bl string_l__4rstlFPCc +/* 8011F1E0 0011C140 7F C4 F3 78 */ mr r4, r30 +/* 8011F1E4 0011C144 38 61 00 3C */ addi r3, r1, 0x3c +/* 8011F1E8 0011C148 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8011F1EC 0011C14C 4B FF 67 B5 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8011F1F0 0011C150 38 61 00 6C */ addi r3, r1, 0x6c +/* 8011F1F4 0011C154 38 81 00 3C */ addi r4, r1, 0x3c +/* 8011F1F8 0011C158 48 1F 39 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011F1FC 0011C15C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8011F200 0011C160 48 21 E8 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8011F204 0011C164 FC 20 F8 90 */ fmr f1, f31 +/* 8011F208 0011C168 7F C3 F3 78 */ mr r3, r30 +/* 8011F20C 0011C16C 7F E5 FB 78 */ mr r5, r31 +/* 8011F210 0011C170 38 81 00 6C */ addi r4, r1, 0x6c +/* 8011F214 0011C174 4B FF F9 F1 */ bl UpdateGrappleBeam__11CGrappleArmFfRC12CTransform4fR13CStateManager +/* 8011F218 0011C178 C0 02 97 8C */ lfs f0, lbl_805AB4AC@sda21(r2) +/* 8011F21C 0011C17C 7C 7C 1B 78 */ mr r28, r3 +/* 8011F220 0011C180 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8011F224 0011C184 40 81 00 10 */ ble lbl_8011F234 +/* 8011F228 0011C188 C0 02 97 90 */ lfs f0, lbl_805AB4B0@sda21(r2) +/* 8011F22C 0011C18C FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8011F230 0011C190 41 80 00 1C */ blt lbl_8011F24C +lbl_8011F234: +/* 8011F234 0011C194 C0 02 97 94 */ lfs f0, lbl_805AB4B4@sda21(r2) +/* 8011F238 0011C198 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8011F23C 0011C19C 40 81 00 78 */ ble lbl_8011F2B4 +/* 8011F240 0011C1A0 C0 02 97 98 */ lfs f0, lbl_805AB4B8@sda21(r2) +/* 8011F244 0011C1A4 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 8011F248 0011C1A8 40 80 00 6C */ bge lbl_8011F2B4 +lbl_8011F24C: +/* 8011F24C 0011C1AC 80 1E 03 30 */ lwz r0, 0x330(r30) +/* 8011F250 0011C1B0 38 61 00 0C */ addi r3, r1, 0xc +/* 8011F254 0011C1B4 90 01 00 0C */ stw r0, 0xc(r1) +/* 8011F258 0011C1B8 48 1C 9B 7D */ bl IsPlaying__11CSfxManagerF10CSfxHandle +/* 8011F25C 0011C1BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011F260 0011C1C0 40 82 00 54 */ bne lbl_8011F2B4 +/* 8011F264 0011C1C4 38 61 00 08 */ addi r3, r1, 8 +/* 8011F268 0011C1C8 38 80 05 F8 */ li r4, 0x5f8 +/* 8011F26C 0011C1CC 38 A0 00 00 */ li r5, 0 +/* 8011F270 0011C1D0 38 C0 00 00 */ li r6, 0 +/* 8011F274 0011C1D4 38 E0 00 36 */ li r7, 0x36 +/* 8011F278 0011C1D8 48 16 B8 81 */ bl play_sfx__12NWeaponTypesFUsbbs +/* 8011F27C 0011C1DC 80 01 00 08 */ lwz r0, 8(r1) +/* 8011F280 0011C1E0 90 1E 03 30 */ stw r0, 0x330(r30) +/* 8011F284 0011C1E4 A8 9E 03 B0 */ lha r4, 0x3b0(r30) +/* 8011F288 0011C1E8 2C 04 FF FF */ cmpwi r4, -1 +/* 8011F28C 0011C1EC 41 82 00 0C */ beq lbl_8011F298 +/* 8011F290 0011C1F0 80 7F 08 8C */ lwz r3, 0x88c(r31) +/* 8011F294 0011C1F4 48 10 EE 81 */ bl StopRumble__14CRumbleManagerFs +lbl_8011F298: +/* 8011F298 0011C1F8 80 7F 08 8C */ lwz r3, 0x88c(r31) +/* 8011F29C 0011C1FC 7F E4 FB 78 */ mr r4, r31 +/* 8011F2A0 0011C200 C0 22 97 68 */ lfs f1, lbl_805AB488@sda21(r2) +/* 8011F2A4 0011C204 38 A0 00 11 */ li r5, 0x11 +/* 8011F2A8 0011C208 38 C0 00 03 */ li r6, 3 +/* 8011F2AC 0011C20C 48 10 EF 99 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority +/* 8011F2B0 0011C210 B0 7E 03 B0 */ sth r3, 0x3b0(r30) +lbl_8011F2B4: +/* 8011F2B4 0011C214 3C 60 80 3D */ lis r3, lbl_803CF360@ha +/* 8011F2B8 0011C218 83 BE 00 10 */ lwz r29, 0x10(r30) +/* 8011F2BC 0011C21C 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l +/* 8011F2C0 0011C220 38 61 00 1C */ addi r3, r1, 0x1c +/* 8011F2C4 0011C224 38 84 00 CB */ addi r4, r4, 0xcb +/* 8011F2C8 0011C228 4B EE 59 F1 */ bl string_l__4rstlFPCc +/* 8011F2CC 0011C22C FC 20 F8 90 */ fmr f1, f31 +/* 8011F2D0 0011C230 7F A3 EB 78 */ mr r3, r29 +/* 8011F2D4 0011C234 38 81 00 1C */ addi r4, r1, 0x1c +/* 8011F2D8 0011C238 4B F0 D1 15 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 8011F2DC 0011C23C 7C 7D 1B 78 */ mr r29, r3 +/* 8011F2E0 0011C240 38 61 00 1C */ addi r3, r1, 0x1c +/* 8011F2E4 0011C244 48 21 E7 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 8011F2E8 0011C248 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 8011F2EC 0011C24C 40 82 00 E4 */ bne lbl_8011F3D0 +/* 8011F2F0 0011C250 80 1E 03 34 */ lwz r0, 0x334(r30) +/* 8011F2F4 0011C254 28 00 00 08 */ cmplwi r0, 8 +/* 8011F2F8 0011C258 41 81 00 D8 */ bgt lbl_8011F3D0 +/* 8011F2FC 0011C25C 3C 60 80 3E */ lis r3, lbl_803E06DC@ha +/* 8011F300 0011C260 54 00 10 3A */ slwi r0, r0, 2 +/* 8011F304 0011C264 38 63 06 DC */ addi r3, r3, lbl_803E06DC@l +/* 8011F308 0011C268 7C 03 00 2E */ lwzx r0, r3, r0 +/* 8011F30C 0011C26C 7C 09 03 A6 */ mtctr r0 +/* 8011F310 0011C270 4E 80 04 20 */ bctr +/* 8011F314 0011C274 7F C3 F3 78 */ mr r3, r30 +/* 8011F318 0011C278 38 80 00 01 */ li r4, 1 +/* 8011F31C 0011C27C 4B FF F2 45 */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState +/* 8011F320 0011C280 48 00 00 B0 */ b lbl_8011F3D0 +/* 8011F324 0011C284 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 8011F328 0011C288 41 82 00 A8 */ beq lbl_8011F3D0 +/* 8011F32C 0011C28C 7F C3 F3 78 */ mr r3, r30 +/* 8011F330 0011C290 38 80 00 04 */ li r4, 4 +/* 8011F334 0011C294 4B FF F2 2D */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState +/* 8011F338 0011C298 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011F33C 0011C29C 38 60 00 01 */ li r3, 1 +/* 8011F340 0011C2A0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 8011F344 0011C2A4 38 80 00 01 */ li r4, 1 +/* 8011F348 0011C2A8 98 1E 03 B2 */ stb r0, 0x3b2(r30) +/* 8011F34C 0011C2AC 80 7E 03 98 */ lwz r3, 0x398(r30) +/* 8011F350 0011C2B0 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F354 0011C2B4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 8011F358 0011C2B8 7D 89 03 A6 */ mtctr r12 +/* 8011F35C 0011C2BC 4E 80 04 21 */ bctrl +/* 8011F360 0011C2C0 7F C3 F3 78 */ mr r3, r30 +/* 8011F364 0011C2C4 4B FF ED C1 */ bl GrappleBeamConnected__11CGrappleArmFv +/* 8011F368 0011C2C8 A8 9E 03 B0 */ lha r4, 0x3b0(r30) +/* 8011F36C 0011C2CC 2C 04 FF FF */ cmpwi r4, -1 +/* 8011F370 0011C2D0 41 82 00 60 */ beq lbl_8011F3D0 +/* 8011F374 0011C2D4 80 7F 08 8C */ lwz r3, 0x88c(r31) +/* 8011F378 0011C2D8 48 10 ED 9D */ bl StopRumble__14CRumbleManagerFs +/* 8011F37C 0011C2DC 48 00 00 54 */ b lbl_8011F3D0 +/* 8011F380 0011C2E0 C0 22 97 64 */ lfs f1, lbl_805AB484@sda21(r2) +/* 8011F384 0011C2E4 C0 1E 03 44 */ lfs f0, 0x344(r30) +/* 8011F388 0011C2E8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 8011F38C 0011C2EC 40 82 00 44 */ bne lbl_8011F3D0 +/* 8011F390 0011C2F0 7F C3 F3 78 */ mr r3, r30 +/* 8011F394 0011C2F4 38 80 00 06 */ li r4, 6 +/* 8011F398 0011C2F8 4B FF F1 C9 */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState +/* 8011F39C 0011C2FC 48 00 00 34 */ b lbl_8011F3D0 +/* 8011F3A0 0011C300 A8 9E 03 B0 */ lha r4, 0x3b0(r30) +/* 8011F3A4 0011C304 2C 04 FF FF */ cmpwi r4, -1 +/* 8011F3A8 0011C308 41 82 00 0C */ beq lbl_8011F3B4 +/* 8011F3AC 0011C30C 80 7F 08 8C */ lwz r3, 0x88c(r31) +/* 8011F3B0 0011C310 48 10 ED 65 */ bl StopRumble__14CRumbleManagerFs +lbl_8011F3B4: +/* 8011F3B4 0011C314 7F C3 F3 78 */ mr r3, r30 +/* 8011F3B8 0011C318 38 80 00 0A */ li r4, 0xa +/* 8011F3BC 0011C31C 4B FF F1 A5 */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState +/* 8011F3C0 0011C320 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011F3C4 0011C324 38 60 00 00 */ li r3, 0 +/* 8011F3C8 0011C328 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 8011F3CC 0011C32C 98 1E 03 B2 */ stb r0, 0x3b2(r30) +lbl_8011F3D0: +/* 8011F3D0 0011C330 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011F3D4 0011C334 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8011F3D8 0011C338 41 82 00 B0 */ beq lbl_8011F488 +/* 8011F3DC 0011C33C C0 41 00 78 */ lfs f2, 0x78(r1) +/* 8011F3E0 0011C340 38 81 00 10 */ addi r4, r1, 0x10 +/* 8011F3E4 0011C344 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 8011F3E8 0011C348 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 8011F3EC 0011C34C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8011F3F0 0011C350 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8011F3F4 0011C354 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 8011F3F8 0011C358 80 7E 03 9C */ lwz r3, 0x39c(r30) +/* 8011F3FC 0011C35C 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F400 0011C360 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8011F404 0011C364 7D 89 03 A6 */ mtctr r12 +/* 8011F408 0011C368 4E 80 04 21 */ bctrl +/* 8011F40C 0011C36C 80 7E 03 9C */ lwz r3, 0x39c(r30) +/* 8011F410 0011C370 FC 20 F8 90 */ fmr f1, f31 +/* 8011F414 0011C374 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F418 0011C378 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011F41C 0011C37C 7D 89 03 A6 */ mtctr r12 +/* 8011F420 0011C380 4E 80 04 21 */ bctrl +/* 8011F424 0011C384 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011F428 0011C388 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 8011F42C 0011C38C 41 82 00 5C */ beq lbl_8011F488 +/* 8011F430 0011C390 80 7E 03 98 */ lwz r3, 0x398(r30) +/* 8011F434 0011C394 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F438 0011C398 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8011F43C 0011C39C 7D 89 03 A6 */ mtctr r12 +/* 8011F440 0011C3A0 4E 80 04 21 */ bctrl +/* 8011F444 0011C3A4 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8011F448 0011C3A8 88 1E 03 B2 */ lbz r0, 0x3b2(r30) +/* 8011F44C 0011C3AC 7C 63 00 34 */ cntlzw r3, r3 +/* 8011F450 0011C3B0 38 9E 03 10 */ addi r4, r30, 0x310 +/* 8011F454 0011C3B4 50 60 06 B4 */ rlwimi r0, r3, 0, 0x1a, 0x1a +/* 8011F458 0011C3B8 98 1E 03 B2 */ stb r0, 0x3b2(r30) +/* 8011F45C 0011C3BC 80 7E 03 98 */ lwz r3, 0x398(r30) +/* 8011F460 0011C3C0 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F464 0011C3C4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8011F468 0011C3C8 7D 89 03 A6 */ mtctr r12 +/* 8011F46C 0011C3CC 4E 80 04 21 */ bctrl +/* 8011F470 0011C3D0 80 7E 03 98 */ lwz r3, 0x398(r30) +/* 8011F474 0011C3D4 FC 20 F8 90 */ fmr f1, f31 +/* 8011F478 0011C3D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F47C 0011C3DC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011F480 0011C3E0 7D 89 03 A6 */ mtctr r12 +/* 8011F484 0011C3E4 4E 80 04 21 */ bctrl +lbl_8011F488: +/* 8011F488 0011C3E8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 8011F48C 0011C3EC CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 8011F490 0011C3F0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 8011F494 0011C3F4 CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 8011F498 0011C3F8 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 8011F49C 0011C3FC 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 8011F4A0 0011C400 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 8011F4A4 0011C404 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 8011F4A8 0011C408 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 8011F4AC 0011C40C 7C 08 03 A6 */ mtlr r0 +/* 8011F4B0 0011C410 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 8011F4B4 0011C414 4E 80 00 20 */ blr + +.global RenderGrappleBeam__11CGrappleArmCFRC13CStateManagerRC9CVector3f +RenderGrappleBeam__11CGrappleArmCFRC13CStateManagerRC9CVector3f: +/* 8011F4B8 0011C418 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8011F4BC 0011C41C 7C 08 02 A6 */ mflr r0 +/* 8011F4C0 0011C420 38 80 00 00 */ li r4, 0 +/* 8011F4C4 0011C424 90 01 01 34 */ stw r0, 0x134(r1) +/* 8011F4C8 0011C428 93 E1 01 2C */ stw r31, 0x12c(r1) +/* 8011F4CC 0011C42C 7C 7F 1B 78 */ mr r31, r3 +/* 8011F4D0 0011C430 88 63 03 B2 */ lbz r3, 0x3b2(r3) +/* 8011F4D4 0011C434 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8011F4D8 0011C438 41 82 00 10 */ beq lbl_8011F4E8 +/* 8011F4DC 0011C43C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8011F4E0 0011C440 40 82 00 08 */ bne lbl_8011F4E8 +/* 8011F4E4 0011C444 38 80 00 01 */ li r4, 1 +lbl_8011F4E8: +/* 8011F4E8 0011C448 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8011F4EC 0011C44C 41 82 00 FC */ beq lbl_8011F5E8 +/* 8011F4F0 0011C450 7C A4 2B 78 */ mr r4, r5 +/* 8011F4F4 0011C454 38 61 00 68 */ addi r3, r1, 0x68 +/* 8011F4F8 0011C458 48 1F 3C 49 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8011F4FC 0011C45C 38 61 00 98 */ addi r3, r1, 0x98 +/* 8011F500 0011C460 38 81 00 68 */ addi r4, r1, 0x68 +/* 8011F504 0011C464 38 BF 02 20 */ addi r5, r31, 0x220 +/* 8011F508 0011C468 48 1F 34 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011F50C 0011C46C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 8011F510 0011C470 38 81 00 98 */ addi r4, r1, 0x98 +/* 8011F514 0011C474 48 1F 36 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011F518 0011C478 88 7F 03 B2 */ lbz r3, 0x3b2(r31) +/* 8011F51C 0011C47C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8011F520 0011C480 41 82 00 C8 */ beq lbl_8011F5E8 +/* 8011F524 0011C484 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f +/* 8011F528 0011C488 41 82 00 18 */ beq lbl_8011F540 +/* 8011F52C 0011C48C 80 7F 03 98 */ lwz r3, 0x398(r31) +/* 8011F530 0011C490 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F534 0011C494 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8011F538 0011C498 7D 89 03 A6 */ mtctr r12 +/* 8011F53C 0011C49C 4E 80 04 21 */ bctrl +lbl_8011F540: +/* 8011F540 0011C4A0 80 7F 03 94 */ lwz r3, 0x394(r31) +/* 8011F544 0011C4A4 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F548 0011C4A8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8011F54C 0011C4AC 7D 89 03 A6 */ mtctr r12 +/* 8011F550 0011C4B0 4E 80 04 21 */ bctrl +/* 8011F554 0011C4B4 80 7F 03 A0 */ lwz r3, 0x3a0(r31) +/* 8011F558 0011C4B8 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F55C 0011C4BC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8011F560 0011C4C0 7D 89 03 A6 */ mtctr r12 +/* 8011F564 0011C4C4 4E 80 04 21 */ bctrl +/* 8011F568 0011C4C8 80 7F 03 90 */ lwz r3, 0x390(r31) +/* 8011F56C 0011C4CC 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F570 0011C4D0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8011F574 0011C4D4 7D 89 03 A6 */ mtctr r12 +/* 8011F578 0011C4D8 4E 80 04 21 */ bctrl +/* 8011F57C 0011C4DC 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 8011F580 0011C4E0 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8011F584 0011C4E4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 8011F588 0011C4E8 48 1F 35 ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011F58C 0011C4EC 38 61 00 08 */ addi r3, r1, 8 +/* 8011F590 0011C4F0 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 8011F594 0011C4F4 48 1F 31 4D */ bl GetInverse__12CTransform4fCFv +/* 8011F598 0011C4F8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8011F59C 0011C4FC 38 81 00 08 */ addi r4, r1, 8 +/* 8011F5A0 0011C500 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 8011F5A4 0011C504 48 1F 33 AD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011F5A8 0011C508 38 61 00 38 */ addi r3, r1, 0x38 +/* 8011F5AC 0011C50C 48 1E D1 A1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 8011F5B0 0011C510 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011F5B4 0011C514 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8011F5B8 0011C518 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8011F5BC 0011C51C 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F5C0 0011C520 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8011F5C4 0011C524 7D 89 03 A6 */ mtctr r12 +/* 8011F5C8 0011C528 4E 80 04 21 */ bctrl +/* 8011F5CC 0011C52C 80 7F 03 9C */ lwz r3, 0x39c(r31) +/* 8011F5D0 0011C530 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F5D4 0011C534 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8011F5D8 0011C538 7D 89 03 A6 */ mtctr r12 +/* 8011F5DC 0011C53C 4E 80 04 21 */ bctrl +/* 8011F5E0 0011C540 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 8011F5E4 0011C544 48 1E D1 69 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +lbl_8011F5E8: +/* 8011F5E8 0011C548 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8011F5EC 0011C54C 83 E1 01 2C */ lwz r31, 0x12c(r1) +/* 8011F5F0 0011C550 7C 08 03 A6 */ mtlr r0 +/* 8011F5F4 0011C554 38 21 01 30 */ addi r1, r1, 0x130 +/* 8011F5F8 0011C558 4E 80 00 20 */ blr + +.global Render__11CGrappleArmCFRC13CStateManagerRC9CVector3fRC11CModelFlagsPC12CActorLights +Render__11CGrappleArmCFRC13CStateManagerRC9CVector3fRC11CModelFlagsPC12CActorLights: +/* 8011F5FC 0011C55C 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 8011F600 0011C560 7C 08 02 A6 */ mflr r0 +/* 8011F604 0011C564 90 01 01 84 */ stw r0, 0x184(r1) +/* 8011F608 0011C568 BF 61 01 6C */ stmw r27, 0x16c(r1) +/* 8011F60C 0011C56C 7C 7C 1B 78 */ mr r28, r3 +/* 8011F610 0011C570 7C 9D 23 78 */ mr r29, r4 +/* 8011F614 0011C574 7C DE 33 78 */ mr r30, r6 +/* 8011F618 0011C578 7C FF 3B 78 */ mr r31, r7 +/* 8011F61C 0011C57C 38 80 00 00 */ li r4, 0 +/* 8011F620 0011C580 88 63 03 B2 */ lbz r3, 0x3b2(r3) +/* 8011F624 0011C584 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8011F628 0011C588 41 82 00 10 */ beq lbl_8011F638 +/* 8011F62C 0011C58C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8011F630 0011C590 40 82 00 08 */ bne lbl_8011F638 +/* 8011F634 0011C594 38 80 00 01 */ li r4, 1 +lbl_8011F638: +/* 8011F638 0011C598 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8011F63C 0011C59C 41 82 01 E0 */ beq lbl_8011F81C +/* 8011F640 0011C5A0 7C A4 2B 78 */ mr r4, r5 +/* 8011F644 0011C5A4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 8011F648 0011C5A8 48 1F 3A F9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 8011F64C 0011C5AC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 8011F650 0011C5B0 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 8011F654 0011C5B4 38 BC 02 20 */ addi r5, r28, 0x220 +/* 8011F658 0011C5B8 48 1F 32 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011F65C 0011C5BC 38 61 01 08 */ addi r3, r1, 0x108 +/* 8011F660 0011C5C0 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 8011F664 0011C5C4 38 BC 02 E0 */ addi r5, r28, 0x2e0 +/* 8011F668 0011C5C8 48 1F 32 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011F66C 0011C5CC 38 61 01 38 */ addi r3, r1, 0x138 +/* 8011F670 0011C5D0 38 81 01 08 */ addi r4, r1, 0x108 +/* 8011F674 0011C5D4 48 1F 35 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011F678 0011C5D8 88 1C 00 9C */ lbz r0, 0x9c(r28) +/* 8011F67C 0011C5DC 28 00 00 00 */ cmplwi r0, 0 +/* 8011F680 0011C5E0 41 82 00 18 */ beq lbl_8011F698 +/* 8011F684 0011C5E4 7F 83 E3 78 */ mr r3, r28 +/* 8011F688 0011C5E8 7F A4 EB 78 */ mr r4, r29 +/* 8011F68C 0011C5EC 7F C6 F3 78 */ mr r6, r30 +/* 8011F690 0011C5F0 38 A1 01 38 */ addi r5, r1, 0x138 +/* 8011F694 0011C5F4 4B FF DE A1 */ bl RenderXRayModel__11CGrappleArmFRC13CStateManagerRC12CTransform4fRC11CModelFlags +lbl_8011F698: +/* 8011F698 0011C5F8 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 8011F69C 0011C5FC 80 63 00 00 */ lwz r3, 0(r3) +/* 8011F6A0 0011C600 80 03 00 14 */ lwz r0, 0x14(r3) +/* 8011F6A4 0011C604 20 00 00 01 */ subfic r0, r0, 1 +/* 8011F6A8 0011C608 7C 03 00 34 */ cntlzw r3, r0 +/* 8011F6AC 0011C60C 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 8011F6B0 0011C610 54 7B D9 7E */ srwi r27, r3, 5 +/* 8011F6B4 0011C614 41 82 00 3C */ beq lbl_8011F6F0 +/* 8011F6B8 0011C618 C0 22 97 68 */ lfs f1, lbl_805AB488@sda21(r2) +/* 8011F6BC 0011C61C 38 80 00 05 */ li r4, 5 +/* 8011F6C0 0011C620 38 60 00 00 */ li r3, 0 +/* 8011F6C4 0011C624 38 00 00 03 */ li r0, 3 +/* 8011F6C8 0011C628 FC 40 08 90 */ fmr f2, f1 +/* 8011F6CC 0011C62C 98 81 00 08 */ stb r4, 8(r1) +/* 8011F6D0 0011C630 FC 60 08 90 */ fmr f3, f1 +/* 8011F6D4 0011C634 C0 82 97 9C */ lfs f4, lbl_805AB4BC@sda21(r2) +/* 8011F6D8 0011C638 98 61 00 09 */ stb r3, 9(r1) +/* 8011F6DC 0011C63C 38 61 00 0C */ addi r3, r1, 0xc +/* 8011F6E0 0011C640 B0 01 00 0A */ sth r0, 0xa(r1) +/* 8011F6E4 0011C644 48 24 3D 09 */ bl __ct__6CColorFffff +/* 8011F6E8 0011C648 38 81 00 08 */ addi r4, r1, 8 +/* 8011F6EC 0011C64C 48 00 00 08 */ b lbl_8011F6F4 +lbl_8011F6F0: +/* 8011F6F0 0011C650 7F C4 F3 78 */ mr r4, r30 +lbl_8011F6F4: +/* 8011F6F4 0011C654 88 64 00 00 */ lbz r3, 0(r4) +/* 8011F6F8 0011C658 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 8011F6FC 0011C65C 98 61 00 10 */ stb r3, 0x10(r1) +/* 8011F700 0011C660 88 04 00 01 */ lbz r0, 1(r4) +/* 8011F704 0011C664 98 01 00 11 */ stb r0, 0x11(r1) +/* 8011F708 0011C668 A0 04 00 02 */ lhz r0, 2(r4) +/* 8011F70C 0011C66C B0 01 00 12 */ sth r0, 0x12(r1) +/* 8011F710 0011C670 80 04 00 04 */ lwz r0, 4(r4) +/* 8011F714 0011C674 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011F718 0011C678 41 82 00 0C */ beq lbl_8011F724 +/* 8011F71C 0011C67C 3B C0 00 00 */ li r30, 0 +/* 8011F720 0011C680 48 00 00 08 */ b lbl_8011F728 +lbl_8011F724: +/* 8011F724 0011C684 7F FE FB 78 */ mr r30, r31 +lbl_8011F728: +/* 8011F728 0011C688 80 7C 03 A4 */ lwz r3, 0x3a4(r28) +/* 8011F72C 0011C68C 28 03 00 00 */ cmplwi r3, 0 +/* 8011F730 0011C690 41 82 00 1C */ beq lbl_8011F74C +/* 8011F734 0011C694 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8011F738 0011C698 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8011F73C 0011C69C 41 82 00 10 */ beq lbl_8011F74C +/* 8011F740 0011C6A0 3C 80 80 12 */ lis r4, PointGenerator__11CGrappleArmFPvPC9CVector3fPC9CVector3fi@ha +/* 8011F744 0011C6A4 38 84 D5 0C */ addi r4, r4, PointGenerator__11CGrappleArmFPvPC9CVector3fPC9CVector3fi@l +/* 8011F748 0011C6A8 48 23 2F CD */ bl SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v +lbl_8011F74C: +/* 8011F74C 0011C6AC 7F 83 E3 78 */ mr r3, r28 +/* 8011F750 0011C6B0 7F A4 EB 78 */ mr r4, r29 +/* 8011F754 0011C6B4 7F C6 F3 78 */ mr r6, r30 +/* 8011F758 0011C6B8 38 A1 01 38 */ addi r5, r1, 0x138 +/* 8011F75C 0011C6BC 38 E1 00 10 */ addi r7, r1, 0x10 +/* 8011F760 0011C6C0 4B FF 56 5D */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 8011F764 0011C6C4 80 7C 03 A4 */ lwz r3, 0x3a4(r28) +/* 8011F768 0011C6C8 28 03 00 00 */ cmplwi r3, 0 +/* 8011F76C 0011C6CC 41 82 00 20 */ beq lbl_8011F78C +/* 8011F770 0011C6D0 88 03 00 48 */ lbz r0, 0x48(r3) +/* 8011F774 0011C6D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8011F778 0011C6D8 41 82 00 14 */ beq lbl_8011F78C +/* 8011F77C 0011C6DC 48 23 2F 8D */ bl ClearPointGeneratorFunc__13CSkinnedModelFv +/* 8011F780 0011C6E0 80 7C 03 A4 */ lwz r3, 0x3a4(r28) +/* 8011F784 0011C6E4 38 81 01 38 */ addi r4, r1, 0x138 +/* 8011F788 0011C6E8 48 14 AC 39 */ bl Draw__20CRainSplashGeneratorCFRC12CTransform4f +lbl_8011F78C: +/* 8011F78C 0011C6EC 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 8011F790 0011C6F0 38 80 00 0C */ li r4, 0xc +/* 8011F794 0011C6F4 80 63 00 00 */ lwz r3, 0(r3) +/* 8011F798 0011C6F8 4B F7 23 29 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8011F79C 0011C6FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011F7A0 0011C700 41 82 00 7C */ beq lbl_8011F81C +/* 8011F7A4 0011C704 38 61 00 78 */ addi r3, r1, 0x78 +/* 8011F7A8 0011C708 38 81 01 38 */ addi r4, r1, 0x138 +/* 8011F7AC 0011C70C 38 BC 02 50 */ addi r5, r28, 0x250 +/* 8011F7B0 0011C710 48 1F 31 A1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011F7B4 0011C714 7F A4 EB 78 */ mr r4, r29 +/* 8011F7B8 0011C718 7F C6 F3 78 */ mr r6, r30 +/* 8011F7BC 0011C71C 38 7C 00 A0 */ addi r3, r28, 0xa0 +/* 8011F7C0 0011C720 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8011F7C4 0011C724 38 E1 00 10 */ addi r7, r1, 0x10 +/* 8011F7C8 0011C728 4B FF 55 F5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 8011F7CC 0011C72C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8011F7D0 0011C730 38 81 01 38 */ addi r4, r1, 0x138 +/* 8011F7D4 0011C734 38 BC 02 80 */ addi r5, r28, 0x280 +/* 8011F7D8 0011C738 48 1F 31 79 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011F7DC 0011C73C 7F A4 EB 78 */ mr r4, r29 +/* 8011F7E0 0011C740 7F C6 F3 78 */ mr r6, r30 +/* 8011F7E4 0011C744 38 7C 00 EC */ addi r3, r28, 0xec +/* 8011F7E8 0011C748 38 A1 00 48 */ addi r5, r1, 0x48 +/* 8011F7EC 0011C74C 38 E1 00 10 */ addi r7, r1, 0x10 +/* 8011F7F0 0011C750 4B FF 55 CD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 8011F7F4 0011C754 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011F7F8 0011C758 38 81 01 38 */ addi r4, r1, 0x138 +/* 8011F7FC 0011C75C 38 BC 02 B0 */ addi r5, r28, 0x2b0 +/* 8011F800 0011C760 48 1F 31 51 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011F804 0011C764 7F A4 EB 78 */ mr r4, r29 +/* 8011F808 0011C768 7F C6 F3 78 */ mr r6, r30 +/* 8011F80C 0011C76C 38 7C 01 38 */ addi r3, r28, 0x138 +/* 8011F810 0011C770 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8011F814 0011C774 38 E1 00 10 */ addi r7, r1, 0x10 +/* 8011F818 0011C778 4B FF 55 A5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_8011F81C: +/* 8011F81C 0011C77C BB 61 01 6C */ lmw r27, 0x16c(r1) +/* 8011F820 0011C780 80 01 01 84 */ lwz r0, 0x184(r1) +/* 8011F824 0011C784 7C 08 03 A6 */ mtlr r0 +/* 8011F828 0011C788 38 21 01 80 */ addi r1, r1, 0x180 +/* 8011F82C 0011C78C 4E 80 00 20 */ blr + +.global PreRender__11CGrappleArmFR13CStateManagerRC14CFrustumPlanesRC9CVector3f +PreRender__11CGrappleArmFR13CStateManagerRC14CFrustumPlanesRC9CVector3f: +/* 8011F830 0011C790 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011F834 0011C794 7C 08 02 A6 */ mflr r0 +/* 8011F838 0011C798 38 80 00 00 */ li r4, 0 +/* 8011F83C 0011C79C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011F840 0011C7A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011F844 0011C7A4 7C 7F 1B 78 */ mr r31, r3 +/* 8011F848 0011C7A8 88 63 03 B2 */ lbz r3, 0x3b2(r3) +/* 8011F84C 0011C7AC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8011F850 0011C7B0 41 82 00 10 */ beq lbl_8011F860 +/* 8011F854 0011C7B4 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8011F858 0011C7B8 40 82 00 08 */ bne lbl_8011F860 +/* 8011F85C 0011C7BC 38 80 00 01 */ li r4, 1 +lbl_8011F860: +/* 8011F860 0011C7C0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8011F864 0011C7C4 41 82 00 20 */ beq lbl_8011F884 +/* 8011F868 0011C7C8 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 8011F86C 0011C7CC 4B F0 D1 99 */ bl PreRender__9CAnimDataFv +/* 8011F870 0011C7D0 88 1F 00 9C */ lbz r0, 0x9c(r31) +/* 8011F874 0011C7D4 28 00 00 00 */ cmplwi r0, 0 +/* 8011F878 0011C7D8 41 82 00 0C */ beq lbl_8011F884 +/* 8011F87C 0011C7DC 80 7F 00 60 */ lwz r3, 0x60(r31) +/* 8011F880 0011C7E0 4B F0 D1 85 */ bl PreRender__9CAnimDataFv +lbl_8011F884: +/* 8011F884 0011C7E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011F888 0011C7E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011F88C 0011C7EC 7C 08 03 A6 */ mtlr r0 +/* 8011F890 0011C7F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011F894 0011C7F4 4E 80 00 20 */ blr + +.global TouchModel__11CGrappleArmCFRC13CStateManager +TouchModel__11CGrappleArmCFRC13CStateManager: +/* 8011F898 0011C7F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011F89C 0011C7FC 7C 08 02 A6 */ mflr r0 +/* 8011F8A0 0011C800 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011F8A4 0011C804 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011F8A8 0011C808 7C 9F 23 78 */ mr r31, r4 +/* 8011F8AC 0011C80C 38 80 00 00 */ li r4, 0 +/* 8011F8B0 0011C810 93 C1 00 08 */ stw r30, 8(r1) +/* 8011F8B4 0011C814 7C 7E 1B 78 */ mr r30, r3 +/* 8011F8B8 0011C818 88 63 03 B2 */ lbz r3, 0x3b2(r3) +/* 8011F8BC 0011C81C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8011F8C0 0011C820 41 82 00 10 */ beq lbl_8011F8D0 +/* 8011F8C4 0011C824 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 8011F8C8 0011C828 40 82 00 08 */ bne lbl_8011F8D0 +/* 8011F8CC 0011C82C 38 80 00 01 */ li r4, 1 +lbl_8011F8D0: +/* 8011F8D0 0011C830 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 8011F8D4 0011C834 41 82 00 78 */ beq lbl_8011F94C +/* 8011F8D8 0011C838 7F C3 F3 78 */ mr r3, r30 +/* 8011F8DC 0011C83C 7F E4 FB 78 */ mr r4, r31 +/* 8011F8E0 0011C840 38 A0 00 00 */ li r5, 0 +/* 8011F8E4 0011C844 4B FF 64 2D */ bl Touch__10CModelDataCFRC13CStateManageri +/* 8011F8E8 0011C848 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 8011F8EC 0011C84C 28 00 00 00 */ cmplwi r0, 0 +/* 8011F8F0 0011C850 41 82 00 14 */ beq lbl_8011F904 +/* 8011F8F4 0011C854 7F E4 FB 78 */ mr r4, r31 +/* 8011F8F8 0011C858 38 7E 00 50 */ addi r3, r30, 0x50 +/* 8011F8FC 0011C85C 38 A0 00 00 */ li r5, 0 +/* 8011F900 0011C860 4B FF 64 11 */ bl Touch__10CModelDataCFRC13CStateManageri +lbl_8011F904: +/* 8011F904 0011C864 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 8011F908 0011C868 38 80 00 0C */ li r4, 0xc +/* 8011F90C 0011C86C 80 63 00 00 */ lwz r3, 0(r3) +/* 8011F910 0011C870 4B F7 21 B1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 8011F914 0011C874 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011F918 0011C878 41 82 00 34 */ beq lbl_8011F94C +/* 8011F91C 0011C87C 7F E4 FB 78 */ mr r4, r31 +/* 8011F920 0011C880 38 7E 00 A0 */ addi r3, r30, 0xa0 +/* 8011F924 0011C884 38 A0 00 00 */ li r5, 0 +/* 8011F928 0011C888 4B FF 63 E9 */ bl Touch__10CModelDataCFRC13CStateManageri +/* 8011F92C 0011C88C 7F E4 FB 78 */ mr r4, r31 +/* 8011F930 0011C890 38 7E 00 EC */ addi r3, r30, 0xec +/* 8011F934 0011C894 38 A0 00 00 */ li r5, 0 +/* 8011F938 0011C898 4B FF 63 D9 */ bl Touch__10CModelDataCFRC13CStateManageri +/* 8011F93C 0011C89C 7F E4 FB 78 */ mr r4, r31 +/* 8011F940 0011C8A0 38 7E 01 38 */ addi r3, r30, 0x138 +/* 8011F944 0011C8A4 38 A0 00 00 */ li r5, 0 +/* 8011F948 0011C8A8 4B FF 63 C9 */ bl Touch__10CModelDataCFRC13CStateManageri +lbl_8011F94C: +/* 8011F94C 0011C8AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011F950 0011C8B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011F954 0011C8B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8011F958 0011C8B8 7C 08 03 A6 */ mtlr r0 +/* 8011F95C 0011C8BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011F960 0011C8C0 4E 80 00 20 */ blr + +.global __dt__11CGrappleArmFv +__dt__11CGrappleArmFv: +/* 8011F964 0011C8C4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011F968 0011C8C8 7C 08 02 A6 */ mflr r0 +/* 8011F96C 0011C8CC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011F970 0011C8D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8011F974 0011C8D4 7C 9F 23 78 */ mr r31, r4 +/* 8011F978 0011C8D8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8011F97C 0011C8DC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8011F980 0011C8E0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8011F984 0011C8E4 93 81 00 20 */ stw r28, 0x20(r1) +/* 8011F988 0011C8E8 41 82 02 68 */ beq lbl_8011FBF0 +/* 8011F98C 0011C8EC 38 7E 03 A4 */ addi r3, r30, 0x3a4 +/* 8011F990 0011C8F0 38 80 FF FF */ li r4, -1 +/* 8011F994 0011C8F4 4B F2 35 E5 */ bl "__dt__Q24rstl34single_ptr<20CRainSplashGenerator>" +/* 8011F998 0011C8F8 34 1E 03 A0 */ addic. r0, r30, 0x3a0 +/* 8011F99C 0011C8FC 41 82 00 24 */ beq lbl_8011F9C0 +/* 8011F9A0 0011C900 80 7E 03 A0 */ lwz r3, 0x3a0(r30) +/* 8011F9A4 0011C904 28 03 00 00 */ cmplwi r3, 0 +/* 8011F9A8 0011C908 41 82 00 18 */ beq lbl_8011F9C0 +/* 8011F9AC 0011C90C 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F9B0 0011C910 38 80 00 01 */ li r4, 1 +/* 8011F9B4 0011C914 81 8C 00 08 */ lwz r12, 8(r12) +/* 8011F9B8 0011C918 7D 89 03 A6 */ mtctr r12 +/* 8011F9BC 0011C91C 4E 80 04 21 */ bctrl +lbl_8011F9C0: +/* 8011F9C0 0011C920 34 1E 03 9C */ addic. r0, r30, 0x39c +/* 8011F9C4 0011C924 41 82 00 24 */ beq lbl_8011F9E8 +/* 8011F9C8 0011C928 80 7E 03 9C */ lwz r3, 0x39c(r30) +/* 8011F9CC 0011C92C 28 03 00 00 */ cmplwi r3, 0 +/* 8011F9D0 0011C930 41 82 00 18 */ beq lbl_8011F9E8 +/* 8011F9D4 0011C934 81 83 00 00 */ lwz r12, 0(r3) +/* 8011F9D8 0011C938 38 80 00 01 */ li r4, 1 +/* 8011F9DC 0011C93C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8011F9E0 0011C940 7D 89 03 A6 */ mtctr r12 +/* 8011F9E4 0011C944 4E 80 04 21 */ bctrl +lbl_8011F9E8: +/* 8011F9E8 0011C948 34 1E 03 98 */ addic. r0, r30, 0x398 +/* 8011F9EC 0011C94C 41 82 00 24 */ beq lbl_8011FA10 +/* 8011F9F0 0011C950 80 7E 03 98 */ lwz r3, 0x398(r30) +/* 8011F9F4 0011C954 28 03 00 00 */ cmplwi r3, 0 +/* 8011F9F8 0011C958 41 82 00 18 */ beq lbl_8011FA10 +/* 8011F9FC 0011C95C 81 83 00 00 */ lwz r12, 0(r3) +/* 8011FA00 0011C960 38 80 00 01 */ li r4, 1 +/* 8011FA04 0011C964 81 8C 00 08 */ lwz r12, 8(r12) +/* 8011FA08 0011C968 7D 89 03 A6 */ mtctr r12 +/* 8011FA0C 0011C96C 4E 80 04 21 */ bctrl +lbl_8011FA10: +/* 8011FA10 0011C970 34 1E 03 94 */ addic. r0, r30, 0x394 +/* 8011FA14 0011C974 41 82 00 24 */ beq lbl_8011FA38 +/* 8011FA18 0011C978 80 7E 03 94 */ lwz r3, 0x394(r30) +/* 8011FA1C 0011C97C 28 03 00 00 */ cmplwi r3, 0 +/* 8011FA20 0011C980 41 82 00 18 */ beq lbl_8011FA38 +/* 8011FA24 0011C984 81 83 00 00 */ lwz r12, 0(r3) +/* 8011FA28 0011C988 38 80 00 01 */ li r4, 1 +/* 8011FA2C 0011C98C 81 8C 00 08 */ lwz r12, 8(r12) +/* 8011FA30 0011C990 7D 89 03 A6 */ mtctr r12 +/* 8011FA34 0011C994 4E 80 04 21 */ bctrl +lbl_8011FA38: +/* 8011FA38 0011C998 34 1E 03 90 */ addic. r0, r30, 0x390 +/* 8011FA3C 0011C99C 41 82 00 24 */ beq lbl_8011FA60 +/* 8011FA40 0011C9A0 80 7E 03 90 */ lwz r3, 0x390(r30) +/* 8011FA44 0011C9A4 28 03 00 00 */ cmplwi r3, 0 +/* 8011FA48 0011C9A8 41 82 00 18 */ beq lbl_8011FA60 +/* 8011FA4C 0011C9AC 81 83 00 00 */ lwz r12, 0(r3) +/* 8011FA50 0011C9B0 38 80 00 01 */ li r4, 1 +/* 8011FA54 0011C9B4 81 8C 00 08 */ lwz r12, 8(r12) +/* 8011FA58 0011C9B8 7D 89 03 A6 */ mtctr r12 +/* 8011FA5C 0011C9BC 4E 80 04 21 */ bctrl +lbl_8011FA60: +/* 8011FA60 0011C9C0 34 1E 03 84 */ addic. r0, r30, 0x384 +/* 8011FA64 0011C9C4 41 82 00 18 */ beq lbl_8011FA7C +/* 8011FA68 0011C9C8 34 1E 03 84 */ addic. r0, r30, 0x384 +/* 8011FA6C 0011C9CC 41 82 00 10 */ beq lbl_8011FA7C +/* 8011FA70 0011C9D0 38 7E 03 84 */ addi r3, r30, 0x384 +/* 8011FA74 0011C9D4 38 80 00 00 */ li r4, 0 +/* 8011FA78 0011C9D8 48 22 13 C9 */ bl __dt__6CTokenFv +lbl_8011FA7C: +/* 8011FA7C 0011C9DC 34 1E 03 78 */ addic. r0, r30, 0x378 +/* 8011FA80 0011C9E0 41 82 00 18 */ beq lbl_8011FA98 +/* 8011FA84 0011C9E4 34 1E 03 78 */ addic. r0, r30, 0x378 +/* 8011FA88 0011C9E8 41 82 00 10 */ beq lbl_8011FA98 +/* 8011FA8C 0011C9EC 38 7E 03 78 */ addi r3, r30, 0x378 +/* 8011FA90 0011C9F0 38 80 00 00 */ li r4, 0 +/* 8011FA94 0011C9F4 48 22 13 AD */ bl __dt__6CTokenFv +lbl_8011FA98: +/* 8011FA98 0011C9F8 34 1E 03 6C */ addic. r0, r30, 0x36c +/* 8011FA9C 0011C9FC 41 82 00 18 */ beq lbl_8011FAB4 +/* 8011FAA0 0011CA00 34 1E 03 6C */ addic. r0, r30, 0x36c +/* 8011FAA4 0011CA04 41 82 00 10 */ beq lbl_8011FAB4 +/* 8011FAA8 0011CA08 38 7E 03 6C */ addi r3, r30, 0x36c +/* 8011FAAC 0011CA0C 38 80 00 00 */ li r4, 0 +/* 8011FAB0 0011CA10 48 22 13 91 */ bl __dt__6CTokenFv +lbl_8011FAB4: +/* 8011FAB4 0011CA14 34 1E 03 60 */ addic. r0, r30, 0x360 +/* 8011FAB8 0011CA18 41 82 00 18 */ beq lbl_8011FAD0 +/* 8011FABC 0011CA1C 34 1E 03 60 */ addic. r0, r30, 0x360 +/* 8011FAC0 0011CA20 41 82 00 10 */ beq lbl_8011FAD0 +/* 8011FAC4 0011CA24 38 7E 03 60 */ addi r3, r30, 0x360 +/* 8011FAC8 0011CA28 38 80 00 00 */ li r4, 0 +/* 8011FACC 0011CA2C 48 22 13 75 */ bl __dt__6CTokenFv +lbl_8011FAD0: +/* 8011FAD0 0011CA30 34 1E 03 54 */ addic. r0, r30, 0x354 +/* 8011FAD4 0011CA34 41 82 00 18 */ beq lbl_8011FAEC +/* 8011FAD8 0011CA38 34 1E 03 54 */ addic. r0, r30, 0x354 +/* 8011FADC 0011CA3C 41 82 00 10 */ beq lbl_8011FAEC +/* 8011FAE0 0011CA40 38 7E 03 54 */ addi r3, r30, 0x354 +/* 8011FAE4 0011CA44 38 80 00 00 */ li r4, 0 +/* 8011FAE8 0011CA48 48 22 13 59 */ bl __dt__6CTokenFv +lbl_8011FAEC: +/* 8011FAEC 0011CA4C 38 7E 03 28 */ addi r3, r30, 0x328 +/* 8011FAF0 0011CA50 38 80 FF FF */ li r4, -1 +/* 8011FAF4 0011CA54 48 00 02 15 */ bl "__dt__Q24rstl28single_ptr<14CGunController>Fv" +/* 8011FAF8 0011CA58 38 7E 01 9C */ addi r3, r30, 0x19c +/* 8011FAFC 0011CA5C 38 80 FF FF */ li r4, -1 +/* 8011FB00 0011CA60 48 00 01 15 */ bl sub_8011fc14 +/* 8011FB04 0011CA64 34 1E 01 8C */ addic. r0, r30, 0x18c +/* 8011FB08 0011CA68 41 82 00 50 */ beq lbl_8011FB58 +/* 8011FB0C 0011CA6C 80 1E 01 90 */ lwz r0, 0x190(r30) +/* 8011FB10 0011CA70 83 9E 01 98 */ lwz r28, 0x198(r30) +/* 8011FB14 0011CA74 54 00 18 38 */ slwi r0, r0, 3 +/* 8011FB18 0011CA78 7F BC 02 14 */ add r29, r28, r0 +/* 8011FB1C 0011CA7C 93 81 00 0C */ stw r28, 0xc(r1) +/* 8011FB20 0011CA80 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8011FB24 0011CA84 93 A1 00 10 */ stw r29, 0x10(r1) +/* 8011FB28 0011CA88 93 81 00 08 */ stw r28, 8(r1) +/* 8011FB2C 0011CA8C 48 00 00 14 */ b lbl_8011FB40 +lbl_8011FB30: +/* 8011FB30 0011CA90 7F 83 E3 78 */ mr r3, r28 +/* 8011FB34 0011CA94 38 80 FF FF */ li r4, -1 +/* 8011FB38 0011CA98 48 22 13 09 */ bl __dt__6CTokenFv +/* 8011FB3C 0011CA9C 3B 9C 00 08 */ addi r28, r28, 8 +lbl_8011FB40: +/* 8011FB40 0011CAA0 7C 1C E8 40 */ cmplw r28, r29 +/* 8011FB44 0011CAA4 40 82 FF EC */ bne lbl_8011FB30 +/* 8011FB48 0011CAA8 80 7E 01 98 */ lwz r3, 0x198(r30) +/* 8011FB4C 0011CAAC 28 03 00 00 */ cmplwi r3, 0 +/* 8011FB50 0011CAB0 41 82 00 08 */ beq lbl_8011FB58 +/* 8011FB54 0011CAB4 48 1F 5D DD */ bl Free__7CMemoryFPCv +lbl_8011FB58: +/* 8011FB58 0011CAB8 34 1E 01 84 */ addic. r0, r30, 0x184 +/* 8011FB5C 0011CABC 41 82 00 10 */ beq lbl_8011FB6C +/* 8011FB60 0011CAC0 38 7E 01 84 */ addi r3, r30, 0x184 +/* 8011FB64 0011CAC4 38 80 00 00 */ li r4, 0 +/* 8011FB68 0011CAC8 48 22 12 D9 */ bl __dt__6CTokenFv +lbl_8011FB6C: +/* 8011FB6C 0011CACC 38 7E 01 38 */ addi r3, r30, 0x138 +/* 8011FB70 0011CAD0 38 80 FF FF */ li r4, -1 +/* 8011FB74 0011CAD4 4B FF 6E D9 */ bl __dt__10CModelDataFv +/* 8011FB78 0011CAD8 38 7E 00 EC */ addi r3, r30, 0xec +/* 8011FB7C 0011CADC 38 80 FF FF */ li r4, -1 +/* 8011FB80 0011CAE0 4B FF 6E CD */ bl __dt__10CModelDataFv +/* 8011FB84 0011CAE4 38 7E 00 A0 */ addi r3, r30, 0xa0 +/* 8011FB88 0011CAE8 38 80 FF FF */ li r4, -1 +/* 8011FB8C 0011CAEC 4B FF 6E C1 */ bl __dt__10CModelDataFv +/* 8011FB90 0011CAF0 34 1E 00 50 */ addic. r0, r30, 0x50 +/* 8011FB94 0011CAF4 41 82 00 24 */ beq lbl_8011FBB8 +/* 8011FB98 0011CAF8 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 8011FB9C 0011CAFC 28 00 00 00 */ cmplwi r0, 0 +/* 8011FBA0 0011CB00 41 82 00 10 */ beq lbl_8011FBB0 +/* 8011FBA4 0011CB04 38 7E 00 50 */ addi r3, r30, 0x50 +/* 8011FBA8 0011CB08 38 80 FF FF */ li r4, -1 +/* 8011FBAC 0011CB0C 4B FF 6E A1 */ bl __dt__10CModelDataFv +lbl_8011FBB0: +/* 8011FBB0 0011CB10 38 00 00 00 */ li r0, 0 +/* 8011FBB4 0011CB14 98 1E 00 9C */ stb r0, 0x9c(r30) +lbl_8011FBB8: +/* 8011FBB8 0011CB18 28 1E 00 00 */ cmplwi r30, 0 +/* 8011FBBC 0011CB1C 41 82 00 24 */ beq lbl_8011FBE0 +/* 8011FBC0 0011CB20 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 8011FBC4 0011CB24 28 00 00 00 */ cmplwi r0, 0 +/* 8011FBC8 0011CB28 41 82 00 10 */ beq lbl_8011FBD8 +/* 8011FBCC 0011CB2C 7F C3 F3 78 */ mr r3, r30 +/* 8011FBD0 0011CB30 38 80 FF FF */ li r4, -1 +/* 8011FBD4 0011CB34 4B FF 6E 79 */ bl __dt__10CModelDataFv +lbl_8011FBD8: +/* 8011FBD8 0011CB38 38 00 00 00 */ li r0, 0 +/* 8011FBDC 0011CB3C 98 1E 00 4C */ stb r0, 0x4c(r30) +lbl_8011FBE0: +/* 8011FBE0 0011CB40 7F E0 07 35 */ extsh. r0, r31 +/* 8011FBE4 0011CB44 40 81 00 0C */ ble lbl_8011FBF0 +/* 8011FBE8 0011CB48 7F C3 F3 78 */ mr r3, r30 +/* 8011FBEC 0011CB4C 48 1F 5D 45 */ bl Free__7CMemoryFPCv +lbl_8011FBF0: +/* 8011FBF0 0011CB50 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011FBF4 0011CB54 7F C3 F3 78 */ mr r3, r30 +/* 8011FBF8 0011CB58 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8011FBFC 0011CB5C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8011FC00 0011CB60 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8011FC04 0011CB64 83 81 00 20 */ lwz r28, 0x20(r1) +/* 8011FC08 0011CB68 7C 08 03 A6 */ mtlr r0 +/* 8011FC0C 0011CB6C 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011FC10 0011CB70 4E 80 00 20 */ blr + +.global sub_8011fc14 +sub_8011fc14: +/* 8011FC14 0011CB74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011FC18 0011CB78 7C 08 02 A6 */ mflr r0 +/* 8011FC1C 0011CB7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011FC20 0011CB80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011FC24 0011CB84 7C 9F 23 78 */ mr r31, r4 +/* 8011FC28 0011CB88 93 C1 00 08 */ stw r30, 8(r1) +/* 8011FC2C 0011CB8C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8011FC30 0011CB90 41 82 00 18 */ beq lbl_8011FC48 +/* 8011FC34 0011CB94 48 00 00 31 */ bl "clear__Q24rstl70reserved_vector,4>Fv" +/* 8011FC38 0011CB98 7F E0 07 35 */ extsh. r0, r31 +/* 8011FC3C 0011CB9C 40 81 00 0C */ ble lbl_8011FC48 +/* 8011FC40 0011CBA0 7F C3 F3 78 */ mr r3, r30 +/* 8011FC44 0011CBA4 48 1F 5C ED */ bl Free__7CMemoryFPCv +lbl_8011FC48: +/* 8011FC48 0011CBA8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011FC4C 0011CBAC 7F C3 F3 78 */ mr r3, r30 +/* 8011FC50 0011CBB0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011FC54 0011CBB4 83 C1 00 08 */ lwz r30, 8(r1) +/* 8011FC58 0011CBB8 7C 08 03 A6 */ mtlr r0 +/* 8011FC5C 0011CBBC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011FC60 0011CBC0 4E 80 00 20 */ blr + +.global "clear__Q24rstl70reserved_vector,4>Fv" +"clear__Q24rstl70reserved_vector,4>Fv": +/* 8011FC64 0011CBC4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8011FC68 0011CBC8 7C 08 02 A6 */ mflr r0 +/* 8011FC6C 0011CBCC 90 01 00 34 */ stw r0, 0x34(r1) +/* 8011FC70 0011CBD0 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8011FC74 0011CBD4 7C 7B 1B 78 */ mr r27, r3 +/* 8011FC78 0011CBD8 3B 80 00 00 */ li r28, 0 +/* 8011FC7C 0011CBDC 3B DB 00 04 */ addi r30, r27, 4 +/* 8011FC80 0011CBE0 48 00 00 60 */ b lbl_8011FCE0 +lbl_8011FC84: +/* 8011FC84 0011CBE4 28 1E 00 00 */ cmplwi r30, 0 +/* 8011FC88 0011CBE8 41 82 00 50 */ beq lbl_8011FCD8 +/* 8011FC8C 0011CBEC 80 1E 00 04 */ lwz r0, 4(r30) +/* 8011FC90 0011CBF0 83 BE 00 0C */ lwz r29, 0xc(r30) +/* 8011FC94 0011CBF4 54 00 18 38 */ slwi r0, r0, 3 +/* 8011FC98 0011CBF8 7F FD 02 14 */ add r31, r29, r0 +/* 8011FC9C 0011CBFC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 8011FCA0 0011CC00 93 E1 00 14 */ stw r31, 0x14(r1) +/* 8011FCA4 0011CC04 93 E1 00 10 */ stw r31, 0x10(r1) +/* 8011FCA8 0011CC08 93 A1 00 08 */ stw r29, 8(r1) +/* 8011FCAC 0011CC0C 48 00 00 14 */ b lbl_8011FCC0 +lbl_8011FCB0: +/* 8011FCB0 0011CC10 7F A3 EB 78 */ mr r3, r29 +/* 8011FCB4 0011CC14 38 80 FF FF */ li r4, -1 +/* 8011FCB8 0011CC18 48 22 11 89 */ bl __dt__6CTokenFv +/* 8011FCBC 0011CC1C 3B BD 00 08 */ addi r29, r29, 8 +lbl_8011FCC0: +/* 8011FCC0 0011CC20 7C 1D F8 40 */ cmplw r29, r31 +/* 8011FCC4 0011CC24 40 82 FF EC */ bne lbl_8011FCB0 +/* 8011FCC8 0011CC28 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 8011FCCC 0011CC2C 28 03 00 00 */ cmplwi r3, 0 +/* 8011FCD0 0011CC30 41 82 00 08 */ beq lbl_8011FCD8 +/* 8011FCD4 0011CC34 48 1F 5C 5D */ bl Free__7CMemoryFPCv +lbl_8011FCD8: +/* 8011FCD8 0011CC38 3B DE 00 10 */ addi r30, r30, 0x10 +/* 8011FCDC 0011CC3C 3B 9C 00 01 */ addi r28, r28, 1 +lbl_8011FCE0: +/* 8011FCE0 0011CC40 80 1B 00 00 */ lwz r0, 0(r27) +/* 8011FCE4 0011CC44 7C 1C 00 00 */ cmpw r28, r0 +/* 8011FCE8 0011CC48 41 80 FF 9C */ blt lbl_8011FC84 +/* 8011FCEC 0011CC4C 38 00 00 00 */ li r0, 0 +/* 8011FCF0 0011CC50 90 1B 00 00 */ stw r0, 0(r27) +/* 8011FCF4 0011CC54 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 8011FCF8 0011CC58 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011FCFC 0011CC5C 7C 08 03 A6 */ mtlr r0 +/* 8011FD00 0011CC60 38 21 00 30 */ addi r1, r1, 0x30 +/* 8011FD04 0011CC64 4E 80 00 20 */ blr + +.global "__dt__Q24rstl28single_ptr<14CGunController>Fv" +"__dt__Q24rstl28single_ptr<14CGunController>Fv": +/* 8011FD08 0011CC68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011FD0C 0011CC6C 7C 08 02 A6 */ mflr r0 +/* 8011FD10 0011CC70 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011FD14 0011CC74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011FD18 0011CC78 7C 9F 23 78 */ mr r31, r4 +/* 8011FD1C 0011CC7C 93 C1 00 08 */ stw r30, 8(r1) +/* 8011FD20 0011CC80 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8011FD24 0011CC84 41 82 00 20 */ beq lbl_8011FD44 +/* 8011FD28 0011CC88 80 7E 00 00 */ lwz r3, 0(r30) +/* 8011FD2C 0011CC8C 38 80 00 01 */ li r4, 1 +/* 8011FD30 0011CC90 4B FF DD ED */ bl __dt__14CGunControllerFv +/* 8011FD34 0011CC94 7F E0 07 35 */ extsh. r0, r31 +/* 8011FD38 0011CC98 40 81 00 0C */ ble lbl_8011FD44 +/* 8011FD3C 0011CC9C 7F C3 F3 78 */ mr r3, r30 +/* 8011FD40 0011CCA0 48 1F 5B F1 */ bl Free__7CMemoryFPCv +lbl_8011FD44: +/* 8011FD44 0011CCA4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011FD48 0011CCA8 7F C3 F3 78 */ mr r3, r30 +/* 8011FD4C 0011CCAC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011FD50 0011CCB0 83 C1 00 08 */ lwz r30, 8(r1) +/* 8011FD54 0011CCB4 7C 08 03 A6 */ mtlr r0 +/* 8011FD58 0011CCB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011FD5C 0011CCBC 4E 80 00 20 */ blr + +.global __ct__11CGrappleArmFRC9CVector3f +__ct__11CGrappleArmFRC9CVector3f: +/* 8011FD60 0011CCC0 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 8011FD64 0011CCC4 7C 08 02 A6 */ mflr r0 +/* 8011FD68 0011CCC8 80 C2 83 F0 */ lwz r6, lbl_805AA110@sda21(r2) +/* 8011FD6C 0011CCCC 90 01 01 44 */ stw r0, 0x144(r1) +/* 8011FD70 0011CCD0 38 00 00 29 */ li r0, 0x29 +/* 8011FD74 0011CCD4 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 8011FD78 0011CCD8 7C 7F 1B 78 */ mr r31, r3 +/* 8011FD7C 0011CCDC 38 61 00 DC */ addi r3, r1, 0xdc +/* 8011FD80 0011CCE0 93 C1 01 38 */ stw r30, 0x138(r1) +/* 8011FD84 0011CCE4 7C 9E 23 78 */ mr r30, r4 +/* 8011FD88 0011CCE8 93 A1 01 34 */ stw r29, 0x134(r1) +/* 8011FD8C 0011CCEC 93 81 01 30 */ stw r28, 0x130(r1) +/* 8011FD90 0011CCF0 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 8011FD94 0011CCF4 C0 44 00 00 */ lfs f2, 0(r4) +/* 8011FD98 0011CCF8 80 E5 00 08 */ lwz r7, 8(r5) +/* 8011FD9C 0011CCFC 38 A0 00 00 */ li r5, 0 +/* 8011FDA0 0011CD00 C0 24 00 04 */ lfs f1, 4(r4) +/* 8011FDA4 0011CD04 C0 04 00 08 */ lfs f0, 8(r4) +/* 8011FDA8 0011CD08 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 8011FDAC 0011CD0C 90 E1 00 C0 */ stw r7, 0xc0(r1) +/* 8011FDB0 0011CD10 90 C1 00 C4 */ stw r6, 0xc4(r1) +/* 8011FDB4 0011CD14 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 8011FDB8 0011CD18 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 8011FDBC 0011CD1C D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 8011FDC0 0011CD20 98 A1 00 D4 */ stb r5, 0xd4(r1) +/* 8011FDC4 0011CD24 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 8011FDC8 0011CD28 4B FF 6D 8D */ bl __ct__10CModelDataFRC8CAnimRes +/* 8011FDCC 0011CD2C 7F E3 FB 78 */ mr r3, r31 +/* 8011FDD0 0011CD30 38 81 00 DC */ addi r4, r1, 0xdc +/* 8011FDD4 0011CD34 4B FC 84 C5 */ bl sub_800e8298 +/* 8011FDD8 0011CD38 38 61 00 DC */ addi r3, r1, 0xdc +/* 8011FDDC 0011CD3C 38 80 FF FF */ li r4, -1 +/* 8011FDE0 0011CD40 4B FF 6C 6D */ bl __dt__10CModelDataFv +/* 8011FDE4 0011CD44 38 00 00 00 */ li r0, 0 +/* 8011FDE8 0011CD48 80 62 97 48 */ lwz r3, lbl_805AB468@sda21(r2) +/* 8011FDEC 0011CD4C 98 1F 00 9C */ stb r0, 0x9c(r31) +/* 8011FDF0 0011CD50 48 16 B6 59 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 8011FDF4 0011CD54 C0 5E 00 00 */ lfs f2, 0(r30) +/* 8011FDF8 0011CD58 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8011FDFC 0011CD5C C0 3E 00 04 */ lfs f1, 4(r30) +/* 8011FE00 0011CD60 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8011FE04 0011CD64 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 8011FE08 0011CD68 38 7F 00 A0 */ addi r3, r31, 0xa0 +/* 8011FE0C 0011CD6C D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 8011FE10 0011CD70 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 8011FE14 0011CD74 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 8011FE18 0011CD78 4B FF 6F 45 */ bl __ct__10CModelDataFRC10CStaticRes +/* 8011FE1C 0011CD7C 80 62 97 4C */ lwz r3, lbl_805AB46C@sda21(r2) +/* 8011FE20 0011CD80 48 16 B6 29 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 8011FE24 0011CD84 C0 5E 00 00 */ lfs f2, 0(r30) +/* 8011FE28 0011CD88 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 8011FE2C 0011CD8C C0 3E 00 04 */ lfs f1, 4(r30) +/* 8011FE30 0011CD90 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8011FE34 0011CD94 90 61 00 A0 */ stw r3, 0xa0(r1) +/* 8011FE38 0011CD98 38 7F 00 EC */ addi r3, r31, 0xec +/* 8011FE3C 0011CD9C D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 8011FE40 0011CDA0 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 8011FE44 0011CDA4 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 8011FE48 0011CDA8 4B FF 6F 15 */ bl __ct__10CModelDataFRC10CStaticRes +/* 8011FE4C 0011CDAC 80 62 97 50 */ lwz r3, lbl_805AB470@sda21(r2) +/* 8011FE50 0011CDB0 48 16 B5 F9 */ bl get_asset_id_from_name__12NWeaponTypesFPCc +/* 8011FE54 0011CDB4 C0 5E 00 00 */ lfs f2, 0(r30) +/* 8011FE58 0011CDB8 38 81 00 90 */ addi r4, r1, 0x90 +/* 8011FE5C 0011CDBC C0 3E 00 04 */ lfs f1, 4(r30) +/* 8011FE60 0011CDC0 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8011FE64 0011CDC4 90 61 00 90 */ stw r3, 0x90(r1) +/* 8011FE68 0011CDC8 38 7F 01 38 */ addi r3, r31, 0x138 +/* 8011FE6C 0011CDCC D0 41 00 94 */ stfs f2, 0x94(r1) +/* 8011FE70 0011CDD0 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 8011FE74 0011CDD4 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 8011FE78 0011CDD8 4B FF 6E E5 */ bl __ct__10CModelDataFRC10CStaticRes +/* 8011FE7C 0011CDDC 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 8011FE80 0011CDE0 3C 60 41 4E */ lis r3, 0x414E4353@ha +/* 8011FE84 0011CDE4 38 03 43 53 */ addi r0, r3, 0x414E4353@l +/* 8011FE88 0011CDE8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8011FE8C 0011CDEC 80 C5 00 08 */ lwz r6, 8(r5) +/* 8011FE90 0011CDF0 38 61 00 80 */ addi r3, r1, 0x80 +/* 8011FE94 0011CDF4 38 A1 00 88 */ addi r5, r1, 0x88 +/* 8011FE98 0011CDF8 90 01 00 88 */ stw r0, 0x88(r1) +/* 8011FE9C 0011CDFC 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 8011FEA0 0011CE00 81 84 00 00 */ lwz r12, 0(r4) +/* 8011FEA4 0011CE04 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011FEA8 0011CE08 7D 89 03 A6 */ mtctr r12 +/* 8011FEAC 0011CE0C 4E 80 04 21 */ bctrl +/* 8011FEB0 0011CE10 38 7F 01 84 */ addi r3, r31, 0x184 +/* 8011FEB4 0011CE14 38 81 00 80 */ addi r4, r1, 0x80 +/* 8011FEB8 0011CE18 48 22 0F F1 */ bl __ct__6CTokenFRC6CToken +/* 8011FEBC 0011CE1C 38 61 00 80 */ addi r3, r1, 0x80 +/* 8011FEC0 0011CE20 38 80 FF FF */ li r4, -1 +/* 8011FEC4 0011CE24 48 22 0F 7D */ bl __dt__6CTokenFv +/* 8011FEC8 0011CE28 38 00 00 00 */ li r0, 0 +/* 8011FECC 0011CE2C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8011FED0 0011CE30 90 1F 01 90 */ stw r0, 0x190(r31) +/* 8011FED4 0011CE34 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 8011FED8 0011CE38 38 7F 02 20 */ addi r3, r31, 0x220 +/* 8011FEDC 0011CE3C 90 1F 01 94 */ stw r0, 0x194(r31) +/* 8011FEE0 0011CE40 90 1F 01 98 */ stw r0, 0x198(r31) +/* 8011FEE4 0011CE44 90 1F 01 9C */ stw r0, 0x19c(r31) +/* 8011FEE8 0011CE48 48 1F 2C 8D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011FEEC 0011CE4C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8011FEF0 0011CE50 38 7F 02 50 */ addi r3, r31, 0x250 +/* 8011FEF4 0011CE54 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8011FEF8 0011CE58 48 1F 2C 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011FEFC 0011CE5C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8011FF00 0011CE60 38 7F 02 80 */ addi r3, r31, 0x280 +/* 8011FF04 0011CE64 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8011FF08 0011CE68 48 1F 2C 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011FF0C 0011CE6C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8011FF10 0011CE70 38 7F 02 B0 */ addi r3, r31, 0x2b0 +/* 8011FF14 0011CE74 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8011FF18 0011CE78 48 1F 2C 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011FF1C 0011CE7C 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 8011FF20 0011CE80 38 7F 02 E0 */ addi r3, r31, 0x2e0 +/* 8011FF24 0011CE84 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 8011FF28 0011CE88 48 1F 2C 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011FF2C 0011CE8C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 8011FF30 0011CE90 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 8011FF34 0011CE94 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 8011FF38 0011CE98 38 C0 00 00 */ li r6, 0 +/* 8011FF3C 0011CE9C C0 27 00 00 */ lfs f1, 0(r7) +/* 8011FF40 0011CEA0 38 80 00 0A */ li r4, 0xa +/* 8011FF44 0011CEA4 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) +/* 8011FF48 0011CEA8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8011FF4C 0011CEAC D0 3F 03 10 */ stfs f1, 0x310(r31) +/* 8011FF50 0011CEB0 38 61 00 70 */ addi r3, r1, 0x70 +/* 8011FF54 0011CEB4 38 A1 00 78 */ addi r5, r1, 0x78 +/* 8011FF58 0011CEB8 C0 27 00 04 */ lfs f1, 4(r7) +/* 8011FF5C 0011CEBC D0 3F 03 14 */ stfs f1, 0x314(r31) +/* 8011FF60 0011CEC0 C0 27 00 08 */ lfs f1, 8(r7) +/* 8011FF64 0011CEC4 D0 3F 03 18 */ stfs f1, 0x318(r31) +/* 8011FF68 0011CEC8 C0 3E 00 00 */ lfs f1, 0(r30) +/* 8011FF6C 0011CECC D0 3F 03 1C */ stfs f1, 0x31c(r31) +/* 8011FF70 0011CED0 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8011FF74 0011CED4 D0 3F 03 20 */ stfs f1, 0x320(r31) +/* 8011FF78 0011CED8 C0 3E 00 08 */ lfs f1, 8(r30) +/* 8011FF7C 0011CEDC D0 3F 03 24 */ stfs f1, 0x324(r31) +/* 8011FF80 0011CEE0 90 DF 03 28 */ stw r6, 0x328(r31) +/* 8011FF84 0011CEE4 90 DF 03 2C */ stw r6, 0x32c(r31) +/* 8011FF88 0011CEE8 90 DF 03 30 */ stw r6, 0x330(r31) +/* 8011FF8C 0011CEEC 90 9F 03 34 */ stw r4, 0x334(r31) +/* 8011FF90 0011CEF0 D0 1F 03 38 */ stfs f0, 0x338(r31) +/* 8011FF94 0011CEF4 D0 1F 03 3C */ stfs f0, 0x33c(r31) +/* 8011FF98 0011CEF8 D0 1F 03 40 */ stfs f0, 0x340(r31) +/* 8011FF9C 0011CEFC D0 1F 03 44 */ stfs f0, 0x344(r31) +/* 8011FFA0 0011CF00 D0 1F 03 48 */ stfs f0, 0x348(r31) +/* 8011FFA4 0011CF04 A0 8D 8A 88 */ lhz r4, lbl_805A7648@sda21(r13) +/* 8011FFA8 0011CF08 B0 9F 03 4C */ sth r4, 0x34c(r31) +/* 8011FFAC 0011CF0C 90 DF 03 50 */ stw r6, 0x350(r31) +/* 8011FFB0 0011CF10 80 CD A1 48 */ lwz r6, gpTweakGunRes@sda21(r13) +/* 8011FFB4 0011CF14 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8011FFB8 0011CF18 80 C6 00 B4 */ lwz r6, 0xb4(r6) +/* 8011FFBC 0011CF1C 90 01 00 78 */ stw r0, 0x78(r1) +/* 8011FFC0 0011CF20 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 8011FFC4 0011CF24 81 84 00 00 */ lwz r12, 0(r4) +/* 8011FFC8 0011CF28 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8011FFCC 0011CF2C 7D 89 03 A6 */ mtctr r12 +/* 8011FFD0 0011CF30 4E 80 04 21 */ bctrl +/* 8011FFD4 0011CF34 3B 9F 03 54 */ addi r28, r31, 0x354 +/* 8011FFD8 0011CF38 38 81 00 70 */ addi r4, r1, 0x70 +/* 8011FFDC 0011CF3C 7F 83 E3 78 */ mr r3, r28 +/* 8011FFE0 0011CF40 48 22 0E C9 */ bl __ct__6CTokenFRC6CToken +/* 8011FFE4 0011CF44 7F 83 E3 78 */ mr r3, r28 +/* 8011FFE8 0011CF48 48 22 0E 25 */ bl GetObj__6CTokenFv +/* 8011FFEC 0011CF4C 80 03 00 04 */ lwz r0, 4(r3) +/* 8011FFF0 0011CF50 38 61 00 70 */ addi r3, r1, 0x70 +/* 8011FFF4 0011CF54 38 80 FF FF */ li r4, -1 +/* 8011FFF8 0011CF58 90 1C 00 08 */ stw r0, 8(r28) +/* 8011FFFC 0011CF5C 48 22 0E 45 */ bl __dt__6CTokenFv +/* 80120000 0011CF60 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 80120004 0011CF64 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80120008 0011CF68 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8012000C 0011CF6C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80120010 0011CF70 80 C5 00 B8 */ lwz r6, 0xb8(r5) +/* 80120014 0011CF74 38 61 00 60 */ addi r3, r1, 0x60 +/* 80120018 0011CF78 38 A1 00 68 */ addi r5, r1, 0x68 +/* 8012001C 0011CF7C 90 01 00 68 */ stw r0, 0x68(r1) +/* 80120020 0011CF80 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 80120024 0011CF84 81 84 00 00 */ lwz r12, 0(r4) +/* 80120028 0011CF88 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8012002C 0011CF8C 7D 89 03 A6 */ mtctr r12 +/* 80120030 0011CF90 4E 80 04 21 */ bctrl +/* 80120034 0011CF94 3B 9F 03 60 */ addi r28, r31, 0x360 +/* 80120038 0011CF98 38 81 00 60 */ addi r4, r1, 0x60 +/* 8012003C 0011CF9C 7F 83 E3 78 */ mr r3, r28 +/* 80120040 0011CFA0 48 22 0E 69 */ bl __ct__6CTokenFRC6CToken +/* 80120044 0011CFA4 7F 83 E3 78 */ mr r3, r28 +/* 80120048 0011CFA8 48 22 0D C5 */ bl GetObj__6CTokenFv +/* 8012004C 0011CFAC 80 03 00 04 */ lwz r0, 4(r3) +/* 80120050 0011CFB0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80120054 0011CFB4 38 80 FF FF */ li r4, -1 +/* 80120058 0011CFB8 90 1C 00 08 */ stw r0, 8(r28) +/* 8012005C 0011CFBC 48 22 0D E5 */ bl __dt__6CTokenFv +/* 80120060 0011CFC0 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 80120064 0011CFC4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80120068 0011CFC8 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 8012006C 0011CFCC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80120070 0011CFD0 80 C5 00 BC */ lwz r6, 0xbc(r5) +/* 80120074 0011CFD4 38 61 00 50 */ addi r3, r1, 0x50 +/* 80120078 0011CFD8 38 A1 00 58 */ addi r5, r1, 0x58 +/* 8012007C 0011CFDC 90 01 00 58 */ stw r0, 0x58(r1) +/* 80120080 0011CFE0 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 80120084 0011CFE4 81 84 00 00 */ lwz r12, 0(r4) +/* 80120088 0011CFE8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8012008C 0011CFEC 7D 89 03 A6 */ mtctr r12 +/* 80120090 0011CFF0 4E 80 04 21 */ bctrl +/* 80120094 0011CFF4 3B 9F 03 6C */ addi r28, r31, 0x36c +/* 80120098 0011CFF8 38 81 00 50 */ addi r4, r1, 0x50 +/* 8012009C 0011CFFC 7F 83 E3 78 */ mr r3, r28 +/* 801200A0 0011D000 48 22 0E 09 */ bl __ct__6CTokenFRC6CToken +/* 801200A4 0011D004 7F 83 E3 78 */ mr r3, r28 +/* 801200A8 0011D008 48 22 0D 65 */ bl GetObj__6CTokenFv +/* 801200AC 0011D00C 80 03 00 04 */ lwz r0, 4(r3) +/* 801200B0 0011D010 38 61 00 50 */ addi r3, r1, 0x50 +/* 801200B4 0011D014 38 80 FF FF */ li r4, -1 +/* 801200B8 0011D018 90 1C 00 08 */ stw r0, 8(r28) +/* 801200BC 0011D01C 48 22 0D 85 */ bl __dt__6CTokenFv +/* 801200C0 0011D020 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 801200C4 0011D024 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 801200C8 0011D028 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 801200CC 0011D02C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801200D0 0011D030 80 C5 00 C0 */ lwz r6, 0xc0(r5) +/* 801200D4 0011D034 38 61 00 40 */ addi r3, r1, 0x40 +/* 801200D8 0011D038 38 A1 00 48 */ addi r5, r1, 0x48 +/* 801200DC 0011D03C 90 01 00 48 */ stw r0, 0x48(r1) +/* 801200E0 0011D040 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 801200E4 0011D044 81 84 00 00 */ lwz r12, 0(r4) +/* 801200E8 0011D048 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 801200EC 0011D04C 7D 89 03 A6 */ mtctr r12 +/* 801200F0 0011D050 4E 80 04 21 */ bctrl +/* 801200F4 0011D054 3B 9F 03 78 */ addi r28, r31, 0x378 +/* 801200F8 0011D058 38 81 00 40 */ addi r4, r1, 0x40 +/* 801200FC 0011D05C 7F 83 E3 78 */ mr r3, r28 +/* 80120100 0011D060 48 22 0D A9 */ bl __ct__6CTokenFRC6CToken +/* 80120104 0011D064 7F 83 E3 78 */ mr r3, r28 +/* 80120108 0011D068 48 22 0D 05 */ bl GetObj__6CTokenFv +/* 8012010C 0011D06C 80 03 00 04 */ lwz r0, 4(r3) +/* 80120110 0011D070 38 61 00 40 */ addi r3, r1, 0x40 +/* 80120114 0011D074 38 80 FF FF */ li r4, -1 +/* 80120118 0011D078 90 1C 00 08 */ stw r0, 8(r28) +/* 8012011C 0011D07C 48 22 0D 25 */ bl __dt__6CTokenFv +/* 80120120 0011D080 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) +/* 80120124 0011D084 3C 60 53 57 */ lis r3, 0x53574843@ha +/* 80120128 0011D088 38 03 48 43 */ addi r0, r3, 0x53574843@l +/* 8012012C 0011D08C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80120130 0011D090 80 C5 00 C4 */ lwz r6, 0xc4(r5) +/* 80120134 0011D094 38 61 00 30 */ addi r3, r1, 0x30 +/* 80120138 0011D098 38 A1 00 38 */ addi r5, r1, 0x38 +/* 8012013C 0011D09C 90 01 00 38 */ stw r0, 0x38(r1) +/* 80120140 0011D0A0 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 80120144 0011D0A4 81 84 00 00 */ lwz r12, 0(r4) +/* 80120148 0011D0A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8012014C 0011D0AC 7D 89 03 A6 */ mtctr r12 +/* 80120150 0011D0B0 4E 80 04 21 */ bctrl +/* 80120154 0011D0B4 3B 9F 03 84 */ addi r28, r31, 0x384 +/* 80120158 0011D0B8 38 81 00 30 */ addi r4, r1, 0x30 +/* 8012015C 0011D0BC 7F 83 E3 78 */ mr r3, r28 +/* 80120160 0011D0C0 48 22 0D 49 */ bl __ct__6CTokenFRC6CToken +/* 80120164 0011D0C4 7F 83 E3 78 */ mr r3, r28 +/* 80120168 0011D0C8 48 22 0C A5 */ bl GetObj__6CTokenFv +/* 8012016C 0011D0CC 80 03 00 04 */ lwz r0, 4(r3) +/* 80120170 0011D0D0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80120174 0011D0D4 38 80 FF FF */ li r4, -1 +/* 80120178 0011D0D8 90 1C 00 08 */ stw r0, 8(r28) +/* 8012017C 0011D0DC 48 22 0C C5 */ bl __dt__6CTokenFv +/* 80120180 0011D0E0 3C 60 80 3D */ lis r3, lbl_803CF360@ha +/* 80120184 0011D0E4 3B 80 00 00 */ li r28, 0 +/* 80120188 0011D0E8 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l +/* 8012018C 0011D0EC 38 60 03 40 */ li r3, 0x340 +/* 80120190 0011D0F0 38 84 00 C4 */ addi r4, r4, 0xc4 +/* 80120194 0011D0F4 38 A0 00 00 */ li r5, 0 +/* 80120198 0011D0F8 48 1F 56 D5 */ bl __nw__FUlPCcPCc +/* 8012019C 0011D0FC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 801201A0 0011D100 41 82 00 2C */ beq lbl_801201CC +/* 801201A4 0011D104 38 61 00 28 */ addi r3, r1, 0x28 +/* 801201A8 0011D108 38 9F 03 54 */ addi r4, r31, 0x354 +/* 801201AC 0011D10C 48 22 0C FD */ bl __ct__6CTokenFRC6CToken +/* 801201B0 0011D110 7F A3 EB 78 */ mr r3, r29 +/* 801201B4 0011D114 38 81 00 28 */ addi r4, r1, 0x28 +/* 801201B8 0011D118 3B 80 00 01 */ li r28, 1 +/* 801201BC 0011D11C 38 A0 00 00 */ li r5, 0 +/* 801201C0 0011D120 38 C0 00 01 */ li r6, 1 +/* 801201C4 0011D124 48 1F F2 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 801201C8 0011D128 7C 7D 1B 78 */ mr r29, r3 +lbl_801201CC: +/* 801201CC 0011D12C 7F 80 07 75 */ extsb. r0, r28 +/* 801201D0 0011D130 93 BF 03 90 */ stw r29, 0x390(r31) +/* 801201D4 0011D134 41 82 00 10 */ beq lbl_801201E4 +/* 801201D8 0011D138 38 61 00 28 */ addi r3, r1, 0x28 +/* 801201DC 0011D13C 38 80 00 00 */ li r4, 0 +/* 801201E0 0011D140 48 22 0C 61 */ bl __dt__6CTokenFv +lbl_801201E4: +/* 801201E4 0011D144 3C 60 80 3D */ lis r3, lbl_803CF360@ha +/* 801201E8 0011D148 3B 80 00 00 */ li r28, 0 +/* 801201EC 0011D14C 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l +/* 801201F0 0011D150 38 60 03 40 */ li r3, 0x340 +/* 801201F4 0011D154 38 84 00 C4 */ addi r4, r4, 0xc4 +/* 801201F8 0011D158 38 A0 00 00 */ li r5, 0 +/* 801201FC 0011D15C 48 1F 56 71 */ bl __nw__FUlPCcPCc +/* 80120200 0011D160 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80120204 0011D164 41 82 00 2C */ beq lbl_80120230 +/* 80120208 0011D168 38 61 00 20 */ addi r3, r1, 0x20 +/* 8012020C 0011D16C 38 9F 03 60 */ addi r4, r31, 0x360 +/* 80120210 0011D170 48 22 0C 99 */ bl __ct__6CTokenFRC6CToken +/* 80120214 0011D174 7F A3 EB 78 */ mr r3, r29 +/* 80120218 0011D178 38 81 00 20 */ addi r4, r1, 0x20 +/* 8012021C 0011D17C 3B 80 00 01 */ li r28, 1 +/* 80120220 0011D180 38 A0 00 00 */ li r5, 0 +/* 80120224 0011D184 38 C0 00 01 */ li r6, 1 +/* 80120228 0011D188 48 1F F1 B9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 8012022C 0011D18C 7C 7D 1B 78 */ mr r29, r3 +lbl_80120230: +/* 80120230 0011D190 7F 80 07 75 */ extsb. r0, r28 +/* 80120234 0011D194 93 BF 03 94 */ stw r29, 0x394(r31) +/* 80120238 0011D198 41 82 00 10 */ beq lbl_80120248 +/* 8012023C 0011D19C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80120240 0011D1A0 38 80 00 00 */ li r4, 0 +/* 80120244 0011D1A4 48 22 0B FD */ bl __dt__6CTokenFv +lbl_80120248: +/* 80120248 0011D1A8 3C 60 80 3D */ lis r3, lbl_803CF360@ha +/* 8012024C 0011D1AC 3B 80 00 00 */ li r28, 0 +/* 80120250 0011D1B0 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l +/* 80120254 0011D1B4 38 60 03 40 */ li r3, 0x340 +/* 80120258 0011D1B8 38 84 00 C4 */ addi r4, r4, 0xc4 +/* 8012025C 0011D1BC 38 A0 00 00 */ li r5, 0 +/* 80120260 0011D1C0 48 1F 56 0D */ bl __nw__FUlPCcPCc +/* 80120264 0011D1C4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80120268 0011D1C8 41 82 00 2C */ beq lbl_80120294 +/* 8012026C 0011D1CC 38 61 00 18 */ addi r3, r1, 0x18 +/* 80120270 0011D1D0 38 9F 03 6C */ addi r4, r31, 0x36c +/* 80120274 0011D1D4 48 22 0C 35 */ bl __ct__6CTokenFRC6CToken +/* 80120278 0011D1D8 7F A3 EB 78 */ mr r3, r29 +/* 8012027C 0011D1DC 38 81 00 18 */ addi r4, r1, 0x18 +/* 80120280 0011D1E0 3B 80 00 01 */ li r28, 1 +/* 80120284 0011D1E4 38 A0 00 00 */ li r5, 0 +/* 80120288 0011D1E8 38 C0 00 01 */ li r6, 1 +/* 8012028C 0011D1EC 48 1F F1 55 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 80120290 0011D1F0 7C 7D 1B 78 */ mr r29, r3 +lbl_80120294: +/* 80120294 0011D1F4 7F 80 07 75 */ extsb. r0, r28 +/* 80120298 0011D1F8 93 BF 03 98 */ stw r29, 0x398(r31) +/* 8012029C 0011D1FC 41 82 00 10 */ beq lbl_801202AC +/* 801202A0 0011D200 38 61 00 18 */ addi r3, r1, 0x18 +/* 801202A4 0011D204 38 80 00 00 */ li r4, 0 +/* 801202A8 0011D208 48 22 0B 99 */ bl __dt__6CTokenFv +lbl_801202AC: +/* 801202AC 0011D20C 3C 60 80 3D */ lis r3, lbl_803CF360@ha +/* 801202B0 0011D210 3B 80 00 00 */ li r28, 0 +/* 801202B4 0011D214 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l +/* 801202B8 0011D218 38 60 03 40 */ li r3, 0x340 +/* 801202BC 0011D21C 38 84 00 C4 */ addi r4, r4, 0xc4 +/* 801202C0 0011D220 38 A0 00 00 */ li r5, 0 +/* 801202C4 0011D224 48 1F 55 A9 */ bl __nw__FUlPCcPCc +/* 801202C8 0011D228 7C 7D 1B 79 */ or. r29, r3, r3 +/* 801202CC 0011D22C 41 82 00 2C */ beq lbl_801202F8 +/* 801202D0 0011D230 38 61 00 10 */ addi r3, r1, 0x10 +/* 801202D4 0011D234 38 9F 03 78 */ addi r4, r31, 0x378 +/* 801202D8 0011D238 48 22 0B D1 */ bl __ct__6CTokenFRC6CToken +/* 801202DC 0011D23C 7F A3 EB 78 */ mr r3, r29 +/* 801202E0 0011D240 38 81 00 10 */ addi r4, r1, 0x10 +/* 801202E4 0011D244 3B 80 00 01 */ li r28, 1 +/* 801202E8 0011D248 38 A0 00 00 */ li r5, 0 +/* 801202EC 0011D24C 38 C0 00 01 */ li r6, 1 +/* 801202F0 0011D250 48 1F F0 F1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 801202F4 0011D254 7C 7D 1B 78 */ mr r29, r3 +lbl_801202F8: +/* 801202F8 0011D258 7F 80 07 75 */ extsb. r0, r28 +/* 801202FC 0011D25C 93 BF 03 9C */ stw r29, 0x39c(r31) +/* 80120300 0011D260 41 82 00 10 */ beq lbl_80120310 +/* 80120304 0011D264 38 61 00 10 */ addi r3, r1, 0x10 +/* 80120308 0011D268 38 80 00 00 */ li r4, 0 +/* 8012030C 0011D26C 48 22 0B 35 */ bl __dt__6CTokenFv +lbl_80120310: +/* 80120310 0011D270 3C 60 80 3D */ lis r3, lbl_803CF360@ha +/* 80120314 0011D274 3B 80 00 00 */ li r28, 0 +/* 80120318 0011D278 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l +/* 8012031C 0011D27C 38 60 02 10 */ li r3, 0x210 +/* 80120320 0011D280 38 84 00 C4 */ addi r4, r4, 0xc4 +/* 80120324 0011D284 38 A0 00 00 */ li r5, 0 +/* 80120328 0011D288 48 1F 55 45 */ bl __nw__FUlPCcPCc +/* 8012032C 0011D28C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80120330 0011D290 41 82 00 28 */ beq lbl_80120358 +/* 80120334 0011D294 38 61 00 08 */ addi r3, r1, 8 +/* 80120338 0011D298 38 9F 03 84 */ addi r4, r31, 0x384 +/* 8012033C 0011D29C 48 22 0B 6D */ bl __ct__6CTokenFRC6CToken +/* 80120340 0011D2A0 7F A3 EB 78 */ mr r3, r29 +/* 80120344 0011D2A4 38 81 00 08 */ addi r4, r1, 8 +/* 80120348 0011D2A8 3B 80 00 01 */ li r28, 1 +/* 8012034C 0011D2AC 38 A0 00 00 */ li r5, 0 +/* 80120350 0011D2B0 48 20 EA 95 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 80120354 0011D2B4 7C 7D 1B 78 */ mr r29, r3 +lbl_80120358: +/* 80120358 0011D2B8 7F 80 07 75 */ extsb. r0, r28 +/* 8012035C 0011D2BC 93 BF 03 A0 */ stw r29, 0x3a0(r31) +/* 80120360 0011D2C0 41 82 00 10 */ beq lbl_80120370 +/* 80120364 0011D2C4 38 61 00 08 */ addi r3, r1, 8 +/* 80120368 0011D2C8 38 80 00 00 */ li r4, 0 +/* 8012036C 0011D2CC 48 22 0A D5 */ bl __dt__6CTokenFv +lbl_80120370: +/* 80120370 0011D2D0 3C 80 80 3D */ lis r4, lbl_803CF360@ha +/* 80120374 0011D2D4 38 60 00 4C */ li r3, 0x4c +/* 80120378 0011D2D8 38 84 F3 60 */ addi r4, r4, lbl_803CF360@l +/* 8012037C 0011D2DC 38 A0 00 00 */ li r5, 0 +/* 80120380 0011D2E0 38 84 00 C4 */ addi r4, r4, 0xc4 +/* 80120384 0011D2E4 48 1F 54 E9 */ bl __nw__FUlPCcPCc +/* 80120388 0011D2E8 7C 60 1B 79 */ or. r0, r3, r3 +/* 8012038C 0011D2EC 41 82 00 20 */ beq lbl_801203AC +/* 80120390 0011D2F0 C0 22 97 64 */ lfs f1, lbl_805AB484@sda21(r2) +/* 80120394 0011D2F4 7F C4 F3 78 */ mr r4, r30 +/* 80120398 0011D2F8 C0 42 97 A0 */ lfs f2, lbl_805AB4C0@sda21(r2) +/* 8012039C 0011D2FC 38 A0 00 14 */ li r5, 0x14 +/* 801203A0 0011D300 38 C0 00 02 */ li r6, 2 +/* 801203A4 0011D304 48 14 A3 95 */ bl __ct__20CRainSplashGeneratorFRC9CVector3fiiff +/* 801203A8 0011D308 7C 60 1B 78 */ mr r0, r3 +lbl_801203AC: +/* 801203AC 0011D30C 90 1F 03 A4 */ stw r0, 0x3a4(r31) +/* 801203B0 0011D310 38 C0 FF FF */ li r6, -1 +/* 801203B4 0011D314 38 00 20 00 */ li r0, 0x2000 +/* 801203B8 0011D318 38 A0 00 00 */ li r5, 0 +/* 801203BC 0011D31C 90 DF 03 A8 */ stw r6, 0x3a8(r31) +/* 801203C0 0011D320 38 60 00 01 */ li r3, 1 +/* 801203C4 0011D324 38 80 00 00 */ li r4, 0 +/* 801203C8 0011D328 90 1F 03 AC */ stw r0, 0x3ac(r31) +/* 801203CC 0011D32C B0 DF 03 B0 */ sth r6, 0x3b0(r31) +/* 801203D0 0011D330 88 1F 03 B2 */ lbz r0, 0x3b2(r31) +/* 801203D4 0011D334 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 801203D8 0011D338 98 1F 03 B2 */ stb r0, 0x3b2(r31) +/* 801203DC 0011D33C 88 1F 03 B2 */ lbz r0, 0x3b2(r31) +/* 801203E0 0011D340 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 801203E4 0011D344 98 1F 03 B2 */ stb r0, 0x3b2(r31) +/* 801203E8 0011D348 88 1F 03 B2 */ lbz r0, 0x3b2(r31) +/* 801203EC 0011D34C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 801203F0 0011D350 98 1F 03 B2 */ stb r0, 0x3b2(r31) +/* 801203F4 0011D354 88 1F 03 B2 */ lbz r0, 0x3b2(r31) +/* 801203F8 0011D358 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 801203FC 0011D35C 98 1F 03 B2 */ stb r0, 0x3b2(r31) +/* 80120400 0011D360 88 1F 03 B2 */ lbz r0, 0x3b2(r31) +/* 80120404 0011D364 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80120408 0011D368 98 1F 03 B2 */ stb r0, 0x3b2(r31) +/* 8012040C 0011D36C 88 1F 03 B2 */ lbz r0, 0x3b2(r31) +/* 80120410 0011D370 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 80120414 0011D374 98 1F 03 B2 */ stb r0, 0x3b2(r31) +/* 80120418 0011D378 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 8012041C 0011D37C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80120420 0011D380 98 1F 00 14 */ stb r0, 0x14(r31) +/* 80120424 0011D384 88 1F 00 B4 */ lbz r0, 0xb4(r31) +/* 80120428 0011D388 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8012042C 0011D38C 98 1F 00 B4 */ stb r0, 0xb4(r31) +/* 80120430 0011D390 88 1F 01 00 */ lbz r0, 0x100(r31) +/* 80120434 0011D394 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80120438 0011D398 98 1F 01 00 */ stb r0, 0x100(r31) +/* 8012043C 0011D39C 88 1F 01 4C */ lbz r0, 0x14c(r31) +/* 80120440 0011D3A0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 80120444 0011D3A4 98 1F 01 4C */ stb r0, 0x14c(r31) +/* 80120448 0011D3A8 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 8012044C 0011D3AC C0 03 02 E4 */ lfs f0, 0x2e4(r3) +/* 80120450 0011D3B0 D0 0D 8A 78 */ stfs f0, lbl_805A7638@sda21(r13) +/* 80120454 0011D3B4 C0 03 02 DC */ lfs f0, 0x2dc(r3) +/* 80120458 0011D3B8 D0 0D 8A 7C */ stfs f0, lbl_805A763C@sda21(r13) +/* 8012045C 0011D3BC C0 03 02 E0 */ lfs f0, 0x2e0(r3) +/* 80120460 0011D3C0 D0 0D 8A 80 */ stfs f0, lbl_805A7640@sda21(r13) +/* 80120464 0011D3C4 C0 03 02 D8 */ lfs f0, 0x2d8(r3) +/* 80120468 0011D3C8 D0 0D 8A 84 */ stfs f0, lbl_805A7644@sda21(r13) +/* 8012046C 0011D3CC 80 7F 03 9C */ lwz r3, 0x39c(r31) +/* 80120470 0011D3D0 81 83 00 00 */ lwz r12, 0(r3) +/* 80120474 0011D3D4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80120478 0011D3D8 7D 89 03 A6 */ mtctr r12 +/* 8012047C 0011D3DC 4E 80 04 21 */ bctrl +/* 80120480 0011D3E0 80 7F 03 90 */ lwz r3, 0x390(r31) +/* 80120484 0011D3E4 38 80 00 00 */ li r4, 0 +/* 80120488 0011D3E8 81 83 00 00 */ lwz r12, 0(r3) +/* 8012048C 0011D3EC 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 80120490 0011D3F0 7D 89 03 A6 */ mtctr r12 +/* 80120494 0011D3F4 4E 80 04 21 */ bctrl +/* 80120498 0011D3F8 83 BF 03 A0 */ lwz r29, 0x3a0(r31) +/* 8012049C 0011D3FC 3B 80 00 00 */ li r28, 0 +/* 801204A0 0011D400 3B C0 00 01 */ li r30, 1 +/* 801204A4 0011D404 48 00 00 30 */ b lbl_801204D4 +lbl_801204A8: +/* 801204A8 0011D408 80 7F 03 A0 */ lwz r3, 0x3a0(r31) +/* 801204AC 0011D40C C8 22 97 A8 */ lfd f1, lbl_805AB4C8@sda21(r2) +/* 801204B0 0011D410 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 801204B4 0011D414 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a +/* 801204B8 0011D418 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 801204BC 0011D41C 80 7F 03 A0 */ lwz r3, 0x3a0(r31) +/* 801204C0 0011D420 81 83 00 00 */ lwz r12, 0(r3) +/* 801204C4 0011D424 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 801204C8 0011D428 7D 89 03 A6 */ mtctr r12 +/* 801204CC 0011D42C 4E 80 04 21 */ bctrl +/* 801204D0 0011D430 3B 9C 00 01 */ addi r28, r28, 1 +lbl_801204D4: +/* 801204D4 0011D434 80 7D 01 60 */ lwz r3, 0x160(r29) +/* 801204D8 0011D438 38 03 FF FF */ addi r0, r3, -1 +/* 801204DC 0011D43C 7C 1C 00 00 */ cmpw r28, r0 +/* 801204E0 0011D440 41 80 FF C8 */ blt lbl_801204A8 +/* 801204E4 0011D444 7F E3 FB 78 */ mr r3, r31 +/* 801204E8 0011D448 4B FF D1 5D */ bl BuildSuitDependencyList__11CGrappleArmFv +/* 801204EC 0011D44C 7F E3 FB 78 */ mr r3, r31 +/* 801204F0 0011D450 4B FF DB 75 */ bl LoadAnimations__11CGrappleArmFv +/* 801204F4 0011D454 80 01 01 44 */ lwz r0, 0x144(r1) +/* 801204F8 0011D458 7F E3 FB 78 */ mr r3, r31 +/* 801204FC 0011D45C 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 80120500 0011D460 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 80120504 0011D464 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 80120508 0011D468 83 81 01 30 */ lwz r28, 0x130(r1) +/* 8012050C 0011D46C 7C 08 03 A6 */ mtlr r0 +/* 80120510 0011D470 38 21 01 40 */ addi r1, r1, 0x140 +/* 80120514 0011D474 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Player/CMorphBall.s b/asm/Kyoto_CWD/Player/CMorphBall.s new file mode 100644 index 00000000..12616202 --- /dev/null +++ b/asm/Kyoto_CWD/Player/CMorphBall.s @@ -0,0 +1,14297 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global DeleteBallShadow__10CMorphBallFv +DeleteBallShadow__10CMorphBallFv: +/* 800ED7EC 000EA74C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800ED7F0 000EA750 7C 08 02 A6 */ mflr r0 +/* 800ED7F4 000EA754 38 80 00 01 */ li r4, 1 +/* 800ED7F8 000EA758 90 01 00 14 */ stw r0, 0x14(r1) +/* 800ED7FC 000EA75C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800ED800 000EA760 7C 7F 1B 78 */ mr r31, r3 +/* 800ED804 000EA764 80 63 1E 50 */ lwz r3, 0x1e50(r3) +/* 800ED808 000EA768 48 1A 92 5D */ bl __dt__16CMorphBallShadowFv +/* 800ED80C 000EA76C 38 00 00 00 */ li r0, 0 +/* 800ED810 000EA770 90 1F 1E 50 */ stw r0, 0x1e50(r31) +/* 800ED814 000EA774 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800ED818 000EA778 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800ED81C 000EA77C 7C 08 03 A6 */ mtlr r0 +/* 800ED820 000EA780 38 21 00 10 */ addi r1, r1, 0x10 +/* 800ED824 000EA784 4E 80 00 20 */ blr + +.global CreateBallShadow__10CMorphBallFv +CreateBallShadow__10CMorphBallFv: +/* 800ED828 000EA788 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800ED82C 000EA78C 7C 08 02 A6 */ mflr r0 +/* 800ED830 000EA790 90 01 00 34 */ stw r0, 0x34(r1) +/* 800ED834 000EA794 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800ED838 000EA798 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800ED83C 000EA79C 7C 7E 1B 78 */ mr r30, r3 +/* 800ED840 000EA7A0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800ED844 000EA7A4 93 81 00 20 */ stw r28, 0x20(r1) +/* 800ED848 000EA7A8 80 03 1E 50 */ lwz r0, 0x1e50(r3) +/* 800ED84C 000EA7AC 28 00 00 00 */ cmplwi r0, 0 +/* 800ED850 000EA7B0 40 82 00 B4 */ bne lbl_800ED904 +/* 800ED854 000EA7B4 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800ED858 000EA7B8 3B A0 00 00 */ li r29, 0 +/* 800ED85C 000EA7BC 38 63 EB F4 */ addi r3, r3, lbl_803CEBF4@l +/* 800ED860 000EA7C0 3B 80 00 00 */ li r28, 0 +/* 800ED864 000EA7C4 38 83 00 DC */ addi r4, r3, 0xdc +/* 800ED868 000EA7C8 38 60 00 D4 */ li r3, 0xd4 +/* 800ED86C 000EA7CC 38 A0 00 00 */ li r5, 0 +/* 800ED870 000EA7D0 48 22 7F FD */ bl __nw__FUlPCcPCc +/* 800ED874 000EA7D4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800ED878 000EA7D8 41 82 00 54 */ beq lbl_800ED8CC +/* 800ED87C 000EA7DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800ED880 000EA7E0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800ED884 000EA7E4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800ED888 000EA7E8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800ED88C 000EA7EC 81 84 00 00 */ lwz r12, 0(r4) +/* 800ED890 000EA7F0 38 A5 00 E3 */ addi r5, r5, 0xe3 +/* 800ED894 000EA7F4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800ED898 000EA7F8 7D 89 03 A6 */ mtctr r12 +/* 800ED89C 000EA7FC 4E 80 04 21 */ bctrl +/* 800ED8A0 000EA800 38 61 00 08 */ addi r3, r1, 8 +/* 800ED8A4 000EA804 38 81 00 10 */ addi r4, r1, 0x10 +/* 800ED8A8 000EA808 3B A0 00 01 */ li r29, 1 +/* 800ED8AC 000EA80C 48 25 35 FD */ bl __ct__6CTokenFRC6CToken +/* 800ED8B0 000EA810 7F E3 FB 78 */ mr r3, r31 +/* 800ED8B4 000EA814 38 C1 00 08 */ addi r6, r1, 8 +/* 800ED8B8 000EA818 3B 80 00 01 */ li r28, 1 +/* 800ED8BC 000EA81C 38 80 00 40 */ li r4, 0x40 +/* 800ED8C0 000EA820 38 A0 00 40 */ li r5, 0x40 +/* 800ED8C4 000EA824 48 1A 92 75 */ bl "__ct__16CMorphBallShadowFiiRC17TToken<8CTexture>" +/* 800ED8C8 000EA828 7C 7F 1B 78 */ mr r31, r3 +lbl_800ED8CC: +/* 800ED8CC 000EA82C 80 7E 1E 50 */ lwz r3, 0x1e50(r30) +/* 800ED8D0 000EA830 38 80 00 01 */ li r4, 1 +/* 800ED8D4 000EA834 48 1A 91 91 */ bl __dt__16CMorphBallShadowFv +/* 800ED8D8 000EA838 7F 80 07 75 */ extsb. r0, r28 +/* 800ED8DC 000EA83C 93 FE 1E 50 */ stw r31, 0x1e50(r30) +/* 800ED8E0 000EA840 41 82 00 10 */ beq lbl_800ED8F0 +/* 800ED8E4 000EA844 38 61 00 08 */ addi r3, r1, 8 +/* 800ED8E8 000EA848 38 80 00 00 */ li r4, 0 +/* 800ED8EC 000EA84C 48 25 35 55 */ bl __dt__6CTokenFv +lbl_800ED8F0: +/* 800ED8F0 000EA850 7F A0 07 75 */ extsb. r0, r29 +/* 800ED8F4 000EA854 41 82 00 10 */ beq lbl_800ED904 +/* 800ED8F8 000EA858 38 61 00 10 */ addi r3, r1, 0x10 +/* 800ED8FC 000EA85C 38 80 FF FF */ li r4, -1 +/* 800ED900 000EA860 48 25 35 41 */ bl __dt__6CTokenFv +lbl_800ED904: +/* 800ED904 000EA864 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800ED908 000EA868 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800ED90C 000EA86C 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800ED910 000EA870 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800ED914 000EA874 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800ED918 000EA878 7C 08 03 A6 */ mtlr r0 +/* 800ED91C 000EA87C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800ED920 000EA880 4E 80 00 20 */ blr + +.global RenderToShadowTex__10CMorphBallFR13CStateManager +RenderToShadowTex__10CMorphBallFR13CStateManager: +/* 800ED924 000EA884 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800ED928 000EA888 7C 08 02 A6 */ mflr r0 +/* 800ED92C 000EA88C 90 01 00 64 */ stw r0, 0x64(r1) +/* 800ED930 000EA890 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 800ED934 000EA894 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 800ED938 000EA898 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800ED93C 000EA89C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800ED940 000EA8A0 7C 7E 1B 78 */ mr r30, r3 +/* 800ED944 000EA8A4 7C 9F 23 78 */ mr r31, r4 +/* 800ED948 000EA8A8 80 03 1E 50 */ lwz r0, 0x1e50(r3) +/* 800ED94C 000EA8AC 28 00 00 00 */ cmplwi r0, 0 +/* 800ED950 000EA8B0 41 82 00 AC */ beq lbl_800ED9FC +/* 800ED954 000EA8B4 C3 FE 00 0C */ lfs f31, 0xc(r30) +/* 800ED958 000EA8B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800ED95C 000EA8BC 80 9E 00 00 */ lwz r4, 0(r30) +/* 800ED960 000EA8C0 48 02 CC CD */ bl GetPrimitiveOffset__13CPhysicsActorCFv +/* 800ED964 000EA8C4 80 DE 00 00 */ lwz r6, 0(r30) +/* 800ED968 000EA8C8 38 61 00 2C */ addi r3, r1, 0x2c +/* 800ED96C 000EA8CC C0 41 00 20 */ lfs f2, 0x20(r1) +/* 800ED970 000EA8D0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800ED974 000EA8D4 C0 66 00 40 */ lfs f3, 0x40(r6) +/* 800ED978 000EA8D8 38 A1 00 08 */ addi r5, r1, 8 +/* 800ED97C 000EA8DC C0 26 00 50 */ lfs f1, 0x50(r6) +/* 800ED980 000EA8E0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 800ED984 000EA8E4 EC 43 10 2A */ fadds f2, f3, f2 +/* 800ED988 000EA8E8 C0 A2 91 50 */ lfs f5, lbl_805AAE70@sda21(r2) +/* 800ED98C 000EA8EC EC 81 00 2A */ fadds f4, f1, f0 +/* 800ED990 000EA8F0 C0 26 00 60 */ lfs f1, 0x60(r6) +/* 800ED994 000EA8F4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800ED998 000EA8F8 EC E2 28 2A */ fadds f7, f2, f5 +/* 800ED99C 000EA8FC C0 42 91 54 */ lfs f2, lbl_805AAE74@sda21(r2) +/* 800ED9A0 000EA900 EC 61 00 2A */ fadds f3, f1, f0 +/* 800ED9A4 000EA904 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 800ED9A8 000EA908 EC C4 28 2A */ fadds f6, f4, f5 +/* 800ED9AC 000EA90C C0 02 91 58 */ lfs f0, lbl_805AAE78@sda21(r2) +/* 800ED9B0 000EA910 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800ED9B4 000EA914 EC A3 F8 2A */ fadds f5, f3, f31 +/* 800ED9B8 000EA918 EC 81 38 2A */ fadds f4, f1, f7 +/* 800ED9BC 000EA91C EC 61 30 2A */ fadds f3, f1, f6 +/* 800ED9C0 000EA920 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 800ED9C4 000EA924 EC 47 08 28 */ fsubs f2, f7, f1 +/* 800ED9C8 000EA928 EC 26 08 28 */ fsubs f1, f6, f1 +/* 800ED9CC 000EA92C D0 81 00 08 */ stfs f4, 8(r1) +/* 800ED9D0 000EA930 EC 05 00 28 */ fsubs f0, f5, f0 +/* 800ED9D4 000EA934 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 800ED9D8 000EA938 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800ED9DC 000EA93C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800ED9E0 000EA940 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800ED9E4 000EA944 48 24 AB 25 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800ED9E8 000EA948 80 7E 1E 50 */ lwz r3, 0x1e50(r30) +/* 800ED9EC 000EA94C 7F E5 FB 78 */ mr r5, r31 +/* 800ED9F0 000EA950 80 DE 00 00 */ lwz r6, 0(r30) +/* 800ED9F4 000EA954 38 81 00 2C */ addi r4, r1, 0x2c +/* 800ED9F8 000EA958 48 1A 88 69 */ bl RenderIdBuffer__16CMorphBallShadowFRC6CAABoxR13CStateManagerR7CPlayer +lbl_800ED9FC: +/* 800ED9FC 000EA95C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 800EDA00 000EA960 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800EDA04 000EA964 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 800EDA08 000EA968 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800EDA0C 000EA96C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800EDA10 000EA970 7C 08 03 A6 */ mtlr r0 +/* 800EDA14 000EA974 38 21 00 60 */ addi r1, r1, 0x60 +/* 800EDA18 000EA978 4E 80 00 20 */ blr + +.global DrawBallShadow__10CMorphBallFR13CStateManager +DrawBallShadow__10CMorphBallFR13CStateManager: +/* 800EDA1C 000EA97C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800EDA20 000EA980 7C 08 02 A6 */ mflr r0 +/* 800EDA24 000EA984 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EDA28 000EA988 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800EDA2C 000EA98C 7C 9F 23 78 */ mr r31, r4 +/* 800EDA30 000EA990 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800EDA34 000EA994 7C 7E 1B 78 */ mr r30, r3 +/* 800EDA38 000EA998 80 03 1E 50 */ lwz r0, 0x1e50(r3) +/* 800EDA3C 000EA99C 28 00 00 00 */ cmplwi r0, 0 +/* 800EDA40 000EA9A0 41 82 00 C4 */ beq lbl_800EDB04 +/* 800EDA44 000EA9A4 80 7E 00 00 */ lwz r3, 0(r30) +/* 800EDA48 000EA9A8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800EDA4C 000EA9AC 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 800EDA50 000EA9B0 2C 00 00 02 */ cmpwi r0, 2 +/* 800EDA54 000EA9B4 41 82 00 6C */ beq lbl_800EDAC0 +/* 800EDA58 000EA9B8 40 80 00 14 */ bge lbl_800EDA6C +/* 800EDA5C 000EA9BC 2C 00 00 00 */ cmpwi r0, 0 +/* 800EDA60 000EA9C0 41 82 00 A4 */ beq lbl_800EDB04 +/* 800EDA64 000EA9C4 40 80 00 94 */ bge lbl_800EDAF8 +/* 800EDA68 000EA9C8 48 00 00 90 */ b lbl_800EDAF8 +lbl_800EDA6C: +/* 800EDA6C 000EA9CC 2C 00 00 04 */ cmpwi r0, 4 +/* 800EDA70 000EA9D0 40 80 00 88 */ bge lbl_800EDAF8 +/* 800EDA74 000EA9D4 48 00 00 0C */ b lbl_800EDA80 +/* 800EDA78 000EA9D8 48 00 00 80 */ b lbl_800EDAF8 +/* 800EDA7C 000EA9DC 48 00 00 88 */ b lbl_800EDB04 +lbl_800EDA80: +/* 800EDA80 000EA9E0 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800EDA84 000EA9E4 C0 43 05 78 */ lfs f2, 0x578(r3) +/* 800EDA88 000EA9E8 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 800EDA8C 000EA9EC 40 82 00 08 */ bne lbl_800EDA94 +/* 800EDA90 000EA9F0 48 00 00 24 */ b lbl_800EDAB4 +lbl_800EDA94: +/* 800EDA94 000EA9F4 C0 03 05 74 */ lfs f0, 0x574(r3) +/* 800EDA98 000EA9F8 38 81 00 0C */ addi r4, r1, 0xc +/* 800EDA9C 000EA9FC 38 6D 88 28 */ addi r3, r13, lbl_805A73E8@sda21 +/* 800EDAA0 000EAA00 38 AD 88 2C */ addi r5, r13, lbl_805A73EC@sda21 +/* 800EDAA4 000EAA04 EC 00 10 24 */ fdivs f0, f0, f2 +/* 800EDAA8 000EAA08 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800EDAAC 000EAA0C 4B F1 E8 09 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800EDAB0 000EAA10 C0 23 00 00 */ lfs f1, 0(r3) +lbl_800EDAB4: +/* 800EDAB4 000EAA14 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800EDAB8 000EAA18 EC 20 08 28 */ fsubs f1, f0, f1 +/* 800EDABC 000EAA1C 48 00 00 3C */ b lbl_800EDAF8 +lbl_800EDAC0: +/* 800EDAC0 000EAA20 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800EDAC4 000EAA24 C0 23 05 78 */ lfs f1, 0x578(r3) +/* 800EDAC8 000EAA28 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800EDACC 000EAA2C 40 82 00 08 */ bne lbl_800EDAD4 +/* 800EDAD0 000EAA30 48 00 00 24 */ b lbl_800EDAF4 +lbl_800EDAD4: +/* 800EDAD4 000EAA34 C0 03 05 74 */ lfs f0, 0x574(r3) +/* 800EDAD8 000EAA38 38 81 00 08 */ addi r4, r1, 8 +/* 800EDADC 000EAA3C 38 6D 88 28 */ addi r3, r13, lbl_805A73E8@sda21 +/* 800EDAE0 000EAA40 38 AD 88 2C */ addi r5, r13, lbl_805A73EC@sda21 +/* 800EDAE4 000EAA44 EC 00 08 24 */ fdivs f0, f0, f1 +/* 800EDAE8 000EAA48 D0 01 00 08 */ stfs f0, 8(r1) +/* 800EDAEC 000EAA4C 4B F1 E7 C9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800EDAF0 000EAA50 C0 03 00 00 */ lfs f0, 0(r3) +lbl_800EDAF4: +/* 800EDAF4 000EAA54 FC 20 00 90 */ fmr f1, f0 +lbl_800EDAF8: +/* 800EDAF8 000EAA58 80 7E 1E 50 */ lwz r3, 0x1e50(r30) +/* 800EDAFC 000EAA5C 7F E4 FB 78 */ mr r4, r31 +/* 800EDB00 000EAA60 48 1A 81 B1 */ bl Render__16CMorphBallShadowFR13CStateManagerf +lbl_800EDB04: +/* 800EDB04 000EAA64 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EDB08 000EAA68 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800EDB0C 000EAA6C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800EDB10 000EAA70 7C 08 03 A6 */ mtlr r0 +/* 800EDB14 000EAA74 38 21 00 20 */ addi r1, r1, 0x20 +/* 800EDB18 000EAA78 4E 80 00 20 */ blr + +.global InitializeWakeEffects__10CMorphBallFv +InitializeWakeEffects__10CMorphBallFv: +/* 800EDB1C 000EAA7C 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 800EDB20 000EAA80 7C 08 02 A6 */ mflr r0 +/* 800EDB24 000EAA84 3C 80 80 57 */ lis r4, lbl_8056D4F4@ha +/* 800EDB28 000EAA88 90 01 01 54 */ stw r0, 0x154(r1) +/* 800EDB2C 000EAA8C BE A1 01 24 */ stmw r21, 0x124(r1) +/* 800EDB30 000EAA90 7C 7F 1B 78 */ mr r31, r3 +/* 800EDB34 000EAA94 38 64 D4 F4 */ addi r3, r4, lbl_8056D4F4@l +/* 800EDB38 000EAA98 80 83 00 00 */ lwz r4, 0(r3) +/* 800EDB3C 000EAA9C 2C 04 00 20 */ cmpwi r4, 0x20 +/* 800EDB40 000EAAA0 40 80 00 44 */ bge lbl_800EDB84 +/* 800EDB44 000EAAA4 54 80 10 3A */ slwi r0, r4, 2 +/* 800EDB48 000EAAA8 20 84 00 20 */ subfic r4, r4, 0x20 +/* 800EDB4C 000EAAAC 7C 63 02 14 */ add r3, r3, r0 +/* 800EDB50 000EAAB0 80 0D 88 E8 */ lwz r0, lbl_805A74A8@sda21(r13) +/* 800EDB54 000EAAB4 7C 89 03 A6 */ mtctr r4 +/* 800EDB58 000EAAB8 2C 04 00 00 */ cmpwi r4, 0 +/* 800EDB5C 000EAABC 38 63 00 04 */ addi r3, r3, 4 +/* 800EDB60 000EAAC0 40 81 00 18 */ ble lbl_800EDB78 +lbl_800EDB64: +/* 800EDB64 000EAAC4 28 03 00 00 */ cmplwi r3, 0 +/* 800EDB68 000EAAC8 41 82 00 08 */ beq lbl_800EDB70 +/* 800EDB6C 000EAACC 90 03 00 00 */ stw r0, 0(r3) +lbl_800EDB70: +/* 800EDB70 000EAAD0 38 63 00 04 */ addi r3, r3, 4 +/* 800EDB74 000EAAD4 42 00 FF F0 */ bdnz lbl_800EDB64 +lbl_800EDB78: +/* 800EDB78 000EAAD8 3C 60 80 57 */ lis r3, lbl_8056D4F4@ha +/* 800EDB7C 000EAADC 38 00 00 20 */ li r0, 0x20 +/* 800EDB80 000EAAE0 90 03 D4 F4 */ stw r0, lbl_8056D4F4@l(r3) +lbl_800EDB84: +/* 800EDB84 000EAAE4 3C 80 80 57 */ lis r4, lbl_8056D4F4@ha +/* 800EDB88 000EAAE8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDB8C 000EAAEC 39 44 D4 F4 */ addi r10, r4, lbl_8056D4F4@l +/* 800EDB90 000EAAF0 38 80 00 00 */ li r4, 0 +/* 800EDB94 000EAAF4 39 20 00 02 */ li r9, 2 +/* 800EDB98 000EAAF8 39 00 00 03 */ li r8, 3 +/* 800EDB9C 000EAAFC 38 E0 00 04 */ li r7, 4 +/* 800EDBA0 000EAB00 38 C0 00 05 */ li r6, 5 +/* 800EDBA4 000EAB04 38 00 00 06 */ li r0, 6 +/* 800EDBA8 000EAB08 38 63 EB F4 */ addi r3, r3, lbl_803CEBF4@l +/* 800EDBAC 000EAB0C 90 8A 00 20 */ stw r4, 0x20(r10) +/* 800EDBB0 000EAB10 38 83 00 DC */ addi r4, r3, 0xdc +/* 800EDBB4 000EAB14 38 60 01 2C */ li r3, 0x12c +/* 800EDBB8 000EAB18 38 A0 00 00 */ li r5, 0 +/* 800EDBBC 000EAB1C 91 2A 00 24 */ stw r9, 0x24(r10) +/* 800EDBC0 000EAB20 91 0A 00 28 */ stw r8, 0x28(r10) +/* 800EDBC4 000EAB24 90 EA 00 30 */ stw r7, 0x30(r10) +/* 800EDBC8 000EAB28 90 CA 00 34 */ stw r6, 0x34(r10) +/* 800EDBCC 000EAB2C 90 0A 00 48 */ stw r0, 0x48(r10) +/* 800EDBD0 000EAB30 48 22 7C 9D */ bl __nw__FUlPCcPCc +/* 800EDBD4 000EAB34 7C 64 1B 79 */ or. r4, r3, r3 +/* 800EDBD8 000EAB38 41 82 00 0C */ beq lbl_800EDBE4 +/* 800EDBDC 000EAB3C 48 27 94 91 */ bl __ct__15CGenDescriptionFv +/* 800EDBE0 000EAB40 7C 64 1B 78 */ mr r4, r3 +lbl_800EDBE4: +/* 800EDBE4 000EAB44 3A A1 01 18 */ addi r21, r1, 0x118 +/* 800EDBE8 000EAB48 38 61 00 08 */ addi r3, r1, 8 +/* 800EDBEC 000EAB4C 4B FA 1D 55 */ bl "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FP15CGenDescription" +/* 800EDBF0 000EAB50 38 00 00 00 */ li r0, 0 +/* 800EDBF4 000EAB54 80 81 00 0C */ lwz r4, 0xc(r1) +/* 800EDBF8 000EAB58 98 01 00 08 */ stb r0, 8(r1) +/* 800EDBFC 000EAB5C 7E A3 AB 78 */ mr r3, r21 +/* 800EDC00 000EAB60 48 25 33 05 */ bl __ct__6CTokenFP4IObj +/* 800EDC04 000EAB64 88 01 00 08 */ lbz r0, 8(r1) +/* 800EDC08 000EAB68 28 00 00 00 */ cmplwi r0, 0 +/* 800EDC0C 000EAB6C 41 82 00 24 */ beq lbl_800EDC30 +/* 800EDC10 000EAB70 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800EDC14 000EAB74 28 03 00 00 */ cmplwi r3, 0 +/* 800EDC18 000EAB78 41 82 00 18 */ beq lbl_800EDC30 +/* 800EDC1C 000EAB7C 81 83 00 00 */ lwz r12, 0(r3) +/* 800EDC20 000EAB80 38 80 00 01 */ li r4, 1 +/* 800EDC24 000EAB84 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EDC28 000EAB88 7D 89 03 A6 */ mtctr r12 +/* 800EDC2C 000EAB8C 4E 80 04 21 */ bctrl +lbl_800EDC30: +/* 800EDC30 000EAB90 80 7F 1B 84 */ lwz r3, 0x1b84(r31) +/* 800EDC34 000EAB94 2C 03 00 08 */ cmpwi r3, 8 +/* 800EDC38 000EAB98 40 80 00 48 */ bge lbl_800EDC80 +/* 800EDC3C 000EAB9C 54 60 18 38 */ slwi r0, r3, 3 +/* 800EDC40 000EABA0 23 03 00 08 */ subfic r24, r3, 8 +/* 800EDC44 000EABA4 7E FF 02 14 */ add r23, r31, r0 +/* 800EDC48 000EABA8 3A C0 00 00 */ li r22, 0 +/* 800EDC4C 000EABAC 3A F7 1B 88 */ addi r23, r23, 0x1b88 +/* 800EDC50 000EABB0 48 00 00 20 */ b lbl_800EDC70 +lbl_800EDC54: +/* 800EDC54 000EABB4 28 17 00 00 */ cmplwi r23, 0 +/* 800EDC58 000EABB8 41 82 00 10 */ beq lbl_800EDC68 +/* 800EDC5C 000EABBC 7E E3 BB 78 */ mr r3, r23 +/* 800EDC60 000EABC0 38 81 01 18 */ addi r4, r1, 0x118 +/* 800EDC64 000EABC4 48 25 32 45 */ bl __ct__6CTokenFRC6CToken +lbl_800EDC68: +/* 800EDC68 000EABC8 3A D6 00 01 */ addi r22, r22, 1 +/* 800EDC6C 000EABCC 3A F7 00 08 */ addi r23, r23, 8 +lbl_800EDC70: +/* 800EDC70 000EABD0 7C 16 C0 00 */ cmpw r22, r24 +/* 800EDC74 000EABD4 41 80 FF E0 */ blt lbl_800EDC54 +/* 800EDC78 000EABD8 38 00 00 08 */ li r0, 8 +/* 800EDC7C 000EABDC 90 1F 1B 84 */ stw r0, 0x1b84(r31) +lbl_800EDC80: +/* 800EDC80 000EABE0 38 61 01 18 */ addi r3, r1, 0x118 +/* 800EDC84 000EABE4 38 80 00 00 */ li r4, 0 +/* 800EDC88 000EABE8 48 25 31 B9 */ bl __dt__6CTokenFv +/* 800EDC8C 000EABEC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EDC90 000EABF0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDC94 000EABF4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800EDC98 000EABF8 38 61 01 10 */ addi r3, r1, 0x110 +/* 800EDC9C 000EABFC 81 84 00 00 */ lwz r12, 0(r4) +/* 800EDCA0 000EAC00 38 A5 00 F1 */ addi r5, r5, 0xf1 +/* 800EDCA4 000EAC04 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EDCA8 000EAC08 7D 89 03 A6 */ mtctr r12 +/* 800EDCAC 000EAC0C 4E 80 04 21 */ bctrl +/* 800EDCB0 000EAC10 38 61 01 08 */ addi r3, r1, 0x108 +/* 800EDCB4 000EAC14 38 81 01 10 */ addi r4, r1, 0x110 +/* 800EDCB8 000EAC18 48 25 31 F1 */ bl __ct__6CTokenFRC6CToken +/* 800EDCBC 000EAC1C 3A FF 1B 88 */ addi r23, r31, 0x1b88 +/* 800EDCC0 000EAC20 38 81 01 08 */ addi r4, r1, 0x108 +/* 800EDCC4 000EAC24 3B 17 00 10 */ addi r24, r23, 0x10 +/* 800EDCC8 000EAC28 7F 03 C3 78 */ mr r3, r24 +/* 800EDCCC 000EAC2C 48 25 2F F9 */ bl __as__6CTokenFRC6CToken +/* 800EDCD0 000EAC30 38 61 01 08 */ addi r3, r1, 0x108 +/* 800EDCD4 000EAC34 38 80 00 00 */ li r4, 0 +/* 800EDCD8 000EAC38 48 25 31 69 */ bl __dt__6CTokenFv +/* 800EDCDC 000EAC3C 38 61 01 10 */ addi r3, r1, 0x110 +/* 800EDCE0 000EAC40 38 80 FF FF */ li r4, -1 +/* 800EDCE4 000EAC44 48 25 31 5D */ bl __dt__6CTokenFv +/* 800EDCE8 000EAC48 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EDCEC 000EAC4C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDCF0 000EAC50 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800EDCF4 000EAC54 38 61 01 00 */ addi r3, r1, 0x100 +/* 800EDCF8 000EAC58 81 84 00 00 */ lwz r12, 0(r4) +/* 800EDCFC 000EAC5C 38 A5 00 FA */ addi r5, r5, 0xfa +/* 800EDD00 000EAC60 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EDD04 000EAC64 7D 89 03 A6 */ mtctr r12 +/* 800EDD08 000EAC68 4E 80 04 21 */ bctrl +/* 800EDD0C 000EAC6C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800EDD10 000EAC70 38 81 01 00 */ addi r4, r1, 0x100 +/* 800EDD14 000EAC74 48 25 31 95 */ bl __ct__6CTokenFRC6CToken +/* 800EDD18 000EAC78 7E E3 BB 78 */ mr r3, r23 +/* 800EDD1C 000EAC7C 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800EDD20 000EAC80 48 25 2F A5 */ bl __as__6CTokenFRC6CToken +/* 800EDD24 000EAC84 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800EDD28 000EAC88 38 80 00 00 */ li r4, 0 +/* 800EDD2C 000EAC8C 48 25 31 15 */ bl __dt__6CTokenFv +/* 800EDD30 000EAC90 38 61 01 00 */ addi r3, r1, 0x100 +/* 800EDD34 000EAC94 38 80 FF FF */ li r4, -1 +/* 800EDD38 000EAC98 48 25 31 09 */ bl __dt__6CTokenFv +/* 800EDD3C 000EAC9C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EDD40 000EACA0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDD44 000EACA4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800EDD48 000EACA8 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800EDD4C 000EACAC 81 84 00 00 */ lwz r12, 0(r4) +/* 800EDD50 000EACB0 38 A5 01 05 */ addi r5, r5, 0x105 +/* 800EDD54 000EACB4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EDD58 000EACB8 7D 89 03 A6 */ mtctr r12 +/* 800EDD5C 000EACBC 4E 80 04 21 */ bctrl +/* 800EDD60 000EACC0 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800EDD64 000EACC4 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 800EDD68 000EACC8 48 25 31 41 */ bl __ct__6CTokenFRC6CToken +/* 800EDD6C 000EACCC 3B 37 00 08 */ addi r25, r23, 8 +/* 800EDD70 000EACD0 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 800EDD74 000EACD4 7F 23 CB 78 */ mr r3, r25 +/* 800EDD78 000EACD8 48 25 2F 4D */ bl __as__6CTokenFRC6CToken +/* 800EDD7C 000EACDC 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800EDD80 000EACE0 38 80 00 00 */ li r4, 0 +/* 800EDD84 000EACE4 48 25 30 BD */ bl __dt__6CTokenFv +/* 800EDD88 000EACE8 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800EDD8C 000EACEC 38 80 FF FF */ li r4, -1 +/* 800EDD90 000EACF0 48 25 30 B1 */ bl __dt__6CTokenFv +/* 800EDD94 000EACF4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EDD98 000EACF8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDD9C 000EACFC 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800EDDA0 000EAD00 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 800EDDA4 000EAD04 81 84 00 00 */ lwz r12, 0(r4) +/* 800EDDA8 000EAD08 38 A5 01 16 */ addi r5, r5, 0x116 +/* 800EDDAC 000EAD0C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EDDB0 000EAD10 7D 89 03 A6 */ mtctr r12 +/* 800EDDB4 000EAD14 4E 80 04 21 */ bctrl +/* 800EDDB8 000EAD18 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800EDDBC 000EAD1C 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 800EDDC0 000EAD20 48 25 30 E9 */ bl __ct__6CTokenFRC6CToken +/* 800EDDC4 000EAD24 3B B7 00 18 */ addi r29, r23, 0x18 +/* 800EDDC8 000EAD28 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 800EDDCC 000EAD2C 7F A3 EB 78 */ mr r3, r29 +/* 800EDDD0 000EAD30 48 25 2E F5 */ bl __as__6CTokenFRC6CToken +/* 800EDDD4 000EAD34 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800EDDD8 000EAD38 38 80 00 00 */ li r4, 0 +/* 800EDDDC 000EAD3C 48 25 30 65 */ bl __dt__6CTokenFv +/* 800EDDE0 000EAD40 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 800EDDE4 000EAD44 38 80 FF FF */ li r4, -1 +/* 800EDDE8 000EAD48 48 25 30 59 */ bl __dt__6CTokenFv +/* 800EDDEC 000EAD4C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EDDF0 000EAD50 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDDF4 000EAD54 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800EDDF8 000EAD58 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800EDDFC 000EAD5C 81 84 00 00 */ lwz r12, 0(r4) +/* 800EDE00 000EAD60 38 A5 01 1F */ addi r5, r5, 0x11f +/* 800EDE04 000EAD64 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EDE08 000EAD68 7D 89 03 A6 */ mtctr r12 +/* 800EDE0C 000EAD6C 4E 80 04 21 */ bctrl +/* 800EDE10 000EAD70 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800EDE14 000EAD74 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 800EDE18 000EAD78 48 25 30 91 */ bl __ct__6CTokenFRC6CToken +/* 800EDE1C 000EAD7C 3B D7 00 20 */ addi r30, r23, 0x20 +/* 800EDE20 000EAD80 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 800EDE24 000EAD84 7F C3 F3 78 */ mr r3, r30 +/* 800EDE28 000EAD88 48 25 2E 9D */ bl __as__6CTokenFRC6CToken +/* 800EDE2C 000EAD8C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800EDE30 000EAD90 38 80 00 00 */ li r4, 0 +/* 800EDE34 000EAD94 48 25 30 0D */ bl __dt__6CTokenFv +/* 800EDE38 000EAD98 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800EDE3C 000EAD9C 38 80 FF FF */ li r4, -1 +/* 800EDE40 000EADA0 48 25 30 01 */ bl __dt__6CTokenFv +/* 800EDE44 000EADA4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EDE48 000EADA8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDE4C 000EADAC 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800EDE50 000EADB0 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800EDE54 000EADB4 81 84 00 00 */ lwz r12, 0(r4) +/* 800EDE58 000EADB8 38 A5 01 28 */ addi r5, r5, 0x128 +/* 800EDE5C 000EADBC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EDE60 000EADC0 7D 89 03 A6 */ mtctr r12 +/* 800EDE64 000EADC4 4E 80 04 21 */ bctrl +/* 800EDE68 000EADC8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800EDE6C 000EADCC 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 800EDE70 000EADD0 48 25 30 39 */ bl __ct__6CTokenFRC6CToken +/* 800EDE74 000EADD4 3B 97 00 28 */ addi r28, r23, 0x28 +/* 800EDE78 000EADD8 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800EDE7C 000EADDC 7F 83 E3 78 */ mr r3, r28 +/* 800EDE80 000EADE0 48 25 2E 45 */ bl __as__6CTokenFRC6CToken +/* 800EDE84 000EADE4 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800EDE88 000EADE8 38 80 00 00 */ li r4, 0 +/* 800EDE8C 000EADEC 48 25 2F B5 */ bl __dt__6CTokenFv +/* 800EDE90 000EADF0 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800EDE94 000EADF4 38 80 FF FF */ li r4, -1 +/* 800EDE98 000EADF8 48 25 2F A9 */ bl __dt__6CTokenFv +/* 800EDE9C 000EADFC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EDEA0 000EAE00 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDEA4 000EAE04 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800EDEA8 000EAE08 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800EDEAC 000EAE0C 81 84 00 00 */ lwz r12, 0(r4) +/* 800EDEB0 000EAE10 38 A5 01 30 */ addi r5, r5, 0x130 +/* 800EDEB4 000EAE14 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EDEB8 000EAE18 7D 89 03 A6 */ mtctr r12 +/* 800EDEBC 000EAE1C 4E 80 04 21 */ bctrl +/* 800EDEC0 000EAE20 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800EDEC4 000EAE24 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800EDEC8 000EAE28 48 25 2F E1 */ bl __ct__6CTokenFRC6CToken +/* 800EDECC 000EAE2C 3B 77 00 30 */ addi r27, r23, 0x30 +/* 800EDED0 000EAE30 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800EDED4 000EAE34 7F 63 DB 78 */ mr r3, r27 +/* 800EDED8 000EAE38 48 25 2D ED */ bl __as__6CTokenFRC6CToken +/* 800EDEDC 000EAE3C 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800EDEE0 000EAE40 38 80 00 00 */ li r4, 0 +/* 800EDEE4 000EAE44 48 25 2F 5D */ bl __dt__6CTokenFv +/* 800EDEE8 000EAE48 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800EDEEC 000EAE4C 38 80 FF FF */ li r4, -1 +/* 800EDEF0 000EAE50 48 25 2F 51 */ bl __dt__6CTokenFv +/* 800EDEF4 000EAE54 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EDEF8 000EAE58 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDEFC 000EAE5C 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800EDF00 000EAE60 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800EDF04 000EAE64 81 84 00 00 */ lwz r12, 0(r4) +/* 800EDF08 000EAE68 38 A5 01 39 */ addi r5, r5, 0x139 +/* 800EDF0C 000EAE6C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EDF10 000EAE70 7D 89 03 A6 */ mtctr r12 +/* 800EDF14 000EAE74 4E 80 04 21 */ bctrl +/* 800EDF18 000EAE78 38 61 00 98 */ addi r3, r1, 0x98 +/* 800EDF1C 000EAE7C 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800EDF20 000EAE80 48 25 2F 89 */ bl __ct__6CTokenFRC6CToken +/* 800EDF24 000EAE84 3B 57 00 38 */ addi r26, r23, 0x38 +/* 800EDF28 000EAE88 38 81 00 98 */ addi r4, r1, 0x98 +/* 800EDF2C 000EAE8C 7F 43 D3 78 */ mr r3, r26 +/* 800EDF30 000EAE90 48 25 2D 95 */ bl __as__6CTokenFRC6CToken +/* 800EDF34 000EAE94 38 61 00 98 */ addi r3, r1, 0x98 +/* 800EDF38 000EAE98 38 80 00 00 */ li r4, 0 +/* 800EDF3C 000EAE9C 48 25 2F 05 */ bl __dt__6CTokenFv +/* 800EDF40 000EAEA0 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800EDF44 000EAEA4 38 80 FF FF */ li r4, -1 +/* 800EDF48 000EAEA8 48 25 2E F9 */ bl __dt__6CTokenFv +/* 800EDF4C 000EAEAC 80 9F 1B C8 */ lwz r4, 0x1bc8(r31) +/* 800EDF50 000EAEB0 38 60 00 00 */ li r3, 0 +/* 800EDF54 000EAEB4 98 61 00 90 */ stb r3, 0x90(r1) +/* 800EDF58 000EAEB8 2C 04 00 08 */ cmpwi r4, 8 +/* 800EDF5C 000EAEBC 90 61 00 94 */ stw r3, 0x94(r1) +/* 800EDF60 000EAEC0 40 80 00 48 */ bge lbl_800EDFA8 +/* 800EDF64 000EAEC4 54 80 18 38 */ slwi r0, r4, 3 +/* 800EDF68 000EAEC8 20 A4 00 08 */ subfic r5, r4, 8 +/* 800EDF6C 000EAECC 7C 9F 02 14 */ add r4, r31, r0 +/* 800EDF70 000EAED0 7C A9 03 A6 */ mtctr r5 +/* 800EDF74 000EAED4 2C 05 00 00 */ cmpwi r5, 0 +/* 800EDF78 000EAED8 38 84 1B CC */ addi r4, r4, 0x1bcc +/* 800EDF7C 000EAEDC 40 81 00 24 */ ble lbl_800EDFA0 +lbl_800EDF80: +/* 800EDF80 000EAEE0 28 04 00 00 */ cmplwi r4, 0 +/* 800EDF84 000EAEE4 41 82 00 14 */ beq lbl_800EDF98 +/* 800EDF88 000EAEE8 88 01 00 90 */ lbz r0, 0x90(r1) +/* 800EDF8C 000EAEEC 98 04 00 00 */ stb r0, 0(r4) +/* 800EDF90 000EAEF0 90 64 00 04 */ stw r3, 4(r4) +/* 800EDF94 000EAEF4 98 61 00 90 */ stb r3, 0x90(r1) +lbl_800EDF98: +/* 800EDF98 000EAEF8 38 84 00 08 */ addi r4, r4, 8 +/* 800EDF9C 000EAEFC 42 00 FF E4 */ bdnz lbl_800EDF80 +lbl_800EDFA0: +/* 800EDFA0 000EAF00 38 00 00 08 */ li r0, 8 +/* 800EDFA4 000EAF04 90 1F 1B C8 */ stw r0, 0x1bc8(r31) +lbl_800EDFA8: +/* 800EDFA8 000EAF08 88 01 00 90 */ lbz r0, 0x90(r1) +/* 800EDFAC 000EAF0C 28 00 00 00 */ cmplwi r0, 0 +/* 800EDFB0 000EAF10 41 82 00 24 */ beq lbl_800EDFD4 +/* 800EDFB4 000EAF14 80 61 00 94 */ lwz r3, 0x94(r1) +/* 800EDFB8 000EAF18 28 03 00 00 */ cmplwi r3, 0 +/* 800EDFBC 000EAF1C 41 82 00 18 */ beq lbl_800EDFD4 +/* 800EDFC0 000EAF20 81 83 00 00 */ lwz r12, 0(r3) +/* 800EDFC4 000EAF24 38 80 00 01 */ li r4, 1 +/* 800EDFC8 000EAF28 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EDFCC 000EAF2C 7D 89 03 A6 */ mtctr r12 +/* 800EDFD0 000EAF30 4E 80 04 21 */ bctrl +lbl_800EDFD4: +/* 800EDFD4 000EAF34 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EDFD8 000EAF38 3A C0 00 00 */ li r22, 0 +/* 800EDFDC 000EAF3C 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800EDFE0 000EAF40 38 60 03 40 */ li r3, 0x340 +/* 800EDFE4 000EAF44 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EDFE8 000EAF48 38 A0 00 00 */ li r5, 0 +/* 800EDFEC 000EAF4C 48 22 78 81 */ bl __nw__FUlPCcPCc +/* 800EDFF0 000EAF50 7C 75 1B 79 */ or. r21, r3, r3 +/* 800EDFF4 000EAF54 41 82 00 2C */ beq lbl_800EE020 +/* 800EDFF8 000EAF58 7F 04 C3 78 */ mr r4, r24 +/* 800EDFFC 000EAF5C 38 61 00 88 */ addi r3, r1, 0x88 +/* 800EE000 000EAF60 48 25 2E A9 */ bl __ct__6CTokenFRC6CToken +/* 800EE004 000EAF64 7E A3 AB 78 */ mr r3, r21 +/* 800EE008 000EAF68 38 81 00 88 */ addi r4, r1, 0x88 +/* 800EE00C 000EAF6C 3A C0 00 01 */ li r22, 1 +/* 800EE010 000EAF70 38 A0 00 00 */ li r5, 0 +/* 800EE014 000EAF74 38 C0 00 01 */ li r6, 1 +/* 800EE018 000EAF78 48 23 13 C9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800EE01C 000EAF7C 7C 75 1B 78 */ mr r21, r3 +lbl_800EE020: +/* 800EE020 000EAF80 7C 15 00 D0 */ neg r0, r21 +/* 800EE024 000EAF84 3B FF 1B CC */ addi r31, r31, 0x1bcc +/* 800EE028 000EAF88 7C 03 AB 78 */ or r3, r0, r21 +/* 800EE02C 000EAF8C 38 01 00 80 */ addi r0, r1, 0x80 +/* 800EE030 000EAF90 3B 1F 00 10 */ addi r24, r31, 0x10 +/* 800EE034 000EAF94 92 A1 00 84 */ stw r21, 0x84(r1) +/* 800EE038 000EAF98 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800EE03C 000EAF9C 7C 00 C0 40 */ cmplw r0, r24 +/* 800EE040 000EAFA0 98 61 00 80 */ stb r3, 0x80(r1) +/* 800EE044 000EAFA4 41 82 00 48 */ beq lbl_800EE08C +/* 800EE048 000EAFA8 88 18 00 00 */ lbz r0, 0(r24) +/* 800EE04C 000EAFAC 28 00 00 00 */ cmplwi r0, 0 +/* 800EE050 000EAFB0 41 82 00 24 */ beq lbl_800EE074 +/* 800EE054 000EAFB4 80 78 00 04 */ lwz r3, 4(r24) +/* 800EE058 000EAFB8 28 03 00 00 */ cmplwi r3, 0 +/* 800EE05C 000EAFBC 41 82 00 18 */ beq lbl_800EE074 +/* 800EE060 000EAFC0 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE064 000EAFC4 38 80 00 01 */ li r4, 1 +/* 800EE068 000EAFC8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE06C 000EAFCC 7D 89 03 A6 */ mtctr r12 +/* 800EE070 000EAFD0 4E 80 04 21 */ bctrl +lbl_800EE074: +/* 800EE074 000EAFD4 88 61 00 80 */ lbz r3, 0x80(r1) +/* 800EE078 000EAFD8 38 00 00 00 */ li r0, 0 +/* 800EE07C 000EAFDC 98 78 00 00 */ stb r3, 0(r24) +/* 800EE080 000EAFE0 80 61 00 84 */ lwz r3, 0x84(r1) +/* 800EE084 000EAFE4 90 78 00 04 */ stw r3, 4(r24) +/* 800EE088 000EAFE8 98 01 00 80 */ stb r0, 0x80(r1) +lbl_800EE08C: +/* 800EE08C 000EAFEC 88 01 00 80 */ lbz r0, 0x80(r1) +/* 800EE090 000EAFF0 28 00 00 00 */ cmplwi r0, 0 +/* 800EE094 000EAFF4 41 82 00 24 */ beq lbl_800EE0B8 +/* 800EE098 000EAFF8 80 61 00 84 */ lwz r3, 0x84(r1) +/* 800EE09C 000EAFFC 28 03 00 00 */ cmplwi r3, 0 +/* 800EE0A0 000EB000 41 82 00 18 */ beq lbl_800EE0B8 +/* 800EE0A4 000EB004 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE0A8 000EB008 38 80 00 01 */ li r4, 1 +/* 800EE0AC 000EB00C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE0B0 000EB010 7D 89 03 A6 */ mtctr r12 +/* 800EE0B4 000EB014 4E 80 04 21 */ bctrl +lbl_800EE0B8: +/* 800EE0B8 000EB018 7E C0 07 75 */ extsb. r0, r22 +/* 800EE0BC 000EB01C 41 82 00 10 */ beq lbl_800EE0CC +/* 800EE0C0 000EB020 38 61 00 88 */ addi r3, r1, 0x88 +/* 800EE0C4 000EB024 38 80 00 00 */ li r4, 0 +/* 800EE0C8 000EB028 48 25 2D 79 */ bl __dt__6CTokenFv +lbl_800EE0CC: +/* 800EE0CC 000EB02C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EE0D0 000EB030 3A C0 00 00 */ li r22, 0 +/* 800EE0D4 000EB034 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800EE0D8 000EB038 38 60 03 40 */ li r3, 0x340 +/* 800EE0DC 000EB03C 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EE0E0 000EB040 38 A0 00 00 */ li r5, 0 +/* 800EE0E4 000EB044 48 22 77 89 */ bl __nw__FUlPCcPCc +/* 800EE0E8 000EB048 7C 75 1B 79 */ or. r21, r3, r3 +/* 800EE0EC 000EB04C 41 82 00 2C */ beq lbl_800EE118 +/* 800EE0F0 000EB050 7E E4 BB 78 */ mr r4, r23 +/* 800EE0F4 000EB054 38 61 00 78 */ addi r3, r1, 0x78 +/* 800EE0F8 000EB058 48 25 2D B1 */ bl __ct__6CTokenFRC6CToken +/* 800EE0FC 000EB05C 7E A3 AB 78 */ mr r3, r21 +/* 800EE100 000EB060 38 81 00 78 */ addi r4, r1, 0x78 +/* 800EE104 000EB064 3A C0 00 01 */ li r22, 1 +/* 800EE108 000EB068 38 A0 00 00 */ li r5, 0 +/* 800EE10C 000EB06C 38 C0 00 01 */ li r6, 1 +/* 800EE110 000EB070 48 23 12 D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800EE114 000EB074 7C 75 1B 78 */ mr r21, r3 +lbl_800EE118: +/* 800EE118 000EB078 7C 75 00 D0 */ neg r3, r21 +/* 800EE11C 000EB07C 38 01 00 70 */ addi r0, r1, 0x70 +/* 800EE120 000EB080 7C 63 AB 78 */ or r3, r3, r21 +/* 800EE124 000EB084 92 A1 00 74 */ stw r21, 0x74(r1) +/* 800EE128 000EB088 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800EE12C 000EB08C 7C 00 F8 40 */ cmplw r0, r31 +/* 800EE130 000EB090 98 61 00 70 */ stb r3, 0x70(r1) +/* 800EE134 000EB094 41 82 00 48 */ beq lbl_800EE17C +/* 800EE138 000EB098 88 1F 00 00 */ lbz r0, 0(r31) +/* 800EE13C 000EB09C 28 00 00 00 */ cmplwi r0, 0 +/* 800EE140 000EB0A0 41 82 00 24 */ beq lbl_800EE164 +/* 800EE144 000EB0A4 80 7F 00 04 */ lwz r3, 4(r31) +/* 800EE148 000EB0A8 28 03 00 00 */ cmplwi r3, 0 +/* 800EE14C 000EB0AC 41 82 00 18 */ beq lbl_800EE164 +/* 800EE150 000EB0B0 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE154 000EB0B4 38 80 00 01 */ li r4, 1 +/* 800EE158 000EB0B8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE15C 000EB0BC 7D 89 03 A6 */ mtctr r12 +/* 800EE160 000EB0C0 4E 80 04 21 */ bctrl +lbl_800EE164: +/* 800EE164 000EB0C4 88 61 00 70 */ lbz r3, 0x70(r1) +/* 800EE168 000EB0C8 38 00 00 00 */ li r0, 0 +/* 800EE16C 000EB0CC 98 7F 00 00 */ stb r3, 0(r31) +/* 800EE170 000EB0D0 80 61 00 74 */ lwz r3, 0x74(r1) +/* 800EE174 000EB0D4 90 7F 00 04 */ stw r3, 4(r31) +/* 800EE178 000EB0D8 98 01 00 70 */ stb r0, 0x70(r1) +lbl_800EE17C: +/* 800EE17C 000EB0DC 88 01 00 70 */ lbz r0, 0x70(r1) +/* 800EE180 000EB0E0 28 00 00 00 */ cmplwi r0, 0 +/* 800EE184 000EB0E4 41 82 00 24 */ beq lbl_800EE1A8 +/* 800EE188 000EB0E8 80 61 00 74 */ lwz r3, 0x74(r1) +/* 800EE18C 000EB0EC 28 03 00 00 */ cmplwi r3, 0 +/* 800EE190 000EB0F0 41 82 00 18 */ beq lbl_800EE1A8 +/* 800EE194 000EB0F4 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE198 000EB0F8 38 80 00 01 */ li r4, 1 +/* 800EE19C 000EB0FC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE1A0 000EB100 7D 89 03 A6 */ mtctr r12 +/* 800EE1A4 000EB104 4E 80 04 21 */ bctrl +lbl_800EE1A8: +/* 800EE1A8 000EB108 7E C0 07 75 */ extsb. r0, r22 +/* 800EE1AC 000EB10C 41 82 00 10 */ beq lbl_800EE1BC +/* 800EE1B0 000EB110 38 61 00 78 */ addi r3, r1, 0x78 +/* 800EE1B4 000EB114 38 80 00 00 */ li r4, 0 +/* 800EE1B8 000EB118 48 25 2C 89 */ bl __dt__6CTokenFv +lbl_800EE1BC: +/* 800EE1BC 000EB11C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EE1C0 000EB120 3A C0 00 00 */ li r22, 0 +/* 800EE1C4 000EB124 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800EE1C8 000EB128 38 60 03 40 */ li r3, 0x340 +/* 800EE1CC 000EB12C 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EE1D0 000EB130 38 A0 00 00 */ li r5, 0 +/* 800EE1D4 000EB134 48 22 76 99 */ bl __nw__FUlPCcPCc +/* 800EE1D8 000EB138 7C 75 1B 79 */ or. r21, r3, r3 +/* 800EE1DC 000EB13C 41 82 00 2C */ beq lbl_800EE208 +/* 800EE1E0 000EB140 7F 24 CB 78 */ mr r4, r25 +/* 800EE1E4 000EB144 38 61 00 68 */ addi r3, r1, 0x68 +/* 800EE1E8 000EB148 48 25 2C C1 */ bl __ct__6CTokenFRC6CToken +/* 800EE1EC 000EB14C 7E A3 AB 78 */ mr r3, r21 +/* 800EE1F0 000EB150 38 81 00 68 */ addi r4, r1, 0x68 +/* 800EE1F4 000EB154 3A C0 00 01 */ li r22, 1 +/* 800EE1F8 000EB158 38 A0 00 00 */ li r5, 0 +/* 800EE1FC 000EB15C 38 C0 00 01 */ li r6, 1 +/* 800EE200 000EB160 48 23 11 E1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800EE204 000EB164 7C 75 1B 78 */ mr r21, r3 +lbl_800EE208: +/* 800EE208 000EB168 7C 15 00 D0 */ neg r0, r21 +/* 800EE20C 000EB16C 3B 1F 00 08 */ addi r24, r31, 8 +/* 800EE210 000EB170 7C 03 AB 78 */ or r3, r0, r21 +/* 800EE214 000EB174 38 01 00 60 */ addi r0, r1, 0x60 +/* 800EE218 000EB178 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800EE21C 000EB17C 92 A1 00 64 */ stw r21, 0x64(r1) +/* 800EE220 000EB180 7C 00 C0 40 */ cmplw r0, r24 +/* 800EE224 000EB184 98 61 00 60 */ stb r3, 0x60(r1) +/* 800EE228 000EB188 41 82 00 48 */ beq lbl_800EE270 +/* 800EE22C 000EB18C 88 18 00 00 */ lbz r0, 0(r24) +/* 800EE230 000EB190 28 00 00 00 */ cmplwi r0, 0 +/* 800EE234 000EB194 41 82 00 24 */ beq lbl_800EE258 +/* 800EE238 000EB198 80 78 00 04 */ lwz r3, 4(r24) +/* 800EE23C 000EB19C 28 03 00 00 */ cmplwi r3, 0 +/* 800EE240 000EB1A0 41 82 00 18 */ beq lbl_800EE258 +/* 800EE244 000EB1A4 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE248 000EB1A8 38 80 00 01 */ li r4, 1 +/* 800EE24C 000EB1AC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE250 000EB1B0 7D 89 03 A6 */ mtctr r12 +/* 800EE254 000EB1B4 4E 80 04 21 */ bctrl +lbl_800EE258: +/* 800EE258 000EB1B8 88 61 00 60 */ lbz r3, 0x60(r1) +/* 800EE25C 000EB1BC 38 00 00 00 */ li r0, 0 +/* 800EE260 000EB1C0 98 78 00 00 */ stb r3, 0(r24) +/* 800EE264 000EB1C4 80 61 00 64 */ lwz r3, 0x64(r1) +/* 800EE268 000EB1C8 90 78 00 04 */ stw r3, 4(r24) +/* 800EE26C 000EB1CC 98 01 00 60 */ stb r0, 0x60(r1) +lbl_800EE270: +/* 800EE270 000EB1D0 88 01 00 60 */ lbz r0, 0x60(r1) +/* 800EE274 000EB1D4 28 00 00 00 */ cmplwi r0, 0 +/* 800EE278 000EB1D8 41 82 00 24 */ beq lbl_800EE29C +/* 800EE27C 000EB1DC 80 61 00 64 */ lwz r3, 0x64(r1) +/* 800EE280 000EB1E0 28 03 00 00 */ cmplwi r3, 0 +/* 800EE284 000EB1E4 41 82 00 18 */ beq lbl_800EE29C +/* 800EE288 000EB1E8 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE28C 000EB1EC 38 80 00 01 */ li r4, 1 +/* 800EE290 000EB1F0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE294 000EB1F4 7D 89 03 A6 */ mtctr r12 +/* 800EE298 000EB1F8 4E 80 04 21 */ bctrl +lbl_800EE29C: +/* 800EE29C 000EB1FC 7E C0 07 75 */ extsb. r0, r22 +/* 800EE2A0 000EB200 41 82 00 10 */ beq lbl_800EE2B0 +/* 800EE2A4 000EB204 38 61 00 68 */ addi r3, r1, 0x68 +/* 800EE2A8 000EB208 38 80 00 00 */ li r4, 0 +/* 800EE2AC 000EB20C 48 25 2B 95 */ bl __dt__6CTokenFv +lbl_800EE2B0: +/* 800EE2B0 000EB210 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EE2B4 000EB214 3A C0 00 00 */ li r22, 0 +/* 800EE2B8 000EB218 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800EE2BC 000EB21C 38 60 03 40 */ li r3, 0x340 +/* 800EE2C0 000EB220 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EE2C4 000EB224 38 A0 00 00 */ li r5, 0 +/* 800EE2C8 000EB228 48 22 75 A5 */ bl __nw__FUlPCcPCc +/* 800EE2CC 000EB22C 7C 75 1B 79 */ or. r21, r3, r3 +/* 800EE2D0 000EB230 41 82 00 2C */ beq lbl_800EE2FC +/* 800EE2D4 000EB234 7F A4 EB 78 */ mr r4, r29 +/* 800EE2D8 000EB238 38 61 00 58 */ addi r3, r1, 0x58 +/* 800EE2DC 000EB23C 48 25 2B CD */ bl __ct__6CTokenFRC6CToken +/* 800EE2E0 000EB240 7E A3 AB 78 */ mr r3, r21 +/* 800EE2E4 000EB244 38 81 00 58 */ addi r4, r1, 0x58 +/* 800EE2E8 000EB248 3A C0 00 01 */ li r22, 1 +/* 800EE2EC 000EB24C 38 A0 00 00 */ li r5, 0 +/* 800EE2F0 000EB250 38 C0 00 01 */ li r6, 1 +/* 800EE2F4 000EB254 48 23 10 ED */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800EE2F8 000EB258 7C 75 1B 78 */ mr r21, r3 +lbl_800EE2FC: +/* 800EE2FC 000EB25C 7C 15 00 D0 */ neg r0, r21 +/* 800EE300 000EB260 3A FF 00 18 */ addi r23, r31, 0x18 +/* 800EE304 000EB264 7C 03 AB 78 */ or r3, r0, r21 +/* 800EE308 000EB268 38 01 00 50 */ addi r0, r1, 0x50 +/* 800EE30C 000EB26C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800EE310 000EB270 92 A1 00 54 */ stw r21, 0x54(r1) +/* 800EE314 000EB274 7C 00 B8 40 */ cmplw r0, r23 +/* 800EE318 000EB278 98 61 00 50 */ stb r3, 0x50(r1) +/* 800EE31C 000EB27C 41 82 00 48 */ beq lbl_800EE364 +/* 800EE320 000EB280 88 17 00 00 */ lbz r0, 0(r23) +/* 800EE324 000EB284 28 00 00 00 */ cmplwi r0, 0 +/* 800EE328 000EB288 41 82 00 24 */ beq lbl_800EE34C +/* 800EE32C 000EB28C 80 77 00 04 */ lwz r3, 4(r23) +/* 800EE330 000EB290 28 03 00 00 */ cmplwi r3, 0 +/* 800EE334 000EB294 41 82 00 18 */ beq lbl_800EE34C +/* 800EE338 000EB298 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE33C 000EB29C 38 80 00 01 */ li r4, 1 +/* 800EE340 000EB2A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE344 000EB2A4 7D 89 03 A6 */ mtctr r12 +/* 800EE348 000EB2A8 4E 80 04 21 */ bctrl +lbl_800EE34C: +/* 800EE34C 000EB2AC 88 61 00 50 */ lbz r3, 0x50(r1) +/* 800EE350 000EB2B0 38 00 00 00 */ li r0, 0 +/* 800EE354 000EB2B4 98 77 00 00 */ stb r3, 0(r23) +/* 800EE358 000EB2B8 80 61 00 54 */ lwz r3, 0x54(r1) +/* 800EE35C 000EB2BC 90 77 00 04 */ stw r3, 4(r23) +/* 800EE360 000EB2C0 98 01 00 50 */ stb r0, 0x50(r1) +lbl_800EE364: +/* 800EE364 000EB2C4 88 01 00 50 */ lbz r0, 0x50(r1) +/* 800EE368 000EB2C8 28 00 00 00 */ cmplwi r0, 0 +/* 800EE36C 000EB2CC 41 82 00 24 */ beq lbl_800EE390 +/* 800EE370 000EB2D0 80 61 00 54 */ lwz r3, 0x54(r1) +/* 800EE374 000EB2D4 28 03 00 00 */ cmplwi r3, 0 +/* 800EE378 000EB2D8 41 82 00 18 */ beq lbl_800EE390 +/* 800EE37C 000EB2DC 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE380 000EB2E0 38 80 00 01 */ li r4, 1 +/* 800EE384 000EB2E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE388 000EB2E8 7D 89 03 A6 */ mtctr r12 +/* 800EE38C 000EB2EC 4E 80 04 21 */ bctrl +lbl_800EE390: +/* 800EE390 000EB2F0 7E C0 07 75 */ extsb. r0, r22 +/* 800EE394 000EB2F4 41 82 00 10 */ beq lbl_800EE3A4 +/* 800EE398 000EB2F8 38 61 00 58 */ addi r3, r1, 0x58 +/* 800EE39C 000EB2FC 38 80 00 00 */ li r4, 0 +/* 800EE3A0 000EB300 48 25 2A A1 */ bl __dt__6CTokenFv +lbl_800EE3A4: +/* 800EE3A4 000EB304 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EE3A8 000EB308 3A C0 00 00 */ li r22, 0 +/* 800EE3AC 000EB30C 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800EE3B0 000EB310 38 60 03 40 */ li r3, 0x340 +/* 800EE3B4 000EB314 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EE3B8 000EB318 38 A0 00 00 */ li r5, 0 +/* 800EE3BC 000EB31C 48 22 74 B1 */ bl __nw__FUlPCcPCc +/* 800EE3C0 000EB320 7C 75 1B 79 */ or. r21, r3, r3 +/* 800EE3C4 000EB324 41 82 00 2C */ beq lbl_800EE3F0 +/* 800EE3C8 000EB328 7F C4 F3 78 */ mr r4, r30 +/* 800EE3CC 000EB32C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800EE3D0 000EB330 48 25 2A D9 */ bl __ct__6CTokenFRC6CToken +/* 800EE3D4 000EB334 7E A3 AB 78 */ mr r3, r21 +/* 800EE3D8 000EB338 38 81 00 48 */ addi r4, r1, 0x48 +/* 800EE3DC 000EB33C 3A C0 00 01 */ li r22, 1 +/* 800EE3E0 000EB340 38 A0 00 00 */ li r5, 0 +/* 800EE3E4 000EB344 38 C0 00 01 */ li r6, 1 +/* 800EE3E8 000EB348 48 23 0F F9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800EE3EC 000EB34C 7C 75 1B 78 */ mr r21, r3 +lbl_800EE3F0: +/* 800EE3F0 000EB350 7C 15 00 D0 */ neg r0, r21 +/* 800EE3F4 000EB354 3A FF 00 20 */ addi r23, r31, 0x20 +/* 800EE3F8 000EB358 7C 03 AB 78 */ or r3, r0, r21 +/* 800EE3FC 000EB35C 38 01 00 40 */ addi r0, r1, 0x40 +/* 800EE400 000EB360 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800EE404 000EB364 92 A1 00 44 */ stw r21, 0x44(r1) +/* 800EE408 000EB368 7C 00 B8 40 */ cmplw r0, r23 +/* 800EE40C 000EB36C 98 61 00 40 */ stb r3, 0x40(r1) +/* 800EE410 000EB370 41 82 00 48 */ beq lbl_800EE458 +/* 800EE414 000EB374 88 17 00 00 */ lbz r0, 0(r23) +/* 800EE418 000EB378 28 00 00 00 */ cmplwi r0, 0 +/* 800EE41C 000EB37C 41 82 00 24 */ beq lbl_800EE440 +/* 800EE420 000EB380 80 77 00 04 */ lwz r3, 4(r23) +/* 800EE424 000EB384 28 03 00 00 */ cmplwi r3, 0 +/* 800EE428 000EB388 41 82 00 18 */ beq lbl_800EE440 +/* 800EE42C 000EB38C 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE430 000EB390 38 80 00 01 */ li r4, 1 +/* 800EE434 000EB394 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE438 000EB398 7D 89 03 A6 */ mtctr r12 +/* 800EE43C 000EB39C 4E 80 04 21 */ bctrl +lbl_800EE440: +/* 800EE440 000EB3A0 88 61 00 40 */ lbz r3, 0x40(r1) +/* 800EE444 000EB3A4 38 00 00 00 */ li r0, 0 +/* 800EE448 000EB3A8 98 77 00 00 */ stb r3, 0(r23) +/* 800EE44C 000EB3AC 80 61 00 44 */ lwz r3, 0x44(r1) +/* 800EE450 000EB3B0 90 77 00 04 */ stw r3, 4(r23) +/* 800EE454 000EB3B4 98 01 00 40 */ stb r0, 0x40(r1) +lbl_800EE458: +/* 800EE458 000EB3B8 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800EE45C 000EB3BC 28 00 00 00 */ cmplwi r0, 0 +/* 800EE460 000EB3C0 41 82 00 24 */ beq lbl_800EE484 +/* 800EE464 000EB3C4 80 61 00 44 */ lwz r3, 0x44(r1) +/* 800EE468 000EB3C8 28 03 00 00 */ cmplwi r3, 0 +/* 800EE46C 000EB3CC 41 82 00 18 */ beq lbl_800EE484 +/* 800EE470 000EB3D0 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE474 000EB3D4 38 80 00 01 */ li r4, 1 +/* 800EE478 000EB3D8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE47C 000EB3DC 7D 89 03 A6 */ mtctr r12 +/* 800EE480 000EB3E0 4E 80 04 21 */ bctrl +lbl_800EE484: +/* 800EE484 000EB3E4 7E C0 07 75 */ extsb. r0, r22 +/* 800EE488 000EB3E8 41 82 00 10 */ beq lbl_800EE498 +/* 800EE48C 000EB3EC 38 61 00 48 */ addi r3, r1, 0x48 +/* 800EE490 000EB3F0 38 80 00 00 */ li r4, 0 +/* 800EE494 000EB3F4 48 25 29 AD */ bl __dt__6CTokenFv +lbl_800EE498: +/* 800EE498 000EB3F8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EE49C 000EB3FC 3A C0 00 00 */ li r22, 0 +/* 800EE4A0 000EB400 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800EE4A4 000EB404 38 60 03 40 */ li r3, 0x340 +/* 800EE4A8 000EB408 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EE4AC 000EB40C 38 A0 00 00 */ li r5, 0 +/* 800EE4B0 000EB410 48 22 73 BD */ bl __nw__FUlPCcPCc +/* 800EE4B4 000EB414 7C 75 1B 79 */ or. r21, r3, r3 +/* 800EE4B8 000EB418 41 82 00 2C */ beq lbl_800EE4E4 +/* 800EE4BC 000EB41C 7F 84 E3 78 */ mr r4, r28 +/* 800EE4C0 000EB420 38 61 00 38 */ addi r3, r1, 0x38 +/* 800EE4C4 000EB424 48 25 29 E5 */ bl __ct__6CTokenFRC6CToken +/* 800EE4C8 000EB428 7E A3 AB 78 */ mr r3, r21 +/* 800EE4CC 000EB42C 38 81 00 38 */ addi r4, r1, 0x38 +/* 800EE4D0 000EB430 3A C0 00 01 */ li r22, 1 +/* 800EE4D4 000EB434 38 A0 00 00 */ li r5, 0 +/* 800EE4D8 000EB438 38 C0 00 01 */ li r6, 1 +/* 800EE4DC 000EB43C 48 23 0F 05 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800EE4E0 000EB440 7C 75 1B 78 */ mr r21, r3 +lbl_800EE4E4: +/* 800EE4E4 000EB444 7C 15 00 D0 */ neg r0, r21 +/* 800EE4E8 000EB448 3A FF 00 28 */ addi r23, r31, 0x28 +/* 800EE4EC 000EB44C 7C 03 AB 78 */ or r3, r0, r21 +/* 800EE4F0 000EB450 38 01 00 30 */ addi r0, r1, 0x30 +/* 800EE4F4 000EB454 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800EE4F8 000EB458 92 A1 00 34 */ stw r21, 0x34(r1) +/* 800EE4FC 000EB45C 7C 00 B8 40 */ cmplw r0, r23 +/* 800EE500 000EB460 98 61 00 30 */ stb r3, 0x30(r1) +/* 800EE504 000EB464 41 82 00 48 */ beq lbl_800EE54C +/* 800EE508 000EB468 88 17 00 00 */ lbz r0, 0(r23) +/* 800EE50C 000EB46C 28 00 00 00 */ cmplwi r0, 0 +/* 800EE510 000EB470 41 82 00 24 */ beq lbl_800EE534 +/* 800EE514 000EB474 80 77 00 04 */ lwz r3, 4(r23) +/* 800EE518 000EB478 28 03 00 00 */ cmplwi r3, 0 +/* 800EE51C 000EB47C 41 82 00 18 */ beq lbl_800EE534 +/* 800EE520 000EB480 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE524 000EB484 38 80 00 01 */ li r4, 1 +/* 800EE528 000EB488 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE52C 000EB48C 7D 89 03 A6 */ mtctr r12 +/* 800EE530 000EB490 4E 80 04 21 */ bctrl +lbl_800EE534: +/* 800EE534 000EB494 88 61 00 30 */ lbz r3, 0x30(r1) +/* 800EE538 000EB498 38 00 00 00 */ li r0, 0 +/* 800EE53C 000EB49C 98 77 00 00 */ stb r3, 0(r23) +/* 800EE540 000EB4A0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 800EE544 000EB4A4 90 77 00 04 */ stw r3, 4(r23) +/* 800EE548 000EB4A8 98 01 00 30 */ stb r0, 0x30(r1) +lbl_800EE54C: +/* 800EE54C 000EB4AC 88 01 00 30 */ lbz r0, 0x30(r1) +/* 800EE550 000EB4B0 28 00 00 00 */ cmplwi r0, 0 +/* 800EE554 000EB4B4 41 82 00 24 */ beq lbl_800EE578 +/* 800EE558 000EB4B8 80 61 00 34 */ lwz r3, 0x34(r1) +/* 800EE55C 000EB4BC 28 03 00 00 */ cmplwi r3, 0 +/* 800EE560 000EB4C0 41 82 00 18 */ beq lbl_800EE578 +/* 800EE564 000EB4C4 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE568 000EB4C8 38 80 00 01 */ li r4, 1 +/* 800EE56C 000EB4CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE570 000EB4D0 7D 89 03 A6 */ mtctr r12 +/* 800EE574 000EB4D4 4E 80 04 21 */ bctrl +lbl_800EE578: +/* 800EE578 000EB4D8 7E C0 07 75 */ extsb. r0, r22 +/* 800EE57C 000EB4DC 41 82 00 10 */ beq lbl_800EE58C +/* 800EE580 000EB4E0 38 61 00 38 */ addi r3, r1, 0x38 +/* 800EE584 000EB4E4 38 80 00 00 */ li r4, 0 +/* 800EE588 000EB4E8 48 25 28 B9 */ bl __dt__6CTokenFv +lbl_800EE58C: +/* 800EE58C 000EB4EC 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EE590 000EB4F0 3A C0 00 00 */ li r22, 0 +/* 800EE594 000EB4F4 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800EE598 000EB4F8 38 60 03 40 */ li r3, 0x340 +/* 800EE59C 000EB4FC 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EE5A0 000EB500 38 A0 00 00 */ li r5, 0 +/* 800EE5A4 000EB504 48 22 72 C9 */ bl __nw__FUlPCcPCc +/* 800EE5A8 000EB508 7C 75 1B 79 */ or. r21, r3, r3 +/* 800EE5AC 000EB50C 41 82 00 2C */ beq lbl_800EE5D8 +/* 800EE5B0 000EB510 7F 64 DB 78 */ mr r4, r27 +/* 800EE5B4 000EB514 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EE5B8 000EB518 48 25 28 F1 */ bl __ct__6CTokenFRC6CToken +/* 800EE5BC 000EB51C 7E A3 AB 78 */ mr r3, r21 +/* 800EE5C0 000EB520 38 81 00 28 */ addi r4, r1, 0x28 +/* 800EE5C4 000EB524 3A C0 00 01 */ li r22, 1 +/* 800EE5C8 000EB528 38 A0 00 00 */ li r5, 0 +/* 800EE5CC 000EB52C 38 C0 00 01 */ li r6, 1 +/* 800EE5D0 000EB530 48 23 0E 11 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800EE5D4 000EB534 7C 75 1B 78 */ mr r21, r3 +lbl_800EE5D8: +/* 800EE5D8 000EB538 7C 15 00 D0 */ neg r0, r21 +/* 800EE5DC 000EB53C 3A FF 00 30 */ addi r23, r31, 0x30 +/* 800EE5E0 000EB540 7C 03 AB 78 */ or r3, r0, r21 +/* 800EE5E4 000EB544 38 01 00 20 */ addi r0, r1, 0x20 +/* 800EE5E8 000EB548 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800EE5EC 000EB54C 92 A1 00 24 */ stw r21, 0x24(r1) +/* 800EE5F0 000EB550 7C 00 B8 40 */ cmplw r0, r23 +/* 800EE5F4 000EB554 98 61 00 20 */ stb r3, 0x20(r1) +/* 800EE5F8 000EB558 41 82 00 48 */ beq lbl_800EE640 +/* 800EE5FC 000EB55C 88 17 00 00 */ lbz r0, 0(r23) +/* 800EE600 000EB560 28 00 00 00 */ cmplwi r0, 0 +/* 800EE604 000EB564 41 82 00 24 */ beq lbl_800EE628 +/* 800EE608 000EB568 80 77 00 04 */ lwz r3, 4(r23) +/* 800EE60C 000EB56C 28 03 00 00 */ cmplwi r3, 0 +/* 800EE610 000EB570 41 82 00 18 */ beq lbl_800EE628 +/* 800EE614 000EB574 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE618 000EB578 38 80 00 01 */ li r4, 1 +/* 800EE61C 000EB57C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE620 000EB580 7D 89 03 A6 */ mtctr r12 +/* 800EE624 000EB584 4E 80 04 21 */ bctrl +lbl_800EE628: +/* 800EE628 000EB588 88 61 00 20 */ lbz r3, 0x20(r1) +/* 800EE62C 000EB58C 38 00 00 00 */ li r0, 0 +/* 800EE630 000EB590 98 77 00 00 */ stb r3, 0(r23) +/* 800EE634 000EB594 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800EE638 000EB598 90 77 00 04 */ stw r3, 4(r23) +/* 800EE63C 000EB59C 98 01 00 20 */ stb r0, 0x20(r1) +lbl_800EE640: +/* 800EE640 000EB5A0 88 01 00 20 */ lbz r0, 0x20(r1) +/* 800EE644 000EB5A4 28 00 00 00 */ cmplwi r0, 0 +/* 800EE648 000EB5A8 41 82 00 24 */ beq lbl_800EE66C +/* 800EE64C 000EB5AC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800EE650 000EB5B0 28 03 00 00 */ cmplwi r3, 0 +/* 800EE654 000EB5B4 41 82 00 18 */ beq lbl_800EE66C +/* 800EE658 000EB5B8 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE65C 000EB5BC 38 80 00 01 */ li r4, 1 +/* 800EE660 000EB5C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE664 000EB5C4 7D 89 03 A6 */ mtctr r12 +/* 800EE668 000EB5C8 4E 80 04 21 */ bctrl +lbl_800EE66C: +/* 800EE66C 000EB5CC 7E C0 07 75 */ extsb. r0, r22 +/* 800EE670 000EB5D0 41 82 00 10 */ beq lbl_800EE680 +/* 800EE674 000EB5D4 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EE678 000EB5D8 38 80 00 00 */ li r4, 0 +/* 800EE67C 000EB5DC 48 25 27 C5 */ bl __dt__6CTokenFv +lbl_800EE680: +/* 800EE680 000EB5E0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800EE684 000EB5E4 3A C0 00 00 */ li r22, 0 +/* 800EE688 000EB5E8 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800EE68C 000EB5EC 38 60 03 40 */ li r3, 0x340 +/* 800EE690 000EB5F0 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EE694 000EB5F4 38 A0 00 00 */ li r5, 0 +/* 800EE698 000EB5F8 48 22 71 D5 */ bl __nw__FUlPCcPCc +/* 800EE69C 000EB5FC 7C 75 1B 79 */ or. r21, r3, r3 +/* 800EE6A0 000EB600 41 82 00 2C */ beq lbl_800EE6CC +/* 800EE6A4 000EB604 7F 44 D3 78 */ mr r4, r26 +/* 800EE6A8 000EB608 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EE6AC 000EB60C 48 25 27 FD */ bl __ct__6CTokenFRC6CToken +/* 800EE6B0 000EB610 7E A3 AB 78 */ mr r3, r21 +/* 800EE6B4 000EB614 38 81 00 18 */ addi r4, r1, 0x18 +/* 800EE6B8 000EB618 3A C0 00 01 */ li r22, 1 +/* 800EE6BC 000EB61C 38 A0 00 00 */ li r5, 0 +/* 800EE6C0 000EB620 38 C0 00 01 */ li r6, 1 +/* 800EE6C4 000EB624 48 23 0D 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800EE6C8 000EB628 7C 75 1B 78 */ mr r21, r3 +lbl_800EE6CC: +/* 800EE6CC 000EB62C 7C 15 00 D0 */ neg r0, r21 +/* 800EE6D0 000EB630 3A FF 00 38 */ addi r23, r31, 0x38 +/* 800EE6D4 000EB634 7C 03 AB 78 */ or r3, r0, r21 +/* 800EE6D8 000EB638 38 01 00 10 */ addi r0, r1, 0x10 +/* 800EE6DC 000EB63C 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800EE6E0 000EB640 92 A1 00 14 */ stw r21, 0x14(r1) +/* 800EE6E4 000EB644 7C 00 B8 40 */ cmplw r0, r23 +/* 800EE6E8 000EB648 98 61 00 10 */ stb r3, 0x10(r1) +/* 800EE6EC 000EB64C 41 82 00 48 */ beq lbl_800EE734 +/* 800EE6F0 000EB650 88 17 00 00 */ lbz r0, 0(r23) +/* 800EE6F4 000EB654 28 00 00 00 */ cmplwi r0, 0 +/* 800EE6F8 000EB658 41 82 00 24 */ beq lbl_800EE71C +/* 800EE6FC 000EB65C 80 77 00 04 */ lwz r3, 4(r23) +/* 800EE700 000EB660 28 03 00 00 */ cmplwi r3, 0 +/* 800EE704 000EB664 41 82 00 18 */ beq lbl_800EE71C +/* 800EE708 000EB668 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE70C 000EB66C 38 80 00 01 */ li r4, 1 +/* 800EE710 000EB670 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE714 000EB674 7D 89 03 A6 */ mtctr r12 +/* 800EE718 000EB678 4E 80 04 21 */ bctrl +lbl_800EE71C: +/* 800EE71C 000EB67C 88 61 00 10 */ lbz r3, 0x10(r1) +/* 800EE720 000EB680 38 00 00 00 */ li r0, 0 +/* 800EE724 000EB684 98 77 00 00 */ stb r3, 0(r23) +/* 800EE728 000EB688 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800EE72C 000EB68C 90 77 00 04 */ stw r3, 4(r23) +/* 800EE730 000EB690 98 01 00 10 */ stb r0, 0x10(r1) +lbl_800EE734: +/* 800EE734 000EB694 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800EE738 000EB698 28 00 00 00 */ cmplwi r0, 0 +/* 800EE73C 000EB69C 41 82 00 24 */ beq lbl_800EE760 +/* 800EE740 000EB6A0 80 61 00 14 */ lwz r3, 0x14(r1) +/* 800EE744 000EB6A4 28 03 00 00 */ cmplwi r3, 0 +/* 800EE748 000EB6A8 41 82 00 18 */ beq lbl_800EE760 +/* 800EE74C 000EB6AC 81 83 00 00 */ lwz r12, 0(r3) +/* 800EE750 000EB6B0 38 80 00 01 */ li r4, 1 +/* 800EE754 000EB6B4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800EE758 000EB6B8 7D 89 03 A6 */ mtctr r12 +/* 800EE75C 000EB6BC 4E 80 04 21 */ bctrl +lbl_800EE760: +/* 800EE760 000EB6C0 7E C0 07 75 */ extsb. r0, r22 +/* 800EE764 000EB6C4 41 82 00 10 */ beq lbl_800EE774 +/* 800EE768 000EB6C8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EE76C 000EB6CC 38 80 00 00 */ li r4, 0 +/* 800EE770 000EB6D0 48 25 26 D1 */ bl __dt__6CTokenFv +lbl_800EE774: +/* 800EE774 000EB6D4 BA A1 01 24 */ lmw r21, 0x124(r1) +/* 800EE778 000EB6D8 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800EE77C 000EB6DC 7C 08 03 A6 */ mtlr r0 +/* 800EE780 000EB6E0 38 21 01 50 */ addi r1, r1, 0x150 +/* 800EE784 000EB6E4 4E 80 00 20 */ blr + +.global PointGenerator__10CMorphBallFPvPC9CVector3fPC9CVector3fi +PointGenerator__10CMorphBallFPvPC9CVector3fPC9CVector3fi: +/* 800EE788 000EB6E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EE78C 000EB6EC 7C 08 02 A6 */ mflr r0 +/* 800EE790 000EB6F0 28 03 00 00 */ cmplwi r3, 0 +/* 800EE794 000EB6F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EE798 000EB6F8 41 82 00 08 */ beq lbl_800EE7A0 +/* 800EE79C 000EB6FC 48 17 BE 45 */ bl GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi +lbl_800EE7A0: +/* 800EE7A0 000EB700 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EE7A4 000EB704 7C 08 03 A6 */ mtlr r0 +/* 800EE7A8 000EB708 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EE7AC 000EB70C 4E 80 00 20 */ blr + +.global StartLandingSfx__10CMorphBallFv +StartLandingSfx__10CMorphBallFv: +/* 800EE7B0 000EB710 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800EE7B4 000EB714 7C 08 02 A6 */ mflr r0 +/* 800EE7B8 000EB718 90 01 00 34 */ stw r0, 0x34(r1) +/* 800EE7BC 000EB71C DB E1 00 20 */ stfd f31, 0x20(r1) +/* 800EE7C0 000EB720 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 800EE7C4 000EB724 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800EE7C8 000EB728 7C 7F 1B 78 */ mr r31, r3 +/* 800EE7CC 000EB72C C0 02 91 68 */ lfs f0, lbl_805AAE88@sda21(r2) +/* 800EE7D0 000EB730 80 63 00 00 */ lwz r3, 0(r3) +/* 800EE7D4 000EB734 C0 23 01 40 */ lfs f1, 0x140(r3) +/* 800EE7D8 000EB738 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EE7DC 000EB73C 40 80 00 74 */ bge lbl_800EE850 +/* 800EE7E0 000EB740 A0 1F 1E 36 */ lhz r0, 0x1e36(r31) +/* 800EE7E4 000EB744 28 00 FF FF */ cmplwi r0, 0xffff +/* 800EE7E8 000EB748 41 82 00 68 */ beq lbl_800EE850 +/* 800EE7EC 000EB74C C0 42 91 70 */ lfs f2, lbl_805AAE90@sda21(r2) +/* 800EE7F0 000EB750 38 81 00 14 */ addi r4, r1, 0x14 +/* 800EE7F4 000EB754 C0 23 07 9C */ lfs f1, 0x79c(r3) +/* 800EE7F8 000EB758 38 62 91 60 */ addi r3, r2, lbl_805AAE80@sda21 +/* 800EE7FC 000EB75C C0 02 91 6C */ lfs f0, lbl_805AAE8C@sda21(r2) +/* 800EE800 000EB760 38 A2 91 64 */ addi r5, r2, lbl_805AAE84@sda21 +/* 800EE804 000EB764 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 800EE808 000EB768 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800EE80C 000EB76C 4B F1 DA A9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800EE810 000EB770 C3 E3 00 00 */ lfs f31, 0(r3) +/* 800EE814 000EB774 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800EE818 000EB778 38 61 00 0C */ addi r3, r1, 0xc +/* 800EE81C 000EB77C A0 9F 1E 36 */ lhz r4, 0x1e36(r31) +/* 800EE820 000EB780 38 C0 00 40 */ li r6, 0x40 +/* 800EE824 000EB784 88 A1 00 08 */ lbz r5, 8(r1) +/* 800EE828 000EB788 38 E0 00 01 */ li r7, 1 +/* 800EE82C 000EB78C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800EE830 000EB790 39 20 00 00 */ li r9, 0 +/* 800EE834 000EB794 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800EE838 000EB798 48 1F B5 3D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800EE83C 000EB79C 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800EE840 000EB7A0 38 81 00 10 */ addi r4, r1, 0x10 +/* 800EE844 000EB7A4 90 01 00 10 */ stw r0, 0x10(r1) +/* 800EE848 000EB7A8 80 7F 00 00 */ lwz r3, 0(r31) +/* 800EE84C 000EB7AC 4B F2 29 41 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +lbl_800EE850: +/* 800EE850 000EB7B0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 800EE854 000EB7B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800EE858 000EB7B8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 800EE85C 000EB7BC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800EE860 000EB7C0 7C 08 03 A6 */ mtlr r0 +/* 800EE864 000EB7C4 38 21 00 30 */ addi r1, r1, 0x30 +/* 800EE868 000EB7C8 4E 80 00 20 */ blr + +.global StopSounds__10CMorphBallFv +StopSounds__10CMorphBallFv: +/* 800EE86C 000EB7CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800EE870 000EB7D0 7C 08 02 A6 */ mflr r0 +/* 800EE874 000EB7D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EE878 000EB7D8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800EE87C 000EB7DC 7C 7F 1B 78 */ mr r31, r3 +/* 800EE880 000EB7E0 80 03 1E 2C */ lwz r0, 0x1e2c(r3) +/* 800EE884 000EB7E4 28 00 00 00 */ cmplwi r0, 0 +/* 800EE888 000EB7E8 41 82 00 1C */ beq lbl_800EE8A4 +/* 800EE88C 000EB7EC 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) +/* 800EE890 000EB7F0 38 61 00 0C */ addi r3, r1, 0xc +/* 800EE894 000EB7F4 90 01 00 0C */ stw r0, 0xc(r1) +/* 800EE898 000EB7F8 48 1F B4 B1 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800EE89C 000EB7FC 38 00 00 00 */ li r0, 0 +/* 800EE8A0 000EB800 90 1F 1E 2C */ stw r0, 0x1e2c(r31) +lbl_800EE8A4: +/* 800EE8A4 000EB804 80 1F 1E 30 */ lwz r0, 0x1e30(r31) +/* 800EE8A8 000EB808 28 00 00 00 */ cmplwi r0, 0 +/* 800EE8AC 000EB80C 41 82 00 1C */ beq lbl_800EE8C8 +/* 800EE8B0 000EB810 80 1F 1E 30 */ lwz r0, 0x1e30(r31) +/* 800EE8B4 000EB814 38 61 00 08 */ addi r3, r1, 8 +/* 800EE8B8 000EB818 90 01 00 08 */ stw r0, 8(r1) +/* 800EE8BC 000EB81C 48 1F B4 8D */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800EE8C0 000EB820 38 00 00 00 */ li r0, 0 +/* 800EE8C4 000EB824 90 1F 1E 30 */ stw r0, 0x1e30(r31) +lbl_800EE8C8: +/* 800EE8C8 000EB828 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EE8CC 000EB82C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800EE8D0 000EB830 7C 08 03 A6 */ mtlr r0 +/* 800EE8D4 000EB834 38 21 00 20 */ addi r1, r1, 0x20 +/* 800EE8D8 000EB838 4E 80 00 20 */ blr + +.global UpdateMorphBallSound__10CMorphBallFf +UpdateMorphBallSound__10CMorphBallFf: +/* 800EE8DC 000EB83C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800EE8E0 000EB840 7C 08 02 A6 */ mflr r0 +/* 800EE8E4 000EB844 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800EE8E8 000EB848 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 800EE8EC 000EB84C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 800EE8F0 000EB850 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 800EE8F4 000EB854 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 800EE8F8 000EB858 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 800EE8FC 000EB85C F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 800EE900 000EB860 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 800EE904 000EB864 7C 7F 1B 78 */ mr r31, r3 +/* 800EE908 000EB868 FF A0 08 90 */ fmr f29, f1 +/* 800EE90C 000EB86C 80 63 00 00 */ lwz r3, 0(r3) +/* 800EE910 000EB870 C0 03 01 38 */ lfs f0, 0x138(r3) +/* 800EE914 000EB874 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800EE918 000EB878 C0 03 01 3C */ lfs f0, 0x13c(r3) +/* 800EE91C 000EB87C D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800EE920 000EB880 C0 03 01 40 */ lfs f0, 0x140(r3) +/* 800EE924 000EB884 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800EE928 000EB888 80 1F 18 7C */ lwz r0, 0x187c(r31) +/* 800EE92C 000EB88C 2C 00 00 01 */ cmpwi r0, 1 +/* 800EE930 000EB890 41 82 00 0C */ beq lbl_800EE93C +/* 800EE934 000EB894 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800EE938 000EB898 D0 01 00 70 */ stfs f0, 0x70(r1) +lbl_800EE93C: +/* 800EE93C 000EB89C 80 7F 00 00 */ lwz r3, 0(r31) +/* 800EE940 000EB8A0 80 03 02 58 */ lwz r0, 0x258(r3) +/* 800EE944 000EB8A4 2C 00 00 04 */ cmpwi r0, 4 +/* 800EE948 000EB8A8 41 82 00 14 */ beq lbl_800EE95C +/* 800EE94C 000EB8AC 40 80 01 64 */ bge lbl_800EEAB0 +/* 800EE950 000EB8B0 2C 00 00 00 */ cmpwi r0, 0 +/* 800EE954 000EB8B4 41 82 00 08 */ beq lbl_800EE95C +/* 800EE958 000EB8B8 48 00 01 58 */ b lbl_800EEAB0 +lbl_800EE95C: +/* 800EE95C 000EB8BC 38 61 00 68 */ addi r3, r1, 0x68 +/* 800EE960 000EB8C0 48 22 5F 59 */ bl Magnitude__9CVector3fCFv +/* 800EE964 000EB8C4 80 1F 18 7C */ lwz r0, 0x187c(r31) +/* 800EE968 000EB8C8 FF C0 08 90 */ fmr f30, f1 +/* 800EE96C 000EB8CC 2C 00 00 01 */ cmpwi r0, 1 +/* 800EE970 000EB8D0 40 82 00 18 */ bne lbl_800EE988 +/* 800EE974 000EB8D4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800EE978 000EB8D8 C0 22 91 7C */ lfs f1, lbl_805AAE9C@sda21(r2) +/* 800EE97C 000EB8DC C0 03 00 E4 */ lfs f0, 0xe4(r3) +/* 800EE980 000EB8E0 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 800EE984 000EB8E4 EF C1 F0 3A */ fmadds f30, f1, f0, f30 +lbl_800EE988: +/* 800EE988 000EB8E8 C0 02 91 80 */ lfs f0, lbl_805AAEA0@sda21(r2) +/* 800EE98C 000EB8EC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800EE990 000EB8F0 40 81 01 20 */ ble lbl_800EEAB0 +/* 800EE994 000EB8F4 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) +/* 800EE998 000EB8F8 28 00 00 00 */ cmplwi r0, 0 +/* 800EE99C 000EB8FC 40 82 00 6C */ bne lbl_800EEA08 +/* 800EE9A0 000EB900 A0 9F 1E 34 */ lhz r4, 0x1e34(r31) +/* 800EE9A4 000EB904 28 04 FF FF */ cmplwi r4, 0xffff +/* 800EE9A8 000EB908 41 82 00 4C */ beq lbl_800EE9F4 +/* 800EE9AC 000EB90C 80 BF 00 00 */ lwz r5, 0(r31) +/* 800EE9B0 000EB910 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800EE9B4 000EB914 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 800EE9B8 000EB918 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 800EE9BC 000EB91C C0 45 00 60 */ lfs f2, 0x60(r5) +/* 800EE9C0 000EB920 38 61 00 34 */ addi r3, r1, 0x34 +/* 800EE9C4 000EB924 C0 25 00 50 */ lfs f1, 0x50(r5) +/* 800EE9C8 000EB928 38 E0 00 01 */ li r7, 1 +/* 800EE9CC 000EB92C C0 05 00 40 */ lfs f0, 0x40(r5) +/* 800EE9D0 000EB930 38 A1 00 5C */ addi r5, r1, 0x5c +/* 800EE9D4 000EB934 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800EE9D8 000EB938 39 00 00 01 */ li r8, 1 +/* 800EE9DC 000EB93C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800EE9E0 000EB940 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 800EE9E4 000EB944 D0 41 00 64 */ stfs f2, 0x64(r1) +/* 800EE9E8 000EB948 48 1F B8 C9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 800EE9EC 000EB94C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800EE9F0 000EB950 90 1F 1E 2C */ stw r0, 0x1e2c(r31) +lbl_800EE9F4: +/* 800EE9F4 000EB954 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) +/* 800EE9F8 000EB958 38 81 00 30 */ addi r4, r1, 0x30 +/* 800EE9FC 000EB95C 90 01 00 30 */ stw r0, 0x30(r1) +/* 800EEA00 000EB960 80 7F 00 00 */ lwz r3, 0(r31) +/* 800EEA04 000EB964 4B F2 27 89 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +lbl_800EEA08: +/* 800EEA08 000EB968 FC 00 F0 1E */ fctiwz f0, f30 +/* 800EEA0C 000EB96C 38 81 00 28 */ addi r4, r1, 0x28 +/* 800EEA10 000EB970 38 6D 88 E0 */ addi r3, r13, lbl_805A74A0@sda21 +/* 800EEA14 000EB974 38 AD 88 E4 */ addi r5, r13, lbl_805A74A4@sda21 +/* 800EEA18 000EB978 D8 01 00 78 */ stfd f0, 0x78(r1) +/* 800EEA1C 000EB97C 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 800EEA20 000EB980 1C C0 01 F4 */ mulli r6, r0, 0x1f4 +/* 800EEA24 000EB984 38 06 02 B4 */ addi r0, r6, 0x2b4 +/* 800EEA28 000EB988 90 01 00 28 */ stw r0, 0x28(r1) +/* 800EEA2C 000EB98C 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) +/* 800EEA30 000EB990 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800EEA34 000EB994 4B F6 B6 31 */ bl "Clamp__5CMathFRCiRCiRCi" +/* 800EEA38 000EB998 7C 64 1B 78 */ mr r4, r3 +/* 800EEA3C 000EB99C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800EEA40 000EB9A0 80 84 00 00 */ lwz r4, 0(r4) +/* 800EEA44 000EB9A4 48 1F A4 69 */ bl PitchBend__11CSfxManagerF10CSfxHandlei +/* 800EEA48 000EB9A8 C0 22 91 88 */ lfs f1, lbl_805AAEA8@sda21(r2) +/* 800EEA4C 000EB9AC 38 81 00 24 */ addi r4, r1, 0x24 +/* 800EEA50 000EB9B0 C0 02 91 84 */ lfs f0, lbl_805AAEA4@sda21(r2) +/* 800EEA54 000EB9B4 38 62 91 74 */ addi r3, r2, lbl_805AAE94@sda21 +/* 800EEA58 000EB9B8 38 A2 91 78 */ addi r5, r2, lbl_805AAE98@sda21 +/* 800EEA5C 000EB9BC EC 01 07 BA */ fmadds f0, f1, f30, f0 +/* 800EEA60 000EB9C0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800EEA64 000EB9C4 4B F1 D8 51 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800EEA68 000EB9C8 C3 E3 00 00 */ lfs f31, 0(r3) +/* 800EEA6C 000EB9CC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 +/* 800EEA70 000EB9D0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800EEA74 000EB9D4 80 FF 00 00 */ lwz r7, 0(r31) +/* 800EEA78 000EB9D8 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 800EEA7C 000EB9DC 88 C1 00 08 */ lbz r6, 8(r1) +/* 800EEA80 000EB9E0 38 61 00 20 */ addi r3, r1, 0x20 +/* 800EEA84 000EB9E4 C0 47 00 60 */ lfs f2, 0x60(r7) +/* 800EEA88 000EB9E8 38 81 00 50 */ addi r4, r1, 0x50 +/* 800EEA8C 000EB9EC C0 27 00 50 */ lfs f1, 0x50(r7) +/* 800EEA90 000EB9F0 C0 07 00 40 */ lfs f0, 0x40(r7) +/* 800EEA94 000EB9F4 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800EEA98 000EB9F8 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800EEA9C 000EB9FC D0 41 00 58 */ stfs f2, 0x58(r1) +/* 800EEAA0 000EBA00 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) +/* 800EEAA4 000EBA04 90 01 00 20 */ stw r0, 0x20(r1) +/* 800EEAA8 000EBA08 48 1F B4 09 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +/* 800EEAAC 000EBA0C 48 00 00 28 */ b lbl_800EEAD4 +lbl_800EEAB0: +/* 800EEAB0 000EBA10 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) +/* 800EEAB4 000EBA14 28 00 00 00 */ cmplwi r0, 0 +/* 800EEAB8 000EBA18 41 82 00 1C */ beq lbl_800EEAD4 +/* 800EEABC 000EBA1C 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) +/* 800EEAC0 000EBA20 38 61 00 1C */ addi r3, r1, 0x1c +/* 800EEAC4 000EBA24 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800EEAC8 000EBA28 48 1F B2 81 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800EEACC 000EBA2C 38 00 00 00 */ li r0, 0 +/* 800EEAD0 000EBA30 90 1F 1E 2C */ stw r0, 0x1e2c(r31) +lbl_800EEAD4: +/* 800EEAD4 000EBA34 80 1F 18 7C */ lwz r0, 0x187c(r31) +/* 800EEAD8 000EBA38 2C 00 00 01 */ cmpwi r0, 1 +/* 800EEADC 000EBA3C 40 82 00 B0 */ bne lbl_800EEB8C +/* 800EEAE0 000EBA40 80 1F 1E 30 */ lwz r0, 0x1e30(r31) +/* 800EEAE4 000EBA44 28 00 00 00 */ cmplwi r0, 0 +/* 800EEAE8 000EBA48 40 82 00 64 */ bne lbl_800EEB4C +/* 800EEAEC 000EBA4C 80 9F 00 00 */ lwz r4, 0(r31) +/* 800EEAF0 000EBA50 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800EEAF4 000EBA54 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 800EEAF8 000EBA58 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800EEAFC 000EBA5C C0 44 00 60 */ lfs f2, 0x60(r4) +/* 800EEB00 000EBA60 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EEB04 000EBA64 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 800EEB08 000EBA68 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800EEB0C 000EBA6C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 800EEB10 000EBA70 38 80 05 F3 */ li r4, 0x5f3 +/* 800EEB14 000EBA74 38 E0 00 01 */ li r7, 1 +/* 800EEB18 000EBA78 39 00 00 01 */ li r8, 1 +/* 800EEB1C 000EBA7C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800EEB20 000EBA80 39 20 00 C8 */ li r9, 0xc8 +/* 800EEB24 000EBA84 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800EEB28 000EBA88 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800EEB2C 000EBA8C 48 1F B7 85 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 800EEB30 000EBA90 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800EEB34 000EBA94 38 81 00 14 */ addi r4, r1, 0x14 +/* 800EEB38 000EBA98 90 1F 1E 30 */ stw r0, 0x1e30(r31) +/* 800EEB3C 000EBA9C 80 1F 1E 30 */ lwz r0, 0x1e30(r31) +/* 800EEB40 000EBAA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EEB44 000EBAA4 80 7F 00 00 */ lwz r3, 0(r31) +/* 800EEB48 000EBAA8 4B F2 26 45 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +lbl_800EEB4C: +/* 800EEB4C 000EBAAC 80 DF 00 00 */ lwz r6, 0(r31) +/* 800EEB50 000EBAB0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800EEB54 000EBAB4 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 800EEB58 000EBAB8 38 81 00 38 */ addi r4, r1, 0x38 +/* 800EEB5C 000EBABC C0 46 00 60 */ lfs f2, 0x60(r6) +/* 800EEB60 000EBAC0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800EEB64 000EBAC4 C0 26 00 50 */ lfs f1, 0x50(r6) +/* 800EEB68 000EBAC8 C0 06 00 40 */ lfs f0, 0x40(r6) +/* 800EEB6C 000EBACC 38 C0 00 7F */ li r6, 0x7f +/* 800EEB70 000EBAD0 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800EEB74 000EBAD4 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800EEB78 000EBAD8 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800EEB7C 000EBADC 80 1F 1E 30 */ lwz r0, 0x1e30(r31) +/* 800EEB80 000EBAE0 90 01 00 10 */ stw r0, 0x10(r1) +/* 800EEB84 000EBAE4 48 1F B3 2D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc +/* 800EEB88 000EBAE8 48 00 00 28 */ b lbl_800EEBB0 +lbl_800EEB8C: +/* 800EEB8C 000EBAEC 80 1F 1E 30 */ lwz r0, 0x1e30(r31) +/* 800EEB90 000EBAF0 28 00 00 00 */ cmplwi r0, 0 +/* 800EEB94 000EBAF4 41 82 00 1C */ beq lbl_800EEBB0 +/* 800EEB98 000EBAF8 80 1F 1E 30 */ lwz r0, 0x1e30(r31) +/* 800EEB9C 000EBAFC 38 61 00 0C */ addi r3, r1, 0xc +/* 800EEBA0 000EBB00 90 01 00 0C */ stw r0, 0xc(r1) +/* 800EEBA4 000EBB04 48 1F B1 A5 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800EEBA8 000EBB08 38 00 00 00 */ li r0, 0 +/* 800EEBAC 000EBB0C 90 1F 1E 30 */ stw r0, 0x1e30(r31) +lbl_800EEBB0: +/* 800EEBB0 000EBB10 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 800EEBB4 000EBB14 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 800EEBB8 000EBB18 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 800EEBBC 000EBB1C CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 800EEBC0 000EBB20 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 800EEBC4 000EBB24 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 800EEBC8 000EBB28 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800EEBCC 000EBB2C 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 800EEBD0 000EBB30 7C 08 03 A6 */ mtlr r0 +/* 800EEBD4 000EBB34 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800EEBD8 000EBB38 4E 80 00 20 */ blr + +.global SelectMorphBallSounds__10CMorphBallFRC13CMaterialList +SelectMorphBallSounds__10CMorphBallFRC13CMaterialList: +/* 800EEBDC 000EBB3C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800EEBE0 000EBB40 7C 08 02 A6 */ mflr r0 +/* 800EEBE4 000EBB44 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EEBE8 000EBB48 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800EEBEC 000EBB4C 7C 9F 23 78 */ mr r31, r4 +/* 800EEBF0 000EBB50 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800EEBF4 000EBB54 7C 7E 1B 78 */ mr r30, r3 +/* 800EEBF8 000EBB58 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800EEBFC 000EBB5C 80 63 00 00 */ lwz r3, 0(r3) +/* 800EEC00 000EBB60 88 03 09 C5 */ lbz r0, 0x9c5(r3) +/* 800EEC04 000EBB64 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800EEC08 000EBB68 41 82 00 20 */ beq lbl_800EEC28 +/* 800EEC0C 000EBB6C 88 03 08 2C */ lbz r0, 0x82c(r3) +/* 800EEC10 000EBB70 28 00 00 00 */ cmplwi r0, 0 +/* 800EEC14 000EBB74 41 82 00 0C */ beq lbl_800EEC20 +/* 800EEC18 000EBB78 3B A0 08 8A */ li r29, 0x88a +/* 800EEC1C 000EBB7C 48 00 00 2C */ b lbl_800EEC48 +lbl_800EEC20: +/* 800EEC20 000EBB80 3B A0 05 C9 */ li r29, 0x5c9 +/* 800EEC24 000EBB84 48 00 00 24 */ b lbl_800EEC48 +lbl_800EEC28: +/* 800EEC28 000EBB88 3C 60 80 3D */ lis r3, lbl_803CEB94@ha +/* 800EEC2C 000EBB8C 3C A0 00 01 */ lis r5, 0x0000FFFF@ha +/* 800EEC30 000EBB90 38 83 EB 94 */ addi r4, r3, lbl_803CEB94@l +/* 800EEC34 000EBB94 38 C5 FF FF */ addi r6, r5, 0x0000FFFF@l +/* 800EEC38 000EBB98 7F E3 FB 78 */ mr r3, r31 +/* 800EEC3C 000EBB9C 38 A0 00 18 */ li r5, 0x18 +/* 800EEC40 000EBBA0 4B F2 97 65 */ bl SfxIdFromMaterial__7CPlayerFRC13CMaterialListPCUsiUs +/* 800EEC44 000EBBA4 7C 7D 07 34 */ extsh r29, r3 +lbl_800EEC48: +/* 800EEC48 000EBBA8 80 9E 00 00 */ lwz r4, 0(r30) +/* 800EEC4C 000EBBAC 7F A6 07 34 */ extsh r6, r29 +/* 800EEC50 000EBBB0 3C 06 00 00 */ addis r0, r6, 0 +/* 800EEC54 000EBBB4 38 A0 00 00 */ li r5, 0 +/* 800EEC58 000EBBB8 88 64 09 C5 */ lbz r3, 0x9c5(r4) +/* 800EEC5C 000EBBBC 50 A3 0F BC */ rlwimi r3, r5, 1, 0x1e, 0x1e +/* 800EEC60 000EBBC0 28 00 FF FF */ cmplwi r0, 0xffff +/* 800EEC64 000EBBC4 98 64 09 C5 */ stb r3, 0x9c5(r4) +/* 800EEC68 000EBBC8 41 82 00 38 */ beq lbl_800EECA0 +/* 800EEC6C 000EBBCC A0 1E 1E 34 */ lhz r0, 0x1e34(r30) +/* 800EEC70 000EBBD0 7C 00 30 00 */ cmpw r0, r6 +/* 800EEC74 000EBBD4 41 82 00 28 */ beq lbl_800EEC9C +/* 800EEC78 000EBBD8 80 1E 1E 2C */ lwz r0, 0x1e2c(r30) +/* 800EEC7C 000EBBDC 28 00 00 00 */ cmplwi r0, 0 +/* 800EEC80 000EBBE0 41 82 00 1C */ beq lbl_800EEC9C +/* 800EEC84 000EBBE4 80 1E 1E 2C */ lwz r0, 0x1e2c(r30) +/* 800EEC88 000EBBE8 38 61 00 08 */ addi r3, r1, 8 +/* 800EEC8C 000EBBEC 90 01 00 08 */ stw r0, 8(r1) +/* 800EEC90 000EBBF0 48 1F B0 B9 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800EEC94 000EBBF4 38 00 00 00 */ li r0, 0 +/* 800EEC98 000EBBF8 90 1E 1E 2C */ stw r0, 0x1e2c(r30) +lbl_800EEC9C: +/* 800EEC9C 000EBBFC B3 BE 1E 34 */ sth r29, 0x1e34(r30) +lbl_800EECA0: +/* 800EECA0 000EBC00 3C 60 80 3D */ lis r3, lbl_803CEBC4@ha +/* 800EECA4 000EBC04 3C A0 00 01 */ lis r5, 0x0000FFFF@ha +/* 800EECA8 000EBC08 38 83 EB C4 */ addi r4, r3, lbl_803CEBC4@l +/* 800EECAC 000EBC0C 38 C5 FF FF */ addi r6, r5, 0x0000FFFF@l +/* 800EECB0 000EBC10 7F E3 FB 78 */ mr r3, r31 +/* 800EECB4 000EBC14 38 A0 00 18 */ li r5, 0x18 +/* 800EECB8 000EBC18 4B F2 96 ED */ bl SfxIdFromMaterial__7CPlayerFRC13CMaterialListPCUsiUs +/* 800EECBC 000EBC1C B0 7E 1E 36 */ sth r3, 0x1e36(r30) +/* 800EECC0 000EBC20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EECC4 000EBC24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800EECC8 000EBC28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800EECCC 000EBC2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800EECD0 000EBC30 7C 08 03 A6 */ mtlr r0 +/* 800EECD4 000EBC34 38 21 00 20 */ addi r1, r1, 0x20 +/* 800EECD8 000EBC38 4E 80 00 20 */ blr + +.global TakeDamage__10CMorphBallFf +TakeDamage__10CMorphBallFf: +/* 800EECDC 000EBC3C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800EECE0 000EBC40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EECE4 000EBC44 4C 40 13 82 */ cror 2, 0, 2 +/* 800EECE8 000EBC48 40 82 00 10 */ bne lbl_800EECF8 +/* 800EECEC 000EBC4C D0 03 1E 44 */ stfs f0, 0x1e44(r3) +/* 800EECF0 000EBC50 D0 03 1E 48 */ stfs f0, 0x1e48(r3) +/* 800EECF4 000EBC54 4E 80 00 20 */ blr +lbl_800EECF8: +/* 800EECF8 000EBC58 C0 02 91 8C */ lfs f0, lbl_805AAEAC@sda21(r2) +/* 800EECFC 000EBC5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EED00 000EBC60 4C 41 13 82 */ cror 2, 1, 2 +/* 800EED04 000EBC64 40 82 00 10 */ bne lbl_800EED14 +/* 800EED08 000EBC68 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) +/* 800EED0C 000EBC6C D0 03 1E 48 */ stfs f0, 0x1e48(r3) +/* 800EED10 000EBC70 48 00 00 38 */ b lbl_800EED48 +lbl_800EED14: +/* 800EED14 000EBC74 C0 02 91 94 */ lfs f0, lbl_805AAEB4@sda21(r2) +/* 800EED18 000EBC78 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EED1C 000EBC7C 40 81 00 24 */ ble lbl_800EED40 +/* 800EED20 000EBC80 EC 41 00 28 */ fsubs f2, f1, f0 +/* 800EED24 000EBC84 C0 22 91 9C */ lfs f1, lbl_805AAEBC@sda21(r2) +/* 800EED28 000EBC88 C0 62 91 98 */ lfs f3, lbl_805AAEB8@sda21(r2) +/* 800EED2C 000EBC8C C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800EED30 000EBC90 EC 22 08 24 */ fdivs f1, f2, f1 +/* 800EED34 000EBC94 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 +/* 800EED38 000EBC98 D0 03 1E 48 */ stfs f0, 0x1e48(r3) +/* 800EED3C 000EBC9C 48 00 00 0C */ b lbl_800EED48 +lbl_800EED40: +/* 800EED40 000EBCA0 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800EED44 000EBCA4 D0 03 1E 48 */ stfs f0, 0x1e48(r3) +lbl_800EED48: +/* 800EED48 000EBCA8 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800EED4C 000EBCAC D0 03 1E 44 */ stfs f0, 0x1e44(r3) +/* 800EED50 000EBCB0 4E 80 00 20 */ blr + +.global "LoadAnimationTokens__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +"LoadAnimationTokens__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": +/* 800EED54 000EBCB4 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800EED58 000EBCB8 7C 08 02 A6 */ mflr r0 +/* 800EED5C 000EBCBC 3C A0 80 3D */ lis r5, lbl_803CEBF4@ha +/* 800EED60 000EBCC0 90 01 00 94 */ stw r0, 0x94(r1) +/* 800EED64 000EBCC4 38 A5 EB F4 */ addi r5, r5, lbl_803CEBF4@l +/* 800EED68 000EBCC8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 800EED6C 000EBCCC 93 C1 00 88 */ stw r30, 0x88(r1) +/* 800EED70 000EBCD0 93 A1 00 84 */ stw r29, 0x84(r1) +/* 800EED74 000EBCD4 7C 7D 1B 78 */ mr r29, r3 +/* 800EED78 000EBCD8 38 61 00 50 */ addi r3, r1, 0x50 +/* 800EED7C 000EBCDC 93 81 00 80 */ stw r28, 0x80(r1) +/* 800EED80 000EBCE0 7C 9C 23 78 */ mr r28, r4 +/* 800EED84 000EBCE4 38 85 01 42 */ addi r4, r5, 0x142 +/* 800EED88 000EBCE8 4B F1 5F 31 */ bl string_l__4rstlFPCc +/* 800EED8C 000EBCEC 7F 84 E3 78 */ mr r4, r28 +/* 800EED90 000EBCF0 38 61 00 40 */ addi r3, r1, 0x40 +/* 800EED94 000EBCF4 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800EED98 000EBCF8 4B F1 5E C5 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800EED9C 000EBCFC 38 61 00 6C */ addi r3, r1, 0x6c +/* 800EEDA0 000EBD00 38 81 00 40 */ addi r4, r1, 0x40 +/* 800EEDA4 000EBD04 48 24 F3 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800EEDA8 000EBD08 38 61 00 40 */ addi r3, r1, 0x40 +/* 800EEDAC 000EBD0C 48 24 ED 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800EEDB0 000EBD10 38 61 00 50 */ addi r3, r1, 0x50 +/* 800EEDB4 000EBD14 48 24 ED 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800EEDB8 000EBD18 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EEDBC 000EBD1C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800EEDC0 000EBD20 80 A1 00 6C */ lwz r5, 0x6c(r1) +/* 800EEDC4 000EBD24 81 84 00 00 */ lwz r12, 0(r4) +/* 800EEDC8 000EBD28 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EEDCC 000EBD2C 7D 89 03 A6 */ mtctr r12 +/* 800EEDD0 000EBD30 4E 80 04 21 */ bctrl +/* 800EEDD4 000EBD34 3B 81 00 60 */ addi r28, r1, 0x60 +/* 800EEDD8 000EBD38 38 81 00 20 */ addi r4, r1, 0x20 +/* 800EEDDC 000EBD3C 7F 83 E3 78 */ mr r3, r28 +/* 800EEDE0 000EBD40 48 25 20 C9 */ bl __ct__6CTokenFRC6CToken +/* 800EEDE4 000EBD44 7F 83 E3 78 */ mr r3, r28 +/* 800EEDE8 000EBD48 48 25 20 25 */ bl GetObj__6CTokenFv +/* 800EEDEC 000EBD4C 80 03 00 04 */ lwz r0, 4(r3) +/* 800EEDF0 000EBD50 38 61 00 20 */ addi r3, r1, 0x20 +/* 800EEDF4 000EBD54 38 80 FF FF */ li r4, -1 +/* 800EEDF8 000EBD58 90 01 00 68 */ stw r0, 0x68(r1) +/* 800EEDFC 000EBD5C 48 25 20 45 */ bl __dt__6CTokenFv +/* 800EEE00 000EBD60 38 00 00 00 */ li r0, 0 +/* 800EEE04 000EBD64 83 E1 00 68 */ lwz r31, 0x68(r1) +/* 800EEE08 000EBD68 90 01 00 34 */ stw r0, 0x34(r1) +/* 800EEE0C 000EBD6C 38 7D 19 58 */ addi r3, r29, 0x1958 +/* 800EEE10 000EBD70 38 81 00 30 */ addi r4, r1, 0x30 +/* 800EEE14 000EBD74 90 01 00 38 */ stw r0, 0x38(r1) +/* 800EEE18 000EBD78 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800EEE1C 000EBD7C 4B F1 79 E9 */ bl sub_80006804 +/* 800EEE20 000EBD80 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800EEE24 000EBD84 83 81 00 3C */ lwz r28, 0x3c(r1) +/* 800EEE28 000EBD88 54 00 18 38 */ slwi r0, r0, 3 +/* 800EEE2C 000EBD8C 7F DC 02 14 */ add r30, r28, r0 +/* 800EEE30 000EBD90 93 81 00 0C */ stw r28, 0xc(r1) +/* 800EEE34 000EBD94 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800EEE38 000EBD98 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800EEE3C 000EBD9C 93 81 00 08 */ stw r28, 8(r1) +/* 800EEE40 000EBDA0 48 00 00 14 */ b lbl_800EEE54 +lbl_800EEE44: +/* 800EEE44 000EBDA4 7F 83 E3 78 */ mr r3, r28 +/* 800EEE48 000EBDA8 38 80 FF FF */ li r4, -1 +/* 800EEE4C 000EBDAC 48 25 1F F5 */ bl __dt__6CTokenFv +/* 800EEE50 000EBDB0 3B 9C 00 08 */ addi r28, r28, 8 +lbl_800EEE54: +/* 800EEE54 000EBDB4 7C 1C F0 40 */ cmplw r28, r30 +/* 800EEE58 000EBDB8 40 82 FF EC */ bne lbl_800EEE44 +/* 800EEE5C 000EBDBC 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800EEE60 000EBDC0 28 03 00 00 */ cmplwi r3, 0 +/* 800EEE64 000EBDC4 41 82 00 08 */ beq lbl_800EEE6C +/* 800EEE68 000EBDC8 48 22 6A C9 */ bl Free__7CMemoryFPCv +lbl_800EEE6C: +/* 800EEE6C 000EBDCC 80 9F 00 04 */ lwz r4, 4(r31) +/* 800EEE70 000EBDD0 38 7D 19 58 */ addi r3, r29, 0x1958 +/* 800EEE74 000EBDD4 4B F1 9A E9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 800EEE78 000EBDD8 83 DF 00 0C */ lwz r30, 0xc(r31) +/* 800EEE7C 000EBDDC 48 00 00 C8 */ b lbl_800EEF44 +lbl_800EEE80: +/* 800EEE80 000EBDE0 80 7E 00 00 */ lwz r3, 0(r30) +/* 800EEE84 000EBDE4 3C 03 BC B3 */ addis r0, r3, 0xbcb3 +/* 800EEE88 000EBDE8 28 00 44 4C */ cmplwi r0, 0x444c +/* 800EEE8C 000EBDEC 41 82 00 B4 */ beq lbl_800EEF40 +/* 800EEE90 000EBDF0 3C 03 BC AD */ addis r0, r3, 0xbcad +/* 800EEE94 000EBDF4 28 00 4B 52 */ cmplwi r0, 0x4b52 +/* 800EEE98 000EBDF8 41 82 00 A8 */ beq lbl_800EEF40 +/* 800EEE9C 000EBDFC 3C 03 AB A8 */ addis r0, r3, 0xaba8 +/* 800EEEA0 000EBE00 28 00 54 52 */ cmplwi r0, 0x5452 +/* 800EEEA4 000EBE04 41 82 00 9C */ beq lbl_800EEF40 +/* 800EEEA8 000EBE08 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800EEEAC 000EBE0C 7F C5 F3 78 */ mr r5, r30 +/* 800EEEB0 000EBE10 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EEEB4 000EBE14 81 84 00 00 */ lwz r12, 0(r4) +/* 800EEEB8 000EBE18 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800EEEBC 000EBE1C 7D 89 03 A6 */ mtctr r12 +/* 800EEEC0 000EBE20 4E 80 04 21 */ bctrl +/* 800EEEC4 000EBE24 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EEEC8 000EBE28 38 81 00 18 */ addi r4, r1, 0x18 +/* 800EEECC 000EBE2C 48 25 1F DD */ bl __ct__6CTokenFRC6CToken +/* 800EEED0 000EBE30 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EEED4 000EBE34 38 80 FF FF */ li r4, -1 +/* 800EEED8 000EBE38 48 25 1F 69 */ bl __dt__6CTokenFv +/* 800EEEDC 000EBE3C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EEEE0 000EBE40 48 25 1E A5 */ bl Lock__6CTokenFv +/* 800EEEE4 000EBE44 80 1D 19 5C */ lwz r0, 0x195c(r29) +/* 800EEEE8 000EBE48 80 BD 19 60 */ lwz r5, 0x1960(r29) +/* 800EEEEC 000EBE4C 7C 00 28 00 */ cmpw r0, r5 +/* 800EEEF0 000EBE50 41 80 00 1C */ blt lbl_800EEF0C +/* 800EEEF4 000EBE54 2C 05 00 00 */ cmpwi r5, 0 +/* 800EEEF8 000EBE58 38 7D 19 58 */ addi r3, r29, 0x1958 +/* 800EEEFC 000EBE5C 38 80 00 04 */ li r4, 4 +/* 800EEF00 000EBE60 41 82 00 08 */ beq lbl_800EEF08 +/* 800EEF04 000EBE64 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800EEF08: +/* 800EEF08 000EBE68 4B F1 9A 55 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_800EEF0C: +/* 800EEF0C 000EBE6C 80 1D 19 5C */ lwz r0, 0x195c(r29) +/* 800EEF10 000EBE70 80 7D 19 64 */ lwz r3, 0x1964(r29) +/* 800EEF14 000EBE74 54 00 18 38 */ slwi r0, r0, 3 +/* 800EEF18 000EBE78 7C 63 02 15 */ add. r3, r3, r0 +/* 800EEF1C 000EBE7C 41 82 00 0C */ beq lbl_800EEF28 +/* 800EEF20 000EBE80 38 81 00 28 */ addi r4, r1, 0x28 +/* 800EEF24 000EBE84 48 25 1F 85 */ bl __ct__6CTokenFRC6CToken +lbl_800EEF28: +/* 800EEF28 000EBE88 80 BD 19 5C */ lwz r5, 0x195c(r29) +/* 800EEF2C 000EBE8C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EEF30 000EBE90 38 80 FF FF */ li r4, -1 +/* 800EEF34 000EBE94 38 05 00 01 */ addi r0, r5, 1 +/* 800EEF38 000EBE98 90 1D 19 5C */ stw r0, 0x195c(r29) +/* 800EEF3C 000EBE9C 48 25 1F 05 */ bl __dt__6CTokenFv +lbl_800EEF40: +/* 800EEF40 000EBEA0 3B DE 00 08 */ addi r30, r30, 8 +lbl_800EEF44: +/* 800EEF44 000EBEA4 80 1F 00 04 */ lwz r0, 4(r31) +/* 800EEF48 000EBEA8 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800EEF4C 000EBEAC 54 00 18 38 */ slwi r0, r0, 3 +/* 800EEF50 000EBEB0 7C 03 02 14 */ add r0, r3, r0 +/* 800EEF54 000EBEB4 7C 1E 00 40 */ cmplw r30, r0 +/* 800EEF58 000EBEB8 40 82 FF 28 */ bne lbl_800EEE80 +/* 800EEF5C 000EBEBC 38 61 00 60 */ addi r3, r1, 0x60 +/* 800EEF60 000EBEC0 38 80 00 00 */ li r4, 0 +/* 800EEF64 000EBEC4 48 25 1E DD */ bl __dt__6CTokenFv +/* 800EEF68 000EBEC8 38 61 00 6C */ addi r3, r1, 0x6c +/* 800EEF6C 000EBECC 48 24 EB 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800EEF70 000EBED0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800EEF74 000EBED4 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 800EEF78 000EBED8 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 800EEF7C 000EBEDC 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 800EEF80 000EBEE0 83 81 00 80 */ lwz r28, 0x80(r1) +/* 800EEF84 000EBEE4 7C 08 03 A6 */ mtlr r0 +/* 800EEF88 000EBEE8 38 21 00 90 */ addi r1, r1, 0x90 +/* 800EEF8C 000EBEEC 4E 80 00 20 */ blr + +.global SetBombJumpState__10CMorphBallFQ210CMorphBall14EBombJumpState +SetBombJumpState__10CMorphBallFQ210CMorphBall14EBombJumpState: +/* 800EEF90 000EBEF0 90 83 1E 40 */ stw r4, 0x1e40(r3) +/* 800EEF94 000EBEF4 4E 80 00 20 */ blr + +.global GetBombJumpState__10CMorphBallCFv +GetBombJumpState__10CMorphBallCFv: +/* 800EEF98 000EBEF8 80 63 1E 40 */ lwz r3, 0x1e40(r3) +/* 800EEF9C 000EBEFC 4E 80 00 20 */ blr + +.global SetBallBoostState__10CMorphBallFQ210CMorphBall15EBallBoostState +SetBallBoostState__10CMorphBallFQ210CMorphBall15EBallBoostState: +/* 800EEFA0 000EBF00 90 83 1E 3C */ stw r4, 0x1e3c(r3) +/* 800EEFA4 000EBF04 4E 80 00 20 */ blr + +.global GetBallBoostState__10CMorphBallCFv +GetBallBoostState__10CMorphBallCFv: +/* 800EEFA8 000EBF08 80 63 1E 3C */ lwz r3, 0x1e3c(r3) +/* 800EEFAC 000EBF0C 4E 80 00 20 */ blr + +.global SetAsProjectile__10CMorphBallFv +SetAsProjectile__10CMorphBallFv: +/* 800EEFB0 000EBF10 38 00 00 01 */ li r0, 1 +/* 800EEFB4 000EBF14 98 03 19 54 */ stb r0, 0x1954(r3) +/* 800EEFB8 000EBF18 4E 80 00 20 */ blr + +.global TouchModel__10CMorphBallCFRC13CStateManager +TouchModel__10CMorphBallCFRC13CStateManager: +/* 800EEFBC 000EBF1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EEFC0 000EBF20 7C 08 02 A6 */ mflr r0 +/* 800EEFC4 000EBF24 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EEFC8 000EBF28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800EEFCC 000EBF2C 7C 9F 23 78 */ mr r31, r4 +/* 800EEFD0 000EBF30 93 C1 00 08 */ stw r30, 8(r1) +/* 800EEFD4 000EBF34 7C 7E 1B 78 */ mr r30, r3 +/* 800EEFD8 000EBF38 80 63 00 58 */ lwz r3, 0x58(r3) +/* 800EEFDC 000EBF3C 80 BE 00 5C */ lwz r5, 0x5c(r30) +/* 800EEFE0 000EBF40 48 02 6D 31 */ bl Touch__10CModelDataCFRC13CStateManageri +/* 800EEFE4 000EBF44 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 800EEFE8 000EBF48 38 80 00 13 */ li r4, 0x13 +/* 800EEFEC 000EBF4C 80 63 00 00 */ lwz r3, 0(r3) +/* 800EEFF0 000EBF50 4B FA 2A D1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800EEFF4 000EBF54 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800EEFF8 000EBF58 41 82 00 1C */ beq lbl_800EF014 +/* 800EEFFC 000EBF5C 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 800EF000 000EBF60 28 03 00 00 */ cmplwi r3, 0 +/* 800EF004 000EBF64 41 82 00 10 */ beq lbl_800EF014 +/* 800EF008 000EBF68 80 BE 00 64 */ lwz r5, 0x64(r30) +/* 800EF00C 000EBF6C 7F E4 FB 78 */ mr r4, r31 +/* 800EF010 000EBF70 48 02 6D 01 */ bl Touch__10CModelDataCFRC13CStateManageri +lbl_800EF014: +/* 800EF014 000EBF74 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 800EF018 000EBF78 7F E4 FB 78 */ mr r4, r31 +/* 800EF01C 000EBF7C 80 BE 00 6C */ lwz r5, 0x6c(r30) +/* 800EF020 000EBF80 48 02 6C F1 */ bl Touch__10CModelDataCFRC13CStateManageri +/* 800EF024 000EBF84 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EF028 000EBF88 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800EF02C 000EBF8C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800EF030 000EBF90 7C 08 03 A6 */ mtlr r0 +/* 800EF034 000EBF94 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EF038 000EBF98 4E 80 00 20 */ blr + +.global RenderEnergyDrainEffects__10CMorphBallCFRC13CStateManager +RenderEnergyDrainEffects__10CMorphBallCFRC13CStateManager: +/* 800EF03C 000EBF9C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800EF040 000EBFA0 7C 08 02 A6 */ mflr r0 +/* 800EF044 000EBFA4 90 01 00 34 */ stw r0, 0x34(r1) +/* 800EF048 000EBFA8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800EF04C 000EBFAC 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800EF050 000EBFB0 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800EF054 000EBFB4 7C 9D 23 78 */ mr r29, r4 +/* 800EF058 000EBFB8 83 E3 00 00 */ lwz r31, 0(r3) +/* 800EF05C 000EBFBC 83 DF 02 80 */ lwz r30, 0x280(r31) +/* 800EF060 000EBFC0 48 00 00 40 */ b lbl_800EF0A0 +lbl_800EF064: +/* 800EF064 000EBFC4 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800EF068 000EBFC8 7F A3 EB 78 */ mr r3, r29 +/* 800EF06C 000EBFCC 38 81 00 0C */ addi r4, r1, 0xc +/* 800EF070 000EBFD0 B0 01 00 08 */ sth r0, 8(r1) +/* 800EF074 000EBFD4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800EF078 000EBFD8 4B F5 D5 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800EF07C 000EBFDC 7C 64 1B 78 */ mr r4, r3 +/* 800EF080 000EBFE0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800EF084 000EBFE4 4B FB 64 1D */ bl sub_800a54a0 +/* 800EF088 000EBFE8 4B FB 63 ED */ bl "CastTo<12CMetroidBeta>__10CPatternedFP7CEntity" +/* 800EF08C 000EBFEC 28 03 00 00 */ cmplwi r3, 0 +/* 800EF090 000EBFF0 41 82 00 0C */ beq lbl_800EF09C +/* 800EF094 000EBFF4 48 0D 65 D5 */ bl RenderHitBallEffect__12CMetroidBetaCFv +/* 800EF098 000EBFF8 48 00 00 20 */ b lbl_800EF0B8 +lbl_800EF09C: +/* 800EF09C 000EBFFC 3B DE 00 08 */ addi r30, r30, 8 +lbl_800EF0A0: +/* 800EF0A0 000EC000 80 1F 02 78 */ lwz r0, 0x278(r31) +/* 800EF0A4 000EC004 80 7F 02 80 */ lwz r3, 0x280(r31) +/* 800EF0A8 000EC008 54 00 18 38 */ slwi r0, r0, 3 +/* 800EF0AC 000EC00C 7C 03 02 14 */ add r0, r3, r0 +/* 800EF0B0 000EC010 7C 1E 00 40 */ cmplw r30, r0 +/* 800EF0B4 000EC014 40 82 FF B0 */ bne lbl_800EF064 +lbl_800EF0B8: +/* 800EF0B8 000EC018 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800EF0BC 000EC01C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800EF0C0 000EC020 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800EF0C4 000EC024 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800EF0C8 000EC028 7C 08 03 A6 */ mtlr r0 +/* 800EF0CC 000EC02C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800EF0D0 000EC030 4E 80 00 20 */ blr + +.global RenderSpiderBallElectricalEffects__10CMorphBallCFv +RenderSpiderBallElectricalEffects__10CMorphBallCFv: +/* 800EF0D4 000EC034 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800EF0D8 000EC038 7C 08 02 A6 */ mflr r0 +/* 800EF0DC 000EC03C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EF0E0 000EC040 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800EF0E4 000EC044 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800EF0E8 000EC048 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800EF0EC 000EC04C 7C 7D 1B 78 */ mr r29, r3 +/* 800EF0F0 000EC050 3B DD 19 E8 */ addi r30, r29, 0x19e8 +/* 800EF0F4 000EC054 83 E3 1B 6C */ lwz r31, 0x1b6c(r3) +/* 800EF0F8 000EC058 48 00 00 28 */ b lbl_800EF120 +lbl_800EF0FC: +/* 800EF0FC 000EC05C 80 1F 00 08 */ lwz r0, 8(r31) +/* 800EF100 000EC060 1C 60 00 0C */ mulli r3, r0, 0xc +/* 800EF104 000EC064 38 03 00 04 */ addi r0, r3, 4 +/* 800EF108 000EC068 7C 7E 00 2E */ lwzx r3, r30, r0 +/* 800EF10C 000EC06C 81 83 00 00 */ lwz r12, 0(r3) +/* 800EF110 000EC070 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800EF114 000EC074 7D 89 03 A6 */ mtctr r12 +/* 800EF118 000EC078 4E 80 04 21 */ bctrl +/* 800EF11C 000EC07C 83 FF 00 04 */ lwz r31, 4(r31) +lbl_800EF120: +/* 800EF120 000EC080 80 1D 1B 70 */ lwz r0, 0x1b70(r29) +/* 800EF124 000EC084 7C 1F 00 40 */ cmplw r31, r0 +/* 800EF128 000EC088 40 82 FF D4 */ bne lbl_800EF0FC +/* 800EF12C 000EC08C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EF130 000EC090 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800EF134 000EC094 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800EF138 000EC098 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800EF13C 000EC09C 7C 08 03 A6 */ mtlr r0 +/* 800EF140 000EC0A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800EF144 000EC0A4 4E 80 00 20 */ blr + +.global UpdateSpiderBallElectricalEffects__10CMorphBallFv +UpdateSpiderBallElectricalEffects__10CMorphBallFv: +/* 800EF148 000EC0A8 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800EF14C 000EC0AC 7C 08 02 A6 */ mflr r0 +/* 800EF150 000EC0B0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800EF154 000EC0B4 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 800EF158 000EC0B8 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800EF15C 000EC0BC 93 A1 00 94 */ stw r29, 0x94(r1) +/* 800EF160 000EC0C0 7C 7D 1B 78 */ mr r29, r3 +/* 800EF164 000EC0C4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EF168 000EC0C8 93 81 00 90 */ stw r28, 0x90(r1) +/* 800EF16C 000EC0CC 7F A4 EB 78 */ mr r4, r29 +/* 800EF170 000EC0D0 83 FD 1B 6C */ lwz r31, 0x1b6c(r29) +/* 800EF174 000EC0D4 48 00 75 81 */ bl GetBallToWorld__10CMorphBallCFv +/* 800EF178 000EC0D8 38 61 00 48 */ addi r3, r1, 0x48 +/* 800EF17C 000EC0DC 38 81 00 18 */ addi r4, r1, 0x18 +/* 800EF180 000EC0E0 48 22 39 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800EF184 000EC0E4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800EF188 000EC0E8 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 800EF18C 000EC0EC C0 61 00 54 */ lfs f3, 0x54(r1) +/* 800EF190 000EC0F0 3B DD 19 E8 */ addi r30, r29, 0x19e8 +/* 800EF194 000EC0F4 C0 A1 00 74 */ lfs f5, 0x74(r1) +/* 800EF198 000EC0F8 C0 81 00 64 */ lfs f4, 0x64(r1) +/* 800EF19C 000EC0FC C0 23 00 04 */ lfs f1, 4(r3) +/* 800EF1A0 000EC100 C0 03 00 08 */ lfs f0, 8(r3) +/* 800EF1A4 000EC104 D0 61 00 0C */ stfs f3, 0xc(r1) +/* 800EF1A8 000EC108 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 800EF1AC 000EC10C D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 800EF1B0 000EC110 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800EF1B4 000EC114 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 800EF1B8 000EC118 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800EF1BC 000EC11C 48 00 01 00 */ b lbl_800EF2BC +lbl_800EF1C0: +/* 800EF1C0 000EC120 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 800EF1C4 000EC124 80 BF 00 0C */ lwz r5, 0xc(r31) +/* 800EF1C8 000EC128 7C 03 28 40 */ cmplw r3, r5 +/* 800EF1CC 000EC12C 41 80 00 2C */ blt lbl_800EF1F8 +/* 800EF1D0 000EC130 80 1F 00 08 */ lwz r0, 8(r31) +/* 800EF1D4 000EC134 38 C0 00 00 */ li r6, 0 +/* 800EF1D8 000EC138 7F E4 FB 78 */ mr r4, r31 +/* 800EF1DC 000EC13C 38 7D 1B 68 */ addi r3, r29, 0x1b68 +/* 800EF1E0 000EC140 1C A0 00 0C */ mulli r5, r0, 0xc +/* 800EF1E4 000EC144 38 05 00 08 */ addi r0, r5, 8 +/* 800EF1E8 000EC148 7C DE 01 AE */ stbx r6, r30, r0 +/* 800EF1EC 000EC14C 48 00 B2 4D */ bl sub_800fa438 +/* 800EF1F0 000EC150 7C 7F 1B 78 */ mr r31, r3 +/* 800EF1F4 000EC154 48 00 00 C8 */ b lbl_800EF2BC +lbl_800EF1F8: +/* 800EF1F8 000EC158 3C 00 43 30 */ lis r0, 0x4330 +/* 800EF1FC 000EC15C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800EF200 000EC160 90 61 00 7C */ stw r3, 0x7c(r1) +/* 800EF204 000EC164 38 61 00 08 */ addi r3, r1, 8 +/* 800EF208 000EC168 80 9F 00 08 */ lwz r4, 8(r31) +/* 800EF20C 000EC16C FC 40 08 90 */ fmr f2, f1 +/* 800EF210 000EC170 90 01 00 78 */ stw r0, 0x78(r1) +/* 800EF214 000EC174 FC 60 08 90 */ fmr f3, f1 +/* 800EF218 000EC178 C8 A2 91 A0 */ lfd f5, lbl_805AAEC0@sda21(r2) +/* 800EF21C 000EC17C 1C 84 00 0C */ mulli r4, r4, 0xc +/* 800EF220 000EC180 C8 01 00 78 */ lfd f0, 0x78(r1) +/* 800EF224 000EC184 90 A1 00 84 */ stw r5, 0x84(r1) +/* 800EF228 000EC188 EC 80 28 28 */ fsubs f4, f0, f5 +/* 800EF22C 000EC18C 38 84 00 04 */ addi r4, r4, 4 +/* 800EF230 000EC190 90 01 00 80 */ stw r0, 0x80(r1) +/* 800EF234 000EC194 7F 9E 20 2E */ lwzx r28, r30, r4 +/* 800EF238 000EC198 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 800EF23C 000EC19C EC 00 28 28 */ fsubs f0, f0, f5 +/* 800EF240 000EC1A0 EC 04 00 24 */ fdivs f0, f4, f0 +/* 800EF244 000EC1A4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800EF248 000EC1A8 48 27 41 A5 */ bl __ct__6CColorFffff +/* 800EF24C 000EC1AC 81 9C 00 00 */ lwz r12, 0(r28) +/* 800EF250 000EC1B0 7C 64 1B 78 */ mr r4, r3 +/* 800EF254 000EC1B4 7F 83 E3 78 */ mr r3, r28 +/* 800EF258 000EC1B8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800EF25C 000EC1BC 7D 89 03 A6 */ mtctr r12 +/* 800EF260 000EC1C0 4E 80 04 21 */ bctrl +/* 800EF264 000EC1C4 80 1F 00 08 */ lwz r0, 8(r31) +/* 800EF268 000EC1C8 38 81 00 0C */ addi r4, r1, 0xc +/* 800EF26C 000EC1CC 1C 60 00 0C */ mulli r3, r0, 0xc +/* 800EF270 000EC1D0 38 03 00 04 */ addi r0, r3, 4 +/* 800EF274 000EC1D4 7C 7E 00 2E */ lwzx r3, r30, r0 +/* 800EF278 000EC1D8 81 83 00 00 */ lwz r12, 0(r3) +/* 800EF27C 000EC1DC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800EF280 000EC1E0 7D 89 03 A6 */ mtctr r12 +/* 800EF284 000EC1E4 4E 80 04 21 */ bctrl +/* 800EF288 000EC1E8 80 1F 00 08 */ lwz r0, 8(r31) +/* 800EF28C 000EC1EC 38 81 00 48 */ addi r4, r1, 0x48 +/* 800EF290 000EC1F0 1C 60 00 0C */ mulli r3, r0, 0xc +/* 800EF294 000EC1F4 38 03 00 04 */ addi r0, r3, 4 +/* 800EF298 000EC1F8 7C 7E 00 2E */ lwzx r3, r30, r0 +/* 800EF29C 000EC1FC 81 83 00 00 */ lwz r12, 0(r3) +/* 800EF2A0 000EC200 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800EF2A4 000EC204 7D 89 03 A6 */ mtctr r12 +/* 800EF2A8 000EC208 4E 80 04 21 */ bctrl +/* 800EF2AC 000EC20C 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 800EF2B0 000EC210 38 03 00 01 */ addi r0, r3, 1 +/* 800EF2B4 000EC214 90 1F 00 10 */ stw r0, 0x10(r31) +/* 800EF2B8 000EC218 83 FF 00 04 */ lwz r31, 4(r31) +lbl_800EF2BC: +/* 800EF2BC 000EC21C 80 1D 1B 70 */ lwz r0, 0x1b70(r29) +/* 800EF2C0 000EC220 7C 1F 00 40 */ cmplw r31, r0 +/* 800EF2C4 000EC224 40 82 FE FC */ bne lbl_800EF1C0 +/* 800EF2C8 000EC228 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800EF2CC 000EC22C 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 800EF2D0 000EC230 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 800EF2D4 000EC234 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 800EF2D8 000EC238 83 81 00 90 */ lwz r28, 0x90(r1) +/* 800EF2DC 000EC23C 7C 08 03 A6 */ mtlr r0 +/* 800EF2E0 000EC240 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800EF2E4 000EC244 4E 80 00 20 */ blr + +.global AddSpiderBallElectricalEffect__10CMorphBallFv +AddSpiderBallElectricalEffect__10CMorphBallFv: +/* 800EF2E8 000EC248 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 800EF2EC 000EC24C 7C 08 02 A6 */ mflr r0 +/* 800EF2F0 000EC250 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 800EF2F4 000EC254 DB E1 00 C0 */ stfd f31, 0xc0(r1) +/* 800EF2F8 000EC258 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 +/* 800EF2FC 000EC25C DB C1 00 B0 */ stfd f30, 0xb0(r1) +/* 800EF300 000EC260 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 +/* 800EF304 000EC264 DB A1 00 A0 */ stfd f29, 0xa0(r1) +/* 800EF308 000EC268 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 +/* 800EF30C 000EC26C DB 81 00 90 */ stfd f28, 0x90(r1) +/* 800EF310 000EC270 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 +/* 800EF314 000EC274 DB 61 00 80 */ stfd f27, 0x80(r1) +/* 800EF318 000EC278 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 +/* 800EF31C 000EC27C DB 41 00 70 */ stfd f26, 0x70(r1) +/* 800EF320 000EC280 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 +/* 800EF324 000EC284 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 800EF328 000EC288 7C 7F 1B 78 */ mr r31, r3 +/* 800EF32C 000EC28C 3B 40 00 00 */ li r26, 0 +/* 800EF330 000EC290 80 03 19 E4 */ lwz r0, 0x19e4(r3) +/* 800EF334 000EC294 38 DF 19 E8 */ addi r6, r31, 0x19e8 +/* 800EF338 000EC298 7C C3 33 78 */ mr r3, r6 +/* 800EF33C 000EC29C 7C 09 03 A6 */ mtctr r0 +/* 800EF340 000EC2A0 2C 00 00 00 */ cmpwi r0, 0 +/* 800EF344 000EC2A4 40 81 02 8C */ ble lbl_800EF5D0 +lbl_800EF348: +/* 800EF348 000EC2A8 88 03 00 08 */ lbz r0, 8(r3) +/* 800EF34C 000EC2AC 28 00 00 00 */ cmplwi r0, 0 +/* 800EF350 000EC2B0 40 82 02 74 */ bne lbl_800EF5C4 +/* 800EF354 000EC2B4 1C BA 00 0C */ mulli r5, r26, 0xc +/* 800EF358 000EC2B8 38 00 00 01 */ li r0, 1 +/* 800EF35C 000EC2BC 38 7F 1B 80 */ addi r3, r31, 0x1b80 +/* 800EF360 000EC2C0 38 80 00 04 */ li r4, 4 +/* 800EF364 000EC2C4 7F 66 2A 14 */ add r27, r6, r5 +/* 800EF368 000EC2C8 38 A0 00 08 */ li r5, 8 +/* 800EF36C 000EC2CC 98 1B 00 08 */ stb r0, 8(r27) +/* 800EF370 000EC2D0 48 22 32 25 */ bl Range__9CRandom16Fii +/* 800EF374 000EC2D4 83 BF 1B 70 */ lwz r29, 0x1b70(r31) +/* 800EF378 000EC2D8 3C 80 80 3D */ lis r4, lbl_803CEBF4@ha +/* 800EF37C 000EC2DC 38 84 EB F4 */ addi r4, r4, lbl_803CEBF4@l +/* 800EF380 000EC2E0 7C 7E 1B 78 */ mr r30, r3 +/* 800EF384 000EC2E4 83 9D 00 00 */ lwz r28, 0(r29) +/* 800EF388 000EC2E8 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EF38C 000EC2EC 38 60 00 14 */ li r3, 0x14 +/* 800EF390 000EC2F0 38 A0 00 00 */ li r5, 0 +/* 800EF394 000EC2F4 48 22 64 85 */ bl __nwa__FUlPCcPCc +/* 800EF398 000EC2F8 7C 65 1B 79 */ or. r5, r3, r3 +/* 800EF39C 000EC2FC 41 82 00 0C */ beq lbl_800EF3A8 +/* 800EF3A0 000EC300 93 85 00 00 */ stw r28, 0(r5) +/* 800EF3A4 000EC304 93 A5 00 04 */ stw r29, 4(r5) +lbl_800EF3A8: +/* 800EF3A8 000EC308 34 65 00 08 */ addic. r3, r5, 8 +/* 800EF3AC 000EC30C 41 82 00 14 */ beq lbl_800EF3C0 +/* 800EF3B0 000EC310 93 43 00 00 */ stw r26, 0(r3) +/* 800EF3B4 000EC314 38 00 00 00 */ li r0, 0 +/* 800EF3B8 000EC318 93 C3 00 04 */ stw r30, 4(r3) +/* 800EF3BC 000EC31C 90 03 00 08 */ stw r0, 8(r3) +lbl_800EF3C0: +/* 800EF3C0 000EC320 80 1F 1B 6C */ lwz r0, 0x1b6c(r31) +/* 800EF3C4 000EC324 7C 1D 00 40 */ cmplw r29, r0 +/* 800EF3C8 000EC328 40 82 00 08 */ bne lbl_800EF3D0 +/* 800EF3CC 000EC32C 90 BF 1B 6C */ stw r5, 0x1b6c(r31) +lbl_800EF3D0: +/* 800EF3D0 000EC330 80 85 00 00 */ lwz r4, 0(r5) +/* 800EF3D4 000EC334 38 7F 1B 80 */ addi r3, r31, 0x1b80 +/* 800EF3D8 000EC338 90 A4 00 04 */ stw r5, 4(r4) +/* 800EF3DC 000EC33C 80 85 00 04 */ lwz r4, 4(r5) +/* 800EF3E0 000EC340 90 A4 00 00 */ stw r5, 0(r4) +/* 800EF3E4 000EC344 80 9F 1B 7C */ lwz r4, 0x1b7c(r31) +/* 800EF3E8 000EC348 38 04 00 01 */ addi r0, r4, 1 +/* 800EF3EC 000EC34C 90 1F 1B 7C */ stw r0, 0x1b7c(r31) +/* 800EF3F0 000EC350 83 9B 00 04 */ lwz r28, 4(r27) +/* 800EF3F4 000EC354 48 22 31 2D */ bl Next__9CRandom16Fv +/* 800EF3F8 000EC358 54 60 05 EE */ rlwinm r0, r3, 0, 0x17, 0x17 +/* 800EF3FC 000EC35C 2C 00 00 80 */ cmpwi r0, 0x80 +/* 800EF400 000EC360 40 80 00 0C */ bge lbl_800EF40C +/* 800EF404 000EC364 C3 E2 91 A8 */ lfs f31, lbl_805AAEC8@sda21(r2) +/* 800EF408 000EC368 48 00 00 08 */ b lbl_800EF410 +lbl_800EF40C: +/* 800EF40C 000EC36C C3 E2 91 5C */ lfs f31, lbl_805AAE7C@sda21(r2) +lbl_800EF410: +/* 800EF410 000EC370 7F E3 FB 78 */ mr r3, r31 +/* 800EF414 000EC374 48 00 99 F1 */ bl GetBallRadius__10CMorphBallCFv +/* 800EF418 000EC378 C0 02 91 AC */ lfs f0, lbl_805AAECC@sda21(r2) +/* 800EF41C 000EC37C 38 7F 1B 80 */ addi r3, r31, 0x1b80 +/* 800EF420 000EC380 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EF424 000EC384 EF DF 00 32 */ fmuls f30, f31, f0 +/* 800EF428 000EC388 48 22 30 B5 */ bl Float__9CRandom16Fv +/* 800EF42C 000EC38C C0 62 91 B4 */ lfs f3, lbl_805AAED4@sda21(r2) +/* 800EF430 000EC390 38 7F 1B 80 */ addi r3, r31, 0x1b80 +/* 800EF434 000EC394 C0 42 91 B0 */ lfs f2, lbl_805AAED0@sda21(r2) +/* 800EF438 000EC398 C0 02 91 B8 */ lfs f0, lbl_805AAED8@sda21(r2) +/* 800EF43C 000EC39C EF A3 10 7C */ fnmsubs f29, f3, f1, f2 +/* 800EF440 000EC3A0 EF BD 00 32 */ fmuls f29, f29, f0 +/* 800EF444 000EC3A4 48 22 30 99 */ bl Float__9CRandom16Fv +/* 800EF448 000EC3A8 C0 62 91 B4 */ lfs f3, lbl_805AAED4@sda21(r2) +/* 800EF44C 000EC3AC C0 02 91 B0 */ lfs f0, lbl_805AAED0@sda21(r2) +/* 800EF450 000EC3B0 C0 42 91 BC */ lfs f2, lbl_805AAEDC@sda21(r2) +/* 800EF454 000EC3B4 EC 23 00 7C */ fnmsubs f1, f3, f1, f0 +/* 800EF458 000EC3B8 C0 02 91 B8 */ lfs f0, lbl_805AAED8@sda21(r2) +/* 800EF45C 000EC3BC EF 42 08 2A */ fadds f26, f2, f1 +/* 800EF460 000EC3C0 EF 5A 00 32 */ fmuls f26, f26, f0 +/* 800EF464 000EC3C4 FC 20 D0 90 */ fmr f1, f26 +/* 800EF468 000EC3C8 48 22 58 DD */ bl FastCosR__5CMathFf +/* 800EF46C 000EC3CC FF 80 08 90 */ fmr f28, f1 +/* 800EF470 000EC3D0 FC 20 E8 90 */ fmr f1, f29 +/* 800EF474 000EC3D4 48 22 58 D1 */ bl FastCosR__5CMathFf +/* 800EF478 000EC3D8 EF 61 07 32 */ fmuls f27, f1, f28 +/* 800EF47C 000EC3DC FC 20 E8 90 */ fmr f1, f29 +/* 800EF480 000EC3E0 48 22 59 71 */ bl FastSinR__5CMathFf +/* 800EF484 000EC3E4 FF 80 08 90 */ fmr f28, f1 +/* 800EF488 000EC3E8 FC 20 E8 90 */ fmr f1, f29 +/* 800EF48C 000EC3EC 48 22 58 B9 */ bl FastCosR__5CMathFf +/* 800EF490 000EC3F0 FF A0 08 90 */ fmr f29, f1 +/* 800EF494 000EC3F4 FC 20 D0 90 */ fmr f1, f26 +/* 800EF498 000EC3F8 48 22 59 59 */ bl FastSinR__5CMathFf +/* 800EF49C 000EC3FC FC 00 08 50 */ fneg f0, f1 +/* 800EF4A0 000EC400 C0 42 91 C0 */ lfs f2, lbl_805AAEE0@sda21(r2) +/* 800EF4A4 000EC404 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800EF4A8 000EC408 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800EF4AC 000EC40C EC C2 07 B2 */ fmuls f6, f2, f30 +/* 800EF4B0 000EC410 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 800EF4B4 000EC414 EC 60 07 72 */ fmuls f3, f0, f29 +/* 800EF4B8 000EC418 C0 A2 91 C4 */ lfs f5, lbl_805AAEE4@sda21(r2) +/* 800EF4BC 000EC41C EC 3F 07 32 */ fmuls f1, f31, f28 +/* 800EF4C0 000EC420 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) +/* 800EF4C4 000EC424 EC 1F 06 F2 */ fmuls f0, f31, f27 +/* 800EF4C8 000EC428 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800EF4CC 000EC42C EC 9F 00 F2 */ fmuls f4, f31, f3 +/* 800EF4D0 000EC430 C0 62 91 C8 */ lfs f3, lbl_805AAEE8@sda21(r2) +/* 800EF4D4 000EC434 EC 25 00 72 */ fmuls f1, f5, f1 +/* 800EF4D8 000EC438 38 61 00 20 */ addi r3, r1, 0x20 +/* 800EF4DC 000EC43C EC 05 00 32 */ fmuls f0, f5, f0 +/* 800EF4E0 000EC440 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800EF4E4 000EC444 ED 02 08 2A */ fadds f8, f2, f1 +/* 800EF4E8 000EC448 EC E2 00 2A */ fadds f7, f2, f0 +/* 800EF4EC 000EC44C EC 85 01 32 */ fmuls f4, f5, f4 +/* 800EF4F0 000EC450 EC 22 40 28 */ fsubs f1, f2, f8 +/* 800EF4F4 000EC454 D1 01 00 0C */ stfs f8, 0xc(r1) +/* 800EF4F8 000EC458 EC 02 38 28 */ fsubs f0, f2, f7 +/* 800EF4FC 000EC45C EC 86 20 2A */ fadds f4, f6, f4 +/* 800EF500 000EC460 D0 E1 00 10 */ stfs f7, 0x10(r1) +/* 800EF504 000EC464 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800EF508 000EC468 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800EF50C 000EC46C EC 5E 20 28 */ fsubs f2, f30, f4 +/* 800EF510 000EC470 D0 81 00 08 */ stfs f4, 8(r1) +/* 800EF514 000EC474 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800EF518 000EC478 EC 23 00 B2 */ fmuls f1, f3, f2 +/* 800EF51C 000EC47C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800EF520 000EC480 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800EF524 000EC484 48 22 45 ED */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800EF528 000EC488 7F 83 E3 78 */ mr r3, r28 +/* 800EF52C 000EC48C 38 81 00 20 */ addi r4, r1, 0x20 +/* 800EF530 000EC490 81 9C 00 00 */ lwz r12, 0(r28) +/* 800EF534 000EC494 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800EF538 000EC498 7D 89 03 A6 */ mtctr r12 +/* 800EF53C 000EC49C 4E 80 04 21 */ bctrl +/* 800EF540 000EC4A0 3B 40 00 00 */ li r26, 0 +lbl_800EF544: +/* 800EF544 000EC4A4 7F 83 E3 78 */ mr r3, r28 +/* 800EF548 000EC4A8 38 81 00 08 */ addi r4, r1, 8 +/* 800EF54C 000EC4AC 81 9C 00 00 */ lwz r12, 0(r28) +/* 800EF550 000EC4B0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800EF554 000EC4B4 7D 89 03 A6 */ mtctr r12 +/* 800EF558 000EC4B8 4E 80 04 21 */ bctrl +/* 800EF55C 000EC4BC 88 1C 01 D0 */ lbz r0, 0x1d0(r28) +/* 800EF560 000EC4C0 38 60 00 01 */ li r3, 1 +/* 800EF564 000EC4C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800EF568 000EC4C8 7F 83 E3 78 */ mr r3, r28 +/* 800EF56C 000EC4CC 98 1C 01 D0 */ stb r0, 0x1d0(r28) +/* 800EF570 000EC4D0 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) +/* 800EF574 000EC4D4 81 9C 00 00 */ lwz r12, 0(r28) +/* 800EF578 000EC4D8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800EF57C 000EC4DC 7D 89 03 A6 */ mtctr r12 +/* 800EF580 000EC4E0 4E 80 04 21 */ bctrl +/* 800EF584 000EC4E4 C0 21 00 08 */ lfs f1, 8(r1) +/* 800EF588 000EC4E8 3B 5A 00 01 */ addi r26, r26, 1 +/* 800EF58C 000EC4EC C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800EF590 000EC4F0 28 1A 00 06 */ cmplwi r26, 6 +/* 800EF594 000EC4F4 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 800EF598 000EC4F8 EC 81 00 2A */ fadds f4, f1, f0 +/* 800EF59C 000EC4FC C0 41 00 18 */ lfs f2, 0x18(r1) +/* 800EF5A0 000EC500 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 800EF5A4 000EC504 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800EF5A8 000EC508 EC 43 10 2A */ fadds f2, f3, f2 +/* 800EF5AC 000EC50C D0 81 00 08 */ stfs f4, 8(r1) +/* 800EF5B0 000EC510 EC 01 00 2A */ fadds f0, f1, f0 +/* 800EF5B4 000EC514 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 800EF5B8 000EC518 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800EF5BC 000EC51C 41 80 FF 88 */ blt lbl_800EF544 +/* 800EF5C0 000EC520 48 00 00 10 */ b lbl_800EF5D0 +lbl_800EF5C4: +/* 800EF5C4 000EC524 38 63 00 0C */ addi r3, r3, 0xc +/* 800EF5C8 000EC528 3B 5A 00 01 */ addi r26, r26, 1 +/* 800EF5CC 000EC52C 42 00 FD 7C */ bdnz lbl_800EF348 +lbl_800EF5D0: +/* 800EF5D0 000EC530 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 +/* 800EF5D4 000EC534 CB E1 00 C0 */ lfd f31, 0xc0(r1) +/* 800EF5D8 000EC538 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 +/* 800EF5DC 000EC53C CB C1 00 B0 */ lfd f30, 0xb0(r1) +/* 800EF5E0 000EC540 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 +/* 800EF5E4 000EC544 CB A1 00 A0 */ lfd f29, 0xa0(r1) +/* 800EF5E8 000EC548 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 +/* 800EF5EC 000EC54C CB 81 00 90 */ lfd f28, 0x90(r1) +/* 800EF5F0 000EC550 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 +/* 800EF5F4 000EC554 CB 61 00 80 */ lfd f27, 0x80(r1) +/* 800EF5F8 000EC558 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 +/* 800EF5FC 000EC55C CB 41 00 70 */ lfd f26, 0x70(r1) +/* 800EF600 000EC560 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 800EF604 000EC564 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800EF608 000EC568 7C 08 03 A6 */ mtlr r0 +/* 800EF60C 000EC56C 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 800EF610 000EC570 4E 80 00 20 */ blr + +.global "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +"GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f": +/* 800EF614 000EC574 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800EF618 000EC578 7C 08 02 A6 */ mflr r0 +/* 800EF61C 000EC57C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800EF620 000EC580 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 800EF624 000EC584 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 800EF628 000EC588 7C 64 1B 78 */ mr r4, r3 +/* 800EF62C 000EC58C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800EF630 000EC590 FF E0 08 90 */ fmr f31, f1 +/* 800EF634 000EC594 80 84 00 00 */ lwz r4, 0(r4) +/* 800EF638 000EC598 81 83 00 00 */ lwz r12, 0(r3) +/* 800EF63C 000EC59C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800EF640 000EC5A0 7D 89 03 A6 */ mtctr r12 +/* 800EF644 000EC5A4 4E 80 04 21 */ bctrl +/* 800EF648 000EC5A8 80 83 00 00 */ lwz r4, 0(r3) +/* 800EF64C 000EC5AC 80 63 00 04 */ lwz r3, 4(r3) +/* 800EF650 000EC5B0 3C 04 BC B3 */ addis r0, r4, 0xbcb3 +/* 800EF654 000EC5B4 90 81 00 08 */ stw r4, 8(r1) +/* 800EF658 000EC5B8 28 00 44 4C */ cmplwi r0, 0x444c +/* 800EF65C 000EC5BC 90 61 00 0C */ stw r3, 0xc(r1) +/* 800EF660 000EC5C0 40 82 00 54 */ bne lbl_800EF6B4 +/* 800EF664 000EC5C4 3C 80 80 3D */ lis r4, lbl_803CEBF4@ha +/* 800EF668 000EC5C8 38 60 00 4C */ li r3, 0x4c +/* 800EF66C 000EC5CC 38 84 EB F4 */ addi r4, r4, lbl_803CEBF4@l +/* 800EF670 000EC5D0 38 A0 00 00 */ li r5, 0 +/* 800EF674 000EC5D4 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EF678 000EC5D8 48 22 61 F5 */ bl __nw__FUlPCcPCc +/* 800EF67C 000EC5DC 7C 60 1B 79 */ or. r0, r3, r3 +/* 800EF680 000EC5E0 41 82 00 2C */ beq lbl_800EF6AC +/* 800EF684 000EC5E4 C0 02 91 D8 */ lfs f0, lbl_805AAEF8@sda21(r2) +/* 800EF688 000EC5E8 38 81 00 10 */ addi r4, r1, 0x10 +/* 800EF68C 000EC5EC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800EF690 000EC5F0 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 800EF694 000EC5F4 90 01 00 10 */ stw r0, 0x10(r1) +/* 800EF698 000EC5F8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800EF69C 000EC5FC D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800EF6A0 000EC600 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800EF6A4 000EC604 48 02 76 B9 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800EF6A8 000EC608 7C 60 1B 78 */ mr r0, r3 +lbl_800EF6AC: +/* 800EF6AC 000EC60C 7C 03 03 78 */ mr r3, r0 +/* 800EF6B0 000EC610 48 00 00 64 */ b lbl_800EF714 +lbl_800EF6B4: +/* 800EF6B4 000EC614 3C 80 80 3D */ lis r4, lbl_803CEBF4@ha +/* 800EF6B8 000EC618 38 60 00 4C */ li r3, 0x4c +/* 800EF6BC 000EC61C 38 84 EB F4 */ addi r4, r4, lbl_803CEBF4@l +/* 800EF6C0 000EC620 38 A0 00 00 */ li r5, 0 +/* 800EF6C4 000EC624 38 84 00 DC */ addi r4, r4, 0xdc +/* 800EF6C8 000EC628 48 22 61 A5 */ bl __nw__FUlPCcPCc +/* 800EF6CC 000EC62C 7C 60 1B 79 */ or. r0, r3, r3 +/* 800EF6D0 000EC630 41 82 00 40 */ beq lbl_800EF710 +/* 800EF6D4 000EC634 C0 02 91 D8 */ lfs f0, lbl_805AAEF8@sda21(r2) +/* 800EF6D8 000EC638 38 00 00 00 */ li r0, 0 +/* 800EF6DC 000EC63C 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 800EF6E0 000EC640 38 81 00 20 */ addi r4, r1, 0x20 +/* 800EF6E4 000EC644 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 800EF6E8 000EC648 80 A2 83 F0 */ lwz r5, lbl_805AA110@sda21(r2) +/* 800EF6EC 000EC64C 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800EF6F0 000EC650 90 A1 00 24 */ stw r5, 0x24(r1) +/* 800EF6F4 000EC654 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800EF6F8 000EC658 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800EF6FC 000EC65C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800EF700 000EC660 98 01 00 34 */ stb r0, 0x34(r1) +/* 800EF704 000EC664 90 01 00 38 */ stw r0, 0x38(r1) +/* 800EF708 000EC668 48 02 74 4D */ bl __ct__10CModelDataFRC8CAnimRes +/* 800EF70C 000EC66C 7C 60 1B 78 */ mr r0, r3 +lbl_800EF710: +/* 800EF710 000EC670 7C 03 03 78 */ mr r3, r0 +lbl_800EF714: +/* 800EF714 000EC674 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 800EF718 000EC678 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800EF71C 000EC67C CB E1 00 40 */ lfd f31, 0x40(r1) +/* 800EF720 000EC680 7C 08 03 A6 */ mtlr r0 +/* 800EF724 000EC684 38 21 00 50 */ addi r1, r1, 0x50 +/* 800EF728 000EC688 4E 80 00 20 */ blr + +.global LoadMorphBallModel__10CMorphBallFR13CStateManager +LoadMorphBallModel__10CMorphBallFR13CStateManager: +/* 800EF72C 000EC68C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800EF730 000EC690 7C 08 02 A6 */ mflr r0 +/* 800EF734 000EC694 3C C0 80 3D */ lis r6, lbl_803CE910@ha +/* 800EF738 000EC698 90 01 00 74 */ stw r0, 0x74(r1) +/* 800EF73C 000EC69C BF 41 00 58 */ stmw r26, 0x58(r1) +/* 800EF740 000EC6A0 7C 7C 1B 78 */ mr r28, r3 +/* 800EF744 000EC6A4 3B E6 E9 10 */ addi r31, r6, lbl_803CE910@l +/* 800EF748 000EC6A8 80 A4 08 B8 */ lwz r5, 0x8b8(r4) +/* 800EF74C 000EC6AC 38 80 00 13 */ li r4, 0x13 +/* 800EF750 000EC6B0 83 C5 00 00 */ lwz r30, 0(r5) +/* 800EF754 000EC6B4 7F C3 F3 78 */ mr r3, r30 +/* 800EF758 000EC6B8 4B FA 23 69 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800EF75C 000EC6BC 83 BE 00 20 */ lwz r29, 0x20(r30) +/* 800EF760 000EC6C0 7C 7B 1B 78 */ mr r27, r3 +/* 800EF764 000EC6C4 7F C3 F3 78 */ mr r3, r30 +/* 800EF768 000EC6C8 4B FA 1D 5D */ bl GetIsFusionEnabled__12CPlayerStateFv +/* 800EF76C 000EC6CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800EF770 000EC6D0 41 82 00 08 */ beq lbl_800EF778 +/* 800EF774 000EC6D4 3B BD 00 04 */ addi r29, r29, 4 +lbl_800EF778: +/* 800EF778 000EC6D8 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 800EF77C 000EC6DC 7F BA EB 78 */ mr r26, r29 +/* 800EF780 000EC6E0 41 82 00 08 */ beq lbl_800EF788 +/* 800EF784 000EC6E4 3B 5D 00 04 */ addi r26, r29, 4 +lbl_800EF788: +/* 800EF788 000EC6E8 7F C3 F3 78 */ mr r3, r30 +/* 800EF78C 000EC6EC 4B FA 1D 39 */ bl GetIsFusionEnabled__12CPlayerStateFv +/* 800EF790 000EC6F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800EF794 000EC6F4 41 82 00 08 */ beq lbl_800EF79C +/* 800EF798 000EC6F8 3B 5A 00 64 */ addi r26, r26, 0x64 +lbl_800EF79C: +/* 800EF79C 000EC6FC 80 1C 00 04 */ lwz r0, 4(r28) +/* 800EF7A0 000EC700 7C 00 D0 00 */ cmpw r0, r26 +/* 800EF7A4 000EC704 41 82 01 E8 */ beq lbl_800EF98C +/* 800EF7A8 000EC708 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 800EF7AC 000EC70C 93 5C 00 04 */ stw r26, 4(r28) +/* 800EF7B0 000EC710 41 82 01 18 */ beq lbl_800EF8C8 +/* 800EF7B4 000EC714 57 BE 18 38 */ slwi r30, r29, 3 +/* 800EF7B8 000EC718 38 7F 00 C0 */ addi r3, r31, 0xc0 +/* 800EF7BC 000EC71C 7C 83 F0 2E */ lwzx r4, r3, r30 +/* 800EF7C0 000EC720 38 61 00 48 */ addi r3, r1, 0x48 +/* 800EF7C4 000EC724 4B F1 54 F5 */ bl string_l__4rstlFPCc +/* 800EF7C8 000EC728 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 800EF7CC 000EC72C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800EF7D0 000EC730 4B FF FE 45 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 800EF7D4 000EC734 7C 7B 1B 78 */ mr r27, r3 +/* 800EF7D8 000EC738 80 7C 00 58 */ lwz r3, 0x58(r28) +/* 800EF7DC 000EC73C 38 80 00 01 */ li r4, 1 +/* 800EF7E0 000EC740 48 02 72 6D */ bl __dt__10CModelDataFv +/* 800EF7E4 000EC744 93 7C 00 58 */ stw r27, 0x58(r28) +/* 800EF7E8 000EC748 38 61 00 48 */ addi r3, r1, 0x48 +/* 800EF7EC 000EC74C 48 24 E2 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800EF7F0 000EC750 38 1F 00 C0 */ addi r0, r31, 0xc0 +/* 800EF7F4 000EC754 38 7F 00 80 */ addi r3, r31, 0x80 +/* 800EF7F8 000EC758 7C A0 F2 14 */ add r5, r0, r30 +/* 800EF7FC 000EC75C 7C 83 F0 2E */ lwzx r4, r3, r30 +/* 800EF800 000EC760 80 05 00 04 */ lwz r0, 4(r5) +/* 800EF804 000EC764 38 61 00 38 */ addi r3, r1, 0x38 +/* 800EF808 000EC768 90 1C 00 5C */ stw r0, 0x5c(r28) +/* 800EF80C 000EC76C 4B F1 54 AD */ bl string_l__4rstlFPCc +/* 800EF810 000EC770 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 800EF814 000EC774 38 61 00 38 */ addi r3, r1, 0x38 +/* 800EF818 000EC778 4B FF FD FD */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 800EF81C 000EC77C 7C 7B 1B 78 */ mr r27, r3 +/* 800EF820 000EC780 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 800EF824 000EC784 38 80 00 01 */ li r4, 1 +/* 800EF828 000EC788 48 02 72 25 */ bl __dt__10CModelDataFv +/* 800EF82C 000EC78C 93 7C 00 68 */ stw r27, 0x68(r28) +/* 800EF830 000EC790 38 61 00 38 */ addi r3, r1, 0x38 +/* 800EF834 000EC794 48 24 E2 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800EF838 000EC798 38 1F 00 80 */ addi r0, r31, 0x80 +/* 800EF83C 000EC79C 38 7F 01 00 */ addi r3, r31, 0x100 +/* 800EF840 000EC7A0 7C A0 F2 14 */ add r5, r0, r30 +/* 800EF844 000EC7A4 7C 83 F0 2E */ lwzx r4, r3, r30 +/* 800EF848 000EC7A8 80 05 00 04 */ lwz r0, 4(r5) +/* 800EF84C 000EC7AC 28 04 00 00 */ cmplwi r4, 0 +/* 800EF850 000EC7B0 90 1C 00 6C */ stw r0, 0x6c(r28) +/* 800EF854 000EC7B4 41 82 00 48 */ beq lbl_800EF89C +/* 800EF858 000EC7B8 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EF85C 000EC7BC 4B F1 54 5D */ bl string_l__4rstlFPCc +/* 800EF860 000EC7C0 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 800EF864 000EC7C4 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EF868 000EC7C8 4B FF FD AD */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 800EF86C 000EC7CC 7C 7B 1B 78 */ mr r27, r3 +/* 800EF870 000EC7D0 80 7C 00 60 */ lwz r3, 0x60(r28) +/* 800EF874 000EC7D4 38 80 00 01 */ li r4, 1 +/* 800EF878 000EC7D8 48 02 71 D5 */ bl __dt__10CModelDataFv +/* 800EF87C 000EC7DC 93 7C 00 60 */ stw r27, 0x60(r28) +/* 800EF880 000EC7E0 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EF884 000EC7E4 48 24 E2 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800EF888 000EC7E8 38 1F 01 00 */ addi r0, r31, 0x100 +/* 800EF88C 000EC7EC 7C 60 F2 14 */ add r3, r0, r30 +/* 800EF890 000EC7F0 80 03 00 04 */ lwz r0, 4(r3) +/* 800EF894 000EC7F4 90 1C 00 64 */ stw r0, 0x64(r28) +/* 800EF898 000EC7F8 48 00 00 1C */ b lbl_800EF8B4 +lbl_800EF89C: +/* 800EF89C 000EC7FC 80 7C 00 60 */ lwz r3, 0x60(r28) +/* 800EF8A0 000EC800 38 80 00 01 */ li r4, 1 +/* 800EF8A4 000EC804 48 02 71 A9 */ bl __dt__10CModelDataFv +/* 800EF8A8 000EC808 38 00 00 00 */ li r0, 0 +/* 800EF8AC 000EC80C 90 1C 00 60 */ stw r0, 0x60(r28) +/* 800EF8B0 000EC810 90 1C 00 64 */ stw r0, 0x64(r28) +lbl_800EF8B4: +/* 800EF8B4 000EC814 57 A0 10 3A */ slwi r0, r29, 2 +/* 800EF8B8 000EC818 38 7F 01 80 */ addi r3, r31, 0x180 +/* 800EF8BC 000EC81C 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800EF8C0 000EC820 90 1C 00 08 */ stw r0, 8(r28) +/* 800EF8C4 000EC824 48 00 00 A8 */ b lbl_800EF96C +lbl_800EF8C8: +/* 800EF8C8 000EC828 57 BB 18 38 */ slwi r27, r29, 3 +/* 800EF8CC 000EC82C 38 7F 00 00 */ addi r3, r31, 0 +/* 800EF8D0 000EC830 7C 83 D8 2E */ lwzx r4, r3, r27 +/* 800EF8D4 000EC834 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EF8D8 000EC838 4B F1 53 E1 */ bl string_l__4rstlFPCc +/* 800EF8DC 000EC83C C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 800EF8E0 000EC840 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EF8E4 000EC844 4B FF FD 31 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 800EF8E8 000EC848 7C 7E 1B 78 */ mr r30, r3 +/* 800EF8EC 000EC84C 80 7C 00 58 */ lwz r3, 0x58(r28) +/* 800EF8F0 000EC850 38 80 00 01 */ li r4, 1 +/* 800EF8F4 000EC854 48 02 71 59 */ bl __dt__10CModelDataFv +/* 800EF8F8 000EC858 93 DC 00 58 */ stw r30, 0x58(r28) +/* 800EF8FC 000EC85C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800EF900 000EC860 48 24 E1 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800EF904 000EC864 38 1F 00 00 */ addi r0, r31, 0 +/* 800EF908 000EC868 38 7F 00 40 */ addi r3, r31, 0x40 +/* 800EF90C 000EC86C 7C A0 DA 14 */ add r5, r0, r27 +/* 800EF910 000EC870 7C 83 D8 2E */ lwzx r4, r3, r27 +/* 800EF914 000EC874 80 05 00 04 */ lwz r0, 4(r5) +/* 800EF918 000EC878 38 61 00 08 */ addi r3, r1, 8 +/* 800EF91C 000EC87C 90 1C 00 5C */ stw r0, 0x5c(r28) +/* 800EF920 000EC880 4B F1 53 99 */ bl string_l__4rstlFPCc +/* 800EF924 000EC884 C0 3C 00 0C */ lfs f1, 0xc(r28) +/* 800EF928 000EC888 38 61 00 08 */ addi r3, r1, 8 +/* 800EF92C 000EC88C 4B FF FC E9 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 800EF930 000EC890 7C 7E 1B 78 */ mr r30, r3 +/* 800EF934 000EC894 80 7C 00 68 */ lwz r3, 0x68(r28) +/* 800EF938 000EC898 38 80 00 01 */ li r4, 1 +/* 800EF93C 000EC89C 48 02 71 11 */ bl __dt__10CModelDataFv +/* 800EF940 000EC8A0 93 DC 00 68 */ stw r30, 0x68(r28) +/* 800EF944 000EC8A4 38 61 00 08 */ addi r3, r1, 8 +/* 800EF948 000EC8A8 48 24 E1 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800EF94C 000EC8AC 38 7F 00 40 */ addi r3, r31, 0x40 +/* 800EF950 000EC8B0 57 A0 10 3A */ slwi r0, r29, 2 +/* 800EF954 000EC8B4 7C 83 DA 14 */ add r4, r3, r27 +/* 800EF958 000EC8B8 38 7F 01 A0 */ addi r3, r31, 0x1a0 +/* 800EF95C 000EC8BC 80 84 00 04 */ lwz r4, 4(r4) +/* 800EF960 000EC8C0 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800EF964 000EC8C4 90 9C 00 6C */ stw r4, 0x6c(r28) +/* 800EF968 000EC8C8 90 1C 00 08 */ stw r0, 8(r28) +lbl_800EF96C: +/* 800EF96C 000EC8CC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 800EF970 000EC8D0 C0 22 91 D8 */ lfs f1, lbl_805AAEF8@sda21(r2) +/* 800EF974 000EC8D4 C0 03 02 7C */ lfs f0, 0x27c(r3) +/* 800EF978 000EC8D8 80 7C 00 58 */ lwz r3, 0x58(r28) +/* 800EF97C 000EC8DC EC 01 00 32 */ fmuls f0, f1, f0 +/* 800EF980 000EC8E0 D0 03 00 00 */ stfs f0, 0(r3) +/* 800EF984 000EC8E4 D0 03 00 04 */ stfs f0, 4(r3) +/* 800EF988 000EC8E8 D0 03 00 08 */ stfs f0, 8(r3) +lbl_800EF98C: +/* 800EF98C 000EC8EC BB 41 00 58 */ lmw r26, 0x58(r1) +/* 800EF990 000EC8F0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800EF994 000EC8F4 7C 08 03 A6 */ mtlr r0 +/* 800EF998 000EC8F8 38 21 00 70 */ addi r1, r1, 0x70 +/* 800EF99C 000EC8FC 4E 80 00 20 */ blr + +.global FluidFXThink__10CMorphBallFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager +FluidFXThink__10CMorphBallFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: +/* 800EF9A0 000EC900 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800EF9A4 000EC904 7C 08 02 A6 */ mflr r0 +/* 800EF9A8 000EC908 90 01 00 94 */ stw r0, 0x94(r1) +/* 800EF9AC 000EC90C DB E1 00 80 */ stfd f31, 0x80(r1) +/* 800EF9B0 000EC910 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 800EF9B4 000EC914 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 800EF9B8 000EC918 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 800EF9BC 000EC91C 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800EF9C0 000EC920 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800EF9C4 000EC924 93 A1 00 64 */ stw r29, 0x64(r1) +/* 800EF9C8 000EC928 93 81 00 60 */ stw r28, 0x60(r1) +/* 800EF9CC 000EC92C 7C 7C 1B 78 */ mr r28, r3 +/* 800EF9D0 000EC930 7C BE 2B 78 */ mr r30, r5 +/* 800EF9D4 000EC934 80 63 00 00 */ lwz r3, 0(r3) +/* 800EF9D8 000EC938 7C 9D 23 78 */ mr r29, r4 +/* 800EF9DC 000EC93C 7C DF 33 78 */ mr r31, r6 +/* 800EF9E0 000EC940 7F C4 F3 78 */ mr r4, r30 +/* 800EF9E4 000EC944 C3 E3 04 FC */ lfs f31, 0x4fc(r3) +/* 800EF9E8 000EC948 38 61 00 44 */ addi r3, r1, 0x44 +/* 800EF9EC 000EC94C 4B F8 6C E1 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800EF9F0 000EC950 80 7C 00 00 */ lwz r3, 0(r28) +/* 800EF9F4 000EC954 C0 02 91 E0 */ lfs f0, lbl_805AAF00@sda21(r2) +/* 800EF9F8 000EC958 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 800EF9FC 000EC95C C0 23 00 50 */ lfs f1, 0x50(r3) +/* 800EFA00 000EC960 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800EFA04 000EC964 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 800EFA08 000EC968 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 800EFA0C 000EC96C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800EFA10 000EC970 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800EFA14 000EC974 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800EFA18 000EC978 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800EFA1C 000EC97C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800EFA20 000EC980 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 800EFA24 000EC984 4C 41 13 82 */ cror 2, 1, 2 +/* 800EFA28 000EC988 40 82 00 80 */ bne lbl_800EFAA8 +/* 800EFA2C 000EC98C 48 19 5F A5 */ bl GetBallMaxVelocity__7CPlayerCFv +/* 800EFA30 000EC990 80 7C 00 00 */ lwz r3, 0(r28) +/* 800EFA34 000EC994 FF C0 08 90 */ fmr f30, f1 +/* 800EFA38 000EC998 38 81 00 24 */ addi r4, r1, 0x24 +/* 800EFA3C 000EC99C A0 03 00 08 */ lhz r0, 8(r3) +/* 800EFA40 000EC9A0 B0 01 00 24 */ sth r0, 0x24(r1) +/* 800EFA44 000EC9A4 B0 01 00 20 */ sth r0, 0x20(r1) +/* 800EFA48 000EC9A8 80 7F 08 7C */ lwz r3, 0x87c(r31) +/* 800EFA4C 000EC9AC 48 03 FB 61 */ bl GetLastSplashDeltaTime__18CFluidPlaneManagerCF9TUniqueId +/* 800EFA50 000EC9B0 C0 02 91 E0 */ lfs f0, lbl_805AAF00@sda21(r2) +/* 800EFA54 000EC9B4 EC 5E F8 28 */ fsubs f2, f30, f31 +/* 800EFA58 000EC9B8 C0 62 91 E4 */ lfs f3, lbl_805AAF04@sda21(r2) +/* 800EFA5C 000EC9BC EC 1E 00 28 */ fsubs f0, f30, f0 +/* 800EFA60 000EC9C0 EC 02 00 24 */ fdivs f0, f2, f0 +/* 800EFA64 000EC9C4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800EFA68 000EC9C8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EFA6C 000EC9CC 4C 41 13 82 */ cror 2, 1, 2 +/* 800EFA70 000EC9D0 40 82 00 38 */ bne lbl_800EFAA8 +/* 800EFA74 000EC9D4 80 7C 00 00 */ lwz r3, 0(r28) +/* 800EFA78 000EC9D8 7F A0 00 34 */ cntlzw r0, r29 +/* 800EFA7C 000EC9DC C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800EFA80 000EC9E0 7F E5 FB 78 */ mr r5, r31 +/* 800EFA84 000EC9E4 A0 63 00 08 */ lhz r3, 8(r3) +/* 800EFA88 000EC9E8 7F C6 F3 78 */ mr r6, r30 +/* 800EFA8C 000EC9EC 38 81 00 1C */ addi r4, r1, 0x1c +/* 800EFA90 000EC9F0 38 E1 00 38 */ addi r7, r1, 0x38 +/* 800EFA94 000EC9F4 B0 61 00 1C */ sth r3, 0x1c(r1) +/* 800EFA98 000EC9F8 54 08 D9 7E */ srwi r8, r0, 5 +/* 800EFA9C 000EC9FC B0 61 00 18 */ sth r3, 0x18(r1) +/* 800EFAA0 000ECA00 80 7F 08 7C */ lwz r3, 0x87c(r31) +/* 800EFAA4 000ECA04 48 03 F8 15 */ bl CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb +lbl_800EFAA8: +/* 800EFAA8 000ECA08 C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) +/* 800EFAAC 000ECA0C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800EFAB0 000ECA10 4C 41 13 82 */ cror 2, 1, 2 +/* 800EFAB4 000ECA14 40 82 00 D8 */ bne lbl_800EFB8C +/* 800EFAB8 000ECA18 80 7C 00 00 */ lwz r3, 0(r28) +/* 800EFABC 000ECA1C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800EFAC0 000ECA20 A0 03 00 08 */ lhz r0, 8(r3) +/* 800EFAC4 000ECA24 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800EFAC8 000ECA28 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800EFACC 000ECA2C 80 7F 08 7C */ lwz r3, 0x87c(r31) +/* 800EFAD0 000ECA30 48 03 FA B1 */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId +/* 800EFAD4 000ECA34 C0 02 91 9C */ lfs f0, lbl_805AAEBC@sda21(r2) +/* 800EFAD8 000ECA38 FF C0 08 90 */ fmr f30, f1 +/* 800EFADC 000ECA3C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800EFAE0 000ECA40 4C 40 13 82 */ cror 2, 0, 2 +/* 800EFAE4 000ECA44 40 82 00 0C */ bne lbl_800EFAF0 +/* 800EFAE8 000ECA48 C0 02 91 EC */ lfs f0, lbl_805AAF0C@sda21(r2) +/* 800EFAEC 000ECA4C 48 00 00 4C */ b lbl_800EFB38 +lbl_800EFAF0: +/* 800EFAF0 000ECA50 80 7C 00 00 */ lwz r3, 0(r28) +/* 800EFAF4 000ECA54 48 19 5E DD */ bl GetBallMaxVelocity__7CPlayerCFv +/* 800EFAF8 000ECA58 C0 02 91 9C */ lfs f0, lbl_805AAEBC@sda21(r2) +/* 800EFAFC 000ECA5C EC 81 F8 28 */ fsubs f4, f1, f31 +/* 800EFB00 000ECA60 C0 62 91 F0 */ lfs f3, lbl_805AAF10@sda21(r2) +/* 800EFB04 000ECA64 EC 5F 00 28 */ fsubs f2, f31, f0 +/* 800EFB08 000ECA68 C0 22 91 EC */ lfs f1, lbl_805AAF0C@sda21(r2) +/* 800EFB0C 000ECA6C C0 02 91 DC */ lfs f0, lbl_805AAEFC@sda21(r2) +/* 800EFB10 000ECA70 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800EFB14 000ECA74 EC 42 20 24 */ fdivs f2, f2, f4 +/* 800EFB18 000ECA78 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800EFB1C 000ECA7C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800EFB20 000ECA80 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800EFB24 000ECA84 40 80 00 0C */ bge lbl_800EFB30 +/* 800EFB28 000ECA88 38 61 00 28 */ addi r3, r1, 0x28 +/* 800EFB2C 000ECA8C 48 00 00 08 */ b lbl_800EFB34 +lbl_800EFB30: +/* 800EFB30 000ECA90 38 62 91 DC */ addi r3, r2, lbl_805AAEFC@sda21 +lbl_800EFB34: +/* 800EFB34 000ECA94 C0 03 00 00 */ lfs f0, 0(r3) +lbl_800EFB38: +/* 800EFB38 000ECA98 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800EFB3C 000ECA9C 4C 41 13 82 */ cror 2, 1, 2 +/* 800EFB40 000ECAA0 40 82 00 4C */ bne lbl_800EFB8C +/* 800EFB44 000ECAA4 80 7C 00 00 */ lwz r3, 0(r28) +/* 800EFB48 000ECAA8 48 19 5E 89 */ bl GetBallMaxVelocity__7CPlayerCFv +/* 800EFB4C 000ECAAC C0 02 91 F4 */ lfs f0, lbl_805AAF14@sda21(r2) +/* 800EFB50 000ECAB0 7F C6 F3 78 */ mr r6, r30 +/* 800EFB54 000ECAB4 80 7C 00 00 */ lwz r3, 0(r28) +/* 800EFB58 000ECAB8 7F E7 FB 78 */ mr r7, r31 +/* 800EFB5C 000ECABC EC 00 07 F2 */ fmuls f0, f0, f31 +/* 800EFB60 000ECAC0 38 81 00 0C */ addi r4, r1, 0xc +/* 800EFB64 000ECAC4 A0 03 00 08 */ lhz r0, 8(r3) +/* 800EFB68 000ECAC8 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800EFB6C 000ECACC EC 20 08 24 */ fdivs f1, f0, f1 +/* 800EFB70 000ECAD0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800EFB74 000ECAD4 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 800EFB78 000ECAD8 B0 01 00 08 */ sth r0, 8(r1) +/* 800EFB7C 000ECADC 81 83 00 00 */ lwz r12, 0(r3) +/* 800EFB80 000ECAE0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800EFB84 000ECAE4 7D 89 03 A6 */ mtctr r12 +/* 800EFB88 000ECAE8 4E 80 04 21 */ bctrl +lbl_800EFB8C: +/* 800EFB8C 000ECAEC E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 800EFB90 000ECAF0 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 800EFB94 000ECAF4 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 800EFB98 000ECAF8 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 800EFB9C 000ECAFC 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800EFBA0 000ECB00 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800EFBA4 000ECB04 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800EFBA8 000ECB08 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800EFBAC 000ECB0C 83 81 00 60 */ lwz r28, 0x60(r1) +/* 800EFBB0 000ECB10 7C 08 03 A6 */ mtlr r0 +/* 800EFBB4 000ECB14 38 21 00 90 */ addi r1, r1, 0x90 +/* 800EFBB8 000ECB18 4E 80 00 20 */ blr + +.global IsClimbable__10CMorphBallCFRC14CCollisionInfo +IsClimbable__10CMorphBallCFRC14CCollisionInfo: +/* 800EFBBC 000ECB1C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800EFBC0 000ECB20 7C 08 02 A6 */ mflr r0 +/* 800EFBC4 000ECB24 90 01 00 54 */ stw r0, 0x54(r1) +/* 800EFBC8 000ECB28 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 800EFBCC 000ECB2C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 800EFBD0 000ECB30 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800EFBD4 000ECB34 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800EFBD8 000ECB38 7C 9F 23 78 */ mr r31, r4 +/* 800EFBDC 000ECB3C C0 02 91 F8 */ lfs f0, lbl_805AAF18@sda21(r2) +/* 800EFBE0 000ECB40 C0 24 00 50 */ lfs f1, 0x50(r4) +/* 800EFBE4 000ECB44 7C 7E 1B 78 */ mr r30, r3 +/* 800EFBE8 000ECB48 FC 20 0A 10 */ fabs f1, f1 +/* 800EFBEC 000ECB4C FC 20 08 18 */ frsp f1, f1 +/* 800EFBF0 000ECB50 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EFBF4 000ECB54 40 80 00 48 */ bge lbl_800EFC3C +/* 800EFBF8 000ECB58 7F C4 F3 78 */ mr r4, r30 +/* 800EFBFC 000ECB5C 38 61 00 08 */ addi r3, r1, 8 +/* 800EFC00 000ECB60 48 00 6A F5 */ bl GetBallToWorld__10CMorphBallCFv +/* 800EFC04 000ECB64 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 800EFC08 000ECB68 C0 3F 00 08 */ lfs f1, 8(r31) +/* 800EFC0C 000ECB6C C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) +/* 800EFC10 000ECB70 EF E2 08 28 */ fsubs f31, f2, f1 +/* 800EFC14 000ECB74 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800EFC18 000ECB78 40 81 00 24 */ ble lbl_800EFC3C +/* 800EFC1C 000ECB7C 7F C3 F3 78 */ mr r3, r30 +/* 800EFC20 000ECB80 48 00 91 E5 */ bl GetBallRadius__10CMorphBallCFv +/* 800EFC24 000ECB84 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) +/* 800EFC28 000ECB88 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800EFC2C 000ECB8C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800EFC30 000ECB90 40 80 00 0C */ bge lbl_800EFC3C +/* 800EFC34 000ECB94 38 60 00 01 */ li r3, 1 +/* 800EFC38 000ECB98 48 00 00 08 */ b lbl_800EFC40 +lbl_800EFC3C: +/* 800EFC3C 000ECB9C 38 60 00 00 */ li r3, 0 +lbl_800EFC40: +/* 800EFC40 000ECBA0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 800EFC44 000ECBA4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800EFC48 000ECBA8 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 800EFC4C 000ECBAC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800EFC50 000ECBB0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800EFC54 000ECBB4 7C 08 03 A6 */ mtlr r0 +/* 800EFC58 000ECBB8 38 21 00 50 */ addi r1, r1, 0x50 +/* 800EFC5C 000ECBBC 4E 80 00 20 */ blr + +.global Touch__10CMorphBallFR6CActorR13CStateManager +Touch__10CMorphBallFR6CActorR13CStateManager: +/* 800EFC60 000ECBC0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800EFC64 000ECBC4 7C 08 02 A6 */ mflr r0 +/* 800EFC68 000ECBC8 90 01 00 64 */ stw r0, 0x64(r1) +/* 800EFC6C 000ECBCC 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800EFC70 000ECBD0 7C BF 2B 78 */ mr r31, r5 +/* 800EFC74 000ECBD4 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800EFC78 000ECBD8 7C 9E 23 78 */ mr r30, r4 +/* 800EFC7C 000ECBDC 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800EFC80 000ECBE0 7C 7D 1B 78 */ mr r29, r3 +/* 800EFC84 000ECBE4 38 61 00 24 */ addi r3, r1, 0x24 +/* 800EFC88 000ECBE8 4B FB CA C9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" +/* 800EFC8C 000ECBEC 80 A3 00 04 */ lwz r5, 4(r3) +/* 800EFC90 000ECBF0 28 05 00 00 */ cmplwi r5, 0 +/* 800EFC94 000ECBF4 41 82 01 4C */ beq lbl_800EFDE0 +/* 800EFC98 000ECBF8 88 1D 1D E4 */ lbz r0, 0x1de4(r29) +/* 800EFC9C 000ECBFC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800EFCA0 000ECC00 41 82 01 40 */ beq lbl_800EFDE0 +/* 800EFCA4 000ECC04 80 9D 00 00 */ lwz r4, 0(r29) +/* 800EFCA8 000ECC08 38 61 00 2C */ addi r3, r1, 0x2c +/* 800EFCAC 000ECC0C C0 25 01 3C */ lfs f1, 0x13c(r5) +/* 800EFCB0 000ECC10 C0 04 01 3C */ lfs f0, 0x13c(r4) +/* 800EFCB4 000ECC14 C0 65 01 40 */ lfs f3, 0x140(r5) +/* 800EFCB8 000ECC18 C0 44 01 40 */ lfs f2, 0x140(r4) +/* 800EFCBC 000ECC1C EC 81 00 28 */ fsubs f4, f1, f0 +/* 800EFCC0 000ECC20 C0 25 01 38 */ lfs f1, 0x138(r5) +/* 800EFCC4 000ECC24 C0 04 01 38 */ lfs f0, 0x138(r4) +/* 800EFCC8 000ECC28 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800EFCCC 000ECC2C EC 01 00 28 */ fsubs f0, f1, f0 +/* 800EFCD0 000ECC30 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 800EFCD4 000ECC34 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800EFCD8 000ECC38 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800EFCDC 000ECC3C 48 22 4B DD */ bl Magnitude__9CVector3fCFv +/* 800EFCE0 000ECC40 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800EFCE4 000ECC44 C0 03 02 1C */ lfs f0, 0x21c(r3) +/* 800EFCE8 000ECC48 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EFCEC 000ECC4C 40 81 00 F4 */ ble lbl_800EFDE0 +/* 800EFCF0 000ECC50 88 0D A3 3C */ lbz r0, lbl_805A8EFC@sda21(r13) +/* 800EFCF4 000ECC54 7C 00 07 75 */ extsb. r0, r0 +/* 800EFCF8 000ECC58 40 82 00 70 */ bne lbl_800EFD68 +/* 800EFCFC 000ECC5C 88 01 00 20 */ lbz r0, 0x20(r1) +/* 800EFD00 000ECC60 38 C0 00 00 */ li r6, 0 +/* 800EFD04 000ECC64 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800EFD08 000ECC68 3C 60 80 47 */ lis r3, lbl_8046C504@ha +/* 800EFD0C 000ECC6C 98 01 00 20 */ stb r0, 0x20(r1) +/* 800EFD10 000ECC70 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 800EFD14 000ECC74 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 800EFD18 000ECC78 38 83 C5 04 */ addi r4, r3, lbl_8046C504@l +/* 800EFD1C 000ECC7C C0 22 92 00 */ lfs f1, lbl_805AAF20@sda21(r2) +/* 800EFD20 000ECC80 38 E0 00 07 */ li r7, 7 +/* 800EFD24 000ECC84 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800EFD28 000ECC88 54 05 06 3E */ clrlwi r5, r0, 0x18 +/* 800EFD2C 000ECC8C 98 01 00 20 */ stb r0, 0x20(r1) +/* 800EFD30 000ECC90 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a +/* 800EFD34 000ECC94 88 64 00 18 */ lbz r3, 0x18(r4) +/* 800EFD38 000ECC98 50 C3 3E 30 */ rlwimi r3, r6, 7, 0x18, 0x18 +/* 800EFD3C 000ECC9C 38 00 00 01 */ li r0, 1 +/* 800EFD40 000ECCA0 90 E1 00 1C */ stw r7, 0x1c(r1) +/* 800EFD44 000ECCA4 98 A1 00 20 */ stb r5, 0x20(r1) +/* 800EFD48 000ECCA8 90 E4 00 00 */ stw r7, 0(r4) +/* 800EFD4C 000ECCAC 98 A4 00 04 */ stb r5, 4(r4) +/* 800EFD50 000ECCB0 D0 24 00 08 */ stfs f1, 8(r4) +/* 800EFD54 000ECCB4 D0 24 00 0C */ stfs f1, 0xc(r4) +/* 800EFD58 000ECCB8 D0 04 00 10 */ stfs f0, 0x10(r4) +/* 800EFD5C 000ECCBC D0 04 00 14 */ stfs f0, 0x14(r4) +/* 800EFD60 000ECCC0 98 64 00 18 */ stb r3, 0x18(r4) +/* 800EFD64 000ECCC4 98 0D A3 3C */ stb r0, lbl_805A8EFC@sda21(r13) +lbl_800EFD68: +/* 800EFD68 000ECCC8 80 DD 00 00 */ lwz r6, 0(r29) +/* 800EFD6C 000ECCCC 38 60 00 00 */ li r3, 0 +/* 800EFD70 000ECCD0 80 AD 88 30 */ lwz r5, lbl_805A73F0@sda21(r13) +/* 800EFD74 000ECCD4 38 80 00 01 */ li r4, 1 +/* 800EFD78 000ECCD8 A0 06 00 08 */ lhz r0, 8(r6) +/* 800EFD7C 000ECCDC B0 01 00 18 */ sth r0, 0x18(r1) +/* 800EFD80 000ECCE0 48 29 A1 75 */ bl __shl2i +/* 800EFD84 000ECCE4 A1 41 00 18 */ lhz r10, 0x18(r1) +/* 800EFD88 000ECCE8 38 C0 00 00 */ li r6, 0 +/* 800EFD8C 000ECCEC 38 00 00 03 */ li r0, 3 +/* 800EFD90 000ECCF0 90 81 00 3C */ stw r4, 0x3c(r1) +/* 800EFD94 000ECCF4 3C A0 80 47 */ lis r5, lbl_8046C504@ha +/* 800EFD98 000ECCF8 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800EFD9C 000ECCFC 90 61 00 38 */ stw r3, 0x38(r1) +/* 800EFDA0 000ECD00 38 E5 C5 04 */ addi r7, r5, lbl_8046C504@l +/* 800EFDA4 000ECD04 39 24 66 A0 */ addi r9, r4, skZero3f@l +/* 800EFDA8 000ECD08 7F E3 FB 78 */ mr r3, r31 +/* 800EFDAC 000ECD0C 90 C1 00 44 */ stw r6, 0x44(r1) +/* 800EFDB0 000ECD10 38 81 00 14 */ addi r4, r1, 0x14 +/* 800EFDB4 000ECD14 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800EFDB8 000ECD18 39 01 00 38 */ addi r8, r1, 0x38 +/* 800EFDBC 000ECD1C 90 C1 00 40 */ stw r6, 0x40(r1) +/* 800EFDC0 000ECD20 38 C1 00 08 */ addi r6, r1, 8 +/* 800EFDC4 000ECD24 90 01 00 48 */ stw r0, 0x48(r1) +/* 800EFDC8 000ECD28 B1 41 00 08 */ sth r10, 8(r1) +/* 800EFDCC 000ECD2C A0 1E 00 08 */ lhz r0, 8(r30) +/* 800EFDD0 000ECD30 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800EFDD4 000ECD34 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800EFDD8 000ECD38 B1 41 00 14 */ sth r10, 0x14(r1) +/* 800EFDDC 000ECD3C 4B F5 A2 C5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f +lbl_800EFDE0: +/* 800EFDE0 000ECD40 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800EFDE4 000ECD44 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800EFDE8 000ECD48 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800EFDEC 000ECD4C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800EFDF0 000ECD50 7C 08 03 A6 */ mtlr r0 +/* 800EFDF4 000ECD54 38 21 00 60 */ addi r1, r1, 0x60 +/* 800EFDF8 000ECD58 4E 80 00 20 */ blr + +.global ComputeMaxSpeed__10CMorphBallCFv +ComputeMaxSpeed__10CMorphBallCFv: +/* 800EFDFC 000ECD5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800EFE00 000ECD60 7C 08 02 A6 */ mflr r0 +/* 800EFE04 000ECD64 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800EFE08 000ECD68 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EFE0C 000ECD6C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800EFE10 000ECD70 7C 7F 1B 78 */ mr r31, r3 +/* 800EFE14 000ECD74 D0 01 00 08 */ stfs f0, 8(r1) +/* 800EFE18 000ECD78 48 00 1B B9 */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800EFE1C 000ECD7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800EFE20 000ECD80 41 82 00 40 */ beq lbl_800EFE60 +/* 800EFE24 000ECD84 80 7F 00 00 */ lwz r3, 0(r31) +/* 800EFE28 000ECD88 38 63 01 38 */ addi r3, r3, 0x138 +/* 800EFE2C 000ECD8C 48 22 4A 8D */ bl Magnitude__9CVector3fCFv +/* 800EFE30 000ECD90 C0 42 92 08 */ lfs f2, lbl_805AAF28@sda21(r2) +/* 800EFE34 000ECD94 C0 02 92 04 */ lfs f0, lbl_805AAF24@sda21(r2) +/* 800EFE38 000ECD98 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800EFE3C 000ECD9C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EFE40 000ECDA0 D0 21 00 08 */ stfs f1, 8(r1) +/* 800EFE44 000ECDA4 40 80 00 0C */ bge lbl_800EFE50 +/* 800EFE48 000ECDA8 38 61 00 08 */ addi r3, r1, 8 +/* 800EFE4C 000ECDAC 48 00 00 08 */ b lbl_800EFE54 +lbl_800EFE50: +/* 800EFE50 000ECDB0 38 62 92 04 */ addi r3, r2, lbl_805AAF24@sda21 +lbl_800EFE54: +/* 800EFE54 000ECDB4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800EFE58 000ECDB8 D0 01 00 08 */ stfs f0, 8(r1) +/* 800EFE5C 000ECDBC 48 00 00 34 */ b lbl_800EFE90 +lbl_800EFE60: +/* 800EFE60 000ECDC0 80 7F 00 00 */ lwz r3, 0(r31) +/* 800EFE64 000ECDC4 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 800EFE68 000ECDC8 2C 00 00 02 */ cmpwi r0, 2 +/* 800EFE6C 000ECDCC 40 82 00 0C */ bne lbl_800EFE78 +/* 800EFE70 000ECDD0 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 800EFE74 000ECDD4 48 00 00 08 */ b lbl_800EFE7C +lbl_800EFE78: +/* 800EFE78 000ECDD8 38 00 00 04 */ li r0, 4 +lbl_800EFE7C: +/* 800EFE7C 000ECDDC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800EFE80 000ECDE0 54 00 10 3A */ slwi r0, r0, 2 +/* 800EFE84 000ECDE4 7C 63 02 14 */ add r3, r3, r0 +/* 800EFE88 000ECDE8 C0 03 00 44 */ lfs f0, 0x44(r3) +/* 800EFE8C 000ECDEC D0 01 00 08 */ stfs f0, 8(r1) +lbl_800EFE90: +/* 800EFE90 000ECDF0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EFE94 000ECDF4 C0 21 00 08 */ lfs f1, 8(r1) +/* 800EFE98 000ECDF8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800EFE9C 000ECDFC 7C 08 03 A6 */ mtlr r0 +/* 800EFEA0 000ECE00 38 21 00 20 */ addi r1, r1, 0x20 +/* 800EFEA4 000ECE04 4E 80 00 20 */ blr + +.global SpinToSpeed__10CMorphBallFfRC9CVector3ff +SpinToSpeed__10CMorphBallFfRC9CVector3ff: +/* 800EFEA8 000ECE08 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800EFEAC 000ECE0C 7C 08 02 A6 */ mflr r0 +/* 800EFEB0 000ECE10 90 01 00 54 */ stw r0, 0x54(r1) +/* 800EFEB4 000ECE14 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 800EFEB8 000ECE18 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 800EFEBC 000ECE1C DB C1 00 30 */ stfd f30, 0x30(r1) +/* 800EFEC0 000ECE20 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 800EFEC4 000ECE24 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800EFEC8 000ECE28 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800EFECC 000ECE2C 7C 7E 1B 78 */ mr r30, r3 +/* 800EFED0 000ECE30 FF C0 08 90 */ fmr f30, f1 +/* 800EFED4 000ECE34 80 63 00 00 */ lwz r3, 0(r3) +/* 800EFED8 000ECE38 FF E0 10 90 */ fmr f31, f2 +/* 800EFEDC 000ECE3C 7C 9F 23 78 */ mr r31, r4 +/* 800EFEE0 000ECE40 38 63 01 44 */ addi r3, r3, 0x144 +/* 800EFEE4 000ECE44 4B F2 B6 4D */ bl GetVector__10CAxisAngleCFv +/* 800EFEE8 000ECE48 C0 03 00 00 */ lfs f0, 0(r3) +/* 800EFEEC 000ECE4C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800EFEF0 000ECE50 C0 03 00 04 */ lfs f0, 4(r3) +/* 800EFEF4 000ECE54 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800EFEF8 000ECE58 C0 03 00 08 */ lfs f0, 8(r3) +/* 800EFEFC 000ECE5C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800EFF00 000ECE60 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800EFF04 000ECE64 48 22 49 B5 */ bl Magnitude__9CVector3fCFv +/* 800EFF08 000ECE68 EC 7E 08 28 */ fsubs f3, f30, f1 +/* 800EFF0C 000ECE6C C0 5F 00 04 */ lfs f2, 4(r31) +/* 800EFF10 000ECE70 C0 3F 00 08 */ lfs f1, 8(r31) +/* 800EFF14 000ECE74 38 81 00 08 */ addi r4, r1, 8 +/* 800EFF18 000ECE78 C0 1F 00 00 */ lfs f0, 0(r31) +/* 800EFF1C 000ECE7C EC 7F 00 F2 */ fmuls f3, f31, f3 +/* 800EFF20 000ECE80 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800EFF24 000ECE84 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800EFF28 000ECE88 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800EFF2C 000ECE8C D0 41 00 0C */ stfs f2, 0xc(r1) +/* 800EFF30 000ECE90 D0 01 00 08 */ stfs f0, 8(r1) +/* 800EFF34 000ECE94 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800EFF38 000ECE98 80 7E 00 00 */ lwz r3, 0(r30) +/* 800EFF3C 000ECE9C 48 02 C4 05 */ bl ApplyTorqueWR__13CPhysicsActorFRC9CVector3f +/* 800EFF40 000ECEA0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 800EFF44 000ECEA4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 800EFF48 000ECEA8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 800EFF4C 000ECEAC CB C1 00 30 */ lfd f30, 0x30(r1) +/* 800EFF50 000ECEB0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800EFF54 000ECEB4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800EFF58 000ECEB8 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800EFF5C 000ECEBC 7C 08 03 A6 */ mtlr r0 +/* 800EFF60 000ECEC0 38 21 00 50 */ addi r1, r1, 0x50 +/* 800EFF64 000ECEC4 4E 80 00 20 */ blr + +.global ApplyGravity__10CMorphBallFR13CStateManager +ApplyGravity__10CMorphBallFR13CStateManager: +/* 800EFF68 000ECEC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EFF6C 000ECECC 7C 08 02 A6 */ mflr r0 +/* 800EFF70 000ECED0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EFF74 000ECED4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800EFF78 000ECED8 7C 9F 23 78 */ mr r31, r4 +/* 800EFF7C 000ECEDC 93 C1 00 08 */ stw r30, 8(r1) +/* 800EFF80 000ECEE0 7C 7E 1B 78 */ mr r30, r3 +/* 800EFF84 000ECEE4 80 63 00 00 */ lwz r3, 0(r3) +/* 800EFF88 000ECEE8 48 19 50 85 */ bl CheckSubmerged__7CPlayerCFv +/* 800EFF8C 000ECEEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800EFF90 000ECEF0 41 82 00 44 */ beq lbl_800EFFD4 +/* 800EFF94 000ECEF4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 800EFF98 000ECEF8 38 80 00 15 */ li r4, 0x15 +/* 800EFF9C 000ECEFC 80 63 00 00 */ lwz r3, 0(r3) +/* 800EFFA0 000ECF00 4B FA 1B 21 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800EFFA4 000ECF04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800EFFA8 000ECF08 40 82 00 2C */ bne lbl_800EFFD4 +/* 800EFFAC 000ECF0C 80 9E 00 00 */ lwz r4, 0(r30) +/* 800EFFB0 000ECF10 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800EFFB4 000ECF14 C0 44 00 E8 */ lfs f2, 0xe8(r4) +/* 800EFFB8 000ECF18 C0 23 00 E8 */ lfs f1, 0xe8(r3) +/* 800EFFBC 000ECF1C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800EFFC0 000ECF20 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800EFFC4 000ECF24 D0 04 01 50 */ stfs f0, 0x150(r4) +/* 800EFFC8 000ECF28 D0 04 01 54 */ stfs f0, 0x154(r4) +/* 800EFFCC 000ECF2C D0 24 01 58 */ stfs f1, 0x158(r4) +/* 800EFFD0 000ECF30 48 00 00 28 */ b lbl_800EFFF8 +lbl_800EFFD4: +/* 800EFFD4 000ECF34 80 9E 00 00 */ lwz r4, 0(r30) +/* 800EFFD8 000ECF38 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800EFFDC 000ECF3C C0 44 00 E8 */ lfs f2, 0xe8(r4) +/* 800EFFE0 000ECF40 C0 23 00 E4 */ lfs f1, 0xe4(r3) +/* 800EFFE4 000ECF44 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800EFFE8 000ECF48 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800EFFEC 000ECF4C D0 04 01 50 */ stfs f0, 0x150(r4) +/* 800EFFF0 000ECF50 D0 04 01 54 */ stfs f0, 0x154(r4) +/* 800EFFF4 000ECF54 D0 24 01 58 */ stfs f1, 0x158(r4) +lbl_800EFFF8: +/* 800EFFF8 000ECF58 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EFFFC 000ECF5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F0000 000ECF60 83 C1 00 08 */ lwz r30, 8(r1) +/* 800F0004 000ECF64 7C 08 03 A6 */ mtlr r0 +/* 800F0008 000ECF68 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F000C 000ECF6C 4E 80 00 20 */ blr + +.global CalculateSurfaceFriction__10CMorphBallCFv +CalculateSurfaceFriction__10CMorphBallCFv: +/* 800F0010 000ECF70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F0014 000ECF74 80 C3 00 00 */ lwz r6, 0(r3) +/* 800F0018 000ECF78 80 06 02 B0 */ lwz r0, 0x2b0(r6) +/* 800F001C 000ECF7C 2C 00 00 02 */ cmpwi r0, 2 +/* 800F0020 000ECF80 40 82 00 0C */ bne lbl_800F002C +/* 800F0024 000ECF84 80 06 02 AC */ lwz r0, 0x2ac(r6) +/* 800F0028 000ECF88 48 00 00 08 */ b lbl_800F0030 +lbl_800F002C: +/* 800F002C 000ECF8C 38 00 00 04 */ li r0, 4 +lbl_800F0030: +/* 800F0030 000ECF90 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) +/* 800F0034 000ECF94 54 04 10 3A */ slwi r4, r0, 2 +/* 800F0038 000ECF98 A0 66 02 6C */ lhz r3, 0x26c(r6) +/* 800F003C 000ECF9C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800F0040 000ECFA0 7C 85 22 14 */ add r4, r5, r4 +/* 800F0044 000ECFA4 C0 24 00 24 */ lfs f1, 0x24(r4) +/* 800F0048 000ECFA8 7C 03 00 40 */ cmplw r3, r0 +/* 800F004C 000ECFAC 41 82 00 0C */ beq lbl_800F0058 +/* 800F0050 000ECFB0 C0 02 91 D8 */ lfs f0, lbl_805AAEF8@sda21(r2) +/* 800F0054 000ECFB4 EC 21 00 32 */ fmuls f1, f1, f0 +lbl_800F0058: +/* 800F0058 000ECFB8 80 06 02 78 */ lwz r0, 0x278(r6) +/* 800F005C 000ECFBC 2C 00 00 00 */ cmpwi r0, 0 +/* 800F0060 000ECFC0 40 81 00 2C */ ble lbl_800F008C +/* 800F0064 000ECFC4 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 800F0068 000ECFC8 3C 00 43 30 */ lis r0, 0x4330 +/* 800F006C 000ECFCC 90 61 00 0C */ stw r3, 0xc(r1) +/* 800F0070 000ECFD0 C8 42 92 10 */ lfd f2, lbl_805AAF30@sda21(r2) +/* 800F0074 000ECFD4 90 01 00 08 */ stw r0, 8(r1) +/* 800F0078 000ECFD8 C0 62 92 08 */ lfs f3, lbl_805AAF28@sda21(r2) +/* 800F007C 000ECFDC C8 01 00 08 */ lfd f0, 8(r1) +/* 800F0080 000ECFE0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800F0084 000ECFE4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F0088 000ECFE8 EC 21 00 32 */ fmuls f1, f1, f0 +lbl_800F008C: +/* 800F008C 000ECFEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F0090 000ECFF0 4E 80 00 20 */ blr + +.global ComputeLiftForces__10CMorphBallFRC9CVector3fRC9CVector3fRC13CStateManager +ComputeLiftForces__10CMorphBallFRC9CVector3fRC9CVector3fRC13CStateManager: +/* 800F0094 000ECFF4 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 800F0098 000ECFF8 7C 08 02 A6 */ mflr r0 +/* 800F009C 000ECFFC 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 800F00A0 000ED000 DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 800F00A4 000ED004 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 800F00A8 000ED008 DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 800F00AC 000ED00C F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 800F00B0 000ED010 93 E1 01 CC */ stw r31, 0x1cc(r1) +/* 800F00B4 000ED014 93 C1 01 C8 */ stw r30, 0x1c8(r1) +/* 800F00B8 000ED018 93 A1 01 C4 */ stw r29, 0x1c4(r1) +/* 800F00BC 000ED01C 7C 7D 1B 78 */ mr r29, r3 +/* 800F00C0 000ED020 7C 9E 23 78 */ mr r30, r4 +/* 800F00C4 000ED024 7C DF 33 78 */ mr r31, r6 +/* 800F00C8 000ED028 7C A3 2B 78 */ mr r3, r5 +/* 800F00CC 000ED02C 48 22 47 ED */ bl Magnitude__9CVector3fCFv +/* 800F00D0 000ED030 80 1D 1C D0 */ lwz r0, 0x1cd0(r29) +/* 800F00D4 000ED034 2C 00 00 0F */ cmpwi r0, 0xf +/* 800F00D8 000ED038 40 80 00 24 */ bge lbl_800F00FC +/* 800F00DC 000ED03C 54 00 10 3A */ slwi r0, r0, 2 +/* 800F00E0 000ED040 7C 7D 02 14 */ add r3, r29, r0 +/* 800F00E4 000ED044 34 63 1C D4 */ addic. r3, r3, 0x1cd4 +/* 800F00E8 000ED048 41 82 00 08 */ beq lbl_800F00F0 +/* 800F00EC 000ED04C D0 23 00 00 */ stfs f1, 0(r3) +lbl_800F00F0: +/* 800F00F0 000ED050 80 7D 1C D0 */ lwz r3, 0x1cd0(r29) +/* 800F00F4 000ED054 38 03 00 01 */ addi r0, r3, 1 +/* 800F00F8 000ED058 90 1D 1C D0 */ stw r0, 0x1cd0(r29) +lbl_800F00FC: +/* 800F00FC 000ED05C 80 7D 1C D0 */ lwz r3, 0x1cd0(r29) +/* 800F0100 000ED060 38 FD 1C D4 */ addi r7, r29, 0x1cd4 +/* 800F0104 000ED064 34 A3 FF FF */ addic. r5, r3, -1 +/* 800F0108 000ED068 54 A0 10 3A */ slwi r0, r5, 2 +/* 800F010C 000ED06C 7C A3 2B 78 */ mr r3, r5 +/* 800F0110 000ED070 7C C7 02 14 */ add r6, r7, r0 +/* 800F0114 000ED074 40 81 00 C4 */ ble lbl_800F01D8 +/* 800F0118 000ED078 54 A0 E8 FF */ rlwinm. r0, r5, 0x1d, 3, 0x1f +/* 800F011C 000ED07C 7C 09 03 A6 */ mtctr r0 +/* 800F0120 000ED080 41 82 00 98 */ beq lbl_800F01B8 +lbl_800F0124: +/* 800F0124 000ED084 38 85 FF FF */ addi r4, r5, -1 +/* 800F0128 000ED088 54 80 10 3A */ slwi r0, r4, 2 +/* 800F012C 000ED08C 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800F0130 000ED090 38 85 FF FE */ addi r4, r5, -2 +/* 800F0134 000ED094 54 80 10 3A */ slwi r0, r4, 2 +/* 800F0138 000ED098 D0 06 00 00 */ stfs f0, 0(r6) +/* 800F013C 000ED09C 38 85 FF FD */ addi r4, r5, -3 +/* 800F0140 000ED0A0 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800F0144 000ED0A4 54 80 10 3A */ slwi r0, r4, 2 +/* 800F0148 000ED0A8 38 85 FF FC */ addi r4, r5, -4 +/* 800F014C 000ED0AC D0 06 FF FC */ stfs f0, -4(r6) +/* 800F0150 000ED0B0 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800F0154 000ED0B4 54 80 10 3A */ slwi r0, r4, 2 +/* 800F0158 000ED0B8 38 85 FF FB */ addi r4, r5, -5 +/* 800F015C 000ED0BC D0 06 FF F8 */ stfs f0, -8(r6) +/* 800F0160 000ED0C0 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800F0164 000ED0C4 54 80 10 3A */ slwi r0, r4, 2 +/* 800F0168 000ED0C8 38 85 FF FA */ addi r4, r5, -6 +/* 800F016C 000ED0CC D0 06 FF F4 */ stfs f0, -0xc(r6) +/* 800F0170 000ED0D0 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800F0174 000ED0D4 54 80 10 3A */ slwi r0, r4, 2 +/* 800F0178 000ED0D8 38 85 FF F9 */ addi r4, r5, -7 +/* 800F017C 000ED0DC D0 06 FF F0 */ stfs f0, -0x10(r6) +/* 800F0180 000ED0E0 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800F0184 000ED0E4 54 80 10 3A */ slwi r0, r4, 2 +/* 800F0188 000ED0E8 38 85 FF F8 */ addi r4, r5, -8 +/* 800F018C 000ED0EC 38 A5 FF F8 */ addi r5, r5, -8 +/* 800F0190 000ED0F0 D0 06 FF EC */ stfs f0, -0x14(r6) +/* 800F0194 000ED0F4 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800F0198 000ED0F8 54 80 10 3A */ slwi r0, r4, 2 +/* 800F019C 000ED0FC D0 06 FF E8 */ stfs f0, -0x18(r6) +/* 800F01A0 000ED100 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800F01A4 000ED104 D0 06 FF E4 */ stfs f0, -0x1c(r6) +/* 800F01A8 000ED108 38 C6 FF E0 */ addi r6, r6, -32 +/* 800F01AC 000ED10C 42 00 FF 78 */ bdnz lbl_800F0124 +/* 800F01B0 000ED110 70 63 00 07 */ andi. r3, r3, 7 +/* 800F01B4 000ED114 41 82 00 24 */ beq lbl_800F01D8 +lbl_800F01B8: +/* 800F01B8 000ED118 7C 69 03 A6 */ mtctr r3 +lbl_800F01BC: +/* 800F01BC 000ED11C 38 85 FF FF */ addi r4, r5, -1 +/* 800F01C0 000ED120 38 A5 FF FF */ addi r5, r5, -1 +/* 800F01C4 000ED124 54 80 10 3A */ slwi r0, r4, 2 +/* 800F01C8 000ED128 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800F01CC 000ED12C D0 06 00 00 */ stfs f0, 0(r6) +/* 800F01D0 000ED130 38 C6 FF FC */ addi r6, r6, -4 +/* 800F01D4 000ED134 42 00 FF E8 */ bdnz lbl_800F01BC +lbl_800F01D8: +/* 800F01D8 000ED138 D0 27 00 00 */ stfs f1, 0(r7) +/* 800F01DC 000ED13C 7F C4 F3 78 */ mr r4, r30 +/* 800F01E0 000ED140 38 7D 1D 10 */ addi r3, r29, 0x1d10 +/* 800F01E4 000ED144 48 00 04 5D */ bl sub_800f0640 +/* 800F01E8 000ED148 38 61 00 68 */ addi r3, r1, 0x68 +/* 800F01EC 000ED14C 38 9D 1D 10 */ addi r4, r29, 0x1d10 +/* 800F01F0 000ED150 48 00 03 DD */ bl "GetAverage__31TReservedAverage<9CVector3f,15>CFv" +/* 800F01F4 000ED154 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 800F01F8 000ED158 38 00 00 00 */ li r0, 0 +/* 800F01FC 000ED15C C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 800F0200 000ED160 38 61 00 90 */ addi r3, r1, 0x90 +/* 800F0204 000ED164 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800F0208 000ED168 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 800F020C 000ED16C D0 21 00 94 */ stfs f1, 0x94(r1) +/* 800F0210 000ED170 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 800F0214 000ED174 98 01 00 74 */ stb r0, 0x74(r1) +/* 800F0218 000ED178 48 22 46 A1 */ bl Magnitude__9CVector3fCFv +/* 800F021C 000ED17C FF E0 08 90 */ fmr f31, f1 +/* 800F0220 000ED180 C0 02 92 18 */ lfs f0, lbl_805AAF38@sda21(r2) +/* 800F0224 000ED184 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F0228 000ED188 40 81 03 18 */ ble lbl_800F0540 +/* 800F022C 000ED18C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800F0230 000ED190 38 9D 1C D0 */ addi r4, r29, 0x1cd0 +/* 800F0234 000ED194 48 00 03 39 */ bl "GetAverage__22TReservedAverageCFv" +/* 800F0238 000ED198 C3 C1 00 18 */ lfs f30, 0x18(r1) +/* 800F023C 000ED19C 38 00 00 00 */ li r0, 0 +/* 800F0240 000ED1A0 C0 02 91 7C */ lfs f0, lbl_805AAE9C@sda21(r2) +/* 800F0244 000ED1A4 98 01 00 1C */ stb r0, 0x1c(r1) +/* 800F0248 000ED1A8 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800F024C 000ED1AC 40 80 02 F4 */ bge lbl_800F0540 +/* 800F0250 000ED1B0 80 9D 00 00 */ lwz r4, 0(r29) +/* 800F0254 000ED1B4 38 61 01 58 */ addi r3, r1, 0x158 +/* 800F0258 000ED1B8 81 84 00 00 */ lwz r12, 0(r4) +/* 800F025C 000ED1BC 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 800F0260 000ED1C0 7D 89 03 A6 */ mtctr r12 +/* 800F0264 000ED1C4 4E 80 04 21 */ bctrl +/* 800F0268 000ED1C8 38 61 01 88 */ addi r3, r1, 0x188 +/* 800F026C 000ED1CC 38 81 01 58 */ addi r4, r1, 0x158 +/* 800F0270 000ED1D0 48 22 29 05 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F0274 000ED1D4 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F0278 000ED1D8 81 83 00 00 */ lwz r12, 0(r3) +/* 800F027C 000ED1DC 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 800F0280 000ED1E0 7D 89 03 A6 */ mtctr r12 +/* 800F0284 000ED1E4 4E 80 04 21 */ bctrl +/* 800F0288 000ED1E8 7C 64 1B 78 */ mr r4, r3 +/* 800F028C 000ED1EC 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800F0290 000ED1F0 81 84 00 00 */ lwz r12, 0(r4) +/* 800F0294 000ED1F4 38 A1 01 88 */ addi r5, r1, 0x188 +/* 800F0298 000ED1F8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800F029C 000ED1FC 7D 89 03 A6 */ mtctr r12 +/* 800F02A0 000ED200 4E 80 04 21 */ bctrl +/* 800F02A4 000ED204 C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 800F02A8 000ED208 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800F02AC 000ED20C C0 E2 91 E4 */ lfs f7, lbl_805AAF04@sda21(r2) +/* 800F02B0 000ED210 38 81 00 5C */ addi r4, r1, 0x5c +/* 800F02B4 000ED214 C0 41 00 C8 */ lfs f2, 0xc8(r1) +/* 800F02B8 000ED218 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800F02BC 000ED21C C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 800F02C0 000ED220 EC C1 38 2A */ fadds f6, f1, f7 +/* 800F02C4 000ED224 C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 800F02C8 000ED228 EC A2 38 2A */ fadds f5, f2, f7 +/* 800F02CC 000ED22C EC 40 38 28 */ fsubs f2, f0, f7 +/* 800F02D0 000ED230 C0 61 00 CC */ lfs f3, 0xcc(r1) +/* 800F02D4 000ED234 C0 82 92 1C */ lfs f4, lbl_805AAF3C@sda21(r2) +/* 800F02D8 000ED238 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 800F02DC 000ED23C EC 21 38 28 */ fsubs f1, f1, f7 +/* 800F02E0 000ED240 EC 63 20 2A */ fadds f3, f3, f4 +/* 800F02E4 000ED244 EC 00 20 28 */ fsubs f0, f0, f4 +/* 800F02E8 000ED248 D0 C1 00 50 */ stfs f6, 0x50(r1) +/* 800F02EC 000ED24C D0 A1 00 54 */ stfs f5, 0x54(r1) +/* 800F02F0 000ED250 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 800F02F4 000ED254 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 800F02F8 000ED258 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 800F02FC 000ED25C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800F0300 000ED260 48 24 82 09 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800F0304 000ED264 38 00 00 00 */ li r0, 0 +/* 800F0308 000ED268 80 AD 88 D4 */ lwz r5, lbl_805A7494@sda21(r13) +/* 800F030C 000ED26C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F0310 000ED270 38 60 00 00 */ li r3, 0 +/* 800F0314 000ED274 38 80 00 01 */ li r4, 1 +/* 800F0318 000ED278 90 01 00 10 */ stw r0, 0x10(r1) +/* 800F031C 000ED27C 48 29 9B D9 */ bl __shl2i +/* 800F0320 000ED280 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800F0324 000ED284 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 800F0328 000ED288 7C 00 1B 78 */ or r0, r0, r3 +/* 800F032C 000ED28C 38 61 01 30 */ addi r3, r1, 0x130 +/* 800F0330 000ED290 7C A5 23 78 */ or r5, r5, r4 +/* 800F0334 000ED294 90 01 00 10 */ stw r0, 0x10(r1) +/* 800F0338 000ED298 38 81 00 10 */ addi r4, r1, 0x10 +/* 800F033C 000ED29C 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800F0340 000ED2A0 48 1D F5 75 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 800F0344 000ED2A4 C0 A1 00 E8 */ lfs f5, 0xe8(r1) +/* 800F0348 000ED2A8 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha +/* 800F034C 000ED2AC 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l +/* 800F0350 000ED2B0 C0 81 00 EC */ lfs f4, 0xec(r1) +/* 800F0354 000ED2B4 C0 61 00 F0 */ lfs f3, 0xf0(r1) +/* 800F0358 000ED2B8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800F035C 000ED2BC C0 41 00 F4 */ lfs f2, 0xf4(r1) +/* 800F0360 000ED2C0 3C 60 80 5A */ lis r3, lbl_8059FD18@ha +/* 800F0364 000ED2C4 C0 21 00 F8 */ lfs f1, 0xf8(r1) +/* 800F0368 000ED2C8 38 A4 66 70 */ addi r5, r4, skIdentity4f@l +/* 800F036C 000ED2CC C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 800F0370 000ED2D0 38 C3 FD 18 */ addi r6, r3, lbl_8059FD18@l +/* 800F0374 000ED2D4 90 01 01 30 */ stw r0, 0x130(r1) +/* 800F0378 000ED2D8 7F E3 FB 78 */ mr r3, r31 +/* 800F037C 000ED2DC 38 81 01 30 */ addi r4, r1, 0x130 +/* 800F0380 000ED2E0 D0 A1 01 40 */ stfs f5, 0x140(r1) +/* 800F0384 000ED2E4 D0 81 01 44 */ stfs f4, 0x144(r1) +/* 800F0388 000ED2E8 D0 61 01 48 */ stfs f3, 0x148(r1) +/* 800F038C 000ED2EC D0 41 01 4C */ stfs f2, 0x14c(r1) +/* 800F0390 000ED2F0 D0 21 01 50 */ stfs f1, 0x150(r1) +/* 800F0394 000ED2F4 D0 01 01 54 */ stfs f0, 0x154(r1) +/* 800F0398 000ED2F8 48 09 30 09 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter +/* 800F039C 000ED2FC 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha +/* 800F03A0 000ED300 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F03A4 000ED304 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l +/* 800F03A8 000ED308 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 800F03AC 000ED30C 90 81 01 30 */ stw r4, 0x130(r1) +/* 800F03B0 000ED310 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l +/* 800F03B4 000ED314 90 61 01 30 */ stw r3, 0x130(r1) +/* 800F03B8 000ED318 41 82 01 88 */ beq lbl_800F0540 +/* 800F03BC 000ED31C 7F A3 EB 78 */ mr r3, r29 +/* 800F03C0 000ED320 48 00 8A 45 */ bl GetBallRadius__10CMorphBallCFv +/* 800F03C4 000ED324 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F03C8 000ED328 38 60 00 00 */ li r3, 0 +/* 800F03CC 000ED32C C0 C2 92 20 */ lfs f6, lbl_805AAF40@sda21(r2) +/* 800F03D0 000ED330 38 80 00 01 */ li r4, 1 +/* 800F03D4 000ED334 ED 20 F8 24 */ fdivs f9, f0, f31 +/* 800F03D8 000ED338 C0 61 00 90 */ lfs f3, 0x90(r1) +/* 800F03DC 000ED33C C0 41 00 94 */ lfs f2, 0x94(r1) +/* 800F03E0 000ED340 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 800F03E4 000ED344 C0 81 01 94 */ lfs f4, 0x194(r1) +/* 800F03E8 000ED348 C0 A2 91 50 */ lfs f5, lbl_805AAE70@sda21(r2) +/* 800F03EC 000ED34C ED 09 00 F2 */ fmuls f8, f9, f3 +/* 800F03F0 000ED350 C0 61 01 A4 */ lfs f3, 0x1a4(r1) +/* 800F03F4 000ED354 EC E9 00 B2 */ fmuls f7, f9, f2 +/* 800F03F8 000ED358 C0 41 01 B4 */ lfs f2, 0x1b4(r1) +/* 800F03FC 000ED35C EC C6 00 72 */ fmuls f6, f6, f1 +/* 800F0400 000ED360 80 AD 88 D8 */ lwz r5, lbl_805A7498@sda21(r13) +/* 800F0404 000ED364 EC 23 28 2A */ fadds f1, f3, f5 +/* 800F0408 000ED368 D1 01 00 78 */ stfs f8, 0x78(r1) +/* 800F040C 000ED36C EC 69 00 32 */ fmuls f3, f9, f0 +/* 800F0410 000ED370 EC 84 28 2A */ fadds f4, f4, f5 +/* 800F0414 000ED374 D0 E1 00 7C */ stfs f7, 0x7c(r1) +/* 800F0418 000ED378 EC 02 30 2A */ fadds f0, f2, f6 +/* 800F041C 000ED37C D0 21 00 88 */ stfs f1, 0x88(r1) +/* 800F0420 000ED380 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 800F0424 000ED384 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800F0428 000ED388 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 800F042C 000ED38C 48 29 9A C9 */ bl __shl2i +/* 800F0430 000ED390 39 00 00 01 */ li r8, 1 +/* 800F0434 000ED394 38 00 00 00 */ li r0, 0 +/* 800F0438 000ED398 90 81 00 D4 */ stw r4, 0xd4(r1) +/* 800F043C 000ED39C 7F E4 FB 78 */ mr r4, r31 +/* 800F0440 000ED3A0 C0 22 92 24 */ lfs f1, lbl_805AAF44@sda21(r2) +/* 800F0444 000ED3A4 38 A1 00 84 */ addi r5, r1, 0x84 +/* 800F0448 000ED3A8 90 61 00 D0 */ stw r3, 0xd0(r1) +/* 800F044C 000ED3AC 38 61 01 00 */ addi r3, r1, 0x100 +/* 800F0450 000ED3B0 38 C1 00 78 */ addi r6, r1, 0x78 +/* 800F0454 000ED3B4 38 E1 00 D0 */ addi r7, r1, 0xd0 +/* 800F0458 000ED3B8 91 01 00 B0 */ stw r8, 0xb0(r1) +/* 800F045C 000ED3BC 90 01 00 DC */ stw r0, 0xdc(r1) +/* 800F0460 000ED3C0 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 800F0464 000ED3C4 91 01 00 E0 */ stw r8, 0xe0(r1) +/* 800F0468 000ED3C8 4B F5 CB 31 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 800F046C 000ED3CC 88 01 01 20 */ lbz r0, 0x120(r1) +/* 800F0470 000ED3D0 28 00 00 00 */ cmplwi r0, 0 +/* 800F0474 000ED3D4 40 82 00 CC */ bne lbl_800F0540 +/* 800F0478 000ED3D8 C0 22 92 28 */ lfs f1, lbl_805AAF48@sda21(r2) +/* 800F047C 000ED3DC C0 0D 88 DC */ lfs f0, lbl_805A749C@sda21(r13) +/* 800F0480 000ED3E0 EC 3E 08 28 */ fsubs f1, f30, f1 +/* 800F0484 000ED3E4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F0488 000ED3E8 D0 21 00 08 */ stfs f1, 8(r1) +/* 800F048C 000ED3EC 40 80 00 0C */ bge lbl_800F0498 +/* 800F0490 000ED3F0 38 61 00 08 */ addi r3, r1, 8 +/* 800F0494 000ED3F4 48 00 00 08 */ b lbl_800F049C +lbl_800F0498: +/* 800F0498 000ED3F8 38 6D 88 DC */ addi r3, r13, lbl_805A749C@sda21 +lbl_800F049C: +/* 800F049C 000ED3FC C0 42 91 5C */ lfs f2, lbl_805AAE7C@sda21(r2) +/* 800F04A0 000ED400 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F04A4 000ED404 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F04A8 000ED408 EF C2 00 28 */ fsubs f30, f2, f0 +/* 800F04AC 000ED40C C0 02 92 2C */ lfs f0, lbl_805AAF4C@sda21(r2) +/* 800F04B0 000ED410 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800F04B4 000ED414 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 800F04B8 000ED418 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800F04BC 000ED41C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800F04C0 000ED420 4B F2 B0 75 */ bl Identity__10CAxisAngleFv +/* 800F04C4 000ED424 7C 65 1B 78 */ mr r5, r3 +/* 800F04C8 000ED428 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F04CC 000ED42C 38 81 00 44 */ addi r4, r1, 0x44 +/* 800F04D0 000ED430 48 02 BD F5 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800F04D4 000ED434 C0 5D 19 34 */ lfs f2, 0x1934(r29) +/* 800F04D8 000ED438 38 61 00 38 */ addi r3, r1, 0x38 +/* 800F04DC 000ED43C C0 3D 19 44 */ lfs f1, 0x1944(r29) +/* 800F04E0 000ED440 38 81 00 2C */ addi r4, r1, 0x2c +/* 800F04E4 000ED444 C0 1D 19 24 */ lfs f0, 0x1924(r29) +/* 800F04E8 000ED448 FC 40 10 50 */ fneg f2, f2 +/* 800F04EC 000ED44C C0 62 92 30 */ lfs f3, lbl_805AAF50@sda21(r2) +/* 800F04F0 000ED450 FC 20 08 50 */ fneg f1, f1 +/* 800F04F4 000ED454 FC 00 00 50 */ fneg f0, f0 +/* 800F04F8 000ED458 EC 83 00 B2 */ fmuls f4, f3, f2 +/* 800F04FC 000ED45C EC 43 00 72 */ fmuls f2, f3, f1 +/* 800F0500 000ED460 EC 23 00 32 */ fmuls f1, f3, f0 +/* 800F0504 000ED464 EC BE 01 32 */ fmuls f5, f30, f4 +/* 800F0508 000ED468 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 800F050C 000ED46C EC 7E 00 B2 */ fmuls f3, f30, f2 +/* 800F0510 000ED470 EC 1E 00 72 */ fmuls f0, f30, f1 +/* 800F0514 000ED474 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800F0518 000ED478 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800F051C 000ED47C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800F0520 000ED480 D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 800F0524 000ED484 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800F0528 000ED488 4B F2 B0 19 */ bl FromVector__10CAxisAngleFRC9CVector3f +/* 800F052C 000ED48C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800F0530 000ED490 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F0534 000ED494 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800F0538 000ED498 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800F053C 000ED49C 48 02 BE 5D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_800F0540: +/* 800F0540 000ED4A0 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 800F0544 000ED4A4 CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 800F0548 000ED4A8 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 800F054C 000ED4AC CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 800F0550 000ED4B0 83 E1 01 CC */ lwz r31, 0x1cc(r1) +/* 800F0554 000ED4B4 83 C1 01 C8 */ lwz r30, 0x1c8(r1) +/* 800F0558 000ED4B8 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 800F055C 000ED4BC 83 A1 01 C4 */ lwz r29, 0x1c4(r1) +/* 800F0560 000ED4C0 7C 08 03 A6 */ mtlr r0 +/* 800F0564 000ED4C4 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 800F0568 000ED4C8 4E 80 00 20 */ blr + +.global "GetAverage__22TReservedAverageCFv" +"GetAverage__22TReservedAverageCFv": +/* 800F056C 000ED4CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F0570 000ED4D0 7C 08 02 A6 */ mflr r0 +/* 800F0574 000ED4D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F0578 000ED4D8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F057C 000ED4DC 7C 7F 1B 78 */ mr r31, r3 +/* 800F0580 000ED4E0 80 04 00 00 */ lwz r0, 0(r4) +/* 800F0584 000ED4E4 2C 00 00 00 */ cmpwi r0, 0 +/* 800F0588 000ED4E8 40 82 00 10 */ bne lbl_800F0598 +/* 800F058C 000ED4EC 38 00 00 00 */ li r0, 0 +/* 800F0590 000ED4F0 98 1F 00 04 */ stb r0, 4(r31) +/* 800F0594 000ED4F4 48 00 00 24 */ b lbl_800F05B8 +lbl_800F0598: +/* 800F0598 000ED4F8 38 64 00 04 */ addi r3, r4, 4 +/* 800F059C 000ED4FC 7C 04 03 78 */ mr r4, r0 +/* 800F05A0 000ED500 4B F1 82 F5 */ bl "GetAverageValue__FPCfi" +/* 800F05A4 000ED504 38 00 00 01 */ li r0, 1 +/* 800F05A8 000ED508 28 1F 00 00 */ cmplwi r31, 0 +/* 800F05AC 000ED50C 98 1F 00 04 */ stb r0, 4(r31) +/* 800F05B0 000ED510 41 82 00 08 */ beq lbl_800F05B8 +/* 800F05B4 000ED514 D0 3F 00 00 */ stfs f1, 0(r31) +lbl_800F05B8: +/* 800F05B8 000ED518 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F05BC 000ED51C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F05C0 000ED520 7C 08 03 A6 */ mtlr r0 +/* 800F05C4 000ED524 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F05C8 000ED528 4E 80 00 20 */ blr + +.global "GetAverage__31TReservedAverage<9CVector3f,15>CFv" +"GetAverage__31TReservedAverage<9CVector3f,15>CFv": +/* 800F05CC 000ED52C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F05D0 000ED530 7C 08 02 A6 */ mflr r0 +/* 800F05D4 000ED534 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F05D8 000ED538 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800F05DC 000ED53C 7C 7F 1B 78 */ mr r31, r3 +/* 800F05E0 000ED540 80 A4 00 00 */ lwz r5, 0(r4) +/* 800F05E4 000ED544 2C 05 00 00 */ cmpwi r5, 0 +/* 800F05E8 000ED548 40 82 00 10 */ bne lbl_800F05F8 +/* 800F05EC 000ED54C 38 00 00 00 */ li r0, 0 +/* 800F05F0 000ED550 98 1F 00 0C */ stb r0, 0xc(r31) +/* 800F05F4 000ED554 48 00 00 38 */ b lbl_800F062C +lbl_800F05F8: +/* 800F05F8 000ED558 38 61 00 08 */ addi r3, r1, 8 +/* 800F05FC 000ED55C 38 84 00 04 */ addi r4, r4, 4 +/* 800F0600 000ED560 4B F2 AA 41 */ bl "GetAverageValue<9CVector3f>__FPC9CVector3fi" +/* 800F0604 000ED564 38 00 00 01 */ li r0, 1 +/* 800F0608 000ED568 28 1F 00 00 */ cmplwi r31, 0 +/* 800F060C 000ED56C 98 1F 00 0C */ stb r0, 0xc(r31) +/* 800F0610 000ED570 41 82 00 1C */ beq lbl_800F062C +/* 800F0614 000ED574 C0 01 00 08 */ lfs f0, 8(r1) +/* 800F0618 000ED578 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800F061C 000ED57C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800F0620 000ED580 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800F0624 000ED584 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800F0628 000ED588 D0 1F 00 08 */ stfs f0, 8(r31) +lbl_800F062C: +/* 800F062C 000ED58C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F0630 000ED590 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800F0634 000ED594 7C 08 03 A6 */ mtlr r0 +/* 800F0638 000ED598 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F063C 000ED59C 4E 80 00 20 */ blr + +.global sub_800f0640 +sub_800f0640: +/* 800F0640 000ED5A0 80 03 00 00 */ lwz r0, 0(r3) +/* 800F0644 000ED5A4 2C 00 00 0F */ cmpwi r0, 0xf +/* 800F0648 000ED5A8 40 80 00 38 */ bge lbl_800F0680 +/* 800F064C 000ED5AC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800F0650 000ED5B0 7C A3 02 14 */ add r5, r3, r0 +/* 800F0654 000ED5B4 34 A5 00 04 */ addic. r5, r5, 4 +/* 800F0658 000ED5B8 41 82 00 1C */ beq lbl_800F0674 +/* 800F065C 000ED5BC C0 04 00 00 */ lfs f0, 0(r4) +/* 800F0660 000ED5C0 D0 05 00 00 */ stfs f0, 0(r5) +/* 800F0664 000ED5C4 C0 04 00 04 */ lfs f0, 4(r4) +/* 800F0668 000ED5C8 D0 05 00 04 */ stfs f0, 4(r5) +/* 800F066C 000ED5CC C0 04 00 08 */ lfs f0, 8(r4) +/* 800F0670 000ED5D0 D0 05 00 08 */ stfs f0, 8(r5) +lbl_800F0674: +/* 800F0674 000ED5D4 80 A3 00 00 */ lwz r5, 0(r3) +/* 800F0678 000ED5D8 38 05 00 01 */ addi r0, r5, 1 +/* 800F067C 000ED5DC 90 03 00 00 */ stw r0, 0(r3) +lbl_800F0680: +/* 800F0680 000ED5E0 80 A3 00 00 */ lwz r5, 0(r3) +/* 800F0684 000ED5E4 35 25 FF FF */ addic. r9, r5, -1 +/* 800F0688 000ED5E8 1C 09 00 0C */ mulli r0, r9, 0xc +/* 800F068C 000ED5EC 7D 25 4B 78 */ mr r5, r9 +/* 800F0690 000ED5F0 7D 03 02 14 */ add r8, r3, r0 +/* 800F0694 000ED5F4 39 08 00 04 */ addi r8, r8, 4 +/* 800F0698 000ED5F8 40 81 00 E8 */ ble lbl_800F0780 +/* 800F069C 000ED5FC 55 20 F0 BF */ rlwinm. r0, r9, 0x1e, 2, 0x1f +/* 800F06A0 000ED600 7C 09 03 A6 */ mtctr r0 +/* 800F06A4 000ED604 41 82 00 A8 */ beq lbl_800F074C +lbl_800F06A8: +/* 800F06A8 000ED608 38 C9 FF FF */ addi r6, r9, -1 +/* 800F06AC 000ED60C 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F06B0 000ED610 38 C9 FF FE */ addi r6, r9, -2 +/* 800F06B4 000ED614 7C E3 02 14 */ add r7, r3, r0 +/* 800F06B8 000ED618 C0 07 00 04 */ lfs f0, 4(r7) +/* 800F06BC 000ED61C 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F06C0 000ED620 38 C9 FF FD */ addi r6, r9, -3 +/* 800F06C4 000ED624 D0 08 00 00 */ stfs f0, 0(r8) +/* 800F06C8 000ED628 C0 07 00 08 */ lfs f0, 8(r7) +/* 800F06CC 000ED62C D0 08 00 04 */ stfs f0, 4(r8) +/* 800F06D0 000ED630 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F06D4 000ED634 7C E3 02 14 */ add r7, r3, r0 +/* 800F06D8 000ED638 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F06DC 000ED63C 38 C9 FF FC */ addi r6, r9, -4 +/* 800F06E0 000ED640 D0 08 00 08 */ stfs f0, 8(r8) +/* 800F06E4 000ED644 39 29 FF FC */ addi r9, r9, -4 +/* 800F06E8 000ED648 C0 07 00 04 */ lfs f0, 4(r7) +/* 800F06EC 000ED64C D0 08 FF F4 */ stfs f0, -0xc(r8) +/* 800F06F0 000ED650 C0 07 00 08 */ lfs f0, 8(r7) +/* 800F06F4 000ED654 D0 08 FF F8 */ stfs f0, -8(r8) +/* 800F06F8 000ED658 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F06FC 000ED65C 7C E3 02 14 */ add r7, r3, r0 +/* 800F0700 000ED660 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F0704 000ED664 D0 08 FF FC */ stfs f0, -4(r8) +/* 800F0708 000ED668 C0 07 00 04 */ lfs f0, 4(r7) +/* 800F070C 000ED66C D0 08 FF E8 */ stfs f0, -0x18(r8) +/* 800F0710 000ED670 C0 07 00 08 */ lfs f0, 8(r7) +/* 800F0714 000ED674 D0 08 FF EC */ stfs f0, -0x14(r8) +/* 800F0718 000ED678 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F071C 000ED67C 7C E3 02 14 */ add r7, r3, r0 +/* 800F0720 000ED680 D0 08 FF F0 */ stfs f0, -0x10(r8) +/* 800F0724 000ED684 C0 07 00 04 */ lfs f0, 4(r7) +/* 800F0728 000ED688 D0 08 FF DC */ stfs f0, -0x24(r8) +/* 800F072C 000ED68C C0 07 00 08 */ lfs f0, 8(r7) +/* 800F0730 000ED690 D0 08 FF E0 */ stfs f0, -0x20(r8) +/* 800F0734 000ED694 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F0738 000ED698 D0 08 FF E4 */ stfs f0, -0x1c(r8) +/* 800F073C 000ED69C 39 08 FF D0 */ addi r8, r8, -48 +/* 800F0740 000ED6A0 42 00 FF 68 */ bdnz lbl_800F06A8 +/* 800F0744 000ED6A4 70 A5 00 03 */ andi. r5, r5, 3 +/* 800F0748 000ED6A8 41 82 00 38 */ beq lbl_800F0780 +lbl_800F074C: +/* 800F074C 000ED6AC 7C A9 03 A6 */ mtctr r5 +lbl_800F0750: +/* 800F0750 000ED6B0 38 C9 FF FF */ addi r6, r9, -1 +/* 800F0754 000ED6B4 39 29 FF FF */ addi r9, r9, -1 +/* 800F0758 000ED6B8 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F075C 000ED6BC 7C E3 02 14 */ add r7, r3, r0 +/* 800F0760 000ED6C0 C0 07 00 04 */ lfs f0, 4(r7) +/* 800F0764 000ED6C4 D0 08 00 00 */ stfs f0, 0(r8) +/* 800F0768 000ED6C8 C0 07 00 08 */ lfs f0, 8(r7) +/* 800F076C 000ED6CC D0 08 00 04 */ stfs f0, 4(r8) +/* 800F0770 000ED6D0 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F0774 000ED6D4 D0 08 00 08 */ stfs f0, 8(r8) +/* 800F0778 000ED6D8 39 08 FF F4 */ addi r8, r8, -12 +/* 800F077C 000ED6DC 42 00 FF D4 */ bdnz lbl_800F0750 +lbl_800F0780: +/* 800F0780 000ED6E0 C0 04 00 00 */ lfs f0, 0(r4) +/* 800F0784 000ED6E4 D0 03 00 04 */ stfs f0, 4(r3) +/* 800F0788 000ED6E8 C0 04 00 04 */ lfs f0, 4(r4) +/* 800F078C 000ED6EC D0 03 00 08 */ stfs f0, 8(r3) +/* 800F0790 000ED6F0 C0 04 00 08 */ lfs f0, 8(r4) +/* 800F0794 000ED6F4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800F0798 000ED6F8 4E 80 00 20 */ blr + +.global IsInFrustum__10CMorphBallCFRC14CFrustumPlanes +IsInFrustum__10CMorphBallCFRC14CFrustumPlanes: +/* 800F079C 000ED6FC 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800F07A0 000ED700 7C 08 02 A6 */ mflr r0 +/* 800F07A4 000ED704 90 01 00 84 */ stw r0, 0x84(r1) +/* 800F07A8 000ED708 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 800F07AC 000ED70C 93 C1 00 78 */ stw r30, 0x78(r1) +/* 800F07B0 000ED710 7C 9E 23 78 */ mr r30, r4 +/* 800F07B4 000ED714 93 A1 00 74 */ stw r29, 0x74(r1) +/* 800F07B8 000ED718 7C 7D 1B 78 */ mr r29, r3 +/* 800F07BC 000ED71C 80 83 00 58 */ lwz r4, 0x58(r3) +/* 800F07C0 000ED720 38 60 00 00 */ li r3, 0 +/* 800F07C4 000ED724 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800F07C8 000ED728 28 00 00 00 */ cmplwi r0, 0 +/* 800F07CC 000ED72C 40 82 00 14 */ bne lbl_800F07E0 +/* 800F07D0 000ED730 88 04 00 28 */ lbz r0, 0x28(r4) +/* 800F07D4 000ED734 28 00 00 00 */ cmplwi r0, 0 +/* 800F07D8 000ED738 40 82 00 08 */ bne lbl_800F07E0 +/* 800F07DC 000ED73C 38 60 00 01 */ li r3, 1 +lbl_800F07E0: +/* 800F07E0 000ED740 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F07E4 000ED744 40 82 01 08 */ bne lbl_800F08EC +/* 800F07E8 000ED748 80 9D 19 B8 */ lwz r4, 0x19b8(r29) +/* 800F07EC 000ED74C 38 61 00 08 */ addi r3, r1, 8 +/* 800F07F0 000ED750 81 84 00 00 */ lwz r12, 0(r4) +/* 800F07F4 000ED754 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 800F07F8 000ED758 7D 89 03 A6 */ mtctr r12 +/* 800F07FC 000ED75C 4E 80 04 21 */ bctrl +/* 800F0800 000ED760 88 01 00 20 */ lbz r0, 0x20(r1) +/* 800F0804 000ED764 28 00 00 00 */ cmplwi r0, 0 +/* 800F0808 000ED768 98 01 00 3C */ stb r0, 0x3c(r1) +/* 800F080C 000ED76C 41 82 00 3C */ beq lbl_800F0848 +/* 800F0810 000ED770 34 61 00 24 */ addic. r3, r1, 0x24 +/* 800F0814 000ED774 41 82 00 34 */ beq lbl_800F0848 +/* 800F0818 000ED778 C0 01 00 08 */ lfs f0, 8(r1) +/* 800F081C 000ED77C D0 03 00 00 */ stfs f0, 0(r3) +/* 800F0820 000ED780 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800F0824 000ED784 D0 03 00 04 */ stfs f0, 4(r3) +/* 800F0828 000ED788 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800F082C 000ED78C D0 03 00 08 */ stfs f0, 8(r3) +/* 800F0830 000ED790 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800F0834 000ED794 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800F0838 000ED798 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800F083C 000ED79C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800F0840 000ED7A0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800F0844 000ED7A4 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_800F0848: +/* 800F0848 000ED7A8 38 00 00 00 */ li r0, 0 +/* 800F084C 000ED7AC 83 FD 00 58 */ lwz r31, 0x58(r29) +/* 800F0850 000ED7B0 98 01 00 20 */ stb r0, 0x20(r1) +/* 800F0854 000ED7B4 7F A4 EB 78 */ mr r4, r29 +/* 800F0858 000ED7B8 38 61 00 40 */ addi r3, r1, 0x40 +/* 800F085C 000ED7BC 48 00 5E 99 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F0860 000ED7C0 7F E3 FB 78 */ mr r3, r31 +/* 800F0864 000ED7C4 7F C5 F3 78 */ mr r5, r30 +/* 800F0868 000ED7C8 38 81 00 40 */ addi r4, r1, 0x40 +/* 800F086C 000ED7CC 48 02 53 9D */ bl IsInFrustum__10CModelDataCFRC12CTransform4fRC14CFrustumPlanes +/* 800F0870 000ED7D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F0874 000ED7D4 41 82 00 14 */ beq lbl_800F0888 +/* 800F0878 000ED7D8 38 00 00 00 */ li r0, 0 +/* 800F087C 000ED7DC 38 60 00 01 */ li r3, 1 +/* 800F0880 000ED7E0 98 01 00 3C */ stb r0, 0x3c(r1) +/* 800F0884 000ED7E4 48 00 00 6C */ b lbl_800F08F0 +lbl_800F0888: +/* 800F0888 000ED7E8 80 7D 19 B8 */ lwz r3, 0x19b8(r29) +/* 800F088C 000ED7EC 81 83 00 00 */ lwz r12, 0(r3) +/* 800F0890 000ED7F0 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 800F0894 000ED7F4 7D 89 03 A6 */ mtctr r12 +/* 800F0898 000ED7F8 4E 80 04 21 */ bctrl +/* 800F089C 000ED7FC E0 43 A0 03 */ psq_l f2, 3(r3), 1, qr2 +/* 800F08A0 000ED800 C0 02 92 34 */ lfs f0, lbl_805AAF54@sda21(r2) +/* 800F08A4 000ED804 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F08A8 000ED808 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 800F08AC 000ED80C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F08B0 000ED810 41 82 00 34 */ beq lbl_800F08E4 +/* 800F08B4 000ED814 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 800F08B8 000ED818 28 00 00 00 */ cmplwi r0, 0 +/* 800F08BC 000ED81C 41 82 00 28 */ beq lbl_800F08E4 +/* 800F08C0 000ED820 7F C3 F3 78 */ mr r3, r30 +/* 800F08C4 000ED824 38 81 00 24 */ addi r4, r1, 0x24 +/* 800F08C8 000ED828 48 25 47 D1 */ bl sub_80345098 +/* 800F08CC 000ED82C 2C 03 00 00 */ cmpwi r3, 0 +/* 800F08D0 000ED830 41 82 00 14 */ beq lbl_800F08E4 +/* 800F08D4 000ED834 38 00 00 00 */ li r0, 0 +/* 800F08D8 000ED838 38 60 00 01 */ li r3, 1 +/* 800F08DC 000ED83C 98 01 00 3C */ stb r0, 0x3c(r1) +/* 800F08E0 000ED840 48 00 00 10 */ b lbl_800F08F0 +lbl_800F08E4: +/* 800F08E4 000ED844 38 00 00 00 */ li r0, 0 +/* 800F08E8 000ED848 98 01 00 3C */ stb r0, 0x3c(r1) +lbl_800F08EC: +/* 800F08EC 000ED84C 38 60 00 00 */ li r3, 0 +lbl_800F08F0: +/* 800F08F0 000ED850 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800F08F4 000ED854 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 800F08F8 000ED858 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 800F08FC 000ED85C 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 800F0900 000ED860 7C 08 03 A6 */ mtlr r0 +/* 800F0904 000ED864 38 21 00 80 */ addi r1, r1, 0x80 +/* 800F0908 000ED868 4E 80 00 20 */ blr + +.global CollidedWith__10CMorphBallFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +CollidedWith__10CMorphBallFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: +/* 800F090C 000ED86C 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 800F0910 000ED870 7C 08 02 A6 */ mflr r0 +/* 800F0914 000ED874 90 01 01 34 */ stw r0, 0x134(r1) +/* 800F0918 000ED878 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 800F091C 000ED87C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 800F0920 000ED880 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 800F0924 000ED884 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 800F0928 000ED888 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 800F092C 000ED88C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 800F0930 000ED890 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 800F0934 000ED894 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 800F0938 000ED898 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 800F093C 000ED89C F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 800F0940 000ED8A0 DB 41 00 D0 */ stfd f26, 0xd0(r1) +/* 800F0944 000ED8A4 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 +/* 800F0948 000ED8A8 DB 21 00 C0 */ stfd f25, 0xc0(r1) +/* 800F094C 000ED8AC F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 +/* 800F0950 000ED8B0 BE 81 00 90 */ stmw r20, 0x90(r1) +/* 800F0954 000ED8B4 7C 7D 1B 78 */ mr r29, r3 +/* 800F0958 000ED8B8 7C BF 2B 78 */ mr r31, r5 +/* 800F095C 000ED8BC 7C 9E 23 78 */ mr r30, r4 +/* 800F0960 000ED8C0 7C D6 33 78 */ mr r22, r6 +/* 800F0964 000ED8C4 7F E4 FB 78 */ mr r4, r31 +/* 800F0968 000ED8C8 38 7D 00 74 */ addi r3, r29, 0x74 +/* 800F096C 000ED8CC 48 00 09 BD */ bl __as__18CCollisionInfoListFRC18CCollisionInfoList +/* 800F0970 000ED8D0 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F0974 000ED8D4 3B 60 00 00 */ li r27, 0 +/* 800F0978 000ED8D8 7F 7C DB 78 */ mr r28, r27 +/* 800F097C 000ED8DC 38 9F 00 04 */ addi r4, r31, 4 +/* 800F0980 000ED8E0 1C 00 00 60 */ mulli r0, r0, 0x60 +/* 800F0984 000ED8E4 7C BF 02 14 */ add r5, r31, r0 +/* 800F0988 000ED8E8 38 A5 00 04 */ addi r5, r5, 4 +/* 800F098C 000ED8EC 48 00 00 18 */ b lbl_800F09A4 +lbl_800F0990: +/* 800F0990 000ED8F0 80 04 00 38 */ lwz r0, 0x38(r4) +/* 800F0994 000ED8F4 80 64 00 3C */ lwz r3, 0x3c(r4) +/* 800F0998 000ED8F8 38 84 00 60 */ addi r4, r4, 0x60 +/* 800F099C 000ED8FC 7F 9C 03 78 */ or r28, r28, r0 +/* 800F09A0 000ED900 7F 7B 1B 78 */ or r27, r27, r3 +lbl_800F09A4: +/* 800F09A4 000ED904 7C 04 28 40 */ cmplw r4, r5 +/* 800F09A8 000ED908 40 82 FF E8 */ bne lbl_800F0990 +/* 800F09AC 000ED90C 80 9D 00 00 */ lwz r4, 0(r29) +/* 800F09B0 000ED910 38 61 00 7C */ addi r3, r1, 0x7c +/* 800F09B4 000ED914 C0 04 01 38 */ lfs f0, 0x138(r4) +/* 800F09B8 000ED918 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 800F09BC 000ED91C C0 04 01 3C */ lfs f0, 0x13c(r4) +/* 800F09C0 000ED920 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 800F09C4 000ED924 C0 04 01 40 */ lfs f0, 0x140(r4) +/* 800F09C8 000ED928 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 800F09CC 000ED92C 48 22 3E ED */ bl Magnitude__9CVector3fCFv +/* 800F09D0 000ED930 FF E0 08 90 */ fmr f31, f1 +/* 800F09D4 000ED934 C0 02 92 38 */ lfs f0, lbl_805AAF58@sda21(r2) +/* 800F09D8 000ED938 3A A0 00 00 */ li r21, 0 +/* 800F09DC 000ED93C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F09E0 000ED940 40 81 03 80 */ ble lbl_800F0D60 +/* 800F09E4 000ED944 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F09E8 000ED948 88 03 00 E6 */ lbz r0, 0xe6(r3) +/* 800F09EC 000ED94C 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f +/* 800F09F0 000ED950 40 82 03 70 */ bne lbl_800F0D60 +/* 800F09F4 000ED954 3C 60 80 57 */ lis r3, lbl_8056D4F4@ha +/* 800F09F8 000ED958 3B 1F 00 04 */ addi r24, r31, 4 +/* 800F09FC 000ED95C 38 63 D4 F4 */ addi r3, r3, lbl_8056D4F4@l +/* 800F0A00 000ED960 3B 3D 1B CC */ addi r25, r29, 0x1bcc +/* 800F0A04 000ED964 3B 43 00 04 */ addi r26, r3, 4 +/* 800F0A08 000ED968 3A E0 00 00 */ li r23, 0 +/* 800F0A0C 000ED96C 48 00 02 B0 */ b lbl_800F0CBC +lbl_800F0A10: +/* 800F0A10 000ED970 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 800F0A14 000ED974 40 82 00 AC */ bne lbl_800F0AC0 +/* 800F0A18 000ED978 80 F8 00 38 */ lwz r7, 0x38(r24) +/* 800F0A1C 000ED97C 38 A0 00 00 */ li r5, 0 +/* 800F0A20 000ED980 80 18 00 3C */ lwz r0, 0x3c(r24) +/* 800F0A24 000ED984 3C 80 40 00 */ lis r4, 0x4000 +/* 800F0A28 000ED988 7C E3 28 38 */ and r3, r7, r5 +/* 800F0A2C 000ED98C 7C 04 20 38 */ and r4, r0, r4 +/* 800F0A30 000ED990 7C 84 2A 78 */ xor r4, r4, r5 +/* 800F0A34 000ED994 7C 63 2A 78 */ xor r3, r3, r5 +/* 800F0A38 000ED998 7C 83 1B 79 */ or. r3, r4, r3 +/* 800F0A3C 000ED99C 41 82 00 08 */ beq lbl_800F0A44 +/* 800F0A40 000ED9A0 38 A0 00 01 */ li r5, 1 +lbl_800F0A44: +/* 800F0A44 000ED9A4 54 A3 06 3F */ clrlwi. r3, r5, 0x18 +/* 800F0A48 000ED9A8 41 82 00 78 */ beq lbl_800F0AC0 +/* 800F0A4C 000ED9AC 38 60 00 02 */ li r3, 2 +/* 800F0A50 000ED9B0 38 C0 00 00 */ li r6, 0 +/* 800F0A54 000ED9B4 7C 03 18 38 */ and r3, r0, r3 +/* 800F0A58 000ED9B8 3A E0 00 01 */ li r23, 1 +/* 800F0A5C 000ED9BC 7C E5 30 38 */ and r5, r7, r6 +/* 800F0A60 000ED9C0 7C 64 32 78 */ xor r4, r3, r6 +/* 800F0A64 000ED9C4 7C A3 32 78 */ xor r3, r5, r6 +/* 800F0A68 000ED9C8 7C 83 1B 79 */ or. r3, r4, r3 +/* 800F0A6C 000ED9CC 40 82 00 1C */ bne lbl_800F0A88 +/* 800F0A70 000ED9D0 38 80 00 04 */ li r4, 4 +/* 800F0A74 000ED9D4 7C A3 32 78 */ xor r3, r5, r6 +/* 800F0A78 000ED9D8 7C 00 20 38 */ and r0, r0, r4 +/* 800F0A7C 000ED9DC 7C 00 32 78 */ xor r0, r0, r6 +/* 800F0A80 000ED9E0 7C 03 1B 79 */ or. r3, r0, r3 +/* 800F0A84 000ED9E4 41 82 00 3C */ beq lbl_800F0AC0 +lbl_800F0A88: +/* 800F0A88 000ED9E8 80 7D 19 CC */ lwz r3, 0x19cc(r29) +/* 800F0A8C 000ED9EC 7F 04 C3 78 */ mr r4, r24 +/* 800F0A90 000ED9F0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F0A94 000ED9F4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800F0A98 000ED9F8 7D 89 03 A6 */ mtctr r12 +/* 800F0A9C 000ED9FC 4E 80 04 21 */ bctrl +/* 800F0AA0 000EDA00 80 7D 19 CC */ lwz r3, 0x19cc(r29) +/* 800F0AA4 000EDA04 38 80 00 01 */ li r4, 1 +/* 800F0AA8 000EDA08 81 83 00 00 */ lwz r12, 0(r3) +/* 800F0AAC 000EDA0C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F0AB0 000EDA10 7D 89 03 A6 */ mtctr r12 +/* 800F0AB4 000EDA14 4E 80 04 21 */ bctrl +/* 800F0AB8 000EDA18 38 00 00 07 */ li r0, 7 +/* 800F0ABC 000EDA1C 90 1D 1E 38 */ stw r0, 0x1e38(r29) +lbl_800F0AC0: +/* 800F0AC0 000EDA20 2C 15 00 00 */ cmpwi r21, 0 +/* 800F0AC4 000EDA24 40 82 01 F4 */ bne lbl_800F0CB8 +/* 800F0AC8 000EDA28 80 78 00 38 */ lwz r3, 0x38(r24) +/* 800F0ACC 000EDA2C 38 C0 00 00 */ li r6, 0 +/* 800F0AD0 000EDA30 80 98 00 3C */ lwz r4, 0x3c(r24) +/* 800F0AD4 000EDA34 3C A0 80 00 */ lis r5, 0x8000 +/* 800F0AD8 000EDA38 7C 60 30 38 */ and r0, r3, r6 +/* 800F0ADC 000EDA3C 7C 85 28 38 */ and r5, r4, r5 +/* 800F0AE0 000EDA40 7C A5 32 78 */ xor r5, r5, r6 +/* 800F0AE4 000EDA44 7C 00 32 78 */ xor r0, r0, r6 +/* 800F0AE8 000EDA48 7C A0 03 79 */ or. r0, r5, r0 +/* 800F0AEC 000EDA4C 41 82 00 08 */ beq lbl_800F0AF4 +/* 800F0AF0 000EDA50 38 C0 00 01 */ li r6, 1 +lbl_800F0AF4: +/* 800F0AF4 000EDA54 54 C0 06 3F */ clrlwi. r0, r6, 0x18 +/* 800F0AF8 000EDA58 41 82 01 C0 */ beq lbl_800F0CB8 +/* 800F0AFC 000EDA5C 38 00 01 00 */ li r0, 0x100 +/* 800F0B00 000EDA60 38 C0 00 00 */ li r6, 0 +/* 800F0B04 000EDA64 7C 85 00 38 */ and r5, r4, r0 +/* 800F0B08 000EDA68 7C 60 30 38 */ and r0, r3, r6 +/* 800F0B0C 000EDA6C 7C A5 32 78 */ xor r5, r5, r6 +/* 800F0B10 000EDA70 7C 00 32 78 */ xor r0, r0, r6 +/* 800F0B14 000EDA74 7C A0 03 79 */ or. r0, r5, r0 +/* 800F0B18 000EDA78 41 82 00 0C */ beq lbl_800F0B24 +/* 800F0B1C 000EDA7C 38 00 00 08 */ li r0, 8 +/* 800F0B20 000EDA80 48 00 00 08 */ b lbl_800F0B28 +lbl_800F0B24: +/* 800F0B24 000EDA84 7E A0 AB 78 */ mr r0, r21 +lbl_800F0B28: +/* 800F0B28 000EDA88 3C A0 00 02 */ lis r5, 2 +/* 800F0B2C 000EDA8C 38 E0 00 00 */ li r7, 0 +/* 800F0B30 000EDA90 7C 86 28 38 */ and r6, r4, r5 +/* 800F0B34 000EDA94 7C 65 38 38 */ and r5, r3, r7 +/* 800F0B38 000EDA98 7C C6 3A 78 */ xor r6, r6, r7 +/* 800F0B3C 000EDA9C 7C A5 3A 78 */ xor r5, r5, r7 +/* 800F0B40 000EDAA0 7C C5 2B 79 */ or. r5, r6, r5 +/* 800F0B44 000EDAA4 41 82 00 08 */ beq lbl_800F0B4C +/* 800F0B48 000EDAA8 38 00 00 11 */ li r0, 0x11 +lbl_800F0B4C: +/* 800F0B4C 000EDAAC 38 A0 02 00 */ li r5, 0x200 +/* 800F0B50 000EDAB0 38 E0 00 00 */ li r7, 0 +/* 800F0B54 000EDAB4 7C 86 28 38 */ and r6, r4, r5 +/* 800F0B58 000EDAB8 7C 65 38 38 */ and r5, r3, r7 +/* 800F0B5C 000EDABC 7C C6 3A 78 */ xor r6, r6, r7 +/* 800F0B60 000EDAC0 7C A5 3A 78 */ xor r5, r5, r7 +/* 800F0B64 000EDAC4 7C C5 2B 79 */ or. r5, r6, r5 +/* 800F0B68 000EDAC8 41 82 00 08 */ beq lbl_800F0B70 +/* 800F0B6C 000EDACC 38 00 00 09 */ li r0, 9 +lbl_800F0B70: +/* 800F0B70 000EDAD0 38 A0 10 00 */ li r5, 0x1000 +/* 800F0B74 000EDAD4 38 E0 00 00 */ li r7, 0 +/* 800F0B78 000EDAD8 7C 86 28 38 */ and r6, r4, r5 +/* 800F0B7C 000EDADC 7C 65 38 38 */ and r5, r3, r7 +/* 800F0B80 000EDAE0 7C C6 3A 78 */ xor r6, r6, r7 +/* 800F0B84 000EDAE4 7C A5 3A 78 */ xor r5, r5, r7 +/* 800F0B88 000EDAE8 7C C5 2B 79 */ or. r5, r6, r5 +/* 800F0B8C 000EDAEC 41 82 00 08 */ beq lbl_800F0B94 +/* 800F0B90 000EDAF0 38 00 00 0C */ li r0, 0xc +lbl_800F0B94: +/* 800F0B94 000EDAF4 38 A0 08 00 */ li r5, 0x800 +/* 800F0B98 000EDAF8 38 E0 00 00 */ li r7, 0 +/* 800F0B9C 000EDAFC 7C 86 28 38 */ and r6, r4, r5 +/* 800F0BA0 000EDB00 7C 65 38 38 */ and r5, r3, r7 +/* 800F0BA4 000EDB04 7C C6 3A 78 */ xor r6, r6, r7 +/* 800F0BA8 000EDB08 7C A5 3A 78 */ xor r5, r5, r7 +/* 800F0BAC 000EDB0C 7C C5 2B 79 */ or. r5, r6, r5 +/* 800F0BB0 000EDB10 41 82 00 08 */ beq lbl_800F0BB8 +/* 800F0BB4 000EDB14 38 00 00 0B */ li r0, 0xb +lbl_800F0BB8: +/* 800F0BB8 000EDB18 38 C0 00 80 */ li r6, 0x80 +/* 800F0BBC 000EDB1C 38 A0 00 00 */ li r5, 0 +/* 800F0BC0 000EDB20 7C 84 30 38 */ and r4, r4, r6 +/* 800F0BC4 000EDB24 7C 63 28 38 */ and r3, r3, r5 +/* 800F0BC8 000EDB28 7C 84 2A 78 */ xor r4, r4, r5 +/* 800F0BCC 000EDB2C 7C 63 2A 78 */ xor r3, r3, r5 +/* 800F0BD0 000EDB30 7C 83 1B 79 */ or. r3, r4, r3 +/* 800F0BD4 000EDB34 41 82 00 08 */ beq lbl_800F0BDC +/* 800F0BD8 000EDB38 38 00 00 07 */ li r0, 7 +lbl_800F0BDC: +/* 800F0BDC 000EDB3C 2C 00 00 00 */ cmpwi r0, 0 +/* 800F0BE0 000EDB40 7C 15 03 78 */ mr r21, r0 +/* 800F0BE4 000EDB44 41 82 00 D4 */ beq lbl_800F0CB8 +/* 800F0BE8 000EDB48 54 00 10 3A */ slwi r0, r0, 2 +/* 800F0BEC 000EDB4C 7E 9A 00 2E */ lwzx r20, r26, r0 +/* 800F0BF0 000EDB50 2C 14 00 00 */ cmpwi r20, 0 +/* 800F0BF4 000EDB54 40 82 00 44 */ bne lbl_800F0C38 +/* 800F0BF8 000EDB58 80 B6 08 CC */ lwz r5, 0x8cc(r22) +/* 800F0BFC 000EDB5C 80 96 08 50 */ lwz r4, 0x850(r22) +/* 800F0C00 000EDB60 54 A3 18 38 */ slwi r3, r5, 3 +/* 800F0C04 000EDB64 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800F0C08 000EDB68 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800F0C0C 000EDB6C 38 03 00 04 */ addi r0, r3, 4 +/* 800F0C10 000EDB70 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800F0C14 000EDB74 7C 64 00 2E */ lwzx r3, r4, r0 +/* 800F0C18 000EDB78 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 800F0C1C 000EDB7C 80 63 10 D8 */ lwz r3, 0x10d8(r3) +/* 800F0C20 000EDB80 28 03 00 00 */ cmplwi r3, 0 +/* 800F0C24 000EDB84 41 82 00 14 */ beq lbl_800F0C38 +/* 800F0C28 000EDB88 80 03 00 50 */ lwz r0, 0x50(r3) +/* 800F0C2C 000EDB8C 2C 00 00 02 */ cmpwi r0, 2 +/* 800F0C30 000EDB90 40 82 00 08 */ bne lbl_800F0C38 +/* 800F0C34 000EDB94 3A 80 00 01 */ li r20, 1 +lbl_800F0C38: +/* 800F0C38 000EDB98 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) +/* 800F0C3C 000EDB9C 7C 14 00 00 */ cmpw r20, r0 +/* 800F0C40 000EDBA0 41 82 00 30 */ beq lbl_800F0C70 +/* 800F0C44 000EDBA4 2C 00 FF FF */ cmpwi r0, -1 +/* 800F0C48 000EDBA8 41 82 00 24 */ beq lbl_800F0C6C +/* 800F0C4C 000EDBAC 54 03 18 38 */ slwi r3, r0, 3 +/* 800F0C50 000EDBB0 38 80 00 00 */ li r4, 0 +/* 800F0C54 000EDBB4 38 03 00 04 */ addi r0, r3, 4 +/* 800F0C58 000EDBB8 7C 79 00 2E */ lwzx r3, r25, r0 +/* 800F0C5C 000EDBBC 81 83 00 00 */ lwz r12, 0(r3) +/* 800F0C60 000EDBC0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F0C64 000EDBC4 7D 89 03 A6 */ mtctr r12 +/* 800F0C68 000EDBC8 4E 80 04 21 */ bctrl +lbl_800F0C6C: +/* 800F0C6C 000EDBCC 92 9D 1C 0C */ stw r20, 0x1c0c(r29) +lbl_800F0C70: +/* 800F0C70 000EDBD0 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) +/* 800F0C74 000EDBD4 38 80 00 01 */ li r4, 1 +/* 800F0C78 000EDBD8 54 03 18 38 */ slwi r3, r0, 3 +/* 800F0C7C 000EDBDC 38 03 00 04 */ addi r0, r3, 4 +/* 800F0C80 000EDBE0 7C 79 00 2E */ lwzx r3, r25, r0 +/* 800F0C84 000EDBE4 81 83 00 00 */ lwz r12, 0(r3) +/* 800F0C88 000EDBE8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F0C8C 000EDBEC 7D 89 03 A6 */ mtctr r12 +/* 800F0C90 000EDBF0 4E 80 04 21 */ bctrl +/* 800F0C94 000EDBF4 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) +/* 800F0C98 000EDBF8 7F 04 C3 78 */ mr r4, r24 +/* 800F0C9C 000EDBFC 54 03 18 38 */ slwi r3, r0, 3 +/* 800F0CA0 000EDC00 38 03 00 04 */ addi r0, r3, 4 +/* 800F0CA4 000EDC04 7C 79 00 2E */ lwzx r3, r25, r0 +/* 800F0CA8 000EDC08 81 83 00 00 */ lwz r12, 0(r3) +/* 800F0CAC 000EDC0C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800F0CB0 000EDC10 7D 89 03 A6 */ mtctr r12 +/* 800F0CB4 000EDC14 4E 80 04 21 */ bctrl +lbl_800F0CB8: +/* 800F0CB8 000EDC18 3B 18 00 60 */ addi r24, r24, 0x60 +lbl_800F0CBC: +/* 800F0CBC 000EDC1C 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F0CC0 000EDC20 1C 00 00 60 */ mulli r0, r0, 0x60 +/* 800F0CC4 000EDC24 7C 7F 02 14 */ add r3, r31, r0 +/* 800F0CC8 000EDC28 38 03 00 04 */ addi r0, r3, 4 +/* 800F0CCC 000EDC2C 7C 18 00 40 */ cmplw r24, r0 +/* 800F0CD0 000EDC30 40 82 FD 40 */ bne lbl_800F0A10 +/* 800F0CD4 000EDC34 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 800F0CD8 000EDC38 41 82 00 88 */ beq lbl_800F0D60 +/* 800F0CDC 000EDC3C 80 1D 1E 28 */ lwz r0, 0x1e28(r29) +/* 800F0CE0 000EDC40 38 61 00 10 */ addi r3, r1, 0x10 +/* 800F0CE4 000EDC44 90 01 00 10 */ stw r0, 0x10(r1) +/* 800F0CE8 000EDC48 48 1F 80 ED */ bl IsPlaying__11CSfxManagerF10CSfxHandle +/* 800F0CEC 000EDC4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F0CF0 000EDC50 40 82 00 70 */ bne lbl_800F0D60 +/* 800F0CF4 000EDC54 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F0CF8 000EDC58 38 61 00 0C */ addi r3, r1, 0xc +/* 800F0CFC 000EDC5C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) +/* 800F0D00 000EDC60 38 A1 00 4C */ addi r5, r1, 0x4c +/* 800F0D04 000EDC64 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800F0D08 000EDC68 38 C1 00 40 */ addi r6, r1, 0x40 +/* 800F0D0C 000EDC6C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800F0D10 000EDC70 38 80 05 F5 */ li r4, 0x5f5 +/* 800F0D14 000EDC74 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800F0D18 000EDC78 38 E0 00 01 */ li r7, 1 +/* 800F0D1C 000EDC7C 39 00 00 00 */ li r8, 0 +/* 800F0D20 000EDC80 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800F0D24 000EDC84 81 7D 00 00 */ lwz r11, 0(r29) +/* 800F0D28 000EDC88 C0 4B 00 60 */ lfs f2, 0x60(r11) +/* 800F0D2C 000EDC8C C0 2B 00 50 */ lfs f1, 0x50(r11) +/* 800F0D30 000EDC90 C0 0B 00 40 */ lfs f0, 0x40(r11) +/* 800F0D34 000EDC94 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800F0D38 000EDC98 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800F0D3C 000EDC9C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800F0D40 000EDCA0 48 1F 95 71 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +/* 800F0D44 000EDCA4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800F0D48 000EDCA8 38 81 00 08 */ addi r4, r1, 8 +/* 800F0D4C 000EDCAC 90 1D 1E 28 */ stw r0, 0x1e28(r29) +/* 800F0D50 000EDCB0 80 1D 1E 28 */ lwz r0, 0x1e28(r29) +/* 800F0D54 000EDCB4 90 01 00 08 */ stw r0, 8(r1) +/* 800F0D58 000EDCB8 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F0D5C 000EDCBC 4B F2 04 31 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle +lbl_800F0D60: +/* 800F0D60 000EDCC0 2C 15 00 00 */ cmpwi r21, 0 +/* 800F0D64 000EDCC4 40 82 00 30 */ bne lbl_800F0D94 +/* 800F0D68 000EDCC8 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) +/* 800F0D6C 000EDCCC 2C 00 FF FF */ cmpwi r0, -1 +/* 800F0D70 000EDCD0 41 82 00 24 */ beq lbl_800F0D94 +/* 800F0D74 000EDCD4 54 00 18 38 */ slwi r0, r0, 3 +/* 800F0D78 000EDCD8 38 80 00 00 */ li r4, 0 +/* 800F0D7C 000EDCDC 7C 7D 02 14 */ add r3, r29, r0 +/* 800F0D80 000EDCE0 80 63 1B D0 */ lwz r3, 0x1bd0(r3) +/* 800F0D84 000EDCE4 81 83 00 00 */ lwz r12, 0(r3) +/* 800F0D88 000EDCE8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F0D8C 000EDCEC 7D 89 03 A6 */ mtctr r12 +/* 800F0D90 000EDCF0 4E 80 04 21 */ bctrl +lbl_800F0D94: +/* 800F0D94 000EDCF4 88 1D 19 54 */ lbz r0, 0x1954(r29) +/* 800F0D98 000EDCF8 28 00 00 00 */ cmplwi r0, 0 +/* 800F0D9C 000EDCFC 41 82 00 0C */ beq lbl_800F0DA8 +/* 800F0DA0 000EDD00 38 00 00 00 */ li r0, 0 +/* 800F0DA4 000EDD04 98 1D 19 54 */ stb r0, 0x1954(r29) +lbl_800F0DA8: +/* 800F0DA8 000EDD08 38 00 20 00 */ li r0, 0x2000 +/* 800F0DAC 000EDD0C 38 80 00 00 */ li r4, 0 +/* 800F0DB0 000EDD10 7F 63 00 38 */ and r3, r27, r0 +/* 800F0DB4 000EDD14 7F 80 20 38 */ and r0, r28, r4 +/* 800F0DB8 000EDD18 7C 63 22 78 */ xor r3, r3, r4 +/* 800F0DBC 000EDD1C 7C 00 22 78 */ xor r0, r0, r4 +/* 800F0DC0 000EDD20 7C 60 03 79 */ or. r0, r3, r0 +/* 800F0DC4 000EDD24 41 82 00 E0 */ beq lbl_800F0EA4 +/* 800F0DC8 000EDD28 C0 22 91 7C */ lfs f1, lbl_805AAE9C@sda21(r2) +/* 800F0DCC 000EDD2C 3A DF 00 04 */ addi r22, r31, 4 +/* 800F0DD0 000EDD30 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) +/* 800F0DD4 000EDD34 3A 80 00 00 */ li r20, 0 +/* 800F0DD8 000EDD38 D0 3D 1D FC */ stfs f1, 0x1dfc(r29) +/* 800F0DDC 000EDD3C D0 1D 1E 04 */ stfs f0, 0x1e04(r29) +/* 800F0DE0 000EDD40 48 00 00 B8 */ b lbl_800F0E98 +lbl_800F0DE4: +/* 800F0DE4 000EDD44 80 16 00 38 */ lwz r0, 0x38(r22) +/* 800F0DE8 000EDD48 38 80 00 00 */ li r4, 0 +/* 800F0DEC 000EDD4C 80 B6 00 3C */ lwz r5, 0x3c(r22) +/* 800F0DF0 000EDD50 38 60 20 00 */ li r3, 0x2000 +/* 800F0DF4 000EDD54 7C 00 20 38 */ and r0, r0, r4 +/* 800F0DF8 000EDD58 7C A3 18 38 */ and r3, r5, r3 +/* 800F0DFC 000EDD5C 7C 63 22 78 */ xor r3, r3, r4 +/* 800F0E00 000EDD60 7C 00 22 78 */ xor r0, r0, r4 +/* 800F0E04 000EDD64 7C 60 03 79 */ or. r0, r3, r0 +/* 800F0E08 000EDD68 41 82 00 88 */ beq lbl_800F0E90 +/* 800F0E0C 000EDD6C C0 96 00 4C */ lfs f4, 0x4c(r22) +/* 800F0E10 000EDD70 C0 1D 1E 18 */ lfs f0, 0x1e18(r29) +/* 800F0E14 000EDD74 C0 76 00 48 */ lfs f3, 0x48(r22) +/* 800F0E18 000EDD78 EC 04 00 32 */ fmuls f0, f4, f0 +/* 800F0E1C 000EDD7C C0 DD 1E 14 */ lfs f6, 0x1e14(r29) +/* 800F0E20 000EDD80 C0 B6 00 50 */ lfs f5, 0x50(r22) +/* 800F0E24 000EDD84 C0 5D 1E 1C */ lfs f2, 0x1e1c(r29) +/* 800F0E28 000EDD88 EC 23 01 BA */ fmadds f1, f3, f6, f0 +/* 800F0E2C 000EDD8C C0 02 92 3C */ lfs f0, lbl_805AAF5C@sda21(r2) +/* 800F0E30 000EDD90 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 800F0E34 000EDD94 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F0E38 000EDD98 40 80 00 58 */ bge lbl_800F0E90 +/* 800F0E3C 000EDD9C D0 DD 1E 08 */ stfs f6, 0x1e08(r29) +/* 800F0E40 000EDDA0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F0E44 000EDDA4 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800F0E48 000EDDA8 C0 22 92 40 */ lfs f1, lbl_805AAF60@sda21(r2) +/* 800F0E4C 000EDDAC C0 1D 1E 18 */ lfs f0, 0x1e18(r29) +/* 800F0E50 000EDDB0 38 7D 1E 08 */ addi r3, r29, 0x1e08 +/* 800F0E54 000EDDB4 D0 1D 1E 0C */ stfs f0, 0x1e0c(r29) +/* 800F0E58 000EDDB8 C0 1D 1E 1C */ lfs f0, 0x1e1c(r29) +/* 800F0E5C 000EDDBC D0 1D 1E 10 */ stfs f0, 0x1e10(r29) +/* 800F0E60 000EDDC0 D0 7D 1E 14 */ stfs f3, 0x1e14(r29) +/* 800F0E64 000EDDC4 D0 9D 1E 18 */ stfs f4, 0x1e18(r29) +/* 800F0E68 000EDDC8 D0 BD 1E 1C */ stfs f5, 0x1e1c(r29) +/* 800F0E6C 000EDDCC 48 21 F0 F9 */ bl close_enough__FRC9CVector3fRC9CVector3ff +/* 800F0E70 000EDDD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F0E74 000EDDD4 41 82 00 1C */ beq lbl_800F0E90 +/* 800F0E78 000EDDD8 C0 1D 1E 14 */ lfs f0, 0x1e14(r29) +/* 800F0E7C 000EDDDC D0 1D 1E 08 */ stfs f0, 0x1e08(r29) +/* 800F0E80 000EDDE0 C0 1D 1E 18 */ lfs f0, 0x1e18(r29) +/* 800F0E84 000EDDE4 D0 1D 1E 0C */ stfs f0, 0x1e0c(r29) +/* 800F0E88 000EDDE8 C0 1D 1E 1C */ lfs f0, 0x1e1c(r29) +/* 800F0E8C 000EDDEC D0 1D 1E 10 */ stfs f0, 0x1e10(r29) +lbl_800F0E90: +/* 800F0E90 000EDDF0 3A D6 00 60 */ addi r22, r22, 0x60 +/* 800F0E94 000EDDF4 3A 94 00 01 */ addi r20, r20, 1 +lbl_800F0E98: +/* 800F0E98 000EDDF8 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F0E9C 000EDDFC 7C 14 00 00 */ cmpw r20, r0 +/* 800F0EA0 000EDE00 41 80 FF 44 */ blt lbl_800F0DE4 +lbl_800F0EA4: +/* 800F0EA4 000EDE04 88 1D 00 28 */ lbz r0, 0x28(r29) +/* 800F0EA8 000EDE08 28 00 00 00 */ cmplwi r0, 0 +/* 800F0EAC 000EDE0C 41 82 00 44 */ beq lbl_800F0EF0 +/* 800F0EB0 000EDE10 3C 00 80 00 */ lis r0, 0x8000 +/* 800F0EB4 000EDE14 38 A0 00 00 */ li r5, 0 +/* 800F0EB8 000EDE18 7F 60 00 38 */ and r0, r27, r0 +/* 800F0EBC 000EDE1C 7F 84 28 38 */ and r4, r28, r5 +/* 800F0EC0 000EDE20 7C 03 2A 78 */ xor r3, r0, r5 +/* 800F0EC4 000EDE24 7C 80 2A 78 */ xor r0, r4, r5 +/* 800F0EC8 000EDE28 7C 60 03 79 */ or. r0, r3, r0 +/* 800F0ECC 000EDE2C 41 82 00 24 */ beq lbl_800F0EF0 +/* 800F0ED0 000EDE30 3C 60 40 00 */ lis r3, 0x4000 +/* 800F0ED4 000EDE34 7C 80 2A 78 */ xor r0, r4, r5 +/* 800F0ED8 000EDE38 7F 63 18 38 */ and r3, r27, r3 +/* 800F0EDC 000EDE3C 7C 63 2A 78 */ xor r3, r3, r5 +/* 800F0EE0 000EDE40 7C 60 03 79 */ or. r0, r3, r0 +/* 800F0EE4 000EDE44 41 82 00 0C */ beq lbl_800F0EF0 +/* 800F0EE8 000EDE48 7F A3 EB 78 */ mr r3, r29 +/* 800F0EEC 000EDE4C 48 00 4C 4D */ bl SwitchToMarble__10CMorphBallFv +lbl_800F0EF0: +/* 800F0EF0 000EDE50 7F A3 EB 78 */ mr r3, r29 +/* 800F0EF4 000EDE54 48 00 0A DD */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F0EF8 000EDE58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F0EFC 000EDE5C 40 82 00 B8 */ bne lbl_800F0FB4 +/* 800F0F00 000EDE60 88 1D 1D E4 */ lbz r0, 0x1de4(r29) +/* 800F0F04 000EDE64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800F0F08 000EDE68 41 82 00 AC */ beq lbl_800F0FB4 +/* 800F0F0C 000EDE6C C0 02 92 28 */ lfs f0, lbl_805AAF48@sda21(r2) +/* 800F0F10 000EDE70 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F0F14 000EDE74 40 81 00 A0 */ ble lbl_800F0FB4 +/* 800F0F18 000EDE78 38 61 00 34 */ addi r3, r1, 0x34 +/* 800F0F1C 000EDE7C 38 81 00 7C */ addi r4, r1, 0x7c +/* 800F0F20 000EDE80 48 22 39 31 */ bl AsNormalized__9CVector3fCFv +/* 800F0F24 000EDE84 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F0F28 000EDE88 38 DF 00 04 */ addi r6, r31, 4 +/* 800F0F2C 000EDE8C C0 81 00 34 */ lfs f4, 0x34(r1) +/* 800F0F30 000EDE90 C0 A1 00 38 */ lfs f5, 0x38(r1) +/* 800F0F34 000EDE94 C0 C1 00 3C */ lfs f6, 0x3c(r1) +/* 800F0F38 000EDE98 7C 09 03 A6 */ mtctr r0 +/* 800F0F3C 000EDE9C 2C 00 00 00 */ cmpwi r0, 0 +/* 800F0F40 000EDEA0 40 81 00 74 */ ble lbl_800F0FB4 +/* 800F0F44 000EDEA4 C0 02 92 44 */ lfs f0, lbl_805AAF64@sda21(r2) +/* 800F0F48 000EDEA8 38 A0 20 00 */ li r5, 0x2000 +/* 800F0F4C 000EDEAC 38 80 00 00 */ li r4, 0 +lbl_800F0F50: +/* 800F0F50 000EDEB0 80 06 00 38 */ lwz r0, 0x38(r6) +/* 800F0F54 000EDEB4 80 66 00 3C */ lwz r3, 0x3c(r6) +/* 800F0F58 000EDEB8 7C 00 20 38 */ and r0, r0, r4 +/* 800F0F5C 000EDEBC 7C 63 28 38 */ and r3, r3, r5 +/* 800F0F60 000EDEC0 7C 63 22 78 */ xor r3, r3, r4 +/* 800F0F64 000EDEC4 7C 00 22 78 */ xor r0, r0, r4 +/* 800F0F68 000EDEC8 7C 60 03 79 */ or. r0, r3, r0 +/* 800F0F6C 000EDECC 40 82 00 40 */ bne lbl_800F0FAC +/* 800F0F70 000EDED0 C0 26 00 4C */ lfs f1, 0x4c(r6) +/* 800F0F74 000EDED4 C0 46 00 48 */ lfs f2, 0x48(r6) +/* 800F0F78 000EDED8 EC 21 01 72 */ fmuls f1, f1, f5 +/* 800F0F7C 000EDEDC C0 66 00 50 */ lfs f3, 0x50(r6) +/* 800F0F80 000EDEE0 EC 22 09 3A */ fmadds f1, f2, f4, f1 +/* 800F0F84 000EDEE4 EC 23 09 BA */ fmadds f1, f3, f6, f1 +/* 800F0F88 000EDEE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F0F8C 000EDEEC 40 80 00 20 */ bge lbl_800F0FAC +/* 800F0F90 000EDEF0 7F A3 EB 78 */ mr r3, r29 +/* 800F0F94 000EDEF4 48 00 2F 31 */ bl LeaveBoosting__10CMorphBallFv +/* 800F0F98 000EDEF8 C0 22 92 48 */ lfs f1, lbl_805AAF68@sda21(r2) +/* 800F0F9C 000EDEFC 7F A3 EB 78 */ mr r3, r29 +/* 800F0FA0 000EDF00 C0 42 92 4C */ lfs f2, lbl_805AAF6C@sda21(r2) +/* 800F0FA4 000EDF04 48 00 24 F9 */ bl DampLinearAndAngularVelocities__10CMorphBallFff +/* 800F0FA8 000EDF08 48 00 00 0C */ b lbl_800F0FB4 +lbl_800F0FAC: +/* 800F0FAC 000EDF0C 38 C6 00 60 */ addi r6, r6, 0x60 +/* 800F0FB0 000EDF10 42 00 FF A0 */ bdnz lbl_800F0F50 +lbl_800F0FB4: +/* 800F0FB4 000EDF14 A0 7E 00 00 */ lhz r3, 0(r30) +/* 800F0FB8 000EDF18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800F0FBC 000EDF1C 7C 03 00 40 */ cmplw r3, r0 +/* 800F0FC0 000EDF20 40 82 01 EC */ bne lbl_800F11AC +/* 800F0FC4 000EDF24 80 9D 00 00 */ lwz r4, 0(r29) +/* 800F0FC8 000EDF28 38 61 00 70 */ addi r3, r1, 0x70 +/* 800F0FCC 000EDF2C C0 04 01 38 */ lfs f0, 0x138(r4) +/* 800F0FD0 000EDF30 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800F0FD4 000EDF34 C0 04 01 3C */ lfs f0, 0x13c(r4) +/* 800F0FD8 000EDF38 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800F0FDC 000EDF3C C0 04 01 40 */ lfs f0, 0x140(r4) +/* 800F0FE0 000EDF40 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 800F0FE4 000EDF44 C0 1D 00 1C */ lfs f0, 0x1c(r29) +/* 800F0FE8 000EDF48 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800F0FEC 000EDF4C C0 1D 00 20 */ lfs f0, 0x20(r29) +/* 800F0FF0 000EDF50 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800F0FF4 000EDF54 C0 1D 00 24 */ lfs f0, 0x24(r29) +/* 800F0FF8 000EDF58 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800F0FFC 000EDF5C 48 22 38 BD */ bl Magnitude__9CVector3fCFv +/* 800F1000 000EDF60 FF E0 08 90 */ fmr f31, f1 +/* 800F1004 000EDF64 38 61 00 64 */ addi r3, r1, 0x64 +/* 800F1008 000EDF68 48 22 38 B1 */ bl Magnitude__9CVector3fCFv +/* 800F100C 000EDF6C C0 02 92 30 */ lfs f0, lbl_805AAF50@sda21(r2) +/* 800F1010 000EDF70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F1014 000EDF74 40 81 01 98 */ ble lbl_800F11AC +/* 800F1018 000EDF78 C0 02 91 E0 */ lfs f0, lbl_805AAF00@sda21(r2) +/* 800F101C 000EDF7C FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F1020 000EDF80 40 81 01 8C */ ble lbl_800F11AC +/* 800F1024 000EDF84 38 61 00 28 */ addi r3, r1, 0x28 +/* 800F1028 000EDF88 38 81 00 64 */ addi r4, r1, 0x64 +/* 800F102C 000EDF8C 48 22 38 25 */ bl AsNormalized__9CVector3fCFv +/* 800F1030 000EDF90 C3 C1 00 28 */ lfs f30, 0x28(r1) +/* 800F1034 000EDF94 38 61 00 1C */ addi r3, r1, 0x1c +/* 800F1038 000EDF98 C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 800F103C 000EDF9C 38 81 00 70 */ addi r4, r1, 0x70 +/* 800F1040 000EDFA0 C3 81 00 30 */ lfs f28, 0x30(r1) +/* 800F1044 000EDFA4 48 22 38 0D */ bl AsNormalized__9CVector3fCFv +/* 800F1048 000EDFA8 C3 61 00 1C */ lfs f27, 0x1c(r1) +/* 800F104C 000EDFAC 3A 9F 00 04 */ addi r20, r31, 4 +/* 800F1050 000EDFB0 C3 41 00 20 */ lfs f26, 0x20(r1) +/* 800F1054 000EDFB4 C3 21 00 24 */ lfs f25, 0x24(r1) +/* 800F1058 000EDFB8 48 00 01 3C */ b lbl_800F1194 +lbl_800F105C: +/* 800F105C 000EDFBC 7F A3 EB 78 */ mr r3, r29 +/* 800F1060 000EDFC0 7E 84 A3 78 */ mr r4, r20 +/* 800F1064 000EDFC4 4B FF EB 59 */ bl IsClimbable__10CMorphBallCFRC14CCollisionInfo +/* 800F1068 000EDFC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F106C 000EDFCC 41 82 01 24 */ beq lbl_800F1190 +/* 800F1070 000EDFD0 C0 14 00 4C */ lfs f0, 0x4c(r20) +/* 800F1074 000EDFD4 C0 74 00 48 */ lfs f3, 0x48(r20) +/* 800F1078 000EDFD8 EC 3D 00 32 */ fmuls f1, f29, f0 +/* 800F107C 000EDFDC C0 94 00 50 */ lfs f4, 0x50(r20) +/* 800F1080 000EDFE0 EC 5A 00 32 */ fmuls f2, f26, f0 +/* 800F1084 000EDFE4 C0 02 92 44 */ lfs f0, lbl_805AAF64@sda21(r2) +/* 800F1088 000EDFE8 EC 3E 08 FA */ fmadds f1, f30, f3, f1 +/* 800F108C 000EDFEC EC 5B 10 FA */ fmadds f2, f27, f3, f2 +/* 800F1090 000EDFF0 EC 3C 09 3A */ fmadds f1, f28, f4, f1 +/* 800F1094 000EDFF4 EC 59 11 3A */ fmadds f2, f25, f4, f2 +/* 800F1098 000EDFF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F109C 000EDFFC 40 80 00 F4 */ bge lbl_800F1190 +/* 800F10A0 000EE000 C0 02 92 50 */ lfs f0, lbl_805AAF70@sda21(r2) +/* 800F10A4 000EE004 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800F10A8 000EE008 40 80 00 E8 */ bge lbl_800F1190 +/* 800F10AC 000EE00C 80 BD 00 00 */ lwz r5, 0(r29) +/* 800F10B0 000EE010 C0 02 91 98 */ lfs f0, lbl_805AAEB8@sda21(r2) +/* 800F10B4 000EE014 80 05 02 B0 */ lwz r0, 0x2b0(r5) +/* 800F10B8 000EE018 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 800F10BC 000EE01C 2C 00 00 02 */ cmpwi r0, 2 +/* 800F10C0 000EE020 40 82 00 0C */ bne lbl_800F10CC +/* 800F10C4 000EE024 80 05 02 AC */ lwz r0, 0x2ac(r5) +/* 800F10C8 000EE028 48 00 00 08 */ b lbl_800F10D0 +lbl_800F10CC: +/* 800F10CC 000EE02C 38 00 00 04 */ li r0, 4 +lbl_800F10D0: +/* 800F10D0 000EE030 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 800F10D4 000EE034 54 03 10 3A */ slwi r3, r0, 2 +/* 800F10D8 000EE038 80 05 02 B0 */ lwz r0, 0x2b0(r5) +/* 800F10DC 000EE03C 38 84 00 44 */ addi r4, r4, 0x44 +/* 800F10E0 000EE040 C0 22 92 54 */ lfs f1, lbl_805AAF74@sda21(r2) +/* 800F10E4 000EE044 7C 04 1C 2E */ lfsx f0, r4, r3 +/* 800F10E8 000EE048 2C 00 00 02 */ cmpwi r0, 2 +/* 800F10EC 000EE04C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F10F0 000EE050 EC 22 00 28 */ fsubs f1, f2, f0 +/* 800F10F4 000EE054 FC 61 00 AE */ fsel f3, f1, f2, f0 +/* 800F10F8 000EE058 40 82 00 0C */ bne lbl_800F1104 +/* 800F10FC 000EE05C 80 05 02 AC */ lwz r0, 0x2ac(r5) +/* 800F1100 000EE060 48 00 00 08 */ b lbl_800F1108 +lbl_800F1104: +/* 800F1104 000EE064 38 00 00 04 */ li r0, 4 +lbl_800F1108: +/* 800F1108 000EE068 54 00 10 3A */ slwi r0, r0, 2 +/* 800F110C 000EE06C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800F1110 000EE070 7C 24 04 2E */ lfsx f1, r4, r0 +/* 800F1114 000EE074 38 81 00 58 */ addi r4, r1, 0x58 +/* 800F1118 000EE078 C0 42 91 90 */ lfs f2, lbl_805AAEB0@sda21(r2) +/* 800F111C 000EE07C D0 1D 1D CC */ stfs f0, 0x1dcc(r29) +/* 800F1120 000EE080 EC 82 00 72 */ fmuls f4, f2, f1 +/* 800F1124 000EE084 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) +/* 800F1128 000EE088 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 800F112C 000EE08C D0 1D 1D D0 */ stfs f0, 0x1dd0(r29) +/* 800F1130 000EE090 EC 23 20 28 */ fsubs f1, f3, f4 +/* 800F1134 000EE094 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 800F1138 000EE098 FC 81 19 2E */ fsel f4, f1, f4, f3 +/* 800F113C 000EE09C D0 1D 1D D4 */ stfs f0, 0x1dd4(r29) +/* 800F1140 000EE0A0 C0 61 00 74 */ lfs f3, 0x74(r1) +/* 800F1144 000EE0A4 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800F1148 000EE0A8 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800F114C 000EE0AC EC 63 10 2A */ fadds f3, f3, f2 +/* 800F1150 000EE0B0 EC 21 20 2A */ fadds f1, f1, f4 +/* 800F1154 000EE0B4 EC 00 10 2A */ fadds f0, f0, f2 +/* 800F1158 000EE0B8 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 800F115C 000EE0BC D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800F1160 000EE0C0 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 800F1164 000EE0C4 D0 1D 1D D8 */ stfs f0, 0x1dd8(r29) +/* 800F1168 000EE0C8 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800F116C 000EE0CC D0 1D 1D DC */ stfs f0, 0x1ddc(r29) +/* 800F1170 000EE0D0 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800F1174 000EE0D4 D0 1D 1D E0 */ stfs f0, 0x1de0(r29) +/* 800F1178 000EE0D8 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F117C 000EE0DC 48 02 9B 25 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 800F1180 000EE0E0 80 7D 1D C8 */ lwz r3, 0x1dc8(r29) +/* 800F1184 000EE0E4 38 03 00 01 */ addi r0, r3, 1 +/* 800F1188 000EE0E8 90 1D 1D C8 */ stw r0, 0x1dc8(r29) +/* 800F118C 000EE0EC 48 00 00 20 */ b lbl_800F11AC +lbl_800F1190: +/* 800F1190 000EE0F0 3A 94 00 60 */ addi r20, r20, 0x60 +lbl_800F1194: +/* 800F1194 000EE0F4 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F1198 000EE0F8 1C 00 00 60 */ mulli r0, r0, 0x60 +/* 800F119C 000EE0FC 7C 7F 02 14 */ add r3, r31, r0 +/* 800F11A0 000EE100 38 03 00 04 */ addi r0, r3, 4 +/* 800F11A4 000EE104 7C 14 00 40 */ cmplw r20, r0 +/* 800F11A8 000EE108 40 82 FE B4 */ bne lbl_800F105C +lbl_800F11AC: +/* 800F11AC 000EE10C 80 9F 00 00 */ lwz r4, 0(r31) +/* 800F11B0 000EE110 2C 04 00 02 */ cmpwi r4, 2 +/* 800F11B4 000EE114 40 81 01 00 */ ble lbl_800F12B4 +/* 800F11B8 000EE118 C0 BF 00 54 */ lfs f5, 0x54(r31) +/* 800F11BC 000EE11C C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) +/* 800F11C0 000EE120 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 800F11C4 000EE124 40 81 00 F0 */ ble lbl_800F12B4 +/* 800F11C8 000EE128 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F11CC 000EE12C C0 3F 00 50 */ lfs f1, 0x50(r31) +/* 800F11D0 000EE130 C0 03 01 3C */ lfs f0, 0x13c(r3) +/* 800F11D4 000EE134 C0 7F 00 4C */ lfs f3, 0x4c(r31) +/* 800F11D8 000EE138 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800F11DC 000EE13C C0 43 01 38 */ lfs f2, 0x138(r3) +/* 800F11E0 000EE140 C0 83 01 40 */ lfs f4, 0x140(r3) +/* 800F11E4 000EE144 C0 02 91 D8 */ lfs f0, lbl_805AAEF8@sda21(r2) +/* 800F11E8 000EE148 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 800F11EC 000EE14C EC 25 09 3A */ fmadds f1, f5, f4, f1 +/* 800F11F0 000EE150 FC 20 0A 10 */ fabs f1, f1 +/* 800F11F4 000EE154 FC 20 08 18 */ frsp f1, f1 +/* 800F11F8 000EE158 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F11FC 000EE15C 40 81 00 B8 */ ble lbl_800F12B4 +/* 800F1200 000EE160 38 DF 00 64 */ addi r6, r31, 0x64 +/* 800F1204 000EE164 C0 A2 91 50 */ lfs f5, lbl_805AAE70@sda21(r2) +/* 800F1208 000EE168 7C C5 33 78 */ mr r5, r6 +/* 800F120C 000EE16C 38 04 FF FF */ addi r0, r4, -1 +/* 800F1210 000EE170 38 E0 00 00 */ li r7, 0 +/* 800F1214 000EE174 39 00 00 01 */ li r8, 1 +/* 800F1218 000EE178 48 00 00 60 */ b lbl_800F1278 +lbl_800F121C: +/* 800F121C 000EE17C 7C C3 33 78 */ mr r3, r6 +/* 800F1220 000EE180 39 20 00 01 */ li r9, 1 +/* 800F1224 000EE184 7C 09 03 A6 */ mtctr r0 +/* 800F1228 000EE188 2C 04 00 01 */ cmpwi r4, 1 +/* 800F122C 000EE18C 40 81 00 44 */ ble lbl_800F1270 +lbl_800F1230: +/* 800F1230 000EE190 7C 08 48 00 */ cmpw r8, r9 +/* 800F1234 000EE194 41 82 00 30 */ beq lbl_800F1264 +/* 800F1238 000EE198 C0 25 00 4C */ lfs f1, 0x4c(r5) +/* 800F123C 000EE19C 38 E7 00 01 */ addi r7, r7, 1 +/* 800F1240 000EE1A0 C0 03 00 4C */ lfs f0, 0x4c(r3) +/* 800F1244 000EE1A4 C0 45 00 48 */ lfs f2, 0x48(r5) +/* 800F1248 000EE1A8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F124C 000EE1AC C0 23 00 48 */ lfs f1, 0x48(r3) +/* 800F1250 000EE1B0 C0 85 00 50 */ lfs f4, 0x50(r5) +/* 800F1254 000EE1B4 C0 63 00 50 */ lfs f3, 0x50(r3) +/* 800F1258 000EE1B8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 800F125C 000EE1BC EC 04 00 FA */ fmadds f0, f4, f3, f0 +/* 800F1260 000EE1C0 EC A5 00 2A */ fadds f5, f5, f0 +lbl_800F1264: +/* 800F1264 000EE1C4 38 63 00 60 */ addi r3, r3, 0x60 +/* 800F1268 000EE1C8 39 29 00 01 */ addi r9, r9, 1 +/* 800F126C 000EE1CC 42 00 FF C4 */ bdnz lbl_800F1230 +lbl_800F1270: +/* 800F1270 000EE1D0 38 A5 00 60 */ addi r5, r5, 0x60 +/* 800F1274 000EE1D4 39 08 00 01 */ addi r8, r8, 1 +lbl_800F1278: +/* 800F1278 000EE1D8 7C 08 20 00 */ cmpw r8, r4 +/* 800F127C 000EE1DC 41 80 FF A0 */ blt lbl_800F121C +/* 800F1280 000EE1E0 3C 00 43 30 */ lis r0, 0x4330 +/* 800F1284 000EE1E4 90 E1 00 8C */ stw r7, 0x8c(r1) +/* 800F1288 000EE1E8 C8 42 91 A0 */ lfd f2, lbl_805AAEC0@sda21(r2) +/* 800F128C 000EE1EC 90 01 00 88 */ stw r0, 0x88(r1) +/* 800F1290 000EE1F0 C0 02 92 58 */ lfs f0, lbl_805AAF78@sda21(r2) +/* 800F1294 000EE1F4 C8 21 00 88 */ lfd f1, 0x88(r1) +/* 800F1298 000EE1F8 EC 21 10 28 */ fsubs f1, f1, f2 +/* 800F129C 000EE1FC EC A5 08 24 */ fdivs f5, f5, f1 +/* 800F12A0 000EE200 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 800F12A4 000EE204 40 80 00 10 */ bge lbl_800F12B4 +/* 800F12A8 000EE208 80 7D 1D C8 */ lwz r3, 0x1dc8(r29) +/* 800F12AC 000EE20C 38 03 00 01 */ addi r0, r3, 1 +/* 800F12B0 000EE210 90 1D 1D C8 */ stw r0, 0x1dc8(r29) +lbl_800F12B4: +/* 800F12B4 000EE214 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F12B8 000EE218 38 9F 00 04 */ addi r4, r31, 4 +/* 800F12BC 000EE21C 1C 00 00 60 */ mulli r0, r0, 0x60 +/* 800F12C0 000EE220 7C 7F 02 14 */ add r3, r31, r0 +/* 800F12C4 000EE224 38 03 00 04 */ addi r0, r3, 4 +/* 800F12C8 000EE228 7C 04 00 40 */ cmplw r4, r0 +/* 800F12CC 000EE22C 41 82 00 10 */ beq lbl_800F12DC +/* 800F12D0 000EE230 7F A3 EB 78 */ mr r3, r29 +/* 800F12D4 000EE234 38 84 00 38 */ addi r4, r4, 0x38 +/* 800F12D8 000EE238 4B FF D9 05 */ bl SelectMorphBallSounds__10CMorphBallFRC13CMaterialList +lbl_800F12DC: +/* 800F12DC 000EE23C E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 800F12E0 000EE240 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 800F12E4 000EE244 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 800F12E8 000EE248 CB C1 01 10 */ lfd f30, 0x110(r1) +/* 800F12EC 000EE24C E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 800F12F0 000EE250 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 800F12F4 000EE254 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 800F12F8 000EE258 CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 800F12FC 000EE25C E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 800F1300 000EE260 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 800F1304 000EE264 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 +/* 800F1308 000EE268 CB 41 00 D0 */ lfd f26, 0xd0(r1) +/* 800F130C 000EE26C E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 +/* 800F1310 000EE270 CB 21 00 C0 */ lfd f25, 0xc0(r1) +/* 800F1314 000EE274 BA 81 00 90 */ lmw r20, 0x90(r1) +/* 800F1318 000EE278 80 01 01 34 */ lwz r0, 0x134(r1) +/* 800F131C 000EE27C 7C 08 03 A6 */ mtlr r0 +/* 800F1320 000EE280 38 21 01 30 */ addi r1, r1, 0x130 +/* 800F1324 000EE284 4E 80 00 20 */ blr + +.global __as__18CCollisionInfoListFRC18CCollisionInfoList +__as__18CCollisionInfoListFRC18CCollisionInfoList: +/* 800F1328 000EE288 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F132C 000EE28C 7C 08 02 A6 */ mflr r0 +/* 800F1330 000EE290 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F1334 000EE294 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F1338 000EE298 7C 7F 1B 78 */ mr r31, r3 +/* 800F133C 000EE29C 48 00 00 1D */ bl sub_800f1358 +/* 800F1340 000EE2A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F1344 000EE2A4 7F E3 FB 78 */ mr r3, r31 +/* 800F1348 000EE2A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F134C 000EE2AC 7C 08 03 A6 */ mtlr r0 +/* 800F1350 000EE2B0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F1354 000EE2B4 4E 80 00 20 */ blr + +.global sub_800f1358 +sub_800f1358: +/* 800F1358 000EE2B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F135C 000EE2BC 7C 08 02 A6 */ mflr r0 +/* 800F1360 000EE2C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F1364 000EE2C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F1368 000EE2C8 7C 9F 23 78 */ mr r31, r4 +/* 800F136C 000EE2CC 93 C1 00 08 */ stw r30, 8(r1) +/* 800F1370 000EE2D0 7C 7E 1B 78 */ mr r30, r3 +/* 800F1374 000EE2D4 7C 1E F8 40 */ cmplw r30, r31 +/* 800F1378 000EE2D8 40 82 00 08 */ bne lbl_800F1380 +/* 800F137C 000EE2DC 48 00 00 80 */ b lbl_800F13FC +lbl_800F1380: +/* 800F1380 000EE2E0 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F1384 000EE2E4 38 60 00 00 */ li r3, 0 +/* 800F1388 000EE2E8 2C 05 00 00 */ cmpwi r5, 0 +/* 800F138C 000EE2EC 40 81 00 40 */ ble lbl_800F13CC +/* 800F1390 000EE2F0 2C 05 00 08 */ cmpwi r5, 8 +/* 800F1394 000EE2F4 38 85 FF F8 */ addi r4, r5, -8 +/* 800F1398 000EE2F8 40 81 00 20 */ ble lbl_800F13B8 +/* 800F139C 000EE2FC 38 04 00 07 */ addi r0, r4, 7 +/* 800F13A0 000EE300 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F13A4 000EE304 7C 09 03 A6 */ mtctr r0 +/* 800F13A8 000EE308 2C 04 00 00 */ cmpwi r4, 0 +/* 800F13AC 000EE30C 40 81 00 0C */ ble lbl_800F13B8 +lbl_800F13B0: +/* 800F13B0 000EE310 38 63 00 08 */ addi r3, r3, 8 +/* 800F13B4 000EE314 42 00 FF FC */ bdnz lbl_800F13B0 +lbl_800F13B8: +/* 800F13B8 000EE318 7C 03 28 50 */ subf r0, r3, r5 +/* 800F13BC 000EE31C 7C 09 03 A6 */ mtctr r0 +/* 800F13C0 000EE320 7C 03 28 00 */ cmpw r3, r5 +/* 800F13C4 000EE324 40 80 00 08 */ bge lbl_800F13CC +lbl_800F13C8: +/* 800F13C8 000EE328 42 00 00 00 */ bdnz lbl_800F13C8 +lbl_800F13CC: +/* 800F13CC 000EE32C 38 00 00 00 */ li r0, 0 +/* 800F13D0 000EE330 38 7F 00 04 */ addi r3, r31, 4 +/* 800F13D4 000EE334 90 1E 00 00 */ stw r0, 0(r30) +/* 800F13D8 000EE338 38 BE 00 04 */ addi r5, r30, 4 +/* 800F13DC 000EE33C 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F13E0 000EE340 1C 00 00 60 */ mulli r0, r0, 0x60 +/* 800F13E4 000EE344 7C 9F 02 14 */ add r4, r31, r0 +/* 800F13E8 000EE348 38 84 00 04 */ addi r4, r4, 4 +/* 800F13EC 000EE34C 48 00 00 29 */ bl sub_800f1414 +/* 800F13F0 000EE350 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F13F4 000EE354 7F C3 F3 78 */ mr r3, r30 +/* 800F13F8 000EE358 90 1E 00 00 */ stw r0, 0(r30) +lbl_800F13FC: +/* 800F13FC 000EE35C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F1400 000EE360 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F1404 000EE364 83 C1 00 08 */ lwz r30, 8(r1) +/* 800F1408 000EE368 7C 08 03 A6 */ mtlr r0 +/* 800F140C 000EE36C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F1410 000EE370 4E 80 00 20 */ blr + +.global sub_800f1414 +sub_800f1414: +/* 800F1414 000EE374 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F1418 000EE378 7C 08 02 A6 */ mflr r0 +/* 800F141C 000EE37C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F1420 000EE380 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800F1424 000EE384 7C BF 2B 78 */ mr r31, r5 +/* 800F1428 000EE388 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800F142C 000EE38C 7C 7E 1B 78 */ mr r30, r3 +/* 800F1430 000EE390 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800F1434 000EE394 7C 9D 23 78 */ mr r29, r4 +/* 800F1438 000EE398 48 00 00 18 */ b lbl_800F1450 +lbl_800F143C: +/* 800F143C 000EE39C 7F E3 FB 78 */ mr r3, r31 +/* 800F1440 000EE3A0 7F C4 F3 78 */ mr r4, r30 +/* 800F1444 000EE3A4 48 00 00 35 */ bl sub_800f1478 +/* 800F1448 000EE3A8 3B FF 00 60 */ addi r31, r31, 0x60 +/* 800F144C 000EE3AC 3B DE 00 60 */ addi r30, r30, 0x60 +lbl_800F1450: +/* 800F1450 000EE3B0 7C 1E E8 40 */ cmplw r30, r29 +/* 800F1454 000EE3B4 40 82 FF E8 */ bne lbl_800F143C +/* 800F1458 000EE3B8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F145C 000EE3BC 7F E3 FB 78 */ mr r3, r31 +/* 800F1460 000EE3C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800F1464 000EE3C4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800F1468 000EE3C8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800F146C 000EE3CC 7C 08 03 A6 */ mtlr r0 +/* 800F1470 000EE3D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F1474 000EE3D4 4E 80 00 20 */ blr + +.global sub_800f1478 +sub_800f1478: +/* 800F1478 000EE3D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F147C 000EE3DC 7C 08 02 A6 */ mflr r0 +/* 800F1480 000EE3E0 28 03 00 00 */ cmplwi r3, 0 +/* 800F1484 000EE3E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F1488 000EE3E8 41 82 00 08 */ beq lbl_800F1490 +/* 800F148C 000EE3EC 48 00 00 15 */ bl __ct__14CCollisionInfoFRC14CCollisionInfo +lbl_800F1490: +/* 800F1490 000EE3F0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F1494 000EE3F4 7C 08 03 A6 */ mtlr r0 +/* 800F1498 000EE3F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F149C 000EE3FC 4E 80 00 20 */ blr + +.global __ct__14CCollisionInfoFRC14CCollisionInfo +__ct__14CCollisionInfoFRC14CCollisionInfo: +/* 800F14A0 000EE400 C0 04 00 00 */ lfs f0, 0(r4) +/* 800F14A4 000EE404 D0 03 00 00 */ stfs f0, 0(r3) +/* 800F14A8 000EE408 C0 04 00 04 */ lfs f0, 4(r4) +/* 800F14AC 000EE40C D0 03 00 04 */ stfs f0, 4(r3) +/* 800F14B0 000EE410 C0 04 00 08 */ lfs f0, 8(r4) +/* 800F14B4 000EE414 D0 03 00 08 */ stfs f0, 8(r3) +/* 800F14B8 000EE418 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 800F14BC 000EE41C D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800F14C0 000EE420 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 800F14C4 000EE424 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800F14C8 000EE428 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 800F14CC 000EE42C D0 03 00 14 */ stfs f0, 0x14(r3) +/* 800F14D0 000EE430 C0 04 00 18 */ lfs f0, 0x18(r4) +/* 800F14D4 000EE434 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800F14D8 000EE438 C0 04 00 1C */ lfs f0, 0x1c(r4) +/* 800F14DC 000EE43C D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800F14E0 000EE440 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 800F14E4 000EE444 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 800F14E8 000EE448 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 800F14EC 000EE44C D0 03 00 24 */ stfs f0, 0x24(r3) +/* 800F14F0 000EE450 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 800F14F4 000EE454 D0 03 00 28 */ stfs f0, 0x28(r3) +/* 800F14F8 000EE458 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 800F14FC 000EE45C D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 800F1500 000EE460 88 04 00 30 */ lbz r0, 0x30(r4) +/* 800F1504 000EE464 98 03 00 30 */ stb r0, 0x30(r3) +/* 800F1508 000EE468 88 04 00 31 */ lbz r0, 0x31(r4) +/* 800F150C 000EE46C 98 03 00 31 */ stb r0, 0x31(r3) +/* 800F1510 000EE470 80 04 00 38 */ lwz r0, 0x38(r4) +/* 800F1514 000EE474 80 A4 00 3C */ lwz r5, 0x3c(r4) +/* 800F1518 000EE478 90 A3 00 3C */ stw r5, 0x3c(r3) +/* 800F151C 000EE47C 90 03 00 38 */ stw r0, 0x38(r3) +/* 800F1520 000EE480 80 04 00 40 */ lwz r0, 0x40(r4) +/* 800F1524 000EE484 80 A4 00 44 */ lwz r5, 0x44(r4) +/* 800F1528 000EE488 90 A3 00 44 */ stw r5, 0x44(r3) +/* 800F152C 000EE48C 90 03 00 40 */ stw r0, 0x40(r3) +/* 800F1530 000EE490 C0 04 00 48 */ lfs f0, 0x48(r4) +/* 800F1534 000EE494 D0 03 00 48 */ stfs f0, 0x48(r3) +/* 800F1538 000EE498 C0 04 00 4C */ lfs f0, 0x4c(r4) +/* 800F153C 000EE49C D0 03 00 4C */ stfs f0, 0x4c(r3) +/* 800F1540 000EE4A0 C0 04 00 50 */ lfs f0, 0x50(r4) +/* 800F1544 000EE4A4 D0 03 00 50 */ stfs f0, 0x50(r3) +/* 800F1548 000EE4A8 C0 04 00 54 */ lfs f0, 0x54(r4) +/* 800F154C 000EE4AC D0 03 00 54 */ stfs f0, 0x54(r3) +/* 800F1550 000EE4B0 C0 04 00 58 */ lfs f0, 0x58(r4) +/* 800F1554 000EE4B4 D0 03 00 58 */ stfs f0, 0x58(r3) +/* 800F1558 000EE4B8 C0 04 00 5C */ lfs f0, 0x5c(r4) +/* 800F155C 000EE4BC D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 800F1560 000EE4C0 4E 80 00 20 */ blr + +.global BallCloseToCollision__10CMorphBallCFRC13CStateManagerfRC15CMaterialFilter +BallCloseToCollision__10CMorphBallCFRC13CStateManagerfRC15CMaterialFilter: +/* 800F1564 000EE4C4 94 21 F6 A0 */ stwu r1, -0x960(r1) +/* 800F1568 000EE4C8 7C 08 02 A6 */ mflr r0 +/* 800F156C 000EE4CC 90 01 09 64 */ stw r0, 0x964(r1) +/* 800F1570 000EE4D0 DB E1 09 50 */ stfd f31, 0x950(r1) +/* 800F1574 000EE4D4 F3 E1 09 58 */ psq_st f31, -1704(r1), 0, qr0 +/* 800F1578 000EE4D8 DB C1 09 40 */ stfd f30, 0x940(r1) +/* 800F157C 000EE4DC F3 C1 09 48 */ psq_st f30, -1720(r1), 0, qr0 +/* 800F1580 000EE4E0 DB A1 09 30 */ stfd f29, 0x930(r1) +/* 800F1584 000EE4E4 F3 A1 09 38 */ psq_st f29, -1736(r1), 0, qr0 +/* 800F1588 000EE4E8 DB 81 09 20 */ stfd f28, 0x920(r1) +/* 800F158C 000EE4EC F3 81 09 28 */ psq_st f28, -1752(r1), 0, qr0 +/* 800F1590 000EE4F0 BF 21 09 04 */ stmw r25, 0x904(r1) +/* 800F1594 000EE4F4 38 00 00 00 */ li r0, 0 +/* 800F1598 000EE4F8 FF 80 08 90 */ fmr f28, f1 +/* 800F159C 000EE4FC 80 CD 88 CC */ lwz r6, lbl_805A748C@sda21(r13) +/* 800F15A0 000EE500 7C 7F 1B 78 */ mr r31, r3 +/* 800F15A4 000EE504 7C 9D 23 78 */ mr r29, r4 +/* 800F15A8 000EE508 7C BE 2B 78 */ mr r30, r5 +/* 800F15AC 000EE50C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800F15B0 000EE510 7C C5 33 78 */ mr r5, r6 +/* 800F15B4 000EE514 38 60 00 00 */ li r3, 0 +/* 800F15B8 000EE518 90 01 00 18 */ stw r0, 0x18(r1) +/* 800F15BC 000EE51C 38 80 00 01 */ li r4, 1 +/* 800F15C0 000EE520 48 29 89 35 */ bl __shl2i +/* 800F15C4 000EE524 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800F15C8 000EE528 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 800F15CC 000EE52C 7C 00 1B 78 */ or r0, r0, r3 +/* 800F15D0 000EE530 80 AD 88 D0 */ lwz r5, lbl_805A7490@sda21(r13) +/* 800F15D4 000EE534 7C C4 23 78 */ or r4, r6, r4 +/* 800F15D8 000EE538 90 01 00 18 */ stw r0, 0x18(r1) +/* 800F15DC 000EE53C 38 60 00 00 */ li r3, 0 +/* 800F15E0 000EE540 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800F15E4 000EE544 38 80 00 01 */ li r4, 1 +/* 800F15E8 000EE548 48 29 89 0D */ bl __shl2i +/* 800F15EC 000EE54C 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800F15F0 000EE550 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800F15F4 000EE554 7C 00 1B 78 */ or r0, r0, r3 +/* 800F15F8 000EE558 7F E3 FB 78 */ mr r3, r31 +/* 800F15FC 000EE55C 7C A4 23 78 */ or r4, r5, r4 +/* 800F1600 000EE560 90 01 00 18 */ stw r0, 0x18(r1) +/* 800F1604 000EE564 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800F1608 000EE568 48 00 77 FD */ bl GetBallRadius__10CMorphBallCFv +/* 800F160C 000EE56C 80 BF 00 00 */ lwz r5, 0(r31) +/* 800F1610 000EE570 38 61 00 38 */ addi r3, r1, 0x38 +/* 800F1614 000EE574 C0 62 91 50 */ lfs f3, lbl_805AAE70@sda21(r2) +/* 800F1618 000EE578 38 81 00 18 */ addi r4, r1, 0x18 +/* 800F161C 000EE57C C0 85 00 40 */ lfs f4, 0x40(r5) +/* 800F1620 000EE580 C0 45 00 50 */ lfs f2, 0x50(r5) +/* 800F1624 000EE584 C0 05 00 60 */ lfs f0, 0x60(r5) +/* 800F1628 000EE588 EF A4 18 2A */ fadds f29, f4, f3 +/* 800F162C 000EE58C EF C2 18 2A */ fadds f30, f2, f3 +/* 800F1630 000EE590 EF E0 08 2A */ fadds f31, f0, f1 +/* 800F1634 000EE594 48 1D E2 81 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 800F1638 000EE598 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 800F163C 000EE59C 38 00 00 00 */ li r0, 0 +/* 800F1640 000EE5A0 38 A3 CA F8 */ addi r5, r3, lbl_803ECAF8@l +/* 800F1644 000EE5A4 D3 A1 00 48 */ stfs f29, 0x48(r1) +/* 800F1648 000EE5A8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800F164C 000EE5AC 38 81 00 38 */ addi r4, r1, 0x38 +/* 800F1650 000EE5B0 90 A1 00 38 */ stw r5, 0x38(r1) +/* 800F1654 000EE5B4 D3 C1 00 4C */ stfs f30, 0x4c(r1) +/* 800F1658 000EE5B8 D3 E1 00 50 */ stfs f31, 0x50(r1) +/* 800F165C 000EE5BC D3 81 00 54 */ stfs f28, 0x54(r1) +/* 800F1660 000EE5C0 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 800F1664 000EE5C4 48 1E 2D 69 */ bl CalculateLocalAABox__17CCollidableSphereCFv +/* 800F1668 000EE5C8 80 BF 00 00 */ lwz r5, 0(r31) +/* 800F166C 000EE5CC 7F A3 EB 78 */ mr r3, r29 +/* 800F1670 000EE5D0 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800F1674 000EE5D4 38 C1 00 20 */ addi r6, r1, 0x20 +/* 800F1678 000EE5D8 4B F5 B0 85 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" +/* 800F167C 000EE5DC 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800F1680 000EE5E0 7F A3 EB 78 */ mr r3, r29 +/* 800F1684 000EE5E4 38 A4 66 70 */ addi r5, r4, skIdentity4f@l +/* 800F1688 000EE5E8 7F C6 F3 78 */ mr r6, r30 +/* 800F168C 000EE5EC 38 81 00 38 */ addi r4, r1, 0x38 +/* 800F1690 000EE5F0 48 09 1D 11 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter +/* 800F1694 000EE5F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F1698 000EE5F8 41 82 00 78 */ beq lbl_800F1710 +/* 800F169C 000EE5FC 80 A1 00 F8 */ lwz r5, 0xf8(r1) +/* 800F16A0 000EE600 38 60 00 00 */ li r3, 0 +/* 800F16A4 000EE604 2C 05 00 00 */ cmpwi r5, 0 +/* 800F16A8 000EE608 40 81 00 40 */ ble lbl_800F16E8 +/* 800F16AC 000EE60C 2C 05 00 08 */ cmpwi r5, 8 +/* 800F16B0 000EE610 38 85 FF F8 */ addi r4, r5, -8 +/* 800F16B4 000EE614 40 81 00 20 */ ble lbl_800F16D4 +/* 800F16B8 000EE618 38 04 00 07 */ addi r0, r4, 7 +/* 800F16BC 000EE61C 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F16C0 000EE620 7C 09 03 A6 */ mtctr r0 +/* 800F16C4 000EE624 2C 04 00 00 */ cmpwi r4, 0 +/* 800F16C8 000EE628 40 81 00 0C */ ble lbl_800F16D4 +lbl_800F16CC: +/* 800F16CC 000EE62C 38 63 00 08 */ addi r3, r3, 8 +/* 800F16D0 000EE630 42 00 FF FC */ bdnz lbl_800F16CC +lbl_800F16D4: +/* 800F16D4 000EE634 7C 03 28 50 */ subf r0, r3, r5 +/* 800F16D8 000EE638 7C 09 03 A6 */ mtctr r0 +/* 800F16DC 000EE63C 7C 03 28 00 */ cmpw r3, r5 +/* 800F16E0 000EE640 40 80 00 08 */ bge lbl_800F16E8 +lbl_800F16E4: +/* 800F16E4 000EE644 42 00 00 00 */ bdnz lbl_800F16E4 +lbl_800F16E8: +/* 800F16E8 000EE648 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 800F16EC 000EE64C 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 800F16F0 000EE650 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 800F16F4 000EE654 38 80 00 00 */ li r4, 0 +/* 800F16F8 000EE658 90 01 00 38 */ stw r0, 0x38(r1) +/* 800F16FC 000EE65C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 800F1700 000EE660 38 60 00 01 */ li r3, 1 +/* 800F1704 000EE664 90 81 00 F8 */ stw r4, 0xf8(r1) +/* 800F1708 000EE668 90 01 00 38 */ stw r0, 0x38(r1) +/* 800F170C 000EE66C 48 00 01 B4 */ b lbl_800F18C0 +lbl_800F1710: +/* 800F1710 000EE670 3B 41 00 FC */ addi r26, r1, 0xfc +/* 800F1714 000EE674 3B 81 00 90 */ addi r28, r1, 0x90 +/* 800F1718 000EE678 7F 5F D3 78 */ mr r31, r26 +/* 800F171C 000EE67C 3B 61 00 C8 */ addi r27, r1, 0xc8 +/* 800F1720 000EE680 48 00 01 20 */ b lbl_800F1840 +lbl_800F1724: +/* 800F1724 000EE684 A0 1F 00 00 */ lhz r0, 0(r31) +/* 800F1728 000EE688 7F A3 EB 78 */ mr r3, r29 +/* 800F172C 000EE68C 38 81 00 08 */ addi r4, r1, 8 +/* 800F1730 000EE690 B0 01 00 08 */ sth r0, 8(r1) +/* 800F1734 000EE694 4B F5 AE 71 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800F1738 000EE698 7C 64 1B 78 */ mr r4, r3 +/* 800F173C 000EE69C 38 61 00 0C */ addi r3, r1, 0xc +/* 800F1740 000EE6A0 4B FB AF A5 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" +/* 800F1744 000EE6A4 83 23 00 04 */ lwz r25, 4(r3) +/* 800F1748 000EE6A8 28 19 00 00 */ cmplwi r25, 0 +/* 800F174C 000EE6AC 41 82 00 F0 */ beq lbl_800F183C +/* 800F1750 000EE6B0 7F 24 CB 78 */ mr r4, r25 +/* 800F1754 000EE6B4 38 61 00 58 */ addi r3, r1, 0x58 +/* 800F1758 000EE6B8 81 99 00 00 */ lwz r12, 0(r25) +/* 800F175C 000EE6BC 81 8C 00 70 */ lwz r12, 0x70(r12) +/* 800F1760 000EE6C0 7D 89 03 A6 */ mtctr r12 +/* 800F1764 000EE6C4 4E 80 04 21 */ bctrl +/* 800F1768 000EE6C8 7F 23 CB 78 */ mr r3, r25 +/* 800F176C 000EE6CC 81 99 00 00 */ lwz r12, 0(r25) +/* 800F1770 000EE6D0 81 8C 00 6C */ lwz r12, 0x6c(r12) +/* 800F1774 000EE6D4 7D 89 03 A6 */ mtctr r12 +/* 800F1778 000EE6D8 4E 80 04 21 */ bctrl +/* 800F177C 000EE6DC 3C 80 80 5A */ lis r4, lbl_8059FD18@ha +/* 800F1780 000EE6E0 90 61 00 88 */ stw r3, 0x88(r1) +/* 800F1784 000EE6E4 38 04 FD 18 */ addi r0, r4, lbl_8059FD18@l +/* 800F1788 000EE6E8 7F 83 E3 78 */ mr r3, r28 +/* 800F178C 000EE6EC 90 01 00 8C */ stw r0, 0x8c(r1) +/* 800F1790 000EE6F0 38 81 00 58 */ addi r4, r1, 0x58 +/* 800F1794 000EE6F4 48 22 13 E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F1798 000EE6F8 38 01 00 38 */ addi r0, r1, 0x38 +/* 800F179C 000EE6FC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800F17A0 000EE700 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 800F17A4 000EE704 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800F17A8 000EE708 7F 63 DB 78 */ mr r3, r27 +/* 800F17AC 000EE70C 93 C1 00 C4 */ stw r30, 0xc4(r1) +/* 800F17B0 000EE710 48 22 13 C5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F17B4 000EE714 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800F17B8 000EE718 38 81 00 88 */ addi r4, r1, 0x88 +/* 800F17BC 000EE71C 48 1D D0 71 */ bl CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc +/* 800F17C0 000EE720 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F17C4 000EE724 41 82 00 78 */ beq lbl_800F183C +/* 800F17C8 000EE728 80 A1 00 F8 */ lwz r5, 0xf8(r1) +/* 800F17CC 000EE72C 38 60 00 00 */ li r3, 0 +/* 800F17D0 000EE730 2C 05 00 00 */ cmpwi r5, 0 +/* 800F17D4 000EE734 40 81 00 40 */ ble lbl_800F1814 +/* 800F17D8 000EE738 2C 05 00 08 */ cmpwi r5, 8 +/* 800F17DC 000EE73C 38 85 FF F8 */ addi r4, r5, -8 +/* 800F17E0 000EE740 40 81 00 20 */ ble lbl_800F1800 +/* 800F17E4 000EE744 38 04 00 07 */ addi r0, r4, 7 +/* 800F17E8 000EE748 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F17EC 000EE74C 7C 09 03 A6 */ mtctr r0 +/* 800F17F0 000EE750 2C 04 00 00 */ cmpwi r4, 0 +/* 800F17F4 000EE754 40 81 00 0C */ ble lbl_800F1800 +lbl_800F17F8: +/* 800F17F8 000EE758 38 63 00 08 */ addi r3, r3, 8 +/* 800F17FC 000EE75C 42 00 FF FC */ bdnz lbl_800F17F8 +lbl_800F1800: +/* 800F1800 000EE760 7C 03 28 50 */ subf r0, r3, r5 +/* 800F1804 000EE764 7C 09 03 A6 */ mtctr r0 +/* 800F1808 000EE768 7C 03 28 00 */ cmpw r3, r5 +/* 800F180C 000EE76C 40 80 00 08 */ bge lbl_800F1814 +lbl_800F1810: +/* 800F1810 000EE770 42 00 00 00 */ bdnz lbl_800F1810 +lbl_800F1814: +/* 800F1814 000EE774 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 800F1818 000EE778 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 800F181C 000EE77C 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 800F1820 000EE780 38 80 00 00 */ li r4, 0 +/* 800F1824 000EE784 90 01 00 38 */ stw r0, 0x38(r1) +/* 800F1828 000EE788 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 800F182C 000EE78C 38 60 00 01 */ li r3, 1 +/* 800F1830 000EE790 90 81 00 F8 */ stw r4, 0xf8(r1) +/* 800F1834 000EE794 90 01 00 38 */ stw r0, 0x38(r1) +/* 800F1838 000EE798 48 00 00 88 */ b lbl_800F18C0 +lbl_800F183C: +/* 800F183C 000EE79C 3B FF 00 02 */ addi r31, r31, 2 +lbl_800F1840: +/* 800F1840 000EE7A0 80 A1 00 F8 */ lwz r5, 0xf8(r1) +/* 800F1844 000EE7A4 54 A0 08 3C */ slwi r0, r5, 1 +/* 800F1848 000EE7A8 7C 1A 02 14 */ add r0, r26, r0 +/* 800F184C 000EE7AC 7C 1F 00 40 */ cmplw r31, r0 +/* 800F1850 000EE7B0 40 82 FE D4 */ bne lbl_800F1724 +/* 800F1854 000EE7B4 2C 05 00 00 */ cmpwi r5, 0 +/* 800F1858 000EE7B8 38 60 00 00 */ li r3, 0 +/* 800F185C 000EE7BC 40 81 00 40 */ ble lbl_800F189C +/* 800F1860 000EE7C0 2C 05 00 08 */ cmpwi r5, 8 +/* 800F1864 000EE7C4 38 85 FF F8 */ addi r4, r5, -8 +/* 800F1868 000EE7C8 40 81 00 20 */ ble lbl_800F1888 +/* 800F186C 000EE7CC 38 04 00 07 */ addi r0, r4, 7 +/* 800F1870 000EE7D0 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F1874 000EE7D4 7C 09 03 A6 */ mtctr r0 +/* 800F1878 000EE7D8 2C 04 00 00 */ cmpwi r4, 0 +/* 800F187C 000EE7DC 40 81 00 0C */ ble lbl_800F1888 +lbl_800F1880: +/* 800F1880 000EE7E0 38 63 00 08 */ addi r3, r3, 8 +/* 800F1884 000EE7E4 42 00 FF FC */ bdnz lbl_800F1880 +lbl_800F1888: +/* 800F1888 000EE7E8 7C 03 28 50 */ subf r0, r3, r5 +/* 800F188C 000EE7EC 7C 09 03 A6 */ mtctr r0 +/* 800F1890 000EE7F0 7C 03 28 00 */ cmpw r3, r5 +/* 800F1894 000EE7F4 40 80 00 08 */ bge lbl_800F189C +lbl_800F1898: +/* 800F1898 000EE7F8 42 00 00 00 */ bdnz lbl_800F1898 +lbl_800F189C: +/* 800F189C 000EE7FC 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 800F18A0 000EE800 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 800F18A4 000EE804 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 800F18A8 000EE808 38 80 00 00 */ li r4, 0 +/* 800F18AC 000EE80C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800F18B0 000EE810 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 800F18B4 000EE814 38 60 00 00 */ li r3, 0 +/* 800F18B8 000EE818 90 81 00 F8 */ stw r4, 0xf8(r1) +/* 800F18BC 000EE81C 90 01 00 38 */ stw r0, 0x38(r1) +lbl_800F18C0: +/* 800F18C0 000EE820 E3 E1 09 58 */ psq_l f31, -1704(r1), 0, qr0 +/* 800F18C4 000EE824 CB E1 09 50 */ lfd f31, 0x950(r1) +/* 800F18C8 000EE828 E3 C1 09 48 */ psq_l f30, -1720(r1), 0, qr0 +/* 800F18CC 000EE82C CB C1 09 40 */ lfd f30, 0x940(r1) +/* 800F18D0 000EE830 E3 A1 09 38 */ psq_l f29, -1736(r1), 0, qr0 +/* 800F18D4 000EE834 CB A1 09 30 */ lfd f29, 0x930(r1) +/* 800F18D8 000EE838 E3 81 09 28 */ psq_l f28, -1752(r1), 0, qr0 +/* 800F18DC 000EE83C CB 81 09 20 */ lfd f28, 0x920(r1) +/* 800F18E0 000EE840 BB 21 09 04 */ lmw r25, 0x904(r1) +/* 800F18E4 000EE844 80 01 09 64 */ lwz r0, 0x964(r1) +/* 800F18E8 000EE848 7C 08 03 A6 */ mtlr r0 +/* 800F18EC 000EE84C 38 21 09 60 */ addi r1, r1, 0x960 +/* 800F18F0 000EE850 4E 80 00 20 */ blr + +.global DisableHalfPipeStatus__10CMorphBallFv +DisableHalfPipeStatus__10CMorphBallFv: +/* 800F18F4 000EE854 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F18F8 000EE858 7C 08 02 A6 */ mflr r0 +/* 800F18FC 000EE85C 38 80 00 00 */ li r4, 0 +/* 800F1900 000EE860 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F1904 000EE864 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F1908 000EE868 7C 7F 1B 78 */ mr r31, r3 +/* 800F190C 000EE86C 48 00 00 B5 */ bl SetIsInHalfPipeMode__10CMorphBallFb +/* 800F1910 000EE870 7F E3 FB 78 */ mr r3, r31 +/* 800F1914 000EE874 38 80 00 00 */ li r4, 0 +/* 800F1918 000EE878 48 00 00 8D */ bl SetIsInHalfPipeModeInAir__10CMorphBallFb +/* 800F191C 000EE87C 7F E3 FB 78 */ mr r3, r31 +/* 800F1920 000EE880 38 80 00 00 */ li r4, 0 +/* 800F1924 000EE884 48 00 00 65 */ bl SetTouchedHalfPipeRecently__10CMorphBallFb +/* 800F1928 000EE888 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F192C 000EE88C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F1930 000EE890 D0 1F 1D FC */ stfs f0, 0x1dfc(r31) +/* 800F1934 000EE894 D0 1F 1E 00 */ stfs f0, 0x1e00(r31) +/* 800F1938 000EE898 80 7F 00 00 */ lwz r3, 0(r31) +/* 800F193C 000EE89C 48 02 8B 95 */ bl SetCollisionAccuracyModifier__13CPhysicsActorFf +/* 800F1940 000EE8A0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F1944 000EE8A4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800F1948 000EE8A8 D0 1F 1E 08 */ stfs f0, 0x1e08(r31) +/* 800F194C 000EE8AC C0 03 00 04 */ lfs f0, 4(r3) +/* 800F1950 000EE8B0 D0 1F 1E 0C */ stfs f0, 0x1e0c(r31) +/* 800F1954 000EE8B4 C0 03 00 08 */ lfs f0, 8(r3) +/* 800F1958 000EE8B8 D0 1F 1E 10 */ stfs f0, 0x1e10(r31) +/* 800F195C 000EE8BC C0 03 00 00 */ lfs f0, 0(r3) +/* 800F1960 000EE8C0 D0 1F 1E 14 */ stfs f0, 0x1e14(r31) +/* 800F1964 000EE8C4 C0 03 00 04 */ lfs f0, 4(r3) +/* 800F1968 000EE8C8 D0 1F 1E 18 */ stfs f0, 0x1e18(r31) +/* 800F196C 000EE8CC C0 03 00 08 */ lfs f0, 8(r3) +/* 800F1970 000EE8D0 D0 1F 1E 1C */ stfs f0, 0x1e1c(r31) +/* 800F1974 000EE8D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F1978 000EE8D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F197C 000EE8DC 7C 08 03 A6 */ mtlr r0 +/* 800F1980 000EE8E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F1984 000EE8E4 4E 80 00 20 */ blr + +.global SetTouchedHalfPipeRecently__10CMorphBallFb +SetTouchedHalfPipeRecently__10CMorphBallFb: +/* 800F1988 000EE8E8 88 03 1D F8 */ lbz r0, 0x1df8(r3) +/* 800F198C 000EE8EC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800F1990 000EE8F0 98 03 1D F8 */ stb r0, 0x1df8(r3) +/* 800F1994 000EE8F4 4E 80 00 20 */ blr + +.global GetTouchedHalfPipeRecently__10CMorphBallCFv +GetTouchedHalfPipeRecently__10CMorphBallCFv: +/* 800F1998 000EE8F8 88 03 1D F8 */ lbz r0, 0x1df8(r3) +/* 800F199C 000EE8FC 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f +/* 800F19A0 000EE900 4E 80 00 20 */ blr + +.global SetIsInHalfPipeModeInAir__10CMorphBallFb +SetIsInHalfPipeModeInAir__10CMorphBallFb: +/* 800F19A4 000EE904 88 03 1D F8 */ lbz r0, 0x1df8(r3) +/* 800F19A8 000EE908 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800F19AC 000EE90C 98 03 1D F8 */ stb r0, 0x1df8(r3) +/* 800F19B0 000EE910 4E 80 00 20 */ blr + +.global GetIsInHalfPipeModeInAir__10CMorphBallCFv +GetIsInHalfPipeModeInAir__10CMorphBallCFv: +/* 800F19B4 000EE914 88 03 1D F8 */ lbz r0, 0x1df8(r3) +/* 800F19B8 000EE918 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f +/* 800F19BC 000EE91C 4E 80 00 20 */ blr + +.global SetIsInHalfPipeMode__10CMorphBallFb +SetIsInHalfPipeMode__10CMorphBallFb: +/* 800F19C0 000EE920 88 03 1D F8 */ lbz r0, 0x1df8(r3) +/* 800F19C4 000EE924 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800F19C8 000EE928 98 03 1D F8 */ stb r0, 0x1df8(r3) +/* 800F19CC 000EE92C 4E 80 00 20 */ blr + +.global GetIsInHalfPipeMode__10CMorphBallCFv +GetIsInHalfPipeMode__10CMorphBallCFv: +/* 800F19D0 000EE930 88 03 1D F8 */ lbz r0, 0x1df8(r3) +/* 800F19D4 000EE934 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 800F19D8 000EE938 4E 80 00 20 */ blr + +.global UpdateHalfPipeStatus__10CMorphBallFR13CStateManagerf +UpdateHalfPipeStatus__10CMorphBallFR13CStateManagerf: +/* 800F19DC 000EE93C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800F19E0 000EE940 7C 08 02 A6 */ mflr r0 +/* 800F19E4 000EE944 90 01 00 34 */ stw r0, 0x34(r1) +/* 800F19E8 000EE948 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 800F19EC 000EE94C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 800F19F0 000EE950 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800F19F4 000EE954 7C 7F 1B 78 */ mr r31, r3 +/* 800F19F8 000EE958 C0 03 1D FC */ lfs f0, 0x1dfc(r3) +/* 800F19FC 000EE95C EC 00 08 28 */ fsubs f0, f0, f1 +/* 800F1A00 000EE960 D0 03 1D FC */ stfs f0, 0x1dfc(r3) +/* 800F1A04 000EE964 C0 4D 88 C4 */ lfs f2, lbl_805A7484@sda21(r13) +/* 800F1A08 000EE968 C0 03 1D FC */ lfs f0, 0x1dfc(r3) +/* 800F1A0C 000EE96C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800F1A10 000EE970 40 80 00 0C */ bge lbl_800F1A1C +/* 800F1A14 000EE974 38 7F 1D FC */ addi r3, r31, 0x1dfc +/* 800F1A18 000EE978 48 00 00 08 */ b lbl_800F1A20 +lbl_800F1A1C: +/* 800F1A1C 000EE97C 38 6D 88 C4 */ addi r3, r13, lbl_805A7484@sda21 +lbl_800F1A20: +/* 800F1A20 000EE980 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F1A24 000EE984 D0 1F 1D FC */ stfs f0, 0x1dfc(r31) +/* 800F1A28 000EE988 C0 1F 1E 04 */ lfs f0, 0x1e04(r31) +/* 800F1A2C 000EE98C EC 00 08 28 */ fsubs f0, f0, f1 +/* 800F1A30 000EE990 D0 1F 1E 04 */ stfs f0, 0x1e04(r31) +/* 800F1A34 000EE994 C0 2D 88 C8 */ lfs f1, lbl_805A7488@sda21(r13) +/* 800F1A38 000EE998 C0 1F 1E 04 */ lfs f0, 0x1e04(r31) +/* 800F1A3C 000EE99C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F1A40 000EE9A0 40 80 00 0C */ bge lbl_800F1A4C +/* 800F1A44 000EE9A4 38 7F 1E 04 */ addi r3, r31, 0x1e04 +/* 800F1A48 000EE9A8 48 00 00 08 */ b lbl_800F1A50 +lbl_800F1A4C: +/* 800F1A4C 000EE9AC 38 6D 88 C8 */ addi r3, r13, lbl_805A7488@sda21 +lbl_800F1A50: +/* 800F1A50 000EE9B0 C0 23 00 00 */ lfs f1, 0(r3) +/* 800F1A54 000EE9B4 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F1A58 000EE9B8 D0 3F 1E 04 */ stfs f1, 0x1e04(r31) +/* 800F1A5C 000EE9BC C0 3F 1D FC */ lfs f1, 0x1dfc(r31) +/* 800F1A60 000EE9C0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F1A64 000EE9C4 40 81 00 D8 */ ble lbl_800F1B3C +/* 800F1A68 000EE9C8 38 61 00 08 */ addi r3, r1, 8 +/* 800F1A6C 000EE9CC 38 9F 1C D0 */ addi r4, r31, 0x1cd0 +/* 800F1A70 000EE9D0 4B FF EA FD */ bl "GetAverage__22TReservedAverageCFv" +/* 800F1A74 000EE9D4 C3 E1 00 08 */ lfs f31, 8(r1) +/* 800F1A78 000EE9D8 38 00 00 00 */ li r0, 0 +/* 800F1A7C 000EE9DC C0 02 92 5C */ lfs f0, lbl_805AAF7C@sda21(r2) +/* 800F1A80 000EE9E0 98 01 00 0C */ stb r0, 0xc(r1) +/* 800F1A84 000EE9E4 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F1A88 000EE9E8 41 81 00 20 */ bgt lbl_800F1AA8 +/* 800F1A8C 000EE9EC 7F E3 FB 78 */ mr r3, r31 +/* 800F1A90 000EE9F0 4B FF FF 41 */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F1A94 000EE9F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F1A98 000EE9F8 41 82 00 98 */ beq lbl_800F1B30 +/* 800F1A9C 000EE9FC C0 02 92 60 */ lfs f0, lbl_805AAF80@sda21(r2) +/* 800F1AA0 000EEA00 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F1AA4 000EEA04 40 81 00 8C */ ble lbl_800F1B30 +lbl_800F1AA8: +/* 800F1AA8 000EEA08 7F E3 FB 78 */ mr r3, r31 +/* 800F1AAC 000EEA0C 38 80 00 01 */ li r4, 1 +/* 800F1AB0 000EEA10 4B FF FF 11 */ bl SetIsInHalfPipeMode__10CMorphBallFb +/* 800F1AB4 000EEA14 88 1F 1D F8 */ lbz r0, 0x1df8(r31) +/* 800F1AB8 000EEA18 7F E3 FB 78 */ mr r3, r31 +/* 800F1ABC 000EEA1C 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f +/* 800F1AC0 000EEA20 7C 00 00 34 */ cntlzw r0, r0 +/* 800F1AC4 000EEA24 54 04 D9 7E */ srwi r4, r0, 5 +/* 800F1AC8 000EEA28 4B FF FE DD */ bl SetIsInHalfPipeModeInAir__10CMorphBallFb +/* 800F1ACC 000EEA2C C0 3F 1E 04 */ lfs f1, 0x1e04(r31) +/* 800F1AD0 000EEA30 7F E3 FB 78 */ mr r3, r31 +/* 800F1AD4 000EEA34 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F1AD8 000EEA38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F1ADC 000EEA3C 7C 00 00 26 */ mfcr r0 +/* 800F1AE0 000EEA40 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f +/* 800F1AE4 000EEA44 4B FF FE A5 */ bl SetTouchedHalfPipeRecently__10CMorphBallFb +/* 800F1AE8 000EEA48 7F E3 FB 78 */ mr r3, r31 +/* 800F1AEC 000EEA4C 4B FF FE C9 */ bl GetIsInHalfPipeModeInAir__10CMorphBallCFv +/* 800F1AF0 000EEA50 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F1AF4 000EEA54 41 82 00 50 */ beq lbl_800F1B44 +/* 800F1AF8 000EEA58 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F1AFC 000EEA5C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800F1B00 000EEA60 D0 1F 1E 08 */ stfs f0, 0x1e08(r31) +/* 800F1B04 000EEA64 C0 03 00 04 */ lfs f0, 4(r3) +/* 800F1B08 000EEA68 D0 1F 1E 0C */ stfs f0, 0x1e0c(r31) +/* 800F1B0C 000EEA6C C0 03 00 08 */ lfs f0, 8(r3) +/* 800F1B10 000EEA70 D0 1F 1E 10 */ stfs f0, 0x1e10(r31) +/* 800F1B14 000EEA74 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F1B18 000EEA78 D0 1F 1E 14 */ stfs f0, 0x1e14(r31) +/* 800F1B1C 000EEA7C C0 03 00 04 */ lfs f0, 4(r3) +/* 800F1B20 000EEA80 D0 1F 1E 18 */ stfs f0, 0x1e18(r31) +/* 800F1B24 000EEA84 C0 03 00 08 */ lfs f0, 8(r3) +/* 800F1B28 000EEA88 D0 1F 1E 1C */ stfs f0, 0x1e1c(r31) +/* 800F1B2C 000EEA8C 48 00 00 18 */ b lbl_800F1B44 +lbl_800F1B30: +/* 800F1B30 000EEA90 7F E3 FB 78 */ mr r3, r31 +/* 800F1B34 000EEA94 4B FF FD C1 */ bl DisableHalfPipeStatus__10CMorphBallFv +/* 800F1B38 000EEA98 48 00 00 0C */ b lbl_800F1B44 +lbl_800F1B3C: +/* 800F1B3C 000EEA9C 7F E3 FB 78 */ mr r3, r31 +/* 800F1B40 000EEAA0 4B FF FD B5 */ bl DisableHalfPipeStatus__10CMorphBallFv +lbl_800F1B44: +/* 800F1B44 000EEAA4 7F E3 FB 78 */ mr r3, r31 +/* 800F1B48 000EEAA8 4B FF FE 89 */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F1B4C 000EEAAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F1B50 000EEAB0 41 82 00 14 */ beq lbl_800F1B64 +/* 800F1B54 000EEAB4 80 7F 00 00 */ lwz r3, 0(r31) +/* 800F1B58 000EEAB8 C0 22 91 58 */ lfs f1, lbl_805AAE78@sda21(r2) +/* 800F1B5C 000EEABC 48 02 89 75 */ bl SetCollisionAccuracyModifier__13CPhysicsActorFf +/* 800F1B60 000EEAC0 48 00 00 10 */ b lbl_800F1B70 +lbl_800F1B64: +/* 800F1B64 000EEAC4 80 7F 00 00 */ lwz r3, 0(r31) +/* 800F1B68 000EEAC8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F1B6C 000EEACC 48 02 89 65 */ bl SetCollisionAccuracyModifier__13CPhysicsActorFf +lbl_800F1B70: +/* 800F1B70 000EEAD0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 800F1B74 000EEAD4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800F1B78 000EEAD8 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 800F1B7C 000EEADC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800F1B80 000EEAE0 7C 08 03 A6 */ mtlr r0 +/* 800F1B84 000EEAE4 38 21 00 30 */ addi r1, r1, 0x30 +/* 800F1B88 000EEAE8 4E 80 00 20 */ blr + +.global RenderDamageEffects__10CMorphBallCFRC13CStateManagerRC12CTransform4f +RenderDamageEffects__10CMorphBallCFRC13CStateManagerRC12CTransform4f: +/* 800F1B8C 000EEAEC 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 800F1B90 000EEAF0 7C 08 02 A6 */ mflr r0 +/* 800F1B94 000EEAF4 90 01 01 34 */ stw r0, 0x134(r1) +/* 800F1B98 000EEAF8 DB E1 01 20 */ stfd f31, 0x120(r1) +/* 800F1B9C 000EEAFC F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 +/* 800F1BA0 000EEB00 DB C1 01 10 */ stfd f30, 0x110(r1) +/* 800F1BA4 000EEB04 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 +/* 800F1BA8 000EEB08 DB A1 01 00 */ stfd f29, 0x100(r1) +/* 800F1BAC 000EEB0C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 +/* 800F1BB0 000EEB10 DB 81 00 F0 */ stfd f28, 0xf0(r1) +/* 800F1BB4 000EEB14 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 +/* 800F1BB8 000EEB18 DB 61 00 E0 */ stfd f27, 0xe0(r1) +/* 800F1BBC 000EEB1C F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 +/* 800F1BC0 000EEB20 DB 41 00 D0 */ stfd f26, 0xd0(r1) +/* 800F1BC4 000EEB24 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 +/* 800F1BC8 000EEB28 93 E1 00 CC */ stw r31, 0xcc(r1) +/* 800F1BCC 000EEB2C 93 C1 00 C8 */ stw r30, 0xc8(r1) +/* 800F1BD0 000EEB30 93 A1 00 C4 */ stw r29, 0xc4(r1) +/* 800F1BD4 000EEB34 7C 7D 1B 78 */ mr r29, r3 +/* 800F1BD8 000EEB38 7C BE 2B 78 */ mr r30, r5 +/* 800F1BDC 000EEB3C 38 61 00 0C */ addi r3, r1, 0xc +/* 800F1BE0 000EEB40 38 80 00 63 */ li r4, 0x63 +/* 800F1BE4 000EEB44 48 22 0A 09 */ bl __ct__9CRandom16FUi +/* 800F1BE8 000EEB48 C0 22 91 E4 */ lfs f1, lbl_805AAF04@sda21(r2) +/* 800F1BEC 000EEB4C 38 61 00 08 */ addi r3, r1, 8 +/* 800F1BF0 000EEB50 C0 7D 1E 44 */ lfs f3, 0x1e44(r29) +/* 800F1BF4 000EEB54 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) +/* 800F1BF8 000EEB58 EC 41 00 F2 */ fmuls f2, f1, f3 +/* 800F1BFC 000EEB5C C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) +/* 800F1C00 000EEB60 EC 20 00 F2 */ fmuls f1, f0, f3 +/* 800F1C04 000EEB64 FC 60 10 90 */ fmr f3, f2 +/* 800F1C08 000EEB68 48 27 17 E5 */ bl __ct__6CColorFffff +/* 800F1C0C 000EEB6C 38 80 00 03 */ li r4, 3 +/* 800F1C10 000EEB70 80 61 00 08 */ lwz r3, 8(r1) +/* 800F1C14 000EEB74 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d +/* 800F1C18 000EEB78 38 C0 00 07 */ li r6, 7 +/* 800F1C1C 000EEB7C 38 A0 00 00 */ li r5, 0 +/* 800F1C20 000EEB80 98 C1 00 10 */ stb r6, 0x10(r1) +/* 800F1C24 000EEB84 60 00 00 01 */ ori r0, r0, 1 +/* 800F1C28 000EEB88 C3 A2 92 64 */ lfs f29, lbl_805AAF84@sda21(r2) +/* 800F1C2C 000EEB8C 98 A1 00 11 */ stb r5, 0x11(r1) +/* 800F1C30 000EEB90 3B E0 00 00 */ li r31, 0 +/* 800F1C34 000EEB94 C3 C2 92 68 */ lfs f30, lbl_805AAF88@sda21(r2) +/* 800F1C38 000EEB98 B0 81 00 12 */ sth r4, 0x12(r1) +/* 800F1C3C 000EEB9C C3 E2 92 54 */ lfs f31, lbl_805AAF74@sda21(r2) +/* 800F1C40 000EEBA0 90 61 00 14 */ stw r3, 0x14(r1) +/* 800F1C44 000EEBA4 98 C1 00 18 */ stb r6, 0x18(r1) +/* 800F1C48 000EEBA8 98 A1 00 19 */ stb r5, 0x19(r1) +/* 800F1C4C 000EEBAC B0 01 00 1A */ sth r0, 0x1a(r1) +/* 800F1C50 000EEBB0 90 61 00 1C */ stw r3, 0x1c(r1) +lbl_800F1C54: +/* 800F1C54 000EEBB4 38 61 00 0C */ addi r3, r1, 0xc +/* 800F1C58 000EEBB8 48 22 08 85 */ bl Float__9CRandom16Fv +/* 800F1C5C 000EEBBC FF 40 08 90 */ fmr f26, f1 +/* 800F1C60 000EEBC0 38 61 00 0C */ addi r3, r1, 0xc +/* 800F1C64 000EEBC4 48 22 08 79 */ bl Float__9CRandom16Fv +/* 800F1C68 000EEBC8 FF 60 08 90 */ fmr f27, f1 +/* 800F1C6C 000EEBCC 38 61 00 0C */ addi r3, r1, 0xc +/* 800F1C70 000EEBD0 48 22 08 6D */ bl Float__9CRandom16Fv +/* 800F1C74 000EEBD4 FF 80 08 90 */ fmr f28, f1 +/* 800F1C78 000EEBD8 38 61 00 0C */ addi r3, r1, 0xc +/* 800F1C7C 000EEBDC 48 22 08 61 */ bl Float__9CRandom16Fv +/* 800F1C80 000EEBE0 EC 3D 00 72 */ fmuls f1, f29, f1 +/* 800F1C84 000EEBE4 C0 1D 1E 4C */ lfs f0, 0x1e4c(r29) +/* 800F1C88 000EEBE8 EC 3E 08 3A */ fmadds f1, f30, f0, f1 +/* 800F1C8C 000EEBEC 48 22 31 65 */ bl FastSinR__5CMathFf +/* 800F1C90 000EEBF0 C0 1D 1E 44 */ lfs f0, 0x1e44(r29) +/* 800F1C94 000EEBF4 38 61 00 2C */ addi r3, r1, 0x2c +/* 800F1C98 000EEBF8 38 81 00 20 */ addi r4, r1, 0x20 +/* 800F1C9C 000EEBFC EC 00 00 72 */ fmuls f0, f0, f1 +/* 800F1CA0 000EEC00 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800F1CA4 000EEC04 EC 5A 00 32 */ fmuls f2, f26, f0 +/* 800F1CA8 000EEC08 EC 3B 00 32 */ fmuls f1, f27, f0 +/* 800F1CAC 000EEC0C EC 1C 00 32 */ fmuls f0, f28, f0 +/* 800F1CB0 000EEC10 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 800F1CB4 000EEC14 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800F1CB8 000EEC18 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800F1CBC 000EEC1C 48 22 14 85 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800F1CC0 000EEC20 7F C4 F3 78 */ mr r4, r30 +/* 800F1CC4 000EEC24 38 61 00 5C */ addi r3, r1, 0x5c +/* 800F1CC8 000EEC28 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800F1CCC 000EEC2C 48 22 0C 85 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800F1CD0 000EEC30 38 61 00 8C */ addi r3, r1, 0x8c +/* 800F1CD4 000EEC34 38 81 00 5C */ addi r4, r1, 0x5c +/* 800F1CD8 000EEC38 48 22 0E 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F1CDC 000EEC3C 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 800F1CE0 000EEC40 38 A1 00 8C */ addi r5, r1, 0x8c +/* 800F1CE4 000EEC44 38 E1 00 18 */ addi r7, r1, 0x18 +/* 800F1CE8 000EEC48 38 80 00 00 */ li r4, 0 +/* 800F1CEC 000EEC4C 38 C0 00 00 */ li r6, 0 +/* 800F1CF0 000EEC50 48 02 42 D5 */ bl FlatDraw__10CModelDataF11EWhichModelRC12CTransform4fbRC11CModelFlags +/* 800F1CF4 000EEC54 3B FF 00 01 */ addi r31, r31, 1 +/* 800F1CF8 000EEC58 2C 1F 00 05 */ cmpwi r31, 5 +/* 800F1CFC 000EEC5C 41 80 FF 58 */ blt lbl_800F1C54 +/* 800F1D00 000EEC60 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 +/* 800F1D04 000EEC64 CB E1 01 20 */ lfd f31, 0x120(r1) +/* 800F1D08 000EEC68 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 +/* 800F1D0C 000EEC6C CB C1 01 10 */ lfd f30, 0x110(r1) +/* 800F1D10 000EEC70 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 +/* 800F1D14 000EEC74 CB A1 01 00 */ lfd f29, 0x100(r1) +/* 800F1D18 000EEC78 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 +/* 800F1D1C 000EEC7C CB 81 00 F0 */ lfd f28, 0xf0(r1) +/* 800F1D20 000EEC80 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 +/* 800F1D24 000EEC84 CB 61 00 E0 */ lfd f27, 0xe0(r1) +/* 800F1D28 000EEC88 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 +/* 800F1D2C 000EEC8C CB 41 00 D0 */ lfd f26, 0xd0(r1) +/* 800F1D30 000EEC90 83 E1 00 CC */ lwz r31, 0xcc(r1) +/* 800F1D34 000EEC94 83 C1 00 C8 */ lwz r30, 0xc8(r1) +/* 800F1D38 000EEC98 80 01 01 34 */ lwz r0, 0x134(r1) +/* 800F1D3C 000EEC9C 83 A1 00 C4 */ lwz r29, 0xc4(r1) +/* 800F1D40 000EECA0 7C 08 03 A6 */ mtlr r0 +/* 800F1D44 000EECA4 38 21 01 30 */ addi r1, r1, 0x130 +/* 800F1D48 000EECA8 4E 80 00 20 */ blr + +.global RenderIceBreakEffect__10CMorphBallCFRC13CStateManager +RenderIceBreakEffect__10CMorphBallCFRC13CStateManager: +/* 800F1D4C 000EECAC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F1D50 000EECB0 7C 08 02 A6 */ mflr r0 +/* 800F1D54 000EECB4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F1D58 000EECB8 80 63 19 E0 */ lwz r3, 0x19e0(r3) +/* 800F1D5C 000EECBC 28 03 00 00 */ cmplwi r3, 0 +/* 800F1D60 000EECC0 41 82 00 14 */ beq lbl_800F1D74 +/* 800F1D64 000EECC4 81 83 00 00 */ lwz r12, 0(r3) +/* 800F1D68 000EECC8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F1D6C 000EECCC 7D 89 03 A6 */ mtctr r12 +/* 800F1D70 000EECD0 4E 80 04 21 */ bctrl +lbl_800F1D74: +/* 800F1D74 000EECD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F1D78 000EECD8 7C 08 03 A6 */ mtlr r0 +/* 800F1D7C 000EECDC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F1D80 000EECE0 4E 80 00 20 */ blr + +.global UpdateIceBreakEffect__10CMorphBallFf +UpdateIceBreakEffect__10CMorphBallFf: +/* 800F1D84 000EECE4 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800F1D88 000EECE8 7C 08 02 A6 */ mflr r0 +/* 800F1D8C 000EECEC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800F1D90 000EECF0 DB E1 00 90 */ stfd f31, 0x90(r1) +/* 800F1D94 000EECF4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 800F1D98 000EECF8 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 800F1D9C 000EECFC 93 C1 00 88 */ stw r30, 0x88(r1) +/* 800F1DA0 000EED00 93 A1 00 84 */ stw r29, 0x84(r1) +/* 800F1DA4 000EED04 7C 7F 1B 78 */ mr r31, r3 +/* 800F1DA8 000EED08 FF E0 08 90 */ fmr f31, f1 +/* 800F1DAC 000EED0C 80 03 19 E0 */ lwz r0, 0x19e0(r3) +/* 800F1DB0 000EED10 28 00 00 00 */ cmplwi r0, 0 +/* 800F1DB4 000EED14 40 82 00 D0 */ bne lbl_800F1E84 +/* 800F1DB8 000EED18 88 1F 19 B4 */ lbz r0, 0x19b4(r31) +/* 800F1DBC 000EED1C 28 00 00 00 */ cmplwi r0, 0 +/* 800F1DC0 000EED20 41 82 00 C4 */ beq lbl_800F1E84 +/* 800F1DC4 000EED24 80 7F 19 B0 */ lwz r3, 0x19b0(r31) +/* 800F1DC8 000EED28 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800F1DCC 000EED2C 28 00 00 00 */ cmplwi r0, 0 +/* 800F1DD0 000EED30 41 82 00 B4 */ beq lbl_800F1E84 +/* 800F1DD4 000EED34 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F1DD8 000EED38 3B A0 00 00 */ li r29, 0 +/* 800F1DDC 000EED3C 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F1DE0 000EED40 38 60 03 40 */ li r3, 0x340 +/* 800F1DE4 000EED44 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F1DE8 000EED48 38 A0 00 00 */ li r5, 0 +/* 800F1DEC 000EED4C 48 22 3A 81 */ bl __nw__FUlPCcPCc +/* 800F1DF0 000EED50 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800F1DF4 000EED54 41 82 00 2C */ beq lbl_800F1E20 +/* 800F1DF8 000EED58 38 61 00 08 */ addi r3, r1, 8 +/* 800F1DFC 000EED5C 38 9F 19 B0 */ addi r4, r31, 0x19b0 +/* 800F1E00 000EED60 48 24 F0 A9 */ bl __ct__6CTokenFRC6CToken +/* 800F1E04 000EED64 7F C3 F3 78 */ mr r3, r30 +/* 800F1E08 000EED68 38 81 00 08 */ addi r4, r1, 8 +/* 800F1E0C 000EED6C 3B A0 00 01 */ li r29, 1 +/* 800F1E10 000EED70 38 A0 00 00 */ li r5, 0 +/* 800F1E14 000EED74 38 C0 00 01 */ li r6, 1 +/* 800F1E18 000EED78 48 22 D5 C9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800F1E1C 000EED7C 7C 7E 1B 78 */ mr r30, r3 +lbl_800F1E20: +/* 800F1E20 000EED80 80 7F 19 E0 */ lwz r3, 0x19e0(r31) +/* 800F1E24 000EED84 28 03 00 00 */ cmplwi r3, 0 +/* 800F1E28 000EED88 41 82 00 18 */ beq lbl_800F1E40 +/* 800F1E2C 000EED8C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F1E30 000EED90 38 80 00 01 */ li r4, 1 +/* 800F1E34 000EED94 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F1E38 000EED98 7D 89 03 A6 */ mtctr r12 +/* 800F1E3C 000EED9C 4E 80 04 21 */ bctrl +lbl_800F1E40: +/* 800F1E40 000EEDA0 7F A0 07 75 */ extsb. r0, r29 +/* 800F1E44 000EEDA4 93 DF 19 E0 */ stw r30, 0x19e0(r31) +/* 800F1E48 000EEDA8 41 82 00 10 */ beq lbl_800F1E58 +/* 800F1E4C 000EEDAC 38 61 00 08 */ addi r3, r1, 8 +/* 800F1E50 000EEDB0 38 80 00 00 */ li r4, 0 +/* 800F1E54 000EEDB4 48 24 EF ED */ bl __dt__6CTokenFv +lbl_800F1E58: +/* 800F1E58 000EEDB8 80 9F 00 00 */ lwz r4, 0(r31) +/* 800F1E5C 000EEDBC 38 61 00 4C */ addi r3, r1, 0x4c +/* 800F1E60 000EEDC0 83 DF 19 E0 */ lwz r30, 0x19e0(r31) +/* 800F1E64 000EEDC4 38 84 00 34 */ addi r4, r4, 0x34 +/* 800F1E68 000EEDC8 48 22 0D D9 */ bl GetRotation__12CTransform4fCFv +/* 800F1E6C 000EEDCC 7F C3 F3 78 */ mr r3, r30 +/* 800F1E70 000EEDD0 38 81 00 4C */ addi r4, r1, 0x4c +/* 800F1E74 000EEDD4 81 9E 00 00 */ lwz r12, 0(r30) +/* 800F1E78 000EEDD8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800F1E7C 000EEDDC 7D 89 03 A6 */ mtctr r12 +/* 800F1E80 000EEDE0 4E 80 04 21 */ bctrl +lbl_800F1E84: +/* 800F1E84 000EEDE4 80 7F 19 E0 */ lwz r3, 0x19e0(r31) +/* 800F1E88 000EEDE8 28 03 00 00 */ cmplwi r3, 0 +/* 800F1E8C 000EEDEC 41 82 00 A4 */ beq lbl_800F1F30 +/* 800F1E90 000EEDF0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F1E94 000EEDF4 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 800F1E98 000EEDF8 7D 89 03 A6 */ mtctr r12 +/* 800F1E9C 000EEDFC 4E 80 04 21 */ bctrl +/* 800F1EA0 000EEE00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F1EA4 000EEE04 41 82 00 38 */ beq lbl_800F1EDC +/* 800F1EA8 000EEE08 80 7F 19 E0 */ lwz r3, 0x19e0(r31) +/* 800F1EAC 000EEE0C 28 03 00 00 */ cmplwi r3, 0 +/* 800F1EB0 000EEE10 41 82 00 18 */ beq lbl_800F1EC8 +/* 800F1EB4 000EEE14 81 83 00 00 */ lwz r12, 0(r3) +/* 800F1EB8 000EEE18 38 80 00 01 */ li r4, 1 +/* 800F1EBC 000EEE1C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F1EC0 000EEE20 7D 89 03 A6 */ mtctr r12 +/* 800F1EC4 000EEE24 4E 80 04 21 */ bctrl +lbl_800F1EC8: +/* 800F1EC8 000EEE28 38 00 00 00 */ li r0, 0 +/* 800F1ECC 000EEE2C 38 7F 19 B0 */ addi r3, r31, 0x19b0 +/* 800F1ED0 000EEE30 90 1F 19 E0 */ stw r0, 0x19e0(r31) +/* 800F1ED4 000EEE34 48 24 EE 6D */ bl Unlock__6CTokenFv +/* 800F1ED8 000EEE38 48 00 00 58 */ b lbl_800F1F30 +lbl_800F1EDC: +/* 800F1EDC 000EEE3C 7F E4 FB 78 */ mr r4, r31 +/* 800F1EE0 000EEE40 38 61 00 1C */ addi r3, r1, 0x1c +/* 800F1EE4 000EEE44 48 00 48 11 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F1EE8 000EEE48 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 800F1EEC 000EEE4C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800F1EF0 000EEE50 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 800F1EF4 000EEE54 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800F1EF8 000EEE58 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800F1EFC 000EEE5C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800F1F00 000EEE60 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800F1F04 000EEE64 80 7F 19 E0 */ lwz r3, 0x19e0(r31) +/* 800F1F08 000EEE68 81 83 00 00 */ lwz r12, 0(r3) +/* 800F1F0C 000EEE6C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800F1F10 000EEE70 7D 89 03 A6 */ mtctr r12 +/* 800F1F14 000EEE74 4E 80 04 21 */ bctrl +/* 800F1F18 000EEE78 80 7F 19 E0 */ lwz r3, 0x19e0(r31) +/* 800F1F1C 000EEE7C FC 20 F8 90 */ fmr f1, f31 +/* 800F1F20 000EEE80 81 83 00 00 */ lwz r12, 0(r3) +/* 800F1F24 000EEE84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F1F28 000EEE88 7D 89 03 A6 */ mtctr r12 +/* 800F1F2C 000EEE8C 4E 80 04 21 */ bctrl +lbl_800F1F30: +/* 800F1F30 000EEE90 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 800F1F34 000EEE94 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800F1F38 000EEE98 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 800F1F3C 000EEE9C 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 800F1F40 000EEEA0 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 800F1F44 000EEEA4 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 800F1F48 000EEEA8 7C 08 03 A6 */ mtlr r0 +/* 800F1F4C 000EEEAC 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800F1F50 000EEEB0 4E 80 00 20 */ blr + +.global Stop__10CMorphBallFv +Stop__10CMorphBallFv: +/* 800F1F54 000EEEB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F1F58 000EEEB8 7C 08 02 A6 */ mflr r0 +/* 800F1F5C 000EEEBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F1F60 000EEEC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F1F64 000EEEC4 7C 7F 1B 78 */ mr r31, r3 +/* 800F1F68 000EEEC8 38 7F 19 B0 */ addi r3, r31, 0x19b0 +/* 800F1F6C 000EEECC 48 24 EE 19 */ bl Lock__6CTokenFv +/* 800F1F70 000EEED0 80 7F 19 E0 */ lwz r3, 0x19e0(r31) +/* 800F1F74 000EEED4 28 03 00 00 */ cmplwi r3, 0 +/* 800F1F78 000EEED8 41 82 00 18 */ beq lbl_800F1F90 +/* 800F1F7C 000EEEDC 81 83 00 00 */ lwz r12, 0(r3) +/* 800F1F80 000EEEE0 38 80 00 01 */ li r4, 1 +/* 800F1F84 000EEEE4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F1F88 000EEEE8 7D 89 03 A6 */ mtctr r12 +/* 800F1F8C 000EEEEC 4E 80 04 21 */ bctrl +lbl_800F1F90: +/* 800F1F90 000EEEF0 38 00 00 00 */ li r0, 0 +/* 800F1F94 000EEEF4 90 1F 19 E0 */ stw r0, 0x19e0(r31) +/* 800F1F98 000EEEF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F1F9C 000EEEFC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F1FA0 000EEF00 7C 08 03 A6 */ mtlr r0 +/* 800F1FA4 000EEF04 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F1FA8 000EEF08 4E 80 00 20 */ blr + +.global IsMorphBallTransitionFlashValid__10CMorphBallCFv +IsMorphBallTransitionFlashValid__10CMorphBallCFv: +/* 800F1FAC 000EEF0C 80 63 19 DC */ lwz r3, 0x19dc(r3) +/* 800F1FB0 000EEF10 7C 03 00 D0 */ neg r0, r3 +/* 800F1FB4 000EEF14 7C 00 1B 78 */ or r0, r0, r3 +/* 800F1FB8 000EEF18 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800F1FBC 000EEF1C 4E 80 00 20 */ blr + +.global RenderMorphBallTransitionFlash__10CMorphBallCFRC13CStateManager +RenderMorphBallTransitionFlash__10CMorphBallCFRC13CStateManager: +/* 800F1FC0 000EEF20 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F1FC4 000EEF24 7C 08 02 A6 */ mflr r0 +/* 800F1FC8 000EEF28 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F1FCC 000EEF2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800F1FD0 000EEF30 7C 7F 1B 78 */ mr r31, r3 +/* 800F1FD4 000EEF34 80 63 19 DC */ lwz r3, 0x19dc(r3) +/* 800F1FD8 000EEF38 28 03 00 00 */ cmplwi r3, 0 +/* 800F1FDC 000EEF3C 41 82 00 60 */ beq lbl_800F203C +/* 800F1FE0 000EEF40 80 BF 00 08 */ lwz r5, 8(r31) +/* 800F1FE4 000EEF44 38 00 00 FF */ li r0, 0xff +/* 800F1FE8 000EEF48 3C 80 80 3D */ lis r4, lbl_803CEAEC@ha +/* 800F1FEC 000EEF4C 98 01 00 0B */ stb r0, 0xb(r1) +/* 800F1FF0 000EEF50 1C C5 00 03 */ mulli r6, r5, 3 +/* 800F1FF4 000EEF54 38 A4 EA EC */ addi r5, r4, lbl_803CEAEC@l +/* 800F1FF8 000EEF58 38 81 00 08 */ addi r4, r1, 8 +/* 800F1FFC 000EEF5C 7C A5 32 14 */ add r5, r5, r6 +/* 800F2000 000EEF60 88 E5 00 02 */ lbz r7, 2(r5) +/* 800F2004 000EEF64 88 C5 00 01 */ lbz r6, 1(r5) +/* 800F2008 000EEF68 88 05 00 00 */ lbz r0, 0(r5) +/* 800F200C 000EEF6C 98 C1 00 09 */ stb r6, 9(r1) +/* 800F2010 000EEF70 98 01 00 08 */ stb r0, 8(r1) +/* 800F2014 000EEF74 98 E1 00 0A */ stb r7, 0xa(r1) +/* 800F2018 000EEF78 81 83 00 00 */ lwz r12, 0(r3) +/* 800F201C 000EEF7C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F2020 000EEF80 7D 89 03 A6 */ mtctr r12 +/* 800F2024 000EEF84 4E 80 04 21 */ bctrl +/* 800F2028 000EEF88 80 7F 19 DC */ lwz r3, 0x19dc(r31) +/* 800F202C 000EEF8C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2030 000EEF90 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2034 000EEF94 7D 89 03 A6 */ mtctr r12 +/* 800F2038 000EEF98 4E 80 04 21 */ bctrl +lbl_800F203C: +/* 800F203C 000EEF9C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F2040 000EEFA0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800F2044 000EEFA4 7C 08 03 A6 */ mtlr r0 +/* 800F2048 000EEFA8 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F204C 000EEFAC 4E 80 00 20 */ blr + +.global UpdateMorphBallTransitionFlash__10CMorphBallFf +UpdateMorphBallTransitionFlash__10CMorphBallFf: +/* 800F2050 000EEFB0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800F2054 000EEFB4 7C 08 02 A6 */ mflr r0 +/* 800F2058 000EEFB8 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800F205C 000EEFBC DB E1 00 90 */ stfd f31, 0x90(r1) +/* 800F2060 000EEFC0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 +/* 800F2064 000EEFC4 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 800F2068 000EEFC8 93 C1 00 88 */ stw r30, 0x88(r1) +/* 800F206C 000EEFCC 93 A1 00 84 */ stw r29, 0x84(r1) +/* 800F2070 000EEFD0 7C 7F 1B 78 */ mr r31, r3 +/* 800F2074 000EEFD4 FF E0 08 90 */ fmr f31, f1 +/* 800F2078 000EEFD8 80 03 19 DC */ lwz r0, 0x19dc(r3) +/* 800F207C 000EEFDC 28 00 00 00 */ cmplwi r0, 0 +/* 800F2080 000EEFE0 40 82 00 D0 */ bne lbl_800F2150 +/* 800F2084 000EEFE4 88 1F 19 AC */ lbz r0, 0x19ac(r31) +/* 800F2088 000EEFE8 28 00 00 00 */ cmplwi r0, 0 +/* 800F208C 000EEFEC 41 82 00 C4 */ beq lbl_800F2150 +/* 800F2090 000EEFF0 80 7F 19 A8 */ lwz r3, 0x19a8(r31) +/* 800F2094 000EEFF4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800F2098 000EEFF8 28 00 00 00 */ cmplwi r0, 0 +/* 800F209C 000EEFFC 41 82 00 B4 */ beq lbl_800F2150 +/* 800F20A0 000EF000 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F20A4 000EF004 3B A0 00 00 */ li r29, 0 +/* 800F20A8 000EF008 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F20AC 000EF00C 38 60 03 40 */ li r3, 0x340 +/* 800F20B0 000EF010 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F20B4 000EF014 38 A0 00 00 */ li r5, 0 +/* 800F20B8 000EF018 48 22 37 B5 */ bl __nw__FUlPCcPCc +/* 800F20BC 000EF01C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800F20C0 000EF020 41 82 00 2C */ beq lbl_800F20EC +/* 800F20C4 000EF024 38 61 00 08 */ addi r3, r1, 8 +/* 800F20C8 000EF028 38 9F 19 A8 */ addi r4, r31, 0x19a8 +/* 800F20CC 000EF02C 48 24 ED DD */ bl __ct__6CTokenFRC6CToken +/* 800F20D0 000EF030 7F C3 F3 78 */ mr r3, r30 +/* 800F20D4 000EF034 38 81 00 08 */ addi r4, r1, 8 +/* 800F20D8 000EF038 3B A0 00 01 */ li r29, 1 +/* 800F20DC 000EF03C 38 A0 00 00 */ li r5, 0 +/* 800F20E0 000EF040 38 C0 00 01 */ li r6, 1 +/* 800F20E4 000EF044 48 22 D2 FD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800F20E8 000EF048 7C 7E 1B 78 */ mr r30, r3 +lbl_800F20EC: +/* 800F20EC 000EF04C 80 7F 19 DC */ lwz r3, 0x19dc(r31) +/* 800F20F0 000EF050 28 03 00 00 */ cmplwi r3, 0 +/* 800F20F4 000EF054 41 82 00 18 */ beq lbl_800F210C +/* 800F20F8 000EF058 81 83 00 00 */ lwz r12, 0(r3) +/* 800F20FC 000EF05C 38 80 00 01 */ li r4, 1 +/* 800F2100 000EF060 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F2104 000EF064 7D 89 03 A6 */ mtctr r12 +/* 800F2108 000EF068 4E 80 04 21 */ bctrl +lbl_800F210C: +/* 800F210C 000EF06C 7F A0 07 75 */ extsb. r0, r29 +/* 800F2110 000EF070 93 DF 19 DC */ stw r30, 0x19dc(r31) +/* 800F2114 000EF074 41 82 00 10 */ beq lbl_800F2124 +/* 800F2118 000EF078 38 61 00 08 */ addi r3, r1, 8 +/* 800F211C 000EF07C 38 80 00 00 */ li r4, 0 +/* 800F2120 000EF080 48 24 ED 21 */ bl __dt__6CTokenFv +lbl_800F2124: +/* 800F2124 000EF084 80 9F 00 00 */ lwz r4, 0(r31) +/* 800F2128 000EF088 38 61 00 4C */ addi r3, r1, 0x4c +/* 800F212C 000EF08C 83 DF 19 DC */ lwz r30, 0x19dc(r31) +/* 800F2130 000EF090 38 84 00 34 */ addi r4, r4, 0x34 +/* 800F2134 000EF094 48 22 0B 0D */ bl GetRotation__12CTransform4fCFv +/* 800F2138 000EF098 7F C3 F3 78 */ mr r3, r30 +/* 800F213C 000EF09C 38 81 00 4C */ addi r4, r1, 0x4c +/* 800F2140 000EF0A0 81 9E 00 00 */ lwz r12, 0(r30) +/* 800F2144 000EF0A4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800F2148 000EF0A8 7D 89 03 A6 */ mtctr r12 +/* 800F214C 000EF0AC 4E 80 04 21 */ bctrl +lbl_800F2150: +/* 800F2150 000EF0B0 80 7F 19 DC */ lwz r3, 0x19dc(r31) +/* 800F2154 000EF0B4 28 03 00 00 */ cmplwi r3, 0 +/* 800F2158 000EF0B8 41 82 00 A4 */ beq lbl_800F21FC +/* 800F215C 000EF0BC 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2160 000EF0C0 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 800F2164 000EF0C4 7D 89 03 A6 */ mtctr r12 +/* 800F2168 000EF0C8 4E 80 04 21 */ bctrl +/* 800F216C 000EF0CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F2170 000EF0D0 41 82 00 38 */ beq lbl_800F21A8 +/* 800F2174 000EF0D4 80 7F 19 DC */ lwz r3, 0x19dc(r31) +/* 800F2178 000EF0D8 28 03 00 00 */ cmplwi r3, 0 +/* 800F217C 000EF0DC 41 82 00 18 */ beq lbl_800F2194 +/* 800F2180 000EF0E0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2184 000EF0E4 38 80 00 01 */ li r4, 1 +/* 800F2188 000EF0E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F218C 000EF0EC 7D 89 03 A6 */ mtctr r12 +/* 800F2190 000EF0F0 4E 80 04 21 */ bctrl +lbl_800F2194: +/* 800F2194 000EF0F4 38 00 00 00 */ li r0, 0 +/* 800F2198 000EF0F8 38 7F 19 A8 */ addi r3, r31, 0x19a8 +/* 800F219C 000EF0FC 90 1F 19 DC */ stw r0, 0x19dc(r31) +/* 800F21A0 000EF100 48 24 EB A1 */ bl Unlock__6CTokenFv +/* 800F21A4 000EF104 48 00 00 58 */ b lbl_800F21FC +lbl_800F21A8: +/* 800F21A8 000EF108 7F E4 FB 78 */ mr r4, r31 +/* 800F21AC 000EF10C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800F21B0 000EF110 48 00 45 45 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F21B4 000EF114 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 800F21B8 000EF118 38 81 00 10 */ addi r4, r1, 0x10 +/* 800F21BC 000EF11C C0 21 00 38 */ lfs f1, 0x38(r1) +/* 800F21C0 000EF120 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800F21C4 000EF124 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800F21C8 000EF128 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800F21CC 000EF12C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800F21D0 000EF130 80 7F 19 DC */ lwz r3, 0x19dc(r31) +/* 800F21D4 000EF134 81 83 00 00 */ lwz r12, 0(r3) +/* 800F21D8 000EF138 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800F21DC 000EF13C 7D 89 03 A6 */ mtctr r12 +/* 800F21E0 000EF140 4E 80 04 21 */ bctrl +/* 800F21E4 000EF144 80 7F 19 DC */ lwz r3, 0x19dc(r31) +/* 800F21E8 000EF148 FC 20 F8 90 */ fmr f1, f31 +/* 800F21EC 000EF14C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F21F0 000EF150 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F21F4 000EF154 7D 89 03 A6 */ mtctr r12 +/* 800F21F8 000EF158 4E 80 04 21 */ bctrl +lbl_800F21FC: +/* 800F21FC 000EF15C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 +/* 800F2200 000EF160 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800F2204 000EF164 CB E1 00 90 */ lfd f31, 0x90(r1) +/* 800F2208 000EF168 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 800F220C 000EF16C 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 800F2210 000EF170 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 800F2214 000EF174 7C 08 03 A6 */ mtlr r0 +/* 800F2218 000EF178 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800F221C 000EF17C 4E 80 00 20 */ blr + +.global ResetMorphBallTransitionFlash__10CMorphBallFv +ResetMorphBallTransitionFlash__10CMorphBallFv: +/* 800F2220 000EF180 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F2224 000EF184 7C 08 02 A6 */ mflr r0 +/* 800F2228 000EF188 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F222C 000EF18C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F2230 000EF190 7C 7F 1B 78 */ mr r31, r3 +/* 800F2234 000EF194 38 7F 19 A8 */ addi r3, r31, 0x19a8 +/* 800F2238 000EF198 48 24 EB 4D */ bl Lock__6CTokenFv +/* 800F223C 000EF19C 80 7F 19 DC */ lwz r3, 0x19dc(r31) +/* 800F2240 000EF1A0 28 03 00 00 */ cmplwi r3, 0 +/* 800F2244 000EF1A4 41 82 00 18 */ beq lbl_800F225C +/* 800F2248 000EF1A8 81 83 00 00 */ lwz r12, 0(r3) +/* 800F224C 000EF1AC 38 80 00 01 */ li r4, 1 +/* 800F2250 000EF1B0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F2254 000EF1B4 7D 89 03 A6 */ mtctr r12 +/* 800F2258 000EF1B8 4E 80 04 21 */ bctrl +lbl_800F225C: +/* 800F225C 000EF1BC 38 00 00 00 */ li r0, 0 +/* 800F2260 000EF1C0 90 1F 19 DC */ stw r0, 0x19dc(r31) +/* 800F2264 000EF1C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F2268 000EF1C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F226C 000EF1CC 7C 08 03 A6 */ mtlr r0 +/* 800F2270 000EF1D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F2274 000EF1D4 4E 80 00 20 */ blr + +.global Render__10CMorphBallCFRC13CStateManagerPC12CActorLights_0 +Render__10CMorphBallCFRC13CStateManagerPC12CActorLights_0: +/* 800F2278 000EF1D8 94 21 FC 20 */ stwu r1, -0x3e0(r1) +/* 800F227C 000EF1DC 7C 08 02 A6 */ mflr r0 +/* 800F2280 000EF1E0 90 01 03 E4 */ stw r0, 0x3e4(r1) +/* 800F2284 000EF1E4 DB E1 03 D0 */ stfd f31, 0x3d0(r1) +/* 800F2288 000EF1E8 F3 E1 03 D8 */ psq_st f31, 984(r1), 0, qr0 +/* 800F228C 000EF1EC DB C1 03 C0 */ stfd f30, 0x3c0(r1) +/* 800F2290 000EF1F0 F3 C1 03 C8 */ psq_st f30, 968(r1), 0, qr0 +/* 800F2294 000EF1F4 DB A1 03 B0 */ stfd f29, 0x3b0(r1) +/* 800F2298 000EF1F8 F3 A1 03 B8 */ psq_st f29, 952(r1), 0, qr0 +/* 800F229C 000EF1FC DB 81 03 A0 */ stfd f28, 0x3a0(r1) +/* 800F22A0 000EF200 F3 81 03 A8 */ psq_st f28, 936(r1), 0, qr0 +/* 800F22A4 000EF204 DB 61 03 90 */ stfd f27, 0x390(r1) +/* 800F22A8 000EF208 F3 61 03 98 */ psq_st f27, 920(r1), 0, qr0 +/* 800F22AC 000EF20C DB 41 03 80 */ stfd f26, 0x380(r1) +/* 800F22B0 000EF210 F3 41 03 88 */ psq_st f26, 904(r1), 0, qr0 +/* 800F22B4 000EF214 DB 21 03 70 */ stfd f25, 0x370(r1) +/* 800F22B8 000EF218 F3 21 03 78 */ psq_st f25, 888(r1), 0, qr0 +/* 800F22BC 000EF21C DB 01 03 60 */ stfd f24, 0x360(r1) +/* 800F22C0 000EF220 F3 01 03 68 */ psq_st f24, 872(r1), 0, qr0 +/* 800F22C4 000EF224 DA E1 03 50 */ stfd f23, 0x350(r1) +/* 800F22C8 000EF228 F2 E1 03 58 */ psq_st f23, 856(r1), 0, qr0 +/* 800F22CC 000EF22C BE E1 03 2C */ stmw r23, 0x32c(r1) +/* 800F22D0 000EF230 7C 7D 1B 78 */ mr r29, r3 +/* 800F22D4 000EF234 3C 60 80 3D */ lis r3, lbl_803CE910@ha +/* 800F22D8 000EF238 7C 9E 23 78 */ mr r30, r4 +/* 800F22DC 000EF23C 7C BF 2B 78 */ mr r31, r5 +/* 800F22E0 000EF240 7F A4 EB 78 */ mr r4, r29 +/* 800F22E4 000EF244 3B 63 E9 10 */ addi r27, r3, lbl_803CE910@l +/* 800F22E8 000EF248 38 61 02 84 */ addi r3, r1, 0x284 +/* 800F22EC 000EF24C 48 00 44 09 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F22F0 000EF250 38 61 02 E4 */ addi r3, r1, 0x2e4 +/* 800F22F4 000EF254 38 81 02 84 */ addi r4, r1, 0x284 +/* 800F22F8 000EF258 48 22 08 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F22FC 000EF25C 88 1D 00 28 */ lbz r0, 0x28(r29) +/* 800F2300 000EF260 28 00 00 00 */ cmplwi r0, 0 +/* 800F2304 000EF264 41 82 00 9C */ beq lbl_800F23A0 +/* 800F2308 000EF268 80 DD 00 00 */ lwz r6, 0(r29) +/* 800F230C 000EF26C 38 61 00 DC */ addi r3, r1, 0xdc +/* 800F2310 000EF270 C0 1D 00 30 */ lfs f0, 0x30(r29) +/* 800F2314 000EF274 38 81 02 E4 */ addi r4, r1, 0x2e4 +/* 800F2318 000EF278 C0 26 05 00 */ lfs f1, 0x500(r6) +/* 800F231C 000EF27C 38 A1 01 14 */ addi r5, r1, 0x114 +/* 800F2320 000EF280 D0 21 01 14 */ stfs f1, 0x114(r1) +/* 800F2324 000EF284 C0 26 05 04 */ lfs f1, 0x504(r6) +/* 800F2328 000EF288 D0 21 01 18 */ stfs f1, 0x118(r1) +/* 800F232C 000EF28C C0 26 05 08 */ lfs f1, 0x508(r6) +/* 800F2330 000EF290 D0 21 01 1C */ stfs f1, 0x11c(r1) +/* 800F2334 000EF294 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800F2338 000EF298 48 22 06 ED */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800F233C 000EF29C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800F2340 000EF2A0 38 81 00 DC */ addi r4, r1, 0xdc +/* 800F2344 000EF2A4 48 22 1A 8D */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800F2348 000EF2A8 7C 64 1B 78 */ mr r4, r3 +/* 800F234C 000EF2AC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 800F2350 000EF2B0 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800F2354 000EF2B4 48 21 EF A1 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 800F2358 000EF2B8 C0 61 00 F4 */ lfs f3, 0xf4(r1) +/* 800F235C 000EF2BC 38 61 02 24 */ addi r3, r1, 0x224 +/* 800F2360 000EF2C0 C0 41 00 F8 */ lfs f2, 0xf8(r1) +/* 800F2364 000EF2C4 38 81 01 04 */ addi r4, r1, 0x104 +/* 800F2368 000EF2C8 C0 21 00 FC */ lfs f1, 0xfc(r1) +/* 800F236C 000EF2CC C0 01 01 00 */ lfs f0, 0x100(r1) +/* 800F2370 000EF2D0 D0 61 01 04 */ stfs f3, 0x104(r1) +/* 800F2374 000EF2D4 D0 41 01 08 */ stfs f2, 0x108(r1) +/* 800F2378 000EF2D8 D0 21 01 0C */ stfs f1, 0x10c(r1) +/* 800F237C 000EF2DC D0 01 01 10 */ stfs f0, 0x110(r1) +/* 800F2380 000EF2E0 48 21 FC 39 */ bl BuildTransform4f__11CQuaternionCFv +/* 800F2384 000EF2E4 38 61 02 54 */ addi r3, r1, 0x254 +/* 800F2388 000EF2E8 38 81 02 E4 */ addi r4, r1, 0x2e4 +/* 800F238C 000EF2EC 38 A1 02 24 */ addi r5, r1, 0x224 +/* 800F2390 000EF2F0 48 22 05 C1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800F2394 000EF2F4 38 61 02 E4 */ addi r3, r1, 0x2e4 +/* 800F2398 000EF2F8 38 81 02 54 */ addi r4, r1, 0x254 +/* 800F239C 000EF2FC 48 22 07 A5 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_800F23A0: +/* 800F23A0 000EF300 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F23A4 000EF304 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F23A8 000EF308 C0 63 09 F4 */ lfs f3, 0x9f4(r3) +/* 800F23AC 000EF30C FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800F23B0 000EF310 7C 00 00 26 */ mfcr r0 +/* 800F23B4 000EF314 54 1A 17 FE */ rlwinm r26, r0, 2, 0x1f, 0x1f +/* 800F23B8 000EF318 40 81 00 B4 */ ble lbl_800F246C +/* 800F23BC 000EF31C C0 22 91 E8 */ lfs f1, lbl_805AAF08@sda21(r2) +/* 800F23C0 000EF320 38 81 00 50 */ addi r4, r1, 0x50 +/* 800F23C4 000EF324 C0 02 80 F0 */ lfs f0, lbl_805A9E10@sda21(r2) +/* 800F23C8 000EF328 38 6D 88 AC */ addi r3, r13, lbl_805A746C@sda21 +/* 800F23CC 000EF32C C0 42 91 5C */ lfs f2, lbl_805AAE7C@sda21(r2) +/* 800F23D0 000EF330 38 AD 88 B0 */ addi r5, r13, lbl_805A7470@sda21 +/* 800F23D4 000EF334 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F23D8 000EF338 EC 03 00 24 */ fdivs f0, f3, f0 +/* 800F23DC 000EF33C EC 02 00 28 */ fsubs f0, f2, f0 +/* 800F23E0 000EF340 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800F23E4 000EF344 4B F1 9E D1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F23E8 000EF348 C3 03 00 00 */ lfs f24, 0(r3) +/* 800F23EC 000EF34C 82 FD 00 58 */ lwz r23, 0x58(r29) +/* 800F23F0 000EF350 83 1D 00 5C */ lwz r24, 0x5c(r29) +/* 800F23F4 000EF354 48 25 7B B9 */ bl White__6CColorFv +/* 800F23F8 000EF358 C0 02 92 6C */ lfs f0, lbl_805AAF8C@sda21(r2) +/* 800F23FC 000EF35C EF E0 06 32 */ fmuls f31, f0, f24 +/* 800F2400 000EF360 F3 E1 A0 0B */ psq_st f31, 11(r1), 1, qr2 +/* 800F2404 000EF364 38 A0 00 03 */ li r5, 3 +/* 800F2408 000EF368 80 63 00 00 */ lwz r3, 0(r3) +/* 800F240C 000EF36C 39 20 00 07 */ li r9, 7 +/* 800F2410 000EF370 89 41 00 0B */ lbz r10, 0xb(r1) +/* 800F2414 000EF374 54 A0 00 3A */ rlwinm r0, r5, 0, 0, 0x1d +/* 800F2418 000EF378 50 6A 00 2E */ rlwimi r10, r3, 0, 0, 0x17 +/* 800F241C 000EF37C 39 00 00 00 */ li r8, 0 +/* 800F2420 000EF380 60 00 00 01 */ ori r0, r0, 1 +/* 800F2424 000EF384 B0 A1 00 86 */ sth r5, 0x86(r1) +/* 800F2428 000EF388 7E E3 BB 78 */ mr r3, r23 +/* 800F242C 000EF38C 7F C4 F3 78 */ mr r4, r30 +/* 800F2430 000EF390 99 21 00 84 */ stb r9, 0x84(r1) +/* 800F2434 000EF394 38 A1 02 E4 */ addi r5, r1, 0x2e4 +/* 800F2438 000EF398 38 E1 00 94 */ addi r7, r1, 0x94 +/* 800F243C 000EF39C 38 C0 00 00 */ li r6, 0 +/* 800F2440 000EF3A0 99 01 00 85 */ stb r8, 0x85(r1) +/* 800F2444 000EF3A4 91 41 00 88 */ stw r10, 0x88(r1) +/* 800F2448 000EF3A8 99 21 00 8C */ stb r9, 0x8c(r1) +/* 800F244C 000EF3AC 99 01 00 8D */ stb r8, 0x8d(r1) +/* 800F2450 000EF3B0 B0 01 00 8E */ sth r0, 0x8e(r1) +/* 800F2454 000EF3B4 91 41 00 90 */ stw r10, 0x90(r1) +/* 800F2458 000EF3B8 99 21 00 94 */ stb r9, 0x94(r1) +/* 800F245C 000EF3BC 9B 01 00 95 */ stb r24, 0x95(r1) +/* 800F2460 000EF3C0 B0 01 00 96 */ sth r0, 0x96(r1) +/* 800F2464 000EF3C4 91 41 00 98 */ stw r10, 0x98(r1) +/* 800F2468 000EF3C8 48 02 29 55 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_800F246C: +/* 800F246C 000EF3CC C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F2470 000EF3D0 38 80 00 00 */ li r4, 0 +/* 800F2474 000EF3D4 38 00 00 03 */ li r0, 3 +/* 800F2478 000EF3D8 98 81 00 7C */ stb r4, 0x7c(r1) +/* 800F247C 000EF3DC FC 40 08 90 */ fmr f2, f1 +/* 800F2480 000EF3E0 38 61 00 80 */ addi r3, r1, 0x80 +/* 800F2484 000EF3E4 FC 60 08 90 */ fmr f3, f1 +/* 800F2488 000EF3E8 98 81 00 7D */ stb r4, 0x7d(r1) +/* 800F248C 000EF3EC FC 80 08 90 */ fmr f4, f1 +/* 800F2490 000EF3F0 B0 01 00 7E */ sth r0, 0x7e(r1) +/* 800F2494 000EF3F4 48 27 0F 59 */ bl __ct__6CColorFffff +/* 800F2498 000EF3F8 C0 5D 1E 44 */ lfs f2, 0x1e44(r29) +/* 800F249C 000EF3FC C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F24A0 000EF400 88 A1 00 7C */ lbz r5, 0x7c(r1) +/* 800F24A4 000EF404 88 81 00 7D */ lbz r4, 0x7d(r1) +/* 800F24A8 000EF408 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800F24AC 000EF40C A0 61 00 7E */ lhz r3, 0x7e(r1) +/* 800F24B0 000EF410 80 01 00 80 */ lwz r0, 0x80(r1) +/* 800F24B4 000EF414 98 A1 00 AC */ stb r5, 0xac(r1) +/* 800F24B8 000EF418 98 81 00 AD */ stb r4, 0xad(r1) +/* 800F24BC 000EF41C B0 61 00 AE */ sth r3, 0xae(r1) +/* 800F24C0 000EF420 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 800F24C4 000EF424 40 81 00 3C */ ble lbl_800F2500 +/* 800F24C8 000EF428 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F24CC 000EF42C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800F24D0 000EF430 EC 41 10 28 */ fsubs f2, f1, f2 +/* 800F24D4 000EF434 FC 80 08 90 */ fmr f4, f1 +/* 800F24D8 000EF438 FC 60 10 90 */ fmr f3, f2 +/* 800F24DC 000EF43C 48 27 0F 11 */ bl __ct__6CColorFffff +/* 800F24E0 000EF440 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800F24E4 000EF444 38 A0 00 01 */ li r5, 1 +/* 800F24E8 000EF448 38 80 00 00 */ li r4, 0 +/* 800F24EC 000EF44C 38 60 00 03 */ li r3, 3 +/* 800F24F0 000EF450 98 A1 00 AC */ stb r5, 0xac(r1) +/* 800F24F4 000EF454 98 81 00 AD */ stb r4, 0xad(r1) +/* 800F24F8 000EF458 B0 61 00 AE */ sth r3, 0xae(r1) +/* 800F24FC 000EF45C 90 01 00 B0 */ stw r0, 0xb0(r1) +lbl_800F2500: +/* 800F2500 000EF460 80 7D 1C 1C */ lwz r3, 0x1c1c(r29) +/* 800F2504 000EF464 28 03 00 00 */ cmplwi r3, 0 +/* 800F2508 000EF468 41 82 00 1C */ beq lbl_800F2524 +/* 800F250C 000EF46C 88 03 00 48 */ lbz r0, 0x48(r3) +/* 800F2510 000EF470 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800F2514 000EF474 41 82 00 10 */ beq lbl_800F2524 +/* 800F2518 000EF478 3C 80 80 0F */ lis r4, PointGenerator__10CMorphBallFPvPC9CVector3fPC9CVector3fi@ha +/* 800F251C 000EF47C 38 84 E7 88 */ addi r4, r4, PointGenerator__10CMorphBallFPvPC9CVector3fPC9CVector3fi@l +/* 800F2520 000EF480 48 26 01 F5 */ bl SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v +lbl_800F2524: +/* 800F2524 000EF484 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F2528 000EF488 C0 1D 1C 34 */ lfs f0, 0x1c34(r29) +/* 800F252C 000EF48C 80 1D 00 5C */ lwz r0, 0x5c(r29) +/* 800F2530 000EF490 A0 61 00 AE */ lhz r3, 0xae(r1) +/* 800F2534 000EF494 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F2538 000EF498 80 81 00 B0 */ lwz r4, 0xb0(r1) +/* 800F253C 000EF49C 98 01 00 AD */ stb r0, 0xad(r1) +/* 800F2540 000EF4A0 B0 61 00 AE */ sth r3, 0xae(r1) +/* 800F2544 000EF4A4 90 81 00 B0 */ stw r4, 0xb0(r1) +/* 800F2548 000EF4A8 41 82 00 44 */ beq lbl_800F258C +/* 800F254C 000EF4AC 80 BF 02 9C */ lwz r5, 0x29c(r31) +/* 800F2550 000EF4B0 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) +/* 800F2554 000EF4B4 7C 05 00 40 */ cmplw r5, r0 +/* 800F2558 000EF4B8 41 82 00 10 */ beq lbl_800F2568 +/* 800F255C 000EF4BC 80 7D 1C 14 */ lwz r3, 0x1c14(r29) +/* 800F2560 000EF4C0 38 81 02 E4 */ addi r4, r1, 0x2e4 +/* 800F2564 000EF4C4 48 01 EA 55 */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif +lbl_800F2568: +/* 800F2568 000EF4C8 80 7D 00 58 */ lwz r3, 0x58(r29) +/* 800F256C 000EF4CC 7F C4 F3 78 */ mr r4, r30 +/* 800F2570 000EF4D0 7F E6 FB 78 */ mr r6, r31 +/* 800F2574 000EF4D4 38 A1 02 E4 */ addi r5, r1, 0x2e4 +/* 800F2578 000EF4D8 38 E1 00 AC */ addi r7, r1, 0xac +/* 800F257C 000EF4DC 48 02 28 41 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 800F2580 000EF4E0 80 7D 1C 14 */ lwz r3, 0x1c14(r29) +/* 800F2584 000EF4E4 48 01 EA 15 */ bl DisableModelProjectedShadow__12CWorldShadowCFv +/* 800F2588 000EF4E8 48 00 00 1C */ b lbl_800F25A4 +lbl_800F258C: +/* 800F258C 000EF4EC 80 7D 00 58 */ lwz r3, 0x58(r29) +/* 800F2590 000EF4F0 7F C4 F3 78 */ mr r4, r30 +/* 800F2594 000EF4F4 38 A1 02 E4 */ addi r5, r1, 0x2e4 +/* 800F2598 000EF4F8 38 E1 00 AC */ addi r7, r1, 0xac +/* 800F259C 000EF4FC 38 C0 00 00 */ li r6, 0 +/* 800F25A0 000EF500 48 02 28 1D */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_800F25A4: +/* 800F25A4 000EF504 80 7D 1C 1C */ lwz r3, 0x1c1c(r29) +/* 800F25A8 000EF508 28 03 00 00 */ cmplwi r3, 0 +/* 800F25AC 000EF50C 41 82 00 48 */ beq lbl_800F25F4 +/* 800F25B0 000EF510 88 03 00 48 */ lbz r0, 0x48(r3) +/* 800F25B4 000EF514 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800F25B8 000EF518 41 82 00 3C */ beq lbl_800F25F4 +/* 800F25BC 000EF51C 48 26 01 4D */ bl ClearPointGeneratorFunc__13CSkinnedModelFv +/* 800F25C0 000EF520 C0 41 02 F0 */ lfs f2, 0x2f0(r1) +/* 800F25C4 000EF524 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 800F25C8 000EF528 C0 21 03 00 */ lfs f1, 0x300(r1) +/* 800F25CC 000EF52C 38 81 00 D0 */ addi r4, r1, 0xd0 +/* 800F25D0 000EF530 C0 01 03 10 */ lfs f0, 0x310(r1) +/* 800F25D4 000EF534 D0 41 00 D0 */ stfs f2, 0xd0(r1) +/* 800F25D8 000EF538 82 FD 1C 1C */ lwz r23, 0x1c1c(r29) +/* 800F25DC 000EF53C D0 21 00 D4 */ stfs f1, 0xd4(r1) +/* 800F25E0 000EF540 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 800F25E4 000EF544 48 22 0B 5D */ bl Translate__12CTransform4fFRC9CVector3f +/* 800F25E8 000EF548 7E E3 BB 78 */ mr r3, r23 +/* 800F25EC 000EF54C 38 81 01 F4 */ addi r4, r1, 0x1f4 +/* 800F25F0 000EF550 48 17 7D D1 */ bl Draw__20CRainSplashGeneratorCFRC12CTransform4f +lbl_800F25F4: +/* 800F25F4 000EF554 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F25F8 000EF558 38 63 01 38 */ addi r3, r3, 0x138 +/* 800F25FC 000EF55C 48 22 22 BD */ bl Magnitude__9CVector3fCFv +/* 800F2600 000EF560 C0 5D 1E 44 */ lfs f2, 0x1e44(r29) +/* 800F2604 000EF564 FF E0 08 90 */ fmr f31, f1 +/* 800F2608 000EF568 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) +/* 800F260C 000EF56C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800F2610 000EF570 40 81 00 18 */ ble lbl_800F2628 +/* 800F2614 000EF574 7F A3 EB 78 */ mr r3, r29 +/* 800F2618 000EF578 7F C4 F3 78 */ mr r4, r30 +/* 800F261C 000EF57C 38 A1 02 E4 */ addi r5, r1, 0x2e4 +/* 800F2620 000EF580 4B FF F5 6D */ bl RenderDamageEffects__10CMorphBallCFRC13CStateManagerRC12CTransform4f +/* 800F2624 000EF584 48 00 01 88 */ b lbl_800F27AC +lbl_800F2628: +/* 800F2628 000EF588 C0 3D 1C 30 */ lfs f1, 0x1c30(r29) +/* 800F262C 000EF58C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F2630 000EF590 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F2634 000EF594 40 81 01 78 */ ble lbl_800F27AC +/* 800F2638 000EF598 28 1A 00 00 */ cmplwi r26, 0 +/* 800F263C 000EF59C 40 82 01 70 */ bne lbl_800F27AC +/* 800F2640 000EF5A0 C0 02 92 58 */ lfs f0, lbl_805AAF78@sda21(r2) +/* 800F2644 000EF5A4 38 6D 88 B4 */ addi r3, r13, lbl_805A7474@sda21 +/* 800F2648 000EF5A8 80 0D 88 B4 */ lwz r0, lbl_805A7474@sda21(r13) +/* 800F264C 000EF5AC EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800F2650 000EF5B0 FC 00 00 1E */ fctiwz f0, f0 +/* 800F2654 000EF5B4 D8 01 03 18 */ stfd f0, 0x318(r1) +/* 800F2658 000EF5B8 80 81 03 1C */ lwz r4, 0x31c(r1) +/* 800F265C 000EF5BC 7C 04 00 00 */ cmpw r4, r0 +/* 800F2660 000EF5C0 90 81 00 30 */ stw r4, 0x30(r1) +/* 800F2664 000EF5C4 40 80 00 08 */ bge lbl_800F266C +/* 800F2668 000EF5C8 38 61 00 30 */ addi r3, r1, 0x30 +lbl_800F266C: +/* 800F266C 000EF5CC 83 23 00 00 */ lwz r25, 0(r3) +/* 800F2670 000EF5D0 3B 41 00 68 */ addi r26, r1, 0x68 +/* 800F2674 000EF5D4 CB 02 92 10 */ lfd f24, lbl_805AAF30@sda21(r2) +/* 800F2678 000EF5D8 3B 00 00 00 */ li r24, 0 +/* 800F267C 000EF5DC C3 22 91 94 */ lfs f25, lbl_805AAEB4@sda21(r2) +/* 800F2680 000EF5E0 3F 80 43 30 */ lis r28, 0x4330 +/* 800F2684 000EF5E4 C3 42 91 E8 */ lfs f26, lbl_805AAF08@sda21(r2) +/* 800F2688 000EF5E8 C3 62 91 5C */ lfs f27, lbl_805AAE7C@sda21(r2) +/* 800F268C 000EF5EC 48 00 01 18 */ b lbl_800F27A4 +lbl_800F2690: +/* 800F2690 000EF5F0 6F 00 80 00 */ xoris r0, r24, 0x8000 +/* 800F2694 000EF5F4 93 81 03 18 */ stw r28, 0x318(r1) +/* 800F2698 000EF5F8 7F 05 C3 78 */ mr r5, r24 +/* 800F269C 000EF5FC 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800F26A0 000EF600 90 01 03 1C */ stw r0, 0x31c(r1) +/* 800F26A4 000EF604 38 9D 1C 90 */ addi r4, r29, 0x1c90 +/* 800F26A8 000EF608 C8 01 03 18 */ lfd f0, 0x318(r1) +/* 800F26AC 000EF60C EC 00 C0 28 */ fsubs f0, f0, f24 +/* 800F26B0 000EF610 EE E0 C8 24 */ fdivs f23, f0, f25 +/* 800F26B4 000EF614 48 00 07 89 */ bl "GetEntry__30TReservedAverage<9CVector3f,5>CFi" +/* 800F26B8 000EF618 7F 05 C3 78 */ mr r5, r24 +/* 800F26BC 000EF61C 38 61 01 20 */ addi r3, r1, 0x120 +/* 800F26C0 000EF620 38 9D 1C 3C */ addi r4, r29, 0x1c3c +/* 800F26C4 000EF624 48 00 07 25 */ bl "GetEntry__33TReservedAverage<11CQuaternion,5>CFi" +/* 800F26C8 000EF628 38 61 01 64 */ addi r3, r1, 0x164 +/* 800F26CC 000EF62C 38 81 01 20 */ addi r4, r1, 0x120 +/* 800F26D0 000EF630 48 21 F8 E9 */ bl BuildTransform4f__11CQuaternionCFv +/* 800F26D4 000EF634 38 61 01 94 */ addi r3, r1, 0x194 +/* 800F26D8 000EF638 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 800F26DC 000EF63C 48 22 0A 65 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800F26E0 000EF640 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 800F26E4 000EF644 38 81 01 94 */ addi r4, r1, 0x194 +/* 800F26E8 000EF648 38 A1 01 64 */ addi r5, r1, 0x164 +/* 800F26EC 000EF64C 48 22 02 65 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800F26F0 000EF650 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 800F26F4 000EF654 38 81 01 C4 */ addi r4, r1, 0x1c4 +/* 800F26F8 000EF658 48 22 04 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F26FC 000EF65C EC 3B B8 28 */ fsubs f1, f27, f23 +/* 800F2700 000EF660 38 80 00 00 */ li r4, 0 +/* 800F2704 000EF664 C0 1D 1C 30 */ lfs f0, 0x1c30(r29) +/* 800F2708 000EF668 80 1D 00 68 */ lwz r0, 0x68(r29) +/* 800F270C 000EF66C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F2710 000EF670 98 81 01 30 */ stb r4, 0x130(r1) +/* 800F2714 000EF674 28 00 00 00 */ cmplwi r0, 0 +/* 800F2718 000EF678 98 81 00 CC */ stb r4, 0xcc(r1) +/* 800F271C 000EF67C EC 9A 00 32 */ fmuls f4, f26, f0 +/* 800F2720 000EF680 41 82 00 80 */ beq lbl_800F27A0 +/* 800F2724 000EF684 38 60 00 07 */ li r3, 7 +/* 800F2728 000EF688 38 00 00 03 */ li r0, 3 +/* 800F272C 000EF68C 98 61 00 64 */ stb r3, 0x64(r1) +/* 800F2730 000EF690 FC 20 D8 90 */ fmr f1, f27 +/* 800F2734 000EF694 FC 40 D8 90 */ fmr f2, f27 +/* 800F2738 000EF698 82 FD 00 6C */ lwz r23, 0x6c(r29) +/* 800F273C 000EF69C FC 60 D8 90 */ fmr f3, f27 +/* 800F2740 000EF6A0 98 81 00 65 */ stb r4, 0x65(r1) +/* 800F2744 000EF6A4 7F 43 D3 78 */ mr r3, r26 +/* 800F2748 000EF6A8 B0 01 00 66 */ sth r0, 0x66(r1) +/* 800F274C 000EF6AC 48 27 0C A1 */ bl __ct__6CColorFffff +/* 800F2750 000EF6B0 A0 61 00 66 */ lhz r3, 0x66(r1) +/* 800F2754 000EF6B4 7F C4 F3 78 */ mr r4, r30 +/* 800F2758 000EF6B8 89 21 00 64 */ lbz r9, 0x64(r1) +/* 800F275C 000EF6BC 38 A1 02 B4 */ addi r5, r1, 0x2b4 +/* 800F2760 000EF6C0 80 01 00 68 */ lwz r0, 0x68(r1) +/* 800F2764 000EF6C4 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d +/* 800F2768 000EF6C8 60 68 00 01 */ ori r8, r3, 1 +/* 800F276C 000EF6CC 88 C1 00 65 */ lbz r6, 0x65(r1) +/* 800F2770 000EF6D0 99 21 00 6C */ stb r9, 0x6c(r1) +/* 800F2774 000EF6D4 38 E1 00 74 */ addi r7, r1, 0x74 +/* 800F2778 000EF6D8 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 800F277C 000EF6DC 98 C1 00 6D */ stb r6, 0x6d(r1) +/* 800F2780 000EF6E0 38 C0 00 00 */ li r6, 0 +/* 800F2784 000EF6E4 B1 01 00 6E */ sth r8, 0x6e(r1) +/* 800F2788 000EF6E8 90 01 00 70 */ stw r0, 0x70(r1) +/* 800F278C 000EF6EC 99 21 00 74 */ stb r9, 0x74(r1) +/* 800F2790 000EF6F0 9A E1 00 75 */ stb r23, 0x75(r1) +/* 800F2794 000EF6F4 B1 01 00 76 */ sth r8, 0x76(r1) +/* 800F2798 000EF6F8 90 01 00 78 */ stw r0, 0x78(r1) +/* 800F279C 000EF6FC 48 02 26 21 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_800F27A0: +/* 800F27A0 000EF700 3B 18 00 01 */ addi r24, r24, 1 +lbl_800F27A4: +/* 800F27A4 000EF704 7C 18 C8 00 */ cmpw r24, r25 +/* 800F27A8 000EF708 41 80 FE E8 */ blt lbl_800F2690 +lbl_800F27AC: +/* 800F27AC 000EF70C C0 3D 1C 20 */ lfs f1, 0x1c20(r29) +/* 800F27B0 000EF710 38 C0 00 FF */ li r6, 0xff +/* 800F27B4 000EF714 C0 1D 1C 24 */ lfs f0, 0x1c24(r29) +/* 800F27B8 000EF718 38 FB 02 14 */ addi r7, r27, 0x214 +/* 800F27BC 000EF71C 80 1D 00 08 */ lwz r0, 8(r29) +/* 800F27C0 000EF720 EE E1 00 24 */ fdivs f23, f1, f0 +/* 800F27C4 000EF724 C0 02 92 6C */ lfs f0, lbl_805AAF8C@sda21(r2) +/* 800F27C8 000EF728 1C A0 00 03 */ mulli r5, r0, 3 +/* 800F27CC 000EF72C 98 C1 00 2F */ stb r6, 0x2f(r1) +/* 800F27D0 000EF730 7C E7 2A 14 */ add r7, r7, r5 +/* 800F27D4 000EF734 88 87 00 00 */ lbz r4, 0(r7) +/* 800F27D8 000EF738 EF 80 05 F2 */ fmuls f28, f0, f23 +/* 800F27DC 000EF73C 88 67 00 01 */ lbz r3, 1(r7) +/* 800F27E0 000EF740 88 07 00 02 */ lbz r0, 2(r7) +/* 800F27E4 000EF744 98 81 00 2C */ stb r4, 0x2c(r1) +/* 800F27E8 000EF748 FF C0 E0 90 */ fmr f30, f28 +/* 800F27EC 000EF74C 98 61 00 2D */ stb r3, 0x2d(r1) +/* 800F27F0 000EF750 98 01 00 2E */ stb r0, 0x2e(r1) +/* 800F27F4 000EF754 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800F27F8 000EF758 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800F27FC 000EF75C F3 C1 A0 0A */ psq_st f30, 10(r1), 1, qr2 +/* 800F2800 000EF760 38 FB 02 30 */ addi r7, r27, 0x230 +/* 800F2804 000EF764 7C E7 2A 14 */ add r7, r7, r5 +/* 800F2808 000EF768 88 87 00 00 */ lbz r4, 0(r7) +/* 800F280C 000EF76C 88 67 00 01 */ lbz r3, 1(r7) +/* 800F2810 000EF770 88 07 00 02 */ lbz r0, 2(r7) +/* 800F2814 000EF774 88 A1 00 0A */ lbz r5, 0xa(r1) +/* 800F2818 000EF778 98 81 00 28 */ stb r4, 0x28(r1) +/* 800F281C 000EF77C 98 61 00 29 */ stb r3, 0x29(r1) +/* 800F2820 000EF780 98 01 00 2A */ stb r0, 0x2a(r1) +/* 800F2824 000EF784 98 C1 00 2B */ stb r6, 0x2b(r1) +/* 800F2828 000EF788 80 01 00 28 */ lwz r0, 0x28(r1) +/* 800F282C 000EF78C 98 A1 00 4F */ stb r5, 0x4f(r1) +/* 800F2830 000EF790 90 01 00 48 */ stw r0, 0x48(r1) +/* 800F2834 000EF794 F3 81 A0 09 */ psq_st f28, 9(r1), 1, qr2 +/* 800F2838 000EF798 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F283C 000EF79C C0 1D 1D F4 */ lfs f0, 0x1df4(r29) +/* 800F2840 000EF7A0 88 01 00 09 */ lbz r0, 9(r1) +/* 800F2844 000EF7A4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F2848 000EF7A8 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800F284C 000EF7AC 98 01 00 4B */ stb r0, 0x4b(r1) +/* 800F2850 000EF7B0 40 81 00 30 */ ble lbl_800F2880 +/* 800F2854 000EF7B4 C0 22 92 5C */ lfs f1, lbl_805AAF7C@sda21(r2) +/* 800F2858 000EF7B8 38 81 00 24 */ addi r4, r1, 0x24 +/* 800F285C 000EF7BC C0 02 91 9C */ lfs f0, lbl_805AAEBC@sda21(r2) +/* 800F2860 000EF7C0 38 6D 88 B8 */ addi r3, r13, lbl_805A7478@sda21 +/* 800F2864 000EF7C4 EC 3F 08 28 */ fsubs f1, f31, f1 +/* 800F2868 000EF7C8 38 AD 88 BC */ addi r5, r13, lbl_805A747C@sda21 +/* 800F286C 000EF7CC EC 01 00 24 */ fdivs f0, f1, f0 +/* 800F2870 000EF7D0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800F2874 000EF7D4 4B F1 9A 41 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F2878 000EF7D8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F287C 000EF7DC D0 01 00 44 */ stfs f0, 0x44(r1) +lbl_800F2880: +/* 800F2880 000EF7E0 C0 21 00 44 */ lfs f1, 0x44(r1) +/* 800F2884 000EF7E4 38 61 00 20 */ addi r3, r1, 0x20 +/* 800F2888 000EF7E8 38 81 00 4C */ addi r4, r1, 0x4c +/* 800F288C 000EF7EC 38 A1 00 48 */ addi r5, r1, 0x48 +/* 800F2890 000EF7F0 48 27 0A 1D */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800F2894 000EF7F4 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800F2898 000EF7F8 38 81 00 40 */ addi r4, r1, 0x40 +/* 800F289C 000EF7FC 80 7D 19 B8 */ lwz r3, 0x19b8(r29) +/* 800F28A0 000EF800 90 01 00 40 */ stw r0, 0x40(r1) +/* 800F28A4 000EF804 81 83 00 00 */ lwz r12, 0(r3) +/* 800F28A8 000EF808 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F28AC 000EF80C 7D 89 03 A6 */ mtctr r12 +/* 800F28B0 000EF810 4E 80 04 21 */ bctrl +/* 800F28B4 000EF814 80 7D 19 B8 */ lwz r3, 0x19b8(r29) +/* 800F28B8 000EF818 81 83 00 00 */ lwz r12, 0(r3) +/* 800F28BC 000EF81C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F28C0 000EF820 7D 89 03 A6 */ mtctr r12 +/* 800F28C4 000EF824 4E 80 04 21 */ bctrl +/* 800F28C8 000EF828 80 7D 19 BC */ lwz r3, 0x19bc(r29) +/* 800F28CC 000EF82C 38 81 00 40 */ addi r4, r1, 0x40 +/* 800F28D0 000EF830 81 83 00 00 */ lwz r12, 0(r3) +/* 800F28D4 000EF834 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F28D8 000EF838 7D 89 03 A6 */ mtctr r12 +/* 800F28DC 000EF83C 4E 80 04 21 */ bctrl +/* 800F28E0 000EF840 80 7D 19 BC */ lwz r3, 0x19bc(r29) +/* 800F28E4 000EF844 81 83 00 00 */ lwz r12, 0(r3) +/* 800F28E8 000EF848 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F28EC 000EF84C 7D 89 03 A6 */ mtctr r12 +/* 800F28F0 000EF850 4E 80 04 21 */ bctrl +/* 800F28F4 000EF854 80 7D 19 C0 */ lwz r3, 0x19c0(r29) +/* 800F28F8 000EF858 38 81 00 40 */ addi r4, r1, 0x40 +/* 800F28FC 000EF85C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2900 000EF860 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F2904 000EF864 7D 89 03 A6 */ mtctr r12 +/* 800F2908 000EF868 4E 80 04 21 */ bctrl +/* 800F290C 000EF86C 80 7D 19 C0 */ lwz r3, 0x19c0(r29) +/* 800F2910 000EF870 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2914 000EF874 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2918 000EF878 7D 89 03 A6 */ mtctr r12 +/* 800F291C 000EF87C 4E 80 04 21 */ bctrl +/* 800F2920 000EF880 80 7D 19 C4 */ lwz r3, 0x19c4(r29) +/* 800F2924 000EF884 38 81 00 40 */ addi r4, r1, 0x40 +/* 800F2928 000EF888 81 83 00 00 */ lwz r12, 0(r3) +/* 800F292C 000EF88C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F2930 000EF890 7D 89 03 A6 */ mtctr r12 +/* 800F2934 000EF894 4E 80 04 21 */ bctrl +/* 800F2938 000EF898 80 7D 19 C4 */ lwz r3, 0x19c4(r29) +/* 800F293C 000EF89C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2940 000EF8A0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2944 000EF8A4 7D 89 03 A6 */ mtctr r12 +/* 800F2948 000EF8A8 4E 80 04 21 */ bctrl +/* 800F294C 000EF8AC C0 3D 1D F4 */ lfs f1, 0x1df4(r29) +/* 800F2950 000EF8B0 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F2954 000EF8B4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F2958 000EF8B8 40 81 00 B8 */ ble lbl_800F2A10 +/* 800F295C 000EF8BC C0 22 92 70 */ lfs f1, lbl_805AAF90@sda21(r2) +/* 800F2960 000EF8C0 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 800F2964 000EF8C4 40 81 00 AC */ ble lbl_800F2A10 +/* 800F2968 000EF8C8 C8 02 92 78 */ lfd f0, lbl_805AAF98@sda21(r2) +/* 800F296C 000EF8CC FC 17 00 40 */ fcmpo cr0, f23, f0 +/* 800F2970 000EF8D0 40 81 00 A0 */ ble lbl_800F2A10 +/* 800F2974 000EF8D4 EC 3F 08 28 */ fsubs f1, f31, f1 +/* 800F2978 000EF8D8 C0 02 92 80 */ lfs f0, lbl_805AAFA0@sda21(r2) +/* 800F297C 000EF8DC 38 81 00 1C */ addi r4, r1, 0x1c +/* 800F2980 000EF8E0 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800F2984 000EF8E4 38 6D 88 C0 */ addi r3, r13, lbl_805A7480@sda21 +/* 800F2988 000EF8E8 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800F298C 000EF8EC D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800F2990 000EF8F0 4B F1 99 25 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F2994 000EF8F4 80 9D 00 08 */ lwz r4, 8(r29) +/* 800F2998 000EF8F8 38 00 00 FF */ li r0, 0xff +/* 800F299C 000EF8FC 38 BB 02 4C */ addi r5, r27, 0x24c +/* 800F29A0 000EF900 C0 23 00 00 */ lfs f1, 0(r3) +/* 800F29A4 000EF904 1C 64 00 03 */ mulli r3, r4, 3 +/* 800F29A8 000EF908 C0 02 92 6C */ lfs f0, lbl_805AAF8C@sda21(r2) +/* 800F29AC 000EF90C 98 01 00 1B */ stb r0, 0x1b(r1) +/* 800F29B0 000EF910 EF A0 00 72 */ fmuls f29, f0, f1 +/* 800F29B4 000EF914 7C A5 1A 14 */ add r5, r5, r3 +/* 800F29B8 000EF918 88 85 00 00 */ lbz r4, 0(r5) +/* 800F29BC 000EF91C 88 65 00 01 */ lbz r3, 1(r5) +/* 800F29C0 000EF920 88 05 00 02 */ lbz r0, 2(r5) +/* 800F29C4 000EF924 98 81 00 18 */ stb r4, 0x18(r1) +/* 800F29C8 000EF928 98 61 00 19 */ stb r3, 0x19(r1) +/* 800F29CC 000EF92C 98 01 00 1A */ stb r0, 0x1a(r1) +/* 800F29D0 000EF930 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800F29D4 000EF934 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800F29D8 000EF938 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 +/* 800F29DC 000EF93C 38 81 00 3C */ addi r4, r1, 0x3c +/* 800F29E0 000EF940 80 7D 19 C8 */ lwz r3, 0x19c8(r29) +/* 800F29E4 000EF944 88 01 00 08 */ lbz r0, 8(r1) +/* 800F29E8 000EF948 98 01 00 3F */ stb r0, 0x3f(r1) +/* 800F29EC 000EF94C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F29F0 000EF950 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F29F4 000EF954 7D 89 03 A6 */ mtctr r12 +/* 800F29F8 000EF958 4E 80 04 21 */ bctrl +/* 800F29FC 000EF95C 80 7D 19 C8 */ lwz r3, 0x19c8(r29) +/* 800F2A00 000EF960 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2A04 000EF964 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2A08 000EF968 7D 89 03 A6 */ mtctr r12 +/* 800F2A0C 000EF96C 4E 80 04 21 */ bctrl +lbl_800F2A10: +/* 800F2A10 000EF970 7F A3 EB 78 */ mr r3, r29 +/* 800F2A14 000EF974 4B FF C6 C1 */ bl RenderSpiderBallElectricalEffects__10CMorphBallCFv +/* 800F2A18 000EF978 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 800F2A1C 000EF97C 38 80 00 13 */ li r4, 0x13 +/* 800F2A20 000EF980 80 63 00 00 */ lwz r3, 0(r3) +/* 800F2A24 000EF984 4B F9 F0 9D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800F2A28 000EF988 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F2A2C 000EF98C 41 82 00 E0 */ beq lbl_800F2B0C +/* 800F2A30 000EF990 80 1D 00 60 */ lwz r0, 0x60(r29) +/* 800F2A34 000EF994 28 00 00 00 */ cmplwi r0, 0 +/* 800F2A38 000EF998 41 82 00 D4 */ beq lbl_800F2B0C +/* 800F2A3C 000EF99C C0 3D 1C 38 */ lfs f1, 0x1c38(r29) +/* 800F2A40 000EF9A0 C0 1D 1C 34 */ lfs f0, 0x1c34(r29) +/* 800F2A44 000EF9A4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F2A48 000EF9A8 40 80 00 0C */ bge lbl_800F2A54 +/* 800F2A4C 000EF9AC 38 BD 1C 34 */ addi r5, r29, 0x1c34 +/* 800F2A50 000EF9B0 48 00 00 08 */ b lbl_800F2A58 +lbl_800F2A54: +/* 800F2A54 000EF9B4 38 BD 1C 38 */ addi r5, r29, 0x1c38 +lbl_800F2A58: +/* 800F2A58 000EF9B8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F2A5C 000EF9BC 38 80 00 00 */ li r4, 0 +/* 800F2A60 000EF9C0 38 00 00 03 */ li r0, 3 +/* 800F2A64 000EF9C4 98 81 00 5C */ stb r4, 0x5c(r1) +/* 800F2A68 000EF9C8 FC 40 08 90 */ fmr f2, f1 +/* 800F2A6C 000EF9CC C2 E5 00 00 */ lfs f23, 0(r5) +/* 800F2A70 000EF9D0 FC 60 08 90 */ fmr f3, f1 +/* 800F2A74 000EF9D4 98 81 00 5D */ stb r4, 0x5d(r1) +/* 800F2A78 000EF9D8 FC 80 08 90 */ fmr f4, f1 +/* 800F2A7C 000EF9DC 82 FD 00 64 */ lwz r23, 0x64(r29) +/* 800F2A80 000EF9E0 B0 01 00 5E */ sth r0, 0x5e(r1) +/* 800F2A84 000EF9E4 38 61 00 60 */ addi r3, r1, 0x60 +/* 800F2A88 000EF9E8 48 27 09 65 */ bl __ct__6CColorFffff +/* 800F2A8C 000EF9EC C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F2A90 000EF9F0 88 81 00 5C */ lbz r4, 0x5c(r1) +/* 800F2A94 000EF9F4 A0 61 00 5E */ lhz r3, 0x5e(r1) +/* 800F2A98 000EF9F8 FC 01 B8 00 */ fcmpu cr0, f1, f23 +/* 800F2A9C 000EF9FC 80 01 00 60 */ lwz r0, 0x60(r1) +/* 800F2AA0 000EFA00 98 81 00 A4 */ stb r4, 0xa4(r1) +/* 800F2AA4 000EFA04 9A E1 00 A5 */ stb r23, 0xa5(r1) +/* 800F2AA8 000EFA08 B0 61 00 A6 */ sth r3, 0xa6(r1) +/* 800F2AAC 000EFA0C 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 800F2AB0 000EFA10 41 82 00 44 */ beq lbl_800F2AF4 +/* 800F2AB4 000EFA14 80 BF 02 9C */ lwz r5, 0x29c(r31) +/* 800F2AB8 000EFA18 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) +/* 800F2ABC 000EFA1C 7C 05 00 40 */ cmplw r5, r0 +/* 800F2AC0 000EFA20 41 82 00 10 */ beq lbl_800F2AD0 +/* 800F2AC4 000EFA24 80 7D 1C 14 */ lwz r3, 0x1c14(r29) +/* 800F2AC8 000EFA28 38 81 02 E4 */ addi r4, r1, 0x2e4 +/* 800F2ACC 000EFA2C 48 01 E4 ED */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif +lbl_800F2AD0: +/* 800F2AD0 000EFA30 80 7D 00 60 */ lwz r3, 0x60(r29) +/* 800F2AD4 000EFA34 7F C4 F3 78 */ mr r4, r30 +/* 800F2AD8 000EFA38 80 DD 1C 18 */ lwz r6, 0x1c18(r29) +/* 800F2ADC 000EFA3C 38 A1 02 E4 */ addi r5, r1, 0x2e4 +/* 800F2AE0 000EFA40 38 E1 00 A4 */ addi r7, r1, 0xa4 +/* 800F2AE4 000EFA44 48 02 22 D9 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 800F2AE8 000EFA48 80 7D 1C 14 */ lwz r3, 0x1c14(r29) +/* 800F2AEC 000EFA4C 48 01 E4 AD */ bl DisableModelProjectedShadow__12CWorldShadowCFv +/* 800F2AF0 000EFA50 48 00 00 1C */ b lbl_800F2B0C +lbl_800F2AF4: +/* 800F2AF4 000EFA54 80 7D 00 60 */ lwz r3, 0x60(r29) +/* 800F2AF8 000EFA58 7F C4 F3 78 */ mr r4, r30 +/* 800F2AFC 000EFA5C 38 A1 02 E4 */ addi r5, r1, 0x2e4 +/* 800F2B00 000EFA60 38 E1 00 A4 */ addi r7, r1, 0xa4 +/* 800F2B04 000EFA64 38 C0 00 00 */ li r6, 0 +/* 800F2B08 000EFA68 48 02 22 B5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_800F2B0C: +/* 800F2B0C 000EFA6C 80 7D 19 CC */ lwz r3, 0x19cc(r29) +/* 800F2B10 000EFA70 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2B14 000EFA74 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2B18 000EFA78 7D 89 03 A6 */ mtctr r12 +/* 800F2B1C 000EFA7C 4E 80 04 21 */ bctrl +/* 800F2B20 000EFA80 3A FD 1B CC */ addi r23, r29, 0x1bcc +/* 800F2B24 000EFA84 80 7D 1C 08 */ lwz r3, 0x1c08(r29) +/* 800F2B28 000EFA88 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2B2C 000EFA8C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2B30 000EFA90 7D 89 03 A6 */ mtctr r12 +/* 800F2B34 000EFA94 4E 80 04 21 */ bctrl +/* 800F2B38 000EFA98 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) +/* 800F2B3C 000EFA9C 2C 00 FF FF */ cmpwi r0, -1 +/* 800F2B40 000EFAA0 41 82 00 20 */ beq lbl_800F2B60 +/* 800F2B44 000EFAA4 54 03 18 38 */ slwi r3, r0, 3 +/* 800F2B48 000EFAA8 38 03 00 04 */ addi r0, r3, 4 +/* 800F2B4C 000EFAAC 7C 77 00 2E */ lwzx r3, r23, r0 +/* 800F2B50 000EFAB0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2B54 000EFAB4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2B58 000EFAB8 7D 89 03 A6 */ mtctr r12 +/* 800F2B5C 000EFABC 4E 80 04 21 */ bctrl +lbl_800F2B60: +/* 800F2B60 000EFAC0 80 7D 00 08 */ lwz r3, 8(r29) +/* 800F2B64 000EFAC4 38 00 00 FF */ li r0, 0xff +/* 800F2B68 000EFAC8 38 BB 01 C0 */ addi r5, r27, 0x1c0 +/* 800F2B6C 000EFACC 98 01 00 17 */ stb r0, 0x17(r1) +/* 800F2B70 000EFAD0 1C 03 00 03 */ mulli r0, r3, 3 +/* 800F2B74 000EFAD4 80 7D 19 D0 */ lwz r3, 0x19d0(r29) +/* 800F2B78 000EFAD8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800F2B7C 000EFADC 7C A5 02 14 */ add r5, r5, r0 +/* 800F2B80 000EFAE0 88 E5 00 02 */ lbz r7, 2(r5) +/* 800F2B84 000EFAE4 88 C5 00 01 */ lbz r6, 1(r5) +/* 800F2B88 000EFAE8 88 05 00 00 */ lbz r0, 0(r5) +/* 800F2B8C 000EFAEC 98 C1 00 15 */ stb r6, 0x15(r1) +/* 800F2B90 000EFAF0 98 01 00 14 */ stb r0, 0x14(r1) +/* 800F2B94 000EFAF4 98 E1 00 16 */ stb r7, 0x16(r1) +/* 800F2B98 000EFAF8 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2B9C 000EFAFC 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F2BA0 000EFB00 7D 89 03 A6 */ mtctr r12 +/* 800F2BA4 000EFB04 4E 80 04 21 */ bctrl +/* 800F2BA8 000EFB08 80 7D 19 D0 */ lwz r3, 0x19d0(r29) +/* 800F2BAC 000EFB0C 48 22 4A F1 */ bl GetNumActiveChildParticles__11CElementGenCFv +/* 800F2BB0 000EFB10 2C 03 00 00 */ cmpwi r3, 0 +/* 800F2BB4 000EFB14 40 81 00 B4 */ ble lbl_800F2C68 +/* 800F2BB8 000EFB18 80 7D 19 D0 */ lwz r3, 0x19d0(r29) +/* 800F2BBC 000EFB1C 38 80 00 00 */ li r4, 0 +/* 800F2BC0 000EFB20 48 22 4A CD */ bl GetActiveChildParticle__11CElementGenCFi +/* 800F2BC4 000EFB24 80 9D 00 08 */ lwz r4, 8(r29) +/* 800F2BC8 000EFB28 38 00 00 FF */ li r0, 0xff +/* 800F2BCC 000EFB2C 38 BB 01 DC */ addi r5, r27, 0x1dc +/* 800F2BD0 000EFB30 98 01 00 13 */ stb r0, 0x13(r1) +/* 800F2BD4 000EFB34 1C 04 00 03 */ mulli r0, r4, 3 +/* 800F2BD8 000EFB38 38 81 00 10 */ addi r4, r1, 0x10 +/* 800F2BDC 000EFB3C 7C A5 02 14 */ add r5, r5, r0 +/* 800F2BE0 000EFB40 88 E5 00 02 */ lbz r7, 2(r5) +/* 800F2BE4 000EFB44 88 C5 00 01 */ lbz r6, 1(r5) +/* 800F2BE8 000EFB48 88 05 00 00 */ lbz r0, 0(r5) +/* 800F2BEC 000EFB4C 98 C1 00 11 */ stb r6, 0x11(r1) +/* 800F2BF0 000EFB50 98 01 00 10 */ stb r0, 0x10(r1) +/* 800F2BF4 000EFB54 98 E1 00 12 */ stb r7, 0x12(r1) +/* 800F2BF8 000EFB58 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2BFC 000EFB5C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F2C00 000EFB60 7D 89 03 A6 */ mtctr r12 +/* 800F2C04 000EFB64 4E 80 04 21 */ bctrl +/* 800F2C08 000EFB68 80 7D 19 D0 */ lwz r3, 0x19d0(r29) +/* 800F2C0C 000EFB6C 48 22 4A 91 */ bl GetNumActiveChildParticles__11CElementGenCFv +/* 800F2C10 000EFB70 2C 03 00 01 */ cmpwi r3, 1 +/* 800F2C14 000EFB74 40 81 00 54 */ ble lbl_800F2C68 +/* 800F2C18 000EFB78 80 7D 19 D0 */ lwz r3, 0x19d0(r29) +/* 800F2C1C 000EFB7C 38 80 00 01 */ li r4, 1 +/* 800F2C20 000EFB80 48 22 4A 6D */ bl GetActiveChildParticle__11CElementGenCFi +/* 800F2C24 000EFB84 80 9D 00 08 */ lwz r4, 8(r29) +/* 800F2C28 000EFB88 38 00 00 FF */ li r0, 0xff +/* 800F2C2C 000EFB8C 38 BB 01 F8 */ addi r5, r27, 0x1f8 +/* 800F2C30 000EFB90 98 01 00 0F */ stb r0, 0xf(r1) +/* 800F2C34 000EFB94 1C 04 00 03 */ mulli r0, r4, 3 +/* 800F2C38 000EFB98 38 81 00 0C */ addi r4, r1, 0xc +/* 800F2C3C 000EFB9C 7C A5 02 14 */ add r5, r5, r0 +/* 800F2C40 000EFBA0 88 E5 00 02 */ lbz r7, 2(r5) +/* 800F2C44 000EFBA4 88 C5 00 01 */ lbz r6, 1(r5) +/* 800F2C48 000EFBA8 88 05 00 00 */ lbz r0, 0(r5) +/* 800F2C4C 000EFBAC 98 C1 00 0D */ stb r6, 0xd(r1) +/* 800F2C50 000EFBB0 98 01 00 0C */ stb r0, 0xc(r1) +/* 800F2C54 000EFBB4 98 E1 00 0E */ stb r7, 0xe(r1) +/* 800F2C58 000EFBB8 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2C5C 000EFBBC 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F2C60 000EFBC0 7D 89 03 A6 */ mtctr r12 +/* 800F2C64 000EFBC4 4E 80 04 21 */ bctrl +lbl_800F2C68: +/* 800F2C68 000EFBC8 80 7D 19 D0 */ lwz r3, 0x19d0(r29) +/* 800F2C6C 000EFBCC 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2C70 000EFBD0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2C74 000EFBD4 7D 89 03 A6 */ mtctr r12 +/* 800F2C78 000EFBD8 4E 80 04 21 */ bctrl +/* 800F2C7C 000EFBDC 80 7D 19 D4 */ lwz r3, 0x19d4(r29) +/* 800F2C80 000EFBE0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2C84 000EFBE4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2C88 000EFBE8 7D 89 03 A6 */ mtctr r12 +/* 800F2C8C 000EFBEC 4E 80 04 21 */ bctrl +/* 800F2C90 000EFBF0 7F A3 EB 78 */ mr r3, r29 +/* 800F2C94 000EFBF4 7F C4 F3 78 */ mr r4, r30 +/* 800F2C98 000EFBF8 4B FF C3 A5 */ bl RenderEnergyDrainEffects__10CMorphBallCFRC13CStateManager +/* 800F2C9C 000EFBFC 80 7D 19 D8 */ lwz r3, 0x19d8(r29) +/* 800F2CA0 000EFC00 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2CA4 000EFC04 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 800F2CA8 000EFC08 7D 89 03 A6 */ mtctr r12 +/* 800F2CAC 000EFC0C 4E 80 04 21 */ bctrl +/* 800F2CB0 000EFC10 80 03 00 00 */ lwz r0, 0(r3) +/* 800F2CB4 000EFC14 28 00 00 00 */ cmplwi r0, 0 +/* 800F2CB8 000EFC18 41 82 00 18 */ beq lbl_800F2CD0 +/* 800F2CBC 000EFC1C 80 7D 19 D8 */ lwz r3, 0x19d8(r29) +/* 800F2CC0 000EFC20 81 83 00 00 */ lwz r12, 0(r3) +/* 800F2CC4 000EFC24 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F2CC8 000EFC28 7D 89 03 A6 */ mtctr r12 +/* 800F2CCC 000EFC2C 4E 80 04 21 */ bctrl +lbl_800F2CD0: +/* 800F2CD0 000EFC30 7F A3 EB 78 */ mr r3, r29 +/* 800F2CD4 000EFC34 7F C4 F3 78 */ mr r4, r30 +/* 800F2CD8 000EFC38 4B FF F2 E9 */ bl RenderMorphBallTransitionFlash__10CMorphBallCFRC13CStateManager +/* 800F2CDC 000EFC3C 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F2CE0 000EFC40 4B F2 30 1D */ bl GetFrozenState__7CPlayerCFv +/* 800F2CE4 000EFC44 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F2CE8 000EFC48 41 82 00 98 */ beq lbl_800F2D80 +/* 800F2CEC 000EFC4C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F2CF0 000EFC50 38 80 00 00 */ li r4, 0 +/* 800F2CF4 000EFC54 38 00 00 03 */ li r0, 3 +/* 800F2CF8 000EFC58 98 81 00 54 */ stb r4, 0x54(r1) +/* 800F2CFC 000EFC5C FC 40 08 90 */ fmr f2, f1 +/* 800F2D00 000EFC60 38 61 00 58 */ addi r3, r1, 0x58 +/* 800F2D04 000EFC64 FC 60 08 90 */ fmr f3, f1 +/* 800F2D08 000EFC68 98 81 00 55 */ stb r4, 0x55(r1) +/* 800F2D0C 000EFC6C FC 80 08 90 */ fmr f4, f1 +/* 800F2D10 000EFC70 B0 01 00 56 */ sth r0, 0x56(r1) +/* 800F2D14 000EFC74 48 27 06 D9 */ bl __ct__6CColorFffff +/* 800F2D18 000EFC78 89 01 00 54 */ lbz r8, 0x54(r1) +/* 800F2D1C 000EFC7C 3C 60 80 5A */ lis r3, lbl_805A65FC@ha +/* 800F2D20 000EFC80 88 E1 00 55 */ lbz r7, 0x55(r1) +/* 800F2D24 000EFC84 38 83 65 FC */ addi r4, r3, lbl_805A65FC@l +/* 800F2D28 000EFC88 A0 C1 00 56 */ lhz r6, 0x56(r1) +/* 800F2D2C 000EFC8C 38 61 01 34 */ addi r3, r1, 0x134 +/* 800F2D30 000EFC90 80 01 00 58 */ lwz r0, 0x58(r1) +/* 800F2D34 000EFC94 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 800F2D38 000EFC98 C0 41 02 F0 */ lfs f2, 0x2f0(r1) +/* 800F2D3C 000EFC9C C0 21 03 00 */ lfs f1, 0x300(r1) +/* 800F2D40 000EFCA0 C0 01 03 10 */ lfs f0, 0x310(r1) +/* 800F2D44 000EFCA4 99 01 00 9C */ stb r8, 0x9c(r1) +/* 800F2D48 000EFCA8 82 FD 00 70 */ lwz r23, 0x70(r29) +/* 800F2D4C 000EFCAC 98 E1 00 9D */ stb r7, 0x9d(r1) +/* 800F2D50 000EFCB0 B0 C1 00 9E */ sth r6, 0x9e(r1) +/* 800F2D54 000EFCB4 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 800F2D58 000EFCB8 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 800F2D5C 000EFCBC D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 800F2D60 000EFCC0 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 800F2D64 000EFCC4 48 22 05 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800F2D68 000EFCC8 7C 65 1B 78 */ mr r5, r3 +/* 800F2D6C 000EFCCC 7E E3 BB 78 */ mr r3, r23 +/* 800F2D70 000EFCD0 7F C4 F3 78 */ mr r4, r30 +/* 800F2D74 000EFCD4 7F E6 FB 78 */ mr r6, r31 +/* 800F2D78 000EFCD8 38 E1 00 9C */ addi r7, r1, 0x9c +/* 800F2D7C 000EFCDC 48 02 20 41 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_800F2D80: +/* 800F2D80 000EFCE0 7F A3 EB 78 */ mr r3, r29 +/* 800F2D84 000EFCE4 7F C4 F3 78 */ mr r4, r30 +/* 800F2D88 000EFCE8 4B FF EF C5 */ bl RenderIceBreakEffect__10CMorphBallCFRC13CStateManager +/* 800F2D8C 000EFCEC E3 E1 03 D8 */ psq_l f31, 984(r1), 0, qr0 +/* 800F2D90 000EFCF0 CB E1 03 D0 */ lfd f31, 0x3d0(r1) +/* 800F2D94 000EFCF4 E3 C1 03 C8 */ psq_l f30, 968(r1), 0, qr0 +/* 800F2D98 000EFCF8 CB C1 03 C0 */ lfd f30, 0x3c0(r1) +/* 800F2D9C 000EFCFC E3 A1 03 B8 */ psq_l f29, 952(r1), 0, qr0 +/* 800F2DA0 000EFD00 CB A1 03 B0 */ lfd f29, 0x3b0(r1) +/* 800F2DA4 000EFD04 E3 81 03 A8 */ psq_l f28, 936(r1), 0, qr0 +/* 800F2DA8 000EFD08 CB 81 03 A0 */ lfd f28, 0x3a0(r1) +/* 800F2DAC 000EFD0C E3 61 03 98 */ psq_l f27, 920(r1), 0, qr0 +/* 800F2DB0 000EFD10 CB 61 03 90 */ lfd f27, 0x390(r1) +/* 800F2DB4 000EFD14 E3 41 03 88 */ psq_l f26, 904(r1), 0, qr0 +/* 800F2DB8 000EFD18 CB 41 03 80 */ lfd f26, 0x380(r1) +/* 800F2DBC 000EFD1C E3 21 03 78 */ psq_l f25, 888(r1), 0, qr0 +/* 800F2DC0 000EFD20 CB 21 03 70 */ lfd f25, 0x370(r1) +/* 800F2DC4 000EFD24 E3 01 03 68 */ psq_l f24, 872(r1), 0, qr0 +/* 800F2DC8 000EFD28 CB 01 03 60 */ lfd f24, 0x360(r1) +/* 800F2DCC 000EFD2C E2 E1 03 58 */ psq_l f23, 856(r1), 0, qr0 +/* 800F2DD0 000EFD30 CA E1 03 50 */ lfd f23, 0x350(r1) +/* 800F2DD4 000EFD34 BA E1 03 2C */ lmw r23, 0x32c(r1) +/* 800F2DD8 000EFD38 80 01 03 E4 */ lwz r0, 0x3e4(r1) +/* 800F2DDC 000EFD3C 7C 08 03 A6 */ mtlr r0 +/* 800F2DE0 000EFD40 38 21 03 E0 */ addi r1, r1, 0x3e0 +/* 800F2DE4 000EFD44 4E 80 00 20 */ blr + +.global "GetEntry__33TReservedAverage<11CQuaternion,5>CFi" +"GetEntry__33TReservedAverage<11CQuaternion,5>CFi": +/* 800F2DE8 000EFD48 80 04 00 00 */ lwz r0, 0(r4) +/* 800F2DEC 000EFD4C 7C 05 00 00 */ cmpw r5, r0 +/* 800F2DF0 000EFD50 41 80 00 10 */ blt lbl_800F2E00 +/* 800F2DF4 000EFD54 38 00 00 00 */ li r0, 0 +/* 800F2DF8 000EFD58 98 03 00 10 */ stb r0, 0x10(r3) +/* 800F2DFC 000EFD5C 4E 80 00 20 */ blr +lbl_800F2E00: +/* 800F2E00 000EFD60 38 00 00 01 */ li r0, 1 +/* 800F2E04 000EFD64 28 03 00 00 */ cmplwi r3, 0 +/* 800F2E08 000EFD68 54 A5 20 36 */ slwi r5, r5, 4 +/* 800F2E0C 000EFD6C 98 03 00 10 */ stb r0, 0x10(r3) +/* 800F2E10 000EFD70 7C 84 2A 14 */ add r4, r4, r5 +/* 800F2E14 000EFD74 4D 82 00 20 */ beqlr +/* 800F2E18 000EFD78 C0 04 00 04 */ lfs f0, 4(r4) +/* 800F2E1C 000EFD7C D0 03 00 00 */ stfs f0, 0(r3) +/* 800F2E20 000EFD80 C0 04 00 08 */ lfs f0, 8(r4) +/* 800F2E24 000EFD84 D0 03 00 04 */ stfs f0, 4(r3) +/* 800F2E28 000EFD88 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 800F2E2C 000EFD8C D0 03 00 08 */ stfs f0, 8(r3) +/* 800F2E30 000EFD90 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 800F2E34 000EFD94 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800F2E38 000EFD98 4E 80 00 20 */ blr + +.global "GetEntry__30TReservedAverage<9CVector3f,5>CFi" +"GetEntry__30TReservedAverage<9CVector3f,5>CFi": +/* 800F2E3C 000EFD9C 80 04 00 00 */ lwz r0, 0(r4) +/* 800F2E40 000EFDA0 7C 05 00 00 */ cmpw r5, r0 +/* 800F2E44 000EFDA4 41 80 00 10 */ blt lbl_800F2E54 +/* 800F2E48 000EFDA8 38 00 00 00 */ li r0, 0 +/* 800F2E4C 000EFDAC 98 03 00 0C */ stb r0, 0xc(r3) +/* 800F2E50 000EFDB0 4E 80 00 20 */ blr +lbl_800F2E54: +/* 800F2E54 000EFDB4 1C A5 00 0C */ mulli r5, r5, 0xc +/* 800F2E58 000EFDB8 38 00 00 01 */ li r0, 1 +/* 800F2E5C 000EFDBC 28 03 00 00 */ cmplwi r3, 0 +/* 800F2E60 000EFDC0 98 03 00 0C */ stb r0, 0xc(r3) +/* 800F2E64 000EFDC4 7C 84 2A 14 */ add r4, r4, r5 +/* 800F2E68 000EFDC8 4D 82 00 20 */ beqlr +/* 800F2E6C 000EFDCC C0 04 00 04 */ lfs f0, 4(r4) +/* 800F2E70 000EFDD0 D0 03 00 00 */ stfs f0, 0(r3) +/* 800F2E74 000EFDD4 C0 04 00 08 */ lfs f0, 8(r4) +/* 800F2E78 000EFDD8 D0 03 00 04 */ stfs f0, 4(r3) +/* 800F2E7C 000EFDDC C0 04 00 0C */ lfs f0, 0xc(r4) +/* 800F2E80 000EFDE0 D0 03 00 08 */ stfs f0, 8(r3) +/* 800F2E84 000EFDE4 4E 80 00 20 */ blr + +.global PreRender__10CMorphBallFR13CStateManagerRC14CFrustumPlanes +PreRender__10CMorphBallFR13CStateManagerRC14CFrustumPlanes: +/* 800F2E88 000EFDE8 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 800F2E8C 000EFDEC 7C 08 02 A6 */ mflr r0 +/* 800F2E90 000EFDF0 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F2E94 000EFDF4 90 01 01 54 */ stw r0, 0x154(r1) +/* 800F2E98 000EFDF8 BF 61 01 3C */ stmw r27, 0x13c(r1) +/* 800F2E9C 000EFDFC 7C 7C 1B 78 */ mr r28, r3 +/* 800F2EA0 000EFE00 7C 9D 23 78 */ mr r29, r4 +/* 800F2EA4 000EFE04 C0 03 1C 34 */ lfs f0, 0x1c34(r3) +/* 800F2EA8 000EFE08 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F2EAC 000EFE0C 41 82 03 6C */ beq lbl_800F3218 +/* 800F2EB0 000EFE10 C0 3C 1E 44 */ lfs f1, 0x1e44(r28) +/* 800F2EB4 000EFE14 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) +/* 800F2EB8 000EFE18 80 7C 00 00 */ lwz r3, 0(r28) +/* 800F2EBC 000EFE1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F2EC0 000EFE20 83 C3 00 90 */ lwz r30, 0x90(r3) +/* 800F2EC4 000EFE24 7C 60 00 26 */ mfcr r3 +/* 800F2EC8 000EFE28 88 1E 02 98 */ lbz r0, 0x298(r30) +/* 800F2ECC 000EFE2C 50 60 2E F6 */ rlwimi r0, r3, 5, 0x1b, 0x1b +/* 800F2ED0 000EFE30 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) +/* 800F2ED4 000EFE34 98 1E 02 98 */ stb r0, 0x298(r30) +/* 800F2ED8 000EFE38 3C A0 80 3E */ lis r5, lbl_803D97E4@ha +/* 800F2EDC 000EFE3C 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 800F2EE0 000EFE40 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F2EE4 000EFE44 D0 1E 02 D0 */ stfs f0, 0x2d0(r30) +/* 800F2EE8 000EFE48 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 800F2EEC 000EFE4C 38 E0 00 01 */ li r7, 1 +/* 800F2EF0 000EFE50 3B E3 66 A0 */ addi r31, r3, skZero3f@l +/* 800F2EF4 000EFE54 88 DE 02 98 */ lbz r6, 0x298(r30) +/* 800F2EF8 000EFE58 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 +/* 800F2EFC 000EFE5C 38 A5 97 E4 */ addi r5, r5, lbl_803D97E4@l +/* 800F2F00 000EFE60 7F 84 E3 78 */ mr r4, r28 +/* 800F2F04 000EFE64 98 DE 02 98 */ stb r6, 0x298(r30) +/* 800F2F08 000EFE68 38 61 01 08 */ addi r3, r1, 0x108 +/* 800F2F0C 000EFE6C 90 A1 00 B8 */ stw r5, 0xb8(r1) +/* 800F2F10 000EFE70 C0 5F 00 00 */ lfs f2, 0(r31) +/* 800F2F14 000EFE74 80 BC 00 40 */ lwz r5, 0x40(r28) +/* 800F2F18 000EFE78 80 DC 00 44 */ lwz r6, 0x44(r28) +/* 800F2F1C 000EFE7C C0 3F 00 04 */ lfs f1, 4(r31) +/* 800F2F20 000EFE80 90 C1 00 C4 */ stw r6, 0xc4(r1) +/* 800F2F24 000EFE84 C0 1F 00 08 */ lfs f0, 8(r31) +/* 800F2F28 000EFE88 90 A1 00 C0 */ stw r5, 0xc0(r1) +/* 800F2F2C 000EFE8C 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 800F2F30 000EFE90 C0 7C 00 48 */ lfs f3, 0x48(r28) +/* 800F2F34 000EFE94 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800F2F38 000EFE98 D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 800F2F3C 000EFE9C 80 C1 00 40 */ lwz r6, 0x40(r1) +/* 800F2F40 000EFEA0 C0 5C 00 4C */ lfs f2, 0x4c(r28) +/* 800F2F44 000EFEA4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800F2F48 000EFEA8 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 800F2F4C 000EFEAC 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 800F2F50 000EFEB0 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 800F2F54 000EFEB4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800F2F58 000EFEB8 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 800F2F5C 000EFEBC 80 01 00 48 */ lwz r0, 0x48(r1) +/* 800F2F60 000EFEC0 C0 3C 00 54 */ lfs f1, 0x54(r28) +/* 800F2F64 000EFEC4 FC 00 08 18 */ frsp f0, f1 +/* 800F2F68 000EFEC8 D0 21 00 D4 */ stfs f1, 0xd4(r1) +/* 800F2F6C 000EFECC D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800F2F70 000EFED0 90 C1 00 C8 */ stw r6, 0xc8(r1) +/* 800F2F74 000EFED4 90 A1 00 CC */ stw r5, 0xcc(r1) +/* 800F2F78 000EFED8 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 800F2F7C 000EFEDC D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 800F2F80 000EFEE0 48 00 37 75 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F2F84 000EFEE4 38 61 00 68 */ addi r3, r1, 0x68 +/* 800F2F88 000EFEE8 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800F2F8C 000EFEEC 38 A1 01 08 */ addi r5, r1, 0x108 +/* 800F2F90 000EFEF0 48 1E 14 A5 */ bl CalculateAABox__17CCollidableSphereCFRC12CTransform4f +/* 800F2F94 000EFEF4 C0 A1 00 68 */ lfs f5, 0x68(r1) +/* 800F2F98 000EFEF8 C0 81 00 6C */ lfs f4, 0x6c(r1) +/* 800F2F9C 000EFEFC C0 61 00 70 */ lfs f3, 0x70(r1) +/* 800F2FA0 000EFF00 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 800F2FA4 000EFF04 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800F2FA8 000EFF08 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 800F2FAC 000EFF0C D0 A1 00 A0 */ stfs f5, 0xa0(r1) +/* 800F2FB0 000EFF10 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800F2FB4 000EFF14 D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 800F2FB8 000EFF18 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 800F2FBC 000EFF1C D0 41 00 AC */ stfs f2, 0xac(r1) +/* 800F2FC0 000EFF20 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 800F2FC4 000EFF24 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 800F2FC8 000EFF28 80 7C 00 00 */ lwz r3, 0(r28) +/* 800F2FCC 000EFF2C 80 C3 00 04 */ lwz r6, 4(r3) +/* 800F2FD0 000EFF30 7C 06 00 00 */ cmpw r6, r0 +/* 800F2FD4 000EFF34 41 82 00 4C */ beq lbl_800F3020 +/* 800F2FD8 000EFF38 80 7D 08 50 */ lwz r3, 0x850(r29) +/* 800F2FDC 000EFF3C 54 C4 18 38 */ slwi r4, r6, 3 +/* 800F2FE0 000EFF40 90 C1 00 28 */ stw r6, 0x28(r1) +/* 800F2FE4 000EFF44 80 A3 00 20 */ lwz r5, 0x20(r3) +/* 800F2FE8 000EFF48 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 800F2FEC 000EFF4C 7C 65 22 14 */ add r3, r5, r4 +/* 800F2FF0 000EFF50 80 63 00 04 */ lwz r3, 4(r3) +/* 800F2FF4 000EFF54 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800F2FF8 000EFF58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800F2FFC 000EFF5C 41 82 00 24 */ beq lbl_800F3020 +/* 800F3000 000EFF60 38 04 00 04 */ addi r0, r4, 4 +/* 800F3004 000EFF64 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800F3008 000EFF68 7C A5 00 2E */ lwzx r5, r5, r0 +/* 800F300C 000EFF6C 7F C3 F3 78 */ mr r3, r30 +/* 800F3010 000EFF70 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800F3014 000EFF74 7F A4 EB 78 */ mr r4, r29 +/* 800F3018 000EFF78 38 C1 00 A0 */ addi r6, r1, 0xa0 +/* 800F301C 000EFF7C 48 01 0D A5 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox +lbl_800F3020: +/* 800F3020 000EFF80 7F C3 F3 78 */ mr r3, r30 +/* 800F3024 000EFF84 7F A4 EB 78 */ mr r4, r29 +/* 800F3028 000EFF88 38 A1 00 A0 */ addi r5, r1, 0xa0 +/* 800F302C 000EFF8C 48 01 06 E5 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox +/* 800F3030 000EFF90 81 1C 00 00 */ lwz r8, 0(r28) +/* 800F3034 000EFF94 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) +/* 800F3038 000EFF98 80 E8 00 90 */ lwz r7, 0x90(r8) +/* 800F303C 000EFF9C 80 67 02 9C */ lwz r3, 0x29c(r7) +/* 800F3040 000EFFA0 7C 03 00 40 */ cmplw r3, r0 +/* 800F3044 000EFFA4 41 82 00 F8 */ beq lbl_800F313C +/* 800F3048 000EFFA8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 800F304C 000EFFAC C0 3F 00 04 */ lfs f1, 4(r31) +/* 800F3050 000EFFB0 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 800F3054 000EFFB4 C0 1F 00 08 */ lfs f0, 8(r31) +/* 800F3058 000EFFB8 90 01 00 80 */ stw r0, 0x80(r1) +/* 800F305C 000EFFBC 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 800F3060 000EFFC0 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 800F3064 000EFFC4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F3068 000EFFC8 80 BC 00 40 */ lwz r5, 0x40(r28) +/* 800F306C 000EFFCC 7F 84 E3 78 */ mr r4, r28 +/* 800F3070 000EFFD0 80 DC 00 44 */ lwz r6, 0x44(r28) +/* 800F3074 000EFFD4 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) +/* 800F3078 000EFFD8 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800F307C 000EFFDC 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 800F3080 000EFFE0 90 A1 00 88 */ stw r5, 0x88(r1) +/* 800F3084 000EFFE4 90 01 00 80 */ stw r0, 0x80(r1) +/* 800F3088 000EFFE8 C0 7C 00 48 */ lfs f3, 0x48(r28) +/* 800F308C 000EFFEC D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800F3090 000EFFF0 D0 61 00 90 */ stfs f3, 0x90(r1) +/* 800F3094 000EFFF4 80 C1 00 30 */ lwz r6, 0x30(r1) +/* 800F3098 000EFFF8 C0 5C 00 4C */ lfs f2, 0x4c(r28) +/* 800F309C 000EFFFC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800F30A0 000F0000 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 800F30A4 000F0004 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800F30A8 000F0008 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 800F30AC 000F000C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800F30B0 000F0010 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 800F30B4 000F0014 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800F30B8 000F0018 C0 3C 00 54 */ lfs f1, 0x54(r28) +/* 800F30BC 000F001C FC 00 08 18 */ frsp f0, f1 +/* 800F30C0 000F0020 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 800F30C4 000F0024 90 C1 00 90 */ stw r6, 0x90(r1) +/* 800F30C8 000F0028 90 A1 00 94 */ stw r5, 0x94(r1) +/* 800F30CC 000F002C 90 01 00 98 */ stw r0, 0x98(r1) +/* 800F30D0 000F0030 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 800F30D4 000F0034 80 08 00 04 */ lwz r0, 4(r8) +/* 800F30D8 000F0038 83 E7 02 A0 */ lwz r31, 0x2a0(r7) +/* 800F30DC 000F003C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800F30E0 000F0040 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800F30E4 000F0044 90 01 00 18 */ stw r0, 0x18(r1) +/* 800F30E8 000F0048 83 7C 1C 14 */ lwz r27, 0x1c14(r28) +/* 800F30EC 000F004C 48 00 36 09 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F30F0 000F0050 38 61 00 50 */ addi r3, r1, 0x50 +/* 800F30F4 000F0054 38 81 00 80 */ addi r4, r1, 0x80 +/* 800F30F8 000F0058 38 A1 00 D8 */ addi r5, r1, 0xd8 +/* 800F30FC 000F005C 48 1E 13 39 */ bl CalculateAABox__17CCollidableSphereCFRC12CTransform4f +/* 800F3100 000F0060 7F 63 DB 78 */ mr r3, r27 +/* 800F3104 000F0064 7F A4 EB 78 */ mr r4, r29 +/* 800F3108 000F0068 7F E6 FB 78 */ mr r6, r31 +/* 800F310C 000F006C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800F3110 000F0070 38 E1 00 50 */ addi r7, r1, 0x50 +/* 800F3114 000F0074 39 00 00 00 */ li r8, 0 +/* 800F3118 000F0078 39 20 00 00 */ li r9, 0 +/* 800F311C 000F007C 48 01 E0 B5 */ bl BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb +/* 800F3120 000F0080 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 800F3124 000F0084 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 800F3128 000F0088 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 800F312C 000F008C 90 01 00 80 */ stw r0, 0x80(r1) +/* 800F3130 000F0090 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 800F3134 000F0094 90 01 00 80 */ stw r0, 0x80(r1) +/* 800F3138 000F0098 48 00 00 0C */ b lbl_800F3144 +lbl_800F313C: +/* 800F313C 000F009C 80 7C 1C 14 */ lwz r3, 0x1c14(r28) +/* 800F3140 000F00A0 48 01 DE 4D */ bl ResetBlur__12CWorldShadowFv +lbl_800F3144: +/* 800F3144 000F00A4 C0 3E 02 88 */ lfs f1, 0x288(r30) +/* 800F3148 000F00A8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800F314C 000F00AC C0 5E 02 8C */ lfs f2, 0x28c(r30) +/* 800F3150 000F00B0 C0 7E 02 90 */ lfs f3, 0x290(r30) +/* 800F3154 000F00B4 C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) +/* 800F3158 000F00B8 48 27 02 95 */ bl __ct__6CColorFffff +/* 800F315C 000F00BC 48 25 6E 51 */ bl White__6CColorFv +/* 800F3160 000F00C0 C0 3C 1C 34 */ lfs f1, 0x1c34(r28) +/* 800F3164 000F00C4 7C 65 1B 78 */ mr r5, r3 +/* 800F3168 000F00C8 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F316C 000F00CC 38 81 00 10 */ addi r4, r1, 0x10 +/* 800F3170 000F00D0 48 27 01 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800F3174 000F00D4 7F C3 F3 78 */ mr r3, r30 +/* 800F3178 000F00D8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800F317C 000F00DC 48 01 1E BD */ bl SetAmbientColor__12CActorLightsFRC6CColor +/* 800F3180 000F00E0 80 7C 1C 18 */ lwz r3, 0x1c18(r28) +/* 800F3184 000F00E4 7F C4 F3 78 */ mr r4, r30 +/* 800F3188 000F00E8 48 00 00 A5 */ bl sub_800f322c +/* 800F318C 000F00EC C0 3C 1C 38 */ lfs f1, 0x1c38(r28) +/* 800F3190 000F00F0 C0 1C 1C 34 */ lfs f0, 0x1c34(r28) +/* 800F3194 000F00F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3198 000F00F8 40 80 00 0C */ bge lbl_800F31A4 +/* 800F319C 000F00FC 3B 7C 1C 34 */ addi r27, r28, 0x1c34 +/* 800F31A0 000F0100 48 00 00 08 */ b lbl_800F31A8 +lbl_800F31A4: +/* 800F31A4 000F0104 3B 7C 1C 38 */ addi r27, r28, 0x1c38 +lbl_800F31A8: +/* 800F31A8 000F0108 C0 3E 02 88 */ lfs f1, 0x288(r30) +/* 800F31AC 000F010C 38 61 00 08 */ addi r3, r1, 8 +/* 800F31B0 000F0110 C0 5E 02 8C */ lfs f2, 0x28c(r30) +/* 800F31B4 000F0114 C0 7E 02 90 */ lfs f3, 0x290(r30) +/* 800F31B8 000F0118 C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) +/* 800F31BC 000F011C 48 27 02 31 */ bl __ct__6CColorFffff +/* 800F31C0 000F0120 83 BC 1C 18 */ lwz r29, 0x1c18(r28) +/* 800F31C4 000F0124 48 25 6D E9 */ bl White__6CColorFv +/* 800F31C8 000F0128 C0 3B 00 00 */ lfs f1, 0(r27) +/* 800F31CC 000F012C 7C 65 1B 78 */ mr r5, r3 +/* 800F31D0 000F0130 38 61 00 0C */ addi r3, r1, 0xc +/* 800F31D4 000F0134 38 81 00 08 */ addi r4, r1, 8 +/* 800F31D8 000F0138 48 27 00 D5 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800F31DC 000F013C 7F A3 EB 78 */ mr r3, r29 +/* 800F31E0 000F0140 38 81 00 0C */ addi r4, r1, 0xc +/* 800F31E4 000F0144 48 01 1E 55 */ bl SetAmbientColor__12CActorLightsFRC6CColor +/* 800F31E8 000F0148 80 7C 00 58 */ lwz r3, 0x58(r28) +/* 800F31EC 000F014C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800F31F0 000F0150 28 00 00 00 */ cmplwi r0, 0 +/* 800F31F4 000F0154 41 82 00 0C */ beq lbl_800F3200 +/* 800F31F8 000F0158 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800F31FC 000F015C 4B F3 98 09 */ bl PreRender__9CAnimDataFv +lbl_800F3200: +/* 800F3200 000F0160 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha +/* 800F3204 000F0164 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 800F3208 000F0168 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l +/* 800F320C 000F016C 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 800F3210 000F0170 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 800F3214 000F0174 90 01 00 B8 */ stw r0, 0xb8(r1) +lbl_800F3218: +/* 800F3218 000F0178 BB 61 01 3C */ lmw r27, 0x13c(r1) +/* 800F321C 000F017C 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800F3220 000F0180 7C 08 03 A6 */ mtlr r0 +/* 800F3224 000F0184 38 21 01 50 */ addi r1, r1, 0x150 +/* 800F3228 000F0188 4E 80 00 20 */ blr + +.global sub_800f322c +sub_800f322c: +/* 800F322C 000F018C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F3230 000F0190 7C 08 02 A6 */ mflr r0 +/* 800F3234 000F0194 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F3238 000F0198 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F323C 000F019C 7C 9F 23 78 */ mr r31, r4 +/* 800F3240 000F01A0 93 C1 00 08 */ stw r30, 8(r1) +/* 800F3244 000F01A4 7C 7E 1B 78 */ mr r30, r3 +/* 800F3248 000F01A8 48 00 00 ED */ bl sub_800f3334 +/* 800F324C 000F01AC 38 7E 01 44 */ addi r3, r30, 0x144 +/* 800F3250 000F01B0 38 9F 01 44 */ addi r4, r31, 0x144 +/* 800F3254 000F01B4 48 00 00 E1 */ bl sub_800f3334 +/* 800F3258 000F01B8 80 9F 02 88 */ lwz r4, 0x288(r31) +/* 800F325C 000F01BC 7F C3 F3 78 */ mr r3, r30 +/* 800F3260 000F01C0 80 1F 02 8C */ lwz r0, 0x28c(r31) +/* 800F3264 000F01C4 90 9E 02 88 */ stw r4, 0x288(r30) +/* 800F3268 000F01C8 90 1E 02 8C */ stw r0, 0x28c(r30) +/* 800F326C 000F01CC 80 1F 02 90 */ lwz r0, 0x290(r31) +/* 800F3270 000F01D0 90 1E 02 90 */ stw r0, 0x290(r30) +/* 800F3274 000F01D4 80 1F 02 94 */ lwz r0, 0x294(r31) +/* 800F3278 000F01D8 90 1E 02 94 */ stw r0, 0x294(r30) +/* 800F327C 000F01DC 88 1F 02 98 */ lbz r0, 0x298(r31) +/* 800F3280 000F01E0 98 1E 02 98 */ stb r0, 0x298(r30) +/* 800F3284 000F01E4 88 1F 02 99 */ lbz r0, 0x299(r31) +/* 800F3288 000F01E8 98 1E 02 99 */ stb r0, 0x299(r30) +/* 800F328C 000F01EC 88 1F 02 9A */ lbz r0, 0x29a(r31) +/* 800F3290 000F01F0 98 1E 02 9A */ stb r0, 0x29a(r30) +/* 800F3294 000F01F4 80 1F 02 9C */ lwz r0, 0x29c(r31) +/* 800F3298 000F01F8 90 1E 02 9C */ stw r0, 0x29c(r30) +/* 800F329C 000F01FC 80 1F 02 A0 */ lwz r0, 0x2a0(r31) +/* 800F32A0 000F0200 90 1E 02 A0 */ stw r0, 0x2a0(r30) +/* 800F32A4 000F0204 80 1F 02 A4 */ lwz r0, 0x2a4(r31) +/* 800F32A8 000F0208 90 1E 02 A4 */ stw r0, 0x2a4(r30) +/* 800F32AC 000F020C 80 1F 02 A8 */ lwz r0, 0x2a8(r31) +/* 800F32B0 000F0210 90 1E 02 A8 */ stw r0, 0x2a8(r30) +/* 800F32B4 000F0214 80 9F 02 AC */ lwz r4, 0x2ac(r31) +/* 800F32B8 000F0218 80 1F 02 B0 */ lwz r0, 0x2b0(r31) +/* 800F32BC 000F021C 90 9E 02 AC */ stw r4, 0x2ac(r30) +/* 800F32C0 000F0220 90 1E 02 B0 */ stw r0, 0x2b0(r30) +/* 800F32C4 000F0224 80 1F 02 B4 */ lwz r0, 0x2b4(r31) +/* 800F32C8 000F0228 90 1E 02 B4 */ stw r0, 0x2b4(r30) +/* 800F32CC 000F022C 80 1F 02 B8 */ lwz r0, 0x2b8(r31) +/* 800F32D0 000F0230 90 1E 02 B8 */ stw r0, 0x2b8(r30) +/* 800F32D4 000F0234 80 1F 02 BC */ lwz r0, 0x2bc(r31) +/* 800F32D8 000F0238 90 1E 02 BC */ stw r0, 0x2bc(r30) +/* 800F32DC 000F023C 80 9F 02 C0 */ lwz r4, 0x2c0(r31) +/* 800F32E0 000F0240 80 1F 02 C4 */ lwz r0, 0x2c4(r31) +/* 800F32E4 000F0244 90 9E 02 C0 */ stw r4, 0x2c0(r30) +/* 800F32E8 000F0248 90 1E 02 C4 */ stw r0, 0x2c4(r30) +/* 800F32EC 000F024C 80 1F 02 C8 */ lwz r0, 0x2c8(r31) +/* 800F32F0 000F0250 90 1E 02 C8 */ stw r0, 0x2c8(r30) +/* 800F32F4 000F0254 C0 1F 02 CC */ lfs f0, 0x2cc(r31) +/* 800F32F8 000F0258 D0 1E 02 CC */ stfs f0, 0x2cc(r30) +/* 800F32FC 000F025C C0 1F 02 D0 */ lfs f0, 0x2d0(r31) +/* 800F3300 000F0260 D0 1E 02 D0 */ stfs f0, 0x2d0(r30) +/* 800F3304 000F0264 C0 1F 02 D4 */ lfs f0, 0x2d4(r31) +/* 800F3308 000F0268 D0 1E 02 D4 */ stfs f0, 0x2d4(r30) +/* 800F330C 000F026C 80 1F 02 D8 */ lwz r0, 0x2d8(r31) +/* 800F3310 000F0270 90 1E 02 D8 */ stw r0, 0x2d8(r30) +/* 800F3314 000F0274 80 1F 02 DC */ lwz r0, 0x2dc(r31) +/* 800F3318 000F0278 90 1E 02 DC */ stw r0, 0x2dc(r30) +/* 800F331C 000F027C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F3320 000F0280 83 C1 00 08 */ lwz r30, 8(r1) +/* 800F3324 000F0284 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F3328 000F0288 7C 08 03 A6 */ mtlr r0 +/* 800F332C 000F028C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F3330 000F0290 4E 80 00 20 */ blr + +.global sub_800f3334 +sub_800f3334: +/* 800F3334 000F0294 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F3338 000F0298 7C 08 02 A6 */ mflr r0 +/* 800F333C 000F029C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F3340 000F02A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F3344 000F02A4 7C 9F 23 78 */ mr r31, r4 +/* 800F3348 000F02A8 93 C1 00 08 */ stw r30, 8(r1) +/* 800F334C 000F02AC 7C 7E 1B 78 */ mr r30, r3 +/* 800F3350 000F02B0 7C 1E F8 40 */ cmplw r30, r31 +/* 800F3354 000F02B4 40 82 00 08 */ bne lbl_800F335C +/* 800F3358 000F02B8 48 00 00 80 */ b lbl_800F33D8 +lbl_800F335C: +/* 800F335C 000F02BC 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F3360 000F02C0 38 60 00 00 */ li r3, 0 +/* 800F3364 000F02C4 2C 05 00 00 */ cmpwi r5, 0 +/* 800F3368 000F02C8 40 81 00 40 */ ble lbl_800F33A8 +/* 800F336C 000F02CC 2C 05 00 08 */ cmpwi r5, 8 +/* 800F3370 000F02D0 38 85 FF F8 */ addi r4, r5, -8 +/* 800F3374 000F02D4 40 81 00 20 */ ble lbl_800F3394 +/* 800F3378 000F02D8 38 04 00 07 */ addi r0, r4, 7 +/* 800F337C 000F02DC 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F3380 000F02E0 7C 09 03 A6 */ mtctr r0 +/* 800F3384 000F02E4 2C 04 00 00 */ cmpwi r4, 0 +/* 800F3388 000F02E8 40 81 00 0C */ ble lbl_800F3394 +lbl_800F338C: +/* 800F338C 000F02EC 38 63 00 08 */ addi r3, r3, 8 +/* 800F3390 000F02F0 42 00 FF FC */ bdnz lbl_800F338C +lbl_800F3394: +/* 800F3394 000F02F4 7C 03 28 50 */ subf r0, r3, r5 +/* 800F3398 000F02F8 7C 09 03 A6 */ mtctr r0 +/* 800F339C 000F02FC 7C 03 28 00 */ cmpw r3, r5 +/* 800F33A0 000F0300 40 80 00 08 */ bge lbl_800F33A8 +lbl_800F33A4: +/* 800F33A4 000F0304 42 00 00 00 */ bdnz lbl_800F33A4 +lbl_800F33A8: +/* 800F33A8 000F0308 38 00 00 00 */ li r0, 0 +/* 800F33AC 000F030C 38 7F 00 04 */ addi r3, r31, 4 +/* 800F33B0 000F0310 90 1E 00 00 */ stw r0, 0(r30) +/* 800F33B4 000F0314 38 BE 00 04 */ addi r5, r30, 4 +/* 800F33B8 000F0318 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F33BC 000F031C 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 800F33C0 000F0320 7C 9F 02 14 */ add r4, r31, r0 +/* 800F33C4 000F0324 38 84 00 04 */ addi r4, r4, 4 +/* 800F33C8 000F0328 48 00 00 29 */ bl sub_800f33f0 +/* 800F33CC 000F032C 80 1F 00 00 */ lwz r0, 0(r31) +/* 800F33D0 000F0330 7F C3 F3 78 */ mr r3, r30 +/* 800F33D4 000F0334 90 1E 00 00 */ stw r0, 0(r30) +lbl_800F33D8: +/* 800F33D8 000F0338 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F33DC 000F033C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F33E0 000F0340 83 C1 00 08 */ lwz r30, 8(r1) +/* 800F33E4 000F0344 7C 08 03 A6 */ mtlr r0 +/* 800F33E8 000F0348 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F33EC 000F034C 4E 80 00 20 */ blr + +.global sub_800f33f0 +sub_800f33f0: +/* 800F33F0 000F0350 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F33F4 000F0354 7C 08 02 A6 */ mflr r0 +/* 800F33F8 000F0358 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F33FC 000F035C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800F3400 000F0360 7C BF 2B 78 */ mr r31, r5 +/* 800F3404 000F0364 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800F3408 000F0368 7C 7E 1B 78 */ mr r30, r3 +/* 800F340C 000F036C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800F3410 000F0370 7C 9D 23 78 */ mr r29, r4 +/* 800F3414 000F0374 48 00 00 18 */ b lbl_800F342C +lbl_800F3418: +/* 800F3418 000F0378 7F E3 FB 78 */ mr r3, r31 +/* 800F341C 000F037C 7F C4 F3 78 */ mr r4, r30 +/* 800F3420 000F0380 48 00 00 35 */ bl sub_800f3454 +/* 800F3424 000F0384 3B FF 00 50 */ addi r31, r31, 0x50 +/* 800F3428 000F0388 3B DE 00 50 */ addi r30, r30, 0x50 +lbl_800F342C: +/* 800F342C 000F038C 7C 1E E8 40 */ cmplw r30, r29 +/* 800F3430 000F0390 40 82 FF E8 */ bne lbl_800F3418 +/* 800F3434 000F0394 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F3438 000F0398 7F E3 FB 78 */ mr r3, r31 +/* 800F343C 000F039C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800F3440 000F03A0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800F3444 000F03A4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800F3448 000F03A8 7C 08 03 A6 */ mtlr r0 +/* 800F344C 000F03AC 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F3450 000F03B0 4E 80 00 20 */ blr + +.global sub_800f3454 +sub_800f3454: +/* 800F3454 000F03B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F3458 000F03B8 7C 08 02 A6 */ mflr r0 +/* 800F345C 000F03BC 28 03 00 00 */ cmplwi r3, 0 +/* 800F3460 000F03C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F3464 000F03C4 41 82 00 08 */ beq lbl_800F346C +/* 800F3468 000F03C8 4B F4 81 09 */ bl __ct__6CLightFCR6CLight +lbl_800F346C: +/* 800F346C 000F03CC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F3470 000F03D0 7C 08 03 A6 */ mtlr r0 +/* 800F3474 000F03D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F3478 000F03D8 4E 80 00 20 */ blr + +.global GetMinimumAlignmentSpeed__10CMorphBallCFv +GetMinimumAlignmentSpeed__10CMorphBallCFv: +/* 800F347C 000F03DC 80 03 18 7C */ lwz r0, 0x187c(r3) +/* 800F3480 000F03E0 2C 00 00 01 */ cmpwi r0, 1 +/* 800F3484 000F03E4 40 82 00 0C */ bne lbl_800F3490 +/* 800F3488 000F03E8 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F348C 000F03EC 4E 80 00 20 */ blr +lbl_800F3490: +/* 800F3490 000F03F0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F3494 000F03F4 C0 23 01 DC */ lfs f1, 0x1dc(r3) +/* 800F3498 000F03F8 4E 80 00 20 */ blr + +.global DampLinearAndAngularVelocities__10CMorphBallFff +DampLinearAndAngularVelocities__10CMorphBallFff: +/* 800F349C 000F03FC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800F34A0 000F0400 7C 08 02 A6 */ mflr r0 +/* 800F34A4 000F0404 90 01 00 44 */ stw r0, 0x44(r1) +/* 800F34A8 000F0408 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 800F34AC 000F040C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 800F34B0 000F0410 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800F34B4 000F0414 7C 7F 1B 78 */ mr r31, r3 +/* 800F34B8 000F0418 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F34BC 000F041C 80 63 00 00 */ lwz r3, 0(r3) +/* 800F34C0 000F0420 FF E0 10 90 */ fmr f31, f2 +/* 800F34C4 000F0424 EC 80 08 28 */ fsubs f4, f0, f1 +/* 800F34C8 000F0428 38 81 00 18 */ addi r4, r1, 0x18 +/* 800F34CC 000F042C C0 03 01 38 */ lfs f0, 0x138(r3) +/* 800F34D0 000F0430 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800F34D4 000F0434 EC 40 01 32 */ fmuls f2, f0, f4 +/* 800F34D8 000F0438 C0 03 01 3C */ lfs f0, 0x13c(r3) +/* 800F34DC 000F043C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800F34E0 000F0440 EC 20 01 32 */ fmuls f1, f0, f4 +/* 800F34E4 000F0444 C0 63 01 40 */ lfs f3, 0x140(r3) +/* 800F34E8 000F0448 EC 03 01 32 */ fmuls f0, f3, f4 +/* 800F34EC 000F044C D0 61 00 20 */ stfs f3, 0x20(r1) +/* 800F34F0 000F0450 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800F34F4 000F0454 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800F34F8 000F0458 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800F34FC 000F045C 48 02 77 A5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 800F3500 000F0460 80 BF 00 00 */ lwz r5, 0(r31) +/* 800F3504 000F0464 38 61 00 0C */ addi r3, r1, 0xc +/* 800F3508 000F0468 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F350C 000F046C 38 81 00 08 */ addi r4, r1, 8 +/* 800F3510 000F0470 C0 25 01 44 */ lfs f1, 0x144(r5) +/* 800F3514 000F0474 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800F3518 000F0478 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800F351C 000F047C C0 25 01 48 */ lfs f1, 0x148(r5) +/* 800F3520 000F0480 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800F3524 000F0484 C0 25 01 4C */ lfs f1, 0x14c(r5) +/* 800F3528 000F0488 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800F352C 000F048C D0 01 00 08 */ stfs f0, 8(r1) +/* 800F3530 000F0490 4B F2 7F B5 */ bl __amu__10CAxisAngleFRCf +/* 800F3534 000F0494 80 7F 00 00 */ lwz r3, 0(r31) +/* 800F3538 000F0498 38 81 00 0C */ addi r4, r1, 0xc +/* 800F353C 000F049C 48 02 76 C1 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle +/* 800F3540 000F04A0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 800F3544 000F04A4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800F3548 000F04A8 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 800F354C 000F04AC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800F3550 000F04B0 7C 08 03 A6 */ mtlr r0 +/* 800F3554 000F04B4 38 21 00 40 */ addi r1, r1, 0x40 +/* 800F3558 000F04B8 4E 80 00 20 */ blr + +.global ApplyFriction__10CMorphBallFf +ApplyFriction__10CMorphBallFf: +/* 800F355C 000F04BC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800F3560 000F04C0 7C 08 02 A6 */ mflr r0 +/* 800F3564 000F04C4 90 01 00 44 */ stw r0, 0x44(r1) +/* 800F3568 000F04C8 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 800F356C 000F04CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 800F3570 000F04D0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800F3574 000F04D4 7C 7F 1B 78 */ mr r31, r3 +/* 800F3578 000F04D8 FF E0 08 90 */ fmr f31, f1 +/* 800F357C 000F04DC 80 83 00 00 */ lwz r4, 0(r3) +/* 800F3580 000F04E0 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F3584 000F04E4 C0 04 01 38 */ lfs f0, 0x138(r4) +/* 800F3588 000F04E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800F358C 000F04EC C0 04 01 3C */ lfs f0, 0x13c(r4) +/* 800F3590 000F04F0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800F3594 000F04F4 C0 04 01 40 */ lfs f0, 0x140(r4) +/* 800F3598 000F04F8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800F359C 000F04FC 48 22 13 1D */ bl Magnitude__9CVector3fCFv +/* 800F35A0 000F0500 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 800F35A4 000F0504 40 80 00 44 */ bge lbl_800F35E8 +/* 800F35A8 000F0508 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F35AC 000F050C 48 22 13 0D */ bl Magnitude__9CVector3fCFv +/* 800F35B0 000F0510 EF E1 F8 28 */ fsubs f31, f1, f31 +/* 800F35B4 000F0514 38 61 00 08 */ addi r3, r1, 8 +/* 800F35B8 000F0518 38 81 00 14 */ addi r4, r1, 0x14 +/* 800F35BC 000F051C 48 22 12 95 */ bl AsNormalized__9CVector3fCFv +/* 800F35C0 000F0520 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 800F35C4 000F0524 C0 21 00 08 */ lfs f1, 8(r1) +/* 800F35C8 000F0528 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800F35CC 000F052C EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 800F35D0 000F0530 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 800F35D4 000F0534 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800F35D8 000F0538 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800F35DC 000F053C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800F35E0 000F0540 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800F35E4 000F0544 48 00 00 20 */ b lbl_800F3604 +lbl_800F35E8: +/* 800F35E8 000F0548 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F35EC 000F054C C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 800F35F0 000F0550 C0 23 00 04 */ lfs f1, 4(r3) +/* 800F35F4 000F0554 C0 03 00 08 */ lfs f0, 8(r3) +/* 800F35F8 000F0558 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800F35FC 000F055C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800F3600 000F0560 D0 01 00 1C */ stfs f0, 0x1c(r1) +lbl_800F3604: +/* 800F3604 000F0564 80 7F 00 00 */ lwz r3, 0(r31) +/* 800F3608 000F0568 38 81 00 14 */ addi r4, r1, 0x14 +/* 800F360C 000F056C 48 02 76 95 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 800F3610 000F0570 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 800F3614 000F0574 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800F3618 000F0578 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 800F361C 000F057C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800F3620 000F0580 7C 08 03 A6 */ mtlr r0 +/* 800F3624 000F0584 38 21 00 40 */ addi r1, r1, 0x40 +/* 800F3628 000F0588 4E 80 00 20 */ blr + +.global UpdateMarbleDynamics__10CMorphBallFR13CStateManagerfRC9CVector3f +UpdateMarbleDynamics__10CMorphBallFR13CStateManagerfRC9CVector3f: +/* 800F362C 000F058C 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 800F3630 000F0590 7C 08 02 A6 */ mflr r0 +/* 800F3634 000F0594 90 01 02 34 */ stw r0, 0x234(r1) +/* 800F3638 000F0598 DB E1 02 20 */ stfd f31, 0x220(r1) +/* 800F363C 000F059C F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 800F3640 000F05A0 DB C1 02 10 */ stfd f30, 0x210(r1) +/* 800F3644 000F05A4 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 800F3648 000F05A8 DB A1 02 00 */ stfd f29, 0x200(r1) +/* 800F364C 000F05AC F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 800F3650 000F05B0 DB 81 01 F0 */ stfd f28, 0x1f0(r1) +/* 800F3654 000F05B4 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 +/* 800F3658 000F05B8 DB 61 01 E0 */ stfd f27, 0x1e0(r1) +/* 800F365C 000F05BC F3 61 01 E8 */ psq_st f27, 488(r1), 0, qr0 +/* 800F3660 000F05C0 DB 41 01 D0 */ stfd f26, 0x1d0(r1) +/* 800F3664 000F05C4 F3 41 01 D8 */ psq_st f26, 472(r1), 0, qr0 +/* 800F3668 000F05C8 DB 21 01 C0 */ stfd f25, 0x1c0(r1) +/* 800F366C 000F05CC F3 21 01 C8 */ psq_st f25, 456(r1), 0, qr0 +/* 800F3670 000F05D0 DB 01 01 B0 */ stfd f24, 0x1b0(r1) +/* 800F3674 000F05D4 F3 01 01 B8 */ psq_st f24, 440(r1), 0, qr0 +/* 800F3678 000F05D8 93 E1 01 AC */ stw r31, 0x1ac(r1) +/* 800F367C 000F05DC 93 C1 01 A8 */ stw r30, 0x1a8(r1) +/* 800F3680 000F05E0 93 A1 01 A4 */ stw r29, 0x1a4(r1) +/* 800F3684 000F05E4 93 81 01 A0 */ stw r28, 0x1a0(r1) +/* 800F3688 000F05E8 7C 7E 1B 78 */ mr r30, r3 +/* 800F368C 000F05EC FF 00 08 90 */ fmr f24, f1 +/* 800F3690 000F05F0 80 63 00 00 */ lwz r3, 0(r3) +/* 800F3694 000F05F4 7C BC 2B 78 */ mr r28, r5 +/* 800F3698 000F05F8 3B E0 00 00 */ li r31, 0 +/* 800F369C 000F05FC 3B A0 00 00 */ li r29, 0 +/* 800F36A0 000F0600 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 800F36A4 000F0604 2C 00 00 02 */ cmpwi r0, 2 +/* 800F36A8 000F0608 40 82 00 0C */ bne lbl_800F36B4 +/* 800F36AC 000F060C 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 800F36B0 000F0610 48 00 00 08 */ b lbl_800F36B8 +lbl_800F36B4: +/* 800F36B4 000F0614 38 00 00 04 */ li r0, 4 +lbl_800F36B8: +/* 800F36B8 000F0618 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 800F36BC 000F061C 54 00 10 3A */ slwi r0, r0, 2 +/* 800F36C0 000F0620 38 63 01 38 */ addi r3, r3, 0x138 +/* 800F36C4 000F0624 7C 84 02 14 */ add r4, r4, r0 +/* 800F36C8 000F0628 C3 24 00 04 */ lfs f25, 4(r4) +/* 800F36CC 000F062C 48 22 11 ED */ bl Magnitude__9CVector3fCFv +/* 800F36D0 000F0630 C0 02 92 28 */ lfs f0, lbl_805AAF48@sda21(r2) +/* 800F36D4 000F0634 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F36D8 000F0638 40 80 01 00 */ bge lbl_800F37D8 +/* 800F36DC 000F063C 38 7E 00 10 */ addi r3, r30, 0x10 +/* 800F36E0 000F0640 48 22 11 D9 */ bl Magnitude__9CVector3fCFv +/* 800F36E4 000F0644 C0 02 92 84 */ lfs f0, lbl_805AAFA4@sda21(r2) +/* 800F36E8 000F0648 EC 00 06 72 */ fmuls f0, f0, f25 +/* 800F36EC 000F064C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F36F0 000F0650 40 81 00 E8 */ ble lbl_800F37D8 +/* 800F36F4 000F0654 80 DE 00 00 */ lwz r6, 0(r30) +/* 800F36F8 000F0658 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800F36FC 000F065C 38 9E 19 24 */ addi r4, r30, 0x1924 +/* 800F3700 000F0660 38 A1 01 58 */ addi r5, r1, 0x158 +/* 800F3704 000F0664 C0 06 01 50 */ lfs f0, 0x150(r6) +/* 800F3708 000F0668 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 800F370C 000F066C C0 06 01 54 */ lfs f0, 0x154(r6) +/* 800F3710 000F0670 D0 01 01 5C */ stfs f0, 0x15c(r1) +/* 800F3714 000F0674 C0 06 01 58 */ lfs f0, 0x158(r6) +/* 800F3718 000F0678 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 800F371C 000F067C 48 21 F3 09 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800F3720 000F0680 C0 41 00 B8 */ lfs f2, 0xb8(r1) +/* 800F3724 000F0684 38 61 00 AC */ addi r3, r1, 0xac +/* 800F3728 000F0688 C0 21 00 BC */ lfs f1, 0xbc(r1) +/* 800F372C 000F068C 38 9E 19 24 */ addi r4, r30, 0x1924 +/* 800F3730 000F0690 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 800F3734 000F0694 38 BE 00 10 */ addi r5, r30, 0x10 +/* 800F3738 000F0698 D0 41 01 4C */ stfs f2, 0x14c(r1) +/* 800F373C 000F069C D0 21 01 50 */ stfs f1, 0x150(r1) +/* 800F3740 000F06A0 D0 01 01 54 */ stfs f0, 0x154(r1) +/* 800F3744 000F06A4 48 21 F2 E1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800F3748 000F06A8 C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 800F374C 000F06AC 38 61 01 4C */ addi r3, r1, 0x14c +/* 800F3750 000F06B0 C0 61 00 AC */ lfs f3, 0xac(r1) +/* 800F3754 000F06B4 C0 41 00 B0 */ lfs f2, 0xb0(r1) +/* 800F3758 000F06B8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F375C 000F06BC D0 21 01 48 */ stfs f1, 0x148(r1) +/* 800F3760 000F06C0 D0 61 01 40 */ stfs f3, 0x140(r1) +/* 800F3764 000F06C4 D0 41 01 44 */ stfs f2, 0x144(r1) +/* 800F3768 000F06C8 D0 01 01 54 */ stfs f0, 0x154(r1) +/* 800F376C 000F06CC D0 01 01 48 */ stfs f0, 0x148(r1) +/* 800F3770 000F06D0 48 22 0F 89 */ bl CanBeNormalized__9CVector3fCFv +/* 800F3774 000F06D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F3778 000F06D8 41 82 00 60 */ beq lbl_800F37D8 +/* 800F377C 000F06DC 38 61 01 40 */ addi r3, r1, 0x140 +/* 800F3780 000F06E0 48 22 0F 79 */ bl CanBeNormalized__9CVector3fCFv +/* 800F3784 000F06E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F3788 000F06E8 41 82 00 50 */ beq lbl_800F37D8 +/* 800F378C 000F06EC 38 61 00 94 */ addi r3, r1, 0x94 +/* 800F3790 000F06F0 38 81 01 40 */ addi r4, r1, 0x140 +/* 800F3794 000F06F4 48 22 10 BD */ bl AsNormalized__9CVector3fCFv +/* 800F3798 000F06F8 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800F379C 000F06FC 38 81 01 4C */ addi r4, r1, 0x14c +/* 800F37A0 000F0700 48 22 10 B1 */ bl AsNormalized__9CVector3fCFv +/* 800F37A4 000F0704 C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 800F37A8 000F0708 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 800F37AC 000F070C C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 800F37B0 000F0710 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F37B4 000F0714 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 800F37B8 000F0718 C0 81 00 A8 */ lfs f4, 0xa8(r1) +/* 800F37BC 000F071C C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 800F37C0 000F0720 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 800F37C4 000F0724 C0 02 92 88 */ lfs f0, lbl_805AAFA8@sda21(r2) +/* 800F37C8 000F0728 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 800F37CC 000F072C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F37D0 000F0730 40 80 00 08 */ bge lbl_800F37D8 +/* 800F37D4 000F0734 3B A0 00 01 */ li r29, 1 +lbl_800F37D8: +/* 800F37D8 000F0738 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 800F37DC 000F073C 40 82 03 20 */ bne lbl_800F3AFC +/* 800F37E0 000F0740 80 9E 00 00 */ lwz r4, 0(r30) +/* 800F37E4 000F0744 7F C3 F3 78 */ mr r3, r30 +/* 800F37E8 000F0748 C3 64 01 38 */ lfs f27, 0x138(r4) +/* 800F37EC 000F074C C3 44 01 3C */ lfs f26, 0x13c(r4) +/* 800F37F0 000F0750 C3 24 01 40 */ lfs f25, 0x140(r4) +/* 800F37F4 000F0754 48 00 56 11 */ bl GetBallRadius__10CMorphBallCFv +/* 800F37F8 000F0758 80 9E 00 00 */ lwz r4, 0(r30) +/* 800F37FC 000F075C C0 A2 91 50 */ lfs f5, lbl_805AAE70@sda21(r2) +/* 800F3800 000F0760 C0 64 00 50 */ lfs f3, 0x50(r4) +/* 800F3804 000F0764 38 64 01 44 */ addi r3, r4, 0x144 +/* 800F3808 000F0768 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 800F380C 000F076C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 800F3810 000F0770 EC 83 28 2A */ fadds f4, f3, f5 +/* 800F3814 000F0774 C0 DC 00 04 */ lfs f6, 4(r28) +/* 800F3818 000F0778 EC 42 08 2A */ fadds f2, f2, f1 +/* 800F381C 000F077C C0 7C 00 08 */ lfs f3, 8(r28) +/* 800F3820 000F0780 EC 00 28 2A */ fadds f0, f0, f5 +/* 800F3824 000F0784 C0 3C 00 00 */ lfs f1, 0(r28) +/* 800F3828 000F0788 EC 86 20 28 */ fsubs f4, f6, f4 +/* 800F382C 000F078C EC 43 10 28 */ fsubs f2, f3, f2 +/* 800F3830 000F0790 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F3834 000F0794 D0 81 01 38 */ stfs f4, 0x138(r1) +/* 800F3838 000F0798 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 800F383C 000F079C D0 41 01 3C */ stfs f2, 0x13c(r1) +/* 800F3840 000F07A0 4B F2 7C F1 */ bl GetVector__10CAxisAngleCFv +/* 800F3844 000F07A4 C0 43 00 00 */ lfs f2, 0(r3) +/* 800F3848 000F07A8 C0 C1 01 3C */ lfs f6, 0x13c(r1) +/* 800F384C 000F07AC C0 63 00 04 */ lfs f3, 4(r3) +/* 800F3850 000F07B0 C0 E1 01 34 */ lfs f7, 0x134(r1) +/* 800F3854 000F07B4 EC 06 00 B2 */ fmuls f0, f6, f2 +/* 800F3858 000F07B8 C0 83 00 08 */ lfs f4, 8(r3) +/* 800F385C 000F07BC C0 A1 01 38 */ lfs f5, 0x138(r1) +/* 800F3860 000F07C0 EC 27 00 F2 */ fmuls f1, f7, f3 +/* 800F3864 000F07C4 EF C4 01 F8 */ fmsubs f30, f4, f7, f0 +/* 800F3868 000F07C8 EC 05 01 32 */ fmuls f0, f5, f4 +/* 800F386C 000F07CC EF A2 09 78 */ fmsubs f29, f2, f5, f1 +/* 800F3870 000F07D0 EC 3A F0 28 */ fsubs f1, f26, f30 +/* 800F3874 000F07D4 EF E3 01 B8 */ fmsubs f31, f3, f6, f0 +/* 800F3878 000F07D8 EC 19 E8 28 */ fsubs f0, f25, f29 +/* 800F387C 000F07DC D0 21 01 2C */ stfs f1, 0x12c(r1) +/* 800F3880 000F07E0 EC 3B F8 28 */ fsubs f1, f27, f31 +/* 800F3884 000F07E4 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 800F3888 000F07E8 D0 21 01 28 */ stfs f1, 0x128(r1) +/* 800F388C 000F07EC 80 1E 18 7C */ lwz r0, 0x187c(r30) +/* 800F3890 000F07F0 2C 00 00 01 */ cmpwi r0, 1 +/* 800F3894 000F07F4 40 82 00 0C */ bne lbl_800F38A0 +/* 800F3898 000F07F8 C3 82 91 A8 */ lfs f28, lbl_805AAEC8@sda21(r2) +/* 800F389C 000F07FC 48 00 00 08 */ b lbl_800F38A4 +lbl_800F38A0: +/* 800F38A0 000F0800 C3 82 92 48 */ lfs f28, lbl_805AAF68@sda21(r2) +lbl_800F38A4: +/* 800F38A4 000F0804 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F38A8 000F0808 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F38AC 000F080C 80 1E 1C D0 */ lwz r0, 0x1cd0(r30) +/* 800F38B0 000F0810 2C 00 00 03 */ cmpwi r0, 3 +/* 800F38B4 000F0814 40 81 00 94 */ ble lbl_800F3948 +/* 800F38B8 000F0818 38 61 00 1C */ addi r3, r1, 0x1c +/* 800F38BC 000F081C 38 9E 1C D0 */ addi r4, r30, 0x1cd0 +/* 800F38C0 000F0820 38 A0 00 00 */ li r5, 0 +/* 800F38C4 000F0824 48 00 05 21 */ bl "GetEntry__22TReservedAverageCFi" +/* 800F38C8 000F0828 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800F38CC 000F082C 38 00 00 00 */ li r0, 0 +/* 800F38D0 000F0830 98 01 00 20 */ stb r0, 0x20(r1) +/* 800F38D4 000F0834 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F38D8 000F0838 38 9E 1C D0 */ addi r4, r30, 0x1cd0 +/* 800F38DC 000F083C 38 A0 00 01 */ li r5, 1 +/* 800F38E0 000F0840 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F38E4 000F0844 48 00 05 01 */ bl "GetEntry__22TReservedAverageCFi" +/* 800F38E8 000F0848 C0 21 00 08 */ lfs f1, 8(r1) +/* 800F38EC 000F084C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F38F0 000F0850 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800F38F4 000F0854 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F38F8 000F0858 40 80 00 08 */ bge lbl_800F3900 +/* 800F38FC 000F085C 38 61 00 08 */ addi r3, r1, 8 +lbl_800F3900: +/* 800F3900 000F0860 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F3904 000F0864 38 00 00 00 */ li r0, 0 +/* 800F3908 000F0868 38 61 00 0C */ addi r3, r1, 0xc +/* 800F390C 000F086C 38 9E 1C D0 */ addi r4, r30, 0x1cd0 +/* 800F3910 000F0870 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F3914 000F0874 38 A0 00 02 */ li r5, 2 +/* 800F3918 000F0878 98 01 00 18 */ stb r0, 0x18(r1) +/* 800F391C 000F087C 48 00 04 C9 */ bl "GetEntry__22TReservedAverageCFi" +/* 800F3920 000F0880 C0 21 00 08 */ lfs f1, 8(r1) +/* 800F3924 000F0884 38 61 00 0C */ addi r3, r1, 0xc +/* 800F3928 000F0888 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800F392C 000F088C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3930 000F0890 40 80 00 08 */ bge lbl_800F3938 +/* 800F3934 000F0894 38 61 00 08 */ addi r3, r1, 8 +lbl_800F3938: +/* 800F3938 000F0898 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F393C 000F089C 38 00 00 00 */ li r0, 0 +/* 800F3940 000F08A0 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F3944 000F08A4 98 01 00 10 */ stb r0, 0x10(r1) +lbl_800F3948: +/* 800F3948 000F08A8 C0 21 01 28 */ lfs f1, 0x128(r1) +/* 800F394C 000F08AC C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 800F3950 000F08B0 EC 41 00 72 */ fmuls f2, f1, f1 +/* 800F3954 000F08B4 C0 61 01 30 */ lfs f3, 0x130(r1) +/* 800F3958 000F08B8 EC 20 00 32 */ fmuls f1, f0, f0 +/* 800F395C 000F08BC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F3960 000F08C0 EC 63 00 F2 */ fmuls f3, f3, f3 +/* 800F3964 000F08C4 EC 22 08 2A */ fadds f1, f2, f1 +/* 800F3968 000F08C8 EC 23 08 2A */ fadds f1, f3, f1 +/* 800F396C 000F08CC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3970 000F08D0 40 81 02 08 */ ble lbl_800F3B78 +/* 800F3974 000F08D4 C0 01 00 08 */ lfs f0, 8(r1) +/* 800F3978 000F08D8 FC 00 E0 40 */ fcmpo cr0, f0, f28 +/* 800F397C 000F08DC 40 81 01 FC */ ble lbl_800F3B78 +/* 800F3980 000F08E0 38 61 01 28 */ addi r3, r1, 0x128 +/* 800F3984 000F08E4 48 22 0F 35 */ bl Magnitude__9CVector3fCFv +/* 800F3988 000F08E8 C0 02 92 8C */ lfs f0, lbl_805AAFAC@sda21(r2) +/* 800F398C 000F08EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3990 000F08F0 40 81 00 48 */ ble lbl_800F39D8 +/* 800F3994 000F08F4 38 61 00 88 */ addi r3, r1, 0x88 +/* 800F3998 000F08F8 38 81 01 28 */ addi r4, r1, 0x128 +/* 800F399C 000F08FC 48 22 0E B5 */ bl AsNormalized__9CVector3fCFv +/* 800F39A0 000F0900 C0 62 92 64 */ lfs f3, lbl_805AAF84@sda21(r2) +/* 800F39A4 000F0904 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 800F39A8 000F0908 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 800F39AC 000F090C C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 800F39B0 000F0910 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F39B4 000F0914 C0 82 91 E0 */ lfs f4, lbl_805AAF00@sda21(r2) +/* 800F39B8 000F0918 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F39BC 000F091C EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F39C0 000F0920 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 800F39C4 000F0924 EC 24 00 72 */ fmuls f1, f4, f1 +/* 800F39C8 000F0928 EC 04 00 32 */ fmuls f0, f4, f0 +/* 800F39CC 000F092C D0 41 01 30 */ stfs f2, 0x130(r1) +/* 800F39D0 000F0930 D0 21 01 28 */ stfs f1, 0x128(r1) +/* 800F39D4 000F0934 D0 01 01 2C */ stfs f0, 0x12c(r1) +lbl_800F39D8: +/* 800F39D8 000F0938 EC 5B F8 2A */ fadds f2, f27, f31 +/* 800F39DC 000F093C 38 61 01 1C */ addi r3, r1, 0x11c +/* 800F39E0 000F0940 EC 3A F0 2A */ fadds f1, f26, f30 +/* 800F39E4 000F0944 EC 19 E8 2A */ fadds f0, f25, f29 +/* 800F39E8 000F0948 D0 41 01 1C */ stfs f2, 0x11c(r1) +/* 800F39EC 000F094C D0 21 01 20 */ stfs f1, 0x120(r1) +/* 800F39F0 000F0950 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 800F39F4 000F0954 48 22 0D 05 */ bl CanBeNormalized__9CVector3fCFv +/* 800F39F8 000F0958 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F39FC 000F095C 41 82 01 7C */ beq lbl_800F3B78 +/* 800F3A00 000F0960 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 800F3A04 000F0964 38 60 00 00 */ li r3, 0 +/* 800F3A08 000F0968 28 00 00 00 */ cmplwi r0, 0 +/* 800F3A0C 000F096C 41 82 00 14 */ beq lbl_800F3A20 +/* 800F3A10 000F0970 80 1E 18 7C */ lwz r0, 0x187c(r30) +/* 800F3A14 000F0974 2C 00 00 01 */ cmpwi r0, 1 +/* 800F3A18 000F0978 41 82 00 08 */ beq lbl_800F3A20 +/* 800F3A1C 000F097C 38 60 00 01 */ li r3, 1 +lbl_800F3A20: +/* 800F3A20 000F0980 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F3A24 000F0984 41 82 00 0C */ beq lbl_800F3A30 +/* 800F3A28 000F0988 C3 42 91 90 */ lfs f26, lbl_805AAEB0@sda21(r2) +/* 800F3A2C 000F098C 48 00 00 08 */ b lbl_800F3A34 +lbl_800F3A30: +/* 800F3A30 000F0990 C3 42 91 5C */ lfs f26, lbl_805AAE7C@sda21(r2) +lbl_800F3A34: +/* 800F3A34 000F0994 38 61 00 7C */ addi r3, r1, 0x7c +/* 800F3A38 000F0998 38 81 01 1C */ addi r4, r1, 0x11c +/* 800F3A3C 000F099C 48 22 0E 15 */ bl AsNormalized__9CVector3fCFv +/* 800F3A40 000F09A0 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F3A44 000F09A4 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 800F3A48 000F09A8 2C 00 00 02 */ cmpwi r0, 2 +/* 800F3A4C 000F09AC 40 82 00 0C */ bne lbl_800F3A58 +/* 800F3A50 000F09B0 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 800F3A54 000F09B4 48 00 00 08 */ b lbl_800F3A5C +lbl_800F3A58: +/* 800F3A58 000F09B8 38 00 00 04 */ li r0, 4 +lbl_800F3A5C: +/* 800F3A5C 000F09BC 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 800F3A60 000F09C0 54 00 10 3A */ slwi r0, r0, 2 +/* 800F3A64 000F09C4 7F C3 F3 78 */ mr r3, r30 +/* 800F3A68 000F09C8 7C 84 02 14 */ add r4, r4, r0 +/* 800F3A6C 000F09CC C3 64 01 2C */ lfs f27, 0x12c(r4) +/* 800F3A70 000F09D0 48 00 53 95 */ bl GetBallRadius__10CMorphBallCFv +/* 800F3A74 000F09D4 FF 20 08 90 */ fmr f25, f1 +/* 800F3A78 000F09D8 38 61 01 28 */ addi r3, r1, 0x128 +/* 800F3A7C 000F09DC 48 22 0E 3D */ bl Magnitude__9CVector3fCFv +/* 800F3A80 000F09E0 FC 00 D8 50 */ fneg f0, f27 +/* 800F3A84 000F09E4 C0 82 92 58 */ lfs f4, lbl_805AAF78@sda21(r2) +/* 800F3A88 000F09E8 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 800F3A8C 000F09EC 38 61 00 70 */ addi r3, r1, 0x70 +/* 800F3A90 000F09F0 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 800F3A94 000F09F4 38 81 01 34 */ addi r4, r1, 0x134 +/* 800F3A98 000F09F8 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800F3A9C 000F09FC C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800F3AA0 000F0A00 EC 3A 00 72 */ fmuls f1, f26, f1 +/* 800F3AA4 000F0A04 EC 24 00 72 */ fmuls f1, f4, f1 +/* 800F3AA8 000F0A08 EC 21 C8 24 */ fdivs f1, f1, f25 +/* 800F3AAC 000F0A0C EF 61 00 F2 */ fmuls f27, f1, f3 +/* 800F3AB0 000F0A10 EF 41 00 B2 */ fmuls f26, f1, f2 +/* 800F3AB4 000F0A14 EF 21 00 32 */ fmuls f25, f1, f0 +/* 800F3AB8 000F0A18 48 22 0D 99 */ bl AsNormalized__9CVector3fCFv +/* 800F3ABC 000F0A1C C0 61 00 74 */ lfs f3, 0x74(r1) +/* 800F3AC0 000F0A20 38 81 01 10 */ addi r4, r1, 0x110 +/* 800F3AC4 000F0A24 C0 81 00 78 */ lfs f4, 0x78(r1) +/* 800F3AC8 000F0A28 C0 A1 00 70 */ lfs f5, 0x70(r1) +/* 800F3ACC 000F0A2C EC 5B 00 F2 */ fmuls f2, f27, f3 +/* 800F3AD0 000F0A30 EC 3A 01 32 */ fmuls f1, f26, f4 +/* 800F3AD4 000F0A34 EC 19 01 72 */ fmuls f0, f25, f5 +/* 800F3AD8 000F0A38 EC 45 16 B8 */ fmsubs f2, f5, f26, f2 +/* 800F3ADC 000F0A3C EC 23 0E 78 */ fmsubs f1, f3, f25, f1 +/* 800F3AE0 000F0A40 EC 04 06 F8 */ fmsubs f0, f4, f27, f0 +/* 800F3AE4 000F0A44 D0 41 01 18 */ stfs f2, 0x118(r1) +/* 800F3AE8 000F0A48 D0 21 01 10 */ stfs f1, 0x110(r1) +/* 800F3AEC 000F0A4C D0 01 01 14 */ stfs f0, 0x114(r1) +/* 800F3AF0 000F0A50 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F3AF4 000F0A54 48 02 88 4D */ bl ApplyTorqueWR__13CPhysicsActorFRC9CVector3f +/* 800F3AF8 000F0A58 48 00 00 80 */ b lbl_800F3B78 +lbl_800F3AFC: +/* 800F3AFC 000F0A5C 7F C3 F3 78 */ mr r3, r30 +/* 800F3B00 000F0A60 48 00 53 05 */ bl GetBallRadius__10CMorphBallCFv +/* 800F3B04 000F0A64 C0 02 92 5C */ lfs f0, lbl_805AAF7C@sda21(r2) +/* 800F3B08 000F0A68 38 61 01 04 */ addi r3, r1, 0x104 +/* 800F3B0C 000F0A6C C0 BE 19 4C */ lfs f5, 0x194c(r30) +/* 800F3B10 000F0A70 EF 20 08 24 */ fdivs f25, f0, f1 +/* 800F3B14 000F0A74 C0 FE 00 14 */ lfs f7, 0x14(r30) +/* 800F3B18 000F0A78 C0 9E 19 3C */ lfs f4, 0x193c(r30) +/* 800F3B1C 000F0A7C C0 DE 00 10 */ lfs f6, 0x10(r30) +/* 800F3B20 000F0A80 C0 7E 19 2C */ lfs f3, 0x192c(r30) +/* 800F3B24 000F0A84 C1 1E 00 18 */ lfs f8, 0x18(r30) +/* 800F3B28 000F0A88 EC 47 01 72 */ fmuls f2, f7, f5 +/* 800F3B2C 000F0A8C EC 28 00 F2 */ fmuls f1, f8, f3 +/* 800F3B30 000F0A90 EC 06 01 32 */ fmuls f0, f6, f4 +/* 800F3B34 000F0A94 EC 44 12 38 */ fmsubs f2, f4, f8, f2 +/* 800F3B38 000F0A98 EC 25 09 B8 */ fmsubs f1, f5, f6, f1 +/* 800F3B3C 000F0A9C EC 03 01 F8 */ fmsubs f0, f3, f7, f0 +/* 800F3B40 000F0AA0 D0 41 01 04 */ stfs f2, 0x104(r1) +/* 800F3B44 000F0AA4 D0 21 01 08 */ stfs f1, 0x108(r1) +/* 800F3B48 000F0AA8 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 800F3B4C 000F0AAC 48 22 0B AD */ bl CanBeNormalized__9CVector3fCFv +/* 800F3B50 000F0AB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F3B54 000F0AB4 41 82 00 24 */ beq lbl_800F3B78 +/* 800F3B58 000F0AB8 38 61 00 64 */ addi r3, r1, 0x64 +/* 800F3B5C 000F0ABC 38 81 01 04 */ addi r4, r1, 0x104 +/* 800F3B60 000F0AC0 48 22 0C F1 */ bl AsNormalized__9CVector3fCFv +/* 800F3B64 000F0AC4 FC 20 C8 90 */ fmr f1, f25 +/* 800F3B68 000F0AC8 C0 42 92 90 */ lfs f2, lbl_805AAFB0@sda21(r2) +/* 800F3B6C 000F0ACC 7F C3 F3 78 */ mr r3, r30 +/* 800F3B70 000F0AD0 38 81 00 64 */ addi r4, r1, 0x64 +/* 800F3B74 000F0AD4 4B FF C3 35 */ bl SpinToSpeed__10CMorphBallFfRC9CVector3ff +lbl_800F3B78: +/* 800F3B78 000F0AD8 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F3B7C 000F0ADC 38 63 01 38 */ addi r3, r3, 0x138 +/* 800F3B80 000F0AE0 48 22 0D 39 */ bl Magnitude__9CVector3fCFv +/* 800F3B84 000F0AE4 FF 20 08 90 */ fmr f25, f1 +/* 800F3B88 000F0AE8 7F C3 F3 78 */ mr r3, r30 +/* 800F3B8C 000F0AEC 4B FF F8 F1 */ bl GetMinimumAlignmentSpeed__10CMorphBallCFv +/* 800F3B90 000F0AF0 FC 19 08 40 */ fcmpo cr0, f25, f1 +/* 800F3B94 000F0AF4 4C 41 13 82 */ cror 2, 1, 2 +/* 800F3B98 000F0AF8 40 82 01 E8 */ bne lbl_800F3D80 +/* 800F3B9C 000F0AFC 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F3BA0 000F0B00 C0 DE 19 34 */ lfs f6, 0x1934(r30) +/* 800F3BA4 000F0B04 C0 83 00 44 */ lfs f4, 0x44(r3) +/* 800F3BA8 000F0B08 C0 63 00 34 */ lfs f3, 0x34(r3) +/* 800F3BAC 000F0B0C EC 04 01 B2 */ fmuls f0, f4, f6 +/* 800F3BB0 000F0B10 C0 5E 19 24 */ lfs f2, 0x1924(r30) +/* 800F3BB4 000F0B14 C0 A3 00 54 */ lfs f5, 0x54(r3) +/* 800F3BB8 000F0B18 C0 FE 19 44 */ lfs f7, 0x1944(r30) +/* 800F3BBC 000F0B1C EC 23 00 BA */ fmadds f1, f3, f2, f0 +/* 800F3BC0 000F0B20 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F3BC4 000F0B24 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 800F3BC8 000F0B28 EC 25 09 FA */ fmadds f1, f5, f7, f1 +/* 800F3BCC 000F0B2C D0 C1 00 FC */ stfs f6, 0xfc(r1) +/* 800F3BD0 000F0B30 D0 E1 01 00 */ stfs f7, 0x100(r1) +/* 800F3BD4 000F0B34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3BD8 000F0B38 40 80 00 1C */ bge lbl_800F3BF4 +/* 800F3BDC 000F0B3C FC 40 10 50 */ fneg f2, f2 +/* 800F3BE0 000F0B40 FC 20 30 50 */ fneg f1, f6 +/* 800F3BE4 000F0B44 FC 00 38 50 */ fneg f0, f7 +/* 800F3BE8 000F0B48 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 800F3BEC 000F0B4C D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 800F3BF0 000F0B50 D0 01 01 00 */ stfs f0, 0x100(r1) +lbl_800F3BF4: +/* 800F3BF4 000F0B54 C0 C1 00 FC */ lfs f6, 0xfc(r1) +/* 800F3BF8 000F0B58 38 61 00 EC */ addi r3, r1, 0xec +/* 800F3BFC 000F0B5C C0 E1 01 00 */ lfs f7, 0x100(r1) +/* 800F3C00 000F0B60 C1 01 00 F8 */ lfs f8, 0xf8(r1) +/* 800F3C04 000F0B64 EC 26 01 72 */ fmuls f1, f6, f5 +/* 800F3C08 000F0B68 EC 07 00 F2 */ fmuls f0, f7, f3 +/* 800F3C0C 000F0B6C EC 48 01 32 */ fmuls f2, f8, f4 +/* 800F3C10 000F0B70 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 +/* 800F3C14 000F0B74 EC 05 02 38 */ fmsubs f0, f5, f8, f0 +/* 800F3C18 000F0B78 EC 43 11 B8 */ fmsubs f2, f3, f6, f2 +/* 800F3C1C 000F0B7C D0 21 00 EC */ stfs f1, 0xec(r1) +/* 800F3C20 000F0B80 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 800F3C24 000F0B84 D0 41 00 F4 */ stfs f2, 0xf4(r1) +/* 800F3C28 000F0B88 48 22 0A D1 */ bl CanBeNormalized__9CVector3fCFv +/* 800F3C2C 000F0B8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F3C30 000F0B90 41 82 01 20 */ beq lbl_800F3D50 +/* 800F3C34 000F0B94 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 800F3C38 000F0B98 28 00 00 00 */ cmplwi r0, 0 +/* 800F3C3C 000F0B9C 40 82 00 8C */ bne lbl_800F3CC8 +/* 800F3C40 000F0BA0 38 61 00 58 */ addi r3, r1, 0x58 +/* 800F3C44 000F0BA4 38 81 00 EC */ addi r4, r1, 0xec +/* 800F3C48 000F0BA8 48 22 0C 09 */ bl AsNormalized__9CVector3fCFv +/* 800F3C4C 000F0BAC 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 800F3C50 000F0BB0 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F3C54 000F0BB4 C0 64 01 E0 */ lfs f3, 0x1e0(r4) +/* 800F3C58 000F0BB8 C0 41 00 58 */ lfs f2, 0x58(r1) +/* 800F3C5C 000F0BBC 38 63 01 80 */ addi r3, r3, 0x180 +/* 800F3C60 000F0BC0 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 800F3C64 000F0BC4 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800F3C68 000F0BC8 EF 43 00 B2 */ fmuls f26, f3, f2 +/* 800F3C6C 000F0BCC EF 23 00 72 */ fmuls f25, f3, f1 +/* 800F3C70 000F0BD0 EF 03 00 32 */ fmuls f24, f3, f0 +/* 800F3C74 000F0BD4 4B F2 78 BD */ bl GetVector__10CAxisAngleCFv +/* 800F3C78 000F0BD8 C0 43 00 04 */ lfs f2, 4(r3) +/* 800F3C7C 000F0BDC 38 81 00 40 */ addi r4, r1, 0x40 +/* 800F3C80 000F0BE0 C0 23 00 08 */ lfs f1, 8(r3) +/* 800F3C84 000F0BE4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F3C88 000F0BE8 EC 42 C8 2A */ fadds f2, f2, f25 +/* 800F3C8C 000F0BEC EC 21 C0 2A */ fadds f1, f1, f24 +/* 800F3C90 000F0BF0 38 61 00 4C */ addi r3, r1, 0x4c +/* 800F3C94 000F0BF4 EC 00 D0 2A */ fadds f0, f0, f26 +/* 800F3C98 000F0BF8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800F3C9C 000F0BFC D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800F3CA0 000F0C00 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800F3CA4 000F0C04 4B F2 78 9D */ bl FromVector__10CAxisAngleFRC9CVector3f +/* 800F3CA8 000F0C08 80 9E 00 00 */ lwz r4, 0(r30) +/* 800F3CAC 000F0C0C 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 800F3CB0 000F0C10 80 01 00 50 */ lwz r0, 0x50(r1) +/* 800F3CB4 000F0C14 90 64 01 80 */ stw r3, 0x180(r4) +/* 800F3CB8 000F0C18 90 04 01 84 */ stw r0, 0x184(r4) +/* 800F3CBC 000F0C1C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800F3CC0 000F0C20 90 04 01 88 */ stw r0, 0x188(r4) +/* 800F3CC4 000F0C24 48 00 00 8C */ b lbl_800F3D50 +lbl_800F3CC8: +/* 800F3CC8 000F0C28 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F3CCC 000F0C2C 7F C4 F3 78 */ mr r4, r30 +/* 800F3CD0 000F0C30 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F3CD4 000F0C34 38 61 01 64 */ addi r3, r1, 0x164 +/* 800F3CD8 000F0C38 D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 800F3CDC 000F0C3C D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 800F3CE0 000F0C40 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 800F3CE4 000F0C44 48 00 2A 11 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F3CE8 000F0C48 38 61 00 34 */ addi r3, r1, 0x34 +/* 800F3CEC 000F0C4C 38 81 01 64 */ addi r4, r1, 0x164 +/* 800F3CF0 000F0C50 38 A1 00 F8 */ addi r5, r1, 0xf8 +/* 800F3CF4 000F0C54 48 21 ED 31 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800F3CF8 000F0C58 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 800F3CFC 000F0C5C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800F3D00 000F0C60 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 800F3D04 000F0C64 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 800F3D08 000F0C68 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 800F3D0C 000F0C6C 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 800F3D10 000F0C70 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 800F3D14 000F0C74 D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 800F3D18 000F0C78 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 800F3D1C 000F0C7C 48 21 DD 9D */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f +/* 800F3D20 000F0C80 C0 81 00 24 */ lfs f4, 0x24(r1) +/* 800F3D24 000F0C84 FC 20 C0 90 */ fmr f1, f24 +/* 800F3D28 000F0C88 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 800F3D2C 000F0C8C 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 800F3D30 000F0C90 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 800F3D34 000F0C94 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800F3D38 000F0C98 D0 81 00 C4 */ stfs f4, 0xc4(r1) +/* 800F3D3C 000F0C9C D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 800F3D40 000F0CA0 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 800F3D44 000F0CA4 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 800F3D48 000F0CA8 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F3D4C 000F0CAC 48 02 70 11 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf +lbl_800F3D50: +/* 800F3D50 000F0CB0 7F C3 F3 78 */ mr r3, r30 +/* 800F3D54 000F0CB4 4B FF DC 7D */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F3D58 000F0CB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F3D5C 000F0CBC 41 82 00 0C */ beq lbl_800F3D68 +/* 800F3D60 000F0CC0 C3 02 91 E8 */ lfs f24, lbl_805AAF08@sda21(r2) +/* 800F3D64 000F0CC4 48 00 00 08 */ b lbl_800F3D6C +lbl_800F3D68: +/* 800F3D68 000F0CC8 C3 02 91 FC */ lfs f24, lbl_805AAF1C@sda21(r2) +lbl_800F3D6C: +/* 800F3D6C 000F0CCC 38 61 00 EC */ addi r3, r1, 0xec +/* 800F3D70 000F0CD0 48 22 0B 49 */ bl Magnitude__9CVector3fCFv +/* 800F3D74 000F0CD4 FC 01 C0 40 */ fcmpo cr0, f1, f24 +/* 800F3D78 000F0CD8 40 80 00 08 */ bge lbl_800F3D80 +/* 800F3D7C 000F0CDC 3B E0 00 01 */ li r31, 1 +lbl_800F3D80: +/* 800F3D80 000F0CE0 7F E3 FB 78 */ mr r3, r31 +/* 800F3D84 000F0CE4 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 800F3D88 000F0CE8 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 800F3D8C 000F0CEC E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 800F3D90 000F0CF0 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 800F3D94 000F0CF4 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 800F3D98 000F0CF8 CB A1 02 00 */ lfd f29, 0x200(r1) +/* 800F3D9C 000F0CFC E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 +/* 800F3DA0 000F0D00 CB 81 01 F0 */ lfd f28, 0x1f0(r1) +/* 800F3DA4 000F0D04 E3 61 01 E8 */ psq_l f27, 488(r1), 0, qr0 +/* 800F3DA8 000F0D08 CB 61 01 E0 */ lfd f27, 0x1e0(r1) +/* 800F3DAC 000F0D0C E3 41 01 D8 */ psq_l f26, 472(r1), 0, qr0 +/* 800F3DB0 000F0D10 CB 41 01 D0 */ lfd f26, 0x1d0(r1) +/* 800F3DB4 000F0D14 E3 21 01 C8 */ psq_l f25, 456(r1), 0, qr0 +/* 800F3DB8 000F0D18 CB 21 01 C0 */ lfd f25, 0x1c0(r1) +/* 800F3DBC 000F0D1C E3 01 01 B8 */ psq_l f24, 440(r1), 0, qr0 +/* 800F3DC0 000F0D20 CB 01 01 B0 */ lfd f24, 0x1b0(r1) +/* 800F3DC4 000F0D24 83 E1 01 AC */ lwz r31, 0x1ac(r1) +/* 800F3DC8 000F0D28 83 C1 01 A8 */ lwz r30, 0x1a8(r1) +/* 800F3DCC 000F0D2C 83 A1 01 A4 */ lwz r29, 0x1a4(r1) +/* 800F3DD0 000F0D30 80 01 02 34 */ lwz r0, 0x234(r1) +/* 800F3DD4 000F0D34 83 81 01 A0 */ lwz r28, 0x1a0(r1) +/* 800F3DD8 000F0D38 7C 08 03 A6 */ mtlr r0 +/* 800F3DDC 000F0D3C 38 21 02 30 */ addi r1, r1, 0x230 +/* 800F3DE0 000F0D40 4E 80 00 20 */ blr + +.global "GetEntry__22TReservedAverageCFi" +"GetEntry__22TReservedAverageCFi": +/* 800F3DE4 000F0D44 80 04 00 00 */ lwz r0, 0(r4) +/* 800F3DE8 000F0D48 7C 05 00 00 */ cmpw r5, r0 +/* 800F3DEC 000F0D4C 41 80 00 10 */ blt lbl_800F3DFC +/* 800F3DF0 000F0D50 38 00 00 00 */ li r0, 0 +/* 800F3DF4 000F0D54 98 03 00 04 */ stb r0, 4(r3) +/* 800F3DF8 000F0D58 4E 80 00 20 */ blr +lbl_800F3DFC: +/* 800F3DFC 000F0D5C 38 00 00 01 */ li r0, 1 +/* 800F3E00 000F0D60 28 03 00 00 */ cmplwi r3, 0 +/* 800F3E04 000F0D64 54 A5 10 3A */ slwi r5, r5, 2 +/* 800F3E08 000F0D68 98 03 00 04 */ stb r0, 4(r3) +/* 800F3E0C 000F0D6C 7C 84 2A 14 */ add r4, r4, r5 +/* 800F3E10 000F0D70 4D 82 00 20 */ beqlr +/* 800F3E14 000F0D74 C0 04 00 04 */ lfs f0, 4(r4) +/* 800F3E18 000F0D78 D0 03 00 00 */ stfs f0, 0(r3) +/* 800F3E1C 000F0D7C 4E 80 00 20 */ blr + +.global CancelBoosting__10CMorphBallFv +CancelBoosting__10CMorphBallFv: +/* 800F3E20 000F0D80 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800F3E24 000F0D84 7C 08 02 A6 */ mflr r0 +/* 800F3E28 000F0D88 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F3E2C 000F0D8C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800F3E30 000F0D90 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800F3E34 000F0D94 7C 7F 1B 78 */ mr r31, r3 +/* 800F3E38 000F0D98 D0 03 1D E8 */ stfs f0, 0x1de8(r3) +/* 800F3E3C 000F0D9C D0 03 1D F4 */ stfs f0, 0x1df4(r3) +/* 800F3E40 000F0DA0 80 03 1E 20 */ lwz r0, 0x1e20(r3) +/* 800F3E44 000F0DA4 2C 00 00 01 */ cmpwi r0, 1 +/* 800F3E48 000F0DA8 40 82 00 68 */ bne lbl_800F3EB0 +/* 800F3E4C 000F0DAC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F3E50 000F0DB0 38 C0 00 00 */ li r6, 0 +/* 800F3E54 000F0DB4 38 60 FF FF */ li r3, -1 +/* 800F3E58 000F0DB8 38 00 00 01 */ li r0, 1 +/* 800F3E5C 000F0DBC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800F3E60 000F0DC0 38 81 00 0C */ addi r4, r1, 0xc +/* 800F3E64 000F0DC4 38 A0 00 00 */ li r5, 0 +/* 800F3E68 000F0DC8 90 61 00 10 */ stw r3, 0x10(r1) +/* 800F3E6C 000F0DCC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800F3E70 000F0DD0 98 01 00 18 */ stb r0, 0x18(r1) +/* 800F3E74 000F0DD4 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800F3E78 000F0DD8 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800F3E7C 000F0DDC 98 C1 00 24 */ stb r6, 0x24(r1) +/* 800F3E80 000F0DE0 90 C1 00 28 */ stw r6, 0x28(r1) +/* 800F3E84 000F0DE4 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 800F3E88 000F0DE8 90 C1 00 30 */ stw r6, 0x30(r1) +/* 800F3E8C 000F0DEC 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 800F3E90 000F0DF0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800F3E94 000F0DF4 4B F3 8E E9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800F3E98 000F0DF8 38 00 00 00 */ li r0, 0 +/* 800F3E9C 000F0DFC 38 61 00 08 */ addi r3, r1, 8 +/* 800F3EA0 000F0E00 90 1F 1E 20 */ stw r0, 0x1e20(r31) +/* 800F3EA4 000F0E04 80 1F 1E 24 */ lwz r0, 0x1e24(r31) +/* 800F3EA8 000F0E08 90 01 00 08 */ stw r0, 8(r1) +/* 800F3EAC 000F0E0C 48 1F 5E 9D */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +lbl_800F3EB0: +/* 800F3EB0 000F0E10 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800F3EB4 000F0E14 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800F3EB8 000F0E18 7C 08 03 A6 */ mtlr r0 +/* 800F3EBC 000F0E1C 38 21 00 40 */ addi r1, r1, 0x40 +/* 800F3EC0 000F0E20 4E 80 00 20 */ blr + +.global LeaveBoosting__10CMorphBallFv +LeaveBoosting__10CMorphBallFv: +/* 800F3EC4 000F0E24 88 03 1D E4 */ lbz r0, 0x1de4(r3) +/* 800F3EC8 000F0E28 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800F3ECC 000F0E2C 41 82 00 10 */ beq lbl_800F3EDC +/* 800F3ED0 000F0E30 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F3ED4 000F0E34 D0 03 1D EC */ stfs f0, 0x1dec(r3) +/* 800F3ED8 000F0E38 D0 03 1D E8 */ stfs f0, 0x1de8(r3) +lbl_800F3EDC: +/* 800F3EDC 000F0E3C 88 03 1D E4 */ lbz r0, 0x1de4(r3) +/* 800F3EE0 000F0E40 38 80 00 00 */ li r4, 0 +/* 800F3EE4 000F0E44 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800F3EE8 000F0E48 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F3EEC 000F0E4C 98 03 1D E4 */ stb r0, 0x1de4(r3) +/* 800F3EF0 000F0E50 D0 03 1D F4 */ stfs f0, 0x1df4(r3) +/* 800F3EF4 000F0E54 4E 80 00 20 */ blr + +.global EnterBoosting__10CMorphBallFR13CStateManager +EnterBoosting__10CMorphBallFR13CStateManager: +/* 800F3EF8 000F0E58 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800F3EFC 000F0E5C 7C 08 02 A6 */ mflr r0 +/* 800F3F00 000F0E60 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800F3F04 000F0E64 DB E1 00 B0 */ stfd f31, 0xb0(r1) +/* 800F3F08 000F0E68 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 +/* 800F3F0C 000F0E6C DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 800F3F10 000F0E70 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 +/* 800F3F14 000F0E74 DB A1 00 90 */ stfd f29, 0x90(r1) +/* 800F3F18 000F0E78 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 +/* 800F3F1C 000F0E7C DB 81 00 80 */ stfd f28, 0x80(r1) +/* 800F3F20 000F0E80 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 +/* 800F3F24 000F0E84 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 800F3F28 000F0E88 93 C1 00 78 */ stw r30, 0x78(r1) +/* 800F3F2C 000F0E8C 7C 7E 1B 78 */ mr r30, r3 +/* 800F3F30 000F0E90 38 60 00 01 */ li r3, 1 +/* 800F3F34 000F0E94 88 1E 1D E4 */ lbz r0, 0x1de4(r30) +/* 800F3F38 000F0E98 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800F3F3C 000F0E9C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F3F40 000F0EA0 7C 9F 23 78 */ mr r31, r4 +/* 800F3F44 000F0EA4 98 1E 1D E4 */ stb r0, 0x1de4(r30) +/* 800F3F48 000F0EA8 C0 3E 1D E8 */ lfs f1, 0x1de8(r30) +/* 800F3F4C 000F0EAC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F3F50 000F0EB0 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F3F54 000F0EB4 C0 03 02 20 */ lfs f0, 0x220(r3) +/* 800F3F58 000F0EB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3F5C 000F0EBC 4C 40 13 82 */ cror 2, 0, 2 +/* 800F3F60 000F0EC0 40 82 00 10 */ bne lbl_800F3F70 +/* 800F3F64 000F0EC4 C0 03 02 2C */ lfs f0, 0x22c(r3) +/* 800F3F68 000F0EC8 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F3F6C 000F0ECC 48 00 00 38 */ b lbl_800F3FA4 +lbl_800F3F70: +/* 800F3F70 000F0ED0 C0 03 02 24 */ lfs f0, 0x224(r3) +/* 800F3F74 000F0ED4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3F78 000F0ED8 4C 40 13 82 */ cror 2, 0, 2 +/* 800F3F7C 000F0EDC 40 82 00 10 */ bne lbl_800F3F8C +/* 800F3F80 000F0EE0 C0 03 02 30 */ lfs f0, 0x230(r3) +/* 800F3F84 000F0EE4 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F3F88 000F0EE8 48 00 00 1C */ b lbl_800F3FA4 +lbl_800F3F8C: +/* 800F3F8C 000F0EEC C0 03 02 28 */ lfs f0, 0x228(r3) +/* 800F3F90 000F0EF0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3F94 000F0EF4 4C 40 13 82 */ cror 2, 0, 2 +/* 800F3F98 000F0EF8 40 82 00 0C */ bne lbl_800F3FA4 +/* 800F3F9C 000F0EFC C0 03 02 34 */ lfs f0, 0x234(r3) +/* 800F3FA0 000F0F00 D0 01 00 08 */ stfs f0, 8(r1) +lbl_800F3FA4: +/* 800F3FA4 000F0F04 7F C3 F3 78 */ mr r3, r30 +/* 800F3FA8 000F0F08 4B FF DA 29 */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F3FAC 000F0F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F3FB0 000F0F10 41 82 00 58 */ beq lbl_800F4008 +/* 800F3FB4 000F0F14 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F3FB8 000F0F18 38 63 01 38 */ addi r3, r3, 0x138 +/* 800F3FBC 000F0F1C 48 22 08 FD */ bl Magnitude__9CVector3fCFv +/* 800F3FC0 000F0F20 C0 42 91 6C */ lfs f2, lbl_805AAE8C@sda21(r2) +/* 800F3FC4 000F0F24 C0 02 92 94 */ lfs f0, lbl_805AAFB4@sda21(r2) +/* 800F3FC8 000F0F28 EC 21 10 24 */ fdivs f1, f1, f2 +/* 800F3FCC 000F0F2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3FD0 000F0F30 40 81 00 14 */ ble lbl_800F3FE4 +/* 800F3FD4 000F0F34 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F3FD8 000F0F38 C0 21 00 08 */ lfs f1, 8(r1) +/* 800F3FDC 000F0F3C EC 01 08 3C */ fnmsubs f0, f1, f0, f1 +/* 800F3FE0 000F0F40 D0 01 00 08 */ stfs f0, 8(r1) +lbl_800F3FE4: +/* 800F3FE4 000F0F44 C0 2D 88 A8 */ lfs f1, lbl_805A7468@sda21(r13) +/* 800F3FE8 000F0F48 C0 01 00 08 */ lfs f0, 8(r1) +/* 800F3FEC 000F0F4C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F3FF0 000F0F50 40 80 00 0C */ bge lbl_800F3FFC +/* 800F3FF4 000F0F54 38 61 00 08 */ addi r3, r1, 8 +/* 800F3FF8 000F0F58 48 00 00 08 */ b lbl_800F4000 +lbl_800F3FFC: +/* 800F3FFC 000F0F5C 38 6D 88 A8 */ addi r3, r13, lbl_805A7468@sda21 +lbl_800F4000: +/* 800F4000 000F0F60 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F4004 000F0F64 D0 01 00 08 */ stfs f0, 8(r1) +lbl_800F4008: +/* 800F4008 000F0F68 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F400C 000F0F6C C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) +/* 800F4010 000F0F70 C3 C3 05 04 */ lfs f30, 0x504(r3) +/* 800F4014 000F0F74 C3 E3 05 00 */ lfs f31, 0x500(r3) +/* 800F4018 000F0F78 EC 1E 07 B2 */ fmuls f0, f30, f30 +/* 800F401C 000F0F7C C3 A3 05 08 */ lfs f29, 0x508(r3) +/* 800F4020 000F0F80 EC 9F 07 FA */ fmadds f4, f31, f31, f0 +/* 800F4024 000F0F84 FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 800F4028 000F0F88 40 81 00 58 */ ble lbl_800F4080 +/* 800F402C 000F0F8C FC 20 20 34 */ frsqrte f1, f4 +/* 800F4030 000F0F90 C8 62 92 78 */ lfd f3, lbl_805AAF98@sda21(r2) +/* 800F4034 000F0F94 C8 42 92 98 */ lfd f2, lbl_805AAFB8@sda21(r2) +/* 800F4038 000F0F98 FC 01 00 72 */ fmul f0, f1, f1 +/* 800F403C 000F0F9C FC 23 00 72 */ fmul f1, f3, f1 +/* 800F4040 000F0FA0 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 800F4044 000F0FA4 FC 21 00 32 */ fmul f1, f1, f0 +/* 800F4048 000F0FA8 FC 01 00 72 */ fmul f0, f1, f1 +/* 800F404C 000F0FAC FC 23 00 72 */ fmul f1, f3, f1 +/* 800F4050 000F0FB0 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 800F4054 000F0FB4 FC 21 00 32 */ fmul f1, f1, f0 +/* 800F4058 000F0FB8 FC 01 00 72 */ fmul f0, f1, f1 +/* 800F405C 000F0FBC FC 23 00 72 */ fmul f1, f3, f1 +/* 800F4060 000F0FC0 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 800F4064 000F0FC4 FC 21 00 32 */ fmul f1, f1, f0 +/* 800F4068 000F0FC8 FC 01 00 72 */ fmul f0, f1, f1 +/* 800F406C 000F0FCC FC 23 00 72 */ fmul f1, f3, f1 +/* 800F4070 000F0FD0 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 800F4074 000F0FD4 FC 01 00 32 */ fmul f0, f1, f0 +/* 800F4078 000F0FD8 FC 24 00 32 */ fmul f1, f4, f0 +/* 800F407C 000F0FDC 48 00 00 2C */ b lbl_800F40A8 +lbl_800F4080: +/* 800F4080 000F0FE0 FC 01 20 00 */ fcmpu cr0, f1, f4 +/* 800F4084 000F0FE4 40 82 00 08 */ bne lbl_800F408C +/* 800F4088 000F0FE8 48 00 00 20 */ b lbl_800F40A8 +lbl_800F408C: +/* 800F408C 000F0FEC FC 04 08 00 */ fcmpu cr0, f4, f1 +/* 800F4090 000F0FF0 41 82 00 10 */ beq lbl_800F40A0 +/* 800F4094 000F0FF4 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 800F4098 000F0FF8 C0 23 8B A0 */ lfs f1, lbl_805A8BA0@l(r3) +/* 800F409C 000F0FFC 48 00 00 0C */ b lbl_800F40A8 +lbl_800F40A0: +/* 800F40A0 000F1000 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 800F40A4 000F1004 C0 23 8B A4 */ lfs f1, lbl_805A8BA4@l(r3) +lbl_800F40A8: +/* 800F40A8 000F1008 FF 80 08 18 */ frsp f28, f1 +/* 800F40AC 000F100C FC 20 E8 90 */ fmr f1, f29 +/* 800F40B0 000F1010 FC 40 E0 90 */ fmr f2, f28 +/* 800F40B4 000F1014 48 2A 0B B9 */ bl atan2 +/* 800F40B8 000F1018 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F40BC 000F101C FC 20 08 18 */ frsp f1, f1 +/* 800F40C0 000F1020 C0 42 92 A4 */ lfs f2, lbl_805AAFC4@sda21(r2) +/* 800F40C4 000F1024 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 800F40C8 000F1028 C0 62 92 A0 */ lfs f3, lbl_805AAFC0@sda21(r2) +/* 800F40CC 000F102C EC 42 00 72 */ fmuls f2, f2, f1 +/* 800F40D0 000F1030 C8 22 92 A8 */ lfd f1, lbl_805AAFC8@sda21(r2) +/* 800F40D4 000F1034 FC 80 02 10 */ fabs f4, f0 +/* 800F40D8 000F1038 EC 03 00 B2 */ fmuls f0, f3, f2 +/* 800F40DC 000F103C FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 800F40E0 000F1040 40 80 01 A8 */ bge lbl_800F4288 +/* 800F40E4 000F1044 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F40E8 000F1048 80 03 02 58 */ lwz r0, 0x258(r3) +/* 800F40EC 000F104C 2C 00 00 00 */ cmpwi r0, 0 +/* 800F40F0 000F1050 40 82 01 98 */ bne lbl_800F4288 +/* 800F40F4 000F1054 C0 23 01 3C */ lfs f1, 0x13c(r3) +/* 800F40F8 000F1058 C0 63 01 38 */ lfs f3, 0x138(r3) +/* 800F40FC 000F105C EC 21 00 72 */ fmuls f1, f1, f1 +/* 800F4100 000F1060 C8 42 91 D0 */ lfd f2, lbl_805AAEF0@sda21(r2) +/* 800F4104 000F1064 C0 A3 01 40 */ lfs f5, 0x140(r3) +/* 800F4108 000F1068 EC C3 08 FA */ fmadds f6, f3, f3, f1 +/* 800F410C 000F106C FC 06 10 40 */ fcmpo cr0, f6, f2 +/* 800F4110 000F1070 40 81 00 58 */ ble lbl_800F4168 +/* 800F4114 000F1074 FC 40 30 34 */ frsqrte f2, f6 +/* 800F4118 000F1078 C8 82 92 78 */ lfd f4, lbl_805AAF98@sda21(r2) +/* 800F411C 000F107C C8 62 92 98 */ lfd f3, lbl_805AAFB8@sda21(r2) +/* 800F4120 000F1080 FC 22 00 B2 */ fmul f1, f2, f2 +/* 800F4124 000F1084 FC 44 00 B2 */ fmul f2, f4, f2 +/* 800F4128 000F1088 FC 26 18 7C */ fnmsub f1, f6, f1, f3 +/* 800F412C 000F108C FC 42 00 72 */ fmul f2, f2, f1 +/* 800F4130 000F1090 FC 22 00 B2 */ fmul f1, f2, f2 +/* 800F4134 000F1094 FC 44 00 B2 */ fmul f2, f4, f2 +/* 800F4138 000F1098 FC 26 18 7C */ fnmsub f1, f6, f1, f3 +/* 800F413C 000F109C FC 42 00 72 */ fmul f2, f2, f1 +/* 800F4140 000F10A0 FC 22 00 B2 */ fmul f1, f2, f2 +/* 800F4144 000F10A4 FC 44 00 B2 */ fmul f2, f4, f2 +/* 800F4148 000F10A8 FC 26 18 7C */ fnmsub f1, f6, f1, f3 +/* 800F414C 000F10AC FC 42 00 72 */ fmul f2, f2, f1 +/* 800F4150 000F10B0 FC 22 00 B2 */ fmul f1, f2, f2 +/* 800F4154 000F10B4 FC 44 00 B2 */ fmul f2, f4, f2 +/* 800F4158 000F10B8 FC 26 18 7C */ fnmsub f1, f6, f1, f3 +/* 800F415C 000F10BC FC 22 00 72 */ fmul f1, f2, f1 +/* 800F4160 000F10C0 FC 46 00 72 */ fmul f2, f6, f1 +/* 800F4164 000F10C4 48 00 00 2C */ b lbl_800F4190 +lbl_800F4168: +/* 800F4168 000F10C8 FC 02 30 00 */ fcmpu cr0, f2, f6 +/* 800F416C 000F10CC 40 82 00 08 */ bne lbl_800F4174 +/* 800F4170 000F10D0 48 00 00 20 */ b lbl_800F4190 +lbl_800F4174: +/* 800F4174 000F10D4 FC 06 10 00 */ fcmpu cr0, f6, f2 +/* 800F4178 000F10D8 41 82 00 10 */ beq lbl_800F4188 +/* 800F417C 000F10DC 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 800F4180 000F10E0 C0 43 8B A0 */ lfs f2, lbl_805A8BA0@l(r3) +/* 800F4184 000F10E4 48 00 00 0C */ b lbl_800F4190 +lbl_800F4188: +/* 800F4188 000F10E8 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 800F418C 000F10EC C0 43 8B A4 */ lfs f2, lbl_805A8BA4@l(r3) +lbl_800F4190: +/* 800F4190 000F10F0 FC 60 10 18 */ frsp f3, f2 +/* 800F4194 000F10F4 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) +/* 800F4198 000F10F8 C8 22 92 B0 */ lfd f1, lbl_805AAFD0@sda21(r2) +/* 800F419C 000F10FC EC 43 10 28 */ fsubs f2, f3, f2 +/* 800F41A0 000F1100 FC 40 12 10 */ fabs f2, f2 +/* 800F41A4 000F1104 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800F41A8 000F1108 40 80 00 E0 */ bge lbl_800F4288 +/* 800F41AC 000F110C FC 40 2A 10 */ fabs f2, f5 +/* 800F41B0 000F1110 C0 22 91 D8 */ lfs f1, lbl_805AAEF8@sda21(r2) +/* 800F41B4 000F1114 FC 40 10 18 */ frsp f2, f2 +/* 800F41B8 000F1118 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800F41BC 000F111C 40 80 00 CC */ bge lbl_800F4288 +/* 800F41C0 000F1120 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 800F41C4 000F1124 7F E4 FB 78 */ mr r4, r31 +/* 800F41C8 000F1128 4B F1 79 51 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800F41CC 000F112C C3 C3 00 48 */ lfs f30, 0x48(r3) +/* 800F41D0 000F1130 C3 E3 00 38 */ lfs f31, 0x38(r3) +/* 800F41D4 000F1134 EC 1E 07 B2 */ fmuls f0, f30, f30 +/* 800F41D8 000F1138 C8 42 91 D0 */ lfd f2, lbl_805AAEF0@sda21(r2) +/* 800F41DC 000F113C C3 A3 00 58 */ lfs f29, 0x58(r3) +/* 800F41E0 000F1140 EC 9F 07 FA */ fmadds f4, f31, f31, f0 +/* 800F41E4 000F1144 FC 04 10 40 */ fcmpo cr0, f4, f2 +/* 800F41E8 000F1148 40 81 00 58 */ ble lbl_800F4240 +/* 800F41EC 000F114C FC 20 20 34 */ frsqrte f1, f4 +/* 800F41F0 000F1150 C8 62 92 78 */ lfd f3, lbl_805AAF98@sda21(r2) +/* 800F41F4 000F1154 C8 42 92 98 */ lfd f2, lbl_805AAFB8@sda21(r2) +/* 800F41F8 000F1158 FC 01 00 72 */ fmul f0, f1, f1 +/* 800F41FC 000F115C FC 23 00 72 */ fmul f1, f3, f1 +/* 800F4200 000F1160 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 800F4204 000F1164 FC 21 00 32 */ fmul f1, f1, f0 +/* 800F4208 000F1168 FC 01 00 72 */ fmul f0, f1, f1 +/* 800F420C 000F116C FC 23 00 72 */ fmul f1, f3, f1 +/* 800F4210 000F1170 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 800F4214 000F1174 FC 21 00 32 */ fmul f1, f1, f0 +/* 800F4218 000F1178 FC 01 00 72 */ fmul f0, f1, f1 +/* 800F421C 000F117C FC 23 00 72 */ fmul f1, f3, f1 +/* 800F4220 000F1180 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 800F4224 000F1184 FC 21 00 32 */ fmul f1, f1, f0 +/* 800F4228 000F1188 FC 01 00 72 */ fmul f0, f1, f1 +/* 800F422C 000F118C FC 23 00 72 */ fmul f1, f3, f1 +/* 800F4230 000F1190 FC 04 10 3C */ fnmsub f0, f4, f0, f2 +/* 800F4234 000F1194 FC 01 00 32 */ fmul f0, f1, f0 +/* 800F4238 000F1198 FC 44 00 32 */ fmul f2, f4, f0 +/* 800F423C 000F119C 48 00 00 2C */ b lbl_800F4268 +lbl_800F4240: +/* 800F4240 000F11A0 FC 02 20 00 */ fcmpu cr0, f2, f4 +/* 800F4244 000F11A4 40 82 00 08 */ bne lbl_800F424C +/* 800F4248 000F11A8 48 00 00 20 */ b lbl_800F4268 +lbl_800F424C: +/* 800F424C 000F11AC FC 04 10 00 */ fcmpu cr0, f4, f2 +/* 800F4250 000F11B0 41 82 00 10 */ beq lbl_800F4260 +/* 800F4254 000F11B4 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha +/* 800F4258 000F11B8 C0 43 8B A0 */ lfs f2, lbl_805A8BA0@l(r3) +/* 800F425C 000F11BC 48 00 00 0C */ b lbl_800F4268 +lbl_800F4260: +/* 800F4260 000F11C0 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha +/* 800F4264 000F11C4 C0 43 8B A4 */ lfs f2, lbl_805A8BA4@l(r3) +lbl_800F4268: +/* 800F4268 000F11C8 FC 20 E8 90 */ fmr f1, f29 +/* 800F426C 000F11CC FC 40 10 18 */ frsp f2, f2 +/* 800F4270 000F11D0 48 2A 09 FD */ bl atan2 +/* 800F4274 000F11D4 FC 00 08 18 */ frsp f0, f1 +/* 800F4278 000F11D8 C0 22 92 A4 */ lfs f1, lbl_805AAFC4@sda21(r2) +/* 800F427C 000F11DC C0 42 92 A0 */ lfs f2, lbl_805AAFC0@sda21(r2) +/* 800F4280 000F11E0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F4284 000F11E4 EC 02 00 32 */ fmuls f0, f2, f0 +lbl_800F4288: +/* 800F4288 000F11E8 C0 22 91 B0 */ lfs f1, lbl_805AAED0@sda21(r2) +/* 800F428C 000F11EC C0 62 91 5C */ lfs f3, lbl_805AAE7C@sda21(r2) +/* 800F4290 000F11F0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F4294 000F11F4 40 81 00 1C */ ble lbl_800F42B0 +/* 800F4298 000F11F8 EC 40 08 28 */ fsubs f2, f0, f1 +/* 800F429C 000F11FC C0 02 92 B8 */ lfs f0, lbl_805AAFD8@sda21(r2) +/* 800F42A0 000F1200 C0 22 92 BC */ lfs f1, lbl_805AAFDC@sda21(r2) +/* 800F42A4 000F1204 EC 42 00 24 */ fdivs f2, f2, f0 +/* 800F42A8 000F1208 EC 03 10 28 */ fsubs f0, f3, f2 +/* 800F42AC 000F120C EC 61 00 BA */ fmadds f3, f1, f2, f0 +lbl_800F42B0: +/* 800F42B0 000F1210 C0 01 00 08 */ lfs f0, 8(r1) +/* 800F42B4 000F1214 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F42B8 000F1218 EC 23 00 32 */ fmuls f1, f3, f0 +/* 800F42BC 000F121C C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 800F42C0 000F1220 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F42C4 000F1224 EC 40 07 F2 */ fmuls f2, f0, f31 +/* 800F42C8 000F1228 EC 20 07 B2 */ fmuls f1, f0, f30 +/* 800F42CC 000F122C EC 00 07 72 */ fmuls f0, f0, f29 +/* 800F42D0 000F1230 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800F42D4 000F1234 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800F42D8 000F1238 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800F42DC 000F123C 4B F2 72 59 */ bl Identity__10CAxisAngleFv +/* 800F42E0 000F1240 7C 65 1B 78 */ mr r5, r3 +/* 800F42E4 000F1244 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F42E8 000F1248 38 81 00 18 */ addi r4, r1, 0x18 +/* 800F42EC 000F124C 48 02 80 AD */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800F42F0 000F1250 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F42F4 000F1254 38 61 00 24 */ addi r3, r1, 0x24 +/* 800F42F8 000F1258 38 9E 19 24 */ addi r4, r30, 0x1924 +/* 800F42FC 000F125C D0 1E 1D F4 */ stfs f0, 0x1df4(r30) +/* 800F4300 000F1260 D0 1E 1D E8 */ stfs f0, 0x1de8(r30) +/* 800F4304 000F1264 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F4308 000F1268 C0 45 00 60 */ lfs f2, 0x60(r5) +/* 800F430C 000F126C C0 25 00 50 */ lfs f1, 0x50(r5) +/* 800F4310 000F1270 C0 05 00 40 */ lfs f0, 0x40(r5) +/* 800F4314 000F1274 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800F4318 000F1278 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800F431C 000F127C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800F4320 000F1280 48 21 ED D5 */ bl BuildMatrix3f__12CTransform4fCFv +/* 800F4324 000F1284 38 61 00 48 */ addi r3, r1, 0x48 +/* 800F4328 000F1288 38 81 00 24 */ addi r4, r1, 0x24 +/* 800F432C 000F128C 38 A1 00 0C */ addi r5, r1, 0xc +/* 800F4330 000F1290 48 21 EF 49 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 800F4334 000F1294 83 FE 00 00 */ lwz r31, 0(r30) +/* 800F4338 000F1298 38 81 00 48 */ addi r4, r1, 0x48 +/* 800F433C 000F129C 38 7F 00 34 */ addi r3, r31, 0x34 +/* 800F4340 000F12A0 48 21 E8 01 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800F4344 000F12A4 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800F4348 000F12A8 38 80 00 01 */ li r4, 1 +/* 800F434C 000F12AC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 800F4350 000F12B0 7F C3 F3 78 */ mr r3, r30 +/* 800F4354 000F12B4 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800F4358 000F12B8 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800F435C 000F12BC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 800F4360 000F12C0 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800F4364 000F12C4 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800F4368 000F12C8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 800F436C 000F12CC 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800F4370 000F12D0 48 00 17 A9 */ bl SwitchToTire__10CMorphBallFv +/* 800F4374 000F12D4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 +/* 800F4378 000F12D8 CB E1 00 B0 */ lfd f31, 0xb0(r1) +/* 800F437C 000F12DC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 +/* 800F4380 000F12E0 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 800F4384 000F12E4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 +/* 800F4388 000F12E8 CB A1 00 90 */ lfd f29, 0x90(r1) +/* 800F438C 000F12EC E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 +/* 800F4390 000F12F0 CB 81 00 80 */ lfd f28, 0x80(r1) +/* 800F4394 000F12F4 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 800F4398 000F12F8 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800F439C 000F12FC 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 800F43A0 000F1300 7C 08 03 A6 */ mtlr r0 +/* 800F43A4 000F1304 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800F43A8 000F1308 4E 80 00 20 */ blr + +.global ComputeBoostBallMovement__10CMorphBallFRC11CFinalInputRC13CStateManagerf +ComputeBoostBallMovement__10CMorphBallFRC11CFinalInputRC13CStateManagerf: +/* 800F43AC 000F130C 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 800F43B0 000F1310 7C 08 02 A6 */ mflr r0 +/* 800F43B4 000F1314 90 01 01 54 */ stw r0, 0x154(r1) +/* 800F43B8 000F1318 DB E1 01 40 */ stfd f31, 0x140(r1) +/* 800F43BC 000F131C F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 +/* 800F43C0 000F1320 93 E1 01 3C */ stw r31, 0x13c(r1) +/* 800F43C4 000F1324 93 C1 01 38 */ stw r30, 0x138(r1) +/* 800F43C8 000F1328 93 A1 01 34 */ stw r29, 0x134(r1) +/* 800F43CC 000F132C FF E0 08 90 */ fmr f31, f1 +/* 800F43D0 000F1330 7C 7E 1B 78 */ mr r30, r3 +/* 800F43D4 000F1334 7C 9D 23 78 */ mr r29, r4 +/* 800F43D8 000F1338 7C BF 2B 78 */ mr r31, r5 +/* 800F43DC 000F133C 48 00 48 BD */ bl IsMovementAllowed__10CMorphBallCFv +/* 800F43E0 000F1340 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F43E4 000F1344 41 82 04 60 */ beq lbl_800F4844 +/* 800F43E8 000F1348 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 800F43EC 000F134C 38 80 00 12 */ li r4, 0x12 +/* 800F43F0 000F1350 80 63 00 00 */ lwz r3, 0(r3) +/* 800F43F4 000F1354 4B F9 D6 CD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800F43F8 000F1358 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F43FC 000F135C 41 82 04 48 */ beq lbl_800F4844 +/* 800F4400 000F1360 88 1E 1D E4 */ lbz r0, 0x1de4(r30) +/* 800F4404 000F1364 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800F4408 000F1368 40 82 00 18 */ bne lbl_800F4420 +/* 800F440C 000F136C 7F C3 F3 78 */ mr r3, r30 +/* 800F4410 000F1370 4B FF FA 11 */ bl CancelBoosting__10CMorphBallFv +/* 800F4414 000F1374 7F C3 F3 78 */ mr r3, r30 +/* 800F4418 000F1378 4B FF FA AD */ bl LeaveBoosting__10CMorphBallFv +/* 800F441C 000F137C 48 00 04 28 */ b lbl_800F4844 +lbl_800F4420: +/* 800F4420 000F1380 88 1E 1D E4 */ lbz r0, 0x1de4(r30) +/* 800F4424 000F1384 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800F4428 000F1388 40 82 03 A4 */ bne lbl_800F47CC +/* 800F442C 000F138C C0 1E 1D EC */ lfs f0, 0x1dec(r30) +/* 800F4430 000F1390 7F A4 EB 78 */ mr r4, r29 +/* 800F4434 000F1394 38 60 00 0A */ li r3, 0xa +/* 800F4438 000F1398 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800F443C 000F139C D0 1E 1D EC */ stfs f0, 0x1dec(r30) +/* 800F4440 000F13A0 4B F1 84 35 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F4444 000F13A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F4448 000F13A8 41 82 00 C4 */ beq lbl_800F450C +/* 800F444C 000F13AC 80 1E 18 7C */ lwz r0, 0x187c(r30) +/* 800F4450 000F13B0 2C 00 00 01 */ cmpwi r0, 1 +/* 800F4454 000F13B4 41 82 00 B8 */ beq lbl_800F450C +/* 800F4458 000F13B8 80 1E 1E 20 */ lwz r0, 0x1e20(r30) +/* 800F445C 000F13BC 2C 00 00 00 */ cmpwi r0, 0 +/* 800F4460 000F13C0 40 82 00 84 */ bne lbl_800F44E4 +/* 800F4464 000F13C4 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F4468 000F13C8 38 00 00 00 */ li r0, 0 +/* 800F446C 000F13CC 38 C0 00 01 */ li r6, 1 +/* 800F4470 000F13D0 38 60 FF FF */ li r3, -1 +/* 800F4474 000F13D4 90 C1 01 08 */ stw r6, 0x108(r1) +/* 800F4478 000F13D8 38 81 01 08 */ addi r4, r1, 0x108 +/* 800F447C 000F13DC 38 A0 00 00 */ li r5, 0 +/* 800F4480 000F13E0 90 61 01 0C */ stw r3, 0x10c(r1) +/* 800F4484 000F13E4 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 800F4488 000F13E8 98 C1 01 14 */ stb r6, 0x114(r1) +/* 800F448C 000F13EC 90 01 01 18 */ stw r0, 0x118(r1) +/* 800F4490 000F13F0 90 01 01 1C */ stw r0, 0x11c(r1) +/* 800F4494 000F13F4 98 01 01 20 */ stb r0, 0x120(r1) +/* 800F4498 000F13F8 90 01 01 24 */ stw r0, 0x124(r1) +/* 800F449C 000F13FC 90 01 01 28 */ stw r0, 0x128(r1) +/* 800F44A0 000F1400 90 01 01 2C */ stw r0, 0x12c(r1) +/* 800F44A4 000F1404 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 800F44A8 000F1408 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800F44AC 000F140C 4B F3 88 D1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800F44B0 000F1410 38 00 00 01 */ li r0, 1 +/* 800F44B4 000F1414 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800F44B8 000F1418 90 1E 1E 20 */ stw r0, 0x1e20(r30) +/* 800F44BC 000F141C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800F44C0 000F1420 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800F44C4 000F1424 38 80 05 C5 */ li r4, 0x5c5 +/* 800F44C8 000F1428 38 A0 00 7F */ li r5, 0x7f +/* 800F44CC 000F142C 38 C0 00 40 */ li r6, 0x40 +/* 800F44D0 000F1430 38 E0 00 01 */ li r7, 1 +/* 800F44D4 000F1434 39 20 00 01 */ li r9, 1 +/* 800F44D8 000F1438 48 1F 58 9D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800F44DC 000F143C 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800F44E0 000F1440 90 1E 1E 24 */ stw r0, 0x1e24(r30) +lbl_800F44E4: +/* 800F44E4 000F1444 C0 1E 1D E8 */ lfs f0, 0x1de8(r30) +/* 800F44E8 000F1448 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800F44EC 000F144C D0 1E 1D E8 */ stfs f0, 0x1de8(r30) +/* 800F44F0 000F1450 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F44F4 000F1454 C0 1E 1D E8 */ lfs f0, 0x1de8(r30) +/* 800F44F8 000F1458 C0 23 02 10 */ lfs f1, 0x210(r3) +/* 800F44FC 000F145C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F4500 000F1460 40 81 03 44 */ ble lbl_800F4844 +/* 800F4504 000F1464 D0 3E 1D E8 */ stfs f1, 0x1de8(r30) +/* 800F4508 000F1468 48 00 03 3C */ b lbl_800F4844 +lbl_800F450C: +/* 800F450C 000F146C 80 1E 1E 20 */ lwz r0, 0x1e20(r30) +/* 800F4510 000F1470 2C 00 00 01 */ cmpwi r0, 1 +/* 800F4514 000F1474 40 82 00 C4 */ bne lbl_800F45D8 +/* 800F4518 000F1478 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F451C 000F147C 38 C0 00 00 */ li r6, 0 +/* 800F4520 000F1480 38 60 FF FF */ li r3, -1 +/* 800F4524 000F1484 38 00 00 01 */ li r0, 1 +/* 800F4528 000F1488 90 C1 00 E0 */ stw r6, 0xe0(r1) +/* 800F452C 000F148C 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 800F4530 000F1490 38 A0 00 00 */ li r5, 0 +/* 800F4534 000F1494 90 61 00 E4 */ stw r3, 0xe4(r1) +/* 800F4538 000F1498 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 800F453C 000F149C 98 01 00 EC */ stb r0, 0xec(r1) +/* 800F4540 000F14A0 90 C1 00 F0 */ stw r6, 0xf0(r1) +/* 800F4544 000F14A4 90 C1 00 F4 */ stw r6, 0xf4(r1) +/* 800F4548 000F14A8 98 C1 00 F8 */ stb r6, 0xf8(r1) +/* 800F454C 000F14AC 90 C1 00 FC */ stw r6, 0xfc(r1) +/* 800F4550 000F14B0 90 C1 01 00 */ stw r6, 0x100(r1) +/* 800F4554 000F14B4 90 C1 01 04 */ stw r6, 0x104(r1) +/* 800F4558 000F14B8 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 800F455C 000F14BC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800F4560 000F14C0 4B F3 88 1D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800F4564 000F14C4 38 00 00 00 */ li r0, 0 +/* 800F4568 000F14C8 38 61 00 0C */ addi r3, r1, 0xc +/* 800F456C 000F14CC 90 1E 1E 20 */ stw r0, 0x1e20(r30) +/* 800F4570 000F14D0 80 1E 1E 24 */ lwz r0, 0x1e24(r30) +/* 800F4574 000F14D4 90 01 00 0C */ stw r0, 0xc(r1) +/* 800F4578 000F14D8 48 1F 59 0D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle +/* 800F457C 000F14DC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F4580 000F14E0 C0 3E 1D E8 */ lfs f1, 0x1de8(r30) +/* 800F4584 000F14E4 C0 03 02 18 */ lfs f0, 0x218(r3) +/* 800F4588 000F14E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F458C 000F14EC 4C 41 13 82 */ cror 2, 1, 2 +/* 800F4590 000F14F0 40 82 00 48 */ bne lbl_800F45D8 +/* 800F4594 000F14F4 80 9E 00 00 */ lwz r4, 0(r30) +/* 800F4598 000F14F8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F459C 000F14FC 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 800F45A0 000F1500 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800F45A4 000F1504 C0 44 00 60 */ lfs f2, 0x60(r4) +/* 800F45A8 000F1508 38 61 00 08 */ addi r3, r1, 8 +/* 800F45AC 000F150C C0 24 00 50 */ lfs f1, 0x50(r4) +/* 800F45B0 000F1510 38 A1 00 74 */ addi r5, r1, 0x74 +/* 800F45B4 000F1514 C0 04 00 40 */ lfs f0, 0x40(r4) +/* 800F45B8 000F1518 38 80 05 C4 */ li r4, 0x5c4 +/* 800F45BC 000F151C 38 E0 00 01 */ li r7, 1 +/* 800F45C0 000F1520 39 00 00 00 */ li r8, 0 +/* 800F45C4 000F1524 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800F45C8 000F1528 39 20 00 B4 */ li r9, 0xb4 +/* 800F45CC 000F152C D0 21 00 78 */ stfs f1, 0x78(r1) +/* 800F45D0 000F1530 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 800F45D4 000F1534 48 1F 5C DD */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi +lbl_800F45D8: +/* 800F45D8 000F1538 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F45DC 000F153C C0 3E 1D E8 */ lfs f1, 0x1de8(r30) +/* 800F45E0 000F1540 C0 03 02 18 */ lfs f0, 0x218(r3) +/* 800F45E4 000F1544 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F45E8 000F1548 4C 41 13 82 */ cror 2, 1, 2 +/* 800F45EC 000F154C 40 82 01 C8 */ bne lbl_800F47B4 +/* 800F45F0 000F1550 7F C3 F3 78 */ mr r3, r30 +/* 800F45F4 000F1554 4B FF A9 B5 */ bl GetBallBoostState__10CMorphBallCFv +/* 800F45F8 000F1558 2C 03 00 00 */ cmpwi r3, 0 +/* 800F45FC 000F155C 40 82 00 90 */ bne lbl_800F468C +/* 800F4600 000F1560 7F C3 F3 78 */ mr r3, r30 +/* 800F4604 000F1564 4B FF D3 CD */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F4608 000F1568 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F460C 000F156C 40 82 00 10 */ bne lbl_800F461C +/* 800F4610 000F1570 88 1E 1D F8 */ lbz r0, 0x1df8(r30) +/* 800F4614 000F1574 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800F4618 000F1578 41 82 00 14 */ beq lbl_800F462C +lbl_800F461C: +/* 800F461C 000F157C 7F C3 F3 78 */ mr r3, r30 +/* 800F4620 000F1580 7F E4 FB 78 */ mr r4, r31 +/* 800F4624 000F1584 4B FF F8 D5 */ bl EnterBoosting__10CMorphBallFR13CStateManager +/* 800F4628 000F1588 48 00 02 1C */ b lbl_800F4844 +lbl_800F462C: +/* 800F462C 000F158C C0 5E 19 38 */ lfs f2, 0x1938(r30) +/* 800F4630 000F1590 38 61 00 68 */ addi r3, r1, 0x68 +/* 800F4634 000F1594 C0 3E 19 48 */ lfs f1, 0x1948(r30) +/* 800F4638 000F1598 38 81 00 5C */ addi r4, r1, 0x5c +/* 800F463C 000F159C C0 1E 19 28 */ lfs f0, 0x1928(r30) +/* 800F4640 000F15A0 FC 40 10 50 */ fneg f2, f2 +/* 800F4644 000F15A4 C0 62 92 C0 */ lfs f3, lbl_805AAFE0@sda21(r2) +/* 800F4648 000F15A8 FC 20 08 50 */ fneg f1, f1 +/* 800F464C 000F15AC FC 00 00 50 */ fneg f0, f0 +/* 800F4650 000F15B0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F4654 000F15B4 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F4658 000F15B8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F465C 000F15BC D0 41 00 60 */ stfs f2, 0x60(r1) +/* 800F4660 000F15C0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800F4664 000F15C4 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 800F4668 000F15C8 4B F2 6E D9 */ bl FromVector__10CAxisAngleFRC9CVector3f +/* 800F466C 000F15CC 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800F4670 000F15D0 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F4674 000F15D4 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800F4678 000F15D8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 800F467C 000F15DC 48 02 7D 1D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800F4680 000F15E0 7F C3 F3 78 */ mr r3, r30 +/* 800F4684 000F15E4 4B FF F7 9D */ bl CancelBoosting__10CMorphBallFv +/* 800F4688 000F15E8 48 00 01 BC */ b lbl_800F4844 +lbl_800F468C: +/* 800F468C 000F15EC 7F C3 F3 78 */ mr r3, r30 +/* 800F4690 000F15F0 4B FF A9 19 */ bl GetBallBoostState__10CMorphBallCFv +/* 800F4694 000F15F4 2C 03 00 01 */ cmpwi r3, 1 +/* 800F4698 000F15F8 40 82 01 AC */ bne lbl_800F4844 +/* 800F469C 000F15FC 7F C4 F3 78 */ mr r4, r30 +/* 800F46A0 000F1600 38 61 00 80 */ addi r3, r1, 0x80 +/* 800F46A4 000F1604 48 00 20 51 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F46A8 000F1608 80 9E 00 00 */ lwz r4, 0(r30) +/* 800F46AC 000F160C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800F46B0 000F1610 C0 A1 00 A4 */ lfs f5, 0xa4(r1) +/* 800F46B4 000F1614 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 800F46B8 000F1618 C0 E4 00 60 */ lfs f7, 0x60(r4) +/* 800F46BC 000F161C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800F46C0 000F1620 C0 01 00 94 */ lfs f0, 0x94(r1) +/* 800F46C4 000F1624 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800F46C8 000F1628 C0 C4 00 50 */ lfs f6, 0x50(r4) +/* 800F46CC 000F162C EC 67 28 2A */ fadds f3, f7, f5 +/* 800F46D0 000F1630 C0 24 00 40 */ lfs f1, 0x40(r4) +/* 800F46D4 000F1634 38 81 00 50 */ addi r4, r1, 0x50 +/* 800F46D8 000F1638 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 800F46DC 000F163C EC 86 00 2A */ fadds f4, f6, f0 +/* 800F46E0 000F1640 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800F46E4 000F1644 EC 01 10 2A */ fadds f0, f1, f2 +/* 800F46E8 000F1648 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800F46EC 000F164C D0 A1 00 34 */ stfs f5, 0x34(r1) +/* 800F46F0 000F1650 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800F46F4 000F1654 D0 C1 00 3C */ stfs f6, 0x3c(r1) +/* 800F46F8 000F1658 D0 E1 00 40 */ stfs f7, 0x40(r1) +/* 800F46FC 000F165C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800F4700 000F1660 D0 81 00 48 */ stfs f4, 0x48(r1) +/* 800F4704 000F1664 D0 61 00 4C */ stfs f3, 0x4c(r1) +/* 800F4708 000F1668 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800F470C 000F166C D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 800F4710 000F1670 D0 E1 00 58 */ stfs f7, 0x58(r1) +/* 800F4714 000F1674 48 21 F3 FD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800F4718 000F1678 83 FE 00 00 */ lwz r31, 0(r30) +/* 800F471C 000F167C 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800F4720 000F1680 38 7F 00 34 */ addi r3, r31, 0x34 +/* 800F4724 000F1684 48 21 E4 1D */ bl __as__12CTransform4fFRC12CTransform4f +/* 800F4728 000F1688 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800F472C 000F168C 38 A0 00 01 */ li r5, 1 +/* 800F4730 000F1690 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b +/* 800F4734 000F1694 C0 62 92 C0 */ lfs f3, lbl_805AAFE0@sda21(r2) +/* 800F4738 000F1698 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800F473C 000F169C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800F4740 000F16A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800F4744 000F16A4 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800F4748 000F16A8 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 800F474C 000F16AC 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800F4750 000F16B0 88 1F 00 E4 */ lbz r0, 0xe4(r31) +/* 800F4754 000F16B4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d +/* 800F4758 000F16B8 98 1F 00 E4 */ stb r0, 0xe4(r31) +/* 800F475C 000F16BC 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F4760 000F16C0 C0 45 00 44 */ lfs f2, 0x44(r5) +/* 800F4764 000F16C4 C0 25 00 54 */ lfs f1, 0x54(r5) +/* 800F4768 000F16C8 C0 05 00 34 */ lfs f0, 0x34(r5) +/* 800F476C 000F16CC FC 40 10 50 */ fneg f2, f2 +/* 800F4770 000F16D0 FC 20 08 50 */ fneg f1, f1 +/* 800F4774 000F16D4 FC 00 00 50 */ fneg f0, f0 +/* 800F4778 000F16D8 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F477C 000F16DC EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F4780 000F16E0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F4784 000F16E4 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800F4788 000F16E8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800F478C 000F16EC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800F4790 000F16F0 4B F2 6D B1 */ bl FromVector__10CAxisAngleFRC9CVector3f +/* 800F4794 000F16F4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800F4798 000F16F8 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F479C 000F16FC 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800F47A0 000F1700 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800F47A4 000F1704 48 02 7B F5 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800F47A8 000F1708 7F C3 F3 78 */ mr r3, r30 +/* 800F47AC 000F170C 4B FF F6 75 */ bl CancelBoosting__10CMorphBallFv +/* 800F47B0 000F1710 48 00 00 94 */ b lbl_800F4844 +lbl_800F47B4: +/* 800F47B4 000F1714 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F47B8 000F1718 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F47BC 000F171C 40 81 00 88 */ ble lbl_800F4844 +/* 800F47C0 000F1720 7F C3 F3 78 */ mr r3, r30 +/* 800F47C4 000F1724 4B FF F6 5D */ bl CancelBoosting__10CMorphBallFv +/* 800F47C8 000F1728 48 00 00 7C */ b lbl_800F4844 +lbl_800F47CC: +/* 800F47CC 000F172C C0 1E 1D F4 */ lfs f0, 0x1df4(r30) +/* 800F47D0 000F1730 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800F47D4 000F1734 D0 1E 1D F4 */ stfs f0, 0x1df4(r30) +/* 800F47D8 000F1738 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F47DC 000F173C C0 3E 1D F4 */ lfs f1, 0x1df4(r30) +/* 800F47E0 000F1740 C0 03 02 0C */ lfs f0, 0x20c(r3) +/* 800F47E4 000F1744 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F47E8 000F1748 40 81 00 0C */ ble lbl_800F47F4 +/* 800F47EC 000F174C 7F C3 F3 78 */ mr r3, r30 +/* 800F47F0 000F1750 4B FF F6 D5 */ bl LeaveBoosting__10CMorphBallFv +lbl_800F47F4: +/* 800F47F4 000F1754 7F C3 F3 78 */ mr r3, r30 +/* 800F47F8 000F1758 4B FF D1 D9 */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F47FC 000F175C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F4800 000F1760 40 82 00 44 */ bne lbl_800F4844 +/* 800F4804 000F1764 88 1E 1D F8 */ lbz r0, 0x1df8(r30) +/* 800F4808 000F1768 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800F480C 000F176C 40 82 00 38 */ bne lbl_800F4844 +/* 800F4810 000F1770 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F4814 000F1774 C0 5E 1D F4 */ lfs f2, 0x1df4(r30) +/* 800F4818 000F1778 C0 23 02 0C */ lfs f1, 0x20c(r3) +/* 800F481C 000F177C C0 02 92 94 */ lfs f0, lbl_805AAFB4@sda21(r2) +/* 800F4820 000F1780 EC 22 08 24 */ fdivs f1, f2, f1 +/* 800F4824 000F1784 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F4828 000F1788 40 80 00 14 */ bge lbl_800F483C +/* 800F482C 000F178C C0 22 92 58 */ lfs f1, lbl_805AAF78@sda21(r2) +/* 800F4830 000F1790 7F C3 F3 78 */ mr r3, r30 +/* 800F4834 000F1794 C0 42 92 4C */ lfs f2, lbl_805AAF6C@sda21(r2) +/* 800F4838 000F1798 4B FF EC 65 */ bl DampLinearAndAngularVelocities__10CMorphBallFff +lbl_800F483C: +/* 800F483C 000F179C 7F C3 F3 78 */ mr r3, r30 +/* 800F4840 000F17A0 4B FF F6 85 */ bl LeaveBoosting__10CMorphBallFv +lbl_800F4844: +/* 800F4844 000F17A4 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 +/* 800F4848 000F17A8 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800F484C 000F17AC CB E1 01 40 */ lfd f31, 0x140(r1) +/* 800F4850 000F17B0 83 E1 01 3C */ lwz r31, 0x13c(r1) +/* 800F4854 000F17B4 83 C1 01 38 */ lwz r30, 0x138(r1) +/* 800F4858 000F17B8 83 A1 01 34 */ lwz r29, 0x134(r1) +/* 800F485C 000F17BC 7C 08 03 A6 */ mtlr r0 +/* 800F4860 000F17C0 38 21 01 50 */ addi r1, r1, 0x150 +/* 800F4864 000F17C4 4E 80 00 20 */ blr + +.global UpdateEffects__10CMorphBallFfR13CStateManager +UpdateEffects__10CMorphBallFfR13CStateManager: +/* 800F4868 000F17C8 94 21 FB 80 */ stwu r1, -0x480(r1) +/* 800F486C 000F17CC 7C 08 02 A6 */ mflr r0 +/* 800F4870 000F17D0 90 01 04 84 */ stw r0, 0x484(r1) +/* 800F4874 000F17D4 DB E1 04 70 */ stfd f31, 0x470(r1) +/* 800F4878 000F17D8 F3 E1 04 78 */ psq_st f31, 1144(r1), 0, qr0 +/* 800F487C 000F17DC DB C1 04 60 */ stfd f30, 0x460(r1) +/* 800F4880 000F17E0 F3 C1 04 68 */ psq_st f30, 1128(r1), 0, qr0 +/* 800F4884 000F17E4 93 E1 04 5C */ stw r31, 0x45c(r1) +/* 800F4888 000F17E8 93 C1 04 58 */ stw r30, 0x458(r1) +/* 800F488C 000F17EC 93 A1 04 54 */ stw r29, 0x454(r1) +/* 800F4890 000F17F0 93 81 04 50 */ stw r28, 0x450(r1) +/* 800F4894 000F17F4 FF E0 08 90 */ fmr f31, f1 +/* 800F4898 000F17F8 7C 7D 1B 78 */ mr r29, r3 +/* 800F489C 000F17FC 7C 9E 23 78 */ mr r30, r4 +/* 800F48A0 000F1800 38 61 02 70 */ addi r3, r1, 0x270 +/* 800F48A4 000F1804 7F A4 EB 78 */ mr r4, r29 +/* 800F48A8 000F1808 48 00 1F 05 */ bl GetSwooshToWorld__10CMorphBallCFv +/* 800F48AC 000F180C 38 61 02 D0 */ addi r3, r1, 0x2d0 +/* 800F48B0 000F1810 38 81 02 70 */ addi r4, r1, 0x270 +/* 800F48B4 000F1814 48 21 E2 C1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F48B8 000F1818 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F48BC 000F181C 38 61 01 44 */ addi r3, r1, 0x144 +/* 800F48C0 000F1820 C0 22 91 E4 */ lfs f1, lbl_805AAF04@sda21(r2) +/* 800F48C4 000F1824 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800F48C8 000F1828 D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 800F48CC 000F182C 38 A1 01 38 */ addi r5, r1, 0x138 +/* 800F48D0 000F1830 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 800F48D4 000F1834 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 800F48D8 000F1838 48 21 E1 A9 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800F48DC 000F183C C0 41 02 FC */ lfs f2, 0x2fc(r1) +/* 800F48E0 000F1840 38 81 01 2C */ addi r4, r1, 0x12c +/* 800F48E4 000F1844 C0 01 01 4C */ lfs f0, 0x14c(r1) +/* 800F48E8 000F1848 C0 81 02 EC */ lfs f4, 0x2ec(r1) +/* 800F48EC 000F184C C0 21 01 48 */ lfs f1, 0x148(r1) +/* 800F48F0 000F1850 EC 02 00 2A */ fadds f0, f2, f0 +/* 800F48F4 000F1854 C0 61 02 DC */ lfs f3, 0x2dc(r1) +/* 800F48F8 000F1858 C0 41 01 44 */ lfs f2, 0x144(r1) +/* 800F48FC 000F185C EC 24 08 2A */ fadds f1, f4, f1 +/* 800F4900 000F1860 D0 01 01 34 */ stfs f0, 0x134(r1) +/* 800F4904 000F1864 EC 03 10 2A */ fadds f0, f3, f2 +/* 800F4908 000F1868 D0 21 01 30 */ stfs f1, 0x130(r1) +/* 800F490C 000F186C D0 01 01 2C */ stfs f0, 0x12c(r1) +/* 800F4910 000F1870 80 7D 19 B8 */ lwz r3, 0x19b8(r29) +/* 800F4914 000F1874 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4918 000F1878 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800F491C 000F187C 7D 89 03 A6 */ mtctr r12 +/* 800F4920 000F1880 4E 80 04 21 */ bctrl +/* 800F4924 000F1884 83 FD 19 B8 */ lwz r31, 0x19b8(r29) +/* 800F4928 000F1888 38 61 02 40 */ addi r3, r1, 0x240 +/* 800F492C 000F188C 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800F4930 000F1890 48 21 E3 11 */ bl GetRotation__12CTransform4fCFv +/* 800F4934 000F1894 7F E3 FB 78 */ mr r3, r31 +/* 800F4938 000F1898 38 81 02 40 */ addi r4, r1, 0x240 +/* 800F493C 000F189C 81 9F 00 00 */ lwz r12, 0(r31) +/* 800F4940 000F18A0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800F4944 000F18A4 7D 89 03 A6 */ mtctr r12 +/* 800F4948 000F18A8 4E 80 04 21 */ bctrl +/* 800F494C 000F18AC 80 7D 19 B8 */ lwz r3, 0x19b8(r29) +/* 800F4950 000F18B0 38 80 00 01 */ li r4, 1 +/* 800F4954 000F18B4 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) +/* 800F4958 000F18B8 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 800F495C 000F18BC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800F4960 000F18C0 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 800F4964 000F18C4 80 7D 19 B8 */ lwz r3, 0x19b8(r29) +/* 800F4968 000F18C8 81 83 00 00 */ lwz r12, 0(r3) +/* 800F496C 000F18CC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4970 000F18D0 7D 89 03 A6 */ mtctr r12 +/* 800F4974 000F18D4 4E 80 04 21 */ bctrl +/* 800F4978 000F18D8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F497C 000F18DC 38 61 01 20 */ addi r3, r1, 0x120 +/* 800F4980 000F18E0 C0 22 92 C4 */ lfs f1, lbl_805AAFE4@sda21(r2) +/* 800F4984 000F18E4 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800F4988 000F18E8 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 800F498C 000F18EC 38 A1 01 14 */ addi r5, r1, 0x114 +/* 800F4990 000F18F0 D0 21 01 14 */ stfs f1, 0x114(r1) +/* 800F4994 000F18F4 D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 800F4998 000F18F8 48 21 E0 E9 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800F499C 000F18FC C0 21 02 EC */ lfs f1, 0x2ec(r1) +/* 800F49A0 000F1900 38 81 01 08 */ addi r4, r1, 0x108 +/* 800F49A4 000F1904 C0 01 01 24 */ lfs f0, 0x124(r1) +/* 800F49A8 000F1908 C0 61 02 FC */ lfs f3, 0x2fc(r1) +/* 800F49AC 000F190C C0 41 01 28 */ lfs f2, 0x128(r1) +/* 800F49B0 000F1910 EC 81 00 2A */ fadds f4, f1, f0 +/* 800F49B4 000F1914 C0 21 02 DC */ lfs f1, 0x2dc(r1) +/* 800F49B8 000F1918 C0 01 01 20 */ lfs f0, 0x120(r1) +/* 800F49BC 000F191C EC 43 10 2A */ fadds f2, f3, f2 +/* 800F49C0 000F1920 D0 81 01 0C */ stfs f4, 0x10c(r1) +/* 800F49C4 000F1924 EC 01 00 2A */ fadds f0, f1, f0 +/* 800F49C8 000F1928 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 800F49CC 000F192C D0 01 01 08 */ stfs f0, 0x108(r1) +/* 800F49D0 000F1930 80 7D 19 BC */ lwz r3, 0x19bc(r29) +/* 800F49D4 000F1934 81 83 00 00 */ lwz r12, 0(r3) +/* 800F49D8 000F1938 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800F49DC 000F193C 7D 89 03 A6 */ mtctr r12 +/* 800F49E0 000F1940 4E 80 04 21 */ bctrl +/* 800F49E4 000F1944 83 FD 19 BC */ lwz r31, 0x19bc(r29) +/* 800F49E8 000F1948 38 61 02 10 */ addi r3, r1, 0x210 +/* 800F49EC 000F194C 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800F49F0 000F1950 48 21 E2 51 */ bl GetRotation__12CTransform4fCFv +/* 800F49F4 000F1954 7F E3 FB 78 */ mr r3, r31 +/* 800F49F8 000F1958 38 81 02 10 */ addi r4, r1, 0x210 +/* 800F49FC 000F195C 81 9F 00 00 */ lwz r12, 0(r31) +/* 800F4A00 000F1960 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800F4A04 000F1964 7D 89 03 A6 */ mtctr r12 +/* 800F4A08 000F1968 4E 80 04 21 */ bctrl +/* 800F4A0C 000F196C 80 7D 19 BC */ lwz r3, 0x19bc(r29) +/* 800F4A10 000F1970 38 80 00 01 */ li r4, 1 +/* 800F4A14 000F1974 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) +/* 800F4A18 000F1978 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 800F4A1C 000F197C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800F4A20 000F1980 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 800F4A24 000F1984 80 7D 19 BC */ lwz r3, 0x19bc(r29) +/* 800F4A28 000F1988 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4A2C 000F198C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4A30 000F1990 7D 89 03 A6 */ mtctr r12 +/* 800F4A34 000F1994 4E 80 04 21 */ bctrl +/* 800F4A38 000F1998 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F4A3C 000F199C 38 61 00 FC */ addi r3, r1, 0xfc +/* 800F4A40 000F19A0 C0 02 91 F4 */ lfs f0, lbl_805AAF14@sda21(r2) +/* 800F4A44 000F19A4 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800F4A48 000F19A8 D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 800F4A4C 000F19AC 38 A1 00 F0 */ addi r5, r1, 0xf0 +/* 800F4A50 000F19B0 D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 800F4A54 000F19B4 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 800F4A58 000F19B8 48 21 E0 29 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800F4A5C 000F19BC C0 21 02 EC */ lfs f1, 0x2ec(r1) +/* 800F4A60 000F19C0 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 800F4A64 000F19C4 C0 01 01 00 */ lfs f0, 0x100(r1) +/* 800F4A68 000F19C8 C0 61 02 FC */ lfs f3, 0x2fc(r1) +/* 800F4A6C 000F19CC C0 41 01 04 */ lfs f2, 0x104(r1) +/* 800F4A70 000F19D0 EC 81 00 2A */ fadds f4, f1, f0 +/* 800F4A74 000F19D4 C0 21 02 DC */ lfs f1, 0x2dc(r1) +/* 800F4A78 000F19D8 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 800F4A7C 000F19DC EC 43 10 2A */ fadds f2, f3, f2 +/* 800F4A80 000F19E0 D0 81 00 E8 */ stfs f4, 0xe8(r1) +/* 800F4A84 000F19E4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800F4A88 000F19E8 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 800F4A8C 000F19EC D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 800F4A90 000F19F0 80 7D 19 C0 */ lwz r3, 0x19c0(r29) +/* 800F4A94 000F19F4 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4A98 000F19F8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800F4A9C 000F19FC 7D 89 03 A6 */ mtctr r12 +/* 800F4AA0 000F1A00 4E 80 04 21 */ bctrl +/* 800F4AA4 000F1A04 83 FD 19 C0 */ lwz r31, 0x19c0(r29) +/* 800F4AA8 000F1A08 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800F4AAC 000F1A0C 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800F4AB0 000F1A10 48 21 E1 91 */ bl GetRotation__12CTransform4fCFv +/* 800F4AB4 000F1A14 7F E3 FB 78 */ mr r3, r31 +/* 800F4AB8 000F1A18 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 800F4ABC 000F1A1C 81 9F 00 00 */ lwz r12, 0(r31) +/* 800F4AC0 000F1A20 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800F4AC4 000F1A24 7D 89 03 A6 */ mtctr r12 +/* 800F4AC8 000F1A28 4E 80 04 21 */ bctrl +/* 800F4ACC 000F1A2C 80 7D 19 C0 */ lwz r3, 0x19c0(r29) +/* 800F4AD0 000F1A30 38 80 00 01 */ li r4, 1 +/* 800F4AD4 000F1A34 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) +/* 800F4AD8 000F1A38 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 800F4ADC 000F1A3C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800F4AE0 000F1A40 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 800F4AE4 000F1A44 80 7D 19 C0 */ lwz r3, 0x19c0(r29) +/* 800F4AE8 000F1A48 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4AEC 000F1A4C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4AF0 000F1A50 7D 89 03 A6 */ mtctr r12 +/* 800F4AF4 000F1A54 4E 80 04 21 */ bctrl +/* 800F4AF8 000F1A58 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F4AFC 000F1A5C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800F4B00 000F1A60 C0 02 92 C8 */ lfs f0, lbl_805AAFE8@sda21(r2) +/* 800F4B04 000F1A64 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800F4B08 000F1A68 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 800F4B0C 000F1A6C 38 A1 00 CC */ addi r5, r1, 0xcc +/* 800F4B10 000F1A70 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 800F4B14 000F1A74 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 800F4B18 000F1A78 48 21 DF 69 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800F4B1C 000F1A7C C0 21 02 EC */ lfs f1, 0x2ec(r1) +/* 800F4B20 000F1A80 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 800F4B24 000F1A84 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 800F4B28 000F1A88 C0 61 02 FC */ lfs f3, 0x2fc(r1) +/* 800F4B2C 000F1A8C C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 800F4B30 000F1A90 EC 81 00 2A */ fadds f4, f1, f0 +/* 800F4B34 000F1A94 C0 21 02 DC */ lfs f1, 0x2dc(r1) +/* 800F4B38 000F1A98 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 800F4B3C 000F1A9C EC 43 10 2A */ fadds f2, f3, f2 +/* 800F4B40 000F1AA0 D0 81 00 C4 */ stfs f4, 0xc4(r1) +/* 800F4B44 000F1AA4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800F4B48 000F1AA8 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 800F4B4C 000F1AAC D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800F4B50 000F1AB0 80 7D 19 C4 */ lwz r3, 0x19c4(r29) +/* 800F4B54 000F1AB4 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4B58 000F1AB8 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800F4B5C 000F1ABC 7D 89 03 A6 */ mtctr r12 +/* 800F4B60 000F1AC0 4E 80 04 21 */ bctrl +/* 800F4B64 000F1AC4 83 FD 19 C4 */ lwz r31, 0x19c4(r29) +/* 800F4B68 000F1AC8 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 800F4B6C 000F1ACC 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800F4B70 000F1AD0 48 21 E0 D1 */ bl GetRotation__12CTransform4fCFv +/* 800F4B74 000F1AD4 7F E3 FB 78 */ mr r3, r31 +/* 800F4B78 000F1AD8 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 800F4B7C 000F1ADC 81 9F 00 00 */ lwz r12, 0(r31) +/* 800F4B80 000F1AE0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800F4B84 000F1AE4 7D 89 03 A6 */ mtctr r12 +/* 800F4B88 000F1AE8 4E 80 04 21 */ bctrl +/* 800F4B8C 000F1AEC 80 7D 19 C4 */ lwz r3, 0x19c4(r29) +/* 800F4B90 000F1AF0 38 80 00 01 */ li r4, 1 +/* 800F4B94 000F1AF4 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) +/* 800F4B98 000F1AF8 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 800F4B9C 000F1AFC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800F4BA0 000F1B00 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 800F4BA4 000F1B04 80 7D 19 C4 */ lwz r3, 0x19c4(r29) +/* 800F4BA8 000F1B08 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4BAC 000F1B0C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4BB0 000F1B10 7D 89 03 A6 */ mtctr r12 +/* 800F4BB4 000F1B14 4E 80 04 21 */ bctrl +/* 800F4BB8 000F1B18 C0 41 02 DC */ lfs f2, 0x2dc(r1) +/* 800F4BBC 000F1B1C 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 800F4BC0 000F1B20 C0 21 02 EC */ lfs f1, 0x2ec(r1) +/* 800F4BC4 000F1B24 C0 01 02 FC */ lfs f0, 0x2fc(r1) +/* 800F4BC8 000F1B28 D0 41 00 B4 */ stfs f2, 0xb4(r1) +/* 800F4BCC 000F1B2C D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 800F4BD0 000F1B30 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 800F4BD4 000F1B34 80 7D 19 C8 */ lwz r3, 0x19c8(r29) +/* 800F4BD8 000F1B38 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4BDC 000F1B3C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800F4BE0 000F1B40 7D 89 03 A6 */ mtctr r12 +/* 800F4BE4 000F1B44 4E 80 04 21 */ bctrl +/* 800F4BE8 000F1B48 83 FD 19 C8 */ lwz r31, 0x19c8(r29) +/* 800F4BEC 000F1B4C 38 61 01 80 */ addi r3, r1, 0x180 +/* 800F4BF0 000F1B50 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800F4BF4 000F1B54 48 21 E0 4D */ bl GetRotation__12CTransform4fCFv +/* 800F4BF8 000F1B58 7F E3 FB 78 */ mr r3, r31 +/* 800F4BFC 000F1B5C 38 81 01 80 */ addi r4, r1, 0x180 +/* 800F4C00 000F1B60 81 9F 00 00 */ lwz r12, 0(r31) +/* 800F4C04 000F1B64 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800F4C08 000F1B68 7D 89 03 A6 */ mtctr r12 +/* 800F4C0C 000F1B6C 4E 80 04 21 */ bctrl +/* 800F4C10 000F1B70 80 7D 19 C8 */ lwz r3, 0x19c8(r29) +/* 800F4C14 000F1B74 38 80 00 01 */ li r4, 1 +/* 800F4C18 000F1B78 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) +/* 800F4C1C 000F1B7C 88 03 01 D0 */ lbz r0, 0x1d0(r3) +/* 800F4C20 000F1B80 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800F4C24 000F1B84 98 03 01 D0 */ stb r0, 0x1d0(r3) +/* 800F4C28 000F1B88 80 7D 19 C8 */ lwz r3, 0x19c8(r29) +/* 800F4C2C 000F1B8C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4C30 000F1B90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4C34 000F1B94 7D 89 03 A6 */ mtctr r12 +/* 800F4C38 000F1B98 4E 80 04 21 */ bctrl +/* 800F4C3C 000F1B9C 80 7D 19 CC */ lwz r3, 0x19cc(r29) +/* 800F4C40 000F1BA0 FC 20 F8 90 */ fmr f1, f31 +/* 800F4C44 000F1BA4 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4C48 000F1BA8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4C4C 000F1BAC 7D 89 03 A6 */ mtctr r12 +/* 800F4C50 000F1BB0 4E 80 04 21 */ bctrl +/* 800F4C54 000F1BB4 3B FD 1B CC */ addi r31, r29, 0x1bcc +/* 800F4C58 000F1BB8 FC 20 F8 90 */ fmr f1, f31 +/* 800F4C5C 000F1BBC 80 7D 1C 08 */ lwz r3, 0x1c08(r29) +/* 800F4C60 000F1BC0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4C64 000F1BC4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4C68 000F1BC8 7D 89 03 A6 */ mtctr r12 +/* 800F4C6C 000F1BCC 4E 80 04 21 */ bctrl +/* 800F4C70 000F1BD0 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F4C74 000F1BD4 3B 80 00 00 */ li r28, 0 +/* 800F4C78 000F1BD8 7F 84 E3 78 */ mr r4, r28 +/* 800F4C7C 000F1BDC 80 63 02 58 */ lwz r3, 0x258(r3) +/* 800F4C80 000F1BE0 7F 80 E3 78 */ mr r0, r28 +/* 800F4C84 000F1BE4 2C 03 00 00 */ cmpwi r3, 0 +/* 800F4C88 000F1BE8 40 82 00 18 */ bne lbl_800F4CA0 +/* 800F4C8C 000F1BEC 80 7E 08 50 */ lwz r3, 0x850(r30) +/* 800F4C90 000F1BF0 80 63 00 C4 */ lwz r3, 0xc4(r3) +/* 800F4C94 000F1BF4 2C 03 00 02 */ cmpwi r3, 2 +/* 800F4C98 000F1BF8 40 82 00 08 */ bne lbl_800F4CA0 +/* 800F4C9C 000F1BFC 38 00 00 01 */ li r0, 1 +lbl_800F4CA0: +/* 800F4CA0 000F1C00 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800F4CA4 000F1C04 41 82 00 1C */ beq lbl_800F4CC0 +/* 800F4CA8 000F1C08 80 7E 08 80 */ lwz r3, 0x880(r30) +/* 800F4CAC 000F1C0C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F4CB0 000F1C10 C0 23 00 30 */ lfs f1, 0x30(r3) +/* 800F4CB4 000F1C14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F4CB8 000F1C18 40 81 00 08 */ ble lbl_800F4CC0 +/* 800F4CBC 000F1C1C 38 80 00 01 */ li r4, 1 +lbl_800F4CC0: +/* 800F4CC0 000F1C20 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800F4CC4 000F1C24 41 82 00 18 */ beq lbl_800F4CDC +/* 800F4CC8 000F1C28 80 7E 08 80 */ lwz r3, 0x880(r30) +/* 800F4CCC 000F1C2C 88 03 00 24 */ lbz r0, 0x24(r3) +/* 800F4CD0 000F1C30 28 00 00 00 */ cmplwi r0, 0 +/* 800F4CD4 000F1C34 41 82 00 08 */ beq lbl_800F4CDC +/* 800F4CD8 000F1C38 3B 80 00 01 */ li r28, 1 +lbl_800F4CDC: +/* 800F4CDC 000F1C3C 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 800F4CE0 000F1C40 7F 84 E3 78 */ mr r4, r28 +/* 800F4CE4 000F1C44 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4CE8 000F1C48 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F4CEC 000F1C4C 7D 89 03 A6 */ mtctr r12 +/* 800F4CF0 000F1C50 4E 80 04 21 */ bctrl +/* 800F4CF4 000F1C54 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F4CF8 000F1C58 C3 C3 04 FC */ lfs f30, 0x4fc(r3) +/* 800F4CFC 000F1C5C 48 19 0C D5 */ bl GetBallMaxVelocity__7CPlayerCFv +/* 800F4D00 000F1C60 80 7E 08 80 */ lwz r3, 0x880(r30) +/* 800F4D04 000F1C64 C0 62 91 D8 */ lfs f3, lbl_805AAEF8@sda21(r2) +/* 800F4D08 000F1C68 C0 43 00 30 */ lfs f2, 0x30(r3) +/* 800F4D0C 000F1C6C C0 0D 88 8C */ lfs f0, lbl_805A744C@sda21(r13) +/* 800F4D10 000F1C70 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F4D14 000F1C74 EC 42 07 B2 */ fmuls f2, f2, f30 +/* 800F4D18 000F1C78 EC 22 08 24 */ fdivs f1, f2, f1 +/* 800F4D1C 000F1C7C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F4D20 000F1C80 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800F4D24 000F1C84 40 80 00 0C */ bge lbl_800F4D30 +/* 800F4D28 000F1C88 38 8D 88 8C */ addi r4, r13, lbl_805A744C@sda21 +/* 800F4D2C 000F1C8C 48 00 00 08 */ b lbl_800F4D34 +lbl_800F4D30: +/* 800F4D30 000F1C90 38 81 00 48 */ addi r4, r1, 0x48 +lbl_800F4D34: +/* 800F4D34 000F1C94 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 800F4D38 000F1C98 C0 24 00 00 */ lfs f1, 0(r4) +/* 800F4D3C 000F1C9C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4D40 000F1CA0 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800F4D44 000F1CA4 7D 89 03 A6 */ mtctr r12 +/* 800F4D48 000F1CA8 4E 80 04 21 */ bctrl +/* 800F4D4C 000F1CAC 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F4D50 000F1CB0 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800F4D54 000F1CB4 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 800F4D58 000F1CB8 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 800F4D5C 000F1CBC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 800F4D60 000F1CC0 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 800F4D64 000F1CC4 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 800F4D68 000F1CC8 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 800F4D6C 000F1CCC 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 800F4D70 000F1CD0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4D74 000F1CD4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800F4D78 000F1CD8 7D 89 03 A6 */ mtctr r12 +/* 800F4D7C 000F1CDC 4E 80 04 21 */ bctrl +/* 800F4D80 000F1CE0 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800F4D84 000F1CE4 41 82 00 8C */ beq lbl_800F4E10 +/* 800F4D88 000F1CE8 80 FD 00 00 */ lwz r7, 0(r29) +/* 800F4D8C 000F1CEC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800F4D90 000F1CF0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 800F4D94 000F1CF4 38 81 00 9C */ addi r4, r1, 0x9c +/* 800F4D98 000F1CF8 C0 A7 00 60 */ lfs f5, 0x60(r7) +/* 800F4D9C 000F1CFC 38 61 01 50 */ addi r3, r1, 0x150 +/* 800F4DA0 000F1D00 C0 87 00 50 */ lfs f4, 0x50(r7) +/* 800F4DA4 000F1D04 38 A1 00 84 */ addi r5, r1, 0x84 +/* 800F4DA8 000F1D08 C0 67 00 40 */ lfs f3, 0x40(r7) +/* 800F4DAC 000F1D0C D0 81 00 94 */ stfs f4, 0x94(r1) +/* 800F4DB0 000F1D10 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 800F4DB4 000F1D14 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 800F4DB8 000F1D18 D0 A1 00 8C */ stfs f5, 0x8c(r1) +/* 800F4DBC 000F1D1C C0 47 05 10 */ lfs f2, 0x510(r7) +/* 800F4DC0 000F1D20 C0 27 05 14 */ lfs f1, 0x514(r7) +/* 800F4DC4 000F1D24 C0 07 05 0C */ lfs f0, 0x50c(r7) +/* 800F4DC8 000F1D28 EC 44 10 2A */ fadds f2, f4, f2 +/* 800F4DCC 000F1D2C EC 25 08 2A */ fadds f1, f5, f1 +/* 800F4DD0 000F1D30 D0 61 00 90 */ stfs f3, 0x90(r1) +/* 800F4DD4 000F1D34 EC 03 00 2A */ fadds f0, f3, f0 +/* 800F4DD8 000F1D38 D0 A1 00 98 */ stfs f5, 0x98(r1) +/* 800F4DDC 000F1D3C D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 800F4DE0 000F1D40 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 800F4DE4 000F1D44 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 800F4DE8 000F1D48 48 21 ED 29 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800F4DEC 000F1D4C 38 61 02 A0 */ addi r3, r1, 0x2a0 +/* 800F4DF0 000F1D50 38 81 01 50 */ addi r4, r1, 0x150 +/* 800F4DF4 000F1D54 48 21 DD 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F4DF8 000F1D58 80 7F 00 3C */ lwz r3, 0x3c(r31) +/* 800F4DFC 000F1D5C 38 81 02 A0 */ addi r4, r1, 0x2a0 +/* 800F4E00 000F1D60 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4E04 000F1D64 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800F4E08 000F1D68 7D 89 03 A6 */ mtctr r12 +/* 800F4E0C 000F1D6C 4E 80 04 21 */ bctrl +lbl_800F4E10: +/* 800F4E10 000F1D70 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) +/* 800F4E14 000F1D74 2C 00 FF FF */ cmpwi r0, -1 +/* 800F4E18 000F1D78 41 82 00 24 */ beq lbl_800F4E3C +/* 800F4E1C 000F1D7C 54 03 18 38 */ slwi r3, r0, 3 +/* 800F4E20 000F1D80 FC 20 F8 90 */ fmr f1, f31 +/* 800F4E24 000F1D84 38 03 00 04 */ addi r0, r3, 4 +/* 800F4E28 000F1D88 7C 7F 00 2E */ lwzx r3, r31, r0 +/* 800F4E2C 000F1D8C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4E30 000F1D90 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4E34 000F1D94 7D 89 03 A6 */ mtctr r12 +/* 800F4E38 000F1D98 4E 80 04 21 */ bctrl +lbl_800F4E3C: +/* 800F4E3C 000F1D9C 80 7D 1E 38 */ lwz r3, 0x1e38(r29) +/* 800F4E40 000F1DA0 2C 03 00 00 */ cmpwi r3, 0 +/* 800F4E44 000F1DA4 40 81 00 30 */ ble lbl_800F4E74 +/* 800F4E48 000F1DA8 38 03 FF FF */ addi r0, r3, -1 +/* 800F4E4C 000F1DAC 90 1D 1E 38 */ stw r0, 0x1e38(r29) +/* 800F4E50 000F1DB0 80 1D 1E 38 */ lwz r0, 0x1e38(r29) +/* 800F4E54 000F1DB4 2C 00 00 00 */ cmpwi r0, 0 +/* 800F4E58 000F1DB8 41 81 00 1C */ bgt lbl_800F4E74 +/* 800F4E5C 000F1DBC 80 7D 19 CC */ lwz r3, 0x19cc(r29) +/* 800F4E60 000F1DC0 38 80 00 00 */ li r4, 0 +/* 800F4E64 000F1DC4 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4E68 000F1DC8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F4E6C 000F1DCC 7D 89 03 A6 */ mtctr r12 +/* 800F4E70 000F1DD0 4E 80 04 21 */ bctrl +lbl_800F4E74: +/* 800F4E74 000F1DD4 C0 41 02 DC */ lfs f2, 0x2dc(r1) +/* 800F4E78 000F1DD8 38 81 00 78 */ addi r4, r1, 0x78 +/* 800F4E7C 000F1DDC C0 21 02 EC */ lfs f1, 0x2ec(r1) +/* 800F4E80 000F1DE0 C0 01 02 FC */ lfs f0, 0x2fc(r1) +/* 800F4E84 000F1DE4 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 800F4E88 000F1DE8 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 800F4E8C 000F1DEC D0 01 00 80 */ stfs f0, 0x80(r1) +/* 800F4E90 000F1DF0 80 7D 19 D0 */ lwz r3, 0x19d0(r29) +/* 800F4E94 000F1DF4 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4E98 000F1DF8 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800F4E9C 000F1DFC 7D 89 03 A6 */ mtctr r12 +/* 800F4EA0 000F1E00 4E 80 04 21 */ bctrl +/* 800F4EA4 000F1E04 80 7D 19 D0 */ lwz r3, 0x19d0(r29) +/* 800F4EA8 000F1E08 FC 20 F8 90 */ fmr f1, f31 +/* 800F4EAC 000F1E0C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4EB0 000F1E10 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4EB4 000F1E14 7D 89 03 A6 */ mtctr r12 +/* 800F4EB8 000F1E18 4E 80 04 21 */ bctrl +/* 800F4EBC 000F1E1C C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F4EC0 000F1E20 C0 1D 1D E8 */ lfs f0, 0x1de8(r29) +/* 800F4EC4 000F1E24 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F4EC8 000F1E28 40 82 00 34 */ bne lbl_800F4EFC +/* 800F4ECC 000F1E2C C0 1D 1D F4 */ lfs f0, 0x1df4(r29) +/* 800F4ED0 000F1E30 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F4ED4 000F1E34 40 82 00 28 */ bne lbl_800F4EFC +/* 800F4ED8 000F1E38 38 00 00 00 */ li r0, 0 +/* 800F4EDC 000F1E3C 38 81 00 44 */ addi r4, r1, 0x44 +/* 800F4EE0 000F1E40 90 01 00 44 */ stw r0, 0x44(r1) +/* 800F4EE4 000F1E44 80 7D 19 D8 */ lwz r3, 0x19d8(r29) +/* 800F4EE8 000F1E48 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4EEC 000F1E4C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F4EF0 000F1E50 7D 89 03 A6 */ mtctr r12 +/* 800F4EF4 000F1E54 4E 80 04 21 */ bctrl +/* 800F4EF8 000F1E58 48 00 00 E8 */ b lbl_800F4FE0 +lbl_800F4EFC: +/* 800F4EFC 000F1E5C C0 41 02 DC */ lfs f2, 0x2dc(r1) +/* 800F4F00 000F1E60 38 81 00 6C */ addi r4, r1, 0x6c +/* 800F4F04 000F1E64 C0 21 02 EC */ lfs f1, 0x2ec(r1) +/* 800F4F08 000F1E68 C0 01 02 FC */ lfs f0, 0x2fc(r1) +/* 800F4F0C 000F1E6C D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 800F4F10 000F1E70 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 800F4F14 000F1E74 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800F4F18 000F1E78 80 7D 19 D8 */ lwz r3, 0x19d8(r29) +/* 800F4F1C 000F1E7C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4F20 000F1E80 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800F4F24 000F1E84 7D 89 03 A6 */ mtctr r12 +/* 800F4F28 000F1E88 4E 80 04 21 */ bctrl +/* 800F4F2C 000F1E8C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F4F30 000F1E90 C0 5D 1D F4 */ lfs f2, 0x1df4(r29) +/* 800F4F34 000F1E94 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 800F4F38 000F1E98 40 82 00 18 */ bne lbl_800F4F50 +/* 800F4F3C 000F1E9C 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F4F40 000F1EA0 C0 3D 1D E8 */ lfs f1, 0x1de8(r29) +/* 800F4F44 000F1EA4 C0 03 02 10 */ lfs f0, 0x210(r3) +/* 800F4F48 000F1EA8 EF C1 00 24 */ fdivs f30, f1, f0 +/* 800F4F4C 000F1EAC 48 00 00 18 */ b lbl_800F4F64 +lbl_800F4F50: +/* 800F4F50 000F1EB0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F4F54 000F1EB4 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F4F58 000F1EB8 C0 03 02 0C */ lfs f0, 0x20c(r3) +/* 800F4F5C 000F1EBC EC 02 00 24 */ fdivs f0, f2, f0 +/* 800F4F60 000F1EC0 EF C1 00 28 */ fsubs f30, f1, f0 +lbl_800F4F64: +/* 800F4F64 000F1EC4 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F4F68 000F1EC8 38 61 00 38 */ addi r3, r1, 0x38 +/* 800F4F6C 000F1ECC 83 9D 19 D8 */ lwz r28, 0x19d8(r29) +/* 800F4F70 000F1ED0 FC 40 08 90 */ fmr f2, f1 +/* 800F4F74 000F1ED4 C0 62 92 48 */ lfs f3, lbl_805AAF68@sda21(r2) +/* 800F4F78 000F1ED8 FC 80 08 90 */ fmr f4, f1 +/* 800F4F7C 000F1EDC 48 26 E4 71 */ bl __ct__6CColorFffff +/* 800F4F80 000F1EE0 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F4F84 000F1EE4 7C 7F 1B 78 */ mr r31, r3 +/* 800F4F88 000F1EE8 C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) +/* 800F4F8C 000F1EEC 38 61 00 3C */ addi r3, r1, 0x3c +/* 800F4F90 000F1EF0 FC 40 08 90 */ fmr f2, f1 +/* 800F4F94 000F1EF4 FC 60 08 90 */ fmr f3, f1 +/* 800F4F98 000F1EF8 48 26 E4 55 */ bl __ct__6CColorFffff +/* 800F4F9C 000F1EFC FC 20 F0 90 */ fmr f1, f30 +/* 800F4FA0 000F1F00 7C 64 1B 78 */ mr r4, r3 +/* 800F4FA4 000F1F04 7F E5 FB 78 */ mr r5, r31 +/* 800F4FA8 000F1F08 38 61 00 40 */ addi r3, r1, 0x40 +/* 800F4FAC 000F1F0C 48 26 E3 01 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800F4FB0 000F1F10 7F 83 E3 78 */ mr r3, r28 +/* 800F4FB4 000F1F14 38 81 00 40 */ addi r4, r1, 0x40 +/* 800F4FB8 000F1F18 81 9C 00 00 */ lwz r12, 0(r28) +/* 800F4FBC 000F1F1C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800F4FC0 000F1F20 7D 89 03 A6 */ mtctr r12 +/* 800F4FC4 000F1F24 4E 80 04 21 */ bctrl +/* 800F4FC8 000F1F28 80 7D 19 D8 */ lwz r3, 0x19d8(r29) +/* 800F4FCC 000F1F2C FC 20 F8 90 */ fmr f1, f31 +/* 800F4FD0 000F1F30 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4FD4 000F1F34 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4FD8 000F1F38 7D 89 03 A6 */ mtctr r12 +/* 800F4FDC 000F1F3C 4E 80 04 21 */ bctrl +lbl_800F4FE0: +/* 800F4FE0 000F1F40 80 7D 19 D4 */ lwz r3, 0x19d4(r29) +/* 800F4FE4 000F1F44 FC 20 F8 90 */ fmr f1, f31 +/* 800F4FE8 000F1F48 81 83 00 00 */ lwz r12, 0(r3) +/* 800F4FEC 000F1F4C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800F4FF0 000F1F50 7D 89 03 A6 */ mtctr r12 +/* 800F4FF4 000F1F54 4E 80 04 21 */ bctrl +/* 800F4FF8 000F1F58 C0 3D 1C 30 */ lfs f1, 0x1c30(r29) +/* 800F4FFC 000F1F5C C0 02 92 CC */ lfs f0, lbl_805AAFEC@sda21(r2) +/* 800F5000 000F1F60 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F5004 000F1F64 D0 1D 1C 30 */ stfs f0, 0x1c30(r29) +/* 800F5008 000F1F68 C0 2D 88 90 */ lfs f1, lbl_805A7450@sda21(r13) +/* 800F500C 000F1F6C C0 1D 1C 30 */ lfs f0, 0x1c30(r29) +/* 800F5010 000F1F70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F5014 000F1F74 40 80 00 0C */ bge lbl_800F5020 +/* 800F5018 000F1F78 38 7D 1C 30 */ addi r3, r29, 0x1c30 +/* 800F501C 000F1F7C 48 00 00 08 */ b lbl_800F5024 +lbl_800F5020: +/* 800F5020 000F1F80 38 6D 88 90 */ addi r3, r13, lbl_805A7450@sda21 +lbl_800F5024: +/* 800F5024 000F1F84 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F5028 000F1F88 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F502C 000F1F8C D0 1D 1C 30 */ stfs f0, 0x1c30(r29) +/* 800F5030 000F1F90 C0 1D 1C 30 */ lfs f0, 0x1c30(r29) +/* 800F5034 000F1F94 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F5038 000F1F98 40 82 00 38 */ bne lbl_800F5070 +/* 800F503C 000F1F9C C0 3D 1C 34 */ lfs f1, 0x1c34(r29) +/* 800F5040 000F1FA0 C0 02 92 D0 */ lfs f0, lbl_805AAFF0@sda21(r2) +/* 800F5044 000F1FA4 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F5048 000F1FA8 D0 1D 1C 34 */ stfs f0, 0x1c34(r29) +/* 800F504C 000F1FAC C0 2D 88 94 */ lfs f1, lbl_805A7454@sda21(r13) +/* 800F5050 000F1FB0 C0 1D 1C 34 */ lfs f0, 0x1c34(r29) +/* 800F5054 000F1FB4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F5058 000F1FB8 40 80 00 0C */ bge lbl_800F5064 +/* 800F505C 000F1FBC 38 7D 1C 34 */ addi r3, r29, 0x1c34 +/* 800F5060 000F1FC0 48 00 00 08 */ b lbl_800F5068 +lbl_800F5064: +/* 800F5064 000F1FC4 38 6D 88 94 */ addi r3, r13, lbl_805A7454@sda21 +lbl_800F5068: +/* 800F5068 000F1FC8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F506C 000F1FCC D0 1D 1C 34 */ stfs f0, 0x1c34(r29) +lbl_800F5070: +/* 800F5070 000F1FD0 88 1D 1D E4 */ lbz r0, 0x1de4(r29) +/* 800F5074 000F1FD4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800F5078 000F1FD8 41 82 00 14 */ beq lbl_800F508C +/* 800F507C 000F1FDC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F5080 000F1FE0 D0 1D 1C 30 */ stfs f0, 0x1c30(r29) +/* 800F5084 000F1FE4 D0 1D 1C 34 */ stfs f0, 0x1c34(r29) +/* 800F5088 000F1FE8 48 00 00 5C */ b lbl_800F50E4 +lbl_800F508C: +/* 800F508C 000F1FEC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F5090 000F1FF0 C0 3D 1D E8 */ lfs f1, 0x1de8(r29) +/* 800F5094 000F1FF4 C0 03 02 10 */ lfs f0, 0x210(r3) +/* 800F5098 000F1FF8 EC 21 00 24 */ fdivs f1, f1, f0 +/* 800F509C 000F1FFC D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800F50A0 000F2000 C0 1D 1C 34 */ lfs f0, 0x1c34(r29) +/* 800F50A4 000F2004 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F50A8 000F2008 40 80 00 0C */ bge lbl_800F50B4 +/* 800F50AC 000F200C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800F50B0 000F2010 48 00 00 08 */ b lbl_800F50B8 +lbl_800F50B4: +/* 800F50B4 000F2014 38 7D 1C 34 */ addi r3, r29, 0x1c34 +lbl_800F50B8: +/* 800F50B8 000F2018 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F50BC 000F201C D0 1D 1C 34 */ stfs f0, 0x1c34(r29) +/* 800F50C0 000F2020 C0 3D 1C 34 */ lfs f1, 0x1c34(r29) +/* 800F50C4 000F2024 C0 0D 88 98 */ lfs f0, lbl_805A7458@sda21(r13) +/* 800F50C8 000F2028 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F50CC 000F202C 40 80 00 0C */ bge lbl_800F50D8 +/* 800F50D0 000F2030 38 7D 1C 34 */ addi r3, r29, 0x1c34 +/* 800F50D4 000F2034 48 00 00 08 */ b lbl_800F50DC +lbl_800F50D8: +/* 800F50D8 000F2038 38 6D 88 98 */ addi r3, r13, lbl_805A7458@sda21 +lbl_800F50DC: +/* 800F50DC 000F203C C0 03 00 00 */ lfs f0, 0(r3) +/* 800F50E0 000F2040 D0 1D 1C 34 */ stfs f0, 0x1c34(r29) +lbl_800F50E4: +/* 800F50E4 000F2044 FC 20 F8 90 */ fmr f1, f31 +/* 800F50E8 000F2048 7F A3 EB 78 */ mr r3, r29 +/* 800F50EC 000F204C 4B FF CF 65 */ bl UpdateMorphBallTransitionFlash__10CMorphBallFf +/* 800F50F0 000F2050 FC 20 F8 90 */ fmr f1, f31 +/* 800F50F4 000F2054 7F A3 EB 78 */ mr r3, r29 +/* 800F50F8 000F2058 4B FF CC 8D */ bl UpdateIceBreakEffect__10CMorphBallFf +/* 800F50FC 000F205C A0 7D 1C 10 */ lhz r3, 0x1c10(r29) +/* 800F5100 000F2060 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800F5104 000F2064 7C 03 00 40 */ cmplw r3, r0 +/* 800F5108 000F2068 41 82 02 C0 */ beq lbl_800F53C8 +/* 800F510C 000F206C A0 1D 1C 10 */ lhz r0, 0x1c10(r29) +/* 800F5110 000F2070 7F C3 F3 78 */ mr r3, r30 +/* 800F5114 000F2074 38 81 00 08 */ addi r4, r1, 8 +/* 800F5118 000F2078 B0 01 00 08 */ sth r0, 8(r1) +/* 800F511C 000F207C 4B F5 74 59 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800F5120 000F2080 7C 64 1B 78 */ mr r4, r3 +/* 800F5124 000F2084 38 61 00 4C */ addi r3, r1, 0x4c +/* 800F5128 000F2088 4B FB 89 5D */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 800F512C 000F208C 83 E3 00 04 */ lwz r31, 4(r3) +/* 800F5130 000F2090 28 1F 00 00 */ cmplwi r31, 0 +/* 800F5134 000F2094 41 82 02 94 */ beq lbl_800F53C8 +/* 800F5138 000F2098 7F A3 EB 78 */ mr r3, r29 +/* 800F513C 000F209C 48 00 3C C9 */ bl GetBallRadius__10CMorphBallCFv +/* 800F5140 000F20A0 C0 41 02 FC */ lfs f2, 0x2fc(r1) +/* 800F5144 000F20A4 7F E3 FB 78 */ mr r3, r31 +/* 800F5148 000F20A8 C0 81 02 DC */ lfs f4, 0x2dc(r1) +/* 800F514C 000F20AC 38 81 00 60 */ addi r4, r1, 0x60 +/* 800F5150 000F20B0 C0 61 02 EC */ lfs f3, 0x2ec(r1) +/* 800F5154 000F20B4 EC 22 08 2A */ fadds f1, f2, f1 +/* 800F5158 000F20B8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F515C 000F20BC D0 81 00 54 */ stfs f4, 0x54(r1) +/* 800F5160 000F20C0 EC A3 00 2A */ fadds f5, f3, f0 +/* 800F5164 000F20C4 EC 04 00 2A */ fadds f0, f4, f0 +/* 800F5168 000F20C8 D0 61 00 58 */ stfs f3, 0x58(r1) +/* 800F516C 000F20CC D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 800F5170 000F20D0 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800F5174 000F20D4 D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 800F5178 000F20D8 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 800F517C 000F20DC 4B F5 DD 11 */ bl SetTranslation__6CActorFRC9CVector3f +/* 800F5180 000F20E0 38 00 00 00 */ li r0, 0 +/* 800F5184 000F20E4 7F A3 EB 78 */ mr r3, r29 +/* 800F5188 000F20E8 98 01 04 40 */ stb r0, 0x440(r1) +/* 800F518C 000F20EC 4B FF CE 21 */ bl IsMorphBallTransitionFlashValid__10CMorphBallCFv +/* 800F5190 000F20F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F5194 000F20F4 41 82 00 48 */ beq lbl_800F51DC +/* 800F5198 000F20F8 80 7D 19 DC */ lwz r3, 0x19dc(r29) +/* 800F519C 000F20FC 81 83 00 00 */ lwz r12, 0(r3) +/* 800F51A0 000F2100 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800F51A4 000F2104 7D 89 03 A6 */ mtctr r12 +/* 800F51A8 000F2108 4E 80 04 21 */ bctrl +/* 800F51AC 000F210C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F51B0 000F2110 41 82 00 2C */ beq lbl_800F51DC +/* 800F51B4 000F2114 80 9D 19 DC */ lwz r4, 0x19dc(r29) +/* 800F51B8 000F2118 38 61 03 50 */ addi r3, r1, 0x350 +/* 800F51BC 000F211C 81 84 00 00 */ lwz r12, 0(r4) +/* 800F51C0 000F2120 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800F51C4 000F2124 7D 89 03 A6 */ mtctr r12 +/* 800F51C8 000F2128 4E 80 04 21 */ bctrl +/* 800F51CC 000F212C 38 61 03 F0 */ addi r3, r1, 0x3f0 +/* 800F51D0 000F2130 38 81 03 50 */ addi r4, r1, 0x350 +/* 800F51D4 000F2134 48 00 02 C5 */ bl sub_800f5498 +/* 800F51D8 000F2138 48 00 00 4C */ b lbl_800F5224 +lbl_800F51DC: +/* 800F51DC 000F213C 80 7D 19 D0 */ lwz r3, 0x19d0(r29) +/* 800F51E0 000F2140 28 03 00 00 */ cmplwi r3, 0 +/* 800F51E4 000F2144 41 82 00 40 */ beq lbl_800F5224 +/* 800F51E8 000F2148 81 83 00 00 */ lwz r12, 0(r3) +/* 800F51EC 000F214C 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800F51F0 000F2150 7D 89 03 A6 */ mtctr r12 +/* 800F51F4 000F2154 4E 80 04 21 */ bctrl +/* 800F51F8 000F2158 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F51FC 000F215C 41 82 00 28 */ beq lbl_800F5224 +/* 800F5200 000F2160 80 9D 19 D0 */ lwz r4, 0x19d0(r29) +/* 800F5204 000F2164 38 61 03 00 */ addi r3, r1, 0x300 +/* 800F5208 000F2168 81 84 00 00 */ lwz r12, 0(r4) +/* 800F520C 000F216C 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800F5210 000F2170 7D 89 03 A6 */ mtctr r12 +/* 800F5214 000F2174 4E 80 04 21 */ bctrl +/* 800F5218 000F2178 38 61 03 F0 */ addi r3, r1, 0x3f0 +/* 800F521C 000F217C 38 81 03 00 */ addi r4, r1, 0x300 +/* 800F5220 000F2180 48 00 02 79 */ bl sub_800f5498 +lbl_800F5224: +/* 800F5224 000F2184 88 01 04 40 */ lbz r0, 0x440(r1) +/* 800F5228 000F2188 28 00 00 00 */ cmplwi r0, 0 +/* 800F522C 000F218C 41 82 01 94 */ beq lbl_800F53C0 +/* 800F5230 000F2190 38 61 03 A0 */ addi r3, r1, 0x3a0 +/* 800F5234 000F2194 38 81 03 F0 */ addi r4, r1, 0x3f0 +/* 800F5238 000F2198 4B F4 63 39 */ bl __ct__6CLightFCR6CLight +/* 800F523C 000F219C 80 9D 00 08 */ lwz r4, 8(r29) +/* 800F5240 000F21A0 3C 60 80 3D */ lis r3, lbl_803CEB78@ha +/* 800F5244 000F21A4 38 00 00 FF */ li r0, 0xff +/* 800F5248 000F21A8 3B C1 03 B8 */ addi r30, r1, 0x3b8 +/* 800F524C 000F21AC 1C C4 00 03 */ mulli r6, r4, 3 +/* 800F5250 000F21B0 38 A3 EB 78 */ addi r5, r3, lbl_803CEB78@l +/* 800F5254 000F21B4 98 01 00 2F */ stb r0, 0x2f(r1) +/* 800F5258 000F21B8 7F C4 F3 78 */ mr r4, r30 +/* 800F525C 000F21BC 38 61 00 30 */ addi r3, r1, 0x30 +/* 800F5260 000F21C0 7C C5 32 14 */ add r6, r5, r6 +/* 800F5264 000F21C4 89 06 00 02 */ lbz r8, 2(r6) +/* 800F5268 000F21C8 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800F526C 000F21CC 88 E6 00 01 */ lbz r7, 1(r6) +/* 800F5270 000F21D0 88 06 00 00 */ lbz r0, 0(r6) +/* 800F5274 000F21D4 98 E1 00 2D */ stb r7, 0x2d(r1) +/* 800F5278 000F21D8 98 01 00 2C */ stb r0, 0x2c(r1) +/* 800F527C 000F21DC 99 01 00 2E */ stb r8, 0x2e(r1) +/* 800F5280 000F21E0 48 26 DE F9 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 800F5284 000F21E4 38 61 03 A0 */ addi r3, r1, 0x3a0 +/* 800F5288 000F21E8 38 81 00 30 */ addi r4, r1, 0x30 +/* 800F528C 000F21EC 48 21 10 D1 */ bl SetColor__6CLightFRC6CColor +/* 800F5290 000F21F0 80 7D 00 00 */ lwz r3, 0(r29) +/* 800F5294 000F21F4 80 03 02 F8 */ lwz r0, 0x2f8(r3) +/* 800F5298 000F21F8 2C 00 00 03 */ cmpwi r0, 3 +/* 800F529C 000F21FC 40 82 00 60 */ bne lbl_800F52FC +/* 800F52A0 000F2200 C3 C2 91 50 */ lfs f30, lbl_805AAE70@sda21(r2) +/* 800F52A4 000F2204 C0 23 05 78 */ lfs f1, 0x578(r3) +/* 800F52A8 000F2208 FC 1E 08 00 */ fcmpu cr0, f30, f1 +/* 800F52AC 000F220C 40 82 00 08 */ bne lbl_800F52B4 +/* 800F52B0 000F2210 48 00 00 24 */ b lbl_800F52D4 +lbl_800F52B4: +/* 800F52B4 000F2214 C0 03 05 74 */ lfs f0, 0x574(r3) +/* 800F52B8 000F2218 38 81 00 10 */ addi r4, r1, 0x10 +/* 800F52BC 000F221C 38 6D 88 28 */ addi r3, r13, lbl_805A73E8@sda21 +/* 800F52C0 000F2220 38 AD 88 2C */ addi r5, r13, lbl_805A73EC@sda21 +/* 800F52C4 000F2224 EC 00 08 24 */ fdivs f0, f0, f1 +/* 800F52C8 000F2228 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800F52CC 000F222C 4B F1 6F E9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F52D0 000F2230 C3 C3 00 00 */ lfs f30, 0(r3) +lbl_800F52D4: +/* 800F52D4 000F2234 48 25 4C E1 */ bl Black__6CColorFv +/* 800F52D8 000F2238 FC 20 F0 90 */ fmr f1, f30 +/* 800F52DC 000F223C 7C 65 1B 78 */ mr r5, r3 +/* 800F52E0 000F2240 7F C4 F3 78 */ mr r4, r30 +/* 800F52E4 000F2244 38 61 00 28 */ addi r3, r1, 0x28 +/* 800F52E8 000F2248 48 26 DF C5 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800F52EC 000F224C 38 61 03 A0 */ addi r3, r1, 0x3a0 +/* 800F52F0 000F2250 38 81 00 28 */ addi r4, r1, 0x28 +/* 800F52F4 000F2254 48 21 10 69 */ bl SetColor__6CLightFRC6CColor +/* 800F52F8 000F2258 48 00 00 BC */ b lbl_800F53B4 +lbl_800F52FC: +/* 800F52FC 000F225C 2C 00 00 02 */ cmpwi r0, 2 +/* 800F5300 000F2260 40 82 00 90 */ bne lbl_800F5390 +/* 800F5304 000F2264 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) +/* 800F5308 000F2268 C0 23 05 78 */ lfs f1, 0x578(r3) +/* 800F530C 000F226C FC 02 08 00 */ fcmpu cr0, f2, f1 +/* 800F5310 000F2270 40 82 00 08 */ bne lbl_800F5318 +/* 800F5314 000F2274 48 00 00 24 */ b lbl_800F5338 +lbl_800F5318: +/* 800F5318 000F2278 C0 03 05 74 */ lfs f0, 0x574(r3) +/* 800F531C 000F227C 38 81 00 0C */ addi r4, r1, 0xc +/* 800F5320 000F2280 38 6D 88 28 */ addi r3, r13, lbl_805A73E8@sda21 +/* 800F5324 000F2284 38 AD 88 2C */ addi r5, r13, lbl_805A73EC@sda21 +/* 800F5328 000F2288 EC 00 08 24 */ fdivs f0, f0, f1 +/* 800F532C 000F228C D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800F5330 000F2290 4B F1 6F 85 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F5334 000F2294 C0 43 00 00 */ lfs f2, 0(r3) +lbl_800F5338: +/* 800F5338 000F2298 C0 02 92 58 */ lfs f0, lbl_805AAF78@sda21(r2) +/* 800F533C 000F229C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800F5340 000F22A0 40 80 00 74 */ bge lbl_800F53B4 +/* 800F5344 000F22A4 C0 22 91 D8 */ lfs f1, lbl_805AAEF8@sda21(r2) +/* 800F5348 000F22A8 C0 0D 88 9C */ lfs f0, lbl_805A745C@sda21(r13) +/* 800F534C 000F22AC EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800F5350 000F22B0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F5354 000F22B4 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800F5358 000F22B8 40 80 00 0C */ bge lbl_800F5364 +/* 800F535C 000F22BC 3B 8D 88 9C */ addi r28, r13, lbl_805A745C@sda21 +/* 800F5360 000F22C0 48 00 00 08 */ b lbl_800F5368 +lbl_800F5364: +/* 800F5364 000F22C4 3B 81 00 20 */ addi r28, r1, 0x20 +lbl_800F5368: +/* 800F5368 000F22C8 48 25 4C 4D */ bl Black__6CColorFv +/* 800F536C 000F22CC C0 3C 00 00 */ lfs f1, 0(r28) +/* 800F5370 000F22D0 7C 64 1B 78 */ mr r4, r3 +/* 800F5374 000F22D4 7F C5 F3 78 */ mr r5, r30 +/* 800F5378 000F22D8 38 61 00 24 */ addi r3, r1, 0x24 +/* 800F537C 000F22DC 48 26 DF 31 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800F5380 000F22E0 38 61 03 A0 */ addi r3, r1, 0x3a0 +/* 800F5384 000F22E4 38 81 00 24 */ addi r4, r1, 0x24 +/* 800F5388 000F22E8 48 21 0F D5 */ bl SetColor__6CLightFRC6CColor +/* 800F538C 000F22EC 48 00 00 28 */ b lbl_800F53B4 +lbl_800F5390: +/* 800F5390 000F22F0 48 25 4C 1D */ bl White__6CColorFv +/* 800F5394 000F22F4 C0 3D 1C 34 */ lfs f1, 0x1c34(r29) +/* 800F5398 000F22F8 7C 65 1B 78 */ mr r5, r3 +/* 800F539C 000F22FC 7F C4 F3 78 */ mr r4, r30 +/* 800F53A0 000F2300 38 61 00 1C */ addi r3, r1, 0x1c +/* 800F53A4 000F2304 48 26 DF 09 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800F53A8 000F2308 38 61 03 A0 */ addi r3, r1, 0x3a0 +/* 800F53AC 000F230C 38 81 00 1C */ addi r4, r1, 0x1c +/* 800F53B0 000F2310 48 21 0F AD */ bl SetColor__6CLightFRC6CColor +lbl_800F53B4: +/* 800F53B4 000F2314 7F E3 FB 78 */ mr r3, r31 +/* 800F53B8 000F2318 38 81 03 A0 */ addi r4, r1, 0x3a0 +/* 800F53BC 000F231C 4B FC 03 89 */ bl SetLight__10CGameLightFRC6CLight +lbl_800F53C0: +/* 800F53C0 000F2320 38 00 00 00 */ li r0, 0 +/* 800F53C4 000F2324 98 01 04 40 */ stb r0, 0x440(r1) +lbl_800F53C8: +/* 800F53C8 000F2328 80 1D 18 7C */ lwz r0, 0x187c(r29) +/* 800F53CC 000F232C 2C 00 00 01 */ cmpwi r0, 1 +/* 800F53D0 000F2330 40 82 00 60 */ bne lbl_800F5430 +/* 800F53D4 000F2334 7F A3 EB 78 */ mr r3, r29 +/* 800F53D8 000F2338 4B FF 9F 11 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv +/* 800F53DC 000F233C 7F A3 EB 78 */ mr r3, r29 +/* 800F53E0 000F2340 4B FF 9F 09 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv +/* 800F53E4 000F2344 7F A3 EB 78 */ mr r3, r29 +/* 800F53E8 000F2348 4B FF 9F 01 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv +/* 800F53EC 000F234C 7F A3 EB 78 */ mr r3, r29 +/* 800F53F0 000F2350 4B FF 9E F9 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv +/* 800F53F4 000F2354 7F A3 EB 78 */ mr r3, r29 +/* 800F53F8 000F2358 4B FF 9E F1 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv +/* 800F53FC 000F235C C0 42 91 90 */ lfs f2, lbl_805AAEB0@sda21(r2) +/* 800F5400 000F2360 C0 3D 1C 38 */ lfs f1, 0x1c38(r29) +/* 800F5404 000F2364 C0 0D 88 A0 */ lfs f0, lbl_805A7460@sda21(r13) +/* 800F5408 000F2368 EC 22 08 2A */ fadds f1, f2, f1 +/* 800F540C 000F236C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F5410 000F2370 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800F5414 000F2374 40 80 00 0C */ bge lbl_800F5420 +/* 800F5418 000F2378 38 61 00 18 */ addi r3, r1, 0x18 +/* 800F541C 000F237C 48 00 00 08 */ b lbl_800F5424 +lbl_800F5420: +/* 800F5420 000F2380 38 6D 88 A0 */ addi r3, r13, lbl_805A7460@sda21 +lbl_800F5424: +/* 800F5424 000F2384 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F5428 000F2388 D0 1D 1C 38 */ stfs f0, 0x1c38(r29) +/* 800F542C 000F238C 48 00 00 34 */ b lbl_800F5460 +lbl_800F5430: +/* 800F5430 000F2390 C0 5D 1C 38 */ lfs f2, 0x1c38(r29) +/* 800F5434 000F2394 C0 22 92 54 */ lfs f1, lbl_805AAF74@sda21(r2) +/* 800F5438 000F2398 C0 0D 88 A4 */ lfs f0, lbl_805A7464@sda21(r13) +/* 800F543C 000F239C EC 22 08 28 */ fsubs f1, f2, f1 +/* 800F5440 000F23A0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F5444 000F23A4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800F5448 000F23A8 40 80 00 0C */ bge lbl_800F5454 +/* 800F544C 000F23AC 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F5450 000F23B0 48 00 00 08 */ b lbl_800F5458 +lbl_800F5454: +/* 800F5454 000F23B4 38 6D 88 A4 */ addi r3, r13, lbl_805A7464@sda21 +lbl_800F5458: +/* 800F5458 000F23B8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F545C 000F23BC D0 1D 1C 38 */ stfs f0, 0x1c38(r29) +lbl_800F5460: +/* 800F5460 000F23C0 7F A3 EB 78 */ mr r3, r29 +/* 800F5464 000F23C4 4B FF 9C E5 */ bl UpdateSpiderBallElectricalEffects__10CMorphBallFv +/* 800F5468 000F23C8 E3 E1 04 78 */ psq_l f31, 1144(r1), 0, qr0 +/* 800F546C 000F23CC CB E1 04 70 */ lfd f31, 0x470(r1) +/* 800F5470 000F23D0 E3 C1 04 68 */ psq_l f30, 1128(r1), 0, qr0 +/* 800F5474 000F23D4 CB C1 04 60 */ lfd f30, 0x460(r1) +/* 800F5478 000F23D8 83 E1 04 5C */ lwz r31, 0x45c(r1) +/* 800F547C 000F23DC 83 C1 04 58 */ lwz r30, 0x458(r1) +/* 800F5480 000F23E0 83 A1 04 54 */ lwz r29, 0x454(r1) +/* 800F5484 000F23E4 80 01 04 84 */ lwz r0, 0x484(r1) +/* 800F5488 000F23E8 83 81 04 50 */ lwz r28, 0x450(r1) +/* 800F548C 000F23EC 7C 08 03 A6 */ mtlr r0 +/* 800F5490 000F23F0 38 21 04 80 */ addi r1, r1, 0x480 +/* 800F5494 000F23F4 4E 80 00 20 */ blr + +.global sub_800f5498 +sub_800f5498: +/* 800F5498 000F23F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F549C 000F23FC 7C 08 02 A6 */ mflr r0 +/* 800F54A0 000F2400 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F54A4 000F2404 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F54A8 000F2408 7C 7F 1B 78 */ mr r31, r3 +/* 800F54AC 000F240C 48 00 00 1D */ bl sub_800f54c8 +/* 800F54B0 000F2410 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F54B4 000F2414 7F E3 FB 78 */ mr r3, r31 +/* 800F54B8 000F2418 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F54BC 000F241C 7C 08 03 A6 */ mtlr r0 +/* 800F54C0 000F2420 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F54C4 000F2424 4E 80 00 20 */ blr + +.global sub_800f54c8 +sub_800f54c8: +/* 800F54C8 000F2428 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F54CC 000F242C 7C 08 02 A6 */ mflr r0 +/* 800F54D0 000F2430 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F54D4 000F2434 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F54D8 000F2438 7C 7F 1B 78 */ mr r31, r3 +/* 800F54DC 000F243C 88 03 00 50 */ lbz r0, 0x50(r3) +/* 800F54E0 000F2440 28 00 00 00 */ cmplwi r0, 0 +/* 800F54E4 000F2444 40 82 00 14 */ bne lbl_800F54F8 +/* 800F54E8 000F2448 4B FF DF 6D */ bl sub_800f3454 +/* 800F54EC 000F244C 38 00 00 01 */ li r0, 1 +/* 800F54F0 000F2450 98 1F 00 50 */ stb r0, 0x50(r31) +/* 800F54F4 000F2454 48 00 00 A4 */ b lbl_800F5598 +lbl_800F54F8: +/* 800F54F8 000F2458 80 64 00 00 */ lwz r3, 0(r4) +/* 800F54FC 000F245C 80 04 00 04 */ lwz r0, 4(r4) +/* 800F5500 000F2460 90 7F 00 00 */ stw r3, 0(r31) +/* 800F5504 000F2464 90 1F 00 04 */ stw r0, 4(r31) +/* 800F5508 000F2468 80 04 00 08 */ lwz r0, 8(r4) +/* 800F550C 000F246C 90 1F 00 08 */ stw r0, 8(r31) +/* 800F5510 000F2470 80 64 00 0C */ lwz r3, 0xc(r4) +/* 800F5514 000F2474 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800F5518 000F2478 90 7F 00 0C */ stw r3, 0xc(r31) +/* 800F551C 000F247C 90 1F 00 10 */ stw r0, 0x10(r31) +/* 800F5520 000F2480 80 04 00 14 */ lwz r0, 0x14(r4) +/* 800F5524 000F2484 90 1F 00 14 */ stw r0, 0x14(r31) +/* 800F5528 000F2488 80 04 00 18 */ lwz r0, 0x18(r4) +/* 800F552C 000F248C 90 1F 00 18 */ stw r0, 0x18(r31) +/* 800F5530 000F2490 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 800F5534 000F2494 90 1F 00 1C */ stw r0, 0x1c(r31) +/* 800F5538 000F2498 C0 04 00 20 */ lfs f0, 0x20(r4) +/* 800F553C 000F249C D0 1F 00 20 */ stfs f0, 0x20(r31) +/* 800F5540 000F24A0 C0 04 00 24 */ lfs f0, 0x24(r4) +/* 800F5544 000F24A4 D0 1F 00 24 */ stfs f0, 0x24(r31) +/* 800F5548 000F24A8 C0 04 00 28 */ lfs f0, 0x28(r4) +/* 800F554C 000F24AC D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 800F5550 000F24B0 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 800F5554 000F24B4 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 800F5558 000F24B8 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 800F555C 000F24BC D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 800F5560 000F24C0 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 800F5564 000F24C4 D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 800F5568 000F24C8 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 800F556C 000F24CC D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 800F5570 000F24D0 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 800F5574 000F24D4 90 1F 00 3C */ stw r0, 0x3c(r31) +/* 800F5578 000F24D8 80 04 00 40 */ lwz r0, 0x40(r4) +/* 800F557C 000F24DC 90 1F 00 40 */ stw r0, 0x40(r31) +/* 800F5580 000F24E0 C0 04 00 44 */ lfs f0, 0x44(r4) +/* 800F5584 000F24E4 D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 800F5588 000F24E8 C0 04 00 48 */ lfs f0, 0x48(r4) +/* 800F558C 000F24EC D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 800F5590 000F24F0 88 04 00 4C */ lbz r0, 0x4c(r4) +/* 800F5594 000F24F4 98 1F 00 4C */ stb r0, 0x4c(r31) +lbl_800F5598: +/* 800F5598 000F24F8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F559C 000F24FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F55A0 000F2500 7C 08 03 A6 */ mtlr r0 +/* 800F55A4 000F2504 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F55A8 000F2508 4E 80 00 20 */ blr + +.global StopEffects__10CMorphBallFv +StopEffects__10CMorphBallFv: +/* 800F55AC 000F250C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F55B0 000F2510 7C 08 02 A6 */ mflr r0 +/* 800F55B4 000F2514 38 80 00 00 */ li r4, 0 +/* 800F55B8 000F2518 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F55BC 000F251C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F55C0 000F2520 93 C1 00 08 */ stw r30, 8(r1) +/* 800F55C4 000F2524 7C 7E 1B 78 */ mr r30, r3 +/* 800F55C8 000F2528 80 63 19 CC */ lwz r3, 0x19cc(r3) +/* 800F55CC 000F252C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F55D0 000F2530 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F55D4 000F2534 7D 89 03 A6 */ mtctr r12 +/* 800F55D8 000F2538 4E 80 04 21 */ bctrl +/* 800F55DC 000F253C 3B FE 1B CC */ addi r31, r30, 0x1bcc +/* 800F55E0 000F2540 38 80 00 00 */ li r4, 0 +/* 800F55E4 000F2544 80 7E 1C 08 */ lwz r3, 0x1c08(r30) +/* 800F55E8 000F2548 81 83 00 00 */ lwz r12, 0(r3) +/* 800F55EC 000F254C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F55F0 000F2550 7D 89 03 A6 */ mtctr r12 +/* 800F55F4 000F2554 4E 80 04 21 */ bctrl +/* 800F55F8 000F2558 80 1E 1C 0C */ lwz r0, 0x1c0c(r30) +/* 800F55FC 000F255C 2C 00 FF FF */ cmpwi r0, -1 +/* 800F5600 000F2560 41 82 00 24 */ beq lbl_800F5624 +/* 800F5604 000F2564 54 03 18 38 */ slwi r3, r0, 3 +/* 800F5608 000F2568 38 80 00 00 */ li r4, 0 +/* 800F560C 000F256C 38 03 00 04 */ addi r0, r3, 4 +/* 800F5610 000F2570 7C 7F 00 2E */ lwzx r3, r31, r0 +/* 800F5614 000F2574 81 83 00 00 */ lwz r12, 0(r3) +/* 800F5618 000F2578 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F561C 000F257C 7D 89 03 A6 */ mtctr r12 +/* 800F5620 000F2580 4E 80 04 21 */ bctrl +lbl_800F5624: +/* 800F5624 000F2584 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F5628 000F2588 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F562C 000F258C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800F5630 000F2590 7C 08 03 A6 */ mtlr r0 +/* 800F5634 000F2594 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F5638 000F2598 4E 80 00 20 */ blr + +.global LeaveMorphBallState__10CMorphBallFR13CStateManager +LeaveMorphBallState__10CMorphBallFR13CStateManager: +/* 800F563C 000F259C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F5640 000F25A0 7C 08 02 A6 */ mflr r0 +/* 800F5644 000F25A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F5648 000F25A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800F564C 000F25AC 7C 7F 1B 78 */ mr r31, r3 +/* 800F5650 000F25B0 4B FF E8 75 */ bl LeaveBoosting__10CMorphBallFv +/* 800F5654 000F25B4 7F E3 FB 78 */ mr r3, r31 +/* 800F5658 000F25B8 4B FF E7 C9 */ bl CancelBoosting__10CMorphBallFv +/* 800F565C 000F25BC 80 1F 1E 24 */ lwz r0, 0x1e24(r31) +/* 800F5660 000F25C0 38 61 00 08 */ addi r3, r1, 8 +/* 800F5664 000F25C4 90 01 00 08 */ stw r0, 8(r1) +/* 800F5668 000F25C8 48 1F 46 E1 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800F566C 000F25CC 7F E3 FB 78 */ mr r3, r31 +/* 800F5670 000F25D0 4B FF FF 3D */ bl StopEffects__10CMorphBallFv +/* 800F5674 000F25D4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F5678 000F25D8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800F567C 000F25DC 7C 08 03 A6 */ mtlr r0 +/* 800F5680 000F25E0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F5684 000F25E4 4E 80 00 20 */ blr + +.global EnterMorphBallState__10CMorphBallFR13CStateManager +EnterMorphBallState__10CMorphBallFR13CStateManager: +/* 800F5688 000F25E8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800F568C 000F25EC 7C 08 02 A6 */ mflr r0 +/* 800F5690 000F25F0 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F5694 000F25F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 800F5698 000F25F8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800F569C 000F25FC 7C 7F 1B 78 */ mr r31, r3 +/* 800F56A0 000F2600 D0 23 1C 20 */ stfs f1, 0x1c20(r3) +/* 800F56A4 000F2604 4B FF F1 C5 */ bl UpdateEffects__10CMorphBallFfR13CStateManager +/* 800F56A8 000F2608 38 C0 00 00 */ li r6, 0 +/* 800F56AC 000F260C C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F56B0 000F2610 90 DF 18 7C */ stw r6, 0x187c(r31) +/* 800F56B4 000F2614 38 60 FF FF */ li r3, -1 +/* 800F56B8 000F2618 38 00 00 01 */ li r0, 1 +/* 800F56BC 000F261C 38 81 00 08 */ addi r4, r1, 8 +/* 800F56C0 000F2620 90 C1 00 08 */ stw r6, 8(r1) +/* 800F56C4 000F2624 38 A0 00 00 */ li r5, 0 +/* 800F56C8 000F2628 90 61 00 0C */ stw r3, 0xc(r1) +/* 800F56CC 000F262C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800F56D0 000F2630 98 01 00 14 */ stb r0, 0x14(r1) +/* 800F56D4 000F2634 90 C1 00 18 */ stw r6, 0x18(r1) +/* 800F56D8 000F2638 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800F56DC 000F263C 98 C1 00 20 */ stb r6, 0x20(r1) +/* 800F56E0 000F2640 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800F56E4 000F2644 90 C1 00 28 */ stw r6, 0x28(r1) +/* 800F56E8 000F2648 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 800F56EC 000F264C 80 7F 00 58 */ lwz r3, 0x58(r31) +/* 800F56F0 000F2650 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800F56F4 000F2654 4B F3 76 89 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800F56F8 000F2658 38 00 00 00 */ li r0, 0 +/* 800F56FC 000F265C 7F E3 FB 78 */ mr r3, r31 +/* 800F5700 000F2660 90 1F 1E 20 */ stw r0, 0x1e20(r31) +/* 800F5704 000F2664 4B FF FE A9 */ bl StopEffects__10CMorphBallFv +/* 800F5708 000F2668 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F570C 000F266C 7F E3 FB 78 */ mr r3, r31 +/* 800F5710 000F2670 D0 1F 1C 30 */ stfs f0, 0x1c30(r31) +/* 800F5714 000F2674 D0 1F 1C 34 */ stfs f0, 0x1c34(r31) +/* 800F5718 000F2678 D0 1F 1C 38 */ stfs f0, 0x1c38(r31) +/* 800F571C 000F267C 4B FF C1 D9 */ bl DisableHalfPipeStatus__10CMorphBallFv +/* 800F5720 000F2680 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F5724 000F2684 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 800F5728 000F2688 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 800F572C 000F268C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800F5730 000F2690 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800F5734 000F2694 7C 08 03 A6 */ mtlr r0 +/* 800F5738 000F2698 38 21 00 40 */ addi r1, r1, 0x40 +/* 800F573C 000F269C 4E 80 00 20 */ blr + +.global SetBallLightActive__10CMorphBallFR13CStateManagerb +SetBallLightActive__10CMorphBallFR13CStateManagerb: +/* 800F5740 000F26A0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F5744 000F26A4 7C 08 02 A6 */ mflr r0 +/* 800F5748 000F26A8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F574C 000F26AC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800F5750 000F26B0 7C BF 2B 78 */ mr r31, r5 +/* 800F5754 000F26B4 A0 C3 1C 10 */ lhz r6, 0x1c10(r3) +/* 800F5758 000F26B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800F575C 000F26BC 7C 06 00 40 */ cmplw r6, r0 +/* 800F5760 000F26C0 41 82 00 44 */ beq lbl_800F57A4 +/* 800F5764 000F26C4 A0 03 1C 10 */ lhz r0, 0x1c10(r3) +/* 800F5768 000F26C8 7C 83 23 78 */ mr r3, r4 +/* 800F576C 000F26CC 38 81 00 08 */ addi r4, r1, 8 +/* 800F5770 000F26D0 B0 01 00 08 */ sth r0, 8(r1) +/* 800F5774 000F26D4 4B F5 6E 01 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800F5778 000F26D8 7C 64 1B 78 */ mr r4, r3 +/* 800F577C 000F26DC 38 61 00 0C */ addi r3, r1, 0xc +/* 800F5780 000F26E0 4B FB 83 05 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" +/* 800F5784 000F26E4 80 63 00 04 */ lwz r3, 4(r3) +/* 800F5788 000F26E8 28 03 00 00 */ cmplwi r3, 0 +/* 800F578C 000F26EC 41 82 00 18 */ beq lbl_800F57A4 +/* 800F5790 000F26F0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F5794 000F26F4 57 E4 06 3E */ clrlwi r4, r31, 0x18 +/* 800F5798 000F26F8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800F579C 000F26FC 7D 89 03 A6 */ mtctr r12 +/* 800F57A0 000F2700 4E 80 04 21 */ bctrl +lbl_800F57A4: +/* 800F57A4 000F2704 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F57A8 000F2708 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800F57AC 000F270C 7C 08 03 A6 */ mtlr r0 +/* 800F57B0 000F2710 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F57B4 000F2714 4E 80 00 20 */ blr + +.global DeleteLight__10CMorphBallFR13CStateManager +DeleteLight__10CMorphBallFR13CStateManager: +/* 800F57B8 000F2718 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F57BC 000F271C 7C 08 02 A6 */ mflr r0 +/* 800F57C0 000F2720 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F57C4 000F2724 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800F57C8 000F2728 7C 7F 1B 78 */ mr r31, r3 +/* 800F57CC 000F272C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800F57D0 000F2730 A0 63 1C 10 */ lhz r3, 0x1c10(r3) +/* 800F57D4 000F2734 7C 03 00 40 */ cmplw r3, r0 +/* 800F57D8 000F2738 41 82 00 20 */ beq lbl_800F57F8 +/* 800F57DC 000F273C A0 1F 1C 10 */ lhz r0, 0x1c10(r31) +/* 800F57E0 000F2740 7C 83 23 78 */ mr r3, r4 +/* 800F57E4 000F2744 38 81 00 08 */ addi r4, r1, 8 +/* 800F57E8 000F2748 B0 01 00 08 */ sth r0, 8(r1) +/* 800F57EC 000F274C 4B F5 6A 81 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 800F57F0 000F2750 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800F57F4 000F2754 B0 1F 1C 10 */ sth r0, 0x1c10(r31) +lbl_800F57F8: +/* 800F57F8 000F2758 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F57FC 000F275C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800F5800 000F2760 7C 08 03 A6 */ mtlr r0 +/* 800F5804 000F2764 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F5808 000F2768 4E 80 00 20 */ blr + +.global AcceptScriptMsg__10CMorphBallF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__10CMorphBallF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800F580C 000F276C 94 21 FF 30 */ stwu r1, -0xd0(r1) +/* 800F5810 000F2770 7C 08 02 A6 */ mflr r0 +/* 800F5814 000F2774 2C 04 00 22 */ cmpwi r4, 0x22 +/* 800F5818 000F2778 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 800F581C 000F277C BF 61 00 BC */ stmw r27, 0xbc(r1) +/* 800F5820 000F2780 7C 7E 1B 78 */ mr r30, r3 +/* 800F5824 000F2784 7C DF 33 78 */ mr r31, r6 +/* 800F5828 000F2788 41 82 01 30 */ beq lbl_800F5958 +/* 800F582C 000F278C 40 80 01 34 */ bge lbl_800F5960 +/* 800F5830 000F2790 2C 04 00 21 */ cmpwi r4, 0x21 +/* 800F5834 000F2794 40 80 00 08 */ bge lbl_800F583C +/* 800F5838 000F2798 48 00 01 28 */ b lbl_800F5960 +lbl_800F583C: +/* 800F583C 000F279C 80 7E 19 D0 */ lwz r3, 0x19d0(r30) +/* 800F5840 000F27A0 28 03 00 00 */ cmplwi r3, 0 +/* 800F5844 000F27A4 41 82 01 1C */ beq lbl_800F5960 +/* 800F5848 000F27A8 81 83 00 00 */ lwz r12, 0(r3) +/* 800F584C 000F27AC 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800F5850 000F27B0 7D 89 03 A6 */ mtctr r12 +/* 800F5854 000F27B4 4E 80 04 21 */ bctrl +/* 800F5858 000F27B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F585C 000F27BC 41 82 01 04 */ beq lbl_800F5960 +/* 800F5860 000F27C0 7F E4 FB 78 */ mr r4, r31 +/* 800F5864 000F27C4 38 61 00 1C */ addi r3, r1, 0x1c +/* 800F5868 000F27C8 4B F5 78 75 */ bl AllocateUniqueId__13CStateManagerFv +/* 800F586C 000F27CC A0 01 00 1C */ lhz r0, 0x1c(r1) +/* 800F5870 000F27D0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F5874 000F27D4 38 63 EB F4 */ addi r3, r3, lbl_803CEBF4@l +/* 800F5878 000F27D8 3B 80 00 00 */ li r28, 0 +/* 800F587C 000F27DC B0 1E 1C 10 */ sth r0, 0x1c10(r30) +/* 800F5880 000F27E0 38 83 00 DC */ addi r4, r3, 0xdc +/* 800F5884 000F27E4 38 60 01 48 */ li r3, 0x148 +/* 800F5888 000F27E8 38 A0 00 00 */ li r5, 0 +/* 800F588C 000F27EC 80 DE 19 88 */ lwz r6, 0x1988(r30) +/* 800F5890 000F27F0 83 66 00 08 */ lwz r27, 8(r6) +/* 800F5894 000F27F4 48 21 FF D9 */ bl __nw__FUlPCcPCc +/* 800F5898 000F27F8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800F589C 000F27FC 41 82 00 9C */ beq lbl_800F5938 +/* 800F58A0 000F2800 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F58A4 000F2804 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F58A8 000F2808 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F58AC 000F280C 83 9E 19 D0 */ lwz r28, 0x19d0(r30) +/* 800F58B0 000F2810 A0 05 00 08 */ lhz r0, 8(r5) +/* 800F58B4 000F2814 38 61 00 24 */ addi r3, r1, 0x24 +/* 800F58B8 000F2818 38 84 01 48 */ addi r4, r4, 0x148 +/* 800F58BC 000F281C B0 01 00 14 */ sth r0, 0x14(r1) +/* 800F58C0 000F2820 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800F58C4 000F2824 4B F0 F3 F5 */ bl string_l__4rstlFPCc +/* 800F58C8 000F2828 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800F58CC 000F282C 7F 84 E3 78 */ mr r4, r28 +/* 800F58D0 000F2830 38 61 00 64 */ addi r3, r1, 0x64 +/* 800F58D4 000F2834 3B 80 00 01 */ li r28, 1 +/* 800F58D8 000F2838 90 01 00 20 */ stw r0, 0x20(r1) +/* 800F58DC 000F283C A0 1E 1C 10 */ lhz r0, 0x1c10(r30) +/* 800F58E0 000F2840 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800F58E4 000F2844 81 84 00 00 */ lwz r12, 0(r4) +/* 800F58E8 000F2848 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800F58EC 000F284C 7D 89 03 A6 */ mtctr r12 +/* 800F58F0 000F2850 4E 80 04 21 */ bctrl +/* 800F58F4 000F2854 7F C4 F3 78 */ mr r4, r30 +/* 800F58F8 000F2858 38 61 00 34 */ addi r3, r1, 0x34 +/* 800F58FC 000F285C 48 00 0D F9 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F5900 000F2860 93 61 00 08 */ stw r27, 8(r1) +/* 800F5904 000F2864 38 00 00 00 */ li r0, 0 +/* 800F5908 000F2868 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F590C 000F286C 7F A3 EB 78 */ mr r3, r29 +/* 800F5910 000F2870 90 01 00 0C */ stw r0, 0xc(r1) +/* 800F5914 000F2874 38 81 00 10 */ addi r4, r1, 0x10 +/* 800F5918 000F2878 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800F591C 000F287C 38 E1 00 24 */ addi r7, r1, 0x24 +/* 800F5920 000F2880 39 01 00 34 */ addi r8, r1, 0x34 +/* 800F5924 000F2884 39 21 00 18 */ addi r9, r1, 0x18 +/* 800F5928 000F2888 39 41 00 64 */ addi r10, r1, 0x64 +/* 800F592C 000F288C 38 C0 00 00 */ li r6, 0 +/* 800F5930 000F2890 4B FB FE F5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" +/* 800F5934 000F2894 7C 7D 1B 78 */ mr r29, r3 +lbl_800F5938: +/* 800F5938 000F2898 7F E3 FB 78 */ mr r3, r31 +/* 800F593C 000F289C 7F A4 EB 78 */ mr r4, r29 +/* 800F5940 000F28A0 4B F5 73 B5 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 800F5944 000F28A4 7F 80 07 75 */ extsb. r0, r28 +/* 800F5948 000F28A8 41 82 00 18 */ beq lbl_800F5960 +/* 800F594C 000F28AC 38 61 00 24 */ addi r3, r1, 0x24 +/* 800F5950 000F28B0 48 24 81 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800F5954 000F28B4 48 00 00 0C */ b lbl_800F5960 +lbl_800F5958: +/* 800F5958 000F28B8 7F E4 FB 78 */ mr r4, r31 +/* 800F595C 000F28BC 4B FF FE 5D */ bl DeleteLight__10CMorphBallFR13CStateManager +lbl_800F5960: +/* 800F5960 000F28C0 BB 61 00 BC */ lmw r27, 0xbc(r1) +/* 800F5964 000F28C4 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800F5968 000F28C8 7C 08 03 A6 */ mtlr r0 +/* 800F596C 000F28CC 38 21 00 D0 */ addi r1, r1, 0xd0 +/* 800F5970 000F28D0 4E 80 00 20 */ blr + +.global Update__10CMorphBallFfR13CStateManager +Update__10CMorphBallFfR13CStateManager: +/* 800F5974 000F28D4 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800F5978 000F28D8 7C 08 02 A6 */ mflr r0 +/* 800F597C 000F28DC 90 01 00 84 */ stw r0, 0x84(r1) +/* 800F5980 000F28E0 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 800F5984 000F28E4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 800F5988 000F28E8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800F598C 000F28EC 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800F5990 000F28F0 7C 7E 1B 78 */ mr r30, r3 +/* 800F5994 000F28F4 FF E0 08 90 */ fmr f31, f1 +/* 800F5998 000F28F8 80 03 18 7C */ lwz r0, 0x187c(r3) +/* 800F599C 000F28FC 7C 9F 23 78 */ mr r31, r4 +/* 800F59A0 000F2900 2C 00 00 01 */ cmpwi r0, 1 +/* 800F59A4 000F2904 40 82 00 38 */ bne lbl_800F59DC +/* 800F59A8 000F2908 7F C4 F3 78 */ mr r4, r30 +/* 800F59AC 000F290C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800F59B0 000F2910 48 00 0D 45 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F59B4 000F2914 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 800F59B8 000F2918 7F C3 F3 78 */ mr r3, r30 +/* 800F59BC 000F291C C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800F59C0 000F2920 38 81 00 0C */ addi r4, r1, 0xc +/* 800F59C4 000F2924 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 800F59C8 000F2928 38 BE 18 90 */ addi r5, r30, 0x1890 +/* 800F59CC 000F292C D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800F59D0 000F2930 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800F59D4 000F2934 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800F59D8 000F2938 48 00 18 35 */ bl CreateSpiderBallParticles__10CMorphBallFRC9CVector3fRC9CVector3f +lbl_800F59DC: +/* 800F59DC 000F293C 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F59E0 000F2940 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F59E4 000F2944 C0 23 09 F4 */ lfs f1, 0x9f4(r3) +/* 800F59E8 000F2948 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F59EC 000F294C 4C 40 13 82 */ cror 2, 0, 2 +/* 800F59F0 000F2950 40 82 00 14 */ bne lbl_800F5A04 +/* 800F59F4 000F2954 FC 20 F8 90 */ fmr f1, f31 +/* 800F59F8 000F2958 7F C3 F3 78 */ mr r3, r30 +/* 800F59FC 000F295C 7F E4 FB 78 */ mr r4, r31 +/* 800F5A00 000F2960 4B FF EE 69 */ bl UpdateEffects__10CMorphBallFfR13CStateManager +lbl_800F5A04: +/* 800F5A04 000F2964 C0 5E 1E 44 */ lfs f2, 0x1e44(r30) +/* 800F5A08 000F2968 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F5A0C 000F296C FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800F5A10 000F2970 40 81 00 3C */ ble lbl_800F5A4C +/* 800F5A14 000F2974 C0 1E 1E 48 */ lfs f0, 0x1e48(r30) +/* 800F5A18 000F2978 EC 00 17 FC */ fnmsubs f0, f0, f31, f2 +/* 800F5A1C 000F297C D0 1E 1E 44 */ stfs f0, 0x1e44(r30) +/* 800F5A20 000F2980 C0 1E 1E 44 */ lfs f0, 0x1e44(r30) +/* 800F5A24 000F2984 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F5A28 000F2988 4C 40 13 82 */ cror 2, 0, 2 +/* 800F5A2C 000F298C 40 82 00 14 */ bne lbl_800F5A40 +/* 800F5A30 000F2990 D0 3E 1E 44 */ stfs f1, 0x1e44(r30) +/* 800F5A34 000F2994 D0 3E 1E 48 */ stfs f1, 0x1e48(r30) +/* 800F5A38 000F2998 D0 3E 1E 4C */ stfs f1, 0x1e4c(r30) +/* 800F5A3C 000F299C 48 00 00 10 */ b lbl_800F5A4C +lbl_800F5A40: +/* 800F5A40 000F29A0 C0 1E 1E 4C */ lfs f0, 0x1e4c(r30) +/* 800F5A44 000F29A4 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800F5A48 000F29A8 D0 1E 1E 4C */ stfs f0, 0x1e4c(r30) +lbl_800F5A4C: +/* 800F5A4C 000F29AC 80 1E 00 58 */ lwz r0, 0x58(r30) +/* 800F5A50 000F29B0 28 00 00 00 */ cmplwi r0, 0 +/* 800F5A54 000F29B4 41 82 00 28 */ beq lbl_800F5A7C +/* 800F5A58 000F29B8 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800F5A5C 000F29BC FC 20 F8 90 */ fmr f1, f31 +/* 800F5A60 000F29C0 7F E5 FB 78 */ mr r5, r31 +/* 800F5A64 000F29C4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800F5A68 000F29C8 90 01 00 08 */ stw r0, 8(r1) +/* 800F5A6C 000F29CC 38 C1 00 08 */ addi r6, r1, 8 +/* 800F5A70 000F29D0 38 E0 00 01 */ li r7, 1 +/* 800F5A74 000F29D4 80 9E 00 58 */ lwz r4, 0x58(r30) +/* 800F5A78 000F29D8 48 02 00 BD */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb +lbl_800F5A7C: +/* 800F5A7C 000F29DC 88 1E 1C 2C */ lbz r0, 0x1c2c(r30) +/* 800F5A80 000F29E0 28 00 00 00 */ cmplwi r0, 0 +/* 800F5A84 000F29E4 41 82 00 50 */ beq lbl_800F5AD4 +/* 800F5A88 000F29E8 C0 5E 1C 28 */ lfs f2, 0x1c28(r30) +/* 800F5A8C 000F29EC C0 3E 1C 20 */ lfs f1, 0x1c20(r30) +/* 800F5A90 000F29F0 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F5A94 000F29F4 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 800F5A98 000F29F8 D0 3E 1C 20 */ stfs f1, 0x1c20(r30) +/* 800F5A9C 000F29FC C0 3E 1C 20 */ lfs f1, 0x1c20(r30) +/* 800F5AA0 000F2A00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F5AA4 000F2A04 40 80 00 14 */ bge lbl_800F5AB8 +/* 800F5AA8 000F2A08 38 00 00 00 */ li r0, 0 +/* 800F5AAC 000F2A0C 98 1E 1C 2C */ stb r0, 0x1c2c(r30) +/* 800F5AB0 000F2A10 D0 1E 1C 20 */ stfs f0, 0x1c20(r30) +/* 800F5AB4 000F2A14 48 00 00 20 */ b lbl_800F5AD4 +lbl_800F5AB8: +/* 800F5AB8 000F2A18 C0 1E 1C 24 */ lfs f0, 0x1c24(r30) +/* 800F5ABC 000F2A1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F5AC0 000F2A20 40 81 00 14 */ ble lbl_800F5AD4 +/* 800F5AC4 000F2A24 38 00 00 00 */ li r0, 0 +/* 800F5AC8 000F2A28 98 1E 1C 2C */ stb r0, 0x1c2c(r30) +/* 800F5ACC 000F2A2C C0 1E 1C 24 */ lfs f0, 0x1c24(r30) +/* 800F5AD0 000F2A30 D0 1E 1C 20 */ stfs f0, 0x1c20(r30) +lbl_800F5AD4: +/* 800F5AD4 000F2A34 80 7E 1C 1C */ lwz r3, 0x1c1c(r30) +/* 800F5AD8 000F2A38 28 03 00 00 */ cmplwi r3, 0 +/* 800F5ADC 000F2A3C 41 82 00 10 */ beq lbl_800F5AEC +/* 800F5AE0 000F2A40 FC 20 F8 90 */ fmr f1, f31 +/* 800F5AE4 000F2A44 7F E4 FB 78 */ mr r4, r31 +/* 800F5AE8 000F2A48 48 17 49 05 */ bl Update__20CRainSplashGeneratorFfR13CStateManager +lbl_800F5AEC: +/* 800F5AEC 000F2A4C FC 20 F8 90 */ fmr f1, f31 +/* 800F5AF0 000F2A50 7F C3 F3 78 */ mr r3, r30 +/* 800F5AF4 000F2A54 4B FF 8D E9 */ bl UpdateMorphBallSound__10CMorphBallFf +/* 800F5AF8 000F2A58 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 800F5AFC 000F2A5C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800F5B00 000F2A60 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 800F5B04 000F2A64 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800F5B08 000F2A68 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800F5B0C 000F2A6C 7C 08 03 A6 */ mtlr r0 +/* 800F5B10 000F2A70 38 21 00 80 */ addi r1, r1, 0x80 +/* 800F5B14 000F2A74 4E 80 00 20 */ blr + +.global SwitchToTire__10CMorphBallFv +SwitchToTire__10CMorphBallFv: +/* 800F5B18 000F2A78 38 00 00 01 */ li r0, 1 +/* 800F5B1C 000F2A7C C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F5B20 000F2A80 98 03 00 28 */ stb r0, 0x28(r3) +/* 800F5B24 000F2A84 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F5B28 000F2A88 98 03 1C 2C */ stb r0, 0x1c2c(r3) +/* 800F5B2C 000F2A8C D0 23 00 30 */ stfs f1, 0x30(r3) +/* 800F5B30 000F2A90 D0 03 1C 28 */ stfs f0, 0x1c28(r3) +/* 800F5B34 000F2A94 4E 80 00 20 */ blr + +.global SwitchToMarble__10CMorphBallFv +SwitchToMarble__10CMorphBallFv: +/* 800F5B38 000F2A98 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800F5B3C 000F2A9C 7C 08 02 A6 */ mflr r0 +/* 800F5B40 000F2AA0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800F5B44 000F2AA4 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800F5B48 000F2AA8 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 800F5B4C 000F2AAC 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 800F5B50 000F2AB0 7C 7E 1B 78 */ mr r30, r3 +/* 800F5B54 000F2AB4 38 61 00 0C */ addi r3, r1, 0xc +/* 800F5B58 000F2AB8 80 9E 00 00 */ lwz r4, 0(r30) +/* 800F5B5C 000F2ABC C0 04 05 00 */ lfs f0, 0x500(r4) +/* 800F5B60 000F2AC0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800F5B64 000F2AC4 C0 04 05 04 */ lfs f0, 0x504(r4) +/* 800F5B68 000F2AC8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800F5B6C 000F2ACC C0 04 05 08 */ lfs f0, 0x508(r4) +/* 800F5B70 000F2AD0 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800F5B74 000F2AD4 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 800F5B78 000F2AD8 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F5B7C 000F2ADC 80 9E 00 00 */ lwz r4, 0(r30) +/* 800F5B80 000F2AE0 38 84 00 34 */ addi r4, r4, 0x34 +/* 800F5B84 000F2AE4 48 21 CE A1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800F5B88 000F2AE8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800F5B8C 000F2AEC 38 81 00 0C */ addi r4, r1, 0xc +/* 800F5B90 000F2AF0 48 21 E2 41 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800F5B94 000F2AF4 7C 64 1B 78 */ mr r4, r3 +/* 800F5B98 000F2AF8 38 61 00 24 */ addi r3, r1, 0x24 +/* 800F5B9C 000F2AFC 38 A1 00 08 */ addi r5, r1, 8 +/* 800F5BA0 000F2B00 48 21 B7 55 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle +/* 800F5BA4 000F2B04 C0 61 00 24 */ lfs f3, 0x24(r1) +/* 800F5BA8 000F2B08 38 61 00 50 */ addi r3, r1, 0x50 +/* 800F5BAC 000F2B0C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 800F5BB0 000F2B10 38 81 00 34 */ addi r4, r1, 0x34 +/* 800F5BB4 000F2B14 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800F5BB8 000F2B18 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800F5BBC 000F2B1C D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800F5BC0 000F2B20 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800F5BC4 000F2B24 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800F5BC8 000F2B28 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800F5BCC 000F2B2C 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F5BD0 000F2B30 3B E5 00 34 */ addi r31, r5, 0x34 +/* 800F5BD4 000F2B34 48 21 C3 E5 */ bl BuildTransform4f__11CQuaternionCFv +/* 800F5BD8 000F2B38 7F E4 FB 78 */ mr r4, r31 +/* 800F5BDC 000F2B3C 38 61 00 80 */ addi r3, r1, 0x80 +/* 800F5BE0 000F2B40 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800F5BE4 000F2B44 48 21 CD 6D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800F5BE8 000F2B48 83 FE 00 00 */ lwz r31, 0(r30) +/* 800F5BEC 000F2B4C 38 81 00 80 */ addi r4, r1, 0x80 +/* 800F5BF0 000F2B50 38 7F 00 34 */ addi r3, r31, 0x34 +/* 800F5BF4 000F2B54 48 21 CF 4D */ bl __as__12CTransform4fFRC12CTransform4f +/* 800F5BF8 000F2B58 88 7F 00 E4 */ lbz r3, 0xe4(r31) +/* 800F5BFC 000F2B5C 38 80 00 01 */ li r4, 1 +/* 800F5C00 000F2B60 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b +/* 800F5C04 000F2B64 38 00 00 00 */ li r0, 0 +/* 800F5C08 000F2B68 98 7F 00 E4 */ stb r3, 0xe4(r31) +/* 800F5C0C 000F2B6C C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) +/* 800F5C10 000F2B70 88 7F 00 E4 */ lbz r3, 0xe4(r31) +/* 800F5C14 000F2B74 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c +/* 800F5C18 000F2B78 98 7F 00 E4 */ stb r3, 0xe4(r31) +/* 800F5C1C 000F2B7C 88 7F 00 E4 */ lbz r3, 0xe4(r31) +/* 800F5C20 000F2B80 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d +/* 800F5C24 000F2B84 98 7F 00 E4 */ stb r3, 0xe4(r31) +/* 800F5C28 000F2B88 98 1E 00 28 */ stb r0, 0x28(r30) +/* 800F5C2C 000F2B8C 98 9E 1C 2C */ stb r4, 0x1c2c(r30) +/* 800F5C30 000F2B90 D0 1E 1C 28 */ stfs f0, 0x1c28(r30) +/* 800F5C34 000F2B94 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 800F5C38 000F2B98 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 800F5C3C 000F2B9C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800F5C40 000F2BA0 7C 08 03 A6 */ mtlr r0 +/* 800F5C44 000F2BA4 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800F5C48 000F2BA8 4E 80 00 20 */ blr + +.global UpdateBallDynamics__10CMorphBallFR13CStateManagerf +UpdateBallDynamics__10CMorphBallFR13CStateManagerf: +/* 800F5C4C 000F2BAC 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 800F5C50 000F2BB0 7C 08 02 A6 */ mflr r0 +/* 800F5C54 000F2BB4 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 800F5C58 000F2BB8 DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 800F5C5C 000F2BBC F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 800F5C60 000F2BC0 DB C1 01 A0 */ stfd f30, 0x1a0(r1) +/* 800F5C64 000F2BC4 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 +/* 800F5C68 000F2BC8 93 E1 01 9C */ stw r31, 0x19c(r1) +/* 800F5C6C 000F2BCC 93 C1 01 98 */ stw r30, 0x198(r1) +/* 800F5C70 000F2BD0 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F5C74 000F2BD4 3C A0 80 5A */ lis r5, skIdentity4f@ha +/* 800F5C78 000F2BD8 FF E0 08 90 */ fmr f31, f1 +/* 800F5C7C 000F2BDC 7C 7E 1B 78 */ mr r30, r3 +/* 800F5C80 000F2BE0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800F5C84 000F2BE4 38 05 66 70 */ addi r0, r5, skIdentity4f@l +/* 800F5C88 000F2BE8 7C 9F 23 78 */ mr r31, r4 +/* 800F5C8C 000F2BEC 38 61 01 50 */ addi r3, r1, 0x150 +/* 800F5C90 000F2BF0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800F5C94 000F2BF4 7C 04 03 78 */ mr r4, r0 +/* 800F5C98 000F2BF8 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800F5C9C 000F2BFC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800F5CA0 000F2C00 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800F5CA4 000F2C04 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800F5CA8 000F2C08 48 21 CE CD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F5CAC 000F2C0C 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F5CB0 000F2C10 38 63 01 44 */ addi r3, r3, 0x144 +/* 800F5CB4 000F2C14 4B F2 58 7D */ bl GetVector__10CAxisAngleCFv +/* 800F5CB8 000F2C18 C0 62 92 84 */ lfs f3, lbl_805AAFA4@sda21(r2) +/* 800F5CBC 000F2C1C 38 81 00 30 */ addi r4, r1, 0x30 +/* 800F5CC0 000F2C20 C0 43 00 04 */ lfs f2, 4(r3) +/* 800F5CC4 000F2C24 C0 23 00 08 */ lfs f1, 8(r3) +/* 800F5CC8 000F2C28 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F5CCC 000F2C2C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F5CD0 000F2C30 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F5CD4 000F2C34 38 61 00 3C */ addi r3, r1, 0x3c +/* 800F5CD8 000F2C38 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F5CDC 000F2C3C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800F5CE0 000F2C40 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800F5CE4 000F2C44 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800F5CE8 000F2C48 4B F2 58 9D */ bl __ct__10CAxisAngleFRC9CVector3f +/* 800F5CEC 000F2C4C 7C 64 1B 78 */ mr r4, r3 +/* 800F5CF0 000F2C50 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F5CF4 000F2C54 48 02 4F 09 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle +/* 800F5CF8 000F2C58 80 AD 88 80 */ lwz r5, lbl_805A7440@sda21(r13) +/* 800F5CFC 000F2C5C 38 60 00 00 */ li r3, 0 +/* 800F5D00 000F2C60 38 80 00 01 */ li r4, 1 +/* 800F5D04 000F2C64 48 29 41 F1 */ bl __shl2i +/* 800F5D08 000F2C68 38 C0 00 01 */ li r6, 1 +/* 800F5D0C 000F2C6C 38 00 00 00 */ li r0, 0 +/* 800F5D10 000F2C70 90 81 00 7C */ stw r4, 0x7c(r1) +/* 800F5D14 000F2C74 7F E4 FB 78 */ mr r4, r31 +/* 800F5D18 000F2C78 C0 2D A3 28 */ lfs f1, lbl_805A8EE8@sda21(r13) +/* 800F5D1C 000F2C7C 38 A1 00 78 */ addi r5, r1, 0x78 +/* 800F5D20 000F2C80 90 61 00 78 */ stw r3, 0x78(r1) +/* 800F5D24 000F2C84 7F C3 F3 78 */ mr r3, r30 +/* 800F5D28 000F2C88 90 C1 00 70 */ stw r6, 0x70(r1) +/* 800F5D2C 000F2C8C 90 01 00 84 */ stw r0, 0x84(r1) +/* 800F5D30 000F2C90 90 01 00 80 */ stw r0, 0x80(r1) +/* 800F5D34 000F2C94 90 C1 00 88 */ stw r6, 0x88(r1) +/* 800F5D38 000F2C98 4B FF B8 2D */ bl BallCloseToCollision__10CMorphBallCFRC13CStateManagerfRC15CMaterialFilter +/* 800F5D3C 000F2C9C 88 1E 1D F8 */ lbz r0, 0x1df8(r30) +/* 800F5D40 000F2CA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800F5D44 000F2CA4 FC 20 F8 90 */ fmr f1, f31 +/* 800F5D48 000F2CA8 7F C3 F3 78 */ mr r3, r30 +/* 800F5D4C 000F2CAC 98 1E 1D F8 */ stb r0, 0x1df8(r30) +/* 800F5D50 000F2CB0 7F E4 FB 78 */ mr r4, r31 +/* 800F5D54 000F2CB4 4B FF BC 89 */ bl UpdateHalfPipeStatus__10CMorphBallFR13CStateManagerf +/* 800F5D58 000F2CB8 C0 1E 1E 00 */ lfs f0, 0x1e00(r30) +/* 800F5D5C 000F2CBC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800F5D60 000F2CC0 D0 1E 1E 00 */ stfs f0, 0x1e00(r30) +/* 800F5D64 000F2CC4 C0 3E 1E 00 */ lfs f1, 0x1e00(r30) +/* 800F5D68 000F2CC8 C0 0D 88 84 */ lfs f0, lbl_805A7444@sda21(r13) +/* 800F5D6C 000F2CCC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F5D70 000F2CD0 40 80 00 0C */ bge lbl_800F5D7C +/* 800F5D74 000F2CD4 38 6D 88 84 */ addi r3, r13, lbl_805A7444@sda21 +/* 800F5D78 000F2CD8 48 00 00 08 */ b lbl_800F5D80 +lbl_800F5D7C: +/* 800F5D7C 000F2CDC 38 7E 1E 00 */ addi r3, r30, 0x1e00 +lbl_800F5D80: +/* 800F5D80 000F2CE0 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F5D84 000F2CE4 D0 1E 1E 00 */ stfs f0, 0x1e00(r30) +/* 800F5D88 000F2CE8 C0 1E 19 1C */ lfs f0, 0x191c(r30) +/* 800F5D8C 000F2CEC EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800F5D90 000F2CF0 D0 1E 19 1C */ stfs f0, 0x191c(r30) +/* 800F5D94 000F2CF4 C0 3E 19 1C */ lfs f1, 0x191c(r30) +/* 800F5D98 000F2CF8 C0 0D 88 88 */ lfs f0, lbl_805A7448@sda21(r13) +/* 800F5D9C 000F2CFC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F5DA0 000F2D00 40 80 00 0C */ bge lbl_800F5DAC +/* 800F5DA4 000F2D04 38 6D 88 88 */ addi r3, r13, lbl_805A7448@sda21 +/* 800F5DA8 000F2D08 48 00 00 08 */ b lbl_800F5DB0 +lbl_800F5DAC: +/* 800F5DAC 000F2D0C 38 7E 19 1C */ addi r3, r30, 0x191c +lbl_800F5DB0: +/* 800F5DB0 000F2D10 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F5DB4 000F2D14 D0 1E 19 1C */ stfs f0, 0x191c(r30) +/* 800F5DB8 000F2D18 80 1E 18 7C */ lwz r0, 0x187c(r30) +/* 800F5DBC 000F2D1C 2C 00 00 01 */ cmpwi r0, 1 +/* 800F5DC0 000F2D20 40 82 00 6C */ bne lbl_800F5E2C +/* 800F5DC4 000F2D24 7F C4 F3 78 */ mr r4, r30 +/* 800F5DC8 000F2D28 38 61 01 20 */ addi r3, r1, 0x120 +/* 800F5DCC 000F2D2C 38 BE 18 80 */ addi r5, r30, 0x1880 +/* 800F5DD0 000F2D30 38 DE 18 90 */ addi r6, r30, 0x1890 +/* 800F5DD4 000F2D34 38 FE 18 9C */ addi r7, r30, 0x189c +/* 800F5DD8 000F2D38 48 00 07 95 */ bl CalculateSurfaceToWorld__10CMorphBallCFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800F5DDC 000F2D3C 38 7E 19 24 */ addi r3, r30, 0x1924 +/* 800F5DE0 000F2D40 38 81 01 20 */ addi r4, r1, 0x120 +/* 800F5DE4 000F2D44 48 21 CD 5D */ bl __as__12CTransform4fFRC12CTransform4f +/* 800F5DE8 000F2D48 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F5DEC 000F2D4C D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 800F5DF0 000F2D50 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 800F5DF4 000F2D54 28 00 00 00 */ cmplwi r0, 0 +/* 800F5DF8 000F2D58 40 82 00 0C */ bne lbl_800F5E04 +/* 800F5DFC 000F2D5C 7F C3 F3 78 */ mr r3, r30 +/* 800F5E00 000F2D60 4B FF FD 19 */ bl SwitchToTire__10CMorphBallFv +lbl_800F5E04: +/* 800F5E04 000F2D64 38 00 00 01 */ li r0, 1 +/* 800F5E08 000F2D68 C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) +/* 800F5E0C 000F2D6C 98 1E 1C 2C */ stb r0, 0x1c2c(r30) +/* 800F5E10 000F2D70 FC 20 F8 90 */ fmr f1, f31 +/* 800F5E14 000F2D74 7F C3 F3 78 */ mr r3, r30 +/* 800F5E18 000F2D78 7F E4 FB 78 */ mr r4, r31 +/* 800F5E1C 000F2D7C D0 1E 1C 28 */ stfs f0, 0x1c28(r30) +/* 800F5E20 000F2D80 38 BE 18 90 */ addi r5, r30, 0x1890 +/* 800F5E24 000F2D84 4B FF D8 09 */ bl UpdateMarbleDynamics__10CMorphBallFR13CStateManagerfRC9CVector3f +/* 800F5E28 000F2D88 48 00 01 C0 */ b lbl_800F5FE8 +lbl_800F5E2C: +/* 800F5E2C 000F2D8C 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F5E30 000F2D90 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 800F5E34 000F2D94 2C 00 00 02 */ cmpwi r0, 2 +/* 800F5E38 000F2D98 40 82 00 0C */ bne lbl_800F5E44 +/* 800F5E3C 000F2D9C 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 800F5E40 000F2DA0 48 00 00 08 */ b lbl_800F5E48 +lbl_800F5E44: +/* 800F5E44 000F2DA4 38 00 00 04 */ li r0, 4 +lbl_800F5E48: +/* 800F5E48 000F2DA8 2C 00 00 01 */ cmpwi r0, 1 +/* 800F5E4C 000F2DAC 41 82 01 94 */ beq lbl_800F5FE0 +/* 800F5E50 000F2DB0 7F C3 F3 78 */ mr r3, r30 +/* 800F5E54 000F2DB4 38 81 00 54 */ addi r4, r1, 0x54 +/* 800F5E58 000F2DB8 38 A1 00 48 */ addi r5, r1, 0x48 +/* 800F5E5C 000F2DBC 48 00 06 C5 */ bl CalculateBallContactInfo__10CMorphBallCFR9CVector3fR9CVector3f +/* 800F5E60 000F2DC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F5E64 000F2DC4 41 82 01 84 */ beq lbl_800F5FE8 +/* 800F5E68 000F2DC8 80 FE 00 00 */ lwz r7, 0(r30) +/* 800F5E6C 000F2DCC 7F C4 F3 78 */ mr r4, r30 +/* 800F5E70 000F2DD0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800F5E74 000F2DD4 38 A1 00 54 */ addi r5, r1, 0x54 +/* 800F5E78 000F2DD8 38 C1 00 48 */ addi r6, r1, 0x48 +/* 800F5E7C 000F2DDC 38 E7 05 00 */ addi r7, r7, 0x500 +/* 800F5E80 000F2DE0 48 00 06 ED */ bl CalculateSurfaceToWorld__10CMorphBallCFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800F5E84 000F2DE4 38 7E 19 24 */ addi r3, r30, 0x1924 +/* 800F5E88 000F2DE8 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 800F5E8C 000F2DEC 48 21 CC B5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800F5E90 000F2DF0 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F5E94 000F2DF4 38 63 01 38 */ addi r3, r3, 0x138 +/* 800F5E98 000F2DF8 48 21 EA 21 */ bl Magnitude__9CVector3fCFv +/* 800F5E9C 000F2DFC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F5EA0 000F2E00 FF C0 08 90 */ fmr f30, f1 +/* 800F5EA4 000F2E04 C0 03 01 F0 */ lfs f0, 0x1f0(r3) +/* 800F5EA8 000F2E08 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800F5EAC 000F2E0C 40 80 00 18 */ bge lbl_800F5EC4 +/* 800F5EB0 000F2E10 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 800F5EB4 000F2E14 28 00 00 00 */ cmplwi r0, 0 +/* 800F5EB8 000F2E18 41 82 00 0C */ beq lbl_800F5EC4 +/* 800F5EBC 000F2E1C 7F C3 F3 78 */ mr r3, r30 +/* 800F5EC0 000F2E20 4B FF FC 79 */ bl SwitchToMarble__10CMorphBallFv +lbl_800F5EC4: +/* 800F5EC4 000F2E24 FC 20 F8 90 */ fmr f1, f31 +/* 800F5EC8 000F2E28 7F C3 F3 78 */ mr r3, r30 +/* 800F5ECC 000F2E2C 7F E4 FB 78 */ mr r4, r31 +/* 800F5ED0 000F2E30 38 A1 00 48 */ addi r5, r1, 0x48 +/* 800F5ED4 000F2E34 4B FF D7 59 */ bl UpdateMarbleDynamics__10CMorphBallFR13CStateManagerfRC9CVector3f +/* 800F5ED8 000F2E38 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F5EDC 000F2E3C 41 82 00 2C */ beq lbl_800F5F08 +/* 800F5EE0 000F2E40 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F5EE4 000F2E44 C0 03 01 F4 */ lfs f0, 0x1f4(r3) +/* 800F5EE8 000F2E48 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800F5EEC 000F2E4C 4C 41 13 82 */ cror 2, 1, 2 +/* 800F5EF0 000F2E50 40 82 00 18 */ bne lbl_800F5F08 +/* 800F5EF4 000F2E54 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 800F5EF8 000F2E58 28 00 00 00 */ cmplwi r0, 0 +/* 800F5EFC 000F2E5C 40 82 00 0C */ bne lbl_800F5F08 +/* 800F5F00 000F2E60 7F C3 F3 78 */ mr r3, r30 +/* 800F5F04 000F2E64 4B FF FC 15 */ bl SwitchToTire__10CMorphBallFv +lbl_800F5F08: +/* 800F5F08 000F2E68 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 800F5F0C 000F2E6C 28 00 00 00 */ cmplwi r0, 0 +/* 800F5F10 000F2E70 41 82 00 D8 */ beq lbl_800F5FE8 +/* 800F5F14 000F2E74 80 FE 00 00 */ lwz r7, 0(r30) +/* 800F5F18 000F2E78 80 07 02 B0 */ lwz r0, 0x2b0(r7) +/* 800F5F1C 000F2E7C 2C 00 00 02 */ cmpwi r0, 2 +/* 800F5F20 000F2E80 40 82 00 0C */ bne lbl_800F5F2C +/* 800F5F24 000F2E84 80 07 02 AC */ lwz r0, 0x2ac(r7) +/* 800F5F28 000F2E88 48 00 00 08 */ b lbl_800F5F30 +lbl_800F5F2C: +/* 800F5F2C 000F2E8C 38 00 00 04 */ li r0, 4 +lbl_800F5F30: +/* 800F5F30 000F2E90 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) +/* 800F5F34 000F2E94 54 00 10 3A */ slwi r0, r0, 2 +/* 800F5F38 000F2E98 38 61 00 24 */ addi r3, r1, 0x24 +/* 800F5F3C 000F2E9C 38 87 00 34 */ addi r4, r7, 0x34 +/* 800F5F40 000F2EA0 7C C5 02 14 */ add r6, r5, r0 +/* 800F5F44 000F2EA4 38 A7 01 5C */ addi r5, r7, 0x15c +/* 800F5F48 000F2EA8 C3 C6 00 04 */ lfs f30, 4(r6) +/* 800F5F4C 000F2EAC 48 21 CA D9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800F5F50 000F2EB0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 800F5F54 000F2EB4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F5F58 000F2EB8 EC 40 F0 24 */ fdivs f2, f0, f30 +/* 800F5F5C 000F2EBC C0 23 01 EC */ lfs f1, 0x1ec(r3) +/* 800F5F60 000F2EC0 C0 03 01 F8 */ lfs f0, 0x1f8(r3) +/* 800F5F64 000F2EC4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800F5F68 000F2EC8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F5F6C 000F2ECC D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 800F5F70 000F2ED0 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 800F5F74 000F2ED4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F5F78 000F2ED8 FC 20 12 10 */ fabs f1, f2 +/* 800F5F7C 000F2EDC C0 03 01 EC */ lfs f0, 0x1ec(r3) +/* 800F5F80 000F2EE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F5F84 000F2EE4 40 81 00 14 */ ble lbl_800F5F98 +/* 800F5F88 000F2EE8 C0 62 91 A8 */ lfs f3, lbl_805AAEC8@sda21(r2) +/* 800F5F8C 000F2EEC C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F5F90 000F2EF0 FC 22 18 6E */ fsel f1, f2, f1, f3 +/* 800F5F94 000F2EF4 EC 40 00 72 */ fmuls f2, f0, f1 +lbl_800F5F98: +/* 800F5F98 000F2EF8 D0 5E 00 2C */ stfs f2, 0x2c(r30) +/* 800F5F9C 000F2EFC C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F5FA0 000F2F00 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F5FA4 000F2F04 C0 3E 19 34 */ lfs f1, 0x1934(r30) +/* 800F5FA8 000F2F08 C0 43 00 44 */ lfs f2, 0x44(r3) +/* 800F5FAC 000F2F0C C0 63 00 34 */ lfs f3, 0x34(r3) +/* 800F5FB0 000F2F10 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800F5FB4 000F2F14 C0 5E 19 24 */ lfs f2, 0x1924(r30) +/* 800F5FB8 000F2F18 C0 A3 00 54 */ lfs f5, 0x54(r3) +/* 800F5FBC 000F2F1C C0 9E 19 44 */ lfs f4, 0x1944(r30) +/* 800F5FC0 000F2F20 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 800F5FC4 000F2F24 EC 25 09 3A */ fmadds f1, f5, f4, f1 +/* 800F5FC8 000F2F28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F5FCC 000F2F2C 40 80 00 1C */ bge lbl_800F5FE8 +/* 800F5FD0 000F2F30 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 800F5FD4 000F2F34 FC 00 00 50 */ fneg f0, f0 +/* 800F5FD8 000F2F38 D0 1E 00 2C */ stfs f0, 0x2c(r30) +/* 800F5FDC 000F2F3C 48 00 00 0C */ b lbl_800F5FE8 +lbl_800F5FE0: +/* 800F5FE0 000F2F40 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F5FE4 000F2F44 D0 1E 00 2C */ stfs f0, 0x2c(r30) +lbl_800F5FE8: +/* 800F5FE8 000F2F48 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 800F5FEC 000F2F4C 3C 00 43 30 */ lis r0, 0x4330 +/* 800F5FF0 000F2F50 C0 3E 00 30 */ lfs f1, 0x30(r30) +/* 800F5FF4 000F2F54 C0 02 92 A4 */ lfs f0, lbl_805AAFC4@sda21(r2) +/* 800F5FF8 000F2F58 EC 82 08 28 */ fsubs f4, f2, f1 +/* 800F5FFC 000F2F5C 90 01 01 88 */ stw r0, 0x188(r1) +/* 800F6000 000F2F60 C8 62 92 10 */ lfd f3, lbl_805AAF30@sda21(r2) +/* 800F6004 000F2F64 C0 22 92 D4 */ lfs f1, lbl_805AAFF4@sda21(r2) +/* 800F6008 000F2F68 EC 44 00 32 */ fmuls f2, f4, f0 +/* 800F600C 000F2F6C C0 02 92 64 */ lfs f0, lbl_805AAF84@sda21(r2) +/* 800F6010 000F2F70 FC 40 10 1E */ fctiwz f2, f2 +/* 800F6014 000F2F74 D8 41 01 80 */ stfd f2, 0x180(r1) +/* 800F6018 000F2F78 80 01 01 84 */ lwz r0, 0x184(r1) +/* 800F601C 000F2F7C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800F6020 000F2F80 90 01 01 8C */ stw r0, 0x18c(r1) +/* 800F6024 000F2F84 C8 41 01 88 */ lfd f2, 0x188(r1) +/* 800F6028 000F2F88 EC 42 18 28 */ fsubs f2, f2, f3 +/* 800F602C 000F2F8C EC 82 20 7C */ fnmsubs f4, f2, f1, f4 +/* 800F6030 000F2F90 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 800F6034 000F2F94 40 81 00 0C */ ble lbl_800F6040 +/* 800F6038 000F2F98 EC 84 08 28 */ fsubs f4, f4, f1 +/* 800F603C 000F2F9C 48 00 00 14 */ b lbl_800F6050 +lbl_800F6040: +/* 800F6040 000F2FA0 C0 02 92 D8 */ lfs f0, lbl_805AAFF8@sda21(r2) +/* 800F6044 000F2FA4 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 800F6048 000F2FA8 40 80 00 08 */ bge lbl_800F6050 +/* 800F604C 000F2FAC EC 81 20 2A */ fadds f4, f1, f4 +lbl_800F6050: +/* 800F6050 000F2FB0 FC 20 22 10 */ fabs f1, f4 +/* 800F6054 000F2FB4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F6058 000F2FB8 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) +/* 800F605C 000F2FBC C0 43 01 EC */ lfs f2, 0x1ec(r3) +/* 800F6060 000F2FC0 FC 20 08 18 */ frsp f1, f1 +/* 800F6064 000F2FC4 C0 63 01 FC */ lfs f3, 0x1fc(r3) +/* 800F6068 000F2FC8 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 800F606C 000F2FCC EC 02 00 72 */ fmuls f0, f2, f1 +/* 800F6070 000F2FD0 EC 23 00 32 */ fmuls f1, f3, f0 +/* 800F6074 000F2FD4 40 81 00 14 */ ble lbl_800F6088 +/* 800F6078 000F2FD8 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 800F607C 000F2FDC EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 800F6080 000F2FE0 D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 800F6084 000F2FE4 48 00 00 28 */ b lbl_800F60AC +lbl_800F6088: +/* 800F6088 000F2FE8 C0 02 92 1C */ lfs f0, lbl_805AAF3C@sda21(r2) +/* 800F608C 000F2FEC FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 800F6090 000F2FF0 40 80 00 14 */ bge lbl_800F60A4 +/* 800F6094 000F2FF4 C0 1E 00 30 */ lfs f0, 0x30(r30) +/* 800F6098 000F2FF8 EC 01 07 FC */ fnmsubs f0, f1, f31, f0 +/* 800F609C 000F2FFC D0 1E 00 30 */ stfs f0, 0x30(r30) +/* 800F60A0 000F3000 48 00 00 0C */ b lbl_800F60AC +lbl_800F60A4: +/* 800F60A4 000F3004 C0 1E 00 2C */ lfs f0, 0x2c(r30) +/* 800F60A8 000F3008 D0 1E 00 30 */ stfs f0, 0x30(r30) +lbl_800F60AC: +/* 800F60AC 000F300C 80 1E 18 7C */ lwz r0, 0x187c(r30) +/* 800F60B0 000F3010 2C 00 00 01 */ cmpwi r0, 1 +/* 800F60B4 000F3014 41 82 00 18 */ beq lbl_800F60CC +/* 800F60B8 000F3018 7F C3 F3 78 */ mr r3, r30 +/* 800F60BC 000F301C 4B FF 9F 55 */ bl CalculateSurfaceFriction__10CMorphBallCFv +/* 800F60C0 000F3020 7F C3 F3 78 */ mr r3, r30 +/* 800F60C4 000F3024 4B FF D4 99 */ bl ApplyFriction__10CMorphBallFf +/* 800F60C8 000F3028 48 00 00 14 */ b lbl_800F60DC +lbl_800F60CC: +/* 800F60CC 000F302C C0 3E 18 B4 */ lfs f1, 0x18b4(r30) +/* 800F60D0 000F3030 7F C3 F3 78 */ mr r3, r30 +/* 800F60D4 000F3034 C0 5E 18 B8 */ lfs f2, 0x18b8(r30) +/* 800F60D8 000F3038 4B FF D3 C5 */ bl DampLinearAndAngularVelocities__10CMorphBallFff +lbl_800F60DC: +/* 800F60DC 000F303C 80 1E 18 7C */ lwz r0, 0x187c(r30) +/* 800F60E0 000F3040 2C 00 00 01 */ cmpwi r0, 1 +/* 800F60E4 000F3044 41 82 00 10 */ beq lbl_800F60F4 +/* 800F60E8 000F3048 7F C3 F3 78 */ mr r3, r30 +/* 800F60EC 000F304C 7F E4 FB 78 */ mr r4, r31 +/* 800F60F0 000F3050 4B FF 9E 79 */ bl ApplyGravity__10CMorphBallFR13CStateManager +lbl_800F60F4: +/* 800F60F4 000F3054 80 BE 00 74 */ lwz r5, 0x74(r30) +/* 800F60F8 000F3058 38 60 00 00 */ li r3, 0 +/* 800F60FC 000F305C 2C 05 00 00 */ cmpwi r5, 0 +/* 800F6100 000F3060 40 81 00 40 */ ble lbl_800F6140 +/* 800F6104 000F3064 2C 05 00 08 */ cmpwi r5, 8 +/* 800F6108 000F3068 38 85 FF F8 */ addi r4, r5, -8 +/* 800F610C 000F306C 40 81 00 20 */ ble lbl_800F612C +/* 800F6110 000F3070 38 04 00 07 */ addi r0, r4, 7 +/* 800F6114 000F3074 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F6118 000F3078 7C 09 03 A6 */ mtctr r0 +/* 800F611C 000F307C 2C 04 00 00 */ cmpwi r4, 0 +/* 800F6120 000F3080 40 81 00 0C */ ble lbl_800F612C +lbl_800F6124: +/* 800F6124 000F3084 38 63 00 08 */ addi r3, r3, 8 +/* 800F6128 000F3088 42 00 FF FC */ bdnz lbl_800F6124 +lbl_800F612C: +/* 800F612C 000F308C 7C 03 28 50 */ subf r0, r3, r5 +/* 800F6130 000F3090 7C 09 03 A6 */ mtctr r0 +/* 800F6134 000F3094 7C 03 28 00 */ cmpw r3, r5 +/* 800F6138 000F3098 40 80 00 08 */ bge lbl_800F6140 +lbl_800F613C: +/* 800F613C 000F309C 42 00 00 00 */ bdnz lbl_800F613C +lbl_800F6140: +/* 800F6140 000F30A0 38 00 00 00 */ li r0, 0 +/* 800F6144 000F30A4 7F C4 F3 78 */ mr r4, r30 +/* 800F6148 000F30A8 90 1E 00 74 */ stw r0, 0x74(r30) +/* 800F614C 000F30AC 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800F6150 000F30B0 48 00 05 A5 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F6154 000F30B4 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F6158 000F30B8 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 800F615C 000F30BC 48 21 BF CD */ bl FromMatrix__11CQuaternionFRC12CTransform4f +/* 800F6160 000F30C0 38 7E 1C 3C */ addi r3, r30, 0x1c3c +/* 800F6164 000F30C4 38 81 00 14 */ addi r4, r1, 0x14 +/* 800F6168 000F30C8 48 00 01 B9 */ bl sub_800f6320 +/* 800F616C 000F30CC 7F C4 F3 78 */ mr r4, r30 +/* 800F6170 000F30D0 38 61 00 90 */ addi r3, r1, 0x90 +/* 800F6174 000F30D4 48 00 05 81 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F6178 000F30D8 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 800F617C 000F30DC 38 7E 1C 90 */ addi r3, r30, 0x1c90 +/* 800F6180 000F30E0 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 800F6184 000F30E4 38 81 00 08 */ addi r4, r1, 8 +/* 800F6188 000F30E8 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 800F618C 000F30EC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800F6190 000F30F0 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F6194 000F30F4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800F6198 000F30F8 48 00 00 2D */ bl sub_800f61c4 +/* 800F619C 000F30FC E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 +/* 800F61A0 000F3100 CB E1 01 B0 */ lfd f31, 0x1b0(r1) +/* 800F61A4 000F3104 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 +/* 800F61A8 000F3108 CB C1 01 A0 */ lfd f30, 0x1a0(r1) +/* 800F61AC 000F310C 83 E1 01 9C */ lwz r31, 0x19c(r1) +/* 800F61B0 000F3110 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 800F61B4 000F3114 83 C1 01 98 */ lwz r30, 0x198(r1) +/* 800F61B8 000F3118 7C 08 03 A6 */ mtlr r0 +/* 800F61BC 000F311C 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 800F61C0 000F3120 4E 80 00 20 */ blr + +.global sub_800f61c4 +sub_800f61c4: +/* 800F61C4 000F3124 80 03 00 00 */ lwz r0, 0(r3) +/* 800F61C8 000F3128 2C 00 00 05 */ cmpwi r0, 5 +/* 800F61CC 000F312C 40 80 00 38 */ bge lbl_800F6204 +/* 800F61D0 000F3130 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800F61D4 000F3134 7C A3 02 14 */ add r5, r3, r0 +/* 800F61D8 000F3138 34 A5 00 04 */ addic. r5, r5, 4 +/* 800F61DC 000F313C 41 82 00 1C */ beq lbl_800F61F8 +/* 800F61E0 000F3140 C0 04 00 00 */ lfs f0, 0(r4) +/* 800F61E4 000F3144 D0 05 00 00 */ stfs f0, 0(r5) +/* 800F61E8 000F3148 C0 04 00 04 */ lfs f0, 4(r4) +/* 800F61EC 000F314C D0 05 00 04 */ stfs f0, 4(r5) +/* 800F61F0 000F3150 C0 04 00 08 */ lfs f0, 8(r4) +/* 800F61F4 000F3154 D0 05 00 08 */ stfs f0, 8(r5) +lbl_800F61F8: +/* 800F61F8 000F3158 80 A3 00 00 */ lwz r5, 0(r3) +/* 800F61FC 000F315C 38 05 00 01 */ addi r0, r5, 1 +/* 800F6200 000F3160 90 03 00 00 */ stw r0, 0(r3) +lbl_800F6204: +/* 800F6204 000F3164 80 A3 00 00 */ lwz r5, 0(r3) +/* 800F6208 000F3168 35 25 FF FF */ addic. r9, r5, -1 +/* 800F620C 000F316C 1C 09 00 0C */ mulli r0, r9, 0xc +/* 800F6210 000F3170 7D 25 4B 78 */ mr r5, r9 +/* 800F6214 000F3174 7D 03 02 14 */ add r8, r3, r0 +/* 800F6218 000F3178 39 08 00 04 */ addi r8, r8, 4 +/* 800F621C 000F317C 40 81 00 E8 */ ble lbl_800F6304 +/* 800F6220 000F3180 55 20 F0 BF */ rlwinm. r0, r9, 0x1e, 2, 0x1f +/* 800F6224 000F3184 7C 09 03 A6 */ mtctr r0 +/* 800F6228 000F3188 41 82 00 A8 */ beq lbl_800F62D0 +lbl_800F622C: +/* 800F622C 000F318C 38 C9 FF FF */ addi r6, r9, -1 +/* 800F6230 000F3190 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F6234 000F3194 38 C9 FF FE */ addi r6, r9, -2 +/* 800F6238 000F3198 7C E3 02 14 */ add r7, r3, r0 +/* 800F623C 000F319C C0 07 00 04 */ lfs f0, 4(r7) +/* 800F6240 000F31A0 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F6244 000F31A4 38 C9 FF FD */ addi r6, r9, -3 +/* 800F6248 000F31A8 D0 08 00 00 */ stfs f0, 0(r8) +/* 800F624C 000F31AC C0 07 00 08 */ lfs f0, 8(r7) +/* 800F6250 000F31B0 D0 08 00 04 */ stfs f0, 4(r8) +/* 800F6254 000F31B4 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F6258 000F31B8 7C E3 02 14 */ add r7, r3, r0 +/* 800F625C 000F31BC 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F6260 000F31C0 38 C9 FF FC */ addi r6, r9, -4 +/* 800F6264 000F31C4 D0 08 00 08 */ stfs f0, 8(r8) +/* 800F6268 000F31C8 39 29 FF FC */ addi r9, r9, -4 +/* 800F626C 000F31CC C0 07 00 04 */ lfs f0, 4(r7) +/* 800F6270 000F31D0 D0 08 FF F4 */ stfs f0, -0xc(r8) +/* 800F6274 000F31D4 C0 07 00 08 */ lfs f0, 8(r7) +/* 800F6278 000F31D8 D0 08 FF F8 */ stfs f0, -8(r8) +/* 800F627C 000F31DC C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F6280 000F31E0 7C E3 02 14 */ add r7, r3, r0 +/* 800F6284 000F31E4 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F6288 000F31E8 D0 08 FF FC */ stfs f0, -4(r8) +/* 800F628C 000F31EC C0 07 00 04 */ lfs f0, 4(r7) +/* 800F6290 000F31F0 D0 08 FF E8 */ stfs f0, -0x18(r8) +/* 800F6294 000F31F4 C0 07 00 08 */ lfs f0, 8(r7) +/* 800F6298 000F31F8 D0 08 FF EC */ stfs f0, -0x14(r8) +/* 800F629C 000F31FC C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F62A0 000F3200 7C E3 02 14 */ add r7, r3, r0 +/* 800F62A4 000F3204 D0 08 FF F0 */ stfs f0, -0x10(r8) +/* 800F62A8 000F3208 C0 07 00 04 */ lfs f0, 4(r7) +/* 800F62AC 000F320C D0 08 FF DC */ stfs f0, -0x24(r8) +/* 800F62B0 000F3210 C0 07 00 08 */ lfs f0, 8(r7) +/* 800F62B4 000F3214 D0 08 FF E0 */ stfs f0, -0x20(r8) +/* 800F62B8 000F3218 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F62BC 000F321C D0 08 FF E4 */ stfs f0, -0x1c(r8) +/* 800F62C0 000F3220 39 08 FF D0 */ addi r8, r8, -48 +/* 800F62C4 000F3224 42 00 FF 68 */ bdnz lbl_800F622C +/* 800F62C8 000F3228 70 A5 00 03 */ andi. r5, r5, 3 +/* 800F62CC 000F322C 41 82 00 38 */ beq lbl_800F6304 +lbl_800F62D0: +/* 800F62D0 000F3230 7C A9 03 A6 */ mtctr r5 +lbl_800F62D4: +/* 800F62D4 000F3234 38 C9 FF FF */ addi r6, r9, -1 +/* 800F62D8 000F3238 39 29 FF FF */ addi r9, r9, -1 +/* 800F62DC 000F323C 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800F62E0 000F3240 7C E3 02 14 */ add r7, r3, r0 +/* 800F62E4 000F3244 C0 07 00 04 */ lfs f0, 4(r7) +/* 800F62E8 000F3248 D0 08 00 00 */ stfs f0, 0(r8) +/* 800F62EC 000F324C C0 07 00 08 */ lfs f0, 8(r7) +/* 800F62F0 000F3250 D0 08 00 04 */ stfs f0, 4(r8) +/* 800F62F4 000F3254 C0 07 00 0C */ lfs f0, 0xc(r7) +/* 800F62F8 000F3258 D0 08 00 08 */ stfs f0, 8(r8) +/* 800F62FC 000F325C 39 08 FF F4 */ addi r8, r8, -12 +/* 800F6300 000F3260 42 00 FF D4 */ bdnz lbl_800F62D4 +lbl_800F6304: +/* 800F6304 000F3264 C0 04 00 00 */ lfs f0, 0(r4) +/* 800F6308 000F3268 D0 03 00 04 */ stfs f0, 4(r3) +/* 800F630C 000F326C C0 04 00 04 */ lfs f0, 4(r4) +/* 800F6310 000F3270 D0 03 00 08 */ stfs f0, 8(r3) +/* 800F6314 000F3274 C0 04 00 08 */ lfs f0, 8(r4) +/* 800F6318 000F3278 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800F631C 000F327C 4E 80 00 20 */ blr + +.global sub_800f6320 +sub_800f6320: +/* 800F6320 000F3280 80 03 00 00 */ lwz r0, 0(r3) +/* 800F6324 000F3284 2C 00 00 05 */ cmpwi r0, 5 +/* 800F6328 000F3288 40 80 00 40 */ bge lbl_800F6368 +/* 800F632C 000F328C 54 00 20 36 */ slwi r0, r0, 4 +/* 800F6330 000F3290 7C A3 02 14 */ add r5, r3, r0 +/* 800F6334 000F3294 34 A5 00 04 */ addic. r5, r5, 4 +/* 800F6338 000F3298 41 82 00 24 */ beq lbl_800F635C +/* 800F633C 000F329C C0 04 00 00 */ lfs f0, 0(r4) +/* 800F6340 000F32A0 D0 05 00 00 */ stfs f0, 0(r5) +/* 800F6344 000F32A4 C0 04 00 04 */ lfs f0, 4(r4) +/* 800F6348 000F32A8 D0 05 00 04 */ stfs f0, 4(r5) +/* 800F634C 000F32AC C0 04 00 08 */ lfs f0, 8(r4) +/* 800F6350 000F32B0 D0 05 00 08 */ stfs f0, 8(r5) +/* 800F6354 000F32B4 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 800F6358 000F32B8 D0 05 00 0C */ stfs f0, 0xc(r5) +lbl_800F635C: +/* 800F635C 000F32BC 80 A3 00 00 */ lwz r5, 0(r3) +/* 800F6360 000F32C0 38 05 00 01 */ addi r0, r5, 1 +/* 800F6364 000F32C4 90 03 00 00 */ stw r0, 0(r3) +lbl_800F6368: +/* 800F6368 000F32C8 80 A3 00 00 */ lwz r5, 0(r3) +/* 800F636C 000F32CC 35 65 FF FF */ addic. r11, r5, -1 +/* 800F6370 000F32D0 55 60 20 36 */ slwi r0, r11, 4 +/* 800F6374 000F32D4 7D 65 5B 78 */ mr r5, r11 +/* 800F6378 000F32D8 7D 43 02 14 */ add r10, r3, r0 +/* 800F637C 000F32DC 39 4A 00 04 */ addi r10, r10, 4 +/* 800F6380 000F32E0 40 81 01 10 */ ble lbl_800F6490 +/* 800F6384 000F32E4 55 60 F0 BF */ rlwinm. r0, r11, 0x1e, 2, 0x1f +/* 800F6388 000F32E8 7C 09 03 A6 */ mtctr r0 +/* 800F638C 000F32EC 41 82 00 C8 */ beq lbl_800F6454 +lbl_800F6390: +/* 800F6390 000F32F0 39 0B FF FF */ addi r8, r11, -1 +/* 800F6394 000F32F4 55 07 20 36 */ slwi r7, r8, 4 +/* 800F6398 000F32F8 7D 23 3A 14 */ add r9, r3, r7 +/* 800F639C 000F32FC 39 0B FF FE */ addi r8, r11, -2 +/* 800F63A0 000F3300 C0 09 00 04 */ lfs f0, 4(r9) +/* 800F63A4 000F3304 55 07 20 36 */ slwi r7, r8, 4 +/* 800F63A8 000F3308 39 0B FF FD */ addi r8, r11, -3 +/* 800F63AC 000F330C D0 0A 00 00 */ stfs f0, 0(r10) +/* 800F63B0 000F3310 80 C9 00 08 */ lwz r6, 8(r9) +/* 800F63B4 000F3314 80 09 00 0C */ lwz r0, 0xc(r9) +/* 800F63B8 000F3318 90 CA 00 04 */ stw r6, 4(r10) +/* 800F63BC 000F331C 90 0A 00 08 */ stw r0, 8(r10) +/* 800F63C0 000F3320 80 09 00 10 */ lwz r0, 0x10(r9) +/* 800F63C4 000F3324 7D 23 3A 14 */ add r9, r3, r7 +/* 800F63C8 000F3328 55 07 20 36 */ slwi r7, r8, 4 +/* 800F63CC 000F332C 39 0B FF FC */ addi r8, r11, -4 +/* 800F63D0 000F3330 90 0A 00 0C */ stw r0, 0xc(r10) +/* 800F63D4 000F3334 39 6B FF FC */ addi r11, r11, -4 +/* 800F63D8 000F3338 C0 09 00 04 */ lfs f0, 4(r9) +/* 800F63DC 000F333C D0 0A FF F0 */ stfs f0, -0x10(r10) +/* 800F63E0 000F3340 80 C9 00 08 */ lwz r6, 8(r9) +/* 800F63E4 000F3344 80 09 00 0C */ lwz r0, 0xc(r9) +/* 800F63E8 000F3348 90 CA FF F4 */ stw r6, -0xc(r10) +/* 800F63EC 000F334C 90 0A FF F8 */ stw r0, -8(r10) +/* 800F63F0 000F3350 80 09 00 10 */ lwz r0, 0x10(r9) +/* 800F63F4 000F3354 7D 23 3A 14 */ add r9, r3, r7 +/* 800F63F8 000F3358 55 07 20 36 */ slwi r7, r8, 4 +/* 800F63FC 000F335C 90 0A FF FC */ stw r0, -4(r10) +/* 800F6400 000F3360 C0 09 00 04 */ lfs f0, 4(r9) +/* 800F6404 000F3364 D0 0A FF E0 */ stfs f0, -0x20(r10) +/* 800F6408 000F3368 80 C9 00 08 */ lwz r6, 8(r9) +/* 800F640C 000F336C 80 09 00 0C */ lwz r0, 0xc(r9) +/* 800F6410 000F3370 90 CA FF E4 */ stw r6, -0x1c(r10) +/* 800F6414 000F3374 90 0A FF E8 */ stw r0, -0x18(r10) +/* 800F6418 000F3378 80 09 00 10 */ lwz r0, 0x10(r9) +/* 800F641C 000F337C 7D 23 3A 14 */ add r9, r3, r7 +/* 800F6420 000F3380 90 0A FF EC */ stw r0, -0x14(r10) +/* 800F6424 000F3384 C0 09 00 04 */ lfs f0, 4(r9) +/* 800F6428 000F3388 D0 0A FF D0 */ stfs f0, -0x30(r10) +/* 800F642C 000F338C 80 C9 00 08 */ lwz r6, 8(r9) +/* 800F6430 000F3390 80 09 00 0C */ lwz r0, 0xc(r9) +/* 800F6434 000F3394 90 CA FF D4 */ stw r6, -0x2c(r10) +/* 800F6438 000F3398 90 0A FF D8 */ stw r0, -0x28(r10) +/* 800F643C 000F339C 80 09 00 10 */ lwz r0, 0x10(r9) +/* 800F6440 000F33A0 90 0A FF DC */ stw r0, -0x24(r10) +/* 800F6444 000F33A4 39 4A FF C0 */ addi r10, r10, -64 +/* 800F6448 000F33A8 42 00 FF 48 */ bdnz lbl_800F6390 +/* 800F644C 000F33AC 70 A5 00 03 */ andi. r5, r5, 3 +/* 800F6450 000F33B0 41 82 00 40 */ beq lbl_800F6490 +lbl_800F6454: +/* 800F6454 000F33B4 7C A9 03 A6 */ mtctr r5 +lbl_800F6458: +/* 800F6458 000F33B8 39 0B FF FF */ addi r8, r11, -1 +/* 800F645C 000F33BC 39 6B FF FF */ addi r11, r11, -1 +/* 800F6460 000F33C0 55 07 20 36 */ slwi r7, r8, 4 +/* 800F6464 000F33C4 7D 23 3A 14 */ add r9, r3, r7 +/* 800F6468 000F33C8 C0 09 00 04 */ lfs f0, 4(r9) +/* 800F646C 000F33CC D0 0A 00 00 */ stfs f0, 0(r10) +/* 800F6470 000F33D0 80 C9 00 08 */ lwz r6, 8(r9) +/* 800F6474 000F33D4 80 09 00 0C */ lwz r0, 0xc(r9) +/* 800F6478 000F33D8 90 CA 00 04 */ stw r6, 4(r10) +/* 800F647C 000F33DC 90 0A 00 08 */ stw r0, 8(r10) +/* 800F6480 000F33E0 80 09 00 10 */ lwz r0, 0x10(r9) +/* 800F6484 000F33E4 90 0A 00 0C */ stw r0, 0xc(r10) +/* 800F6488 000F33E8 39 4A FF F0 */ addi r10, r10, -16 +/* 800F648C 000F33EC 42 00 FF CC */ bdnz lbl_800F6458 +lbl_800F6490: +/* 800F6490 000F33F0 C0 04 00 00 */ lfs f0, 0(r4) +/* 800F6494 000F33F4 D0 03 00 04 */ stfs f0, 4(r3) +/* 800F6498 000F33F8 80 A4 00 04 */ lwz r5, 4(r4) +/* 800F649C 000F33FC 80 04 00 08 */ lwz r0, 8(r4) +/* 800F64A0 000F3400 90 A3 00 08 */ stw r5, 8(r3) +/* 800F64A4 000F3404 90 03 00 0C */ stw r0, 0xc(r3) +/* 800F64A8 000F3408 80 04 00 0C */ lwz r0, 0xc(r4) +/* 800F64AC 000F340C 90 03 00 10 */ stw r0, 0x10(r3) +/* 800F64B0 000F3410 4E 80 00 20 */ blr + +.global BallTurnInput__10CMorphBallCFRC11CFinalInput +BallTurnInput__10CMorphBallCFRC11CFinalInput: +/* 800F64B4 000F3414 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F64B8 000F3418 7C 08 02 A6 */ mflr r0 +/* 800F64BC 000F341C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F64C0 000F3420 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 800F64C4 000F3424 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 800F64C8 000F3428 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F64CC 000F342C 7C 9F 23 78 */ mr r31, r4 +/* 800F64D0 000F3430 48 00 27 C9 */ bl IsMovementAllowed__10CMorphBallCFv +/* 800F64D4 000F3434 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F64D8 000F3438 40 82 00 0C */ bne lbl_800F64E4 +/* 800F64DC 000F343C C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F64E0 000F3440 48 00 00 24 */ b lbl_800F6504 +lbl_800F64E4: +/* 800F64E4 000F3444 7F E4 FB 78 */ mr r4, r31 +/* 800F64E8 000F3448 38 60 00 02 */ li r3, 2 +/* 800F64EC 000F344C 4B F1 64 2D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F64F0 000F3450 FF E0 08 90 */ fmr f31, f1 +/* 800F64F4 000F3454 7F E4 FB 78 */ mr r4, r31 +/* 800F64F8 000F3458 38 60 00 03 */ li r3, 3 +/* 800F64FC 000F345C 4B F1 64 1D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F6500 000F3460 EC 3F 08 28 */ fsubs f1, f31, f1 +lbl_800F6504: +/* 800F6504 000F3464 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 800F6508 000F3468 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F650C 000F346C CB E1 00 10 */ lfd f31, 0x10(r1) +/* 800F6510 000F3470 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F6514 000F3474 7C 08 03 A6 */ mtlr r0 +/* 800F6518 000F3478 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F651C 000F347C 4E 80 00 20 */ blr + +.global CalculateBallContactInfo__10CMorphBallCFR9CVector3fR9CVector3f +CalculateBallContactInfo__10CMorphBallCFR9CVector3fR9CVector3f: +/* 800F6520 000F3480 80 03 00 74 */ lwz r0, 0x74(r3) +/* 800F6524 000F3484 2C 00 00 00 */ cmpwi r0, 0 +/* 800F6528 000F3488 40 81 00 3C */ ble lbl_800F6564 +/* 800F652C 000F348C C0 03 00 C0 */ lfs f0, 0xc0(r3) +/* 800F6530 000F3490 D0 04 00 00 */ stfs f0, 0(r4) +/* 800F6534 000F3494 C0 03 00 C4 */ lfs f0, 0xc4(r3) +/* 800F6538 000F3498 D0 04 00 04 */ stfs f0, 4(r4) +/* 800F653C 000F349C C0 03 00 C8 */ lfs f0, 0xc8(r3) +/* 800F6540 000F34A0 D0 04 00 08 */ stfs f0, 8(r4) +/* 800F6544 000F34A4 C0 03 00 78 */ lfs f0, 0x78(r3) +/* 800F6548 000F34A8 D0 05 00 00 */ stfs f0, 0(r5) +/* 800F654C 000F34AC C0 03 00 7C */ lfs f0, 0x7c(r3) +/* 800F6550 000F34B0 D0 05 00 04 */ stfs f0, 4(r5) +/* 800F6554 000F34B4 C0 03 00 80 */ lfs f0, 0x80(r3) +/* 800F6558 000F34B8 38 60 00 01 */ li r3, 1 +/* 800F655C 000F34BC D0 05 00 08 */ stfs f0, 8(r5) +/* 800F6560 000F34C0 4E 80 00 20 */ blr +lbl_800F6564: +/* 800F6564 000F34C4 38 60 00 00 */ li r3, 0 +/* 800F6568 000F34C8 4E 80 00 20 */ blr + +.global CalculateSurfaceToWorld__10CMorphBallCFRC9CVector3fRC9CVector3fRC9CVector3f +CalculateSurfaceToWorld__10CMorphBallCFRC9CVector3fRC9CVector3fRC9CVector3f: +/* 800F656C 000F34CC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800F6570 000F34D0 7C 08 02 A6 */ mflr r0 +/* 800F6574 000F34D4 90 01 00 74 */ stw r0, 0x74(r1) +/* 800F6578 000F34D8 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800F657C 000F34DC 7C FF 3B 78 */ mr r31, r7 +/* 800F6580 000F34E0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800F6584 000F34E4 7C DE 33 78 */ mr r30, r6 +/* 800F6588 000F34E8 93 A1 00 64 */ stw r29, 0x64(r1) +/* 800F658C 000F34EC 7C BD 2B 78 */ mr r29, r5 +/* 800F6590 000F34F0 93 81 00 60 */ stw r28, 0x60(r1) +/* 800F6594 000F34F4 7C 7C 1B 78 */ mr r28, r3 +/* 800F6598 000F34F8 7F E3 FB 78 */ mr r3, r31 +/* 800F659C 000F34FC 48 21 E1 5D */ bl CanBeNormalized__9CVector3fCFv +/* 800F65A0 000F3500 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F65A4 000F3504 41 82 01 20 */ beq lbl_800F66C4 +/* 800F65A8 000F3508 7F E4 FB 78 */ mr r4, r31 +/* 800F65AC 000F350C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800F65B0 000F3510 48 21 E2 A1 */ bl AsNormalized__9CVector3fCFv +/* 800F65B4 000F3514 C0 7F 00 00 */ lfs f3, 0(r31) +/* 800F65B8 000F3518 38 61 00 44 */ addi r3, r1, 0x44 +/* 800F65BC 000F351C C1 1D 00 08 */ lfs f8, 8(r29) +/* 800F65C0 000F3520 C0 DF 00 04 */ lfs f6, 4(r31) +/* 800F65C4 000F3524 C0 9D 00 00 */ lfs f4, 0(r29) +/* 800F65C8 000F3528 EC 28 00 F2 */ fmuls f1, f8, f3 +/* 800F65CC 000F352C C0 5F 00 08 */ lfs f2, 8(r31) +/* 800F65D0 000F3530 C0 FD 00 04 */ lfs f7, 4(r29) +/* 800F65D4 000F3534 EC 04 01 B2 */ fmuls f0, f4, f6 +/* 800F65D8 000F3538 EC 22 09 38 */ fmsubs f1, f2, f4, f1 +/* 800F65DC 000F353C C0 A1 00 2C */ lfs f5, 0x2c(r1) +/* 800F65E0 000F3540 EC 47 00 B2 */ fmuls f2, f7, f2 +/* 800F65E4 000F3544 C0 81 00 30 */ lfs f4, 0x30(r1) +/* 800F65E8 000F3548 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 +/* 800F65EC 000F354C C0 61 00 34 */ lfs f3, 0x34(r1) +/* 800F65F0 000F3550 EC 46 12 38 */ fmsubs f2, f6, f8, f2 +/* 800F65F4 000F3554 D0 A1 00 50 */ stfs f5, 0x50(r1) +/* 800F65F8 000F3558 D0 81 00 54 */ stfs f4, 0x54(r1) +/* 800F65FC 000F355C D0 61 00 58 */ stfs f3, 0x58(r1) +/* 800F6600 000F3560 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800F6604 000F3564 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800F6608 000F3568 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800F660C 000F356C 48 21 E0 ED */ bl CanBeNormalized__9CVector3fCFv +/* 800F6610 000F3570 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F6614 000F3574 41 82 00 B0 */ beq lbl_800F66C4 +/* 800F6618 000F3578 38 61 00 44 */ addi r3, r1, 0x44 +/* 800F661C 000F357C 48 21 E2 DD */ bl Normalize__9CVector3fFv +/* 800F6620 000F3580 C0 61 00 48 */ lfs f3, 0x48(r1) +/* 800F6624 000F3584 38 61 00 20 */ addi r3, r1, 0x20 +/* 800F6628 000F3588 C0 C1 00 50 */ lfs f6, 0x50(r1) +/* 800F662C 000F358C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800F6630 000F3590 C0 81 00 4C */ lfs f4, 0x4c(r1) +/* 800F6634 000F3594 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 800F6638 000F3598 EC 06 00 F2 */ fmuls f0, f6, f3 +/* 800F663C 000F359C C0 E1 00 44 */ lfs f7, 0x44(r1) +/* 800F6640 000F35A0 C0 A1 00 58 */ lfs f5, 0x58(r1) +/* 800F6644 000F35A4 EC 41 01 32 */ fmuls f2, f1, f4 +/* 800F6648 000F35A8 EC 07 00 78 */ fmsubs f0, f7, f1, f0 +/* 800F664C 000F35AC EC 25 01 F2 */ fmuls f1, f5, f7 +/* 800F6650 000F35B0 EC 43 11 78 */ fmsubs f2, f3, f5, f2 +/* 800F6654 000F35B4 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800F6658 000F35B8 EC 04 09 B8 */ fmsubs f0, f4, f6, f1 +/* 800F665C 000F35BC D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800F6660 000F35C0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800F6664 000F35C4 48 21 E1 ED */ bl AsNormalized__9CVector3fCFv +/* 800F6668 000F35C8 C0 7E 00 04 */ lfs f3, 4(r30) +/* 800F666C 000F35CC 7F 83 E3 78 */ mr r3, r28 +/* 800F6670 000F35D0 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) +/* 800F6674 000F35D4 38 81 00 44 */ addi r4, r1, 0x44 +/* 800F6678 000F35D8 C0 3E 00 08 */ lfs f1, 8(r30) +/* 800F667C 000F35DC 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800F6680 000F35E0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 800F6684 000F35E4 EC A3 10 2A */ fadds f5, f3, f2 +/* 800F6688 000F35E8 EC 81 10 2A */ fadds f4, f1, f2 +/* 800F668C 000F35EC C0 61 00 20 */ lfs f3, 0x20(r1) +/* 800F6690 000F35F0 EC 00 10 2A */ fadds f0, f0, f2 +/* 800F6694 000F35F4 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 800F6698 000F35F8 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 800F669C 000F35FC D0 61 00 38 */ stfs f3, 0x38(r1) +/* 800F66A0 000F3600 38 C1 00 38 */ addi r6, r1, 0x38 +/* 800F66A4 000F3604 38 E1 00 08 */ addi r7, r1, 8 +/* 800F66A8 000F3608 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800F66AC 000F360C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800F66B0 000F3610 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F66B4 000F3614 D0 A1 00 0C */ stfs f5, 0xc(r1) +/* 800F66B8 000F3618 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 800F66BC 000F361C 48 21 C7 A1 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 800F66C0 000F3620 48 00 00 14 */ b lbl_800F66D4 +lbl_800F66C4: +/* 800F66C4 000F3624 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800F66C8 000F3628 7F 83 E3 78 */ mr r3, r28 +/* 800F66CC 000F362C 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800F66D0 000F3630 48 21 C4 A5 */ bl __ct__12CTransform4fFRC12CTransform4f +lbl_800F66D4: +/* 800F66D4 000F3634 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800F66D8 000F3638 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800F66DC 000F363C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800F66E0 000F3640 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800F66E4 000F3644 83 81 00 60 */ lwz r28, 0x60(r1) +/* 800F66E8 000F3648 7C 08 03 A6 */ mtlr r0 +/* 800F66EC 000F364C 38 21 00 70 */ addi r1, r1, 0x70 +/* 800F66F0 000F3650 4E 80 00 20 */ blr + +.global GetBallToWorld__10CMorphBallCFv +GetBallToWorld__10CMorphBallCFv: +/* 800F66F4 000F3654 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800F66F8 000F3658 7C 08 02 A6 */ mflr r0 +/* 800F66FC 000F365C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800F6700 000F3660 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 800F6704 000F3664 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 800F6708 000F3668 7C 9E 23 78 */ mr r30, r4 +/* 800F670C 000F366C 93 A1 00 B4 */ stw r29, 0xb4(r1) +/* 800F6710 000F3670 7C 7D 1B 78 */ mr r29, r3 +/* 800F6714 000F3674 7F C3 F3 78 */ mr r3, r30 +/* 800F6718 000F3678 80 84 00 00 */ lwz r4, 0(r4) +/* 800F671C 000F367C 3B E4 00 34 */ addi r31, r4, 0x34 +/* 800F6720 000F3680 48 00 26 E5 */ bl GetBallRadius__10CMorphBallCFv +/* 800F6724 000F3684 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F6728 000F3688 7F E4 FB 78 */ mr r4, r31 +/* 800F672C 000F368C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F6730 000F3690 38 61 00 20 */ addi r3, r1, 0x20 +/* 800F6734 000F3694 C0 A5 00 60 */ lfs f5, 0x60(r5) +/* 800F6738 000F3698 C0 85 00 50 */ lfs f4, 0x50(r5) +/* 800F673C 000F369C C0 45 00 40 */ lfs f2, 0x40(r5) +/* 800F6740 000F36A0 EC 25 08 2A */ fadds f1, f5, f1 +/* 800F6744 000F36A4 EC 64 00 2A */ fadds f3, f4, f0 +/* 800F6748 000F36A8 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 800F674C 000F36AC EC 02 00 2A */ fadds f0, f2, f0 +/* 800F6750 000F36B0 D0 41 00 08 */ stfs f2, 8(r1) +/* 800F6754 000F36B4 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 800F6758 000F36B8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800F675C 000F36BC D0 61 00 18 */ stfs f3, 0x18(r1) +/* 800F6760 000F36C0 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800F6764 000F36C4 48 21 C4 DD */ bl GetRotation__12CTransform4fCFv +/* 800F6768 000F36C8 38 61 00 50 */ addi r3, r1, 0x50 +/* 800F676C 000F36CC 38 81 00 14 */ addi r4, r1, 0x14 +/* 800F6770 000F36D0 48 21 C9 D1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800F6774 000F36D4 38 61 00 80 */ addi r3, r1, 0x80 +/* 800F6778 000F36D8 38 81 00 50 */ addi r4, r1, 0x50 +/* 800F677C 000F36DC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800F6780 000F36E0 48 21 C1 D1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800F6784 000F36E4 7F A3 EB 78 */ mr r3, r29 +/* 800F6788 000F36E8 38 81 00 80 */ addi r4, r1, 0x80 +/* 800F678C 000F36EC 48 21 C3 E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F6790 000F36F0 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800F6794 000F36F4 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 800F6798 000F36F8 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 800F679C 000F36FC 83 A1 00 B4 */ lwz r29, 0xb4(r1) +/* 800F67A0 000F3700 7C 08 03 A6 */ mtlr r0 +/* 800F67A4 000F3704 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800F67A8 000F3708 4E 80 00 20 */ blr + +.global GetSwooshToWorld__10CMorphBallCFv +GetSwooshToWorld__10CMorphBallCFv: +/* 800F67AC 000F370C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 800F67B0 000F3710 7C 08 02 A6 */ mflr r0 +/* 800F67B4 000F3714 90 01 01 24 */ stw r0, 0x124(r1) +/* 800F67B8 000F3718 93 E1 01 1C */ stw r31, 0x11c(r1) +/* 800F67BC 000F371C 7C 9F 23 78 */ mr r31, r4 +/* 800F67C0 000F3720 93 C1 01 18 */ stw r30, 0x118(r1) +/* 800F67C4 000F3724 7C 7E 1B 78 */ mr r30, r3 +/* 800F67C8 000F3728 7F E3 FB 78 */ mr r3, r31 +/* 800F67CC 000F372C C0 04 00 30 */ lfs f0, 0x30(r4) +/* 800F67D0 000F3730 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F67D4 000F3734 48 00 26 31 */ bl GetBallRadius__10CMorphBallCFv +/* 800F67D8 000F3738 80 BF 00 00 */ lwz r5, 0(r31) +/* 800F67DC 000F373C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800F67E0 000F3740 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F67E4 000F3744 38 81 00 08 */ addi r4, r1, 8 +/* 800F67E8 000F3748 C0 A5 00 60 */ lfs f5, 0x60(r5) +/* 800F67EC 000F374C C0 85 00 50 */ lfs f4, 0x50(r5) +/* 800F67F0 000F3750 C0 45 00 40 */ lfs f2, 0x40(r5) +/* 800F67F4 000F3754 EC 25 08 2A */ fadds f1, f5, f1 +/* 800F67F8 000F3758 EC 64 00 2A */ fadds f3, f4, f0 +/* 800F67FC 000F375C D0 81 00 10 */ stfs f4, 0x10(r1) +/* 800F6800 000F3760 EC 02 00 2A */ fadds f0, f2, f0 +/* 800F6804 000F3764 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 800F6808 000F3768 D0 A1 00 14 */ stfs f5, 0x14(r1) +/* 800F680C 000F376C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800F6810 000F3770 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 800F6814 000F3774 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800F6818 000F3778 48 21 D0 91 */ bl RotateY__12CTransform4fFRC9CRelAngle +/* 800F681C 000F377C 38 61 00 54 */ addi r3, r1, 0x54 +/* 800F6820 000F3780 38 9F 19 24 */ addi r4, r31, 0x1924 +/* 800F6824 000F3784 48 21 C4 1D */ bl GetRotation__12CTransform4fCFv +/* 800F6828 000F3788 38 61 00 84 */ addi r3, r1, 0x84 +/* 800F682C 000F378C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800F6830 000F3790 48 21 C9 11 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800F6834 000F3794 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800F6838 000F3798 38 81 00 84 */ addi r4, r1, 0x84 +/* 800F683C 000F379C 38 A1 00 54 */ addi r5, r1, 0x54 +/* 800F6840 000F37A0 48 21 C1 11 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800F6844 000F37A4 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800F6848 000F37A8 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 800F684C 000F37AC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800F6850 000F37B0 48 21 C1 01 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800F6854 000F37B4 7F C3 F3 78 */ mr r3, r30 +/* 800F6858 000F37B8 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 800F685C 000F37BC 48 21 C3 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F6860 000F37C0 80 01 01 24 */ lwz r0, 0x124(r1) +/* 800F6864 000F37C4 83 E1 01 1C */ lwz r31, 0x11c(r1) +/* 800F6868 000F37C8 83 C1 01 18 */ lwz r30, 0x118(r1) +/* 800F686C 000F37CC 7C 08 03 A6 */ mtlr r0 +/* 800F6870 000F37D0 38 21 01 20 */ addi r1, r1, 0x120 +/* 800F6874 000F37D4 4E 80 00 20 */ blr + +.global ComputeMarioMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf +ComputeMarioMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf: +/* 800F6878 000F37D8 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 800F687C 000F37DC 7C 08 02 A6 */ mflr r0 +/* 800F6880 000F37E0 90 01 02 04 */ stw r0, 0x204(r1) +/* 800F6884 000F37E4 DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 800F6888 000F37E8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 800F688C 000F37EC DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 800F6890 000F37F0 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 800F6894 000F37F4 DB A1 01 D0 */ stfd f29, 0x1d0(r1) +/* 800F6898 000F37F8 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 +/* 800F689C 000F37FC DB 81 01 C0 */ stfd f28, 0x1c0(r1) +/* 800F68A0 000F3800 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 +/* 800F68A4 000F3804 DB 61 01 B0 */ stfd f27, 0x1b0(r1) +/* 800F68A8 000F3808 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 +/* 800F68AC 000F380C DB 41 01 A0 */ stfd f26, 0x1a0(r1) +/* 800F68B0 000F3810 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 +/* 800F68B4 000F3814 DB 21 01 90 */ stfd f25, 0x190(r1) +/* 800F68B8 000F3818 F3 21 01 98 */ psq_st f25, 408(r1), 0, qr0 +/* 800F68BC 000F381C DB 01 01 80 */ stfd f24, 0x180(r1) +/* 800F68C0 000F3820 F3 01 01 88 */ psq_st f24, 392(r1), 0, qr0 +/* 800F68C4 000F3824 93 E1 01 7C */ stw r31, 0x17c(r1) +/* 800F68C8 000F3828 93 C1 01 78 */ stw r30, 0x178(r1) +/* 800F68CC 000F382C 93 A1 01 74 */ stw r29, 0x174(r1) +/* 800F68D0 000F3830 3C C0 80 5A */ lis r6, skZero3f@ha +/* 800F68D4 000F3834 C4 06 66 A0 */ lfsu f0, skZero3f@l(r6) +/* 800F68D8 000F3838 FF 60 08 90 */ fmr f27, f1 +/* 800F68DC 000F383C 7C 7E 1B 78 */ mr r30, r3 +/* 800F68E0 000F3840 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800F68E4 000F3844 7C 9D 23 78 */ mr r29, r4 +/* 800F68E8 000F3848 7C BF 2B 78 */ mr r31, r5 +/* 800F68EC 000F384C C0 06 00 04 */ lfs f0, 4(r6) +/* 800F68F0 000F3850 D0 03 00 20 */ stfs f0, 0x20(r3) +/* 800F68F4 000F3854 C0 06 00 08 */ lfs f0, 8(r6) +/* 800F68F8 000F3858 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 800F68FC 000F385C C0 06 00 00 */ lfs f0, 0(r6) +/* 800F6900 000F3860 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800F6904 000F3864 C0 06 00 04 */ lfs f0, 4(r6) +/* 800F6908 000F3868 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 800F690C 000F386C C0 06 00 08 */ lfs f0, 8(r6) +/* 800F6910 000F3870 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800F6914 000F3874 48 00 23 85 */ bl IsMovementAllowed__10CMorphBallCFv +/* 800F6918 000F3878 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F691C 000F387C 41 82 08 94 */ beq lbl_800F71B0 +/* 800F6920 000F3880 C0 22 80 E4 */ lfs f1, lbl_805A9E04@sda21(r2) +/* 800F6924 000F3884 7F A4 EB 78 */ mr r4, r29 +/* 800F6928 000F3888 C0 02 92 DC */ lfs f0, lbl_805AAFFC@sda21(r2) +/* 800F692C 000F388C 38 60 00 30 */ li r3, 0x30 +/* 800F6930 000F3890 EF 21 00 24 */ fdivs f25, f1, f0 +/* 800F6934 000F3894 4B F1 5F E5 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F6938 000F3898 FC 01 C8 40 */ fcmpo cr0, f1, f25 +/* 800F693C 000F389C 4C 41 13 82 */ cror 2, 1, 2 +/* 800F6940 000F38A0 40 82 00 0C */ bne lbl_800F694C +/* 800F6944 000F38A4 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F6948 000F38A8 48 00 00 08 */ b lbl_800F6950 +lbl_800F694C: +/* 800F694C 000F38AC C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +lbl_800F6950: +/* 800F6950 000F38B0 D0 1E 18 8C */ stfs f0, 0x188c(r30) +/* 800F6954 000F38B4 38 80 00 13 */ li r4, 0x13 +/* 800F6958 000F38B8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 800F695C 000F38BC 80 63 00 00 */ lwz r3, 0(r3) +/* 800F6960 000F38C0 4B F9 B1 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType +/* 800F6964 000F38C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F6968 000F38C8 41 82 00 A4 */ beq lbl_800F6A0C +/* 800F696C 000F38CC C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F6970 000F38D0 C0 1E 18 8C */ lfs f0, 0x188c(r30) +/* 800F6974 000F38D4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F6978 000F38D8 41 82 00 94 */ beq lbl_800F6A0C +/* 800F697C 000F38DC C0 1E 19 1C */ lfs f0, 0x191c(r30) +/* 800F6980 000F38E0 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800F6984 000F38E4 40 82 00 88 */ bne lbl_800F6A0C +/* 800F6988 000F38E8 80 1E 18 7C */ lwz r0, 0x187c(r30) +/* 800F698C 000F38EC 2C 00 00 01 */ cmpwi r0, 1 +/* 800F6990 000F38F0 41 82 00 48 */ beq lbl_800F69D8 +/* 800F6994 000F38F4 38 60 00 00 */ li r3, 0 +/* 800F6998 000F38F8 38 00 00 01 */ li r0, 1 +/* 800F699C 000F38FC 98 7E 18 BD */ stb r3, 0x18bd(r30) +/* 800F69A0 000F3900 90 1E 18 7C */ stw r0, 0x187c(r30) +/* 800F69A4 000F3904 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F69A8 000F3908 C0 43 00 5C */ lfs f2, 0x5c(r3) +/* 800F69AC 000F390C C0 23 00 4C */ lfs f1, 0x4c(r3) +/* 800F69B0 000F3910 C0 03 00 3C */ lfs f0, 0x3c(r3) +/* 800F69B4 000F3914 D0 1E 18 9C */ stfs f0, 0x189c(r30) +/* 800F69B8 000F3918 D0 3E 18 A0 */ stfs f1, 0x18a0(r30) +/* 800F69BC 000F391C D0 5E 18 A4 */ stfs f2, 0x18a4(r30) +/* 800F69C0 000F3920 C0 1E 18 9C */ lfs f0, 0x189c(r30) +/* 800F69C4 000F3924 D0 1E 18 A8 */ stfs f0, 0x18a8(r30) +/* 800F69C8 000F3928 C0 1E 18 A0 */ lfs f0, 0x18a0(r30) +/* 800F69CC 000F392C D0 1E 18 AC */ stfs f0, 0x18ac(r30) +/* 800F69D0 000F3930 C0 1E 18 A4 */ lfs f0, 0x18a4(r30) +/* 800F69D4 000F3934 D0 1E 18 B0 */ stfs f0, 0x18b0(r30) +lbl_800F69D8: +/* 800F69D8 000F3938 FC 20 D8 90 */ fmr f1, f27 +/* 800F69DC 000F393C 7F C3 F3 78 */ mr r3, r30 +/* 800F69E0 000F3940 7F A4 EB 78 */ mr r4, r29 +/* 800F69E4 000F3944 7F E5 FB 78 */ mr r5, r31 +/* 800F69E8 000F3948 48 00 22 11 */ bl UpdateSpiderBall__10CMorphBallFRC11CFinalInputR13CStateManagerf +/* 800F69EC 000F394C 88 1E 18 BC */ lbz r0, 0x18bc(r30) +/* 800F69F0 000F3950 28 00 00 00 */ cmplwi r0, 0 +/* 800F69F4 000F3954 40 82 00 28 */ bne lbl_800F6A1C +/* 800F69F8 000F3958 38 00 00 00 */ li r0, 0 +/* 800F69FC 000F395C 7F C3 F3 78 */ mr r3, r30 +/* 800F6A00 000F3960 90 1E 18 7C */ stw r0, 0x187c(r30) +/* 800F6A04 000F3964 48 00 1B E9 */ bl ResetSpiderBallForces__10CMorphBallFv +/* 800F6A08 000F3968 48 00 00 14 */ b lbl_800F6A1C +lbl_800F6A0C: +/* 800F6A0C 000F396C 38 00 00 00 */ li r0, 0 +/* 800F6A10 000F3970 7F C3 F3 78 */ mr r3, r30 +/* 800F6A14 000F3974 90 1E 18 7C */ stw r0, 0x187c(r30) +/* 800F6A18 000F3978 48 00 1B D5 */ bl ResetSpiderBallForces__10CMorphBallFv +lbl_800F6A1C: +/* 800F6A1C 000F397C 80 1E 18 7C */ lwz r0, 0x187c(r30) +/* 800F6A20 000F3980 2C 00 00 01 */ cmpwi r0, 1 +/* 800F6A24 000F3984 41 82 07 8C */ beq lbl_800F71B0 +/* 800F6A28 000F3988 7F C3 F3 78 */ mr r3, r30 +/* 800F6A2C 000F398C 7F A4 EB 78 */ mr r4, r29 +/* 800F6A30 000F3990 48 00 23 5D */ bl ForwardInput__10CMorphBallCFRC11CFinalInput +/* 800F6A34 000F3994 FF 40 08 90 */ fmr f26, f1 +/* 800F6A38 000F3998 7F C3 F3 78 */ mr r3, r30 +/* 800F6A3C 000F399C 7F A4 EB 78 */ mr r4, r29 +/* 800F6A40 000F39A0 4B FF FA 75 */ bl BallTurnInput__10CMorphBallCFRC11CFinalInput +/* 800F6A44 000F39A4 FF 00 08 50 */ fneg f24, f1 +/* 800F6A48 000F39A8 7F C3 F3 78 */ mr r3, r30 +/* 800F6A4C 000F39AC 4B FF 93 B1 */ bl ComputeMaxSpeed__10CMorphBallCFv +/* 800F6A50 000F39B0 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F6A54 000F39B4 FF C0 08 90 */ fmr f30, f1 +/* 800F6A58 000F39B8 38 63 01 38 */ addi r3, r3, 0x138 +/* 800F6A5C 000F39BC 48 21 DE 5D */ bl Magnitude__9CVector3fCFv +/* 800F6A60 000F39C0 C3 82 91 50 */ lfs f28, lbl_805AAE70@sda21(r2) +/* 800F6A64 000F39C4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800F6A68 000F39C8 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F6A6C 000F39CC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800F6A70 000F39D0 FF E0 08 90 */ fmr f31, f1 +/* 800F6A74 000F39D4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 800F6A78 000F39D8 FF 60 E0 90 */ fmr f27, f28 +/* 800F6A7C 000F39DC 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800F6A80 000F39E0 38 61 01 04 */ addi r3, r1, 0x104 +/* 800F6A84 000F39E4 38 A5 05 4C */ addi r5, r5, 0x54c +/* 800F6A88 000F39E8 48 21 D0 89 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800F6A8C 000F39EC 38 61 01 34 */ addi r3, r1, 0x134 +/* 800F6A90 000F39F0 38 81 01 04 */ addi r4, r1, 0x104 +/* 800F6A94 000F39F4 48 21 C0 E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F6A98 000F39F8 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F6A9C 000F39FC 38 61 00 BC */ addi r3, r1, 0xbc +/* 800F6AA0 000F3A00 38 81 01 34 */ addi r4, r1, 0x134 +/* 800F6AA4 000F3A04 38 A5 01 38 */ addi r5, r5, 0x138 +/* 800F6AA8 000F3A08 48 21 BF 7D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800F6AAC 000F3A0C FC 20 C2 10 */ fabs f1, f24 +/* 800F6AB0 000F3A10 C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) +/* 800F6AB4 000F3A14 C3 21 00 BC */ lfs f25, 0xbc(r1) +/* 800F6AB8 000F3A18 C3 A1 00 C0 */ lfs f29, 0xc0(r1) +/* 800F6ABC 000F3A1C FC 20 08 18 */ frsp f1, f1 +/* 800F6AC0 000F3A20 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F6AC4 000F3A24 40 81 00 D0 */ ble lbl_800F6B94 +/* 800F6AC8 000F3A28 EF 18 07 B2 */ fmuls f24, f24, f30 +/* 800F6ACC 000F3A2C 38 81 00 0C */ addi r4, r1, 0xc +/* 800F6AD0 000F3A30 38 6D 88 68 */ addi r3, r13, lbl_805A7428@sda21 +/* 800F6AD4 000F3A34 38 AD 88 6C */ addi r5, r13, lbl_805A742C@sda21 +/* 800F6AD8 000F3A38 EF 78 C8 28 */ fsubs f27, f24, f25 +/* 800F6ADC 000F3A3C FC 00 DA 10 */ fabs f0, f27 +/* 800F6AE0 000F3A40 FC 00 00 18 */ frsp f0, f0 +/* 800F6AE4 000F3A44 EC 00 F0 24 */ fdivs f0, f0, f30 +/* 800F6AE8 000F3A48 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800F6AEC 000F3A4C 4B F1 57 C9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F6AF0 000F3A50 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) +/* 800F6AF4 000F3A54 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F6AF8 000F3A58 C0 63 00 00 */ lfs f3, 0(r3) +/* 800F6AFC 000F3A5C FC 19 10 6E */ fsel f0, f25, f1, f2 +/* 800F6B00 000F3A60 FC 38 10 6E */ fsel f1, f24, f1, f2 +/* 800F6B04 000F3A64 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800F6B08 000F3A68 41 82 00 44 */ beq lbl_800F6B4C +/* 800F6B0C 000F3A6C C0 02 91 80 */ lfs f0, lbl_805AAEA0@sda21(r2) +/* 800F6B10 000F3A70 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 800F6B14 000F3A74 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F6B18 000F3A78 40 81 00 34 */ ble lbl_800F6B4C +/* 800F6B1C 000F3A7C 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F6B20 000F3A80 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 800F6B24 000F3A84 2C 00 00 02 */ cmpwi r0, 2 +/* 800F6B28 000F3A88 40 82 00 0C */ bne lbl_800F6B34 +/* 800F6B2C 000F3A8C 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 800F6B30 000F3A90 48 00 00 08 */ b lbl_800F6B38 +lbl_800F6B34: +/* 800F6B34 000F3A94 38 00 00 04 */ li r0, 4 +lbl_800F6B38: +/* 800F6B38 000F3A98 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F6B3C 000F3A9C 54 00 10 3A */ slwi r0, r0, 2 +/* 800F6B40 000F3AA0 7C 63 02 14 */ add r3, r3, r0 +/* 800F6B44 000F3AA4 C0 23 00 C4 */ lfs f1, 0xc4(r3) +/* 800F6B48 000F3AA8 48 00 00 30 */ b lbl_800F6B78 +lbl_800F6B4C: +/* 800F6B4C 000F3AAC 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F6B50 000F3AB0 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 800F6B54 000F3AB4 2C 00 00 02 */ cmpwi r0, 2 +/* 800F6B58 000F3AB8 40 82 00 0C */ bne lbl_800F6B64 +/* 800F6B5C 000F3ABC 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 800F6B60 000F3AC0 48 00 00 08 */ b lbl_800F6B68 +lbl_800F6B64: +/* 800F6B64 000F3AC4 38 00 00 04 */ li r0, 4 +lbl_800F6B68: +/* 800F6B68 000F3AC8 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F6B6C 000F3ACC 54 00 10 3A */ slwi r0, r0, 2 +/* 800F6B70 000F3AD0 7C 63 02 14 */ add r3, r3, r0 +/* 800F6B74 000F3AD4 C0 23 00 04 */ lfs f1, 4(r3) +lbl_800F6B78: +/* 800F6B78 000F3AD8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F6B7C 000F3ADC FC 1B 00 40 */ fcmpo cr0, f27, f0 +/* 800F6B80 000F3AE0 40 80 00 10 */ bge lbl_800F6B90 +/* 800F6B84 000F3AE4 FC 00 08 50 */ fneg f0, f1 +/* 800F6B88 000F3AE8 EF 60 00 F2 */ fmuls f27, f0, f3 +/* 800F6B8C 000F3AEC 48 00 00 08 */ b lbl_800F6B94 +lbl_800F6B90: +/* 800F6B90 000F3AF0 EF 61 00 F2 */ fmuls f27, f1, f3 +lbl_800F6B94: +/* 800F6B94 000F3AF4 FC 20 D2 10 */ fabs f1, f26 +/* 800F6B98 000F3AF8 C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) +/* 800F6B9C 000F3AFC FC 20 08 18 */ frsp f1, f1 +/* 800F6BA0 000F3B00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F6BA4 000F3B04 40 81 00 D0 */ ble lbl_800F6C74 +/* 800F6BA8 000F3B08 EF 1A 07 B2 */ fmuls f24, f26, f30 +/* 800F6BAC 000F3B0C 38 81 00 08 */ addi r4, r1, 8 +/* 800F6BB0 000F3B10 38 6D 88 70 */ addi r3, r13, lbl_805A7430@sda21 +/* 800F6BB4 000F3B14 38 AD 88 74 */ addi r5, r13, lbl_805A7434@sda21 +/* 800F6BB8 000F3B18 EF 38 E8 28 */ fsubs f25, f24, f29 +/* 800F6BBC 000F3B1C FC 00 CA 10 */ fabs f0, f25 +/* 800F6BC0 000F3B20 FC 00 00 18 */ frsp f0, f0 +/* 800F6BC4 000F3B24 EC 00 F0 24 */ fdivs f0, f0, f30 +/* 800F6BC8 000F3B28 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F6BCC 000F3B2C 4B F1 56 E9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F6BD0 000F3B30 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) +/* 800F6BD4 000F3B34 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F6BD8 000F3B38 C0 63 00 00 */ lfs f3, 0(r3) +/* 800F6BDC 000F3B3C FC 1D 10 6E */ fsel f0, f29, f1, f2 +/* 800F6BE0 000F3B40 FC 38 10 6E */ fsel f1, f24, f1, f2 +/* 800F6BE4 000F3B44 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800F6BE8 000F3B48 41 82 00 44 */ beq lbl_800F6C2C +/* 800F6BEC 000F3B4C C0 02 91 80 */ lfs f0, lbl_805AAEA0@sda21(r2) +/* 800F6BF0 000F3B50 EC 00 07 B2 */ fmuls f0, f0, f30 +/* 800F6BF4 000F3B54 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F6BF8 000F3B58 40 81 00 34 */ ble lbl_800F6C2C +/* 800F6BFC 000F3B5C 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F6C00 000F3B60 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 800F6C04 000F3B64 2C 00 00 02 */ cmpwi r0, 2 +/* 800F6C08 000F3B68 40 82 00 0C */ bne lbl_800F6C14 +/* 800F6C0C 000F3B6C 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 800F6C10 000F3B70 48 00 00 08 */ b lbl_800F6C18 +lbl_800F6C14: +/* 800F6C14 000F3B74 38 00 00 04 */ li r0, 4 +lbl_800F6C18: +/* 800F6C18 000F3B78 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F6C1C 000F3B7C 54 00 10 3A */ slwi r0, r0, 2 +/* 800F6C20 000F3B80 7C 63 02 14 */ add r3, r3, r0 +/* 800F6C24 000F3B84 C0 23 00 C4 */ lfs f1, 0xc4(r3) +/* 800F6C28 000F3B88 48 00 00 30 */ b lbl_800F6C58 +lbl_800F6C2C: +/* 800F6C2C 000F3B8C 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F6C30 000F3B90 80 03 02 B0 */ lwz r0, 0x2b0(r3) +/* 800F6C34 000F3B94 2C 00 00 02 */ cmpwi r0, 2 +/* 800F6C38 000F3B98 40 82 00 0C */ bne lbl_800F6C44 +/* 800F6C3C 000F3B9C 80 03 02 AC */ lwz r0, 0x2ac(r3) +/* 800F6C40 000F3BA0 48 00 00 08 */ b lbl_800F6C48 +lbl_800F6C44: +/* 800F6C44 000F3BA4 38 00 00 04 */ li r0, 4 +lbl_800F6C48: +/* 800F6C48 000F3BA8 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F6C4C 000F3BAC 54 00 10 3A */ slwi r0, r0, 2 +/* 800F6C50 000F3BB0 7C 63 02 14 */ add r3, r3, r0 +/* 800F6C54 000F3BB4 C0 23 00 04 */ lfs f1, 4(r3) +lbl_800F6C58: +/* 800F6C58 000F3BB8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F6C5C 000F3BBC FC 19 00 40 */ fcmpo cr0, f25, f0 +/* 800F6C60 000F3BC0 40 80 00 10 */ bge lbl_800F6C70 +/* 800F6C64 000F3BC4 FC 00 08 50 */ fneg f0, f1 +/* 800F6C68 000F3BC8 EF 80 00 F2 */ fmuls f28, f0, f3 +/* 800F6C6C 000F3BCC 48 00 00 08 */ b lbl_800F6C74 +lbl_800F6C70: +/* 800F6C70 000F3BD0 EF 81 00 F2 */ fmuls f28, f1, f3 +lbl_800F6C74: +/* 800F6C74 000F3BD4 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F6C78 000F3BD8 FC 00 E0 00 */ fcmpu cr0, f0, f28 +/* 800F6C7C 000F3BDC 40 82 00 28 */ bne lbl_800F6CA4 +/* 800F6C80 000F3BE0 FC 00 D8 00 */ fcmpu cr0, f0, f27 +/* 800F6C84 000F3BE4 40 82 00 20 */ bne lbl_800F6CA4 +/* 800F6C88 000F3BE8 88 1E 1D E4 */ lbz r0, 0x1de4(r30) +/* 800F6C8C 000F3BEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800F6C90 000F3BF0 40 82 00 14 */ bne lbl_800F6CA4 +/* 800F6C94 000F3BF4 7F C3 F3 78 */ mr r3, r30 +/* 800F6C98 000F3BF8 4B FF AD 39 */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F6C9C 000F3BFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F6CA0 000F3C00 41 82 04 F8 */ beq lbl_800F7198 +lbl_800F6CA4: +/* 800F6CA4 000F3C04 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F6CA8 000F3C08 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800F6CAC 000F3C0C D3 81 00 A8 */ stfs f28, 0xa8(r1) +/* 800F6CB0 000F3C10 38 81 01 34 */ addi r4, r1, 0x134 +/* 800F6CB4 000F3C14 38 A1 00 A4 */ addi r5, r1, 0xa4 +/* 800F6CB8 000F3C18 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 800F6CBC 000F3C1C D0 01 00 AC */ stfs f0, 0xac(r1) +/* 800F6CC0 000F3C20 48 21 BD C1 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800F6CC4 000F3C24 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F6CC8 000F3C28 38 61 00 98 */ addi r3, r1, 0x98 +/* 800F6CCC 000F3C2C D3 61 00 8C */ stfs f27, 0x8c(r1) +/* 800F6CD0 000F3C30 38 81 01 34 */ addi r4, r1, 0x134 +/* 800F6CD4 000F3C34 C3 21 00 B0 */ lfs f25, 0xb0(r1) +/* 800F6CD8 000F3C38 38 A1 00 8C */ addi r5, r1, 0x8c +/* 800F6CDC 000F3C3C D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800F6CE0 000F3C40 C3 41 00 B4 */ lfs f26, 0xb4(r1) +/* 800F6CE4 000F3C44 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800F6CE8 000F3C48 C3 61 00 B8 */ lfs f27, 0xb8(r1) +/* 800F6CEC 000F3C4C 48 21 BD 95 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800F6CF0 000F3C50 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 800F6CF4 000F3C54 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 800F6CF8 000F3C58 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 800F6CFC 000F3C5C EC 42 D8 2A */ fadds f2, f2, f27 +/* 800F6D00 000F3C60 EC 21 C8 2A */ fadds f1, f1, f25 +/* 800F6D04 000F3C64 EC 00 D0 2A */ fadds f0, f0, f26 +/* 800F6D08 000F3C68 D0 41 01 00 */ stfs f2, 0x100(r1) +/* 800F6D0C 000F3C6C D0 21 00 F8 */ stfs f1, 0xf8(r1) +/* 800F6D10 000F3C70 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 800F6D14 000F3C74 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 800F6D18 000F3C78 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 800F6D1C 000F3C7C D0 1E 00 20 */ stfs f0, 0x20(r30) +/* 800F6D20 000F3C80 C0 01 01 00 */ lfs f0, 0x100(r1) +/* 800F6D24 000F3C84 D0 1E 00 24 */ stfs f0, 0x24(r30) +/* 800F6D28 000F3C88 88 1E 1D E4 */ lbz r0, 0x1de4(r30) +/* 800F6D2C 000F3C8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800F6D30 000F3C90 41 82 00 70 */ beq lbl_800F6DA0 +/* 800F6D34 000F3C94 7F C3 F3 78 */ mr r3, r30 +/* 800F6D38 000F3C98 4B FF AC 99 */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F6D3C 000F3C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F6D40 000F3CA0 40 82 00 60 */ bne lbl_800F6DA0 +/* 800F6D44 000F3CA4 38 61 00 80 */ addi r3, r1, 0x80 +/* 800F6D48 000F3CA8 38 9E 19 24 */ addi r4, r30, 0x1924 +/* 800F6D4C 000F3CAC 38 A1 00 F8 */ addi r5, r1, 0xf8 +/* 800F6D50 000F3CB0 48 21 BC D5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800F6D54 000F3CB4 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800F6D58 000F3CB8 38 61 00 74 */ addi r3, r1, 0x74 +/* 800F6D5C 000F3CBC C0 21 00 88 */ lfs f1, 0x88(r1) +/* 800F6D60 000F3CC0 38 9E 19 24 */ addi r4, r30, 0x1924 +/* 800F6D64 000F3CC4 C0 41 00 80 */ lfs f2, 0x80(r1) +/* 800F6D68 000F3CC8 38 A1 00 EC */ addi r5, r1, 0xec +/* 800F6D6C 000F3CCC D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 800F6D70 000F3CD0 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F6D74 000F3CD4 D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 800F6D78 000F3CD8 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 800F6D7C 000F3CDC D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 800F6D80 000F3CE0 D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 800F6D84 000F3CE4 48 21 BC FD */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800F6D88 000F3CE8 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 800F6D8C 000F3CEC C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800F6D90 000F3CF0 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 800F6D94 000F3CF4 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 800F6D98 000F3CF8 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 800F6D9C 000F3CFC D0 01 01 00 */ stfs f0, 0x100(r1) +lbl_800F6DA0: +/* 800F6DA0 000F3D00 7F C3 F3 78 */ mr r3, r30 +/* 800F6DA4 000F3D04 4B FF AC 2D */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F6DA8 000F3D08 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F6DAC 000F3D0C 41 82 01 F0 */ beq lbl_800F6F9C +/* 800F6DB0 000F3D10 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800F6DB4 000F3D14 48 21 DB 05 */ bl Magnitude__9CVector3fCFv +/* 800F6DB8 000F3D18 C0 02 92 E0 */ lfs f0, lbl_805AB000@sda21(r2) +/* 800F6DBC 000F3D1C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F6DC0 000F3D20 40 81 01 DC */ ble lbl_800F6F9C +/* 800F6DC4 000F3D24 7F C3 F3 78 */ mr r3, r30 +/* 800F6DC8 000F3D28 4B FF AB ED */ bl GetIsInHalfPipeModeInAir__10CMorphBallCFv +/* 800F6DCC 000F3D2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F6DD0 000F3D30 41 82 00 9C */ beq lbl_800F6E6C +/* 800F6DD4 000F3D34 C0 02 91 9C */ lfs f0, lbl_805AAEBC@sda21(r2) +/* 800F6DD8 000F3D38 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F6DDC 000F3D3C 4C 40 13 82 */ cror 2, 0, 2 +/* 800F6DE0 000F3D40 40 82 00 8C */ bne lbl_800F6E6C +/* 800F6DE4 000F3D44 C3 7E 19 3C */ lfs f27, 0x193c(r30) +/* 800F6DE8 000F3D48 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800F6DEC 000F3D4C C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 800F6DF0 000F3D50 C3 5E 19 2C */ lfs f26, 0x192c(r30) +/* 800F6DF4 000F3D54 EC 00 06 F2 */ fmuls f0, f0, f27 +/* 800F6DF8 000F3D58 C0 21 00 F8 */ lfs f1, 0xf8(r1) +/* 800F6DFC 000F3D5C C3 9E 19 4C */ lfs f28, 0x194c(r30) +/* 800F6E00 000F3D60 C0 41 01 00 */ lfs f2, 0x100(r1) +/* 800F6E04 000F3D64 EC 01 06 BA */ fmadds f0, f1, f26, f0 +/* 800F6E08 000F3D68 EF A2 07 3A */ fmadds f29, f2, f28, f0 +/* 800F6E0C 000F3D6C 48 21 DA AD */ bl Magnitude__9CVector3fCFv +/* 800F6E10 000F3D70 EC 3D 08 24 */ fdivs f1, f29, f1 +/* 800F6E14 000F3D74 C0 02 92 E4 */ lfs f0, lbl_805AB004@sda21(r2) +/* 800F6E18 000F3D78 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F6E1C 000F3D7C 40 80 00 50 */ bge lbl_800F6E6C +/* 800F6E20 000F3D80 7F C3 F3 78 */ mr r3, r30 +/* 800F6E24 000F3D84 4B FF AA D1 */ bl DisableHalfPipeStatus__10CMorphBallFv +/* 800F6E28 000F3D88 C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) +/* 800F6E2C 000F3D8C C0 22 92 E8 */ lfs f1, lbl_805AB008@sda21(r2) +/* 800F6E30 000F3D90 D0 1E 1E 00 */ stfs f0, 0x1e00(r30) +/* 800F6E34 000F3D94 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F6E38 000F3D98 C0 03 00 E8 */ lfs f0, 0xe8(r3) +/* 800F6E3C 000F3D9C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F6E40 000F3DA0 EC 40 06 B2 */ fmuls f2, f0, f26 +/* 800F6E44 000F3DA4 EC 20 06 F2 */ fmuls f1, f0, f27 +/* 800F6E48 000F3DA8 EC 00 07 32 */ fmuls f0, f0, f28 +/* 800F6E4C 000F3DAC D0 41 00 68 */ stfs f2, 0x68(r1) +/* 800F6E50 000F3DB0 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 800F6E54 000F3DB4 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800F6E58 000F3DB8 4B F2 46 DD */ bl Identity__10CAxisAngleFv +/* 800F6E5C 000F3DBC 7C 65 1B 78 */ mr r5, r3 +/* 800F6E60 000F3DC0 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F6E64 000F3DC4 38 81 00 68 */ addi r4, r1, 0x68 +/* 800F6E68 000F3DC8 48 02 55 31 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_800F6E6C: +/* 800F6E6C 000F3DCC 7F C3 F3 78 */ mr r3, r30 +/* 800F6E70 000F3DD0 4B FF AB 61 */ bl GetIsInHalfPipeMode__10CMorphBallCFv +/* 800F6E74 000F3DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F6E78 000F3DD8 41 82 01 24 */ beq lbl_800F6F9C +/* 800F6E7C 000F3DDC C0 DE 19 3C */ lfs f6, 0x193c(r30) +/* 800F6E80 000F3DE0 38 61 00 5C */ addi r3, r1, 0x5c +/* 800F6E84 000F3DE4 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 800F6E88 000F3DE8 38 9E 19 24 */ addi r4, r30, 0x1924 +/* 800F6E8C 000F3DEC C0 9E 19 2C */ lfs f4, 0x192c(r30) +/* 800F6E90 000F3DF0 38 A1 00 F8 */ addi r5, r1, 0xf8 +/* 800F6E94 000F3DF4 EC 00 01 B2 */ fmuls f0, f0, f6 +/* 800F6E98 000F3DF8 C0 21 00 F8 */ lfs f1, 0xf8(r1) +/* 800F6E9C 000F3DFC C0 FE 19 4C */ lfs f7, 0x194c(r30) +/* 800F6EA0 000F3E00 C0 41 01 00 */ lfs f2, 0x100(r1) +/* 800F6EA4 000F3E04 EC 01 01 3A */ fmadds f0, f1, f4, f0 +/* 800F6EA8 000F3E08 C0 A1 00 F8 */ lfs f5, 0xf8(r1) +/* 800F6EAC 000F3E0C C0 61 00 FC */ lfs f3, 0xfc(r1) +/* 800F6EB0 000F3E10 C0 21 01 00 */ lfs f1, 0x100(r1) +/* 800F6EB4 000F3E14 EC 02 01 FA */ fmadds f0, f2, f7, f0 +/* 800F6EB8 000F3E18 EC 80 01 32 */ fmuls f4, f0, f4 +/* 800F6EBC 000F3E1C EC 40 01 B2 */ fmuls f2, f0, f6 +/* 800F6EC0 000F3E20 EC 00 01 F2 */ fmuls f0, f0, f7 +/* 800F6EC4 000F3E24 EC 85 20 28 */ fsubs f4, f5, f4 +/* 800F6EC8 000F3E28 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800F6ECC 000F3E2C EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F6ED0 000F3E30 D0 81 00 F8 */ stfs f4, 0xf8(r1) +/* 800F6ED4 000F3E34 D0 41 00 FC */ stfs f2, 0xfc(r1) +/* 800F6ED8 000F3E38 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 800F6EDC 000F3E3C 48 21 BB 49 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f +/* 800F6EE0 000F3E40 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 800F6EE4 000F3E44 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 800F6EE8 000F3E48 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 800F6EEC 000F3E4C D0 41 00 E0 */ stfs f2, 0xe0(r1) +/* 800F6EF0 000F3E50 D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 800F6EF4 000F3E54 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 800F6EF8 000F3E58 88 1E 1D E4 */ lbz r0, 0x1de4(r30) +/* 800F6EFC 000F3E5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800F6F00 000F3E60 41 82 00 0C */ beq lbl_800F6F0C +/* 800F6F04 000F3E64 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F6F08 000F3E68 48 00 00 08 */ b lbl_800F6F10 +lbl_800F6F0C: +/* 800F6F0C 000F3E6C C0 22 92 BC */ lfs f1, lbl_805AAFDC@sda21(r2) +lbl_800F6F10: +/* 800F6F10 000F3E70 C0 02 92 24 */ lfs f0, lbl_805AAF44@sda21(r2) +/* 800F6F14 000F3E74 38 61 00 50 */ addi r3, r1, 0x50 +/* 800F6F18 000F3E78 C0 61 00 E0 */ lfs f3, 0xe0(r1) +/* 800F6F1C 000F3E7C 38 9E 19 24 */ addi r4, r30, 0x1924 +/* 800F6F20 000F3E80 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800F6F24 000F3E84 C0 42 91 C4 */ lfs f2, lbl_805AAEE4@sda21(r2) +/* 800F6F28 000F3E88 C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 800F6F2C 000F3E8C 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 800F6F30 000F3E90 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F6F34 000F3E94 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F6F38 000F3E98 D0 41 00 E0 */ stfs f2, 0xe0(r1) +/* 800F6F3C 000F3E9C D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 800F6F40 000F3EA0 48 21 BB 41 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800F6F44 000F3EA4 C0 02 91 6C */ lfs f0, lbl_805AAE8C@sda21(r2) +/* 800F6F48 000F3EA8 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 800F6F4C 000F3EAC C0 21 00 54 */ lfs f1, 0x54(r1) +/* 800F6F50 000F3EB0 FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800F6F54 000F3EB4 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800F6F58 000F3EB8 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 800F6F5C 000F3EBC D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 800F6F60 000F3EC0 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 800F6F64 000F3EC4 40 81 00 38 */ ble lbl_800F6F9C +/* 800F6F68 000F3EC8 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F6F6C 000F3ECC 38 81 00 44 */ addi r4, r1, 0x44 +/* 800F6F70 000F3ED0 C0 62 92 3C */ lfs f3, lbl_805AAF5C@sda21(r2) +/* 800F6F74 000F3ED4 C0 43 01 3C */ lfs f2, 0x13c(r3) +/* 800F6F78 000F3ED8 C0 23 01 40 */ lfs f1, 0x140(r3) +/* 800F6F7C 000F3EDC C0 03 01 38 */ lfs f0, 0x138(r3) +/* 800F6F80 000F3EE0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F6F84 000F3EE4 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F6F88 000F3EE8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F6F8C 000F3EEC D0 41 00 48 */ stfs f2, 0x48(r1) +/* 800F6F90 000F3EF0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800F6F94 000F3EF4 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800F6F98 000F3EF8 48 02 3D 09 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_800F6F9C: +/* 800F6F9C 000F3EFC 7F C3 F3 78 */ mr r3, r30 +/* 800F6FA0 000F3F00 4B FF A9 F9 */ bl GetTouchedHalfPipeRecently__10CMorphBallCFv +/* 800F6FA4 000F3F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F6FA8 000F3F08 41 82 00 E0 */ beq lbl_800F7088 +/* 800F6FAC 000F3F0C C0 9E 1E 0C */ lfs f4, 0x1e0c(r30) +/* 800F6FB0 000F3F10 C0 FE 1E 18 */ lfs f7, 0x1e18(r30) +/* 800F6FB4 000F3F14 C0 7E 1E 08 */ lfs f3, 0x1e08(r30) +/* 800F6FB8 000F3F18 EC 04 01 F2 */ fmuls f0, f4, f7 +/* 800F6FBC 000F3F1C C0 DE 1E 14 */ lfs f6, 0x1e14(r30) +/* 800F6FC0 000F3F20 C0 BE 1E 10 */ lfs f5, 0x1e10(r30) +/* 800F6FC4 000F3F24 C1 1E 1E 1C */ lfs f8, 0x1e1c(r30) +/* 800F6FC8 000F3F28 EC 23 01 BA */ fmadds f1, f3, f6, f0 +/* 800F6FCC 000F3F2C C0 02 92 3C */ lfs f0, lbl_805AAF5C@sda21(r2) +/* 800F6FD0 000F3F30 EC 25 0A 3A */ fmadds f1, f5, f8, f1 +/* 800F6FD4 000F3F34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F6FD8 000F3F38 40 80 00 B0 */ bge lbl_800F7088 +/* 800F6FDC 000F3F3C C0 02 92 58 */ lfs f0, lbl_805AAF78@sda21(r2) +/* 800F6FE0 000F3F40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F6FE4 000F3F44 40 81 00 A4 */ ble lbl_800F7088 +/* 800F6FE8 000F3F48 EC 47 01 72 */ fmuls f2, f7, f5 +/* 800F6FEC 000F3F4C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800F6FF0 000F3F50 EC 28 00 F2 */ fmuls f1, f8, f3 +/* 800F6FF4 000F3F54 38 81 00 2C */ addi r4, r1, 0x2c +/* 800F6FF8 000F3F58 EC 06 01 32 */ fmuls f0, f6, f4 +/* 800F6FFC 000F3F5C EC 44 12 38 */ fmsubs f2, f4, f8, f2 +/* 800F7000 000F3F60 EC 25 09 B8 */ fmsubs f1, f5, f6, f1 +/* 800F7004 000F3F64 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 +/* 800F7008 000F3F68 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800F700C 000F3F6C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800F7010 000F3F70 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800F7014 000F3F74 48 21 D8 3D */ bl AsNormalized__9CVector3fCFv +/* 800F7018 000F3F78 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F701C 000F3F7C 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 800F7020 000F3F80 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 800F7024 000F3F84 C0 C3 01 38 */ lfs f6, 0x138(r3) +/* 800F7028 000F3F88 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 800F702C 000F3F8C D0 C1 00 D4 */ stfs f6, 0xd4(r1) +/* 800F7030 000F3F90 C0 E1 00 40 */ lfs f7, 0x40(r1) +/* 800F7034 000F3F94 C0 A3 01 3C */ lfs f5, 0x13c(r3) +/* 800F7038 000F3F98 C0 62 92 54 */ lfs f3, lbl_805AAF74@sda21(r2) +/* 800F703C 000F3F9C EC 01 01 72 */ fmuls f0, f1, f5 +/* 800F7040 000F3FA0 D0 A1 00 D8 */ stfs f5, 0xd8(r1) +/* 800F7044 000F3FA4 C0 83 01 40 */ lfs f4, 0x140(r3) +/* 800F7048 000F3FA8 EC 02 01 BA */ fmadds f0, f2, f6, f0 +/* 800F704C 000F3FAC D0 81 00 DC */ stfs f4, 0xdc(r1) +/* 800F7050 000F3FB0 EC 07 01 3A */ fmadds f0, f7, f4, f0 +/* 800F7054 000F3FB4 EC 40 00 B2 */ fmuls f2, f0, f2 +/* 800F7058 000F3FB8 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800F705C 000F3FBC EC 00 01 F2 */ fmuls f0, f0, f7 +/* 800F7060 000F3FC0 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F7064 000F3FC4 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F7068 000F3FC8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F706C 000F3FCC EC 46 10 28 */ fsubs f2, f6, f2 +/* 800F7070 000F3FD0 EC 25 08 28 */ fsubs f1, f5, f1 +/* 800F7074 000F3FD4 EC 04 00 28 */ fsubs f0, f4, f0 +/* 800F7078 000F3FD8 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 800F707C 000F3FDC D0 21 00 D8 */ stfs f1, 0xd8(r1) +/* 800F7080 000F3FE0 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 800F7084 000F3FE4 48 02 3C 1D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_800F7088: +/* 800F7088 000F3FE8 C0 02 91 98 */ lfs f0, lbl_805AAEB8@sda21(r2) +/* 800F708C 000F3FEC EF 00 07 B2 */ fmuls f24, f0, f30 +/* 800F7090 000F3FF0 FC 1F C0 40 */ fcmpo cr0, f31, f24 +/* 800F7094 000F3FF4 4C 41 13 82 */ cror 2, 1, 2 +/* 800F7098 000F3FF8 40 82 00 D4 */ bne lbl_800F716C +/* 800F709C 000F3FFC 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F70A0 000F4000 38 61 00 20 */ addi r3, r1, 0x20 +/* 800F70A4 000F4004 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 800F70A8 000F4008 C0 05 01 38 */ lfs f0, 0x138(r5) +/* 800F70AC 000F400C D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 800F70B0 000F4010 C0 05 01 3C */ lfs f0, 0x13c(r5) +/* 800F70B4 000F4014 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 800F70B8 000F4018 C0 05 01 40 */ lfs f0, 0x140(r5) +/* 800F70BC 000F401C D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 800F70C0 000F4020 48 21 D7 91 */ bl AsNormalized__9CVector3fCFv +/* 800F70C4 000F4024 C0 21 00 FC */ lfs f1, 0xfc(r1) +/* 800F70C8 000F4028 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 800F70CC 000F402C C0 41 00 F8 */ lfs f2, 0xf8(r1) +/* 800F70D0 000F4030 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F70D4 000F4034 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 800F70D8 000F4038 C0 81 01 00 */ lfs f4, 0x100(r1) +/* 800F70DC 000F403C C0 61 00 28 */ lfs f3, 0x28(r1) +/* 800F70E0 000F4040 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 800F70E4 000F4044 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F70E8 000F4048 EF 44 08 FA */ fmadds f26, f4, f3, f1 +/* 800F70EC 000F404C FC 1A 00 40 */ fcmpo cr0, f26, f0 +/* 800F70F0 000F4050 40 81 00 7C */ ble lbl_800F716C +/* 800F70F4 000F4054 EC 3F C0 28 */ fsubs f1, f31, f24 +/* 800F70F8 000F4058 38 81 00 10 */ addi r4, r1, 0x10 +/* 800F70FC 000F405C EC 1E C0 28 */ fsubs f0, f30, f24 +/* 800F7100 000F4060 38 6D 88 78 */ addi r3, r13, lbl_805A7438@sda21 +/* 800F7104 000F4064 38 AD 88 7C */ addi r5, r13, lbl_805A743C@sda21 +/* 800F7108 000F4068 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800F710C 000F406C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800F7110 000F4070 4B F1 51 A5 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F7114 000F4074 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F7118 000F4078 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F711C 000F407C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 800F7120 000F4080 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800F7124 000F4084 48 21 D7 2D */ bl AsNormalized__9CVector3fCFv +/* 800F7128 000F4088 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800F712C 000F408C C0 A1 00 1C */ lfs f5, 0x1c(r1) +/* 800F7130 000F4090 EC C0 06 B2 */ fmuls f6, f0, f26 +/* 800F7134 000F4094 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 800F7138 000F4098 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800F713C 000F409C C0 81 00 F8 */ lfs f4, 0xf8(r1) +/* 800F7140 000F40A0 EC 66 00 72 */ fmuls f3, f6, f1 +/* 800F7144 000F40A4 C0 41 00 FC */ lfs f2, 0xfc(r1) +/* 800F7148 000F40A8 EC 26 00 32 */ fmuls f1, f6, f0 +/* 800F714C 000F40AC C0 01 01 00 */ lfs f0, 0x100(r1) +/* 800F7150 000F40B0 EC A6 01 72 */ fmuls f5, f6, f5 +/* 800F7154 000F40B4 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800F7158 000F40B8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800F715C 000F40BC EC 00 28 28 */ fsubs f0, f0, f5 +/* 800F7160 000F40C0 D0 61 00 F8 */ stfs f3, 0xf8(r1) +/* 800F7164 000F40C4 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 800F7168 000F40C8 D0 01 01 00 */ stfs f0, 0x100(r1) +lbl_800F716C: +/* 800F716C 000F40CC C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 800F7170 000F40D0 D0 1E 00 10 */ stfs f0, 0x10(r30) +/* 800F7174 000F40D4 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 800F7178 000F40D8 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 800F717C 000F40DC C0 01 01 00 */ lfs f0, 0x100(r1) +/* 800F7180 000F40E0 D0 1E 00 18 */ stfs f0, 0x18(r30) +/* 800F7184 000F40E4 4B F2 43 B1 */ bl Identity__10CAxisAngleFv +/* 800F7188 000F40E8 7C 65 1B 78 */ mr r5, r3 +/* 800F718C 000F40EC 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F7190 000F40F0 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800F7194 000F40F4 48 02 51 31 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_800F7198: +/* 800F7198 000F40F8 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F719C 000F40FC 7F C3 F3 78 */ mr r3, r30 +/* 800F71A0 000F4100 7F E6 FB 78 */ mr r6, r31 +/* 800F71A4 000F4104 38 9E 00 1C */ addi r4, r30, 0x1c +/* 800F71A8 000F4108 38 A5 01 38 */ addi r5, r5, 0x138 +/* 800F71AC 000F410C 4B FF 8E E9 */ bl ComputeLiftForces__10CMorphBallFRC9CVector3fRC9CVector3fRC13CStateManager +lbl_800F71B0: +/* 800F71B0 000F4110 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 800F71B4 000F4114 CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 800F71B8 000F4118 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 800F71BC 000F411C CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 800F71C0 000F4120 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 +/* 800F71C4 000F4124 CB A1 01 D0 */ lfd f29, 0x1d0(r1) +/* 800F71C8 000F4128 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 +/* 800F71CC 000F412C CB 81 01 C0 */ lfd f28, 0x1c0(r1) +/* 800F71D0 000F4130 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 +/* 800F71D4 000F4134 CB 61 01 B0 */ lfd f27, 0x1b0(r1) +/* 800F71D8 000F4138 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 +/* 800F71DC 000F413C CB 41 01 A0 */ lfd f26, 0x1a0(r1) +/* 800F71E0 000F4140 E3 21 01 98 */ psq_l f25, 408(r1), 0, qr0 +/* 800F71E4 000F4144 CB 21 01 90 */ lfd f25, 0x190(r1) +/* 800F71E8 000F4148 E3 01 01 88 */ psq_l f24, 392(r1), 0, qr0 +/* 800F71EC 000F414C CB 01 01 80 */ lfd f24, 0x180(r1) +/* 800F71F0 000F4150 83 E1 01 7C */ lwz r31, 0x17c(r1) +/* 800F71F4 000F4154 83 C1 01 78 */ lwz r30, 0x178(r1) +/* 800F71F8 000F4158 80 01 02 04 */ lwz r0, 0x204(r1) +/* 800F71FC 000F415C 83 A1 01 74 */ lwz r29, 0x174(r1) +/* 800F7200 000F4160 7C 08 03 A6 */ mtlr r0 +/* 800F7204 000F4164 38 21 02 00 */ addi r1, r1, 0x200 +/* 800F7208 000F4168 4E 80 00 20 */ blr + +.global CreateSpiderBallParticles__10CMorphBallFRC9CVector3fRC9CVector3f +CreateSpiderBallParticles__10CMorphBallFRC9CVector3fRC9CVector3f: +/* 800F720C 000F416C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800F7210 000F4170 7C 08 02 A6 */ mflr r0 +/* 800F7214 000F4174 90 01 00 54 */ stw r0, 0x54(r1) +/* 800F7218 000F4178 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 800F721C 000F417C 7C 7B 1B 78 */ mr r27, r3 +/* 800F7220 000F4180 7C 9C 23 78 */ mr r28, r4 +/* 800F7224 000F4184 7C BD 2B 78 */ mr r29, r5 +/* 800F7228 000F4188 38 80 00 01 */ li r4, 1 +/* 800F722C 000F418C 80 63 19 D4 */ lwz r3, 0x19d4(r3) +/* 800F7230 000F4190 81 83 00 00 */ lwz r12, 0(r3) +/* 800F7234 000F4194 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F7238 000F4198 7D 89 03 A6 */ mtctr r12 +/* 800F723C 000F419C 4E 80 04 21 */ bctrl +/* 800F7240 000F41A0 C0 3D 00 04 */ lfs f1, 4(r29) +/* 800F7244 000F41A4 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F7248 000F41A8 C0 1C 00 04 */ lfs f0, 4(r28) +/* 800F724C 000F41AC C0 7D 00 08 */ lfs f3, 8(r29) +/* 800F7250 000F41B0 C0 5C 00 08 */ lfs f2, 8(r28) +/* 800F7254 000F41B4 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800F7258 000F41B8 C0 3D 00 00 */ lfs f1, 0(r29) +/* 800F725C 000F41BC C0 1C 00 00 */ lfs f0, 0(r28) +/* 800F7260 000F41C0 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800F7264 000F41C4 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 800F7268 000F41C8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F726C 000F41CC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800F7270 000F41D0 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800F7274 000F41D4 48 21 D6 45 */ bl Magnitude__9CVector3fCFv +/* 800F7278 000F41D8 C0 42 91 E8 */ lfs f2, lbl_805AAF08@sda21(r2) +/* 800F727C 000F41DC 3C 00 43 30 */ lis r0, 0x4330 +/* 800F7280 000F41E0 C0 02 92 EC */ lfs f0, lbl_805AB00C@sda21(r2) +/* 800F7284 000F41E4 EC 61 10 24 */ fdivs f3, f1, f2 +/* 800F7288 000F41E8 C0 E2 91 5C */ lfs f7, lbl_805AAE7C@sda21(r2) +/* 800F728C 000F41EC 90 01 00 28 */ stw r0, 0x28(r1) +/* 800F7290 000F41F0 C8 A2 92 10 */ lfd f5, lbl_805AAF30@sda21(r2) +/* 800F7294 000F41F4 C0 42 91 E0 */ lfs f2, lbl_805AAF00@sda21(r2) +/* 800F7298 000F41F8 C0 81 00 14 */ lfs f4, 0x14(r1) +/* 800F729C 000F41FC EC C7 18 2A */ fadds f6, f7, f3 +/* 800F72A0 000F4200 C0 61 00 18 */ lfs f3, 0x18(r1) +/* 800F72A4 000F4204 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800F72A8 000F4208 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 800F72AC 000F420C FC C0 30 1E */ fctiwz f6, f6 +/* 800F72B0 000F4210 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800F72B4 000F4214 D8 C1 00 20 */ stfd f6, 0x20(r1) +/* 800F72B8 000F4218 FC 00 00 1E */ fctiwz f0, f0 +/* 800F72BC 000F421C 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 800F72C0 000F4220 6F E0 80 00 */ xoris r0, r31, 0x8000 +/* 800F72C4 000F4224 D8 01 00 30 */ stfd f0, 0x30(r1) +/* 800F72C8 000F4228 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800F72CC 000F422C 83 C1 00 34 */ lwz r30, 0x34(r1) +/* 800F72D0 000F4230 C8 01 00 28 */ lfd f0, 0x28(r1) +/* 800F72D4 000F4234 EC 00 28 28 */ fsubs f0, f0, f5 +/* 800F72D8 000F4238 EC 07 00 24 */ fdivs f0, f7, f0 +/* 800F72DC 000F423C EC 84 00 32 */ fmuls f4, f4, f0 +/* 800F72E0 000F4240 EC 43 00 32 */ fmuls f2, f3, f0 +/* 800F72E4 000F4244 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F72E8 000F4248 D0 81 00 14 */ stfs f4, 0x14(r1) +/* 800F72EC 000F424C D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800F72F0 000F4250 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800F72F4 000F4254 48 00 00 88 */ b lbl_800F737C +lbl_800F72F8: +/* 800F72F8 000F4258 C0 5C 00 00 */ lfs f2, 0(r28) +/* 800F72FC 000F425C 3B A0 00 00 */ li r29, 0 +/* 800F7300 000F4260 C0 3C 00 04 */ lfs f1, 4(r28) +/* 800F7304 000F4264 C0 1C 00 08 */ lfs f0, 8(r28) +/* 800F7308 000F4268 D0 41 00 08 */ stfs f2, 8(r1) +/* 800F730C 000F426C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800F7310 000F4270 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800F7314 000F4274 48 00 00 5C */ b lbl_800F7370 +lbl_800F7318: +/* 800F7318 000F4278 80 7B 19 D4 */ lwz r3, 0x19d4(r27) +/* 800F731C 000F427C 38 81 00 08 */ addi r4, r1, 8 +/* 800F7320 000F4280 81 83 00 00 */ lwz r12, 0(r3) +/* 800F7324 000F4284 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800F7328 000F4288 7D 89 03 A6 */ mtctr r12 +/* 800F732C 000F428C 4E 80 04 21 */ bctrl +/* 800F7330 000F4290 80 7B 19 D4 */ lwz r3, 0x19d4(r27) +/* 800F7334 000F4294 38 80 00 01 */ li r4, 1 +/* 800F7338 000F4298 48 22 55 89 */ bl ForceParticleCreation__11CElementGenFi +/* 800F733C 000F429C C0 21 00 08 */ lfs f1, 8(r1) +/* 800F7340 000F42A0 3B BD 00 01 */ addi r29, r29, 1 +/* 800F7344 000F42A4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800F7348 000F42A8 C0 61 00 0C */ lfs f3, 0xc(r1) +/* 800F734C 000F42AC EC 81 00 2A */ fadds f4, f1, f0 +/* 800F7350 000F42B0 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 800F7354 000F42B4 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 800F7358 000F42B8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800F735C 000F42BC EC 43 10 2A */ fadds f2, f3, f2 +/* 800F7360 000F42C0 D0 81 00 08 */ stfs f4, 8(r1) +/* 800F7364 000F42C4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800F7368 000F42C8 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 800F736C 000F42CC D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_800F7370: +/* 800F7370 000F42D0 7C 1D F8 00 */ cmpw r29, r31 +/* 800F7374 000F42D4 41 80 FF A4 */ blt lbl_800F7318 +/* 800F7378 000F42D8 3B DE FF FF */ addi r30, r30, -1 +lbl_800F737C: +/* 800F737C 000F42DC 2C 1E 00 00 */ cmpwi r30, 0 +/* 800F7380 000F42E0 40 80 FF 78 */ bge lbl_800F72F8 +/* 800F7384 000F42E4 80 7B 19 D4 */ lwz r3, 0x19d4(r27) +/* 800F7388 000F42E8 38 80 00 00 */ li r4, 0 +/* 800F738C 000F42EC 81 83 00 00 */ lwz r12, 0(r3) +/* 800F7390 000F42F0 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800F7394 000F42F4 7D 89 03 A6 */ mtctr r12 +/* 800F7398 000F42F8 4E 80 04 21 */ bctrl +/* 800F739C 000F42FC BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 800F73A0 000F4300 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800F73A4 000F4304 7C 08 03 A6 */ mtlr r0 +/* 800F73A8 000F4308 38 21 00 50 */ addi r1, r1, 0x50 +/* 800F73AC 000F430C 4E 80 00 20 */ blr + +.global GetSpiderBallSwingControllerMovementScalar__10CMorphBallCFv +GetSpiderBallSwingControllerMovementScalar__10CMorphBallCFv: +/* 800F73B0 000F4310 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F73B4 000F4314 C0 42 92 F0 */ lfs f2, lbl_805AB010@sda21(r2) +/* 800F73B8 000F4318 C0 63 19 08 */ lfs f3, 0x1908(r3) +/* 800F73BC 000F431C FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 800F73C0 000F4320 40 80 00 0C */ bge lbl_800F73CC +/* 800F73C4 000F4324 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F73C8 000F4328 48 00 00 30 */ b lbl_800F73F8 +lbl_800F73CC: +/* 800F73CC 000F432C C0 22 92 F4 */ lfs f1, lbl_805AB014@sda21(r2) +/* 800F73D0 000F4330 C0 0D 88 64 */ lfs f0, lbl_805A7424@sda21(r13) +/* 800F73D4 000F4334 EC 21 18 28 */ fsubs f1, f1, f3 +/* 800F73D8 000F4338 EC 21 10 24 */ fdivs f1, f1, f2 +/* 800F73DC 000F433C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F73E0 000F4340 D0 21 00 08 */ stfs f1, 8(r1) +/* 800F73E4 000F4344 40 80 00 0C */ bge lbl_800F73F0 +/* 800F73E8 000F4348 38 61 00 08 */ addi r3, r1, 8 +/* 800F73EC 000F434C 48 00 00 08 */ b lbl_800F73F4 +lbl_800F73F0: +/* 800F73F0 000F4350 38 6D 88 64 */ addi r3, r13, lbl_805A7424@sda21 +lbl_800F73F4: +/* 800F73F4 000F4354 C0 23 00 00 */ lfs f1, 0(r3) +lbl_800F73F8: +/* 800F73F8 000F4358 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F73FC 000F435C 4E 80 00 20 */ blr + +.global UpdateSpiderBallSwingControllerMovementTimer__10CMorphBallFff +UpdateSpiderBallSwingControllerMovementTimer__10CMorphBallFff: +/* 800F7400 000F4360 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F7404 000F4364 7C 08 02 A6 */ mflr r0 +/* 800F7408 000F4368 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F740C 000F436C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 800F7410 000F4370 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 800F7414 000F4374 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F7418 000F4378 FF E0 08 90 */ fmr f31, f1 +/* 800F741C 000F437C C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) +/* 800F7420 000F4380 7C 7F 1B 78 */ mr r31, r3 +/* 800F7424 000F4384 FC 20 FA 10 */ fabs f1, f31 +/* 800F7428 000F4388 FC 20 08 18 */ frsp f1, f1 +/* 800F742C 000F438C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F7430 000F4390 40 80 00 0C */ bge lbl_800F743C +/* 800F7434 000F4394 48 00 00 61 */ bl ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv +/* 800F7438 000F4398 48 00 00 40 */ b lbl_800F7478 +lbl_800F743C: +/* 800F743C 000F439C C0 62 91 A8 */ lfs f3, lbl_805AAEC8@sda21(r2) +/* 800F7440 000F43A0 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F7444 000F43A4 C0 1F 19 04 */ lfs f0, 0x1904(r31) +/* 800F7448 000F43A8 FC 3F 18 6E */ fsel f1, f31, f1, f3 +/* 800F744C 000F43AC FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800F7450 000F43B0 41 82 00 1C */ beq lbl_800F746C +/* 800F7454 000F43B4 48 00 00 41 */ bl ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv +/* 800F7458 000F43B8 C0 22 91 A8 */ lfs f1, lbl_805AAEC8@sda21(r2) +/* 800F745C 000F43BC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F7460 000F43C0 FC 1F 08 2E */ fsel f0, f31, f0, f1 +/* 800F7464 000F43C4 D0 1F 19 04 */ stfs f0, 0x1904(r31) +/* 800F7468 000F43C8 48 00 00 10 */ b lbl_800F7478 +lbl_800F746C: +/* 800F746C 000F43CC C0 1F 19 08 */ lfs f0, 0x1908(r31) +/* 800F7470 000F43D0 EC 00 10 2A */ fadds f0, f0, f2 +/* 800F7474 000F43D4 D0 1F 19 08 */ stfs f0, 0x1908(r31) +lbl_800F7478: +/* 800F7478 000F43D8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 800F747C 000F43DC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F7480 000F43E0 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 800F7484 000F43E4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F7488 000F43E8 7C 08 03 A6 */ mtlr r0 +/* 800F748C 000F43EC 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F7490 000F43F0 4E 80 00 20 */ blr + +.global ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv +ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv: +/* 800F7494 000F43F4 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F7498 000F43F8 D0 03 19 04 */ stfs f0, 0x1904(r3) +/* 800F749C 000F43FC D0 03 19 08 */ stfs f0, 0x1908(r3) +/* 800F74A0 000F4400 4E 80 00 20 */ blr + +.global GetSpiderBallControllerMovement__10CMorphBallCFRC11CFinalInput +GetSpiderBallControllerMovement__10CMorphBallCFRC11CFinalInput: +/* 800F74A4 000F4404 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800F74A8 000F4408 7C 08 02 A6 */ mflr r0 +/* 800F74AC 000F440C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800F74B0 000F4410 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 800F74B4 000F4414 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 800F74B8 000F4418 DB C1 00 10 */ stfd f30, 0x10(r1) +/* 800F74BC 000F441C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 800F74C0 000F4420 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F74C4 000F4424 7C 9F 23 78 */ mr r31, r4 +/* 800F74C8 000F4428 48 00 17 D1 */ bl IsMovementAllowed__10CMorphBallCFv +/* 800F74CC 000F442C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F74D0 000F4430 40 82 00 0C */ bne lbl_800F74DC +/* 800F74D4 000F4434 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F74D8 000F4438 48 00 00 A8 */ b lbl_800F7580 +lbl_800F74DC: +/* 800F74DC 000F443C 7F E4 FB 78 */ mr r4, r31 +/* 800F74E0 000F4440 38 60 00 01 */ li r3, 1 +/* 800F74E4 000F4444 4B F1 54 35 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F74E8 000F4448 FF E0 08 90 */ fmr f31, f1 +/* 800F74EC 000F444C 7F E4 FB 78 */ mr r4, r31 +/* 800F74F0 000F4450 38 60 00 00 */ li r3, 0 +/* 800F74F4 000F4454 4B F1 54 25 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F74F8 000F4458 EF C1 F8 28 */ fsubs f30, f1, f31 +/* 800F74FC 000F445C 7F E4 FB 78 */ mr r4, r31 +/* 800F7500 000F4460 38 60 00 02 */ li r3, 2 +/* 800F7504 000F4464 4B F1 54 15 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F7508 000F4468 FF E0 08 90 */ fmr f31, f1 +/* 800F750C 000F446C 7F E4 FB 78 */ mr r4, r31 +/* 800F7510 000F4470 38 60 00 03 */ li r3, 3 +/* 800F7514 000F4474 4B F1 54 05 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F7518 000F4478 EF E1 F8 28 */ fsubs f31, f1, f31 +/* 800F751C 000F447C FC 20 F0 90 */ fmr f1, f30 +/* 800F7520 000F4480 FC 40 F8 90 */ fmr f2, f31 +/* 800F7524 000F4484 48 29 D7 49 */ bl atan2 +/* 800F7528 000F4488 FC 20 08 18 */ frsp f1, f1 +/* 800F752C 000F448C C0 42 92 F8 */ lfs f2, lbl_805AB018@sda21(r2) +/* 800F7530 000F4490 EC 1F 07 F2 */ fmuls f0, f31, f31 +/* 800F7534 000F4494 EF E2 00 72 */ fmuls f31, f2, f1 +/* 800F7538 000F4498 EC 3E 07 BA */ fmadds f1, f30, f30, f0 +/* 800F753C 000F449C 48 21 DF C5 */ bl SqrtF__5CMathFf +/* 800F7540 000F44A0 C0 02 92 FC */ lfs f0, lbl_805AB01C@sda21(r2) +/* 800F7544 000F44A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F7548 000F44A8 40 81 00 14 */ ble lbl_800F755C +/* 800F754C 000F44AC C0 02 93 00 */ lfs f0, lbl_805AB020@sda21(r2) +/* 800F7550 000F44B0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F7554 000F44B4 40 80 00 08 */ bge lbl_800F755C +/* 800F7558 000F44B8 48 00 00 28 */ b lbl_800F7580 +lbl_800F755C: +/* 800F755C 000F44BC C0 02 93 04 */ lfs f0, lbl_805AB024@sda21(r2) +/* 800F7560 000F44C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F7564 000F44C4 41 80 00 10 */ blt lbl_800F7574 +/* 800F7568 000F44C8 C0 02 93 08 */ lfs f0, lbl_805AB028@sda21(r2) +/* 800F756C 000F44CC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800F7570 000F44D0 40 81 00 0C */ ble lbl_800F757C +lbl_800F7574: +/* 800F7574 000F44D4 FC 20 08 50 */ fneg f1, f1 +/* 800F7578 000F44D8 48 00 00 08 */ b lbl_800F7580 +lbl_800F757C: +/* 800F757C 000F44DC C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +lbl_800F7580: +/* 800F7580 000F44E0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 800F7584 000F44E4 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 800F7588 000F44E8 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 800F758C 000F44EC CB C1 00 10 */ lfd f30, 0x10(r1) +/* 800F7590 000F44F0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800F7594 000F44F4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F7598 000F44F8 7C 08 03 A6 */ mtlr r0 +/* 800F759C 000F44FC 38 21 00 30 */ addi r1, r1, 0x30 +/* 800F75A0 000F4500 4E 80 00 20 */ blr + +.global SetSpiderBallSwingingState__10CMorphBallFb +SetSpiderBallSwingingState__10CMorphBallFb: +/* 800F75A4 000F4504 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F75A8 000F4508 7C 08 02 A6 */ mflr r0 +/* 800F75AC 000F450C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F75B0 000F4510 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F75B4 000F4514 7C 9F 23 78 */ mr r31, r4 +/* 800F75B8 000F4518 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 800F75BC 000F451C 93 C1 00 08 */ stw r30, 8(r1) +/* 800F75C0 000F4520 7C 7E 1B 78 */ mr r30, r3 +/* 800F75C4 000F4524 88 83 18 BE */ lbz r4, 0x18be(r3) +/* 800F75C8 000F4528 7C 04 00 40 */ cmplw r4, r0 +/* 800F75CC 000F452C 41 82 00 10 */ beq lbl_800F75DC +/* 800F75D0 000F4530 4B FF FE C5 */ bl ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv +/* 800F75D4 000F4534 38 00 00 01 */ li r0, 1 +/* 800F75D8 000F4538 98 1E 18 BF */ stb r0, 0x18bf(r30) +lbl_800F75DC: +/* 800F75DC 000F453C 9B FE 18 BE */ stb r31, 0x18be(r30) +/* 800F75E0 000F4540 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F75E4 000F4544 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F75E8 000F4548 83 C1 00 08 */ lwz r30, 8(r1) +/* 800F75EC 000F454C 7C 08 03 A6 */ mtlr r0 +/* 800F75F0 000F4550 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F75F4 000F4554 4E 80 00 20 */ blr + +.global FindClosestSpiderBallWaypoint__10CMorphBallCFR13CStateManagerRC9CVector3fR9CVector3fR9CVector3fR9CVector3fRfR9CVector3fRbR12CTransform4f +FindClosestSpiderBallWaypoint__10CMorphBallCFR13CStateManagerRC9CVector3fR9CVector3fR9CVector3fR9CVector3fRfR9CVector3fRbR12CTransform4f: +/* 800F75F8 000F4558 94 21 F4 F0 */ stwu r1, -0xb10(r1) +/* 800F75FC 000F455C 7C 08 02 A6 */ mflr r0 +/* 800F7600 000F4560 90 01 0B 14 */ stw r0, 0xb14(r1) +/* 800F7604 000F4564 DB E1 0B 00 */ stfd f31, 0xb00(r1) +/* 800F7608 000F4568 F3 E1 0B 08 */ psq_st f31, -1272(r1), 0, qr0 +/* 800F760C 000F456C DB C1 0A F0 */ stfd f30, 0xaf0(r1) +/* 800F7610 000F4570 F3 C1 0A F8 */ psq_st f30, -1288(r1), 0, qr0 +/* 800F7614 000F4574 DB A1 0A E0 */ stfd f29, 0xae0(r1) +/* 800F7618 000F4578 F3 A1 0A E8 */ psq_st f29, -1304(r1), 0, qr0 +/* 800F761C 000F457C DB 81 0A D0 */ stfd f28, 0xad0(r1) +/* 800F7620 000F4580 F3 81 0A D8 */ psq_st f28, -1320(r1), 0, qr0 +/* 800F7624 000F4584 BE 21 0A 94 */ stmw r17, 0xa94(r1) +/* 800F7628 000F4588 7C BD 2B 78 */ mr r29, r5 +/* 800F762C 000F458C 38 00 00 00 */ li r0, 0 +/* 800F7630 000F4590 C3 E2 92 EC */ lfs f31, lbl_805AB00C@sda21(r2) +/* 800F7634 000F4594 7C 9C 23 78 */ mr r28, r4 +/* 800F7638 000F4598 C0 65 00 04 */ lfs f3, 4(r5) +/* 800F763C 000F459C 7C DE 33 78 */ mr r30, r6 +/* 800F7640 000F45A0 C0 45 00 08 */ lfs f2, 8(r5) +/* 800F7644 000F45A4 7C FF 3B 78 */ mr r31, r7 +/* 800F7648 000F45A8 C0 05 00 00 */ lfs f0, 0(r5) +/* 800F764C 000F45AC EC A3 F8 2A */ fadds f5, f3, f31 +/* 800F7650 000F45B0 EC 82 F8 2A */ fadds f4, f2, f31 +/* 800F7654 000F45B4 90 01 02 80 */ stw r0, 0x280(r1) +/* 800F7658 000F45B8 EC 20 F8 2A */ fadds f1, f0, f31 +/* 800F765C 000F45BC 83 01 0B 18 */ lwz r24, 0xb18(r1) +/* 800F7660 000F45C0 EC 63 F8 28 */ fsubs f3, f3, f31 +/* 800F7664 000F45C4 EC 42 F8 28 */ fsubs f2, f2, f31 +/* 800F7668 000F45C8 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800F766C 000F45CC D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 800F7670 000F45D0 83 21 0B 1C */ lwz r25, 0xb1c(r1) +/* 800F7674 000F45D4 7D 15 43 78 */ mr r21, r8 +/* 800F7678 000F45D8 D0 A1 00 A0 */ stfs f5, 0xa0(r1) +/* 800F767C 000F45DC 7D 36 4B 78 */ mr r22, r9 +/* 800F7680 000F45E0 D0 81 00 A4 */ stfs f4, 0xa4(r1) +/* 800F7684 000F45E4 7D 57 53 78 */ mr r23, r10 +/* 800F7688 000F45E8 38 61 01 18 */ addi r3, r1, 0x118 +/* 800F768C 000F45EC 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800F7690 000F45F0 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 800F7694 000F45F4 38 A1 00 9C */ addi r5, r1, 0x9c +/* 800F7698 000F45F8 3B 40 00 00 */ li r26, 0 +/* 800F769C 000F45FC D0 61 00 AC */ stfs f3, 0xac(r1) +/* 800F76A0 000F4600 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 800F76A4 000F4604 48 24 0E 65 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800F76A8 000F4608 3C 80 80 5A */ lis r4, lbl_8059FD18@ha +/* 800F76AC 000F460C 7F 83 E3 78 */ mr r3, r28 +/* 800F76B0 000F4610 38 C4 FD 18 */ addi r6, r4, lbl_8059FD18@l +/* 800F76B4 000F4614 38 A1 01 18 */ addi r5, r1, 0x118 +/* 800F76B8 000F4618 38 81 02 80 */ addi r4, r1, 0x280 +/* 800F76BC 000F461C 38 E0 00 00 */ li r7, 0 +/* 800F76C0 000F4620 4B F5 50 61 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" +/* 800F76C4 000F4624 3B 61 02 84 */ addi r27, r1, 0x284 +/* 800F76C8 000F4628 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F76CC 000F462C 7F 72 DB 78 */ mr r18, r27 +/* 800F76D0 000F4630 3A 61 00 F8 */ addi r19, r1, 0xf8 +/* 800F76D4 000F4634 3A 83 66 A0 */ addi r20, r3, skZero3f@l +/* 800F76D8 000F4638 48 00 02 EC */ b lbl_800F79C4 +lbl_800F76DC: +/* 800F76DC 000F463C A0 12 00 00 */ lhz r0, 0(r18) +/* 800F76E0 000F4640 7F 83 E3 78 */ mr r3, r28 +/* 800F76E4 000F4644 38 81 00 0C */ addi r4, r1, 0xc +/* 800F76E8 000F4648 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800F76EC 000F464C 4B F5 4E B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800F76F0 000F4650 7C 64 1B 78 */ mr r4, r3 +/* 800F76F4 000F4654 38 61 00 1C */ addi r3, r1, 0x1c +/* 800F76F8 000F4658 4B FB 07 B9 */ bl "__ct__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FP7CEntity" +/* 800F76FC 000F465C 82 23 00 04 */ lwz r17, 4(r3) +/* 800F7700 000F4660 28 11 00 00 */ cmplwi r17, 0 +/* 800F7704 000F4664 41 82 02 BC */ beq lbl_800F79C0 +/* 800F7708 000F4668 C0 51 00 58 */ lfs f2, 0x58(r17) +/* 800F770C 000F466C 38 61 00 90 */ addi r3, r1, 0x90 +/* 800F7710 000F4670 C0 31 00 48 */ lfs f1, 0x48(r17) +/* 800F7714 000F4674 38 81 00 84 */ addi r4, r1, 0x84 +/* 800F7718 000F4678 C0 11 00 38 */ lfs f0, 0x38(r17) +/* 800F771C 000F467C D0 01 00 84 */ stfs f0, 0x84(r1) +/* 800F7720 000F4680 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 800F7724 000F4684 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 800F7728 000F4688 48 21 D1 29 */ bl AsNormalized__9CVector3fCFv +/* 800F772C 000F468C C3 C1 00 90 */ lfs f30, 0x90(r1) +/* 800F7730 000F4690 38 61 00 78 */ addi r3, r1, 0x78 +/* 800F7734 000F4694 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F7738 000F4698 38 81 00 6C */ addi r4, r1, 0x6c +/* 800F773C 000F469C C3 81 00 94 */ lfs f28, 0x94(r1) +/* 800F7740 000F46A0 C3 A1 00 98 */ lfs f29, 0x98(r1) +/* 800F7744 000F46A4 EC 40 07 B2 */ fmuls f2, f0, f30 +/* 800F7748 000F46A8 EC 20 07 32 */ fmuls f1, f0, f28 +/* 800F774C 000F46AC EC 00 07 72 */ fmuls f0, f0, f29 +/* 800F7750 000F46B0 D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 800F7754 000F46B4 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 800F7758 000F46B8 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800F775C 000F46BC 48 21 C6 75 */ bl __ct__11CUnitVectorFRC9CVector3f +/* 800F7760 000F46C0 C0 31 00 50 */ lfs f1, 0x50(r17) +/* 800F7764 000F46C4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F7768 000F46C8 C1 01 00 7C */ lfs f8, 0x7c(r1) +/* 800F776C 000F46CC 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800F7770 000F46D0 C0 02 92 EC */ lfs f0, lbl_805AB00C@sda21(r2) +/* 800F7774 000F46D4 38 61 00 60 */ addi r3, r1, 0x60 +/* 800F7778 000F46D8 EC 21 02 32 */ fmuls f1, f1, f8 +/* 800F777C 000F46DC C0 91 00 40 */ lfs f4, 0x40(r17) +/* 800F7780 000F46E0 C1 21 00 78 */ lfs f9, 0x78(r1) +/* 800F7784 000F46E4 ED A0 07 B2 */ fmuls f13, f0, f30 +/* 800F7788 000F46E8 EF 80 07 32 */ fmuls f28, f0, f28 +/* 800F778C 000F46EC C0 B1 00 60 */ lfs f5, 0x60(r17) +/* 800F7790 000F46F0 EF A0 07 72 */ fmuls f29, f0, f29 +/* 800F7794 000F46F4 C0 7D 00 04 */ lfs f3, 4(r29) +/* 800F7798 000F46F8 C0 5D 00 08 */ lfs f2, 8(r29) +/* 800F779C 000F46FC EC 24 0A 7A */ fmadds f1, f4, f9, f1 +/* 800F77A0 000F4700 C0 E1 00 80 */ lfs f7, 0x80(r1) +/* 800F77A4 000F4704 ED 83 E0 28 */ fsubs f12, f3, f28 +/* 800F77A8 000F4708 C0 1D 00 00 */ lfs f0, 0(r29) +/* 800F77AC 000F470C EC C5 09 FA */ fmadds f6, f5, f7, f1 +/* 800F77B0 000F4710 ED 62 E8 28 */ fsubs f11, f2, f29 +/* 800F77B4 000F4714 C0 A4 00 00 */ lfs f5, 0(r4) +/* 800F77B8 000F4718 EC 20 68 28 */ fsubs f1, f0, f13 +/* 800F77BC 000F471C C0 94 00 04 */ lfs f4, 4(r20) +/* 800F77C0 000F4720 ED 43 E0 2A */ fadds f10, f3, f28 +/* 800F77C4 000F4724 EC 62 E8 2A */ fadds f3, f2, f29 +/* 800F77C8 000F4728 EC 00 68 2A */ fadds f0, f0, f13 +/* 800F77CC 000F472C C0 54 00 08 */ lfs f2, 8(r20) +/* 800F77D0 000F4730 D1 21 01 08 */ stfs f9, 0x108(r1) +/* 800F77D4 000F4734 38 81 00 48 */ addi r4, r1, 0x48 +/* 800F77D8 000F4738 38 A1 01 08 */ addi r5, r1, 0x108 +/* 800F77DC 000F473C D1 01 01 0C */ stfs f8, 0x10c(r1) +/* 800F77E0 000F4740 38 C1 00 FC */ addi r6, r1, 0xfc +/* 800F77E4 000F4744 D0 E1 01 10 */ stfs f7, 0x110(r1) +/* 800F77E8 000F4748 D0 C1 01 14 */ stfs f6, 0x114(r1) +/* 800F77EC 000F474C D0 A1 00 FC */ stfs f5, 0xfc(r1) +/* 800F77F0 000F4750 D0 81 01 00 */ stfs f4, 0x100(r1) +/* 800F77F4 000F4754 D0 41 01 04 */ stfs f2, 0x104(r1) +/* 800F77F8 000F4758 D1 A1 00 3C */ stfs f13, 0x3c(r1) +/* 800F77FC 000F475C D3 81 00 40 */ stfs f28, 0x40(r1) +/* 800F7800 000F4760 D3 A1 00 44 */ stfs f29, 0x44(r1) +/* 800F7804 000F4764 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800F7808 000F4768 D1 81 00 4C */ stfs f12, 0x4c(r1) +/* 800F780C 000F476C D1 61 00 50 */ stfs f11, 0x50(r1) +/* 800F7810 000F4770 D1 A1 00 54 */ stfs f13, 0x54(r1) +/* 800F7814 000F4774 D3 81 00 58 */ stfs f28, 0x58(r1) +/* 800F7818 000F4778 D3 A1 00 5C */ stfs f29, 0x5c(r1) +/* 800F781C 000F477C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800F7820 000F4780 D1 41 00 64 */ stfs f10, 0x64(r1) +/* 800F7824 000F4784 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 800F7828 000F4788 48 1D C4 79 */ bl RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f +/* 800F782C 000F478C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F7830 000F4790 41 82 01 90 */ beq lbl_800F79C0 +/* 800F7834 000F4794 C0 62 92 58 */ lfs f3, lbl_805AAF78@sda21(r2) +/* 800F7838 000F4798 38 61 01 F0 */ addi r3, r1, 0x1f0 +/* 800F783C 000F479C C0 11 00 E8 */ lfs f0, 0xe8(r17) +/* 800F7840 000F47A0 C0 51 00 EC */ lfs f2, 0xec(r17) +/* 800F7844 000F47A4 C0 31 00 F0 */ lfs f1, 0xf0(r17) +/* 800F7848 000F47A8 EF 83 00 32 */ fmuls f28, f3, f0 +/* 800F784C 000F47AC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F7850 000F47B0 EF A3 00 B2 */ fmuls f29, f3, f2 +/* 800F7854 000F47B4 EF C3 00 72 */ fmuls f30, f3, f1 +/* 800F7858 000F47B8 EC 20 E0 24 */ fdivs f1, f0, f28 +/* 800F785C 000F47BC EC 40 E8 24 */ fdivs f2, f0, f29 +/* 800F7860 000F47C0 EC 60 F0 24 */ fdivs f3, f0, f30 +/* 800F7864 000F47C4 48 21 B9 A5 */ bl Scale__12CTransform4fFfff +/* 800F7868 000F47C8 38 61 02 50 */ addi r3, r1, 0x250 +/* 800F786C 000F47CC 38 81 01 F0 */ addi r4, r1, 0x1f0 +/* 800F7870 000F47D0 48 21 B3 05 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F7874 000F47D4 38 61 01 90 */ addi r3, r1, 0x190 +/* 800F7878 000F47D8 38 91 00 34 */ addi r4, r17, 0x34 +/* 800F787C 000F47DC 48 21 B4 21 */ bl GetQuickInverse__12CTransform4fCFv +/* 800F7880 000F47E0 38 61 01 C0 */ addi r3, r1, 0x1c0 +/* 800F7884 000F47E4 38 81 02 50 */ addi r4, r1, 0x250 +/* 800F7888 000F47E8 38 A1 01 90 */ addi r5, r1, 0x190 +/* 800F788C 000F47EC 48 21 B0 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800F7890 000F47F0 38 61 00 30 */ addi r3, r1, 0x30 +/* 800F7894 000F47F4 38 81 01 C0 */ addi r4, r1, 0x1c0 +/* 800F7898 000F47F8 38 A1 00 FC */ addi r5, r1, 0xfc +/* 800F789C 000F47FC 48 21 B2 4D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800F78A0 000F4800 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 800F78A4 000F4804 38 81 00 F0 */ addi r4, r1, 0xf0 +/* 800F78A8 000F4808 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 800F78AC 000F480C 38 6D 88 54 */ addi r3, r13, lbl_805A7414@sda21 +/* 800F78B0 000F4810 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 800F78B4 000F4814 38 AD 88 58 */ addi r5, r13, lbl_805A7418@sda21 +/* 800F78B8 000F4818 D0 41 00 F0 */ stfs f2, 0xf0(r1) +/* 800F78BC 000F481C D0 21 00 F4 */ stfs f1, 0xf4(r1) +/* 800F78C0 000F4820 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 800F78C4 000F4824 4B F1 49 F1 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F78C8 000F4828 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F78CC 000F482C 7E 64 9B 78 */ mr r4, r19 +/* 800F78D0 000F4830 38 6D 88 5C */ addi r3, r13, lbl_805A741C@sda21 +/* 800F78D4 000F4834 38 AD 88 60 */ addi r5, r13, lbl_805A7420@sda21 +/* 800F78D8 000F4838 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 800F78DC 000F483C 4B F1 49 D9 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F78E0 000F4840 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F78E4 000F4844 FC 20 E0 90 */ fmr f1, f28 +/* 800F78E8 000F4848 FC 40 E8 90 */ fmr f2, f29 +/* 800F78EC 000F484C 38 61 01 60 */ addi r3, r1, 0x160 +/* 800F78F0 000F4850 FC 60 F0 90 */ fmr f3, f30 +/* 800F78F4 000F4854 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 800F78F8 000F4858 48 21 B9 11 */ bl Scale__12CTransform4fFfff +/* 800F78FC 000F485C 38 61 02 20 */ addi r3, r1, 0x220 +/* 800F7900 000F4860 38 81 01 60 */ addi r4, r1, 0x160 +/* 800F7904 000F4864 48 21 B2 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F7908 000F4868 38 61 01 30 */ addi r3, r1, 0x130 +/* 800F790C 000F486C 38 91 00 34 */ addi r4, r17, 0x34 +/* 800F7910 000F4870 38 A1 02 20 */ addi r5, r1, 0x220 +/* 800F7914 000F4874 48 21 B0 3D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800F7918 000F4878 38 61 00 24 */ addi r3, r1, 0x24 +/* 800F791C 000F487C 38 81 01 30 */ addi r4, r1, 0x130 +/* 800F7920 000F4880 38 A1 00 F0 */ addi r5, r1, 0xf0 +/* 800F7924 000F4884 48 21 B1 C5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800F7928 000F4888 C3 C1 00 24 */ lfs f30, 0x24(r1) +/* 800F792C 000F488C 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800F7930 000F4890 C0 1D 00 00 */ lfs f0, 0(r29) +/* 800F7934 000F4894 C3 81 00 28 */ lfs f28, 0x28(r1) +/* 800F7938 000F4898 C0 5D 00 04 */ lfs f2, 4(r29) +/* 800F793C 000F489C EC 1E 00 28 */ fsubs f0, f30, f0 +/* 800F7940 000F48A0 C3 A1 00 2C */ lfs f29, 0x2c(r1) +/* 800F7944 000F48A4 C0 3D 00 08 */ lfs f1, 8(r29) +/* 800F7948 000F48A8 EC 5C 10 28 */ fsubs f2, f28, f2 +/* 800F794C 000F48AC D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 800F7950 000F48B0 EC 1D 08 28 */ fsubs f0, f29, f1 +/* 800F7954 000F48B4 D0 41 00 E8 */ stfs f2, 0xe8(r1) +/* 800F7958 000F48B8 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 800F795C 000F48BC 48 21 CF 5D */ bl Magnitude__9CVector3fCFv +/* 800F7960 000F48C0 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 800F7964 000F48C4 40 80 00 5C */ bge lbl_800F79C0 +/* 800F7968 000F48C8 FF E0 08 90 */ fmr f31, f1 +/* 800F796C 000F48CC C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) +/* 800F7970 000F48D0 D3 DE 00 00 */ stfs f30, 0(r30) +/* 800F7974 000F48D4 38 00 00 01 */ li r0, 1 +/* 800F7978 000F48D8 7F 23 CB 78 */ mr r3, r25 +/* 800F797C 000F48DC 38 91 00 34 */ addi r4, r17, 0x34 +/* 800F7980 000F48E0 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 800F7984 000F48E4 D3 9E 00 04 */ stfs f28, 4(r30) +/* 800F7988 000F48E8 D3 BE 00 08 */ stfs f29, 8(r30) +/* 800F798C 000F48EC D0 36 00 00 */ stfs f1, 0(r22) +/* 800F7990 000F48F0 C0 41 00 E4 */ lfs f2, 0xe4(r1) +/* 800F7994 000F48F4 C0 21 00 E8 */ lfs f1, 0xe8(r1) +/* 800F7998 000F48F8 C0 01 00 EC */ lfs f0, 0xec(r1) +/* 800F799C 000F48FC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F79A0 000F4900 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F79A4 000F4904 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F79A8 000F4908 D0 57 00 00 */ stfs f2, 0(r23) +/* 800F79AC 000F490C D0 37 00 04 */ stfs f1, 4(r23) +/* 800F79B0 000F4910 D0 17 00 08 */ stfs f0, 8(r23) +/* 800F79B4 000F4914 98 18 00 00 */ stb r0, 0(r24) +/* 800F79B8 000F4918 48 21 B1 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800F79BC 000F491C 3B 40 00 01 */ li r26, 1 +lbl_800F79C0: +/* 800F79C0 000F4920 3A 52 00 02 */ addi r18, r18, 2 +lbl_800F79C4: +/* 800F79C4 000F4924 80 01 02 80 */ lwz r0, 0x280(r1) +/* 800F79C8 000F4928 54 00 08 3C */ slwi r0, r0, 1 +/* 800F79CC 000F492C 7C 1B 02 14 */ add r0, r27, r0 +/* 800F79D0 000F4930 7C 12 00 40 */ cmplw r18, r0 +/* 800F79D4 000F4934 40 82 FD 08 */ bne lbl_800F76DC +/* 800F79D8 000F4938 7F 71 DB 78 */ mr r17, r27 +/* 800F79DC 000F493C 48 00 01 80 */ b lbl_800F7B5C +lbl_800F79E0: +/* 800F79E0 000F4940 A0 11 00 00 */ lhz r0, 0(r17) +/* 800F79E4 000F4944 7F 83 E3 78 */ mr r3, r28 +/* 800F79E8 000F4948 38 81 00 08 */ addi r4, r1, 8 +/* 800F79EC 000F494C B0 01 00 08 */ sth r0, 8(r1) +/* 800F79F0 000F4950 4B F5 4B B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800F79F4 000F4954 7C 64 1B 78 */ mr r4, r3 +/* 800F79F8 000F4958 38 61 00 14 */ addi r3, r1, 0x14 +/* 800F79FC 000F495C 4B FB 01 A1 */ bl "__ct__39TCastToPtr<25CScriptSpiderBallWaypoint>FP7CEntity" +/* 800F7A00 000F4960 80 63 00 04 */ lwz r3, 4(r3) +/* 800F7A04 000F4964 28 03 00 00 */ cmplwi r3, 0 +/* 800F7A08 000F4968 41 82 01 50 */ beq lbl_800F7B58 +/* 800F7A0C 000F496C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800F7A10 000F4970 C0 74 00 04 */ lfs f3, 4(r20) +/* 800F7A14 000F4974 C0 44 66 A0 */ lfs f2, skZero3f@l(r4) +/* 800F7A18 000F4978 38 00 00 00 */ li r0, 0 +/* 800F7A1C 000F497C C0 14 00 08 */ lfs f0, 8(r20) +/* 800F7A20 000F4980 7F 84 E3 78 */ mr r4, r28 +/* 800F7A24 000F4984 D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 800F7A28 000F4988 7F A5 EB 78 */ mr r5, r29 +/* 800F7A2C 000F498C C0 22 92 EC */ lfs f1, lbl_805AB00C@sda21(r2) +/* 800F7A30 000F4990 38 C1 00 10 */ addi r6, r1, 0x10 +/* 800F7A34 000F4994 90 01 00 10 */ stw r0, 0x10(r1) +/* 800F7A38 000F4998 38 E1 00 D8 */ addi r7, r1, 0xd8 +/* 800F7A3C 000F499C C0 42 91 80 */ lfs f2, lbl_805AAEA0@sda21(r2) +/* 800F7A40 000F49A0 39 01 00 C0 */ addi r8, r1, 0xc0 +/* 800F7A44 000F49A4 D0 61 00 DC */ stfs f3, 0xdc(r1) +/* 800F7A48 000F49A8 39 21 00 CC */ addi r9, r1, 0xcc +/* 800F7A4C 000F49AC D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 800F7A50 000F49B0 C0 1F 00 00 */ lfs f0, 0(r31) +/* 800F7A54 000F49B4 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 800F7A58 000F49B8 C0 1F 00 04 */ lfs f0, 4(r31) +/* 800F7A5C 000F49BC D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 800F7A60 000F49C0 C0 1F 00 08 */ lfs f0, 8(r31) +/* 800F7A64 000F49C4 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 800F7A68 000F49C8 C0 15 00 00 */ lfs f0, 0(r21) +/* 800F7A6C 000F49CC D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800F7A70 000F49D0 C0 15 00 04 */ lfs f0, 4(r21) +/* 800F7A74 000F49D4 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 800F7A78 000F49D8 C0 15 00 08 */ lfs f0, 8(r21) +/* 800F7A7C 000F49DC D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 800F7A80 000F49E0 48 02 02 9D */ bl GetClosestPointAlongWaypoints__25CScriptSpiderBallWaypointCFR13CStateManagerRC9CVector3ffPPC25CScriptSpiderBallWaypointR9CVector3fR9CVector3ffR9CVector3f +/* 800F7A84 000F49E4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800F7A88 000F49E8 28 00 00 00 */ cmplwi r0, 0 +/* 800F7A8C 000F49EC 41 82 00 CC */ beq lbl_800F7B58 +/* 800F7A90 000F49F0 C0 21 00 DC */ lfs f1, 0xdc(r1) +/* 800F7A94 000F49F4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800F7A98 000F49F8 C0 1D 00 04 */ lfs f0, 4(r29) +/* 800F7A9C 000F49FC C0 61 00 E0 */ lfs f3, 0xe0(r1) +/* 800F7AA0 000F4A00 C0 5D 00 08 */ lfs f2, 8(r29) +/* 800F7AA4 000F4A04 EC 81 00 28 */ fsubs f4, f1, f0 +/* 800F7AA8 000F4A08 C0 21 00 D8 */ lfs f1, 0xd8(r1) +/* 800F7AAC 000F4A0C C0 1D 00 00 */ lfs f0, 0(r29) +/* 800F7AB0 000F4A10 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800F7AB4 000F4A14 D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 800F7AB8 000F4A18 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F7ABC 000F4A1C D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 800F7AC0 000F4A20 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 800F7AC4 000F4A24 48 21 CD F5 */ bl Magnitude__9CVector3fCFv +/* 800F7AC8 000F4A28 FC 01 F8 40 */ fcmpo cr0, f1, f31 +/* 800F7ACC 000F4A2C 40 80 00 8C */ bge lbl_800F7B58 +/* 800F7AD0 000F4A30 C0 41 00 D8 */ lfs f2, 0xd8(r1) +/* 800F7AD4 000F4A34 FF E0 08 90 */ fmr f31, f1 +/* 800F7AD8 000F4A38 C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) +/* 800F7ADC 000F4A3C 38 00 00 00 */ li r0, 0 +/* 800F7AE0 000F4A40 D0 5E 00 00 */ stfs f2, 0(r30) +/* 800F7AE4 000F4A44 3B 40 00 01 */ li r26, 1 +/* 800F7AE8 000F4A48 EC 60 F8 24 */ fdivs f3, f0, f31 +/* 800F7AEC 000F4A4C C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 800F7AF0 000F4A50 D0 1E 00 04 */ stfs f0, 4(r30) +/* 800F7AF4 000F4A54 C0 01 00 E0 */ lfs f0, 0xe0(r1) +/* 800F7AF8 000F4A58 D0 1E 00 08 */ stfs f0, 8(r30) +/* 800F7AFC 000F4A5C C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 800F7B00 000F4A60 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800F7B04 000F4A64 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 800F7B08 000F4A68 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800F7B0C 000F4A6C C0 01 00 D4 */ lfs f0, 0xd4(r1) +/* 800F7B10 000F4A70 D0 1F 00 08 */ stfs f0, 8(r31) +/* 800F7B14 000F4A74 C0 01 00 C0 */ lfs f0, 0xc0(r1) +/* 800F7B18 000F4A78 D0 15 00 00 */ stfs f0, 0(r21) +/* 800F7B1C 000F4A7C C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 800F7B20 000F4A80 D0 15 00 04 */ stfs f0, 4(r21) +/* 800F7B24 000F4A84 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 800F7B28 000F4A88 D0 15 00 08 */ stfs f0, 8(r21) +/* 800F7B2C 000F4A8C D0 36 00 00 */ stfs f1, 0(r22) +/* 800F7B30 000F4A90 C0 41 00 B4 */ lfs f2, 0xb4(r1) +/* 800F7B34 000F4A94 C0 21 00 B8 */ lfs f1, 0xb8(r1) +/* 800F7B38 000F4A98 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 800F7B3C 000F4A9C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F7B40 000F4AA0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F7B44 000F4AA4 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F7B48 000F4AA8 D0 57 00 00 */ stfs f2, 0(r23) +/* 800F7B4C 000F4AAC D0 37 00 04 */ stfs f1, 4(r23) +/* 800F7B50 000F4AB0 D0 17 00 08 */ stfs f0, 8(r23) +/* 800F7B54 000F4AB4 98 18 00 00 */ stb r0, 0(r24) +lbl_800F7B58: +/* 800F7B58 000F4AB8 3A 31 00 02 */ addi r17, r17, 2 +lbl_800F7B5C: +/* 800F7B5C 000F4ABC 80 A1 02 80 */ lwz r5, 0x280(r1) +/* 800F7B60 000F4AC0 54 A0 08 3C */ slwi r0, r5, 1 +/* 800F7B64 000F4AC4 7C 1B 02 14 */ add r0, r27, r0 +/* 800F7B68 000F4AC8 7C 11 00 40 */ cmplw r17, r0 +/* 800F7B6C 000F4ACC 40 82 FE 74 */ bne lbl_800F79E0 +/* 800F7B70 000F4AD0 2C 05 00 00 */ cmpwi r5, 0 +/* 800F7B74 000F4AD4 38 60 00 00 */ li r3, 0 +/* 800F7B78 000F4AD8 40 81 00 40 */ ble lbl_800F7BB8 +/* 800F7B7C 000F4ADC 2C 05 00 08 */ cmpwi r5, 8 +/* 800F7B80 000F4AE0 38 85 FF F8 */ addi r4, r5, -8 +/* 800F7B84 000F4AE4 40 81 00 20 */ ble lbl_800F7BA4 +/* 800F7B88 000F4AE8 38 04 00 07 */ addi r0, r4, 7 +/* 800F7B8C 000F4AEC 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F7B90 000F4AF0 7C 09 03 A6 */ mtctr r0 +/* 800F7B94 000F4AF4 2C 04 00 00 */ cmpwi r4, 0 +/* 800F7B98 000F4AF8 40 81 00 0C */ ble lbl_800F7BA4 +lbl_800F7B9C: +/* 800F7B9C 000F4AFC 38 63 00 08 */ addi r3, r3, 8 +/* 800F7BA0 000F4B00 42 00 FF FC */ bdnz lbl_800F7B9C +lbl_800F7BA4: +/* 800F7BA4 000F4B04 7C 03 28 50 */ subf r0, r3, r5 +/* 800F7BA8 000F4B08 7C 09 03 A6 */ mtctr r0 +/* 800F7BAC 000F4B0C 7C 03 28 00 */ cmpw r3, r5 +/* 800F7BB0 000F4B10 40 80 00 08 */ bge lbl_800F7BB8 +lbl_800F7BB4: +/* 800F7BB4 000F4B14 42 00 00 00 */ bdnz lbl_800F7BB4 +lbl_800F7BB8: +/* 800F7BB8 000F4B18 38 00 00 00 */ li r0, 0 +/* 800F7BBC 000F4B1C 7F 43 D3 78 */ mr r3, r26 +/* 800F7BC0 000F4B20 90 01 02 80 */ stw r0, 0x280(r1) +/* 800F7BC4 000F4B24 E3 E1 0B 08 */ psq_l f31, -1272(r1), 0, qr0 +/* 800F7BC8 000F4B28 CB E1 0B 00 */ lfd f31, 0xb00(r1) +/* 800F7BCC 000F4B2C E3 C1 0A F8 */ psq_l f30, -1288(r1), 0, qr0 +/* 800F7BD0 000F4B30 CB C1 0A F0 */ lfd f30, 0xaf0(r1) +/* 800F7BD4 000F4B34 E3 A1 0A E8 */ psq_l f29, -1304(r1), 0, qr0 +/* 800F7BD8 000F4B38 CB A1 0A E0 */ lfd f29, 0xae0(r1) +/* 800F7BDC 000F4B3C E3 81 0A D8 */ psq_l f28, -1320(r1), 0, qr0 +/* 800F7BE0 000F4B40 CB 81 0A D0 */ lfd f28, 0xad0(r1) +/* 800F7BE4 000F4B44 BA 21 0A 94 */ lmw r17, 0xa94(r1) +/* 800F7BE8 000F4B48 80 01 0B 14 */ lwz r0, 0xb14(r1) +/* 800F7BEC 000F4B4C 7C 08 03 A6 */ mtlr r0 +/* 800F7BF0 000F4B50 38 21 0B 10 */ addi r1, r1, 0xb10 +/* 800F7BF4 000F4B54 4E 80 00 20 */ blr + +.global CheckForSwitchToSpiderBallSwinging__10CMorphBallCFR13CStateManager +CheckForSwitchToSpiderBallSwinging__10CMorphBallCFR13CStateManager: +/* 800F7BF8 000F4B58 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800F7BFC 000F4B5C 7C 08 02 A6 */ mflr r0 +/* 800F7C00 000F4B60 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800F7C04 000F4B64 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 800F7C08 000F4B68 7C 9F 23 78 */ mr r31, r4 +/* 800F7C0C 000F4B6C 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 800F7C10 000F4B70 7C 7E 1B 78 */ mr r30, r3 +/* 800F7C14 000F4B74 88 03 18 BD */ lbz r0, 0x18bd(r3) +/* 800F7C18 000F4B78 28 00 00 00 */ cmplwi r0, 0 +/* 800F7C1C 000F4B7C 40 82 00 0C */ bne lbl_800F7C28 +/* 800F7C20 000F4B80 38 60 00 00 */ li r3, 0 +/* 800F7C24 000F4B84 48 00 01 34 */ b lbl_800F7D58 +lbl_800F7C28: +/* 800F7C28 000F4B88 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F7C2C 000F4B8C C0 1E 18 8C */ lfs f0, 0x188c(r30) +/* 800F7C30 000F4B90 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F7C34 000F4B94 40 82 00 F4 */ bne lbl_800F7D28 +/* 800F7C38 000F4B98 88 1E 18 BE */ lbz r0, 0x18be(r30) +/* 800F7C3C 000F4B9C 28 00 00 00 */ cmplwi r0, 0 +/* 800F7C40 000F4BA0 41 82 00 E0 */ beq lbl_800F7D20 +/* 800F7C44 000F4BA4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F7C48 000F4BA8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F7C4C 000F4BAC 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 800F7C50 000F4BB0 C0 25 00 00 */ lfs f1, 0(r5) +/* 800F7C54 000F4BB4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800F7C58 000F4BB8 C0 45 00 04 */ lfs f2, 4(r5) +/* 800F7C5C 000F4BBC 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800F7C60 000F4BC0 C0 65 00 08 */ lfs f3, 8(r5) +/* 800F7C64 000F4BC4 38 61 00 84 */ addi r3, r1, 0x84 +/* 800F7C68 000F4BC8 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800F7C6C 000F4BCC D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800F7C70 000F4BD0 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 800F7C74 000F4BD4 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800F7C78 000F4BD8 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800F7C7C 000F4BDC D0 61 00 44 */ stfs f3, 0x44(r1) +/* 800F7C80 000F4BE0 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800F7C84 000F4BE4 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800F7C88 000F4BE8 D0 61 00 38 */ stfs f3, 0x38(r1) +/* 800F7C8C 000F4BEC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800F7C90 000F4BF0 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800F7C94 000F4BF4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800F7C98 000F4BF8 D0 61 00 2C */ stfs f3, 0x2c(r1) +/* 800F7C9C 000F4BFC 48 21 AE D9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F7CA0 000F4C00 7F C4 F3 78 */ mr r4, r30 +/* 800F7CA4 000F4C04 38 61 00 54 */ addi r3, r1, 0x54 +/* 800F7CA8 000F4C08 4B FF EA 4D */ bl GetBallToWorld__10CMorphBallCFv +/* 800F7CAC 000F4C0C C0 41 00 80 */ lfs f2, 0x80(r1) +/* 800F7CB0 000F4C10 39 61 00 10 */ addi r11, r1, 0x10 +/* 800F7CB4 000F4C14 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 800F7CB8 000F4C18 38 01 00 84 */ addi r0, r1, 0x84 +/* 800F7CBC 000F4C1C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800F7CC0 000F4C20 7F C3 F3 78 */ mr r3, r30 +/* 800F7CC4 000F4C24 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800F7CC8 000F4C28 7F E4 FB 78 */ mr r4, r31 +/* 800F7CCC 000F4C2C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800F7CD0 000F4C30 38 C1 00 48 */ addi r6, r1, 0x48 +/* 800F7CD4 000F4C34 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800F7CD8 000F4C38 38 E1 00 3C */ addi r7, r1, 0x3c +/* 800F7CDC 000F4C3C 39 01 00 30 */ addi r8, r1, 0x30 +/* 800F7CE0 000F4C40 39 21 00 14 */ addi r9, r1, 0x14 +/* 800F7CE4 000F4C44 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 800F7CE8 000F4C48 39 41 00 24 */ addi r10, r1, 0x24 +/* 800F7CEC 000F4C4C 91 61 00 08 */ stw r11, 8(r1) +/* 800F7CF0 000F4C50 90 01 00 0C */ stw r0, 0xc(r1) +/* 800F7CF4 000F4C54 4B FF F9 05 */ bl FindClosestSpiderBallWaypoint__10CMorphBallCFR13CStateManagerRC9CVector3fR9CVector3fR9CVector3fR9CVector3fRfR9CVector3fRbR12CTransform4f +/* 800F7CF8 000F4C58 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F7CFC 000F4C5C 41 82 00 1C */ beq lbl_800F7D18 +/* 800F7D00 000F4C60 C0 21 00 14 */ lfs f1, 0x14(r1) +/* 800F7D04 000F4C64 C0 02 92 EC */ lfs f0, lbl_805AB00C@sda21(r2) +/* 800F7D08 000F4C68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F7D0C 000F4C6C 40 80 00 0C */ bge lbl_800F7D18 +/* 800F7D10 000F4C70 38 60 00 00 */ li r3, 0 +/* 800F7D14 000F4C74 48 00 00 44 */ b lbl_800F7D58 +lbl_800F7D18: +/* 800F7D18 000F4C78 38 60 00 01 */ li r3, 1 +/* 800F7D1C 000F4C7C 48 00 00 3C */ b lbl_800F7D58 +lbl_800F7D20: +/* 800F7D20 000F4C80 38 60 00 00 */ li r3, 0 +/* 800F7D24 000F4C84 48 00 00 34 */ b lbl_800F7D58 +lbl_800F7D28: +/* 800F7D28 000F4C88 88 1E 18 BE */ lbz r0, 0x18be(r30) +/* 800F7D2C 000F4C8C 28 00 00 00 */ cmplwi r0, 0 +/* 800F7D30 000F4C90 41 82 00 0C */ beq lbl_800F7D3C +/* 800F7D34 000F4C94 38 60 00 01 */ li r3, 1 +/* 800F7D38 000F4C98 48 00 00 20 */ b lbl_800F7D58 +lbl_800F7D3C: +/* 800F7D3C 000F4C9C C0 3E 18 88 */ lfs f1, 0x1888(r30) +/* 800F7D40 000F4CA0 C0 02 91 AC */ lfs f0, lbl_805AAECC@sda21(r2) +/* 800F7D44 000F4CA4 FC 20 0A 10 */ fabs f1, f1 +/* 800F7D48 000F4CA8 FC 20 08 18 */ frsp f1, f1 +/* 800F7D4C 000F4CAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F7D50 000F4CB0 7C 00 00 26 */ mfcr r0 +/* 800F7D54 000F4CB4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +lbl_800F7D58: +/* 800F7D58 000F4CB8 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800F7D5C 000F4CBC 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 800F7D60 000F4CC0 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 800F7D64 000F4CC4 7C 08 03 A6 */ mtlr r0 +/* 800F7D68 000F4CC8 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800F7D6C 000F4CCC 4E 80 00 20 */ blr + +.global ApplySpiderBallRollForces__10CMorphBallFRC11CFinalInputR13CStateManagerf +ApplySpiderBallRollForces__10CMorphBallFRC11CFinalInputR13CStateManagerf: +/* 800F7D70 000F4CD0 94 21 FE 00 */ stwu r1, -0x200(r1) +/* 800F7D74 000F4CD4 7C 08 02 A6 */ mflr r0 +/* 800F7D78 000F4CD8 90 01 02 04 */ stw r0, 0x204(r1) +/* 800F7D7C 000F4CDC DB E1 01 F0 */ stfd f31, 0x1f0(r1) +/* 800F7D80 000F4CE0 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 +/* 800F7D84 000F4CE4 DB C1 01 E0 */ stfd f30, 0x1e0(r1) +/* 800F7D88 000F4CE8 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 +/* 800F7D8C 000F4CEC DB A1 01 D0 */ stfd f29, 0x1d0(r1) +/* 800F7D90 000F4CF0 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 +/* 800F7D94 000F4CF4 DB 81 01 C0 */ stfd f28, 0x1c0(r1) +/* 800F7D98 000F4CF8 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 +/* 800F7D9C 000F4CFC DB 61 01 B0 */ stfd f27, 0x1b0(r1) +/* 800F7DA0 000F4D00 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 +/* 800F7DA4 000F4D04 DB 41 01 A0 */ stfd f26, 0x1a0(r1) +/* 800F7DA8 000F4D08 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 +/* 800F7DAC 000F4D0C DB 21 01 90 */ stfd f25, 0x190(r1) +/* 800F7DB0 000F4D10 F3 21 01 98 */ psq_st f25, 408(r1), 0, qr0 +/* 800F7DB4 000F4D14 BF 61 01 7C */ stmw r27, 0x17c(r1) +/* 800F7DB8 000F4D18 7C 7C 1B 78 */ mr r28, r3 +/* 800F7DBC 000F4D1C 7C 80 23 78 */ mr r0, r4 +/* 800F7DC0 000F4D20 7C BD 2B 78 */ mr r29, r5 +/* 800F7DC4 000F4D24 38 61 00 28 */ addi r3, r1, 0x28 +/* 800F7DC8 000F4D28 7F 84 E3 78 */ mr r4, r28 +/* 800F7DCC 000F4D2C 7C 05 03 78 */ mr r5, r0 +/* 800F7DD0 000F4D30 48 00 08 79 */ bl CalculateSpiderBallAttractionSurfaceForces__10CMorphBallCFRC11CFinalInput +/* 800F7DD4 000F4D34 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 800F7DD8 000F4D38 7F A5 EB 78 */ mr r5, r29 +/* 800F7DDC 000F4D3C C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800F7DE0 000F4D40 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800F7DE4 000F4D44 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800F7DE8 000F4D48 38 81 00 38 */ addi r4, r1, 0x38 +/* 800F7DEC 000F4D4C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800F7DF0 000F4D50 48 00 09 C1 */ bl TransformSpiderBallForcesXZ__10CMorphBallFR9CVector2fR13CStateManager +/* 800F7DF4 000F4D54 C3 C1 00 B8 */ lfs f30, 0xb8(r1) +/* 800F7DF8 000F4D58 7F A4 EB 78 */ mr r4, r29 +/* 800F7DFC 000F4D5C C3 E1 00 BC */ lfs f31, 0xbc(r1) +/* 800F7E00 000F4D60 C3 A1 00 C0 */ lfs f29, 0xc0(r1) +/* 800F7E04 000F4D64 80 7D 08 70 */ lwz r3, 0x870(r29) +/* 800F7E08 000F4D68 4B F1 3D 11 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800F7E0C 000F4D6C 7C 64 1B 78 */ mr r4, r3 +/* 800F7E10 000F4D70 38 61 01 3C */ addi r3, r1, 0x13c +/* 800F7E14 000F4D74 38 84 00 34 */ addi r4, r4, 0x34 +/* 800F7E18 000F4D78 48 21 AD 5D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F7E1C 000F4D7C 38 61 00 AC */ addi r3, r1, 0xac +/* 800F7E20 000F4D80 38 9C 18 9C */ addi r4, r28, 0x189c +/* 800F7E24 000F4D84 48 21 CA 2D */ bl AsNormalized__9CVector3fCFv +/* 800F7E28 000F4D88 C3 81 00 B0 */ lfs f28, 0xb0(r1) +/* 800F7E2C 000F4D8C C0 21 01 54 */ lfs f1, 0x154(r1) +/* 800F7E30 000F4D90 C0 01 01 50 */ lfs f0, 0x150(r1) +/* 800F7E34 000F4D94 EC 5C 00 72 */ fmuls f2, f28, f1 +/* 800F7E38 000F4D98 C3 41 00 AC */ lfs f26, 0xac(r1) +/* 800F7E3C 000F4D9C C0 61 01 44 */ lfs f3, 0x144(r1) +/* 800F7E40 000F4DA0 EC 1C 00 32 */ fmuls f0, f28, f0 +/* 800F7E44 000F4DA4 C0 21 01 40 */ lfs f1, 0x140(r1) +/* 800F7E48 000F4DA8 EC 5A 10 FA */ fmadds f2, f26, f3, f2 +/* 800F7E4C 000F4DAC EC 1A 00 7A */ fmadds f0, f26, f1, f0 +/* 800F7E50 000F4DB0 C3 61 00 B4 */ lfs f27, 0xb4(r1) +/* 800F7E54 000F4DB4 C0 61 01 64 */ lfs f3, 0x164(r1) +/* 800F7E58 000F4DB8 C0 21 01 60 */ lfs f1, 0x160(r1) +/* 800F7E5C 000F4DBC 80 7C 00 00 */ lwz r3, 0(r28) +/* 800F7E60 000F4DC0 EC 5B 10 FA */ fmadds f2, f27, f3, f2 +/* 800F7E64 000F4DC4 EC 1B 00 7A */ fmadds f0, f27, f1, f0 +/* 800F7E68 000F4DC8 88 03 09 C4 */ lbz r0, 0x9c4(r3) +/* 800F7E6C 000F4DCC FC 20 12 10 */ fabs f1, f2 +/* 800F7E70 000F4DD0 FC 00 02 10 */ fabs f0, f0 +/* 800F7E74 000F4DD4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800F7E78 000F4DD8 FC 20 08 18 */ frsp f1, f1 +/* 800F7E7C 000F4DDC FC 40 00 18 */ frsp f2, f0 +/* 800F7E80 000F4DE0 41 82 00 34 */ beq lbl_800F7EB4 +/* 800F7E84 000F4DE4 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) +/* 800F7E88 000F4DE8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F7E8C 000F4DEC 40 80 00 28 */ bge lbl_800F7EB4 +/* 800F7E90 000F4DF0 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800F7E94 000F4DF4 40 81 00 20 */ ble lbl_800F7EB4 +/* 800F7E98 000F4DF8 7F A5 EB 78 */ mr r5, r29 +/* 800F7E9C 000F4DFC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800F7EA0 000F4E00 38 81 00 38 */ addi r4, r1, 0x38 +/* 800F7EA4 000F4E04 48 00 08 6D */ bl TransformSpiderBallForcesXY__10CMorphBallFR9CVector2fR13CStateManager +/* 800F7EA8 000F4E08 C3 C1 00 A0 */ lfs f30, 0xa0(r1) +/* 800F7EAC 000F4E0C C3 E1 00 A4 */ lfs f31, 0xa4(r1) +/* 800F7EB0 000F4E10 C3 A1 00 A8 */ lfs f29, 0xa8(r1) +lbl_800F7EB4: +/* 800F7EB4 000F4E14 38 61 00 38 */ addi r3, r1, 0x38 +/* 800F7EB8 000F4E18 48 21 C2 3D */ bl Magnitude__9CVector2fCFv +/* 800F7EBC 000F4E1C D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800F7EC0 000F4E20 38 61 00 30 */ addi r3, r1, 0x30 +/* 800F7EC4 000F4E24 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F7EC8 000F4E28 FC 40 08 90 */ fmr f2, f1 +/* 800F7ECC 000F4E2C 48 21 C3 35 */ bl __ct__9CVector2fFff +/* 800F7ED0 000F4E30 88 1C 18 C0 */ lbz r0, 0x18c0(r28) +/* 800F7ED4 000F4E34 28 00 00 00 */ cmplwi r0, 0 +/* 800F7ED8 000F4E38 41 82 00 0C */ beq lbl_800F7EE4 +/* 800F7EDC 000F4E3C C3 41 00 1C */ lfs f26, 0x1c(r1) +/* 800F7EE0 000F4E40 48 00 00 10 */ b lbl_800F7EF0 +lbl_800F7EE4: +/* 800F7EE4 000F4E44 EC 1F 07 32 */ fmuls f0, f31, f28 +/* 800F7EE8 000F4E48 EC 1E 06 BA */ fmadds f0, f30, f26, f0 +/* 800F7EEC 000F4E4C EF 5D 06 FA */ fmadds f26, f29, f27, f0 +lbl_800F7EF0: +/* 800F7EF0 000F4E50 C0 21 00 1C */ lfs f1, 0x1c(r1) +/* 800F7EF4 000F4E54 3B 60 00 01 */ li r27, 1 +/* 800F7EF8 000F4E58 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) +/* 800F7EFC 000F4E5C 3B C0 00 00 */ li r30, 0 +/* 800F7F00 000F4E60 FC 20 0A 10 */ fabs f1, f1 +/* 800F7F04 000F4E64 FC 20 08 18 */ frsp f1, f1 +/* 800F7F08 000F4E68 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F7F0C 000F4E6C 40 81 00 98 */ ble lbl_800F7FA4 +/* 800F7F10 000F4E70 38 61 00 20 */ addi r3, r1, 0x20 +/* 800F7F14 000F4E74 38 81 00 38 */ addi r4, r1, 0x38 +/* 800F7F18 000F4E78 48 21 C1 69 */ bl AsNormalized__9CVector2fCFv +/* 800F7F1C 000F4E7C C0 21 00 20 */ lfs f1, 0x20(r1) +/* 800F7F20 000F4E80 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 800F7F24 000F4E84 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800F7F28 000F4E88 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800F7F2C 000F4E8C 88 1C 18 C0 */ lbz r0, 0x18c0(r28) +/* 800F7F30 000F4E90 28 00 00 00 */ cmplwi r0, 0 +/* 800F7F34 000F4E94 40 82 00 3C */ bne lbl_800F7F70 +/* 800F7F38 000F4E98 38 61 00 30 */ addi r3, r1, 0x30 +/* 800F7F3C 000F4E9C 38 9C 19 0C */ addi r4, r28, 0x190c +/* 800F7F40 000F4EA0 48 21 C0 69 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f +/* 800F7F44 000F4EA4 C0 02 91 AC */ lfs f0, lbl_805AAECC@sda21(r2) +/* 800F7F48 000F4EA8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F7F4C 000F4EAC 40 81 00 24 */ ble lbl_800F7F70 +/* 800F7F50 000F4EB0 C0 3C 19 14 */ lfs f1, 0x1914(r28) +/* 800F7F54 000F4EB4 3B C0 00 01 */ li r30, 1 +/* 800F7F58 000F4EB8 C0 62 91 A8 */ lfs f3, lbl_805AAEC8@sda21(r2) +/* 800F7F5C 000F4EBC C0 42 91 5C */ lfs f2, lbl_805AAE7C@sda21(r2) +/* 800F7F60 000F4EC0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800F7F64 000F4EC4 FC 21 18 AE */ fsel f1, f1, f2, f3 +/* 800F7F68 000F4EC8 EF 40 00 72 */ fmuls f26, f0, f1 +/* 800F7F6C 000F4ECC 48 00 00 3C */ b lbl_800F7FA8 +lbl_800F7F70: +/* 800F7F70 000F4ED0 FC 20 D2 10 */ fabs f1, f26 +/* 800F7F74 000F4ED4 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) +/* 800F7F78 000F4ED8 FC 20 08 18 */ frsp f1, f1 +/* 800F7F7C 000F4EDC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F7F80 000F4EE0 40 81 00 1C */ ble lbl_800F7F9C +/* 800F7F84 000F4EE4 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) +/* 800F7F88 000F4EE8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F7F8C 000F4EEC C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800F7F90 000F4EF0 FC 3A 10 6E */ fsel f1, f26, f1, f2 +/* 800F7F94 000F4EF4 EF 40 00 72 */ fmuls f26, f0, f1 +/* 800F7F98 000F4EF8 48 00 00 10 */ b lbl_800F7FA8 +lbl_800F7F9C: +/* 800F7F9C 000F4EFC 3B 60 00 00 */ li r27, 0 +/* 800F7FA0 000F4F00 48 00 00 08 */ b lbl_800F7FA8 +lbl_800F7FA4: +/* 800F7FA4 000F4F04 3B 60 00 00 */ li r27, 0 +lbl_800F7FA8: +/* 800F7FA8 000F4F08 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800F7FAC 000F4F0C 40 82 00 20 */ bne lbl_800F7FCC +/* 800F7FB0 000F4F10 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800F7FB4 000F4F14 38 00 00 01 */ li r0, 1 +/* 800F7FB8 000F4F18 D0 1C 19 0C */ stfs f0, 0x190c(r28) +/* 800F7FBC 000F4F1C C0 01 00 34 */ lfs f0, 0x34(r1) +/* 800F7FC0 000F4F20 D0 1C 19 10 */ stfs f0, 0x1910(r28) +/* 800F7FC4 000F4F24 D3 5C 19 14 */ stfs f26, 0x1914(r28) +/* 800F7FC8 000F4F28 98 1C 19 20 */ stb r0, 0x1920(r28) +lbl_800F7FCC: +/* 800F7FCC 000F4F2C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 800F7FD0 000F4F30 40 82 00 10 */ bne lbl_800F7FE0 +/* 800F7FD4 000F4F34 C3 42 91 50 */ lfs f26, lbl_805AAE70@sda21(r2) +/* 800F7FD8 000F4F38 7F 83 E3 78 */ mr r3, r28 +/* 800F7FDC 000F4F3C 48 00 06 11 */ bl ResetSpiderBallForces__10CMorphBallFv +lbl_800F7FE0: +/* 800F7FE0 000F4F40 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 800F7FE4 000F4F44 3B E0 00 01 */ li r31, 1 +/* 800F7FE8 000F4F48 40 82 00 20 */ bne lbl_800F8008 +/* 800F7FEC 000F4F4C 80 7C 00 00 */ lwz r3, 0(r28) +/* 800F7FF0 000F4F50 38 63 01 38 */ addi r3, r3, 0x138 +/* 800F7FF4 000F4F54 48 21 C8 C5 */ bl Magnitude__9CVector3fCFv +/* 800F7FF8 000F4F58 C0 02 93 10 */ lfs f0, lbl_805AB030@sda21(r2) +/* 800F7FFC 000F4F5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F8000 000F4F60 41 81 00 08 */ bgt lbl_800F8008 +/* 800F8004 000F4F64 3B E0 00 00 */ li r31, 0 +lbl_800F8008: +/* 800F8008 000F4F68 88 1C 18 BD */ lbz r0, 0x18bd(r28) +/* 800F800C 000F4F6C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F8010 000F4F70 C7 63 66 A0 */ lfsu f27, skZero3f@l(r3) +/* 800F8014 000F4F74 28 00 00 00 */ cmplwi r0, 0 +/* 800F8018 000F4F78 C3 83 00 04 */ lfs f28, 4(r3) +/* 800F801C 000F4F7C C3 23 00 08 */ lfs f25, 8(r3) +/* 800F8020 000F4F80 41 82 00 6C */ beq lbl_800F808C +/* 800F8024 000F4F84 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 800F8028 000F4F88 41 82 00 64 */ beq lbl_800F808C +/* 800F802C 000F4F8C 88 1C 18 C0 */ lbz r0, 0x18c0(r28) +/* 800F8030 000F4F90 28 00 00 00 */ cmplwi r0, 0 +/* 800F8034 000F4F94 41 82 00 18 */ beq lbl_800F804C +/* 800F8038 000F4F98 C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) +/* 800F803C 000F4F9C EF 60 07 B2 */ fmuls f27, f0, f30 +/* 800F8040 000F4FA0 EF 80 07 F2 */ fmuls f28, f0, f31 +/* 800F8044 000F4FA4 EF 20 07 72 */ fmuls f25, f0, f29 +/* 800F8048 000F4FA8 48 00 00 44 */ b lbl_800F808C +lbl_800F804C: +/* 800F804C 000F4FAC C0 22 91 A8 */ lfs f1, lbl_805AAEC8@sda21(r2) +/* 800F8050 000F4FB0 38 61 00 94 */ addi r3, r1, 0x94 +/* 800F8054 000F4FB4 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F8058 000F4FB8 38 9C 18 A8 */ addi r4, r28, 0x18a8 +/* 800F805C 000F4FBC FF 5A 08 2E */ fsel f26, f26, f0, f1 +/* 800F8060 000F4FC0 48 21 C7 F1 */ bl AsNormalized__9CVector3fCFv +/* 800F8064 000F4FC4 C0 62 91 E4 */ lfs f3, lbl_805AAF04@sda21(r2) +/* 800F8068 000F4FC8 C0 41 00 94 */ lfs f2, 0x94(r1) +/* 800F806C 000F4FCC C0 21 00 98 */ lfs f1, 0x98(r1) +/* 800F8070 000F4FD0 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 800F8074 000F4FD4 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F8078 000F4FD8 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F807C 000F4FDC EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F8080 000F4FE0 EF 7A 00 B2 */ fmuls f27, f26, f2 +/* 800F8084 000F4FE4 EF 9A 00 72 */ fmuls f28, f26, f1 +/* 800F8088 000F4FE8 EF 3A 00 32 */ fmuls f25, f26, f0 +lbl_800F808C: +/* 800F808C 000F4FEC 7F 84 E3 78 */ mr r4, r28 +/* 800F8090 000F4FF0 38 61 01 0C */ addi r3, r1, 0x10c +/* 800F8094 000F4FF4 4B FF E6 61 */ bl GetBallToWorld__10CMorphBallCFv +/* 800F8098 000F4FF8 C0 41 01 28 */ lfs f2, 0x128(r1) +/* 800F809C 000F4FFC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800F80A0 000F5000 C0 21 01 18 */ lfs f1, 0x118(r1) +/* 800F80A4 000F5004 38 60 00 00 */ li r3, 0 +/* 800F80A8 000F5008 EC 62 E0 2A */ fadds f3, f2, f28 +/* 800F80AC 000F500C C0 01 01 38 */ lfs f0, 0x138(r1) +/* 800F80B0 000F5010 EC 21 D8 2A */ fadds f1, f1, f27 +/* 800F80B4 000F5014 EC 40 C8 2A */ fadds f2, f0, f25 +/* 800F80B8 000F5018 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F80BC 000F501C D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 800F80C0 000F5020 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 800F80C4 000F5024 D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 800F80C8 000F5028 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800F80CC 000F502C 40 82 00 30 */ bne lbl_800F80FC +/* 800F80D0 000F5030 88 1C 18 BD */ lbz r0, 0x18bd(r28) +/* 800F80D4 000F5034 28 00 00 00 */ cmplwi r0, 0 +/* 800F80D8 000F5038 41 82 00 24 */ beq lbl_800F80FC +/* 800F80DC 000F503C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F80E0 000F5040 C0 1C 18 8C */ lfs f0, 0x188c(r28) +/* 800F80E4 000F5044 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F80E8 000F5048 40 82 00 14 */ bne lbl_800F80FC +/* 800F80EC 000F504C 88 1C 18 BF */ lbz r0, 0x18bf(r28) +/* 800F80F0 000F5050 28 00 00 00 */ cmplwi r0, 0 +/* 800F80F4 000F5054 40 82 00 08 */ bne lbl_800F80FC +/* 800F80F8 000F5058 38 60 00 01 */ li r3, 1 +lbl_800F80FC: +/* 800F80FC 000F505C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F8100 000F5060 40 82 00 5C */ bne lbl_800F815C +/* 800F8104 000F5064 38 00 00 00 */ li r0, 0 +/* 800F8108 000F5068 38 BC 18 C0 */ addi r5, r28, 0x18c0 +/* 800F810C 000F506C 98 1C 18 BC */ stb r0, 0x18bc(r28) +/* 800F8110 000F5070 38 1C 18 C4 */ addi r0, r28, 0x18c4 +/* 800F8114 000F5074 7F 83 E3 78 */ mr r3, r28 +/* 800F8118 000F5078 7F A4 EB 78 */ mr r4, r29 +/* 800F811C 000F507C 90 A1 00 08 */ stw r5, 8(r1) +/* 800F8120 000F5080 38 A1 00 D0 */ addi r5, r1, 0xd0 +/* 800F8124 000F5084 38 DC 18 90 */ addi r6, r28, 0x1890 +/* 800F8128 000F5088 38 FC 18 9C */ addi r7, r28, 0x189c +/* 800F812C 000F508C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800F8130 000F5090 39 1C 18 A8 */ addi r8, r28, 0x18a8 +/* 800F8134 000F5094 39 21 00 18 */ addi r9, r1, 0x18 +/* 800F8138 000F5098 39 5C 18 80 */ addi r10, r28, 0x1880 +/* 800F813C 000F509C 4B FF F4 BD */ bl FindClosestSpiderBallWaypoint__10CMorphBallCFR13CStateManagerRC9CVector3fR9CVector3fR9CVector3fR9CVector3fRfR9CVector3fRbR12CTransform4f +/* 800F8140 000F50A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F8144 000F50A4 41 82 00 94 */ beq lbl_800F81D8 +/* 800F8148 000F50A8 38 60 00 01 */ li r3, 1 +/* 800F814C 000F50AC 38 00 00 00 */ li r0, 0 +/* 800F8150 000F50B0 98 7C 18 BC */ stb r3, 0x18bc(r28) +/* 800F8154 000F50B4 98 1C 18 BF */ stb r0, 0x18bf(r28) +/* 800F8158 000F50B8 48 00 00 80 */ b lbl_800F81D8 +lbl_800F815C: +/* 800F815C 000F50BC C0 3C 18 90 */ lfs f1, 0x1890(r28) +/* 800F8160 000F50C0 38 7C 18 80 */ addi r3, r28, 0x1880 +/* 800F8164 000F50C4 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 800F8168 000F50C8 C0 9C 18 94 */ lfs f4, 0x1894(r28) +/* 800F816C 000F50CC C0 61 00 D4 */ lfs f3, 0xd4(r1) +/* 800F8170 000F50D0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F8174 000F50D4 C0 5C 18 98 */ lfs f2, 0x1898(r28) +/* 800F8178 000F50D8 C0 21 00 D8 */ lfs f1, 0xd8(r1) +/* 800F817C 000F50DC EC 64 18 28 */ fsubs f3, f4, f3 +/* 800F8180 000F50E0 D0 1C 18 80 */ stfs f0, 0x1880(r28) +/* 800F8184 000F50E4 EC 02 08 28 */ fsubs f0, f2, f1 +/* 800F8188 000F50E8 D0 7C 18 84 */ stfs f3, 0x1884(r28) +/* 800F818C 000F50EC D0 1C 18 88 */ stfs f0, 0x1888(r28) +/* 800F8190 000F50F0 48 21 C7 29 */ bl Magnitude__9CVector3fCFv +/* 800F8194 000F50F4 FC 00 08 18 */ frsp f0, f1 +/* 800F8198 000F50F8 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) +/* 800F819C 000F50FC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800F81A0 000F5100 38 00 00 01 */ li r0, 1 +/* 800F81A4 000F5104 C0 62 91 5C */ lfs f3, lbl_805AAE7C@sda21(r2) +/* 800F81A8 000F5108 EC 22 00 32 */ fmuls f1, f2, f0 +/* 800F81AC 000F510C C0 1C 18 80 */ lfs f0, 0x1880(r28) +/* 800F81B0 000F5110 EC 23 08 24 */ fdivs f1, f3, f1 +/* 800F81B4 000F5114 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800F81B8 000F5118 D0 1C 18 80 */ stfs f0, 0x1880(r28) +/* 800F81BC 000F511C C0 1C 18 84 */ lfs f0, 0x1884(r28) +/* 800F81C0 000F5120 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800F81C4 000F5124 D0 1C 18 84 */ stfs f0, 0x1884(r28) +/* 800F81C8 000F5128 C0 1C 18 88 */ lfs f0, 0x1888(r28) +/* 800F81CC 000F512C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800F81D0 000F5130 D0 1C 18 88 */ stfs f0, 0x1888(r28) +/* 800F81D4 000F5134 98 1C 18 BC */ stb r0, 0x18bc(r28) +lbl_800F81D8: +/* 800F81D8 000F5138 88 1C 18 BC */ lbz r0, 0x18bc(r28) +/* 800F81DC 000F513C 28 00 00 00 */ cmplwi r0, 0 +/* 800F81E0 000F5140 41 82 03 C0 */ beq lbl_800F85A0 +/* 800F81E4 000F5144 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 800F81E8 000F5148 C0 0D A3 28 */ lfs f0, lbl_805A8EE8@sda21(r13) +/* 800F81EC 000F514C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F81F0 000F5150 40 80 00 0C */ bge lbl_800F81FC +/* 800F81F4 000F5154 38 00 00 01 */ li r0, 1 +/* 800F81F8 000F5158 98 1C 18 BD */ stb r0, 0x18bd(r28) +lbl_800F81FC: +/* 800F81FC 000F515C 88 1C 18 BD */ lbz r0, 0x18bd(r28) +/* 800F8200 000F5160 28 00 00 01 */ cmplwi r0, 1 +/* 800F8204 000F5164 40 82 03 48 */ bne lbl_800F854C +/* 800F8208 000F5168 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800F820C 000F516C 41 82 02 EC */ beq lbl_800F84F8 +/* 800F8210 000F5170 88 1C 18 C0 */ lbz r0, 0x18c0(r28) +/* 800F8214 000F5174 28 00 00 00 */ cmplwi r0, 0 +/* 800F8218 000F5178 40 82 01 30 */ bne lbl_800F8348 +/* 800F821C 000F517C C0 22 92 48 */ lfs f1, lbl_805AAF68@sda21(r2) +/* 800F8220 000F5180 38 61 00 88 */ addi r3, r1, 0x88 +/* 800F8224 000F5184 C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) +/* 800F8228 000F5188 38 9C 18 9C */ addi r4, r28, 0x189c +/* 800F822C 000F518C D0 3C 18 B4 */ stfs f1, 0x18b4(r28) +/* 800F8230 000F5190 D0 1C 18 B8 */ stfs f0, 0x18b8(r28) +/* 800F8234 000F5194 48 21 C6 1D */ bl AsNormalized__9CVector3fCFv +/* 800F8238 000F5198 C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 800F823C 000F519C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800F8240 000F51A0 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 800F8244 000F51A4 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800F8248 000F51A8 C0 41 00 90 */ lfs f2, 0x90(r1) +/* 800F824C 000F51AC EC 1E 00 7A */ fmadds f0, f30, f1, f0 +/* 800F8250 000F51B0 EC 1D 00 BA */ fmadds f0, f29, f2, f0 +/* 800F8254 000F51B4 FC 40 00 90 */ fmr f2, f0 +/* 800F8258 000F51B8 41 82 00 18 */ beq lbl_800F8270 +/* 800F825C 000F51BC 88 1C 19 20 */ lbz r0, 0x1920(r28) +/* 800F8260 000F51C0 28 00 00 00 */ cmplwi r0, 0 +/* 800F8264 000F51C4 40 82 00 0C */ bne lbl_800F8270 +/* 800F8268 000F51C8 C0 5C 19 18 */ lfs f2, 0x1918(r28) +/* 800F826C 000F51CC 48 00 00 10 */ b lbl_800F827C +lbl_800F8270: +/* 800F8270 000F51D0 D0 1C 19 18 */ stfs f0, 0x1918(r28) +/* 800F8274 000F51D4 38 00 00 00 */ li r0, 0 +/* 800F8278 000F51D8 98 1C 19 20 */ stb r0, 0x1920(r28) +lbl_800F827C: +/* 800F827C 000F51DC FC 20 12 10 */ fabs f1, f2 +/* 800F8280 000F51E0 C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) +/* 800F8284 000F51E4 FC 20 08 18 */ frsp f1, f1 +/* 800F8288 000F51E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F828C 000F51EC 40 81 00 2C */ ble lbl_800F82B8 +/* 800F8290 000F51F0 C0 22 91 A8 */ lfs f1, lbl_805AAEC8@sda21(r2) +/* 800F8294 000F51F4 38 81 00 1C */ addi r4, r1, 0x1c +/* 800F8298 000F51F8 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F829C 000F51FC 38 6D 88 48 */ addi r3, r13, lbl_805A7408@sda21 +/* 800F82A0 000F5200 38 AD 88 4C */ addi r5, r13, lbl_805A740C@sda21 +/* 800F82A4 000F5204 FF 42 08 2E */ fsel f26, f2, f0, f1 +/* 800F82A8 000F5208 4B F1 40 0D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800F82AC 000F520C C0 03 00 00 */ lfs f0, 0(r3) +/* 800F82B0 000F5210 EF 3A 00 32 */ fmuls f25, f26, f0 +/* 800F82B4 000F5214 48 00 00 10 */ b lbl_800F82C4 +lbl_800F82B8: +/* 800F82B8 000F5218 C3 22 91 50 */ lfs f25, lbl_805AAE70@sda21(r2) +/* 800F82BC 000F521C 7F 83 E3 78 */ mr r3, r28 +/* 800F82C0 000F5220 48 00 03 2D */ bl ResetSpiderBallForces__10CMorphBallFv +lbl_800F82C4: +/* 800F82C4 000F5224 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800F82C8 000F5228 C0 22 93 14 */ lfs f1, lbl_805AB034@sda21(r2) +/* 800F82CC 000F522C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F82D0 000F5230 40 81 00 14 */ ble lbl_800F82E4 +/* 800F82D4 000F5234 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800F82D8 000F5238 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F82DC 000F523C EC 00 08 24 */ fdivs f0, f0, f1 +/* 800F82E0 000F5240 EF 39 00 32 */ fmuls f25, f25, f0 +lbl_800F82E4: +/* 800F82E4 000F5244 38 61 00 64 */ addi r3, r1, 0x64 +/* 800F82E8 000F5248 38 9C 18 A8 */ addi r4, r28, 0x18a8 +/* 800F82EC 000F524C 48 21 C5 65 */ bl AsNormalized__9CVector3fCFv +/* 800F82F0 000F5250 C0 62 93 18 */ lfs f3, lbl_805AB038@sda21(r2) +/* 800F82F4 000F5254 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 800F82F8 000F5258 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 800F82FC 000F525C EC 83 00 32 */ fmuls f4, f3, f0 +/* 800F8300 000F5260 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800F8304 000F5264 EC 43 00 72 */ fmuls f2, f3, f1 +/* 800F8308 000F5268 EC 23 00 32 */ fmuls f1, f3, f0 +/* 800F830C 000F526C EC 79 01 32 */ fmuls f3, f25, f4 +/* 800F8310 000F5270 D0 81 00 78 */ stfs f4, 0x78(r1) +/* 800F8314 000F5274 EC 19 00 B2 */ fmuls f0, f25, f2 +/* 800F8318 000F5278 EC 99 00 72 */ fmuls f4, f25, f1 +/* 800F831C 000F527C D0 41 00 70 */ stfs f2, 0x70(r1) +/* 800F8320 000F5280 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 800F8324 000F5284 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 800F8328 000F5288 D0 81 00 80 */ stfs f4, 0x80(r1) +/* 800F832C 000F528C D0 61 00 84 */ stfs f3, 0x84(r1) +/* 800F8330 000F5290 4B F2 32 05 */ bl Identity__10CAxisAngleFv +/* 800F8334 000F5294 7C 65 1B 78 */ mr r5, r3 +/* 800F8338 000F5298 80 7C 00 00 */ lwz r3, 0(r28) +/* 800F833C 000F529C 38 81 00 7C */ addi r4, r1, 0x7c +/* 800F8340 000F52A0 48 02 3F 85 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800F8344 000F52A4 48 00 01 B4 */ b lbl_800F84F8 +lbl_800F8348: +/* 800F8348 000F52A8 C0 22 92 94 */ lfs f1, lbl_805AAFB4@sda21(r2) +/* 800F834C 000F52AC C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) +/* 800F8350 000F52B0 D0 3C 18 B4 */ stfs f1, 0x18b4(r28) +/* 800F8354 000F52B4 C0 A2 93 0C */ lfs f5, lbl_805AB02C@sda21(r2) +/* 800F8358 000F52B8 D0 1C 18 B8 */ stfs f0, 0x18b8(r28) +/* 800F835C 000F52BC C0 9C 18 D4 */ lfs f4, 0x18d4(r28) +/* 800F8360 000F52C0 C0 5C 18 DC */ lfs f2, 0x18dc(r28) +/* 800F8364 000F52C4 EC 24 07 F2 */ fmuls f1, f4, f31 +/* 800F8368 000F52C8 C1 1C 18 C4 */ lfs f8, 0x18c4(r28) +/* 800F836C 000F52CC EC 02 07 F2 */ fmuls f0, f2, f31 +/* 800F8370 000F52D0 C0 7C 18 CC */ lfs f3, 0x18cc(r28) +/* 800F8374 000F52D4 C0 FC 18 E4 */ lfs f7, 0x18e4(r28) +/* 800F8378 000F52D8 EC 28 0F BA */ fmadds f1, f8, f30, f1 +/* 800F837C 000F52DC EC 03 07 BA */ fmadds f0, f3, f30, f0 +/* 800F8380 000F52E0 C0 DC 18 EC */ lfs f6, 0x18ec(r28) +/* 800F8384 000F52E4 EF E7 0F 7A */ fmadds f31, f7, f29, f1 +/* 800F8388 000F52E8 EF C6 07 7A */ fmadds f30, f6, f29, f0 +/* 800F838C 000F52EC EC 3F 02 32 */ fmuls f1, f31, f8 +/* 800F8390 000F52F0 EC 1E 00 F2 */ fmuls f0, f30, f3 +/* 800F8394 000F52F4 EC 7F 01 32 */ fmuls f3, f31, f4 +/* 800F8398 000F52F8 EC 5E 00 B2 */ fmuls f2, f30, f2 +/* 800F839C 000F52FC EC 81 00 2A */ fadds f4, f1, f0 +/* 800F83A0 000F5300 EC 3F 01 F2 */ fmuls f1, f31, f7 +/* 800F83A4 000F5304 EC 1E 01 B2 */ fmuls f0, f30, f6 +/* 800F83A8 000F5308 EC 43 10 2A */ fadds f2, f3, f2 +/* 800F83AC 000F530C EC 65 01 32 */ fmuls f3, f5, f4 +/* 800F83B0 000F5310 EC 01 00 2A */ fadds f0, f1, f0 +/* 800F83B4 000F5314 EC 25 00 B2 */ fmuls f1, f5, f2 +/* 800F83B8 000F5318 D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 800F83BC 000F531C EC 05 00 32 */ fmuls f0, f5, f0 +/* 800F83C0 000F5320 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 800F83C4 000F5324 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 800F83C8 000F5328 4B F2 31 6D */ bl Identity__10CAxisAngleFv +/* 800F83CC 000F532C 7C 65 1B 78 */ mr r5, r3 +/* 800F83D0 000F5330 80 7C 00 00 */ lwz r3, 0(r28) +/* 800F83D4 000F5334 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 800F83D8 000F5338 48 02 3E ED */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800F83DC 000F533C C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 800F83E0 000F5340 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 800F83E4 000F5344 EC 61 00 72 */ fmuls f3, f1, f1 +/* 800F83E8 000F5348 C0 A2 93 0C */ lfs f5, lbl_805AB02C@sda21(r2) +/* 800F83EC 000F534C EC 40 00 32 */ fmuls f2, f0, f0 +/* 800F83F0 000F5350 C0 81 00 CC */ lfs f4, 0xcc(r1) +/* 800F83F4 000F5354 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F83F8 000F5358 EC 25 07 F2 */ fmuls f1, f5, f31 +/* 800F83FC 000F535C EC 84 01 32 */ fmuls f4, f4, f4 +/* 800F8400 000F5360 C0 DC 18 F8 */ lfs f6, 0x18f8(r28) +/* 800F8404 000F5364 EC 63 10 2A */ fadds f3, f3, f2 +/* 800F8408 000F5368 EC 45 07 B2 */ fmuls f2, f5, f30 +/* 800F840C 000F536C EC 64 18 2A */ fadds f3, f4, f3 +/* 800F8410 000F5370 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800F8414 000F5374 40 81 00 48 */ ble lbl_800F845C +/* 800F8418 000F5378 48 29 C8 55 */ bl atan2 +/* 800F841C 000F537C FC 40 08 18 */ frsp f2, f1 +/* 800F8420 000F5380 C0 7C 18 F4 */ lfs f3, 0x18f4(r28) +/* 800F8424 000F5384 C0 22 93 1C */ lfs f1, lbl_805AB03C@sda21(r2) +/* 800F8428 000F5388 EC 02 18 28 */ fsubs f0, f2, f3 +/* 800F842C 000F538C FC C0 10 90 */ fmr f6, f2 +/* 800F8430 000F5390 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F8434 000F5394 40 81 00 10 */ ble lbl_800F8444 +/* 800F8438 000F5398 C0 02 92 64 */ lfs f0, lbl_805AAF84@sda21(r2) +/* 800F843C 000F539C EC C2 00 28 */ fsubs f6, f2, f0 +/* 800F8440 000F53A0 48 00 00 18 */ b lbl_800F8458 +lbl_800F8444: +/* 800F8444 000F53A4 EC 03 10 28 */ fsubs f0, f3, f2 +/* 800F8448 000F53A8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F844C 000F53AC 40 81 00 0C */ ble lbl_800F8458 +/* 800F8450 000F53B0 C0 02 92 64 */ lfs f0, lbl_805AAF84@sda21(r2) +/* 800F8454 000F53B4 EC C2 00 2A */ fadds f6, f2, f0 +lbl_800F8458: +/* 800F8458 000F53B8 D0 DC 18 F8 */ stfs f6, 0x18f8(r28) +lbl_800F845C: +/* 800F845C 000F53BC C0 3C 18 F4 */ lfs f1, 0x18f4(r28) +/* 800F8460 000F53C0 C0 0D 88 50 */ lfs f0, lbl_805A7410@sda21(r13) +/* 800F8464 000F53C4 EC 66 08 28 */ fsubs f3, f6, f1 +/* 800F8468 000F53C8 FC 20 1A 10 */ fabs f1, f3 +/* 800F846C 000F53CC FC 20 08 18 */ frsp f1, f1 +/* 800F8470 000F53D0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F8474 000F53D4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800F8478 000F53D8 40 80 00 0C */ bge lbl_800F8484 +/* 800F847C 000F53DC 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800F8480 000F53E0 48 00 00 08 */ b lbl_800F8488 +lbl_800F8484: +/* 800F8484 000F53E4 38 AD 88 50 */ addi r5, r13, lbl_805A7410@sda21 +lbl_800F8488: +/* 800F8488 000F53E8 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) +/* 800F848C 000F53EC 38 61 00 DC */ addi r3, r1, 0xdc +/* 800F8490 000F53F0 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F8494 000F53F4 38 81 00 10 */ addi r4, r1, 0x10 +/* 800F8498 000F53F8 C0 25 00 00 */ lfs f1, 0(r5) +/* 800F849C 000F53FC FC 43 10 2E */ fsel f2, f3, f0, f2 +/* 800F84A0 000F5400 C0 1C 18 F4 */ lfs f0, 0x18f4(r28) +/* 800F84A4 000F5404 EC 01 00 BA */ fmadds f0, f1, f2, f0 +/* 800F84A8 000F5408 D0 1C 18 F4 */ stfs f0, 0x18f4(r28) +/* 800F84AC 000F540C C0 1C 18 F4 */ lfs f0, 0x18f4(r28) +/* 800F84B0 000F5410 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800F84B4 000F5414 48 21 B3 F5 */ bl RotateY__12CTransform4fFRC9CRelAngle +/* 800F84B8 000F5418 C0 41 01 04 */ lfs f2, 0x104(r1) +/* 800F84BC 000F541C 38 61 00 58 */ addi r3, r1, 0x58 +/* 800F84C0 000F5420 C0 21 00 F4 */ lfs f1, 0xf4(r1) +/* 800F84C4 000F5424 38 9C 18 C4 */ addi r4, r28, 0x18c4 +/* 800F84C8 000F5428 C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 800F84CC 000F542C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 800F84D0 000F5430 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800F84D4 000F5434 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800F84D8 000F5438 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800F84DC 000F543C 48 21 A5 A5 */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800F84E0 000F5440 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800F84E4 000F5444 D0 1C 18 9C */ stfs f0, 0x189c(r28) +/* 800F84E8 000F5448 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800F84EC 000F544C D0 1C 18 A0 */ stfs f0, 0x18a0(r28) +/* 800F84F0 000F5450 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800F84F4 000F5454 D0 1C 18 A4 */ stfs f0, 0x18a4(r28) +lbl_800F84F8: +/* 800F84F8 000F5458 80 9C 00 00 */ lwz r4, 0(r28) +/* 800F84FC 000F545C 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F8500 000F5460 C0 24 00 E8 */ lfs f1, 0xe8(r4) +/* 800F8504 000F5464 C0 03 00 E4 */ lfs f0, 0xe4(r3) +/* 800F8508 000F5468 C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) +/* 800F850C 000F546C C0 7C 18 8C */ lfs f3, 0x188c(r28) +/* 800F8510 000F5470 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800F8514 000F5474 C0 42 91 E0 */ lfs f2, lbl_805AAF00@sda21(r2) +/* 800F8518 000F5478 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800F851C 000F547C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F8520 000F5480 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800F8524 000F5484 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800F8528 000F5488 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F852C 000F548C D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800F8530 000F5490 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800F8534 000F5494 4B F2 30 01 */ bl Identity__10CAxisAngleFv +/* 800F8538 000F5498 7C 65 1B 78 */ mr r5, r3 +/* 800F853C 000F549C 80 7C 00 00 */ lwz r3, 0(r28) +/* 800F8540 000F54A0 38 81 00 40 */ addi r4, r1, 0x40 +/* 800F8544 000F54A4 48 02 3D 81 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800F8548 000F54A8 48 00 00 10 */ b lbl_800F8558 +lbl_800F854C: +/* 800F854C 000F54AC C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) +/* 800F8550 000F54B0 D0 1C 18 B4 */ stfs f0, 0x18b4(r28) +/* 800F8554 000F54B4 D0 1C 18 B8 */ stfs f0, 0x18b8(r28) +lbl_800F8558: +/* 800F8558 000F54B8 80 9C 00 00 */ lwz r4, 0(r28) +/* 800F855C 000F54BC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F8560 000F54C0 C0 44 00 E8 */ lfs f2, 0xe8(r4) +/* 800F8564 000F54C4 C0 23 00 E4 */ lfs f1, 0xe4(r3) +/* 800F8568 000F54C8 C0 1C 18 80 */ lfs f0, 0x1880(r28) +/* 800F856C 000F54CC EC 82 00 72 */ fmuls f4, f2, f1 +/* 800F8570 000F54D0 C0 5C 18 84 */ lfs f2, 0x1884(r28) +/* 800F8574 000F54D4 C0 3C 18 88 */ lfs f1, 0x1888(r28) +/* 800F8578 000F54D8 C0 62 91 7C */ lfs f3, lbl_805AAE9C@sda21(r2) +/* 800F857C 000F54DC EC 04 00 32 */ fmuls f0, f4, f0 +/* 800F8580 000F54E0 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 800F8584 000F54E4 EC 24 00 72 */ fmuls f1, f4, f1 +/* 800F8588 000F54E8 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800F858C 000F54EC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800F8590 000F54F0 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800F8594 000F54F4 D0 04 01 50 */ stfs f0, 0x150(r4) +/* 800F8598 000F54F8 D0 44 01 54 */ stfs f2, 0x154(r4) +/* 800F859C 000F54FC D0 24 01 58 */ stfs f1, 0x158(r4) +lbl_800F85A0: +/* 800F85A0 000F5500 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 +/* 800F85A4 000F5504 CB E1 01 F0 */ lfd f31, 0x1f0(r1) +/* 800F85A8 000F5508 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 +/* 800F85AC 000F550C CB C1 01 E0 */ lfd f30, 0x1e0(r1) +/* 800F85B0 000F5510 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 +/* 800F85B4 000F5514 CB A1 01 D0 */ lfd f29, 0x1d0(r1) +/* 800F85B8 000F5518 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 +/* 800F85BC 000F551C CB 81 01 C0 */ lfd f28, 0x1c0(r1) +/* 800F85C0 000F5520 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 +/* 800F85C4 000F5524 CB 61 01 B0 */ lfd f27, 0x1b0(r1) +/* 800F85C8 000F5528 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 +/* 800F85CC 000F552C CB 41 01 A0 */ lfd f26, 0x1a0(r1) +/* 800F85D0 000F5530 E3 21 01 98 */ psq_l f25, 408(r1), 0, qr0 +/* 800F85D4 000F5534 CB 21 01 90 */ lfd f25, 0x190(r1) +/* 800F85D8 000F5538 BB 61 01 7C */ lmw r27, 0x17c(r1) +/* 800F85DC 000F553C 80 01 02 04 */ lwz r0, 0x204(r1) +/* 800F85E0 000F5540 7C 08 03 A6 */ mtlr r0 +/* 800F85E4 000F5544 38 21 02 00 */ addi r1, r1, 0x200 +/* 800F85E8 000F5548 4E 80 00 20 */ blr + +.global ResetSpiderBallForces__10CMorphBallFv +ResetSpiderBallForces__10CMorphBallFv: +/* 800F85EC 000F554C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F85F0 000F5550 7C 08 02 A6 */ mflr r0 +/* 800F85F4 000F5554 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F85F8 000F5558 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F85FC 000F555C FC 40 08 90 */ fmr f2, f1 +/* 800F8600 000F5560 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800F8604 000F5564 7C 7F 1B 78 */ mr r31, r3 +/* 800F8608 000F5568 38 61 00 08 */ addi r3, r1, 8 +/* 800F860C 000F556C 48 21 BB F5 */ bl __ct__9CVector2fFff +/* 800F8610 000F5570 C0 21 00 08 */ lfs f1, 8(r1) +/* 800F8614 000F5574 38 00 00 01 */ li r0, 1 +/* 800F8618 000F5578 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F861C 000F557C D0 3F 19 0C */ stfs f1, 0x190c(r31) +/* 800F8620 000F5580 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 800F8624 000F5584 D0 3F 19 10 */ stfs f1, 0x1910(r31) +/* 800F8628 000F5588 D0 1F 19 14 */ stfs f0, 0x1914(r31) +/* 800F862C 000F558C D0 1F 19 18 */ stfs f0, 0x1918(r31) +/* 800F8630 000F5590 98 1F 19 20 */ stb r0, 0x1920(r31) +/* 800F8634 000F5594 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800F8638 000F5598 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F863C 000F559C 7C 08 03 A6 */ mtlr r0 +/* 800F8640 000F55A0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F8644 000F55A4 4E 80 00 20 */ blr + +.global CalculateSpiderBallAttractionSurfaceForces__10CMorphBallCFRC11CFinalInput +CalculateSpiderBallAttractionSurfaceForces__10CMorphBallCFRC11CFinalInput: +/* 800F8648 000F55A8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800F864C 000F55AC 7C 08 02 A6 */ mflr r0 +/* 800F8650 000F55B0 90 01 00 34 */ stw r0, 0x34(r1) +/* 800F8654 000F55B4 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 800F8658 000F55B8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 800F865C 000F55BC DB C1 00 10 */ stfd f30, 0x10(r1) +/* 800F8660 000F55C0 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 +/* 800F8664 000F55C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F8668 000F55C8 93 C1 00 08 */ stw r30, 8(r1) +/* 800F866C 000F55CC 7C 7E 1B 78 */ mr r30, r3 +/* 800F8670 000F55D0 7C BF 2B 78 */ mr r31, r5 +/* 800F8674 000F55D4 7C 83 23 78 */ mr r3, r4 +/* 800F8678 000F55D8 48 00 06 21 */ bl IsMovementAllowed__10CMorphBallCFv +/* 800F867C 000F55DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F8680 000F55E0 40 82 00 1C */ bne lbl_800F869C +/* 800F8684 000F55E4 C0 0D A8 98 */ lfs f0, lbl_805A9458@sda21(r13) +/* 800F8688 000F55E8 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 +/* 800F868C 000F55EC D0 1E 00 00 */ stfs f0, 0(r30) +/* 800F8690 000F55F0 C0 03 00 04 */ lfs f0, 4(r3) +/* 800F8694 000F55F4 D0 1E 00 04 */ stfs f0, 4(r30) +/* 800F8698 000F55F8 48 00 00 50 */ b lbl_800F86E8 +lbl_800F869C: +/* 800F869C 000F55FC 7F E4 FB 78 */ mr r4, r31 +/* 800F86A0 000F5600 38 60 00 01 */ li r3, 1 +/* 800F86A4 000F5604 4B F1 42 75 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F86A8 000F5608 FF E0 08 90 */ fmr f31, f1 +/* 800F86AC 000F560C 7F E4 FB 78 */ mr r4, r31 +/* 800F86B0 000F5610 38 60 00 00 */ li r3, 0 +/* 800F86B4 000F5614 4B F1 42 65 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F86B8 000F5618 EF C1 F8 28 */ fsubs f30, f1, f31 +/* 800F86BC 000F561C 7F E4 FB 78 */ mr r4, r31 +/* 800F86C0 000F5620 38 60 00 02 */ li r3, 2 +/* 800F86C4 000F5624 4B F1 42 55 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F86C8 000F5628 FF E0 08 90 */ fmr f31, f1 +/* 800F86CC 000F562C 7F E4 FB 78 */ mr r4, r31 +/* 800F86D0 000F5630 38 60 00 03 */ li r3, 3 +/* 800F86D4 000F5634 4B F1 42 45 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F86D8 000F5638 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800F86DC 000F563C 7F C3 F3 78 */ mr r3, r30 +/* 800F86E0 000F5640 FC 40 F0 90 */ fmr f2, f30 +/* 800F86E4 000F5644 48 21 BB 1D */ bl __ct__9CVector2fFff +lbl_800F86E8: +/* 800F86E8 000F5648 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 800F86EC 000F564C CB E1 00 20 */ lfd f31, 0x20(r1) +/* 800F86F0 000F5650 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 +/* 800F86F4 000F5654 CB C1 00 10 */ lfd f30, 0x10(r1) +/* 800F86F8 000F5658 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F86FC 000F565C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800F8700 000F5660 83 C1 00 08 */ lwz r30, 8(r1) +/* 800F8704 000F5664 7C 08 03 A6 */ mtlr r0 +/* 800F8708 000F5668 38 21 00 30 */ addi r1, r1, 0x30 +/* 800F870C 000F566C 4E 80 00 20 */ blr + +.global TransformSpiderBallForcesXY__10CMorphBallFR9CVector2fR13CStateManager +TransformSpiderBallForcesXY__10CMorphBallFR9CVector2fR13CStateManager: +/* 800F8710 000F5670 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800F8714 000F5674 7C 08 02 A6 */ mflr r0 +/* 800F8718 000F5678 90 01 00 44 */ stw r0, 0x44(r1) +/* 800F871C 000F567C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800F8720 000F5680 7C 9F 23 78 */ mr r31, r4 +/* 800F8724 000F5684 7C A4 2B 78 */ mr r4, r5 +/* 800F8728 000F5688 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800F872C 000F568C 7C 7E 1B 78 */ mr r30, r3 +/* 800F8730 000F5690 80 65 08 70 */ lwz r3, 0x870(r5) +/* 800F8734 000F5694 4B F1 33 E5 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800F8738 000F5698 7C 64 1B 78 */ mr r4, r3 +/* 800F873C 000F569C 38 61 00 08 */ addi r3, r1, 8 +/* 800F8740 000F56A0 38 84 00 34 */ addi r4, r4, 0x34 +/* 800F8744 000F56A4 48 21 A4 31 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F8748 000F56A8 C0 DF 00 04 */ lfs f6, 4(r31) +/* 800F874C 000F56AC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800F8750 000F56B0 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 800F8754 000F56B4 C0 FF 00 00 */ lfs f7, 0(r31) +/* 800F8758 000F56B8 EC 06 00 32 */ fmuls f0, f6, f0 +/* 800F875C 000F56BC C0 21 00 08 */ lfs f1, 8(r1) +/* 800F8760 000F56C0 EC 86 00 B2 */ fmuls f4, f6, f2 +/* 800F8764 000F56C4 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 800F8768 000F56C8 EC 27 00 72 */ fmuls f1, f7, f1 +/* 800F876C 000F56CC C0 61 00 28 */ lfs f3, 0x28(r1) +/* 800F8770 000F56D0 EC A7 00 B2 */ fmuls f5, f7, f2 +/* 800F8774 000F56D4 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 800F8778 000F56D8 EC 67 00 F2 */ fmuls f3, f7, f3 +/* 800F877C 000F56DC EC 01 00 2A */ fadds f0, f1, f0 +/* 800F8780 000F56E0 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 800F8784 000F56E4 EC 45 20 2A */ fadds f2, f5, f4 +/* 800F8788 000F56E8 D0 1E 00 00 */ stfs f0, 0(r30) +/* 800F878C 000F56EC EC 03 08 2A */ fadds f0, f3, f1 +/* 800F8790 000F56F0 D0 5E 00 04 */ stfs f2, 4(r30) +/* 800F8794 000F56F4 D0 1E 00 08 */ stfs f0, 8(r30) +/* 800F8798 000F56F8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800F879C 000F56FC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800F87A0 000F5700 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800F87A4 000F5704 7C 08 03 A6 */ mtlr r0 +/* 800F87A8 000F5708 38 21 00 40 */ addi r1, r1, 0x40 +/* 800F87AC 000F570C 4E 80 00 20 */ blr + +.global TransformSpiderBallForcesXZ__10CMorphBallFR9CVector2fR13CStateManager +TransformSpiderBallForcesXZ__10CMorphBallFR9CVector2fR13CStateManager: +/* 800F87B0 000F5710 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800F87B4 000F5714 7C 08 02 A6 */ mflr r0 +/* 800F87B8 000F5718 90 01 00 44 */ stw r0, 0x44(r1) +/* 800F87BC 000F571C 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800F87C0 000F5720 7C 9F 23 78 */ mr r31, r4 +/* 800F87C4 000F5724 7C A4 2B 78 */ mr r4, r5 +/* 800F87C8 000F5728 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800F87CC 000F572C 7C 7E 1B 78 */ mr r30, r3 +/* 800F87D0 000F5730 80 65 08 70 */ lwz r3, 0x870(r5) +/* 800F87D4 000F5734 4B F1 33 45 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 800F87D8 000F5738 7C 64 1B 78 */ mr r4, r3 +/* 800F87DC 000F573C 38 61 00 08 */ addi r3, r1, 8 +/* 800F87E0 000F5740 38 84 00 34 */ addi r4, r4, 0x34 +/* 800F87E4 000F5744 48 21 A3 91 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F87E8 000F5748 C0 DF 00 04 */ lfs f6, 4(r31) +/* 800F87EC 000F574C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800F87F0 000F5750 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 800F87F4 000F5754 C0 FF 00 00 */ lfs f7, 0(r31) +/* 800F87F8 000F5758 EC 06 00 32 */ fmuls f0, f6, f0 +/* 800F87FC 000F575C C0 21 00 08 */ lfs f1, 8(r1) +/* 800F8800 000F5760 EC 86 00 B2 */ fmuls f4, f6, f2 +/* 800F8804 000F5764 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 800F8808 000F5768 EC 27 00 72 */ fmuls f1, f7, f1 +/* 800F880C 000F576C C0 61 00 28 */ lfs f3, 0x28(r1) +/* 800F8810 000F5770 EC A7 00 B2 */ fmuls f5, f7, f2 +/* 800F8814 000F5774 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 800F8818 000F5778 EC 67 00 F2 */ fmuls f3, f7, f3 +/* 800F881C 000F577C EC 01 00 2A */ fadds f0, f1, f0 +/* 800F8820 000F5780 EC 26 00 B2 */ fmuls f1, f6, f2 +/* 800F8824 000F5784 EC 45 20 2A */ fadds f2, f5, f4 +/* 800F8828 000F5788 D0 1E 00 00 */ stfs f0, 0(r30) +/* 800F882C 000F578C EC 03 08 2A */ fadds f0, f3, f1 +/* 800F8830 000F5790 D0 5E 00 04 */ stfs f2, 4(r30) +/* 800F8834 000F5794 D0 1E 00 08 */ stfs f0, 8(r30) +/* 800F8838 000F5798 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800F883C 000F579C 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800F8840 000F57A0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800F8844 000F57A4 7C 08 03 A6 */ mtlr r0 +/* 800F8848 000F57A8 38 21 00 40 */ addi r1, r1, 0x40 +/* 800F884C 000F57AC 4E 80 00 20 */ blr + +.global ApplySpiderBallSwingingForces__10CMorphBallFRC11CFinalInputR13CStateManagerf +ApplySpiderBallSwingingForces__10CMorphBallFRC11CFinalInputR13CStateManagerf: +/* 800F8850 000F57B0 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800F8854 000F57B4 7C 08 02 A6 */ mflr r0 +/* 800F8858 000F57B8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800F885C 000F57BC DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 800F8860 000F57C0 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 800F8864 000F57C4 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 800F8868 000F57C8 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 800F886C 000F57CC DB A1 00 80 */ stfd f29, 0x80(r1) +/* 800F8870 000F57D0 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 800F8874 000F57D4 DB 81 00 70 */ stfd f28, 0x70(r1) +/* 800F8878 000F57D8 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 +/* 800F887C 000F57DC 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800F8880 000F57E0 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800F8884 000F57E4 C0 42 92 D0 */ lfs f2, lbl_805AAFF0@sda21(r2) +/* 800F8888 000F57E8 7C 7E 1B 78 */ mr r30, r3 +/* 800F888C 000F57EC C0 02 92 3C */ lfs f0, lbl_805AAF5C@sda21(r2) +/* 800F8890 000F57F0 FF 80 08 90 */ fmr f28, f1 +/* 800F8894 000F57F4 D0 43 18 B4 */ stfs f2, 0x18b4(r3) +/* 800F8898 000F57F8 7C 9F 23 78 */ mr r31, r4 +/* 800F889C 000F57FC 38 7E 18 80 */ addi r3, r30, 0x1880 +/* 800F88A0 000F5800 D0 1E 18 B8 */ stfs f0, 0x18b8(r30) +/* 800F88A4 000F5804 80 9E 00 00 */ lwz r4, 0(r30) +/* 800F88A8 000F5808 C0 3E 18 90 */ lfs f1, 0x1890(r30) +/* 800F88AC 000F580C C0 04 00 40 */ lfs f0, 0x40(r4) +/* 800F88B0 000F5810 C0 9E 18 94 */ lfs f4, 0x1894(r30) +/* 800F88B4 000F5814 C0 64 00 50 */ lfs f3, 0x50(r4) +/* 800F88B8 000F5818 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800F88BC 000F581C C0 5E 18 98 */ lfs f2, 0x1898(r30) +/* 800F88C0 000F5820 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 800F88C4 000F5824 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800F88C8 000F5828 D0 1E 18 80 */ stfs f0, 0x1880(r30) +/* 800F88CC 000F582C EC 02 08 28 */ fsubs f0, f2, f1 +/* 800F88D0 000F5830 D0 7E 18 84 */ stfs f3, 0x1884(r30) +/* 800F88D4 000F5834 D0 1E 18 88 */ stfs f0, 0x1888(r30) +/* 800F88D8 000F5838 48 21 BF E1 */ bl Magnitude__9CVector3fCFv +/* 800F88DC 000F583C FF E0 08 90 */ fmr f31, f1 +/* 800F88E0 000F5840 C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) +/* 800F88E4 000F5844 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F88E8 000F5848 7F C3 F3 78 */ mr r3, r30 +/* 800F88EC 000F584C C0 5E 18 80 */ lfs f2, 0x1880(r30) +/* 800F88F0 000F5850 7F E4 FB 78 */ mr r4, r31 +/* 800F88F4 000F5854 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 800F88F8 000F5858 EC 21 00 24 */ fdivs f1, f1, f0 +/* 800F88FC 000F585C EC 02 00 72 */ fmuls f0, f2, f1 +/* 800F8900 000F5860 D0 1E 18 80 */ stfs f0, 0x1880(r30) +/* 800F8904 000F5864 C0 1E 18 84 */ lfs f0, 0x1884(r30) +/* 800F8908 000F5868 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800F890C 000F586C D0 1E 18 84 */ stfs f0, 0x1884(r30) +/* 800F8910 000F5870 C0 1E 18 88 */ lfs f0, 0x1888(r30) +/* 800F8914 000F5874 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800F8918 000F5878 D0 1E 18 88 */ stfs f0, 0x1888(r30) +/* 800F891C 000F587C 4B FF EB 89 */ bl GetSpiderBallControllerMovement__10CMorphBallCFRC11CFinalInput +/* 800F8920 000F5880 FF A0 08 90 */ fmr f29, f1 +/* 800F8924 000F5884 7F C3 F3 78 */ mr r3, r30 +/* 800F8928 000F5888 FC 40 E0 90 */ fmr f2, f28 +/* 800F892C 000F588C 4B FF EA D5 */ bl UpdateSpiderBallSwingControllerMovementTimer__10CMorphBallFff +/* 800F8930 000F5890 7F C3 F3 78 */ mr r3, r30 +/* 800F8934 000F5894 4B FF EA 7D */ bl GetSpiderBallSwingControllerMovementScalar__10CMorphBallCFv +/* 800F8938 000F5898 C0 42 93 20 */ lfs f2, lbl_805AB040@sda21(r2) +/* 800F893C 000F589C EF DD 00 72 */ fmuls f30, f29, f1 +/* 800F8940 000F58A0 C0 02 93 24 */ lfs f0, lbl_805AB044@sda21(r2) +/* 800F8944 000F58A4 38 61 00 28 */ addi r3, r1, 0x28 +/* 800F8948 000F58A8 EC 22 07 F2 */ fmuls f1, f2, f31 +/* 800F894C 000F58AC C0 FE 18 80 */ lfs f7, 0x1880(r30) +/* 800F8950 000F58B0 C0 DE 18 B0 */ lfs f6, 0x18b0(r30) +/* 800F8954 000F58B4 C1 1E 18 84 */ lfs f8, 0x1884(r30) +/* 800F8958 000F58B8 38 81 00 1C */ addi r4, r1, 0x1c +/* 800F895C 000F58BC EF A1 00 24 */ fdivs f29, f1, f0 +/* 800F8960 000F58C0 C0 7E 18 A8 */ lfs f3, 0x18a8(r30) +/* 800F8964 000F58C4 C1 3E 18 88 */ lfs f9, 0x1888(r30) +/* 800F8968 000F58C8 C0 9E 18 AC */ lfs f4, 0x18ac(r30) +/* 800F896C 000F58CC EC 43 02 32 */ fmuls f2, f3, f8 +/* 800F8970 000F58D0 EC 26 01 F2 */ fmuls f1, f6, f7 +/* 800F8974 000F58D4 EC 04 02 72 */ fmuls f0, f4, f9 +/* 800F8978 000F58D8 EC A7 11 38 */ fmsubs f5, f7, f4, f2 +/* 800F897C 000F58DC EC 89 08 F8 */ fmsubs f4, f9, f3, f1 +/* 800F8980 000F58E0 EC 68 01 B8 */ fmsubs f3, f8, f6, f0 +/* 800F8984 000F58E4 EC 48 01 72 */ fmuls f2, f8, f5 +/* 800F8988 000F58E8 EC 07 01 32 */ fmuls f0, f7, f4 +/* 800F898C 000F58EC EC 29 00 F2 */ fmuls f1, f9, f3 +/* 800F8990 000F58F0 EC 44 12 78 */ fmsubs f2, f4, f9, f2 +/* 800F8994 000F58F4 EC 03 02 38 */ fmsubs f0, f3, f8, f0 +/* 800F8998 000F58F8 EC 25 09 F8 */ fmsubs f1, f5, f7, f1 +/* 800F899C 000F58FC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800F89A0 000F5900 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800F89A4 000F5904 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800F89A8 000F5908 48 21 BE A9 */ bl AsNormalized__9CVector3fCFv +/* 800F89AC 000F590C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800F89B0 000F5910 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 800F89B4 000F5914 EC 9D 00 32 */ fmuls f4, f29, f0 +/* 800F89B8 000F5918 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800F89BC 000F591C EC 7D 00 72 */ fmuls f3, f29, f1 +/* 800F89C0 000F5920 C0 22 93 28 */ lfs f1, lbl_805AB048@sda21(r2) +/* 800F89C4 000F5924 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 800F89C8 000F5928 EC BE 01 32 */ fmuls f5, f30, f4 +/* 800F89CC 000F592C EC 5E 00 F2 */ fmuls f2, f30, f3 +/* 800F89D0 000F5930 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800F89D4 000F5934 EC 7E 00 32 */ fmuls f3, f30, f0 +/* 800F89D8 000F5938 EC C1 01 72 */ fmuls f6, f1, f5 +/* 800F89DC 000F593C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800F89E0 000F5940 EC 01 00 B2 */ fmuls f0, f1, f2 +/* 800F89E4 000F5944 EC 21 00 F2 */ fmuls f1, f1, f3 +/* 800F89E8 000F5948 D0 81 00 3C */ stfs f4, 0x3c(r1) +/* 800F89EC 000F594C D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800F89F0 000F5950 D0 61 00 44 */ stfs f3, 0x44(r1) +/* 800F89F4 000F5954 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 800F89F8 000F5958 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800F89FC 000F595C D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800F8A00 000F5960 D0 C1 00 54 */ stfs f6, 0x54(r1) +/* 800F8A04 000F5964 4B F2 2B 31 */ bl Identity__10CAxisAngleFv +/* 800F8A08 000F5968 7C 65 1B 78 */ mr r5, r3 +/* 800F8A0C 000F596C 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F8A10 000F5970 38 81 00 4C */ addi r4, r1, 0x4c +/* 800F8A14 000F5974 48 02 38 B1 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800F8A18 000F5978 80 BE 00 00 */ lwz r5, 0(r30) +/* 800F8A1C 000F597C 38 61 00 58 */ addi r3, r1, 0x58 +/* 800F8A20 000F5980 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) +/* 800F8A24 000F5984 C0 45 00 E8 */ lfs f2, 0xe8(r5) +/* 800F8A28 000F5988 C0 24 00 E4 */ lfs f1, 0xe4(r4) +/* 800F8A2C 000F598C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F8A30 000F5990 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800F8A34 000F5994 C0 42 91 5C */ lfs f2, lbl_805AAE7C@sda21(r2) +/* 800F8A38 000F5998 D0 05 01 50 */ stfs f0, 0x150(r5) +/* 800F8A3C 000F599C C0 62 93 24 */ lfs f3, lbl_805AB044@sda21(r2) +/* 800F8A40 000F59A0 D0 05 01 54 */ stfs f0, 0x154(r5) +/* 800F8A44 000F59A4 C0 02 92 24 */ lfs f0, lbl_805AAF44@sda21(r2) +/* 800F8A48 000F59A8 D0 25 01 58 */ stfs f1, 0x158(r5) +/* 800F8A4C 000F59AC C0 3E 18 8C */ lfs f1, 0x188c(r30) +/* 800F8A50 000F59B0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800F8A54 000F59B4 EC 03 00 7A */ fmadds f0, f3, f1, f0 +/* 800F8A58 000F59B8 D0 1E 18 FC */ stfs f0, 0x18fc(r30) +/* 800F8A5C 000F59BC D3 FE 19 00 */ stfs f31, 0x1900(r30) +/* 800F8A60 000F59C0 80 9E 00 00 */ lwz r4, 0(r30) +/* 800F8A64 000F59C4 C0 04 01 38 */ lfs f0, 0x138(r4) +/* 800F8A68 000F59C8 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800F8A6C 000F59CC C0 04 01 3C */ lfs f0, 0x13c(r4) +/* 800F8A70 000F59D0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800F8A74 000F59D4 C0 04 01 40 */ lfs f0, 0x140(r4) +/* 800F8A78 000F59D8 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800F8A7C 000F59DC 48 21 BE 3D */ bl Magnitude__9CVector3fCFv +/* 800F8A80 000F59E0 FF A0 08 90 */ fmr f29, f1 +/* 800F8A84 000F59E4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800F8A88 000F59E8 38 81 00 58 */ addi r4, r1, 0x58 +/* 800F8A8C 000F59EC 48 21 BD C5 */ bl AsNormalized__9CVector3fCFv +/* 800F8A90 000F59F0 C0 3E 18 84 */ lfs f1, 0x1884(r30) +/* 800F8A94 000F59F4 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800F8A98 000F59F8 C0 9E 18 80 */ lfs f4, 0x1880(r30) +/* 800F8A9C 000F59FC EC 7D 00 72 */ fmuls f3, f29, f1 +/* 800F8AA0 000F5A00 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800F8AA4 000F5A04 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 800F8AA8 000F5A08 C1 1E 18 88 */ lfs f8, 0x1888(r30) +/* 800F8AAC 000F5A0C EC BD 01 32 */ fmuls f5, f29, f4 +/* 800F8AB0 000F5A10 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 800F8AB4 000F5A14 EC 24 00 7A */ fmadds f1, f4, f1, f0 +/* 800F8AB8 000F5A18 EC 1D 02 32 */ fmuls f0, f29, f8 +/* 800F8ABC 000F5A1C C0 C1 00 58 */ lfs f6, 0x58(r1) +/* 800F8AC0 000F5A20 C0 81 00 5C */ lfs f4, 0x5c(r1) +/* 800F8AC4 000F5A24 EC E8 08 BA */ fmadds f7, f8, f2, f1 +/* 800F8AC8 000F5A28 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 800F8ACC 000F5A2C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F8AD0 000F5A30 C1 22 92 D0 */ lfs f9, lbl_805AAFF0@sda21(r2) +/* 800F8AD4 000F5A34 EC A7 01 72 */ fmuls f5, f7, f5 +/* 800F8AD8 000F5A38 EC 67 00 F2 */ fmuls f3, f7, f3 +/* 800F8ADC 000F5A3C EC 07 00 32 */ fmuls f0, f7, f0 +/* 800F8AE0 000F5A40 EC A6 28 28 */ fsubs f5, f6, f5 +/* 800F8AE4 000F5A44 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800F8AE8 000F5A48 EC 02 00 28 */ fsubs f0, f2, f0 +/* 800F8AEC 000F5A4C D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 800F8AF0 000F5A50 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 800F8AF4 000F5A54 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800F8AF8 000F5A58 C0 1E 18 8C */ lfs f0, 0x188c(r30) +/* 800F8AFC 000F5A5C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800F8B00 000F5A60 40 82 00 1C */ bne lbl_800F8B1C +/* 800F8B04 000F5A64 FC 20 42 10 */ fabs f1, f8 +/* 800F8B08 000F5A68 C0 02 91 80 */ lfs f0, lbl_805AAEA0@sda21(r2) +/* 800F8B0C 000F5A6C FC 20 08 18 */ frsp f1, f1 +/* 800F8B10 000F5A70 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F8B14 000F5A74 40 81 00 08 */ ble lbl_800F8B1C +/* 800F8B18 000F5A78 C1 22 92 94 */ lfs f9, lbl_805AAFB4@sda21(r2) +lbl_800F8B1C: +/* 800F8B1C 000F5A7C C0 1E 18 FC */ lfs f0, 0x18fc(r30) +/* 800F8B20 000F5A80 C0 22 91 A8 */ lfs f1, lbl_805AAEC8@sda21(r2) +/* 800F8B24 000F5A84 EC 40 F8 28 */ fsubs f2, f0, f31 +/* 800F8B28 000F5A88 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F8B2C 000F5A8C FC 02 08 2E */ fsel f0, f2, f0, f1 +/* 800F8B30 000F5A90 FC 20 12 10 */ fabs f1, f2 +/* 800F8B34 000F5A94 EC 69 00 32 */ fmuls f3, f9, f0 +/* 800F8B38 000F5A98 FC 00 08 18 */ frsp f0, f1 +/* 800F8B3C 000F5A9C FC 20 1A 10 */ fabs f1, f3 +/* 800F8B40 000F5AA0 D0 01 00 08 */ stfs f0, 8(r1) +/* 800F8B44 000F5AA4 FC 20 08 18 */ frsp f1, f1 +/* 800F8B48 000F5AA8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800F8B4C 000F5AAC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800F8B50 000F5AB0 40 80 00 0C */ bge lbl_800F8B5C +/* 800F8B54 000F5AB4 38 61 00 08 */ addi r3, r1, 8 +/* 800F8B58 000F5AB8 48 00 00 08 */ b lbl_800F8B60 +lbl_800F8B5C: +/* 800F8B5C 000F5ABC 38 61 00 0C */ addi r3, r1, 0xc +lbl_800F8B60: +/* 800F8B60 000F5AC0 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) +/* 800F8B64 000F5AC4 38 81 00 58 */ addi r4, r1, 0x58 +/* 800F8B68 000F5AC8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F8B6C 000F5ACC C0 03 00 00 */ lfs f0, 0(r3) +/* 800F8B70 000F5AD0 FC 23 10 6E */ fsel f1, f3, f1, f2 +/* 800F8B74 000F5AD4 C0 BE 18 84 */ lfs f5, 0x1884(r30) +/* 800F8B78 000F5AD8 C0 9E 18 88 */ lfs f4, 0x1888(r30) +/* 800F8B7C 000F5ADC C0 5E 18 80 */ lfs f2, 0x1880(r30) +/* 800F8B80 000F5AE0 EC C0 00 72 */ fmuls f6, f0, f1 +/* 800F8B84 000F5AE4 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 800F8B88 000F5AE8 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 800F8B8C 000F5AEC C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800F8B90 000F5AF0 EC C6 E0 24 */ fdivs f6, f6, f28 +/* 800F8B94 000F5AF4 EC A6 01 72 */ fmuls f5, f6, f5 +/* 800F8B98 000F5AF8 EC 86 01 32 */ fmuls f4, f6, f4 +/* 800F8B9C 000F5AFC EC 46 00 B2 */ fmuls f2, f6, f2 +/* 800F8BA0 000F5B00 EC 21 28 2A */ fadds f1, f1, f5 +/* 800F8BA4 000F5B04 EC 00 20 2A */ fadds f0, f0, f4 +/* 800F8BA8 000F5B08 EC 43 10 2A */ fadds f2, f3, f2 +/* 800F8BAC 000F5B0C D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800F8BB0 000F5B10 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 800F8BB4 000F5B14 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800F8BB8 000F5B18 80 7E 00 00 */ lwz r3, 0(r30) +/* 800F8BBC 000F5B1C 48 02 20 E5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +/* 800F8BC0 000F5B20 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 800F8BC4 000F5B24 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 800F8BC8 000F5B28 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 800F8BCC 000F5B2C CB C1 00 90 */ lfd f30, 0x90(r1) +/* 800F8BD0 000F5B30 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 800F8BD4 000F5B34 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 800F8BD8 000F5B38 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 +/* 800F8BDC 000F5B3C CB 81 00 70 */ lfd f28, 0x70(r1) +/* 800F8BE0 000F5B40 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800F8BE4 000F5B44 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800F8BE8 000F5B48 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800F8BEC 000F5B4C 7C 08 03 A6 */ mtlr r0 +/* 800F8BF0 000F5B50 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800F8BF4 000F5B54 4E 80 00 20 */ blr + +.global UpdateSpiderBall__10CMorphBallFRC11CFinalInputR13CStateManagerf +UpdateSpiderBall__10CMorphBallFRC11CFinalInputR13CStateManagerf: +/* 800F8BF8 000F5B58 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F8BFC 000F5B5C 7C 08 02 A6 */ mflr r0 +/* 800F8C00 000F5B60 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F8C04 000F5B64 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 800F8C08 000F5B68 FF E0 08 90 */ fmr f31, f1 +/* 800F8C0C 000F5B6C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800F8C10 000F5B70 7C BF 2B 78 */ mr r31, r5 +/* 800F8C14 000F5B74 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800F8C18 000F5B78 7C 9E 23 78 */ mr r30, r4 +/* 800F8C1C 000F5B7C 7F E4 FB 78 */ mr r4, r31 +/* 800F8C20 000F5B80 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800F8C24 000F5B84 7C 7D 1B 78 */ mr r29, r3 +/* 800F8C28 000F5B88 4B FF EF D1 */ bl CheckForSwitchToSpiderBallSwinging__10CMorphBallCFR13CStateManager +/* 800F8C2C 000F5B8C 7C 64 1B 78 */ mr r4, r3 +/* 800F8C30 000F5B90 7F A3 EB 78 */ mr r3, r29 +/* 800F8C34 000F5B94 4B FF E9 71 */ bl SetSpiderBallSwingingState__10CMorphBallFb +/* 800F8C38 000F5B98 88 1D 18 BE */ lbz r0, 0x18be(r29) +/* 800F8C3C 000F5B9C 28 00 00 00 */ cmplwi r0, 0 +/* 800F8C40 000F5BA0 41 82 00 1C */ beq lbl_800F8C5C +/* 800F8C44 000F5BA4 FC 20 F8 90 */ fmr f1, f31 +/* 800F8C48 000F5BA8 7F A3 EB 78 */ mr r3, r29 +/* 800F8C4C 000F5BAC 7F C4 F3 78 */ mr r4, r30 +/* 800F8C50 000F5BB0 7F E5 FB 78 */ mr r5, r31 +/* 800F8C54 000F5BB4 4B FF FB FD */ bl ApplySpiderBallSwingingForces__10CMorphBallFRC11CFinalInputR13CStateManagerf +/* 800F8C58 000F5BB8 48 00 00 18 */ b lbl_800F8C70 +lbl_800F8C5C: +/* 800F8C5C 000F5BBC FC 20 F8 90 */ fmr f1, f31 +/* 800F8C60 000F5BC0 7F A3 EB 78 */ mr r3, r29 +/* 800F8C64 000F5BC4 7F C4 F3 78 */ mr r4, r30 +/* 800F8C68 000F5BC8 7F E5 FB 78 */ mr r5, r31 +/* 800F8C6C 000F5BCC 4B FF F1 05 */ bl ApplySpiderBallRollForces__10CMorphBallFRC11CFinalInputR13CStateManagerf +lbl_800F8C70: +/* 800F8C70 000F5BD0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F8C74 000F5BD4 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 800F8C78 000F5BD8 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800F8C7C 000F5BDC 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 800F8C80 000F5BE0 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 800F8C84 000F5BE4 7C 08 03 A6 */ mtlr r0 +/* 800F8C88 000F5BE8 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F8C8C 000F5BEC 4E 80 00 20 */ blr + +.global SetDamageTimer__10CMorphBallFf +SetDamageTimer__10CMorphBallFf: +/* 800F8C90 000F5BF0 D0 23 19 1C */ stfs f1, 0x191c(r3) +/* 800F8C94 000F5BF4 4E 80 00 20 */ blr + +.global IsMovementAllowed__10CMorphBallCFv +IsMovementAllowed__10CMorphBallCFv: +/* 800F8C98 000F5BF8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800F8C9C 000F5BFC 7C 08 02 A6 */ mflr r0 +/* 800F8CA0 000F5C00 90 01 00 14 */ stw r0, 0x14(r1) +/* 800F8CA4 000F5C04 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F8CA8 000F5C08 7C 7F 1B 78 */ mr r31, r3 +/* 800F8CAC 000F5C0C 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) +/* 800F8CB0 000F5C10 88 04 02 28 */ lbz r0, 0x228(r4) +/* 800F8CB4 000F5C14 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800F8CB8 000F5C18 40 82 00 28 */ bne lbl_800F8CE0 +/* 800F8CBC 000F5C1C 80 7F 00 00 */ lwz r3, 0(r31) +/* 800F8CC0 000F5C20 88 03 03 DC */ lbz r0, 0x3dc(r3) +/* 800F8CC4 000F5C24 28 00 00 00 */ cmplwi r0, 0 +/* 800F8CC8 000F5C28 40 82 00 10 */ bne lbl_800F8CD8 +/* 800F8CCC 000F5C2C 88 03 03 DD */ lbz r0, 0x3dd(r3) +/* 800F8CD0 000F5C30 28 00 00 00 */ cmplwi r0, 0 +/* 800F8CD4 000F5C34 41 82 00 0C */ beq lbl_800F8CE0 +lbl_800F8CD8: +/* 800F8CD8 000F5C38 38 60 00 00 */ li r3, 0 +/* 800F8CDC 000F5C3C 48 00 00 38 */ b lbl_800F8D14 +lbl_800F8CE0: +/* 800F8CE0 000F5C40 80 7F 00 00 */ lwz r3, 0(r31) +/* 800F8CE4 000F5C44 4B F2 15 31 */ bl IsMorphBallTransitioning__7CPlayerCFv +/* 800F8CE8 000F5C48 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F8CEC 000F5C4C 41 82 00 0C */ beq lbl_800F8CF8 +/* 800F8CF0 000F5C50 38 60 00 00 */ li r3, 0 +/* 800F8CF4 000F5C54 48 00 00 20 */ b lbl_800F8D14 +lbl_800F8CF8: +/* 800F8CF8 000F5C58 C0 3F 1E 00 */ lfs f1, 0x1e00(r31) +/* 800F8CFC 000F5C5C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F8D00 000F5C60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800F8D04 000F5C64 7C 00 00 26 */ mfcr r0 +/* 800F8D08 000F5C68 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f +/* 800F8D0C 000F5C6C 7C 00 00 34 */ cntlzw r0, r0 +/* 800F8D10 000F5C70 54 03 D9 7E */ srwi r3, r0, 5 +lbl_800F8D14: +/* 800F8D14 000F5C74 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800F8D18 000F5C78 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F8D1C 000F5C7C 7C 08 03 A6 */ mtlr r0 +/* 800F8D20 000F5C80 38 21 00 10 */ addi r1, r1, 0x10 +/* 800F8D24 000F5C84 4E 80 00 20 */ blr + +.global ComputeBallMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf +ComputeBallMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf: +/* 800F8D28 000F5C88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F8D2C 000F5C8C 7C 08 02 A6 */ mflr r0 +/* 800F8D30 000F5C90 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F8D34 000F5C94 DB E1 00 18 */ stfd f31, 0x18(r1) +/* 800F8D38 000F5C98 FF E0 08 90 */ fmr f31, f1 +/* 800F8D3C 000F5C9C 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800F8D40 000F5CA0 7C BF 2B 78 */ mr r31, r5 +/* 800F8D44 000F5CA4 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800F8D48 000F5CA8 7C 9E 23 78 */ mr r30, r4 +/* 800F8D4C 000F5CAC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800F8D50 000F5CB0 7C 7D 1B 78 */ mr r29, r3 +/* 800F8D54 000F5CB4 4B FF B6 59 */ bl ComputeBoostBallMovement__10CMorphBallFRC11CFinalInputRC13CStateManagerf +/* 800F8D58 000F5CB8 FC 20 F8 90 */ fmr f1, f31 +/* 800F8D5C 000F5CBC 7F A3 EB 78 */ mr r3, r29 +/* 800F8D60 000F5CC0 7F C4 F3 78 */ mr r4, r30 +/* 800F8D64 000F5CC4 7F E5 FB 78 */ mr r5, r31 +/* 800F8D68 000F5CC8 4B FF DB 11 */ bl ComputeMarioMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf +/* 800F8D6C 000F5CCC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F8D70 000F5CD0 CB E1 00 18 */ lfd f31, 0x18(r1) +/* 800F8D74 000F5CD4 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800F8D78 000F5CD8 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 800F8D7C 000F5CDC 83 A1 00 0C */ lwz r29, 0xc(r1) +/* 800F8D80 000F5CE0 7C 08 03 A6 */ mtlr r0 +/* 800F8D84 000F5CE4 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F8D88 000F5CE8 4E 80 00 20 */ blr + +.global ForwardInput__10CMorphBallCFRC11CFinalInput +ForwardInput__10CMorphBallCFRC11CFinalInput: +/* 800F8D8C 000F5CEC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800F8D90 000F5CF0 7C 08 02 A6 */ mflr r0 +/* 800F8D94 000F5CF4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800F8D98 000F5CF8 DB E1 00 10 */ stfd f31, 0x10(r1) +/* 800F8D9C 000F5CFC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 800F8DA0 000F5D00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800F8DA4 000F5D04 7C 9F 23 78 */ mr r31, r4 +/* 800F8DA8 000F5D08 4B FF FE F1 */ bl IsMovementAllowed__10CMorphBallCFv +/* 800F8DAC 000F5D0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800F8DB0 000F5D10 40 82 00 0C */ bne lbl_800F8DBC +/* 800F8DB4 000F5D14 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F8DB8 000F5D18 48 00 00 24 */ b lbl_800F8DDC +lbl_800F8DBC: +/* 800F8DBC 000F5D1C 7F E4 FB 78 */ mr r4, r31 +/* 800F8DC0 000F5D20 38 60 00 00 */ li r3, 0 +/* 800F8DC4 000F5D24 4B F1 3B 55 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F8DC8 000F5D28 FF E0 08 90 */ fmr f31, f1 +/* 800F8DCC 000F5D2C 7F E4 FB 78 */ mr r4, r31 +/* 800F8DD0 000F5D30 38 60 00 01 */ li r3, 1 +/* 800F8DD4 000F5D34 4B F1 3B 45 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput +/* 800F8DD8 000F5D38 EC 3F 08 28 */ fsubs f1, f31, f1 +lbl_800F8DDC: +/* 800F8DDC 000F5D3C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 800F8DE0 000F5D40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800F8DE4 000F5D44 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 800F8DE8 000F5D48 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800F8DEC 000F5D4C 7C 08 03 A6 */ mtlr r0 +/* 800F8DF0 000F5D50 38 21 00 20 */ addi r1, r1, 0x20 +/* 800F8DF4 000F5D54 4E 80 00 20 */ blr + +.global GetBallTouchRadius__10CMorphBallCFv +GetBallTouchRadius__10CMorphBallCFv: +/* 800F8DF8 000F5D58 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) +/* 800F8DFC 000F5D5C C0 23 02 04 */ lfs f1, 0x204(r3) +/* 800F8E00 000F5D60 4E 80 00 20 */ blr + +.global GetBallRadius__10CMorphBallCFv +GetBallRadius__10CMorphBallCFv: +/* 800F8E04 000F5D64 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 800F8E08 000F5D68 C0 23 02 7C */ lfs f1, 0x27c(r3) +/* 800F8E0C 000F5D6C 4E 80 00 20 */ blr + +.global sub_800f8e10 +sub_800f8e10: +/* 800F8E10 000F5D70 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800F8E14 000F5D74 7C 08 02 A6 */ mflr r0 +/* 800F8E18 000F5D78 90 01 00 34 */ stw r0, 0x34(r1) +/* 800F8E1C 000F5D7C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800F8E20 000F5D80 7C 9F 23 78 */ mr r31, r4 +/* 800F8E24 000F5D84 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800F8E28 000F5D88 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800F8E2C 000F5D8C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800F8E30 000F5D90 93 81 00 20 */ stw r28, 0x20(r1) +/* 800F8E34 000F5D94 41 82 07 1C */ beq lbl_800F9550 +/* 800F8E38 000F5D98 34 1E 1E 50 */ addic. r0, r30, 0x1e50 +/* 800F8E3C 000F5D9C 41 82 00 10 */ beq lbl_800F8E4C +/* 800F8E40 000F5DA0 80 7E 1E 50 */ lwz r3, 0x1e50(r30) +/* 800F8E44 000F5DA4 38 80 00 01 */ li r4, 1 +/* 800F8E48 000F5DA8 48 19 DC 1D */ bl __dt__16CMorphBallShadowFv +lbl_800F8E4C: +/* 800F8E4C 000F5DAC 34 1E 1D 10 */ addic. r0, r30, 0x1d10 +/* 800F8E50 000F5DB0 41 82 00 60 */ beq lbl_800F8EB0 +/* 800F8E54 000F5DB4 34 1E 1D 10 */ addic. r0, r30, 0x1d10 +/* 800F8E58 000F5DB8 41 82 00 58 */ beq lbl_800F8EB0 +/* 800F8E5C 000F5DBC 80 BE 1D 10 */ lwz r5, 0x1d10(r30) +/* 800F8E60 000F5DC0 38 60 00 00 */ li r3, 0 +/* 800F8E64 000F5DC4 2C 05 00 00 */ cmpwi r5, 0 +/* 800F8E68 000F5DC8 40 81 00 40 */ ble lbl_800F8EA8 +/* 800F8E6C 000F5DCC 2C 05 00 08 */ cmpwi r5, 8 +/* 800F8E70 000F5DD0 38 85 FF F8 */ addi r4, r5, -8 +/* 800F8E74 000F5DD4 40 81 00 20 */ ble lbl_800F8E94 +/* 800F8E78 000F5DD8 38 04 00 07 */ addi r0, r4, 7 +/* 800F8E7C 000F5DDC 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F8E80 000F5DE0 7C 09 03 A6 */ mtctr r0 +/* 800F8E84 000F5DE4 2C 04 00 00 */ cmpwi r4, 0 +/* 800F8E88 000F5DE8 40 81 00 0C */ ble lbl_800F8E94 +lbl_800F8E8C: +/* 800F8E8C 000F5DEC 38 63 00 08 */ addi r3, r3, 8 +/* 800F8E90 000F5DF0 42 00 FF FC */ bdnz lbl_800F8E8C +lbl_800F8E94: +/* 800F8E94 000F5DF4 7C 03 28 50 */ subf r0, r3, r5 +/* 800F8E98 000F5DF8 7C 09 03 A6 */ mtctr r0 +/* 800F8E9C 000F5DFC 7C 03 28 00 */ cmpw r3, r5 +/* 800F8EA0 000F5E00 40 80 00 08 */ bge lbl_800F8EA8 +lbl_800F8EA4: +/* 800F8EA4 000F5E04 42 00 00 00 */ bdnz lbl_800F8EA4 +lbl_800F8EA8: +/* 800F8EA8 000F5E08 38 00 00 00 */ li r0, 0 +/* 800F8EAC 000F5E0C 90 1E 1D 10 */ stw r0, 0x1d10(r30) +lbl_800F8EB0: +/* 800F8EB0 000F5E10 34 1E 1C D0 */ addic. r0, r30, 0x1cd0 +/* 800F8EB4 000F5E14 41 82 00 60 */ beq lbl_800F8F14 +/* 800F8EB8 000F5E18 34 1E 1C D0 */ addic. r0, r30, 0x1cd0 +/* 800F8EBC 000F5E1C 41 82 00 58 */ beq lbl_800F8F14 +/* 800F8EC0 000F5E20 80 BE 1C D0 */ lwz r5, 0x1cd0(r30) +/* 800F8EC4 000F5E24 38 60 00 00 */ li r3, 0 +/* 800F8EC8 000F5E28 2C 05 00 00 */ cmpwi r5, 0 +/* 800F8ECC 000F5E2C 40 81 00 40 */ ble lbl_800F8F0C +/* 800F8ED0 000F5E30 2C 05 00 08 */ cmpwi r5, 8 +/* 800F8ED4 000F5E34 38 85 FF F8 */ addi r4, r5, -8 +/* 800F8ED8 000F5E38 40 81 00 20 */ ble lbl_800F8EF8 +/* 800F8EDC 000F5E3C 38 04 00 07 */ addi r0, r4, 7 +/* 800F8EE0 000F5E40 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F8EE4 000F5E44 7C 09 03 A6 */ mtctr r0 +/* 800F8EE8 000F5E48 2C 04 00 00 */ cmpwi r4, 0 +/* 800F8EEC 000F5E4C 40 81 00 0C */ ble lbl_800F8EF8 +lbl_800F8EF0: +/* 800F8EF0 000F5E50 38 63 00 08 */ addi r3, r3, 8 +/* 800F8EF4 000F5E54 42 00 FF FC */ bdnz lbl_800F8EF0 +lbl_800F8EF8: +/* 800F8EF8 000F5E58 7C 03 28 50 */ subf r0, r3, r5 +/* 800F8EFC 000F5E5C 7C 09 03 A6 */ mtctr r0 +/* 800F8F00 000F5E60 7C 03 28 00 */ cmpw r3, r5 +/* 800F8F04 000F5E64 40 80 00 08 */ bge lbl_800F8F0C +lbl_800F8F08: +/* 800F8F08 000F5E68 42 00 00 00 */ bdnz lbl_800F8F08 +lbl_800F8F0C: +/* 800F8F0C 000F5E6C 38 00 00 00 */ li r0, 0 +/* 800F8F10 000F5E70 90 1E 1C D0 */ stw r0, 0x1cd0(r30) +lbl_800F8F14: +/* 800F8F14 000F5E74 34 1E 1C 90 */ addic. r0, r30, 0x1c90 +/* 800F8F18 000F5E78 41 82 00 60 */ beq lbl_800F8F78 +/* 800F8F1C 000F5E7C 34 1E 1C 90 */ addic. r0, r30, 0x1c90 +/* 800F8F20 000F5E80 41 82 00 58 */ beq lbl_800F8F78 +/* 800F8F24 000F5E84 80 BE 1C 90 */ lwz r5, 0x1c90(r30) +/* 800F8F28 000F5E88 38 60 00 00 */ li r3, 0 +/* 800F8F2C 000F5E8C 2C 05 00 00 */ cmpwi r5, 0 +/* 800F8F30 000F5E90 40 81 00 40 */ ble lbl_800F8F70 +/* 800F8F34 000F5E94 2C 05 00 08 */ cmpwi r5, 8 +/* 800F8F38 000F5E98 38 85 FF F8 */ addi r4, r5, -8 +/* 800F8F3C 000F5E9C 40 81 00 20 */ ble lbl_800F8F5C +/* 800F8F40 000F5EA0 38 04 00 07 */ addi r0, r4, 7 +/* 800F8F44 000F5EA4 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F8F48 000F5EA8 7C 09 03 A6 */ mtctr r0 +/* 800F8F4C 000F5EAC 2C 04 00 00 */ cmpwi r4, 0 +/* 800F8F50 000F5EB0 40 81 00 0C */ ble lbl_800F8F5C +lbl_800F8F54: +/* 800F8F54 000F5EB4 38 63 00 08 */ addi r3, r3, 8 +/* 800F8F58 000F5EB8 42 00 FF FC */ bdnz lbl_800F8F54 +lbl_800F8F5C: +/* 800F8F5C 000F5EBC 7C 03 28 50 */ subf r0, r3, r5 +/* 800F8F60 000F5EC0 7C 09 03 A6 */ mtctr r0 +/* 800F8F64 000F5EC4 7C 03 28 00 */ cmpw r3, r5 +/* 800F8F68 000F5EC8 40 80 00 08 */ bge lbl_800F8F70 +lbl_800F8F6C: +/* 800F8F6C 000F5ECC 42 00 00 00 */ bdnz lbl_800F8F6C +lbl_800F8F70: +/* 800F8F70 000F5ED0 38 00 00 00 */ li r0, 0 +/* 800F8F74 000F5ED4 90 1E 1C 90 */ stw r0, 0x1c90(r30) +lbl_800F8F78: +/* 800F8F78 000F5ED8 34 1E 1C 3C */ addic. r0, r30, 0x1c3c +/* 800F8F7C 000F5EDC 41 82 00 60 */ beq lbl_800F8FDC +/* 800F8F80 000F5EE0 34 1E 1C 3C */ addic. r0, r30, 0x1c3c +/* 800F8F84 000F5EE4 41 82 00 58 */ beq lbl_800F8FDC +/* 800F8F88 000F5EE8 80 BE 1C 3C */ lwz r5, 0x1c3c(r30) +/* 800F8F8C 000F5EEC 38 60 00 00 */ li r3, 0 +/* 800F8F90 000F5EF0 2C 05 00 00 */ cmpwi r5, 0 +/* 800F8F94 000F5EF4 40 81 00 40 */ ble lbl_800F8FD4 +/* 800F8F98 000F5EF8 2C 05 00 08 */ cmpwi r5, 8 +/* 800F8F9C 000F5EFC 38 85 FF F8 */ addi r4, r5, -8 +/* 800F8FA0 000F5F00 40 81 00 20 */ ble lbl_800F8FC0 +/* 800F8FA4 000F5F04 38 04 00 07 */ addi r0, r4, 7 +/* 800F8FA8 000F5F08 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F8FAC 000F5F0C 7C 09 03 A6 */ mtctr r0 +/* 800F8FB0 000F5F10 2C 04 00 00 */ cmpwi r4, 0 +/* 800F8FB4 000F5F14 40 81 00 0C */ ble lbl_800F8FC0 +lbl_800F8FB8: +/* 800F8FB8 000F5F18 38 63 00 08 */ addi r3, r3, 8 +/* 800F8FBC 000F5F1C 42 00 FF FC */ bdnz lbl_800F8FB8 +lbl_800F8FC0: +/* 800F8FC0 000F5F20 7C 03 28 50 */ subf r0, r3, r5 +/* 800F8FC4 000F5F24 7C 09 03 A6 */ mtctr r0 +/* 800F8FC8 000F5F28 7C 03 28 00 */ cmpw r3, r5 +/* 800F8FCC 000F5F2C 40 80 00 08 */ bge lbl_800F8FD4 +lbl_800F8FD0: +/* 800F8FD0 000F5F30 42 00 00 00 */ bdnz lbl_800F8FD0 +lbl_800F8FD4: +/* 800F8FD4 000F5F34 38 00 00 00 */ li r0, 0 +/* 800F8FD8 000F5F38 90 1E 1C 3C */ stw r0, 0x1c3c(r30) +lbl_800F8FDC: +/* 800F8FDC 000F5F3C 38 7E 1C 1C */ addi r3, r30, 0x1c1c +/* 800F8FE0 000F5F40 38 80 FF FF */ li r4, -1 +/* 800F8FE4 000F5F44 4B F4 9F 95 */ bl "__dt__Q24rstl34single_ptr<20CRainSplashGenerator>" +/* 800F8FE8 000F5F48 34 1E 1C 18 */ addic. r0, r30, 0x1c18 +/* 800F8FEC 000F5F4C 41 82 00 10 */ beq lbl_800F8FFC +/* 800F8FF0 000F5F50 80 7E 1C 18 */ lwz r3, 0x1c18(r30) +/* 800F8FF4 000F5F54 38 80 00 01 */ li r4, 1 +/* 800F8FF8 000F5F58 48 00 C0 DD */ bl __dt__12CActorLightsFv +lbl_800F8FFC: +/* 800F8FFC 000F5F5C 34 1E 1C 14 */ addic. r0, r30, 0x1c14 +/* 800F9000 000F5F60 41 82 00 10 */ beq lbl_800F9010 +/* 800F9004 000F5F64 80 7E 1C 14 */ lwz r3, 0x1c14(r30) +/* 800F9008 000F5F68 38 80 00 01 */ li r4, 1 +/* 800F900C 000F5F6C 48 01 8B 49 */ bl __dt__12CWorldShadowFv +lbl_800F9010: +/* 800F9010 000F5F70 34 1E 1B C8 */ addic. r0, r30, 0x1bc8 +/* 800F9014 000F5F74 41 82 00 60 */ beq lbl_800F9074 +/* 800F9018 000F5F78 3B 9E 1B CC */ addi r28, r30, 0x1bcc +/* 800F901C 000F5F7C 3B A0 00 00 */ li r29, 0 +/* 800F9020 000F5F80 48 00 00 40 */ b lbl_800F9060 +lbl_800F9024: +/* 800F9024 000F5F84 28 1C 00 00 */ cmplwi r28, 0 +/* 800F9028 000F5F88 41 82 00 30 */ beq lbl_800F9058 +/* 800F902C 000F5F8C 88 1C 00 00 */ lbz r0, 0(r28) +/* 800F9030 000F5F90 28 00 00 00 */ cmplwi r0, 0 +/* 800F9034 000F5F94 41 82 00 24 */ beq lbl_800F9058 +/* 800F9038 000F5F98 80 7C 00 04 */ lwz r3, 4(r28) +/* 800F903C 000F5F9C 28 03 00 00 */ cmplwi r3, 0 +/* 800F9040 000F5FA0 41 82 00 18 */ beq lbl_800F9058 +/* 800F9044 000F5FA4 81 83 00 00 */ lwz r12, 0(r3) +/* 800F9048 000F5FA8 38 80 00 01 */ li r4, 1 +/* 800F904C 000F5FAC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F9050 000F5FB0 7D 89 03 A6 */ mtctr r12 +/* 800F9054 000F5FB4 4E 80 04 21 */ bctrl +lbl_800F9058: +/* 800F9058 000F5FB8 3B 9C 00 08 */ addi r28, r28, 8 +/* 800F905C 000F5FBC 3B BD 00 01 */ addi r29, r29, 1 +lbl_800F9060: +/* 800F9060 000F5FC0 80 1E 1B C8 */ lwz r0, 0x1bc8(r30) +/* 800F9064 000F5FC4 7C 1D 00 00 */ cmpw r29, r0 +/* 800F9068 000F5FC8 41 80 FF BC */ blt lbl_800F9024 +/* 800F906C 000F5FCC 38 00 00 00 */ li r0, 0 +/* 800F9070 000F5FD0 90 1E 1B C8 */ stw r0, 0x1bc8(r30) +lbl_800F9074: +/* 800F9074 000F5FD4 34 1E 1B 84 */ addic. r0, r30, 0x1b84 +/* 800F9078 000F5FD8 41 82 00 40 */ beq lbl_800F90B8 +/* 800F907C 000F5FDC 3B 9E 1B 88 */ addi r28, r30, 0x1b88 +/* 800F9080 000F5FE0 3B A0 00 00 */ li r29, 0 +/* 800F9084 000F5FE4 48 00 00 20 */ b lbl_800F90A4 +lbl_800F9088: +/* 800F9088 000F5FE8 28 1C 00 00 */ cmplwi r28, 0 +/* 800F908C 000F5FEC 41 82 00 10 */ beq lbl_800F909C +/* 800F9090 000F5FF0 7F 83 E3 78 */ mr r3, r28 +/* 800F9094 000F5FF4 38 80 00 00 */ li r4, 0 +/* 800F9098 000F5FF8 48 24 7D A9 */ bl __dt__6CTokenFv +lbl_800F909C: +/* 800F909C 000F5FFC 3B 9C 00 08 */ addi r28, r28, 8 +/* 800F90A0 000F6000 3B BD 00 01 */ addi r29, r29, 1 +lbl_800F90A4: +/* 800F90A4 000F6004 80 1E 1B 84 */ lwz r0, 0x1b84(r30) +/* 800F90A8 000F6008 7C 1D 00 00 */ cmpw r29, r0 +/* 800F90AC 000F600C 41 80 FF DC */ blt lbl_800F9088 +/* 800F90B0 000F6010 38 00 00 00 */ li r0, 0 +/* 800F90B4 000F6014 90 1E 1B 84 */ stw r0, 0x1b84(r30) +lbl_800F90B8: +/* 800F90B8 000F6018 38 7E 1B 68 */ addi r3, r30, 0x1b68 +/* 800F90BC 000F601C 38 80 FF FF */ li r4, -1 +/* 800F90C0 000F6020 48 00 13 F5 */ bl sub_800fa4b4 +/* 800F90C4 000F6024 34 1E 19 E4 */ addic. r0, r30, 0x19e4 +/* 800F90C8 000F6028 41 82 00 64 */ beq lbl_800F912C +/* 800F90CC 000F602C 3B 9E 19 E8 */ addi r28, r30, 0x19e8 +/* 800F90D0 000F6030 3B A0 00 00 */ li r29, 0 +/* 800F90D4 000F6034 48 00 00 44 */ b lbl_800F9118 +lbl_800F90D8: +/* 800F90D8 000F6038 28 1C 00 00 */ cmplwi r28, 0 +/* 800F90DC 000F603C 41 82 00 34 */ beq lbl_800F9110 +/* 800F90E0 000F6040 41 82 00 30 */ beq lbl_800F9110 +/* 800F90E4 000F6044 88 1C 00 00 */ lbz r0, 0(r28) +/* 800F90E8 000F6048 28 00 00 00 */ cmplwi r0, 0 +/* 800F90EC 000F604C 41 82 00 24 */ beq lbl_800F9110 +/* 800F90F0 000F6050 80 7C 00 04 */ lwz r3, 4(r28) +/* 800F90F4 000F6054 28 03 00 00 */ cmplwi r3, 0 +/* 800F90F8 000F6058 41 82 00 18 */ beq lbl_800F9110 +/* 800F90FC 000F605C 81 83 00 00 */ lwz r12, 0(r3) +/* 800F9100 000F6060 38 80 00 01 */ li r4, 1 +/* 800F9104 000F6064 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F9108 000F6068 7D 89 03 A6 */ mtctr r12 +/* 800F910C 000F606C 4E 80 04 21 */ bctrl +lbl_800F9110: +/* 800F9110 000F6070 3B 9C 00 0C */ addi r28, r28, 0xc +/* 800F9114 000F6074 3B BD 00 01 */ addi r29, r29, 1 +lbl_800F9118: +/* 800F9118 000F6078 80 1E 19 E4 */ lwz r0, 0x19e4(r30) +/* 800F911C 000F607C 7C 1D 00 00 */ cmpw r29, r0 +/* 800F9120 000F6080 41 80 FF B8 */ blt lbl_800F90D8 +/* 800F9124 000F6084 38 00 00 00 */ li r0, 0 +/* 800F9128 000F6088 90 1E 19 E4 */ stw r0, 0x19e4(r30) +lbl_800F912C: +/* 800F912C 000F608C 34 1E 19 E0 */ addic. r0, r30, 0x19e0 +/* 800F9130 000F6090 41 82 00 24 */ beq lbl_800F9154 +/* 800F9134 000F6094 80 7E 19 E0 */ lwz r3, 0x19e0(r30) +/* 800F9138 000F6098 28 03 00 00 */ cmplwi r3, 0 +/* 800F913C 000F609C 41 82 00 18 */ beq lbl_800F9154 +/* 800F9140 000F60A0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F9144 000F60A4 38 80 00 01 */ li r4, 1 +/* 800F9148 000F60A8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F914C 000F60AC 7D 89 03 A6 */ mtctr r12 +/* 800F9150 000F60B0 4E 80 04 21 */ bctrl +lbl_800F9154: +/* 800F9154 000F60B4 34 1E 19 DC */ addic. r0, r30, 0x19dc +/* 800F9158 000F60B8 41 82 00 24 */ beq lbl_800F917C +/* 800F915C 000F60BC 80 7E 19 DC */ lwz r3, 0x19dc(r30) +/* 800F9160 000F60C0 28 03 00 00 */ cmplwi r3, 0 +/* 800F9164 000F60C4 41 82 00 18 */ beq lbl_800F917C +/* 800F9168 000F60C8 81 83 00 00 */ lwz r12, 0(r3) +/* 800F916C 000F60CC 38 80 00 01 */ li r4, 1 +/* 800F9170 000F60D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F9174 000F60D4 7D 89 03 A6 */ mtctr r12 +/* 800F9178 000F60D8 4E 80 04 21 */ bctrl +lbl_800F917C: +/* 800F917C 000F60DC 34 1E 19 D8 */ addic. r0, r30, 0x19d8 +/* 800F9180 000F60E0 41 82 00 24 */ beq lbl_800F91A4 +/* 800F9184 000F60E4 80 7E 19 D8 */ lwz r3, 0x19d8(r30) +/* 800F9188 000F60E8 28 03 00 00 */ cmplwi r3, 0 +/* 800F918C 000F60EC 41 82 00 18 */ beq lbl_800F91A4 +/* 800F9190 000F60F0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F9194 000F60F4 38 80 00 01 */ li r4, 1 +/* 800F9198 000F60F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F919C 000F60FC 7D 89 03 A6 */ mtctr r12 +/* 800F91A0 000F6100 4E 80 04 21 */ bctrl +lbl_800F91A4: +/* 800F91A4 000F6104 34 1E 19 D4 */ addic. r0, r30, 0x19d4 +/* 800F91A8 000F6108 41 82 00 24 */ beq lbl_800F91CC +/* 800F91AC 000F610C 80 7E 19 D4 */ lwz r3, 0x19d4(r30) +/* 800F91B0 000F6110 28 03 00 00 */ cmplwi r3, 0 +/* 800F91B4 000F6114 41 82 00 18 */ beq lbl_800F91CC +/* 800F91B8 000F6118 81 83 00 00 */ lwz r12, 0(r3) +/* 800F91BC 000F611C 38 80 00 01 */ li r4, 1 +/* 800F91C0 000F6120 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F91C4 000F6124 7D 89 03 A6 */ mtctr r12 +/* 800F91C8 000F6128 4E 80 04 21 */ bctrl +lbl_800F91CC: +/* 800F91CC 000F612C 34 1E 19 D0 */ addic. r0, r30, 0x19d0 +/* 800F91D0 000F6130 41 82 00 24 */ beq lbl_800F91F4 +/* 800F91D4 000F6134 80 7E 19 D0 */ lwz r3, 0x19d0(r30) +/* 800F91D8 000F6138 28 03 00 00 */ cmplwi r3, 0 +/* 800F91DC 000F613C 41 82 00 18 */ beq lbl_800F91F4 +/* 800F91E0 000F6140 81 83 00 00 */ lwz r12, 0(r3) +/* 800F91E4 000F6144 38 80 00 01 */ li r4, 1 +/* 800F91E8 000F6148 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F91EC 000F614C 7D 89 03 A6 */ mtctr r12 +/* 800F91F0 000F6150 4E 80 04 21 */ bctrl +lbl_800F91F4: +/* 800F91F4 000F6154 34 1E 19 CC */ addic. r0, r30, 0x19cc +/* 800F91F8 000F6158 41 82 00 24 */ beq lbl_800F921C +/* 800F91FC 000F615C 80 7E 19 CC */ lwz r3, 0x19cc(r30) +/* 800F9200 000F6160 28 03 00 00 */ cmplwi r3, 0 +/* 800F9204 000F6164 41 82 00 18 */ beq lbl_800F921C +/* 800F9208 000F6168 81 83 00 00 */ lwz r12, 0(r3) +/* 800F920C 000F616C 38 80 00 01 */ li r4, 1 +/* 800F9210 000F6170 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F9214 000F6174 7D 89 03 A6 */ mtctr r12 +/* 800F9218 000F6178 4E 80 04 21 */ bctrl +lbl_800F921C: +/* 800F921C 000F617C 34 1E 19 C8 */ addic. r0, r30, 0x19c8 +/* 800F9220 000F6180 41 82 00 24 */ beq lbl_800F9244 +/* 800F9224 000F6184 80 7E 19 C8 */ lwz r3, 0x19c8(r30) +/* 800F9228 000F6188 28 03 00 00 */ cmplwi r3, 0 +/* 800F922C 000F618C 41 82 00 18 */ beq lbl_800F9244 +/* 800F9230 000F6190 81 83 00 00 */ lwz r12, 0(r3) +/* 800F9234 000F6194 38 80 00 01 */ li r4, 1 +/* 800F9238 000F6198 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F923C 000F619C 7D 89 03 A6 */ mtctr r12 +/* 800F9240 000F61A0 4E 80 04 21 */ bctrl +lbl_800F9244: +/* 800F9244 000F61A4 34 1E 19 C4 */ addic. r0, r30, 0x19c4 +/* 800F9248 000F61A8 41 82 00 24 */ beq lbl_800F926C +/* 800F924C 000F61AC 80 7E 19 C4 */ lwz r3, 0x19c4(r30) +/* 800F9250 000F61B0 28 03 00 00 */ cmplwi r3, 0 +/* 800F9254 000F61B4 41 82 00 18 */ beq lbl_800F926C +/* 800F9258 000F61B8 81 83 00 00 */ lwz r12, 0(r3) +/* 800F925C 000F61BC 38 80 00 01 */ li r4, 1 +/* 800F9260 000F61C0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F9264 000F61C4 7D 89 03 A6 */ mtctr r12 +/* 800F9268 000F61C8 4E 80 04 21 */ bctrl +lbl_800F926C: +/* 800F926C 000F61CC 34 1E 19 C0 */ addic. r0, r30, 0x19c0 +/* 800F9270 000F61D0 41 82 00 24 */ beq lbl_800F9294 +/* 800F9274 000F61D4 80 7E 19 C0 */ lwz r3, 0x19c0(r30) +/* 800F9278 000F61D8 28 03 00 00 */ cmplwi r3, 0 +/* 800F927C 000F61DC 41 82 00 18 */ beq lbl_800F9294 +/* 800F9280 000F61E0 81 83 00 00 */ lwz r12, 0(r3) +/* 800F9284 000F61E4 38 80 00 01 */ li r4, 1 +/* 800F9288 000F61E8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F928C 000F61EC 7D 89 03 A6 */ mtctr r12 +/* 800F9290 000F61F0 4E 80 04 21 */ bctrl +lbl_800F9294: +/* 800F9294 000F61F4 34 1E 19 BC */ addic. r0, r30, 0x19bc +/* 800F9298 000F61F8 41 82 00 24 */ beq lbl_800F92BC +/* 800F929C 000F61FC 80 7E 19 BC */ lwz r3, 0x19bc(r30) +/* 800F92A0 000F6200 28 03 00 00 */ cmplwi r3, 0 +/* 800F92A4 000F6204 41 82 00 18 */ beq lbl_800F92BC +/* 800F92A8 000F6208 81 83 00 00 */ lwz r12, 0(r3) +/* 800F92AC 000F620C 38 80 00 01 */ li r4, 1 +/* 800F92B0 000F6210 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F92B4 000F6214 7D 89 03 A6 */ mtctr r12 +/* 800F92B8 000F6218 4E 80 04 21 */ bctrl +lbl_800F92BC: +/* 800F92BC 000F621C 34 1E 19 B8 */ addic. r0, r30, 0x19b8 +/* 800F92C0 000F6220 41 82 00 24 */ beq lbl_800F92E4 +/* 800F92C4 000F6224 80 7E 19 B8 */ lwz r3, 0x19b8(r30) +/* 800F92C8 000F6228 28 03 00 00 */ cmplwi r3, 0 +/* 800F92CC 000F622C 41 82 00 18 */ beq lbl_800F92E4 +/* 800F92D0 000F6230 81 83 00 00 */ lwz r12, 0(r3) +/* 800F92D4 000F6234 38 80 00 01 */ li r4, 1 +/* 800F92D8 000F6238 81 8C 00 08 */ lwz r12, 8(r12) +/* 800F92DC 000F623C 7D 89 03 A6 */ mtctr r12 +/* 800F92E0 000F6240 4E 80 04 21 */ bctrl +lbl_800F92E4: +/* 800F92E4 000F6244 34 1E 19 B0 */ addic. r0, r30, 0x19b0 +/* 800F92E8 000F6248 41 82 00 10 */ beq lbl_800F92F8 +/* 800F92EC 000F624C 38 7E 19 B0 */ addi r3, r30, 0x19b0 +/* 800F92F0 000F6250 38 80 00 00 */ li r4, 0 +/* 800F92F4 000F6254 48 24 7B 4D */ bl __dt__6CTokenFv +lbl_800F92F8: +/* 800F92F8 000F6258 34 1E 19 A8 */ addic. r0, r30, 0x19a8 +/* 800F92FC 000F625C 41 82 00 10 */ beq lbl_800F930C +/* 800F9300 000F6260 38 7E 19 A8 */ addi r3, r30, 0x19a8 +/* 800F9304 000F6264 38 80 00 00 */ li r4, 0 +/* 800F9308 000F6268 48 24 7B 39 */ bl __dt__6CTokenFv +lbl_800F930C: +/* 800F930C 000F626C 34 1E 19 A0 */ addic. r0, r30, 0x19a0 +/* 800F9310 000F6270 41 82 00 10 */ beq lbl_800F9320 +/* 800F9314 000F6274 38 7E 19 A0 */ addi r3, r30, 0x19a0 +/* 800F9318 000F6278 38 80 00 00 */ li r4, 0 +/* 800F931C 000F627C 48 24 7B 25 */ bl __dt__6CTokenFv +lbl_800F9320: +/* 800F9320 000F6280 34 1E 19 98 */ addic. r0, r30, 0x1998 +/* 800F9324 000F6284 41 82 00 10 */ beq lbl_800F9334 +/* 800F9328 000F6288 38 7E 19 98 */ addi r3, r30, 0x1998 +/* 800F932C 000F628C 38 80 00 00 */ li r4, 0 +/* 800F9330 000F6290 48 24 7B 11 */ bl __dt__6CTokenFv +lbl_800F9334: +/* 800F9334 000F6294 34 1E 19 90 */ addic. r0, r30, 0x1990 +/* 800F9338 000F6298 41 82 00 10 */ beq lbl_800F9348 +/* 800F933C 000F629C 38 7E 19 90 */ addi r3, r30, 0x1990 +/* 800F9340 000F62A0 38 80 00 00 */ li r4, 0 +/* 800F9344 000F62A4 48 24 7A FD */ bl __dt__6CTokenFv +lbl_800F9348: +/* 800F9348 000F62A8 34 1E 19 88 */ addic. r0, r30, 0x1988 +/* 800F934C 000F62AC 41 82 00 10 */ beq lbl_800F935C +/* 800F9350 000F62B0 38 7E 19 88 */ addi r3, r30, 0x1988 +/* 800F9354 000F62B4 38 80 00 00 */ li r4, 0 +/* 800F9358 000F62B8 48 24 7A E9 */ bl __dt__6CTokenFv +lbl_800F935C: +/* 800F935C 000F62BC 34 1E 19 80 */ addic. r0, r30, 0x1980 +/* 800F9360 000F62C0 41 82 00 10 */ beq lbl_800F9370 +/* 800F9364 000F62C4 38 7E 19 80 */ addi r3, r30, 0x1980 +/* 800F9368 000F62C8 38 80 00 00 */ li r4, 0 +/* 800F936C 000F62CC 48 24 7A D5 */ bl __dt__6CTokenFv +lbl_800F9370: +/* 800F9370 000F62D0 34 1E 19 78 */ addic. r0, r30, 0x1978 +/* 800F9374 000F62D4 41 82 00 10 */ beq lbl_800F9384 +/* 800F9378 000F62D8 38 7E 19 78 */ addi r3, r30, 0x1978 +/* 800F937C 000F62DC 38 80 00 00 */ li r4, 0 +/* 800F9380 000F62E0 48 24 7A C1 */ bl __dt__6CTokenFv +lbl_800F9384: +/* 800F9384 000F62E4 34 1E 19 70 */ addic. r0, r30, 0x1970 +/* 800F9388 000F62E8 41 82 00 10 */ beq lbl_800F9398 +/* 800F938C 000F62EC 38 7E 19 70 */ addi r3, r30, 0x1970 +/* 800F9390 000F62F0 38 80 00 00 */ li r4, 0 +/* 800F9394 000F62F4 48 24 7A AD */ bl __dt__6CTokenFv +lbl_800F9398: +/* 800F9398 000F62F8 34 1E 19 68 */ addic. r0, r30, 0x1968 +/* 800F939C 000F62FC 41 82 00 10 */ beq lbl_800F93AC +/* 800F93A0 000F6300 38 7E 19 68 */ addi r3, r30, 0x1968 +/* 800F93A4 000F6304 38 80 00 00 */ li r4, 0 +/* 800F93A8 000F6308 48 24 7A 99 */ bl __dt__6CTokenFv +lbl_800F93AC: +/* 800F93AC 000F630C 34 1E 19 58 */ addic. r0, r30, 0x1958 +/* 800F93B0 000F6310 41 82 00 50 */ beq lbl_800F9400 +/* 800F93B4 000F6314 80 1E 19 5C */ lwz r0, 0x195c(r30) +/* 800F93B8 000F6318 83 9E 19 64 */ lwz r28, 0x1964(r30) +/* 800F93BC 000F631C 54 00 18 38 */ slwi r0, r0, 3 +/* 800F93C0 000F6320 7F BC 02 14 */ add r29, r28, r0 +/* 800F93C4 000F6324 93 81 00 0C */ stw r28, 0xc(r1) +/* 800F93C8 000F6328 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800F93CC 000F632C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 800F93D0 000F6330 93 81 00 08 */ stw r28, 8(r1) +/* 800F93D4 000F6334 48 00 00 14 */ b lbl_800F93E8 +lbl_800F93D8: +/* 800F93D8 000F6338 7F 83 E3 78 */ mr r3, r28 +/* 800F93DC 000F633C 38 80 FF FF */ li r4, -1 +/* 800F93E0 000F6340 48 24 7A 61 */ bl __dt__6CTokenFv +/* 800F93E4 000F6344 3B 9C 00 08 */ addi r28, r28, 8 +lbl_800F93E8: +/* 800F93E8 000F6348 7C 1C E8 40 */ cmplw r28, r29 +/* 800F93EC 000F634C 40 82 FF EC */ bne lbl_800F93D8 +/* 800F93F0 000F6350 80 7E 19 64 */ lwz r3, 0x1964(r30) +/* 800F93F4 000F6354 28 03 00 00 */ cmplwi r3, 0 +/* 800F93F8 000F6358 41 82 00 08 */ beq lbl_800F9400 +/* 800F93FC 000F635C 48 21 C5 35 */ bl Free__7CMemoryFPCv +lbl_800F9400: +/* 800F9400 000F6360 34 1E 0C 78 */ addic. r0, r30, 0xc78 +/* 800F9404 000F6364 41 82 00 60 */ beq lbl_800F9464 +/* 800F9408 000F6368 34 1E 0C 78 */ addic. r0, r30, 0xc78 +/* 800F940C 000F636C 41 82 00 58 */ beq lbl_800F9464 +/* 800F9410 000F6370 80 BE 0C 78 */ lwz r5, 0xc78(r30) +/* 800F9414 000F6374 38 60 00 00 */ li r3, 0 +/* 800F9418 000F6378 2C 05 00 00 */ cmpwi r5, 0 +/* 800F941C 000F637C 40 81 00 40 */ ble lbl_800F945C +/* 800F9420 000F6380 2C 05 00 08 */ cmpwi r5, 8 +/* 800F9424 000F6384 38 85 FF F8 */ addi r4, r5, -8 +/* 800F9428 000F6388 40 81 00 20 */ ble lbl_800F9448 +/* 800F942C 000F638C 38 04 00 07 */ addi r0, r4, 7 +/* 800F9430 000F6390 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F9434 000F6394 7C 09 03 A6 */ mtctr r0 +/* 800F9438 000F6398 2C 04 00 00 */ cmpwi r4, 0 +/* 800F943C 000F639C 40 81 00 0C */ ble lbl_800F9448 +lbl_800F9440: +/* 800F9440 000F63A0 38 63 00 08 */ addi r3, r3, 8 +/* 800F9444 000F63A4 42 00 FF FC */ bdnz lbl_800F9440 +lbl_800F9448: +/* 800F9448 000F63A8 7C 03 28 50 */ subf r0, r3, r5 +/* 800F944C 000F63AC 7C 09 03 A6 */ mtctr r0 +/* 800F9450 000F63B0 7C 03 28 00 */ cmpw r3, r5 +/* 800F9454 000F63B4 40 80 00 08 */ bge lbl_800F945C +lbl_800F9458: +/* 800F9458 000F63B8 42 00 00 00 */ bdnz lbl_800F9458 +lbl_800F945C: +/* 800F945C 000F63BC 38 00 00 00 */ li r0, 0 +/* 800F9460 000F63C0 90 1E 0C 78 */ stw r0, 0xc78(r30) +lbl_800F9464: +/* 800F9464 000F63C4 34 1E 00 74 */ addic. r0, r30, 0x74 +/* 800F9468 000F63C8 41 82 00 60 */ beq lbl_800F94C8 +/* 800F946C 000F63CC 34 1E 00 74 */ addic. r0, r30, 0x74 +/* 800F9470 000F63D0 41 82 00 58 */ beq lbl_800F94C8 +/* 800F9474 000F63D4 80 BE 00 74 */ lwz r5, 0x74(r30) +/* 800F9478 000F63D8 38 60 00 00 */ li r3, 0 +/* 800F947C 000F63DC 2C 05 00 00 */ cmpwi r5, 0 +/* 800F9480 000F63E0 40 81 00 40 */ ble lbl_800F94C0 +/* 800F9484 000F63E4 2C 05 00 08 */ cmpwi r5, 8 +/* 800F9488 000F63E8 38 85 FF F8 */ addi r4, r5, -8 +/* 800F948C 000F63EC 40 81 00 20 */ ble lbl_800F94AC +/* 800F9490 000F63F0 38 04 00 07 */ addi r0, r4, 7 +/* 800F9494 000F63F4 54 00 E8 FE */ srwi r0, r0, 3 +/* 800F9498 000F63F8 7C 09 03 A6 */ mtctr r0 +/* 800F949C 000F63FC 2C 04 00 00 */ cmpwi r4, 0 +/* 800F94A0 000F6400 40 81 00 0C */ ble lbl_800F94AC +lbl_800F94A4: +/* 800F94A4 000F6404 38 63 00 08 */ addi r3, r3, 8 +/* 800F94A8 000F6408 42 00 FF FC */ bdnz lbl_800F94A4 +lbl_800F94AC: +/* 800F94AC 000F640C 7C 03 28 50 */ subf r0, r3, r5 +/* 800F94B0 000F6410 7C 09 03 A6 */ mtctr r0 +/* 800F94B4 000F6414 7C 03 28 00 */ cmpw r3, r5 +/* 800F94B8 000F6418 40 80 00 08 */ bge lbl_800F94C0 +lbl_800F94BC: +/* 800F94BC 000F641C 42 00 00 00 */ bdnz lbl_800F94BC +lbl_800F94C0: +/* 800F94C0 000F6420 38 00 00 00 */ li r0, 0 +/* 800F94C4 000F6424 90 1E 00 74 */ stw r0, 0x74(r30) +lbl_800F94C8: +/* 800F94C8 000F6428 34 1E 00 70 */ addic. r0, r30, 0x70 +/* 800F94CC 000F642C 41 82 00 10 */ beq lbl_800F94DC +/* 800F94D0 000F6430 80 7E 00 70 */ lwz r3, 0x70(r30) +/* 800F94D4 000F6434 38 80 00 01 */ li r4, 1 +/* 800F94D8 000F6438 48 01 D5 75 */ bl __dt__10CModelDataFv +lbl_800F94DC: +/* 800F94DC 000F643C 34 1E 00 68 */ addic. r0, r30, 0x68 +/* 800F94E0 000F6440 41 82 00 10 */ beq lbl_800F94F0 +/* 800F94E4 000F6444 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 800F94E8 000F6448 38 80 00 01 */ li r4, 1 +/* 800F94EC 000F644C 48 01 D5 61 */ bl __dt__10CModelDataFv +lbl_800F94F0: +/* 800F94F0 000F6450 34 1E 00 60 */ addic. r0, r30, 0x60 +/* 800F94F4 000F6454 41 82 00 10 */ beq lbl_800F9504 +/* 800F94F8 000F6458 80 7E 00 60 */ lwz r3, 0x60(r30) +/* 800F94FC 000F645C 38 80 00 01 */ li r4, 1 +/* 800F9500 000F6460 48 01 D5 4D */ bl __dt__10CModelDataFv +lbl_800F9504: +/* 800F9504 000F6464 34 1E 00 58 */ addic. r0, r30, 0x58 +/* 800F9508 000F6468 41 82 00 10 */ beq lbl_800F9518 +/* 800F950C 000F646C 80 7E 00 58 */ lwz r3, 0x58(r30) +/* 800F9510 000F6470 38 80 00 01 */ li r4, 1 +/* 800F9514 000F6474 48 01 D5 39 */ bl __dt__10CModelDataFv +lbl_800F9518: +/* 800F9518 000F6478 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 800F951C 000F647C 41 82 00 24 */ beq lbl_800F9540 +/* 800F9520 000F6480 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 800F9524 000F6484 34 1E 00 38 */ addic. r0, r30, 0x38 +/* 800F9528 000F6488 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 800F952C 000F648C 90 1E 00 38 */ stw r0, 0x38(r30) +/* 800F9530 000F6490 41 82 00 10 */ beq lbl_800F9540 +/* 800F9534 000F6494 3C 60 80 3E */ lis r3, lbl_803D97E4@ha +/* 800F9538 000F6498 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l +/* 800F953C 000F649C 90 1E 00 38 */ stw r0, 0x38(r30) +lbl_800F9540: +/* 800F9540 000F64A0 7F E0 07 35 */ extsh. r0, r31 +/* 800F9544 000F64A4 40 81 00 0C */ ble lbl_800F9550 +/* 800F9548 000F64A8 7F C3 F3 78 */ mr r3, r30 +/* 800F954C 000F64AC 48 00 0E C1 */ bl sub_800fa40c +lbl_800F9550: +/* 800F9550 000F64B0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800F9554 000F64B4 7F C3 F3 78 */ mr r3, r30 +/* 800F9558 000F64B8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800F955C 000F64BC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800F9560 000F64C0 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800F9564 000F64C4 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800F9568 000F64C8 7C 08 03 A6 */ mtlr r0 +/* 800F956C 000F64CC 38 21 00 30 */ addi r1, r1, 0x30 +/* 800F9570 000F64D0 4E 80 00 20 */ blr + +.global __ct__10CMorphBallFR7CPlayerf +__ct__10CMorphBallFR7CPlayerf: +/* 800F9574 000F64D4 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 800F9578 000F64D8 7C 08 02 A6 */ mflr r0 +/* 800F957C 000F64DC 90 01 01 64 */ stw r0, 0x164(r1) +/* 800F9580 000F64E0 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 800F9584 000F64E4 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 800F9588 000F64E8 BF 41 01 38 */ stmw r26, 0x138(r1) +/* 800F958C 000F64EC 7C 7F 1B 78 */ mr r31, r3 +/* 800F9590 000F64F0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800F9594 000F64F4 90 9F 00 00 */ stw r4, 0(r31) +/* 800F9598 000F64F8 38 80 FF FF */ li r4, -1 +/* 800F959C 000F64FC 3B C3 66 A0 */ addi r30, r3, skZero3f@l +/* 800F95A0 000F6500 FF E0 08 90 */ fmr f31, f1 +/* 800F95A4 000F6504 90 9F 00 04 */ stw r4, 4(r31) +/* 800F95A8 000F6508 38 00 00 00 */ li r0, 0 +/* 800F95AC 000F650C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F95B0 000F6510 38 60 00 00 */ li r3, 0 +/* 800F95B4 000F6514 90 1F 00 08 */ stw r0, 8(r31) +/* 800F95B8 000F6518 38 80 00 01 */ li r4, 1 +/* 800F95BC 000F651C D3 FF 00 0C */ stfs f31, 0xc(r31) +/* 800F95C0 000F6520 C0 3E 00 00 */ lfs f1, 0(r30) +/* 800F95C4 000F6524 D0 3F 00 10 */ stfs f1, 0x10(r31) +/* 800F95C8 000F6528 C0 3E 00 04 */ lfs f1, 4(r30) +/* 800F95CC 000F652C D0 3F 00 14 */ stfs f1, 0x14(r31) +/* 800F95D0 000F6530 C0 3E 00 08 */ lfs f1, 8(r30) +/* 800F95D4 000F6534 D0 3F 00 18 */ stfs f1, 0x18(r31) +/* 800F95D8 000F6538 C0 3E 00 00 */ lfs f1, 0(r30) +/* 800F95DC 000F653C D0 3F 00 1C */ stfs f1, 0x1c(r31) +/* 800F95E0 000F6540 C0 3E 00 04 */ lfs f1, 4(r30) +/* 800F95E4 000F6544 D0 3F 00 20 */ stfs f1, 0x20(r31) +/* 800F95E8 000F6548 C0 3E 00 08 */ lfs f1, 8(r30) +/* 800F95EC 000F654C D0 3F 00 24 */ stfs f1, 0x24(r31) +/* 800F95F0 000F6550 98 1F 00 28 */ stb r0, 0x28(r31) +/* 800F95F4 000F6554 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 800F95F8 000F6558 D0 1F 00 30 */ stfs f0, 0x30(r31) +/* 800F95FC 000F655C 80 AD 88 34 */ lwz r5, lbl_805A73F4@sda21(r13) +/* 800F9600 000F6560 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800F9604 000F6564 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 800F9608 000F6568 48 29 08 ED */ bl __shl2i +/* 800F960C 000F656C 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 800F9610 000F6570 80 C1 00 B4 */ lwz r6, 0xb4(r1) +/* 800F9614 000F6574 7C 00 1B 78 */ or r0, r0, r3 +/* 800F9618 000F6578 80 AD 88 38 */ lwz r5, lbl_805A73F8@sda21(r13) +/* 800F961C 000F657C 7C C4 23 78 */ or r4, r6, r4 +/* 800F9620 000F6580 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 800F9624 000F6584 38 60 00 00 */ li r3, 0 +/* 800F9628 000F6588 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 800F962C 000F658C 38 80 00 01 */ li r4, 1 +/* 800F9630 000F6590 48 29 08 C5 */ bl __shl2i +/* 800F9634 000F6594 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 800F9638 000F6598 80 C1 00 B4 */ lwz r6, 0xb4(r1) +/* 800F963C 000F659C 7C 00 1B 78 */ or r0, r0, r3 +/* 800F9640 000F65A0 80 AD 88 3C */ lwz r5, lbl_805A73FC@sda21(r13) +/* 800F9644 000F65A4 7C C4 23 78 */ or r4, r6, r4 +/* 800F9648 000F65A8 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 800F964C 000F65AC 38 60 00 00 */ li r3, 0 +/* 800F9650 000F65B0 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 800F9654 000F65B4 38 80 00 01 */ li r4, 1 +/* 800F9658 000F65B8 48 29 08 9D */ bl __shl2i +/* 800F965C 000F65BC 80 01 00 B0 */ lwz r0, 0xb0(r1) +/* 800F9660 000F65C0 3B 5F 00 38 */ addi r26, r31, 0x38 +/* 800F9664 000F65C4 80 A1 00 B4 */ lwz r5, 0xb4(r1) +/* 800F9668 000F65C8 7C 00 1B 78 */ or r0, r0, r3 +/* 800F966C 000F65CC 7F 43 D3 78 */ mr r3, r26 +/* 800F9670 000F65D0 7C A5 23 78 */ or r5, r5, r4 +/* 800F9674 000F65D4 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 800F9678 000F65D8 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800F967C 000F65DC 90 A1 00 B4 */ stw r5, 0xb4(r1) +/* 800F9680 000F65E0 48 1D 62 35 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList +/* 800F9684 000F65E4 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha +/* 800F9688 000F65E8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F968C 000F65EC 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l +/* 800F9690 000F65F0 80 8D A3 2C */ lwz r4, lbl_805A8EEC@sda21(r13) +/* 800F9694 000F65F4 90 1A 00 00 */ stw r0, 0(r26) +/* 800F9698 000F65F8 38 61 01 1C */ addi r3, r1, 0x11c +/* 800F969C 000F65FC D0 1A 00 10 */ stfs f0, 0x10(r26) +/* 800F96A0 000F6600 D0 1A 00 14 */ stfs f0, 0x14(r26) +/* 800F96A4 000F6604 D3 FA 00 18 */ stfs f31, 0x18(r26) +/* 800F96A8 000F6608 D3 FA 00 1C */ stfs f31, 0x1c(r26) +/* 800F96AC 000F660C 4B F0 B6 0D */ bl string_l__4rstlFPCc +/* 800F96B0 000F6610 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 800F96B4 000F6614 38 61 01 1C */ addi r3, r1, 0x11c +/* 800F96B8 000F6618 4B FF 5F 5D */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 800F96BC 000F661C 90 7F 00 58 */ stw r3, 0x58(r31) +/* 800F96C0 000F6620 38 61 01 1C */ addi r3, r1, 0x11c +/* 800F96C4 000F6624 48 24 44 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800F96C8 000F6628 38 00 00 00 */ li r0, 0 +/* 800F96CC 000F662C 80 8D A3 34 */ lwz r4, lbl_805A8EF4@sda21(r13) +/* 800F96D0 000F6630 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 800F96D4 000F6634 38 61 01 0C */ addi r3, r1, 0x10c +/* 800F96D8 000F6638 4B F0 B5 E1 */ bl string_l__4rstlFPCc +/* 800F96DC 000F663C C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 800F96E0 000F6640 38 61 01 0C */ addi r3, r1, 0x10c +/* 800F96E4 000F6644 4B FF 5F 31 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 800F96E8 000F6648 90 7F 00 60 */ stw r3, 0x60(r31) +/* 800F96EC 000F664C 38 61 01 0C */ addi r3, r1, 0x10c +/* 800F96F0 000F6650 48 24 43 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800F96F4 000F6654 38 00 00 00 */ li r0, 0 +/* 800F96F8 000F6658 80 8D A3 30 */ lwz r4, lbl_805A8EF0@sda21(r13) +/* 800F96FC 000F665C 90 1F 00 64 */ stw r0, 0x64(r31) +/* 800F9700 000F6660 38 61 00 FC */ addi r3, r1, 0xfc +/* 800F9704 000F6664 4B F0 B5 B5 */ bl string_l__4rstlFPCc +/* 800F9708 000F6668 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 800F970C 000F666C 38 61 00 FC */ addi r3, r1, 0xfc +/* 800F9710 000F6670 4B FF 5F 05 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 800F9714 000F6674 90 7F 00 68 */ stw r3, 0x68(r31) +/* 800F9718 000F6678 38 61 00 FC */ addi r3, r1, 0xfc +/* 800F971C 000F667C 48 24 43 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800F9720 000F6680 38 00 00 00 */ li r0, 0 +/* 800F9724 000F6684 80 8D A3 38 */ lwz r4, lbl_805A8EF8@sda21(r13) +/* 800F9728 000F6688 90 1F 00 6C */ stw r0, 0x6c(r31) +/* 800F972C 000F668C 38 61 00 EC */ addi r3, r1, 0xec +/* 800F9730 000F6690 4B F0 B5 89 */ bl string_l__4rstlFPCc +/* 800F9734 000F6694 C0 3F 00 0C */ lfs f1, 0xc(r31) +/* 800F9738 000F6698 38 61 00 EC */ addi r3, r1, 0xec +/* 800F973C 000F669C 4B FF 5E D9 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" +/* 800F9740 000F66A0 90 7F 00 70 */ stw r3, 0x70(r31) +/* 800F9744 000F66A4 38 61 00 EC */ addi r3, r1, 0xec +/* 800F9748 000F66A8 48 24 43 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800F974C 000F66AC 38 C0 00 00 */ li r6, 0 +/* 800F9750 000F66B0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800F9754 000F66B4 90 DF 00 74 */ stw r6, 0x74(r31) +/* 800F9758 000F66B8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800F975C 000F66BC 3C A0 80 5A */ lis r5, skZero3f@ha +/* 800F9760 000F66C0 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) +/* 800F9764 000F66C4 90 DF 0C 78 */ stw r6, 0xc78(r31) +/* 800F9768 000F66C8 38 00 00 01 */ li r0, 1 +/* 800F976C 000F66CC C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F9770 000F66D0 38 7F 18 C4 */ addi r3, r31, 0x18c4 +/* 800F9774 000F66D4 90 DF 18 7C */ stw r6, 0x187c(r31) +/* 800F9778 000F66D8 C4 45 66 A0 */ lfsu f2, skZero3f@l(r5) +/* 800F977C 000F66DC D0 5F 18 80 */ stfs f2, 0x1880(r31) +/* 800F9780 000F66E0 C0 5E 00 04 */ lfs f2, 4(r30) +/* 800F9784 000F66E4 D0 5F 18 84 */ stfs f2, 0x1884(r31) +/* 800F9788 000F66E8 C0 5E 00 08 */ lfs f2, 8(r30) +/* 800F978C 000F66EC D0 5F 18 88 */ stfs f2, 0x1888(r31) +/* 800F9790 000F66F0 D0 3F 18 8C */ stfs f1, 0x188c(r31) +/* 800F9794 000F66F4 C0 25 00 00 */ lfs f1, 0(r5) +/* 800F9798 000F66F8 D0 3F 18 90 */ stfs f1, 0x1890(r31) +/* 800F979C 000F66FC C0 3E 00 04 */ lfs f1, 4(r30) +/* 800F97A0 000F6700 D0 3F 18 94 */ stfs f1, 0x1894(r31) +/* 800F97A4 000F6704 C0 3E 00 08 */ lfs f1, 8(r30) +/* 800F97A8 000F6708 D0 3F 18 98 */ stfs f1, 0x1898(r31) +/* 800F97AC 000F670C C0 25 00 00 */ lfs f1, 0(r5) +/* 800F97B0 000F6710 D0 3F 18 9C */ stfs f1, 0x189c(r31) +/* 800F97B4 000F6714 C0 3E 00 04 */ lfs f1, 4(r30) +/* 800F97B8 000F6718 D0 3F 18 A0 */ stfs f1, 0x18a0(r31) +/* 800F97BC 000F671C C0 3E 00 08 */ lfs f1, 8(r30) +/* 800F97C0 000F6720 D0 3F 18 A4 */ stfs f1, 0x18a4(r31) +/* 800F97C4 000F6724 C0 25 00 00 */ lfs f1, 0(r5) +/* 800F97C8 000F6728 D0 3F 18 A8 */ stfs f1, 0x18a8(r31) +/* 800F97CC 000F672C C0 3E 00 04 */ lfs f1, 4(r30) +/* 800F97D0 000F6730 D0 3F 18 AC */ stfs f1, 0x18ac(r31) +/* 800F97D4 000F6734 C0 3E 00 08 */ lfs f1, 8(r30) +/* 800F97D8 000F6738 D0 3F 18 B0 */ stfs f1, 0x18b0(r31) +/* 800F97DC 000F673C D0 1F 18 B4 */ stfs f0, 0x18b4(r31) +/* 800F97E0 000F6740 D0 1F 18 B8 */ stfs f0, 0x18b8(r31) +/* 800F97E4 000F6744 98 DF 18 BC */ stb r6, 0x18bc(r31) +/* 800F97E8 000F6748 98 DF 18 BD */ stb r6, 0x18bd(r31) +/* 800F97EC 000F674C 98 DF 18 BE */ stb r6, 0x18be(r31) +/* 800F97F0 000F6750 98 1F 18 BF */ stb r0, 0x18bf(r31) +/* 800F97F4 000F6754 98 DF 18 C0 */ stb r6, 0x18c0(r31) +/* 800F97F8 000F6758 48 21 93 7D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F97FC 000F675C C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800F9800 000F6760 38 7F 19 0C */ addi r3, r31, 0x190c +/* 800F9804 000F6764 D0 3F 18 F4 */ stfs f1, 0x18f4(r31) +/* 800F9808 000F6768 FC 40 08 90 */ fmr f2, f1 +/* 800F980C 000F676C D0 3F 18 F8 */ stfs f1, 0x18f8(r31) +/* 800F9810 000F6770 D0 3F 18 FC */ stfs f1, 0x18fc(r31) +/* 800F9814 000F6774 D0 3F 19 00 */ stfs f1, 0x1900(r31) +/* 800F9818 000F6778 D0 3F 19 04 */ stfs f1, 0x1904(r31) +/* 800F981C 000F677C D0 3F 19 08 */ stfs f1, 0x1908(r31) +/* 800F9820 000F6780 48 21 A9 E1 */ bl __ct__9CVector2fFff +/* 800F9824 000F6784 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) +/* 800F9828 000F6788 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800F982C 000F678C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800F9830 000F6790 38 00 00 00 */ li r0, 0 +/* 800F9834 000F6794 D0 1F 19 14 */ stfs f0, 0x1914(r31) +/* 800F9838 000F6798 38 7F 19 24 */ addi r3, r31, 0x1924 +/* 800F983C 000F679C D0 1F 19 18 */ stfs f0, 0x1918(r31) +/* 800F9840 000F67A0 D0 1F 19 1C */ stfs f0, 0x191c(r31) +/* 800F9844 000F67A4 98 1F 19 20 */ stb r0, 0x1920(r31) +/* 800F9848 000F67A8 48 21 93 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800F984C 000F67AC 38 00 00 00 */ li r0, 0 +/* 800F9850 000F67B0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9854 000F67B4 98 1F 19 54 */ stb r0, 0x1954(r31) +/* 800F9858 000F67B8 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F985C 000F67BC 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800F9860 000F67C0 90 1F 19 5C */ stw r0, 0x195c(r31) +/* 800F9864 000F67C4 38 A4 01 52 */ addi r5, r4, 0x152 +/* 800F9868 000F67C8 90 1F 19 60 */ stw r0, 0x1960(r31) +/* 800F986C 000F67CC 90 1F 19 64 */ stw r0, 0x1964(r31) +/* 800F9870 000F67D0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F9874 000F67D4 81 84 00 00 */ lwz r12, 0(r4) +/* 800F9878 000F67D8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F987C 000F67DC 7D 89 03 A6 */ mtctr r12 +/* 800F9880 000F67E0 4E 80 04 21 */ bctrl +/* 800F9884 000F67E4 38 7F 19 68 */ addi r3, r31, 0x1968 +/* 800F9888 000F67E8 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800F988C 000F67EC 48 24 76 1D */ bl __ct__6CTokenFRC6CToken +/* 800F9890 000F67F0 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800F9894 000F67F4 38 80 FF FF */ li r4, -1 +/* 800F9898 000F67F8 48 24 75 A9 */ bl __dt__6CTokenFv +/* 800F989C 000F67FC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F98A0 000F6800 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F98A4 000F6804 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800F98A8 000F6808 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800F98AC 000F680C 81 84 00 00 */ lwz r12, 0(r4) +/* 800F98B0 000F6810 38 A5 01 65 */ addi r5, r5, 0x165 +/* 800F98B4 000F6814 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F98B8 000F6818 7D 89 03 A6 */ mtctr r12 +/* 800F98BC 000F681C 4E 80 04 21 */ bctrl +/* 800F98C0 000F6820 38 7F 19 70 */ addi r3, r31, 0x1970 +/* 800F98C4 000F6824 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800F98C8 000F6828 48 24 75 E1 */ bl __ct__6CTokenFRC6CToken +/* 800F98CC 000F682C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800F98D0 000F6830 38 80 FF FF */ li r4, -1 +/* 800F98D4 000F6834 48 24 75 6D */ bl __dt__6CTokenFv +/* 800F98D8 000F6838 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F98DC 000F683C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F98E0 000F6840 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800F98E4 000F6844 38 61 00 98 */ addi r3, r1, 0x98 +/* 800F98E8 000F6848 81 84 00 00 */ lwz r12, 0(r4) +/* 800F98EC 000F684C 38 A5 01 79 */ addi r5, r5, 0x179 +/* 800F98F0 000F6850 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F98F4 000F6854 7D 89 03 A6 */ mtctr r12 +/* 800F98F8 000F6858 4E 80 04 21 */ bctrl +/* 800F98FC 000F685C 38 7F 19 78 */ addi r3, r31, 0x1978 +/* 800F9900 000F6860 38 81 00 98 */ addi r4, r1, 0x98 +/* 800F9904 000F6864 48 24 75 A5 */ bl __ct__6CTokenFRC6CToken +/* 800F9908 000F6868 38 61 00 98 */ addi r3, r1, 0x98 +/* 800F990C 000F686C 38 80 FF FF */ li r4, -1 +/* 800F9910 000F6870 48 24 75 31 */ bl __dt__6CTokenFv +/* 800F9914 000F6874 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F9918 000F6878 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F991C 000F687C 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800F9920 000F6880 38 61 00 90 */ addi r3, r1, 0x90 +/* 800F9924 000F6884 81 84 00 00 */ lwz r12, 0(r4) +/* 800F9928 000F6888 38 A5 01 84 */ addi r5, r5, 0x184 +/* 800F992C 000F688C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F9930 000F6890 7D 89 03 A6 */ mtctr r12 +/* 800F9934 000F6894 4E 80 04 21 */ bctrl +/* 800F9938 000F6898 38 7F 19 80 */ addi r3, r31, 0x1980 +/* 800F993C 000F689C 38 81 00 90 */ addi r4, r1, 0x90 +/* 800F9940 000F68A0 48 24 75 69 */ bl __ct__6CTokenFRC6CToken +/* 800F9944 000F68A4 38 61 00 90 */ addi r3, r1, 0x90 +/* 800F9948 000F68A8 38 80 FF FF */ li r4, -1 +/* 800F994C 000F68AC 48 24 74 F5 */ bl __dt__6CTokenFv +/* 800F9950 000F68B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F9954 000F68B4 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9958 000F68B8 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800F995C 000F68BC 38 61 00 88 */ addi r3, r1, 0x88 +/* 800F9960 000F68C0 81 84 00 00 */ lwz r12, 0(r4) +/* 800F9964 000F68C4 38 A5 01 8E */ addi r5, r5, 0x18e +/* 800F9968 000F68C8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F996C 000F68CC 7D 89 03 A6 */ mtctr r12 +/* 800F9970 000F68D0 4E 80 04 21 */ bctrl +/* 800F9974 000F68D4 38 7F 19 88 */ addi r3, r31, 0x1988 +/* 800F9978 000F68D8 38 81 00 88 */ addi r4, r1, 0x88 +/* 800F997C 000F68DC 48 24 75 2D */ bl __ct__6CTokenFRC6CToken +/* 800F9980 000F68E0 38 61 00 88 */ addi r3, r1, 0x88 +/* 800F9984 000F68E4 38 80 FF FF */ li r4, -1 +/* 800F9988 000F68E8 48 24 74 B9 */ bl __dt__6CTokenFv +/* 800F998C 000F68EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F9990 000F68F0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9994 000F68F4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800F9998 000F68F8 38 61 00 80 */ addi r3, r1, 0x80 +/* 800F999C 000F68FC 81 84 00 00 */ lwz r12, 0(r4) +/* 800F99A0 000F6900 38 A5 01 9C */ addi r5, r5, 0x19c +/* 800F99A4 000F6904 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F99A8 000F6908 7D 89 03 A6 */ mtctr r12 +/* 800F99AC 000F690C 4E 80 04 21 */ bctrl +/* 800F99B0 000F6910 38 7F 19 90 */ addi r3, r31, 0x1990 +/* 800F99B4 000F6914 38 81 00 80 */ addi r4, r1, 0x80 +/* 800F99B8 000F6918 48 24 74 F1 */ bl __ct__6CTokenFRC6CToken +/* 800F99BC 000F691C 38 61 00 80 */ addi r3, r1, 0x80 +/* 800F99C0 000F6920 38 80 FF FF */ li r4, -1 +/* 800F99C4 000F6924 48 24 74 7D */ bl __dt__6CTokenFv +/* 800F99C8 000F6928 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F99CC 000F692C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F99D0 000F6930 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800F99D4 000F6934 38 61 00 78 */ addi r3, r1, 0x78 +/* 800F99D8 000F6938 81 84 00 00 */ lwz r12, 0(r4) +/* 800F99DC 000F693C 38 A5 01 B3 */ addi r5, r5, 0x1b3 +/* 800F99E0 000F6940 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F99E4 000F6944 7D 89 03 A6 */ mtctr r12 +/* 800F99E8 000F6948 4E 80 04 21 */ bctrl +/* 800F99EC 000F694C 38 7F 19 98 */ addi r3, r31, 0x1998 +/* 800F99F0 000F6950 38 81 00 78 */ addi r4, r1, 0x78 +/* 800F99F4 000F6954 48 24 74 B5 */ bl __ct__6CTokenFRC6CToken +/* 800F99F8 000F6958 38 61 00 78 */ addi r3, r1, 0x78 +/* 800F99FC 000F695C 38 80 FF FF */ li r4, -1 +/* 800F9A00 000F6960 48 24 74 41 */ bl __dt__6CTokenFv +/* 800F9A04 000F6964 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F9A08 000F6968 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9A0C 000F696C 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800F9A10 000F6970 38 61 00 70 */ addi r3, r1, 0x70 +/* 800F9A14 000F6974 81 84 00 00 */ lwz r12, 0(r4) +/* 800F9A18 000F6978 38 A5 01 C1 */ addi r5, r5, 0x1c1 +/* 800F9A1C 000F697C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F9A20 000F6980 7D 89 03 A6 */ mtctr r12 +/* 800F9A24 000F6984 4E 80 04 21 */ bctrl +/* 800F9A28 000F6988 38 7F 19 A0 */ addi r3, r31, 0x19a0 +/* 800F9A2C 000F698C 38 81 00 70 */ addi r4, r1, 0x70 +/* 800F9A30 000F6990 48 24 74 79 */ bl __ct__6CTokenFRC6CToken +/* 800F9A34 000F6994 38 61 00 70 */ addi r3, r1, 0x70 +/* 800F9A38 000F6998 38 80 FF FF */ li r4, -1 +/* 800F9A3C 000F699C 48 24 74 05 */ bl __dt__6CTokenFv +/* 800F9A40 000F69A0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F9A44 000F69A4 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9A48 000F69A8 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800F9A4C 000F69AC 38 61 00 68 */ addi r3, r1, 0x68 +/* 800F9A50 000F69B0 81 84 00 00 */ lwz r12, 0(r4) +/* 800F9A54 000F69B4 38 A5 01 D0 */ addi r5, r5, 0x1d0 +/* 800F9A58 000F69B8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F9A5C 000F69BC 7D 89 03 A6 */ mtctr r12 +/* 800F9A60 000F69C0 4E 80 04 21 */ bctrl +/* 800F9A64 000F69C4 38 7F 19 A8 */ addi r3, r31, 0x19a8 +/* 800F9A68 000F69C8 38 81 00 68 */ addi r4, r1, 0x68 +/* 800F9A6C 000F69CC 48 24 74 3D */ bl __ct__6CTokenFRC6CToken +/* 800F9A70 000F69D0 38 61 00 68 */ addi r3, r1, 0x68 +/* 800F9A74 000F69D4 38 80 FF FF */ li r4, -1 +/* 800F9A78 000F69D8 48 24 73 C9 */ bl __dt__6CTokenFv +/* 800F9A7C 000F69DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800F9A80 000F69E0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9A84 000F69E4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l +/* 800F9A88 000F69E8 38 61 00 60 */ addi r3, r1, 0x60 +/* 800F9A8C 000F69EC 81 84 00 00 */ lwz r12, 0(r4) +/* 800F9A90 000F69F0 38 A5 01 E9 */ addi r5, r5, 0x1e9 +/* 800F9A94 000F69F4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800F9A98 000F69F8 7D 89 03 A6 */ mtctr r12 +/* 800F9A9C 000F69FC 4E 80 04 21 */ bctrl +/* 800F9AA0 000F6A00 38 7F 19 B0 */ addi r3, r31, 0x19b0 +/* 800F9AA4 000F6A04 38 81 00 60 */ addi r4, r1, 0x60 +/* 800F9AA8 000F6A08 48 24 74 01 */ bl __ct__6CTokenFRC6CToken +/* 800F9AAC 000F6A0C 38 61 00 60 */ addi r3, r1, 0x60 +/* 800F9AB0 000F6A10 38 80 FF FF */ li r4, -1 +/* 800F9AB4 000F6A14 48 24 73 8D */ bl __dt__6CTokenFv +/* 800F9AB8 000F6A18 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9ABC 000F6A1C 3B 40 00 00 */ li r26, 0 +/* 800F9AC0 000F6A20 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9AC4 000F6A24 38 60 02 10 */ li r3, 0x210 +/* 800F9AC8 000F6A28 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9ACC 000F6A2C 38 A0 00 00 */ li r5, 0 +/* 800F9AD0 000F6A30 48 21 BD 9D */ bl __nw__FUlPCcPCc +/* 800F9AD4 000F6A34 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800F9AD8 000F6A38 41 82 00 28 */ beq lbl_800F9B00 +/* 800F9ADC 000F6A3C 38 61 00 58 */ addi r3, r1, 0x58 +/* 800F9AE0 000F6A40 38 9F 19 68 */ addi r4, r31, 0x1968 +/* 800F9AE4 000F6A44 48 24 73 C5 */ bl __ct__6CTokenFRC6CToken +/* 800F9AE8 000F6A48 7F 63 DB 78 */ mr r3, r27 +/* 800F9AEC 000F6A4C 38 81 00 58 */ addi r4, r1, 0x58 +/* 800F9AF0 000F6A50 3B 40 00 01 */ li r26, 1 +/* 800F9AF4 000F6A54 38 A0 00 00 */ li r5, 0 +/* 800F9AF8 000F6A58 48 23 52 ED */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 800F9AFC 000F6A5C 7C 7B 1B 78 */ mr r27, r3 +lbl_800F9B00: +/* 800F9B00 000F6A60 7F 40 07 75 */ extsb. r0, r26 +/* 800F9B04 000F6A64 93 7F 19 B8 */ stw r27, 0x19b8(r31) +/* 800F9B08 000F6A68 41 82 00 10 */ beq lbl_800F9B18 +/* 800F9B0C 000F6A6C 38 61 00 58 */ addi r3, r1, 0x58 +/* 800F9B10 000F6A70 38 80 00 00 */ li r4, 0 +/* 800F9B14 000F6A74 48 24 73 2D */ bl __dt__6CTokenFv +lbl_800F9B18: +/* 800F9B18 000F6A78 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9B1C 000F6A7C 3B 40 00 00 */ li r26, 0 +/* 800F9B20 000F6A80 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9B24 000F6A84 38 60 02 10 */ li r3, 0x210 +/* 800F9B28 000F6A88 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9B2C 000F6A8C 38 A0 00 00 */ li r5, 0 +/* 800F9B30 000F6A90 48 21 BD 3D */ bl __nw__FUlPCcPCc +/* 800F9B34 000F6A94 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800F9B38 000F6A98 41 82 00 28 */ beq lbl_800F9B60 +/* 800F9B3C 000F6A9C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800F9B40 000F6AA0 38 9F 19 68 */ addi r4, r31, 0x1968 +/* 800F9B44 000F6AA4 48 24 73 65 */ bl __ct__6CTokenFRC6CToken +/* 800F9B48 000F6AA8 7F 63 DB 78 */ mr r3, r27 +/* 800F9B4C 000F6AAC 38 81 00 50 */ addi r4, r1, 0x50 +/* 800F9B50 000F6AB0 3B 40 00 01 */ li r26, 1 +/* 800F9B54 000F6AB4 38 A0 00 00 */ li r5, 0 +/* 800F9B58 000F6AB8 48 23 52 8D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 800F9B5C 000F6ABC 7C 7B 1B 78 */ mr r27, r3 +lbl_800F9B60: +/* 800F9B60 000F6AC0 7F 40 07 75 */ extsb. r0, r26 +/* 800F9B64 000F6AC4 93 7F 19 BC */ stw r27, 0x19bc(r31) +/* 800F9B68 000F6AC8 41 82 00 10 */ beq lbl_800F9B78 +/* 800F9B6C 000F6ACC 38 61 00 50 */ addi r3, r1, 0x50 +/* 800F9B70 000F6AD0 38 80 00 00 */ li r4, 0 +/* 800F9B74 000F6AD4 48 24 72 CD */ bl __dt__6CTokenFv +lbl_800F9B78: +/* 800F9B78 000F6AD8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9B7C 000F6ADC 3B 40 00 00 */ li r26, 0 +/* 800F9B80 000F6AE0 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9B84 000F6AE4 38 60 02 10 */ li r3, 0x210 +/* 800F9B88 000F6AE8 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9B8C 000F6AEC 38 A0 00 00 */ li r5, 0 +/* 800F9B90 000F6AF0 48 21 BC DD */ bl __nw__FUlPCcPCc +/* 800F9B94 000F6AF4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800F9B98 000F6AF8 41 82 00 28 */ beq lbl_800F9BC0 +/* 800F9B9C 000F6AFC 38 61 00 48 */ addi r3, r1, 0x48 +/* 800F9BA0 000F6B00 38 9F 19 70 */ addi r4, r31, 0x1970 +/* 800F9BA4 000F6B04 48 24 73 05 */ bl __ct__6CTokenFRC6CToken +/* 800F9BA8 000F6B08 7F 63 DB 78 */ mr r3, r27 +/* 800F9BAC 000F6B0C 38 81 00 48 */ addi r4, r1, 0x48 +/* 800F9BB0 000F6B10 3B 40 00 01 */ li r26, 1 +/* 800F9BB4 000F6B14 38 A0 00 00 */ li r5, 0 +/* 800F9BB8 000F6B18 48 23 52 2D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 800F9BBC 000F6B1C 7C 7B 1B 78 */ mr r27, r3 +lbl_800F9BC0: +/* 800F9BC0 000F6B20 7F 40 07 75 */ extsb. r0, r26 +/* 800F9BC4 000F6B24 93 7F 19 C0 */ stw r27, 0x19c0(r31) +/* 800F9BC8 000F6B28 41 82 00 10 */ beq lbl_800F9BD8 +/* 800F9BCC 000F6B2C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800F9BD0 000F6B30 38 80 00 00 */ li r4, 0 +/* 800F9BD4 000F6B34 48 24 72 6D */ bl __dt__6CTokenFv +lbl_800F9BD8: +/* 800F9BD8 000F6B38 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9BDC 000F6B3C 3B 40 00 00 */ li r26, 0 +/* 800F9BE0 000F6B40 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9BE4 000F6B44 38 60 02 10 */ li r3, 0x210 +/* 800F9BE8 000F6B48 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9BEC 000F6B4C 38 A0 00 00 */ li r5, 0 +/* 800F9BF0 000F6B50 48 21 BC 7D */ bl __nw__FUlPCcPCc +/* 800F9BF4 000F6B54 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800F9BF8 000F6B58 41 82 00 28 */ beq lbl_800F9C20 +/* 800F9BFC 000F6B5C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800F9C00 000F6B60 38 9F 19 70 */ addi r4, r31, 0x1970 +/* 800F9C04 000F6B64 48 24 72 A5 */ bl __ct__6CTokenFRC6CToken +/* 800F9C08 000F6B68 7F 63 DB 78 */ mr r3, r27 +/* 800F9C0C 000F6B6C 38 81 00 40 */ addi r4, r1, 0x40 +/* 800F9C10 000F6B70 3B 40 00 01 */ li r26, 1 +/* 800F9C14 000F6B74 38 A0 00 00 */ li r5, 0 +/* 800F9C18 000F6B78 48 23 51 CD */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 800F9C1C 000F6B7C 7C 7B 1B 78 */ mr r27, r3 +lbl_800F9C20: +/* 800F9C20 000F6B80 7F 40 07 75 */ extsb. r0, r26 +/* 800F9C24 000F6B84 93 7F 19 C4 */ stw r27, 0x19c4(r31) +/* 800F9C28 000F6B88 41 82 00 10 */ beq lbl_800F9C38 +/* 800F9C2C 000F6B8C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800F9C30 000F6B90 38 80 00 00 */ li r4, 0 +/* 800F9C34 000F6B94 48 24 72 0D */ bl __dt__6CTokenFv +lbl_800F9C38: +/* 800F9C38 000F6B98 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9C3C 000F6B9C 3B 40 00 00 */ li r26, 0 +/* 800F9C40 000F6BA0 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9C44 000F6BA4 38 60 02 10 */ li r3, 0x210 +/* 800F9C48 000F6BA8 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9C4C 000F6BAC 38 A0 00 00 */ li r5, 0 +/* 800F9C50 000F6BB0 48 21 BC 1D */ bl __nw__FUlPCcPCc +/* 800F9C54 000F6BB4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800F9C58 000F6BB8 41 82 00 28 */ beq lbl_800F9C80 +/* 800F9C5C 000F6BBC 38 61 00 38 */ addi r3, r1, 0x38 +/* 800F9C60 000F6BC0 38 9F 19 78 */ addi r4, r31, 0x1978 +/* 800F9C64 000F6BC4 48 24 72 45 */ bl __ct__6CTokenFRC6CToken +/* 800F9C68 000F6BC8 7F 63 DB 78 */ mr r3, r27 +/* 800F9C6C 000F6BCC 38 81 00 38 */ addi r4, r1, 0x38 +/* 800F9C70 000F6BD0 3B 40 00 01 */ li r26, 1 +/* 800F9C74 000F6BD4 38 A0 00 00 */ li r5, 0 +/* 800F9C78 000F6BD8 48 23 51 6D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 800F9C7C 000F6BDC 7C 7B 1B 78 */ mr r27, r3 +lbl_800F9C80: +/* 800F9C80 000F6BE0 7F 40 07 75 */ extsb. r0, r26 +/* 800F9C84 000F6BE4 93 7F 19 C8 */ stw r27, 0x19c8(r31) +/* 800F9C88 000F6BE8 41 82 00 10 */ beq lbl_800F9C98 +/* 800F9C8C 000F6BEC 38 61 00 38 */ addi r3, r1, 0x38 +/* 800F9C90 000F6BF0 38 80 00 00 */ li r4, 0 +/* 800F9C94 000F6BF4 48 24 71 AD */ bl __dt__6CTokenFv +lbl_800F9C98: +/* 800F9C98 000F6BF8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9C9C 000F6BFC 3B 40 00 00 */ li r26, 0 +/* 800F9CA0 000F6C00 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9CA4 000F6C04 38 60 03 40 */ li r3, 0x340 +/* 800F9CA8 000F6C08 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9CAC 000F6C0C 38 A0 00 00 */ li r5, 0 +/* 800F9CB0 000F6C10 48 21 BB BD */ bl __nw__FUlPCcPCc +/* 800F9CB4 000F6C14 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800F9CB8 000F6C18 41 82 00 2C */ beq lbl_800F9CE4 +/* 800F9CBC 000F6C1C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800F9CC0 000F6C20 38 9F 19 80 */ addi r4, r31, 0x1980 +/* 800F9CC4 000F6C24 48 24 71 E5 */ bl __ct__6CTokenFRC6CToken +/* 800F9CC8 000F6C28 7F 63 DB 78 */ mr r3, r27 +/* 800F9CCC 000F6C2C 38 81 00 30 */ addi r4, r1, 0x30 +/* 800F9CD0 000F6C30 3B 40 00 01 */ li r26, 1 +/* 800F9CD4 000F6C34 38 A0 00 00 */ li r5, 0 +/* 800F9CD8 000F6C38 38 C0 00 01 */ li r6, 1 +/* 800F9CDC 000F6C3C 48 22 57 05 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800F9CE0 000F6C40 7C 7B 1B 78 */ mr r27, r3 +lbl_800F9CE4: +/* 800F9CE4 000F6C44 7F 40 07 75 */ extsb. r0, r26 +/* 800F9CE8 000F6C48 93 7F 19 CC */ stw r27, 0x19cc(r31) +/* 800F9CEC 000F6C4C 41 82 00 10 */ beq lbl_800F9CFC +/* 800F9CF0 000F6C50 38 61 00 30 */ addi r3, r1, 0x30 +/* 800F9CF4 000F6C54 38 80 00 00 */ li r4, 0 +/* 800F9CF8 000F6C58 48 24 71 49 */ bl __dt__6CTokenFv +lbl_800F9CFC: +/* 800F9CFC 000F6C5C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9D00 000F6C60 3B 40 00 00 */ li r26, 0 +/* 800F9D04 000F6C64 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9D08 000F6C68 38 60 03 40 */ li r3, 0x340 +/* 800F9D0C 000F6C6C 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9D10 000F6C70 38 A0 00 00 */ li r5, 0 +/* 800F9D14 000F6C74 48 21 BB 59 */ bl __nw__FUlPCcPCc +/* 800F9D18 000F6C78 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800F9D1C 000F6C7C 41 82 00 2C */ beq lbl_800F9D48 +/* 800F9D20 000F6C80 38 61 00 28 */ addi r3, r1, 0x28 +/* 800F9D24 000F6C84 38 9F 19 88 */ addi r4, r31, 0x1988 +/* 800F9D28 000F6C88 48 24 71 81 */ bl __ct__6CTokenFRC6CToken +/* 800F9D2C 000F6C8C 7F 63 DB 78 */ mr r3, r27 +/* 800F9D30 000F6C90 38 81 00 28 */ addi r4, r1, 0x28 +/* 800F9D34 000F6C94 3B 40 00 01 */ li r26, 1 +/* 800F9D38 000F6C98 38 A0 00 00 */ li r5, 0 +/* 800F9D3C 000F6C9C 38 C0 00 01 */ li r6, 1 +/* 800F9D40 000F6CA0 48 22 56 A1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800F9D44 000F6CA4 7C 7B 1B 78 */ mr r27, r3 +lbl_800F9D48: +/* 800F9D48 000F6CA8 7F 40 07 75 */ extsb. r0, r26 +/* 800F9D4C 000F6CAC 93 7F 19 D0 */ stw r27, 0x19d0(r31) +/* 800F9D50 000F6CB0 41 82 00 10 */ beq lbl_800F9D60 +/* 800F9D54 000F6CB4 38 61 00 28 */ addi r3, r1, 0x28 +/* 800F9D58 000F6CB8 38 80 00 00 */ li r4, 0 +/* 800F9D5C 000F6CBC 48 24 70 E5 */ bl __dt__6CTokenFv +lbl_800F9D60: +/* 800F9D60 000F6CC0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9D64 000F6CC4 3B 40 00 00 */ li r26, 0 +/* 800F9D68 000F6CC8 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9D6C 000F6CCC 38 60 03 40 */ li r3, 0x340 +/* 800F9D70 000F6CD0 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9D74 000F6CD4 38 A0 00 00 */ li r5, 0 +/* 800F9D78 000F6CD8 48 21 BA F5 */ bl __nw__FUlPCcPCc +/* 800F9D7C 000F6CDC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800F9D80 000F6CE0 41 82 00 2C */ beq lbl_800F9DAC +/* 800F9D84 000F6CE4 38 61 00 20 */ addi r3, r1, 0x20 +/* 800F9D88 000F6CE8 38 9F 19 90 */ addi r4, r31, 0x1990 +/* 800F9D8C 000F6CEC 48 24 71 1D */ bl __ct__6CTokenFRC6CToken +/* 800F9D90 000F6CF0 7F 63 DB 78 */ mr r3, r27 +/* 800F9D94 000F6CF4 38 81 00 20 */ addi r4, r1, 0x20 +/* 800F9D98 000F6CF8 3B 40 00 01 */ li r26, 1 +/* 800F9D9C 000F6CFC 38 A0 00 00 */ li r5, 0 +/* 800F9DA0 000F6D00 38 C0 00 01 */ li r6, 1 +/* 800F9DA4 000F6D04 48 22 56 3D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800F9DA8 000F6D08 7C 7B 1B 78 */ mr r27, r3 +lbl_800F9DAC: +/* 800F9DAC 000F6D0C 7F 40 07 75 */ extsb. r0, r26 +/* 800F9DB0 000F6D10 93 7F 19 D4 */ stw r27, 0x19d4(r31) +/* 800F9DB4 000F6D14 41 82 00 10 */ beq lbl_800F9DC4 +/* 800F9DB8 000F6D18 38 61 00 20 */ addi r3, r1, 0x20 +/* 800F9DBC 000F6D1C 38 80 00 00 */ li r4, 0 +/* 800F9DC0 000F6D20 48 24 70 81 */ bl __dt__6CTokenFv +lbl_800F9DC4: +/* 800F9DC4 000F6D24 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9DC8 000F6D28 3B 40 00 00 */ li r26, 0 +/* 800F9DCC 000F6D2C 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9DD0 000F6D30 38 60 03 40 */ li r3, 0x340 +/* 800F9DD4 000F6D34 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9DD8 000F6D38 38 A0 00 00 */ li r5, 0 +/* 800F9DDC 000F6D3C 48 21 BA 91 */ bl __nw__FUlPCcPCc +/* 800F9DE0 000F6D40 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800F9DE4 000F6D44 41 82 00 2C */ beq lbl_800F9E10 +/* 800F9DE8 000F6D48 38 61 00 18 */ addi r3, r1, 0x18 +/* 800F9DEC 000F6D4C 38 9F 19 98 */ addi r4, r31, 0x1998 +/* 800F9DF0 000F6D50 48 24 70 B9 */ bl __ct__6CTokenFRC6CToken +/* 800F9DF4 000F6D54 7F 63 DB 78 */ mr r3, r27 +/* 800F9DF8 000F6D58 38 81 00 18 */ addi r4, r1, 0x18 +/* 800F9DFC 000F6D5C 3B 40 00 01 */ li r26, 1 +/* 800F9E00 000F6D60 38 A0 00 00 */ li r5, 0 +/* 800F9E04 000F6D64 38 C0 00 01 */ li r6, 1 +/* 800F9E08 000F6D68 48 22 55 D9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800F9E0C 000F6D6C 7C 7B 1B 78 */ mr r27, r3 +lbl_800F9E10: +/* 800F9E10 000F6D70 7F 40 07 75 */ extsb. r0, r26 +/* 800F9E14 000F6D74 93 7F 19 D8 */ stw r27, 0x19d8(r31) +/* 800F9E18 000F6D78 41 82 00 10 */ beq lbl_800F9E28 +/* 800F9E1C 000F6D7C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800F9E20 000F6D80 38 80 00 00 */ li r4, 0 +/* 800F9E24 000F6D84 48 24 70 1D */ bl __dt__6CTokenFv +lbl_800F9E28: +/* 800F9E28 000F6D88 38 A0 00 00 */ li r5, 0 +/* 800F9E2C 000F6D8C 38 1F 1B 74 */ addi r0, r31, 0x1b74 +/* 800F9E30 000F6D90 90 BF 19 DC */ stw r5, 0x19dc(r31) +/* 800F9E34 000F6D94 38 7F 1B 80 */ addi r3, r31, 0x1b80 +/* 800F9E38 000F6D98 38 80 00 63 */ li r4, 0x63 +/* 800F9E3C 000F6D9C 90 BF 19 E0 */ stw r5, 0x19e0(r31) +/* 800F9E40 000F6DA0 90 BF 19 E4 */ stw r5, 0x19e4(r31) +/* 800F9E44 000F6DA4 90 1F 1B 6C */ stw r0, 0x1b6c(r31) +/* 800F9E48 000F6DA8 90 1F 1B 70 */ stw r0, 0x1b70(r31) +/* 800F9E4C 000F6DAC 90 1F 1B 74 */ stw r0, 0x1b74(r31) +/* 800F9E50 000F6DB0 90 1F 1B 78 */ stw r0, 0x1b78(r31) +/* 800F9E54 000F6DB4 90 BF 1B 7C */ stw r5, 0x1b7c(r31) +/* 800F9E58 000F6DB8 48 21 87 95 */ bl __ct__9CRandom16FUi +/* 800F9E5C 000F6DBC 38 A0 00 00 */ li r5, 0 +/* 800F9E60 000F6DC0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9E64 000F6DC4 90 BF 1B 84 */ stw r5, 0x1b84(r31) +/* 800F9E68 000F6DC8 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9E6C 000F6DCC 38 00 FF FF */ li r0, -1 +/* 800F9E70 000F6DD0 38 60 00 8C */ li r3, 0x8c +/* 800F9E74 000F6DD4 90 BF 1B C8 */ stw r5, 0x1bc8(r31) +/* 800F9E78 000F6DD8 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9E7C 000F6DDC 38 A0 00 00 */ li r5, 0 +/* 800F9E80 000F6DE0 90 1F 1C 0C */ stw r0, 0x1c0c(r31) +/* 800F9E84 000F6DE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800F9E88 000F6DE8 B0 1F 1C 10 */ sth r0, 0x1c10(r31) +/* 800F9E8C 000F6DEC 48 21 B9 E1 */ bl __nw__FUlPCcPCc +/* 800F9E90 000F6DF0 7C 60 1B 79 */ or. r0, r3, r3 +/* 800F9E94 000F6DF4 41 82 00 18 */ beq lbl_800F9EAC +/* 800F9E98 000F6DF8 38 80 00 10 */ li r4, 0x10 +/* 800F9E9C 000F6DFC 38 A0 00 10 */ li r5, 0x10 +/* 800F9EA0 000F6E00 38 C0 00 00 */ li r6, 0 +/* 800F9EA4 000F6E04 48 01 7D 21 */ bl __ct__12CWorldShadowFUiUib +/* 800F9EA8 000F6E08 7C 60 1B 78 */ mr r0, r3 +lbl_800F9EAC: +/* 800F9EAC 000F6E0C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9EB0 000F6E10 90 1F 1C 14 */ stw r0, 0x1c14(r31) +/* 800F9EB4 000F6E14 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9EB8 000F6E18 38 60 02 E0 */ li r3, 0x2e0 +/* 800F9EBC 000F6E1C 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9EC0 000F6E20 38 A0 00 00 */ li r5, 0 +/* 800F9EC4 000F6E24 48 21 B9 A9 */ bl __nw__FUlPCcPCc +/* 800F9EC8 000F6E28 7C 60 1B 79 */ or. r0, r3, r3 +/* 800F9ECC 000F6E2C 41 82 00 4C */ beq lbl_800F9F18 +/* 800F9ED0 000F6E30 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800F9ED4 000F6E34 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) +/* 800F9ED8 000F6E38 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 800F9EDC 000F6E3C 38 A1 00 E0 */ addi r5, r1, 0xe0 +/* 800F9EE0 000F6E40 81 07 00 00 */ lwz r8, 0(r7) +/* 800F9EE4 000F6E44 38 80 00 08 */ li r4, 8 +/* 800F9EE8 000F6E48 81 67 00 04 */ lwz r11, 4(r7) +/* 800F9EEC 000F6E4C 38 C0 00 04 */ li r6, 4 +/* 800F9EF0 000F6E50 80 07 00 08 */ lwz r0, 8(r7) +/* 800F9EF4 000F6E54 38 E0 00 04 */ li r7, 4 +/* 800F9EF8 000F6E58 91 01 00 E0 */ stw r8, 0xe0(r1) +/* 800F9EFC 000F6E5C 39 00 00 00 */ li r8, 0 +/* 800F9F00 000F6E60 39 20 00 00 */ li r9, 0 +/* 800F9F04 000F6E64 39 40 00 00 */ li r10, 0 +/* 800F9F08 000F6E68 91 61 00 E4 */ stw r11, 0xe4(r1) +/* 800F9F0C 000F6E6C 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 800F9F10 000F6E70 48 00 B2 BD */ bl __ct__12CActorLightsFUi9CVector3fiif +/* 800F9F14 000F6E74 7C 60 1B 78 */ mr r0, r3 +lbl_800F9F18: +/* 800F9F18 000F6E78 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800F9F1C 000F6E7C 90 1F 1C 18 */ stw r0, 0x1c18(r31) +/* 800F9F20 000F6E80 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l +/* 800F9F24 000F6E84 38 60 00 4C */ li r3, 0x4c +/* 800F9F28 000F6E88 38 84 00 DC */ addi r4, r4, 0xdc +/* 800F9F2C 000F6E8C 38 A0 00 00 */ li r5, 0 +/* 800F9F30 000F6E90 48 21 B9 3D */ bl __nw__FUlPCcPCc +/* 800F9F34 000F6E94 7C 60 1B 79 */ or. r0, r3, r3 +/* 800F9F38 000F6E98 41 82 00 3C */ beq lbl_800F9F74 +/* 800F9F3C 000F6E9C 80 FF 00 58 */ lwz r7, 0x58(r31) +/* 800F9F40 000F6EA0 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 800F9F44 000F6EA4 C0 22 92 54 */ lfs f1, lbl_805AAF74@sda21(r2) +/* 800F9F48 000F6EA8 38 A0 00 28 */ li r5, 0x28 +/* 800F9F4C 000F6EAC C0 07 00 00 */ lfs f0, 0(r7) +/* 800F9F50 000F6EB0 38 C0 00 02 */ li r6, 2 +/* 800F9F54 000F6EB4 C0 42 92 58 */ lfs f2, lbl_805AAF78@sda21(r2) +/* 800F9F58 000F6EB8 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 800F9F5C 000F6EBC C0 07 00 04 */ lfs f0, 4(r7) +/* 800F9F60 000F6EC0 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 800F9F64 000F6EC4 C0 07 00 08 */ lfs f0, 8(r7) +/* 800F9F68 000F6EC8 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 800F9F6C 000F6ECC 48 17 07 CD */ bl __ct__20CRainSplashGeneratorFRC9CVector3fiiff +/* 800F9F70 000F6ED0 7C 60 1B 78 */ mr r0, r3 +lbl_800F9F74: +/* 800F9F74 000F6ED4 90 1F 1C 1C */ stw r0, 0x1c1c(r31) +/* 800F9F78 000F6ED8 3C 60 80 5A */ lis r3, lbl_805A6660@ha +/* 800F9F7C 000F6EDC C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) +/* 800F9F80 000F6EE0 38 00 00 00 */ li r0, 0 +/* 800F9F84 000F6EE4 C0 22 92 58 */ lfs f1, lbl_805AAF78@sda21(r2) +/* 800F9F88 000F6EE8 38 DF 1C 3C */ addi r6, r31, 0x1c3c +/* 800F9F8C 000F6EEC D0 5F 1C 20 */ stfs f2, 0x1c20(r31) +/* 800F9F90 000F6EF0 38 63 66 60 */ addi r3, r3, lbl_805A6660@l +/* 800F9F94 000F6EF4 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) +/* 800F9F98 000F6EF8 D0 3F 1C 24 */ stfs f1, 0x1c24(r31) +/* 800F9F9C 000F6EFC D0 1F 1C 28 */ stfs f0, 0x1c28(r31) +/* 800F9FA0 000F6F00 98 1F 1C 2C */ stb r0, 0x1c2c(r31) +/* 800F9FA4 000F6F04 D0 5F 1C 30 */ stfs f2, 0x1c30(r31) +/* 800F9FA8 000F6F08 D0 5F 1C 34 */ stfs f2, 0x1c34(r31) +/* 800F9FAC 000F6F0C D0 5F 1C 38 */ stfs f2, 0x1c38(r31) +/* 800F9FB0 000F6F10 90 1F 1C 3C */ stw r0, 0x1c3c(r31) +/* 800F9FB4 000F6F14 80 9F 1C 3C */ lwz r4, 0x1c3c(r31) +/* 800F9FB8 000F6F18 2C 04 00 05 */ cmpwi r4, 5 +/* 800F9FBC 000F6F1C 40 80 00 58 */ bge lbl_800FA014 +/* 800F9FC0 000F6F20 54 80 20 36 */ slwi r0, r4, 4 +/* 800F9FC4 000F6F24 20 A4 00 05 */ subfic r5, r4, 5 +/* 800F9FC8 000F6F28 7C 86 02 14 */ add r4, r6, r0 +/* 800F9FCC 000F6F2C 7C A9 03 A6 */ mtctr r5 +/* 800F9FD0 000F6F30 2C 05 00 00 */ cmpwi r5, 0 +/* 800F9FD4 000F6F34 38 84 00 04 */ addi r4, r4, 4 +/* 800F9FD8 000F6F38 40 81 00 34 */ ble lbl_800FA00C +lbl_800F9FDC: +/* 800F9FDC 000F6F3C 28 04 00 00 */ cmplwi r4, 0 +/* 800F9FE0 000F6F40 41 82 00 24 */ beq lbl_800FA004 +/* 800F9FE4 000F6F44 C0 03 00 00 */ lfs f0, 0(r3) +/* 800F9FE8 000F6F48 D0 04 00 00 */ stfs f0, 0(r4) +/* 800F9FEC 000F6F4C C0 03 00 04 */ lfs f0, 4(r3) +/* 800F9FF0 000F6F50 D0 04 00 04 */ stfs f0, 4(r4) +/* 800F9FF4 000F6F54 C0 03 00 08 */ lfs f0, 8(r3) +/* 800F9FF8 000F6F58 D0 04 00 08 */ stfs f0, 8(r4) +/* 800F9FFC 000F6F5C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800FA000 000F6F60 D0 04 00 0C */ stfs f0, 0xc(r4) +lbl_800FA004: +/* 800FA004 000F6F64 38 84 00 10 */ addi r4, r4, 0x10 +/* 800FA008 000F6F68 42 00 FF D4 */ bdnz lbl_800F9FDC +lbl_800FA00C: +/* 800FA00C 000F6F6C 38 00 00 05 */ li r0, 5 +/* 800FA010 000F6F70 90 06 00 00 */ stw r0, 0(r6) +lbl_800FA014: +/* 800FA014 000F6F74 38 DF 1C 90 */ addi r6, r31, 0x1c90 +/* 800FA018 000F6F78 38 00 00 00 */ li r0, 0 +/* 800FA01C 000F6F7C 90 1F 1C 90 */ stw r0, 0x1c90(r31) +/* 800FA020 000F6F80 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FA024 000F6F84 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 800FA028 000F6F88 80 9F 1C 90 */ lwz r4, 0x1c90(r31) +/* 800FA02C 000F6F8C 2C 04 00 05 */ cmpwi r4, 5 +/* 800FA030 000F6F90 40 80 00 50 */ bge lbl_800FA080 +/* 800FA034 000F6F94 1C 04 00 0C */ mulli r0, r4, 0xc +/* 800FA038 000F6F98 20 A4 00 05 */ subfic r5, r4, 5 +/* 800FA03C 000F6F9C 7C 86 02 14 */ add r4, r6, r0 +/* 800FA040 000F6FA0 7C A9 03 A6 */ mtctr r5 +/* 800FA044 000F6FA4 2C 05 00 00 */ cmpwi r5, 0 +/* 800FA048 000F6FA8 38 84 00 04 */ addi r4, r4, 4 +/* 800FA04C 000F6FAC 40 81 00 2C */ ble lbl_800FA078 +lbl_800FA050: +/* 800FA050 000F6FB0 28 04 00 00 */ cmplwi r4, 0 +/* 800FA054 000F6FB4 41 82 00 1C */ beq lbl_800FA070 +/* 800FA058 000F6FB8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800FA05C 000F6FBC D0 04 00 00 */ stfs f0, 0(r4) +/* 800FA060 000F6FC0 C0 03 00 04 */ lfs f0, 4(r3) +/* 800FA064 000F6FC4 D0 04 00 04 */ stfs f0, 4(r4) +/* 800FA068 000F6FC8 C0 03 00 08 */ lfs f0, 8(r3) +/* 800FA06C 000F6FCC D0 04 00 08 */ stfs f0, 8(r4) +lbl_800FA070: +/* 800FA070 000F6FD0 38 84 00 0C */ addi r4, r4, 0xc +/* 800FA074 000F6FD4 42 00 FF DC */ bdnz lbl_800FA050 +lbl_800FA078: +/* 800FA078 000F6FD8 38 00 00 05 */ li r0, 5 +/* 800FA07C 000F6FDC 90 06 00 00 */ stw r0, 0(r6) +lbl_800FA080: +/* 800FA080 000F6FE0 38 BF 1C D0 */ addi r5, r31, 0x1cd0 +/* 800FA084 000F6FE4 38 00 00 00 */ li r0, 0 +/* 800FA088 000F6FE8 90 1F 1C D0 */ stw r0, 0x1cd0(r31) +/* 800FA08C 000F6FEC 80 7F 1C D0 */ lwz r3, 0x1cd0(r31) +/* 800FA090 000F6FF0 2C 03 00 0F */ cmpwi r3, 0xf +/* 800FA094 000F6FF4 40 80 00 40 */ bge lbl_800FA0D4 +/* 800FA098 000F6FF8 54 60 10 3A */ slwi r0, r3, 2 +/* 800FA09C 000F6FFC 20 83 00 0F */ subfic r4, r3, 0xf +/* 800FA0A0 000F7000 7C 65 02 14 */ add r3, r5, r0 +/* 800FA0A4 000F7004 7C 89 03 A6 */ mtctr r4 +/* 800FA0A8 000F7008 2C 04 00 00 */ cmpwi r4, 0 +/* 800FA0AC 000F700C 38 63 00 04 */ addi r3, r3, 4 +/* 800FA0B0 000F7010 40 81 00 1C */ ble lbl_800FA0CC +lbl_800FA0B4: +/* 800FA0B4 000F7014 28 03 00 00 */ cmplwi r3, 0 +/* 800FA0B8 000F7018 41 82 00 0C */ beq lbl_800FA0C4 +/* 800FA0BC 000F701C C0 0D 88 40 */ lfs f0, lbl_805A7400@sda21(r13) +/* 800FA0C0 000F7020 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800FA0C4: +/* 800FA0C4 000F7024 38 63 00 04 */ addi r3, r3, 4 +/* 800FA0C8 000F7028 42 00 FF EC */ bdnz lbl_800FA0B4 +lbl_800FA0CC: +/* 800FA0CC 000F702C 38 00 00 0F */ li r0, 0xf +/* 800FA0D0 000F7030 90 05 00 00 */ stw r0, 0(r5) +lbl_800FA0D4: +/* 800FA0D4 000F7034 38 DF 1D 10 */ addi r6, r31, 0x1d10 +/* 800FA0D8 000F7038 38 00 00 00 */ li r0, 0 +/* 800FA0DC 000F703C 90 1F 1D 10 */ stw r0, 0x1d10(r31) +/* 800FA0E0 000F7040 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FA0E4 000F7044 38 63 66 A0 */ addi r3, r3, skZero3f@l +/* 800FA0E8 000F7048 80 9F 1D 10 */ lwz r4, 0x1d10(r31) +/* 800FA0EC 000F704C 2C 04 00 0F */ cmpwi r4, 0xf +/* 800FA0F0 000F7050 40 80 00 50 */ bge lbl_800FA140 +/* 800FA0F4 000F7054 1C 04 00 0C */ mulli r0, r4, 0xc +/* 800FA0F8 000F7058 20 A4 00 0F */ subfic r5, r4, 0xf +/* 800FA0FC 000F705C 7C 86 02 14 */ add r4, r6, r0 +/* 800FA100 000F7060 7C A9 03 A6 */ mtctr r5 +/* 800FA104 000F7064 2C 05 00 00 */ cmpwi r5, 0 +/* 800FA108 000F7068 38 84 00 04 */ addi r4, r4, 4 +/* 800FA10C 000F706C 40 81 00 2C */ ble lbl_800FA138 +lbl_800FA110: +/* 800FA110 000F7070 28 04 00 00 */ cmplwi r4, 0 +/* 800FA114 000F7074 41 82 00 1C */ beq lbl_800FA130 +/* 800FA118 000F7078 C0 03 00 00 */ lfs f0, 0(r3) +/* 800FA11C 000F707C D0 04 00 00 */ stfs f0, 0(r4) +/* 800FA120 000F7080 C0 03 00 04 */ lfs f0, 4(r3) +/* 800FA124 000F7084 D0 04 00 04 */ stfs f0, 4(r4) +/* 800FA128 000F7088 C0 03 00 08 */ lfs f0, 8(r3) +/* 800FA12C 000F708C D0 04 00 08 */ stfs f0, 8(r4) +lbl_800FA130: +/* 800FA130 000F7090 38 84 00 0C */ addi r4, r4, 0xc +/* 800FA134 000F7094 42 00 FF DC */ bdnz lbl_800FA110 +lbl_800FA138: +/* 800FA138 000F7098 38 00 00 0F */ li r0, 0xf +/* 800FA13C 000F709C 90 06 00 00 */ stw r0, 0(r6) +lbl_800FA140: +/* 800FA140 000F70A0 38 E0 00 00 */ li r7, 0 +/* 800FA144 000F70A4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FA148 000F70A8 90 FF 1D C8 */ stw r7, 0x1dc8(r31) +/* 800FA14C 000F70AC 38 C3 66 A0 */ addi r6, r3, skZero3f@l +/* 800FA150 000F70B0 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 800FA154 000F70B4 38 A0 00 01 */ li r5, 1 +/* 800FA158 000F70B8 C0 06 00 00 */ lfs f0, 0(r6) +/* 800FA15C 000F70BC 38 03 FF FF */ addi r0, r3, 0x0000FFFF@l +/* 800FA160 000F70C0 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) +/* 800FA164 000F70C4 38 80 00 00 */ li r4, 0 +/* 800FA168 000F70C8 D0 1F 1D CC */ stfs f0, 0x1dcc(r31) +/* 800FA16C 000F70CC C0 1E 00 04 */ lfs f0, 4(r30) +/* 800FA170 000F70D0 D0 1F 1D D0 */ stfs f0, 0x1dd0(r31) +/* 800FA174 000F70D4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 800FA178 000F70D8 D0 1F 1D D4 */ stfs f0, 0x1dd4(r31) +/* 800FA17C 000F70DC C0 06 00 00 */ lfs f0, 0(r6) +/* 800FA180 000F70E0 D0 1F 1D D8 */ stfs f0, 0x1dd8(r31) +/* 800FA184 000F70E4 C0 1E 00 04 */ lfs f0, 4(r30) +/* 800FA188 000F70E8 D0 1F 1D DC */ stfs f0, 0x1ddc(r31) +/* 800FA18C 000F70EC C0 1E 00 08 */ lfs f0, 8(r30) +/* 800FA190 000F70F0 D0 1F 1D E0 */ stfs f0, 0x1de0(r31) +/* 800FA194 000F70F4 88 7F 1D E4 */ lbz r3, 0x1de4(r31) +/* 800FA198 000F70F8 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18 +/* 800FA19C 000F70FC 98 7F 1D E4 */ stb r3, 0x1de4(r31) +/* 800FA1A0 000F7100 88 7F 1D E4 */ lbz r3, 0x1de4(r31) +/* 800FA1A4 000F7104 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19 +/* 800FA1A8 000F7108 98 7F 1D E4 */ stb r3, 0x1de4(r31) +/* 800FA1AC 000F710C D0 3F 1D E8 */ stfs f1, 0x1de8(r31) +/* 800FA1B0 000F7110 D0 3F 1D EC */ stfs f1, 0x1dec(r31) +/* 800FA1B4 000F7114 D0 3F 1D F0 */ stfs f1, 0x1df0(r31) +/* 800FA1B8 000F7118 D0 3F 1D F4 */ stfs f1, 0x1df4(r31) +/* 800FA1BC 000F711C 88 7F 1D F8 */ lbz r3, 0x1df8(r31) +/* 800FA1C0 000F7120 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18 +/* 800FA1C4 000F7124 98 7F 1D F8 */ stb r3, 0x1df8(r31) +/* 800FA1C8 000F7128 88 7F 1D F8 */ lbz r3, 0x1df8(r31) +/* 800FA1CC 000F712C 50 E3 36 72 */ rlwimi r3, r7, 6, 0x19, 0x19 +/* 800FA1D0 000F7130 98 7F 1D F8 */ stb r3, 0x1df8(r31) +/* 800FA1D4 000F7134 88 7F 1D F8 */ lbz r3, 0x1df8(r31) +/* 800FA1D8 000F7138 50 E3 2E B4 */ rlwimi r3, r7, 5, 0x1a, 0x1a +/* 800FA1DC 000F713C 98 7F 1D F8 */ stb r3, 0x1df8(r31) +/* 800FA1E0 000F7140 88 7F 1D F8 */ lbz r3, 0x1df8(r31) +/* 800FA1E4 000F7144 50 E3 26 F6 */ rlwimi r3, r7, 4, 0x1b, 0x1b +/* 800FA1E8 000F7148 98 7F 1D F8 */ stb r3, 0x1df8(r31) +/* 800FA1EC 000F714C D0 3F 1D FC */ stfs f1, 0x1dfc(r31) +/* 800FA1F0 000F7150 D0 3F 1E 00 */ stfs f1, 0x1e00(r31) +/* 800FA1F4 000F7154 D0 3F 1E 04 */ stfs f1, 0x1e04(r31) +/* 800FA1F8 000F7158 C0 06 00 00 */ lfs f0, 0(r6) +/* 800FA1FC 000F715C D0 1F 1E 08 */ stfs f0, 0x1e08(r31) +/* 800FA200 000F7160 C0 1E 00 04 */ lfs f0, 4(r30) +/* 800FA204 000F7164 D0 1F 1E 0C */ stfs f0, 0x1e0c(r31) +/* 800FA208 000F7168 C0 1E 00 08 */ lfs f0, 8(r30) +/* 800FA20C 000F716C D0 1F 1E 10 */ stfs f0, 0x1e10(r31) +/* 800FA210 000F7170 C0 06 00 00 */ lfs f0, 0(r6) +/* 800FA214 000F7174 D0 1F 1E 14 */ stfs f0, 0x1e14(r31) +/* 800FA218 000F7178 C0 1E 00 04 */ lfs f0, 4(r30) +/* 800FA21C 000F717C D0 1F 1E 18 */ stfs f0, 0x1e18(r31) +/* 800FA220 000F7180 C0 1E 00 08 */ lfs f0, 8(r30) +/* 800FA224 000F7184 D0 1F 1E 1C */ stfs f0, 0x1e1c(r31) +/* 800FA228 000F7188 90 FF 1E 20 */ stw r7, 0x1e20(r31) +/* 800FA22C 000F718C 90 FF 1E 24 */ stw r7, 0x1e24(r31) +/* 800FA230 000F7190 90 FF 1E 28 */ stw r7, 0x1e28(r31) +/* 800FA234 000F7194 90 FF 1E 2C */ stw r7, 0x1e2c(r31) +/* 800FA238 000F7198 90 FF 1E 30 */ stw r7, 0x1e30(r31) +/* 800FA23C 000F719C B0 1F 1E 34 */ sth r0, 0x1e34(r31) +/* 800FA240 000F71A0 B0 1F 1E 36 */ sth r0, 0x1e36(r31) +/* 800FA244 000F71A4 90 FF 1E 38 */ stw r7, 0x1e38(r31) +/* 800FA248 000F71A8 90 FF 1E 3C */ stw r7, 0x1e3c(r31) +/* 800FA24C 000F71AC 90 FF 1E 40 */ stw r7, 0x1e40(r31) +/* 800FA250 000F71B0 D0 3F 1E 44 */ stfs f1, 0x1e44(r31) +/* 800FA254 000F71B4 D0 3F 1E 48 */ stfs f1, 0x1e48(r31) +/* 800FA258 000F71B8 D0 3F 1E 4C */ stfs f1, 0x1e4c(r31) +/* 800FA25C 000F71BC 90 FF 1E 50 */ stw r7, 0x1e50(r31) +/* 800FA260 000F71C0 80 7F 19 D4 */ lwz r3, 0x19d4(r31) +/* 800FA264 000F71C4 81 83 00 00 */ lwz r12, 0(r3) +/* 800FA268 000F71C8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800FA26C 000F71CC 7D 89 03 A6 */ mtctr r12 +/* 800FA270 000F71D0 4E 80 04 21 */ bctrl +/* 800FA274 000F71D4 80 7F 19 D4 */ lwz r3, 0x19d4(r31) +/* 800FA278 000F71D8 C8 22 93 30 */ lfd f1, lbl_805AB050@sda21(r2) +/* 800FA27C 000F71DC 81 83 00 00 */ lwz r12, 0(r3) +/* 800FA280 000F71E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800FA284 000F71E4 7D 89 03 A6 */ mtctr r12 +/* 800FA288 000F71E8 4E 80 04 21 */ bctrl +/* 800FA28C 000F71EC 7F E3 FB 78 */ mr r3, r31 +/* 800FA290 000F71F0 4B FF EB 75 */ bl GetBallRadius__10CMorphBallCFv +/* 800FA294 000F71F4 C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) +/* 800FA298 000F71F8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha +/* 800FA29C 000F71FC 3B C3 EB F4 */ addi r30, r3, lbl_803CEBF4@l +/* 800FA2A0 000F7200 3B BF 19 E4 */ addi r29, r31, 0x19e4 +/* 800FA2A4 000F7204 EC 00 08 2A */ fadds f0, f0, f1 +/* 800FA2A8 000F7208 3B 80 00 00 */ li r28, 0 +/* 800FA2AC 000F720C D0 0D A3 28 */ stfs f0, lbl_805A8EE8@sda21(r13) +lbl_800FA2B0: +/* 800FA2B0 000F7210 38 9E 00 DC */ addi r4, r30, 0xdc +/* 800FA2B4 000F7214 3B 60 00 00 */ li r27, 0 +/* 800FA2B8 000F7218 38 60 02 10 */ li r3, 0x210 +/* 800FA2BC 000F721C 38 A0 00 00 */ li r5, 0 +/* 800FA2C0 000F7220 48 21 B5 AD */ bl __nw__FUlPCcPCc +/* 800FA2C4 000F7224 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800FA2C8 000F7228 41 82 00 28 */ beq lbl_800FA2F0 +/* 800FA2CC 000F722C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800FA2D0 000F7230 38 9F 19 A0 */ addi r4, r31, 0x19a0 +/* 800FA2D4 000F7234 48 24 6B D5 */ bl __ct__6CTokenFRC6CToken +/* 800FA2D8 000F7238 7F 43 D3 78 */ mr r3, r26 +/* 800FA2DC 000F723C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800FA2E0 000F7240 3B 60 00 01 */ li r27, 1 +/* 800FA2E4 000F7244 38 A0 00 00 */ li r5, 0 +/* 800FA2E8 000F7248 48 23 4A FD */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" +/* 800FA2EC 000F724C 7C 7A 1B 78 */ mr r26, r3 +lbl_800FA2F0: +/* 800FA2F0 000F7250 80 1D 00 00 */ lwz r0, 0(r29) +/* 800FA2F4 000F7254 7C 7A 00 D0 */ neg r3, r26 +/* 800FA2F8 000F7258 7C 65 D3 78 */ or r5, r3, r26 +/* 800FA2FC 000F725C 88 6D 88 44 */ lbz r3, lbl_805A7404@sda21(r13) +/* 800FA300 000F7260 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800FA304 000F7264 38 80 00 00 */ li r4, 0 +/* 800FA308 000F7268 54 A5 0F FE */ srwi r5, r5, 0x1f +/* 800FA30C 000F726C 93 41 00 0C */ stw r26, 0xc(r1) +/* 800FA310 000F7270 98 A1 00 08 */ stb r5, 8(r1) +/* 800FA314 000F7274 7C DD 02 14 */ add r6, r29, r0 +/* 800FA318 000F7278 34 C6 00 04 */ addic. r6, r6, 4 +/* 800FA31C 000F727C 98 A1 00 C8 */ stb r5, 0xc8(r1) +/* 800FA320 000F7280 93 41 00 CC */ stw r26, 0xcc(r1) +/* 800FA324 000F7284 98 81 00 08 */ stb r4, 8(r1) +/* 800FA328 000F7288 98 61 00 D0 */ stb r3, 0xd0(r1) +/* 800FA32C 000F728C 41 82 00 14 */ beq lbl_800FA340 +/* 800FA330 000F7290 98 A6 00 00 */ stb r5, 0(r6) +/* 800FA334 000F7294 93 46 00 04 */ stw r26, 4(r6) +/* 800FA338 000F7298 98 81 00 C8 */ stb r4, 0xc8(r1) +/* 800FA33C 000F729C 98 66 00 08 */ stb r3, 8(r6) +lbl_800FA340: +/* 800FA340 000F72A0 80 7F 19 E4 */ lwz r3, 0x19e4(r31) +/* 800FA344 000F72A4 88 01 00 C8 */ lbz r0, 0xc8(r1) +/* 800FA348 000F72A8 38 63 00 01 */ addi r3, r3, 1 +/* 800FA34C 000F72AC 28 00 00 00 */ cmplwi r0, 0 +/* 800FA350 000F72B0 90 7F 19 E4 */ stw r3, 0x19e4(r31) +/* 800FA354 000F72B4 41 82 00 24 */ beq lbl_800FA378 +/* 800FA358 000F72B8 80 61 00 CC */ lwz r3, 0xcc(r1) +/* 800FA35C 000F72BC 28 03 00 00 */ cmplwi r3, 0 +/* 800FA360 000F72C0 41 82 00 18 */ beq lbl_800FA378 +/* 800FA364 000F72C4 81 83 00 00 */ lwz r12, 0(r3) +/* 800FA368 000F72C8 38 80 00 01 */ li r4, 1 +/* 800FA36C 000F72CC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FA370 000F72D0 7D 89 03 A6 */ mtctr r12 +/* 800FA374 000F72D4 4E 80 04 21 */ bctrl +lbl_800FA378: +/* 800FA378 000F72D8 88 01 00 08 */ lbz r0, 8(r1) +/* 800FA37C 000F72DC 28 00 00 00 */ cmplwi r0, 0 +/* 800FA380 000F72E0 41 82 00 24 */ beq lbl_800FA3A4 +/* 800FA384 000F72E4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800FA388 000F72E8 28 03 00 00 */ cmplwi r3, 0 +/* 800FA38C 000F72EC 41 82 00 18 */ beq lbl_800FA3A4 +/* 800FA390 000F72F0 81 83 00 00 */ lwz r12, 0(r3) +/* 800FA394 000F72F4 38 80 00 01 */ li r4, 1 +/* 800FA398 000F72F8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FA39C 000F72FC 7D 89 03 A6 */ mtctr r12 +/* 800FA3A0 000F7300 4E 80 04 21 */ bctrl +lbl_800FA3A4: +/* 800FA3A4 000F7304 7F 60 07 75 */ extsb. r0, r27 +/* 800FA3A8 000F7308 41 82 00 10 */ beq lbl_800FA3B8 +/* 800FA3AC 000F730C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800FA3B0 000F7310 38 80 00 00 */ li r4, 0 +/* 800FA3B4 000F7314 48 24 6A 8D */ bl __dt__6CTokenFv +lbl_800FA3B8: +/* 800FA3B8 000F7318 3B 9C 00 01 */ addi r28, r28, 1 +/* 800FA3BC 000F731C 2C 1C 00 20 */ cmpwi r28, 0x20 +/* 800FA3C0 000F7320 41 80 FE F0 */ blt lbl_800FA2B0 +/* 800FA3C4 000F7324 80 8D A3 2C */ lwz r4, lbl_805A8EEC@sda21(r13) +/* 800FA3C8 000F7328 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800FA3CC 000F732C 4B F0 A8 ED */ bl string_l__4rstlFPCc +/* 800FA3D0 000F7330 7F E3 FB 78 */ mr r3, r31 +/* 800FA3D4 000F7334 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800FA3D8 000F7338 4B FF 49 7D */ bl "LoadAnimationTokens__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800FA3DC 000F733C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800FA3E0 000F7340 48 24 37 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800FA3E4 000F7344 7F E3 FB 78 */ mr r3, r31 +/* 800FA3E8 000F7348 4B FF 37 35 */ bl InitializeWakeEffects__10CMorphBallFv +/* 800FA3EC 000F734C 7F E3 FB 78 */ mr r3, r31 +/* 800FA3F0 000F7350 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 800FA3F4 000F7354 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 800FA3F8 000F7358 BB 41 01 38 */ lmw r26, 0x138(r1) +/* 800FA3FC 000F735C 80 01 01 64 */ lwz r0, 0x164(r1) +/* 800FA400 000F7360 7C 08 03 A6 */ mtlr r0 +/* 800FA404 000F7364 38 21 01 60 */ addi r1, r1, 0x160 +/* 800FA408 000F7368 4E 80 00 20 */ blr + +.global sub_800fa40c +sub_800fa40c: +/* 800FA40C 000F736C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FA410 000F7370 7C 08 02 A6 */ mflr r0 +/* 800FA414 000F7374 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FA418 000F7378 4B F2 0B B5 */ bl "ReferenceCount__24TOneStatic<10CMorphBall>Fv" +/* 800FA41C 000F737C 80 83 00 00 */ lwz r4, 0(r3) +/* 800FA420 000F7380 38 04 FF FF */ addi r0, r4, -1 +/* 800FA424 000F7384 90 03 00 00 */ stw r0, 0(r3) +/* 800FA428 000F7388 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FA42C 000F738C 7C 08 03 A6 */ mtlr r0 +/* 800FA430 000F7390 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FA434 000F7394 4E 80 00 20 */ blr + +.global sub_800fa438 +sub_800fa438: +/* 800FA438 000F7398 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FA43C 000F739C 7C 08 02 A6 */ mflr r0 +/* 800FA440 000F73A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FA444 000F73A4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FA448 000F73A8 93 C1 00 08 */ stw r30, 8(r1) +/* 800FA44C 000F73AC 7C 7E 1B 78 */ mr r30, r3 +/* 800FA450 000F73B0 80 03 00 04 */ lwz r0, 4(r3) +/* 800FA454 000F73B4 83 E4 00 04 */ lwz r31, 4(r4) +/* 800FA458 000F73B8 7C 04 00 40 */ cmplw r4, r0 +/* 800FA45C 000F73BC 40 82 00 08 */ bne lbl_800FA464 +/* 800FA460 000F73C0 93 FE 00 04 */ stw r31, 4(r30) +lbl_800FA464: +/* 800FA464 000F73C4 80 04 00 04 */ lwz r0, 4(r4) +/* 800FA468 000F73C8 28 04 00 00 */ cmplwi r4, 0 +/* 800FA46C 000F73CC 80 64 00 00 */ lwz r3, 0(r4) +/* 800FA470 000F73D0 90 03 00 04 */ stw r0, 4(r3) +/* 800FA474 000F73D4 80 04 00 00 */ lwz r0, 0(r4) +/* 800FA478 000F73D8 80 64 00 04 */ lwz r3, 4(r4) +/* 800FA47C 000F73DC 90 03 00 00 */ stw r0, 0(r3) +/* 800FA480 000F73E0 41 82 00 0C */ beq lbl_800FA48C +/* 800FA484 000F73E4 7C 83 23 78 */ mr r3, r4 +/* 800FA488 000F73E8 48 21 B4 A9 */ bl Free__7CMemoryFPCv +lbl_800FA48C: +/* 800FA48C 000F73EC 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 800FA490 000F73F0 7F E3 FB 78 */ mr r3, r31 +/* 800FA494 000F73F4 38 04 FF FF */ addi r0, r4, -1 +/* 800FA498 000F73F8 90 1E 00 14 */ stw r0, 0x14(r30) +/* 800FA49C 000F73FC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FA4A0 000F7400 83 C1 00 08 */ lwz r30, 8(r1) +/* 800FA4A4 000F7404 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FA4A8 000F7408 7C 08 03 A6 */ mtlr r0 +/* 800FA4AC 000F740C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FA4B0 000F7410 4E 80 00 20 */ blr + +.global sub_800fa4b4 +sub_800fa4b4: +/* 800FA4B4 000F7414 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800FA4B8 000F7418 7C 08 02 A6 */ mflr r0 +/* 800FA4BC 000F741C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800FA4C0 000F7420 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800FA4C4 000F7424 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800FA4C8 000F7428 7C 9E 23 78 */ mr r30, r4 +/* 800FA4CC 000F742C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800FA4D0 000F7430 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800FA4D4 000F7434 41 82 00 38 */ beq lbl_800FA50C +/* 800FA4D8 000F7438 83 FD 00 04 */ lwz r31, 4(r29) +/* 800FA4DC 000F743C 48 00 00 14 */ b lbl_800FA4F0 +lbl_800FA4E0: +/* 800FA4E0 000F7440 7F E3 FB 79 */ or. r3, r31, r31 +/* 800FA4E4 000F7444 83 FF 00 04 */ lwz r31, 4(r31) +/* 800FA4E8 000F7448 41 82 00 08 */ beq lbl_800FA4F0 +/* 800FA4EC 000F744C 48 21 B4 45 */ bl Free__7CMemoryFPCv +lbl_800FA4F0: +/* 800FA4F0 000F7450 80 1D 00 08 */ lwz r0, 8(r29) +/* 800FA4F4 000F7454 7C 1F 00 40 */ cmplw r31, r0 +/* 800FA4F8 000F7458 40 82 FF E8 */ bne lbl_800FA4E0 +/* 800FA4FC 000F745C 7F C0 07 35 */ extsh. r0, r30 +/* 800FA500 000F7460 40 81 00 0C */ ble lbl_800FA50C +/* 800FA504 000F7464 7F A3 EB 78 */ mr r3, r29 +/* 800FA508 000F7468 48 21 B4 29 */ bl Free__7CMemoryFPCv +lbl_800FA50C: +/* 800FA50C 000F746C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800FA510 000F7470 7F A3 EB 78 */ mr r3, r29 +/* 800FA514 000F7474 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800FA518 000F7478 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800FA51C 000F747C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800FA520 000F7480 7C 08 03 A6 */ mtlr r0 +/* 800FA524 000F7484 38 21 00 20 */ addi r1, r1, 0x20 +/* 800FA528 000F7488 4E 80 00 20 */ blr + +.global __sinit_CMorphBall_cpp +__sinit_CMorphBall_cpp: +/* 800FA52C 000F748C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FA530 000F7490 7C 08 02 A6 */ mflr r0 +/* 800FA534 000F7494 3C 80 80 3D */ lis r4, lbl_803CE910@ha +/* 800FA538 000F7498 3C A0 80 47 */ lis r5, lbl_8046C4F8@ha +/* 800FA53C 000F749C 38 C4 E9 10 */ addi r6, r4, lbl_803CE910@l +/* 800FA540 000F74A0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FA544 000F74A4 81 26 00 00 */ lwz r9, 0(r6) +/* 800FA548 000F74A8 38 00 00 00 */ li r0, 0 +/* 800FA54C 000F74AC 81 06 00 40 */ lwz r8, 0x40(r6) +/* 800FA550 000F74B0 3C 60 80 57 */ lis r3, lbl_8056D4F4@ha +/* 800FA554 000F74B4 80 E6 01 00 */ lwz r7, 0x100(r6) +/* 800FA558 000F74B8 3C 80 80 10 */ lis r4, sub_800fa590@ha +/* 800FA55C 000F74BC 80 C6 01 40 */ lwz r6, 0x140(r6) +/* 800FA560 000F74C0 38 84 A5 90 */ addi r4, r4, sub_800fa590@l +/* 800FA564 000F74C4 91 2D A3 2C */ stw r9, lbl_805A8EEC@sda21(r13) +/* 800FA568 000F74C8 38 A5 C4 F8 */ addi r5, r5, lbl_8046C4F8@l +/* 800FA56C 000F74CC 91 0D A3 30 */ stw r8, lbl_805A8EF0@sda21(r13) +/* 800FA570 000F74D0 90 ED A3 34 */ stw r7, lbl_805A8EF4@sda21(r13) +/* 800FA574 000F74D4 90 CD A3 38 */ stw r6, lbl_805A8EF8@sda21(r13) +/* 800FA578 000F74D8 94 03 D4 F4 */ stwu r0, lbl_8056D4F4@l(r3) +/* 800FA57C 000F74DC 48 28 F1 11 */ bl __register_global_object +/* 800FA580 000F74E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FA584 000F74E4 7C 08 03 A6 */ mtlr r0 +/* 800FA588 000F74E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FA58C 000F74EC 4E 80 00 20 */ blr + +.global sub_800fa590 +sub_800fa590: +/* 800FA590 000F74F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FA594 000F74F4 7C 08 02 A6 */ mflr r0 +/* 800FA598 000F74F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FA59C 000F74FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FA5A0 000F7500 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800FA5A4 000F7504 41 82 00 68 */ beq lbl_800FA60C +/* 800FA5A8 000F7508 80 DF 00 00 */ lwz r6, 0(r31) +/* 800FA5AC 000F750C 38 60 00 00 */ li r3, 0 +/* 800FA5B0 000F7510 2C 06 00 00 */ cmpwi r6, 0 +/* 800FA5B4 000F7514 40 81 00 40 */ ble lbl_800FA5F4 +/* 800FA5B8 000F7518 2C 06 00 08 */ cmpwi r6, 8 +/* 800FA5BC 000F751C 38 A6 FF F8 */ addi r5, r6, -8 +/* 800FA5C0 000F7520 40 81 00 20 */ ble lbl_800FA5E0 +/* 800FA5C4 000F7524 38 05 00 07 */ addi r0, r5, 7 +/* 800FA5C8 000F7528 54 00 E8 FE */ srwi r0, r0, 3 +/* 800FA5CC 000F752C 7C 09 03 A6 */ mtctr r0 +/* 800FA5D0 000F7530 2C 05 00 00 */ cmpwi r5, 0 +/* 800FA5D4 000F7534 40 81 00 0C */ ble lbl_800FA5E0 +lbl_800FA5D8: +/* 800FA5D8 000F7538 38 63 00 08 */ addi r3, r3, 8 +/* 800FA5DC 000F753C 42 00 FF FC */ bdnz lbl_800FA5D8 +lbl_800FA5E0: +/* 800FA5E0 000F7540 7C 03 30 50 */ subf r0, r3, r6 +/* 800FA5E4 000F7544 7C 09 03 A6 */ mtctr r0 +/* 800FA5E8 000F7548 7C 03 30 00 */ cmpw r3, r6 +/* 800FA5EC 000F754C 40 80 00 08 */ bge lbl_800FA5F4 +lbl_800FA5F0: +/* 800FA5F0 000F7550 42 00 00 00 */ bdnz lbl_800FA5F0 +lbl_800FA5F4: +/* 800FA5F4 000F7554 38 60 00 00 */ li r3, 0 +/* 800FA5F8 000F7558 7C 80 07 35 */ extsh. r0, r4 +/* 800FA5FC 000F755C 90 7F 00 00 */ stw r3, 0(r31) +/* 800FA600 000F7560 40 81 00 0C */ ble lbl_800FA60C +/* 800FA604 000F7564 7F E3 FB 78 */ mr r3, r31 +/* 800FA608 000F7568 48 21 B3 29 */ bl Free__7CMemoryFPCv +lbl_800FA60C: +/* 800FA60C 000F756C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FA610 000F7570 7F E3 FB 78 */ mr r3, r31 +/* 800FA614 000F7574 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FA618 000F7578 7C 08 03 A6 */ mtlr r0 +/* 800FA61C 000F757C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FA620 000F7580 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPlayer.s b/asm/Kyoto_CWD/Player/CPlayer.s similarity index 100% rename from asm/Kyoto_CWD/CPlayer.s rename to asm/Kyoto_CWD/Player/CPlayer.s diff --git a/asm/Kyoto_CWD/Player/CPlayerCameraBob.s b/asm/Kyoto_CWD/Player/CPlayerCameraBob.s new file mode 100644 index 00000000..83c96968 --- /dev/null +++ b/asm/Kyoto_CWD/Player/CPlayerCameraBob.s @@ -0,0 +1,1087 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetViewWanderTransform__16CPlayerCameraBobCFv +GetViewWanderTransform__16CPlayerCameraBobCFv: +/* 800E9570 000E64D0 38 63 00 D0 */ addi r3, r3, 0xd0 +/* 800E9574 000E64D4 4E 80 00 20 */ blr + +.global UpdateViewWander__16CPlayerCameraBobFfR13CStateManager +UpdateViewWander__16CPlayerCameraBobFfR13CStateManager: +/* 800E9578 000E64D8 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800E957C 000E64DC 7C 08 02 A6 */ mflr r0 +/* 800E9580 000E64E0 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800E9584 000E64E4 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 800E9588 000E64E8 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 800E958C 000E64EC 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 800E9590 000E64F0 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 800E9594 000E64F4 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 800E9598 000E64F8 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 800E959C 000E64FC 81 23 00 CC */ lwz r9, 0xcc(r3) +/* 800E95A0 000E6500 7C 7C 1B 78 */ mr r28, r3 +/* 800E95A4 000E6504 FF E0 08 90 */ fmr f31, f1 +/* 800E95A8 000E6508 C0 23 00 C4 */ lfs f1, 0xc4(r3) +/* 800E95AC 000E650C 38 A9 00 03 */ addi r5, r9, 3 +/* 800E95B0 000E6510 7C 9D 23 78 */ mr r29, r4 +/* 800E95B4 000E6514 38 09 00 01 */ addi r0, r9, 1 +/* 800E95B8 000E6518 38 69 00 02 */ addi r3, r9, 2 +/* 800E95BC 000E651C 54 A4 F0 02 */ slwi r4, r5, 0x1e +/* 800E95C0 000E6520 54 A8 0F FE */ srwi r8, r5, 0x1f +/* 800E95C4 000E6524 7C E8 20 50 */ subf r7, r8, r4 +/* 800E95C8 000E6528 54 05 F0 02 */ slwi r5, r0, 0x1e +/* 800E95CC 000E652C 54 06 0F FE */ srwi r6, r0, 0x1f +/* 800E95D0 000E6530 54 60 F0 02 */ slwi r0, r3, 0x1e +/* 800E95D4 000E6534 54 64 0F FE */ srwi r4, r3, 0x1f +/* 800E95D8 000E6538 54 E7 10 3E */ rotlwi r7, r7, 2 +/* 800E95DC 000E653C 7C A6 28 50 */ subf r5, r6, r5 +/* 800E95E0 000E6540 3B FC 00 80 */ addi r31, r28, 0x80 +/* 800E95E4 000E6544 7C 04 00 50 */ subf r0, r4, r0 +/* 800E95E8 000E6548 7C E7 42 14 */ add r7, r7, r8 +/* 800E95EC 000E654C 54 A5 10 3E */ rotlwi r5, r5, 2 +/* 800E95F0 000E6550 38 61 00 24 */ addi r3, r1, 0x24 +/* 800E95F4 000E6554 54 00 10 3E */ rotlwi r0, r0, 2 +/* 800E95F8 000E6558 7C 00 22 14 */ add r0, r0, r4 +/* 800E95FC 000E655C 7C A5 32 14 */ add r5, r5, r6 +/* 800E9600 000E6560 1C E7 00 0C */ mulli r7, r7, 0xc +/* 800E9604 000E6564 1C 89 00 0C */ mulli r4, r9, 0xc +/* 800E9608 000E6568 7C FF 3A 14 */ add r7, r31, r7 +/* 800E960C 000E656C 1C A5 00 0C */ mulli r5, r5, 0xc +/* 800E9610 000E6570 7C 9F 22 14 */ add r4, r31, r4 +/* 800E9614 000E6574 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800E9618 000E6578 7C BF 2A 14 */ add r5, r31, r5 +/* 800E961C 000E657C 7C DF 02 14 */ add r6, r31, r0 +/* 800E9620 000E6580 48 22 BA A5 */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff +/* 800E9624 000E6584 C0 41 00 24 */ lfs f2, 0x24(r1) +/* 800E9628 000E6588 3B DC 00 B4 */ addi r30, r28, 0xb4 +/* 800E962C 000E658C C0 21 00 28 */ lfs f1, 0x28(r1) +/* 800E9630 000E6590 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800E9634 000E6594 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800E9638 000E6598 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800E963C 000E659C D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800E9640 000E65A0 80 9C 00 CC */ lwz r4, 0xcc(r28) +/* 800E9644 000E65A4 C0 BC 00 C4 */ lfs f5, 0xc4(r28) +/* 800E9648 000E65A8 38 A4 00 03 */ addi r5, r4, 3 +/* 800E964C 000E65AC 38 04 00 01 */ addi r0, r4, 1 +/* 800E9650 000E65B0 38 64 00 02 */ addi r3, r4, 2 +/* 800E9654 000E65B4 54 86 10 3A */ slwi r6, r4, 2 +/* 800E9658 000E65B8 54 A4 F0 02 */ slwi r4, r5, 0x1e +/* 800E965C 000E65BC 54 A8 0F FE */ srwi r8, r5, 0x1f +/* 800E9660 000E65C0 7C E8 20 50 */ subf r7, r8, r4 +/* 800E9664 000E65C4 54 04 F0 02 */ slwi r4, r0, 0x1e +/* 800E9668 000E65C8 54 05 0F FE */ srwi r5, r0, 0x1f +/* 800E966C 000E65CC 54 60 F0 02 */ slwi r0, r3, 0x1e +/* 800E9670 000E65D0 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800E9674 000E65D4 54 E7 10 3E */ rotlwi r7, r7, 2 +/* 800E9678 000E65D8 7C 85 20 50 */ subf r4, r5, r4 +/* 800E967C 000E65DC 7C 3E 34 2E */ lfsx f1, r30, r6 +/* 800E9680 000E65E0 7C 03 00 50 */ subf r0, r3, r0 +/* 800E9684 000E65E4 7C C7 42 14 */ add r6, r7, r8 +/* 800E9688 000E65E8 54 84 10 3E */ rotlwi r4, r4, 2 +/* 800E968C 000E65EC 54 00 10 3E */ rotlwi r0, r0, 2 +/* 800E9690 000E65F0 54 C6 10 3A */ slwi r6, r6, 2 +/* 800E9694 000E65F4 7C 84 2A 14 */ add r4, r4, r5 +/* 800E9698 000E65F8 7C 9E 34 2E */ lfsx f4, r30, r6 +/* 800E969C 000E65FC 7C 00 1A 14 */ add r0, r0, r3 +/* 800E96A0 000E6600 54 83 10 3A */ slwi r3, r4, 2 +/* 800E96A4 000E6604 54 00 10 3A */ slwi r0, r0, 2 +/* 800E96A8 000E6608 7C 5E 1C 2E */ lfsx f2, r30, r3 +/* 800E96AC 000E660C 7C 7E 04 2E */ lfsx f3, r30, r0 +/* 800E96B0 000E6610 48 22 B9 69 */ bl GetCatmullRomSplinePoint__5CMathFfffff +/* 800E96B4 000E6614 C0 BC 01 00 */ lfs f5, 0x100(r28) +/* 800E96B8 000E6618 38 61 00 3C */ addi r3, r1, 0x3c +/* 800E96BC 000E661C C0 61 00 38 */ lfs f3, 0x38(r1) +/* 800E96C0 000E6620 38 81 00 08 */ addi r4, r1, 8 +/* 800E96C4 000E6624 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 800E96C8 000E6628 EC 21 01 72 */ fmuls f1, f1, f5 +/* 800E96CC 000E662C C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800E96D0 000E6630 EC 85 00 F2 */ fmuls f4, f5, f3 +/* 800E96D4 000E6634 EC 45 00 B2 */ fmuls f2, f5, f2 +/* 800E96D8 000E6638 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 800E96DC 000E663C D0 21 00 08 */ stfs f1, 8(r1) +/* 800E96E0 000E6640 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800E96E4 000E6644 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800E96E8 000E6648 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 800E96EC 000E664C D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800E96F0 000E6650 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800E96F4 000E6654 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800E96F8 000E6658 48 22 A1 B1 */ bl RotateY__12CTransform4fFRC9CRelAngle +/* 800E96FC 000E665C 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 800E9700 000E6660 38 61 00 6C */ addi r3, r1, 0x6c +/* 800E9704 000E6664 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 800E9708 000E6668 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800E970C 000E666C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800E9710 000E6670 48 22 A4 01 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800E9714 000E6674 38 61 00 9C */ addi r3, r1, 0x9c +/* 800E9718 000E6678 38 81 00 6C */ addi r4, r1, 0x6c +/* 800E971C 000E667C 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800E9720 000E6680 48 22 92 31 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800E9724 000E6684 38 7C 00 D0 */ addi r3, r28, 0xd0 +/* 800E9728 000E6688 38 81 00 9C */ addi r4, r1, 0x9c +/* 800E972C 000E668C 48 22 94 15 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800E9730 000E6690 C0 5C 00 C8 */ lfs f2, 0xc8(r28) +/* 800E9734 000E6694 C0 3C 00 C4 */ lfs f1, 0xc4(r28) +/* 800E9738 000E6698 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) +/* 800E973C 000E669C EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 800E9740 000E66A0 D0 3C 00 C4 */ stfs f1, 0xc4(r28) +/* 800E9744 000E66A4 C0 3C 00 C4 */ lfs f1, 0xc4(r28) +/* 800E9748 000E66A8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E974C 000E66AC 4C 41 13 82 */ cror 2, 1, 2 +/* 800E9750 000E66B0 40 82 00 A4 */ bne lbl_800E97F4 +/* 800E9754 000E66B4 7F 84 E3 78 */ mr r4, r28 +/* 800E9758 000E66B8 7F A5 EB 78 */ mr r5, r29 +/* 800E975C 000E66BC 38 61 00 0C */ addi r3, r1, 0xc +/* 800E9760 000E66C0 48 00 01 01 */ bl CalculateRandomViewWanderPosition__16CPlayerCameraBobFR13CStateManager +/* 800E9764 000E66C4 80 1C 00 CC */ lwz r0, 0xcc(r28) +/* 800E9768 000E66C8 7F 83 E3 78 */ mr r3, r28 +/* 800E976C 000E66CC C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800E9770 000E66D0 7F A4 EB 78 */ mr r4, r29 +/* 800E9774 000E66D4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800E9778 000E66D8 7C BF 02 14 */ add r5, r31, r0 +/* 800E977C 000E66DC D0 05 00 00 */ stfs f0, 0(r5) +/* 800E9780 000E66E0 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800E9784 000E66E4 D0 05 00 04 */ stfs f0, 4(r5) +/* 800E9788 000E66E8 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800E978C 000E66EC D0 05 00 08 */ stfs f0, 8(r5) +/* 800E9790 000E66F0 80 1C 00 CC */ lwz r0, 0xcc(r28) +/* 800E9794 000E66F4 54 1F 10 3A */ slwi r31, r0, 2 +/* 800E9798 000E66F8 48 00 00 85 */ bl CalculateRandomViewWanderPitch__16CPlayerCameraBobFR13CStateManager +/* 800E979C 000E66FC 7C 3E FD 2E */ stfsx f1, r30, r31 +/* 800E97A0 000E6700 C3 ED 87 EC */ lfs f31, lbl_805A73AC@sda21(r13) +/* 800E97A4 000E6704 80 7D 09 00 */ lwz r3, 0x900(r29) +/* 800E97A8 000E6708 48 22 8D 35 */ bl Float__9CRandom16Fv +/* 800E97AC 000E670C C0 4D 87 F0 */ lfs f2, lbl_805A73B0@sda21(r13) +/* 800E97B0 000E6710 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) +/* 800E97B4 000E6714 EC 42 F8 28 */ fsubs f2, f2, f31 +/* 800E97B8 000E6718 EC 22 F8 7A */ fmadds f1, f2, f1, f31 +/* 800E97BC 000E671C D0 3C 00 C8 */ stfs f1, 0xc8(r28) +/* 800E97C0 000E6720 80 7C 00 CC */ lwz r3, 0xcc(r28) +/* 800E97C4 000E6724 38 03 00 01 */ addi r0, r3, 1 +/* 800E97C8 000E6728 90 1C 00 CC */ stw r0, 0xcc(r28) +/* 800E97CC 000E672C 80 7C 00 CC */ lwz r3, 0xcc(r28) +/* 800E97D0 000E6730 54 60 F0 02 */ slwi r0, r3, 0x1e +/* 800E97D4 000E6734 54 63 0F FE */ srwi r3, r3, 0x1f +/* 800E97D8 000E6738 7C 03 00 50 */ subf r0, r3, r0 +/* 800E97DC 000E673C 54 00 10 3E */ rotlwi r0, r0, 2 +/* 800E97E0 000E6740 7C 00 1A 14 */ add r0, r0, r3 +/* 800E97E4 000E6744 90 1C 00 CC */ stw r0, 0xcc(r28) +/* 800E97E8 000E6748 C0 3C 00 C4 */ lfs f1, 0xc4(r28) +/* 800E97EC 000E674C EC 01 00 28 */ fsubs f0, f1, f0 +/* 800E97F0 000E6750 D0 1C 00 C4 */ stfs f0, 0xc4(r28) +lbl_800E97F4: +/* 800E97F4 000E6754 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 800E97F8 000E6758 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800E97FC 000E675C CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 800E9800 000E6760 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 800E9804 000E6764 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 800E9808 000E6768 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 800E980C 000E676C 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 800E9810 000E6770 7C 08 03 A6 */ mtlr r0 +/* 800E9814 000E6774 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 800E9818 000E6778 4E 80 00 20 */ blr + +.global CalculateRandomViewWanderPitch__16CPlayerCameraBobFR13CStateManager +CalculateRandomViewWanderPitch__16CPlayerCameraBobFR13CStateManager: +/* 800E981C 000E677C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E9820 000E6780 7C 08 02 A6 */ mflr r0 +/* 800E9824 000E6784 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E9828 000E6788 80 64 09 00 */ lwz r3, 0x900(r4) +/* 800E982C 000E678C 48 22 8C B1 */ bl Float__9CRandom16Fv +/* 800E9830 000E6790 C0 02 90 88 */ lfs f0, lbl_805AADA8@sda21(r2) +/* 800E9834 000E6794 C0 42 90 84 */ lfs f2, lbl_805AADA4@sda21(r2) +/* 800E9838 000E6798 EC 61 00 28 */ fsubs f3, f1, f0 +/* 800E983C 000E679C C0 2D 87 F4 */ lfs f1, lbl_805A73B4@sda21(r13) +/* 800E9840 000E67A0 C0 02 90 80 */ lfs f0, lbl_805AADA0@sda21(r2) +/* 800E9844 000E67A4 EC 42 00 F2 */ fmuls f2, f2, f3 +/* 800E9848 000E67A8 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800E984C 000E67AC EC 20 00 72 */ fmuls f1, f0, f1 +/* 800E9850 000E67B0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E9854 000E67B4 7C 08 03 A6 */ mtlr r0 +/* 800E9858 000E67B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E985C 000E67BC 4E 80 00 20 */ blr + +.global CalculateRandomViewWanderPosition__16CPlayerCameraBobFR13CStateManager +CalculateRandomViewWanderPosition__16CPlayerCameraBobFR13CStateManager: +/* 800E9860 000E67C0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800E9864 000E67C4 7C 08 02 A6 */ mflr r0 +/* 800E9868 000E67C8 90 01 00 44 */ stw r0, 0x44(r1) +/* 800E986C 000E67CC DB E1 00 30 */ stfd f31, 0x30(r1) +/* 800E9870 000E67D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 800E9874 000E67D4 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 800E9878 000E67D8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 800E987C 000E67DC DB A1 00 10 */ stfd f29, 0x10(r1) +/* 800E9880 000E67E0 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 +/* 800E9884 000E67E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E9888 000E67E8 93 C1 00 08 */ stw r30, 8(r1) +/* 800E988C 000E67EC 7C BF 2B 78 */ mr r31, r5 +/* 800E9890 000E67F0 7C 7E 1B 78 */ mr r30, r3 +/* 800E9894 000E67F4 80 65 09 00 */ lwz r3, 0x900(r5) +/* 800E9898 000E67F8 48 22 8C 45 */ bl Float__9CRandom16Fv +/* 800E989C 000E67FC C0 42 90 8C */ lfs f2, lbl_805AADAC@sda21(r2) +/* 800E98A0 000E6800 C0 02 90 84 */ lfs f0, lbl_805AADA4@sda21(r2) +/* 800E98A4 000E6804 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800E98A8 000E6808 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800E98AC 000E680C EF C0 00 72 */ fmuls f30, f0, f1 +/* 800E98B0 000E6810 48 22 8C 2D */ bl Float__9CRandom16Fv +/* 800E98B4 000E6814 C0 0D 87 E8 */ lfs f0, lbl_805A73A8@sda21(r13) +/* 800E98B8 000E6818 EF A0 00 72 */ fmuls f29, f0, f1 +/* 800E98BC 000E681C FC 20 F0 90 */ fmr f1, f30 +/* 800E98C0 000E6820 48 22 BA 25 */ bl SlowCosineR__5CMathFf +/* 800E98C4 000E6824 EF FD 00 72 */ fmuls f31, f29, f1 +/* 800E98C8 000E6828 FC 20 F0 90 */ fmr f1, f30 +/* 800E98CC 000E682C 48 22 BA 3D */ bl SlowSineR__5CMathFf +/* 800E98D0 000E6830 EC 3D 00 72 */ fmuls f1, f29, f1 +/* 800E98D4 000E6834 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) +/* 800E98D8 000E6838 D0 3E 00 00 */ stfs f1, 0(r30) +/* 800E98DC 000E683C D0 1E 00 04 */ stfs f0, 4(r30) +/* 800E98E0 000E6840 D3 FE 00 08 */ stfs f31, 8(r30) +/* 800E98E4 000E6844 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 800E98E8 000E6848 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 800E98EC 000E684C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 800E98F0 000E6850 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 800E98F4 000E6854 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 +/* 800E98F8 000E6858 CB A1 00 10 */ lfd f29, 0x10(r1) +/* 800E98FC 000E685C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E9900 000E6860 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800E9904 000E6864 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E9908 000E6868 7C 08 03 A6 */ mtlr r0 +/* 800E990C 000E686C 38 21 00 40 */ addi r1, r1, 0x40 +/* 800E9910 000E6870 4E 80 00 20 */ blr + +.global InitViewWander__16CPlayerCameraBobFR13CStateManager +InitViewWander__16CPlayerCameraBobFR13CStateManager: +/* 800E9914 000E6874 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800E9918 000E6878 7C 08 02 A6 */ mflr r0 +/* 800E991C 000E687C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800E9920 000E6880 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 800E9924 000E6884 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 800E9928 000E6888 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E992C 000E688C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800E9930 000E6890 C0 22 90 78 */ lfs f1, lbl_805AAD98@sda21(r2) +/* 800E9934 000E6894 7C 7E 1B 78 */ mr r30, r3 +/* 800E9938 000E6898 7C 9F 23 78 */ mr r31, r4 +/* 800E993C 000E689C C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) +/* 800E9940 000E68A0 D0 23 00 80 */ stfs f1, 0x80(r3) +/* 800E9944 000E68A4 7F C4 F3 78 */ mr r4, r30 +/* 800E9948 000E68A8 7F E5 FB 78 */ mr r5, r31 +/* 800E994C 000E68AC 38 61 00 08 */ addi r3, r1, 8 +/* 800E9950 000E68B0 D0 1E 00 84 */ stfs f0, 0x84(r30) +/* 800E9954 000E68B4 D0 3E 00 88 */ stfs f1, 0x88(r30) +/* 800E9958 000E68B8 C0 1E 00 80 */ lfs f0, 0x80(r30) +/* 800E995C 000E68BC D0 1E 00 8C */ stfs f0, 0x8c(r30) +/* 800E9960 000E68C0 C0 1E 00 84 */ lfs f0, 0x84(r30) +/* 800E9964 000E68C4 D0 1E 00 90 */ stfs f0, 0x90(r30) +/* 800E9968 000E68C8 C0 1E 00 88 */ lfs f0, 0x88(r30) +/* 800E996C 000E68CC D0 1E 00 94 */ stfs f0, 0x94(r30) +/* 800E9970 000E68D0 C0 1E 00 80 */ lfs f0, 0x80(r30) +/* 800E9974 000E68D4 D0 1E 00 98 */ stfs f0, 0x98(r30) +/* 800E9978 000E68D8 C0 1E 00 84 */ lfs f0, 0x84(r30) +/* 800E997C 000E68DC D0 1E 00 9C */ stfs f0, 0x9c(r30) +/* 800E9980 000E68E0 C0 1E 00 88 */ lfs f0, 0x88(r30) +/* 800E9984 000E68E4 D0 1E 00 A0 */ stfs f0, 0xa0(r30) +/* 800E9988 000E68E8 4B FF FE D9 */ bl CalculateRandomViewWanderPosition__16CPlayerCameraBobFR13CStateManager +/* 800E998C 000E68EC C0 21 00 08 */ lfs f1, 8(r1) +/* 800E9990 000E68F0 7F C3 F3 78 */ mr r3, r30 +/* 800E9994 000E68F4 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800E9998 000E68F8 7F E4 FB 78 */ mr r4, r31 +/* 800E999C 000E68FC D0 3E 00 A4 */ stfs f1, 0xa4(r30) +/* 800E99A0 000E6900 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 800E99A4 000E6904 D0 3E 00 A8 */ stfs f1, 0xa8(r30) +/* 800E99A8 000E6908 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 800E99AC 000E690C D0 3E 00 AC */ stfs f1, 0xac(r30) +/* 800E99B0 000E6910 D0 1E 00 B4 */ stfs f0, 0xb4(r30) +/* 800E99B4 000E6914 C0 1E 00 B4 */ lfs f0, 0xb4(r30) +/* 800E99B8 000E6918 D0 1E 00 B8 */ stfs f0, 0xb8(r30) +/* 800E99BC 000E691C C0 1E 00 B4 */ lfs f0, 0xb4(r30) +/* 800E99C0 000E6920 D0 1E 00 BC */ stfs f0, 0xbc(r30) +/* 800E99C4 000E6924 4B FF FE 59 */ bl CalculateRandomViewWanderPitch__16CPlayerCameraBobFR13CStateManager +/* 800E99C8 000E6928 D0 3E 00 C0 */ stfs f1, 0xc0(r30) +/* 800E99CC 000E692C C3 ED 87 EC */ lfs f31, lbl_805A73AC@sda21(r13) +/* 800E99D0 000E6930 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800E99D4 000E6934 48 22 8B 09 */ bl Float__9CRandom16Fv +/* 800E99D8 000E6938 C0 4D 87 F0 */ lfs f2, lbl_805A73B0@sda21(r13) +/* 800E99DC 000E693C 38 00 00 00 */ li r0, 0 +/* 800E99E0 000E6940 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800E99E4 000E6944 EC 42 F8 28 */ fsubs f2, f2, f31 +/* 800E99E8 000E6948 EC 22 F8 7A */ fmadds f1, f2, f1, f31 +/* 800E99EC 000E694C D0 3E 00 C8 */ stfs f1, 0xc8(r30) +/* 800E99F0 000E6950 D0 1E 00 C4 */ stfs f0, 0xc4(r30) +/* 800E99F4 000E6954 90 1E 00 CC */ stw r0, 0xcc(r30) +/* 800E99F8 000E6958 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 800E99FC 000E695C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800E9A00 000E6960 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 800E9A04 000E6964 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E9A08 000E6968 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800E9A0C 000E696C 7C 08 03 A6 */ mtlr r0 +/* 800E9A10 000E6970 38 21 00 30 */ addi r1, r1, 0x30 +/* 800E9A14 000E6974 4E 80 00 20 */ blr + +.global SetPlayerVelocity__16CPlayerCameraBobFRC9CVector3f +SetPlayerVelocity__16CPlayerCameraBobFRC9CVector3f: +/* 800E9A18 000E6978 C0 04 00 00 */ lfs f0, 0(r4) +/* 800E9A1C 000E697C 38 A4 00 08 */ addi r5, r4, 8 +/* 800E9A20 000E6980 D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 800E9A24 000E6984 C0 04 00 04 */ lfs f0, 4(r4) +/* 800E9A28 000E6988 D0 03 00 60 */ stfs f0, 0x60(r3) +/* 800E9A2C 000E698C C0 04 00 08 */ lfs f0, 8(r4) +/* 800E9A30 000E6990 D0 03 00 64 */ stfs f0, 0x64(r3) +/* 800E9A34 000E6994 C0 23 00 68 */ lfs f1, 0x68(r3) +/* 800E9A38 000E6998 C0 04 00 08 */ lfs f0, 8(r4) +/* 800E9A3C 000E699C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E9A40 000E69A0 40 80 00 08 */ bge lbl_800E9A48 +/* 800E9A44 000E69A4 38 A3 00 68 */ addi r5, r3, 0x68 +lbl_800E9A48: +/* 800E9A48 000E69A8 C0 05 00 00 */ lfs f0, 0(r5) +/* 800E9A4C 000E69AC D0 03 00 68 */ stfs f0, 0x68(r3) +/* 800E9A50 000E69B0 4E 80 00 20 */ blr + +.global SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager +SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager: +/* 800E9A54 000E69B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E9A58 000E69B8 7C 08 02 A6 */ mflr r0 +/* 800E9A5C 000E69BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E9A60 000E69C0 80 03 00 24 */ lwz r0, 0x24(r3) +/* 800E9A64 000E69C4 7C 04 00 00 */ cmpw r4, r0 +/* 800E9A68 000E69C8 41 82 00 B4 */ beq lbl_800E9B1C +/* 800E9A6C 000E69CC 90 03 00 20 */ stw r0, 0x20(r3) +/* 800E9A70 000E69D0 90 83 00 24 */ stw r4, 0x24(r3) +/* 800E9A74 000E69D4 80 03 00 20 */ lwz r0, 0x20(r3) +/* 800E9A78 000E69D8 2C 00 00 02 */ cmpwi r0, 2 +/* 800E9A7C 000E69DC 40 82 00 7C */ bne lbl_800E9AF8 +/* 800E9A80 000E69E0 38 00 00 01 */ li r0, 1 +/* 800E9A84 000E69E4 98 03 00 28 */ stb r0, 0x28(r3) +/* 800E9A88 000E69E8 C0 23 00 68 */ lfs f1, 0x68(r3) +/* 800E9A8C 000E69EC C0 0D 87 DC */ lfs f0, lbl_805A739C@sda21(r13) +/* 800E9A90 000E69F0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E9A94 000E69F4 40 80 00 0C */ bge lbl_800E9AA0 +/* 800E9A98 000E69F8 38 8D 87 DC */ addi r4, r13, lbl_805A739C@sda21 +/* 800E9A9C 000E69FC 48 00 00 08 */ b lbl_800E9AA4 +lbl_800E9AA0: +/* 800E9AA0 000E6A00 38 83 00 68 */ addi r4, r3, 0x68 +lbl_800E9AA4: +/* 800E9AA4 000E6A04 C0 04 00 00 */ lfs f0, 0(r4) +/* 800E9AA8 000E6A08 D0 03 00 68 */ stfs f0, 0x68(r3) +/* 800E9AAC 000E6A0C C0 23 00 68 */ lfs f1, 0x68(r3) +/* 800E9AB0 000E6A10 C0 0D 87 D8 */ lfs f0, lbl_805A7398@sda21(r13) +/* 800E9AB4 000E6A14 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E9AB8 000E6A18 7C 00 00 26 */ mfcr r0 +/* 800E9ABC 000E6A1C 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800E9AC0 000E6A20 98 03 00 29 */ stb r0, 0x29(r3) +/* 800E9AC4 000E6A24 88 03 00 29 */ lbz r0, 0x29(r3) +/* 800E9AC8 000E6A28 28 00 00 00 */ cmplwi r0, 0 +/* 800E9ACC 000E6A2C 41 82 00 14 */ beq lbl_800E9AE0 +/* 800E9AD0 000E6A30 C0 23 00 74 */ lfs f1, 0x74(r3) +/* 800E9AD4 000E6A34 C0 03 00 68 */ lfs f0, 0x68(r3) +/* 800E9AD8 000E6A38 EC 01 00 2A */ fadds f0, f1, f0 +/* 800E9ADC 000E6A3C D0 03 00 74 */ stfs f0, 0x74(r3) +lbl_800E9AE0: +/* 800E9AE0 000E6A40 C0 43 00 6C */ lfs f2, 0x6c(r3) +/* 800E9AE4 000E6A44 C0 23 00 68 */ lfs f1, 0x68(r3) +/* 800E9AE8 000E6A48 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800E9AEC 000E6A4C EC 22 08 2A */ fadds f1, f2, f1 +/* 800E9AF0 000E6A50 D0 23 00 6C */ stfs f1, 0x6c(r3) +/* 800E9AF4 000E6A54 D0 03 00 68 */ stfs f0, 0x68(r3) +lbl_800E9AF8: +/* 800E9AF8 000E6A58 80 03 00 24 */ lwz r0, 0x24(r3) +/* 800E9AFC 000E6A5C 2C 00 00 03 */ cmpwi r0, 3 +/* 800E9B00 000E6A60 40 82 00 1C */ bne lbl_800E9B1C +/* 800E9B04 000E6A64 C0 23 01 00 */ lfs f1, 0x100(r3) +/* 800E9B08 000E6A68 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800E9B0C 000E6A6C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800E9B10 000E6A70 41 82 00 0C */ beq lbl_800E9B1C +/* 800E9B14 000E6A74 7C A4 2B 78 */ mr r4, r5 +/* 800E9B18 000E6A78 4B FF FD FD */ bl InitViewWander__16CPlayerCameraBobFR13CStateManager +lbl_800E9B1C: +/* 800E9B1C 000E6A7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E9B20 000E6A80 7C 08 03 A6 */ mtlr r0 +/* 800E9B24 000E6A84 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E9B28 000E6A88 4E 80 00 20 */ blr + +.global ResetCameraBobTime__16CPlayerCameraBobFv +ResetCameraBobTime__16CPlayerCameraBobFv: +/* 800E9B2C 000E6A8C C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800E9B30 000E6A90 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800E9B34 000E6A94 4E 80 00 20 */ blr + +.global CalculateMovingTranslation__16CPlayerCameraBobCFRfRf +CalculateMovingTranslation__16CPlayerCameraBobCFRfRf: +/* 800E9B38 000E6A98 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800E9B3C 000E6A9C 7C 08 02 A6 */ mflr r0 +/* 800E9B40 000E6AA0 90 01 00 44 */ stw r0, 0x44(r1) +/* 800E9B44 000E6AA4 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 800E9B48 000E6AA8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 800E9B4C 000E6AAC DB C1 00 20 */ stfd f30, 0x20(r1) +/* 800E9B50 000E6AB0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 800E9B54 000E6AB4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E9B58 000E6AB8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800E9B5C 000E6ABC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800E9B60 000E6AC0 7C 7D 1B 78 */ mr r29, r3 +/* 800E9B64 000E6AC4 7C 9E 23 78 */ mr r30, r4 +/* 800E9B68 000E6AC8 80 03 00 00 */ lwz r0, 0(r3) +/* 800E9B6C 000E6ACC 7C BF 2B 78 */ mr r31, r5 +/* 800E9B70 000E6AD0 2C 00 00 01 */ cmpwi r0, 1 +/* 800E9B74 000E6AD4 41 82 00 94 */ beq lbl_800E9C08 +/* 800E9B78 000E6AD8 40 80 01 3C */ bge lbl_800E9CB4 +/* 800E9B7C 000E6ADC 2C 00 00 00 */ cmpwi r0, 0 +/* 800E9B80 000E6AE0 40 80 00 08 */ bge lbl_800E9B88 +/* 800E9B84 000E6AE4 48 00 01 30 */ b lbl_800E9CB4 +lbl_800E9B88: +/* 800E9B88 000E6AE8 C8 42 90 98 */ lfd f2, lbl_805AADB8@sda21(r2) +/* 800E9B8C 000E6AEC C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 800E9B90 000E6AF0 C0 3D 00 1C */ lfs f1, 0x1c(r29) +/* 800E9B94 000E6AF4 FC 42 00 32 */ fmul f2, f2, f0 +/* 800E9B98 000E6AF8 48 2A B1 15 */ bl fmod +/* 800E9B9C 000E6AFC C8 42 90 90 */ lfd f2, lbl_805AADB0@sda21(r2) +/* 800E9BA0 000E6B00 C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 800E9BA4 000E6B04 FC 22 00 72 */ fmul f1, f2, f1 +/* 800E9BA8 000E6B08 FF C1 00 24 */ fdiv f30, f1, f0 +/* 800E9BAC 000E6B0C FC 20 F0 90 */ fmr f1, f30 +/* 800E9BB0 000E6B10 48 2A AF 2D */ bl sin +/* 800E9BB4 000E6B14 C0 7D 00 14 */ lfs f3, 0x14(r29) +/* 800E9BB8 000E6B18 FC 20 08 18 */ frsp f1, f1 +/* 800E9BBC 000E6B1C C0 5D 00 04 */ lfs f2, 4(r29) +/* 800E9BC0 000E6B20 C8 02 90 A0 */ lfd f0, lbl_805AADC0@sda21(r2) +/* 800E9BC4 000E6B24 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800E9BC8 000E6B28 FF DE 00 32 */ fmul f30, f30, f0 +/* 800E9BCC 000E6B2C EC 02 00 72 */ fmuls f0, f2, f1 +/* 800E9BD0 000E6B30 FC 20 F0 90 */ fmr f1, f30 +/* 800E9BD4 000E6B34 D0 1E 00 00 */ stfs f0, 0(r30) +/* 800E9BD8 000E6B38 48 2A A8 19 */ bl cos +/* 800E9BDC 000E6B3C FF E0 0A 10 */ fabs f31, f1 +/* 800E9BE0 000E6B40 FC 20 F0 90 */ fmr f1, f30 +/* 800E9BE4 000E6B44 48 2A A8 0D */ bl cos +/* 800E9BE8 000E6B48 FC 41 07 F2 */ fmul f2, f1, f31 +/* 800E9BEC 000E6B4C C0 3D 00 14 */ lfs f1, 0x14(r29) +/* 800E9BF0 000E6B50 C0 1D 00 08 */ lfs f0, 8(r29) +/* 800E9BF4 000E6B54 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800E9BF8 000E6B58 FC 00 10 18 */ frsp f0, f2 +/* 800E9BFC 000E6B5C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800E9C00 000E6B60 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800E9C04 000E6B64 48 00 00 B0 */ b lbl_800E9CB4 +lbl_800E9C08: +/* 800E9C08 000E6B68 C8 42 90 98 */ lfd f2, lbl_805AADB8@sda21(r2) +/* 800E9C0C 000E6B6C C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 800E9C10 000E6B70 C0 3D 00 1C */ lfs f1, 0x1c(r29) +/* 800E9C14 000E6B74 FC 42 00 32 */ fmul f2, f2, f0 +/* 800E9C18 000E6B78 48 2A B0 95 */ bl fmod +/* 800E9C1C 000E6B7C FC 40 08 18 */ frsp f2, f1 +/* 800E9C20 000E6B80 C8 02 90 A8 */ lfd f0, lbl_805AADC8@sda21(r2) +/* 800E9C24 000E6B84 C0 7D 00 0C */ lfs f3, 0xc(r29) +/* 800E9C28 000E6B88 FC 00 00 B2 */ fmul f0, f0, f2 +/* 800E9C2C 000E6B8C FC 02 18 40 */ fcmpo cr0, f2, f3 +/* 800E9C30 000E6B90 FC 20 18 24 */ fdiv f1, f0, f3 +/* 800E9C34 000E6B94 40 81 00 28 */ ble lbl_800E9C5C +/* 800E9C38 000E6B98 EC 62 18 24 */ fdivs f3, f2, f3 +/* 800E9C3C 000E6B9C C0 82 90 84 */ lfs f4, lbl_805AADA4@sda21(r2) +/* 800E9C40 000E6BA0 C0 5D 00 14 */ lfs f2, 0x14(r29) +/* 800E9C44 000E6BA4 C0 1D 00 04 */ lfs f0, 4(r29) +/* 800E9C48 000E6BA8 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800E9C4C 000E6BAC EC 02 00 32 */ fmuls f0, f2, f0 +/* 800E9C50 000E6BB0 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800E9C54 000E6BB4 D0 1E 00 00 */ stfs f0, 0(r30) +/* 800E9C58 000E6BB8 48 00 00 1C */ b lbl_800E9C74 +lbl_800E9C5C: +/* 800E9C5C 000E6BBC EC 62 18 24 */ fdivs f3, f2, f3 +/* 800E9C60 000E6BC0 C0 5D 00 14 */ lfs f2, 0x14(r29) +/* 800E9C64 000E6BC4 C0 1D 00 04 */ lfs f0, 4(r29) +/* 800E9C68 000E6BC8 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800E9C6C 000E6BCC EC 03 00 32 */ fmuls f0, f3, f0 +/* 800E9C70 000E6BD0 D0 1E 00 00 */ stfs f0, 0(r30) +lbl_800E9C74: +/* 800E9C74 000E6BD4 C8 42 90 A8 */ lfd f2, lbl_805AADC8@sda21(r2) +/* 800E9C78 000E6BD8 48 2A B0 35 */ bl fmod +/* 800E9C7C 000E6BDC 48 2A AE 61 */ bl sin +/* 800E9C80 000E6BE0 FC A0 08 18 */ frsp f5, f1 +/* 800E9C84 000E6BE4 C0 62 90 7C */ lfs f3, lbl_805AAD9C@sda21(r2) +/* 800E9C88 000E6BE8 C0 9D 00 14 */ lfs f4, 0x14(r29) +/* 800E9C8C 000E6BEC C0 5D 00 08 */ lfs f2, 8(r29) +/* 800E9C90 000E6BF0 EC 05 19 7C */ fnmsubs f0, f5, f5, f3 +/* 800E9C94 000E6BF4 C0 22 90 88 */ lfs f1, lbl_805AADA8@sda21(r2) +/* 800E9C98 000E6BF8 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 800E9C9C 000E6BFC EC 63 28 28 */ fsubs f3, f3, f5 +/* 800E9CA0 000E6C00 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 800E9CA4 000E6C04 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800E9CA8 000E6C08 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800E9CAC 000E6C0C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 800E9CB0 000E6C10 D0 1F 00 00 */ stfs f0, 0(r31) +lbl_800E9CB4: +/* 800E9CB4 000E6C14 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 800E9CB8 000E6C18 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 800E9CBC 000E6C1C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 800E9CC0 000E6C20 CB C1 00 20 */ lfd f30, 0x20(r1) +/* 800E9CC4 000E6C24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E9CC8 000E6C28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800E9CCC 000E6C2C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800E9CD0 000E6C30 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800E9CD4 000E6C34 7C 08 03 A6 */ mtlr r0 +/* 800E9CD8 000E6C38 38 21 00 40 */ addi r1, r1, 0x40 +/* 800E9CDC 000E6C3C 4E 80 00 20 */ blr + +.global CalculateLandingTranslation__16CPlayerCameraBobCFv +CalculateLandingTranslation__16CPlayerCameraBobCFv: +/* 800E9CE0 000E6C40 C0 23 00 70 */ lfs f1, 0x70(r3) +/* 800E9CE4 000E6C44 4E 80 00 20 */ blr + +.global GetHelmetBobTranslation__16CPlayerCameraBobCFv +GetHelmetBobTranslation__16CPlayerCameraBobCFv: +/* 800E9CE8 000E6C48 C0 22 90 78 */ lfs f1, lbl_805AAD98@sda21(r2) +/* 800E9CEC 000E6C4C C0 04 00 38 */ lfs f0, 0x38(r4) +/* 800E9CF0 000E6C50 C0 44 00 48 */ lfs f2, 0x48(r4) +/* 800E9CF4 000E6C54 EC 00 08 28 */ fsubs f0, f0, f1 +/* 800E9CF8 000E6C58 C0 8D 87 FC */ lfs f4, lbl_805A73BC@sda21(r13) +/* 800E9CFC 000E6C5C EC 62 08 28 */ fsubs f3, f2, f1 +/* 800E9D00 000E6C60 C0 44 00 58 */ lfs f2, 0x58(r4) +/* 800E9D04 000E6C64 C0 24 00 78 */ lfs f1, 0x78(r4) +/* 800E9D08 000E6C68 EC 04 00 32 */ fmuls f0, f4, f0 +/* 800E9D0C 000E6C6C EC 22 08 28 */ fsubs f1, f2, f1 +/* 800E9D10 000E6C70 EC 44 00 F2 */ fmuls f2, f4, f3 +/* 800E9D14 000E6C74 D0 03 00 00 */ stfs f0, 0(r3) +/* 800E9D18 000E6C78 EC 04 00 72 */ fmuls f0, f4, f1 +/* 800E9D1C 000E6C7C D0 43 00 04 */ stfs f2, 4(r3) +/* 800E9D20 000E6C80 D0 03 00 08 */ stfs f0, 8(r3) +/* 800E9D24 000E6C84 4E 80 00 20 */ blr + +.global GetGunBobTransformation__16CPlayerCameraBobCFv +GetGunBobTransformation__16CPlayerCameraBobCFv: +/* 800E9D28 000E6C88 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800E9D2C 000E6C8C 7C 08 02 A6 */ mflr r0 +/* 800E9D30 000E6C90 C0 22 90 7C */ lfs f1, lbl_805AAD9C@sda21(r2) +/* 800E9D34 000E6C94 90 01 00 64 */ stw r0, 0x64(r1) +/* 800E9D38 000E6C98 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800E9D3C 000E6C9C 7C 7F 1B 78 */ mr r31, r3 +/* 800E9D40 000E6CA0 38 61 00 20 */ addi r3, r1, 0x20 +/* 800E9D44 000E6CA4 C0 0D 87 F8 */ lfs f0, lbl_805A73B8@sda21(r13) +/* 800E9D48 000E6CA8 C0 84 00 58 */ lfs f4, 0x58(r4) +/* 800E9D4C 000E6CAC EC 61 00 2A */ fadds f3, f1, f0 +/* 800E9D50 000E6CB0 C0 24 00 48 */ lfs f1, 0x48(r4) +/* 800E9D54 000E6CB4 C0 04 00 38 */ lfs f0, 0x38(r4) +/* 800E9D58 000E6CB8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800E9D5C 000E6CBC D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800E9D60 000E6CC0 EC 43 00 72 */ fmuls f2, f3, f1 +/* 800E9D64 000E6CC4 EC 23 01 32 */ fmuls f1, f3, f4 +/* 800E9D68 000E6CC8 D0 01 00 08 */ stfs f0, 8(r1) +/* 800E9D6C 000E6CCC EC 03 00 32 */ fmuls f0, f3, f0 +/* 800E9D70 000E6CD0 D0 81 00 10 */ stfs f4, 0x10(r1) +/* 800E9D74 000E6CD4 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800E9D78 000E6CD8 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800E9D7C 000E6CDC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800E9D80 000E6CE0 48 22 93 C1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800E9D84 000E6CE4 7F E3 FB 78 */ mr r3, r31 +/* 800E9D88 000E6CE8 38 81 00 20 */ addi r4, r1, 0x20 +/* 800E9D8C 000E6CEC 48 22 8D E9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800E9D90 000E6CF0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800E9D94 000E6CF4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800E9D98 000E6CF8 7C 08 03 A6 */ mtlr r0 +/* 800E9D9C 000E6CFC 38 21 00 60 */ addi r1, r1, 0x60 +/* 800E9DA0 000E6D00 4E 80 00 20 */ blr + +.global GetCameraBobTransformation__16CPlayerCameraBobCFv +GetCameraBobTransformation__16CPlayerCameraBobCFv: +/* 800E9DA4 000E6D04 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E9DA8 000E6D08 7C 08 02 A6 */ mflr r0 +/* 800E9DAC 000E6D0C 38 84 00 2C */ addi r4, r4, 0x2c +/* 800E9DB0 000E6D10 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E9DB4 000E6D14 48 22 8D C1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800E9DB8 000E6D18 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E9DBC 000E6D1C 7C 08 03 A6 */ mtlr r0 +/* 800E9DC0 000E6D20 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E9DC4 000E6D24 4E 80 00 20 */ blr + +.global CalculateCameraBobTransformation__16CPlayerCameraBobCFv +CalculateCameraBobTransformation__16CPlayerCameraBobCFv: +/* 800E9DC8 000E6D28 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800E9DCC 000E6D2C 7C 08 02 A6 */ mflr r0 +/* 800E9DD0 000E6D30 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800E9DD4 000E6D34 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E9DD8 000E6D38 38 A1 00 08 */ addi r5, r1, 8 +/* 800E9DDC 000E6D3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E9DE0 000E6D40 7C 9F 23 78 */ mr r31, r4 +/* 800E9DE4 000E6D44 38 81 00 0C */ addi r4, r1, 0xc +/* 800E9DE8 000E6D48 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800E9DEC 000E6D4C 7C 7E 1B 78 */ mr r30, r3 +/* 800E9DF0 000E6D50 7F E3 FB 78 */ mr r3, r31 +/* 800E9DF4 000E6D54 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800E9DF8 000E6D58 D0 01 00 08 */ stfs f0, 8(r1) +/* 800E9DFC 000E6D5C 4B FF FD 3D */ bl CalculateMovingTranslation__16CPlayerCameraBobCFRfRf +/* 800E9E00 000E6D60 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 800E9E04 000E6D64 28 00 00 00 */ cmplwi r0, 0 +/* 800E9E08 000E6D68 41 82 00 18 */ beq lbl_800E9E20 +/* 800E9E0C 000E6D6C 7F E3 FB 78 */ mr r3, r31 +/* 800E9E10 000E6D70 4B FF FE D1 */ bl CalculateLandingTranslation__16CPlayerCameraBobCFv +/* 800E9E14 000E6D74 C0 01 00 08 */ lfs f0, 8(r1) +/* 800E9E18 000E6D78 EC 00 08 2A */ fadds f0, f0, f1 +/* 800E9E1C 000E6D7C D0 01 00 08 */ stfs f0, 8(r1) +lbl_800E9E20: +/* 800E9E20 000E6D80 C0 21 00 0C */ lfs f1, 0xc(r1) +/* 800E9E24 000E6D84 7F C3 F3 78 */ mr r3, r30 +/* 800E9E28 000E6D88 C0 42 90 78 */ lfs f2, lbl_805AAD98@sda21(r2) +/* 800E9E2C 000E6D8C C0 61 00 08 */ lfs f3, 8(r1) +/* 800E9E30 000E6D90 48 22 93 59 */ bl Translate__12CTransform4fFfff +/* 800E9E34 000E6D94 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800E9E38 000E6D98 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E9E3C 000E6D9C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800E9E40 000E6DA0 7C 08 03 A6 */ mtlr r0 +/* 800E9E44 000E6DA4 38 21 00 20 */ addi r1, r1, 0x20 +/* 800E9E48 000E6DA8 4E 80 00 20 */ blr + +.global SetBobMagnitude__16CPlayerCameraBobFf +SetBobMagnitude__16CPlayerCameraBobFf: +/* 800E9E4C 000E6DAC D0 23 00 10 */ stfs f1, 0x10(r3) +/* 800E9E50 000E6DB0 C0 23 00 10 */ lfs f1, 0x10(r3) +/* 800E9E54 000E6DB4 C0 0D 88 10 */ lfs f0, lbl_805A73D0@sda21(r13) +/* 800E9E58 000E6DB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E9E5C 000E6DBC 40 80 00 0C */ bge lbl_800E9E68 +/* 800E9E60 000E6DC0 38 8D 88 10 */ addi r4, r13, lbl_805A73D0@sda21 +/* 800E9E64 000E6DC4 48 00 00 08 */ b lbl_800E9E6C +lbl_800E9E68: +/* 800E9E68 000E6DC8 38 83 00 10 */ addi r4, r3, 0x10 +lbl_800E9E6C: +/* 800E9E6C 000E6DCC C0 04 00 00 */ lfs f0, 0(r4) +/* 800E9E70 000E6DD0 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800E9E74 000E6DD4 C0 2D 88 14 */ lfs f1, lbl_805A73D4@sda21(r13) +/* 800E9E78 000E6DD8 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 800E9E7C 000E6DDC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E9E80 000E6DE0 40 80 00 0C */ bge lbl_800E9E8C +/* 800E9E84 000E6DE4 38 8D 88 14 */ addi r4, r13, lbl_805A73D4@sda21 +/* 800E9E88 000E6DE8 48 00 00 08 */ b lbl_800E9E90 +lbl_800E9E8C: +/* 800E9E8C 000E6DEC 38 83 00 10 */ addi r4, r3, 0x10 +lbl_800E9E90: +/* 800E9E90 000E6DF0 C0 04 00 00 */ lfs f0, 0(r4) +/* 800E9E94 000E6DF4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800E9E98 000E6DF8 4E 80 00 20 */ blr + +.global SetBobTimeScale__16CPlayerCameraBobFf +SetBobTimeScale__16CPlayerCameraBobFf: +/* 800E9E9C 000E6DFC D0 23 00 18 */ stfs f1, 0x18(r3) +/* 800E9EA0 000E6E00 C0 23 00 18 */ lfs f1, 0x18(r3) +/* 800E9EA4 000E6E04 C0 0D 88 08 */ lfs f0, lbl_805A73C8@sda21(r13) +/* 800E9EA8 000E6E08 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E9EAC 000E6E0C 40 80 00 0C */ bge lbl_800E9EB8 +/* 800E9EB0 000E6E10 38 8D 88 08 */ addi r4, r13, lbl_805A73C8@sda21 +/* 800E9EB4 000E6E14 48 00 00 08 */ b lbl_800E9EBC +lbl_800E9EB8: +/* 800E9EB8 000E6E18 38 83 00 18 */ addi r4, r3, 0x18 +lbl_800E9EBC: +/* 800E9EBC 000E6E1C C0 04 00 00 */ lfs f0, 0(r4) +/* 800E9EC0 000E6E20 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800E9EC4 000E6E24 C0 2D 88 0C */ lfs f1, lbl_805A73CC@sda21(r13) +/* 800E9EC8 000E6E28 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 800E9ECC 000E6E2C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E9ED0 000E6E30 40 80 00 0C */ bge lbl_800E9EDC +/* 800E9ED4 000E6E34 38 8D 88 0C */ addi r4, r13, lbl_805A73CC@sda21 +/* 800E9ED8 000E6E38 48 00 00 08 */ b lbl_800E9EE0 +lbl_800E9EDC: +/* 800E9EDC 000E6E3C 38 83 00 18 */ addi r4, r3, 0x18 +lbl_800E9EE0: +/* 800E9EE0 000E6E40 C0 04 00 00 */ lfs f0, 0(r4) +/* 800E9EE4 000E6E44 D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800E9EE8 000E6E48 4E 80 00 20 */ blr + +.global Update__16CPlayerCameraBobFfR13CStateManager +Update__16CPlayerCameraBobFfR13CStateManager: +/* 800E9EEC 000E6E4C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800E9EF0 000E6E50 7C 08 02 A6 */ mflr r0 +/* 800E9EF4 000E6E54 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800E9EF8 000E6E58 DB E1 00 E0 */ stfd f31, 0xe0(r1) +/* 800E9EFC 000E6E5C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 +/* 800E9F00 000E6E60 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 800E9F04 000E6E64 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 800E9F08 000E6E68 7C 7E 1B 78 */ mr r30, r3 +/* 800E9F0C 000E6E6C FF E0 08 90 */ fmr f31, f1 +/* 800E9F10 000E6E70 C0 23 00 18 */ lfs f1, 0x18(r3) +/* 800E9F14 000E6E74 7C 9F 23 78 */ mr r31, r4 +/* 800E9F18 000E6E78 C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 800E9F1C 000E6E7C EC 1F 00 7A */ fmadds f0, f31, f1, f0 +/* 800E9F20 000E6E80 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800E9F24 000E6E84 88 03 00 28 */ lbz r0, 0x28(r3) +/* 800E9F28 000E6E88 28 00 00 00 */ cmplwi r0, 0 +/* 800E9F2C 000E6E8C 41 82 00 E8 */ beq lbl_800EA014 +/* 800E9F30 000E6E90 88 1E 00 29 */ lbz r0, 0x29(r30) +/* 800E9F34 000E6E94 C0 0D A3 10 */ lfs f0, lbl_805A8ED0@sda21(r13) +/* 800E9F38 000E6E98 28 00 00 00 */ cmplwi r0, 0 +/* 800E9F3C 000E6E9C C0 8D 87 D4 */ lfs f4, lbl_805A7394@sda21(r13) +/* 800E9F40 000E6EA0 41 82 00 0C */ beq lbl_800E9F4C +/* 800E9F44 000E6EA4 C0 0D A3 14 */ lfs f0, lbl_805A8ED4@sda21(r13) +/* 800E9F48 000E6EA8 C0 8D 87 E0 */ lfs f4, lbl_805A73A0@sda21(r13) +lbl_800E9F4C: +/* 800E9F4C 000E6EAC C0 5E 00 6C */ lfs f2, 0x6c(r30) +/* 800E9F50 000E6EB0 C0 7E 00 70 */ lfs f3, 0x70(r30) +/* 800E9F54 000E6EB4 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 800E9F58 000E6EB8 C0 22 90 B0 */ lfs f1, lbl_805AADD0@sda21(r2) +/* 800E9F5C 000E6EBC FC 00 00 50 */ fneg f0, f0 +/* 800E9F60 000E6EC0 EC 04 00 FC */ fnmsubs f0, f4, f3, f0 +/* 800E9F64 000E6EC4 EC 1F 10 3A */ fmadds f0, f31, f0, f2 +/* 800E9F68 000E6EC8 D0 1E 00 6C */ stfs f0, 0x6c(r30) +/* 800E9F6C 000E6ECC C0 5E 00 6C */ lfs f2, 0x6c(r30) +/* 800E9F70 000E6ED0 C0 1E 00 70 */ lfs f0, 0x70(r30) +/* 800E9F74 000E6ED4 EC 02 07 FA */ fmadds f0, f2, f31, f0 +/* 800E9F78 000E6ED8 D0 1E 00 70 */ stfs f0, 0x70(r30) +/* 800E9F7C 000E6EDC C0 0D A3 18 */ lfs f0, lbl_805A8ED8@sda21(r13) +/* 800E9F80 000E6EE0 C0 5E 00 74 */ lfs f2, 0x74(r30) +/* 800E9F84 000E6EE4 C0 8D 87 E4 */ lfs f4, lbl_805A73A4@sda21(r13) +/* 800E9F88 000E6EE8 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 800E9F8C 000E6EEC C0 7E 00 78 */ lfs f3, 0x78(r30) +/* 800E9F90 000E6EF0 FC 00 00 50 */ fneg f0, f0 +/* 800E9F94 000E6EF4 EC 04 00 FC */ fnmsubs f0, f4, f3, f0 +/* 800E9F98 000E6EF8 EC 1F 10 3A */ fmadds f0, f31, f0, f2 +/* 800E9F9C 000E6EFC D0 1E 00 74 */ stfs f0, 0x74(r30) +/* 800E9FA0 000E6F00 C0 5E 00 74 */ lfs f2, 0x74(r30) +/* 800E9FA4 000E6F04 C0 1E 00 78 */ lfs f0, 0x78(r30) +/* 800E9FA8 000E6F08 EC 02 07 FA */ fmadds f0, f2, f31, f0 +/* 800E9FAC 000E6F0C D0 1E 00 78 */ stfs f0, 0x78(r30) +/* 800E9FB0 000E6F10 C0 1E 00 6C */ lfs f0, 0x6c(r30) +/* 800E9FB4 000E6F14 FC 00 02 10 */ fabs f0, f0 +/* 800E9FB8 000E6F18 FC 00 00 18 */ frsp f0, f0 +/* 800E9FBC 000E6F1C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800E9FC0 000E6F20 40 80 00 54 */ bge lbl_800EA014 +/* 800E9FC4 000E6F24 C0 1E 00 70 */ lfs f0, 0x70(r30) +/* 800E9FC8 000E6F28 FC 00 02 10 */ fabs f0, f0 +/* 800E9FCC 000E6F2C FC 00 00 18 */ frsp f0, f0 +/* 800E9FD0 000E6F30 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800E9FD4 000E6F34 40 80 00 40 */ bge lbl_800EA014 +/* 800E9FD8 000E6F38 C0 1E 00 74 */ lfs f0, 0x74(r30) +/* 800E9FDC 000E6F3C FC 00 02 10 */ fabs f0, f0 +/* 800E9FE0 000E6F40 FC 00 00 18 */ frsp f0, f0 +/* 800E9FE4 000E6F44 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800E9FE8 000E6F48 40 80 00 2C */ bge lbl_800EA014 +/* 800E9FEC 000E6F4C C0 1E 00 78 */ lfs f0, 0x78(r30) +/* 800E9FF0 000E6F50 FC 00 02 10 */ fabs f0, f0 +/* 800E9FF4 000E6F54 FC 00 00 18 */ frsp f0, f0 +/* 800E9FF8 000E6F58 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800E9FFC 000E6F5C 40 80 00 18 */ bge lbl_800EA014 +/* 800EA000 000E6F60 38 00 00 00 */ li r0, 0 +/* 800EA004 000E6F64 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800EA008 000E6F68 98 1E 00 28 */ stb r0, 0x28(r30) +/* 800EA00C 000E6F6C D0 1E 00 70 */ stfs f0, 0x70(r30) +/* 800EA010 000E6F70 D0 1E 00 78 */ stfs f0, 0x78(r30) +lbl_800EA014: +/* 800EA014 000E6F74 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 800EA018 000E6F78 2C 00 00 03 */ cmpwi r0, 3 +/* 800EA01C 000E6F7C 40 82 00 10 */ bne lbl_800EA02C +/* 800EA020 000E6F80 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) +/* 800EA024 000E6F84 D0 1E 01 04 */ stfs f0, 0x104(r30) +/* 800EA028 000E6F88 48 00 00 0C */ b lbl_800EA034 +lbl_800EA02C: +/* 800EA02C 000E6F8C C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800EA030 000E6F90 D0 1E 01 04 */ stfs f0, 0x104(r30) +lbl_800EA034: +/* 800EA034 000E6F94 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 800EA038 000E6F98 4B F1 F1 11 */ bl GetCameraBobMagnitude__14CCameraManagerCFv +/* 800EA03C 000E6F9C C0 1E 00 70 */ lfs f0, 0x70(r30) +/* 800EA040 000E6FA0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EA044 000E6FA4 D0 1E 00 70 */ stfs f0, 0x70(r30) +/* 800EA048 000E6FA8 C0 1E 00 78 */ lfs f0, 0x78(r30) +/* 800EA04C 000E6FAC EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EA050 000E6FB0 D0 1E 00 78 */ stfs f0, 0x78(r30) +/* 800EA054 000E6FB4 C0 1E 01 04 */ lfs f0, 0x104(r30) +/* 800EA058 000E6FB8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EA05C 000E6FBC D0 1E 01 04 */ stfs f0, 0x104(r30) +/* 800EA060 000E6FC0 80 7F 08 4C */ lwz r3, 0x84c(r31) +/* 800EA064 000E6FC4 88 03 03 8C */ lbz r0, 0x38c(r3) +/* 800EA068 000E6FC8 28 00 00 00 */ cmplwi r0, 0 +/* 800EA06C 000E6FCC 41 82 00 2C */ beq lbl_800EA098 +/* 800EA070 000E6FD0 C0 1E 00 70 */ lfs f0, 0x70(r30) +/* 800EA074 000E6FD4 C0 22 90 B4 */ lfs f1, lbl_805AADD4@sda21(r2) +/* 800EA078 000E6FD8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EA07C 000E6FDC D0 1E 00 70 */ stfs f0, 0x70(r30) +/* 800EA080 000E6FE0 C0 1E 00 78 */ lfs f0, 0x78(r30) +/* 800EA084 000E6FE4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EA088 000E6FE8 D0 1E 00 78 */ stfs f0, 0x78(r30) +/* 800EA08C 000E6FEC C0 1E 01 04 */ lfs f0, 0x104(r30) +/* 800EA090 000E6FF0 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EA094 000E6FF4 D0 1E 01 04 */ stfs f0, 0x104(r30) +lbl_800EA098: +/* 800EA098 000E6FF8 C0 1E 01 04 */ lfs f0, 0x104(r30) +/* 800EA09C 000E6FFC C0 5E 01 00 */ lfs f2, 0x100(r30) +/* 800EA0A0 000E7000 C0 6D 87 D0 */ lfs f3, lbl_805A7390@sda21(r13) +/* 800EA0A4 000E7004 EC 20 10 28 */ fsubs f1, f0, f2 +/* 800EA0A8 000E7008 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800EA0AC 000E700C EC 23 10 7A */ fmadds f1, f3, f1, f2 +/* 800EA0B0 000E7010 D0 3E 01 00 */ stfs f1, 0x100(r30) +/* 800EA0B4 000E7014 C0 3E 01 00 */ lfs f1, 0x100(r30) +/* 800EA0B8 000E7018 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800EA0BC 000E701C 40 80 00 08 */ bge lbl_800EA0C4 +/* 800EA0C0 000E7020 D0 1E 01 00 */ stfs f0, 0x100(r30) +lbl_800EA0C4: +/* 800EA0C4 000E7024 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 800EA0C8 000E7028 FC 20 F8 90 */ fmr f1, f31 +/* 800EA0CC 000E702C C0 5E 00 14 */ lfs f2, 0x14(r30) +/* 800EA0D0 000E7030 7F C3 F3 78 */ mr r3, r30 +/* 800EA0D4 000E7034 C0 6D 87 D0 */ lfs f3, lbl_805A7390@sda21(r13) +/* 800EA0D8 000E7038 7F E4 FB 78 */ mr r4, r31 +/* 800EA0DC 000E703C EC 00 10 28 */ fsubs f0, f0, f2 +/* 800EA0E0 000E7040 EC 03 10 3A */ fmadds f0, f3, f0, f2 +/* 800EA0E4 000E7044 D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 800EA0E8 000E7048 4B FF F4 91 */ bl UpdateViewWander__16CPlayerCameraBobFfR13CStateManager +/* 800EA0EC 000E704C C0 5E 00 78 */ lfs f2, 0x78(r30) +/* 800EA0F0 000E7050 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800EA0F4 000E7054 C0 22 90 78 */ lfs f1, lbl_805AAD98@sda21(r2) +/* 800EA0F8 000E7058 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800EA0FC 000E705C C0 0D 88 00 */ lfs f0, lbl_805A73C0@sda21(r13) +/* 800EA100 000E7060 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 800EA104 000E7064 D0 21 00 08 */ stfs f1, 8(r1) +/* 800EA108 000E7068 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800EA10C 000E706C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800EA110 000E7070 38 A1 00 08 */ addi r5, r1, 8 +/* 800EA114 000E7074 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800EA118 000E7078 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800EA11C 000E707C 48 22 99 F5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800EA120 000E7080 7F C3 F3 78 */ mr r3, r30 +/* 800EA124 000E7084 4B FF F4 4D */ bl GetViewWanderTransform__16CPlayerCameraBobCFv +/* 800EA128 000E7088 7C 7F 1B 78 */ mr r31, r3 +/* 800EA12C 000E708C 7F C4 F3 78 */ mr r4, r30 +/* 800EA130 000E7090 38 61 00 44 */ addi r3, r1, 0x44 +/* 800EA134 000E7094 4B FF FC 95 */ bl CalculateCameraBobTransformation__16CPlayerCameraBobCFv +/* 800EA138 000E7098 7F E5 FB 78 */ mr r5, r31 +/* 800EA13C 000E709C 38 61 00 74 */ addi r3, r1, 0x74 +/* 800EA140 000E70A0 38 81 00 44 */ addi r4, r1, 0x44 +/* 800EA144 000E70A4 48 22 88 0D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800EA148 000E70A8 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800EA14C 000E70AC 38 81 00 74 */ addi r4, r1, 0x74 +/* 800EA150 000E70B0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800EA154 000E70B4 48 22 87 FD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800EA158 000E70B8 38 7E 00 2C */ addi r3, r30, 0x2c +/* 800EA15C 000E70BC 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 800EA160 000E70C0 48 22 89 E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800EA164 000E70C4 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 +/* 800EA168 000E70C8 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800EA16C 000E70CC CB E1 00 E0 */ lfd f31, 0xe0(r1) +/* 800EA170 000E70D0 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 800EA174 000E70D4 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 800EA178 000E70D8 7C 08 03 A6 */ mtlr r0 +/* 800EA17C 000E70DC 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 800EA180 000E70E0 4E 80 00 20 */ blr + +.global ReadTweaks__16CPlayerCameraBobFR12CInputStream +ReadTweaks__16CPlayerCameraBobFR12CInputStream: +/* 800EA184 000E70E4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EA188 000E70E8 7C 08 02 A6 */ mflr r0 +/* 800EA18C 000E70EC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EA190 000E70F0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800EA194 000E70F4 7C 7F 1B 78 */ mr r31, r3 +/* 800EA198 000E70F8 48 25 4A 91 */ bl ReadFloat__12CInputStreamFv +/* 800EA19C 000E70FC D0 2D 87 B8 */ stfs f1, lbl_805A7378@sda21(r13) +/* 800EA1A0 000E7100 7F E3 FB 78 */ mr r3, r31 +/* 800EA1A4 000E7104 48 25 4A 85 */ bl ReadFloat__12CInputStreamFv +/* 800EA1A8 000E7108 D0 2D 87 BC */ stfs f1, lbl_805A737C@sda21(r13) +/* 800EA1AC 000E710C 7F E3 FB 78 */ mr r3, r31 +/* 800EA1B0 000E7110 48 25 4A 79 */ bl ReadFloat__12CInputStreamFv +/* 800EA1B4 000E7114 D0 2D 87 C0 */ stfs f1, lbl_805A7380@sda21(r13) +/* 800EA1B8 000E7118 7F E3 FB 78 */ mr r3, r31 +/* 800EA1BC 000E711C 48 25 4A 6D */ bl ReadFloat__12CInputStreamFv +/* 800EA1C0 000E7120 D0 2D 87 C4 */ stfs f1, lbl_805A7384@sda21(r13) +/* 800EA1C4 000E7124 7F E3 FB 78 */ mr r3, r31 +/* 800EA1C8 000E7128 48 25 4A 61 */ bl ReadFloat__12CInputStreamFv +/* 800EA1CC 000E712C D0 2D 87 C8 */ stfs f1, lbl_805A7388@sda21(r13) +/* 800EA1D0 000E7130 7F E3 FB 78 */ mr r3, r31 +/* 800EA1D4 000E7134 48 25 4A 55 */ bl ReadFloat__12CInputStreamFv +/* 800EA1D8 000E7138 D0 2D 87 CC */ stfs f1, lbl_805A738C@sda21(r13) +/* 800EA1DC 000E713C 7F E3 FB 78 */ mr r3, r31 +/* 800EA1E0 000E7140 48 25 4A 49 */ bl ReadFloat__12CInputStreamFv +/* 800EA1E4 000E7144 D0 2D 87 D0 */ stfs f1, lbl_805A7390@sda21(r13) +/* 800EA1E8 000E7148 7F E3 FB 78 */ mr r3, r31 +/* 800EA1EC 000E714C 48 25 4A 3D */ bl ReadFloat__12CInputStreamFv +/* 800EA1F0 000E7150 D0 2D 87 D4 */ stfs f1, lbl_805A7394@sda21(r13) +/* 800EA1F4 000E7154 7F E3 FB 78 */ mr r3, r31 +/* 800EA1F8 000E7158 48 25 4A 31 */ bl ReadFloat__12CInputStreamFv +/* 800EA1FC 000E715C D0 2D 87 E8 */ stfs f1, lbl_805A73A8@sda21(r13) +/* 800EA200 000E7160 7F E3 FB 78 */ mr r3, r31 +/* 800EA204 000E7164 48 25 4A 25 */ bl ReadFloat__12CInputStreamFv +/* 800EA208 000E7168 D0 2D 87 EC */ stfs f1, lbl_805A73AC@sda21(r13) +/* 800EA20C 000E716C 7F E3 FB 78 */ mr r3, r31 +/* 800EA210 000E7170 48 25 4A 19 */ bl ReadFloat__12CInputStreamFv +/* 800EA214 000E7174 D0 2D 87 F0 */ stfs f1, lbl_805A73B0@sda21(r13) +/* 800EA218 000E7178 7F E3 FB 78 */ mr r3, r31 +/* 800EA21C 000E717C 48 25 4A 0D */ bl ReadFloat__12CInputStreamFv +/* 800EA220 000E7180 D0 2D 87 F4 */ stfs f1, lbl_805A73B4@sda21(r13) +/* 800EA224 000E7184 7F E3 FB 78 */ mr r3, r31 +/* 800EA228 000E7188 48 25 4A 01 */ bl ReadFloat__12CInputStreamFv +/* 800EA22C 000E718C D0 2D 87 F8 */ stfs f1, lbl_805A73B8@sda21(r13) +/* 800EA230 000E7190 7F E3 FB 78 */ mr r3, r31 +/* 800EA234 000E7194 48 25 49 F5 */ bl ReadFloat__12CInputStreamFv +/* 800EA238 000E7198 D0 2D 87 FC */ stfs f1, lbl_805A73BC@sda21(r13) +/* 800EA23C 000E719C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EA240 000E71A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800EA244 000E71A4 7C 08 03 A6 */ mtlr r0 +/* 800EA248 000E71A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EA24C 000E71AC 4E 80 00 20 */ blr + +.global __ct__16CPlayerCameraBobFQ216CPlayerCameraBob14ECameraBobTypeRC9CVector2ff +__ct__16CPlayerCameraBobFQ216CPlayerCameraBob14ECameraBobTypeRC9CVector2ff: +/* 800EA250 000E71B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EA254 000E71B4 7C 08 02 A6 */ mflr r0 +/* 800EA258 000E71B8 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800EA25C 000E71BC 38 C0 00 08 */ li r6, 8 +/* 800EA260 000E71C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EA264 000E71C4 38 00 00 00 */ li r0, 0 +/* 800EA268 000E71C8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800EA26C 000E71CC 7C 7F 1B 78 */ mr r31, r3 +/* 800EA270 000E71D0 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800EA274 000E71D4 90 9F 00 00 */ stw r4, 0(r31) +/* 800EA278 000E71D8 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800EA27C 000E71DC 38 7F 00 2C */ addi r3, r31, 0x2c +/* 800EA280 000E71E0 C0 45 00 00 */ lfs f2, 0(r5) +/* 800EA284 000E71E4 D0 5F 00 04 */ stfs f2, 4(r31) +/* 800EA288 000E71E8 C0 45 00 04 */ lfs f2, 4(r5) +/* 800EA28C 000E71EC D0 5F 00 08 */ stfs f2, 8(r31) +/* 800EA290 000E71F0 D0 3F 00 0C */ stfs f1, 0xc(r31) +/* 800EA294 000E71F4 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800EA298 000E71F8 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 800EA29C 000E71FC D0 1F 00 18 */ stfs f0, 0x18(r31) +/* 800EA2A0 000E7200 D0 1F 00 1C */ stfs f0, 0x1c(r31) +/* 800EA2A4 000E7204 90 DF 00 20 */ stw r6, 0x20(r31) +/* 800EA2A8 000E7208 90 DF 00 24 */ stw r6, 0x24(r31) +/* 800EA2AC 000E720C 98 1F 00 28 */ stb r0, 0x28(r31) +/* 800EA2B0 000E7210 98 1F 00 29 */ stb r0, 0x29(r31) +/* 800EA2B4 000E7214 48 22 88 C1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800EA2B8 000E7218 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) +/* 800EA2BC 000E721C 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800EA2C0 000E7220 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800EA2C4 000E7224 38 00 00 00 */ li r0, 0 +/* 800EA2C8 000E7228 D0 1F 00 5C */ stfs f0, 0x5c(r31) +/* 800EA2CC 000E722C 38 7F 00 D0 */ addi r3, r31, 0xd0 +/* 800EA2D0 000E7230 D0 1F 00 60 */ stfs f0, 0x60(r31) +/* 800EA2D4 000E7234 D0 1F 00 64 */ stfs f0, 0x64(r31) +/* 800EA2D8 000E7238 D0 1F 00 68 */ stfs f0, 0x68(r31) +/* 800EA2DC 000E723C D0 1F 00 6C */ stfs f0, 0x6c(r31) +/* 800EA2E0 000E7240 D0 1F 00 70 */ stfs f0, 0x70(r31) +/* 800EA2E4 000E7244 D0 1F 00 74 */ stfs f0, 0x74(r31) +/* 800EA2E8 000E7248 D0 1F 00 78 */ stfs f0, 0x78(r31) +/* 800EA2EC 000E724C 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 800EA2F0 000E7250 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 800EA2F4 000E7254 D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 800EA2F8 000E7258 C0 0D 87 EC */ lfs f0, lbl_805A73AC@sda21(r13) +/* 800EA2FC 000E725C D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 800EA300 000E7260 90 1F 00 CC */ stw r0, 0xcc(r31) +/* 800EA304 000E7264 48 22 88 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800EA308 000E7268 C0 02 90 B8 */ lfs f0, lbl_805AADD8@sda21(r2) +/* 800EA30C 000E726C 38 9F 00 7C */ addi r4, r31, 0x7c +/* 800EA310 000E7270 C0 22 90 78 */ lfs f1, lbl_805AAD98@sda21(r2) +/* 800EA314 000E7274 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 800EA318 000E7278 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) +/* 800EA31C 000E727C D0 3F 01 04 */ stfs f1, 0x104(r31) +/* 800EA320 000E7280 80 1F 00 7C */ lwz r0, 0x7c(r31) +/* 800EA324 000E7284 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800EA328 000E7288 7C 64 02 14 */ add r3, r4, r0 +/* 800EA32C 000E728C 34 63 00 04 */ addic. r3, r3, 4 +/* 800EA330 000E7290 41 82 00 10 */ beq lbl_800EA340 +/* 800EA334 000E7294 D0 23 00 00 */ stfs f1, 0(r3) +/* 800EA338 000E7298 D0 03 00 04 */ stfs f0, 4(r3) +/* 800EA33C 000E729C D0 23 00 08 */ stfs f1, 8(r3) +lbl_800EA340: +/* 800EA340 000E72A0 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 800EA344 000E72A4 38 03 00 01 */ addi r0, r3, 1 +/* 800EA348 000E72A8 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 800EA34C 000E72AC 80 04 00 00 */ lwz r0, 0(r4) +/* 800EA350 000E72B0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800EA354 000E72B4 7C 64 02 14 */ add r3, r4, r0 +/* 800EA358 000E72B8 34 63 00 04 */ addic. r3, r3, 4 +/* 800EA35C 000E72BC 41 82 00 10 */ beq lbl_800EA36C +/* 800EA360 000E72C0 D0 23 00 00 */ stfs f1, 0(r3) +/* 800EA364 000E72C4 D0 03 00 04 */ stfs f0, 4(r3) +/* 800EA368 000E72C8 D0 23 00 08 */ stfs f1, 8(r3) +lbl_800EA36C: +/* 800EA36C 000E72CC 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 800EA370 000E72D0 38 03 00 01 */ addi r0, r3, 1 +/* 800EA374 000E72D4 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 800EA378 000E72D8 80 04 00 00 */ lwz r0, 0(r4) +/* 800EA37C 000E72DC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800EA380 000E72E0 7C 64 02 14 */ add r3, r4, r0 +/* 800EA384 000E72E4 34 63 00 04 */ addic. r3, r3, 4 +/* 800EA388 000E72E8 41 82 00 10 */ beq lbl_800EA398 +/* 800EA38C 000E72EC D0 23 00 00 */ stfs f1, 0(r3) +/* 800EA390 000E72F0 D0 03 00 04 */ stfs f0, 4(r3) +/* 800EA394 000E72F4 D0 23 00 08 */ stfs f1, 8(r3) +lbl_800EA398: +/* 800EA398 000E72F8 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 800EA39C 000E72FC 38 03 00 01 */ addi r0, r3, 1 +/* 800EA3A0 000E7300 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 800EA3A4 000E7304 80 04 00 00 */ lwz r0, 0(r4) +/* 800EA3A8 000E7308 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800EA3AC 000E730C 7C 64 02 14 */ add r3, r4, r0 +/* 800EA3B0 000E7310 34 63 00 04 */ addic. r3, r3, 4 +/* 800EA3B4 000E7314 41 82 00 10 */ beq lbl_800EA3C4 +/* 800EA3B8 000E7318 D0 23 00 00 */ stfs f1, 0(r3) +/* 800EA3BC 000E731C D0 03 00 04 */ stfs f0, 4(r3) +/* 800EA3C0 000E7320 D0 23 00 08 */ stfs f1, 8(r3) +lbl_800EA3C4: +/* 800EA3C4 000E7324 80 7F 00 7C */ lwz r3, 0x7c(r31) +/* 800EA3C8 000E7328 38 BF 00 B0 */ addi r5, r31, 0xb0 +/* 800EA3CC 000E732C 38 03 00 01 */ addi r0, r3, 1 +/* 800EA3D0 000E7330 90 1F 00 7C */ stw r0, 0x7c(r31) +/* 800EA3D4 000E7334 80 1F 00 B0 */ lwz r0, 0xb0(r31) +/* 800EA3D8 000E7338 54 00 10 3A */ slwi r0, r0, 2 +/* 800EA3DC 000E733C 7C 65 02 14 */ add r3, r5, r0 +/* 800EA3E0 000E7340 34 63 00 04 */ addic. r3, r3, 4 +/* 800EA3E4 000E7344 41 82 00 0C */ beq lbl_800EA3F0 +/* 800EA3E8 000E7348 C0 0D 88 04 */ lfs f0, lbl_805A73C4@sda21(r13) +/* 800EA3EC 000E734C D0 03 00 00 */ stfs f0, 0(r3) +lbl_800EA3F0: +/* 800EA3F0 000E7350 80 9F 00 B0 */ lwz r4, 0xb0(r31) +/* 800EA3F4 000E7354 38 04 00 01 */ addi r0, r4, 1 +/* 800EA3F8 000E7358 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 800EA3FC 000E735C 80 05 00 00 */ lwz r0, 0(r5) +/* 800EA400 000E7360 54 00 10 3A */ slwi r0, r0, 2 +/* 800EA404 000E7364 7C 65 02 14 */ add r3, r5, r0 +/* 800EA408 000E7368 34 63 00 04 */ addic. r3, r3, 4 +/* 800EA40C 000E736C 41 82 00 0C */ beq lbl_800EA418 +/* 800EA410 000E7370 C0 0D 88 04 */ lfs f0, lbl_805A73C4@sda21(r13) +/* 800EA414 000E7374 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800EA418: +/* 800EA418 000E7378 80 9F 00 B0 */ lwz r4, 0xb0(r31) +/* 800EA41C 000E737C 38 04 00 01 */ addi r0, r4, 1 +/* 800EA420 000E7380 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 800EA424 000E7384 80 05 00 00 */ lwz r0, 0(r5) +/* 800EA428 000E7388 54 00 10 3A */ slwi r0, r0, 2 +/* 800EA42C 000E738C 7C 65 02 14 */ add r3, r5, r0 +/* 800EA430 000E7390 34 63 00 04 */ addic. r3, r3, 4 +/* 800EA434 000E7394 41 82 00 0C */ beq lbl_800EA440 +/* 800EA438 000E7398 C0 0D 88 04 */ lfs f0, lbl_805A73C4@sda21(r13) +/* 800EA43C 000E739C D0 03 00 00 */ stfs f0, 0(r3) +lbl_800EA440: +/* 800EA440 000E73A0 80 9F 00 B0 */ lwz r4, 0xb0(r31) +/* 800EA444 000E73A4 38 04 00 01 */ addi r0, r4, 1 +/* 800EA448 000E73A8 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 800EA44C 000E73AC 80 05 00 00 */ lwz r0, 0(r5) +/* 800EA450 000E73B0 54 00 10 3A */ slwi r0, r0, 2 +/* 800EA454 000E73B4 7C 65 02 14 */ add r3, r5, r0 +/* 800EA458 000E73B8 34 63 00 04 */ addic. r3, r3, 4 +/* 800EA45C 000E73BC 41 82 00 0C */ beq lbl_800EA468 +/* 800EA460 000E73C0 C0 0D 88 04 */ lfs f0, lbl_805A73C4@sda21(r13) +/* 800EA464 000E73C4 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800EA468: +/* 800EA468 000E73C8 80 9F 00 B0 */ lwz r4, 0xb0(r31) +/* 800EA46C 000E73CC 7F E3 FB 78 */ mr r3, r31 +/* 800EA470 000E73D0 38 04 00 01 */ addi r0, r4, 1 +/* 800EA474 000E73D4 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 800EA478 000E73D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800EA47C 000E73DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EA480 000E73E0 7C 08 03 A6 */ mtlr r0 +/* 800EA484 000E73E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EA488 000E73E8 4E 80 00 20 */ blr + +.global __sinit_CPlayerCameraBob_cpp +__sinit_CPlayerCameraBob_cpp: +/* 800EA48C 000E73EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EA490 000E73F0 7C 08 02 A6 */ mflr r0 +/* 800EA494 000E73F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EA498 000E73F8 C0 2D 87 D4 */ lfs f1, lbl_805A7394@sda21(r13) +/* 800EA49C 000E73FC 48 22 B0 65 */ bl SqrtF__5CMathFf +/* 800EA4A0 000E7400 C0 02 90 84 */ lfs f0, lbl_805AADA4@sda21(r2) +/* 800EA4A4 000E7404 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EA4A8 000E7408 C0 2D 87 E0 */ lfs f1, lbl_805A73A0@sda21(r13) +/* 800EA4AC 000E740C D0 0D A3 10 */ stfs f0, lbl_805A8ED0@sda21(r13) +/* 800EA4B0 000E7410 48 22 B0 51 */ bl SqrtF__5CMathFf +/* 800EA4B4 000E7414 C0 02 90 BC */ lfs f0, lbl_805AADDC@sda21(r2) +/* 800EA4B8 000E7418 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EA4BC 000E741C C0 2D 87 E4 */ lfs f1, lbl_805A73A4@sda21(r13) +/* 800EA4C0 000E7420 D0 0D A3 14 */ stfs f0, lbl_805A8ED4@sda21(r13) +/* 800EA4C4 000E7424 48 22 B0 3D */ bl SqrtF__5CMathFf +/* 800EA4C8 000E7428 C0 02 90 C0 */ lfs f0, lbl_805AADE0@sda21(r2) +/* 800EA4CC 000E742C EC 00 00 72 */ fmuls f0, f0, f1 +/* 800EA4D0 000E7430 D0 0D A3 18 */ stfs f0, lbl_805A8ED8@sda21(r13) +/* 800EA4D4 000E7434 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EA4D8 000E7438 7C 08 03 A6 */ mtlr r0 +/* 800EA4DC 000E743C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EA4E0 000E7440 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPlayerGun.s b/asm/Kyoto_CWD/Player/CPlayerGun.s similarity index 100% rename from asm/Kyoto_CWD/CPlayerGun.s rename to asm/Kyoto_CWD/Player/CPlayerGun.s diff --git a/asm/Kyoto_CWD/CPlayerState.s b/asm/Kyoto_CWD/Player/CPlayerState.s similarity index 100% rename from asm/Kyoto_CWD/CPlayerState.s rename to asm/Kyoto_CWD/Player/CPlayerState.s diff --git a/asm/Kyoto_CWD/Player/CPlayerVisor.s b/asm/Kyoto_CWD/Player/CPlayerVisor.s new file mode 100644 index 00000000..fdce1bbb --- /dev/null +++ b/asm/Kyoto_CWD/Player/CPlayerVisor.s @@ -0,0 +1,3234 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global FindEmptyInactiveScanTarget__12CPlayerVisorCFv +FindEmptyInactiveScanTarget__12CPlayerVisorCFv: +/* 80111E20 0010ED80 80 03 01 3C */ lwz r0, 0x13c(r3) +/* 80111E24 0010ED84 38 83 01 40 */ addi r4, r3, 0x140 +/* 80111E28 0010ED88 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80111E2C 0010ED8C 38 60 00 00 */ li r3, 0 +/* 80111E30 0010ED90 7C 09 03 A6 */ mtctr r0 +/* 80111E34 0010ED94 2C 00 00 00 */ cmpwi r0, 0 +/* 80111E38 0010ED98 40 81 00 1C */ ble lbl_80111E54 +lbl_80111E3C: +/* 80111E3C 0010ED9C C0 04 00 04 */ lfs f0, 4(r4) +/* 80111E40 0010EDA0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80111E44 0010EDA4 4D 82 00 20 */ beqlr +/* 80111E48 0010EDA8 38 84 00 10 */ addi r4, r4, 0x10 +/* 80111E4C 0010EDAC 38 63 00 01 */ addi r3, r3, 1 +/* 80111E50 0010EDB0 42 00 FF EC */ bdnz lbl_80111E3C +lbl_80111E54: +/* 80111E54 0010EDB4 38 60 FF FF */ li r3, -1 +/* 80111E58 0010EDB8 4E 80 00 20 */ blr + +.global FindCachedInactiveScanTarget__12CPlayerVisorCF9TUniqueId +FindCachedInactiveScanTarget__12CPlayerVisorCF9TUniqueId: +/* 80111E5C 0010EDBC 80 03 01 3C */ lwz r0, 0x13c(r3) +/* 80111E60 0010EDC0 38 C3 01 40 */ addi r6, r3, 0x140 +/* 80111E64 0010EDC4 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +/* 80111E68 0010EDC8 38 60 00 00 */ li r3, 0 +/* 80111E6C 0010EDCC 7C 09 03 A6 */ mtctr r0 +/* 80111E70 0010EDD0 2C 00 00 00 */ cmpwi r0, 0 +/* 80111E74 0010EDD4 40 81 00 2C */ ble lbl_80111EA0 +lbl_80111E78: +/* 80111E78 0010EDD8 A0 A6 00 00 */ lhz r5, 0(r6) +/* 80111E7C 0010EDDC A0 04 00 00 */ lhz r0, 0(r4) +/* 80111E80 0010EDE0 7C 05 00 40 */ cmplw r5, r0 +/* 80111E84 0010EDE4 40 82 00 10 */ bne lbl_80111E94 +/* 80111E88 0010EDE8 C0 26 00 04 */ lfs f1, 4(r6) +/* 80111E8C 0010EDEC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80111E90 0010EDF0 4D 81 00 20 */ bgtlr +lbl_80111E94: +/* 80111E94 0010EDF4 38 C6 00 10 */ addi r6, r6, 0x10 +/* 80111E98 0010EDF8 38 63 00 01 */ addi r3, r3, 1 +/* 80111E9C 0010EDFC 42 00 FF DC */ bdnz lbl_80111E78 +lbl_80111EA0: +/* 80111EA0 0010EE00 38 60 FF FF */ li r3, -1 +/* 80111EA4 0010EE04 4E 80 00 20 */ blr + +.global DrawScanObjectIndicators__12CPlayerVisorCFRC13CStateManager +DrawScanObjectIndicators__12CPlayerVisorCFRC13CStateManager: +/* 80111EA8 0010EE08 94 21 FD 20 */ stwu r1, -0x2e0(r1) +/* 80111EAC 0010EE0C 7C 08 02 A6 */ mflr r0 +/* 80111EB0 0010EE10 90 01 02 E4 */ stw r0, 0x2e4(r1) +/* 80111EB4 0010EE14 DB E1 02 D0 */ stfd f31, 0x2d0(r1) +/* 80111EB8 0010EE18 F3 E1 02 D8 */ psq_st f31, 728(r1), 0, qr0 +/* 80111EBC 0010EE1C DB C1 02 C0 */ stfd f30, 0x2c0(r1) +/* 80111EC0 0010EE20 F3 C1 02 C8 */ psq_st f30, 712(r1), 0, qr0 +/* 80111EC4 0010EE24 DB A1 02 B0 */ stfd f29, 0x2b0(r1) +/* 80111EC8 0010EE28 F3 A1 02 B8 */ psq_st f29, 696(r1), 0, qr0 +/* 80111ECC 0010EE2C DB 81 02 A0 */ stfd f28, 0x2a0(r1) +/* 80111ED0 0010EE30 F3 81 02 A8 */ psq_st f28, 680(r1), 0, qr0 +/* 80111ED4 0010EE34 DB 61 02 90 */ stfd f27, 0x290(r1) +/* 80111ED8 0010EE38 F3 61 02 98 */ psq_st f27, 664(r1), 0, qr0 +/* 80111EDC 0010EE3C DB 41 02 80 */ stfd f26, 0x280(r1) +/* 80111EE0 0010EE40 F3 41 02 88 */ psq_st f26, 648(r1), 0, qr0 +/* 80111EE4 0010EE44 DB 21 02 70 */ stfd f25, 0x270(r1) +/* 80111EE8 0010EE48 F3 21 02 78 */ psq_st f25, 632(r1), 0, qr0 +/* 80111EEC 0010EE4C BE E1 02 4C */ stmw r23, 0x24c(r1) +/* 80111EF0 0010EE50 7C 7A 1B 78 */ mr r26, r3 +/* 80111EF4 0010EE54 7C 9B 23 78 */ mr r27, r4 +/* 80111EF8 0010EE58 80 03 01 2C */ lwz r0, 0x12c(r3) +/* 80111EFC 0010EE5C 28 00 00 00 */ cmplwi r0, 0 +/* 80111F00 0010EE60 41 82 00 0C */ beq lbl_80111F0C +/* 80111F04 0010EE64 38 60 00 01 */ li r3, 1 +/* 80111F08 0010EE68 48 00 00 3C */ b lbl_80111F44 +lbl_80111F0C: +/* 80111F0C 0010EE6C 88 1A 01 28 */ lbz r0, 0x128(r26) +/* 80111F10 0010EE70 28 00 00 00 */ cmplwi r0, 0 +/* 80111F14 0010EE74 41 82 00 2C */ beq lbl_80111F40 +/* 80111F18 0010EE78 80 7A 01 24 */ lwz r3, 0x124(r26) +/* 80111F1C 0010EE7C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80111F20 0010EE80 28 00 00 00 */ cmplwi r0, 0 +/* 80111F24 0010EE84 41 82 00 1C */ beq lbl_80111F40 +/* 80111F28 0010EE88 38 7A 01 24 */ addi r3, r26, 0x124 +/* 80111F2C 0010EE8C 48 22 EE E1 */ bl GetObj__6CTokenFv +/* 80111F30 0010EE90 80 03 00 04 */ lwz r0, 4(r3) +/* 80111F34 0010EE94 38 60 00 01 */ li r3, 1 +/* 80111F38 0010EE98 90 1A 01 2C */ stw r0, 0x12c(r26) +/* 80111F3C 0010EE9C 48 00 00 08 */ b lbl_80111F44 +lbl_80111F40: +/* 80111F40 0010EEA0 38 60 00 00 */ li r3, 0 +lbl_80111F44: +/* 80111F44 0010EEA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80111F48 0010EEA8 40 82 00 0C */ bne lbl_80111F54 +/* 80111F4C 0010EEAC 38 60 00 00 */ li r3, 0 +/* 80111F50 0010EEB0 48 00 05 6C */ b lbl_801124BC +lbl_80111F54: +/* 80111F54 0010EEB4 80 1A 01 38 */ lwz r0, 0x138(r26) +/* 80111F58 0010EEB8 28 00 00 00 */ cmplwi r0, 0 +/* 80111F5C 0010EEBC 41 82 00 0C */ beq lbl_80111F68 +/* 80111F60 0010EEC0 38 60 00 01 */ li r3, 1 +/* 80111F64 0010EEC4 48 00 00 3C */ b lbl_80111FA0 +lbl_80111F68: +/* 80111F68 0010EEC8 88 1A 01 34 */ lbz r0, 0x134(r26) +/* 80111F6C 0010EECC 28 00 00 00 */ cmplwi r0, 0 +/* 80111F70 0010EED0 41 82 00 2C */ beq lbl_80111F9C +/* 80111F74 0010EED4 80 7A 01 30 */ lwz r3, 0x130(r26) +/* 80111F78 0010EED8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80111F7C 0010EEDC 28 00 00 00 */ cmplwi r0, 0 +/* 80111F80 0010EEE0 41 82 00 1C */ beq lbl_80111F9C +/* 80111F84 0010EEE4 38 7A 01 30 */ addi r3, r26, 0x130 +/* 80111F88 0010EEE8 48 22 EE 85 */ bl GetObj__6CTokenFv +/* 80111F8C 0010EEEC 80 03 00 04 */ lwz r0, 4(r3) +/* 80111F90 0010EEF0 38 60 00 01 */ li r3, 1 +/* 80111F94 0010EEF4 90 1A 01 38 */ stw r0, 0x138(r26) +/* 80111F98 0010EEF8 48 00 00 08 */ b lbl_80111FA0 +lbl_80111F9C: +/* 80111F9C 0010EEFC 38 60 00 00 */ li r3, 0 +lbl_80111FA0: +/* 80111FA0 0010EF00 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80111FA4 0010EF04 40 82 00 0C */ bne lbl_80111FB0 +/* 80111FA8 0010EF08 38 60 00 00 */ li r3, 0 +/* 80111FAC 0010EF0C 48 00 05 10 */ b lbl_801124BC +lbl_80111FB0: +/* 80111FB0 0010EF10 83 3A 01 1C */ lwz r25, 0x11c(r26) +/* 80111FB4 0010EF14 28 19 00 00 */ cmplwi r25, 0 +/* 80111FB8 0010EF18 40 82 00 0C */ bne lbl_80111FC4 +/* 80111FBC 0010EF1C 38 60 00 00 */ li r3, 0 +/* 80111FC0 0010EF20 48 00 04 FC */ b lbl_801124BC +lbl_80111FC4: +/* 80111FC4 0010EF24 C0 22 95 CC */ lfs f1, lbl_805AB2EC@sda21(r2) +/* 80111FC8 0010EF28 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) +/* 80111FCC 0010EF2C 48 1F 84 15 */ bl SetDepthRange__9CGraphicsFff +/* 80111FD0 0010EF30 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 80111FD4 0010EF34 38 61 00 60 */ addi r3, r1, 0x60 +/* 80111FD8 0010EF38 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80111FDC 0010EF3C 38 A0 00 01 */ li r5, 1 +/* 80111FE0 0010EF40 81 84 00 00 */ lwz r12, 0(r4) +/* 80111FE4 0010EF44 C0 42 95 D4 */ lfs f2, lbl_805AB2F4@sda21(r2) +/* 80111FE8 0010EF48 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 80111FEC 0010EF4C 7D 89 03 A6 */ mtctr r12 +/* 80111FF0 0010EF50 4E 80 04 21 */ bctrl +/* 80111FF4 0010EF54 C0 62 95 D8 */ lfs f3, lbl_805AB2F8@sda21(r2) +/* 80111FF8 0010EF58 38 61 01 18 */ addi r3, r1, 0x118 +/* 80111FFC 0010EF5C C0 3A 00 48 */ lfs f1, 0x48(r26) +/* 80112000 0010EF60 C0 1A 00 4C */ lfs f0, 0x4c(r26) +/* 80112004 0010EF64 EC 23 00 72 */ fmuls f1, f3, f1 +/* 80112008 0010EF68 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) +/* 8011200C 0010EF6C EC 63 00 32 */ fmuls f3, f3, f0 +/* 80112010 0010EF70 48 20 11 F9 */ bl Scale__12CTransform4fFfff +/* 80112014 0010EF74 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80112018 0010EF78 38 81 01 18 */ addi r4, r1, 0x118 +/* 8011201C 0010EF7C 81 83 00 00 */ lwz r12, 0(r3) +/* 80112020 0010EF80 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80112024 0010EF84 7D 89 03 A6 */ mtctr r12 +/* 80112028 0010EF88 4E 80 04 21 */ bctrl +/* 8011202C 0010EF8C 38 A0 00 00 */ li r5, 0 +/* 80112030 0010EF90 38 60 00 05 */ li r3, 5 +/* 80112034 0010EF94 38 00 00 03 */ li r0, 3 +/* 80112038 0010EF98 98 61 00 34 */ stb r3, 0x34(r1) +/* 8011203C 0010EF9C 7F 23 CB 78 */ mr r3, r25 +/* 80112040 0010EFA0 38 81 00 34 */ addi r4, r1, 0x34 +/* 80112044 0010EFA4 98 A1 00 35 */ stb r5, 0x35(r1) +/* 80112048 0010EFA8 B0 01 00 36 */ sth r0, 0x36(r1) +/* 8011204C 0010EFAC 90 A1 00 38 */ stw r5, 0x38(r1) +/* 80112050 0010EFB0 48 24 3B 85 */ bl Draw__6CModelCFRC11CModelFlags +/* 80112054 0010EFB4 80 7B 08 70 */ lwz r3, 0x870(r27) +/* 80112058 0010EFB8 7F 64 DB 78 */ mr r4, r27 +/* 8011205C 0010EFBC 4B EF 9A BD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80112060 0010EFC0 80 9B 08 70 */ lwz r4, 0x870(r27) +/* 80112064 0010EFC4 7C 79 1B 78 */ mr r25, r3 +/* 80112068 0010EFC8 7F 65 DB 78 */ mr r5, r27 +/* 8011206C 0010EFCC 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 80112070 0010EFD0 4B EF 88 F9 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 80112074 0010EFD4 38 61 01 9C */ addi r3, r1, 0x19c +/* 80112078 0010EFD8 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 8011207C 0010EFDC 48 20 0A F9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80112080 0010EFE0 38 61 01 9C */ addi r3, r1, 0x19c +/* 80112084 0010EFE4 48 1F A6 C9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 80112088 0010EFE8 C0 22 95 DC */ lfs f1, lbl_805AB2FC@sda21(r2) +/* 8011208C 0010EFEC 38 61 01 CC */ addi r3, r1, 0x1cc +/* 80112090 0010EFF0 C0 19 01 5C */ lfs f0, 0x15c(r25) +/* 80112094 0010EFF4 38 81 01 9C */ addi r4, r1, 0x19c +/* 80112098 0010EFF8 C0 59 01 68 */ lfs f2, 0x168(r25) +/* 8011209C 0010EFFC 38 A0 00 00 */ li r5, 0 +/* 801120A0 0010F000 EC 21 00 32 */ fmuls f1, f1, f0 +/* 801120A4 0010F004 C0 62 95 D0 */ lfs f3, lbl_805AB2F0@sda21(r2) +/* 801120A8 0010F008 C0 82 95 E0 */ lfs f4, lbl_805AB300@sda21(r2) +/* 801120AC 0010F00C 48 23 31 A9 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf +/* 801120B0 0010F010 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801120B4 0010F014 38 81 01 CC */ addi r4, r1, 0x1cc +/* 801120B8 0010F018 81 83 00 00 */ lwz r12, 0(r3) +/* 801120BC 0010F01C 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 801120C0 0010F020 7D 89 03 A6 */ mtctr r12 +/* 801120C4 0010F024 4E 80 04 21 */ bctrl +/* 801120C8 0010F028 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 801120CC 0010F02C 3C 80 43 30 */ lis r4, 0x4330 +/* 801120D0 0010F030 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l +/* 801120D4 0010F034 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801120D8 0010F038 80 A6 00 08 */ lwz r5, 8(r6) +/* 801120DC 0010F03C 80 06 00 0C */ lwz r0, 0xc(r6) +/* 801120E0 0010F040 6C A5 80 00 */ xoris r5, r5, 0x8000 +/* 801120E4 0010F044 81 83 00 00 */ lwz r12, 0(r3) +/* 801120E8 0010F048 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 801120EC 0010F04C 90 A1 02 34 */ stw r5, 0x234(r1) +/* 801120F0 0010F050 C8 62 95 F8 */ lfd f3, lbl_805AB318@sda21(r2) +/* 801120F4 0010F054 90 81 02 30 */ stw r4, 0x230(r1) +/* 801120F8 0010F058 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 801120FC 0010F05C C8 01 02 30 */ lfd f0, 0x230(r1) +/* 80112100 0010F060 90 01 02 3C */ stw r0, 0x23c(r1) +/* 80112104 0010F064 EC 40 18 28 */ fsubs f2, f0, f3 +/* 80112108 0010F068 C0 39 01 5C */ lfs f1, 0x15c(r25) +/* 8011210C 0010F06C 90 81 02 38 */ stw r4, 0x238(r1) +/* 80112110 0010F070 C0 99 01 60 */ lfs f4, 0x160(r25) +/* 80112114 0010F074 C8 01 02 38 */ lfd f0, 0x238(r1) +/* 80112118 0010F078 C0 B9 01 64 */ lfs f5, 0x164(r25) +/* 8011211C 0010F07C EC 60 18 28 */ fsubs f3, f0, f3 +/* 80112120 0010F080 7D 89 03 A6 */ mtctr r12 +/* 80112124 0010F084 4E 80 04 21 */ bctrl +/* 80112128 0010F088 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 8011212C 0010F08C 38 81 01 9C */ addi r4, r1, 0x19c +/* 80112130 0010F090 48 20 0F C5 */ bl BuildMatrix3f__12CTransform4fCFv +/* 80112134 0010F094 38 61 01 78 */ addi r3, r1, 0x178 +/* 80112138 0010F098 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 8011213C 0010F09C 48 1F DE E9 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 80112140 0010F0A0 C3 A1 01 A8 */ lfs f29, 0x1a8(r1) +/* 80112144 0010F0A4 3B FA 01 40 */ addi r31, r26, 0x140 +/* 80112148 0010F0A8 C3 81 01 B8 */ lfs f28, 0x1b8(r1) +/* 8011214C 0010F0AC 3B C0 00 00 */ li r30, 0 +/* 80112150 0010F0B0 C3 61 01 C8 */ lfs f27, 0x1c8(r1) +/* 80112154 0010F0B4 C3 E2 95 C8 */ lfs f31, lbl_805AB2E8@sda21(r2) +/* 80112158 0010F0B8 48 00 02 F4 */ b lbl_8011244C +lbl_8011215C: +/* 8011215C 0010F0BC C0 1F 00 04 */ lfs f0, 4(r31) +/* 80112160 0010F0C0 FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 80112164 0010F0C4 41 82 02 E0 */ beq lbl_80112444 +/* 80112168 0010F0C8 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8011216C 0010F0CC 7F 63 DB 78 */ mr r3, r27 +/* 80112170 0010F0D0 38 81 00 0C */ addi r4, r1, 0xc +/* 80112174 0010F0D4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80112178 0010F0D8 4B F3 A4 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8011217C 0010F0DC 7C 64 1B 78 */ mr r4, r3 +/* 80112180 0010F0E0 38 61 00 1C */ addi r3, r1, 0x1c +/* 80112184 0010F0E4 4B F9 DB 0D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80112188 0010F0E8 83 A3 00 04 */ lwz r29, 4(r3) +/* 8011218C 0010F0EC 28 1D 00 00 */ cmplwi r29, 0 +/* 80112190 0010F0F0 41 82 02 B4 */ beq lbl_80112444 +/* 80112194 0010F0F4 80 7D 00 68 */ lwz r3, 0x68(r29) +/* 80112198 0010F0F8 38 00 00 80 */ li r0, 0x80 +/* 8011219C 0010F0FC 80 BD 00 6C */ lwz r5, 0x6c(r29) +/* 801121A0 0010F100 38 80 00 00 */ li r4, 0 +/* 801121A4 0010F104 7C 60 00 38 */ and r0, r3, r0 +/* 801121A8 0010F108 7C A3 20 38 */ and r3, r5, r4 +/* 801121AC 0010F10C 7C 63 22 78 */ xor r3, r3, r4 +/* 801121B0 0010F110 7C 00 22 78 */ xor r0, r0, r4 +/* 801121B4 0010F114 7C 60 03 79 */ or. r0, r3, r0 +/* 801121B8 0010F118 41 82 02 8C */ beq lbl_80112444 +/* 801121BC 0010F11C 7F A3 EB 78 */ mr r3, r29 +/* 801121C0 0010F120 4B F4 13 09 */ bl GetScannableObjectInfo__6CActorCFv +/* 801121C4 0010F124 7C 79 1B 78 */ mr r25, r3 +/* 801121C8 0010F128 88 83 00 10 */ lbz r4, 0x10(r3) +/* 801121CC 0010F12C 28 04 00 00 */ cmplwi r4, 0 +/* 801121D0 0010F130 41 82 00 0C */ beq lbl_801121DC +/* 801121D4 0010F134 80 1A 01 38 */ lwz r0, 0x138(r26) +/* 801121D8 0010F138 48 00 00 08 */ b lbl_801121E0 +lbl_801121DC: +/* 801121DC 0010F13C 80 1A 01 2C */ lwz r0, 0x12c(r26) +lbl_801121E0: +/* 801121E0 0010F140 28 04 00 00 */ cmplwi r4, 0 +/* 801121E4 0010F144 7C 1C 03 78 */ mr r28, r0 +/* 801121E8 0010F148 41 82 00 10 */ beq lbl_801121F8 +/* 801121EC 0010F14C 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 801121F0 0010F150 3B 03 01 88 */ addi r24, r3, 0x188 +/* 801121F4 0010F154 48 00 00 0C */ b lbl_80112200 +lbl_801121F8: +/* 801121F8 0010F158 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 801121FC 0010F15C 3B 03 01 90 */ addi r24, r3, 0x190 +lbl_80112200: +/* 80112200 0010F160 28 04 00 00 */ cmplwi r4, 0 +/* 80112204 0010F164 41 82 00 10 */ beq lbl_80112214 +/* 80112208 0010F168 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 8011220C 0010F16C 3A E3 01 8C */ addi r23, r3, 0x18c +/* 80112210 0010F170 48 00 00 0C */ b lbl_8011221C +lbl_80112214: +/* 80112214 0010F174 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 80112218 0010F178 3A E3 01 94 */ addi r23, r3, 0x194 +lbl_8011221C: +/* 8011221C 0010F17C 7F A4 EB 78 */ mr r4, r29 +/* 80112220 0010F180 7F 65 DB 78 */ mr r5, r27 +/* 80112224 0010F184 81 9D 00 00 */ lwz r12, 0(r29) +/* 80112228 0010F188 38 61 00 54 */ addi r3, r1, 0x54 +/* 8011222C 0010F18C 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 80112230 0010F190 7D 89 03 A6 */ mtctr r12 +/* 80112234 0010F194 4E 80 04 21 */ bctrl +/* 80112238 0010F198 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 8011223C 0010F19C 7F 64 DB 78 */ mr r4, r27 +/* 80112240 0010F1A0 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 80112244 0010F1A4 38 61 00 48 */ addi r3, r1, 0x48 +/* 80112248 0010F1A8 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8011224C 0010F1AC D0 41 00 70 */ stfs f2, 0x70(r1) +/* 80112250 0010F1B0 80 ED A1 40 */ lwz r7, gpTweakTargeting@sda21(r13) +/* 80112254 0010F1B4 D0 21 00 74 */ stfs f1, 0x74(r1) +/* 80112258 0010F1B8 80 C1 00 70 */ lwz r6, 0x70(r1) +/* 8011225C 0010F1BC D0 01 00 78 */ stfs f0, 0x78(r1) +/* 80112260 0010F1C0 80 A1 00 74 */ lwz r5, 0x74(r1) +/* 80112264 0010F1C4 80 01 00 78 */ lwz r0, 0x78(r1) +/* 80112268 0010F1C8 90 C1 00 48 */ stw r6, 0x48(r1) +/* 8011226C 0010F1CC C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) +/* 80112270 0010F1D0 90 A1 00 4C */ stw r5, 0x4c(r1) +/* 80112274 0010F1D4 90 01 00 50 */ stw r0, 0x50(r1) +/* 80112278 0010F1D8 C0 47 02 1C */ lfs f2, 0x21c(r7) +/* 8011227C 0010F1DC C0 67 02 20 */ lfs f3, 0x220(r7) +/* 80112280 0010F1E0 4B FA AD 1D */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager +/* 80112284 0010F1E4 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +/* 80112288 0010F1E8 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 8011228C 0010F1EC D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 80112290 0010F1F0 38 81 00 7C */ addi r4, r1, 0x7c +/* 80112294 0010F1F4 38 A1 01 78 */ addi r5, r1, 0x178 +/* 80112298 0010F1F8 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8011229C 0010F1FC D0 01 00 84 */ stfs f0, 0x84(r1) +/* 801122A0 0010F200 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 801122A4 0010F204 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 801122A8 0010F208 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 801122AC 0010F20C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 801122B0 0010F210 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 801122B4 0010F214 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 801122B8 0010F218 48 1F DE 79 */ bl __ml__9CMatrix3fCFRC9CMatrix3f +/* 801122BC 0010F21C 38 61 01 48 */ addi r3, r1, 0x148 +/* 801122C0 0010F220 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 801122C4 0010F224 38 A1 00 70 */ addi r5, r1, 0x70 +/* 801122C8 0010F228 48 20 0F B1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f +/* 801122CC 0010F22C C0 41 00 74 */ lfs f2, 0x74(r1) +/* 801122D0 0010F230 38 61 00 3C */ addi r3, r1, 0x3c +/* 801122D4 0010F234 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 801122D8 0010F238 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 801122DC 0010F23C EC 42 E0 28 */ fsubs f2, f2, f28 +/* 801122E0 0010F240 EC 21 D8 28 */ fsubs f1, f1, f27 +/* 801122E4 0010F244 EC 00 E8 28 */ fsubs f0, f0, f29 +/* 801122E8 0010F248 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 801122EC 0010F24C D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 801122F0 0010F250 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 801122F4 0010F254 48 20 25 C5 */ bl Magnitude__9CVector3fCFv +/* 801122F8 0010F258 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 801122FC 0010F25C C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +/* 80112300 0010F260 C0 63 02 18 */ lfs f3, 0x218(r3) +/* 80112304 0010F264 C0 43 02 24 */ lfs f2, 0x224(r3) +/* 80112308 0010F268 EC 42 18 28 */ fsubs f2, f2, f3 +/* 8011230C 0010F26C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80112310 0010F270 4C 40 13 82 */ cror 2, 0, 2 +/* 80112314 0010F274 40 82 00 0C */ bne lbl_80112320 +/* 80112318 0010F278 C3 42 95 D0 */ lfs f26, lbl_805AB2F0@sda21(r2) +/* 8011231C 0010F27C 48 00 00 2C */ b lbl_80112348 +lbl_80112320: +/* 80112320 0010F280 EC 01 18 28 */ fsubs f0, f1, f3 +/* 80112324 0010F284 C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) +/* 80112328 0010F288 38 81 00 14 */ addi r4, r1, 0x14 +/* 8011232C 0010F28C 38 6D 8A 58 */ addi r3, r13, lbl_805A7618@sda21 +/* 80112330 0010F290 38 AD 8A 5C */ addi r5, r13, lbl_805A761C@sda21 +/* 80112334 0010F294 EC 00 10 24 */ fdivs f0, f0, f2 +/* 80112338 0010F298 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8011233C 0010F29C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 80112340 0010F2A0 4B EF 9F 75 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 80112344 0010F2A4 C3 43 00 00 */ lfs f26, 0(r3) +lbl_80112348: +/* 80112348 0010F2A8 C0 3F 00 08 */ lfs f1, 8(r31) +/* 8011234C 0010F2AC 7F 04 C3 78 */ mr r4, r24 +/* 80112350 0010F2B0 7E E5 BB 78 */ mr r5, r23 +/* 80112354 0010F2B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80112358 0010F2B8 48 25 0F 55 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 8011235C 0010F2BC 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80112360 0010F2C0 80 7B 08 B8 */ lwz r3, 0x8b8(r27) +/* 80112364 0010F2C4 90 01 00 18 */ stw r0, 0x18(r1) +/* 80112368 0010F2C8 C3 3F 00 04 */ lfs f25, 4(r31) +/* 8011236C 0010F2CC 80 63 00 00 */ lwz r3, 0(r3) +/* 80112370 0010F2D0 80 99 00 00 */ lwz r4, 0(r25) +/* 80112374 0010F2D4 4B F7 F3 1D */ bl GetScanTime__12CPlayerStateCFUi +/* 80112378 0010F2D8 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 8011237C 0010F2DC FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80112380 0010F2E0 40 82 00 10 */ bne lbl_80112390 +/* 80112384 0010F2E4 C0 02 95 E4 */ lfs f0, lbl_805AB304@sda21(r2) +/* 80112388 0010F2E8 EF 39 00 32 */ fmuls f25, f25, f0 +/* 8011238C 0010F2EC 48 00 00 2C */ b lbl_801123B8 +lbl_80112390: +/* 80112390 0010F2F0 80 7B 08 4C */ lwz r3, 0x84c(r27) +/* 80112394 0010F2F4 A0 9F 00 00 */ lhz r4, 0(r31) +/* 80112398 0010F2F8 A0 03 03 10 */ lhz r0, 0x310(r3) +/* 8011239C 0010F2FC 7C 04 00 40 */ cmplw r4, r0 +/* 801123A0 0010F300 40 82 00 14 */ bne lbl_801123B4 +/* 801123A4 0010F304 C0 42 95 E8 */ lfs f2, lbl_805AB308@sda21(r2) +/* 801123A8 0010F308 C0 3A 00 2C */ lfs f1, 0x2c(r26) +/* 801123AC 0010F30C C0 02 95 E4 */ lfs f0, lbl_805AB304@sda21(r2) +/* 801123B0 0010F310 EC 02 00 7A */ fmadds f0, f2, f1, f0 +lbl_801123B4: +/* 801123B4 0010F314 EF 39 00 32 */ fmuls f25, f25, f0 +lbl_801123B8: +/* 801123B8 0010F318 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801123BC 0010F31C 38 81 01 48 */ addi r4, r1, 0x148 +/* 801123C0 0010F320 81 83 00 00 */ lwz r12, 0(r3) +/* 801123C4 0010F324 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801123C8 0010F328 7D 89 03 A6 */ mtctr r12 +/* 801123CC 0010F32C 4E 80 04 21 */ bctrl +/* 801123D0 0010F330 88 61 00 1B */ lbz r3, 0x1b(r1) +/* 801123D4 0010F334 3C 00 43 30 */ lis r0, 0x4330 +/* 801123D8 0010F338 90 01 02 38 */ stw r0, 0x238(r1) +/* 801123DC 0010F33C EC 59 06 B2 */ fmuls f2, f25, f26 +/* 801123E0 0010F340 C8 22 96 00 */ lfd f1, lbl_805AB320@sda21(r2) +/* 801123E4 0010F344 90 61 02 3C */ stw r3, 0x23c(r1) +/* 801123E8 0010F348 C8 01 02 38 */ lfd f0, 0x238(r1) +/* 801123EC 0010F34C EC 00 08 28 */ fsubs f0, f0, f1 +/* 801123F0 0010F350 EF C2 00 32 */ fmuls f30, f2, f0 +/* 801123F4 0010F354 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 +/* 801123F8 0010F358 38 A0 00 03 */ li r5, 3 +/* 801123FC 0010F35C 54 A0 00 3A */ rlwinm r0, r5, 0, 0, 0x1d +/* 80112400 0010F360 80 61 00 18 */ lwz r3, 0x18(r1) +/* 80112404 0010F364 38 E0 00 07 */ li r7, 7 +/* 80112408 0010F368 38 C0 00 00 */ li r6, 0 +/* 8011240C 0010F36C 89 01 00 08 */ lbz r8, 8(r1) +/* 80112410 0010F370 50 68 00 2E */ rlwimi r8, r3, 0, 0, 0x17 +/* 80112414 0010F374 60 00 00 01 */ ori r0, r0, 1 +/* 80112418 0010F378 98 E1 00 24 */ stb r7, 0x24(r1) +/* 8011241C 0010F37C 7F 83 E3 78 */ mr r3, r28 +/* 80112420 0010F380 38 81 00 2C */ addi r4, r1, 0x2c +/* 80112424 0010F384 98 C1 00 25 */ stb r6, 0x25(r1) +/* 80112428 0010F388 B0 A1 00 26 */ sth r5, 0x26(r1) +/* 8011242C 0010F38C 91 01 00 28 */ stw r8, 0x28(r1) +/* 80112430 0010F390 98 E1 00 2C */ stb r7, 0x2c(r1) +/* 80112434 0010F394 98 C1 00 2D */ stb r6, 0x2d(r1) +/* 80112438 0010F398 B0 01 00 2E */ sth r0, 0x2e(r1) +/* 8011243C 0010F39C 91 01 00 30 */ stw r8, 0x30(r1) +/* 80112440 0010F3A0 48 24 37 95 */ bl Draw__6CModelCFRC11CModelFlags +lbl_80112444: +/* 80112444 0010F3A4 3B FF 00 10 */ addi r31, r31, 0x10 +/* 80112448 0010F3A8 3B DE 00 01 */ addi r30, r30, 1 +lbl_8011244C: +/* 8011244C 0010F3AC 80 1A 01 3C */ lwz r0, 0x13c(r26) +/* 80112450 0010F3B0 7C 1E 00 00 */ cmpw r30, r0 +/* 80112454 0010F3B4 41 80 FD 08 */ blt lbl_8011215C +/* 80112458 0010F3B8 C0 22 95 EC */ lfs f1, lbl_805AB30C@sda21(r2) +/* 8011245C 0010F3BC C0 42 95 F0 */ lfs f2, lbl_805AB310@sda21(r2) +/* 80112460 0010F3C0 48 1F 7F 81 */ bl SetDepthRange__9CGraphicsFff +/* 80112464 0010F3C4 80 A1 01 CC */ lwz r5, 0x1cc(r1) +/* 80112468 0010F3C8 38 60 00 00 */ li r3, 0 +/* 8011246C 0010F3CC 2C 05 00 00 */ cmpwi r5, 0 +/* 80112470 0010F3D0 40 81 00 40 */ ble lbl_801124B0 +/* 80112474 0010F3D4 2C 05 00 08 */ cmpwi r5, 8 +/* 80112478 0010F3D8 38 85 FF F8 */ addi r4, r5, -8 +/* 8011247C 0010F3DC 40 81 00 20 */ ble lbl_8011249C +/* 80112480 0010F3E0 38 04 00 07 */ addi r0, r4, 7 +/* 80112484 0010F3E4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80112488 0010F3E8 7C 09 03 A6 */ mtctr r0 +/* 8011248C 0010F3EC 2C 04 00 00 */ cmpwi r4, 0 +/* 80112490 0010F3F0 40 81 00 0C */ ble lbl_8011249C +lbl_80112494: +/* 80112494 0010F3F4 38 63 00 08 */ addi r3, r3, 8 +/* 80112498 0010F3F8 42 00 FF FC */ bdnz lbl_80112494 +lbl_8011249C: +/* 8011249C 0010F3FC 7C 03 28 50 */ subf r0, r3, r5 +/* 801124A0 0010F400 7C 09 03 A6 */ mtctr r0 +/* 801124A4 0010F404 7C 03 28 00 */ cmpw r3, r5 +/* 801124A8 0010F408 40 80 00 08 */ bge lbl_801124B0 +lbl_801124AC: +/* 801124AC 0010F40C 42 00 00 00 */ bdnz lbl_801124AC +lbl_801124B0: +/* 801124B0 0010F410 38 00 00 00 */ li r0, 0 +/* 801124B4 0010F414 38 60 00 01 */ li r3, 1 +/* 801124B8 0010F418 90 01 01 CC */ stw r0, 0x1cc(r1) +lbl_801124BC: +/* 801124BC 0010F41C E3 E1 02 D8 */ psq_l f31, 728(r1), 0, qr0 +/* 801124C0 0010F420 CB E1 02 D0 */ lfd f31, 0x2d0(r1) +/* 801124C4 0010F424 E3 C1 02 C8 */ psq_l f30, 712(r1), 0, qr0 +/* 801124C8 0010F428 CB C1 02 C0 */ lfd f30, 0x2c0(r1) +/* 801124CC 0010F42C E3 A1 02 B8 */ psq_l f29, 696(r1), 0, qr0 +/* 801124D0 0010F430 CB A1 02 B0 */ lfd f29, 0x2b0(r1) +/* 801124D4 0010F434 E3 81 02 A8 */ psq_l f28, 680(r1), 0, qr0 +/* 801124D8 0010F438 CB 81 02 A0 */ lfd f28, 0x2a0(r1) +/* 801124DC 0010F43C E3 61 02 98 */ psq_l f27, 664(r1), 0, qr0 +/* 801124E0 0010F440 CB 61 02 90 */ lfd f27, 0x290(r1) +/* 801124E4 0010F444 E3 41 02 88 */ psq_l f26, 648(r1), 0, qr0 +/* 801124E8 0010F448 CB 41 02 80 */ lfd f26, 0x280(r1) +/* 801124EC 0010F44C E3 21 02 78 */ psq_l f25, 632(r1), 0, qr0 +/* 801124F0 0010F450 CB 21 02 70 */ lfd f25, 0x270(r1) +/* 801124F4 0010F454 BA E1 02 4C */ lmw r23, 0x24c(r1) +/* 801124F8 0010F458 80 01 02 E4 */ lwz r0, 0x2e4(r1) +/* 801124FC 0010F45C 7C 08 03 A6 */ mtlr r0 +/* 80112500 0010F460 38 21 02 E0 */ addi r1, r1, 0x2e0 +/* 80112504 0010F464 4E 80 00 20 */ blr + +.global UpdateScanObjectIndicators__12CPlayerVisorFRC13CStateManagerf +UpdateScanObjectIndicators__12CPlayerVisorFRC13CStateManagerf: +/* 80112508 0010F468 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 8011250C 0010F46C 7C 08 02 A6 */ mflr r0 +/* 80112510 0010F470 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 80112514 0010F474 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 80112518 0010F478 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 8011251C 0010F47C DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 80112520 0010F480 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 80112524 0010F484 BF 21 00 A4 */ stmw r25, 0xa4(r1) +/* 80112528 0010F488 FF C0 08 90 */ fmr f30, f1 +/* 8011252C 0010F48C C0 02 96 08 */ lfs f0, lbl_805AB328@sda21(r2) +/* 80112530 0010F490 7C 7A 1B 78 */ mr r26, r3 +/* 80112534 0010F494 3C 60 80 3F */ lis r3, lbl_803ED910@ha +/* 80112538 0010F498 3B 9A 01 40 */ addi r28, r26, 0x140 +/* 8011253C 0010F49C 7C 9B 23 78 */ mr r27, r4 +/* 80112540 0010F4A0 EF E0 07 B2 */ fmuls f31, f0, f30 +/* 80112544 0010F4A4 7F 9E E3 78 */ mr r30, r28 +/* 80112548 0010F4A8 3B E3 D9 10 */ addi r31, r3, lbl_803ED910@l +/* 8011254C 0010F4AC 3B A0 00 00 */ li r29, 0 +/* 80112550 0010F4B0 48 00 02 00 */ b lbl_80112750 +lbl_80112554: +/* 80112554 0010F4B4 C0 3E 00 04 */ lfs f1, 4(r30) +/* 80112558 0010F4B8 C0 0D 8A 3C */ lfs f0, lbl_805A75FC@sda21(r13) +/* 8011255C 0010F4BC EC 21 F0 28 */ fsubs f1, f1, f30 +/* 80112560 0010F4C0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80112564 0010F4C4 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 80112568 0010F4C8 40 80 00 0C */ bge lbl_80112574 +/* 8011256C 0010F4CC 38 61 00 34 */ addi r3, r1, 0x34 +/* 80112570 0010F4D0 48 00 00 08 */ b lbl_80112578 +lbl_80112574: +/* 80112574 0010F4D4 38 6D 8A 3C */ addi r3, r13, lbl_805A75FC@sda21 +lbl_80112578: +/* 80112578 0010F4D8 C0 03 00 00 */ lfs f0, 0(r3) +/* 8011257C 0010F4DC 7F 65 DB 78 */ mr r5, r27 +/* 80112580 0010F4E0 38 81 00 18 */ addi r4, r1, 0x18 +/* 80112584 0010F4E4 D0 1E 00 04 */ stfs f0, 4(r30) +/* 80112588 0010F4E8 A0 1E 00 00 */ lhz r0, 0(r30) +/* 8011258C 0010F4EC 80 7B 08 4C */ lwz r3, 0x84c(r27) +/* 80112590 0010F4F0 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80112594 0010F4F4 4B EF FA 0D */ bl ObjectInScanningRange__7CPlayerF9TUniqueIdRC13CStateManager +/* 80112598 0010F4F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8011259C 0010F4FC 41 82 00 34 */ beq lbl_801125D0 +/* 801125A0 0010F500 C0 3E 00 08 */ lfs f1, 8(r30) +/* 801125A4 0010F504 C0 0D 8A 40 */ lfs f0, lbl_805A7600@sda21(r13) +/* 801125A8 0010F508 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 801125AC 0010F50C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801125B0 0010F510 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 801125B4 0010F514 40 80 00 0C */ bge lbl_801125C0 +/* 801125B8 0010F518 38 61 00 30 */ addi r3, r1, 0x30 +/* 801125BC 0010F51C 48 00 00 08 */ b lbl_801125C4 +lbl_801125C0: +/* 801125C0 0010F520 38 6D 8A 40 */ addi r3, r13, lbl_805A7600@sda21 +lbl_801125C4: +/* 801125C4 0010F524 C0 03 00 00 */ lfs f0, 0(r3) +/* 801125C8 0010F528 D0 1E 00 08 */ stfs f0, 8(r30) +/* 801125CC 0010F52C 48 00 00 30 */ b lbl_801125FC +lbl_801125D0: +/* 801125D0 0010F530 C0 3E 00 08 */ lfs f1, 8(r30) +/* 801125D4 0010F534 C0 0D 8A 44 */ lfs f0, lbl_805A7604@sda21(r13) +/* 801125D8 0010F538 EC 21 F8 2A */ fadds f1, f1, f31 +/* 801125DC 0010F53C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801125E0 0010F540 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 801125E4 0010F544 40 80 00 0C */ bge lbl_801125F0 +/* 801125E8 0010F548 38 61 00 2C */ addi r3, r1, 0x2c +/* 801125EC 0010F54C 48 00 00 08 */ b lbl_801125F4 +lbl_801125F0: +/* 801125F0 0010F550 38 6D 8A 44 */ addi r3, r13, lbl_805A7604@sda21 +lbl_801125F4: +/* 801125F4 0010F554 C0 03 00 00 */ lfs f0, 0(r3) +/* 801125F8 0010F558 D0 1E 00 08 */ stfs f0, 8(r30) +lbl_801125FC: +/* 801125FC 0010F55C A0 1E 00 00 */ lhz r0, 0(r30) +/* 80112600 0010F560 7F 63 DB 78 */ mr r3, r27 +/* 80112604 0010F564 38 81 00 14 */ addi r4, r1, 0x14 +/* 80112608 0010F568 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8011260C 0010F56C 4B F3 9F 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80112610 0010F570 7C 64 1B 78 */ mr r4, r3 +/* 80112614 0010F574 38 61 00 40 */ addi r3, r1, 0x40 +/* 80112618 0010F578 4B F9 D6 79 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8011261C 0010F57C 83 23 00 04 */ lwz r25, 4(r3) +/* 80112620 0010F580 28 19 00 00 */ cmplwi r25, 0 +/* 80112624 0010F584 41 82 01 28 */ beq lbl_8011274C +/* 80112628 0010F588 80 7B 08 70 */ lwz r3, 0x870(r27) +/* 8011262C 0010F58C 7F 64 DB 78 */ mr r4, r27 +/* 80112630 0010F590 4B EF 94 E9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80112634 0010F594 81 99 00 00 */ lwz r12, 0(r25) +/* 80112638 0010F598 7F 24 CB 78 */ mr r4, r25 +/* 8011263C 0010F59C 7C 79 1B 78 */ mr r25, r3 +/* 80112640 0010F5A0 7F 65 DB 78 */ mr r5, r27 +/* 80112644 0010F5A4 81 8C 00 48 */ lwz r12, 0x48(r12) +/* 80112648 0010F5A8 38 61 00 58 */ addi r3, r1, 0x58 +/* 8011264C 0010F5AC 7D 89 03 A6 */ mtctr r12 +/* 80112650 0010F5B0 4E 80 04 21 */ bctrl +/* 80112654 0010F5B4 7F 24 CB 78 */ mr r4, r25 +/* 80112658 0010F5B8 38 61 00 64 */ addi r3, r1, 0x64 +/* 8011265C 0010F5BC 38 A1 00 58 */ addi r5, r1, 0x58 +/* 80112660 0010F5C0 4B F4 B2 31 */ bl ConvertToScreenSpace__11CGameCameraCFRC9CVector3f +/* 80112664 0010F5C4 80 1F 00 08 */ lwz r0, 8(r31) +/* 80112668 0010F5C8 3C A0 43 30 */ lis r5, 0x4330 +/* 8011266C 0010F5CC C1 01 00 64 */ lfs f8, 0x64(r1) +/* 80112670 0010F5D0 38 81 00 70 */ addi r4, r1, 0x70 +/* 80112674 0010F5D4 6C 03 80 00 */ xoris r3, r0, 0x8000 +/* 80112678 0010F5D8 80 DF 00 0C */ lwz r6, 0xc(r31) +/* 8011267C 0010F5DC 90 61 00 8C */ stw r3, 0x8c(r1) +/* 80112680 0010F5E0 6C C0 80 00 */ xoris r0, r6, 0x8000 +/* 80112684 0010F5E4 C0 E1 00 68 */ lfs f7, 0x68(r1) +/* 80112688 0010F5E8 90 A1 00 88 */ stw r5, 0x88(r1) +/* 8011268C 0010F5EC C8 82 95 F8 */ lfd f4, lbl_805AB318@sda21(r2) +/* 80112690 0010F5F0 C8 01 00 88 */ lfd f0, 0x88(r1) +/* 80112694 0010F5F4 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80112698 0010F5F8 EC 20 20 28 */ fsubs f1, f0, f4 +/* 8011269C 0010F5FC C0 C1 00 6C */ lfs f6, 0x6c(r1) +/* 801126A0 0010F600 90 A1 00 98 */ stw r5, 0x98(r1) +/* 801126A4 0010F604 C0 A2 96 0C */ lfs f5, lbl_805AB32C@sda21(r2) +/* 801126A8 0010F608 C8 01 00 98 */ lfd f0, 0x98(r1) +/* 801126AC 0010F60C EC 28 00 72 */ fmuls f1, f8, f1 +/* 801126B0 0010F610 90 61 00 84 */ stw r3, 0x84(r1) +/* 801126B4 0010F614 EC 00 20 28 */ fsubs f0, f0, f4 +/* 801126B8 0010F618 80 7B 08 4C */ lwz r3, 0x84c(r27) +/* 801126BC 0010F61C 90 A1 00 80 */ stw r5, 0x80(r1) +/* 801126C0 0010F620 EC 45 00 72 */ fmuls f2, f5, f1 +/* 801126C4 0010F624 C8 21 00 80 */ lfd f1, 0x80(r1) +/* 801126C8 0010F628 EC 07 00 32 */ fmuls f0, f7, f0 +/* 801126CC 0010F62C 90 01 00 94 */ stw r0, 0x94(r1) +/* 801126D0 0010F630 EC 61 20 28 */ fsubs f3, f1, f4 +/* 801126D4 0010F634 90 A1 00 90 */ stw r5, 0x90(r1) +/* 801126D8 0010F638 EC 05 00 32 */ fmuls f0, f5, f0 +/* 801126DC 0010F63C C8 21 00 90 */ lfd f1, 0x90(r1) +/* 801126E0 0010F640 EC 45 10 FA */ fmadds f2, f5, f3, f2 +/* 801126E4 0010F644 D1 01 00 70 */ stfs f8, 0x70(r1) +/* 801126E8 0010F648 EC 21 20 28 */ fsubs f1, f1, f4 +/* 801126EC 0010F64C D0 E1 00 74 */ stfs f7, 0x74(r1) +/* 801126F0 0010F650 EC 05 00 7A */ fmadds f0, f5, f1, f0 +/* 801126F4 0010F654 D0 C1 00 78 */ stfs f6, 0x78(r1) +/* 801126F8 0010F658 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 801126FC 0010F65C D0 01 00 74 */ stfs f0, 0x74(r1) +/* 80112700 0010F660 80 A3 03 30 */ lwz r5, 0x330(r3) +/* 80112704 0010F664 80 C3 03 34 */ lwz r6, 0x334(r3) +/* 80112708 0010F668 48 06 B5 C5 */ bl WithinOrbitScreenBox__7CPlayerCFRC9CVector3fQ27CPlayer15EPlayerZoneInfoQ27CPlayer15EPlayerZoneType +/* 8011270C 0010F66C 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 80112710 0010F670 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 80112714 0010F674 7C 04 00 40 */ cmplw r4, r0 +/* 80112718 0010F678 41 82 00 18 */ beq lbl_80112730 +/* 8011271C 0010F67C 28 04 00 00 */ cmplwi r4, 0 +/* 80112720 0010F680 98 7E 00 0C */ stb r3, 0xc(r30) +/* 80112724 0010F684 41 82 00 0C */ beq lbl_80112730 +/* 80112728 0010F688 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 8011272C 0010F68C D0 1A 05 50 */ stfs f0, 0x550(r26) +lbl_80112730: +/* 80112730 0010F690 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80112734 0010F694 38 80 00 00 */ li r4, 0 +/* 80112738 0010F698 40 82 00 0C */ bne lbl_80112744 +/* 8011273C 0010F69C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80112740 0010F6A0 41 82 00 08 */ beq lbl_80112748 +lbl_80112744: +/* 80112744 0010F6A4 38 80 00 01 */ li r4, 1 +lbl_80112748: +/* 80112748 0010F6A8 7C 9D 23 78 */ mr r29, r4 +lbl_8011274C: +/* 8011274C 0010F6AC 3B DE 00 10 */ addi r30, r30, 0x10 +lbl_80112750: +/* 80112750 0010F6B0 80 1A 01 3C */ lwz r0, 0x13c(r26) +/* 80112754 0010F6B4 54 00 20 36 */ slwi r0, r0, 4 +/* 80112758 0010F6B8 7C 1C 02 14 */ add r0, r28, r0 +/* 8011275C 0010F6BC 7C 1E 00 40 */ cmplw r30, r0 +/* 80112760 0010F6C0 40 82 FD F4 */ bne lbl_80112554 +/* 80112764 0010F6C4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80112768 0010F6C8 41 82 00 34 */ beq lbl_8011279C +/* 8011276C 0010F6CC C0 3A 05 4C */ lfs f1, 0x54c(r26) +/* 80112770 0010F6D0 C0 0D 8A 48 */ lfs f0, lbl_805A7608@sda21(r13) +/* 80112774 0010F6D4 EC 21 F8 2A */ fadds f1, f1, f31 +/* 80112778 0010F6D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8011277C 0010F6DC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80112780 0010F6E0 40 80 00 0C */ bge lbl_8011278C +/* 80112784 0010F6E4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80112788 0010F6E8 48 00 00 08 */ b lbl_80112790 +lbl_8011278C: +/* 8011278C 0010F6EC 38 6D 8A 48 */ addi r3, r13, lbl_805A7608@sda21 +lbl_80112790: +/* 80112790 0010F6F0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80112794 0010F6F4 D0 1A 05 4C */ stfs f0, 0x54c(r26) +/* 80112798 0010F6F8 48 00 00 30 */ b lbl_801127C8 +lbl_8011279C: +/* 8011279C 0010F6FC C0 3A 05 4C */ lfs f1, 0x54c(r26) +/* 801127A0 0010F700 C0 0D 8A 4C */ lfs f0, lbl_805A760C@sda21(r13) +/* 801127A4 0010F704 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 801127A8 0010F708 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801127AC 0010F70C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 801127B0 0010F710 40 80 00 0C */ bge lbl_801127BC +/* 801127B4 0010F714 38 61 00 24 */ addi r3, r1, 0x24 +/* 801127B8 0010F718 48 00 00 08 */ b lbl_801127C0 +lbl_801127BC: +/* 801127BC 0010F71C 38 6D 8A 4C */ addi r3, r13, lbl_805A760C@sda21 +lbl_801127C0: +/* 801127C0 0010F720 C0 03 00 00 */ lfs f0, 0(r3) +/* 801127C4 0010F724 D0 1A 05 4C */ stfs f0, 0x54c(r26) +lbl_801127C8: +/* 801127C8 0010F728 C0 3A 05 50 */ lfs f1, 0x550(r26) +/* 801127CC 0010F72C C0 0D 8A 50 */ lfs f0, lbl_805A7610@sda21(r13) +/* 801127D0 0010F730 EC 21 F0 28 */ fsubs f1, f1, f30 +/* 801127D4 0010F734 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801127D8 0010F738 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 801127DC 0010F73C 40 80 00 0C */ bge lbl_801127E8 +/* 801127E0 0010F740 38 61 00 20 */ addi r3, r1, 0x20 +/* 801127E4 0010F744 48 00 00 08 */ b lbl_801127EC +lbl_801127E8: +/* 801127E8 0010F748 38 6D 8A 50 */ addi r3, r13, lbl_805A7610@sda21 +lbl_801127EC: +/* 801127EC 0010F74C C0 23 00 00 */ lfs f1, 0(r3) +/* 801127F0 0010F750 C0 02 96 10 */ lfs f0, lbl_805AB330@sda21(r2) +/* 801127F4 0010F754 D0 3A 05 50 */ stfs f1, 0x550(r26) +/* 801127F8 0010F758 EF C0 F0 2A */ fadds f30, f0, f30 +/* 801127FC 0010F75C 83 FB 08 4C */ lwz r31, 0x84c(r27) +/* 80112800 0010F760 83 DF 03 50 */ lwz r30, 0x350(r31) +/* 80112804 0010F764 83 BF 00 04 */ lwz r29, 4(r31) +/* 80112808 0010F768 48 00 01 04 */ b lbl_8011290C +lbl_8011280C: +/* 8011280C 0010F76C A0 1E 00 00 */ lhz r0, 0(r30) +/* 80112810 0010F770 7F 63 DB 78 */ mr r3, r27 +/* 80112814 0010F774 38 81 00 10 */ addi r4, r1, 0x10 +/* 80112818 0010F778 B0 01 00 10 */ sth r0, 0x10(r1) +/* 8011281C 0010F77C 4B F3 9D 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80112820 0010F780 7C 64 1B 78 */ mr r4, r3 +/* 80112824 0010F784 38 61 00 38 */ addi r3, r1, 0x38 +/* 80112828 0010F788 4B F9 D4 69 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8011282C 0010F78C 80 83 00 04 */ lwz r4, 4(r3) +/* 80112830 0010F790 28 04 00 00 */ cmplwi r4, 0 +/* 80112834 0010F794 41 82 00 D4 */ beq lbl_80112908 +/* 80112838 0010F798 80 04 00 04 */ lwz r0, 4(r4) +/* 8011283C 0010F79C 7C 00 E8 00 */ cmpw r0, r29 +/* 80112840 0010F7A0 40 82 00 C8 */ bne lbl_80112908 +/* 80112844 0010F7A4 80 64 00 68 */ lwz r3, 0x68(r4) +/* 80112848 0010F7A8 38 00 00 80 */ li r0, 0x80 +/* 8011284C 0010F7AC 80 A4 00 6C */ lwz r5, 0x6c(r4) +/* 80112850 0010F7B0 38 80 00 00 */ li r4, 0 +/* 80112854 0010F7B4 7C 60 00 38 */ and r0, r3, r0 +/* 80112858 0010F7B8 7C A3 20 38 */ and r3, r5, r4 +/* 8011285C 0010F7BC 7C 63 22 78 */ xor r3, r3, r4 +/* 80112860 0010F7C0 7C 00 22 78 */ xor r0, r0, r4 +/* 80112864 0010F7C4 7C 60 03 79 */ or. r0, r3, r0 +/* 80112868 0010F7C8 41 82 00 A0 */ beq lbl_80112908 +/* 8011286C 0010F7CC A0 1E 00 00 */ lhz r0, 0(r30) +/* 80112870 0010F7D0 7F 43 D3 78 */ mr r3, r26 +/* 80112874 0010F7D4 38 81 00 0C */ addi r4, r1, 0xc +/* 80112878 0010F7D8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8011287C 0010F7DC 4B FF F5 E1 */ bl FindCachedInactiveScanTarget__12CPlayerVisorCF9TUniqueId +/* 80112880 0010F7E0 2C 03 FF FF */ cmpwi r3, -1 +/* 80112884 0010F7E4 41 82 00 3C */ beq lbl_801128C0 +/* 80112888 0010F7E8 54 60 20 36 */ slwi r0, r3, 4 +/* 8011288C 0010F7EC C0 0D 8A 54 */ lfs f0, lbl_805A7614@sda21(r13) +/* 80112890 0010F7F0 7C 7C 02 14 */ add r3, r28, r0 +/* 80112894 0010F7F4 C0 23 00 04 */ lfs f1, 4(r3) +/* 80112898 0010F7F8 EC 21 F8 2A */ fadds f1, f1, f31 +/* 8011289C 0010F7FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801128A0 0010F800 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 801128A4 0010F804 40 80 00 0C */ bge lbl_801128B0 +/* 801128A8 0010F808 38 81 00 1C */ addi r4, r1, 0x1c +/* 801128AC 0010F80C 48 00 00 08 */ b lbl_801128B4 +lbl_801128B0: +/* 801128B0 0010F810 38 8D 8A 54 */ addi r4, r13, lbl_805A7614@sda21 +lbl_801128B4: +/* 801128B4 0010F814 C0 04 00 00 */ lfs f0, 0(r4) +/* 801128B8 0010F818 D0 03 00 04 */ stfs f0, 4(r3) +/* 801128BC 0010F81C 48 00 00 4C */ b lbl_80112908 +lbl_801128C0: +/* 801128C0 0010F820 7F 43 D3 78 */ mr r3, r26 +/* 801128C4 0010F824 4B FF F5 5D */ bl FindEmptyInactiveScanTarget__12CPlayerVisorCFv +/* 801128C8 0010F828 2C 03 FF FF */ cmpwi r3, -1 +/* 801128CC 0010F82C 41 82 00 3C */ beq lbl_80112908 +/* 801128D0 0010F830 A0 9E 00 00 */ lhz r4, 0(r30) +/* 801128D4 0010F834 54 60 20 36 */ slwi r0, r3, 4 +/* 801128D8 0010F838 7C 7C 02 14 */ add r3, r28, r0 +/* 801128DC 0010F83C C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 801128E0 0010F840 B0 83 00 00 */ sth r4, 0(r3) +/* 801128E4 0010F844 38 00 00 00 */ li r0, 0 +/* 801128E8 0010F848 D3 C3 00 04 */ stfs f30, 4(r3) +/* 801128EC 0010F84C D0 03 00 08 */ stfs f0, 8(r3) +/* 801128F0 0010F850 B0 81 00 08 */ sth r4, 8(r1) +/* 801128F4 0010F854 B0 81 00 48 */ sth r4, 0x48(r1) +/* 801128F8 0010F858 D3 C1 00 4C */ stfs f30, 0x4c(r1) +/* 801128FC 0010F85C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 80112900 0010F860 98 01 00 54 */ stb r0, 0x54(r1) +/* 80112904 0010F864 98 03 00 0C */ stb r0, 0xc(r3) +lbl_80112908: +/* 80112908 0010F868 3B DE 00 02 */ addi r30, r30, 2 +lbl_8011290C: +/* 8011290C 0010F86C 80 1F 03 48 */ lwz r0, 0x348(r31) +/* 80112910 0010F870 80 7F 03 50 */ lwz r3, 0x350(r31) +/* 80112914 0010F874 54 00 08 3C */ slwi r0, r0, 1 +/* 80112918 0010F878 7C 03 02 14 */ add r0, r3, r0 +/* 8011291C 0010F87C 7C 1E 00 40 */ cmplw r30, r0 +/* 80112920 0010F880 40 82 FE EC */ bne lbl_8011280C +/* 80112924 0010F884 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 80112928 0010F888 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 8011292C 0010F88C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 80112930 0010F890 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 80112934 0010F894 BB 21 00 A4 */ lmw r25, 0xa4(r1) +/* 80112938 0010F898 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 8011293C 0010F89C 7C 08 03 A6 */ mtlr r0 +/* 80112940 0010F8A0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 80112944 0010F8A4 4E 80 00 20 */ blr + +.global UpdateScanWindow__12CPlayerVisorFfRC13CStateManager +UpdateScanWindow__12CPlayerVisorFfRC13CStateManager: +/* 80112948 0010F8A8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8011294C 0010F8AC 7C 08 02 A6 */ mflr r0 +/* 80112950 0010F8B0 90 01 00 54 */ stw r0, 0x54(r1) +/* 80112954 0010F8B4 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 80112958 0010F8B8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8011295C 0010F8BC DB C1 00 30 */ stfd f30, 0x30(r1) +/* 80112960 0010F8C0 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 80112964 0010F8C4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80112968 0010F8C8 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8011296C 0010F8CC FF E0 08 90 */ fmr f31, f1 +/* 80112970 0010F8D0 7C 7F 1B 78 */ mr r31, r3 +/* 80112974 0010F8D4 7C 9E 23 78 */ mr r30, r4 +/* 80112978 0010F8D8 4B FF FB 91 */ bl UpdateScanObjectIndicators__12CPlayerVisorFRC13CStateManagerf +/* 8011297C 0010F8DC 80 7E 08 4C */ lwz r3, 0x84c(r30) +/* 80112980 0010F8E0 80 03 03 A8 */ lwz r0, 0x3a8(r3) +/* 80112984 0010F8E4 C3 C3 03 AC */ lfs f30, 0x3ac(r3) +/* 80112988 0010F8E8 2C 00 00 01 */ cmpwi r0, 1 +/* 8011298C 0010F8EC 40 82 00 40 */ bne lbl_801129CC +/* 80112990 0010F8F0 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80112994 0010F8F4 28 00 00 00 */ cmplwi r0, 0 +/* 80112998 0010F8F8 40 82 00 4C */ bne lbl_801129E4 +/* 8011299C 0010F8FC 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 801129A0 0010F900 38 61 00 18 */ addi r3, r1, 0x18 +/* 801129A4 0010F904 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 801129A8 0010F908 38 80 05 7F */ li r4, 0x57f +/* 801129AC 0010F90C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 801129B0 0010F910 38 C0 00 40 */ li r6, 0x40 +/* 801129B4 0010F914 38 E0 00 00 */ li r7, 0 +/* 801129B8 0010F918 39 20 00 01 */ li r9, 1 +/* 801129BC 0010F91C 48 1D 73 B9 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 801129C0 0010F920 80 01 00 18 */ lwz r0, 0x18(r1) +/* 801129C4 0010F924 90 1F 00 60 */ stw r0, 0x60(r31) +/* 801129C8 0010F928 48 00 00 1C */ b lbl_801129E4 +lbl_801129CC: +/* 801129CC 0010F92C 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 801129D0 0010F930 38 61 00 14 */ addi r3, r1, 0x14 +/* 801129D4 0010F934 90 01 00 14 */ stw r0, 0x14(r1) +/* 801129D8 0010F938 48 1D 73 71 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 801129DC 0010F93C 38 00 00 00 */ li r0, 0 +/* 801129E0 0010F940 90 1F 00 60 */ stw r0, 0x60(r31) +lbl_801129E4: +/* 801129E4 0010F944 D3 DF 00 28 */ stfs f30, 0x28(r31) +/* 801129E8 0010F948 7F E3 FB 78 */ mr r3, r31 +/* 801129EC 0010F94C 7F C4 F3 78 */ mr r4, r30 +/* 801129F0 0010F950 48 00 03 45 */ bl GetDesiredScanWindowState__12CPlayerVisorCFRC13CStateManager +/* 801129F4 0010F954 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 801129F8 0010F958 2C 00 00 01 */ cmpwi r0, 1 +/* 801129FC 0010F95C 41 82 00 B0 */ beq lbl_80112AAC +/* 80112A00 0010F960 40 80 00 10 */ bge lbl_80112A10 +/* 80112A04 0010F964 2C 00 00 00 */ cmpwi r0, 0 +/* 80112A08 0010F968 40 80 00 14 */ bge lbl_80112A1C +/* 80112A0C 0010F96C 48 00 02 04 */ b lbl_80112C10 +lbl_80112A10: +/* 80112A10 0010F970 2C 00 00 03 */ cmpwi r0, 3 +/* 80112A14 0010F974 40 80 01 FC */ bge lbl_80112C10 +/* 80112A18 0010F978 48 00 01 40 */ b lbl_80112B58 +lbl_80112A1C: +/* 80112A1C 0010F97C 2C 03 00 00 */ cmpwi r3, 0 +/* 80112A20 0010F980 41 82 01 F0 */ beq lbl_80112C10 +/* 80112A24 0010F984 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 80112A28 0010F988 2C 00 00 00 */ cmpwi r0, 0 +/* 80112A2C 0010F98C 40 82 00 1C */ bne lbl_80112A48 +/* 80112A30 0010F990 54 60 18 38 */ slwi r0, r3, 3 +/* 80112A34 0010F994 7C 9F 02 14 */ add r4, r31, r0 +/* 80112A38 0010F998 C0 04 00 04 */ lfs f0, 4(r4) +/* 80112A3C 0010F99C D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 80112A40 0010F9A0 C0 04 00 08 */ lfs f0, 8(r4) +/* 80112A44 0010F9A4 D0 1F 00 4C */ stfs f0, 0x4c(r31) +lbl_80112A48: +/* 80112A48 0010F9A8 54 60 18 38 */ slwi r0, r3, 3 +/* 80112A4C 0010F9AC 2C 03 00 02 */ cmpwi r3, 2 +/* 80112A50 0010F9B0 7C 9F 02 14 */ add r4, r31, r0 +/* 80112A54 0010F9B4 C0 04 00 04 */ lfs f0, 4(r4) +/* 80112A58 0010F9B8 D0 1F 00 50 */ stfs f0, 0x50(r31) +/* 80112A5C 0010F9BC C0 04 00 08 */ lfs f0, 8(r4) +/* 80112A60 0010F9C0 D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 80112A64 0010F9C4 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 80112A68 0010F9C8 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 80112A6C 0010F9CC C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 80112A70 0010F9D0 D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 80112A74 0010F9D4 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80112A78 0010F9D8 90 1F 00 30 */ stw r0, 0x30(r31) +/* 80112A7C 0010F9DC 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80112A80 0010F9E0 40 82 00 18 */ bne lbl_80112A98 +/* 80112A84 0010F9E4 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80112A88 0010F9E8 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80112A8C 0010F9EC C0 23 02 28 */ lfs f1, 0x228(r3) +/* 80112A90 0010F9F0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80112A94 0010F9F4 48 00 00 08 */ b lbl_80112A9C +lbl_80112A98: +/* 80112A98 0010F9F8 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +lbl_80112A9C: +/* 80112A9C 0010F9FC D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 80112AA0 0010FA00 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80112AA4 0010FA04 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 80112AA8 0010FA08 48 00 01 68 */ b lbl_80112C10 +lbl_80112AAC: +/* 80112AAC 0010FA0C 2C 03 00 01 */ cmpwi r3, 1 +/* 80112AB0 0010FA10 41 82 01 60 */ beq lbl_80112C10 +/* 80112AB4 0010FA14 2C 03 00 00 */ cmpwi r3, 0 +/* 80112AB8 0010FA18 40 82 00 0C */ bne lbl_80112AC4 +/* 80112ABC 0010FA1C 38 9F 00 48 */ addi r4, r31, 0x48 +/* 80112AC0 0010FA20 48 00 00 10 */ b lbl_80112AD0 +lbl_80112AC4: +/* 80112AC4 0010FA24 54 60 18 38 */ slwi r0, r3, 3 +/* 80112AC8 0010FA28 7C 9F 02 14 */ add r4, r31, r0 +/* 80112ACC 0010FA2C 38 84 00 04 */ addi r4, r4, 4 +lbl_80112AD0: +/* 80112AD0 0010FA30 C0 04 00 00 */ lfs f0, 0(r4) +/* 80112AD4 0010FA34 2C 03 00 02 */ cmpwi r3, 2 +/* 80112AD8 0010FA38 D0 1F 00 50 */ stfs f0, 0x50(r31) +/* 80112ADC 0010FA3C C0 04 00 04 */ lfs f0, 4(r4) +/* 80112AE0 0010FA40 D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 80112AE4 0010FA44 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 80112AE8 0010FA48 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 80112AEC 0010FA4C C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 80112AF0 0010FA50 D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 80112AF4 0010FA54 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80112AF8 0010FA58 90 1F 00 30 */ stw r0, 0x30(r31) +/* 80112AFC 0010FA5C 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80112B00 0010FA60 40 82 00 18 */ bne lbl_80112B18 +/* 80112B04 0010FA64 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80112B08 0010FA68 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80112B0C 0010FA6C C0 24 02 28 */ lfs f1, 0x228(r4) +/* 80112B10 0010FA70 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80112B14 0010FA74 48 00 00 08 */ b lbl_80112B1C +lbl_80112B18: +/* 80112B18 0010FA78 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +lbl_80112B1C: +/* 80112B1C 0010FA7C D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 80112B20 0010FA80 2C 03 00 02 */ cmpwi r3, 2 +/* 80112B24 0010FA84 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80112B28 0010FA88 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 80112B2C 0010FA8C 40 82 00 E4 */ bne lbl_80112C10 +/* 80112B30 0010FA90 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 80112B34 0010FA94 38 61 00 10 */ addi r3, r1, 0x10 +/* 80112B38 0010FA98 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80112B3C 0010FA9C 38 80 05 83 */ li r4, 0x583 +/* 80112B40 0010FAA0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80112B44 0010FAA4 38 C0 00 40 */ li r6, 0x40 +/* 80112B48 0010FAA8 38 E0 00 00 */ li r7, 0 +/* 80112B4C 0010FAAC 39 20 00 00 */ li r9, 0 +/* 80112B50 0010FAB0 48 1D 72 25 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80112B54 0010FAB4 48 00 00 BC */ b lbl_80112C10 +lbl_80112B58: +/* 80112B58 0010FAB8 2C 03 00 02 */ cmpwi r3, 2 +/* 80112B5C 0010FABC 41 82 00 B4 */ beq lbl_80112C10 +/* 80112B60 0010FAC0 2C 03 00 00 */ cmpwi r3, 0 +/* 80112B64 0010FAC4 40 82 00 0C */ bne lbl_80112B70 +/* 80112B68 0010FAC8 38 9F 00 48 */ addi r4, r31, 0x48 +/* 80112B6C 0010FACC 48 00 00 10 */ b lbl_80112B7C +lbl_80112B70: +/* 80112B70 0010FAD0 54 60 18 38 */ slwi r0, r3, 3 +/* 80112B74 0010FAD4 7C 9F 02 14 */ add r4, r31, r0 +/* 80112B78 0010FAD8 38 84 00 04 */ addi r4, r4, 4 +lbl_80112B7C: +/* 80112B7C 0010FADC C0 04 00 00 */ lfs f0, 0(r4) +/* 80112B80 0010FAE0 2C 03 00 01 */ cmpwi r3, 1 +/* 80112B84 0010FAE4 D0 1F 00 50 */ stfs f0, 0x50(r31) +/* 80112B88 0010FAE8 C0 04 00 04 */ lfs f0, 4(r4) +/* 80112B8C 0010FAEC D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 80112B90 0010FAF0 C0 1F 00 48 */ lfs f0, 0x48(r31) +/* 80112B94 0010FAF4 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 80112B98 0010FAF8 C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 80112B9C 0010FAFC D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 80112BA0 0010FB00 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80112BA4 0010FB04 90 1F 00 30 */ stw r0, 0x30(r31) +/* 80112BA8 0010FB08 90 7F 00 34 */ stw r3, 0x34(r31) +/* 80112BAC 0010FB0C 40 82 00 18 */ bne lbl_80112BC4 +/* 80112BB0 0010FB10 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80112BB4 0010FB14 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80112BB8 0010FB18 C0 23 02 28 */ lfs f1, 0x228(r3) +/* 80112BBC 0010FB1C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80112BC0 0010FB20 48 00 00 08 */ b lbl_80112BC8 +lbl_80112BC4: +/* 80112BC4 0010FB24 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +lbl_80112BC8: +/* 80112BC8 0010FB28 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 80112BCC 0010FB2C C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80112BD0 0010FB30 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 80112BD4 0010FB34 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80112BD8 0010FB38 80 63 00 00 */ lwz r3, 0(r3) +/* 80112BDC 0010FB3C 4B F7 EC 89 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 80112BE0 0010FB40 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 80112BE4 0010FB44 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 80112BE8 0010FB48 40 82 00 28 */ bne lbl_80112C10 +/* 80112BEC 0010FB4C 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 80112BF0 0010FB50 38 61 00 0C */ addi r3, r1, 0xc +/* 80112BF4 0010FB54 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80112BF8 0010FB58 38 80 05 81 */ li r4, 0x581 +/* 80112BFC 0010FB5C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80112C00 0010FB60 38 C0 00 40 */ li r6, 0x40 +/* 80112C04 0010FB64 38 E0 00 00 */ li r7, 0 +/* 80112C08 0010FB68 39 20 00 00 */ li r9, 0 +/* 80112C0C 0010FB6C 48 1D 71 69 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_80112C10: +/* 80112C10 0010FB70 80 7F 00 30 */ lwz r3, 0x30(r31) +/* 80112C14 0010FB74 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80112C18 0010FB78 7C 03 00 00 */ cmpw r3, r0 +/* 80112C1C 0010FB7C 41 82 00 F0 */ beq lbl_80112D0C +/* 80112C20 0010FB80 C0 3F 00 3C */ lfs f1, 0x3c(r31) +/* 80112C24 0010FB84 C0 0D 8A 38 */ lfs f0, lbl_805A75F8@sda21(r13) +/* 80112C28 0010FB88 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 80112C2C 0010FB8C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80112C30 0010FB90 D0 21 00 08 */ stfs f1, 8(r1) +/* 80112C34 0010FB94 40 80 00 0C */ bge lbl_80112C40 +/* 80112C38 0010FB98 38 61 00 08 */ addi r3, r1, 8 +/* 80112C3C 0010FB9C 48 00 00 08 */ b lbl_80112C44 +lbl_80112C40: +/* 80112C40 0010FBA0 38 6D 8A 38 */ addi r3, r13, lbl_805A75F8@sda21 +lbl_80112C44: +/* 80112C44 0010FBA4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80112C48 0010FBA8 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80112C4C 0010FBAC D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 80112C50 0010FBB0 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80112C54 0010FBB4 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 80112C58 0010FBB8 40 82 00 0C */ bne lbl_80112C64 +/* 80112C5C 0010FBBC 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80112C60 0010FBC0 90 1F 00 30 */ stw r0, 0x30(r31) +lbl_80112C64: +/* 80112C64 0010FBC4 C0 A2 95 C8 */ lfs f5, lbl_805AB2E8@sda21(r2) +/* 80112C68 0010FBC8 C0 1F 00 38 */ lfs f0, 0x38(r31) +/* 80112C6C 0010FBCC FC 00 28 40 */ fcmpo cr0, f0, f5 +/* 80112C70 0010FBD0 40 81 00 5C */ ble lbl_80112CCC +/* 80112C74 0010FBD4 80 1F 00 34 */ lwz r0, 0x34(r31) +/* 80112C78 0010FBD8 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80112C7C 0010FBDC 2C 00 00 02 */ cmpwi r0, 2 +/* 80112C80 0010FBE0 C0 23 02 24 */ lfs f1, 0x224(r3) +/* 80112C84 0010FBE4 C0 43 02 20 */ lfs f2, 0x220(r3) +/* 80112C88 0010FBE8 40 82 00 28 */ bne lbl_80112CB0 +/* 80112C8C 0010FBEC C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80112C90 0010FBF0 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80112C94 0010FBF4 40 80 00 0C */ bge lbl_80112CA0 +/* 80112C98 0010FBF8 FC 00 28 90 */ fmr f0, f5 +/* 80112C9C 0010FBFC 48 00 00 0C */ b lbl_80112CA8 +lbl_80112CA0: +/* 80112CA0 0010FC00 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80112CA4 0010FC04 EC 00 08 24 */ fdivs f0, f0, f1 +lbl_80112CA8: +/* 80112CA8 0010FC08 FC A0 00 90 */ fmr f5, f0 +/* 80112CAC 0010FC0C 48 00 00 20 */ b lbl_80112CCC +lbl_80112CB0: +/* 80112CB0 0010FC10 C0 1F 00 3C */ lfs f0, 0x3c(r31) +/* 80112CB4 0010FC14 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80112CB8 0010FC18 40 81 00 0C */ ble lbl_80112CC4 +/* 80112CBC 0010FC1C C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 80112CC0 0010FC20 48 00 00 08 */ b lbl_80112CC8 +lbl_80112CC4: +/* 80112CC4 0010FC24 EC 00 08 24 */ fdivs f0, f0, f1 +lbl_80112CC8: +/* 80112CC8 0010FC28 FC A0 00 90 */ fmr f5, f0 +lbl_80112CCC: +/* 80112CCC 0010FC2C C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) +/* 80112CD0 0010FC30 38 61 00 1C */ addi r3, r1, 0x1c +/* 80112CD4 0010FC34 C0 3F 00 40 */ lfs f1, 0x40(r31) +/* 80112CD8 0010FC38 C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 80112CDC 0010FC3C EC 82 28 28 */ fsubs f4, f2, f5 +/* 80112CE0 0010FC40 EC 21 01 72 */ fmuls f1, f1, f5 +/* 80112CE4 0010FC44 C0 7F 00 50 */ lfs f3, 0x50(r31) +/* 80112CE8 0010FC48 EC 00 01 72 */ fmuls f0, f0, f5 +/* 80112CEC 0010FC4C C0 5F 00 54 */ lfs f2, 0x54(r31) +/* 80112CF0 0010FC50 EC 23 09 3A */ fmadds f1, f3, f4, f1 +/* 80112CF4 0010FC54 EC 42 01 3A */ fmadds f2, f2, f4, f0 +/* 80112CF8 0010FC58 48 20 15 09 */ bl __ct__9CVector2fFff +/* 80112CFC 0010FC5C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80112D00 0010FC60 D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 80112D04 0010FC64 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 80112D08 0010FC68 D0 1F 00 4C */ stfs f0, 0x4c(r31) +lbl_80112D0C: +/* 80112D0C 0010FC6C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 80112D10 0010FC70 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 80112D14 0010FC74 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 80112D18 0010FC78 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 80112D1C 0010FC7C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80112D20 0010FC80 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80112D24 0010FC84 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 80112D28 0010FC88 7C 08 03 A6 */ mtlr r0 +/* 80112D2C 0010FC8C 38 21 00 50 */ addi r1, r1, 0x50 +/* 80112D30 0010FC90 4E 80 00 20 */ blr + +.global GetDesiredScanWindowState__12CPlayerVisorCFRC13CStateManager +GetDesiredScanWindowState__12CPlayerVisorCFRC13CStateManager: +/* 80112D34 0010FC94 80 A4 08 B8 */ lwz r5, 0x8b8(r4) +/* 80112D38 0010FC98 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 80112D3C 0010FC9C 80 85 00 00 */ lwz r4, 0(r5) +/* 80112D40 0010FCA0 80 63 03 A8 */ lwz r3, 0x3a8(r3) +/* 80112D44 0010FCA4 80 04 00 14 */ lwz r0, 0x14(r4) +/* 80112D48 0010FCA8 2C 00 00 02 */ cmpwi r0, 2 +/* 80112D4C 0010FCAC 40 82 00 24 */ bne lbl_80112D70 +/* 80112D50 0010FCB0 2C 03 00 01 */ cmpwi r3, 1 +/* 80112D54 0010FCB4 41 82 00 0C */ beq lbl_80112D60 +/* 80112D58 0010FCB8 2C 03 00 02 */ cmpwi r3, 2 +/* 80112D5C 0010FCBC 40 82 00 0C */ bne lbl_80112D68 +lbl_80112D60: +/* 80112D60 0010FCC0 38 60 00 02 */ li r3, 2 +/* 80112D64 0010FCC4 4E 80 00 20 */ blr +lbl_80112D68: +/* 80112D68 0010FCC8 38 60 00 01 */ li r3, 1 +/* 80112D6C 0010FCCC 4E 80 00 20 */ blr +lbl_80112D70: +/* 80112D70 0010FCD0 38 60 00 00 */ li r3, 0 +/* 80112D74 0010FCD4 4E 80 00 20 */ blr + +.global LockUnlockAssets__12CPlayerVisorFQ212CPlayerState12EPlayerVisorQ212CPlayerState12EPlayerVisor +LockUnlockAssets__12CPlayerVisorFQ212CPlayerState12EPlayerVisorQ212CPlayerState12EPlayerVisor: +/* 80112D78 0010FCD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80112D7C 0010FCDC 7C 08 02 A6 */ mflr r0 +/* 80112D80 0010FCE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 80112D84 0010FCE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80112D88 0010FCE8 7C 7F 1B 78 */ mr r31, r3 +/* 80112D8C 0010FCEC 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80112D90 0010FCF0 2C 00 00 02 */ cmpwi r0, 2 +/* 80112D94 0010FCF4 40 82 00 10 */ bne lbl_80112DA4 +/* 80112D98 0010FCF8 38 00 00 02 */ li r0, 2 +/* 80112D9C 0010FCFC 90 1F 01 20 */ stw r0, 0x120(r31) +/* 80112DA0 0010FD00 48 00 00 10 */ b lbl_80112DB0 +lbl_80112DA4: +/* 80112DA4 0010FD04 80 7F 01 20 */ lwz r3, 0x120(r31) +/* 80112DA8 0010FD08 38 03 FF FF */ addi r0, r3, -1 +/* 80112DAC 0010FD0C 90 1F 01 20 */ stw r0, 0x120(r31) +lbl_80112DB0: +/* 80112DB0 0010FD10 80 1F 01 20 */ lwz r0, 0x120(r31) +/* 80112DB4 0010FD14 2C 00 00 00 */ cmpwi r0, 0 +/* 80112DB8 0010FD18 40 81 02 48 */ ble lbl_80113000 +/* 80112DBC 0010FD1C 38 7F 00 CC */ addi r3, r31, 0xcc +/* 80112DC0 0010FD20 48 22 DF C5 */ bl Lock__6CTokenFv +/* 80112DC4 0010FD24 38 7F 00 D8 */ addi r3, r31, 0xd8 +/* 80112DC8 0010FD28 48 22 DF BD */ bl Lock__6CTokenFv +/* 80112DCC 0010FD2C 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 80112DD0 0010FD30 48 22 DF B5 */ bl Lock__6CTokenFv +/* 80112DD4 0010FD34 38 7F 00 F0 */ addi r3, r31, 0xf0 +/* 80112DD8 0010FD38 48 22 DF AD */ bl Lock__6CTokenFv +/* 80112DDC 0010FD3C 38 7F 00 FC */ addi r3, r31, 0xfc +/* 80112DE0 0010FD40 48 22 DF A5 */ bl Lock__6CTokenFv +/* 80112DE4 0010FD44 38 7F 01 08 */ addi r3, r31, 0x108 +/* 80112DE8 0010FD48 48 22 DF 9D */ bl Lock__6CTokenFv +/* 80112DEC 0010FD4C 38 7F 01 14 */ addi r3, r31, 0x114 +/* 80112DF0 0010FD50 48 22 DF 95 */ bl Lock__6CTokenFv +/* 80112DF4 0010FD54 38 7F 01 24 */ addi r3, r31, 0x124 +/* 80112DF8 0010FD58 48 22 DF 8D */ bl Lock__6CTokenFv +/* 80112DFC 0010FD5C 38 7F 01 30 */ addi r3, r31, 0x130 +/* 80112E00 0010FD60 48 22 DF 85 */ bl Lock__6CTokenFv +/* 80112E04 0010FD64 80 1F 00 D4 */ lwz r0, 0xd4(r31) +/* 80112E08 0010FD68 28 00 00 00 */ cmplwi r0, 0 +/* 80112E0C 0010FD6C 40 82 00 30 */ bne lbl_80112E3C +/* 80112E10 0010FD70 88 1F 00 D0 */ lbz r0, 0xd0(r31) +/* 80112E14 0010FD74 28 00 00 00 */ cmplwi r0, 0 +/* 80112E18 0010FD78 41 82 00 24 */ beq lbl_80112E3C +/* 80112E1C 0010FD7C 80 7F 00 CC */ lwz r3, 0xcc(r31) +/* 80112E20 0010FD80 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80112E24 0010FD84 28 00 00 00 */ cmplwi r0, 0 +/* 80112E28 0010FD88 41 82 00 14 */ beq lbl_80112E3C +/* 80112E2C 0010FD8C 38 7F 00 CC */ addi r3, r31, 0xcc +/* 80112E30 0010FD90 48 22 DF DD */ bl GetObj__6CTokenFv +/* 80112E34 0010FD94 80 03 00 04 */ lwz r0, 4(r3) +/* 80112E38 0010FD98 90 1F 00 D4 */ stw r0, 0xd4(r31) +lbl_80112E3C: +/* 80112E3C 0010FD9C 80 1F 00 E0 */ lwz r0, 0xe0(r31) +/* 80112E40 0010FDA0 28 00 00 00 */ cmplwi r0, 0 +/* 80112E44 0010FDA4 40 82 00 30 */ bne lbl_80112E74 +/* 80112E48 0010FDA8 88 1F 00 DC */ lbz r0, 0xdc(r31) +/* 80112E4C 0010FDAC 28 00 00 00 */ cmplwi r0, 0 +/* 80112E50 0010FDB0 41 82 00 24 */ beq lbl_80112E74 +/* 80112E54 0010FDB4 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 80112E58 0010FDB8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80112E5C 0010FDBC 28 00 00 00 */ cmplwi r0, 0 +/* 80112E60 0010FDC0 41 82 00 14 */ beq lbl_80112E74 +/* 80112E64 0010FDC4 38 7F 00 D8 */ addi r3, r31, 0xd8 +/* 80112E68 0010FDC8 48 22 DF A5 */ bl GetObj__6CTokenFv +/* 80112E6C 0010FDCC 80 03 00 04 */ lwz r0, 4(r3) +/* 80112E70 0010FDD0 90 1F 00 E0 */ stw r0, 0xe0(r31) +lbl_80112E74: +/* 80112E74 0010FDD4 80 1F 00 EC */ lwz r0, 0xec(r31) +/* 80112E78 0010FDD8 28 00 00 00 */ cmplwi r0, 0 +/* 80112E7C 0010FDDC 40 82 00 30 */ bne lbl_80112EAC +/* 80112E80 0010FDE0 88 1F 00 E8 */ lbz r0, 0xe8(r31) +/* 80112E84 0010FDE4 28 00 00 00 */ cmplwi r0, 0 +/* 80112E88 0010FDE8 41 82 00 24 */ beq lbl_80112EAC +/* 80112E8C 0010FDEC 80 7F 00 E4 */ lwz r3, 0xe4(r31) +/* 80112E90 0010FDF0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80112E94 0010FDF4 28 00 00 00 */ cmplwi r0, 0 +/* 80112E98 0010FDF8 41 82 00 14 */ beq lbl_80112EAC +/* 80112E9C 0010FDFC 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 80112EA0 0010FE00 48 22 DF 6D */ bl GetObj__6CTokenFv +/* 80112EA4 0010FE04 80 03 00 04 */ lwz r0, 4(r3) +/* 80112EA8 0010FE08 90 1F 00 EC */ stw r0, 0xec(r31) +lbl_80112EAC: +/* 80112EAC 0010FE0C 80 1F 00 F8 */ lwz r0, 0xf8(r31) +/* 80112EB0 0010FE10 28 00 00 00 */ cmplwi r0, 0 +/* 80112EB4 0010FE14 40 82 00 30 */ bne lbl_80112EE4 +/* 80112EB8 0010FE18 88 1F 00 F4 */ lbz r0, 0xf4(r31) +/* 80112EBC 0010FE1C 28 00 00 00 */ cmplwi r0, 0 +/* 80112EC0 0010FE20 41 82 00 24 */ beq lbl_80112EE4 +/* 80112EC4 0010FE24 80 7F 00 F0 */ lwz r3, 0xf0(r31) +/* 80112EC8 0010FE28 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80112ECC 0010FE2C 28 00 00 00 */ cmplwi r0, 0 +/* 80112ED0 0010FE30 41 82 00 14 */ beq lbl_80112EE4 +/* 80112ED4 0010FE34 38 7F 00 F0 */ addi r3, r31, 0xf0 +/* 80112ED8 0010FE38 48 22 DF 35 */ bl GetObj__6CTokenFv +/* 80112EDC 0010FE3C 80 03 00 04 */ lwz r0, 4(r3) +/* 80112EE0 0010FE40 90 1F 00 F8 */ stw r0, 0xf8(r31) +lbl_80112EE4: +/* 80112EE4 0010FE44 80 1F 01 04 */ lwz r0, 0x104(r31) +/* 80112EE8 0010FE48 28 00 00 00 */ cmplwi r0, 0 +/* 80112EEC 0010FE4C 40 82 00 30 */ bne lbl_80112F1C +/* 80112EF0 0010FE50 88 1F 01 00 */ lbz r0, 0x100(r31) +/* 80112EF4 0010FE54 28 00 00 00 */ cmplwi r0, 0 +/* 80112EF8 0010FE58 41 82 00 24 */ beq lbl_80112F1C +/* 80112EFC 0010FE5C 80 7F 00 FC */ lwz r3, 0xfc(r31) +/* 80112F00 0010FE60 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80112F04 0010FE64 28 00 00 00 */ cmplwi r0, 0 +/* 80112F08 0010FE68 41 82 00 14 */ beq lbl_80112F1C +/* 80112F0C 0010FE6C 38 7F 00 FC */ addi r3, r31, 0xfc +/* 80112F10 0010FE70 48 22 DE FD */ bl GetObj__6CTokenFv +/* 80112F14 0010FE74 80 03 00 04 */ lwz r0, 4(r3) +/* 80112F18 0010FE78 90 1F 01 04 */ stw r0, 0x104(r31) +lbl_80112F1C: +/* 80112F1C 0010FE7C 80 1F 01 10 */ lwz r0, 0x110(r31) +/* 80112F20 0010FE80 28 00 00 00 */ cmplwi r0, 0 +/* 80112F24 0010FE84 40 82 00 30 */ bne lbl_80112F54 +/* 80112F28 0010FE88 88 1F 01 0C */ lbz r0, 0x10c(r31) +/* 80112F2C 0010FE8C 28 00 00 00 */ cmplwi r0, 0 +/* 80112F30 0010FE90 41 82 00 24 */ beq lbl_80112F54 +/* 80112F34 0010FE94 80 7F 01 08 */ lwz r3, 0x108(r31) +/* 80112F38 0010FE98 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80112F3C 0010FE9C 28 00 00 00 */ cmplwi r0, 0 +/* 80112F40 0010FEA0 41 82 00 14 */ beq lbl_80112F54 +/* 80112F44 0010FEA4 38 7F 01 08 */ addi r3, r31, 0x108 +/* 80112F48 0010FEA8 48 22 DE C5 */ bl GetObj__6CTokenFv +/* 80112F4C 0010FEAC 80 03 00 04 */ lwz r0, 4(r3) +/* 80112F50 0010FEB0 90 1F 01 10 */ stw r0, 0x110(r31) +lbl_80112F54: +/* 80112F54 0010FEB4 80 1F 01 1C */ lwz r0, 0x11c(r31) +/* 80112F58 0010FEB8 28 00 00 00 */ cmplwi r0, 0 +/* 80112F5C 0010FEBC 40 82 00 30 */ bne lbl_80112F8C +/* 80112F60 0010FEC0 88 1F 01 18 */ lbz r0, 0x118(r31) +/* 80112F64 0010FEC4 28 00 00 00 */ cmplwi r0, 0 +/* 80112F68 0010FEC8 41 82 00 24 */ beq lbl_80112F8C +/* 80112F6C 0010FECC 80 7F 01 14 */ lwz r3, 0x114(r31) +/* 80112F70 0010FED0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80112F74 0010FED4 28 00 00 00 */ cmplwi r0, 0 +/* 80112F78 0010FED8 41 82 00 14 */ beq lbl_80112F8C +/* 80112F7C 0010FEDC 38 7F 01 14 */ addi r3, r31, 0x114 +/* 80112F80 0010FEE0 48 22 DE 8D */ bl GetObj__6CTokenFv +/* 80112F84 0010FEE4 80 03 00 04 */ lwz r0, 4(r3) +/* 80112F88 0010FEE8 90 1F 01 1C */ stw r0, 0x11c(r31) +lbl_80112F8C: +/* 80112F8C 0010FEEC 80 1F 01 2C */ lwz r0, 0x12c(r31) +/* 80112F90 0010FEF0 28 00 00 00 */ cmplwi r0, 0 +/* 80112F94 0010FEF4 40 82 00 30 */ bne lbl_80112FC4 +/* 80112F98 0010FEF8 88 1F 01 28 */ lbz r0, 0x128(r31) +/* 80112F9C 0010FEFC 28 00 00 00 */ cmplwi r0, 0 +/* 80112FA0 0010FF00 41 82 00 24 */ beq lbl_80112FC4 +/* 80112FA4 0010FF04 80 7F 01 24 */ lwz r3, 0x124(r31) +/* 80112FA8 0010FF08 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80112FAC 0010FF0C 28 00 00 00 */ cmplwi r0, 0 +/* 80112FB0 0010FF10 41 82 00 14 */ beq lbl_80112FC4 +/* 80112FB4 0010FF14 38 7F 01 24 */ addi r3, r31, 0x124 +/* 80112FB8 0010FF18 48 22 DE 55 */ bl GetObj__6CTokenFv +/* 80112FBC 0010FF1C 80 03 00 04 */ lwz r0, 4(r3) +/* 80112FC0 0010FF20 90 1F 01 2C */ stw r0, 0x12c(r31) +lbl_80112FC4: +/* 80112FC4 0010FF24 80 1F 01 38 */ lwz r0, 0x138(r31) +/* 80112FC8 0010FF28 28 00 00 00 */ cmplwi r0, 0 +/* 80112FCC 0010FF2C 40 82 00 C4 */ bne lbl_80113090 +/* 80112FD0 0010FF30 88 1F 01 34 */ lbz r0, 0x134(r31) +/* 80112FD4 0010FF34 28 00 00 00 */ cmplwi r0, 0 +/* 80112FD8 0010FF38 41 82 00 B8 */ beq lbl_80113090 +/* 80112FDC 0010FF3C 80 7F 01 30 */ lwz r3, 0x130(r31) +/* 80112FE0 0010FF40 80 03 00 10 */ lwz r0, 0x10(r3) +/* 80112FE4 0010FF44 28 00 00 00 */ cmplwi r0, 0 +/* 80112FE8 0010FF48 41 82 00 A8 */ beq lbl_80113090 +/* 80112FEC 0010FF4C 38 7F 01 30 */ addi r3, r31, 0x130 +/* 80112FF0 0010FF50 48 22 DE 1D */ bl GetObj__6CTokenFv +/* 80112FF4 0010FF54 80 03 00 04 */ lwz r0, 4(r3) +/* 80112FF8 0010FF58 90 1F 01 38 */ stw r0, 0x138(r31) +/* 80112FFC 0010FF5C 48 00 00 94 */ b lbl_80113090 +lbl_80113000: +/* 80113000 0010FF60 38 00 00 00 */ li r0, 0 +/* 80113004 0010FF64 38 7F 00 CC */ addi r3, r31, 0xcc +/* 80113008 0010FF68 90 1F 00 D4 */ stw r0, 0xd4(r31) +/* 8011300C 0010FF6C 48 22 DD 35 */ bl Unlock__6CTokenFv +/* 80113010 0010FF70 38 00 00 00 */ li r0, 0 +/* 80113014 0010FF74 38 7F 00 D8 */ addi r3, r31, 0xd8 +/* 80113018 0010FF78 90 1F 00 E0 */ stw r0, 0xe0(r31) +/* 8011301C 0010FF7C 48 22 DD 25 */ bl Unlock__6CTokenFv +/* 80113020 0010FF80 38 00 00 00 */ li r0, 0 +/* 80113024 0010FF84 38 7F 00 E4 */ addi r3, r31, 0xe4 +/* 80113028 0010FF88 90 1F 00 EC */ stw r0, 0xec(r31) +/* 8011302C 0010FF8C 48 22 DD 15 */ bl Unlock__6CTokenFv +/* 80113030 0010FF90 38 00 00 00 */ li r0, 0 +/* 80113034 0010FF94 38 7F 00 F0 */ addi r3, r31, 0xf0 +/* 80113038 0010FF98 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 8011303C 0010FF9C 48 22 DD 05 */ bl Unlock__6CTokenFv +/* 80113040 0010FFA0 38 00 00 00 */ li r0, 0 +/* 80113044 0010FFA4 38 7F 00 FC */ addi r3, r31, 0xfc +/* 80113048 0010FFA8 90 1F 01 04 */ stw r0, 0x104(r31) +/* 8011304C 0010FFAC 48 22 DC F5 */ bl Unlock__6CTokenFv +/* 80113050 0010FFB0 38 00 00 00 */ li r0, 0 +/* 80113054 0010FFB4 38 7F 01 08 */ addi r3, r31, 0x108 +/* 80113058 0010FFB8 90 1F 01 10 */ stw r0, 0x110(r31) +/* 8011305C 0010FFBC 48 22 DC E5 */ bl Unlock__6CTokenFv +/* 80113060 0010FFC0 38 00 00 00 */ li r0, 0 +/* 80113064 0010FFC4 38 7F 01 14 */ addi r3, r31, 0x114 +/* 80113068 0010FFC8 90 1F 01 1C */ stw r0, 0x11c(r31) +/* 8011306C 0010FFCC 48 22 DC D5 */ bl Unlock__6CTokenFv +/* 80113070 0010FFD0 38 00 00 00 */ li r0, 0 +/* 80113074 0010FFD4 38 7F 01 24 */ addi r3, r31, 0x124 +/* 80113078 0010FFD8 90 1F 01 2C */ stw r0, 0x12c(r31) +/* 8011307C 0010FFDC 48 22 DC C5 */ bl Unlock__6CTokenFv +/* 80113080 0010FFE0 38 00 00 00 */ li r0, 0 +/* 80113084 0010FFE4 38 7F 01 30 */ addi r3, r31, 0x130 +/* 80113088 0010FFE8 90 1F 01 38 */ stw r0, 0x138(r31) +/* 8011308C 0010FFEC 48 22 DC B5 */ bl Unlock__6CTokenFv +lbl_80113090: +/* 80113090 0010FFF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80113094 0010FFF4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80113098 0010FFF8 7C 08 03 A6 */ mtlr r0 +/* 8011309C 0010FFFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 801130A0 00110000 4E 80 00 20 */ blr + +.global DrawScanEffect__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager +DrawScanEffect__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager: +/* 801130A4 00110004 94 21 F6 80 */ stwu r1, -0x980(r1) +/* 801130A8 00110008 7C 08 02 A6 */ mflr r0 +/* 801130AC 0011000C 90 01 09 84 */ stw r0, 0x984(r1) +/* 801130B0 00110010 DB E1 09 70 */ stfd f31, 0x970(r1) +/* 801130B4 00110014 F3 E1 09 78 */ psq_st f31, -1672(r1), 0, qr0 +/* 801130B8 00110018 DB C1 09 60 */ stfd f30, 0x960(r1) +/* 801130BC 0011001C F3 C1 09 68 */ psq_st f30, -1688(r1), 0, qr0 +/* 801130C0 00110020 DB A1 09 50 */ stfd f29, 0x950(r1) +/* 801130C4 00110024 F3 A1 09 58 */ psq_st f29, -1704(r1), 0, qr0 +/* 801130C8 00110028 DB 81 09 40 */ stfd f28, 0x940(r1) +/* 801130CC 0011002C F3 81 09 48 */ psq_st f28, -1720(r1), 0, qr0 +/* 801130D0 00110030 DB 61 09 30 */ stfd f27, 0x930(r1) +/* 801130D4 00110034 F3 61 09 38 */ psq_st f27, -1736(r1), 0, qr0 +/* 801130D8 00110038 BF 61 09 1C */ stmw r27, 0x91c(r1) +/* 801130DC 0011003C 7C 7C 1B 78 */ mr r28, r3 +/* 801130E0 00110040 7C 9D 23 78 */ mr r29, r4 +/* 801130E4 00110044 7C BB 2B 78 */ mr r27, r5 +/* 801130E8 00110048 4B FF ED C1 */ bl DrawScanObjectIndicators__12CPlayerVisorCFRC13CStateManager +/* 801130EC 0011004C 28 1B 00 00 */ cmplwi r27, 0 +/* 801130F0 00110050 41 82 00 34 */ beq lbl_80113124 +/* 801130F4 00110054 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801130F8 00110058 41 82 00 2C */ beq lbl_80113124 +/* 801130FC 0011005C C0 22 96 18 */ lfs f1, lbl_805AB338@sda21(r2) +/* 80113100 00110060 FC 40 08 90 */ fmr f2, f1 +/* 80113104 00110064 48 1F 72 DD */ bl SetDepthRange__9CGraphicsFff +/* 80113108 00110068 7F 63 DB 78 */ mr r3, r27 +/* 8011310C 0011006C 7F A4 EB 78 */ mr r4, r29 +/* 80113110 00110070 38 A0 00 00 */ li r5, 0 +/* 80113114 00110074 4B FA 9A B9 */ bl Draw__17CTargetingManagerCFRC13CStateManager +/* 80113118 00110078 C0 22 95 EC */ lfs f1, lbl_805AB30C@sda21(r2) +/* 8011311C 0011007C C0 42 95 F0 */ lfs f2, lbl_805AB310@sda21(r2) +/* 80113120 00110080 48 1F 72 C1 */ bl SetDepthRange__9CGraphicsFff +lbl_80113124: +/* 80113124 00110084 3C 80 80 3F */ lis r4, lbl_803ED910@ha +/* 80113128 00110088 80 7D 08 B8 */ lwz r3, 0x8b8(r29) +/* 8011312C 0011008C 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l +/* 80113130 00110090 80 85 00 08 */ lwz r4, 8(r5) +/* 80113134 00110094 80 05 00 0C */ lwz r0, 0xc(r5) +/* 80113138 00110098 90 81 00 30 */ stw r4, 0x30(r1) +/* 8011313C 0011009C 83 E5 00 00 */ lwz r31, 0(r5) +/* 80113140 001100A0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 80113144 001100A4 83 C5 00 04 */ lwz r30, 4(r5) +/* 80113148 001100A8 80 63 00 00 */ lwz r3, 0(r3) +/* 8011314C 001100AC 4B F7 E7 19 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 80113150 001100B0 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 80113154 001100B4 FF E0 08 90 */ fmr f31, f1 +/* 80113158 001100B8 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 8011315C 001100BC 2C 00 00 02 */ cmpwi r0, 2 +/* 80113160 001100C0 C0 23 02 24 */ lfs f1, 0x224(r3) +/* 80113164 001100C4 C0 43 02 20 */ lfs f2, 0x220(r3) +/* 80113168 001100C8 40 82 00 2C */ bne lbl_80113194 +/* 8011316C 001100CC C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 80113170 001100D0 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 80113174 001100D4 40 80 00 0C */ bge lbl_80113180 +/* 80113178 001100D8 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 8011317C 001100DC 48 00 00 0C */ b lbl_80113188 +lbl_80113180: +/* 80113180 001100E0 EC 00 10 28 */ fsubs f0, f0, f2 +/* 80113184 001100E4 EC 20 08 24 */ fdivs f1, f0, f1 +lbl_80113188: +/* 80113188 001100E8 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 8011318C 001100EC EC 20 08 28 */ fsubs f1, f0, f1 +/* 80113190 001100F0 48 00 00 20 */ b lbl_801131B0 +lbl_80113194: +/* 80113194 001100F4 C0 1C 00 3C */ lfs f0, 0x3c(r28) +/* 80113198 001100F8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8011319C 001100FC 40 81 00 0C */ ble lbl_801131A8 +/* 801131A0 00110100 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 801131A4 00110104 48 00 00 08 */ b lbl_801131AC +lbl_801131A8: +/* 801131A8 00110108 EC 00 08 24 */ fdivs f0, f0, f1 +lbl_801131AC: +/* 801131AC 0011010C FC 20 00 90 */ fmr f1, f0 +lbl_801131B0: +/* 801131B0 00110110 C0 82 95 D0 */ lfs f4, lbl_805AB2F0@sda21(r2) +/* 801131B4 00110114 38 81 00 20 */ addi r4, r1, 0x20 +/* 801131B8 00110118 C0 03 02 6C */ lfs f0, 0x26c(r3) +/* 801131BC 0011011C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 801131C0 00110120 EC A4 08 28 */ fsubs f5, f4, f1 +/* 801131C4 00110124 C0 7C 00 58 */ lfs f3, 0x58(r28) +/* 801131C8 00110128 EC 41 00 32 */ fmuls f2, f1, f0 +/* 801131CC 0011012C C0 22 96 20 */ lfs f1, lbl_805AB340@sda21(r2) +/* 801131D0 00110130 C0 1C 00 48 */ lfs f0, 0x48(r28) +/* 801131D4 00110134 EC 84 F8 28 */ fsubs f4, f4, f31 +/* 801131D8 00110138 EC A5 10 FA */ fmadds f5, f5, f3, f2 +/* 801131DC 0011013C C0 62 96 1C */ lfs f3, lbl_805AB33C@sda21(r2) +/* 801131E0 00110140 C0 5C 00 4C */ lfs f2, 0x4c(r28) +/* 801131E4 00110144 EC 01 00 32 */ fmuls f0, f1, f0 +/* 801131E8 00110148 38 62 96 14 */ addi r3, r2, lbl_805AB334@sda21 +/* 801131EC 0011014C EF 9F 21 7A */ fmadds f28, f31, f5, f4 +/* 801131F0 00110150 EF 63 00 B2 */ fmuls f27, f3, f2 +/* 801131F4 00110154 EC 00 E0 24 */ fdivs f0, f0, f28 +/* 801131F8 00110158 FC 00 00 1E */ fctiwz f0, f0 +/* 801131FC 0011015C D8 01 09 08 */ stfd f0, 0x908(r1) +/* 80113200 00110160 80 C1 09 0C */ lwz r6, 0x90c(r1) +/* 80113204 00110164 38 06 00 03 */ addi r0, r6, 3 +/* 80113208 00110168 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8011320C 0011016C 90 01 00 20 */ stw r0, 0x20(r1) +/* 80113210 00110170 4B F4 6E 55 */ bl "Clamp__5CMathFRCiRCiRCi" +/* 80113214 00110174 EC 1B E0 24 */ fdivs f0, f27, f28 +/* 80113218 00110178 83 A3 00 00 */ lwz r29, 0(r3) +/* 8011321C 0011017C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80113220 00110180 38 A1 00 2C */ addi r5, r1, 0x2c +/* 80113224 00110184 38 62 96 14 */ addi r3, r2, lbl_805AB334@sda21 +/* 80113228 00110188 FC 00 00 1E */ fctiwz f0, f0 +/* 8011322C 0011018C D8 01 09 10 */ stfd f0, 0x910(r1) +/* 80113230 00110190 80 C1 09 14 */ lwz r6, 0x914(r1) +/* 80113234 00110194 38 06 00 03 */ addi r0, r6, 3 +/* 80113238 00110198 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 8011323C 0011019C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80113240 001101A0 4B F4 6E 25 */ bl "Clamp__5CMathFRCiRCiRCi" +/* 80113244 001101A4 80 81 00 30 */ lwz r4, 0x30(r1) +/* 80113248 001101A8 57 A5 04 3E */ clrlwi r5, r29, 0x10 +/* 8011324C 001101AC 83 63 00 00 */ lwz r27, 0(r3) +/* 80113250 001101B0 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 80113254 001101B4 7C FD 20 50 */ subf r7, r29, r4 +/* 80113258 001101B8 54 E4 0F FE */ srwi r4, r7, 0x1f +/* 8011325C 001101BC 57 66 04 3E */ clrlwi r6, r27, 0x10 +/* 80113260 001101C0 7C 7B 00 50 */ subf r3, r27, r0 +/* 80113264 001101C4 7C 84 3A 14 */ add r4, r4, r7 +/* 80113268 001101C8 54 60 0F FE */ srwi r0, r3, 0x1f +/* 8011326C 001101CC 7C 84 0E 70 */ srawi r4, r4, 1 +/* 80113270 001101D0 7C 00 1A 14 */ add r0, r0, r3 +/* 80113274 001101D4 7C 00 0E 70 */ srawi r0, r0, 1 +/* 80113278 001101D8 7C 7F 22 14 */ add r3, r31, r4 +/* 8011327C 001101DC 7C 1E 02 14 */ add r0, r30, r0 +/* 80113280 001101E0 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 80113284 001101E4 54 04 04 3E */ clrlwi r4, r0, 0x10 +/* 80113288 001101E8 48 26 5B 2D */ bl GXSetTexCopySrc +/* 8011328C 001101EC 83 CD A8 28 */ lwz r30, lbl_805A93E8@sda21(r13) +/* 80113290 001101F0 57 A3 04 3E */ clrlwi r3, r29, 0x10 +/* 80113294 001101F4 57 64 04 3E */ clrlwi r4, r27, 0x10 +/* 80113298 001101F8 38 A0 00 04 */ li r5, 4 +/* 8011329C 001101FC 38 C0 00 00 */ li r6, 0 +/* 801132A0 00110200 48 26 5B E1 */ bl GXSetTexCopyDst +/* 801132A4 00110204 7F C3 F3 78 */ mr r3, r30 +/* 801132A8 00110208 38 80 00 00 */ li r4, 0 +/* 801132AC 0011020C 48 26 62 89 */ bl GXCopyTex +/* 801132B0 00110210 48 26 52 B5 */ bl GXPixModeSync +/* 801132B4 00110214 38 7C 00 64 */ addi r3, r28, 0x64 +/* 801132B8 00110218 4B FD 8F D9 */ bl Draw__17CCameraFilterPassCFv +/* 801132BC 0011021C 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) +/* 801132C0 00110220 38 61 00 84 */ addi r3, r1, 0x84 +/* 801132C4 00110224 C0 22 96 24 */ lfs f1, lbl_805AB344@sda21(r2) +/* 801132C8 00110228 38 A0 00 01 */ li r5, 1 +/* 801132CC 0011022C 81 84 00 00 */ lwz r12, 0(r4) +/* 801132D0 00110230 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) +/* 801132D4 00110234 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 801132D8 00110238 7D 89 03 A6 */ mtctr r12 +/* 801132DC 0011023C 4E 80 04 21 */ bctrl +/* 801132E0 00110240 C0 3C 00 48 */ lfs f1, 0x48(r28) +/* 801132E4 00110244 38 61 06 F4 */ addi r3, r1, 0x6f4 +/* 801132E8 00110248 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) +/* 801132EC 0011024C C0 7C 00 4C */ lfs f3, 0x4c(r28) +/* 801132F0 00110250 48 1F FF 19 */ bl Scale__12CTransform4fFfff +/* 801132F4 00110254 38 61 08 D4 */ addi r3, r1, 0x8d4 +/* 801132F8 00110258 38 81 06 F4 */ addi r4, r1, 0x6f4 +/* 801132FC 0011025C 48 1F F8 79 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80113300 00110260 C0 22 95 D8 */ lfs f1, lbl_805AB2F8@sda21(r2) +/* 80113304 00110264 38 61 06 C4 */ addi r3, r1, 0x6c4 +/* 80113308 00110268 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) +/* 8011330C 0011026C FC 60 08 90 */ fmr f3, f1 +/* 80113310 00110270 48 1F FE F9 */ bl Scale__12CTransform4fFfff +/* 80113314 00110274 38 61 08 A4 */ addi r3, r1, 0x8a4 +/* 80113318 00110278 38 81 06 C4 */ addi r4, r1, 0x6c4 +/* 8011331C 0011027C 48 1F F8 59 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80113320 00110280 38 61 06 94 */ addi r3, r1, 0x694 +/* 80113324 00110284 38 81 08 A4 */ addi r4, r1, 0x8a4 +/* 80113328 00110288 38 A1 08 D4 */ addi r5, r1, 0x8d4 +/* 8011332C 0011028C 48 1F F6 25 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113330 00110290 38 61 08 74 */ addi r3, r1, 0x874 +/* 80113334 00110294 38 81 06 94 */ addi r4, r1, 0x694 +/* 80113338 00110298 48 1F F8 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011333C 0011029C C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) +/* 80113340 001102A0 38 61 06 64 */ addi r3, r1, 0x664 +/* 80113344 001102A4 C0 62 96 24 */ lfs f3, lbl_805AB344@sda21(r2) +/* 80113348 001102A8 FC 40 08 90 */ fmr f2, f1 +/* 8011334C 001102AC 48 1F FE BD */ bl Scale__12CTransform4fFfff +/* 80113350 001102B0 38 61 08 44 */ addi r3, r1, 0x844 +/* 80113354 001102B4 38 81 06 64 */ addi r4, r1, 0x664 +/* 80113358 001102B8 48 1F F8 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011335C 001102BC C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) +/* 80113360 001102C0 38 61 06 34 */ addi r3, r1, 0x634 +/* 80113364 001102C4 C0 22 96 24 */ lfs f1, lbl_805AB344@sda21(r2) +/* 80113368 001102C8 FC 60 10 90 */ fmr f3, f2 +/* 8011336C 001102CC 48 1F FE 9D */ bl Scale__12CTransform4fFfff +/* 80113370 001102D0 38 61 08 14 */ addi r3, r1, 0x814 +/* 80113374 001102D4 38 81 06 34 */ addi r4, r1, 0x634 +/* 80113378 001102D8 48 1F F7 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011337C 001102DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113380 001102E0 38 81 08 74 */ addi r4, r1, 0x874 +/* 80113384 001102E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80113388 001102E8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8011338C 001102EC 7D 89 03 A6 */ mtctr r12 +/* 80113390 001102F0 4E 80 04 21 */ bctrl +/* 80113394 001102F4 7F A3 EB 78 */ mr r3, r29 +/* 80113398 001102F8 7F 64 DB 78 */ mr r4, r27 +/* 8011339C 001102FC 7F C6 F3 78 */ mr r6, r30 +/* 801133A0 00110300 38 A0 00 04 */ li r5, 4 +/* 801133A4 00110304 38 E0 00 00 */ li r7, 0 +/* 801133A8 00110308 48 1F 6C 79 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID +/* 801133AC 0011030C 48 26 74 95 */ bl GXInvalidateTexAll +/* 801133B0 00110310 48 23 6B FD */ bl White__6CColorFv +/* 801133B4 00110314 C0 02 96 28 */ lfs f0, lbl_805AB348@sda21(r2) +/* 801133B8 00110318 EF A0 07 F2 */ fmuls f29, f0, f31 +/* 801133BC 0011031C FF C0 E8 90 */ fmr f30, f29 +/* 801133C0 00110320 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 +/* 801133C4 00110324 80 9C 01 10 */ lwz r4, 0x110(r28) +/* 801133C8 00110328 80 03 00 00 */ lwz r0, 0(r3) +/* 801133CC 0011032C 89 01 00 09 */ lbz r8, 9(r1) +/* 801133D0 00110330 28 04 00 00 */ cmplwi r4, 0 +/* 801133D4 00110334 50 08 00 2E */ rlwimi r8, r0, 0, 0, 0x17 +/* 801133D8 00110338 41 82 00 40 */ beq lbl_80113418 +/* 801133DC 0011033C 38 A0 00 03 */ li r5, 3 +/* 801133E0 00110340 38 E0 00 05 */ li r7, 5 +/* 801133E4 00110344 38 C0 00 00 */ li r6, 0 +/* 801133E8 00110348 7C 83 23 78 */ mr r3, r4 +/* 801133EC 0011034C 60 A0 00 04 */ ori r0, r5, 4 +/* 801133F0 00110350 98 E1 00 3C */ stb r7, 0x3c(r1) +/* 801133F4 00110354 38 81 00 44 */ addi r4, r1, 0x44 +/* 801133F8 00110358 98 C1 00 3D */ stb r6, 0x3d(r1) +/* 801133FC 0011035C B0 A1 00 3E */ sth r5, 0x3e(r1) +/* 80113400 00110360 91 01 00 40 */ stw r8, 0x40(r1) +/* 80113404 00110364 98 E1 00 44 */ stb r7, 0x44(r1) +/* 80113408 00110368 98 C1 00 45 */ stb r6, 0x45(r1) +/* 8011340C 0011036C B0 01 00 46 */ sth r0, 0x46(r1) +/* 80113410 00110370 91 01 00 48 */ stw r8, 0x48(r1) +/* 80113414 00110374 48 24 27 C1 */ bl Draw__6CModelCFRC11CModelFlags +lbl_80113418: +/* 80113418 00110378 38 60 00 00 */ li r3, 0 +/* 8011341C 0011037C 48 1F 86 55 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80113420 00110380 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) +/* 80113424 00110384 38 61 00 18 */ addi r3, r1, 0x18 +/* 80113428 00110388 C0 3C 05 4C */ lfs f1, 0x54c(r28) +/* 8011342C 0011038C 38 85 00 C8 */ addi r4, r5, 0xc8 +/* 80113430 00110390 38 A5 00 CC */ addi r5, r5, 0xcc +/* 80113434 00110394 48 24 FE 79 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80113438 00110398 80 81 00 18 */ lwz r4, 0x18(r1) +/* 8011343C 0011039C 90 81 00 28 */ stw r4, 0x28(r1) +/* 80113440 001103A0 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 +/* 80113444 001103A4 38 61 00 10 */ addi r3, r1, 0x10 +/* 80113448 001103A8 C0 3C 05 50 */ lfs f1, 0x550(r28) +/* 8011344C 001103AC 88 01 00 08 */ lbz r0, 8(r1) +/* 80113450 001103B0 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 +/* 80113454 001103B4 FC 40 08 90 */ fmr f2, f1 +/* 80113458 001103B8 FC 60 08 90 */ fmr f3, f1 +/* 8011345C 001103BC 90 01 00 28 */ stw r0, 0x28(r1) +/* 80113460 001103C0 FC 80 08 90 */ fmr f4, f1 +/* 80113464 001103C4 48 24 FF 89 */ bl __ct__6CColorFffff +/* 80113468 001103C8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 8011346C 001103CC 7C 65 1B 78 */ mr r5, r3 +/* 80113470 001103D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80113474 001103D4 38 84 00 D0 */ addi r4, r4, 0xd0 +/* 80113478 001103D8 48 24 FD 01 */ bl Modulate__6CColorFRC6CColorRC6CColor +/* 8011347C 001103DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80113480 001103E0 38 61 00 0C */ addi r3, r1, 0xc +/* 80113484 001103E4 38 81 00 28 */ addi r4, r1, 0x28 +/* 80113488 001103E8 38 A1 00 24 */ addi r5, r1, 0x24 +/* 8011348C 001103EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80113490 001103F0 48 24 FC 21 */ bl Add__6CColorFRC6CColorRC6CColor +/* 80113494 001103F4 81 21 00 0C */ lwz r9, 0xc(r1) +/* 80113498 001103F8 38 C0 00 03 */ li r6, 3 +/* 8011349C 001103FC C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 801134A0 00110400 39 00 00 05 */ li r8, 5 +/* 801134A4 00110404 38 E0 00 00 */ li r7, 0 +/* 801134A8 00110408 C0 02 96 2C */ lfs f0, lbl_805AB34C@sda21(r2) +/* 801134AC 0011040C 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d +/* 801134B0 00110410 91 21 00 28 */ stw r9, 0x28(r1) +/* 801134B4 00110414 38 61 00 78 */ addi r3, r1, 0x78 +/* 801134B8 00110418 38 81 08 D4 */ addi r4, r1, 0x8d4 +/* 801134BC 0011041C 99 01 00 34 */ stb r8, 0x34(r1) +/* 801134C0 00110420 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 801134C4 00110424 98 E1 00 35 */ stb r7, 0x35(r1) +/* 801134C8 00110428 B0 C1 00 36 */ sth r6, 0x36(r1) +/* 801134CC 0011042C 91 21 00 38 */ stw r9, 0x38(r1) +/* 801134D0 00110430 99 01 00 4C */ stb r8, 0x4c(r1) +/* 801134D4 00110434 98 E1 00 4D */ stb r7, 0x4d(r1) +/* 801134D8 00110438 B0 01 00 4E */ sth r0, 0x4e(r1) +/* 801134DC 0011043C 91 21 00 50 */ stw r9, 0x50(r1) +/* 801134E0 00110440 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 801134E4 00110444 D0 21 00 EC */ stfs f1, 0xec(r1) +/* 801134E8 00110448 D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 801134EC 0011044C 48 1F F5 FD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 801134F0 00110450 83 BC 00 EC */ lwz r29, 0xec(r28) +/* 801134F4 00110454 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 801134F8 00110458 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 801134FC 0011045C 28 1D 00 00 */ cmplwi r29, 0 +/* 80113500 00110460 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 80113504 00110464 D0 41 00 DC */ stfs f2, 0xdc(r1) +/* 80113508 00110468 D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 8011350C 0011046C D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 80113510 00110470 41 82 00 84 */ beq lbl_80113594 +/* 80113514 00110474 38 61 05 D4 */ addi r3, r1, 0x5d4 +/* 80113518 00110478 38 81 00 DC */ addi r4, r1, 0xdc +/* 8011351C 0011047C 48 1F FC 25 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80113520 00110480 38 61 06 04 */ addi r3, r1, 0x604 +/* 80113524 00110484 38 81 08 A4 */ addi r4, r1, 0x8a4 +/* 80113528 00110488 38 A1 05 D4 */ addi r5, r1, 0x5d4 +/* 8011352C 0011048C 48 1F F4 25 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113530 00110490 38 61 07 E4 */ addi r3, r1, 0x7e4 +/* 80113534 00110494 38 81 06 04 */ addi r4, r1, 0x604 +/* 80113538 00110498 48 1F F6 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011353C 0011049C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113540 001104A0 38 81 07 E4 */ addi r4, r1, 0x7e4 +/* 80113544 001104A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80113548 001104A8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8011354C 001104AC 7D 89 03 A6 */ mtctr r12 +/* 80113550 001104B0 4E 80 04 21 */ bctrl +/* 80113554 001104B4 7F A3 EB 78 */ mr r3, r29 +/* 80113558 001104B8 38 81 00 4C */ addi r4, r1, 0x4c +/* 8011355C 001104BC 48 24 26 79 */ bl Draw__6CModelCFRC11CModelFlags +/* 80113560 001104C0 38 61 05 A4 */ addi r3, r1, 0x5a4 +/* 80113564 001104C4 38 81 08 44 */ addi r4, r1, 0x844 +/* 80113568 001104C8 38 A1 07 E4 */ addi r5, r1, 0x7e4 +/* 8011356C 001104CC 48 1F F3 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113570 001104D0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113574 001104D4 38 81 05 A4 */ addi r4, r1, 0x5a4 +/* 80113578 001104D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8011357C 001104DC 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80113580 001104E0 7D 89 03 A6 */ mtctr r12 +/* 80113584 001104E4 4E 80 04 21 */ bctrl +/* 80113588 001104E8 7F A3 EB 78 */ mr r3, r29 +/* 8011358C 001104EC 38 81 00 4C */ addi r4, r1, 0x4c +/* 80113590 001104F0 48 24 26 45 */ bl Draw__6CModelCFRC11CModelFlags +lbl_80113594: +/* 80113594 001104F4 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +/* 80113598 001104F8 38 61 00 6C */ addi r3, r1, 0x6c +/* 8011359C 001104FC C0 22 96 30 */ lfs f1, lbl_805AB350@sda21(r2) +/* 801135A0 00110500 38 81 08 D4 */ addi r4, r1, 0x8d4 +/* 801135A4 00110504 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 801135A8 00110508 38 A1 00 D0 */ addi r5, r1, 0xd0 +/* 801135AC 0011050C D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 801135B0 00110510 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 801135B4 00110514 48 1F F5 35 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 801135B8 00110518 83 BC 00 E0 */ lwz r29, 0xe0(r28) +/* 801135BC 0011051C C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 801135C0 00110520 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 801135C4 00110524 28 1D 00 00 */ cmplwi r29, 0 +/* 801135C8 00110528 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 801135CC 0011052C D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 801135D0 00110530 D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 801135D4 00110534 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 801135D8 00110538 41 82 00 84 */ beq lbl_8011365C +/* 801135DC 0011053C 38 61 05 44 */ addi r3, r1, 0x544 +/* 801135E0 00110540 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 801135E4 00110544 48 1F FB 5D */ bl Translate__12CTransform4fFRC9CVector3f +/* 801135E8 00110548 38 61 05 74 */ addi r3, r1, 0x574 +/* 801135EC 0011054C 38 81 08 A4 */ addi r4, r1, 0x8a4 +/* 801135F0 00110550 38 A1 05 44 */ addi r5, r1, 0x544 +/* 801135F4 00110554 48 1F F3 5D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801135F8 00110558 38 61 07 B4 */ addi r3, r1, 0x7b4 +/* 801135FC 0011055C 38 81 05 74 */ addi r4, r1, 0x574 +/* 80113600 00110560 48 1F F5 75 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80113604 00110564 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113608 00110568 38 81 07 B4 */ addi r4, r1, 0x7b4 +/* 8011360C 0011056C 81 83 00 00 */ lwz r12, 0(r3) +/* 80113610 00110570 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80113614 00110574 7D 89 03 A6 */ mtctr r12 +/* 80113618 00110578 4E 80 04 21 */ bctrl +/* 8011361C 0011057C 7F A3 EB 78 */ mr r3, r29 +/* 80113620 00110580 38 81 00 4C */ addi r4, r1, 0x4c +/* 80113624 00110584 48 24 25 B1 */ bl Draw__6CModelCFRC11CModelFlags +/* 80113628 00110588 38 61 05 14 */ addi r3, r1, 0x514 +/* 8011362C 0011058C 38 81 08 14 */ addi r4, r1, 0x814 +/* 80113630 00110590 38 A1 07 B4 */ addi r5, r1, 0x7b4 +/* 80113634 00110594 48 1F F3 1D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113638 00110598 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011363C 0011059C 38 81 05 14 */ addi r4, r1, 0x514 +/* 80113640 001105A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80113644 001105A4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80113648 001105A8 7D 89 03 A6 */ mtctr r12 +/* 8011364C 001105AC 4E 80 04 21 */ bctrl +/* 80113650 001105B0 7F A3 EB 78 */ mr r3, r29 +/* 80113654 001105B4 38 81 00 4C */ addi r4, r1, 0x4c +/* 80113658 001105B8 48 24 25 7D */ bl Draw__6CModelCFRC11CModelFlags +lbl_8011365C: +/* 8011365C 001105BC C0 42 96 30 */ lfs f2, lbl_805AB350@sda21(r2) +/* 80113660 001105C0 38 61 00 60 */ addi r3, r1, 0x60 +/* 80113664 001105C4 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80113668 001105C8 38 81 08 D4 */ addi r4, r1, 0x8d4 +/* 8011366C 001105CC C0 02 96 2C */ lfs f0, lbl_805AB34C@sda21(r2) +/* 80113670 001105D0 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 80113674 001105D4 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 80113678 001105D8 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 8011367C 001105DC D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 80113680 001105E0 48 1F F4 69 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 80113684 001105E4 83 BC 00 D4 */ lwz r29, 0xd4(r28) +/* 80113688 001105E8 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 8011368C 001105EC C0 21 00 64 */ lfs f1, 0x64(r1) +/* 80113690 001105F0 28 1D 00 00 */ cmplwi r29, 0 +/* 80113694 001105F4 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 80113698 001105F8 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 8011369C 001105FC D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 801136A0 00110600 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 801136A4 00110604 41 82 00 FC */ beq lbl_801137A0 +/* 801136A8 00110608 38 61 04 B4 */ addi r3, r1, 0x4b4 +/* 801136AC 0011060C 38 81 00 AC */ addi r4, r1, 0xac +/* 801136B0 00110610 48 1F FA 91 */ bl Translate__12CTransform4fFRC9CVector3f +/* 801136B4 00110614 38 61 04 E4 */ addi r3, r1, 0x4e4 +/* 801136B8 00110618 38 81 08 A4 */ addi r4, r1, 0x8a4 +/* 801136BC 0011061C 38 A1 04 B4 */ addi r5, r1, 0x4b4 +/* 801136C0 00110620 48 1F F2 91 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801136C4 00110624 38 61 07 84 */ addi r3, r1, 0x784 +/* 801136C8 00110628 38 81 04 E4 */ addi r4, r1, 0x4e4 +/* 801136CC 0011062C 48 1F F4 A9 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 801136D0 00110630 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801136D4 00110634 38 81 07 84 */ addi r4, r1, 0x784 +/* 801136D8 00110638 81 83 00 00 */ lwz r12, 0(r3) +/* 801136DC 0011063C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801136E0 00110640 7D 89 03 A6 */ mtctr r12 +/* 801136E4 00110644 4E 80 04 21 */ bctrl +/* 801136E8 00110648 7F A3 EB 78 */ mr r3, r29 +/* 801136EC 0011064C 38 81 00 4C */ addi r4, r1, 0x4c +/* 801136F0 00110650 48 24 24 E5 */ bl Draw__6CModelCFRC11CModelFlags +/* 801136F4 00110654 38 61 04 84 */ addi r3, r1, 0x484 +/* 801136F8 00110658 38 81 08 14 */ addi r4, r1, 0x814 +/* 801136FC 0011065C 38 A1 07 84 */ addi r5, r1, 0x784 +/* 80113700 00110660 48 1F F2 51 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113704 00110664 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113708 00110668 38 81 04 84 */ addi r4, r1, 0x484 +/* 8011370C 0011066C 81 83 00 00 */ lwz r12, 0(r3) +/* 80113710 00110670 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80113714 00110674 7D 89 03 A6 */ mtctr r12 +/* 80113718 00110678 4E 80 04 21 */ bctrl +/* 8011371C 0011067C 7F A3 EB 78 */ mr r3, r29 +/* 80113720 00110680 38 81 00 4C */ addi r4, r1, 0x4c +/* 80113724 00110684 48 24 24 B1 */ bl Draw__6CModelCFRC11CModelFlags +/* 80113728 00110688 38 61 04 54 */ addi r3, r1, 0x454 +/* 8011372C 0011068C 38 81 08 44 */ addi r4, r1, 0x844 +/* 80113730 00110690 38 A1 07 84 */ addi r5, r1, 0x784 +/* 80113734 00110694 48 1F F2 1D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113738 00110698 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8011373C 0011069C 38 81 04 54 */ addi r4, r1, 0x454 +/* 80113740 001106A0 81 83 00 00 */ lwz r12, 0(r3) +/* 80113744 001106A4 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80113748 001106A8 7D 89 03 A6 */ mtctr r12 +/* 8011374C 001106AC 4E 80 04 21 */ bctrl +/* 80113750 001106B0 7F A3 EB 78 */ mr r3, r29 +/* 80113754 001106B4 38 81 00 4C */ addi r4, r1, 0x4c +/* 80113758 001106B8 48 24 24 7D */ bl Draw__6CModelCFRC11CModelFlags +/* 8011375C 001106BC 38 61 03 F4 */ addi r3, r1, 0x3f4 +/* 80113760 001106C0 38 81 08 44 */ addi r4, r1, 0x844 +/* 80113764 001106C4 38 A1 08 14 */ addi r5, r1, 0x814 +/* 80113768 001106C8 48 1F F1 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011376C 001106CC 38 61 04 24 */ addi r3, r1, 0x424 +/* 80113770 001106D0 38 81 03 F4 */ addi r4, r1, 0x3f4 +/* 80113774 001106D4 38 A1 07 84 */ addi r5, r1, 0x784 +/* 80113778 001106D8 48 1F F1 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 8011377C 001106DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113780 001106E0 38 81 04 24 */ addi r4, r1, 0x424 +/* 80113784 001106E4 81 83 00 00 */ lwz r12, 0(r3) +/* 80113788 001106E8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8011378C 001106EC 7D 89 03 A6 */ mtctr r12 +/* 80113790 001106F0 4E 80 04 21 */ bctrl +/* 80113794 001106F4 7F A3 EB 78 */ mr r3, r29 +/* 80113798 001106F8 38 81 00 4C */ addi r4, r1, 0x4c +/* 8011379C 001106FC 48 24 24 39 */ bl Draw__6CModelCFRC11CModelFlags +lbl_801137A0: +/* 801137A0 00110700 C3 C1 08 D4 */ lfs f30, 0x8d4(r1) +/* 801137A4 00110704 C0 A1 08 FC */ lfs f5, 0x8fc(r1) +/* 801137A8 00110708 C0 02 96 2C */ lfs f0, lbl_805AB34C@sda21(r2) +/* 801137AC 0011070C 83 BC 01 04 */ lwz r29, 0x104(r28) +/* 801137B0 00110710 EF A0 01 72 */ fmuls f29, f0, f5 +/* 801137B4 00110714 C0 E1 08 DC */ lfs f7, 0x8dc(r1) +/* 801137B8 00110718 C0 C1 08 EC */ lfs f6, 0x8ec(r1) +/* 801137BC 0011071C 28 1D 00 00 */ cmplwi r29, 0 +/* 801137C0 00110720 C0 62 96 24 */ lfs f3, lbl_805AB344@sda21(r2) +/* 801137C4 00110724 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +/* 801137C8 00110728 C0 82 96 34 */ lfs f4, lbl_805AB354@sda21(r2) +/* 801137CC 0011072C C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) +/* 801137D0 00110730 C0 22 96 38 */ lfs f1, lbl_805AB358@sda21(r2) +/* 801137D4 00110734 EC 84 17 B8 */ fmsubs f4, f4, f30, f2 +/* 801137D8 00110738 D0 E1 00 54 */ stfs f7, 0x54(r1) +/* 801137DC 0011073C D0 C1 00 58 */ stfs f6, 0x58(r1) +/* 801137E0 00110740 EC 24 08 28 */ fsubs f1, f4, f1 +/* 801137E4 00110744 D0 A1 00 5C */ stfs f5, 0x5c(r1) +/* 801137E8 00110748 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 801137EC 0011074C D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 801137F0 00110750 D3 A1 00 A8 */ stfs f29, 0xa8(r1) +/* 801137F4 00110754 41 82 01 18 */ beq lbl_8011390C +/* 801137F8 00110758 FC 60 10 90 */ fmr f3, f2 +/* 801137FC 0011075C 38 61 03 34 */ addi r3, r1, 0x334 +/* 80113800 00110760 48 1F FA 09 */ bl Scale__12CTransform4fFfff +/* 80113804 00110764 38 61 03 64 */ addi r3, r1, 0x364 +/* 80113808 00110768 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 8011380C 0011076C 48 1F F9 35 */ bl Translate__12CTransform4fFRC9CVector3f +/* 80113810 00110770 38 61 03 94 */ addi r3, r1, 0x394 +/* 80113814 00110774 38 81 08 A4 */ addi r4, r1, 0x8a4 +/* 80113818 00110778 38 A1 03 64 */ addi r5, r1, 0x364 +/* 8011381C 0011077C 48 1F F1 35 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113820 00110780 38 61 03 C4 */ addi r3, r1, 0x3c4 +/* 80113824 00110784 38 81 03 94 */ addi r4, r1, 0x394 +/* 80113828 00110788 38 A1 03 34 */ addi r5, r1, 0x334 +/* 8011382C 0011078C 48 1F F1 25 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113830 00110790 38 61 07 54 */ addi r3, r1, 0x754 +/* 80113834 00110794 38 81 03 C4 */ addi r4, r1, 0x3c4 +/* 80113838 00110798 48 1F F3 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8011383C 0011079C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113840 001107A0 38 81 07 54 */ addi r4, r1, 0x754 +/* 80113844 001107A4 81 83 00 00 */ lwz r12, 0(r3) +/* 80113848 001107A8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8011384C 001107AC 7D 89 03 A6 */ mtctr r12 +/* 80113850 001107B0 4E 80 04 21 */ bctrl +/* 80113854 001107B4 7F A3 EB 78 */ mr r3, r29 +/* 80113858 001107B8 38 81 00 4C */ addi r4, r1, 0x4c +/* 8011385C 001107BC 48 24 23 79 */ bl Draw__6CModelCFRC11CModelFlags +/* 80113860 001107C0 38 61 03 04 */ addi r3, r1, 0x304 +/* 80113864 001107C4 38 81 08 14 */ addi r4, r1, 0x814 +/* 80113868 001107C8 38 A1 07 54 */ addi r5, r1, 0x754 +/* 8011386C 001107CC 48 1F F0 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113870 001107D0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113874 001107D4 38 81 03 04 */ addi r4, r1, 0x304 +/* 80113878 001107D8 81 83 00 00 */ lwz r12, 0(r3) +/* 8011387C 001107DC 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80113880 001107E0 7D 89 03 A6 */ mtctr r12 +/* 80113884 001107E4 4E 80 04 21 */ bctrl +/* 80113888 001107E8 7F A3 EB 78 */ mr r3, r29 +/* 8011388C 001107EC 38 81 00 4C */ addi r4, r1, 0x4c +/* 80113890 001107F0 48 24 23 45 */ bl Draw__6CModelCFRC11CModelFlags +/* 80113894 001107F4 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 80113898 001107F8 38 81 08 44 */ addi r4, r1, 0x844 +/* 8011389C 001107FC 38 A1 07 54 */ addi r5, r1, 0x754 +/* 801138A0 00110800 48 1F F0 B1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801138A4 00110804 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801138A8 00110808 38 81 02 D4 */ addi r4, r1, 0x2d4 +/* 801138AC 0011080C 81 83 00 00 */ lwz r12, 0(r3) +/* 801138B0 00110810 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801138B4 00110814 7D 89 03 A6 */ mtctr r12 +/* 801138B8 00110818 4E 80 04 21 */ bctrl +/* 801138BC 0011081C 7F A3 EB 78 */ mr r3, r29 +/* 801138C0 00110820 38 81 00 4C */ addi r4, r1, 0x4c +/* 801138C4 00110824 48 24 23 11 */ bl Draw__6CModelCFRC11CModelFlags +/* 801138C8 00110828 38 61 02 74 */ addi r3, r1, 0x274 +/* 801138CC 0011082C 38 81 08 44 */ addi r4, r1, 0x844 +/* 801138D0 00110830 38 A1 08 14 */ addi r5, r1, 0x814 +/* 801138D4 00110834 48 1F F0 7D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801138D8 00110838 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 801138DC 0011083C 38 81 02 74 */ addi r4, r1, 0x274 +/* 801138E0 00110840 38 A1 07 54 */ addi r5, r1, 0x754 +/* 801138E4 00110844 48 1F F0 6D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801138E8 00110848 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801138EC 0011084C 38 81 02 A4 */ addi r4, r1, 0x2a4 +/* 801138F0 00110850 81 83 00 00 */ lwz r12, 0(r3) +/* 801138F4 00110854 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801138F8 00110858 7D 89 03 A6 */ mtctr r12 +/* 801138FC 0011085C 4E 80 04 21 */ bctrl +/* 80113900 00110860 7F A3 EB 78 */ mr r3, r29 +/* 80113904 00110864 38 81 00 4C */ addi r4, r1, 0x4c +/* 80113908 00110868 48 24 22 CD */ bl Draw__6CModelCFRC11CModelFlags +lbl_8011390C: +/* 8011390C 0011086C C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) +/* 80113910 00110870 C0 02 96 30 */ lfs f0, lbl_805AB350@sda21(r2) +/* 80113914 00110874 EC 9D 08 28 */ fsubs f4, f29, f1 +/* 80113918 00110878 C0 62 96 3C */ lfs f3, lbl_805AB35C@sda21(r2) +/* 8011391C 0011087C EC 40 07 B2 */ fmuls f2, f0, f30 +/* 80113920 00110880 83 9C 00 F8 */ lwz r28, 0xf8(r28) +/* 80113924 00110884 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +/* 80113928 00110888 28 1C 00 00 */ cmplwi r28, 0 +/* 8011392C 0011088C EC 64 18 28 */ fsubs f3, f4, f3 +/* 80113930 00110890 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 80113934 00110894 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 80113938 00110898 D0 21 00 9C */ stfs f1, 0x9c(r1) +/* 8011393C 0011089C 41 82 01 18 */ beq lbl_80113A54 +/* 80113940 001108A0 FC 40 08 90 */ fmr f2, f1 +/* 80113944 001108A4 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 80113948 001108A8 48 1F F8 C1 */ bl Scale__12CTransform4fFfff +/* 8011394C 001108AC 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 80113950 001108B0 38 81 00 94 */ addi r4, r1, 0x94 +/* 80113954 001108B4 48 1F F7 ED */ bl Translate__12CTransform4fFRC9CVector3f +/* 80113958 001108B8 38 61 02 14 */ addi r3, r1, 0x214 +/* 8011395C 001108BC 38 81 08 A4 */ addi r4, r1, 0x8a4 +/* 80113960 001108C0 38 A1 01 E4 */ addi r5, r1, 0x1e4 +/* 80113964 001108C4 48 1F EF ED */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113968 001108C8 38 61 02 44 */ addi r3, r1, 0x244 +/* 8011396C 001108CC 38 81 02 14 */ addi r4, r1, 0x214 +/* 80113970 001108D0 38 A1 01 B4 */ addi r5, r1, 0x1b4 +/* 80113974 001108D4 48 1F EF DD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113978 001108D8 38 61 07 24 */ addi r3, r1, 0x724 +/* 8011397C 001108DC 38 81 02 44 */ addi r4, r1, 0x244 +/* 80113980 001108E0 48 1F F1 F5 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 80113984 001108E4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113988 001108E8 38 81 07 24 */ addi r4, r1, 0x724 +/* 8011398C 001108EC 81 83 00 00 */ lwz r12, 0(r3) +/* 80113990 001108F0 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80113994 001108F4 7D 89 03 A6 */ mtctr r12 +/* 80113998 001108F8 4E 80 04 21 */ bctrl +/* 8011399C 001108FC 7F 83 E3 78 */ mr r3, r28 +/* 801139A0 00110900 38 81 00 4C */ addi r4, r1, 0x4c +/* 801139A4 00110904 48 24 22 31 */ bl Draw__6CModelCFRC11CModelFlags +/* 801139A8 00110908 38 61 01 84 */ addi r3, r1, 0x184 +/* 801139AC 0011090C 38 81 08 14 */ addi r4, r1, 0x814 +/* 801139B0 00110910 38 A1 07 24 */ addi r5, r1, 0x724 +/* 801139B4 00110914 48 1F EF 9D */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801139B8 00110918 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801139BC 0011091C 38 81 01 84 */ addi r4, r1, 0x184 +/* 801139C0 00110920 81 83 00 00 */ lwz r12, 0(r3) +/* 801139C4 00110924 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801139C8 00110928 7D 89 03 A6 */ mtctr r12 +/* 801139CC 0011092C 4E 80 04 21 */ bctrl +/* 801139D0 00110930 7F 83 E3 78 */ mr r3, r28 +/* 801139D4 00110934 38 81 00 4C */ addi r4, r1, 0x4c +/* 801139D8 00110938 48 24 21 FD */ bl Draw__6CModelCFRC11CModelFlags +/* 801139DC 0011093C 38 61 01 54 */ addi r3, r1, 0x154 +/* 801139E0 00110940 38 81 08 44 */ addi r4, r1, 0x844 +/* 801139E4 00110944 38 A1 07 24 */ addi r5, r1, 0x724 +/* 801139E8 00110948 48 1F EF 69 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 801139EC 0011094C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 801139F0 00110950 38 81 01 54 */ addi r4, r1, 0x154 +/* 801139F4 00110954 81 83 00 00 */ lwz r12, 0(r3) +/* 801139F8 00110958 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801139FC 0011095C 7D 89 03 A6 */ mtctr r12 +/* 80113A00 00110960 4E 80 04 21 */ bctrl +/* 80113A04 00110964 7F 83 E3 78 */ mr r3, r28 +/* 80113A08 00110968 38 81 00 4C */ addi r4, r1, 0x4c +/* 80113A0C 0011096C 48 24 21 C9 */ bl Draw__6CModelCFRC11CModelFlags +/* 80113A10 00110970 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 80113A14 00110974 38 81 08 44 */ addi r4, r1, 0x844 +/* 80113A18 00110978 38 A1 08 14 */ addi r5, r1, 0x814 +/* 80113A1C 0011097C 48 1F EF 35 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113A20 00110980 38 61 01 24 */ addi r3, r1, 0x124 +/* 80113A24 00110984 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 80113A28 00110988 38 A1 07 24 */ addi r5, r1, 0x724 +/* 80113A2C 0011098C 48 1F EF 25 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 80113A30 00110990 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 80113A34 00110994 38 81 01 24 */ addi r4, r1, 0x124 +/* 80113A38 00110998 81 83 00 00 */ lwz r12, 0(r3) +/* 80113A3C 0011099C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80113A40 001109A0 7D 89 03 A6 */ mtctr r12 +/* 80113A44 001109A4 4E 80 04 21 */ bctrl +/* 80113A48 001109A8 7F 83 E3 78 */ mr r3, r28 +/* 80113A4C 001109AC 38 81 00 4C */ addi r4, r1, 0x4c +/* 80113A50 001109B0 48 24 21 85 */ bl Draw__6CModelCFRC11CModelFlags +lbl_80113A54: +/* 80113A54 001109B4 38 60 00 01 */ li r3, 1 +/* 80113A58 001109B8 48 1F 80 19 */ bl SetCullMode__9CGraphicsF12ERglCullMode +/* 80113A5C 001109BC E3 E1 09 78 */ psq_l f31, -1672(r1), 0, qr0 +/* 80113A60 001109C0 CB E1 09 70 */ lfd f31, 0x970(r1) +/* 80113A64 001109C4 E3 C1 09 68 */ psq_l f30, -1688(r1), 0, qr0 +/* 80113A68 001109C8 CB C1 09 60 */ lfd f30, 0x960(r1) +/* 80113A6C 001109CC E3 A1 09 58 */ psq_l f29, -1704(r1), 0, qr0 +/* 80113A70 001109D0 CB A1 09 50 */ lfd f29, 0x950(r1) +/* 80113A74 001109D4 E3 81 09 48 */ psq_l f28, -1720(r1), 0, qr0 +/* 80113A78 001109D8 CB 81 09 40 */ lfd f28, 0x940(r1) +/* 80113A7C 001109DC E3 61 09 38 */ psq_l f27, -1736(r1), 0, qr0 +/* 80113A80 001109E0 CB 61 09 30 */ lfd f27, 0x930(r1) +/* 80113A84 001109E4 BB 61 09 1C */ lmw r27, 0x91c(r1) +/* 80113A88 001109E8 80 01 09 84 */ lwz r0, 0x984(r1) +/* 80113A8C 001109EC 7C 08 03 A6 */ mtlr r0 +/* 80113A90 001109F0 38 21 09 80 */ addi r1, r1, 0x980 +/* 80113A94 001109F4 4E 80 00 20 */ blr + +.global DrawXRayEffect__12CPlayerVisorCFRC13CStateManager +DrawXRayEffect__12CPlayerVisorCFRC13CStateManager: +/* 80113A98 001109F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80113A9C 001109FC 7C 08 02 A6 */ mflr r0 +/* 80113AA0 00110A00 38 63 00 90 */ addi r3, r3, 0x90 +/* 80113AA4 00110A04 90 01 00 14 */ stw r0, 0x14(r1) +/* 80113AA8 00110A08 4B FD 6F E1 */ bl Draw__15CCameraBlurPassCFv +/* 80113AAC 00110A0C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80113AB0 00110A10 7C 08 03 A6 */ mtlr r0 +/* 80113AB4 00110A14 38 21 00 10 */ addi r1, r1, 0x10 +/* 80113AB8 00110A18 4E 80 00 20 */ blr + +.global DrawThermalEffect__12CPlayerVisorCFRC13CStateManager +DrawThermalEffect__12CPlayerVisorCFRC13CStateManager: +/* 80113ABC 00110A1C 4E 80 00 20 */ blr + +.global Touch__12CPlayerVisorCFv +Touch__12CPlayerVisorCFv: +/* 80113AC0 00110A20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80113AC4 00110A24 7C 08 02 A6 */ mflr r0 +/* 80113AC8 00110A28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80113ACC 00110A2C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80113AD0 00110A30 7C 7F 1B 78 */ mr r31, r3 +/* 80113AD4 00110A34 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 80113AD8 00110A38 28 03 00 00 */ cmplwi r3, 0 +/* 80113ADC 00110A3C 41 82 00 0C */ beq lbl_80113AE8 +/* 80113AE0 00110A40 38 80 00 00 */ li r4, 0 +/* 80113AE4 00110A44 48 24 1B 51 */ bl Touch__6CModelCFi +lbl_80113AE8: +/* 80113AE8 00110A48 80 7F 01 38 */ lwz r3, 0x138(r31) +/* 80113AEC 00110A4C 28 03 00 00 */ cmplwi r3, 0 +/* 80113AF0 00110A50 41 82 00 0C */ beq lbl_80113AFC +/* 80113AF4 00110A54 38 80 00 00 */ li r4, 0 +/* 80113AF8 00110A58 48 24 1B 3D */ bl Touch__6CModelCFi +lbl_80113AFC: +/* 80113AFC 00110A5C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80113B00 00110A60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80113B04 00110A64 7C 08 03 A6 */ mtlr r0 +/* 80113B08 00110A68 38 21 00 10 */ addi r1, r1, 0x10 +/* 80113B0C 00110A6C 4E 80 00 20 */ blr + +.global Draw__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager +Draw__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager: +/* 80113B10 00110A70 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80113B14 00110A74 7C 08 02 A6 */ mflr r0 +/* 80113B18 00110A78 90 01 00 24 */ stw r0, 0x24(r1) +/* 80113B1C 00110A7C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80113B20 00110A80 7C BF 2B 78 */ mr r31, r5 +/* 80113B24 00110A84 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80113B28 00110A88 7C 9E 23 78 */ mr r30, r4 +/* 80113B2C 00110A8C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80113B30 00110A90 7C 7D 1B 78 */ mr r29, r3 +/* 80113B34 00110A94 48 23 64 79 */ bl White__6CColorFv +/* 80113B38 00110A98 48 1F 84 E5 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 80113B3C 00110A9C 48 1F 8E 41 */ bl DisableAllLights__9CGraphicsFv +/* 80113B40 00110AA0 80 7E 08 B8 */ lwz r3, 0x8b8(r30) +/* 80113B44 00110AA4 7F C4 F3 78 */ mr r4, r30 +/* 80113B48 00110AA8 80 63 00 00 */ lwz r3, 0(r3) +/* 80113B4C 00110AAC 4B F7 DA 0D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80113B50 00110AB0 2C 03 00 02 */ cmpwi r3, 2 +/* 80113B54 00110AB4 41 82 00 44 */ beq lbl_80113B98 +/* 80113B58 00110AB8 40 80 00 14 */ bge lbl_80113B6C +/* 80113B5C 00110ABC 2C 03 00 00 */ cmpwi r3, 0 +/* 80113B60 00110AC0 41 82 00 48 */ beq lbl_80113BA8 +/* 80113B64 00110AC4 40 80 00 14 */ bge lbl_80113B78 +/* 80113B68 00110AC8 48 00 00 40 */ b lbl_80113BA8 +lbl_80113B6C: +/* 80113B6C 00110ACC 2C 03 00 04 */ cmpwi r3, 4 +/* 80113B70 00110AD0 40 80 00 38 */ bge lbl_80113BA8 +/* 80113B74 00110AD4 48 00 00 14 */ b lbl_80113B88 +lbl_80113B78: +/* 80113B78 00110AD8 7F A3 EB 78 */ mr r3, r29 +/* 80113B7C 00110ADC 7F C4 F3 78 */ mr r4, r30 +/* 80113B80 00110AE0 4B FF FF 19 */ bl DrawXRayEffect__12CPlayerVisorCFRC13CStateManager +/* 80113B84 00110AE4 48 00 00 24 */ b lbl_80113BA8 +lbl_80113B88: +/* 80113B88 00110AE8 7F A3 EB 78 */ mr r3, r29 +/* 80113B8C 00110AEC 7F C4 F3 78 */ mr r4, r30 +/* 80113B90 00110AF0 4B FF FF 2D */ bl DrawThermalEffect__12CPlayerVisorCFRC13CStateManager +/* 80113B94 00110AF4 48 00 00 14 */ b lbl_80113BA8 +lbl_80113B98: +/* 80113B98 00110AF8 7F A3 EB 78 */ mr r3, r29 +/* 80113B9C 00110AFC 7F C4 F3 78 */ mr r4, r30 +/* 80113BA0 00110B00 7F E5 FB 78 */ mr r5, r31 +/* 80113BA4 00110B04 4B FF F5 01 */ bl DrawScanEffect__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager +lbl_80113BA8: +/* 80113BA8 00110B08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80113BAC 00110B0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80113BB0 00110B10 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80113BB4 00110B14 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80113BB8 00110B18 7C 08 03 A6 */ mtlr r0 +/* 80113BBC 00110B1C 38 21 00 20 */ addi r1, r1, 0x20 +/* 80113BC0 00110B20 4E 80 00 20 */ blr + +.global Update__12CPlayerVisorFfRC13CStateManager +Update__12CPlayerVisorFfRC13CStateManager: +/* 80113BC4 00110B24 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80113BC8 00110B28 7C 08 02 A6 */ mflr r0 +/* 80113BCC 00110B2C 90 01 00 74 */ stw r0, 0x74(r1) +/* 80113BD0 00110B30 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80113BD4 00110B34 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80113BD8 00110B38 BF 01 00 40 */ stmw r24, 0x40(r1) +/* 80113BDC 00110B3C FF E0 08 90 */ fmr f31, f1 +/* 80113BE0 00110B40 7C 7F 1B 78 */ mr r31, r3 +/* 80113BE4 00110B44 7C 98 23 78 */ mr r24, r4 +/* 80113BE8 00110B48 38 7F 00 90 */ addi r3, r31, 0x90 +/* 80113BEC 00110B4C 4B FD 81 ED */ bl Update__15CCameraBlurPassFf +/* 80113BF0 00110B50 80 78 08 B8 */ lwz r3, 0x8b8(r24) +/* 80113BF4 00110B54 7F 04 C3 78 */ mr r4, r24 +/* 80113BF8 00110B58 83 83 00 00 */ lwz r28, 0(r3) +/* 80113BFC 00110B5C 7F 83 E3 78 */ mr r3, r28 +/* 80113C00 00110B60 4B F7 D9 59 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 80113C04 00110B64 80 98 08 4C */ lwz r4, 0x84c(r24) +/* 80113C08 00110B68 7C 7D 1B 78 */ mr r29, r3 +/* 80113C0C 00110B6C 83 7C 00 14 */ lwz r27, 0x14(r28) +/* 80113C10 00110B70 7F 83 E3 78 */ mr r3, r28 +/* 80113C14 00110B74 83 5C 00 18 */ lwz r26, 0x18(r28) +/* 80113C18 00110B78 83 24 03 A8 */ lwz r25, 0x3a8(r4) +/* 80113C1C 00110B7C 4B F7 DC 19 */ bl GetIsVisorTransitioning__12CPlayerStateCFv +/* 80113C20 00110B80 FC 20 F8 90 */ fmr f1, f31 +/* 80113C24 00110B84 7C 7E 1B 78 */ mr r30, r3 +/* 80113C28 00110B88 7F E3 FB 78 */ mr r3, r31 +/* 80113C2C 00110B8C 7F 04 C3 78 */ mr r4, r24 +/* 80113C30 00110B90 4B FF ED 19 */ bl UpdateScanWindow__12CPlayerVisorFfRC13CStateManager +/* 80113C34 00110B94 80 1F 00 20 */ lwz r0, 0x20(r31) +/* 80113C38 00110B98 7C 1A 00 00 */ cmpw r26, r0 +/* 80113C3C 00110B9C 41 82 00 08 */ beq lbl_80113C44 +/* 80113C40 00110BA0 93 5F 00 20 */ stw r26, 0x20(r31) +lbl_80113C44: +/* 80113C44 00110BA4 7F E3 FB 78 */ mr r3, r31 +/* 80113C48 00110BA8 4B FF F1 31 */ bl LockUnlockAssets__12CPlayerVisorFQ212CPlayerState12EPlayerVisorQ212CPlayerState12EPlayerVisor +/* 80113C4C 00110BAC 2C 19 00 02 */ cmpwi r25, 2 +/* 80113C50 00110BB0 40 82 00 38 */ bne lbl_80113C88 +/* 80113C54 00110BB4 C0 42 96 08 */ lfs f2, lbl_805AB328@sda21(r2) +/* 80113C58 00110BB8 C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 80113C5C 00110BBC C0 0D 8A 30 */ lfs f0, lbl_805A75F0@sda21(r13) +/* 80113C60 00110BC0 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 +/* 80113C64 00110BC4 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80113C68 00110BC8 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80113C6C 00110BCC 40 80 00 0C */ bge lbl_80113C78 +/* 80113C70 00110BD0 38 61 00 28 */ addi r3, r1, 0x28 +/* 80113C74 00110BD4 48 00 00 08 */ b lbl_80113C7C +lbl_80113C78: +/* 80113C78 00110BD8 38 6D 8A 30 */ addi r3, r13, lbl_805A75F0@sda21 +lbl_80113C7C: +/* 80113C7C 00110BDC C0 03 00 00 */ lfs f0, 0(r3) +/* 80113C80 00110BE0 D0 1F 00 2C */ stfs f0, 0x2c(r31) +/* 80113C84 00110BE4 48 00 00 34 */ b lbl_80113CB8 +lbl_80113C88: +/* 80113C88 00110BE8 C0 42 96 08 */ lfs f2, lbl_805AB328@sda21(r2) +/* 80113C8C 00110BEC C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 80113C90 00110BF0 C0 0D 8A 34 */ lfs f0, lbl_805A75F4@sda21(r13) +/* 80113C94 00110BF4 EC 22 0F FA */ fmadds f1, f2, f31, f1 +/* 80113C98 00110BF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80113C9C 00110BFC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 80113CA0 00110C00 40 80 00 0C */ bge lbl_80113CAC +/* 80113CA4 00110C04 38 61 00 24 */ addi r3, r1, 0x24 +/* 80113CA8 00110C08 48 00 00 08 */ b lbl_80113CB0 +lbl_80113CAC: +/* 80113CAC 00110C0C 38 6D 8A 34 */ addi r3, r13, lbl_805A75F4@sda21 +lbl_80113CB0: +/* 80113CB0 00110C10 C0 03 00 00 */ lfs f0, 0(r3) +/* 80113CB4 00110C14 D0 1F 00 2C */ stfs f0, 0x2c(r31) +lbl_80113CB8: +/* 80113CB8 00110C18 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80113CBC 00110C1C 41 82 00 54 */ beq lbl_80113D10 +/* 80113CC0 00110C20 88 1F 00 25 */ lbz r0, 0x25(r31) +/* 80113CC4 00110C24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80113CC8 00110C28 40 82 00 0C */ bne lbl_80113CD4 +/* 80113CCC 00110C2C 7F E3 FB 78 */ mr r3, r31 +/* 80113CD0 00110C30 48 00 05 A5 */ bl BeginTransitionOut__12CPlayerVisorFv +lbl_80113CD4: +/* 80113CD4 00110C34 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80113CD8 00110C38 7C 1B 00 00 */ cmpw r27, r0 +/* 80113CDC 00110C3C 41 82 00 20 */ beq lbl_80113CFC +/* 80113CE0 00110C40 7F E3 FB 78 */ mr r3, r31 +/* 80113CE4 00110C44 7F 04 C3 78 */ mr r4, r24 +/* 80113CE8 00110C48 48 00 04 F5 */ bl FinishTransitionOut__12CPlayerVisorFRC13CStateManager +/* 80113CEC 00110C4C 93 7F 00 1C */ stw r27, 0x1c(r31) +/* 80113CF0 00110C50 7F E3 FB 78 */ mr r3, r31 +/* 80113CF4 00110C54 7F 04 C3 78 */ mr r4, r24 +/* 80113CF8 00110C58 48 00 03 D5 */ bl BeginTransitionIn__12CPlayerVisorFRC13CStateManager +lbl_80113CFC: +/* 80113CFC 00110C5C 7F 83 E3 78 */ mr r3, r28 +/* 80113D00 00110C60 4B F7 DB 65 */ bl GetVisorTransitionFactor__12CPlayerStateCFv +/* 80113D04 00110C64 7F E3 FB 78 */ mr r3, r31 +/* 80113D08 00110C68 48 00 01 81 */ bl UpdateCurrentVisor__12CPlayerVisorFf +/* 80113D0C 00110C6C 48 00 00 60 */ b lbl_80113D6C +lbl_80113D10: +/* 80113D10 00110C70 88 1F 00 25 */ lbz r0, 0x25(r31) +/* 80113D14 00110C74 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80113D18 00110C78 41 82 00 10 */ beq lbl_80113D28 +/* 80113D1C 00110C7C 7F E3 FB 78 */ mr r3, r31 +/* 80113D20 00110C80 48 00 02 2D */ bl FinishTransitionIn__12CPlayerVisorFv +/* 80113D24 00110C84 48 00 00 48 */ b lbl_80113D6C +lbl_80113D28: +/* 80113D28 00110C88 2C 1B 00 02 */ cmpwi r27, 2 +/* 80113D2C 00110C8C 40 82 00 40 */ bne lbl_80113D6C +/* 80113D30 00110C90 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) +/* 80113D34 00110C94 38 61 00 20 */ addi r3, r1, 0x20 +/* 80113D38 00110C98 C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 80113D3C 00110C9C 38 85 00 D8 */ addi r4, r5, 0xd8 +/* 80113D40 00110CA0 38 A5 00 D4 */ addi r5, r5, 0xd4 +/* 80113D44 00110CA4 48 24 F5 69 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80113D48 00110CA8 80 01 00 20 */ lwz r0, 0x20(r1) +/* 80113D4C 00110CAC 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80113D50 00110CB0 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80113D54 00110CB4 38 C1 00 30 */ addi r6, r1, 0x30 +/* 80113D58 00110CB8 90 01 00 30 */ stw r0, 0x30(r1) +/* 80113D5C 00110CBC 38 80 00 01 */ li r4, 1 +/* 80113D60 00110CC0 38 A0 00 00 */ li r5, 0 +/* 80113D64 00110CC4 38 E0 FF FF */ li r7, -1 +/* 80113D68 00110CC8 4B FD 96 39 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +lbl_80113D6C: +/* 80113D6C 00110CCC 88 1F 00 25 */ lbz r0, 0x25(r31) +/* 80113D70 00110CD0 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 +/* 80113D74 00110CD4 98 1F 00 25 */ stb r0, 0x25(r31) +/* 80113D78 00110CD8 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 80113D7C 00110CDC 7C 1D 00 00 */ cmpw r29, r0 +/* 80113D80 00110CE0 41 82 00 44 */ beq lbl_80113DC4 +/* 80113D84 00110CE4 88 1F 00 24 */ lbz r0, 0x24(r31) +/* 80113D88 00110CE8 28 00 00 00 */ cmplwi r0, 0 +/* 80113D8C 00110CEC 41 82 00 74 */ beq lbl_80113E00 +/* 80113D90 00110CF0 38 00 00 00 */ li r0, 0 +/* 80113D94 00110CF4 38 61 00 1C */ addi r3, r1, 0x1c +/* 80113D98 00110CF8 98 1F 00 24 */ stb r0, 0x24(r31) +/* 80113D9C 00110CFC 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80113DA0 00110D00 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80113DA4 00110D04 88 9F 00 24 */ lbz r4, 0x24(r31) +/* 80113DA8 00110D08 48 1D 5E B1 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 80113DAC 00110D0C 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80113DB0 00110D10 38 61 00 18 */ addi r3, r1, 0x18 +/* 80113DB4 00110D14 90 01 00 18 */ stw r0, 0x18(r1) +/* 80113DB8 00110D18 88 9F 00 24 */ lbz r4, 0x24(r31) +/* 80113DBC 00110D1C 48 1D 5E 9D */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 80113DC0 00110D20 48 00 00 40 */ b lbl_80113E00 +lbl_80113DC4: +/* 80113DC4 00110D24 88 1F 00 24 */ lbz r0, 0x24(r31) +/* 80113DC8 00110D28 28 00 00 7F */ cmplwi r0, 0x7f +/* 80113DCC 00110D2C 41 82 00 34 */ beq lbl_80113E00 +/* 80113DD0 00110D30 38 00 00 7F */ li r0, 0x7f +/* 80113DD4 00110D34 38 61 00 14 */ addi r3, r1, 0x14 +/* 80113DD8 00110D38 98 1F 00 24 */ stb r0, 0x24(r31) +/* 80113DDC 00110D3C 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80113DE0 00110D40 90 01 00 14 */ stw r0, 0x14(r1) +/* 80113DE4 00110D44 88 9F 00 24 */ lbz r4, 0x24(r31) +/* 80113DE8 00110D48 48 1D 5E 71 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +/* 80113DEC 00110D4C 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80113DF0 00110D50 38 61 00 10 */ addi r3, r1, 0x10 +/* 80113DF4 00110D54 90 01 00 10 */ stw r0, 0x10(r1) +/* 80113DF8 00110D58 88 9F 00 24 */ lbz r4, 0x24(r31) +/* 80113DFC 00110D5C 48 1D 5E 5D */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc +lbl_80113E00: +/* 80113E00 00110D60 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) +/* 80113E04 00110D64 C0 23 02 68 */ lfs f1, 0x268(r3) +/* 80113E08 00110D68 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 80113E0C 00110D6C C0 5F 00 58 */ lfs f2, 0x58(r31) +/* 80113E10 00110D70 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 80113E14 00110D74 40 80 00 30 */ bge lbl_80113E44 +/* 80113E18 00110D78 C0 02 96 08 */ lfs f0, lbl_805AB328@sda21(r2) +/* 80113E1C 00110D7C EC 00 17 FA */ fmadds f0, f0, f31, f2 +/* 80113E20 00110D80 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80113E24 00110D84 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 80113E28 00110D88 40 80 00 0C */ bge lbl_80113E34 +/* 80113E2C 00110D8C 38 61 00 0C */ addi r3, r1, 0xc +/* 80113E30 00110D90 48 00 00 08 */ b lbl_80113E38 +lbl_80113E34: +/* 80113E34 00110D94 38 61 00 2C */ addi r3, r1, 0x2c +lbl_80113E38: +/* 80113E38 00110D98 C0 03 00 00 */ lfs f0, 0(r3) +/* 80113E3C 00110D9C D0 1F 00 58 */ stfs f0, 0x58(r31) +/* 80113E40 00110DA0 48 00 00 2C */ b lbl_80113E6C +lbl_80113E44: +/* 80113E44 00110DA4 C0 02 96 08 */ lfs f0, lbl_805AB328@sda21(r2) +/* 80113E48 00110DA8 EC 00 17 FC */ fnmsubs f0, f0, f31, f2 +/* 80113E4C 00110DAC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80113E50 00110DB0 D0 01 00 08 */ stfs f0, 8(r1) +/* 80113E54 00110DB4 40 80 00 0C */ bge lbl_80113E60 +/* 80113E58 00110DB8 38 61 00 08 */ addi r3, r1, 8 +/* 80113E5C 00110DBC 48 00 00 08 */ b lbl_80113E64 +lbl_80113E60: +/* 80113E60 00110DC0 38 61 00 2C */ addi r3, r1, 0x2c +lbl_80113E64: +/* 80113E64 00110DC4 C0 03 00 00 */ lfs f0, 0(r3) +/* 80113E68 00110DC8 D0 1F 00 58 */ stfs f0, 0x58(r31) +lbl_80113E6C: +/* 80113E6C 00110DCC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80113E70 00110DD0 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80113E74 00110DD4 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 80113E78 00110DD8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80113E7C 00110DDC 7C 08 03 A6 */ mtlr r0 +/* 80113E80 00110DE0 38 21 00 70 */ addi r1, r1, 0x70 +/* 80113E84 00110DE4 4E 80 00 20 */ blr + +.global UpdateCurrentVisor__12CPlayerVisorFf +UpdateCurrentVisor__12CPlayerVisorFf: +/* 80113E88 00110DE8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80113E8C 00110DEC 7C 08 02 A6 */ mflr r0 +/* 80113E90 00110DF0 90 01 00 34 */ stw r0, 0x34(r1) +/* 80113E94 00110DF4 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 80113E98 00110DF8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 80113E9C 00110DFC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80113EA0 00110E00 7C 7F 1B 78 */ mr r31, r3 +/* 80113EA4 00110E04 FF E0 08 90 */ fmr f31, f1 +/* 80113EA8 00110E08 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80113EAC 00110E0C 2C 00 00 02 */ cmpwi r0, 2 +/* 80113EB0 00110E10 41 82 00 3C */ beq lbl_80113EEC +/* 80113EB4 00110E14 40 80 00 7C */ bge lbl_80113F30 +/* 80113EB8 00110E18 2C 00 00 00 */ cmpwi r0, 0 +/* 80113EBC 00110E1C 41 82 00 74 */ beq lbl_80113F30 +/* 80113EC0 00110E20 40 80 00 0C */ bge lbl_80113ECC +/* 80113EC4 00110E24 48 00 00 6C */ b lbl_80113F30 +/* 80113EC8 00110E28 48 00 00 68 */ b lbl_80113F30 +lbl_80113ECC: +/* 80113ECC 00110E2C C0 02 96 40 */ lfs f0, lbl_805AB360@sda21(r2) +/* 80113ED0 00110E30 38 7F 00 90 */ addi r3, r31, 0x90 +/* 80113ED4 00110E34 C0 42 95 C8 */ lfs f2, lbl_805AB2E8@sda21(r2) +/* 80113ED8 00110E38 38 80 00 03 */ li r4, 3 +/* 80113EDC 00110E3C EC 20 07 F2 */ fmuls f1, f0, f31 +/* 80113EE0 00110E40 38 A0 00 00 */ li r5, 0 +/* 80113EE4 00110E44 4B FD 7A C1 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb +/* 80113EE8 00110E48 48 00 00 48 */ b lbl_80113F30 +lbl_80113EEC: +/* 80113EEC 00110E4C 48 23 60 C1 */ bl White__6CColorFv +/* 80113EF0 00110E50 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 80113EF4 00110E54 7C 65 1B 78 */ mr r5, r3 +/* 80113EF8 00110E58 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) +/* 80113EFC 00110E5C 38 61 00 08 */ addi r3, r1, 8 +/* 80113F00 00110E60 EC 20 F8 28 */ fsubs f1, f0, f31 +/* 80113F04 00110E64 38 84 00 D4 */ addi r4, r4, 0xd4 +/* 80113F08 00110E68 48 24 F3 A5 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80113F0C 00110E6C 80 01 00 08 */ lwz r0, 8(r1) +/* 80113F10 00110E70 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80113F14 00110E74 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80113F18 00110E78 38 C1 00 0C */ addi r6, r1, 0xc +/* 80113F1C 00110E7C 90 01 00 0C */ stw r0, 0xc(r1) +/* 80113F20 00110E80 38 80 00 01 */ li r4, 1 +/* 80113F24 00110E84 38 A0 00 00 */ li r5, 0 +/* 80113F28 00110E88 38 E0 FF FF */ li r7, -1 +/* 80113F2C 00110E8C 4B FD 94 75 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +lbl_80113F30: +/* 80113F30 00110E90 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 80113F34 00110E94 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80113F38 00110E98 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 80113F3C 00110E9C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80113F40 00110EA0 7C 08 03 A6 */ mtlr r0 +/* 80113F44 00110EA4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80113F48 00110EA8 4E 80 00 20 */ blr + +.global FinishTransitionIn__12CPlayerVisorFv +FinishTransitionIn__12CPlayerVisorFv: +/* 80113F4C 00110EAC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80113F50 00110EB0 7C 08 02 A6 */ mflr r0 +/* 80113F54 00110EB4 90 01 00 34 */ stw r0, 0x34(r1) +/* 80113F58 00110EB8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80113F5C 00110EBC 7C 7F 1B 78 */ mr r31, r3 +/* 80113F60 00110EC0 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 80113F64 00110EC4 2C 00 00 02 */ cmpwi r0, 2 +/* 80113F68 00110EC8 41 82 00 90 */ beq lbl_80113FF8 +/* 80113F6C 00110ECC 40 80 00 14 */ bge lbl_80113F80 +/* 80113F70 00110ED0 2C 00 00 00 */ cmpwi r0, 0 +/* 80113F74 00110ED4 41 82 00 18 */ beq lbl_80113F8C +/* 80113F78 00110ED8 40 80 00 24 */ bge lbl_80113F9C +/* 80113F7C 00110EDC 48 00 01 3C */ b lbl_801140B8 +lbl_80113F80: +/* 80113F80 00110EE0 2C 00 00 04 */ cmpwi r0, 4 +/* 80113F84 00110EE4 40 80 01 34 */ bge lbl_801140B8 +/* 80113F88 00110EE8 48 00 00 F0 */ b lbl_80114078 +lbl_80113F8C: +/* 80113F8C 00110EEC C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80113F90 00110EF0 38 7F 00 90 */ addi r3, r31, 0x90 +/* 80113F94 00110EF4 4B FD 79 E1 */ bl DisableBlur__15CCameraBlurPassFf +/* 80113F98 00110EF8 48 00 01 20 */ b lbl_801140B8 +lbl_80113F9C: +/* 80113F9C 00110EFC C0 22 96 40 */ lfs f1, lbl_805AB360@sda21(r2) +/* 80113FA0 00110F00 38 7F 00 90 */ addi r3, r31, 0x90 +/* 80113FA4 00110F04 C0 42 95 C8 */ lfs f2, lbl_805AB2E8@sda21(r2) +/* 80113FA8 00110F08 38 80 00 03 */ li r4, 3 +/* 80113FAC 00110F0C 38 A0 00 00 */ li r5, 0 +/* 80113FB0 00110F10 4B FD 79 F5 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb +/* 80113FB4 00110F14 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80113FB8 00110F18 28 00 00 00 */ cmplwi r0, 0 +/* 80113FBC 00110F1C 40 82 00 FC */ bne lbl_801140B8 +/* 80113FC0 00110F20 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 80113FC4 00110F24 38 61 00 14 */ addi r3, r1, 0x14 +/* 80113FC8 00110F28 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 80113FCC 00110F2C 38 80 05 68 */ li r4, 0x568 +/* 80113FD0 00110F30 38 06 00 10 */ addi r0, r6, 0x10 +/* 80113FD4 00110F34 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80113FD8 00110F38 7C 08 07 34 */ extsh r8, r0 +/* 80113FDC 00110F3C 38 C0 00 40 */ li r6, 0x40 +/* 80113FE0 00110F40 38 E0 00 00 */ li r7, 0 +/* 80113FE4 00110F44 39 20 00 01 */ li r9, 1 +/* 80113FE8 00110F48 48 1D 5D 8D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80113FEC 00110F4C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80113FF0 00110F50 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 80113FF4 00110F54 48 00 00 C4 */ b lbl_801140B8 +lbl_80113FF8: +/* 80113FF8 00110F58 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) +/* 80113FFC 00110F5C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80114000 00110F60 C0 3F 00 2C */ lfs f1, 0x2c(r31) +/* 80114004 00110F64 38 85 00 D8 */ addi r4, r5, 0xd8 +/* 80114008 00110F68 38 A5 00 D4 */ addi r5, r5, 0xd4 +/* 8011400C 00110F6C 48 24 F2 A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 80114010 00110F70 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80114014 00110F74 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80114018 00110F78 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 8011401C 00110F7C 38 C1 00 18 */ addi r6, r1, 0x18 +/* 80114020 00110F80 90 01 00 18 */ stw r0, 0x18(r1) +/* 80114024 00110F84 38 80 00 01 */ li r4, 1 +/* 80114028 00110F88 38 A0 00 00 */ li r5, 0 +/* 8011402C 00110F8C 38 E0 FF FF */ li r7, -1 +/* 80114030 00110F90 4B FD 93 71 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +/* 80114034 00110F94 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80114038 00110F98 28 00 00 00 */ cmplwi r0, 0 +/* 8011403C 00110F9C 40 82 00 7C */ bne lbl_801140B8 +/* 80114040 00110FA0 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 80114044 00110FA4 38 61 00 0C */ addi r3, r1, 0xc +/* 80114048 00110FA8 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 8011404C 00110FAC 38 80 05 7C */ li r4, 0x57c +/* 80114050 00110FB0 38 06 00 10 */ addi r0, r6, 0x10 +/* 80114054 00110FB4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80114058 00110FB8 7C 08 07 34 */ extsh r8, r0 +/* 8011405C 00110FBC 38 C0 00 40 */ li r6, 0x40 +/* 80114060 00110FC0 38 E0 00 00 */ li r7, 0 +/* 80114064 00110FC4 39 20 00 01 */ li r9, 1 +/* 80114068 00110FC8 48 1D 5D 0D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 8011406C 00110FCC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 80114070 00110FD0 90 1F 00 5C */ stw r0, 0x5c(r31) +/* 80114074 00110FD4 48 00 00 44 */ b lbl_801140B8 +lbl_80114078: +/* 80114078 00110FD8 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 8011407C 00110FDC 28 00 00 00 */ cmplwi r0, 0 +/* 80114080 00110FE0 40 82 00 38 */ bne lbl_801140B8 +/* 80114084 00110FE4 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) +/* 80114088 00110FE8 38 61 00 08 */ addi r3, r1, 8 +/* 8011408C 00110FEC 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 80114090 00110FF0 38 80 05 6C */ li r4, 0x56c +/* 80114094 00110FF4 38 06 00 10 */ addi r0, r6, 0x10 +/* 80114098 00110FF8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 8011409C 00110FFC 7C 08 07 34 */ extsh r8, r0 +/* 801140A0 00111000 38 C0 00 40 */ li r6, 0x40 +/* 801140A4 00111004 38 E0 00 00 */ li r7, 0 +/* 801140A8 00111008 39 20 00 01 */ li r9, 1 +/* 801140AC 0011100C 48 1D 5C C9 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 801140B0 00111010 80 01 00 08 */ lwz r0, 8(r1) +/* 801140B4 00111014 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_801140B8: +/* 801140B8 00111018 80 01 00 34 */ lwz r0, 0x34(r1) +/* 801140BC 0011101C 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 801140C0 00111020 7C 08 03 A6 */ mtlr r0 +/* 801140C4 00111024 38 21 00 30 */ addi r1, r1, 0x30 +/* 801140C8 00111028 4E 80 00 20 */ blr + +.global BeginTransitionIn__12CPlayerVisorFRC13CStateManager +BeginTransitionIn__12CPlayerVisorFRC13CStateManager: +/* 801140CC 0011102C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 801140D0 00111030 7C 08 02 A6 */ mflr r0 +/* 801140D4 00111034 90 01 00 24 */ stw r0, 0x24(r1) +/* 801140D8 00111038 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 801140DC 0011103C 7C 7F 1B 78 */ mr r31, r3 +/* 801140E0 00111040 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 801140E4 00111044 2C 00 00 02 */ cmpwi r0, 2 +/* 801140E8 00111048 41 82 00 74 */ beq lbl_8011415C +/* 801140EC 0011104C 40 80 00 14 */ bge lbl_80114100 +/* 801140F0 00111050 2C 00 00 00 */ cmpwi r0, 0 +/* 801140F4 00111054 41 82 00 D4 */ beq lbl_801141C8 +/* 801140F8 00111058 40 80 00 14 */ bge lbl_8011410C +/* 801140FC 0011105C 48 00 00 CC */ b lbl_801141C8 +lbl_80114100: +/* 80114100 00111060 2C 00 00 04 */ cmpwi r0, 4 +/* 80114104 00111064 40 80 00 C4 */ bge lbl_801141C8 +/* 80114108 00111068 48 00 00 9C */ b lbl_801141A4 +lbl_8011410C: +/* 8011410C 0011106C C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80114110 00111070 38 7F 00 90 */ addi r3, r31, 0x90 +/* 80114114 00111074 38 80 00 03 */ li r4, 3 +/* 80114118 00111078 38 A0 00 00 */ li r5, 0 +/* 8011411C 0011107C FC 40 08 90 */ fmr f2, f1 +/* 80114120 00111080 4B FD 78 85 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb +/* 80114124 00111084 C0 22 90 D0 */ lfs f1, lbl_805AADF0@sda21(r2) +/* 80114128 00111088 38 61 00 10 */ addi r3, r1, 0x10 +/* 8011412C 0011108C C0 02 90 D4 */ lfs f0, lbl_805AADF4@sda21(r2) +/* 80114130 00111090 38 80 05 67 */ li r4, 0x567 +/* 80114134 00111094 D0 3F 00 C4 */ stfs f1, 0xc4(r31) +/* 80114138 00111098 38 C0 00 40 */ li r6, 0x40 +/* 8011413C 0011109C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80114140 001110A0 38 E0 00 00 */ li r7, 0 +/* 80114144 001110A4 D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 80114148 001110A8 39 20 00 00 */ li r9, 0 +/* 8011414C 001110AC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80114150 001110B0 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 80114154 001110B4 48 1D 5C 21 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80114158 001110B8 48 00 00 70 */ b lbl_801141C8 +lbl_8011415C: +/* 8011415C 001110BC 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 80114160 001110C0 38 61 00 0C */ addi r3, r1, 0xc +/* 80114164 001110C4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80114168 001110C8 38 80 05 67 */ li r4, 0x567 +/* 8011416C 001110CC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80114170 001110D0 38 C0 00 40 */ li r6, 0x40 +/* 80114174 001110D4 38 E0 00 00 */ li r7, 0 +/* 80114178 001110D8 39 20 00 00 */ li r9, 0 +/* 8011417C 001110DC 48 1D 5B F9 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80114180 001110E0 48 23 5E 2D */ bl White__6CColorFv +/* 80114184 001110E4 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80114188 001110E8 7C 66 1B 78 */ mr r6, r3 +/* 8011418C 001110EC 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80114190 001110F0 38 80 00 01 */ li r4, 1 +/* 80114194 001110F4 38 A0 00 00 */ li r5, 0 +/* 80114198 001110F8 38 E0 FF FF */ li r7, -1 +/* 8011419C 001110FC 4B FD 92 05 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +/* 801141A0 00111100 48 00 00 28 */ b lbl_801141C8 +lbl_801141A4: +/* 801141A4 00111104 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 801141A8 00111108 38 61 00 08 */ addi r3, r1, 8 +/* 801141AC 0011110C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 801141B0 00111110 38 80 05 67 */ li r4, 0x567 +/* 801141B4 00111114 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 801141B8 00111118 38 C0 00 40 */ li r6, 0x40 +/* 801141BC 0011111C 38 E0 00 00 */ li r7, 0 +/* 801141C0 00111120 39 20 00 00 */ li r9, 0 +/* 801141C4 00111124 48 1D 5B B1 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_801141C8: +/* 801141C8 00111128 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801141CC 0011112C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801141D0 00111130 7C 08 03 A6 */ mtlr r0 +/* 801141D4 00111134 38 21 00 20 */ addi r1, r1, 0x20 +/* 801141D8 00111138 4E 80 00 20 */ blr + +.global FinishTransitionOut__12CPlayerVisorFRC13CStateManager +FinishTransitionOut__12CPlayerVisorFRC13CStateManager: +/* 801141DC 0011113C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801141E0 00111140 7C 08 02 A6 */ mflr r0 +/* 801141E4 00111144 90 01 00 14 */ stw r0, 0x14(r1) +/* 801141E8 00111148 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801141EC 0011114C 7C 7F 1B 78 */ mr r31, r3 +/* 801141F0 00111150 80 03 00 1C */ lwz r0, 0x1c(r3) +/* 801141F4 00111154 2C 00 00 02 */ cmpwi r0, 2 +/* 801141F8 00111158 41 82 00 40 */ beq lbl_80114238 +/* 801141FC 0011115C 40 80 00 14 */ bge lbl_80114210 +/* 80114200 00111160 2C 00 00 00 */ cmpwi r0, 0 +/* 80114204 00111164 41 82 00 5C */ beq lbl_80114260 +/* 80114208 00111168 40 80 00 14 */ bge lbl_8011421C +/* 8011420C 0011116C 48 00 00 54 */ b lbl_80114260 +lbl_80114210: +/* 80114210 00111170 2C 00 00 04 */ cmpwi r0, 4 +/* 80114214 00111174 40 80 00 4C */ bge lbl_80114260 +/* 80114218 00111178 48 00 00 3C */ b lbl_80114254 +lbl_8011421C: +/* 8011421C 0011117C C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80114220 00111180 38 7F 00 90 */ addi r3, r31, 0x90 +/* 80114224 00111184 4B FD 77 51 */ bl DisableBlur__15CCameraBlurPassFf +/* 80114228 00111188 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 8011422C 0011118C D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 80114230 00111190 D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 80114234 00111194 48 00 00 2C */ b lbl_80114260 +lbl_80114238: +/* 80114238 00111198 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 8011423C 0011119C 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80114240 001111A0 4B FD 91 29 */ bl DisableFilter__17CCameraFilterPassFf +/* 80114244 001111A4 38 00 00 00 */ li r0, 0 +/* 80114248 001111A8 90 1F 00 34 */ stw r0, 0x34(r31) +/* 8011424C 001111AC 90 1F 00 30 */ stw r0, 0x30(r31) +/* 80114250 001111B0 48 00 00 10 */ b lbl_80114260 +lbl_80114254: +/* 80114254 001111B4 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) +/* 80114258 001111B8 38 7F 00 90 */ addi r3, r31, 0x90 +/* 8011425C 001111BC 4B FD 77 19 */ bl DisableBlur__15CCameraBlurPassFf +lbl_80114260: +/* 80114260 001111C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80114264 001111C4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80114268 001111C8 7C 08 03 A6 */ mtlr r0 +/* 8011426C 001111CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80114270 001111D0 4E 80 00 20 */ blr + +.global BeginTransitionOut__12CPlayerVisorFv +BeginTransitionOut__12CPlayerVisorFv: +/* 80114274 001111D4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80114278 001111D8 7C 08 02 A6 */ mflr r0 +/* 8011427C 001111DC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80114280 001111E0 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 80114284 001111E4 7C 7F 1B 78 */ mr r31, r3 +/* 80114288 001111E8 80 03 00 5C */ lwz r0, 0x5c(r3) +/* 8011428C 001111EC 28 00 00 00 */ cmplwi r0, 0 +/* 80114290 001111F0 41 82 00 1C */ beq lbl_801142AC +/* 80114294 001111F4 80 1F 00 5C */ lwz r0, 0x5c(r31) +/* 80114298 001111F8 38 61 00 18 */ addi r3, r1, 0x18 +/* 8011429C 001111FC 90 01 00 18 */ stw r0, 0x18(r1) +/* 801142A0 00111200 48 1D 5A A9 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 801142A4 00111204 38 00 00 00 */ li r0, 0 +/* 801142A8 00111208 90 1F 00 5C */ stw r0, 0x5c(r31) +lbl_801142AC: +/* 801142AC 0011120C 80 1F 00 1C */ lwz r0, 0x1c(r31) +/* 801142B0 00111210 2C 00 00 02 */ cmpwi r0, 2 +/* 801142B4 00111214 41 82 00 4C */ beq lbl_80114300 +/* 801142B8 00111218 40 80 00 14 */ bge lbl_801142CC +/* 801142BC 0011121C 2C 00 00 00 */ cmpwi r0, 0 +/* 801142C0 00111220 41 82 00 A8 */ beq lbl_80114368 +/* 801142C4 00111224 40 80 00 14 */ bge lbl_801142D8 +/* 801142C8 00111228 48 00 00 A0 */ b lbl_80114368 +lbl_801142CC: +/* 801142CC 0011122C 2C 00 00 04 */ cmpwi r0, 4 +/* 801142D0 00111230 40 80 00 98 */ bge lbl_80114368 +/* 801142D4 00111234 48 00 00 70 */ b lbl_80114344 +lbl_801142D8: +/* 801142D8 00111238 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 801142DC 0011123C 38 61 00 14 */ addi r3, r1, 0x14 +/* 801142E0 00111240 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 801142E4 00111244 38 80 05 66 */ li r4, 0x566 +/* 801142E8 00111248 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 801142EC 0011124C 38 C0 00 40 */ li r6, 0x40 +/* 801142F0 00111250 38 E0 00 00 */ li r7, 0 +/* 801142F4 00111254 39 20 00 00 */ li r9, 0 +/* 801142F8 00111258 48 1D 5A 7D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 801142FC 0011125C 48 00 00 6C */ b lbl_80114368 +lbl_80114300: +/* 80114300 00111260 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80114304 00111264 28 00 00 00 */ cmplwi r0, 0 +/* 80114308 00111268 41 82 00 14 */ beq lbl_8011431C +/* 8011430C 0011126C 80 1F 00 60 */ lwz r0, 0x60(r31) +/* 80114310 00111270 38 61 00 10 */ addi r3, r1, 0x10 +/* 80114314 00111274 90 01 00 10 */ stw r0, 0x10(r1) +/* 80114318 00111278 48 1D 5A 31 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +lbl_8011431C: +/* 8011431C 0011127C 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 80114320 00111280 38 61 00 0C */ addi r3, r1, 0xc +/* 80114324 00111284 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80114328 00111288 38 80 05 66 */ li r4, 0x566 +/* 8011432C 0011128C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80114330 00111290 38 C0 00 40 */ li r6, 0x40 +/* 80114334 00111294 38 E0 00 00 */ li r7, 0 +/* 80114338 00111298 39 20 00 00 */ li r9, 0 +/* 8011433C 0011129C 48 1D 5A 39 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 80114340 001112A0 48 00 00 28 */ b lbl_80114368 +lbl_80114344: +/* 80114344 001112A4 88 BF 00 24 */ lbz r5, 0x24(r31) +/* 80114348 001112A8 38 61 00 08 */ addi r3, r1, 8 +/* 8011434C 001112AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 80114350 001112B0 38 80 05 66 */ li r4, 0x566 +/* 80114354 001112B4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 80114358 001112B8 38 C0 00 40 */ li r6, 0x40 +/* 8011435C 001112BC 38 E0 00 00 */ li r7, 0 +/* 80114360 001112C0 39 20 00 00 */ li r9, 0 +/* 80114364 001112C4 48 1D 5A 11 */ bl SfxStart__11CSfxManagerFUsssbsbi +lbl_80114368: +/* 80114368 001112C8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8011436C 001112CC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80114370 001112D0 7C 08 03 A6 */ mtlr r0 +/* 80114374 001112D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 80114378 001112D8 4E 80 00 20 */ blr + +.global GetDesiredViewportScaleY__12CPlayerVisorCFRC13CStateManager +GetDesiredViewportScaleY__12CPlayerVisorCFRC13CStateManager: +/* 8011437C 001112DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80114380 001112E0 7C 08 02 A6 */ mflr r0 +/* 80114384 001112E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80114388 001112E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011438C 001112EC 7C 7F 1B 78 */ mr r31, r3 +/* 80114390 001112F0 80 A4 08 B8 */ lwz r5, 0x8b8(r4) +/* 80114394 001112F4 80 65 00 00 */ lwz r3, 0(r5) +/* 80114398 001112F8 4B F7 D1 C1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 8011439C 001112FC 2C 03 00 00 */ cmpwi r3, 0 +/* 801143A0 00111300 40 82 00 0C */ bne lbl_801143AC +/* 801143A4 00111304 C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) +/* 801143A8 00111308 48 00 00 08 */ b lbl_801143B0 +lbl_801143AC: +/* 801143AC 0011130C C0 3F 00 C8 */ lfs f1, 0xc8(r31) +lbl_801143B0: +/* 801143B0 00111310 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801143B4 00111314 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 801143B8 00111318 7C 08 03 A6 */ mtlr r0 +/* 801143BC 0011131C 38 21 00 10 */ addi r1, r1, 0x10 +/* 801143C0 00111320 4E 80 00 20 */ blr + +.global GetDesiredViewportScaleX__12CPlayerVisorCFRC13CStateManager +GetDesiredViewportScaleX__12CPlayerVisorCFRC13CStateManager: +/* 801143C4 00111324 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801143C8 00111328 7C 08 02 A6 */ mflr r0 +/* 801143CC 0011132C 90 01 00 14 */ stw r0, 0x14(r1) +/* 801143D0 00111330 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801143D4 00111334 7C 7F 1B 78 */ mr r31, r3 +/* 801143D8 00111338 80 A4 08 B8 */ lwz r5, 0x8b8(r4) +/* 801143DC 0011133C 80 65 00 00 */ lwz r3, 0(r5) +/* 801143E0 00111340 4B F7 D1 79 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager +/* 801143E4 00111344 2C 03 00 00 */ cmpwi r3, 0 +/* 801143E8 00111348 40 82 00 0C */ bne lbl_801143F4 +/* 801143EC 0011134C C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) +/* 801143F0 00111350 48 00 00 08 */ b lbl_801143F8 +lbl_801143F4: +/* 801143F4 00111354 C0 3F 00 C4 */ lfs f1, 0xc4(r31) +lbl_801143F8: +/* 801143F8 00111358 80 01 00 14 */ lwz r0, 0x14(r1) +/* 801143FC 0011135C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80114400 00111360 7C 08 03 A6 */ mtlr r0 +/* 80114404 00111364 38 21 00 10 */ addi r1, r1, 0x10 +/* 80114408 00111368 4E 80 00 20 */ blr + +.global __dt__12CPlayerVisorFv +__dt__12CPlayerVisorFv: +/* 8011440C 0011136C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80114410 00111370 7C 08 02 A6 */ mflr r0 +/* 80114414 00111374 90 01 00 24 */ stw r0, 0x24(r1) +/* 80114418 00111378 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8011441C 0011137C 7C 9F 23 78 */ mr r31, r4 +/* 80114420 00111380 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80114424 00111384 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80114428 00111388 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8011442C 0011138C 41 82 02 80 */ beq lbl_801146AC +/* 80114430 00111390 80 1E 00 5C */ lwz r0, 0x5c(r30) +/* 80114434 00111394 38 61 00 0C */ addi r3, r1, 0xc +/* 80114438 00111398 90 01 00 0C */ stw r0, 0xc(r1) +/* 8011443C 0011139C 48 1D 59 0D */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80114440 001113A0 80 1E 00 60 */ lwz r0, 0x60(r30) +/* 80114444 001113A4 38 61 00 08 */ addi r3, r1, 8 +/* 80114448 001113A8 90 01 00 08 */ stw r0, 8(r1) +/* 8011444C 001113AC 48 1D 58 FD */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 80114450 001113B0 34 1E 05 40 */ addic. r0, r30, 0x540 +/* 80114454 001113B4 41 82 00 18 */ beq lbl_8011446C +/* 80114458 001113B8 34 1E 05 40 */ addic. r0, r30, 0x540 +/* 8011445C 001113BC 41 82 00 10 */ beq lbl_8011446C +/* 80114460 001113C0 38 7E 05 40 */ addi r3, r30, 0x540 +/* 80114464 001113C4 38 80 00 00 */ li r4, 0 +/* 80114468 001113C8 48 22 C9 D9 */ bl __dt__6CTokenFv +lbl_8011446C: +/* 8011446C 001113CC 34 1E 01 3C */ addic. r0, r30, 0x13c +/* 80114470 001113D0 41 82 00 58 */ beq lbl_801144C8 +/* 80114474 001113D4 80 BE 01 3C */ lwz r5, 0x13c(r30) +/* 80114478 001113D8 38 60 00 00 */ li r3, 0 +/* 8011447C 001113DC 2C 05 00 00 */ cmpwi r5, 0 +/* 80114480 001113E0 40 81 00 40 */ ble lbl_801144C0 +/* 80114484 001113E4 2C 05 00 08 */ cmpwi r5, 8 +/* 80114488 001113E8 38 85 FF F8 */ addi r4, r5, -8 +/* 8011448C 001113EC 40 81 00 20 */ ble lbl_801144AC +/* 80114490 001113F0 38 04 00 07 */ addi r0, r4, 7 +/* 80114494 001113F4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80114498 001113F8 7C 09 03 A6 */ mtctr r0 +/* 8011449C 001113FC 2C 04 00 00 */ cmpwi r4, 0 +/* 801144A0 00111400 40 81 00 0C */ ble lbl_801144AC +lbl_801144A4: +/* 801144A4 00111404 38 63 00 08 */ addi r3, r3, 8 +/* 801144A8 00111408 42 00 FF FC */ bdnz lbl_801144A4 +lbl_801144AC: +/* 801144AC 0011140C 7C 03 28 50 */ subf r0, r3, r5 +/* 801144B0 00111410 7C 09 03 A6 */ mtctr r0 +/* 801144B4 00111414 7C 03 28 00 */ cmpw r3, r5 +/* 801144B8 00111418 40 80 00 08 */ bge lbl_801144C0 +lbl_801144BC: +/* 801144BC 0011141C 42 00 00 00 */ bdnz lbl_801144BC +lbl_801144C0: +/* 801144C0 00111420 38 00 00 00 */ li r0, 0 +/* 801144C4 00111424 90 1E 01 3C */ stw r0, 0x13c(r30) +lbl_801144C8: +/* 801144C8 00111428 34 1E 01 30 */ addic. r0, r30, 0x130 +/* 801144CC 0011142C 41 82 00 18 */ beq lbl_801144E4 +/* 801144D0 00111430 34 1E 01 30 */ addic. r0, r30, 0x130 +/* 801144D4 00111434 41 82 00 10 */ beq lbl_801144E4 +/* 801144D8 00111438 38 7E 01 30 */ addi r3, r30, 0x130 +/* 801144DC 0011143C 38 80 00 00 */ li r4, 0 +/* 801144E0 00111440 48 22 C9 61 */ bl __dt__6CTokenFv +lbl_801144E4: +/* 801144E4 00111444 34 1E 01 24 */ addic. r0, r30, 0x124 +/* 801144E8 00111448 41 82 00 18 */ beq lbl_80114500 +/* 801144EC 0011144C 34 1E 01 24 */ addic. r0, r30, 0x124 +/* 801144F0 00111450 41 82 00 10 */ beq lbl_80114500 +/* 801144F4 00111454 38 7E 01 24 */ addi r3, r30, 0x124 +/* 801144F8 00111458 38 80 00 00 */ li r4, 0 +/* 801144FC 0011145C 48 22 C9 45 */ bl __dt__6CTokenFv +lbl_80114500: +/* 80114500 00111460 34 1E 01 14 */ addic. r0, r30, 0x114 +/* 80114504 00111464 41 82 00 18 */ beq lbl_8011451C +/* 80114508 00111468 34 1E 01 14 */ addic. r0, r30, 0x114 +/* 8011450C 0011146C 41 82 00 10 */ beq lbl_8011451C +/* 80114510 00111470 38 7E 01 14 */ addi r3, r30, 0x114 +/* 80114514 00111474 38 80 00 00 */ li r4, 0 +/* 80114518 00111478 48 22 C9 29 */ bl __dt__6CTokenFv +lbl_8011451C: +/* 8011451C 0011147C 34 1E 01 08 */ addic. r0, r30, 0x108 +/* 80114520 00111480 41 82 00 18 */ beq lbl_80114538 +/* 80114524 00111484 34 1E 01 08 */ addic. r0, r30, 0x108 +/* 80114528 00111488 41 82 00 10 */ beq lbl_80114538 +/* 8011452C 0011148C 38 7E 01 08 */ addi r3, r30, 0x108 +/* 80114530 00111490 38 80 00 00 */ li r4, 0 +/* 80114534 00111494 48 22 C9 0D */ bl __dt__6CTokenFv +lbl_80114538: +/* 80114538 00111498 34 1E 00 FC */ addic. r0, r30, 0xfc +/* 8011453C 0011149C 41 82 00 18 */ beq lbl_80114554 +/* 80114540 001114A0 34 1E 00 FC */ addic. r0, r30, 0xfc +/* 80114544 001114A4 41 82 00 10 */ beq lbl_80114554 +/* 80114548 001114A8 38 7E 00 FC */ addi r3, r30, 0xfc +/* 8011454C 001114AC 38 80 00 00 */ li r4, 0 +/* 80114550 001114B0 48 22 C8 F1 */ bl __dt__6CTokenFv +lbl_80114554: +/* 80114554 001114B4 34 1E 00 F0 */ addic. r0, r30, 0xf0 +/* 80114558 001114B8 41 82 00 18 */ beq lbl_80114570 +/* 8011455C 001114BC 34 1E 00 F0 */ addic. r0, r30, 0xf0 +/* 80114560 001114C0 41 82 00 10 */ beq lbl_80114570 +/* 80114564 001114C4 38 7E 00 F0 */ addi r3, r30, 0xf0 +/* 80114568 001114C8 38 80 00 00 */ li r4, 0 +/* 8011456C 001114CC 48 22 C8 D5 */ bl __dt__6CTokenFv +lbl_80114570: +/* 80114570 001114D0 34 1E 00 E4 */ addic. r0, r30, 0xe4 +/* 80114574 001114D4 41 82 00 18 */ beq lbl_8011458C +/* 80114578 001114D8 34 1E 00 E4 */ addic. r0, r30, 0xe4 +/* 8011457C 001114DC 41 82 00 10 */ beq lbl_8011458C +/* 80114580 001114E0 38 7E 00 E4 */ addi r3, r30, 0xe4 +/* 80114584 001114E4 38 80 00 00 */ li r4, 0 +/* 80114588 001114E8 48 22 C8 B9 */ bl __dt__6CTokenFv +lbl_8011458C: +/* 8011458C 001114EC 34 1E 00 D8 */ addic. r0, r30, 0xd8 +/* 80114590 001114F0 41 82 00 18 */ beq lbl_801145A8 +/* 80114594 001114F4 34 1E 00 D8 */ addic. r0, r30, 0xd8 +/* 80114598 001114F8 41 82 00 10 */ beq lbl_801145A8 +/* 8011459C 001114FC 38 7E 00 D8 */ addi r3, r30, 0xd8 +/* 801145A0 00111500 38 80 00 00 */ li r4, 0 +/* 801145A4 00111504 48 22 C8 9D */ bl __dt__6CTokenFv +lbl_801145A8: +/* 801145A8 00111508 34 1E 00 CC */ addic. r0, r30, 0xcc +/* 801145AC 0011150C 41 82 00 18 */ beq lbl_801145C4 +/* 801145B0 00111510 34 1E 00 CC */ addic. r0, r30, 0xcc +/* 801145B4 00111514 41 82 00 10 */ beq lbl_801145C4 +/* 801145B8 00111518 38 7E 00 CC */ addi r3, r30, 0xcc +/* 801145BC 0011151C 38 80 00 00 */ li r4, 0 +/* 801145C0 00111520 48 22 C8 81 */ bl __dt__6CTokenFv +lbl_801145C4: +/* 801145C4 00111524 34 1E 00 90 */ addic. r0, r30, 0x90 +/* 801145C8 00111528 41 82 00 38 */ beq lbl_80114600 +/* 801145CC 0011152C 34 1E 00 90 */ addic. r0, r30, 0x90 +/* 801145D0 00111530 41 82 00 30 */ beq lbl_80114600 +/* 801145D4 00111534 88 1E 00 9C */ lbz r0, 0x9c(r30) +/* 801145D8 00111538 28 00 00 00 */ cmplwi r0, 0 +/* 801145DC 0011153C 41 82 00 1C */ beq lbl_801145F8 +/* 801145E0 00111540 34 7E 00 90 */ addic. r3, r30, 0x90 +/* 801145E4 00111544 41 82 00 14 */ beq lbl_801145F8 +/* 801145E8 00111548 28 03 00 00 */ cmplwi r3, 0 +/* 801145EC 0011154C 41 82 00 0C */ beq lbl_801145F8 +/* 801145F0 00111550 38 80 00 00 */ li r4, 0 +/* 801145F4 00111554 48 22 C8 4D */ bl __dt__6CTokenFv +lbl_801145F8: +/* 801145F8 00111558 38 00 00 00 */ li r0, 0 +/* 801145FC 0011155C 98 1E 00 9C */ stb r0, 0x9c(r30) +lbl_80114600: +/* 80114600 00111560 34 1E 00 64 */ addic. r0, r30, 0x64 +/* 80114604 00111564 41 82 00 3C */ beq lbl_80114640 +/* 80114608 00111568 34 1E 00 88 */ addic. r0, r30, 0x88 +/* 8011460C 0011156C 41 82 00 34 */ beq lbl_80114640 +/* 80114610 00111570 88 1E 00 88 */ lbz r0, 0x88(r30) +/* 80114614 00111574 28 00 00 00 */ cmplwi r0, 0 +/* 80114618 00111578 41 82 00 28 */ beq lbl_80114640 +/* 8011461C 0011157C 83 BE 00 8C */ lwz r29, 0x8c(r30) +/* 80114620 00111580 28 1D 00 00 */ cmplwi r29, 0 +/* 80114624 00111584 41 82 00 1C */ beq lbl_80114640 +/* 80114628 00111588 41 82 00 10 */ beq lbl_80114638 +/* 8011462C 0011158C 7F A3 EB 78 */ mr r3, r29 +/* 80114630 00111590 38 80 00 00 */ li r4, 0 +/* 80114634 00111594 48 22 C8 0D */ bl __dt__6CTokenFv +lbl_80114638: +/* 80114638 00111598 7F A3 EB 78 */ mr r3, r29 +/* 8011463C 0011159C 48 20 12 F5 */ bl Free__7CMemoryFPCv +lbl_80114640: +/* 80114640 001115A0 28 1E 00 00 */ cmplwi r30, 0 +/* 80114644 001115A4 41 82 00 58 */ beq lbl_8011469C +/* 80114648 001115A8 80 BE 00 00 */ lwz r5, 0(r30) +/* 8011464C 001115AC 38 60 00 00 */ li r3, 0 +/* 80114650 001115B0 2C 05 00 00 */ cmpwi r5, 0 +/* 80114654 001115B4 40 81 00 40 */ ble lbl_80114694 +/* 80114658 001115B8 2C 05 00 08 */ cmpwi r5, 8 +/* 8011465C 001115BC 38 85 FF F8 */ addi r4, r5, -8 +/* 80114660 001115C0 40 81 00 20 */ ble lbl_80114680 +/* 80114664 001115C4 38 04 00 07 */ addi r0, r4, 7 +/* 80114668 001115C8 54 00 E8 FE */ srwi r0, r0, 3 +/* 8011466C 001115CC 7C 09 03 A6 */ mtctr r0 +/* 80114670 001115D0 2C 04 00 00 */ cmpwi r4, 0 +/* 80114674 001115D4 40 81 00 0C */ ble lbl_80114680 +lbl_80114678: +/* 80114678 001115D8 38 63 00 08 */ addi r3, r3, 8 +/* 8011467C 001115DC 42 00 FF FC */ bdnz lbl_80114678 +lbl_80114680: +/* 80114680 001115E0 7C 03 28 50 */ subf r0, r3, r5 +/* 80114684 001115E4 7C 09 03 A6 */ mtctr r0 +/* 80114688 001115E8 7C 03 28 00 */ cmpw r3, r5 +/* 8011468C 001115EC 40 80 00 08 */ bge lbl_80114694 +lbl_80114690: +/* 80114690 001115F0 42 00 00 00 */ bdnz lbl_80114690 +lbl_80114694: +/* 80114694 001115F4 38 00 00 00 */ li r0, 0 +/* 80114698 001115F8 90 1E 00 00 */ stw r0, 0(r30) +lbl_8011469C: +/* 8011469C 001115FC 7F E0 07 35 */ extsh. r0, r31 +/* 801146A0 00111600 40 81 00 0C */ ble lbl_801146AC +/* 801146A4 00111604 7F C3 F3 78 */ mr r3, r30 +/* 801146A8 00111608 48 20 12 89 */ bl Free__7CMemoryFPCv +lbl_801146AC: +/* 801146AC 0011160C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801146B0 00111610 7F C3 F3 78 */ mr r3, r30 +/* 801146B4 00111614 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 801146B8 00111618 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 801146BC 0011161C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 801146C0 00111620 7C 08 03 A6 */ mtlr r0 +/* 801146C4 00111624 38 21 00 20 */ addi r1, r1, 0x20 +/* 801146C8 00111628 4E 80 00 20 */ blr + +.global __ct__12CPlayerVisorFRC13CStateManager +__ct__12CPlayerVisorFRC13CStateManager: +/* 801146CC 0011162C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 801146D0 00111630 7C 08 02 A6 */ mflr r0 +/* 801146D4 00111634 38 A0 00 00 */ li r5, 0 +/* 801146D8 00111638 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +/* 801146DC 0011163C 90 01 00 84 */ stw r0, 0x84(r1) +/* 801146E0 00111640 38 00 00 7F */ li r0, 0x7f +/* 801146E4 00111644 C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) +/* 801146E8 00111648 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 +/* 801146EC 0011164C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 801146F0 00111650 7C 7F 1B 78 */ mr r31, r3 +/* 801146F4 00111654 93 C1 00 78 */ stw r30, 0x78(r1) +/* 801146F8 00111658 90 A3 00 00 */ stw r5, 0(r3) +/* 801146FC 0011165C 90 A3 00 1C */ stw r5, 0x1c(r3) +/* 80114700 00111660 38 7F 00 64 */ addi r3, r31, 0x64 +/* 80114704 00111664 90 BF 00 20 */ stw r5, 0x20(r31) +/* 80114708 00111668 98 1F 00 24 */ stb r0, 0x24(r31) +/* 8011470C 0011166C 88 1F 00 25 */ lbz r0, 0x25(r31) +/* 80114710 00111670 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80114714 00111674 98 1F 00 25 */ stb r0, 0x25(r31) +/* 80114718 00111678 88 1F 00 25 */ lbz r0, 0x25(r31) +/* 8011471C 0011167C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 +/* 80114720 00111680 98 1F 00 25 */ stb r0, 0x25(r31) +/* 80114724 00111684 D0 1F 00 28 */ stfs f0, 0x28(r31) +/* 80114728 00111688 D0 3F 00 2C */ stfs f1, 0x2c(r31) +/* 8011472C 0011168C 90 BF 00 30 */ stw r5, 0x30(r31) +/* 80114730 00111690 90 BF 00 34 */ stw r5, 0x34(r31) +/* 80114734 00111694 D0 1F 00 38 */ stfs f0, 0x38(r31) +/* 80114738 00111698 D0 1F 00 3C */ stfs f0, 0x3c(r31) +/* 8011473C 0011169C C0 0D A8 98 */ lfs f0, lbl_805A9458@sda21(r13) +/* 80114740 001116A0 D0 1F 00 40 */ stfs f0, 0x40(r31) +/* 80114744 001116A4 C0 04 00 04 */ lfs f0, 4(r4) +/* 80114748 001116A8 D0 1F 00 44 */ stfs f0, 0x44(r31) +/* 8011474C 001116AC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80114750 001116B0 D0 1F 00 48 */ stfs f0, 0x48(r31) +/* 80114754 001116B4 C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 80114758 001116B8 D0 1F 00 4C */ stfs f0, 0x4c(r31) +/* 8011475C 001116BC C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 80114760 001116C0 D0 1F 00 50 */ stfs f0, 0x50(r31) +/* 80114764 001116C4 C0 1F 00 44 */ lfs f0, 0x44(r31) +/* 80114768 001116C8 D0 1F 00 54 */ stfs f0, 0x54(r31) +/* 8011476C 001116CC D0 3F 00 58 */ stfs f1, 0x58(r31) +/* 80114770 001116D0 90 BF 00 5C */ stw r5, 0x5c(r31) +/* 80114774 001116D4 90 BF 00 60 */ stw r5, 0x60(r31) +/* 80114778 001116D8 4B FD 90 15 */ bl __ct__17CCameraFilterPassFv +/* 8011477C 001116DC 38 7F 00 90 */ addi r3, r31, 0x90 +/* 80114780 001116E0 4B FD 78 BD */ bl __ct__15CCameraBlurPassFv +/* 80114784 001116E4 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) +/* 80114788 001116E8 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 8011478C 001116EC 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 80114790 001116F0 D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 80114794 001116F4 38 61 00 64 */ addi r3, r1, 0x64 +/* 80114798 001116F8 D0 1F 00 C8 */ stfs f0, 0xc8(r31) +/* 8011479C 001116FC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801147A0 00111700 81 84 00 00 */ lwz r12, 0(r4) +/* 801147A4 00111704 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 801147A8 00111708 7D 89 03 A6 */ mtctr r12 +/* 801147AC 0011170C 4E 80 04 21 */ bctrl +/* 801147B0 00111710 3B DF 00 CC */ addi r30, r31, 0xcc +/* 801147B4 00111714 38 81 00 64 */ addi r4, r1, 0x64 +/* 801147B8 00111718 7F C3 F3 78 */ mr r3, r30 +/* 801147BC 0011171C 48 22 C6 ED */ bl __ct__6CTokenFRC6CToken +/* 801147C0 00111720 38 00 00 00 */ li r0, 0 +/* 801147C4 00111724 38 61 00 64 */ addi r3, r1, 0x64 +/* 801147C8 00111728 90 1E 00 08 */ stw r0, 8(r30) +/* 801147CC 0011172C 38 80 FF FF */ li r4, -1 +/* 801147D0 00111730 48 22 C6 71 */ bl __dt__6CTokenFv +/* 801147D4 00111734 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801147D8 00111738 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 801147DC 0011173C 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 801147E0 00111740 38 61 00 5C */ addi r3, r1, 0x5c +/* 801147E4 00111744 81 84 00 00 */ lwz r12, 0(r4) +/* 801147E8 00111748 38 A5 00 15 */ addi r5, r5, 0x15 +/* 801147EC 0011174C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 801147F0 00111750 7D 89 03 A6 */ mtctr r12 +/* 801147F4 00111754 4E 80 04 21 */ bctrl +/* 801147F8 00111758 3B DF 00 D8 */ addi r30, r31, 0xd8 +/* 801147FC 0011175C 38 81 00 5C */ addi r4, r1, 0x5c +/* 80114800 00111760 7F C3 F3 78 */ mr r3, r30 +/* 80114804 00111764 48 22 C6 A5 */ bl __ct__6CTokenFRC6CToken +/* 80114808 00111768 38 00 00 00 */ li r0, 0 +/* 8011480C 0011176C 38 61 00 5C */ addi r3, r1, 0x5c +/* 80114810 00111770 90 1E 00 08 */ stw r0, 8(r30) +/* 80114814 00111774 38 80 FF FF */ li r4, -1 +/* 80114818 00111778 48 22 C6 29 */ bl __dt__6CTokenFv +/* 8011481C 0011177C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80114820 00111780 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 80114824 00111784 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 80114828 00111788 38 61 00 54 */ addi r3, r1, 0x54 +/* 8011482C 0011178C 81 84 00 00 */ lwz r12, 0(r4) +/* 80114830 00111790 38 A5 00 2E */ addi r5, r5, 0x2e +/* 80114834 00111794 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80114838 00111798 7D 89 03 A6 */ mtctr r12 +/* 8011483C 0011179C 4E 80 04 21 */ bctrl +/* 80114840 001117A0 3B DF 00 E4 */ addi r30, r31, 0xe4 +/* 80114844 001117A4 38 81 00 54 */ addi r4, r1, 0x54 +/* 80114848 001117A8 7F C3 F3 78 */ mr r3, r30 +/* 8011484C 001117AC 48 22 C6 5D */ bl __ct__6CTokenFRC6CToken +/* 80114850 001117B0 38 00 00 00 */ li r0, 0 +/* 80114854 001117B4 38 61 00 54 */ addi r3, r1, 0x54 +/* 80114858 001117B8 90 1E 00 08 */ stw r0, 8(r30) +/* 8011485C 001117BC 38 80 FF FF */ li r4, -1 +/* 80114860 001117C0 48 22 C5 E1 */ bl __dt__6CTokenFv +/* 80114864 001117C4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80114868 001117C8 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 8011486C 001117CC 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 80114870 001117D0 38 61 00 4C */ addi r3, r1, 0x4c +/* 80114874 001117D4 81 84 00 00 */ lwz r12, 0(r4) +/* 80114878 001117D8 38 A5 00 46 */ addi r5, r5, 0x46 +/* 8011487C 001117DC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80114880 001117E0 7D 89 03 A6 */ mtctr r12 +/* 80114884 001117E4 4E 80 04 21 */ bctrl +/* 80114888 001117E8 3B DF 00 F0 */ addi r30, r31, 0xf0 +/* 8011488C 001117EC 38 81 00 4C */ addi r4, r1, 0x4c +/* 80114890 001117F0 7F C3 F3 78 */ mr r3, r30 +/* 80114894 001117F4 48 22 C6 15 */ bl __ct__6CTokenFRC6CToken +/* 80114898 001117F8 38 00 00 00 */ li r0, 0 +/* 8011489C 001117FC 38 61 00 4C */ addi r3, r1, 0x4c +/* 801148A0 00111800 90 1E 00 08 */ stw r0, 8(r30) +/* 801148A4 00111804 38 80 FF FF */ li r4, -1 +/* 801148A8 00111808 48 22 C5 99 */ bl __dt__6CTokenFv +/* 801148AC 0011180C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801148B0 00111810 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 801148B4 00111814 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 801148B8 00111818 38 61 00 44 */ addi r3, r1, 0x44 +/* 801148BC 0011181C 81 84 00 00 */ lwz r12, 0(r4) +/* 801148C0 00111820 38 A5 00 60 */ addi r5, r5, 0x60 +/* 801148C4 00111824 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 801148C8 00111828 7D 89 03 A6 */ mtctr r12 +/* 801148CC 0011182C 4E 80 04 21 */ bctrl +/* 801148D0 00111830 3B DF 00 FC */ addi r30, r31, 0xfc +/* 801148D4 00111834 38 81 00 44 */ addi r4, r1, 0x44 +/* 801148D8 00111838 7F C3 F3 78 */ mr r3, r30 +/* 801148DC 0011183C 48 22 C5 CD */ bl __ct__6CTokenFRC6CToken +/* 801148E0 00111840 38 00 00 00 */ li r0, 0 +/* 801148E4 00111844 38 61 00 44 */ addi r3, r1, 0x44 +/* 801148E8 00111848 90 1E 00 08 */ stw r0, 8(r30) +/* 801148EC 0011184C 38 80 FF FF */ li r4, -1 +/* 801148F0 00111850 48 22 C5 51 */ bl __dt__6CTokenFv +/* 801148F4 00111854 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801148F8 00111858 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 801148FC 0011185C 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 80114900 00111860 38 61 00 3C */ addi r3, r1, 0x3c +/* 80114904 00111864 81 84 00 00 */ lwz r12, 0(r4) +/* 80114908 00111868 38 A5 00 79 */ addi r5, r5, 0x79 +/* 8011490C 0011186C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80114910 00111870 7D 89 03 A6 */ mtctr r12 +/* 80114914 00111874 4E 80 04 21 */ bctrl +/* 80114918 00111878 3B DF 01 08 */ addi r30, r31, 0x108 +/* 8011491C 0011187C 38 81 00 3C */ addi r4, r1, 0x3c +/* 80114920 00111880 7F C3 F3 78 */ mr r3, r30 +/* 80114924 00111884 48 22 C5 85 */ bl __ct__6CTokenFRC6CToken +/* 80114928 00111888 38 00 00 00 */ li r0, 0 +/* 8011492C 0011188C 38 61 00 3C */ addi r3, r1, 0x3c +/* 80114930 00111890 90 1E 00 08 */ stw r0, 8(r30) +/* 80114934 00111894 38 80 FF FF */ li r4, -1 +/* 80114938 00111898 48 22 C5 09 */ bl __dt__6CTokenFv +/* 8011493C 0011189C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80114940 001118A0 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 80114944 001118A4 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 80114948 001118A8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8011494C 001118AC 81 84 00 00 */ lwz r12, 0(r4) +/* 80114950 001118B0 38 A5 00 8A */ addi r5, r5, 0x8a +/* 80114954 001118B4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80114958 001118B8 7D 89 03 A6 */ mtctr r12 +/* 8011495C 001118BC 4E 80 04 21 */ bctrl +/* 80114960 001118C0 3B DF 01 14 */ addi r30, r31, 0x114 +/* 80114964 001118C4 38 81 00 34 */ addi r4, r1, 0x34 +/* 80114968 001118C8 7F C3 F3 78 */ mr r3, r30 +/* 8011496C 001118CC 48 22 C5 3D */ bl __ct__6CTokenFRC6CToken +/* 80114970 001118D0 38 00 00 00 */ li r0, 0 +/* 80114974 001118D4 38 61 00 34 */ addi r3, r1, 0x34 +/* 80114978 001118D8 90 1E 00 08 */ stw r0, 8(r30) +/* 8011497C 001118DC 38 80 FF FF */ li r4, -1 +/* 80114980 001118E0 48 22 C4 C1 */ bl __dt__6CTokenFv +/* 80114984 001118E4 38 00 00 00 */ li r0, 0 +/* 80114988 001118E8 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 8011498C 001118EC 90 1F 01 20 */ stw r0, 0x120(r31) +/* 80114990 001118F0 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 80114994 001118F4 38 61 00 2C */ addi r3, r1, 0x2c +/* 80114998 001118F8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 8011499C 001118FC 38 A5 00 9A */ addi r5, r5, 0x9a +/* 801149A0 00111900 81 84 00 00 */ lwz r12, 0(r4) +/* 801149A4 00111904 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 801149A8 00111908 7D 89 03 A6 */ mtctr r12 +/* 801149AC 0011190C 4E 80 04 21 */ bctrl +/* 801149B0 00111910 3B DF 01 24 */ addi r30, r31, 0x124 +/* 801149B4 00111914 38 81 00 2C */ addi r4, r1, 0x2c +/* 801149B8 00111918 7F C3 F3 78 */ mr r3, r30 +/* 801149BC 0011191C 48 22 C4 ED */ bl __ct__6CTokenFRC6CToken +/* 801149C0 00111920 38 00 00 00 */ li r0, 0 +/* 801149C4 00111924 38 61 00 2C */ addi r3, r1, 0x2c +/* 801149C8 00111928 90 1E 00 08 */ stw r0, 8(r30) +/* 801149CC 0011192C 38 80 FF FF */ li r4, -1 +/* 801149D0 00111930 48 22 C4 71 */ bl __dt__6CTokenFv +/* 801149D4 00111934 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 801149D8 00111938 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 801149DC 0011193C 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 801149E0 00111940 38 61 00 24 */ addi r3, r1, 0x24 +/* 801149E4 00111944 81 84 00 00 */ lwz r12, 0(r4) +/* 801149E8 00111948 38 A5 00 B3 */ addi r5, r5, 0xb3 +/* 801149EC 0011194C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 801149F0 00111950 7D 89 03 A6 */ mtctr r12 +/* 801149F4 00111954 4E 80 04 21 */ bctrl +/* 801149F8 00111958 3B DF 01 30 */ addi r30, r31, 0x130 +/* 801149FC 0011195C 38 81 00 24 */ addi r4, r1, 0x24 +/* 80114A00 00111960 7F C3 F3 78 */ mr r3, r30 +/* 80114A04 00111964 48 22 C4 A5 */ bl __ct__6CTokenFRC6CToken +/* 80114A08 00111968 38 00 00 00 */ li r0, 0 +/* 80114A0C 0011196C 38 61 00 24 */ addi r3, r1, 0x24 +/* 80114A10 00111970 90 1E 00 08 */ stw r0, 8(r30) +/* 80114A14 00111974 38 80 FF FF */ li r4, -1 +/* 80114A18 00111978 48 22 C4 29 */ bl __dt__6CTokenFv +/* 80114A1C 0011197C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80114A20 00111980 38 A0 00 40 */ li r5, 0x40 +/* 80114A24 00111984 38 C0 00 00 */ li r6, 0 +/* 80114A28 00111988 38 00 00 08 */ li r0, 8 +/* 80114A2C 0011198C 7C C3 33 78 */ mr r3, r6 +/* 80114A30 00111990 B0 81 00 08 */ sth r4, 8(r1) +/* 80114A34 00111994 38 FF 01 40 */ addi r7, r31, 0x140 +/* 80114A38 00111998 54 84 04 3E */ clrlwi r4, r4, 0x10 +/* 80114A3C 0011199C 90 BF 01 3C */ stw r5, 0x13c(r31) +/* 80114A40 001119A0 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +/* 80114A44 001119A4 7C 09 03 A6 */ mtctr r0 +lbl_80114A48: +/* 80114A48 001119A8 28 07 00 00 */ cmplwi r7, 0 +/* 80114A4C 001119AC 41 82 00 14 */ beq lbl_80114A60 +/* 80114A50 001119B0 B0 87 00 00 */ sth r4, 0(r7) +/* 80114A54 001119B4 D0 07 00 04 */ stfs f0, 4(r7) +/* 80114A58 001119B8 D0 07 00 08 */ stfs f0, 8(r7) +/* 80114A5C 001119BC 98 67 00 0C */ stb r3, 0xc(r7) +lbl_80114A60: +/* 80114A60 001119C0 34 E7 00 10 */ addic. r7, r7, 0x10 +/* 80114A64 001119C4 41 82 00 14 */ beq lbl_80114A78 +/* 80114A68 001119C8 B0 87 00 00 */ sth r4, 0(r7) +/* 80114A6C 001119CC D0 07 00 04 */ stfs f0, 4(r7) +/* 80114A70 001119D0 D0 07 00 08 */ stfs f0, 8(r7) +/* 80114A74 001119D4 98 67 00 0C */ stb r3, 0xc(r7) +lbl_80114A78: +/* 80114A78 001119D8 34 E7 00 10 */ addic. r7, r7, 0x10 +/* 80114A7C 001119DC 41 82 00 14 */ beq lbl_80114A90 +/* 80114A80 001119E0 B0 87 00 00 */ sth r4, 0(r7) +/* 80114A84 001119E4 D0 07 00 04 */ stfs f0, 4(r7) +/* 80114A88 001119E8 D0 07 00 08 */ stfs f0, 8(r7) +/* 80114A8C 001119EC 98 67 00 0C */ stb r3, 0xc(r7) +lbl_80114A90: +/* 80114A90 001119F0 34 E7 00 10 */ addic. r7, r7, 0x10 +/* 80114A94 001119F4 41 82 00 14 */ beq lbl_80114AA8 +/* 80114A98 001119F8 B0 87 00 00 */ sth r4, 0(r7) +/* 80114A9C 001119FC D0 07 00 04 */ stfs f0, 4(r7) +/* 80114AA0 00111A00 D0 07 00 08 */ stfs f0, 8(r7) +/* 80114AA4 00111A04 98 67 00 0C */ stb r3, 0xc(r7) +lbl_80114AA8: +/* 80114AA8 00111A08 34 E7 00 10 */ addic. r7, r7, 0x10 +/* 80114AAC 00111A0C 41 82 00 14 */ beq lbl_80114AC0 +/* 80114AB0 00111A10 B0 87 00 00 */ sth r4, 0(r7) +/* 80114AB4 00111A14 D0 07 00 04 */ stfs f0, 4(r7) +/* 80114AB8 00111A18 D0 07 00 08 */ stfs f0, 8(r7) +/* 80114ABC 00111A1C 98 67 00 0C */ stb r3, 0xc(r7) +lbl_80114AC0: +/* 80114AC0 00111A20 34 E7 00 10 */ addic. r7, r7, 0x10 +/* 80114AC4 00111A24 41 82 00 14 */ beq lbl_80114AD8 +/* 80114AC8 00111A28 B0 87 00 00 */ sth r4, 0(r7) +/* 80114ACC 00111A2C D0 07 00 04 */ stfs f0, 4(r7) +/* 80114AD0 00111A30 D0 07 00 08 */ stfs f0, 8(r7) +/* 80114AD4 00111A34 98 67 00 0C */ stb r3, 0xc(r7) +lbl_80114AD8: +/* 80114AD8 00111A38 34 E7 00 10 */ addic. r7, r7, 0x10 +/* 80114ADC 00111A3C 41 82 00 14 */ beq lbl_80114AF0 +/* 80114AE0 00111A40 B0 87 00 00 */ sth r4, 0(r7) +/* 80114AE4 00111A44 D0 07 00 04 */ stfs f0, 4(r7) +/* 80114AE8 00111A48 D0 07 00 08 */ stfs f0, 8(r7) +/* 80114AEC 00111A4C 98 67 00 0C */ stb r3, 0xc(r7) +lbl_80114AF0: +/* 80114AF0 00111A50 34 E7 00 10 */ addic. r7, r7, 0x10 +/* 80114AF4 00111A54 41 82 00 14 */ beq lbl_80114B08 +/* 80114AF8 00111A58 B0 87 00 00 */ sth r4, 0(r7) +/* 80114AFC 00111A5C D0 07 00 04 */ stfs f0, 4(r7) +/* 80114B00 00111A60 D0 07 00 08 */ stfs f0, 8(r7) +/* 80114B04 00111A64 98 67 00 0C */ stb r3, 0xc(r7) +lbl_80114B08: +/* 80114B08 00111A68 38 C6 00 07 */ addi r6, r6, 7 +/* 80114B0C 00111A6C 38 E7 00 10 */ addi r7, r7, 0x10 +/* 80114B10 00111A70 42 00 FF 38 */ bdnz lbl_80114A48 +/* 80114B14 00111A74 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80114B18 00111A78 3C 60 80 3D */ lis r3, lbl_803CF210@ha +/* 80114B1C 00111A7C 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l +/* 80114B20 00111A80 38 61 00 1C */ addi r3, r1, 0x1c +/* 80114B24 00111A84 81 84 00 00 */ lwz r12, 0(r4) +/* 80114B28 00111A88 38 A5 00 C9 */ addi r5, r5, 0xc9 +/* 80114B2C 00111A8C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 80114B30 00111A90 7D 89 03 A6 */ mtctr r12 +/* 80114B34 00111A94 4E 80 04 21 */ bctrl +/* 80114B38 00111A98 3B DF 05 40 */ addi r30, r31, 0x540 +/* 80114B3C 00111A9C 38 81 00 1C */ addi r4, r1, 0x1c +/* 80114B40 00111AA0 7F C3 F3 78 */ mr r3, r30 +/* 80114B44 00111AA4 48 22 C3 65 */ bl __ct__6CTokenFRC6CToken +/* 80114B48 00111AA8 38 00 00 00 */ li r0, 0 +/* 80114B4C 00111AAC 38 61 00 1C */ addi r3, r1, 0x1c +/* 80114B50 00111AB0 90 1E 00 08 */ stw r0, 8(r30) +/* 80114B54 00111AB4 38 80 FF FF */ li r4, -1 +/* 80114B58 00111AB8 48 22 C2 E9 */ bl __dt__6CTokenFv +/* 80114B5C 00111ABC C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) +/* 80114B60 00111AC0 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 +/* 80114B64 00111AC4 D0 1F 05 4C */ stfs f0, 0x54c(r31) +/* 80114B68 00111AC8 D0 1F 05 50 */ stfs f0, 0x550(r31) +/* 80114B6C 00111ACC 80 1F 00 00 */ lwz r0, 0(r31) +/* 80114B70 00111AD0 54 00 18 38 */ slwi r0, r0, 3 +/* 80114B74 00111AD4 7C 9F 02 14 */ add r4, r31, r0 +/* 80114B78 00111AD8 34 84 00 04 */ addic. r4, r4, 4 +/* 80114B7C 00111ADC 41 82 00 14 */ beq lbl_80114B90 +/* 80114B80 00111AE0 C0 03 00 00 */ lfs f0, 0(r3) +/* 80114B84 00111AE4 D0 04 00 00 */ stfs f0, 0(r4) +/* 80114B88 00111AE8 C0 03 00 04 */ lfs f0, 4(r3) +/* 80114B8C 00111AEC D0 04 00 04 */ stfs f0, 4(r4) +lbl_80114B90: +/* 80114B90 00111AF0 80 9F 00 00 */ lwz r4, 0(r31) +/* 80114B94 00111AF4 38 61 00 14 */ addi r3, r1, 0x14 +/* 80114B98 00111AF8 38 04 00 01 */ addi r0, r4, 1 +/* 80114B9C 00111AFC 90 1F 00 00 */ stw r0, 0(r31) +/* 80114BA0 00111B00 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80114BA4 00111B04 C0 24 02 58 */ lfs f1, 0x258(r4) +/* 80114BA8 00111B08 C0 44 02 5C */ lfs f2, 0x25c(r4) +/* 80114BAC 00111B0C 48 1F F6 55 */ bl __ct__9CVector2fFff +/* 80114BB0 00111B10 80 1F 00 00 */ lwz r0, 0(r31) +/* 80114BB4 00111B14 54 00 18 38 */ slwi r0, r0, 3 +/* 80114BB8 00111B18 7C 7F 02 14 */ add r3, r31, r0 +/* 80114BBC 00111B1C 34 63 00 04 */ addic. r3, r3, 4 +/* 80114BC0 00111B20 41 82 00 14 */ beq lbl_80114BD4 +/* 80114BC4 00111B24 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80114BC8 00111B28 D0 03 00 00 */ stfs f0, 0(r3) +/* 80114BCC 00111B2C C0 01 00 18 */ lfs f0, 0x18(r1) +/* 80114BD0 00111B30 D0 03 00 04 */ stfs f0, 4(r3) +lbl_80114BD4: +/* 80114BD4 00111B34 80 9F 00 00 */ lwz r4, 0(r31) +/* 80114BD8 00111B38 38 61 00 0C */ addi r3, r1, 0xc +/* 80114BDC 00111B3C 38 04 00 01 */ addi r0, r4, 1 +/* 80114BE0 00111B40 90 1F 00 00 */ stw r0, 0(r31) +/* 80114BE4 00111B44 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) +/* 80114BE8 00111B48 C0 24 02 60 */ lfs f1, 0x260(r4) +/* 80114BEC 00111B4C C0 44 02 64 */ lfs f2, 0x264(r4) +/* 80114BF0 00111B50 48 1F F6 11 */ bl __ct__9CVector2fFff +/* 80114BF4 00111B54 80 1F 00 00 */ lwz r0, 0(r31) +/* 80114BF8 00111B58 54 00 18 38 */ slwi r0, r0, 3 +/* 80114BFC 00111B5C 7C 7F 02 14 */ add r3, r31, r0 +/* 80114C00 00111B60 34 63 00 04 */ addic. r3, r3, 4 +/* 80114C04 00111B64 41 82 00 14 */ beq lbl_80114C18 +/* 80114C08 00111B68 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80114C0C 00111B6C D0 03 00 00 */ stfs f0, 0(r3) +/* 80114C10 00111B70 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 80114C14 00111B74 D0 03 00 04 */ stfs f0, 4(r3) +lbl_80114C18: +/* 80114C18 00111B78 80 9F 00 00 */ lwz r4, 0(r31) +/* 80114C1C 00111B7C 38 7F 05 40 */ addi r3, r31, 0x540 +/* 80114C20 00111B80 38 04 00 01 */ addi r0, r4, 1 +/* 80114C24 00111B84 90 1F 00 00 */ stw r0, 0(r31) +/* 80114C28 00111B88 48 22 C1 5D */ bl Lock__6CTokenFv +/* 80114C2C 00111B8C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 80114C30 00111B90 7F E3 FB 78 */ mr r3, r31 +/* 80114C34 00111B94 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 80114C38 00111B98 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 80114C3C 00111B9C 7C 08 03 A6 */ mtlr r0 +/* 80114C40 00111BA0 38 21 00 80 */ addi r1, r1, 0x80 +/* 80114C44 00111BA4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CHUDBillboardEffect.s b/asm/Kyoto_CWD/ScriptObjects/CHUDBillboardEffect.s new file mode 100644 index 00000000..0d982260 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CHUDBillboardEffect.s @@ -0,0 +1,583 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Accept__19CHUDBillboardEffectFR8IVisitor +Accept__19CHUDBillboardEffectFR8IVisitor: +/* 8012FAD8 0012CA38 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012FADC 0012CA3C 7C 08 02 A6 */ mflr r0 +/* 8012FAE0 0012CA40 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012FAE4 0012CA44 7C 60 1B 78 */ mr r0, r3 +/* 8012FAE8 0012CA48 7C 83 23 78 */ mr r3, r4 +/* 8012FAEC 0012CA4C 81 84 00 00 */ lwz r12, 0(r4) +/* 8012FAF0 0012CA50 7C 04 03 78 */ mr r4, r0 +/* 8012FAF4 0012CA54 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 8012FAF8 0012CA58 7D 89 03 A6 */ mtctr r12 +/* 8012FAFC 0012CA5C 4E 80 04 21 */ bctrl +/* 8012FB00 0012CA60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012FB04 0012CA64 7C 08 03 A6 */ mtlr r0 +/* 8012FB08 0012CA68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012FB0C 0012CA6C 4E 80 00 20 */ blr + +.global Think__19CHUDBillboardEffectFfR13CStateManager +Think__19CHUDBillboardEffectFfR13CStateManager: +/* 8012FB10 0012CA70 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 8012FB14 0012CA74 7C 08 02 A6 */ mflr r0 +/* 8012FB18 0012CA78 90 01 00 54 */ stw r0, 0x54(r1) +/* 8012FB1C 0012CA7C DB E1 00 40 */ stfd f31, 0x40(r1) +/* 8012FB20 0012CA80 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 8012FB24 0012CA84 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 8012FB28 0012CA88 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 +/* 8012FB2C 0012CA8C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8012FB30 0012CA90 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8012FB34 0012CA94 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8012FB38 0012CA98 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8012FB3C 0012CA9C FF C0 08 90 */ fmr f30, f1 +/* 8012FB40 0012CAA0 7C 7D 1B 78 */ mr r29, r3 +/* 8012FB44 0012CAA4 7C 9E 23 78 */ mr r30, r4 +/* 8012FB48 0012CAA8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012FB4C 0012CAAC 41 82 01 04 */ beq lbl_8012FC50 +/* 8012FB50 0012CAB0 80 DE 08 50 */ lwz r6, 0x850(r30) +/* 8012FB54 0012CAB4 7F C3 F3 78 */ mr r3, r30 +/* 8012FB58 0012CAB8 7F A4 EB 78 */ mr r4, r29 +/* 8012FB5C 0012CABC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 8012FB60 0012CAC0 80 06 00 68 */ lwz r0, 0x68(r6) +/* 8012FB64 0012CAC4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8012FB68 0012CAC8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8012FB6C 0012CACC 4B F1 57 0D */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId +/* 8012FB70 0012CAD0 80 7D 00 E8 */ lwz r3, 0xe8(r29) +/* 8012FB74 0012CAD4 81 83 00 00 */ lwz r12, 0(r3) +/* 8012FB78 0012CAD8 81 8C 00 54 */ lwz r12, 0x54(r12) +/* 8012FB7C 0012CADC 7D 89 03 A6 */ mtctr r12 +/* 8012FB80 0012CAE0 4E 80 04 21 */ bctrl +/* 8012FB84 0012CAE4 FF E0 08 90 */ fmr f31, f1 +/* 8012FB88 0012CAE8 83 FD 00 E8 */ lwz r31, 0xe8(r29) +/* 8012FB8C 0012CAEC 48 00 06 D9 */ bl CalcGenRate__19CHudBillboardEffectFv +/* 8012FB90 0012CAF0 81 9F 00 00 */ lwz r12, 0(r31) +/* 8012FB94 0012CAF4 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8012FB98 0012CAF8 7F E3 FB 78 */ mr r3, r31 +/* 8012FB9C 0012CAFC 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8012FBA0 0012CB00 7D 89 03 A6 */ mtctr r12 +/* 8012FBA4 0012CB04 4E 80 04 21 */ bctrl +/* 8012FBA8 0012CB08 80 7D 00 E8 */ lwz r3, 0xe8(r29) +/* 8012FBAC 0012CB0C FC 20 F0 90 */ fmr f1, f30 +/* 8012FBB0 0012CB10 81 83 00 00 */ lwz r12, 0(r3) +/* 8012FBB4 0012CB14 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 8012FBB8 0012CB18 7D 89 03 A6 */ mtctr r12 +/* 8012FBBC 0012CB1C 4E 80 04 21 */ bctrl +/* 8012FBC0 0012CB20 80 7D 00 E8 */ lwz r3, 0xe8(r29) +/* 8012FBC4 0012CB24 FC 20 F8 90 */ fmr f1, f31 +/* 8012FBC8 0012CB28 81 83 00 00 */ lwz r12, 0(r3) +/* 8012FBCC 0012CB2C 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8012FBD0 0012CB30 7D 89 03 A6 */ mtctr r12 +/* 8012FBD4 0012CB34 4E 80 04 21 */ bctrl +/* 8012FBD8 0012CB38 88 1D 01 04 */ lbz r0, 0x104(r29) +/* 8012FBDC 0012CB3C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 8012FBE0 0012CB40 40 82 00 3C */ bne lbl_8012FC1C +/* 8012FBE4 0012CB44 C0 3D 01 08 */ lfs f1, 0x108(r29) +/* 8012FBE8 0012CB48 C0 02 99 38 */ lfs f0, lbl_805AB658@sda21(r2) +/* 8012FBEC 0012CB4C EC 21 F0 2A */ fadds f1, f1, f30 +/* 8012FBF0 0012CB50 D0 3D 01 08 */ stfs f1, 0x108(r29) +/* 8012FBF4 0012CB54 C0 3D 01 08 */ lfs f1, 0x108(r29) +/* 8012FBF8 0012CB58 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012FBFC 0012CB5C 40 81 00 20 */ ble lbl_8012FC1C +/* 8012FC00 0012CB60 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8012FC04 0012CB64 7F C3 F3 78 */ mr r3, r30 +/* 8012FC08 0012CB68 38 81 00 14 */ addi r4, r1, 0x14 +/* 8012FC0C 0012CB6C B0 01 00 10 */ sth r0, 0x10(r1) +/* 8012FC10 0012CB70 B0 01 00 14 */ sth r0, 0x14(r1) +/* 8012FC14 0012CB74 4B F1 C6 59 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 8012FC18 0012CB78 48 00 00 38 */ b lbl_8012FC50 +lbl_8012FC1C: +/* 8012FC1C 0012CB7C 80 7D 00 E8 */ lwz r3, 0xe8(r29) +/* 8012FC20 0012CB80 81 83 00 00 */ lwz r12, 0(r3) +/* 8012FC24 0012CB84 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 8012FC28 0012CB88 7D 89 03 A6 */ mtctr r12 +/* 8012FC2C 0012CB8C 4E 80 04 21 */ bctrl +/* 8012FC30 0012CB90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012FC34 0012CB94 41 82 00 1C */ beq lbl_8012FC50 +/* 8012FC38 0012CB98 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8012FC3C 0012CB9C 7F C3 F3 78 */ mr r3, r30 +/* 8012FC40 0012CBA0 38 81 00 0C */ addi r4, r1, 0xc +/* 8012FC44 0012CBA4 B0 01 00 08 */ sth r0, 8(r1) +/* 8012FC48 0012CBA8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8012FC4C 0012CBAC 4B F1 C6 21 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_8012FC50: +/* 8012FC50 0012CBB0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 8012FC54 0012CBB4 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 8012FC58 0012CBB8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 +/* 8012FC5C 0012CBBC CB C1 00 30 */ lfd f30, 0x30(r1) +/* 8012FC60 0012CBC0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8012FC64 0012CBC4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8012FC68 0012CBC8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 8012FC6C 0012CBCC 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8012FC70 0012CBD0 7C 08 03 A6 */ mtlr r0 +/* 8012FC74 0012CBD4 38 21 00 50 */ addi r1, r1, 0x50 +/* 8012FC78 0012CBD8 4E 80 00 20 */ blr + +.global SetGeneratorRate__12CParticleGenFf +SetGeneratorRate__12CParticleGenFf: +/* 8012FC7C 0012CBDC 4E 80 00 20 */ blr + +.global GetGeneratorRate__12CParticleGenCFv +GetGeneratorRate__12CParticleGenCFv: +/* 8012FC80 0012CBE0 C0 22 99 3C */ lfs f1, lbl_805AB65C@sda21(r2) +/* 8012FC84 0012CBE4 4E 80 00 20 */ blr + +.global Render__19CHUDBillboardEffectCFRC13CStateManager +Render__19CHUDBillboardEffectCFRC13CStateManager: +/* 8012FC88 0012CBE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012FC8C 0012CBEC 7C 08 02 A6 */ mflr r0 +/* 8012FC90 0012CBF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012FC94 0012CBF4 88 83 01 04 */ lbz r4, 0x104(r3) +/* 8012FC98 0012CBF8 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f +/* 8012FC9C 0012CBFC 41 82 00 20 */ beq lbl_8012FCBC +/* 8012FCA0 0012CC00 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f +/* 8012FCA4 0012CC04 40 82 00 18 */ bne lbl_8012FCBC +/* 8012FCA8 0012CC08 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 8012FCAC 0012CC0C 81 83 00 00 */ lwz r12, 0(r3) +/* 8012FCB0 0012CC10 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 8012FCB4 0012CC14 7D 89 03 A6 */ mtctr r12 +/* 8012FCB8 0012CC18 4E 80 04 21 */ bctrl +lbl_8012FCBC: +/* 8012FCBC 0012CC1C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012FCC0 0012CC20 7C 08 03 A6 */ mtlr r0 +/* 8012FCC4 0012CC24 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012FCC8 0012CC28 4E 80 00 20 */ blr + +.global PreRender__19CHUDBillboardEffectFR13CStateManagerRC14CFrustumPlanes +PreRender__19CHUDBillboardEffectFR13CStateManagerRC14CFrustumPlanes: +/* 8012FCCC 0012CC2C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8012FCD0 0012CC30 7C 08 02 A6 */ mflr r0 +/* 8012FCD4 0012CC34 90 01 00 94 */ stw r0, 0x94(r1) +/* 8012FCD8 0012CC38 93 E1 00 8C */ stw r31, 0x8c(r1) +/* 8012FCDC 0012CC3C 93 C1 00 88 */ stw r30, 0x88(r1) +/* 8012FCE0 0012CC40 7C 9E 23 78 */ mr r30, r4 +/* 8012FCE4 0012CC44 93 A1 00 84 */ stw r29, 0x84(r1) +/* 8012FCE8 0012CC48 7C 7D 1B 78 */ mr r29, r3 +/* 8012FCEC 0012CC4C 80 64 08 4C */ lwz r3, 0x84c(r4) +/* 8012FCF0 0012CC50 80 03 02 F4 */ lwz r0, 0x2f4(r3) +/* 8012FCF4 0012CC54 2C 00 00 00 */ cmpwi r0, 0 +/* 8012FCF8 0012CC58 40 82 00 78 */ bne lbl_8012FD70 +/* 8012FCFC 0012CC5C 80 9E 08 70 */ lwz r4, 0x870(r30) +/* 8012FD00 0012CC60 7F C5 F3 78 */ mr r5, r30 +/* 8012FD04 0012CC64 38 61 00 18 */ addi r3, r1, 0x18 +/* 8012FD08 0012CC68 4B ED AC 61 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager +/* 8012FD0C 0012CC6C 38 61 00 48 */ addi r3, r1, 0x48 +/* 8012FD10 0012CC70 38 81 00 18 */ addi r4, r1, 0x18 +/* 8012FD14 0012CC74 48 1E 2E 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8012FD18 0012CC78 83 FD 00 E8 */ lwz r31, 0xe8(r29) +/* 8012FD1C 0012CC7C 38 61 00 0C */ addi r3, r1, 0xc +/* 8012FD20 0012CC80 38 81 00 48 */ addi r4, r1, 0x48 +/* 8012FD24 0012CC84 38 BD 00 EC */ addi r5, r29, 0xec +/* 8012FD28 0012CC88 48 1E 2D C1 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 8012FD2C 0012CC8C 7F E3 FB 78 */ mr r3, r31 +/* 8012FD30 0012CC90 38 81 00 0C */ addi r4, r1, 0xc +/* 8012FD34 0012CC94 81 9F 00 00 */ lwz r12, 0(r31) +/* 8012FD38 0012CC98 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8012FD3C 0012CC9C 7D 89 03 A6 */ mtctr r12 +/* 8012FD40 0012CCA0 4E 80 04 21 */ bctrl +/* 8012FD44 0012CCA4 80 7D 00 E8 */ lwz r3, 0xe8(r29) +/* 8012FD48 0012CCA8 38 81 00 48 */ addi r4, r1, 0x48 +/* 8012FD4C 0012CCAC 81 83 00 00 */ lwz r12, 0(r3) +/* 8012FD50 0012CCB0 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8012FD54 0012CCB4 7D 89 03 A6 */ mtctr r12 +/* 8012FD58 0012CCB8 4E 80 04 21 */ bctrl +/* 8012FD5C 0012CCBC 88 1D 01 04 */ lbz r0, 0x104(r29) +/* 8012FD60 0012CCC0 38 60 00 01 */ li r3, 1 +/* 8012FD64 0012CCC4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8012FD68 0012CCC8 98 1D 01 04 */ stb r0, 0x104(r29) +/* 8012FD6C 0012CCCC 48 00 00 14 */ b lbl_8012FD80 +lbl_8012FD70: +/* 8012FD70 0012CCD0 88 1D 01 04 */ lbz r0, 0x104(r29) +/* 8012FD74 0012CCD4 38 60 00 00 */ li r3, 0 +/* 8012FD78 0012CCD8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 8012FD7C 0012CCDC 98 1D 01 04 */ stb r0, 0x104(r29) +lbl_8012FD80: +/* 8012FD80 0012CCE0 A0 1D 00 08 */ lhz r0, 8(r29) +/* 8012FD84 0012CCE4 7F C3 F3 78 */ mr r3, r30 +/* 8012FD88 0012CCE8 38 81 00 08 */ addi r4, r1, 8 +/* 8012FD8C 0012CCEC B0 01 00 08 */ sth r0, 8(r1) +/* 8012FD90 0012CCF0 4B F1 4B 49 */ bl RenderLast__13CStateManagerFRC9TUniqueId +/* 8012FD94 0012CCF4 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 8012FD98 0012CCF8 88 1D 01 04 */ lbz r0, 0x104(r29) +/* 8012FD9C 0012CCFC 7C 63 00 34 */ cntlzw r3, r3 +/* 8012FDA0 0012CD00 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18 +/* 8012FDA4 0012CD04 98 1D 01 04 */ stb r0, 0x104(r29) +/* 8012FDA8 0012CD08 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8012FDAC 0012CD0C 83 E1 00 8C */ lwz r31, 0x8c(r1) +/* 8012FDB0 0012CD10 83 C1 00 88 */ lwz r30, 0x88(r1) +/* 8012FDB4 0012CD14 83 A1 00 84 */ lwz r29, 0x84(r1) +/* 8012FDB8 0012CD18 7C 08 03 A6 */ mtlr r0 +/* 8012FDBC 0012CD1C 38 21 00 90 */ addi r1, r1, 0x90 +/* 8012FDC0 0012CD20 4E 80 00 20 */ blr + +.global AddToRenderer__19CHUDBillboardEffectCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__19CHUDBillboardEffectCFRC14CFrustumPlanesRC13CStateManager: +/* 8012FDC4 0012CD24 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012FDC8 0012CD28 7C 08 02 A6 */ mflr r0 +/* 8012FDCC 0012CD2C 7C 64 1B 78 */ mr r4, r3 +/* 8012FDD0 0012CD30 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012FDD4 0012CD34 88 63 01 04 */ lbz r3, 0x104(r3) +/* 8012FDD8 0012CD38 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 8012FDDC 0012CD3C 41 82 00 24 */ beq lbl_8012FE00 +/* 8012FDE0 0012CD40 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 8012FDE4 0012CD44 41 82 00 1C */ beq lbl_8012FE00 +/* 8012FDE8 0012CD48 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 8012FDEC 0012CD4C 80 84 00 E8 */ lwz r4, 0xe8(r4) +/* 8012FDF0 0012CD50 81 83 00 00 */ lwz r12, 0(r3) +/* 8012FDF4 0012CD54 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 8012FDF8 0012CD58 7D 89 03 A6 */ mtctr r12 +/* 8012FDFC 0012CD5C 4E 80 04 21 */ bctrl +lbl_8012FE00: +/* 8012FE00 0012CD60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012FE04 0012CD64 7C 08 03 A6 */ mtlr r0 +/* 8012FE08 0012CD68 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012FE0C 0012CD6C 4E 80 00 20 */ blr + +.global __dt__19CHUDBillboardEffectFv +__dt__19CHUDBillboardEffectFv: +/* 8012FE10 0012CD70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012FE14 0012CD74 7C 08 02 A6 */ mflr r0 +/* 8012FE18 0012CD78 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012FE1C 0012CD7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012FE20 0012CD80 7C 9F 23 78 */ mr r31, r4 +/* 8012FE24 0012CD84 93 C1 00 08 */ stw r30, 8(r1) +/* 8012FE28 0012CD88 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8012FE2C 0012CD8C 41 82 00 B0 */ beq lbl_8012FEDC +/* 8012FE30 0012CD90 3C 60 80 3E */ lis r3, lbl_803E0D70@ha +/* 8012FE34 0012CD94 38 03 0D 70 */ addi r0, r3, lbl_803E0D70@l +/* 8012FE38 0012CD98 90 1E 00 00 */ stw r0, 0(r30) +/* 8012FE3C 0012CD9C 80 6D A3 B0 */ lwz r3, lbl_805A8F70@sda21(r13) +/* 8012FE40 0012CDA0 38 03 FF FF */ addi r0, r3, -1 +/* 8012FE44 0012CDA4 90 0D A3 B0 */ stw r0, lbl_805A8F70@sda21(r13) +/* 8012FE48 0012CDA8 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8012FE4C 0012CDAC 81 83 00 00 */ lwz r12, 0(r3) +/* 8012FE50 0012CDB0 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8012FE54 0012CDB4 7D 89 03 A6 */ mtctr r12 +/* 8012FE58 0012CDB8 4E 80 04 21 */ bctrl +/* 8012FE5C 0012CDBC 3C 03 AF BF */ addis r0, r3, 0xafbf +/* 8012FE60 0012CDC0 28 00 52 54 */ cmplwi r0, 0x5254 +/* 8012FE64 0012CDC4 40 82 00 20 */ bne lbl_8012FE84 +/* 8012FE68 0012CDC8 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8012FE6C 0012CDCC 48 1E 77 D9 */ bl IsIndirectTextured__11CElementGenCFv +/* 8012FE70 0012CDD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012FE74 0012CDD4 41 82 00 10 */ beq lbl_8012FE84 +/* 8012FE78 0012CDD8 80 6D A3 B4 */ lwz r3, lbl_805A8F74@sda21(r13) +/* 8012FE7C 0012CDDC 38 03 FF FF */ addi r0, r3, -1 +/* 8012FE80 0012CDE0 90 0D A3 B4 */ stw r0, lbl_805A8F74@sda21(r13) +lbl_8012FE84: +/* 8012FE84 0012CDE4 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 8012FE88 0012CDE8 41 82 00 24 */ beq lbl_8012FEAC +/* 8012FE8C 0012CDEC 80 7E 00 E8 */ lwz r3, 0xe8(r30) +/* 8012FE90 0012CDF0 28 03 00 00 */ cmplwi r3, 0 +/* 8012FE94 0012CDF4 41 82 00 18 */ beq lbl_8012FEAC +/* 8012FE98 0012CDF8 81 83 00 00 */ lwz r12, 0(r3) +/* 8012FE9C 0012CDFC 38 80 00 01 */ li r4, 1 +/* 8012FEA0 0012CE00 81 8C 00 08 */ lwz r12, 8(r12) +/* 8012FEA4 0012CE04 7D 89 03 A6 */ mtctr r12 +/* 8012FEA8 0012CE08 4E 80 04 21 */ bctrl +lbl_8012FEAC: +/* 8012FEAC 0012CE0C 28 1E 00 00 */ cmplwi r30, 0 +/* 8012FEB0 0012CE10 41 82 00 1C */ beq lbl_8012FECC +/* 8012FEB4 0012CE14 3C 80 80 3E */ lis r4, lbl_803DA118@ha +/* 8012FEB8 0012CE18 7F C3 F3 78 */ mr r3, r30 +/* 8012FEBC 0012CE1C 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l +/* 8012FEC0 0012CE20 38 80 00 00 */ li r4, 0 +/* 8012FEC4 0012CE24 90 1E 00 00 */ stw r0, 0(r30) +/* 8012FEC8 0012CE28 4B F2 58 29 */ bl __dt__6CActorFv +lbl_8012FECC: +/* 8012FECC 0012CE2C 7F E0 07 35 */ extsh. r0, r31 +/* 8012FED0 0012CE30 40 81 00 0C */ ble lbl_8012FEDC +/* 8012FED4 0012CE34 7F C3 F3 78 */ mr r3, r30 +/* 8012FED8 0012CE38 48 1E 5A 59 */ bl Free__7CMemoryFPCv +lbl_8012FEDC: +/* 8012FEDC 0012CE3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012FEE0 0012CE40 7F C3 F3 78 */ mr r3, r30 +/* 8012FEE4 0012CE44 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012FEE8 0012CE48 83 C1 00 08 */ lwz r30, 8(r1) +/* 8012FEEC 0012CE4C 7C 08 03 A6 */ mtlr r0 +/* 8012FEF0 0012CE50 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012FEF4 0012CE54 4E 80 00 20 */ blr + +.global "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" +"__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f": +/* 8012FEF8 0012CE58 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8012FEFC 0012CE5C 7C 08 02 A6 */ mflr r0 +/* 8012FF00 0012CE60 90 01 00 94 */ stw r0, 0x94(r1) +/* 8012FF04 0012CE64 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8012FF08 0012CE68 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8012FF0C 0012CE6C BE C1 00 58 */ stmw r22, 0x58(r1) +/* 8012FF10 0012CE70 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) +/* 8012FF14 0012CE74 3D 60 80 57 */ lis r11, lbl_8056D410@ha +/* 8012FF18 0012CE78 81 8D A3 90 */ lwz r12, lbl_805A8F50@sda21(r13) +/* 8012FF1C 0012CE7C FF E0 08 90 */ fmr f31, f1 +/* 8012FF20 0012CE80 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8012FF24 0012CE84 38 0B D4 10 */ addi r0, r11, lbl_8056D410@l +/* 8012FF28 0012CE88 7C 7F 1B 78 */ mr r31, r3 +/* 8012FF2C 0012CE8C 7C 99 23 78 */ mr r25, r4 +/* 8012FF30 0012CE90 7C BA 2B 78 */ mr r26, r5 +/* 8012FF34 0012CE94 7C D6 33 78 */ mr r22, r6 +/* 8012FF38 0012CE98 91 81 00 20 */ stw r12, 0x20(r1) +/* 8012FF3C 0012CE9C 83 A1 00 98 */ lwz r29, 0x98(r1) +/* 8012FF40 0012CEA0 7C F7 3B 78 */ mr r23, r7 +/* 8012FF44 0012CEA4 83 C1 00 9C */ lwz r30, 0x9c(r1) +/* 8012FF48 0012CEA8 7D 18 43 78 */ mr r24, r8 +/* 8012FF4C 0012CEAC 7D 3B 4B 78 */ mr r27, r9 +/* 8012FF50 0012CEB0 7D 5C 53 78 */ mr r28, r10 +/* 8012FF54 0012CEB4 7C 05 03 78 */ mr r5, r0 +/* 8012FF58 0012CEB8 38 61 00 34 */ addi r3, r1, 0x34 +/* 8012FF5C 0012CEBC 38 81 00 20 */ addi r4, r1, 0x20 +/* 8012FF60 0012CEC0 38 C1 00 1C */ addi r6, r1, 0x1c +/* 8012FF64 0012CEC4 4B F2 15 21 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 8012FF68 0012CEC8 A0 16 00 00 */ lhz r0, 0(r22) +/* 8012FF6C 0012CECC 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 8012FF70 0012CED0 39 03 66 70 */ addi r8, r3, skIdentity4f@l +/* 8012FF74 0012CED4 7E E6 BB 78 */ mr r6, r23 +/* 8012FF78 0012CED8 B0 01 00 08 */ sth r0, 8(r1) +/* 8012FF7C 0012CEDC 7F E3 FB 78 */ mr r3, r31 +/* 8012FF80 0012CEE0 7F 07 C3 78 */ mr r7, r24 +/* 8012FF84 0012CEE4 38 81 00 08 */ addi r4, r1, 8 +/* 8012FF88 0012CEE8 38 A1 00 34 */ addi r5, r1, 0x34 +/* 8012FF8C 0012CEEC 4B F2 AD C5 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f" +/* 8012FF90 0012CEF0 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 8012FF94 0012CEF4 80 61 00 44 */ lwz r3, 0x44(r1) +/* 8012FF98 0012CEF8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8012FF9C 0012CEFC 90 61 00 10 */ stw r3, 0x10(r1) +/* 8012FFA0 0012CF00 7C 64 1B 78 */ mr r4, r3 +/* 8012FFA4 0012CF04 7C 03 02 14 */ add r0, r3, r0 +/* 8012FFA8 0012CF08 90 61 00 0C */ stw r3, 0xc(r1) +/* 8012FFAC 0012CF0C 90 01 00 18 */ stw r0, 0x18(r1) +/* 8012FFB0 0012CF10 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012FFB4 0012CF14 48 00 00 08 */ b lbl_8012FFBC +lbl_8012FFB8: +/* 8012FFB8 0012CF18 38 84 00 0C */ addi r4, r4, 0xc +lbl_8012FFBC: +/* 8012FFBC 0012CF1C 7C 04 00 40 */ cmplw r4, r0 +/* 8012FFC0 0012CF20 40 82 FF F8 */ bne lbl_8012FFB8 +/* 8012FFC4 0012CF24 28 03 00 00 */ cmplwi r3, 0 +/* 8012FFC8 0012CF28 41 82 00 08 */ beq lbl_8012FFD0 +/* 8012FFCC 0012CF2C 48 1E 59 65 */ bl Free__7CMemoryFPCv +lbl_8012FFD0: +/* 8012FFD0 0012CF30 3C 60 80 3E */ lis r3, lbl_803E0D70@ha +/* 8012FFD4 0012CF34 38 80 00 00 */ li r4, 0 +/* 8012FFD8 0012CF38 38 03 0D 70 */ addi r0, r3, lbl_803E0D70@l +/* 8012FFDC 0012CF3C 38 60 00 01 */ li r3, 1 +/* 8012FFE0 0012CF40 90 1F 00 00 */ stw r0, 0(r31) +/* 8012FFE4 0012CF44 C0 02 99 40 */ lfs f0, lbl_805AB660@sda21(r2) +/* 8012FFE8 0012CF48 90 9F 00 E8 */ stw r4, 0xe8(r31) +/* 8012FFEC 0012CF4C C0 5E 00 04 */ lfs f2, 4(r30) +/* 8012FFF0 0012CF50 C0 7E 00 08 */ lfs f3, 8(r30) +/* 8012FFF4 0012CF54 C0 3E 00 00 */ lfs f1, 0(r30) +/* 8012FFF8 0012CF58 EC 5F 10 2A */ fadds f2, f31, f2 +/* 8012FFFC 0012CF5C D0 3F 00 EC */ stfs f1, 0xec(r31) +/* 80130000 0012CF60 D0 5F 00 F0 */ stfs f2, 0xf0(r31) +/* 80130004 0012CF64 D0 7F 00 F4 */ stfs f3, 0xf4(r31) +/* 80130008 0012CF68 C0 5D 00 00 */ lfs f2, 0(r29) +/* 8013000C 0012CF6C C0 3B 00 00 */ lfs f1, 0(r27) +/* 80130010 0012CF70 C0 9D 00 04 */ lfs f4, 4(r29) +/* 80130014 0012CF74 C0 7B 00 04 */ lfs f3, 4(r27) +/* 80130018 0012CF78 EC 22 00 72 */ fmuls f1, f2, f1 +/* 8013001C 0012CF7C C0 BD 00 08 */ lfs f5, 8(r29) +/* 80130020 0012CF80 C0 5B 00 08 */ lfs f2, 8(r27) +/* 80130024 0012CF84 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 80130028 0012CF88 D0 3F 00 F8 */ stfs f1, 0xf8(r31) +/* 8013002C 0012CF8C EC 25 00 B2 */ fmuls f1, f5, f2 +/* 80130030 0012CF90 D0 7F 00 FC */ stfs f3, 0xfc(r31) +/* 80130034 0012CF94 D0 3F 01 00 */ stfs f1, 0x100(r31) +/* 80130038 0012CF98 88 1F 01 04 */ lbz r0, 0x104(r31) +/* 8013003C 0012CF9C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 80130040 0012CFA0 98 1F 01 04 */ stb r0, 0x104(r31) +/* 80130044 0012CFA4 88 1F 01 04 */ lbz r0, 0x104(r31) +/* 80130048 0012CFA8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8013004C 0012CFAC 98 1F 01 04 */ stb r0, 0x104(r31) +/* 80130050 0012CFB0 88 1F 01 04 */ lbz r0, 0x104(r31) +/* 80130054 0012CFB4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 80130058 0012CFB8 98 1F 01 04 */ stb r0, 0x104(r31) +/* 8013005C 0012CFBC 88 1F 01 04 */ lbz r0, 0x104(r31) +/* 80130060 0012CFC0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 80130064 0012CFC4 98 1F 01 04 */ stb r0, 0x104(r31) +/* 80130068 0012CFC8 D0 1F 01 08 */ stfs f0, 0x108(r31) +/* 8013006C 0012CFCC 88 19 00 08 */ lbz r0, 8(r25) +/* 80130070 0012CFD0 28 00 00 00 */ cmplwi r0, 0 +/* 80130074 0012CFD4 41 82 00 B0 */ beq lbl_80130124 +/* 80130078 0012CFD8 88 1F 01 04 */ lbz r0, 0x104(r31) +/* 8013007C 0012CFDC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 80130080 0012CFE0 3C 60 80 3D */ lis r3, lbl_803D0048@ha +/* 80130084 0012CFE4 3A C0 00 00 */ li r22, 0 +/* 80130088 0012CFE8 98 1F 01 04 */ stb r0, 0x104(r31) +/* 8013008C 0012CFEC 38 83 00 48 */ addi r4, r3, lbl_803D0048@l +/* 80130090 0012CFF0 38 60 03 40 */ li r3, 0x340 +/* 80130094 0012CFF4 38 A0 00 00 */ li r5, 0 +/* 80130098 0012CFF8 48 1E 57 D5 */ bl __nw__FUlPCcPCc +/* 8013009C 0012CFFC 7C 7A 1B 79 */ or. r26, r3, r3 +/* 801300A0 0012D000 41 82 00 2C */ beq lbl_801300CC +/* 801300A4 0012D004 7F 24 CB 78 */ mr r4, r25 +/* 801300A8 0012D008 38 61 00 2C */ addi r3, r1, 0x2c +/* 801300AC 0012D00C 48 21 0D FD */ bl __ct__6CTokenFRC6CToken +/* 801300B0 0012D010 7F 43 D3 78 */ mr r3, r26 +/* 801300B4 0012D014 38 81 00 2C */ addi r4, r1, 0x2c +/* 801300B8 0012D018 3A C0 00 01 */ li r22, 1 +/* 801300BC 0012D01C 38 A0 00 00 */ li r5, 0 +/* 801300C0 0012D020 38 C0 00 01 */ li r6, 1 +/* 801300C4 0012D024 48 1E F3 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 801300C8 0012D028 7C 7A 1B 78 */ mr r26, r3 +lbl_801300CC: +/* 801300CC 0012D02C 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 801300D0 0012D030 28 03 00 00 */ cmplwi r3, 0 +/* 801300D4 0012D034 41 82 00 18 */ beq lbl_801300EC +/* 801300D8 0012D038 81 83 00 00 */ lwz r12, 0(r3) +/* 801300DC 0012D03C 38 80 00 01 */ li r4, 1 +/* 801300E0 0012D040 81 8C 00 08 */ lwz r12, 8(r12) +/* 801300E4 0012D044 7D 89 03 A6 */ mtctr r12 +/* 801300E8 0012D048 4E 80 04 21 */ bctrl +lbl_801300EC: +/* 801300EC 0012D04C 7E C0 07 75 */ extsb. r0, r22 +/* 801300F0 0012D050 93 5F 00 E8 */ stw r26, 0xe8(r31) +/* 801300F4 0012D054 41 82 00 10 */ beq lbl_80130104 +/* 801300F8 0012D058 38 61 00 2C */ addi r3, r1, 0x2c +/* 801300FC 0012D05C 38 80 00 00 */ li r4, 0 +/* 80130100 0012D060 48 21 0D 41 */ bl __dt__6CTokenFv +lbl_80130104: +/* 80130104 0012D064 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 80130108 0012D068 48 1E 75 3D */ bl IsIndirectTextured__11CElementGenCFv +/* 8013010C 0012D06C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80130110 0012D070 41 82 00 8C */ beq lbl_8013019C +/* 80130114 0012D074 80 6D A3 B4 */ lwz r3, lbl_805A8F74@sda21(r13) +/* 80130118 0012D078 38 03 00 01 */ addi r0, r3, 1 +/* 8013011C 0012D07C 90 0D A3 B4 */ stw r0, lbl_805A8F74@sda21(r13) +/* 80130120 0012D080 48 00 00 7C */ b lbl_8013019C +lbl_80130124: +/* 80130124 0012D084 3C 60 80 3D */ lis r3, lbl_803D0048@ha +/* 80130128 0012D088 3A C0 00 00 */ li r22, 0 +/* 8013012C 0012D08C 38 83 00 48 */ addi r4, r3, lbl_803D0048@l +/* 80130130 0012D090 38 A0 00 00 */ li r5, 0 +/* 80130134 0012D094 38 60 04 58 */ li r3, 0x458 +/* 80130138 0012D098 48 1E 57 35 */ bl __nw__FUlPCcPCc +/* 8013013C 0012D09C 7C 79 1B 79 */ or. r25, r3, r3 +/* 80130140 0012D0A0 41 82 00 24 */ beq lbl_80130164 +/* 80130144 0012D0A4 7F 44 D3 78 */ mr r4, r26 +/* 80130148 0012D0A8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8013014C 0012D0AC 48 21 0D 5D */ bl __ct__6CTokenFRC6CToken +/* 80130150 0012D0B0 7F 23 CB 78 */ mr r3, r25 +/* 80130154 0012D0B4 38 81 00 24 */ addi r4, r1, 0x24 +/* 80130158 0012D0B8 3A C0 00 01 */ li r22, 1 +/* 8013015C 0012D0BC 48 23 20 15 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 80130160 0012D0C0 7C 79 1B 78 */ mr r25, r3 +lbl_80130164: +/* 80130164 0012D0C4 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 80130168 0012D0C8 28 03 00 00 */ cmplwi r3, 0 +/* 8013016C 0012D0CC 41 82 00 18 */ beq lbl_80130184 +/* 80130170 0012D0D0 81 83 00 00 */ lwz r12, 0(r3) +/* 80130174 0012D0D4 38 80 00 01 */ li r4, 1 +/* 80130178 0012D0D8 81 8C 00 08 */ lwz r12, 8(r12) +/* 8013017C 0012D0DC 7D 89 03 A6 */ mtctr r12 +/* 80130180 0012D0E0 4E 80 04 21 */ bctrl +lbl_80130184: +/* 80130184 0012D0E4 7E C0 07 75 */ extsb. r0, r22 +/* 80130188 0012D0E8 93 3F 00 E8 */ stw r25, 0xe8(r31) +/* 8013018C 0012D0EC 41 82 00 10 */ beq lbl_8013019C +/* 80130190 0012D0F0 38 61 00 24 */ addi r3, r1, 0x24 +/* 80130194 0012D0F4 38 80 00 00 */ li r4, 0 +/* 80130198 0012D0F8 48 21 0C A9 */ bl __dt__6CTokenFv +lbl_8013019C: +/* 8013019C 0012D0FC 80 6D A3 B0 */ lwz r3, lbl_805A8F70@sda21(r13) +/* 801301A0 0012D100 7F 84 E3 78 */ mr r4, r28 +/* 801301A4 0012D104 38 03 00 01 */ addi r0, r3, 1 +/* 801301A8 0012D108 90 0D A3 B0 */ stw r0, lbl_805A8F70@sda21(r13) +/* 801301AC 0012D10C 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 801301B0 0012D110 81 83 00 00 */ lwz r12, 0(r3) +/* 801301B4 0012D114 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 801301B8 0012D118 7D 89 03 A6 */ mtctr r12 +/* 801301BC 0012D11C 4E 80 04 21 */ bctrl +/* 801301C0 0012D120 80 7F 00 E8 */ lwz r3, 0xe8(r31) +/* 801301C4 0012D124 38 9F 00 F8 */ addi r4, r31, 0xf8 +/* 801301C8 0012D128 81 83 00 00 */ lwz r12, 0(r3) +/* 801301CC 0012D12C 81 8C 00 28 */ lwz r12, 0x28(r12) +/* 801301D0 0012D130 7D 89 03 A6 */ mtctr r12 +/* 801301D4 0012D134 4E 80 04 21 */ bctrl +/* 801301D8 0012D138 7F E3 FB 78 */ mr r3, r31 +/* 801301DC 0012D13C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 801301E0 0012D140 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 801301E4 0012D144 BA C1 00 58 */ lmw r22, 0x58(r1) +/* 801301E8 0012D148 80 01 00 94 */ lwz r0, 0x94(r1) +/* 801301EC 0012D14C 7C 08 03 A6 */ mtlr r0 +/* 801301F0 0012D150 38 21 00 90 */ addi r1, r1, 0x90 +/* 801301F4 0012D154 4E 80 00 20 */ blr + +.global GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager +GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager: +/* 801301F8 0012D158 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801301FC 0012D15C 7C 08 02 A6 */ mflr r0 +/* 80130200 0012D160 7C 64 1B 78 */ mr r4, r3 +/* 80130204 0012D164 90 01 00 14 */ stw r0, 0x14(r1) +/* 80130208 0012D168 80 63 08 70 */ lwz r3, 0x870(r3) +/* 8013020C 0012D16C 4B ED B9 0D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager +/* 80130210 0012D170 C0 22 99 44 */ lfs f1, lbl_805AB664@sda21(r2) +/* 80130214 0012D174 C0 03 01 60 */ lfs f0, 0x160(r3) +/* 80130218 0012D178 EC 21 00 2A */ fadds f1, f1, f0 +/* 8013021C 0012D17C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80130220 0012D180 7C 08 03 A6 */ mtlr r0 +/* 80130224 0012D184 38 21 00 10 */ addi r1, r1, 0x10 +/* 80130228 0012D188 4E 80 00 20 */ blr + +.global GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager +GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager: +/* 8013022C 0012D18C 88 0D A3 B8 */ lbz r0, lbl_805A8F78@sda21(r13) +/* 80130230 0012D190 7C 00 07 75 */ extsb. r0, r0 +/* 80130234 0012D194 40 82 00 24 */ bne lbl_80130258 +/* 80130238 0012D198 C0 22 99 48 */ lfs f1, lbl_805AB668@sda21(r2) +/* 8013023C 0012D19C 3C 60 80 47 */ lis r3, lbl_8046C738@ha +/* 80130240 0012D1A0 38 00 00 01 */ li r0, 1 +/* 80130244 0012D1A4 C0 02 99 3C */ lfs f0, lbl_805AB65C@sda21(r2) +/* 80130248 0012D1A8 D4 23 C7 38 */ stfsu f1, lbl_8046C738@l(r3) +/* 8013024C 0012D1AC D0 03 00 04 */ stfs f0, 4(r3) +/* 80130250 0012D1B0 D0 23 00 08 */ stfs f1, 8(r3) +/* 80130254 0012D1B4 98 0D A3 B8 */ stb r0, lbl_805A8F78@sda21(r13) +lbl_80130258: +/* 80130258 0012D1B8 3C 60 80 47 */ lis r3, lbl_8046C738@ha +/* 8013025C 0012D1BC 38 63 C7 38 */ addi r3, r3, lbl_8046C738@l +/* 80130260 0012D1C0 4E 80 00 20 */ blr + +.global CalcGenRate__19CHudBillboardEffectFv +CalcGenRate__19CHudBillboardEffectFv: +/* 80130264 0012D1C4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80130268 0012D1C8 80 AD A3 B0 */ lwz r5, lbl_805A8F70@sda21(r13) +/* 8013026C 0012D1CC 80 8D A3 B4 */ lwz r4, lbl_805A8F74@sda21(r13) +/* 80130270 0012D1D0 7C 05 22 14 */ add r0, r5, r4 +/* 80130274 0012D1D4 2C 00 00 04 */ cmpwi r0, 4 +/* 80130278 0012D1D8 41 81 00 0C */ bgt lbl_80130284 +/* 8013027C 0012D1DC C0 22 99 40 */ lfs f1, lbl_805AB660@sda21(r2) +/* 80130280 0012D1E0 48 00 00 44 */ b lbl_801302C4 +lbl_80130284: +/* 80130284 0012D1E4 3C 60 43 30 */ lis r3, 0x4330 +/* 80130288 0012D1E8 6C 80 80 00 */ xoris r0, r4, 0x8000 +/* 8013028C 0012D1EC 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80130290 0012D1F0 6C A0 80 00 */ xoris r0, r5, 0x8000 +/* 80130294 0012D1F4 C8 62 99 58 */ lfd f3, lbl_805AB678@sda21(r2) +/* 80130298 0012D1F8 90 61 00 18 */ stw r3, 0x18(r1) +/* 8013029C 0012D1FC C0 22 99 50 */ lfs f1, lbl_805AB670@sda21(r2) +/* 801302A0 0012D200 C8 01 00 18 */ lfd f0, 0x18(r1) +/* 801302A4 0012D204 90 01 00 14 */ stw r0, 0x14(r1) +/* 801302A8 0012D208 EC 00 18 28 */ fsubs f0, f0, f3 +/* 801302AC 0012D20C C0 82 99 4C */ lfs f4, lbl_805AB66C@sda21(r2) +/* 801302B0 0012D210 90 61 00 10 */ stw r3, 0x10(r1) +/* 801302B4 0012D214 C8 41 00 10 */ lfd f2, 0x10(r1) +/* 801302B8 0012D218 EC 01 00 32 */ fmuls f0, f1, f0 +/* 801302BC 0012D21C EC 22 18 28 */ fsubs f1, f2, f3 +/* 801302C0 0012D220 EC 24 00 7A */ fmadds f1, f4, f1, f0 +lbl_801302C4: +/* 801302C4 0012D224 C0 0D 8B 28 */ lfs f0, lbl_805A76E8@sda21(r13) +/* 801302C8 0012D228 D0 21 00 08 */ stfs f1, 8(r1) +/* 801302CC 0012D22C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801302D0 0012D230 40 80 00 0C */ bge lbl_801302DC +/* 801302D4 0012D234 38 61 00 08 */ addi r3, r1, 8 +/* 801302D8 0012D238 48 00 00 08 */ b lbl_801302E0 +lbl_801302DC: +/* 801302DC 0012D23C 38 6D 8B 28 */ addi r3, r13, lbl_805A76E8@sda21 +lbl_801302E0: +/* 801302E0 0012D240 C0 22 99 3C */ lfs f1, lbl_805AB65C@sda21(r2) +/* 801302E4 0012D244 C0 03 00 00 */ lfs f0, 0(r3) +/* 801302E8 0012D248 EC 21 00 28 */ fsubs f1, f1, f0 +/* 801302EC 0012D24C 38 21 00 20 */ addi r1, r1, 0x20 +/* 801302F0 0012D250 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptActorKeyframe.s b/asm/Kyoto_CWD/ScriptObjects/CScriptActorKeyframe.s new file mode 100644 index 00000000..4332b16e --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptActorKeyframe.s @@ -0,0 +1,583 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__20CScriptActorKeyframeFv +__dt__20CScriptActorKeyframeFv: +/* 800FE03C 000FAF9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FE040 000FAFA0 7C 08 02 A6 */ mflr r0 +/* 800FE044 000FAFA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FE048 000FAFA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FE04C 000FAFAC 7C 9F 23 78 */ mr r31, r4 +/* 800FE050 000FAFB0 93 C1 00 08 */ stw r30, 8(r1) +/* 800FE054 000FAFB4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800FE058 000FAFB8 41 82 00 28 */ beq lbl_800FE080 +/* 800FE05C 000FAFBC 3C A0 80 3E */ lis r5, lbl_803DFE20@ha +/* 800FE060 000FAFC0 38 80 00 00 */ li r4, 0 +/* 800FE064 000FAFC4 38 05 FE 20 */ addi r0, r5, lbl_803DFE20@l +/* 800FE068 000FAFC8 90 1E 00 00 */ stw r0, 0(r30) +/* 800FE06C 000FAFCC 4B F5 32 09 */ bl __dt__7CEntityFv +/* 800FE070 000FAFD0 7F E0 07 35 */ extsh. r0, r31 +/* 800FE074 000FAFD4 40 81 00 0C */ ble lbl_800FE080 +/* 800FE078 000FAFD8 7F C3 F3 78 */ mr r3, r30 +/* 800FE07C 000FAFDC 48 21 78 B5 */ bl Free__7CMemoryFPCv +lbl_800FE080: +/* 800FE080 000FAFE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FE084 000FAFE4 7F C3 F3 78 */ mr r3, r30 +/* 800FE088 000FAFE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FE08C 000FAFEC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800FE090 000FAFF0 7C 08 03 A6 */ mtlr r0 +/* 800FE094 000FAFF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FE098 000FAFF8 4E 80 00 20 */ blr + +.global Think__20CScriptActorKeyframeFfR13CStateManager +Think__20CScriptActorKeyframeFfR13CStateManager: +/* 800FE09C 000FAFFC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800FE0A0 000FB000 7C 08 02 A6 */ mflr r0 +/* 800FE0A4 000FB004 90 01 00 64 */ stw r0, 0x64(r1) +/* 800FE0A8 000FB008 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 800FE0AC 000FB00C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 800FE0B0 000FB010 BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 800FE0B4 000FB014 7C 7D 1B 78 */ mr r29, r3 +/* 800FE0B8 000FB018 88 63 00 44 */ lbz r3, 0x44(r3) +/* 800FE0BC 000FB01C FF E0 08 90 */ fmr f31, f1 +/* 800FE0C0 000FB020 7C 9E 23 78 */ mr r30, r4 +/* 800FE0C4 000FB024 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f +/* 800FE0C8 000FB028 40 82 01 EC */ bne lbl_800FE2B4 +/* 800FE0CC 000FB02C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 800FE0D0 000FB030 41 82 01 E4 */ beq lbl_800FE2B4 +/* 800FE0D4 000FB034 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f +/* 800FE0D8 000FB038 41 82 01 DC */ beq lbl_800FE2B4 +/* 800FE0DC 000FB03C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f +/* 800FE0E0 000FB040 41 82 01 D4 */ beq lbl_800FE2B4 +/* 800FE0E4 000FB044 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800FE0E8 000FB048 C0 22 93 A0 */ lfs f1, lbl_805AB0C0@sda21(r2) +/* 800FE0EC 000FB04C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800FE0F0 000FB050 40 81 01 C4 */ ble lbl_800FE2B4 +/* 800FE0F4 000FB054 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800FE0F8 000FB058 D0 1D 00 40 */ stfs f0, 0x40(r29) +/* 800FE0FC 000FB05C C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800FE100 000FB060 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800FE104 000FB064 4C 40 13 82 */ cror 2, 0, 2 +/* 800FE108 000FB068 40 82 01 AC */ bne lbl_800FE2B4 +/* 800FE10C 000FB06C 88 1D 00 44 */ lbz r0, 0x44(r29) +/* 800FE110 000FB070 38 60 00 00 */ li r3, 0 +/* 800FE114 000FB074 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800FE118 000FB078 98 1D 00 44 */ stb r0, 0x44(r29) +/* 800FE11C 000FB07C 83 FD 00 2C */ lwz r31, 0x2c(r29) +/* 800FE120 000FB080 48 00 01 7C */ b lbl_800FE29C +lbl_800FE124: +/* 800FE124 000FB084 80 1F 00 00 */ lwz r0, 0(r31) +/* 800FE128 000FB088 2C 00 00 12 */ cmpwi r0, 0x12 +/* 800FE12C 000FB08C 40 82 01 6C */ bne lbl_800FE298 +/* 800FE130 000FB090 80 1F 00 04 */ lwz r0, 4(r31) +/* 800FE134 000FB094 2C 00 00 14 */ cmpwi r0, 0x14 +/* 800FE138 000FB098 40 82 01 60 */ bne lbl_800FE298 +/* 800FE13C 000FB09C 80 1F 00 08 */ lwz r0, 8(r31) +/* 800FE140 000FB0A0 7F C4 F3 78 */ mr r4, r30 +/* 800FE144 000FB0A4 38 61 00 0C */ addi r3, r1, 0xc +/* 800FE148 000FB0A8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800FE14C 000FB0AC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FE150 000FB0B0 4B F4 9D CD */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800FE154 000FB0B4 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 800FE158 000FB0B8 7F C3 F3 78 */ mr r3, r30 +/* 800FE15C 000FB0BC 38 81 00 08 */ addi r4, r1, 8 +/* 800FE160 000FB0C0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800FE164 000FB0C4 B0 01 00 08 */ sth r0, 8(r1) +/* 800FE168 000FB0C8 4B F4 E4 0D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800FE16C 000FB0CC 7C 60 1B 78 */ mr r0, r3 +/* 800FE170 000FB0D0 38 61 00 28 */ addi r3, r1, 0x28 +/* 800FE174 000FB0D4 7C 1B 03 78 */ mr r27, r0 +/* 800FE178 000FB0D8 7F 64 DB 78 */ mr r4, r27 +/* 800FE17C 000FB0DC 4B FA DB F1 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +/* 800FE180 000FB0E0 83 83 00 04 */ lwz r28, 4(r3) +/* 800FE184 000FB0E4 28 1C 00 00 */ cmplwi r28, 0 +/* 800FE188 000FB0E8 41 82 00 78 */ beq lbl_800FE200 +/* 800FE18C 000FB0EC 80 9C 00 64 */ lwz r4, 0x64(r28) +/* 800FE190 000FB0F0 38 60 00 00 */ li r3, 0 +/* 800FE194 000FB0F4 28 04 00 00 */ cmplwi r4, 0 +/* 800FE198 000FB0F8 41 82 00 14 */ beq lbl_800FE1AC +/* 800FE19C 000FB0FC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800FE1A0 000FB100 28 00 00 00 */ cmplwi r0, 0 +/* 800FE1A4 000FB104 41 82 00 08 */ beq lbl_800FE1AC +/* 800FE1A8 000FB108 38 60 00 01 */ li r3, 1 +lbl_800FE1AC: +/* 800FE1AC 000FB10C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FE1B0 000FB110 41 82 00 E8 */ beq lbl_800FE298 +/* 800FE1B4 000FB114 80 64 00 10 */ lwz r3, 0x10(r4) +/* 800FE1B8 000FB118 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 800FE1BC 000FB11C 4B F2 BD E1 */ bl IsAdditiveAnimation__9CAnimDataCFUi +/* 800FE1C0 000FB120 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FE1C4 000FB124 41 82 00 18 */ beq lbl_800FE1DC +/* 800FE1C8 000FB128 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 800FE1CC 000FB12C 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 800FE1D0 000FB130 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FE1D4 000FB134 4B F2 BF 85 */ bl DelAdditiveAnimation__9CAnimDataFUi +/* 800FE1D8 000FB138 48 00 00 C0 */ b lbl_800FE298 +lbl_800FE1DC: +/* 800FE1DC 000FB13C 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 800FE1E0 000FB140 80 BD 00 34 */ lwz r5, 0x34(r29) +/* 800FE1E4 000FB144 80 83 00 10 */ lwz r4, 0x10(r3) +/* 800FE1E8 000FB148 A8 04 02 08 */ lha r0, 0x208(r4) +/* 800FE1EC 000FB14C 7C 05 00 00 */ cmpw r5, r0 +/* 800FE1F0 000FB150 40 82 00 A8 */ bne lbl_800FE298 +/* 800FE1F4 000FB154 38 80 00 00 */ li r4, 0 +/* 800FE1F8 000FB158 48 01 73 69 */ bl EnableLooping__10CModelDataFb +/* 800FE1FC 000FB15C 48 00 00 9C */ b lbl_800FE298 +lbl_800FE200: +/* 800FE200 000FB160 7F 64 DB 78 */ mr r4, r27 +/* 800FE204 000FB164 38 61 00 20 */ addi r3, r1, 0x20 +/* 800FE208 000FB168 4B FA E8 55 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 800FE20C 000FB16C 83 83 00 04 */ lwz r28, 4(r3) +/* 800FE210 000FB170 28 1C 00 00 */ cmplwi r28, 0 +/* 800FE214 000FB174 41 82 00 84 */ beq lbl_800FE298 +/* 800FE218 000FB178 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 800FE21C 000FB17C 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 800FE220 000FB180 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FE224 000FB184 4B F2 BD 79 */ bl IsAdditiveAnimation__9CAnimDataCFUi +/* 800FE228 000FB188 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FE22C 000FB18C 41 82 00 18 */ beq lbl_800FE244 +/* 800FE230 000FB190 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 800FE234 000FB194 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 800FE238 000FB198 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FE23C 000FB19C 4B F2 BF 1D */ bl DelAdditiveAnimation__9CAnimDataFUi +/* 800FE240 000FB1A0 48 00 00 58 */ b lbl_800FE298 +lbl_800FE244: +/* 800FE244 000FB1A4 80 DC 04 50 */ lwz r6, 0x450(r28) +/* 800FE248 000FB1A8 80 06 02 B8 */ lwz r0, 0x2b8(r6) +/* 800FE24C 000FB1AC 2C 00 00 11 */ cmpwi r0, 0x11 +/* 800FE250 000FB1B0 40 82 00 48 */ bne lbl_800FE298 +/* 800FE254 000FB1B4 80 7C 00 64 */ lwz r3, 0x64(r28) +/* 800FE258 000FB1B8 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 800FE25C 000FB1BC 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FE260 000FB1C0 A8 03 02 08 */ lha r0, 0x208(r3) +/* 800FE264 000FB1C4 7C 04 00 00 */ cmpw r4, r0 +/* 800FE268 000FB1C8 40 82 00 30 */ bne lbl_800FE298 +/* 800FE26C 000FB1CC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 800FE270 000FB1D0 38 00 00 0A */ li r0, 0xa +/* 800FE274 000FB1D4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 800FE278 000FB1D8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800FE27C 000FB1DC 38 66 00 04 */ addi r3, r6, 4 +/* 800FE280 000FB1E0 38 81 00 18 */ addi r4, r1, 0x18 +/* 800FE284 000FB1E4 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800FE288 000FB1E8 48 03 35 31 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd +/* 800FE28C 000FB1EC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 800FE290 000FB1F0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 800FE294 000FB1F4 90 01 00 18 */ stw r0, 0x18(r1) +lbl_800FE298: +/* 800FE298 000FB1F8 3B FF 00 0C */ addi r31, r31, 0xc +lbl_800FE29C: +/* 800FE29C 000FB1FC 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 800FE2A0 000FB200 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 800FE2A4 000FB204 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800FE2A8 000FB208 7C 03 02 14 */ add r0, r3, r0 +/* 800FE2AC 000FB20C 7C 1F 00 40 */ cmplw r31, r0 +/* 800FE2B0 000FB210 40 82 FE 74 */ bne lbl_800FE124 +lbl_800FE2B4: +/* 800FE2B4 000FB214 FC 20 F8 90 */ fmr f1, f31 +/* 800FE2B8 000FB218 7F A3 EB 78 */ mr r3, r29 +/* 800FE2BC 000FB21C 7F C4 F3 78 */ mr r4, r30 +/* 800FE2C0 000FB220 4B F5 2D F9 */ bl Think__7CEntityFfR13CStateManager +/* 800FE2C4 000FB224 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 800FE2C8 000FB228 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 800FE2CC 000FB22C BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 800FE2D0 000FB230 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800FE2D4 000FB234 7C 08 03 A6 */ mtlr r0 +/* 800FE2D8 000FB238 38 21 00 60 */ addi r1, r1, 0x60 +/* 800FE2DC 000FB23C 4E 80 00 20 */ blr + +.global UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager +UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager: +/* 800FE2E0 000FB240 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800FE2E4 000FB244 7C 08 02 A6 */ mflr r0 +/* 800FE2E8 000FB248 90 01 00 84 */ stw r0, 0x84(r1) +/* 800FE2EC 000FB24C 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 800FE2F0 000FB250 93 C1 00 78 */ stw r30, 0x78(r1) +/* 800FE2F4 000FB254 7C 7E 1B 78 */ mr r30, r3 +/* 800FE2F8 000FB258 93 A1 00 74 */ stw r29, 0x74(r1) +/* 800FE2FC 000FB25C 93 81 00 70 */ stw r28, 0x70(r1) +/* 800FE300 000FB260 7C BC 2B 78 */ mr r28, r5 +/* 800FE304 000FB264 7F 83 E3 78 */ mr r3, r28 +/* 800FE308 000FB268 A0 04 00 00 */ lhz r0, 0(r4) +/* 800FE30C 000FB26C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800FE310 000FB270 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800FE314 000FB274 4B F4 E2 61 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800FE318 000FB278 7C 60 1B 78 */ mr r0, r3 +/* 800FE31C 000FB27C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800FE320 000FB280 7C 1D 03 78 */ mr r29, r0 +/* 800FE324 000FB284 7F A4 EB 78 */ mr r4, r29 +/* 800FE328 000FB288 4B FA DA 45 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +/* 800FE32C 000FB28C 83 E3 00 04 */ lwz r31, 4(r3) +/* 800FE330 000FB290 28 1F 00 00 */ cmplwi r31, 0 +/* 800FE334 000FB294 40 82 00 14 */ bne lbl_800FE348 +/* 800FE338 000FB298 7F A4 EB 78 */ mr r4, r29 +/* 800FE33C 000FB29C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800FE340 000FB2A0 4B FA AA D5 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" +/* 800FE344 000FB2A4 83 E3 00 04 */ lwz r31, 4(r3) +lbl_800FE348: +/* 800FE348 000FB2A8 28 1F 00 00 */ cmplwi r31, 0 +/* 800FE34C 000FB2AC 41 82 01 50 */ beq lbl_800FE49C +/* 800FE350 000FB2B0 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 800FE354 000FB2B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FE358 000FB2B8 40 82 00 24 */ bne lbl_800FE37C +/* 800FE35C 000FB2BC A0 1E 00 08 */ lhz r0, 8(r30) +/* 800FE360 000FB2C0 7F 83 E3 78 */ mr r3, r28 +/* 800FE364 000FB2C4 7F E4 FB 78 */ mr r4, r31 +/* 800FE368 000FB2C8 38 A1 00 0C */ addi r5, r1, 0xc +/* 800FE36C 000FB2CC B0 01 00 08 */ sth r0, 8(r1) +/* 800FE370 000FB2D0 38 C0 00 01 */ li r6, 1 +/* 800FE374 000FB2D4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800FE378 000FB2D8 4B F4 5B 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_800FE37C: +/* 800FE37C 000FB2DC C0 22 93 A4 */ lfs f1, lbl_805AB0C4@sda21(r2) +/* 800FE380 000FB2E0 38 80 00 00 */ li r4, 0 +/* 800FE384 000FB2E4 38 00 00 03 */ li r0, 3 +/* 800FE388 000FB2E8 98 81 00 1C */ stb r4, 0x1c(r1) +/* 800FE38C 000FB2EC FC 40 08 90 */ fmr f2, f1 +/* 800FE390 000FB2F0 38 61 00 20 */ addi r3, r1, 0x20 +/* 800FE394 000FB2F4 FC 60 08 90 */ fmr f3, f1 +/* 800FE398 000FB2F8 98 81 00 1D */ stb r4, 0x1d(r1) +/* 800FE39C 000FB2FC FC 80 08 90 */ fmr f4, f1 +/* 800FE3A0 000FB300 B0 01 00 1E */ sth r0, 0x1e(r1) +/* 800FE3A4 000FB304 48 26 50 49 */ bl __ct__6CColorFffff +/* 800FE3A8 000FB308 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 800FE3AC 000FB30C 38 60 00 00 */ li r3, 0 +/* 800FE3B0 000FB310 98 1F 00 B4 */ stb r0, 0xb4(r31) +/* 800FE3B4 000FB314 88 01 00 1D */ lbz r0, 0x1d(r1) +/* 800FE3B8 000FB318 98 1F 00 B5 */ stb r0, 0xb5(r31) +/* 800FE3BC 000FB31C A0 01 00 1E */ lhz r0, 0x1e(r1) +/* 800FE3C0 000FB320 B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 800FE3C4 000FB324 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800FE3C8 000FB328 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 800FE3CC 000FB32C 80 9F 00 64 */ lwz r4, 0x64(r31) +/* 800FE3D0 000FB330 28 04 00 00 */ cmplwi r4, 0 +/* 800FE3D4 000FB334 41 82 00 14 */ beq lbl_800FE3E8 +/* 800FE3D8 000FB338 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800FE3DC 000FB33C 28 00 00 00 */ cmplwi r0, 0 +/* 800FE3E0 000FB340 41 82 00 08 */ beq lbl_800FE3E8 +/* 800FE3E4 000FB344 38 60 00 01 */ li r3, 1 +lbl_800FE3E8: +/* 800FE3E8 000FB348 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FE3EC 000FB34C 41 82 01 9C */ beq lbl_800FE588 +/* 800FE3F0 000FB350 80 64 00 10 */ lwz r3, 0x10(r4) +/* 800FE3F4 000FB354 80 9E 00 34 */ lwz r4, 0x34(r30) +/* 800FE3F8 000FB358 4B F2 BB A5 */ bl IsAdditiveAnimation__9CAnimDataCFUi +/* 800FE3FC 000FB35C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FE400 000FB360 41 82 00 28 */ beq lbl_800FE428 +/* 800FE404 000FB364 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800FE408 000FB368 88 1E 00 44 */ lbz r0, 0x44(r30) +/* 800FE40C 000FB36C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FE410 000FB370 80 9E 00 34 */ lwz r4, 0x34(r30) +/* 800FE414 000FB374 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f +/* 800FE418 000FB378 C0 22 93 A4 */ lfs f1, lbl_805AB0C4@sda21(r2) +/* 800FE41C 000FB37C 54 06 DF FE */ rlwinm r6, r0, 0x1b, 0x1f, 0x1f +/* 800FE420 000FB380 4B F2 BD B1 */ bl AddAdditiveAnimation__9CAnimDataFUifbb +/* 800FE424 000FB384 48 00 01 64 */ b lbl_800FE588 +lbl_800FE428: +/* 800FE428 000FB388 80 9E 00 34 */ lwz r4, 0x34(r30) +/* 800FE42C 000FB38C 38 00 00 00 */ li r0, 0 +/* 800FE430 000FB390 C0 02 93 A4 */ lfs f0, lbl_805AB0C4@sda21(r2) +/* 800FE434 000FB394 38 C0 FF FF */ li r6, -1 +/* 800FE438 000FB398 38 60 00 01 */ li r3, 1 +/* 800FE43C 000FB39C 90 81 00 48 */ stw r4, 0x48(r1) +/* 800FE440 000FB3A0 38 81 00 48 */ addi r4, r1, 0x48 +/* 800FE444 000FB3A4 38 A0 00 00 */ li r5, 0 +/* 800FE448 000FB3A8 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800FE44C 000FB3AC D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800FE450 000FB3B0 98 61 00 54 */ stb r3, 0x54(r1) +/* 800FE454 000FB3B4 90 01 00 58 */ stw r0, 0x58(r1) +/* 800FE458 000FB3B8 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800FE45C 000FB3BC 98 01 00 60 */ stb r0, 0x60(r1) +/* 800FE460 000FB3C0 90 01 00 64 */ stw r0, 0x64(r1) +/* 800FE464 000FB3C4 90 01 00 68 */ stw r0, 0x68(r1) +/* 800FE468 000FB3C8 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800FE46C 000FB3CC 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800FE470 000FB3D0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FE474 000FB3D4 4B F2 E9 09 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800FE478 000FB3D8 88 1E 00 44 */ lbz r0, 0x44(r30) +/* 800FE47C 000FB3DC 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800FE480 000FB3E0 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f +/* 800FE484 000FB3E4 48 01 70 DD */ bl EnableLooping__10CModelDataFb +/* 800FE488 000FB3E8 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800FE48C 000FB3EC C0 3E 00 3C */ lfs f1, 0x3c(r30) +/* 800FE490 000FB3F0 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FE494 000FB3F4 4B F2 CF C5 */ bl MultiplyPlaybackRate__9CAnimDataFf +/* 800FE498 000FB3F8 48 00 00 F0 */ b lbl_800FE588 +lbl_800FE49C: +/* 800FE49C 000FB3FC 7F A4 EB 78 */ mr r4, r29 +/* 800FE4A0 000FB400 38 61 00 14 */ addi r3, r1, 0x14 +/* 800FE4A4 000FB404 4B FA E5 B9 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" +/* 800FE4A8 000FB408 83 E3 00 04 */ lwz r31, 4(r3) +/* 800FE4AC 000FB40C 28 1F 00 00 */ cmplwi r31, 0 +/* 800FE4B0 000FB410 41 82 00 D8 */ beq lbl_800FE588 +/* 800FE4B4 000FB414 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800FE4B8 000FB418 80 9E 00 34 */ lwz r4, 0x34(r30) +/* 800FE4BC 000FB41C 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FE4C0 000FB420 4B F2 BA DD */ bl IsAdditiveAnimation__9CAnimDataCFUi +/* 800FE4C4 000FB424 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FE4C8 000FB428 41 82 00 28 */ beq lbl_800FE4F0 +/* 800FE4CC 000FB42C 80 7F 00 64 */ lwz r3, 0x64(r31) +/* 800FE4D0 000FB430 88 1E 00 44 */ lbz r0, 0x44(r30) +/* 800FE4D4 000FB434 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FE4D8 000FB438 80 9E 00 34 */ lwz r4, 0x34(r30) +/* 800FE4DC 000FB43C 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f +/* 800FE4E0 000FB440 C0 22 93 A4 */ lfs f1, lbl_805AB0C4@sda21(r2) +/* 800FE4E4 000FB444 54 06 DF FE */ rlwinm r6, r0, 0x1b, 0x1f, 0x1f +/* 800FE4E8 000FB448 4B F2 BC E9 */ bl AddAdditiveAnimation__9CAnimDataFUifbb +/* 800FE4EC 000FB44C 48 00 00 9C */ b lbl_800FE588 +lbl_800FE4F0: +/* 800FE4F0 000FB450 88 DE 00 44 */ lbz r6, 0x44(r30) +/* 800FE4F4 000FB454 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 800FE4F8 000FB458 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800FE4FC 000FB45C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l +/* 800FE500 000FB460 50 C0 06 30 */ rlwimi r0, r6, 0, 0x18, 0x18 +/* 800FE504 000FB464 C0 1E 00 38 */ lfs f0, 0x38(r30) +/* 800FE508 000FB468 81 1E 00 34 */ lwz r8, 0x34(r30) +/* 800FE50C 000FB46C 3C 60 80 3E */ lis r3, lbl_803DFE40@ha +/* 800FE510 000FB470 80 FF 04 50 */ lwz r7, 0x450(r31) +/* 800FE514 000FB474 38 80 00 13 */ li r4, 0x13 +/* 800FE518 000FB478 90 A1 00 34 */ stw r5, 0x34(r1) +/* 800FE51C 000FB47C 38 A3 FE 40 */ addi r5, r3, lbl_803DFE40@l +/* 800FE520 000FB480 3B C7 00 04 */ addi r30, r7, 4 +/* 800FE524 000FB484 98 01 00 40 */ stb r0, 0x40(r1) +/* 800FE528 000FB488 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 800FE52C 000FB48C 50 C0 16 72 */ rlwimi r0, r6, 2, 0x19, 0x19 +/* 800FE530 000FB490 7F C3 F3 78 */ mr r3, r30 +/* 800FE534 000FB494 90 81 00 38 */ stw r4, 0x38(r1) +/* 800FE538 000FB498 38 80 00 13 */ li r4, 0x13 +/* 800FE53C 000FB49C 90 A1 00 34 */ stw r5, 0x34(r1) +/* 800FE540 000FB4A0 91 01 00 3C */ stw r8, 0x3c(r1) +/* 800FE544 000FB4A4 98 01 00 40 */ stb r0, 0x40(r1) +/* 800FE548 000FB4A8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800FE54C 000FB4AC 48 03 2E ED */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd +/* 800FE550 000FB4B0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800FE554 000FB4B4 3C 60 80 3E */ lis r3, lbl_803DFE40@ha +/* 800FE558 000FB4B8 38 83 FE 40 */ addi r4, r3, lbl_803DFE40@l +/* 800FE55C 000FB4BC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 800FE560 000FB4C0 90 1E 02 20 */ stw r0, 0x220(r30) +/* 800FE564 000FB4C4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 800FE568 000FB4C8 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 800FE56C 000FB4CC 88 61 00 40 */ lbz r3, 0x40(r1) +/* 800FE570 000FB4D0 90 BE 02 24 */ stw r5, 0x224(r30) +/* 800FE574 000FB4D4 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 800FE578 000FB4D8 98 7E 02 28 */ stb r3, 0x228(r30) +/* 800FE57C 000FB4DC 90 81 00 34 */ stw r4, 0x34(r1) +/* 800FE580 000FB4E0 D0 1E 02 2C */ stfs f0, 0x22c(r30) +/* 800FE584 000FB4E4 90 01 00 34 */ stw r0, 0x34(r1) +lbl_800FE588: +/* 800FE588 000FB4E8 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800FE58C 000FB4EC 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 800FE590 000FB4F0 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 800FE594 000FB4F4 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 800FE598 000FB4F8 83 81 00 70 */ lwz r28, 0x70(r1) +/* 800FE59C 000FB4FC 7C 08 03 A6 */ mtlr r0 +/* 800FE5A0 000FB500 38 21 00 80 */ addi r1, r1, 0x80 +/* 800FE5A4 000FB504 4E 80 00 20 */ blr + +.global __dt__14CBCScriptedCmdFv +__dt__14CBCScriptedCmdFv: +/* 800FE5A8 000FB508 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FE5AC 000FB50C 7C 08 02 A6 */ mflr r0 +/* 800FE5B0 000FB510 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FE5B4 000FB514 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FE5B8 000FB518 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800FE5BC 000FB51C 41 82 00 30 */ beq lbl_800FE5EC +/* 800FE5C0 000FB520 3C 60 80 3E */ lis r3, lbl_803DFE40@ha +/* 800FE5C4 000FB524 38 03 FE 40 */ addi r0, r3, lbl_803DFE40@l +/* 800FE5C8 000FB528 90 1F 00 00 */ stw r0, 0(r31) +/* 800FE5CC 000FB52C 41 82 00 10 */ beq lbl_800FE5DC +/* 800FE5D0 000FB530 3C 60 80 3E */ lis r3, lbl_803DAA68@ha +/* 800FE5D4 000FB534 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l +/* 800FE5D8 000FB538 90 1F 00 00 */ stw r0, 0(r31) +lbl_800FE5DC: +/* 800FE5DC 000FB53C 7C 80 07 35 */ extsh. r0, r4 +/* 800FE5E0 000FB540 40 81 00 0C */ ble lbl_800FE5EC +/* 800FE5E4 000FB544 7F E3 FB 78 */ mr r3, r31 +/* 800FE5E8 000FB548 48 21 73 49 */ bl Free__7CMemoryFPCv +lbl_800FE5EC: +/* 800FE5EC 000FB54C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FE5F0 000FB550 7F E3 FB 78 */ mr r3, r31 +/* 800FE5F4 000FB554 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FE5F8 000FB558 7C 08 03 A6 */ mtlr r0 +/* 800FE5FC 000FB55C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FE600 000FB560 4E 80 00 20 */ blr + +.global Accept__20CScriptActorKeyframeFR8IVisitor +Accept__20CScriptActorKeyframeFR8IVisitor: +/* 800FE604 000FB564 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FE608 000FB568 7C 08 02 A6 */ mflr r0 +/* 800FE60C 000FB56C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FE610 000FB570 7C 60 1B 78 */ mr r0, r3 +/* 800FE614 000FB574 7C 83 23 78 */ mr r3, r4 +/* 800FE618 000FB578 81 84 00 00 */ lwz r12, 0(r4) +/* 800FE61C 000FB57C 7C 04 03 78 */ mr r4, r0 +/* 800FE620 000FB580 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800FE624 000FB584 7D 89 03 A6 */ mtctr r12 +/* 800FE628 000FB588 4E 80 04 21 */ bctrl +/* 800FE62C 000FB58C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FE630 000FB590 7C 08 03 A6 */ mtlr r0 +/* 800FE634 000FB594 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FE638 000FB598 4E 80 00 20 */ blr + +.global AcceptScriptMsg__20CScriptActorKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__20CScriptActorKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800FE63C 000FB59C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800FE640 000FB5A0 7C 08 02 A6 */ mflr r0 +/* 800FE644 000FB5A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 800FE648 000FB5A8 BE E1 00 2C */ stmw r23, 0x2c(r1) +/* 800FE64C 000FB5AC 7C 9D 23 78 */ mr r29, r4 +/* 800FE650 000FB5B0 2C 1D 00 23 */ cmpwi r29, 0x23 +/* 800FE654 000FB5B4 7C 7C 1B 78 */ mr r28, r3 +/* 800FE658 000FB5B8 7C BE 2B 78 */ mr r30, r5 +/* 800FE65C 000FB5BC 7C DF 33 78 */ mr r31, r6 +/* 800FE660 000FB5C0 41 82 01 0C */ beq lbl_800FE76C +/* 800FE664 000FB5C4 40 80 01 1C */ bge lbl_800FE780 +/* 800FE668 000FB5C8 2C 1D 00 13 */ cmpwi r29, 0x13 +/* 800FE66C 000FB5CC 41 82 00 08 */ beq lbl_800FE674 +/* 800FE670 000FB5D0 48 00 01 10 */ b lbl_800FE780 +lbl_800FE674: +/* 800FE674 000FB5D4 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800FE678 000FB5D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FE67C 000FB5DC 41 82 01 04 */ beq lbl_800FE780 +/* 800FE680 000FB5E0 88 1C 00 44 */ lbz r0, 0x44(r28) +/* 800FE684 000FB5E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800FE688 000FB5E8 40 82 00 B4 */ bne lbl_800FE73C +/* 800FE68C 000FB5EC 83 7C 00 2C */ lwz r27, 0x2c(r28) +/* 800FE690 000FB5F0 48 00 00 94 */ b lbl_800FE724 +lbl_800FE694: +/* 800FE694 000FB5F4 80 1B 00 00 */ lwz r0, 0(r27) +/* 800FE698 000FB5F8 2C 00 00 12 */ cmpwi r0, 0x12 +/* 800FE69C 000FB5FC 40 82 00 84 */ bne lbl_800FE720 +/* 800FE6A0 000FB600 80 1B 00 04 */ lwz r0, 4(r27) +/* 800FE6A4 000FB604 2C 00 00 14 */ cmpwi r0, 0x14 +/* 800FE6A8 000FB608 40 82 00 78 */ bne lbl_800FE720 +/* 800FE6AC 000FB60C 80 1B 00 08 */ lwz r0, 8(r27) +/* 800FE6B0 000FB610 7F E4 FB 78 */ mr r4, r31 +/* 800FE6B4 000FB614 38 61 00 14 */ addi r3, r1, 0x14 +/* 800FE6B8 000FB618 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800FE6BC 000FB61C 90 01 00 10 */ stw r0, 0x10(r1) +/* 800FE6C0 000FB620 4B F4 99 09 */ bl GetIdListForScript__13CStateManagerCF9TEditorId +/* 800FE6C4 000FB624 83 41 00 18 */ lwz r26, 0x18(r1) +/* 800FE6C8 000FB628 83 21 00 1C */ lwz r25, 0x1c(r1) +/* 800FE6CC 000FB62C 83 01 00 20 */ lwz r24, 0x20(r1) +/* 800FE6D0 000FB630 82 E1 00 14 */ lwz r23, 0x14(r1) +/* 800FE6D4 000FB634 48 00 00 2C */ b lbl_800FE700 +lbl_800FE6D8: +/* 800FE6D8 000FB638 A0 17 00 14 */ lhz r0, 0x14(r23) +/* 800FE6DC 000FB63C 7F 83 E3 78 */ mr r3, r28 +/* 800FE6E0 000FB640 7F E5 FB 78 */ mr r5, r31 +/* 800FE6E4 000FB644 38 81 00 0C */ addi r4, r1, 0xc +/* 800FE6E8 000FB648 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800FE6EC 000FB64C 4B FF FB F5 */ bl UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager +/* 800FE6F0 000FB650 7F 43 D3 78 */ mr r3, r26 +/* 800FE6F4 000FB654 7E E4 BB 78 */ mr r4, r23 +/* 800FE6F8 000FB658 48 23 DE E9 */ bl rbtree_traverse_forward__4rstlFPCvPv +/* 800FE6FC 000FB65C 7C 77 1B 78 */ mr r23, r3 +lbl_800FE700: +/* 800FE700 000FB660 7C 17 C8 40 */ cmplw r23, r25 +/* 800FE704 000FB664 38 00 00 00 */ li r0, 0 +/* 800FE708 000FB668 40 82 00 0C */ bne lbl_800FE714 +/* 800FE70C 000FB66C 7C 1A C0 40 */ cmplw r26, r24 +/* 800FE710 000FB670 41 82 00 08 */ beq lbl_800FE718 +lbl_800FE714: +/* 800FE714 000FB674 38 00 00 01 */ li r0, 1 +lbl_800FE718: +/* 800FE718 000FB678 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800FE71C 000FB67C 40 82 FF BC */ bne lbl_800FE6D8 +lbl_800FE720: +/* 800FE720 000FB680 3B 7B 00 0C */ addi r27, r27, 0xc +lbl_800FE724: +/* 800FE724 000FB684 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 800FE728 000FB688 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 800FE72C 000FB68C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800FE730 000FB690 7C 03 02 14 */ add r0, r3, r0 +/* 800FE734 000FB694 7C 1B 00 40 */ cmplw r27, r0 +/* 800FE738 000FB698 40 82 FF 5C */ bne lbl_800FE694 +lbl_800FE73C: +/* 800FE73C 000FB69C 88 1C 00 44 */ lbz r0, 0x44(r28) +/* 800FE740 000FB6A0 38 60 00 01 */ li r3, 1 +/* 800FE744 000FB6A4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800FE748 000FB6A8 7F 83 E3 78 */ mr r3, r28 +/* 800FE74C 000FB6AC 98 1C 00 44 */ stb r0, 0x44(r28) +/* 800FE750 000FB6B0 7F E5 FB 78 */ mr r5, r31 +/* 800FE754 000FB6B4 38 80 00 12 */ li r4, 0x12 +/* 800FE758 000FB6B8 38 C0 FF FF */ li r6, -1 +/* 800FE75C 000FB6BC C0 1C 00 38 */ lfs f0, 0x38(r28) +/* 800FE760 000FB6C0 D0 1C 00 40 */ stfs f0, 0x40(r28) +/* 800FE764 000FB6C4 4B F5 29 5D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800FE768 000FB6C8 48 00 00 18 */ b lbl_800FE780 +lbl_800FE76C: +/* 800FE76C 000FB6CC 80 1C 00 34 */ lwz r0, 0x34(r28) +/* 800FE770 000FB6D0 2C 00 FF FF */ cmpwi r0, -1 +/* 800FE774 000FB6D4 40 82 00 0C */ bne lbl_800FE780 +/* 800FE778 000FB6D8 38 00 00 00 */ li r0, 0 +/* 800FE77C 000FB6DC 90 1C 00 34 */ stw r0, 0x34(r28) +lbl_800FE780: +/* 800FE780 000FB6E0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800FE784 000FB6E4 7F 83 E3 78 */ mr r3, r28 +/* 800FE788 000FB6E8 7F A4 EB 78 */ mr r4, r29 +/* 800FE78C 000FB6EC 7F E6 FB 78 */ mr r6, r31 +/* 800FE790 000FB6F0 B0 01 00 08 */ sth r0, 8(r1) +/* 800FE794 000FB6F4 38 A1 00 08 */ addi r5, r1, 8 +/* 800FE798 000FB6F8 4B F5 29 C5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800FE79C 000FB6FC BA E1 00 2C */ lmw r23, 0x2c(r1) +/* 800FE7A0 000FB700 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800FE7A4 000FB704 7C 08 03 A6 */ mtlr r0 +/* 800FE7A8 000FB708 38 21 00 50 */ addi r1, r1, 0x50 +/* 800FE7AC 000FB70C 4E 80 00 20 */ blr + +.global "__ct__20CScriptActorKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibfbUib" +"__ct__20CScriptActorKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibfbUib": +/* 800FE7B0 000FB710 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800FE7B4 000FB714 7C 08 02 A6 */ mflr r0 +/* 800FE7B8 000FB718 7C AB 2B 78 */ mr r11, r5 +/* 800FE7BC 000FB71C 7C C5 33 78 */ mr r5, r6 +/* 800FE7C0 000FB720 90 01 00 44 */ stw r0, 0x44(r1) +/* 800FE7C4 000FB724 DB E1 00 38 */ stfd f31, 0x38(r1) +/* 800FE7C8 000FB728 FF E0 10 90 */ fmr f31, f2 +/* 800FE7CC 000FB72C DB C1 00 30 */ stfd f30, 0x30(r1) +/* 800FE7D0 000FB730 FF C0 08 90 */ fmr f30, f1 +/* 800FE7D4 000FB734 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800FE7D8 000FB738 7C FB 3B 78 */ mr r27, r7 +/* 800FE7DC 000FB73C 7C 7F 1B 78 */ mr r31, r3 +/* 800FE7E0 000FB740 7D 1C 43 78 */ mr r28, r8 +/* 800FE7E4 000FB744 7D 3D 4B 78 */ mr r29, r9 +/* 800FE7E8 000FB748 7D 5E 53 78 */ mr r30, r10 +/* 800FE7EC 000FB74C 7D 67 5B 78 */ mr r7, r11 +/* 800FE7F0 000FB750 A0 04 00 00 */ lhz r0, 0(r4) +/* 800FE7F4 000FB754 88 81 00 4B */ lbz r4, 0x4b(r1) +/* 800FE7F8 000FB758 B0 01 00 08 */ sth r0, 8(r1) +/* 800FE7FC 000FB75C 7C 86 23 78 */ mr r6, r4 +/* 800FE800 000FB760 38 81 00 08 */ addi r4, r1, 8 +/* 800FE804 000FB764 4B F5 2B 21 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800FE808 000FB768 3C 60 80 3E */ lis r3, lbl_803DFE20@ha +/* 800FE80C 000FB76C 38 80 00 00 */ li r4, 0 +/* 800FE810 000FB770 38 03 FE 20 */ addi r0, r3, lbl_803DFE20@l +/* 800FE814 000FB774 90 1F 00 00 */ stw r0, 0(r31) +/* 800FE818 000FB778 7F E3 FB 78 */ mr r3, r31 +/* 800FE81C 000FB77C 93 7F 00 34 */ stw r27, 0x34(r31) +/* 800FE820 000FB780 D3 DF 00 38 */ stfs f30, 0x38(r31) +/* 800FE824 000FB784 D3 FF 00 3C */ stfs f31, 0x3c(r31) +/* 800FE828 000FB788 D3 DF 00 40 */ stfs f30, 0x40(r31) +/* 800FE82C 000FB78C 88 1F 00 44 */ lbz r0, 0x44(r31) +/* 800FE830 000FB790 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18 +/* 800FE834 000FB794 98 1F 00 44 */ stb r0, 0x44(r31) +/* 800FE838 000FB798 88 1F 00 44 */ lbz r0, 0x44(r31) +/* 800FE83C 000FB79C 53 A0 36 72 */ rlwimi r0, r29, 6, 0x19, 0x19 +/* 800FE840 000FB7A0 98 1F 00 44 */ stb r0, 0x44(r31) +/* 800FE844 000FB7A4 88 1F 00 44 */ lbz r0, 0x44(r31) +/* 800FE848 000FB7A8 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a +/* 800FE84C 000FB7AC 98 1F 00 44 */ stb r0, 0x44(r31) +/* 800FE850 000FB7B0 88 1F 00 44 */ lbz r0, 0x44(r31) +/* 800FE854 000FB7B4 53 C0 1E F6 */ rlwimi r0, r30, 3, 0x1b, 0x1b +/* 800FE858 000FB7B8 98 1F 00 44 */ stb r0, 0x44(r31) +/* 800FE85C 000FB7BC 88 1F 00 44 */ lbz r0, 0x44(r31) +/* 800FE860 000FB7C0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 800FE864 000FB7C4 98 1F 00 44 */ stb r0, 0x44(r31) +/* 800FE868 000FB7C8 CB E1 00 38 */ lfd f31, 0x38(r1) +/* 800FE86C 000FB7CC CB C1 00 30 */ lfd f30, 0x30(r1) +/* 800FE870 000FB7D0 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 800FE874 000FB7D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800FE878 000FB7D8 7C 08 03 A6 */ mtlr r0 +/* 800FE87C 000FB7DC 38 21 00 40 */ addi r1, r1, 0x40 +/* 800FE880 000FB7E0 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptCameraBlurKeyframe.s b/asm/Kyoto_CWD/ScriptObjects/CScriptCameraBlurKeyframe.s new file mode 100644 index 00000000..3620dbc0 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptCameraBlurKeyframe.s @@ -0,0 +1,143 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Accept__25CScriptCameraBlurKeyframeFR8IVisitor +Accept__25CScriptCameraBlurKeyframeFR8IVisitor: +/* 800EA758 000E76B8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EA75C 000E76BC 7C 08 02 A6 */ mflr r0 +/* 800EA760 000E76C0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EA764 000E76C4 7C 60 1B 78 */ mr r0, r3 +/* 800EA768 000E76C8 7C 83 23 78 */ mr r3, r4 +/* 800EA76C 000E76CC 81 84 00 00 */ lwz r12, 0(r4) +/* 800EA770 000E76D0 7C 04 03 78 */ mr r4, r0 +/* 800EA774 000E76D4 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800EA778 000E76D8 7D 89 03 A6 */ mtctr r12 +/* 800EA77C 000E76DC 4E 80 04 21 */ bctrl +/* 800EA780 000E76E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EA784 000E76E4 7C 08 03 A6 */ mtlr r0 +/* 800EA788 000E76E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EA78C 000E76EC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__25CScriptCameraBlurKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__25CScriptCameraBlurKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800EA790 000E76F0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800EA794 000E76F4 7C 08 02 A6 */ mflr r0 +/* 800EA798 000E76F8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EA79C 000E76FC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800EA7A0 000E7700 7C DF 33 78 */ mr r31, r6 +/* 800EA7A4 000E7704 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800EA7A8 000E7708 7C 9E 23 78 */ mr r30, r4 +/* 800EA7AC 000E770C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800EA7B0 000E7710 7C 7D 1B 78 */ mr r29, r3 +/* 800EA7B4 000E7714 A0 05 00 00 */ lhz r0, 0(r5) +/* 800EA7B8 000E7718 38 A1 00 08 */ addi r5, r1, 8 +/* 800EA7BC 000E771C B0 01 00 08 */ sth r0, 8(r1) +/* 800EA7C0 000E7720 4B F6 69 9D */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800EA7C4 000E7724 2C 1E 00 06 */ cmpwi r30, 6 +/* 800EA7C8 000E7728 41 82 00 5C */ beq lbl_800EA824 +/* 800EA7CC 000E772C 40 80 00 10 */ bge lbl_800EA7DC +/* 800EA7D0 000E7730 2C 1E 00 05 */ cmpwi r30, 5 +/* 800EA7D4 000E7734 40 80 00 38 */ bge lbl_800EA80C +/* 800EA7D8 000E7738 48 00 00 4C */ b lbl_800EA824 +lbl_800EA7DC: +/* 800EA7DC 000E773C 2C 1E 00 08 */ cmpwi r30, 8 +/* 800EA7E0 000E7740 40 80 00 44 */ bge lbl_800EA824 +/* 800EA7E4 000E7744 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 800EA7E8 000E7748 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800EA7EC 000E774C 41 82 00 38 */ beq lbl_800EA824 +/* 800EA7F0 000E7750 80 9D 00 34 */ lwz r4, 0x34(r29) +/* 800EA7F4 000E7754 38 7F 0D B4 */ addi r3, r31, 0xdb4 +/* 800EA7F8 000E7758 C0 3D 00 38 */ lfs f1, 0x38(r29) +/* 800EA7FC 000E775C 38 A0 00 00 */ li r5, 0 +/* 800EA800 000E7760 C0 5D 00 40 */ lfs f2, 0x40(r29) +/* 800EA804 000E7764 48 00 11 A1 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb +/* 800EA808 000E7768 48 00 00 1C */ b lbl_800EA824 +lbl_800EA80C: +/* 800EA80C 000E776C 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 800EA810 000E7770 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800EA814 000E7774 41 82 00 10 */ beq lbl_800EA824 +/* 800EA818 000E7778 C0 3D 00 44 */ lfs f1, 0x44(r29) +/* 800EA81C 000E777C 38 7F 0D B4 */ addi r3, r31, 0xdb4 +/* 800EA820 000E7780 48 00 11 55 */ bl DisableBlur__15CCameraBlurPassFf +lbl_800EA824: +/* 800EA824 000E7784 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EA828 000E7788 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800EA82C 000E778C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800EA830 000E7790 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800EA834 000E7794 7C 08 03 A6 */ mtlr r0 +/* 800EA838 000E7798 38 21 00 20 */ addi r1, r1, 0x20 +/* 800EA83C 000E779C 4E 80 00 20 */ blr + +.global __dt__25CScriptCameraBlurKeyframeFv +__dt__25CScriptCameraBlurKeyframeFv: +/* 800EA840 000E77A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EA844 000E77A4 7C 08 02 A6 */ mflr r0 +/* 800EA848 000E77A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EA84C 000E77AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800EA850 000E77B0 7C 9F 23 78 */ mr r31, r4 +/* 800EA854 000E77B4 93 C1 00 08 */ stw r30, 8(r1) +/* 800EA858 000E77B8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800EA85C 000E77BC 41 82 00 28 */ beq lbl_800EA884 +/* 800EA860 000E77C0 3C A0 80 3E */ lis r5, lbl_803DFCA0@ha +/* 800EA864 000E77C4 38 80 00 00 */ li r4, 0 +/* 800EA868 000E77C8 38 05 FC A0 */ addi r0, r5, lbl_803DFCA0@l +/* 800EA86C 000E77CC 90 1E 00 00 */ stw r0, 0(r30) +/* 800EA870 000E77D0 4B F6 6A 05 */ bl __dt__7CEntityFv +/* 800EA874 000E77D4 7F E0 07 35 */ extsh. r0, r31 +/* 800EA878 000E77D8 40 81 00 0C */ ble lbl_800EA884 +/* 800EA87C 000E77DC 7F C3 F3 78 */ mr r3, r30 +/* 800EA880 000E77E0 48 22 B0 B1 */ bl Free__7CMemoryFPCv +lbl_800EA884: +/* 800EA884 000E77E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EA888 000E77E8 7F C3 F3 78 */ mr r3, r30 +/* 800EA88C 000E77EC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800EA890 000E77F0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800EA894 000E77F4 7C 08 03 A6 */ mtlr r0 +/* 800EA898 000E77F8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EA89C 000E77FC 4E 80 00 20 */ blr + +.global "__ct__25CScriptCameraBlurKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUifUiffb" +"__ct__25CScriptCameraBlurKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUifUiffb": +/* 800EA8A0 000E7800 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800EA8A4 000E7804 7C 08 02 A6 */ mflr r0 +/* 800EA8A8 000E7808 90 01 00 44 */ stw r0, 0x44(r1) +/* 800EA8AC 000E780C DB E1 00 38 */ stfd f31, 0x38(r1) +/* 800EA8B0 000E7810 FF E0 18 90 */ fmr f31, f3 +/* 800EA8B4 000E7814 DB C1 00 30 */ stfd f30, 0x30(r1) +/* 800EA8B8 000E7818 FF C0 10 90 */ fmr f30, f2 +/* 800EA8BC 000E781C DB A1 00 28 */ stfd f29, 0x28(r1) +/* 800EA8C0 000E7820 FF A0 08 90 */ fmr f29, f1 +/* 800EA8C4 000E7824 93 E1 00 24 */ stw r31, 0x24(r1) +/* 800EA8C8 000E7828 7D 1F 43 78 */ mr r31, r8 +/* 800EA8CC 000E782C 93 C1 00 20 */ stw r30, 0x20(r1) +/* 800EA8D0 000E7830 7C FE 3B 78 */ mr r30, r7 +/* 800EA8D4 000E7834 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 800EA8D8 000E7838 7C 7D 1B 78 */ mr r29, r3 +/* 800EA8DC 000E783C A0 04 00 00 */ lhz r0, 0(r4) +/* 800EA8E0 000E7840 7C A4 2B 78 */ mr r4, r5 +/* 800EA8E4 000E7844 7C C5 33 78 */ mr r5, r6 +/* 800EA8E8 000E7848 7D 26 4B 78 */ mr r6, r9 +/* 800EA8EC 000E784C B0 01 00 08 */ sth r0, 8(r1) +/* 800EA8F0 000E7850 7C 87 23 78 */ mr r7, r4 +/* 800EA8F4 000E7854 38 81 00 08 */ addi r4, r1, 8 +/* 800EA8F8 000E7858 4B F6 6A 2D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800EA8FC 000E785C 3C 80 80 3E */ lis r4, lbl_803DFCA0@ha +/* 800EA900 000E7860 7F A3 EB 78 */ mr r3, r29 +/* 800EA904 000E7864 38 04 FC A0 */ addi r0, r4, lbl_803DFCA0@l +/* 800EA908 000E7868 90 1D 00 00 */ stw r0, 0(r29) +/* 800EA90C 000E786C 93 DD 00 34 */ stw r30, 0x34(r29) +/* 800EA910 000E7870 D3 BD 00 38 */ stfs f29, 0x38(r29) +/* 800EA914 000E7874 93 FD 00 3C */ stw r31, 0x3c(r29) +/* 800EA918 000E7878 D3 DD 00 40 */ stfs f30, 0x40(r29) +/* 800EA91C 000E787C D3 FD 00 44 */ stfs f31, 0x44(r29) +/* 800EA920 000E7880 CB E1 00 38 */ lfd f31, 0x38(r1) +/* 800EA924 000E7884 CB C1 00 30 */ lfd f30, 0x30(r1) +/* 800EA928 000E7888 CB A1 00 28 */ lfd f29, 0x28(r1) +/* 800EA92C 000E788C 83 E1 00 24 */ lwz r31, 0x24(r1) +/* 800EA930 000E7890 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 800EA934 000E7894 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 800EA938 000E7898 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800EA93C 000E789C 7C 08 03 A6 */ mtlr r0 +/* 800EA940 000E78A0 38 21 00 40 */ addi r1, r1, 0x40 +/* 800EA944 000E78A4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptCameraFilterKeyframe.s b/asm/Kyoto_CWD/ScriptObjects/CScriptCameraFilterKeyframe.s new file mode 100644 index 00000000..344fab62 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptCameraFilterKeyframe.s @@ -0,0 +1,177 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Accept__27CScriptCameraFilterKeyframeFR8IVisitor +Accept__27CScriptCameraFilterKeyframeFR8IVisitor: +/* 800EA4E4 000E7444 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EA4E8 000E7448 7C 08 02 A6 */ mflr r0 +/* 800EA4EC 000E744C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EA4F0 000E7450 7C 60 1B 78 */ mr r0, r3 +/* 800EA4F4 000E7454 7C 83 23 78 */ mr r3, r4 +/* 800EA4F8 000E7458 81 84 00 00 */ lwz r12, 0(r4) +/* 800EA4FC 000E745C 7C 04 03 78 */ mr r4, r0 +/* 800EA500 000E7460 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800EA504 000E7464 7D 89 03 A6 */ mtctr r12 +/* 800EA508 000E7468 4E 80 04 21 */ bctrl +/* 800EA50C 000E746C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EA510 000E7470 7C 08 03 A6 */ mtlr r0 +/* 800EA514 000E7474 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EA518 000E7478 4E 80 00 20 */ blr + +.global AcceptScriptMsg__27CScriptCameraFilterKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__27CScriptCameraFilterKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800EA51C 000E747C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800EA520 000E7480 7C 08 02 A6 */ mflr r0 +/* 800EA524 000E7484 90 01 00 24 */ stw r0, 0x24(r1) +/* 800EA528 000E7488 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800EA52C 000E748C 7C DF 33 78 */ mr r31, r6 +/* 800EA530 000E7490 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800EA534 000E7494 7C BE 2B 78 */ mr r30, r5 +/* 800EA538 000E7498 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800EA53C 000E749C 7C 9D 23 78 */ mr r29, r4 +/* 800EA540 000E74A0 2C 1D 00 06 */ cmpwi r29, 6 +/* 800EA544 000E74A4 93 81 00 10 */ stw r28, 0x10(r1) +/* 800EA548 000E74A8 7C 7C 1B 78 */ mr r28, r3 +/* 800EA54C 000E74AC 41 82 00 A4 */ beq lbl_800EA5F0 +/* 800EA550 000E74B0 40 80 00 14 */ bge lbl_800EA564 +/* 800EA554 000E74B4 2C 1D 00 04 */ cmpwi r29, 4 +/* 800EA558 000E74B8 41 82 00 74 */ beq lbl_800EA5CC +/* 800EA55C 000E74BC 40 80 00 48 */ bge lbl_800EA5A4 +/* 800EA560 000E74C0 48 00 00 90 */ b lbl_800EA5F0 +lbl_800EA564: +/* 800EA564 000E74C4 2C 1D 00 08 */ cmpwi r29, 8 +/* 800EA568 000E74C8 40 80 00 88 */ bge lbl_800EA5F0 +/* 800EA56C 000E74CC 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800EA570 000E74D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800EA574 000E74D4 41 82 00 7C */ beq lbl_800EA5F0 +/* 800EA578 000E74D8 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 800EA57C 000E74DC 38 DC 00 44 */ addi r6, r28, 0x44 +/* 800EA580 000E74E0 80 9C 00 34 */ lwz r4, 0x34(r28) +/* 800EA584 000E74E4 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 800EA588 000E74E8 80 BC 00 38 */ lwz r5, 0x38(r28) +/* 800EA58C 000E74EC C0 3C 00 48 */ lfs f1, 0x48(r28) +/* 800EA590 000E74F0 80 FC 00 50 */ lwz r7, 0x50(r28) +/* 800EA594 000E74F4 7C 7F 02 14 */ add r3, r31, r0 +/* 800EA598 000E74F8 38 63 0B 88 */ addi r3, r3, 0xb88 +/* 800EA59C 000E74FC 48 00 2E 05 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi +/* 800EA5A0 000E7500 48 00 00 50 */ b lbl_800EA5F0 +lbl_800EA5A4: +/* 800EA5A4 000E7504 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800EA5A8 000E7508 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800EA5AC 000E750C 41 82 00 44 */ beq lbl_800EA5F0 +/* 800EA5B0 000E7510 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 800EA5B4 000E7514 C0 3C 00 4C */ lfs f1, 0x4c(r28) +/* 800EA5B8 000E7518 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 800EA5BC 000E751C 7C 7F 02 14 */ add r3, r31, r0 +/* 800EA5C0 000E7520 38 63 0B 88 */ addi r3, r3, 0xb88 +/* 800EA5C4 000E7524 48 00 2D A5 */ bl DisableFilter__17CCameraFilterPassFf +/* 800EA5C8 000E7528 48 00 00 28 */ b lbl_800EA5F0 +lbl_800EA5CC: +/* 800EA5CC 000E752C 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800EA5D0 000E7530 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800EA5D4 000E7534 41 82 00 1C */ beq lbl_800EA5F0 +/* 800EA5D8 000E7538 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 800EA5DC 000E753C C0 22 90 C8 */ lfs f1, lbl_805AADE8@sda21(r2) +/* 800EA5E0 000E7540 1C 00 00 2C */ mulli r0, r0, 0x2c +/* 800EA5E4 000E7544 7C 7F 02 14 */ add r3, r31, r0 +/* 800EA5E8 000E7548 38 63 0B 88 */ addi r3, r3, 0xb88 +/* 800EA5EC 000E754C 48 00 2D 7D */ bl DisableFilter__17CCameraFilterPassFf +lbl_800EA5F0: +/* 800EA5F0 000E7550 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800EA5F4 000E7554 7F 83 E3 78 */ mr r3, r28 +/* 800EA5F8 000E7558 7F A4 EB 78 */ mr r4, r29 +/* 800EA5FC 000E755C 7F E6 FB 78 */ mr r6, r31 +/* 800EA600 000E7560 B0 01 00 08 */ sth r0, 8(r1) +/* 800EA604 000E7564 38 A1 00 08 */ addi r5, r1, 8 +/* 800EA608 000E7568 4B F6 6B 55 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800EA60C 000E756C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800EA610 000E7570 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800EA614 000E7574 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800EA618 000E7578 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800EA61C 000E757C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800EA620 000E7580 7C 08 03 A6 */ mtlr r0 +/* 800EA624 000E7584 38 21 00 20 */ addi r1, r1, 0x20 +/* 800EA628 000E7588 4E 80 00 20 */ blr + +.global __dt__27CScriptCameraFilterKeyframeFv +__dt__27CScriptCameraFilterKeyframeFv: +/* 800EA62C 000E758C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800EA630 000E7590 7C 08 02 A6 */ mflr r0 +/* 800EA634 000E7594 90 01 00 14 */ stw r0, 0x14(r1) +/* 800EA638 000E7598 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800EA63C 000E759C 7C 9F 23 78 */ mr r31, r4 +/* 800EA640 000E75A0 93 C1 00 08 */ stw r30, 8(r1) +/* 800EA644 000E75A4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800EA648 000E75A8 41 82 00 28 */ beq lbl_800EA670 +/* 800EA64C 000E75AC 3C A0 80 3E */ lis r5, lbl_803DFC80@ha +/* 800EA650 000E75B0 38 80 00 00 */ li r4, 0 +/* 800EA654 000E75B4 38 05 FC 80 */ addi r0, r5, lbl_803DFC80@l +/* 800EA658 000E75B8 90 1E 00 00 */ stw r0, 0(r30) +/* 800EA65C 000E75BC 4B F6 6C 19 */ bl __dt__7CEntityFv +/* 800EA660 000E75C0 7F E0 07 35 */ extsh. r0, r31 +/* 800EA664 000E75C4 40 81 00 0C */ ble lbl_800EA670 +/* 800EA668 000E75C8 7F C3 F3 78 */ mr r3, r30 +/* 800EA66C 000E75CC 48 22 B2 C5 */ bl Free__7CMemoryFPCv +lbl_800EA670: +/* 800EA670 000E75D0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800EA674 000E75D4 7F C3 F3 78 */ mr r3, r30 +/* 800EA678 000E75D8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800EA67C 000E75DC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800EA680 000E75E0 7C 08 03 A6 */ mtlr r0 +/* 800EA684 000E75E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800EA688 000E75E8 4E 80 00 20 */ blr + +.global "__ct__27CScriptCameraFilterKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUiUiUiUiffffffUib" +"__ct__27CScriptCameraFilterKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUiUiUiUiffffffUib": +/* 800EA68C 000E75EC 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800EA690 000E75F0 7C 08 02 A6 */ mflr r0 +/* 800EA694 000E75F4 90 01 00 64 */ stw r0, 0x64(r1) +/* 800EA698 000E75F8 39 61 00 60 */ addi r11, r1, 0x60 +/* 800EA69C 000E75FC 48 29 F3 45 */ bl func_803899E0 +/* 800EA6A0 000E7600 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 800EA6A4 000E7604 A0 04 00 00 */ lhz r0, 0(r4) +/* 800EA6A8 000E7608 7C AB 2B 78 */ mr r11, r5 +/* 800EA6AC 000E760C FF 40 08 90 */ fmr f26, f1 +/* 800EA6B0 000E7610 88 81 00 6F */ lbz r4, 0x6f(r1) +/* 800EA6B4 000E7614 FF 60 10 90 */ fmr f27, f2 +/* 800EA6B8 000E7618 B0 01 00 08 */ sth r0, 8(r1) +/* 800EA6BC 000E761C 7C FB 3B 78 */ mr r27, r7 +/* 800EA6C0 000E7620 7C C5 33 78 */ mr r5, r6 +/* 800EA6C4 000E7624 7C 86 23 78 */ mr r6, r4 +/* 800EA6C8 000E7628 FF 80 18 90 */ fmr f28, f3 +/* 800EA6CC 000E762C FF A0 20 90 */ fmr f29, f4 +/* 800EA6D0 000E7630 83 E1 00 68 */ lwz r31, 0x68(r1) +/* 800EA6D4 000E7634 FF C0 28 90 */ fmr f30, f5 +/* 800EA6D8 000E7638 7C 7A 1B 78 */ mr r26, r3 +/* 800EA6DC 000E763C FF E0 30 90 */ fmr f31, f6 +/* 800EA6E0 000E7640 7D 1C 43 78 */ mr r28, r8 +/* 800EA6E4 000E7644 7D 3D 4B 78 */ mr r29, r9 +/* 800EA6E8 000E7648 7D 5E 53 78 */ mr r30, r10 +/* 800EA6EC 000E764C 7D 67 5B 78 */ mr r7, r11 +/* 800EA6F0 000E7650 38 81 00 08 */ addi r4, r1, 8 +/* 800EA6F4 000E7654 4B F6 6C 31 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800EA6F8 000E7658 3C 60 80 3E */ lis r3, lbl_803DFC80@ha +/* 800EA6FC 000E765C FC 20 D0 90 */ fmr f1, f26 +/* 800EA700 000E7660 38 03 FC 80 */ addi r0, r3, lbl_803DFC80@l +/* 800EA704 000E7664 FC 40 D8 90 */ fmr f2, f27 +/* 800EA708 000E7668 90 1A 00 00 */ stw r0, 0(r26) +/* 800EA70C 000E766C FC 60 E0 90 */ fmr f3, f28 +/* 800EA710 000E7670 FC 80 E8 90 */ fmr f4, f29 +/* 800EA714 000E7674 93 7A 00 34 */ stw r27, 0x34(r26) +/* 800EA718 000E7678 38 7A 00 44 */ addi r3, r26, 0x44 +/* 800EA71C 000E767C 93 9A 00 38 */ stw r28, 0x38(r26) +/* 800EA720 000E7680 93 BA 00 3C */ stw r29, 0x3c(r26) +/* 800EA724 000E7684 93 DA 00 40 */ stw r30, 0x40(r26) +/* 800EA728 000E7688 48 27 8C C5 */ bl __ct__6CColorFffff +/* 800EA72C 000E768C D3 DA 00 48 */ stfs f30, 0x48(r26) +/* 800EA730 000E7690 7F 43 D3 78 */ mr r3, r26 +/* 800EA734 000E7694 D3 FA 00 4C */ stfs f31, 0x4c(r26) +/* 800EA738 000E7698 93 FA 00 50 */ stw r31, 0x50(r26) +/* 800EA73C 000E769C 39 61 00 60 */ addi r11, r1, 0x60 +/* 800EA740 000E76A0 48 29 F2 ED */ bl func_80389A2C +/* 800EA744 000E76A4 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800EA748 000E76A8 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800EA74C 000E76AC 7C 08 03 A6 */ mtlr r0 +/* 800EA750 000E76B0 38 21 00 60 */ addi r1, r1, 0x60 +/* 800EA754 000E76B4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptCameraShaker.s b/asm/Kyoto_CWD/ScriptObjects/CScriptCameraShaker.s new file mode 100644 index 00000000..04104bcd --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptCameraShaker.s @@ -0,0 +1,175 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__19CScriptCameraShakerFv +__dt__19CScriptCameraShakerFv: +/* 800FDDE0 000FAD40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FDDE4 000FAD44 7C 08 02 A6 */ mflr r0 +/* 800FDDE8 000FAD48 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FDDEC 000FAD4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FDDF0 000FAD50 7C 9F 23 78 */ mr r31, r4 +/* 800FDDF4 000FAD54 93 C1 00 08 */ stw r30, 8(r1) +/* 800FDDF8 000FAD58 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800FDDFC 000FAD5C 41 82 00 70 */ beq lbl_800FDE6C +/* 800FDE00 000FAD60 3C 60 80 3E */ lis r3, lbl_803DFE00@ha +/* 800FDE04 000FAD64 34 1E 00 34 */ addic. r0, r30, 0x34 +/* 800FDE08 000FAD68 38 03 FE 00 */ addi r0, r3, lbl_803DFE00@l +/* 800FDE0C 000FAD6C 90 1E 00 00 */ stw r0, 0(r30) +/* 800FDE10 000FAD70 41 82 00 40 */ beq lbl_800FDE50 +/* 800FDE14 000FAD74 34 1E 00 B4 */ addic. r0, r30, 0xb4 +/* 800FDE18 000FAD78 41 82 00 10 */ beq lbl_800FDE28 +/* 800FDE1C 000FAD7C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800FDE20 000FAD80 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800FDE24 000FAD84 90 1E 00 B4 */ stw r0, 0xb4(r30) +lbl_800FDE28: +/* 800FDE28 000FAD88 34 1E 00 78 */ addic. r0, r30, 0x78 +/* 800FDE2C 000FAD8C 41 82 00 10 */ beq lbl_800FDE3C +/* 800FDE30 000FAD90 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800FDE34 000FAD94 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800FDE38 000FAD98 90 1E 00 78 */ stw r0, 0x78(r30) +lbl_800FDE3C: +/* 800FDE3C 000FAD9C 34 1E 00 3C */ addic. r0, r30, 0x3c +/* 800FDE40 000FADA0 41 82 00 10 */ beq lbl_800FDE50 +/* 800FDE44 000FADA4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800FDE48 000FADA8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800FDE4C 000FADAC 90 1E 00 3C */ stw r0, 0x3c(r30) +lbl_800FDE50: +/* 800FDE50 000FADB0 7F C3 F3 78 */ mr r3, r30 +/* 800FDE54 000FADB4 38 80 00 00 */ li r4, 0 +/* 800FDE58 000FADB8 4B F5 34 1D */ bl __dt__7CEntityFv +/* 800FDE5C 000FADBC 7F E0 07 35 */ extsh. r0, r31 +/* 800FDE60 000FADC0 40 81 00 0C */ ble lbl_800FDE6C +/* 800FDE64 000FADC4 7F C3 F3 78 */ mr r3, r30 +/* 800FDE68 000FADC8 48 21 7A C9 */ bl Free__7CMemoryFPCv +lbl_800FDE6C: +/* 800FDE6C 000FADCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FDE70 000FADD0 7F C3 F3 78 */ mr r3, r30 +/* 800FDE74 000FADD4 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FDE78 000FADD8 83 C1 00 08 */ lwz r30, 8(r1) +/* 800FDE7C 000FADDC 7C 08 03 A6 */ mtlr r0 +/* 800FDE80 000FADE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FDE84 000FADE4 4E 80 00 20 */ blr + +.global Accept__19CScriptCameraShakerFR8IVisitor +Accept__19CScriptCameraShakerFR8IVisitor: +/* 800FDE88 000FADE8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FDE8C 000FADEC 7C 08 02 A6 */ mflr r0 +/* 800FDE90 000FADF0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FDE94 000FADF4 7C 60 1B 78 */ mr r0, r3 +/* 800FDE98 000FADF8 7C 83 23 78 */ mr r3, r4 +/* 800FDE9C 000FADFC 81 84 00 00 */ lwz r12, 0(r4) +/* 800FDEA0 000FAE00 7C 04 03 78 */ mr r4, r0 +/* 800FDEA4 000FAE04 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800FDEA8 000FAE08 7D 89 03 A6 */ mtctr r12 +/* 800FDEAC 000FAE0C 4E 80 04 21 */ bctrl +/* 800FDEB0 000FAE10 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FDEB4 000FAE14 7C 08 03 A6 */ mtlr r0 +/* 800FDEB8 000FAE18 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FDEBC 000FAE1C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__19CScriptCameraShakerF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__19CScriptCameraShakerF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800FDEC0 000FAE20 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800FDEC4 000FAE24 7C 08 02 A6 */ mflr r0 +/* 800FDEC8 000FAE28 90 01 00 34 */ stw r0, 0x34(r1) +/* 800FDECC 000FAE2C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800FDED0 000FAE30 7C DF 33 78 */ mr r31, r6 +/* 800FDED4 000FAE34 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800FDED8 000FAE38 7C BE 2B 78 */ mr r30, r5 +/* 800FDEDC 000FAE3C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800FDEE0 000FAE40 7C 9D 23 78 */ mr r29, r4 +/* 800FDEE4 000FAE44 2C 1D 00 13 */ cmpwi r29, 0x13 +/* 800FDEE8 000FAE48 93 81 00 20 */ stw r28, 0x20(r1) +/* 800FDEEC 000FAE4C 7C 7C 1B 78 */ mr r28, r3 +/* 800FDEF0 000FAE50 41 82 00 14 */ beq lbl_800FDF04 +/* 800FDEF4 000FAE54 40 80 00 9C */ bge lbl_800FDF90 +/* 800FDEF8 000FAE58 2C 1D 00 04 */ cmpwi r29, 4 +/* 800FDEFC 000FAE5C 41 82 00 7C */ beq lbl_800FDF78 +/* 800FDF00 000FAE60 48 00 00 90 */ b lbl_800FDF90 +lbl_800FDF04: +/* 800FDF04 000FAE64 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800FDF08 000FAE68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FDF0C 000FAE6C 41 82 00 84 */ beq lbl_800FDF90 +/* 800FDF10 000FAE70 80 BC 00 04 */ lwz r5, 4(r28) +/* 800FDF14 000FAE74 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800FDF18 000FAE78 7C 05 00 00 */ cmpw r5, r0 +/* 800FDF1C 000FAE7C 41 82 00 74 */ beq lbl_800FDF90 +/* 800FDF20 000FAE80 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800FDF24 000FAE84 54 A3 18 38 */ slwi r3, r5, 3 +/* 800FDF28 000FAE88 38 03 00 04 */ addi r0, r3, 4 +/* 800FDF2C 000FAE8C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800FDF30 000FAE90 80 64 00 20 */ lwz r3, 0x20(r4) +/* 800FDF34 000FAE94 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800FDF38 000FAE98 7C 63 00 2E */ lwzx r3, r3, r0 +/* 800FDF3C 000FAE9C 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800FDF40 000FAEA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FDF44 000FAEA4 41 82 00 10 */ beq lbl_800FDF54 +/* 800FDF48 000FAEA8 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 800FDF4C 000FAEAC 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800FDF50 000FAEB0 48 00 00 08 */ b lbl_800FDF58 +lbl_800FDF54: +/* 800FDF54 000FAEB4 38 00 00 00 */ li r0, 0 +lbl_800FDF58: +/* 800FDF58 000FAEB8 2C 00 00 00 */ cmpwi r0, 0 +/* 800FDF5C 000FAEBC 41 82 00 34 */ beq lbl_800FDF90 +/* 800FDF60 000FAEC0 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 800FDF64 000FAEC4 38 9C 00 34 */ addi r4, r28, 0x34 +/* 800FDF68 000FAEC8 38 A0 00 00 */ li r5, 0 +/* 800FDF6C 000FAECC 4B F0 CA B5 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab +/* 800FDF70 000FAED0 90 7C 00 F0 */ stw r3, 0xf0(r28) +/* 800FDF74 000FAED4 48 00 00 1C */ b lbl_800FDF90 +lbl_800FDF78: +/* 800FDF78 000FAED8 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800FDF7C 000FAEDC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FDF80 000FAEE0 41 82 00 10 */ beq lbl_800FDF90 +/* 800FDF84 000FAEE4 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 800FDF88 000FAEE8 80 9C 00 F0 */ lwz r4, 0xf0(r28) +/* 800FDF8C 000FAEEC 4B F0 CA 45 */ bl RemoveCameraShaker__14CCameraManagerFi +lbl_800FDF90: +/* 800FDF90 000FAEF0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800FDF94 000FAEF4 7F 83 E3 78 */ mr r3, r28 +/* 800FDF98 000FAEF8 7F A4 EB 78 */ mr r4, r29 +/* 800FDF9C 000FAEFC 7F E6 FB 78 */ mr r6, r31 +/* 800FDFA0 000FAF00 B0 01 00 08 */ sth r0, 8(r1) +/* 800FDFA4 000FAF04 38 A1 00 08 */ addi r5, r1, 8 +/* 800FDFA8 000FAF08 4B F5 31 B5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800FDFAC 000FAF0C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800FDFB0 000FAF10 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800FDFB4 000FAF14 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800FDFB8 000FAF18 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800FDFBC 000FAF1C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800FDFC0 000FAF20 7C 08 03 A6 */ mtlr r0 +/* 800FDFC4 000FAF24 38 21 00 30 */ addi r1, r1, 0x30 +/* 800FDFC8 000FAF28 4E 80 00 20 */ blr + +.global "__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData" +"__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData": +/* 800FDFCC 000FAF2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800FDFD0 000FAF30 7C 08 02 A6 */ mflr r0 +/* 800FDFD4 000FAF34 90 01 00 24 */ stw r0, 0x24(r1) +/* 800FDFD8 000FAF38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800FDFDC 000FAF3C 7D 1F 43 78 */ mr r31, r8 +/* 800FDFE0 000FAF40 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800FDFE4 000FAF44 7C 7E 1B 78 */ mr r30, r3 +/* 800FDFE8 000FAF48 A0 04 00 00 */ lhz r0, 0(r4) +/* 800FDFEC 000FAF4C 7C A4 2B 78 */ mr r4, r5 +/* 800FDFF0 000FAF50 7C C5 33 78 */ mr r5, r6 +/* 800FDFF4 000FAF54 7C E6 3B 78 */ mr r6, r7 +/* 800FDFF8 000FAF58 B0 01 00 08 */ sth r0, 8(r1) +/* 800FDFFC 000FAF5C 7C 87 23 78 */ mr r7, r4 +/* 800FE000 000FAF60 38 81 00 08 */ addi r4, r1, 8 +/* 800FE004 000FAF64 4B F5 33 21 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800FE008 000FAF68 3C 60 80 3E */ lis r3, lbl_803DFE00@ha +/* 800FE00C 000FAF6C 7F E4 FB 78 */ mr r4, r31 +/* 800FE010 000FAF70 38 03 FE 00 */ addi r0, r3, lbl_803DFE00@l +/* 800FE014 000FAF74 38 7E 00 34 */ addi r3, r30, 0x34 +/* 800FE018 000FAF78 90 1E 00 00 */ stw r0, 0(r30) +/* 800FE01C 000FAF7C 4B F0 CD 8D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 800FE020 000FAF80 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800FE024 000FAF84 7F C3 F3 78 */ mr r3, r30 +/* 800FE028 000FAF88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800FE02C 000FAF8C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800FE030 000FAF90 7C 08 03 A6 */ mtlr r0 +/* 800FE034 000FAF94 38 21 00 20 */ addi r1, r1, 0x20 +/* 800FE038 000FAF98 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptCoverPoint.s b/asm/Kyoto_CWD/ScriptObjects/CScriptCoverPoint.s new file mode 100644 index 00000000..16477d6c --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptCoverPoint.s @@ -0,0 +1,458 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__17CScriptCoverPointFv +__dt__17CScriptCoverPointFv: +/* 8012D308 0012A268 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012D30C 0012A26C 7C 08 02 A6 */ mflr r0 +/* 8012D310 0012A270 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012D314 0012A274 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012D318 0012A278 7C 9F 23 78 */ mr r31, r4 +/* 8012D31C 0012A27C 93 C1 00 08 */ stw r30, 8(r1) +/* 8012D320 0012A280 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8012D324 0012A284 41 82 00 3C */ beq lbl_8012D360 +/* 8012D328 0012A288 3C 60 80 3E */ lis r3, lbl_803E0BF8@ha +/* 8012D32C 0012A28C 34 1E 01 00 */ addic. r0, r30, 0x100 +/* 8012D330 0012A290 38 03 0B F8 */ addi r0, r3, lbl_803E0BF8@l +/* 8012D334 0012A294 90 1E 00 00 */ stw r0, 0(r30) +/* 8012D338 0012A298 41 82 00 0C */ beq lbl_8012D344 +/* 8012D33C 0012A29C 38 00 00 00 */ li r0, 0 +/* 8012D340 0012A2A0 98 1E 01 18 */ stb r0, 0x118(r30) +lbl_8012D344: +/* 8012D344 0012A2A4 7F C3 F3 78 */ mr r3, r30 +/* 8012D348 0012A2A8 38 80 00 00 */ li r4, 0 +/* 8012D34C 0012A2AC 4B F2 83 A5 */ bl __dt__6CActorFv +/* 8012D350 0012A2B0 7F E0 07 35 */ extsh. r0, r31 +/* 8012D354 0012A2B4 40 81 00 0C */ ble lbl_8012D360 +/* 8012D358 0012A2B8 7F C3 F3 78 */ mr r3, r30 +/* 8012D35C 0012A2BC 48 1E 85 D5 */ bl Free__7CMemoryFPCv +lbl_8012D360: +/* 8012D360 0012A2C0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012D364 0012A2C4 7F C3 F3 78 */ mr r3, r30 +/* 8012D368 0012A2C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012D36C 0012A2CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8012D370 0012A2D0 7C 08 03 A6 */ mtlr r0 +/* 8012D374 0012A2D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012D378 0012A2D8 4E 80 00 20 */ blr + +.global GetTouchBounds__17CScriptCoverPointCFv +GetTouchBounds__17CScriptCoverPointCFv: +/* 8012D37C 0012A2DC 88 04 01 18 */ lbz r0, 0x118(r4) +/* 8012D380 0012A2E0 98 03 00 18 */ stb r0, 0x18(r3) +/* 8012D384 0012A2E4 88 04 01 18 */ lbz r0, 0x118(r4) +/* 8012D388 0012A2E8 28 00 00 00 */ cmplwi r0, 0 +/* 8012D38C 0012A2EC 4D 82 00 20 */ beqlr +/* 8012D390 0012A2F0 28 03 00 00 */ cmplwi r3, 0 +/* 8012D394 0012A2F4 4D 82 00 20 */ beqlr +/* 8012D398 0012A2F8 C0 04 01 00 */ lfs f0, 0x100(r4) +/* 8012D39C 0012A2FC D0 03 00 00 */ stfs f0, 0(r3) +/* 8012D3A0 0012A300 C0 04 01 04 */ lfs f0, 0x104(r4) +/* 8012D3A4 0012A304 D0 03 00 04 */ stfs f0, 4(r3) +/* 8012D3A8 0012A308 C0 04 01 08 */ lfs f0, 0x108(r4) +/* 8012D3AC 0012A30C D0 03 00 08 */ stfs f0, 8(r3) +/* 8012D3B0 0012A310 C0 04 01 0C */ lfs f0, 0x10c(r4) +/* 8012D3B4 0012A314 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8012D3B8 0012A318 C0 04 01 10 */ lfs f0, 0x110(r4) +/* 8012D3BC 0012A31C D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8012D3C0 0012A320 C0 04 01 14 */ lfs f0, 0x114(r4) +/* 8012D3C4 0012A324 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8012D3C8 0012A328 4E 80 00 20 */ blr + +.global Render__17CScriptCoverPointCFRC13CStateManager +Render__17CScriptCoverPointCFRC13CStateManager: +/* 8012D3CC 0012A32C 4E 80 00 20 */ blr + +.global AddToRenderer__17CScriptCoverPointCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__17CScriptCoverPointCFRC14CFrustumPlanesRC13CStateManager: +/* 8012D3D0 0012A330 4E 80 00 20 */ blr + +.global Think__17CScriptCoverPointFfR13CStateManager +Think__17CScriptCoverPointFfR13CStateManager: +/* 8012D3D4 0012A334 C0 43 01 1C */ lfs f2, 0x11c(r3) +/* 8012D3D8 0012A338 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) +/* 8012D3DC 0012A33C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 8012D3E0 0012A340 4C 81 00 20 */ blelr +/* 8012D3E4 0012A344 EC 02 08 28 */ fsubs f0, f2, f1 +/* 8012D3E8 0012A348 D0 03 01 1C */ stfs f0, 0x11c(r3) +/* 8012D3EC 0012A34C 4E 80 00 20 */ blr + +.global SetInUse__17CScriptCoverPointFb +SetInUse__17CScriptCoverPointFb: +/* 8012D3F0 0012A350 88 03 00 F8 */ lbz r0, 0xf8(r3) +/* 8012D3F4 0012A354 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 8012D3F8 0012A358 98 03 00 F8 */ stb r0, 0xf8(r3) +/* 8012D3FC 0012A35C 88 03 00 F8 */ lbz r0, 0xf8(r3) +/* 8012D400 0012A360 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8012D404 0012A364 4C 82 00 20 */ bnelr +/* 8012D408 0012A368 C0 03 00 F4 */ lfs f0, 0xf4(r3) +/* 8012D40C 0012A36C D0 03 01 1C */ stfs f0, 0x11c(r3) +/* 8012D410 0012A370 4E 80 00 20 */ blr + +.global GetInUse__17CScriptCoverPointCF9TUniqueId +GetInUse__17CScriptCoverPointCF9TUniqueId: +/* 8012D414 0012A374 88 03 00 F8 */ lbz r0, 0xf8(r3) +/* 8012D418 0012A378 38 A0 00 00 */ li r5, 0 +/* 8012D41C 0012A37C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 8012D420 0012A380 40 82 00 38 */ bne lbl_8012D458 +/* 8012D424 0012A384 C0 23 01 1C */ lfs f1, 0x11c(r3) +/* 8012D428 0012A388 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) +/* 8012D42C 0012A38C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012D430 0012A390 41 81 00 28 */ bgt lbl_8012D458 +/* 8012D434 0012A394 A0 C3 00 FA */ lhz r6, 0xfa(r3) +/* 8012D438 0012A398 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 8012D43C 0012A39C 7C 06 18 40 */ cmplw r6, r3 +/* 8012D440 0012A3A0 41 82 00 1C */ beq lbl_8012D45C +/* 8012D444 0012A3A4 A0 04 00 00 */ lhz r0, 0(r4) +/* 8012D448 0012A3A8 7C 00 18 40 */ cmplw r0, r3 +/* 8012D44C 0012A3AC 41 82 00 10 */ beq lbl_8012D45C +/* 8012D450 0012A3B0 7C 00 30 40 */ cmplw r0, r6 +/* 8012D454 0012A3B4 41 82 00 08 */ beq lbl_8012D45C +lbl_8012D458: +/* 8012D458 0012A3B8 38 A0 00 01 */ li r5, 1 +lbl_8012D45C: +/* 8012D45C 0012A3BC 7C A3 2B 78 */ mr r3, r5 +/* 8012D460 0012A3C0 4E 80 00 20 */ blr + +.global Blown__17CScriptCoverPointCFRC9CVector3f +Blown__17CScriptCoverPointCFRC9CVector3f: +/* 8012D464 0012A3C4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 8012D468 0012A3C8 7C 08 02 A6 */ mflr r0 +/* 8012D46C 0012A3CC 90 01 00 64 */ stw r0, 0x64(r1) +/* 8012D470 0012A3D0 DB E1 00 50 */ stfd f31, 0x50(r1) +/* 8012D474 0012A3D4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 +/* 8012D478 0012A3D8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 8012D47C 0012A3DC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 8012D480 0012A3E0 93 A1 00 44 */ stw r29, 0x44(r1) +/* 8012D484 0012A3E4 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8012D488 0012A3E8 7C 7D 1B 78 */ mr r29, r3 +/* 8012D48C 0012A3EC 7C 9E 23 78 */ mr r30, r4 +/* 8012D490 0012A3F0 3B E0 00 01 */ li r31, 1 +/* 8012D494 0012A3F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012D498 0012A3F8 41 82 01 20 */ beq lbl_8012D5B8 +/* 8012D49C 0012A3FC 48 00 01 65 */ bl ShouldWallHang__17CScriptCoverPointCFv +/* 8012D4A0 0012A400 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 8012D4A4 0012A404 41 82 00 0C */ beq lbl_8012D4B0 +/* 8012D4A8 0012A408 3B E0 00 00 */ li r31, 0 +/* 8012D4AC 0012A40C 48 00 01 0C */ b lbl_8012D5B8 +lbl_8012D4B0: +/* 8012D4B0 0012A410 C0 3E 00 04 */ lfs f1, 4(r30) +/* 8012D4B4 0012A414 38 61 00 2C */ addi r3, r1, 0x2c +/* 8012D4B8 0012A418 C0 1D 00 50 */ lfs f0, 0x50(r29) +/* 8012D4BC 0012A41C C0 7E 00 08 */ lfs f3, 8(r30) +/* 8012D4C0 0012A420 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 8012D4C4 0012A424 EC 81 00 28 */ fsubs f4, f1, f0 +/* 8012D4C8 0012A428 C0 3E 00 00 */ lfs f1, 0(r30) +/* 8012D4CC 0012A42C C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 8012D4D0 0012A430 EC 43 10 28 */ fsubs f2, f3, f2 +/* 8012D4D4 0012A434 D0 81 00 30 */ stfs f4, 0x30(r1) +/* 8012D4D8 0012A438 EC 01 00 28 */ fsubs f0, f1, f0 +/* 8012D4DC 0012A43C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8012D4E0 0012A440 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8012D4E4 0012A444 48 1E 73 D5 */ bl Magnitude__9CVector3fCFv +/* 8012D4E8 0012A448 C0 42 98 9C */ lfs f2, lbl_805AB5BC@sda21(r2) +/* 8012D4EC 0012A44C C0 02 98 A0 */ lfs f0, lbl_805AB5C0@sda21(r2) +/* 8012D4F0 0012A450 EC A2 08 24 */ fdivs f5, f2, f1 +/* 8012D4F4 0012A454 C0 81 00 2C */ lfs f4, 0x2c(r1) +/* 8012D4F8 0012A458 C0 61 00 30 */ lfs f3, 0x30(r1) +/* 8012D4FC 0012A45C C0 41 00 34 */ lfs f2, 0x34(r1) +/* 8012D500 0012A460 EC 84 01 72 */ fmuls f4, f4, f5 +/* 8012D504 0012A464 EC 63 01 72 */ fmuls f3, f3, f5 +/* 8012D508 0012A468 EC 42 01 72 */ fmuls f2, f2, f5 +/* 8012D50C 0012A46C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 8012D510 0012A470 D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 8012D514 0012A474 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 8012D518 0012A478 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8012D51C 0012A47C 40 81 00 9C */ ble lbl_8012D5B8 +/* 8012D520 0012A480 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) +/* 8012D524 0012A484 38 61 00 20 */ addi r3, r1, 0x20 +/* 8012D528 0012A488 D0 81 00 20 */ stfs f4, 0x20(r1) +/* 8012D52C 0012A48C D0 61 00 24 */ stfs f3, 0x24(r1) +/* 8012D530 0012A490 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8012D534 0012A494 48 1E 73 C5 */ bl Normalize__9CVector3fFv +/* 8012D538 0012A498 C0 5D 00 48 */ lfs f2, 0x48(r29) +/* 8012D53C 0012A49C 38 61 00 14 */ addi r3, r1, 0x14 +/* 8012D540 0012A4A0 C0 3D 00 38 */ lfs f1, 0x38(r29) +/* 8012D544 0012A4A4 C0 7D 00 58 */ lfs f3, 0x58(r29) +/* 8012D548 0012A4A8 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) +/* 8012D54C 0012A4AC D0 21 00 08 */ stfs f1, 8(r1) +/* 8012D550 0012A4B0 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 8012D554 0012A4B4 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 8012D558 0012A4B8 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 8012D55C 0012A4BC D0 41 00 18 */ stfs f2, 0x18(r1) +/* 8012D560 0012A4C0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8012D564 0012A4C4 48 1E 73 95 */ bl Normalize__9CVector3fFv +/* 8012D568 0012A4C8 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8012D56C 0012A4CC 7F A3 EB 78 */ mr r3, r29 +/* 8012D570 0012A4D0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8012D574 0012A4D4 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8012D578 0012A4D8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 8012D57C 0012A4DC C0 21 00 20 */ lfs f1, 0x20(r1) +/* 8012D580 0012A4E0 C0 81 00 1C */ lfs f4, 0x1c(r1) +/* 8012D584 0012A4E4 C0 61 00 28 */ lfs f3, 0x28(r1) +/* 8012D588 0012A4E8 EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 8012D58C 0012A4EC EF E4 00 FA */ fmadds f31, f4, f3, f0 +/* 8012D590 0012A4F0 48 00 00 5D */ bl GetCosHorizontalAngle__17CScriptCoverPointCFv +/* 8012D594 0012A4F4 FC 1F 08 40 */ fcmpo cr0, f31, f1 +/* 8012D598 0012A4F8 40 81 00 20 */ ble lbl_8012D5B8 +/* 8012D59C 0012A4FC C3 E1 00 34 */ lfs f31, 0x34(r1) +/* 8012D5A0 0012A500 7F A3 EB 78 */ mr r3, r29 +/* 8012D5A4 0012A504 48 00 00 3D */ bl GetSinSqVerticalAngle__17CScriptCoverPointCFv +/* 8012D5A8 0012A508 EC 1F 07 F2 */ fmuls f0, f31, f31 +/* 8012D5AC 0012A50C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 8012D5B0 0012A510 40 80 00 08 */ bge lbl_8012D5B8 +/* 8012D5B4 0012A514 3B E0 00 00 */ li r31, 0 +lbl_8012D5B8: +/* 8012D5B8 0012A518 57 E3 06 3E */ clrlwi r3, r31, 0x18 +/* 8012D5BC 0012A51C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 +/* 8012D5C0 0012A520 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8012D5C4 0012A524 CB E1 00 50 */ lfd f31, 0x50(r1) +/* 8012D5C8 0012A528 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 8012D5CC 0012A52C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8012D5D0 0012A530 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 8012D5D4 0012A534 7C 08 03 A6 */ mtlr r0 +/* 8012D5D8 0012A538 38 21 00 60 */ addi r1, r1, 0x60 +/* 8012D5DC 0012A53C 4E 80 00 20 */ blr + +.global GetSinSqVerticalAngle__17CScriptCoverPointCFv +GetSinSqVerticalAngle__17CScriptCoverPointCFv: +/* 8012D5E0 0012A540 C0 03 00 F0 */ lfs f0, 0xf0(r3) +/* 8012D5E4 0012A544 EC 20 00 32 */ fmuls f1, f0, f0 +/* 8012D5E8 0012A548 4E 80 00 20 */ blr + +.global GetCosHorizontalAngle__17CScriptCoverPointCFv +GetCosHorizontalAngle__17CScriptCoverPointCFv: +/* 8012D5EC 0012A54C C0 23 00 EC */ lfs f1, 0xec(r3) +/* 8012D5F0 0012A550 4E 80 00 20 */ blr + +.global ShouldLandHere__17CScriptCoverPointCFv +ShouldLandHere__17CScriptCoverPointCFv: +/* 8012D5F4 0012A554 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 8012D5F8 0012A558 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f +/* 8012D5FC 0012A55C 4E 80 00 20 */ blr + +.global ShouldWallHang__17CScriptCoverPointCFv +ShouldWallHang__17CScriptCoverPointCFv: +/* 8012D600 0012A560 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 8012D604 0012A564 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f +/* 8012D608 0012A568 4E 80 00 20 */ blr + +.global ShouldStay__17CScriptCoverPointCFv +ShouldStay__17CScriptCoverPointCFv: +/* 8012D60C 0012A56C 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 8012D610 0012A570 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f +/* 8012D614 0012A574 4E 80 00 20 */ blr + +.global ShouldCrouch__17CScriptCoverPointCFv +ShouldCrouch__17CScriptCoverPointCFv: +/* 8012D618 0012A578 88 03 00 F8 */ lbz r0, 0xf8(r3) +/* 8012D61C 0012A57C 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f +/* 8012D620 0012A580 4E 80 00 20 */ blr + +.global GetAttackDirection__17CScriptCoverPointCFv +GetAttackDirection__17CScriptCoverPointCFv: +/* 8012D624 0012A584 80 63 00 E8 */ lwz r3, 0xe8(r3) +/* 8012D628 0012A588 4E 80 00 20 */ blr + +.global AcceptScriptMsg__17CScriptCoverPointF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__17CScriptCoverPointF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8012D62C 0012A58C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 8012D630 0012A590 7C 08 02 A6 */ mflr r0 +/* 8012D634 0012A594 90 01 00 34 */ stw r0, 0x34(r1) +/* 8012D638 0012A598 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 8012D63C 0012A59C 7C DF 33 78 */ mr r31, r6 +/* 8012D640 0012A5A0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 8012D644 0012A5A4 7C 9E 23 78 */ mr r30, r4 +/* 8012D648 0012A5A8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 8012D64C 0012A5AC 7C 7D 1B 78 */ mr r29, r3 +/* 8012D650 0012A5B0 A0 05 00 00 */ lhz r0, 0(r5) +/* 8012D654 0012A5B4 38 A1 00 0C */ addi r5, r1, 0xc +/* 8012D658 0012A5B8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8012D65C 0012A5BC 4B F2 5F B9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8012D660 0012A5C0 2C 1E 00 23 */ cmpwi r30, 0x23 +/* 8012D664 0012A5C4 41 82 00 08 */ beq lbl_8012D66C +/* 8012D668 0012A5C8 48 00 00 58 */ b lbl_8012D6C0 +lbl_8012D66C: +/* 8012D66C 0012A5CC 80 9D 00 2C */ lwz r4, 0x2c(r29) +/* 8012D670 0012A5D0 48 00 00 38 */ b lbl_8012D6A8 +lbl_8012D674: +/* 8012D674 0012A5D4 80 04 00 00 */ lwz r0, 0(r4) +/* 8012D678 0012A5D8 2C 00 00 0C */ cmpwi r0, 0xc +/* 8012D67C 0012A5DC 40 82 00 28 */ bne lbl_8012D6A4 +/* 8012D680 0012A5E0 80 04 00 08 */ lwz r0, 8(r4) +/* 8012D684 0012A5E4 7F E4 FB 78 */ mr r4, r31 +/* 8012D688 0012A5E8 38 61 00 08 */ addi r3, r1, 8 +/* 8012D68C 0012A5EC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 8012D690 0012A5F0 90 01 00 10 */ stw r0, 0x10(r1) +/* 8012D694 0012A5F4 4B F1 A8 89 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 8012D698 0012A5F8 A0 01 00 08 */ lhz r0, 8(r1) +/* 8012D69C 0012A5FC B0 1D 00 FC */ sth r0, 0xfc(r29) +/* 8012D6A0 0012A600 48 00 00 20 */ b lbl_8012D6C0 +lbl_8012D6A4: +/* 8012D6A4 0012A604 38 84 00 0C */ addi r4, r4, 0xc +lbl_8012D6A8: +/* 8012D6A8 0012A608 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 8012D6AC 0012A60C 80 7D 00 2C */ lwz r3, 0x2c(r29) +/* 8012D6B0 0012A610 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8012D6B4 0012A614 7C 03 02 14 */ add r0, r3, r0 +/* 8012D6B8 0012A618 7C 04 00 40 */ cmplw r4, r0 +/* 8012D6BC 0012A61C 40 82 FF B8 */ bne lbl_8012D674 +lbl_8012D6C0: +/* 8012D6C0 0012A620 80 01 00 34 */ lwz r0, 0x34(r1) +/* 8012D6C4 0012A624 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 8012D6C8 0012A628 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8012D6CC 0012A62C 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 8012D6D0 0012A630 7C 08 03 A6 */ mtlr r0 +/* 8012D6D4 0012A634 38 21 00 30 */ addi r1, r1, 0x30 +/* 8012D6D8 0012A638 4E 80 00 20 */ blr + +.global Accept__17CScriptCoverPointFR8IVisitor +Accept__17CScriptCoverPointFR8IVisitor: +/* 8012D6DC 0012A63C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012D6E0 0012A640 7C 08 02 A6 */ mflr r0 +/* 8012D6E4 0012A644 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012D6E8 0012A648 7C 60 1B 78 */ mr r0, r3 +/* 8012D6EC 0012A64C 7C 83 23 78 */ mr r3, r4 +/* 8012D6F0 0012A650 81 84 00 00 */ lwz r12, 0(r4) +/* 8012D6F4 0012A654 7C 04 03 78 */ mr r4, r0 +/* 8012D6F8 0012A658 81 8C 00 74 */ lwz r12, 0x74(r12) +/* 8012D6FC 0012A65C 7D 89 03 A6 */ mtctr r12 +/* 8012D700 0012A660 4E 80 04 21 */ bctrl +/* 8012D704 0012A664 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012D708 0012A668 7C 08 03 A6 */ mtlr r0 +/* 8012D70C 0012A66C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012D710 0012A670 4E 80 00 20 */ blr + +.global "__ct__17CScriptCoverPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUibfff" +"__ct__17CScriptCoverPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUibfff": +/* 8012D714 0012A674 94 21 FE A0 */ stwu r1, -0x160(r1) +/* 8012D718 0012A678 7C 08 02 A6 */ mflr r0 +/* 8012D71C 0012A67C 90 01 01 64 */ stw r0, 0x164(r1) +/* 8012D720 0012A680 DB E1 01 50 */ stfd f31, 0x150(r1) +/* 8012D724 0012A684 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 +/* 8012D728 0012A688 DB C1 01 40 */ stfd f30, 0x140(r1) +/* 8012D72C 0012A68C F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 +/* 8012D730 0012A690 DB A1 01 30 */ stfd f29, 0x130(r1) +/* 8012D734 0012A694 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 +/* 8012D738 0012A698 BF 01 01 10 */ stmw r24, 0x110(r1) +/* 8012D73C 0012A69C FF A0 08 90 */ fmr f29, f1 +/* 8012D740 0012A6A0 7C 7E 1B 78 */ mr r30, r3 +/* 8012D744 0012A6A4 FF C0 10 90 */ fmr f30, f2 +/* 8012D748 0012A6A8 7C 98 23 78 */ mr r24, r4 +/* 8012D74C 0012A6AC FF E0 18 90 */ fmr f31, f3 +/* 8012D750 0012A6B0 7C B9 2B 78 */ mr r25, r5 +/* 8012D754 0012A6B4 7C DA 33 78 */ mr r26, r6 +/* 8012D758 0012A6B8 7C FF 3B 78 */ mr r31, r7 +/* 8012D75C 0012A6BC 7D 1B 43 78 */ mr r27, r8 +/* 8012D760 0012A6C0 7D 3C 4B 78 */ mr r28, r9 +/* 8012D764 0012A6C4 7D 5D 53 78 */ mr r29, r10 +/* 8012D768 0012A6C8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8012D76C 0012A6CC 4B F0 D0 39 */ bl CModelDataNull__10CModelDataFv +/* 8012D770 0012A6D0 38 61 00 50 */ addi r3, r1, 0x50 +/* 8012D774 0012A6D4 4B EE D6 C5 */ bl None__16CActorParametersFv +/* 8012D778 0012A6D8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8012D77C 0012A6DC 38 00 00 00 */ li r0, 0 +/* 8012D780 0012A6E0 80 AD 8A E8 */ lwz r5, lbl_805A76A8@sda21(r13) +/* 8012D784 0012A6E4 38 60 00 00 */ li r3, 0 +/* 8012D788 0012A6E8 B0 81 00 10 */ sth r4, 0x10(r1) +/* 8012D78C 0012A6EC 38 80 00 01 */ li r4, 1 +/* 8012D790 0012A6F0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8012D794 0012A6F4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8012D798 0012A6F8 48 25 C7 5D */ bl __shl2i +/* 8012D79C 0012A6FC 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8012D7A0 0012A700 39 61 00 50 */ addi r11, r1, 0x50 +/* 8012D7A4 0012A704 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8012D7A8 0012A708 38 01 00 10 */ addi r0, r1, 0x10 +/* 8012D7AC 0012A70C 7C A3 1B 78 */ or r3, r5, r3 +/* 8012D7B0 0012A710 A1 38 00 00 */ lhz r9, 0(r24) +/* 8012D7B4 0012A714 7C C4 23 78 */ or r4, r6, r4 +/* 8012D7B8 0012A718 90 61 00 18 */ stw r3, 0x18(r1) +/* 8012D7BC 0012A71C 7F C3 F3 78 */ mr r3, r30 +/* 8012D7C0 0012A720 7F 65 DB 78 */ mr r5, r27 +/* 8012D7C4 0012A724 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8012D7C8 0012A728 7F 26 CB 78 */ mr r6, r25 +/* 8012D7CC 0012A72C 7F 47 D3 78 */ mr r7, r26 +/* 8012D7D0 0012A730 7F E8 FB 78 */ mr r8, r31 +/* 8012D7D4 0012A734 B1 21 00 14 */ sth r9, 0x14(r1) +/* 8012D7D8 0012A738 38 81 00 14 */ addi r4, r1, 0x14 +/* 8012D7DC 0012A73C 39 21 00 B8 */ addi r9, r1, 0xb8 +/* 8012D7E0 0012A740 39 41 00 18 */ addi r10, r1, 0x18 +/* 8012D7E4 0012A744 91 61 00 08 */ stw r11, 8(r1) +/* 8012D7E8 0012A748 90 01 00 0C */ stw r0, 0xc(r1) +/* 8012D7EC 0012A74C 4B F2 80 35 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8012D7F0 0012A750 38 61 00 50 */ addi r3, r1, 0x50 +/* 8012D7F4 0012A754 38 80 FF FF */ li r4, -1 +/* 8012D7F8 0012A758 4B FD 8E 11 */ bl __dt__16CActorParametersFv +/* 8012D7FC 0012A75C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8012D800 0012A760 38 80 FF FF */ li r4, -1 +/* 8012D804 0012A764 4B FE 92 49 */ bl __dt__10CModelDataFv +/* 8012D808 0012A768 3C 60 80 3E */ lis r3, lbl_803E0BF8@ha +/* 8012D80C 0012A76C C0 02 98 A4 */ lfs f0, lbl_805AB5C4@sda21(r2) +/* 8012D810 0012A770 38 03 0B F8 */ addi r0, r3, lbl_803E0BF8@l +/* 8012D814 0012A774 90 1E 00 00 */ stw r0, 0(r30) +/* 8012D818 0012A778 EC 20 07 72 */ fmuls f1, f0, f29 +/* 8012D81C 0012A77C 93 9E 00 E8 */ stw r28, 0xe8(r30) +/* 8012D820 0012A780 48 26 6B D1 */ bl cos +/* 8012D824 0012A784 FC 40 08 18 */ frsp f2, f1 +/* 8012D828 0012A788 C0 02 98 A4 */ lfs f0, lbl_805AB5C4@sda21(r2) +/* 8012D82C 0012A78C EC 20 07 B2 */ fmuls f1, f0, f30 +/* 8012D830 0012A790 D0 5E 00 EC */ stfs f2, 0xec(r30) +/* 8012D834 0012A794 48 26 72 A9 */ bl sin +/* 8012D838 0012A798 FC 00 08 18 */ frsp f0, f1 +/* 8012D83C 0012A79C 38 C0 00 00 */ li r6, 0 +/* 8012D840 0012A7A0 38 61 00 38 */ addi r3, r1, 0x38 +/* 8012D844 0012A7A4 38 81 00 2C */ addi r4, r1, 0x2c +/* 8012D848 0012A7A8 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8012D84C 0012A7AC D0 1E 00 F0 */ stfs f0, 0xf0(r30) +/* 8012D850 0012A7B0 D3 FE 00 F4 */ stfs f31, 0xf4(r30) +/* 8012D854 0012A7B4 88 1E 00 F8 */ lbz r0, 0xf8(r30) +/* 8012D858 0012A7B8 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 +/* 8012D85C 0012A7BC 98 1E 00 F8 */ stb r0, 0xf8(r30) +/* 8012D860 0012A7C0 88 1E 00 F8 */ lbz r0, 0xf8(r30) +/* 8012D864 0012A7C4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 8012D868 0012A7C8 98 1E 00 F8 */ stb r0, 0xf8(r30) +/* 8012D86C 0012A7CC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8012D870 0012A7D0 B0 1E 00 FA */ sth r0, 0xfa(r30) +/* 8012D874 0012A7D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8012D878 0012A7D8 B0 1E 00 FC */ sth r0, 0xfc(r30) +/* 8012D87C 0012A7DC C0 5F 00 2C */ lfs f2, 0x2c(r31) +/* 8012D880 0012A7E0 C0 3F 00 1C */ lfs f1, 0x1c(r31) +/* 8012D884 0012A7E4 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8012D888 0012A7E8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8012D88C 0012A7EC D0 01 00 20 */ stfs f0, 0x20(r1) +/* 8012D890 0012A7F0 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 8012D894 0012A7F4 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8012D898 0012A7F8 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 8012D89C 0012A7FC D0 41 00 34 */ stfs f2, 0x34(r1) +/* 8012D8A0 0012A800 48 20 AC 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8012D8A4 0012A804 38 00 00 01 */ li r0, 1 +/* 8012D8A8 0012A808 34 7E 01 00 */ addic. r3, r30, 0x100 +/* 8012D8AC 0012A80C 98 1E 01 18 */ stb r0, 0x118(r30) +/* 8012D8B0 0012A810 41 82 00 34 */ beq lbl_8012D8E4 +/* 8012D8B4 0012A814 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 8012D8B8 0012A818 D0 03 00 00 */ stfs f0, 0(r3) +/* 8012D8BC 0012A81C C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 8012D8C0 0012A820 D0 03 00 04 */ stfs f0, 4(r3) +/* 8012D8C4 0012A824 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8012D8C8 0012A828 D0 03 00 08 */ stfs f0, 8(r3) +/* 8012D8CC 0012A82C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 8012D8D0 0012A830 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8012D8D4 0012A834 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8012D8D8 0012A838 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8012D8DC 0012A83C C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 8012D8E0 0012A840 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_8012D8E4: +/* 8012D8E4 0012A844 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) +/* 8012D8E8 0012A848 7F C3 F3 78 */ mr r3, r30 +/* 8012D8EC 0012A84C D0 1E 01 1C */ stfs f0, 0x11c(r30) +/* 8012D8F0 0012A850 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 +/* 8012D8F4 0012A854 CB E1 01 50 */ lfd f31, 0x150(r1) +/* 8012D8F8 0012A858 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 +/* 8012D8FC 0012A85C CB C1 01 40 */ lfd f30, 0x140(r1) +/* 8012D900 0012A860 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 +/* 8012D904 0012A864 CB A1 01 30 */ lfd f29, 0x130(r1) +/* 8012D908 0012A868 BB 01 01 10 */ lmw r24, 0x110(r1) +/* 8012D90C 0012A86C 80 01 01 64 */ lwz r0, 0x164(r1) +/* 8012D910 0012A870 7C 08 03 A6 */ mtlr r0 +/* 8012D914 0012A874 38 21 01 60 */ addi r1, r1, 0x160 +/* 8012D918 0012A878 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptDamageableTrigger.s b/asm/Kyoto_CWD/ScriptObjects/CScriptDamageableTrigger.s new file mode 100644 index 00000000..38c211f0 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptDamageableTrigger.s @@ -0,0 +1,1316 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Accept__24CScriptDamageableTriggerFR8IVisitor +Accept__24CScriptDamageableTriggerFR8IVisitor: +/* 800FA624 000F7584 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FA628 000F7588 7C 08 02 A6 */ mflr r0 +/* 800FA62C 000F758C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FA630 000F7590 7C 60 1B 78 */ mr r0, r3 +/* 800FA634 000F7594 7C 83 23 78 */ mr r3, r4 +/* 800FA638 000F7598 81 84 00 00 */ lwz r12, 0(r4) +/* 800FA63C 000F759C 7C 04 03 78 */ mr r4, r0 +/* 800FA640 000F75A0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FA644 000F75A4 7D 89 03 A6 */ mtctr r12 +/* 800FA648 000F75A8 4E 80 04 21 */ bctrl +/* 800FA64C 000F75AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FA650 000F75B0 7C 08 03 A6 */ mtlr r0 +/* 800FA654 000F75B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FA658 000F75B8 4E 80 00 20 */ blr + +.global GetCollisionResponseType__24CScriptDamageableTriggerCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__24CScriptDamageableTriggerCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 800FA65C 000F75BC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FA660 000F75C0 7C 08 02 A6 */ mflr r0 +/* 800FA664 000F75C4 7C C4 33 78 */ mr r4, r6 +/* 800FA668 000F75C8 38 A0 00 00 */ li r5, 0 +/* 800FA66C 000F75CC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FA670 000F75D0 38 63 01 74 */ addi r3, r3, 0x174 +/* 800FA674 000F75D4 48 00 80 95 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode +/* 800FA678 000F75D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FA67C 000F75DC 38 60 00 0F */ li r3, 0xf +/* 800FA680 000F75E0 41 82 00 08 */ beq lbl_800FA688 +/* 800FA684 000F75E4 38 60 00 0D */ li r3, 0xd +lbl_800FA688: +/* 800FA688 000F75E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FA68C 000F75EC 7C 08 03 A6 */ mtlr r0 +/* 800FA690 000F75F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FA694 000F75F4 4E 80 00 20 */ blr + +.global Render__24CScriptDamageableTriggerCFRC13CStateManager +Render__24CScriptDamageableTriggerCFRC13CStateManager: +/* 800FA698 000F75F8 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 800FA69C 000F75FC 7C 08 02 A6 */ mflr r0 +/* 800FA6A0 000F7600 90 01 01 54 */ stw r0, 0x154(r1) +/* 800FA6A4 000F7604 93 E1 01 4C */ stw r31, 0x14c(r1) +/* 800FA6A8 000F7608 7C 9F 23 78 */ mr r31, r4 +/* 800FA6AC 000F760C 93 C1 01 48 */ stw r30, 0x148(r1) +/* 800FA6B0 000F7610 7C 7E 1B 78 */ mr r30, r3 +/* 800FA6B4 000F7614 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800FA6B8 000F7618 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FA6BC 000F761C 41 82 01 5C */ beq lbl_800FA818 +/* 800FA6C0 000F7620 80 1E 01 DC */ lwz r0, 0x1dc(r30) +/* 800FA6C4 000F7624 28 00 00 00 */ cmplwi r0, 0 +/* 800FA6C8 000F7628 41 82 01 50 */ beq lbl_800FA818 +/* 800FA6CC 000F762C C0 5E 01 E0 */ lfs f2, 0x1e0(r30) +/* 800FA6D0 000F7630 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) +/* 800FA6D4 000F7634 C0 02 93 3C */ lfs f0, lbl_805AB05C@sda21(r2) +/* 800FA6D8 000F7638 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800FA6DC 000F763C FC 20 0A 10 */ fabs f1, f1 +/* 800FA6E0 000F7640 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FA6E4 000F7644 41 80 01 34 */ blt lbl_800FA818 +/* 800FA6E8 000F7648 C0 5E 01 60 */ lfs f2, 0x160(r30) +/* 800FA6EC 000F764C 38 61 00 94 */ addi r3, r1, 0x94 +/* 800FA6F0 000F7650 C0 7E 01 5C */ lfs f3, 0x15c(r30) +/* 800FA6F4 000F7654 38 81 00 3C */ addi r4, r1, 0x3c +/* 800FA6F8 000F7658 C0 3E 01 58 */ lfs f1, 0x158(r30) +/* 800FA6FC 000F765C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800FA700 000F7660 C0 9E 01 54 */ lfs f4, 0x154(r30) +/* 800FA704 000F7664 C0 BE 01 50 */ lfs f5, 0x150(r30) +/* 800FA708 000F7668 C0 1E 01 4C */ lfs f0, 0x14c(r30) +/* 800FA70C 000F766C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800FA710 000F7670 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800FA714 000F7674 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800FA718 000F7678 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800FA71C 000F767C D0 A1 00 40 */ stfs f5, 0x40(r1) +/* 800FA720 000F7680 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 800FA724 000F7684 48 23 DD E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800FA728 000F7688 38 61 00 64 */ addi r3, r1, 0x64 +/* 800FA72C 000F768C 38 81 00 94 */ addi r4, r1, 0x94 +/* 800FA730 000F7690 38 BE 02 14 */ addi r5, r30, 0x214 +/* 800FA734 000F7694 48 23 D1 C9 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 800FA738 000F7698 C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) +/* 800FA73C 000F769C 38 A0 00 00 */ li r5, 0 +/* 800FA740 000F76A0 C0 C1 00 64 */ lfs f6, 0x64(r1) +/* 800FA744 000F76A4 38 61 00 AC */ addi r3, r1, 0xac +/* 800FA748 000F76A8 C0 A1 00 68 */ lfs f5, 0x68(r1) +/* 800FA74C 000F76AC 38 9E 02 44 */ addi r4, r30, 0x244 +/* 800FA750 000F76B0 C0 81 00 6C */ lfs f4, 0x6c(r1) +/* 800FA754 000F76B4 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 800FA758 000F76B8 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 800FA75C 000F76BC C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800FA760 000F76C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800FA764 000F76C4 D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 800FA768 000F76C8 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 800FA76C 000F76CC D0 81 00 84 */ stfs f4, 0x84(r1) +/* 800FA770 000F76D0 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 800FA774 000F76D4 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 800FA778 000F76D8 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 800FA77C 000F76DC 98 A1 00 60 */ stb r5, 0x60(r1) +/* 800FA780 000F76E0 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800FA784 000F76E4 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800FA788 000F76E8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800FA78C 000F76EC B0 01 00 20 */ sth r0, 0x20(r1) +/* 800FA790 000F76F0 48 21 89 B1 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800FA794 000F76F4 38 61 00 DC */ addi r3, r1, 0xdc +/* 800FA798 000F76F8 38 9E 00 34 */ addi r4, r30, 0x34 +/* 800FA79C 000F76FC 38 A1 00 AC */ addi r5, r1, 0xac +/* 800FA7A0 000F7700 48 21 81 B1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800FA7A4 000F7704 38 61 01 0C */ addi r3, r1, 0x10c +/* 800FA7A8 000F7708 38 81 00 DC */ addi r4, r1, 0xdc +/* 800FA7AC 000F770C 38 BE 01 E4 */ addi r5, r30, 0x1e4 +/* 800FA7B0 000F7710 48 21 81 A1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800FA7B4 000F7714 38 01 00 20 */ addi r0, r1, 0x20 +/* 800FA7B8 000F7718 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800FA7BC 000F771C 90 01 00 08 */ stw r0, 8(r1) +/* 800FA7C0 000F7720 39 00 00 00 */ li r8, 0 +/* 800FA7C4 000F7724 38 E3 66 70 */ addi r7, r3, skIdentity4f@l +/* 800FA7C8 000F7728 38 01 00 24 */ addi r0, r1, 0x24 +/* 800FA7CC 000F772C 91 01 00 0C */ stw r8, 0xc(r1) +/* 800FA7D0 000F7730 38 7E 02 54 */ addi r3, r30, 0x254 +/* 800FA7D4 000F7734 7F E4 FB 78 */ mr r4, r31 +/* 800FA7D8 000F7738 38 A1 00 7C */ addi r5, r1, 0x7c +/* 800FA7DC 000F773C 91 01 00 10 */ stw r8, 0x10(r1) +/* 800FA7E0 000F7740 38 C1 01 0C */ addi r6, r1, 0x10c +/* 800FA7E4 000F7744 39 3E 00 E8 */ addi r9, r30, 0xe8 +/* 800FA7E8 000F7748 39 41 00 48 */ addi r10, r1, 0x48 +/* 800FA7EC 000F774C 91 01 00 14 */ stw r8, 0x14(r1) +/* 800FA7F0 000F7750 39 00 00 01 */ li r8, 1 +/* 800FA7F4 000F7754 90 01 00 18 */ stw r0, 0x18(r1) +/* 800FA7F8 000F7758 81 9E 02 54 */ lwz r12, 0x254(r30) +/* 800FA7FC 000F775C C0 3E 01 E0 */ lfs f1, 0x1e0(r30) +/* 800FA800 000F7760 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800FA804 000F7764 7D 89 03 A6 */ mtctr r12 +/* 800FA808 000F7768 4E 80 04 21 */ bctrl +/* 800FA80C 000F776C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800FA810 000F7770 38 80 FF FF */ li r4, -1 +/* 800FA814 000F7774 48 00 00 2D */ bl sub_800fa840 +lbl_800FA818: +/* 800FA818 000F7778 7F C3 F3 78 */ mr r3, r30 +/* 800FA81C 000F777C 7F E4 FB 78 */ mr r4, r31 +/* 800FA820 000F7780 4B F5 9F 85 */ bl Render__6CActorCFRC13CStateManager +/* 800FA824 000F7784 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800FA828 000F7788 83 E1 01 4C */ lwz r31, 0x14c(r1) +/* 800FA82C 000F778C 83 C1 01 48 */ lwz r30, 0x148(r1) +/* 800FA830 000F7790 7C 08 03 A6 */ mtlr r0 +/* 800FA834 000F7794 38 21 01 50 */ addi r1, r1, 0x150 +/* 800FA838 000F7798 4E 80 00 20 */ blr + +.global "Render__11CFluidPlaneCFRC13CStateManagerRC6CAABoxRC12CTransform4fRC12CTransform4fbRC14CFrustumPlanesRCQ24rstl33optional_object<14CRippleManager>9TUniqueIdPCbiiRC9CVector3f" +"Render__11CFluidPlaneCFRC13CStateManagerRC6CAABoxRC12CTransform4fRC12CTransform4fbRC14CFrustumPlanesRCQ24rstl33optional_object<14CRippleManager>9TUniqueIdPCbiiRC9CVector3f": +/* 800FA83C 000F779C 4E 80 00 20 */ blr + +.global sub_800fa840 +sub_800fa840: +/* 800FA840 000F77A0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FA844 000F77A4 7C 08 02 A6 */ mflr r0 +/* 800FA848 000F77A8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FA84C 000F77AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FA850 000F77B0 7C 9F 23 78 */ mr r31, r4 +/* 800FA854 000F77B4 93 C1 00 08 */ stw r30, 8(r1) +/* 800FA858 000F77B8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800FA85C 000F77BC 41 82 00 18 */ beq lbl_800FA874 +/* 800FA860 000F77C0 48 00 00 31 */ bl sub_800fa890 +/* 800FA864 000F77C4 7F E0 07 35 */ extsh. r0, r31 +/* 800FA868 000F77C8 40 81 00 0C */ ble lbl_800FA874 +/* 800FA86C 000F77CC 7F C3 F3 78 */ mr r3, r30 +/* 800FA870 000F77D0 48 21 B0 C1 */ bl Free__7CMemoryFPCv +lbl_800FA874: +/* 800FA874 000F77D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FA878 000F77D8 7F C3 F3 78 */ mr r3, r30 +/* 800FA87C 000F77DC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FA880 000F77E0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800FA884 000F77E4 7C 08 03 A6 */ mtlr r0 +/* 800FA888 000F77E8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FA88C 000F77EC 4E 80 00 20 */ blr + +.global sub_800fa890 +sub_800fa890: +/* 800FA890 000F77F0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FA894 000F77F4 7C 08 02 A6 */ mflr r0 +/* 800FA898 000F77F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FA89C 000F77FC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FA8A0 000F7800 7C 7F 1B 78 */ mr r31, r3 +/* 800FA8A4 000F7804 88 03 00 18 */ lbz r0, 0x18(r3) +/* 800FA8A8 000F7808 28 00 00 00 */ cmplwi r0, 0 +/* 800FA8AC 000F780C 41 82 00 08 */ beq lbl_800FA8B4 +/* 800FA8B0 000F7810 48 00 00 21 */ bl sub_800fa8d0 +lbl_800FA8B4: +/* 800FA8B4 000F7814 38 00 00 00 */ li r0, 0 +/* 800FA8B8 000F7818 98 1F 00 18 */ stb r0, 0x18(r31) +/* 800FA8BC 000F781C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FA8C0 000F7820 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FA8C4 000F7824 7C 08 03 A6 */ mtlr r0 +/* 800FA8C8 000F7828 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FA8CC 000F782C 4E 80 00 20 */ blr + +.global sub_800fa8d0 +sub_800fa8d0: +/* 800FA8D0 000F7830 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800FA8D4 000F7834 7C 08 02 A6 */ mflr r0 +/* 800FA8D8 000F7838 28 03 00 00 */ cmplwi r3, 0 +/* 800FA8DC 000F783C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800FA8E0 000F7840 41 82 00 4C */ beq lbl_800FA92C +/* 800FA8E4 000F7844 34 03 00 04 */ addic. r0, r3, 4 +/* 800FA8E8 000F7848 41 82 00 44 */ beq lbl_800FA92C +/* 800FA8EC 000F784C 80 03 00 08 */ lwz r0, 8(r3) +/* 800FA8F0 000F7850 80 63 00 10 */ lwz r3, 0x10(r3) +/* 800FA8F4 000F7854 54 00 30 32 */ slwi r0, r0, 6 +/* 800FA8F8 000F7858 7C 03 02 14 */ add r0, r3, r0 +/* 800FA8FC 000F785C 90 61 00 0C */ stw r3, 0xc(r1) +/* 800FA900 000F7860 7C 64 1B 78 */ mr r4, r3 +/* 800FA904 000F7864 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FA908 000F7868 90 01 00 10 */ stw r0, 0x10(r1) +/* 800FA90C 000F786C 90 61 00 08 */ stw r3, 8(r1) +/* 800FA910 000F7870 48 00 00 08 */ b lbl_800FA918 +lbl_800FA914: +/* 800FA914 000F7874 38 84 00 40 */ addi r4, r4, 0x40 +lbl_800FA918: +/* 800FA918 000F7878 7C 04 00 40 */ cmplw r4, r0 +/* 800FA91C 000F787C 40 82 FF F8 */ bne lbl_800FA914 +/* 800FA920 000F7880 28 03 00 00 */ cmplwi r3, 0 +/* 800FA924 000F7884 41 82 00 08 */ beq lbl_800FA92C +/* 800FA928 000F7888 48 21 B0 09 */ bl Free__7CMemoryFPCv +lbl_800FA92C: +/* 800FA92C 000F788C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800FA930 000F7890 7C 08 03 A6 */ mtlr r0 +/* 800FA934 000F7894 38 21 00 20 */ addi r1, r1, 0x20 +/* 800FA938 000F7898 4E 80 00 20 */ blr + +.global AddToRenderer__24CScriptDamageableTriggerCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__24CScriptDamageableTriggerCFRC14CFrustumPlanesRC13CStateManager: +/* 800FA93C 000F789C 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800FA940 000F78A0 7C 08 02 A6 */ mflr r0 +/* 800FA944 000F78A4 90 01 00 44 */ stw r0, 0x44(r1) +/* 800FA948 000F78A8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800FA94C 000F78AC 7C BF 2B 78 */ mr r31, r5 +/* 800FA950 000F78B0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800FA954 000F78B4 7C 7E 1B 78 */ mr r30, r3 +/* 800FA958 000F78B8 88 03 03 00 */ lbz r0, 0x300(r3) +/* 800FA95C 000F78BC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800FA960 000F78C0 40 82 00 60 */ bne lbl_800FA9C0 +/* 800FA964 000F78C4 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800FA968 000F78C8 7F C4 F3 78 */ mr r4, r30 +/* 800FA96C 000F78CC C0 1E 02 48 */ lfs f0, 0x248(r30) +/* 800FA970 000F78D0 38 61 00 14 */ addi r3, r1, 0x14 +/* 800FA974 000F78D4 C0 7E 00 60 */ lfs f3, 0x60(r30) +/* 800FA978 000F78D8 C0 5E 02 4C */ lfs f2, 0x24c(r30) +/* 800FA97C 000F78DC EC 81 00 28 */ fsubs f4, f1, f0 +/* 800FA980 000F78E0 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 800FA984 000F78E4 C0 1E 02 44 */ lfs f0, 0x244(r30) +/* 800FA988 000F78E8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800FA98C 000F78EC D0 81 00 0C */ stfs f4, 0xc(r1) +/* 800FA990 000F78F0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800FA994 000F78F4 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800FA998 000F78F8 D0 01 00 08 */ stfs f0, 8(r1) +/* 800FA99C 000F78FC 81 9E 00 00 */ lwz r12, 0(r30) +/* 800FA9A0 000F7900 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800FA9A4 000F7904 7D 89 03 A6 */ mtctr r12 +/* 800FA9A8 000F7908 4E 80 04 21 */ bctrl +/* 800FA9AC 000F790C 7F C3 F3 78 */ mr r3, r30 +/* 800FA9B0 000F7910 7F E4 FB 78 */ mr r4, r31 +/* 800FA9B4 000F7914 38 A1 00 08 */ addi r5, r1, 8 +/* 800FA9B8 000F7918 38 C1 00 14 */ addi r6, r1, 0x14 +/* 800FA9BC 000F791C 4B F5 A0 ED */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f +lbl_800FA9C0: +/* 800FA9C0 000F7920 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800FA9C4 000F7924 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800FA9C8 000F7928 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800FA9CC 000F792C 7C 08 03 A6 */ mtlr r0 +/* 800FA9D0 000F7930 38 21 00 40 */ addi r1, r1, 0x40 +/* 800FA9D4 000F7934 4E 80 00 20 */ blr + +.global PreRender__24CScriptDamageableTriggerFR13CStateManagerRC14CFrustumPlanes +PreRender__24CScriptDamageableTriggerFR13CStateManagerRC14CFrustumPlanes: +/* 800FA9D8 000F7938 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800FA9DC 000F793C 7C 08 02 A6 */ mflr r0 +/* 800FA9E0 000F7940 90 01 00 54 */ stw r0, 0x54(r1) +/* 800FA9E4 000F7944 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800FA9E8 000F7948 7C BF 2B 78 */ mr r31, r5 +/* 800FA9EC 000F794C 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800FA9F0 000F7950 7C 9E 23 78 */ mr r30, r4 +/* 800FA9F4 000F7954 38 81 00 20 */ addi r4, r1, 0x20 +/* 800FA9F8 000F7958 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800FA9FC 000F795C 7C 7D 1B 78 */ mr r29, r3 +/* 800FAA00 000F7960 38 BD 00 34 */ addi r5, r29, 0x34 +/* 800FAA04 000F7964 C0 03 01 4C */ lfs f0, 0x14c(r3) +/* 800FAA08 000F7968 38 61 00 08 */ addi r3, r1, 8 +/* 800FAA0C 000F796C D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800FAA10 000F7970 C0 1D 01 50 */ lfs f0, 0x150(r29) +/* 800FAA14 000F7974 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800FAA18 000F7978 C0 1D 01 54 */ lfs f0, 0x154(r29) +/* 800FAA1C 000F797C D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800FAA20 000F7980 C0 1D 01 58 */ lfs f0, 0x158(r29) +/* 800FAA24 000F7984 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800FAA28 000F7988 C0 1D 01 5C */ lfs f0, 0x15c(r29) +/* 800FAA2C 000F798C D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800FAA30 000F7990 C0 1D 01 60 */ lfs f0, 0x160(r29) +/* 800FAA34 000F7994 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800FAA38 000F7998 48 23 CE C5 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 800FAA3C 000F799C 7F E3 FB 78 */ mr r3, r31 +/* 800FAA40 000F79A0 38 81 00 08 */ addi r4, r1, 8 +/* 800FAA44 000F79A4 48 24 A7 8D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 800FAA48 000F79A8 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 800FAA4C 000F79AC 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 800FAA50 000F79B0 7C 63 00 34 */ cntlzw r3, r3 +/* 800FAA54 000F79B4 50 60 06 B4 */ rlwimi r0, r3, 0, 0x1a, 0x1a +/* 800FAA58 000F79B8 98 1D 03 00 */ stb r0, 0x300(r29) +/* 800FAA5C 000F79BC 88 1D 03 00 */ lbz r0, 0x300(r29) +/* 800FAA60 000F79C0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800FAA64 000F79C4 40 82 00 D0 */ bne lbl_800FAB34 +/* 800FAA68 000F79C8 38 1D 00 E8 */ addi r0, r29, 0xe8 +/* 800FAA6C 000F79CC 7C 00 F8 40 */ cmplw r0, r31 +/* 800FAA70 000F79D0 41 82 00 B4 */ beq lbl_800FAB24 +/* 800FAA74 000F79D4 80 BD 00 E8 */ lwz r5, 0xe8(r29) +/* 800FAA78 000F79D8 38 DD 00 EC */ addi r6, r29, 0xec +/* 800FAA7C 000F79DC 38 60 00 00 */ li r3, 0 +/* 800FAA80 000F79E0 2C 05 00 00 */ cmpwi r5, 0 +/* 800FAA84 000F79E4 40 81 00 40 */ ble lbl_800FAAC4 +/* 800FAA88 000F79E8 2C 05 00 08 */ cmpwi r5, 8 +/* 800FAA8C 000F79EC 38 85 FF F8 */ addi r4, r5, -8 +/* 800FAA90 000F79F0 40 81 00 20 */ ble lbl_800FAAB0 +/* 800FAA94 000F79F4 38 04 00 07 */ addi r0, r4, 7 +/* 800FAA98 000F79F8 54 00 E8 FE */ srwi r0, r0, 3 +/* 800FAA9C 000F79FC 7C 09 03 A6 */ mtctr r0 +/* 800FAAA0 000F7A00 2C 04 00 00 */ cmpwi r4, 0 +/* 800FAAA4 000F7A04 40 81 00 0C */ ble lbl_800FAAB0 +lbl_800FAAA8: +/* 800FAAA8 000F7A08 38 63 00 08 */ addi r3, r3, 8 +/* 800FAAAC 000F7A0C 42 00 FF FC */ bdnz lbl_800FAAA8 +lbl_800FAAB0: +/* 800FAAB0 000F7A10 7C 03 28 50 */ subf r0, r3, r5 +/* 800FAAB4 000F7A14 7C 09 03 A6 */ mtctr r0 +/* 800FAAB8 000F7A18 7C 03 28 00 */ cmpw r3, r5 +/* 800FAABC 000F7A1C 40 80 00 08 */ bge lbl_800FAAC4 +lbl_800FAAC0: +/* 800FAAC0 000F7A20 42 00 00 00 */ bdnz lbl_800FAAC0 +lbl_800FAAC4: +/* 800FAAC4 000F7A24 38 00 00 00 */ li r0, 0 +/* 800FAAC8 000F7A28 38 7F 00 04 */ addi r3, r31, 4 +/* 800FAACC 000F7A2C 90 1D 00 E8 */ stw r0, 0xe8(r29) +/* 800FAAD0 000F7A30 80 1F 00 00 */ lwz r0, 0(r31) +/* 800FAAD4 000F7A34 54 00 20 36 */ slwi r0, r0, 4 +/* 800FAAD8 000F7A38 7C 9F 02 14 */ add r4, r31, r0 +/* 800FAADC 000F7A3C 38 84 00 04 */ addi r4, r4, 4 +/* 800FAAE0 000F7A40 48 00 00 34 */ b lbl_800FAB14 +lbl_800FAAE4: +/* 800FAAE4 000F7A44 28 06 00 00 */ cmplwi r6, 0 +/* 800FAAE8 000F7A48 41 82 00 24 */ beq lbl_800FAB0C +/* 800FAAEC 000F7A4C C0 03 00 00 */ lfs f0, 0(r3) +/* 800FAAF0 000F7A50 D0 06 00 00 */ stfs f0, 0(r6) +/* 800FAAF4 000F7A54 C0 03 00 04 */ lfs f0, 4(r3) +/* 800FAAF8 000F7A58 D0 06 00 04 */ stfs f0, 4(r6) +/* 800FAAFC 000F7A5C C0 03 00 08 */ lfs f0, 8(r3) +/* 800FAB00 000F7A60 D0 06 00 08 */ stfs f0, 8(r6) +/* 800FAB04 000F7A64 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800FAB08 000F7A68 D0 06 00 0C */ stfs f0, 0xc(r6) +lbl_800FAB0C: +/* 800FAB0C 000F7A6C 38 C6 00 10 */ addi r6, r6, 0x10 +/* 800FAB10 000F7A70 38 63 00 10 */ addi r3, r3, 0x10 +lbl_800FAB14: +/* 800FAB14 000F7A74 7C 03 20 40 */ cmplw r3, r4 +/* 800FAB18 000F7A78 40 82 FF CC */ bne lbl_800FAAE4 +/* 800FAB1C 000F7A7C 80 1F 00 00 */ lwz r0, 0(r31) +/* 800FAB20 000F7A80 90 1D 00 E8 */ stw r0, 0xe8(r29) +lbl_800FAB24: +/* 800FAB24 000F7A84 7F A3 EB 78 */ mr r3, r29 +/* 800FAB28 000F7A88 7F C4 F3 78 */ mr r4, r30 +/* 800FAB2C 000F7A8C 7F E5 FB 78 */ mr r5, r31 +/* 800FAB30 000F7A90 4B F5 A1 B1 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes +lbl_800FAB34: +/* 800FAB34 000F7A94 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800FAB38 000F7A98 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800FAB3C 000F7A9C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800FAB40 000F7AA0 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800FAB44 000F7AA4 7C 08 03 A6 */ mtlr r0 +/* 800FAB48 000F7AA8 38 21 00 50 */ addi r1, r1, 0x50 +/* 800FAB4C 000F7AAC 4E 80 00 20 */ blr + +.global GetDamageVulnerability__24CScriptDamageableTriggerCFv +GetDamageVulnerability__24CScriptDamageableTriggerCFv: +/* 800FAB50 000F7AB0 38 63 01 74 */ addi r3, r3, 0x174 +/* 800FAB54 000F7AB4 4E 80 00 20 */ blr + +.global GetHealthInfo__24CScriptDamageableTriggerCFRC13CStateManager +GetHealthInfo__24CScriptDamageableTriggerCFRC13CStateManager: +/* 800FAB58 000F7AB8 38 63 01 6C */ addi r3, r3, 0x16c +/* 800FAB5C 000F7ABC 4E 80 00 20 */ blr + +.global Think__24CScriptDamageableTriggerFfR13CStateManager +Think__24CScriptDamageableTriggerFfR13CStateManager: +/* 800FAB60 000F7AC0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800FAB64 000F7AC4 7C 08 02 A6 */ mflr r0 +/* 800FAB68 000F7AC8 90 01 00 54 */ stw r0, 0x54(r1) +/* 800FAB6C 000F7ACC DB E1 00 40 */ stfd f31, 0x40(r1) +/* 800FAB70 000F7AD0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 800FAB74 000F7AD4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800FAB78 000F7AD8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800FAB7C 000F7ADC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800FAB80 000F7AE0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800FAB84 000F7AE4 FF E0 08 90 */ fmr f31, f1 +/* 800FAB88 000F7AE8 7C 7E 1B 78 */ mr r30, r3 +/* 800FAB8C 000F7AEC 7C 9F 23 78 */ mr r31, r4 +/* 800FAB90 000F7AF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FAB94 000F7AF4 41 82 01 DC */ beq lbl_800FAD70 +/* 800FAB98 000F7AF8 80 BE 00 04 */ lwz r5, 4(r30) +/* 800FAB9C 000F7AFC 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800FABA0 000F7B00 54 A3 18 38 */ slwi r3, r5, 3 +/* 800FABA4 000F7B04 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800FABA8 000F7B08 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800FABAC 000F7B0C 38 03 00 04 */ addi r0, r3, 4 +/* 800FABB0 000F7B10 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800FABB4 000F7B14 7C 64 00 2E */ lwzx r3, r4, r0 +/* 800FABB8 000F7B18 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800FABBC 000F7B1C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FABC0 000F7B20 41 82 00 10 */ beq lbl_800FABD0 +/* 800FABC4 000F7B24 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 800FABC8 000F7B28 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800FABCC 000F7B2C 48 00 00 08 */ b lbl_800FABD4 +lbl_800FABD0: +/* 800FABD0 000F7B30 38 00 00 00 */ li r0, 0 +lbl_800FABD4: +/* 800FABD4 000F7B34 20 60 00 01 */ subfic r3, r0, 1 +/* 800FABD8 000F7B38 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 800FABDC 000F7B3C 7C 63 00 34 */ cntlzw r3, r3 +/* 800FABE0 000F7B40 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18 +/* 800FABE4 000F7B44 98 1E 03 00 */ stb r0, 0x300(r30) +/* 800FABE8 000F7B48 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 800FABEC 000F7B4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800FABF0 000F7B50 41 82 00 E8 */ beq lbl_800FACD8 +/* 800FABF4 000F7B54 C0 3E 02 50 */ lfs f1, 0x250(r30) +/* 800FABF8 000F7B58 C0 02 93 40 */ lfs f0, lbl_805AB060@sda21(r2) +/* 800FABFC 000F7B5C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FAC00 000F7B60 4C 41 13 82 */ cror 2, 1, 2 +/* 800FAC04 000F7B64 40 82 01 30 */ bne lbl_800FAD34 +/* 800FAC08 000F7B68 7F C3 F3 78 */ mr r3, r30 +/* 800FAC0C 000F7B6C 38 80 00 00 */ li r4, 0 +/* 800FAC10 000F7B70 81 9E 00 00 */ lwz r12, 0(r30) +/* 800FAC14 000F7B74 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800FAC18 000F7B78 7D 89 03 A6 */ mtctr r12 +/* 800FAC1C 000F7B7C 4E 80 04 21 */ bctrl +/* 800FAC20 000F7B80 83 BE 00 2C */ lwz r29, 0x2c(r30) +/* 800FAC24 000F7B84 48 00 00 78 */ b lbl_800FAC9C +lbl_800FAC28: +/* 800FAC28 000F7B88 80 1D 00 00 */ lwz r0, 0(r29) +/* 800FAC2C 000F7B8C 2C 00 00 07 */ cmpwi r0, 7 +/* 800FAC30 000F7B90 40 82 00 68 */ bne lbl_800FAC98 +/* 800FAC34 000F7B94 80 1D 00 04 */ lwz r0, 4(r29) +/* 800FAC38 000F7B98 2C 00 00 01 */ cmpwi r0, 1 +/* 800FAC3C 000F7B9C 40 82 00 5C */ bne lbl_800FAC98 +/* 800FAC40 000F7BA0 80 1D 00 08 */ lwz r0, 8(r29) +/* 800FAC44 000F7BA4 7F E4 FB 78 */ mr r4, r31 +/* 800FAC48 000F7BA8 38 61 00 08 */ addi r3, r1, 8 +/* 800FAC4C 000F7BAC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800FAC50 000F7BB0 90 01 00 10 */ stw r0, 0x10(r1) +/* 800FAC54 000F7BB4 4B F4 D2 C9 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800FAC58 000F7BB8 A0 01 00 08 */ lhz r0, 8(r1) +/* 800FAC5C 000F7BBC 7F E3 FB 78 */ mr r3, r31 +/* 800FAC60 000F7BC0 38 81 00 0C */ addi r4, r1, 0xc +/* 800FAC64 000F7BC4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800FAC68 000F7BC8 4B F5 19 0D */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800FAC6C 000F7BCC 7C 64 1B 78 */ mr r4, r3 +/* 800FAC70 000F7BD0 38 61 00 1C */ addi r3, r1, 0x1c +/* 800FAC74 000F7BD4 4B FB 10 F9 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +/* 800FAC78 000F7BD8 80 63 00 04 */ lwz r3, 4(r3) +/* 800FAC7C 000F7BDC 28 03 00 00 */ cmplwi r3, 0 +/* 800FAC80 000F7BE0 41 82 00 18 */ beq lbl_800FAC98 +/* 800FAC84 000F7BE4 81 83 00 00 */ lwz r12, 0(r3) +/* 800FAC88 000F7BE8 38 80 00 00 */ li r4, 0 +/* 800FAC8C 000F7BEC 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800FAC90 000F7BF0 7D 89 03 A6 */ mtctr r12 +/* 800FAC94 000F7BF4 4E 80 04 21 */ bctrl +lbl_800FAC98: +/* 800FAC98 000F7BF8 3B BD 00 0C */ addi r29, r29, 0xc +lbl_800FAC9C: +/* 800FAC9C 000F7BFC 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 800FACA0 000F7C00 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 800FACA4 000F7C04 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800FACA8 000F7C08 7C 03 02 14 */ add r0, r3, r0 +/* 800FACAC 000F7C0C 7C 1D 00 40 */ cmplw r29, r0 +/* 800FACB0 000F7C10 40 82 FF 78 */ bne lbl_800FAC28 +/* 800FACB4 000F7C14 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) +/* 800FACB8 000F7C18 7F C3 F3 78 */ mr r3, r30 +/* 800FACBC 000F7C1C 7F E4 FB 78 */ mr r4, r31 +/* 800FACC0 000F7C20 48 00 00 D5 */ bl SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager +/* 800FACC4 000F7C24 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 800FACC8 000F7C28 38 60 00 00 */ li r3, 0 +/* 800FACCC 000F7C2C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800FACD0 000F7C30 98 1E 03 00 */ stb r0, 0x300(r30) +/* 800FACD4 000F7C34 48 00 00 9C */ b lbl_800FAD70 +lbl_800FACD8: +/* 800FACD8 000F7C38 C0 3E 01 6C */ lfs f1, 0x16c(r30) +/* 800FACDC 000F7C3C C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) +/* 800FACE0 000F7C40 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FACE4 000F7C44 4C 40 13 82 */ cror 2, 0, 2 +/* 800FACE8 000F7C48 40 82 00 4C */ bne lbl_800FAD34 +/* 800FACEC 000F7C4C 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800FACF0 000F7C50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FACF4 000F7C54 41 82 00 40 */ beq lbl_800FAD34 +/* 800FACF8 000F7C58 7F C3 F3 78 */ mr r3, r30 +/* 800FACFC 000F7C5C 7F E5 FB 78 */ mr r5, r31 +/* 800FAD00 000F7C60 38 80 00 0E */ li r4, 0xe +/* 800FAD04 000F7C64 38 C0 FF FF */ li r6, -1 +/* 800FAD08 000F7C68 4B F5 63 B9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800FAD0C 000F7C6C 7F C3 F3 78 */ mr r3, r30 +/* 800FAD10 000F7C70 7F E5 FB 78 */ mr r5, r31 +/* 800FAD14 000F7C74 38 80 00 29 */ li r4, 0x29 +/* 800FAD18 000F7C78 4B F5 92 69 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 800FAD1C 000F7C7C 88 1E 03 00 */ lbz r0, 0x300(r30) +/* 800FAD20 000F7C80 38 60 00 01 */ li r3, 1 +/* 800FAD24 000F7C84 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800FAD28 000F7C88 C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) +/* 800FAD2C 000F7C8C 98 1E 03 00 */ stb r0, 0x300(r30) +/* 800FAD30 000F7C90 D0 1E 02 50 */ stfs f0, 0x250(r30) +lbl_800FAD34: +/* 800FAD34 000F7C94 C0 3E 02 50 */ lfs f1, 0x250(r30) +/* 800FAD38 000F7C98 C0 02 93 40 */ lfs f0, lbl_805AB060@sda21(r2) +/* 800FAD3C 000F7C9C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FAD40 000F7CA0 4C 40 13 82 */ cror 2, 0, 2 +/* 800FAD44 000F7CA4 40 82 00 0C */ bne lbl_800FAD50 +/* 800FAD48 000F7CA8 EC 01 F8 2A */ fadds f0, f1, f31 +/* 800FAD4C 000F7CAC D0 1E 02 50 */ stfs f0, 0x250(r30) +lbl_800FAD50: +/* 800FAD50 000F7CB0 7F C3 F3 78 */ mr r3, r30 +/* 800FAD54 000F7CB4 48 00 01 79 */ bl GetPuddleAlphaScale__24CScriptDamageableTriggerCFv +/* 800FAD58 000F7CB8 C0 02 93 44 */ lfs f0, lbl_805AB064@sda21(r2) +/* 800FAD5C 000F7CBC 7F C3 F3 78 */ mr r3, r30 +/* 800FAD60 000F7CC0 7F E4 FB 78 */ mr r4, r31 +/* 800FAD64 000F7CC4 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800FAD68 000F7CC8 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) +/* 800FAD6C 000F7CCC 48 00 00 29 */ bl SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager +lbl_800FAD70: +/* 800FAD70 000F7CD0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 800FAD74 000F7CD4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800FAD78 000F7CD8 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 800FAD7C 000F7CDC 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800FAD80 000F7CE0 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800FAD84 000F7CE4 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800FAD88 000F7CE8 7C 08 03 A6 */ mtlr r0 +/* 800FAD8C 000F7CEC 38 21 00 50 */ addi r1, r1, 0x50 +/* 800FAD90 000F7CF0 4E 80 00 20 */ blr + +.global SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager +SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager: +/* 800FAD94 000F7CF4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800FAD98 000F7CF8 7C 08 02 A6 */ mflr r0 +/* 800FAD9C 000F7CFC 90 01 00 54 */ stw r0, 0x54(r1) +/* 800FADA0 000F7D00 DB E1 00 40 */ stfd f31, 0x40(r1) +/* 800FADA4 000F7D04 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 +/* 800FADA8 000F7D08 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 800FADAC 000F7D0C 7C 7C 1B 78 */ mr r28, r3 +/* 800FADB0 000F7D10 FF E0 08 90 */ fmr f31, f1 +/* 800FADB4 000F7D14 83 E3 00 2C */ lwz r31, 0x2c(r3) +/* 800FADB8 000F7D18 7C 9D 23 78 */ mr r29, r4 +/* 800FADBC 000F7D1C 3B C1 00 18 */ addi r30, r1, 0x18 +/* 800FADC0 000F7D20 48 00 00 D8 */ b lbl_800FAE98 +lbl_800FADC4: +/* 800FADC4 000F7D24 80 1F 00 00 */ lwz r0, 0(r31) +/* 800FADC8 000F7D28 2C 00 00 07 */ cmpwi r0, 7 +/* 800FADCC 000F7D2C 40 82 00 C8 */ bne lbl_800FAE94 +/* 800FADD0 000F7D30 80 1F 00 04 */ lwz r0, 4(r31) +/* 800FADD4 000F7D34 2C 00 00 01 */ cmpwi r0, 1 +/* 800FADD8 000F7D38 40 82 00 BC */ bne lbl_800FAE94 +/* 800FADDC 000F7D3C 80 1F 00 08 */ lwz r0, 8(r31) +/* 800FADE0 000F7D40 7F A4 EB 78 */ mr r4, r29 +/* 800FADE4 000F7D44 38 61 00 08 */ addi r3, r1, 8 +/* 800FADE8 000F7D48 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800FADEC 000F7D4C 90 01 00 10 */ stw r0, 0x10(r1) +/* 800FADF0 000F7D50 4B F4 D1 2D */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800FADF4 000F7D54 A0 01 00 08 */ lhz r0, 8(r1) +/* 800FADF8 000F7D58 7F A3 EB 78 */ mr r3, r29 +/* 800FADFC 000F7D5C 38 81 00 0C */ addi r4, r1, 0xc +/* 800FAE00 000F7D60 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800FAE04 000F7D64 4B F5 17 71 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800FAE08 000F7D68 7C 64 1B 78 */ mr r4, r3 +/* 800FAE0C 000F7D6C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800FAE10 000F7D70 4B FB 0F 5D */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" +/* 800FAE14 000F7D74 83 63 00 04 */ lwz r27, 4(r3) +/* 800FAE18 000F7D78 28 1B 00 00 */ cmplwi r27, 0 +/* 800FAE1C 000F7D7C 41 82 00 78 */ beq lbl_800FAE94 +/* 800FAE20 000F7D80 88 1B 00 30 */ lbz r0, 0x30(r27) +/* 800FAE24 000F7D84 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FAE28 000F7D88 40 82 00 1C */ bne lbl_800FAE44 +/* 800FAE2C 000F7D8C 7F 63 DB 78 */ mr r3, r27 +/* 800FAE30 000F7D90 38 80 00 01 */ li r4, 1 +/* 800FAE34 000F7D94 81 9B 00 00 */ lwz r12, 0(r27) +/* 800FAE38 000F7D98 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800FAE3C 000F7D9C 7D 89 03 A6 */ mtctr r12 +/* 800FAE40 000F7DA0 4E 80 04 21 */ bctrl +lbl_800FAE44: +/* 800FAE44 000F7DA4 C0 22 93 48 */ lfs f1, lbl_805AB068@sda21(r2) +/* 800FAE48 000F7DA8 38 60 00 05 */ li r3, 5 +/* 800FAE4C 000F7DAC 38 80 00 00 */ li r4, 0 +/* 800FAE50 000F7DB0 38 00 00 03 */ li r0, 3 +/* 800FAE54 000F7DB4 FC 40 08 90 */ fmr f2, f1 +/* 800FAE58 000F7DB8 98 61 00 14 */ stb r3, 0x14(r1) +/* 800FAE5C 000F7DBC FC 60 08 90 */ fmr f3, f1 +/* 800FAE60 000F7DC0 7F C3 F3 78 */ mr r3, r30 +/* 800FAE64 000F7DC4 FC 80 F8 90 */ fmr f4, f31 +/* 800FAE68 000F7DC8 98 81 00 15 */ stb r4, 0x15(r1) +/* 800FAE6C 000F7DCC B0 01 00 16 */ sth r0, 0x16(r1) +/* 800FAE70 000F7DD0 48 26 85 7D */ bl __ct__6CColorFffff +/* 800FAE74 000F7DD4 88 01 00 14 */ lbz r0, 0x14(r1) +/* 800FAE78 000F7DD8 98 1B 00 B4 */ stb r0, 0xb4(r27) +/* 800FAE7C 000F7DDC 88 01 00 15 */ lbz r0, 0x15(r1) +/* 800FAE80 000F7DE0 98 1B 00 B5 */ stb r0, 0xb5(r27) +/* 800FAE84 000F7DE4 A0 01 00 16 */ lhz r0, 0x16(r1) +/* 800FAE88 000F7DE8 B0 1B 00 B6 */ sth r0, 0xb6(r27) +/* 800FAE8C 000F7DEC 80 01 00 18 */ lwz r0, 0x18(r1) +/* 800FAE90 000F7DF0 90 1B 00 B8 */ stw r0, 0xb8(r27) +lbl_800FAE94: +/* 800FAE94 000F7DF4 3B FF 00 0C */ addi r31, r31, 0xc +lbl_800FAE98: +/* 800FAE98 000F7DF8 80 1C 00 24 */ lwz r0, 0x24(r28) +/* 800FAE9C 000F7DFC 80 7C 00 2C */ lwz r3, 0x2c(r28) +/* 800FAEA0 000F7E00 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800FAEA4 000F7E04 7C 03 02 14 */ add r0, r3, r0 +/* 800FAEA8 000F7E08 7C 1F 00 40 */ cmplw r31, r0 +/* 800FAEAC 000F7E0C 40 82 FF 18 */ bne lbl_800FADC4 +/* 800FAEB0 000F7E10 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 +/* 800FAEB4 000F7E14 CB E1 00 40 */ lfd f31, 0x40(r1) +/* 800FAEB8 000F7E18 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 800FAEBC 000F7E1C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800FAEC0 000F7E20 7C 08 03 A6 */ mtlr r0 +/* 800FAEC4 000F7E24 38 21 00 50 */ addi r1, r1, 0x50 +/* 800FAEC8 000F7E28 4E 80 00 20 */ blr + +.global GetPuddleAlphaScale__24CScriptDamageableTriggerCFv +GetPuddleAlphaScale__24CScriptDamageableTriggerCFv: +/* 800FAECC 000F7E2C C0 23 02 50 */ lfs f1, 0x250(r3) +/* 800FAED0 000F7E30 C0 02 93 40 */ lfs f0, lbl_805AB060@sda21(r2) +/* 800FAED4 000F7E34 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FAED8 000F7E38 4C 40 13 82 */ cror 2, 0, 2 +/* 800FAEDC 000F7E3C 40 82 00 28 */ bne lbl_800FAF04 +/* 800FAEE0 000F7E40 88 03 03 00 */ lbz r0, 0x300(r3) +/* 800FAEE4 000F7E44 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800FAEE8 000F7E48 41 82 00 14 */ beq lbl_800FAEFC +/* 800FAEEC 000F7E4C EC 01 00 24 */ fdivs f0, f1, f0 +/* 800FAEF0 000F7E50 C0 22 93 48 */ lfs f1, lbl_805AB068@sda21(r2) +/* 800FAEF4 000F7E54 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800FAEF8 000F7E58 4E 80 00 20 */ blr +lbl_800FAEFC: +/* 800FAEFC 000F7E5C EC 21 00 24 */ fdivs f1, f1, f0 +/* 800FAF00 000F7E60 4E 80 00 20 */ blr +lbl_800FAF04: +/* 800FAF04 000F7E64 88 03 03 00 */ lbz r0, 0x300(r3) +/* 800FAF08 000F7E68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800FAF0C 000F7E6C 41 82 00 0C */ beq lbl_800FAF18 +/* 800FAF10 000F7E70 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) +/* 800FAF14 000F7E74 4E 80 00 20 */ blr +lbl_800FAF18: +/* 800FAF18 000F7E78 C0 22 93 48 */ lfs f1, lbl_805AB068@sda21(r2) +/* 800FAF1C 000F7E7C 4E 80 00 20 */ blr + +.global AcceptScriptMsg__24CScriptDamageableTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__24CScriptDamageableTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800FAF20 000F7E80 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800FAF24 000F7E84 7C 08 02 A6 */ mflr r0 +/* 800FAF28 000F7E88 90 01 00 24 */ stw r0, 0x24(r1) +/* 800FAF2C 000F7E8C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800FAF30 000F7E90 7C DF 33 78 */ mr r31, r6 +/* 800FAF34 000F7E94 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800FAF38 000F7E98 7C BE 2B 78 */ mr r30, r5 +/* 800FAF3C 000F7E9C 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800FAF40 000F7EA0 7C 9D 23 78 */ mr r29, r4 +/* 800FAF44 000F7EA4 2C 1D 00 06 */ cmpwi r29, 6 +/* 800FAF48 000F7EA8 93 81 00 10 */ stw r28, 0x10(r1) +/* 800FAF4C 000F7EAC 7C 7C 1B 78 */ mr r28, r3 +/* 800FAF50 000F7EB0 41 82 01 0C */ beq lbl_800FB05C +/* 800FAF54 000F7EB4 40 80 00 1C */ bge lbl_800FAF70 +/* 800FAF58 000F7EB8 2C 1D 00 04 */ cmpwi r29, 4 +/* 800FAF5C 000F7EBC 41 82 00 2C */ beq lbl_800FAF88 +/* 800FAF60 000F7EC0 40 80 00 EC */ bge lbl_800FB04C +/* 800FAF64 000F7EC4 2C 1D 00 01 */ cmpwi r29, 1 +/* 800FAF68 000F7EC8 41 82 00 38 */ beq lbl_800FAFA0 +/* 800FAF6C 000F7ECC 48 00 00 F0 */ b lbl_800FB05C +lbl_800FAF70: +/* 800FAF70 000F7ED0 2C 1D 00 29 */ cmpwi r29, 0x29 +/* 800FAF74 000F7ED4 41 82 00 A4 */ beq lbl_800FB018 +/* 800FAF78 000F7ED8 40 80 00 E4 */ bge lbl_800FB05C +/* 800FAF7C 000F7EDC 2C 1D 00 08 */ cmpwi r29, 8 +/* 800FAF80 000F7EE0 40 80 00 DC */ bge lbl_800FB05C +/* 800FAF84 000F7EE4 48 00 00 B4 */ b lbl_800FB038 +lbl_800FAF88: +/* 800FAF88 000F7EE8 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800FAF8C 000F7EEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FAF90 000F7EF0 41 82 00 10 */ beq lbl_800FAFA0 +/* 800FAF94 000F7EF4 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 800FAF98 000F7EF8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800FAF9C 000F7EFC 40 82 00 DC */ bne lbl_800FB078 +lbl_800FAFA0: +/* 800FAFA0 000F7F00 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800FAFA4 000F7F04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FAFA8 000F7F08 41 82 00 10 */ beq lbl_800FAFB8 +/* 800FAFAC 000F7F0C 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 800FAFB0 000F7F10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800FAFB4 000F7F14 41 82 00 A8 */ beq lbl_800FB05C +lbl_800FAFB8: +/* 800FAFB8 000F7F18 C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) +/* 800FAFBC 000F7F1C 38 60 00 00 */ li r3, 0 +/* 800FAFC0 000F7F20 D0 1C 02 50 */ stfs f0, 0x250(r28) +/* 800FAFC4 000F7F24 C0 1C 01 64 */ lfs f0, 0x164(r28) +/* 800FAFC8 000F7F28 D0 1C 01 6C */ stfs f0, 0x16c(r28) +/* 800FAFCC 000F7F2C C0 1C 01 68 */ lfs f0, 0x168(r28) +/* 800FAFD0 000F7F30 D0 1C 01 70 */ stfs f0, 0x170(r28) +/* 800FAFD4 000F7F34 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 800FAFD8 000F7F38 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800FAFDC 000F7F3C 98 1C 03 00 */ stb r0, 0x300(r28) +/* 800FAFE0 000F7F40 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 800FAFE4 000F7F44 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800FAFE8 000F7F48 41 82 00 14 */ beq lbl_800FAFFC +/* 800FAFEC 000F7F4C 7F 83 E3 78 */ mr r3, r28 +/* 800FAFF0 000F7F50 7F E5 FB 78 */ mr r5, r31 +/* 800FAFF4 000F7F54 38 80 00 29 */ li r4, 0x29 +/* 800FAFF8 000F7F58 4B F5 93 59 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +lbl_800FAFFC: +/* 800FAFFC 000F7F5C C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) +/* 800FB000 000F7F60 7F 83 E3 78 */ mr r3, r28 +/* 800FB004 000F7F64 7F E4 FB 78 */ mr r4, r31 +/* 800FB008 000F7F68 4B FF FD 8D */ bl SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager +/* 800FB00C 000F7F6C C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) +/* 800FB010 000F7F70 D0 1C 01 E0 */ stfs f0, 0x1e0(r28) +/* 800FB014 000F7F74 48 00 00 48 */ b lbl_800FB05C +lbl_800FB018: +/* 800FB018 000F7F78 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 800FB01C 000F7F7C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800FB020 000F7F80 41 82 00 3C */ beq lbl_800FB05C +/* 800FB024 000F7F84 C0 1C 01 64 */ lfs f0, 0x164(r28) +/* 800FB028 000F7F88 D0 1C 01 6C */ stfs f0, 0x16c(r28) +/* 800FB02C 000F7F8C C0 1C 01 68 */ lfs f0, 0x168(r28) +/* 800FB030 000F7F90 D0 1C 01 70 */ stfs f0, 0x170(r28) +/* 800FB034 000F7F94 48 00 00 28 */ b lbl_800FB05C +lbl_800FB038: +/* 800FB038 000F7F98 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 800FB03C 000F7F9C 38 60 00 01 */ li r3, 1 +/* 800FB040 000F7FA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800FB044 000F7FA4 98 1C 03 00 */ stb r0, 0x300(r28) +/* 800FB048 000F7FA8 48 00 00 14 */ b lbl_800FB05C +lbl_800FB04C: +/* 800FB04C 000F7FAC 88 1C 03 00 */ lbz r0, 0x300(r28) +/* 800FB050 000F7FB0 38 60 00 00 */ li r3, 0 +/* 800FB054 000F7FB4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800FB058 000F7FB8 98 1C 03 00 */ stb r0, 0x300(r28) +lbl_800FB05C: +/* 800FB05C 000F7FBC A0 1E 00 00 */ lhz r0, 0(r30) +/* 800FB060 000F7FC0 7F 83 E3 78 */ mr r3, r28 +/* 800FB064 000F7FC4 7F A4 EB 78 */ mr r4, r29 +/* 800FB068 000F7FC8 7F E6 FB 78 */ mr r6, r31 +/* 800FB06C 000F7FCC B0 01 00 08 */ sth r0, 8(r1) +/* 800FB070 000F7FD0 38 A1 00 08 */ addi r5, r1, 8 +/* 800FB074 000F7FD4 4B F5 85 A1 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_800FB078: +/* 800FB078 000F7FD8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800FB07C 000F7FDC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800FB080 000F7FE0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800FB084 000F7FE4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800FB088 000F7FE8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800FB08C 000F7FEC 7C 08 03 A6 */ mtlr r0 +/* 800FB090 000F7FF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800FB094 000F7FF4 4E 80 00 20 */ blr + +.global GetTouchBounds__24CScriptDamageableTriggerCFv +GetTouchBounds__24CScriptDamageableTriggerCFv: +/* 800FB098 000F7FF8 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800FB09C 000F7FFC 7C 08 02 A6 */ mflr r0 +/* 800FB0A0 000F8000 90 01 00 44 */ stw r0, 0x44(r1) +/* 800FB0A4 000F8004 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800FB0A8 000F8008 7C 7F 1B 78 */ mr r31, r3 +/* 800FB0AC 000F800C 88 04 00 30 */ lbz r0, 0x30(r4) +/* 800FB0B0 000F8010 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FB0B4 000F8014 41 82 00 B8 */ beq lbl_800FB16C +/* 800FB0B8 000F8018 88 04 03 00 */ lbz r0, 0x300(r4) +/* 800FB0BC 000F801C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FB0C0 000F8020 41 82 00 AC */ beq lbl_800FB16C +/* 800FB0C4 000F8024 C0 24 01 5C */ lfs f1, 0x15c(r4) +/* 800FB0C8 000F8028 38 61 00 20 */ addi r3, r1, 0x20 +/* 800FB0CC 000F802C C0 64 00 50 */ lfs f3, 0x50(r4) +/* 800FB0D0 000F8030 38 A1 00 08 */ addi r5, r1, 8 +/* 800FB0D4 000F8034 C0 04 01 50 */ lfs f0, 0x150(r4) +/* 800FB0D8 000F8038 EC C1 18 2A */ fadds f6, f1, f3 +/* 800FB0DC 000F803C C0 44 01 60 */ lfs f2, 0x160(r4) +/* 800FB0E0 000F8040 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 800FB0E4 000F8044 EC 80 18 2A */ fadds f4, f0, f3 +/* 800FB0E8 000F8048 C0 04 01 54 */ lfs f0, 0x154(r4) +/* 800FB0EC 000F804C EC A2 08 2A */ fadds f5, f2, f1 +/* 800FB0F0 000F8050 EC 60 08 2A */ fadds f3, f0, f1 +/* 800FB0F4 000F8054 C0 24 01 58 */ lfs f1, 0x158(r4) +/* 800FB0F8 000F8058 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 800FB0FC 000F805C C0 04 01 4C */ lfs f0, 0x14c(r4) +/* 800FB100 000F8060 38 81 00 14 */ addi r4, r1, 0x14 +/* 800FB104 000F8064 EC 21 10 2A */ fadds f1, f1, f2 +/* 800FB108 000F8068 EC 00 10 2A */ fadds f0, f0, f2 +/* 800FB10C 000F806C D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 800FB110 000F8070 D0 21 00 08 */ stfs f1, 8(r1) +/* 800FB114 000F8074 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 800FB118 000F8078 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800FB11C 000F807C D0 81 00 18 */ stfs f4, 0x18(r1) +/* 800FB120 000F8080 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 800FB124 000F8084 48 23 D3 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800FB128 000F8088 38 00 00 01 */ li r0, 1 +/* 800FB12C 000F808C 28 1F 00 00 */ cmplwi r31, 0 +/* 800FB130 000F8090 98 1F 00 18 */ stb r0, 0x18(r31) +/* 800FB134 000F8094 41 82 00 40 */ beq lbl_800FB174 +/* 800FB138 000F8098 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 800FB13C 000F809C D0 1F 00 00 */ stfs f0, 0(r31) +/* 800FB140 000F80A0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 800FB144 000F80A4 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800FB148 000F80A8 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800FB14C 000F80AC D0 1F 00 08 */ stfs f0, 8(r31) +/* 800FB150 000F80B0 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800FB154 000F80B4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 800FB158 000F80B8 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800FB15C 000F80BC D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800FB160 000F80C0 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 800FB164 000F80C4 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 800FB168 000F80C8 48 00 00 0C */ b lbl_800FB174 +lbl_800FB16C: +/* 800FB16C 000F80CC 38 00 00 00 */ li r0, 0 +/* 800FB170 000F80D0 98 1F 00 18 */ stb r0, 0x18(r31) +lbl_800FB174: +/* 800FB174 000F80D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800FB178 000F80D8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800FB17C 000F80DC 7C 08 03 A6 */ mtlr r0 +/* 800FB180 000F80E0 38 21 00 40 */ addi r1, r1, 0x40 +/* 800FB184 000F80E4 4E 80 00 20 */ blr + +.global __dt__24CScriptDamageableTriggerFv +__dt__24CScriptDamageableTriggerFv: +/* 800FB188 000F80E8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FB18C 000F80EC 7C 08 02 A6 */ mflr r0 +/* 800FB190 000F80F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FB194 000F80F4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FB198 000F80F8 7C 9F 23 78 */ mr r31, r4 +/* 800FB19C 000F80FC 93 C1 00 08 */ stw r30, 8(r1) +/* 800FB1A0 000F8100 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800FB1A4 000F8104 41 82 00 9C */ beq lbl_800FB240 +/* 800FB1A8 000F8108 3C 80 80 3E */ lis r4, lbl_803DFD08@ha +/* 800FB1AC 000F810C 38 7E 02 54 */ addi r3, r30, 0x254 +/* 800FB1B0 000F8110 38 04 FD 08 */ addi r0, r4, lbl_803DFD08@l +/* 800FB1B4 000F8114 38 80 FF FF */ li r4, -1 +/* 800FB1B8 000F8118 90 1E 00 00 */ stw r0, 0(r30) +/* 800FB1BC 000F811C 48 0A 2A 45 */ bl __dt__15CFluidPlaneDoorFv +/* 800FB1C0 000F8120 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 800FB1C4 000F8124 41 82 00 60 */ beq lbl_800FB224 +/* 800FB1C8 000F8128 34 1E 00 E8 */ addic. r0, r30, 0xe8 +/* 800FB1CC 000F812C 41 82 00 58 */ beq lbl_800FB224 +/* 800FB1D0 000F8130 80 BE 00 E8 */ lwz r5, 0xe8(r30) +/* 800FB1D4 000F8134 38 60 00 00 */ li r3, 0 +/* 800FB1D8 000F8138 2C 05 00 00 */ cmpwi r5, 0 +/* 800FB1DC 000F813C 40 81 00 40 */ ble lbl_800FB21C +/* 800FB1E0 000F8140 2C 05 00 08 */ cmpwi r5, 8 +/* 800FB1E4 000F8144 38 85 FF F8 */ addi r4, r5, -8 +/* 800FB1E8 000F8148 40 81 00 20 */ ble lbl_800FB208 +/* 800FB1EC 000F814C 38 04 00 07 */ addi r0, r4, 7 +/* 800FB1F0 000F8150 54 00 E8 FE */ srwi r0, r0, 3 +/* 800FB1F4 000F8154 7C 09 03 A6 */ mtctr r0 +/* 800FB1F8 000F8158 2C 04 00 00 */ cmpwi r4, 0 +/* 800FB1FC 000F815C 40 81 00 0C */ ble lbl_800FB208 +lbl_800FB200: +/* 800FB200 000F8160 38 63 00 08 */ addi r3, r3, 8 +/* 800FB204 000F8164 42 00 FF FC */ bdnz lbl_800FB200 +lbl_800FB208: +/* 800FB208 000F8168 7C 03 28 50 */ subf r0, r3, r5 +/* 800FB20C 000F816C 7C 09 03 A6 */ mtctr r0 +/* 800FB210 000F8170 7C 03 28 00 */ cmpw r3, r5 +/* 800FB214 000F8174 40 80 00 08 */ bge lbl_800FB21C +lbl_800FB218: +/* 800FB218 000F8178 42 00 00 00 */ bdnz lbl_800FB218 +lbl_800FB21C: +/* 800FB21C 000F817C 38 00 00 00 */ li r0, 0 +/* 800FB220 000F8180 90 1E 00 E8 */ stw r0, 0xe8(r30) +lbl_800FB224: +/* 800FB224 000F8184 7F C3 F3 78 */ mr r3, r30 +/* 800FB228 000F8188 38 80 00 00 */ li r4, 0 +/* 800FB22C 000F818C 4B F5 A4 C5 */ bl __dt__6CActorFv +/* 800FB230 000F8190 7F E0 07 35 */ extsh. r0, r31 +/* 800FB234 000F8194 40 81 00 0C */ ble lbl_800FB240 +/* 800FB238 000F8198 7F C3 F3 78 */ mr r3, r30 +/* 800FB23C 000F819C 48 21 A6 F5 */ bl Free__7CMemoryFPCv +lbl_800FB240: +/* 800FB240 000F81A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FB244 000F81A4 7F C3 F3 78 */ mr r3, r30 +/* 800FB248 000F81A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FB24C 000F81AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800FB250 000F81B0 7C 08 03 A6 */ mtlr r0 +/* 800FB254 000F81B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FB258 000F81B8 4E 80 00 20 */ blr + +.global "__ct__24CScriptDamageableTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fRC11CHealthInfoRC20CDamageVulnerabilityUiUiUiUiQ224CScriptDamageableTrigger9ECanOrbitbRC16CVisorParameters" +"__ct__24CScriptDamageableTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fRC11CHealthInfoRC20CDamageVulnerabilityUiUiUiUiQ224CScriptDamageableTrigger9ECanOrbitbRC16CVisorParameters": +/* 800FB25C 000F81BC 94 21 FC A0 */ stwu r1, -0x360(r1) +/* 800FB260 000F81C0 7C 08 02 A6 */ mflr r0 +/* 800FB264 000F81C4 90 01 03 64 */ stw r0, 0x364(r1) +/* 800FB268 000F81C8 BE 01 03 20 */ stmw r16, 0x320(r1) +/* 800FB26C 000F81CC 7C 7F 1B 78 */ mr r31, r3 +/* 800FB270 000F81D0 82 A1 03 68 */ lwz r21, 0x368(r1) +/* 800FB274 000F81D4 7C 99 23 78 */ mr r25, r4 +/* 800FB278 000F81D8 82 81 03 6C */ lwz r20, 0x36c(r1) +/* 800FB27C 000F81DC 7C BA 2B 78 */ mr r26, r5 +/* 800FB280 000F81E0 82 61 03 70 */ lwz r19, 0x370(r1) +/* 800FB284 000F81E4 7C D8 33 78 */ mr r24, r6 +/* 800FB288 000F81E8 82 41 03 74 */ lwz r18, 0x374(r1) +/* 800FB28C 000F81EC 7C F7 3B 78 */ mr r23, r7 +/* 800FB290 000F81F0 83 C1 03 78 */ lwz r30, 0x378(r1) +/* 800FB294 000F81F4 7D 1B 43 78 */ mr r27, r8 +/* 800FB298 000F81F8 8A C1 03 7F */ lbz r22, 0x37f(r1) +/* 800FB29C 000F81FC 7D 3C 4B 78 */ mr r28, r9 +/* 800FB2A0 000F8200 82 01 03 80 */ lwz r16, 0x380(r1) +/* 800FB2A4 000F8204 7D 5D 53 78 */ mr r29, r10 +/* 800FB2A8 000F8208 38 61 02 CC */ addi r3, r1, 0x2cc +/* 800FB2AC 000F820C 4B F3 F4 F9 */ bl CModelDataNull__10CModelDataFv +/* 800FB2B0 000F8210 38 61 02 64 */ addi r3, r1, 0x264 +/* 800FB2B4 000F8214 4B F1 FB 85 */ bl None__16CActorParametersFv +/* 800FB2B8 000F8218 7E 05 83 78 */ mr r5, r16 +/* 800FB2BC 000F821C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 800FB2C0 000F8220 38 81 02 64 */ addi r4, r1, 0x264 +/* 800FB2C4 000F8224 48 00 B4 ED */ bl MakeDamageableTriggerActorParms__FRC16CActorParametersRC16CVisorParameters +/* 800FB2C8 000F8228 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800FB2CC 000F822C 2C 1E 00 01 */ cmpwi r30, 1 +/* 800FB2D0 000F8230 3A 21 00 10 */ addi r17, r1, 0x10 +/* 800FB2D4 000F8234 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800FB2D8 000F8238 40 82 00 E0 */ bne lbl_800FB3B8 +/* 800FB2DC 000F823C 38 00 00 00 */ li r0, 0 +/* 800FB2E0 000F8240 80 AD 88 F0 */ lwz r5, lbl_805A74B0@sda21(r13) +/* 800FB2E4 000F8244 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800FB2E8 000F8248 38 60 00 00 */ li r3, 0 +/* 800FB2EC 000F824C 38 80 00 01 */ li r4, 1 +/* 800FB2F0 000F8250 90 01 00 38 */ stw r0, 0x38(r1) +/* 800FB2F4 000F8254 48 28 EC 01 */ bl __shl2i +/* 800FB2F8 000F8258 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800FB2FC 000F825C 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 800FB300 000F8260 7C 00 1B 78 */ or r0, r0, r3 +/* 800FB304 000F8264 80 AD 88 F4 */ lwz r5, lbl_805A74B4@sda21(r13) +/* 800FB308 000F8268 7C C4 23 78 */ or r4, r6, r4 +/* 800FB30C 000F826C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800FB310 000F8270 38 60 00 00 */ li r3, 0 +/* 800FB314 000F8274 90 81 00 3C */ stw r4, 0x3c(r1) +/* 800FB318 000F8278 38 80 00 01 */ li r4, 1 +/* 800FB31C 000F827C 48 28 EB D9 */ bl __shl2i +/* 800FB320 000F8280 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800FB324 000F8284 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 800FB328 000F8288 7C 00 1B 78 */ or r0, r0, r3 +/* 800FB32C 000F828C 80 AD 88 F8 */ lwz r5, lbl_805A74B8@sda21(r13) +/* 800FB330 000F8290 7C C4 23 78 */ or r4, r6, r4 +/* 800FB334 000F8294 90 01 00 38 */ stw r0, 0x38(r1) +/* 800FB338 000F8298 38 60 00 00 */ li r3, 0 +/* 800FB33C 000F829C 90 81 00 3C */ stw r4, 0x3c(r1) +/* 800FB340 000F82A0 38 80 00 01 */ li r4, 1 +/* 800FB344 000F82A4 48 28 EB B1 */ bl __shl2i +/* 800FB348 000F82A8 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800FB34C 000F82AC 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 800FB350 000F82B0 7C 00 1B 78 */ or r0, r0, r3 +/* 800FB354 000F82B4 80 AD 88 FC */ lwz r5, lbl_805A74BC@sda21(r13) +/* 800FB358 000F82B8 7C C4 23 78 */ or r4, r6, r4 +/* 800FB35C 000F82BC 90 01 00 38 */ stw r0, 0x38(r1) +/* 800FB360 000F82C0 38 60 00 00 */ li r3, 0 +/* 800FB364 000F82C4 90 81 00 3C */ stw r4, 0x3c(r1) +/* 800FB368 000F82C8 38 80 00 01 */ li r4, 1 +/* 800FB36C 000F82CC 48 28 EB 89 */ bl __shl2i +/* 800FB370 000F82D0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800FB374 000F82D4 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 800FB378 000F82D8 7C 00 1B 78 */ or r0, r0, r3 +/* 800FB37C 000F82DC 80 AD 89 00 */ lwz r5, lbl_805A74C0@sda21(r13) +/* 800FB380 000F82E0 7C C4 23 78 */ or r4, r6, r4 +/* 800FB384 000F82E4 90 01 00 38 */ stw r0, 0x38(r1) +/* 800FB388 000F82E8 38 60 00 00 */ li r3, 0 +/* 800FB38C 000F82EC 90 81 00 3C */ stw r4, 0x3c(r1) +/* 800FB390 000F82F0 38 80 00 01 */ li r4, 1 +/* 800FB394 000F82F4 48 28 EB 61 */ bl __shl2i +/* 800FB398 000F82F8 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800FB39C 000F82FC 3A 01 00 38 */ addi r16, r1, 0x38 +/* 800FB3A0 000F8300 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 800FB3A4 000F8304 7C 00 1B 78 */ or r0, r0, r3 +/* 800FB3A8 000F8308 7C A3 23 78 */ or r3, r5, r4 +/* 800FB3AC 000F830C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800FB3B0 000F8310 90 61 00 3C */ stw r3, 0x3c(r1) +/* 800FB3B4 000F8314 48 00 00 B4 */ b lbl_800FB468 +lbl_800FB3B8: +/* 800FB3B8 000F8318 38 00 00 00 */ li r0, 0 +/* 800FB3BC 000F831C 80 AD 89 04 */ lwz r5, lbl_805A74C4@sda21(r13) +/* 800FB3C0 000F8320 90 01 00 34 */ stw r0, 0x34(r1) +/* 800FB3C4 000F8324 38 60 00 00 */ li r3, 0 +/* 800FB3C8 000F8328 38 80 00 01 */ li r4, 1 +/* 800FB3CC 000F832C 90 01 00 30 */ stw r0, 0x30(r1) +/* 800FB3D0 000F8330 48 28 EB 25 */ bl __shl2i +/* 800FB3D4 000F8334 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800FB3D8 000F8338 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 800FB3DC 000F833C 7C 00 1B 78 */ or r0, r0, r3 +/* 800FB3E0 000F8340 80 AD 89 08 */ lwz r5, lbl_805A74C8@sda21(r13) +/* 800FB3E4 000F8344 7C C4 23 78 */ or r4, r6, r4 +/* 800FB3E8 000F8348 90 01 00 30 */ stw r0, 0x30(r1) +/* 800FB3EC 000F834C 38 60 00 00 */ li r3, 0 +/* 800FB3F0 000F8350 90 81 00 34 */ stw r4, 0x34(r1) +/* 800FB3F4 000F8354 38 80 00 01 */ li r4, 1 +/* 800FB3F8 000F8358 48 28 EA FD */ bl __shl2i +/* 800FB3FC 000F835C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800FB400 000F8360 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 800FB404 000F8364 7C 00 1B 78 */ or r0, r0, r3 +/* 800FB408 000F8368 80 AD 89 0C */ lwz r5, lbl_805A74CC@sda21(r13) +/* 800FB40C 000F836C 7C C4 23 78 */ or r4, r6, r4 +/* 800FB410 000F8370 90 01 00 30 */ stw r0, 0x30(r1) +/* 800FB414 000F8374 38 60 00 00 */ li r3, 0 +/* 800FB418 000F8378 90 81 00 34 */ stw r4, 0x34(r1) +/* 800FB41C 000F837C 38 80 00 01 */ li r4, 1 +/* 800FB420 000F8380 48 28 EA D5 */ bl __shl2i +/* 800FB424 000F8384 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800FB428 000F8388 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 800FB42C 000F838C 7C 00 1B 78 */ or r0, r0, r3 +/* 800FB430 000F8390 80 AD 89 10 */ lwz r5, lbl_805A74D0@sda21(r13) +/* 800FB434 000F8394 7C C4 23 78 */ or r4, r6, r4 +/* 800FB438 000F8398 90 01 00 30 */ stw r0, 0x30(r1) +/* 800FB43C 000F839C 38 60 00 00 */ li r3, 0 +/* 800FB440 000F83A0 90 81 00 34 */ stw r4, 0x34(r1) +/* 800FB444 000F83A4 38 80 00 01 */ li r4, 1 +/* 800FB448 000F83A8 48 28 EA AD */ bl __shl2i +/* 800FB44C 000F83AC 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800FB450 000F83B0 3A 01 00 30 */ addi r16, r1, 0x30 +/* 800FB454 000F83B4 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800FB458 000F83B8 7C 00 1B 78 */ or r0, r0, r3 +/* 800FB45C 000F83BC 7C A3 23 78 */ or r3, r5, r4 +/* 800FB460 000F83C0 90 01 00 30 */ stw r0, 0x30(r1) +/* 800FB464 000F83C4 90 61 00 34 */ stw r3, 0x34(r1) +lbl_800FB468: +/* 800FB468 000F83C8 A0 19 00 00 */ lhz r0, 0(r25) +/* 800FB46C 000F83CC 7E E4 BB 78 */ mr r4, r23 +/* 800FB470 000F83D0 38 61 01 78 */ addi r3, r1, 0x178 +/* 800FB474 000F83D4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800FB478 000F83D8 48 21 7C C9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800FB47C 000F83DC 38 01 01 FC */ addi r0, r1, 0x1fc +/* 800FB480 000F83E0 7F E3 FB 78 */ mr r3, r31 +/* 800FB484 000F83E4 90 01 00 08 */ stw r0, 8(r1) +/* 800FB488 000F83E8 7E C5 B3 78 */ mr r5, r22 +/* 800FB48C 000F83EC 7F 46 D3 78 */ mr r6, r26 +/* 800FB490 000F83F0 7F 07 C3 78 */ mr r7, r24 +/* 800FB494 000F83F4 92 21 00 0C */ stw r17, 0xc(r1) +/* 800FB498 000F83F8 7E 0A 83 78 */ mr r10, r16 +/* 800FB49C 000F83FC 38 81 00 14 */ addi r4, r1, 0x14 +/* 800FB4A0 000F8400 39 01 01 78 */ addi r8, r1, 0x178 +/* 800FB4A4 000F8404 39 21 02 CC */ addi r9, r1, 0x2cc +/* 800FB4A8 000F8408 4B F5 A3 79 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 800FB4AC 000F840C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 800FB4B0 000F8410 38 80 FF FF */ li r4, -1 +/* 800FB4B4 000F8414 48 00 B1 55 */ bl __dt__16CActorParametersFv +/* 800FB4B8 000F8418 38 61 02 64 */ addi r3, r1, 0x264 +/* 800FB4BC 000F841C 38 80 FF FF */ li r4, -1 +/* 800FB4C0 000F8420 48 00 B1 49 */ bl __dt__16CActorParametersFv +/* 800FB4C4 000F8424 38 61 02 CC */ addi r3, r1, 0x2cc +/* 800FB4C8 000F8428 38 80 FF FF */ li r4, -1 +/* 800FB4CC 000F842C 48 01 B5 81 */ bl __dt__10CModelDataFv +/* 800FB4D0 000F8430 3C 60 80 3E */ lis r3, lbl_803DFD08@ha +/* 800FB4D4 000F8434 38 00 00 00 */ li r0, 0 +/* 800FB4D8 000F8438 38 63 FD 08 */ addi r3, r3, lbl_803DFD08@l +/* 800FB4DC 000F843C C0 42 93 4C */ lfs f2, lbl_805AB06C@sda21(r2) +/* 800FB4E0 000F8440 90 7F 00 00 */ stw r3, 0(r31) +/* 800FB4E4 000F8444 38 7F 01 4C */ addi r3, r31, 0x14c +/* 800FB4E8 000F8448 38 81 00 4C */ addi r4, r1, 0x4c +/* 800FB4EC 000F844C 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800FB4F0 000F8450 90 1F 00 E8 */ stw r0, 0xe8(r31) +/* 800FB4F4 000F8454 C0 1B 00 08 */ lfs f0, 8(r27) +/* 800FB4F8 000F8458 C0 3B 00 04 */ lfs f1, 4(r27) +/* 800FB4FC 000F845C EC A2 00 32 */ fmuls f5, f2, f0 +/* 800FB500 000F8460 C0 1B 00 00 */ lfs f0, 0(r27) +/* 800FB504 000F8464 EC 82 00 72 */ fmuls f4, f2, f1 +/* 800FB508 000F8468 EC 22 00 32 */ fmuls f1, f2, f0 +/* 800FB50C 000F846C FC 60 28 50 */ fneg f3, f5 +/* 800FB510 000F8470 D0 A1 00 48 */ stfs f5, 0x48(r1) +/* 800FB514 000F8474 FC 40 20 50 */ fneg f2, f4 +/* 800FB518 000F8478 FC 00 08 50 */ fneg f0, f1 +/* 800FB51C 000F847C D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800FB520 000F8480 D0 81 00 44 */ stfs f4, 0x44(r1) +/* 800FB524 000F8484 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800FB528 000F8488 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800FB52C 000F848C D0 61 00 54 */ stfs f3, 0x54(r1) +/* 800FB530 000F8490 48 23 CF D9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800FB534 000F8494 C0 3C 00 00 */ lfs f1, 0(r28) +/* 800FB538 000F8498 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800FB53C 000F849C 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800FB540 000F84A0 C0 02 93 48 */ lfs f0, lbl_805AB068@sda21(r2) +/* 800FB544 000F84A4 D0 3F 01 64 */ stfs f1, 0x164(r31) +/* 800FB548 000F84A8 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 800FB54C 000F84AC C0 3C 00 04 */ lfs f1, 4(r28) +/* 800FB550 000F84B0 D0 3F 01 68 */ stfs f1, 0x168(r31) +/* 800FB554 000F84B4 C0 3C 00 00 */ lfs f1, 0(r28) +/* 800FB558 000F84B8 D0 3F 01 6C */ stfs f1, 0x16c(r31) +/* 800FB55C 000F84BC C0 3C 00 04 */ lfs f1, 4(r28) +/* 800FB560 000F84C0 D0 3F 01 70 */ stfs f1, 0x170(r31) +/* 800FB564 000F84C4 80 BD 00 00 */ lwz r5, 0(r29) +/* 800FB568 000F84C8 80 1D 00 04 */ lwz r0, 4(r29) +/* 800FB56C 000F84CC 90 BF 01 74 */ stw r5, 0x174(r31) +/* 800FB570 000F84D0 90 1F 01 78 */ stw r0, 0x178(r31) +/* 800FB574 000F84D4 80 BD 00 08 */ lwz r5, 8(r29) +/* 800FB578 000F84D8 80 1D 00 0C */ lwz r0, 0xc(r29) +/* 800FB57C 000F84DC 90 BF 01 7C */ stw r5, 0x17c(r31) +/* 800FB580 000F84E0 90 1F 01 80 */ stw r0, 0x180(r31) +/* 800FB584 000F84E4 80 BD 00 10 */ lwz r5, 0x10(r29) +/* 800FB588 000F84E8 80 1D 00 14 */ lwz r0, 0x14(r29) +/* 800FB58C 000F84EC 90 BF 01 84 */ stw r5, 0x184(r31) +/* 800FB590 000F84F0 90 1F 01 88 */ stw r0, 0x188(r31) +/* 800FB594 000F84F4 80 BD 00 18 */ lwz r5, 0x18(r29) +/* 800FB598 000F84F8 80 1D 00 1C */ lwz r0, 0x1c(r29) +/* 800FB59C 000F84FC 90 BF 01 8C */ stw r5, 0x18c(r31) +/* 800FB5A0 000F8500 90 1F 01 90 */ stw r0, 0x190(r31) +/* 800FB5A4 000F8504 80 BD 00 20 */ lwz r5, 0x20(r29) +/* 800FB5A8 000F8508 80 1D 00 24 */ lwz r0, 0x24(r29) +/* 800FB5AC 000F850C 90 BF 01 94 */ stw r5, 0x194(r31) +/* 800FB5B0 000F8510 90 1F 01 98 */ stw r0, 0x198(r31) +/* 800FB5B4 000F8514 80 BD 00 28 */ lwz r5, 0x28(r29) +/* 800FB5B8 000F8518 80 1D 00 2C */ lwz r0, 0x2c(r29) +/* 800FB5BC 000F851C 90 BF 01 9C */ stw r5, 0x19c(r31) +/* 800FB5C0 000F8520 90 1F 01 A0 */ stw r0, 0x1a0(r31) +/* 800FB5C4 000F8524 80 BD 00 30 */ lwz r5, 0x30(r29) +/* 800FB5C8 000F8528 80 1D 00 34 */ lwz r0, 0x34(r29) +/* 800FB5CC 000F852C 90 BF 01 A4 */ stw r5, 0x1a4(r31) +/* 800FB5D0 000F8530 90 1F 01 A8 */ stw r0, 0x1a8(r31) +/* 800FB5D4 000F8534 80 1D 00 38 */ lwz r0, 0x38(r29) +/* 800FB5D8 000F8538 90 1F 01 AC */ stw r0, 0x1ac(r31) +/* 800FB5DC 000F853C 80 BD 00 3C */ lwz r5, 0x3c(r29) +/* 800FB5E0 000F8540 80 1D 00 40 */ lwz r0, 0x40(r29) +/* 800FB5E4 000F8544 90 BF 01 B0 */ stw r5, 0x1b0(r31) +/* 800FB5E8 000F8548 90 1F 01 B4 */ stw r0, 0x1b4(r31) +/* 800FB5EC 000F854C 80 BD 00 44 */ lwz r5, 0x44(r29) +/* 800FB5F0 000F8550 80 1D 00 48 */ lwz r0, 0x48(r29) +/* 800FB5F4 000F8554 90 BF 01 B8 */ stw r5, 0x1b8(r31) +/* 800FB5F8 000F8558 90 1F 01 BC */ stw r0, 0x1bc(r31) +/* 800FB5FC 000F855C 80 BD 00 4C */ lwz r5, 0x4c(r29) +/* 800FB600 000F8560 80 1D 00 50 */ lwz r0, 0x50(r29) +/* 800FB604 000F8564 90 BF 01 C0 */ stw r5, 0x1c0(r31) +/* 800FB608 000F8568 90 1F 01 C4 */ stw r0, 0x1c4(r31) +/* 800FB60C 000F856C 80 BD 00 54 */ lwz r5, 0x54(r29) +/* 800FB610 000F8570 80 1D 00 58 */ lwz r0, 0x58(r29) +/* 800FB614 000F8574 90 BF 01 C8 */ stw r5, 0x1c8(r31) +/* 800FB618 000F8578 90 1F 01 CC */ stw r0, 0x1cc(r31) +/* 800FB61C 000F857C 80 1D 00 5C */ lwz r0, 0x5c(r29) +/* 800FB620 000F8580 90 1F 01 D0 */ stw r0, 0x1d0(r31) +/* 800FB624 000F8584 80 1D 00 60 */ lwz r0, 0x60(r29) +/* 800FB628 000F8588 90 1F 01 D4 */ stw r0, 0x1d4(r31) +/* 800FB62C 000F858C 80 1D 00 64 */ lwz r0, 0x64(r29) +/* 800FB630 000F8590 90 1F 01 D8 */ stw r0, 0x1d8(r31) +/* 800FB634 000F8594 92 BF 01 DC */ stw r21, 0x1dc(r31) +/* 800FB638 000F8598 D0 1F 01 E0 */ stfs f0, 0x1e0(r31) +/* 800FB63C 000F859C 48 21 75 39 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800FB640 000F85A0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800FB644 000F85A4 38 7F 02 14 */ addi r3, r31, 0x214 +/* 800FB648 000F85A8 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800FB64C 000F85AC 48 21 75 29 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800FB650 000F85B0 C0 42 93 38 */ lfs f2, lbl_805AB058@sda21(r2) +/* 800FB654 000F85B4 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800FB658 000F85B8 C0 22 93 50 */ lfs f1, lbl_805AB070@sda21(r2) +/* 800FB65C 000F85BC D0 5F 02 44 */ stfs f2, 0x244(r31) +/* 800FB660 000F85C0 D0 5F 02 48 */ stfs f2, 0x248(r31) +/* 800FB664 000F85C4 D0 5F 02 4C */ stfs f2, 0x24c(r31) +/* 800FB668 000F85C8 D0 5F 02 50 */ stfs f2, 0x250(r31) +/* 800FB66C 000F85CC 48 02 17 8D */ bl __ct__14CFluidUVMotionFff +/* 800FB670 000F85D0 C0 22 93 48 */ lfs f1, lbl_805AB068@sda21(r2) +/* 800FB674 000F85D4 7E 84 A3 78 */ mr r4, r20 +/* 800FB678 000F85D8 7E 65 9B 78 */ mr r5, r19 +/* 800FB67C 000F85DC 7E 46 93 78 */ mr r6, r18 +/* 800FB680 000F85E0 FC 40 08 90 */ fmr f2, f1 +/* 800FB684 000F85E4 38 7F 02 54 */ addi r3, r31, 0x254 +/* 800FB688 000F85E8 39 21 01 A8 */ addi r9, r1, 0x1a8 +/* 800FB68C 000F85EC 38 E0 00 02 */ li r7, 2 +/* 800FB690 000F85F0 39 00 00 00 */ li r8, 0 +/* 800FB694 000F85F4 48 0A 25 CD */ bl __ct__15CFluidPlaneDoorFUiUiUifUiQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion +/* 800FB698 000F85F8 80 A1 01 A8 */ lwz r5, 0x1a8(r1) +/* 800FB69C 000F85FC 38 60 00 00 */ li r3, 0 +/* 800FB6A0 000F8600 2C 05 00 00 */ cmpwi r5, 0 +/* 800FB6A4 000F8604 40 81 00 40 */ ble lbl_800FB6E4 +/* 800FB6A8 000F8608 2C 05 00 08 */ cmpwi r5, 8 +/* 800FB6AC 000F860C 38 85 FF F8 */ addi r4, r5, -8 +/* 800FB6B0 000F8610 40 81 00 20 */ ble lbl_800FB6D0 +/* 800FB6B4 000F8614 38 04 00 07 */ addi r0, r4, 7 +/* 800FB6B8 000F8618 54 00 E8 FE */ srwi r0, r0, 3 +/* 800FB6BC 000F861C 7C 09 03 A6 */ mtctr r0 +/* 800FB6C0 000F8620 2C 04 00 00 */ cmpwi r4, 0 +/* 800FB6C4 000F8624 40 81 00 0C */ ble lbl_800FB6D0 +lbl_800FB6C8: +/* 800FB6C8 000F8628 38 63 00 08 */ addi r3, r3, 8 +/* 800FB6CC 000F862C 42 00 FF FC */ bdnz lbl_800FB6C8 +lbl_800FB6D0: +/* 800FB6D0 000F8630 7C 03 28 50 */ subf r0, r3, r5 +/* 800FB6D4 000F8634 7C 09 03 A6 */ mtctr r0 +/* 800FB6D8 000F8638 7C 03 28 00 */ cmpw r3, r5 +/* 800FB6DC 000F863C 40 80 00 08 */ bge lbl_800FB6E4 +lbl_800FB6E0: +/* 800FB6E0 000F8640 42 00 00 00 */ bdnz lbl_800FB6E0 +lbl_800FB6E4: +/* 800FB6E4 000F8644 38 80 00 00 */ li r4, 0 +/* 800FB6E8 000F8648 20 1E 00 01 */ subfic r0, r30, 1 +/* 800FB6EC 000F864C 90 81 01 A8 */ stw r4, 0x1a8(r1) +/* 800FB6F0 000F8650 7C 00 00 34 */ cntlzw r0, r0 +/* 800FB6F4 000F8654 54 03 D9 7E */ srwi r3, r0, 5 +/* 800FB6F8 000F8658 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 800FB6FC 000F865C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800FB700 000F8660 98 1F 03 00 */ stb r0, 0x300(r31) +/* 800FB704 000F8664 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 800FB708 000F8668 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800FB70C 000F866C 98 1F 03 00 */ stb r0, 0x300(r31) +/* 800FB710 000F8670 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 800FB714 000F8674 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800FB718 000F8678 98 1F 03 00 */ stb r0, 0x300(r31) +/* 800FB71C 000F867C 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 800FB720 000F8680 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 800FB724 000F8684 98 1F 03 00 */ stb r0, 0x300(r31) +/* 800FB728 000F8688 88 1F 03 00 */ lbz r0, 0x300(r31) +/* 800FB72C 000F868C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800FB730 000F8690 98 1F 03 00 */ stb r0, 0x300(r31) +/* 800FB734 000F8694 80 7F 01 DC */ lwz r3, 0x1dc(r31) +/* 800FB738 000F8698 54 60 07 FF */ clrlwi. r0, r3, 0x1f +/* 800FB73C 000F869C 41 82 00 3C */ beq lbl_800FB778 +/* 800FB740 000F86A0 C0 5F 01 5C */ lfs f2, 0x15c(r31) +/* 800FB744 000F86A4 38 61 01 48 */ addi r3, r1, 0x148 +/* 800FB748 000F86A8 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) +/* 800FB74C 000F86AC 38 81 00 28 */ addi r4, r1, 0x28 +/* 800FB750 000F86B0 C0 02 93 54 */ lfs f0, lbl_805AB074@sda21(r2) +/* 800FB754 000F86B4 D0 3F 02 44 */ stfs f1, 0x244(r31) +/* 800FB758 000F86B8 D0 5F 02 48 */ stfs f2, 0x248(r31) +/* 800FB75C 000F86BC D0 3F 02 4C */ stfs f1, 0x24c(r31) +/* 800FB760 000F86C0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800FB764 000F86C4 48 21 81 DD */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 800FB768 000F86C8 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 800FB76C 000F86CC 38 81 01 48 */ addi r4, r1, 0x148 +/* 800FB770 000F86D0 48 21 73 D1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800FB774 000F86D4 48 00 01 30 */ b lbl_800FB8A4 +lbl_800FB778: +/* 800FB778 000F86D8 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e +/* 800FB77C 000F86DC 41 82 00 3C */ beq lbl_800FB7B8 +/* 800FB780 000F86E0 C0 5F 01 50 */ lfs f2, 0x150(r31) +/* 800FB784 000F86E4 38 61 01 18 */ addi r3, r1, 0x118 +/* 800FB788 000F86E8 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) +/* 800FB78C 000F86EC 38 81 00 24 */ addi r4, r1, 0x24 +/* 800FB790 000F86F0 C0 02 93 58 */ lfs f0, lbl_805AB078@sda21(r2) +/* 800FB794 000F86F4 D0 3F 02 44 */ stfs f1, 0x244(r31) +/* 800FB798 000F86F8 D0 5F 02 48 */ stfs f2, 0x248(r31) +/* 800FB79C 000F86FC D0 3F 02 4C */ stfs f1, 0x24c(r31) +/* 800FB7A0 000F8700 D0 01 00 24 */ stfs f0, 0x24(r1) +/* 800FB7A4 000F8704 48 21 81 9D */ bl RotateX__12CTransform4fFRC9CRelAngle +/* 800FB7A8 000F8708 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 800FB7AC 000F870C 38 81 01 18 */ addi r4, r1, 0x118 +/* 800FB7B0 000F8710 48 21 73 91 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800FB7B4 000F8714 48 00 00 F0 */ b lbl_800FB8A4 +lbl_800FB7B8: +/* 800FB7B8 000F8718 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d +/* 800FB7BC 000F871C 41 82 00 3C */ beq lbl_800FB7F8 +/* 800FB7C0 000F8720 C0 1F 01 4C */ lfs f0, 0x14c(r31) +/* 800FB7C4 000F8724 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800FB7C8 000F8728 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) +/* 800FB7CC 000F872C 38 81 00 20 */ addi r4, r1, 0x20 +/* 800FB7D0 000F8730 D0 1F 02 44 */ stfs f0, 0x244(r31) +/* 800FB7D4 000F8734 C0 02 93 54 */ lfs f0, lbl_805AB074@sda21(r2) +/* 800FB7D8 000F8738 D0 3F 02 48 */ stfs f1, 0x248(r31) +/* 800FB7DC 000F873C D0 3F 02 4C */ stfs f1, 0x24c(r31) +/* 800FB7E0 000F8740 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800FB7E4 000F8744 48 21 80 C5 */ bl RotateY__12CTransform4fFRC9CRelAngle +/* 800FB7E8 000F8748 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 800FB7EC 000F874C 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 800FB7F0 000F8750 48 21 73 51 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800FB7F4 000F8754 48 00 00 B0 */ b lbl_800FB8A4 +lbl_800FB7F8: +/* 800FB7F8 000F8758 54 60 07 39 */ rlwinm. r0, r3, 0, 0x1c, 0x1c +/* 800FB7FC 000F875C 41 82 00 3C */ beq lbl_800FB838 +/* 800FB800 000F8760 C0 1F 01 58 */ lfs f0, 0x158(r31) +/* 800FB804 000F8764 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800FB808 000F8768 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) +/* 800FB80C 000F876C 38 81 00 1C */ addi r4, r1, 0x1c +/* 800FB810 000F8770 D0 1F 02 44 */ stfs f0, 0x244(r31) +/* 800FB814 000F8774 C0 02 93 58 */ lfs f0, lbl_805AB078@sda21(r2) +/* 800FB818 000F8778 D0 3F 02 48 */ stfs f1, 0x248(r31) +/* 800FB81C 000F877C D0 3F 02 4C */ stfs f1, 0x24c(r31) +/* 800FB820 000F8780 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800FB824 000F8784 48 21 80 85 */ bl RotateY__12CTransform4fFRC9CRelAngle +/* 800FB828 000F8788 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 800FB82C 000F878C 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800FB830 000F8790 48 21 73 11 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800FB834 000F8794 48 00 00 70 */ b lbl_800FB8A4 +lbl_800FB838: +/* 800FB838 000F8798 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b +/* 800FB83C 000F879C 41 82 00 2C */ beq lbl_800FB868 +/* 800FB840 000F87A0 C0 3F 01 60 */ lfs f1, 0x160(r31) +/* 800FB844 000F87A4 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800FB848 000F87A8 C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) +/* 800FB84C 000F87AC 38 83 66 70 */ addi r4, r3, skIdentity4f@l +/* 800FB850 000F87B0 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 800FB854 000F87B4 D0 1F 02 44 */ stfs f0, 0x244(r31) +/* 800FB858 000F87B8 D0 1F 02 48 */ stfs f0, 0x248(r31) +/* 800FB85C 000F87BC D0 3F 02 4C */ stfs f1, 0x24c(r31) +/* 800FB860 000F87C0 48 21 72 E1 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800FB864 000F87C4 48 00 00 40 */ b lbl_800FB8A4 +lbl_800FB868: +/* 800FB868 000F87C8 54 60 06 B5 */ rlwinm. r0, r3, 0, 0x1a, 0x1a +/* 800FB86C 000F87CC 41 82 00 38 */ beq lbl_800FB8A4 +/* 800FB870 000F87D0 C0 5F 01 54 */ lfs f2, 0x154(r31) +/* 800FB874 000F87D4 38 61 00 88 */ addi r3, r1, 0x88 +/* 800FB878 000F87D8 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) +/* 800FB87C 000F87DC 38 81 00 18 */ addi r4, r1, 0x18 +/* 800FB880 000F87E0 C0 02 93 5C */ lfs f0, lbl_805AB07C@sda21(r2) +/* 800FB884 000F87E4 D0 3F 02 44 */ stfs f1, 0x244(r31) +/* 800FB888 000F87E8 D0 3F 02 48 */ stfs f1, 0x248(r31) +/* 800FB88C 000F87EC D0 5F 02 4C */ stfs f2, 0x24c(r31) +/* 800FB890 000F87F0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800FB894 000F87F4 48 21 80 15 */ bl RotateY__12CTransform4fFRC9CRelAngle +/* 800FB898 000F87F8 38 7F 01 E4 */ addi r3, r31, 0x1e4 +/* 800FB89C 000F87FC 38 81 00 88 */ addi r4, r1, 0x88 +/* 800FB8A0 000F8800 48 21 72 A1 */ bl __as__12CTransform4fFRC12CTransform4f +lbl_800FB8A4: +/* 800FB8A4 000F8804 38 61 00 58 */ addi r3, r1, 0x58 +/* 800FB8A8 000F8808 38 9F 01 E4 */ addi r4, r31, 0x1e4 +/* 800FB8AC 000F880C 48 21 73 F1 */ bl GetQuickInverse__12CTransform4fCFv +/* 800FB8B0 000F8810 38 7F 02 14 */ addi r3, r31, 0x214 +/* 800FB8B4 000F8814 38 81 00 58 */ addi r4, r1, 0x58 +/* 800FB8B8 000F8818 48 21 72 89 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800FB8BC 000F881C 7F E3 FB 78 */ mr r3, r31 +/* 800FB8C0 000F8820 BA 01 03 20 */ lmw r16, 0x320(r1) +/* 800FB8C4 000F8824 80 01 03 64 */ lwz r0, 0x364(r1) +/* 800FB8C8 000F8828 7C 08 03 A6 */ mtlr r0 +/* 800FB8CC 000F882C 38 21 03 60 */ addi r1, r1, 0x360 +/* 800FB8D0 000F8830 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptDebris.s b/asm/Kyoto_CWD/ScriptObjects/CScriptDebris.s new file mode 100644 index 00000000..49b4123f --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptDebris.s @@ -0,0 +1,2534 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global CollidedWith__13CScriptDebrisFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager +CollidedWith__13CScriptDebrisFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: +/* 800FB8D4 000F8834 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FB8D8 000F8838 7C 08 02 A6 */ mflr r0 +/* 800FB8DC 000F883C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FB8E0 000F8840 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FB8E4 000F8844 7C BF 2B 78 */ mr r31, r5 +/* 800FB8E8 000F8848 93 C1 00 08 */ stw r30, 8(r1) +/* 800FB8EC 000F884C 7C 7E 1B 78 */ mr r30, r3 +/* 800FB8F0 000F8850 80 05 00 00 */ lwz r0, 0(r5) +/* 800FB8F4 000F8854 2C 00 00 00 */ cmpwi r0, 0 +/* 800FB8F8 000F8858 41 82 00 3C */ beq lbl_800FB934 +/* 800FB8FC 000F885C 88 1E 02 82 */ lbz r0, 0x282(r30) +/* 800FB900 000F8860 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FB904 000F8864 41 82 00 18 */ beq lbl_800FB91C +/* 800FB908 000F8868 C0 1E 02 70 */ lfs f0, 0x270(r30) +/* 800FB90C 000F886C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800FB910 000F8870 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800FB914 000F8874 D0 1E 02 74 */ stfs f0, 0x274(r30) +/* 800FB918 000F8878 48 01 F3 89 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f +lbl_800FB91C: +/* 800FB91C 000F887C C0 1F 00 4C */ lfs f0, 0x4c(r31) +/* 800FB920 000F8880 D0 1E 02 C8 */ stfs f0, 0x2c8(r30) +/* 800FB924 000F8884 C0 1F 00 50 */ lfs f0, 0x50(r31) +/* 800FB928 000F8888 D0 1E 02 CC */ stfs f0, 0x2cc(r30) +/* 800FB92C 000F888C C0 1F 00 54 */ lfs f0, 0x54(r31) +/* 800FB930 000F8890 D0 1E 02 D0 */ stfs f0, 0x2d0(r30) +lbl_800FB934: +/* 800FB934 000F8894 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FB938 000F8898 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FB93C 000F889C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800FB940 000F88A0 7C 08 03 A6 */ mtlr r0 +/* 800FB944 000F88A4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FB948 000F88A8 4E 80 00 20 */ blr + +.global Accept__13CScriptDebrisFR8IVisitor +Accept__13CScriptDebrisFR8IVisitor: +/* 800FB94C 000F88AC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FB950 000F88B0 7C 08 02 A6 */ mflr r0 +/* 800FB954 000F88B4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FB958 000F88B8 7C 60 1B 78 */ mr r0, r3 +/* 800FB95C 000F88BC 7C 83 23 78 */ mr r3, r4 +/* 800FB960 000F88C0 81 84 00 00 */ lwz r12, 0(r4) +/* 800FB964 000F88C4 7C 04 03 78 */ mr r4, r0 +/* 800FB968 000F88C8 81 8C 00 50 */ lwz r12, 0x50(r12) +/* 800FB96C 000F88CC 7D 89 03 A6 */ mtctr r12 +/* 800FB970 000F88D0 4E 80 04 21 */ bctrl +/* 800FB974 000F88D4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FB978 000F88D8 7C 08 03 A6 */ mtlr r0 +/* 800FB97C 000F88DC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FB980 000F88E0 4E 80 00 20 */ blr + +.global AddToRenderer__13CScriptDebrisCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__13CScriptDebrisCFRC14CFrustumPlanesRC13CStateManager: +/* 800FB984 000F88E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800FB988 000F88E8 7C 08 02 A6 */ mflr r0 +/* 800FB98C 000F88EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800FB990 000F88F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800FB994 000F88F4 7C BF 2B 78 */ mr r31, r5 +/* 800FB998 000F88F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800FB99C 000F88FC 7C 9E 23 78 */ mr r30, r4 +/* 800FB9A0 000F8900 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800FB9A4 000F8904 7C 7D 1B 78 */ mr r29, r3 +/* 800FB9A8 000F8908 80 83 02 D4 */ lwz r4, 0x2d4(r3) +/* 800FB9AC 000F890C 28 04 00 00 */ cmplwi r4, 0 +/* 800FB9B0 000F8910 41 82 00 34 */ beq lbl_800FB9E4 +/* 800FB9B4 000F8914 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FB9B8 000F8918 C0 1D 02 74 */ lfs f0, 0x274(r29) +/* 800FB9BC 000F891C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FB9C0 000F8920 41 80 00 10 */ blt lbl_800FB9D0 +/* 800FB9C4 000F8924 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FB9C8 000F8928 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800FB9CC 000F892C 41 82 00 18 */ beq lbl_800FB9E4 +lbl_800FB9D0: +/* 800FB9D0 000F8930 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800FB9D4 000F8934 81 83 00 00 */ lwz r12, 0(r3) +/* 800FB9D8 000F8938 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800FB9DC 000F893C 7D 89 03 A6 */ mtctr r12 +/* 800FB9E0 000F8940 4E 80 04 21 */ bctrl +lbl_800FB9E4: +/* 800FB9E4 000F8944 80 9D 02 D8 */ lwz r4, 0x2d8(r29) +/* 800FB9E8 000F8948 28 04 00 00 */ cmplwi r4, 0 +/* 800FB9EC 000F894C 41 82 00 34 */ beq lbl_800FBA20 +/* 800FB9F0 000F8950 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FB9F4 000F8954 C0 1D 02 74 */ lfs f0, 0x274(r29) +/* 800FB9F8 000F8958 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FB9FC 000F895C 41 80 00 10 */ blt lbl_800FBA0C +/* 800FBA00 000F8960 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FBA04 000F8964 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800FBA08 000F8968 41 82 00 18 */ beq lbl_800FBA20 +lbl_800FBA0C: +/* 800FBA0C 000F896C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800FBA10 000F8970 81 83 00 00 */ lwz r12, 0(r3) +/* 800FBA14 000F8974 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800FBA18 000F8978 7D 89 03 A6 */ mtctr r12 +/* 800FBA1C 000F897C 4E 80 04 21 */ bctrl +lbl_800FBA20: +/* 800FBA20 000F8980 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FBA24 000F8984 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800FBA28 000F8988 41 82 00 1C */ beq lbl_800FBA44 +/* 800FBA2C 000F898C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800FBA30 000F8990 80 9D 02 DC */ lwz r4, 0x2dc(r29) +/* 800FBA34 000F8994 81 83 00 00 */ lwz r12, 0(r3) +/* 800FBA38 000F8998 81 8C 00 34 */ lwz r12, 0x34(r12) +/* 800FBA3C 000F899C 7D 89 03 A6 */ mtctr r12 +/* 800FBA40 000F89A0 4E 80 04 21 */ bctrl +lbl_800FBA44: +/* 800FBA44 000F89A4 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 800FBA48 000F89A8 38 60 00 00 */ li r3, 0 +/* 800FBA4C 000F89AC 28 04 00 00 */ cmplwi r4, 0 +/* 800FBA50 000F89B0 41 82 00 20 */ beq lbl_800FBA70 +/* 800FBA54 000F89B4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800FBA58 000F89B8 28 00 00 00 */ cmplwi r0, 0 +/* 800FBA5C 000F89BC 40 82 00 10 */ bne lbl_800FBA6C +/* 800FBA60 000F89C0 88 04 00 28 */ lbz r0, 0x28(r4) +/* 800FBA64 000F89C4 28 00 00 00 */ cmplwi r0, 0 +/* 800FBA68 000F89C8 41 82 00 08 */ beq lbl_800FBA70 +lbl_800FBA6C: +/* 800FBA6C 000F89CC 38 60 00 01 */ li r3, 1 +lbl_800FBA70: +/* 800FBA70 000F89D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FBA74 000F89D4 41 82 00 24 */ beq lbl_800FBA98 +/* 800FBA78 000F89D8 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FBA7C 000F89DC C0 1D 02 74 */ lfs f0, 0x274(r29) +/* 800FBA80 000F89E0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FBA84 000F89E4 40 80 00 14 */ bge lbl_800FBA98 +/* 800FBA88 000F89E8 7F A3 EB 78 */ mr r3, r29 +/* 800FBA8C 000F89EC 7F C4 F3 78 */ mr r4, r30 +/* 800FBA90 000F89F0 7F E5 FB 78 */ mr r5, r31 +/* 800FBA94 000F89F4 4B F5 90 A5 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager +lbl_800FBA98: +/* 800FBA98 000F89F8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800FBA9C 000F89FC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800FBAA0 000F8A00 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800FBAA4 000F8A04 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800FBAA8 000F8A08 7C 08 03 A6 */ mtlr r0 +/* 800FBAAC 000F8A0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800FBAB0 000F8A10 4E 80 00 20 */ blr + +.global Render__13CScriptDebrisCFRC13CStateManager +Render__13CScriptDebrisCFRC13CStateManager: +/* 800FBAB4 000F8A14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FBAB8 000F8A18 7C 08 02 A6 */ mflr r0 +/* 800FBABC 000F8A1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FBAC0 000F8A20 48 01 EA 29 */ bl Render__13CPhysicsActorCFRC13CStateManager +/* 800FBAC4 000F8A24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FBAC8 000F8A28 7C 08 03 A6 */ mtlr r0 +/* 800FBACC 000F8A2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FBAD0 000F8A30 4E 80 00 20 */ blr + +.global PreRender__13CScriptDebrisFR13CStateManagerRC14CFrustumPlanes +PreRender__13CScriptDebrisFR13CStateManagerRC14CFrustumPlanes: +/* 800FBAD4 000F8A34 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800FBAD8 000F8A38 7C 08 02 A6 */ mflr r0 +/* 800FBADC 000F8A3C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800FBAE0 000F8A40 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 800FBAE4 000F8A44 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 800FBAE8 000F8A48 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800FBAEC 000F8A4C 7C 7F 1B 78 */ mr r31, r3 +/* 800FBAF0 000F8A50 4B F5 91 F1 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes +/* 800FBAF4 000F8A54 C0 7F 02 70 */ lfs f3, 0x270(r31) +/* 800FBAF8 000F8A58 C0 5F 02 74 */ lfs f2, 0x274(r31) +/* 800FBAFC 000F8A5C C0 1F 02 A4 */ lfs f0, 0x2a4(r31) +/* 800FBB00 000F8A60 EC 23 10 24 */ fdivs f1, f3, f2 +/* 800FBB04 000F8A64 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FBB08 000F8A68 40 80 00 24 */ bge lbl_800FBB2C +/* 800FBB0C 000F8A6C C3 E2 93 64 */ lfs f31, lbl_805AB084@sda21(r2) +/* 800FBB10 000F8A70 FC 00 F8 40 */ fcmpo cr0, f0, f31 +/* 800FBB14 000F8A74 40 81 00 40 */ ble lbl_800FBB54 +/* 800FBB18 000F8A78 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800FBB1C 000F8A7C C0 22 93 60 */ lfs f1, lbl_805AB080@sda21(r2) +/* 800FBB20 000F8A80 EC 03 00 24 */ fdivs f0, f3, f0 +/* 800FBB24 000F8A84 EF E1 00 28 */ fsubs f31, f1, f0 +/* 800FBB28 000F8A88 48 00 00 2C */ b lbl_800FBB54 +lbl_800FBB2C: +/* 800FBB2C 000F8A8C C0 9F 02 A8 */ lfs f4, 0x2a8(r31) +/* 800FBB30 000F8A90 FC 01 20 40 */ fcmpo cr0, f1, f4 +/* 800FBB34 000F8A94 40 81 00 1C */ ble lbl_800FBB50 +/* 800FBB38 000F8A98 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FBB3C 000F8A9C EC 22 19 3C */ fnmsubs f1, f2, f4, f3 +/* 800FBB40 000F8AA0 EC 00 20 28 */ fsubs f0, f0, f4 +/* 800FBB44 000F8AA4 EC 02 00 32 */ fmuls f0, f2, f0 +/* 800FBB48 000F8AA8 EF E1 00 24 */ fdivs f31, f1, f0 +/* 800FBB4C 000F8AAC 48 00 00 08 */ b lbl_800FBB54 +lbl_800FBB50: +/* 800FBB50 000F8AB0 C3 E2 93 64 */ lfs f31, lbl_805AB084@sda21(r2) +lbl_800FBB54: +/* 800FBB54 000F8AB4 48 24 E4 59 */ bl White__6CColorFv +/* 800FBB58 000F8AB8 FC 20 F8 90 */ fmr f1, f31 +/* 800FBB5C 000F8ABC 7C 64 1B 78 */ mr r4, r3 +/* 800FBB60 000F8AC0 38 61 00 08 */ addi r3, r1, 8 +/* 800FBB64 000F8AC4 38 BF 02 68 */ addi r5, r31, 0x268 +/* 800FBB68 000F8AC8 48 26 77 45 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800FBB6C 000F8ACC 80 C1 00 08 */ lwz r6, 8(r1) +/* 800FBB70 000F8AD0 38 A0 00 05 */ li r5, 5 +/* 800FBB74 000F8AD4 38 80 00 00 */ li r4, 0 +/* 800FBB78 000F8AD8 38 60 00 03 */ li r3, 3 +/* 800FBB7C 000F8ADC 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800FBB80 000F8AE0 88 01 00 0F */ lbz r0, 0xf(r1) +/* 800FBB84 000F8AE4 98 BF 00 B4 */ stb r5, 0xb4(r31) +/* 800FBB88 000F8AE8 20 00 00 FF */ subfic r0, r0, 0xff +/* 800FBB8C 000F8AEC 7C 00 00 34 */ cntlzw r0, r0 +/* 800FBB90 000F8AF0 98 9F 00 B5 */ stb r4, 0xb5(r31) +/* 800FBB94 000F8AF4 54 00 E5 FC */ rlwinm r0, r0, 0x1c, 0x17, 0x1e +/* 800FBB98 000F8AF8 60 00 00 01 */ ori r0, r0, 1 +/* 800FBB9C 000F8AFC 98 A1 00 10 */ stb r5, 0x10(r1) +/* 800FBBA0 000F8B00 50 60 00 3A */ rlwimi r0, r3, 0, 0, 0x1d +/* 800FBBA4 000F8B04 B0 1F 00 B6 */ sth r0, 0xb6(r31) +/* 800FBBA8 000F8B08 98 81 00 11 */ stb r4, 0x11(r1) +/* 800FBBAC 000F8B0C B0 61 00 12 */ sth r3, 0x12(r1) +/* 800FBBB0 000F8B10 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800FBBB4 000F8B14 90 DF 00 B8 */ stw r6, 0xb8(r31) +/* 800FBBB8 000F8B18 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 800FBBBC 000F8B1C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800FBBC0 000F8B20 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 800FBBC4 000F8B24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800FBBC8 000F8B28 7C 08 03 A6 */ mtlr r0 +/* 800FBBCC 000F8B2C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800FBBD0 000F8B30 4E 80 00 20 */ blr + +.global AcceptScriptMsg__13CScriptDebrisF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__13CScriptDebrisF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800FBBD4 000F8B34 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800FBBD8 000F8B38 7C 08 02 A6 */ mflr r0 +/* 800FBBDC 000F8B3C 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800FBBE0 000F8B40 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 800FBBE4 000F8B44 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 800FBBE8 000F8B48 DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 800FBBEC 000F8B4C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 800FBBF0 000F8B50 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 800FBBF4 000F8B54 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 800FBBF8 000F8B58 93 E1 00 AC */ stw r31, 0xac(r1) +/* 800FBBFC 000F8B5C 93 C1 00 A8 */ stw r30, 0xa8(r1) +/* 800FBC00 000F8B60 93 A1 00 A4 */ stw r29, 0xa4(r1) +/* 800FBC04 000F8B64 93 81 00 A0 */ stw r28, 0xa0(r1) +/* 800FBC08 000F8B68 7C 9D 23 78 */ mr r29, r4 +/* 800FBC0C 000F8B6C 7C 7C 1B 78 */ mr r28, r3 +/* 800FBC10 000F8B70 2C 1D 00 17 */ cmpwi r29, 0x17 +/* 800FBC14 000F8B74 7C BE 2B 78 */ mr r30, r5 +/* 800FBC18 000F8B78 7C DF 33 78 */ mr r31, r6 +/* 800FBC1C 000F8B7C 41 82 03 98 */ beq lbl_800FBFB4 +/* 800FBC20 000F8B80 40 80 04 08 */ bge lbl_800FC028 +/* 800FBC24 000F8B84 2C 1D 00 01 */ cmpwi r29, 1 +/* 800FBC28 000F8B88 41 82 00 08 */ beq lbl_800FBC30 +/* 800FBC2C 000F8B8C 48 00 03 FC */ b lbl_800FC028 +lbl_800FBC30: +/* 800FBC30 000F8B90 88 1C 02 81 */ lbz r0, 0x281(r28) +/* 800FBC34 000F8B94 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800FBC38 000F8B98 40 82 02 B8 */ bne lbl_800FBEF0 +/* 800FBC3C 000F8B9C C3 FC 00 E8 */ lfs f31, 0xe8(r28) +/* 800FBC40 000F8BA0 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FBC44 000F8BA4 48 21 68 DD */ bl Next__9CRandom16Fv +/* 800FBC48 000F8BA8 3C 80 80 01 */ lis r4, 0x80010003@ha +/* 800FBC4C 000F8BAC 38 00 7F FF */ li r0, 0x7fff +/* 800FBC50 000F8BB0 38 84 00 03 */ addi r4, r4, 0x80010003@l +/* 800FBC54 000F8BB4 7C 84 18 96 */ mulhw r4, r4, r3 +/* 800FBC58 000F8BB8 7C 84 1A 14 */ add r4, r4, r3 +/* 800FBC5C 000F8BBC 7C 84 76 70 */ srawi r4, r4, 0xe +/* 800FBC60 000F8BC0 54 85 0F FE */ srwi r5, r4, 0x1f +/* 800FBC64 000F8BC4 7C 84 2A 14 */ add r4, r4, r5 +/* 800FBC68 000F8BC8 7C 04 01 D6 */ mullw r0, r4, r0 +/* 800FBC6C 000F8BCC 7C 00 18 50 */ subf r0, r0, r3 +/* 800FBC70 000F8BD0 B0 01 00 12 */ sth r0, 0x12(r1) +/* 800FBC74 000F8BD4 E0 61 D0 12 */ psq_l f3, 18(r1), 1, qr5 +/* 800FBC78 000F8BD8 C0 42 93 68 */ lfs f2, lbl_805AB088@sda21(r2) +/* 800FBC7C 000F8BDC C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FBC80 000F8BE0 C0 3C 02 60 */ lfs f1, 0x260(r28) +/* 800FBC84 000F8BE4 EC 62 00 F8 */ fmsubs f3, f2, f3, f0 +/* 800FBC88 000F8BE8 C0 1C 02 6C */ lfs f0, 0x26c(r28) +/* 800FBC8C 000F8BEC EC 5F 00 72 */ fmuls f2, f31, f1 +/* 800FBC90 000F8BF0 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FBC94 000F8BF4 FC 20 1A 10 */ fabs f1, f3 +/* 800FBC98 000F8BF8 FC 20 08 18 */ frsp f1, f1 +/* 800FBC9C 000F8BFC EF A2 00 7A */ fmadds f29, f2, f1, f0 +/* 800FBCA0 000F8C00 48 21 68 81 */ bl Next__9CRandom16Fv +/* 800FBCA4 000F8C04 3C 80 80 01 */ lis r4, 0x80010003@ha +/* 800FBCA8 000F8C08 38 00 7F FF */ li r0, 0x7fff +/* 800FBCAC 000F8C0C 38 84 00 03 */ addi r4, r4, 0x80010003@l +/* 800FBCB0 000F8C10 7C 84 18 96 */ mulhw r4, r4, r3 +/* 800FBCB4 000F8C14 7C 84 1A 14 */ add r4, r4, r3 +/* 800FBCB8 000F8C18 7C 84 76 70 */ srawi r4, r4, 0xe +/* 800FBCBC 000F8C1C 54 85 0F FE */ srwi r5, r4, 0x1f +/* 800FBCC0 000F8C20 7C 84 2A 14 */ add r4, r4, r5 +/* 800FBCC4 000F8C24 7C 04 01 D6 */ mullw r0, r4, r0 +/* 800FBCC8 000F8C28 7C 00 18 50 */ subf r0, r0, r3 +/* 800FBCCC 000F8C2C B0 01 00 10 */ sth r0, 0x10(r1) +/* 800FBCD0 000F8C30 E0 61 D0 10 */ psq_l f3, 16(r1), 1, qr5 +/* 800FBCD4 000F8C34 C0 5C 02 5C */ lfs f2, 0x25c(r28) +/* 800FBCD8 000F8C38 C0 22 93 68 */ lfs f1, lbl_805AB088@sda21(r2) +/* 800FBCDC 000F8C3C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FBCE0 000F8C40 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 800FBCE4 000F8C44 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FBCE8 000F8C48 EC 01 00 F8 */ fmsubs f0, f1, f3, f0 +/* 800FBCEC 000F8C4C EF C2 00 32 */ fmuls f30, f2, f0 +/* 800FBCF0 000F8C50 48 21 68 31 */ bl Next__9CRandom16Fv +/* 800FBCF4 000F8C54 3C 80 80 01 */ lis r4, 0x80010003@ha +/* 800FBCF8 000F8C58 38 00 7F FF */ li r0, 0x7fff +/* 800FBCFC 000F8C5C 38 84 00 03 */ addi r4, r4, 0x80010003@l +/* 800FBD00 000F8C60 7C 84 18 96 */ mulhw r4, r4, r3 +/* 800FBD04 000F8C64 7C 84 1A 14 */ add r4, r4, r3 +/* 800FBD08 000F8C68 7C 84 76 70 */ srawi r4, r4, 0xe +/* 800FBD0C 000F8C6C 54 85 0F FE */ srwi r5, r4, 0x1f +/* 800FBD10 000F8C70 7C 84 2A 14 */ add r4, r4, r5 +/* 800FBD14 000F8C74 7C 04 01 D6 */ mullw r0, r4, r0 +/* 800FBD18 000F8C78 7C 00 18 50 */ subf r0, r0, r3 +/* 800FBD1C 000F8C7C B0 01 00 0E */ sth r0, 0xe(r1) +/* 800FBD20 000F8C80 E0 61 D0 0E */ psq_l f3, 14(r1), 1, qr5 +/* 800FBD24 000F8C84 C0 5C 02 58 */ lfs f2, 0x258(r28) +/* 800FBD28 000F8C88 C0 22 93 68 */ lfs f1, lbl_805AB088@sda21(r2) +/* 800FBD2C 000F8C8C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FBD30 000F8C90 EC 5F 00 B2 */ fmuls f2, f31, f2 +/* 800FBD34 000F8C94 C0 9C 00 4C */ lfs f4, 0x4c(r28) +/* 800FBD38 000F8C98 EC 01 00 F8 */ fmsubs f0, f1, f3, f0 +/* 800FBD3C 000F8C9C C0 7C 00 5C */ lfs f3, 0x5c(r28) +/* 800FBD40 000F8CA0 C0 3C 00 3C */ lfs f1, 0x3c(r28) +/* 800FBD44 000F8CA4 EC 84 F0 2A */ fadds f4, f4, f30 +/* 800FBD48 000F8CA8 EC 63 E8 2A */ fadds f3, f3, f29 +/* 800FBD4C 000F8CAC EC 02 00 32 */ fmuls f0, f2, f0 +/* 800FBD50 000F8CB0 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 800FBD54 000F8CB4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800FBD58 000F8CB8 D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 800FBD5C 000F8CBC D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800FBD60 000F8CC0 4B F1 F7 D5 */ bl Identity__10CAxisAngleFv +/* 800FBD64 000F8CC4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800FBD68 000F8CC8 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800FBD6C 000F8CCC C0 03 00 04 */ lfs f0, 4(r3) +/* 800FBD70 000F8CD0 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800FBD74 000F8CD4 C0 03 00 08 */ lfs f0, 8(r3) +/* 800FBD78 000F8CD8 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800FBD7C 000F8CDC 88 1C 02 81 */ lbz r0, 0x281(r28) +/* 800FBD80 000F8CE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FBD84 000F8CE4 41 82 01 58 */ beq lbl_800FBEDC +/* 800FBD88 000F8CE8 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FBD8C 000F8CEC 48 21 67 95 */ bl Next__9CRandom16Fv +/* 800FBD90 000F8CF0 3C 80 51 EC */ lis r4, 0x51EB851F@ha +/* 800FBD94 000F8CF4 38 04 85 1F */ addi r0, r4, 0x51EB851F@l +/* 800FBD98 000F8CF8 7C 00 18 96 */ mulhw r0, r0, r3 +/* 800FBD9C 000F8CFC 7C 00 2E 70 */ srawi r0, r0, 5 +/* 800FBDA0 000F8D00 54 04 0F FE */ srwi r4, r0, 0x1f +/* 800FBDA4 000F8D04 7C 00 22 14 */ add r0, r0, r4 +/* 800FBDA8 000F8D08 1C 00 00 64 */ mulli r0, r0, 0x64 +/* 800FBDAC 000F8D0C 7C 00 18 50 */ subf r0, r0, r3 +/* 800FBDB0 000F8D10 2C 00 00 32 */ cmpwi r0, 0x32 +/* 800FBDB4 000F8D14 40 80 01 0C */ bge lbl_800FBEC0 +/* 800FBDB8 000F8D18 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FBDBC 000F8D1C 48 21 67 65 */ bl Next__9CRandom16Fv +/* 800FBDC0 000F8D20 3C 80 80 01 */ lis r4, 0x80010003@ha +/* 800FBDC4 000F8D24 38 00 7F FF */ li r0, 0x7fff +/* 800FBDC8 000F8D28 38 84 00 03 */ addi r4, r4, 0x80010003@l +/* 800FBDCC 000F8D2C 7C 84 18 96 */ mulhw r4, r4, r3 +/* 800FBDD0 000F8D30 7C 84 1A 14 */ add r4, r4, r3 +/* 800FBDD4 000F8D34 7C 84 76 70 */ srawi r4, r4, 0xe +/* 800FBDD8 000F8D38 54 85 0F FE */ srwi r5, r4, 0x1f +/* 800FBDDC 000F8D3C 7C 84 2A 14 */ add r4, r4, r5 +/* 800FBDE0 000F8D40 7C 04 01 D6 */ mullw r0, r4, r0 +/* 800FBDE4 000F8D44 7C 00 18 50 */ subf r0, r0, r3 +/* 800FBDE8 000F8D48 B0 01 00 08 */ sth r0, 8(r1) +/* 800FBDEC 000F8D4C E3 A1 D0 08 */ psq_l f29, 8(r1), 1, qr5 +/* 800FBDF0 000F8D50 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FBDF4 000F8D54 48 21 67 2D */ bl Next__9CRandom16Fv +/* 800FBDF8 000F8D58 3C 80 80 01 */ lis r4, 0x80010003@ha +/* 800FBDFC 000F8D5C 38 00 7F FF */ li r0, 0x7fff +/* 800FBE00 000F8D60 38 84 00 03 */ addi r4, r4, 0x80010003@l +/* 800FBE04 000F8D64 7C 84 18 96 */ mulhw r4, r4, r3 +/* 800FBE08 000F8D68 7C 84 1A 14 */ add r4, r4, r3 +/* 800FBE0C 000F8D6C 7C 84 76 70 */ srawi r4, r4, 0xe +/* 800FBE10 000F8D70 54 85 0F FE */ srwi r5, r4, 0x1f +/* 800FBE14 000F8D74 7C 84 2A 14 */ add r4, r4, r5 +/* 800FBE18 000F8D78 7C 04 01 D6 */ mullw r0, r4, r0 +/* 800FBE1C 000F8D7C 7C 00 18 50 */ subf r0, r0, r3 +/* 800FBE20 000F8D80 B0 01 00 0A */ sth r0, 0xa(r1) +/* 800FBE24 000F8D84 E3 C1 D0 0A */ psq_l f30, 10(r1), 1, qr5 +/* 800FBE28 000F8D88 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FBE2C 000F8D8C 48 21 66 F5 */ bl Next__9CRandom16Fv +/* 800FBE30 000F8D90 3C 80 80 01 */ lis r4, 0x80010003@ha +/* 800FBE34 000F8D94 38 00 7F FF */ li r0, 0x7fff +/* 800FBE38 000F8D98 38 84 00 03 */ addi r4, r4, 0x80010003@l +/* 800FBE3C 000F8D9C 7C 84 18 96 */ mulhw r4, r4, r3 +/* 800FBE40 000F8DA0 7C 84 1A 14 */ add r4, r4, r3 +/* 800FBE44 000F8DA4 7C 84 76 70 */ srawi r4, r4, 0xe +/* 800FBE48 000F8DA8 54 85 0F FE */ srwi r5, r4, 0x1f +/* 800FBE4C 000F8DAC 7C 84 2A 14 */ add r4, r4, r5 +/* 800FBE50 000F8DB0 7C 04 01 D6 */ mullw r0, r4, r0 +/* 800FBE54 000F8DB4 7C 00 18 50 */ subf r0, r0, r3 +/* 800FBE58 000F8DB8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800FBE5C 000F8DBC E0 21 D0 0C */ psq_l f1, 12(r1), 1, qr5 +/* 800FBE60 000F8DC0 38 61 00 4C */ addi r3, r1, 0x4c +/* 800FBE64 000F8DC4 C0 A2 93 68 */ lfs f5, lbl_805AB088@sda21(r2) +/* 800FBE68 000F8DC8 38 81 00 40 */ addi r4, r1, 0x40 +/* 800FBE6C 000F8DCC C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FBE70 000F8DD0 C0 C2 93 6C */ lfs f6, lbl_805AB08C@sda21(r2) +/* 800FBE74 000F8DD4 EC 85 00 78 */ fmsubs f4, f5, f1, f0 +/* 800FBE78 000F8DD8 C0 62 93 70 */ lfs f3, lbl_805AB090@sda21(r2) +/* 800FBE7C 000F8DDC EC 45 07 B8 */ fmsubs f2, f5, f30, f0 +/* 800FBE80 000F8DE0 C0 22 93 74 */ lfs f1, lbl_805AB094@sda21(r2) +/* 800FBE84 000F8DE4 EC 05 07 78 */ fmsubs f0, f5, f29, f0 +/* 800FBE88 000F8DE8 EC 86 01 32 */ fmuls f4, f6, f4 +/* 800FBE8C 000F8DEC EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800FBE90 000F8DF0 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800FBE94 000F8DF4 D0 81 00 40 */ stfs f4, 0x40(r1) +/* 800FBE98 000F8DF8 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800FBE9C 000F8DFC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800FBEA0 000F8E00 4B F1 F6 E5 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 800FBEA4 000F8E04 80 81 00 4C */ lwz r4, 0x4c(r1) +/* 800FBEA8 000F8E08 80 61 00 50 */ lwz r3, 0x50(r1) +/* 800FBEAC 000F8E0C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800FBEB0 000F8E10 90 81 00 88 */ stw r4, 0x88(r1) +/* 800FBEB4 000F8E14 90 61 00 8C */ stw r3, 0x8c(r1) +/* 800FBEB8 000F8E18 90 01 00 90 */ stw r0, 0x90(r1) +/* 800FBEBC 000F8E1C 48 00 00 20 */ b lbl_800FBEDC +lbl_800FBEC0: +/* 800FBEC0 000F8E20 4B F1 F6 75 */ bl Identity__10CAxisAngleFv +/* 800FBEC4 000F8E24 80 83 00 00 */ lwz r4, 0(r3) +/* 800FBEC8 000F8E28 80 03 00 04 */ lwz r0, 4(r3) +/* 800FBECC 000F8E2C 90 81 00 88 */ stw r4, 0x88(r1) +/* 800FBED0 000F8E30 90 01 00 8C */ stw r0, 0x8c(r1) +/* 800FBED4 000F8E34 80 03 00 08 */ lwz r0, 8(r3) +/* 800FBED8 000F8E38 90 01 00 90 */ stw r0, 0x90(r1) +lbl_800FBEDC: +/* 800FBEDC 000F8E3C 7F 83 E3 78 */ mr r3, r28 +/* 800FBEE0 000F8E40 38 81 00 94 */ addi r4, r1, 0x94 +/* 800FBEE4 000F8E44 38 A1 00 88 */ addi r5, r1, 0x88 +/* 800FBEE8 000F8E48 48 02 04 B1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800FBEEC 000F8E4C 48 00 00 84 */ b lbl_800FBF70 +lbl_800FBEF0: +/* 800FBEF0 000F8E50 C0 3C 02 88 */ lfs f1, 0x288(r28) +/* 800FBEF4 000F8E54 7F E4 FB 78 */ mr r4, r31 +/* 800FBEF8 000F8E58 C0 5C 02 8C */ lfs f2, 0x28c(r28) +/* 800FBEFC 000F8E5C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800FBF00 000F8E60 C0 7C 02 90 */ lfs f3, 0x290(r28) +/* 800FBF04 000F8E64 48 00 1D A5 */ bl debris_cone__FR13CStateManagerfff +/* 800FBF08 000F8E68 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 800FBF0C 000F8E6C 7F E4 FB 78 */ mr r4, r31 +/* 800FBF10 000F8E70 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 800FBF14 000F8E74 38 61 00 28 */ addi r3, r1, 0x28 +/* 800FBF18 000F8E78 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 800FBF1C 000F8E7C D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 800FBF20 000F8E80 C0 22 93 78 */ lfs f1, lbl_805AB098@sda21(r2) +/* 800FBF24 000F8E84 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 800FBF28 000F8E88 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 800FBF2C 000F8E8C C0 5C 02 94 */ lfs f2, 0x294(r28) +/* 800FBF30 000F8E90 C0 7C 02 98 */ lfs f3, 0x298(r28) +/* 800FBF34 000F8E94 48 00 1D 75 */ bl debris_cone__FR13CStateManagerfff +/* 800FBF38 000F8E98 38 61 00 70 */ addi r3, r1, 0x70 +/* 800FBF3C 000F8E9C 38 81 00 28 */ addi r4, r1, 0x28 +/* 800FBF40 000F8EA0 4B F1 F6 45 */ bl __ct__10CAxisAngleFRC9CVector3f +/* 800FBF44 000F8EA4 7F 83 E3 78 */ mr r3, r28 +/* 800FBF48 000F8EA8 38 81 00 7C */ addi r4, r1, 0x7c +/* 800FBF4C 000F8EAC 38 A1 00 70 */ addi r5, r1, 0x70 +/* 800FBF50 000F8EB0 48 02 02 B5 */ bl ApplyImpulseOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +/* 800FBF54 000F8EB4 C3 DC 02 A0 */ lfs f30, 0x2a0(r28) +/* 800FBF58 000F8EB8 C3 BC 02 9C */ lfs f29, 0x29c(r28) +/* 800FBF5C 000F8EBC 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FBF60 000F8EC0 48 21 65 7D */ bl Float__9CRandom16Fv +/* 800FBF64 000F8EC4 EC 1E E8 28 */ fsubs f0, f30, f29 +/* 800FBF68 000F8EC8 EC 00 E8 7A */ fmadds f0, f0, f1, f29 +/* 800FBF6C 000F8ECC D0 1C 02 74 */ stfs f0, 0x274(r28) +lbl_800FBF70: +/* 800FBF70 000F8ED0 80 7C 02 D4 */ lwz r3, 0x2d4(r28) +/* 800FBF74 000F8ED4 28 03 00 00 */ cmplwi r3, 0 +/* 800FBF78 000F8ED8 41 82 00 18 */ beq lbl_800FBF90 +/* 800FBF7C 000F8EDC 81 83 00 00 */ lwz r12, 0(r3) +/* 800FBF80 000F8EE0 38 80 00 01 */ li r4, 1 +/* 800FBF84 000F8EE4 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800FBF88 000F8EE8 7D 89 03 A6 */ mtctr r12 +/* 800FBF8C 000F8EEC 4E 80 04 21 */ bctrl +lbl_800FBF90: +/* 800FBF90 000F8EF0 80 7C 02 D8 */ lwz r3, 0x2d8(r28) +/* 800FBF94 000F8EF4 28 03 00 00 */ cmplwi r3, 0 +/* 800FBF98 000F8EF8 41 82 00 90 */ beq lbl_800FC028 +/* 800FBF9C 000F8EFC 81 83 00 00 */ lwz r12, 0(r3) +/* 800FBFA0 000F8F00 38 80 00 01 */ li r4, 1 +/* 800FBFA4 000F8F04 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800FBFA8 000F8F08 7D 89 03 A6 */ mtctr r12 +/* 800FBFAC 000F8F0C 4E 80 04 21 */ bctrl +/* 800FBFB0 000F8F10 48 00 00 78 */ b lbl_800FC028 +lbl_800FBFB4: +/* 800FBFB4 000F8F14 88 1C 02 82 */ lbz r0, 0x282(r28) +/* 800FBFB8 000F8F18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FBFBC 000F8F1C 40 82 00 6C */ bne lbl_800FC028 +/* 800FBFC0 000F8F20 C0 1C 02 7C */ lfs f0, 0x27c(r28) +/* 800FBFC4 000F8F24 38 61 00 1C */ addi r3, r1, 0x1c +/* 800FBFC8 000F8F28 C0 5C 01 00 */ lfs f2, 0x100(r28) +/* 800FBFCC 000F8F2C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800FBFD0 000F8F30 FC 60 00 50 */ fneg f3, f0 +/* 800FBFD4 000F8F34 C0 3C 01 04 */ lfs f1, 0x104(r28) +/* 800FBFD8 000F8F38 C0 1C 00 FC */ lfs f0, 0xfc(r28) +/* 800FBFDC 000F8F3C 38 BC 01 08 */ addi r5, r28, 0x108 +/* 800FBFE0 000F8F40 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800FBFE4 000F8F44 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 800FBFE8 000F8F48 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800FBFEC 000F8F4C EC 03 00 32 */ fmuls f0, f3, f0 +/* 800FBFF0 000F8F50 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 800FBFF4 000F8F54 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800FBFF8 000F8F58 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 800FBFFC 000F8F5C 4B F1 F4 5D */ bl __ml__FRCfRC10CAxisAngle +/* 800FC000 000F8F60 C0 41 00 1C */ lfs f2, 0x1c(r1) +/* 800FC004 000F8F64 7F 83 E3 78 */ mr r3, r28 +/* 800FC008 000F8F68 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 800FC00C 000F8F6C 38 81 00 64 */ addi r4, r1, 0x64 +/* 800FC010 000F8F70 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 800FC014 000F8F74 38 A1 00 58 */ addi r5, r1, 0x58 +/* 800FC018 000F8F78 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 800FC01C 000F8F7C D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800FC020 000F8F80 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800FC024 000F8F84 48 02 03 75 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle +lbl_800FC028: +/* 800FC028 000F8F88 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800FC02C 000F8F8C 7F 83 E3 78 */ mr r3, r28 +/* 800FC030 000F8F90 7F A4 EB 78 */ mr r4, r29 +/* 800FC034 000F8F94 7F E6 FB 78 */ mr r6, r31 +/* 800FC038 000F8F98 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800FC03C 000F8F9C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800FC040 000F8FA0 4B F5 75 D5 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800FC044 000F8FA4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 800FC048 000F8FA8 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 800FC04C 000F8FAC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 800FC050 000F8FB0 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 800FC054 000F8FB4 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 800FC058 000F8FB8 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 800FC05C 000F8FBC 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 800FC060 000F8FC0 83 C1 00 A8 */ lwz r30, 0xa8(r1) +/* 800FC064 000F8FC4 83 A1 00 A4 */ lwz r29, 0xa4(r1) +/* 800FC068 000F8FC8 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800FC06C 000F8FCC 83 81 00 A0 */ lwz r28, 0xa0(r1) +/* 800FC070 000F8FD0 7C 08 03 A6 */ mtlr r0 +/* 800FC074 000F8FD4 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800FC078 000F8FD8 4E 80 00 20 */ blr + +.global GetTouchBounds__13CScriptDebrisCFv +GetTouchBounds__13CScriptDebrisCFv: +/* 800FC07C 000F8FDC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800FC080 000F8FE0 7C 08 02 A6 */ mflr r0 +/* 800FC084 000F8FE4 90 01 00 34 */ stw r0, 0x34(r1) +/* 800FC088 000F8FE8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800FC08C 000F8FEC 7C 7F 1B 78 */ mr r31, r3 +/* 800FC090 000F8FF0 88 04 02 81 */ lbz r0, 0x281(r4) +/* 800FC094 000F8FF4 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800FC098 000F8FF8 41 82 00 50 */ beq lbl_800FC0E8 +/* 800FC09C 000F8FFC 38 61 00 08 */ addi r3, r1, 8 +/* 800FC0A0 000F9000 48 01 E8 8D */ bl GetBoundingBox__13CPhysicsActorCFv +/* 800FC0A4 000F9004 38 00 00 01 */ li r0, 1 +/* 800FC0A8 000F9008 28 1F 00 00 */ cmplwi r31, 0 +/* 800FC0AC 000F900C 98 1F 00 18 */ stb r0, 0x18(r31) +/* 800FC0B0 000F9010 41 82 00 40 */ beq lbl_800FC0F0 +/* 800FC0B4 000F9014 C0 01 00 08 */ lfs f0, 8(r1) +/* 800FC0B8 000F9018 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800FC0BC 000F901C C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800FC0C0 000F9020 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800FC0C4 000F9024 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800FC0C8 000F9028 D0 1F 00 08 */ stfs f0, 8(r31) +/* 800FC0CC 000F902C C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800FC0D0 000F9030 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 800FC0D4 000F9034 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800FC0D8 000F9038 D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800FC0DC 000F903C C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800FC0E0 000F9040 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 800FC0E4 000F9044 48 00 00 0C */ b lbl_800FC0F0 +lbl_800FC0E8: +/* 800FC0E8 000F9048 38 00 00 00 */ li r0, 0 +/* 800FC0EC 000F904C 98 1F 00 18 */ stb r0, 0x18(r31) +lbl_800FC0F0: +/* 800FC0F0 000F9050 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800FC0F4 000F9054 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800FC0F8 000F9058 7C 08 03 A6 */ mtlr r0 +/* 800FC0FC 000F905C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800FC100 000F9060 4E 80 00 20 */ blr + +.global Touch__13CScriptDebrisFR6CActorR13CStateManager +Touch__13CScriptDebrisFR6CActorR13CStateManager: +/* 800FC104 000F9064 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800FC108 000F9068 7C 08 02 A6 */ mflr r0 +/* 800FC10C 000F906C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800FC110 000F9070 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800FC114 000F9074 7C BF 2B 78 */ mr r31, r5 +/* 800FC118 000F9078 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800FC11C 000F907C 7C 7E 1B 78 */ mr r30, r3 +/* 800FC120 000F9080 88 03 02 81 */ lbz r0, 0x281(r3) +/* 800FC124 000F9084 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800FC128 000F9088 41 82 00 44 */ beq lbl_800FC16C +/* 800FC12C 000F908C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800FC130 000F9090 4B FB 16 49 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" +/* 800FC134 000F9094 80 03 00 04 */ lwz r0, 4(r3) +/* 800FC138 000F9098 28 00 00 00 */ cmplwi r0, 0 +/* 800FC13C 000F909C 41 82 00 30 */ beq lbl_800FC16C +/* 800FC140 000F90A0 7F C3 F3 78 */ mr r3, r30 +/* 800FC144 000F90A4 7F E5 FB 78 */ mr r5, r31 +/* 800FC148 000F90A8 38 80 00 0E */ li r4, 0xe +/* 800FC14C 000F90AC 38 C0 FF FF */ li r6, -1 +/* 800FC150 000F90B0 4B F5 4F 71 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800FC154 000F90B4 A0 1E 00 08 */ lhz r0, 8(r30) +/* 800FC158 000F90B8 7F E3 FB 78 */ mr r3, r31 +/* 800FC15C 000F90BC 38 81 00 0C */ addi r4, r1, 0xc +/* 800FC160 000F90C0 B0 01 00 08 */ sth r0, 8(r1) +/* 800FC164 000F90C4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800FC168 000F90C8 4B F5 01 05 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +lbl_800FC16C: +/* 800FC16C 000F90CC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800FC170 000F90D0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800FC174 000F90D4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800FC178 000F90D8 7C 08 03 A6 */ mtlr r0 +/* 800FC17C 000F90DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 800FC180 000F90E0 4E 80 00 20 */ blr + +.global Think__13CScriptDebrisFfR13CStateManager +Think__13CScriptDebrisFfR13CStateManager: +/* 800FC184 000F90E4 94 21 FD 30 */ stwu r1, -0x2d0(r1) +/* 800FC188 000F90E8 7C 08 02 A6 */ mflr r0 +/* 800FC18C 000F90EC 90 01 02 D4 */ stw r0, 0x2d4(r1) +/* 800FC190 000F90F0 DB E1 02 C0 */ stfd f31, 0x2c0(r1) +/* 800FC194 000F90F4 F3 E1 02 C8 */ psq_st f31, 712(r1), 0, qr0 +/* 800FC198 000F90F8 BF 61 02 AC */ stmw r27, 0x2ac(r1) +/* 800FC19C 000F90FC 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800FC1A0 000F9100 FF E0 08 90 */ fmr f31, f1 +/* 800FC1A4 000F9104 7C 7D 1B 78 */ mr r29, r3 +/* 800FC1A8 000F9108 7C 9E 23 78 */ mr r30, r4 +/* 800FC1AC 000F910C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FC1B0 000F9110 41 82 09 AC */ beq lbl_800FCB5C +/* 800FC1B4 000F9114 C0 1D 02 70 */ lfs f0, 0x270(r29) +/* 800FC1B8 000F9118 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800FC1BC 000F911C D0 1D 02 70 */ stfs f0, 0x270(r29) +/* 800FC1C0 000F9120 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FC1C4 000F9124 C0 1D 02 74 */ lfs f0, 0x274(r29) +/* 800FC1C8 000F9128 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC1CC 000F912C 4C 41 13 82 */ cror 2, 1, 2 +/* 800FC1D0 000F9130 7C 00 00 26 */ mfcr r0 +/* 800FC1D4 000F9134 80 7D 02 D4 */ lwz r3, 0x2d4(r29) +/* 800FC1D8 000F9138 54 1F 1F FE */ rlwinm r31, r0, 3, 0x1f, 0x1f +/* 800FC1DC 000F913C 28 03 00 00 */ cmplwi r3, 0 +/* 800FC1E0 000F9140 41 82 01 FC */ beq lbl_800FC3DC +/* 800FC1E4 000F9144 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC1E8 000F9148 4C 41 13 82 */ cror 2, 1, 2 +/* 800FC1EC 000F914C 40 82 00 1C */ bne lbl_800FC208 +/* 800FC1F0 000F9150 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC1F4 000F9154 38 80 00 00 */ li r4, 0 +/* 800FC1F8 000F9158 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800FC1FC 000F915C 7D 89 03 A6 */ mtctr r12 +/* 800FC200 000F9160 4E 80 04 21 */ bctrl +/* 800FC204 000F9164 48 00 01 78 */ b lbl_800FC37C +lbl_800FC208: +/* 800FC208 000F9168 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FC20C 000F916C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800FC210 000F9170 41 82 00 34 */ beq lbl_800FC244 +/* 800FC214 000F9174 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800FC218 000F9178 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 800FC21C 000F917C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 800FC220 000F9180 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800FC224 000F9184 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 800FC228 000F9188 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 800FC22C 000F918C D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 800FC230 000F9190 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC234 000F9194 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800FC238 000F9198 7D 89 03 A6 */ mtctr r12 +/* 800FC23C 000F919C 4E 80 04 21 */ bctrl +/* 800FC240 000F91A0 48 00 00 30 */ b lbl_800FC270 +lbl_800FC244: +/* 800FC244 000F91A4 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800FC248 000F91A8 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800FC24C 000F91AC C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 800FC250 000F91B0 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800FC254 000F91B4 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 800FC258 000F91B8 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 800FC25C 000F91BC D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 800FC260 000F91C0 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC264 000F91C4 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800FC268 000F91C8 7D 89 03 A6 */ mtctr r12 +/* 800FC26C 000F91CC 4E 80 04 21 */ bctrl +lbl_800FC270: +/* 800FC270 000F91D0 88 1D 02 83 */ lbz r0, 0x283(r29) +/* 800FC274 000F91D4 7C 00 07 74 */ extsb r0, r0 +/* 800FC278 000F91D8 2C 00 00 01 */ cmpwi r0, 1 +/* 800FC27C 000F91DC 40 82 00 D0 */ bne lbl_800FC34C +/* 800FC280 000F91E0 38 7D 01 38 */ addi r3, r29, 0x138 +/* 800FC284 000F91E4 48 21 84 75 */ bl CanBeNormalized__9CVector3fCFv +/* 800FC288 000F91E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FC28C 000F91EC 41 82 00 F0 */ beq lbl_800FC37C +/* 800FC290 000F91F0 38 61 00 9C */ addi r3, r1, 0x9c +/* 800FC294 000F91F4 38 9D 01 38 */ addi r4, r29, 0x138 +/* 800FC298 000F91F8 48 21 85 B9 */ bl AsNormalized__9CVector3fCFv +/* 800FC29C 000F91FC C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 800FC2A0 000F9200 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 800FC2A4 000F9204 FC 80 12 10 */ fabs f4, f2 +/* 800FC2A8 000F9208 C0 61 00 A0 */ lfs f3, 0xa0(r1) +/* 800FC2AC 000F920C C0 02 93 7C */ lfs f0, lbl_805AB09C@sda21(r2) +/* 800FC2B0 000F9210 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 800FC2B4 000F9214 FC 20 20 18 */ frsp f1, f4 +/* 800FC2B8 000F9218 D0 61 01 00 */ stfs f3, 0x100(r1) +/* 800FC2BC 000F921C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC2C0 000F9220 D0 41 01 04 */ stfs f2, 0x104(r1) +/* 800FC2C4 000F9224 40 80 00 20 */ bge lbl_800FC2E4 +/* 800FC2C8 000F9228 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) +/* 800FC2CC 000F922C 38 E1 00 90 */ addi r7, r1, 0x90 +/* 800FC2D0 000F9230 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FC2D4 000F9234 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 800FC2D8 000F9238 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 800FC2DC 000F923C D0 01 00 98 */ stfs f0, 0x98(r1) +/* 800FC2E0 000F9240 48 00 00 1C */ b lbl_800FC2FC +lbl_800FC2E4: +/* 800FC2E4 000F9244 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) +/* 800FC2E8 000F9248 38 E1 00 84 */ addi r7, r1, 0x84 +/* 800FC2EC 000F924C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FC2F0 000F9250 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 800FC2F4 000F9254 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800FC2F8 000F9258 D0 21 00 8C */ stfs f1, 0x8c(r1) +lbl_800FC2FC: +/* 800FC2FC 000F925C C0 07 00 00 */ lfs f0, 0(r7) +/* 800FC300 000F9260 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FC304 000F9264 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800FC308 000F9268 38 A1 00 FC */ addi r5, r1, 0xfc +/* 800FC30C 000F926C D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 800FC310 000F9270 38 61 02 40 */ addi r3, r1, 0x240 +/* 800FC314 000F9274 38 C1 00 F0 */ addi r6, r1, 0xf0 +/* 800FC318 000F9278 C0 07 00 04 */ lfs f0, 4(r7) +/* 800FC31C 000F927C D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 800FC320 000F9280 C0 07 00 08 */ lfs f0, 8(r7) +/* 800FC324 000F9284 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 800FC328 000F9288 83 9D 02 D4 */ lwz r28, 0x2d4(r29) +/* 800FC32C 000F928C 48 21 77 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800FC330 000F9290 7F 83 E3 78 */ mr r3, r28 +/* 800FC334 000F9294 38 81 02 40 */ addi r4, r1, 0x240 +/* 800FC338 000F9298 81 9C 00 00 */ lwz r12, 0(r28) +/* 800FC33C 000F929C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800FC340 000F92A0 7D 89 03 A6 */ mtctr r12 +/* 800FC344 000F92A4 4E 80 04 21 */ bctrl +/* 800FC348 000F92A8 48 00 00 34 */ b lbl_800FC37C +lbl_800FC34C: +/* 800FC34C 000F92AC 2C 00 00 02 */ cmpwi r0, 2 +/* 800FC350 000F92B0 40 82 00 2C */ bne lbl_800FC37C +/* 800FC354 000F92B4 83 9D 02 D4 */ lwz r28, 0x2d4(r29) +/* 800FC358 000F92B8 38 61 02 10 */ addi r3, r1, 0x210 +/* 800FC35C 000F92BC 38 9D 00 34 */ addi r4, r29, 0x34 +/* 800FC360 000F92C0 48 21 68 E1 */ bl GetRotation__12CTransform4fCFv +/* 800FC364 000F92C4 7F 83 E3 78 */ mr r3, r28 +/* 800FC368 000F92C8 38 81 02 10 */ addi r4, r1, 0x210 +/* 800FC36C 000F92CC 81 9C 00 00 */ lwz r12, 0(r28) +/* 800FC370 000F92D0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800FC374 000F92D4 7D 89 03 A6 */ mtctr r12 +/* 800FC378 000F92D8 4E 80 04 21 */ bctrl +lbl_800FC37C: +/* 800FC37C 000F92DC 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FC380 000F92E0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800FC384 000F92E4 41 82 00 24 */ beq lbl_800FC3A8 +/* 800FC388 000F92E8 80 7D 02 D4 */ lwz r3, 0x2d4(r29) +/* 800FC38C 000F92EC 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC390 000F92F0 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800FC394 000F92F4 7D 89 03 A6 */ mtctr r12 +/* 800FC398 000F92F8 4E 80 04 21 */ bctrl +/* 800FC39C 000F92FC 2C 03 00 00 */ cmpwi r3, 0 +/* 800FC3A0 000F9300 41 82 00 08 */ beq lbl_800FC3A8 +/* 800FC3A4 000F9304 3B E0 00 00 */ li r31, 0 +lbl_800FC3A8: +/* 800FC3A8 000F9308 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FC3AC 000F930C C0 1D 02 74 */ lfs f0, 0x274(r29) +/* 800FC3B0 000F9310 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC3B4 000F9314 41 80 00 10 */ blt lbl_800FC3C4 +/* 800FC3B8 000F9318 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FC3BC 000F931C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800FC3C0 000F9320 41 82 00 1C */ beq lbl_800FC3DC +lbl_800FC3C4: +/* 800FC3C4 000F9324 80 7D 02 D4 */ lwz r3, 0x2d4(r29) +/* 800FC3C8 000F9328 FC 20 F8 90 */ fmr f1, f31 +/* 800FC3CC 000F932C 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC3D0 000F9330 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800FC3D4 000F9334 7D 89 03 A6 */ mtctr r12 +/* 800FC3D8 000F9338 4E 80 04 21 */ bctrl +lbl_800FC3DC: +/* 800FC3DC 000F933C 80 7D 02 D8 */ lwz r3, 0x2d8(r29) +/* 800FC3E0 000F9340 28 03 00 00 */ cmplwi r3, 0 +/* 800FC3E4 000F9344 41 82 02 04 */ beq lbl_800FC5E8 +/* 800FC3E8 000F9348 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FC3EC 000F934C C0 1D 02 74 */ lfs f0, 0x274(r29) +/* 800FC3F0 000F9350 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC3F4 000F9354 4C 41 13 82 */ cror 2, 1, 2 +/* 800FC3F8 000F9358 40 82 00 1C */ bne lbl_800FC414 +/* 800FC3FC 000F935C 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC400 000F9360 38 80 00 00 */ li r4, 0 +/* 800FC404 000F9364 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800FC408 000F9368 7D 89 03 A6 */ mtctr r12 +/* 800FC40C 000F936C 4E 80 04 21 */ bctrl +/* 800FC410 000F9370 48 00 01 78 */ b lbl_800FC588 +lbl_800FC414: +/* 800FC414 000F9374 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FC418 000F9378 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800FC41C 000F937C 41 82 00 34 */ beq lbl_800FC450 +/* 800FC420 000F9380 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800FC424 000F9384 38 81 00 78 */ addi r4, r1, 0x78 +/* 800FC428 000F9388 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 800FC42C 000F938C C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800FC430 000F9390 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 800FC434 000F9394 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 800FC438 000F9398 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 800FC43C 000F939C 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC440 000F93A0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800FC444 000F93A4 7D 89 03 A6 */ mtctr r12 +/* 800FC448 000F93A8 4E 80 04 21 */ bctrl +/* 800FC44C 000F93AC 48 00 00 30 */ b lbl_800FC47C +lbl_800FC450: +/* 800FC450 000F93B0 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800FC454 000F93B4 38 81 00 6C */ addi r4, r1, 0x6c +/* 800FC458 000F93B8 C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 800FC45C 000F93BC C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800FC460 000F93C0 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800FC464 000F93C4 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 800FC468 000F93C8 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 800FC46C 000F93CC 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC470 000F93D0 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800FC474 000F93D4 7D 89 03 A6 */ mtctr r12 +/* 800FC478 000F93D8 4E 80 04 21 */ bctrl +lbl_800FC47C: +/* 800FC47C 000F93DC 88 1D 02 84 */ lbz r0, 0x284(r29) +/* 800FC480 000F93E0 7C 00 07 74 */ extsb r0, r0 +/* 800FC484 000F93E4 2C 00 00 01 */ cmpwi r0, 1 +/* 800FC488 000F93E8 40 82 00 D0 */ bne lbl_800FC558 +/* 800FC48C 000F93EC 38 7D 01 38 */ addi r3, r29, 0x138 +/* 800FC490 000F93F0 48 21 82 69 */ bl CanBeNormalized__9CVector3fCFv +/* 800FC494 000F93F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FC498 000F93F8 41 82 00 F0 */ beq lbl_800FC588 +/* 800FC49C 000F93FC 38 61 00 60 */ addi r3, r1, 0x60 +/* 800FC4A0 000F9400 38 9D 01 38 */ addi r4, r29, 0x138 +/* 800FC4A4 000F9404 48 21 83 AD */ bl AsNormalized__9CVector3fCFv +/* 800FC4A8 000F9408 C0 41 00 68 */ lfs f2, 0x68(r1) +/* 800FC4AC 000F940C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 800FC4B0 000F9410 FC 80 12 10 */ fabs f4, f2 +/* 800FC4B4 000F9414 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 800FC4B8 000F9418 C0 02 93 7C */ lfs f0, lbl_805AB09C@sda21(r2) +/* 800FC4BC 000F941C D0 21 00 E4 */ stfs f1, 0xe4(r1) +/* 800FC4C0 000F9420 FC 20 20 18 */ frsp f1, f4 +/* 800FC4C4 000F9424 D0 61 00 E8 */ stfs f3, 0xe8(r1) +/* 800FC4C8 000F9428 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC4CC 000F942C D0 41 00 EC */ stfs f2, 0xec(r1) +/* 800FC4D0 000F9430 40 80 00 20 */ bge lbl_800FC4F0 +/* 800FC4D4 000F9434 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) +/* 800FC4D8 000F9438 38 E1 00 54 */ addi r7, r1, 0x54 +/* 800FC4DC 000F943C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FC4E0 000F9440 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800FC4E4 000F9444 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800FC4E8 000F9448 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800FC4EC 000F944C 48 00 00 1C */ b lbl_800FC508 +lbl_800FC4F0: +/* 800FC4F0 000F9450 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) +/* 800FC4F4 000F9454 38 E1 00 48 */ addi r7, r1, 0x48 +/* 800FC4F8 000F9458 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FC4FC 000F945C D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800FC500 000F9460 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800FC504 000F9464 D0 21 00 50 */ stfs f1, 0x50(r1) +lbl_800FC508: +/* 800FC508 000F9468 C0 07 00 00 */ lfs f0, 0(r7) +/* 800FC50C 000F946C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FC510 000F9470 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800FC514 000F9474 38 A1 00 E4 */ addi r5, r1, 0xe4 +/* 800FC518 000F9478 D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 800FC51C 000F947C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800FC520 000F9480 38 C1 00 D8 */ addi r6, r1, 0xd8 +/* 800FC524 000F9484 C0 07 00 04 */ lfs f0, 4(r7) +/* 800FC528 000F9488 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 800FC52C 000F948C C0 07 00 08 */ lfs f0, 8(r7) +/* 800FC530 000F9490 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 800FC534 000F9494 83 9D 02 D8 */ lwz r28, 0x2d8(r29) +/* 800FC538 000F9498 48 21 75 D9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800FC53C 000F949C 7F 83 E3 78 */ mr r3, r28 +/* 800FC540 000F94A0 38 81 01 E0 */ addi r4, r1, 0x1e0 +/* 800FC544 000F94A4 81 9C 00 00 */ lwz r12, 0(r28) +/* 800FC548 000F94A8 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800FC54C 000F94AC 7D 89 03 A6 */ mtctr r12 +/* 800FC550 000F94B0 4E 80 04 21 */ bctrl +/* 800FC554 000F94B4 48 00 00 34 */ b lbl_800FC588 +lbl_800FC558: +/* 800FC558 000F94B8 2C 00 00 02 */ cmpwi r0, 2 +/* 800FC55C 000F94BC 40 82 00 2C */ bne lbl_800FC588 +/* 800FC560 000F94C0 83 9D 02 D8 */ lwz r28, 0x2d8(r29) +/* 800FC564 000F94C4 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 800FC568 000F94C8 38 9D 00 34 */ addi r4, r29, 0x34 +/* 800FC56C 000F94CC 48 21 66 D5 */ bl GetRotation__12CTransform4fCFv +/* 800FC570 000F94D0 7F 83 E3 78 */ mr r3, r28 +/* 800FC574 000F94D4 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 800FC578 000F94D8 81 9C 00 00 */ lwz r12, 0(r28) +/* 800FC57C 000F94DC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800FC580 000F94E0 7D 89 03 A6 */ mtctr r12 +/* 800FC584 000F94E4 4E 80 04 21 */ bctrl +lbl_800FC588: +/* 800FC588 000F94E8 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FC58C 000F94EC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800FC590 000F94F0 41 82 00 24 */ beq lbl_800FC5B4 +/* 800FC594 000F94F4 80 7D 02 D8 */ lwz r3, 0x2d8(r29) +/* 800FC598 000F94F8 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC59C 000F94FC 81 8C 00 60 */ lwz r12, 0x60(r12) +/* 800FC5A0 000F9500 7D 89 03 A6 */ mtctr r12 +/* 800FC5A4 000F9504 4E 80 04 21 */ bctrl +/* 800FC5A8 000F9508 2C 03 00 00 */ cmpwi r3, 0 +/* 800FC5AC 000F950C 41 82 00 08 */ beq lbl_800FC5B4 +/* 800FC5B0 000F9510 3B E0 00 00 */ li r31, 0 +lbl_800FC5B4: +/* 800FC5B4 000F9514 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FC5B8 000F9518 C0 1D 02 74 */ lfs f0, 0x274(r29) +/* 800FC5BC 000F951C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC5C0 000F9520 41 80 00 10 */ blt lbl_800FC5D0 +/* 800FC5C4 000F9524 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FC5C8 000F9528 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800FC5CC 000F952C 41 82 00 1C */ beq lbl_800FC5E8 +lbl_800FC5D0: +/* 800FC5D0 000F9530 80 7D 02 D8 */ lwz r3, 0x2d8(r29) +/* 800FC5D4 000F9534 FC 20 F8 90 */ fmr f1, f31 +/* 800FC5D8 000F9538 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC5DC 000F953C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800FC5E0 000F9540 7D 89 03 A6 */ mtctr r12 +/* 800FC5E4 000F9544 4E 80 04 21 */ bctrl +lbl_800FC5E8: +/* 800FC5E8 000F9548 80 7D 02 DC */ lwz r3, 0x2dc(r29) +/* 800FC5EC 000F954C 28 03 00 00 */ cmplwi r3, 0 +/* 800FC5F0 000F9550 41 82 02 84 */ beq lbl_800FC874 +/* 800FC5F4 000F9554 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FC5F8 000F9558 C0 1D 02 74 */ lfs f0, 0x274(r29) +/* 800FC5FC 000F955C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC600 000F9560 4C 41 13 82 */ cror 2, 1, 2 +/* 800FC604 000F9564 40 82 02 2C */ bne lbl_800FC830 +/* 800FC608 000F9568 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FC60C 000F956C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800FC610 000F9570 40 82 02 20 */ bne lbl_800FC830 +/* 800FC614 000F9574 C0 5D 00 60 */ lfs f2, 0x60(r29) +/* 800FC618 000F9578 38 81 00 3C */ addi r4, r1, 0x3c +/* 800FC61C 000F957C C0 3D 00 50 */ lfs f1, 0x50(r29) +/* 800FC620 000F9580 C0 1D 00 40 */ lfs f0, 0x40(r29) +/* 800FC624 000F9584 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800FC628 000F9588 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800FC62C 000F958C D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800FC630 000F9590 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC634 000F9594 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800FC638 000F9598 7D 89 03 A6 */ mtctr r12 +/* 800FC63C 000F959C 4E 80 04 21 */ bctrl +/* 800FC640 000F95A0 88 1D 02 85 */ lbz r0, 0x285(r29) +/* 800FC644 000F95A4 7C 00 07 74 */ extsb r0, r0 +/* 800FC648 000F95A8 2C 00 00 01 */ cmpwi r0, 1 +/* 800FC64C 000F95AC 40 82 00 D0 */ bne lbl_800FC71C +/* 800FC650 000F95B0 38 7D 01 38 */ addi r3, r29, 0x138 +/* 800FC654 000F95B4 48 21 80 A5 */ bl CanBeNormalized__9CVector3fCFv +/* 800FC658 000F95B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FC65C 000F95BC 41 82 01 C4 */ beq lbl_800FC820 +/* 800FC660 000F95C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 800FC664 000F95C4 38 9D 01 38 */ addi r4, r29, 0x138 +/* 800FC668 000F95C8 48 21 81 E9 */ bl AsNormalized__9CVector3fCFv +/* 800FC66C 000F95CC C0 41 00 38 */ lfs f2, 0x38(r1) +/* 800FC670 000F95D0 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 800FC674 000F95D4 FC 80 12 10 */ fabs f4, f2 +/* 800FC678 000F95D8 C0 61 00 34 */ lfs f3, 0x34(r1) +/* 800FC67C 000F95DC C0 02 93 7C */ lfs f0, lbl_805AB09C@sda21(r2) +/* 800FC680 000F95E0 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 800FC684 000F95E4 FC 20 20 18 */ frsp f1, f4 +/* 800FC688 000F95E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) +/* 800FC68C 000F95EC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC690 000F95F0 D0 41 00 D4 */ stfs f2, 0xd4(r1) +/* 800FC694 000F95F4 40 80 00 20 */ bge lbl_800FC6B4 +/* 800FC698 000F95F8 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) +/* 800FC69C 000F95FC 38 E1 00 24 */ addi r7, r1, 0x24 +/* 800FC6A0 000F9600 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FC6A4 000F9604 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800FC6A8 000F9608 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800FC6AC 000F960C D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800FC6B0 000F9610 48 00 00 1C */ b lbl_800FC6CC +lbl_800FC6B4: +/* 800FC6B4 000F9614 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) +/* 800FC6B8 000F9618 38 E1 00 18 */ addi r7, r1, 0x18 +/* 800FC6BC 000F961C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FC6C0 000F9620 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800FC6C4 000F9624 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800FC6C8 000F9628 D0 21 00 20 */ stfs f1, 0x20(r1) +lbl_800FC6CC: +/* 800FC6CC 000F962C C0 07 00 00 */ lfs f0, 0(r7) +/* 800FC6D0 000F9630 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FC6D4 000F9634 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800FC6D8 000F9638 38 A1 00 CC */ addi r5, r1, 0xcc +/* 800FC6DC 000F963C D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800FC6E0 000F9640 38 61 01 80 */ addi r3, r1, 0x180 +/* 800FC6E4 000F9644 38 C1 00 C0 */ addi r6, r1, 0xc0 +/* 800FC6E8 000F9648 C0 07 00 04 */ lfs f0, 4(r7) +/* 800FC6EC 000F964C D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 800FC6F0 000F9650 C0 07 00 08 */ lfs f0, 8(r7) +/* 800FC6F4 000F9654 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 800FC6F8 000F9658 83 9D 02 DC */ lwz r28, 0x2dc(r29) +/* 800FC6FC 000F965C 48 21 74 15 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800FC700 000F9660 7F 83 E3 78 */ mr r3, r28 +/* 800FC704 000F9664 38 81 01 80 */ addi r4, r1, 0x180 +/* 800FC708 000F9668 81 9C 00 00 */ lwz r12, 0(r28) +/* 800FC70C 000F966C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800FC710 000F9670 7D 89 03 A6 */ mtctr r12 +/* 800FC714 000F9674 4E 80 04 21 */ bctrl +/* 800FC718 000F9678 48 00 01 08 */ b lbl_800FC820 +lbl_800FC71C: +/* 800FC71C 000F967C 2C 00 00 02 */ cmpwi r0, 2 +/* 800FC720 000F9680 40 82 00 30 */ bne lbl_800FC750 +/* 800FC724 000F9684 83 9D 02 DC */ lwz r28, 0x2dc(r29) +/* 800FC728 000F9688 38 61 01 50 */ addi r3, r1, 0x150 +/* 800FC72C 000F968C 38 9D 00 34 */ addi r4, r29, 0x34 +/* 800FC730 000F9690 48 21 65 11 */ bl GetRotation__12CTransform4fCFv +/* 800FC734 000F9694 7F 83 E3 78 */ mr r3, r28 +/* 800FC738 000F9698 38 81 01 50 */ addi r4, r1, 0x150 +/* 800FC73C 000F969C 81 9C 00 00 */ lwz r12, 0(r28) +/* 800FC740 000F96A0 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800FC744 000F96A4 7D 89 03 A6 */ mtctr r12 +/* 800FC748 000F96A8 4E 80 04 21 */ bctrl +/* 800FC74C 000F96AC 48 00 00 D4 */ b lbl_800FC820 +lbl_800FC750: +/* 800FC750 000F96B0 2C 00 00 03 */ cmpwi r0, 3 +/* 800FC754 000F96B4 40 82 00 CC */ bne lbl_800FC820 +/* 800FC758 000F96B8 C0 3D 02 C8 */ lfs f1, 0x2c8(r29) +/* 800FC75C 000F96BC C0 1D 02 CC */ lfs f0, 0x2cc(r29) +/* 800FC760 000F96C0 EC 21 00 72 */ fmuls f1, f1, f1 +/* 800FC764 000F96C4 C0 5D 02 D0 */ lfs f2, 0x2d0(r29) +/* 800FC768 000F96C8 EC 00 00 32 */ fmuls f0, f0, f0 +/* 800FC76C 000F96CC C0 62 93 64 */ lfs f3, lbl_805AB084@sda21(r2) +/* 800FC770 000F96D0 EC 42 00 B2 */ fmuls f2, f2, f2 +/* 800FC774 000F96D4 EC 01 00 2A */ fadds f0, f1, f0 +/* 800FC778 000F96D8 EC 02 00 2A */ fadds f0, f2, f0 +/* 800FC77C 000F96DC FC 03 00 00 */ fcmpu cr0, f3, f0 +/* 800FC780 000F96E0 40 82 00 20 */ bne lbl_800FC7A0 +/* 800FC784 000F96E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800FC788 000F96E8 C4 03 66 F4 */ lfsu f0, lbl_805A66F4@l(r3) +/* 800FC78C 000F96EC D0 1D 02 C8 */ stfs f0, 0x2c8(r29) +/* 800FC790 000F96F0 C0 03 00 04 */ lfs f0, 4(r3) +/* 800FC794 000F96F4 D0 1D 02 CC */ stfs f0, 0x2cc(r29) +/* 800FC798 000F96F8 C0 03 00 08 */ lfs f0, 8(r3) +/* 800FC79C 000F96FC D0 1D 02 D0 */ stfs f0, 0x2d0(r29) +lbl_800FC7A0: +/* 800FC7A0 000F9700 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 800FC7A4 000F9704 C0 1D 02 CC */ lfs f0, 0x2cc(r29) +/* 800FC7A8 000F9708 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 800FC7AC 000F970C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FC7B0 000F9710 C0 26 00 04 */ lfs f1, 4(r6) +/* 800FC7B4 000F9714 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800FC7B8 000F9718 C0 46 00 00 */ lfs f2, 0(r6) +/* 800FC7BC 000F971C 38 61 01 20 */ addi r3, r1, 0x120 +/* 800FC7C0 000F9720 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800FC7C4 000F9724 C0 3D 02 C8 */ lfs f1, 0x2c8(r29) +/* 800FC7C8 000F9728 C0 86 00 08 */ lfs f4, 8(r6) +/* 800FC7CC 000F972C 38 BD 02 C8 */ addi r5, r29, 0x2c8 +/* 800FC7D0 000F9730 C0 7D 02 D0 */ lfs f3, 0x2d0(r29) +/* 800FC7D4 000F9734 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 800FC7D8 000F9738 C0 02 93 7C */ lfs f0, lbl_805AB09C@sda21(r2) +/* 800FC7DC 000F973C EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 800FC7E0 000F9740 FC 20 0A 10 */ fabs f1, f1 +/* 800FC7E4 000F9744 FC 20 08 18 */ frsp f1, f1 +/* 800FC7E8 000F9748 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC7EC 000F974C 40 81 00 0C */ ble lbl_800FC7F8 +/* 800FC7F0 000F9750 3C C0 80 5A */ lis r6, lbl_805A6718@ha +/* 800FC7F4 000F9754 38 C6 67 18 */ addi r6, r6, lbl_805A6718@l +lbl_800FC7F8: +/* 800FC7F8 000F9758 48 21 73 19 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800FC7FC 000F975C 38 61 02 70 */ addi r3, r1, 0x270 +/* 800FC800 000F9760 38 81 01 20 */ addi r4, r1, 0x120 +/* 800FC804 000F9764 48 21 63 71 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800FC808 000F9768 80 7D 02 DC */ lwz r3, 0x2dc(r29) +/* 800FC80C 000F976C 38 81 02 70 */ addi r4, r1, 0x270 +/* 800FC810 000F9770 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC814 000F9774 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800FC818 000F9778 7D 89 03 A6 */ mtctr r12 +/* 800FC81C 000F977C 4E 80 04 21 */ bctrl +lbl_800FC820: +/* 800FC820 000F9780 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FC824 000F9784 38 60 00 01 */ li r3, 1 +/* 800FC828 000F9788 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800FC82C 000F978C 98 1D 02 81 */ stb r0, 0x281(r29) +lbl_800FC830: +/* 800FC830 000F9790 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FC834 000F9794 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800FC838 000F9798 41 82 00 3C */ beq lbl_800FC874 +/* 800FC83C 000F979C 80 7D 02 DC */ lwz r3, 0x2dc(r29) +/* 800FC840 000F97A0 FC 20 F8 90 */ fmr f1, f31 +/* 800FC844 000F97A4 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC848 000F97A8 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800FC84C 000F97AC 7D 89 03 A6 */ mtctr r12 +/* 800FC850 000F97B0 4E 80 04 21 */ bctrl +/* 800FC854 000F97B4 80 7D 02 DC */ lwz r3, 0x2dc(r29) +/* 800FC858 000F97B8 81 83 00 00 */ lwz r12, 0(r3) +/* 800FC85C 000F97BC 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 800FC860 000F97C0 7D 89 03 A6 */ mtctr r12 +/* 800FC864 000F97C4 4E 80 04 21 */ bctrl +/* 800FC868 000F97C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FC86C 000F97CC 40 82 00 08 */ bne lbl_800FC874 +/* 800FC870 000F97D0 3B E0 00 00 */ li r31, 0 +lbl_800FC874: +/* 800FC874 000F97D4 80 9D 00 64 */ lwz r4, 0x64(r29) +/* 800FC878 000F97D8 38 60 00 00 */ li r3, 0 +/* 800FC87C 000F97DC 28 04 00 00 */ cmplwi r4, 0 +/* 800FC880 000F97E0 41 82 00 20 */ beq lbl_800FC8A0 +/* 800FC884 000F97E4 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800FC888 000F97E8 28 00 00 00 */ cmplwi r0, 0 +/* 800FC88C 000F97EC 40 82 00 10 */ bne lbl_800FC89C +/* 800FC890 000F97F0 88 04 00 28 */ lbz r0, 0x28(r4) +/* 800FC894 000F97F4 28 00 00 00 */ cmplwi r0, 0 +/* 800FC898 000F97F8 41 82 00 08 */ beq lbl_800FC8A0 +lbl_800FC89C: +/* 800FC89C 000F97FC 38 60 00 01 */ li r3, 1 +lbl_800FC8A0: +/* 800FC8A0 000F9800 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FC8A4 000F9804 41 82 00 7C */ beq lbl_800FC920 +/* 800FC8A8 000F9808 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FC8AC 000F980C C0 7D 02 74 */ lfs f3, 0x274(r29) +/* 800FC8B0 000F9810 C0 5D 02 AC */ lfs f2, 0x2ac(r29) +/* 800FC8B4 000F9814 EC 01 18 24 */ fdivs f0, f1, f3 +/* 800FC8B8 000F9818 FC 00 10 40 */ fcmpo cr0, f0, f2 +/* 800FC8BC 000F981C 40 81 00 1C */ ble lbl_800FC8D8 +/* 800FC8C0 000F9820 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FC8C4 000F9824 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 +/* 800FC8C8 000F9828 EC 00 10 28 */ fsubs f0, f0, f2 +/* 800FC8CC 000F982C EC 03 00 32 */ fmuls f0, f3, f0 +/* 800FC8D0 000F9830 EC E1 00 24 */ fdivs f7, f1, f0 +/* 800FC8D4 000F9834 48 00 00 08 */ b lbl_800FC8DC +lbl_800FC8D8: +/* 800FC8D8 000F9838 C0 E2 93 64 */ lfs f7, lbl_805AB084@sda21(r2) +lbl_800FC8DC: +/* 800FC8DC 000F983C C0 22 93 60 */ lfs f1, lbl_805AB080@sda21(r2) +/* 800FC8E0 000F9840 C0 1D 02 BC */ lfs f0, 0x2bc(r29) +/* 800FC8E4 000F9844 C0 7D 02 C0 */ lfs f3, 0x2c0(r29) +/* 800FC8E8 000F9848 EC C1 38 28 */ fsubs f6, f1, f7 +/* 800FC8EC 000F984C EC 00 01 F2 */ fmuls f0, f0, f7 +/* 800FC8F0 000F9850 C0 3D 02 B0 */ lfs f1, 0x2b0(r29) +/* 800FC8F4 000F9854 C0 5D 02 C4 */ lfs f2, 0x2c4(r29) +/* 800FC8F8 000F9858 EC 83 01 F2 */ fmuls f4, f3, f7 +/* 800FC8FC 000F985C C0 BD 02 B4 */ lfs f5, 0x2b4(r29) +/* 800FC900 000F9860 EC 01 01 BA */ fmadds f0, f1, f6, f0 +/* 800FC904 000F9864 C0 7D 02 B8 */ lfs f3, 0x2b8(r29) +/* 800FC908 000F9868 EC 22 01 F2 */ fmuls f1, f2, f7 +/* 800FC90C 000F986C EC 45 21 BA */ fmadds f2, f5, f6, f4 +/* 800FC910 000F9870 D0 04 00 00 */ stfs f0, 0(r4) +/* 800FC914 000F9874 EC 03 09 BA */ fmadds f0, f3, f6, f1 +/* 800FC918 000F9878 D0 44 00 04 */ stfs f2, 4(r4) +/* 800FC91C 000F987C D0 04 00 08 */ stfs f0, 8(r4) +lbl_800FC920: +/* 800FC920 000F9880 C0 3D 02 70 */ lfs f1, 0x270(r29) +/* 800FC924 000F9884 C0 1D 02 74 */ lfs f0, 0x274(r29) +/* 800FC928 000F9888 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FC92C 000F988C 4C 41 13 82 */ cror 2, 1, 2 +/* 800FC930 000F9890 40 82 00 D4 */ bne lbl_800FCA04 +/* 800FC934 000F9894 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800FC938 000F9898 38 60 00 00 */ li r3, 0 +/* 800FC93C 000F989C 38 A4 66 A0 */ addi r5, r4, skZero3f@l +/* 800FC940 000F98A0 C0 05 00 00 */ lfs f0, 0(r5) +/* 800FC944 000F98A4 38 80 00 01 */ li r4, 1 +/* 800FC948 000F98A8 D0 1D 01 50 */ stfs f0, 0x150(r29) +/* 800FC94C 000F98AC C0 05 00 04 */ lfs f0, 4(r5) +/* 800FC950 000F98B0 D0 1D 01 54 */ stfs f0, 0x154(r29) +/* 800FC954 000F98B4 C0 05 00 08 */ lfs f0, 8(r5) +/* 800FC958 000F98B8 D0 1D 01 58 */ stfs f0, 0x158(r29) +/* 800FC95C 000F98BC 80 AD 89 6C */ lwz r5, lbl_805A752C@sda21(r13) +/* 800FC960 000F98C0 48 28 D5 95 */ bl __shl2i +/* 800FC964 000F98C4 80 AD 89 70 */ lwz r5, lbl_805A7530@sda21(r13) +/* 800FC968 000F98C8 7C 9B 23 78 */ mr r27, r4 +/* 800FC96C 000F98CC 7C 7C 1B 78 */ mr r28, r3 +/* 800FC970 000F98D0 38 60 00 00 */ li r3, 0 +/* 800FC974 000F98D4 38 80 00 01 */ li r4, 1 +/* 800FC978 000F98D8 48 28 D5 7D */ bl __shl2i +/* 800FC97C 000F98DC 80 AD 89 74 */ lwz r5, lbl_805A7534@sda21(r13) +/* 800FC980 000F98E0 7F 7B 23 78 */ or r27, r27, r4 +/* 800FC984 000F98E4 7F 9C 1B 78 */ or r28, r28, r3 +/* 800FC988 000F98E8 38 60 00 00 */ li r3, 0 +/* 800FC98C 000F98EC 38 80 00 01 */ li r4, 1 +/* 800FC990 000F98F0 48 28 D5 65 */ bl __shl2i +/* 800FC994 000F98F4 80 AD 89 78 */ lwz r5, lbl_805A7538@sda21(r13) +/* 800FC998 000F98F8 7F 7B 23 78 */ or r27, r27, r4 +/* 800FC99C 000F98FC 7F 9C 1B 78 */ or r28, r28, r3 +/* 800FC9A0 000F9900 38 60 00 00 */ li r3, 0 +/* 800FC9A4 000F9904 38 80 00 01 */ li r4, 1 +/* 800FC9A8 000F9908 48 28 D5 4D */ bl __shl2i +/* 800FC9AC 000F990C 7F 7B 23 78 */ or r27, r27, r4 +/* 800FC9B0 000F9910 7F 9C 1B 78 */ or r28, r28, r3 +/* 800FC9B4 000F9914 38 60 FF FF */ li r3, -1 +/* 800FC9B8 000F9918 38 A0 00 00 */ li r5, 0 +/* 800FC9BC 000F991C 38 00 00 02 */ li r0, 2 +/* 800FC9C0 000F9920 90 61 01 0C */ stw r3, 0x10c(r1) +/* 800FC9C4 000F9924 7F A3 EB 78 */ mr r3, r29 +/* 800FC9C8 000F9928 38 81 01 08 */ addi r4, r1, 0x108 +/* 800FC9CC 000F992C 90 A1 01 08 */ stw r5, 0x108(r1) +/* 800FC9D0 000F9930 93 61 01 14 */ stw r27, 0x114(r1) +/* 800FC9D4 000F9934 93 81 01 10 */ stw r28, 0x110(r1) +/* 800FC9D8 000F9938 90 01 01 18 */ stw r0, 0x118(r1) +/* 800FC9DC 000F993C 4B F5 6E C5 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 800FC9E0 000F9940 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800FC9E4 000F9944 41 82 00 20 */ beq lbl_800FCA04 +/* 800FC9E8 000F9948 A0 1D 00 08 */ lhz r0, 8(r29) +/* 800FC9EC 000F994C 7F C3 F3 78 */ mr r3, r30 +/* 800FC9F0 000F9950 38 81 00 0C */ addi r4, r1, 0xc +/* 800FC9F4 000F9954 B0 01 00 08 */ sth r0, 8(r1) +/* 800FC9F8 000F9958 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800FC9FC 000F995C 4B F4 F8 71 */ bl FreeScriptObject__13CStateManagerF9TUniqueId +/* 800FCA00 000F9960 48 00 01 5C */ b lbl_800FCB5C +lbl_800FCA04: +/* 800FCA04 000F9964 88 1D 00 F8 */ lbz r0, 0xf8(r29) +/* 800FCA08 000F9968 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FCA0C 000F996C 41 82 01 50 */ beq lbl_800FCB5C +/* 800FCA10 000F9970 38 7D 01 38 */ addi r3, r29, 0x138 +/* 800FCA14 000F9974 48 21 7E A5 */ bl Magnitude__9CVector3fCFv +/* 800FCA18 000F9978 80 1D 02 E0 */ lwz r0, 0x2e0(r29) +/* 800FCA1C 000F997C 2C 00 00 08 */ cmpwi r0, 8 +/* 800FCA20 000F9980 40 80 00 24 */ bge lbl_800FCA44 +/* 800FCA24 000F9984 54 00 10 3A */ slwi r0, r0, 2 +/* 800FCA28 000F9988 7C 7D 02 14 */ add r3, r29, r0 +/* 800FCA2C 000F998C 34 63 02 E4 */ addic. r3, r3, 0x2e4 +/* 800FCA30 000F9990 41 82 00 08 */ beq lbl_800FCA38 +/* 800FCA34 000F9994 D0 23 00 00 */ stfs f1, 0(r3) +lbl_800FCA38: +/* 800FCA38 000F9998 80 7D 02 E0 */ lwz r3, 0x2e0(r29) +/* 800FCA3C 000F999C 38 03 00 01 */ addi r0, r3, 1 +/* 800FCA40 000F99A0 90 1D 02 E0 */ stw r0, 0x2e0(r29) +lbl_800FCA44: +/* 800FCA44 000F99A4 80 7D 02 E0 */ lwz r3, 0x2e0(r29) +/* 800FCA48 000F99A8 38 FD 02 E4 */ addi r7, r29, 0x2e4 +/* 800FCA4C 000F99AC 34 A3 FF FF */ addic. r5, r3, -1 +/* 800FCA50 000F99B0 54 A0 10 3A */ slwi r0, r5, 2 +/* 800FCA54 000F99B4 7C A3 2B 78 */ mr r3, r5 +/* 800FCA58 000F99B8 7C C7 02 14 */ add r6, r7, r0 +/* 800FCA5C 000F99BC 40 81 00 C4 */ ble lbl_800FCB20 +/* 800FCA60 000F99C0 54 A0 E8 FF */ rlwinm. r0, r5, 0x1d, 3, 0x1f +/* 800FCA64 000F99C4 7C 09 03 A6 */ mtctr r0 +/* 800FCA68 000F99C8 41 82 00 98 */ beq lbl_800FCB00 +lbl_800FCA6C: +/* 800FCA6C 000F99CC 38 85 FF FF */ addi r4, r5, -1 +/* 800FCA70 000F99D0 54 80 10 3A */ slwi r0, r4, 2 +/* 800FCA74 000F99D4 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800FCA78 000F99D8 38 85 FF FE */ addi r4, r5, -2 +/* 800FCA7C 000F99DC 54 80 10 3A */ slwi r0, r4, 2 +/* 800FCA80 000F99E0 D0 06 00 00 */ stfs f0, 0(r6) +/* 800FCA84 000F99E4 38 85 FF FD */ addi r4, r5, -3 +/* 800FCA88 000F99E8 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800FCA8C 000F99EC 54 80 10 3A */ slwi r0, r4, 2 +/* 800FCA90 000F99F0 38 85 FF FC */ addi r4, r5, -4 +/* 800FCA94 000F99F4 D0 06 FF FC */ stfs f0, -4(r6) +/* 800FCA98 000F99F8 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800FCA9C 000F99FC 54 80 10 3A */ slwi r0, r4, 2 +/* 800FCAA0 000F9A00 38 85 FF FB */ addi r4, r5, -5 +/* 800FCAA4 000F9A04 D0 06 FF F8 */ stfs f0, -8(r6) +/* 800FCAA8 000F9A08 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800FCAAC 000F9A0C 54 80 10 3A */ slwi r0, r4, 2 +/* 800FCAB0 000F9A10 38 85 FF FA */ addi r4, r5, -6 +/* 800FCAB4 000F9A14 D0 06 FF F4 */ stfs f0, -0xc(r6) +/* 800FCAB8 000F9A18 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800FCABC 000F9A1C 54 80 10 3A */ slwi r0, r4, 2 +/* 800FCAC0 000F9A20 38 85 FF F9 */ addi r4, r5, -7 +/* 800FCAC4 000F9A24 D0 06 FF F0 */ stfs f0, -0x10(r6) +/* 800FCAC8 000F9A28 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800FCACC 000F9A2C 54 80 10 3A */ slwi r0, r4, 2 +/* 800FCAD0 000F9A30 38 85 FF F8 */ addi r4, r5, -8 +/* 800FCAD4 000F9A34 38 A5 FF F8 */ addi r5, r5, -8 +/* 800FCAD8 000F9A38 D0 06 FF EC */ stfs f0, -0x14(r6) +/* 800FCADC 000F9A3C 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800FCAE0 000F9A40 54 80 10 3A */ slwi r0, r4, 2 +/* 800FCAE4 000F9A44 D0 06 FF E8 */ stfs f0, -0x18(r6) +/* 800FCAE8 000F9A48 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800FCAEC 000F9A4C D0 06 FF E4 */ stfs f0, -0x1c(r6) +/* 800FCAF0 000F9A50 38 C6 FF E0 */ addi r6, r6, -32 +/* 800FCAF4 000F9A54 42 00 FF 78 */ bdnz lbl_800FCA6C +/* 800FCAF8 000F9A58 70 63 00 07 */ andi. r3, r3, 7 +/* 800FCAFC 000F9A5C 41 82 00 24 */ beq lbl_800FCB20 +lbl_800FCB00: +/* 800FCB00 000F9A60 7C 69 03 A6 */ mtctr r3 +lbl_800FCB04: +/* 800FCB04 000F9A64 38 85 FF FF */ addi r4, r5, -1 +/* 800FCB08 000F9A68 38 A5 FF FF */ addi r5, r5, -1 +/* 800FCB0C 000F9A6C 54 80 10 3A */ slwi r0, r4, 2 +/* 800FCB10 000F9A70 7C 07 04 2E */ lfsx f0, r7, r0 +/* 800FCB14 000F9A74 D0 06 00 00 */ stfs f0, 0(r6) +/* 800FCB18 000F9A78 38 C6 FF FC */ addi r6, r6, -4 +/* 800FCB1C 000F9A7C 42 00 FF E8 */ bdnz lbl_800FCB04 +lbl_800FCB20: +/* 800FCB20 000F9A80 D0 27 00 00 */ stfs f1, 0(r7) +/* 800FCB24 000F9A84 38 61 00 10 */ addi r3, r1, 0x10 +/* 800FCB28 000F9A88 38 9D 02 E0 */ addi r4, r29, 0x2e0 +/* 800FCB2C 000F9A8C 48 00 00 4D */ bl "GetAverage__21TReservedAverageCFv" +/* 800FCB30 000F9A90 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 800FCB34 000F9A94 C0 02 93 80 */ lfs f0, lbl_805AB0A0@sda21(r2) +/* 800FCB38 000F9A98 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800FCB3C 000F9A9C 7C 00 00 26 */ mfcr r0 +/* 800FCB40 000F9AA0 38 60 00 00 */ li r3, 0 +/* 800FCB44 000F9AA4 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f +/* 800FCB48 000F9AA8 98 61 00 14 */ stb r3, 0x14(r1) +/* 800FCB4C 000F9AAC 41 82 00 10 */ beq lbl_800FCB5C +/* 800FCB50 000F9AB0 88 1D 00 F8 */ lbz r0, 0xf8(r29) +/* 800FCB54 000F9AB4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800FCB58 000F9AB8 98 1D 00 F8 */ stb r0, 0xf8(r29) +lbl_800FCB5C: +/* 800FCB5C 000F9ABC E3 E1 02 C8 */ psq_l f31, 712(r1), 0, qr0 +/* 800FCB60 000F9AC0 CB E1 02 C0 */ lfd f31, 0x2c0(r1) +/* 800FCB64 000F9AC4 BB 61 02 AC */ lmw r27, 0x2ac(r1) +/* 800FCB68 000F9AC8 80 01 02 D4 */ lwz r0, 0x2d4(r1) +/* 800FCB6C 000F9ACC 7C 08 03 A6 */ mtlr r0 +/* 800FCB70 000F9AD0 38 21 02 D0 */ addi r1, r1, 0x2d0 +/* 800FCB74 000F9AD4 4E 80 00 20 */ blr + +.global "GetAverage__21TReservedAverageCFv" +"GetAverage__21TReservedAverageCFv": +/* 800FCB78 000F9AD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FCB7C 000F9ADC 7C 08 02 A6 */ mflr r0 +/* 800FCB80 000F9AE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FCB84 000F9AE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FCB88 000F9AE8 7C 7F 1B 78 */ mr r31, r3 +/* 800FCB8C 000F9AEC 80 04 00 00 */ lwz r0, 0(r4) +/* 800FCB90 000F9AF0 2C 00 00 00 */ cmpwi r0, 0 +/* 800FCB94 000F9AF4 40 82 00 10 */ bne lbl_800FCBA4 +/* 800FCB98 000F9AF8 38 00 00 00 */ li r0, 0 +/* 800FCB9C 000F9AFC 98 1F 00 04 */ stb r0, 4(r31) +/* 800FCBA0 000F9B00 48 00 00 24 */ b lbl_800FCBC4 +lbl_800FCBA4: +/* 800FCBA4 000F9B04 38 64 00 04 */ addi r3, r4, 4 +/* 800FCBA8 000F9B08 7C 04 03 78 */ mr r4, r0 +/* 800FCBAC 000F9B0C 4B F0 BC E9 */ bl "GetAverageValue__FPCfi" +/* 800FCBB0 000F9B10 38 00 00 01 */ li r0, 1 +/* 800FCBB4 000F9B14 28 1F 00 00 */ cmplwi r31, 0 +/* 800FCBB8 000F9B18 98 1F 00 04 */ stb r0, 4(r31) +/* 800FCBBC 000F9B1C 41 82 00 08 */ beq lbl_800FCBC4 +/* 800FCBC0 000F9B20 D0 3F 00 00 */ stfs f1, 0(r31) +lbl_800FCBC4: +/* 800FCBC4 000F9B24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FCBC8 000F9B28 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FCBCC 000F9B2C 7C 08 03 A6 */ mtlr r0 +/* 800FCBD0 000F9B30 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FCBD4 000F9B34 4E 80 00 20 */ blr + +.global GetParticleCount__11CElementGenCFv +GetParticleCount__11CElementGenCFv: +/* 800FCBD8 000F9B38 80 63 02 5C */ lwz r3, 0x25c(r3) +/* 800FCBDC 000F9B3C 4E 80 00 20 */ blr + +.global __dt__13CScriptDebrisFv +__dt__13CScriptDebrisFv: +/* 800FCBE0 000F9B40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FCBE4 000F9B44 7C 08 02 A6 */ mflr r0 +/* 800FCBE8 000F9B48 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FCBEC 000F9B4C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FCBF0 000F9B50 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800FCBF4 000F9B54 93 C1 00 08 */ stw r30, 8(r1) +/* 800FCBF8 000F9B58 7C 9E 23 78 */ mr r30, r4 +/* 800FCBFC 000F9B5C 41 82 01 08 */ beq lbl_800FCD04 +/* 800FCC00 000F9B60 3C 60 80 3E */ lis r3, lbl_803DFD78@ha +/* 800FCC04 000F9B64 34 1F 02 E0 */ addic. r0, r31, 0x2e0 +/* 800FCC08 000F9B68 38 03 FD 78 */ addi r0, r3, lbl_803DFD78@l +/* 800FCC0C 000F9B6C 90 1F 00 00 */ stw r0, 0(r31) +/* 800FCC10 000F9B70 41 82 00 60 */ beq lbl_800FCC70 +/* 800FCC14 000F9B74 34 1F 02 E0 */ addic. r0, r31, 0x2e0 +/* 800FCC18 000F9B78 41 82 00 58 */ beq lbl_800FCC70 +/* 800FCC1C 000F9B7C 80 BF 02 E0 */ lwz r5, 0x2e0(r31) +/* 800FCC20 000F9B80 38 60 00 00 */ li r3, 0 +/* 800FCC24 000F9B84 2C 05 00 00 */ cmpwi r5, 0 +/* 800FCC28 000F9B88 40 81 00 40 */ ble lbl_800FCC68 +/* 800FCC2C 000F9B8C 2C 05 00 08 */ cmpwi r5, 8 +/* 800FCC30 000F9B90 38 85 FF F8 */ addi r4, r5, -8 +/* 800FCC34 000F9B94 40 81 00 20 */ ble lbl_800FCC54 +/* 800FCC38 000F9B98 38 04 00 07 */ addi r0, r4, 7 +/* 800FCC3C 000F9B9C 54 00 E8 FE */ srwi r0, r0, 3 +/* 800FCC40 000F9BA0 7C 09 03 A6 */ mtctr r0 +/* 800FCC44 000F9BA4 2C 04 00 00 */ cmpwi r4, 0 +/* 800FCC48 000F9BA8 40 81 00 0C */ ble lbl_800FCC54 +lbl_800FCC4C: +/* 800FCC4C 000F9BAC 38 63 00 08 */ addi r3, r3, 8 +/* 800FCC50 000F9BB0 42 00 FF FC */ bdnz lbl_800FCC4C +lbl_800FCC54: +/* 800FCC54 000F9BB4 7C 03 28 50 */ subf r0, r3, r5 +/* 800FCC58 000F9BB8 7C 09 03 A6 */ mtctr r0 +/* 800FCC5C 000F9BBC 7C 03 28 00 */ cmpw r3, r5 +/* 800FCC60 000F9BC0 40 80 00 08 */ bge lbl_800FCC68 +lbl_800FCC64: +/* 800FCC64 000F9BC4 42 00 00 00 */ bdnz lbl_800FCC64 +lbl_800FCC68: +/* 800FCC68 000F9BC8 38 00 00 00 */ li r0, 0 +/* 800FCC6C 000F9BCC 90 1F 02 E0 */ stw r0, 0x2e0(r31) +lbl_800FCC70: +/* 800FCC70 000F9BD0 34 1F 02 DC */ addic. r0, r31, 0x2dc +/* 800FCC74 000F9BD4 41 82 00 24 */ beq lbl_800FCC98 +/* 800FCC78 000F9BD8 80 7F 02 DC */ lwz r3, 0x2dc(r31) +/* 800FCC7C 000F9BDC 28 03 00 00 */ cmplwi r3, 0 +/* 800FCC80 000F9BE0 41 82 00 18 */ beq lbl_800FCC98 +/* 800FCC84 000F9BE4 81 83 00 00 */ lwz r12, 0(r3) +/* 800FCC88 000F9BE8 38 80 00 01 */ li r4, 1 +/* 800FCC8C 000F9BEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FCC90 000F9BF0 7D 89 03 A6 */ mtctr r12 +/* 800FCC94 000F9BF4 4E 80 04 21 */ bctrl +lbl_800FCC98: +/* 800FCC98 000F9BF8 34 1F 02 D8 */ addic. r0, r31, 0x2d8 +/* 800FCC9C 000F9BFC 41 82 00 24 */ beq lbl_800FCCC0 +/* 800FCCA0 000F9C00 80 7F 02 D8 */ lwz r3, 0x2d8(r31) +/* 800FCCA4 000F9C04 28 03 00 00 */ cmplwi r3, 0 +/* 800FCCA8 000F9C08 41 82 00 18 */ beq lbl_800FCCC0 +/* 800FCCAC 000F9C0C 81 83 00 00 */ lwz r12, 0(r3) +/* 800FCCB0 000F9C10 38 80 00 01 */ li r4, 1 +/* 800FCCB4 000F9C14 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FCCB8 000F9C18 7D 89 03 A6 */ mtctr r12 +/* 800FCCBC 000F9C1C 4E 80 04 21 */ bctrl +lbl_800FCCC0: +/* 800FCCC0 000F9C20 34 1F 02 D4 */ addic. r0, r31, 0x2d4 +/* 800FCCC4 000F9C24 41 82 00 24 */ beq lbl_800FCCE8 +/* 800FCCC8 000F9C28 80 7F 02 D4 */ lwz r3, 0x2d4(r31) +/* 800FCCCC 000F9C2C 28 03 00 00 */ cmplwi r3, 0 +/* 800FCCD0 000F9C30 41 82 00 18 */ beq lbl_800FCCE8 +/* 800FCCD4 000F9C34 81 83 00 00 */ lwz r12, 0(r3) +/* 800FCCD8 000F9C38 38 80 00 01 */ li r4, 1 +/* 800FCCDC 000F9C3C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FCCE0 000F9C40 7D 89 03 A6 */ mtctr r12 +/* 800FCCE4 000F9C44 4E 80 04 21 */ bctrl +lbl_800FCCE8: +/* 800FCCE8 000F9C48 7F E3 FB 78 */ mr r3, r31 +/* 800FCCEC 000F9C4C 38 80 00 00 */ li r4, 0 +/* 800FCCF0 000F9C50 48 01 F7 25 */ bl __dt__13CPhysicsActorFv +/* 800FCCF4 000F9C54 7F C0 07 35 */ extsh. r0, r30 +/* 800FCCF8 000F9C58 40 81 00 0C */ ble lbl_800FCD04 +/* 800FCCFC 000F9C5C 7F E3 FB 78 */ mr r3, r31 +/* 800FCD00 000F9C60 48 21 8C 31 */ bl Free__7CMemoryFPCv +lbl_800FCD04: +/* 800FCD04 000F9C64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FCD08 000F9C68 7F E3 FB 78 */ mr r3, r31 +/* 800FCD0C 000F9C6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FCD10 000F9C70 83 C1 00 08 */ lwz r30, 8(r1) +/* 800FCD14 000F9C74 7C 08 03 A6 */ mtlr r0 +/* 800FCD18 000F9C78 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FCD1C 000F9C7C 4E 80 00 20 */ blr + +.global "__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersfffffffffRC6CColorRC6CColorfRC9CVector3fRC9CVector3fffRC9CVector3fUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fQ213CScriptDebris16EOrientationTypebbb" +"__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersfffffffffRC6CColorRC6CColorfRC9CVector3fRC9CVector3fffRC9CVector3fUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fQ213CScriptDebris16EOrientationTypebbb": +/* 800FCD20 000F9C80 94 21 FD 60 */ stwu r1, -0x2a0(r1) +/* 800FCD24 000F9C84 7C 08 02 A6 */ mflr r0 +/* 800FCD28 000F9C88 90 01 02 A4 */ stw r0, 0x2a4(r1) +/* 800FCD2C 000F9C8C DB E1 02 90 */ stfd f31, 0x290(r1) +/* 800FCD30 000F9C90 F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 +/* 800FCD34 000F9C94 DB C1 02 80 */ stfd f30, 0x280(r1) +/* 800FCD38 000F9C98 F3 C1 02 88 */ psq_st f30, 648(r1), 0, qr0 +/* 800FCD3C 000F9C9C DB A1 02 70 */ stfd f29, 0x270(r1) +/* 800FCD40 000F9CA0 F3 A1 02 78 */ psq_st f29, 632(r1), 0, qr0 +/* 800FCD44 000F9CA4 DB 81 02 60 */ stfd f28, 0x260(r1) +/* 800FCD48 000F9CA8 F3 81 02 68 */ psq_st f28, 616(r1), 0, qr0 +/* 800FCD4C 000F9CAC DB 61 02 50 */ stfd f27, 0x250(r1) +/* 800FCD50 000F9CB0 F3 61 02 58 */ psq_st f27, 600(r1), 0, qr0 +/* 800FCD54 000F9CB4 DB 41 02 40 */ stfd f26, 0x240(r1) +/* 800FCD58 000F9CB8 F3 41 02 48 */ psq_st f26, 584(r1), 0, qr0 +/* 800FCD5C 000F9CBC DB 21 02 30 */ stfd f25, 0x230(r1) +/* 800FCD60 000F9CC0 F3 21 02 38 */ psq_st f25, 568(r1), 0, qr0 +/* 800FCD64 000F9CC4 DB 01 02 20 */ stfd f24, 0x220(r1) +/* 800FCD68 000F9CC8 F3 01 02 28 */ psq_st f24, 552(r1), 0, qr0 +/* 800FCD6C 000F9CCC DA E1 02 10 */ stfd f23, 0x210(r1) +/* 800FCD70 000F9CD0 F2 E1 02 18 */ psq_st f23, 536(r1), 0, qr0 +/* 800FCD74 000F9CD4 DA C1 02 00 */ stfd f22, 0x200(r1) +/* 800FCD78 000F9CD8 F2 C1 02 08 */ psq_st f22, 520(r1), 0, qr0 +/* 800FCD7C 000F9CDC DA A1 01 F0 */ stfd f21, 0x1f0(r1) +/* 800FCD80 000F9CE0 F2 A1 01 F8 */ psq_st f21, 504(r1), 0, qr0 +/* 800FCD84 000F9CE4 DA 81 01 E0 */ stfd f20, 0x1e0(r1) +/* 800FCD88 000F9CE8 F2 81 01 E8 */ psq_st f20, 488(r1), 0, qr0 +/* 800FCD8C 000F9CEC BD C1 01 98 */ stmw r14, 0x198(r1) +/* 800FCD90 000F9CF0 FE 80 08 90 */ fmr f20, f1 +/* 800FCD94 000F9CF4 C3 81 02 A8 */ lfs f28, 0x2a8(r1) +/* 800FCD98 000F9CF8 FE A0 10 90 */ fmr f21, f2 +/* 800FCD9C 000F9CFC 83 21 02 AC */ lwz r25, 0x2ac(r1) +/* 800FCDA0 000F9D00 FE C0 18 90 */ fmr f22, f3 +/* 800FCDA4 000F9D04 C3 A1 02 B0 */ lfs f29, 0x2b0(r1) +/* 800FCDA8 000F9D08 FE E0 20 90 */ fmr f23, f4 +/* 800FCDAC 000F9D0C 83 41 02 B4 */ lwz r26, 0x2b4(r1) +/* 800FCDB0 000F9D10 FF 00 28 90 */ fmr f24, f5 +/* 800FCDB4 000F9D14 83 61 02 B8 */ lwz r27, 0x2b8(r1) +/* 800FCDB8 000F9D18 FF 20 30 90 */ fmr f25, f6 +/* 800FCDBC 000F9D1C C3 C1 02 BC */ lfs f30, 0x2bc(r1) +/* 800FCDC0 000F9D20 FF 40 38 90 */ fmr f26, f7 +/* 800FCDC4 000F9D24 C3 E1 02 C0 */ lfs f31, 0x2c0(r1) +/* 800FCDC8 000F9D28 FF 60 40 90 */ fmr f27, f8 +/* 800FCDCC 000F9D2C 83 81 02 C4 */ lwz r28, 0x2c4(r1) +/* 800FCDD0 000F9D30 83 A1 02 C8 */ lwz r29, 0x2c8(r1) +/* 800FCDD4 000F9D34 7C 71 1B 78 */ mr r17, r3 +/* 800FCDD8 000F9D38 83 C1 02 DC */ lwz r30, 0x2dc(r1) +/* 800FCDDC 000F9D3C 7C 92 23 78 */ mr r18, r4 +/* 800FCDE0 000F9D40 83 E1 02 F0 */ lwz r31, 0x2f0(r1) +/* 800FCDE4 000F9D44 7C B3 2B 78 */ mr r19, r5 +/* 800FCDE8 000F9D48 89 C1 03 0B */ lbz r14, 0x30b(r1) +/* 800FCDEC 000F9D4C 7C D4 33 78 */ mr r20, r6 +/* 800FCDF0 000F9D50 7C F5 3B 78 */ mr r21, r7 +/* 800FCDF4 000F9D54 7D 16 43 78 */ mr r22, r8 +/* 800FCDF8 000F9D58 7D 37 4B 78 */ mr r23, r9 +/* 800FCDFC 000F9D5C 7D 58 53 78 */ mr r24, r10 +/* 800FCE00 000F9D60 4B F1 E7 35 */ bl Identity__10CAxisAngleFv +/* 800FCE04 000F9D64 7C 6F 1B 78 */ mr r15, r3 +/* 800FCE08 000F9D68 4B F1 E7 2D */ bl Identity__10CAxisAngleFv +/* 800FCE0C 000F9D6C 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800FCE10 000F9D70 80 16 00 10 */ lwz r0, 0x10(r22) +/* 800FCE14 000F9D74 3A 04 66 A0 */ addi r16, r4, skZero3f@l +/* 800FCE18 000F9D78 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) +/* 800FCE1C 000F9D7C C0 50 00 00 */ lfs f2, 0(r16) +/* 800FCE20 000F9D80 28 00 00 00 */ cmplwi r0, 0 +/* 800FCE24 000F9D84 C0 70 00 04 */ lfs f3, 4(r16) +/* 800FCE28 000F9D88 38 80 00 00 */ li r4, 0 +/* 800FCE2C 000F9D8C C0 90 00 08 */ lfs f4, 8(r16) +/* 800FCE30 000F9D90 D0 41 01 28 */ stfs f2, 0x128(r1) +/* 800FCE34 000F9D94 D0 61 01 2C */ stfs f3, 0x12c(r1) +/* 800FCE38 000F9D98 D0 81 01 30 */ stfs f4, 0x130(r1) +/* 800FCE3C 000F9D9C C0 23 00 00 */ lfs f1, 0(r3) +/* 800FCE40 000F9DA0 D0 21 01 34 */ stfs f1, 0x134(r1) +/* 800FCE44 000F9DA4 C0 23 00 04 */ lfs f1, 4(r3) +/* 800FCE48 000F9DA8 D0 21 01 38 */ stfs f1, 0x138(r1) +/* 800FCE4C 000F9DAC C0 23 00 08 */ lfs f1, 8(r3) +/* 800FCE50 000F9DB0 D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 800FCE54 000F9DB4 D0 41 01 40 */ stfs f2, 0x140(r1) +/* 800FCE58 000F9DB8 D0 61 01 44 */ stfs f3, 0x144(r1) +/* 800FCE5C 000F9DBC D0 81 01 48 */ stfs f4, 0x148(r1) +/* 800FCE60 000F9DC0 C0 2F 00 00 */ lfs f1, 0(r15) +/* 800FCE64 000F9DC4 D0 21 01 4C */ stfs f1, 0x14c(r1) +/* 800FCE68 000F9DC8 C0 2F 00 04 */ lfs f1, 4(r15) +/* 800FCE6C 000F9DCC D0 21 01 50 */ stfs f1, 0x150(r1) +/* 800FCE70 000F9DD0 C0 2F 00 08 */ lfs f1, 8(r15) +/* 800FCE74 000F9DD4 D0 21 01 54 */ stfs f1, 0x154(r1) +/* 800FCE78 000F9DD8 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 800FCE7C 000F9DDC 40 82 00 14 */ bne lbl_800FCE90 +/* 800FCE80 000F9DE0 88 16 00 28 */ lbz r0, 0x28(r22) +/* 800FCE84 000F9DE4 28 00 00 00 */ cmplwi r0, 0 +/* 800FCE88 000F9DE8 40 82 00 08 */ bne lbl_800FCE90 +/* 800FCE8C 000F9DEC 38 80 00 01 */ li r4, 1 +lbl_800FCE90: +/* 800FCE90 000F9DF0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800FCE94 000F9DF4 41 82 00 3C */ beq lbl_800FCED0 +/* 800FCE98 000F9DF8 C0 22 93 84 */ lfs f1, lbl_805AB0A4@sda21(r2) +/* 800FCE9C 000F9DFC 38 61 01 10 */ addi r3, r1, 0x110 +/* 800FCEA0 000F9E00 C0 02 93 88 */ lfs f0, lbl_805AB0A8@sda21(r2) +/* 800FCEA4 000F9E04 38 81 00 AC */ addi r4, r1, 0xac +/* 800FCEA8 000F9E08 D0 21 00 B8 */ stfs f1, 0xb8(r1) +/* 800FCEAC 000F9E0C 38 A1 00 B8 */ addi r5, r1, 0xb8 +/* 800FCEB0 000F9E10 D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 800FCEB4 000F9E14 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 800FCEB8 000F9E18 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 800FCEBC 000F9E1C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 800FCEC0 000F9E20 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 800FCEC4 000F9E24 48 23 B6 45 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800FCEC8 000F9E28 7C 6F 1B 78 */ mr r15, r3 +/* 800FCECC 000F9E2C 48 00 00 24 */ b lbl_800FCEF0 +lbl_800FCED0: +/* 800FCED0 000F9E30 7E A4 AB 78 */ mr r4, r21 +/* 800FCED4 000F9E34 38 61 01 5C */ addi r3, r1, 0x15c +/* 800FCED8 000F9E38 48 21 5D 69 */ bl GetRotation__12CTransform4fCFv +/* 800FCEDC 000F9E3C 7E C4 B3 78 */ mr r4, r22 +/* 800FCEE0 000F9E40 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800FCEE4 000F9E44 38 A1 01 5C */ addi r5, r1, 0x15c +/* 800FCEE8 000F9E48 48 01 88 CD */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 800FCEEC 000F9E4C 39 E1 00 F8 */ addi r15, r1, 0xf8 +lbl_800FCEF0: +/* 800FCEF0 000F9E50 38 00 00 00 */ li r0, 0 +/* 800FCEF4 000F9E54 80 AD 89 3C */ lwz r5, lbl_805A74FC@sda21(r13) +/* 800FCEF8 000F9E58 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800FCEFC 000F9E5C 38 60 00 00 */ li r3, 0 +/* 800FCF00 000F9E60 38 80 00 01 */ li r4, 1 +/* 800FCF04 000F9E64 90 01 00 68 */ stw r0, 0x68(r1) +/* 800FCF08 000F9E68 48 28 CF ED */ bl __shl2i +/* 800FCF0C 000F9E6C 80 01 00 68 */ lwz r0, 0x68(r1) +/* 800FCF10 000F9E70 80 C1 00 6C */ lwz r6, 0x6c(r1) +/* 800FCF14 000F9E74 7C 00 1B 78 */ or r0, r0, r3 +/* 800FCF18 000F9E78 80 AD 89 40 */ lwz r5, lbl_805A7500@sda21(r13) +/* 800FCF1C 000F9E7C 7C C4 23 78 */ or r4, r6, r4 +/* 800FCF20 000F9E80 90 01 00 68 */ stw r0, 0x68(r1) +/* 800FCF24 000F9E84 38 60 00 00 */ li r3, 0 +/* 800FCF28 000F9E88 90 81 00 6C */ stw r4, 0x6c(r1) +/* 800FCF2C 000F9E8C 38 80 00 01 */ li r4, 1 +/* 800FCF30 000F9E90 48 28 CF C5 */ bl __shl2i +/* 800FCF34 000F9E94 80 01 00 68 */ lwz r0, 0x68(r1) +/* 800FCF38 000F9E98 7D C5 73 78 */ mr r5, r14 +/* 800FCF3C 000F9E9C 80 E1 00 6C */ lwz r7, 0x6c(r1) +/* 800FCF40 000F9EA0 7E 66 9B 78 */ mr r6, r19 +/* 800FCF44 000F9EA4 7C 03 1B 78 */ or r3, r0, r3 +/* 800FCF48 000F9EA8 A0 12 00 00 */ lhz r0, 0(r18) +/* 800FCF4C 000F9EAC 7C E4 23 78 */ or r4, r7, r4 +/* 800FCF50 000F9EB0 90 61 00 68 */ stw r3, 0x68(r1) +/* 800FCF54 000F9EB4 C0 22 93 8C */ lfs f1, lbl_805AB0AC@sda21(r2) +/* 800FCF58 000F9EB8 7E 23 8B 78 */ mr r3, r17 +/* 800FCF5C 000F9EBC 90 81 00 6C */ stw r4, 0x6c(r1) +/* 800FCF60 000F9EC0 7E 87 A3 78 */ mr r7, r20 +/* 800FCF64 000F9EC4 C0 42 93 80 */ lfs f2, lbl_805AB0A0@sda21(r2) +/* 800FCF68 000F9EC8 7E A8 AB 78 */ mr r8, r21 +/* 800FCF6C 000F9ECC B0 01 00 18 */ sth r0, 0x18(r1) +/* 800FCF70 000F9ED0 38 01 01 28 */ addi r0, r1, 0x128 +/* 800FCF74 000F9ED4 7E C9 B3 78 */ mr r9, r22 +/* 800FCF78 000F9ED8 38 81 00 18 */ addi r4, r1, 0x18 +/* 800FCF7C 000F9EDC 91 E1 00 08 */ stw r15, 8(r1) +/* 800FCF80 000F9EE0 39 41 00 68 */ addi r10, r1, 0x68 +/* 800FCF84 000F9EE4 90 01 00 0C */ stw r0, 0xc(r1) +/* 800FCF88 000F9EE8 92 E1 00 10 */ stw r23, 0x10(r1) +/* 800FCF8C 000F9EEC 48 01 F5 25 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 800FCF90 000F9EF0 3C 60 80 3E */ lis r3, lbl_803DFD78@ha +/* 800FCF94 000F9EF4 C0 02 93 90 */ lfs f0, lbl_805AB0B0@sda21(r2) +/* 800FCF98 000F9EF8 38 03 FD 78 */ addi r0, r3, lbl_803DFD78@l +/* 800FCF9C 000F9EFC C0 62 93 64 */ lfs f3, lbl_805AB084@sda21(r2) +/* 800FCFA0 000F9F00 90 11 00 00 */ stw r0, 0(r17) +/* 800FCFA4 000F9F04 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FCFA8 000F9F08 38 00 00 00 */ li r0, 0 +/* 800FCFAC 000F9F0C 38 A0 00 01 */ li r5, 1 +/* 800FCFB0 000F9F10 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) +/* 800FCFB4 000F9F14 EC 5B 00 24 */ fdivs f2, f27, f0 +/* 800FCFB8 000F9F18 D0 31 02 58 */ stfs f1, 0x258(r17) +/* 800FCFBC 000F9F1C C0 30 00 04 */ lfs f1, 4(r16) +/* 800FCFC0 000F9F20 D0 31 02 5C */ stfs f1, 0x25c(r17) +/* 800FCFC4 000F9F24 C0 90 00 08 */ lfs f4, 8(r16) +/* 800FCFC8 000F9F28 D0 91 02 60 */ stfs f4, 0x260(r17) +/* 800FCFCC 000F9F2C 80 98 00 00 */ lwz r4, 0(r24) +/* 800FCFD0 000F9F30 EC 3C 00 24 */ fdivs f1, f28, f0 +/* 800FCFD4 000F9F34 90 91 02 64 */ stw r4, 0x264(r17) +/* 800FCFD8 000F9F38 80 99 00 00 */ lwz r4, 0(r25) +/* 800FCFDC 000F9F3C 90 91 02 68 */ stw r4, 0x268(r17) +/* 800FCFE0 000F9F40 D0 71 02 6C */ stfs f3, 0x26c(r17) +/* 800FCFE4 000F9F44 D0 71 02 70 */ stfs f3, 0x270(r17) +/* 800FCFE8 000F9F48 D0 71 02 74 */ stfs f3, 0x274(r17) +/* 800FCFEC 000F9F4C EC 1D 00 24 */ fdivs f0, f29, f0 +/* 800FCFF0 000F9F50 D0 71 02 78 */ stfs f3, 0x278(r17) +/* 800FCFF4 000F9F54 D3 D1 02 7C */ stfs f30, 0x27c(r17) +/* 800FCFF8 000F9F58 98 11 02 80 */ stb r0, 0x280(r17) +/* 800FCFFC 000F9F5C 88 91 02 81 */ lbz r4, 0x281(r17) +/* 800FD000 000F9F60 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 +/* 800FD004 000F9F64 98 91 02 81 */ stb r4, 0x281(r17) +/* 800FD008 000F9F68 88 81 02 D3 */ lbz r4, 0x2d3(r1) +/* 800FD00C 000F9F6C 88 D1 02 81 */ lbz r6, 0x281(r17) +/* 800FD010 000F9F70 50 86 36 72 */ rlwimi r6, r4, 6, 0x19, 0x19 +/* 800FD014 000F9F74 88 81 02 D7 */ lbz r4, 0x2d7(r1) +/* 800FD018 000F9F78 98 D1 02 81 */ stb r6, 0x281(r17) +/* 800FD01C 000F9F7C 88 D1 02 81 */ lbz r6, 0x281(r17) +/* 800FD020 000F9F80 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a +/* 800FD024 000F9F84 88 81 02 E7 */ lbz r4, 0x2e7(r1) +/* 800FD028 000F9F88 98 D1 02 81 */ stb r6, 0x281(r17) +/* 800FD02C 000F9F8C 88 D1 02 81 */ lbz r6, 0x281(r17) +/* 800FD030 000F9F90 50 86 26 F6 */ rlwimi r6, r4, 4, 0x1b, 0x1b +/* 800FD034 000F9F94 88 81 02 EB */ lbz r4, 0x2eb(r1) +/* 800FD038 000F9F98 98 D1 02 81 */ stb r6, 0x281(r17) +/* 800FD03C 000F9F9C 88 D1 02 81 */ lbz r6, 0x281(r17) +/* 800FD040 000F9FA0 50 86 1F 38 */ rlwimi r6, r4, 3, 0x1c, 0x1c +/* 800FD044 000F9FA4 98 D1 02 81 */ stb r6, 0x281(r17) +/* 800FD048 000F9FA8 88 91 02 81 */ lbz r4, 0x281(r17) +/* 800FD04C 000F9FAC 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d +/* 800FD050 000F9FB0 98 91 02 81 */ stb r4, 0x281(r17) +/* 800FD054 000F9FB4 88 91 02 81 */ lbz r4, 0x281(r17) +/* 800FD058 000F9FB8 50 A4 0F BC */ rlwimi r4, r5, 1, 0x1e, 0x1e +/* 800FD05C 000F9FBC 98 91 02 81 */ stb r4, 0x281(r17) +/* 800FD060 000F9FC0 88 81 03 03 */ lbz r4, 0x303(r1) +/* 800FD064 000F9FC4 88 B1 02 81 */ lbz r5, 0x281(r17) +/* 800FD068 000F9FC8 50 85 07 FE */ rlwimi r5, r4, 0, 0x1f, 0x1f +/* 800FD06C 000F9FCC 88 81 03 07 */ lbz r4, 0x307(r1) +/* 800FD070 000F9FD0 98 B1 02 81 */ stb r5, 0x281(r17) +/* 800FD074 000F9FD4 88 B1 02 82 */ lbz r5, 0x282(r17) +/* 800FD078 000F9FD8 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18 +/* 800FD07C 000F9FDC 80 81 02 D8 */ lwz r4, 0x2d8(r1) +/* 800FD080 000F9FE0 98 B1 02 82 */ stb r5, 0x282(r17) +/* 800FD084 000F9FE4 98 91 02 83 */ stb r4, 0x283(r17) +/* 800FD088 000F9FE8 80 81 02 EC */ lwz r4, 0x2ec(r1) +/* 800FD08C 000F9FEC 98 91 02 84 */ stb r4, 0x284(r17) +/* 800FD090 000F9FF0 80 81 02 F8 */ lwz r4, 0x2f8(r1) +/* 800FD094 000F9FF4 98 91 02 85 */ stb r4, 0x285(r17) +/* 800FD098 000F9FF8 D2 91 02 88 */ stfs f20, 0x288(r17) +/* 800FD09C 000F9FFC D2 B1 02 8C */ stfs f21, 0x28c(r17) +/* 800FD0A0 000FA000 D2 D1 02 90 */ stfs f22, 0x290(r17) +/* 800FD0A4 000FA004 D2 F1 02 94 */ stfs f23, 0x294(r17) +/* 800FD0A8 000FA008 D3 11 02 98 */ stfs f24, 0x298(r17) +/* 800FD0AC 000FA00C D3 31 02 9C */ stfs f25, 0x29c(r17) +/* 800FD0B0 000FA010 D3 51 02 A0 */ stfs f26, 0x2a0(r17) +/* 800FD0B4 000FA014 D0 51 02 A4 */ stfs f2, 0x2a4(r17) +/* 800FD0B8 000FA018 D0 31 02 A8 */ stfs f1, 0x2a8(r17) +/* 800FD0BC 000FA01C D0 11 02 AC */ stfs f0, 0x2ac(r17) +/* 800FD0C0 000FA020 C0 1A 00 00 */ lfs f0, 0(r26) +/* 800FD0C4 000FA024 D0 11 02 B0 */ stfs f0, 0x2b0(r17) +/* 800FD0C8 000FA028 C0 1A 00 04 */ lfs f0, 4(r26) +/* 800FD0CC 000FA02C D0 11 02 B4 */ stfs f0, 0x2b4(r17) +/* 800FD0D0 000FA030 C0 1A 00 08 */ lfs f0, 8(r26) +/* 800FD0D4 000FA034 D0 11 02 B8 */ stfs f0, 0x2b8(r17) +/* 800FD0D8 000FA038 C0 3A 00 00 */ lfs f1, 0(r26) +/* 800FD0DC 000FA03C C0 1B 00 00 */ lfs f0, 0(r27) +/* 800FD0E0 000FA040 C0 9A 00 08 */ lfs f4, 8(r26) +/* 800FD0E4 000FA044 C0 7B 00 08 */ lfs f3, 8(r27) +/* 800FD0E8 000FA048 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800FD0EC 000FA04C C0 5A 00 04 */ lfs f2, 4(r26) +/* 800FD0F0 000FA050 C0 3B 00 04 */ lfs f1, 4(r27) +/* 800FD0F4 000FA054 EC 64 00 F2 */ fmuls f3, f4, f3 +/* 800FD0F8 000FA058 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800FD0FC 000FA05C D0 11 02 BC */ stfs f0, 0x2bc(r17) +/* 800FD100 000FA060 D0 31 02 C0 */ stfs f1, 0x2c0(r17) +/* 800FD104 000FA064 38 B1 02 E0 */ addi r5, r17, 0x2e0 +/* 800FD108 000FA068 D0 71 02 C4 */ stfs f3, 0x2c4(r17) +/* 800FD10C 000FA06C C0 03 00 00 */ lfs f0, 0(r3) +/* 800FD110 000FA070 D0 11 02 C8 */ stfs f0, 0x2c8(r17) +/* 800FD114 000FA074 C0 10 00 04 */ lfs f0, 4(r16) +/* 800FD118 000FA078 D0 11 02 CC */ stfs f0, 0x2cc(r17) +/* 800FD11C 000FA07C C0 10 00 08 */ lfs f0, 8(r16) +/* 800FD120 000FA080 D0 11 02 D0 */ stfs f0, 0x2d0(r17) +/* 800FD124 000FA084 90 11 02 D4 */ stw r0, 0x2d4(r17) +/* 800FD128 000FA088 90 11 02 D8 */ stw r0, 0x2d8(r17) +/* 800FD12C 000FA08C 90 11 02 DC */ stw r0, 0x2dc(r17) +/* 800FD130 000FA090 90 11 02 E0 */ stw r0, 0x2e0(r17) +/* 800FD134 000FA094 80 71 02 E0 */ lwz r3, 0x2e0(r17) +/* 800FD138 000FA098 2C 03 00 08 */ cmpwi r3, 8 +/* 800FD13C 000FA09C 40 80 00 40 */ bge lbl_800FD17C +/* 800FD140 000FA0A0 54 60 10 3A */ slwi r0, r3, 2 +/* 800FD144 000FA0A4 20 83 00 08 */ subfic r4, r3, 8 +/* 800FD148 000FA0A8 7C 65 02 14 */ add r3, r5, r0 +/* 800FD14C 000FA0AC 7C 89 03 A6 */ mtctr r4 +/* 800FD150 000FA0B0 2C 04 00 00 */ cmpwi r4, 0 +/* 800FD154 000FA0B4 38 63 00 04 */ addi r3, r3, 4 +/* 800FD158 000FA0B8 40 81 00 1C */ ble lbl_800FD174 +lbl_800FD15C: +/* 800FD15C 000FA0BC 28 03 00 00 */ cmplwi r3, 0 +/* 800FD160 000FA0C0 41 82 00 0C */ beq lbl_800FD16C +/* 800FD164 000FA0C4 C0 0D 89 44 */ lfs f0, lbl_805A7504@sda21(r13) +/* 800FD168 000FA0C8 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800FD16C: +/* 800FD16C 000FA0CC 38 63 00 04 */ addi r3, r3, 4 +/* 800FD170 000FA0D0 42 00 FF EC */ bdnz lbl_800FD15C +lbl_800FD174: +/* 800FD174 000FA0D4 38 00 00 08 */ li r0, 8 +/* 800FD178 000FA0D8 90 05 00 00 */ stw r0, 0(r5) +lbl_800FD17C: +/* 800FD17C 000FA0DC 7E 23 8B 78 */ mr r3, r17 +/* 800FD180 000FA0E0 38 80 00 00 */ li r4, 0 +/* 800FD184 000FA0E4 4B F5 72 5D */ bl SetUseInSortedLists__6CActorFb +/* 800FD188 000FA0E8 7F 85 E3 78 */ mr r5, r28 +/* 800FD18C 000FA0EC 38 61 00 88 */ addi r3, r1, 0x88 +/* 800FD190 000FA0F0 38 91 00 34 */ addi r4, r17, 0x34 +/* 800FD194 000FA0F4 48 21 58 ED */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800FD198 000FA0F8 C0 B1 00 60 */ lfs f5, 0x60(r17) +/* 800FD19C 000FA0FC 7E 23 8B 78 */ mr r3, r17 +/* 800FD1A0 000FA100 C0 91 00 50 */ lfs f4, 0x50(r17) +/* 800FD1A4 000FA104 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800FD1A8 000FA108 C0 71 00 40 */ lfs f3, 0x40(r17) +/* 800FD1AC 000FA10C C0 41 00 8C */ lfs f2, 0x8c(r1) +/* 800FD1B0 000FA110 C0 21 00 90 */ lfs f1, 0x90(r1) +/* 800FD1B4 000FA114 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 800FD1B8 000FA118 EC 44 10 2A */ fadds f2, f4, f2 +/* 800FD1BC 000FA11C EC 25 08 2A */ fadds f1, f5, f1 +/* 800FD1C0 000FA120 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 800FD1C4 000FA124 EC 03 00 2A */ fadds f0, f3, f0 +/* 800FD1C8 000FA128 D0 81 00 98 */ stfs f4, 0x98(r1) +/* 800FD1CC 000FA12C D0 A1 00 9C */ stfs f5, 0x9c(r1) +/* 800FD1D0 000FA130 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 800FD1D4 000FA134 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 800FD1D8 000FA138 D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 800FD1DC 000FA13C 4B F5 5C B1 */ bl SetTranslation__6CActorFRC9CVector3f +/* 800FD1E0 000FA140 88 01 02 FF */ lbz r0, 0x2ff(r1) +/* 800FD1E4 000FA144 28 00 00 00 */ cmplwi r0, 0 +/* 800FD1E8 000FA148 41 82 00 84 */ beq lbl_800FD26C +/* 800FD1EC 000FA14C 80 AD 89 4C */ lwz r5, lbl_805A750C@sda21(r13) +/* 800FD1F0 000FA150 38 60 00 00 */ li r3, 0 +/* 800FD1F4 000FA154 38 80 00 01 */ li r4, 1 +/* 800FD1F8 000FA158 48 28 CC FD */ bl __shl2i +/* 800FD1FC 000FA15C 80 AD 89 50 */ lwz r5, lbl_805A7510@sda21(r13) +/* 800FD200 000FA160 7C 8F 23 78 */ mr r15, r4 +/* 800FD204 000FA164 7C 6E 1B 78 */ mr r14, r3 +/* 800FD208 000FA168 38 60 00 00 */ li r3, 0 +/* 800FD20C 000FA16C 38 80 00 01 */ li r4, 1 +/* 800FD210 000FA170 48 28 CC E5 */ bl __shl2i +/* 800FD214 000FA174 80 AD 89 54 */ lwz r5, lbl_805A7514@sda21(r13) +/* 800FD218 000FA178 7D EF 23 78 */ or r15, r15, r4 +/* 800FD21C 000FA17C 7D CE 1B 78 */ or r14, r14, r3 +/* 800FD220 000FA180 38 60 00 00 */ li r3, 0 +/* 800FD224 000FA184 38 80 00 01 */ li r4, 1 +/* 800FD228 000FA188 48 28 CC CD */ bl __shl2i +/* 800FD22C 000FA18C 80 AD 89 48 */ lwz r5, lbl_805A7508@sda21(r13) +/* 800FD230 000FA190 7D EF 23 78 */ or r15, r15, r4 +/* 800FD234 000FA194 7D CE 1B 78 */ or r14, r14, r3 +/* 800FD238 000FA198 38 60 00 00 */ li r3, 0 +/* 800FD23C 000FA19C 38 80 00 01 */ li r4, 1 +/* 800FD240 000FA1A0 48 28 CC B5 */ bl __shl2i +/* 800FD244 000FA1A4 38 00 00 03 */ li r0, 3 +/* 800FD248 000FA1A8 90 81 00 E4 */ stw r4, 0xe4(r1) +/* 800FD24C 000FA1AC 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 800FD250 000FA1B0 90 61 00 E0 */ stw r3, 0xe0(r1) +/* 800FD254 000FA1B4 7E 23 8B 78 */ mr r3, r17 +/* 800FD258 000FA1B8 91 E1 00 EC */ stw r15, 0xec(r1) +/* 800FD25C 000FA1BC 91 C1 00 E8 */ stw r14, 0xe8(r1) +/* 800FD260 000FA1C0 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 800FD264 000FA1C4 4B F5 66 3D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 800FD268 000FA1C8 48 00 00 A4 */ b lbl_800FD30C +lbl_800FD26C: +/* 800FD26C 000FA1CC 80 AD 89 58 */ lwz r5, lbl_805A7518@sda21(r13) +/* 800FD270 000FA1D0 38 60 00 00 */ li r3, 0 +/* 800FD274 000FA1D4 38 80 00 01 */ li r4, 1 +/* 800FD278 000FA1D8 48 28 CC 7D */ bl __shl2i +/* 800FD27C 000FA1DC 80 AD 89 5C */ lwz r5, lbl_805A751C@sda21(r13) +/* 800FD280 000FA1E0 7C 8F 23 78 */ mr r15, r4 +/* 800FD284 000FA1E4 7C 6E 1B 78 */ mr r14, r3 +/* 800FD288 000FA1E8 38 60 00 00 */ li r3, 0 +/* 800FD28C 000FA1EC 38 80 00 01 */ li r4, 1 +/* 800FD290 000FA1F0 48 28 CC 65 */ bl __shl2i +/* 800FD294 000FA1F4 80 AD 89 60 */ lwz r5, lbl_805A7520@sda21(r13) +/* 800FD298 000FA1F8 7D EF 23 78 */ or r15, r15, r4 +/* 800FD29C 000FA1FC 7D CE 1B 78 */ or r14, r14, r3 +/* 800FD2A0 000FA200 38 60 00 00 */ li r3, 0 +/* 800FD2A4 000FA204 38 80 00 01 */ li r4, 1 +/* 800FD2A8 000FA208 48 28 CC 4D */ bl __shl2i +/* 800FD2AC 000FA20C 80 AD 89 64 */ lwz r5, lbl_805A7524@sda21(r13) +/* 800FD2B0 000FA210 7D EF 23 78 */ or r15, r15, r4 +/* 800FD2B4 000FA214 7D CE 1B 78 */ or r14, r14, r3 +/* 800FD2B8 000FA218 38 60 00 00 */ li r3, 0 +/* 800FD2BC 000FA21C 38 80 00 01 */ li r4, 1 +/* 800FD2C0 000FA220 48 28 CC 35 */ bl __shl2i +/* 800FD2C4 000FA224 80 AD 89 68 */ lwz r5, lbl_805A7528@sda21(r13) +/* 800FD2C8 000FA228 7D EF 23 78 */ or r15, r15, r4 +/* 800FD2CC 000FA22C 7D CE 1B 78 */ or r14, r14, r3 +/* 800FD2D0 000FA230 38 60 00 00 */ li r3, 0 +/* 800FD2D4 000FA234 38 80 00 01 */ li r4, 1 +/* 800FD2D8 000FA238 48 28 CC 1D */ bl __shl2i +/* 800FD2DC 000FA23C 7D EF 23 78 */ or r15, r15, r4 +/* 800FD2E0 000FA240 7D CE 1B 78 */ or r14, r14, r3 +/* 800FD2E4 000FA244 38 A0 00 00 */ li r5, 0 +/* 800FD2E8 000FA248 38 00 00 03 */ li r0, 3 +/* 800FD2EC 000FA24C 90 A1 00 CC */ stw r5, 0xcc(r1) +/* 800FD2F0 000FA250 7E 23 8B 78 */ mr r3, r17 +/* 800FD2F4 000FA254 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 800FD2F8 000FA258 90 A1 00 C8 */ stw r5, 0xc8(r1) +/* 800FD2FC 000FA25C 91 E1 00 D4 */ stw r15, 0xd4(r1) +/* 800FD300 000FA260 91 C1 00 D0 */ stw r14, 0xd0(r1) +/* 800FD304 000FA264 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 800FD308 000FA268 4B F5 65 99 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +lbl_800FD30C: +/* 800FD30C 000FA26C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800FD310 000FA270 7F A4 EB 78 */ mr r4, r29 +/* 800FD314 000FA274 38 63 00 04 */ addi r3, r3, 4 +/* 800FD318 000FA278 48 23 E9 B5 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800FD31C 000FA27C 28 03 00 00 */ cmplwi r3, 0 +/* 800FD320 000FA280 41 82 00 EC */ beq lbl_800FD40C +/* 800FD324 000FA284 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 800FD328 000FA288 93 A1 00 60 */ stw r29, 0x60(r1) +/* 800FD32C 000FA28C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 800FD330 000FA290 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800FD334 000FA294 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800FD338 000FA298 38 61 00 54 */ addi r3, r1, 0x54 +/* 800FD33C 000FA29C 38 A1 00 5C */ addi r5, r1, 0x5c +/* 800FD340 000FA2A0 81 84 00 00 */ lwz r12, 0(r4) +/* 800FD344 000FA2A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800FD348 000FA2A8 7D 89 03 A6 */ mtctr r12 +/* 800FD34C 000FA2AC 4E 80 04 21 */ bctrl +/* 800FD350 000FA2B0 38 61 00 80 */ addi r3, r1, 0x80 +/* 800FD354 000FA2B4 38 81 00 54 */ addi r4, r1, 0x54 +/* 800FD358 000FA2B8 48 24 3B 51 */ bl __ct__6CTokenFRC6CToken +/* 800FD35C 000FA2BC 38 61 00 54 */ addi r3, r1, 0x54 +/* 800FD360 000FA2C0 38 80 FF FF */ li r4, -1 +/* 800FD364 000FA2C4 48 24 3A DD */ bl __dt__6CTokenFv +/* 800FD368 000FA2C8 3C 60 80 3D */ lis r3, lbl_803CEDF8@ha +/* 800FD36C 000FA2CC 39 E0 00 00 */ li r15, 0 +/* 800FD370 000FA2D0 38 83 ED F8 */ addi r4, r3, lbl_803CEDF8@l +/* 800FD374 000FA2D4 38 A0 00 00 */ li r5, 0 +/* 800FD378 000FA2D8 38 60 03 40 */ li r3, 0x340 +/* 800FD37C 000FA2DC 48 21 84 F1 */ bl __nw__FUlPCcPCc +/* 800FD380 000FA2E0 7C 6E 1B 79 */ or. r14, r3, r3 +/* 800FD384 000FA2E4 41 82 00 2C */ beq lbl_800FD3B0 +/* 800FD388 000FA2E8 38 61 00 4C */ addi r3, r1, 0x4c +/* 800FD38C 000FA2EC 38 81 00 80 */ addi r4, r1, 0x80 +/* 800FD390 000FA2F0 48 24 3B 19 */ bl __ct__6CTokenFRC6CToken +/* 800FD394 000FA2F4 7D C3 73 78 */ mr r3, r14 +/* 800FD398 000FA2F8 38 81 00 4C */ addi r4, r1, 0x4c +/* 800FD39C 000FA2FC 39 E0 00 01 */ li r15, 1 +/* 800FD3A0 000FA300 38 A0 00 00 */ li r5, 0 +/* 800FD3A4 000FA304 38 C0 00 01 */ li r6, 1 +/* 800FD3A8 000FA308 48 22 20 39 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800FD3AC 000FA30C 7C 6E 1B 78 */ mr r14, r3 +lbl_800FD3B0: +/* 800FD3B0 000FA310 80 71 02 D4 */ lwz r3, 0x2d4(r17) +/* 800FD3B4 000FA314 28 03 00 00 */ cmplwi r3, 0 +/* 800FD3B8 000FA318 41 82 00 18 */ beq lbl_800FD3D0 +/* 800FD3BC 000FA31C 81 83 00 00 */ lwz r12, 0(r3) +/* 800FD3C0 000FA320 38 80 00 01 */ li r4, 1 +/* 800FD3C4 000FA324 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FD3C8 000FA328 7D 89 03 A6 */ mtctr r12 +/* 800FD3CC 000FA32C 4E 80 04 21 */ bctrl +lbl_800FD3D0: +/* 800FD3D0 000FA330 7D E0 07 75 */ extsb. r0, r15 +/* 800FD3D4 000FA334 91 D1 02 D4 */ stw r14, 0x2d4(r17) +/* 800FD3D8 000FA338 41 82 00 10 */ beq lbl_800FD3E8 +/* 800FD3DC 000FA33C 38 61 00 4C */ addi r3, r1, 0x4c +/* 800FD3E0 000FA340 38 80 00 00 */ li r4, 0 +/* 800FD3E4 000FA344 48 24 3A 5D */ bl __dt__6CTokenFv +lbl_800FD3E8: +/* 800FD3E8 000FA348 80 71 02 D4 */ lwz r3, 0x2d4(r17) +/* 800FD3EC 000FA34C 80 81 02 CC */ lwz r4, 0x2cc(r1) +/* 800FD3F0 000FA350 81 83 00 00 */ lwz r12, 0(r3) +/* 800FD3F4 000FA354 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800FD3F8 000FA358 7D 89 03 A6 */ mtctr r12 +/* 800FD3FC 000FA35C 4E 80 04 21 */ bctrl +/* 800FD400 000FA360 38 61 00 80 */ addi r3, r1, 0x80 +/* 800FD404 000FA364 38 80 00 00 */ li r4, 0 +/* 800FD408 000FA368 48 24 3A 39 */ bl __dt__6CTokenFv +lbl_800FD40C: +/* 800FD40C 000FA36C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800FD410 000FA370 7F C4 F3 78 */ mr r4, r30 +/* 800FD414 000FA374 38 63 00 04 */ addi r3, r3, 4 +/* 800FD418 000FA378 48 23 E8 B5 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800FD41C 000FA37C 28 03 00 00 */ cmplwi r3, 0 +/* 800FD420 000FA380 41 82 00 EC */ beq lbl_800FD50C +/* 800FD424 000FA384 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 800FD428 000FA388 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800FD42C 000FA38C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 800FD430 000FA390 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800FD434 000FA394 90 01 00 44 */ stw r0, 0x44(r1) +/* 800FD438 000FA398 38 61 00 3C */ addi r3, r1, 0x3c +/* 800FD43C 000FA39C 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800FD440 000FA3A0 81 84 00 00 */ lwz r12, 0(r4) +/* 800FD444 000FA3A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800FD448 000FA3A8 7D 89 03 A6 */ mtctr r12 +/* 800FD44C 000FA3AC 4E 80 04 21 */ bctrl +/* 800FD450 000FA3B0 38 61 00 78 */ addi r3, r1, 0x78 +/* 800FD454 000FA3B4 38 81 00 3C */ addi r4, r1, 0x3c +/* 800FD458 000FA3B8 48 24 3A 51 */ bl __ct__6CTokenFRC6CToken +/* 800FD45C 000FA3BC 38 61 00 3C */ addi r3, r1, 0x3c +/* 800FD460 000FA3C0 38 80 FF FF */ li r4, -1 +/* 800FD464 000FA3C4 48 24 39 DD */ bl __dt__6CTokenFv +/* 800FD468 000FA3C8 3C 60 80 3D */ lis r3, lbl_803CEDF8@ha +/* 800FD46C 000FA3CC 39 E0 00 00 */ li r15, 0 +/* 800FD470 000FA3D0 38 83 ED F8 */ addi r4, r3, lbl_803CEDF8@l +/* 800FD474 000FA3D4 38 A0 00 00 */ li r5, 0 +/* 800FD478 000FA3D8 38 60 03 40 */ li r3, 0x340 +/* 800FD47C 000FA3DC 48 21 83 F1 */ bl __nw__FUlPCcPCc +/* 800FD480 000FA3E0 7C 6E 1B 79 */ or. r14, r3, r3 +/* 800FD484 000FA3E4 41 82 00 2C */ beq lbl_800FD4B0 +/* 800FD488 000FA3E8 38 61 00 34 */ addi r3, r1, 0x34 +/* 800FD48C 000FA3EC 38 81 00 78 */ addi r4, r1, 0x78 +/* 800FD490 000FA3F0 48 24 3A 19 */ bl __ct__6CTokenFRC6CToken +/* 800FD494 000FA3F4 7D C3 73 78 */ mr r3, r14 +/* 800FD498 000FA3F8 38 81 00 34 */ addi r4, r1, 0x34 +/* 800FD49C 000FA3FC 39 E0 00 01 */ li r15, 1 +/* 800FD4A0 000FA400 38 A0 00 00 */ li r5, 0 +/* 800FD4A4 000FA404 38 C0 00 01 */ li r6, 1 +/* 800FD4A8 000FA408 48 22 1F 39 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800FD4AC 000FA40C 7C 6E 1B 78 */ mr r14, r3 +lbl_800FD4B0: +/* 800FD4B0 000FA410 80 71 02 D8 */ lwz r3, 0x2d8(r17) +/* 800FD4B4 000FA414 28 03 00 00 */ cmplwi r3, 0 +/* 800FD4B8 000FA418 41 82 00 18 */ beq lbl_800FD4D0 +/* 800FD4BC 000FA41C 81 83 00 00 */ lwz r12, 0(r3) +/* 800FD4C0 000FA420 38 80 00 01 */ li r4, 1 +/* 800FD4C4 000FA424 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FD4C8 000FA428 7D 89 03 A6 */ mtctr r12 +/* 800FD4CC 000FA42C 4E 80 04 21 */ bctrl +lbl_800FD4D0: +/* 800FD4D0 000FA430 7D E0 07 75 */ extsb. r0, r15 +/* 800FD4D4 000FA434 91 D1 02 D8 */ stw r14, 0x2d8(r17) +/* 800FD4D8 000FA438 41 82 00 10 */ beq lbl_800FD4E8 +/* 800FD4DC 000FA43C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800FD4E0 000FA440 38 80 00 00 */ li r4, 0 +/* 800FD4E4 000FA444 48 24 39 5D */ bl __dt__6CTokenFv +lbl_800FD4E8: +/* 800FD4E8 000FA448 80 71 02 D8 */ lwz r3, 0x2d8(r17) +/* 800FD4EC 000FA44C 80 81 02 E0 */ lwz r4, 0x2e0(r1) +/* 800FD4F0 000FA450 81 83 00 00 */ lwz r12, 0(r3) +/* 800FD4F4 000FA454 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800FD4F8 000FA458 7D 89 03 A6 */ mtctr r12 +/* 800FD4FC 000FA45C 4E 80 04 21 */ bctrl +/* 800FD500 000FA460 38 61 00 78 */ addi r3, r1, 0x78 +/* 800FD504 000FA464 38 80 00 00 */ li r4, 0 +/* 800FD508 000FA468 48 24 39 39 */ bl __dt__6CTokenFv +lbl_800FD50C: +/* 800FD50C 000FA46C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800FD510 000FA470 7F E4 FB 78 */ mr r4, r31 +/* 800FD514 000FA474 38 63 00 04 */ addi r3, r3, 4 +/* 800FD518 000FA478 48 23 E7 B5 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800FD51C 000FA47C 28 03 00 00 */ cmplwi r3, 0 +/* 800FD520 000FA480 41 82 00 EC */ beq lbl_800FD60C +/* 800FD524 000FA484 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 800FD528 000FA488 93 E1 00 30 */ stw r31, 0x30(r1) +/* 800FD52C 000FA48C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 800FD530 000FA490 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800FD534 000FA494 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800FD538 000FA498 38 61 00 24 */ addi r3, r1, 0x24 +/* 800FD53C 000FA49C 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800FD540 000FA4A0 81 84 00 00 */ lwz r12, 0(r4) +/* 800FD544 000FA4A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800FD548 000FA4A8 7D 89 03 A6 */ mtctr r12 +/* 800FD54C 000FA4AC 4E 80 04 21 */ bctrl +/* 800FD550 000FA4B0 38 61 00 70 */ addi r3, r1, 0x70 +/* 800FD554 000FA4B4 38 81 00 24 */ addi r4, r1, 0x24 +/* 800FD558 000FA4B8 48 24 39 51 */ bl __ct__6CTokenFRC6CToken +/* 800FD55C 000FA4BC 38 61 00 24 */ addi r3, r1, 0x24 +/* 800FD560 000FA4C0 38 80 FF FF */ li r4, -1 +/* 800FD564 000FA4C4 48 24 38 DD */ bl __dt__6CTokenFv +/* 800FD568 000FA4C8 3C 60 80 3D */ lis r3, lbl_803CEDF8@ha +/* 800FD56C 000FA4CC 39 E0 00 00 */ li r15, 0 +/* 800FD570 000FA4D0 38 83 ED F8 */ addi r4, r3, lbl_803CEDF8@l +/* 800FD574 000FA4D4 38 A0 00 00 */ li r5, 0 +/* 800FD578 000FA4D8 38 60 03 40 */ li r3, 0x340 +/* 800FD57C 000FA4DC 48 21 82 F1 */ bl __nw__FUlPCcPCc +/* 800FD580 000FA4E0 7C 6E 1B 79 */ or. r14, r3, r3 +/* 800FD584 000FA4E4 41 82 00 2C */ beq lbl_800FD5B0 +/* 800FD588 000FA4E8 38 61 00 1C */ addi r3, r1, 0x1c +/* 800FD58C 000FA4EC 38 81 00 70 */ addi r4, r1, 0x70 +/* 800FD590 000FA4F0 48 24 39 19 */ bl __ct__6CTokenFRC6CToken +/* 800FD594 000FA4F4 7D C3 73 78 */ mr r3, r14 +/* 800FD598 000FA4F8 38 81 00 1C */ addi r4, r1, 0x1c +/* 800FD59C 000FA4FC 39 E0 00 01 */ li r15, 1 +/* 800FD5A0 000FA500 38 A0 00 00 */ li r5, 0 +/* 800FD5A4 000FA504 38 C0 00 01 */ li r6, 1 +/* 800FD5A8 000FA508 48 22 1E 39 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800FD5AC 000FA50C 7C 6E 1B 78 */ mr r14, r3 +lbl_800FD5B0: +/* 800FD5B0 000FA510 80 71 02 DC */ lwz r3, 0x2dc(r17) +/* 800FD5B4 000FA514 28 03 00 00 */ cmplwi r3, 0 +/* 800FD5B8 000FA518 41 82 00 18 */ beq lbl_800FD5D0 +/* 800FD5BC 000FA51C 81 83 00 00 */ lwz r12, 0(r3) +/* 800FD5C0 000FA520 38 80 00 01 */ li r4, 1 +/* 800FD5C4 000FA524 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FD5C8 000FA528 7D 89 03 A6 */ mtctr r12 +/* 800FD5CC 000FA52C 4E 80 04 21 */ bctrl +lbl_800FD5D0: +/* 800FD5D0 000FA530 7D E0 07 75 */ extsb. r0, r15 +/* 800FD5D4 000FA534 91 D1 02 DC */ stw r14, 0x2dc(r17) +/* 800FD5D8 000FA538 41 82 00 10 */ beq lbl_800FD5E8 +/* 800FD5DC 000FA53C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800FD5E0 000FA540 38 80 00 00 */ li r4, 0 +/* 800FD5E4 000FA544 48 24 38 5D */ bl __dt__6CTokenFv +lbl_800FD5E8: +/* 800FD5E8 000FA548 80 71 02 DC */ lwz r3, 0x2dc(r17) +/* 800FD5EC 000FA54C 80 81 02 F4 */ lwz r4, 0x2f4(r1) +/* 800FD5F0 000FA550 81 83 00 00 */ lwz r12, 0(r3) +/* 800FD5F4 000FA554 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800FD5F8 000FA558 7D 89 03 A6 */ mtctr r12 +/* 800FD5FC 000FA55C 4E 80 04 21 */ bctrl +/* 800FD600 000FA560 38 61 00 70 */ addi r3, r1, 0x70 +/* 800FD604 000FA564 38 80 00 00 */ li r4, 0 +/* 800FD608 000FA568 48 24 38 39 */ bl __dt__6CTokenFv +lbl_800FD60C: +/* 800FD60C 000FA56C FC 00 F8 50 */ fneg f0, f31 +/* 800FD610 000FA570 C0 51 00 E8 */ lfs f2, 0xe8(r17) +/* 800FD614 000FA574 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) +/* 800FD618 000FA578 7E 23 8B 78 */ mr r3, r17 +/* 800FD61C 000FA57C D0 31 01 50 */ stfs f1, 0x150(r17) +/* 800FD620 000FA580 EC 00 00 B2 */ fmuls f0, f0, f2 +/* 800FD624 000FA584 D0 31 01 54 */ stfs f1, 0x154(r17) +/* 800FD628 000FA588 D0 11 01 58 */ stfs f0, 0x158(r17) +/* 800FD62C 000FA58C E3 E1 02 98 */ psq_l f31, 664(r1), 0, qr0 +/* 800FD630 000FA590 CB E1 02 90 */ lfd f31, 0x290(r1) +/* 800FD634 000FA594 E3 C1 02 88 */ psq_l f30, 648(r1), 0, qr0 +/* 800FD638 000FA598 CB C1 02 80 */ lfd f30, 0x280(r1) +/* 800FD63C 000FA59C E3 A1 02 78 */ psq_l f29, 632(r1), 0, qr0 +/* 800FD640 000FA5A0 CB A1 02 70 */ lfd f29, 0x270(r1) +/* 800FD644 000FA5A4 E3 81 02 68 */ psq_l f28, 616(r1), 0, qr0 +/* 800FD648 000FA5A8 CB 81 02 60 */ lfd f28, 0x260(r1) +/* 800FD64C 000FA5AC E3 61 02 58 */ psq_l f27, 600(r1), 0, qr0 +/* 800FD650 000FA5B0 CB 61 02 50 */ lfd f27, 0x250(r1) +/* 800FD654 000FA5B4 E3 41 02 48 */ psq_l f26, 584(r1), 0, qr0 +/* 800FD658 000FA5B8 CB 41 02 40 */ lfd f26, 0x240(r1) +/* 800FD65C 000FA5BC E3 21 02 38 */ psq_l f25, 568(r1), 0, qr0 +/* 800FD660 000FA5C0 CB 21 02 30 */ lfd f25, 0x230(r1) +/* 800FD664 000FA5C4 E3 01 02 28 */ psq_l f24, 552(r1), 0, qr0 +/* 800FD668 000FA5C8 CB 01 02 20 */ lfd f24, 0x220(r1) +/* 800FD66C 000FA5CC E2 E1 02 18 */ psq_l f23, 536(r1), 0, qr0 +/* 800FD670 000FA5D0 CA E1 02 10 */ lfd f23, 0x210(r1) +/* 800FD674 000FA5D4 E2 C1 02 08 */ psq_l f22, 520(r1), 0, qr0 +/* 800FD678 000FA5D8 CA C1 02 00 */ lfd f22, 0x200(r1) +/* 800FD67C 000FA5DC E2 A1 01 F8 */ psq_l f21, 504(r1), 0, qr0 +/* 800FD680 000FA5E0 CA A1 01 F0 */ lfd f21, 0x1f0(r1) +/* 800FD684 000FA5E4 E2 81 01 E8 */ psq_l f20, 488(r1), 0, qr0 +/* 800FD688 000FA5E8 CA 81 01 E0 */ lfd f20, 0x1e0(r1) +/* 800FD68C 000FA5EC B9 C1 01 98 */ lmw r14, 0x198(r1) +/* 800FD690 000FA5F0 80 01 02 A4 */ lwz r0, 0x2a4(r1) +/* 800FD694 000FA5F4 7C 08 03 A6 */ mtlr r0 +/* 800FD698 000FA5F8 38 21 02 A0 */ addi r1, r1, 0x2a0 +/* 800FD69C 000FA5FC 4E 80 00 20 */ blr + +.global "__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersUiRC9CVector3ffRC9CVector3fRC6CColorfffQ213CScriptDebris10EScaleTypebbb" +"__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersUiRC9CVector3ffRC9CVector3fRC6CColorfffQ213CScriptDebris10EScaleTypebbb": +/* 800FD6A0 000FA600 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 800FD6A4 000FA604 7C 08 02 A6 */ mflr r0 +/* 800FD6A8 000FA608 90 01 01 84 */ stw r0, 0x184(r1) +/* 800FD6AC 000FA60C DB E1 01 70 */ stfd f31, 0x170(r1) +/* 800FD6B0 000FA610 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 800FD6B4 000FA614 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 800FD6B8 000FA618 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 800FD6BC 000FA61C DB A1 01 50 */ stfd f29, 0x150(r1) +/* 800FD6C0 000FA620 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 800FD6C4 000FA624 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 800FD6C8 000FA628 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 800FD6CC 000FA62C BE 01 01 00 */ stmw r16, 0x100(r1) +/* 800FD6D0 000FA630 FF 80 08 90 */ fmr f28, f1 +/* 800FD6D4 000FA634 83 E1 01 88 */ lwz r31, 0x188(r1) +/* 800FD6D8 000FA638 FF A0 10 90 */ fmr f29, f2 +/* 800FD6DC 000FA63C 82 E1 01 8C */ lwz r23, 0x18c(r1) +/* 800FD6E0 000FA640 FF E0 18 90 */ fmr f31, f3 +/* 800FD6E4 000FA644 83 01 01 90 */ lwz r24, 0x190(r1) +/* 800FD6E8 000FA648 FF C0 20 90 */ fmr f30, f4 +/* 800FD6EC 000FA64C 83 21 01 94 */ lwz r25, 0x194(r1) +/* 800FD6F0 000FA650 8B 41 01 9F */ lbz r26, 0x19f(r1) +/* 800FD6F4 000FA654 7C 7D 1B 78 */ mr r29, r3 +/* 800FD6F8 000FA658 8B 61 01 A3 */ lbz r27, 0x1a3(r1) +/* 800FD6FC 000FA65C 7C 91 23 78 */ mr r17, r4 +/* 800FD700 000FA660 7C B2 2B 78 */ mr r18, r5 +/* 800FD704 000FA664 7C D3 33 78 */ mr r19, r6 +/* 800FD708 000FA668 7C F4 3B 78 */ mr r20, r7 +/* 800FD70C 000FA66C 7D 15 43 78 */ mr r21, r8 +/* 800FD710 000FA670 7D 36 4B 78 */ mr r22, r9 +/* 800FD714 000FA674 7D 5E 53 78 */ mr r30, r10 +/* 800FD718 000FA678 4B F1 DE 1D */ bl Identity__10CAxisAngleFv +/* 800FD71C 000FA67C 7C 70 1B 78 */ mr r16, r3 +/* 800FD720 000FA680 4B F1 DE 15 */ bl Identity__10CAxisAngleFv +/* 800FD724 000FA684 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800FD728 000FA688 38 00 00 00 */ li r0, 0 +/* 800FD72C 000FA68C 3B 84 66 A0 */ addi r28, r4, skZero3f@l +/* 800FD730 000FA690 80 AD 89 1C */ lwz r5, lbl_805A74DC@sda21(r13) +/* 800FD734 000FA694 C0 3C 00 00 */ lfs f1, 0(r28) +/* 800FD738 000FA698 38 80 00 01 */ li r4, 1 +/* 800FD73C 000FA69C C0 5C 00 04 */ lfs f2, 4(r28) +/* 800FD740 000FA6A0 C0 7C 00 08 */ lfs f3, 8(r28) +/* 800FD744 000FA6A4 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 800FD748 000FA6A8 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 800FD74C 000FA6AC D0 61 00 98 */ stfs f3, 0x98(r1) +/* 800FD750 000FA6B0 C0 03 00 00 */ lfs f0, 0(r3) +/* 800FD754 000FA6B4 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 800FD758 000FA6B8 C0 03 00 04 */ lfs f0, 4(r3) +/* 800FD75C 000FA6BC D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 800FD760 000FA6C0 C0 03 00 08 */ lfs f0, 8(r3) +/* 800FD764 000FA6C4 38 60 00 00 */ li r3, 0 +/* 800FD768 000FA6C8 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 800FD76C 000FA6CC D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 800FD770 000FA6D0 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 800FD774 000FA6D4 D0 61 00 B0 */ stfs f3, 0xb0(r1) +/* 800FD778 000FA6D8 C0 10 00 00 */ lfs f0, 0(r16) +/* 800FD77C 000FA6DC D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 800FD780 000FA6E0 C0 10 00 04 */ lfs f0, 4(r16) +/* 800FD784 000FA6E4 D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 800FD788 000FA6E8 C0 10 00 08 */ lfs f0, 8(r16) +/* 800FD78C 000FA6EC D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 800FD790 000FA6F0 D3 A1 00 C0 */ stfs f29, 0xc0(r1) +/* 800FD794 000FA6F4 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800FD798 000FA6F8 90 01 00 38 */ stw r0, 0x38(r1) +/* 800FD79C 000FA6FC 48 28 C7 59 */ bl __shl2i +/* 800FD7A0 000FA700 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800FD7A4 000FA704 80 C1 00 3C */ lwz r6, 0x3c(r1) +/* 800FD7A8 000FA708 7C 00 1B 78 */ or r0, r0, r3 +/* 800FD7AC 000FA70C 80 AD 89 20 */ lwz r5, lbl_805A74E0@sda21(r13) +/* 800FD7B0 000FA710 7C C4 23 78 */ or r4, r6, r4 +/* 800FD7B4 000FA714 90 01 00 38 */ stw r0, 0x38(r1) +/* 800FD7B8 000FA718 38 60 00 00 */ li r3, 0 +/* 800FD7BC 000FA71C 90 81 00 3C */ stw r4, 0x3c(r1) +/* 800FD7C0 000FA720 38 80 00 01 */ li r4, 1 +/* 800FD7C4 000FA724 48 28 C7 31 */ bl __shl2i +/* 800FD7C8 000FA728 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800FD7CC 000FA72C 80 A1 00 3C */ lwz r5, 0x3c(r1) +/* 800FD7D0 000FA730 7C 03 1B 78 */ or r3, r0, r3 +/* 800FD7D4 000FA734 A0 11 00 00 */ lhz r0, 0(r17) +/* 800FD7D8 000FA738 7C A5 23 78 */ or r5, r5, r4 +/* 800FD7DC 000FA73C 90 61 00 38 */ stw r3, 0x38(r1) +/* 800FD7E0 000FA740 7E 84 A3 78 */ mr r4, r20 +/* 800FD7E4 000FA744 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 800FD7E8 000FA748 90 A1 00 3C */ stw r5, 0x3c(r1) +/* 800FD7EC 000FA74C B0 01 00 18 */ sth r0, 0x18(r1) +/* 800FD7F0 000FA750 48 21 54 51 */ bl GetRotation__12CTransform4fCFv +/* 800FD7F4 000FA754 7E A4 AB 78 */ mr r4, r21 +/* 800FD7F8 000FA758 38 61 00 78 */ addi r3, r1, 0x78 +/* 800FD7FC 000FA75C 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 800FD800 000FA760 48 01 7F B5 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 800FD804 000FA764 38 61 00 78 */ addi r3, r1, 0x78 +/* 800FD808 000FA768 38 01 00 90 */ addi r0, r1, 0x90 +/* 800FD80C 000FA76C 90 61 00 08 */ stw r3, 8(r1) +/* 800FD810 000FA770 7F A3 EB 78 */ mr r3, r29 +/* 800FD814 000FA774 C0 22 93 8C */ lfs f1, lbl_805AB0AC@sda21(r2) +/* 800FD818 000FA778 7F 65 DB 78 */ mr r5, r27 +/* 800FD81C 000FA77C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800FD820 000FA780 7E 46 93 78 */ mr r6, r18 +/* 800FD824 000FA784 C0 42 93 80 */ lfs f2, lbl_805AB0A0@sda21(r2) +/* 800FD828 000FA788 7E 67 9B 78 */ mr r7, r19 +/* 800FD82C 000FA78C 92 C1 00 10 */ stw r22, 0x10(r1) +/* 800FD830 000FA790 7E 88 A3 78 */ mr r8, r20 +/* 800FD834 000FA794 7E A9 AB 78 */ mr r9, r21 +/* 800FD838 000FA798 38 81 00 18 */ addi r4, r1, 0x18 +/* 800FD83C 000FA79C 39 41 00 38 */ addi r10, r1, 0x38 +/* 800FD840 000FA7A0 48 01 EC 71 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 800FD844 000FA7A4 3C 60 80 3E */ lis r3, lbl_803DFD78@ha +/* 800FD848 000FA7A8 C0 22 93 60 */ lfs f1, lbl_805AB080@sda21(r2) +/* 800FD84C 000FA7AC 38 03 FD 78 */ addi r0, r3, lbl_803DFD78@l +/* 800FD850 000FA7B0 C0 42 93 84 */ lfs f2, lbl_805AB0A4@sda21(r2) +/* 800FD854 000FA7B4 90 1D 00 00 */ stw r0, 0(r29) +/* 800FD858 000FA7B8 FC 80 08 90 */ fmr f4, f1 +/* 800FD85C 000FA7BC FC 60 10 90 */ fmr f3, f2 +/* 800FD860 000FA7C0 38 7D 02 64 */ addi r3, r29, 0x264 +/* 800FD864 000FA7C4 C0 17 00 00 */ lfs f0, 0(r23) +/* 800FD868 000FA7C8 D0 1D 02 58 */ stfs f0, 0x258(r29) +/* 800FD86C 000FA7CC C0 17 00 04 */ lfs f0, 4(r23) +/* 800FD870 000FA7D0 D0 1D 02 5C */ stfs f0, 0x25c(r29) +/* 800FD874 000FA7D4 C0 17 00 08 */ lfs f0, 8(r23) +/* 800FD878 000FA7D8 D0 1D 02 60 */ stfs f0, 0x260(r29) +/* 800FD87C 000FA7DC 48 26 5B 71 */ bl __ct__6CColorFffff +/* 800FD880 000FA7E0 80 18 00 00 */ lwz r0, 0(r24) +/* 800FD884 000FA7E4 C0 02 93 64 */ lfs f0, lbl_805AB084@sda21(r2) +/* 800FD888 000FA7E8 90 1D 02 68 */ stw r0, 0x268(r29) +/* 800FD88C 000FA7EC FC 1E 00 40 */ fcmpo cr0, f30, f0 +/* 800FD890 000FA7F0 D3 9D 02 6C */ stfs f28, 0x26c(r29) +/* 800FD894 000FA7F4 D0 1D 02 70 */ stfs f0, 0x270(r29) +/* 800FD898 000FA7F8 4C 41 13 82 */ cror 2, 1, 2 +/* 800FD89C 000FA7FC 40 82 00 0C */ bne lbl_800FD8A8 +/* 800FD8A0 000FA800 FC 00 F0 90 */ fmr f0, f30 +/* 800FD8A4 000FA804 48 00 00 08 */ b lbl_800FD8AC +lbl_800FD8A8: +/* 800FD8A8 000FA808 C0 02 93 84 */ lfs f0, lbl_805AB0A4@sda21(r2) +lbl_800FD8AC: +/* 800FD8AC 000FA80C D0 1D 02 74 */ stfs f0, 0x274(r29) +/* 800FD8B0 000FA810 38 60 00 00 */ li r3, 0 +/* 800FD8B4 000FA814 C0 42 93 60 */ lfs f2, lbl_805AB080@sda21(r2) +/* 800FD8B8 000FA818 2C 19 00 00 */ cmpwi r25, 0 +/* 800FD8BC 000FA81C C0 3D 02 74 */ lfs f1, 0x274(r29) +/* 800FD8C0 000FA820 C0 02 93 64 */ lfs f0, lbl_805AB084@sda21(r2) +/* 800FD8C4 000FA824 EC 22 08 24 */ fdivs f1, f2, f1 +/* 800FD8C8 000FA828 D0 3D 02 78 */ stfs f1, 0x278(r29) +/* 800FD8CC 000FA82C D3 FD 02 7C */ stfs f31, 0x27c(r29) +/* 800FD8D0 000FA830 9B 3D 02 80 */ stb r25, 0x280(r29) +/* 800FD8D4 000FA834 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FD8D8 000FA838 53 40 3E 30 */ rlwimi r0, r26, 7, 0x18, 0x18 +/* 800FD8DC 000FA83C 98 1D 02 81 */ stb r0, 0x281(r29) +/* 800FD8E0 000FA840 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FD8E4 000FA844 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800FD8E8 000FA848 98 1D 02 81 */ stb r0, 0x281(r29) +/* 800FD8EC 000FA84C 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FD8F0 000FA850 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a +/* 800FD8F4 000FA854 98 1D 02 81 */ stb r0, 0x281(r29) +/* 800FD8F8 000FA858 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FD8FC 000FA85C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800FD900 000FA860 98 1D 02 81 */ stb r0, 0x281(r29) +/* 800FD904 000FA864 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FD908 000FA868 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800FD90C 000FA86C 98 1D 02 81 */ stb r0, 0x281(r29) +/* 800FD910 000FA870 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FD914 000FA874 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800FD918 000FA878 98 1D 02 81 */ stb r0, 0x281(r29) +/* 800FD91C 000FA87C 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FD920 000FA880 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 800FD924 000FA884 98 1D 02 81 */ stb r0, 0x281(r29) +/* 800FD928 000FA888 88 1D 02 81 */ lbz r0, 0x281(r29) +/* 800FD92C 000FA88C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f +/* 800FD930 000FA890 98 1D 02 81 */ stb r0, 0x281(r29) +/* 800FD934 000FA894 88 1D 02 82 */ lbz r0, 0x282(r29) +/* 800FD938 000FA898 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800FD93C 000FA89C 98 1D 02 82 */ stb r0, 0x282(r29) +/* 800FD940 000FA8A0 98 7D 02 83 */ stb r3, 0x283(r29) +/* 800FD944 000FA8A4 98 7D 02 84 */ stb r3, 0x284(r29) +/* 800FD948 000FA8A8 98 7D 02 85 */ stb r3, 0x285(r29) +/* 800FD94C 000FA8AC D0 1D 02 88 */ stfs f0, 0x288(r29) +/* 800FD950 000FA8B0 D0 1D 02 8C */ stfs f0, 0x28c(r29) +/* 800FD954 000FA8B4 D0 1D 02 90 */ stfs f0, 0x290(r29) +/* 800FD958 000FA8B8 D0 1D 02 94 */ stfs f0, 0x294(r29) +/* 800FD95C 000FA8BC D0 1D 02 98 */ stfs f0, 0x298(r29) +/* 800FD960 000FA8C0 D0 1D 02 9C */ stfs f0, 0x29c(r29) +/* 800FD964 000FA8C4 D0 1D 02 A0 */ stfs f0, 0x2a0(r29) +/* 800FD968 000FA8C8 D0 1D 02 A4 */ stfs f0, 0x2a4(r29) +/* 800FD96C 000FA8CC D0 1D 02 A8 */ stfs f0, 0x2a8(r29) +/* 800FD970 000FA8D0 D0 1D 02 AC */ stfs f0, 0x2ac(r29) +/* 800FD974 000FA8D4 C0 35 00 04 */ lfs f1, 4(r21) +/* 800FD978 000FA8D8 C0 55 00 08 */ lfs f2, 8(r21) +/* 800FD97C 000FA8DC C0 15 00 00 */ lfs f0, 0(r21) +/* 800FD980 000FA8E0 D0 1D 02 B0 */ stfs f0, 0x2b0(r29) +/* 800FD984 000FA8E4 D0 3D 02 B4 */ stfs f1, 0x2b4(r29) +/* 800FD988 000FA8E8 D0 5D 02 B8 */ stfs f2, 0x2b8(r29) +/* 800FD98C 000FA8EC 40 82 00 24 */ bne lbl_800FD9B0 +/* 800FD990 000FA8F0 C0 55 00 00 */ lfs f2, 0(r21) +/* 800FD994 000FA8F4 38 81 00 54 */ addi r4, r1, 0x54 +/* 800FD998 000FA8F8 C0 35 00 04 */ lfs f1, 4(r21) +/* 800FD99C 000FA8FC C0 15 00 08 */ lfs f0, 8(r21) +/* 800FD9A0 000FA900 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800FD9A4 000FA904 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800FD9A8 000FA908 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800FD9AC 000FA90C 48 00 00 2C */ b lbl_800FD9D8 +lbl_800FD9B0: +/* 800FD9B0 000FA910 2C 19 00 01 */ cmpwi r25, 1 +/* 800FD9B4 000FA914 40 82 00 10 */ bne lbl_800FD9C4 +/* 800FD9B8 000FA918 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FD9BC 000FA91C 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800FD9C0 000FA920 48 00 00 18 */ b lbl_800FD9D8 +lbl_800FD9C4: +/* 800FD9C4 000FA924 C0 02 93 94 */ lfs f0, lbl_805AB0B4@sda21(r2) +/* 800FD9C8 000FA928 38 81 00 48 */ addi r4, r1, 0x48 +/* 800FD9CC 000FA92C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800FD9D0 000FA930 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800FD9D4 000FA934 D0 01 00 50 */ stfs f0, 0x50(r1) +lbl_800FD9D8: +/* 800FD9D8 000FA938 C0 04 00 00 */ lfs f0, 0(r4) +/* 800FD9DC 000FA93C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800FD9E0 000FA940 38 00 00 00 */ li r0, 0 +/* 800FD9E4 000FA944 38 BD 02 E0 */ addi r5, r29, 0x2e0 +/* 800FD9E8 000FA948 D0 1D 02 BC */ stfs f0, 0x2bc(r29) +/* 800FD9EC 000FA94C C0 04 00 04 */ lfs f0, 4(r4) +/* 800FD9F0 000FA950 D0 1D 02 C0 */ stfs f0, 0x2c0(r29) +/* 800FD9F4 000FA954 C0 04 00 08 */ lfs f0, 8(r4) +/* 800FD9F8 000FA958 D0 1D 02 C4 */ stfs f0, 0x2c4(r29) +/* 800FD9FC 000FA95C C0 03 66 A0 */ lfs f0, skZero3f@l(r3) +/* 800FDA00 000FA960 D0 1D 02 C8 */ stfs f0, 0x2c8(r29) +/* 800FDA04 000FA964 C0 1C 00 04 */ lfs f0, 4(r28) +/* 800FDA08 000FA968 D0 1D 02 CC */ stfs f0, 0x2cc(r29) +/* 800FDA0C 000FA96C C0 1C 00 08 */ lfs f0, 8(r28) +/* 800FDA10 000FA970 D0 1D 02 D0 */ stfs f0, 0x2d0(r29) +/* 800FDA14 000FA974 90 1D 02 D4 */ stw r0, 0x2d4(r29) +/* 800FDA18 000FA978 90 1D 02 D8 */ stw r0, 0x2d8(r29) +/* 800FDA1C 000FA97C 90 1D 02 DC */ stw r0, 0x2dc(r29) +/* 800FDA20 000FA980 90 1D 02 E0 */ stw r0, 0x2e0(r29) +/* 800FDA24 000FA984 80 7D 02 E0 */ lwz r3, 0x2e0(r29) +/* 800FDA28 000FA988 2C 03 00 08 */ cmpwi r3, 8 +/* 800FDA2C 000FA98C 40 80 00 40 */ bge lbl_800FDA6C +/* 800FDA30 000FA990 54 60 10 3A */ slwi r0, r3, 2 +/* 800FDA34 000FA994 20 83 00 08 */ subfic r4, r3, 8 +/* 800FDA38 000FA998 7C 65 02 14 */ add r3, r5, r0 +/* 800FDA3C 000FA99C 7C 89 03 A6 */ mtctr r4 +/* 800FDA40 000FA9A0 2C 04 00 00 */ cmpwi r4, 0 +/* 800FDA44 000FA9A4 38 63 00 04 */ addi r3, r3, 4 +/* 800FDA48 000FA9A8 40 81 00 1C */ ble lbl_800FDA64 +lbl_800FDA4C: +/* 800FDA4C 000FA9AC 28 03 00 00 */ cmplwi r3, 0 +/* 800FDA50 000FA9B0 41 82 00 0C */ beq lbl_800FDA5C +/* 800FDA54 000FA9B4 C0 0D 89 24 */ lfs f0, lbl_805A74E4@sda21(r13) +/* 800FDA58 000FA9B8 D0 03 00 00 */ stfs f0, 0(r3) +lbl_800FDA5C: +/* 800FDA5C 000FA9BC 38 63 00 04 */ addi r3, r3, 4 +/* 800FDA60 000FA9C0 42 00 FF EC */ bdnz lbl_800FDA4C +lbl_800FDA64: +/* 800FDA64 000FA9C4 38 00 00 08 */ li r0, 8 +/* 800FDA68 000FA9C8 90 05 00 00 */ stw r0, 0(r5) +lbl_800FDA6C: +/* 800FDA6C 000FA9CC 88 1D 00 E7 */ lbz r0, 0xe7(r29) +/* 800FDA70 000FA9D0 38 60 00 00 */ li r3, 0 +/* 800FDA74 000FA9D4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 800FDA78 000FA9D8 98 1D 00 E7 */ stb r0, 0xe7(r29) +/* 800FDA7C 000FA9DC 80 7D 00 90 */ lwz r3, 0x90(r29) +/* 800FDA80 000FA9E0 28 03 00 00 */ cmplwi r3, 0 +/* 800FDA84 000FA9E4 41 82 00 10 */ beq lbl_800FDA94 +/* 800FDA88 000FA9E8 80 03 02 A8 */ lwz r0, 0x2a8(r3) +/* 800FDA8C 000FA9EC 54 00 08 3C */ slwi r0, r0, 1 +/* 800FDA90 000FA9F0 90 03 02 A8 */ stw r0, 0x2a8(r3) +lbl_800FDA94: +/* 800FDA94 000FA9F4 7F A3 EB 78 */ mr r3, r29 +/* 800FDA98 000FA9F8 38 80 00 00 */ li r4, 0 +/* 800FDA9C 000FA9FC 4B F5 69 45 */ bl SetUseInSortedLists__6CActorFb +/* 800FDAA0 000FAA00 80 AD 89 2C */ lwz r5, lbl_805A74EC@sda21(r13) +/* 800FDAA4 000FAA04 38 60 00 00 */ li r3, 0 +/* 800FDAA8 000FAA08 38 80 00 01 */ li r4, 1 +/* 800FDAAC 000FAA0C 48 28 C4 49 */ bl __shl2i +/* 800FDAB0 000FAA10 80 AD 89 30 */ lwz r5, lbl_805A74F0@sda21(r13) +/* 800FDAB4 000FAA14 7C 91 23 78 */ mr r17, r4 +/* 800FDAB8 000FAA18 7C 70 1B 78 */ mr r16, r3 +/* 800FDABC 000FAA1C 38 60 00 00 */ li r3, 0 +/* 800FDAC0 000FAA20 38 80 00 01 */ li r4, 1 +/* 800FDAC4 000FAA24 48 28 C4 31 */ bl __shl2i +/* 800FDAC8 000FAA28 80 AD 89 34 */ lwz r5, lbl_805A74F4@sda21(r13) +/* 800FDACC 000FAA2C 7E 31 23 78 */ or r17, r17, r4 +/* 800FDAD0 000FAA30 7E 10 1B 78 */ or r16, r16, r3 +/* 800FDAD4 000FAA34 38 60 00 00 */ li r3, 0 +/* 800FDAD8 000FAA38 38 80 00 01 */ li r4, 1 +/* 800FDADC 000FAA3C 48 28 C4 19 */ bl __shl2i +/* 800FDAE0 000FAA40 80 AD 89 38 */ lwz r5, lbl_805A74F8@sda21(r13) +/* 800FDAE4 000FAA44 7E 31 23 78 */ or r17, r17, r4 +/* 800FDAE8 000FAA48 7E 10 1B 78 */ or r16, r16, r3 +/* 800FDAEC 000FAA4C 38 60 00 00 */ li r3, 0 +/* 800FDAF0 000FAA50 38 80 00 01 */ li r4, 1 +/* 800FDAF4 000FAA54 48 28 C4 01 */ bl __shl2i +/* 800FDAF8 000FAA58 80 AD 89 28 */ lwz r5, lbl_805A74E8@sda21(r13) +/* 800FDAFC 000FAA5C 7E 31 23 78 */ or r17, r17, r4 +/* 800FDB00 000FAA60 7E 10 1B 78 */ or r16, r16, r3 +/* 800FDB04 000FAA64 38 60 00 00 */ li r3, 0 +/* 800FDB08 000FAA68 38 80 00 01 */ li r4, 1 +/* 800FDB0C 000FAA6C 48 28 C3 E9 */ bl __shl2i +/* 800FDB10 000FAA70 38 00 00 03 */ li r0, 3 +/* 800FDB14 000FAA74 90 81 00 64 */ stw r4, 0x64(r1) +/* 800FDB18 000FAA78 38 81 00 60 */ addi r4, r1, 0x60 +/* 800FDB1C 000FAA7C 90 61 00 60 */ stw r3, 0x60(r1) +/* 800FDB20 000FAA80 7F A3 EB 78 */ mr r3, r29 +/* 800FDB24 000FAA84 92 21 00 6C */ stw r17, 0x6c(r1) +/* 800FDB28 000FAA88 92 01 00 68 */ stw r16, 0x68(r1) +/* 800FDB2C 000FAA8C 90 01 00 70 */ stw r0, 0x70(r1) +/* 800FDB30 000FAA90 4B F5 5D 71 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 800FDB34 000FAA94 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800FDB38 000FAA98 7F C4 F3 78 */ mr r4, r30 +/* 800FDB3C 000FAA9C 38 63 00 04 */ addi r3, r3, 4 +/* 800FDB40 000FAAA0 48 23 E1 8D */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800FDB44 000FAAA4 28 03 00 00 */ cmplwi r3, 0 +/* 800FDB48 000FAAA8 41 82 00 EC */ beq lbl_800FDC34 +/* 800FDB4C 000FAAAC 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 800FDB50 000FAAB0 93 C1 00 30 */ stw r30, 0x30(r1) +/* 800FDB54 000FAAB4 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 800FDB58 000FAAB8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800FDB5C 000FAABC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800FDB60 000FAAC0 38 61 00 24 */ addi r3, r1, 0x24 +/* 800FDB64 000FAAC4 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800FDB68 000FAAC8 81 84 00 00 */ lwz r12, 0(r4) +/* 800FDB6C 000FAACC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800FDB70 000FAAD0 7D 89 03 A6 */ mtctr r12 +/* 800FDB74 000FAAD4 4E 80 04 21 */ bctrl +/* 800FDB78 000FAAD8 38 61 00 40 */ addi r3, r1, 0x40 +/* 800FDB7C 000FAADC 38 81 00 24 */ addi r4, r1, 0x24 +/* 800FDB80 000FAAE0 48 24 33 29 */ bl __ct__6CTokenFRC6CToken +/* 800FDB84 000FAAE4 38 61 00 24 */ addi r3, r1, 0x24 +/* 800FDB88 000FAAE8 38 80 FF FF */ li r4, -1 +/* 800FDB8C 000FAAEC 48 24 32 B5 */ bl __dt__6CTokenFv +/* 800FDB90 000FAAF0 3C 60 80 3D */ lis r3, lbl_803CEDF8@ha +/* 800FDB94 000FAAF4 3A 20 00 00 */ li r17, 0 +/* 800FDB98 000FAAF8 38 83 ED F8 */ addi r4, r3, lbl_803CEDF8@l +/* 800FDB9C 000FAAFC 38 A0 00 00 */ li r5, 0 +/* 800FDBA0 000FAB00 38 60 03 40 */ li r3, 0x340 +/* 800FDBA4 000FAB04 48 21 7C C9 */ bl __nw__FUlPCcPCc +/* 800FDBA8 000FAB08 7C 70 1B 79 */ or. r16, r3, r3 +/* 800FDBAC 000FAB0C 41 82 00 2C */ beq lbl_800FDBD8 +/* 800FDBB0 000FAB10 38 61 00 1C */ addi r3, r1, 0x1c +/* 800FDBB4 000FAB14 38 81 00 40 */ addi r4, r1, 0x40 +/* 800FDBB8 000FAB18 48 24 32 F1 */ bl __ct__6CTokenFRC6CToken +/* 800FDBBC 000FAB1C 7E 03 83 78 */ mr r3, r16 +/* 800FDBC0 000FAB20 38 81 00 1C */ addi r4, r1, 0x1c +/* 800FDBC4 000FAB24 3A 20 00 01 */ li r17, 1 +/* 800FDBC8 000FAB28 38 A0 00 00 */ li r5, 0 +/* 800FDBCC 000FAB2C 38 C0 00 01 */ li r6, 1 +/* 800FDBD0 000FAB30 48 22 18 11 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800FDBD4 000FAB34 7C 70 1B 78 */ mr r16, r3 +lbl_800FDBD8: +/* 800FDBD8 000FAB38 80 7D 02 D4 */ lwz r3, 0x2d4(r29) +/* 800FDBDC 000FAB3C 28 03 00 00 */ cmplwi r3, 0 +/* 800FDBE0 000FAB40 41 82 00 18 */ beq lbl_800FDBF8 +/* 800FDBE4 000FAB44 81 83 00 00 */ lwz r12, 0(r3) +/* 800FDBE8 000FAB48 38 80 00 01 */ li r4, 1 +/* 800FDBEC 000FAB4C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800FDBF0 000FAB50 7D 89 03 A6 */ mtctr r12 +/* 800FDBF4 000FAB54 4E 80 04 21 */ bctrl +lbl_800FDBF8: +/* 800FDBF8 000FAB58 7E 20 07 75 */ extsb. r0, r17 +/* 800FDBFC 000FAB5C 92 1D 02 D4 */ stw r16, 0x2d4(r29) +/* 800FDC00 000FAB60 41 82 00 10 */ beq lbl_800FDC10 +/* 800FDC04 000FAB64 38 61 00 1C */ addi r3, r1, 0x1c +/* 800FDC08 000FAB68 38 80 00 00 */ li r4, 0 +/* 800FDC0C 000FAB6C 48 24 32 35 */ bl __dt__6CTokenFv +lbl_800FDC10: +/* 800FDC10 000FAB70 80 7D 02 D4 */ lwz r3, 0x2d4(r29) +/* 800FDC14 000FAB74 7F E4 FB 78 */ mr r4, r31 +/* 800FDC18 000FAB78 81 83 00 00 */ lwz r12, 0(r3) +/* 800FDC1C 000FAB7C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800FDC20 000FAB80 7D 89 03 A6 */ mtctr r12 +/* 800FDC24 000FAB84 4E 80 04 21 */ bctrl +/* 800FDC28 000FAB88 38 61 00 40 */ addi r3, r1, 0x40 +/* 800FDC2C 000FAB8C 38 80 00 00 */ li r4, 0 +/* 800FDC30 000FAB90 48 24 32 11 */ bl __dt__6CTokenFv +lbl_800FDC34: +/* 800FDC34 000FAB94 C0 02 96 A0 */ lfs f0, lbl_805AB3C0@sda21(r2) +/* 800FDC38 000FAB98 C0 5D 00 E8 */ lfs f2, 0xe8(r29) +/* 800FDC3C 000FAB9C FC 20 00 50 */ fneg f1, f0 +/* 800FDC40 000FABA0 C0 02 93 64 */ lfs f0, lbl_805AB084@sda21(r2) +/* 800FDC44 000FABA4 D0 1D 01 50 */ stfs f0, 0x150(r29) +/* 800FDC48 000FABA8 EC 21 00 B2 */ fmuls f1, f1, f2 +/* 800FDC4C 000FABAC D0 1D 01 54 */ stfs f0, 0x154(r29) +/* 800FDC50 000FABB0 D0 3D 01 58 */ stfs f1, 0x158(r29) +/* 800FDC54 000FABB4 80 9D 00 90 */ lwz r4, 0x90(r29) +/* 800FDC58 000FABB8 28 04 00 00 */ cmplwi r4, 0 +/* 800FDC5C 000FABBC 41 82 00 14 */ beq lbl_800FDC70 +/* 800FDC60 000FABC0 88 04 02 98 */ lbz r0, 0x298(r4) +/* 800FDC64 000FABC4 38 60 00 01 */ li r3, 1 +/* 800FDC68 000FABC8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800FDC6C 000FABCC 98 04 02 98 */ stb r0, 0x298(r4) +lbl_800FDC70: +/* 800FDC70 000FABD0 7F A3 EB 78 */ mr r3, r29 +/* 800FDC74 000FABD4 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 800FDC78 000FABD8 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 800FDC7C 000FABDC E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 800FDC80 000FABE0 CB C1 01 60 */ lfd f30, 0x160(r1) +/* 800FDC84 000FABE4 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 800FDC88 000FABE8 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 800FDC8C 000FABEC E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 800FDC90 000FABF0 CB 81 01 40 */ lfd f28, 0x140(r1) +/* 800FDC94 000FABF4 BA 01 01 00 */ lmw r16, 0x100(r1) +/* 800FDC98 000FABF8 80 01 01 84 */ lwz r0, 0x184(r1) +/* 800FDC9C 000FABFC 7C 08 03 A6 */ mtlr r0 +/* 800FDCA0 000FAC00 38 21 01 80 */ addi r1, r1, 0x180 +/* 800FDCA4 000FAC04 4E 80 00 20 */ blr + +.global debris_cone__FR13CStateManagerfff +debris_cone__FR13CStateManagerfff: +/* 800FDCA8 000FAC08 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800FDCAC 000FAC0C 7C 08 02 A6 */ mflr r0 +/* 800FDCB0 000FAC10 90 01 00 74 */ stw r0, 0x74(r1) +/* 800FDCB4 000FAC14 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800FDCB8 000FAC18 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800FDCBC 000FAC1C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800FDCC0 000FAC20 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 800FDCC4 000FAC24 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 800FDCC8 000FAC28 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 800FDCCC 000FAC2C DB 81 00 30 */ stfd f28, 0x30(r1) +/* 800FDCD0 000FAC30 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 +/* 800FDCD4 000FAC34 DB 61 00 20 */ stfd f27, 0x20(r1) +/* 800FDCD8 000FAC38 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 +/* 800FDCDC 000FAC3C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800FDCE0 000FAC40 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800FDCE4 000FAC44 7C 9F 23 78 */ mr r31, r4 +/* 800FDCE8 000FAC48 FF A0 08 90 */ fmr f29, f1 +/* 800FDCEC 000FAC4C 7C 7E 1B 78 */ mr r30, r3 +/* 800FDCF0 000FAC50 FF 80 10 90 */ fmr f28, f2 +/* 800FDCF4 000FAC54 FF 60 18 90 */ fmr f27, f3 +/* 800FDCF8 000FAC58 80 64 09 00 */ lwz r3, 0x900(r4) +/* 800FDCFC 000FAC5C 48 21 47 E1 */ bl Float__9CRandom16Fv +/* 800FDD00 000FAC60 EC 5B E0 28 */ fsubs f2, f27, f28 +/* 800FDD04 000FAC64 C0 02 93 98 */ lfs f0, lbl_805AB0B8@sda21(r2) +/* 800FDD08 000FAC68 EF C2 E0 7A */ fmadds f30, f2, f1, f28 +/* 800FDD0C 000FAC6C EC 20 07 72 */ fmuls f1, f0, f29 +/* 800FDD10 000FAC70 48 21 70 35 */ bl FastCosR__5CMathFf +/* 800FDD14 000FAC74 FF E0 08 90 */ fmr f31, f1 +/* 800FDD18 000FAC78 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FDD1C 000FAC7C 48 21 47 C1 */ bl Float__9CRandom16Fv +/* 800FDD20 000FAC80 C0 42 93 60 */ lfs f2, lbl_805AB080@sda21(r2) +/* 800FDD24 000FAC84 38 81 00 08 */ addi r4, r1, 8 +/* 800FDD28 000FAC88 38 6D 89 18 */ addi r3, r13, lbl_805A74D8@sda21 +/* 800FDD2C 000FAC8C EC 02 F8 28 */ fsubs f0, f2, f31 +/* 800FDD30 000FAC90 EF A0 10 7C */ fnmsubs f29, f0, f1, f2 +/* 800FDD34 000FAC94 EC 1D 07 72 */ fmuls f0, f29, f29 +/* 800FDD38 000FAC98 EC 02 00 28 */ fsubs f0, f2, f0 +/* 800FDD3C 000FAC9C D0 01 00 08 */ stfs f0, 8(r1) +/* 800FDD40 000FACA0 4B F5 19 F1 */ bl "Max__5CMathFRCfRCf" +/* 800FDD44 000FACA4 C0 23 00 00 */ lfs f1, 0(r3) +/* 800FDD48 000FACA8 C0 02 93 64 */ lfs f0, lbl_805AB084@sda21(r2) +/* 800FDD4C 000FACAC FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800FDD50 000FACB0 40 82 00 08 */ bne lbl_800FDD58 +/* 800FDD54 000FACB4 48 00 00 10 */ b lbl_800FDD64 +lbl_800FDD58: +/* 800FDD58 000FACB8 FC 00 08 34 */ frsqrte f0, f1 +/* 800FDD5C 000FACBC FC 01 00 32 */ fmul f0, f1, f0 +/* 800FDD60 000FACC0 FC 00 00 18 */ frsp f0, f0 +lbl_800FDD64: +/* 800FDD64 000FACC4 EF 9E 00 32 */ fmuls f28, f30, f0 +/* 800FDD68 000FACC8 80 7F 09 00 */ lwz r3, 0x900(r31) +/* 800FDD6C 000FACCC 48 21 47 71 */ bl Float__9CRandom16Fv +/* 800FDD70 000FACD0 C0 02 93 9C */ lfs f0, lbl_805AB0BC@sda21(r2) +/* 800FDD74 000FACD4 EF 60 00 72 */ fmuls f27, f0, f1 +/* 800FDD78 000FACD8 FC 20 D8 90 */ fmr f1, f27 +/* 800FDD7C 000FACDC 48 21 70 75 */ bl FastSinR__5CMathFf +/* 800FDD80 000FACE0 EF FC 00 72 */ fmuls f31, f28, f1 +/* 800FDD84 000FACE4 FC 20 D8 90 */ fmr f1, f27 +/* 800FDD88 000FACE8 48 21 6F BD */ bl FastCosR__5CMathFf +/* 800FDD8C 000FACEC EC 3C 00 72 */ fmuls f1, f28, f1 +/* 800FDD90 000FACF0 EC 1E 07 72 */ fmuls f0, f30, f29 +/* 800FDD94 000FACF4 D0 3E 00 00 */ stfs f1, 0(r30) +/* 800FDD98 000FACF8 D3 FE 00 04 */ stfs f31, 4(r30) +/* 800FDD9C 000FACFC D0 1E 00 08 */ stfs f0, 8(r30) +/* 800FDDA0 000FAD00 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800FDDA4 000FAD04 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800FDDA8 000FAD08 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 800FDDAC 000FAD0C CB C1 00 50 */ lfd f30, 0x50(r1) +/* 800FDDB0 000FAD10 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 800FDDB4 000FAD14 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 800FDDB8 000FAD18 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 +/* 800FDDBC 000FAD1C CB 81 00 30 */ lfd f28, 0x30(r1) +/* 800FDDC0 000FAD20 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 +/* 800FDDC4 000FAD24 CB 61 00 20 */ lfd f27, 0x20(r1) +/* 800FDDC8 000FAD28 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800FDDCC 000FAD2C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800FDDD0 000FAD30 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800FDDD4 000FAD34 7C 08 03 A6 */ mtlr r0 +/* 800FDDD8 000FAD38 38 21 00 70 */ addi r1, r1, 0x70 +/* 800FDDDC 000FAD3C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptDebugCameraWaypoint.s b/asm/Kyoto_CWD/ScriptObjects/CScriptDebugCameraWaypoint.s new file mode 100644 index 00000000..4bdb371c --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptDebugCameraWaypoint.s @@ -0,0 +1,111 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__26CScriptDebugCameraWaypointFv +__dt__26CScriptDebugCameraWaypointFv: +/* 8014ABE4 00147B44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8014ABE8 00147B48 7C 08 02 A6 */ mflr r0 +/* 8014ABEC 00147B4C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014ABF0 00147B50 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8014ABF4 00147B54 7C 9F 23 78 */ mr r31, r4 +/* 8014ABF8 00147B58 93 C1 00 08 */ stw r30, 8(r1) +/* 8014ABFC 00147B5C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8014AC00 00147B60 41 82 00 28 */ beq lbl_8014AC28 +/* 8014AC04 00147B64 3C A0 80 3E */ lis r5, lbl_803E23C8@ha +/* 8014AC08 00147B68 38 80 00 00 */ li r4, 0 +/* 8014AC0C 00147B6C 38 05 23 C8 */ addi r0, r5, lbl_803E23C8@l +/* 8014AC10 00147B70 90 1E 00 00 */ stw r0, 0(r30) +/* 8014AC14 00147B74 4B F0 AA DD */ bl __dt__6CActorFv +/* 8014AC18 00147B78 7F E0 07 35 */ extsh. r0, r31 +/* 8014AC1C 00147B7C 40 81 00 0C */ ble lbl_8014AC28 +/* 8014AC20 00147B80 7F C3 F3 78 */ mr r3, r30 +/* 8014AC24 00147B84 48 1C AD 0D */ bl Free__7CMemoryFPCv +lbl_8014AC28: +/* 8014AC28 00147B88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8014AC2C 00147B8C 7F C3 F3 78 */ mr r3, r30 +/* 8014AC30 00147B90 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8014AC34 00147B94 83 C1 00 08 */ lwz r30, 8(r1) +/* 8014AC38 00147B98 7C 08 03 A6 */ mtlr r0 +/* 8014AC3C 00147B9C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8014AC40 00147BA0 4E 80 00 20 */ blr + +.global Accept__26CScriptDebugCameraWaypointFR8IVisitor +Accept__26CScriptDebugCameraWaypointFR8IVisitor: +/* 8014AC44 00147BA4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8014AC48 00147BA8 7C 08 02 A6 */ mflr r0 +/* 8014AC4C 00147BAC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014AC50 00147BB0 7C 60 1B 78 */ mr r0, r3 +/* 8014AC54 00147BB4 7C 83 23 78 */ mr r3, r4 +/* 8014AC58 00147BB8 81 84 00 00 */ lwz r12, 0(r4) +/* 8014AC5C 00147BBC 7C 04 03 78 */ mr r4, r0 +/* 8014AC60 00147BC0 81 8C 00 78 */ lwz r12, 0x78(r12) +/* 8014AC64 00147BC4 7D 89 03 A6 */ mtctr r12 +/* 8014AC68 00147BC8 4E 80 04 21 */ bctrl +/* 8014AC6C 00147BCC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8014AC70 00147BD0 7C 08 03 A6 */ mtlr r0 +/* 8014AC74 00147BD4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8014AC78 00147BD8 4E 80 00 20 */ blr + +.global "__ct__26CScriptDebugCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUi" +"__ct__26CScriptDebugCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUi": +/* 8014AC7C 00147BDC 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 8014AC80 00147BE0 7C 08 02 A6 */ mflr r0 +/* 8014AC84 00147BE4 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 8014AC88 00147BE8 BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 8014AC8C 00147BEC 7C 7F 1B 78 */ mr r31, r3 +/* 8014AC90 00147BF0 7C 9A 23 78 */ mr r26, r4 +/* 8014AC94 00147BF4 7C BB 2B 78 */ mr r27, r5 +/* 8014AC98 00147BF8 7C DC 33 78 */ mr r28, r6 +/* 8014AC9C 00147BFC 7C FD 3B 78 */ mr r29, r7 +/* 8014ACA0 00147C00 7D 1E 43 78 */ mr r30, r8 +/* 8014ACA4 00147C04 38 61 00 88 */ addi r3, r1, 0x88 +/* 8014ACA8 00147C08 4B EE FA FD */ bl CModelDataNull__10CModelDataFv +/* 8014ACAC 00147C0C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8014ACB0 00147C10 4B ED 01 89 */ bl None__16CActorParametersFv +/* 8014ACB4 00147C14 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8014ACB8 00147C18 38 00 00 00 */ li r0, 0 +/* 8014ACBC 00147C1C 80 AD 8B E8 */ lwz r5, lbl_805A77A8@sda21(r13) +/* 8014ACC0 00147C20 38 60 00 00 */ li r3, 0 +/* 8014ACC4 00147C24 B0 81 00 10 */ sth r4, 0x10(r1) +/* 8014ACC8 00147C28 38 80 00 01 */ li r4, 1 +/* 8014ACCC 00147C2C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8014ACD0 00147C30 90 01 00 18 */ stw r0, 0x18(r1) +/* 8014ACD4 00147C34 48 23 F2 21 */ bl __shl2i +/* 8014ACD8 00147C38 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8014ACDC 00147C3C 39 61 00 20 */ addi r11, r1, 0x20 +/* 8014ACE0 00147C40 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8014ACE4 00147C44 38 01 00 10 */ addi r0, r1, 0x10 +/* 8014ACE8 00147C48 7C A3 1B 78 */ or r3, r5, r3 +/* 8014ACEC 00147C4C A0 BA 00 00 */ lhz r5, 0(r26) +/* 8014ACF0 00147C50 7C C4 23 78 */ or r4, r6, r4 +/* 8014ACF4 00147C54 90 61 00 18 */ stw r3, 0x18(r1) +/* 8014ACF8 00147C58 7F E3 FB 78 */ mr r3, r31 +/* 8014ACFC 00147C5C 7F 66 DB 78 */ mr r6, r27 +/* 8014AD00 00147C60 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8014AD04 00147C64 7F 87 E3 78 */ mr r7, r28 +/* 8014AD08 00147C68 7F A8 EB 78 */ mr r8, r29 +/* 8014AD0C 00147C6C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8014AD10 00147C70 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 8014AD14 00147C74 39 21 00 88 */ addi r9, r1, 0x88 +/* 8014AD18 00147C78 39 41 00 18 */ addi r10, r1, 0x18 +/* 8014AD1C 00147C7C 38 A0 00 01 */ li r5, 1 +/* 8014AD20 00147C80 91 61 00 08 */ stw r11, 8(r1) +/* 8014AD24 00147C84 90 01 00 0C */ stw r0, 0xc(r1) +/* 8014AD28 00147C88 4B F0 AA F9 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8014AD2C 00147C8C 38 61 00 20 */ addi r3, r1, 0x20 +/* 8014AD30 00147C90 38 80 FF FF */ li r4, -1 +/* 8014AD34 00147C94 4B FB B8 D5 */ bl __dt__16CActorParametersFv +/* 8014AD38 00147C98 38 61 00 88 */ addi r3, r1, 0x88 +/* 8014AD3C 00147C9C 38 80 FF FF */ li r4, -1 +/* 8014AD40 00147CA0 4B FC BD 0D */ bl __dt__10CModelDataFv +/* 8014AD44 00147CA4 3C 80 80 3E */ lis r4, lbl_803E23C8@ha +/* 8014AD48 00147CA8 7F E3 FB 78 */ mr r3, r31 +/* 8014AD4C 00147CAC 38 04 23 C8 */ addi r0, r4, lbl_803E23C8@l +/* 8014AD50 00147CB0 90 1F 00 00 */ stw r0, 0(r31) +/* 8014AD54 00147CB4 93 DF 00 E8 */ stw r30, 0xe8(r31) +/* 8014AD58 00147CB8 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 8014AD5C 00147CBC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8014AD60 00147CC0 7C 08 03 A6 */ mtlr r0 +/* 8014AD64 00147CC4 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 8014AD68 00147CC8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptGrapplePoint.s b/asm/Kyoto_CWD/ScriptObjects/CScriptGrapplePoint.s new file mode 100644 index 00000000..932695cd --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptGrapplePoint.s @@ -0,0 +1,248 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Accept__19CScriptGrapplePointFR8IVisitor +Accept__19CScriptGrapplePointFR8IVisitor: +/* 8012F774 0012C6D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012F778 0012C6D8 7C 08 02 A6 */ mflr r0 +/* 8012F77C 0012C6DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012F780 0012C6E0 7C 60 1B 78 */ mr r0, r3 +/* 8012F784 0012C6E4 7C 83 23 78 */ mr r3, r4 +/* 8012F788 0012C6E8 81 84 00 00 */ lwz r12, 0(r4) +/* 8012F78C 0012C6EC 7C 04 03 78 */ mr r4, r0 +/* 8012F790 0012C6F0 81 8C 00 8C */ lwz r12, 0x8c(r12) +/* 8012F794 0012C6F4 7D 89 03 A6 */ mtctr r12 +/* 8012F798 0012C6F8 4E 80 04 21 */ bctrl +/* 8012F79C 0012C6FC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012F7A0 0012C700 7C 08 03 A6 */ mtlr r0 +/* 8012F7A4 0012C704 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012F7A8 0012C708 4E 80 00 20 */ blr + +.global AcceptScriptMsg__19CScriptGrapplePointF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__19CScriptGrapplePointF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8012F7AC 0012C70C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012F7B0 0012C710 7C 08 02 A6 */ mflr r0 +/* 8012F7B4 0012C714 2C 04 00 04 */ cmpwi r4, 4 +/* 8012F7B8 0012C718 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012F7BC 0012C71C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012F7C0 0012C720 7C 7F 1B 78 */ mr r31, r3 +/* 8012F7C4 0012C724 41 82 00 48 */ beq lbl_8012F80C +/* 8012F7C8 0012C728 40 80 00 74 */ bge lbl_8012F83C +/* 8012F7CC 0012C72C 2C 04 00 01 */ cmpwi r4, 1 +/* 8012F7D0 0012C730 41 82 00 08 */ beq lbl_8012F7D8 +/* 8012F7D4 0012C734 48 00 00 68 */ b lbl_8012F83C +lbl_8012F7D8: +/* 8012F7D8 0012C738 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8012F7DC 0012C73C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012F7E0 0012C740 40 82 00 5C */ bne lbl_8012F83C +/* 8012F7E4 0012C744 7C C5 33 78 */ mr r5, r6 +/* 8012F7E8 0012C748 38 80 00 29 */ li r4, 0x29 +/* 8012F7EC 0012C74C 4B F2 4B 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8012F7F0 0012C750 7F E3 FB 78 */ mr r3, r31 +/* 8012F7F4 0012C754 38 80 00 01 */ li r4, 1 +/* 8012F7F8 0012C758 81 9F 00 00 */ lwz r12, 0(r31) +/* 8012F7FC 0012C75C 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8012F800 0012C760 7D 89 03 A6 */ mtctr r12 +/* 8012F804 0012C764 4E 80 04 21 */ bctrl +/* 8012F808 0012C768 48 00 00 34 */ b lbl_8012F83C +lbl_8012F80C: +/* 8012F80C 0012C76C 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 8012F810 0012C770 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8012F814 0012C774 41 82 00 28 */ beq lbl_8012F83C +/* 8012F818 0012C778 7C C5 33 78 */ mr r5, r6 +/* 8012F81C 0012C77C 38 80 00 29 */ li r4, 0x29 +/* 8012F820 0012C780 4B F2 47 61 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8012F824 0012C784 7F E3 FB 78 */ mr r3, r31 +/* 8012F828 0012C788 38 80 00 00 */ li r4, 0 +/* 8012F82C 0012C78C 81 9F 00 00 */ lwz r12, 0(r31) +/* 8012F830 0012C790 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 8012F834 0012C794 7D 89 03 A6 */ mtctr r12 +/* 8012F838 0012C798 4E 80 04 21 */ bctrl +lbl_8012F83C: +/* 8012F83C 0012C79C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012F840 0012C7A0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012F844 0012C7A4 7C 08 03 A6 */ mtlr r0 +/* 8012F848 0012C7A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012F84C 0012C7AC 4E 80 00 20 */ blr + +.global Think__19CScriptGrapplePointFfR13CStateManager +Think__19CScriptGrapplePointFfR13CStateManager: +/* 8012F850 0012C7B0 4E 80 00 20 */ blr + +.global Render__19CScriptGrapplePointCFRC13CStateManager +Render__19CScriptGrapplePointCFRC13CStateManager: +/* 8012F854 0012C7B4 4E 80 00 20 */ blr + +.global GetTouchBounds__19CScriptGrapplePointCFv +GetTouchBounds__19CScriptGrapplePointCFv: +/* 8012F858 0012C7B8 38 00 00 01 */ li r0, 1 +/* 8012F85C 0012C7BC 28 03 00 00 */ cmplwi r3, 0 +/* 8012F860 0012C7C0 98 03 00 18 */ stb r0, 0x18(r3) +/* 8012F864 0012C7C4 4D 82 00 20 */ beqlr +/* 8012F868 0012C7C8 C0 04 00 E8 */ lfs f0, 0xe8(r4) +/* 8012F86C 0012C7CC D0 03 00 00 */ stfs f0, 0(r3) +/* 8012F870 0012C7D0 C0 04 00 EC */ lfs f0, 0xec(r4) +/* 8012F874 0012C7D4 D0 03 00 04 */ stfs f0, 4(r3) +/* 8012F878 0012C7D8 C0 04 00 F0 */ lfs f0, 0xf0(r4) +/* 8012F87C 0012C7DC D0 03 00 08 */ stfs f0, 8(r3) +/* 8012F880 0012C7E0 C0 04 00 F4 */ lfs f0, 0xf4(r4) +/* 8012F884 0012C7E4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 8012F888 0012C7E8 C0 04 00 F8 */ lfs f0, 0xf8(r4) +/* 8012F88C 0012C7EC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 8012F890 0012C7F0 C0 04 00 FC */ lfs f0, 0xfc(r4) +/* 8012F894 0012C7F4 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 8012F898 0012C7F8 4E 80 00 20 */ blr + +.global AddToRenderer__19CScriptGrapplePointCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__19CScriptGrapplePointCFRC14CFrustumPlanesRC13CStateManager: +/* 8012F89C 0012C7FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012F8A0 0012C800 7C 08 02 A6 */ mflr r0 +/* 8012F8A4 0012C804 7C A4 2B 78 */ mr r4, r5 +/* 8012F8A8 0012C808 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012F8AC 0012C80C 4B F2 51 21 */ bl EnsureRendered__6CActorCFRC13CStateManager +/* 8012F8B0 0012C810 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012F8B4 0012C814 7C 08 03 A6 */ mtlr r0 +/* 8012F8B8 0012C818 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012F8BC 0012C81C 4E 80 00 20 */ blr + +.global __dt__19CScriptGrapplePointFv +__dt__19CScriptGrapplePointFv: +/* 8012F8C0 0012C820 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8012F8C4 0012C824 7C 08 02 A6 */ mflr r0 +/* 8012F8C8 0012C828 90 01 00 14 */ stw r0, 0x14(r1) +/* 8012F8CC 0012C82C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8012F8D0 0012C830 7C 9F 23 78 */ mr r31, r4 +/* 8012F8D4 0012C834 93 C1 00 08 */ stw r30, 8(r1) +/* 8012F8D8 0012C838 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8012F8DC 0012C83C 41 82 00 28 */ beq lbl_8012F904 +/* 8012F8E0 0012C840 3C A0 80 3E */ lis r5, lbl_803E0D00@ha +/* 8012F8E4 0012C844 38 80 00 00 */ li r4, 0 +/* 8012F8E8 0012C848 38 05 0D 00 */ addi r0, r5, lbl_803E0D00@l +/* 8012F8EC 0012C84C 90 1E 00 00 */ stw r0, 0(r30) +/* 8012F8F0 0012C850 4B F2 5E 01 */ bl __dt__6CActorFv +/* 8012F8F4 0012C854 7F E0 07 35 */ extsh. r0, r31 +/* 8012F8F8 0012C858 40 81 00 0C */ ble lbl_8012F904 +/* 8012F8FC 0012C85C 7F C3 F3 78 */ mr r3, r30 +/* 8012F900 0012C860 48 1E 60 31 */ bl Free__7CMemoryFPCv +lbl_8012F904: +/* 8012F904 0012C864 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8012F908 0012C868 7F C3 F3 78 */ mr r3, r30 +/* 8012F90C 0012C86C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8012F910 0012C870 83 C1 00 08 */ lwz r30, 8(r1) +/* 8012F914 0012C874 7C 08 03 A6 */ mtlr r0 +/* 8012F918 0012C878 38 21 00 10 */ addi r1, r1, 0x10 +/* 8012F91C 0012C87C 4E 80 00 20 */ blr + +.global "__ct__19CScriptGrapplePointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC18CGrappleParameters" +"__ct__19CScriptGrapplePointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC18CGrappleParameters": +/* 8012F920 0012C880 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 8012F924 0012C884 7C 08 02 A6 */ mflr r0 +/* 8012F928 0012C888 90 01 01 34 */ stw r0, 0x134(r1) +/* 8012F92C 0012C88C BF 21 01 14 */ stmw r25, 0x114(r1) +/* 8012F930 0012C890 7C 7F 1B 78 */ mr r31, r3 +/* 8012F934 0012C894 7C 99 23 78 */ mr r25, r4 +/* 8012F938 0012C898 7C BA 2B 78 */ mr r26, r5 +/* 8012F93C 0012C89C 7C DB 33 78 */ mr r27, r6 +/* 8012F940 0012C8A0 7C FC 3B 78 */ mr r28, r7 +/* 8012F944 0012C8A4 7D 1D 43 78 */ mr r29, r8 +/* 8012F948 0012C8A8 7D 3E 4B 78 */ mr r30, r9 +/* 8012F94C 0012C8AC 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8012F950 0012C8B0 4B F0 AE 55 */ bl CModelDataNull__10CModelDataFv +/* 8012F954 0012C8B4 38 61 00 50 */ addi r3, r1, 0x50 +/* 8012F958 0012C8B8 4B EE B4 E1 */ bl None__16CActorParametersFv +/* 8012F95C 0012C8BC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8012F960 0012C8C0 38 00 00 00 */ li r0, 0 +/* 8012F964 0012C8C4 80 AD 8B 20 */ lwz r5, lbl_805A76E0@sda21(r13) +/* 8012F968 0012C8C8 38 60 00 00 */ li r3, 0 +/* 8012F96C 0012C8CC B0 81 00 10 */ sth r4, 0x10(r1) +/* 8012F970 0012C8D0 38 80 00 01 */ li r4, 1 +/* 8012F974 0012C8D4 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8012F978 0012C8D8 90 01 00 18 */ stw r0, 0x18(r1) +/* 8012F97C 0012C8DC 48 25 A5 79 */ bl __shl2i +/* 8012F980 0012C8E0 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8012F984 0012C8E4 39 61 00 50 */ addi r11, r1, 0x50 +/* 8012F988 0012C8E8 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8012F98C 0012C8EC 38 01 00 10 */ addi r0, r1, 0x10 +/* 8012F990 0012C8F0 7C A3 1B 78 */ or r3, r5, r3 +/* 8012F994 0012C8F4 A1 39 00 00 */ lhz r9, 0(r25) +/* 8012F998 0012C8F8 7C C4 23 78 */ or r4, r6, r4 +/* 8012F99C 0012C8FC 90 61 00 18 */ stw r3, 0x18(r1) +/* 8012F9A0 0012C900 7F E3 FB 78 */ mr r3, r31 +/* 8012F9A4 0012C904 7F A5 EB 78 */ mr r5, r29 +/* 8012F9A8 0012C908 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8012F9AC 0012C90C 7F 46 D3 78 */ mr r6, r26 +/* 8012F9B0 0012C910 7F 67 DB 78 */ mr r7, r27 +/* 8012F9B4 0012C914 7F 88 E3 78 */ mr r8, r28 +/* 8012F9B8 0012C918 B1 21 00 14 */ sth r9, 0x14(r1) +/* 8012F9BC 0012C91C 38 81 00 14 */ addi r4, r1, 0x14 +/* 8012F9C0 0012C920 39 21 00 B8 */ addi r9, r1, 0xb8 +/* 8012F9C4 0012C924 39 41 00 18 */ addi r10, r1, 0x18 +/* 8012F9C8 0012C928 91 61 00 08 */ stw r11, 8(r1) +/* 8012F9CC 0012C92C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8012F9D0 0012C930 4B F2 5E 51 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8012F9D4 0012C934 38 61 00 50 */ addi r3, r1, 0x50 +/* 8012F9D8 0012C938 38 80 FF FF */ li r4, -1 +/* 8012F9DC 0012C93C 4B FD 6C 2D */ bl __dt__16CActorParametersFv +/* 8012F9E0 0012C940 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 8012F9E4 0012C944 38 80 FF FF */ li r4, -1 +/* 8012F9E8 0012C948 4B FE 70 65 */ bl __dt__10CModelDataFv +/* 8012F9EC 0012C94C 3C 60 80 3E */ lis r3, lbl_803E0D00@ha +/* 8012F9F0 0012C950 C0 02 99 30 */ lfs f0, lbl_805AB650@sda21(r2) +/* 8012F9F4 0012C954 38 03 0D 00 */ addi r0, r3, lbl_803E0D00@l +/* 8012F9F8 0012C958 38 7F 00 E8 */ addi r3, r31, 0xe8 +/* 8012F9FC 0012C95C 90 1F 00 00 */ stw r0, 0(r31) +/* 8012FA00 0012C960 38 81 00 44 */ addi r4, r1, 0x44 +/* 8012FA04 0012C964 38 A1 00 2C */ addi r5, r1, 0x2c +/* 8012FA08 0012C968 C1 1F 00 60 */ lfs f8, 0x60(r31) +/* 8012FA0C 0012C96C C0 FF 00 50 */ lfs f7, 0x50(r31) +/* 8012FA10 0012C970 C0 DF 00 40 */ lfs f6, 0x40(r31) +/* 8012FA14 0012C974 EC 88 00 2A */ fadds f4, f8, f0 +/* 8012FA18 0012C978 EC A7 00 2A */ fadds f5, f7, f0 +/* 8012FA1C 0012C97C D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 8012FA20 0012C980 EC 26 00 2A */ fadds f1, f6, f0 +/* 8012FA24 0012C984 EC 67 00 28 */ fsubs f3, f7, f0 +/* 8012FA28 0012C988 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 8012FA2C 0012C98C EC 48 00 28 */ fsubs f2, f8, f0 +/* 8012FA30 0012C990 EC 06 00 28 */ fsubs f0, f6, f0 +/* 8012FA34 0012C994 D1 01 00 28 */ stfs f8, 0x28(r1) +/* 8012FA38 0012C998 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 8012FA3C 0012C99C D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 8012FA40 0012C9A0 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 8012FA44 0012C9A4 D0 C1 00 38 */ stfs f6, 0x38(r1) +/* 8012FA48 0012C9A8 D0 E1 00 3C */ stfs f7, 0x3c(r1) +/* 8012FA4C 0012C9AC D1 01 00 40 */ stfs f8, 0x40(r1) +/* 8012FA50 0012C9B0 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8012FA54 0012C9B4 D0 61 00 48 */ stfs f3, 0x48(r1) +/* 8012FA58 0012C9B8 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 8012FA5C 0012C9BC 48 20 8A AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8012FA60 0012C9C0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 8012FA64 0012C9C4 7F E3 FB 78 */ mr r3, r31 +/* 8012FA68 0012C9C8 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 8012FA6C 0012C9CC C0 1E 00 04 */ lfs f0, 4(r30) +/* 8012FA70 0012C9D0 D0 1F 01 04 */ stfs f0, 0x104(r31) +/* 8012FA74 0012C9D4 C0 1E 00 08 */ lfs f0, 8(r30) +/* 8012FA78 0012C9D8 D0 1F 01 08 */ stfs f0, 0x108(r31) +/* 8012FA7C 0012C9DC C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 8012FA80 0012C9E0 D0 1F 01 0C */ stfs f0, 0x10c(r31) +/* 8012FA84 0012C9E4 C0 1E 00 10 */ lfs f0, 0x10(r30) +/* 8012FA88 0012C9E8 D0 1F 01 10 */ stfs f0, 0x110(r31) +/* 8012FA8C 0012C9EC C0 1E 00 14 */ lfs f0, 0x14(r30) +/* 8012FA90 0012C9F0 D0 1F 01 14 */ stfs f0, 0x114(r31) +/* 8012FA94 0012C9F4 C0 1E 00 18 */ lfs f0, 0x18(r30) +/* 8012FA98 0012C9F8 D0 1F 01 18 */ stfs f0, 0x118(r31) +/* 8012FA9C 0012C9FC C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 8012FAA0 0012CA00 D0 1F 01 1C */ stfs f0, 0x11c(r31) +/* 8012FAA4 0012CA04 C0 1E 00 20 */ lfs f0, 0x20(r30) +/* 8012FAA8 0012CA08 D0 1F 01 20 */ stfs f0, 0x120(r31) +/* 8012FAAC 0012CA0C C0 1E 00 24 */ lfs f0, 0x24(r30) +/* 8012FAB0 0012CA10 D0 1F 01 24 */ stfs f0, 0x124(r31) +/* 8012FAB4 0012CA14 C0 1E 00 28 */ lfs f0, 0x28(r30) +/* 8012FAB8 0012CA18 D0 1F 01 28 */ stfs f0, 0x128(r31) +/* 8012FABC 0012CA1C 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 8012FAC0 0012CA20 98 1F 01 2C */ stb r0, 0x12c(r31) +/* 8012FAC4 0012CA24 BB 21 01 14 */ lmw r25, 0x114(r1) +/* 8012FAC8 0012CA28 80 01 01 34 */ lwz r0, 0x134(r1) +/* 8012FACC 0012CA2C 7C 08 03 A6 */ mtlr r0 +/* 8012FAD0 0012CA30 38 21 01 30 */ addi r1, r1, 0x130 +/* 8012FAD4 0012CA34 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptHUDMemo.s b/asm/Kyoto_CWD/ScriptObjects/CScriptHUDMemo.s new file mode 100644 index 00000000..60497cb0 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptHUDMemo.s @@ -0,0 +1,306 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Accept__14CScriptHUDMemoFR8IVisitor +Accept__14CScriptHUDMemoFR8IVisitor: +/* 800E832C 000E528C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E8330 000E5290 7C 08 02 A6 */ mflr r0 +/* 800E8334 000E5294 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E8338 000E5298 7C 60 1B 78 */ mr r0, r3 +/* 800E833C 000E529C 7C 83 23 78 */ mr r3, r4 +/* 800E8340 000E52A0 81 84 00 00 */ lwz r12, 0(r4) +/* 800E8344 000E52A4 7C 04 03 78 */ mr r4, r0 +/* 800E8348 000E52A8 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800E834C 000E52AC 7D 89 03 A6 */ mtctr r12 +/* 800E8350 000E52B0 4E 80 04 21 */ bctrl +/* 800E8354 000E52B4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E8358 000E52B8 7C 08 03 A6 */ mtlr r0 +/* 800E835C 000E52BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E8360 000E52C0 4E 80 00 20 */ blr + +.global AcceptScriptMsg__14CScriptHUDMemoF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__14CScriptHUDMemoF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800E8364 000E52C4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800E8368 000E52C8 7C 08 02 A6 */ mflr r0 +/* 800E836C 000E52CC 90 01 00 64 */ stw r0, 0x64(r1) +/* 800E8370 000E52D0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800E8374 000E52D4 7C DF 33 78 */ mr r31, r6 +/* 800E8378 000E52D8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800E837C 000E52DC 7C BE 2B 78 */ mr r30, r5 +/* 800E8380 000E52E0 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800E8384 000E52E4 7C 9D 23 78 */ mr r29, r4 +/* 800E8388 000E52E8 2C 1D 00 0D */ cmpwi r29, 0xd +/* 800E838C 000E52EC 93 81 00 50 */ stw r28, 0x50(r1) +/* 800E8390 000E52F0 7C 7C 1B 78 */ mr r28, r3 +/* 800E8394 000E52F4 41 82 00 14 */ beq lbl_800E83A8 +/* 800E8398 000E52F8 40 80 00 F8 */ bge lbl_800E8490 +/* 800E839C 000E52FC 2C 1D 00 04 */ cmpwi r29, 4 +/* 800E83A0 000E5300 41 82 00 9C */ beq lbl_800E843C +/* 800E83A4 000E5304 48 00 00 EC */ b lbl_800E8490 +lbl_800E83A8: +/* 800E83A8 000E5308 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800E83AC 000E530C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800E83B0 000E5310 41 82 00 E0 */ beq lbl_800E8490 +/* 800E83B4 000E5314 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 800E83B8 000E5318 2C 00 00 01 */ cmpwi r0, 1 +/* 800E83BC 000E531C 40 82 00 18 */ bne lbl_800E83D4 +/* 800E83C0 000E5320 80 9C 00 40 */ lwz r4, 0x40(r28) +/* 800E83C4 000E5324 7F E3 FB 78 */ mr r3, r31 +/* 800E83C8 000E5328 C0 3C 00 34 */ lfs f1, 0x34(r28) +/* 800E83CC 000E532C 4B F5 C4 69 */ bl ShowPausedHUDMemo__13CStateManagerFUif +/* 800E83D0 000E5330 48 00 00 C0 */ b lbl_800E8490 +lbl_800E83D4: +/* 800E83D4 000E5334 88 1C 00 50 */ lbz r0, 0x50(r28) +/* 800E83D8 000E5338 28 00 00 00 */ cmplwi r0, 0 +/* 800E83DC 000E533C 41 82 00 3C */ beq lbl_800E8418 +/* 800E83E0 000E5340 80 7C 00 4C */ lwz r3, 0x4c(r28) +/* 800E83E4 000E5344 38 80 00 00 */ li r4, 0 +/* 800E83E8 000E5348 48 26 E3 15 */ bl GetString__12CStringTableCFi +/* 800E83EC 000E534C 7C 64 1B 78 */ mr r4, r3 +/* 800E83F0 000E5350 38 61 00 38 */ addi r3, r1, 0x38 +/* 800E83F4 000E5354 38 C1 00 08 */ addi r6, r1, 8 +/* 800E83F8 000E5358 38 A0 FF FF */ li r5, -1 +/* 800E83FC 000E535C 48 25 53 C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" +/* 800E8400 000E5360 38 61 00 38 */ addi r3, r1, 0x38 +/* 800E8404 000E5364 38 9C 00 34 */ addi r4, r28, 0x34 +/* 800E8408 000E5368 4B F8 38 61 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo +/* 800E840C 000E536C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800E8410 000E5370 48 25 4D 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800E8414 000E5374 48 00 00 7C */ b lbl_800E8490 +lbl_800E8418: +/* 800E8418 000E5378 38 61 00 28 */ addi r3, r1, 0x28 +/* 800E841C 000E537C 38 8D 87 A0 */ addi r4, r13, lbl_805A7360@sda21 +/* 800E8420 000E5380 4B F2 D5 D1 */ bl wstring_l__4rstlFPCw +/* 800E8424 000E5384 38 61 00 28 */ addi r3, r1, 0x28 +/* 800E8428 000E5388 38 9C 00 34 */ addi r4, r28, 0x34 +/* 800E842C 000E538C 4B F8 38 3D */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo +/* 800E8430 000E5390 38 61 00 28 */ addi r3, r1, 0x28 +/* 800E8434 000E5394 48 25 4D 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800E8438 000E5398 48 00 00 58 */ b lbl_800E8490 +lbl_800E843C: +/* 800E843C 000E539C 88 1C 00 30 */ lbz r0, 0x30(r28) +/* 800E8440 000E53A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800E8444 000E53A4 41 82 00 4C */ beq lbl_800E8490 +/* 800E8448 000E53A8 80 1C 00 3C */ lwz r0, 0x3c(r28) +/* 800E844C 000E53AC 2C 00 00 00 */ cmpwi r0, 0 +/* 800E8450 000E53B0 40 82 00 40 */ bne lbl_800E8490 +/* 800E8454 000E53B4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800E8458 000E53B8 38 8D 87 A0 */ addi r4, r13, lbl_805A7360@sda21 +/* 800E845C 000E53BC 4B F2 D5 95 */ bl wstring_l__4rstlFPCw +/* 800E8460 000E53C0 C0 02 90 18 */ lfs f0, lbl_805AAD38@sda21(r2) +/* 800E8464 000E53C4 38 A0 00 00 */ li r5, 0 +/* 800E8468 000E53C8 38 00 00 01 */ li r0, 1 +/* 800E846C 000E53CC 98 A1 00 14 */ stb r5, 0x14(r1) +/* 800E8470 000E53D0 38 61 00 18 */ addi r3, r1, 0x18 +/* 800E8474 000E53D4 38 81 00 10 */ addi r4, r1, 0x10 +/* 800E8478 000E53D8 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800E847C 000E53DC 98 01 00 15 */ stb r0, 0x15(r1) +/* 800E8480 000E53E0 98 A1 00 16 */ stb r5, 0x16(r1) +/* 800E8484 000E53E4 4B F8 37 E5 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo +/* 800E8488 000E53E8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800E848C 000E53EC 48 25 4C A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800E8490: +/* 800E8490 000E53F0 A0 1E 00 00 */ lhz r0, 0(r30) +/* 800E8494 000E53F4 7F 83 E3 78 */ mr r3, r28 +/* 800E8498 000E53F8 7F A4 EB 78 */ mr r4, r29 +/* 800E849C 000E53FC 7F E6 FB 78 */ mr r6, r31 +/* 800E84A0 000E5400 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800E84A4 000E5404 38 A1 00 0C */ addi r5, r1, 0xc +/* 800E84A8 000E5408 4B F6 8C B5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800E84AC 000E540C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800E84B0 000E5410 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800E84B4 000E5414 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800E84B8 000E5418 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800E84BC 000E541C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 800E84C0 000E5420 7C 08 03 A6 */ mtlr r0 +/* 800E84C4 000E5424 38 21 00 60 */ addi r1, r1, 0x60 +/* 800E84C8 000E5428 4E 80 00 20 */ blr + +.global __dt__14CScriptHUDMemoFv +__dt__14CScriptHUDMemoFv: +/* 800E84CC 000E542C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E84D0 000E5430 7C 08 02 A6 */ mflr r0 +/* 800E84D4 000E5434 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E84D8 000E5438 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E84DC 000E543C 7C 9F 23 78 */ mr r31, r4 +/* 800E84E0 000E5440 93 C1 00 08 */ stw r30, 8(r1) +/* 800E84E4 000E5444 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800E84E8 000E5448 41 82 00 60 */ beq lbl_800E8548 +/* 800E84EC 000E544C 3C 60 80 3E */ lis r3, lbl_803DFBF0@ha +/* 800E84F0 000E5450 34 1E 00 44 */ addic. r0, r30, 0x44 +/* 800E84F4 000E5454 38 03 FB F0 */ addi r0, r3, lbl_803DFBF0@l +/* 800E84F8 000E5458 90 1E 00 00 */ stw r0, 0(r30) +/* 800E84FC 000E545C 41 82 00 30 */ beq lbl_800E852C +/* 800E8500 000E5460 88 1E 00 50 */ lbz r0, 0x50(r30) +/* 800E8504 000E5464 28 00 00 00 */ cmplwi r0, 0 +/* 800E8508 000E5468 41 82 00 1C */ beq lbl_800E8524 +/* 800E850C 000E546C 34 7E 00 44 */ addic. r3, r30, 0x44 +/* 800E8510 000E5470 41 82 00 14 */ beq lbl_800E8524 +/* 800E8514 000E5474 28 03 00 00 */ cmplwi r3, 0 +/* 800E8518 000E5478 41 82 00 0C */ beq lbl_800E8524 +/* 800E851C 000E547C 38 80 00 00 */ li r4, 0 +/* 800E8520 000E5480 48 25 89 21 */ bl __dt__6CTokenFv +lbl_800E8524: +/* 800E8524 000E5484 38 00 00 00 */ li r0, 0 +/* 800E8528 000E5488 98 1E 00 50 */ stb r0, 0x50(r30) +lbl_800E852C: +/* 800E852C 000E548C 7F C3 F3 78 */ mr r3, r30 +/* 800E8530 000E5490 38 80 00 00 */ li r4, 0 +/* 800E8534 000E5494 4B F6 8D 41 */ bl __dt__7CEntityFv +/* 800E8538 000E5498 7F E0 07 35 */ extsh. r0, r31 +/* 800E853C 000E549C 40 81 00 0C */ ble lbl_800E8548 +/* 800E8540 000E54A0 7F C3 F3 78 */ mr r3, r30 +/* 800E8544 000E54A4 48 22 D3 ED */ bl Free__7CMemoryFPCv +lbl_800E8548: +/* 800E8548 000E54A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E854C 000E54AC 7F C3 F3 78 */ mr r3, r30 +/* 800E8550 000E54B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E8554 000E54B4 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E8558 000E54B8 7C 08 03 A6 */ mtlr r0 +/* 800E855C 000E54BC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E8560 000E54C0 4E 80 00 20 */ blr + +.global "__ct__14CScriptHUDMemoF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC13CHUDMemoParmsQ214CScriptHUDMemo12EDisplayTypeUib" +"__ct__14CScriptHUDMemoF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC13CHUDMemoParmsQ214CScriptHUDMemo12EDisplayTypeUib": +/* 800E8564 000E54C4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800E8568 000E54C8 7C 08 02 A6 */ mflr r0 +/* 800E856C 000E54CC 90 01 00 74 */ stw r0, 0x74(r1) +/* 800E8570 000E54D0 BF 01 00 50 */ stmw r24, 0x50(r1) +/* 800E8574 000E54D4 7C F9 3B 78 */ mr r25, r7 +/* 800E8578 000E54D8 7C 7F 1B 78 */ mr r31, r3 +/* 800E857C 000E54DC 7D 1B 43 78 */ mr r27, r8 +/* 800E8580 000E54E0 7D 3A 4B 78 */ mr r26, r9 +/* 800E8584 000E54E4 A0 04 00 00 */ lhz r0, 0(r4) +/* 800E8588 000E54E8 7C A4 2B 78 */ mr r4, r5 +/* 800E858C 000E54EC 7C C5 33 78 */ mr r5, r6 +/* 800E8590 000E54F0 7D 46 53 78 */ mr r6, r10 +/* 800E8594 000E54F4 B0 01 00 08 */ sth r0, 8(r1) +/* 800E8598 000E54F8 7C 87 23 78 */ mr r7, r4 +/* 800E859C 000E54FC 38 81 00 08 */ addi r4, r1, 8 +/* 800E85A0 000E5500 4B F6 8D 85 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800E85A4 000E5504 3C 60 80 3E */ lis r3, lbl_803DFBF0@ha +/* 800E85A8 000E5508 3C 1A 00 01 */ addis r0, r26, 1 +/* 800E85AC 000E550C 38 63 FB F0 */ addi r3, r3, lbl_803DFBF0@l +/* 800E85B0 000E5510 3B C0 00 00 */ li r30, 0 +/* 800E85B4 000E5514 90 7F 00 00 */ stw r3, 0(r31) +/* 800E85B8 000E5518 28 00 FF FF */ cmplwi r0, 0xffff +/* 800E85BC 000E551C 3B A0 00 00 */ li r29, 0 +/* 800E85C0 000E5520 3B 80 00 00 */ li r28, 0 +/* 800E85C4 000E5524 C0 19 00 00 */ lfs f0, 0(r25) +/* 800E85C8 000E5528 3B 00 00 00 */ li r24, 0 +/* 800E85CC 000E552C D0 1F 00 34 */ stfs f0, 0x34(r31) +/* 800E85D0 000E5530 88 19 00 04 */ lbz r0, 4(r25) +/* 800E85D4 000E5534 98 1F 00 38 */ stb r0, 0x38(r31) +/* 800E85D8 000E5538 88 19 00 05 */ lbz r0, 5(r25) +/* 800E85DC 000E553C 98 1F 00 39 */ stb r0, 0x39(r31) +/* 800E85E0 000E5540 88 19 00 06 */ lbz r0, 6(r25) +/* 800E85E4 000E5544 98 1F 00 3A */ stb r0, 0x3a(r31) +/* 800E85E8 000E5548 93 7F 00 3C */ stw r27, 0x3c(r31) +/* 800E85EC 000E554C 93 5F 00 40 */ stw r26, 0x40(r31) +/* 800E85F0 000E5550 40 82 00 18 */ bne lbl_800E8608 +/* 800E85F4 000E5554 38 00 00 00 */ li r0, 0 +/* 800E85F8 000E5558 3B 61 00 38 */ addi r27, r1, 0x38 +/* 800E85FC 000E555C 98 01 00 44 */ stb r0, 0x44(r1) +/* 800E8600 000E5560 3B C0 00 01 */ li r30, 1 +/* 800E8604 000E5564 48 00 00 8C */ b lbl_800E8690 +lbl_800E8608: +/* 800E8608 000E5568 3C 60 53 54 */ lis r3, 0x53545247@ha +/* 800E860C 000E556C 93 41 00 18 */ stw r26, 0x18(r1) +/* 800E8610 000E5570 38 03 52 47 */ addi r0, r3, 0x53545247@l +/* 800E8614 000E5574 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E8618 000E5578 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E861C 000E557C 38 61 00 0C */ addi r3, r1, 0xc +/* 800E8620 000E5580 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800E8624 000E5584 81 84 00 00 */ lwz r12, 0(r4) +/* 800E8628 000E5588 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800E862C 000E558C 7D 89 03 A6 */ mtctr r12 +/* 800E8630 000E5590 4E 80 04 21 */ bctrl +/* 800E8634 000E5594 3B 01 00 2C */ addi r24, r1, 0x2c +/* 800E8638 000E5598 38 81 00 0C */ addi r4, r1, 0xc +/* 800E863C 000E559C 7F 03 C3 78 */ mr r3, r24 +/* 800E8640 000E55A0 3B A0 00 01 */ li r29, 1 +/* 800E8644 000E55A4 48 25 88 65 */ bl __ct__6CTokenFRC6CToken +/* 800E8648 000E55A8 7F 03 C3 78 */ mr r3, r24 +/* 800E864C 000E55AC 48 25 87 C1 */ bl GetObj__6CTokenFv +/* 800E8650 000E55B0 80 63 00 04 */ lwz r3, 4(r3) +/* 800E8654 000E55B4 38 00 00 01 */ li r0, 1 +/* 800E8658 000E55B8 37 61 00 1C */ addic. r27, r1, 0x1c +/* 800E865C 000E55BC 3B 80 00 01 */ li r28, 1 +/* 800E8660 000E55C0 90 61 00 34 */ stw r3, 0x34(r1) +/* 800E8664 000E55C4 98 01 00 28 */ stb r0, 0x28(r1) +/* 800E8668 000E55C8 41 82 00 20 */ beq lbl_800E8688 +/* 800E866C 000E55CC 7F 63 DB 78 */ mr r3, r27 +/* 800E8670 000E55D0 7F 04 C3 78 */ mr r4, r24 +/* 800E8674 000E55D4 48 25 88 35 */ bl __ct__6CTokenFRC6CToken +/* 800E8678 000E55D8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800E867C 000E55DC 7F 63 DB 78 */ mr r3, r27 +/* 800E8680 000E55E0 90 1B 00 08 */ stw r0, 8(r27) +/* 800E8684 000E55E4 48 25 87 01 */ bl Lock__6CTokenFv +lbl_800E8688: +/* 800E8688 000E55E8 3B 00 00 01 */ li r24, 1 +/* 800E868C 000E55EC 3B 61 00 1C */ addi r27, r1, 0x1c +lbl_800E8690: +/* 800E8690 000E55F0 88 1B 00 0C */ lbz r0, 0xc(r27) +/* 800E8694 000E55F4 98 1F 00 50 */ stb r0, 0x50(r31) +/* 800E8698 000E55F8 88 1B 00 0C */ lbz r0, 0xc(r27) +/* 800E869C 000E55FC 28 00 00 00 */ cmplwi r0, 0 +/* 800E86A0 000E5600 41 82 00 28 */ beq lbl_800E86C8 +/* 800E86A4 000E5604 37 5F 00 44 */ addic. r26, r31, 0x44 +/* 800E86A8 000E5608 41 82 00 20 */ beq lbl_800E86C8 +/* 800E86AC 000E560C 7F 43 D3 78 */ mr r3, r26 +/* 800E86B0 000E5610 7F 64 DB 78 */ mr r4, r27 +/* 800E86B4 000E5614 48 25 87 F5 */ bl __ct__6CTokenFRC6CToken +/* 800E86B8 000E5618 80 1B 00 08 */ lwz r0, 8(r27) +/* 800E86BC 000E561C 7F 43 D3 78 */ mr r3, r26 +/* 800E86C0 000E5620 90 1A 00 08 */ stw r0, 8(r26) +/* 800E86C4 000E5624 48 25 86 C1 */ bl Lock__6CTokenFv +lbl_800E86C8: +/* 800E86C8 000E5628 7F 00 07 75 */ extsb. r0, r24 +/* 800E86CC 000E562C 41 82 00 30 */ beq lbl_800E86FC +/* 800E86D0 000E5630 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800E86D4 000E5634 28 00 00 00 */ cmplwi r0, 0 +/* 800E86D8 000E5638 41 82 00 1C */ beq lbl_800E86F4 +/* 800E86DC 000E563C 34 61 00 1C */ addic. r3, r1, 0x1c +/* 800E86E0 000E5640 41 82 00 14 */ beq lbl_800E86F4 +/* 800E86E4 000E5644 28 03 00 00 */ cmplwi r3, 0 +/* 800E86E8 000E5648 41 82 00 0C */ beq lbl_800E86F4 +/* 800E86EC 000E564C 38 80 00 00 */ li r4, 0 +/* 800E86F0 000E5650 48 25 87 51 */ bl __dt__6CTokenFv +lbl_800E86F4: +/* 800E86F4 000E5654 38 00 00 00 */ li r0, 0 +/* 800E86F8 000E5658 98 01 00 28 */ stb r0, 0x28(r1) +lbl_800E86FC: +/* 800E86FC 000E565C 7F 80 07 75 */ extsb. r0, r28 +/* 800E8700 000E5660 41 82 00 10 */ beq lbl_800E8710 +/* 800E8704 000E5664 38 61 00 2C */ addi r3, r1, 0x2c +/* 800E8708 000E5668 38 80 00 00 */ li r4, 0 +/* 800E870C 000E566C 48 25 87 35 */ bl __dt__6CTokenFv +lbl_800E8710: +/* 800E8710 000E5670 7F A0 07 75 */ extsb. r0, r29 +/* 800E8714 000E5674 41 82 00 10 */ beq lbl_800E8724 +/* 800E8718 000E5678 38 61 00 0C */ addi r3, r1, 0xc +/* 800E871C 000E567C 38 80 FF FF */ li r4, -1 +/* 800E8720 000E5680 48 25 87 21 */ bl __dt__6CTokenFv +lbl_800E8724: +/* 800E8724 000E5684 7F C0 07 75 */ extsb. r0, r30 +/* 800E8728 000E5688 41 82 00 30 */ beq lbl_800E8758 +/* 800E872C 000E568C 88 01 00 44 */ lbz r0, 0x44(r1) +/* 800E8730 000E5690 28 00 00 00 */ cmplwi r0, 0 +/* 800E8734 000E5694 41 82 00 1C */ beq lbl_800E8750 +/* 800E8738 000E5698 34 61 00 38 */ addic. r3, r1, 0x38 +/* 800E873C 000E569C 41 82 00 14 */ beq lbl_800E8750 +/* 800E8740 000E56A0 28 03 00 00 */ cmplwi r3, 0 +/* 800E8744 000E56A4 41 82 00 0C */ beq lbl_800E8750 +/* 800E8748 000E56A8 38 80 00 00 */ li r4, 0 +/* 800E874C 000E56AC 48 25 86 F5 */ bl __dt__6CTokenFv +lbl_800E8750: +/* 800E8750 000E56B0 38 00 00 00 */ li r0, 0 +/* 800E8754 000E56B4 98 01 00 44 */ stb r0, 0x44(r1) +lbl_800E8758: +/* 800E8758 000E56B8 7F E3 FB 78 */ mr r3, r31 +/* 800E875C 000E56BC BB 01 00 50 */ lmw r24, 0x50(r1) +/* 800E8760 000E56C0 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800E8764 000E56C4 7C 08 03 A6 */ mtlr r0 +/* 800E8768 000E56C8 38 21 00 70 */ addi r1, r1, 0x70 +/* 800E876C 000E56CC 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallAttractionSurface.s b/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallAttractionSurface.s new file mode 100644 index 00000000..df180688 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallAttractionSurface.s @@ -0,0 +1,240 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Accept__34CScriptSpiderBallAttractionSurfaceFR8IVisitor +Accept__34CScriptSpiderBallAttractionSurfaceFR8IVisitor: +/* 8014AD6C 00147CCC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8014AD70 00147CD0 7C 08 02 A6 */ mflr r0 +/* 8014AD74 00147CD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014AD78 00147CD8 7C 60 1B 78 */ mr r0, r3 +/* 8014AD7C 00147CDC 7C 83 23 78 */ mr r3, r4 +/* 8014AD80 00147CE0 81 84 00 00 */ lwz r12, 0(r4) +/* 8014AD84 00147CE4 7C 04 03 78 */ mr r4, r0 +/* 8014AD88 00147CE8 81 8C 00 B8 */ lwz r12, 0xb8(r12) +/* 8014AD8C 00147CEC 7D 89 03 A6 */ mtctr r12 +/* 8014AD90 00147CF0 4E 80 04 21 */ bctrl +/* 8014AD94 00147CF4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8014AD98 00147CF8 7C 08 03 A6 */ mtlr r0 +/* 8014AD9C 00147CFC 38 21 00 10 */ addi r1, r1, 0x10 +/* 8014ADA0 00147D00 4E 80 00 20 */ blr + +.global Think__34CScriptSpiderBallAttractionSurfaceFfR13CStateManager +Think__34CScriptSpiderBallAttractionSurfaceFfR13CStateManager: +/* 8014ADA4 00147D04 4E 80 00 20 */ blr + +.global AcceptScriptMsg__34CScriptSpiderBallAttractionSurfaceF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__34CScriptSpiderBallAttractionSurfaceF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 8014ADA8 00147D08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8014ADAC 00147D0C 7C 08 02 A6 */ mflr r0 +/* 8014ADB0 00147D10 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014ADB4 00147D14 A0 05 00 00 */ lhz r0, 0(r5) +/* 8014ADB8 00147D18 38 A1 00 08 */ addi r5, r1, 8 +/* 8014ADBC 00147D1C B0 01 00 08 */ sth r0, 8(r1) +/* 8014ADC0 00147D20 4B F0 88 55 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 8014ADC4 00147D24 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8014ADC8 00147D28 7C 08 03 A6 */ mtlr r0 +/* 8014ADCC 00147D2C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8014ADD0 00147D30 4E 80 00 20 */ blr + +.global GetTouchBounds__34CScriptSpiderBallAttractionSurfaceCFv +GetTouchBounds__34CScriptSpiderBallAttractionSurfaceCFv: +/* 8014ADD4 00147D34 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 8014ADD8 00147D38 7C 08 02 A6 */ mflr r0 +/* 8014ADDC 00147D3C 90 01 00 44 */ stw r0, 0x44(r1) +/* 8014ADE0 00147D40 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8014ADE4 00147D44 7C 7F 1B 78 */ mr r31, r3 +/* 8014ADE8 00147D48 88 04 00 30 */ lbz r0, 0x30(r4) +/* 8014ADEC 00147D4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8014ADF0 00147D50 41 82 00 AC */ beq lbl_8014AE9C +/* 8014ADF4 00147D54 C0 24 01 04 */ lfs f1, 0x104(r4) +/* 8014ADF8 00147D58 38 61 00 20 */ addi r3, r1, 0x20 +/* 8014ADFC 00147D5C C0 64 00 50 */ lfs f3, 0x50(r4) +/* 8014AE00 00147D60 38 A1 00 08 */ addi r5, r1, 8 +/* 8014AE04 00147D64 C0 04 00 F8 */ lfs f0, 0xf8(r4) +/* 8014AE08 00147D68 EC C1 18 2A */ fadds f6, f1, f3 +/* 8014AE0C 00147D6C C0 44 01 08 */ lfs f2, 0x108(r4) +/* 8014AE10 00147D70 C0 24 00 60 */ lfs f1, 0x60(r4) +/* 8014AE14 00147D74 EC 80 18 2A */ fadds f4, f0, f3 +/* 8014AE18 00147D78 C0 04 00 FC */ lfs f0, 0xfc(r4) +/* 8014AE1C 00147D7C EC A2 08 2A */ fadds f5, f2, f1 +/* 8014AE20 00147D80 EC 60 08 2A */ fadds f3, f0, f1 +/* 8014AE24 00147D84 C0 24 01 00 */ lfs f1, 0x100(r4) +/* 8014AE28 00147D88 C0 44 00 40 */ lfs f2, 0x40(r4) +/* 8014AE2C 00147D8C C0 04 00 F4 */ lfs f0, 0xf4(r4) +/* 8014AE30 00147D90 38 81 00 14 */ addi r4, r1, 0x14 +/* 8014AE34 00147D94 EC 21 10 2A */ fadds f1, f1, f2 +/* 8014AE38 00147D98 EC 00 10 2A */ fadds f0, f0, f2 +/* 8014AE3C 00147D9C D0 C1 00 0C */ stfs f6, 0xc(r1) +/* 8014AE40 00147DA0 D0 21 00 08 */ stfs f1, 8(r1) +/* 8014AE44 00147DA4 D0 A1 00 10 */ stfs f5, 0x10(r1) +/* 8014AE48 00147DA8 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 8014AE4C 00147DAC D0 81 00 18 */ stfs f4, 0x18(r1) +/* 8014AE50 00147DB0 D0 61 00 1C */ stfs f3, 0x1c(r1) +/* 8014AE54 00147DB4 48 1E D6 B5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8014AE58 00147DB8 38 00 00 01 */ li r0, 1 +/* 8014AE5C 00147DBC 28 1F 00 00 */ cmplwi r31, 0 +/* 8014AE60 00147DC0 98 1F 00 18 */ stb r0, 0x18(r31) +/* 8014AE64 00147DC4 41 82 00 40 */ beq lbl_8014AEA4 +/* 8014AE68 00147DC8 C0 01 00 20 */ lfs f0, 0x20(r1) +/* 8014AE6C 00147DCC D0 1F 00 00 */ stfs f0, 0(r31) +/* 8014AE70 00147DD0 C0 01 00 24 */ lfs f0, 0x24(r1) +/* 8014AE74 00147DD4 D0 1F 00 04 */ stfs f0, 4(r31) +/* 8014AE78 00147DD8 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 8014AE7C 00147DDC D0 1F 00 08 */ stfs f0, 8(r31) +/* 8014AE80 00147DE0 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 8014AE84 00147DE4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 8014AE88 00147DE8 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 8014AE8C 00147DEC D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 8014AE90 00147DF0 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 8014AE94 00147DF4 D0 1F 00 14 */ stfs f0, 0x14(r31) +/* 8014AE98 00147DF8 48 00 00 0C */ b lbl_8014AEA4 +lbl_8014AE9C: +/* 8014AE9C 00147DFC 38 00 00 00 */ li r0, 0 +/* 8014AEA0 00147E00 98 1F 00 18 */ stb r0, 0x18(r31) +lbl_8014AEA4: +/* 8014AEA4 00147E04 80 01 00 44 */ lwz r0, 0x44(r1) +/* 8014AEA8 00147E08 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 8014AEAC 00147E0C 7C 08 03 A6 */ mtlr r0 +/* 8014AEB0 00147E10 38 21 00 40 */ addi r1, r1, 0x40 +/* 8014AEB4 00147E14 4E 80 00 20 */ blr + +.global Touch__34CScriptSpiderBallAttractionSurfaceFR6CActorR13CStateManager +Touch__34CScriptSpiderBallAttractionSurfaceFR6CActorR13CStateManager: +/* 8014AEB8 00147E18 4E 80 00 20 */ blr + +.global __dt__34CScriptSpiderBallAttractionSurfaceFv +__dt__34CScriptSpiderBallAttractionSurfaceFv: +/* 8014AEBC 00147E1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8014AEC0 00147E20 7C 08 02 A6 */ mflr r0 +/* 8014AEC4 00147E24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8014AEC8 00147E28 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8014AECC 00147E2C 7C 9F 23 78 */ mr r31, r4 +/* 8014AED0 00147E30 93 C1 00 08 */ stw r30, 8(r1) +/* 8014AED4 00147E34 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8014AED8 00147E38 41 82 00 28 */ beq lbl_8014AF00 +/* 8014AEDC 00147E3C 3C A0 80 3E */ lis r5, lbl_803E2438@ha +/* 8014AEE0 00147E40 38 80 00 00 */ li r4, 0 +/* 8014AEE4 00147E44 38 05 24 38 */ addi r0, r5, lbl_803E2438@l +/* 8014AEE8 00147E48 90 1E 00 00 */ stw r0, 0(r30) +/* 8014AEEC 00147E4C 4B F0 A8 05 */ bl __dt__6CActorFv +/* 8014AEF0 00147E50 7F E0 07 35 */ extsh. r0, r31 +/* 8014AEF4 00147E54 40 81 00 0C */ ble lbl_8014AF00 +/* 8014AEF8 00147E58 7F C3 F3 78 */ mr r3, r30 +/* 8014AEFC 00147E5C 48 1C AA 35 */ bl Free__7CMemoryFPCv +lbl_8014AF00: +/* 8014AF00 00147E60 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8014AF04 00147E64 7F C3 F3 78 */ mr r3, r30 +/* 8014AF08 00147E68 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8014AF0C 00147E6C 83 C1 00 08 */ lwz r30, 8(r1) +/* 8014AF10 00147E70 7C 08 03 A6 */ mtlr r0 +/* 8014AF14 00147E74 38 21 00 10 */ addi r1, r1, 0x10 +/* 8014AF18 00147E78 4E 80 00 20 */ blr + +.global "__ct__34CScriptSpiderBallAttractionSurfaceF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fb" +"__ct__34CScriptSpiderBallAttractionSurfaceF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fb": +/* 8014AF1C 00147E7C 94 21 FE 90 */ stwu r1, -0x170(r1) +/* 8014AF20 00147E80 7C 08 02 A6 */ mflr r0 +/* 8014AF24 00147E84 90 01 01 74 */ stw r0, 0x174(r1) +/* 8014AF28 00147E88 BF 21 01 54 */ stmw r25, 0x154(r1) +/* 8014AF2C 00147E8C 7C 7F 1B 78 */ mr r31, r3 +/* 8014AF30 00147E90 7C 99 23 78 */ mr r25, r4 +/* 8014AF34 00147E94 7C BA 2B 78 */ mr r26, r5 +/* 8014AF38 00147E98 7C DB 33 78 */ mr r27, r6 +/* 8014AF3C 00147E9C 7C FC 3B 78 */ mr r28, r7 +/* 8014AF40 00147EA0 7D 1D 43 78 */ mr r29, r8 +/* 8014AF44 00147EA4 7D 3E 4B 78 */ mr r30, r9 +/* 8014AF48 00147EA8 38 61 01 00 */ addi r3, r1, 0x100 +/* 8014AF4C 00147EAC 4B EE F8 59 */ bl CModelDataNull__10CModelDataFv +/* 8014AF50 00147EB0 38 61 00 98 */ addi r3, r1, 0x98 +/* 8014AF54 00147EB4 4B EC FE E5 */ bl None__16CActorParametersFv +/* 8014AF58 00147EB8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 8014AF5C 00147EBC 38 00 00 00 */ li r0, 0 +/* 8014AF60 00147EC0 80 AD 8B F0 */ lwz r5, lbl_805A77B0@sda21(r13) +/* 8014AF64 00147EC4 38 60 00 00 */ li r3, 0 +/* 8014AF68 00147EC8 B0 81 00 10 */ sth r4, 0x10(r1) +/* 8014AF6C 00147ECC 38 80 00 01 */ li r4, 1 +/* 8014AF70 00147ED0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 8014AF74 00147ED4 90 01 00 18 */ stw r0, 0x18(r1) +/* 8014AF78 00147ED8 48 23 EF 7D */ bl __shl2i +/* 8014AF7C 00147EDC 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 8014AF80 00147EE0 39 61 00 98 */ addi r11, r1, 0x98 +/* 8014AF84 00147EE4 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 8014AF88 00147EE8 38 01 00 10 */ addi r0, r1, 0x10 +/* 8014AF8C 00147EEC 7C A3 1B 78 */ or r3, r5, r3 +/* 8014AF90 00147EF0 A1 39 00 00 */ lhz r9, 0(r25) +/* 8014AF94 00147EF4 7C C4 23 78 */ or r4, r6, r4 +/* 8014AF98 00147EF8 90 61 00 18 */ stw r3, 0x18(r1) +/* 8014AF9C 00147EFC 7F E3 FB 78 */ mr r3, r31 +/* 8014AFA0 00147F00 7F C5 F3 78 */ mr r5, r30 +/* 8014AFA4 00147F04 90 81 00 1C */ stw r4, 0x1c(r1) +/* 8014AFA8 00147F08 7F 46 D3 78 */ mr r6, r26 +/* 8014AFAC 00147F0C 7F 67 DB 78 */ mr r7, r27 +/* 8014AFB0 00147F10 7F 88 E3 78 */ mr r8, r28 +/* 8014AFB4 00147F14 B1 21 00 14 */ sth r9, 0x14(r1) +/* 8014AFB8 00147F18 38 81 00 14 */ addi r4, r1, 0x14 +/* 8014AFBC 00147F1C 39 21 01 00 */ addi r9, r1, 0x100 +/* 8014AFC0 00147F20 39 41 00 18 */ addi r10, r1, 0x18 +/* 8014AFC4 00147F24 91 61 00 08 */ stw r11, 8(r1) +/* 8014AFC8 00147F28 90 01 00 0C */ stw r0, 0xc(r1) +/* 8014AFCC 00147F2C 4B F0 A8 55 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 8014AFD0 00147F30 38 61 00 98 */ addi r3, r1, 0x98 +/* 8014AFD4 00147F34 38 80 FF FF */ li r4, -1 +/* 8014AFD8 00147F38 4B FB B6 31 */ bl __dt__16CActorParametersFv +/* 8014AFDC 00147F3C 38 61 01 00 */ addi r3, r1, 0x100 +/* 8014AFE0 00147F40 38 80 FF FF */ li r4, -1 +/* 8014AFE4 00147F44 4B FC BA 69 */ bl __dt__10CModelDataFv +/* 8014AFE8 00147F48 3C 60 80 3E */ lis r3, lbl_803E2438@ha +/* 8014AFEC 00147F4C C0 42 9C E0 */ lfs f2, lbl_805ABA00@sda21(r2) +/* 8014AFF0 00147F50 38 03 24 38 */ addi r0, r3, lbl_803E2438@l +/* 8014AFF4 00147F54 7F 84 E3 78 */ mr r4, r28 +/* 8014AFF8 00147F58 90 1F 00 00 */ stw r0, 0(r31) +/* 8014AFFC 00147F5C 38 61 00 68 */ addi r3, r1, 0x68 +/* 8014B000 00147F60 C0 1D 00 00 */ lfs f0, 0(r29) +/* 8014B004 00147F64 D0 1F 00 E8 */ stfs f0, 0xe8(r31) +/* 8014B008 00147F68 C0 1D 00 04 */ lfs f0, 4(r29) +/* 8014B00C 00147F6C D0 1F 00 EC */ stfs f0, 0xec(r31) +/* 8014B010 00147F70 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8014B014 00147F74 D0 1F 00 F0 */ stfs f0, 0xf0(r31) +/* 8014B018 00147F78 C0 1D 00 08 */ lfs f0, 8(r29) +/* 8014B01C 00147F7C C0 3D 00 04 */ lfs f1, 4(r29) +/* 8014B020 00147F80 EC A2 00 32 */ fmuls f5, f2, f0 +/* 8014B024 00147F84 C0 1D 00 00 */ lfs f0, 0(r29) +/* 8014B028 00147F88 EC 82 00 72 */ fmuls f4, f2, f1 +/* 8014B02C 00147F8C EC 22 00 32 */ fmuls f1, f2, f0 +/* 8014B030 00147F90 FC 60 28 50 */ fneg f3, f5 +/* 8014B034 00147F94 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 8014B038 00147F98 FC 40 20 50 */ fneg f2, f4 +/* 8014B03C 00147F9C FC 00 08 50 */ fneg f0, f1 +/* 8014B040 00147FA0 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 8014B044 00147FA4 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 8014B048 00147FA8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8014B04C 00147FAC D0 41 00 30 */ stfs f2, 0x30(r1) +/* 8014B050 00147FB0 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 8014B054 00147FB4 48 1C 7B ED */ bl GetRotation__12CTransform4fCFv +/* 8014B058 00147FB8 38 61 00 38 */ addi r3, r1, 0x38 +/* 8014B05C 00147FBC 38 81 00 2C */ addi r4, r1, 0x2c +/* 8014B060 00147FC0 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8014B064 00147FC4 48 1E D4 A5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 8014B068 00147FC8 7C 64 1B 78 */ mr r4, r3 +/* 8014B06C 00147FCC 38 61 00 50 */ addi r3, r1, 0x50 +/* 8014B070 00147FD0 38 A1 00 68 */ addi r5, r1, 0x68 +/* 8014B074 00147FD4 48 1E C8 89 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 8014B078 00147FD8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8014B07C 00147FDC 7F E3 FB 78 */ mr r3, r31 +/* 8014B080 00147FE0 D0 1F 00 F4 */ stfs f0, 0xf4(r31) +/* 8014B084 00147FE4 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 8014B088 00147FE8 D0 1F 00 F8 */ stfs f0, 0xf8(r31) +/* 8014B08C 00147FEC C0 01 00 58 */ lfs f0, 0x58(r1) +/* 8014B090 00147FF0 D0 1F 00 FC */ stfs f0, 0xfc(r31) +/* 8014B094 00147FF4 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 8014B098 00147FF8 D0 1F 01 00 */ stfs f0, 0x100(r31) +/* 8014B09C 00147FFC C0 01 00 60 */ lfs f0, 0x60(r1) +/* 8014B0A0 00148000 D0 1F 01 04 */ stfs f0, 0x104(r31) +/* 8014B0A4 00148004 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 8014B0A8 00148008 D0 1F 01 08 */ stfs f0, 0x108(r31) +/* 8014B0AC 0014800C BB 21 01 54 */ lmw r25, 0x154(r1) +/* 8014B0B0 00148010 80 01 01 74 */ lwz r0, 0x174(r1) +/* 8014B0B4 00148014 7C 08 03 A6 */ mtlr r0 +/* 8014B0B8 00148018 38 21 01 70 */ addi r1, r1, 0x170 +/* 8014B0BC 0014801C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallWaypoint.s b/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallWaypoint.s new file mode 100644 index 00000000..269e8912 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallWaypoint.s @@ -0,0 +1,1082 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetTouchBounds__25CScriptSpiderBallWaypointCFv +GetTouchBounds__25CScriptSpiderBallWaypointCFv: +/* 80117C70 00114BD0 88 04 01 14 */ lbz r0, 0x114(r4) +/* 80117C74 00114BD4 98 03 00 18 */ stb r0, 0x18(r3) +/* 80117C78 00114BD8 88 04 01 14 */ lbz r0, 0x114(r4) +/* 80117C7C 00114BDC 28 00 00 00 */ cmplwi r0, 0 +/* 80117C80 00114BE0 4D 82 00 20 */ beqlr +/* 80117C84 00114BE4 28 03 00 00 */ cmplwi r3, 0 +/* 80117C88 00114BE8 4D 82 00 20 */ beqlr +/* 80117C8C 00114BEC C0 04 00 FC */ lfs f0, 0xfc(r4) +/* 80117C90 00114BF0 D0 03 00 00 */ stfs f0, 0(r3) +/* 80117C94 00114BF4 C0 04 01 00 */ lfs f0, 0x100(r4) +/* 80117C98 00114BF8 D0 03 00 04 */ stfs f0, 4(r3) +/* 80117C9C 00114BFC C0 04 01 04 */ lfs f0, 0x104(r4) +/* 80117CA0 00114C00 D0 03 00 08 */ stfs f0, 8(r3) +/* 80117CA4 00114C04 C0 04 01 08 */ lfs f0, 0x108(r4) +/* 80117CA8 00114C08 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80117CAC 00114C0C C0 04 01 0C */ lfs f0, 0x10c(r4) +/* 80117CB0 00114C10 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80117CB4 00114C14 C0 04 01 10 */ lfs f0, 0x110(r4) +/* 80117CB8 00114C18 D0 03 00 14 */ stfs f0, 0x14(r3) +/* 80117CBC 00114C1C 4E 80 00 20 */ blr + +.global Accept__25CScriptSpiderBallWaypointFR8IVisitor +Accept__25CScriptSpiderBallWaypointFR8IVisitor: +/* 80117CC0 00114C20 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117CC4 00114C24 7C 08 02 A6 */ mflr r0 +/* 80117CC8 00114C28 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117CCC 00114C2C 7C 60 1B 78 */ mr r0, r3 +/* 80117CD0 00114C30 7C 83 23 78 */ mr r3, r4 +/* 80117CD4 00114C34 81 84 00 00 */ lwz r12, 0(r4) +/* 80117CD8 00114C38 7C 04 03 78 */ mr r4, r0 +/* 80117CDC 00114C3C 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 80117CE0 00114C40 7D 89 03 A6 */ mtctr r12 +/* 80117CE4 00114C44 4E 80 04 21 */ bctrl +/* 80117CE8 00114C48 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117CEC 00114C4C 7C 08 03 A6 */ mtlr r0 +/* 80117CF0 00114C50 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117CF4 00114C54 4E 80 00 20 */ blr + +.global Render__25CScriptSpiderBallWaypointCFRC13CStateManager +Render__25CScriptSpiderBallWaypointCFRC13CStateManager: +/* 80117CF8 00114C58 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80117CFC 00114C5C 7C 08 02 A6 */ mflr r0 +/* 80117D00 00114C60 90 01 00 14 */ stw r0, 0x14(r1) +/* 80117D04 00114C64 4B F3 CA A1 */ bl Render__6CActorCFRC13CStateManager +/* 80117D08 00114C68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80117D0C 00114C6C 7C 08 03 A6 */ mtlr r0 +/* 80117D10 00114C70 38 21 00 10 */ addi r1, r1, 0x10 +/* 80117D14 00114C74 4E 80 00 20 */ blr + +.global AddToRenderer__25CScriptSpiderBallWaypointCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__25CScriptSpiderBallWaypointCFRC14CFrustumPlanesRC13CStateManager: +/* 80117D18 00114C78 4E 80 00 20 */ blr + +.global GetClosestPointAlongWaypoints__25CScriptSpiderBallWaypointCFR13CStateManagerRC9CVector3ffPPC25CScriptSpiderBallWaypointR9CVector3fR9CVector3ffR9CVector3f +GetClosestPointAlongWaypoints__25CScriptSpiderBallWaypointCFR13CStateManagerRC9CVector3ffPPC25CScriptSpiderBallWaypointR9CVector3fR9CVector3ffR9CVector3f: +/* 80117D1C 00114C7C 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 80117D20 00114C80 7C 08 02 A6 */ mflr r0 +/* 80117D24 00114C84 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 80117D28 00114C88 DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 80117D2C 00114C8C F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 80117D30 00114C90 DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 80117D34 00114C94 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 80117D38 00114C98 DB A1 01 C0 */ stfd f29, 0x1c0(r1) +/* 80117D3C 00114C9C F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 +/* 80117D40 00114CA0 DB 81 01 B0 */ stfd f28, 0x1b0(r1) +/* 80117D44 00114CA4 F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 +/* 80117D48 00114CA8 DB 61 01 A0 */ stfd f27, 0x1a0(r1) +/* 80117D4C 00114CAC F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 +/* 80117D50 00114CB0 DB 41 01 90 */ stfd f26, 0x190(r1) +/* 80117D54 00114CB4 F3 41 01 98 */ psq_st f26, 408(r1), 0, qr0 +/* 80117D58 00114CB8 DB 21 01 80 */ stfd f25, 0x180(r1) +/* 80117D5C 00114CBC F3 21 01 88 */ psq_st f25, 392(r1), 0, qr0 +/* 80117D60 00114CC0 DB 01 01 70 */ stfd f24, 0x170(r1) +/* 80117D64 00114CC4 F3 01 01 78 */ psq_st f24, 376(r1), 0, qr0 +/* 80117D68 00114CC8 DA E1 01 60 */ stfd f23, 0x160(r1) +/* 80117D6C 00114CCC F2 E1 01 68 */ psq_st f23, 360(r1), 0, qr0 +/* 80117D70 00114CD0 DA C1 01 50 */ stfd f22, 0x150(r1) +/* 80117D74 00114CD4 F2 C1 01 58 */ psq_st f22, 344(r1), 0, qr0 +/* 80117D78 00114CD8 DA A1 01 40 */ stfd f21, 0x140(r1) +/* 80117D7C 00114CDC F2 A1 01 48 */ psq_st f21, 328(r1), 0, qr0 +/* 80117D80 00114CE0 DA 81 01 30 */ stfd f20, 0x130(r1) +/* 80117D84 00114CE4 F2 81 01 38 */ psq_st f20, 312(r1), 0, qr0 +/* 80117D88 00114CE8 BE E1 01 0C */ stmw r23, 0x10c(r1) +/* 80117D8C 00114CEC FE A0 08 90 */ fmr f21, f1 +/* 80117D90 00114CF0 7C 98 23 78 */ mr r24, r4 +/* 80117D94 00114CF4 FE 80 10 90 */ fmr f20, f2 +/* 80117D98 00114CF8 7C B9 2B 78 */ mr r25, r5 +/* 80117D9C 00114CFC 7C DA 33 78 */ mr r26, r6 +/* 80117DA0 00114D00 7C FB 3B 78 */ mr r27, r7 +/* 80117DA4 00114D04 7D 1C 43 78 */ mr r28, r8 +/* 80117DA8 00114D08 7D 3D 4B 78 */ mr r29, r9 +/* 80117DAC 00114D0C 7C 7F 1B 78 */ mr r31, r3 +/* 80117DB0 00114D10 48 00 00 30 */ b lbl_80117DE0 +lbl_80117DB4: +/* 80117DB4 00114D14 7F E4 FB 78 */ mr r4, r31 +/* 80117DB8 00114D18 7F 05 C3 78 */ mr r5, r24 +/* 80117DBC 00114D1C 38 61 00 48 */ addi r3, r1, 0x48 +/* 80117DC0 00114D20 38 C0 00 01 */ li r6, 1 +/* 80117DC4 00114D24 48 00 07 91 */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 80117DC8 00114D28 A0 01 00 48 */ lhz r0, 0x48(r1) +/* 80117DCC 00114D2C 7F 03 C3 78 */ mr r3, r24 +/* 80117DD0 00114D30 38 81 00 4C */ addi r4, r1, 0x4c +/* 80117DD4 00114D34 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 80117DD8 00114D38 4B F3 47 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80117DDC 00114D3C 7C 7F 1B 78 */ mr r31, r3 +lbl_80117DE0: +/* 80117DE0 00114D40 7F E4 FB 78 */ mr r4, r31 +/* 80117DE4 00114D44 7F 05 C3 78 */ mr r5, r24 +/* 80117DE8 00114D48 38 61 00 44 */ addi r3, r1, 0x44 +/* 80117DEC 00114D4C 38 C0 00 01 */ li r6, 1 +/* 80117DF0 00114D50 48 00 07 65 */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 80117DF4 00114D54 A0 61 00 44 */ lhz r3, 0x44(r1) +/* 80117DF8 00114D58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80117DFC 00114D5C 7C 03 00 40 */ cmplw r3, r0 +/* 80117E00 00114D60 40 82 FF B4 */ bne lbl_80117DB4 +/* 80117E04 00114D64 3C 60 80 5A */ lis r3, skZero3f@ha +/* 80117E08 00114D68 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) +/* 80117E0C 00114D6C EE D5 05 72 */ fmuls f22, f21, f21 +/* 80117E10 00114D70 C3 3F 00 40 */ lfs f25, 0x40(r31) +/* 80117E14 00114D74 C3 1F 00 50 */ lfs f24, 0x50(r31) +/* 80117E18 00114D78 EE B4 05 32 */ fmuls f21, f20, f20 +/* 80117E1C 00114D7C C2 FF 00 60 */ lfs f23, 0x60(r31) +/* 80117E20 00114D80 3B C0 00 00 */ li r30, 0 +/* 80117E24 00114D84 C0 23 00 04 */ lfs f1, 4(r3) +/* 80117E28 00114D88 C0 03 00 08 */ lfs f0, 8(r3) +/* 80117E2C 00114D8C D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 80117E30 00114D90 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 80117E34 00114D94 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 80117E38 00114D98 88 1F 00 30 */ lbz r0, 0x30(r31) +/* 80117E3C 00114D9C 54 17 CF FE */ rlwinm r23, r0, 0x19, 0x1f, 0x1f +/* 80117E40 00114DA0 48 00 05 10 */ b lbl_80118350 +lbl_80117E44: +/* 80117E44 00114DA4 7F E4 FB 78 */ mr r4, r31 +/* 80117E48 00114DA8 7F 05 C3 78 */ mr r5, r24 +/* 80117E4C 00114DAC 38 61 00 40 */ addi r3, r1, 0x40 +/* 80117E50 00114DB0 38 C0 00 00 */ li r6, 0 +/* 80117E54 00114DB4 48 00 07 B9 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 80117E58 00114DB8 A0 61 00 40 */ lhz r3, 0x40(r1) +/* 80117E5C 00114DBC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80117E60 00114DC0 7C 03 00 40 */ cmplw r3, r0 +/* 80117E64 00114DC4 41 82 04 90 */ beq lbl_801182F4 +/* 80117E68 00114DC8 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 80117E6C 00114DCC 41 82 04 48 */ beq lbl_801182B4 +/* 80117E70 00114DD0 7F F7 FB 78 */ mr r23, r31 +/* 80117E74 00114DD4 7F E4 FB 78 */ mr r4, r31 +/* 80117E78 00114DD8 7F 05 C3 78 */ mr r5, r24 +/* 80117E7C 00114DDC 38 61 00 38 */ addi r3, r1, 0x38 +/* 80117E80 00114DE0 38 C0 00 00 */ li r6, 0 +/* 80117E84 00114DE4 48 00 07 89 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 80117E88 00114DE8 A0 01 00 38 */ lhz r0, 0x38(r1) +/* 80117E8C 00114DEC 7F 03 C3 78 */ mr r3, r24 +/* 80117E90 00114DF0 38 81 00 3C */ addi r4, r1, 0x3c +/* 80117E94 00114DF4 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 80117E98 00114DF8 4B F3 47 0D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80117E9C 00114DFC C0 39 00 00 */ lfs f1, 0(r25) +/* 80117EA0 00114E00 7C 7F 1B 78 */ mr r31, r3 +/* 80117EA4 00114E04 C0 19 00 04 */ lfs f0, 4(r25) +/* 80117EA8 00114E08 7E E4 BB 78 */ mr r4, r23 +/* 80117EAC 00114E0C C3 83 00 40 */ lfs f28, 0x40(r3) +/* 80117EB0 00114E10 EF A1 C8 28 */ fsubs f29, f1, f25 +/* 80117EB4 00114E14 C3 63 00 50 */ lfs f27, 0x50(r3) +/* 80117EB8 00114E18 EF C0 C0 28 */ fsubs f30, f0, f24 +/* 80117EBC 00114E1C C3 43 00 60 */ lfs f26, 0x60(r3) +/* 80117EC0 00114E20 EC 5C C8 28 */ fsubs f2, f28, f25 +/* 80117EC4 00114E24 EC 3B C0 28 */ fsubs f1, f27, f24 +/* 80117EC8 00114E28 EC 1A B8 28 */ fsubs f0, f26, f23 +/* 80117ECC 00114E2C C0 79 00 08 */ lfs f3, 8(r25) +/* 80117ED0 00114E30 D0 41 00 EC */ stfs f2, 0xec(r1) +/* 80117ED4 00114E34 7F 05 C3 78 */ mr r5, r24 +/* 80117ED8 00114E38 EF E3 B8 28 */ fsubs f31, f3, f23 +/* 80117EDC 00114E3C D0 01 00 F4 */ stfs f0, 0xf4(r1) +/* 80117EE0 00114E40 38 61 00 34 */ addi r3, r1, 0x34 +/* 80117EE4 00114E44 38 C0 00 00 */ li r6, 0 +/* 80117EE8 00114E48 D0 21 00 F0 */ stfs f1, 0xf0(r1) +/* 80117EEC 00114E4C 48 00 06 69 */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 80117EF0 00114E50 A0 61 00 34 */ lhz r3, 0x34(r1) +/* 80117EF4 00114E54 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80117EF8 00114E58 7C 03 00 40 */ cmplw r3, r0 +/* 80117EFC 00114E5C 40 82 00 1C */ bne lbl_80117F18 +/* 80117F00 00114E60 C0 41 00 EC */ lfs f2, 0xec(r1) +/* 80117F04 00114E64 C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 80117F08 00114E68 C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 80117F0C 00114E6C D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 80117F10 00114E70 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 80117F14 00114E74 D0 01 01 00 */ stfs f0, 0x100(r1) +lbl_80117F18: +/* 80117F18 00114E78 EC 1E 07 B2 */ fmuls f0, f30, f30 +/* 80117F1C 00114E7C EC 1D 07 7A */ fmadds f0, f29, f29, f0 +/* 80117F20 00114E80 EC 1F 07 FA */ fmadds f0, f31, f31, f0 +/* 80117F24 00114E84 FC 00 B0 40 */ fcmpo cr0, f0, f22 +/* 80117F28 00114E88 40 80 00 88 */ bge lbl_80117FB0 +/* 80117F2C 00114E8C D3 3B 00 00 */ stfs f25, 0(r27) +/* 80117F30 00114E90 FE C0 00 90 */ fmr f22, f0 +/* 80117F34 00114E94 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80117F38 00114E98 38 81 00 EC */ addi r4, r1, 0xec +/* 80117F3C 00114E9C D3 1B 00 04 */ stfs f24, 4(r27) +/* 80117F40 00114EA0 D2 FB 00 08 */ stfs f23, 8(r27) +/* 80117F44 00114EA4 C0 01 00 EC */ lfs f0, 0xec(r1) +/* 80117F48 00114EA8 D0 1C 00 00 */ stfs f0, 0(r28) +/* 80117F4C 00114EAC C0 01 00 F0 */ lfs f0, 0xf0(r1) +/* 80117F50 00114EB0 D0 1C 00 04 */ stfs f0, 4(r28) +/* 80117F54 00114EB4 C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 80117F58 00114EB8 D0 1C 00 08 */ stfs f0, 8(r28) +/* 80117F5C 00114EBC 48 1F C8 F5 */ bl AsNormalized__9CVector3fCFv +/* 80117F60 00114EC0 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 80117F64 00114EC4 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80117F68 00114EC8 48 1F C8 E9 */ bl AsNormalized__9CVector3fCFv +/* 80117F6C 00114ECC C0 21 00 D4 */ lfs f1, 0xd4(r1) +/* 80117F70 00114ED0 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 80117F74 00114ED4 C0 61 00 D8 */ lfs f3, 0xd8(r1) +/* 80117F78 00114ED8 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 80117F7C 00114EDC EC 01 00 2A */ fadds f0, f1, f0 +/* 80117F80 00114EE0 C0 82 96 68 */ lfs f4, lbl_805AB388@sda21(r2) +/* 80117F84 00114EE4 EC 63 10 2A */ fadds f3, f3, f2 +/* 80117F88 00114EE8 C0 41 00 DC */ lfs f2, 0xdc(r1) +/* 80117F8C 00114EEC C0 21 00 D0 */ lfs f1, 0xd0(r1) +/* 80117F90 00114EF0 EC 04 00 32 */ fmuls f0, f4, f0 +/* 80117F94 00114EF4 EC 22 08 2A */ fadds f1, f2, f1 +/* 80117F98 00114EF8 EC 44 00 F2 */ fmuls f2, f4, f3 +/* 80117F9C 00114EFC D0 1D 00 00 */ stfs f0, 0(r29) +/* 80117FA0 00114F00 EC 04 00 72 */ fmuls f0, f4, f1 +/* 80117FA4 00114F04 D0 5D 00 04 */ stfs f2, 4(r29) +/* 80117FA8 00114F08 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80117FAC 00114F0C 93 FA 00 00 */ stw r31, 0(r26) +lbl_80117FB0: +/* 80117FB0 00114F10 C0 61 00 F0 */ lfs f3, 0xf0(r1) +/* 80117FB4 00114F14 C0 81 00 EC */ lfs f4, 0xec(r1) +/* 80117FB8 00114F18 EC 3E 00 F2 */ fmuls f1, f30, f3 +/* 80117FBC 00114F1C C0 A1 00 F4 */ lfs f5, 0xf4(r1) +/* 80117FC0 00114F20 C0 02 96 6C */ lfs f0, lbl_805AB38C@sda21(r2) +/* 80117FC4 00114F24 EC 3D 09 3A */ fmadds f1, f29, f4, f1 +/* 80117FC8 00114F28 EC 5F 09 7A */ fmadds f2, f31, f5, f1 +/* 80117FCC 00114F2C FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 80117FD0 00114F30 4C 41 13 82 */ cror 2, 1, 2 +/* 80117FD4 00114F34 40 82 02 B4 */ bne lbl_80118288 +/* 80117FD8 00114F38 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 80117FDC 00114F3C C0 02 96 70 */ lfs f0, lbl_805AB390@sda21(r2) +/* 80117FE0 00114F40 EC 24 09 3A */ fmadds f1, f4, f4, f1 +/* 80117FE4 00114F44 EC 25 09 7A */ fmadds f1, f5, f5, f1 +/* 80117FE8 00114F48 EC C2 08 24 */ fdivs f6, f2, f1 +/* 80117FEC 00114F4C FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 80117FF0 00114F50 40 80 02 98 */ bge lbl_80118288 +/* 80117FF4 00114F54 EC A0 30 28 */ fsubs f5, f0, f6 +/* 80117FF8 00114F58 C0 39 00 04 */ lfs f1, 4(r25) +/* 80117FFC 00114F5C EC 9C 01 B2 */ fmuls f4, f28, f6 +/* 80118000 00114F60 C0 19 00 00 */ lfs f0, 0(r25) +/* 80118004 00114F64 EC 7B 01 B2 */ fmuls f3, f27, f6 +/* 80118008 00114F68 C0 59 00 08 */ lfs f2, 8(r25) +/* 8011800C 00114F6C EF F9 21 7A */ fmadds f31, f25, f5, f4 +/* 80118010 00114F70 EF D8 19 7A */ fmadds f30, f24, f5, f3 +/* 80118014 00114F74 EC 7A 01 B2 */ fmuls f3, f26, f6 +/* 80118018 00114F78 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 8011801C 00114F7C EC 81 F0 28 */ fsubs f4, f1, f30 +/* 80118020 00114F80 EF B7 19 7A */ fmadds f29, f23, f5, f3 +/* 80118024 00114F84 EC 20 00 32 */ fmuls f1, f0, f0 +/* 80118028 00114F88 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 8011802C 00114F8C EC 04 01 32 */ fmuls f0, f4, f4 +/* 80118030 00114F90 EC 42 E8 28 */ fsubs f2, f2, f29 +/* 80118034 00114F94 D0 81 00 C0 */ stfs f4, 0xc0(r1) +/* 80118038 00114F98 EC 01 00 2A */ fadds f0, f1, f0 +/* 8011803C 00114F9C EC 22 00 B2 */ fmuls f1, f2, f2 +/* 80118040 00114FA0 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 80118044 00114FA4 EC 61 00 2A */ fadds f3, f1, f0 +/* 80118048 00114FA8 FC 03 B0 40 */ fcmpo cr0, f3, f22 +/* 8011804C 00114FAC 40 80 02 3C */ bge lbl_80118288 +/* 80118050 00114FB0 D3 FB 00 00 */ stfs f31, 0(r27) +/* 80118054 00114FB4 EC 59 F8 28 */ fsubs f2, f25, f31 +/* 80118058 00114FB8 EC 38 F0 28 */ fsubs f1, f24, f30 +/* 8011805C 00114FBC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80118060 00114FC0 D3 DB 00 04 */ stfs f30, 4(r27) +/* 80118064 00114FC4 EC 17 E8 28 */ fsubs f0, f23, f29 +/* 80118068 00114FC8 FE C0 18 90 */ fmr f22, f3 +/* 8011806C 00114FCC D3 BB 00 08 */ stfs f29, 8(r27) +/* 80118070 00114FD0 C0 61 00 EC */ lfs f3, 0xec(r1) +/* 80118074 00114FD4 D0 7C 00 00 */ stfs f3, 0(r28) +/* 80118078 00114FD8 C0 61 00 F0 */ lfs f3, 0xf0(r1) +/* 8011807C 00114FDC D0 7C 00 04 */ stfs f3, 4(r28) +/* 80118080 00114FE0 C0 61 00 F4 */ lfs f3, 0xf4(r1) +/* 80118084 00114FE4 D0 7C 00 08 */ stfs f3, 8(r28) +/* 80118088 00114FE8 93 FA 00 00 */ stw r31, 0(r26) +/* 8011808C 00114FEC C0 7C 00 00 */ lfs f3, 0(r28) +/* 80118090 00114FF0 D0 7D 00 00 */ stfs f3, 0(r29) +/* 80118094 00114FF4 C0 7C 00 04 */ lfs f3, 4(r28) +/* 80118098 00114FF8 D0 7D 00 04 */ stfs f3, 4(r29) +/* 8011809C 00114FFC C0 7C 00 08 */ lfs f3, 8(r28) +/* 801180A0 00115000 D0 7D 00 08 */ stfs f3, 8(r29) +/* 801180A4 00115004 D0 41 00 B0 */ stfs f2, 0xb0(r1) +/* 801180A8 00115008 D0 21 00 B4 */ stfs f1, 0xb4(r1) +/* 801180AC 0011500C D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 801180B0 00115010 48 1F C8 09 */ bl Magnitude__9CVector3fCFv +/* 801180B4 00115014 FE E0 08 90 */ fmr f23, f1 +/* 801180B8 00115018 FC 17 A8 40 */ fcmpo cr0, f23, f21 +/* 801180BC 0011501C 40 80 00 9C */ bge lbl_80118158 +/* 801180C0 00115020 38 61 00 8C */ addi r3, r1, 0x8c +/* 801180C4 00115024 38 81 00 EC */ addi r4, r1, 0xec +/* 801180C8 00115028 48 1F C7 89 */ bl AsNormalized__9CVector3fCFv +/* 801180CC 0011502C 38 61 00 98 */ addi r3, r1, 0x98 +/* 801180D0 00115030 38 81 00 EC */ addi r4, r1, 0xec +/* 801180D4 00115034 48 1F C7 7D */ bl AsNormalized__9CVector3fCFv +/* 801180D8 00115038 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 801180DC 0011503C 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 801180E0 00115040 48 1F C7 71 */ bl AsNormalized__9CVector3fCFv +/* 801180E4 00115044 ED 37 A0 24 */ fdivs f9, f23, f20 +/* 801180E8 00115048 C0 82 96 70 */ lfs f4, lbl_805AB390@sda21(r2) +/* 801180EC 0011504C C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 801180F0 00115050 C0 A1 00 90 */ lfs f5, 0x90(r1) +/* 801180F4 00115054 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 801180F8 00115058 C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 801180FC 0011505C C0 21 00 98 */ lfs f1, 0x98(r1) +/* 80118100 00115060 ED 04 48 28 */ fsubs f8, f4, f9 +/* 80118104 00115064 C0 C1 00 A8 */ lfs f6, 0xa8(r1) +/* 80118108 00115068 EC 00 02 72 */ fmuls f0, f0, f9 +/* 8011810C 0011506C C0 81 00 9C */ lfs f4, 0x9c(r1) +/* 80118110 00115070 EC 22 08 2A */ fadds f1, f2, f1 +/* 80118114 00115074 C0 E2 96 68 */ lfs f7, lbl_805AB388@sda21(r2) +/* 80118118 00115078 EC C6 20 2A */ fadds f6, f6, f4 +/* 8011811C 0011507C C0 81 00 AC */ lfs f4, 0xac(r1) +/* 80118120 00115080 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 80118124 00115084 EC 27 00 72 */ fmuls f1, f7, f1 +/* 80118128 00115088 EC A5 02 72 */ fmuls f5, f5, f9 +/* 8011812C 0011508C EC 44 10 2A */ fadds f2, f4, f2 +/* 80118130 00115090 EC 87 01 B2 */ fmuls f4, f7, f6 +/* 80118134 00115094 EC 01 02 3A */ fmadds f0, f1, f8, f0 +/* 80118138 00115098 EC 47 00 B2 */ fmuls f2, f7, f2 +/* 8011813C 0011509C EC 23 02 72 */ fmuls f1, f3, f9 +/* 80118140 001150A0 EC 64 2A 3A */ fmadds f3, f4, f8, f5 +/* 80118144 001150A4 D0 1D 00 00 */ stfs f0, 0(r29) +/* 80118148 001150A8 EC 02 0A 3A */ fmadds f0, f2, f8, f1 +/* 8011814C 001150AC D0 7D 00 04 */ stfs f3, 4(r29) +/* 80118150 001150B0 D0 1D 00 08 */ stfs f0, 8(r29) +/* 80118154 001150B4 48 00 01 34 */ b lbl_80118288 +lbl_80118158: +/* 80118158 001150B8 7F E4 FB 78 */ mr r4, r31 +/* 8011815C 001150BC 7F 05 C3 78 */ mr r5, r24 +/* 80118160 001150C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 80118164 001150C4 38 C0 00 00 */ li r6, 0 +/* 80118168 001150C8 48 00 04 A5 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 8011816C 001150CC A0 61 00 30 */ lhz r3, 0x30(r1) +/* 80118170 001150D0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80118174 001150D4 7C 03 00 40 */ cmplw r3, r0 +/* 80118178 001150D8 41 82 01 10 */ beq lbl_80118288 +/* 8011817C 001150DC EC 5F E0 28 */ fsubs f2, f31, f28 +/* 80118180 001150E0 38 61 00 80 */ addi r3, r1, 0x80 +/* 80118184 001150E4 EC 3E D8 28 */ fsubs f1, f30, f27 +/* 80118188 001150E8 EC 1D D0 28 */ fsubs f0, f29, f26 +/* 8011818C 001150EC D0 41 00 80 */ stfs f2, 0x80(r1) +/* 80118190 001150F0 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 80118194 001150F4 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 80118198 001150F8 48 1F C7 21 */ bl Magnitude__9CVector3fCFv +/* 8011819C 001150FC FE E0 08 90 */ fmr f23, f1 +/* 801181A0 00115100 FC 17 A0 40 */ fcmpo cr0, f23, f20 +/* 801181A4 00115104 40 80 00 E4 */ bge lbl_80118288 +/* 801181A8 00115108 7F E4 FB 78 */ mr r4, r31 +/* 801181AC 0011510C 7F 05 C3 78 */ mr r5, r24 +/* 801181B0 00115110 38 61 00 28 */ addi r3, r1, 0x28 +/* 801181B4 00115114 38 C0 00 00 */ li r6, 0 +/* 801181B8 00115118 48 00 04 55 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 801181BC 0011511C A0 01 00 28 */ lhz r0, 0x28(r1) +/* 801181C0 00115120 7F 03 C3 78 */ mr r3, r24 +/* 801181C4 00115124 38 81 00 2C */ addi r4, r1, 0x2c +/* 801181C8 00115128 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 801181CC 0011512C 4B F3 43 D9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 801181D0 00115130 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 801181D4 00115134 38 81 00 EC */ addi r4, r1, 0xec +/* 801181D8 00115138 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 801181DC 0011513C C0 03 00 40 */ lfs f0, 0x40(r3) +/* 801181E0 00115140 EC 42 D8 28 */ fsubs f2, f2, f27 +/* 801181E4 00115144 EC 21 D0 28 */ fsubs f1, f1, f26 +/* 801181E8 00115148 38 61 00 5C */ addi r3, r1, 0x5c +/* 801181EC 0011514C EC 00 E0 28 */ fsubs f0, f0, f28 +/* 801181F0 00115150 D0 41 00 E4 */ stfs f2, 0xe4(r1) +/* 801181F4 00115154 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 801181F8 00115158 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 801181FC 0011515C 48 1F C6 55 */ bl AsNormalized__9CVector3fCFv +/* 80118200 00115160 38 61 00 68 */ addi r3, r1, 0x68 +/* 80118204 00115164 38 81 00 EC */ addi r4, r1, 0xec +/* 80118208 00115168 48 1F C6 49 */ bl AsNormalized__9CVector3fCFv +/* 8011820C 0011516C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80118210 00115170 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80118214 00115174 48 1F C6 3D */ bl AsNormalized__9CVector3fCFv +/* 80118218 00115178 ED 37 A0 24 */ fdivs f9, f23, f20 +/* 8011821C 0011517C C0 82 96 70 */ lfs f4, lbl_805AB390@sda21(r2) +/* 80118220 00115180 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 80118224 00115184 C0 A1 00 60 */ lfs f5, 0x60(r1) +/* 80118228 00115188 C0 61 00 64 */ lfs f3, 0x64(r1) +/* 8011822C 0011518C C0 41 00 74 */ lfs f2, 0x74(r1) +/* 80118230 00115190 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 80118234 00115194 ED 04 48 28 */ fsubs f8, f4, f9 +/* 80118238 00115198 C0 C1 00 78 */ lfs f6, 0x78(r1) +/* 8011823C 0011519C EC 00 02 72 */ fmuls f0, f0, f9 +/* 80118240 001151A0 C0 81 00 6C */ lfs f4, 0x6c(r1) +/* 80118244 001151A4 EC 22 08 2A */ fadds f1, f2, f1 +/* 80118248 001151A8 C0 E2 96 68 */ lfs f7, lbl_805AB388@sda21(r2) +/* 8011824C 001151AC EC C6 20 2A */ fadds f6, f6, f4 +/* 80118250 001151B0 C0 81 00 7C */ lfs f4, 0x7c(r1) +/* 80118254 001151B4 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 80118258 001151B8 EC 27 00 72 */ fmuls f1, f7, f1 +/* 8011825C 001151BC EC A5 02 72 */ fmuls f5, f5, f9 +/* 80118260 001151C0 EC 44 10 2A */ fadds f2, f4, f2 +/* 80118264 001151C4 EC 87 01 B2 */ fmuls f4, f7, f6 +/* 80118268 001151C8 EC 01 02 3A */ fmadds f0, f1, f8, f0 +/* 8011826C 001151CC EC 47 00 B2 */ fmuls f2, f7, f2 +/* 80118270 001151D0 EC 23 02 72 */ fmuls f1, f3, f9 +/* 80118274 001151D4 EC 64 2A 3A */ fmadds f3, f4, f8, f5 +/* 80118278 001151D8 D0 1D 00 00 */ stfs f0, 0(r29) +/* 8011827C 001151DC EC 02 0A 3A */ fmadds f0, f2, f8, f1 +/* 80118280 001151E0 D0 7D 00 04 */ stfs f3, 4(r29) +/* 80118284 001151E4 D0 1D 00 08 */ stfs f0, 8(r29) +lbl_80118288: +/* 80118288 001151E8 C0 41 00 EC */ lfs f2, 0xec(r1) +/* 8011828C 001151EC FF 20 E0 90 */ fmr f25, f28 +/* 80118290 001151F0 C0 21 00 F0 */ lfs f1, 0xf0(r1) +/* 80118294 001151F4 FF 00 D8 90 */ fmr f24, f27 +/* 80118298 001151F8 C0 01 00 F4 */ lfs f0, 0xf4(r1) +/* 8011829C 001151FC FE E0 D0 90 */ fmr f23, f26 +/* 801182A0 00115200 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 801182A4 00115204 3A E0 00 01 */ li r23, 1 +/* 801182A8 00115208 D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 801182AC 0011520C D0 01 01 00 */ stfs f0, 0x100(r1) +/* 801182B0 00115210 48 00 00 A0 */ b lbl_80118350 +lbl_801182B4: +/* 801182B4 00115214 7F E4 FB 78 */ mr r4, r31 +/* 801182B8 00115218 7F 05 C3 78 */ mr r5, r24 +/* 801182BC 0011521C 38 61 00 20 */ addi r3, r1, 0x20 +/* 801182C0 00115220 3A E0 00 01 */ li r23, 1 +/* 801182C4 00115224 38 C0 00 00 */ li r6, 0 +/* 801182C8 00115228 48 00 03 45 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 801182CC 0011522C A0 01 00 20 */ lhz r0, 0x20(r1) +/* 801182D0 00115230 7F 03 C3 78 */ mr r3, r24 +/* 801182D4 00115234 38 81 00 24 */ addi r4, r1, 0x24 +/* 801182D8 00115238 B0 01 00 24 */ sth r0, 0x24(r1) +/* 801182DC 0011523C 4B F3 42 C9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 801182E0 00115240 C3 23 00 40 */ lfs f25, 0x40(r3) +/* 801182E4 00115244 7C 7F 1B 78 */ mr r31, r3 +/* 801182E8 00115248 C3 03 00 50 */ lfs f24, 0x50(r3) +/* 801182EC 0011524C C2 E3 00 60 */ lfs f23, 0x60(r3) +/* 801182F0 00115250 48 00 00 60 */ b lbl_80118350 +lbl_801182F4: +/* 801182F4 00115254 7F E4 FB 78 */ mr r4, r31 +/* 801182F8 00115258 7F 05 C3 78 */ mr r5, r24 +/* 801182FC 0011525C 38 61 00 1C */ addi r3, r1, 0x1c +/* 80118300 00115260 38 C0 00 01 */ li r6, 1 +/* 80118304 00115264 48 00 03 09 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 80118308 00115268 A0 61 00 1C */ lhz r3, 0x1c(r1) +/* 8011830C 0011526C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 80118310 00115270 7C 03 00 40 */ cmplw r3, r0 +/* 80118314 00115274 41 82 00 38 */ beq lbl_8011834C +/* 80118318 00115278 7F E4 FB 78 */ mr r4, r31 +/* 8011831C 0011527C 7F 05 C3 78 */ mr r5, r24 +/* 80118320 00115280 38 61 00 14 */ addi r3, r1, 0x14 +/* 80118324 00115284 38 C0 00 01 */ li r6, 1 +/* 80118328 00115288 48 00 02 E5 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 8011832C 0011528C A0 01 00 14 */ lhz r0, 0x14(r1) +/* 80118330 00115290 7F 03 C3 78 */ mr r3, r24 +/* 80118334 00115294 38 81 00 18 */ addi r4, r1, 0x18 +/* 80118338 00115298 B0 01 00 18 */ sth r0, 0x18(r1) +/* 8011833C 0011529C 4B F3 42 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80118340 001152A0 3A E0 00 00 */ li r23, 0 +/* 80118344 001152A4 7C 7F 1B 78 */ mr r31, r3 +/* 80118348 001152A8 48 00 00 08 */ b lbl_80118350 +lbl_8011834C: +/* 8011834C 001152AC 3B C0 00 01 */ li r30, 1 +lbl_80118350: +/* 80118350 001152B0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 80118354 001152B4 41 82 FA F0 */ beq lbl_80117E44 +/* 80118358 001152B8 C0 39 00 04 */ lfs f1, 4(r25) +/* 8011835C 001152BC C0 19 00 00 */ lfs f0, 0(r25) +/* 80118360 001152C0 EC 41 C0 28 */ fsubs f2, f1, f24 +/* 80118364 001152C4 C0 39 00 08 */ lfs f1, 8(r25) +/* 80118368 001152C8 EC 60 C8 28 */ fsubs f3, f0, f25 +/* 8011836C 001152CC EC 81 B8 28 */ fsubs f4, f1, f23 +/* 80118370 001152D0 EC 02 00 B2 */ fmuls f0, f2, f2 +/* 80118374 001152D4 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 80118378 001152D8 EC 23 00 F2 */ fmuls f1, f3, f3 +/* 8011837C 001152DC EC 44 01 32 */ fmuls f2, f4, f4 +/* 80118380 001152E0 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 80118384 001152E4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80118388 001152E8 D0 81 00 58 */ stfs f4, 0x58(r1) +/* 8011838C 001152EC EC 02 00 2A */ fadds f0, f2, f0 +/* 80118390 001152F0 FC 00 B0 40 */ fcmpo cr0, f0, f22 +/* 80118394 001152F4 40 80 00 A0 */ bge lbl_80118434 +/* 80118398 001152F8 D3 3B 00 00 */ stfs f25, 0(r27) +/* 8011839C 001152FC 7F E4 FB 78 */ mr r4, r31 +/* 801183A0 00115300 7F 05 C3 78 */ mr r5, r24 +/* 801183A4 00115304 38 61 00 10 */ addi r3, r1, 0x10 +/* 801183A8 00115308 D3 1B 00 04 */ stfs f24, 4(r27) +/* 801183AC 0011530C 38 C0 00 00 */ li r6, 0 +/* 801183B0 00115310 D2 FB 00 08 */ stfs f23, 8(r27) +/* 801183B4 00115314 48 00 01 A1 */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 801183B8 00115318 A0 61 00 10 */ lhz r3, 0x10(r1) +/* 801183BC 0011531C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801183C0 00115320 7C 03 00 40 */ cmplw r3, r0 +/* 801183C4 00115324 41 82 00 6C */ beq lbl_80118430 +/* 801183C8 00115328 7F E4 FB 78 */ mr r4, r31 +/* 801183CC 0011532C 7F 05 C3 78 */ mr r5, r24 +/* 801183D0 00115330 38 61 00 08 */ addi r3, r1, 8 +/* 801183D4 00115334 38 C0 00 00 */ li r6, 0 +/* 801183D8 00115338 48 00 01 7D */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 801183DC 0011533C A0 01 00 08 */ lhz r0, 8(r1) +/* 801183E0 00115340 7F 03 C3 78 */ mr r3, r24 +/* 801183E4 00115344 38 81 00 0C */ addi r4, r1, 0xc +/* 801183E8 00115348 B0 01 00 0C */ sth r0, 0xc(r1) +/* 801183EC 0011534C 4B F3 41 B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 801183F0 00115350 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 801183F4 00115354 7C 7F 1B 78 */ mr r31, r3 +/* 801183F8 00115358 C0 43 00 50 */ lfs f2, 0x50(r3) +/* 801183FC 0011535C EC 19 00 28 */ fsubs f0, f25, f0 +/* 80118400 00115360 C0 23 00 60 */ lfs f1, 0x60(r3) +/* 80118404 00115364 EC 58 10 28 */ fsubs f2, f24, f2 +/* 80118408 00115368 EC 37 08 28 */ fsubs f1, f23, f1 +/* 8011840C 0011536C D0 1C 00 00 */ stfs f0, 0(r28) +/* 80118410 00115370 D0 5C 00 04 */ stfs f2, 4(r28) +/* 80118414 00115374 D0 3C 00 08 */ stfs f1, 8(r28) +/* 80118418 00115378 C0 1C 00 00 */ lfs f0, 0(r28) +/* 8011841C 0011537C D0 1D 00 00 */ stfs f0, 0(r29) +/* 80118420 00115380 C0 1C 00 04 */ lfs f0, 4(r28) +/* 80118424 00115384 D0 1D 00 04 */ stfs f0, 4(r29) +/* 80118428 00115388 C0 1C 00 08 */ lfs f0, 8(r28) +/* 8011842C 0011538C D0 1D 00 08 */ stfs f0, 8(r29) +lbl_80118430: +/* 80118430 00115390 93 FA 00 00 */ stw r31, 0(r26) +lbl_80118434: +/* 80118434 00115394 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 80118438 00115398 CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 8011843C 0011539C E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 80118440 001153A0 CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 80118444 001153A4 E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 +/* 80118448 001153A8 CB A1 01 C0 */ lfd f29, 0x1c0(r1) +/* 8011844C 001153AC E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 +/* 80118450 001153B0 CB 81 01 B0 */ lfd f28, 0x1b0(r1) +/* 80118454 001153B4 E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 +/* 80118458 001153B8 CB 61 01 A0 */ lfd f27, 0x1a0(r1) +/* 8011845C 001153BC E3 41 01 98 */ psq_l f26, 408(r1), 0, qr0 +/* 80118460 001153C0 CB 41 01 90 */ lfd f26, 0x190(r1) +/* 80118464 001153C4 E3 21 01 88 */ psq_l f25, 392(r1), 0, qr0 +/* 80118468 001153C8 CB 21 01 80 */ lfd f25, 0x180(r1) +/* 8011846C 001153CC E3 01 01 78 */ psq_l f24, 376(r1), 0, qr0 +/* 80118470 001153D0 CB 01 01 70 */ lfd f24, 0x170(r1) +/* 80118474 001153D4 E2 E1 01 68 */ psq_l f23, 360(r1), 0, qr0 +/* 80118478 001153D8 CA E1 01 60 */ lfd f23, 0x160(r1) +/* 8011847C 001153DC E2 C1 01 58 */ psq_l f22, 344(r1), 0, qr0 +/* 80118480 001153E0 CA C1 01 50 */ lfd f22, 0x150(r1) +/* 80118484 001153E4 E2 A1 01 48 */ psq_l f21, 328(r1), 0, qr0 +/* 80118488 001153E8 CA A1 01 40 */ lfd f21, 0x140(r1) +/* 8011848C 001153EC E2 81 01 38 */ psq_l f20, 312(r1), 0, qr0 +/* 80118490 001153F0 CA 81 01 30 */ lfd f20, 0x130(r1) +/* 80118494 001153F4 BA E1 01 0C */ lmw r23, 0x10c(r1) +/* 80118498 001153F8 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 8011849C 001153FC 7C 08 03 A6 */ mtlr r0 +/* 801184A0 00115400 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 801184A4 00115404 4E 80 00 20 */ blr + +.global AddPreviousWaypoint__25CScriptSpiderBallWaypointF9TUniqueId +AddPreviousWaypoint__25CScriptSpiderBallWaypointF9TUniqueId: +/* 801184A8 00115408 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 801184AC 0011540C 7C 08 02 A6 */ mflr r0 +/* 801184B0 00115410 90 01 00 14 */ stw r0, 0x14(r1) +/* 801184B4 00115414 93 E1 00 0C */ stw r31, 0xc(r1) +/* 801184B8 00115418 7C 9F 23 78 */ mr r31, r4 +/* 801184BC 0011541C 93 C1 00 08 */ stw r30, 8(r1) +/* 801184C0 00115420 7C 7E 1B 78 */ mr r30, r3 +/* 801184C4 00115424 80 03 00 F0 */ lwz r0, 0xf0(r3) +/* 801184C8 00115428 80 A3 00 F4 */ lwz r5, 0xf4(r3) +/* 801184CC 0011542C 7C 00 28 00 */ cmpw r0, r5 +/* 801184D0 00115430 40 82 00 1C */ bne lbl_801184EC +/* 801184D4 00115434 2C 05 00 00 */ cmpwi r5, 0 +/* 801184D8 00115438 38 7E 00 EC */ addi r3, r30, 0xec +/* 801184DC 0011543C 38 80 00 04 */ li r4, 4 +/* 801184E0 00115440 41 82 00 08 */ beq lbl_801184E8 +/* 801184E4 00115444 54 A4 08 3C */ slwi r4, r5, 1 +lbl_801184E8: +/* 801184E8 00115448 4B EF 3F 21 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_801184EC: +/* 801184EC 0011544C 80 1E 00 F0 */ lwz r0, 0xf0(r30) +/* 801184F0 00115450 80 BE 00 F4 */ lwz r5, 0xf4(r30) +/* 801184F4 00115454 7C 00 28 00 */ cmpw r0, r5 +/* 801184F8 00115458 41 80 00 1C */ blt lbl_80118514 +/* 801184FC 0011545C 2C 05 00 00 */ cmpwi r5, 0 +/* 80118500 00115460 38 7E 00 EC */ addi r3, r30, 0xec +/* 80118504 00115464 38 80 00 04 */ li r4, 4 +/* 80118508 00115468 41 82 00 08 */ beq lbl_80118510 +/* 8011850C 0011546C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_80118510: +/* 80118510 00115470 4B EF 3E F9 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" +lbl_80118514: +/* 80118514 00115474 80 1E 00 F0 */ lwz r0, 0xf0(r30) +/* 80118518 00115478 80 7E 00 F8 */ lwz r3, 0xf8(r30) +/* 8011851C 0011547C 54 00 08 3C */ slwi r0, r0, 1 +/* 80118520 00115480 7C 63 02 15 */ add. r3, r3, r0 +/* 80118524 00115484 41 82 00 0C */ beq lbl_80118530 +/* 80118528 00115488 A0 1F 00 00 */ lhz r0, 0(r31) +/* 8011852C 0011548C B0 03 00 00 */ sth r0, 0(r3) +lbl_80118530: +/* 80118530 00115490 80 7E 00 F0 */ lwz r3, 0xf0(r30) +/* 80118534 00115494 38 03 00 01 */ addi r0, r3, 1 +/* 80118538 00115498 90 1E 00 F0 */ stw r0, 0xf0(r30) +/* 8011853C 0011549C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80118540 001154A0 83 C1 00 08 */ lwz r30, 8(r1) +/* 80118544 001154A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80118548 001154A8 7C 08 03 A6 */ mtlr r0 +/* 8011854C 001154AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80118550 001154B0 4E 80 00 20 */ blr + +.global PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint: +/* 80118554 001154B4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80118558 001154B8 7C 08 02 A6 */ mflr r0 +/* 8011855C 001154BC 90 01 00 34 */ stw r0, 0x34(r1) +/* 80118560 001154C0 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 80118564 001154C4 7C 7F 1B 78 */ mr r31, r3 +/* 80118568 001154C8 7C 9A 23 78 */ mr r26, r4 +/* 8011856C 001154CC 7C BB 2B 78 */ mr r27, r5 +/* 80118570 001154D0 7C DC 33 78 */ mr r28, r6 +/* 80118574 001154D4 3B A0 00 00 */ li r29, 0 +/* 80118578 001154D8 3B C0 00 00 */ li r30, 0 +/* 8011857C 001154DC 48 00 00 68 */ b lbl_801185E4 +lbl_80118580: +/* 80118580 001154E0 80 BA 00 F8 */ lwz r5, 0xf8(r26) +/* 80118584 001154E4 7F 63 DB 78 */ mr r3, r27 +/* 80118588 001154E8 38 81 00 08 */ addi r4, r1, 8 +/* 8011858C 001154EC 7C 05 F2 2E */ lhzx r0, r5, r30 +/* 80118590 001154F0 B0 01 00 08 */ sth r0, 8(r1) +/* 80118594 001154F4 4B F3 40 11 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80118598 001154F8 28 03 00 00 */ cmplwi r3, 0 +/* 8011859C 001154FC 41 82 00 40 */ beq lbl_801185DC +/* 801185A0 00115500 2C 1C 00 01 */ cmpwi r28, 1 +/* 801185A4 00115504 40 82 00 18 */ bne lbl_801185BC +/* 801185A8 00115508 80 7A 00 F8 */ lwz r3, 0xf8(r26) +/* 801185AC 0011550C 57 A0 08 3C */ slwi r0, r29, 1 +/* 801185B0 00115510 7C 03 02 2E */ lhzx r0, r3, r0 +/* 801185B4 00115514 B0 1F 00 00 */ sth r0, 0(r31) +/* 801185B8 00115518 48 00 00 40 */ b lbl_801185F8 +lbl_801185BC: +/* 801185BC 0011551C 88 03 00 30 */ lbz r0, 0x30(r3) +/* 801185C0 00115520 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801185C4 00115524 41 82 00 18 */ beq lbl_801185DC +/* 801185C8 00115528 80 7A 00 F8 */ lwz r3, 0xf8(r26) +/* 801185CC 0011552C 57 A0 08 3C */ slwi r0, r29, 1 +/* 801185D0 00115530 7C 03 02 2E */ lhzx r0, r3, r0 +/* 801185D4 00115534 B0 1F 00 00 */ sth r0, 0(r31) +/* 801185D8 00115538 48 00 00 20 */ b lbl_801185F8 +lbl_801185DC: +/* 801185DC 0011553C 3B DE 00 02 */ addi r30, r30, 2 +/* 801185E0 00115540 3B BD 00 01 */ addi r29, r29, 1 +lbl_801185E4: +/* 801185E4 00115544 80 1A 00 F0 */ lwz r0, 0xf0(r26) +/* 801185E8 00115548 7C 1D 00 00 */ cmpw r29, r0 +/* 801185EC 0011554C 41 80 FF 94 */ blt lbl_80118580 +/* 801185F0 00115550 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801185F4 00115554 B0 1F 00 00 */ sth r0, 0(r31) +lbl_801185F8: +/* 801185F8 00115558 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 801185FC 0011555C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 80118600 00115560 7C 08 03 A6 */ mtlr r0 +/* 80118604 00115564 38 21 00 30 */ addi r1, r1, 0x30 +/* 80118608 00115568 4E 80 00 20 */ blr + +.global NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint: +/* 8011860C 0011556C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 80118610 00115570 7C 08 02 A6 */ mflr r0 +/* 80118614 00115574 90 01 00 34 */ stw r0, 0x34(r1) +/* 80118618 00115578 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 8011861C 0011557C 7C 9B 23 78 */ mr r27, r4 +/* 80118620 00115580 7C 7F 1B 78 */ mr r31, r3 +/* 80118624 00115584 7C BC 2B 78 */ mr r28, r5 +/* 80118628 00115588 7C DD 33 78 */ mr r29, r6 +/* 8011862C 0011558C 83 C4 00 2C */ lwz r30, 0x2c(r4) +/* 80118630 00115590 48 00 00 84 */ b lbl_801186B4 +lbl_80118634: +/* 80118634 00115594 80 1E 00 00 */ lwz r0, 0(r30) +/* 80118638 00115598 2C 00 00 01 */ cmpwi r0, 1 +/* 8011863C 0011559C 40 82 00 74 */ bne lbl_801186B0 +/* 80118640 001155A0 80 1E 00 04 */ lwz r0, 4(r30) +/* 80118644 001155A4 2C 00 00 08 */ cmpwi r0, 8 +/* 80118648 001155A8 40 82 00 68 */ bne lbl_801186B0 +/* 8011864C 001155AC 80 1E 00 08 */ lwz r0, 8(r30) +/* 80118650 001155B0 7F 84 E3 78 */ mr r4, r28 +/* 80118654 001155B4 38 61 00 0C */ addi r3, r1, 0xc +/* 80118658 001155B8 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8011865C 001155BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 80118660 001155C0 4B F2 F8 BD */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80118664 001155C4 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 80118668 001155C8 7F 83 E3 78 */ mr r3, r28 +/* 8011866C 001155CC 38 81 00 08 */ addi r4, r1, 8 +/* 80118670 001155D0 B0 01 00 10 */ sth r0, 0x10(r1) +/* 80118674 001155D4 B0 01 00 08 */ sth r0, 8(r1) +/* 80118678 001155D8 4B F3 3F 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8011867C 001155DC 28 03 00 00 */ cmplwi r3, 0 +/* 80118680 001155E0 41 82 00 30 */ beq lbl_801186B0 +/* 80118684 001155E4 2C 1D 00 01 */ cmpwi r29, 1 +/* 80118688 001155E8 40 82 00 10 */ bne lbl_80118698 +/* 8011868C 001155EC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 80118690 001155F0 B0 1F 00 00 */ sth r0, 0(r31) +/* 80118694 001155F4 48 00 00 40 */ b lbl_801186D4 +lbl_80118698: +/* 80118698 001155F8 88 03 00 30 */ lbz r0, 0x30(r3) +/* 8011869C 001155FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801186A0 00115600 41 82 00 10 */ beq lbl_801186B0 +/* 801186A4 00115604 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 801186A8 00115608 B0 1F 00 00 */ sth r0, 0(r31) +/* 801186AC 0011560C 48 00 00 28 */ b lbl_801186D4 +lbl_801186B0: +/* 801186B0 00115610 3B DE 00 0C */ addi r30, r30, 0xc +lbl_801186B4: +/* 801186B4 00115614 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 801186B8 00115618 80 7B 00 2C */ lwz r3, 0x2c(r27) +/* 801186BC 0011561C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 801186C0 00115620 7C 03 02 14 */ add r0, r3, r0 +/* 801186C4 00115624 7C 1E 00 40 */ cmplw r30, r0 +/* 801186C8 00115628 40 82 FF 6C */ bne lbl_80118634 +/* 801186CC 0011562C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801186D0 00115630 B0 1F 00 00 */ sth r0, 0(r31) +lbl_801186D4: +/* 801186D4 00115634 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 801186D8 00115638 80 01 00 34 */ lwz r0, 0x34(r1) +/* 801186DC 0011563C 7C 08 03 A6 */ mtlr r0 +/* 801186E0 00115640 38 21 00 30 */ addi r1, r1, 0x30 +/* 801186E4 00115644 4E 80 00 20 */ blr + +.global AddPointToTouchBounds__25CScriptSpiderBallWaypointFRC9CVector3f +AddPointToTouchBounds__25CScriptSpiderBallWaypointFRC9CVector3f: +/* 801186E8 00115648 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 801186EC 0011564C 7C 08 02 A6 */ mflr r0 +/* 801186F0 00115650 90 01 00 34 */ stw r0, 0x34(r1) +/* 801186F4 00115654 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801186F8 00115658 7C 7F 1B 78 */ mr r31, r3 +/* 801186FC 0011565C 88 03 01 14 */ lbz r0, 0x114(r3) +/* 80118700 00115660 28 00 00 00 */ cmplwi r0, 0 +/* 80118704 00115664 40 82 00 94 */ bne lbl_80118798 +/* 80118708 00115668 7C 85 23 78 */ mr r5, r4 +/* 8011870C 0011566C 38 61 00 08 */ addi r3, r1, 8 +/* 80118710 00115670 48 21 FD F9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80118714 00115674 88 1F 01 14 */ lbz r0, 0x114(r31) +/* 80118718 00115678 28 00 00 00 */ cmplwi r0, 0 +/* 8011871C 0011567C 40 82 00 48 */ bne lbl_80118764 +/* 80118720 00115680 34 7F 00 FC */ addic. r3, r31, 0xfc +/* 80118724 00115684 41 82 00 34 */ beq lbl_80118758 +/* 80118728 00115688 C0 01 00 08 */ lfs f0, 8(r1) +/* 8011872C 0011568C D0 03 00 00 */ stfs f0, 0(r3) +/* 80118730 00115690 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 80118734 00115694 D0 03 00 04 */ stfs f0, 4(r3) +/* 80118738 00115698 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 8011873C 0011569C D0 03 00 08 */ stfs f0, 8(r3) +/* 80118740 001156A0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 80118744 001156A4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80118748 001156A8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 8011874C 001156AC D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80118750 001156B0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 80118754 001156B4 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80118758: +/* 80118758 001156B8 38 00 00 01 */ li r0, 1 +/* 8011875C 001156BC 98 1F 01 14 */ stb r0, 0x114(r31) +/* 80118760 001156C0 48 00 00 40 */ b lbl_801187A0 +lbl_80118764: +/* 80118764 001156C4 80 61 00 08 */ lwz r3, 8(r1) +/* 80118768 001156C8 80 01 00 0C */ lwz r0, 0xc(r1) +/* 8011876C 001156CC 90 7F 00 FC */ stw r3, 0xfc(r31) +/* 80118770 001156D0 90 1F 01 00 */ stw r0, 0x100(r31) +/* 80118774 001156D4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80118778 001156D8 90 1F 01 04 */ stw r0, 0x104(r31) +/* 8011877C 001156DC 80 61 00 14 */ lwz r3, 0x14(r1) +/* 80118780 001156E0 80 01 00 18 */ lwz r0, 0x18(r1) +/* 80118784 001156E4 90 7F 01 08 */ stw r3, 0x108(r31) +/* 80118788 001156E8 90 1F 01 0C */ stw r0, 0x10c(r31) +/* 8011878C 001156EC 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 80118790 001156F0 90 1F 01 10 */ stw r0, 0x110(r31) +/* 80118794 001156F4 48 00 00 0C */ b lbl_801187A0 +lbl_80118798: +/* 80118798 001156F8 38 7F 00 FC */ addi r3, r31, 0xfc +/* 8011879C 001156FC 48 21 F3 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f +lbl_801187A0: +/* 801187A0 00115700 80 01 00 34 */ lwz r0, 0x34(r1) +/* 801187A4 00115704 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 801187A8 00115708 7C 08 03 A6 */ mtlr r0 +/* 801187AC 0011570C 38 21 00 30 */ addi r1, r1, 0x30 +/* 801187B0 00115710 4E 80 00 20 */ blr + +.global BuildWaypointListAndBounds__25CScriptSpiderBallWaypointFR13CStateManager +BuildWaypointListAndBounds__25CScriptSpiderBallWaypointFR13CStateManager: +/* 801187B4 00115714 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 801187B8 00115718 7C 08 02 A6 */ mflr r0 +/* 801187BC 0011571C 90 01 00 64 */ stw r0, 0x64(r1) +/* 801187C0 00115720 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 801187C4 00115724 7C 9F 23 78 */ mr r31, r4 +/* 801187C8 00115728 93 C1 00 58 */ stw r30, 0x58(r1) +/* 801187CC 0011572C 7C 7E 1B 78 */ mr r30, r3 +/* 801187D0 00115730 93 A1 00 54 */ stw r29, 0x54(r1) +/* 801187D4 00115734 93 81 00 50 */ stw r28, 0x50(r1) +/* 801187D8 00115738 3B 80 00 00 */ li r28, 0 +/* 801187DC 0011573C 83 A3 00 2C */ lwz r29, 0x2c(r3) +/* 801187E0 00115740 48 00 00 74 */ b lbl_80118854 +lbl_801187E4: +/* 801187E4 00115744 80 1D 00 00 */ lwz r0, 0(r29) +/* 801187E8 00115748 2C 00 00 01 */ cmpwi r0, 1 +/* 801187EC 0011574C 40 82 00 64 */ bne lbl_80118850 +/* 801187F0 00115750 80 1D 00 04 */ lwz r0, 4(r29) +/* 801187F4 00115754 2C 00 00 08 */ cmpwi r0, 8 +/* 801187F8 00115758 40 82 00 58 */ bne lbl_80118850 +/* 801187FC 0011575C 80 1D 00 08 */ lwz r0, 8(r29) +/* 80118800 00115760 7F E4 FB 78 */ mr r4, r31 +/* 80118804 00115764 38 61 00 20 */ addi r3, r1, 0x20 +/* 80118808 00115768 38 A1 00 28 */ addi r5, r1, 0x28 +/* 8011880C 0011576C 90 01 00 28 */ stw r0, 0x28(r1) +/* 80118810 00115770 4B F2 F7 0D */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 80118814 00115774 A0 61 00 20 */ lhz r3, 0x20(r1) +/* 80118818 00115778 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8011881C 0011577C B0 61 00 24 */ sth r3, 0x24(r1) +/* 80118820 00115780 7C 03 00 40 */ cmplw r3, r0 +/* 80118824 00115784 41 82 00 2C */ beq lbl_80118850 +/* 80118828 00115788 B0 61 00 1C */ sth r3, 0x1c(r1) +/* 8011882C 0011578C 7F E3 FB 78 */ mr r3, r31 +/* 80118830 00115790 38 81 00 1C */ addi r4, r1, 0x1c +/* 80118834 00115794 4B F3 3D 41 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80118838 00115798 A0 1E 00 08 */ lhz r0, 8(r30) +/* 8011883C 0011579C 38 81 00 18 */ addi r4, r1, 0x18 +/* 80118840 001157A0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80118844 001157A4 B0 01 00 18 */ sth r0, 0x18(r1) +/* 80118848 001157A8 4B FF FC 61 */ bl AddPreviousWaypoint__25CScriptSpiderBallWaypointF9TUniqueId +/* 8011884C 001157AC 3B 9C 00 01 */ addi r28, r28, 1 +lbl_80118850: +/* 80118850 001157B0 3B BD 00 0C */ addi r29, r29, 0xc +lbl_80118854: +/* 80118854 001157B4 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 80118858 001157B8 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 8011885C 001157BC 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80118860 001157C0 7C 03 02 14 */ add r0, r3, r0 +/* 80118864 001157C4 7C 1D 00 40 */ cmplw r29, r0 +/* 80118868 001157C8 40 82 FF 7C */ bne lbl_801187E4 +/* 8011886C 001157CC 2C 1C 00 00 */ cmpwi r28, 0 +/* 80118870 001157D0 40 82 00 2C */ bne lbl_8011889C +/* 80118874 001157D4 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 80118878 001157D8 7F C3 F3 78 */ mr r3, r30 +/* 8011887C 001157DC C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80118880 001157E0 38 81 00 38 */ addi r4, r1, 0x38 +/* 80118884 001157E4 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80118888 001157E8 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 8011888C 001157EC D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 80118890 001157F0 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 80118894 001157F4 4B FF FE 55 */ bl AddPointToTouchBounds__25CScriptSpiderBallWaypointFRC9CVector3f +/* 80118898 001157F8 48 00 00 80 */ b lbl_80118918 +lbl_8011889C: +/* 8011889C 001157FC 7F DC F3 78 */ mr r28, r30 +/* 801188A0 00115800 48 00 00 30 */ b lbl_801188D0 +lbl_801188A4: +/* 801188A4 00115804 7F 84 E3 78 */ mr r4, r28 +/* 801188A8 00115808 7F E5 FB 78 */ mr r5, r31 +/* 801188AC 0011580C 38 61 00 0C */ addi r3, r1, 0xc +/* 801188B0 00115810 38 C0 00 01 */ li r6, 1 +/* 801188B4 00115814 4B FF FD 59 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 801188B8 00115818 A0 01 00 0C */ lhz r0, 0xc(r1) +/* 801188BC 0011581C 7F E3 FB 78 */ mr r3, r31 +/* 801188C0 00115820 38 81 00 10 */ addi r4, r1, 0x10 +/* 801188C4 00115824 B0 01 00 10 */ sth r0, 0x10(r1) +/* 801188C8 00115828 4B F3 3C AD */ bl ObjectById__13CStateManagerF9TUniqueId +/* 801188CC 0011582C 7C 7C 1B 78 */ mr r28, r3 +lbl_801188D0: +/* 801188D0 00115830 7F 84 E3 78 */ mr r4, r28 +/* 801188D4 00115834 7F E5 FB 78 */ mr r5, r31 +/* 801188D8 00115838 38 61 00 08 */ addi r3, r1, 8 +/* 801188DC 0011583C 38 C0 00 01 */ li r6, 1 +/* 801188E0 00115840 4B FF FD 2D */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint +/* 801188E4 00115844 A0 61 00 08 */ lhz r3, 8(r1) +/* 801188E8 00115848 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 801188EC 0011584C 7C 03 00 40 */ cmplw r3, r0 +/* 801188F0 00115850 40 82 FF B4 */ bne lbl_801188A4 +/* 801188F4 00115854 C0 5E 00 60 */ lfs f2, 0x60(r30) +/* 801188F8 00115858 7F 83 E3 78 */ mr r3, r28 +/* 801188FC 0011585C C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 80118900 00115860 38 81 00 2C */ addi r4, r1, 0x2c +/* 80118904 00115864 C0 1E 00 40 */ lfs f0, 0x40(r30) +/* 80118908 00115868 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8011890C 0011586C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 80118910 00115870 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 80118914 00115874 4B FF FD D5 */ bl AddPointToTouchBounds__25CScriptSpiderBallWaypointFRC9CVector3f +lbl_80118918: +/* 80118918 00115878 80 01 00 64 */ lwz r0, 0x64(r1) +/* 8011891C 0011587C 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 80118920 00115880 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 80118924 00115884 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 80118928 00115888 83 81 00 50 */ lwz r28, 0x50(r1) +/* 8011892C 0011588C 7C 08 03 A6 */ mtlr r0 +/* 80118930 00115890 38 21 00 60 */ addi r1, r1, 0x60 +/* 80118934 00115894 4E 80 00 20 */ blr + +.global ClearWaypoints__25CScriptSpiderBallWaypointFv +ClearWaypoints__25CScriptSpiderBallWaypointFv: +/* 80118938 00115898 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8011893C 0011589C 38 00 00 00 */ li r0, 0 +/* 80118940 001158A0 98 03 01 14 */ stb r0, 0x114(r3) +/* 80118944 001158A4 80 03 00 F0 */ lwz r0, 0xf0(r3) +/* 80118948 001158A8 80 83 00 F8 */ lwz r4, 0xf8(r3) +/* 8011894C 001158AC 54 00 08 3C */ slwi r0, r0, 1 +/* 80118950 001158B0 7C 04 02 14 */ add r0, r4, r0 +/* 80118954 001158B4 90 81 00 0C */ stw r4, 0xc(r1) +/* 80118958 001158B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011895C 001158BC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80118960 001158C0 90 81 00 08 */ stw r4, 8(r1) +/* 80118964 001158C4 48 00 00 08 */ b lbl_8011896C +lbl_80118968: +/* 80118968 001158C8 38 84 00 02 */ addi r4, r4, 2 +lbl_8011896C: +/* 8011896C 001158CC 7C 04 00 40 */ cmplw r4, r0 +/* 80118970 001158D0 40 82 FF F8 */ bne lbl_80118968 +/* 80118974 001158D4 38 00 00 00 */ li r0, 0 +/* 80118978 001158D8 90 03 00 F0 */ stw r0, 0xf0(r3) +/* 8011897C 001158DC 38 21 00 20 */ addi r1, r1, 0x20 +/* 80118980 001158E0 4E 80 00 20 */ blr + +.global AcceptScriptMsg__25CScriptSpiderBallWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__25CScriptSpiderBallWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80118984 001158E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80118988 001158E8 7C 08 02 A6 */ mflr r0 +/* 8011898C 001158EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80118990 001158F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80118994 001158F4 7C DF 33 78 */ mr r31, r6 +/* 80118998 001158F8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8011899C 001158FC 7C 9E 23 78 */ mr r30, r4 +/* 801189A0 00115900 93 A1 00 14 */ stw r29, 0x14(r1) +/* 801189A4 00115904 7C 7D 1B 78 */ mr r29, r3 +/* 801189A8 00115908 A0 05 00 00 */ lhz r0, 0(r5) +/* 801189AC 0011590C 38 A1 00 08 */ addi r5, r1, 8 +/* 801189B0 00115910 B0 01 00 08 */ sth r0, 8(r1) +/* 801189B4 00115914 4B F3 AC 61 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 801189B8 00115918 2C 1E 00 23 */ cmpwi r30, 0x23 +/* 801189BC 0011591C 41 82 00 14 */ beq lbl_801189D0 +/* 801189C0 00115920 40 80 00 40 */ bge lbl_80118A00 +/* 801189C4 00115924 2C 1E 00 02 */ cmpwi r30, 2 +/* 801189C8 00115928 41 82 00 18 */ beq lbl_801189E0 +/* 801189CC 0011592C 48 00 00 34 */ b lbl_80118A00 +lbl_801189D0: +/* 801189D0 00115930 7F A3 EB 78 */ mr r3, r29 +/* 801189D4 00115934 7F E4 FB 78 */ mr r4, r31 +/* 801189D8 00115938 4B FF FD DD */ bl BuildWaypointListAndBounds__25CScriptSpiderBallWaypointFR13CStateManager +/* 801189DC 0011593C 48 00 00 24 */ b lbl_80118A00 +lbl_801189E0: +/* 801189E0 00115940 88 1D 00 30 */ lbz r0, 0x30(r29) +/* 801189E4 00115944 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801189E8 00115948 41 82 00 18 */ beq lbl_80118A00 +/* 801189EC 0011594C 7F A3 EB 78 */ mr r3, r29 +/* 801189F0 00115950 7F E5 FB 78 */ mr r5, r31 +/* 801189F4 00115954 38 80 00 01 */ li r4, 1 +/* 801189F8 00115958 38 C0 FF FF */ li r6, -1 +/* 801189FC 0011595C 4B F3 86 C5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_80118A00: +/* 80118A00 00115960 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80118A04 00115964 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80118A08 00115968 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80118A0C 0011596C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80118A10 00115970 7C 08 03 A6 */ mtlr r0 +/* 80118A14 00115974 38 21 00 20 */ addi r1, r1, 0x20 +/* 80118A18 00115978 4E 80 00 20 */ blr + +.global __dt__25CScriptSpiderBallWaypointFv +__dt__25CScriptSpiderBallWaypointFv: +/* 80118A1C 0011597C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80118A20 00115980 7C 08 02 A6 */ mflr r0 +/* 80118A24 00115984 90 01 00 24 */ stw r0, 0x24(r1) +/* 80118A28 00115988 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80118A2C 0011598C 7C 9F 23 78 */ mr r31, r4 +/* 80118A30 00115990 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80118A34 00115994 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80118A38 00115998 41 82 00 84 */ beq lbl_80118ABC +/* 80118A3C 0011599C 3C 60 80 3E */ lis r3, lbl_803E02C8@ha +/* 80118A40 001159A0 34 1E 00 FC */ addic. r0, r30, 0xfc +/* 80118A44 001159A4 38 03 02 C8 */ addi r0, r3, lbl_803E02C8@l +/* 80118A48 001159A8 90 1E 00 00 */ stw r0, 0(r30) +/* 80118A4C 001159AC 41 82 00 0C */ beq lbl_80118A58 +/* 80118A50 001159B0 38 00 00 00 */ li r0, 0 +/* 80118A54 001159B4 98 1E 01 14 */ stb r0, 0x114(r30) +lbl_80118A58: +/* 80118A58 001159B8 34 1E 00 EC */ addic. r0, r30, 0xec +/* 80118A5C 001159BC 41 82 00 44 */ beq lbl_80118AA0 +/* 80118A60 001159C0 80 1E 00 F0 */ lwz r0, 0xf0(r30) +/* 80118A64 001159C4 80 7E 00 F8 */ lwz r3, 0xf8(r30) +/* 80118A68 001159C8 54 00 08 3C */ slwi r0, r0, 1 +/* 80118A6C 001159CC 7C 03 02 14 */ add r0, r3, r0 +/* 80118A70 001159D0 90 61 00 0C */ stw r3, 0xc(r1) +/* 80118A74 001159D4 7C 64 1B 78 */ mr r4, r3 +/* 80118A78 001159D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 80118A7C 001159DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 80118A80 001159E0 90 61 00 08 */ stw r3, 8(r1) +/* 80118A84 001159E4 48 00 00 08 */ b lbl_80118A8C +lbl_80118A88: +/* 80118A88 001159E8 38 84 00 02 */ addi r4, r4, 2 +lbl_80118A8C: +/* 80118A8C 001159EC 7C 04 00 40 */ cmplw r4, r0 +/* 80118A90 001159F0 40 82 FF F8 */ bne lbl_80118A88 +/* 80118A94 001159F4 28 03 00 00 */ cmplwi r3, 0 +/* 80118A98 001159F8 41 82 00 08 */ beq lbl_80118AA0 +/* 80118A9C 001159FC 48 1F CE 95 */ bl Free__7CMemoryFPCv +lbl_80118AA0: +/* 80118AA0 00115A00 7F C3 F3 78 */ mr r3, r30 +/* 80118AA4 00115A04 38 80 00 00 */ li r4, 0 +/* 80118AA8 00115A08 4B F3 CC 49 */ bl __dt__6CActorFv +/* 80118AAC 00115A0C 7F E0 07 35 */ extsh. r0, r31 +/* 80118AB0 00115A10 40 81 00 0C */ ble lbl_80118ABC +/* 80118AB4 00115A14 7F C3 F3 78 */ mr r3, r30 +/* 80118AB8 00115A18 48 1F CE 79 */ bl Free__7CMemoryFPCv +lbl_80118ABC: +/* 80118ABC 00115A1C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80118AC0 00115A20 7F C3 F3 78 */ mr r3, r30 +/* 80118AC4 00115A24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80118AC8 00115A28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80118ACC 00115A2C 7C 08 03 A6 */ mtlr r0 +/* 80118AD0 00115A30 38 21 00 20 */ addi r1, r1, 0x20 +/* 80118AD4 00115A34 4E 80 00 20 */ blr + +.global "__ct__25CScriptSpiderBallWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUi" +"__ct__25CScriptSpiderBallWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUi": +/* 80118AD8 00115A38 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 80118ADC 00115A3C 7C 08 02 A6 */ mflr r0 +/* 80118AE0 00115A40 90 01 01 04 */ stw r0, 0x104(r1) +/* 80118AE4 00115A44 BF 21 00 E4 */ stmw r25, 0xe4(r1) +/* 80118AE8 00115A48 7C 7F 1B 78 */ mr r31, r3 +/* 80118AEC 00115A4C 7C 99 23 78 */ mr r25, r4 +/* 80118AF0 00115A50 7C BA 2B 78 */ mr r26, r5 +/* 80118AF4 00115A54 7C DB 33 78 */ mr r27, r6 +/* 80118AF8 00115A58 7C FC 3B 78 */ mr r28, r7 +/* 80118AFC 00115A5C 7D 1D 43 78 */ mr r29, r8 +/* 80118B00 00115A60 7D 3E 4B 78 */ mr r30, r9 +/* 80118B04 00115A64 38 61 00 88 */ addi r3, r1, 0x88 +/* 80118B08 00115A68 4B F2 1C 9D */ bl CModelDataNull__10CModelDataFv +/* 80118B0C 00115A6C 38 61 00 20 */ addi r3, r1, 0x20 +/* 80118B10 00115A70 4B F0 23 29 */ bl None__16CActorParametersFv +/* 80118B14 00115A74 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 80118B18 00115A78 38 00 00 00 */ li r0, 0 +/* 80118B1C 00115A7C 80 AD 8A 60 */ lwz r5, lbl_805A7620@sda21(r13) +/* 80118B20 00115A80 38 60 00 00 */ li r3, 0 +/* 80118B24 00115A84 B0 81 00 10 */ sth r4, 0x10(r1) +/* 80118B28 00115A88 38 80 00 01 */ li r4, 1 +/* 80118B2C 00115A8C 90 01 00 1C */ stw r0, 0x1c(r1) +/* 80118B30 00115A90 90 01 00 18 */ stw r0, 0x18(r1) +/* 80118B34 00115A94 48 27 13 C1 */ bl __shl2i +/* 80118B38 00115A98 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 80118B3C 00115A9C 39 61 00 20 */ addi r11, r1, 0x20 +/* 80118B40 00115AA0 80 C1 00 1C */ lwz r6, 0x1c(r1) +/* 80118B44 00115AA4 38 01 00 10 */ addi r0, r1, 0x10 +/* 80118B48 00115AA8 7C A3 1B 78 */ or r3, r5, r3 +/* 80118B4C 00115AAC A1 39 00 00 */ lhz r9, 0(r25) +/* 80118B50 00115AB0 7C C4 23 78 */ or r4, r6, r4 +/* 80118B54 00115AB4 90 61 00 18 */ stw r3, 0x18(r1) +/* 80118B58 00115AB8 7F E3 FB 78 */ mr r3, r31 +/* 80118B5C 00115ABC 7F A5 EB 78 */ mr r5, r29 +/* 80118B60 00115AC0 90 81 00 1C */ stw r4, 0x1c(r1) +/* 80118B64 00115AC4 7F 46 D3 78 */ mr r6, r26 +/* 80118B68 00115AC8 7F 67 DB 78 */ mr r7, r27 +/* 80118B6C 00115ACC 7F 88 E3 78 */ mr r8, r28 +/* 80118B70 00115AD0 B1 21 00 14 */ sth r9, 0x14(r1) +/* 80118B74 00115AD4 38 81 00 14 */ addi r4, r1, 0x14 +/* 80118B78 00115AD8 39 21 00 88 */ addi r9, r1, 0x88 +/* 80118B7C 00115ADC 39 41 00 18 */ addi r10, r1, 0x18 +/* 80118B80 00115AE0 91 61 00 08 */ stw r11, 8(r1) +/* 80118B84 00115AE4 90 01 00 0C */ stw r0, 0xc(r1) +/* 80118B88 00115AE8 4B F3 CC 99 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 80118B8C 00115AEC 38 61 00 20 */ addi r3, r1, 0x20 +/* 80118B90 00115AF0 38 80 FF FF */ li r4, -1 +/* 80118B94 00115AF4 4B FE DA 75 */ bl __dt__16CActorParametersFv +/* 80118B98 00115AF8 38 61 00 88 */ addi r3, r1, 0x88 +/* 80118B9C 00115AFC 38 80 FF FF */ li r4, -1 +/* 80118BA0 00115B00 4B FF DE AD */ bl __dt__10CModelDataFv +/* 80118BA4 00115B04 3C 60 80 3E */ lis r3, lbl_803E02C8@ha +/* 80118BA8 00115B08 38 00 00 00 */ li r0, 0 +/* 80118BAC 00115B0C 38 83 02 C8 */ addi r4, r3, lbl_803E02C8@l +/* 80118BB0 00115B10 7F E3 FB 78 */ mr r3, r31 +/* 80118BB4 00115B14 90 9F 00 00 */ stw r4, 0(r31) +/* 80118BB8 00115B18 93 DF 00 E8 */ stw r30, 0xe8(r31) +/* 80118BBC 00115B1C 90 1F 00 F0 */ stw r0, 0xf0(r31) +/* 80118BC0 00115B20 90 1F 00 F4 */ stw r0, 0xf4(r31) +/* 80118BC4 00115B24 90 1F 00 F8 */ stw r0, 0xf8(r31) +/* 80118BC8 00115B28 98 1F 01 14 */ stb r0, 0x114(r31) +/* 80118BCC 00115B2C BB 21 00 E4 */ lmw r25, 0xe4(r1) +/* 80118BD0 00115B30 80 01 01 04 */ lwz r0, 0x104(r1) +/* 80118BD4 00115B34 7C 08 03 A6 */ mtlr r0 +/* 80118BD8 00115B38 38 21 01 00 */ addi r1, r1, 0x100 +/* 80118BDC 00115B3C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptObjects/CScriptWater.s b/asm/Kyoto_CWD/ScriptObjects/CScriptWater.s new file mode 100644 index 00000000..9a190cb2 --- /dev/null +++ b/asm/Kyoto_CWD/ScriptObjects/CScriptWater.s @@ -0,0 +1,3527 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetPatchRenderFlags__12CScriptWaterCFii +GetPatchRenderFlags__12CScriptWaterCFii: +/* 800FEC94 000FBBF4 80 03 02 D0 */ lwz r0, 0x2d0(r3) +/* 800FEC98 000FBBF8 80 63 02 E0 */ lwz r3, 0x2e0(r3) +/* 800FEC9C 000FBBFC 7C 05 01 D6 */ mullw r0, r5, r0 +/* 800FECA0 000FBC00 7C 00 1A 14 */ add r0, r0, r3 +/* 800FECA4 000FBC04 7C 64 00 AE */ lbzx r3, r4, r0 +/* 800FECA8 000FBC08 7C 63 07 74 */ extsb r3, r3 +/* 800FECAC 000FBC0C 4E 80 00 20 */ blr + +.global CanRippleAtPoint__12CScriptWaterCFRC9CVector3f +CanRippleAtPoint__12CScriptWaterCFRC9CVector3f: +/* 800FECB0 000FBC10 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800FECB4 000FBC14 7C 08 02 A6 */ mflr r0 +/* 800FECB8 000FBC18 90 01 00 54 */ stw r0, 0x54(r1) +/* 800FECBC 000FBC1C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800FECC0 000FBC20 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800FECC4 000FBC24 7C 9E 23 78 */ mr r30, r4 +/* 800FECC8 000FBC28 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800FECCC 000FBC2C 7C 7D 1B 78 */ mr r29, r3 +/* 800FECD0 000FBC30 80 03 02 D8 */ lwz r0, 0x2d8(r3) +/* 800FECD4 000FBC34 28 00 00 00 */ cmplwi r0, 0 +/* 800FECD8 000FBC38 40 82 00 0C */ bne lbl_800FECE4 +/* 800FECDC 000FBC3C 38 60 00 01 */ li r3, 1 +/* 800FECE0 000FBC40 48 00 00 B8 */ b lbl_800FED98 +lbl_800FECE4: +/* 800FECE4 000FBC44 7F A4 EB 78 */ mr r4, r29 +/* 800FECE8 000FBC48 38 61 00 20 */ addi r3, r1, 0x20 +/* 800FECEC 000FBC4C 4B F7 79 E1 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800FECF0 000FBC50 C0 5E 00 00 */ lfs f2, 0(r30) +/* 800FECF4 000FBC54 C0 21 00 20 */ lfs f1, 0x20(r1) +/* 800FECF8 000FBC58 C0 1D 02 C0 */ lfs f0, 0x2c0(r29) +/* 800FECFC 000FBC5C EC 22 08 28 */ fsubs f1, f2, f1 +/* 800FED00 000FBC60 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800FED04 000FBC64 FC 00 00 1E */ fctiwz f0, f0 +/* 800FED08 000FBC68 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 800FED0C 000FBC6C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800FED10 000FBC70 2C 1F 00 00 */ cmpwi r31, 0 +/* 800FED14 000FBC74 41 80 00 10 */ blt lbl_800FED24 +/* 800FED18 000FBC78 80 1D 02 C4 */ lwz r0, 0x2c4(r29) +/* 800FED1C 000FBC7C 7C 1F 00 00 */ cmpw r31, r0 +/* 800FED20 000FBC80 41 80 00 0C */ blt lbl_800FED2C +lbl_800FED24: +/* 800FED24 000FBC84 38 60 00 00 */ li r3, 0 +/* 800FED28 000FBC88 48 00 00 70 */ b lbl_800FED98 +lbl_800FED2C: +/* 800FED2C 000FBC8C 7F A4 EB 78 */ mr r4, r29 +/* 800FED30 000FBC90 38 61 00 08 */ addi r3, r1, 8 +/* 800FED34 000FBC94 4B F7 79 99 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800FED38 000FBC98 C0 5E 00 04 */ lfs f2, 4(r30) +/* 800FED3C 000FBC9C C0 21 00 0C */ lfs f1, 0xc(r1) +/* 800FED40 000FBCA0 C0 1D 02 C0 */ lfs f0, 0x2c0(r29) +/* 800FED44 000FBCA4 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800FED48 000FBCA8 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800FED4C 000FBCAC FC 00 00 1E */ fctiwz f0, f0 +/* 800FED50 000FBCB0 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 800FED54 000FBCB4 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 800FED58 000FBCB8 2C 04 00 00 */ cmpwi r4, 0 +/* 800FED5C 000FBCBC 41 80 00 10 */ blt lbl_800FED6C +/* 800FED60 000FBCC0 80 1D 02 C8 */ lwz r0, 0x2c8(r29) +/* 800FED64 000FBCC4 7C 04 00 00 */ cmpw r4, r0 +/* 800FED68 000FBCC8 41 80 00 0C */ blt lbl_800FED74 +lbl_800FED6C: +/* 800FED6C 000FBCCC 38 60 00 00 */ li r3, 0 +/* 800FED70 000FBCD0 48 00 00 28 */ b lbl_800FED98 +lbl_800FED74: +/* 800FED74 000FBCD4 80 1D 02 C4 */ lwz r0, 0x2c4(r29) +/* 800FED78 000FBCD8 80 7D 02 D8 */ lwz r3, 0x2d8(r29) +/* 800FED7C 000FBCDC 7C 04 01 D6 */ mullw r0, r4, r0 +/* 800FED80 000FBCE0 7C 1F 02 14 */ add r0, r31, r0 +/* 800FED84 000FBCE4 7C 03 00 AE */ lbzx r0, r3, r0 +/* 800FED88 000FBCE8 7C 03 07 74 */ extsb r3, r0 +/* 800FED8C 000FBCEC 7C 03 00 D0 */ neg r0, r3 +/* 800FED90 000FBCF0 7C 00 1B 78 */ or r0, r0, r3 +/* 800FED94 000FBCF4 54 03 0F FE */ srwi r3, r0, 0x1f +lbl_800FED98: +/* 800FED98 000FBCF8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800FED9C 000FBCFC 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800FEDA0 000FBD00 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800FEDA4 000FBD04 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800FEDA8 000FBD08 7C 08 03 A6 */ mtlr r0 +/* 800FEDAC 000FBD0C 38 21 00 50 */ addi r1, r1, 0x50 +/* 800FEDB0 000FBD10 4E 80 00 20 */ blr + +.global SetupGrid__12CScriptWaterFb +SetupGrid__12CScriptWaterFb: +/* 800FEDB4 000FBD14 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800FEDB8 000FBD18 7C 08 02 A6 */ mflr r0 +/* 800FEDBC 000FBD1C 90 01 00 64 */ stw r0, 0x64(r1) +/* 800FEDC0 000FBD20 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 800FEDC4 000FBD24 7C 7E 1B 78 */ mr r30, r3 +/* 800FEDC8 000FBD28 7C 9F 23 78 */ mr r31, r4 +/* 800FEDCC 000FBD2C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800FEDD0 000FBD30 7F C4 F3 78 */ mr r4, r30 +/* 800FEDD4 000FBD34 4B F7 78 F9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800FEDD8 000FBD38 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800FEDDC 000FBD3C C0 01 00 20 */ lfs f0, 0x20(r1) +/* 800FEDE0 000FBD40 C0 5E 02 C0 */ lfs f2, 0x2c0(r30) +/* 800FEDE4 000FBD44 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800FEDE8 000FBD48 C0 02 93 B8 */ lfs f0, lbl_805AB0D8@sda21(r2) +/* 800FEDEC 000FBD4C EC 22 08 2A */ fadds f1, f2, f1 +/* 800FEDF0 000FBD50 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800FEDF4 000FBD54 EC 20 10 24 */ fdivs f1, f0, f2 +/* 800FEDF8 000FBD58 48 21 64 A5 */ bl FloorF__5CMathFf +/* 800FEDFC 000FBD5C FC 00 08 1E */ fctiwz f0, f1 +/* 800FEE00 000FBD60 7F C4 F3 78 */ mr r4, r30 +/* 800FEE04 000FBD64 38 61 00 08 */ addi r3, r1, 8 +/* 800FEE08 000FBD68 D8 01 00 38 */ stfd f0, 0x38(r1) +/* 800FEE0C 000FBD6C 83 81 00 3C */ lwz r28, 0x3c(r1) +/* 800FEE10 000FBD70 4B F7 78 BD */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800FEE14 000FBD74 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 800FEE18 000FBD78 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800FEE1C 000FBD7C C0 5E 02 C0 */ lfs f2, 0x2c0(r30) +/* 800FEE20 000FBD80 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800FEE24 000FBD84 C0 02 93 B8 */ lfs f0, lbl_805AB0D8@sda21(r2) +/* 800FEE28 000FBD88 EC 22 08 2A */ fadds f1, f2, f1 +/* 800FEE2C 000FBD8C EC 01 00 28 */ fsubs f0, f1, f0 +/* 800FEE30 000FBD90 EC 20 10 24 */ fdivs f1, f0, f2 +/* 800FEE34 000FBD94 48 21 64 69 */ bl FloorF__5CMathFf +/* 800FEE38 000FBD98 FC 00 08 1E */ fctiwz f0, f1 +/* 800FEE3C 000FBD9C 38 7C 00 01 */ addi r3, r28, 1 +/* 800FEE40 000FBDA0 D8 01 00 40 */ stfd f0, 0x40(r1) +/* 800FEE44 000FBDA4 83 61 00 44 */ lwz r27, 0x44(r1) +/* 800FEE48 000FBDA8 38 1B 00 01 */ addi r0, r27, 1 +/* 800FEE4C 000FBDAC 7C 03 01 D6 */ mullw r0, r3, r0 +/* 800FEE50 000FBDB0 90 1E 02 CC */ stw r0, 0x2cc(r30) +/* 800FEE54 000FBDB4 80 1E 02 CC */ lwz r0, 0x2cc(r30) +/* 800FEE58 000FBDB8 90 1E 02 E4 */ stw r0, 0x2e4(r30) +/* 800FEE5C 000FBDBC 80 7E 02 DC */ lwz r3, 0x2dc(r30) +/* 800FEE60 000FBDC0 48 21 6A D1 */ bl Free__7CMemoryFPCv +/* 800FEE64 000FBDC4 38 00 00 00 */ li r0, 0 +/* 800FEE68 000FBDC8 90 1E 02 DC */ stw r0, 0x2dc(r30) +/* 800FEE6C 000FBDCC 80 1E 02 D8 */ lwz r0, 0x2d8(r30) +/* 800FEE70 000FBDD0 28 00 00 00 */ cmplwi r0, 0 +/* 800FEE74 000FBDD4 41 82 00 1C */ beq lbl_800FEE90 +/* 800FEE78 000FBDD8 80 1E 02 C4 */ lwz r0, 0x2c4(r30) +/* 800FEE7C 000FBDDC 7C 1C 00 00 */ cmpw r28, r0 +/* 800FEE80 000FBDE0 40 82 00 10 */ bne lbl_800FEE90 +/* 800FEE84 000FBDE4 80 1E 02 C8 */ lwz r0, 0x2c8(r30) +/* 800FEE88 000FBDE8 7C 1B 00 00 */ cmpw r27, r0 +/* 800FEE8C 000FBDEC 41 82 00 28 */ beq lbl_800FEEB4 +lbl_800FEE90: +/* 800FEE90 000FBDF0 7C 7C D9 D6 */ mullw r3, r28, r27 +/* 800FEE94 000FBDF4 3C 80 80 3D */ lis r4, lbl_803CEE38@ha +/* 800FEE98 000FBDF8 38 A0 00 00 */ li r5, 0 +/* 800FEE9C 000FBDFC 38 84 EE 38 */ addi r4, r4, lbl_803CEE38@l +/* 800FEEA0 000FBE00 48 21 69 79 */ bl __nwa__FUlPCcPCc +/* 800FEEA4 000FBE04 7C 7D 1B 78 */ mr r29, r3 +/* 800FEEA8 000FBE08 80 7E 02 D8 */ lwz r3, 0x2d8(r30) +/* 800FEEAC 000FBE0C 48 21 6A 85 */ bl Free__7CMemoryFPCv +/* 800FEEB0 000FBE10 93 BE 02 D8 */ stw r29, 0x2d8(r30) +lbl_800FEEB4: +/* 800FEEB4 000FBE14 93 9E 02 C4 */ stw r28, 0x2c4(r30) +/* 800FEEB8 000FBE18 38 A0 00 00 */ li r5, 0 +/* 800FEEBC 000FBE1C 38 60 00 01 */ li r3, 1 +/* 800FEEC0 000FBE20 93 7E 02 C8 */ stw r27, 0x2c8(r30) +/* 800FEEC4 000FBE24 48 00 00 38 */ b lbl_800FEEFC +lbl_800FEEC8: +/* 800FEEC8 000FBE28 80 1E 02 C4 */ lwz r0, 0x2c4(r30) +/* 800FEECC 000FBE2C 38 C0 00 00 */ li r6, 0 +/* 800FEED0 000FBE30 80 9E 02 D8 */ lwz r4, 0x2d8(r30) +/* 800FEED4 000FBE34 7C 05 01 D6 */ mullw r0, r5, r0 +/* 800FEED8 000FBE38 7C 84 02 14 */ add r4, r4, r0 +/* 800FEEDC 000FBE3C 48 00 00 10 */ b lbl_800FEEEC +lbl_800FEEE0: +/* 800FEEE0 000FBE40 98 64 00 00 */ stb r3, 0(r4) +/* 800FEEE4 000FBE44 38 C6 00 01 */ addi r6, r6, 1 +/* 800FEEE8 000FBE48 38 84 00 01 */ addi r4, r4, 1 +lbl_800FEEEC: +/* 800FEEEC 000FBE4C 80 1E 02 C4 */ lwz r0, 0x2c4(r30) +/* 800FEEF0 000FBE50 7C 06 00 00 */ cmpw r6, r0 +/* 800FEEF4 000FBE54 41 80 FF EC */ blt lbl_800FEEE0 +/* 800FEEF8 000FBE58 38 A5 00 01 */ addi r5, r5, 1 +lbl_800FEEFC: +/* 800FEEFC 000FBE5C 80 1E 02 C8 */ lwz r0, 0x2c8(r30) +/* 800FEF00 000FBE60 7C 05 00 00 */ cmpw r5, r0 +/* 800FEF04 000FBE64 41 80 FF C4 */ blt lbl_800FEEC8 +/* 800FEF08 000FBE68 80 1E 02 E0 */ lwz r0, 0x2e0(r30) +/* 800FEF0C 000FBE6C 28 00 00 00 */ cmplwi r0, 0 +/* 800FEF10 000FBE70 41 82 00 1C */ beq lbl_800FEF2C +/* 800FEF14 000FBE74 80 1E 02 D0 */ lwz r0, 0x2d0(r30) +/* 800FEF18 000FBE78 2C 00 00 00 */ cmpwi r0, 0 +/* 800FEF1C 000FBE7C 40 82 00 10 */ bne lbl_800FEF2C +/* 800FEF20 000FBE80 80 1E 02 D4 */ lwz r0, 0x2d4(r30) +/* 800FEF24 000FBE84 2C 00 00 00 */ cmpwi r0, 0 +/* 800FEF28 000FBE88 41 82 00 28 */ beq lbl_800FEF50 +lbl_800FEF2C: +/* 800FEF2C 000FBE8C 3C 80 80 3D */ lis r4, lbl_803CEE38@ha +/* 800FEF30 000FBE90 38 60 00 20 */ li r3, 0x20 +/* 800FEF34 000FBE94 38 84 EE 38 */ addi r4, r4, lbl_803CEE38@l +/* 800FEF38 000FBE98 38 A0 00 00 */ li r5, 0 +/* 800FEF3C 000FBE9C 48 21 68 DD */ bl __nwa__FUlPCcPCc +/* 800FEF40 000FBEA0 7C 7D 1B 78 */ mr r29, r3 +/* 800FEF44 000FBEA4 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEF48 000FBEA8 48 21 69 E9 */ bl Free__7CMemoryFPCv +/* 800FEF4C 000FBEAC 93 BE 02 E0 */ stw r29, 0x2e0(r30) +lbl_800FEF50: +/* 800FEF50 000FBEB0 38 00 00 02 */ li r0, 2 +/* 800FEF54 000FBEB4 39 60 00 00 */ li r11, 0 +/* 800FEF58 000FBEB8 7C 09 03 A6 */ mtctr r0 +lbl_800FEF5C: +/* 800FEF5C 000FBEBC 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEF60 000FBEC0 39 40 00 01 */ li r10, 1 +/* 800FEF64 000FBEC4 39 2B 00 01 */ addi r9, r11, 1 +/* 800FEF68 000FBEC8 39 0B 00 02 */ addi r8, r11, 2 +/* 800FEF6C 000FBECC 7D 43 59 AE */ stbx r10, r3, r11 +/* 800FEF70 000FBED0 38 EB 00 03 */ addi r7, r11, 3 +/* 800FEF74 000FBED4 38 CB 00 04 */ addi r6, r11, 4 +/* 800FEF78 000FBED8 38 AB 00 05 */ addi r5, r11, 5 +/* 800FEF7C 000FBEDC 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEF80 000FBEE0 38 8B 00 06 */ addi r4, r11, 6 +/* 800FEF84 000FBEE4 38 0B 00 07 */ addi r0, r11, 7 +/* 800FEF88 000FBEE8 7D 43 49 AE */ stbx r10, r3, r9 +/* 800FEF8C 000FBEEC 39 2B 00 09 */ addi r9, r11, 9 +/* 800FEF90 000FBEF0 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEF94 000FBEF4 7D 43 41 AE */ stbx r10, r3, r8 +/* 800FEF98 000FBEF8 39 0B 00 0A */ addi r8, r11, 0xa +/* 800FEF9C 000FBEFC 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEFA0 000FBF00 7D 43 39 AE */ stbx r10, r3, r7 +/* 800FEFA4 000FBF04 38 EB 00 0B */ addi r7, r11, 0xb +/* 800FEFA8 000FBF08 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEFAC 000FBF0C 7D 43 31 AE */ stbx r10, r3, r6 +/* 800FEFB0 000FBF10 38 CB 00 0C */ addi r6, r11, 0xc +/* 800FEFB4 000FBF14 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEFB8 000FBF18 7D 43 29 AE */ stbx r10, r3, r5 +/* 800FEFBC 000FBF1C 38 AB 00 0D */ addi r5, r11, 0xd +/* 800FEFC0 000FBF20 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEFC4 000FBF24 7D 43 21 AE */ stbx r10, r3, r4 +/* 800FEFC8 000FBF28 38 8B 00 0E */ addi r4, r11, 0xe +/* 800FEFCC 000FBF2C 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEFD0 000FBF30 7D 43 01 AE */ stbx r10, r3, r0 +/* 800FEFD4 000FBF34 38 0B 00 0F */ addi r0, r11, 0xf +/* 800FEFD8 000FBF38 39 6B 00 08 */ addi r11, r11, 8 +/* 800FEFDC 000FBF3C 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEFE0 000FBF40 7D 43 59 AE */ stbx r10, r3, r11 +/* 800FEFE4 000FBF44 39 6B 00 08 */ addi r11, r11, 8 +/* 800FEFE8 000FBF48 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEFEC 000FBF4C 7D 43 49 AE */ stbx r10, r3, r9 +/* 800FEFF0 000FBF50 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEFF4 000FBF54 7D 43 41 AE */ stbx r10, r3, r8 +/* 800FEFF8 000FBF58 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FEFFC 000FBF5C 7D 43 39 AE */ stbx r10, r3, r7 +/* 800FF000 000FBF60 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FF004 000FBF64 7D 43 31 AE */ stbx r10, r3, r6 +/* 800FF008 000FBF68 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FF00C 000FBF6C 7D 43 29 AE */ stbx r10, r3, r5 +/* 800FF010 000FBF70 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FF014 000FBF74 7D 43 21 AE */ stbx r10, r3, r4 +/* 800FF018 000FBF78 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 800FF01C 000FBF7C 7D 43 01 AE */ stbx r10, r3, r0 +/* 800FF020 000FBF80 42 00 FF 3C */ bdnz lbl_800FEF5C +/* 800FF024 000FBF84 38 00 00 00 */ li r0, 0 +/* 800FF028 000FBF88 90 1E 02 D4 */ stw r0, 0x2d4(r30) +/* 800FF02C 000FBF8C 90 1E 02 D0 */ stw r0, 0x2d0(r30) +/* 800FF030 000FBF90 88 1E 02 E8 */ lbz r0, 0x2e8(r30) +/* 800FF034 000FBF94 53 E0 1F 38 */ rlwimi r0, r31, 3, 0x1c, 0x1c +/* 800FF038 000FBF98 98 1E 02 E8 */ stb r0, 0x2e8(r30) +/* 800FF03C 000FBF9C BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 800FF040 000FBFA0 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800FF044 000FBFA4 7C 08 03 A6 */ mtlr r0 +/* 800FF048 000FBFA8 38 21 00 60 */ addi r1, r1, 0x60 +/* 800FF04C 000FBFAC 4E 80 00 20 */ blr + +.global SetupGridClipping__12CScriptWaterFR13CStateManageri +SetupGridClipping__12CScriptWaterFR13CStateManageri: +/* 800FF050 000FBFB0 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 800FF054 000FBFB4 7C 08 02 A6 */ mflr r0 +/* 800FF058 000FBFB8 90 01 01 44 */ stw r0, 0x144(r1) +/* 800FF05C 000FBFBC DB E1 01 30 */ stfd f31, 0x130(r1) +/* 800FF060 000FBFC0 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 800FF064 000FBFC4 DB C1 01 20 */ stfd f30, 0x120(r1) +/* 800FF068 000FBFC8 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 800FF06C 000FBFCC DB A1 01 10 */ stfd f29, 0x110(r1) +/* 800FF070 000FBFD0 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 800FF074 000FBFD4 DB 81 01 00 */ stfd f28, 0x100(r1) +/* 800FF078 000FBFD8 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 +/* 800FF07C 000FBFDC DB 61 00 F0 */ stfd f27, 0xf0(r1) +/* 800FF080 000FBFE0 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 +/* 800FF084 000FBFE4 DB 41 00 E0 */ stfd f26, 0xe0(r1) +/* 800FF088 000FBFE8 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 +/* 800FF08C 000FBFEC BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 800FF090 000FBFF0 88 03 02 E8 */ lbz r0, 0x2e8(r3) +/* 800FF094 000FBFF4 7C 7F 1B 78 */ mr r31, r3 +/* 800FF098 000FBFF8 7C 9C 23 78 */ mr r28, r4 +/* 800FF09C 000FBFFC 7C BD 2B 78 */ mr r29, r5 +/* 800FF0A0 000FC000 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800FF0A4 000FC004 41 82 00 28 */ beq lbl_800FF0CC +/* 800FF0A8 000FC008 38 00 00 00 */ li r0, 0 +/* 800FF0AC 000FC00C 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 800FF0B0 000FC010 80 7F 02 DC */ lwz r3, 0x2dc(r31) +/* 800FF0B4 000FC014 48 21 68 7D */ bl Free__7CMemoryFPCv +/* 800FF0B8 000FC018 38 60 00 00 */ li r3, 0 +/* 800FF0BC 000FC01C 90 7F 02 DC */ stw r3, 0x2dc(r31) +/* 800FF0C0 000FC020 88 1F 02 E8 */ lbz r0, 0x2e8(r31) +/* 800FF0C4 000FC024 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800FF0C8 000FC028 98 1F 02 E8 */ stb r0, 0x2e8(r31) +lbl_800FF0CC: +/* 800FF0CC 000FC02C 80 7F 02 E4 */ lwz r3, 0x2e4(r31) +/* 800FF0D0 000FC030 80 1F 02 CC */ lwz r0, 0x2cc(r31) +/* 800FF0D4 000FC034 7C 03 00 00 */ cmpw r3, r0 +/* 800FF0D8 000FC038 40 80 04 B8 */ bge lbl_800FF590 +/* 800FF0DC 000FC03C 88 0D A3 48 */ lbz r0, lbl_805A8F08@sda21(r13) +/* 800FF0E0 000FC040 7C 00 07 75 */ extsb. r0, r0 +/* 800FF0E4 000FC044 40 82 00 40 */ bne lbl_800FF124 +/* 800FF0E8 000FC048 80 AD 89 8C */ lwz r5, lbl_805A754C@sda21(r13) +/* 800FF0EC 000FC04C 38 60 00 00 */ li r3, 0 +/* 800FF0F0 000FC050 38 80 00 01 */ li r4, 1 +/* 800FF0F4 000FC054 48 28 AE 01 */ bl __shl2i +/* 800FF0F8 000FC058 3C A0 80 47 */ lis r5, lbl_8046C520@ha +/* 800FF0FC 000FC05C 38 C0 00 01 */ li r6, 1 +/* 800FF100 000FC060 38 A5 C5 20 */ addi r5, r5, lbl_8046C520@l +/* 800FF104 000FC064 38 00 00 00 */ li r0, 0 +/* 800FF108 000FC068 90 C1 00 78 */ stw r6, 0x78(r1) +/* 800FF10C 000FC06C 90 85 00 04 */ stw r4, 4(r5) +/* 800FF110 000FC070 90 65 00 00 */ stw r3, 0(r5) +/* 800FF114 000FC074 90 05 00 0C */ stw r0, 0xc(r5) +/* 800FF118 000FC078 90 05 00 08 */ stw r0, 8(r5) +/* 800FF11C 000FC07C 90 C5 00 10 */ stw r6, 0x10(r5) +/* 800FF120 000FC080 98 CD A3 48 */ stb r6, lbl_805A8F08@sda21(r13) +lbl_800FF124: +/* 800FF124 000FC084 80 1F 02 DC */ lwz r0, 0x2dc(r31) +/* 800FF128 000FC088 28 00 00 00 */ cmplwi r0, 0 +/* 800FF12C 000FC08C 40 82 00 38 */ bne lbl_800FF164 +/* 800FF130 000FC090 80 DF 02 C8 */ lwz r6, 0x2c8(r31) +/* 800FF134 000FC094 3C 60 80 3D */ lis r3, lbl_803CEE38@ha +/* 800FF138 000FC098 80 BF 02 C4 */ lwz r5, 0x2c4(r31) +/* 800FF13C 000FC09C 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l +/* 800FF140 000FC0A0 38 06 00 01 */ addi r0, r6, 1 +/* 800FF144 000FC0A4 38 65 00 01 */ addi r3, r5, 1 +/* 800FF148 000FC0A8 38 A0 00 00 */ li r5, 0 +/* 800FF14C 000FC0AC 7C 63 01 D6 */ mullw r3, r3, r0 +/* 800FF150 000FC0B0 48 21 66 C9 */ bl __nwa__FUlPCcPCc +/* 800FF154 000FC0B4 7C 7B 1B 78 */ mr r27, r3 +/* 800FF158 000FC0B8 80 7F 02 DC */ lwz r3, 0x2dc(r31) +/* 800FF15C 000FC0BC 48 21 67 D5 */ bl Free__7CMemoryFPCv +/* 800FF160 000FC0C0 93 7F 02 DC */ stw r27, 0x2dc(r31) +lbl_800FF164: +/* 800FF164 000FC0C4 C0 22 93 BC */ lfs f1, lbl_805AB0DC@sda21(r2) +/* 800FF168 000FC0C8 7F E4 FB 78 */ mr r4, r31 +/* 800FF16C 000FC0CC C0 02 93 C0 */ lfs f0, lbl_805AB0E0@sda21(r2) +/* 800FF170 000FC0D0 38 61 00 4C */ addi r3, r1, 0x4c +/* 800FF174 000FC0D4 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800FF178 000FC0D8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800FF17C 000FC0DC D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800FF180 000FC0E0 4B F7 75 4D */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800FF184 000FC0E4 C0 22 98 C8 */ lfs f1, lbl_805AB5E8@sda21(r2) +/* 800FF188 000FC0E8 7F E4 FB 78 */ mr r4, r31 +/* 800FF18C 000FC0EC C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800FF190 000FC0F0 38 61 00 34 */ addi r3, r1, 0x34 +/* 800FF194 000FC0F4 EF E1 00 2A */ fadds f31, f1, f0 +/* 800FF198 000FC0F8 4B F7 75 35 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800FF19C 000FC0FC 80 9F 02 C4 */ lwz r4, 0x2c4(r31) +/* 800FF1A0 000FC100 3C 60 43 30 */ lis r3, 0x4330 +/* 800FF1A4 000FC104 80 DF 02 E4 */ lwz r6, 0x2e4(r31) +/* 800FF1A8 000FC108 38 A4 00 01 */ addi r5, r4, 1 +/* 800FF1AC 000FC10C 80 1F 02 DC */ lwz r0, 0x2dc(r31) +/* 800FF1B0 000FC110 7C 86 2B D6 */ divw r4, r6, r5 +/* 800FF1B4 000FC114 C0 3F 01 44 */ lfs f1, 0x144(r31) +/* 800FF1B8 000FC118 C0 1F 01 38 */ lfs f0, 0x138(r31) +/* 800FF1BC 000FC11C 7F C0 32 14 */ add r30, r0, r6 +/* 800FF1C0 000FC120 90 61 00 B0 */ stw r3, 0xb0(r1) +/* 800FF1C4 000FC124 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800FF1C8 000FC128 7C 04 29 D6 */ mullw r0, r4, r5 +/* 800FF1CC 000FC12C 6C 84 80 00 */ xoris r4, r4, 0x8000 +/* 800FF1D0 000FC130 90 81 00 B4 */ stw r4, 0xb4(r1) +/* 800FF1D4 000FC134 C8 82 93 C8 */ lfd f4, lbl_805AB0E8@sda21(r2) +/* 800FF1D8 000FC138 C8 61 00 B0 */ lfd f3, 0xb0(r1) +/* 800FF1DC 000FC13C 90 61 00 B8 */ stw r3, 0xb8(r1) +/* 800FF1E0 000FC140 7C 60 30 50 */ subf r3, r0, r6 +/* 800FF1E4 000FC144 C0 42 93 C4 */ lfs f2, lbl_805AB0E4@sda21(r2) +/* 800FF1E8 000FC148 6C 60 80 00 */ xoris r0, r3, 0x8000 +/* 800FF1EC 000FC14C C0 02 98 C8 */ lfs f0, lbl_805AB5E8@sda21(r2) +/* 800FF1F0 000FC150 90 01 00 BC */ stw r0, 0xbc(r1) +/* 800FF1F4 000FC154 EC 63 20 28 */ fsubs f3, f3, f4 +/* 800FF1F8 000FC158 C0 BF 02 C0 */ lfs f5, 0x2c0(r31) +/* 800FF1FC 000FC15C EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 800FF200 000FC160 C8 41 00 B8 */ lfd f2, 0xb8(r1) +/* 800FF204 000FC164 7C 7A 1B 78 */ mr r26, r3 +/* 800FF208 000FC168 C0 0D 89 90 */ lfs f0, lbl_805A7550@sda21(r13) +/* 800FF20C 000FC16C EC 42 20 28 */ fsubs f2, f2, f4 +/* 800FF210 000FC170 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800FF214 000FC174 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800FF218 000FC178 C3 C1 00 34 */ lfs f30, 0x34(r1) +/* 800FF21C 000FC17C EF 85 00 F2 */ fmuls f28, f5, f3 +/* 800FF220 000FC180 C3 A1 00 38 */ lfs f29, 0x38(r1) +/* 800FF224 000FC184 EF 65 00 B2 */ fmuls f27, f5, f2 +/* 800FF228 000FC188 40 80 00 0C */ bge lbl_800FF234 +/* 800FF22C 000FC18C 38 8D 89 90 */ addi r4, r13, lbl_805A7550@sda21 +/* 800FF230 000FC190 48 00 00 08 */ b lbl_800FF238 +lbl_800FF234: +/* 800FF234 000FC194 38 81 00 18 */ addi r4, r1, 0x18 +lbl_800FF238: +/* 800FF238 000FC198 3C 60 80 47 */ lis r3, lbl_8046C520@ha +/* 800FF23C 000FC19C C3 44 00 00 */ lfs f26, 0(r4) +/* 800FF240 000FC1A0 83 3F 02 E4 */ lwz r25, 0x2e4(r31) +/* 800FF244 000FC1A4 3B 63 C5 20 */ addi r27, r3, lbl_8046C520@l +/* 800FF248 000FC1A8 48 00 00 68 */ b lbl_800FF2B0 +lbl_800FF24C: +/* 800FF24C 000FC1AC EC 5B F0 2A */ fadds f2, f27, f30 +/* 800FF250 000FC1B0 D3 E1 00 24 */ stfs f31, 0x24(r1) +/* 800FF254 000FC1B4 EC 1C E8 2A */ fadds f0, f28, f29 +/* 800FF258 000FC1B8 7F 84 E3 78 */ mr r4, r28 +/* 800FF25C 000FC1BC FC 20 D0 90 */ fmr f1, f26 +/* 800FF260 000FC1C0 7F 67 DB 78 */ mr r7, r27 +/* 800FF264 000FC1C4 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800FF268 000FC1C8 38 61 00 80 */ addi r3, r1, 0x80 +/* 800FF26C 000FC1CC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800FF270 000FC1D0 38 C1 00 28 */ addi r6, r1, 0x28 +/* 800FF274 000FC1D4 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800FF278 000FC1D8 4B F4 DD 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter +/* 800FF27C 000FC1DC 88 01 00 A0 */ lbz r0, 0xa0(r1) +/* 800FF280 000FC1E0 3B 5A 00 01 */ addi r26, r26, 1 +/* 800FF284 000FC1E4 98 1E 00 00 */ stb r0, 0(r30) +/* 800FF288 000FC1E8 C0 1F 02 C0 */ lfs f0, 0x2c0(r31) +/* 800FF28C 000FC1EC 80 1F 02 C4 */ lwz r0, 0x2c4(r31) +/* 800FF290 000FC1F0 EF 7B 00 2A */ fadds f27, f27, f0 +/* 800FF294 000FC1F4 7C 1A 00 00 */ cmpw r26, r0 +/* 800FF298 000FC1F8 40 81 00 10 */ ble lbl_800FF2A8 +/* 800FF29C 000FC1FC EF 9C 00 2A */ fadds f28, f28, f0 +/* 800FF2A0 000FC200 C3 62 93 BC */ lfs f27, lbl_805AB0DC@sda21(r2) +/* 800FF2A4 000FC204 3B 40 00 00 */ li r26, 0 +lbl_800FF2A8: +/* 800FF2A8 000FC208 3B 39 00 01 */ addi r25, r25, 1 +/* 800FF2AC 000FC20C 3B DE 00 01 */ addi r30, r30, 1 +lbl_800FF2B0: +/* 800FF2B0 000FC210 80 1F 02 E4 */ lwz r0, 0x2e4(r31) +/* 800FF2B4 000FC214 7C 60 EA 14 */ add r3, r0, r29 +/* 800FF2B8 000FC218 90 61 00 14 */ stw r3, 0x14(r1) +/* 800FF2BC 000FC21C 80 1F 02 CC */ lwz r0, 0x2cc(r31) +/* 800FF2C0 000FC220 7C 03 00 00 */ cmpw r3, r0 +/* 800FF2C4 000FC224 40 80 00 0C */ bge lbl_800FF2D0 +/* 800FF2C8 000FC228 38 61 00 14 */ addi r3, r1, 0x14 +/* 800FF2CC 000FC22C 48 00 00 08 */ b lbl_800FF2D4 +lbl_800FF2D0: +/* 800FF2D0 000FC230 38 7F 02 CC */ addi r3, r31, 0x2cc +lbl_800FF2D4: +/* 800FF2D4 000FC234 80 03 00 00 */ lwz r0, 0(r3) +/* 800FF2D8 000FC238 7C 19 00 00 */ cmpw r25, r0 +/* 800FF2DC 000FC23C 41 80 FF 70 */ blt lbl_800FF24C +/* 800FF2E0 000FC240 80 1F 02 E4 */ lwz r0, 0x2e4(r31) +/* 800FF2E4 000FC244 7C 00 EA 14 */ add r0, r0, r29 +/* 800FF2E8 000FC248 90 1F 02 E4 */ stw r0, 0x2e4(r31) +/* 800FF2EC 000FC24C 80 1F 02 E4 */ lwz r0, 0x2e4(r31) +/* 800FF2F0 000FC250 80 7F 02 CC */ lwz r3, 0x2cc(r31) +/* 800FF2F4 000FC254 7C 00 18 00 */ cmpw r0, r3 +/* 800FF2F8 000FC258 41 80 02 98 */ blt lbl_800FF590 +/* 800FF2FC 000FC25C 90 7F 02 E4 */ stw r3, 0x2e4(r31) +/* 800FF300 000FC260 3C 60 80 3D */ lis r3, lbl_803CEE38@ha +/* 800FF304 000FC264 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l +/* 800FF308 000FC268 38 A0 00 00 */ li r5, 0 +/* 800FF30C 000FC26C 80 7F 02 C4 */ lwz r3, 0x2c4(r31) +/* 800FF310 000FC270 80 1F 02 C8 */ lwz r0, 0x2c8(r31) +/* 800FF314 000FC274 7C 63 01 D6 */ mullw r3, r3, r0 +/* 800FF318 000FC278 48 21 65 01 */ bl __nwa__FUlPCcPCc +/* 800FF31C 000FC27C 7C 7C 1B 78 */ mr r28, r3 +/* 800FF320 000FC280 80 7F 02 D8 */ lwz r3, 0x2d8(r31) +/* 800FF324 000FC284 48 21 66 0D */ bl Free__7CMemoryFPCv +/* 800FF328 000FC288 93 9F 02 D8 */ stw r28, 0x2d8(r31) +/* 800FF32C 000FC28C 39 00 00 00 */ li r8, 0 +/* 800FF330 000FC290 48 00 00 90 */ b lbl_800FF3C0 +lbl_800FF334: +/* 800FF334 000FC294 80 DF 02 C4 */ lwz r6, 0x2c4(r31) +/* 800FF338 000FC298 39 20 00 00 */ li r9, 0 +/* 800FF33C 000FC29C 80 FF 02 D8 */ lwz r7, 0x2d8(r31) +/* 800FF340 000FC2A0 38 60 00 01 */ li r3, 1 +/* 800FF344 000FC2A4 38 86 00 01 */ addi r4, r6, 1 +/* 800FF348 000FC2A8 80 BF 02 DC */ lwz r5, 0x2dc(r31) +/* 800FF34C 000FC2AC 7C C8 31 D6 */ mullw r6, r8, r6 +/* 800FF350 000FC2B0 38 00 00 00 */ li r0, 0 +/* 800FF354 000FC2B4 7C 88 21 D6 */ mullw r4, r8, r4 +/* 800FF358 000FC2B8 7C C7 32 14 */ add r6, r7, r6 +/* 800FF35C 000FC2BC 7C E5 22 14 */ add r7, r5, r4 +/* 800FF360 000FC2C0 48 00 00 50 */ b lbl_800FF3B0 +lbl_800FF364: +/* 800FF364 000FC2C4 88 87 00 00 */ lbz r4, 0(r7) +/* 800FF368 000FC2C8 7C 84 07 75 */ extsb. r4, r4 +/* 800FF36C 000FC2CC 40 82 00 2C */ bne lbl_800FF398 +/* 800FF370 000FC2D0 88 87 00 01 */ lbz r4, 1(r7) +/* 800FF374 000FC2D4 7C 84 07 75 */ extsb. r4, r4 +/* 800FF378 000FC2D8 40 82 00 20 */ bne lbl_800FF398 +/* 800FF37C 000FC2DC 7C A7 2A 14 */ add r5, r7, r5 +/* 800FF380 000FC2E0 88 85 00 01 */ lbz r4, 1(r5) +/* 800FF384 000FC2E4 7C 84 07 75 */ extsb. r4, r4 +/* 800FF388 000FC2E8 40 82 00 10 */ bne lbl_800FF398 +/* 800FF38C 000FC2EC 88 85 00 02 */ lbz r4, 2(r5) +/* 800FF390 000FC2F0 7C 84 07 75 */ extsb. r4, r4 +/* 800FF394 000FC2F4 41 82 00 0C */ beq lbl_800FF3A0 +lbl_800FF398: +/* 800FF398 000FC2F8 98 66 00 00 */ stb r3, 0(r6) +/* 800FF39C 000FC2FC 48 00 00 08 */ b lbl_800FF3A4 +lbl_800FF3A0: +/* 800FF3A0 000FC300 98 06 00 00 */ stb r0, 0(r6) +lbl_800FF3A4: +/* 800FF3A4 000FC304 39 29 00 01 */ addi r9, r9, 1 +/* 800FF3A8 000FC308 38 C6 00 01 */ addi r6, r6, 1 +/* 800FF3AC 000FC30C 38 E7 00 01 */ addi r7, r7, 1 +lbl_800FF3B0: +/* 800FF3B0 000FC310 80 BF 02 C4 */ lwz r5, 0x2c4(r31) +/* 800FF3B4 000FC314 7C 09 28 00 */ cmpw r9, r5 +/* 800FF3B8 000FC318 41 80 FF AC */ blt lbl_800FF364 +/* 800FF3BC 000FC31C 39 08 00 01 */ addi r8, r8, 1 +lbl_800FF3C0: +/* 800FF3C0 000FC320 80 1F 02 C8 */ lwz r0, 0x2c8(r31) +/* 800FF3C4 000FC324 7C 08 00 00 */ cmpw r8, r0 +/* 800FF3C8 000FC328 41 80 FF 6C */ blt lbl_800FF334 +/* 800FF3CC 000FC32C 80 9F 01 B4 */ lwz r4, 0x1b4(r31) +/* 800FF3D0 000FC330 38 A0 00 2A */ li r5, 0x2a +/* 800FF3D4 000FC334 80 0D 89 94 */ lwz r0, lbl_805A7554@sda21(r13) +/* 800FF3D8 000FC338 38 6D 89 94 */ addi r3, r13, lbl_805A7554@sda21 +/* 800FF3DC 000FC33C 80 84 01 04 */ lwz r4, 0x104(r4) +/* 800FF3E0 000FC340 7C 85 23 96 */ divwu r4, r5, r4 +/* 800FF3E4 000FC344 7C 04 00 00 */ cmpw r4, r0 +/* 800FF3E8 000FC348 90 81 00 10 */ stw r4, 0x10(r1) +/* 800FF3EC 000FC34C 40 80 00 08 */ bge lbl_800FF3F4 +/* 800FF3F0 000FC350 38 61 00 10 */ addi r3, r1, 0x10 +lbl_800FF3F4: +/* 800FF3F4 000FC354 83 C3 00 00 */ lwz r30, 0(r3) +/* 800FF3F8 000FC358 3C 60 80 3D */ lis r3, lbl_803CEE38@ha +/* 800FF3FC 000FC35C 80 1F 02 C4 */ lwz r0, 0x2c4(r31) +/* 800FF400 000FC360 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l +/* 800FF404 000FC364 38 A0 00 00 */ li r5, 0 +/* 800FF408 000FC368 7C 7E 02 14 */ add r3, r30, r0 +/* 800FF40C 000FC36C 38 03 FF FF */ addi r0, r3, -1 +/* 800FF410 000FC370 7C 00 F3 D6 */ divw r0, r0, r30 +/* 800FF414 000FC374 90 1F 02 D0 */ stw r0, 0x2d0(r31) +/* 800FF418 000FC378 80 1F 02 C8 */ lwz r0, 0x2c8(r31) +/* 800FF41C 000FC37C 7C 7E 02 14 */ add r3, r30, r0 +/* 800FF420 000FC380 38 03 FF FF */ addi r0, r3, -1 +/* 800FF424 000FC384 7C 00 F3 D6 */ divw r0, r0, r30 +/* 800FF428 000FC388 90 1F 02 D4 */ stw r0, 0x2d4(r31) +/* 800FF42C 000FC38C 80 7F 02 D0 */ lwz r3, 0x2d0(r31) +/* 800FF430 000FC390 80 1F 02 D4 */ lwz r0, 0x2d4(r31) +/* 800FF434 000FC394 7C 63 01 D6 */ mullw r3, r3, r0 +/* 800FF438 000FC398 48 21 63 E1 */ bl __nwa__FUlPCcPCc +/* 800FF43C 000FC39C 7C 7C 1B 78 */ mr r28, r3 +/* 800FF440 000FC3A0 80 7F 02 E0 */ lwz r3, 0x2e0(r31) +/* 800FF444 000FC3A4 48 21 64 ED */ bl Free__7CMemoryFPCv +/* 800FF448 000FC3A8 93 9F 02 E0 */ stw r28, 0x2e0(r31) +/* 800FF44C 000FC3AC 38 80 00 00 */ li r4, 0 +/* 800FF450 000FC3B0 38 60 00 00 */ li r3, 0 +/* 800FF454 000FC3B4 48 00 01 20 */ b lbl_800FF574 +lbl_800FF458: +/* 800FF458 000FC3B8 80 BF 02 D0 */ lwz r5, 0x2d0(r31) +/* 800FF45C 000FC3BC 7C 03 F2 14 */ add r0, r3, r30 +/* 800FF460 000FC3C0 81 1F 02 E0 */ lwz r8, 0x2e0(r31) +/* 800FF464 000FC3C4 38 C0 00 00 */ li r6, 0 +/* 800FF468 000FC3C8 7C A4 29 D6 */ mullw r5, r4, r5 +/* 800FF46C 000FC3CC 38 E0 00 00 */ li r7, 0 +/* 800FF470 000FC3D0 7C A8 2A 14 */ add r5, r8, r5 +/* 800FF474 000FC3D4 48 00 00 EC */ b lbl_800FF560 +lbl_800FF478: +/* 800FF478 000FC3D8 7C 68 1B 78 */ mr r8, r3 +/* 800FF47C 000FC3DC 7D 66 F2 14 */ add r11, r6, r30 +/* 800FF480 000FC3E0 39 80 00 01 */ li r12, 1 +/* 800FF484 000FC3E4 3B 20 00 01 */ li r25, 1 +/* 800FF488 000FC3E8 48 00 00 80 */ b lbl_800FF508 +lbl_800FF48C: +/* 800FF48C 000FC3EC 55 89 06 3F */ clrlwi. r9, r12, 0x18 +/* 800FF490 000FC3F0 40 82 00 0C */ bne lbl_800FF49C +/* 800FF494 000FC3F4 57 29 06 3F */ clrlwi. r9, r25, 0x18 +/* 800FF498 000FC3F8 41 82 00 98 */ beq lbl_800FF530 +lbl_800FF49C: +/* 800FF49C 000FC3FC 7C DA 33 78 */ mr r26, r6 +/* 800FF4A0 000FC400 48 00 00 3C */ b lbl_800FF4DC +lbl_800FF4A4: +/* 800FF4A4 000FC404 7D 28 51 D6 */ mullw r9, r8, r10 +/* 800FF4A8 000FC408 81 5F 02 D8 */ lwz r10, 0x2d8(r31) +/* 800FF4AC 000FC40C 7D 3A 4A 14 */ add r9, r26, r9 +/* 800FF4B0 000FC410 7D 2A 48 AE */ lbzx r9, r10, r9 +/* 800FF4B4 000FC414 7D 29 07 75 */ extsb. r9, r9 +/* 800FF4B8 000FC418 41 82 00 14 */ beq lbl_800FF4CC +/* 800FF4BC 000FC41C 57 29 06 3F */ clrlwi. r9, r25, 0x18 +/* 800FF4C0 000FC420 39 80 00 00 */ li r12, 0 +/* 800FF4C4 000FC424 41 82 00 40 */ beq lbl_800FF504 +/* 800FF4C8 000FC428 48 00 00 10 */ b lbl_800FF4D8 +lbl_800FF4CC: +/* 800FF4CC 000FC42C 55 89 06 3F */ clrlwi. r9, r12, 0x18 +/* 800FF4D0 000FC430 3B 20 00 00 */ li r25, 0 +/* 800FF4D4 000FC434 41 82 00 30 */ beq lbl_800FF504 +lbl_800FF4D8: +/* 800FF4D8 000FC438 3B 5A 00 01 */ addi r26, r26, 1 +lbl_800FF4DC: +/* 800FF4DC 000FC43C 91 61 00 0C */ stw r11, 0xc(r1) +/* 800FF4E0 000FC440 81 5F 02 C4 */ lwz r10, 0x2c4(r31) +/* 800FF4E4 000FC444 7C 0B 50 00 */ cmpw r11, r10 +/* 800FF4E8 000FC448 40 80 00 0C */ bge lbl_800FF4F4 +/* 800FF4EC 000FC44C 39 21 00 0C */ addi r9, r1, 0xc +/* 800FF4F0 000FC450 48 00 00 08 */ b lbl_800FF4F8 +lbl_800FF4F4: +/* 800FF4F4 000FC454 39 3F 02 C4 */ addi r9, r31, 0x2c4 +lbl_800FF4F8: +/* 800FF4F8 000FC458 81 29 00 00 */ lwz r9, 0(r9) +/* 800FF4FC 000FC45C 7C 1A 48 00 */ cmpw r26, r9 +/* 800FF500 000FC460 41 80 FF A4 */ blt lbl_800FF4A4 +lbl_800FF504: +/* 800FF504 000FC464 39 08 00 01 */ addi r8, r8, 1 +lbl_800FF508: +/* 800FF508 000FC468 90 01 00 08 */ stw r0, 8(r1) +/* 800FF50C 000FC46C 81 3F 02 C8 */ lwz r9, 0x2c8(r31) +/* 800FF510 000FC470 7C 00 48 00 */ cmpw r0, r9 +/* 800FF514 000FC474 40 80 00 0C */ bge lbl_800FF520 +/* 800FF518 000FC478 39 21 00 08 */ addi r9, r1, 8 +/* 800FF51C 000FC47C 48 00 00 08 */ b lbl_800FF524 +lbl_800FF520: +/* 800FF520 000FC480 39 3F 02 C8 */ addi r9, r31, 0x2c8 +lbl_800FF524: +/* 800FF524 000FC484 81 29 00 00 */ lwz r9, 0(r9) +/* 800FF528 000FC488 7C 08 48 00 */ cmpw r8, r9 +/* 800FF52C 000FC48C 41 80 FF 60 */ blt lbl_800FF48C +lbl_800FF530: +/* 800FF530 000FC490 57 28 06 3F */ clrlwi. r8, r25, 0x18 +/* 800FF534 000FC494 41 82 00 0C */ beq lbl_800FF540 +/* 800FF538 000FC498 39 20 00 01 */ li r9, 1 +/* 800FF53C 000FC49C 48 00 00 14 */ b lbl_800FF550 +lbl_800FF540: +/* 800FF540 000FC4A0 55 88 06 3F */ clrlwi. r8, r12, 0x18 +/* 800FF544 000FC4A4 39 20 00 02 */ li r9, 2 +/* 800FF548 000FC4A8 41 82 00 08 */ beq lbl_800FF550 +/* 800FF54C 000FC4AC 39 20 00 00 */ li r9, 0 +lbl_800FF550: +/* 800FF550 000FC4B0 99 25 00 00 */ stb r9, 0(r5) +/* 800FF554 000FC4B4 7C C6 F2 14 */ add r6, r6, r30 +/* 800FF558 000FC4B8 38 E7 00 01 */ addi r7, r7, 1 +/* 800FF55C 000FC4BC 38 A5 00 01 */ addi r5, r5, 1 +lbl_800FF560: +/* 800FF560 000FC4C0 81 1F 02 D0 */ lwz r8, 0x2d0(r31) +/* 800FF564 000FC4C4 7C 07 40 00 */ cmpw r7, r8 +/* 800FF568 000FC4C8 41 80 FF 10 */ blt lbl_800FF478 +/* 800FF56C 000FC4CC 7C 63 F2 14 */ add r3, r3, r30 +/* 800FF570 000FC4D0 38 84 00 01 */ addi r4, r4, 1 +lbl_800FF574: +/* 800FF574 000FC4D4 80 1F 02 D4 */ lwz r0, 0x2d4(r31) +/* 800FF578 000FC4D8 7C 04 00 00 */ cmpw r4, r0 +/* 800FF57C 000FC4DC 41 80 FE DC */ blt lbl_800FF458 +/* 800FF580 000FC4E0 80 7F 02 DC */ lwz r3, 0x2dc(r31) +/* 800FF584 000FC4E4 48 21 63 AD */ bl Free__7CMemoryFPCv +/* 800FF588 000FC4E8 38 00 00 00 */ li r0, 0 +/* 800FF58C 000FC4EC 90 1F 02 DC */ stw r0, 0x2dc(r31) +lbl_800FF590: +/* 800FF590 000FC4F0 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 800FF594 000FC4F4 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 800FF598 000FC4F8 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 800FF59C 000FC4FC CB C1 01 20 */ lfd f30, 0x120(r1) +/* 800FF5A0 000FC500 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 800FF5A4 000FC504 CB A1 01 10 */ lfd f29, 0x110(r1) +/* 800FF5A8 000FC508 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 +/* 800FF5AC 000FC50C CB 81 01 00 */ lfd f28, 0x100(r1) +/* 800FF5B0 000FC510 E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 +/* 800FF5B4 000FC514 CB 61 00 F0 */ lfd f27, 0xf0(r1) +/* 800FF5B8 000FC518 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 +/* 800FF5BC 000FC51C CB 41 00 E0 */ lfd f26, 0xe0(r1) +/* 800FF5C0 000FC520 BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 800FF5C4 000FC524 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800FF5C8 000FC528 7C 08 03 A6 */ mtlr r0 +/* 800FF5CC 000FC52C 38 21 01 40 */ addi r1, r1, 0x140 +/* 800FF5D0 000FC530 4E 80 00 20 */ blr + +.global SetMorphing__12CScriptWaterFb +SetMorphing__12CScriptWaterFb: +/* 800FF5D4 000FC534 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FF5D8 000FC538 7C 08 02 A6 */ mflr r0 +/* 800FF5DC 000FC53C 54 84 06 3E */ clrlwi r4, r4, 0x18 +/* 800FF5E0 000FC540 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FF5E4 000FC544 88 A3 02 E8 */ lbz r5, 0x2e8(r3) +/* 800FF5E8 000FC548 54 A0 DF FE */ rlwinm r0, r5, 0x1b, 0x1f, 0x1f +/* 800FF5EC 000FC54C 7C 04 00 40 */ cmplw r4, r0 +/* 800FF5F0 000FC550 41 82 00 18 */ beq lbl_800FF608 +/* 800FF5F4 000FC554 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a +/* 800FF5F8 000FC558 7C 80 00 34 */ cntlzw r0, r4 +/* 800FF5FC 000FC55C 98 A3 02 E8 */ stb r5, 0x2e8(r3) +/* 800FF600 000FC560 54 04 D9 7E */ srwi r4, r0, 5 +/* 800FF604 000FC564 4B FF F7 B1 */ bl SetupGrid__12CScriptWaterFb +lbl_800FF608: +/* 800FF608 000FC568 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FF60C 000FC56C 7C 08 03 A6 */ mtlr r0 +/* 800FF610 000FC570 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FF614 000FC574 4E 80 00 20 */ blr + +.global GetCollisionResponseType__12CScriptWaterCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__12CScriptWaterCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 800FF618 000FC578 38 60 00 08 */ li r3, 8 +/* 800FF61C 000FC57C 4E 80 00 20 */ blr + +.global GetSplashEffectScale__12CScriptWaterCFf +GetSplashEffectScale__12CScriptWaterCFf: +/* 800FF620 000FC580 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800FF624 000FC584 7C 08 02 A6 */ mflr r0 +/* 800FF628 000FC588 90 01 00 24 */ stw r0, 0x24(r1) +/* 800FF62C 000FC58C DB E1 00 10 */ stfd f31, 0x10(r1) +/* 800FF630 000FC590 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 +/* 800FF634 000FC594 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FF638 000FC598 FF E0 08 90 */ fmr f31, f1 +/* 800FF63C 000FC59C C0 42 93 D0 */ lfs f2, lbl_805AB0F0@sda21(r2) +/* 800FF640 000FC5A0 C0 02 93 D4 */ lfs f0, lbl_805AB0F4@sda21(r2) +/* 800FF644 000FC5A4 EC 5F 10 28 */ fsubs f2, f31, f2 +/* 800FF648 000FC5A8 FC 40 12 10 */ fabs f2, f2 +/* 800FF64C 000FC5AC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800FF650 000FC5B0 40 80 00 14 */ bge lbl_800FF664 +/* 800FF654 000FC5B4 3C 60 80 3D */ lis r3, lbl_803CEE20@ha +/* 800FF658 000FC5B8 38 63 EE 20 */ addi r3, r3, lbl_803CEE20@l +/* 800FF65C 000FC5BC C0 23 00 14 */ lfs f1, 0x14(r3) +/* 800FF660 000FC5C0 48 00 00 48 */ b lbl_800FF6A8 +lbl_800FF664: +/* 800FF664 000FC5C4 48 00 00 D1 */ bl GetSplashIndex__12CScriptWaterCFf +/* 800FF668 000FC5C8 C0 02 93 D8 */ lfs f0, lbl_805AB0F8@sda21(r2) +/* 800FF66C 000FC5CC 7C 7F 1B 78 */ mr r31, r3 +/* 800FF670 000FC5D0 EF FF 00 32 */ fmuls f31, f31, f0 +/* 800FF674 000FC5D4 FC 20 F8 90 */ fmr f1, f31 +/* 800FF678 000FC5D8 48 21 5C 25 */ bl FloorF__5CMathFf +/* 800FF67C 000FC5DC 3C 60 80 3D */ lis r3, lbl_803CEE20@ha +/* 800FF680 000FC5E0 57 E0 18 38 */ slwi r0, r31, 3 +/* 800FF684 000FC5E4 38 83 EE 20 */ addi r4, r3, lbl_803CEE20@l +/* 800FF688 000FC5E8 EF FF 08 28 */ fsubs f31, f31, f1 +/* 800FF68C 000FC5EC 7C 64 02 14 */ add r3, r4, r0 +/* 800FF690 000FC5F0 C0 22 93 D0 */ lfs f1, lbl_805AB0F0@sda21(r2) +/* 800FF694 000FC5F4 C0 03 00 04 */ lfs f0, 4(r3) +/* 800FF698 000FC5F8 EC 41 F8 28 */ fsubs f2, f1, f31 +/* 800FF69C 000FC5FC 7C 24 04 2E */ lfsx f1, r4, r0 +/* 800FF6A0 000FC600 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800FF6A4 000FC604 EC 22 00 7A */ fmadds f1, f2, f1, f0 +lbl_800FF6A8: +/* 800FF6A8 000FC608 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 +/* 800FF6AC 000FC60C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800FF6B0 000FC610 CB E1 00 10 */ lfd f31, 0x10(r1) +/* 800FF6B4 000FC614 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FF6B8 000FC618 7C 08 03 A6 */ mtlr r0 +/* 800FF6BC 000FC61C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800FF6C0 000FC620 4E 80 00 20 */ blr + +.global GetSplashSound__12CScriptWaterCFf +GetSplashSound__12CScriptWaterCFf: +/* 800FF6C4 000FC624 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FF6C8 000FC628 7C 08 02 A6 */ mflr r0 +/* 800FF6CC 000FC62C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FF6D0 000FC630 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FF6D4 000FC634 7C 7F 1B 78 */ mr r31, r3 +/* 800FF6D8 000FC638 48 00 00 5D */ bl GetSplashIndex__12CScriptWaterCFf +/* 800FF6DC 000FC63C 54 60 08 3C */ slwi r0, r3, 1 +/* 800FF6E0 000FC640 7C 7F 02 14 */ add r3, r31, r0 +/* 800FF6E4 000FC644 A0 63 02 9C */ lhz r3, 0x29c(r3) +/* 800FF6E8 000FC648 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FF6EC 000FC64C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FF6F0 000FC650 7C 08 03 A6 */ mtlr r0 +/* 800FF6F4 000FC654 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FF6F8 000FC658 4E 80 00 20 */ blr + +.global GetSplashEffect__12CScriptWaterCFf +GetSplashEffect__12CScriptWaterCFf: +/* 800FF6FC 000FC65C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FF700 000FC660 7C 08 02 A6 */ mflr r0 +/* 800FF704 000FC664 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FF708 000FC668 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FF70C 000FC66C 7C 7F 1B 78 */ mr r31, r3 +/* 800FF710 000FC670 48 00 00 25 */ bl GetSplashIndex__12CScriptWaterCFf +/* 800FF714 000FC674 54 60 20 36 */ slwi r0, r3, 4 +/* 800FF718 000FC678 7C 7F 02 14 */ add r3, r31, r0 +/* 800FF71C 000FC67C 38 63 02 68 */ addi r3, r3, 0x268 +/* 800FF720 000FC680 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FF724 000FC684 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FF728 000FC688 7C 08 03 A6 */ mtlr r0 +/* 800FF72C 000FC68C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FF730 000FC690 4E 80 00 20 */ blr + +.global GetSplashIndex__12CScriptWaterCFf +GetSplashIndex__12CScriptWaterCFf: +/* 800FF734 000FC694 C0 02 93 D8 */ lfs f0, lbl_805AB0F8@sda21(r2) +/* 800FF738 000FC698 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FF73C 000FC69C EC 01 00 32 */ fmuls f0, f1, f0 +/* 800FF740 000FC6A0 FC 00 00 1E */ fctiwz f0, f0 +/* 800FF744 000FC6A4 D8 01 00 08 */ stfd f0, 8(r1) +/* 800FF748 000FC6A8 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800FF74C 000FC6AC 2C 03 00 03 */ cmpwi r3, 3 +/* 800FF750 000FC6B0 41 80 00 08 */ blt lbl_800FF758 +/* 800FF754 000FC6B4 38 63 FF FF */ addi r3, r3, -1 +lbl_800FF758: +/* 800FF758 000FC6B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FF75C 000FC6BC 4E 80 00 20 */ blr + +.global Render__12CScriptWaterCFRC13CStateManager +Render__12CScriptWaterCFRC13CStateManager: +/* 800FF760 000FC6C0 94 21 FD 60 */ stwu r1, -0x2a0(r1) +/* 800FF764 000FC6C4 7C 08 02 A6 */ mflr r0 +/* 800FF768 000FC6C8 90 01 02 A4 */ stw r0, 0x2a4(r1) +/* 800FF76C 000FC6CC DB E1 02 90 */ stfd f31, 0x290(r1) +/* 800FF770 000FC6D0 F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 +/* 800FF774 000FC6D4 93 E1 02 8C */ stw r31, 0x28c(r1) +/* 800FF778 000FC6D8 93 C1 02 88 */ stw r30, 0x288(r1) +/* 800FF77C 000FC6DC 93 A1 02 84 */ stw r29, 0x284(r1) +/* 800FF780 000FC6E0 88 03 00 30 */ lbz r0, 0x30(r3) +/* 800FF784 000FC6E4 7C 7E 1B 78 */ mr r30, r3 +/* 800FF788 000FC6E8 7C 9F 23 78 */ mr r31, r4 +/* 800FF78C 000FC6EC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FF790 000FC6F0 41 82 03 74 */ beq lbl_800FFB04 +/* 800FF794 000FC6F4 88 1E 00 E4 */ lbz r0, 0xe4(r30) +/* 800FF798 000FC6F8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800FF79C 000FC6FC 40 82 03 68 */ bne lbl_800FFB04 +/* 800FF7A0 000FC700 80 7E 00 90 */ lwz r3, 0x90(r30) +/* 800FF7A4 000FC704 48 00 55 E5 */ bl ActivateLights__12CActorLightsCFv +/* 800FF7A8 000FC708 C0 3E 00 B0 */ lfs f1, 0xb0(r30) +/* 800FF7AC 000FC70C 38 61 01 EC */ addi r3, r1, 0x1ec +/* 800FF7B0 000FC710 C0 1E 00 A4 */ lfs f0, 0xa4(r30) +/* 800FF7B4 000FC714 C0 BE 00 60 */ lfs f5, 0x60(r30) +/* 800FF7B8 000FC718 EC 61 00 2A */ fadds f3, f1, f0 +/* 800FF7BC 000FC71C C0 82 93 DC */ lfs f4, lbl_805AB0FC@sda21(r2) +/* 800FF7C0 000FC720 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 800FF7C4 000FC724 FC 00 28 50 */ fneg f0, f5 +/* 800FF7C8 000FC728 C0 5E 00 50 */ lfs f2, 0x50(r30) +/* 800FF7CC 000FC72C EF E4 28 F8 */ fmsubs f31, f4, f3, f5 +/* 800FF7D0 000FC730 FC 20 08 50 */ fneg f1, f1 +/* 800FF7D4 000FC734 FC 40 10 50 */ fneg f2, f2 +/* 800FF7D8 000FC738 EC 60 F8 28 */ fsubs f3, f0, f31 +/* 800FF7DC 000FC73C 48 21 39 AD */ bl Translate__12CTransform4fFfff +/* 800FF7E0 000FC740 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800FF7E4 000FC744 38 9E 00 9C */ addi r4, r30, 0x9c +/* 800FF7E8 000FC748 38 A1 01 EC */ addi r5, r1, 0x1ec +/* 800FF7EC 000FC74C 48 23 81 11 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 800FF7F0 000FC750 C0 A1 00 E4 */ lfs f5, 0xe4(r1) +/* 800FF7F4 000FC754 38 61 02 4C */ addi r3, r1, 0x24c +/* 800FF7F8 000FC758 C0 81 00 E8 */ lfs f4, 0xe8(r1) +/* 800FF7FC 000FC75C 38 9E 00 34 */ addi r4, r30, 0x34 +/* 800FF800 000FC760 C0 61 00 EC */ lfs f3, 0xec(r1) +/* 800FF804 000FC764 C0 41 00 F0 */ lfs f2, 0xf0(r1) +/* 800FF808 000FC768 C0 21 00 F4 */ lfs f1, 0xf4(r1) +/* 800FF80C 000FC76C C0 01 00 F8 */ lfs f0, 0xf8(r1) +/* 800FF810 000FC770 D0 A1 01 44 */ stfs f5, 0x144(r1) +/* 800FF814 000FC774 D0 81 01 48 */ stfs f4, 0x148(r1) +/* 800FF818 000FC778 D0 61 01 4C */ stfs f3, 0x14c(r1) +/* 800FF81C 000FC77C D0 41 01 50 */ stfs f2, 0x150(r1) +/* 800FF820 000FC780 D0 21 01 54 */ stfs f1, 0x154(r1) +/* 800FF824 000FC784 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 800FF828 000FC788 48 21 33 4D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800FF82C 000FC78C C0 01 02 78 */ lfs f0, 0x278(r1) +/* 800FF830 000FC790 38 61 00 8C */ addi r3, r1, 0x8c +/* 800FF834 000FC794 80 DF 08 CC */ lwz r6, 0x8cc(r31) +/* 800FF838 000FC798 EC 00 F8 2A */ fadds f0, f0, f31 +/* 800FF83C 000FC79C 80 BF 08 50 */ lwz r5, 0x850(r31) +/* 800FF840 000FC7A0 54 C4 18 38 */ slwi r4, r6, 3 +/* 800FF844 000FC7A4 90 C1 00 30 */ stw r6, 0x30(r1) +/* 800FF848 000FC7A8 38 04 00 04 */ addi r0, r4, 4 +/* 800FF84C 000FC7AC D0 01 02 78 */ stfs f0, 0x278(r1) +/* 800FF850 000FC7B0 80 85 00 20 */ lwz r4, 0x20(r5) +/* 800FF854 000FC7B4 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800FF858 000FC7B8 7C 84 00 2E */ lwzx r4, r4, r0 +/* 800FF85C 000FC7BC 38 84 00 6C */ addi r4, r4, 0x6c +/* 800FF860 000FC7C0 48 23 7D AD */ bl GetCenterPoint__6CAABoxCFv +/* 800FF864 000FC7C4 80 9F 08 7C */ lwz r4, 0x87c(r31) +/* 800FF868 000FC7C8 3B A1 00 8C */ addi r29, r1, 0x8c +/* 800FF86C 000FC7CC 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800FF870 000FC7D0 48 00 02 C5 */ bl "__ct__Q24rstl33optional_object<14CRippleManager>FRC14CRippleManager" +/* 800FF874 000FC7D4 A0 DE 00 08 */ lhz r6, 8(r30) +/* 800FF878 000FC7D8 38 E1 00 24 */ addi r7, r1, 0x24 +/* 800FF87C 000FC7DC 81 7E 00 04 */ lwz r11, 4(r30) +/* 800FF880 000FC7E0 7F E4 FB 78 */ mr r4, r31 +/* 800FF884 000FC7E4 B0 C1 00 24 */ sth r6, 0x24(r1) +/* 800FF888 000FC7E8 38 A1 01 44 */ addi r5, r1, 0x144 +/* 800FF88C 000FC7EC 81 9E 02 D8 */ lwz r12, 0x2d8(r30) +/* 800FF890 000FC7F0 55 63 18 38 */ slwi r3, r11, 3 +/* 800FF894 000FC7F4 38 03 00 04 */ addi r0, r3, 4 +/* 800FF898 000FC7F8 B0 C1 00 20 */ sth r6, 0x20(r1) +/* 800FF89C 000FC7FC 38 C1 02 4C */ addi r6, r1, 0x24c +/* 800FF8A0 000FC800 39 3E 01 50 */ addi r9, r30, 0x150 +/* 800FF8A4 000FC804 90 E1 00 08 */ stw r7, 8(r1) +/* 800FF8A8 000FC808 39 41 00 C8 */ addi r10, r1, 0xc8 +/* 800FF8AC 000FC80C 39 00 00 00 */ li r8, 0 +/* 800FF8B0 000FC810 91 81 00 0C */ stw r12, 0xc(r1) +/* 800FF8B4 000FC814 80 7E 02 C4 */ lwz r3, 0x2c4(r30) +/* 800FF8B8 000FC818 91 61 00 28 */ stw r11, 0x28(r1) +/* 800FF8BC 000FC81C 90 61 00 10 */ stw r3, 0x10(r1) +/* 800FF8C0 000FC820 80 7E 02 C8 */ lwz r3, 0x2c8(r30) +/* 800FF8C4 000FC824 91 61 00 2C */ stw r11, 0x2c(r1) +/* 800FF8C8 000FC828 90 61 00 14 */ stw r3, 0x14(r1) +/* 800FF8CC 000FC82C 93 A1 00 18 */ stw r29, 0x18(r1) +/* 800FF8D0 000FC830 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 800FF8D4 000FC834 80 FF 08 50 */ lwz r7, 0x850(r31) +/* 800FF8D8 000FC838 81 83 00 00 */ lwz r12, 0(r3) +/* 800FF8DC 000FC83C 80 E7 00 20 */ lwz r7, 0x20(r7) +/* 800FF8E0 000FC840 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800FF8E4 000FC844 7C E7 00 2E */ lwzx r7, r7, r0 +/* 800FF8E8 000FC848 C0 3E 02 BC */ lfs f1, 0x2bc(r30) +/* 800FF8EC 000FC84C 38 E7 00 0C */ addi r7, r7, 0xc +/* 800FF8F0 000FC850 7D 89 03 A6 */ mtctr r12 +/* 800FF8F4 000FC854 4E 80 04 21 */ bctrl +/* 800FF8F8 000FC858 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800FF8FC 000FC85C 38 80 FF FF */ li r4, -1 +/* 800FF900 000FC860 4B FF AF 41 */ bl sub_800fa840 +/* 800FF904 000FC864 C0 3E 02 14 */ lfs f1, 0x214(r30) +/* 800FF908 000FC868 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) +/* 800FF90C 000FC86C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800FF910 000FC870 41 82 01 F0 */ beq lbl_800FFB00 +/* 800FF914 000FC874 80 7F 08 B8 */ lwz r3, 0x8b8(r31) +/* 800FF918 000FC878 7F E4 FB 78 */ mr r4, r31 +/* 800FF91C 000FC87C 80 63 00 00 */ lwz r3, 0(r3) +/* 800FF920 000FC880 4B F9 1B FD */ bl CanVisorSeeFog__12CPlayerStateCFRC13CStateManager +/* 800FF924 000FC884 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800FF928 000FC888 41 82 01 D8 */ beq lbl_800FFB00 +/* 800FF92C 000FC88C 88 02 98 F0 */ lbz r0, lbl_805AB610@sda21(r2) +/* 800FF930 000FC890 28 00 00 00 */ cmplwi r0, 0 +/* 800FF934 000FC894 41 82 01 CC */ beq lbl_800FFB00 +/* 800FF938 000FC898 48 20 A5 A9 */ bl GetSecondsMod900__9CGraphicsFv +/* 800FF93C 000FC89C C0 1E 02 24 */ lfs f0, 0x224(r30) +/* 800FF940 000FC8A0 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800FF944 000FC8A4 48 21 54 AD */ bl FastSinR__5CMathFf +/* 800FF948 000FC8A8 C0 5E 02 18 */ lfs f2, 0x218(r30) +/* 800FF94C 000FC8AC 7F E3 FB 78 */ mr r3, r31 +/* 800FF950 000FC8B0 C0 1E 02 14 */ lfs f0, 0x214(r30) +/* 800FF954 000FC8B4 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 800FF958 000FC8B8 4B F4 44 89 */ bl IntegrateVisorFog__13CStateManagerFf +/* 800FF95C 000FC8BC FF E0 08 90 */ fmr f31, f1 +/* 800FF960 000FC8C0 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) +/* 800FF964 000FC8C4 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800FF968 000FC8C8 40 81 01 98 */ ble lbl_800FFB00 +/* 800FF96C 000FC8CC 7F C4 F3 78 */ mr r4, r30 +/* 800FF970 000FC8D0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800FF974 000FC8D4 4B F7 6D 59 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800FF978 000FC8D8 C0 01 00 C4 */ lfs f0, 0xc4(r1) +/* 800FF97C 000FC8DC 38 61 00 98 */ addi r3, r1, 0x98 +/* 800FF980 000FC8E0 C0 A1 00 B0 */ lfs f5, 0xb0(r1) +/* 800FF984 000FC8E4 38 81 00 80 */ addi r4, r1, 0x80 +/* 800FF988 000FC8E8 EC DF 00 2A */ fadds f6, f31, f0 +/* 800FF98C 000FC8EC C0 81 00 B4 */ lfs f4, 0xb4(r1) +/* 800FF990 000FC8F0 C0 41 00 BC */ lfs f2, 0xbc(r1) +/* 800FF994 000FC8F4 38 A1 00 74 */ addi r5, r1, 0x74 +/* 800FF998 000FC8F8 C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 800FF99C 000FC8FC C0 61 00 B8 */ lfs f3, 0xb8(r1) +/* 800FF9A0 000FC900 D0 A1 01 2C */ stfs f5, 0x12c(r1) +/* 800FF9A4 000FC904 D0 81 01 30 */ stfs f4, 0x130(r1) +/* 800FF9A8 000FC908 D0 61 01 34 */ stfs f3, 0x134(r1) +/* 800FF9AC 000FC90C D0 41 01 38 */ stfs f2, 0x138(r1) +/* 800FF9B0 000FC910 D0 21 01 3C */ stfs f1, 0x13c(r1) +/* 800FF9B4 000FC914 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 800FF9B8 000FC918 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 800FF9BC 000FC91C D0 21 00 78 */ stfs f1, 0x78(r1) +/* 800FF9C0 000FC920 D0 C1 00 7C */ stfs f6, 0x7c(r1) +/* 800FF9C4 000FC924 D0 A1 00 80 */ stfs f5, 0x80(r1) +/* 800FF9C8 000FC928 D0 81 00 84 */ stfs f4, 0x84(r1) +/* 800FF9CC 000FC92C D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800FF9D0 000FC930 48 23 8B 39 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800FF9D4 000FC934 C0 01 00 98 */ lfs f0, 0x98(r1) +/* 800FF9D8 000FC938 38 61 01 5C */ addi r3, r1, 0x15c +/* 800FF9DC 000FC93C C0 A1 00 A4 */ lfs f5, 0xa4(r1) +/* 800FF9E0 000FC940 38 81 00 5C */ addi r4, r1, 0x5c +/* 800FF9E4 000FC944 C0 E1 00 9C */ lfs f7, 0x9c(r1) +/* 800FF9E8 000FC948 C0 81 00 A8 */ lfs f4, 0xa8(r1) +/* 800FF9EC 000FC94C EC 45 00 28 */ fsubs f2, f5, f0 +/* 800FF9F0 000FC950 C0 C1 00 A0 */ lfs f6, 0xa0(r1) +/* 800FF9F4 000FC954 C0 61 00 AC */ lfs f3, 0xac(r1) +/* 800FF9F8 000FC958 ED 24 38 28 */ fsubs f9, f4, f7 +/* 800FF9FC 000FC95C C0 22 93 DC */ lfs f1, lbl_805AB0FC@sda21(r2) +/* 800FFA00 000FC960 ED 03 30 28 */ fsubs f8, f3, f6 +/* 800FFA04 000FC964 D0 01 01 14 */ stfs f0, 0x114(r1) +/* 800FFA08 000FC968 ED 41 02 72 */ fmuls f10, f1, f9 +/* 800FFA0C 000FC96C EC 01 00 B2 */ fmuls f0, f1, f2 +/* 800FFA10 000FC970 D0 E1 01 18 */ stfs f7, 0x118(r1) +/* 800FFA14 000FC974 EC 21 02 32 */ fmuls f1, f1, f8 +/* 800FFA18 000FC978 D0 C1 01 1C */ stfs f6, 0x11c(r1) +/* 800FFA1C 000FC97C D0 A1 01 20 */ stfs f5, 0x120(r1) +/* 800FFA20 000FC980 D0 81 01 24 */ stfs f4, 0x124(r1) +/* 800FFA24 000FC984 D0 61 01 28 */ stfs f3, 0x128(r1) +/* 800FFA28 000FC988 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800FFA2C 000FC98C D1 21 00 54 */ stfs f9, 0x54(r1) +/* 800FFA30 000FC990 D1 01 00 58 */ stfs f8, 0x58(r1) +/* 800FFA34 000FC994 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800FFA38 000FC998 D1 41 00 60 */ stfs f10, 0x60(r1) +/* 800FFA3C 000FC99C D0 21 00 64 */ stfs f1, 0x64(r1) +/* 800FFA40 000FC9A0 48 21 37 85 */ bl Scale__12CTransform4fFRC9CVector3f +/* 800FFA44 000FC9A4 38 61 00 68 */ addi r3, r1, 0x68 +/* 800FFA48 000FC9A8 38 81 01 14 */ addi r4, r1, 0x114 +/* 800FFA4C 000FC9AC 48 23 7B C1 */ bl GetCenterPoint__6CAABoxCFv +/* 800FFA50 000FC9B0 38 61 01 8C */ addi r3, r1, 0x18c +/* 800FFA54 000FC9B4 38 81 00 68 */ addi r4, r1, 0x68 +/* 800FFA58 000FC9B8 48 21 36 E9 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800FFA5C 000FC9BC 38 61 01 BC */ addi r3, r1, 0x1bc +/* 800FFA60 000FC9C0 38 81 01 8C */ addi r4, r1, 0x18c +/* 800FFA64 000FC9C4 38 A1 01 5C */ addi r5, r1, 0x15c +/* 800FFA68 000FC9C8 48 21 2E E9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800FFA6C 000FC9CC 38 61 02 1C */ addi r3, r1, 0x21c +/* 800FFA70 000FC9D0 38 81 01 BC */ addi r4, r1, 0x1bc +/* 800FFA74 000FC9D4 48 21 31 01 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800FFA78 000FC9D8 C0 22 93 D0 */ lfs f1, lbl_805AB0F0@sda21(r2) +/* 800FFA7C 000FC9DC 38 61 00 FC */ addi r3, r1, 0xfc +/* 800FFA80 000FC9E0 C0 02 93 C0 */ lfs f0, lbl_805AB0E0@sda21(r2) +/* 800FFA84 000FC9E4 38 81 00 44 */ addi r4, r1, 0x44 +/* 800FFA88 000FC9E8 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800FFA8C 000FC9EC 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800FFA90 000FC9F0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800FFA94 000FC9F4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800FFA98 000FC9F8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800FFA9C 000FC9FC D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800FFAA0 000FCA00 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800FFAA4 000FCA04 48 23 8A 65 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800FFAA8 000FCA08 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800FFAAC 000FCA0C 38 81 02 1C */ addi r4, r1, 0x21c +/* 800FFAB0 000FCA10 81 83 00 00 */ lwz r12, 0(r3) +/* 800FFAB4 000FCA14 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800FFAB8 000FCA18 7D 89 03 A6 */ mtctr r12 +/* 800FFABC 000FCA1C 4E 80 04 21 */ bctrl +/* 800FFAC0 000FCA20 48 24 A4 ED */ bl White__6CColorFv +/* 800FFAC4 000FCA24 7C 64 1B 78 */ mr r4, r3 +/* 800FFAC8 000FCA28 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800FFACC 000FCA2C 81 83 00 00 */ lwz r12, 0(r3) +/* 800FFAD0 000FCA30 81 8C 00 BC */ lwz r12, 0xbc(r12) +/* 800FFAD4 000FCA34 7D 89 03 A6 */ mtctr r12 +/* 800FFAD8 000FCA38 4E 80 04 21 */ bctrl +/* 800FFADC 000FCA3C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800FFAE0 000FCA40 38 9E 02 28 */ addi r4, r30, 0x228 +/* 800FFAE4 000FCA44 38 A1 00 FC */ addi r5, r1, 0xfc +/* 800FFAE8 000FCA48 38 C0 00 00 */ li r6, 0 +/* 800FFAEC 000FCA4C 81 83 00 00 */ lwz r12, 0(r3) +/* 800FFAF0 000FCA50 38 E0 00 00 */ li r7, 0 +/* 800FFAF4 000FCA54 81 8C 00 E4 */ lwz r12, 0xe4(r12) +/* 800FFAF8 000FCA58 7D 89 03 A6 */ mtctr r12 +/* 800FFAFC 000FCA5C 4E 80 04 21 */ bctrl +lbl_800FFB00: +/* 800FFB00 000FCA60 48 20 CE 7D */ bl DisableAllLights__9CGraphicsFv +lbl_800FFB04: +/* 800FFB04 000FCA64 7F C3 F3 78 */ mr r3, r30 +/* 800FFB08 000FCA68 7F E4 FB 78 */ mr r4, r31 +/* 800FFB0C 000FCA6C 4B F5 4C 99 */ bl Render__6CActorCFRC13CStateManager +/* 800FFB10 000FCA70 E3 E1 02 98 */ psq_l f31, 664(r1), 0, qr0 +/* 800FFB14 000FCA74 80 01 02 A4 */ lwz r0, 0x2a4(r1) +/* 800FFB18 000FCA78 CB E1 02 90 */ lfd f31, 0x290(r1) +/* 800FFB1C 000FCA7C 83 E1 02 8C */ lwz r31, 0x28c(r1) +/* 800FFB20 000FCA80 83 C1 02 88 */ lwz r30, 0x288(r1) +/* 800FFB24 000FCA84 83 A1 02 84 */ lwz r29, 0x284(r1) +/* 800FFB28 000FCA88 7C 08 03 A6 */ mtlr r0 +/* 800FFB2C 000FCA8C 38 21 02 A0 */ addi r1, r1, 0x2a0 +/* 800FFB30 000FCA90 4E 80 00 20 */ blr + +.global "__ct__Q24rstl33optional_object<14CRippleManager>FRC14CRippleManager" +"__ct__Q24rstl33optional_object<14CRippleManager>FRC14CRippleManager": +/* 800FFB34 000FCA94 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FFB38 000FCA98 7C 08 02 A6 */ mflr r0 +/* 800FFB3C 000FCA9C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FFB40 000FCAA0 38 00 00 01 */ li r0, 1 +/* 800FFB44 000FCAA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FFB48 000FCAA8 7C 7F 1B 78 */ mr r31, r3 +/* 800FFB4C 000FCAAC 98 03 00 18 */ stb r0, 0x18(r3) +/* 800FFB50 000FCAB0 48 00 00 1D */ bl sub_800ffb6c +/* 800FFB54 000FCAB4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FFB58 000FCAB8 7F E3 FB 78 */ mr r3, r31 +/* 800FFB5C 000FCABC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FFB60 000FCAC0 7C 08 03 A6 */ mtlr r0 +/* 800FFB64 000FCAC4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FFB68 000FCAC8 4E 80 00 20 */ blr + +.global sub_800ffb6c +sub_800ffb6c: +/* 800FFB6C 000FCACC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FFB70 000FCAD0 7C 08 02 A6 */ mflr r0 +/* 800FFB74 000FCAD4 28 03 00 00 */ cmplwi r3, 0 +/* 800FFB78 000FCAD8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FFB7C 000FCADC 41 82 00 08 */ beq lbl_800FFB84 +/* 800FFB80 000FCAE0 48 00 00 15 */ bl __ct__14CRippleManagerFRC14CRippleManager +lbl_800FFB84: +/* 800FFB84 000FCAE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FFB88 000FCAE8 7C 08 03 A6 */ mtlr r0 +/* 800FFB8C 000FCAEC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FFB90 000FCAF0 4E 80 00 20 */ blr + +.global __ct__14CRippleManagerFRC14CRippleManager +__ct__14CRippleManagerFRC14CRippleManager: +/* 800FFB94 000FCAF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FFB98 000FCAF8 7C 08 02 A6 */ mflr r0 +/* 800FFB9C 000FCAFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FFBA0 000FCB00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FFBA4 000FCB04 7C 9F 23 78 */ mr r31, r4 +/* 800FFBA8 000FCB08 93 C1 00 08 */ stw r30, 8(r1) +/* 800FFBAC 000FCB0C 7C 7E 1B 78 */ mr r30, r3 +/* 800FFBB0 000FCB10 38 7E 00 04 */ addi r3, r30, 4 +/* 800FFBB4 000FCB14 C0 04 00 00 */ lfs f0, 0(r4) +/* 800FFBB8 000FCB18 38 9F 00 04 */ addi r4, r31, 4 +/* 800FFBBC 000FCB1C D0 1E 00 00 */ stfs f0, 0(r30) +/* 800FFBC0 000FCB20 48 00 00 29 */ bl sub_800ffbe8 +/* 800FFBC4 000FCB24 C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 800FFBC8 000FCB28 7F C3 F3 78 */ mr r3, r30 +/* 800FFBCC 000FCB2C D0 1E 00 14 */ stfs f0, 0x14(r30) +/* 800FFBD0 000FCB30 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FFBD4 000FCB34 83 C1 00 08 */ lwz r30, 8(r1) +/* 800FFBD8 000FCB38 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FFBDC 000FCB3C 7C 08 03 A6 */ mtlr r0 +/* 800FFBE0 000FCB40 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FFBE4 000FCB44 4E 80 00 20 */ blr + +.global sub_800ffbe8 +sub_800ffbe8: +/* 800FFBE8 000FCB48 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800FFBEC 000FCB4C 7C 08 02 A6 */ mflr r0 +/* 800FFBF0 000FCB50 90 01 00 14 */ stw r0, 0x14(r1) +/* 800FFBF4 000FCB54 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800FFBF8 000FCB58 7C 9F 23 78 */ mr r31, r4 +/* 800FFBFC 000FCB5C 93 C1 00 08 */ stw r30, 8(r1) +/* 800FFC00 000FCB60 7C 7E 1B 78 */ mr r30, r3 +/* 800FFC04 000FCB64 80 04 00 04 */ lwz r0, 4(r4) +/* 800FFC08 000FCB68 90 03 00 04 */ stw r0, 4(r3) +/* 800FFC0C 000FCB6C 80 04 00 08 */ lwz r0, 8(r4) +/* 800FFC10 000FCB70 90 03 00 08 */ stw r0, 8(r3) +/* 800FFC14 000FCB74 80 04 00 04 */ lwz r0, 4(r4) +/* 800FFC18 000FCB78 2C 00 00 00 */ cmpwi r0, 0 +/* 800FFC1C 000FCB7C 40 82 00 1C */ bne lbl_800FFC38 +/* 800FFC20 000FCB80 80 1F 00 08 */ lwz r0, 8(r31) +/* 800FFC24 000FCB84 2C 00 00 00 */ cmpwi r0, 0 +/* 800FFC28 000FCB88 40 82 00 10 */ bne lbl_800FFC38 +/* 800FFC2C 000FCB8C 38 00 00 00 */ li r0, 0 +/* 800FFC30 000FCB90 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800FFC34 000FCB94 48 00 00 40 */ b lbl_800FFC74 +lbl_800FFC38: +/* 800FFC38 000FCB98 80 1E 00 08 */ lwz r0, 8(r30) +/* 800FFC3C 000FCB9C 54 03 30 33 */ rlwinm. r3, r0, 6, 0, 0x19 +/* 800FFC40 000FCBA0 40 82 00 10 */ bne lbl_800FFC50 +/* 800FFC44 000FCBA4 38 00 00 00 */ li r0, 0 +/* 800FFC48 000FCBA8 90 1E 00 0C */ stw r0, 0xc(r30) +/* 800FFC4C 000FCBAC 48 00 00 18 */ b lbl_800FFC64 +lbl_800FFC50: +/* 800FFC50 000FCBB0 3C 80 80 3D */ lis r4, lbl_803CEE38@ha +/* 800FFC54 000FCBB4 38 A0 00 00 */ li r5, 0 +/* 800FFC58 000FCBB8 38 84 EE 38 */ addi r4, r4, lbl_803CEE38@l +/* 800FFC5C 000FCBBC 48 21 5B BD */ bl __nwa__FUlPCcPCc +/* 800FFC60 000FCBC0 90 7E 00 0C */ stw r3, 0xc(r30) +lbl_800FFC64: +/* 800FFC64 000FCBC4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800FFC68 000FCBC8 80 9E 00 04 */ lwz r4, 4(r30) +/* 800FFC6C 000FCBCC 80 BE 00 0C */ lwz r5, 0xc(r30) +/* 800FFC70 000FCBD0 48 00 00 21 */ bl sub_800ffc90 +lbl_800FFC74: +/* 800FFC74 000FCBD4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800FFC78 000FCBD8 7F C3 F3 78 */ mr r3, r30 +/* 800FFC7C 000FCBDC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800FFC80 000FCBE0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800FFC84 000FCBE4 7C 08 03 A6 */ mtlr r0 +/* 800FFC88 000FCBE8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800FFC8C 000FCBEC 4E 80 00 20 */ blr + +.global sub_800ffc90 +sub_800ffc90: +/* 800FFC90 000FCBF0 7C 89 03 A6 */ mtctr r4 +/* 800FFC94 000FCBF4 2C 04 00 00 */ cmpwi r4, 0 +/* 800FFC98 000FCBF8 40 81 00 98 */ ble lbl_800FFD30 +lbl_800FFC9C: +/* 800FFC9C 000FCBFC 28 05 00 00 */ cmplwi r5, 0 +/* 800FFCA0 000FCC00 41 82 00 84 */ beq lbl_800FFD24 +/* 800FFCA4 000FCC04 A0 03 00 00 */ lhz r0, 0(r3) +/* 800FFCA8 000FCC08 B0 05 00 00 */ sth r0, 0(r5) +/* 800FFCAC 000FCC0C C0 03 00 04 */ lfs f0, 4(r3) +/* 800FFCB0 000FCC10 D0 05 00 04 */ stfs f0, 4(r5) +/* 800FFCB4 000FCC14 C0 03 00 08 */ lfs f0, 8(r3) +/* 800FFCB8 000FCC18 D0 05 00 08 */ stfs f0, 8(r5) +/* 800FFCBC 000FCC1C C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800FFCC0 000FCC20 D0 05 00 0C */ stfs f0, 0xc(r5) +/* 800FFCC4 000FCC24 C0 03 00 10 */ lfs f0, 0x10(r3) +/* 800FFCC8 000FCC28 D0 05 00 10 */ stfs f0, 0x10(r5) +/* 800FFCCC 000FCC2C C0 03 00 14 */ lfs f0, 0x14(r3) +/* 800FFCD0 000FCC30 D0 05 00 14 */ stfs f0, 0x14(r5) +/* 800FFCD4 000FCC34 C0 03 00 18 */ lfs f0, 0x18(r3) +/* 800FFCD8 000FCC38 D0 05 00 18 */ stfs f0, 0x18(r5) +/* 800FFCDC 000FCC3C C0 03 00 1C */ lfs f0, 0x1c(r3) +/* 800FFCE0 000FCC40 D0 05 00 1C */ stfs f0, 0x1c(r5) +/* 800FFCE4 000FCC44 C0 03 00 20 */ lfs f0, 0x20(r3) +/* 800FFCE8 000FCC48 D0 05 00 20 */ stfs f0, 0x20(r5) +/* 800FFCEC 000FCC4C C0 03 00 24 */ lfs f0, 0x24(r3) +/* 800FFCF0 000FCC50 D0 05 00 24 */ stfs f0, 0x24(r5) +/* 800FFCF4 000FCC54 C0 03 00 28 */ lfs f0, 0x28(r3) +/* 800FFCF8 000FCC58 D0 05 00 28 */ stfs f0, 0x28(r5) +/* 800FFCFC 000FCC5C C0 03 00 2C */ lfs f0, 0x2c(r3) +/* 800FFD00 000FCC60 D0 05 00 2C */ stfs f0, 0x2c(r5) +/* 800FFD04 000FCC64 C0 03 00 30 */ lfs f0, 0x30(r3) +/* 800FFD08 000FCC68 D0 05 00 30 */ stfs f0, 0x30(r5) +/* 800FFD0C 000FCC6C C0 03 00 34 */ lfs f0, 0x34(r3) +/* 800FFD10 000FCC70 D0 05 00 34 */ stfs f0, 0x34(r5) +/* 800FFD14 000FCC74 C0 03 00 38 */ lfs f0, 0x38(r3) +/* 800FFD18 000FCC78 D0 05 00 38 */ stfs f0, 0x38(r5) +/* 800FFD1C 000FCC7C 80 03 00 3C */ lwz r0, 0x3c(r3) +/* 800FFD20 000FCC80 90 05 00 3C */ stw r0, 0x3c(r5) +lbl_800FFD24: +/* 800FFD24 000FCC84 38 A5 00 40 */ addi r5, r5, 0x40 +/* 800FFD28 000FCC88 38 63 00 40 */ addi r3, r3, 0x40 +/* 800FFD2C 000FCC8C 42 00 FF 70 */ bdnz lbl_800FFC9C +lbl_800FFD30: +/* 800FFD30 000FCC90 7C A3 2B 78 */ mr r3, r5 +/* 800FFD34 000FCC94 4E 80 00 20 */ blr + +.global PreRender__12CScriptWaterFR13CStateManagerRC14CFrustumPlanes +PreRender__12CScriptWaterFR13CStateManagerRC14CFrustumPlanes: +/* 800FFD38 000FCC98 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800FFD3C 000FCC9C 7C 08 02 A6 */ mflr r0 +/* 800FFD40 000FCCA0 90 01 00 84 */ stw r0, 0x84(r1) +/* 800FFD44 000FCCA4 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 800FFD48 000FCCA8 7C 7D 1B 78 */ mr r29, r3 +/* 800FFD4C 000FCCAC 7C 9E 23 78 */ mr r30, r4 +/* 800FFD50 000FCCB0 7C BF 2B 78 */ mr r31, r5 +/* 800FFD54 000FCCB4 88 03 02 E8 */ lbz r0, 0x2e8(r3) +/* 800FFD58 000FCCB8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800FFD5C 000FCCBC 41 82 01 C0 */ beq lbl_800FFF1C +/* 800FFD60 000FCCC0 7F A4 EB 78 */ mr r4, r29 +/* 800FFD64 000FCCC4 7F C5 F3 78 */ mr r5, r30 +/* 800FFD68 000FCCC8 81 9D 00 00 */ lwz r12, 0(r29) +/* 800FFD6C 000FCCCC 38 61 00 48 */ addi r3, r1, 0x48 +/* 800FFD70 000FCCD0 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800FFD74 000FCCD4 7D 89 03 A6 */ mtctr r12 +/* 800FFD78 000FCCD8 4E 80 04 21 */ bctrl +/* 800FFD7C 000FCCDC 7F E3 FB 78 */ mr r3, r31 +/* 800FFD80 000FCCE0 38 81 00 48 */ addi r4, r1, 0x48 +/* 800FFD84 000FCCE4 48 24 54 4D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox +/* 800FFD88 000FCCE8 54 63 06 3E */ clrlwi r3, r3, 0x18 +/* 800FFD8C 000FCCEC 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800FFD90 000FCCF0 7C 63 00 34 */ cntlzw r3, r3 +/* 800FFD94 000FCCF4 50 60 E7 BC */ rlwimi r0, r3, 0x1c, 0x1e, 0x1e +/* 800FFD98 000FCCF8 98 1D 00 E4 */ stb r0, 0xe4(r29) +/* 800FFD9C 000FCCFC 88 7D 00 E4 */ lbz r3, 0xe4(r29) +/* 800FFDA0 000FCD00 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 800FFDA4 000FCD04 40 82 01 88 */ bne lbl_800FFF2C +/* 800FFDA8 000FCD08 80 BD 00 04 */ lwz r5, 4(r29) +/* 800FFDAC 000FCD0C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800FFDB0 000FCD10 7C 05 00 00 */ cmpw r5, r0 +/* 800FFDB4 000FCD14 41 82 00 A8 */ beq lbl_800FFE5C +/* 800FFDB8 000FCD18 83 7D 00 90 */ lwz r27, 0x90(r29) +/* 800FFDBC 000FCD1C 80 1B 02 B8 */ lwz r0, 0x2b8(r27) +/* 800FFDC0 000FCD20 28 00 00 00 */ cmplwi r0, 0 +/* 800FFDC4 000FCD24 41 82 00 78 */ beq lbl_800FFE3C +/* 800FFDC8 000FCD28 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 800FFDCC 000FCD2C 40 82 00 10 */ bne lbl_800FFDDC +/* 800FFDD0 000FCD30 88 1B 02 98 */ lbz r0, 0x298(r27) +/* 800FFDD4 000FCD34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FFDD8 000FCD38 41 82 00 64 */ beq lbl_800FFE3C +lbl_800FFDDC: +/* 800FFDDC 000FCD3C 80 9E 08 50 */ lwz r4, 0x850(r30) +/* 800FFDE0 000FCD40 54 A3 18 38 */ slwi r3, r5, 3 +/* 800FFDE4 000FCD44 38 03 00 04 */ addi r0, r3, 4 +/* 800FFDE8 000FCD48 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800FFDEC 000FCD4C 80 64 00 20 */ lwz r3, 0x20(r4) +/* 800FFDF0 000FCD50 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800FFDF4 000FCD54 7F 83 00 2E */ lwzx r28, r3, r0 +/* 800FFDF8 000FCD58 88 1C 00 F0 */ lbz r0, 0xf0(r28) +/* 800FFDFC 000FCD5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800FFE00 000FCD60 41 82 00 3C */ beq lbl_800FFE3C +/* 800FFE04 000FCD64 90 A1 00 08 */ stw r5, 8(r1) +/* 800FFE08 000FCD68 7F A4 EB 78 */ mr r4, r29 +/* 800FFE0C 000FCD6C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800FFE10 000FCD70 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800FFE14 000FCD74 4B F7 68 B9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800FFE18 000FCD78 7F 63 DB 78 */ mr r3, r27 +/* 800FFE1C 000FCD7C 7F C4 F3 78 */ mr r4, r30 +/* 800FFE20 000FCD80 7F 85 E3 78 */ mr r5, r28 +/* 800FFE24 000FCD84 38 C1 00 30 */ addi r6, r1, 0x30 +/* 800FFE28 000FCD88 48 00 3F 99 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox +/* 800FFE2C 000FCD8C 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800FFE30 000FCD90 38 60 00 00 */ li r3, 0 +/* 800FFE34 000FCD94 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800FFE38 000FCD98 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_800FFE3C: +/* 800FFE3C 000FCD9C 83 9D 00 90 */ lwz r28, 0x90(r29) +/* 800FFE40 000FCDA0 7F A4 EB 78 */ mr r4, r29 +/* 800FFE44 000FCDA4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800FFE48 000FCDA8 4B F7 68 85 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 800FFE4C 000FCDAC 7F 83 E3 78 */ mr r3, r28 +/* 800FFE50 000FCDB0 7F C4 F3 78 */ mr r4, r30 +/* 800FFE54 000FCDB4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800FFE58 000FCDB8 48 00 38 B9 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox +lbl_800FFE5C: +/* 800FFE5C 000FCDBC 38 1D 01 50 */ addi r0, r29, 0x150 +/* 800FFE60 000FCDC0 7C 00 F8 40 */ cmplw r0, r31 +/* 800FFE64 000FCDC4 41 82 00 C8 */ beq lbl_800FFF2C +/* 800FFE68 000FCDC8 80 BD 01 50 */ lwz r5, 0x150(r29) +/* 800FFE6C 000FCDCC 38 DD 01 54 */ addi r6, r29, 0x154 +/* 800FFE70 000FCDD0 38 60 00 00 */ li r3, 0 +/* 800FFE74 000FCDD4 2C 05 00 00 */ cmpwi r5, 0 +/* 800FFE78 000FCDD8 40 81 00 40 */ ble lbl_800FFEB8 +/* 800FFE7C 000FCDDC 2C 05 00 08 */ cmpwi r5, 8 +/* 800FFE80 000FCDE0 38 85 FF F8 */ addi r4, r5, -8 +/* 800FFE84 000FCDE4 40 81 00 20 */ ble lbl_800FFEA4 +/* 800FFE88 000FCDE8 38 04 00 07 */ addi r0, r4, 7 +/* 800FFE8C 000FCDEC 54 00 E8 FE */ srwi r0, r0, 3 +/* 800FFE90 000FCDF0 7C 09 03 A6 */ mtctr r0 +/* 800FFE94 000FCDF4 2C 04 00 00 */ cmpwi r4, 0 +/* 800FFE98 000FCDF8 40 81 00 0C */ ble lbl_800FFEA4 +lbl_800FFE9C: +/* 800FFE9C 000FCDFC 38 63 00 08 */ addi r3, r3, 8 +/* 800FFEA0 000FCE00 42 00 FF FC */ bdnz lbl_800FFE9C +lbl_800FFEA4: +/* 800FFEA4 000FCE04 7C 03 28 50 */ subf r0, r3, r5 +/* 800FFEA8 000FCE08 7C 09 03 A6 */ mtctr r0 +/* 800FFEAC 000FCE0C 7C 03 28 00 */ cmpw r3, r5 +/* 800FFEB0 000FCE10 40 80 00 08 */ bge lbl_800FFEB8 +lbl_800FFEB4: +/* 800FFEB4 000FCE14 42 00 00 00 */ bdnz lbl_800FFEB4 +lbl_800FFEB8: +/* 800FFEB8 000FCE18 38 00 00 00 */ li r0, 0 +/* 800FFEBC 000FCE1C 38 7F 00 04 */ addi r3, r31, 4 +/* 800FFEC0 000FCE20 90 1D 01 50 */ stw r0, 0x150(r29) +/* 800FFEC4 000FCE24 80 1F 00 00 */ lwz r0, 0(r31) +/* 800FFEC8 000FCE28 54 00 20 36 */ slwi r0, r0, 4 +/* 800FFECC 000FCE2C 7C 9F 02 14 */ add r4, r31, r0 +/* 800FFED0 000FCE30 38 84 00 04 */ addi r4, r4, 4 +/* 800FFED4 000FCE34 48 00 00 34 */ b lbl_800FFF08 +lbl_800FFED8: +/* 800FFED8 000FCE38 28 06 00 00 */ cmplwi r6, 0 +/* 800FFEDC 000FCE3C 41 82 00 24 */ beq lbl_800FFF00 +/* 800FFEE0 000FCE40 C0 03 00 00 */ lfs f0, 0(r3) +/* 800FFEE4 000FCE44 D0 06 00 00 */ stfs f0, 0(r6) +/* 800FFEE8 000FCE48 C0 03 00 04 */ lfs f0, 4(r3) +/* 800FFEEC 000FCE4C D0 06 00 04 */ stfs f0, 4(r6) +/* 800FFEF0 000FCE50 C0 03 00 08 */ lfs f0, 8(r3) +/* 800FFEF4 000FCE54 D0 06 00 08 */ stfs f0, 8(r6) +/* 800FFEF8 000FCE58 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800FFEFC 000FCE5C D0 06 00 0C */ stfs f0, 0xc(r6) +lbl_800FFF00: +/* 800FFF00 000FCE60 38 C6 00 10 */ addi r6, r6, 0x10 +/* 800FFF04 000FCE64 38 63 00 10 */ addi r3, r3, 0x10 +lbl_800FFF08: +/* 800FFF08 000FCE68 7C 03 20 40 */ cmplw r3, r4 +/* 800FFF0C 000FCE6C 40 82 FF CC */ bne lbl_800FFED8 +/* 800FFF10 000FCE70 80 1F 00 00 */ lwz r0, 0(r31) +/* 800FFF14 000FCE74 90 1D 01 50 */ stw r0, 0x150(r29) +/* 800FFF18 000FCE78 48 00 00 14 */ b lbl_800FFF2C +lbl_800FFF1C: +/* 800FFF1C 000FCE7C 88 1D 00 E4 */ lbz r0, 0xe4(r29) +/* 800FFF20 000FCE80 38 60 00 01 */ li r3, 1 +/* 800FFF24 000FCE84 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 800FFF28 000FCE88 98 1D 00 E4 */ stb r0, 0xe4(r29) +lbl_800FFF2C: +/* 800FFF2C 000FCE8C BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 800FFF30 000FCE90 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800FFF34 000FCE94 7C 08 03 A6 */ mtlr r0 +/* 800FFF38 000FCE98 38 21 00 80 */ addi r1, r1, 0x80 +/* 800FFF3C 000FCE9C 4E 80 00 20 */ blr + +.global AddToRenderer__12CScriptWaterCFRC14CFrustumPlanesRC13CStateManager +AddToRenderer__12CScriptWaterCFRC14CFrustumPlanesRC13CStateManager: +/* 800FFF40 000FCEA0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800FFF44 000FCEA4 7C 08 02 A6 */ mflr r0 +/* 800FFF48 000FCEA8 90 01 00 74 */ stw r0, 0x74(r1) +/* 800FFF4C 000FCEAC DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800FFF50 000FCEB0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800FFF54 000FCEB4 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800FFF58 000FCEB8 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 800FFF5C 000FCEBC 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800FFF60 000FCEC0 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800FFF64 000FCEC4 88 03 00 E4 */ lbz r0, 0xe4(r3) +/* 800FFF68 000FCEC8 7C 7E 1B 78 */ mr r30, r3 +/* 800FFF6C 000FCECC 7C BF 2B 78 */ mr r31, r5 +/* 800FFF70 000FCED0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800FFF74 000FCED4 40 82 00 8C */ bne lbl_80100000 +/* 800FFF78 000FCED8 C0 22 93 BC */ lfs f1, lbl_805AB0DC@sda21(r2) +/* 800FFF7C 000FCEDC 38 61 00 08 */ addi r3, r1, 8 +/* 800FFF80 000FCEE0 C3 FE 00 60 */ lfs f31, 0x60(r30) +/* 800FFF84 000FCEE4 C0 7E 00 50 */ lfs f3, 0x50(r30) +/* 800FFF88 000FCEE8 C0 5E 00 40 */ lfs f2, 0x40(r30) +/* 800FFF8C 000FCEEC C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) +/* 800FFF90 000FCEF0 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 800FFF94 000FCEF4 C3 DE 01 44 */ lfs f30, 0x144(r30) +/* 800FFF98 000FCEF8 D0 61 00 28 */ stfs f3, 0x28(r1) +/* 800FFF9C 000FCEFC D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 800FFFA0 000FCF00 D0 21 00 08 */ stfs f1, 8(r1) +/* 800FFFA4 000FCF04 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800FFFA8 000FCF08 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800FFFAC 000FCF0C 48 21 49 4D */ bl Normalize__9CVector3fFv +/* 800FFFB0 000FCF10 EC 1E F8 2A */ fadds f0, f30, f31 +/* 800FFFB4 000FCF14 C0 61 00 08 */ lfs f3, 8(r1) +/* 800FFFB8 000FCF18 C0 41 00 0C */ lfs f2, 0xc(r1) +/* 800FFFBC 000FCF1C 7F C4 F3 78 */ mr r4, r30 +/* 800FFFC0 000FCF20 C0 21 00 10 */ lfs f1, 0x10(r1) +/* 800FFFC4 000FCF24 7F E5 FB 78 */ mr r5, r31 +/* 800FFFC8 000FCF28 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 800FFFCC 000FCF2C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800FFFD0 000FCF30 D0 41 00 18 */ stfs f2, 0x18(r1) +/* 800FFFD4 000FCF34 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800FFFD8 000FCF38 D0 01 00 20 */ stfs f0, 0x20(r1) +/* 800FFFDC 000FCF3C 81 9E 00 00 */ lwz r12, 0(r30) +/* 800FFFE0 000FCF40 81 8C 00 64 */ lwz r12, 0x64(r12) +/* 800FFFE4 000FCF44 7D 89 03 A6 */ mtctr r12 +/* 800FFFE8 000FCF48 4E 80 04 21 */ bctrl +/* 800FFFEC 000FCF4C 7F E3 FB 78 */ mr r3, r31 +/* 800FFFF0 000FCF50 7F C4 F3 78 */ mr r4, r30 +/* 800FFFF4 000FCF54 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800FFFF8 000FCF58 38 C1 00 30 */ addi r6, r1, 0x30 +/* 800FFFFC 000FCF5C 4B F4 49 29 */ bl AddDrawableActorPlane__13CStateManagerCFRC6CActorRC6CPlaneRC6CAABox +lbl_80100000: +/* 80100000 000FCF60 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 80100004 000FCF64 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 80100008 000FCF68 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 8010000C 000FCF6C CB C1 00 50 */ lfd f30, 0x50(r1) +/* 80100010 000FCF70 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 80100014 000FCF74 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80100018 000FCF78 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 8010001C 000FCF7C 7C 08 03 A6 */ mtlr r0 +/* 80100020 000FCF80 38 21 00 70 */ addi r1, r1, 0x70 +/* 80100024 000FCF84 4E 80 00 20 */ blr + +.global GetRenderBounds__12CScriptWaterCFRC12CTransform4f +GetRenderBounds__12CScriptWaterCFRC12CTransform4f: +/* 80100028 000FCF88 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 8010002C 000FCF8C 7C 08 02 A6 */ mflr r0 +/* 80100030 000FCF90 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) +/* 80100034 000FCF94 38 A4 00 9C */ addi r5, r4, 0x9c +/* 80100038 000FCF98 90 01 00 24 */ stw r0, 0x24(r1) +/* 8010003C 000FCF9C C0 64 00 B0 */ lfs f3, 0xb0(r4) +/* 80100040 000FCFA0 C0 A4 00 A8 */ lfs f5, 0xa8(r4) +/* 80100044 000FCFA4 EC 03 00 28 */ fsubs f0, f3, f0 +/* 80100048 000FCFA8 C0 24 02 14 */ lfs f1, 0x214(r4) +/* 8010004C 000FCFAC C0 84 00 AC */ lfs f4, 0xac(r4) +/* 80100050 000FCFB0 C0 44 02 18 */ lfs f2, 0x218(r4) +/* 80100054 000FCFB4 EC 01 00 2A */ fadds f0, f1, f0 +/* 80100058 000FCFB8 D0 A1 00 08 */ stfs f5, 8(r1) +/* 8010005C 000FCFBC D0 81 00 0C */ stfs f4, 0xc(r1) +/* 80100060 000FCFC0 EC 02 00 2A */ fadds f0, f2, f0 +/* 80100064 000FCFC4 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80100068 000FCFC8 FC 00 18 40 */ fcmpo cr0, f0, f3 +/* 8010006C 000FCFCC 40 81 00 08 */ ble lbl_80100074 +/* 80100070 000FCFD0 D0 01 00 10 */ stfs f0, 0x10(r1) +lbl_80100074: +/* 80100074 000FCFD4 7C A4 2B 78 */ mr r4, r5 +/* 80100078 000FCFD8 38 A1 00 08 */ addi r5, r1, 8 +/* 8010007C 000FCFDC 48 23 84 8D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80100080 000FCFE0 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80100084 000FCFE4 7C 08 03 A6 */ mtlr r0 +/* 80100088 000FCFE8 38 21 00 20 */ addi r1, r1, 0x20 +/* 8010008C 000FCFEC 4E 80 00 20 */ blr + +.global CalculateRenderBounds__12CScriptWaterFv +CalculateRenderBounds__12CScriptWaterFv: +/* 80100090 000FCFF0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 80100094 000FCFF4 7C 08 02 A6 */ mflr r0 +/* 80100098 000FCFF8 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) +/* 8010009C 000FCFFC 90 01 00 64 */ stw r0, 0x64(r1) +/* 801000A0 000FD000 38 81 00 2C */ addi r4, r1, 0x2c +/* 801000A4 000FD004 38 A1 00 14 */ addi r5, r1, 0x14 +/* 801000A8 000FD008 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 801000AC 000FD00C 7C 7F 1B 78 */ mr r31, r3 +/* 801000B0 000FD010 C0 23 01 44 */ lfs f1, 0x144(r3) +/* 801000B4 000FD014 38 61 00 38 */ addi r3, r1, 0x38 +/* 801000B8 000FD018 C1 1F 01 40 */ lfs f8, 0x140(r31) +/* 801000BC 000FD01C EC 60 08 2A */ fadds f3, f0, f1 +/* 801000C0 000FD020 C0 FF 00 60 */ lfs f7, 0x60(r31) +/* 801000C4 000FD024 EC 21 00 28 */ fsubs f1, f1, f0 +/* 801000C8 000FD028 C0 BF 00 50 */ lfs f5, 0x50(r31) +/* 801000CC 000FD02C C0 1F 01 3C */ lfs f0, 0x13c(r31) +/* 801000D0 000FD030 C0 DF 00 40 */ lfs f6, 0x40(r31) +/* 801000D4 000FD034 EC 88 28 2A */ fadds f4, f8, f5 +/* 801000D8 000FD038 D0 01 00 08 */ stfs f0, 8(r1) +/* 801000DC 000FD03C EC 43 38 2A */ fadds f2, f3, f7 +/* 801000E0 000FD040 EC 00 30 2A */ fadds f0, f0, f6 +/* 801000E4 000FD044 D1 01 00 0C */ stfs f8, 0xc(r1) +/* 801000E8 000FD048 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 801000EC 000FD04C EC 81 38 2A */ fadds f4, f1, f7 +/* 801000F0 000FD050 D0 01 00 14 */ stfs f0, 0x14(r1) +/* 801000F4 000FD054 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 801000F8 000FD058 C0 FF 01 34 */ lfs f7, 0x134(r31) +/* 801000FC 000FD05C C0 5F 01 30 */ lfs f2, 0x130(r31) +/* 80100100 000FD060 EC A7 28 2A */ fadds f5, f7, f5 +/* 80100104 000FD064 D0 61 00 10 */ stfs f3, 0x10(r1) +/* 80100108 000FD068 EC 02 30 2A */ fadds f0, f2, f6 +/* 8010010C 000FD06C D0 41 00 20 */ stfs f2, 0x20(r1) +/* 80100110 000FD070 D0 E1 00 24 */ stfs f7, 0x24(r1) +/* 80100114 000FD074 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 80100118 000FD078 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8010011C 000FD07C D0 A1 00 30 */ stfs f5, 0x30(r1) +/* 80100120 000FD080 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80100124 000FD084 48 23 83 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80100128 000FD088 80 61 00 38 */ lwz r3, 0x38(r1) +/* 8010012C 000FD08C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 80100130 000FD090 90 7F 00 9C */ stw r3, 0x9c(r31) +/* 80100134 000FD094 90 1F 00 A0 */ stw r0, 0xa0(r31) +/* 80100138 000FD098 80 01 00 40 */ lwz r0, 0x40(r1) +/* 8010013C 000FD09C 90 1F 00 A4 */ stw r0, 0xa4(r31) +/* 80100140 000FD0A0 80 61 00 44 */ lwz r3, 0x44(r1) +/* 80100144 000FD0A4 80 01 00 48 */ lwz r0, 0x48(r1) +/* 80100148 000FD0A8 90 7F 00 A8 */ stw r3, 0xa8(r31) +/* 8010014C 000FD0AC 90 1F 00 AC */ stw r0, 0xac(r31) +/* 80100150 000FD0B0 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 80100154 000FD0B4 90 1F 00 B0 */ stw r0, 0xb0(r31) +/* 80100158 000FD0B8 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 8010015C 000FD0BC 80 01 00 64 */ lwz r0, 0x64(r1) +/* 80100160 000FD0C0 7C 08 03 A6 */ mtlr r0 +/* 80100164 000FD0C4 38 21 00 60 */ addi r1, r1, 0x60 +/* 80100168 000FD0C8 4E 80 00 20 */ blr + +.global Accept__12CScriptWaterFR8IVisitor +Accept__12CScriptWaterFR8IVisitor: +/* 8010016C 000FD0CC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80100170 000FD0D0 7C 08 02 A6 */ mflr r0 +/* 80100174 000FD0D4 90 01 00 14 */ stw r0, 0x14(r1) +/* 80100178 000FD0D8 7C 60 1B 78 */ mr r0, r3 +/* 8010017C 000FD0DC 7C 83 23 78 */ mr r3, r4 +/* 80100180 000FD0E0 81 84 00 00 */ lwz r12, 0(r4) +/* 80100184 000FD0E4 7C 04 03 78 */ mr r4, r0 +/* 80100188 000FD0E8 81 8C 00 D4 */ lwz r12, 0xd4(r12) +/* 8010018C 000FD0EC 7D 89 03 A6 */ mtctr r12 +/* 80100190 000FD0F0 4E 80 04 21 */ bctrl +/* 80100194 000FD0F4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80100198 000FD0F8 7C 08 03 A6 */ mtlr r0 +/* 8010019C 000FD0FC 38 21 00 10 */ addi r1, r1, 0x10 +/* 801001A0 000FD100 4E 80 00 20 */ blr + +.global Think__12CScriptWaterFfR13CStateManager +Think__12CScriptWaterFfR13CStateManager: +/* 801001A4 000FD104 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 801001A8 000FD108 7C 08 02 A6 */ mflr r0 +/* 801001AC 000FD10C 90 01 00 94 */ stw r0, 0x94(r1) +/* 801001B0 000FD110 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 801001B4 000FD114 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 801001B8 000FD118 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 801001BC 000FD11C 93 C1 00 78 */ stw r30, 0x78(r1) +/* 801001C0 000FD120 93 A1 00 74 */ stw r29, 0x74(r1) +/* 801001C4 000FD124 88 03 00 30 */ lbz r0, 0x30(r3) +/* 801001C8 000FD128 FF E0 08 90 */ fmr f31, f1 +/* 801001CC 000FD12C 7C 7E 1B 78 */ mr r30, r3 +/* 801001D0 000FD130 7C 9F 23 78 */ mr r31, r4 +/* 801001D4 000FD134 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801001D8 000FD138 41 82 03 D0 */ beq lbl_801005A8 +/* 801001DC 000FD13C 88 1E 01 48 */ lbz r0, 0x148(r30) +/* 801001E0 000FD140 54 1D D7 FE */ rlwinm r29, r0, 0x1a, 0x1f, 0x1f +/* 801001E4 000FD144 4B F7 62 E9 */ bl Think__14CScriptTriggerFfR13CStateManager +/* 801001E8 000FD148 80 7F 08 70 */ lwz r3, 0x870(r31) +/* 801001EC 000FD14C 7F E4 FB 78 */ mr r4, r31 +/* 801001F0 000FD150 4B F0 B9 71 */ bl GetCurrentCamera__14CCameraManagerFR13CStateManager +/* 801001F4 000FD154 88 1E 01 48 */ lbz r0, 0x148(r30) +/* 801001F8 000FD158 7C 64 1B 78 */ mr r4, r3 +/* 801001FC 000FD15C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80100200 000FD160 41 82 00 2C */ beq lbl_8010022C +/* 80100204 000FD164 28 1D 00 00 */ cmplwi r29, 0 +/* 80100208 000FD168 40 82 00 24 */ bne lbl_8010022C +/* 8010020C 000FD16C A0 1E 00 08 */ lhz r0, 8(r30) +/* 80100210 000FD170 7F E3 FB 78 */ mr r3, r31 +/* 80100214 000FD174 38 A1 00 14 */ addi r5, r1, 0x14 +/* 80100218 000FD178 38 C0 00 25 */ li r6, 0x25 +/* 8010021C 000FD17C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80100220 000FD180 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80100224 000FD184 4B F4 3C AD */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80100228 000FD188 48 00 00 30 */ b lbl_80100258 +lbl_8010022C: +/* 8010022C 000FD18C 28 00 00 00 */ cmplwi r0, 0 +/* 80100230 000FD190 40 82 00 28 */ bne lbl_80100258 +/* 80100234 000FD194 28 1D 00 00 */ cmplwi r29, 0 +/* 80100238 000FD198 41 82 00 20 */ beq lbl_80100258 +/* 8010023C 000FD19C A0 1E 00 08 */ lhz r0, 8(r30) +/* 80100240 000FD1A0 7F E3 FB 78 */ mr r3, r31 +/* 80100244 000FD1A4 38 A1 00 0C */ addi r5, r1, 0xc +/* 80100248 000FD1A8 38 C0 00 27 */ li r6, 0x27 +/* 8010024C 000FD1AC B0 01 00 08 */ sth r0, 8(r1) +/* 80100250 000FD1B0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80100254 000FD1B4 4B F4 3C 7D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80100258: +/* 80100258 000FD1B8 7F C3 F3 78 */ mr r3, r30 +/* 8010025C 000FD1BC 7F E4 FB 78 */ mr r4, r31 +/* 80100260 000FD1C0 48 00 03 6D */ bl UpdateSplashInhabitants__12CScriptWaterFR13CStateManager +/* 80100264 000FD1C4 88 7E 02 E8 */ lbz r3, 0x2e8(r30) +/* 80100268 000FD1C8 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f +/* 8010026C 000FD1CC 41 82 00 84 */ beq lbl_801002F0 +/* 80100270 000FD1D0 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 80100274 000FD1D4 C0 7E 02 B8 */ lfs f3, 0x2b8(r30) +/* 80100278 000FD1D8 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 8010027C 000FD1DC C0 3E 02 BC */ lfs f1, 0x2bc(r30) +/* 80100280 000FD1E0 EC 5F 00 32 */ fmuls f2, f31, f0 +/* 80100284 000FD1E4 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) +/* 80100288 000FD1E8 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 +/* 8010028C 000FD1EC D0 3E 02 BC */ stfs f1, 0x2bc(r30) +/* 80100290 000FD1F0 C0 3E 02 1C */ lfs f1, 0x21c(r30) +/* 80100294 000FD1F4 C0 7E 02 B8 */ lfs f3, 0x2b8(r30) +/* 80100298 000FD1F8 EC 5F 00 72 */ fmuls f2, f31, f1 +/* 8010029C 000FD1FC C0 3E 02 14 */ lfs f1, 0x214(r30) +/* 801002A0 000FD200 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 +/* 801002A4 000FD204 D0 3E 02 14 */ stfs f1, 0x214(r30) +/* 801002A8 000FD208 C0 3E 02 20 */ lfs f1, 0x220(r30) +/* 801002AC 000FD20C C0 7E 02 B8 */ lfs f3, 0x2b8(r30) +/* 801002B0 000FD210 EC 5F 00 72 */ fmuls f2, f31, f1 +/* 801002B4 000FD214 C0 3E 02 18 */ lfs f1, 0x218(r30) +/* 801002B8 000FD218 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 +/* 801002BC 000FD21C D0 3E 02 18 */ stfs f1, 0x218(r30) +/* 801002C0 000FD220 C0 3E 02 BC */ lfs f1, 0x2bc(r30) +/* 801002C4 000FD224 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801002C8 000FD228 4C 40 13 82 */ cror 2, 0, 2 +/* 801002CC 000FD22C 40 82 00 B0 */ bne lbl_8010037C +/* 801002D0 000FD230 D0 1E 02 18 */ stfs f0, 0x218(r30) +/* 801002D4 000FD234 38 60 00 00 */ li r3, 0 +/* 801002D8 000FD238 D0 1E 02 14 */ stfs f0, 0x214(r30) +/* 801002DC 000FD23C D0 1E 02 BC */ stfs f0, 0x2bc(r30) +/* 801002E0 000FD240 88 1E 02 E8 */ lbz r0, 0x2e8(r30) +/* 801002E4 000FD244 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 801002E8 000FD248 98 1E 02 E8 */ stb r0, 0x2e8(r30) +/* 801002EC 000FD24C 48 00 00 90 */ b lbl_8010037C +lbl_801002F0: +/* 801002F0 000FD250 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f +/* 801002F4 000FD254 41 82 00 88 */ beq lbl_8010037C +/* 801002F8 000FD258 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 801002FC 000FD25C C0 5E 02 B4 */ lfs f2, 0x2b4(r30) +/* 80100300 000FD260 C0 23 00 40 */ lfs f1, 0x40(r3) +/* 80100304 000FD264 C0 1E 02 BC */ lfs f0, 0x2bc(r30) +/* 80100308 000FD268 EC 3F 00 72 */ fmuls f1, f31, f1 +/* 8010030C 000FD26C EC 02 00 7A */ fmadds f0, f2, f1, f0 +/* 80100310 000FD270 D0 1E 02 BC */ stfs f0, 0x2bc(r30) +/* 80100314 000FD274 C0 1E 02 1C */ lfs f0, 0x21c(r30) +/* 80100318 000FD278 C0 5E 02 B4 */ lfs f2, 0x2b4(r30) +/* 8010031C 000FD27C EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80100320 000FD280 C0 1E 02 14 */ lfs f0, 0x214(r30) +/* 80100324 000FD284 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 +/* 80100328 000FD288 D0 1E 02 14 */ stfs f0, 0x214(r30) +/* 8010032C 000FD28C C0 1E 02 20 */ lfs f0, 0x220(r30) +/* 80100330 000FD290 C0 5E 02 B4 */ lfs f2, 0x2b4(r30) +/* 80100334 000FD294 EC 3F 00 32 */ fmuls f1, f31, f0 +/* 80100338 000FD298 C0 1E 02 18 */ lfs f0, 0x218(r30) +/* 8010033C 000FD29C EC 02 00 7C */ fnmsubs f0, f2, f1, f0 +/* 80100340 000FD2A0 D0 1E 02 18 */ stfs f0, 0x218(r30) +/* 80100344 000FD2A4 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 80100348 000FD2A8 C0 3E 02 BC */ lfs f1, 0x2bc(r30) +/* 8010034C 000FD2AC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80100350 000FD2B0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80100354 000FD2B4 40 81 00 28 */ ble lbl_8010037C +/* 80100358 000FD2B8 D0 1E 02 BC */ stfs f0, 0x2bc(r30) +/* 8010035C 000FD2BC 38 60 00 00 */ li r3, 0 +/* 80100360 000FD2C0 C0 1E 02 1C */ lfs f0, 0x21c(r30) +/* 80100364 000FD2C4 D0 1E 02 14 */ stfs f0, 0x214(r30) +/* 80100368 000FD2C8 C0 1E 02 20 */ lfs f0, 0x220(r30) +/* 8010036C 000FD2CC D0 1E 02 18 */ stfs f0, 0x218(r30) +/* 80100370 000FD2D0 88 1E 02 E8 */ lbz r0, 0x2e8(r30) +/* 80100374 000FD2D4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80100378 000FD2D8 98 1E 02 E8 */ stb r0, 0x2e8(r30) +lbl_8010037C: +/* 8010037C 000FD2DC 88 1E 02 E8 */ lbz r0, 0x2e8(r30) +/* 80100380 000FD2E0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 80100384 000FD2E4 41 82 02 14 */ beq lbl_80100598 +/* 80100388 000FD2E8 88 1E 02 E8 */ lbz r0, 0x2e8(r30) +/* 8010038C 000FD2EC 3B A0 00 01 */ li r29, 1 +/* 80100390 000FD2F0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80100394 000FD2F4 41 82 00 34 */ beq lbl_801003C8 +/* 80100398 000FD2F8 C0 1E 01 D0 */ lfs f0, 0x1d0(r30) +/* 8010039C 000FD2FC C0 5E 01 F8 */ lfs f2, 0x1f8(r30) +/* 801003A0 000FD300 EC 3F 00 24 */ fdivs f1, f31, f0 +/* 801003A4 000FD304 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) +/* 801003A8 000FD308 EC 22 08 2A */ fadds f1, f2, f1 +/* 801003AC 000FD30C D0 3E 01 F8 */ stfs f1, 0x1f8(r30) +/* 801003B0 000FD310 C0 3E 01 F8 */ lfs f1, 0x1f8(r30) +/* 801003B4 000FD314 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801003B8 000FD318 40 81 00 3C */ ble lbl_801003F4 +/* 801003BC 000FD31C D0 1E 01 F8 */ stfs f0, 0x1f8(r30) +/* 801003C0 000FD320 3B A0 00 00 */ li r29, 0 +/* 801003C4 000FD324 48 00 00 30 */ b lbl_801003F4 +lbl_801003C8: +/* 801003C8 000FD328 C0 1E 01 F4 */ lfs f0, 0x1f4(r30) +/* 801003CC 000FD32C C0 5E 01 F8 */ lfs f2, 0x1f8(r30) +/* 801003D0 000FD330 EC 3F 00 24 */ fdivs f1, f31, f0 +/* 801003D4 000FD334 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) +/* 801003D8 000FD338 EC 22 08 28 */ fsubs f1, f2, f1 +/* 801003DC 000FD33C D0 3E 01 F8 */ stfs f1, 0x1f8(r30) +/* 801003E0 000FD340 C0 3E 01 F8 */ lfs f1, 0x1f8(r30) +/* 801003E4 000FD344 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 801003E8 000FD348 40 80 00 0C */ bge lbl_801003F4 +/* 801003EC 000FD34C D0 1E 01 F8 */ stfs f0, 0x1f8(r30) +/* 801003F0 000FD350 3B A0 00 00 */ li r29, 0 +lbl_801003F4: +/* 801003F4 000FD354 C0 FE 01 F8 */ lfs f7, 0x1f8(r30) +/* 801003F8 000FD358 7F C3 F3 78 */ mr r3, r30 +/* 801003FC 000FD35C C0 42 93 D0 */ lfs f2, lbl_805AB0F0@sda21(r2) +/* 80100400 000FD360 38 81 00 30 */ addi r4, r1, 0x30 +/* 80100404 000FD364 C0 3E 01 BC */ lfs f1, 0x1bc(r30) +/* 80100408 000FD368 C0 1E 01 C0 */ lfs f0, 0x1c0(r30) +/* 8010040C 000FD36C EC C2 38 28 */ fsubs f6, f2, f7 +/* 80100410 000FD370 C0 BE 01 D8 */ lfs f5, 0x1d8(r30) +/* 80100414 000FD374 EC 87 00 72 */ fmuls f4, f7, f1 +/* 80100418 000FD378 C0 7E 01 DC */ lfs f3, 0x1dc(r30) +/* 8010041C 000FD37C EC 47 00 32 */ fmuls f2, f7, f0 +/* 80100420 000FD380 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) +/* 80100424 000FD384 C0 1E 01 B8 */ lfs f0, 0x1b8(r30) +/* 80100428 000FD388 EC A6 01 72 */ fmuls f5, f6, f5 +/* 8010042C 000FD38C EC 66 00 F2 */ fmuls f3, f6, f3 +/* 80100430 000FD390 EC 26 00 72 */ fmuls f1, f6, f1 +/* 80100434 000FD394 EC 07 00 32 */ fmuls f0, f7, f0 +/* 80100438 000FD398 EC 85 20 2A */ fadds f4, f5, f4 +/* 8010043C 000FD39C EC 43 10 2A */ fadds f2, f3, f2 +/* 80100440 000FD3A0 EC 01 00 2A */ fadds f0, f1, f0 +/* 80100444 000FD3A4 D0 81 00 34 */ stfs f4, 0x34(r1) +/* 80100448 000FD3A8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 8010044C 000FD3AC D0 41 00 38 */ stfs f2, 0x38(r1) +/* 80100450 000FD3B0 4B F5 2A 3D */ bl SetTranslation__6CActorFRC9CVector3f +/* 80100454 000FD3B4 C0 3E 01 F8 */ lfs f1, 0x1f8(r30) +/* 80100458 000FD3B8 38 61 00 3C */ addi r3, r1, 0x3c +/* 8010045C 000FD3BC C0 82 93 D0 */ lfs f4, lbl_805AB0F0@sda21(r2) +/* 80100460 000FD3C0 38 81 00 24 */ addi r4, r1, 0x24 +/* 80100464 000FD3C4 C0 1E 01 F0 */ lfs f0, 0x1f0(r30) +/* 80100468 000FD3C8 38 A1 00 18 */ addi r5, r1, 0x18 +/* 8010046C 000FD3CC EC 44 08 28 */ fsubs f2, f4, f1 +/* 80100470 000FD3D0 C0 BE 01 EC */ lfs f5, 0x1ec(r30) +/* 80100474 000FD3D4 EC 20 00 72 */ fmuls f1, f0, f1 +/* 80100478 000FD3D8 C0 62 93 DC */ lfs f3, lbl_805AB0FC@sda21(r2) +/* 8010047C 000FD3DC C0 02 93 E0 */ lfs f0, lbl_805AB100@sda21(r2) +/* 80100480 000FD3E0 EC 25 08 BA */ fmadds f1, f5, f2, f1 +/* 80100484 000FD3E4 D0 3E 01 08 */ stfs f1, 0x108(r30) +/* 80100488 000FD3E8 C1 5E 01 F8 */ lfs f10, 0x1f8(r30) +/* 8010048C 000FD3EC C0 5E 01 C4 */ lfs f2, 0x1c4(r30) +/* 80100490 000FD3F0 C0 3E 01 C8 */ lfs f1, 0x1c8(r30) +/* 80100494 000FD3F4 ED 24 50 28 */ fsubs f9, f4, f10 +/* 80100498 000FD3F8 C0 DE 01 E0 */ lfs f6, 0x1e0(r30) +/* 8010049C 000FD3FC EC EA 00 B2 */ fmuls f7, f10, f2 +/* 801004A0 000FD400 C0 BE 01 E4 */ lfs f5, 0x1e4(r30) +/* 801004A4 000FD404 EC 8A 00 72 */ fmuls f4, f10, f1 +/* 801004A8 000FD408 C0 5E 01 E8 */ lfs f2, 0x1e8(r30) +/* 801004AC 000FD40C C0 3E 01 CC */ lfs f1, 0x1cc(r30) +/* 801004B0 000FD410 ED 09 01 B2 */ fmuls f8, f9, f6 +/* 801004B4 000FD414 EC C9 01 72 */ fmuls f6, f9, f5 +/* 801004B8 000FD418 EC A9 00 B2 */ fmuls f5, f9, f2 +/* 801004BC 000FD41C EC E8 38 2A */ fadds f7, f8, f7 +/* 801004C0 000FD420 EC C6 20 2A */ fadds f6, f6, f4 +/* 801004C4 000FD424 EC 4A 00 72 */ fmuls f2, f10, f1 +/* 801004C8 000FD428 EC 23 01 F2 */ fmuls f1, f3, f7 +/* 801004CC 000FD42C EC 83 01 B2 */ fmuls f4, f3, f6 +/* 801004D0 000FD430 EC A5 10 2A */ fadds f5, f5, f2 +/* 801004D4 000FD434 EC 40 01 F2 */ fmuls f2, f0, f7 +/* 801004D8 000FD438 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 801004DC 000FD43C EC 20 01 B2 */ fmuls f1, f0, f6 +/* 801004E0 000FD440 EC 63 01 72 */ fmuls f3, f3, f5 +/* 801004E4 000FD444 D0 81 00 1C */ stfs f4, 0x1c(r1) +/* 801004E8 000FD448 EC 00 01 72 */ fmuls f0, f0, f5 +/* 801004EC 000FD44C D0 41 00 24 */ stfs f2, 0x24(r1) +/* 801004F0 000FD450 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 801004F4 000FD454 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 801004F8 000FD458 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 801004FC 000FD45C 48 23 80 0D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 80100500 000FD460 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 80100504 000FD464 7F C3 F3 78 */ mr r3, r30 +/* 80100508 000FD468 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8010050C 000FD46C D0 21 00 54 */ stfs f1, 0x54(r1) +/* 80100510 000FD470 C0 61 00 44 */ lfs f3, 0x44(r1) +/* 80100514 000FD474 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 80100518 000FD478 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 8010051C 000FD47C C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 80100520 000FD480 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 80100524 000FD484 80 81 00 54 */ lwz r4, 0x54(r1) +/* 80100528 000FD488 D0 61 00 5C */ stfs f3, 0x5c(r1) +/* 8010052C 000FD48C 80 01 00 58 */ lwz r0, 0x58(r1) +/* 80100530 000FD490 90 9E 01 30 */ stw r4, 0x130(r30) +/* 80100534 000FD494 80 81 00 5C */ lwz r4, 0x5c(r1) +/* 80100538 000FD498 D0 41 00 60 */ stfs f2, 0x60(r1) +/* 8010053C 000FD49C 90 1E 01 34 */ stw r0, 0x134(r30) +/* 80100540 000FD4A0 80 01 00 60 */ lwz r0, 0x60(r1) +/* 80100544 000FD4A4 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 80100548 000FD4A8 90 9E 01 38 */ stw r4, 0x138(r30) +/* 8010054C 000FD4AC 80 81 00 64 */ lwz r4, 0x64(r1) +/* 80100550 000FD4B0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 80100554 000FD4B4 90 1E 01 3C */ stw r0, 0x13c(r30) +/* 80100558 000FD4B8 80 01 00 68 */ lwz r0, 0x68(r1) +/* 8010055C 000FD4BC 90 9E 01 40 */ stw r4, 0x140(r30) +/* 80100560 000FD4C0 90 1E 01 44 */ stw r0, 0x144(r30) +/* 80100564 000FD4C4 81 9E 00 00 */ lwz r12, 0(r30) +/* 80100568 000FD4C8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 8010056C 000FD4CC 7D 89 03 A6 */ mtctr r12 +/* 80100570 000FD4D0 4E 80 04 21 */ bctrl +/* 80100574 000FD4D4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 80100578 000FD4D8 40 82 00 14 */ bne lbl_8010058C +/* 8010057C 000FD4DC 7F C3 F3 78 */ mr r3, r30 +/* 80100580 000FD4E0 38 80 00 00 */ li r4, 0 +/* 80100584 000FD4E4 4B FF F0 51 */ bl SetMorphing__12CScriptWaterFb +/* 80100588 000FD4E8 48 00 00 10 */ b lbl_80100598 +lbl_8010058C: +/* 8010058C 000FD4EC 7F C3 F3 78 */ mr r3, r30 +/* 80100590 000FD4F0 38 80 00 00 */ li r4, 0 +/* 80100594 000FD4F4 4B FF E8 21 */ bl SetupGrid__12CScriptWaterFb +lbl_80100598: +/* 80100598 000FD4F8 7F C3 F3 78 */ mr r3, r30 +/* 8010059C 000FD4FC 7F E4 FB 78 */ mr r4, r31 +/* 801005A0 000FD500 38 A0 00 04 */ li r5, 4 +/* 801005A4 000FD504 4B FF EA AD */ bl SetupGridClipping__12CScriptWaterFR13CStateManageri +lbl_801005A8: +/* 801005A8 000FD508 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 801005AC 000FD50C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 801005B0 000FD510 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 801005B4 000FD514 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 801005B8 000FD518 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 801005BC 000FD51C 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 801005C0 000FD520 7C 08 03 A6 */ mtlr r0 +/* 801005C4 000FD524 38 21 00 90 */ addi r1, r1, 0x90 +/* 801005C8 000FD528 4E 80 00 20 */ blr + +.global UpdateSplashInhabitants__12CScriptWaterFR13CStateManager +UpdateSplashInhabitants__12CScriptWaterFR13CStateManager: +/* 801005CC 000FD52C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 801005D0 000FD530 7C 08 02 A6 */ mflr r0 +/* 801005D4 000FD534 90 01 00 94 */ stw r0, 0x94(r1) +/* 801005D8 000FD538 BF 41 00 78 */ stmw r26, 0x78(r1) +/* 801005DC 000FD53C 7C 7E 1B 78 */ mr r30, r3 +/* 801005E0 000FD540 7C 9F 23 78 */ mr r31, r4 +/* 801005E4 000FD544 83 A3 02 00 */ lwz r29, 0x200(r3) +/* 801005E8 000FD548 48 00 01 B0 */ b lbl_80100798 +lbl_801005EC: +/* 801005EC 000FD54C 83 9D 00 04 */ lwz r28, 4(r29) +/* 801005F0 000FD550 7F E3 FB 78 */ mr r3, r31 +/* 801005F4 000FD554 A0 1D 00 08 */ lhz r0, 8(r29) +/* 801005F8 000FD558 38 81 00 18 */ addi r4, r1, 0x18 +/* 801005FC 000FD55C B0 01 00 18 */ sth r0, 0x18(r1) +/* 80100600 000FD560 4B F4 BF 75 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 80100604 000FD564 7C 64 1B 78 */ mr r4, r3 +/* 80100608 000FD568 38 61 00 1C */ addi r3, r1, 0x1c +/* 8010060C 000FD56C 4B FA F6 85 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 80100610 000FD570 83 63 00 04 */ lwz r27, 4(r3) +/* 80100614 000FD574 3B 40 00 00 */ li r26, 0 +/* 80100618 000FD578 28 1B 00 00 */ cmplwi r27, 0 +/* 8010061C 000FD57C 41 82 00 B4 */ beq lbl_801006D0 +/* 80100620 000FD580 7F 64 DB 78 */ mr r4, r27 +/* 80100624 000FD584 38 61 00 3C */ addi r3, r1, 0x3c +/* 80100628 000FD588 81 9B 00 00 */ lwz r12, 0(r27) +/* 8010062C 000FD58C 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80100630 000FD590 7D 89 03 A6 */ mtctr r12 +/* 80100634 000FD594 4E 80 04 21 */ bctrl +/* 80100638 000FD598 88 01 00 54 */ lbz r0, 0x54(r1) +/* 8010063C 000FD59C 28 00 00 00 */ cmplwi r0, 0 +/* 80100640 000FD5A0 98 01 00 70 */ stb r0, 0x70(r1) +/* 80100644 000FD5A4 41 82 00 3C */ beq lbl_80100680 +/* 80100648 000FD5A8 34 61 00 58 */ addic. r3, r1, 0x58 +/* 8010064C 000FD5AC 41 82 00 34 */ beq lbl_80100680 +/* 80100650 000FD5B0 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80100654 000FD5B4 D0 03 00 00 */ stfs f0, 0(r3) +/* 80100658 000FD5B8 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 8010065C 000FD5BC D0 03 00 04 */ stfs f0, 4(r3) +/* 80100660 000FD5C0 C0 01 00 44 */ lfs f0, 0x44(r1) +/* 80100664 000FD5C4 D0 03 00 08 */ stfs f0, 8(r3) +/* 80100668 000FD5C8 C0 01 00 48 */ lfs f0, 0x48(r1) +/* 8010066C 000FD5CC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 80100670 000FD5D0 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 80100674 000FD5D4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 80100678 000FD5D8 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 8010067C 000FD5DC D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_80100680: +/* 80100680 000FD5E0 88 01 00 70 */ lbz r0, 0x70(r1) +/* 80100684 000FD5E4 38 60 00 00 */ li r3, 0 +/* 80100688 000FD5E8 98 61 00 54 */ stb r3, 0x54(r1) +/* 8010068C 000FD5EC 28 00 00 00 */ cmplwi r0, 0 +/* 80100690 000FD5F0 41 82 00 38 */ beq lbl_801006C8 +/* 80100694 000FD5F4 7F C4 F3 78 */ mr r4, r30 +/* 80100698 000FD5F8 38 61 00 24 */ addi r3, r1, 0x24 +/* 8010069C 000FD5FC 4B F7 60 31 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 801006A0 000FD600 C0 21 00 38 */ lfs f1, 0x38(r1) +/* 801006A4 000FD604 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 801006A8 000FD608 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801006AC 000FD60C 4C 40 13 82 */ cror 2, 0, 2 +/* 801006B0 000FD610 40 82 00 18 */ bne lbl_801006C8 +/* 801006B4 000FD614 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 801006B8 000FD618 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801006BC 000FD61C 4C 41 13 82 */ cror 2, 1, 2 +/* 801006C0 000FD620 40 82 00 08 */ bne lbl_801006C8 +/* 801006C4 000FD624 3B 40 00 01 */ li r26, 1 +lbl_801006C8: +/* 801006C8 000FD628 38 00 00 00 */ li r0, 0 +/* 801006CC 000FD62C 98 01 00 70 */ stb r0, 0x70(r1) +lbl_801006D0: +/* 801006D0 000FD630 28 1B 00 00 */ cmplwi r27, 0 +/* 801006D4 000FD634 41 82 00 64 */ beq lbl_80100738 +/* 801006D8 000FD638 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 801006DC 000FD63C 28 00 00 00 */ cmplwi r0, 0 +/* 801006E0 000FD640 41 82 00 58 */ beq lbl_80100738 +/* 801006E4 000FD644 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 801006E8 000FD648 41 82 00 24 */ beq lbl_8010070C +/* 801006EC 000FD64C 7F 63 DB 78 */ mr r3, r27 +/* 801006F0 000FD650 7F C5 F3 78 */ mr r5, r30 +/* 801006F4 000FD654 81 9B 00 00 */ lwz r12, 0(r27) +/* 801006F8 000FD658 7F E6 FB 78 */ mr r6, r31 +/* 801006FC 000FD65C 38 80 00 01 */ li r4, 1 +/* 80100700 000FD660 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80100704 000FD664 7D 89 03 A6 */ mtctr r12 +/* 80100708 000FD668 4E 80 04 21 */ bctrl +lbl_8010070C: +/* 8010070C 000FD66C A0 1E 00 08 */ lhz r0, 8(r30) +/* 80100710 000FD670 7F E3 FB 78 */ mr r3, r31 +/* 80100714 000FD674 7F 64 DB 78 */ mr r4, r27 +/* 80100718 000FD678 38 A1 00 14 */ addi r5, r1, 0x14 +/* 8010071C 000FD67C B0 01 00 10 */ sth r0, 0x10(r1) +/* 80100720 000FD680 38 C0 00 26 */ li r6, 0x26 +/* 80100724 000FD684 B0 01 00 14 */ sth r0, 0x14(r1) +/* 80100728 000FD688 4B F4 37 A9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 8010072C 000FD68C 38 00 00 00 */ li r0, 0 +/* 80100730 000FD690 98 1D 00 0A */ stb r0, 0xa(r29) +/* 80100734 000FD694 48 00 00 60 */ b lbl_80100794 +lbl_80100738: +/* 80100738 000FD698 7F A4 EB 78 */ mr r4, r29 +/* 8010073C 000FD69C 38 7E 01 FC */ addi r3, r30, 0x1fc +/* 80100740 000FD6A0 48 00 16 CD */ bl sub_80101e0c +/* 80100744 000FD6A4 28 1B 00 00 */ cmplwi r27, 0 +/* 80100748 000FD6A8 41 82 00 4C */ beq lbl_80100794 +/* 8010074C 000FD6AC 57 40 06 3F */ clrlwi. r0, r26, 0x18 +/* 80100750 000FD6B0 41 82 00 24 */ beq lbl_80100774 +/* 80100754 000FD6B4 7F 63 DB 78 */ mr r3, r27 +/* 80100758 000FD6B8 7F C5 F3 78 */ mr r5, r30 +/* 8010075C 000FD6BC 81 9B 00 00 */ lwz r12, 0(r27) +/* 80100760 000FD6C0 7F E6 FB 78 */ mr r6, r31 +/* 80100764 000FD6C4 38 80 00 02 */ li r4, 2 +/* 80100768 000FD6C8 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 8010076C 000FD6CC 7D 89 03 A6 */ mtctr r12 +/* 80100770 000FD6D0 4E 80 04 21 */ bctrl +lbl_80100774: +/* 80100774 000FD6D4 A0 1E 00 08 */ lhz r0, 8(r30) +/* 80100778 000FD6D8 7F E3 FB 78 */ mr r3, r31 +/* 8010077C 000FD6DC 7F 64 DB 78 */ mr r4, r27 +/* 80100780 000FD6E0 38 A1 00 0C */ addi r5, r1, 0xc +/* 80100784 000FD6E4 B0 01 00 08 */ sth r0, 8(r1) +/* 80100788 000FD6E8 38 C0 00 27 */ li r6, 0x27 +/* 8010078C 000FD6EC B0 01 00 0C */ sth r0, 0xc(r1) +/* 80100790 000FD6F0 4B F4 37 41 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +lbl_80100794: +/* 80100794 000FD6F4 7F 9D E3 78 */ mr r29, r28 +lbl_80100798: +/* 80100798 000FD6F8 80 1E 02 04 */ lwz r0, 0x204(r30) +/* 8010079C 000FD6FC 7C 1D 00 40 */ cmplw r29, r0 +/* 801007A0 000FD700 40 82 FE 4C */ bne lbl_801005EC +/* 801007A4 000FD704 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 801007A8 000FD708 80 01 00 94 */ lwz r0, 0x94(r1) +/* 801007AC 000FD70C 7C 08 03 A6 */ mtlr r0 +/* 801007B0 000FD710 38 21 00 90 */ addi r1, r1, 0x90 +/* 801007B4 000FD714 4E 80 00 20 */ blr + +.global Touch__12CScriptWaterFR6CActorR13CStateManager +Touch__12CScriptWaterFR6CActorR13CStateManager: +/* 801007B8 000FD718 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 801007BC 000FD71C 7C 08 02 A6 */ mflr r0 +/* 801007C0 000FD720 90 01 00 74 */ stw r0, 0x74(r1) +/* 801007C4 000FD724 BF 21 00 54 */ stmw r25, 0x54(r1) +/* 801007C8 000FD728 7C 7D 1B 78 */ mr r29, r3 +/* 801007CC 000FD72C 7C 9E 23 78 */ mr r30, r4 +/* 801007D0 000FD730 7C BF 2B 78 */ mr r31, r5 +/* 801007D4 000FD734 88 03 00 30 */ lbz r0, 0x30(r3) +/* 801007D8 000FD738 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 801007DC 000FD73C 41 82 01 7C */ beq lbl_80100958 +/* 801007E0 000FD740 4B F7 5F 69 */ bl Touch__14CScriptTriggerFR6CActorR13CStateManager +/* 801007E4 000FD744 80 7E 00 68 */ lwz r3, 0x68(r30) +/* 801007E8 000FD748 38 00 00 04 */ li r0, 4 +/* 801007EC 000FD74C 80 BE 00 6C */ lwz r5, 0x6c(r30) +/* 801007F0 000FD750 38 80 00 00 */ li r4, 0 +/* 801007F4 000FD754 7C 60 00 38 */ and r0, r3, r0 +/* 801007F8 000FD758 7C A3 20 38 */ and r3, r5, r4 +/* 801007FC 000FD75C 7C 63 22 78 */ xor r3, r3, r4 +/* 80100800 000FD760 7C 00 22 78 */ xor r0, r0, r4 +/* 80100804 000FD764 7C 60 03 79 */ or. r0, r3, r0 +/* 80100808 000FD768 40 82 01 50 */ bne lbl_80100958 +/* 8010080C 000FD76C 80 9D 02 00 */ lwz r4, 0x200(r29) +/* 80100810 000FD770 80 BD 02 04 */ lwz r5, 0x204(r29) +/* 80100814 000FD774 48 00 00 24 */ b lbl_80100838 +lbl_80100818: +/* 80100818 000FD778 A0 64 00 08 */ lhz r3, 8(r4) +/* 8010081C 000FD77C A0 1E 00 08 */ lhz r0, 8(r30) +/* 80100820 000FD780 7C 03 00 40 */ cmplw r3, r0 +/* 80100824 000FD784 40 82 00 10 */ bne lbl_80100834 +/* 80100828 000FD788 38 00 00 01 */ li r0, 1 +/* 8010082C 000FD78C 98 04 00 0A */ stb r0, 0xa(r4) +/* 80100830 000FD790 48 00 01 28 */ b lbl_80100958 +lbl_80100834: +/* 80100834 000FD794 80 84 00 04 */ lwz r4, 4(r4) +lbl_80100838: +/* 80100838 000FD798 7C 04 28 40 */ cmplw r4, r5 +/* 8010083C 000FD79C 40 82 FF DC */ bne lbl_80100818 +/* 80100840 000FD7A0 7F C4 F3 78 */ mr r4, r30 +/* 80100844 000FD7A4 38 61 00 28 */ addi r3, r1, 0x28 +/* 80100848 000FD7A8 81 9E 00 00 */ lwz r12, 0(r30) +/* 8010084C 000FD7AC 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 80100850 000FD7B0 7D 89 03 A6 */ mtctr r12 +/* 80100854 000FD7B4 4E 80 04 21 */ bctrl +/* 80100858 000FD7B8 88 01 00 40 */ lbz r0, 0x40(r1) +/* 8010085C 000FD7BC 28 00 00 00 */ cmplwi r0, 0 +/* 80100860 000FD7C0 40 82 00 10 */ bne lbl_80100870 +/* 80100864 000FD7C4 38 00 00 00 */ li r0, 0 +/* 80100868 000FD7C8 98 01 00 40 */ stb r0, 0x40(r1) +/* 8010086C 000FD7CC 48 00 00 EC */ b lbl_80100958 +lbl_80100870: +/* 80100870 000FD7D0 83 7D 02 04 */ lwz r27, 0x204(r29) +/* 80100874 000FD7D4 3C 60 80 3D */ lis r3, lbl_803CEE38@ha +/* 80100878 000FD7D8 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l +/* 8010087C 000FD7DC A3 3E 00 08 */ lhz r25, 8(r30) +/* 80100880 000FD7E0 8B 8D 89 88 */ lbz r28, lbl_805A7548@sda21(r13) +/* 80100884 000FD7E4 38 60 00 0C */ li r3, 0xc +/* 80100888 000FD7E8 83 5B 00 00 */ lwz r26, 0(r27) +/* 8010088C 000FD7EC 38 A0 00 00 */ li r5, 0 +/* 80100890 000FD7F0 48 21 4F 89 */ bl __nwa__FUlPCcPCc +/* 80100894 000FD7F4 28 03 00 00 */ cmplwi r3, 0 +/* 80100898 000FD7F8 41 82 00 0C */ beq lbl_801008A4 +/* 8010089C 000FD7FC 93 43 00 00 */ stw r26, 0(r3) +/* 801008A0 000FD800 93 63 00 04 */ stw r27, 4(r3) +lbl_801008A4: +/* 801008A4 000FD804 34 83 00 08 */ addic. r4, r3, 8 +/* 801008A8 000FD808 41 82 00 0C */ beq lbl_801008B4 +/* 801008AC 000FD80C B3 24 00 00 */ sth r25, 0(r4) +/* 801008B0 000FD810 9B 84 00 02 */ stb r28, 2(r4) +lbl_801008B4: +/* 801008B4 000FD814 80 1D 02 00 */ lwz r0, 0x200(r29) +/* 801008B8 000FD818 7C 1B 00 40 */ cmplw r27, r0 +/* 801008BC 000FD81C 40 82 00 08 */ bne lbl_801008C4 +/* 801008C0 000FD820 90 7D 02 00 */ stw r3, 0x200(r29) +lbl_801008C4: +/* 801008C4 000FD824 80 A3 00 00 */ lwz r5, 0(r3) +/* 801008C8 000FD828 7F A4 EB 78 */ mr r4, r29 +/* 801008CC 000FD82C 90 65 00 04 */ stw r3, 4(r5) +/* 801008D0 000FD830 80 A3 00 04 */ lwz r5, 4(r3) +/* 801008D4 000FD834 90 65 00 00 */ stw r3, 0(r5) +/* 801008D8 000FD838 38 61 00 10 */ addi r3, r1, 0x10 +/* 801008DC 000FD83C 80 BD 02 10 */ lwz r5, 0x210(r29) +/* 801008E0 000FD840 38 05 00 01 */ addi r0, r5, 1 +/* 801008E4 000FD844 90 1D 02 10 */ stw r0, 0x210(r29) +/* 801008E8 000FD848 4B F7 5D E5 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 801008EC 000FD84C C0 21 00 24 */ lfs f1, 0x24(r1) +/* 801008F0 000FD850 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 801008F4 000FD854 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 801008F8 000FD858 4C 40 13 82 */ cror 2, 0, 2 +/* 801008FC 000FD85C 40 82 00 34 */ bne lbl_80100930 +/* 80100900 000FD860 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 80100904 000FD864 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 80100908 000FD868 4C 41 13 82 */ cror 2, 1, 2 +/* 8010090C 000FD86C 40 82 00 24 */ bne lbl_80100930 +/* 80100910 000FD870 7F C3 F3 78 */ mr r3, r30 +/* 80100914 000FD874 7F A5 EB 78 */ mr r5, r29 +/* 80100918 000FD878 81 9E 00 00 */ lwz r12, 0(r30) +/* 8010091C 000FD87C 7F E6 FB 78 */ mr r6, r31 +/* 80100920 000FD880 38 80 00 00 */ li r4, 0 +/* 80100924 000FD884 81 8C 00 5C */ lwz r12, 0x5c(r12) +/* 80100928 000FD888 7D 89 03 A6 */ mtctr r12 +/* 8010092C 000FD88C 4E 80 04 21 */ bctrl +lbl_80100930: +/* 80100930 000FD890 A0 1D 00 08 */ lhz r0, 8(r29) +/* 80100934 000FD894 7F E3 FB 78 */ mr r3, r31 +/* 80100938 000FD898 7F C4 F3 78 */ mr r4, r30 +/* 8010093C 000FD89C 38 A1 00 0C */ addi r5, r1, 0xc +/* 80100940 000FD8A0 B0 01 00 08 */ sth r0, 8(r1) +/* 80100944 000FD8A4 38 C0 00 25 */ li r6, 0x25 +/* 80100948 000FD8A8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 8010094C 000FD8AC 4B F4 35 85 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage +/* 80100950 000FD8B0 38 00 00 00 */ li r0, 0 +/* 80100954 000FD8B4 98 01 00 40 */ stb r0, 0x40(r1) +lbl_80100958: +/* 80100958 000FD8B8 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 8010095C 000FD8BC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 80100960 000FD8C0 7C 08 03 A6 */ mtlr r0 +/* 80100964 000FD8C4 38 21 00 70 */ addi r1, r1, 0x70 +/* 80100968 000FD8C8 4E 80 00 20 */ blr + +.global GetNextConnectedWater__12CScriptWaterFR13CStateManager +GetNextConnectedWater__12CScriptWaterFR13CStateManager: +/* 8010096C 000FD8CC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 80100970 000FD8D0 7C 08 02 A6 */ mflr r0 +/* 80100974 000FD8D4 90 01 00 44 */ stw r0, 0x44(r1) +/* 80100978 000FD8D8 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 8010097C 000FD8DC 7C 9F 23 78 */ mr r31, r4 +/* 80100980 000FD8E0 93 C1 00 38 */ stw r30, 0x38(r1) +/* 80100984 000FD8E4 7C 7E 1B 78 */ mr r30, r3 +/* 80100988 000FD8E8 93 A1 00 34 */ stw r29, 0x34(r1) +/* 8010098C 000FD8EC 83 A3 00 2C */ lwz r29, 0x2c(r3) +/* 80100990 000FD8F0 48 00 00 98 */ b lbl_80100A28 +lbl_80100994: +/* 80100994 000FD8F4 80 1D 00 00 */ lwz r0, 0(r29) +/* 80100998 000FD8F8 2C 00 00 12 */ cmpwi r0, 0x12 +/* 8010099C 000FD8FC 40 82 00 88 */ bne lbl_80100A24 +/* 801009A0 000FD900 80 1D 00 04 */ lwz r0, 4(r29) +/* 801009A4 000FD904 2C 00 00 01 */ cmpwi r0, 1 +/* 801009A8 000FD908 40 82 00 7C */ bne lbl_80100A24 +/* 801009AC 000FD90C 80 1D 00 08 */ lwz r0, 8(r29) +/* 801009B0 000FD910 7F E4 FB 78 */ mr r4, r31 +/* 801009B4 000FD914 38 61 00 18 */ addi r3, r1, 0x18 +/* 801009B8 000FD918 38 A1 00 0C */ addi r5, r1, 0xc +/* 801009BC 000FD91C 90 01 00 0C */ stw r0, 0xc(r1) +/* 801009C0 000FD920 4B F4 76 09 */ bl GetIdListForScript__13CStateManagerCF9TEditorId +/* 801009C4 000FD924 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 801009C8 000FD928 38 60 00 00 */ li r3, 0 +/* 801009CC 000FD92C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 801009D0 000FD930 80 81 00 1C */ lwz r4, 0x1c(r1) +/* 801009D4 000FD934 7C 05 00 40 */ cmplw r5, r0 +/* 801009D8 000FD938 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801009DC 000FD93C 40 82 00 0C */ bne lbl_801009E8 +/* 801009E0 000FD940 7C 04 00 40 */ cmplw r4, r0 +/* 801009E4 000FD944 41 82 00 08 */ beq lbl_801009EC +lbl_801009E8: +/* 801009E8 000FD948 38 60 00 01 */ li r3, 1 +lbl_801009EC: +/* 801009EC 000FD94C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 801009F0 000FD950 41 82 00 34 */ beq lbl_80100A24 +/* 801009F4 000FD954 A0 05 00 14 */ lhz r0, 0x14(r5) +/* 801009F8 000FD958 7F E3 FB 78 */ mr r3, r31 +/* 801009FC 000FD95C 38 81 00 08 */ addi r4, r1, 8 +/* 80100A00 000FD960 B0 01 00 08 */ sth r0, 8(r1) +/* 80100A04 000FD964 4B F4 BB A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80100A08 000FD968 7C 64 1B 78 */ mr r4, r3 +/* 80100A0C 000FD96C 38 61 00 10 */ addi r3, r1, 0x10 +/* 80100A10 000FD970 4B FA 5E 51 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" +/* 80100A14 000FD974 80 63 00 04 */ lwz r3, 4(r3) +/* 80100A18 000FD978 28 03 00 00 */ cmplwi r3, 0 +/* 80100A1C 000FD97C 41 82 00 08 */ beq lbl_80100A24 +/* 80100A20 000FD980 48 00 00 24 */ b lbl_80100A44 +lbl_80100A24: +/* 80100A24 000FD984 3B BD 00 0C */ addi r29, r29, 0xc +lbl_80100A28: +/* 80100A28 000FD988 80 1E 00 24 */ lwz r0, 0x24(r30) +/* 80100A2C 000FD98C 80 7E 00 2C */ lwz r3, 0x2c(r30) +/* 80100A30 000FD990 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80100A34 000FD994 7C 03 02 14 */ add r0, r3, r0 +/* 80100A38 000FD998 7C 1D 00 40 */ cmplw r29, r0 +/* 80100A3C 000FD99C 40 82 FF 58 */ bne lbl_80100994 +/* 80100A40 000FD9A0 38 60 00 00 */ li r3, 0 +lbl_80100A44: +/* 80100A44 000FD9A4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80100A48 000FD9A8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 80100A4C 000FD9AC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 80100A50 000FD9B0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 80100A54 000FD9B4 7C 08 03 A6 */ mtlr r0 +/* 80100A58 000FD9B8 38 21 00 40 */ addi r1, r1, 0x40 +/* 80100A5C 000FD9BC 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12CScriptWaterF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12CScriptWaterF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 80100A60 000FD9C0 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 80100A64 000FD9C4 7C 08 02 A6 */ mflr r0 +/* 80100A68 000FD9C8 90 01 00 54 */ stw r0, 0x54(r1) +/* 80100A6C 000FD9CC BF 61 00 3C */ stmw r27, 0x3c(r1) +/* 80100A70 000FD9D0 7C 9C 23 78 */ mr r28, r4 +/* 80100A74 000FD9D4 2C 1C 00 08 */ cmpwi r28, 8 +/* 80100A78 000FD9D8 7C 7B 1B 78 */ mr r27, r3 +/* 80100A7C 000FD9DC 7C BD 2B 78 */ mr r29, r5 +/* 80100A80 000FD9E0 7C DE 33 78 */ mr r30, r6 +/* 80100A84 000FD9E4 41 82 00 20 */ beq lbl_80100AA4 +/* 80100A88 000FD9E8 40 80 00 10 */ bge lbl_80100A98 +/* 80100A8C 000FD9EC 2C 1C 00 01 */ cmpwi r28, 1 +/* 80100A90 000FD9F0 41 82 01 A4 */ beq lbl_80100C34 +/* 80100A94 000FD9F4 48 00 02 4C */ b lbl_80100CE0 +lbl_80100A98: +/* 80100A98 000FD9F8 2C 1C 00 13 */ cmpwi r28, 0x13 +/* 80100A9C 000FD9FC 41 82 01 F8 */ beq lbl_80100C94 +/* 80100AA0 000FDA00 48 00 02 40 */ b lbl_80100CE0 +lbl_80100AA4: +/* 80100AA4 000FDA04 88 1B 00 30 */ lbz r0, 0x30(r27) +/* 80100AA8 000FDA08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80100AAC 000FDA0C 41 82 02 34 */ beq lbl_80100CE0 +/* 80100AB0 000FDA10 88 7B 02 E8 */ lbz r3, 0x2e8(r27) +/* 80100AB4 000FDA14 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f +/* 80100AB8 000FDA18 7C 00 00 34 */ cntlzw r0, r0 +/* 80100ABC 000FDA1C 50 03 0E 72 */ rlwimi r3, r0, 1, 0x19, 0x19 +/* 80100AC0 000FDA20 98 7B 02 E8 */ stb r3, 0x2e8(r27) +/* 80100AC4 000FDA24 88 1B 02 E8 */ lbz r0, 0x2e8(r27) +/* 80100AC8 000FDA28 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 80100ACC 000FDA2C 41 82 01 58 */ beq lbl_80100C24 +/* 80100AD0 000FDA30 83 FB 00 2C */ lwz r31, 0x2c(r27) +/* 80100AD4 000FDA34 48 00 01 38 */ b lbl_80100C0C +lbl_80100AD8: +/* 80100AD8 000FDA38 80 1F 00 00 */ lwz r0, 0(r31) +/* 80100ADC 000FDA3C 2C 00 00 12 */ cmpwi r0, 0x12 +/* 80100AE0 000FDA40 40 82 01 28 */ bne lbl_80100C08 +/* 80100AE4 000FDA44 80 1F 00 04 */ lwz r0, 4(r31) +/* 80100AE8 000FDA48 2C 00 00 01 */ cmpwi r0, 1 +/* 80100AEC 000FDA4C 40 82 01 1C */ bne lbl_80100C08 +/* 80100AF0 000FDA50 80 1F 00 08 */ lwz r0, 8(r31) +/* 80100AF4 000FDA54 7F C4 F3 78 */ mr r4, r30 +/* 80100AF8 000FDA58 38 61 00 1C */ addi r3, r1, 0x1c +/* 80100AFC 000FDA5C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 80100B00 000FDA60 90 01 00 10 */ stw r0, 0x10(r1) +/* 80100B04 000FDA64 4B F4 74 C5 */ bl GetIdListForScript__13CStateManagerCF9TEditorId +/* 80100B08 000FDA68 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 80100B0C 000FDA6C 38 60 00 00 */ li r3, 0 +/* 80100B10 000FDA70 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80100B14 000FDA74 80 81 00 20 */ lwz r4, 0x20(r1) +/* 80100B18 000FDA78 7C 05 00 40 */ cmplw r5, r0 +/* 80100B1C 000FDA7C 80 01 00 28 */ lwz r0, 0x28(r1) +/* 80100B20 000FDA80 40 82 00 0C */ bne lbl_80100B2C +/* 80100B24 000FDA84 7C 04 00 40 */ cmplw r4, r0 +/* 80100B28 000FDA88 41 82 00 08 */ beq lbl_80100B30 +lbl_80100B2C: +/* 80100B2C 000FDA8C 38 60 00 01 */ li r3, 1 +lbl_80100B30: +/* 80100B30 000FDA90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80100B34 000FDA94 41 82 00 D4 */ beq lbl_80100C08 +/* 80100B38 000FDA98 A0 05 00 14 */ lhz r0, 0x14(r5) +/* 80100B3C 000FDA9C 7F C3 F3 78 */ mr r3, r30 +/* 80100B40 000FDAA0 38 81 00 0C */ addi r4, r1, 0xc +/* 80100B44 000FDAA4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 80100B48 000FDAA8 4B F4 BA 5D */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 80100B4C 000FDAAC 7C 64 1B 78 */ mr r4, r3 +/* 80100B50 000FDAB0 38 61 00 14 */ addi r3, r1, 0x14 +/* 80100B54 000FDAB4 4B FA 63 95 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" +/* 80100B58 000FDAB8 80 63 00 04 */ lwz r3, 4(r3) +/* 80100B5C 000FDABC 28 03 00 00 */ cmplwi r3, 0 +/* 80100B60 000FDAC0 41 82 00 A8 */ beq lbl_80100C08 +/* 80100B64 000FDAC4 C0 43 00 60 */ lfs f2, 0x60(r3) +/* 80100B68 000FDAC8 C0 23 00 50 */ lfs f1, 0x50(r3) +/* 80100B6C 000FDACC C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80100B70 000FDAD0 D0 1B 01 B8 */ stfs f0, 0x1b8(r27) +/* 80100B74 000FDAD4 D0 3B 01 BC */ stfs f1, 0x1bc(r27) +/* 80100B78 000FDAD8 D0 5B 01 C0 */ stfs f2, 0x1c0(r27) +/* 80100B7C 000FDADC C0 23 01 3C */ lfs f1, 0x13c(r3) +/* 80100B80 000FDAE0 C0 03 01 30 */ lfs f0, 0x130(r3) +/* 80100B84 000FDAE4 C0 63 01 40 */ lfs f3, 0x140(r3) +/* 80100B88 000FDAE8 C0 43 01 34 */ lfs f2, 0x134(r3) +/* 80100B8C 000FDAEC EC 01 00 28 */ fsubs f0, f1, f0 +/* 80100B90 000FDAF0 C0 83 01 44 */ lfs f4, 0x144(r3) +/* 80100B94 000FDAF4 C0 23 01 38 */ lfs f1, 0x138(r3) +/* 80100B98 000FDAF8 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80100B9C 000FDAFC D0 1B 01 C4 */ stfs f0, 0x1c4(r27) +/* 80100BA0 000FDB00 EC 04 08 28 */ fsubs f0, f4, f1 +/* 80100BA4 000FDB04 D0 5B 01 C8 */ stfs f2, 0x1c8(r27) +/* 80100BA8 000FDB08 D0 1B 01 CC */ stfs f0, 0x1cc(r27) +/* 80100BAC 000FDB0C C0 03 01 08 */ lfs f0, 0x108(r3) +/* 80100BB0 000FDB10 D0 1B 01 F0 */ stfs f0, 0x1f0(r27) +/* 80100BB4 000FDB14 C0 5B 00 60 */ lfs f2, 0x60(r27) +/* 80100BB8 000FDB18 C0 3B 00 50 */ lfs f1, 0x50(r27) +/* 80100BBC 000FDB1C C0 1B 00 40 */ lfs f0, 0x40(r27) +/* 80100BC0 000FDB20 D0 1B 01 D4 */ stfs f0, 0x1d4(r27) +/* 80100BC4 000FDB24 D0 3B 01 D8 */ stfs f1, 0x1d8(r27) +/* 80100BC8 000FDB28 D0 5B 01 DC */ stfs f2, 0x1dc(r27) +/* 80100BCC 000FDB2C C0 3B 01 3C */ lfs f1, 0x13c(r27) +/* 80100BD0 000FDB30 C0 1B 01 30 */ lfs f0, 0x130(r27) +/* 80100BD4 000FDB34 C0 7B 01 40 */ lfs f3, 0x140(r27) +/* 80100BD8 000FDB38 C0 5B 01 34 */ lfs f2, 0x134(r27) +/* 80100BDC 000FDB3C EC 01 00 28 */ fsubs f0, f1, f0 +/* 80100BE0 000FDB40 C0 9B 01 44 */ lfs f4, 0x144(r27) +/* 80100BE4 000FDB44 C0 3B 01 38 */ lfs f1, 0x138(r27) +/* 80100BE8 000FDB48 EC 43 10 28 */ fsubs f2, f3, f2 +/* 80100BEC 000FDB4C D0 1B 01 E0 */ stfs f0, 0x1e0(r27) +/* 80100BF0 000FDB50 EC 04 08 28 */ fsubs f0, f4, f1 +/* 80100BF4 000FDB54 D0 5B 01 E4 */ stfs f2, 0x1e4(r27) +/* 80100BF8 000FDB58 D0 1B 01 E8 */ stfs f0, 0x1e8(r27) +/* 80100BFC 000FDB5C C0 1B 01 08 */ lfs f0, 0x108(r27) +/* 80100C00 000FDB60 D0 1B 01 EC */ stfs f0, 0x1ec(r27) +/* 80100C04 000FDB64 48 00 00 20 */ b lbl_80100C24 +lbl_80100C08: +/* 80100C08 000FDB68 3B FF 00 0C */ addi r31, r31, 0xc +lbl_80100C0C: +/* 80100C0C 000FDB6C 80 1B 00 24 */ lwz r0, 0x24(r27) +/* 80100C10 000FDB70 80 7B 00 2C */ lwz r3, 0x2c(r27) +/* 80100C14 000FDB74 1C 00 00 0C */ mulli r0, r0, 0xc +/* 80100C18 000FDB78 7C 03 02 14 */ add r0, r3, r0 +/* 80100C1C 000FDB7C 7C 1F 00 40 */ cmplw r31, r0 +/* 80100C20 000FDB80 40 82 FE B8 */ bne lbl_80100AD8 +lbl_80100C24: +/* 80100C24 000FDB84 7F 63 DB 78 */ mr r3, r27 +/* 80100C28 000FDB88 38 80 00 01 */ li r4, 1 +/* 80100C2C 000FDB8C 4B FF E9 A9 */ bl SetMorphing__12CScriptWaterFb +/* 80100C30 000FDB90 48 00 00 B0 */ b lbl_80100CE0 +lbl_80100C34: +/* 80100C34 000FDB94 88 1B 02 E8 */ lbz r0, 0x2e8(r27) +/* 80100C38 000FDB98 38 60 00 00 */ li r3, 0 +/* 80100C3C 000FDB9C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80100C40 000FDBA0 C0 22 93 BC */ lfs f1, lbl_805AB0DC@sda21(r2) +/* 80100C44 000FDBA4 98 1B 02 E8 */ stb r0, 0x2e8(r27) +/* 80100C48 000FDBA8 C0 02 93 D4 */ lfs f0, lbl_805AB0F4@sda21(r2) +/* 80100C4C 000FDBAC C0 5B 02 AC */ lfs f2, 0x2ac(r27) +/* 80100C50 000FDBB0 EC 22 08 28 */ fsubs f1, f2, f1 +/* 80100C54 000FDBB4 FC 20 0A 10 */ fabs f1, f1 +/* 80100C58 000FDBB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80100C5C 000FDBBC 40 80 00 24 */ bge lbl_80100C80 +/* 80100C60 000FDBC0 80 7B 01 B4 */ lwz r3, 0x1b4(r27) +/* 80100C64 000FDBC4 C0 03 00 40 */ lfs f0, 0x40(r3) +/* 80100C68 000FDBC8 D0 1B 02 BC */ stfs f0, 0x2bc(r27) +/* 80100C6C 000FDBCC C0 1B 02 1C */ lfs f0, 0x21c(r27) +/* 80100C70 000FDBD0 D0 1B 02 14 */ stfs f0, 0x214(r27) +/* 80100C74 000FDBD4 C0 1B 02 20 */ lfs f0, 0x220(r27) +/* 80100C78 000FDBD8 D0 1B 02 18 */ stfs f0, 0x218(r27) +/* 80100C7C 000FDBDC 48 00 00 64 */ b lbl_80100CE0 +lbl_80100C80: +/* 80100C80 000FDBE0 88 1B 02 E8 */ lbz r0, 0x2e8(r27) +/* 80100C84 000FDBE4 38 60 00 01 */ li r3, 1 +/* 80100C88 000FDBE8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80100C8C 000FDBEC 98 1B 02 E8 */ stb r0, 0x2e8(r27) +/* 80100C90 000FDBF0 48 00 00 50 */ b lbl_80100CE0 +lbl_80100C94: +/* 80100C94 000FDBF4 88 1B 02 E8 */ lbz r0, 0x2e8(r27) +/* 80100C98 000FDBF8 38 60 00 00 */ li r3, 0 +/* 80100C9C 000FDBFC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 80100CA0 000FDC00 C0 42 93 BC */ lfs f2, lbl_805AB0DC@sda21(r2) +/* 80100CA4 000FDC04 98 1B 02 E8 */ stb r0, 0x2e8(r27) +/* 80100CA8 000FDC08 C0 02 93 D4 */ lfs f0, lbl_805AB0F4@sda21(r2) +/* 80100CAC 000FDC0C C0 3B 02 B0 */ lfs f1, 0x2b0(r27) +/* 80100CB0 000FDC10 EC 21 10 28 */ fsubs f1, f1, f2 +/* 80100CB4 000FDC14 FC 20 0A 10 */ fabs f1, f1 +/* 80100CB8 000FDC18 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80100CBC 000FDC1C 40 80 00 14 */ bge lbl_80100CD0 +/* 80100CC0 000FDC20 D0 5B 02 BC */ stfs f2, 0x2bc(r27) +/* 80100CC4 000FDC24 D0 5B 02 14 */ stfs f2, 0x214(r27) +/* 80100CC8 000FDC28 D0 5B 02 18 */ stfs f2, 0x218(r27) +/* 80100CCC 000FDC2C 48 00 00 14 */ b lbl_80100CE0 +lbl_80100CD0: +/* 80100CD0 000FDC30 88 1B 02 E8 */ lbz r0, 0x2e8(r27) +/* 80100CD4 000FDC34 38 60 00 01 */ li r3, 1 +/* 80100CD8 000FDC38 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e +/* 80100CDC 000FDC3C 98 1B 02 E8 */ stb r0, 0x2e8(r27) +lbl_80100CE0: +/* 80100CE0 000FDC40 A0 1D 00 00 */ lhz r0, 0(r29) +/* 80100CE4 000FDC44 7F 63 DB 78 */ mr r3, r27 +/* 80100CE8 000FDC48 7F 84 E3 78 */ mr r4, r28 +/* 80100CEC 000FDC4C 7F C6 F3 78 */ mr r6, r30 +/* 80100CF0 000FDC50 B0 01 00 08 */ sth r0, 8(r1) +/* 80100CF4 000FDC54 38 A1 00 08 */ addi r5, r1, 8 +/* 80100CF8 000FDC58 4B F7 58 01 */ bl AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 80100CFC 000FDC5C BB 61 00 3C */ lmw r27, 0x3c(r1) +/* 80100D00 000FDC60 80 01 00 54 */ lwz r0, 0x54(r1) +/* 80100D04 000FDC64 7C 08 03 A6 */ mtlr r0 +/* 80100D08 000FDC68 38 21 00 50 */ addi r1, r1, 0x50 +/* 80100D0C 000FDC6C 4E 80 00 20 */ blr + +.global __dt__12CScriptWaterFv +__dt__12CScriptWaterFv: +/* 80100D10 000FDC70 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80100D14 000FDC74 7C 08 02 A6 */ mflr r0 +/* 80100D18 000FDC78 90 01 00 14 */ stw r0, 0x14(r1) +/* 80100D1C 000FDC7C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80100D20 000FDC80 7C 9F 23 78 */ mr r31, r4 +/* 80100D24 000FDC84 93 C1 00 08 */ stw r30, 8(r1) +/* 80100D28 000FDC88 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80100D2C 000FDC8C 41 82 01 C4 */ beq lbl_80100EF0 +/* 80100D30 000FDC90 3C 60 80 3E */ lis r3, lbl_803DFE70@ha +/* 80100D34 000FDC94 34 1E 02 E0 */ addic. r0, r30, 0x2e0 +/* 80100D38 000FDC98 38 03 FE 70 */ addi r0, r3, lbl_803DFE70@l +/* 80100D3C 000FDC9C 90 1E 00 00 */ stw r0, 0(r30) +/* 80100D40 000FDCA0 41 82 00 0C */ beq lbl_80100D4C +/* 80100D44 000FDCA4 80 7E 02 E0 */ lwz r3, 0x2e0(r30) +/* 80100D48 000FDCA8 48 21 4B E9 */ bl Free__7CMemoryFPCv +lbl_80100D4C: +/* 80100D4C 000FDCAC 34 1E 02 DC */ addic. r0, r30, 0x2dc +/* 80100D50 000FDCB0 41 82 00 0C */ beq lbl_80100D5C +/* 80100D54 000FDCB4 80 7E 02 DC */ lwz r3, 0x2dc(r30) +/* 80100D58 000FDCB8 48 21 4B D9 */ bl Free__7CMemoryFPCv +lbl_80100D5C: +/* 80100D5C 000FDCBC 34 1E 02 D8 */ addic. r0, r30, 0x2d8 +/* 80100D60 000FDCC0 41 82 00 0C */ beq lbl_80100D6C +/* 80100D64 000FDCC4 80 7E 02 D8 */ lwz r3, 0x2d8(r30) +/* 80100D68 000FDCC8 48 21 4B C9 */ bl Free__7CMemoryFPCv +lbl_80100D6C: +/* 80100D6C 000FDCCC 34 1E 02 98 */ addic. r0, r30, 0x298 +/* 80100D70 000FDCD0 41 82 00 58 */ beq lbl_80100DC8 +/* 80100D74 000FDCD4 80 BE 02 98 */ lwz r5, 0x298(r30) +/* 80100D78 000FDCD8 38 60 00 00 */ li r3, 0 +/* 80100D7C 000FDCDC 2C 05 00 00 */ cmpwi r5, 0 +/* 80100D80 000FDCE0 40 81 00 40 */ ble lbl_80100DC0 +/* 80100D84 000FDCE4 2C 05 00 08 */ cmpwi r5, 8 +/* 80100D88 000FDCE8 38 85 FF F8 */ addi r4, r5, -8 +/* 80100D8C 000FDCEC 40 81 00 20 */ ble lbl_80100DAC +/* 80100D90 000FDCF0 38 04 00 07 */ addi r0, r4, 7 +/* 80100D94 000FDCF4 54 00 E8 FE */ srwi r0, r0, 3 +/* 80100D98 000FDCF8 7C 09 03 A6 */ mtctr r0 +/* 80100D9C 000FDCFC 2C 04 00 00 */ cmpwi r4, 0 +/* 80100DA0 000FDD00 40 81 00 0C */ ble lbl_80100DAC +lbl_80100DA4: +/* 80100DA4 000FDD04 38 63 00 08 */ addi r3, r3, 8 +/* 80100DA8 000FDD08 42 00 FF FC */ bdnz lbl_80100DA4 +lbl_80100DAC: +/* 80100DAC 000FDD0C 7C 03 28 50 */ subf r0, r3, r5 +/* 80100DB0 000FDD10 7C 09 03 A6 */ mtctr r0 +/* 80100DB4 000FDD14 7C 03 28 00 */ cmpw r3, r5 +/* 80100DB8 000FDD18 40 80 00 08 */ bge lbl_80100DC0 +lbl_80100DBC: +/* 80100DBC 000FDD1C 42 00 00 00 */ bdnz lbl_80100DBC +lbl_80100DC0: +/* 80100DC0 000FDD20 38 00 00 00 */ li r0, 0 +/* 80100DC4 000FDD24 90 1E 02 98 */ stw r0, 0x298(r30) +lbl_80100DC8: +/* 80100DC8 000FDD28 38 7E 02 64 */ addi r3, r30, 0x264 +/* 80100DCC 000FDD2C 38 80 FF FF */ li r4, -1 +/* 80100DD0 000FDD30 48 00 02 7D */ bl "clear__Q24rstl78reserved_vector>,3>Fv" +/* 80100DD4 000FDD34 34 1E 02 50 */ addic. r0, r30, 0x250 +/* 80100DD8 000FDD38 41 82 00 30 */ beq lbl_80100E08 +/* 80100DDC 000FDD3C 88 1E 02 5C */ lbz r0, 0x25c(r30) +/* 80100DE0 000FDD40 28 00 00 00 */ cmplwi r0, 0 +/* 80100DE4 000FDD44 41 82 00 1C */ beq lbl_80100E00 +/* 80100DE8 000FDD48 34 7E 02 50 */ addic. r3, r30, 0x250 +/* 80100DEC 000FDD4C 41 82 00 14 */ beq lbl_80100E00 +/* 80100DF0 000FDD50 28 03 00 00 */ cmplwi r3, 0 +/* 80100DF4 000FDD54 41 82 00 0C */ beq lbl_80100E00 +/* 80100DF8 000FDD58 38 80 00 00 */ li r4, 0 +/* 80100DFC 000FDD5C 48 24 00 45 */ bl __dt__6CTokenFv +lbl_80100E00: +/* 80100E00 000FDD60 38 00 00 00 */ li r0, 0 +/* 80100E04 000FDD64 98 1E 02 5C */ stb r0, 0x25c(r30) +lbl_80100E08: +/* 80100E08 000FDD68 34 1E 02 3C */ addic. r0, r30, 0x23c +/* 80100E0C 000FDD6C 41 82 00 30 */ beq lbl_80100E3C +/* 80100E10 000FDD70 88 1E 02 48 */ lbz r0, 0x248(r30) +/* 80100E14 000FDD74 28 00 00 00 */ cmplwi r0, 0 +/* 80100E18 000FDD78 41 82 00 1C */ beq lbl_80100E34 +/* 80100E1C 000FDD7C 34 7E 02 3C */ addic. r3, r30, 0x23c +/* 80100E20 000FDD80 41 82 00 14 */ beq lbl_80100E34 +/* 80100E24 000FDD84 28 03 00 00 */ cmplwi r3, 0 +/* 80100E28 000FDD88 41 82 00 0C */ beq lbl_80100E34 +/* 80100E2C 000FDD8C 38 80 00 00 */ li r4, 0 +/* 80100E30 000FDD90 48 24 00 11 */ bl __dt__6CTokenFv +lbl_80100E34: +/* 80100E34 000FDD94 38 00 00 00 */ li r0, 0 +/* 80100E38 000FDD98 98 1E 02 48 */ stb r0, 0x248(r30) +lbl_80100E3C: +/* 80100E3C 000FDD9C 38 7E 01 FC */ addi r3, r30, 0x1fc +/* 80100E40 000FDDA0 38 80 FF FF */ li r4, -1 +/* 80100E44 000FDDA4 48 00 10 45 */ bl sub_80101e88 +/* 80100E48 000FDDA8 34 1E 01 B4 */ addic. r0, r30, 0x1b4 +/* 80100E4C 000FDDAC 41 82 00 24 */ beq lbl_80100E70 +/* 80100E50 000FDDB0 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 80100E54 000FDDB4 28 03 00 00 */ cmplwi r3, 0 +/* 80100E58 000FDDB8 41 82 00 18 */ beq lbl_80100E70 +/* 80100E5C 000FDDBC 81 83 00 00 */ lwz r12, 0(r3) +/* 80100E60 000FDDC0 38 80 00 01 */ li r4, 1 +/* 80100E64 000FDDC4 81 8C 00 08 */ lwz r12, 8(r12) +/* 80100E68 000FDDC8 7D 89 03 A6 */ mtctr r12 +/* 80100E6C 000FDDCC 4E 80 04 21 */ bctrl +lbl_80100E70: +/* 80100E70 000FDDD0 34 1E 01 50 */ addic. r0, r30, 0x150 +/* 80100E74 000FDDD4 41 82 00 60 */ beq lbl_80100ED4 +/* 80100E78 000FDDD8 34 1E 01 50 */ addic. r0, r30, 0x150 +/* 80100E7C 000FDDDC 41 82 00 58 */ beq lbl_80100ED4 +/* 80100E80 000FDDE0 80 BE 01 50 */ lwz r5, 0x150(r30) +/* 80100E84 000FDDE4 38 60 00 00 */ li r3, 0 +/* 80100E88 000FDDE8 2C 05 00 00 */ cmpwi r5, 0 +/* 80100E8C 000FDDEC 40 81 00 40 */ ble lbl_80100ECC +/* 80100E90 000FDDF0 2C 05 00 08 */ cmpwi r5, 8 +/* 80100E94 000FDDF4 38 85 FF F8 */ addi r4, r5, -8 +/* 80100E98 000FDDF8 40 81 00 20 */ ble lbl_80100EB8 +/* 80100E9C 000FDDFC 38 04 00 07 */ addi r0, r4, 7 +/* 80100EA0 000FDE00 54 00 E8 FE */ srwi r0, r0, 3 +/* 80100EA4 000FDE04 7C 09 03 A6 */ mtctr r0 +/* 80100EA8 000FDE08 2C 04 00 00 */ cmpwi r4, 0 +/* 80100EAC 000FDE0C 40 81 00 0C */ ble lbl_80100EB8 +lbl_80100EB0: +/* 80100EB0 000FDE10 38 63 00 08 */ addi r3, r3, 8 +/* 80100EB4 000FDE14 42 00 FF FC */ bdnz lbl_80100EB0 +lbl_80100EB8: +/* 80100EB8 000FDE18 7C 03 28 50 */ subf r0, r3, r5 +/* 80100EBC 000FDE1C 7C 09 03 A6 */ mtctr r0 +/* 80100EC0 000FDE20 7C 03 28 00 */ cmpw r3, r5 +/* 80100EC4 000FDE24 40 80 00 08 */ bge lbl_80100ECC +lbl_80100EC8: +/* 80100EC8 000FDE28 42 00 00 00 */ bdnz lbl_80100EC8 +lbl_80100ECC: +/* 80100ECC 000FDE2C 38 00 00 00 */ li r0, 0 +/* 80100ED0 000FDE30 90 1E 01 50 */ stw r0, 0x150(r30) +lbl_80100ED4: +/* 80100ED4 000FDE34 7F C3 F3 78 */ mr r3, r30 +/* 80100ED8 000FDE38 38 80 00 00 */ li r4, 0 +/* 80100EDC 000FDE3C 4B F7 5D A5 */ bl __dt__14CScriptTriggerFv +/* 80100EE0 000FDE40 7F E0 07 35 */ extsh. r0, r31 +/* 80100EE4 000FDE44 40 81 00 0C */ ble lbl_80100EF0 +/* 80100EE8 000FDE48 7F C3 F3 78 */ mr r3, r30 +/* 80100EEC 000FDE4C 48 21 4A 45 */ bl Free__7CMemoryFPCv +lbl_80100EF0: +/* 80100EF0 000FDE50 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80100EF4 000FDE54 7F C3 F3 78 */ mr r3, r30 +/* 80100EF8 000FDE58 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80100EFC 000FDE5C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80100F00 000FDE60 7C 08 03 A6 */ mtlr r0 +/* 80100F04 000FDE64 38 21 00 10 */ addi r1, r1, 0x10 +/* 80100F08 000FDE68 4E 80 00 20 */ blr + +.global __dt__14CFluidPlaneCPUFv +__dt__14CFluidPlaneCPUFv: +/* 80100F0C 000FDE6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80100F10 000FDE70 7C 08 02 A6 */ mflr r0 +/* 80100F14 000FDE74 90 01 00 14 */ stw r0, 0x14(r1) +/* 80100F18 000FDE78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80100F1C 000FDE7C 7C 9F 23 78 */ mr r31, r4 +/* 80100F20 000FDE80 93 C1 00 08 */ stw r30, 8(r1) +/* 80100F24 000FDE84 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80100F28 000FDE88 41 82 01 08 */ beq lbl_80101030 +/* 80100F2C 000FDE8C 3C 80 80 3E */ lis r4, lbl_803E46C8@ha +/* 80100F30 000FDE90 38 7E 01 20 */ addi r3, r30, 0x120 +/* 80100F34 000FDE94 38 04 46 C8 */ addi r0, r4, lbl_803E46C8@l +/* 80100F38 000FDE98 38 80 FF FF */ li r4, -1 +/* 80100F3C 000FDE9C 90 1E 00 00 */ stw r0, 0(r30) +/* 80100F40 000FDEA0 48 09 BB F5 */ bl __dt__11CTurbulenceFv +/* 80100F44 000FDEA4 34 1E 00 E0 */ addic. r0, r30, 0xe0 +/* 80100F48 000FDEA8 41 82 00 30 */ beq lbl_80100F78 +/* 80100F4C 000FDEAC 88 1E 00 EC */ lbz r0, 0xec(r30) +/* 80100F50 000FDEB0 28 00 00 00 */ cmplwi r0, 0 +/* 80100F54 000FDEB4 41 82 00 1C */ beq lbl_80100F70 +/* 80100F58 000FDEB8 34 7E 00 E0 */ addic. r3, r30, 0xe0 +/* 80100F5C 000FDEBC 41 82 00 14 */ beq lbl_80100F70 +/* 80100F60 000FDEC0 28 03 00 00 */ cmplwi r3, 0 +/* 80100F64 000FDEC4 41 82 00 0C */ beq lbl_80100F70 +/* 80100F68 000FDEC8 38 80 00 00 */ li r4, 0 +/* 80100F6C 000FDECC 48 23 FE D5 */ bl __dt__6CTokenFv +lbl_80100F70: +/* 80100F70 000FDED0 38 00 00 00 */ li r0, 0 +/* 80100F74 000FDED4 98 1E 00 EC */ stb r0, 0xec(r30) +lbl_80100F78: +/* 80100F78 000FDED8 34 1E 00 D0 */ addic. r0, r30, 0xd0 +/* 80100F7C 000FDEDC 41 82 00 30 */ beq lbl_80100FAC +/* 80100F80 000FDEE0 88 1E 00 DC */ lbz r0, 0xdc(r30) +/* 80100F84 000FDEE4 28 00 00 00 */ cmplwi r0, 0 +/* 80100F88 000FDEE8 41 82 00 1C */ beq lbl_80100FA4 +/* 80100F8C 000FDEEC 34 7E 00 D0 */ addic. r3, r30, 0xd0 +/* 80100F90 000FDEF0 41 82 00 14 */ beq lbl_80100FA4 +/* 80100F94 000FDEF4 28 03 00 00 */ cmplwi r3, 0 +/* 80100F98 000FDEF8 41 82 00 0C */ beq lbl_80100FA4 +/* 80100F9C 000FDEFC 38 80 00 00 */ li r4, 0 +/* 80100FA0 000FDF00 48 23 FE A1 */ bl __dt__6CTokenFv +lbl_80100FA4: +/* 80100FA4 000FDF04 38 00 00 00 */ li r0, 0 +/* 80100FA8 000FDF08 98 1E 00 DC */ stb r0, 0xdc(r30) +lbl_80100FAC: +/* 80100FAC 000FDF0C 34 1E 00 C0 */ addic. r0, r30, 0xc0 +/* 80100FB0 000FDF10 41 82 00 30 */ beq lbl_80100FE0 +/* 80100FB4 000FDF14 88 1E 00 CC */ lbz r0, 0xcc(r30) +/* 80100FB8 000FDF18 28 00 00 00 */ cmplwi r0, 0 +/* 80100FBC 000FDF1C 41 82 00 1C */ beq lbl_80100FD8 +/* 80100FC0 000FDF20 34 7E 00 C0 */ addic. r3, r30, 0xc0 +/* 80100FC4 000FDF24 41 82 00 14 */ beq lbl_80100FD8 +/* 80100FC8 000FDF28 28 03 00 00 */ cmplwi r3, 0 +/* 80100FCC 000FDF2C 41 82 00 0C */ beq lbl_80100FD8 +/* 80100FD0 000FDF30 38 80 00 00 */ li r4, 0 +/* 80100FD4 000FDF34 48 23 FE 6D */ bl __dt__6CTokenFv +lbl_80100FD8: +/* 80100FD8 000FDF38 38 00 00 00 */ li r0, 0 +/* 80100FDC 000FDF3C 98 1E 00 CC */ stb r0, 0xcc(r30) +lbl_80100FE0: +/* 80100FE0 000FDF40 34 1E 00 B0 */ addic. r0, r30, 0xb0 +/* 80100FE4 000FDF44 41 82 00 30 */ beq lbl_80101014 +/* 80100FE8 000FDF48 88 1E 00 BC */ lbz r0, 0xbc(r30) +/* 80100FEC 000FDF4C 28 00 00 00 */ cmplwi r0, 0 +/* 80100FF0 000FDF50 41 82 00 1C */ beq lbl_8010100C +/* 80100FF4 000FDF54 34 7E 00 B0 */ addic. r3, r30, 0xb0 +/* 80100FF8 000FDF58 41 82 00 14 */ beq lbl_8010100C +/* 80100FFC 000FDF5C 28 03 00 00 */ cmplwi r3, 0 +/* 80101000 000FDF60 41 82 00 0C */ beq lbl_8010100C +/* 80101004 000FDF64 38 80 00 00 */ li r4, 0 +/* 80101008 000FDF68 48 23 FE 39 */ bl __dt__6CTokenFv +lbl_8010100C: +/* 8010100C 000FDF6C 38 00 00 00 */ li r0, 0 +/* 80101010 000FDF70 98 1E 00 BC */ stb r0, 0xbc(r30) +lbl_80101014: +/* 80101014 000FDF74 7F C3 F3 78 */ mr r3, r30 +/* 80101018 000FDF78 38 80 00 00 */ li r4, 0 +/* 8010101C 000FDF7C 48 02 DB C1 */ bl __dt__11CFluidPlaneFv +/* 80101020 000FDF80 7F E0 07 35 */ extsh. r0, r31 +/* 80101024 000FDF84 40 81 00 0C */ ble lbl_80101030 +/* 80101028 000FDF88 7F C3 F3 78 */ mr r3, r30 +/* 8010102C 000FDF8C 48 21 49 05 */ bl Free__7CMemoryFPCv +lbl_80101030: +/* 80101030 000FDF90 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80101034 000FDF94 7F C3 F3 78 */ mr r3, r30 +/* 80101038 000FDF98 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8010103C 000FDF9C 83 C1 00 08 */ lwz r30, 8(r1) +/* 80101040 000FDFA0 7C 08 03 A6 */ mtlr r0 +/* 80101044 000FDFA4 38 21 00 10 */ addi r1, r1, 0x10 +/* 80101048 000FDFA8 4E 80 00 20 */ blr + +.global "clear__Q24rstl78reserved_vector>,3>Fv" +"clear__Q24rstl78reserved_vector>,3>Fv": +/* 8010104C 000FDFAC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80101050 000FDFB0 7C 08 02 A6 */ mflr r0 +/* 80101054 000FDFB4 90 01 00 24 */ stw r0, 0x24(r1) +/* 80101058 000FDFB8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 8010105C 000FDFBC 7C 7B 1B 79 */ or. r27, r3, r3 +/* 80101060 000FDFC0 7C 9C 23 78 */ mr r28, r4 +/* 80101064 000FDFC4 41 82 00 70 */ beq lbl_801010D4 +/* 80101068 000FDFC8 3B C0 00 00 */ li r30, 0 +/* 8010106C 000FDFCC 3B BB 00 04 */ addi r29, r27, 4 +/* 80101070 000FDFD0 7F DF F3 78 */ mr r31, r30 +/* 80101074 000FDFD4 48 00 00 3C */ b lbl_801010B0 +lbl_80101078: +/* 80101078 000FDFD8 28 1D 00 00 */ cmplwi r29, 0 +/* 8010107C 000FDFDC 41 82 00 2C */ beq lbl_801010A8 +/* 80101080 000FDFE0 88 1D 00 0C */ lbz r0, 0xc(r29) +/* 80101084 000FDFE4 28 00 00 00 */ cmplwi r0, 0 +/* 80101088 000FDFE8 41 82 00 1C */ beq lbl_801010A4 +/* 8010108C 000FDFEC 28 1D 00 00 */ cmplwi r29, 0 +/* 80101090 000FDFF0 41 82 00 14 */ beq lbl_801010A4 +/* 80101094 000FDFF4 41 82 00 10 */ beq lbl_801010A4 +/* 80101098 000FDFF8 7F A3 EB 78 */ mr r3, r29 +/* 8010109C 000FDFFC 38 80 00 00 */ li r4, 0 +/* 801010A0 000FE000 48 23 FD A1 */ bl __dt__6CTokenFv +lbl_801010A4: +/* 801010A4 000FE004 9B FD 00 0C */ stb r31, 0xc(r29) +lbl_801010A8: +/* 801010A8 000FE008 3B BD 00 10 */ addi r29, r29, 0x10 +/* 801010AC 000FE00C 3B DE 00 01 */ addi r30, r30, 1 +lbl_801010B0: +/* 801010B0 000FE010 80 1B 00 00 */ lwz r0, 0(r27) +/* 801010B4 000FE014 7C 1E 00 00 */ cmpw r30, r0 +/* 801010B8 000FE018 41 80 FF C0 */ blt lbl_80101078 +/* 801010BC 000FE01C 38 60 00 00 */ li r3, 0 +/* 801010C0 000FE020 7F 80 07 35 */ extsh. r0, r28 +/* 801010C4 000FE024 90 7B 00 00 */ stw r3, 0(r27) +/* 801010C8 000FE028 40 81 00 0C */ ble lbl_801010D4 +/* 801010CC 000FE02C 7F 63 DB 78 */ mr r3, r27 +/* 801010D0 000FE030 48 21 48 61 */ bl Free__7CMemoryFPCv +lbl_801010D4: +/* 801010D4 000FE034 7F 63 DB 78 */ mr r3, r27 +/* 801010D8 000FE038 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 801010DC 000FE03C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 801010E0 000FE040 7C 08 03 A6 */ mtlr r0 +/* 801010E4 000FE044 38 21 00 20 */ addi r1, r1, 0x20 +/* 801010E8 000FE048 4E 80 00 20 */ blr + +.global "__ct__12CScriptWaterFR13CStateManager9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbUiUiUiUiUiUiUiRC9CVector3fffbQ211CFluidPlane10EFluidTypebfRC14CFluidUVMotionffffffffRC6CColorRC6CColorUiUiUiUiUiiiiifUiffffffffRC6CColorUifffUiUibiiPCUi" +"__ct__12CScriptWaterFR13CStateManager9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbUiUiUiUiUiUiUiRC9CVector3fffbQ211CFluidPlane10EFluidTypebfRC14CFluidUVMotionffffffffRC6CColorRC6CColorUiUiUiUiUiiiiifUiffffffffRC6CColorUifffUiUibiiPCUi": +/* 801010EC 000FE04C 94 21 FD 30 */ stwu r1, -0x2d0(r1) +/* 801010F0 000FE050 7C 08 02 A6 */ mflr r0 +/* 801010F4 000FE054 90 01 02 D4 */ stw r0, 0x2d4(r1) +/* 801010F8 000FE058 DB E1 02 C0 */ stfd f31, 0x2c0(r1) +/* 801010FC 000FE05C F3 E1 02 C8 */ psq_st f31, 712(r1), 0, qr0 +/* 80101100 000FE060 DB C1 02 B0 */ stfd f30, 0x2b0(r1) +/* 80101104 000FE064 F3 C1 02 B8 */ psq_st f30, 696(r1), 0, qr0 +/* 80101108 000FE068 DB A1 02 A0 */ stfd f29, 0x2a0(r1) +/* 8010110C 000FE06C F3 A1 02 A8 */ psq_st f29, 680(r1), 0, qr0 +/* 80101110 000FE070 DB 81 02 90 */ stfd f28, 0x290(r1) +/* 80101114 000FE074 F3 81 02 98 */ psq_st f28, 664(r1), 0, qr0 +/* 80101118 000FE078 DB 61 02 80 */ stfd f27, 0x280(r1) +/* 8010111C 000FE07C F3 61 02 88 */ psq_st f27, 648(r1), 0, qr0 +/* 80101120 000FE080 DB 41 02 70 */ stfd f26, 0x270(r1) +/* 80101124 000FE084 F3 41 02 78 */ psq_st f26, 632(r1), 0, qr0 +/* 80101128 000FE088 DB 21 02 60 */ stfd f25, 0x260(r1) +/* 8010112C 000FE08C F3 21 02 68 */ psq_st f25, 616(r1), 0, qr0 +/* 80101130 000FE090 DB 01 02 50 */ stfd f24, 0x250(r1) +/* 80101134 000FE094 F3 01 02 58 */ psq_st f24, 600(r1), 0, qr0 +/* 80101138 000FE098 DA E1 02 40 */ stfd f23, 0x240(r1) +/* 8010113C 000FE09C F2 E1 02 48 */ psq_st f23, 584(r1), 0, qr0 +/* 80101140 000FE0A0 DA C1 02 30 */ stfd f22, 0x230(r1) +/* 80101144 000FE0A4 F2 C1 02 38 */ psq_st f22, 568(r1), 0, qr0 +/* 80101148 000FE0A8 DA A1 02 20 */ stfd f21, 0x220(r1) +/* 8010114C 000FE0AC F2 A1 02 28 */ psq_st f21, 552(r1), 0, qr0 +/* 80101150 000FE0B0 DA 81 02 10 */ stfd f20, 0x210(r1) +/* 80101154 000FE0B4 F2 81 02 18 */ psq_st f20, 536(r1), 0, qr0 +/* 80101158 000FE0B8 DA 61 02 00 */ stfd f19, 0x200(r1) +/* 8010115C 000FE0BC F2 61 02 08 */ psq_st f19, 520(r1), 0, qr0 +/* 80101160 000FE0C0 DA 41 01 F0 */ stfd f18, 0x1f0(r1) +/* 80101164 000FE0C4 F2 41 01 F8 */ psq_st f18, 504(r1), 0, qr0 +/* 80101168 000FE0C8 DA 21 01 E0 */ stfd f17, 0x1e0(r1) +/* 8010116C 000FE0CC F2 21 01 E8 */ psq_st f17, 488(r1), 0, qr0 +/* 80101170 000FE0D0 DA 01 01 D0 */ stfd f16, 0x1d0(r1) +/* 80101174 000FE0D4 F2 01 01 D8 */ psq_st f16, 472(r1), 0, qr0 +/* 80101178 000FE0D8 D9 E1 01 C0 */ stfd f15, 0x1c0(r1) +/* 8010117C 000FE0DC F1 E1 01 C8 */ psq_st f15, 456(r1), 0, qr0 +/* 80101180 000FE0E0 D9 C1 01 B0 */ stfd f14, 0x1b0(r1) +/* 80101184 000FE0E4 F1 C1 01 B8 */ psq_st f14, 440(r1), 0, qr0 +/* 80101188 000FE0E8 BD C1 01 68 */ stmw r14, 0x168(r1) +/* 8010118C 000FE0EC A0 05 00 00 */ lhz r0, 0(r5) +/* 80101190 000FE0F0 7D 52 53 78 */ mr r18, r10 +/* 80101194 000FE0F4 7D 31 4B 78 */ mr r17, r9 +/* 80101198 000FE0F8 7D 10 43 78 */ mr r16, r8 +/* 8010119C 000FE0FC B0 01 00 40 */ sth r0, 0x40(r1) +/* 801011A0 000FE100 38 80 00 00 */ li r4, 0 +/* 801011A4 000FE104 80 A1 02 DC */ lwz r5, 0x2dc(r1) +/* 801011A8 000FE108 FD C0 08 90 */ fmr f14, f1 +/* 801011AC 000FE10C 88 01 03 0B */ lbz r0, 0x30b(r1) +/* 801011B0 000FE110 FD E0 10 90 */ fmr f15, f2 +/* 801011B4 000FE114 90 A1 00 08 */ stw r5, 8(r1) +/* 801011B8 000FE118 7C C5 33 78 */ mr r5, r6 +/* 801011BC 000FE11C 7C E6 3B 78 */ mr r6, r7 +/* 801011C0 000FE120 90 01 00 0C */ stw r0, 0xc(r1) +/* 801011C4 000FE124 FE 00 18 90 */ fmr f16, f3 +/* 801011C8 000FE128 FE 20 20 90 */ fmr f17, f4 +/* 801011CC 000FE12C 81 41 02 D8 */ lwz r10, 0x2d8(r1) +/* 801011D0 000FE130 90 81 00 10 */ stw r4, 0x10(r1) +/* 801011D4 000FE134 FE 40 28 90 */ fmr f18, f5 +/* 801011D8 000FE138 FE 60 30 90 */ fmr f19, f6 +/* 801011DC 000FE13C 90 81 00 14 */ stw r4, 0x14(r1) +/* 801011E0 000FE140 FE 80 38 90 */ fmr f20, f7 +/* 801011E4 000FE144 8A 61 03 13 */ lbz r19, 0x313(r1) +/* 801011E8 000FE148 FE A0 40 90 */ fmr f21, f8 +/* 801011EC 000FE14C 82 81 03 14 */ lwz r20, 0x314(r1) +/* 801011F0 000FE150 C2 C1 03 18 */ lfs f22, 0x318(r1) +/* 801011F4 000FE154 7C 6F 1B 78 */ mr r15, r3 +/* 801011F8 000FE158 C2 E1 03 1C */ lfs f23, 0x31c(r1) +/* 801011FC 000FE15C 7E 07 83 78 */ mr r7, r16 +/* 80101200 000FE160 C3 01 03 20 */ lfs f24, 0x320(r1) +/* 80101204 000FE164 7E 28 8B 78 */ mr r8, r17 +/* 80101208 000FE168 C3 21 03 24 */ lfs f25, 0x324(r1) +/* 8010120C 000FE16C 7E 49 93 78 */ mr r9, r18 +/* 80101210 000FE170 82 A1 03 28 */ lwz r21, 0x328(r1) +/* 80101214 000FE174 38 81 00 40 */ addi r4, r1, 0x40 +/* 80101218 000FE178 82 C1 03 2C */ lwz r22, 0x32c(r1) +/* 8010121C 000FE17C 82 E1 03 30 */ lwz r23, 0x330(r1) +/* 80101220 000FE180 83 01 03 34 */ lwz r24, 0x334(r1) +/* 80101224 000FE184 83 21 03 38 */ lwz r25, 0x338(r1) +/* 80101228 000FE188 83 41 03 3C */ lwz r26, 0x33c(r1) +/* 8010122C 000FE18C 83 61 03 40 */ lwz r27, 0x340(r1) +/* 80101230 000FE190 83 81 03 44 */ lwz r28, 0x344(r1) +/* 80101234 000FE194 83 A1 03 48 */ lwz r29, 0x348(r1) +/* 80101238 000FE198 C3 41 03 58 */ lfs f26, 0x358(r1) +/* 8010123C 000FE19C 83 C1 03 5C */ lwz r30, 0x35c(r1) +/* 80101240 000FE1A0 C3 61 03 74 */ lfs f27, 0x374(r1) +/* 80101244 000FE1A4 C3 81 03 78 */ lfs f28, 0x378(r1) +/* 80101248 000FE1A8 C3 A1 03 7C */ lfs f29, 0x37c(r1) +/* 8010124C 000FE1AC 81 C1 03 80 */ lwz r14, 0x380(r1) +/* 80101250 000FE1B0 83 E1 03 84 */ lwz r31, 0x384(r1) +/* 80101254 000FE1B4 C3 C1 03 8C */ lfs f30, 0x38c(r1) +/* 80101258 000FE1B8 C3 E1 03 90 */ lfs f31, 0x390(r1) +/* 8010125C 000FE1BC 4B F7 5A FD */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" +/* 80101260 000FE1C0 3C 60 80 3E */ lis r3, lbl_803DFE70@ha +/* 80101264 000FE1C4 38 80 00 00 */ li r4, 0 +/* 80101268 000FE1C8 38 03 FE 70 */ addi r0, r3, lbl_803DFE70@l +/* 8010126C 000FE1CC C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) +/* 80101270 000FE1D0 90 0F 00 00 */ stw r0, 0(r15) +/* 80101274 000FE1D4 38 0F 02 08 */ addi r0, r15, 0x208 +/* 80101278 000FE1D8 57 83 04 3E */ clrlwi r3, r28, 0x10 +/* 8010127C 000FE1DC 90 8F 01 50 */ stw r4, 0x150(r15) +/* 80101280 000FE1E0 90 8F 01 B4 */ stw r4, 0x1b4(r15) +/* 80101284 000FE1E4 C0 30 00 00 */ lfs f1, 0(r16) +/* 80101288 000FE1E8 D0 2F 01 B8 */ stfs f1, 0x1b8(r15) +/* 8010128C 000FE1EC C0 30 00 04 */ lfs f1, 4(r16) +/* 80101290 000FE1F0 D0 2F 01 BC */ stfs f1, 0x1bc(r15) +/* 80101294 000FE1F4 C0 30 00 08 */ lfs f1, 8(r16) +/* 80101298 000FE1F8 D0 2F 01 C0 */ stfs f1, 0x1c0(r15) +/* 8010129C 000FE1FC C0 51 00 0C */ lfs f2, 0xc(r17) +/* 801012A0 000FE200 C0 31 00 00 */ lfs f1, 0(r17) +/* 801012A4 000FE204 C0 91 00 10 */ lfs f4, 0x10(r17) +/* 801012A8 000FE208 C0 71 00 04 */ lfs f3, 4(r17) +/* 801012AC 000FE20C EC 22 08 28 */ fsubs f1, f2, f1 +/* 801012B0 000FE210 C0 B1 00 14 */ lfs f5, 0x14(r17) +/* 801012B4 000FE214 C0 51 00 08 */ lfs f2, 8(r17) +/* 801012B8 000FE218 EC 64 18 28 */ fsubs f3, f4, f3 +/* 801012BC 000FE21C D0 2F 01 C4 */ stfs f1, 0x1c4(r15) +/* 801012C0 000FE220 EC 25 10 28 */ fsubs f1, f5, f2 +/* 801012C4 000FE224 D0 6F 01 C8 */ stfs f3, 0x1c8(r15) +/* 801012C8 000FE228 D0 2F 01 CC */ stfs f1, 0x1cc(r15) +/* 801012CC 000FE22C D1 EF 01 D0 */ stfs f15, 0x1d0(r15) +/* 801012D0 000FE230 C0 30 00 00 */ lfs f1, 0(r16) +/* 801012D4 000FE234 D0 2F 01 D4 */ stfs f1, 0x1d4(r15) +/* 801012D8 000FE238 C0 30 00 04 */ lfs f1, 4(r16) +/* 801012DC 000FE23C D0 2F 01 D8 */ stfs f1, 0x1d8(r15) +/* 801012E0 000FE240 C0 30 00 08 */ lfs f1, 8(r16) +/* 801012E4 000FE244 D0 2F 01 DC */ stfs f1, 0x1dc(r15) +/* 801012E8 000FE248 C0 51 00 0C */ lfs f2, 0xc(r17) +/* 801012EC 000FE24C C0 31 00 00 */ lfs f1, 0(r17) +/* 801012F0 000FE250 C0 91 00 10 */ lfs f4, 0x10(r17) +/* 801012F4 000FE254 C0 71 00 04 */ lfs f3, 4(r17) +/* 801012F8 000FE258 EC 22 08 28 */ fsubs f1, f2, f1 +/* 801012FC 000FE25C C0 B1 00 14 */ lfs f5, 0x14(r17) +/* 80101300 000FE260 C0 51 00 08 */ lfs f2, 8(r17) +/* 80101304 000FE264 EC 64 18 28 */ fsubs f3, f4, f3 +/* 80101308 000FE268 D0 2F 01 E0 */ stfs f1, 0x1e0(r15) +/* 8010130C 000FE26C EC 25 10 28 */ fsubs f1, f5, f2 +/* 80101310 000FE270 D0 6F 01 E4 */ stfs f3, 0x1e4(r15) +/* 80101314 000FE274 D0 2F 01 E8 */ stfs f1, 0x1e8(r15) +/* 80101318 000FE278 C0 32 00 08 */ lfs f1, 8(r18) +/* 8010131C 000FE27C D0 2F 01 EC */ stfs f1, 0x1ec(r15) +/* 80101320 000FE280 C0 32 00 08 */ lfs f1, 8(r18) +/* 80101324 000FE284 D0 2F 01 F0 */ stfs f1, 0x1f0(r15) +/* 80101328 000FE288 D2 0F 01 F4 */ stfs f16, 0x1f4(r15) +/* 8010132C 000FE28C D0 0F 01 F8 */ stfs f0, 0x1f8(r15) +/* 80101330 000FE290 90 0F 02 00 */ stw r0, 0x200(r15) +/* 80101334 000FE294 90 0F 02 04 */ stw r0, 0x204(r15) +/* 80101338 000FE298 90 0F 02 08 */ stw r0, 0x208(r15) +/* 8010133C 000FE29C 90 0F 02 0C */ stw r0, 0x20c(r15) +/* 80101340 000FE2A0 90 8F 02 10 */ stw r4, 0x210(r15) +/* 80101344 000FE2A4 D3 6F 02 14 */ stfs f27, 0x214(r15) +/* 80101348 000FE2A8 D3 8F 02 18 */ stfs f28, 0x218(r15) +/* 8010134C 000FE2AC D3 6F 02 1C */ stfs f27, 0x21c(r15) +/* 80101350 000FE2B0 D3 8F 02 20 */ stfs f28, 0x220(r15) +/* 80101354 000FE2B4 D3 AF 02 24 */ stfs f29, 0x224(r15) +/* 80101358 000FE2B8 80 0E 00 00 */ lwz r0, 0(r14) +/* 8010135C 000FE2BC 90 0F 02 28 */ stw r0, 0x228(r15) +/* 80101360 000FE2C0 92 EF 02 2C */ stw r23, 0x22c(r15) +/* 80101364 000FE2C4 93 0F 02 30 */ stw r24, 0x230(r15) +/* 80101368 000FE2C8 93 2F 02 34 */ stw r25, 0x234(r15) +/* 8010136C 000FE2CC 93 4F 02 38 */ stw r26, 0x238(r15) +/* 80101370 000FE2D0 98 8F 02 48 */ stb r4, 0x248(r15) +/* 80101374 000FE2D4 93 6F 02 4C */ stw r27, 0x24c(r15) +/* 80101378 000FE2D8 98 8F 02 5C */ stb r4, 0x25c(r15) +/* 8010137C 000FE2DC 48 1E 76 35 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80101380 000FE2E0 B0 6F 02 60 */ sth r3, 0x260(r15) +/* 80101384 000FE2E4 57 A3 04 3E */ clrlwi r3, r29, 0x10 +/* 80101388 000FE2E8 48 1E 76 29 */ bl TranslateSFXID__11CSfxManagerFUs +/* 8010138C 000FE2EC B0 6F 02 62 */ sth r3, 0x262(r15) +/* 80101390 000FE2F0 38 00 00 00 */ li r0, 0 +/* 80101394 000FE2F4 C0 22 93 BC */ lfs f1, lbl_805AB0DC@sda21(r2) +/* 80101398 000FE2F8 90 0F 02 64 */ stw r0, 0x264(r15) +/* 8010139C 000FE2FC FC 1E 08 00 */ fcmpu cr0, f30, f1 +/* 801013A0 000FE300 90 0F 02 98 */ stw r0, 0x298(r15) +/* 801013A4 000FE304 80 15 00 00 */ lwz r0, 0(r21) +/* 801013A8 000FE308 90 0F 02 A4 */ stw r0, 0x2a4(r15) +/* 801013AC 000FE30C 80 16 00 00 */ lwz r0, 0(r22) +/* 801013B0 000FE310 90 0F 02 A8 */ stw r0, 0x2a8(r15) +/* 801013B4 000FE314 D3 CF 02 AC */ stfs f30, 0x2ac(r15) +/* 801013B8 000FE318 D3 EF 02 B0 */ stfs f31, 0x2b0(r15) +/* 801013BC 000FE31C 41 82 00 0C */ beq lbl_801013C8 +/* 801013C0 000FE320 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) +/* 801013C4 000FE324 EC 20 F0 24 */ fdivs f1, f0, f30 +lbl_801013C8: +/* 801013C8 000FE328 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) +/* 801013CC 000FE32C D0 2F 02 B4 */ stfs f1, 0x2b4(r15) +/* 801013D0 000FE330 FC 1F 00 00 */ fcmpu cr0, f31, f0 +/* 801013D4 000FE334 41 82 00 0C */ beq lbl_801013E0 +/* 801013D8 000FE338 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) +/* 801013DC 000FE33C EC 00 F8 24 */ fdivs f0, f0, f31 +lbl_801013E0: +/* 801013E0 000FE340 D0 0F 02 B8 */ stfs f0, 0x2b8(r15) +/* 801013E4 000FE344 7D E4 7B 78 */ mr r4, r15 +/* 801013E8 000FE348 38 61 01 40 */ addi r3, r1, 0x140 +/* 801013EC 000FE34C D2 2F 02 BC */ stfs f17, 0x2bc(r15) +/* 801013F0 000FE350 D3 4F 02 C0 */ stfs f26, 0x2c0(r15) +/* 801013F4 000FE354 4B F7 52 D9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 801013F8 000FE358 C0 21 01 4C */ lfs f1, 0x14c(r1) +/* 801013FC 000FE35C C0 01 01 40 */ lfs f0, 0x140(r1) +/* 80101400 000FE360 C0 4F 02 C0 */ lfs f2, 0x2c0(r15) +/* 80101404 000FE364 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80101408 000FE368 C0 02 93 B8 */ lfs f0, lbl_805AB0D8@sda21(r2) +/* 8010140C 000FE36C EC 22 08 2A */ fadds f1, f2, f1 +/* 80101410 000FE370 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80101414 000FE374 EC 20 10 24 */ fdivs f1, f0, f2 +/* 80101418 000FE378 48 21 3E 85 */ bl FloorF__5CMathFf +/* 8010141C 000FE37C FC 00 08 1E */ fctiwz f0, f1 +/* 80101420 000FE380 7D E4 7B 78 */ mr r4, r15 +/* 80101424 000FE384 38 61 01 28 */ addi r3, r1, 0x128 +/* 80101428 000FE388 D8 01 01 58 */ stfd f0, 0x158(r1) +/* 8010142C 000FE38C 80 01 01 5C */ lwz r0, 0x15c(r1) +/* 80101430 000FE390 90 0F 02 C4 */ stw r0, 0x2c4(r15) +/* 80101434 000FE394 4B F7 52 99 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80101438 000FE398 C0 21 01 38 */ lfs f1, 0x138(r1) +/* 8010143C 000FE39C C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 80101440 000FE3A0 C0 4F 02 C0 */ lfs f2, 0x2c0(r15) +/* 80101444 000FE3A4 EC 21 00 28 */ fsubs f1, f1, f0 +/* 80101448 000FE3A8 C0 02 93 B8 */ lfs f0, lbl_805AB0D8@sda21(r2) +/* 8010144C 000FE3AC EC 22 08 2A */ fadds f1, f2, f1 +/* 80101450 000FE3B0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 80101454 000FE3B4 EC 20 10 24 */ fdivs f1, f0, f2 +/* 80101458 000FE3B8 48 21 3E 45 */ bl FloorF__5CMathFf +/* 8010145C 000FE3BC FC 00 08 1E */ fctiwz f0, f1 +/* 80101460 000FE3C0 3C 60 80 3D */ lis r3, lbl_803CEE38@ha +/* 80101464 000FE3C4 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l +/* 80101468 000FE3C8 39 00 00 00 */ li r8, 0 +/* 8010146C 000FE3CC 38 C0 00 01 */ li r6, 1 +/* 80101470 000FE3D0 38 60 01 58 */ li r3, 0x158 +/* 80101474 000FE3D4 D8 01 01 60 */ stfd f0, 0x160(r1) +/* 80101478 000FE3D8 38 A0 00 00 */ li r5, 0 +/* 8010147C 000FE3DC 80 01 01 64 */ lwz r0, 0x164(r1) +/* 80101480 000FE3E0 90 0F 02 C8 */ stw r0, 0x2c8(r15) +/* 80101484 000FE3E4 81 2F 02 C4 */ lwz r9, 0x2c4(r15) +/* 80101488 000FE3E8 80 EF 02 C8 */ lwz r7, 0x2c8(r15) +/* 8010148C 000FE3EC 39 29 00 01 */ addi r9, r9, 1 +/* 80101490 000FE3F0 38 07 00 01 */ addi r0, r7, 1 +/* 80101494 000FE3F4 7C 09 01 D6 */ mullw r0, r9, r0 +/* 80101498 000FE3F8 90 0F 02 CC */ stw r0, 0x2cc(r15) +/* 8010149C 000FE3FC 91 0F 02 D0 */ stw r8, 0x2d0(r15) +/* 801014A0 000FE400 91 0F 02 D4 */ stw r8, 0x2d4(r15) +/* 801014A4 000FE404 91 0F 02 D8 */ stw r8, 0x2d8(r15) +/* 801014A8 000FE408 91 0F 02 DC */ stw r8, 0x2dc(r15) +/* 801014AC 000FE40C 91 0F 02 E0 */ stw r8, 0x2e0(r15) +/* 801014B0 000FE410 91 0F 02 E4 */ stw r8, 0x2e4(r15) +/* 801014B4 000FE414 88 0F 02 E8 */ lbz r0, 0x2e8(r15) +/* 801014B8 000FE418 52 60 3E 30 */ rlwimi r0, r19, 7, 0x18, 0x18 +/* 801014BC 000FE41C 98 0F 02 E8 */ stb r0, 0x2e8(r15) +/* 801014C0 000FE420 88 0F 02 E8 */ lbz r0, 0x2e8(r15) +/* 801014C4 000FE424 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 +/* 801014C8 000FE428 98 0F 02 E8 */ stb r0, 0x2e8(r15) +/* 801014CC 000FE42C 88 0F 02 E8 */ lbz r0, 0x2e8(r15) +/* 801014D0 000FE430 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a +/* 801014D4 000FE434 98 0F 02 E8 */ stb r0, 0x2e8(r15) +/* 801014D8 000FE438 88 01 02 E7 */ lbz r0, 0x2e7(r1) +/* 801014DC 000FE43C 88 EF 02 E8 */ lbz r7, 0x2e8(r15) +/* 801014E0 000FE440 50 07 26 F6 */ rlwimi r7, r0, 4, 0x1b, 0x1b +/* 801014E4 000FE444 98 EF 02 E8 */ stb r7, 0x2e8(r15) +/* 801014E8 000FE448 88 0F 02 E8 */ lbz r0, 0x2e8(r15) +/* 801014EC 000FE44C 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c +/* 801014F0 000FE450 98 0F 02 E8 */ stb r0, 0x2e8(r15) +/* 801014F4 000FE454 88 0F 02 E8 */ lbz r0, 0x2e8(r15) +/* 801014F8 000FE458 51 00 17 7A */ rlwimi r0, r8, 2, 0x1d, 0x1d +/* 801014FC 000FE45C 98 0F 02 E8 */ stb r0, 0x2e8(r15) +/* 80101500 000FE460 88 0F 02 E8 */ lbz r0, 0x2e8(r15) +/* 80101504 000FE464 51 00 0F BC */ rlwimi r0, r8, 1, 0x1e, 0x1e +/* 80101508 000FE468 98 0F 02 E8 */ stb r0, 0x2e8(r15) +/* 8010150C 000FE46C 48 21 43 61 */ bl __nw__FUlPCcPCc +/* 80101510 000FE470 7C 6E 1B 79 */ or. r14, r3, r3 +/* 80101514 000FE474 41 82 00 98 */ beq lbl_801015AC +/* 80101518 000FE478 93 C1 00 08 */ stw r30, 8(r1) +/* 8010151C 000FE47C FC 40 D0 90 */ fmr f2, f26 +/* 80101520 000FE480 80 01 03 0C */ lwz r0, 0x30c(r1) +/* 80101524 000FE484 FC 60 88 90 */ fmr f3, f17 +/* 80101528 000FE488 C0 01 03 60 */ lfs f0, 0x360(r1) +/* 8010152C 000FE48C FC 80 70 90 */ fmr f4, f14 +/* 80101530 000FE490 90 01 00 0C */ stw r0, 0xc(r1) +/* 80101534 000FE494 80 01 03 04 */ lwz r0, 0x304(r1) +/* 80101538 000FE498 FC A0 90 90 */ fmr f5, f18 +/* 8010153C 000FE49C FC C0 98 90 */ fmr f6, f19 +/* 80101540 000FE4A0 C0 21 03 88 */ lfs f1, 0x388(r1) +/* 80101544 000FE4A4 90 01 00 10 */ stw r0, 0x10(r1) +/* 80101548 000FE4A8 FC E0 A0 90 */ fmr f7, f20 +/* 8010154C 000FE4AC FD 00 A8 90 */ fmr f8, f21 +/* 80101550 000FE4B0 92 81 00 14 */ stw r20, 0x14(r1) +/* 80101554 000FE4B4 80 81 02 E8 */ lwz r4, 0x2e8(r1) +/* 80101558 000FE4B8 7F EA FB 78 */ mr r10, r31 +/* 8010155C 000FE4BC D2 C1 00 18 */ stfs f22, 0x18(r1) +/* 80101560 000FE4C0 80 A1 02 EC */ lwz r5, 0x2ec(r1) +/* 80101564 000FE4C4 D2 E1 00 1C */ stfs f23, 0x1c(r1) +/* 80101568 000FE4C8 80 C1 02 F0 */ lwz r6, 0x2f0(r1) +/* 8010156C 000FE4CC D3 01 00 20 */ stfs f24, 0x20(r1) +/* 80101570 000FE4D0 80 E1 02 F4 */ lwz r7, 0x2f4(r1) +/* 80101574 000FE4D4 D3 21 00 24 */ stfs f25, 0x24(r1) +/* 80101578 000FE4D8 81 01 02 F8 */ lwz r8, 0x2f8(r1) +/* 8010157C 000FE4DC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80101580 000FE4E0 C0 01 03 64 */ lfs f0, 0x364(r1) +/* 80101584 000FE4E4 81 21 02 FC */ lwz r9, 0x2fc(r1) +/* 80101588 000FE4E8 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 8010158C 000FE4EC C0 01 03 70 */ lfs f0, 0x370(r1) +/* 80101590 000FE4F0 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 80101594 000FE4F4 C0 01 03 68 */ lfs f0, 0x368(r1) +/* 80101598 000FE4F8 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 8010159C 000FE4FC C0 01 03 6C */ lfs f0, 0x36c(r1) +/* 801015A0 000FE500 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 801015A4 000FE504 48 09 B8 1D */ bl __ct__14CFluidPlaneCPUFUiUiUiUiUiUifUiQ211CFluidPlane10EFluidTypefRC9CVector3ffRC14CFluidUVMotionfffffffffffff +/* 801015A8 000FE508 7C 6E 1B 78 */ mr r14, r3 +lbl_801015AC: +/* 801015AC 000FE50C 80 6F 01 B4 */ lwz r3, 0x1b4(r15) +/* 801015B0 000FE510 28 03 00 00 */ cmplwi r3, 0 +/* 801015B4 000FE514 41 82 00 18 */ beq lbl_801015CC +/* 801015B8 000FE518 81 83 00 00 */ lwz r12, 0(r3) +/* 801015BC 000FE51C 38 80 00 01 */ li r4, 1 +/* 801015C0 000FE520 81 8C 00 08 */ lwz r12, 8(r12) +/* 801015C4 000FE524 7D 89 03 A6 */ mtctr r12 +/* 801015C8 000FE528 4E 80 04 21 */ bctrl +lbl_801015CC: +/* 801015CC 000FE52C 91 CF 01 B4 */ stw r14, 0x1b4(r15) +/* 801015D0 000FE530 80 61 03 A8 */ lwz r3, 0x3a8(r1) +/* 801015D4 000FE534 48 21 43 5D */ bl Free__7CMemoryFPCv +/* 801015D8 000FE538 38 60 00 00 */ li r3, 0 +/* 801015DC 000FE53C 38 8F 02 64 */ addi r4, r15, 0x264 +/* 801015E0 000FE540 98 61 01 24 */ stb r3, 0x124(r1) +/* 801015E4 000FE544 80 0F 02 64 */ lwz r0, 0x264(r15) +/* 801015E8 000FE548 54 00 20 36 */ slwi r0, r0, 4 +/* 801015EC 000FE54C 7D C4 02 14 */ add r14, r4, r0 +/* 801015F0 000FE550 35 CE 00 04 */ addic. r14, r14, 4 +/* 801015F4 000FE554 41 82 00 38 */ beq lbl_8010162C +/* 801015F8 000FE558 98 6E 00 0C */ stb r3, 0xc(r14) +/* 801015FC 000FE55C 88 01 01 24 */ lbz r0, 0x124(r1) +/* 80101600 000FE560 28 00 00 00 */ cmplwi r0, 0 +/* 80101604 000FE564 41 82 00 28 */ beq lbl_8010162C +/* 80101608 000FE568 28 0E 00 00 */ cmplwi r14, 0 +/* 8010160C 000FE56C 38 81 01 18 */ addi r4, r1, 0x118 +/* 80101610 000FE570 41 82 00 1C */ beq lbl_8010162C +/* 80101614 000FE574 7D C3 73 78 */ mr r3, r14 +/* 80101618 000FE578 48 23 F8 91 */ bl __ct__6CTokenFRC6CToken +/* 8010161C 000FE57C 80 01 01 20 */ lwz r0, 0x120(r1) +/* 80101620 000FE580 7D C3 73 78 */ mr r3, r14 +/* 80101624 000FE584 90 0E 00 08 */ stw r0, 8(r14) +/* 80101628 000FE588 48 23 F7 5D */ bl Lock__6CTokenFv +lbl_8010162C: +/* 8010162C 000FE58C 80 6F 02 64 */ lwz r3, 0x264(r15) +/* 80101630 000FE590 38 03 00 01 */ addi r0, r3, 1 +/* 80101634 000FE594 90 0F 02 64 */ stw r0, 0x264(r15) +/* 80101638 000FE598 88 01 01 24 */ lbz r0, 0x124(r1) +/* 8010163C 000FE59C 28 00 00 00 */ cmplwi r0, 0 +/* 80101640 000FE5A0 41 82 00 1C */ beq lbl_8010165C +/* 80101644 000FE5A4 34 61 01 18 */ addic. r3, r1, 0x118 +/* 80101648 000FE5A8 41 82 00 14 */ beq lbl_8010165C +/* 8010164C 000FE5AC 28 03 00 00 */ cmplwi r3, 0 +/* 80101650 000FE5B0 41 82 00 0C */ beq lbl_8010165C +/* 80101654 000FE5B4 38 80 00 00 */ li r4, 0 +/* 80101658 000FE5B8 48 23 F7 E9 */ bl __dt__6CTokenFv +lbl_8010165C: +/* 8010165C 000FE5BC 38 60 00 00 */ li r3, 0 +/* 80101660 000FE5C0 38 8F 02 64 */ addi r4, r15, 0x264 +/* 80101664 000FE5C4 98 61 01 24 */ stb r3, 0x124(r1) +/* 80101668 000FE5C8 98 61 01 14 */ stb r3, 0x114(r1) +/* 8010166C 000FE5CC 80 0F 02 64 */ lwz r0, 0x264(r15) +/* 80101670 000FE5D0 54 00 20 36 */ slwi r0, r0, 4 +/* 80101674 000FE5D4 7D C4 02 14 */ add r14, r4, r0 +/* 80101678 000FE5D8 35 CE 00 04 */ addic. r14, r14, 4 +/* 8010167C 000FE5DC 41 82 00 38 */ beq lbl_801016B4 +/* 80101680 000FE5E0 98 6E 00 0C */ stb r3, 0xc(r14) +/* 80101684 000FE5E4 88 01 01 14 */ lbz r0, 0x114(r1) +/* 80101688 000FE5E8 28 00 00 00 */ cmplwi r0, 0 +/* 8010168C 000FE5EC 41 82 00 28 */ beq lbl_801016B4 +/* 80101690 000FE5F0 28 0E 00 00 */ cmplwi r14, 0 +/* 80101694 000FE5F4 38 81 01 08 */ addi r4, r1, 0x108 +/* 80101698 000FE5F8 41 82 00 1C */ beq lbl_801016B4 +/* 8010169C 000FE5FC 7D C3 73 78 */ mr r3, r14 +/* 801016A0 000FE600 48 23 F8 09 */ bl __ct__6CTokenFRC6CToken +/* 801016A4 000FE604 80 01 01 10 */ lwz r0, 0x110(r1) +/* 801016A8 000FE608 7D C3 73 78 */ mr r3, r14 +/* 801016AC 000FE60C 90 0E 00 08 */ stw r0, 8(r14) +/* 801016B0 000FE610 48 23 F6 D5 */ bl Lock__6CTokenFv +lbl_801016B4: +/* 801016B4 000FE614 80 6F 02 64 */ lwz r3, 0x264(r15) +/* 801016B8 000FE618 38 03 00 01 */ addi r0, r3, 1 +/* 801016BC 000FE61C 90 0F 02 64 */ stw r0, 0x264(r15) +/* 801016C0 000FE620 88 01 01 14 */ lbz r0, 0x114(r1) +/* 801016C4 000FE624 28 00 00 00 */ cmplwi r0, 0 +/* 801016C8 000FE628 41 82 00 1C */ beq lbl_801016E4 +/* 801016CC 000FE62C 34 61 01 08 */ addic. r3, r1, 0x108 +/* 801016D0 000FE630 41 82 00 14 */ beq lbl_801016E4 +/* 801016D4 000FE634 28 03 00 00 */ cmplwi r3, 0 +/* 801016D8 000FE638 41 82 00 0C */ beq lbl_801016E4 +/* 801016DC 000FE63C 38 80 00 00 */ li r4, 0 +/* 801016E0 000FE640 48 23 F7 61 */ bl __dt__6CTokenFv +lbl_801016E4: +/* 801016E4 000FE644 38 60 00 00 */ li r3, 0 +/* 801016E8 000FE648 38 8F 02 64 */ addi r4, r15, 0x264 +/* 801016EC 000FE64C 98 61 01 14 */ stb r3, 0x114(r1) +/* 801016F0 000FE650 98 61 01 04 */ stb r3, 0x104(r1) +/* 801016F4 000FE654 80 0F 02 64 */ lwz r0, 0x264(r15) +/* 801016F8 000FE658 54 00 20 36 */ slwi r0, r0, 4 +/* 801016FC 000FE65C 7D C4 02 14 */ add r14, r4, r0 +/* 80101700 000FE660 35 CE 00 04 */ addic. r14, r14, 4 +/* 80101704 000FE664 41 82 00 38 */ beq lbl_8010173C +/* 80101708 000FE668 98 6E 00 0C */ stb r3, 0xc(r14) +/* 8010170C 000FE66C 88 01 01 04 */ lbz r0, 0x104(r1) +/* 80101710 000FE670 28 00 00 00 */ cmplwi r0, 0 +/* 80101714 000FE674 41 82 00 28 */ beq lbl_8010173C +/* 80101718 000FE678 28 0E 00 00 */ cmplwi r14, 0 +/* 8010171C 000FE67C 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 80101720 000FE680 41 82 00 1C */ beq lbl_8010173C +/* 80101724 000FE684 7D C3 73 78 */ mr r3, r14 +/* 80101728 000FE688 48 23 F7 81 */ bl __ct__6CTokenFRC6CToken +/* 8010172C 000FE68C 80 01 01 00 */ lwz r0, 0x100(r1) +/* 80101730 000FE690 7D C3 73 78 */ mr r3, r14 +/* 80101734 000FE694 90 0E 00 08 */ stw r0, 8(r14) +/* 80101738 000FE698 48 23 F6 4D */ bl Lock__6CTokenFv +lbl_8010173C: +/* 8010173C 000FE69C 80 6F 02 64 */ lwz r3, 0x264(r15) +/* 80101740 000FE6A0 38 03 00 01 */ addi r0, r3, 1 +/* 80101744 000FE6A4 90 0F 02 64 */ stw r0, 0x264(r15) +/* 80101748 000FE6A8 88 01 01 04 */ lbz r0, 0x104(r1) +/* 8010174C 000FE6AC 28 00 00 00 */ cmplwi r0, 0 +/* 80101750 000FE6B0 41 82 00 1C */ beq lbl_8010176C +/* 80101754 000FE6B4 34 61 00 F8 */ addic. r3, r1, 0xf8 +/* 80101758 000FE6B8 41 82 00 14 */ beq lbl_8010176C +/* 8010175C 000FE6BC 28 03 00 00 */ cmplwi r3, 0 +/* 80101760 000FE6C0 41 82 00 0C */ beq lbl_8010176C +/* 80101764 000FE6C4 38 80 00 00 */ li r4, 0 +/* 80101768 000FE6C8 48 23 F6 D9 */ bl __dt__6CTokenFv +lbl_8010176C: +/* 8010176C 000FE6CC 38 00 00 00 */ li r0, 0 +/* 80101770 000FE6D0 98 01 01 04 */ stb r0, 0x104(r1) +/* 80101774 000FE6D4 80 8F 02 2C */ lwz r4, 0x22c(r15) +/* 80101778 000FE6D8 3C 04 00 01 */ addis r0, r4, 1 +/* 8010177C 000FE6DC 28 00 FF FF */ cmplwi r0, 0xffff +/* 80101780 000FE6E0 41 82 00 D4 */ beq lbl_80101854 +/* 80101784 000FE6E4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80101788 000FE6E8 90 81 00 B8 */ stw r4, 0xb8(r1) +/* 8010178C 000FE6EC 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80101790 000FE6F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80101794 000FE6F4 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 80101798 000FE6F8 38 61 00 AC */ addi r3, r1, 0xac +/* 8010179C 000FE6FC 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 801017A0 000FE700 81 84 00 00 */ lwz r12, 0(r4) +/* 801017A4 000FE704 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 801017A8 000FE708 7D 89 03 A6 */ mtctr r12 +/* 801017AC 000FE70C 4E 80 04 21 */ bctrl +/* 801017B0 000FE710 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 801017B4 000FE714 38 81 00 AC */ addi r4, r1, 0xac +/* 801017B8 000FE718 48 23 F6 F1 */ bl __ct__6CTokenFRC6CToken +/* 801017BC 000FE71C 39 C1 00 EC */ addi r14, r1, 0xec +/* 801017C0 000FE720 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 801017C4 000FE724 7D C3 73 78 */ mr r3, r14 +/* 801017C8 000FE728 48 23 F6 E1 */ bl __ct__6CTokenFRC6CToken +/* 801017CC 000FE72C 7D C3 73 78 */ mr r3, r14 +/* 801017D0 000FE730 48 23 F6 3D */ bl GetObj__6CTokenFv +/* 801017D4 000FE734 80 03 00 04 */ lwz r0, 4(r3) +/* 801017D8 000FE738 39 CF 02 68 */ addi r14, r15, 0x268 +/* 801017DC 000FE73C 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 801017E0 000FE740 88 0F 02 74 */ lbz r0, 0x274(r15) +/* 801017E4 000FE744 28 00 00 00 */ cmplwi r0, 0 +/* 801017E8 000FE748 40 82 00 34 */ bne lbl_8010181C +/* 801017EC 000FE74C 28 0E 00 00 */ cmplwi r14, 0 +/* 801017F0 000FE750 41 82 00 20 */ beq lbl_80101810 +/* 801017F4 000FE754 7D C3 73 78 */ mr r3, r14 +/* 801017F8 000FE758 38 81 00 EC */ addi r4, r1, 0xec +/* 801017FC 000FE75C 48 23 F6 AD */ bl __ct__6CTokenFRC6CToken +/* 80101800 000FE760 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 80101804 000FE764 7D C3 73 78 */ mr r3, r14 +/* 80101808 000FE768 90 0E 00 08 */ stw r0, 8(r14) +/* 8010180C 000FE76C 48 23 F5 79 */ bl Lock__6CTokenFv +lbl_80101810: +/* 80101810 000FE770 38 00 00 01 */ li r0, 1 +/* 80101814 000FE774 98 0E 00 0C */ stb r0, 0xc(r14) +/* 80101818 000FE778 48 00 00 18 */ b lbl_80101830 +lbl_8010181C: +/* 8010181C 000FE77C 7D C3 73 78 */ mr r3, r14 +/* 80101820 000FE780 38 81 00 EC */ addi r4, r1, 0xec +/* 80101824 000FE784 48 23 F4 A1 */ bl __as__6CTokenFRC6CToken +/* 80101828 000FE788 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 8010182C 000FE78C 90 0E 00 08 */ stw r0, 8(r14) +lbl_80101830: +/* 80101830 000FE790 38 61 00 EC */ addi r3, r1, 0xec +/* 80101834 000FE794 38 80 00 00 */ li r4, 0 +/* 80101838 000FE798 48 23 F6 09 */ bl __dt__6CTokenFv +/* 8010183C 000FE79C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 80101840 000FE7A0 38 80 00 00 */ li r4, 0 +/* 80101844 000FE7A4 48 23 F5 FD */ bl __dt__6CTokenFv +/* 80101848 000FE7A8 38 61 00 AC */ addi r3, r1, 0xac +/* 8010184C 000FE7AC 38 80 FF FF */ li r4, -1 +/* 80101850 000FE7B0 48 23 F5 F1 */ bl __dt__6CTokenFv +lbl_80101854: +/* 80101854 000FE7B4 80 8F 02 30 */ lwz r4, 0x230(r15) +/* 80101858 000FE7B8 3C 04 00 01 */ addis r0, r4, 1 +/* 8010185C 000FE7BC 28 00 FF FF */ cmplwi r0, 0xffff +/* 80101860 000FE7C0 41 82 00 D4 */ beq lbl_80101934 +/* 80101864 000FE7C4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80101868 000FE7C8 90 81 00 A0 */ stw r4, 0xa0(r1) +/* 8010186C 000FE7CC 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80101870 000FE7D0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80101874 000FE7D4 90 01 00 9C */ stw r0, 0x9c(r1) +/* 80101878 000FE7D8 38 61 00 94 */ addi r3, r1, 0x94 +/* 8010187C 000FE7DC 38 A1 00 9C */ addi r5, r1, 0x9c +/* 80101880 000FE7E0 81 84 00 00 */ lwz r12, 0(r4) +/* 80101884 000FE7E4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80101888 000FE7E8 7D 89 03 A6 */ mtctr r12 +/* 8010188C 000FE7EC 4E 80 04 21 */ bctrl +/* 80101890 000FE7F0 38 61 00 8C */ addi r3, r1, 0x8c +/* 80101894 000FE7F4 38 81 00 94 */ addi r4, r1, 0x94 +/* 80101898 000FE7F8 48 23 F6 11 */ bl __ct__6CTokenFRC6CToken +/* 8010189C 000FE7FC 39 C1 00 E0 */ addi r14, r1, 0xe0 +/* 801018A0 000FE800 38 81 00 8C */ addi r4, r1, 0x8c +/* 801018A4 000FE804 7D C3 73 78 */ mr r3, r14 +/* 801018A8 000FE808 48 23 F6 01 */ bl __ct__6CTokenFRC6CToken +/* 801018AC 000FE80C 7D C3 73 78 */ mr r3, r14 +/* 801018B0 000FE810 48 23 F5 5D */ bl GetObj__6CTokenFv +/* 801018B4 000FE814 80 03 00 04 */ lwz r0, 4(r3) +/* 801018B8 000FE818 39 CF 02 78 */ addi r14, r15, 0x278 +/* 801018BC 000FE81C 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 801018C0 000FE820 88 0F 02 84 */ lbz r0, 0x284(r15) +/* 801018C4 000FE824 28 00 00 00 */ cmplwi r0, 0 +/* 801018C8 000FE828 40 82 00 34 */ bne lbl_801018FC +/* 801018CC 000FE82C 28 0E 00 00 */ cmplwi r14, 0 +/* 801018D0 000FE830 41 82 00 20 */ beq lbl_801018F0 +/* 801018D4 000FE834 7D C3 73 78 */ mr r3, r14 +/* 801018D8 000FE838 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 801018DC 000FE83C 48 23 F5 CD */ bl __ct__6CTokenFRC6CToken +/* 801018E0 000FE840 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 801018E4 000FE844 7D C3 73 78 */ mr r3, r14 +/* 801018E8 000FE848 90 0E 00 08 */ stw r0, 8(r14) +/* 801018EC 000FE84C 48 23 F4 99 */ bl Lock__6CTokenFv +lbl_801018F0: +/* 801018F0 000FE850 38 00 00 01 */ li r0, 1 +/* 801018F4 000FE854 98 0E 00 0C */ stb r0, 0xc(r14) +/* 801018F8 000FE858 48 00 00 18 */ b lbl_80101910 +lbl_801018FC: +/* 801018FC 000FE85C 7D C3 73 78 */ mr r3, r14 +/* 80101900 000FE860 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 80101904 000FE864 48 23 F3 C1 */ bl __as__6CTokenFRC6CToken +/* 80101908 000FE868 80 01 00 E8 */ lwz r0, 0xe8(r1) +/* 8010190C 000FE86C 90 0E 00 08 */ stw r0, 8(r14) +lbl_80101910: +/* 80101910 000FE870 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 80101914 000FE874 38 80 00 00 */ li r4, 0 +/* 80101918 000FE878 48 23 F5 29 */ bl __dt__6CTokenFv +/* 8010191C 000FE87C 38 61 00 8C */ addi r3, r1, 0x8c +/* 80101920 000FE880 38 80 00 00 */ li r4, 0 +/* 80101924 000FE884 48 23 F5 1D */ bl __dt__6CTokenFv +/* 80101928 000FE888 38 61 00 94 */ addi r3, r1, 0x94 +/* 8010192C 000FE88C 38 80 FF FF */ li r4, -1 +/* 80101930 000FE890 48 23 F5 11 */ bl __dt__6CTokenFv +lbl_80101934: +/* 80101934 000FE894 80 8F 02 34 */ lwz r4, 0x234(r15) +/* 80101938 000FE898 3C 04 00 01 */ addis r0, r4, 1 +/* 8010193C 000FE89C 28 00 FF FF */ cmplwi r0, 0xffff +/* 80101940 000FE8A0 41 82 00 D4 */ beq lbl_80101A14 +/* 80101944 000FE8A4 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80101948 000FE8A8 90 81 00 88 */ stw r4, 0x88(r1) +/* 8010194C 000FE8AC 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80101950 000FE8B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80101954 000FE8B4 90 01 00 84 */ stw r0, 0x84(r1) +/* 80101958 000FE8B8 38 61 00 7C */ addi r3, r1, 0x7c +/* 8010195C 000FE8BC 38 A1 00 84 */ addi r5, r1, 0x84 +/* 80101960 000FE8C0 81 84 00 00 */ lwz r12, 0(r4) +/* 80101964 000FE8C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80101968 000FE8C8 7D 89 03 A6 */ mtctr r12 +/* 8010196C 000FE8CC 4E 80 04 21 */ bctrl +/* 80101970 000FE8D0 38 61 00 74 */ addi r3, r1, 0x74 +/* 80101974 000FE8D4 38 81 00 7C */ addi r4, r1, 0x7c +/* 80101978 000FE8D8 48 23 F5 31 */ bl __ct__6CTokenFRC6CToken +/* 8010197C 000FE8DC 39 C1 00 D4 */ addi r14, r1, 0xd4 +/* 80101980 000FE8E0 38 81 00 74 */ addi r4, r1, 0x74 +/* 80101984 000FE8E4 7D C3 73 78 */ mr r3, r14 +/* 80101988 000FE8E8 48 23 F5 21 */ bl __ct__6CTokenFRC6CToken +/* 8010198C 000FE8EC 7D C3 73 78 */ mr r3, r14 +/* 80101990 000FE8F0 48 23 F4 7D */ bl GetObj__6CTokenFv +/* 80101994 000FE8F4 80 03 00 04 */ lwz r0, 4(r3) +/* 80101998 000FE8F8 39 CF 02 88 */ addi r14, r15, 0x288 +/* 8010199C 000FE8FC 90 01 00 DC */ stw r0, 0xdc(r1) +/* 801019A0 000FE900 88 0F 02 94 */ lbz r0, 0x294(r15) +/* 801019A4 000FE904 28 00 00 00 */ cmplwi r0, 0 +/* 801019A8 000FE908 40 82 00 34 */ bne lbl_801019DC +/* 801019AC 000FE90C 28 0E 00 00 */ cmplwi r14, 0 +/* 801019B0 000FE910 41 82 00 20 */ beq lbl_801019D0 +/* 801019B4 000FE914 7D C3 73 78 */ mr r3, r14 +/* 801019B8 000FE918 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 801019BC 000FE91C 48 23 F4 ED */ bl __ct__6CTokenFRC6CToken +/* 801019C0 000FE920 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 801019C4 000FE924 7D C3 73 78 */ mr r3, r14 +/* 801019C8 000FE928 90 0E 00 08 */ stw r0, 8(r14) +/* 801019CC 000FE92C 48 23 F3 B9 */ bl Lock__6CTokenFv +lbl_801019D0: +/* 801019D0 000FE930 38 00 00 01 */ li r0, 1 +/* 801019D4 000FE934 98 0E 00 0C */ stb r0, 0xc(r14) +/* 801019D8 000FE938 48 00 00 18 */ b lbl_801019F0 +lbl_801019DC: +/* 801019DC 000FE93C 7D C3 73 78 */ mr r3, r14 +/* 801019E0 000FE940 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 801019E4 000FE944 48 23 F2 E1 */ bl __as__6CTokenFRC6CToken +/* 801019E8 000FE948 80 01 00 DC */ lwz r0, 0xdc(r1) +/* 801019EC 000FE94C 90 0E 00 08 */ stw r0, 8(r14) +lbl_801019F0: +/* 801019F0 000FE950 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 801019F4 000FE954 38 80 00 00 */ li r4, 0 +/* 801019F8 000FE958 48 23 F4 49 */ bl __dt__6CTokenFv +/* 801019FC 000FE95C 38 61 00 74 */ addi r3, r1, 0x74 +/* 80101A00 000FE960 38 80 00 00 */ li r4, 0 +/* 80101A04 000FE964 48 23 F4 3D */ bl __dt__6CTokenFv +/* 80101A08 000FE968 38 61 00 7C */ addi r3, r1, 0x7c +/* 80101A0C 000FE96C 38 80 FF FF */ li r4, -1 +/* 80101A10 000FE970 48 23 F4 31 */ bl __dt__6CTokenFv +lbl_80101A14: +/* 80101A14 000FE974 80 8F 02 38 */ lwz r4, 0x238(r15) +/* 80101A18 000FE978 3C 04 00 01 */ addis r0, r4, 1 +/* 80101A1C 000FE97C 28 00 FF FF */ cmplwi r0, 0xffff +/* 80101A20 000FE980 41 82 00 D4 */ beq lbl_80101AF4 +/* 80101A24 000FE984 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80101A28 000FE988 90 81 00 70 */ stw r4, 0x70(r1) +/* 80101A2C 000FE98C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80101A30 000FE990 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80101A34 000FE994 90 01 00 6C */ stw r0, 0x6c(r1) +/* 80101A38 000FE998 38 61 00 64 */ addi r3, r1, 0x64 +/* 80101A3C 000FE99C 38 A1 00 6C */ addi r5, r1, 0x6c +/* 80101A40 000FE9A0 81 84 00 00 */ lwz r12, 0(r4) +/* 80101A44 000FE9A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80101A48 000FE9A8 7D 89 03 A6 */ mtctr r12 +/* 80101A4C 000FE9AC 4E 80 04 21 */ bctrl +/* 80101A50 000FE9B0 38 61 00 5C */ addi r3, r1, 0x5c +/* 80101A54 000FE9B4 38 81 00 64 */ addi r4, r1, 0x64 +/* 80101A58 000FE9B8 48 23 F4 51 */ bl __ct__6CTokenFRC6CToken +/* 80101A5C 000FE9BC 39 C1 00 C8 */ addi r14, r1, 0xc8 +/* 80101A60 000FE9C0 38 81 00 5C */ addi r4, r1, 0x5c +/* 80101A64 000FE9C4 7D C3 73 78 */ mr r3, r14 +/* 80101A68 000FE9C8 48 23 F4 41 */ bl __ct__6CTokenFRC6CToken +/* 80101A6C 000FE9CC 7D C3 73 78 */ mr r3, r14 +/* 80101A70 000FE9D0 48 23 F3 9D */ bl GetObj__6CTokenFv +/* 80101A74 000FE9D4 80 03 00 04 */ lwz r0, 4(r3) +/* 80101A78 000FE9D8 90 01 00 D0 */ stw r0, 0xd0(r1) +/* 80101A7C 000FE9DC 88 0F 02 48 */ lbz r0, 0x248(r15) +/* 80101A80 000FE9E0 28 00 00 00 */ cmplwi r0, 0 +/* 80101A84 000FE9E4 40 82 00 34 */ bne lbl_80101AB8 +/* 80101A88 000FE9E8 35 CF 02 3C */ addic. r14, r15, 0x23c +/* 80101A8C 000FE9EC 41 82 00 20 */ beq lbl_80101AAC +/* 80101A90 000FE9F0 7D C3 73 78 */ mr r3, r14 +/* 80101A94 000FE9F4 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80101A98 000FE9F8 48 23 F4 11 */ bl __ct__6CTokenFRC6CToken +/* 80101A9C 000FE9FC 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 80101AA0 000FEA00 7D C3 73 78 */ mr r3, r14 +/* 80101AA4 000FEA04 90 0E 00 08 */ stw r0, 8(r14) +/* 80101AA8 000FEA08 48 23 F2 DD */ bl Lock__6CTokenFv +lbl_80101AAC: +/* 80101AAC 000FEA0C 38 00 00 01 */ li r0, 1 +/* 80101AB0 000FEA10 98 0F 02 48 */ stb r0, 0x248(r15) +/* 80101AB4 000FEA14 48 00 00 1C */ b lbl_80101AD0 +lbl_80101AB8: +/* 80101AB8 000FEA18 39 CF 02 3C */ addi r14, r15, 0x23c +/* 80101ABC 000FEA1C 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 80101AC0 000FEA20 7D C3 73 78 */ mr r3, r14 +/* 80101AC4 000FEA24 48 23 F2 01 */ bl __as__6CTokenFRC6CToken +/* 80101AC8 000FEA28 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 80101ACC 000FEA2C 90 0E 00 08 */ stw r0, 8(r14) +lbl_80101AD0: +/* 80101AD0 000FEA30 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 80101AD4 000FEA34 38 80 00 00 */ li r4, 0 +/* 80101AD8 000FEA38 48 23 F3 69 */ bl __dt__6CTokenFv +/* 80101ADC 000FEA3C 38 61 00 5C */ addi r3, r1, 0x5c +/* 80101AE0 000FEA40 38 80 00 00 */ li r4, 0 +/* 80101AE4 000FEA44 48 23 F3 5D */ bl __dt__6CTokenFv +/* 80101AE8 000FEA48 38 61 00 64 */ addi r3, r1, 0x64 +/* 80101AEC 000FEA4C 38 80 FF FF */ li r4, -1 +/* 80101AF0 000FEA50 48 23 F3 51 */ bl __dt__6CTokenFv +lbl_80101AF4: +/* 80101AF4 000FEA54 80 8F 02 4C */ lwz r4, 0x24c(r15) +/* 80101AF8 000FEA58 3C 04 00 01 */ addis r0, r4, 1 +/* 80101AFC 000FEA5C 28 00 FF FF */ cmplwi r0, 0xffff +/* 80101B00 000FEA60 41 82 00 D4 */ beq lbl_80101BD4 +/* 80101B04 000FEA64 3C 60 50 41 */ lis r3, 0x50415254@ha +/* 80101B08 000FEA68 90 81 00 58 */ stw r4, 0x58(r1) +/* 80101B0C 000FEA6C 38 03 52 54 */ addi r0, r3, 0x50415254@l +/* 80101B10 000FEA70 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 80101B14 000FEA74 90 01 00 54 */ stw r0, 0x54(r1) +/* 80101B18 000FEA78 38 61 00 4C */ addi r3, r1, 0x4c +/* 80101B1C 000FEA7C 38 A1 00 54 */ addi r5, r1, 0x54 +/* 80101B20 000FEA80 81 84 00 00 */ lwz r12, 0(r4) +/* 80101B24 000FEA84 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80101B28 000FEA88 7D 89 03 A6 */ mtctr r12 +/* 80101B2C 000FEA8C 4E 80 04 21 */ bctrl +/* 80101B30 000FEA90 38 61 00 44 */ addi r3, r1, 0x44 +/* 80101B34 000FEA94 38 81 00 4C */ addi r4, r1, 0x4c +/* 80101B38 000FEA98 48 23 F3 71 */ bl __ct__6CTokenFRC6CToken +/* 80101B3C 000FEA9C 39 C1 00 BC */ addi r14, r1, 0xbc +/* 80101B40 000FEAA0 38 81 00 44 */ addi r4, r1, 0x44 +/* 80101B44 000FEAA4 7D C3 73 78 */ mr r3, r14 +/* 80101B48 000FEAA8 48 23 F3 61 */ bl __ct__6CTokenFRC6CToken +/* 80101B4C 000FEAAC 7D C3 73 78 */ mr r3, r14 +/* 80101B50 000FEAB0 48 23 F2 BD */ bl GetObj__6CTokenFv +/* 80101B54 000FEAB4 80 03 00 04 */ lwz r0, 4(r3) +/* 80101B58 000FEAB8 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 80101B5C 000FEABC 88 0F 02 5C */ lbz r0, 0x25c(r15) +/* 80101B60 000FEAC0 28 00 00 00 */ cmplwi r0, 0 +/* 80101B64 000FEAC4 40 82 00 34 */ bne lbl_80101B98 +/* 80101B68 000FEAC8 35 CF 02 50 */ addic. r14, r15, 0x250 +/* 80101B6C 000FEACC 41 82 00 20 */ beq lbl_80101B8C +/* 80101B70 000FEAD0 7D C3 73 78 */ mr r3, r14 +/* 80101B74 000FEAD4 38 81 00 BC */ addi r4, r1, 0xbc +/* 80101B78 000FEAD8 48 23 F3 31 */ bl __ct__6CTokenFRC6CToken +/* 80101B7C 000FEADC 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80101B80 000FEAE0 7D C3 73 78 */ mr r3, r14 +/* 80101B84 000FEAE4 90 0E 00 08 */ stw r0, 8(r14) +/* 80101B88 000FEAE8 48 23 F1 FD */ bl Lock__6CTokenFv +lbl_80101B8C: +/* 80101B8C 000FEAEC 38 00 00 01 */ li r0, 1 +/* 80101B90 000FEAF0 98 0F 02 5C */ stb r0, 0x25c(r15) +/* 80101B94 000FEAF4 48 00 00 1C */ b lbl_80101BB0 +lbl_80101B98: +/* 80101B98 000FEAF8 39 CF 02 50 */ addi r14, r15, 0x250 +/* 80101B9C 000FEAFC 38 81 00 BC */ addi r4, r1, 0xbc +/* 80101BA0 000FEB00 7D C3 73 78 */ mr r3, r14 +/* 80101BA4 000FEB04 48 23 F1 21 */ bl __as__6CTokenFRC6CToken +/* 80101BA8 000FEB08 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 80101BAC 000FEB0C 90 0E 00 08 */ stw r0, 8(r14) +lbl_80101BB0: +/* 80101BB0 000FEB10 38 61 00 BC */ addi r3, r1, 0xbc +/* 80101BB4 000FEB14 38 80 00 00 */ li r4, 0 +/* 80101BB8 000FEB18 48 23 F2 89 */ bl __dt__6CTokenFv +/* 80101BBC 000FEB1C 38 61 00 44 */ addi r3, r1, 0x44 +/* 80101BC0 000FEB20 38 80 00 00 */ li r4, 0 +/* 80101BC4 000FEB24 48 23 F2 7D */ bl __dt__6CTokenFv +/* 80101BC8 000FEB28 38 61 00 4C */ addi r3, r1, 0x4c +/* 80101BCC 000FEB2C 38 80 FF FF */ li r4, -1 +/* 80101BD0 000FEB30 48 23 F2 71 */ bl __dt__6CTokenFv +lbl_80101BD4: +/* 80101BD4 000FEB34 80 01 03 4C */ lwz r0, 0x34c(r1) +/* 80101BD8 000FEB38 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80101BDC 000FEB3C 48 1E 6D D5 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80101BE0 000FEB40 38 8F 02 98 */ addi r4, r15, 0x298 +/* 80101BE4 000FEB44 80 0F 02 98 */ lwz r0, 0x298(r15) +/* 80101BE8 000FEB48 54 00 08 3C */ slwi r0, r0, 1 +/* 80101BEC 000FEB4C 7C 84 02 14 */ add r4, r4, r0 +/* 80101BF0 000FEB50 34 84 00 04 */ addic. r4, r4, 4 +/* 80101BF4 000FEB54 41 82 00 08 */ beq lbl_80101BFC +/* 80101BF8 000FEB58 B0 64 00 00 */ sth r3, 0(r4) +lbl_80101BFC: +/* 80101BFC 000FEB5C 80 01 03 50 */ lwz r0, 0x350(r1) +/* 80101C00 000FEB60 80 8F 02 98 */ lwz r4, 0x298(r15) +/* 80101C04 000FEB64 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80101C08 000FEB68 38 04 00 01 */ addi r0, r4, 1 +/* 80101C0C 000FEB6C 90 0F 02 98 */ stw r0, 0x298(r15) +/* 80101C10 000FEB70 48 1E 6D A1 */ bl TranslateSFXID__11CSfxManagerFUs +/* 80101C14 000FEB74 38 8F 02 98 */ addi r4, r15, 0x298 +/* 80101C18 000FEB78 80 0F 02 98 */ lwz r0, 0x298(r15) +/* 80101C1C 000FEB7C 54 00 08 3C */ slwi r0, r0, 1 +/* 80101C20 000FEB80 7C 84 02 14 */ add r4, r4, r0 +/* 80101C24 000FEB84 34 84 00 04 */ addic. r4, r4, 4 +/* 80101C28 000FEB88 41 82 00 08 */ beq lbl_80101C30 +/* 80101C2C 000FEB8C B0 64 00 00 */ sth r3, 0(r4) +lbl_80101C30: +/* 80101C30 000FEB90 80 01 03 54 */ lwz r0, 0x354(r1) +/* 80101C34 000FEB94 80 8F 02 98 */ lwz r4, 0x298(r15) +/* 80101C38 000FEB98 54 03 04 3E */ clrlwi r3, r0, 0x10 +/* 80101C3C 000FEB9C 38 04 00 01 */ addi r0, r4, 1 +/* 80101C40 000FEBA0 90 0F 02 98 */ stw r0, 0x298(r15) +/* 80101C44 000FEBA4 48 1E 6D 6D */ bl TranslateSFXID__11CSfxManagerFUs +/* 80101C48 000FEBA8 38 8F 02 98 */ addi r4, r15, 0x298 +/* 80101C4C 000FEBAC 80 0F 02 98 */ lwz r0, 0x298(r15) +/* 80101C50 000FEBB0 54 00 08 3C */ slwi r0, r0, 1 +/* 80101C54 000FEBB4 7C 84 02 14 */ add r4, r4, r0 +/* 80101C58 000FEBB8 34 84 00 04 */ addic. r4, r4, 4 +/* 80101C5C 000FEBBC 41 82 00 08 */ beq lbl_80101C64 +/* 80101C60 000FEBC0 B0 64 00 00 */ sth r3, 0(r4) +lbl_80101C64: +/* 80101C64 000FEBC4 80 AF 02 98 */ lwz r5, 0x298(r15) +/* 80101C68 000FEBC8 7D E3 7B 78 */ mr r3, r15 +/* 80101C6C 000FEBCC 38 80 00 01 */ li r4, 1 +/* 80101C70 000FEBD0 38 05 00 01 */ addi r0, r5, 1 +/* 80101C74 000FEBD4 90 0F 02 98 */ stw r0, 0x298(r15) +/* 80101C78 000FEBD8 4B F5 1C A9 */ bl SetCalculateLighting__6CActorFb +/* 80101C7C 000FEBDC 3C 1F 00 01 */ addis r0, r31, 1 +/* 80101C80 000FEBE0 28 00 FF FF */ cmplwi r0, 0xffff +/* 80101C84 000FEBE4 41 82 00 38 */ beq lbl_80101CBC +/* 80101C88 000FEBE8 80 CF 00 90 */ lwz r6, 0x90(r15) +/* 80101C8C 000FEBEC 38 A0 00 00 */ li r5, 0 +/* 80101C90 000FEBF0 90 A6 02 B8 */ stw r5, 0x2b8(r6) +/* 80101C94 000FEBF4 80 86 02 B8 */ lwz r4, 0x2b8(r6) +/* 80101C98 000FEBF8 88 06 02 98 */ lbz r0, 0x298(r6) +/* 80101C9C 000FEBFC 7C 64 00 D0 */ neg r3, r4 +/* 80101CA0 000FEC00 7C 63 20 78 */ andc r3, r3, r4 +/* 80101CA4 000FEC04 50 60 36 B4 */ rlwimi r0, r3, 6, 0x1a, 0x1a +/* 80101CA8 000FEC08 98 06 02 98 */ stb r0, 0x298(r6) +/* 80101CAC 000FEC0C 80 6F 00 90 */ lwz r3, 0x90(r15) +/* 80101CB0 000FEC10 88 03 02 98 */ lbz r0, 0x298(r3) +/* 80101CB4 000FEC14 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c +/* 80101CB8 000FEC18 98 03 02 98 */ stb r0, 0x298(r3) +lbl_80101CBC: +/* 80101CBC 000FEC1C 80 6F 00 90 */ lwz r3, 0x90(r15) +/* 80101CC0 000FEC20 38 00 00 04 */ li r0, 4 +/* 80101CC4 000FEC24 38 C0 00 00 */ li r6, 0 +/* 80101CC8 000FEC28 38 A0 00 01 */ li r5, 1 +/* 80101CCC 000FEC2C 90 03 02 BC */ stw r0, 0x2bc(r3) +/* 80101CD0 000FEC30 7D E3 7B 78 */ mr r3, r15 +/* 80101CD4 000FEC34 80 8F 00 90 */ lwz r4, 0x90(r15) +/* 80101CD8 000FEC38 88 04 02 98 */ lbz r0, 0x298(r4) +/* 80101CDC 000FEC3C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 80101CE0 000FEC40 98 04 02 98 */ stb r0, 0x298(r4) +/* 80101CE4 000FEC44 80 8F 00 90 */ lwz r4, 0x90(r15) +/* 80101CE8 000FEC48 88 04 02 98 */ lbz r0, 0x298(r4) +/* 80101CEC 000FEC4C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d +/* 80101CF0 000FEC50 98 04 02 98 */ stb r0, 0x298(r4) +/* 80101CF4 000FEC54 80 8F 00 90 */ lwz r4, 0x90(r15) +/* 80101CF8 000FEC58 98 A4 02 9A */ stb r5, 0x29a(r4) +/* 80101CFC 000FEC5C 88 0F 01 48 */ lbz r0, 0x148(r15) +/* 80101D00 000FEC60 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 80101D04 000FEC64 98 0F 01 48 */ stb r0, 0x148(r15) +/* 80101D08 000FEC68 81 8F 00 00 */ lwz r12, 0(r15) +/* 80101D0C 000FEC6C 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 80101D10 000FEC70 7D 89 03 A6 */ mtctr r12 +/* 80101D14 000FEC74 4E 80 04 21 */ bctrl +/* 80101D18 000FEC78 88 01 02 E3 */ lbz r0, 0x2e3(r1) +/* 80101D1C 000FEC7C 28 00 00 00 */ cmplwi r0, 0 +/* 80101D20 000FEC80 38 00 00 01 */ li r0, 1 +/* 80101D24 000FEC84 41 82 00 08 */ beq lbl_80101D2C +/* 80101D28 000FEC88 38 00 00 02 */ li r0, 2 +lbl_80101D2C: +/* 80101D2C 000FEC8C 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 80101D30 000FEC90 88 0F 00 E6 */ lbz r0, 0xe6(r15) +/* 80101D34 000FEC94 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c +/* 80101D38 000FEC98 98 0F 00 E6 */ stb r0, 0xe6(r15) +/* 80101D3C 000FEC9C 88 0F 00 30 */ lbz r0, 0x30(r15) +/* 80101D40 000FECA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 80101D44 000FECA4 40 82 00 14 */ bne lbl_80101D58 +/* 80101D48 000FECA8 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) +/* 80101D4C 000FECAC D0 0F 02 BC */ stfs f0, 0x2bc(r15) +/* 80101D50 000FECB0 D0 0F 02 14 */ stfs f0, 0x214(r15) +/* 80101D54 000FECB4 D0 0F 02 18 */ stfs f0, 0x218(r15) +lbl_80101D58: +/* 80101D58 000FECB8 7D E3 7B 78 */ mr r3, r15 +/* 80101D5C 000FECBC 38 80 00 01 */ li r4, 1 +/* 80101D60 000FECC0 4B FF D0 55 */ bl SetupGrid__12CScriptWaterFb +/* 80101D64 000FECC4 7D E3 7B 78 */ mr r3, r15 +/* 80101D68 000FECC8 E3 E1 02 C8 */ psq_l f31, 712(r1), 0, qr0 +/* 80101D6C 000FECCC CB E1 02 C0 */ lfd f31, 0x2c0(r1) +/* 80101D70 000FECD0 E3 C1 02 B8 */ psq_l f30, 696(r1), 0, qr0 +/* 80101D74 000FECD4 CB C1 02 B0 */ lfd f30, 0x2b0(r1) +/* 80101D78 000FECD8 E3 A1 02 A8 */ psq_l f29, 680(r1), 0, qr0 +/* 80101D7C 000FECDC CB A1 02 A0 */ lfd f29, 0x2a0(r1) +/* 80101D80 000FECE0 E3 81 02 98 */ psq_l f28, 664(r1), 0, qr0 +/* 80101D84 000FECE4 CB 81 02 90 */ lfd f28, 0x290(r1) +/* 80101D88 000FECE8 E3 61 02 88 */ psq_l f27, 648(r1), 0, qr0 +/* 80101D8C 000FECEC CB 61 02 80 */ lfd f27, 0x280(r1) +/* 80101D90 000FECF0 E3 41 02 78 */ psq_l f26, 632(r1), 0, qr0 +/* 80101D94 000FECF4 CB 41 02 70 */ lfd f26, 0x270(r1) +/* 80101D98 000FECF8 E3 21 02 68 */ psq_l f25, 616(r1), 0, qr0 +/* 80101D9C 000FECFC CB 21 02 60 */ lfd f25, 0x260(r1) +/* 80101DA0 000FED00 E3 01 02 58 */ psq_l f24, 600(r1), 0, qr0 +/* 80101DA4 000FED04 CB 01 02 50 */ lfd f24, 0x250(r1) +/* 80101DA8 000FED08 E2 E1 02 48 */ psq_l f23, 584(r1), 0, qr0 +/* 80101DAC 000FED0C CA E1 02 40 */ lfd f23, 0x240(r1) +/* 80101DB0 000FED10 E2 C1 02 38 */ psq_l f22, 568(r1), 0, qr0 +/* 80101DB4 000FED14 CA C1 02 30 */ lfd f22, 0x230(r1) +/* 80101DB8 000FED18 E2 A1 02 28 */ psq_l f21, 552(r1), 0, qr0 +/* 80101DBC 000FED1C CA A1 02 20 */ lfd f21, 0x220(r1) +/* 80101DC0 000FED20 E2 81 02 18 */ psq_l f20, 536(r1), 0, qr0 +/* 80101DC4 000FED24 CA 81 02 10 */ lfd f20, 0x210(r1) +/* 80101DC8 000FED28 E2 61 02 08 */ psq_l f19, 520(r1), 0, qr0 +/* 80101DCC 000FED2C CA 61 02 00 */ lfd f19, 0x200(r1) +/* 80101DD0 000FED30 E2 41 01 F8 */ psq_l f18, 504(r1), 0, qr0 +/* 80101DD4 000FED34 CA 41 01 F0 */ lfd f18, 0x1f0(r1) +/* 80101DD8 000FED38 E2 21 01 E8 */ psq_l f17, 488(r1), 0, qr0 +/* 80101DDC 000FED3C CA 21 01 E0 */ lfd f17, 0x1e0(r1) +/* 80101DE0 000FED40 E2 01 01 D8 */ psq_l f16, 472(r1), 0, qr0 +/* 80101DE4 000FED44 CA 01 01 D0 */ lfd f16, 0x1d0(r1) +/* 80101DE8 000FED48 E1 E1 01 C8 */ psq_l f15, 456(r1), 0, qr0 +/* 80101DEC 000FED4C C9 E1 01 C0 */ lfd f15, 0x1c0(r1) +/* 80101DF0 000FED50 E1 C1 01 B8 */ psq_l f14, 440(r1), 0, qr0 +/* 80101DF4 000FED54 C9 C1 01 B0 */ lfd f14, 0x1b0(r1) +/* 80101DF8 000FED58 B9 C1 01 68 */ lmw r14, 0x168(r1) +/* 80101DFC 000FED5C 80 01 02 D4 */ lwz r0, 0x2d4(r1) +/* 80101E00 000FED60 7C 08 03 A6 */ mtlr r0 +/* 80101E04 000FED64 38 21 02 D0 */ addi r1, r1, 0x2d0 +/* 80101E08 000FED68 4E 80 00 20 */ blr + +.global sub_80101e0c +sub_80101e0c: +/* 80101E0C 000FED6C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80101E10 000FED70 7C 08 02 A6 */ mflr r0 +/* 80101E14 000FED74 90 01 00 14 */ stw r0, 0x14(r1) +/* 80101E18 000FED78 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80101E1C 000FED7C 93 C1 00 08 */ stw r30, 8(r1) +/* 80101E20 000FED80 7C 7E 1B 78 */ mr r30, r3 +/* 80101E24 000FED84 80 03 00 04 */ lwz r0, 4(r3) +/* 80101E28 000FED88 83 E4 00 04 */ lwz r31, 4(r4) +/* 80101E2C 000FED8C 7C 04 00 40 */ cmplw r4, r0 +/* 80101E30 000FED90 40 82 00 08 */ bne lbl_80101E38 +/* 80101E34 000FED94 93 FE 00 04 */ stw r31, 4(r30) +lbl_80101E38: +/* 80101E38 000FED98 80 04 00 04 */ lwz r0, 4(r4) +/* 80101E3C 000FED9C 28 04 00 00 */ cmplwi r4, 0 +/* 80101E40 000FEDA0 80 64 00 00 */ lwz r3, 0(r4) +/* 80101E44 000FEDA4 90 03 00 04 */ stw r0, 4(r3) +/* 80101E48 000FEDA8 80 04 00 00 */ lwz r0, 0(r4) +/* 80101E4C 000FEDAC 80 64 00 04 */ lwz r3, 4(r4) +/* 80101E50 000FEDB0 90 03 00 00 */ stw r0, 0(r3) +/* 80101E54 000FEDB4 41 82 00 0C */ beq lbl_80101E60 +/* 80101E58 000FEDB8 7C 83 23 78 */ mr r3, r4 +/* 80101E5C 000FEDBC 48 21 3A D5 */ bl Free__7CMemoryFPCv +lbl_80101E60: +/* 80101E60 000FEDC0 80 9E 00 14 */ lwz r4, 0x14(r30) +/* 80101E64 000FEDC4 7F E3 FB 78 */ mr r3, r31 +/* 80101E68 000FEDC8 38 04 FF FF */ addi r0, r4, -1 +/* 80101E6C 000FEDCC 90 1E 00 14 */ stw r0, 0x14(r30) +/* 80101E70 000FEDD0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80101E74 000FEDD4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80101E78 000FEDD8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 80101E7C 000FEDDC 7C 08 03 A6 */ mtlr r0 +/* 80101E80 000FEDE0 38 21 00 10 */ addi r1, r1, 0x10 +/* 80101E84 000FEDE4 4E 80 00 20 */ blr + +.global sub_80101e88 +sub_80101e88: +/* 80101E88 000FEDE8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 80101E8C 000FEDEC 7C 08 02 A6 */ mflr r0 +/* 80101E90 000FEDF0 90 01 00 24 */ stw r0, 0x24(r1) +/* 80101E94 000FEDF4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 80101E98 000FEDF8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 80101E9C 000FEDFC 7C 9E 23 78 */ mr r30, r4 +/* 80101EA0 000FEE00 93 A1 00 14 */ stw r29, 0x14(r1) +/* 80101EA4 000FEE04 7C 7D 1B 79 */ or. r29, r3, r3 +/* 80101EA8 000FEE08 41 82 00 38 */ beq lbl_80101EE0 +/* 80101EAC 000FEE0C 83 FD 00 04 */ lwz r31, 4(r29) +/* 80101EB0 000FEE10 48 00 00 14 */ b lbl_80101EC4 +lbl_80101EB4: +/* 80101EB4 000FEE14 7F E3 FB 79 */ or. r3, r31, r31 +/* 80101EB8 000FEE18 83 FF 00 04 */ lwz r31, 4(r31) +/* 80101EBC 000FEE1C 41 82 00 08 */ beq lbl_80101EC4 +/* 80101EC0 000FEE20 48 21 3A 71 */ bl Free__7CMemoryFPCv +lbl_80101EC4: +/* 80101EC4 000FEE24 80 1D 00 08 */ lwz r0, 8(r29) +/* 80101EC8 000FEE28 7C 1F 00 40 */ cmplw r31, r0 +/* 80101ECC 000FEE2C 40 82 FF E8 */ bne lbl_80101EB4 +/* 80101ED0 000FEE30 7F C0 07 35 */ extsh. r0, r30 +/* 80101ED4 000FEE34 40 81 00 0C */ ble lbl_80101EE0 +/* 80101ED8 000FEE38 7F A3 EB 78 */ mr r3, r29 +/* 80101EDC 000FEE3C 48 21 3A 55 */ bl Free__7CMemoryFPCv +lbl_80101EE0: +/* 80101EE0 000FEE40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 80101EE4 000FEE44 7F A3 EB 78 */ mr r3, r29 +/* 80101EE8 000FEE48 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 80101EEC 000FEE4C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 80101EF0 000FEE50 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 80101EF4 000FEE54 7C 08 03 A6 */ mtlr r0 +/* 80101EF8 000FEE58 38 21 00 20 */ addi r1, r1, 0x20 +/* 80101EFC 000FEE5C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/TGameTypes.s b/asm/Kyoto_CWD/TGameTypes.s new file mode 100644 index 00000000..6c34094a --- /dev/null +++ b/asm/Kyoto_CWD/TGameTypes.s @@ -0,0 +1,31 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__9TEditorIdFR12CInputStream +__ct__9TEditorIdFR12CInputStream: +/* 8011A460 001173C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8011A464 001173C4 7C 08 02 A6 */ mflr r0 +/* 8011A468 001173C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 8011A46C 001173CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8011A470 001173D0 7C 7F 1B 78 */ mr r31, r3 +/* 8011A474 001173D4 7C 83 23 78 */ mr r3, r4 +/* 8011A478 001173D8 48 22 48 0D */ bl ReadLong__12CInputStreamFv +/* 8011A47C 001173DC 90 7F 00 00 */ stw r3, 0(r31) +/* 8011A480 001173E0 7F E3 FB 78 */ mr r3, r31 +/* 8011A484 001173E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8011A488 001173E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8011A48C 001173EC 7C 08 03 A6 */ mtlr r0 +/* 8011A490 001173F0 38 21 00 10 */ addi r1, r1, 0x10 +/* 8011A494 001173F4 4E 80 00 20 */ blr + +.global __sinit_TGameTypes_cpp +__sinit_TGameTypes_cpp: +/* 8011A498 001173F8 3C 60 00 01 */ lis r3, 0x0000FFFF@ha +/* 8011A49C 001173FC 38 80 FF FF */ li r4, -1 +/* 8011A4A0 00117400 38 03 FF FF */ addi r0, r3, 0x0000FFFF@l +/* 8011A4A4 00117404 90 8D A3 88 */ stw r4, lbl_805A8F48@sda21(r13) +/* 8011A4A8 00117408 B0 0D A3 8C */ sth r0, lbl_805A8F4C@sda21(r13) +/* 8011A4AC 0011740C 90 8D A3 90 */ stw r4, lbl_805A8F50@sda21(r13) +/* 8011A4B0 00117410 90 8D A3 94 */ stw r4, lbl_805A8F54@sda21(r13) +/* 8011A4B4 00117414 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Weapons/CTargetableProjectile.s b/asm/Kyoto_CWD/Weapons/CTargetableProjectile.s new file mode 100644 index 00000000..b11a30db --- /dev/null +++ b/asm/Kyoto_CWD/Weapons/CTargetableProjectile.s @@ -0,0 +1,534 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__21CTargetableProjectileFv +__dt__21CTargetableProjectileFv: +/* 8013B87C 001387DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013B880 001387E0 7C 08 02 A6 */ mflr r0 +/* 8013B884 001387E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013B888 001387E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013B88C 001387EC 7C 9F 23 78 */ mr r31, r4 +/* 8013B890 001387F0 93 C1 00 08 */ stw r30, 8(r1) +/* 8013B894 001387F4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8013B898 001387F8 41 82 00 40 */ beq lbl_8013B8D8 +/* 8013B89C 001387FC 3C 60 80 3E */ lis r3, lbl_803E1800@ha +/* 8013B8A0 00138800 34 1E 03 D8 */ addic. r0, r30, 0x3d8 +/* 8013B8A4 00138804 38 03 18 00 */ addi r0, r3, lbl_803E1800@l +/* 8013B8A8 00138808 90 1E 00 00 */ stw r0, 0(r30) +/* 8013B8AC 0013880C 41 82 00 10 */ beq lbl_8013B8BC +/* 8013B8B0 00138810 38 7E 03 D8 */ addi r3, r30, 0x3d8 +/* 8013B8B4 00138814 38 80 00 00 */ li r4, 0 +/* 8013B8B8 00138818 48 20 55 89 */ bl __dt__6CTokenFv +lbl_8013B8BC: +/* 8013B8BC 0013881C 7F C3 F3 78 */ mr r3, r30 +/* 8013B8C0 00138820 38 80 00 00 */ li r4, 0 +/* 8013B8C4 00138824 48 00 00 31 */ bl __dt__17CEnergyProjectileFv +/* 8013B8C8 00138828 7F E0 07 35 */ extsh. r0, r31 +/* 8013B8CC 0013882C 40 81 00 0C */ ble lbl_8013B8D8 +/* 8013B8D0 00138830 7F C3 F3 78 */ mr r3, r30 +/* 8013B8D4 00138834 48 1D A0 5D */ bl Free__7CMemoryFPCv +lbl_8013B8D8: +/* 8013B8D8 00138838 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013B8DC 0013883C 7F C3 F3 78 */ mr r3, r30 +/* 8013B8E0 00138840 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013B8E4 00138844 83 C1 00 08 */ lwz r30, 8(r1) +/* 8013B8E8 00138848 7C 08 03 A6 */ mtlr r0 +/* 8013B8EC 0013884C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013B8F0 00138850 4E 80 00 20 */ blr + +.global __dt__17CEnergyProjectileFv +__dt__17CEnergyProjectileFv: +/* 8013B8F4 00138854 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013B8F8 00138858 7C 08 02 A6 */ mflr r0 +/* 8013B8FC 0013885C 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013B900 00138860 93 E1 00 0C */ stw r31, 0xc(r1) +/* 8013B904 00138864 7C 9F 23 78 */ mr r31, r4 +/* 8013B908 00138868 93 C1 00 08 */ stw r30, 8(r1) +/* 8013B90C 0013886C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 8013B910 00138870 41 82 00 70 */ beq lbl_8013B980 +/* 8013B914 00138874 3C 60 80 3E */ lis r3, lbl_803E7158@ha +/* 8013B918 00138878 34 1E 02 FC */ addic. r0, r30, 0x2fc +/* 8013B91C 0013887C 38 03 71 58 */ addi r0, r3, lbl_803E7158@l +/* 8013B920 00138880 90 1E 00 00 */ stw r0, 0(r30) +/* 8013B924 00138884 41 82 00 40 */ beq lbl_8013B964 +/* 8013B928 00138888 34 1E 03 7C */ addic. r0, r30, 0x37c +/* 8013B92C 0013888C 41 82 00 10 */ beq lbl_8013B93C +/* 8013B930 00138890 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8013B934 00138894 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8013B938 00138898 90 1E 03 7C */ stw r0, 0x37c(r30) +lbl_8013B93C: +/* 8013B93C 0013889C 34 1E 03 40 */ addic. r0, r30, 0x340 +/* 8013B940 001388A0 41 82 00 10 */ beq lbl_8013B950 +/* 8013B944 001388A4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8013B948 001388A8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8013B94C 001388AC 90 1E 03 40 */ stw r0, 0x340(r30) +lbl_8013B950: +/* 8013B950 001388B0 34 1E 03 04 */ addic. r0, r30, 0x304 +/* 8013B954 001388B4 41 82 00 10 */ beq lbl_8013B964 +/* 8013B958 001388B8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 8013B95C 001388BC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 8013B960 001388C0 90 1E 03 04 */ stw r0, 0x304(r30) +lbl_8013B964: +/* 8013B964 001388C4 7F C3 F3 78 */ mr r3, r30 +/* 8013B968 001388C8 38 80 00 00 */ li r4, 0 +/* 8013B96C 001388CC 4B EF BA 95 */ bl __dt__15CGameProjectileFv +/* 8013B970 001388D0 7F E0 07 35 */ extsh. r0, r31 +/* 8013B974 001388D4 40 81 00 0C */ ble lbl_8013B980 +/* 8013B978 001388D8 7F C3 F3 78 */ mr r3, r30 +/* 8013B97C 001388DC 48 1D 9F B5 */ bl Free__7CMemoryFPCv +lbl_8013B980: +/* 8013B980 001388E0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013B984 001388E4 7F C3 F3 78 */ mr r3, r30 +/* 8013B988 001388E8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 8013B98C 001388EC 83 C1 00 08 */ lwz r30, 8(r1) +/* 8013B990 001388F0 7C 08 03 A6 */ mtlr r0 +/* 8013B994 001388F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013B998 001388F8 4E 80 00 20 */ blr + +.global ResolveCollisionWithActor__21CTargetableProjectileFRC14CRayCastResultR6CActorR13CStateManager +ResolveCollisionWithActor__21CTargetableProjectileFRC14CRayCastResultR6CActorR13CStateManager: +/* 8013B99C 001388FC 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 8013B9A0 00138900 7C 08 02 A6 */ mflr r0 +/* 8013B9A4 00138904 C0 22 9A 98 */ lfs f1, lbl_805AB7B8@sda21(r2) +/* 8013B9A8 00138908 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 8013B9AC 0013890C 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 8013B9B0 00138910 7C DF 33 78 */ mr r31, r6 +/* 8013B9B4 00138914 93 C1 00 98 */ stw r30, 0x98(r1) +/* 8013B9B8 00138918 7C BE 2B 78 */ mr r30, r5 +/* 8013B9BC 0013891C 7F E5 FB 78 */ mr r5, r31 +/* 8013B9C0 00138920 93 A1 00 94 */ stw r29, 0x94(r1) +/* 8013B9C4 00138924 7C 9D 23 78 */ mr r29, r4 +/* 8013B9C8 00138928 93 81 00 90 */ stw r28, 0x90(r1) +/* 8013B9CC 0013892C 7C 7C 1B 78 */ mr r28, r3 +/* 8013B9D0 00138930 7F 84 E3 78 */ mr r4, r28 +/* 8013B9D4 00138934 38 61 00 14 */ addi r3, r1, 0x14 +/* 8013B9D8 00138938 81 9C 00 00 */ lwz r12, 0(r28) +/* 8013B9DC 0013893C 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8013B9E0 00138940 7D 89 03 A6 */ mtctr r12 +/* 8013B9E4 00138944 4E 80 04 21 */ bctrl +/* 8013B9E8 00138948 C0 41 00 14 */ lfs f2, 0x14(r1) +/* 8013B9EC 0013894C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 8013B9F0 00138950 C0 21 00 18 */ lfs f1, 0x18(r1) +/* 8013B9F4 00138954 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 8013B9F8 00138958 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 8013B9FC 0013895C 38 61 00 2C */ addi r3, r1, 0x2c +/* 8013BA00 00138960 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 8013BA04 00138964 38 81 00 08 */ addi r4, r1, 8 +/* 8013BA08 00138968 38 A1 00 20 */ addi r5, r1, 0x20 +/* 8013BA0C 0013896C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 8013BA10 00138970 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 8013BA14 00138974 C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 8013BA18 00138978 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8013BA1C 0013897C C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 8013BA20 00138980 D0 01 00 08 */ stfs f0, 8(r1) +/* 8013BA24 00138984 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 8013BA28 00138988 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 8013BA2C 0013898C 48 1D 80 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8013BA30 00138990 38 61 00 5C */ addi r3, r1, 0x5c +/* 8013BA34 00138994 38 81 00 2C */ addi r4, r1, 0x2c +/* 8013BA38 00138998 48 1D 71 3D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 8013BA3C 0013899C C0 5C 00 60 */ lfs f2, 0x60(r28) +/* 8013BA40 001389A0 38 7C 00 34 */ addi r3, r28, 0x34 +/* 8013BA44 001389A4 C0 3C 00 50 */ lfs f1, 0x50(r28) +/* 8013BA48 001389A8 38 81 00 5C */ addi r4, r1, 0x5c +/* 8013BA4C 001389AC C0 1C 00 40 */ lfs f0, 0x40(r28) +/* 8013BA50 001389B0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 8013BA54 001389B4 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 8013BA58 001389B8 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 8013BA5C 001389BC 48 1D 70 E5 */ bl __as__12CTransform4fFRC12CTransform4f +/* 8013BA60 001389C0 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 8013BA64 001389C4 38 E0 00 01 */ li r7, 1 +/* 8013BA68 001389C8 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b +/* 8013BA6C 001389CC 7F 83 E3 78 */ mr r3, r28 +/* 8013BA70 001389D0 98 1C 00 E4 */ stb r0, 0xe4(r28) +/* 8013BA74 001389D4 7F A4 EB 78 */ mr r4, r29 +/* 8013BA78 001389D8 7F C5 F3 78 */ mr r5, r30 +/* 8013BA7C 001389DC 7F E6 FB 78 */ mr r6, r31 +/* 8013BA80 001389E0 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 8013BA84 001389E4 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 8013BA88 001389E8 98 1C 00 E4 */ stb r0, 0xe4(r28) +/* 8013BA8C 001389EC 88 1C 00 E4 */ lbz r0, 0xe4(r28) +/* 8013BA90 001389F0 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d +/* 8013BA94 001389F4 98 1C 00 E4 */ stb r0, 0xe4(r28) +/* 8013BA98 001389F8 48 0D 88 E9 */ bl ResolveCollisionWithActor__17CEnergyProjectileFRC14CRayCastResultR6CActorR13CStateManager +/* 8013BA9C 001389FC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 8013BAA0 00138A00 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 8013BAA4 00138A04 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 8013BAA8 00138A08 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 8013BAAC 00138A0C 83 81 00 90 */ lwz r28, 0x90(r1) +/* 8013BAB0 00138A10 7C 08 03 A6 */ mtlr r0 +/* 8013BAB4 00138A14 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 8013BAB8 00138A18 4E 80 00 20 */ blr + +.global GetAimPosition__21CTargetableProjectileCFRC13CStateManagerf +GetAimPosition__21CTargetableProjectileCFRC13CStateManagerf: +/* 8013BABC 00138A1C 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 8013BAC0 00138A20 7C 08 02 A6 */ mflr r0 +/* 8013BAC4 00138A24 90 01 00 94 */ stw r0, 0x94(r1) +/* 8013BAC8 00138A28 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 8013BACC 00138A2C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 8013BAD0 00138A30 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 8013BAD4 00138A34 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 8013BAD8 00138A38 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 8013BADC 00138A3C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 8013BAE0 00138A40 DB 81 00 50 */ stfd f28, 0x50(r1) +/* 8013BAE4 00138A44 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 +/* 8013BAE8 00138A48 DB 61 00 40 */ stfd f27, 0x40(r1) +/* 8013BAEC 00138A4C F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 +/* 8013BAF0 00138A50 DB 41 00 30 */ stfd f26, 0x30(r1) +/* 8013BAF4 00138A54 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 +/* 8013BAF8 00138A58 DB 21 00 20 */ stfd f25, 0x20(r1) +/* 8013BAFC 00138A5C F3 21 00 28 */ psq_st f25, 40(r1), 0, qr0 +/* 8013BB00 00138A60 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 8013BB04 00138A64 93 C1 00 18 */ stw r30, 0x18(r1) +/* 8013BB08 00138A68 93 A1 00 14 */ stw r29, 0x14(r1) +/* 8013BB0C 00138A6C 88 0D A3 CC */ lbz r0, lbl_805A8F8C@sda21(r13) +/* 8013BB10 00138A70 FF 80 08 90 */ fmr f28, f1 +/* 8013BB14 00138A74 7C 7D 1B 78 */ mr r29, r3 +/* 8013BB18 00138A78 7C 9E 23 78 */ mr r30, r4 +/* 8013BB1C 00138A7C 7C 00 07 75 */ extsb. r0, r0 +/* 8013BB20 00138A80 40 82 00 1C */ bne lbl_8013BB3C +/* 8013BB24 00138A84 48 17 56 19 */ bl GetTickPeriod__17CProjectileWeaponFv +/* 8013BB28 00138A88 C0 02 9A 9C */ lfs f0, lbl_805AB7BC@sda21(r2) +/* 8013BB2C 00138A8C 38 00 00 01 */ li r0, 1 +/* 8013BB30 00138A90 98 0D A3 CC */ stb r0, lbl_805A8F8C@sda21(r13) +/* 8013BB34 00138A94 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8013BB38 00138A98 D0 0D A3 C8 */ stfs f0, lbl_805A8F88@sda21(r13) +lbl_8013BB3C: +/* 8013BB3C 00138A9C 3B FE 01 70 */ addi r31, r30, 0x170 +/* 8013BB40 00138AA0 C3 BE 00 60 */ lfs f29, 0x60(r30) +/* 8013BB44 00138AA4 C3 DE 00 50 */ lfs f30, 0x50(r30) +/* 8013BB48 00138AA8 7F E3 FB 78 */ mr r3, r31 +/* 8013BB4C 00138AAC C3 FE 00 40 */ lfs f31, 0x40(r30) +/* 8013BB50 00138AB0 48 17 35 E5 */ bl GetVelocity__17CProjectileWeaponCFv +/* 8013BB54 00138AB4 C0 6D A3 C8 */ lfs f3, lbl_805A8F88@sda21(r13) +/* 8013BB58 00138AB8 C0 43 00 00 */ lfs f2, 0(r3) +/* 8013BB5C 00138ABC C0 23 00 04 */ lfs f1, 4(r3) +/* 8013BB60 00138AC0 C0 03 00 08 */ lfs f0, 8(r3) +/* 8013BB64 00138AC4 EF 23 00 B2 */ fmuls f25, f3, f2 +/* 8013BB68 00138AC8 EF 43 00 72 */ fmuls f26, f3, f1 +/* 8013BB6C 00138ACC 7F E3 FB 78 */ mr r3, r31 +/* 8013BB70 00138AD0 EF 63 00 32 */ fmuls f27, f3, f0 +/* 8013BB74 00138AD4 48 17 35 9D */ bl sub_802af110 +/* 8013BB78 00138AD8 C1 0D A3 C8 */ lfs f8, lbl_805A8F88@sda21(r13) +/* 8013BB7C 00138ADC EC 1C 06 72 */ fmuls f0, f28, f25 +/* 8013BB80 00138AE0 C0 63 00 00 */ lfs f3, 0(r3) +/* 8013BB84 00138AE4 EC 9C 06 B2 */ fmuls f4, f28, f26 +/* 8013BB88 00138AE8 C0 23 00 04 */ lfs f1, 4(r3) +/* 8013BB8C 00138AEC EC 5C 06 F2 */ fmuls f2, f28, f27 +/* 8013BB90 00138AF0 EC E8 00 F2 */ fmuls f7, f8, f3 +/* 8013BB94 00138AF4 C0 C2 9A A0 */ lfs f6, lbl_805AB7C0@sda21(r2) +/* 8013BB98 00138AF8 EC A8 00 72 */ fmuls f5, f8, f1 +/* 8013BB9C 00138AFC C0 63 00 08 */ lfs f3, 8(r3) +/* 8013BBA0 00138B00 EC 26 01 F2 */ fmuls f1, f6, f7 +/* 8013BBA4 00138B04 EC 68 00 F2 */ fmuls f3, f8, f3 +/* 8013BBA8 00138B08 EC A6 01 72 */ fmuls f5, f6, f5 +/* 8013BBAC 00138B0C EC 3C 00 72 */ fmuls f1, f28, f1 +/* 8013BBB0 00138B10 EC 66 00 F2 */ fmuls f3, f6, f3 +/* 8013BBB4 00138B14 EC BC 01 72 */ fmuls f5, f28, f5 +/* 8013BBB8 00138B18 EC 3C 00 72 */ fmuls f1, f28, f1 +/* 8013BBBC 00138B1C EC 7C 00 F2 */ fmuls f3, f28, f3 +/* 8013BBC0 00138B20 EC BC 01 72 */ fmuls f5, f28, f5 +/* 8013BBC4 00138B24 EC 01 00 2A */ fadds f0, f1, f0 +/* 8013BBC8 00138B28 EC 3C 00 F2 */ fmuls f1, f28, f3 +/* 8013BBCC 00138B2C EC 65 20 2A */ fadds f3, f5, f4 +/* 8013BBD0 00138B30 EC 00 F8 2A */ fadds f0, f0, f31 +/* 8013BBD4 00138B34 EC 21 10 2A */ fadds f1, f1, f2 +/* 8013BBD8 00138B38 EC 43 F0 2A */ fadds f2, f3, f30 +/* 8013BBDC 00138B3C D0 1D 00 00 */ stfs f0, 0(r29) +/* 8013BBE0 00138B40 EC 01 E8 2A */ fadds f0, f1, f29 +/* 8013BBE4 00138B44 D0 5D 00 04 */ stfs f2, 4(r29) +/* 8013BBE8 00138B48 D0 1D 00 08 */ stfs f0, 8(r29) +/* 8013BBEC 00138B4C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 8013BBF0 00138B50 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 8013BBF4 00138B54 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 8013BBF8 00138B58 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 8013BBFC 00138B5C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 8013BC00 00138B60 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 8013BC04 00138B64 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 +/* 8013BC08 00138B68 CB 81 00 50 */ lfd f28, 0x50(r1) +/* 8013BC0C 00138B6C E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 +/* 8013BC10 00138B70 CB 61 00 40 */ lfd f27, 0x40(r1) +/* 8013BC14 00138B74 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 +/* 8013BC18 00138B78 CB 41 00 30 */ lfd f26, 0x30(r1) +/* 8013BC1C 00138B7C E3 21 00 28 */ psq_l f25, 40(r1), 0, qr0 +/* 8013BC20 00138B80 CB 21 00 20 */ lfd f25, 0x20(r1) +/* 8013BC24 00138B84 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 8013BC28 00138B88 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 8013BC2C 00138B8C 80 01 00 94 */ lwz r0, 0x94(r1) +/* 8013BC30 00138B90 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 8013BC34 00138B94 7C 08 03 A6 */ mtlr r0 +/* 8013BC38 00138B98 38 21 00 90 */ addi r1, r1, 0x90 +/* 8013BC3C 00138B9C 4E 80 00 20 */ blr + +.global Think__21CTargetableProjectileFfR13CStateManager +Think__21CTargetableProjectileFfR13CStateManager: +/* 8013BC40 00138BA0 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 8013BC44 00138BA4 7C 08 02 A6 */ mflr r0 +/* 8013BC48 00138BA8 90 01 01 14 */ stw r0, 0x114(r1) +/* 8013BC4C 00138BAC BF 21 00 F4 */ stmw r25, 0xf4(r1) +/* 8013BC50 00138BB0 7C 7C 1B 78 */ mr r28, r3 +/* 8013BC54 00138BB4 7C FD 3B 78 */ mr r29, r7 +/* 8013BC58 00138BB8 A0 09 00 00 */ lhz r0, 0(r9) +/* 8013BC5C 00138BBC 39 21 00 58 */ addi r9, r1, 0x58 +/* 8013BC60 00138BC0 B0 01 00 58 */ sth r0, 0x58(r1) +/* 8013BC64 00138BC4 48 0D 8F 95 */ bl Explode__17CEnergyProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId +/* 8013BC68 00138BC8 88 1C 02 E4 */ lbz r0, 0x2e4(r28) +/* 8013BC6C 00138BCC 7C 7E 1B 78 */ mr r30, r3 +/* 8013BC70 00138BD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 8013BC74 00138BD4 40 82 02 30 */ bne lbl_8013BEA4 +/* 8013BC78 00138BD8 A0 7C 02 C4 */ lhz r3, 0x2c4(r28) +/* 8013BC7C 00138BDC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8013BC80 00138BE0 54 64 04 3E */ clrlwi r4, r3, 0x10 +/* 8013BC84 00138BE4 B0 61 00 60 */ sth r3, 0x60(r1) +/* 8013BC88 00138BE8 7C 04 00 40 */ cmplw r4, r0 +/* 8013BC8C 00138BEC 41 82 02 18 */ beq lbl_8013BEA4 +/* 8013BC90 00138BF0 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8013BC94 00138BF4 A0 03 00 08 */ lhz r0, 8(r3) +/* 8013BC98 00138BF8 7C 04 00 40 */ cmplw r4, r0 +/* 8013BC9C 00138BFC 40 82 02 08 */ bne lbl_8013BEA4 +/* 8013BCA0 00138C00 A0 1C 00 EC */ lhz r0, 0xec(r28) +/* 8013BCA4 00138C04 7F A3 EB 78 */ mr r3, r29 +/* 8013BCA8 00138C08 38 81 00 54 */ addi r4, r1, 0x54 +/* 8013BCAC 00138C0C B0 01 00 50 */ sth r0, 0x50(r1) +/* 8013BCB0 00138C10 B0 01 00 54 */ sth r0, 0x54(r1) +/* 8013BCB4 00138C14 4B F1 08 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 8013BCB8 00138C18 7C 64 1B 78 */ mr r4, r3 +/* 8013BCBC 00138C1C 38 61 00 6C */ addi r3, r1, 0x6c +/* 8013BCC0 00138C20 4B F7 3F D1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 8013BCC4 00138C24 83 23 00 04 */ lwz r25, 4(r3) +/* 8013BCC8 00138C28 28 19 00 00 */ cmplwi r25, 0 +/* 8013BCCC 00138C2C 41 82 01 D8 */ beq lbl_8013BEA4 +/* 8013BCD0 00138C30 7F A4 EB 78 */ mr r4, r29 +/* 8013BCD4 00138C34 38 61 00 4C */ addi r3, r1, 0x4c +/* 8013BCD8 00138C38 4B F1 14 05 */ bl AllocateUniqueId__13CStateManagerFv +/* 8013BCDC 00138C3C 7F 24 CB 78 */ mr r4, r25 +/* 8013BCE0 00138C40 A0 01 00 4C */ lhz r0, 0x4c(r1) +/* 8013BCE4 00138C44 81 99 00 00 */ lwz r12, 0(r25) +/* 8013BCE8 00138C48 7F A5 EB 78 */ mr r5, r29 +/* 8013BCEC 00138C4C B0 01 00 5C */ sth r0, 0x5c(r1) +/* 8013BCF0 00138C50 38 61 00 9C */ addi r3, r1, 0x9c +/* 8013BCF4 00138C54 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 8013BCF8 00138C58 C0 22 9A A4 */ lfs f1, lbl_805AB7C4@sda21(r2) +/* 8013BCFC 00138C5C 7D 89 03 A6 */ mtctr r12 +/* 8013BD00 00138C60 4E 80 04 21 */ bctrl +/* 8013BD04 00138C64 C0 41 00 9C */ lfs f2, 0x9c(r1) +/* 8013BD08 00138C68 3C 60 80 3D */ lis r3, lbl_803D0070@ha +/* 8013BD0C 00138C6C C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 8013BD10 00138C70 38 83 00 70 */ addi r4, r3, lbl_803D0070@l +/* 8013BD14 00138C74 C0 01 00 A4 */ lfs f0, 0xa4(r1) +/* 8013BD18 00138C78 3B 60 00 00 */ li r27, 0 +/* 8013BD1C 00138C7C D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 8013BD20 00138C80 38 60 03 D8 */ li r3, 0x3d8 +/* 8013BD24 00138C84 38 A0 00 00 */ li r5, 0 +/* 8013BD28 00138C88 D0 21 00 AC */ stfs f1, 0xac(r1) +/* 8013BD2C 00138C8C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 8013BD30 00138C90 48 1D 9B 3D */ bl __nw__FUlPCcPCc +/* 8013BD34 00138C94 7C 7F 1B 79 */ or. r31, r3, r3 +/* 8013BD38 00138C98 41 82 00 E4 */ beq lbl_8013BE1C +/* 8013BD3C 00138C9C C0 02 9A 9C */ lfs f0, lbl_805AB7BC@sda21(r2) +/* 8013BD40 00138CA0 38 00 00 00 */ li r0, 0 +/* 8013BD44 00138CA4 98 01 00 98 */ stb r0, 0x98(r1) +/* 8013BD48 00138CA8 38 9C 01 70 */ addi r4, r28, 0x170 +/* 8013BD4C 00138CAC A0 A1 00 60 */ lhz r5, 0x60(r1) +/* 8013BD50 00138CB0 38 61 00 74 */ addi r3, r1, 0x74 +/* 8013BD54 00138CB4 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 8013BD58 00138CB8 3B 60 00 01 */ li r27, 1 +/* 8013BD5C 00138CBC A0 01 00 5C */ lhz r0, 0x5c(r1) +/* 8013BD60 00138CC0 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 8013BD64 00138CC4 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 8013BD68 00138CC8 A0 DC 00 EC */ lhz r6, 0xec(r28) +/* 8013BD6C 00138CCC B0 C1 00 48 */ sth r6, 0x48(r1) +/* 8013BD70 00138CD0 B0 A1 00 40 */ sth r5, 0x40(r1) +/* 8013BD74 00138CD4 80 BC 00 04 */ lwz r5, 4(r28) +/* 8013BD78 00138CD8 B0 C1 00 44 */ sth r6, 0x44(r1) +/* 8013BD7C 00138CDC 90 A1 00 68 */ stw r5, 0x68(r1) +/* 8013BD80 00138CE0 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 8013BD84 00138CE4 81 9C 01 70 */ lwz r12, 0x170(r28) +/* 8013BD88 00138CE8 90 A1 00 64 */ stw r5, 0x64(r1) +/* 8013BD8C 00138CEC 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 8013BD90 00138CF0 83 3C 00 F0 */ lwz r25, 0xf0(r28) +/* 8013BD94 00138CF4 7D 89 03 A6 */ mtctr r12 +/* 8013BD98 00138CF8 4E 80 04 21 */ bctrl +/* 8013BD9C 00138CFC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 8013BDA0 00138D00 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 8013BDA4 00138D04 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l +/* 8013BDA8 00138D08 38 A1 00 A8 */ addi r5, r1, 0xa8 +/* 8013BDAC 00138D0C 38 81 00 74 */ addi r4, r1, 0x74 +/* 8013BDB0 00138D10 48 1D 7D 61 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 8013BDB4 00138D14 38 61 00 68 */ addi r3, r1, 0x68 +/* 8013BDB8 00138D18 38 01 00 40 */ addi r0, r1, 0x40 +/* 8013BDBC 00138D1C 90 61 00 08 */ stw r3, 8(r1) +/* 8013BDC0 00138D20 38 81 00 48 */ addi r4, r1, 0x48 +/* 8013BDC4 00138D24 3B 40 00 00 */ li r26, 0 +/* 8013BDC8 00138D28 39 81 00 80 */ addi r12, r1, 0x80 +/* 8013BDCC 00138D2C 90 01 00 0C */ stw r0, 0xc(r1) +/* 8013BDD0 00138D30 39 61 00 8C */ addi r11, r1, 0x8c +/* 8013BDD4 00138D34 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) +/* 8013BDD8 00138D38 7F E3 FB 78 */ mr r3, r31 +/* 8013BDDC 00138D3C 90 81 00 10 */ stw r4, 0x10(r1) +/* 8013BDE0 00138D40 7F 26 CB 78 */ mr r6, r25 +/* 8013BDE4 00138D44 38 BC 03 D8 */ addi r5, r28, 0x3d8 +/* 8013BDE8 00138D48 38 E1 00 B4 */ addi r7, r1, 0xb4 +/* 8013BDEC 00138D4C 93 41 00 14 */ stw r26, 0x14(r1) +/* 8013BDF0 00138D50 39 3C 03 E0 */ addi r9, r28, 0x3e0 +/* 8013BDF4 00138D54 39 41 00 3C */ addi r10, r1, 0x3c +/* 8013BDF8 00138D58 38 80 00 01 */ li r4, 1 +/* 8013BDFC 00138D5C 93 41 00 18 */ stw r26, 0x18(r1) +/* 8013BE00 00138D60 39 00 00 20 */ li r8, 0x20 +/* 8013BE04 00138D64 91 81 00 1C */ stw r12, 0x1c(r1) +/* 8013BE08 00138D68 91 61 00 20 */ stw r11, 0x20(r1) +/* 8013BE0C 00138D6C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013BE10 00138D70 93 41 00 28 */ stw r26, 0x28(r1) +/* 8013BE14 00138D74 48 0D 98 85 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 8013BE18 00138D78 7C 7F 1B 78 */ mr r31, r3 +lbl_8013BE1C: +/* 8013BE1C 00138D7C 7F 60 07 75 */ extsb. r0, r27 +/* 8013BE20 00138D80 41 82 00 30 */ beq lbl_8013BE50 +/* 8013BE24 00138D84 88 01 00 98 */ lbz r0, 0x98(r1) +/* 8013BE28 00138D88 28 00 00 00 */ cmplwi r0, 0 +/* 8013BE2C 00138D8C 41 82 00 1C */ beq lbl_8013BE48 +/* 8013BE30 00138D90 34 61 00 8C */ addic. r3, r1, 0x8c +/* 8013BE34 00138D94 41 82 00 14 */ beq lbl_8013BE48 +/* 8013BE38 00138D98 28 03 00 00 */ cmplwi r3, 0 +/* 8013BE3C 00138D9C 41 82 00 0C */ beq lbl_8013BE48 +/* 8013BE40 00138DA0 38 80 00 00 */ li r4, 0 +/* 8013BE44 00138DA4 48 20 4F FD */ bl __dt__6CTokenFv +lbl_8013BE48: +/* 8013BE48 00138DA8 38 00 00 00 */ li r0, 0 +/* 8013BE4C 00138DAC 98 01 00 98 */ stb r0, 0x98(r1) +lbl_8013BE50: +/* 8013BE50 00138DB0 7F A3 EB 78 */ mr r3, r29 +/* 8013BE54 00138DB4 7F E4 FB 78 */ mr r4, r31 +/* 8013BE58 00138DB8 4B F1 0C BD */ bl AddObject__13CStateManagerFR7CEntity +/* 8013BE5C 00138DBC 7F E3 FB 78 */ mr r3, r31 +/* 8013BE60 00138DC0 7F A5 EB 78 */ mr r5, r29 +/* 8013BE64 00138DC4 38 80 00 29 */ li r4, 0x29 +/* 8013BE68 00138DC8 4B F1 84 E9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager +/* 8013BE6C 00138DCC A0 01 00 5C */ lhz r0, 0x5c(r1) +/* 8013BE70 00138DD0 38 81 00 38 */ addi r4, r1, 0x38 +/* 8013BE74 00138DD4 B0 01 00 38 */ sth r0, 0x38(r1) +/* 8013BE78 00138DD8 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8013BE7C 00138DDC 4B ED DF 29 */ bl ResetAimTargetPrediction__7CPlayerF9TUniqueId +/* 8013BE80 00138DE0 A0 01 00 5C */ lhz r0, 0x5c(r1) +/* 8013BE84 00138DE4 7F A5 EB 78 */ mr r5, r29 +/* 8013BE88 00138DE8 38 81 00 34 */ addi r4, r1, 0x34 +/* 8013BE8C 00138DEC B0 01 00 34 */ sth r0, 0x34(r1) +/* 8013BE90 00138DF0 80 7D 08 4C */ lwz r3, 0x84c(r29) +/* 8013BE94 00138DF4 48 03 F7 59 */ bl SetOrbitTargetId__7CPlayerF9TUniqueIdR13CStateManager +/* 8013BE98 00138DF8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 8013BE9C 00138DFC B0 01 00 30 */ sth r0, 0x30(r1) +/* 8013BEA0 00138E00 B0 1C 02 C4 */ sth r0, 0x2c4(r28) +lbl_8013BEA4: +/* 8013BEA4 00138E04 7F C3 F3 78 */ mr r3, r30 +/* 8013BEA8 00138E08 BB 21 00 F4 */ lmw r25, 0xf4(r1) +/* 8013BEAC 00138E0C 80 01 01 14 */ lwz r0, 0x114(r1) +/* 8013BEB0 00138E10 7C 08 03 A6 */ mtlr r0 +/* 8013BEB4 00138E14 38 21 01 10 */ addi r1, r1, 0x110 +/* 8013BEB8 00138E18 4E 80 00 20 */ blr + +.global Accept__21CTargetableProjectileFR8IVisitor +Accept__21CTargetableProjectileFR8IVisitor: +/* 8013BEBC 00138E1C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 8013BEC0 00138E20 7C 08 02 A6 */ mflr r0 +/* 8013BEC4 00138E24 90 01 00 14 */ stw r0, 0x14(r1) +/* 8013BEC8 00138E28 7C 60 1B 78 */ mr r0, r3 +/* 8013BECC 00138E2C 7C 83 23 78 */ mr r3, r4 +/* 8013BED0 00138E30 81 84 00 00 */ lwz r12, 0(r4) +/* 8013BED4 00138E34 7C 04 03 78 */ mr r4, r0 +/* 8013BED8 00138E38 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 8013BEDC 00138E3C 7D 89 03 A6 */ mtctr r12 +/* 8013BEE0 00138E40 4E 80 04 21 */ bctrl +/* 8013BEE4 00138E44 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8013BEE8 00138E48 7C 08 03 A6 */ mtlr r0 +/* 8013BEEC 00138E4C 38 21 00 10 */ addi r1, r1, 0x10 +/* 8013BEF0 00138E50 4E 80 00 20 */ blr + +.global "__ct__21CTargetableProjectileFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfoRC11CDamageInfo9TUniqueId9TUniqueIdRC28TToken<18CWeaponDescription>9TUniqueIdUi" +"__ct__21CTargetableProjectileFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfoRC11CDamageInfo9TUniqueId9TUniqueIdRC28TToken<18CWeaponDescription>9TUniqueIdUi": +/* 8013BEF4 00138E54 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 8013BEF8 00138E58 7C 08 02 A6 */ mflr r0 +/* 8013BEFC 00138E5C 7C EC 3B 78 */ mr r12, r7 +/* 8013BF00 00138E60 C0 02 9A 9C */ lfs f0, lbl_805AB7BC@sda21(r2) +/* 8013BF04 00138E64 90 01 00 84 */ stw r0, 0x84(r1) +/* 8013BF08 00138E68 80 E1 00 8C */ lwz r7, 0x8c(r1) +/* 8013BF0C 00138E6C BE A1 00 54 */ stmw r21, 0x54(r1) +/* 8013BF10 00138E70 7C DE 33 78 */ mr r30, r6 +/* 8013BF14 00138E74 7C BD 2B 78 */ mr r29, r5 +/* 8013BF18 00138E78 80 A1 00 98 */ lwz r5, 0x98(r1) +/* 8013BF1C 00138E7C 80 C1 00 94 */ lwz r6, 0x94(r1) +/* 8013BF20 00138E80 3A C1 00 3C */ addi r22, r1, 0x3c +/* 8013BF24 00138E84 60 B9 04 03 */ ori r25, r5, 0x403 +/* 8013BF28 00138E88 7C 85 23 78 */ mr r5, r4 +/* 8013BF2C 00138E8C 3A E1 00 34 */ addi r23, r1, 0x34 +/* 8013BF30 00138E90 3B 01 00 30 */ addi r24, r1, 0x30 +/* 8013BF34 00138E94 3B 40 00 00 */ li r26, 0 +/* 8013BF38 00138E98 3B 61 00 40 */ addi r27, r1, 0x40 +/* 8013BF3C 00138E9C 81 61 00 9C */ lwz r11, 0x9c(r1) +/* 8013BF40 00138EA0 7D 3F 4B 78 */ mr r31, r9 +/* 8013BF44 00138EA4 7C 7C 1B 78 */ mr r28, r3 +/* 8013BF48 00138EA8 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 8013BF4C 00138EAC A2 AA 00 00 */ lhz r21, 0(r10) +/* 8013BF50 00138EB0 7D 0A 43 78 */ mr r10, r8 +/* 8013BF54 00138EB4 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 8013BF58 00138EB8 7D 49 53 78 */ mr r9, r10 +/* 8013BF5C 00138EBC 81 01 00 88 */ lwz r8, 0x88(r1) +/* 8013BF60 00138EC0 39 41 00 38 */ addi r10, r1, 0x38 +/* 8013BF64 00138EC4 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 8013BF68 00138EC8 A0 06 00 00 */ lhz r0, 0(r6) +/* 8013BF6C 00138ECC B0 01 00 30 */ sth r0, 0x30(r1) +/* 8013BF70 00138ED0 A0 01 00 A2 */ lhz r0, 0xa2(r1) +/* 8013BF74 00138ED4 A0 C7 00 00 */ lhz r6, 0(r7) +/* 8013BF78 00138ED8 7F C7 F3 78 */ mr r7, r30 +/* 8013BF7C 00138EDC 83 C1 00 90 */ lwz r30, 0x90(r1) +/* 8013BF80 00138EE0 B0 C1 00 34 */ sth r6, 0x34(r1) +/* 8013BF84 00138EE4 7F A6 EB 78 */ mr r6, r29 +/* 8013BF88 00138EE8 8B A1 00 A7 */ lbz r29, 0xa7(r1) +/* 8013BF8C 00138EEC 80 88 00 00 */ lwz r4, 0(r8) +/* 8013BF90 00138EF0 7D 88 63 78 */ mr r8, r12 +/* 8013BF94 00138EF4 90 81 00 3C */ stw r4, 0x3c(r1) +/* 8013BF98 00138EF8 38 80 00 01 */ li r4, 1 +/* 8013BF9C 00138EFC B2 A1 00 38 */ sth r21, 0x38(r1) +/* 8013BFA0 00138F00 92 C1 00 08 */ stw r22, 8(r1) +/* 8013BFA4 00138F04 92 E1 00 0C */ stw r23, 0xc(r1) +/* 8013BFA8 00138F08 93 01 00 10 */ stw r24, 0x10(r1) +/* 8013BFAC 00138F0C 93 21 00 14 */ stw r25, 0x14(r1) +/* 8013BFB0 00138F10 93 41 00 18 */ stw r26, 0x18(r1) +/* 8013BFB4 00138F14 93 61 00 1C */ stw r27, 0x1c(r1) +/* 8013BFB8 00138F18 91 61 00 20 */ stw r11, 0x20(r1) +/* 8013BFBC 00138F1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 8013BFC0 00138F20 93 A1 00 28 */ stw r29, 0x28(r1) +/* 8013BFC4 00138F24 48 0D 96 D5 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 8013BFC8 00138F28 3C 60 80 3E */ lis r3, lbl_803E1800@ha +/* 8013BFCC 00138F2C 7F C4 F3 78 */ mr r4, r30 +/* 8013BFD0 00138F30 38 03 18 00 */ addi r0, r3, lbl_803E1800@l +/* 8013BFD4 00138F34 38 7C 03 D8 */ addi r3, r28, 0x3d8 +/* 8013BFD8 00138F38 90 1C 00 00 */ stw r0, 0(r28) +/* 8013BFDC 00138F3C 48 20 4E CD */ bl __ct__6CTokenFRC6CToken +/* 8013BFE0 00138F40 80 1F 00 00 */ lwz r0, 0(r31) +/* 8013BFE4 00138F44 7F 83 E3 78 */ mr r3, r28 +/* 8013BFE8 00138F48 90 1C 03 E0 */ stw r0, 0x3e0(r28) +/* 8013BFEC 00138F4C 88 1F 00 04 */ lbz r0, 4(r31) +/* 8013BFF0 00138F50 98 1C 03 E4 */ stb r0, 0x3e4(r28) +/* 8013BFF4 00138F54 C0 1F 00 08 */ lfs f0, 8(r31) +/* 8013BFF8 00138F58 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) +/* 8013BFFC 00138F5C C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 8013C000 00138F60 D0 1C 03 EC */ stfs f0, 0x3ec(r28) +/* 8013C004 00138F64 C0 1F 00 10 */ lfs f0, 0x10(r31) +/* 8013C008 00138F68 D0 1C 03 F0 */ stfs f0, 0x3f0(r28) +/* 8013C00C 00138F6C C0 1F 00 14 */ lfs f0, 0x14(r31) +/* 8013C010 00138F70 D0 1C 03 F4 */ stfs f0, 0x3f4(r28) +/* 8013C014 00138F74 88 1F 00 18 */ lbz r0, 0x18(r31) +/* 8013C018 00138F78 98 1C 03 F8 */ stb r0, 0x3f8(r28) +/* 8013C01C 00138F7C 80 1C 00 68 */ lwz r0, 0x68(r28) +/* 8013C020 00138F80 60 00 01 00 */ ori r0, r0, 0x100 +/* 8013C024 00138F84 90 1C 00 68 */ stw r0, 0x68(r28) +/* 8013C028 00138F88 80 1C 00 68 */ lwz r0, 0x68(r28) +/* 8013C02C 00138F8C 60 00 02 00 */ ori r0, r0, 0x200 +/* 8013C030 00138F90 90 1C 00 68 */ stw r0, 0x68(r28) +/* 8013C034 00138F94 BA A1 00 54 */ lmw r21, 0x54(r1) +/* 8013C038 00138F98 80 01 00 84 */ lwz r0, 0x84(r1) +/* 8013C03C 00138F9C 7C 08 03 A6 */ mtlr r0 +/* 8013C040 00138FA0 38 21 00 80 */ addi r1, r1, 0x80 +/* 8013C044 00138FA4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/Weapons/CWeapon.s b/asm/Kyoto_CWD/Weapons/CWeapon.s new file mode 100644 index 00000000..a53a2c20 --- /dev/null +++ b/asm/Kyoto_CWD/Weapons/CWeapon.s @@ -0,0 +1,396 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetCollisionResponseType__7CWeaponCFRC9CVector3fRC9CVector3fRC11CWeaponModei +GetCollisionResponseType__7CWeaponCFRC9CVector3fRC9CVector3fRC11CWeaponModei: +/* 80101F00 000FEE60 38 60 00 0C */ li r3, 0xc +/* 80101F04 000FEE64 4E 80 00 20 */ blr + +.global Render__7CWeaponCFRC13CStateManager +Render__7CWeaponCFRC13CStateManager: +/* 80101F08 000FEE68 4E 80 00 20 */ blr + +.global FluidFXThink__7CWeaponFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager +FluidFXThink__7CWeaponFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: +/* 80101F0C 000FEE6C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 80101F10 000FEE70 7C 08 02 A6 */ mflr r0 +/* 80101F14 000FEE74 90 01 00 74 */ stw r0, 0x74(r1) +/* 80101F18 000FEE78 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 80101F1C 000FEE7C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 80101F20 000FEE80 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 80101F24 000FEE84 7C 7C 1B 78 */ mr r28, r3 +/* 80101F28 000FEE88 C3 E2 93 E8 */ lfs f31, lbl_805AB108@sda21(r2) +/* 80101F2C 000FEE8C 80 03 00 F0 */ lwz r0, 0xf0(r3) +/* 80101F30 000FEE90 7C 9D 23 78 */ mr r29, r4 +/* 80101F34 000FEE94 7C BE 2B 78 */ mr r30, r5 +/* 80101F38 000FEE98 7C DF 33 78 */ mr r31, r6 +/* 80101F3C 000FEE9C 28 00 00 08 */ cmplwi r0, 8 +/* 80101F40 000FEEA0 3B 60 00 01 */ li r27, 1 +/* 80101F44 000FEEA4 41 81 00 48 */ bgt lbl_80101F8C +/* 80101F48 000FEEA8 3C 60 80 3E */ lis r3, lbl_803DFF5C@ha +/* 80101F4C 000FEEAC 54 00 10 3A */ slwi r0, r0, 2 +/* 80101F50 000FEEB0 38 63 FF 5C */ addi r3, r3, lbl_803DFF5C@l +/* 80101F54 000FEEB4 7C 03 00 2E */ lwzx r0, r3, r0 +/* 80101F58 000FEEB8 7C 09 03 A6 */ mtctr r0 +/* 80101F5C 000FEEBC 4E 80 04 20 */ bctr +/* 80101F60 000FEEC0 C3 E2 93 EC */ lfs f31, lbl_805AB10C@sda21(r2) +/* 80101F64 000FEEC4 48 00 00 2C */ b lbl_80101F90 +/* 80101F68 000FEEC8 C3 E2 93 F0 */ lfs f31, lbl_805AB110@sda21(r2) +/* 80101F6C 000FEECC 48 00 00 24 */ b lbl_80101F90 +/* 80101F70 000FEED0 C3 E2 93 EC */ lfs f31, lbl_805AB10C@sda21(r2) +/* 80101F74 000FEED4 48 00 00 1C */ b lbl_80101F90 +/* 80101F78 000FEED8 48 00 00 18 */ b lbl_80101F90 +/* 80101F7C 000FEEDC C3 E2 93 F4 */ lfs f31, lbl_805AB114@sda21(r2) +/* 80101F80 000FEEE0 48 00 00 10 */ b lbl_80101F90 +/* 80101F84 000FEEE4 C3 E2 93 EC */ lfs f31, lbl_805AB10C@sda21(r2) +/* 80101F88 000FEEE8 48 00 00 08 */ b lbl_80101F90 +lbl_80101F8C: +/* 80101F8C 000FEEEC 3B 60 00 00 */ li r27, 0 +lbl_80101F90: +/* 80101F90 000FEEF0 80 7C 00 E8 */ lwz r3, 0xe8(r28) +/* 80101F94 000FEEF4 54 60 06 31 */ rlwinm. r0, r3, 0, 0x18, 0x18 +/* 80101F98 000FEEF8 41 82 00 14 */ beq lbl_80101FAC +/* 80101F9C 000FEEFC 2C 1D 00 01 */ cmpwi r29, 1 +/* 80101FA0 000FEF00 41 82 00 0C */ beq lbl_80101FAC +/* 80101FA4 000FEF04 C0 02 93 F4 */ lfs f0, lbl_805AB114@sda21(r2) +/* 80101FA8 000FEF08 EF FF 00 2A */ fadds f31, f31, f0 +lbl_80101FAC: +/* 80101FAC 000FEF0C 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d +/* 80101FB0 000FEF10 41 82 00 0C */ beq lbl_80101FBC +/* 80101FB4 000FEF14 C0 02 93 F8 */ lfs f0, lbl_805AB118@sda21(r2) +/* 80101FB8 000FEF18 EF FF 00 2A */ fadds f31, f31, f0 +lbl_80101FBC: +/* 80101FBC 000FEF1C C0 02 93 FC */ lfs f0, lbl_805AB11C@sda21(r2) +/* 80101FC0 000FEF20 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 80101FC4 000FEF24 40 81 00 08 */ ble lbl_80101FCC +/* 80101FC8 000FEF28 FF E0 00 90 */ fmr f31, f0 +lbl_80101FCC: +/* 80101FCC 000FEF2C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80101FD0 000FEF30 41 82 00 EC */ beq lbl_801020BC +/* 80101FD4 000FEF34 7F C4 F3 78 */ mr r4, r30 +/* 80101FD8 000FEF38 38 61 00 30 */ addi r3, r1, 0x30 +/* 80101FDC 000FEF3C 4B F7 46 F1 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv +/* 80101FE0 000FEF40 C0 3C 00 60 */ lfs f1, 0x60(r28) +/* 80101FE4 000FEF44 C0 1C 00 50 */ lfs f0, 0x50(r28) +/* 80101FE8 000FEF48 C0 7C 00 40 */ lfs f3, 0x40(r28) +/* 80101FEC 000FEF4C C0 41 00 44 */ lfs f2, 0x44(r1) +/* 80101FF0 000FEF50 D0 61 00 24 */ stfs f3, 0x24(r1) +/* 80101FF4 000FEF54 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 80101FF8 000FEF58 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 80101FFC 000FEF5C 80 1C 00 E8 */ lwz r0, 0xe8(r28) +/* 80102000 000FEF60 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 80102004 000FEF64 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18 +/* 80102008 000FEF68 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 8010200C 000FEF6C D0 21 00 20 */ stfs f1, 0x20(r1) +/* 80102010 000FEF70 41 82 00 20 */ beq lbl_80102030 +/* 80102014 000FEF74 7F C3 F3 78 */ mr r3, r30 +/* 80102018 000FEF78 38 81 00 24 */ addi r4, r1, 0x24 +/* 8010201C 000FEF7C 4B FF CC 95 */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f +/* 80102020 000FEF80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 80102024 000FEF84 40 82 00 18 */ bne lbl_8010203C +/* 80102028 000FEF88 3B 60 00 00 */ li r27, 0 +/* 8010202C 000FEF8C 48 00 00 10 */ b lbl_8010203C +lbl_80102030: +/* 80102030 000FEF90 2C 1D 00 01 */ cmpwi r29, 1 +/* 80102034 000FEF94 40 82 00 08 */ bne lbl_8010203C +/* 80102038 000FEF98 3B 60 00 00 */ li r27, 0 +lbl_8010203C: +/* 8010203C 000FEF9C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 80102040 000FEFA0 41 82 00 7C */ beq lbl_801020BC +/* 80102044 000FEFA4 2C 1D 00 00 */ cmpwi r29, 0 +/* 80102048 000FEFA8 3B 60 00 00 */ li r27, 0 +/* 8010204C 000FEFAC 41 82 00 0C */ beq lbl_80102058 +/* 80102050 000FEFB0 2C 1D 00 02 */ cmpwi r29, 2 +/* 80102054 000FEFB4 40 82 00 08 */ bne lbl_8010205C +lbl_80102058: +/* 80102058 000FEFB8 3B 60 00 01 */ li r27, 1 +lbl_8010205C: +/* 8010205C 000FEFBC A0 1C 00 08 */ lhz r0, 8(r28) +/* 80102060 000FEFC0 FC 20 F8 90 */ fmr f1, f31 +/* 80102064 000FEFC4 7F C6 F3 78 */ mr r6, r30 +/* 80102068 000FEFC8 7F E7 FB 78 */ mr r7, r31 +/* 8010206C 000FEFCC B0 01 00 14 */ sth r0, 0x14(r1) +/* 80102070 000FEFD0 38 81 00 14 */ addi r4, r1, 0x14 +/* 80102074 000FEFD4 38 A1 00 24 */ addi r5, r1, 0x24 +/* 80102078 000FEFD8 80 7E 01 B4 */ lwz r3, 0x1b4(r30) +/* 8010207C 000FEFDC B0 01 00 10 */ sth r0, 0x10(r1) +/* 80102080 000FEFE0 81 83 00 00 */ lwz r12, 0(r3) +/* 80102084 000FEFE4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 80102088 000FEFE8 7D 89 03 A6 */ mtctr r12 +/* 8010208C 000FEFEC 4E 80 04 21 */ bctrl +/* 80102090 000FEFF0 A0 1C 00 08 */ lhz r0, 8(r28) +/* 80102094 000FEFF4 FC 20 F8 90 */ fmr f1, f31 +/* 80102098 000FEFF8 7F E5 FB 78 */ mr r5, r31 +/* 8010209C 000FEFFC 7F C6 F3 78 */ mr r6, r30 +/* 801020A0 000FF000 B0 01 00 0C */ sth r0, 0xc(r1) +/* 801020A4 000FF004 7F 68 DB 78 */ mr r8, r27 +/* 801020A8 000FF008 38 81 00 0C */ addi r4, r1, 0xc +/* 801020AC 000FF00C B0 01 00 08 */ sth r0, 8(r1) +/* 801020B0 000FF010 38 E1 00 24 */ addi r7, r1, 0x24 +/* 801020B4 000FF014 80 7F 08 7C */ lwz r3, 0x87c(r31) +/* 801020B8 000FF018 48 02 D2 01 */ bl CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb +lbl_801020BC: +/* 801020BC 000FF01C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 801020C0 000FF020 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 801020C4 000FF024 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 801020C8 000FF028 80 01 00 74 */ lwz r0, 0x74(r1) +/* 801020CC 000FF02C 7C 08 03 A6 */ mtlr r0 +/* 801020D0 000FF030 38 21 00 70 */ addi r1, r1, 0x70 +/* 801020D4 000FF034 4E 80 00 20 */ blr + +.global Think__7CWeaponFfR13CStateManager +Think__7CWeaponFfR13CStateManager: +/* 801020D8 000FF038 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 801020DC 000FF03C 7C 08 02 A6 */ mflr r0 +/* 801020E0 000FF040 90 01 00 44 */ stw r0, 0x44(r1) +/* 801020E4 000FF044 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 801020E8 000FF048 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 801020EC 000FF04C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 801020F0 000FF050 93 C1 00 28 */ stw r30, 0x28(r1) +/* 801020F4 000FF054 7C 7E 1B 78 */ mr r30, r3 +/* 801020F8 000FF058 FF E0 08 90 */ fmr f31, f1 +/* 801020FC 000FF05C C0 03 01 48 */ lfs f0, 0x148(r3) +/* 80102100 000FF060 7C 9F 23 78 */ mr r31, r4 +/* 80102104 000FF064 EC 00 F8 2A */ fadds f0, f0, f31 +/* 80102108 000FF068 D0 03 01 48 */ stfs f0, 0x148(r3) +/* 8010210C 000FF06C 80 03 00 E8 */ lwz r0, 0xe8(r3) +/* 80102110 000FF070 54 00 04 A4 */ rlwinm r0, r0, 0, 0x12, 0x12 +/* 80102114 000FF074 2C 00 20 00 */ cmpwi r0, 0x2000 +/* 80102118 000FF078 40 82 00 98 */ bne lbl_801021B0 +/* 8010211C 000FF07C C0 5E 01 48 */ lfs f2, 0x148(r30) +/* 80102120 000FF080 38 81 00 08 */ addi r4, r1, 8 +/* 80102124 000FF084 C0 3E 01 4C */ lfs f1, 0x14c(r30) +/* 80102128 000FF088 38 6D 89 98 */ addi r3, r13, lbl_805A7558@sda21 +/* 8010212C 000FF08C C0 02 93 FC */ lfs f0, lbl_805AB11C@sda21(r2) +/* 80102130 000FF090 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 +/* 80102134 000FF094 D0 01 00 08 */ stfs f0, 8(r1) +/* 80102138 000FF098 4B F4 D5 F9 */ bl "Max__5CMathFRCfRCf" +/* 8010213C 000FF09C 88 1E 01 14 */ lbz r0, 0x114(r30) +/* 80102140 000FF0A0 38 80 00 00 */ li r4, 0 +/* 80102144 000FF0A4 C0 83 00 00 */ lfs f4, 0(r3) +/* 80102148 000FF0A8 C0 1E 01 18 */ lfs f0, 0x118(r30) +/* 8010214C 000FF0AC 80 BE 01 10 */ lwz r5, 0x110(r30) +/* 80102150 000FF0B0 EC 64 00 32 */ fmuls f3, f4, f0 +/* 80102154 000FF0B4 98 01 00 10 */ stb r0, 0x10(r1) +/* 80102158 000FF0B8 C0 3E 01 20 */ lfs f1, 0x120(r30) +/* 8010215C 000FF0BC C0 1E 01 24 */ lfs f0, 0x124(r30) +/* 80102160 000FF0C0 EC 44 00 72 */ fmuls f2, f4, f1 +/* 80102164 000FF0C4 80 01 00 10 */ lwz r0, 0x10(r1) +/* 80102168 000FF0C8 EC 24 00 32 */ fmuls f1, f4, f0 +/* 8010216C 000FF0CC 90 BE 01 2C */ stw r5, 0x12c(r30) +/* 80102170 000FF0D0 FC 00 18 18 */ frsp f0, f3 +/* 80102174 000FF0D4 90 1E 01 30 */ stw r0, 0x130(r30) +/* 80102178 000FF0D8 88 01 00 24 */ lbz r0, 0x24(r1) +/* 8010217C 000FF0DC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 80102180 000FF0E0 D0 7E 01 34 */ stfs f3, 0x134(r30) +/* 80102184 000FF0E4 D0 1E 01 38 */ stfs f0, 0x138(r30) +/* 80102188 000FF0E8 D0 5E 01 3C */ stfs f2, 0x13c(r30) +/* 8010218C 000FF0EC D0 3E 01 40 */ stfs f1, 0x140(r30) +/* 80102190 000FF0F0 90 A1 00 0C */ stw r5, 0xc(r1) +/* 80102194 000FF0F4 D0 61 00 14 */ stfs f3, 0x14(r1) +/* 80102198 000FF0F8 D0 61 00 18 */ stfs f3, 0x18(r1) +/* 8010219C 000FF0FC D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 801021A0 000FF100 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 801021A4 000FF104 98 01 00 24 */ stb r0, 0x24(r1) +/* 801021A8 000FF108 98 1E 01 44 */ stb r0, 0x144(r30) +/* 801021AC 000FF10C 48 00 00 3C */ b lbl_801021E8 +lbl_801021B0: +/* 801021B0 000FF110 80 7E 01 10 */ lwz r3, 0x110(r30) +/* 801021B4 000FF114 80 1E 01 14 */ lwz r0, 0x114(r30) +/* 801021B8 000FF118 90 7E 01 2C */ stw r3, 0x12c(r30) +/* 801021BC 000FF11C 90 1E 01 30 */ stw r0, 0x130(r30) +/* 801021C0 000FF120 C0 1E 01 18 */ lfs f0, 0x118(r30) +/* 801021C4 000FF124 D0 1E 01 34 */ stfs f0, 0x134(r30) +/* 801021C8 000FF128 C0 1E 01 1C */ lfs f0, 0x11c(r30) +/* 801021CC 000FF12C D0 1E 01 38 */ stfs f0, 0x138(r30) +/* 801021D0 000FF130 C0 1E 01 20 */ lfs f0, 0x120(r30) +/* 801021D4 000FF134 D0 1E 01 3C */ stfs f0, 0x13c(r30) +/* 801021D8 000FF138 C0 1E 01 24 */ lfs f0, 0x124(r30) +/* 801021DC 000FF13C D0 1E 01 40 */ stfs f0, 0x140(r30) +/* 801021E0 000FF140 88 1E 01 28 */ lbz r0, 0x128(r30) +/* 801021E4 000FF144 98 1E 01 44 */ stb r0, 0x144(r30) +lbl_801021E8: +/* 801021E8 000FF148 FC 20 F8 90 */ fmr f1, f31 +/* 801021EC 000FF14C 7F C3 F3 78 */ mr r3, r30 +/* 801021F0 000FF150 7F E4 FB 78 */ mr r4, r31 +/* 801021F4 000FF154 4B F4 EE C5 */ bl Think__7CEntityFfR13CStateManager +/* 801021F8 000FF158 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 801021FC 000FF15C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 80102200 000FF160 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 80102204 000FF164 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 80102208 000FF168 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 8010220C 000FF16C 7C 08 03 A6 */ mtlr r0 +/* 80102210 000FF170 38 21 00 40 */ addi r1, r1, 0x40 +/* 80102214 000FF174 4E 80 00 20 */ blr + +.global sub_80102218 +sub_80102218: +/* 80102218 000FF178 C0 02 93 E8 */ lfs f0, lbl_805AB108@sda21(r2) +/* 8010221C 000FF17C FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 80102220 000FF180 4C 81 00 20 */ blelr +/* 80102224 000FF184 C0 02 93 FC */ lfs f0, lbl_805AB11C@sda21(r2) +/* 80102228 000FF188 EC 00 08 24 */ fdivs f0, f0, f1 +/* 8010222C 000FF18C D0 03 01 4C */ stfs f0, 0x14c(r3) +/* 80102230 000FF190 4E 80 00 20 */ blr + +.global __dt__7CWeaponFv +__dt__7CWeaponFv: +/* 80102234 000FF194 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 80102238 000FF198 7C 08 02 A6 */ mflr r0 +/* 8010223C 000FF19C 90 01 00 14 */ stw r0, 0x14(r1) +/* 80102240 000FF1A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 80102244 000FF1A4 7C 9F 23 78 */ mr r31, r4 +/* 80102248 000FF1A8 93 C1 00 08 */ stw r30, 8(r1) +/* 8010224C 000FF1AC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 80102250 000FF1B0 41 82 00 28 */ beq lbl_80102278 +/* 80102254 000FF1B4 3C A0 80 3E */ lis r5, lbl_803DFEF0@ha +/* 80102258 000FF1B8 38 80 00 00 */ li r4, 0 +/* 8010225C 000FF1BC 38 05 FE F0 */ addi r0, r5, lbl_803DFEF0@l +/* 80102260 000FF1C0 90 1E 00 00 */ stw r0, 0(r30) +/* 80102264 000FF1C4 4B F5 34 8D */ bl __dt__6CActorFv +/* 80102268 000FF1C8 7F E0 07 35 */ extsh. r0, r31 +/* 8010226C 000FF1CC 40 81 00 0C */ ble lbl_80102278 +/* 80102270 000FF1D0 7F C3 F3 78 */ mr r3, r30 +/* 80102274 000FF1D4 48 21 36 BD */ bl Free__7CMemoryFPCv +lbl_80102278: +/* 80102278 000FF1D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 8010227C 000FF1DC 7F C3 F3 78 */ mr r3, r30 +/* 80102280 000FF1E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 80102284 000FF1E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 80102288 000FF1E8 7C 08 03 A6 */ mtlr r0 +/* 8010228C 000FF1EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 80102290 000FF1F0 4E 80 00 20 */ blr + +.global "__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData" +"__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData": +/* 80102294 000FF1F4 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 80102298 000FF1F8 7C 08 02 A6 */ mflr r0 +/* 8010229C 000FF1FC 3D 60 80 57 */ lis r11, lbl_8056D410@ha +/* 801022A0 000FF200 90 01 01 54 */ stw r0, 0x154(r1) +/* 801022A4 000FF204 BE 81 01 20 */ stmw r20, 0x120(r1) +/* 801022A8 000FF208 7C 79 1B 78 */ mr r25, r3 +/* 801022AC 000FF20C 7C 94 23 78 */ mr r20, r4 +/* 801022B0 000FF210 7C DA 33 78 */ mr r26, r6 +/* 801022B4 000FF214 83 A1 01 58 */ lwz r29, 0x158(r1) +/* 801022B8 000FF218 7C FB 3B 78 */ mr r27, r7 +/* 801022BC 000FF21C 82 E1 01 5C */ lwz r23, 0x15c(r1) +/* 801022C0 000FF220 7D 1C 43 78 */ mr r28, r8 +/* 801022C4 000FF224 83 C1 01 60 */ lwz r30, 0x160(r1) +/* 801022C8 000FF228 7D 35 4B 78 */ mr r21, r9 +/* 801022CC 000FF22C 83 E1 01 64 */ lwz r31, 0x164(r1) +/* 801022D0 000FF230 7D 56 53 78 */ mr r22, r10 +/* 801022D4 000FF234 83 01 01 68 */ lwz r24, 0x168(r1) +/* 801022D8 000FF238 38 61 00 30 */ addi r3, r1, 0x30 +/* 801022DC 000FF23C 38 81 00 2C */ addi r4, r1, 0x2c +/* 801022E0 000FF240 38 C1 00 28 */ addi r6, r1, 0x28 +/* 801022E4 000FF244 80 05 00 00 */ lwz r0, 0(r5) +/* 801022E8 000FF248 38 AB D4 10 */ addi r5, r11, lbl_8056D410@l +/* 801022EC 000FF24C 81 8D A3 88 */ lwz r12, lbl_805A8F48@sda21(r13) +/* 801022F0 000FF250 90 01 00 2C */ stw r0, 0x2c(r1) +/* 801022F4 000FF254 91 81 00 28 */ stw r12, 0x28(r1) +/* 801022F8 000FF258 4B F4 F1 8D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" +/* 801022FC 000FF25C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80102300 000FF260 4B F1 8B 39 */ bl None__16CActorParametersFv +/* 80102304 000FF264 38 61 00 48 */ addi r3, r1, 0x48 +/* 80102308 000FF268 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 8010230C 000FF26C 38 A0 00 01 */ li r5, 1 +/* 80102310 000FF270 48 00 44 FD */ bl sub_8010680c +/* 80102314 000FF274 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) +/* 80102318 000FF278 38 81 00 48 */ addi r4, r1, 0x48 +/* 8010231C 000FF27C A0 F4 00 00 */ lhz r7, 0(r20) +/* 80102320 000FF280 38 01 00 10 */ addi r0, r1, 0x10 +/* 80102324 000FF284 B0 61 00 10 */ sth r3, 0x10(r1) +/* 80102328 000FF288 7F 23 CB 78 */ mr r3, r25 +/* 8010232C 000FF28C 7F 45 D3 78 */ mr r5, r26 +/* 80102330 000FF290 7E A6 AB 78 */ mr r6, r21 +/* 80102334 000FF294 B0 E1 00 14 */ sth r7, 0x14(r1) +/* 80102338 000FF298 7E C8 B3 78 */ mr r8, r22 +/* 8010233C 000FF29C 7F 09 C3 78 */ mr r9, r24 +/* 80102340 000FF2A0 7E EA BB 78 */ mr r10, r23 +/* 80102344 000FF2A4 90 81 00 08 */ stw r4, 8(r1) +/* 80102348 000FF2A8 38 81 00 14 */ addi r4, r1, 0x14 +/* 8010234C 000FF2AC 38 E1 00 30 */ addi r7, r1, 0x30 +/* 80102350 000FF2B0 90 01 00 0C */ stw r0, 0xc(r1) +/* 80102354 000FF2B4 4B F5 34 CD */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 80102358 000FF2B8 38 61 00 48 */ addi r3, r1, 0x48 +/* 8010235C 000FF2BC 38 80 FF FF */ li r4, -1 +/* 80102360 000FF2C0 48 00 42 A9 */ bl __dt__16CActorParametersFv +/* 80102364 000FF2C4 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 80102368 000FF2C8 38 80 FF FF */ li r4, -1 +/* 8010236C 000FF2CC 48 00 42 9D */ bl __dt__16CActorParametersFv +/* 80102370 000FF2D0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 80102374 000FF2D4 80 61 00 40 */ lwz r3, 0x40(r1) +/* 80102378 000FF2D8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 8010237C 000FF2DC 90 61 00 1C */ stw r3, 0x1c(r1) +/* 80102380 000FF2E0 7C 64 1B 78 */ mr r4, r3 +/* 80102384 000FF2E4 7C 03 02 14 */ add r0, r3, r0 +/* 80102388 000FF2E8 90 61 00 18 */ stw r3, 0x18(r1) +/* 8010238C 000FF2EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 80102390 000FF2F0 90 01 00 20 */ stw r0, 0x20(r1) +/* 80102394 000FF2F4 48 00 00 08 */ b lbl_8010239C +lbl_80102398: +/* 80102398 000FF2F8 38 84 00 0C */ addi r4, r4, 0xc +lbl_8010239C: +/* 8010239C 000FF2FC 7C 04 00 40 */ cmplw r4, r0 +/* 801023A0 000FF300 40 82 FF F8 */ bne lbl_80102398 +/* 801023A4 000FF304 28 03 00 00 */ cmplwi r3, 0 +/* 801023A8 000FF308 41 82 00 08 */ beq lbl_801023B0 +/* 801023AC 000FF30C 48 21 35 85 */ bl Free__7CMemoryFPCv +lbl_801023B0: +/* 801023B0 000FF310 3C 60 80 3E */ lis r3, lbl_803DFEF0@ha +/* 801023B4 000FF314 C0 02 93 E8 */ lfs f0, lbl_805AB108@sda21(r2) +/* 801023B8 000FF318 38 03 FE F0 */ addi r0, r3, lbl_803DFEF0@l +/* 801023BC 000FF31C 7F 23 CB 78 */ mr r3, r25 +/* 801023C0 000FF320 90 19 00 00 */ stw r0, 0(r25) +/* 801023C4 000FF324 93 F9 00 E8 */ stw r31, 0xe8(r25) +/* 801023C8 000FF328 A0 1B 00 00 */ lhz r0, 0(r27) +/* 801023CC 000FF32C B0 19 00 EC */ sth r0, 0xec(r25) +/* 801023D0 000FF330 93 99 00 F0 */ stw r28, 0xf0(r25) +/* 801023D4 000FF334 80 1D 00 00 */ lwz r0, 0(r29) +/* 801023D8 000FF338 80 9D 00 04 */ lwz r4, 4(r29) +/* 801023DC 000FF33C 90 99 00 FC */ stw r4, 0xfc(r25) +/* 801023E0 000FF340 90 19 00 F8 */ stw r0, 0xf8(r25) +/* 801023E4 000FF344 80 1D 00 08 */ lwz r0, 8(r29) +/* 801023E8 000FF348 80 9D 00 0C */ lwz r4, 0xc(r29) +/* 801023EC 000FF34C 90 99 01 04 */ stw r4, 0x104(r25) +/* 801023F0 000FF350 90 19 01 00 */ stw r0, 0x100(r25) +/* 801023F4 000FF354 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 801023F8 000FF358 90 19 01 08 */ stw r0, 0x108(r25) +/* 801023FC 000FF35C 80 1E 00 00 */ lwz r0, 0(r30) +/* 80102400 000FF360 90 19 01 10 */ stw r0, 0x110(r25) +/* 80102404 000FF364 88 1E 00 04 */ lbz r0, 4(r30) +/* 80102408 000FF368 98 19 01 14 */ stb r0, 0x114(r25) +/* 8010240C 000FF36C C0 3E 00 08 */ lfs f1, 8(r30) +/* 80102410 000FF370 D0 39 01 18 */ stfs f1, 0x118(r25) +/* 80102414 000FF374 C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 80102418 000FF378 D0 39 01 1C */ stfs f1, 0x11c(r25) +/* 8010241C 000FF37C C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 80102420 000FF380 D0 39 01 20 */ stfs f1, 0x120(r25) +/* 80102424 000FF384 C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 80102428 000FF388 D0 39 01 24 */ stfs f1, 0x124(r25) +/* 8010242C 000FF38C 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80102430 000FF390 98 19 01 28 */ stb r0, 0x128(r25) +/* 80102434 000FF394 80 1E 00 00 */ lwz r0, 0(r30) +/* 80102438 000FF398 90 19 01 2C */ stw r0, 0x12c(r25) +/* 8010243C 000FF39C 88 1E 00 04 */ lbz r0, 4(r30) +/* 80102440 000FF3A0 98 19 01 30 */ stb r0, 0x130(r25) +/* 80102444 000FF3A4 C0 3E 00 08 */ lfs f1, 8(r30) +/* 80102448 000FF3A8 D0 39 01 34 */ stfs f1, 0x134(r25) +/* 8010244C 000FF3AC C0 3E 00 0C */ lfs f1, 0xc(r30) +/* 80102450 000FF3B0 D0 39 01 38 */ stfs f1, 0x138(r25) +/* 80102454 000FF3B4 C0 3E 00 10 */ lfs f1, 0x10(r30) +/* 80102458 000FF3B8 D0 39 01 3C */ stfs f1, 0x13c(r25) +/* 8010245C 000FF3BC C0 3E 00 14 */ lfs f1, 0x14(r30) +/* 80102460 000FF3C0 D0 39 01 40 */ stfs f1, 0x140(r25) +/* 80102464 000FF3C4 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 80102468 000FF3C8 98 19 01 44 */ stb r0, 0x144(r25) +/* 8010246C 000FF3CC D0 19 01 48 */ stfs f0, 0x148(r25) +/* 80102470 000FF3D0 D0 19 01 4C */ stfs f0, 0x14c(r25) +/* 80102474 000FF3D4 D0 19 01 50 */ stfs f0, 0x150(r25) +/* 80102478 000FF3D8 D0 19 01 54 */ stfs f0, 0x154(r25) +/* 8010247C 000FF3DC BA 81 01 20 */ lmw r20, 0x120(r1) +/* 80102480 000FF3E0 80 01 01 54 */ lwz r0, 0x154(r1) +/* 80102484 000FF3E4 7C 08 03 A6 */ mtlr r0 +/* 80102488 000FF3E8 38 21 01 50 */ addi r1, r1, 0x150 +/* 8010248C 000FF3EC 4E 80 00 20 */ blr diff --git a/asm/text.s b/asm/text.s index 9e86b435..3db49a8a 100644 --- a/asm/text.s +++ b/asm/text.s @@ -2,110860 +2,6 @@ .section .text, "ax" # 0x80003640 - 0x803CB1C0 -.global __ct__13CHUDMemoParmsFR12CInputStream -__ct__13CHUDMemoParmsFR12CInputStream: -/* 800E82D0 000E5230 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800E82D4 000E5234 7C 08 02 A6 */ mflr r0 -/* 800E82D8 000E5238 90 01 00 14 */ stw r0, 0x14(r1) -/* 800E82DC 000E523C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800E82E0 000E5240 7C 9F 23 78 */ mr r31, r4 -/* 800E82E4 000E5244 93 C1 00 08 */ stw r30, 8(r1) -/* 800E82E8 000E5248 7C 7E 1B 78 */ mr r30, r3 -/* 800E82EC 000E524C 7F E3 FB 78 */ mr r3, r31 -/* 800E82F0 000E5250 48 25 69 39 */ bl ReadFloat__12CInputStreamFv -/* 800E82F4 000E5254 D0 3E 00 00 */ stfs f1, 0(r30) -/* 800E82F8 000E5258 7F E3 FB 78 */ mr r3, r31 -/* 800E82FC 000E525C 48 25 69 E1 */ bl ReadBool__12CInputStreamFv -/* 800E8300 000E5260 98 7E 00 04 */ stb r3, 4(r30) -/* 800E8304 000E5264 38 00 00 00 */ li r0, 0 -/* 800E8308 000E5268 7F C3 F3 78 */ mr r3, r30 -/* 800E830C 000E526C 98 1E 00 05 */ stb r0, 5(r30) -/* 800E8310 000E5270 98 1E 00 06 */ stb r0, 6(r30) -/* 800E8314 000E5274 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800E8318 000E5278 83 C1 00 08 */ lwz r30, 8(r1) -/* 800E831C 000E527C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800E8320 000E5280 7C 08 03 A6 */ mtlr r0 -/* 800E8324 000E5284 38 21 00 10 */ addi r1, r1, 0x10 -/* 800E8328 000E5288 4E 80 00 20 */ blr - -.global Accept__14CScriptHUDMemoFR8IVisitor -Accept__14CScriptHUDMemoFR8IVisitor: -/* 800E832C 000E528C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800E8330 000E5290 7C 08 02 A6 */ mflr r0 -/* 800E8334 000E5294 90 01 00 14 */ stw r0, 0x14(r1) -/* 800E8338 000E5298 7C 60 1B 78 */ mr r0, r3 -/* 800E833C 000E529C 7C 83 23 78 */ mr r3, r4 -/* 800E8340 000E52A0 81 84 00 00 */ lwz r12, 0(r4) -/* 800E8344 000E52A4 7C 04 03 78 */ mr r4, r0 -/* 800E8348 000E52A8 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800E834C 000E52AC 7D 89 03 A6 */ mtctr r12 -/* 800E8350 000E52B0 4E 80 04 21 */ bctrl -/* 800E8354 000E52B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800E8358 000E52B8 7C 08 03 A6 */ mtlr r0 -/* 800E835C 000E52BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800E8360 000E52C0 4E 80 00 20 */ blr - -.global AcceptScriptMsg__14CScriptHUDMemoF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__14CScriptHUDMemoF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800E8364 000E52C4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800E8368 000E52C8 7C 08 02 A6 */ mflr r0 -/* 800E836C 000E52CC 90 01 00 64 */ stw r0, 0x64(r1) -/* 800E8370 000E52D0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800E8374 000E52D4 7C DF 33 78 */ mr r31, r6 -/* 800E8378 000E52D8 93 C1 00 58 */ stw r30, 0x58(r1) -/* 800E837C 000E52DC 7C BE 2B 78 */ mr r30, r5 -/* 800E8380 000E52E0 93 A1 00 54 */ stw r29, 0x54(r1) -/* 800E8384 000E52E4 7C 9D 23 78 */ mr r29, r4 -/* 800E8388 000E52E8 2C 1D 00 0D */ cmpwi r29, 0xd -/* 800E838C 000E52EC 93 81 00 50 */ stw r28, 0x50(r1) -/* 800E8390 000E52F0 7C 7C 1B 78 */ mr r28, r3 -/* 800E8394 000E52F4 41 82 00 14 */ beq lbl_800E83A8 -/* 800E8398 000E52F8 40 80 00 F8 */ bge lbl_800E8490 -/* 800E839C 000E52FC 2C 1D 00 04 */ cmpwi r29, 4 -/* 800E83A0 000E5300 41 82 00 9C */ beq lbl_800E843C -/* 800E83A4 000E5304 48 00 00 EC */ b lbl_800E8490 -lbl_800E83A8: -/* 800E83A8 000E5308 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800E83AC 000E530C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800E83B0 000E5310 41 82 00 E0 */ beq lbl_800E8490 -/* 800E83B4 000E5314 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 800E83B8 000E5318 2C 00 00 01 */ cmpwi r0, 1 -/* 800E83BC 000E531C 40 82 00 18 */ bne lbl_800E83D4 -/* 800E83C0 000E5320 80 9C 00 40 */ lwz r4, 0x40(r28) -/* 800E83C4 000E5324 7F E3 FB 78 */ mr r3, r31 -/* 800E83C8 000E5328 C0 3C 00 34 */ lfs f1, 0x34(r28) -/* 800E83CC 000E532C 4B F5 C4 69 */ bl ShowPausedHUDMemo__13CStateManagerFUif -/* 800E83D0 000E5330 48 00 00 C0 */ b lbl_800E8490 -lbl_800E83D4: -/* 800E83D4 000E5334 88 1C 00 50 */ lbz r0, 0x50(r28) -/* 800E83D8 000E5338 28 00 00 00 */ cmplwi r0, 0 -/* 800E83DC 000E533C 41 82 00 3C */ beq lbl_800E8418 -/* 800E83E0 000E5340 80 7C 00 4C */ lwz r3, 0x4c(r28) -/* 800E83E4 000E5344 38 80 00 00 */ li r4, 0 -/* 800E83E8 000E5348 48 26 E3 15 */ bl GetString__12CStringTableCFi -/* 800E83EC 000E534C 7C 64 1B 78 */ mr r4, r3 -/* 800E83F0 000E5350 38 61 00 38 */ addi r3, r1, 0x38 -/* 800E83F4 000E5354 38 C1 00 08 */ addi r6, r1, 8 -/* 800E83F8 000E5358 38 A0 FF FF */ li r5, -1 -/* 800E83FC 000E535C 48 25 53 C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCwiRCQ24rstl17rmemory_allocator" -/* 800E8400 000E5360 38 61 00 38 */ addi r3, r1, 0x38 -/* 800E8404 000E5364 38 9C 00 34 */ addi r4, r28, 0x34 -/* 800E8408 000E5368 4B F8 38 61 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo -/* 800E840C 000E536C 38 61 00 38 */ addi r3, r1, 0x38 -/* 800E8410 000E5370 48 25 4D 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800E8414 000E5374 48 00 00 7C */ b lbl_800E8490 -lbl_800E8418: -/* 800E8418 000E5378 38 61 00 28 */ addi r3, r1, 0x28 -/* 800E841C 000E537C 38 8D 87 A0 */ addi r4, r13, lbl_805A7360@sda21 -/* 800E8420 000E5380 4B F2 D5 D1 */ bl wstring_l__4rstlFPCw -/* 800E8424 000E5384 38 61 00 28 */ addi r3, r1, 0x28 -/* 800E8428 000E5388 38 9C 00 34 */ addi r4, r28, 0x34 -/* 800E842C 000E538C 4B F8 38 3D */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo -/* 800E8430 000E5390 38 61 00 28 */ addi r3, r1, 0x28 -/* 800E8434 000E5394 48 25 4D 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800E8438 000E5398 48 00 00 58 */ b lbl_800E8490 -lbl_800E843C: -/* 800E843C 000E539C 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800E8440 000E53A0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800E8444 000E53A4 41 82 00 4C */ beq lbl_800E8490 -/* 800E8448 000E53A8 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 800E844C 000E53AC 2C 00 00 00 */ cmpwi r0, 0 -/* 800E8450 000E53B0 40 82 00 40 */ bne lbl_800E8490 -/* 800E8454 000E53B4 38 61 00 18 */ addi r3, r1, 0x18 -/* 800E8458 000E53B8 38 8D 87 A0 */ addi r4, r13, lbl_805A7360@sda21 -/* 800E845C 000E53BC 4B F2 D5 95 */ bl wstring_l__4rstlFPCw -/* 800E8460 000E53C0 C0 02 90 18 */ lfs f0, lbl_805AAD38@sda21(r2) -/* 800E8464 000E53C4 38 A0 00 00 */ li r5, 0 -/* 800E8468 000E53C8 38 00 00 01 */ li r0, 1 -/* 800E846C 000E53CC 98 A1 00 14 */ stb r5, 0x14(r1) -/* 800E8470 000E53D0 38 61 00 18 */ addi r3, r1, 0x18 -/* 800E8474 000E53D4 38 81 00 10 */ addi r4, r1, 0x10 -/* 800E8478 000E53D8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800E847C 000E53DC 98 01 00 15 */ stb r0, 0x15(r1) -/* 800E8480 000E53E0 98 A1 00 16 */ stb r5, 0x16(r1) -/* 800E8484 000E53E4 4B F8 37 E5 */ bl DisplayHudMemo__9CSamusHudFRC7wstringRC12SHudMemoInfo -/* 800E8488 000E53E8 38 61 00 18 */ addi r3, r1, 0x18 -/* 800E848C 000E53EC 48 25 4C A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800E8490: -/* 800E8490 000E53F0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800E8494 000E53F4 7F 83 E3 78 */ mr r3, r28 -/* 800E8498 000E53F8 7F A4 EB 78 */ mr r4, r29 -/* 800E849C 000E53FC 7F E6 FB 78 */ mr r6, r31 -/* 800E84A0 000E5400 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800E84A4 000E5404 38 A1 00 0C */ addi r5, r1, 0xc -/* 800E84A8 000E5408 4B F6 8C B5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800E84AC 000E540C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800E84B0 000E5410 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800E84B4 000E5414 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 800E84B8 000E5418 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 800E84BC 000E541C 83 81 00 50 */ lwz r28, 0x50(r1) -/* 800E84C0 000E5420 7C 08 03 A6 */ mtlr r0 -/* 800E84C4 000E5424 38 21 00 60 */ addi r1, r1, 0x60 -/* 800E84C8 000E5428 4E 80 00 20 */ blr - -.global __dt__14CScriptHUDMemoFv -__dt__14CScriptHUDMemoFv: -/* 800E84CC 000E542C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800E84D0 000E5430 7C 08 02 A6 */ mflr r0 -/* 800E84D4 000E5434 90 01 00 14 */ stw r0, 0x14(r1) -/* 800E84D8 000E5438 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800E84DC 000E543C 7C 9F 23 78 */ mr r31, r4 -/* 800E84E0 000E5440 93 C1 00 08 */ stw r30, 8(r1) -/* 800E84E4 000E5444 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800E84E8 000E5448 41 82 00 60 */ beq lbl_800E8548 -/* 800E84EC 000E544C 3C 60 80 3E */ lis r3, lbl_803DFBF0@ha -/* 800E84F0 000E5450 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 800E84F4 000E5454 38 03 FB F0 */ addi r0, r3, lbl_803DFBF0@l -/* 800E84F8 000E5458 90 1E 00 00 */ stw r0, 0(r30) -/* 800E84FC 000E545C 41 82 00 30 */ beq lbl_800E852C -/* 800E8500 000E5460 88 1E 00 50 */ lbz r0, 0x50(r30) -/* 800E8504 000E5464 28 00 00 00 */ cmplwi r0, 0 -/* 800E8508 000E5468 41 82 00 1C */ beq lbl_800E8524 -/* 800E850C 000E546C 34 7E 00 44 */ addic. r3, r30, 0x44 -/* 800E8510 000E5470 41 82 00 14 */ beq lbl_800E8524 -/* 800E8514 000E5474 28 03 00 00 */ cmplwi r3, 0 -/* 800E8518 000E5478 41 82 00 0C */ beq lbl_800E8524 -/* 800E851C 000E547C 38 80 00 00 */ li r4, 0 -/* 800E8520 000E5480 48 25 89 21 */ bl __dt__6CTokenFv -lbl_800E8524: -/* 800E8524 000E5484 38 00 00 00 */ li r0, 0 -/* 800E8528 000E5488 98 1E 00 50 */ stb r0, 0x50(r30) -lbl_800E852C: -/* 800E852C 000E548C 7F C3 F3 78 */ mr r3, r30 -/* 800E8530 000E5490 38 80 00 00 */ li r4, 0 -/* 800E8534 000E5494 4B F6 8D 41 */ bl __dt__7CEntityFv -/* 800E8538 000E5498 7F E0 07 35 */ extsh. r0, r31 -/* 800E853C 000E549C 40 81 00 0C */ ble lbl_800E8548 -/* 800E8540 000E54A0 7F C3 F3 78 */ mr r3, r30 -/* 800E8544 000E54A4 48 22 D3 ED */ bl Free__7CMemoryFPCv -lbl_800E8548: -/* 800E8548 000E54A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800E854C 000E54AC 7F C3 F3 78 */ mr r3, r30 -/* 800E8550 000E54B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800E8554 000E54B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 800E8558 000E54B8 7C 08 03 A6 */ mtlr r0 -/* 800E855C 000E54BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800E8560 000E54C0 4E 80 00 20 */ blr - -.global "__ct__14CScriptHUDMemoF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC13CHUDMemoParmsQ214CScriptHUDMemo12EDisplayTypeUib" -"__ct__14CScriptHUDMemoF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC13CHUDMemoParmsQ214CScriptHUDMemo12EDisplayTypeUib": -/* 800E8564 000E54C4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800E8568 000E54C8 7C 08 02 A6 */ mflr r0 -/* 800E856C 000E54CC 90 01 00 74 */ stw r0, 0x74(r1) -/* 800E8570 000E54D0 BF 01 00 50 */ stmw r24, 0x50(r1) -/* 800E8574 000E54D4 7C F9 3B 78 */ mr r25, r7 -/* 800E8578 000E54D8 7C 7F 1B 78 */ mr r31, r3 -/* 800E857C 000E54DC 7D 1B 43 78 */ mr r27, r8 -/* 800E8580 000E54E0 7D 3A 4B 78 */ mr r26, r9 -/* 800E8584 000E54E4 A0 04 00 00 */ lhz r0, 0(r4) -/* 800E8588 000E54E8 7C A4 2B 78 */ mr r4, r5 -/* 800E858C 000E54EC 7C C5 33 78 */ mr r5, r6 -/* 800E8590 000E54F0 7D 46 53 78 */ mr r6, r10 -/* 800E8594 000E54F4 B0 01 00 08 */ sth r0, 8(r1) -/* 800E8598 000E54F8 7C 87 23 78 */ mr r7, r4 -/* 800E859C 000E54FC 38 81 00 08 */ addi r4, r1, 8 -/* 800E85A0 000E5500 4B F6 8D 85 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800E85A4 000E5504 3C 60 80 3E */ lis r3, lbl_803DFBF0@ha -/* 800E85A8 000E5508 3C 1A 00 01 */ addis r0, r26, 1 -/* 800E85AC 000E550C 38 63 FB F0 */ addi r3, r3, lbl_803DFBF0@l -/* 800E85B0 000E5510 3B C0 00 00 */ li r30, 0 -/* 800E85B4 000E5514 90 7F 00 00 */ stw r3, 0(r31) -/* 800E85B8 000E5518 28 00 FF FF */ cmplwi r0, 0xffff -/* 800E85BC 000E551C 3B A0 00 00 */ li r29, 0 -/* 800E85C0 000E5520 3B 80 00 00 */ li r28, 0 -/* 800E85C4 000E5524 C0 19 00 00 */ lfs f0, 0(r25) -/* 800E85C8 000E5528 3B 00 00 00 */ li r24, 0 -/* 800E85CC 000E552C D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 800E85D0 000E5530 88 19 00 04 */ lbz r0, 4(r25) -/* 800E85D4 000E5534 98 1F 00 38 */ stb r0, 0x38(r31) -/* 800E85D8 000E5538 88 19 00 05 */ lbz r0, 5(r25) -/* 800E85DC 000E553C 98 1F 00 39 */ stb r0, 0x39(r31) -/* 800E85E0 000E5540 88 19 00 06 */ lbz r0, 6(r25) -/* 800E85E4 000E5544 98 1F 00 3A */ stb r0, 0x3a(r31) -/* 800E85E8 000E5548 93 7F 00 3C */ stw r27, 0x3c(r31) -/* 800E85EC 000E554C 93 5F 00 40 */ stw r26, 0x40(r31) -/* 800E85F0 000E5550 40 82 00 18 */ bne lbl_800E8608 -/* 800E85F4 000E5554 38 00 00 00 */ li r0, 0 -/* 800E85F8 000E5558 3B 61 00 38 */ addi r27, r1, 0x38 -/* 800E85FC 000E555C 98 01 00 44 */ stb r0, 0x44(r1) -/* 800E8600 000E5560 3B C0 00 01 */ li r30, 1 -/* 800E8604 000E5564 48 00 00 8C */ b lbl_800E8690 -lbl_800E8608: -/* 800E8608 000E5568 3C 60 53 54 */ lis r3, 0x53545247@ha -/* 800E860C 000E556C 93 41 00 18 */ stw r26, 0x18(r1) -/* 800E8610 000E5570 38 03 52 47 */ addi r0, r3, 0x53545247@l -/* 800E8614 000E5574 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800E8618 000E5578 90 01 00 14 */ stw r0, 0x14(r1) -/* 800E861C 000E557C 38 61 00 0C */ addi r3, r1, 0xc -/* 800E8620 000E5580 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800E8624 000E5584 81 84 00 00 */ lwz r12, 0(r4) -/* 800E8628 000E5588 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800E862C 000E558C 7D 89 03 A6 */ mtctr r12 -/* 800E8630 000E5590 4E 80 04 21 */ bctrl -/* 800E8634 000E5594 3B 01 00 2C */ addi r24, r1, 0x2c -/* 800E8638 000E5598 38 81 00 0C */ addi r4, r1, 0xc -/* 800E863C 000E559C 7F 03 C3 78 */ mr r3, r24 -/* 800E8640 000E55A0 3B A0 00 01 */ li r29, 1 -/* 800E8644 000E55A4 48 25 88 65 */ bl __ct__6CTokenFRC6CToken -/* 800E8648 000E55A8 7F 03 C3 78 */ mr r3, r24 -/* 800E864C 000E55AC 48 25 87 C1 */ bl GetObj__6CTokenFv -/* 800E8650 000E55B0 80 63 00 04 */ lwz r3, 4(r3) -/* 800E8654 000E55B4 38 00 00 01 */ li r0, 1 -/* 800E8658 000E55B8 37 61 00 1C */ addic. r27, r1, 0x1c -/* 800E865C 000E55BC 3B 80 00 01 */ li r28, 1 -/* 800E8660 000E55C0 90 61 00 34 */ stw r3, 0x34(r1) -/* 800E8664 000E55C4 98 01 00 28 */ stb r0, 0x28(r1) -/* 800E8668 000E55C8 41 82 00 20 */ beq lbl_800E8688 -/* 800E866C 000E55CC 7F 63 DB 78 */ mr r3, r27 -/* 800E8670 000E55D0 7F 04 C3 78 */ mr r4, r24 -/* 800E8674 000E55D4 48 25 88 35 */ bl __ct__6CTokenFRC6CToken -/* 800E8678 000E55D8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800E867C 000E55DC 7F 63 DB 78 */ mr r3, r27 -/* 800E8680 000E55E0 90 1B 00 08 */ stw r0, 8(r27) -/* 800E8684 000E55E4 48 25 87 01 */ bl Lock__6CTokenFv -lbl_800E8688: -/* 800E8688 000E55E8 3B 00 00 01 */ li r24, 1 -/* 800E868C 000E55EC 3B 61 00 1C */ addi r27, r1, 0x1c -lbl_800E8690: -/* 800E8690 000E55F0 88 1B 00 0C */ lbz r0, 0xc(r27) -/* 800E8694 000E55F4 98 1F 00 50 */ stb r0, 0x50(r31) -/* 800E8698 000E55F8 88 1B 00 0C */ lbz r0, 0xc(r27) -/* 800E869C 000E55FC 28 00 00 00 */ cmplwi r0, 0 -/* 800E86A0 000E5600 41 82 00 28 */ beq lbl_800E86C8 -/* 800E86A4 000E5604 37 5F 00 44 */ addic. r26, r31, 0x44 -/* 800E86A8 000E5608 41 82 00 20 */ beq lbl_800E86C8 -/* 800E86AC 000E560C 7F 43 D3 78 */ mr r3, r26 -/* 800E86B0 000E5610 7F 64 DB 78 */ mr r4, r27 -/* 800E86B4 000E5614 48 25 87 F5 */ bl __ct__6CTokenFRC6CToken -/* 800E86B8 000E5618 80 1B 00 08 */ lwz r0, 8(r27) -/* 800E86BC 000E561C 7F 43 D3 78 */ mr r3, r26 -/* 800E86C0 000E5620 90 1A 00 08 */ stw r0, 8(r26) -/* 800E86C4 000E5624 48 25 86 C1 */ bl Lock__6CTokenFv -lbl_800E86C8: -/* 800E86C8 000E5628 7F 00 07 75 */ extsb. r0, r24 -/* 800E86CC 000E562C 41 82 00 30 */ beq lbl_800E86FC -/* 800E86D0 000E5630 88 01 00 28 */ lbz r0, 0x28(r1) -/* 800E86D4 000E5634 28 00 00 00 */ cmplwi r0, 0 -/* 800E86D8 000E5638 41 82 00 1C */ beq lbl_800E86F4 -/* 800E86DC 000E563C 34 61 00 1C */ addic. r3, r1, 0x1c -/* 800E86E0 000E5640 41 82 00 14 */ beq lbl_800E86F4 -/* 800E86E4 000E5644 28 03 00 00 */ cmplwi r3, 0 -/* 800E86E8 000E5648 41 82 00 0C */ beq lbl_800E86F4 -/* 800E86EC 000E564C 38 80 00 00 */ li r4, 0 -/* 800E86F0 000E5650 48 25 87 51 */ bl __dt__6CTokenFv -lbl_800E86F4: -/* 800E86F4 000E5654 38 00 00 00 */ li r0, 0 -/* 800E86F8 000E5658 98 01 00 28 */ stb r0, 0x28(r1) -lbl_800E86FC: -/* 800E86FC 000E565C 7F 80 07 75 */ extsb. r0, r28 -/* 800E8700 000E5660 41 82 00 10 */ beq lbl_800E8710 -/* 800E8704 000E5664 38 61 00 2C */ addi r3, r1, 0x2c -/* 800E8708 000E5668 38 80 00 00 */ li r4, 0 -/* 800E870C 000E566C 48 25 87 35 */ bl __dt__6CTokenFv -lbl_800E8710: -/* 800E8710 000E5670 7F A0 07 75 */ extsb. r0, r29 -/* 800E8714 000E5674 41 82 00 10 */ beq lbl_800E8724 -/* 800E8718 000E5678 38 61 00 0C */ addi r3, r1, 0xc -/* 800E871C 000E567C 38 80 FF FF */ li r4, -1 -/* 800E8720 000E5680 48 25 87 21 */ bl __dt__6CTokenFv -lbl_800E8724: -/* 800E8724 000E5684 7F C0 07 75 */ extsb. r0, r30 -/* 800E8728 000E5688 41 82 00 30 */ beq lbl_800E8758 -/* 800E872C 000E568C 88 01 00 44 */ lbz r0, 0x44(r1) -/* 800E8730 000E5690 28 00 00 00 */ cmplwi r0, 0 -/* 800E8734 000E5694 41 82 00 1C */ beq lbl_800E8750 -/* 800E8738 000E5698 34 61 00 38 */ addic. r3, r1, 0x38 -/* 800E873C 000E569C 41 82 00 14 */ beq lbl_800E8750 -/* 800E8740 000E56A0 28 03 00 00 */ cmplwi r3, 0 -/* 800E8744 000E56A4 41 82 00 0C */ beq lbl_800E8750 -/* 800E8748 000E56A8 38 80 00 00 */ li r4, 0 -/* 800E874C 000E56AC 48 25 86 F5 */ bl __dt__6CTokenFv -lbl_800E8750: -/* 800E8750 000E56B0 38 00 00 00 */ li r0, 0 -/* 800E8754 000E56B4 98 01 00 44 */ stb r0, 0x44(r1) -lbl_800E8758: -/* 800E8758 000E56B8 7F E3 FB 78 */ mr r3, r31 -/* 800E875C 000E56BC BB 01 00 50 */ lmw r24, 0x50(r1) -/* 800E8760 000E56C0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800E8764 000E56C4 7C 08 03 A6 */ mtlr r0 -/* 800E8768 000E56C8 38 21 00 70 */ addi r1, r1, 0x70 -/* 800E876C 000E56CC 4E 80 00 20 */ blr - -.global AdjustTransformForType__15CMappableObjectFv -AdjustTransformForType__15CMappableObjectFv: -/* 800E8770 000E56D0 94 21 FD 30 */ stwu r1, -0x2d0(r1) -/* 800E8774 000E56D4 7C 08 02 A6 */ mflr r0 -/* 800E8778 000E56D8 90 01 02 D4 */ stw r0, 0x2d4(r1) -/* 800E877C 000E56DC 93 E1 02 CC */ stw r31, 0x2cc(r1) -/* 800E8780 000E56E0 7C 9F 23 78 */ mr r31, r4 -/* 800E8784 000E56E4 93 C1 02 C8 */ stw r30, 0x2c8(r1) -/* 800E8788 000E56E8 7C 7E 1B 78 */ mr r30, r3 -/* 800E878C 000E56EC 80 BF 00 00 */ lwz r5, 0(r31) -/* 800E8790 000E56F0 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 800E8794 000E56F4 2C 05 00 05 */ cmpwi r5, 5 -/* 800E8798 000E56F8 C0 44 00 A4 */ lfs f2, 0xa4(r4) -/* 800E879C 000E56FC C0 84 00 AC */ lfs f4, 0xac(r4) -/* 800E87A0 000E5700 40 82 00 70 */ bne lbl_800E8810 -/* 800E87A4 000E5704 C0 02 90 24 */ lfs f0, lbl_805AAD44@sda21(r2) -/* 800E87A8 000E5708 38 61 02 14 */ addi r3, r1, 0x214 -/* 800E87AC 000E570C C0 62 90 20 */ lfs f3, lbl_805AAD40@sda21(r2) -/* 800E87B0 000E5710 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 800E87B4 000E5714 C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2) -/* 800E87B8 000E5718 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 800E87BC 000E571C C0 22 90 2C */ lfs f1, lbl_805AAD4C@sda21(r2) -/* 800E87C0 000E5720 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 800E87C4 000E5724 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 800E87C8 000E5728 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800E87CC 000E572C 48 22 AA 75 */ bl Scale__12CTransform4fFf -/* 800E87D0 000E5730 38 61 02 44 */ addi r3, r1, 0x244 -/* 800E87D4 000E5734 38 81 00 18 */ addi r4, r1, 0x18 -/* 800E87D8 000E5738 48 22 7C 31 */ bl RotateZ__9CMatrix3fFRC9CRelAngle -/* 800E87DC 000E573C 38 61 02 68 */ addi r3, r1, 0x268 -/* 800E87E0 000E5740 38 81 02 44 */ addi r4, r1, 0x244 -/* 800E87E4 000E5744 38 A1 00 58 */ addi r5, r1, 0x58 -/* 800E87E8 000E5748 48 22 AA 91 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800E87EC 000E574C 7C 65 1B 78 */ mr r5, r3 -/* 800E87F0 000E5750 38 61 02 98 */ addi r3, r1, 0x298 -/* 800E87F4 000E5754 38 9F 00 10 */ addi r4, r31, 0x10 -/* 800E87F8 000E5758 48 22 A1 59 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800E87FC 000E575C 7F C3 F3 78 */ mr r3, r30 -/* 800E8800 000E5760 38 81 02 98 */ addi r4, r1, 0x298 -/* 800E8804 000E5764 38 A1 02 14 */ addi r5, r1, 0x214 -/* 800E8808 000E5768 48 22 A1 49 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800E880C 000E576C 48 00 02 20 */ b lbl_800E8A2C -lbl_800E8810: -/* 800E8810 000E5770 2C 05 00 06 */ cmpwi r5, 6 -/* 800E8814 000E5774 40 82 00 78 */ bne lbl_800E888C -/* 800E8818 000E5778 C0 22 90 30 */ lfs f1, lbl_805AAD50@sda21(r2) -/* 800E881C 000E577C 38 61 01 60 */ addi r3, r1, 0x160 -/* 800E8820 000E5780 C0 02 90 24 */ lfs f0, lbl_805AAD44@sda21(r2) -/* 800E8824 000E5784 EC 61 01 32 */ fmuls f3, f1, f4 -/* 800E8828 000E5788 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) -/* 800E882C 000E578C EC 40 00 B2 */ fmuls f2, f0, f2 -/* 800E8830 000E5790 C0 02 90 34 */ lfs f0, lbl_805AAD54@sda21(r2) -/* 800E8834 000E5794 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 800E8838 000E5798 C0 22 90 2C */ lfs f1, lbl_805AAD4C@sda21(r2) -/* 800E883C 000E579C D0 61 00 50 */ stfs f3, 0x50(r1) -/* 800E8840 000E57A0 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800E8844 000E57A4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800E8848 000E57A8 48 22 A9 F9 */ bl Scale__12CTransform4fFf -/* 800E884C 000E57AC 38 61 01 90 */ addi r3, r1, 0x190 -/* 800E8850 000E57B0 38 81 00 14 */ addi r4, r1, 0x14 -/* 800E8854 000E57B4 48 22 7B B5 */ bl RotateZ__9CMatrix3fFRC9CRelAngle -/* 800E8858 000E57B8 38 61 01 B4 */ addi r3, r1, 0x1b4 -/* 800E885C 000E57BC 38 81 01 90 */ addi r4, r1, 0x190 -/* 800E8860 000E57C0 38 A1 00 4C */ addi r5, r1, 0x4c -/* 800E8864 000E57C4 48 22 AA 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800E8868 000E57C8 7C 65 1B 78 */ mr r5, r3 -/* 800E886C 000E57CC 38 61 01 E4 */ addi r3, r1, 0x1e4 -/* 800E8870 000E57D0 38 9F 00 10 */ addi r4, r31, 0x10 -/* 800E8874 000E57D4 48 22 A0 DD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800E8878 000E57D8 7F C3 F3 78 */ mr r3, r30 -/* 800E887C 000E57DC 38 81 01 E4 */ addi r4, r1, 0x1e4 -/* 800E8880 000E57E0 38 A1 01 60 */ addi r5, r1, 0x160 -/* 800E8884 000E57E4 48 22 A0 CD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800E8888 000E57E8 48 00 01 A4 */ b lbl_800E8A2C -lbl_800E888C: -/* 800E888C 000E57EC 2C 05 00 07 */ cmpwi r5, 7 -/* 800E8890 000E57F0 41 82 00 14 */ beq lbl_800E88A4 -/* 800E8894 000E57F4 2C 05 00 09 */ cmpwi r5, 9 -/* 800E8898 000E57F8 41 82 00 0C */ beq lbl_800E88A4 -/* 800E889C 000E57FC 2C 05 00 0B */ cmpwi r5, 0xb -/* 800E88A0 000E5800 40 82 00 5C */ bne lbl_800E88FC -lbl_800E88A4: -/* 800E88A4 000E5804 C0 22 90 38 */ lfs f1, lbl_805AAD58@sda21(r2) -/* 800E88A8 000E5808 38 61 01 0C */ addi r3, r1, 0x10c -/* 800E88AC 000E580C C0 02 90 3C */ lfs f0, lbl_805AAD5C@sda21(r2) -/* 800E88B0 000E5810 38 81 00 10 */ addi r4, r1, 0x10 -/* 800E88B4 000E5814 EC 61 00 B2 */ fmuls f3, f1, f2 -/* 800E88B8 000E5818 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) -/* 800E88BC 000E581C EC 20 01 32 */ fmuls f1, f0, f4 -/* 800E88C0 000E5820 C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2) -/* 800E88C4 000E5824 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 800E88C8 000E5828 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 800E88CC 000E582C D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800E88D0 000E5830 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800E88D4 000E5834 48 22 7B C1 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800E88D8 000E5838 38 61 01 30 */ addi r3, r1, 0x130 -/* 800E88DC 000E583C 38 81 01 0C */ addi r4, r1, 0x10c -/* 800E88E0 000E5840 38 A1 00 40 */ addi r5, r1, 0x40 -/* 800E88E4 000E5844 48 22 A9 95 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800E88E8 000E5848 7C 65 1B 78 */ mr r5, r3 -/* 800E88EC 000E584C 7F C3 F3 78 */ mr r3, r30 -/* 800E88F0 000E5850 38 9F 00 10 */ addi r4, r31, 0x10 -/* 800E88F4 000E5854 48 22 A0 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800E88F8 000E5858 48 00 01 34 */ b lbl_800E8A2C -lbl_800E88FC: -/* 800E88FC 000E585C 2C 05 00 08 */ cmpwi r5, 8 -/* 800E8900 000E5860 41 82 00 14 */ beq lbl_800E8914 -/* 800E8904 000E5864 2C 05 00 0A */ cmpwi r5, 0xa -/* 800E8908 000E5868 41 82 00 0C */ beq lbl_800E8914 -/* 800E890C 000E586C 2C 05 00 0C */ cmpwi r5, 0xc -/* 800E8910 000E5870 40 82 00 5C */ bne lbl_800E896C -lbl_800E8914: -/* 800E8914 000E5874 C0 22 90 38 */ lfs f1, lbl_805AAD58@sda21(r2) -/* 800E8918 000E5878 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800E891C 000E587C C0 02 90 40 */ lfs f0, lbl_805AAD60@sda21(r2) -/* 800E8920 000E5880 38 81 00 0C */ addi r4, r1, 0xc -/* 800E8924 000E5884 EC 61 00 B2 */ fmuls f3, f1, f2 -/* 800E8928 000E5888 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) -/* 800E892C 000E588C EC 20 01 32 */ fmuls f1, f0, f4 -/* 800E8930 000E5890 C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2) -/* 800E8934 000E5894 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 800E8938 000E5898 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 800E893C 000E589C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800E8940 000E58A0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800E8944 000E58A4 48 22 7B 51 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800E8948 000E58A8 38 61 00 DC */ addi r3, r1, 0xdc -/* 800E894C 000E58AC 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 800E8950 000E58B0 38 A1 00 34 */ addi r5, r1, 0x34 -/* 800E8954 000E58B4 48 22 A9 25 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800E8958 000E58B8 7C 65 1B 78 */ mr r5, r3 -/* 800E895C 000E58BC 7F C3 F3 78 */ mr r3, r30 -/* 800E8960 000E58C0 38 9F 00 10 */ addi r4, r31, 0x10 -/* 800E8964 000E58C4 48 22 9F ED */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800E8968 000E58C8 48 00 00 C4 */ b lbl_800E8A2C -lbl_800E896C: -/* 800E896C 000E58CC 38 05 FF F3 */ addi r0, r5, -13 -/* 800E8970 000E58D0 28 00 00 01 */ cmplwi r0, 1 -/* 800E8974 000E58D4 40 81 00 0C */ ble lbl_800E8980 -/* 800E8978 000E58D8 2C 05 00 0F */ cmpwi r5, 0xf -/* 800E897C 000E58DC 40 82 00 5C */ bne lbl_800E89D8 -lbl_800E8980: -/* 800E8980 000E58E0 C0 22 90 44 */ lfs f1, lbl_805AAD64@sda21(r2) -/* 800E8984 000E58E4 38 61 00 64 */ addi r3, r1, 0x64 -/* 800E8988 000E58E8 C0 02 90 40 */ lfs f0, lbl_805AAD60@sda21(r2) -/* 800E898C 000E58EC 38 81 00 08 */ addi r4, r1, 8 -/* 800E8990 000E58F0 EC 61 00 B2 */ fmuls f3, f1, f2 -/* 800E8994 000E58F4 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) -/* 800E8998 000E58F8 EC 20 01 32 */ fmuls f1, f0, f4 -/* 800E899C 000E58FC C0 02 90 28 */ lfs f0, lbl_805AAD48@sda21(r2) -/* 800E89A0 000E5900 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 800E89A4 000E5904 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 800E89A8 000E5908 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800E89AC 000E590C D0 01 00 08 */ stfs f0, 8(r1) -/* 800E89B0 000E5910 48 22 7A E5 */ bl RotateY__9CMatrix3fFRC9CRelAngle -/* 800E89B4 000E5914 38 61 00 88 */ addi r3, r1, 0x88 -/* 800E89B8 000E5918 38 81 00 64 */ addi r4, r1, 0x64 -/* 800E89BC 000E591C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 800E89C0 000E5920 48 22 A8 B9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800E89C4 000E5924 7C 65 1B 78 */ mr r5, r3 -/* 800E89C8 000E5928 7F C3 F3 78 */ mr r3, r30 -/* 800E89CC 000E592C 38 9F 00 10 */ addi r4, r31, 0x10 -/* 800E89D0 000E5930 48 22 9F 81 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800E89D4 000E5934 48 00 00 58 */ b lbl_800E8A2C -lbl_800E89D8: -/* 800E89D8 000E5938 2C 05 00 00 */ cmpwi r5, 0 -/* 800E89DC 000E593C 38 00 00 00 */ li r0, 0 -/* 800E89E0 000E5940 41 80 00 10 */ blt lbl_800E89F0 -/* 800E89E4 000E5944 2C 05 00 0F */ cmpwi r5, 0xf -/* 800E89E8 000E5948 41 81 00 08 */ bgt lbl_800E89F0 -/* 800E89EC 000E594C 38 00 00 01 */ li r0, 1 -lbl_800E89F0: -/* 800E89F0 000E5950 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800E89F4 000E5954 41 82 00 14 */ beq lbl_800E8A08 -/* 800E89F8 000E5958 7F C3 F3 78 */ mr r3, r30 -/* 800E89FC 000E595C 38 9F 00 10 */ addi r4, r31, 0x10 -/* 800E8A00 000E5960 48 22 A1 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800E8A04 000E5964 48 00 00 28 */ b lbl_800E8A2C -lbl_800E8A08: -/* 800E8A08 000E5968 C0 5F 00 3C */ lfs f2, 0x3c(r31) -/* 800E8A0C 000E596C 7F C3 F3 78 */ mr r3, r30 -/* 800E8A10 000E5970 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 800E8A14 000E5974 38 81 00 1C */ addi r4, r1, 0x1c -/* 800E8A18 000E5978 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 800E8A1C 000E597C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 800E8A20 000E5980 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800E8A24 000E5984 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 800E8A28 000E5988 48 22 A7 19 */ bl Translate__12CTransform4fFRC9CVector3f -lbl_800E8A2C: -/* 800E8A2C 000E598C 80 01 02 D4 */ lwz r0, 0x2d4(r1) -/* 800E8A30 000E5990 83 E1 02 CC */ lwz r31, 0x2cc(r1) -/* 800E8A34 000E5994 83 C1 02 C8 */ lwz r30, 0x2c8(r1) -/* 800E8A38 000E5998 7C 08 03 A6 */ mtlr r0 -/* 800E8A3C 000E599C 38 21 02 D0 */ addi r1, r1, 0x2d0 -/* 800E8A40 000E59A0 4E 80 00 20 */ blr - -.global GetIsVisibleToAutoMapper__15CMappableObjectFbRC13CMapWorldInfo -GetIsVisibleToAutoMapper__15CMappableObjectFbRC13CMapWorldInfo: -/* 800E8A44 000E59A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800E8A48 000E59A8 7C 08 02 A6 */ mflr r0 -/* 800E8A4C 000E59AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 800E8A50 000E59B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800E8A54 000E59B4 7C BF 2B 78 */ mr r31, r5 -/* 800E8A58 000E59B8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800E8A5C 000E59BC 7C 9E 23 78 */ mr r30, r4 -/* 800E8A60 000E59C0 38 81 00 10 */ addi r4, r1, 0x10 -/* 800E8A64 000E59C4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800E8A68 000E59C8 7C 7D 1B 78 */ mr r29, r3 -/* 800E8A6C 000E59CC 80 03 00 08 */ lwz r0, 8(r3) -/* 800E8A70 000E59D0 7F E3 FB 78 */ mr r3, r31 -/* 800E8A74 000E59D4 54 00 85 BE */ rlwinm r0, r0, 0x10, 0x16, 0x1f -/* 800E8A78 000E59D8 90 01 00 0C */ stw r0, 0xc(r1) -/* 800E8A7C 000E59DC 90 01 00 10 */ stw r0, 0x10(r1) -/* 800E8A80 000E59E0 48 07 F2 85 */ bl IsAreaVisible__13CMapWorldInfoCF7TAreaId -/* 800E8A84 000E59E4 80 1D 00 04 */ lwz r0, 4(r29) -/* 800E8A88 000E59E8 2C 00 00 02 */ cmpwi r0, 2 -/* 800E8A8C 000E59EC 41 82 00 50 */ beq lbl_800E8ADC -/* 800E8A90 000E59F0 40 80 00 14 */ bge lbl_800E8AA4 -/* 800E8A94 000E59F4 2C 00 00 00 */ cmpwi r0, 0 -/* 800E8A98 000E59F8 41 82 00 1C */ beq lbl_800E8AB4 -/* 800E8A9C 000E59FC 40 80 00 20 */ bge lbl_800E8ABC -/* 800E8AA0 000E5A00 48 00 00 84 */ b lbl_800E8B24 -lbl_800E8AA4: -/* 800E8AA4 000E5A04 2C 00 00 04 */ cmpwi r0, 4 -/* 800E8AA8 000E5A08 41 82 00 14 */ beq lbl_800E8ABC -/* 800E8AAC 000E5A0C 40 80 00 78 */ bge lbl_800E8B24 -/* 800E8AB0 000E5A10 48 00 00 6C */ b lbl_800E8B1C -lbl_800E8AB4: -/* 800E8AB4 000E5A14 38 60 00 01 */ li r3, 1 -/* 800E8AB8 000E5A18 48 00 00 70 */ b lbl_800E8B28 -lbl_800E8ABC: -/* 800E8ABC 000E5A1C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800E8AC0 000E5A20 38 80 00 00 */ li r4, 0 -/* 800E8AC4 000E5A24 40 82 00 0C */ bne lbl_800E8AD0 -/* 800E8AC8 000E5A28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800E8ACC 000E5A2C 41 82 00 08 */ beq lbl_800E8AD4 -lbl_800E8AD0: -/* 800E8AD0 000E5A30 38 80 00 01 */ li r4, 1 -lbl_800E8AD4: -/* 800E8AD4 000E5A34 7C 83 23 78 */ mr r3, r4 -/* 800E8AD8 000E5A38 48 00 00 50 */ b lbl_800E8B28 -lbl_800E8ADC: -/* 800E8ADC 000E5A3C 80 9D 00 00 */ lwz r4, 0(r29) -/* 800E8AE0 000E5A40 38 00 00 00 */ li r0, 0 -/* 800E8AE4 000E5A44 2C 04 00 00 */ cmpwi r4, 0 -/* 800E8AE8 000E5A48 41 80 00 10 */ blt lbl_800E8AF8 -/* 800E8AEC 000E5A4C 2C 04 00 0F */ cmpwi r4, 0xf -/* 800E8AF0 000E5A50 41 81 00 08 */ bgt lbl_800E8AF8 -/* 800E8AF4 000E5A54 38 00 00 01 */ li r0, 1 -lbl_800E8AF8: -/* 800E8AF8 000E5A58 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800E8AFC 000E5A5C 41 82 00 2C */ beq lbl_800E8B28 -/* 800E8B00 000E5A60 80 1D 00 08 */ lwz r0, 8(r29) -/* 800E8B04 000E5A64 7F E3 FB 78 */ mr r3, r31 -/* 800E8B08 000E5A68 38 81 00 08 */ addi r4, r1, 8 -/* 800E8B0C 000E5A6C 90 01 00 08 */ stw r0, 8(r1) -/* 800E8B10 000E5A70 48 07 FB E1 */ bl IsDoorVisited__13CMapWorldInfoCF9TEditorId -/* 800E8B14 000E5A74 48 00 00 14 */ b lbl_800E8B28 -/* 800E8B18 000E5A78 48 00 00 10 */ b lbl_800E8B28 -lbl_800E8B1C: -/* 800E8B1C 000E5A7C 38 60 00 00 */ li r3, 0 -/* 800E8B20 000E5A80 48 00 00 08 */ b lbl_800E8B28 -lbl_800E8B24: -/* 800E8B24 000E5A84 38 60 00 01 */ li r3, 1 -lbl_800E8B28: -/* 800E8B28 000E5A88 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800E8B2C 000E5A8C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800E8B30 000E5A90 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800E8B34 000E5A94 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800E8B38 000E5A98 7C 08 03 A6 */ mtlr r0 -/* 800E8B3C 000E5A9C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800E8B40 000E5AA0 4E 80 00 20 */ blr - -.global BuildSurfaceCenterPoint__15CMappableObjectCFi -BuildSurfaceCenterPoint__15CMappableObjectCFi: -/* 800E8B44 000E5AA4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800E8B48 000E5AA8 7C 08 02 A6 */ mflr r0 -/* 800E8B4C 000E5AAC 2C 05 00 03 */ cmpwi r5, 3 -/* 800E8B50 000E5AB0 90 01 00 54 */ stw r0, 0x54(r1) -/* 800E8B54 000E5AB4 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800E8B58 000E5AB8 7C 7F 1B 78 */ mr r31, r3 -/* 800E8B5C 000E5ABC 80 CD A1 44 */ lwz r6, gpTweakAutoMapper@sda21(r13) -/* 800E8B60 000E5AC0 C0 26 00 AC */ lfs f1, 0xac(r6) -/* 800E8B64 000E5AC4 C0 46 00 A8 */ lfs f2, 0xa8(r6) -/* 800E8B68 000E5AC8 C0 66 00 A4 */ lfs f3, 0xa4(r6) -/* 800E8B6C 000E5ACC 41 82 00 90 */ beq lbl_800E8BFC -/* 800E8B70 000E5AD0 40 80 00 1C */ bge lbl_800E8B8C -/* 800E8B74 000E5AD4 2C 05 00 01 */ cmpwi r5, 1 -/* 800E8B78 000E5AD8 41 82 00 38 */ beq lbl_800E8BB0 -/* 800E8B7C 000E5ADC 40 80 00 5C */ bge lbl_800E8BD8 -/* 800E8B80 000E5AE0 2C 05 00 00 */ cmpwi r5, 0 -/* 800E8B84 000E5AE4 40 80 00 18 */ bge lbl_800E8B9C -/* 800E8B88 000E5AE8 48 00 00 D8 */ b lbl_800E8C60 -lbl_800E8B8C: -/* 800E8B8C 000E5AEC 2C 05 00 05 */ cmpwi r5, 5 -/* 800E8B90 000E5AF0 41 82 00 B0 */ beq lbl_800E8C40 -/* 800E8B94 000E5AF4 40 80 00 CC */ bge lbl_800E8C60 -/* 800E8B98 000E5AF8 48 00 00 84 */ b lbl_800E8C1C -lbl_800E8B9C: -/* 800E8B9C 000E5AFC 3C A0 80 5A */ lis r5, skZero3f@ha -/* 800E8BA0 000E5B00 38 84 00 10 */ addi r4, r4, 0x10 -/* 800E8BA4 000E5B04 38 A5 66 A0 */ addi r5, r5, skZero3f@l -/* 800E8BA8 000E5B08 48 22 9F 41 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800E8BAC 000E5B0C 48 00 00 D0 */ b lbl_800E8C7C -lbl_800E8BB0: -/* 800E8BB0 000E5B10 C0 02 90 48 */ lfs f0, lbl_805AAD68@sda21(r2) -/* 800E8BB4 000E5B14 38 84 00 10 */ addi r4, r4, 0x10 -/* 800E8BB8 000E5B18 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) -/* 800E8BBC 000E5B1C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800E8BC0 000E5B20 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 800E8BC4 000E5B24 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800E8BC8 000E5B28 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800E8BCC 000E5B2C D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800E8BD0 000E5B30 48 22 9F 19 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800E8BD4 000E5B34 48 00 00 A8 */ b lbl_800E8C7C -lbl_800E8BD8: -/* 800E8BD8 000E5B38 FC 00 10 50 */ fneg f0, f2 -/* 800E8BDC 000E5B3C C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) -/* 800E8BE0 000E5B40 38 84 00 10 */ addi r4, r4, 0x10 -/* 800E8BE4 000E5B44 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800E8BE8 000E5B48 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800E8BEC 000E5B4C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800E8BF0 000E5B50 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 800E8BF4 000E5B54 48 22 9E F5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800E8BF8 000E5B58 48 00 00 84 */ b lbl_800E8C7C -lbl_800E8BFC: -/* 800E8BFC 000E5B5C C0 02 90 20 */ lfs f0, lbl_805AAD40@sda21(r2) -/* 800E8C00 000E5B60 38 84 00 10 */ addi r4, r4, 0x10 -/* 800E8C04 000E5B64 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 800E8C08 000E5B68 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800E8C0C 000E5B6C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800E8C10 000E5B70 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800E8C14 000E5B74 48 22 9E D5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800E8C18 000E5B78 48 00 00 64 */ b lbl_800E8C7C -lbl_800E8C1C: -/* 800E8C1C 000E5B7C FC 20 08 50 */ fneg f1, f1 -/* 800E8C20 000E5B80 C0 02 90 20 */ lfs f0, lbl_805AAD40@sda21(r2) -/* 800E8C24 000E5B84 38 84 00 10 */ addi r4, r4, 0x10 -/* 800E8C28 000E5B88 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800E8C2C 000E5B8C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800E8C30 000E5B90 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800E8C34 000E5B94 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800E8C38 000E5B98 48 22 9E B1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800E8C3C 000E5B9C 48 00 00 40 */ b lbl_800E8C7C -lbl_800E8C40: -/* 800E8C40 000E5BA0 C0 02 90 20 */ lfs f0, lbl_805AAD40@sda21(r2) -/* 800E8C44 000E5BA4 38 84 00 10 */ addi r4, r4, 0x10 -/* 800E8C48 000E5BA8 D0 21 00 08 */ stfs f1, 8(r1) -/* 800E8C4C 000E5BAC 38 A1 00 08 */ addi r5, r1, 8 -/* 800E8C50 000E5BB0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800E8C54 000E5BB4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800E8C58 000E5BB8 48 22 9E 91 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800E8C5C 000E5BBC 48 00 00 20 */ b lbl_800E8C7C -lbl_800E8C60: -/* 800E8C60 000E5BC0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800E8C64 000E5BC4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 800E8C68 000E5BC8 D0 1F 00 00 */ stfs f0, 0(r31) -/* 800E8C6C 000E5BCC C0 03 00 04 */ lfs f0, 4(r3) -/* 800E8C70 000E5BD0 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800E8C74 000E5BD4 C0 03 00 08 */ lfs f0, 8(r3) -/* 800E8C78 000E5BD8 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_800E8C7C: -/* 800E8C7C 000E5BDC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800E8C80 000E5BE0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800E8C84 000E5BE4 7C 08 03 A6 */ mtlr r0 -/* 800E8C88 000E5BE8 38 21 00 50 */ addi r1, r1, 0x50 -/* 800E8C8C 000E5BEC 4E 80 00 20 */ blr - -.global DrawDoorSurface__15CMappableObjectCFiRC13CMapWorldInfofib -DrawDoorSurface__15CMappableObjectCFiRC13CMapWorldInfofib: -/* 800E8C90 000E5BF0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800E8C94 000E5BF4 7C 08 02 A6 */ mflr r0 -/* 800E8C98 000E5BF8 7C 88 23 78 */ mr r8, r4 -/* 800E8C9C 000E5BFC 7C 64 1B 78 */ mr r4, r3 -/* 800E8CA0 000E5C00 90 01 00 24 */ stw r0, 0x24(r1) -/* 800E8CA4 000E5C04 7C A0 2B 78 */ mr r0, r5 -/* 800E8CA8 000E5C08 7D 05 43 78 */ mr r5, r8 -/* 800E8CAC 000E5C0C 38 61 00 08 */ addi r3, r1, 8 -/* 800E8CB0 000E5C10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800E8CB4 000E5C14 7C DF 33 78 */ mr r31, r6 -/* 800E8CB8 000E5C18 7C 06 03 78 */ mr r6, r0 -/* 800E8CBC 000E5C1C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800E8CC0 000E5C20 7C FE 3B 78 */ mr r30, r7 -/* 800E8CC4 000E5C24 48 00 05 45 */ bl GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo -/* 800E8CC8 000E5C28 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800E8CCC 000E5C2C 80 81 00 08 */ lwz r4, 8(r1) -/* 800E8CD0 000E5C30 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 800E8CD4 000E5C34 3C 60 80 3D */ lis r3, lbl_803CE5F0@ha -/* 800E8CD8 000E5C38 90 81 00 10 */ stw r4, 0x10(r1) -/* 800E8CDC 000E5C3C 57 E4 20 36 */ slwi r4, r31, 4 -/* 800E8CE0 000E5C40 38 03 E5 F0 */ addi r0, r3, lbl_803CE5F0@l -/* 800E8CE4 000E5C44 3B C1 00 14 */ addi r30, r1, 0x14 -/* 800E8CE8 000E5C48 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800E8CEC 000E5C4C 7F E0 22 14 */ add r31, r0, r4 -/* 800E8CF0 000E5C50 41 82 00 18 */ beq lbl_800E8D08 -/* 800E8CF4 000E5C54 3C 80 80 47 */ lis r4, lbl_8046C498@ha -/* 800E8CF8 000E5C58 38 60 00 09 */ li r3, 9 -/* 800E8CFC 000E5C5C 38 84 C4 98 */ addi r4, r4, lbl_8046C498@l -/* 800E8D00 000E5C60 38 A0 00 0C */ li r5, 0xc -/* 800E8D04 000E5C64 48 21 F9 41 */ bl SetArray__3CGXF7_GXAttrPCvUc -lbl_800E8D08: -/* 800E8D08 000E5C68 38 81 00 10 */ addi r4, r1, 0x10 -/* 800E8D0C 000E5C6C 38 60 00 00 */ li r3, 0 -/* 800E8D10 000E5C70 48 21 FF 35 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 800E8D14 000E5C74 38 60 00 98 */ li r3, 0x98 -/* 800E8D18 000E5C78 38 80 00 00 */ li r4, 0 -/* 800E8D1C 000E5C7C 38 A0 00 04 */ li r5, 4 -/* 800E8D20 000E5C80 48 21 F8 65 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 800E8D24 000E5C84 88 7F 00 0C */ lbz r3, 0xc(r31) -/* 800E8D28 000E5C88 3C 80 CC 01 */ lis r4, 0xCC008000@ha -/* 800E8D2C 000E5C8C 88 1F 00 0D */ lbz r0, 0xd(r31) -/* 800E8D30 000E5C90 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 800E8D34 000E5C94 88 7F 00 0E */ lbz r3, 0xe(r31) -/* 800E8D38 000E5C98 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 800E8D3C 000E5C9C 88 1F 00 0F */ lbz r0, 0xf(r31) -/* 800E8D40 000E5CA0 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 800E8D44 000E5CA4 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 800E8D48 000E5CA8 48 21 F8 39 */ bl End__3CGXFv -/* 800E8D4C 000E5CAC 7F C4 F3 78 */ mr r4, r30 -/* 800E8D50 000E5CB0 38 60 00 00 */ li r3, 0 -/* 800E8D54 000E5CB4 48 21 FE F1 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 800E8D58 000E5CB8 38 60 00 B0 */ li r3, 0xb0 -/* 800E8D5C 000E5CBC 38 80 00 00 */ li r4, 0 -/* 800E8D60 000E5CC0 38 A0 00 05 */ li r5, 5 -/* 800E8D64 000E5CC4 48 21 F8 21 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 800E8D68 000E5CC8 88 BF 00 0C */ lbz r5, 0xc(r31) -/* 800E8D6C 000E5CCC 3C 80 CC 01 */ lis r4, 0xCC008000@ha -/* 800E8D70 000E5CD0 88 1F 00 0D */ lbz r0, 0xd(r31) -/* 800E8D74 000E5CD4 98 A4 80 00 */ stb r5, 0xCC008000@l(r4) -/* 800E8D78 000E5CD8 88 7F 00 0F */ lbz r3, 0xf(r31) -/* 800E8D7C 000E5CDC 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 800E8D80 000E5CE0 88 1F 00 0E */ lbz r0, 0xe(r31) -/* 800E8D84 000E5CE4 98 64 80 00 */ stb r3, 0xCC008000@l(r4) -/* 800E8D88 000E5CE8 98 04 80 00 */ stb r0, 0xCC008000@l(r4) -/* 800E8D8C 000E5CEC 98 A4 80 00 */ stb r5, 0xCC008000@l(r4) -/* 800E8D90 000E5CF0 48 21 F7 F1 */ bl End__3CGXFv -/* 800E8D94 000E5CF4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800E8D98 000E5CF8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800E8D9C 000E5CFC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800E8DA0 000E5D00 7C 08 03 A6 */ mtlr r0 -/* 800E8DA4 000E5D04 38 21 00 20 */ addi r1, r1, 0x20 -/* 800E8DA8 000E5D08 4E 80 00 20 */ blr - -.global Draw__15CMappableObjectCFiRC13CMapWorldInfofb -Draw__15CMappableObjectCFiRC13CMapWorldInfofb: -/* 800E8DAC 000E5D0C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 800E8DB0 000E5D10 7C 08 02 A6 */ mflr r0 -/* 800E8DB4 000E5D14 90 01 00 94 */ stw r0, 0x94(r1) -/* 800E8DB8 000E5D18 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 800E8DBC 000E5D1C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 800E8DC0 000E5D20 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 800E8DC4 000E5D24 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 800E8DC8 000E5D28 BF 61 00 5C */ stmw r27, 0x5c(r1) -/* 800E8DCC 000E5D2C 80 E3 00 00 */ lwz r7, 0(r3) -/* 800E8DD0 000E5D30 FF C0 08 90 */ fmr f30, f1 -/* 800E8DD4 000E5D34 7C 89 23 78 */ mr r9, r4 -/* 800E8DD8 000E5D38 7C A8 2B 78 */ mr r8, r5 -/* 800E8DDC 000E5D3C 2C 07 00 00 */ cmpwi r7, 0 -/* 800E8DE0 000E5D40 7C DB 33 78 */ mr r27, r6 -/* 800E8DE4 000E5D44 38 00 00 00 */ li r0, 0 -/* 800E8DE8 000E5D48 41 80 00 10 */ blt lbl_800E8DF8 -/* 800E8DEC 000E5D4C 2C 07 00 0F */ cmpwi r7, 0xf -/* 800E8DF0 000E5D50 41 81 00 08 */ bgt lbl_800E8DF8 -/* 800E8DF4 000E5D54 38 00 00 01 */ li r0, 1 -lbl_800E8DF8: -/* 800E8DF8 000E5D58 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 800E8DFC 000E5D5C 28 00 00 01 */ cmplwi r0, 1 -/* 800E8E00 000E5D60 40 82 00 F8 */ bne lbl_800E8EF8 -/* 800E8E04 000E5D64 FC 20 F0 90 */ fmr f1, f30 -/* 800E8E08 000E5D68 7C 64 1B 78 */ mr r4, r3 -/* 800E8E0C 000E5D6C 7D 25 4B 78 */ mr r5, r9 -/* 800E8E10 000E5D70 7D 06 43 78 */ mr r6, r8 -/* 800E8E14 000E5D74 38 61 00 38 */ addi r3, r1, 0x38 -/* 800E8E18 000E5D78 48 00 03 F1 */ bl GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo -/* 800E8E1C 000E5D7C 80 81 00 38 */ lwz r4, 0x38(r1) -/* 800E8E20 000E5D80 3C 60 80 3D */ lis r3, lbl_803CE5F0@ha -/* 800E8E24 000E5D84 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 800E8E28 000E5D88 57 7D 06 3E */ clrlwi r29, r27, 0x18 -/* 800E8E2C 000E5D8C 90 81 00 40 */ stw r4, 0x40(r1) -/* 800E8E30 000E5D90 3B E1 00 44 */ addi r31, r1, 0x44 -/* 800E8E34 000E5D94 3B 83 E5 F0 */ addi r28, r3, lbl_803CE5F0@l -/* 800E8E38 000E5D98 3B 60 00 00 */ li r27, 0 -/* 800E8E3C 000E5D9C 90 01 00 44 */ stw r0, 0x44(r1) -/* 800E8E40 000E5DA0 3F C0 CC 01 */ lis r30, 0xcc01 -lbl_800E8E44: -/* 800E8E44 000E5DA4 28 1D 00 00 */ cmplwi r29, 0 -/* 800E8E48 000E5DA8 41 82 00 18 */ beq lbl_800E8E60 -/* 800E8E4C 000E5DAC 3C 80 80 47 */ lis r4, lbl_8046C498@ha -/* 800E8E50 000E5DB0 38 60 00 09 */ li r3, 9 -/* 800E8E54 000E5DB4 38 84 C4 98 */ addi r4, r4, lbl_8046C498@l -/* 800E8E58 000E5DB8 38 A0 00 0C */ li r5, 0xc -/* 800E8E5C 000E5DBC 48 21 F7 E9 */ bl SetArray__3CGXF7_GXAttrPCvUc -lbl_800E8E60: -/* 800E8E60 000E5DC0 38 81 00 40 */ addi r4, r1, 0x40 -/* 800E8E64 000E5DC4 38 60 00 00 */ li r3, 0 -/* 800E8E68 000E5DC8 48 21 FD DD */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 800E8E6C 000E5DCC 38 60 00 98 */ li r3, 0x98 -/* 800E8E70 000E5DD0 38 80 00 00 */ li r4, 0 -/* 800E8E74 000E5DD4 38 A0 00 04 */ li r5, 4 -/* 800E8E78 000E5DD8 48 21 F7 0D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 800E8E7C 000E5DDC 88 7C 00 0C */ lbz r3, 0xc(r28) -/* 800E8E80 000E5DE0 88 1C 00 0D */ lbz r0, 0xd(r28) -/* 800E8E84 000E5DE4 98 7E 80 00 */ stb r3, 0xCC008000@l(r30) -/* 800E8E88 000E5DE8 88 7C 00 0E */ lbz r3, 0xe(r28) -/* 800E8E8C 000E5DEC 98 1E 80 00 */ stb r0, 0xCC008000@l(r30) -/* 800E8E90 000E5DF0 88 1C 00 0F */ lbz r0, 0xf(r28) -/* 800E8E94 000E5DF4 98 7E 80 00 */ stb r3, 0xCC008000@l(r30) -/* 800E8E98 000E5DF8 98 1E 80 00 */ stb r0, 0xCC008000@l(r30) -/* 800E8E9C 000E5DFC 48 21 F6 E5 */ bl End__3CGXFv -/* 800E8EA0 000E5E00 7F E4 FB 78 */ mr r4, r31 -/* 800E8EA4 000E5E04 38 60 00 00 */ li r3, 0 -/* 800E8EA8 000E5E08 48 21 FD 9D */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 800E8EAC 000E5E0C 38 60 00 B0 */ li r3, 0xb0 -/* 800E8EB0 000E5E10 38 80 00 00 */ li r4, 0 -/* 800E8EB4 000E5E14 38 A0 00 05 */ li r5, 5 -/* 800E8EB8 000E5E18 48 21 F6 CD */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 800E8EBC 000E5E1C 88 9C 00 0C */ lbz r4, 0xc(r28) -/* 800E8EC0 000E5E20 88 1C 00 0D */ lbz r0, 0xd(r28) -/* 800E8EC4 000E5E24 98 9E 80 00 */ stb r4, 0xCC008000@l(r30) -/* 800E8EC8 000E5E28 88 7C 00 0F */ lbz r3, 0xf(r28) -/* 800E8ECC 000E5E2C 98 1E 80 00 */ stb r0, 0xCC008000@l(r30) -/* 800E8ED0 000E5E30 88 1C 00 0E */ lbz r0, 0xe(r28) -/* 800E8ED4 000E5E34 98 7E 80 00 */ stb r3, 0xCC008000@l(r30) -/* 800E8ED8 000E5E38 98 1E 80 00 */ stb r0, 0xCC008000@l(r30) -/* 800E8EDC 000E5E3C 98 9E 80 00 */ stb r4, 0xCC008000@l(r30) -/* 800E8EE0 000E5E40 48 21 F6 A1 */ bl End__3CGXFv -/* 800E8EE4 000E5E44 3B 7B 00 01 */ addi r27, r27, 1 -/* 800E8EE8 000E5E48 3B 9C 00 10 */ addi r28, r28, 0x10 -/* 800E8EEC 000E5E4C 2C 1B 00 06 */ cmpwi r27, 6 -/* 800E8EF0 000E5E50 41 80 FF 54 */ blt lbl_800E8E44 -/* 800E8EF4 000E5E54 48 00 02 70 */ b lbl_800E9164 -lbl_800E8EF8: -/* 800E8EF8 000E5E58 80 63 00 00 */ lwz r3, 0(r3) -/* 800E8EFC 000E5E5C 3B A0 FF FF */ li r29, -1 -/* 800E8F00 000E5E60 38 03 FF E5 */ addi r0, r3, -27 -/* 800E8F04 000E5E64 28 00 00 0A */ cmplwi r0, 0xa -/* 800E8F08 000E5E68 41 81 01 34 */ bgt lbl_800E903C -/* 800E8F0C 000E5E6C 3C 60 80 3E */ lis r3, lbl_803DFC10@ha -/* 800E8F10 000E5E70 54 00 10 3A */ slwi r0, r0, 2 -/* 800E8F14 000E5E74 38 63 FC 10 */ addi r3, r3, lbl_803DFC10@l -/* 800E8F18 000E5E78 7C 03 00 2E */ lwzx r0, r3, r0 -/* 800E8F1C 000E5E7C 7C 09 03 A6 */ mtctr r0 -/* 800E8F20 000E5E80 4E 80 04 20 */ bctr -/* 800E8F24 000E5E84 38 80 00 FF */ li r4, 0xff -/* 800E8F28 000E5E88 38 00 00 96 */ li r0, 0x96 -/* 800E8F2C 000E5E8C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 800E8F30 000E5E90 98 81 00 24 */ stb r4, 0x24(r1) -/* 800E8F34 000E5E94 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 800E8F38 000E5E98 98 81 00 25 */ stb r4, 0x25(r1) -/* 800E8F3C 000E5E9C 98 01 00 26 */ stb r0, 0x26(r1) -/* 800E8F40 000E5EA0 98 81 00 27 */ stb r4, 0x27(r1) -/* 800E8F44 000E5EA4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800E8F48 000E5EA8 48 00 00 FC */ b lbl_800E9044 -/* 800E8F4C 000E5EAC 38 80 00 FF */ li r4, 0xff -/* 800E8F50 000E5EB0 38 00 00 96 */ li r0, 0x96 -/* 800E8F54 000E5EB4 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 800E8F58 000E5EB8 98 81 00 20 */ stb r4, 0x20(r1) -/* 800E8F5C 000E5EBC 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 800E8F60 000E5EC0 98 81 00 21 */ stb r4, 0x21(r1) -/* 800E8F64 000E5EC4 98 01 00 22 */ stb r0, 0x22(r1) -/* 800E8F68 000E5EC8 98 81 00 23 */ stb r4, 0x23(r1) -/* 800E8F6C 000E5ECC 83 A1 00 20 */ lwz r29, 0x20(r1) -/* 800E8F70 000E5ED0 48 00 00 D4 */ b lbl_800E9044 -/* 800E8F74 000E5ED4 38 80 00 FF */ li r4, 0xff -/* 800E8F78 000E5ED8 38 A0 00 64 */ li r5, 0x64 -/* 800E8F7C 000E5EDC 38 00 00 96 */ li r0, 0x96 -/* 800E8F80 000E5EE0 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 800E8F84 000E5EE4 98 A1 00 1C */ stb r5, 0x1c(r1) -/* 800E8F88 000E5EE8 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 800E8F8C 000E5EEC 98 81 00 1D */ stb r4, 0x1d(r1) -/* 800E8F90 000E5EF0 98 01 00 1E */ stb r0, 0x1e(r1) -/* 800E8F94 000E5EF4 98 81 00 1F */ stb r4, 0x1f(r1) -/* 800E8F98 000E5EF8 83 A1 00 1C */ lwz r29, 0x1c(r1) -/* 800E8F9C 000E5EFC 48 00 00 A8 */ b lbl_800E9044 -/* 800E8FA0 000E5F00 38 80 00 FF */ li r4, 0xff -/* 800E8FA4 000E5F04 38 A0 00 64 */ li r5, 0x64 -/* 800E8FA8 000E5F08 38 00 00 96 */ li r0, 0x96 -/* 800E8FAC 000E5F0C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 800E8FB0 000E5F10 98 A1 00 18 */ stb r5, 0x18(r1) -/* 800E8FB4 000E5F14 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 800E8FB8 000E5F18 98 81 00 19 */ stb r4, 0x19(r1) -/* 800E8FBC 000E5F1C 98 01 00 1A */ stb r0, 0x1a(r1) -/* 800E8FC0 000E5F20 98 81 00 1B */ stb r4, 0x1b(r1) -/* 800E8FC4 000E5F24 83 A1 00 18 */ lwz r29, 0x18(r1) -/* 800E8FC8 000E5F28 48 00 00 7C */ b lbl_800E9044 -/* 800E8FCC 000E5F2C 38 A0 00 FF */ li r5, 0xff -/* 800E8FD0 000E5F30 38 80 00 64 */ li r4, 0x64 -/* 800E8FD4 000E5F34 38 00 00 96 */ li r0, 0x96 -/* 800E8FD8 000E5F38 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 800E8FDC 000E5F3C 98 A1 00 14 */ stb r5, 0x14(r1) -/* 800E8FE0 000E5F40 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 800E8FE4 000E5F44 98 81 00 15 */ stb r4, 0x15(r1) -/* 800E8FE8 000E5F48 98 01 00 16 */ stb r0, 0x16(r1) -/* 800E8FEC 000E5F4C 98 A1 00 17 */ stb r5, 0x17(r1) -/* 800E8FF0 000E5F50 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800E8FF4 000E5F54 48 00 00 50 */ b lbl_800E9044 -/* 800E8FF8 000E5F58 38 A0 00 FF */ li r5, 0xff -/* 800E8FFC 000E5F5C 38 80 00 64 */ li r4, 0x64 -/* 800E9000 000E5F60 38 00 00 96 */ li r0, 0x96 -/* 800E9004 000E5F64 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 800E9008 000E5F68 98 A1 00 10 */ stb r5, 0x10(r1) -/* 800E900C 000E5F6C 80 C3 00 14 */ lwz r6, 0x14(r3) -/* 800E9010 000E5F70 98 81 00 11 */ stb r4, 0x11(r1) -/* 800E9014 000E5F74 98 01 00 12 */ stb r0, 0x12(r1) -/* 800E9018 000E5F78 98 A1 00 13 */ stb r5, 0x13(r1) -/* 800E901C 000E5F7C 83 A1 00 10 */ lwz r29, 0x10(r1) -/* 800E9020 000E5F80 48 00 00 24 */ b lbl_800E9044 -/* 800E9024 000E5F84 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 800E9028 000E5F88 80 C3 00 04 */ lwz r6, 4(r3) -/* 800E902C 000E5F8C 48 00 00 18 */ b lbl_800E9044 -/* 800E9030 000E5F90 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 800E9034 000E5F94 80 C3 00 08 */ lwz r6, 8(r3) -/* 800E9038 000E5F98 48 00 00 0C */ b lbl_800E9044 -lbl_800E903C: -/* 800E903C 000E5F9C 80 6D A1 4C */ lwz r3, gpTweakPlayerRes@sda21(r13) -/* 800E9040 000E5FA0 80 C3 00 0C */ lwz r6, 0xc(r3) -lbl_800E9044: -/* 800E9044 000E5FA4 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 800E9048 000E5FA8 90 C1 00 34 */ stw r6, 0x34(r1) -/* 800E904C 000E5FAC 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 800E9050 000E5FB0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800E9054 000E5FB4 90 01 00 30 */ stw r0, 0x30(r1) -/* 800E9058 000E5FB8 38 61 00 28 */ addi r3, r1, 0x28 -/* 800E905C 000E5FBC 38 A1 00 30 */ addi r5, r1, 0x30 -/* 800E9060 000E5FC0 81 84 00 00 */ lwz r12, 0(r4) -/* 800E9064 000E5FC4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800E9068 000E5FC8 7D 89 03 A6 */ mtctr r12 -/* 800E906C 000E5FCC 4E 80 04 21 */ bctrl -/* 800E9070 000E5FD0 3B 61 00 48 */ addi r27, r1, 0x48 -/* 800E9074 000E5FD4 38 81 00 28 */ addi r4, r1, 0x28 -/* 800E9078 000E5FD8 7F 63 DB 78 */ mr r3, r27 -/* 800E907C 000E5FDC 48 25 7E 2D */ bl __ct__6CTokenFRC6CToken -/* 800E9080 000E5FE0 7F 63 DB 78 */ mr r3, r27 -/* 800E9084 000E5FE4 48 25 7D 89 */ bl GetObj__6CTokenFv -/* 800E9088 000E5FE8 80 03 00 04 */ lwz r0, 4(r3) -/* 800E908C 000E5FEC 38 61 00 28 */ addi r3, r1, 0x28 -/* 800E9090 000E5FF0 38 80 FF FF */ li r4, -1 -/* 800E9094 000E5FF4 90 01 00 50 */ stw r0, 0x50(r1) -/* 800E9098 000E5FF8 48 25 7D A9 */ bl __dt__6CTokenFv -/* 800E909C 000E5FFC 80 61 00 50 */ lwz r3, 0x50(r1) -/* 800E90A0 000E6000 38 80 00 00 */ li r4, 0 -/* 800E90A4 000E6004 38 A0 00 01 */ li r5, 1 -/* 800E90A8 000E6008 48 22 66 95 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 800E90AC 000E600C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 800E90B0 000E6010 38 60 00 00 */ li r3, 0 -/* 800E90B4 000E6014 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 800E90B8 000E6018 48 22 12 01 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800E90BC 000E601C 38 60 00 98 */ li r3, 0x98 -/* 800E90C0 000E6020 48 22 25 A9 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 800E90C4 000E6024 C0 02 90 4C */ lfs f0, lbl_805AAD6C@sda21(r2) -/* 800E90C8 000E6028 EF E0 07 B2 */ fmuls f31, f0, f30 -/* 800E90CC 000E602C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800E90D0 000E6030 38 61 00 0C */ addi r3, r1, 0xc -/* 800E90D4 000E6034 88 01 00 08 */ lbz r0, 8(r1) -/* 800E90D8 000E6038 53 A0 00 2E */ rlwimi r0, r29, 0, 0, 0x17 -/* 800E90DC 000E603C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800E90E0 000E6040 48 22 24 69 */ bl StreamColor__9CGraphicsFRC6CColor -/* 800E90E4 000E6044 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) -/* 800E90E8 000E6048 C0 42 90 50 */ lfs f2, lbl_805AAD70@sda21(r2) -/* 800E90EC 000E604C 48 22 23 79 */ bl StreamTexcoord__9CGraphicsFff -/* 800E90F0 000E6050 C0 22 90 54 */ lfs f1, lbl_805AAD74@sda21(r2) -/* 800E90F4 000E6054 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) -/* 800E90F8 000E6058 C0 62 90 58 */ lfs f3, lbl_805AAD78@sda21(r2) -/* 800E90FC 000E605C 48 22 25 3D */ bl StreamVertex__9CGraphicsFfff -/* 800E9100 000E6060 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) -/* 800E9104 000E6064 FC 40 08 90 */ fmr f2, f1 -/* 800E9108 000E6068 48 22 23 5D */ bl StreamTexcoord__9CGraphicsFff -/* 800E910C 000E606C C0 22 90 54 */ lfs f1, lbl_805AAD74@sda21(r2) -/* 800E9110 000E6070 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) -/* 800E9114 000E6074 FC 60 08 90 */ fmr f3, f1 -/* 800E9118 000E6078 48 22 25 21 */ bl StreamVertex__9CGraphicsFfff -/* 800E911C 000E607C C0 22 90 50 */ lfs f1, lbl_805AAD70@sda21(r2) -/* 800E9120 000E6080 FC 40 08 90 */ fmr f2, f1 -/* 800E9124 000E6084 48 22 23 41 */ bl StreamTexcoord__9CGraphicsFff -/* 800E9128 000E6088 C0 22 90 58 */ lfs f1, lbl_805AAD78@sda21(r2) -/* 800E912C 000E608C C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) -/* 800E9130 000E6090 FC 60 08 90 */ fmr f3, f1 -/* 800E9134 000E6094 48 22 25 05 */ bl StreamVertex__9CGraphicsFfff -/* 800E9138 000E6098 C0 22 90 50 */ lfs f1, lbl_805AAD70@sda21(r2) -/* 800E913C 000E609C C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) -/* 800E9140 000E60A0 48 22 23 25 */ bl StreamTexcoord__9CGraphicsFff -/* 800E9144 000E60A4 C0 22 90 58 */ lfs f1, lbl_805AAD78@sda21(r2) -/* 800E9148 000E60A8 C0 42 90 20 */ lfs f2, lbl_805AAD40@sda21(r2) -/* 800E914C 000E60AC C0 62 90 54 */ lfs f3, lbl_805AAD74@sda21(r2) -/* 800E9150 000E60B0 48 22 24 E9 */ bl StreamVertex__9CGraphicsFfff -/* 800E9154 000E60B4 48 22 22 BD */ bl StreamEnd__9CGraphicsFv -/* 800E9158 000E60B8 7F 63 DB 78 */ mr r3, r27 -/* 800E915C 000E60BC 38 80 00 00 */ li r4, 0 -/* 800E9160 000E60C0 48 25 7C E1 */ bl __dt__6CTokenFv -lbl_800E9164: -/* 800E9164 000E60C4 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 800E9168 000E60C8 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 800E916C 000E60CC E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 800E9170 000E60D0 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 800E9174 000E60D4 BB 61 00 5C */ lmw r27, 0x5c(r1) -/* 800E9178 000E60D8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 800E917C 000E60DC 7C 08 03 A6 */ mtlr r0 -/* 800E9180 000E60E0 38 21 00 90 */ addi r1, r1, 0x90 -/* 800E9184 000E60E4 4E 80 00 20 */ blr - -.global PostConstruct__15CMappableObjectFPCv -PostConstruct__15CMappableObjectFPCv: -/* 800E9188 000E60E8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800E918C 000E60EC 7C 08 02 A6 */ mflr r0 -/* 800E9190 000E60F0 90 01 00 44 */ stw r0, 0x44(r1) -/* 800E9194 000E60F4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800E9198 000E60F8 7C 7F 1B 78 */ mr r31, r3 -/* 800E919C 000E60FC 38 61 00 08 */ addi r3, r1, 8 -/* 800E91A0 000E6100 80 1F 00 00 */ lwz r0, 0(r31) -/* 800E91A4 000E6104 7F E4 FB 78 */ mr r4, r31 -/* 800E91A8 000E6108 80 1F 00 04 */ lwz r0, 4(r31) -/* 800E91AC 000E610C 80 1F 00 08 */ lwz r0, 8(r31) -/* 800E91B0 000E6110 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 800E91B4 000E6114 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 800E91B8 000E6118 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 800E91BC 000E611C 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 800E91C0 000E6120 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 800E91C4 000E6124 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 800E91C8 000E6128 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 800E91CC 000E612C 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 800E91D0 000E6130 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 800E91D4 000E6134 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 800E91D8 000E6138 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 800E91DC 000E613C 80 1F 00 38 */ lwz r0, 0x38(r31) -/* 800E91E0 000E6140 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 800E91E4 000E6144 4B FF F5 8D */ bl AdjustTransformForType__15CMappableObjectFv -/* 800E91E8 000E6148 38 7F 00 10 */ addi r3, r31, 0x10 -/* 800E91EC 000E614C 38 81 00 08 */ addi r4, r1, 8 -/* 800E91F0 000E6150 48 22 99 51 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800E91F4 000E6154 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800E91F8 000E6158 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800E91FC 000E615C 7C 08 03 A6 */ mtlr r0 -/* 800E9200 000E6160 38 21 00 40 */ addi r1, r1, 0x40 -/* 800E9204 000E6164 4E 80 00 20 */ blr - -.global GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo -GetDoorColors__15CMappableObjectCFiRC13CMapWorldInfo: -/* 800E9208 000E6168 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800E920C 000E616C 7C 08 02 A6 */ mflr r0 -/* 800E9210 000E6170 90 01 00 64 */ stw r0, 0x64(r1) -/* 800E9214 000E6174 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 800E9218 000E6178 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 800E921C 000E617C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 800E9220 000E6180 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 800E9224 000E6184 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800E9228 000E6188 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800E922C 000E618C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800E9230 000E6190 80 E4 00 08 */ lwz r7, 8(r4) -/* 800E9234 000E6194 39 00 00 FF */ li r8, 0xff -/* 800E9238 000E6198 7C 9D 23 78 */ mr r29, r4 -/* 800E923C 000E619C 38 80 00 00 */ li r4, 0 -/* 800E9240 000E61A0 54 E0 85 BE */ rlwinm r0, r7, 0x10, 0x16, 0x1f -/* 800E9244 000E61A4 98 81 00 25 */ stb r4, 0x25(r1) -/* 800E9248 000E61A8 7C 05 00 50 */ subf r0, r5, r0 -/* 800E924C 000E61AC FF C0 08 90 */ fmr f30, f1 -/* 800E9250 000E61B0 7C 00 00 34 */ cntlzw r0, r0 -/* 800E9254 000E61B4 99 01 00 24 */ stb r8, 0x24(r1) -/* 800E9258 000E61B8 7C 7F 1B 78 */ mr r31, r3 -/* 800E925C 000E61BC 7C C3 33 78 */ mr r3, r6 -/* 800E9260 000E61C0 99 01 00 26 */ stb r8, 0x26(r1) -/* 800E9264 000E61C4 54 1E D9 7E */ srwi r30, r0, 5 -/* 800E9268 000E61C8 38 81 00 1C */ addi r4, r1, 0x1c -/* 800E926C 000E61CC 99 01 00 27 */ stb r8, 0x27(r1) -/* 800E9270 000E61D0 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 800E9274 000E61D4 48 07 F4 7D */ bl IsDoorVisited__13CMapWorldInfoCF9TEditorId -/* 800E9278 000E61D8 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800E927C 000E61DC 41 82 00 84 */ beq lbl_800E9300 -/* 800E9280 000E61E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800E9284 000E61E4 41 82 00 20 */ beq lbl_800E92A4 -/* 800E9288 000E61E8 80 1D 00 00 */ lwz r0, 0(r29) -/* 800E928C 000E61EC 2C 00 00 01 */ cmpwi r0, 1 -/* 800E9290 000E61F0 40 82 00 14 */ bne lbl_800E92A4 -/* 800E9294 000E61F4 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 800E9298 000E61F8 80 03 01 04 */ lwz r0, 0x104(r3) -/* 800E929C 000E61FC 90 01 00 24 */ stw r0, 0x24(r1) -/* 800E92A0 000E6200 48 00 00 80 */ b lbl_800E9320 -lbl_800E92A4: -/* 800E92A4 000E6204 80 1D 00 00 */ lwz r0, 0(r29) -/* 800E92A8 000E6208 38 80 00 00 */ li r4, 0 -/* 800E92AC 000E620C 28 00 00 0F */ cmplwi r0, 0xf -/* 800E92B0 000E6210 41 81 00 38 */ bgt lbl_800E92E8 -/* 800E92B4 000E6214 3C 60 80 3E */ lis r3, lbl_803DFC3C@ha -/* 800E92B8 000E6218 54 00 10 3A */ slwi r0, r0, 2 -/* 800E92BC 000E621C 38 63 FC 3C */ addi r3, r3, lbl_803DFC3C@l -/* 800E92C0 000E6220 7C 03 00 2E */ lwzx r0, r3, r0 -/* 800E92C4 000E6224 7C 09 03 A6 */ mtctr r0 -/* 800E92C8 000E6228 4E 80 04 20 */ bctr -/* 800E92CC 000E622C 38 80 00 01 */ li r4, 1 -/* 800E92D0 000E6230 48 00 00 18 */ b lbl_800E92E8 -/* 800E92D4 000E6234 38 80 00 02 */ li r4, 2 -/* 800E92D8 000E6238 48 00 00 10 */ b lbl_800E92E8 -/* 800E92DC 000E623C 38 80 00 03 */ li r4, 3 -/* 800E92E0 000E6240 48 00 00 08 */ b lbl_800E92E8 -/* 800E92E4 000E6244 38 80 00 04 */ li r4, 4 -lbl_800E92E8: -/* 800E92E8 000E6248 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 800E92EC 000E624C 54 80 10 3A */ slwi r0, r4, 2 -/* 800E92F0 000E6250 7C 63 02 14 */ add r3, r3, r0 -/* 800E92F4 000E6254 80 03 01 04 */ lwz r0, 0x104(r3) -/* 800E92F8 000E6258 90 01 00 24 */ stw r0, 0x24(r1) -/* 800E92FC 000E625C 48 00 00 24 */ b lbl_800E9320 -lbl_800E9300: -/* 800E9300 000E6260 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800E9304 000E6264 41 82 00 14 */ beq lbl_800E9318 -/* 800E9308 000E6268 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 800E930C 000E626C 80 03 01 1C */ lwz r0, 0x11c(r3) -/* 800E9310 000E6270 90 01 00 24 */ stw r0, 0x24(r1) -/* 800E9314 000E6274 48 00 00 0C */ b lbl_800E9320 -lbl_800E9318: -/* 800E9318 000E6278 38 00 00 00 */ li r0, 0 -/* 800E931C 000E627C 90 01 00 24 */ stw r0, 0x24(r1) -lbl_800E9320: -/* 800E9320 000E6280 88 61 00 27 */ lbz r3, 0x27(r1) -/* 800E9324 000E6284 3C 00 43 30 */ lis r0, 0x4330 -/* 800E9328 000E6288 90 01 00 28 */ stw r0, 0x28(r1) -/* 800E932C 000E628C C8 22 90 68 */ lfd f1, lbl_805AAD88@sda21(r2) -/* 800E9330 000E6290 90 61 00 2C */ stw r3, 0x2c(r1) -/* 800E9334 000E6294 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 800E9338 000E6298 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800E933C 000E629C EF FE 00 32 */ fmuls f31, f30, f0 -/* 800E9340 000E62A0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800E9344 000E62A4 80 61 00 24 */ lwz r3, 0x24(r1) -/* 800E9348 000E62A8 88 01 00 08 */ lbz r0, 8(r1) -/* 800E934C 000E62AC 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 -/* 800E9350 000E62B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 800E9354 000E62B4 E0 21 A0 24 */ psq_l f1, 36(r1), 1, qr2 -/* 800E9358 000E62B8 C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2) -/* 800E935C 000E62BC C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2) -/* 800E9360 000E62C0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 800E9364 000E62C4 C0 0D 87 A8 */ lfs f0, lbl_805A7368@sda21(r13) -/* 800E9368 000E62C8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800E936C 000E62CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E9370 000E62D0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800E9374 000E62D4 40 80 00 0C */ bge lbl_800E9380 -/* 800E9378 000E62D8 38 81 00 18 */ addi r4, r1, 0x18 -/* 800E937C 000E62DC 48 00 00 08 */ b lbl_800E9384 -lbl_800E9380: -/* 800E9380 000E62E0 38 8D 87 A8 */ addi r4, r13, lbl_805A7368@sda21 -lbl_800E9384: -/* 800E9384 000E62E4 E0 21 A0 25 */ psq_l f1, 37(r1), 1, qr2 -/* 800E9388 000E62E8 C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2) -/* 800E938C 000E62EC C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2) -/* 800E9390 000E62F0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 800E9394 000E62F4 C0 0D 87 AC */ lfs f0, lbl_805A736C@sda21(r13) -/* 800E9398 000E62F8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800E939C 000E62FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E93A0 000E6300 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800E93A4 000E6304 40 80 00 0C */ bge lbl_800E93B0 -/* 800E93A8 000E6308 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800E93AC 000E630C 48 00 00 08 */ b lbl_800E93B4 -lbl_800E93B0: -/* 800E93B0 000E6310 38 AD 87 AC */ addi r5, r13, lbl_805A736C@sda21 -lbl_800E93B4: -/* 800E93B4 000E6314 E0 21 A0 26 */ psq_l f1, 38(r1), 1, qr2 -/* 800E93B8 000E6318 C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2) -/* 800E93BC 000E631C C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2) -/* 800E93C0 000E6320 EC 20 00 72 */ fmuls f1, f0, f1 -/* 800E93C4 000E6324 C0 0D 87 B0 */ lfs f0, lbl_805A7370@sda21(r13) -/* 800E93C8 000E6328 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800E93CC 000E632C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E93D0 000E6330 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800E93D4 000E6334 40 80 00 0C */ bge lbl_800E93E0 -/* 800E93D8 000E6338 38 C1 00 10 */ addi r6, r1, 0x10 -/* 800E93DC 000E633C 48 00 00 08 */ b lbl_800E93E4 -lbl_800E93E0: -/* 800E93E0 000E6340 38 CD 87 B0 */ addi r6, r13, lbl_805A7370@sda21 -lbl_800E93E4: -/* 800E93E4 000E6344 E0 21 A0 27 */ psq_l f1, 39(r1), 1, qr2 -/* 800E93E8 000E6348 38 61 00 20 */ addi r3, r1, 0x20 -/* 800E93EC 000E634C C0 02 90 60 */ lfs f0, lbl_805AAD80@sda21(r2) -/* 800E93F0 000E6350 C0 42 90 5C */ lfs f2, lbl_805AAD7C@sda21(r2) -/* 800E93F4 000E6354 EC 20 00 72 */ fmuls f1, f0, f1 -/* 800E93F8 000E6358 C0 0D 87 B4 */ lfs f0, lbl_805A7374@sda21(r13) -/* 800E93FC 000E635C EC 22 00 72 */ fmuls f1, f2, f1 -/* 800E9400 000E6360 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800E9404 000E6364 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E9408 000E6368 C0 24 00 00 */ lfs f1, 0(r4) -/* 800E940C 000E636C C0 45 00 00 */ lfs f2, 0(r5) -/* 800E9410 000E6370 C0 66 00 00 */ lfs f3, 0(r6) -/* 800E9414 000E6374 40 80 00 0C */ bge lbl_800E9420 -/* 800E9418 000E6378 38 81 00 0C */ addi r4, r1, 0xc -/* 800E941C 000E637C 48 00 00 08 */ b lbl_800E9424 -lbl_800E9420: -/* 800E9420 000E6380 38 8D 87 B4 */ addi r4, r13, lbl_805A7374@sda21 -lbl_800E9424: -/* 800E9424 000E6384 C0 84 00 00 */ lfs f4, 0(r4) -/* 800E9428 000E6388 48 27 9F C5 */ bl __ct__6CColorFffff -/* 800E942C 000E638C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800E9430 000E6390 90 1F 00 00 */ stw r0, 0(r31) -/* 800E9434 000E6394 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800E9438 000E6398 90 1F 00 04 */ stw r0, 4(r31) -/* 800E943C 000E639C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 800E9440 000E63A0 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 800E9444 000E63A4 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 800E9448 000E63A8 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 800E944C 000E63AC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800E9450 000E63B0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800E9454 000E63B4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800E9458 000E63B8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800E945C 000E63BC 7C 08 03 A6 */ mtlr r0 -/* 800E9460 000E63C0 38 21 00 60 */ addi r1, r1, 0x60 -/* 800E9464 000E63C4 4E 80 00 20 */ blr - -.global ReadAutomapperTweaks__15CMappableObjectFRC16CTweakAutoMapper -ReadAutomapperTweaks__15CMappableObjectFRC16CTweakAutoMapper: -/* 800E9468 000E63C8 C0 03 00 AC */ lfs f0, 0xac(r3) -/* 800E946C 000E63CC 3C 80 80 47 */ lis r4, lbl_8046C498@ha -/* 800E9470 000E63D0 C0 A3 00 A8 */ lfs f5, 0xa8(r3) -/* 800E9474 000E63D4 FC 40 00 50 */ fneg f2, f0 -/* 800E9478 000E63D8 C0 02 90 70 */ lfs f0, lbl_805AAD90@sda21(r2) -/* 800E947C 000E63DC C0 C3 00 A4 */ lfs f6, 0xa4(r3) -/* 800E9480 000E63E0 FC 60 28 50 */ fneg f3, f5 -/* 800E9484 000E63E4 C0 22 90 20 */ lfs f1, lbl_805AAD40@sda21(r2) -/* 800E9488 000E63E8 EC 80 00 B2 */ fmuls f4, f0, f2 -/* 800E948C 000E63EC C0 02 90 48 */ lfs f0, lbl_805AAD68@sda21(r2) -/* 800E9490 000E63F0 D4 44 C4 98 */ stfsu f2, lbl_8046C498@l(r4) -/* 800E9494 000E63F4 EC 00 01 B2 */ fmuls f0, f0, f6 -/* 800E9498 000E63F8 D0 64 00 04 */ stfs f3, 4(r4) -/* 800E949C 000E63FC D0 24 00 08 */ stfs f1, 8(r4) -/* 800E94A0 000E6400 D0 44 00 0C */ stfs f2, 0xc(r4) -/* 800E94A4 000E6404 D0 64 00 10 */ stfs f3, 0x10(r4) -/* 800E94A8 000E6408 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 800E94AC 000E640C D0 44 00 18 */ stfs f2, 0x18(r4) -/* 800E94B0 000E6410 D0 A4 00 1C */ stfs f5, 0x1c(r4) -/* 800E94B4 000E6414 D0 24 00 20 */ stfs f1, 0x20(r4) -/* 800E94B8 000E6418 D0 44 00 24 */ stfs f2, 0x24(r4) -/* 800E94BC 000E641C D0 A4 00 28 */ stfs f5, 0x28(r4) -/* 800E94C0 000E6420 D0 04 00 2C */ stfs f0, 0x2c(r4) -/* 800E94C4 000E6424 D0 84 00 30 */ stfs f4, 0x30(r4) -/* 800E94C8 000E6428 D0 64 00 34 */ stfs f3, 0x34(r4) -/* 800E94CC 000E642C D0 24 00 38 */ stfs f1, 0x38(r4) -/* 800E94D0 000E6430 D0 84 00 3C */ stfs f4, 0x3c(r4) -/* 800E94D4 000E6434 D0 64 00 40 */ stfs f3, 0x40(r4) -/* 800E94D8 000E6438 D0 04 00 44 */ stfs f0, 0x44(r4) -/* 800E94DC 000E643C D0 84 00 48 */ stfs f4, 0x48(r4) -/* 800E94E0 000E6440 D0 A4 00 4C */ stfs f5, 0x4c(r4) -/* 800E94E4 000E6444 D0 24 00 50 */ stfs f1, 0x50(r4) -/* 800E94E8 000E6448 D0 84 00 54 */ stfs f4, 0x54(r4) -/* 800E94EC 000E644C D0 A4 00 58 */ stfs f5, 0x58(r4) -/* 800E94F0 000E6450 D0 04 00 5C */ stfs f0, 0x5c(r4) -/* 800E94F4 000E6454 4E 80 00 20 */ blr - -.global __sinit_CMappableObject_cpp -__sinit_CMappableObject_cpp: -/* 800E94F8 000E6458 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800E94FC 000E645C C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) -/* 800E9500 000E6460 3C 60 80 47 */ lis r3, lbl_8046C498@ha -/* 800E9504 000E6464 D4 03 C4 98 */ stfsu f0, lbl_8046C498@l(r3) -/* 800E9508 000E6468 C0 24 00 04 */ lfs f1, 4(r4) -/* 800E950C 000E646C C0 44 00 08 */ lfs f2, 8(r4) -/* 800E9510 000E6470 D0 23 00 04 */ stfs f1, 4(r3) -/* 800E9514 000E6474 D0 43 00 08 */ stfs f2, 8(r3) -/* 800E9518 000E6478 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800E951C 000E647C D0 23 00 10 */ stfs f1, 0x10(r3) -/* 800E9520 000E6480 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 800E9524 000E6484 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 800E9528 000E6488 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 800E952C 000E648C D0 43 00 20 */ stfs f2, 0x20(r3) -/* 800E9530 000E6490 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 800E9534 000E6494 D0 23 00 28 */ stfs f1, 0x28(r3) -/* 800E9538 000E6498 D0 43 00 2C */ stfs f2, 0x2c(r3) -/* 800E953C 000E649C D0 03 00 30 */ stfs f0, 0x30(r3) -/* 800E9540 000E64A0 D0 23 00 34 */ stfs f1, 0x34(r3) -/* 800E9544 000E64A4 D0 43 00 38 */ stfs f2, 0x38(r3) -/* 800E9548 000E64A8 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 800E954C 000E64AC D0 23 00 40 */ stfs f1, 0x40(r3) -/* 800E9550 000E64B0 D0 43 00 44 */ stfs f2, 0x44(r3) -/* 800E9554 000E64B4 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 800E9558 000E64B8 D0 23 00 4C */ stfs f1, 0x4c(r3) -/* 800E955C 000E64BC D0 43 00 50 */ stfs f2, 0x50(r3) -/* 800E9560 000E64C0 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 800E9564 000E64C4 D0 23 00 58 */ stfs f1, 0x58(r3) -/* 800E9568 000E64C8 D0 43 00 5C */ stfs f2, 0x5c(r3) -/* 800E956C 000E64CC 4E 80 00 20 */ blr - -.global GetViewWanderTransform__16CPlayerCameraBobCFv -GetViewWanderTransform__16CPlayerCameraBobCFv: -/* 800E9570 000E64D0 38 63 00 D0 */ addi r3, r3, 0xd0 -/* 800E9574 000E64D4 4E 80 00 20 */ blr - -.global UpdateViewWander__16CPlayerCameraBobFfR13CStateManager -UpdateViewWander__16CPlayerCameraBobFfR13CStateManager: -/* 800E9578 000E64D8 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 800E957C 000E64DC 7C 08 02 A6 */ mflr r0 -/* 800E9580 000E64E0 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 800E9584 000E64E4 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 800E9588 000E64E8 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 800E958C 000E64EC 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 800E9590 000E64F0 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 800E9594 000E64F4 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 800E9598 000E64F8 93 81 00 D0 */ stw r28, 0xd0(r1) -/* 800E959C 000E64FC 81 23 00 CC */ lwz r9, 0xcc(r3) -/* 800E95A0 000E6500 7C 7C 1B 78 */ mr r28, r3 -/* 800E95A4 000E6504 FF E0 08 90 */ fmr f31, f1 -/* 800E95A8 000E6508 C0 23 00 C4 */ lfs f1, 0xc4(r3) -/* 800E95AC 000E650C 38 A9 00 03 */ addi r5, r9, 3 -/* 800E95B0 000E6510 7C 9D 23 78 */ mr r29, r4 -/* 800E95B4 000E6514 38 09 00 01 */ addi r0, r9, 1 -/* 800E95B8 000E6518 38 69 00 02 */ addi r3, r9, 2 -/* 800E95BC 000E651C 54 A4 F0 02 */ slwi r4, r5, 0x1e -/* 800E95C0 000E6520 54 A8 0F FE */ srwi r8, r5, 0x1f -/* 800E95C4 000E6524 7C E8 20 50 */ subf r7, r8, r4 -/* 800E95C8 000E6528 54 05 F0 02 */ slwi r5, r0, 0x1e -/* 800E95CC 000E652C 54 06 0F FE */ srwi r6, r0, 0x1f -/* 800E95D0 000E6530 54 60 F0 02 */ slwi r0, r3, 0x1e -/* 800E95D4 000E6534 54 64 0F FE */ srwi r4, r3, 0x1f -/* 800E95D8 000E6538 54 E7 10 3E */ rotlwi r7, r7, 2 -/* 800E95DC 000E653C 7C A6 28 50 */ subf r5, r6, r5 -/* 800E95E0 000E6540 3B FC 00 80 */ addi r31, r28, 0x80 -/* 800E95E4 000E6544 7C 04 00 50 */ subf r0, r4, r0 -/* 800E95E8 000E6548 7C E7 42 14 */ add r7, r7, r8 -/* 800E95EC 000E654C 54 A5 10 3E */ rotlwi r5, r5, 2 -/* 800E95F0 000E6550 38 61 00 24 */ addi r3, r1, 0x24 -/* 800E95F4 000E6554 54 00 10 3E */ rotlwi r0, r0, 2 -/* 800E95F8 000E6558 7C 00 22 14 */ add r0, r0, r4 -/* 800E95FC 000E655C 7C A5 32 14 */ add r5, r5, r6 -/* 800E9600 000E6560 1C E7 00 0C */ mulli r7, r7, 0xc -/* 800E9604 000E6564 1C 89 00 0C */ mulli r4, r9, 0xc -/* 800E9608 000E6568 7C FF 3A 14 */ add r7, r31, r7 -/* 800E960C 000E656C 1C A5 00 0C */ mulli r5, r5, 0xc -/* 800E9610 000E6570 7C 9F 22 14 */ add r4, r31, r4 -/* 800E9614 000E6574 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800E9618 000E6578 7C BF 2A 14 */ add r5, r31, r5 -/* 800E961C 000E657C 7C DF 02 14 */ add r6, r31, r0 -/* 800E9620 000E6580 48 22 BA A5 */ bl GetCatmullRomSplinePoint__5CMathFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ff -/* 800E9624 000E6584 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 800E9628 000E6588 3B DC 00 B4 */ addi r30, r28, 0xb4 -/* 800E962C 000E658C C0 21 00 28 */ lfs f1, 0x28(r1) -/* 800E9630 000E6590 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800E9634 000E6594 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 800E9638 000E6598 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 800E963C 000E659C D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800E9640 000E65A0 80 9C 00 CC */ lwz r4, 0xcc(r28) -/* 800E9644 000E65A4 C0 BC 00 C4 */ lfs f5, 0xc4(r28) -/* 800E9648 000E65A8 38 A4 00 03 */ addi r5, r4, 3 -/* 800E964C 000E65AC 38 04 00 01 */ addi r0, r4, 1 -/* 800E9650 000E65B0 38 64 00 02 */ addi r3, r4, 2 -/* 800E9654 000E65B4 54 86 10 3A */ slwi r6, r4, 2 -/* 800E9658 000E65B8 54 A4 F0 02 */ slwi r4, r5, 0x1e -/* 800E965C 000E65BC 54 A8 0F FE */ srwi r8, r5, 0x1f -/* 800E9660 000E65C0 7C E8 20 50 */ subf r7, r8, r4 -/* 800E9664 000E65C4 54 04 F0 02 */ slwi r4, r0, 0x1e -/* 800E9668 000E65C8 54 05 0F FE */ srwi r5, r0, 0x1f -/* 800E966C 000E65CC 54 60 F0 02 */ slwi r0, r3, 0x1e -/* 800E9670 000E65D0 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800E9674 000E65D4 54 E7 10 3E */ rotlwi r7, r7, 2 -/* 800E9678 000E65D8 7C 85 20 50 */ subf r4, r5, r4 -/* 800E967C 000E65DC 7C 3E 34 2E */ lfsx f1, r30, r6 -/* 800E9680 000E65E0 7C 03 00 50 */ subf r0, r3, r0 -/* 800E9684 000E65E4 7C C7 42 14 */ add r6, r7, r8 -/* 800E9688 000E65E8 54 84 10 3E */ rotlwi r4, r4, 2 -/* 800E968C 000E65EC 54 00 10 3E */ rotlwi r0, r0, 2 -/* 800E9690 000E65F0 54 C6 10 3A */ slwi r6, r6, 2 -/* 800E9694 000E65F4 7C 84 2A 14 */ add r4, r4, r5 -/* 800E9698 000E65F8 7C 9E 34 2E */ lfsx f4, r30, r6 -/* 800E969C 000E65FC 7C 00 1A 14 */ add r0, r0, r3 -/* 800E96A0 000E6600 54 83 10 3A */ slwi r3, r4, 2 -/* 800E96A4 000E6604 54 00 10 3A */ slwi r0, r0, 2 -/* 800E96A8 000E6608 7C 5E 1C 2E */ lfsx f2, r30, r3 -/* 800E96AC 000E660C 7C 7E 04 2E */ lfsx f3, r30, r0 -/* 800E96B0 000E6610 48 22 B9 69 */ bl GetCatmullRomSplinePoint__5CMathFfffff -/* 800E96B4 000E6614 C0 BC 01 00 */ lfs f5, 0x100(r28) -/* 800E96B8 000E6618 38 61 00 3C */ addi r3, r1, 0x3c -/* 800E96BC 000E661C C0 61 00 38 */ lfs f3, 0x38(r1) -/* 800E96C0 000E6620 38 81 00 08 */ addi r4, r1, 8 -/* 800E96C4 000E6624 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 800E96C8 000E6628 EC 21 01 72 */ fmuls f1, f1, f5 -/* 800E96CC 000E662C C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800E96D0 000E6630 EC 85 00 F2 */ fmuls f4, f5, f3 -/* 800E96D4 000E6634 EC 45 00 B2 */ fmuls f2, f5, f2 -/* 800E96D8 000E6638 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 800E96DC 000E663C D0 21 00 08 */ stfs f1, 8(r1) -/* 800E96E0 000E6640 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 800E96E4 000E6644 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 800E96E8 000E6648 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 800E96EC 000E664C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800E96F0 000E6650 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800E96F4 000E6654 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800E96F8 000E6658 48 22 A1 B1 */ bl RotateY__12CTransform4fFRC9CRelAngle -/* 800E96FC 000E665C 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 800E9700 000E6660 38 61 00 6C */ addi r3, r1, 0x6c -/* 800E9704 000E6664 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 800E9708 000E6668 38 A1 00 30 */ addi r5, r1, 0x30 -/* 800E970C 000E666C 38 81 00 18 */ addi r4, r1, 0x18 -/* 800E9710 000E6670 48 22 A4 01 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800E9714 000E6674 38 61 00 9C */ addi r3, r1, 0x9c -/* 800E9718 000E6678 38 81 00 6C */ addi r4, r1, 0x6c -/* 800E971C 000E667C 38 A1 00 3C */ addi r5, r1, 0x3c -/* 800E9720 000E6680 48 22 92 31 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800E9724 000E6684 38 7C 00 D0 */ addi r3, r28, 0xd0 -/* 800E9728 000E6688 38 81 00 9C */ addi r4, r1, 0x9c -/* 800E972C 000E668C 48 22 94 15 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800E9730 000E6690 C0 5C 00 C8 */ lfs f2, 0xc8(r28) -/* 800E9734 000E6694 C0 3C 00 C4 */ lfs f1, 0xc4(r28) -/* 800E9738 000E6698 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) -/* 800E973C 000E669C EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 800E9740 000E66A0 D0 3C 00 C4 */ stfs f1, 0xc4(r28) -/* 800E9744 000E66A4 C0 3C 00 C4 */ lfs f1, 0xc4(r28) -/* 800E9748 000E66A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E974C 000E66AC 4C 41 13 82 */ cror 2, 1, 2 -/* 800E9750 000E66B0 40 82 00 A4 */ bne lbl_800E97F4 -/* 800E9754 000E66B4 7F 84 E3 78 */ mr r4, r28 -/* 800E9758 000E66B8 7F A5 EB 78 */ mr r5, r29 -/* 800E975C 000E66BC 38 61 00 0C */ addi r3, r1, 0xc -/* 800E9760 000E66C0 48 00 01 01 */ bl CalculateRandomViewWanderPosition__16CPlayerCameraBobFR13CStateManager -/* 800E9764 000E66C4 80 1C 00 CC */ lwz r0, 0xcc(r28) -/* 800E9768 000E66C8 7F 83 E3 78 */ mr r3, r28 -/* 800E976C 000E66CC C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800E9770 000E66D0 7F A4 EB 78 */ mr r4, r29 -/* 800E9774 000E66D4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800E9778 000E66D8 7C BF 02 14 */ add r5, r31, r0 -/* 800E977C 000E66DC D0 05 00 00 */ stfs f0, 0(r5) -/* 800E9780 000E66E0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800E9784 000E66E4 D0 05 00 04 */ stfs f0, 4(r5) -/* 800E9788 000E66E8 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800E978C 000E66EC D0 05 00 08 */ stfs f0, 8(r5) -/* 800E9790 000E66F0 80 1C 00 CC */ lwz r0, 0xcc(r28) -/* 800E9794 000E66F4 54 1F 10 3A */ slwi r31, r0, 2 -/* 800E9798 000E66F8 48 00 00 85 */ bl CalculateRandomViewWanderPitch__16CPlayerCameraBobFR13CStateManager -/* 800E979C 000E66FC 7C 3E FD 2E */ stfsx f1, r30, r31 -/* 800E97A0 000E6700 C3 ED 87 EC */ lfs f31, lbl_805A73AC@sda21(r13) -/* 800E97A4 000E6704 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 800E97A8 000E6708 48 22 8D 35 */ bl Float__9CRandom16Fv -/* 800E97AC 000E670C C0 4D 87 F0 */ lfs f2, lbl_805A73B0@sda21(r13) -/* 800E97B0 000E6710 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) -/* 800E97B4 000E6714 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 800E97B8 000E6718 EC 22 F8 7A */ fmadds f1, f2, f1, f31 -/* 800E97BC 000E671C D0 3C 00 C8 */ stfs f1, 0xc8(r28) -/* 800E97C0 000E6720 80 7C 00 CC */ lwz r3, 0xcc(r28) -/* 800E97C4 000E6724 38 03 00 01 */ addi r0, r3, 1 -/* 800E97C8 000E6728 90 1C 00 CC */ stw r0, 0xcc(r28) -/* 800E97CC 000E672C 80 7C 00 CC */ lwz r3, 0xcc(r28) -/* 800E97D0 000E6730 54 60 F0 02 */ slwi r0, r3, 0x1e -/* 800E97D4 000E6734 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800E97D8 000E6738 7C 03 00 50 */ subf r0, r3, r0 -/* 800E97DC 000E673C 54 00 10 3E */ rotlwi r0, r0, 2 -/* 800E97E0 000E6740 7C 00 1A 14 */ add r0, r0, r3 -/* 800E97E4 000E6744 90 1C 00 CC */ stw r0, 0xcc(r28) -/* 800E97E8 000E6748 C0 3C 00 C4 */ lfs f1, 0xc4(r28) -/* 800E97EC 000E674C EC 01 00 28 */ fsubs f0, f1, f0 -/* 800E97F0 000E6750 D0 1C 00 C4 */ stfs f0, 0xc4(r28) -lbl_800E97F4: -/* 800E97F4 000E6754 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 800E97F8 000E6758 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 800E97FC 000E675C CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 800E9800 000E6760 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 800E9804 000E6764 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 800E9808 000E6768 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 800E980C 000E676C 83 81 00 D0 */ lwz r28, 0xd0(r1) -/* 800E9810 000E6770 7C 08 03 A6 */ mtlr r0 -/* 800E9814 000E6774 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 800E9818 000E6778 4E 80 00 20 */ blr - -.global CalculateRandomViewWanderPitch__16CPlayerCameraBobFR13CStateManager -CalculateRandomViewWanderPitch__16CPlayerCameraBobFR13CStateManager: -/* 800E981C 000E677C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800E9820 000E6780 7C 08 02 A6 */ mflr r0 -/* 800E9824 000E6784 90 01 00 14 */ stw r0, 0x14(r1) -/* 800E9828 000E6788 80 64 09 00 */ lwz r3, 0x900(r4) -/* 800E982C 000E678C 48 22 8C B1 */ bl Float__9CRandom16Fv -/* 800E9830 000E6790 C0 02 90 88 */ lfs f0, lbl_805AADA8@sda21(r2) -/* 800E9834 000E6794 C0 42 90 84 */ lfs f2, lbl_805AADA4@sda21(r2) -/* 800E9838 000E6798 EC 61 00 28 */ fsubs f3, f1, f0 -/* 800E983C 000E679C C0 2D 87 F4 */ lfs f1, lbl_805A73B4@sda21(r13) -/* 800E9840 000E67A0 C0 02 90 80 */ lfs f0, lbl_805AADA0@sda21(r2) -/* 800E9844 000E67A4 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 800E9848 000E67A8 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800E984C 000E67AC EC 20 00 72 */ fmuls f1, f0, f1 -/* 800E9850 000E67B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800E9854 000E67B4 7C 08 03 A6 */ mtlr r0 -/* 800E9858 000E67B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800E985C 000E67BC 4E 80 00 20 */ blr - -.global CalculateRandomViewWanderPosition__16CPlayerCameraBobFR13CStateManager -CalculateRandomViewWanderPosition__16CPlayerCameraBobFR13CStateManager: -/* 800E9860 000E67C0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800E9864 000E67C4 7C 08 02 A6 */ mflr r0 -/* 800E9868 000E67C8 90 01 00 44 */ stw r0, 0x44(r1) -/* 800E986C 000E67CC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 800E9870 000E67D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 800E9874 000E67D4 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 800E9878 000E67D8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 800E987C 000E67DC DB A1 00 10 */ stfd f29, 0x10(r1) -/* 800E9880 000E67E0 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 -/* 800E9884 000E67E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800E9888 000E67E8 93 C1 00 08 */ stw r30, 8(r1) -/* 800E988C 000E67EC 7C BF 2B 78 */ mr r31, r5 -/* 800E9890 000E67F0 7C 7E 1B 78 */ mr r30, r3 -/* 800E9894 000E67F4 80 65 09 00 */ lwz r3, 0x900(r5) -/* 800E9898 000E67F8 48 22 8C 45 */ bl Float__9CRandom16Fv -/* 800E989C 000E67FC C0 42 90 8C */ lfs f2, lbl_805AADAC@sda21(r2) -/* 800E98A0 000E6800 C0 02 90 84 */ lfs f0, lbl_805AADA4@sda21(r2) -/* 800E98A4 000E6804 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800E98A8 000E6808 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800E98AC 000E680C EF C0 00 72 */ fmuls f30, f0, f1 -/* 800E98B0 000E6810 48 22 8C 2D */ bl Float__9CRandom16Fv -/* 800E98B4 000E6814 C0 0D 87 E8 */ lfs f0, lbl_805A73A8@sda21(r13) -/* 800E98B8 000E6818 EF A0 00 72 */ fmuls f29, f0, f1 -/* 800E98BC 000E681C FC 20 F0 90 */ fmr f1, f30 -/* 800E98C0 000E6820 48 22 BA 25 */ bl SlowCosineR__5CMathFf -/* 800E98C4 000E6824 EF FD 00 72 */ fmuls f31, f29, f1 -/* 800E98C8 000E6828 FC 20 F0 90 */ fmr f1, f30 -/* 800E98CC 000E682C 48 22 BA 3D */ bl SlowSineR__5CMathFf -/* 800E98D0 000E6830 EC 3D 00 72 */ fmuls f1, f29, f1 -/* 800E98D4 000E6834 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) -/* 800E98D8 000E6838 D0 3E 00 00 */ stfs f1, 0(r30) -/* 800E98DC 000E683C D0 1E 00 04 */ stfs f0, 4(r30) -/* 800E98E0 000E6840 D3 FE 00 08 */ stfs f31, 8(r30) -/* 800E98E4 000E6844 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 800E98E8 000E6848 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 800E98EC 000E684C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 800E98F0 000E6850 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 800E98F4 000E6854 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 -/* 800E98F8 000E6858 CB A1 00 10 */ lfd f29, 0x10(r1) -/* 800E98FC 000E685C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800E9900 000E6860 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800E9904 000E6864 83 C1 00 08 */ lwz r30, 8(r1) -/* 800E9908 000E6868 7C 08 03 A6 */ mtlr r0 -/* 800E990C 000E686C 38 21 00 40 */ addi r1, r1, 0x40 -/* 800E9910 000E6870 4E 80 00 20 */ blr - -.global InitViewWander__16CPlayerCameraBobFR13CStateManager -InitViewWander__16CPlayerCameraBobFR13CStateManager: -/* 800E9914 000E6874 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800E9918 000E6878 7C 08 02 A6 */ mflr r0 -/* 800E991C 000E687C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800E9920 000E6880 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 800E9924 000E6884 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 800E9928 000E6888 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800E992C 000E688C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800E9930 000E6890 C0 22 90 78 */ lfs f1, lbl_805AAD98@sda21(r2) -/* 800E9934 000E6894 7C 7E 1B 78 */ mr r30, r3 -/* 800E9938 000E6898 7C 9F 23 78 */ mr r31, r4 -/* 800E993C 000E689C C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) -/* 800E9940 000E68A0 D0 23 00 80 */ stfs f1, 0x80(r3) -/* 800E9944 000E68A4 7F C4 F3 78 */ mr r4, r30 -/* 800E9948 000E68A8 7F E5 FB 78 */ mr r5, r31 -/* 800E994C 000E68AC 38 61 00 08 */ addi r3, r1, 8 -/* 800E9950 000E68B0 D0 1E 00 84 */ stfs f0, 0x84(r30) -/* 800E9954 000E68B4 D0 3E 00 88 */ stfs f1, 0x88(r30) -/* 800E9958 000E68B8 C0 1E 00 80 */ lfs f0, 0x80(r30) -/* 800E995C 000E68BC D0 1E 00 8C */ stfs f0, 0x8c(r30) -/* 800E9960 000E68C0 C0 1E 00 84 */ lfs f0, 0x84(r30) -/* 800E9964 000E68C4 D0 1E 00 90 */ stfs f0, 0x90(r30) -/* 800E9968 000E68C8 C0 1E 00 88 */ lfs f0, 0x88(r30) -/* 800E996C 000E68CC D0 1E 00 94 */ stfs f0, 0x94(r30) -/* 800E9970 000E68D0 C0 1E 00 80 */ lfs f0, 0x80(r30) -/* 800E9974 000E68D4 D0 1E 00 98 */ stfs f0, 0x98(r30) -/* 800E9978 000E68D8 C0 1E 00 84 */ lfs f0, 0x84(r30) -/* 800E997C 000E68DC D0 1E 00 9C */ stfs f0, 0x9c(r30) -/* 800E9980 000E68E0 C0 1E 00 88 */ lfs f0, 0x88(r30) -/* 800E9984 000E68E4 D0 1E 00 A0 */ stfs f0, 0xa0(r30) -/* 800E9988 000E68E8 4B FF FE D9 */ bl CalculateRandomViewWanderPosition__16CPlayerCameraBobFR13CStateManager -/* 800E998C 000E68EC C0 21 00 08 */ lfs f1, 8(r1) -/* 800E9990 000E68F0 7F C3 F3 78 */ mr r3, r30 -/* 800E9994 000E68F4 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800E9998 000E68F8 7F E4 FB 78 */ mr r4, r31 -/* 800E999C 000E68FC D0 3E 00 A4 */ stfs f1, 0xa4(r30) -/* 800E99A0 000E6900 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 800E99A4 000E6904 D0 3E 00 A8 */ stfs f1, 0xa8(r30) -/* 800E99A8 000E6908 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 800E99AC 000E690C D0 3E 00 AC */ stfs f1, 0xac(r30) -/* 800E99B0 000E6910 D0 1E 00 B4 */ stfs f0, 0xb4(r30) -/* 800E99B4 000E6914 C0 1E 00 B4 */ lfs f0, 0xb4(r30) -/* 800E99B8 000E6918 D0 1E 00 B8 */ stfs f0, 0xb8(r30) -/* 800E99BC 000E691C C0 1E 00 B4 */ lfs f0, 0xb4(r30) -/* 800E99C0 000E6920 D0 1E 00 BC */ stfs f0, 0xbc(r30) -/* 800E99C4 000E6924 4B FF FE 59 */ bl CalculateRandomViewWanderPitch__16CPlayerCameraBobFR13CStateManager -/* 800E99C8 000E6928 D0 3E 00 C0 */ stfs f1, 0xc0(r30) -/* 800E99CC 000E692C C3 ED 87 EC */ lfs f31, lbl_805A73AC@sda21(r13) -/* 800E99D0 000E6930 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800E99D4 000E6934 48 22 8B 09 */ bl Float__9CRandom16Fv -/* 800E99D8 000E6938 C0 4D 87 F0 */ lfs f2, lbl_805A73B0@sda21(r13) -/* 800E99DC 000E693C 38 00 00 00 */ li r0, 0 -/* 800E99E0 000E6940 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800E99E4 000E6944 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 800E99E8 000E6948 EC 22 F8 7A */ fmadds f1, f2, f1, f31 -/* 800E99EC 000E694C D0 3E 00 C8 */ stfs f1, 0xc8(r30) -/* 800E99F0 000E6950 D0 1E 00 C4 */ stfs f0, 0xc4(r30) -/* 800E99F4 000E6954 90 1E 00 CC */ stw r0, 0xcc(r30) -/* 800E99F8 000E6958 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 800E99FC 000E695C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800E9A00 000E6960 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 800E9A04 000E6964 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800E9A08 000E6968 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800E9A0C 000E696C 7C 08 03 A6 */ mtlr r0 -/* 800E9A10 000E6970 38 21 00 30 */ addi r1, r1, 0x30 -/* 800E9A14 000E6974 4E 80 00 20 */ blr - -.global SetPlayerVelocity__16CPlayerCameraBobFRC9CVector3f -SetPlayerVelocity__16CPlayerCameraBobFRC9CVector3f: -/* 800E9A18 000E6978 C0 04 00 00 */ lfs f0, 0(r4) -/* 800E9A1C 000E697C 38 A4 00 08 */ addi r5, r4, 8 -/* 800E9A20 000E6980 D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 800E9A24 000E6984 C0 04 00 04 */ lfs f0, 4(r4) -/* 800E9A28 000E6988 D0 03 00 60 */ stfs f0, 0x60(r3) -/* 800E9A2C 000E698C C0 04 00 08 */ lfs f0, 8(r4) -/* 800E9A30 000E6990 D0 03 00 64 */ stfs f0, 0x64(r3) -/* 800E9A34 000E6994 C0 23 00 68 */ lfs f1, 0x68(r3) -/* 800E9A38 000E6998 C0 04 00 08 */ lfs f0, 8(r4) -/* 800E9A3C 000E699C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E9A40 000E69A0 40 80 00 08 */ bge lbl_800E9A48 -/* 800E9A44 000E69A4 38 A3 00 68 */ addi r5, r3, 0x68 -lbl_800E9A48: -/* 800E9A48 000E69A8 C0 05 00 00 */ lfs f0, 0(r5) -/* 800E9A4C 000E69AC D0 03 00 68 */ stfs f0, 0x68(r3) -/* 800E9A50 000E69B0 4E 80 00 20 */ blr - -.global SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager -SetState__16CPlayerCameraBobFQ216CPlayerCameraBob15ECameraBobStateR13CStateManager: -/* 800E9A54 000E69B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800E9A58 000E69B8 7C 08 02 A6 */ mflr r0 -/* 800E9A5C 000E69BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800E9A60 000E69C0 80 03 00 24 */ lwz r0, 0x24(r3) -/* 800E9A64 000E69C4 7C 04 00 00 */ cmpw r4, r0 -/* 800E9A68 000E69C8 41 82 00 B4 */ beq lbl_800E9B1C -/* 800E9A6C 000E69CC 90 03 00 20 */ stw r0, 0x20(r3) -/* 800E9A70 000E69D0 90 83 00 24 */ stw r4, 0x24(r3) -/* 800E9A74 000E69D4 80 03 00 20 */ lwz r0, 0x20(r3) -/* 800E9A78 000E69D8 2C 00 00 02 */ cmpwi r0, 2 -/* 800E9A7C 000E69DC 40 82 00 7C */ bne lbl_800E9AF8 -/* 800E9A80 000E69E0 38 00 00 01 */ li r0, 1 -/* 800E9A84 000E69E4 98 03 00 28 */ stb r0, 0x28(r3) -/* 800E9A88 000E69E8 C0 23 00 68 */ lfs f1, 0x68(r3) -/* 800E9A8C 000E69EC C0 0D 87 DC */ lfs f0, lbl_805A739C@sda21(r13) -/* 800E9A90 000E69F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E9A94 000E69F4 40 80 00 0C */ bge lbl_800E9AA0 -/* 800E9A98 000E69F8 38 8D 87 DC */ addi r4, r13, lbl_805A739C@sda21 -/* 800E9A9C 000E69FC 48 00 00 08 */ b lbl_800E9AA4 -lbl_800E9AA0: -/* 800E9AA0 000E6A00 38 83 00 68 */ addi r4, r3, 0x68 -lbl_800E9AA4: -/* 800E9AA4 000E6A04 C0 04 00 00 */ lfs f0, 0(r4) -/* 800E9AA8 000E6A08 D0 03 00 68 */ stfs f0, 0x68(r3) -/* 800E9AAC 000E6A0C C0 23 00 68 */ lfs f1, 0x68(r3) -/* 800E9AB0 000E6A10 C0 0D 87 D8 */ lfs f0, lbl_805A7398@sda21(r13) -/* 800E9AB4 000E6A14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E9AB8 000E6A18 7C 00 00 26 */ mfcr r0 -/* 800E9ABC 000E6A1C 54 00 0F FE */ srwi r0, r0, 0x1f -/* 800E9AC0 000E6A20 98 03 00 29 */ stb r0, 0x29(r3) -/* 800E9AC4 000E6A24 88 03 00 29 */ lbz r0, 0x29(r3) -/* 800E9AC8 000E6A28 28 00 00 00 */ cmplwi r0, 0 -/* 800E9ACC 000E6A2C 41 82 00 14 */ beq lbl_800E9AE0 -/* 800E9AD0 000E6A30 C0 23 00 74 */ lfs f1, 0x74(r3) -/* 800E9AD4 000E6A34 C0 03 00 68 */ lfs f0, 0x68(r3) -/* 800E9AD8 000E6A38 EC 01 00 2A */ fadds f0, f1, f0 -/* 800E9ADC 000E6A3C D0 03 00 74 */ stfs f0, 0x74(r3) -lbl_800E9AE0: -/* 800E9AE0 000E6A40 C0 43 00 6C */ lfs f2, 0x6c(r3) -/* 800E9AE4 000E6A44 C0 23 00 68 */ lfs f1, 0x68(r3) -/* 800E9AE8 000E6A48 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800E9AEC 000E6A4C EC 22 08 2A */ fadds f1, f2, f1 -/* 800E9AF0 000E6A50 D0 23 00 6C */ stfs f1, 0x6c(r3) -/* 800E9AF4 000E6A54 D0 03 00 68 */ stfs f0, 0x68(r3) -lbl_800E9AF8: -/* 800E9AF8 000E6A58 80 03 00 24 */ lwz r0, 0x24(r3) -/* 800E9AFC 000E6A5C 2C 00 00 03 */ cmpwi r0, 3 -/* 800E9B00 000E6A60 40 82 00 1C */ bne lbl_800E9B1C -/* 800E9B04 000E6A64 C0 23 01 00 */ lfs f1, 0x100(r3) -/* 800E9B08 000E6A68 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800E9B0C 000E6A6C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800E9B10 000E6A70 41 82 00 0C */ beq lbl_800E9B1C -/* 800E9B14 000E6A74 7C A4 2B 78 */ mr r4, r5 -/* 800E9B18 000E6A78 4B FF FD FD */ bl InitViewWander__16CPlayerCameraBobFR13CStateManager -lbl_800E9B1C: -/* 800E9B1C 000E6A7C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800E9B20 000E6A80 7C 08 03 A6 */ mtlr r0 -/* 800E9B24 000E6A84 38 21 00 10 */ addi r1, r1, 0x10 -/* 800E9B28 000E6A88 4E 80 00 20 */ blr - -.global ResetCameraBobTime__16CPlayerCameraBobFv -ResetCameraBobTime__16CPlayerCameraBobFv: -/* 800E9B2C 000E6A8C C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800E9B30 000E6A90 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 800E9B34 000E6A94 4E 80 00 20 */ blr - -.global CalculateMovingTranslation__16CPlayerCameraBobCFRfRf -CalculateMovingTranslation__16CPlayerCameraBobCFRfRf: -/* 800E9B38 000E6A98 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800E9B3C 000E6A9C 7C 08 02 A6 */ mflr r0 -/* 800E9B40 000E6AA0 90 01 00 44 */ stw r0, 0x44(r1) -/* 800E9B44 000E6AA4 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 800E9B48 000E6AA8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 800E9B4C 000E6AAC DB C1 00 20 */ stfd f30, 0x20(r1) -/* 800E9B50 000E6AB0 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 800E9B54 000E6AB4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800E9B58 000E6AB8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800E9B5C 000E6ABC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800E9B60 000E6AC0 7C 7D 1B 78 */ mr r29, r3 -/* 800E9B64 000E6AC4 7C 9E 23 78 */ mr r30, r4 -/* 800E9B68 000E6AC8 80 03 00 00 */ lwz r0, 0(r3) -/* 800E9B6C 000E6ACC 7C BF 2B 78 */ mr r31, r5 -/* 800E9B70 000E6AD0 2C 00 00 01 */ cmpwi r0, 1 -/* 800E9B74 000E6AD4 41 82 00 94 */ beq lbl_800E9C08 -/* 800E9B78 000E6AD8 40 80 01 3C */ bge lbl_800E9CB4 -/* 800E9B7C 000E6ADC 2C 00 00 00 */ cmpwi r0, 0 -/* 800E9B80 000E6AE0 40 80 00 08 */ bge lbl_800E9B88 -/* 800E9B84 000E6AE4 48 00 01 30 */ b lbl_800E9CB4 -lbl_800E9B88: -/* 800E9B88 000E6AE8 C8 42 90 98 */ lfd f2, lbl_805AADB8@sda21(r2) -/* 800E9B8C 000E6AEC C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 800E9B90 000E6AF0 C0 3D 00 1C */ lfs f1, 0x1c(r29) -/* 800E9B94 000E6AF4 FC 42 00 32 */ fmul f2, f2, f0 -/* 800E9B98 000E6AF8 48 2A B1 15 */ bl fmod -/* 800E9B9C 000E6AFC C8 42 90 90 */ lfd f2, lbl_805AADB0@sda21(r2) -/* 800E9BA0 000E6B00 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 800E9BA4 000E6B04 FC 22 00 72 */ fmul f1, f2, f1 -/* 800E9BA8 000E6B08 FF C1 00 24 */ fdiv f30, f1, f0 -/* 800E9BAC 000E6B0C FC 20 F0 90 */ fmr f1, f30 -/* 800E9BB0 000E6B10 48 2A AF 2D */ bl sin -/* 800E9BB4 000E6B14 C0 7D 00 14 */ lfs f3, 0x14(r29) -/* 800E9BB8 000E6B18 FC 20 08 18 */ frsp f1, f1 -/* 800E9BBC 000E6B1C C0 5D 00 04 */ lfs f2, 4(r29) -/* 800E9BC0 000E6B20 C8 02 90 A0 */ lfd f0, lbl_805AADC0@sda21(r2) -/* 800E9BC4 000E6B24 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800E9BC8 000E6B28 FF DE 00 32 */ fmul f30, f30, f0 -/* 800E9BCC 000E6B2C EC 02 00 72 */ fmuls f0, f2, f1 -/* 800E9BD0 000E6B30 FC 20 F0 90 */ fmr f1, f30 -/* 800E9BD4 000E6B34 D0 1E 00 00 */ stfs f0, 0(r30) -/* 800E9BD8 000E6B38 48 2A A8 19 */ bl cos -/* 800E9BDC 000E6B3C FF E0 0A 10 */ fabs f31, f1 -/* 800E9BE0 000E6B40 FC 20 F0 90 */ fmr f1, f30 -/* 800E9BE4 000E6B44 48 2A A8 0D */ bl cos -/* 800E9BE8 000E6B48 FC 41 07 F2 */ fmul f2, f1, f31 -/* 800E9BEC 000E6B4C C0 3D 00 14 */ lfs f1, 0x14(r29) -/* 800E9BF0 000E6B50 C0 1D 00 08 */ lfs f0, 8(r29) -/* 800E9BF4 000E6B54 EC 21 00 32 */ fmuls f1, f1, f0 -/* 800E9BF8 000E6B58 FC 00 10 18 */ frsp f0, f2 -/* 800E9BFC 000E6B5C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800E9C00 000E6B60 D0 1F 00 00 */ stfs f0, 0(r31) -/* 800E9C04 000E6B64 48 00 00 B0 */ b lbl_800E9CB4 -lbl_800E9C08: -/* 800E9C08 000E6B68 C8 42 90 98 */ lfd f2, lbl_805AADB8@sda21(r2) -/* 800E9C0C 000E6B6C C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 800E9C10 000E6B70 C0 3D 00 1C */ lfs f1, 0x1c(r29) -/* 800E9C14 000E6B74 FC 42 00 32 */ fmul f2, f2, f0 -/* 800E9C18 000E6B78 48 2A B0 95 */ bl fmod -/* 800E9C1C 000E6B7C FC 40 08 18 */ frsp f2, f1 -/* 800E9C20 000E6B80 C8 02 90 A8 */ lfd f0, lbl_805AADC8@sda21(r2) -/* 800E9C24 000E6B84 C0 7D 00 0C */ lfs f3, 0xc(r29) -/* 800E9C28 000E6B88 FC 00 00 B2 */ fmul f0, f0, f2 -/* 800E9C2C 000E6B8C FC 02 18 40 */ fcmpo cr0, f2, f3 -/* 800E9C30 000E6B90 FC 20 18 24 */ fdiv f1, f0, f3 -/* 800E9C34 000E6B94 40 81 00 28 */ ble lbl_800E9C5C -/* 800E9C38 000E6B98 EC 62 18 24 */ fdivs f3, f2, f3 -/* 800E9C3C 000E6B9C C0 82 90 84 */ lfs f4, lbl_805AADA4@sda21(r2) -/* 800E9C40 000E6BA0 C0 5D 00 14 */ lfs f2, 0x14(r29) -/* 800E9C44 000E6BA4 C0 1D 00 04 */ lfs f0, 4(r29) -/* 800E9C48 000E6BA8 EC 64 18 28 */ fsubs f3, f4, f3 -/* 800E9C4C 000E6BAC EC 02 00 32 */ fmuls f0, f2, f0 -/* 800E9C50 000E6BB0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800E9C54 000E6BB4 D0 1E 00 00 */ stfs f0, 0(r30) -/* 800E9C58 000E6BB8 48 00 00 1C */ b lbl_800E9C74 -lbl_800E9C5C: -/* 800E9C5C 000E6BBC EC 62 18 24 */ fdivs f3, f2, f3 -/* 800E9C60 000E6BC0 C0 5D 00 14 */ lfs f2, 0x14(r29) -/* 800E9C64 000E6BC4 C0 1D 00 04 */ lfs f0, 4(r29) -/* 800E9C68 000E6BC8 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800E9C6C 000E6BCC EC 03 00 32 */ fmuls f0, f3, f0 -/* 800E9C70 000E6BD0 D0 1E 00 00 */ stfs f0, 0(r30) -lbl_800E9C74: -/* 800E9C74 000E6BD4 C8 42 90 A8 */ lfd f2, lbl_805AADC8@sda21(r2) -/* 800E9C78 000E6BD8 48 2A B0 35 */ bl fmod -/* 800E9C7C 000E6BDC 48 2A AE 61 */ bl sin -/* 800E9C80 000E6BE0 FC A0 08 18 */ frsp f5, f1 -/* 800E9C84 000E6BE4 C0 62 90 7C */ lfs f3, lbl_805AAD9C@sda21(r2) -/* 800E9C88 000E6BE8 C0 9D 00 14 */ lfs f4, 0x14(r29) -/* 800E9C8C 000E6BEC C0 5D 00 08 */ lfs f2, 8(r29) -/* 800E9C90 000E6BF0 EC 05 19 7C */ fnmsubs f0, f5, f5, f3 -/* 800E9C94 000E6BF4 C0 22 90 88 */ lfs f1, lbl_805AADA8@sda21(r2) -/* 800E9C98 000E6BF8 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 800E9C9C 000E6BFC EC 63 28 28 */ fsubs f3, f3, f5 -/* 800E9CA0 000E6C00 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 800E9CA4 000E6C04 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800E9CA8 000E6C08 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800E9CAC 000E6C0C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 800E9CB0 000E6C10 D0 1F 00 00 */ stfs f0, 0(r31) -lbl_800E9CB4: -/* 800E9CB4 000E6C14 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 800E9CB8 000E6C18 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 800E9CBC 000E6C1C E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 800E9CC0 000E6C20 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 800E9CC4 000E6C24 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800E9CC8 000E6C28 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800E9CCC 000E6C2C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800E9CD0 000E6C30 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800E9CD4 000E6C34 7C 08 03 A6 */ mtlr r0 -/* 800E9CD8 000E6C38 38 21 00 40 */ addi r1, r1, 0x40 -/* 800E9CDC 000E6C3C 4E 80 00 20 */ blr - -.global CalculateLandingTranslation__16CPlayerCameraBobCFv -CalculateLandingTranslation__16CPlayerCameraBobCFv: -/* 800E9CE0 000E6C40 C0 23 00 70 */ lfs f1, 0x70(r3) -/* 800E9CE4 000E6C44 4E 80 00 20 */ blr - -.global GetHelmetBobTranslation__16CPlayerCameraBobCFv -GetHelmetBobTranslation__16CPlayerCameraBobCFv: -/* 800E9CE8 000E6C48 C0 22 90 78 */ lfs f1, lbl_805AAD98@sda21(r2) -/* 800E9CEC 000E6C4C C0 04 00 38 */ lfs f0, 0x38(r4) -/* 800E9CF0 000E6C50 C0 44 00 48 */ lfs f2, 0x48(r4) -/* 800E9CF4 000E6C54 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800E9CF8 000E6C58 C0 8D 87 FC */ lfs f4, lbl_805A73BC@sda21(r13) -/* 800E9CFC 000E6C5C EC 62 08 28 */ fsubs f3, f2, f1 -/* 800E9D00 000E6C60 C0 44 00 58 */ lfs f2, 0x58(r4) -/* 800E9D04 000E6C64 C0 24 00 78 */ lfs f1, 0x78(r4) -/* 800E9D08 000E6C68 EC 04 00 32 */ fmuls f0, f4, f0 -/* 800E9D0C 000E6C6C EC 22 08 28 */ fsubs f1, f2, f1 -/* 800E9D10 000E6C70 EC 44 00 F2 */ fmuls f2, f4, f3 -/* 800E9D14 000E6C74 D0 03 00 00 */ stfs f0, 0(r3) -/* 800E9D18 000E6C78 EC 04 00 72 */ fmuls f0, f4, f1 -/* 800E9D1C 000E6C7C D0 43 00 04 */ stfs f2, 4(r3) -/* 800E9D20 000E6C80 D0 03 00 08 */ stfs f0, 8(r3) -/* 800E9D24 000E6C84 4E 80 00 20 */ blr - -.global GetGunBobTransformation__16CPlayerCameraBobCFv -GetGunBobTransformation__16CPlayerCameraBobCFv: -/* 800E9D28 000E6C88 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800E9D2C 000E6C8C 7C 08 02 A6 */ mflr r0 -/* 800E9D30 000E6C90 C0 22 90 7C */ lfs f1, lbl_805AAD9C@sda21(r2) -/* 800E9D34 000E6C94 90 01 00 64 */ stw r0, 0x64(r1) -/* 800E9D38 000E6C98 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800E9D3C 000E6C9C 7C 7F 1B 78 */ mr r31, r3 -/* 800E9D40 000E6CA0 38 61 00 20 */ addi r3, r1, 0x20 -/* 800E9D44 000E6CA4 C0 0D 87 F8 */ lfs f0, lbl_805A73B8@sda21(r13) -/* 800E9D48 000E6CA8 C0 84 00 58 */ lfs f4, 0x58(r4) -/* 800E9D4C 000E6CAC EC 61 00 2A */ fadds f3, f1, f0 -/* 800E9D50 000E6CB0 C0 24 00 48 */ lfs f1, 0x48(r4) -/* 800E9D54 000E6CB4 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 800E9D58 000E6CB8 38 81 00 14 */ addi r4, r1, 0x14 -/* 800E9D5C 000E6CBC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800E9D60 000E6CC0 EC 43 00 72 */ fmuls f2, f3, f1 -/* 800E9D64 000E6CC4 EC 23 01 32 */ fmuls f1, f3, f4 -/* 800E9D68 000E6CC8 D0 01 00 08 */ stfs f0, 8(r1) -/* 800E9D6C 000E6CCC EC 03 00 32 */ fmuls f0, f3, f0 -/* 800E9D70 000E6CD0 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 800E9D74 000E6CD4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800E9D78 000E6CD8 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800E9D7C 000E6CDC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800E9D80 000E6CE0 48 22 93 C1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800E9D84 000E6CE4 7F E3 FB 78 */ mr r3, r31 -/* 800E9D88 000E6CE8 38 81 00 20 */ addi r4, r1, 0x20 -/* 800E9D8C 000E6CEC 48 22 8D E9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800E9D90 000E6CF0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800E9D94 000E6CF4 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800E9D98 000E6CF8 7C 08 03 A6 */ mtlr r0 -/* 800E9D9C 000E6CFC 38 21 00 60 */ addi r1, r1, 0x60 -/* 800E9DA0 000E6D00 4E 80 00 20 */ blr - -.global GetCameraBobTransformation__16CPlayerCameraBobCFv -GetCameraBobTransformation__16CPlayerCameraBobCFv: -/* 800E9DA4 000E6D04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800E9DA8 000E6D08 7C 08 02 A6 */ mflr r0 -/* 800E9DAC 000E6D0C 38 84 00 2C */ addi r4, r4, 0x2c -/* 800E9DB0 000E6D10 90 01 00 14 */ stw r0, 0x14(r1) -/* 800E9DB4 000E6D14 48 22 8D C1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800E9DB8 000E6D18 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800E9DBC 000E6D1C 7C 08 03 A6 */ mtlr r0 -/* 800E9DC0 000E6D20 38 21 00 10 */ addi r1, r1, 0x10 -/* 800E9DC4 000E6D24 4E 80 00 20 */ blr - -.global CalculateCameraBobTransformation__16CPlayerCameraBobCFv -CalculateCameraBobTransformation__16CPlayerCameraBobCFv: -/* 800E9DC8 000E6D28 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800E9DCC 000E6D2C 7C 08 02 A6 */ mflr r0 -/* 800E9DD0 000E6D30 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800E9DD4 000E6D34 90 01 00 24 */ stw r0, 0x24(r1) -/* 800E9DD8 000E6D38 38 A1 00 08 */ addi r5, r1, 8 -/* 800E9DDC 000E6D3C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800E9DE0 000E6D40 7C 9F 23 78 */ mr r31, r4 -/* 800E9DE4 000E6D44 38 81 00 0C */ addi r4, r1, 0xc -/* 800E9DE8 000E6D48 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800E9DEC 000E6D4C 7C 7E 1B 78 */ mr r30, r3 -/* 800E9DF0 000E6D50 7F E3 FB 78 */ mr r3, r31 -/* 800E9DF4 000E6D54 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800E9DF8 000E6D58 D0 01 00 08 */ stfs f0, 8(r1) -/* 800E9DFC 000E6D5C 4B FF FD 3D */ bl CalculateMovingTranslation__16CPlayerCameraBobCFRfRf -/* 800E9E00 000E6D60 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 800E9E04 000E6D64 28 00 00 00 */ cmplwi r0, 0 -/* 800E9E08 000E6D68 41 82 00 18 */ beq lbl_800E9E20 -/* 800E9E0C 000E6D6C 7F E3 FB 78 */ mr r3, r31 -/* 800E9E10 000E6D70 4B FF FE D1 */ bl CalculateLandingTranslation__16CPlayerCameraBobCFv -/* 800E9E14 000E6D74 C0 01 00 08 */ lfs f0, 8(r1) -/* 800E9E18 000E6D78 EC 00 08 2A */ fadds f0, f0, f1 -/* 800E9E1C 000E6D7C D0 01 00 08 */ stfs f0, 8(r1) -lbl_800E9E20: -/* 800E9E20 000E6D80 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 800E9E24 000E6D84 7F C3 F3 78 */ mr r3, r30 -/* 800E9E28 000E6D88 C0 42 90 78 */ lfs f2, lbl_805AAD98@sda21(r2) -/* 800E9E2C 000E6D8C C0 61 00 08 */ lfs f3, 8(r1) -/* 800E9E30 000E6D90 48 22 93 59 */ bl Translate__12CTransform4fFfff -/* 800E9E34 000E6D94 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800E9E38 000E6D98 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800E9E3C 000E6D9C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800E9E40 000E6DA0 7C 08 03 A6 */ mtlr r0 -/* 800E9E44 000E6DA4 38 21 00 20 */ addi r1, r1, 0x20 -/* 800E9E48 000E6DA8 4E 80 00 20 */ blr - -.global SetBobMagnitude__16CPlayerCameraBobFf -SetBobMagnitude__16CPlayerCameraBobFf: -/* 800E9E4C 000E6DAC D0 23 00 10 */ stfs f1, 0x10(r3) -/* 800E9E50 000E6DB0 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 800E9E54 000E6DB4 C0 0D 88 10 */ lfs f0, lbl_805A73D0@sda21(r13) -/* 800E9E58 000E6DB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E9E5C 000E6DBC 40 80 00 0C */ bge lbl_800E9E68 -/* 800E9E60 000E6DC0 38 8D 88 10 */ addi r4, r13, lbl_805A73D0@sda21 -/* 800E9E64 000E6DC4 48 00 00 08 */ b lbl_800E9E6C -lbl_800E9E68: -/* 800E9E68 000E6DC8 38 83 00 10 */ addi r4, r3, 0x10 -lbl_800E9E6C: -/* 800E9E6C 000E6DCC C0 04 00 00 */ lfs f0, 0(r4) -/* 800E9E70 000E6DD0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800E9E74 000E6DD4 C0 2D 88 14 */ lfs f1, lbl_805A73D4@sda21(r13) -/* 800E9E78 000E6DD8 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 800E9E7C 000E6DDC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E9E80 000E6DE0 40 80 00 0C */ bge lbl_800E9E8C -/* 800E9E84 000E6DE4 38 8D 88 14 */ addi r4, r13, lbl_805A73D4@sda21 -/* 800E9E88 000E6DE8 48 00 00 08 */ b lbl_800E9E90 -lbl_800E9E8C: -/* 800E9E8C 000E6DEC 38 83 00 10 */ addi r4, r3, 0x10 -lbl_800E9E90: -/* 800E9E90 000E6DF0 C0 04 00 00 */ lfs f0, 0(r4) -/* 800E9E94 000E6DF4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800E9E98 000E6DF8 4E 80 00 20 */ blr - -.global SetBobTimeScale__16CPlayerCameraBobFf -SetBobTimeScale__16CPlayerCameraBobFf: -/* 800E9E9C 000E6DFC D0 23 00 18 */ stfs f1, 0x18(r3) -/* 800E9EA0 000E6E00 C0 23 00 18 */ lfs f1, 0x18(r3) -/* 800E9EA4 000E6E04 C0 0D 88 08 */ lfs f0, lbl_805A73C8@sda21(r13) -/* 800E9EA8 000E6E08 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E9EAC 000E6E0C 40 80 00 0C */ bge lbl_800E9EB8 -/* 800E9EB0 000E6E10 38 8D 88 08 */ addi r4, r13, lbl_805A73C8@sda21 -/* 800E9EB4 000E6E14 48 00 00 08 */ b lbl_800E9EBC -lbl_800E9EB8: -/* 800E9EB8 000E6E18 38 83 00 18 */ addi r4, r3, 0x18 -lbl_800E9EBC: -/* 800E9EBC 000E6E1C C0 04 00 00 */ lfs f0, 0(r4) -/* 800E9EC0 000E6E20 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 800E9EC4 000E6E24 C0 2D 88 0C */ lfs f1, lbl_805A73CC@sda21(r13) -/* 800E9EC8 000E6E28 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 800E9ECC 000E6E2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800E9ED0 000E6E30 40 80 00 0C */ bge lbl_800E9EDC -/* 800E9ED4 000E6E34 38 8D 88 0C */ addi r4, r13, lbl_805A73CC@sda21 -/* 800E9ED8 000E6E38 48 00 00 08 */ b lbl_800E9EE0 -lbl_800E9EDC: -/* 800E9EDC 000E6E3C 38 83 00 18 */ addi r4, r3, 0x18 -lbl_800E9EE0: -/* 800E9EE0 000E6E40 C0 04 00 00 */ lfs f0, 0(r4) -/* 800E9EE4 000E6E44 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 800E9EE8 000E6E48 4E 80 00 20 */ blr - -.global Update__16CPlayerCameraBobFfR13CStateManager -Update__16CPlayerCameraBobFfR13CStateManager: -/* 800E9EEC 000E6E4C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 800E9EF0 000E6E50 7C 08 02 A6 */ mflr r0 -/* 800E9EF4 000E6E54 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 800E9EF8 000E6E58 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 800E9EFC 000E6E5C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 800E9F00 000E6E60 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 800E9F04 000E6E64 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 800E9F08 000E6E68 7C 7E 1B 78 */ mr r30, r3 -/* 800E9F0C 000E6E6C FF E0 08 90 */ fmr f31, f1 -/* 800E9F10 000E6E70 C0 23 00 18 */ lfs f1, 0x18(r3) -/* 800E9F14 000E6E74 7C 9F 23 78 */ mr r31, r4 -/* 800E9F18 000E6E78 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 800E9F1C 000E6E7C EC 1F 00 7A */ fmadds f0, f31, f1, f0 -/* 800E9F20 000E6E80 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 800E9F24 000E6E84 88 03 00 28 */ lbz r0, 0x28(r3) -/* 800E9F28 000E6E88 28 00 00 00 */ cmplwi r0, 0 -/* 800E9F2C 000E6E8C 41 82 00 E8 */ beq lbl_800EA014 -/* 800E9F30 000E6E90 88 1E 00 29 */ lbz r0, 0x29(r30) -/* 800E9F34 000E6E94 C0 0D A3 10 */ lfs f0, lbl_805A8ED0@sda21(r13) -/* 800E9F38 000E6E98 28 00 00 00 */ cmplwi r0, 0 -/* 800E9F3C 000E6E9C C0 8D 87 D4 */ lfs f4, lbl_805A7394@sda21(r13) -/* 800E9F40 000E6EA0 41 82 00 0C */ beq lbl_800E9F4C -/* 800E9F44 000E6EA4 C0 0D A3 14 */ lfs f0, lbl_805A8ED4@sda21(r13) -/* 800E9F48 000E6EA8 C0 8D 87 E0 */ lfs f4, lbl_805A73A0@sda21(r13) -lbl_800E9F4C: -/* 800E9F4C 000E6EAC C0 5E 00 6C */ lfs f2, 0x6c(r30) -/* 800E9F50 000E6EB0 C0 7E 00 70 */ lfs f3, 0x70(r30) -/* 800E9F54 000E6EB4 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 800E9F58 000E6EB8 C0 22 90 B0 */ lfs f1, lbl_805AADD0@sda21(r2) -/* 800E9F5C 000E6EBC FC 00 00 50 */ fneg f0, f0 -/* 800E9F60 000E6EC0 EC 04 00 FC */ fnmsubs f0, f4, f3, f0 -/* 800E9F64 000E6EC4 EC 1F 10 3A */ fmadds f0, f31, f0, f2 -/* 800E9F68 000E6EC8 D0 1E 00 6C */ stfs f0, 0x6c(r30) -/* 800E9F6C 000E6ECC C0 5E 00 6C */ lfs f2, 0x6c(r30) -/* 800E9F70 000E6ED0 C0 1E 00 70 */ lfs f0, 0x70(r30) -/* 800E9F74 000E6ED4 EC 02 07 FA */ fmadds f0, f2, f31, f0 -/* 800E9F78 000E6ED8 D0 1E 00 70 */ stfs f0, 0x70(r30) -/* 800E9F7C 000E6EDC C0 0D A3 18 */ lfs f0, lbl_805A8ED8@sda21(r13) -/* 800E9F80 000E6EE0 C0 5E 00 74 */ lfs f2, 0x74(r30) -/* 800E9F84 000E6EE4 C0 8D 87 E4 */ lfs f4, lbl_805A73A4@sda21(r13) -/* 800E9F88 000E6EE8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 800E9F8C 000E6EEC C0 7E 00 78 */ lfs f3, 0x78(r30) -/* 800E9F90 000E6EF0 FC 00 00 50 */ fneg f0, f0 -/* 800E9F94 000E6EF4 EC 04 00 FC */ fnmsubs f0, f4, f3, f0 -/* 800E9F98 000E6EF8 EC 1F 10 3A */ fmadds f0, f31, f0, f2 -/* 800E9F9C 000E6EFC D0 1E 00 74 */ stfs f0, 0x74(r30) -/* 800E9FA0 000E6F00 C0 5E 00 74 */ lfs f2, 0x74(r30) -/* 800E9FA4 000E6F04 C0 1E 00 78 */ lfs f0, 0x78(r30) -/* 800E9FA8 000E6F08 EC 02 07 FA */ fmadds f0, f2, f31, f0 -/* 800E9FAC 000E6F0C D0 1E 00 78 */ stfs f0, 0x78(r30) -/* 800E9FB0 000E6F10 C0 1E 00 6C */ lfs f0, 0x6c(r30) -/* 800E9FB4 000E6F14 FC 00 02 10 */ fabs f0, f0 -/* 800E9FB8 000E6F18 FC 00 00 18 */ frsp f0, f0 -/* 800E9FBC 000E6F1C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800E9FC0 000E6F20 40 80 00 54 */ bge lbl_800EA014 -/* 800E9FC4 000E6F24 C0 1E 00 70 */ lfs f0, 0x70(r30) -/* 800E9FC8 000E6F28 FC 00 02 10 */ fabs f0, f0 -/* 800E9FCC 000E6F2C FC 00 00 18 */ frsp f0, f0 -/* 800E9FD0 000E6F30 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800E9FD4 000E6F34 40 80 00 40 */ bge lbl_800EA014 -/* 800E9FD8 000E6F38 C0 1E 00 74 */ lfs f0, 0x74(r30) -/* 800E9FDC 000E6F3C FC 00 02 10 */ fabs f0, f0 -/* 800E9FE0 000E6F40 FC 00 00 18 */ frsp f0, f0 -/* 800E9FE4 000E6F44 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800E9FE8 000E6F48 40 80 00 2C */ bge lbl_800EA014 -/* 800E9FEC 000E6F4C C0 1E 00 78 */ lfs f0, 0x78(r30) -/* 800E9FF0 000E6F50 FC 00 02 10 */ fabs f0, f0 -/* 800E9FF4 000E6F54 FC 00 00 18 */ frsp f0, f0 -/* 800E9FF8 000E6F58 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800E9FFC 000E6F5C 40 80 00 18 */ bge lbl_800EA014 -/* 800EA000 000E6F60 38 00 00 00 */ li r0, 0 -/* 800EA004 000E6F64 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800EA008 000E6F68 98 1E 00 28 */ stb r0, 0x28(r30) -/* 800EA00C 000E6F6C D0 1E 00 70 */ stfs f0, 0x70(r30) -/* 800EA010 000E6F70 D0 1E 00 78 */ stfs f0, 0x78(r30) -lbl_800EA014: -/* 800EA014 000E6F74 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 800EA018 000E6F78 2C 00 00 03 */ cmpwi r0, 3 -/* 800EA01C 000E6F7C 40 82 00 10 */ bne lbl_800EA02C -/* 800EA020 000E6F80 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) -/* 800EA024 000E6F84 D0 1E 01 04 */ stfs f0, 0x104(r30) -/* 800EA028 000E6F88 48 00 00 0C */ b lbl_800EA034 -lbl_800EA02C: -/* 800EA02C 000E6F8C C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800EA030 000E6F90 D0 1E 01 04 */ stfs f0, 0x104(r30) -lbl_800EA034: -/* 800EA034 000E6F94 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 800EA038 000E6F98 4B F1 F1 11 */ bl GetCameraBobMagnitude__14CCameraManagerCFv -/* 800EA03C 000E6F9C C0 1E 00 70 */ lfs f0, 0x70(r30) -/* 800EA040 000E6FA0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EA044 000E6FA4 D0 1E 00 70 */ stfs f0, 0x70(r30) -/* 800EA048 000E6FA8 C0 1E 00 78 */ lfs f0, 0x78(r30) -/* 800EA04C 000E6FAC EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EA050 000E6FB0 D0 1E 00 78 */ stfs f0, 0x78(r30) -/* 800EA054 000E6FB4 C0 1E 01 04 */ lfs f0, 0x104(r30) -/* 800EA058 000E6FB8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EA05C 000E6FBC D0 1E 01 04 */ stfs f0, 0x104(r30) -/* 800EA060 000E6FC0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 800EA064 000E6FC4 88 03 03 8C */ lbz r0, 0x38c(r3) -/* 800EA068 000E6FC8 28 00 00 00 */ cmplwi r0, 0 -/* 800EA06C 000E6FCC 41 82 00 2C */ beq lbl_800EA098 -/* 800EA070 000E6FD0 C0 1E 00 70 */ lfs f0, 0x70(r30) -/* 800EA074 000E6FD4 C0 22 90 B4 */ lfs f1, lbl_805AADD4@sda21(r2) -/* 800EA078 000E6FD8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EA07C 000E6FDC D0 1E 00 70 */ stfs f0, 0x70(r30) -/* 800EA080 000E6FE0 C0 1E 00 78 */ lfs f0, 0x78(r30) -/* 800EA084 000E6FE4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EA088 000E6FE8 D0 1E 00 78 */ stfs f0, 0x78(r30) -/* 800EA08C 000E6FEC C0 1E 01 04 */ lfs f0, 0x104(r30) -/* 800EA090 000E6FF0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EA094 000E6FF4 D0 1E 01 04 */ stfs f0, 0x104(r30) -lbl_800EA098: -/* 800EA098 000E6FF8 C0 1E 01 04 */ lfs f0, 0x104(r30) -/* 800EA09C 000E6FFC C0 5E 01 00 */ lfs f2, 0x100(r30) -/* 800EA0A0 000E7000 C0 6D 87 D0 */ lfs f3, lbl_805A7390@sda21(r13) -/* 800EA0A4 000E7004 EC 20 10 28 */ fsubs f1, f0, f2 -/* 800EA0A8 000E7008 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800EA0AC 000E700C EC 23 10 7A */ fmadds f1, f3, f1, f2 -/* 800EA0B0 000E7010 D0 3E 01 00 */ stfs f1, 0x100(r30) -/* 800EA0B4 000E7014 C0 3E 01 00 */ lfs f1, 0x100(r30) -/* 800EA0B8 000E7018 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EA0BC 000E701C 40 80 00 08 */ bge lbl_800EA0C4 -/* 800EA0C0 000E7020 D0 1E 01 00 */ stfs f0, 0x100(r30) -lbl_800EA0C4: -/* 800EA0C4 000E7024 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 800EA0C8 000E7028 FC 20 F8 90 */ fmr f1, f31 -/* 800EA0CC 000E702C C0 5E 00 14 */ lfs f2, 0x14(r30) -/* 800EA0D0 000E7030 7F C3 F3 78 */ mr r3, r30 -/* 800EA0D4 000E7034 C0 6D 87 D0 */ lfs f3, lbl_805A7390@sda21(r13) -/* 800EA0D8 000E7038 7F E4 FB 78 */ mr r4, r31 -/* 800EA0DC 000E703C EC 00 10 28 */ fsubs f0, f0, f2 -/* 800EA0E0 000E7040 EC 03 10 3A */ fmadds f0, f3, f0, f2 -/* 800EA0E4 000E7044 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 800EA0E8 000E7048 4B FF F4 91 */ bl UpdateViewWander__16CPlayerCameraBobFfR13CStateManager -/* 800EA0EC 000E704C C0 5E 00 78 */ lfs f2, 0x78(r30) -/* 800EA0F0 000E7050 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800EA0F4 000E7054 C0 22 90 78 */ lfs f1, lbl_805AAD98@sda21(r2) -/* 800EA0F8 000E7058 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 800EA0FC 000E705C C0 0D 88 00 */ lfs f0, lbl_805A73C0@sda21(r13) -/* 800EA100 000E7060 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 800EA104 000E7064 D0 21 00 08 */ stfs f1, 8(r1) -/* 800EA108 000E7068 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 800EA10C 000E706C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800EA110 000E7070 38 A1 00 08 */ addi r5, r1, 8 -/* 800EA114 000E7074 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800EA118 000E7078 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 800EA11C 000E707C 48 22 99 F5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800EA120 000E7080 7F C3 F3 78 */ mr r3, r30 -/* 800EA124 000E7084 4B FF F4 4D */ bl GetViewWanderTransform__16CPlayerCameraBobCFv -/* 800EA128 000E7088 7C 7F 1B 78 */ mr r31, r3 -/* 800EA12C 000E708C 7F C4 F3 78 */ mr r4, r30 -/* 800EA130 000E7090 38 61 00 44 */ addi r3, r1, 0x44 -/* 800EA134 000E7094 4B FF FC 95 */ bl CalculateCameraBobTransformation__16CPlayerCameraBobCFv -/* 800EA138 000E7098 7F E5 FB 78 */ mr r5, r31 -/* 800EA13C 000E709C 38 61 00 74 */ addi r3, r1, 0x74 -/* 800EA140 000E70A0 38 81 00 44 */ addi r4, r1, 0x44 -/* 800EA144 000E70A4 48 22 88 0D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800EA148 000E70A8 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 800EA14C 000E70AC 38 81 00 74 */ addi r4, r1, 0x74 -/* 800EA150 000E70B0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800EA154 000E70B4 48 22 87 FD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800EA158 000E70B8 38 7E 00 2C */ addi r3, r30, 0x2c -/* 800EA15C 000E70BC 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 800EA160 000E70C0 48 22 89 E1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800EA164 000E70C4 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 800EA168 000E70C8 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 800EA16C 000E70CC CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 800EA170 000E70D0 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 800EA174 000E70D4 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 800EA178 000E70D8 7C 08 03 A6 */ mtlr r0 -/* 800EA17C 000E70DC 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 800EA180 000E70E0 4E 80 00 20 */ blr - -.global ReadTweaks__16CPlayerCameraBobFR12CInputStream -ReadTweaks__16CPlayerCameraBobFR12CInputStream: -/* 800EA184 000E70E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EA188 000E70E8 7C 08 02 A6 */ mflr r0 -/* 800EA18C 000E70EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EA190 000E70F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800EA194 000E70F4 7C 7F 1B 78 */ mr r31, r3 -/* 800EA198 000E70F8 48 25 4A 91 */ bl ReadFloat__12CInputStreamFv -/* 800EA19C 000E70FC D0 2D 87 B8 */ stfs f1, lbl_805A7378@sda21(r13) -/* 800EA1A0 000E7100 7F E3 FB 78 */ mr r3, r31 -/* 800EA1A4 000E7104 48 25 4A 85 */ bl ReadFloat__12CInputStreamFv -/* 800EA1A8 000E7108 D0 2D 87 BC */ stfs f1, lbl_805A737C@sda21(r13) -/* 800EA1AC 000E710C 7F E3 FB 78 */ mr r3, r31 -/* 800EA1B0 000E7110 48 25 4A 79 */ bl ReadFloat__12CInputStreamFv -/* 800EA1B4 000E7114 D0 2D 87 C0 */ stfs f1, lbl_805A7380@sda21(r13) -/* 800EA1B8 000E7118 7F E3 FB 78 */ mr r3, r31 -/* 800EA1BC 000E711C 48 25 4A 6D */ bl ReadFloat__12CInputStreamFv -/* 800EA1C0 000E7120 D0 2D 87 C4 */ stfs f1, lbl_805A7384@sda21(r13) -/* 800EA1C4 000E7124 7F E3 FB 78 */ mr r3, r31 -/* 800EA1C8 000E7128 48 25 4A 61 */ bl ReadFloat__12CInputStreamFv -/* 800EA1CC 000E712C D0 2D 87 C8 */ stfs f1, lbl_805A7388@sda21(r13) -/* 800EA1D0 000E7130 7F E3 FB 78 */ mr r3, r31 -/* 800EA1D4 000E7134 48 25 4A 55 */ bl ReadFloat__12CInputStreamFv -/* 800EA1D8 000E7138 D0 2D 87 CC */ stfs f1, lbl_805A738C@sda21(r13) -/* 800EA1DC 000E713C 7F E3 FB 78 */ mr r3, r31 -/* 800EA1E0 000E7140 48 25 4A 49 */ bl ReadFloat__12CInputStreamFv -/* 800EA1E4 000E7144 D0 2D 87 D0 */ stfs f1, lbl_805A7390@sda21(r13) -/* 800EA1E8 000E7148 7F E3 FB 78 */ mr r3, r31 -/* 800EA1EC 000E714C 48 25 4A 3D */ bl ReadFloat__12CInputStreamFv -/* 800EA1F0 000E7150 D0 2D 87 D4 */ stfs f1, lbl_805A7394@sda21(r13) -/* 800EA1F4 000E7154 7F E3 FB 78 */ mr r3, r31 -/* 800EA1F8 000E7158 48 25 4A 31 */ bl ReadFloat__12CInputStreamFv -/* 800EA1FC 000E715C D0 2D 87 E8 */ stfs f1, lbl_805A73A8@sda21(r13) -/* 800EA200 000E7160 7F E3 FB 78 */ mr r3, r31 -/* 800EA204 000E7164 48 25 4A 25 */ bl ReadFloat__12CInputStreamFv -/* 800EA208 000E7168 D0 2D 87 EC */ stfs f1, lbl_805A73AC@sda21(r13) -/* 800EA20C 000E716C 7F E3 FB 78 */ mr r3, r31 -/* 800EA210 000E7170 48 25 4A 19 */ bl ReadFloat__12CInputStreamFv -/* 800EA214 000E7174 D0 2D 87 F0 */ stfs f1, lbl_805A73B0@sda21(r13) -/* 800EA218 000E7178 7F E3 FB 78 */ mr r3, r31 -/* 800EA21C 000E717C 48 25 4A 0D */ bl ReadFloat__12CInputStreamFv -/* 800EA220 000E7180 D0 2D 87 F4 */ stfs f1, lbl_805A73B4@sda21(r13) -/* 800EA224 000E7184 7F E3 FB 78 */ mr r3, r31 -/* 800EA228 000E7188 48 25 4A 01 */ bl ReadFloat__12CInputStreamFv -/* 800EA22C 000E718C D0 2D 87 F8 */ stfs f1, lbl_805A73B8@sda21(r13) -/* 800EA230 000E7190 7F E3 FB 78 */ mr r3, r31 -/* 800EA234 000E7194 48 25 49 F5 */ bl ReadFloat__12CInputStreamFv -/* 800EA238 000E7198 D0 2D 87 FC */ stfs f1, lbl_805A73BC@sda21(r13) -/* 800EA23C 000E719C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EA240 000E71A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800EA244 000E71A4 7C 08 03 A6 */ mtlr r0 -/* 800EA248 000E71A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EA24C 000E71AC 4E 80 00 20 */ blr - -.global __ct__16CPlayerCameraBobFQ216CPlayerCameraBob14ECameraBobTypeRC9CVector2ff -__ct__16CPlayerCameraBobFQ216CPlayerCameraBob14ECameraBobTypeRC9CVector2ff: -/* 800EA250 000E71B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EA254 000E71B4 7C 08 02 A6 */ mflr r0 -/* 800EA258 000E71B8 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800EA25C 000E71BC 38 C0 00 08 */ li r6, 8 -/* 800EA260 000E71C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EA264 000E71C4 38 00 00 00 */ li r0, 0 -/* 800EA268 000E71C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800EA26C 000E71CC 7C 7F 1B 78 */ mr r31, r3 -/* 800EA270 000E71D0 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800EA274 000E71D4 90 9F 00 00 */ stw r4, 0(r31) -/* 800EA278 000E71D8 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800EA27C 000E71DC 38 7F 00 2C */ addi r3, r31, 0x2c -/* 800EA280 000E71E0 C0 45 00 00 */ lfs f2, 0(r5) -/* 800EA284 000E71E4 D0 5F 00 04 */ stfs f2, 4(r31) -/* 800EA288 000E71E8 C0 45 00 04 */ lfs f2, 4(r5) -/* 800EA28C 000E71EC D0 5F 00 08 */ stfs f2, 8(r31) -/* 800EA290 000E71F0 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 800EA294 000E71F4 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 800EA298 000E71F8 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 800EA29C 000E71FC D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 800EA2A0 000E7200 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 800EA2A4 000E7204 90 DF 00 20 */ stw r6, 0x20(r31) -/* 800EA2A8 000E7208 90 DF 00 24 */ stw r6, 0x24(r31) -/* 800EA2AC 000E720C 98 1F 00 28 */ stb r0, 0x28(r31) -/* 800EA2B0 000E7210 98 1F 00 29 */ stb r0, 0x29(r31) -/* 800EA2B4 000E7214 48 22 88 C1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800EA2B8 000E7218 C0 02 90 78 */ lfs f0, lbl_805AAD98@sda21(r2) -/* 800EA2BC 000E721C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800EA2C0 000E7220 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800EA2C4 000E7224 38 00 00 00 */ li r0, 0 -/* 800EA2C8 000E7228 D0 1F 00 5C */ stfs f0, 0x5c(r31) -/* 800EA2CC 000E722C 38 7F 00 D0 */ addi r3, r31, 0xd0 -/* 800EA2D0 000E7230 D0 1F 00 60 */ stfs f0, 0x60(r31) -/* 800EA2D4 000E7234 D0 1F 00 64 */ stfs f0, 0x64(r31) -/* 800EA2D8 000E7238 D0 1F 00 68 */ stfs f0, 0x68(r31) -/* 800EA2DC 000E723C D0 1F 00 6C */ stfs f0, 0x6c(r31) -/* 800EA2E0 000E7240 D0 1F 00 70 */ stfs f0, 0x70(r31) -/* 800EA2E4 000E7244 D0 1F 00 74 */ stfs f0, 0x74(r31) -/* 800EA2E8 000E7248 D0 1F 00 78 */ stfs f0, 0x78(r31) -/* 800EA2EC 000E724C 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 800EA2F0 000E7250 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 800EA2F4 000E7254 D0 1F 00 C4 */ stfs f0, 0xc4(r31) -/* 800EA2F8 000E7258 C0 0D 87 EC */ lfs f0, lbl_805A73AC@sda21(r13) -/* 800EA2FC 000E725C D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 800EA300 000E7260 90 1F 00 CC */ stw r0, 0xcc(r31) -/* 800EA304 000E7264 48 22 88 71 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800EA308 000E7268 C0 02 90 B8 */ lfs f0, lbl_805AADD8@sda21(r2) -/* 800EA30C 000E726C 38 9F 00 7C */ addi r4, r31, 0x7c -/* 800EA310 000E7270 C0 22 90 78 */ lfs f1, lbl_805AAD98@sda21(r2) -/* 800EA314 000E7274 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 800EA318 000E7278 C0 02 90 7C */ lfs f0, lbl_805AAD9C@sda21(r2) -/* 800EA31C 000E727C D0 3F 01 04 */ stfs f1, 0x104(r31) -/* 800EA320 000E7280 80 1F 00 7C */ lwz r0, 0x7c(r31) -/* 800EA324 000E7284 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800EA328 000E7288 7C 64 02 14 */ add r3, r4, r0 -/* 800EA32C 000E728C 34 63 00 04 */ addic. r3, r3, 4 -/* 800EA330 000E7290 41 82 00 10 */ beq lbl_800EA340 -/* 800EA334 000E7294 D0 23 00 00 */ stfs f1, 0(r3) -/* 800EA338 000E7298 D0 03 00 04 */ stfs f0, 4(r3) -/* 800EA33C 000E729C D0 23 00 08 */ stfs f1, 8(r3) -lbl_800EA340: -/* 800EA340 000E72A0 80 7F 00 7C */ lwz r3, 0x7c(r31) -/* 800EA344 000E72A4 38 03 00 01 */ addi r0, r3, 1 -/* 800EA348 000E72A8 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 800EA34C 000E72AC 80 04 00 00 */ lwz r0, 0(r4) -/* 800EA350 000E72B0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800EA354 000E72B4 7C 64 02 14 */ add r3, r4, r0 -/* 800EA358 000E72B8 34 63 00 04 */ addic. r3, r3, 4 -/* 800EA35C 000E72BC 41 82 00 10 */ beq lbl_800EA36C -/* 800EA360 000E72C0 D0 23 00 00 */ stfs f1, 0(r3) -/* 800EA364 000E72C4 D0 03 00 04 */ stfs f0, 4(r3) -/* 800EA368 000E72C8 D0 23 00 08 */ stfs f1, 8(r3) -lbl_800EA36C: -/* 800EA36C 000E72CC 80 7F 00 7C */ lwz r3, 0x7c(r31) -/* 800EA370 000E72D0 38 03 00 01 */ addi r0, r3, 1 -/* 800EA374 000E72D4 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 800EA378 000E72D8 80 04 00 00 */ lwz r0, 0(r4) -/* 800EA37C 000E72DC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800EA380 000E72E0 7C 64 02 14 */ add r3, r4, r0 -/* 800EA384 000E72E4 34 63 00 04 */ addic. r3, r3, 4 -/* 800EA388 000E72E8 41 82 00 10 */ beq lbl_800EA398 -/* 800EA38C 000E72EC D0 23 00 00 */ stfs f1, 0(r3) -/* 800EA390 000E72F0 D0 03 00 04 */ stfs f0, 4(r3) -/* 800EA394 000E72F4 D0 23 00 08 */ stfs f1, 8(r3) -lbl_800EA398: -/* 800EA398 000E72F8 80 7F 00 7C */ lwz r3, 0x7c(r31) -/* 800EA39C 000E72FC 38 03 00 01 */ addi r0, r3, 1 -/* 800EA3A0 000E7300 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 800EA3A4 000E7304 80 04 00 00 */ lwz r0, 0(r4) -/* 800EA3A8 000E7308 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800EA3AC 000E730C 7C 64 02 14 */ add r3, r4, r0 -/* 800EA3B0 000E7310 34 63 00 04 */ addic. r3, r3, 4 -/* 800EA3B4 000E7314 41 82 00 10 */ beq lbl_800EA3C4 -/* 800EA3B8 000E7318 D0 23 00 00 */ stfs f1, 0(r3) -/* 800EA3BC 000E731C D0 03 00 04 */ stfs f0, 4(r3) -/* 800EA3C0 000E7320 D0 23 00 08 */ stfs f1, 8(r3) -lbl_800EA3C4: -/* 800EA3C4 000E7324 80 7F 00 7C */ lwz r3, 0x7c(r31) -/* 800EA3C8 000E7328 38 BF 00 B0 */ addi r5, r31, 0xb0 -/* 800EA3CC 000E732C 38 03 00 01 */ addi r0, r3, 1 -/* 800EA3D0 000E7330 90 1F 00 7C */ stw r0, 0x7c(r31) -/* 800EA3D4 000E7334 80 1F 00 B0 */ lwz r0, 0xb0(r31) -/* 800EA3D8 000E7338 54 00 10 3A */ slwi r0, r0, 2 -/* 800EA3DC 000E733C 7C 65 02 14 */ add r3, r5, r0 -/* 800EA3E0 000E7340 34 63 00 04 */ addic. r3, r3, 4 -/* 800EA3E4 000E7344 41 82 00 0C */ beq lbl_800EA3F0 -/* 800EA3E8 000E7348 C0 0D 88 04 */ lfs f0, lbl_805A73C4@sda21(r13) -/* 800EA3EC 000E734C D0 03 00 00 */ stfs f0, 0(r3) -lbl_800EA3F0: -/* 800EA3F0 000E7350 80 9F 00 B0 */ lwz r4, 0xb0(r31) -/* 800EA3F4 000E7354 38 04 00 01 */ addi r0, r4, 1 -/* 800EA3F8 000E7358 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 800EA3FC 000E735C 80 05 00 00 */ lwz r0, 0(r5) -/* 800EA400 000E7360 54 00 10 3A */ slwi r0, r0, 2 -/* 800EA404 000E7364 7C 65 02 14 */ add r3, r5, r0 -/* 800EA408 000E7368 34 63 00 04 */ addic. r3, r3, 4 -/* 800EA40C 000E736C 41 82 00 0C */ beq lbl_800EA418 -/* 800EA410 000E7370 C0 0D 88 04 */ lfs f0, lbl_805A73C4@sda21(r13) -/* 800EA414 000E7374 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800EA418: -/* 800EA418 000E7378 80 9F 00 B0 */ lwz r4, 0xb0(r31) -/* 800EA41C 000E737C 38 04 00 01 */ addi r0, r4, 1 -/* 800EA420 000E7380 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 800EA424 000E7384 80 05 00 00 */ lwz r0, 0(r5) -/* 800EA428 000E7388 54 00 10 3A */ slwi r0, r0, 2 -/* 800EA42C 000E738C 7C 65 02 14 */ add r3, r5, r0 -/* 800EA430 000E7390 34 63 00 04 */ addic. r3, r3, 4 -/* 800EA434 000E7394 41 82 00 0C */ beq lbl_800EA440 -/* 800EA438 000E7398 C0 0D 88 04 */ lfs f0, lbl_805A73C4@sda21(r13) -/* 800EA43C 000E739C D0 03 00 00 */ stfs f0, 0(r3) -lbl_800EA440: -/* 800EA440 000E73A0 80 9F 00 B0 */ lwz r4, 0xb0(r31) -/* 800EA444 000E73A4 38 04 00 01 */ addi r0, r4, 1 -/* 800EA448 000E73A8 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 800EA44C 000E73AC 80 05 00 00 */ lwz r0, 0(r5) -/* 800EA450 000E73B0 54 00 10 3A */ slwi r0, r0, 2 -/* 800EA454 000E73B4 7C 65 02 14 */ add r3, r5, r0 -/* 800EA458 000E73B8 34 63 00 04 */ addic. r3, r3, 4 -/* 800EA45C 000E73BC 41 82 00 0C */ beq lbl_800EA468 -/* 800EA460 000E73C0 C0 0D 88 04 */ lfs f0, lbl_805A73C4@sda21(r13) -/* 800EA464 000E73C4 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800EA468: -/* 800EA468 000E73C8 80 9F 00 B0 */ lwz r4, 0xb0(r31) -/* 800EA46C 000E73CC 7F E3 FB 78 */ mr r3, r31 -/* 800EA470 000E73D0 38 04 00 01 */ addi r0, r4, 1 -/* 800EA474 000E73D4 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 800EA478 000E73D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800EA47C 000E73DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EA480 000E73E0 7C 08 03 A6 */ mtlr r0 -/* 800EA484 000E73E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EA488 000E73E8 4E 80 00 20 */ blr - -.global __sinit_CPlayerCameraBob_cpp -__sinit_CPlayerCameraBob_cpp: -/* 800EA48C 000E73EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EA490 000E73F0 7C 08 02 A6 */ mflr r0 -/* 800EA494 000E73F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EA498 000E73F8 C0 2D 87 D4 */ lfs f1, lbl_805A7394@sda21(r13) -/* 800EA49C 000E73FC 48 22 B0 65 */ bl SqrtF__5CMathFf -/* 800EA4A0 000E7400 C0 02 90 84 */ lfs f0, lbl_805AADA4@sda21(r2) -/* 800EA4A4 000E7404 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EA4A8 000E7408 C0 2D 87 E0 */ lfs f1, lbl_805A73A0@sda21(r13) -/* 800EA4AC 000E740C D0 0D A3 10 */ stfs f0, lbl_805A8ED0@sda21(r13) -/* 800EA4B0 000E7410 48 22 B0 51 */ bl SqrtF__5CMathFf -/* 800EA4B4 000E7414 C0 02 90 BC */ lfs f0, lbl_805AADDC@sda21(r2) -/* 800EA4B8 000E7418 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EA4BC 000E741C C0 2D 87 E4 */ lfs f1, lbl_805A73A4@sda21(r13) -/* 800EA4C0 000E7420 D0 0D A3 14 */ stfs f0, lbl_805A8ED4@sda21(r13) -/* 800EA4C4 000E7424 48 22 B0 3D */ bl SqrtF__5CMathFf -/* 800EA4C8 000E7428 C0 02 90 C0 */ lfs f0, lbl_805AADE0@sda21(r2) -/* 800EA4CC 000E742C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EA4D0 000E7430 D0 0D A3 18 */ stfs f0, lbl_805A8ED8@sda21(r13) -/* 800EA4D4 000E7434 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EA4D8 000E7438 7C 08 03 A6 */ mtlr r0 -/* 800EA4DC 000E743C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EA4E0 000E7440 4E 80 00 20 */ blr - -.global Accept__27CScriptCameraFilterKeyframeFR8IVisitor -Accept__27CScriptCameraFilterKeyframeFR8IVisitor: -/* 800EA4E4 000E7444 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EA4E8 000E7448 7C 08 02 A6 */ mflr r0 -/* 800EA4EC 000E744C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EA4F0 000E7450 7C 60 1B 78 */ mr r0, r3 -/* 800EA4F4 000E7454 7C 83 23 78 */ mr r3, r4 -/* 800EA4F8 000E7458 81 84 00 00 */ lwz r12, 0(r4) -/* 800EA4FC 000E745C 7C 04 03 78 */ mr r4, r0 -/* 800EA500 000E7460 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800EA504 000E7464 7D 89 03 A6 */ mtctr r12 -/* 800EA508 000E7468 4E 80 04 21 */ bctrl -/* 800EA50C 000E746C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EA510 000E7470 7C 08 03 A6 */ mtlr r0 -/* 800EA514 000E7474 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EA518 000E7478 4E 80 00 20 */ blr - -.global AcceptScriptMsg__27CScriptCameraFilterKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__27CScriptCameraFilterKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800EA51C 000E747C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800EA520 000E7480 7C 08 02 A6 */ mflr r0 -/* 800EA524 000E7484 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EA528 000E7488 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800EA52C 000E748C 7C DF 33 78 */ mr r31, r6 -/* 800EA530 000E7490 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800EA534 000E7494 7C BE 2B 78 */ mr r30, r5 -/* 800EA538 000E7498 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800EA53C 000E749C 7C 9D 23 78 */ mr r29, r4 -/* 800EA540 000E74A0 2C 1D 00 06 */ cmpwi r29, 6 -/* 800EA544 000E74A4 93 81 00 10 */ stw r28, 0x10(r1) -/* 800EA548 000E74A8 7C 7C 1B 78 */ mr r28, r3 -/* 800EA54C 000E74AC 41 82 00 A4 */ beq lbl_800EA5F0 -/* 800EA550 000E74B0 40 80 00 14 */ bge lbl_800EA564 -/* 800EA554 000E74B4 2C 1D 00 04 */ cmpwi r29, 4 -/* 800EA558 000E74B8 41 82 00 74 */ beq lbl_800EA5CC -/* 800EA55C 000E74BC 40 80 00 48 */ bge lbl_800EA5A4 -/* 800EA560 000E74C0 48 00 00 90 */ b lbl_800EA5F0 -lbl_800EA564: -/* 800EA564 000E74C4 2C 1D 00 08 */ cmpwi r29, 8 -/* 800EA568 000E74C8 40 80 00 88 */ bge lbl_800EA5F0 -/* 800EA56C 000E74CC 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800EA570 000E74D0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800EA574 000E74D4 41 82 00 7C */ beq lbl_800EA5F0 -/* 800EA578 000E74D8 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 800EA57C 000E74DC 38 DC 00 44 */ addi r6, r28, 0x44 -/* 800EA580 000E74E0 80 9C 00 34 */ lwz r4, 0x34(r28) -/* 800EA584 000E74E4 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 800EA588 000E74E8 80 BC 00 38 */ lwz r5, 0x38(r28) -/* 800EA58C 000E74EC C0 3C 00 48 */ lfs f1, 0x48(r28) -/* 800EA590 000E74F0 80 FC 00 50 */ lwz r7, 0x50(r28) -/* 800EA594 000E74F4 7C 7F 02 14 */ add r3, r31, r0 -/* 800EA598 000E74F8 38 63 0B 88 */ addi r3, r3, 0xb88 -/* 800EA59C 000E74FC 48 00 2E 05 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -/* 800EA5A0 000E7500 48 00 00 50 */ b lbl_800EA5F0 -lbl_800EA5A4: -/* 800EA5A4 000E7504 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800EA5A8 000E7508 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800EA5AC 000E750C 41 82 00 44 */ beq lbl_800EA5F0 -/* 800EA5B0 000E7510 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 800EA5B4 000E7514 C0 3C 00 4C */ lfs f1, 0x4c(r28) -/* 800EA5B8 000E7518 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 800EA5BC 000E751C 7C 7F 02 14 */ add r3, r31, r0 -/* 800EA5C0 000E7520 38 63 0B 88 */ addi r3, r3, 0xb88 -/* 800EA5C4 000E7524 48 00 2D A5 */ bl DisableFilter__17CCameraFilterPassFf -/* 800EA5C8 000E7528 48 00 00 28 */ b lbl_800EA5F0 -lbl_800EA5CC: -/* 800EA5CC 000E752C 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800EA5D0 000E7530 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800EA5D4 000E7534 41 82 00 1C */ beq lbl_800EA5F0 -/* 800EA5D8 000E7538 80 1C 00 3C */ lwz r0, 0x3c(r28) -/* 800EA5DC 000E753C C0 22 90 C8 */ lfs f1, lbl_805AADE8@sda21(r2) -/* 800EA5E0 000E7540 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 800EA5E4 000E7544 7C 7F 02 14 */ add r3, r31, r0 -/* 800EA5E8 000E7548 38 63 0B 88 */ addi r3, r3, 0xb88 -/* 800EA5EC 000E754C 48 00 2D 7D */ bl DisableFilter__17CCameraFilterPassFf -lbl_800EA5F0: -/* 800EA5F0 000E7550 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800EA5F4 000E7554 7F 83 E3 78 */ mr r3, r28 -/* 800EA5F8 000E7558 7F A4 EB 78 */ mr r4, r29 -/* 800EA5FC 000E755C 7F E6 FB 78 */ mr r6, r31 -/* 800EA600 000E7560 B0 01 00 08 */ sth r0, 8(r1) -/* 800EA604 000E7564 38 A1 00 08 */ addi r5, r1, 8 -/* 800EA608 000E7568 4B F6 6B 55 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800EA60C 000E756C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EA610 000E7570 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800EA614 000E7574 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800EA618 000E7578 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800EA61C 000E757C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800EA620 000E7580 7C 08 03 A6 */ mtlr r0 -/* 800EA624 000E7584 38 21 00 20 */ addi r1, r1, 0x20 -/* 800EA628 000E7588 4E 80 00 20 */ blr - -.global __dt__27CScriptCameraFilterKeyframeFv -__dt__27CScriptCameraFilterKeyframeFv: -/* 800EA62C 000E758C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EA630 000E7590 7C 08 02 A6 */ mflr r0 -/* 800EA634 000E7594 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EA638 000E7598 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800EA63C 000E759C 7C 9F 23 78 */ mr r31, r4 -/* 800EA640 000E75A0 93 C1 00 08 */ stw r30, 8(r1) -/* 800EA644 000E75A4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800EA648 000E75A8 41 82 00 28 */ beq lbl_800EA670 -/* 800EA64C 000E75AC 3C A0 80 3E */ lis r5, lbl_803DFC80@ha -/* 800EA650 000E75B0 38 80 00 00 */ li r4, 0 -/* 800EA654 000E75B4 38 05 FC 80 */ addi r0, r5, lbl_803DFC80@l -/* 800EA658 000E75B8 90 1E 00 00 */ stw r0, 0(r30) -/* 800EA65C 000E75BC 4B F6 6C 19 */ bl __dt__7CEntityFv -/* 800EA660 000E75C0 7F E0 07 35 */ extsh. r0, r31 -/* 800EA664 000E75C4 40 81 00 0C */ ble lbl_800EA670 -/* 800EA668 000E75C8 7F C3 F3 78 */ mr r3, r30 -/* 800EA66C 000E75CC 48 22 B2 C5 */ bl Free__7CMemoryFPCv -lbl_800EA670: -/* 800EA670 000E75D0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EA674 000E75D4 7F C3 F3 78 */ mr r3, r30 -/* 800EA678 000E75D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800EA67C 000E75DC 83 C1 00 08 */ lwz r30, 8(r1) -/* 800EA680 000E75E0 7C 08 03 A6 */ mtlr r0 -/* 800EA684 000E75E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EA688 000E75E8 4E 80 00 20 */ blr - -.global "__ct__27CScriptCameraFilterKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUiUiUiUiffffffUib" -"__ct__27CScriptCameraFilterKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUiUiUiUiffffffUib": -/* 800EA68C 000E75EC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800EA690 000E75F0 7C 08 02 A6 */ mflr r0 -/* 800EA694 000E75F4 90 01 00 64 */ stw r0, 0x64(r1) -/* 800EA698 000E75F8 39 61 00 60 */ addi r11, r1, 0x60 -/* 800EA69C 000E75FC 48 29 F3 45 */ bl func_803899E0 -/* 800EA6A0 000E7600 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 800EA6A4 000E7604 A0 04 00 00 */ lhz r0, 0(r4) -/* 800EA6A8 000E7608 7C AB 2B 78 */ mr r11, r5 -/* 800EA6AC 000E760C FF 40 08 90 */ fmr f26, f1 -/* 800EA6B0 000E7610 88 81 00 6F */ lbz r4, 0x6f(r1) -/* 800EA6B4 000E7614 FF 60 10 90 */ fmr f27, f2 -/* 800EA6B8 000E7618 B0 01 00 08 */ sth r0, 8(r1) -/* 800EA6BC 000E761C 7C FB 3B 78 */ mr r27, r7 -/* 800EA6C0 000E7620 7C C5 33 78 */ mr r5, r6 -/* 800EA6C4 000E7624 7C 86 23 78 */ mr r6, r4 -/* 800EA6C8 000E7628 FF 80 18 90 */ fmr f28, f3 -/* 800EA6CC 000E762C FF A0 20 90 */ fmr f29, f4 -/* 800EA6D0 000E7630 83 E1 00 68 */ lwz r31, 0x68(r1) -/* 800EA6D4 000E7634 FF C0 28 90 */ fmr f30, f5 -/* 800EA6D8 000E7638 7C 7A 1B 78 */ mr r26, r3 -/* 800EA6DC 000E763C FF E0 30 90 */ fmr f31, f6 -/* 800EA6E0 000E7640 7D 1C 43 78 */ mr r28, r8 -/* 800EA6E4 000E7644 7D 3D 4B 78 */ mr r29, r9 -/* 800EA6E8 000E7648 7D 5E 53 78 */ mr r30, r10 -/* 800EA6EC 000E764C 7D 67 5B 78 */ mr r7, r11 -/* 800EA6F0 000E7650 38 81 00 08 */ addi r4, r1, 8 -/* 800EA6F4 000E7654 4B F6 6C 31 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800EA6F8 000E7658 3C 60 80 3E */ lis r3, lbl_803DFC80@ha -/* 800EA6FC 000E765C FC 20 D0 90 */ fmr f1, f26 -/* 800EA700 000E7660 38 03 FC 80 */ addi r0, r3, lbl_803DFC80@l -/* 800EA704 000E7664 FC 40 D8 90 */ fmr f2, f27 -/* 800EA708 000E7668 90 1A 00 00 */ stw r0, 0(r26) -/* 800EA70C 000E766C FC 60 E0 90 */ fmr f3, f28 -/* 800EA710 000E7670 FC 80 E8 90 */ fmr f4, f29 -/* 800EA714 000E7674 93 7A 00 34 */ stw r27, 0x34(r26) -/* 800EA718 000E7678 38 7A 00 44 */ addi r3, r26, 0x44 -/* 800EA71C 000E767C 93 9A 00 38 */ stw r28, 0x38(r26) -/* 800EA720 000E7680 93 BA 00 3C */ stw r29, 0x3c(r26) -/* 800EA724 000E7684 93 DA 00 40 */ stw r30, 0x40(r26) -/* 800EA728 000E7688 48 27 8C C5 */ bl __ct__6CColorFffff -/* 800EA72C 000E768C D3 DA 00 48 */ stfs f30, 0x48(r26) -/* 800EA730 000E7690 7F 43 D3 78 */ mr r3, r26 -/* 800EA734 000E7694 D3 FA 00 4C */ stfs f31, 0x4c(r26) -/* 800EA738 000E7698 93 FA 00 50 */ stw r31, 0x50(r26) -/* 800EA73C 000E769C 39 61 00 60 */ addi r11, r1, 0x60 -/* 800EA740 000E76A0 48 29 F2 ED */ bl func_80389A2C -/* 800EA744 000E76A4 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 800EA748 000E76A8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800EA74C 000E76AC 7C 08 03 A6 */ mtlr r0 -/* 800EA750 000E76B0 38 21 00 60 */ addi r1, r1, 0x60 -/* 800EA754 000E76B4 4E 80 00 20 */ blr - -.global Accept__25CScriptCameraBlurKeyframeFR8IVisitor -Accept__25CScriptCameraBlurKeyframeFR8IVisitor: -/* 800EA758 000E76B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EA75C 000E76BC 7C 08 02 A6 */ mflr r0 -/* 800EA760 000E76C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EA764 000E76C4 7C 60 1B 78 */ mr r0, r3 -/* 800EA768 000E76C8 7C 83 23 78 */ mr r3, r4 -/* 800EA76C 000E76CC 81 84 00 00 */ lwz r12, 0(r4) -/* 800EA770 000E76D0 7C 04 03 78 */ mr r4, r0 -/* 800EA774 000E76D4 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800EA778 000E76D8 7D 89 03 A6 */ mtctr r12 -/* 800EA77C 000E76DC 4E 80 04 21 */ bctrl -/* 800EA780 000E76E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EA784 000E76E4 7C 08 03 A6 */ mtlr r0 -/* 800EA788 000E76E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EA78C 000E76EC 4E 80 00 20 */ blr - -.global AcceptScriptMsg__25CScriptCameraBlurKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__25CScriptCameraBlurKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800EA790 000E76F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800EA794 000E76F4 7C 08 02 A6 */ mflr r0 -/* 800EA798 000E76F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EA79C 000E76FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800EA7A0 000E7700 7C DF 33 78 */ mr r31, r6 -/* 800EA7A4 000E7704 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800EA7A8 000E7708 7C 9E 23 78 */ mr r30, r4 -/* 800EA7AC 000E770C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800EA7B0 000E7710 7C 7D 1B 78 */ mr r29, r3 -/* 800EA7B4 000E7714 A0 05 00 00 */ lhz r0, 0(r5) -/* 800EA7B8 000E7718 38 A1 00 08 */ addi r5, r1, 8 -/* 800EA7BC 000E771C B0 01 00 08 */ sth r0, 8(r1) -/* 800EA7C0 000E7720 4B F6 69 9D */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800EA7C4 000E7724 2C 1E 00 06 */ cmpwi r30, 6 -/* 800EA7C8 000E7728 41 82 00 5C */ beq lbl_800EA824 -/* 800EA7CC 000E772C 40 80 00 10 */ bge lbl_800EA7DC -/* 800EA7D0 000E7730 2C 1E 00 05 */ cmpwi r30, 5 -/* 800EA7D4 000E7734 40 80 00 38 */ bge lbl_800EA80C -/* 800EA7D8 000E7738 48 00 00 4C */ b lbl_800EA824 -lbl_800EA7DC: -/* 800EA7DC 000E773C 2C 1E 00 08 */ cmpwi r30, 8 -/* 800EA7E0 000E7740 40 80 00 44 */ bge lbl_800EA824 -/* 800EA7E4 000E7744 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 800EA7E8 000E7748 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800EA7EC 000E774C 41 82 00 38 */ beq lbl_800EA824 -/* 800EA7F0 000E7750 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 800EA7F4 000E7754 38 7F 0D B4 */ addi r3, r31, 0xdb4 -/* 800EA7F8 000E7758 C0 3D 00 38 */ lfs f1, 0x38(r29) -/* 800EA7FC 000E775C 38 A0 00 00 */ li r5, 0 -/* 800EA800 000E7760 C0 5D 00 40 */ lfs f2, 0x40(r29) -/* 800EA804 000E7764 48 00 11 A1 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb -/* 800EA808 000E7768 48 00 00 1C */ b lbl_800EA824 -lbl_800EA80C: -/* 800EA80C 000E776C 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 800EA810 000E7770 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800EA814 000E7774 41 82 00 10 */ beq lbl_800EA824 -/* 800EA818 000E7778 C0 3D 00 44 */ lfs f1, 0x44(r29) -/* 800EA81C 000E777C 38 7F 0D B4 */ addi r3, r31, 0xdb4 -/* 800EA820 000E7780 48 00 11 55 */ bl DisableBlur__15CCameraBlurPassFf -lbl_800EA824: -/* 800EA824 000E7784 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EA828 000E7788 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800EA82C 000E778C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800EA830 000E7790 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800EA834 000E7794 7C 08 03 A6 */ mtlr r0 -/* 800EA838 000E7798 38 21 00 20 */ addi r1, r1, 0x20 -/* 800EA83C 000E779C 4E 80 00 20 */ blr - -.global __dt__25CScriptCameraBlurKeyframeFv -__dt__25CScriptCameraBlurKeyframeFv: -/* 800EA840 000E77A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EA844 000E77A4 7C 08 02 A6 */ mflr r0 -/* 800EA848 000E77A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EA84C 000E77AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800EA850 000E77B0 7C 9F 23 78 */ mr r31, r4 -/* 800EA854 000E77B4 93 C1 00 08 */ stw r30, 8(r1) -/* 800EA858 000E77B8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800EA85C 000E77BC 41 82 00 28 */ beq lbl_800EA884 -/* 800EA860 000E77C0 3C A0 80 3E */ lis r5, lbl_803DFCA0@ha -/* 800EA864 000E77C4 38 80 00 00 */ li r4, 0 -/* 800EA868 000E77C8 38 05 FC A0 */ addi r0, r5, lbl_803DFCA0@l -/* 800EA86C 000E77CC 90 1E 00 00 */ stw r0, 0(r30) -/* 800EA870 000E77D0 4B F6 6A 05 */ bl __dt__7CEntityFv -/* 800EA874 000E77D4 7F E0 07 35 */ extsh. r0, r31 -/* 800EA878 000E77D8 40 81 00 0C */ ble lbl_800EA884 -/* 800EA87C 000E77DC 7F C3 F3 78 */ mr r3, r30 -/* 800EA880 000E77E0 48 22 B0 B1 */ bl Free__7CMemoryFPCv -lbl_800EA884: -/* 800EA884 000E77E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EA888 000E77E8 7F C3 F3 78 */ mr r3, r30 -/* 800EA88C 000E77EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800EA890 000E77F0 83 C1 00 08 */ lwz r30, 8(r1) -/* 800EA894 000E77F4 7C 08 03 A6 */ mtlr r0 -/* 800EA898 000E77F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EA89C 000E77FC 4E 80 00 20 */ blr - -.global "__ct__25CScriptCameraBlurKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUifUiffb" -"__ct__25CScriptCameraBlurKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUifUiffb": -/* 800EA8A0 000E7800 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800EA8A4 000E7804 7C 08 02 A6 */ mflr r0 -/* 800EA8A8 000E7808 90 01 00 44 */ stw r0, 0x44(r1) -/* 800EA8AC 000E780C DB E1 00 38 */ stfd f31, 0x38(r1) -/* 800EA8B0 000E7810 FF E0 18 90 */ fmr f31, f3 -/* 800EA8B4 000E7814 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 800EA8B8 000E7818 FF C0 10 90 */ fmr f30, f2 -/* 800EA8BC 000E781C DB A1 00 28 */ stfd f29, 0x28(r1) -/* 800EA8C0 000E7820 FF A0 08 90 */ fmr f29, f1 -/* 800EA8C4 000E7824 93 E1 00 24 */ stw r31, 0x24(r1) -/* 800EA8C8 000E7828 7D 1F 43 78 */ mr r31, r8 -/* 800EA8CC 000E782C 93 C1 00 20 */ stw r30, 0x20(r1) -/* 800EA8D0 000E7830 7C FE 3B 78 */ mr r30, r7 -/* 800EA8D4 000E7834 93 A1 00 1C */ stw r29, 0x1c(r1) -/* 800EA8D8 000E7838 7C 7D 1B 78 */ mr r29, r3 -/* 800EA8DC 000E783C A0 04 00 00 */ lhz r0, 0(r4) -/* 800EA8E0 000E7840 7C A4 2B 78 */ mr r4, r5 -/* 800EA8E4 000E7844 7C C5 33 78 */ mr r5, r6 -/* 800EA8E8 000E7848 7D 26 4B 78 */ mr r6, r9 -/* 800EA8EC 000E784C B0 01 00 08 */ sth r0, 8(r1) -/* 800EA8F0 000E7850 7C 87 23 78 */ mr r7, r4 -/* 800EA8F4 000E7854 38 81 00 08 */ addi r4, r1, 8 -/* 800EA8F8 000E7858 4B F6 6A 2D */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800EA8FC 000E785C 3C 80 80 3E */ lis r4, lbl_803DFCA0@ha -/* 800EA900 000E7860 7F A3 EB 78 */ mr r3, r29 -/* 800EA904 000E7864 38 04 FC A0 */ addi r0, r4, lbl_803DFCA0@l -/* 800EA908 000E7868 90 1D 00 00 */ stw r0, 0(r29) -/* 800EA90C 000E786C 93 DD 00 34 */ stw r30, 0x34(r29) -/* 800EA910 000E7870 D3 BD 00 38 */ stfs f29, 0x38(r29) -/* 800EA914 000E7874 93 FD 00 3C */ stw r31, 0x3c(r29) -/* 800EA918 000E7878 D3 DD 00 40 */ stfs f30, 0x40(r29) -/* 800EA91C 000E787C D3 FD 00 44 */ stfs f31, 0x44(r29) -/* 800EA920 000E7880 CB E1 00 38 */ lfd f31, 0x38(r1) -/* 800EA924 000E7884 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 800EA928 000E7888 CB A1 00 28 */ lfd f29, 0x28(r1) -/* 800EA92C 000E788C 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 800EA930 000E7890 83 C1 00 20 */ lwz r30, 0x20(r1) -/* 800EA934 000E7894 83 A1 00 1C */ lwz r29, 0x1c(r1) -/* 800EA938 000E7898 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800EA93C 000E789C 7C 08 03 A6 */ mtlr r0 -/* 800EA940 000E78A0 38 21 00 40 */ addi r1, r1, 0x40 -/* 800EA944 000E78A4 4E 80 00 20 */ blr - -.global FreePersistentFbTexture__15CCameraBlurPassFv -FreePersistentFbTexture__15CCameraBlurPassFv: -/* 800EA948 000E78A8 38 00 00 00 */ li r0, 0 -/* 800EA94C 000E78AC 98 03 00 2D */ stb r0, 0x2d(r3) -/* 800EA950 000E78B0 4E 80 00 20 */ blr - -.global AllocatePersistentFbTexture__15CCameraBlurPassFv -AllocatePersistentFbTexture__15CCameraBlurPassFv: -/* 800EA954 000E78B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EA958 000E78B8 7C 08 02 A6 */ mflr r0 -/* 800EA95C 000E78BC 38 80 00 E0 */ li r4, 0xe0 -/* 800EA960 000E78C0 38 A0 00 04 */ li r5, 4 -/* 800EA964 000E78C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EA968 000E78C8 38 C0 00 00 */ li r6, 0 -/* 800EA96C 000E78CC 38 E0 00 00 */ li r7, 0 -/* 800EA970 000E78D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800EA974 000E78D4 7C 7F 1B 78 */ mr r31, r3 -/* 800EA978 000E78D8 38 60 01 40 */ li r3, 0x140 -/* 800EA97C 000E78DC 48 28 F2 C5 */ bl GXGetTexBufferSize -/* 800EA980 000E78E0 80 0D A8 28 */ lwz r0, lbl_805A93E8@sda21(r13) -/* 800EA984 000E78E4 90 1F 00 30 */ stw r0, 0x30(r31) -/* 800EA988 000E78E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EA98C 000E78EC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800EA990 000E78F0 7C 08 03 A6 */ mtlr r0 -/* 800EA994 000E78F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EA998 000E78F8 4E 80 00 20 */ blr - -.global GetFbCopy__15CCameraBlurPassCF9_GXTexFmtPUc -GetFbCopy__15CCameraBlurPassCF9_GXTexFmtPUc: -/* 800EA99C 000E78FC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800EA9A0 000E7900 7C 08 02 A6 */ mflr r0 -/* 800EA9A4 000E7904 3C C0 80 3F */ lis r6, lbl_803ED910@ha -/* 800EA9A8 000E7908 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EA9AC 000E790C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800EA9B0 000E7910 7C BF 2B 78 */ mr r31, r5 -/* 800EA9B4 000E7914 38 A6 D9 10 */ addi r5, r6, lbl_803ED910@l -/* 800EA9B8 000E7918 38 C0 01 C0 */ li r6, 0x1c0 -/* 800EA9BC 000E791C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800EA9C0 000E7920 7C 9E 23 78 */ mr r30, r4 -/* 800EA9C4 000E7924 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800EA9C8 000E7928 7C 7D 1B 78 */ mr r29, r3 -/* 800EA9CC 000E792C 80 65 00 00 */ lwz r3, 0(r5) -/* 800EA9D0 000E7930 80 05 00 04 */ lwz r0, 4(r5) -/* 800EA9D4 000E7934 38 A0 02 80 */ li r5, 0x280 -/* 800EA9D8 000E7938 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 800EA9DC 000E793C 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 800EA9E0 000E7940 48 28 E3 D5 */ bl GXSetTexCopySrc -/* 800EA9E4 000E7944 2C 1E 00 04 */ cmpwi r30, 4 -/* 800EA9E8 000E7948 40 82 00 20 */ bne lbl_800EAA08 -/* 800EA9EC 000E794C 38 60 01 40 */ li r3, 0x140 -/* 800EA9F0 000E7950 38 80 00 E0 */ li r4, 0xe0 -/* 800EA9F4 000E7954 38 A0 00 04 */ li r5, 4 -/* 800EA9F8 000E7958 38 C0 00 00 */ li r6, 0 -/* 800EA9FC 000E795C 38 E0 00 00 */ li r7, 0 -/* 800EAA00 000E7960 48 28 F2 41 */ bl GXGetTexBufferSize -/* 800EAA04 000E7964 48 00 00 1C */ b lbl_800EAA20 -lbl_800EAA08: -/* 800EAA08 000E7968 38 60 02 80 */ li r3, 0x280 -/* 800EAA0C 000E796C 38 80 01 C0 */ li r4, 0x1c0 -/* 800EAA10 000E7970 38 A0 00 01 */ li r5, 1 -/* 800EAA14 000E7974 38 C0 00 00 */ li r6, 0 -/* 800EAA18 000E7978 38 E0 00 00 */ li r7, 0 -/* 800EAA1C 000E797C 48 28 F2 25 */ bl GXGetTexBufferSize -lbl_800EAA20: -/* 800EAA20 000E7980 2C 1E 00 04 */ cmpwi r30, 4 -/* 800EAA24 000E7984 40 82 00 1C */ bne lbl_800EAA40 -/* 800EAA28 000E7988 7F C5 F3 78 */ mr r5, r30 -/* 800EAA2C 000E798C 38 60 01 40 */ li r3, 0x140 -/* 800EAA30 000E7990 38 80 00 E0 */ li r4, 0xe0 -/* 800EAA34 000E7994 38 C0 00 01 */ li r6, 1 -/* 800EAA38 000E7998 48 28 E4 49 */ bl GXSetTexCopyDst -/* 800EAA3C 000E799C 48 00 00 18 */ b lbl_800EAA54 -lbl_800EAA40: -/* 800EAA40 000E79A0 7F C5 F3 78 */ mr r5, r30 -/* 800EAA44 000E79A4 38 60 02 80 */ li r3, 0x280 -/* 800EAA48 000E79A8 38 80 01 C0 */ li r4, 0x1c0 -/* 800EAA4C 000E79AC 38 C0 00 00 */ li r6, 0 -/* 800EAA50 000E79B0 48 28 E4 31 */ bl GXSetTexCopyDst -lbl_800EAA54: -/* 800EAA54 000E79B4 7F E3 FB 78 */ mr r3, r31 -/* 800EAA58 000E79B8 38 80 00 00 */ li r4, 0 -/* 800EAA5C 000E79BC 48 28 EA D9 */ bl GXCopyTex -/* 800EAA60 000E79C0 48 28 DB 05 */ bl GXPixModeSync -/* 800EAA64 000E79C4 38 00 00 01 */ li r0, 1 -/* 800EAA68 000E79C8 98 1D 00 2D */ stb r0, 0x2d(r29) -/* 800EAA6C 000E79CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EAA70 000E79D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800EAA74 000E79D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800EAA78 000E79D8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800EAA7C 000E79DC 7C 08 03 A6 */ mtlr r0 -/* 800EAA80 000E79E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800EAA84 000E79E4 4E 80 00 20 */ blr - -.global Draw__15CCameraBlurPassCFv -Draw__15CCameraBlurPassCFv: -/* 800EAA88 000E79E8 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 800EAA8C 000E79EC 7C 08 02 A6 */ mflr r0 -/* 800EAA90 000E79F0 90 01 02 04 */ stw r0, 0x204(r1) -/* 800EAA94 000E79F4 DB E1 01 F0 */ stfd f31, 0x1f0(r1) -/* 800EAA98 000E79F8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 -/* 800EAA9C 000E79FC DB C1 01 E0 */ stfd f30, 0x1e0(r1) -/* 800EAAA0 000E7A00 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 -/* 800EAAA4 000E7A04 DB A1 01 D0 */ stfd f29, 0x1d0(r1) -/* 800EAAA8 000E7A08 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 -/* 800EAAAC 000E7A0C DB 81 01 C0 */ stfd f28, 0x1c0(r1) -/* 800EAAB0 000E7A10 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 -/* 800EAAB4 000E7A14 DB 61 01 B0 */ stfd f27, 0x1b0(r1) -/* 800EAAB8 000E7A18 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 -/* 800EAABC 000E7A1C DB 41 01 A0 */ stfd f26, 0x1a0(r1) -/* 800EAAC0 000E7A20 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 -/* 800EAAC4 000E7A24 DB 21 01 90 */ stfd f25, 0x190(r1) -/* 800EAAC8 000E7A28 F3 21 01 98 */ psq_st f25, 408(r1), 0, qr0 -/* 800EAACC 000E7A2C DB 01 01 80 */ stfd f24, 0x180(r1) -/* 800EAAD0 000E7A30 F3 01 01 88 */ psq_st f24, 392(r1), 0, qr0 -/* 800EAAD4 000E7A34 DA E1 01 70 */ stfd f23, 0x170(r1) -/* 800EAAD8 000E7A38 F2 E1 01 78 */ psq_st f23, 376(r1), 0, qr0 -/* 800EAADC 000E7A3C DA C1 01 60 */ stfd f22, 0x160(r1) -/* 800EAAE0 000E7A40 F2 C1 01 68 */ psq_st f22, 360(r1), 0, qr0 -/* 800EAAE4 000E7A44 DA A1 01 50 */ stfd f21, 0x150(r1) -/* 800EAAE8 000E7A48 F2 A1 01 58 */ psq_st f21, 344(r1), 0, qr0 -/* 800EAAEC 000E7A4C DA 81 01 40 */ stfd f20, 0x140(r1) -/* 800EAAF0 000E7A50 F2 81 01 48 */ psq_st f20, 328(r1), 0, qr0 -/* 800EAAF4 000E7A54 DA 61 01 30 */ stfd f19, 0x130(r1) -/* 800EAAF8 000E7A58 F2 61 01 38 */ psq_st f19, 312(r1), 0, qr0 -/* 800EAAFC 000E7A5C DA 41 01 20 */ stfd f18, 0x120(r1) -/* 800EAB00 000E7A60 F2 41 01 28 */ psq_st f18, 296(r1), 0, qr0 -/* 800EAB04 000E7A64 DA 21 01 10 */ stfd f17, 0x110(r1) -/* 800EAB08 000E7A68 F2 21 01 18 */ psq_st f17, 280(r1), 0, qr0 -/* 800EAB0C 000E7A6C DA 01 01 00 */ stfd f16, 0x100(r1) -/* 800EAB10 000E7A70 F2 01 01 08 */ psq_st f16, 264(r1), 0, qr0 -/* 800EAB14 000E7A74 D9 E1 00 F0 */ stfd f15, 0xf0(r1) -/* 800EAB18 000E7A78 F1 E1 00 F8 */ psq_st f15, 248(r1), 0, qr0 -/* 800EAB1C 000E7A7C D9 C1 00 E0 */ stfd f14, 0xe0(r1) -/* 800EAB20 000E7A80 F1 C1 00 E8 */ psq_st f14, 232(r1), 0, qr0 -/* 800EAB24 000E7A84 BF 01 00 C0 */ stmw r24, 0xc0(r1) -/* 800EAB28 000E7A88 7C 78 1B 78 */ mr r24, r3 -/* 800EAB2C 000E7A8C 3C 60 80 3D */ lis r3, lbl_803CE650@ha -/* 800EAB30 000E7A90 80 98 00 10 */ lwz r4, 0x10(r24) -/* 800EAB34 000E7A94 3B E3 E6 50 */ addi r31, r3, lbl_803CE650@l -/* 800EAB38 000E7A98 2C 04 00 00 */ cmpwi r4, 0 -/* 800EAB3C 000E7A9C 41 82 0D 94 */ beq lbl_800EB8D0 -/* 800EAB40 000E7AA0 88 B8 00 2C */ lbz r5, 0x2c(r24) -/* 800EAB44 000E7AA4 54 80 10 3A */ slwi r0, r4, 2 -/* 800EAB48 000E7AA8 38 7F 00 68 */ addi r3, r31, 0x68 -/* 800EAB4C 000E7AAC 28 05 00 00 */ cmplwi r5, 0 -/* 800EAB50 000E7AB0 7F 83 00 2E */ lwzx r28, r3, r0 -/* 800EAB54 000E7AB4 41 82 00 0C */ beq lbl_800EAB60 -/* 800EAB58 000E7AB8 83 D8 00 30 */ lwz r30, 0x30(r24) -/* 800EAB5C 000E7ABC 48 00 00 08 */ b lbl_800EAB64 -lbl_800EAB60: -/* 800EAB60 000E7AC0 83 CD A8 28 */ lwz r30, lbl_805A93E8@sda21(r13) -lbl_800EAB64: -/* 800EAB64 000E7AC4 2C 04 00 03 */ cmpwi r4, 3 -/* 800EAB68 000E7AC8 3B 60 02 80 */ li r27, 0x280 -/* 800EAB6C 000E7ACC 3B 40 01 C0 */ li r26, 0x1c0 -/* 800EAB70 000E7AD0 41 82 00 14 */ beq lbl_800EAB84 -/* 800EAB74 000E7AD4 38 00 02 80 */ li r0, 0x280 -/* 800EAB78 000E7AD8 57 5A FC 7E */ rlwinm r26, r26, 0x1f, 0x11, 0x1f -/* 800EAB7C 000E7ADC 7C 00 0E 70 */ srawi r0, r0, 1 -/* 800EAB80 000E7AE0 54 1B 04 3E */ clrlwi r27, r0, 0x10 -lbl_800EAB84: -/* 800EAB84 000E7AE4 88 18 00 2D */ lbz r0, 0x2d(r24) -/* 800EAB88 000E7AE8 28 00 00 00 */ cmplwi r0, 0 -/* 800EAB8C 000E7AEC 41 82 00 0C */ beq lbl_800EAB98 -/* 800EAB90 000E7AF0 28 05 00 00 */ cmplwi r5, 0 -/* 800EAB94 000E7AF4 40 82 00 14 */ bne lbl_800EABA8 -lbl_800EAB98: -/* 800EAB98 000E7AF8 7F 03 C3 78 */ mr r3, r24 -/* 800EAB9C 000E7AFC 7F 84 E3 78 */ mr r4, r28 -/* 800EABA0 000E7B00 7F C5 F3 78 */ mr r5, r30 -/* 800EABA4 000E7B04 4B FF FD F9 */ bl GetFbCopy__15CCameraBlurPassCF9_GXTexFmtPUc -lbl_800EABA8: -/* 800EABA8 000E7B08 80 18 00 10 */ lwz r0, 0x10(r24) -/* 800EABAC 000E7B0C 2C 00 00 03 */ cmpwi r0, 3 -/* 800EABB0 000E7B10 40 82 00 78 */ bne lbl_800EAC28 -/* 800EABB4 000E7B14 80 18 00 08 */ lwz r0, 8(r24) -/* 800EABB8 000E7B18 28 00 00 00 */ cmplwi r0, 0 -/* 800EABBC 000E7B1C 40 82 00 30 */ bne lbl_800EABEC -/* 800EABC0 000E7B20 88 18 00 04 */ lbz r0, 4(r24) -/* 800EABC4 000E7B24 28 00 00 00 */ cmplwi r0, 0 -/* 800EABC8 000E7B28 41 82 00 24 */ beq lbl_800EABEC -/* 800EABCC 000E7B2C 80 78 00 00 */ lwz r3, 0(r24) -/* 800EABD0 000E7B30 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800EABD4 000E7B34 28 00 00 00 */ cmplwi r0, 0 -/* 800EABD8 000E7B38 41 82 00 14 */ beq lbl_800EABEC -/* 800EABDC 000E7B3C 7F 03 C3 78 */ mr r3, r24 -/* 800EABE0 000E7B40 48 25 62 2D */ bl GetObj__6CTokenFv -/* 800EABE4 000E7B44 80 03 00 04 */ lwz r0, 4(r3) -/* 800EABE8 000E7B48 90 18 00 08 */ stw r0, 8(r24) -lbl_800EABEC: -/* 800EABEC 000E7B4C 80 78 00 08 */ lwz r3, 8(r24) -/* 800EABF0 000E7B50 28 03 00 00 */ cmplwi r3, 0 -/* 800EABF4 000E7B54 41 82 0C DC */ beq lbl_800EB8D0 -/* 800EABF8 000E7B58 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800EABFC 000E7B5C 48 22 32 C9 */ bl Load__16CGraphicsPaletteCFv -/* 800EAC00 000E7B60 48 00 00 08 */ b lbl_800EAC08 -/* 800EAC04 000E7B64 48 00 0C CC */ b lbl_800EB8D0 -lbl_800EAC08: -/* 800EAC08 000E7B68 81 02 C7 A8 */ lwz r8, lbl_805AE4C8@sda21(r2) -/* 800EAC0C 000E7B6C 7F C7 F3 78 */ mr r7, r30 -/* 800EAC10 000E7B70 57 63 04 3E */ clrlwi r3, r27, 0x10 -/* 800EAC14 000E7B74 57 44 04 3E */ clrlwi r4, r26, 0x10 -/* 800EAC18 000E7B78 38 A0 00 09 */ li r5, 9 -/* 800EAC1C 000E7B7C 38 C0 00 00 */ li r6, 0 -/* 800EAC20 000E7B80 48 21 F3 49 */ bl LoadDolphinSpareTexture__9CGraphicsFii11_GXCITexFmt7_GXTlutPv11_GXTexMapID -/* 800EAC24 000E7B84 48 00 00 1C */ b lbl_800EAC40 -lbl_800EAC28: -/* 800EAC28 000E7B88 80 E2 C7 A8 */ lwz r7, lbl_805AE4C8@sda21(r2) -/* 800EAC2C 000E7B8C 7F 85 E3 78 */ mr r5, r28 -/* 800EAC30 000E7B90 7F C6 F3 78 */ mr r6, r30 -/* 800EAC34 000E7B94 57 63 04 3E */ clrlwi r3, r27, 0x10 -/* 800EAC38 000E7B98 57 44 04 3E */ clrlwi r4, r26, 0x10 -/* 800EAC3C 000E7B9C 48 21 F3 E5 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -lbl_800EAC40: -/* 800EAC40 000E7BA0 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 800EAC44 000E7BA4 3C A0 43 30 */ lis r5, 0x4330 -/* 800EAC48 000E7BA8 38 E3 D9 10 */ addi r7, r3, lbl_803ED910@l -/* 800EAC4C 000E7BAC 90 A1 00 88 */ stw r5, 0x88(r1) -/* 800EAC50 000E7BB0 80 07 00 08 */ lwz r0, 8(r7) -/* 800EAC54 000E7BB4 80 87 00 0C */ lwz r4, 0xc(r7) -/* 800EAC58 000E7BB8 6C 06 80 00 */ xoris r6, r0, 0x8000 -/* 800EAC5C 000E7BBC 80 67 00 00 */ lwz r3, 0(r7) -/* 800EAC60 000E7BC0 90 C1 00 8C */ stw r6, 0x8c(r1) -/* 800EAC64 000E7BC4 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 800EAC68 000E7BC8 80 07 00 04 */ lwz r0, 4(r7) -/* 800EAC6C 000E7BCC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 800EAC70 000E7BD0 C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) -/* 800EAC74 000E7BD4 C8 01 00 88 */ lfd f0, 0x88(r1) -/* 800EAC78 000E7BD8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800EAC7C 000E7BDC 90 81 00 94 */ stw r4, 0x94(r1) -/* 800EAC80 000E7BE0 EF 00 10 28 */ fsubs f24, f0, f2 -/* 800EAC84 000E7BE4 C0 A2 90 D8 */ lfs f5, lbl_805AADF8@sda21(r2) -/* 800EAC88 000E7BE8 90 A1 00 90 */ stw r5, 0x90(r1) -/* 800EAC8C 000E7BEC C0 C2 90 DC */ lfs f6, lbl_805AADFC@sda21(r2) -/* 800EAC90 000E7BF0 C8 01 00 90 */ lfd f0, 0x90(r1) -/* 800EAC94 000E7BF4 90 61 00 9C */ stw r3, 0x9c(r1) -/* 800EAC98 000E7BF8 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800EAC9C 000E7BFC 90 A1 00 98 */ stw r5, 0x98(r1) -/* 800EACA0 000E7C00 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 800EACA4 000E7C04 C8 01 00 98 */ lfd f0, 0x98(r1) -/* 800EACA8 000E7C08 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 800EACAC 000E7C0C EE E0 10 28 */ fsubs f23, f0, f2 -/* 800EACB0 000E7C10 90 A1 00 A0 */ stw r5, 0xa0(r1) -/* 800EACB4 000E7C14 C8 01 00 A0 */ lfd f0, 0xa0(r1) -/* 800EACB8 000E7C18 EF 37 C0 2A */ fadds f25, f23, f24 -/* 800EACBC 000E7C1C FC 20 B8 90 */ fmr f1, f23 -/* 800EACC0 000E7C20 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800EACC4 000E7C24 FC 40 C8 90 */ fmr f2, f25 -/* 800EACC8 000E7C28 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 800EACCC 000E7C2C FC 60 00 18 */ frsp f3, f0 -/* 800EACD0 000E7C30 C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 800EACD4 000E7C34 C0 81 00 AC */ lfs f4, 0xac(r1) -/* 800EACD8 000E7C38 EF 43 00 2A */ fadds f26, f3, f0 -/* 800EACDC 000E7C3C FC 60 D0 90 */ fmr f3, f26 -/* 800EACE0 000E7C40 48 22 18 75 */ bl SetOrtho__9CGraphicsFffffff -/* 800EACE4 000E7C44 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EACE8 000E7C48 38 80 00 00 */ li r4, 0 -/* 800EACEC 000E7C4C 38 A0 00 00 */ li r5, 0 -/* 800EACF0 000E7C50 81 83 00 00 */ lwz r12, 0(r3) -/* 800EACF4 000E7C54 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800EACF8 000E7C58 7D 89 03 A6 */ mtctr r12 -/* 800EACFC 000E7C5C 4E 80 04 21 */ bctrl -/* 800EAD00 000E7C60 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800EAD04 000E7C64 38 63 66 70 */ addi r3, r3, skIdentity4f@l -/* 800EAD08 000E7C68 48 22 1A 45 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 800EAD0C 000E7C6C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EAD10 000E7C70 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800EAD14 000E7C74 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 800EAD18 000E7C78 81 83 00 00 */ lwz r12, 0(r3) -/* 800EAD1C 000E7C7C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800EAD20 000E7C80 7D 89 03 A6 */ mtctr r12 -/* 800EAD24 000E7C84 4E 80 04 21 */ bctrl -/* 800EAD28 000E7C88 80 18 00 10 */ lwz r0, 0x10(r24) -/* 800EAD2C 000E7C8C 2C 00 00 03 */ cmpwi r0, 3 -/* 800EAD30 000E7C90 40 82 06 00 */ bne lbl_800EB330 -/* 800EAD34 000E7C94 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EAD38 000E7C98 81 83 00 00 */ lwz r12, 0(r3) -/* 800EAD3C 000E7C9C 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 800EAD40 000E7CA0 7D 89 03 A6 */ mtctr r12 -/* 800EAD44 000E7CA4 4E 80 04 21 */ bctrl -/* 800EAD48 000E7CA8 81 1F 00 78 */ lwz r8, 0x78(r31) -/* 800EAD4C 000E7CAC 38 61 00 6C */ addi r3, r1, 0x6c -/* 800EAD50 000E7CB0 80 FF 00 7C */ lwz r7, 0x7c(r31) -/* 800EAD54 000E7CB4 80 DF 00 80 */ lwz r6, 0x80(r31) -/* 800EAD58 000E7CB8 80 BF 00 84 */ lwz r5, 0x84(r31) -/* 800EAD5C 000E7CBC 80 9F 00 88 */ lwz r4, 0x88(r31) -/* 800EAD60 000E7CC0 80 1F 00 8C */ lwz r0, 0x8c(r31) -/* 800EAD64 000E7CC4 91 01 00 6C */ stw r8, 0x6c(r1) -/* 800EAD68 000E7CC8 90 E1 00 70 */ stw r7, 0x70(r1) -/* 800EAD6C 000E7CCC 90 C1 00 74 */ stw r6, 0x74(r1) -/* 800EAD70 000E7CD0 90 A1 00 78 */ stw r5, 0x78(r1) -/* 800EAD74 000E7CD4 90 81 00 7C */ stw r4, 0x7c(r1) -/* 800EAD78 000E7CD8 90 01 00 80 */ stw r0, 0x80(r1) -/* 800EAD7C 000E7CDC 48 21 D0 AD */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 800EAD80 000E7CE0 38 60 00 00 */ li r3, 0 -/* 800EAD84 000E7CE4 48 21 E0 CD */ bl SetNumChans__3CGXFUc -/* 800EAD88 000E7CE8 38 60 00 04 */ li r3, 4 -/* 800EAD8C 000E7CEC 48 21 E0 89 */ bl SetNumTexGens__3CGXFUc -/* 800EAD90 000E7CF0 38 60 00 04 */ li r3, 4 -/* 800EAD94 000E7CF4 48 21 DE FD */ bl SetNumTevStages__3CGXFUc -/* 800EAD98 000E7CF8 3B 20 00 00 */ li r25, 0 -lbl_800EAD9C: -/* 800EAD9C 000E7CFC 7F 23 CB 78 */ mr r3, r25 -/* 800EADA0 000E7D00 38 80 00 0F */ li r4, 0xf -/* 800EADA4 000E7D04 38 A0 00 08 */ li r5, 8 -/* 800EADA8 000E7D08 38 C0 00 0E */ li r6, 0xe -/* 800EADAC 000E7D0C 38 E0 00 00 */ li r7, 0 -/* 800EADB0 000E7D10 48 21 DE 3D */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 800EADB4 000E7D14 7F 23 CB 78 */ mr r3, r25 -/* 800EADB8 000E7D18 38 80 00 07 */ li r4, 7 -/* 800EADBC 000E7D1C 38 A0 00 07 */ li r5, 7 -/* 800EADC0 000E7D20 38 C0 00 07 */ li r6, 7 -/* 800EADC4 000E7D24 38 E0 00 06 */ li r7, 6 -/* 800EADC8 000E7D28 48 21 DD CD */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 800EADCC 000E7D2C 7F 23 CB 78 */ mr r3, r25 -/* 800EADD0 000E7D30 38 80 00 00 */ li r4, 0 -/* 800EADD4 000E7D34 48 21 DB C9 */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 800EADD8 000E7D38 7F 23 CB 78 */ mr r3, r25 -/* 800EADDC 000E7D3C 48 21 CE 75 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 800EADE0 000E7D40 7F 23 CB 78 */ mr r3, r25 -/* 800EADE4 000E7D44 38 80 00 0C */ li r4, 0xc -/* 800EADE8 000E7D48 48 21 DB F9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 800EADEC 000E7D4C 3B 39 00 01 */ addi r25, r25, 1 -/* 800EADF0 000E7D50 2C 19 00 04 */ cmpwi r25, 4 -/* 800EADF4 000E7D54 41 80 FF A8 */ blt lbl_800EAD9C -/* 800EADF8 000E7D58 38 60 00 00 */ li r3, 0 -/* 800EADFC 000E7D5C 38 80 00 0F */ li r4, 0xf -/* 800EAE00 000E7D60 38 A0 00 08 */ li r5, 8 -/* 800EAE04 000E7D64 38 C0 00 0E */ li r6, 0xe -/* 800EAE08 000E7D68 38 E0 00 0F */ li r7, 0xf -/* 800EAE0C 000E7D6C 48 21 DD E1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 800EAE10 000E7D70 38 60 00 00 */ li r3, 0 -/* 800EAE14 000E7D74 38 80 00 0C */ li r4, 0xc -/* 800EAE18 000E7D78 48 21 DB C9 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 800EAE1C 000E7D7C 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EAE20 000E7D80 38 60 00 00 */ li r3, 0 -/* 800EAE24 000E7D84 38 80 00 00 */ li r4, 0 -/* 800EAE28 000E7D88 38 C0 00 FF */ li r6, 0xff -/* 800EAE2C 000E7D8C 48 21 DB 21 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EAE30 000E7D90 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EAE34 000E7D94 38 60 00 01 */ li r3, 1 -/* 800EAE38 000E7D98 38 80 00 01 */ li r4, 1 -/* 800EAE3C 000E7D9C 38 C0 00 FF */ li r6, 0xff -/* 800EAE40 000E7DA0 48 21 DB 0D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EAE44 000E7DA4 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EAE48 000E7DA8 38 60 00 02 */ li r3, 2 -/* 800EAE4C 000E7DAC 38 80 00 02 */ li r4, 2 -/* 800EAE50 000E7DB0 38 C0 00 FF */ li r6, 0xff -/* 800EAE54 000E7DB4 48 21 DA F9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EAE58 000E7DB8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EAE5C 000E7DBC 38 60 00 03 */ li r3, 3 -/* 800EAE60 000E7DC0 38 80 00 03 */ li r4, 3 -/* 800EAE64 000E7DC4 38 C0 00 FF */ li r6, 0xff -/* 800EAE68 000E7DC8 48 21 DA E5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EAE6C 000E7DCC 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EAE70 000E7DD0 38 60 00 04 */ li r3, 4 -/* 800EAE74 000E7DD4 38 80 00 04 */ li r4, 4 -/* 800EAE78 000E7DD8 38 C0 00 FF */ li r6, 0xff -/* 800EAE7C 000E7DDC 48 21 DA D1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EAE80 000E7DE0 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EAE84 000E7DE4 38 60 00 05 */ li r3, 5 -/* 800EAE88 000E7DE8 38 80 00 05 */ li r4, 5 -/* 800EAE8C 000E7DEC 38 C0 00 FF */ li r6, 0xff -/* 800EAE90 000E7DF0 48 21 DA BD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EAE94 000E7DF4 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EAE98 000E7DF8 38 60 00 06 */ li r3, 6 -/* 800EAE9C 000E7DFC 38 80 00 06 */ li r4, 6 -/* 800EAEA0 000E7E00 38 C0 00 FF */ li r6, 0xff -/* 800EAEA4 000E7E04 48 21 DA A9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EAEA8 000E7E08 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EAEAC 000E7E0C 38 60 00 07 */ li r3, 7 -/* 800EAEB0 000E7E10 38 80 00 07 */ li r4, 7 -/* 800EAEB4 000E7E14 38 C0 00 FF */ li r6, 0xff -/* 800EAEB8 000E7E18 48 21 DA 95 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EAEBC 000E7E1C C0 22 90 E0 */ lfs f1, lbl_805AAE00@sda21(r2) -/* 800EAEC0 000E7E20 38 61 00 10 */ addi r3, r1, 0x10 -/* 800EAEC4 000E7E24 C0 82 90 DC */ lfs f4, lbl_805AADFC@sda21(r2) -/* 800EAEC8 000E7E28 FC 40 08 90 */ fmr f2, f1 -/* 800EAECC 000E7E2C FC 60 08 90 */ fmr f3, f1 -/* 800EAED0 000E7E30 48 27 85 1D */ bl __ct__6CColorFffff -/* 800EAED4 000E7E34 38 81 00 10 */ addi r4, r1, 0x10 -/* 800EAED8 000E7E38 38 60 00 00 */ li r3, 0 -/* 800EAEDC 000E7E3C 48 21 DD 69 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 800EAEE0 000E7E40 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 800EAEE4 000E7E44 3B 60 00 00 */ li r27, 0 -/* 800EAEE8 000E7E48 C0 42 90 E0 */ lfs f2, lbl_805AAE00@sda21(r2) -/* 800EAEEC 000E7E4C 3B 40 00 1E */ li r26, 0x1e -/* 800EAEF0 000E7E50 C0 23 02 04 */ lfs f1, 0x204(r3) -/* 800EAEF4 000E7E54 3F 20 43 30 */ lis r25, 0x4330 -/* 800EAEF8 000E7E58 C0 03 02 08 */ lfs f0, 0x208(r3) -/* 800EAEFC 000E7E5C EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800EAF00 000E7E60 C0 78 00 1C */ lfs f3, 0x1c(r24) -/* 800EAF04 000E7E64 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 800EAF08 000E7E68 C2 62 90 DC */ lfs f19, lbl_805AADFC@sda21(r2) -/* 800EAF0C 000E7E6C CA 42 91 20 */ lfd f18, lbl_805AAE40@sda21(r2) -/* 800EAF10 000E7E70 EF 23 00 72 */ fmuls f25, f3, f1 -/* 800EAF14 000E7E74 EE 83 00 32 */ fmuls f20, f3, f0 -/* 800EAF18 000E7E78 C2 22 90 E8 */ lfs f17, lbl_805AAE08@sda21(r2) -/* 800EAF1C 000E7E7C C2 02 90 E4 */ lfs f16, lbl_805AAE04@sda21(r2) -lbl_800EAF20: -/* 800EAF20 000E7E80 6F 66 80 00 */ xoris r6, r27, 0x8000 -/* 800EAF24 000E7E84 81 9F 00 90 */ lwz r12, 0x90(r31) -/* 800EAF28 000E7E88 90 C1 00 94 */ stw r6, 0x94(r1) -/* 800EAF2C 000E7E8C 7F 44 D3 78 */ mr r4, r26 -/* 800EAF30 000E7E90 81 3F 00 9C */ lwz r9, 0x9c(r31) -/* 800EAF34 000E7E94 38 61 00 4C */ addi r3, r1, 0x4c -/* 800EAF38 000E7E98 93 21 00 90 */ stw r25, 0x90(r1) -/* 800EAF3C 000E7E9C 38 A0 00 01 */ li r5, 1 -/* 800EAF40 000E7EA0 80 FF 00 A4 */ lwz r7, 0xa4(r31) -/* 800EAF44 000E7EA4 C8 01 00 90 */ lfd f0, 0x90(r1) -/* 800EAF48 000E7EA8 90 C1 00 9C */ stw r6, 0x9c(r1) -/* 800EAF4C 000E7EAC EC 00 90 28 */ fsubs f0, f0, f18 -/* 800EAF50 000E7EB0 80 1F 00 AC */ lwz r0, 0xac(r31) -/* 800EAF54 000E7EB4 93 21 00 98 */ stw r25, 0x98(r1) -/* 800EAF58 000E7EB8 81 7F 00 94 */ lwz r11, 0x94(r31) -/* 800EAF5C 000E7EBC C8 21 00 98 */ lfd f1, 0x98(r1) -/* 800EAF60 000E7EC0 EC 14 00 32 */ fmuls f0, f20, f0 -/* 800EAF64 000E7EC4 90 C1 00 A4 */ stw r6, 0xa4(r1) -/* 800EAF68 000E7EC8 EC 21 90 28 */ fsubs f1, f1, f18 -/* 800EAF6C 000E7ECC 81 5F 00 98 */ lwz r10, 0x98(r31) -/* 800EAF70 000E7ED0 93 21 00 A0 */ stw r25, 0xa0(r1) -/* 800EAF74 000E7ED4 81 1F 00 A0 */ lwz r8, 0xa0(r31) -/* 800EAF78 000E7ED8 C8 41 00 A0 */ lfd f2, 0xa0(r1) -/* 800EAF7C 000E7EDC EC 01 00 32 */ fmuls f0, f1, f0 -/* 800EAF80 000E7EE0 80 DF 00 A8 */ lwz r6, 0xa8(r31) -/* 800EAF84 000E7EE4 EC 22 90 28 */ fsubs f1, f2, f18 -/* 800EAF88 000E7EE8 91 81 00 4C */ stw r12, 0x4c(r1) -/* 800EAF8C 000E7EEC 91 21 00 58 */ stw r9, 0x58(r1) -/* 800EAF90 000E7EF0 EC 19 00 7A */ fmadds f0, f25, f1, f0 -/* 800EAF94 000E7EF4 90 E1 00 60 */ stw r7, 0x60(r1) -/* 800EAF98 000E7EF8 EC 33 00 28 */ fsubs f1, f19, f0 -/* 800EAF9C 000E7EFC 90 01 00 68 */ stw r0, 0x68(r1) -/* 800EAFA0 000E7F00 91 61 00 50 */ stw r11, 0x50(r1) -/* 800EAFA4 000E7F04 EC 11 80 7A */ fmadds f0, f17, f1, f16 -/* 800EAFA8 000E7F08 91 41 00 54 */ stw r10, 0x54(r1) -/* 800EAFAC 000E7F0C 91 01 00 5C */ stw r8, 0x5c(r1) -/* 800EAFB0 000E7F10 90 C1 00 64 */ stw r6, 0x64(r1) -/* 800EAFB4 000E7F14 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 800EAFB8 000E7F18 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800EAFBC 000E7F1C D0 21 00 60 */ stfs f1, 0x60(r1) -/* 800EAFC0 000E7F20 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 800EAFC4 000E7F24 48 29 14 CD */ bl GXLoadTexMtxImm -/* 800EAFC8 000E7F28 3B 7B 00 01 */ addi r27, r27, 1 -/* 800EAFCC 000E7F2C 3B 5A 00 03 */ addi r26, r26, 3 -/* 800EAFD0 000E7F30 2C 1B 00 04 */ cmpwi r27, 4 -/* 800EAFD4 000E7F34 41 80 FF 4C */ blt lbl_800EAF20 -/* 800EAFD8 000E7F38 38 60 00 00 */ li r3, 0 -/* 800EAFDC 000E7F3C 38 80 00 01 */ li r4, 1 -/* 800EAFE0 000E7F40 38 A0 00 04 */ li r5, 4 -/* 800EAFE4 000E7F44 38 C0 00 1E */ li r6, 0x1e -/* 800EAFE8 000E7F48 38 E0 00 00 */ li r7, 0 -/* 800EAFEC 000E7F4C 39 00 00 7D */ li r8, 0x7d -/* 800EAFF0 000E7F50 48 21 D6 DD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EAFF4 000E7F54 38 60 00 01 */ li r3, 1 -/* 800EAFF8 000E7F58 38 80 00 01 */ li r4, 1 -/* 800EAFFC 000E7F5C 38 A0 00 04 */ li r5, 4 -/* 800EB000 000E7F60 38 C0 00 21 */ li r6, 0x21 -/* 800EB004 000E7F64 38 E0 00 00 */ li r7, 0 -/* 800EB008 000E7F68 39 00 00 7D */ li r8, 0x7d -/* 800EB00C 000E7F6C 48 21 D6 C1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB010 000E7F70 38 60 00 02 */ li r3, 2 -/* 800EB014 000E7F74 38 80 00 01 */ li r4, 1 -/* 800EB018 000E7F78 38 A0 00 04 */ li r5, 4 -/* 800EB01C 000E7F7C 38 C0 00 24 */ li r6, 0x24 -/* 800EB020 000E7F80 38 E0 00 00 */ li r7, 0 -/* 800EB024 000E7F84 39 00 00 7D */ li r8, 0x7d -/* 800EB028 000E7F88 48 21 D6 A5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB02C 000E7F8C 38 60 00 03 */ li r3, 3 -/* 800EB030 000E7F90 38 80 00 01 */ li r4, 1 -/* 800EB034 000E7F94 38 A0 00 04 */ li r5, 4 -/* 800EB038 000E7F98 38 C0 00 27 */ li r6, 0x27 -/* 800EB03C 000E7F9C 38 E0 00 00 */ li r7, 0 -/* 800EB040 000E7FA0 39 00 00 7D */ li r8, 0x7d -/* 800EB044 000E7FA4 48 21 D6 89 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB048 000E7FA8 38 60 00 04 */ li r3, 4 -/* 800EB04C 000E7FAC 38 80 00 01 */ li r4, 1 -/* 800EB050 000E7FB0 38 A0 00 04 */ li r5, 4 -/* 800EB054 000E7FB4 38 C0 00 2A */ li r6, 0x2a -/* 800EB058 000E7FB8 38 E0 00 00 */ li r7, 0 -/* 800EB05C 000E7FBC 39 00 00 7D */ li r8, 0x7d -/* 800EB060 000E7FC0 48 21 D6 6D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB064 000E7FC4 38 60 00 05 */ li r3, 5 -/* 800EB068 000E7FC8 38 80 00 01 */ li r4, 1 -/* 800EB06C 000E7FCC 38 A0 00 04 */ li r5, 4 -/* 800EB070 000E7FD0 38 C0 00 2D */ li r6, 0x2d -/* 800EB074 000E7FD4 38 E0 00 00 */ li r7, 0 -/* 800EB078 000E7FD8 39 00 00 7D */ li r8, 0x7d -/* 800EB07C 000E7FDC 48 21 D6 51 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB080 000E7FE0 38 60 00 06 */ li r3, 6 -/* 800EB084 000E7FE4 38 80 00 01 */ li r4, 1 -/* 800EB088 000E7FE8 38 A0 00 04 */ li r5, 4 -/* 800EB08C 000E7FEC 38 C0 00 30 */ li r6, 0x30 -/* 800EB090 000E7FF0 38 E0 00 00 */ li r7, 0 -/* 800EB094 000E7FF4 39 00 00 7D */ li r8, 0x7d -/* 800EB098 000E7FF8 48 21 D6 35 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB09C 000E7FFC 38 60 00 07 */ li r3, 7 -/* 800EB0A0 000E8000 38 80 00 01 */ li r4, 1 -/* 800EB0A4 000E8004 38 A0 00 04 */ li r5, 4 -/* 800EB0A8 000E8008 38 C0 00 33 */ li r6, 0x33 -/* 800EB0AC 000E800C 38 E0 00 00 */ li r7, 0 -/* 800EB0B0 000E8010 39 00 00 7D */ li r8, 0x7d -/* 800EB0B4 000E8014 48 21 D6 19 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB0B8 000E8018 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EB0BC 000E801C 3F 00 CC 01 */ lis r24, 0xcc01 -/* 800EB0C0 000E8020 C3 22 90 F0 */ lfs f25, lbl_805AAE10@sda21(r2) -/* 800EB0C4 000E8024 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 800EB0C8 000E8028 FF E0 00 18 */ frsp f31, f0 -/* 800EB0CC 000E802C C0 02 90 F4 */ lfs f0, lbl_805AAE14@sda21(r2) -/* 800EB0D0 000E8030 C3 42 90 E4 */ lfs f26, lbl_805AAE04@sda21(r2) -/* 800EB0D4 000E8034 C3 62 90 FC */ lfs f27, lbl_805AAE1C@sda21(r2) -/* 800EB0D8 000E8038 C3 82 90 DC */ lfs f28, lbl_805AADFC@sda21(r2) -/* 800EB0DC 000E803C C3 A2 90 F8 */ lfs f29, lbl_805AAE18@sda21(r2) -/* 800EB0E0 000E8040 C3 C2 91 00 */ lfs f30, lbl_805AAE20@sda21(r2) -/* 800EB0E4 000E8044 D8 01 00 B8 */ stfd f0, 0xb8(r1) -/* 800EB0E8 000E8048 48 00 01 58 */ b lbl_800EB240 -lbl_800EB0EC: -/* 800EB0EC 000E804C C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 800EB0F0 000E8050 C8 21 00 B8 */ lfd f1, 0xb8(r1) -/* 800EB0F4 000E8054 EC BC 00 28 */ fsubs f5, f28, f0 -/* 800EB0F8 000E8058 C2 42 90 EC */ lfs f18, lbl_805AAE0C@sda21(r2) -/* 800EB0FC 000E805C EC 40 D0 28 */ fsubs f2, f0, f26 -/* 800EB100 000E8060 EC 21 00 2A */ fadds f1, f1, f0 -/* 800EB104 000E8064 C8 01 00 B8 */ lfd f0, 0xb8(r1) -/* 800EB108 000E8068 EC 65 D0 28 */ fsubs f3, f5, f26 -/* 800EB10C 000E806C EC 85 00 28 */ fsubs f4, f5, f0 -/* 800EB110 000E8070 EC 01 D0 28 */ fsubs f0, f1, f26 -/* 800EB114 000E8074 EC F9 00 F2 */ fmuls f7, f25, f3 -/* 800EB118 000E8078 EC 24 D0 28 */ fsubs f1, f4, f26 -/* 800EB11C 000E807C EE 9D D0 BA */ fmadds f20, f29, f2, f26 -/* 800EB120 000E8080 EC 67 01 F2 */ fmuls f3, f7, f7 -/* 800EB124 000E8084 EC D9 00 72 */ fmuls f6, f25, f1 -/* 800EB128 000E8088 EC 3D 01 72 */ fmuls f1, f29, f5 -/* 800EB12C 000E808C EC 67 00 F2 */ fmuls f3, f7, f3 -/* 800EB130 000E8090 EC A6 01 B2 */ fmuls f5, f6, f6 -/* 800EB134 000E8094 EC 9D 01 32 */ fmuls f4, f29, f4 -/* 800EB138 000E8098 EC 5C 18 2A */ fadds f2, f28, f3 -/* 800EB13C 000E809C EC A6 01 72 */ fmuls f5, f6, f5 -/* 800EB140 000E80A0 EE 7D D0 3A */ fmadds f19, f29, f0, f26 -/* 800EB144 000E80A4 EC 02 06 B2 */ fmuls f0, f2, f26 -/* 800EB148 000E80A8 EC 7C 28 2A */ fadds f3, f28, f5 -/* 800EB14C 000E80AC EC 5B 08 3A */ fmadds f2, f27, f0, f1 -/* 800EB150 000E80B0 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 800EB154 000E80B4 EC 63 06 B2 */ fmuls f3, f3, f26 -/* 800EB158 000E80B8 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 800EB15C 000E80BC EE A1 00 BA */ fmadds f21, f1, f2, f0 -/* 800EB160 000E80C0 EC 7B 20 FA */ fmadds f3, f27, f3, f4 -/* 800EB164 000E80C4 EE C1 00 FA */ fmadds f22, f1, f3, f0 -/* 800EB168 000E80C8 48 00 00 C0 */ b lbl_800EB228 -lbl_800EB16C: -/* 800EB16C 000E80CC EC 1E 90 2A */ fadds f0, f30, f18 -/* 800EB170 000E80D0 38 60 00 98 */ li r3, 0x98 -/* 800EB174 000E80D4 EC 32 D0 28 */ fsubs f1, f18, f26 -/* 800EB178 000E80D8 38 80 00 00 */ li r4, 0 -/* 800EB17C 000E80DC EC 5D 04 B2 */ fmuls f2, f29, f18 -/* 800EB180 000E80E0 38 A0 00 04 */ li r5, 4 -/* 800EB184 000E80E4 EC C0 D0 28 */ fsubs f6, f0, f26 -/* 800EB188 000E80E8 EC 99 00 72 */ fmuls f4, f25, f1 -/* 800EB18C 000E80EC EC 1D 00 32 */ fmuls f0, f29, f0 -/* 800EB190 000E80F0 EC B9 01 B2 */ fmuls f5, f25, f6 -/* 800EB194 000E80F4 EC 64 01 32 */ fmuls f3, f4, f4 -/* 800EB198 000E80F8 EE 3D D0 7A */ fmadds f17, f29, f1, f26 -/* 800EB19C 000E80FC EC 25 01 72 */ fmuls f1, f5, f5 -/* 800EB1A0 000E8100 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 800EB1A4 000E8104 EE 1D D1 BA */ fmadds f16, f29, f6, f26 -/* 800EB1A8 000E8108 EC 25 00 72 */ fmuls f1, f5, f1 -/* 800EB1AC 000E810C EC 7C 18 2A */ fadds f3, f28, f3 -/* 800EB1B0 000E8110 EC 3C 08 2A */ fadds f1, f28, f1 -/* 800EB1B4 000E8114 EC 63 06 B2 */ fmuls f3, f3, f26 -/* 800EB1B8 000E8118 EC 21 06 B2 */ fmuls f1, f1, f26 -/* 800EB1BC 000E811C EC 5B 10 FA */ fmadds f2, f27, f3, f2 -/* 800EB1C0 000E8120 EC 1B 00 7A */ fmadds f0, f27, f1, f0 -/* 800EB1C4 000E8124 ED F8 B8 BA */ fmadds f15, f24, f2, f23 -/* 800EB1C8 000E8128 ED D8 B8 3A */ fmadds f14, f24, f0, f23 -/* 800EB1CC 000E812C 48 21 D3 B9 */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 800EB1D0 000E8130 D1 F8 80 00 */ stfs f15, 0xCC008000@l(r24) -/* 800EB1D4 000E8134 D3 F8 80 00 */ stfs f31, 0xCC008000@l(r24) -/* 800EB1D8 000E8138 D2 B8 80 00 */ stfs f21, 0xCC008000@l(r24) -/* 800EB1DC 000E813C D2 38 80 00 */ stfs f17, 0xCC008000@l(r24) -/* 800EB1E0 000E8140 D2 98 80 00 */ stfs f20, 0xCC008000@l(r24) -/* 800EB1E4 000E8144 D1 F8 80 00 */ stfs f15, 0xCC008000@l(r24) -/* 800EB1E8 000E8148 D3 F8 80 00 */ stfs f31, 0xCC008000@l(r24) -/* 800EB1EC 000E814C D2 D8 80 00 */ stfs f22, 0xCC008000@l(r24) -/* 800EB1F0 000E8150 D2 38 80 00 */ stfs f17, 0xCC008000@l(r24) -/* 800EB1F4 000E8154 D2 78 80 00 */ stfs f19, 0xCC008000@l(r24) -/* 800EB1F8 000E8158 D1 D8 80 00 */ stfs f14, 0xCC008000@l(r24) -/* 800EB1FC 000E815C D3 F8 80 00 */ stfs f31, 0xCC008000@l(r24) -/* 800EB200 000E8160 D2 B8 80 00 */ stfs f21, 0xCC008000@l(r24) -/* 800EB204 000E8164 D2 18 80 00 */ stfs f16, 0xCC008000@l(r24) -/* 800EB208 000E8168 D2 98 80 00 */ stfs f20, 0xCC008000@l(r24) -/* 800EB20C 000E816C D1 D8 80 00 */ stfs f14, 0xCC008000@l(r24) -/* 800EB210 000E8170 D3 F8 80 00 */ stfs f31, 0xCC008000@l(r24) -/* 800EB214 000E8174 D2 D8 80 00 */ stfs f22, 0xCC008000@l(r24) -/* 800EB218 000E8178 D2 18 80 00 */ stfs f16, 0xCC008000@l(r24) -/* 800EB21C 000E817C D2 78 80 00 */ stfs f19, 0xCC008000@l(r24) -/* 800EB220 000E8180 48 21 D3 61 */ bl End__3CGXFv -/* 800EB224 000E8184 EE 52 F0 2A */ fadds f18, f18, f30 -lbl_800EB228: -/* 800EB228 000E8188 FC 12 E0 40 */ fcmpo cr0, f18, f28 -/* 800EB22C 000E818C 41 80 FF 40 */ blt lbl_800EB16C -/* 800EB230 000E8190 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 800EB234 000E8194 C8 01 00 B8 */ lfd f0, 0xb8(r1) -/* 800EB238 000E8198 EC 21 00 2A */ fadds f1, f1, f0 -/* 800EB23C 000E819C D0 21 00 A8 */ stfs f1, 0xa8(r1) -lbl_800EB240: -/* 800EB240 000E81A0 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 800EB244 000E81A4 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 800EB248 000E81A8 41 80 FE A4 */ blt lbl_800EB0EC -/* 800EB24C 000E81AC 38 60 00 00 */ li r3, 0 -/* 800EB250 000E81B0 38 80 00 01 */ li r4, 1 -/* 800EB254 000E81B4 38 A0 00 04 */ li r5, 4 -/* 800EB258 000E81B8 38 C0 00 3C */ li r6, 0x3c -/* 800EB25C 000E81BC 38 E0 00 00 */ li r7, 0 -/* 800EB260 000E81C0 39 00 00 7D */ li r8, 0x7d -/* 800EB264 000E81C4 48 21 D4 69 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB268 000E81C8 38 60 00 01 */ li r3, 1 -/* 800EB26C 000E81CC 38 80 00 01 */ li r4, 1 -/* 800EB270 000E81D0 38 A0 00 05 */ li r5, 5 -/* 800EB274 000E81D4 38 C0 00 3C */ li r6, 0x3c -/* 800EB278 000E81D8 38 E0 00 00 */ li r7, 0 -/* 800EB27C 000E81DC 39 00 00 7D */ li r8, 0x7d -/* 800EB280 000E81E0 48 21 D4 4D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB284 000E81E4 38 60 00 02 */ li r3, 2 -/* 800EB288 000E81E8 38 80 00 01 */ li r4, 1 -/* 800EB28C 000E81EC 38 A0 00 06 */ li r5, 6 -/* 800EB290 000E81F0 38 C0 00 3C */ li r6, 0x3c -/* 800EB294 000E81F4 38 E0 00 00 */ li r7, 0 -/* 800EB298 000E81F8 39 00 00 7D */ li r8, 0x7d -/* 800EB29C 000E81FC 48 21 D4 31 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB2A0 000E8200 38 60 00 03 */ li r3, 3 -/* 800EB2A4 000E8204 38 80 00 01 */ li r4, 1 -/* 800EB2A8 000E8208 38 A0 00 07 */ li r5, 7 -/* 800EB2AC 000E820C 38 C0 00 3C */ li r6, 0x3c -/* 800EB2B0 000E8210 38 E0 00 00 */ li r7, 0 -/* 800EB2B4 000E8214 39 00 00 7D */ li r8, 0x7d -/* 800EB2B8 000E8218 48 21 D4 15 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB2BC 000E821C 38 60 00 04 */ li r3, 4 -/* 800EB2C0 000E8220 38 80 00 01 */ li r4, 1 -/* 800EB2C4 000E8224 38 A0 00 08 */ li r5, 8 -/* 800EB2C8 000E8228 38 C0 00 3C */ li r6, 0x3c -/* 800EB2CC 000E822C 38 E0 00 00 */ li r7, 0 -/* 800EB2D0 000E8230 39 00 00 7D */ li r8, 0x7d -/* 800EB2D4 000E8234 48 21 D3 F9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB2D8 000E8238 38 60 00 05 */ li r3, 5 -/* 800EB2DC 000E823C 38 80 00 01 */ li r4, 1 -/* 800EB2E0 000E8240 38 A0 00 09 */ li r5, 9 -/* 800EB2E4 000E8244 38 C0 00 3C */ li r6, 0x3c -/* 800EB2E8 000E8248 38 E0 00 00 */ li r7, 0 -/* 800EB2EC 000E824C 39 00 00 7D */ li r8, 0x7d -/* 800EB2F0 000E8250 48 21 D3 DD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB2F4 000E8254 38 60 00 06 */ li r3, 6 -/* 800EB2F8 000E8258 38 80 00 01 */ li r4, 1 -/* 800EB2FC 000E825C 38 A0 00 0A */ li r5, 0xa -/* 800EB300 000E8260 38 C0 00 3C */ li r6, 0x3c -/* 800EB304 000E8264 38 E0 00 00 */ li r7, 0 -/* 800EB308 000E8268 39 00 00 7D */ li r8, 0x7d -/* 800EB30C 000E826C 48 21 D3 C1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB310 000E8270 38 60 00 07 */ li r3, 7 -/* 800EB314 000E8274 38 80 00 01 */ li r4, 1 -/* 800EB318 000E8278 38 A0 00 0B */ li r5, 0xb -/* 800EB31C 000E827C 38 C0 00 3C */ li r6, 0x3c -/* 800EB320 000E8280 38 E0 00 00 */ li r7, 0 -/* 800EB324 000E8284 39 00 00 7D */ li r8, 0x7d -/* 800EB328 000E8288 48 21 D3 A5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB32C 000E828C 48 00 05 74 */ b lbl_800EB8A0 -lbl_800EB330: -/* 800EB330 000E8290 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EB334 000E8294 81 83 00 00 */ lwz r12, 0(r3) -/* 800EB338 000E8298 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800EB33C 000E829C 7D 89 03 A6 */ mtctr r12 -/* 800EB340 000E82A0 4E 80 04 21 */ bctrl -/* 800EB344 000E82A4 81 1F 00 B0 */ lwz r8, 0xb0(r31) -/* 800EB348 000E82A8 38 61 00 34 */ addi r3, r1, 0x34 -/* 800EB34C 000E82AC 80 FF 00 B4 */ lwz r7, 0xb4(r31) -/* 800EB350 000E82B0 80 DF 00 B8 */ lwz r6, 0xb8(r31) -/* 800EB354 000E82B4 80 BF 00 BC */ lwz r5, 0xbc(r31) -/* 800EB358 000E82B8 80 9F 00 C0 */ lwz r4, 0xc0(r31) -/* 800EB35C 000E82BC 80 1F 00 C4 */ lwz r0, 0xc4(r31) -/* 800EB360 000E82C0 91 01 00 34 */ stw r8, 0x34(r1) -/* 800EB364 000E82C4 90 E1 00 38 */ stw r7, 0x38(r1) -/* 800EB368 000E82C8 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 800EB36C 000E82CC 90 A1 00 40 */ stw r5, 0x40(r1) -/* 800EB370 000E82D0 90 81 00 44 */ stw r4, 0x44(r1) -/* 800EB374 000E82D4 90 01 00 48 */ stw r0, 0x48(r1) -/* 800EB378 000E82D8 48 21 CA B1 */ bl SetVtxDescv__3CGXFPC14_GXVtxDescList -/* 800EB37C 000E82DC 38 60 00 00 */ li r3, 0 -/* 800EB380 000E82E0 48 21 DA D1 */ bl SetNumChans__3CGXFUc -/* 800EB384 000E82E4 38 60 00 07 */ li r3, 7 -/* 800EB388 000E82E8 48 21 DA 8D */ bl SetNumTexGens__3CGXFUc -/* 800EB38C 000E82EC 38 60 00 07 */ li r3, 7 -/* 800EB390 000E82F0 48 21 D9 01 */ bl SetNumTevStages__3CGXFUc -/* 800EB394 000E82F4 3B 20 00 00 */ li r25, 0 -lbl_800EB398: -/* 800EB398 000E82F8 7F 23 CB 78 */ mr r3, r25 -/* 800EB39C 000E82FC 38 80 00 0F */ li r4, 0xf -/* 800EB3A0 000E8300 38 A0 00 08 */ li r5, 8 -/* 800EB3A4 000E8304 38 C0 00 0E */ li r6, 0xe -/* 800EB3A8 000E8308 38 E0 00 00 */ li r7, 0 -/* 800EB3AC 000E830C 48 21 D8 41 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 800EB3B0 000E8310 7F 23 CB 78 */ mr r3, r25 -/* 800EB3B4 000E8314 38 80 00 07 */ li r4, 7 -/* 800EB3B8 000E8318 38 A0 00 07 */ li r5, 7 -/* 800EB3BC 000E831C 38 C0 00 07 */ li r6, 7 -/* 800EB3C0 000E8320 38 E0 00 00 */ li r7, 0 -/* 800EB3C4 000E8324 48 21 D7 D1 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 800EB3C8 000E8328 7F 23 CB 78 */ mr r3, r25 -/* 800EB3CC 000E832C 48 21 C8 85 */ bl SetStandardTevColorAlphaOp__3CGXF13_GXTevStageID -/* 800EB3D0 000E8330 7F 23 CB 78 */ mr r3, r25 -/* 800EB3D4 000E8334 38 80 00 0C */ li r4, 0xc -/* 800EB3D8 000E8338 48 21 D6 09 */ bl SetTevKColorSel__3CGXF13_GXTevStageID15_GXTevKColorSel -/* 800EB3DC 000E833C 3B 39 00 01 */ addi r25, r25, 1 -/* 800EB3E0 000E8340 2C 19 00 07 */ cmpwi r25, 7 -/* 800EB3E4 000E8344 41 80 FF B4 */ blt lbl_800EB398 -/* 800EB3E8 000E8348 38 60 00 00 */ li r3, 0 -/* 800EB3EC 000E834C 38 80 00 0F */ li r4, 0xf -/* 800EB3F0 000E8350 38 A0 00 08 */ li r5, 8 -/* 800EB3F4 000E8354 38 C0 00 0E */ li r6, 0xe -/* 800EB3F8 000E8358 38 E0 00 0F */ li r7, 0xf -/* 800EB3FC 000E835C 48 21 D7 F1 */ bl SetTevColorIn__3CGXF13_GXTevStageID14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg14_GXTevColorArg -/* 800EB400 000E8360 38 60 00 00 */ li r3, 0 -/* 800EB404 000E8364 38 80 00 07 */ li r4, 7 -/* 800EB408 000E8368 38 A0 00 07 */ li r5, 7 -/* 800EB40C 000E836C 38 C0 00 07 */ li r6, 7 -/* 800EB410 000E8370 38 E0 00 06 */ li r7, 6 -/* 800EB414 000E8374 48 21 D7 81 */ bl SetTevAlphaIn__3CGXF13_GXTevStageID14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg14_GXTevAlphaArg -/* 800EB418 000E8378 38 60 00 00 */ li r3, 0 -/* 800EB41C 000E837C 38 80 00 1C */ li r4, 0x1c -/* 800EB420 000E8380 48 21 D5 7D */ bl SetTevKAlphaSel__3CGXF13_GXTevStageID15_GXTevKAlphaSel -/* 800EB424 000E8384 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EB428 000E8388 38 60 00 00 */ li r3, 0 -/* 800EB42C 000E838C 38 80 00 00 */ li r4, 0 -/* 800EB430 000E8390 38 C0 00 FF */ li r6, 0xff -/* 800EB434 000E8394 48 21 D5 19 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EB438 000E8398 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EB43C 000E839C 38 60 00 01 */ li r3, 1 -/* 800EB440 000E83A0 38 80 00 01 */ li r4, 1 -/* 800EB444 000E83A4 38 C0 00 FF */ li r6, 0xff -/* 800EB448 000E83A8 48 21 D5 05 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EB44C 000E83AC 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EB450 000E83B0 38 60 00 02 */ li r3, 2 -/* 800EB454 000E83B4 38 80 00 02 */ li r4, 2 -/* 800EB458 000E83B8 38 C0 00 FF */ li r6, 0xff -/* 800EB45C 000E83BC 48 21 D4 F1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EB460 000E83C0 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EB464 000E83C4 38 60 00 03 */ li r3, 3 -/* 800EB468 000E83C8 38 80 00 03 */ li r4, 3 -/* 800EB46C 000E83CC 38 C0 00 FF */ li r6, 0xff -/* 800EB470 000E83D0 48 21 D4 DD */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EB474 000E83D4 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EB478 000E83D8 38 60 00 04 */ li r3, 4 -/* 800EB47C 000E83DC 38 80 00 04 */ li r4, 4 -/* 800EB480 000E83E0 38 C0 00 FF */ li r6, 0xff -/* 800EB484 000E83E4 48 21 D4 C9 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EB488 000E83E8 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EB48C 000E83EC 38 60 00 05 */ li r3, 5 -/* 800EB490 000E83F0 38 80 00 05 */ li r4, 5 -/* 800EB494 000E83F4 38 C0 00 FF */ li r6, 0xff -/* 800EB498 000E83F8 48 21 D4 B5 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EB49C 000E83FC 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EB4A0 000E8400 38 60 00 06 */ li r3, 6 -/* 800EB4A4 000E8404 38 80 00 06 */ li r4, 6 -/* 800EB4A8 000E8408 38 C0 00 FF */ li r6, 0xff -/* 800EB4AC 000E840C 48 21 D4 A1 */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EB4B0 000E8410 80 A2 C7 A8 */ lwz r5, lbl_805AE4C8@sda21(r2) -/* 800EB4B4 000E8414 38 60 00 07 */ li r3, 7 -/* 800EB4B8 000E8418 38 80 00 07 */ li r4, 7 -/* 800EB4BC 000E841C 38 C0 00 FF */ li r6, 0xff -/* 800EB4C0 000E8420 48 21 D4 8D */ bl SetTevOrder__3CGXF13_GXTevStageID13_GXTexCoordID11_GXTexMapID12_GXChannelID -/* 800EB4C4 000E8424 88 18 00 2C */ lbz r0, 0x2c(r24) -/* 800EB4C8 000E8428 28 00 00 00 */ cmplwi r0, 0 -/* 800EB4CC 000E842C 41 82 00 0C */ beq lbl_800EB4D8 -/* 800EB4D0 000E8430 C0 82 90 DC */ lfs f4, lbl_805AADFC@sda21(r2) -/* 800EB4D4 000E8434 48 00 00 30 */ b lbl_800EB504 -lbl_800EB4D8: -/* 800EB4D8 000E8438 C0 42 90 E4 */ lfs f2, lbl_805AAE04@sda21(r2) -/* 800EB4DC 000E843C C0 38 00 1C */ lfs f1, 0x1c(r24) -/* 800EB4E0 000E8440 C0 0D 88 20 */ lfs f0, lbl_805A73E0@sda21(r13) -/* 800EB4E4 000E8444 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800EB4E8 000E8448 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EB4EC 000E844C D0 21 00 08 */ stfs f1, 8(r1) -/* 800EB4F0 000E8450 40 80 00 0C */ bge lbl_800EB4FC -/* 800EB4F4 000E8454 38 61 00 08 */ addi r3, r1, 8 -/* 800EB4F8 000E8458 48 00 00 08 */ b lbl_800EB500 -lbl_800EB4FC: -/* 800EB4FC 000E845C 38 6D 88 20 */ addi r3, r13, lbl_805A73E0@sda21 -lbl_800EB500: -/* 800EB500 000E8460 C0 83 00 00 */ lfs f4, 0(r3) -lbl_800EB504: -/* 800EB504 000E8464 C0 22 91 00 */ lfs f1, lbl_805AAE20@sda21(r2) -/* 800EB508 000E8468 38 61 00 0C */ addi r3, r1, 0xc -/* 800EB50C 000E846C FC 40 08 90 */ fmr f2, f1 -/* 800EB510 000E8470 FC 60 08 90 */ fmr f3, f1 -/* 800EB514 000E8474 48 27 7E D9 */ bl __ct__6CColorFffff -/* 800EB518 000E8478 38 81 00 0C */ addi r4, r1, 0xc -/* 800EB51C 000E847C 38 60 00 00 */ li r3, 0 -/* 800EB520 000E8480 48 21 D7 25 */ bl SetTevKColor__3CGXF14_GXTevKColorIDRC8_GXColor -/* 800EB524 000E8484 3B 20 00 00 */ li r25, 0 -/* 800EB528 000E8488 3B A0 00 1E */ li r29, 0x1e -lbl_800EB52C: -/* 800EB52C 000E848C 2C 19 00 00 */ cmpwi r25, 0 -/* 800EB530 000E8490 40 82 00 0C */ bne lbl_800EB53C -/* 800EB534 000E8494 C8 02 91 08 */ lfd f0, lbl_805AAE28@sda21(r2) -/* 800EB538 000E8498 48 00 00 48 */ b lbl_800EB580 -lbl_800EB53C: -/* 800EB53C 000E849C 38 79 FF FF */ addi r3, r25, -1 -/* 800EB540 000E84A0 3C 00 43 30 */ lis r0, 0x4330 -/* 800EB544 000E84A4 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 800EB548 000E84A8 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 800EB54C 000E84AC C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) -/* 800EB550 000E84B0 90 61 00 A4 */ stw r3, 0xa4(r1) -/* 800EB554 000E84B4 C0 62 91 14 */ lfs f3, lbl_805AAE34@sda21(r2) -/* 800EB558 000E84B8 C8 21 00 A0 */ lfd f1, 0xa0(r1) -/* 800EB55C 000E84BC C0 02 91 18 */ lfs f0, lbl_805AAE38@sda21(r2) -/* 800EB560 000E84C0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800EB564 000E84C4 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800EB568 000E84C8 EC 21 00 24 */ fdivs f1, f1, f0 -/* 800EB56C 000E84CC 48 2A 8E 85 */ bl cos -/* 800EB570 000E84D0 C0 58 00 1C */ lfs f2, 0x1c(r24) -/* 800EB574 000E84D4 C0 02 91 10 */ lfs f0, lbl_805AAE30@sda21(r2) -/* 800EB578 000E84D8 EC 02 00 24 */ fdivs f0, f2, f0 -/* 800EB57C 000E84DC FC 00 00 72 */ fmul f0, f0, f1 -lbl_800EB580: -/* 800EB580 000E84E0 2C 19 00 00 */ cmpwi r25, 0 -/* 800EB584 000E84E4 FD C0 00 18 */ frsp f14, f0 -/* 800EB588 000E84E8 40 82 00 0C */ bne lbl_800EB594 -/* 800EB58C 000E84EC C8 02 91 08 */ lfd f0, lbl_805AAE28@sda21(r2) -/* 800EB590 000E84F0 48 00 00 48 */ b lbl_800EB5D8 -lbl_800EB594: -/* 800EB594 000E84F4 38 79 FF FF */ addi r3, r25, -1 -/* 800EB598 000E84F8 3C 00 43 30 */ lis r0, 0x4330 -/* 800EB59C 000E84FC 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 800EB5A0 000E8500 90 01 00 98 */ stw r0, 0x98(r1) -/* 800EB5A4 000E8504 C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) -/* 800EB5A8 000E8508 90 61 00 9C */ stw r3, 0x9c(r1) -/* 800EB5AC 000E850C C0 62 91 14 */ lfs f3, lbl_805AAE34@sda21(r2) -/* 800EB5B0 000E8510 C8 21 00 98 */ lfd f1, 0x98(r1) -/* 800EB5B4 000E8514 C0 02 91 18 */ lfs f0, lbl_805AAE38@sda21(r2) -/* 800EB5B8 000E8518 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800EB5BC 000E851C EC 23 00 72 */ fmuls f1, f3, f1 -/* 800EB5C0 000E8520 EC 21 00 24 */ fdivs f1, f1, f0 -/* 800EB5C4 000E8524 48 2A 95 19 */ bl sin -/* 800EB5C8 000E8528 C0 58 00 1C */ lfs f2, 0x1c(r24) -/* 800EB5CC 000E852C C0 02 91 1C */ lfs f0, lbl_805AAE3C@sda21(r2) -/* 800EB5D0 000E8530 EC 02 00 24 */ fdivs f0, f2, f0 -/* 800EB5D4 000E8534 FC 00 00 72 */ fmul f0, f0, f1 -lbl_800EB5D8: -/* 800EB5D8 000E8538 80 7F 00 D4 */ lwz r3, 0xd4(r31) -/* 800EB5DC 000E853C FC 00 00 18 */ frsp f0, f0 -/* 800EB5E0 000E8540 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 800EB5E4 000E8544 7F A4 EB 78 */ mr r4, r29 -/* 800EB5E8 000E8548 90 61 00 20 */ stw r3, 0x20(r1) -/* 800EB5EC 000E854C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800EB5F0 000E8550 81 5F 00 C8 */ lwz r10, 0xc8(r31) -/* 800EB5F4 000E8554 90 01 00 30 */ stw r0, 0x30(r1) -/* 800EB5F8 000E8558 38 A0 00 01 */ li r5, 1 -/* 800EB5FC 000E855C 81 3F 00 CC */ lwz r9, 0xcc(r31) -/* 800EB600 000E8560 81 1F 00 D0 */ lwz r8, 0xd0(r31) -/* 800EB604 000E8564 80 FF 00 D8 */ lwz r7, 0xd8(r31) -/* 800EB608 000E8568 80 DF 00 DC */ lwz r6, 0xdc(r31) -/* 800EB60C 000E856C 80 1F 00 E0 */ lwz r0, 0xe0(r31) -/* 800EB610 000E8570 91 41 00 14 */ stw r10, 0x14(r1) -/* 800EB614 000E8574 91 21 00 18 */ stw r9, 0x18(r1) -/* 800EB618 000E8578 91 01 00 1C */ stw r8, 0x1c(r1) -/* 800EB61C 000E857C 90 E1 00 24 */ stw r7, 0x24(r1) -/* 800EB620 000E8580 90 C1 00 28 */ stw r6, 0x28(r1) -/* 800EB624 000E8584 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800EB628 000E8588 D1 C1 00 20 */ stfs f14, 0x20(r1) -/* 800EB62C 000E858C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800EB630 000E8590 48 29 0E 61 */ bl GXLoadTexMtxImm -/* 800EB634 000E8594 3B 39 00 01 */ addi r25, r25, 1 -/* 800EB638 000E8598 3B BD 00 03 */ addi r29, r29, 3 -/* 800EB63C 000E859C 2C 19 00 07 */ cmpwi r25, 7 -/* 800EB640 000E85A0 41 80 FE EC */ blt lbl_800EB52C -/* 800EB644 000E85A4 38 60 00 00 */ li r3, 0 -/* 800EB648 000E85A8 38 80 00 01 */ li r4, 1 -/* 800EB64C 000E85AC 38 A0 00 04 */ li r5, 4 -/* 800EB650 000E85B0 38 C0 00 1E */ li r6, 0x1e -/* 800EB654 000E85B4 38 E0 00 00 */ li r7, 0 -/* 800EB658 000E85B8 39 00 00 7D */ li r8, 0x7d -/* 800EB65C 000E85BC 48 21 D0 71 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB660 000E85C0 38 60 00 01 */ li r3, 1 -/* 800EB664 000E85C4 38 80 00 01 */ li r4, 1 -/* 800EB668 000E85C8 38 A0 00 04 */ li r5, 4 -/* 800EB66C 000E85CC 38 C0 00 21 */ li r6, 0x21 -/* 800EB670 000E85D0 38 E0 00 00 */ li r7, 0 -/* 800EB674 000E85D4 39 00 00 7D */ li r8, 0x7d -/* 800EB678 000E85D8 48 21 D0 55 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB67C 000E85DC 38 60 00 02 */ li r3, 2 -/* 800EB680 000E85E0 38 80 00 01 */ li r4, 1 -/* 800EB684 000E85E4 38 A0 00 04 */ li r5, 4 -/* 800EB688 000E85E8 38 C0 00 24 */ li r6, 0x24 -/* 800EB68C 000E85EC 38 E0 00 00 */ li r7, 0 -/* 800EB690 000E85F0 39 00 00 7D */ li r8, 0x7d -/* 800EB694 000E85F4 48 21 D0 39 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB698 000E85F8 38 60 00 03 */ li r3, 3 -/* 800EB69C 000E85FC 38 80 00 01 */ li r4, 1 -/* 800EB6A0 000E8600 38 A0 00 04 */ li r5, 4 -/* 800EB6A4 000E8604 38 C0 00 27 */ li r6, 0x27 -/* 800EB6A8 000E8608 38 E0 00 00 */ li r7, 0 -/* 800EB6AC 000E860C 39 00 00 7D */ li r8, 0x7d -/* 800EB6B0 000E8610 48 21 D0 1D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB6B4 000E8614 38 60 00 04 */ li r3, 4 -/* 800EB6B8 000E8618 38 80 00 01 */ li r4, 1 -/* 800EB6BC 000E861C 38 A0 00 04 */ li r5, 4 -/* 800EB6C0 000E8620 38 C0 00 2A */ li r6, 0x2a -/* 800EB6C4 000E8624 38 E0 00 00 */ li r7, 0 -/* 800EB6C8 000E8628 39 00 00 7D */ li r8, 0x7d -/* 800EB6CC 000E862C 48 21 D0 01 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB6D0 000E8630 38 60 00 05 */ li r3, 5 -/* 800EB6D4 000E8634 38 80 00 01 */ li r4, 1 -/* 800EB6D8 000E8638 38 A0 00 04 */ li r5, 4 -/* 800EB6DC 000E863C 38 C0 00 2D */ li r6, 0x2d -/* 800EB6E0 000E8640 38 E0 00 00 */ li r7, 0 -/* 800EB6E4 000E8644 39 00 00 7D */ li r8, 0x7d -/* 800EB6E8 000E8648 48 21 CF E5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB6EC 000E864C 38 60 00 06 */ li r3, 6 -/* 800EB6F0 000E8650 38 80 00 01 */ li r4, 1 -/* 800EB6F4 000E8654 38 A0 00 04 */ li r5, 4 -/* 800EB6F8 000E8658 38 C0 00 30 */ li r6, 0x30 -/* 800EB6FC 000E865C 38 E0 00 00 */ li r7, 0 -/* 800EB700 000E8660 39 00 00 7D */ li r8, 0x7d -/* 800EB704 000E8664 48 21 CF C9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB708 000E8668 38 60 00 07 */ li r3, 7 -/* 800EB70C 000E866C 38 80 00 01 */ li r4, 1 -/* 800EB710 000E8670 38 A0 00 04 */ li r5, 4 -/* 800EB714 000E8674 38 C0 00 33 */ li r6, 0x33 -/* 800EB718 000E8678 38 E0 00 00 */ li r7, 0 -/* 800EB71C 000E867C 39 00 00 7D */ li r8, 0x7d -/* 800EB720 000E8680 48 21 CF AD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB724 000E8684 7F 85 E3 78 */ mr r5, r28 -/* 800EB728 000E8688 7F C6 F3 78 */ mr r6, r30 -/* 800EB72C 000E868C 57 63 04 3E */ clrlwi r3, r27, 0x10 -/* 800EB730 000E8690 57 44 04 3E */ clrlwi r4, r26, 0x10 -/* 800EB734 000E8694 38 E0 00 00 */ li r7, 0 -/* 800EB738 000E8698 48 21 E8 E9 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 800EB73C 000E869C 38 60 00 98 */ li r3, 0x98 -/* 800EB740 000E86A0 38 80 00 00 */ li r4, 0 -/* 800EB744 000E86A4 38 A0 00 04 */ li r5, 4 -/* 800EB748 000E86A8 48 21 CE 3D */ bl Begin__3CGXF12_GXPrimitive9_GXVtxFmtUs -/* 800EB74C 000E86AC C0 62 90 DC */ lfs f3, lbl_805AADFC@sda21(r2) -/* 800EB750 000E86B0 3C 60 CC 01 */ lis r3, 0xCC008000@ha -/* 800EB754 000E86B4 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 800EB758 000E86B8 EC 57 18 28 */ fsubs f2, f23, f3 -/* 800EB75C 000E86BC C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800EB760 000E86C0 EC 83 D0 2A */ fadds f4, f3, f26 -/* 800EB764 000E86C4 EC 00 18 28 */ fsubs f0, f0, f3 -/* 800EB768 000E86C8 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 800EB76C 000E86CC EC A3 C8 2A */ fadds f5, f3, f25 -/* 800EB770 000E86D0 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 800EB774 000E86D4 D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 800EB778 000E86D8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 800EB77C 000E86DC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 800EB780 000E86E0 D0 43 80 00 */ stfs f2, 0xCC008000@l(r3) -/* 800EB784 000E86E4 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 800EB788 000E86E8 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 800EB78C 000E86EC D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 800EB790 000E86F0 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 800EB794 000E86F4 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 800EB798 000E86F8 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 800EB79C 000E86FC D0 83 80 00 */ stfs f4, 0xCC008000@l(r3) -/* 800EB7A0 000E8700 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 800EB7A4 000E8704 D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 800EB7A8 000E8708 D0 A3 80 00 */ stfs f5, 0xCC008000@l(r3) -/* 800EB7AC 000E870C D0 23 80 00 */ stfs f1, 0xCC008000@l(r3) -/* 800EB7B0 000E8710 D0 03 80 00 */ stfs f0, 0xCC008000@l(r3) -/* 800EB7B4 000E8714 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 800EB7B8 000E8718 D0 63 80 00 */ stfs f3, 0xCC008000@l(r3) -/* 800EB7BC 000E871C 48 21 CD C5 */ bl End__3CGXFv -/* 800EB7C0 000E8720 38 60 00 00 */ li r3, 0 -/* 800EB7C4 000E8724 38 80 00 01 */ li r4, 1 -/* 800EB7C8 000E8728 38 A0 00 04 */ li r5, 4 -/* 800EB7CC 000E872C 38 C0 00 3C */ li r6, 0x3c -/* 800EB7D0 000E8730 38 E0 00 00 */ li r7, 0 -/* 800EB7D4 000E8734 39 00 00 7D */ li r8, 0x7d -/* 800EB7D8 000E8738 48 21 CE F5 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB7DC 000E873C 38 60 00 01 */ li r3, 1 -/* 800EB7E0 000E8740 38 80 00 01 */ li r4, 1 -/* 800EB7E4 000E8744 38 A0 00 05 */ li r5, 5 -/* 800EB7E8 000E8748 38 C0 00 3C */ li r6, 0x3c -/* 800EB7EC 000E874C 38 E0 00 00 */ li r7, 0 -/* 800EB7F0 000E8750 39 00 00 7D */ li r8, 0x7d -/* 800EB7F4 000E8754 48 21 CE D9 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB7F8 000E8758 38 60 00 02 */ li r3, 2 -/* 800EB7FC 000E875C 38 80 00 01 */ li r4, 1 -/* 800EB800 000E8760 38 A0 00 06 */ li r5, 6 -/* 800EB804 000E8764 38 C0 00 3C */ li r6, 0x3c -/* 800EB808 000E8768 38 E0 00 00 */ li r7, 0 -/* 800EB80C 000E876C 39 00 00 7D */ li r8, 0x7d -/* 800EB810 000E8770 48 21 CE BD */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB814 000E8774 38 60 00 03 */ li r3, 3 -/* 800EB818 000E8778 38 80 00 01 */ li r4, 1 -/* 800EB81C 000E877C 38 A0 00 07 */ li r5, 7 -/* 800EB820 000E8780 38 C0 00 3C */ li r6, 0x3c -/* 800EB824 000E8784 38 E0 00 00 */ li r7, 0 -/* 800EB828 000E8788 39 00 00 7D */ li r8, 0x7d -/* 800EB82C 000E878C 48 21 CE A1 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB830 000E8790 38 60 00 04 */ li r3, 4 -/* 800EB834 000E8794 38 80 00 01 */ li r4, 1 -/* 800EB838 000E8798 38 A0 00 08 */ li r5, 8 -/* 800EB83C 000E879C 38 C0 00 3C */ li r6, 0x3c -/* 800EB840 000E87A0 38 E0 00 00 */ li r7, 0 -/* 800EB844 000E87A4 39 00 00 7D */ li r8, 0x7d -/* 800EB848 000E87A8 48 21 CE 85 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB84C 000E87AC 38 60 00 05 */ li r3, 5 -/* 800EB850 000E87B0 38 80 00 01 */ li r4, 1 -/* 800EB854 000E87B4 38 A0 00 09 */ li r5, 9 -/* 800EB858 000E87B8 38 C0 00 3C */ li r6, 0x3c -/* 800EB85C 000E87BC 38 E0 00 00 */ li r7, 0 -/* 800EB860 000E87C0 39 00 00 7D */ li r8, 0x7d -/* 800EB864 000E87C4 48 21 CE 69 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB868 000E87C8 38 60 00 06 */ li r3, 6 -/* 800EB86C 000E87CC 38 80 00 01 */ li r4, 1 -/* 800EB870 000E87D0 38 A0 00 0A */ li r5, 0xa -/* 800EB874 000E87D4 38 C0 00 3C */ li r6, 0x3c -/* 800EB878 000E87D8 38 E0 00 00 */ li r7, 0 -/* 800EB87C 000E87DC 39 00 00 7D */ li r8, 0x7d -/* 800EB880 000E87E0 48 21 CE 4D */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -/* 800EB884 000E87E4 38 60 00 07 */ li r3, 7 -/* 800EB888 000E87E8 38 80 00 01 */ li r4, 1 -/* 800EB88C 000E87EC 38 A0 00 0B */ li r5, 0xb -/* 800EB890 000E87F0 38 C0 00 3C */ li r6, 0x3c -/* 800EB894 000E87F4 38 E0 00 00 */ li r7, 0 -/* 800EB898 000E87F8 39 00 00 7D */ li r8, 0x7d -/* 800EB89C 000E87FC 48 21 CE 31 */ bl SetTexCoordGen__3CGXF13_GXTexCoordID13_GXTexGenType12_GXTexGenSrc9_GXTexMtxUc11_GXPTTexMtx -lbl_800EB8A0: -/* 800EB8A0 000E8800 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EB8A4 000E8804 81 83 00 00 */ lwz r12, 0(r3) -/* 800EB8A8 000E8808 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800EB8AC 000E880C 7D 89 03 A6 */ mtctr r12 -/* 800EB8B0 000E8810 4E 80 04 21 */ bctrl -/* 800EB8B4 000E8814 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EB8B8 000E8818 38 80 00 01 */ li r4, 1 -/* 800EB8BC 000E881C 38 A0 00 01 */ li r5, 1 -/* 800EB8C0 000E8820 81 83 00 00 */ lwz r12, 0(r3) -/* 800EB8C4 000E8824 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800EB8C8 000E8828 7D 89 03 A6 */ mtctr r12 -/* 800EB8CC 000E882C 4E 80 04 21 */ bctrl -lbl_800EB8D0: -/* 800EB8D0 000E8830 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 -/* 800EB8D4 000E8834 CB E1 01 F0 */ lfd f31, 0x1f0(r1) -/* 800EB8D8 000E8838 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 -/* 800EB8DC 000E883C CB C1 01 E0 */ lfd f30, 0x1e0(r1) -/* 800EB8E0 000E8840 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 -/* 800EB8E4 000E8844 CB A1 01 D0 */ lfd f29, 0x1d0(r1) -/* 800EB8E8 000E8848 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 -/* 800EB8EC 000E884C CB 81 01 C0 */ lfd f28, 0x1c0(r1) -/* 800EB8F0 000E8850 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 -/* 800EB8F4 000E8854 CB 61 01 B0 */ lfd f27, 0x1b0(r1) -/* 800EB8F8 000E8858 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 -/* 800EB8FC 000E885C CB 41 01 A0 */ lfd f26, 0x1a0(r1) -/* 800EB900 000E8860 E3 21 01 98 */ psq_l f25, 408(r1), 0, qr0 -/* 800EB904 000E8864 CB 21 01 90 */ lfd f25, 0x190(r1) -/* 800EB908 000E8868 E3 01 01 88 */ psq_l f24, 392(r1), 0, qr0 -/* 800EB90C 000E886C CB 01 01 80 */ lfd f24, 0x180(r1) -/* 800EB910 000E8870 E2 E1 01 78 */ psq_l f23, 376(r1), 0, qr0 -/* 800EB914 000E8874 CA E1 01 70 */ lfd f23, 0x170(r1) -/* 800EB918 000E8878 E2 C1 01 68 */ psq_l f22, 360(r1), 0, qr0 -/* 800EB91C 000E887C CA C1 01 60 */ lfd f22, 0x160(r1) -/* 800EB920 000E8880 E2 A1 01 58 */ psq_l f21, 344(r1), 0, qr0 -/* 800EB924 000E8884 CA A1 01 50 */ lfd f21, 0x150(r1) -/* 800EB928 000E8888 E2 81 01 48 */ psq_l f20, 328(r1), 0, qr0 -/* 800EB92C 000E888C CA 81 01 40 */ lfd f20, 0x140(r1) -/* 800EB930 000E8890 E2 61 01 38 */ psq_l f19, 312(r1), 0, qr0 -/* 800EB934 000E8894 CA 61 01 30 */ lfd f19, 0x130(r1) -/* 800EB938 000E8898 E2 41 01 28 */ psq_l f18, 296(r1), 0, qr0 -/* 800EB93C 000E889C CA 41 01 20 */ lfd f18, 0x120(r1) -/* 800EB940 000E88A0 E2 21 01 18 */ psq_l f17, 280(r1), 0, qr0 -/* 800EB944 000E88A4 CA 21 01 10 */ lfd f17, 0x110(r1) -/* 800EB948 000E88A8 E2 01 01 08 */ psq_l f16, 264(r1), 0, qr0 -/* 800EB94C 000E88AC CA 01 01 00 */ lfd f16, 0x100(r1) -/* 800EB950 000E88B0 E1 E1 00 F8 */ psq_l f15, 248(r1), 0, qr0 -/* 800EB954 000E88B4 C9 E1 00 F0 */ lfd f15, 0xf0(r1) -/* 800EB958 000E88B8 E1 C1 00 E8 */ psq_l f14, 232(r1), 0, qr0 -/* 800EB95C 000E88BC C9 C1 00 E0 */ lfd f14, 0xe0(r1) -/* 800EB960 000E88C0 BB 01 00 C0 */ lmw r24, 0xc0(r1) -/* 800EB964 000E88C4 80 01 02 04 */ lwz r0, 0x204(r1) -/* 800EB968 000E88C8 7C 08 03 A6 */ mtlr r0 -/* 800EB96C 000E88CC 38 21 02 00 */ addi r1, r1, 0x200 -/* 800EB970 000E88D0 4E 80 00 20 */ blr - -.global DisableBlur__15CCameraBlurPassFf -DisableBlur__15CCameraBlurPassFf: -/* 800EB974 000E88D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EB978 000E88D8 7C 08 02 A6 */ mflr r0 -/* 800EB97C 000E88DC FC 40 08 90 */ fmr f2, f1 -/* 800EB980 000E88E0 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800EB984 000E88E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EB988 000E88E8 38 80 00 00 */ li r4, 0 -/* 800EB98C 000E88EC 88 A3 00 2C */ lbz r5, 0x2c(r3) -/* 800EB990 000E88F0 48 00 00 15 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb -/* 800EB994 000E88F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EB998 000E88F8 7C 08 03 A6 */ mtlr r0 -/* 800EB99C 000E88FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EB9A0 000E8900 4E 80 00 20 */ blr - -.global SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb -SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb: -/* 800EB9A4 000E8904 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800EB9A8 000E8908 7C 08 02 A6 */ mflr r0 -/* 800EB9AC 000E890C C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EB9B0 000E8910 90 01 00 74 */ stw r0, 0x74(r1) -/* 800EB9B4 000E8914 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 800EB9B8 000E8918 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800EB9BC 000E891C 7C BF 2B 78 */ mr r31, r5 -/* 800EB9C0 000E8920 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800EB9C4 000E8924 7C 9E 23 78 */ mr r30, r4 -/* 800EB9C8 000E8928 93 A1 00 64 */ stw r29, 0x64(r1) -/* 800EB9CC 000E892C 7C 7D 1B 78 */ mr r29, r3 -/* 800EB9D0 000E8930 93 81 00 60 */ stw r28, 0x60(r1) -/* 800EB9D4 000E8934 40 82 02 B0 */ bne lbl_800EBC84 -/* 800EB9D8 000E8938 D0 1D 00 28 */ stfs f0, 0x28(r29) -/* 800EB9DC 000E893C D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 800EB9E0 000E8940 D0 3D 00 20 */ stfs f1, 0x20(r29) -/* 800EB9E4 000E8944 D0 3D 00 1C */ stfs f1, 0x1c(r29) -/* 800EB9E8 000E8948 D0 3D 00 18 */ stfs f1, 0x18(r29) -/* 800EB9EC 000E894C 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 800EB9F0 000E8950 2C 00 00 00 */ cmpwi r0, 0 -/* 800EB9F4 000E8954 40 82 01 B0 */ bne lbl_800EBBA4 -/* 800EB9F8 000E8958 2C 1E 00 00 */ cmpwi r30, 0 -/* 800EB9FC 000E895C 41 82 02 78 */ beq lbl_800EBC74 -/* 800EBA00 000E8960 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800EBA04 000E8964 41 82 00 08 */ beq lbl_800EBA0C -/* 800EBA08 000E8968 4B FF EF 4D */ bl AllocatePersistentFbTexture__15CCameraBlurPassFv -lbl_800EBA0C: -/* 800EBA0C 000E896C 38 81 00 50 */ addi r4, r1, 0x50 -/* 800EBA10 000E8970 38 00 00 00 */ li r0, 0 -/* 800EBA14 000E8974 7C 1D 20 40 */ cmplw r29, r4 -/* 800EBA18 000E8978 98 01 00 5C */ stb r0, 0x5c(r1) -/* 800EBA1C 000E897C 41 82 00 7C */ beq lbl_800EBA98 -/* 800EBA20 000E8980 28 00 00 00 */ cmplwi r0, 0 -/* 800EBA24 000E8984 41 82 00 48 */ beq lbl_800EBA6C -/* 800EBA28 000E8988 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 800EBA2C 000E898C 28 00 00 00 */ cmplwi r0, 0 -/* 800EBA30 000E8990 40 82 00 28 */ bne lbl_800EBA58 -/* 800EBA34 000E8994 28 1D 00 00 */ cmplwi r29, 0 -/* 800EBA38 000E8998 41 82 00 14 */ beq lbl_800EBA4C -/* 800EBA3C 000E899C 7F A3 EB 78 */ mr r3, r29 -/* 800EBA40 000E89A0 48 25 54 69 */ bl __ct__6CTokenFRC6CToken -/* 800EBA44 000E89A4 80 01 00 58 */ lwz r0, 0x58(r1) -/* 800EBA48 000E89A8 90 1D 00 08 */ stw r0, 8(r29) -lbl_800EBA4C: -/* 800EBA4C 000E89AC 38 00 00 01 */ li r0, 1 -/* 800EBA50 000E89B0 98 1D 00 0C */ stb r0, 0xc(r29) -/* 800EBA54 000E89B4 48 00 00 44 */ b lbl_800EBA98 -lbl_800EBA58: -/* 800EBA58 000E89B8 7F A3 EB 78 */ mr r3, r29 -/* 800EBA5C 000E89BC 48 25 52 69 */ bl __as__6CTokenFRC6CToken -/* 800EBA60 000E89C0 80 01 00 58 */ lwz r0, 0x58(r1) -/* 800EBA64 000E89C4 90 1D 00 08 */ stw r0, 8(r29) -/* 800EBA68 000E89C8 48 00 00 30 */ b lbl_800EBA98 -lbl_800EBA6C: -/* 800EBA6C 000E89CC 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 800EBA70 000E89D0 28 00 00 00 */ cmplwi r0, 0 -/* 800EBA74 000E89D4 41 82 00 1C */ beq lbl_800EBA90 -/* 800EBA78 000E89D8 28 1D 00 00 */ cmplwi r29, 0 -/* 800EBA7C 000E89DC 41 82 00 14 */ beq lbl_800EBA90 -/* 800EBA80 000E89E0 41 82 00 10 */ beq lbl_800EBA90 -/* 800EBA84 000E89E4 7F A3 EB 78 */ mr r3, r29 -/* 800EBA88 000E89E8 38 80 00 00 */ li r4, 0 -/* 800EBA8C 000E89EC 48 25 53 B5 */ bl __dt__6CTokenFv -lbl_800EBA90: -/* 800EBA90 000E89F0 38 00 00 00 */ li r0, 0 -/* 800EBA94 000E89F4 98 1D 00 0C */ stb r0, 0xc(r29) -lbl_800EBA98: -/* 800EBA98 000E89F8 88 01 00 5C */ lbz r0, 0x5c(r1) -/* 800EBA9C 000E89FC 28 00 00 00 */ cmplwi r0, 0 -/* 800EBAA0 000E8A00 41 82 00 1C */ beq lbl_800EBABC -/* 800EBAA4 000E8A04 34 61 00 50 */ addic. r3, r1, 0x50 -/* 800EBAA8 000E8A08 41 82 00 14 */ beq lbl_800EBABC -/* 800EBAAC 000E8A0C 28 03 00 00 */ cmplwi r3, 0 -/* 800EBAB0 000E8A10 41 82 00 0C */ beq lbl_800EBABC -/* 800EBAB4 000E8A14 38 80 00 00 */ li r4, 0 -/* 800EBAB8 000E8A18 48 25 53 89 */ bl __dt__6CTokenFv -lbl_800EBABC: -/* 800EBABC 000E8A1C 3C 80 80 3D */ lis r4, lbl_803CE6A8@ha -/* 800EBAC0 000E8A20 38 A0 00 00 */ li r5, 0 -/* 800EBAC4 000E8A24 57 C0 10 3A */ slwi r0, r30, 2 -/* 800EBAC8 000E8A28 3C 60 80 3D */ lis r3, lbl_803CE738@ha -/* 800EBACC 000E8A2C 38 84 E6 A8 */ addi r4, r4, lbl_803CE6A8@l -/* 800EBAD0 000E8A30 98 A1 00 5C */ stb r5, 0x5c(r1) -/* 800EBAD4 000E8A34 7F 84 00 2E */ lwzx r28, r4, r0 -/* 800EBAD8 000E8A38 38 63 E7 38 */ addi r3, r3, lbl_803CE738@l -/* 800EBADC 000E8A3C 38 83 01 B9 */ addi r4, r3, 0x1b9 -/* 800EBAE0 000E8A40 7F 83 E3 78 */ mr r3, r28 -/* 800EBAE4 000E8A44 48 2A 44 B9 */ bl strcmp -/* 800EBAE8 000E8A48 2C 03 00 00 */ cmpwi r3, 0 -/* 800EBAEC 000E8A4C 41 82 01 88 */ beq lbl_800EBC74 -/* 800EBAF0 000E8A50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EBAF4 000E8A54 7F 85 E3 78 */ mr r5, r28 -/* 800EBAF8 000E8A58 38 61 00 20 */ addi r3, r1, 0x20 -/* 800EBAFC 000E8A5C 81 84 00 00 */ lwz r12, 0(r4) -/* 800EBB00 000E8A60 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EBB04 000E8A64 7D 89 03 A6 */ mtctr r12 -/* 800EBB08 000E8A68 4E 80 04 21 */ bctrl -/* 800EBB0C 000E8A6C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EBB10 000E8A70 38 81 00 20 */ addi r4, r1, 0x20 -/* 800EBB14 000E8A74 48 25 53 95 */ bl __ct__6CTokenFRC6CToken -/* 800EBB18 000E8A78 38 61 00 44 */ addi r3, r1, 0x44 -/* 800EBB1C 000E8A7C 38 81 00 18 */ addi r4, r1, 0x18 -/* 800EBB20 000E8A80 48 25 53 89 */ bl __ct__6CTokenFRC6CToken -/* 800EBB24 000E8A84 38 00 00 00 */ li r0, 0 -/* 800EBB28 000E8A88 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800EBB2C 000E8A8C 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 800EBB30 000E8A90 28 00 00 00 */ cmplwi r0, 0 -/* 800EBB34 000E8A94 40 82 00 2C */ bne lbl_800EBB60 -/* 800EBB38 000E8A98 28 1D 00 00 */ cmplwi r29, 0 -/* 800EBB3C 000E8A9C 41 82 00 18 */ beq lbl_800EBB54 -/* 800EBB40 000E8AA0 7F A3 EB 78 */ mr r3, r29 -/* 800EBB44 000E8AA4 38 81 00 44 */ addi r4, r1, 0x44 -/* 800EBB48 000E8AA8 48 25 53 61 */ bl __ct__6CTokenFRC6CToken -/* 800EBB4C 000E8AAC 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 800EBB50 000E8AB0 90 1D 00 08 */ stw r0, 8(r29) -lbl_800EBB54: -/* 800EBB54 000E8AB4 38 00 00 01 */ li r0, 1 -/* 800EBB58 000E8AB8 98 1D 00 0C */ stb r0, 0xc(r29) -/* 800EBB5C 000E8ABC 48 00 00 18 */ b lbl_800EBB74 -lbl_800EBB60: -/* 800EBB60 000E8AC0 7F A3 EB 78 */ mr r3, r29 -/* 800EBB64 000E8AC4 38 81 00 44 */ addi r4, r1, 0x44 -/* 800EBB68 000E8AC8 48 25 51 5D */ bl __as__6CTokenFRC6CToken -/* 800EBB6C 000E8ACC 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 800EBB70 000E8AD0 90 1D 00 08 */ stw r0, 8(r29) -lbl_800EBB74: -/* 800EBB74 000E8AD4 38 61 00 44 */ addi r3, r1, 0x44 -/* 800EBB78 000E8AD8 38 80 00 00 */ li r4, 0 -/* 800EBB7C 000E8ADC 48 25 52 C5 */ bl __dt__6CTokenFv -/* 800EBB80 000E8AE0 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EBB84 000E8AE4 38 80 00 00 */ li r4, 0 -/* 800EBB88 000E8AE8 48 25 52 B9 */ bl __dt__6CTokenFv -/* 800EBB8C 000E8AEC 38 61 00 20 */ addi r3, r1, 0x20 -/* 800EBB90 000E8AF0 38 80 FF FF */ li r4, -1 -/* 800EBB94 000E8AF4 48 25 52 AD */ bl __dt__6CTokenFv -/* 800EBB98 000E8AF8 7F A3 EB 78 */ mr r3, r29 -/* 800EBB9C 000E8AFC 48 25 51 E9 */ bl Lock__6CTokenFv -/* 800EBBA0 000E8B00 48 00 00 D4 */ b lbl_800EBC74 -lbl_800EBBA4: -/* 800EBBA4 000E8B04 2C 1E 00 00 */ cmpwi r30, 0 -/* 800EBBA8 000E8B08 40 82 00 CC */ bne lbl_800EBC74 -/* 800EBBAC 000E8B0C 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 800EBBB0 000E8B10 28 00 00 00 */ cmplwi r0, 0 -/* 800EBBB4 000E8B14 41 82 00 08 */ beq lbl_800EBBBC -/* 800EBBB8 000E8B18 4B FF ED 91 */ bl FreePersistentFbTexture__15CCameraBlurPassFv -lbl_800EBBBC: -/* 800EBBBC 000E8B1C 38 81 00 34 */ addi r4, r1, 0x34 -/* 800EBBC0 000E8B20 38 00 00 00 */ li r0, 0 -/* 800EBBC4 000E8B24 7C 1D 20 40 */ cmplw r29, r4 -/* 800EBBC8 000E8B28 98 01 00 40 */ stb r0, 0x40(r1) -/* 800EBBCC 000E8B2C 41 82 00 7C */ beq lbl_800EBC48 -/* 800EBBD0 000E8B30 28 00 00 00 */ cmplwi r0, 0 -/* 800EBBD4 000E8B34 41 82 00 48 */ beq lbl_800EBC1C -/* 800EBBD8 000E8B38 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 800EBBDC 000E8B3C 28 00 00 00 */ cmplwi r0, 0 -/* 800EBBE0 000E8B40 40 82 00 28 */ bne lbl_800EBC08 -/* 800EBBE4 000E8B44 28 1D 00 00 */ cmplwi r29, 0 -/* 800EBBE8 000E8B48 41 82 00 14 */ beq lbl_800EBBFC -/* 800EBBEC 000E8B4C 7F A3 EB 78 */ mr r3, r29 -/* 800EBBF0 000E8B50 48 25 52 B9 */ bl __ct__6CTokenFRC6CToken -/* 800EBBF4 000E8B54 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 800EBBF8 000E8B58 90 1D 00 08 */ stw r0, 8(r29) -lbl_800EBBFC: -/* 800EBBFC 000E8B5C 38 00 00 01 */ li r0, 1 -/* 800EBC00 000E8B60 98 1D 00 0C */ stb r0, 0xc(r29) -/* 800EBC04 000E8B64 48 00 00 44 */ b lbl_800EBC48 -lbl_800EBC08: -/* 800EBC08 000E8B68 7F A3 EB 78 */ mr r3, r29 -/* 800EBC0C 000E8B6C 48 25 50 B9 */ bl __as__6CTokenFRC6CToken -/* 800EBC10 000E8B70 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 800EBC14 000E8B74 90 1D 00 08 */ stw r0, 8(r29) -/* 800EBC18 000E8B78 48 00 00 30 */ b lbl_800EBC48 -lbl_800EBC1C: -/* 800EBC1C 000E8B7C 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 800EBC20 000E8B80 28 00 00 00 */ cmplwi r0, 0 -/* 800EBC24 000E8B84 41 82 00 1C */ beq lbl_800EBC40 -/* 800EBC28 000E8B88 28 1D 00 00 */ cmplwi r29, 0 -/* 800EBC2C 000E8B8C 41 82 00 14 */ beq lbl_800EBC40 -/* 800EBC30 000E8B90 41 82 00 10 */ beq lbl_800EBC40 -/* 800EBC34 000E8B94 7F A3 EB 78 */ mr r3, r29 -/* 800EBC38 000E8B98 38 80 00 00 */ li r4, 0 -/* 800EBC3C 000E8B9C 48 25 52 05 */ bl __dt__6CTokenFv -lbl_800EBC40: -/* 800EBC40 000E8BA0 38 00 00 00 */ li r0, 0 -/* 800EBC44 000E8BA4 98 1D 00 0C */ stb r0, 0xc(r29) -lbl_800EBC48: -/* 800EBC48 000E8BA8 88 01 00 40 */ lbz r0, 0x40(r1) -/* 800EBC4C 000E8BAC 28 00 00 00 */ cmplwi r0, 0 -/* 800EBC50 000E8BB0 41 82 00 1C */ beq lbl_800EBC6C -/* 800EBC54 000E8BB4 34 61 00 34 */ addic. r3, r1, 0x34 -/* 800EBC58 000E8BB8 41 82 00 14 */ beq lbl_800EBC6C -/* 800EBC5C 000E8BBC 28 03 00 00 */ cmplwi r3, 0 -/* 800EBC60 000E8BC0 41 82 00 0C */ beq lbl_800EBC6C -/* 800EBC64 000E8BC4 38 80 00 00 */ li r4, 0 -/* 800EBC68 000E8BC8 48 25 51 D9 */ bl __dt__6CTokenFv -lbl_800EBC6C: -/* 800EBC6C 000E8BCC 38 00 00 00 */ li r0, 0 -/* 800EBC70 000E8BD0 98 01 00 40 */ stb r0, 0x40(r1) -lbl_800EBC74: -/* 800EBC74 000E8BD4 93 DD 00 14 */ stw r30, 0x14(r29) -/* 800EBC78 000E8BD8 93 DD 00 10 */ stw r30, 0x10(r29) -/* 800EBC7C 000E8BDC 9B FD 00 2C */ stb r31, 0x2c(r29) -/* 800EBC80 000E8BE0 48 00 01 38 */ b lbl_800EBDB8 -lbl_800EBC84: -/* 800EBC84 000E8BE4 9B FD 00 2C */ stb r31, 0x2c(r29) -/* 800EBC88 000E8BE8 D0 5D 00 24 */ stfs f2, 0x24(r29) -/* 800EBC8C 000E8BEC D0 5D 00 28 */ stfs f2, 0x28(r29) -/* 800EBC90 000E8BF0 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 800EBC94 000E8BF4 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 800EBC98 000E8BF8 D0 3D 00 20 */ stfs f1, 0x20(r29) -/* 800EBC9C 000E8BFC 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 800EBCA0 000E8C00 7C 1E 00 00 */ cmpw r30, r0 -/* 800EBCA4 000E8C04 41 82 01 14 */ beq lbl_800EBDB8 -/* 800EBCA8 000E8C08 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 800EBCAC 000E8C0C 2C 00 00 00 */ cmpwi r0, 0 -/* 800EBCB0 000E8C10 40 82 01 04 */ bne lbl_800EBDB4 -/* 800EBCB4 000E8C14 88 1D 00 2C */ lbz r0, 0x2c(r29) -/* 800EBCB8 000E8C18 28 00 00 00 */ cmplwi r0, 0 -/* 800EBCBC 000E8C1C 41 82 00 08 */ beq lbl_800EBCC4 -/* 800EBCC0 000E8C20 4B FF EC 95 */ bl AllocatePersistentFbTexture__15CCameraBlurPassFv -lbl_800EBCC4: -/* 800EBCC4 000E8C24 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 800EBCC8 000E8C28 3C 80 80 3D */ lis r4, lbl_803CE6A8@ha -/* 800EBCCC 000E8C2C 3C 60 80 3D */ lis r3, lbl_803CE738@ha -/* 800EBCD0 000E8C30 54 00 10 3A */ slwi r0, r0, 2 -/* 800EBCD4 000E8C34 38 A4 E6 A8 */ addi r5, r4, lbl_803CE6A8@l -/* 800EBCD8 000E8C38 38 83 E7 38 */ addi r4, r3, lbl_803CE738@l -/* 800EBCDC 000E8C3C 7C 65 00 2E */ lwzx r3, r5, r0 -/* 800EBCE0 000E8C40 38 84 01 B9 */ addi r4, r4, 0x1b9 -/* 800EBCE4 000E8C44 48 2A 42 B9 */ bl strcmp -/* 800EBCE8 000E8C48 2C 03 00 00 */ cmpwi r3, 0 -/* 800EBCEC 000E8C4C 41 82 00 C4 */ beq lbl_800EBDB0 -/* 800EBCF0 000E8C50 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EBCF4 000E8C54 3C 60 80 3D */ lis r3, lbl_803CE6A8@ha -/* 800EBCF8 000E8C58 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 800EBCFC 000E8C5C 38 A3 E6 A8 */ addi r5, r3, lbl_803CE6A8@l -/* 800EBD00 000E8C60 81 84 00 00 */ lwz r12, 0(r4) -/* 800EBD04 000E8C64 38 61 00 10 */ addi r3, r1, 0x10 -/* 800EBD08 000E8C68 54 00 10 3A */ slwi r0, r0, 2 -/* 800EBD0C 000E8C6C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EBD10 000E8C70 7C A5 00 2E */ lwzx r5, r5, r0 -/* 800EBD14 000E8C74 7D 89 03 A6 */ mtctr r12 -/* 800EBD18 000E8C78 4E 80 04 21 */ bctrl -/* 800EBD1C 000E8C7C 38 61 00 08 */ addi r3, r1, 8 -/* 800EBD20 000E8C80 38 81 00 10 */ addi r4, r1, 0x10 -/* 800EBD24 000E8C84 48 25 51 85 */ bl __ct__6CTokenFRC6CToken -/* 800EBD28 000E8C88 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EBD2C 000E8C8C 38 81 00 08 */ addi r4, r1, 8 -/* 800EBD30 000E8C90 48 25 51 79 */ bl __ct__6CTokenFRC6CToken -/* 800EBD34 000E8C94 38 00 00 00 */ li r0, 0 -/* 800EBD38 000E8C98 90 01 00 30 */ stw r0, 0x30(r1) -/* 800EBD3C 000E8C9C 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 800EBD40 000E8CA0 28 00 00 00 */ cmplwi r0, 0 -/* 800EBD44 000E8CA4 40 82 00 2C */ bne lbl_800EBD70 -/* 800EBD48 000E8CA8 28 1D 00 00 */ cmplwi r29, 0 -/* 800EBD4C 000E8CAC 41 82 00 18 */ beq lbl_800EBD64 -/* 800EBD50 000E8CB0 7F A3 EB 78 */ mr r3, r29 -/* 800EBD54 000E8CB4 38 81 00 28 */ addi r4, r1, 0x28 -/* 800EBD58 000E8CB8 48 25 51 51 */ bl __ct__6CTokenFRC6CToken -/* 800EBD5C 000E8CBC 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800EBD60 000E8CC0 90 1D 00 08 */ stw r0, 8(r29) -lbl_800EBD64: -/* 800EBD64 000E8CC4 38 00 00 01 */ li r0, 1 -/* 800EBD68 000E8CC8 98 1D 00 0C */ stb r0, 0xc(r29) -/* 800EBD6C 000E8CCC 48 00 00 18 */ b lbl_800EBD84 -lbl_800EBD70: -/* 800EBD70 000E8CD0 7F A3 EB 78 */ mr r3, r29 -/* 800EBD74 000E8CD4 38 81 00 28 */ addi r4, r1, 0x28 -/* 800EBD78 000E8CD8 48 25 4F 4D */ bl __as__6CTokenFRC6CToken -/* 800EBD7C 000E8CDC 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800EBD80 000E8CE0 90 1D 00 08 */ stw r0, 8(r29) -lbl_800EBD84: -/* 800EBD84 000E8CE4 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EBD88 000E8CE8 38 80 00 00 */ li r4, 0 -/* 800EBD8C 000E8CEC 48 25 50 B5 */ bl __dt__6CTokenFv -/* 800EBD90 000E8CF0 38 61 00 08 */ addi r3, r1, 8 -/* 800EBD94 000E8CF4 38 80 00 00 */ li r4, 0 -/* 800EBD98 000E8CF8 48 25 50 A9 */ bl __dt__6CTokenFv -/* 800EBD9C 000E8CFC 38 61 00 10 */ addi r3, r1, 0x10 -/* 800EBDA0 000E8D00 38 80 FF FF */ li r4, -1 -/* 800EBDA4 000E8D04 48 25 50 9D */ bl __dt__6CTokenFv -/* 800EBDA8 000E8D08 7F A3 EB 78 */ mr r3, r29 -/* 800EBDAC 000E8D0C 48 25 4F D9 */ bl Lock__6CTokenFv -lbl_800EBDB0: -/* 800EBDB0 000E8D10 93 DD 00 10 */ stw r30, 0x10(r29) -lbl_800EBDB4: -/* 800EBDB4 000E8D14 93 DD 00 14 */ stw r30, 0x14(r29) -lbl_800EBDB8: -/* 800EBDB8 000E8D18 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800EBDBC 000E8D1C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800EBDC0 000E8D20 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800EBDC4 000E8D24 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 800EBDC8 000E8D28 83 81 00 60 */ lwz r28, 0x60(r1) -/* 800EBDCC 000E8D2C 7C 08 03 A6 */ mtlr r0 -/* 800EBDD0 000E8D30 38 21 00 70 */ addi r1, r1, 0x70 -/* 800EBDD4 000E8D34 4E 80 00 20 */ blr - -.global Update__15CCameraBlurPassFf -Update__15CCameraBlurPassFf: -/* 800EBDD8 000E8D38 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800EBDDC 000E8D3C 7C 08 02 A6 */ mflr r0 -/* 800EBDE0 000E8D40 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EBDE4 000E8D44 90 01 00 44 */ stw r0, 0x44(r1) -/* 800EBDE8 000E8D48 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800EBDEC 000E8D4C 7C 7F 1B 78 */ mr r31, r3 -/* 800EBDF0 000E8D50 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800EBDF4 000E8D54 C0 43 00 28 */ lfs f2, 0x28(r3) -/* 800EBDF8 000E8D58 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800EBDFC 000E8D5C 40 81 02 28 */ ble lbl_800EC024 -/* 800EBE00 000E8D60 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800EBE04 000E8D64 C0 0D 88 1C */ lfs f0, lbl_805A73DC@sda21(r13) -/* 800EBE08 000E8D68 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800EBE0C 000E8D6C D0 21 00 08 */ stfs f1, 8(r1) -/* 800EBE10 000E8D70 40 80 00 0C */ bge lbl_800EBE1C -/* 800EBE14 000E8D74 38 61 00 08 */ addi r3, r1, 8 -/* 800EBE18 000E8D78 48 00 00 08 */ b lbl_800EBE20 -lbl_800EBE1C: -/* 800EBE1C 000E8D7C 38 6D 88 1C */ addi r3, r13, lbl_805A73DC@sda21 -lbl_800EBE20: -/* 800EBE20 000E8D80 C0 03 00 00 */ lfs f0, 0(r3) -/* 800EBE24 000E8D84 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EBE28 000E8D88 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 800EBE2C 000E8D8C C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800EBE30 000E8D90 C0 9F 00 28 */ lfs f4, 0x28(r31) -/* 800EBE34 000E8D94 C0 7F 00 24 */ lfs f3, 0x24(r31) -/* 800EBE38 000E8D98 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 800EBE3C 000E8D9C EC 84 18 24 */ fdivs f4, f4, f3 -/* 800EBE40 000E8DA0 C0 7F 00 20 */ lfs f3, 0x20(r31) -/* 800EBE44 000E8DA4 EC 42 20 28 */ fsubs f2, f2, f4 -/* 800EBE48 000E8DA8 EC 00 01 32 */ fmuls f0, f0, f4 -/* 800EBE4C 000E8DAC EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 800EBE50 000E8DB0 D0 1F 00 1C */ stfs f0, 0x1c(r31) -/* 800EBE54 000E8DB4 C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 800EBE58 000E8DB8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800EBE5C 000E8DBC 40 82 01 C8 */ bne lbl_800EC024 -/* 800EBE60 000E8DC0 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 800EBE64 000E8DC4 2C 00 00 00 */ cmpwi r0, 0 -/* 800EBE68 000E8DC8 40 82 00 24 */ bne lbl_800EBE8C -/* 800EBE6C 000E8DCC 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 800EBE70 000E8DD0 2C 00 00 00 */ cmpwi r0, 0 -/* 800EBE74 000E8DD4 41 82 00 18 */ beq lbl_800EBE8C -/* 800EBE78 000E8DD8 88 1F 00 2C */ lbz r0, 0x2c(r31) -/* 800EBE7C 000E8DDC 28 00 00 00 */ cmplwi r0, 0 -/* 800EBE80 000E8DE0 41 82 00 0C */ beq lbl_800EBE8C -/* 800EBE84 000E8DE4 7F E3 FB 78 */ mr r3, r31 -/* 800EBE88 000E8DE8 4B FF EA C1 */ bl FreePersistentFbTexture__15CCameraBlurPassFv -lbl_800EBE8C: -/* 800EBE8C 000E8DEC 38 81 00 28 */ addi r4, r1, 0x28 -/* 800EBE90 000E8DF0 38 00 00 00 */ li r0, 0 -/* 800EBE94 000E8DF4 7C 1F 20 40 */ cmplw r31, r4 -/* 800EBE98 000E8DF8 98 01 00 34 */ stb r0, 0x34(r1) -/* 800EBE9C 000E8DFC 41 82 00 7C */ beq lbl_800EBF18 -/* 800EBEA0 000E8E00 28 00 00 00 */ cmplwi r0, 0 -/* 800EBEA4 000E8E04 41 82 00 48 */ beq lbl_800EBEEC -/* 800EBEA8 000E8E08 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 800EBEAC 000E8E0C 28 00 00 00 */ cmplwi r0, 0 -/* 800EBEB0 000E8E10 40 82 00 28 */ bne lbl_800EBED8 -/* 800EBEB4 000E8E14 28 1F 00 00 */ cmplwi r31, 0 -/* 800EBEB8 000E8E18 41 82 00 14 */ beq lbl_800EBECC -/* 800EBEBC 000E8E1C 7F E3 FB 78 */ mr r3, r31 -/* 800EBEC0 000E8E20 48 25 4F E9 */ bl __ct__6CTokenFRC6CToken -/* 800EBEC4 000E8E24 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800EBEC8 000E8E28 90 1F 00 08 */ stw r0, 8(r31) -lbl_800EBECC: -/* 800EBECC 000E8E2C 38 00 00 01 */ li r0, 1 -/* 800EBED0 000E8E30 98 1F 00 0C */ stb r0, 0xc(r31) -/* 800EBED4 000E8E34 48 00 00 44 */ b lbl_800EBF18 -lbl_800EBED8: -/* 800EBED8 000E8E38 7F E3 FB 78 */ mr r3, r31 -/* 800EBEDC 000E8E3C 48 25 4D E9 */ bl __as__6CTokenFRC6CToken -/* 800EBEE0 000E8E40 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800EBEE4 000E8E44 90 1F 00 08 */ stw r0, 8(r31) -/* 800EBEE8 000E8E48 48 00 00 30 */ b lbl_800EBF18 -lbl_800EBEEC: -/* 800EBEEC 000E8E4C 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 800EBEF0 000E8E50 28 00 00 00 */ cmplwi r0, 0 -/* 800EBEF4 000E8E54 41 82 00 1C */ beq lbl_800EBF10 -/* 800EBEF8 000E8E58 28 1F 00 00 */ cmplwi r31, 0 -/* 800EBEFC 000E8E5C 41 82 00 14 */ beq lbl_800EBF10 -/* 800EBF00 000E8E60 41 82 00 10 */ beq lbl_800EBF10 -/* 800EBF04 000E8E64 7F E3 FB 78 */ mr r3, r31 -/* 800EBF08 000E8E68 38 80 00 00 */ li r4, 0 -/* 800EBF0C 000E8E6C 48 25 4F 35 */ bl __dt__6CTokenFv -lbl_800EBF10: -/* 800EBF10 000E8E70 38 00 00 00 */ li r0, 0 -/* 800EBF14 000E8E74 98 1F 00 0C */ stb r0, 0xc(r31) -lbl_800EBF18: -/* 800EBF18 000E8E78 88 01 00 34 */ lbz r0, 0x34(r1) -/* 800EBF1C 000E8E7C 28 00 00 00 */ cmplwi r0, 0 -/* 800EBF20 000E8E80 41 82 00 1C */ beq lbl_800EBF3C -/* 800EBF24 000E8E84 34 61 00 28 */ addic. r3, r1, 0x28 -/* 800EBF28 000E8E88 41 82 00 14 */ beq lbl_800EBF3C -/* 800EBF2C 000E8E8C 28 03 00 00 */ cmplwi r3, 0 -/* 800EBF30 000E8E90 41 82 00 0C */ beq lbl_800EBF3C -/* 800EBF34 000E8E94 38 80 00 00 */ li r4, 0 -/* 800EBF38 000E8E98 48 25 4F 09 */ bl __dt__6CTokenFv -lbl_800EBF3C: -/* 800EBF3C 000E8E9C 38 00 00 00 */ li r0, 0 -/* 800EBF40 000E8EA0 3C 80 80 3D */ lis r4, lbl_803CE6A8@ha -/* 800EBF44 000E8EA4 98 01 00 34 */ stb r0, 0x34(r1) -/* 800EBF48 000E8EA8 3C 60 80 3D */ lis r3, lbl_803CE738@ha -/* 800EBF4C 000E8EAC 38 63 E7 38 */ addi r3, r3, lbl_803CE738@l -/* 800EBF50 000E8EB0 38 A4 E6 A8 */ addi r5, r4, lbl_803CE6A8@l -/* 800EBF54 000E8EB4 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 800EBF58 000E8EB8 38 83 01 B9 */ addi r4, r3, 0x1b9 -/* 800EBF5C 000E8EBC 54 00 10 3A */ slwi r0, r0, 2 -/* 800EBF60 000E8EC0 7F C5 00 2E */ lwzx r30, r5, r0 -/* 800EBF64 000E8EC4 7F C3 F3 78 */ mr r3, r30 -/* 800EBF68 000E8EC8 48 2A 40 35 */ bl strcmp -/* 800EBF6C 000E8ECC 2C 03 00 00 */ cmpwi r3, 0 -/* 800EBF70 000E8ED0 41 82 00 AC */ beq lbl_800EC01C -/* 800EBF74 000E8ED4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EBF78 000E8ED8 7F C5 F3 78 */ mr r5, r30 -/* 800EBF7C 000E8EDC 38 61 00 14 */ addi r3, r1, 0x14 -/* 800EBF80 000E8EE0 81 84 00 00 */ lwz r12, 0(r4) -/* 800EBF84 000E8EE4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EBF88 000E8EE8 7D 89 03 A6 */ mtctr r12 -/* 800EBF8C 000E8EEC 4E 80 04 21 */ bctrl -/* 800EBF90 000E8EF0 38 61 00 0C */ addi r3, r1, 0xc -/* 800EBF94 000E8EF4 38 81 00 14 */ addi r4, r1, 0x14 -/* 800EBF98 000E8EF8 48 25 4F 11 */ bl __ct__6CTokenFRC6CToken -/* 800EBF9C 000E8EFC 38 61 00 1C */ addi r3, r1, 0x1c -/* 800EBFA0 000E8F00 38 81 00 0C */ addi r4, r1, 0xc -/* 800EBFA4 000E8F04 48 25 4F 05 */ bl __ct__6CTokenFRC6CToken -/* 800EBFA8 000E8F08 38 00 00 00 */ li r0, 0 -/* 800EBFAC 000E8F0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EBFB0 000E8F10 88 1F 00 0C */ lbz r0, 0xc(r31) -/* 800EBFB4 000E8F14 28 00 00 00 */ cmplwi r0, 0 -/* 800EBFB8 000E8F18 40 82 00 2C */ bne lbl_800EBFE4 -/* 800EBFBC 000E8F1C 28 1F 00 00 */ cmplwi r31, 0 -/* 800EBFC0 000E8F20 41 82 00 18 */ beq lbl_800EBFD8 -/* 800EBFC4 000E8F24 7F E3 FB 78 */ mr r3, r31 -/* 800EBFC8 000E8F28 38 81 00 1C */ addi r4, r1, 0x1c -/* 800EBFCC 000E8F2C 48 25 4E DD */ bl __ct__6CTokenFRC6CToken -/* 800EBFD0 000E8F30 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EBFD4 000E8F34 90 1F 00 08 */ stw r0, 8(r31) -lbl_800EBFD8: -/* 800EBFD8 000E8F38 38 00 00 01 */ li r0, 1 -/* 800EBFDC 000E8F3C 98 1F 00 0C */ stb r0, 0xc(r31) -/* 800EBFE0 000E8F40 48 00 00 18 */ b lbl_800EBFF8 -lbl_800EBFE4: -/* 800EBFE4 000E8F44 7F E3 FB 78 */ mr r3, r31 -/* 800EBFE8 000E8F48 38 81 00 1C */ addi r4, r1, 0x1c -/* 800EBFEC 000E8F4C 48 25 4C D9 */ bl __as__6CTokenFRC6CToken -/* 800EBFF0 000E8F50 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EBFF4 000E8F54 90 1F 00 08 */ stw r0, 8(r31) -lbl_800EBFF8: -/* 800EBFF8 000E8F58 38 61 00 1C */ addi r3, r1, 0x1c -/* 800EBFFC 000E8F5C 38 80 00 00 */ li r4, 0 -/* 800EC000 000E8F60 48 25 4E 41 */ bl __dt__6CTokenFv -/* 800EC004 000E8F64 38 61 00 0C */ addi r3, r1, 0xc -/* 800EC008 000E8F68 38 80 00 00 */ li r4, 0 -/* 800EC00C 000E8F6C 48 25 4E 35 */ bl __dt__6CTokenFv -/* 800EC010 000E8F70 38 61 00 14 */ addi r3, r1, 0x14 -/* 800EC014 000E8F74 38 80 FF FF */ li r4, -1 -/* 800EC018 000E8F78 48 25 4E 29 */ bl __dt__6CTokenFv -lbl_800EC01C: -/* 800EC01C 000E8F7C 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 800EC020 000E8F80 90 1F 00 10 */ stw r0, 0x10(r31) -lbl_800EC024: -/* 800EC024 000E8F84 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800EC028 000E8F88 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800EC02C 000E8F8C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800EC030 000E8F90 7C 08 03 A6 */ mtlr r0 -/* 800EC034 000E8F94 38 21 00 40 */ addi r1, r1, 0x40 -/* 800EC038 000E8F98 4E 80 00 20 */ blr - -.global __ct__15CCameraBlurPassFv -__ct__15CCameraBlurPassFv: -/* 800EC03C 000E8F9C 38 00 00 00 */ li r0, 0 -/* 800EC040 000E8FA0 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC044 000E8FA4 98 03 00 0C */ stb r0, 0xc(r3) -/* 800EC048 000E8FA8 90 03 00 10 */ stw r0, 0x10(r3) -/* 800EC04C 000E8FAC 90 03 00 14 */ stw r0, 0x14(r3) -/* 800EC050 000E8FB0 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 800EC054 000E8FB4 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 800EC058 000E8FB8 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 800EC05C 000E8FBC D0 03 00 24 */ stfs f0, 0x24(r3) -/* 800EC060 000E8FC0 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 800EC064 000E8FC4 98 03 00 2C */ stb r0, 0x2c(r3) -/* 800EC068 000E8FC8 98 03 00 2D */ stb r0, 0x2d(r3) -/* 800EC06C 000E8FCC 90 03 00 30 */ stw r0, 0x30(r3) -/* 800EC070 000E8FD0 4E 80 00 20 */ blr - -.global DrawFilterShape__17CCameraFilterPassFQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -DrawFilterShape__17CCameraFilterPassFQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef: -/* 800EC074 000E8FD4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EC078 000E8FD8 7C 08 02 A6 */ mflr r0 -/* 800EC07C 000E8FDC 28 03 00 08 */ cmplwi r3, 8 -/* 800EC080 000E8FE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EC084 000E8FE4 41 81 00 3C */ bgt lbl_800EC0C0 -/* 800EC088 000E8FE8 3C C0 80 3E */ lis r6, lbl_803DFCC0@ha -/* 800EC08C 000E8FEC 54 60 10 3A */ slwi r0, r3, 2 -/* 800EC090 000E8FF0 38 66 FC C0 */ addi r3, r6, lbl_803DFCC0@l -/* 800EC094 000E8FF4 7C 03 00 2E */ lwzx r0, r3, r0 -/* 800EC098 000E8FF8 7C 09 03 A6 */ mtctr r0 -/* 800EC09C 000E8FFC 4E 80 04 20 */ bctr -/* 800EC0A0 000E9000 7C 83 23 78 */ mr r3, r4 -/* 800EC0A4 000E9004 38 80 00 01 */ li r4, 1 -/* 800EC0A8 000E9008 48 00 09 4D */ bl DrawScanLines__17CCameraFilterPassFRC6CColorb -/* 800EC0AC 000E900C 48 00 00 8C */ b lbl_800EC138 -/* 800EC0B0 000E9010 7C 83 23 78 */ mr r3, r4 -/* 800EC0B4 000E9014 38 80 00 00 */ li r4, 0 -/* 800EC0B8 000E9018 48 00 09 3D */ bl DrawScanLines__17CCameraFilterPassFRC6CColorb -/* 800EC0BC 000E901C 48 00 00 7C */ b lbl_800EC138 -lbl_800EC0C0: -/* 800EC0C0 000E9020 28 05 00 00 */ cmplwi r5, 0 -/* 800EC0C4 000E9024 41 82 00 14 */ beq lbl_800EC0D8 -/* 800EC0C8 000E9028 7C 83 23 78 */ mr r3, r4 -/* 800EC0CC 000E902C 7C A4 2B 78 */ mr r4, r5 -/* 800EC0D0 000E9030 48 00 0D A5 */ bl DrawFullScreenTexturedQuad__17CCameraFilterPassFRC6CColorPC8CTexturef -/* 800EC0D4 000E9034 48 00 00 64 */ b lbl_800EC138 -lbl_800EC0D8: -/* 800EC0D8 000E9038 7C 83 23 78 */ mr r3, r4 -/* 800EC0DC 000E903C 48 00 0F 85 */ bl DrawFullScreenColoredQuad__17CCameraFilterPassFRC6CColor -/* 800EC0E0 000E9040 48 00 00 58 */ b lbl_800EC138 -/* 800EC0E4 000E9044 28 05 00 00 */ cmplwi r5, 0 -/* 800EC0E8 000E9048 41 82 00 14 */ beq lbl_800EC0FC -/* 800EC0EC 000E904C 7C 83 23 78 */ mr r3, r4 -/* 800EC0F0 000E9050 7C A4 2B 78 */ mr r4, r5 -/* 800EC0F4 000E9054 48 00 0B 69 */ bl DrawFullScreenTexturedQuadQuarters__17CCameraFilterPassFRC6CColorPC8CTexturef -/* 800EC0F8 000E9058 48 00 00 40 */ b lbl_800EC138 -lbl_800EC0FC: -/* 800EC0FC 000E905C 7C 83 23 78 */ mr r3, r4 -/* 800EC100 000E9060 48 00 0F 61 */ bl DrawFullScreenColoredQuad__17CCameraFilterPassFRC6CColor -/* 800EC104 000E9064 48 00 00 34 */ b lbl_800EC138 -/* 800EC108 000E9068 7C 83 23 78 */ mr r3, r4 -/* 800EC10C 000E906C 7C A4 2B 78 */ mr r4, r5 -/* 800EC110 000E9070 48 00 05 11 */ bl DrawWideScreen__17CCameraFilterPassFRC6CColorPC8CTexturef -/* 800EC114 000E9074 48 00 00 24 */ b lbl_800EC138 -/* 800EC118 000E9078 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) -/* 800EC11C 000E907C 7C 83 23 78 */ mr r3, r4 -/* 800EC120 000E9080 38 80 00 00 */ li r4, 0 -/* 800EC124 000E9084 48 00 01 CD */ bl DrawRandomStatic__17CCameraFilterPassFRC6CColorfb -/* 800EC128 000E9088 48 00 00 10 */ b lbl_800EC138 -/* 800EC12C 000E908C 7C 83 23 78 */ mr r3, r4 -/* 800EC130 000E9090 38 80 00 01 */ li r4, 1 -/* 800EC134 000E9094 48 00 01 BD */ bl DrawRandomStatic__17CCameraFilterPassFRC6CColorfb -lbl_800EC138: -/* 800EC138 000E9098 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EC13C 000E909C 7C 08 03 A6 */ mtlr r0 -/* 800EC140 000E90A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EC144 000E90A4 4E 80 00 20 */ blr - -.global DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef: -/* 800EC148 000E90A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800EC14C 000E90AC 7C 08 02 A6 */ mflr r0 -/* 800EC150 000E90B0 2C 03 00 00 */ cmpwi r3, 0 -/* 800EC154 000E90B4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EC158 000E90B8 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 800EC15C 000E90BC FF E0 08 90 */ fmr f31, f1 -/* 800EC160 000E90C0 93 E1 00 14 */ stw r31, 0x14(r1) -/* 800EC164 000E90C4 7C DF 33 78 */ mr r31, r6 -/* 800EC168 000E90C8 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800EC16C 000E90CC 7C BE 2B 78 */ mr r30, r5 -/* 800EC170 000E90D0 93 A1 00 0C */ stw r29, 0xc(r1) -/* 800EC174 000E90D4 7C 9D 23 78 */ mr r29, r4 -/* 800EC178 000E90D8 41 82 00 F8 */ beq lbl_800EC270 -/* 800EC17C 000E90DC 28 03 00 08 */ cmplwi r3, 8 -/* 800EC180 000E90E0 41 81 00 F0 */ bgt lbl_800EC270 -/* 800EC184 000E90E4 3C 80 80 3E */ lis r4, lbl_803DFCE4@ha -/* 800EC188 000E90E8 54 60 10 3A */ slwi r0, r3, 2 -/* 800EC18C 000E90EC 38 64 FC E4 */ addi r3, r4, lbl_803DFCE4@l -/* 800EC190 000E90F0 7C 03 00 2E */ lwzx r0, r3, r0 -/* 800EC194 000E90F4 7C 09 03 A6 */ mtctr r0 -/* 800EC198 000E90F8 4E 80 04 20 */ bctr -/* 800EC19C 000E90FC 48 00 00 D4 */ b lbl_800EC270 -/* 800EC1A0 000E9100 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC1A4 000E9104 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC1A8 000E9108 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 800EC1AC 000E910C 7D 89 03 A6 */ mtctr r12 -/* 800EC1B0 000E9110 4E 80 04 21 */ bctrl -/* 800EC1B4 000E9114 48 00 00 94 */ b lbl_800EC248 -/* 800EC1B8 000E9118 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC1BC 000E911C 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC1C0 000E9120 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 800EC1C4 000E9124 7D 89 03 A6 */ mtctr r12 -/* 800EC1C8 000E9128 4E 80 04 21 */ bctrl -/* 800EC1CC 000E912C 48 00 00 7C */ b lbl_800EC248 -/* 800EC1D0 000E9130 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC1D4 000E9134 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC1D8 000E9138 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800EC1DC 000E913C 7D 89 03 A6 */ mtctr r12 -/* 800EC1E0 000E9140 4E 80 04 21 */ bctrl -/* 800EC1E4 000E9144 48 00 00 64 */ b lbl_800EC248 -/* 800EC1E8 000E9148 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC1EC 000E914C 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC1F0 000E9150 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800EC1F4 000E9154 7D 89 03 A6 */ mtctr r12 -/* 800EC1F8 000E9158 4E 80 04 21 */ bctrl -/* 800EC1FC 000E915C 48 00 00 4C */ b lbl_800EC248 -/* 800EC200 000E9160 38 60 00 03 */ li r3, 3 -/* 800EC204 000E9164 38 80 00 01 */ li r4, 1 -/* 800EC208 000E9168 38 A0 00 01 */ li r5, 1 -/* 800EC20C 000E916C 38 C0 00 00 */ li r6, 0 -/* 800EC210 000E9170 48 21 C6 C1 */ bl SetBlendMode__3CGXF12_GXBlendMode14_GXBlendFactor14_GXBlendFactor10_GXLogicOp -/* 800EC214 000E9174 48 00 00 34 */ b lbl_800EC248 -/* 800EC218 000E9178 48 00 00 58 */ b lbl_800EC270 -/* 800EC21C 000E917C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC220 000E9180 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC224 000E9184 81 8C 00 80 */ lwz r12, 0x80(r12) -/* 800EC228 000E9188 7D 89 03 A6 */ mtctr r12 -/* 800EC22C 000E918C 4E 80 04 21 */ bctrl -/* 800EC230 000E9190 48 00 00 18 */ b lbl_800EC248 -/* 800EC234 000E9194 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC238 000E9198 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC23C 000E919C 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 800EC240 000E91A0 7D 89 03 A6 */ mtctr r12 -/* 800EC244 000E91A4 4E 80 04 21 */ bctrl -lbl_800EC248: -/* 800EC248 000E91A8 FC 20 F8 90 */ fmr f1, f31 -/* 800EC24C 000E91AC 7F A3 EB 78 */ mr r3, r29 -/* 800EC250 000E91B0 7F C4 F3 78 */ mr r4, r30 -/* 800EC254 000E91B4 7F E5 FB 78 */ mr r5, r31 -/* 800EC258 000E91B8 4B FF FE 1D */ bl DrawFilterShape__17CCameraFilterPassFQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -/* 800EC25C 000E91BC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC260 000E91C0 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC264 000E91C4 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800EC268 000E91C8 7D 89 03 A6 */ mtctr r12 -/* 800EC26C 000E91CC 4E 80 04 21 */ bctrl -lbl_800EC270: -/* 800EC270 000E91D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EC274 000E91D4 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 800EC278 000E91D8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 800EC27C 000E91DC 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 800EC280 000E91E0 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 800EC284 000E91E4 7C 08 03 A6 */ mtlr r0 -/* 800EC288 000E91E8 38 21 00 20 */ addi r1, r1, 0x20 -/* 800EC28C 000E91EC 4E 80 00 20 */ blr - -.global Draw__17CCameraFilterPassCFv -Draw__17CCameraFilterPassCFv: -/* 800EC290 000E91F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EC294 000E91F4 7C 08 02 A6 */ mflr r0 -/* 800EC298 000E91F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EC29C 000E91FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800EC2A0 000E9200 7C 7F 1B 78 */ mr r31, r3 -/* 800EC2A4 000E9204 80 03 00 04 */ lwz r0, 4(r3) -/* 800EC2A8 000E9208 7C 00 00 34 */ cntlzw r0, r0 -/* 800EC2AC 000E920C 54 04 D9 7E */ srwi r4, r0, 5 -/* 800EC2B0 000E9210 48 00 07 09 */ bl GetT__17CCameraFilterPassCFb -/* 800EC2B4 000E9214 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 800EC2B8 000E9218 28 03 00 00 */ cmplwi r3, 0 -/* 800EC2BC 000E921C 40 82 00 0C */ bne lbl_800EC2C8 -/* 800EC2C0 000E9220 38 C0 00 00 */ li r6, 0 -/* 800EC2C4 000E9224 48 00 00 08 */ b lbl_800EC2CC -lbl_800EC2C8: -/* 800EC2C8 000E9228 80 C3 00 08 */ lwz r6, 8(r3) -lbl_800EC2CC: -/* 800EC2CC 000E922C 80 7F 00 00 */ lwz r3, 0(r31) -/* 800EC2D0 000E9230 38 BF 00 18 */ addi r5, r31, 0x18 -/* 800EC2D4 000E9234 80 9F 00 08 */ lwz r4, 8(r31) -/* 800EC2D8 000E9238 4B FF FE 71 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -/* 800EC2DC 000E923C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EC2E0 000E9240 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800EC2E4 000E9244 7C 08 03 A6 */ mtlr r0 -/* 800EC2E8 000E9248 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EC2EC 000E924C 4E 80 00 20 */ blr - -.global DrawRandomStatic__17CCameraFilterPassFRC6CColorfb -DrawRandomStatic__17CCameraFilterPassFRC6CColorfb: -/* 800EC2F0 000E9250 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800EC2F4 000E9254 7C 08 02 A6 */ mflr r0 -/* 800EC2F8 000E9258 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800EC2FC 000E925C DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 800EC300 000E9260 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 800EC304 000E9264 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 800EC308 000E9268 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 800EC30C 000E926C DB A1 00 90 */ stfd f29, 0x90(r1) -/* 800EC310 000E9270 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 800EC314 000E9274 DB 81 00 80 */ stfd f28, 0x80(r1) -/* 800EC318 000E9278 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 800EC31C 000E927C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 800EC320 000E9280 93 C1 00 78 */ stw r30, 0x78(r1) -/* 800EC324 000E9284 7C 9F 23 78 */ mr r31, r4 -/* 800EC328 000E9288 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 800EC32C 000E928C FF 80 08 90 */ fmr f28, f1 -/* 800EC330 000E9290 7C 7E 1B 78 */ mr r30, r3 -/* 800EC334 000E9294 81 84 00 00 */ lwz r12, 0(r4) -/* 800EC338 000E9298 38 61 00 3C */ addi r3, r1, 0x3c -/* 800EC33C 000E929C C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800EC340 000E92A0 38 A0 00 01 */ li r5, 1 -/* 800EC344 000E92A4 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 800EC348 000E92A8 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC34C 000E92AC 7D 89 03 A6 */ mtctr r12 -/* 800EC350 000E92B0 4E 80 04 21 */ bctrl -/* 800EC354 000E92B4 C0 61 00 3C */ lfs f3, 0x3c(r1) -/* 800EC358 000E92B8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800EC35C 000E92BC C0 41 00 40 */ lfs f2, 0x40(r1) -/* 800EC360 000E92C0 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 800EC364 000E92C4 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 800EC368 000E92C8 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 800EC36C 000E92CC D0 41 00 50 */ stfs f2, 0x50(r1) -/* 800EC370 000E92D0 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 800EC374 000E92D4 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800EC378 000E92D8 41 82 00 C8 */ beq lbl_800EC440 -/* 800EC37C 000E92DC C0 02 90 DC */ lfs f0, lbl_805AADFC@sda21(r2) -/* 800EC380 000E92E0 C0 22 91 28 */ lfs f1, lbl_805AAE48@sda21(r2) -/* 800EC384 000E92E4 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 800EC388 000E92E8 EF E1 00 32 */ fmuls f31, f1, f0 -/* 800EC38C 000E92EC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800EC390 000E92F0 38 60 00 06 */ li r3, 6 -/* 800EC394 000E92F4 38 A0 00 00 */ li r5, 0 -/* 800EC398 000E92F8 38 C0 00 07 */ li r6, 7 -/* 800EC39C 000E92FC 88 81 00 08 */ lbz r4, 8(r1) -/* 800EC3A0 000E9300 38 E0 00 00 */ li r7, 0 -/* 800EC3A4 000E9304 48 21 F6 85 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 800EC3A8 000E9308 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC3AC 000E930C 38 80 00 01 */ li r4, 1 -/* 800EC3B0 000E9310 38 A0 00 01 */ li r5, 1 -/* 800EC3B4 000E9314 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC3B8 000E9318 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800EC3BC 000E931C 7D 89 03 A6 */ mtctr r12 -/* 800EC3C0 000E9320 4E 80 04 21 */ bctrl -/* 800EC3C4 000E9324 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 800EC3C8 000E9328 38 60 00 00 */ li r3, 0 -/* 800EC3CC 000E932C 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 800EC3D0 000E9330 48 21 DE E9 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800EC3D4 000E9334 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 800EC3D8 000E9338 38 60 00 01 */ li r3, 1 -/* 800EC3DC 000E933C 48 21 DE DD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800EC3E0 000E9340 C3 E1 00 50 */ lfs f31, 0x50(r1) -/* 800EC3E4 000E9344 C3 C1 00 58 */ lfs f30, 0x58(r1) -/* 800EC3E8 000E9348 C3 A1 00 4C */ lfs f29, 0x4c(r1) -/* 800EC3EC 000E934C C3 81 00 54 */ lfs f28, 0x54(r1) -/* 800EC3F0 000E9350 48 2A 3A 8D */ bl rand -/* 800EC3F4 000E9354 EC 3C E8 28 */ fsubs f1, f28, f29 -/* 800EC3F8 000E9358 C0 42 90 F0 */ lfs f2, lbl_805AAE10@sda21(r2) -/* 800EC3FC 000E935C EC 1E F8 28 */ fsubs f0, f30, f31 -/* 800EC400 000E9360 38 03 00 1F */ addi r0, r3, 0x1f -/* 800EC404 000E9364 54 03 00 34 */ rlwinm r3, r0, 0, 0, 0x1a -/* 800EC408 000E9368 38 A0 00 02 */ li r5, 2 -/* 800EC40C 000E936C EC 22 08 2A */ fadds f1, f2, f1 -/* 800EC410 000E9370 3C 63 00 01 */ addis r3, r3, 1 -/* 800EC414 000E9374 EC 02 00 2A */ fadds f0, f2, f0 -/* 800EC418 000E9378 38 C3 80 00 */ addi r6, r3, -32768 -/* 800EC41C 000E937C 38 E0 00 00 */ li r7, 0 -/* 800EC420 000E9380 FC 20 08 1E */ fctiwz f1, f1 -/* 800EC424 000E9384 FC 00 00 1E */ fctiwz f0, f0 -/* 800EC428 000E9388 D8 21 00 60 */ stfd f1, 0x60(r1) -/* 800EC42C 000E938C D8 01 00 68 */ stfd f0, 0x68(r1) -/* 800EC430 000E9390 80 61 00 64 */ lwz r3, 0x64(r1) -/* 800EC434 000E9394 80 81 00 6C */ lwz r4, 0x6c(r1) -/* 800EC438 000E9398 48 21 DB E9 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 800EC43C 000E939C 48 00 00 98 */ b lbl_800EC4D4 -lbl_800EC440: -/* 800EC440 000E93A0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC444 000E93A4 38 80 00 00 */ li r4, 0 -/* 800EC448 000E93A8 38 A0 00 00 */ li r5, 0 -/* 800EC44C 000E93AC 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC450 000E93B0 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800EC454 000E93B4 7D 89 03 A6 */ mtctr r12 -/* 800EC458 000E93B8 4E 80 04 21 */ bctrl -/* 800EC45C 000E93BC 3C 80 80 5A */ lis r4, lbl_805A6038@ha -/* 800EC460 000E93C0 38 60 00 00 */ li r3, 0 -/* 800EC464 000E93C4 38 84 60 38 */ addi r4, r4, lbl_805A6038@l -/* 800EC468 000E93C8 48 21 DE 51 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800EC46C 000E93CC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 800EC470 000E93D0 38 60 00 01 */ li r3, 1 -/* 800EC474 000E93D4 48 21 DE 45 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800EC478 000E93D8 C3 81 00 50 */ lfs f28, 0x50(r1) -/* 800EC47C 000E93DC C3 A1 00 58 */ lfs f29, 0x58(r1) -/* 800EC480 000E93E0 C3 C1 00 4C */ lfs f30, 0x4c(r1) -/* 800EC484 000E93E4 C3 E1 00 54 */ lfs f31, 0x54(r1) -/* 800EC488 000E93E8 48 2A 39 F5 */ bl rand -/* 800EC48C 000E93EC EC 3F F0 28 */ fsubs f1, f31, f30 -/* 800EC490 000E93F0 C0 42 90 F0 */ lfs f2, lbl_805AAE10@sda21(r2) -/* 800EC494 000E93F4 EC 1D E0 28 */ fsubs f0, f29, f28 -/* 800EC498 000E93F8 38 03 00 1F */ addi r0, r3, 0x1f -/* 800EC49C 000E93FC 54 03 00 34 */ rlwinm r3, r0, 0, 0, 0x1a -/* 800EC4A0 000E9400 38 A0 00 02 */ li r5, 2 -/* 800EC4A4 000E9404 EC 22 08 2A */ fadds f1, f2, f1 -/* 800EC4A8 000E9408 3C 63 00 01 */ addis r3, r3, 1 -/* 800EC4AC 000E940C EC 02 00 2A */ fadds f0, f2, f0 -/* 800EC4B0 000E9410 38 C3 80 00 */ addi r6, r3, -32768 -/* 800EC4B4 000E9414 38 E0 00 00 */ li r7, 0 -/* 800EC4B8 000E9418 FC 20 08 1E */ fctiwz f1, f1 -/* 800EC4BC 000E941C FC 00 00 1E */ fctiwz f0, f0 -/* 800EC4C0 000E9420 D8 21 00 68 */ stfd f1, 0x68(r1) -/* 800EC4C4 000E9424 D8 01 00 60 */ stfd f0, 0x60(r1) -/* 800EC4C8 000E9428 80 61 00 6C */ lwz r3, 0x6c(r1) -/* 800EC4CC 000E942C 80 81 00 64 */ lwz r4, 0x64(r1) -/* 800EC4D0 000E9430 48 21 DB 51 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -lbl_800EC4D4: -/* 800EC4D4 000E9434 38 60 00 98 */ li r3, 0x98 -/* 800EC4D8 000E9438 48 21 F1 91 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 800EC4DC 000E943C 7F C3 F3 78 */ mr r3, r30 -/* 800EC4E0 000E9440 48 21 F0 69 */ bl StreamColor__9CGraphicsFRC6CColor -/* 800EC4E4 000E9444 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800EC4E8 000E9448 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC4EC 000E944C 48 21 EF 79 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC4F0 000E9450 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC4F4 000E9454 38 61 00 30 */ addi r3, r1, 0x30 -/* 800EC4F8 000E9458 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 800EC4FC 000E945C C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 800EC500 000E9460 EC 62 00 2A */ fadds f3, f2, f0 -/* 800EC504 000E9464 C0 02 91 2C */ lfs f0, lbl_805AAE4C@sda21(r2) -/* 800EC508 000E9468 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800EC50C 000E946C D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800EC510 000E9470 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800EC514 000E9474 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 800EC518 000E9478 48 21 F0 A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC51C 000E947C C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800EC520 000E9480 FC 40 08 90 */ fmr f2, f1 -/* 800EC524 000E9484 48 21 EF 41 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC528 000E9488 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 800EC52C 000E948C 38 61 00 24 */ addi r3, r1, 0x24 -/* 800EC530 000E9490 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC534 000E9494 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 800EC538 000E9498 EC 60 10 28 */ fsubs f3, f0, f2 -/* 800EC53C 000E949C C0 02 91 2C */ lfs f0, lbl_805AAE4C@sda21(r2) -/* 800EC540 000E94A0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800EC544 000E94A4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800EC548 000E94A8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800EC54C 000E94AC D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 800EC550 000E94B0 48 21 F0 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC554 000E94B4 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) -/* 800EC558 000E94B8 FC 40 08 90 */ fmr f2, f1 -/* 800EC55C 000E94BC 48 21 EF 09 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC560 000E94C0 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC564 000E94C4 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EC568 000E94C8 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 800EC56C 000E94CC C0 21 00 54 */ lfs f1, 0x54(r1) -/* 800EC570 000E94D0 EC 62 00 2A */ fadds f3, f2, f0 -/* 800EC574 000E94D4 C0 02 91 2C */ lfs f0, lbl_805AAE4C@sda21(r2) -/* 800EC578 000E94D8 EC 22 08 2A */ fadds f1, f2, f1 -/* 800EC57C 000E94DC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800EC580 000E94E0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800EC584 000E94E4 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 800EC588 000E94E8 48 21 F0 39 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC58C 000E94EC C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) -/* 800EC590 000E94F0 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) -/* 800EC594 000E94F4 48 21 EE D1 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC598 000E94F8 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 800EC59C 000E94FC 38 61 00 0C */ addi r3, r1, 0xc -/* 800EC5A0 000E9500 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC5A4 000E9504 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 800EC5A8 000E9508 EC 60 10 28 */ fsubs f3, f0, f2 -/* 800EC5AC 000E950C C0 02 91 2C */ lfs f0, lbl_805AAE4C@sda21(r2) -/* 800EC5B0 000E9510 EC 22 08 2A */ fadds f1, f2, f1 -/* 800EC5B4 000E9514 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800EC5B8 000E9518 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800EC5BC 000E951C D0 61 00 14 */ stfs f3, 0x14(r1) -/* 800EC5C0 000E9520 48 21 F0 01 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC5C4 000E9524 48 21 EE 4D */ bl StreamEnd__9CGraphicsFv -/* 800EC5C8 000E9528 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800EC5CC 000E952C 41 82 00 1C */ beq lbl_800EC5E8 -/* 800EC5D0 000E9530 38 60 00 07 */ li r3, 7 -/* 800EC5D4 000E9534 38 80 00 00 */ li r4, 0 -/* 800EC5D8 000E9538 38 A0 00 00 */ li r5, 0 -/* 800EC5DC 000E953C 38 C0 00 07 */ li r6, 7 -/* 800EC5E0 000E9540 38 E0 00 00 */ li r7, 0 -/* 800EC5E4 000E9544 48 21 F4 45 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -lbl_800EC5E8: -/* 800EC5E8 000E9548 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 800EC5EC 000E954C CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 800EC5F0 000E9550 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 800EC5F4 000E9554 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 800EC5F8 000E9558 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 800EC5FC 000E955C CB A1 00 90 */ lfd f29, 0x90(r1) -/* 800EC600 000E9560 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 800EC604 000E9564 CB 81 00 80 */ lfd f28, 0x80(r1) -/* 800EC608 000E9568 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 800EC60C 000E956C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800EC610 000E9570 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 800EC614 000E9574 7C 08 03 A6 */ mtlr r0 -/* 800EC618 000E9578 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800EC61C 000E957C 4E 80 00 20 */ blr - -.global DrawWideScreen__17CCameraFilterPassFRC6CColorPC8CTexturef -DrawWideScreen__17CCameraFilterPassFRC6CColorPC8CTexturef: -/* 800EC620 000E9580 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 800EC624 000E9584 7C 08 02 A6 */ mflr r0 -/* 800EC628 000E9588 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 800EC62C 000E958C DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 800EC630 000E9590 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 800EC634 000E9594 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 800EC638 000E9598 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 800EC63C 000E959C DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 800EC640 000E95A0 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 800EC644 000E95A4 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 800EC648 000E95A8 93 C1 00 98 */ stw r30, 0x98(r1) -/* 800EC64C 000E95AC 7C 9E 23 78 */ mr r30, r4 -/* 800EC650 000E95B0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 800EC654 000E95B4 FF E0 08 90 */ fmr f31, f1 -/* 800EC658 000E95B8 7C 7F 1B 78 */ mr r31, r3 -/* 800EC65C 000E95BC 81 84 00 00 */ lwz r12, 0(r4) -/* 800EC660 000E95C0 38 61 00 68 */ addi r3, r1, 0x68 -/* 800EC664 000E95C4 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) -/* 800EC668 000E95C8 38 A0 00 01 */ li r5, 1 -/* 800EC66C 000E95CC 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 800EC670 000E95D0 C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) -/* 800EC674 000E95D4 7D 89 03 A6 */ mtctr r12 -/* 800EC678 000E95D8 4E 80 04 21 */ bctrl -/* 800EC67C 000E95DC C0 E1 00 68 */ lfs f7, 0x68(r1) -/* 800EC680 000E95E0 38 80 00 00 */ li r4, 0 -/* 800EC684 000E95E4 C0 A1 00 70 */ lfs f5, 0x70(r1) -/* 800EC688 000E95E8 38 A0 00 00 */ li r5, 0 -/* 800EC68C 000E95EC C0 C1 00 6C */ lfs f6, 0x6c(r1) -/* 800EC690 000E95F0 C0 81 00 74 */ lfs f4, 0x74(r1) -/* 800EC694 000E95F4 EC 45 38 28 */ fsubs f2, f5, f7 -/* 800EC698 000E95F8 C0 22 91 3C */ lfs f1, lbl_805AAE5C@sda21(r2) -/* 800EC69C 000E95FC EC 04 30 28 */ fsubs f0, f4, f6 -/* 800EC6A0 000E9600 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC6A4 000E9604 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800EC6A8 000E9608 C0 42 91 38 */ lfs f2, lbl_805AAE58@sda21(r2) -/* 800EC6AC 000E960C 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC6B0 000E9610 C0 62 90 E4 */ lfs f3, lbl_805AAE04@sda21(r2) -/* 800EC6B4 000E9614 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 -/* 800EC6B8 000E9618 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800EC6BC 000E961C D0 E1 00 78 */ stfs f7, 0x78(r1) -/* 800EC6C0 000E9620 EF C3 00 32 */ fmuls f30, f3, f0 -/* 800EC6C4 000E9624 D0 C1 00 7C */ stfs f6, 0x7c(r1) -/* 800EC6C8 000E9628 D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 800EC6CC 000E962C D0 81 00 84 */ stfs f4, 0x84(r1) -/* 800EC6D0 000E9630 7D 89 03 A6 */ mtctr r12 -/* 800EC6D4 000E9634 4E 80 04 21 */ bctrl -/* 800EC6D8 000E9638 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800EC6DC 000E963C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800EC6E0 000E9640 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 800EC6E4 000E9644 81 83 00 00 */ lwz r12, 0(r3) -/* 800EC6E8 000E9648 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800EC6EC 000E964C 7D 89 03 A6 */ mtctr r12 -/* 800EC6F0 000E9650 4E 80 04 21 */ bctrl -/* 800EC6F4 000E9654 28 1E 00 00 */ cmplwi r30, 0 -/* 800EC6F8 000E9658 41 82 00 14 */ beq lbl_800EC70C -/* 800EC6FC 000E965C 7F C3 F3 78 */ mr r3, r30 -/* 800EC700 000E9660 38 80 00 00 */ li r4, 0 -/* 800EC704 000E9664 38 A0 00 01 */ li r5, 1 -/* 800EC708 000E9668 48 22 30 35 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -lbl_800EC70C: -/* 800EC70C 000E966C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 800EC710 000E9670 38 60 00 00 */ li r3, 0 -/* 800EC714 000E9674 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 800EC718 000E9678 48 21 DB A1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800EC71C 000E967C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 800EC720 000E9680 38 60 00 01 */ li r3, 1 -/* 800EC724 000E9684 48 21 DB 95 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800EC728 000E9688 38 60 00 98 */ li r3, 0x98 -/* 800EC72C 000E968C 48 21 EF 3D */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 800EC730 000E9690 48 2A 37 4D */ bl rand -/* 800EC734 000E9694 54 60 90 1A */ slwi r0, r3, 0x12 -/* 800EC738 000E9698 54 64 0F FE */ srwi r4, r3, 0x1f -/* 800EC73C 000E969C 7C 64 00 50 */ subf r3, r4, r0 -/* 800EC740 000E96A0 3C 00 43 30 */ lis r0, 0x4330 -/* 800EC744 000E96A4 54 63 70 3E */ rotlwi r3, r3, 0xe -/* 800EC748 000E96A8 90 01 00 88 */ stw r0, 0x88(r1) -/* 800EC74C 000E96AC 7C 03 22 14 */ add r0, r3, r4 -/* 800EC750 000E96B0 C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) -/* 800EC754 000E96B4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800EC758 000E96B8 C0 02 91 40 */ lfs f0, lbl_805AAE60@sda21(r2) -/* 800EC75C 000E96BC 90 01 00 8C */ stw r0, 0x8c(r1) -/* 800EC760 000E96C0 7F E3 FB 78 */ mr r3, r31 -/* 800EC764 000E96C4 C8 21 00 88 */ lfd f1, 0x88(r1) -/* 800EC768 000E96C8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800EC76C 000E96CC EF A1 00 24 */ fdivs f29, f1, f0 -/* 800EC770 000E96D0 48 21 ED D9 */ bl StreamColor__9CGraphicsFRC6CColor -/* 800EC774 000E96D4 FC 20 E8 90 */ fmr f1, f29 -/* 800EC778 000E96D8 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC77C 000E96DC 48 21 EC E9 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC780 000E96E0 EF FE 07 F2 */ fmuls f31, f30, f31 -/* 800EC784 000E96E4 C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 800EC788 000E96E8 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 800EC78C 000E96EC 38 61 00 5C */ addi r3, r1, 0x5c -/* 800EC790 000E96F0 C0 02 91 44 */ lfs f0, lbl_805AAE64@sda21(r2) -/* 800EC794 000E96F4 EC 42 F8 2A */ fadds f2, f2, f31 -/* 800EC798 000E96F8 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800EC79C 000E96FC C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC7A0 000E9700 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800EC7A4 000E9704 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 800EC7A8 000E9708 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 800EC7AC 000E970C 48 21 EE 15 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC7B0 000E9710 FC 20 E8 90 */ fmr f1, f29 -/* 800EC7B4 000E9714 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) -/* 800EC7B8 000E9718 48 21 EC AD */ bl StreamTexcoord__9CGraphicsFff -/* 800EC7BC 000E971C C0 21 00 78 */ lfs f1, 0x78(r1) -/* 800EC7C0 000E9720 38 61 00 50 */ addi r3, r1, 0x50 -/* 800EC7C4 000E9724 C0 02 91 44 */ lfs f0, lbl_805AAE64@sda21(r2) -/* 800EC7C8 000E9728 C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 800EC7CC 000E972C EC 21 00 28 */ fsubs f1, f1, f0 -/* 800EC7D0 000E9730 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC7D4 000E9734 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 800EC7D8 000E9738 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800EC7DC 000E973C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800EC7E0 000E9740 48 21 ED E1 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC7E4 000E9744 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC7E8 000E9748 EF C2 E8 2A */ fadds f30, f2, f29 -/* 800EC7EC 000E974C FC 20 F0 90 */ fmr f1, f30 -/* 800EC7F0 000E9750 48 21 EC 75 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC7F4 000E9754 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 800EC7F8 000E9758 38 61 00 44 */ addi r3, r1, 0x44 -/* 800EC7FC 000E975C C0 42 91 44 */ lfs f2, lbl_805AAE64@sda21(r2) -/* 800EC800 000E9760 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 800EC804 000E9764 EC 60 F8 2A */ fadds f3, f0, f31 -/* 800EC808 000E9768 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC80C 000E976C EC 22 08 2A */ fadds f1, f2, f1 -/* 800EC810 000E9770 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800EC814 000E9774 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 800EC818 000E9778 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 800EC81C 000E977C 48 21 ED A5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC820 000E9780 FC 20 F0 90 */ fmr f1, f30 -/* 800EC824 000E9784 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) -/* 800EC828 000E9788 48 21 EC 3D */ bl StreamTexcoord__9CGraphicsFff -/* 800EC82C 000E978C C0 22 91 44 */ lfs f1, lbl_805AAE64@sda21(r2) -/* 800EC830 000E9790 38 61 00 38 */ addi r3, r1, 0x38 -/* 800EC834 000E9794 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 800EC838 000E9798 C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 800EC83C 000E979C EC 21 00 2A */ fadds f1, f1, f0 -/* 800EC840 000E97A0 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC844 000E97A4 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 800EC848 000E97A8 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800EC84C 000E97AC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800EC850 000E97B0 48 21 ED 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC854 000E97B4 48 21 EB BD */ bl StreamEnd__9CGraphicsFv -/* 800EC858 000E97B8 38 60 00 98 */ li r3, 0x98 -/* 800EC85C 000E97BC 48 21 EE 0D */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 800EC860 000E97C0 48 2A 36 1D */ bl rand -/* 800EC864 000E97C4 54 60 90 1A */ slwi r0, r3, 0x12 -/* 800EC868 000E97C8 54 64 0F FE */ srwi r4, r3, 0x1f -/* 800EC86C 000E97CC 7C 64 00 50 */ subf r3, r4, r0 -/* 800EC870 000E97D0 3C 00 43 30 */ lis r0, 0x4330 -/* 800EC874 000E97D4 54 63 70 3E */ rotlwi r3, r3, 0xe -/* 800EC878 000E97D8 90 01 00 90 */ stw r0, 0x90(r1) -/* 800EC87C 000E97DC 7C 03 22 14 */ add r0, r3, r4 -/* 800EC880 000E97E0 C8 42 91 20 */ lfd f2, lbl_805AAE40@sda21(r2) -/* 800EC884 000E97E4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800EC888 000E97E8 C0 02 91 40 */ lfs f0, lbl_805AAE60@sda21(r2) -/* 800EC88C 000E97EC 90 01 00 94 */ stw r0, 0x94(r1) -/* 800EC890 000E97F0 7F E3 FB 78 */ mr r3, r31 -/* 800EC894 000E97F4 C8 21 00 90 */ lfd f1, 0x90(r1) -/* 800EC898 000E97F8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800EC89C 000E97FC EF A1 00 24 */ fdivs f29, f1, f0 -/* 800EC8A0 000E9800 48 21 EC A9 */ bl StreamColor__9CGraphicsFRC6CColor -/* 800EC8A4 000E9804 FC 20 E8 90 */ fmr f1, f29 -/* 800EC8A8 000E9808 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) -/* 800EC8AC 000E980C 48 21 EB B9 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC8B0 000E9810 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 800EC8B4 000E9814 38 61 00 2C */ addi r3, r1, 0x2c -/* 800EC8B8 000E9818 C0 02 91 44 */ lfs f0, lbl_805AAE64@sda21(r2) -/* 800EC8BC 000E981C C0 41 00 84 */ lfs f2, 0x84(r1) -/* 800EC8C0 000E9820 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800EC8C4 000E9824 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC8C8 000E9828 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800EC8CC 000E982C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800EC8D0 000E9830 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800EC8D4 000E9834 48 21 EC ED */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC8D8 000E9838 FC 20 E8 90 */ fmr f1, f29 -/* 800EC8DC 000E983C C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC8E0 000E9840 48 21 EB 85 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC8E4 000E9844 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 800EC8E8 000E9848 38 61 00 20 */ addi r3, r1, 0x20 -/* 800EC8EC 000E984C C0 41 00 78 */ lfs f2, 0x78(r1) -/* 800EC8F0 000E9850 C0 22 91 44 */ lfs f1, lbl_805AAE64@sda21(r2) -/* 800EC8F4 000E9854 EC 60 F8 28 */ fsubs f3, f0, f31 -/* 800EC8F8 000E9858 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC8FC 000E985C EC 22 08 28 */ fsubs f1, f2, f1 -/* 800EC900 000E9860 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800EC904 000E9864 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 800EC908 000E9868 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 800EC90C 000E986C 48 21 EC B5 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC910 000E9870 C0 02 90 DC */ lfs f0, lbl_805AADFC@sda21(r2) -/* 800EC914 000E9874 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) -/* 800EC918 000E9878 EF C0 E8 2A */ fadds f30, f0, f29 -/* 800EC91C 000E987C FC 20 F0 90 */ fmr f1, f30 -/* 800EC920 000E9880 48 21 EB 45 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC924 000E9884 C0 22 91 44 */ lfs f1, lbl_805AAE64@sda21(r2) -/* 800EC928 000E9888 38 61 00 14 */ addi r3, r1, 0x14 -/* 800EC92C 000E988C C0 01 00 80 */ lfs f0, 0x80(r1) -/* 800EC930 000E9890 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 800EC934 000E9894 EC 21 00 2A */ fadds f1, f1, f0 -/* 800EC938 000E9898 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC93C 000E989C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800EC940 000E98A0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800EC944 000E98A4 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800EC948 000E98A8 48 21 EC 79 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC94C 000E98AC FC 20 F0 90 */ fmr f1, f30 -/* 800EC950 000E98B0 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800EC954 000E98B4 48 21 EB 11 */ bl StreamTexcoord__9CGraphicsFff -/* 800EC958 000E98B8 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 800EC95C 000E98BC 38 61 00 08 */ addi r3, r1, 8 -/* 800EC960 000E98C0 C0 42 91 44 */ lfs f2, lbl_805AAE64@sda21(r2) -/* 800EC964 000E98C4 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 800EC968 000E98C8 EC 60 F8 28 */ fsubs f3, f0, f31 -/* 800EC96C 000E98CC C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC970 000E98D0 EC 22 08 2A */ fadds f1, f2, f1 -/* 800EC974 000E98D4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800EC978 000E98D8 D0 21 00 08 */ stfs f1, 8(r1) -/* 800EC97C 000E98DC D0 61 00 10 */ stfs f3, 0x10(r1) -/* 800EC980 000E98E0 48 21 EC 41 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800EC984 000E98E4 48 21 EA 8D */ bl StreamEnd__9CGraphicsFv -/* 800EC988 000E98E8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 800EC98C 000E98EC CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 800EC990 000E98F0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 800EC994 000E98F4 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 800EC998 000E98F8 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 800EC99C 000E98FC CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 800EC9A0 000E9900 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 800EC9A4 000E9904 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 800EC9A8 000E9908 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 800EC9AC 000E990C 7C 08 03 A6 */ mtlr r0 -/* 800EC9B0 000E9910 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 800EC9B4 000E9914 4E 80 00 20 */ blr - -.global GetT__17CCameraFilterPassCFb -GetT__17CCameraFilterPassCFb: -/* 800EC9B8 000E9918 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800EC9BC 000E991C C0 43 00 0C */ lfs f2, 0xc(r3) -/* 800EC9C0 000E9920 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 800EC9C4 000E9924 40 82 00 0C */ bne lbl_800EC9D0 -/* 800EC9C8 000E9928 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) -/* 800EC9CC 000E992C 48 00 00 14 */ b lbl_800EC9E0 -lbl_800EC9D0: -/* 800EC9D0 000E9930 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 800EC9D4 000E9934 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) -/* 800EC9D8 000E9938 EC 00 10 24 */ fdivs f0, f0, f2 -/* 800EC9DC 000E993C EC 21 00 28 */ fsubs f1, f1, f0 -lbl_800EC9E0: -/* 800EC9E0 000E9940 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800EC9E4 000E9944 4D 82 00 20 */ beqlr -/* 800EC9E8 000E9948 C0 02 90 DC */ lfs f0, lbl_805AADFC@sda21(r2) -/* 800EC9EC 000E994C EC 20 08 28 */ fsubs f1, f0, f1 -/* 800EC9F0 000E9950 4E 80 00 20 */ blr - -.global DrawScanLines__17CCameraFilterPassFRC6CColorb -DrawScanLines__17CCameraFilterPassFRC6CColorb: -/* 800EC9F4 000E9954 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 800EC9F8 000E9958 7C 08 02 A6 */ mflr r0 -/* 800EC9FC 000E995C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800ECA00 000E9960 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 800ECA04 000E9964 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 800ECA08 000E9968 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 800ECA0C 000E996C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 800ECA10 000E9970 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 800ECA14 000E9974 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 800ECA18 000E9978 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 800ECA1C 000E997C F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 800ECA20 000E9980 DB 61 00 90 */ stfd f27, 0x90(r1) -/* 800ECA24 000E9984 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 800ECA28 000E9988 DB 41 00 80 */ stfd f26, 0x80(r1) -/* 800ECA2C 000E998C F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 800ECA30 000E9990 DB 21 00 70 */ stfd f25, 0x70(r1) -/* 800ECA34 000E9994 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 -/* 800ECA38 000E9998 DB 01 00 60 */ stfd f24, 0x60(r1) -/* 800ECA3C 000E999C F3 01 00 68 */ psq_st f24, 104(r1), 0, qr0 -/* 800ECA40 000E99A0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800ECA44 000E99A4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 800ECA48 000E99A8 93 A1 00 54 */ stw r29, 0x54(r1) -/* 800ECA4C 000E99AC 7C 9D 23 78 */ mr r29, r4 -/* 800ECA50 000E99B0 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 800ECA54 000E99B4 7C 7F 1B 78 */ mr r31, r3 -/* 800ECA58 000E99B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 800ECA5C 000E99BC 81 84 00 00 */ lwz r12, 0(r4) -/* 800ECA60 000E99C0 38 A0 00 01 */ li r5, 1 -/* 800ECA64 000E99C4 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) -/* 800ECA68 000E99C8 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 800ECA6C 000E99CC C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) -/* 800ECA70 000E99D0 7D 89 03 A6 */ mtctr r12 -/* 800ECA74 000E99D4 4E 80 04 21 */ bctrl -/* 800ECA78 000E99D8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECA7C 000E99DC 38 80 00 00 */ li r4, 0 -/* 800ECA80 000E99E0 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 800ECA84 000E99E4 38 A0 00 00 */ li r5, 0 -/* 800ECA88 000E99E8 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECA8C 000E99EC C0 41 00 24 */ lfs f2, 0x24(r1) -/* 800ECA90 000E99F0 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 800ECA94 000E99F4 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800ECA98 000E99F8 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800ECA9C 000E99FC D0 61 00 30 */ stfs f3, 0x30(r1) -/* 800ECAA0 000E9A00 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800ECAA4 000E9A04 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800ECAA8 000E9A08 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800ECAAC 000E9A0C 7D 89 03 A6 */ mtctr r12 -/* 800ECAB0 000E9A10 4E 80 04 21 */ bctrl -/* 800ECAB4 000E9A14 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECAB8 000E9A18 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800ECABC 000E9A1C 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 800ECAC0 000E9A20 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECAC4 000E9A24 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800ECAC8 000E9A28 7D 89 03 A6 */ mtctr r12 -/* 800ECACC 000E9A2C 4E 80 04 21 */ bctrl -/* 800ECAD0 000E9A30 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 800ECAD4 000E9A34 41 82 00 0C */ beq lbl_800ECAE0 -/* 800ECAD8 000E9A38 C3 E2 90 EC */ lfs f31, lbl_805AAE0C@sda21(r2) -/* 800ECADC 000E9A3C 48 00 00 08 */ b lbl_800ECAE4 -lbl_800ECAE0: -/* 800ECAE0 000E9A40 C3 E2 90 F0 */ lfs f31, lbl_805AAE10@sda21(r2) -lbl_800ECAE4: -/* 800ECAE4 000E9A44 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 800ECAE8 000E9A48 38 60 00 05 */ li r3, 5 -/* 800ECAEC 000E9A4C C0 21 00 34 */ lfs f1, 0x34(r1) -/* 800ECAF0 000E9A50 C0 02 90 E0 */ lfs f0, lbl_805AAE00@sda21(r2) -/* 800ECAF4 000E9A54 EC 42 08 28 */ fsubs f2, f2, f1 -/* 800ECAF8 000E9A58 C0 22 90 F0 */ lfs f1, lbl_805AAE10@sda21(r2) -/* 800ECAFC 000E9A5C EC 02 00 32 */ fmuls f0, f2, f0 -/* 800ECB00 000E9A60 FC 00 00 1E */ fctiwz f0, f0 -/* 800ECB04 000E9A64 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 800ECB08 000E9A68 83 C1 00 44 */ lwz r30, 0x44(r1) -/* 800ECB0C 000E9A6C 48 21 E8 CD */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset -/* 800ECB10 000E9A70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECB14 000E9A74 57 C4 08 3C */ slwi r4, r30, 1 -/* 800ECB18 000E9A78 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECB1C 000E9A7C 81 8C 00 94 */ lwz r12, 0x94(r12) -/* 800ECB20 000E9A80 7D 89 03 A6 */ mtctr r12 -/* 800ECB24 000E9A84 4E 80 04 21 */ bctrl -/* 800ECB28 000E9A88 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECB2C 000E9A8C 7F E4 FB 78 */ mr r4, r31 -/* 800ECB30 000E9A90 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECB34 000E9A94 81 8C 00 B4 */ lwz r12, 0xb4(r12) -/* 800ECB38 000E9A98 7D 89 03 A6 */ mtctr r12 -/* 800ECB3C 000E9A9C 4E 80 04 21 */ bctrl -/* 800ECB40 000E9AA0 C3 21 00 30 */ lfs f25, 0x30(r1) -/* 800ECB44 000E9AA4 3B A0 00 00 */ li r29, 0 -/* 800ECB48 000E9AA8 C3 42 90 EC */ lfs f26, lbl_805AAE0C@sda21(r2) -/* 800ECB4C 000E9AAC 3F E0 43 30 */ lis r31, 0x4330 -/* 800ECB50 000E9AB0 C3 62 91 48 */ lfs f27, lbl_805AAE68@sda21(r2) -/* 800ECB54 000E9AB4 CB 82 91 20 */ lfd f28, lbl_805AAE40@sda21(r2) -/* 800ECB58 000E9AB8 C3 A1 00 34 */ lfs f29, 0x34(r1) -/* 800ECB5C 000E9ABC C3 C1 00 38 */ lfs f30, 0x38(r1) -/* 800ECB60 000E9AC0 48 00 00 78 */ b lbl_800ECBD8 -lbl_800ECB64: -/* 800ECB64 000E9AC4 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 800ECB68 000E9AC8 93 E1 00 40 */ stw r31, 0x40(r1) -/* 800ECB6C 000E9ACC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECB70 000E9AD0 38 81 00 14 */ addi r4, r1, 0x14 -/* 800ECB74 000E9AD4 90 01 00 44 */ stw r0, 0x44(r1) -/* 800ECB78 000E9AD8 C8 01 00 40 */ lfd f0, 0x40(r1) -/* 800ECB7C 000E9ADC D3 21 00 14 */ stfs f25, 0x14(r1) -/* 800ECB80 000E9AE0 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 800ECB84 000E9AE4 D3 41 00 18 */ stfs f26, 0x18(r1) -/* 800ECB88 000E9AE8 EF 1B 00 32 */ fmuls f24, f27, f0 -/* 800ECB8C 000E9AEC EC 18 E8 2A */ fadds f0, f24, f29 -/* 800ECB90 000E9AF0 EC 1F 00 2A */ fadds f0, f31, f0 -/* 800ECB94 000E9AF4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800ECB98 000E9AF8 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECB9C 000E9AFC 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800ECBA0 000E9B00 7D 89 03 A6 */ mtctr r12 -/* 800ECBA4 000E9B04 4E 80 04 21 */ bctrl -/* 800ECBA8 000E9B08 EC 18 E8 2A */ fadds f0, f24, f29 -/* 800ECBAC 000E9B0C D3 C1 00 08 */ stfs f30, 8(r1) -/* 800ECBB0 000E9B10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECBB4 000E9B14 38 81 00 08 */ addi r4, r1, 8 -/* 800ECBB8 000E9B18 D3 41 00 0C */ stfs f26, 0xc(r1) -/* 800ECBBC 000E9B1C EC 1F 00 2A */ fadds f0, f31, f0 -/* 800ECBC0 000E9B20 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800ECBC4 000E9B24 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECBC8 000E9B28 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800ECBCC 000E9B2C 7D 89 03 A6 */ mtctr r12 -/* 800ECBD0 000E9B30 4E 80 04 21 */ bctrl -/* 800ECBD4 000E9B34 3B BD 00 01 */ addi r29, r29, 1 -lbl_800ECBD8: -/* 800ECBD8 000E9B38 7C 1D F0 00 */ cmpw r29, r30 -/* 800ECBDC 000E9B3C 41 80 FF 88 */ blt lbl_800ECB64 -/* 800ECBE0 000E9B40 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECBE4 000E9B44 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECBE8 000E9B48 81 8C 00 B8 */ lwz r12, 0xb8(r12) -/* 800ECBEC 000E9B4C 7D 89 03 A6 */ mtctr r12 -/* 800ECBF0 000E9B50 4E 80 04 21 */ bctrl -/* 800ECBF4 000E9B54 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) -/* 800ECBF8 000E9B58 38 60 00 05 */ li r3, 5 -/* 800ECBFC 000E9B5C 48 21 E7 DD */ bl SetLineWidth__9CGraphicsFf13ERglTexOffset -/* 800ECC00 000E9B60 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 800ECC04 000E9B64 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 800ECC08 000E9B68 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 800ECC0C 000E9B6C CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 800ECC10 000E9B70 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 800ECC14 000E9B74 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 800ECC18 000E9B78 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 800ECC1C 000E9B7C CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 800ECC20 000E9B80 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 800ECC24 000E9B84 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 800ECC28 000E9B88 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 800ECC2C 000E9B8C CB 41 00 80 */ lfd f26, 0x80(r1) -/* 800ECC30 000E9B90 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 -/* 800ECC34 000E9B94 CB 21 00 70 */ lfd f25, 0x70(r1) -/* 800ECC38 000E9B98 E3 01 00 68 */ psq_l f24, 104(r1), 0, qr0 -/* 800ECC3C 000E9B9C CB 01 00 60 */ lfd f24, 0x60(r1) -/* 800ECC40 000E9BA0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800ECC44 000E9BA4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 800ECC48 000E9BA8 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800ECC4C 000E9BAC 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 800ECC50 000E9BB0 7C 08 03 A6 */ mtlr r0 -/* 800ECC54 000E9BB4 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800ECC58 000E9BB8 4E 80 00 20 */ blr - -.global DrawFullScreenTexturedQuadQuarters__17CCameraFilterPassFRC6CColorPC8CTexturef -DrawFullScreenTexturedQuadQuarters__17CCameraFilterPassFRC6CColorPC8CTexturef: -/* 800ECC5C 000E9BBC 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 800ECC60 000E9BC0 7C 08 02 A6 */ mflr r0 -/* 800ECC64 000E9BC4 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 800ECC68 000E9BC8 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 800ECC6C 000E9BCC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 800ECC70 000E9BD0 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 800ECC74 000E9BD4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 800ECC78 000E9BD8 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 800ECC7C 000E9BDC F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 800ECC80 000E9BE0 DB 81 00 90 */ stfd f28, 0x90(r1) -/* 800ECC84 000E9BE4 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 800ECC88 000E9BE8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 800ECC8C 000E9BEC 93 C1 00 88 */ stw r30, 0x88(r1) -/* 800ECC90 000E9BF0 7C 9F 23 78 */ mr r31, r4 -/* 800ECC94 000E9BF4 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 800ECC98 000E9BF8 FF 80 08 90 */ fmr f28, f1 -/* 800ECC9C 000E9BFC 7C 7E 1B 78 */ mr r30, r3 -/* 800ECCA0 000E9C00 81 84 00 00 */ lwz r12, 0(r4) -/* 800ECCA4 000E9C04 38 61 00 38 */ addi r3, r1, 0x38 -/* 800ECCA8 000E9C08 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) -/* 800ECCAC 000E9C0C 38 A0 00 01 */ li r5, 1 -/* 800ECCB0 000E9C10 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 800ECCB4 000E9C14 C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) -/* 800ECCB8 000E9C18 7D 89 03 A6 */ mtctr r12 -/* 800ECCBC 000E9C1C 4E 80 04 21 */ bctrl -/* 800ECCC0 000E9C20 C0 61 00 38 */ lfs f3, 0x38(r1) -/* 800ECCC4 000E9C24 3C 60 80 5A */ lis r3, lbl_805A5EBC@ha -/* 800ECCC8 000E9C28 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 800ECCCC 000E9C2C 38 83 5E BC */ addi r4, r3, lbl_805A5EBC@l -/* 800ECCD0 000E9C30 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 800ECCD4 000E9C34 38 60 00 00 */ li r3, 0 -/* 800ECCD8 000E9C38 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 800ECCDC 000E9C3C D0 61 00 48 */ stfs f3, 0x48(r1) -/* 800ECCE0 000E9C40 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800ECCE4 000E9C44 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800ECCE8 000E9C48 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800ECCEC 000E9C4C 48 21 D5 CD */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800ECCF0 000E9C50 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 800ECCF4 000E9C54 38 60 00 01 */ li r3, 1 -/* 800ECCF8 000E9C58 48 21 D5 C1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800ECCFC 000E9C5C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECD00 000E9C60 38 80 00 00 */ li r4, 0 -/* 800ECD04 000E9C64 38 A0 00 00 */ li r5, 0 -/* 800ECD08 000E9C68 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECD0C 000E9C6C 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800ECD10 000E9C70 7D 89 03 A6 */ mtctr r12 -/* 800ECD14 000E9C74 4E 80 04 21 */ bctrl -/* 800ECD18 000E9C78 28 1F 00 00 */ cmplwi r31, 0 -/* 800ECD1C 000E9C7C 41 82 00 14 */ beq lbl_800ECD30 -/* 800ECD20 000E9C80 7F E3 FB 78 */ mr r3, r31 -/* 800ECD24 000E9C84 38 80 00 00 */ li r4, 0 -/* 800ECD28 000E9C88 38 A0 00 00 */ li r5, 0 -/* 800ECD2C 000E9C8C 48 22 2A 11 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -lbl_800ECD30: -/* 800ECD30 000E9C90 38 60 00 00 */ li r3, 0 -/* 800ECD34 000E9C94 48 21 ED 3D */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 800ECD38 000E9C98 C3 A1 00 48 */ lfs f29, 0x48(r1) -/* 800ECD3C 000E9C9C 3B E0 00 00 */ li r31, 0 -/* 800ECD40 000E9CA0 C3 C2 90 EC */ lfs f30, lbl_805AAE0C@sda21(r2) -/* 800ECD44 000E9CA4 C3 E1 00 54 */ lfs f31, 0x54(r1) -lbl_800ECD48: -/* 800ECD48 000E9CA8 57 E0 07 FF */ clrlwi. r0, r31, 0x1f -/* 800ECD4C 000E9CAC 40 81 00 0C */ ble lbl_800ECD58 -/* 800ECD50 000E9CB0 C0 22 90 DC */ lfs f1, lbl_805AADFC@sda21(r2) -/* 800ECD54 000E9CB4 48 00 00 08 */ b lbl_800ECD5C -lbl_800ECD58: -/* 800ECD58 000E9CB8 C0 22 90 D8 */ lfs f1, lbl_805AADF8@sda21(r2) -lbl_800ECD5C: -/* 800ECD5C 000E9CBC 57 E0 07 BD */ rlwinm. r0, r31, 0, 0x1e, 0x1e -/* 800ECD60 000E9CC0 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) -/* 800ECD64 000E9CC4 38 61 00 58 */ addi r3, r1, 0x58 -/* 800ECD68 000E9CC8 40 81 00 0C */ ble lbl_800ECD74 -/* 800ECD6C 000E9CCC C0 62 90 DC */ lfs f3, lbl_805AADFC@sda21(r2) -/* 800ECD70 000E9CD0 48 00 00 08 */ b lbl_800ECD78 -lbl_800ECD74: -/* 800ECD74 000E9CD4 C0 62 90 D8 */ lfs f3, lbl_805AADF8@sda21(r2) -lbl_800ECD78: -/* 800ECD78 000E9CD8 48 22 64 91 */ bl Scale__12CTransform4fFfff -/* 800ECD7C 000E9CDC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECD80 000E9CE0 38 81 00 58 */ addi r4, r1, 0x58 -/* 800ECD84 000E9CE4 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECD88 000E9CE8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800ECD8C 000E9CEC 7D 89 03 A6 */ mtctr r12 -/* 800ECD90 000E9CF0 4E 80 04 21 */ bctrl -/* 800ECD94 000E9CF4 38 60 00 98 */ li r3, 0x98 -/* 800ECD98 000E9CF8 48 21 E8 D1 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 800ECD9C 000E9CFC 7F C3 F3 78 */ mr r3, r30 -/* 800ECDA0 000E9D00 48 21 E7 A9 */ bl StreamColor__9CGraphicsFRC6CColor -/* 800ECDA4 000E9D04 FC 20 E0 90 */ fmr f1, f28 -/* 800ECDA8 000E9D08 FC 40 E0 90 */ fmr f2, f28 -/* 800ECDAC 000E9D0C 48 21 E6 B9 */ bl StreamTexcoord__9CGraphicsFff -/* 800ECDB0 000E9D10 D3 A1 00 2C */ stfs f29, 0x2c(r1) -/* 800ECDB4 000E9D14 38 61 00 2C */ addi r3, r1, 0x2c -/* 800ECDB8 000E9D18 D3 C1 00 30 */ stfs f30, 0x30(r1) -/* 800ECDBC 000E9D1C D3 E1 00 34 */ stfs f31, 0x34(r1) -/* 800ECDC0 000E9D20 48 21 E8 01 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800ECDC4 000E9D24 FC 20 E0 90 */ fmr f1, f28 -/* 800ECDC8 000E9D28 C0 42 90 EC */ lfs f2, lbl_805AAE0C@sda21(r2) -/* 800ECDCC 000E9D2C 48 21 E6 99 */ bl StreamTexcoord__9CGraphicsFff -/* 800ECDD0 000E9D30 D3 A1 00 20 */ stfs f29, 0x20(r1) -/* 800ECDD4 000E9D34 38 61 00 20 */ addi r3, r1, 0x20 -/* 800ECDD8 000E9D38 D3 C1 00 24 */ stfs f30, 0x24(r1) -/* 800ECDDC 000E9D3C D3 C1 00 28 */ stfs f30, 0x28(r1) -/* 800ECDE0 000E9D40 48 21 E7 E1 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800ECDE4 000E9D44 FC 40 E0 90 */ fmr f2, f28 -/* 800ECDE8 000E9D48 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800ECDEC 000E9D4C 48 21 E6 79 */ bl StreamTexcoord__9CGraphicsFff -/* 800ECDF0 000E9D50 D3 C1 00 14 */ stfs f30, 0x14(r1) -/* 800ECDF4 000E9D54 38 61 00 14 */ addi r3, r1, 0x14 -/* 800ECDF8 000E9D58 D3 C1 00 18 */ stfs f30, 0x18(r1) -/* 800ECDFC 000E9D5C D3 E1 00 1C */ stfs f31, 0x1c(r1) -/* 800ECE00 000E9D60 48 21 E7 C1 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800ECE04 000E9D64 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800ECE08 000E9D68 FC 40 08 90 */ fmr f2, f1 -/* 800ECE0C 000E9D6C 48 21 E6 59 */ bl StreamTexcoord__9CGraphicsFff -/* 800ECE10 000E9D70 D3 C1 00 08 */ stfs f30, 8(r1) -/* 800ECE14 000E9D74 38 61 00 08 */ addi r3, r1, 8 -/* 800ECE18 000E9D78 D3 C1 00 0C */ stfs f30, 0xc(r1) -/* 800ECE1C 000E9D7C D3 C1 00 10 */ stfs f30, 0x10(r1) -/* 800ECE20 000E9D80 48 21 E7 A1 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800ECE24 000E9D84 48 21 E5 ED */ bl StreamEnd__9CGraphicsFv -/* 800ECE28 000E9D88 3B FF 00 01 */ addi r31, r31, 1 -/* 800ECE2C 000E9D8C 2C 1F 00 04 */ cmpwi r31, 4 -/* 800ECE30 000E9D90 41 80 FF 18 */ blt lbl_800ECD48 -/* 800ECE34 000E9D94 38 60 00 01 */ li r3, 1 -/* 800ECE38 000E9D98 48 21 EC 39 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 800ECE3C 000E9D9C E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 800ECE40 000E9DA0 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 800ECE44 000E9DA4 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 800ECE48 000E9DA8 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 800ECE4C 000E9DAC E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 800ECE50 000E9DB0 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 800ECE54 000E9DB4 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 800ECE58 000E9DB8 CB 81 00 90 */ lfd f28, 0x90(r1) -/* 800ECE5C 000E9DBC 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 800ECE60 000E9DC0 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 800ECE64 000E9DC4 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 800ECE68 000E9DC8 7C 08 03 A6 */ mtlr r0 -/* 800ECE6C 000E9DCC 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 800ECE70 000E9DD0 4E 80 00 20 */ blr - -.global DrawFullScreenTexturedQuad__17CCameraFilterPassFRC6CColorPC8CTexturef -DrawFullScreenTexturedQuad__17CCameraFilterPassFRC6CColorPC8CTexturef: -/* 800ECE74 000E9DD4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800ECE78 000E9DD8 7C 08 02 A6 */ mflr r0 -/* 800ECE7C 000E9DDC 90 01 00 84 */ stw r0, 0x84(r1) -/* 800ECE80 000E9DE0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 800ECE84 000E9DE4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 800ECE88 000E9DE8 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 800ECE8C 000E9DEC F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 800ECE90 000E9DF0 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800ECE94 000E9DF4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 800ECE98 000E9DF8 7C 9F 23 78 */ mr r31, r4 -/* 800ECE9C 000E9DFC C0 02 90 E4 */ lfs f0, lbl_805AAE04@sda21(r2) -/* 800ECEA0 000E9E00 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 800ECEA4 000E9E04 7C 7E 1B 78 */ mr r30, r3 -/* 800ECEA8 000E9E08 EC 60 00 72 */ fmuls f3, f0, f1 -/* 800ECEAC 000E9E0C 38 61 00 38 */ addi r3, r1, 0x38 -/* 800ECEB0 000E9E10 81 84 00 00 */ lwz r12, 0(r4) -/* 800ECEB4 000E9E14 38 A0 00 01 */ li r5, 1 -/* 800ECEB8 000E9E18 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) -/* 800ECEBC 000E9E1C 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 800ECEC0 000E9E20 EF E0 18 28 */ fsubs f31, f0, f3 -/* 800ECEC4 000E9E24 C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) -/* 800ECEC8 000E9E28 EF C0 18 2A */ fadds f30, f0, f3 -/* 800ECECC 000E9E2C 7D 89 03 A6 */ mtctr r12 -/* 800ECED0 000E9E30 4E 80 04 21 */ bctrl -/* 800ECED4 000E9E34 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ECED8 000E9E38 38 80 00 00 */ li r4, 0 -/* 800ECEDC 000E9E3C C0 61 00 38 */ lfs f3, 0x38(r1) -/* 800ECEE0 000E9E40 38 A0 00 00 */ li r5, 0 -/* 800ECEE4 000E9E44 81 83 00 00 */ lwz r12, 0(r3) -/* 800ECEE8 000E9E48 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 800ECEEC 000E9E4C C0 21 00 40 */ lfs f1, 0x40(r1) -/* 800ECEF0 000E9E50 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 800ECEF4 000E9E54 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800ECEF8 000E9E58 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 800ECEFC 000E9E5C D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800ECF00 000E9E60 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800ECF04 000E9E64 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800ECF08 000E9E68 7D 89 03 A6 */ mtctr r12 -/* 800ECF0C 000E9E6C 4E 80 04 21 */ bctrl -/* 800ECF10 000E9E70 28 1F 00 00 */ cmplwi r31, 0 -/* 800ECF14 000E9E74 41 82 00 14 */ beq lbl_800ECF28 -/* 800ECF18 000E9E78 7F E3 FB 78 */ mr r3, r31 -/* 800ECF1C 000E9E7C 38 80 00 00 */ li r4, 0 -/* 800ECF20 000E9E80 38 A0 00 01 */ li r5, 1 -/* 800ECF24 000E9E84 48 22 28 19 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -lbl_800ECF28: -/* 800ECF28 000E9E88 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 800ECF2C 000E9E8C 38 60 00 00 */ li r3, 0 -/* 800ECF30 000E9E90 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 800ECF34 000E9E94 48 21 D3 85 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800ECF38 000E9E98 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 800ECF3C 000E9E9C 38 60 00 01 */ li r3, 1 -/* 800ECF40 000E9EA0 48 21 D3 79 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 800ECF44 000E9EA4 38 60 00 98 */ li r3, 0x98 -/* 800ECF48 000E9EA8 48 21 E7 21 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 800ECF4C 000E9EAC 7F C3 F3 78 */ mr r3, r30 -/* 800ECF50 000E9EB0 48 21 E5 F9 */ bl StreamColor__9CGraphicsFRC6CColor -/* 800ECF54 000E9EB4 FC 20 F8 90 */ fmr f1, f31 -/* 800ECF58 000E9EB8 FC 40 F0 90 */ fmr f2, f30 -/* 800ECF5C 000E9EBC 48 21 E5 09 */ bl StreamTexcoord__9CGraphicsFff -/* 800ECF60 000E9EC0 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800ECF64 000E9EC4 38 61 00 2C */ addi r3, r1, 0x2c -/* 800ECF68 000E9EC8 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800ECF6C 000E9ECC C0 21 00 48 */ lfs f1, 0x48(r1) -/* 800ECF70 000E9ED0 EC 62 00 2A */ fadds f3, f2, f0 -/* 800ECF74 000E9ED4 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800ECF78 000E9ED8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800ECF7C 000E9EDC D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800ECF80 000E9EE0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800ECF84 000E9EE4 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 800ECF88 000E9EE8 48 21 E6 39 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800ECF8C 000E9EEC FC 20 F8 90 */ fmr f1, f31 -/* 800ECF90 000E9EF0 FC 40 F8 90 */ fmr f2, f31 -/* 800ECF94 000E9EF4 48 21 E4 D1 */ bl StreamTexcoord__9CGraphicsFff -/* 800ECF98 000E9EF8 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800ECF9C 000E9EFC 38 61 00 20 */ addi r3, r1, 0x20 -/* 800ECFA0 000E9F00 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800ECFA4 000E9F04 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 800ECFA8 000E9F08 EC 60 10 28 */ fsubs f3, f0, f2 -/* 800ECFAC 000E9F0C C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800ECFB0 000E9F10 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800ECFB4 000E9F14 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800ECFB8 000E9F18 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 800ECFBC 000E9F1C D0 61 00 28 */ stfs f3, 0x28(r1) -/* 800ECFC0 000E9F20 48 21 E6 01 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800ECFC4 000E9F24 FC 20 F0 90 */ fmr f1, f30 -/* 800ECFC8 000E9F28 FC 40 F0 90 */ fmr f2, f30 -/* 800ECFCC 000E9F2C 48 21 E4 99 */ bl StreamTexcoord__9CGraphicsFff -/* 800ECFD0 000E9F30 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800ECFD4 000E9F34 38 61 00 14 */ addi r3, r1, 0x14 -/* 800ECFD8 000E9F38 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800ECFDC 000E9F3C C0 21 00 50 */ lfs f1, 0x50(r1) -/* 800ECFE0 000E9F40 EC 62 00 2A */ fadds f3, f2, f0 -/* 800ECFE4 000E9F44 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800ECFE8 000E9F48 EC 22 08 2A */ fadds f1, f2, f1 -/* 800ECFEC 000E9F4C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800ECFF0 000E9F50 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800ECFF4 000E9F54 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 800ECFF8 000E9F58 48 21 E5 C9 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800ECFFC 000E9F5C FC 20 F0 90 */ fmr f1, f30 -/* 800ED000 000E9F60 FC 40 F8 90 */ fmr f2, f31 -/* 800ED004 000E9F64 48 21 E4 61 */ bl StreamTexcoord__9CGraphicsFff -/* 800ED008 000E9F68 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800ED00C 000E9F6C 38 61 00 08 */ addi r3, r1, 8 -/* 800ED010 000E9F70 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800ED014 000E9F74 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 800ED018 000E9F78 EC 60 10 28 */ fsubs f3, f0, f2 -/* 800ED01C 000E9F7C C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800ED020 000E9F80 EC 22 08 2A */ fadds f1, f2, f1 -/* 800ED024 000E9F84 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800ED028 000E9F88 D0 21 00 08 */ stfs f1, 8(r1) -/* 800ED02C 000E9F8C D0 61 00 10 */ stfs f3, 0x10(r1) -/* 800ED030 000E9F90 48 21 E5 91 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 800ED034 000E9F94 48 21 E3 DD */ bl StreamEnd__9CGraphicsFv -/* 800ED038 000E9F98 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 800ED03C 000E9F9C CB E1 00 70 */ lfd f31, 0x70(r1) -/* 800ED040 000E9FA0 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 800ED044 000E9FA4 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 800ED048 000E9FA8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800ED04C 000E9FAC 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800ED050 000E9FB0 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 800ED054 000E9FB4 7C 08 03 A6 */ mtlr r0 -/* 800ED058 000E9FB8 38 21 00 80 */ addi r1, r1, 0x80 -/* 800ED05C 000E9FBC 4E 80 00 20 */ blr - -.global DrawFullScreenColoredQuad__17CCameraFilterPassFRC6CColor -DrawFullScreenColoredQuad__17CCameraFilterPassFRC6CColor: -/* 800ED060 000E9FC0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800ED064 000E9FC4 7C 08 02 A6 */ mflr r0 -/* 800ED068 000E9FC8 C0 22 91 30 */ lfs f1, lbl_805AAE50@sda21(r2) -/* 800ED06C 000E9FCC 38 A0 00 01 */ li r5, 1 -/* 800ED070 000E9FD0 90 01 00 64 */ stw r0, 0x64(r1) -/* 800ED074 000E9FD4 C0 42 91 34 */ lfs f2, lbl_805AAE54@sda21(r2) -/* 800ED078 000E9FD8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800ED07C 000E9FDC 7C 7F 1B 78 */ mr r31, r3 -/* 800ED080 000E9FE0 38 61 00 38 */ addi r3, r1, 0x38 -/* 800ED084 000E9FE4 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 800ED088 000E9FE8 81 84 00 00 */ lwz r12, 0(r4) -/* 800ED08C 000E9FEC 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 800ED090 000E9FF0 7D 89 03 A6 */ mtctr r12 -/* 800ED094 000E9FF4 4E 80 04 21 */ bctrl -/* 800ED098 000E9FF8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ED09C 000E9FFC 38 80 00 00 */ li r4, 0 -/* 800ED0A0 000EA000 C0 61 00 38 */ lfs f3, 0x38(r1) -/* 800ED0A4 000EA004 38 A0 00 00 */ li r5, 0 -/* 800ED0A8 000EA008 81 83 00 00 */ lwz r12, 0(r3) -/* 800ED0AC 000EA00C C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 800ED0B0 000EA010 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 800ED0B4 000EA014 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 800ED0B8 000EA018 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800ED0BC 000EA01C D0 61 00 48 */ stfs f3, 0x48(r1) -/* 800ED0C0 000EA020 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800ED0C4 000EA024 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800ED0C8 000EA028 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800ED0CC 000EA02C 7D 89 03 A6 */ mtctr r12 -/* 800ED0D0 000EA030 4E 80 04 21 */ bctrl -/* 800ED0D4 000EA034 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ED0D8 000EA038 38 80 00 04 */ li r4, 4 -/* 800ED0DC 000EA03C 81 83 00 00 */ lwz r12, 0(r3) -/* 800ED0E0 000EA040 81 8C 00 A0 */ lwz r12, 0xa0(r12) -/* 800ED0E4 000EA044 7D 89 03 A6 */ mtctr r12 -/* 800ED0E8 000EA048 4E 80 04 21 */ bctrl -/* 800ED0EC 000EA04C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ED0F0 000EA050 7F E4 FB 78 */ mr r4, r31 -/* 800ED0F4 000EA054 81 83 00 00 */ lwz r12, 0(r3) -/* 800ED0F8 000EA058 81 8C 00 B4 */ lwz r12, 0xb4(r12) -/* 800ED0FC 000EA05C 7D 89 03 A6 */ mtctr r12 -/* 800ED100 000EA060 4E 80 04 21 */ bctrl -/* 800ED104 000EA064 C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800ED108 000EA068 38 81 00 2C */ addi r4, r1, 0x2c -/* 800ED10C 000EA06C C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800ED110 000EA070 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 800ED114 000EA074 EC 62 00 2A */ fadds f3, f2, f0 -/* 800ED118 000EA078 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800ED11C 000EA07C EC 21 10 28 */ fsubs f1, f1, f2 -/* 800ED120 000EA080 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ED124 000EA084 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800ED128 000EA088 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800ED12C 000EA08C D0 61 00 34 */ stfs f3, 0x34(r1) -/* 800ED130 000EA090 81 83 00 00 */ lwz r12, 0(r3) -/* 800ED134 000EA094 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800ED138 000EA098 7D 89 03 A6 */ mtctr r12 -/* 800ED13C 000EA09C 4E 80 04 21 */ bctrl -/* 800ED140 000EA0A0 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 800ED144 000EA0A4 38 81 00 20 */ addi r4, r1, 0x20 -/* 800ED148 000EA0A8 C0 62 90 DC */ lfs f3, lbl_805AADFC@sda21(r2) -/* 800ED14C 000EA0AC C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800ED150 000EA0B0 EC 41 18 28 */ fsubs f2, f1, f3 -/* 800ED154 000EA0B4 C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800ED158 000EA0B8 EC 00 18 28 */ fsubs f0, f0, f3 -/* 800ED15C 000EA0BC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ED160 000EA0C0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800ED164 000EA0C4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 800ED168 000EA0C8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800ED16C 000EA0CC 81 83 00 00 */ lwz r12, 0(r3) -/* 800ED170 000EA0D0 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800ED174 000EA0D4 7D 89 03 A6 */ mtctr r12 -/* 800ED178 000EA0D8 4E 80 04 21 */ bctrl -/* 800ED17C 000EA0DC C0 42 90 DC */ lfs f2, lbl_805AADFC@sda21(r2) -/* 800ED180 000EA0E0 38 81 00 14 */ addi r4, r1, 0x14 -/* 800ED184 000EA0E4 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 800ED188 000EA0E8 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 800ED18C 000EA0EC EC 62 00 2A */ fadds f3, f2, f0 -/* 800ED190 000EA0F0 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800ED194 000EA0F4 EC 22 08 2A */ fadds f1, f2, f1 -/* 800ED198 000EA0F8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ED19C 000EA0FC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800ED1A0 000EA100 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800ED1A4 000EA104 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 800ED1A8 000EA108 81 83 00 00 */ lwz r12, 0(r3) -/* 800ED1AC 000EA10C 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800ED1B0 000EA110 7D 89 03 A6 */ mtctr r12 -/* 800ED1B4 000EA114 4E 80 04 21 */ bctrl -/* 800ED1B8 000EA118 C0 62 90 DC */ lfs f3, lbl_805AADFC@sda21(r2) -/* 800ED1BC 000EA11C 38 81 00 08 */ addi r4, r1, 8 -/* 800ED1C0 000EA120 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 800ED1C4 000EA124 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 800ED1C8 000EA128 EC 43 08 2A */ fadds f2, f3, f1 -/* 800ED1CC 000EA12C C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800ED1D0 000EA130 EC 00 18 28 */ fsubs f0, f0, f3 -/* 800ED1D4 000EA134 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ED1D8 000EA138 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800ED1DC 000EA13C D0 41 00 08 */ stfs f2, 8(r1) -/* 800ED1E0 000EA140 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800ED1E4 000EA144 81 83 00 00 */ lwz r12, 0(r3) -/* 800ED1E8 000EA148 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 800ED1EC 000EA14C 7D 89 03 A6 */ mtctr r12 -/* 800ED1F0 000EA150 4E 80 04 21 */ bctrl -/* 800ED1F4 000EA154 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800ED1F8 000EA158 81 83 00 00 */ lwz r12, 0(r3) -/* 800ED1FC 000EA15C 81 8C 00 B8 */ lwz r12, 0xb8(r12) -/* 800ED200 000EA160 7D 89 03 A6 */ mtctr r12 -/* 800ED204 000EA164 4E 80 04 21 */ bctrl -/* 800ED208 000EA168 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800ED20C 000EA16C 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800ED210 000EA170 7C 08 03 A6 */ mtlr r0 -/* 800ED214 000EA174 38 21 00 60 */ addi r1, r1, 0x60 -/* 800ED218 000EA178 4E 80 00 20 */ blr - -.global Update__17CCameraFilterPassFf -Update__17CCameraFilterPassFf: -/* 800ED21C 000EA17C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800ED220 000EA180 7C 08 02 A6 */ mflr r0 -/* 800ED224 000EA184 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800ED228 000EA188 90 01 00 24 */ stw r0, 0x24(r1) -/* 800ED22C 000EA18C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800ED230 000EA190 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800ED234 000EA194 7C 7E 1B 78 */ mr r30, r3 -/* 800ED238 000EA198 C0 43 00 10 */ lfs f2, 0x10(r3) -/* 800ED23C 000EA19C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800ED240 000EA1A0 40 81 01 10 */ ble lbl_800ED350 -/* 800ED244 000EA1A4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800ED248 000EA1A8 C0 0D 88 18 */ lfs f0, lbl_805A73D8@sda21(r13) -/* 800ED24C 000EA1AC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800ED250 000EA1B0 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800ED254 000EA1B4 40 80 00 0C */ bge lbl_800ED260 -/* 800ED258 000EA1B8 38 61 00 0C */ addi r3, r1, 0xc -/* 800ED25C 000EA1BC 48 00 00 08 */ b lbl_800ED264 -lbl_800ED260: -/* 800ED260 000EA1C0 38 6D 88 18 */ addi r3, r13, lbl_805A73D8@sda21 -lbl_800ED264: -/* 800ED264 000EA1C4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800ED268 000EA1C8 38 61 00 08 */ addi r3, r1, 8 -/* 800ED26C 000EA1CC 38 9E 00 1C */ addi r4, r30, 0x1c -/* 800ED270 000EA1D0 38 BE 00 14 */ addi r5, r30, 0x14 -/* 800ED274 000EA1D4 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 800ED278 000EA1D8 C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 800ED27C 000EA1DC C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 800ED280 000EA1E0 EC 21 00 24 */ fdivs f1, f1, f0 -/* 800ED284 000EA1E4 48 27 60 29 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800ED288 000EA1E8 80 01 00 08 */ lwz r0, 8(r1) -/* 800ED28C 000EA1EC C0 22 90 EC */ lfs f1, lbl_805AAE0C@sda21(r2) -/* 800ED290 000EA1F0 90 1E 00 18 */ stw r0, 0x18(r30) -/* 800ED294 000EA1F4 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 800ED298 000EA1F8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800ED29C 000EA1FC 40 82 00 B4 */ bne lbl_800ED350 -/* 800ED2A0 000EA200 80 1E 00 04 */ lwz r0, 4(r30) -/* 800ED2A4 000EA204 90 1E 00 00 */ stw r0, 0(r30) -/* 800ED2A8 000EA208 80 1E 00 00 */ lwz r0, 0(r30) -/* 800ED2AC 000EA20C 2C 00 00 00 */ cmpwi r0, 0 -/* 800ED2B0 000EA210 40 82 00 A0 */ bne lbl_800ED350 -/* 800ED2B4 000EA214 38 61 00 10 */ addi r3, r1, 0x10 -/* 800ED2B8 000EA218 38 1E 00 24 */ addi r0, r30, 0x24 -/* 800ED2BC 000EA21C 38 80 00 00 */ li r4, 0 -/* 800ED2C0 000EA220 7C 03 00 40 */ cmplw r3, r0 -/* 800ED2C4 000EA224 98 81 00 10 */ stb r4, 0x10(r1) -/* 800ED2C8 000EA228 90 81 00 14 */ stw r4, 0x14(r1) -/* 800ED2CC 000EA22C 41 82 00 4C */ beq lbl_800ED318 -/* 800ED2D0 000EA230 88 1E 00 24 */ lbz r0, 0x24(r30) -/* 800ED2D4 000EA234 28 00 00 00 */ cmplwi r0, 0 -/* 800ED2D8 000EA238 41 82 00 28 */ beq lbl_800ED300 -/* 800ED2DC 000EA23C 83 FE 00 28 */ lwz r31, 0x28(r30) -/* 800ED2E0 000EA240 28 1F 00 00 */ cmplwi r31, 0 -/* 800ED2E4 000EA244 41 82 00 1C */ beq lbl_800ED300 -/* 800ED2E8 000EA248 41 82 00 10 */ beq lbl_800ED2F8 -/* 800ED2EC 000EA24C 7F E3 FB 78 */ mr r3, r31 -/* 800ED2F0 000EA250 38 80 00 00 */ li r4, 0 -/* 800ED2F4 000EA254 48 25 3B 4D */ bl __dt__6CTokenFv -lbl_800ED2F8: -/* 800ED2F8 000EA258 7F E3 FB 78 */ mr r3, r31 -/* 800ED2FC 000EA25C 48 22 86 35 */ bl Free__7CMemoryFPCv -lbl_800ED300: -/* 800ED300 000EA260 88 61 00 10 */ lbz r3, 0x10(r1) -/* 800ED304 000EA264 38 00 00 00 */ li r0, 0 -/* 800ED308 000EA268 98 7E 00 24 */ stb r3, 0x24(r30) -/* 800ED30C 000EA26C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800ED310 000EA270 90 7E 00 28 */ stw r3, 0x28(r30) -/* 800ED314 000EA274 98 01 00 10 */ stb r0, 0x10(r1) -lbl_800ED318: -/* 800ED318 000EA278 88 01 00 10 */ lbz r0, 0x10(r1) -/* 800ED31C 000EA27C 28 00 00 00 */ cmplwi r0, 0 -/* 800ED320 000EA280 41 82 00 28 */ beq lbl_800ED348 -/* 800ED324 000EA284 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 800ED328 000EA288 28 1F 00 00 */ cmplwi r31, 0 -/* 800ED32C 000EA28C 41 82 00 1C */ beq lbl_800ED348 -/* 800ED330 000EA290 41 82 00 10 */ beq lbl_800ED340 -/* 800ED334 000EA294 7F E3 FB 78 */ mr r3, r31 -/* 800ED338 000EA298 38 80 00 00 */ li r4, 0 -/* 800ED33C 000EA29C 48 25 3B 05 */ bl __dt__6CTokenFv -lbl_800ED340: -/* 800ED340 000EA2A0 7F E3 FB 78 */ mr r3, r31 -/* 800ED344 000EA2A4 48 22 85 ED */ bl Free__7CMemoryFPCv -lbl_800ED348: -/* 800ED348 000EA2A8 38 00 FF FF */ li r0, -1 -/* 800ED34C 000EA2AC 90 1E 00 20 */ stw r0, 0x20(r30) -lbl_800ED350: -/* 800ED350 000EA2B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800ED354 000EA2B4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800ED358 000EA2B8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800ED35C 000EA2BC 7C 08 03 A6 */ mtlr r0 -/* 800ED360 000EA2C0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800ED364 000EA2C4 4E 80 00 20 */ blr - -.global DisableFilter__17CCameraFilterPassFf -DisableFilter__17CCameraFilterPassFf: -/* 800ED368 000EA2C8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ED36C 000EA2CC 7C 08 02 A6 */ mflr r0 -/* 800ED370 000EA2D0 38 80 00 00 */ li r4, 0 -/* 800ED374 000EA2D4 38 E0 FF FF */ li r7, -1 -/* 800ED378 000EA2D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ED37C 000EA2DC 38 00 FF FF */ li r0, -1 -/* 800ED380 000EA2E0 38 C1 00 08 */ addi r6, r1, 8 -/* 800ED384 000EA2E4 90 01 00 08 */ stw r0, 8(r1) -/* 800ED388 000EA2E8 80 A3 00 08 */ lwz r5, 8(r3) -/* 800ED38C 000EA2EC 48 00 00 15 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -/* 800ED390 000EA2F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ED394 000EA2F4 7C 08 03 A6 */ mtlr r0 -/* 800ED398 000EA2F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ED39C 000EA2FC 4E 80 00 20 */ blr - -.global SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi: -/* 800ED3A0 000EA300 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800ED3A4 000EA304 7C 08 02 A6 */ mflr r0 -/* 800ED3A8 000EA308 90 01 00 74 */ stw r0, 0x74(r1) -/* 800ED3AC 000EA30C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 800ED3B0 000EA310 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 800ED3B4 000EA314 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 800ED3B8 000EA318 FF E0 08 90 */ fmr f31, f1 -/* 800ED3BC 000EA31C C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800ED3C0 000EA320 7C 7D 1B 78 */ mr r29, r3 -/* 800ED3C4 000EA324 7C 9E 23 78 */ mr r30, r4 -/* 800ED3C8 000EA328 7C FF 3B 78 */ mr r31, r7 -/* 800ED3CC 000EA32C FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 800ED3D0 000EA330 40 82 01 68 */ bne lbl_800ED538 -/* 800ED3D4 000EA334 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 800ED3D8 000EA338 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 800ED3DC 000EA33C 90 BD 00 08 */ stw r5, 8(r29) -/* 800ED3E0 000EA340 93 DD 00 04 */ stw r30, 4(r29) -/* 800ED3E4 000EA344 93 DD 00 00 */ stw r30, 0(r29) -/* 800ED3E8 000EA348 80 06 00 00 */ lwz r0, 0(r6) -/* 800ED3EC 000EA34C 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 800ED3F0 000EA350 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 800ED3F4 000EA354 90 1D 00 18 */ stw r0, 0x18(r29) -/* 800ED3F8 000EA358 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 800ED3FC 000EA35C 90 1D 00 14 */ stw r0, 0x14(r29) -/* 800ED400 000EA360 93 FD 00 20 */ stw r31, 0x20(r29) -/* 800ED404 000EA364 80 7D 00 20 */ lwz r3, 0x20(r29) -/* 800ED408 000EA368 3C 03 00 01 */ addis r0, r3, 1 -/* 800ED40C 000EA36C 28 00 FF FF */ cmplwi r0, 0xffff -/* 800ED410 000EA370 41 82 03 60 */ beq lbl_800ED770 -/* 800ED414 000EA374 3C 60 80 3D */ lis r3, lbl_803CE738@ha -/* 800ED418 000EA378 3B C0 00 00 */ li r30, 0 -/* 800ED41C 000EA37C 38 83 E7 38 */ addi r4, r3, lbl_803CE738@l -/* 800ED420 000EA380 38 60 00 0C */ li r3, 0xc -/* 800ED424 000EA384 38 84 01 CB */ addi r4, r4, 0x1cb -/* 800ED428 000EA388 38 A0 00 00 */ li r5, 0 -/* 800ED42C 000EA38C 48 22 84 41 */ bl __nw__FUlPCcPCc -/* 800ED430 000EA390 7C 7C 1B 79 */ or. r28, r3, r3 -/* 800ED434 000EA394 41 82 00 50 */ beq lbl_800ED484 -/* 800ED438 000EA398 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 800ED43C 000EA39C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800ED440 000EA3A0 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 800ED444 000EA3A4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800ED448 000EA3A8 90 01 00 38 */ stw r0, 0x38(r1) -/* 800ED44C 000EA3AC 38 61 00 30 */ addi r3, r1, 0x30 -/* 800ED450 000EA3B0 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800ED454 000EA3B4 81 84 00 00 */ lwz r12, 0(r4) -/* 800ED458 000EA3B8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ED45C 000EA3BC 7D 89 03 A6 */ mtctr r12 -/* 800ED460 000EA3C0 4E 80 04 21 */ bctrl -/* 800ED464 000EA3C4 7F 83 E3 78 */ mr r3, r28 -/* 800ED468 000EA3C8 38 81 00 30 */ addi r4, r1, 0x30 -/* 800ED46C 000EA3CC 3B C0 00 01 */ li r30, 1 -/* 800ED470 000EA3D0 48 25 3A 39 */ bl __ct__6CTokenFRC6CToken -/* 800ED474 000EA3D4 7F 83 E3 78 */ mr r3, r28 -/* 800ED478 000EA3D8 48 25 39 95 */ bl GetObj__6CTokenFv -/* 800ED47C 000EA3DC 80 03 00 04 */ lwz r0, 4(r3) -/* 800ED480 000EA3E0 90 1C 00 08 */ stw r0, 8(r28) -lbl_800ED484: -/* 800ED484 000EA3E4 7C 1C 00 D0 */ neg r0, r28 -/* 800ED488 000EA3E8 38 61 00 28 */ addi r3, r1, 0x28 -/* 800ED48C 000EA3EC 7C 04 E3 78 */ or r4, r0, r28 -/* 800ED490 000EA3F0 38 1D 00 24 */ addi r0, r29, 0x24 -/* 800ED494 000EA3F4 54 84 0F FE */ srwi r4, r4, 0x1f -/* 800ED498 000EA3F8 93 81 00 2C */ stw r28, 0x2c(r1) -/* 800ED49C 000EA3FC 7C 03 00 40 */ cmplw r3, r0 -/* 800ED4A0 000EA400 98 81 00 28 */ stb r4, 0x28(r1) -/* 800ED4A4 000EA404 41 82 00 4C */ beq lbl_800ED4F0 -/* 800ED4A8 000EA408 88 1D 00 24 */ lbz r0, 0x24(r29) -/* 800ED4AC 000EA40C 28 00 00 00 */ cmplwi r0, 0 -/* 800ED4B0 000EA410 41 82 00 28 */ beq lbl_800ED4D8 -/* 800ED4B4 000EA414 83 9D 00 28 */ lwz r28, 0x28(r29) -/* 800ED4B8 000EA418 28 1C 00 00 */ cmplwi r28, 0 -/* 800ED4BC 000EA41C 41 82 00 1C */ beq lbl_800ED4D8 -/* 800ED4C0 000EA420 41 82 00 10 */ beq lbl_800ED4D0 -/* 800ED4C4 000EA424 7F 83 E3 78 */ mr r3, r28 -/* 800ED4C8 000EA428 38 80 00 00 */ li r4, 0 -/* 800ED4CC 000EA42C 48 25 39 75 */ bl __dt__6CTokenFv -lbl_800ED4D0: -/* 800ED4D0 000EA430 7F 83 E3 78 */ mr r3, r28 -/* 800ED4D4 000EA434 48 22 84 5D */ bl Free__7CMemoryFPCv -lbl_800ED4D8: -/* 800ED4D8 000EA438 88 61 00 28 */ lbz r3, 0x28(r1) -/* 800ED4DC 000EA43C 38 00 00 00 */ li r0, 0 -/* 800ED4E0 000EA440 98 7D 00 24 */ stb r3, 0x24(r29) -/* 800ED4E4 000EA444 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 800ED4E8 000EA448 90 7D 00 28 */ stw r3, 0x28(r29) -/* 800ED4EC 000EA44C 98 01 00 28 */ stb r0, 0x28(r1) -lbl_800ED4F0: -/* 800ED4F0 000EA450 88 01 00 28 */ lbz r0, 0x28(r1) -/* 800ED4F4 000EA454 28 00 00 00 */ cmplwi r0, 0 -/* 800ED4F8 000EA458 41 82 00 28 */ beq lbl_800ED520 -/* 800ED4FC 000EA45C 83 81 00 2C */ lwz r28, 0x2c(r1) -/* 800ED500 000EA460 28 1C 00 00 */ cmplwi r28, 0 -/* 800ED504 000EA464 41 82 00 1C */ beq lbl_800ED520 -/* 800ED508 000EA468 41 82 00 10 */ beq lbl_800ED518 -/* 800ED50C 000EA46C 7F 83 E3 78 */ mr r3, r28 -/* 800ED510 000EA470 38 80 00 00 */ li r4, 0 -/* 800ED514 000EA474 48 25 39 2D */ bl __dt__6CTokenFv -lbl_800ED518: -/* 800ED518 000EA478 7F 83 E3 78 */ mr r3, r28 -/* 800ED51C 000EA47C 48 22 84 15 */ bl Free__7CMemoryFPCv -lbl_800ED520: -/* 800ED520 000EA480 7F C0 07 75 */ extsb. r0, r30 -/* 800ED524 000EA484 41 82 02 4C */ beq lbl_800ED770 -/* 800ED528 000EA488 38 61 00 30 */ addi r3, r1, 0x30 -/* 800ED52C 000EA48C 38 80 FF FF */ li r4, -1 -/* 800ED530 000EA490 48 25 39 11 */ bl __dt__6CTokenFv -/* 800ED534 000EA494 48 00 02 3C */ b lbl_800ED770 -lbl_800ED538: -/* 800ED538 000EA498 80 06 00 00 */ lwz r0, 0(r6) -/* 800ED53C 000EA49C 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 800ED540 000EA4A0 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 800ED544 000EA4A4 90 1D 00 14 */ stw r0, 0x14(r29) -/* 800ED548 000EA4A8 90 BD 00 08 */ stw r5, 8(r29) -/* 800ED54C 000EA4AC 93 FD 00 20 */ stw r31, 0x20(r29) -/* 800ED550 000EA4B0 80 7D 00 20 */ lwz r3, 0x20(r29) -/* 800ED554 000EA4B4 3C 03 00 01 */ addis r0, r3, 1 -/* 800ED558 000EA4B8 28 00 FF FF */ cmplwi r0, 0xffff -/* 800ED55C 000EA4BC 41 82 01 24 */ beq lbl_800ED680 -/* 800ED560 000EA4C0 3C 60 80 3D */ lis r3, lbl_803CE738@ha -/* 800ED564 000EA4C4 3B 80 00 00 */ li r28, 0 -/* 800ED568 000EA4C8 38 83 E7 38 */ addi r4, r3, lbl_803CE738@l -/* 800ED56C 000EA4CC 38 60 00 0C */ li r3, 0xc -/* 800ED570 000EA4D0 38 84 01 CB */ addi r4, r4, 0x1cb -/* 800ED574 000EA4D4 38 A0 00 00 */ li r5, 0 -/* 800ED578 000EA4D8 48 22 82 F5 */ bl __nw__FUlPCcPCc -/* 800ED57C 000EA4DC 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800ED580 000EA4E0 41 82 00 50 */ beq lbl_800ED5D0 -/* 800ED584 000EA4E4 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 800ED588 000EA4E8 93 E1 00 24 */ stw r31, 0x24(r1) -/* 800ED58C 000EA4EC 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 800ED590 000EA4F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800ED594 000EA4F4 90 01 00 20 */ stw r0, 0x20(r1) -/* 800ED598 000EA4F8 38 61 00 18 */ addi r3, r1, 0x18 -/* 800ED59C 000EA4FC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800ED5A0 000EA500 81 84 00 00 */ lwz r12, 0(r4) -/* 800ED5A4 000EA504 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800ED5A8 000EA508 7D 89 03 A6 */ mtctr r12 -/* 800ED5AC 000EA50C 4E 80 04 21 */ bctrl -/* 800ED5B0 000EA510 7F 63 DB 78 */ mr r3, r27 -/* 800ED5B4 000EA514 38 81 00 18 */ addi r4, r1, 0x18 -/* 800ED5B8 000EA518 3B 80 00 01 */ li r28, 1 -/* 800ED5BC 000EA51C 48 25 38 ED */ bl __ct__6CTokenFRC6CToken -/* 800ED5C0 000EA520 7F 63 DB 78 */ mr r3, r27 -/* 800ED5C4 000EA524 48 25 38 49 */ bl GetObj__6CTokenFv -/* 800ED5C8 000EA528 80 03 00 04 */ lwz r0, 4(r3) -/* 800ED5CC 000EA52C 90 1B 00 08 */ stw r0, 8(r27) -lbl_800ED5D0: -/* 800ED5D0 000EA530 7C 1B 00 D0 */ neg r0, r27 -/* 800ED5D4 000EA534 38 61 00 10 */ addi r3, r1, 0x10 -/* 800ED5D8 000EA538 7C 04 DB 78 */ or r4, r0, r27 -/* 800ED5DC 000EA53C 38 1D 00 24 */ addi r0, r29, 0x24 -/* 800ED5E0 000EA540 54 84 0F FE */ srwi r4, r4, 0x1f -/* 800ED5E4 000EA544 93 61 00 14 */ stw r27, 0x14(r1) -/* 800ED5E8 000EA548 7C 03 00 40 */ cmplw r3, r0 -/* 800ED5EC 000EA54C 98 81 00 10 */ stb r4, 0x10(r1) -/* 800ED5F0 000EA550 41 82 00 4C */ beq lbl_800ED63C -/* 800ED5F4 000EA554 88 1D 00 24 */ lbz r0, 0x24(r29) -/* 800ED5F8 000EA558 28 00 00 00 */ cmplwi r0, 0 -/* 800ED5FC 000EA55C 41 82 00 28 */ beq lbl_800ED624 -/* 800ED600 000EA560 83 7D 00 28 */ lwz r27, 0x28(r29) -/* 800ED604 000EA564 28 1B 00 00 */ cmplwi r27, 0 -/* 800ED608 000EA568 41 82 00 1C */ beq lbl_800ED624 -/* 800ED60C 000EA56C 41 82 00 10 */ beq lbl_800ED61C -/* 800ED610 000EA570 7F 63 DB 78 */ mr r3, r27 -/* 800ED614 000EA574 38 80 00 00 */ li r4, 0 -/* 800ED618 000EA578 48 25 38 29 */ bl __dt__6CTokenFv -lbl_800ED61C: -/* 800ED61C 000EA57C 7F 63 DB 78 */ mr r3, r27 -/* 800ED620 000EA580 48 22 83 11 */ bl Free__7CMemoryFPCv -lbl_800ED624: -/* 800ED624 000EA584 88 61 00 10 */ lbz r3, 0x10(r1) -/* 800ED628 000EA588 38 00 00 00 */ li r0, 0 -/* 800ED62C 000EA58C 98 7D 00 24 */ stb r3, 0x24(r29) -/* 800ED630 000EA590 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800ED634 000EA594 90 7D 00 28 */ stw r3, 0x28(r29) -/* 800ED638 000EA598 98 01 00 10 */ stb r0, 0x10(r1) -lbl_800ED63C: -/* 800ED63C 000EA59C 88 01 00 10 */ lbz r0, 0x10(r1) -/* 800ED640 000EA5A0 28 00 00 00 */ cmplwi r0, 0 -/* 800ED644 000EA5A4 41 82 00 28 */ beq lbl_800ED66C -/* 800ED648 000EA5A8 83 61 00 14 */ lwz r27, 0x14(r1) -/* 800ED64C 000EA5AC 28 1B 00 00 */ cmplwi r27, 0 -/* 800ED650 000EA5B0 41 82 00 1C */ beq lbl_800ED66C -/* 800ED654 000EA5B4 41 82 00 10 */ beq lbl_800ED664 -/* 800ED658 000EA5B8 7F 63 DB 78 */ mr r3, r27 -/* 800ED65C 000EA5BC 38 80 00 00 */ li r4, 0 -/* 800ED660 000EA5C0 48 25 37 E1 */ bl __dt__6CTokenFv -lbl_800ED664: -/* 800ED664 000EA5C4 7F 63 DB 78 */ mr r3, r27 -/* 800ED668 000EA5C8 48 22 82 C9 */ bl Free__7CMemoryFPCv -lbl_800ED66C: -/* 800ED66C 000EA5CC 7F 80 07 75 */ extsb. r0, r28 -/* 800ED670 000EA5D0 41 82 00 10 */ beq lbl_800ED680 -/* 800ED674 000EA5D4 38 61 00 18 */ addi r3, r1, 0x18 -/* 800ED678 000EA5D8 38 80 FF FF */ li r4, -1 -/* 800ED67C 000EA5DC 48 25 37 C5 */ bl __dt__6CTokenFv -lbl_800ED680: -/* 800ED680 000EA5E0 D3 FD 00 10 */ stfs f31, 0x10(r29) -/* 800ED684 000EA5E4 2C 1E 00 00 */ cmpwi r30, 0 -/* 800ED688 000EA5E8 D3 FD 00 0C */ stfs f31, 0xc(r29) -/* 800ED68C 000EA5EC 80 1D 00 04 */ lwz r0, 4(r29) -/* 800ED690 000EA5F0 90 1D 00 00 */ stw r0, 0(r29) -/* 800ED694 000EA5F4 93 DD 00 04 */ stw r30, 4(r29) -/* 800ED698 000EA5F8 40 82 00 64 */ bne lbl_800ED6FC -/* 800ED69C 000EA5FC 80 1D 00 00 */ lwz r0, 0(r29) -/* 800ED6A0 000EA600 2C 00 00 01 */ cmpwi r0, 1 -/* 800ED6A4 000EA604 40 82 00 14 */ bne lbl_800ED6B8 -/* 800ED6A8 000EA608 80 6D A3 20 */ lwz r3, lbl_805A8EE0@sda21(r13) -/* 800ED6AC 000EA60C 80 03 00 00 */ lwz r0, 0(r3) -/* 800ED6B0 000EA610 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 800ED6B4 000EA614 48 00 00 BC */ b lbl_800ED770 -lbl_800ED6B8: -/* 800ED6B8 000EA618 2C 00 00 03 */ cmpwi r0, 3 -/* 800ED6BC 000EA61C 41 82 00 0C */ beq lbl_800ED6C8 -/* 800ED6C0 000EA620 2C 00 00 05 */ cmpwi r0, 5 -/* 800ED6C4 000EA624 40 82 00 AC */ bne lbl_800ED770 -lbl_800ED6C8: -/* 800ED6C8 000EA628 E0 3D A0 1C */ psq_l f1, 28(r29), 1, qr2 -/* 800ED6CC 000EA62C E0 5D A0 1D */ psq_l f2, 29(r29), 1, qr2 -/* 800ED6D0 000EA630 E0 7D A0 1E */ psq_l f3, 30(r29), 1, qr2 -/* 800ED6D4 000EA634 38 61 00 0C */ addi r3, r1, 0xc -/* 800ED6D8 000EA638 C0 02 91 4C */ lfs f0, lbl_805AAE6C@sda21(r2) -/* 800ED6DC 000EA63C C0 82 90 EC */ lfs f4, lbl_805AAE0C@sda21(r2) -/* 800ED6E0 000EA640 EC 20 00 72 */ fmuls f1, f0, f1 -/* 800ED6E4 000EA644 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 800ED6E8 000EA648 EC 60 00 F2 */ fmuls f3, f0, f3 -/* 800ED6EC 000EA64C 48 27 5D 01 */ bl __ct__6CColorFffff -/* 800ED6F0 000EA650 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800ED6F4 000EA654 90 1D 00 1C */ stw r0, 0x1c(r29) -/* 800ED6F8 000EA658 48 00 00 78 */ b lbl_800ED770 -lbl_800ED6FC: -/* 800ED6FC 000EA65C 80 1D 00 00 */ lwz r0, 0(r29) -/* 800ED700 000EA660 2C 00 00 00 */ cmpwi r0, 0 -/* 800ED704 000EA664 40 82 00 64 */ bne lbl_800ED768 -/* 800ED708 000EA668 2C 1E 00 01 */ cmpwi r30, 1 -/* 800ED70C 000EA66C 40 82 00 14 */ bne lbl_800ED720 -/* 800ED710 000EA670 80 6D A3 20 */ lwz r3, lbl_805A8EE0@sda21(r13) -/* 800ED714 000EA674 80 03 00 00 */ lwz r0, 0(r3) -/* 800ED718 000EA678 90 1D 00 18 */ stw r0, 0x18(r29) -/* 800ED71C 000EA67C 48 00 00 4C */ b lbl_800ED768 -lbl_800ED720: -/* 800ED720 000EA680 2C 1E 00 03 */ cmpwi r30, 3 -/* 800ED724 000EA684 41 82 00 0C */ beq lbl_800ED730 -/* 800ED728 000EA688 2C 1E 00 05 */ cmpwi r30, 5 -/* 800ED72C 000EA68C 40 82 00 3C */ bne lbl_800ED768 -lbl_800ED730: -/* 800ED730 000EA690 E0 3D A0 1C */ psq_l f1, 28(r29), 1, qr2 -/* 800ED734 000EA694 E0 5D A0 1D */ psq_l f2, 29(r29), 1, qr2 -/* 800ED738 000EA698 E0 7D A0 1E */ psq_l f3, 30(r29), 1, qr2 -/* 800ED73C 000EA69C 38 61 00 08 */ addi r3, r1, 8 -/* 800ED740 000EA6A0 C0 02 91 4C */ lfs f0, lbl_805AAE6C@sda21(r2) -/* 800ED744 000EA6A4 C0 82 90 EC */ lfs f4, lbl_805AAE0C@sda21(r2) -/* 800ED748 000EA6A8 EC 20 00 72 */ fmuls f1, f0, f1 -/* 800ED74C 000EA6AC EC 40 00 B2 */ fmuls f2, f0, f2 -/* 800ED750 000EA6B0 EC 60 00 F2 */ fmuls f3, f0, f3 -/* 800ED754 000EA6B4 48 27 5C 99 */ bl __ct__6CColorFffff -/* 800ED758 000EA6B8 80 01 00 08 */ lwz r0, 8(r1) -/* 800ED75C 000EA6BC 90 1D 00 18 */ stw r0, 0x18(r29) -/* 800ED760 000EA6C0 80 1D 00 18 */ lwz r0, 0x18(r29) -/* 800ED764 000EA6C4 90 1D 00 14 */ stw r0, 0x14(r29) -lbl_800ED768: -/* 800ED768 000EA6C8 80 1D 00 04 */ lwz r0, 4(r29) -/* 800ED76C 000EA6CC 90 1D 00 00 */ stw r0, 0(r29) -lbl_800ED770: -/* 800ED770 000EA6D0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 800ED774 000EA6D4 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 800ED778 000EA6D8 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 800ED77C 000EA6DC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800ED780 000EA6E0 7C 08 03 A6 */ mtlr r0 -/* 800ED784 000EA6E4 38 21 00 70 */ addi r1, r1, 0x70 -/* 800ED788 000EA6E8 4E 80 00 20 */ blr - -.global __ct__17CCameraFilterPassFv -__ct__17CCameraFilterPassFv: -/* 800ED78C 000EA6EC 38 80 00 00 */ li r4, 0 -/* 800ED790 000EA6F0 C0 02 90 EC */ lfs f0, lbl_805AAE0C@sda21(r2) -/* 800ED794 000EA6F4 90 83 00 00 */ stw r4, 0(r3) -/* 800ED798 000EA6F8 38 00 FF FF */ li r0, -1 -/* 800ED79C 000EA6FC 90 83 00 04 */ stw r4, 4(r3) -/* 800ED7A0 000EA700 90 83 00 08 */ stw r4, 8(r3) -/* 800ED7A4 000EA704 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800ED7A8 000EA708 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800ED7AC 000EA70C 90 03 00 14 */ stw r0, 0x14(r3) -/* 800ED7B0 000EA710 90 03 00 18 */ stw r0, 0x18(r3) -/* 800ED7B4 000EA714 90 03 00 1C */ stw r0, 0x1c(r3) -/* 800ED7B8 000EA718 90 03 00 20 */ stw r0, 0x20(r3) -/* 800ED7BC 000EA71C 98 83 00 24 */ stb r4, 0x24(r3) -/* 800ED7C0 000EA720 90 83 00 28 */ stw r4, 0x28(r3) -/* 800ED7C4 000EA724 4E 80 00 20 */ blr - -.global __sinit_CCameraFilter_cpp -__sinit_CCameraFilter_cpp: -/* 800ED7C8 000EA728 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ED7CC 000EA72C 7C 08 02 A6 */ mflr r0 -/* 800ED7D0 000EA730 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ED7D4 000EA734 48 25 C7 D9 */ bl White__6CColorFv -/* 800ED7D8 000EA738 90 6D A3 20 */ stw r3, lbl_805A8EE0@sda21(r13) -/* 800ED7DC 000EA73C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ED7E0 000EA740 7C 08 03 A6 */ mtlr r0 -/* 800ED7E4 000EA744 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ED7E8 000EA748 4E 80 00 20 */ blr - -.global DeleteBallShadow__10CMorphBallFv -DeleteBallShadow__10CMorphBallFv: -/* 800ED7EC 000EA74C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800ED7F0 000EA750 7C 08 02 A6 */ mflr r0 -/* 800ED7F4 000EA754 38 80 00 01 */ li r4, 1 -/* 800ED7F8 000EA758 90 01 00 14 */ stw r0, 0x14(r1) -/* 800ED7FC 000EA75C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800ED800 000EA760 7C 7F 1B 78 */ mr r31, r3 -/* 800ED804 000EA764 80 63 1E 50 */ lwz r3, 0x1e50(r3) -/* 800ED808 000EA768 48 1A 92 5D */ bl __dt__16CMorphBallShadowFv -/* 800ED80C 000EA76C 38 00 00 00 */ li r0, 0 -/* 800ED810 000EA770 90 1F 1E 50 */ stw r0, 0x1e50(r31) -/* 800ED814 000EA774 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800ED818 000EA778 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800ED81C 000EA77C 7C 08 03 A6 */ mtlr r0 -/* 800ED820 000EA780 38 21 00 10 */ addi r1, r1, 0x10 -/* 800ED824 000EA784 4E 80 00 20 */ blr - -.global CreateBallShadow__10CMorphBallFv -CreateBallShadow__10CMorphBallFv: -/* 800ED828 000EA788 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800ED82C 000EA78C 7C 08 02 A6 */ mflr r0 -/* 800ED830 000EA790 90 01 00 34 */ stw r0, 0x34(r1) -/* 800ED834 000EA794 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800ED838 000EA798 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800ED83C 000EA79C 7C 7E 1B 78 */ mr r30, r3 -/* 800ED840 000EA7A0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800ED844 000EA7A4 93 81 00 20 */ stw r28, 0x20(r1) -/* 800ED848 000EA7A8 80 03 1E 50 */ lwz r0, 0x1e50(r3) -/* 800ED84C 000EA7AC 28 00 00 00 */ cmplwi r0, 0 -/* 800ED850 000EA7B0 40 82 00 B4 */ bne lbl_800ED904 -/* 800ED854 000EA7B4 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800ED858 000EA7B8 3B A0 00 00 */ li r29, 0 -/* 800ED85C 000EA7BC 38 63 EB F4 */ addi r3, r3, lbl_803CEBF4@l -/* 800ED860 000EA7C0 3B 80 00 00 */ li r28, 0 -/* 800ED864 000EA7C4 38 83 00 DC */ addi r4, r3, 0xdc -/* 800ED868 000EA7C8 38 60 00 D4 */ li r3, 0xd4 -/* 800ED86C 000EA7CC 38 A0 00 00 */ li r5, 0 -/* 800ED870 000EA7D0 48 22 7F FD */ bl __nw__FUlPCcPCc -/* 800ED874 000EA7D4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800ED878 000EA7D8 41 82 00 54 */ beq lbl_800ED8CC -/* 800ED87C 000EA7DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800ED880 000EA7E0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800ED884 000EA7E4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800ED888 000EA7E8 38 61 00 10 */ addi r3, r1, 0x10 -/* 800ED88C 000EA7EC 81 84 00 00 */ lwz r12, 0(r4) -/* 800ED890 000EA7F0 38 A5 00 E3 */ addi r5, r5, 0xe3 -/* 800ED894 000EA7F4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800ED898 000EA7F8 7D 89 03 A6 */ mtctr r12 -/* 800ED89C 000EA7FC 4E 80 04 21 */ bctrl -/* 800ED8A0 000EA800 38 61 00 08 */ addi r3, r1, 8 -/* 800ED8A4 000EA804 38 81 00 10 */ addi r4, r1, 0x10 -/* 800ED8A8 000EA808 3B A0 00 01 */ li r29, 1 -/* 800ED8AC 000EA80C 48 25 35 FD */ bl __ct__6CTokenFRC6CToken -/* 800ED8B0 000EA810 7F E3 FB 78 */ mr r3, r31 -/* 800ED8B4 000EA814 38 C1 00 08 */ addi r6, r1, 8 -/* 800ED8B8 000EA818 3B 80 00 01 */ li r28, 1 -/* 800ED8BC 000EA81C 38 80 00 40 */ li r4, 0x40 -/* 800ED8C0 000EA820 38 A0 00 40 */ li r5, 0x40 -/* 800ED8C4 000EA824 48 1A 92 75 */ bl "__ct__16CMorphBallShadowFiiRC17TToken<8CTexture>" -/* 800ED8C8 000EA828 7C 7F 1B 78 */ mr r31, r3 -lbl_800ED8CC: -/* 800ED8CC 000EA82C 80 7E 1E 50 */ lwz r3, 0x1e50(r30) -/* 800ED8D0 000EA830 38 80 00 01 */ li r4, 1 -/* 800ED8D4 000EA834 48 1A 91 91 */ bl __dt__16CMorphBallShadowFv -/* 800ED8D8 000EA838 7F 80 07 75 */ extsb. r0, r28 -/* 800ED8DC 000EA83C 93 FE 1E 50 */ stw r31, 0x1e50(r30) -/* 800ED8E0 000EA840 41 82 00 10 */ beq lbl_800ED8F0 -/* 800ED8E4 000EA844 38 61 00 08 */ addi r3, r1, 8 -/* 800ED8E8 000EA848 38 80 00 00 */ li r4, 0 -/* 800ED8EC 000EA84C 48 25 35 55 */ bl __dt__6CTokenFv -lbl_800ED8F0: -/* 800ED8F0 000EA850 7F A0 07 75 */ extsb. r0, r29 -/* 800ED8F4 000EA854 41 82 00 10 */ beq lbl_800ED904 -/* 800ED8F8 000EA858 38 61 00 10 */ addi r3, r1, 0x10 -/* 800ED8FC 000EA85C 38 80 FF FF */ li r4, -1 -/* 800ED900 000EA860 48 25 35 41 */ bl __dt__6CTokenFv -lbl_800ED904: -/* 800ED904 000EA864 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800ED908 000EA868 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800ED90C 000EA86C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800ED910 000EA870 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800ED914 000EA874 83 81 00 20 */ lwz r28, 0x20(r1) -/* 800ED918 000EA878 7C 08 03 A6 */ mtlr r0 -/* 800ED91C 000EA87C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800ED920 000EA880 4E 80 00 20 */ blr - -.global RenderToShadowTex__10CMorphBallFR13CStateManager -RenderToShadowTex__10CMorphBallFR13CStateManager: -/* 800ED924 000EA884 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800ED928 000EA888 7C 08 02 A6 */ mflr r0 -/* 800ED92C 000EA88C 90 01 00 64 */ stw r0, 0x64(r1) -/* 800ED930 000EA890 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 800ED934 000EA894 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 800ED938 000EA898 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800ED93C 000EA89C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800ED940 000EA8A0 7C 7E 1B 78 */ mr r30, r3 -/* 800ED944 000EA8A4 7C 9F 23 78 */ mr r31, r4 -/* 800ED948 000EA8A8 80 03 1E 50 */ lwz r0, 0x1e50(r3) -/* 800ED94C 000EA8AC 28 00 00 00 */ cmplwi r0, 0 -/* 800ED950 000EA8B0 41 82 00 AC */ beq lbl_800ED9FC -/* 800ED954 000EA8B4 C3 FE 00 0C */ lfs f31, 0xc(r30) -/* 800ED958 000EA8B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 800ED95C 000EA8BC 80 9E 00 00 */ lwz r4, 0(r30) -/* 800ED960 000EA8C0 48 02 CC CD */ bl GetPrimitiveOffset__13CPhysicsActorCFv -/* 800ED964 000EA8C4 80 DE 00 00 */ lwz r6, 0(r30) -/* 800ED968 000EA8C8 38 61 00 2C */ addi r3, r1, 0x2c -/* 800ED96C 000EA8CC C0 41 00 20 */ lfs f2, 0x20(r1) -/* 800ED970 000EA8D0 38 81 00 14 */ addi r4, r1, 0x14 -/* 800ED974 000EA8D4 C0 66 00 40 */ lfs f3, 0x40(r6) -/* 800ED978 000EA8D8 38 A1 00 08 */ addi r5, r1, 8 -/* 800ED97C 000EA8DC C0 26 00 50 */ lfs f1, 0x50(r6) -/* 800ED980 000EA8E0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 800ED984 000EA8E4 EC 43 10 2A */ fadds f2, f3, f2 -/* 800ED988 000EA8E8 C0 A2 91 50 */ lfs f5, lbl_805AAE70@sda21(r2) -/* 800ED98C 000EA8EC EC 81 00 2A */ fadds f4, f1, f0 -/* 800ED990 000EA8F0 C0 26 00 60 */ lfs f1, 0x60(r6) -/* 800ED994 000EA8F4 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 800ED998 000EA8F8 EC E2 28 2A */ fadds f7, f2, f5 -/* 800ED99C 000EA8FC C0 42 91 54 */ lfs f2, lbl_805AAE74@sda21(r2) -/* 800ED9A0 000EA900 EC 61 00 2A */ fadds f3, f1, f0 -/* 800ED9A4 000EA904 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 800ED9A8 000EA908 EC C4 28 2A */ fadds f6, f4, f5 -/* 800ED9AC 000EA90C C0 02 91 58 */ lfs f0, lbl_805AAE78@sda21(r2) -/* 800ED9B0 000EA910 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800ED9B4 000EA914 EC A3 F8 2A */ fadds f5, f3, f31 -/* 800ED9B8 000EA918 EC 81 38 2A */ fadds f4, f1, f7 -/* 800ED9BC 000EA91C EC 61 30 2A */ fadds f3, f1, f6 -/* 800ED9C0 000EA920 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 800ED9C4 000EA924 EC 47 08 28 */ fsubs f2, f7, f1 -/* 800ED9C8 000EA928 EC 26 08 28 */ fsubs f1, f6, f1 -/* 800ED9CC 000EA92C D0 81 00 08 */ stfs f4, 8(r1) -/* 800ED9D0 000EA930 EC 05 00 28 */ fsubs f0, f5, f0 -/* 800ED9D4 000EA934 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 800ED9D8 000EA938 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 800ED9DC 000EA93C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800ED9E0 000EA940 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800ED9E4 000EA944 48 24 AB 25 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800ED9E8 000EA948 80 7E 1E 50 */ lwz r3, 0x1e50(r30) -/* 800ED9EC 000EA94C 7F E5 FB 78 */ mr r5, r31 -/* 800ED9F0 000EA950 80 DE 00 00 */ lwz r6, 0(r30) -/* 800ED9F4 000EA954 38 81 00 2C */ addi r4, r1, 0x2c -/* 800ED9F8 000EA958 48 1A 88 69 */ bl RenderIdBuffer__16CMorphBallShadowFRC6CAABoxR13CStateManagerR7CPlayer -lbl_800ED9FC: -/* 800ED9FC 000EA95C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 800EDA00 000EA960 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800EDA04 000EA964 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 800EDA08 000EA968 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800EDA0C 000EA96C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800EDA10 000EA970 7C 08 03 A6 */ mtlr r0 -/* 800EDA14 000EA974 38 21 00 60 */ addi r1, r1, 0x60 -/* 800EDA18 000EA978 4E 80 00 20 */ blr - -.global DrawBallShadow__10CMorphBallFR13CStateManager -DrawBallShadow__10CMorphBallFR13CStateManager: -/* 800EDA1C 000EA97C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800EDA20 000EA980 7C 08 02 A6 */ mflr r0 -/* 800EDA24 000EA984 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EDA28 000EA988 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800EDA2C 000EA98C 7C 9F 23 78 */ mr r31, r4 -/* 800EDA30 000EA990 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800EDA34 000EA994 7C 7E 1B 78 */ mr r30, r3 -/* 800EDA38 000EA998 80 03 1E 50 */ lwz r0, 0x1e50(r3) -/* 800EDA3C 000EA99C 28 00 00 00 */ cmplwi r0, 0 -/* 800EDA40 000EA9A0 41 82 00 C4 */ beq lbl_800EDB04 -/* 800EDA44 000EA9A4 80 7E 00 00 */ lwz r3, 0(r30) -/* 800EDA48 000EA9A8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800EDA4C 000EA9AC 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 800EDA50 000EA9B0 2C 00 00 02 */ cmpwi r0, 2 -/* 800EDA54 000EA9B4 41 82 00 6C */ beq lbl_800EDAC0 -/* 800EDA58 000EA9B8 40 80 00 14 */ bge lbl_800EDA6C -/* 800EDA5C 000EA9BC 2C 00 00 00 */ cmpwi r0, 0 -/* 800EDA60 000EA9C0 41 82 00 A4 */ beq lbl_800EDB04 -/* 800EDA64 000EA9C4 40 80 00 94 */ bge lbl_800EDAF8 -/* 800EDA68 000EA9C8 48 00 00 90 */ b lbl_800EDAF8 -lbl_800EDA6C: -/* 800EDA6C 000EA9CC 2C 00 00 04 */ cmpwi r0, 4 -/* 800EDA70 000EA9D0 40 80 00 88 */ bge lbl_800EDAF8 -/* 800EDA74 000EA9D4 48 00 00 0C */ b lbl_800EDA80 -/* 800EDA78 000EA9D8 48 00 00 80 */ b lbl_800EDAF8 -/* 800EDA7C 000EA9DC 48 00 00 88 */ b lbl_800EDB04 -lbl_800EDA80: -/* 800EDA80 000EA9E0 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800EDA84 000EA9E4 C0 43 05 78 */ lfs f2, 0x578(r3) -/* 800EDA88 000EA9E8 FC 01 10 00 */ fcmpu cr0, f1, f2 -/* 800EDA8C 000EA9EC 40 82 00 08 */ bne lbl_800EDA94 -/* 800EDA90 000EA9F0 48 00 00 24 */ b lbl_800EDAB4 -lbl_800EDA94: -/* 800EDA94 000EA9F4 C0 03 05 74 */ lfs f0, 0x574(r3) -/* 800EDA98 000EA9F8 38 81 00 0C */ addi r4, r1, 0xc -/* 800EDA9C 000EA9FC 38 6D 88 28 */ addi r3, r13, lbl_805A73E8@sda21 -/* 800EDAA0 000EAA00 38 AD 88 2C */ addi r5, r13, lbl_805A73EC@sda21 -/* 800EDAA4 000EAA04 EC 00 10 24 */ fdivs f0, f0, f2 -/* 800EDAA8 000EAA08 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800EDAAC 000EAA0C 4B F1 E8 09 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800EDAB0 000EAA10 C0 23 00 00 */ lfs f1, 0(r3) -lbl_800EDAB4: -/* 800EDAB4 000EAA14 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800EDAB8 000EAA18 EC 20 08 28 */ fsubs f1, f0, f1 -/* 800EDABC 000EAA1C 48 00 00 3C */ b lbl_800EDAF8 -lbl_800EDAC0: -/* 800EDAC0 000EAA20 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800EDAC4 000EAA24 C0 23 05 78 */ lfs f1, 0x578(r3) -/* 800EDAC8 000EAA28 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800EDACC 000EAA2C 40 82 00 08 */ bne lbl_800EDAD4 -/* 800EDAD0 000EAA30 48 00 00 24 */ b lbl_800EDAF4 -lbl_800EDAD4: -/* 800EDAD4 000EAA34 C0 03 05 74 */ lfs f0, 0x574(r3) -/* 800EDAD8 000EAA38 38 81 00 08 */ addi r4, r1, 8 -/* 800EDADC 000EAA3C 38 6D 88 28 */ addi r3, r13, lbl_805A73E8@sda21 -/* 800EDAE0 000EAA40 38 AD 88 2C */ addi r5, r13, lbl_805A73EC@sda21 -/* 800EDAE4 000EAA44 EC 00 08 24 */ fdivs f0, f0, f1 -/* 800EDAE8 000EAA48 D0 01 00 08 */ stfs f0, 8(r1) -/* 800EDAEC 000EAA4C 4B F1 E7 C9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800EDAF0 000EAA50 C0 03 00 00 */ lfs f0, 0(r3) -lbl_800EDAF4: -/* 800EDAF4 000EAA54 FC 20 00 90 */ fmr f1, f0 -lbl_800EDAF8: -/* 800EDAF8 000EAA58 80 7E 1E 50 */ lwz r3, 0x1e50(r30) -/* 800EDAFC 000EAA5C 7F E4 FB 78 */ mr r4, r31 -/* 800EDB00 000EAA60 48 1A 81 B1 */ bl Render__16CMorphBallShadowFR13CStateManagerf -lbl_800EDB04: -/* 800EDB04 000EAA64 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EDB08 000EAA68 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800EDB0C 000EAA6C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800EDB10 000EAA70 7C 08 03 A6 */ mtlr r0 -/* 800EDB14 000EAA74 38 21 00 20 */ addi r1, r1, 0x20 -/* 800EDB18 000EAA78 4E 80 00 20 */ blr - -.global InitializeWakeEffects__10CMorphBallFv -InitializeWakeEffects__10CMorphBallFv: -/* 800EDB1C 000EAA7C 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 800EDB20 000EAA80 7C 08 02 A6 */ mflr r0 -/* 800EDB24 000EAA84 3C 80 80 57 */ lis r4, lbl_8056D4F4@ha -/* 800EDB28 000EAA88 90 01 01 54 */ stw r0, 0x154(r1) -/* 800EDB2C 000EAA8C BE A1 01 24 */ stmw r21, 0x124(r1) -/* 800EDB30 000EAA90 7C 7F 1B 78 */ mr r31, r3 -/* 800EDB34 000EAA94 38 64 D4 F4 */ addi r3, r4, lbl_8056D4F4@l -/* 800EDB38 000EAA98 80 83 00 00 */ lwz r4, 0(r3) -/* 800EDB3C 000EAA9C 2C 04 00 20 */ cmpwi r4, 0x20 -/* 800EDB40 000EAAA0 40 80 00 44 */ bge lbl_800EDB84 -/* 800EDB44 000EAAA4 54 80 10 3A */ slwi r0, r4, 2 -/* 800EDB48 000EAAA8 20 84 00 20 */ subfic r4, r4, 0x20 -/* 800EDB4C 000EAAAC 7C 63 02 14 */ add r3, r3, r0 -/* 800EDB50 000EAAB0 80 0D 88 E8 */ lwz r0, lbl_805A74A8@sda21(r13) -/* 800EDB54 000EAAB4 7C 89 03 A6 */ mtctr r4 -/* 800EDB58 000EAAB8 2C 04 00 00 */ cmpwi r4, 0 -/* 800EDB5C 000EAABC 38 63 00 04 */ addi r3, r3, 4 -/* 800EDB60 000EAAC0 40 81 00 18 */ ble lbl_800EDB78 -lbl_800EDB64: -/* 800EDB64 000EAAC4 28 03 00 00 */ cmplwi r3, 0 -/* 800EDB68 000EAAC8 41 82 00 08 */ beq lbl_800EDB70 -/* 800EDB6C 000EAACC 90 03 00 00 */ stw r0, 0(r3) -lbl_800EDB70: -/* 800EDB70 000EAAD0 38 63 00 04 */ addi r3, r3, 4 -/* 800EDB74 000EAAD4 42 00 FF F0 */ bdnz lbl_800EDB64 -lbl_800EDB78: -/* 800EDB78 000EAAD8 3C 60 80 57 */ lis r3, lbl_8056D4F4@ha -/* 800EDB7C 000EAADC 38 00 00 20 */ li r0, 0x20 -/* 800EDB80 000EAAE0 90 03 D4 F4 */ stw r0, lbl_8056D4F4@l(r3) -lbl_800EDB84: -/* 800EDB84 000EAAE4 3C 80 80 57 */ lis r4, lbl_8056D4F4@ha -/* 800EDB88 000EAAE8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDB8C 000EAAEC 39 44 D4 F4 */ addi r10, r4, lbl_8056D4F4@l -/* 800EDB90 000EAAF0 38 80 00 00 */ li r4, 0 -/* 800EDB94 000EAAF4 39 20 00 02 */ li r9, 2 -/* 800EDB98 000EAAF8 39 00 00 03 */ li r8, 3 -/* 800EDB9C 000EAAFC 38 E0 00 04 */ li r7, 4 -/* 800EDBA0 000EAB00 38 C0 00 05 */ li r6, 5 -/* 800EDBA4 000EAB04 38 00 00 06 */ li r0, 6 -/* 800EDBA8 000EAB08 38 63 EB F4 */ addi r3, r3, lbl_803CEBF4@l -/* 800EDBAC 000EAB0C 90 8A 00 20 */ stw r4, 0x20(r10) -/* 800EDBB0 000EAB10 38 83 00 DC */ addi r4, r3, 0xdc -/* 800EDBB4 000EAB14 38 60 01 2C */ li r3, 0x12c -/* 800EDBB8 000EAB18 38 A0 00 00 */ li r5, 0 -/* 800EDBBC 000EAB1C 91 2A 00 24 */ stw r9, 0x24(r10) -/* 800EDBC0 000EAB20 91 0A 00 28 */ stw r8, 0x28(r10) -/* 800EDBC4 000EAB24 90 EA 00 30 */ stw r7, 0x30(r10) -/* 800EDBC8 000EAB28 90 CA 00 34 */ stw r6, 0x34(r10) -/* 800EDBCC 000EAB2C 90 0A 00 48 */ stw r0, 0x48(r10) -/* 800EDBD0 000EAB30 48 22 7C 9D */ bl __nw__FUlPCcPCc -/* 800EDBD4 000EAB34 7C 64 1B 79 */ or. r4, r3, r3 -/* 800EDBD8 000EAB38 41 82 00 0C */ beq lbl_800EDBE4 -/* 800EDBDC 000EAB3C 48 27 94 91 */ bl __ct__15CGenDescriptionFv -/* 800EDBE0 000EAB40 7C 64 1B 78 */ mr r4, r3 -lbl_800EDBE4: -/* 800EDBE4 000EAB44 3A A1 01 18 */ addi r21, r1, 0x118 -/* 800EDBE8 000EAB48 38 61 00 08 */ addi r3, r1, 8 -/* 800EDBEC 000EAB4C 4B FA 1D 55 */ bl "GetNewDerivedObject__43TObjOwnerDerivedFromIObj<15CGenDescription>FP15CGenDescription" -/* 800EDBF0 000EAB50 38 00 00 00 */ li r0, 0 -/* 800EDBF4 000EAB54 80 81 00 0C */ lwz r4, 0xc(r1) -/* 800EDBF8 000EAB58 98 01 00 08 */ stb r0, 8(r1) -/* 800EDBFC 000EAB5C 7E A3 AB 78 */ mr r3, r21 -/* 800EDC00 000EAB60 48 25 33 05 */ bl __ct__6CTokenFP4IObj -/* 800EDC04 000EAB64 88 01 00 08 */ lbz r0, 8(r1) -/* 800EDC08 000EAB68 28 00 00 00 */ cmplwi r0, 0 -/* 800EDC0C 000EAB6C 41 82 00 24 */ beq lbl_800EDC30 -/* 800EDC10 000EAB70 80 61 00 0C */ lwz r3, 0xc(r1) -/* 800EDC14 000EAB74 28 03 00 00 */ cmplwi r3, 0 -/* 800EDC18 000EAB78 41 82 00 18 */ beq lbl_800EDC30 -/* 800EDC1C 000EAB7C 81 83 00 00 */ lwz r12, 0(r3) -/* 800EDC20 000EAB80 38 80 00 01 */ li r4, 1 -/* 800EDC24 000EAB84 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EDC28 000EAB88 7D 89 03 A6 */ mtctr r12 -/* 800EDC2C 000EAB8C 4E 80 04 21 */ bctrl -lbl_800EDC30: -/* 800EDC30 000EAB90 80 7F 1B 84 */ lwz r3, 0x1b84(r31) -/* 800EDC34 000EAB94 2C 03 00 08 */ cmpwi r3, 8 -/* 800EDC38 000EAB98 40 80 00 48 */ bge lbl_800EDC80 -/* 800EDC3C 000EAB9C 54 60 18 38 */ slwi r0, r3, 3 -/* 800EDC40 000EABA0 23 03 00 08 */ subfic r24, r3, 8 -/* 800EDC44 000EABA4 7E FF 02 14 */ add r23, r31, r0 -/* 800EDC48 000EABA8 3A C0 00 00 */ li r22, 0 -/* 800EDC4C 000EABAC 3A F7 1B 88 */ addi r23, r23, 0x1b88 -/* 800EDC50 000EABB0 48 00 00 20 */ b lbl_800EDC70 -lbl_800EDC54: -/* 800EDC54 000EABB4 28 17 00 00 */ cmplwi r23, 0 -/* 800EDC58 000EABB8 41 82 00 10 */ beq lbl_800EDC68 -/* 800EDC5C 000EABBC 7E E3 BB 78 */ mr r3, r23 -/* 800EDC60 000EABC0 38 81 01 18 */ addi r4, r1, 0x118 -/* 800EDC64 000EABC4 48 25 32 45 */ bl __ct__6CTokenFRC6CToken -lbl_800EDC68: -/* 800EDC68 000EABC8 3A D6 00 01 */ addi r22, r22, 1 -/* 800EDC6C 000EABCC 3A F7 00 08 */ addi r23, r23, 8 -lbl_800EDC70: -/* 800EDC70 000EABD0 7C 16 C0 00 */ cmpw r22, r24 -/* 800EDC74 000EABD4 41 80 FF E0 */ blt lbl_800EDC54 -/* 800EDC78 000EABD8 38 00 00 08 */ li r0, 8 -/* 800EDC7C 000EABDC 90 1F 1B 84 */ stw r0, 0x1b84(r31) -lbl_800EDC80: -/* 800EDC80 000EABE0 38 61 01 18 */ addi r3, r1, 0x118 -/* 800EDC84 000EABE4 38 80 00 00 */ li r4, 0 -/* 800EDC88 000EABE8 48 25 31 B9 */ bl __dt__6CTokenFv -/* 800EDC8C 000EABEC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EDC90 000EABF0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDC94 000EABF4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800EDC98 000EABF8 38 61 01 10 */ addi r3, r1, 0x110 -/* 800EDC9C 000EABFC 81 84 00 00 */ lwz r12, 0(r4) -/* 800EDCA0 000EAC00 38 A5 00 F1 */ addi r5, r5, 0xf1 -/* 800EDCA4 000EAC04 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EDCA8 000EAC08 7D 89 03 A6 */ mtctr r12 -/* 800EDCAC 000EAC0C 4E 80 04 21 */ bctrl -/* 800EDCB0 000EAC10 38 61 01 08 */ addi r3, r1, 0x108 -/* 800EDCB4 000EAC14 38 81 01 10 */ addi r4, r1, 0x110 -/* 800EDCB8 000EAC18 48 25 31 F1 */ bl __ct__6CTokenFRC6CToken -/* 800EDCBC 000EAC1C 3A FF 1B 88 */ addi r23, r31, 0x1b88 -/* 800EDCC0 000EAC20 38 81 01 08 */ addi r4, r1, 0x108 -/* 800EDCC4 000EAC24 3B 17 00 10 */ addi r24, r23, 0x10 -/* 800EDCC8 000EAC28 7F 03 C3 78 */ mr r3, r24 -/* 800EDCCC 000EAC2C 48 25 2F F9 */ bl __as__6CTokenFRC6CToken -/* 800EDCD0 000EAC30 38 61 01 08 */ addi r3, r1, 0x108 -/* 800EDCD4 000EAC34 38 80 00 00 */ li r4, 0 -/* 800EDCD8 000EAC38 48 25 31 69 */ bl __dt__6CTokenFv -/* 800EDCDC 000EAC3C 38 61 01 10 */ addi r3, r1, 0x110 -/* 800EDCE0 000EAC40 38 80 FF FF */ li r4, -1 -/* 800EDCE4 000EAC44 48 25 31 5D */ bl __dt__6CTokenFv -/* 800EDCE8 000EAC48 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EDCEC 000EAC4C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDCF0 000EAC50 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800EDCF4 000EAC54 38 61 01 00 */ addi r3, r1, 0x100 -/* 800EDCF8 000EAC58 81 84 00 00 */ lwz r12, 0(r4) -/* 800EDCFC 000EAC5C 38 A5 00 FA */ addi r5, r5, 0xfa -/* 800EDD00 000EAC60 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EDD04 000EAC64 7D 89 03 A6 */ mtctr r12 -/* 800EDD08 000EAC68 4E 80 04 21 */ bctrl -/* 800EDD0C 000EAC6C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 800EDD10 000EAC70 38 81 01 00 */ addi r4, r1, 0x100 -/* 800EDD14 000EAC74 48 25 31 95 */ bl __ct__6CTokenFRC6CToken -/* 800EDD18 000EAC78 7E E3 BB 78 */ mr r3, r23 -/* 800EDD1C 000EAC7C 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 800EDD20 000EAC80 48 25 2F A5 */ bl __as__6CTokenFRC6CToken -/* 800EDD24 000EAC84 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 800EDD28 000EAC88 38 80 00 00 */ li r4, 0 -/* 800EDD2C 000EAC8C 48 25 31 15 */ bl __dt__6CTokenFv -/* 800EDD30 000EAC90 38 61 01 00 */ addi r3, r1, 0x100 -/* 800EDD34 000EAC94 38 80 FF FF */ li r4, -1 -/* 800EDD38 000EAC98 48 25 31 09 */ bl __dt__6CTokenFv -/* 800EDD3C 000EAC9C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EDD40 000EACA0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDD44 000EACA4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800EDD48 000EACA8 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 800EDD4C 000EACAC 81 84 00 00 */ lwz r12, 0(r4) -/* 800EDD50 000EACB0 38 A5 01 05 */ addi r5, r5, 0x105 -/* 800EDD54 000EACB4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EDD58 000EACB8 7D 89 03 A6 */ mtctr r12 -/* 800EDD5C 000EACBC 4E 80 04 21 */ bctrl -/* 800EDD60 000EACC0 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 800EDD64 000EACC4 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 800EDD68 000EACC8 48 25 31 41 */ bl __ct__6CTokenFRC6CToken -/* 800EDD6C 000EACCC 3B 37 00 08 */ addi r25, r23, 8 -/* 800EDD70 000EACD0 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 800EDD74 000EACD4 7F 23 CB 78 */ mr r3, r25 -/* 800EDD78 000EACD8 48 25 2F 4D */ bl __as__6CTokenFRC6CToken -/* 800EDD7C 000EACDC 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 800EDD80 000EACE0 38 80 00 00 */ li r4, 0 -/* 800EDD84 000EACE4 48 25 30 BD */ bl __dt__6CTokenFv -/* 800EDD88 000EACE8 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 800EDD8C 000EACEC 38 80 FF FF */ li r4, -1 -/* 800EDD90 000EACF0 48 25 30 B1 */ bl __dt__6CTokenFv -/* 800EDD94 000EACF4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EDD98 000EACF8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDD9C 000EACFC 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800EDDA0 000EAD00 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 800EDDA4 000EAD04 81 84 00 00 */ lwz r12, 0(r4) -/* 800EDDA8 000EAD08 38 A5 01 16 */ addi r5, r5, 0x116 -/* 800EDDAC 000EAD0C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EDDB0 000EAD10 7D 89 03 A6 */ mtctr r12 -/* 800EDDB4 000EAD14 4E 80 04 21 */ bctrl -/* 800EDDB8 000EAD18 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 800EDDBC 000EAD1C 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 800EDDC0 000EAD20 48 25 30 E9 */ bl __ct__6CTokenFRC6CToken -/* 800EDDC4 000EAD24 3B B7 00 18 */ addi r29, r23, 0x18 -/* 800EDDC8 000EAD28 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 800EDDCC 000EAD2C 7F A3 EB 78 */ mr r3, r29 -/* 800EDDD0 000EAD30 48 25 2E F5 */ bl __as__6CTokenFRC6CToken -/* 800EDDD4 000EAD34 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 800EDDD8 000EAD38 38 80 00 00 */ li r4, 0 -/* 800EDDDC 000EAD3C 48 25 30 65 */ bl __dt__6CTokenFv -/* 800EDDE0 000EAD40 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 800EDDE4 000EAD44 38 80 FF FF */ li r4, -1 -/* 800EDDE8 000EAD48 48 25 30 59 */ bl __dt__6CTokenFv -/* 800EDDEC 000EAD4C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EDDF0 000EAD50 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDDF4 000EAD54 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800EDDF8 000EAD58 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 800EDDFC 000EAD5C 81 84 00 00 */ lwz r12, 0(r4) -/* 800EDE00 000EAD60 38 A5 01 1F */ addi r5, r5, 0x11f -/* 800EDE04 000EAD64 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EDE08 000EAD68 7D 89 03 A6 */ mtctr r12 -/* 800EDE0C 000EAD6C 4E 80 04 21 */ bctrl -/* 800EDE10 000EAD70 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800EDE14 000EAD74 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 800EDE18 000EAD78 48 25 30 91 */ bl __ct__6CTokenFRC6CToken -/* 800EDE1C 000EAD7C 3B D7 00 20 */ addi r30, r23, 0x20 -/* 800EDE20 000EAD80 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 800EDE24 000EAD84 7F C3 F3 78 */ mr r3, r30 -/* 800EDE28 000EAD88 48 25 2E 9D */ bl __as__6CTokenFRC6CToken -/* 800EDE2C 000EAD8C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800EDE30 000EAD90 38 80 00 00 */ li r4, 0 -/* 800EDE34 000EAD94 48 25 30 0D */ bl __dt__6CTokenFv -/* 800EDE38 000EAD98 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 800EDE3C 000EAD9C 38 80 FF FF */ li r4, -1 -/* 800EDE40 000EADA0 48 25 30 01 */ bl __dt__6CTokenFv -/* 800EDE44 000EADA4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EDE48 000EADA8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDE4C 000EADAC 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800EDE50 000EADB0 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 800EDE54 000EADB4 81 84 00 00 */ lwz r12, 0(r4) -/* 800EDE58 000EADB8 38 A5 01 28 */ addi r5, r5, 0x128 -/* 800EDE5C 000EADBC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EDE60 000EADC0 7D 89 03 A6 */ mtctr r12 -/* 800EDE64 000EADC4 4E 80 04 21 */ bctrl -/* 800EDE68 000EADC8 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800EDE6C 000EADCC 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 800EDE70 000EADD0 48 25 30 39 */ bl __ct__6CTokenFRC6CToken -/* 800EDE74 000EADD4 3B 97 00 28 */ addi r28, r23, 0x28 -/* 800EDE78 000EADD8 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 800EDE7C 000EADDC 7F 83 E3 78 */ mr r3, r28 -/* 800EDE80 000EADE0 48 25 2E 45 */ bl __as__6CTokenFRC6CToken -/* 800EDE84 000EADE4 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800EDE88 000EADE8 38 80 00 00 */ li r4, 0 -/* 800EDE8C 000EADEC 48 25 2F B5 */ bl __dt__6CTokenFv -/* 800EDE90 000EADF0 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 800EDE94 000EADF4 38 80 FF FF */ li r4, -1 -/* 800EDE98 000EADF8 48 25 2F A9 */ bl __dt__6CTokenFv -/* 800EDE9C 000EADFC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EDEA0 000EAE00 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDEA4 000EAE04 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800EDEA8 000EAE08 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800EDEAC 000EAE0C 81 84 00 00 */ lwz r12, 0(r4) -/* 800EDEB0 000EAE10 38 A5 01 30 */ addi r5, r5, 0x130 -/* 800EDEB4 000EAE14 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EDEB8 000EAE18 7D 89 03 A6 */ mtctr r12 -/* 800EDEBC 000EAE1C 4E 80 04 21 */ bctrl -/* 800EDEC0 000EAE20 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 800EDEC4 000EAE24 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 800EDEC8 000EAE28 48 25 2F E1 */ bl __ct__6CTokenFRC6CToken -/* 800EDECC 000EAE2C 3B 77 00 30 */ addi r27, r23, 0x30 -/* 800EDED0 000EAE30 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 800EDED4 000EAE34 7F 63 DB 78 */ mr r3, r27 -/* 800EDED8 000EAE38 48 25 2D ED */ bl __as__6CTokenFRC6CToken -/* 800EDEDC 000EAE3C 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 800EDEE0 000EAE40 38 80 00 00 */ li r4, 0 -/* 800EDEE4 000EAE44 48 25 2F 5D */ bl __dt__6CTokenFv -/* 800EDEE8 000EAE48 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800EDEEC 000EAE4C 38 80 FF FF */ li r4, -1 -/* 800EDEF0 000EAE50 48 25 2F 51 */ bl __dt__6CTokenFv -/* 800EDEF4 000EAE54 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EDEF8 000EAE58 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDEFC 000EAE5C 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800EDF00 000EAE60 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800EDF04 000EAE64 81 84 00 00 */ lwz r12, 0(r4) -/* 800EDF08 000EAE68 38 A5 01 39 */ addi r5, r5, 0x139 -/* 800EDF0C 000EAE6C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EDF10 000EAE70 7D 89 03 A6 */ mtctr r12 -/* 800EDF14 000EAE74 4E 80 04 21 */ bctrl -/* 800EDF18 000EAE78 38 61 00 98 */ addi r3, r1, 0x98 -/* 800EDF1C 000EAE7C 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 800EDF20 000EAE80 48 25 2F 89 */ bl __ct__6CTokenFRC6CToken -/* 800EDF24 000EAE84 3B 57 00 38 */ addi r26, r23, 0x38 -/* 800EDF28 000EAE88 38 81 00 98 */ addi r4, r1, 0x98 -/* 800EDF2C 000EAE8C 7F 43 D3 78 */ mr r3, r26 -/* 800EDF30 000EAE90 48 25 2D 95 */ bl __as__6CTokenFRC6CToken -/* 800EDF34 000EAE94 38 61 00 98 */ addi r3, r1, 0x98 -/* 800EDF38 000EAE98 38 80 00 00 */ li r4, 0 -/* 800EDF3C 000EAE9C 48 25 2F 05 */ bl __dt__6CTokenFv -/* 800EDF40 000EAEA0 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800EDF44 000EAEA4 38 80 FF FF */ li r4, -1 -/* 800EDF48 000EAEA8 48 25 2E F9 */ bl __dt__6CTokenFv -/* 800EDF4C 000EAEAC 80 9F 1B C8 */ lwz r4, 0x1bc8(r31) -/* 800EDF50 000EAEB0 38 60 00 00 */ li r3, 0 -/* 800EDF54 000EAEB4 98 61 00 90 */ stb r3, 0x90(r1) -/* 800EDF58 000EAEB8 2C 04 00 08 */ cmpwi r4, 8 -/* 800EDF5C 000EAEBC 90 61 00 94 */ stw r3, 0x94(r1) -/* 800EDF60 000EAEC0 40 80 00 48 */ bge lbl_800EDFA8 -/* 800EDF64 000EAEC4 54 80 18 38 */ slwi r0, r4, 3 -/* 800EDF68 000EAEC8 20 A4 00 08 */ subfic r5, r4, 8 -/* 800EDF6C 000EAECC 7C 9F 02 14 */ add r4, r31, r0 -/* 800EDF70 000EAED0 7C A9 03 A6 */ mtctr r5 -/* 800EDF74 000EAED4 2C 05 00 00 */ cmpwi r5, 0 -/* 800EDF78 000EAED8 38 84 1B CC */ addi r4, r4, 0x1bcc -/* 800EDF7C 000EAEDC 40 81 00 24 */ ble lbl_800EDFA0 -lbl_800EDF80: -/* 800EDF80 000EAEE0 28 04 00 00 */ cmplwi r4, 0 -/* 800EDF84 000EAEE4 41 82 00 14 */ beq lbl_800EDF98 -/* 800EDF88 000EAEE8 88 01 00 90 */ lbz r0, 0x90(r1) -/* 800EDF8C 000EAEEC 98 04 00 00 */ stb r0, 0(r4) -/* 800EDF90 000EAEF0 90 64 00 04 */ stw r3, 4(r4) -/* 800EDF94 000EAEF4 98 61 00 90 */ stb r3, 0x90(r1) -lbl_800EDF98: -/* 800EDF98 000EAEF8 38 84 00 08 */ addi r4, r4, 8 -/* 800EDF9C 000EAEFC 42 00 FF E4 */ bdnz lbl_800EDF80 -lbl_800EDFA0: -/* 800EDFA0 000EAF00 38 00 00 08 */ li r0, 8 -/* 800EDFA4 000EAF04 90 1F 1B C8 */ stw r0, 0x1bc8(r31) -lbl_800EDFA8: -/* 800EDFA8 000EAF08 88 01 00 90 */ lbz r0, 0x90(r1) -/* 800EDFAC 000EAF0C 28 00 00 00 */ cmplwi r0, 0 -/* 800EDFB0 000EAF10 41 82 00 24 */ beq lbl_800EDFD4 -/* 800EDFB4 000EAF14 80 61 00 94 */ lwz r3, 0x94(r1) -/* 800EDFB8 000EAF18 28 03 00 00 */ cmplwi r3, 0 -/* 800EDFBC 000EAF1C 41 82 00 18 */ beq lbl_800EDFD4 -/* 800EDFC0 000EAF20 81 83 00 00 */ lwz r12, 0(r3) -/* 800EDFC4 000EAF24 38 80 00 01 */ li r4, 1 -/* 800EDFC8 000EAF28 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EDFCC 000EAF2C 7D 89 03 A6 */ mtctr r12 -/* 800EDFD0 000EAF30 4E 80 04 21 */ bctrl -lbl_800EDFD4: -/* 800EDFD4 000EAF34 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EDFD8 000EAF38 3A C0 00 00 */ li r22, 0 -/* 800EDFDC 000EAF3C 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800EDFE0 000EAF40 38 60 03 40 */ li r3, 0x340 -/* 800EDFE4 000EAF44 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EDFE8 000EAF48 38 A0 00 00 */ li r5, 0 -/* 800EDFEC 000EAF4C 48 22 78 81 */ bl __nw__FUlPCcPCc -/* 800EDFF0 000EAF50 7C 75 1B 79 */ or. r21, r3, r3 -/* 800EDFF4 000EAF54 41 82 00 2C */ beq lbl_800EE020 -/* 800EDFF8 000EAF58 7F 04 C3 78 */ mr r4, r24 -/* 800EDFFC 000EAF5C 38 61 00 88 */ addi r3, r1, 0x88 -/* 800EE000 000EAF60 48 25 2E A9 */ bl __ct__6CTokenFRC6CToken -/* 800EE004 000EAF64 7E A3 AB 78 */ mr r3, r21 -/* 800EE008 000EAF68 38 81 00 88 */ addi r4, r1, 0x88 -/* 800EE00C 000EAF6C 3A C0 00 01 */ li r22, 1 -/* 800EE010 000EAF70 38 A0 00 00 */ li r5, 0 -/* 800EE014 000EAF74 38 C0 00 01 */ li r6, 1 -/* 800EE018 000EAF78 48 23 13 C9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800EE01C 000EAF7C 7C 75 1B 78 */ mr r21, r3 -lbl_800EE020: -/* 800EE020 000EAF80 7C 15 00 D0 */ neg r0, r21 -/* 800EE024 000EAF84 3B FF 1B CC */ addi r31, r31, 0x1bcc -/* 800EE028 000EAF88 7C 03 AB 78 */ or r3, r0, r21 -/* 800EE02C 000EAF8C 38 01 00 80 */ addi r0, r1, 0x80 -/* 800EE030 000EAF90 3B 1F 00 10 */ addi r24, r31, 0x10 -/* 800EE034 000EAF94 92 A1 00 84 */ stw r21, 0x84(r1) -/* 800EE038 000EAF98 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800EE03C 000EAF9C 7C 00 C0 40 */ cmplw r0, r24 -/* 800EE040 000EAFA0 98 61 00 80 */ stb r3, 0x80(r1) -/* 800EE044 000EAFA4 41 82 00 48 */ beq lbl_800EE08C -/* 800EE048 000EAFA8 88 18 00 00 */ lbz r0, 0(r24) -/* 800EE04C 000EAFAC 28 00 00 00 */ cmplwi r0, 0 -/* 800EE050 000EAFB0 41 82 00 24 */ beq lbl_800EE074 -/* 800EE054 000EAFB4 80 78 00 04 */ lwz r3, 4(r24) -/* 800EE058 000EAFB8 28 03 00 00 */ cmplwi r3, 0 -/* 800EE05C 000EAFBC 41 82 00 18 */ beq lbl_800EE074 -/* 800EE060 000EAFC0 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE064 000EAFC4 38 80 00 01 */ li r4, 1 -/* 800EE068 000EAFC8 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE06C 000EAFCC 7D 89 03 A6 */ mtctr r12 -/* 800EE070 000EAFD0 4E 80 04 21 */ bctrl -lbl_800EE074: -/* 800EE074 000EAFD4 88 61 00 80 */ lbz r3, 0x80(r1) -/* 800EE078 000EAFD8 38 00 00 00 */ li r0, 0 -/* 800EE07C 000EAFDC 98 78 00 00 */ stb r3, 0(r24) -/* 800EE080 000EAFE0 80 61 00 84 */ lwz r3, 0x84(r1) -/* 800EE084 000EAFE4 90 78 00 04 */ stw r3, 4(r24) -/* 800EE088 000EAFE8 98 01 00 80 */ stb r0, 0x80(r1) -lbl_800EE08C: -/* 800EE08C 000EAFEC 88 01 00 80 */ lbz r0, 0x80(r1) -/* 800EE090 000EAFF0 28 00 00 00 */ cmplwi r0, 0 -/* 800EE094 000EAFF4 41 82 00 24 */ beq lbl_800EE0B8 -/* 800EE098 000EAFF8 80 61 00 84 */ lwz r3, 0x84(r1) -/* 800EE09C 000EAFFC 28 03 00 00 */ cmplwi r3, 0 -/* 800EE0A0 000EB000 41 82 00 18 */ beq lbl_800EE0B8 -/* 800EE0A4 000EB004 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE0A8 000EB008 38 80 00 01 */ li r4, 1 -/* 800EE0AC 000EB00C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE0B0 000EB010 7D 89 03 A6 */ mtctr r12 -/* 800EE0B4 000EB014 4E 80 04 21 */ bctrl -lbl_800EE0B8: -/* 800EE0B8 000EB018 7E C0 07 75 */ extsb. r0, r22 -/* 800EE0BC 000EB01C 41 82 00 10 */ beq lbl_800EE0CC -/* 800EE0C0 000EB020 38 61 00 88 */ addi r3, r1, 0x88 -/* 800EE0C4 000EB024 38 80 00 00 */ li r4, 0 -/* 800EE0C8 000EB028 48 25 2D 79 */ bl __dt__6CTokenFv -lbl_800EE0CC: -/* 800EE0CC 000EB02C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EE0D0 000EB030 3A C0 00 00 */ li r22, 0 -/* 800EE0D4 000EB034 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800EE0D8 000EB038 38 60 03 40 */ li r3, 0x340 -/* 800EE0DC 000EB03C 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EE0E0 000EB040 38 A0 00 00 */ li r5, 0 -/* 800EE0E4 000EB044 48 22 77 89 */ bl __nw__FUlPCcPCc -/* 800EE0E8 000EB048 7C 75 1B 79 */ or. r21, r3, r3 -/* 800EE0EC 000EB04C 41 82 00 2C */ beq lbl_800EE118 -/* 800EE0F0 000EB050 7E E4 BB 78 */ mr r4, r23 -/* 800EE0F4 000EB054 38 61 00 78 */ addi r3, r1, 0x78 -/* 800EE0F8 000EB058 48 25 2D B1 */ bl __ct__6CTokenFRC6CToken -/* 800EE0FC 000EB05C 7E A3 AB 78 */ mr r3, r21 -/* 800EE100 000EB060 38 81 00 78 */ addi r4, r1, 0x78 -/* 800EE104 000EB064 3A C0 00 01 */ li r22, 1 -/* 800EE108 000EB068 38 A0 00 00 */ li r5, 0 -/* 800EE10C 000EB06C 38 C0 00 01 */ li r6, 1 -/* 800EE110 000EB070 48 23 12 D1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800EE114 000EB074 7C 75 1B 78 */ mr r21, r3 -lbl_800EE118: -/* 800EE118 000EB078 7C 75 00 D0 */ neg r3, r21 -/* 800EE11C 000EB07C 38 01 00 70 */ addi r0, r1, 0x70 -/* 800EE120 000EB080 7C 63 AB 78 */ or r3, r3, r21 -/* 800EE124 000EB084 92 A1 00 74 */ stw r21, 0x74(r1) -/* 800EE128 000EB088 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800EE12C 000EB08C 7C 00 F8 40 */ cmplw r0, r31 -/* 800EE130 000EB090 98 61 00 70 */ stb r3, 0x70(r1) -/* 800EE134 000EB094 41 82 00 48 */ beq lbl_800EE17C -/* 800EE138 000EB098 88 1F 00 00 */ lbz r0, 0(r31) -/* 800EE13C 000EB09C 28 00 00 00 */ cmplwi r0, 0 -/* 800EE140 000EB0A0 41 82 00 24 */ beq lbl_800EE164 -/* 800EE144 000EB0A4 80 7F 00 04 */ lwz r3, 4(r31) -/* 800EE148 000EB0A8 28 03 00 00 */ cmplwi r3, 0 -/* 800EE14C 000EB0AC 41 82 00 18 */ beq lbl_800EE164 -/* 800EE150 000EB0B0 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE154 000EB0B4 38 80 00 01 */ li r4, 1 -/* 800EE158 000EB0B8 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE15C 000EB0BC 7D 89 03 A6 */ mtctr r12 -/* 800EE160 000EB0C0 4E 80 04 21 */ bctrl -lbl_800EE164: -/* 800EE164 000EB0C4 88 61 00 70 */ lbz r3, 0x70(r1) -/* 800EE168 000EB0C8 38 00 00 00 */ li r0, 0 -/* 800EE16C 000EB0CC 98 7F 00 00 */ stb r3, 0(r31) -/* 800EE170 000EB0D0 80 61 00 74 */ lwz r3, 0x74(r1) -/* 800EE174 000EB0D4 90 7F 00 04 */ stw r3, 4(r31) -/* 800EE178 000EB0D8 98 01 00 70 */ stb r0, 0x70(r1) -lbl_800EE17C: -/* 800EE17C 000EB0DC 88 01 00 70 */ lbz r0, 0x70(r1) -/* 800EE180 000EB0E0 28 00 00 00 */ cmplwi r0, 0 -/* 800EE184 000EB0E4 41 82 00 24 */ beq lbl_800EE1A8 -/* 800EE188 000EB0E8 80 61 00 74 */ lwz r3, 0x74(r1) -/* 800EE18C 000EB0EC 28 03 00 00 */ cmplwi r3, 0 -/* 800EE190 000EB0F0 41 82 00 18 */ beq lbl_800EE1A8 -/* 800EE194 000EB0F4 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE198 000EB0F8 38 80 00 01 */ li r4, 1 -/* 800EE19C 000EB0FC 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE1A0 000EB100 7D 89 03 A6 */ mtctr r12 -/* 800EE1A4 000EB104 4E 80 04 21 */ bctrl -lbl_800EE1A8: -/* 800EE1A8 000EB108 7E C0 07 75 */ extsb. r0, r22 -/* 800EE1AC 000EB10C 41 82 00 10 */ beq lbl_800EE1BC -/* 800EE1B0 000EB110 38 61 00 78 */ addi r3, r1, 0x78 -/* 800EE1B4 000EB114 38 80 00 00 */ li r4, 0 -/* 800EE1B8 000EB118 48 25 2C 89 */ bl __dt__6CTokenFv -lbl_800EE1BC: -/* 800EE1BC 000EB11C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EE1C0 000EB120 3A C0 00 00 */ li r22, 0 -/* 800EE1C4 000EB124 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800EE1C8 000EB128 38 60 03 40 */ li r3, 0x340 -/* 800EE1CC 000EB12C 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EE1D0 000EB130 38 A0 00 00 */ li r5, 0 -/* 800EE1D4 000EB134 48 22 76 99 */ bl __nw__FUlPCcPCc -/* 800EE1D8 000EB138 7C 75 1B 79 */ or. r21, r3, r3 -/* 800EE1DC 000EB13C 41 82 00 2C */ beq lbl_800EE208 -/* 800EE1E0 000EB140 7F 24 CB 78 */ mr r4, r25 -/* 800EE1E4 000EB144 38 61 00 68 */ addi r3, r1, 0x68 -/* 800EE1E8 000EB148 48 25 2C C1 */ bl __ct__6CTokenFRC6CToken -/* 800EE1EC 000EB14C 7E A3 AB 78 */ mr r3, r21 -/* 800EE1F0 000EB150 38 81 00 68 */ addi r4, r1, 0x68 -/* 800EE1F4 000EB154 3A C0 00 01 */ li r22, 1 -/* 800EE1F8 000EB158 38 A0 00 00 */ li r5, 0 -/* 800EE1FC 000EB15C 38 C0 00 01 */ li r6, 1 -/* 800EE200 000EB160 48 23 11 E1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800EE204 000EB164 7C 75 1B 78 */ mr r21, r3 -lbl_800EE208: -/* 800EE208 000EB168 7C 15 00 D0 */ neg r0, r21 -/* 800EE20C 000EB16C 3B 1F 00 08 */ addi r24, r31, 8 -/* 800EE210 000EB170 7C 03 AB 78 */ or r3, r0, r21 -/* 800EE214 000EB174 38 01 00 60 */ addi r0, r1, 0x60 -/* 800EE218 000EB178 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800EE21C 000EB17C 92 A1 00 64 */ stw r21, 0x64(r1) -/* 800EE220 000EB180 7C 00 C0 40 */ cmplw r0, r24 -/* 800EE224 000EB184 98 61 00 60 */ stb r3, 0x60(r1) -/* 800EE228 000EB188 41 82 00 48 */ beq lbl_800EE270 -/* 800EE22C 000EB18C 88 18 00 00 */ lbz r0, 0(r24) -/* 800EE230 000EB190 28 00 00 00 */ cmplwi r0, 0 -/* 800EE234 000EB194 41 82 00 24 */ beq lbl_800EE258 -/* 800EE238 000EB198 80 78 00 04 */ lwz r3, 4(r24) -/* 800EE23C 000EB19C 28 03 00 00 */ cmplwi r3, 0 -/* 800EE240 000EB1A0 41 82 00 18 */ beq lbl_800EE258 -/* 800EE244 000EB1A4 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE248 000EB1A8 38 80 00 01 */ li r4, 1 -/* 800EE24C 000EB1AC 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE250 000EB1B0 7D 89 03 A6 */ mtctr r12 -/* 800EE254 000EB1B4 4E 80 04 21 */ bctrl -lbl_800EE258: -/* 800EE258 000EB1B8 88 61 00 60 */ lbz r3, 0x60(r1) -/* 800EE25C 000EB1BC 38 00 00 00 */ li r0, 0 -/* 800EE260 000EB1C0 98 78 00 00 */ stb r3, 0(r24) -/* 800EE264 000EB1C4 80 61 00 64 */ lwz r3, 0x64(r1) -/* 800EE268 000EB1C8 90 78 00 04 */ stw r3, 4(r24) -/* 800EE26C 000EB1CC 98 01 00 60 */ stb r0, 0x60(r1) -lbl_800EE270: -/* 800EE270 000EB1D0 88 01 00 60 */ lbz r0, 0x60(r1) -/* 800EE274 000EB1D4 28 00 00 00 */ cmplwi r0, 0 -/* 800EE278 000EB1D8 41 82 00 24 */ beq lbl_800EE29C -/* 800EE27C 000EB1DC 80 61 00 64 */ lwz r3, 0x64(r1) -/* 800EE280 000EB1E0 28 03 00 00 */ cmplwi r3, 0 -/* 800EE284 000EB1E4 41 82 00 18 */ beq lbl_800EE29C -/* 800EE288 000EB1E8 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE28C 000EB1EC 38 80 00 01 */ li r4, 1 -/* 800EE290 000EB1F0 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE294 000EB1F4 7D 89 03 A6 */ mtctr r12 -/* 800EE298 000EB1F8 4E 80 04 21 */ bctrl -lbl_800EE29C: -/* 800EE29C 000EB1FC 7E C0 07 75 */ extsb. r0, r22 -/* 800EE2A0 000EB200 41 82 00 10 */ beq lbl_800EE2B0 -/* 800EE2A4 000EB204 38 61 00 68 */ addi r3, r1, 0x68 -/* 800EE2A8 000EB208 38 80 00 00 */ li r4, 0 -/* 800EE2AC 000EB20C 48 25 2B 95 */ bl __dt__6CTokenFv -lbl_800EE2B0: -/* 800EE2B0 000EB210 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EE2B4 000EB214 3A C0 00 00 */ li r22, 0 -/* 800EE2B8 000EB218 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800EE2BC 000EB21C 38 60 03 40 */ li r3, 0x340 -/* 800EE2C0 000EB220 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EE2C4 000EB224 38 A0 00 00 */ li r5, 0 -/* 800EE2C8 000EB228 48 22 75 A5 */ bl __nw__FUlPCcPCc -/* 800EE2CC 000EB22C 7C 75 1B 79 */ or. r21, r3, r3 -/* 800EE2D0 000EB230 41 82 00 2C */ beq lbl_800EE2FC -/* 800EE2D4 000EB234 7F A4 EB 78 */ mr r4, r29 -/* 800EE2D8 000EB238 38 61 00 58 */ addi r3, r1, 0x58 -/* 800EE2DC 000EB23C 48 25 2B CD */ bl __ct__6CTokenFRC6CToken -/* 800EE2E0 000EB240 7E A3 AB 78 */ mr r3, r21 -/* 800EE2E4 000EB244 38 81 00 58 */ addi r4, r1, 0x58 -/* 800EE2E8 000EB248 3A C0 00 01 */ li r22, 1 -/* 800EE2EC 000EB24C 38 A0 00 00 */ li r5, 0 -/* 800EE2F0 000EB250 38 C0 00 01 */ li r6, 1 -/* 800EE2F4 000EB254 48 23 10 ED */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800EE2F8 000EB258 7C 75 1B 78 */ mr r21, r3 -lbl_800EE2FC: -/* 800EE2FC 000EB25C 7C 15 00 D0 */ neg r0, r21 -/* 800EE300 000EB260 3A FF 00 18 */ addi r23, r31, 0x18 -/* 800EE304 000EB264 7C 03 AB 78 */ or r3, r0, r21 -/* 800EE308 000EB268 38 01 00 50 */ addi r0, r1, 0x50 -/* 800EE30C 000EB26C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800EE310 000EB270 92 A1 00 54 */ stw r21, 0x54(r1) -/* 800EE314 000EB274 7C 00 B8 40 */ cmplw r0, r23 -/* 800EE318 000EB278 98 61 00 50 */ stb r3, 0x50(r1) -/* 800EE31C 000EB27C 41 82 00 48 */ beq lbl_800EE364 -/* 800EE320 000EB280 88 17 00 00 */ lbz r0, 0(r23) -/* 800EE324 000EB284 28 00 00 00 */ cmplwi r0, 0 -/* 800EE328 000EB288 41 82 00 24 */ beq lbl_800EE34C -/* 800EE32C 000EB28C 80 77 00 04 */ lwz r3, 4(r23) -/* 800EE330 000EB290 28 03 00 00 */ cmplwi r3, 0 -/* 800EE334 000EB294 41 82 00 18 */ beq lbl_800EE34C -/* 800EE338 000EB298 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE33C 000EB29C 38 80 00 01 */ li r4, 1 -/* 800EE340 000EB2A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE344 000EB2A4 7D 89 03 A6 */ mtctr r12 -/* 800EE348 000EB2A8 4E 80 04 21 */ bctrl -lbl_800EE34C: -/* 800EE34C 000EB2AC 88 61 00 50 */ lbz r3, 0x50(r1) -/* 800EE350 000EB2B0 38 00 00 00 */ li r0, 0 -/* 800EE354 000EB2B4 98 77 00 00 */ stb r3, 0(r23) -/* 800EE358 000EB2B8 80 61 00 54 */ lwz r3, 0x54(r1) -/* 800EE35C 000EB2BC 90 77 00 04 */ stw r3, 4(r23) -/* 800EE360 000EB2C0 98 01 00 50 */ stb r0, 0x50(r1) -lbl_800EE364: -/* 800EE364 000EB2C4 88 01 00 50 */ lbz r0, 0x50(r1) -/* 800EE368 000EB2C8 28 00 00 00 */ cmplwi r0, 0 -/* 800EE36C 000EB2CC 41 82 00 24 */ beq lbl_800EE390 -/* 800EE370 000EB2D0 80 61 00 54 */ lwz r3, 0x54(r1) -/* 800EE374 000EB2D4 28 03 00 00 */ cmplwi r3, 0 -/* 800EE378 000EB2D8 41 82 00 18 */ beq lbl_800EE390 -/* 800EE37C 000EB2DC 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE380 000EB2E0 38 80 00 01 */ li r4, 1 -/* 800EE384 000EB2E4 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE388 000EB2E8 7D 89 03 A6 */ mtctr r12 -/* 800EE38C 000EB2EC 4E 80 04 21 */ bctrl -lbl_800EE390: -/* 800EE390 000EB2F0 7E C0 07 75 */ extsb. r0, r22 -/* 800EE394 000EB2F4 41 82 00 10 */ beq lbl_800EE3A4 -/* 800EE398 000EB2F8 38 61 00 58 */ addi r3, r1, 0x58 -/* 800EE39C 000EB2FC 38 80 00 00 */ li r4, 0 -/* 800EE3A0 000EB300 48 25 2A A1 */ bl __dt__6CTokenFv -lbl_800EE3A4: -/* 800EE3A4 000EB304 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EE3A8 000EB308 3A C0 00 00 */ li r22, 0 -/* 800EE3AC 000EB30C 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800EE3B0 000EB310 38 60 03 40 */ li r3, 0x340 -/* 800EE3B4 000EB314 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EE3B8 000EB318 38 A0 00 00 */ li r5, 0 -/* 800EE3BC 000EB31C 48 22 74 B1 */ bl __nw__FUlPCcPCc -/* 800EE3C0 000EB320 7C 75 1B 79 */ or. r21, r3, r3 -/* 800EE3C4 000EB324 41 82 00 2C */ beq lbl_800EE3F0 -/* 800EE3C8 000EB328 7F C4 F3 78 */ mr r4, r30 -/* 800EE3CC 000EB32C 38 61 00 48 */ addi r3, r1, 0x48 -/* 800EE3D0 000EB330 48 25 2A D9 */ bl __ct__6CTokenFRC6CToken -/* 800EE3D4 000EB334 7E A3 AB 78 */ mr r3, r21 -/* 800EE3D8 000EB338 38 81 00 48 */ addi r4, r1, 0x48 -/* 800EE3DC 000EB33C 3A C0 00 01 */ li r22, 1 -/* 800EE3E0 000EB340 38 A0 00 00 */ li r5, 0 -/* 800EE3E4 000EB344 38 C0 00 01 */ li r6, 1 -/* 800EE3E8 000EB348 48 23 0F F9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800EE3EC 000EB34C 7C 75 1B 78 */ mr r21, r3 -lbl_800EE3F0: -/* 800EE3F0 000EB350 7C 15 00 D0 */ neg r0, r21 -/* 800EE3F4 000EB354 3A FF 00 20 */ addi r23, r31, 0x20 -/* 800EE3F8 000EB358 7C 03 AB 78 */ or r3, r0, r21 -/* 800EE3FC 000EB35C 38 01 00 40 */ addi r0, r1, 0x40 -/* 800EE400 000EB360 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800EE404 000EB364 92 A1 00 44 */ stw r21, 0x44(r1) -/* 800EE408 000EB368 7C 00 B8 40 */ cmplw r0, r23 -/* 800EE40C 000EB36C 98 61 00 40 */ stb r3, 0x40(r1) -/* 800EE410 000EB370 41 82 00 48 */ beq lbl_800EE458 -/* 800EE414 000EB374 88 17 00 00 */ lbz r0, 0(r23) -/* 800EE418 000EB378 28 00 00 00 */ cmplwi r0, 0 -/* 800EE41C 000EB37C 41 82 00 24 */ beq lbl_800EE440 -/* 800EE420 000EB380 80 77 00 04 */ lwz r3, 4(r23) -/* 800EE424 000EB384 28 03 00 00 */ cmplwi r3, 0 -/* 800EE428 000EB388 41 82 00 18 */ beq lbl_800EE440 -/* 800EE42C 000EB38C 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE430 000EB390 38 80 00 01 */ li r4, 1 -/* 800EE434 000EB394 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE438 000EB398 7D 89 03 A6 */ mtctr r12 -/* 800EE43C 000EB39C 4E 80 04 21 */ bctrl -lbl_800EE440: -/* 800EE440 000EB3A0 88 61 00 40 */ lbz r3, 0x40(r1) -/* 800EE444 000EB3A4 38 00 00 00 */ li r0, 0 -/* 800EE448 000EB3A8 98 77 00 00 */ stb r3, 0(r23) -/* 800EE44C 000EB3AC 80 61 00 44 */ lwz r3, 0x44(r1) -/* 800EE450 000EB3B0 90 77 00 04 */ stw r3, 4(r23) -/* 800EE454 000EB3B4 98 01 00 40 */ stb r0, 0x40(r1) -lbl_800EE458: -/* 800EE458 000EB3B8 88 01 00 40 */ lbz r0, 0x40(r1) -/* 800EE45C 000EB3BC 28 00 00 00 */ cmplwi r0, 0 -/* 800EE460 000EB3C0 41 82 00 24 */ beq lbl_800EE484 -/* 800EE464 000EB3C4 80 61 00 44 */ lwz r3, 0x44(r1) -/* 800EE468 000EB3C8 28 03 00 00 */ cmplwi r3, 0 -/* 800EE46C 000EB3CC 41 82 00 18 */ beq lbl_800EE484 -/* 800EE470 000EB3D0 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE474 000EB3D4 38 80 00 01 */ li r4, 1 -/* 800EE478 000EB3D8 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE47C 000EB3DC 7D 89 03 A6 */ mtctr r12 -/* 800EE480 000EB3E0 4E 80 04 21 */ bctrl -lbl_800EE484: -/* 800EE484 000EB3E4 7E C0 07 75 */ extsb. r0, r22 -/* 800EE488 000EB3E8 41 82 00 10 */ beq lbl_800EE498 -/* 800EE48C 000EB3EC 38 61 00 48 */ addi r3, r1, 0x48 -/* 800EE490 000EB3F0 38 80 00 00 */ li r4, 0 -/* 800EE494 000EB3F4 48 25 29 AD */ bl __dt__6CTokenFv -lbl_800EE498: -/* 800EE498 000EB3F8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EE49C 000EB3FC 3A C0 00 00 */ li r22, 0 -/* 800EE4A0 000EB400 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800EE4A4 000EB404 38 60 03 40 */ li r3, 0x340 -/* 800EE4A8 000EB408 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EE4AC 000EB40C 38 A0 00 00 */ li r5, 0 -/* 800EE4B0 000EB410 48 22 73 BD */ bl __nw__FUlPCcPCc -/* 800EE4B4 000EB414 7C 75 1B 79 */ or. r21, r3, r3 -/* 800EE4B8 000EB418 41 82 00 2C */ beq lbl_800EE4E4 -/* 800EE4BC 000EB41C 7F 84 E3 78 */ mr r4, r28 -/* 800EE4C0 000EB420 38 61 00 38 */ addi r3, r1, 0x38 -/* 800EE4C4 000EB424 48 25 29 E5 */ bl __ct__6CTokenFRC6CToken -/* 800EE4C8 000EB428 7E A3 AB 78 */ mr r3, r21 -/* 800EE4CC 000EB42C 38 81 00 38 */ addi r4, r1, 0x38 -/* 800EE4D0 000EB430 3A C0 00 01 */ li r22, 1 -/* 800EE4D4 000EB434 38 A0 00 00 */ li r5, 0 -/* 800EE4D8 000EB438 38 C0 00 01 */ li r6, 1 -/* 800EE4DC 000EB43C 48 23 0F 05 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800EE4E0 000EB440 7C 75 1B 78 */ mr r21, r3 -lbl_800EE4E4: -/* 800EE4E4 000EB444 7C 15 00 D0 */ neg r0, r21 -/* 800EE4E8 000EB448 3A FF 00 28 */ addi r23, r31, 0x28 -/* 800EE4EC 000EB44C 7C 03 AB 78 */ or r3, r0, r21 -/* 800EE4F0 000EB450 38 01 00 30 */ addi r0, r1, 0x30 -/* 800EE4F4 000EB454 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800EE4F8 000EB458 92 A1 00 34 */ stw r21, 0x34(r1) -/* 800EE4FC 000EB45C 7C 00 B8 40 */ cmplw r0, r23 -/* 800EE500 000EB460 98 61 00 30 */ stb r3, 0x30(r1) -/* 800EE504 000EB464 41 82 00 48 */ beq lbl_800EE54C -/* 800EE508 000EB468 88 17 00 00 */ lbz r0, 0(r23) -/* 800EE50C 000EB46C 28 00 00 00 */ cmplwi r0, 0 -/* 800EE510 000EB470 41 82 00 24 */ beq lbl_800EE534 -/* 800EE514 000EB474 80 77 00 04 */ lwz r3, 4(r23) -/* 800EE518 000EB478 28 03 00 00 */ cmplwi r3, 0 -/* 800EE51C 000EB47C 41 82 00 18 */ beq lbl_800EE534 -/* 800EE520 000EB480 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE524 000EB484 38 80 00 01 */ li r4, 1 -/* 800EE528 000EB488 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE52C 000EB48C 7D 89 03 A6 */ mtctr r12 -/* 800EE530 000EB490 4E 80 04 21 */ bctrl -lbl_800EE534: -/* 800EE534 000EB494 88 61 00 30 */ lbz r3, 0x30(r1) -/* 800EE538 000EB498 38 00 00 00 */ li r0, 0 -/* 800EE53C 000EB49C 98 77 00 00 */ stb r3, 0(r23) -/* 800EE540 000EB4A0 80 61 00 34 */ lwz r3, 0x34(r1) -/* 800EE544 000EB4A4 90 77 00 04 */ stw r3, 4(r23) -/* 800EE548 000EB4A8 98 01 00 30 */ stb r0, 0x30(r1) -lbl_800EE54C: -/* 800EE54C 000EB4AC 88 01 00 30 */ lbz r0, 0x30(r1) -/* 800EE550 000EB4B0 28 00 00 00 */ cmplwi r0, 0 -/* 800EE554 000EB4B4 41 82 00 24 */ beq lbl_800EE578 -/* 800EE558 000EB4B8 80 61 00 34 */ lwz r3, 0x34(r1) -/* 800EE55C 000EB4BC 28 03 00 00 */ cmplwi r3, 0 -/* 800EE560 000EB4C0 41 82 00 18 */ beq lbl_800EE578 -/* 800EE564 000EB4C4 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE568 000EB4C8 38 80 00 01 */ li r4, 1 -/* 800EE56C 000EB4CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE570 000EB4D0 7D 89 03 A6 */ mtctr r12 -/* 800EE574 000EB4D4 4E 80 04 21 */ bctrl -lbl_800EE578: -/* 800EE578 000EB4D8 7E C0 07 75 */ extsb. r0, r22 -/* 800EE57C 000EB4DC 41 82 00 10 */ beq lbl_800EE58C -/* 800EE580 000EB4E0 38 61 00 38 */ addi r3, r1, 0x38 -/* 800EE584 000EB4E4 38 80 00 00 */ li r4, 0 -/* 800EE588 000EB4E8 48 25 28 B9 */ bl __dt__6CTokenFv -lbl_800EE58C: -/* 800EE58C 000EB4EC 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EE590 000EB4F0 3A C0 00 00 */ li r22, 0 -/* 800EE594 000EB4F4 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800EE598 000EB4F8 38 60 03 40 */ li r3, 0x340 -/* 800EE59C 000EB4FC 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EE5A0 000EB500 38 A0 00 00 */ li r5, 0 -/* 800EE5A4 000EB504 48 22 72 C9 */ bl __nw__FUlPCcPCc -/* 800EE5A8 000EB508 7C 75 1B 79 */ or. r21, r3, r3 -/* 800EE5AC 000EB50C 41 82 00 2C */ beq lbl_800EE5D8 -/* 800EE5B0 000EB510 7F 64 DB 78 */ mr r4, r27 -/* 800EE5B4 000EB514 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EE5B8 000EB518 48 25 28 F1 */ bl __ct__6CTokenFRC6CToken -/* 800EE5BC 000EB51C 7E A3 AB 78 */ mr r3, r21 -/* 800EE5C0 000EB520 38 81 00 28 */ addi r4, r1, 0x28 -/* 800EE5C4 000EB524 3A C0 00 01 */ li r22, 1 -/* 800EE5C8 000EB528 38 A0 00 00 */ li r5, 0 -/* 800EE5CC 000EB52C 38 C0 00 01 */ li r6, 1 -/* 800EE5D0 000EB530 48 23 0E 11 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800EE5D4 000EB534 7C 75 1B 78 */ mr r21, r3 -lbl_800EE5D8: -/* 800EE5D8 000EB538 7C 15 00 D0 */ neg r0, r21 -/* 800EE5DC 000EB53C 3A FF 00 30 */ addi r23, r31, 0x30 -/* 800EE5E0 000EB540 7C 03 AB 78 */ or r3, r0, r21 -/* 800EE5E4 000EB544 38 01 00 20 */ addi r0, r1, 0x20 -/* 800EE5E8 000EB548 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800EE5EC 000EB54C 92 A1 00 24 */ stw r21, 0x24(r1) -/* 800EE5F0 000EB550 7C 00 B8 40 */ cmplw r0, r23 -/* 800EE5F4 000EB554 98 61 00 20 */ stb r3, 0x20(r1) -/* 800EE5F8 000EB558 41 82 00 48 */ beq lbl_800EE640 -/* 800EE5FC 000EB55C 88 17 00 00 */ lbz r0, 0(r23) -/* 800EE600 000EB560 28 00 00 00 */ cmplwi r0, 0 -/* 800EE604 000EB564 41 82 00 24 */ beq lbl_800EE628 -/* 800EE608 000EB568 80 77 00 04 */ lwz r3, 4(r23) -/* 800EE60C 000EB56C 28 03 00 00 */ cmplwi r3, 0 -/* 800EE610 000EB570 41 82 00 18 */ beq lbl_800EE628 -/* 800EE614 000EB574 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE618 000EB578 38 80 00 01 */ li r4, 1 -/* 800EE61C 000EB57C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE620 000EB580 7D 89 03 A6 */ mtctr r12 -/* 800EE624 000EB584 4E 80 04 21 */ bctrl -lbl_800EE628: -/* 800EE628 000EB588 88 61 00 20 */ lbz r3, 0x20(r1) -/* 800EE62C 000EB58C 38 00 00 00 */ li r0, 0 -/* 800EE630 000EB590 98 77 00 00 */ stb r3, 0(r23) -/* 800EE634 000EB594 80 61 00 24 */ lwz r3, 0x24(r1) -/* 800EE638 000EB598 90 77 00 04 */ stw r3, 4(r23) -/* 800EE63C 000EB59C 98 01 00 20 */ stb r0, 0x20(r1) -lbl_800EE640: -/* 800EE640 000EB5A0 88 01 00 20 */ lbz r0, 0x20(r1) -/* 800EE644 000EB5A4 28 00 00 00 */ cmplwi r0, 0 -/* 800EE648 000EB5A8 41 82 00 24 */ beq lbl_800EE66C -/* 800EE64C 000EB5AC 80 61 00 24 */ lwz r3, 0x24(r1) -/* 800EE650 000EB5B0 28 03 00 00 */ cmplwi r3, 0 -/* 800EE654 000EB5B4 41 82 00 18 */ beq lbl_800EE66C -/* 800EE658 000EB5B8 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE65C 000EB5BC 38 80 00 01 */ li r4, 1 -/* 800EE660 000EB5C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE664 000EB5C4 7D 89 03 A6 */ mtctr r12 -/* 800EE668 000EB5C8 4E 80 04 21 */ bctrl -lbl_800EE66C: -/* 800EE66C 000EB5CC 7E C0 07 75 */ extsb. r0, r22 -/* 800EE670 000EB5D0 41 82 00 10 */ beq lbl_800EE680 -/* 800EE674 000EB5D4 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EE678 000EB5D8 38 80 00 00 */ li r4, 0 -/* 800EE67C 000EB5DC 48 25 27 C5 */ bl __dt__6CTokenFv -lbl_800EE680: -/* 800EE680 000EB5E0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800EE684 000EB5E4 3A C0 00 00 */ li r22, 0 -/* 800EE688 000EB5E8 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800EE68C 000EB5EC 38 60 03 40 */ li r3, 0x340 -/* 800EE690 000EB5F0 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EE694 000EB5F4 38 A0 00 00 */ li r5, 0 -/* 800EE698 000EB5F8 48 22 71 D5 */ bl __nw__FUlPCcPCc -/* 800EE69C 000EB5FC 7C 75 1B 79 */ or. r21, r3, r3 -/* 800EE6A0 000EB600 41 82 00 2C */ beq lbl_800EE6CC -/* 800EE6A4 000EB604 7F 44 D3 78 */ mr r4, r26 -/* 800EE6A8 000EB608 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EE6AC 000EB60C 48 25 27 FD */ bl __ct__6CTokenFRC6CToken -/* 800EE6B0 000EB610 7E A3 AB 78 */ mr r3, r21 -/* 800EE6B4 000EB614 38 81 00 18 */ addi r4, r1, 0x18 -/* 800EE6B8 000EB618 3A C0 00 01 */ li r22, 1 -/* 800EE6BC 000EB61C 38 A0 00 00 */ li r5, 0 -/* 800EE6C0 000EB620 38 C0 00 01 */ li r6, 1 -/* 800EE6C4 000EB624 48 23 0D 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800EE6C8 000EB628 7C 75 1B 78 */ mr r21, r3 -lbl_800EE6CC: -/* 800EE6CC 000EB62C 7C 15 00 D0 */ neg r0, r21 -/* 800EE6D0 000EB630 3A FF 00 38 */ addi r23, r31, 0x38 -/* 800EE6D4 000EB634 7C 03 AB 78 */ or r3, r0, r21 -/* 800EE6D8 000EB638 38 01 00 10 */ addi r0, r1, 0x10 -/* 800EE6DC 000EB63C 54 63 0F FE */ srwi r3, r3, 0x1f -/* 800EE6E0 000EB640 92 A1 00 14 */ stw r21, 0x14(r1) -/* 800EE6E4 000EB644 7C 00 B8 40 */ cmplw r0, r23 -/* 800EE6E8 000EB648 98 61 00 10 */ stb r3, 0x10(r1) -/* 800EE6EC 000EB64C 41 82 00 48 */ beq lbl_800EE734 -/* 800EE6F0 000EB650 88 17 00 00 */ lbz r0, 0(r23) -/* 800EE6F4 000EB654 28 00 00 00 */ cmplwi r0, 0 -/* 800EE6F8 000EB658 41 82 00 24 */ beq lbl_800EE71C -/* 800EE6FC 000EB65C 80 77 00 04 */ lwz r3, 4(r23) -/* 800EE700 000EB660 28 03 00 00 */ cmplwi r3, 0 -/* 800EE704 000EB664 41 82 00 18 */ beq lbl_800EE71C -/* 800EE708 000EB668 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE70C 000EB66C 38 80 00 01 */ li r4, 1 -/* 800EE710 000EB670 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE714 000EB674 7D 89 03 A6 */ mtctr r12 -/* 800EE718 000EB678 4E 80 04 21 */ bctrl -lbl_800EE71C: -/* 800EE71C 000EB67C 88 61 00 10 */ lbz r3, 0x10(r1) -/* 800EE720 000EB680 38 00 00 00 */ li r0, 0 -/* 800EE724 000EB684 98 77 00 00 */ stb r3, 0(r23) -/* 800EE728 000EB688 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800EE72C 000EB68C 90 77 00 04 */ stw r3, 4(r23) -/* 800EE730 000EB690 98 01 00 10 */ stb r0, 0x10(r1) -lbl_800EE734: -/* 800EE734 000EB694 88 01 00 10 */ lbz r0, 0x10(r1) -/* 800EE738 000EB698 28 00 00 00 */ cmplwi r0, 0 -/* 800EE73C 000EB69C 41 82 00 24 */ beq lbl_800EE760 -/* 800EE740 000EB6A0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 800EE744 000EB6A4 28 03 00 00 */ cmplwi r3, 0 -/* 800EE748 000EB6A8 41 82 00 18 */ beq lbl_800EE760 -/* 800EE74C 000EB6AC 81 83 00 00 */ lwz r12, 0(r3) -/* 800EE750 000EB6B0 38 80 00 01 */ li r4, 1 -/* 800EE754 000EB6B4 81 8C 00 08 */ lwz r12, 8(r12) -/* 800EE758 000EB6B8 7D 89 03 A6 */ mtctr r12 -/* 800EE75C 000EB6BC 4E 80 04 21 */ bctrl -lbl_800EE760: -/* 800EE760 000EB6C0 7E C0 07 75 */ extsb. r0, r22 -/* 800EE764 000EB6C4 41 82 00 10 */ beq lbl_800EE774 -/* 800EE768 000EB6C8 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EE76C 000EB6CC 38 80 00 00 */ li r4, 0 -/* 800EE770 000EB6D0 48 25 26 D1 */ bl __dt__6CTokenFv -lbl_800EE774: -/* 800EE774 000EB6D4 BA A1 01 24 */ lmw r21, 0x124(r1) -/* 800EE778 000EB6D8 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800EE77C 000EB6DC 7C 08 03 A6 */ mtlr r0 -/* 800EE780 000EB6E0 38 21 01 50 */ addi r1, r1, 0x150 -/* 800EE784 000EB6E4 4E 80 00 20 */ blr - -.global PointGenerator__10CMorphBallFPvPC9CVector3fPC9CVector3fi -PointGenerator__10CMorphBallFPvPC9CVector3fPC9CVector3fi: -/* 800EE788 000EB6E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EE78C 000EB6EC 7C 08 02 A6 */ mflr r0 -/* 800EE790 000EB6F0 28 03 00 00 */ cmplwi r3, 0 -/* 800EE794 000EB6F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EE798 000EB6F8 41 82 00 08 */ beq lbl_800EE7A0 -/* 800EE79C 000EB6FC 48 17 BE 45 */ bl GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi -lbl_800EE7A0: -/* 800EE7A0 000EB700 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EE7A4 000EB704 7C 08 03 A6 */ mtlr r0 -/* 800EE7A8 000EB708 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EE7AC 000EB70C 4E 80 00 20 */ blr - -.global StartLandingSfx__10CMorphBallFv -StartLandingSfx__10CMorphBallFv: -/* 800EE7B0 000EB710 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800EE7B4 000EB714 7C 08 02 A6 */ mflr r0 -/* 800EE7B8 000EB718 90 01 00 34 */ stw r0, 0x34(r1) -/* 800EE7BC 000EB71C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 800EE7C0 000EB720 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 800EE7C4 000EB724 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800EE7C8 000EB728 7C 7F 1B 78 */ mr r31, r3 -/* 800EE7CC 000EB72C C0 02 91 68 */ lfs f0, lbl_805AAE88@sda21(r2) -/* 800EE7D0 000EB730 80 63 00 00 */ lwz r3, 0(r3) -/* 800EE7D4 000EB734 C0 23 01 40 */ lfs f1, 0x140(r3) -/* 800EE7D8 000EB738 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EE7DC 000EB73C 40 80 00 74 */ bge lbl_800EE850 -/* 800EE7E0 000EB740 A0 1F 1E 36 */ lhz r0, 0x1e36(r31) -/* 800EE7E4 000EB744 28 00 FF FF */ cmplwi r0, 0xffff -/* 800EE7E8 000EB748 41 82 00 68 */ beq lbl_800EE850 -/* 800EE7EC 000EB74C C0 42 91 70 */ lfs f2, lbl_805AAE90@sda21(r2) -/* 800EE7F0 000EB750 38 81 00 14 */ addi r4, r1, 0x14 -/* 800EE7F4 000EB754 C0 23 07 9C */ lfs f1, 0x79c(r3) -/* 800EE7F8 000EB758 38 62 91 60 */ addi r3, r2, lbl_805AAE80@sda21 -/* 800EE7FC 000EB75C C0 02 91 6C */ lfs f0, lbl_805AAE8C@sda21(r2) -/* 800EE800 000EB760 38 A2 91 64 */ addi r5, r2, lbl_805AAE84@sda21 -/* 800EE804 000EB764 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 800EE808 000EB768 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800EE80C 000EB76C 4B F1 DA A9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800EE810 000EB770 C3 E3 00 00 */ lfs f31, 0(r3) -/* 800EE814 000EB774 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800EE818 000EB778 38 61 00 0C */ addi r3, r1, 0xc -/* 800EE81C 000EB77C A0 9F 1E 36 */ lhz r4, 0x1e36(r31) -/* 800EE820 000EB780 38 C0 00 40 */ li r6, 0x40 -/* 800EE824 000EB784 88 A1 00 08 */ lbz r5, 8(r1) -/* 800EE828 000EB788 38 E0 00 01 */ li r7, 1 -/* 800EE82C 000EB78C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800EE830 000EB790 39 20 00 00 */ li r9, 0 -/* 800EE834 000EB794 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800EE838 000EB798 48 1F B5 3D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 800EE83C 000EB79C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800EE840 000EB7A0 38 81 00 10 */ addi r4, r1, 0x10 -/* 800EE844 000EB7A4 90 01 00 10 */ stw r0, 0x10(r1) -/* 800EE848 000EB7A8 80 7F 00 00 */ lwz r3, 0(r31) -/* 800EE84C 000EB7AC 4B F2 29 41 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle -lbl_800EE850: -/* 800EE850 000EB7B0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 800EE854 000EB7B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800EE858 000EB7B8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 800EE85C 000EB7BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800EE860 000EB7C0 7C 08 03 A6 */ mtlr r0 -/* 800EE864 000EB7C4 38 21 00 30 */ addi r1, r1, 0x30 -/* 800EE868 000EB7C8 4E 80 00 20 */ blr - -.global StopSounds__10CMorphBallFv -StopSounds__10CMorphBallFv: -/* 800EE86C 000EB7CC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800EE870 000EB7D0 7C 08 02 A6 */ mflr r0 -/* 800EE874 000EB7D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EE878 000EB7D8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800EE87C 000EB7DC 7C 7F 1B 78 */ mr r31, r3 -/* 800EE880 000EB7E0 80 03 1E 2C */ lwz r0, 0x1e2c(r3) -/* 800EE884 000EB7E4 28 00 00 00 */ cmplwi r0, 0 -/* 800EE888 000EB7E8 41 82 00 1C */ beq lbl_800EE8A4 -/* 800EE88C 000EB7EC 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) -/* 800EE890 000EB7F0 38 61 00 0C */ addi r3, r1, 0xc -/* 800EE894 000EB7F4 90 01 00 0C */ stw r0, 0xc(r1) -/* 800EE898 000EB7F8 48 1F B4 B1 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 800EE89C 000EB7FC 38 00 00 00 */ li r0, 0 -/* 800EE8A0 000EB800 90 1F 1E 2C */ stw r0, 0x1e2c(r31) -lbl_800EE8A4: -/* 800EE8A4 000EB804 80 1F 1E 30 */ lwz r0, 0x1e30(r31) -/* 800EE8A8 000EB808 28 00 00 00 */ cmplwi r0, 0 -/* 800EE8AC 000EB80C 41 82 00 1C */ beq lbl_800EE8C8 -/* 800EE8B0 000EB810 80 1F 1E 30 */ lwz r0, 0x1e30(r31) -/* 800EE8B4 000EB814 38 61 00 08 */ addi r3, r1, 8 -/* 800EE8B8 000EB818 90 01 00 08 */ stw r0, 8(r1) -/* 800EE8BC 000EB81C 48 1F B4 8D */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 800EE8C0 000EB820 38 00 00 00 */ li r0, 0 -/* 800EE8C4 000EB824 90 1F 1E 30 */ stw r0, 0x1e30(r31) -lbl_800EE8C8: -/* 800EE8C8 000EB828 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EE8CC 000EB82C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800EE8D0 000EB830 7C 08 03 A6 */ mtlr r0 -/* 800EE8D4 000EB834 38 21 00 20 */ addi r1, r1, 0x20 -/* 800EE8D8 000EB838 4E 80 00 20 */ blr - -.global UpdateMorphBallSound__10CMorphBallFf -UpdateMorphBallSound__10CMorphBallFf: -/* 800EE8DC 000EB83C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800EE8E0 000EB840 7C 08 02 A6 */ mflr r0 -/* 800EE8E4 000EB844 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800EE8E8 000EB848 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 800EE8EC 000EB84C F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 800EE8F0 000EB850 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 800EE8F4 000EB854 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 800EE8F8 000EB858 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 800EE8FC 000EB85C F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 800EE900 000EB860 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 800EE904 000EB864 7C 7F 1B 78 */ mr r31, r3 -/* 800EE908 000EB868 FF A0 08 90 */ fmr f29, f1 -/* 800EE90C 000EB86C 80 63 00 00 */ lwz r3, 0(r3) -/* 800EE910 000EB870 C0 03 01 38 */ lfs f0, 0x138(r3) -/* 800EE914 000EB874 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 800EE918 000EB878 C0 03 01 3C */ lfs f0, 0x13c(r3) -/* 800EE91C 000EB87C D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800EE920 000EB880 C0 03 01 40 */ lfs f0, 0x140(r3) -/* 800EE924 000EB884 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 800EE928 000EB888 80 1F 18 7C */ lwz r0, 0x187c(r31) -/* 800EE92C 000EB88C 2C 00 00 01 */ cmpwi r0, 1 -/* 800EE930 000EB890 41 82 00 0C */ beq lbl_800EE93C -/* 800EE934 000EB894 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800EE938 000EB898 D0 01 00 70 */ stfs f0, 0x70(r1) -lbl_800EE93C: -/* 800EE93C 000EB89C 80 7F 00 00 */ lwz r3, 0(r31) -/* 800EE940 000EB8A0 80 03 02 58 */ lwz r0, 0x258(r3) -/* 800EE944 000EB8A4 2C 00 00 04 */ cmpwi r0, 4 -/* 800EE948 000EB8A8 41 82 00 14 */ beq lbl_800EE95C -/* 800EE94C 000EB8AC 40 80 01 64 */ bge lbl_800EEAB0 -/* 800EE950 000EB8B0 2C 00 00 00 */ cmpwi r0, 0 -/* 800EE954 000EB8B4 41 82 00 08 */ beq lbl_800EE95C -/* 800EE958 000EB8B8 48 00 01 58 */ b lbl_800EEAB0 -lbl_800EE95C: -/* 800EE95C 000EB8BC 38 61 00 68 */ addi r3, r1, 0x68 -/* 800EE960 000EB8C0 48 22 5F 59 */ bl Magnitude__9CVector3fCFv -/* 800EE964 000EB8C4 80 1F 18 7C */ lwz r0, 0x187c(r31) -/* 800EE968 000EB8C8 FF C0 08 90 */ fmr f30, f1 -/* 800EE96C 000EB8CC 2C 00 00 01 */ cmpwi r0, 1 -/* 800EE970 000EB8D0 40 82 00 18 */ bne lbl_800EE988 -/* 800EE974 000EB8D4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800EE978 000EB8D8 C0 22 91 7C */ lfs f1, lbl_805AAE9C@sda21(r2) -/* 800EE97C 000EB8DC C0 03 00 E4 */ lfs f0, 0xe4(r3) -/* 800EE980 000EB8E0 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 800EE984 000EB8E4 EF C1 F0 3A */ fmadds f30, f1, f0, f30 -lbl_800EE988: -/* 800EE988 000EB8E8 C0 02 91 80 */ lfs f0, lbl_805AAEA0@sda21(r2) -/* 800EE98C 000EB8EC FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 800EE990 000EB8F0 40 81 01 20 */ ble lbl_800EEAB0 -/* 800EE994 000EB8F4 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) -/* 800EE998 000EB8F8 28 00 00 00 */ cmplwi r0, 0 -/* 800EE99C 000EB8FC 40 82 00 6C */ bne lbl_800EEA08 -/* 800EE9A0 000EB900 A0 9F 1E 34 */ lhz r4, 0x1e34(r31) -/* 800EE9A4 000EB904 28 04 FF FF */ cmplwi r4, 0xffff -/* 800EE9A8 000EB908 41 82 00 4C */ beq lbl_800EE9F4 -/* 800EE9AC 000EB90C 80 BF 00 00 */ lwz r5, 0(r31) -/* 800EE9B0 000EB910 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800EE9B4 000EB914 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 800EE9B8 000EB918 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 800EE9BC 000EB91C C0 45 00 60 */ lfs f2, 0x60(r5) -/* 800EE9C0 000EB920 38 61 00 34 */ addi r3, r1, 0x34 -/* 800EE9C4 000EB924 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 800EE9C8 000EB928 38 E0 00 01 */ li r7, 1 -/* 800EE9CC 000EB92C C0 05 00 40 */ lfs f0, 0x40(r5) -/* 800EE9D0 000EB930 38 A1 00 5C */ addi r5, r1, 0x5c -/* 800EE9D4 000EB934 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800EE9D8 000EB938 39 00 00 01 */ li r8, 1 -/* 800EE9DC 000EB93C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800EE9E0 000EB940 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 800EE9E4 000EB944 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 800EE9E8 000EB948 48 1F B8 C9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 800EE9EC 000EB94C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800EE9F0 000EB950 90 1F 1E 2C */ stw r0, 0x1e2c(r31) -lbl_800EE9F4: -/* 800EE9F4 000EB954 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) -/* 800EE9F8 000EB958 38 81 00 30 */ addi r4, r1, 0x30 -/* 800EE9FC 000EB95C 90 01 00 30 */ stw r0, 0x30(r1) -/* 800EEA00 000EB960 80 7F 00 00 */ lwz r3, 0(r31) -/* 800EEA04 000EB964 4B F2 27 89 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle -lbl_800EEA08: -/* 800EEA08 000EB968 FC 00 F0 1E */ fctiwz f0, f30 -/* 800EEA0C 000EB96C 38 81 00 28 */ addi r4, r1, 0x28 -/* 800EEA10 000EB970 38 6D 88 E0 */ addi r3, r13, lbl_805A74A0@sda21 -/* 800EEA14 000EB974 38 AD 88 E4 */ addi r5, r13, lbl_805A74A4@sda21 -/* 800EEA18 000EB978 D8 01 00 78 */ stfd f0, 0x78(r1) -/* 800EEA1C 000EB97C 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 800EEA20 000EB980 1C C0 01 F4 */ mulli r6, r0, 0x1f4 -/* 800EEA24 000EB984 38 06 02 B4 */ addi r0, r6, 0x2b4 -/* 800EEA28 000EB988 90 01 00 28 */ stw r0, 0x28(r1) -/* 800EEA2C 000EB98C 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) -/* 800EEA30 000EB990 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800EEA34 000EB994 4B F6 B6 31 */ bl "Clamp__5CMathFRCiRCiRCi" -/* 800EEA38 000EB998 7C 64 1B 78 */ mr r4, r3 -/* 800EEA3C 000EB99C 38 61 00 2C */ addi r3, r1, 0x2c -/* 800EEA40 000EB9A0 80 84 00 00 */ lwz r4, 0(r4) -/* 800EEA44 000EB9A4 48 1F A4 69 */ bl PitchBend__11CSfxManagerF10CSfxHandlei -/* 800EEA48 000EB9A8 C0 22 91 88 */ lfs f1, lbl_805AAEA8@sda21(r2) -/* 800EEA4C 000EB9AC 38 81 00 24 */ addi r4, r1, 0x24 -/* 800EEA50 000EB9B0 C0 02 91 84 */ lfs f0, lbl_805AAEA4@sda21(r2) -/* 800EEA54 000EB9B4 38 62 91 74 */ addi r3, r2, lbl_805AAE94@sda21 -/* 800EEA58 000EB9B8 38 A2 91 78 */ addi r5, r2, lbl_805AAE98@sda21 -/* 800EEA5C 000EB9BC EC 01 07 BA */ fmadds f0, f1, f30, f0 -/* 800EEA60 000EB9C0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800EEA64 000EB9C4 4B F1 D8 51 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800EEA68 000EB9C8 C3 E3 00 00 */ lfs f31, 0(r3) -/* 800EEA6C 000EB9CC F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 800EEA70 000EB9D0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800EEA74 000EB9D4 80 FF 00 00 */ lwz r7, 0(r31) -/* 800EEA78 000EB9D8 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 800EEA7C 000EB9DC 88 C1 00 08 */ lbz r6, 8(r1) -/* 800EEA80 000EB9E0 38 61 00 20 */ addi r3, r1, 0x20 -/* 800EEA84 000EB9E4 C0 47 00 60 */ lfs f2, 0x60(r7) -/* 800EEA88 000EB9E8 38 81 00 50 */ addi r4, r1, 0x50 -/* 800EEA8C 000EB9EC C0 27 00 50 */ lfs f1, 0x50(r7) -/* 800EEA90 000EB9F0 C0 07 00 40 */ lfs f0, 0x40(r7) -/* 800EEA94 000EB9F4 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800EEA98 000EB9F8 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 800EEA9C 000EB9FC D0 41 00 58 */ stfs f2, 0x58(r1) -/* 800EEAA0 000EBA00 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) -/* 800EEAA4 000EBA04 90 01 00 20 */ stw r0, 0x20(r1) -/* 800EEAA8 000EBA08 48 1F B4 09 */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -/* 800EEAAC 000EBA0C 48 00 00 28 */ b lbl_800EEAD4 -lbl_800EEAB0: -/* 800EEAB0 000EBA10 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) -/* 800EEAB4 000EBA14 28 00 00 00 */ cmplwi r0, 0 -/* 800EEAB8 000EBA18 41 82 00 1C */ beq lbl_800EEAD4 -/* 800EEABC 000EBA1C 80 1F 1E 2C */ lwz r0, 0x1e2c(r31) -/* 800EEAC0 000EBA20 38 61 00 1C */ addi r3, r1, 0x1c -/* 800EEAC4 000EBA24 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800EEAC8 000EBA28 48 1F B2 81 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 800EEACC 000EBA2C 38 00 00 00 */ li r0, 0 -/* 800EEAD0 000EBA30 90 1F 1E 2C */ stw r0, 0x1e2c(r31) -lbl_800EEAD4: -/* 800EEAD4 000EBA34 80 1F 18 7C */ lwz r0, 0x187c(r31) -/* 800EEAD8 000EBA38 2C 00 00 01 */ cmpwi r0, 1 -/* 800EEADC 000EBA3C 40 82 00 B0 */ bne lbl_800EEB8C -/* 800EEAE0 000EBA40 80 1F 1E 30 */ lwz r0, 0x1e30(r31) -/* 800EEAE4 000EBA44 28 00 00 00 */ cmplwi r0, 0 -/* 800EEAE8 000EBA48 40 82 00 64 */ bne lbl_800EEB4C -/* 800EEAEC 000EBA4C 80 9F 00 00 */ lwz r4, 0(r31) -/* 800EEAF0 000EBA50 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800EEAF4 000EBA54 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 800EEAF8 000EBA58 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800EEAFC 000EBA5C C0 44 00 60 */ lfs f2, 0x60(r4) -/* 800EEB00 000EBA60 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EEB04 000EBA64 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 800EEB08 000EBA68 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800EEB0C 000EBA6C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 800EEB10 000EBA70 38 80 05 F3 */ li r4, 0x5f3 -/* 800EEB14 000EBA74 38 E0 00 01 */ li r7, 1 -/* 800EEB18 000EBA78 39 00 00 01 */ li r8, 1 -/* 800EEB1C 000EBA7C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800EEB20 000EBA80 39 20 00 C8 */ li r9, 0xc8 -/* 800EEB24 000EBA84 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800EEB28 000EBA88 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800EEB2C 000EBA8C 48 1F B7 85 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 800EEB30 000EBA90 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800EEB34 000EBA94 38 81 00 14 */ addi r4, r1, 0x14 -/* 800EEB38 000EBA98 90 1F 1E 30 */ stw r0, 0x1e30(r31) -/* 800EEB3C 000EBA9C 80 1F 1E 30 */ lwz r0, 0x1e30(r31) -/* 800EEB40 000EBAA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EEB44 000EBAA4 80 7F 00 00 */ lwz r3, 0(r31) -/* 800EEB48 000EBAA8 4B F2 26 45 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle -lbl_800EEB4C: -/* 800EEB4C 000EBAAC 80 DF 00 00 */ lwz r6, 0(r31) -/* 800EEB50 000EBAB0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800EEB54 000EBAB4 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 800EEB58 000EBAB8 38 81 00 38 */ addi r4, r1, 0x38 -/* 800EEB5C 000EBABC C0 46 00 60 */ lfs f2, 0x60(r6) -/* 800EEB60 000EBAC0 38 61 00 10 */ addi r3, r1, 0x10 -/* 800EEB64 000EBAC4 C0 26 00 50 */ lfs f1, 0x50(r6) -/* 800EEB68 000EBAC8 C0 06 00 40 */ lfs f0, 0x40(r6) -/* 800EEB6C 000EBACC 38 C0 00 7F */ li r6, 0x7f -/* 800EEB70 000EBAD0 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800EEB74 000EBAD4 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800EEB78 000EBAD8 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 800EEB7C 000EBADC 80 1F 1E 30 */ lwz r0, 0x1e30(r31) -/* 800EEB80 000EBAE0 90 01 00 10 */ stw r0, 0x10(r1) -/* 800EEB84 000EBAE4 48 1F B3 2D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -/* 800EEB88 000EBAE8 48 00 00 28 */ b lbl_800EEBB0 -lbl_800EEB8C: -/* 800EEB8C 000EBAEC 80 1F 1E 30 */ lwz r0, 0x1e30(r31) -/* 800EEB90 000EBAF0 28 00 00 00 */ cmplwi r0, 0 -/* 800EEB94 000EBAF4 41 82 00 1C */ beq lbl_800EEBB0 -/* 800EEB98 000EBAF8 80 1F 1E 30 */ lwz r0, 0x1e30(r31) -/* 800EEB9C 000EBAFC 38 61 00 0C */ addi r3, r1, 0xc -/* 800EEBA0 000EBB00 90 01 00 0C */ stw r0, 0xc(r1) -/* 800EEBA4 000EBB04 48 1F B1 A5 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 800EEBA8 000EBB08 38 00 00 00 */ li r0, 0 -/* 800EEBAC 000EBB0C 90 1F 1E 30 */ stw r0, 0x1e30(r31) -lbl_800EEBB0: -/* 800EEBB0 000EBB10 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 800EEBB4 000EBB14 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 800EEBB8 000EBB18 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 800EEBBC 000EBB1C CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 800EEBC0 000EBB20 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 800EEBC4 000EBB24 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 800EEBC8 000EBB28 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800EEBCC 000EBB2C 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 800EEBD0 000EBB30 7C 08 03 A6 */ mtlr r0 -/* 800EEBD4 000EBB34 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800EEBD8 000EBB38 4E 80 00 20 */ blr - -.global SelectMorphBallSounds__10CMorphBallFRC13CMaterialList -SelectMorphBallSounds__10CMorphBallFRC13CMaterialList: -/* 800EEBDC 000EBB3C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800EEBE0 000EBB40 7C 08 02 A6 */ mflr r0 -/* 800EEBE4 000EBB44 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EEBE8 000EBB48 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800EEBEC 000EBB4C 7C 9F 23 78 */ mr r31, r4 -/* 800EEBF0 000EBB50 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800EEBF4 000EBB54 7C 7E 1B 78 */ mr r30, r3 -/* 800EEBF8 000EBB58 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800EEBFC 000EBB5C 80 63 00 00 */ lwz r3, 0(r3) -/* 800EEC00 000EBB60 88 03 09 C5 */ lbz r0, 0x9c5(r3) -/* 800EEC04 000EBB64 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800EEC08 000EBB68 41 82 00 20 */ beq lbl_800EEC28 -/* 800EEC0C 000EBB6C 88 03 08 2C */ lbz r0, 0x82c(r3) -/* 800EEC10 000EBB70 28 00 00 00 */ cmplwi r0, 0 -/* 800EEC14 000EBB74 41 82 00 0C */ beq lbl_800EEC20 -/* 800EEC18 000EBB78 3B A0 08 8A */ li r29, 0x88a -/* 800EEC1C 000EBB7C 48 00 00 2C */ b lbl_800EEC48 -lbl_800EEC20: -/* 800EEC20 000EBB80 3B A0 05 C9 */ li r29, 0x5c9 -/* 800EEC24 000EBB84 48 00 00 24 */ b lbl_800EEC48 -lbl_800EEC28: -/* 800EEC28 000EBB88 3C 60 80 3D */ lis r3, lbl_803CEB94@ha -/* 800EEC2C 000EBB8C 3C A0 00 01 */ lis r5, 0x0000FFFF@ha -/* 800EEC30 000EBB90 38 83 EB 94 */ addi r4, r3, lbl_803CEB94@l -/* 800EEC34 000EBB94 38 C5 FF FF */ addi r6, r5, 0x0000FFFF@l -/* 800EEC38 000EBB98 7F E3 FB 78 */ mr r3, r31 -/* 800EEC3C 000EBB9C 38 A0 00 18 */ li r5, 0x18 -/* 800EEC40 000EBBA0 4B F2 97 65 */ bl SfxIdFromMaterial__7CPlayerFRC13CMaterialListPCUsiUs -/* 800EEC44 000EBBA4 7C 7D 07 34 */ extsh r29, r3 -lbl_800EEC48: -/* 800EEC48 000EBBA8 80 9E 00 00 */ lwz r4, 0(r30) -/* 800EEC4C 000EBBAC 7F A6 07 34 */ extsh r6, r29 -/* 800EEC50 000EBBB0 3C 06 00 00 */ addis r0, r6, 0 -/* 800EEC54 000EBBB4 38 A0 00 00 */ li r5, 0 -/* 800EEC58 000EBBB8 88 64 09 C5 */ lbz r3, 0x9c5(r4) -/* 800EEC5C 000EBBBC 50 A3 0F BC */ rlwimi r3, r5, 1, 0x1e, 0x1e -/* 800EEC60 000EBBC0 28 00 FF FF */ cmplwi r0, 0xffff -/* 800EEC64 000EBBC4 98 64 09 C5 */ stb r3, 0x9c5(r4) -/* 800EEC68 000EBBC8 41 82 00 38 */ beq lbl_800EECA0 -/* 800EEC6C 000EBBCC A0 1E 1E 34 */ lhz r0, 0x1e34(r30) -/* 800EEC70 000EBBD0 7C 00 30 00 */ cmpw r0, r6 -/* 800EEC74 000EBBD4 41 82 00 28 */ beq lbl_800EEC9C -/* 800EEC78 000EBBD8 80 1E 1E 2C */ lwz r0, 0x1e2c(r30) -/* 800EEC7C 000EBBDC 28 00 00 00 */ cmplwi r0, 0 -/* 800EEC80 000EBBE0 41 82 00 1C */ beq lbl_800EEC9C -/* 800EEC84 000EBBE4 80 1E 1E 2C */ lwz r0, 0x1e2c(r30) -/* 800EEC88 000EBBE8 38 61 00 08 */ addi r3, r1, 8 -/* 800EEC8C 000EBBEC 90 01 00 08 */ stw r0, 8(r1) -/* 800EEC90 000EBBF0 48 1F B0 B9 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 800EEC94 000EBBF4 38 00 00 00 */ li r0, 0 -/* 800EEC98 000EBBF8 90 1E 1E 2C */ stw r0, 0x1e2c(r30) -lbl_800EEC9C: -/* 800EEC9C 000EBBFC B3 BE 1E 34 */ sth r29, 0x1e34(r30) -lbl_800EECA0: -/* 800EECA0 000EBC00 3C 60 80 3D */ lis r3, lbl_803CEBC4@ha -/* 800EECA4 000EBC04 3C A0 00 01 */ lis r5, 0x0000FFFF@ha -/* 800EECA8 000EBC08 38 83 EB C4 */ addi r4, r3, lbl_803CEBC4@l -/* 800EECAC 000EBC0C 38 C5 FF FF */ addi r6, r5, 0x0000FFFF@l -/* 800EECB0 000EBC10 7F E3 FB 78 */ mr r3, r31 -/* 800EECB4 000EBC14 38 A0 00 18 */ li r5, 0x18 -/* 800EECB8 000EBC18 4B F2 96 ED */ bl SfxIdFromMaterial__7CPlayerFRC13CMaterialListPCUsiUs -/* 800EECBC 000EBC1C B0 7E 1E 36 */ sth r3, 0x1e36(r30) -/* 800EECC0 000EBC20 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EECC4 000EBC24 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800EECC8 000EBC28 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800EECCC 000EBC2C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800EECD0 000EBC30 7C 08 03 A6 */ mtlr r0 -/* 800EECD4 000EBC34 38 21 00 20 */ addi r1, r1, 0x20 -/* 800EECD8 000EBC38 4E 80 00 20 */ blr - -.global TakeDamage__10CMorphBallFf -TakeDamage__10CMorphBallFf: -/* 800EECDC 000EBC3C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800EECE0 000EBC40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EECE4 000EBC44 4C 40 13 82 */ cror 2, 0, 2 -/* 800EECE8 000EBC48 40 82 00 10 */ bne lbl_800EECF8 -/* 800EECEC 000EBC4C D0 03 1E 44 */ stfs f0, 0x1e44(r3) -/* 800EECF0 000EBC50 D0 03 1E 48 */ stfs f0, 0x1e48(r3) -/* 800EECF4 000EBC54 4E 80 00 20 */ blr -lbl_800EECF8: -/* 800EECF8 000EBC58 C0 02 91 8C */ lfs f0, lbl_805AAEAC@sda21(r2) -/* 800EECFC 000EBC5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EED00 000EBC60 4C 41 13 82 */ cror 2, 1, 2 -/* 800EED04 000EBC64 40 82 00 10 */ bne lbl_800EED14 -/* 800EED08 000EBC68 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) -/* 800EED0C 000EBC6C D0 03 1E 48 */ stfs f0, 0x1e48(r3) -/* 800EED10 000EBC70 48 00 00 38 */ b lbl_800EED48 -lbl_800EED14: -/* 800EED14 000EBC74 C0 02 91 94 */ lfs f0, lbl_805AAEB4@sda21(r2) -/* 800EED18 000EBC78 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EED1C 000EBC7C 40 81 00 24 */ ble lbl_800EED40 -/* 800EED20 000EBC80 EC 41 00 28 */ fsubs f2, f1, f0 -/* 800EED24 000EBC84 C0 22 91 9C */ lfs f1, lbl_805AAEBC@sda21(r2) -/* 800EED28 000EBC88 C0 62 91 98 */ lfs f3, lbl_805AAEB8@sda21(r2) -/* 800EED2C 000EBC8C C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800EED30 000EBC90 EC 22 08 24 */ fdivs f1, f2, f1 -/* 800EED34 000EBC94 EC 03 00 7C */ fnmsubs f0, f3, f1, f0 -/* 800EED38 000EBC98 D0 03 1E 48 */ stfs f0, 0x1e48(r3) -/* 800EED3C 000EBC9C 48 00 00 0C */ b lbl_800EED48 -lbl_800EED40: -/* 800EED40 000EBCA0 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800EED44 000EBCA4 D0 03 1E 48 */ stfs f0, 0x1e48(r3) -lbl_800EED48: -/* 800EED48 000EBCA8 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800EED4C 000EBCAC D0 03 1E 44 */ stfs f0, 0x1e44(r3) -/* 800EED50 000EBCB0 4E 80 00 20 */ blr - -.global "LoadAnimationTokens__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"LoadAnimationTokens__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 800EED54 000EBCB4 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 800EED58 000EBCB8 7C 08 02 A6 */ mflr r0 -/* 800EED5C 000EBCBC 3C A0 80 3D */ lis r5, lbl_803CEBF4@ha -/* 800EED60 000EBCC0 90 01 00 94 */ stw r0, 0x94(r1) -/* 800EED64 000EBCC4 38 A5 EB F4 */ addi r5, r5, lbl_803CEBF4@l -/* 800EED68 000EBCC8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 800EED6C 000EBCCC 93 C1 00 88 */ stw r30, 0x88(r1) -/* 800EED70 000EBCD0 93 A1 00 84 */ stw r29, 0x84(r1) -/* 800EED74 000EBCD4 7C 7D 1B 78 */ mr r29, r3 -/* 800EED78 000EBCD8 38 61 00 50 */ addi r3, r1, 0x50 -/* 800EED7C 000EBCDC 93 81 00 80 */ stw r28, 0x80(r1) -/* 800EED80 000EBCE0 7C 9C 23 78 */ mr r28, r4 -/* 800EED84 000EBCE4 38 85 01 42 */ addi r4, r5, 0x142 -/* 800EED88 000EBCE8 4B F1 5F 31 */ bl string_l__4rstlFPCc -/* 800EED8C 000EBCEC 7F 84 E3 78 */ mr r4, r28 -/* 800EED90 000EBCF0 38 61 00 40 */ addi r3, r1, 0x40 -/* 800EED94 000EBCF4 38 A1 00 50 */ addi r5, r1, 0x50 -/* 800EED98 000EBCF8 4B F1 5E C5 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800EED9C 000EBCFC 38 61 00 6C */ addi r3, r1, 0x6c -/* 800EEDA0 000EBD00 38 81 00 40 */ addi r4, r1, 0x40 -/* 800EEDA4 000EBD04 48 24 F3 BD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800EEDA8 000EBD08 38 61 00 40 */ addi r3, r1, 0x40 -/* 800EEDAC 000EBD0C 48 24 ED 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800EEDB0 000EBD10 38 61 00 50 */ addi r3, r1, 0x50 -/* 800EEDB4 000EBD14 48 24 ED 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800EEDB8 000EBD18 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EEDBC 000EBD1C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800EEDC0 000EBD20 80 A1 00 6C */ lwz r5, 0x6c(r1) -/* 800EEDC4 000EBD24 81 84 00 00 */ lwz r12, 0(r4) -/* 800EEDC8 000EBD28 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EEDCC 000EBD2C 7D 89 03 A6 */ mtctr r12 -/* 800EEDD0 000EBD30 4E 80 04 21 */ bctrl -/* 800EEDD4 000EBD34 3B 81 00 60 */ addi r28, r1, 0x60 -/* 800EEDD8 000EBD38 38 81 00 20 */ addi r4, r1, 0x20 -/* 800EEDDC 000EBD3C 7F 83 E3 78 */ mr r3, r28 -/* 800EEDE0 000EBD40 48 25 20 C9 */ bl __ct__6CTokenFRC6CToken -/* 800EEDE4 000EBD44 7F 83 E3 78 */ mr r3, r28 -/* 800EEDE8 000EBD48 48 25 20 25 */ bl GetObj__6CTokenFv -/* 800EEDEC 000EBD4C 80 03 00 04 */ lwz r0, 4(r3) -/* 800EEDF0 000EBD50 38 61 00 20 */ addi r3, r1, 0x20 -/* 800EEDF4 000EBD54 38 80 FF FF */ li r4, -1 -/* 800EEDF8 000EBD58 90 01 00 68 */ stw r0, 0x68(r1) -/* 800EEDFC 000EBD5C 48 25 20 45 */ bl __dt__6CTokenFv -/* 800EEE00 000EBD60 38 00 00 00 */ li r0, 0 -/* 800EEE04 000EBD64 83 E1 00 68 */ lwz r31, 0x68(r1) -/* 800EEE08 000EBD68 90 01 00 34 */ stw r0, 0x34(r1) -/* 800EEE0C 000EBD6C 38 7D 19 58 */ addi r3, r29, 0x1958 -/* 800EEE10 000EBD70 38 81 00 30 */ addi r4, r1, 0x30 -/* 800EEE14 000EBD74 90 01 00 38 */ stw r0, 0x38(r1) -/* 800EEE18 000EBD78 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800EEE1C 000EBD7C 4B F1 79 E9 */ bl sub_80006804 -/* 800EEE20 000EBD80 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800EEE24 000EBD84 83 81 00 3C */ lwz r28, 0x3c(r1) -/* 800EEE28 000EBD88 54 00 18 38 */ slwi r0, r0, 3 -/* 800EEE2C 000EBD8C 7F DC 02 14 */ add r30, r28, r0 -/* 800EEE30 000EBD90 93 81 00 0C */ stw r28, 0xc(r1) -/* 800EEE34 000EBD94 93 C1 00 14 */ stw r30, 0x14(r1) -/* 800EEE38 000EBD98 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800EEE3C 000EBD9C 93 81 00 08 */ stw r28, 8(r1) -/* 800EEE40 000EBDA0 48 00 00 14 */ b lbl_800EEE54 -lbl_800EEE44: -/* 800EEE44 000EBDA4 7F 83 E3 78 */ mr r3, r28 -/* 800EEE48 000EBDA8 38 80 FF FF */ li r4, -1 -/* 800EEE4C 000EBDAC 48 25 1F F5 */ bl __dt__6CTokenFv -/* 800EEE50 000EBDB0 3B 9C 00 08 */ addi r28, r28, 8 -lbl_800EEE54: -/* 800EEE54 000EBDB4 7C 1C F0 40 */ cmplw r28, r30 -/* 800EEE58 000EBDB8 40 82 FF EC */ bne lbl_800EEE44 -/* 800EEE5C 000EBDBC 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 800EEE60 000EBDC0 28 03 00 00 */ cmplwi r3, 0 -/* 800EEE64 000EBDC4 41 82 00 08 */ beq lbl_800EEE6C -/* 800EEE68 000EBDC8 48 22 6A C9 */ bl Free__7CMemoryFPCv -lbl_800EEE6C: -/* 800EEE6C 000EBDCC 80 9F 00 04 */ lwz r4, 4(r31) -/* 800EEE70 000EBDD0 38 7D 19 58 */ addi r3, r29, 0x1958 -/* 800EEE74 000EBDD4 4B F1 9A E9 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 800EEE78 000EBDD8 83 DF 00 0C */ lwz r30, 0xc(r31) -/* 800EEE7C 000EBDDC 48 00 00 C8 */ b lbl_800EEF44 -lbl_800EEE80: -/* 800EEE80 000EBDE0 80 7E 00 00 */ lwz r3, 0(r30) -/* 800EEE84 000EBDE4 3C 03 BC B3 */ addis r0, r3, 0xbcb3 -/* 800EEE88 000EBDE8 28 00 44 4C */ cmplwi r0, 0x444c -/* 800EEE8C 000EBDEC 41 82 00 B4 */ beq lbl_800EEF40 -/* 800EEE90 000EBDF0 3C 03 BC AD */ addis r0, r3, 0xbcad -/* 800EEE94 000EBDF4 28 00 4B 52 */ cmplwi r0, 0x4b52 -/* 800EEE98 000EBDF8 41 82 00 A8 */ beq lbl_800EEF40 -/* 800EEE9C 000EBDFC 3C 03 AB A8 */ addis r0, r3, 0xaba8 -/* 800EEEA0 000EBE00 28 00 54 52 */ cmplwi r0, 0x5452 -/* 800EEEA4 000EBE04 41 82 00 9C */ beq lbl_800EEF40 -/* 800EEEA8 000EBE08 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800EEEAC 000EBE0C 7F C5 F3 78 */ mr r5, r30 -/* 800EEEB0 000EBE10 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EEEB4 000EBE14 81 84 00 00 */ lwz r12, 0(r4) -/* 800EEEB8 000EBE18 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800EEEBC 000EBE1C 7D 89 03 A6 */ mtctr r12 -/* 800EEEC0 000EBE20 4E 80 04 21 */ bctrl -/* 800EEEC4 000EBE24 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EEEC8 000EBE28 38 81 00 18 */ addi r4, r1, 0x18 -/* 800EEECC 000EBE2C 48 25 1F DD */ bl __ct__6CTokenFRC6CToken -/* 800EEED0 000EBE30 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EEED4 000EBE34 38 80 FF FF */ li r4, -1 -/* 800EEED8 000EBE38 48 25 1F 69 */ bl __dt__6CTokenFv -/* 800EEEDC 000EBE3C 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EEEE0 000EBE40 48 25 1E A5 */ bl Lock__6CTokenFv -/* 800EEEE4 000EBE44 80 1D 19 5C */ lwz r0, 0x195c(r29) -/* 800EEEE8 000EBE48 80 BD 19 60 */ lwz r5, 0x1960(r29) -/* 800EEEEC 000EBE4C 7C 00 28 00 */ cmpw r0, r5 -/* 800EEEF0 000EBE50 41 80 00 1C */ blt lbl_800EEF0C -/* 800EEEF4 000EBE54 2C 05 00 00 */ cmpwi r5, 0 -/* 800EEEF8 000EBE58 38 7D 19 58 */ addi r3, r29, 0x1958 -/* 800EEEFC 000EBE5C 38 80 00 04 */ li r4, 4 -/* 800EEF00 000EBE60 41 82 00 08 */ beq lbl_800EEF08 -/* 800EEF04 000EBE64 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800EEF08: -/* 800EEF08 000EBE68 4B F1 9A 55 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_800EEF0C: -/* 800EEF0C 000EBE6C 80 1D 19 5C */ lwz r0, 0x195c(r29) -/* 800EEF10 000EBE70 80 7D 19 64 */ lwz r3, 0x1964(r29) -/* 800EEF14 000EBE74 54 00 18 38 */ slwi r0, r0, 3 -/* 800EEF18 000EBE78 7C 63 02 15 */ add. r3, r3, r0 -/* 800EEF1C 000EBE7C 41 82 00 0C */ beq lbl_800EEF28 -/* 800EEF20 000EBE80 38 81 00 28 */ addi r4, r1, 0x28 -/* 800EEF24 000EBE84 48 25 1F 85 */ bl __ct__6CTokenFRC6CToken -lbl_800EEF28: -/* 800EEF28 000EBE88 80 BD 19 5C */ lwz r5, 0x195c(r29) -/* 800EEF2C 000EBE8C 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EEF30 000EBE90 38 80 FF FF */ li r4, -1 -/* 800EEF34 000EBE94 38 05 00 01 */ addi r0, r5, 1 -/* 800EEF38 000EBE98 90 1D 19 5C */ stw r0, 0x195c(r29) -/* 800EEF3C 000EBE9C 48 25 1F 05 */ bl __dt__6CTokenFv -lbl_800EEF40: -/* 800EEF40 000EBEA0 3B DE 00 08 */ addi r30, r30, 8 -lbl_800EEF44: -/* 800EEF44 000EBEA4 80 1F 00 04 */ lwz r0, 4(r31) -/* 800EEF48 000EBEA8 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800EEF4C 000EBEAC 54 00 18 38 */ slwi r0, r0, 3 -/* 800EEF50 000EBEB0 7C 03 02 14 */ add r0, r3, r0 -/* 800EEF54 000EBEB4 7C 1E 00 40 */ cmplw r30, r0 -/* 800EEF58 000EBEB8 40 82 FF 28 */ bne lbl_800EEE80 -/* 800EEF5C 000EBEBC 38 61 00 60 */ addi r3, r1, 0x60 -/* 800EEF60 000EBEC0 38 80 00 00 */ li r4, 0 -/* 800EEF64 000EBEC4 48 25 1E DD */ bl __dt__6CTokenFv -/* 800EEF68 000EBEC8 38 61 00 6C */ addi r3, r1, 0x6c -/* 800EEF6C 000EBECC 48 24 EB 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800EEF70 000EBED0 80 01 00 94 */ lwz r0, 0x94(r1) -/* 800EEF74 000EBED4 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 800EEF78 000EBED8 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 800EEF7C 000EBEDC 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 800EEF80 000EBEE0 83 81 00 80 */ lwz r28, 0x80(r1) -/* 800EEF84 000EBEE4 7C 08 03 A6 */ mtlr r0 -/* 800EEF88 000EBEE8 38 21 00 90 */ addi r1, r1, 0x90 -/* 800EEF8C 000EBEEC 4E 80 00 20 */ blr - -.global SetBombJumpState__10CMorphBallFQ210CMorphBall14EBombJumpState -SetBombJumpState__10CMorphBallFQ210CMorphBall14EBombJumpState: -/* 800EEF90 000EBEF0 90 83 1E 40 */ stw r4, 0x1e40(r3) -/* 800EEF94 000EBEF4 4E 80 00 20 */ blr - -.global GetBombJumpState__10CMorphBallCFv -GetBombJumpState__10CMorphBallCFv: -/* 800EEF98 000EBEF8 80 63 1E 40 */ lwz r3, 0x1e40(r3) -/* 800EEF9C 000EBEFC 4E 80 00 20 */ blr - -.global SetBallBoostState__10CMorphBallFQ210CMorphBall15EBallBoostState -SetBallBoostState__10CMorphBallFQ210CMorphBall15EBallBoostState: -/* 800EEFA0 000EBF00 90 83 1E 3C */ stw r4, 0x1e3c(r3) -/* 800EEFA4 000EBF04 4E 80 00 20 */ blr - -.global GetBallBoostState__10CMorphBallCFv -GetBallBoostState__10CMorphBallCFv: -/* 800EEFA8 000EBF08 80 63 1E 3C */ lwz r3, 0x1e3c(r3) -/* 800EEFAC 000EBF0C 4E 80 00 20 */ blr - -.global SetAsProjectile__10CMorphBallFv -SetAsProjectile__10CMorphBallFv: -/* 800EEFB0 000EBF10 38 00 00 01 */ li r0, 1 -/* 800EEFB4 000EBF14 98 03 19 54 */ stb r0, 0x1954(r3) -/* 800EEFB8 000EBF18 4E 80 00 20 */ blr - -.global TouchModel__10CMorphBallCFRC13CStateManager -TouchModel__10CMorphBallCFRC13CStateManager: -/* 800EEFBC 000EBF1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EEFC0 000EBF20 7C 08 02 A6 */ mflr r0 -/* 800EEFC4 000EBF24 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EEFC8 000EBF28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800EEFCC 000EBF2C 7C 9F 23 78 */ mr r31, r4 -/* 800EEFD0 000EBF30 93 C1 00 08 */ stw r30, 8(r1) -/* 800EEFD4 000EBF34 7C 7E 1B 78 */ mr r30, r3 -/* 800EEFD8 000EBF38 80 63 00 58 */ lwz r3, 0x58(r3) -/* 800EEFDC 000EBF3C 80 BE 00 5C */ lwz r5, 0x5c(r30) -/* 800EEFE0 000EBF40 48 02 6D 31 */ bl Touch__10CModelDataCFRC13CStateManageri -/* 800EEFE4 000EBF44 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 800EEFE8 000EBF48 38 80 00 13 */ li r4, 0x13 -/* 800EEFEC 000EBF4C 80 63 00 00 */ lwz r3, 0(r3) -/* 800EEFF0 000EBF50 4B FA 2A D1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800EEFF4 000EBF54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800EEFF8 000EBF58 41 82 00 1C */ beq lbl_800EF014 -/* 800EEFFC 000EBF5C 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 800EF000 000EBF60 28 03 00 00 */ cmplwi r3, 0 -/* 800EF004 000EBF64 41 82 00 10 */ beq lbl_800EF014 -/* 800EF008 000EBF68 80 BE 00 64 */ lwz r5, 0x64(r30) -/* 800EF00C 000EBF6C 7F E4 FB 78 */ mr r4, r31 -/* 800EF010 000EBF70 48 02 6D 01 */ bl Touch__10CModelDataCFRC13CStateManageri -lbl_800EF014: -/* 800EF014 000EBF74 80 7E 00 68 */ lwz r3, 0x68(r30) -/* 800EF018 000EBF78 7F E4 FB 78 */ mr r4, r31 -/* 800EF01C 000EBF7C 80 BE 00 6C */ lwz r5, 0x6c(r30) -/* 800EF020 000EBF80 48 02 6C F1 */ bl Touch__10CModelDataCFRC13CStateManageri -/* 800EF024 000EBF84 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EF028 000EBF88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800EF02C 000EBF8C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800EF030 000EBF90 7C 08 03 A6 */ mtlr r0 -/* 800EF034 000EBF94 38 21 00 10 */ addi r1, r1, 0x10 -/* 800EF038 000EBF98 4E 80 00 20 */ blr - -.global RenderEnergyDrainEffects__10CMorphBallCFRC13CStateManager -RenderEnergyDrainEffects__10CMorphBallCFRC13CStateManager: -/* 800EF03C 000EBF9C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800EF040 000EBFA0 7C 08 02 A6 */ mflr r0 -/* 800EF044 000EBFA4 90 01 00 34 */ stw r0, 0x34(r1) -/* 800EF048 000EBFA8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800EF04C 000EBFAC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800EF050 000EBFB0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800EF054 000EBFB4 7C 9D 23 78 */ mr r29, r4 -/* 800EF058 000EBFB8 83 E3 00 00 */ lwz r31, 0(r3) -/* 800EF05C 000EBFBC 83 DF 02 80 */ lwz r30, 0x280(r31) -/* 800EF060 000EBFC0 48 00 00 40 */ b lbl_800EF0A0 -lbl_800EF064: -/* 800EF064 000EBFC4 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800EF068 000EBFC8 7F A3 EB 78 */ mr r3, r29 -/* 800EF06C 000EBFCC 38 81 00 0C */ addi r4, r1, 0xc -/* 800EF070 000EBFD0 B0 01 00 08 */ sth r0, 8(r1) -/* 800EF074 000EBFD4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800EF078 000EBFD8 4B F5 D5 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800EF07C 000EBFDC 7C 64 1B 78 */ mr r4, r3 -/* 800EF080 000EBFE0 38 61 00 10 */ addi r3, r1, 0x10 -/* 800EF084 000EBFE4 4B FB 64 1D */ bl sub_800a54a0 -/* 800EF088 000EBFE8 4B FB 63 ED */ bl "CastTo<12CMetroidBeta>__10CPatternedFP7CEntity" -/* 800EF08C 000EBFEC 28 03 00 00 */ cmplwi r3, 0 -/* 800EF090 000EBFF0 41 82 00 0C */ beq lbl_800EF09C -/* 800EF094 000EBFF4 48 0D 65 D5 */ bl RenderHitBallEffect__12CMetroidBetaCFv -/* 800EF098 000EBFF8 48 00 00 20 */ b lbl_800EF0B8 -lbl_800EF09C: -/* 800EF09C 000EBFFC 3B DE 00 08 */ addi r30, r30, 8 -lbl_800EF0A0: -/* 800EF0A0 000EC000 80 1F 02 78 */ lwz r0, 0x278(r31) -/* 800EF0A4 000EC004 80 7F 02 80 */ lwz r3, 0x280(r31) -/* 800EF0A8 000EC008 54 00 18 38 */ slwi r0, r0, 3 -/* 800EF0AC 000EC00C 7C 03 02 14 */ add r0, r3, r0 -/* 800EF0B0 000EC010 7C 1E 00 40 */ cmplw r30, r0 -/* 800EF0B4 000EC014 40 82 FF B0 */ bne lbl_800EF064 -lbl_800EF0B8: -/* 800EF0B8 000EC018 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800EF0BC 000EC01C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800EF0C0 000EC020 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800EF0C4 000EC024 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800EF0C8 000EC028 7C 08 03 A6 */ mtlr r0 -/* 800EF0CC 000EC02C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800EF0D0 000EC030 4E 80 00 20 */ blr - -.global RenderSpiderBallElectricalEffects__10CMorphBallCFv -RenderSpiderBallElectricalEffects__10CMorphBallCFv: -/* 800EF0D4 000EC034 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800EF0D8 000EC038 7C 08 02 A6 */ mflr r0 -/* 800EF0DC 000EC03C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EF0E0 000EC040 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800EF0E4 000EC044 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800EF0E8 000EC048 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800EF0EC 000EC04C 7C 7D 1B 78 */ mr r29, r3 -/* 800EF0F0 000EC050 3B DD 19 E8 */ addi r30, r29, 0x19e8 -/* 800EF0F4 000EC054 83 E3 1B 6C */ lwz r31, 0x1b6c(r3) -/* 800EF0F8 000EC058 48 00 00 28 */ b lbl_800EF120 -lbl_800EF0FC: -/* 800EF0FC 000EC05C 80 1F 00 08 */ lwz r0, 8(r31) -/* 800EF100 000EC060 1C 60 00 0C */ mulli r3, r0, 0xc -/* 800EF104 000EC064 38 03 00 04 */ addi r0, r3, 4 -/* 800EF108 000EC068 7C 7E 00 2E */ lwzx r3, r30, r0 -/* 800EF10C 000EC06C 81 83 00 00 */ lwz r12, 0(r3) -/* 800EF110 000EC070 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800EF114 000EC074 7D 89 03 A6 */ mtctr r12 -/* 800EF118 000EC078 4E 80 04 21 */ bctrl -/* 800EF11C 000EC07C 83 FF 00 04 */ lwz r31, 4(r31) -lbl_800EF120: -/* 800EF120 000EC080 80 1D 1B 70 */ lwz r0, 0x1b70(r29) -/* 800EF124 000EC084 7C 1F 00 40 */ cmplw r31, r0 -/* 800EF128 000EC088 40 82 FF D4 */ bne lbl_800EF0FC -/* 800EF12C 000EC08C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EF130 000EC090 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800EF134 000EC094 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800EF138 000EC098 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800EF13C 000EC09C 7C 08 03 A6 */ mtlr r0 -/* 800EF140 000EC0A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800EF144 000EC0A4 4E 80 00 20 */ blr - -.global UpdateSpiderBallElectricalEffects__10CMorphBallFv -UpdateSpiderBallElectricalEffects__10CMorphBallFv: -/* 800EF148 000EC0A8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 800EF14C 000EC0AC 7C 08 02 A6 */ mflr r0 -/* 800EF150 000EC0B0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 800EF154 000EC0B4 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 800EF158 000EC0B8 93 C1 00 98 */ stw r30, 0x98(r1) -/* 800EF15C 000EC0BC 93 A1 00 94 */ stw r29, 0x94(r1) -/* 800EF160 000EC0C0 7C 7D 1B 78 */ mr r29, r3 -/* 800EF164 000EC0C4 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EF168 000EC0C8 93 81 00 90 */ stw r28, 0x90(r1) -/* 800EF16C 000EC0CC 7F A4 EB 78 */ mr r4, r29 -/* 800EF170 000EC0D0 83 FD 1B 6C */ lwz r31, 0x1b6c(r29) -/* 800EF174 000EC0D4 48 00 75 81 */ bl GetBallToWorld__10CMorphBallCFv -/* 800EF178 000EC0D8 38 61 00 48 */ addi r3, r1, 0x48 -/* 800EF17C 000EC0DC 38 81 00 18 */ addi r4, r1, 0x18 -/* 800EF180 000EC0E0 48 22 39 F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800EF184 000EC0E4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800EF188 000EC0E8 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 800EF18C 000EC0EC C0 61 00 54 */ lfs f3, 0x54(r1) -/* 800EF190 000EC0F0 3B DD 19 E8 */ addi r30, r29, 0x19e8 -/* 800EF194 000EC0F4 C0 A1 00 74 */ lfs f5, 0x74(r1) -/* 800EF198 000EC0F8 C0 81 00 64 */ lfs f4, 0x64(r1) -/* 800EF19C 000EC0FC C0 23 00 04 */ lfs f1, 4(r3) -/* 800EF1A0 000EC100 C0 03 00 08 */ lfs f0, 8(r3) -/* 800EF1A4 000EC104 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 800EF1A8 000EC108 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 800EF1AC 000EC10C D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 800EF1B0 000EC110 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800EF1B4 000EC114 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 800EF1B8 000EC118 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800EF1BC 000EC11C 48 00 01 00 */ b lbl_800EF2BC -lbl_800EF1C0: -/* 800EF1C0 000EC120 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 800EF1C4 000EC124 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 800EF1C8 000EC128 7C 03 28 40 */ cmplw r3, r5 -/* 800EF1CC 000EC12C 41 80 00 2C */ blt lbl_800EF1F8 -/* 800EF1D0 000EC130 80 1F 00 08 */ lwz r0, 8(r31) -/* 800EF1D4 000EC134 38 C0 00 00 */ li r6, 0 -/* 800EF1D8 000EC138 7F E4 FB 78 */ mr r4, r31 -/* 800EF1DC 000EC13C 38 7D 1B 68 */ addi r3, r29, 0x1b68 -/* 800EF1E0 000EC140 1C A0 00 0C */ mulli r5, r0, 0xc -/* 800EF1E4 000EC144 38 05 00 08 */ addi r0, r5, 8 -/* 800EF1E8 000EC148 7C DE 01 AE */ stbx r6, r30, r0 -/* 800EF1EC 000EC14C 48 00 B2 4D */ bl sub_800fa438 -/* 800EF1F0 000EC150 7C 7F 1B 78 */ mr r31, r3 -/* 800EF1F4 000EC154 48 00 00 C8 */ b lbl_800EF2BC -lbl_800EF1F8: -/* 800EF1F8 000EC158 3C 00 43 30 */ lis r0, 0x4330 -/* 800EF1FC 000EC15C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800EF200 000EC160 90 61 00 7C */ stw r3, 0x7c(r1) -/* 800EF204 000EC164 38 61 00 08 */ addi r3, r1, 8 -/* 800EF208 000EC168 80 9F 00 08 */ lwz r4, 8(r31) -/* 800EF20C 000EC16C FC 40 08 90 */ fmr f2, f1 -/* 800EF210 000EC170 90 01 00 78 */ stw r0, 0x78(r1) -/* 800EF214 000EC174 FC 60 08 90 */ fmr f3, f1 -/* 800EF218 000EC178 C8 A2 91 A0 */ lfd f5, lbl_805AAEC0@sda21(r2) -/* 800EF21C 000EC17C 1C 84 00 0C */ mulli r4, r4, 0xc -/* 800EF220 000EC180 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 800EF224 000EC184 90 A1 00 84 */ stw r5, 0x84(r1) -/* 800EF228 000EC188 EC 80 28 28 */ fsubs f4, f0, f5 -/* 800EF22C 000EC18C 38 84 00 04 */ addi r4, r4, 4 -/* 800EF230 000EC190 90 01 00 80 */ stw r0, 0x80(r1) -/* 800EF234 000EC194 7F 9E 20 2E */ lwzx r28, r30, r4 -/* 800EF238 000EC198 C8 01 00 80 */ lfd f0, 0x80(r1) -/* 800EF23C 000EC19C EC 00 28 28 */ fsubs f0, f0, f5 -/* 800EF240 000EC1A0 EC 04 00 24 */ fdivs f0, f4, f0 -/* 800EF244 000EC1A4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800EF248 000EC1A8 48 27 41 A5 */ bl __ct__6CColorFffff -/* 800EF24C 000EC1AC 81 9C 00 00 */ lwz r12, 0(r28) -/* 800EF250 000EC1B0 7C 64 1B 78 */ mr r4, r3 -/* 800EF254 000EC1B4 7F 83 E3 78 */ mr r3, r28 -/* 800EF258 000EC1B8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800EF25C 000EC1BC 7D 89 03 A6 */ mtctr r12 -/* 800EF260 000EC1C0 4E 80 04 21 */ bctrl -/* 800EF264 000EC1C4 80 1F 00 08 */ lwz r0, 8(r31) -/* 800EF268 000EC1C8 38 81 00 0C */ addi r4, r1, 0xc -/* 800EF26C 000EC1CC 1C 60 00 0C */ mulli r3, r0, 0xc -/* 800EF270 000EC1D0 38 03 00 04 */ addi r0, r3, 4 -/* 800EF274 000EC1D4 7C 7E 00 2E */ lwzx r3, r30, r0 -/* 800EF278 000EC1D8 81 83 00 00 */ lwz r12, 0(r3) -/* 800EF27C 000EC1DC 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800EF280 000EC1E0 7D 89 03 A6 */ mtctr r12 -/* 800EF284 000EC1E4 4E 80 04 21 */ bctrl -/* 800EF288 000EC1E8 80 1F 00 08 */ lwz r0, 8(r31) -/* 800EF28C 000EC1EC 38 81 00 48 */ addi r4, r1, 0x48 -/* 800EF290 000EC1F0 1C 60 00 0C */ mulli r3, r0, 0xc -/* 800EF294 000EC1F4 38 03 00 04 */ addi r0, r3, 4 -/* 800EF298 000EC1F8 7C 7E 00 2E */ lwzx r3, r30, r0 -/* 800EF29C 000EC1FC 81 83 00 00 */ lwz r12, 0(r3) -/* 800EF2A0 000EC200 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800EF2A4 000EC204 7D 89 03 A6 */ mtctr r12 -/* 800EF2A8 000EC208 4E 80 04 21 */ bctrl -/* 800EF2AC 000EC20C 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 800EF2B0 000EC210 38 03 00 01 */ addi r0, r3, 1 -/* 800EF2B4 000EC214 90 1F 00 10 */ stw r0, 0x10(r31) -/* 800EF2B8 000EC218 83 FF 00 04 */ lwz r31, 4(r31) -lbl_800EF2BC: -/* 800EF2BC 000EC21C 80 1D 1B 70 */ lwz r0, 0x1b70(r29) -/* 800EF2C0 000EC220 7C 1F 00 40 */ cmplw r31, r0 -/* 800EF2C4 000EC224 40 82 FE FC */ bne lbl_800EF1C0 -/* 800EF2C8 000EC228 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 800EF2CC 000EC22C 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 800EF2D0 000EC230 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 800EF2D4 000EC234 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 800EF2D8 000EC238 83 81 00 90 */ lwz r28, 0x90(r1) -/* 800EF2DC 000EC23C 7C 08 03 A6 */ mtlr r0 -/* 800EF2E0 000EC240 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 800EF2E4 000EC244 4E 80 00 20 */ blr - -.global AddSpiderBallElectricalEffect__10CMorphBallFv -AddSpiderBallElectricalEffect__10CMorphBallFv: -/* 800EF2E8 000EC248 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 800EF2EC 000EC24C 7C 08 02 A6 */ mflr r0 -/* 800EF2F0 000EC250 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 800EF2F4 000EC254 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 800EF2F8 000EC258 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 800EF2FC 000EC25C DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 800EF300 000EC260 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 800EF304 000EC264 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 800EF308 000EC268 F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 800EF30C 000EC26C DB 81 00 90 */ stfd f28, 0x90(r1) -/* 800EF310 000EC270 F3 81 00 98 */ psq_st f28, 152(r1), 0, qr0 -/* 800EF314 000EC274 DB 61 00 80 */ stfd f27, 0x80(r1) -/* 800EF318 000EC278 F3 61 00 88 */ psq_st f27, 136(r1), 0, qr0 -/* 800EF31C 000EC27C DB 41 00 70 */ stfd f26, 0x70(r1) -/* 800EF320 000EC280 F3 41 00 78 */ psq_st f26, 120(r1), 0, qr0 -/* 800EF324 000EC284 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 800EF328 000EC288 7C 7F 1B 78 */ mr r31, r3 -/* 800EF32C 000EC28C 3B 40 00 00 */ li r26, 0 -/* 800EF330 000EC290 80 03 19 E4 */ lwz r0, 0x19e4(r3) -/* 800EF334 000EC294 38 DF 19 E8 */ addi r6, r31, 0x19e8 -/* 800EF338 000EC298 7C C3 33 78 */ mr r3, r6 -/* 800EF33C 000EC29C 7C 09 03 A6 */ mtctr r0 -/* 800EF340 000EC2A0 2C 00 00 00 */ cmpwi r0, 0 -/* 800EF344 000EC2A4 40 81 02 8C */ ble lbl_800EF5D0 -lbl_800EF348: -/* 800EF348 000EC2A8 88 03 00 08 */ lbz r0, 8(r3) -/* 800EF34C 000EC2AC 28 00 00 00 */ cmplwi r0, 0 -/* 800EF350 000EC2B0 40 82 02 74 */ bne lbl_800EF5C4 -/* 800EF354 000EC2B4 1C BA 00 0C */ mulli r5, r26, 0xc -/* 800EF358 000EC2B8 38 00 00 01 */ li r0, 1 -/* 800EF35C 000EC2BC 38 7F 1B 80 */ addi r3, r31, 0x1b80 -/* 800EF360 000EC2C0 38 80 00 04 */ li r4, 4 -/* 800EF364 000EC2C4 7F 66 2A 14 */ add r27, r6, r5 -/* 800EF368 000EC2C8 38 A0 00 08 */ li r5, 8 -/* 800EF36C 000EC2CC 98 1B 00 08 */ stb r0, 8(r27) -/* 800EF370 000EC2D0 48 22 32 25 */ bl Range__9CRandom16Fii -/* 800EF374 000EC2D4 83 BF 1B 70 */ lwz r29, 0x1b70(r31) -/* 800EF378 000EC2D8 3C 80 80 3D */ lis r4, lbl_803CEBF4@ha -/* 800EF37C 000EC2DC 38 84 EB F4 */ addi r4, r4, lbl_803CEBF4@l -/* 800EF380 000EC2E0 7C 7E 1B 78 */ mr r30, r3 -/* 800EF384 000EC2E4 83 9D 00 00 */ lwz r28, 0(r29) -/* 800EF388 000EC2E8 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EF38C 000EC2EC 38 60 00 14 */ li r3, 0x14 -/* 800EF390 000EC2F0 38 A0 00 00 */ li r5, 0 -/* 800EF394 000EC2F4 48 22 64 85 */ bl __nwa__FUlPCcPCc -/* 800EF398 000EC2F8 7C 65 1B 79 */ or. r5, r3, r3 -/* 800EF39C 000EC2FC 41 82 00 0C */ beq lbl_800EF3A8 -/* 800EF3A0 000EC300 93 85 00 00 */ stw r28, 0(r5) -/* 800EF3A4 000EC304 93 A5 00 04 */ stw r29, 4(r5) -lbl_800EF3A8: -/* 800EF3A8 000EC308 34 65 00 08 */ addic. r3, r5, 8 -/* 800EF3AC 000EC30C 41 82 00 14 */ beq lbl_800EF3C0 -/* 800EF3B0 000EC310 93 43 00 00 */ stw r26, 0(r3) -/* 800EF3B4 000EC314 38 00 00 00 */ li r0, 0 -/* 800EF3B8 000EC318 93 C3 00 04 */ stw r30, 4(r3) -/* 800EF3BC 000EC31C 90 03 00 08 */ stw r0, 8(r3) -lbl_800EF3C0: -/* 800EF3C0 000EC320 80 1F 1B 6C */ lwz r0, 0x1b6c(r31) -/* 800EF3C4 000EC324 7C 1D 00 40 */ cmplw r29, r0 -/* 800EF3C8 000EC328 40 82 00 08 */ bne lbl_800EF3D0 -/* 800EF3CC 000EC32C 90 BF 1B 6C */ stw r5, 0x1b6c(r31) -lbl_800EF3D0: -/* 800EF3D0 000EC330 80 85 00 00 */ lwz r4, 0(r5) -/* 800EF3D4 000EC334 38 7F 1B 80 */ addi r3, r31, 0x1b80 -/* 800EF3D8 000EC338 90 A4 00 04 */ stw r5, 4(r4) -/* 800EF3DC 000EC33C 80 85 00 04 */ lwz r4, 4(r5) -/* 800EF3E0 000EC340 90 A4 00 00 */ stw r5, 0(r4) -/* 800EF3E4 000EC344 80 9F 1B 7C */ lwz r4, 0x1b7c(r31) -/* 800EF3E8 000EC348 38 04 00 01 */ addi r0, r4, 1 -/* 800EF3EC 000EC34C 90 1F 1B 7C */ stw r0, 0x1b7c(r31) -/* 800EF3F0 000EC350 83 9B 00 04 */ lwz r28, 4(r27) -/* 800EF3F4 000EC354 48 22 31 2D */ bl Next__9CRandom16Fv -/* 800EF3F8 000EC358 54 60 05 EE */ rlwinm r0, r3, 0, 0x17, 0x17 -/* 800EF3FC 000EC35C 2C 00 00 80 */ cmpwi r0, 0x80 -/* 800EF400 000EC360 40 80 00 0C */ bge lbl_800EF40C -/* 800EF404 000EC364 C3 E2 91 A8 */ lfs f31, lbl_805AAEC8@sda21(r2) -/* 800EF408 000EC368 48 00 00 08 */ b lbl_800EF410 -lbl_800EF40C: -/* 800EF40C 000EC36C C3 E2 91 5C */ lfs f31, lbl_805AAE7C@sda21(r2) -lbl_800EF410: -/* 800EF410 000EC370 7F E3 FB 78 */ mr r3, r31 -/* 800EF414 000EC374 48 00 99 F1 */ bl GetBallRadius__10CMorphBallCFv -/* 800EF418 000EC378 C0 02 91 AC */ lfs f0, lbl_805AAECC@sda21(r2) -/* 800EF41C 000EC37C 38 7F 1B 80 */ addi r3, r31, 0x1b80 -/* 800EF420 000EC380 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800EF424 000EC384 EF DF 00 32 */ fmuls f30, f31, f0 -/* 800EF428 000EC388 48 22 30 B5 */ bl Float__9CRandom16Fv -/* 800EF42C 000EC38C C0 62 91 B4 */ lfs f3, lbl_805AAED4@sda21(r2) -/* 800EF430 000EC390 38 7F 1B 80 */ addi r3, r31, 0x1b80 -/* 800EF434 000EC394 C0 42 91 B0 */ lfs f2, lbl_805AAED0@sda21(r2) -/* 800EF438 000EC398 C0 02 91 B8 */ lfs f0, lbl_805AAED8@sda21(r2) -/* 800EF43C 000EC39C EF A3 10 7C */ fnmsubs f29, f3, f1, f2 -/* 800EF440 000EC3A0 EF BD 00 32 */ fmuls f29, f29, f0 -/* 800EF444 000EC3A4 48 22 30 99 */ bl Float__9CRandom16Fv -/* 800EF448 000EC3A8 C0 62 91 B4 */ lfs f3, lbl_805AAED4@sda21(r2) -/* 800EF44C 000EC3AC C0 02 91 B0 */ lfs f0, lbl_805AAED0@sda21(r2) -/* 800EF450 000EC3B0 C0 42 91 BC */ lfs f2, lbl_805AAEDC@sda21(r2) -/* 800EF454 000EC3B4 EC 23 00 7C */ fnmsubs f1, f3, f1, f0 -/* 800EF458 000EC3B8 C0 02 91 B8 */ lfs f0, lbl_805AAED8@sda21(r2) -/* 800EF45C 000EC3BC EF 42 08 2A */ fadds f26, f2, f1 -/* 800EF460 000EC3C0 EF 5A 00 32 */ fmuls f26, f26, f0 -/* 800EF464 000EC3C4 FC 20 D0 90 */ fmr f1, f26 -/* 800EF468 000EC3C8 48 22 58 DD */ bl FastCosR__5CMathFf -/* 800EF46C 000EC3CC FF 80 08 90 */ fmr f28, f1 -/* 800EF470 000EC3D0 FC 20 E8 90 */ fmr f1, f29 -/* 800EF474 000EC3D4 48 22 58 D1 */ bl FastCosR__5CMathFf -/* 800EF478 000EC3D8 EF 61 07 32 */ fmuls f27, f1, f28 -/* 800EF47C 000EC3DC FC 20 E8 90 */ fmr f1, f29 -/* 800EF480 000EC3E0 48 22 59 71 */ bl FastSinR__5CMathFf -/* 800EF484 000EC3E4 FF 80 08 90 */ fmr f28, f1 -/* 800EF488 000EC3E8 FC 20 E8 90 */ fmr f1, f29 -/* 800EF48C 000EC3EC 48 22 58 B9 */ bl FastCosR__5CMathFf -/* 800EF490 000EC3F0 FF A0 08 90 */ fmr f29, f1 -/* 800EF494 000EC3F4 FC 20 D0 90 */ fmr f1, f26 -/* 800EF498 000EC3F8 48 22 59 59 */ bl FastSinR__5CMathFf -/* 800EF49C 000EC3FC FC 00 08 50 */ fneg f0, f1 -/* 800EF4A0 000EC400 C0 42 91 C0 */ lfs f2, lbl_805AAEE0@sda21(r2) -/* 800EF4A4 000EC404 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800EF4A8 000EC408 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 800EF4AC 000EC40C EC C2 07 B2 */ fmuls f6, f2, f30 -/* 800EF4B0 000EC410 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 800EF4B4 000EC414 EC 60 07 72 */ fmuls f3, f0, f29 -/* 800EF4B8 000EC418 C0 A2 91 C4 */ lfs f5, lbl_805AAEE4@sda21(r2) -/* 800EF4BC 000EC41C EC 3F 07 32 */ fmuls f1, f31, f28 -/* 800EF4C0 000EC420 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) -/* 800EF4C4 000EC424 EC 1F 06 F2 */ fmuls f0, f31, f27 -/* 800EF4C8 000EC428 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 800EF4CC 000EC42C EC 9F 00 F2 */ fmuls f4, f31, f3 -/* 800EF4D0 000EC430 C0 62 91 C8 */ lfs f3, lbl_805AAEE8@sda21(r2) -/* 800EF4D4 000EC434 EC 25 00 72 */ fmuls f1, f5, f1 -/* 800EF4D8 000EC438 38 61 00 20 */ addi r3, r1, 0x20 -/* 800EF4DC 000EC43C EC 05 00 32 */ fmuls f0, f5, f0 -/* 800EF4E0 000EC440 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800EF4E4 000EC444 ED 02 08 2A */ fadds f8, f2, f1 -/* 800EF4E8 000EC448 EC E2 00 2A */ fadds f7, f2, f0 -/* 800EF4EC 000EC44C EC 85 01 32 */ fmuls f4, f5, f4 -/* 800EF4F0 000EC450 EC 22 40 28 */ fsubs f1, f2, f8 -/* 800EF4F4 000EC454 D1 01 00 0C */ stfs f8, 0xc(r1) -/* 800EF4F8 000EC458 EC 02 38 28 */ fsubs f0, f2, f7 -/* 800EF4FC 000EC45C EC 86 20 2A */ fadds f4, f6, f4 -/* 800EF500 000EC460 D0 E1 00 10 */ stfs f7, 0x10(r1) -/* 800EF504 000EC464 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800EF508 000EC468 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800EF50C 000EC46C EC 5E 20 28 */ fsubs f2, f30, f4 -/* 800EF510 000EC470 D0 81 00 08 */ stfs f4, 8(r1) -/* 800EF514 000EC474 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800EF518 000EC478 EC 23 00 B2 */ fmuls f1, f3, f2 -/* 800EF51C 000EC47C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800EF520 000EC480 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800EF524 000EC484 48 22 45 ED */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800EF528 000EC488 7F 83 E3 78 */ mr r3, r28 -/* 800EF52C 000EC48C 38 81 00 20 */ addi r4, r1, 0x20 -/* 800EF530 000EC490 81 9C 00 00 */ lwz r12, 0(r28) -/* 800EF534 000EC494 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800EF538 000EC498 7D 89 03 A6 */ mtctr r12 -/* 800EF53C 000EC49C 4E 80 04 21 */ bctrl -/* 800EF540 000EC4A0 3B 40 00 00 */ li r26, 0 -lbl_800EF544: -/* 800EF544 000EC4A4 7F 83 E3 78 */ mr r3, r28 -/* 800EF548 000EC4A8 38 81 00 08 */ addi r4, r1, 8 -/* 800EF54C 000EC4AC 81 9C 00 00 */ lwz r12, 0(r28) -/* 800EF550 000EC4B0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800EF554 000EC4B4 7D 89 03 A6 */ mtctr r12 -/* 800EF558 000EC4B8 4E 80 04 21 */ bctrl -/* 800EF55C 000EC4BC 88 1C 01 D0 */ lbz r0, 0x1d0(r28) -/* 800EF560 000EC4C0 38 60 00 01 */ li r3, 1 -/* 800EF564 000EC4C4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800EF568 000EC4C8 7F 83 E3 78 */ mr r3, r28 -/* 800EF56C 000EC4CC 98 1C 01 D0 */ stb r0, 0x1d0(r28) -/* 800EF570 000EC4D0 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) -/* 800EF574 000EC4D4 81 9C 00 00 */ lwz r12, 0(r28) -/* 800EF578 000EC4D8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800EF57C 000EC4DC 7D 89 03 A6 */ mtctr r12 -/* 800EF580 000EC4E0 4E 80 04 21 */ bctrl -/* 800EF584 000EC4E4 C0 21 00 08 */ lfs f1, 8(r1) -/* 800EF588 000EC4E8 3B 5A 00 01 */ addi r26, r26, 1 -/* 800EF58C 000EC4EC C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800EF590 000EC4F0 28 1A 00 06 */ cmplwi r26, 6 -/* 800EF594 000EC4F4 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 800EF598 000EC4F8 EC 81 00 2A */ fadds f4, f1, f0 -/* 800EF59C 000EC4FC C0 41 00 18 */ lfs f2, 0x18(r1) -/* 800EF5A0 000EC500 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 800EF5A4 000EC504 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800EF5A8 000EC508 EC 43 10 2A */ fadds f2, f3, f2 -/* 800EF5AC 000EC50C D0 81 00 08 */ stfs f4, 8(r1) -/* 800EF5B0 000EC510 EC 01 00 2A */ fadds f0, f1, f0 -/* 800EF5B4 000EC514 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 800EF5B8 000EC518 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800EF5BC 000EC51C 41 80 FF 88 */ blt lbl_800EF544 -/* 800EF5C0 000EC520 48 00 00 10 */ b lbl_800EF5D0 -lbl_800EF5C4: -/* 800EF5C4 000EC524 38 63 00 0C */ addi r3, r3, 0xc -/* 800EF5C8 000EC528 3B 5A 00 01 */ addi r26, r26, 1 -/* 800EF5CC 000EC52C 42 00 FD 7C */ bdnz lbl_800EF348 -lbl_800EF5D0: -/* 800EF5D0 000EC530 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 800EF5D4 000EC534 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 800EF5D8 000EC538 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 800EF5DC 000EC53C CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 800EF5E0 000EC540 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 800EF5E4 000EC544 CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 800EF5E8 000EC548 E3 81 00 98 */ psq_l f28, 152(r1), 0, qr0 -/* 800EF5EC 000EC54C CB 81 00 90 */ lfd f28, 0x90(r1) -/* 800EF5F0 000EC550 E3 61 00 88 */ psq_l f27, 136(r1), 0, qr0 -/* 800EF5F4 000EC554 CB 61 00 80 */ lfd f27, 0x80(r1) -/* 800EF5F8 000EC558 E3 41 00 78 */ psq_l f26, 120(r1), 0, qr0 -/* 800EF5FC 000EC55C CB 41 00 70 */ lfd f26, 0x70(r1) -/* 800EF600 000EC560 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 800EF604 000EC564 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 800EF608 000EC568 7C 08 03 A6 */ mtlr r0 -/* 800EF60C 000EC56C 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 800EF610 000EC570 4E 80 00 20 */ blr - -.global "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -"GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f": -/* 800EF614 000EC574 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800EF618 000EC578 7C 08 02 A6 */ mflr r0 -/* 800EF61C 000EC57C 90 01 00 54 */ stw r0, 0x54(r1) -/* 800EF620 000EC580 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 800EF624 000EC584 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 800EF628 000EC588 7C 64 1B 78 */ mr r4, r3 -/* 800EF62C 000EC58C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800EF630 000EC590 FF E0 08 90 */ fmr f31, f1 -/* 800EF634 000EC594 80 84 00 00 */ lwz r4, 0(r4) -/* 800EF638 000EC598 81 83 00 00 */ lwz r12, 0(r3) -/* 800EF63C 000EC59C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800EF640 000EC5A0 7D 89 03 A6 */ mtctr r12 -/* 800EF644 000EC5A4 4E 80 04 21 */ bctrl -/* 800EF648 000EC5A8 80 83 00 00 */ lwz r4, 0(r3) -/* 800EF64C 000EC5AC 80 63 00 04 */ lwz r3, 4(r3) -/* 800EF650 000EC5B0 3C 04 BC B3 */ addis r0, r4, 0xbcb3 -/* 800EF654 000EC5B4 90 81 00 08 */ stw r4, 8(r1) -/* 800EF658 000EC5B8 28 00 44 4C */ cmplwi r0, 0x444c -/* 800EF65C 000EC5BC 90 61 00 0C */ stw r3, 0xc(r1) -/* 800EF660 000EC5C0 40 82 00 54 */ bne lbl_800EF6B4 -/* 800EF664 000EC5C4 3C 80 80 3D */ lis r4, lbl_803CEBF4@ha -/* 800EF668 000EC5C8 38 60 00 4C */ li r3, 0x4c -/* 800EF66C 000EC5CC 38 84 EB F4 */ addi r4, r4, lbl_803CEBF4@l -/* 800EF670 000EC5D0 38 A0 00 00 */ li r5, 0 -/* 800EF674 000EC5D4 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EF678 000EC5D8 48 22 61 F5 */ bl __nw__FUlPCcPCc -/* 800EF67C 000EC5DC 7C 60 1B 79 */ or. r0, r3, r3 -/* 800EF680 000EC5E0 41 82 00 2C */ beq lbl_800EF6AC -/* 800EF684 000EC5E4 C0 02 91 D8 */ lfs f0, lbl_805AAEF8@sda21(r2) -/* 800EF688 000EC5E8 38 81 00 10 */ addi r4, r1, 0x10 -/* 800EF68C 000EC5EC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800EF690 000EC5F0 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 800EF694 000EC5F4 90 01 00 10 */ stw r0, 0x10(r1) -/* 800EF698 000EC5F8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800EF69C 000EC5FC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800EF6A0 000EC600 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800EF6A4 000EC604 48 02 76 B9 */ bl __ct__10CModelDataFRC10CStaticRes -/* 800EF6A8 000EC608 7C 60 1B 78 */ mr r0, r3 -lbl_800EF6AC: -/* 800EF6AC 000EC60C 7C 03 03 78 */ mr r3, r0 -/* 800EF6B0 000EC610 48 00 00 64 */ b lbl_800EF714 -lbl_800EF6B4: -/* 800EF6B4 000EC614 3C 80 80 3D */ lis r4, lbl_803CEBF4@ha -/* 800EF6B8 000EC618 38 60 00 4C */ li r3, 0x4c -/* 800EF6BC 000EC61C 38 84 EB F4 */ addi r4, r4, lbl_803CEBF4@l -/* 800EF6C0 000EC620 38 A0 00 00 */ li r5, 0 -/* 800EF6C4 000EC624 38 84 00 DC */ addi r4, r4, 0xdc -/* 800EF6C8 000EC628 48 22 61 A5 */ bl __nw__FUlPCcPCc -/* 800EF6CC 000EC62C 7C 60 1B 79 */ or. r0, r3, r3 -/* 800EF6D0 000EC630 41 82 00 40 */ beq lbl_800EF710 -/* 800EF6D4 000EC634 C0 02 91 D8 */ lfs f0, lbl_805AAEF8@sda21(r2) -/* 800EF6D8 000EC638 38 00 00 00 */ li r0, 0 -/* 800EF6DC 000EC63C 80 C1 00 0C */ lwz r6, 0xc(r1) -/* 800EF6E0 000EC640 38 81 00 20 */ addi r4, r1, 0x20 -/* 800EF6E4 000EC644 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 800EF6E8 000EC648 80 A2 83 F0 */ lwz r5, lbl_805AA110@sda21(r2) -/* 800EF6EC 000EC64C 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800EF6F0 000EC650 90 A1 00 24 */ stw r5, 0x24(r1) -/* 800EF6F4 000EC654 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800EF6F8 000EC658 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800EF6FC 000EC65C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800EF700 000EC660 98 01 00 34 */ stb r0, 0x34(r1) -/* 800EF704 000EC664 90 01 00 38 */ stw r0, 0x38(r1) -/* 800EF708 000EC668 48 02 74 4D */ bl __ct__10CModelDataFRC8CAnimRes -/* 800EF70C 000EC66C 7C 60 1B 78 */ mr r0, r3 -lbl_800EF710: -/* 800EF710 000EC670 7C 03 03 78 */ mr r3, r0 -lbl_800EF714: -/* 800EF714 000EC674 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 800EF718 000EC678 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800EF71C 000EC67C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 800EF720 000EC680 7C 08 03 A6 */ mtlr r0 -/* 800EF724 000EC684 38 21 00 50 */ addi r1, r1, 0x50 -/* 800EF728 000EC688 4E 80 00 20 */ blr - -.global LoadMorphBallModel__10CMorphBallFR13CStateManager -LoadMorphBallModel__10CMorphBallFR13CStateManager: -/* 800EF72C 000EC68C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800EF730 000EC690 7C 08 02 A6 */ mflr r0 -/* 800EF734 000EC694 3C C0 80 3D */ lis r6, lbl_803CE910@ha -/* 800EF738 000EC698 90 01 00 74 */ stw r0, 0x74(r1) -/* 800EF73C 000EC69C BF 41 00 58 */ stmw r26, 0x58(r1) -/* 800EF740 000EC6A0 7C 7C 1B 78 */ mr r28, r3 -/* 800EF744 000EC6A4 3B E6 E9 10 */ addi r31, r6, lbl_803CE910@l -/* 800EF748 000EC6A8 80 A4 08 B8 */ lwz r5, 0x8b8(r4) -/* 800EF74C 000EC6AC 38 80 00 13 */ li r4, 0x13 -/* 800EF750 000EC6B0 83 C5 00 00 */ lwz r30, 0(r5) -/* 800EF754 000EC6B4 7F C3 F3 78 */ mr r3, r30 -/* 800EF758 000EC6B8 4B FA 23 69 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800EF75C 000EC6BC 83 BE 00 20 */ lwz r29, 0x20(r30) -/* 800EF760 000EC6C0 7C 7B 1B 78 */ mr r27, r3 -/* 800EF764 000EC6C4 7F C3 F3 78 */ mr r3, r30 -/* 800EF768 000EC6C8 4B FA 1D 5D */ bl GetIsFusionEnabled__12CPlayerStateFv -/* 800EF76C 000EC6CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800EF770 000EC6D0 41 82 00 08 */ beq lbl_800EF778 -/* 800EF774 000EC6D4 3B BD 00 04 */ addi r29, r29, 4 -lbl_800EF778: -/* 800EF778 000EC6D8 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 800EF77C 000EC6DC 7F BA EB 78 */ mr r26, r29 -/* 800EF780 000EC6E0 41 82 00 08 */ beq lbl_800EF788 -/* 800EF784 000EC6E4 3B 5D 00 04 */ addi r26, r29, 4 -lbl_800EF788: -/* 800EF788 000EC6E8 7F C3 F3 78 */ mr r3, r30 -/* 800EF78C 000EC6EC 4B FA 1D 39 */ bl GetIsFusionEnabled__12CPlayerStateFv -/* 800EF790 000EC6F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800EF794 000EC6F4 41 82 00 08 */ beq lbl_800EF79C -/* 800EF798 000EC6F8 3B 5A 00 64 */ addi r26, r26, 0x64 -lbl_800EF79C: -/* 800EF79C 000EC6FC 80 1C 00 04 */ lwz r0, 4(r28) -/* 800EF7A0 000EC700 7C 00 D0 00 */ cmpw r0, r26 -/* 800EF7A4 000EC704 41 82 01 E8 */ beq lbl_800EF98C -/* 800EF7A8 000EC708 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 800EF7AC 000EC70C 93 5C 00 04 */ stw r26, 4(r28) -/* 800EF7B0 000EC710 41 82 01 18 */ beq lbl_800EF8C8 -/* 800EF7B4 000EC714 57 BE 18 38 */ slwi r30, r29, 3 -/* 800EF7B8 000EC718 38 7F 00 C0 */ addi r3, r31, 0xc0 -/* 800EF7BC 000EC71C 7C 83 F0 2E */ lwzx r4, r3, r30 -/* 800EF7C0 000EC720 38 61 00 48 */ addi r3, r1, 0x48 -/* 800EF7C4 000EC724 4B F1 54 F5 */ bl string_l__4rstlFPCc -/* 800EF7C8 000EC728 C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 800EF7CC 000EC72C 38 61 00 48 */ addi r3, r1, 0x48 -/* 800EF7D0 000EC730 4B FF FE 45 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 800EF7D4 000EC734 7C 7B 1B 78 */ mr r27, r3 -/* 800EF7D8 000EC738 80 7C 00 58 */ lwz r3, 0x58(r28) -/* 800EF7DC 000EC73C 38 80 00 01 */ li r4, 1 -/* 800EF7E0 000EC740 48 02 72 6D */ bl __dt__10CModelDataFv -/* 800EF7E4 000EC744 93 7C 00 58 */ stw r27, 0x58(r28) -/* 800EF7E8 000EC748 38 61 00 48 */ addi r3, r1, 0x48 -/* 800EF7EC 000EC74C 48 24 E2 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800EF7F0 000EC750 38 1F 00 C0 */ addi r0, r31, 0xc0 -/* 800EF7F4 000EC754 38 7F 00 80 */ addi r3, r31, 0x80 -/* 800EF7F8 000EC758 7C A0 F2 14 */ add r5, r0, r30 -/* 800EF7FC 000EC75C 7C 83 F0 2E */ lwzx r4, r3, r30 -/* 800EF800 000EC760 80 05 00 04 */ lwz r0, 4(r5) -/* 800EF804 000EC764 38 61 00 38 */ addi r3, r1, 0x38 -/* 800EF808 000EC768 90 1C 00 5C */ stw r0, 0x5c(r28) -/* 800EF80C 000EC76C 4B F1 54 AD */ bl string_l__4rstlFPCc -/* 800EF810 000EC770 C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 800EF814 000EC774 38 61 00 38 */ addi r3, r1, 0x38 -/* 800EF818 000EC778 4B FF FD FD */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 800EF81C 000EC77C 7C 7B 1B 78 */ mr r27, r3 -/* 800EF820 000EC780 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 800EF824 000EC784 38 80 00 01 */ li r4, 1 -/* 800EF828 000EC788 48 02 72 25 */ bl __dt__10CModelDataFv -/* 800EF82C 000EC78C 93 7C 00 68 */ stw r27, 0x68(r28) -/* 800EF830 000EC790 38 61 00 38 */ addi r3, r1, 0x38 -/* 800EF834 000EC794 48 24 E2 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800EF838 000EC798 38 1F 00 80 */ addi r0, r31, 0x80 -/* 800EF83C 000EC79C 38 7F 01 00 */ addi r3, r31, 0x100 -/* 800EF840 000EC7A0 7C A0 F2 14 */ add r5, r0, r30 -/* 800EF844 000EC7A4 7C 83 F0 2E */ lwzx r4, r3, r30 -/* 800EF848 000EC7A8 80 05 00 04 */ lwz r0, 4(r5) -/* 800EF84C 000EC7AC 28 04 00 00 */ cmplwi r4, 0 -/* 800EF850 000EC7B0 90 1C 00 6C */ stw r0, 0x6c(r28) -/* 800EF854 000EC7B4 41 82 00 48 */ beq lbl_800EF89C -/* 800EF858 000EC7B8 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EF85C 000EC7BC 4B F1 54 5D */ bl string_l__4rstlFPCc -/* 800EF860 000EC7C0 C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 800EF864 000EC7C4 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EF868 000EC7C8 4B FF FD AD */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 800EF86C 000EC7CC 7C 7B 1B 78 */ mr r27, r3 -/* 800EF870 000EC7D0 80 7C 00 60 */ lwz r3, 0x60(r28) -/* 800EF874 000EC7D4 38 80 00 01 */ li r4, 1 -/* 800EF878 000EC7D8 48 02 71 D5 */ bl __dt__10CModelDataFv -/* 800EF87C 000EC7DC 93 7C 00 60 */ stw r27, 0x60(r28) -/* 800EF880 000EC7E0 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EF884 000EC7E4 48 24 E2 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800EF888 000EC7E8 38 1F 01 00 */ addi r0, r31, 0x100 -/* 800EF88C 000EC7EC 7C 60 F2 14 */ add r3, r0, r30 -/* 800EF890 000EC7F0 80 03 00 04 */ lwz r0, 4(r3) -/* 800EF894 000EC7F4 90 1C 00 64 */ stw r0, 0x64(r28) -/* 800EF898 000EC7F8 48 00 00 1C */ b lbl_800EF8B4 -lbl_800EF89C: -/* 800EF89C 000EC7FC 80 7C 00 60 */ lwz r3, 0x60(r28) -/* 800EF8A0 000EC800 38 80 00 01 */ li r4, 1 -/* 800EF8A4 000EC804 48 02 71 A9 */ bl __dt__10CModelDataFv -/* 800EF8A8 000EC808 38 00 00 00 */ li r0, 0 -/* 800EF8AC 000EC80C 90 1C 00 60 */ stw r0, 0x60(r28) -/* 800EF8B0 000EC810 90 1C 00 64 */ stw r0, 0x64(r28) -lbl_800EF8B4: -/* 800EF8B4 000EC814 57 A0 10 3A */ slwi r0, r29, 2 -/* 800EF8B8 000EC818 38 7F 01 80 */ addi r3, r31, 0x180 -/* 800EF8BC 000EC81C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 800EF8C0 000EC820 90 1C 00 08 */ stw r0, 8(r28) -/* 800EF8C4 000EC824 48 00 00 A8 */ b lbl_800EF96C -lbl_800EF8C8: -/* 800EF8C8 000EC828 57 BB 18 38 */ slwi r27, r29, 3 -/* 800EF8CC 000EC82C 38 7F 00 00 */ addi r3, r31, 0 -/* 800EF8D0 000EC830 7C 83 D8 2E */ lwzx r4, r3, r27 -/* 800EF8D4 000EC834 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EF8D8 000EC838 4B F1 53 E1 */ bl string_l__4rstlFPCc -/* 800EF8DC 000EC83C C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 800EF8E0 000EC840 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EF8E4 000EC844 4B FF FD 31 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 800EF8E8 000EC848 7C 7E 1B 78 */ mr r30, r3 -/* 800EF8EC 000EC84C 80 7C 00 58 */ lwz r3, 0x58(r28) -/* 800EF8F0 000EC850 38 80 00 01 */ li r4, 1 -/* 800EF8F4 000EC854 48 02 71 59 */ bl __dt__10CModelDataFv -/* 800EF8F8 000EC858 93 DC 00 58 */ stw r30, 0x58(r28) -/* 800EF8FC 000EC85C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800EF900 000EC860 48 24 E1 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800EF904 000EC864 38 1F 00 00 */ addi r0, r31, 0 -/* 800EF908 000EC868 38 7F 00 40 */ addi r3, r31, 0x40 -/* 800EF90C 000EC86C 7C A0 DA 14 */ add r5, r0, r27 -/* 800EF910 000EC870 7C 83 D8 2E */ lwzx r4, r3, r27 -/* 800EF914 000EC874 80 05 00 04 */ lwz r0, 4(r5) -/* 800EF918 000EC878 38 61 00 08 */ addi r3, r1, 8 -/* 800EF91C 000EC87C 90 1C 00 5C */ stw r0, 0x5c(r28) -/* 800EF920 000EC880 4B F1 53 99 */ bl string_l__4rstlFPCc -/* 800EF924 000EC884 C0 3C 00 0C */ lfs f1, 0xc(r28) -/* 800EF928 000EC888 38 61 00 08 */ addi r3, r1, 8 -/* 800EF92C 000EC88C 4B FF FC E9 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 800EF930 000EC890 7C 7E 1B 78 */ mr r30, r3 -/* 800EF934 000EC894 80 7C 00 68 */ lwz r3, 0x68(r28) -/* 800EF938 000EC898 38 80 00 01 */ li r4, 1 -/* 800EF93C 000EC89C 48 02 71 11 */ bl __dt__10CModelDataFv -/* 800EF940 000EC8A0 93 DC 00 68 */ stw r30, 0x68(r28) -/* 800EF944 000EC8A4 38 61 00 08 */ addi r3, r1, 8 -/* 800EF948 000EC8A8 48 24 E1 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800EF94C 000EC8AC 38 7F 00 40 */ addi r3, r31, 0x40 -/* 800EF950 000EC8B0 57 A0 10 3A */ slwi r0, r29, 2 -/* 800EF954 000EC8B4 7C 83 DA 14 */ add r4, r3, r27 -/* 800EF958 000EC8B8 38 7F 01 A0 */ addi r3, r31, 0x1a0 -/* 800EF95C 000EC8BC 80 84 00 04 */ lwz r4, 4(r4) -/* 800EF960 000EC8C0 7C 03 00 2E */ lwzx r0, r3, r0 -/* 800EF964 000EC8C4 90 9C 00 6C */ stw r4, 0x6c(r28) -/* 800EF968 000EC8C8 90 1C 00 08 */ stw r0, 8(r28) -lbl_800EF96C: -/* 800EF96C 000EC8CC 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 800EF970 000EC8D0 C0 22 91 D8 */ lfs f1, lbl_805AAEF8@sda21(r2) -/* 800EF974 000EC8D4 C0 03 02 7C */ lfs f0, 0x27c(r3) -/* 800EF978 000EC8D8 80 7C 00 58 */ lwz r3, 0x58(r28) -/* 800EF97C 000EC8DC EC 01 00 32 */ fmuls f0, f1, f0 -/* 800EF980 000EC8E0 D0 03 00 00 */ stfs f0, 0(r3) -/* 800EF984 000EC8E4 D0 03 00 04 */ stfs f0, 4(r3) -/* 800EF988 000EC8E8 D0 03 00 08 */ stfs f0, 8(r3) -lbl_800EF98C: -/* 800EF98C 000EC8EC BB 41 00 58 */ lmw r26, 0x58(r1) -/* 800EF990 000EC8F0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800EF994 000EC8F4 7C 08 03 A6 */ mtlr r0 -/* 800EF998 000EC8F8 38 21 00 70 */ addi r1, r1, 0x70 -/* 800EF99C 000EC8FC 4E 80 00 20 */ blr - -.global FluidFXThink__10CMorphBallFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager -FluidFXThink__10CMorphBallFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: -/* 800EF9A0 000EC900 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 800EF9A4 000EC904 7C 08 02 A6 */ mflr r0 -/* 800EF9A8 000EC908 90 01 00 94 */ stw r0, 0x94(r1) -/* 800EF9AC 000EC90C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 800EF9B0 000EC910 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 800EF9B4 000EC914 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 800EF9B8 000EC918 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 800EF9BC 000EC91C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800EF9C0 000EC920 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800EF9C4 000EC924 93 A1 00 64 */ stw r29, 0x64(r1) -/* 800EF9C8 000EC928 93 81 00 60 */ stw r28, 0x60(r1) -/* 800EF9CC 000EC92C 7C 7C 1B 78 */ mr r28, r3 -/* 800EF9D0 000EC930 7C BE 2B 78 */ mr r30, r5 -/* 800EF9D4 000EC934 80 63 00 00 */ lwz r3, 0(r3) -/* 800EF9D8 000EC938 7C 9D 23 78 */ mr r29, r4 -/* 800EF9DC 000EC93C 7C DF 33 78 */ mr r31, r6 -/* 800EF9E0 000EC940 7F C4 F3 78 */ mr r4, r30 -/* 800EF9E4 000EC944 C3 E3 04 FC */ lfs f31, 0x4fc(r3) -/* 800EF9E8 000EC948 38 61 00 44 */ addi r3, r1, 0x44 -/* 800EF9EC 000EC94C 4B F8 6C E1 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800EF9F0 000EC950 80 7C 00 00 */ lwz r3, 0(r28) -/* 800EF9F4 000EC954 C0 02 91 E0 */ lfs f0, lbl_805AAF00@sda21(r2) -/* 800EF9F8 000EC958 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 800EF9FC 000EC95C C0 23 00 50 */ lfs f1, 0x50(r3) -/* 800EFA00 000EC960 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800EFA04 000EC964 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 800EFA08 000EC968 C0 61 00 58 */ lfs f3, 0x58(r1) -/* 800EFA0C 000EC96C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800EFA10 000EC970 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800EFA14 000EC974 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800EFA18 000EC978 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800EFA1C 000EC97C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800EFA20 000EC980 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 800EFA24 000EC984 4C 41 13 82 */ cror 2, 1, 2 -/* 800EFA28 000EC988 40 82 00 80 */ bne lbl_800EFAA8 -/* 800EFA2C 000EC98C 48 19 5F A5 */ bl GetBallMaxVelocity__7CPlayerCFv -/* 800EFA30 000EC990 80 7C 00 00 */ lwz r3, 0(r28) -/* 800EFA34 000EC994 FF C0 08 90 */ fmr f30, f1 -/* 800EFA38 000EC998 38 81 00 24 */ addi r4, r1, 0x24 -/* 800EFA3C 000EC99C A0 03 00 08 */ lhz r0, 8(r3) -/* 800EFA40 000EC9A0 B0 01 00 24 */ sth r0, 0x24(r1) -/* 800EFA44 000EC9A4 B0 01 00 20 */ sth r0, 0x20(r1) -/* 800EFA48 000EC9A8 80 7F 08 7C */ lwz r3, 0x87c(r31) -/* 800EFA4C 000EC9AC 48 03 FB 61 */ bl GetLastSplashDeltaTime__18CFluidPlaneManagerCF9TUniqueId -/* 800EFA50 000EC9B0 C0 02 91 E0 */ lfs f0, lbl_805AAF00@sda21(r2) -/* 800EFA54 000EC9B4 EC 5E F8 28 */ fsubs f2, f30, f31 -/* 800EFA58 000EC9B8 C0 62 91 E4 */ lfs f3, lbl_805AAF04@sda21(r2) -/* 800EFA5C 000EC9BC EC 1E 00 28 */ fsubs f0, f30, f0 -/* 800EFA60 000EC9C0 EC 02 00 24 */ fdivs f0, f2, f0 -/* 800EFA64 000EC9C4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800EFA68 000EC9C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EFA6C 000EC9CC 4C 41 13 82 */ cror 2, 1, 2 -/* 800EFA70 000EC9D0 40 82 00 38 */ bne lbl_800EFAA8 -/* 800EFA74 000EC9D4 80 7C 00 00 */ lwz r3, 0(r28) -/* 800EFA78 000EC9D8 7F A0 00 34 */ cntlzw r0, r29 -/* 800EFA7C 000EC9DC C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800EFA80 000EC9E0 7F E5 FB 78 */ mr r5, r31 -/* 800EFA84 000EC9E4 A0 63 00 08 */ lhz r3, 8(r3) -/* 800EFA88 000EC9E8 7F C6 F3 78 */ mr r6, r30 -/* 800EFA8C 000EC9EC 38 81 00 1C */ addi r4, r1, 0x1c -/* 800EFA90 000EC9F0 38 E1 00 38 */ addi r7, r1, 0x38 -/* 800EFA94 000EC9F4 B0 61 00 1C */ sth r3, 0x1c(r1) -/* 800EFA98 000EC9F8 54 08 D9 7E */ srwi r8, r0, 5 -/* 800EFA9C 000EC9FC B0 61 00 18 */ sth r3, 0x18(r1) -/* 800EFAA0 000ECA00 80 7F 08 7C */ lwz r3, 0x87c(r31) -/* 800EFAA4 000ECA04 48 03 F8 15 */ bl CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb -lbl_800EFAA8: -/* 800EFAA8 000ECA08 C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) -/* 800EFAAC 000ECA0C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800EFAB0 000ECA10 4C 41 13 82 */ cror 2, 1, 2 -/* 800EFAB4 000ECA14 40 82 00 D8 */ bne lbl_800EFB8C -/* 800EFAB8 000ECA18 80 7C 00 00 */ lwz r3, 0(r28) -/* 800EFABC 000ECA1C 38 81 00 14 */ addi r4, r1, 0x14 -/* 800EFAC0 000ECA20 A0 03 00 08 */ lhz r0, 8(r3) -/* 800EFAC4 000ECA24 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800EFAC8 000ECA28 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800EFACC 000ECA2C 80 7F 08 7C */ lwz r3, 0x87c(r31) -/* 800EFAD0 000ECA30 48 03 FA B1 */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId -/* 800EFAD4 000ECA34 C0 02 91 9C */ lfs f0, lbl_805AAEBC@sda21(r2) -/* 800EFAD8 000ECA38 FF C0 08 90 */ fmr f30, f1 -/* 800EFADC 000ECA3C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800EFAE0 000ECA40 4C 40 13 82 */ cror 2, 0, 2 -/* 800EFAE4 000ECA44 40 82 00 0C */ bne lbl_800EFAF0 -/* 800EFAE8 000ECA48 C0 02 91 EC */ lfs f0, lbl_805AAF0C@sda21(r2) -/* 800EFAEC 000ECA4C 48 00 00 4C */ b lbl_800EFB38 -lbl_800EFAF0: -/* 800EFAF0 000ECA50 80 7C 00 00 */ lwz r3, 0(r28) -/* 800EFAF4 000ECA54 48 19 5E DD */ bl GetBallMaxVelocity__7CPlayerCFv -/* 800EFAF8 000ECA58 C0 02 91 9C */ lfs f0, lbl_805AAEBC@sda21(r2) -/* 800EFAFC 000ECA5C EC 81 F8 28 */ fsubs f4, f1, f31 -/* 800EFB00 000ECA60 C0 62 91 F0 */ lfs f3, lbl_805AAF10@sda21(r2) -/* 800EFB04 000ECA64 EC 5F 00 28 */ fsubs f2, f31, f0 -/* 800EFB08 000ECA68 C0 22 91 EC */ lfs f1, lbl_805AAF0C@sda21(r2) -/* 800EFB0C 000ECA6C C0 02 91 DC */ lfs f0, lbl_805AAEFC@sda21(r2) -/* 800EFB10 000ECA70 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800EFB14 000ECA74 EC 42 20 24 */ fdivs f2, f2, f4 -/* 800EFB18 000ECA78 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800EFB1C 000ECA7C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800EFB20 000ECA80 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 800EFB24 000ECA84 40 80 00 0C */ bge lbl_800EFB30 -/* 800EFB28 000ECA88 38 61 00 28 */ addi r3, r1, 0x28 -/* 800EFB2C 000ECA8C 48 00 00 08 */ b lbl_800EFB34 -lbl_800EFB30: -/* 800EFB30 000ECA90 38 62 91 DC */ addi r3, r2, lbl_805AAEFC@sda21 -lbl_800EFB34: -/* 800EFB34 000ECA94 C0 03 00 00 */ lfs f0, 0(r3) -lbl_800EFB38: -/* 800EFB38 000ECA98 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 800EFB3C 000ECA9C 4C 41 13 82 */ cror 2, 1, 2 -/* 800EFB40 000ECAA0 40 82 00 4C */ bne lbl_800EFB8C -/* 800EFB44 000ECAA4 80 7C 00 00 */ lwz r3, 0(r28) -/* 800EFB48 000ECAA8 48 19 5E 89 */ bl GetBallMaxVelocity__7CPlayerCFv -/* 800EFB4C 000ECAAC C0 02 91 F4 */ lfs f0, lbl_805AAF14@sda21(r2) -/* 800EFB50 000ECAB0 7F C6 F3 78 */ mr r6, r30 -/* 800EFB54 000ECAB4 80 7C 00 00 */ lwz r3, 0(r28) -/* 800EFB58 000ECAB8 7F E7 FB 78 */ mr r7, r31 -/* 800EFB5C 000ECABC EC 00 07 F2 */ fmuls f0, f0, f31 -/* 800EFB60 000ECAC0 38 81 00 0C */ addi r4, r1, 0xc -/* 800EFB64 000ECAC4 A0 03 00 08 */ lhz r0, 8(r3) -/* 800EFB68 000ECAC8 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800EFB6C 000ECACC EC 20 08 24 */ fdivs f1, f0, f1 -/* 800EFB70 000ECAD0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800EFB74 000ECAD4 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 800EFB78 000ECAD8 B0 01 00 08 */ sth r0, 8(r1) -/* 800EFB7C 000ECADC 81 83 00 00 */ lwz r12, 0(r3) -/* 800EFB80 000ECAE0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800EFB84 000ECAE4 7D 89 03 A6 */ mtctr r12 -/* 800EFB88 000ECAE8 4E 80 04 21 */ bctrl -lbl_800EFB8C: -/* 800EFB8C 000ECAEC E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 800EFB90 000ECAF0 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 800EFB94 000ECAF4 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 800EFB98 000ECAF8 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 800EFB9C 000ECAFC 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800EFBA0 000ECB00 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800EFBA4 000ECB04 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 800EFBA8 000ECB08 80 01 00 94 */ lwz r0, 0x94(r1) -/* 800EFBAC 000ECB0C 83 81 00 60 */ lwz r28, 0x60(r1) -/* 800EFBB0 000ECB10 7C 08 03 A6 */ mtlr r0 -/* 800EFBB4 000ECB14 38 21 00 90 */ addi r1, r1, 0x90 -/* 800EFBB8 000ECB18 4E 80 00 20 */ blr - -.global IsClimbable__10CMorphBallCFRC14CCollisionInfo -IsClimbable__10CMorphBallCFRC14CCollisionInfo: -/* 800EFBBC 000ECB1C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800EFBC0 000ECB20 7C 08 02 A6 */ mflr r0 -/* 800EFBC4 000ECB24 90 01 00 54 */ stw r0, 0x54(r1) -/* 800EFBC8 000ECB28 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 800EFBCC 000ECB2C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 800EFBD0 000ECB30 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800EFBD4 000ECB34 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800EFBD8 000ECB38 7C 9F 23 78 */ mr r31, r4 -/* 800EFBDC 000ECB3C C0 02 91 F8 */ lfs f0, lbl_805AAF18@sda21(r2) -/* 800EFBE0 000ECB40 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 800EFBE4 000ECB44 7C 7E 1B 78 */ mr r30, r3 -/* 800EFBE8 000ECB48 FC 20 0A 10 */ fabs f1, f1 -/* 800EFBEC 000ECB4C FC 20 08 18 */ frsp f1, f1 -/* 800EFBF0 000ECB50 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EFBF4 000ECB54 40 80 00 48 */ bge lbl_800EFC3C -/* 800EFBF8 000ECB58 7F C4 F3 78 */ mr r4, r30 -/* 800EFBFC 000ECB5C 38 61 00 08 */ addi r3, r1, 8 -/* 800EFC00 000ECB60 48 00 6A F5 */ bl GetBallToWorld__10CMorphBallCFv -/* 800EFC04 000ECB64 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 800EFC08 000ECB68 C0 3F 00 08 */ lfs f1, 8(r31) -/* 800EFC0C 000ECB6C C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) -/* 800EFC10 000ECB70 EF E2 08 28 */ fsubs f31, f2, f1 -/* 800EFC14 000ECB74 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800EFC18 000ECB78 40 81 00 24 */ ble lbl_800EFC3C -/* 800EFC1C 000ECB7C 7F C3 F3 78 */ mr r3, r30 -/* 800EFC20 000ECB80 48 00 91 E5 */ bl GetBallRadius__10CMorphBallCFv -/* 800EFC24 000ECB84 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) -/* 800EFC28 000ECB88 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800EFC2C 000ECB8C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800EFC30 000ECB90 40 80 00 0C */ bge lbl_800EFC3C -/* 800EFC34 000ECB94 38 60 00 01 */ li r3, 1 -/* 800EFC38 000ECB98 48 00 00 08 */ b lbl_800EFC40 -lbl_800EFC3C: -/* 800EFC3C 000ECB9C 38 60 00 00 */ li r3, 0 -lbl_800EFC40: -/* 800EFC40 000ECBA0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 800EFC44 000ECBA4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800EFC48 000ECBA8 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 800EFC4C 000ECBAC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800EFC50 000ECBB0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800EFC54 000ECBB4 7C 08 03 A6 */ mtlr r0 -/* 800EFC58 000ECBB8 38 21 00 50 */ addi r1, r1, 0x50 -/* 800EFC5C 000ECBBC 4E 80 00 20 */ blr - -.global Touch__10CMorphBallFR6CActorR13CStateManager -Touch__10CMorphBallFR6CActorR13CStateManager: -/* 800EFC60 000ECBC0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800EFC64 000ECBC4 7C 08 02 A6 */ mflr r0 -/* 800EFC68 000ECBC8 90 01 00 64 */ stw r0, 0x64(r1) -/* 800EFC6C 000ECBCC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 800EFC70 000ECBD0 7C BF 2B 78 */ mr r31, r5 -/* 800EFC74 000ECBD4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 800EFC78 000ECBD8 7C 9E 23 78 */ mr r30, r4 -/* 800EFC7C 000ECBDC 93 A1 00 54 */ stw r29, 0x54(r1) -/* 800EFC80 000ECBE0 7C 7D 1B 78 */ mr r29, r3 -/* 800EFC84 000ECBE4 38 61 00 24 */ addi r3, r1, 0x24 -/* 800EFC88 000ECBE8 4B FB CA C9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" -/* 800EFC8C 000ECBEC 80 A3 00 04 */ lwz r5, 4(r3) -/* 800EFC90 000ECBF0 28 05 00 00 */ cmplwi r5, 0 -/* 800EFC94 000ECBF4 41 82 01 4C */ beq lbl_800EFDE0 -/* 800EFC98 000ECBF8 88 1D 1D E4 */ lbz r0, 0x1de4(r29) -/* 800EFC9C 000ECBFC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800EFCA0 000ECC00 41 82 01 40 */ beq lbl_800EFDE0 -/* 800EFCA4 000ECC04 80 9D 00 00 */ lwz r4, 0(r29) -/* 800EFCA8 000ECC08 38 61 00 2C */ addi r3, r1, 0x2c -/* 800EFCAC 000ECC0C C0 25 01 3C */ lfs f1, 0x13c(r5) -/* 800EFCB0 000ECC10 C0 04 01 3C */ lfs f0, 0x13c(r4) -/* 800EFCB4 000ECC14 C0 65 01 40 */ lfs f3, 0x140(r5) -/* 800EFCB8 000ECC18 C0 44 01 40 */ lfs f2, 0x140(r4) -/* 800EFCBC 000ECC1C EC 81 00 28 */ fsubs f4, f1, f0 -/* 800EFCC0 000ECC20 C0 25 01 38 */ lfs f1, 0x138(r5) -/* 800EFCC4 000ECC24 C0 04 01 38 */ lfs f0, 0x138(r4) -/* 800EFCC8 000ECC28 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800EFCCC 000ECC2C EC 01 00 28 */ fsubs f0, f1, f0 -/* 800EFCD0 000ECC30 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 800EFCD4 000ECC34 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800EFCD8 000ECC38 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800EFCDC 000ECC3C 48 22 4B DD */ bl Magnitude__9CVector3fCFv -/* 800EFCE0 000ECC40 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800EFCE4 000ECC44 C0 03 02 1C */ lfs f0, 0x21c(r3) -/* 800EFCE8 000ECC48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EFCEC 000ECC4C 40 81 00 F4 */ ble lbl_800EFDE0 -/* 800EFCF0 000ECC50 88 0D A3 3C */ lbz r0, lbl_805A8EFC@sda21(r13) -/* 800EFCF4 000ECC54 7C 00 07 75 */ extsb. r0, r0 -/* 800EFCF8 000ECC58 40 82 00 70 */ bne lbl_800EFD68 -/* 800EFCFC 000ECC5C 88 01 00 20 */ lbz r0, 0x20(r1) -/* 800EFD00 000ECC60 38 C0 00 00 */ li r6, 0 -/* 800EFD04 000ECC64 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 800EFD08 000ECC68 3C 60 80 47 */ lis r3, lbl_8046C504@ha -/* 800EFD0C 000ECC6C 98 01 00 20 */ stb r0, 0x20(r1) -/* 800EFD10 000ECC70 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 800EFD14 000ECC74 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 800EFD18 000ECC78 38 83 C5 04 */ addi r4, r3, lbl_8046C504@l -/* 800EFD1C 000ECC7C C0 22 92 00 */ lfs f1, lbl_805AAF20@sda21(r2) -/* 800EFD20 000ECC80 38 E0 00 07 */ li r7, 7 -/* 800EFD24 000ECC84 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800EFD28 000ECC88 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 800EFD2C 000ECC8C 98 01 00 20 */ stb r0, 0x20(r1) -/* 800EFD30 000ECC90 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a -/* 800EFD34 000ECC94 88 64 00 18 */ lbz r3, 0x18(r4) -/* 800EFD38 000ECC98 50 C3 3E 30 */ rlwimi r3, r6, 7, 0x18, 0x18 -/* 800EFD3C 000ECC9C 38 00 00 01 */ li r0, 1 -/* 800EFD40 000ECCA0 90 E1 00 1C */ stw r7, 0x1c(r1) -/* 800EFD44 000ECCA4 98 A1 00 20 */ stb r5, 0x20(r1) -/* 800EFD48 000ECCA8 90 E4 00 00 */ stw r7, 0(r4) -/* 800EFD4C 000ECCAC 98 A4 00 04 */ stb r5, 4(r4) -/* 800EFD50 000ECCB0 D0 24 00 08 */ stfs f1, 8(r4) -/* 800EFD54 000ECCB4 D0 24 00 0C */ stfs f1, 0xc(r4) -/* 800EFD58 000ECCB8 D0 04 00 10 */ stfs f0, 0x10(r4) -/* 800EFD5C 000ECCBC D0 04 00 14 */ stfs f0, 0x14(r4) -/* 800EFD60 000ECCC0 98 64 00 18 */ stb r3, 0x18(r4) -/* 800EFD64 000ECCC4 98 0D A3 3C */ stb r0, lbl_805A8EFC@sda21(r13) -lbl_800EFD68: -/* 800EFD68 000ECCC8 80 DD 00 00 */ lwz r6, 0(r29) -/* 800EFD6C 000ECCCC 38 60 00 00 */ li r3, 0 -/* 800EFD70 000ECCD0 80 AD 88 30 */ lwz r5, lbl_805A73F0@sda21(r13) -/* 800EFD74 000ECCD4 38 80 00 01 */ li r4, 1 -/* 800EFD78 000ECCD8 A0 06 00 08 */ lhz r0, 8(r6) -/* 800EFD7C 000ECCDC B0 01 00 18 */ sth r0, 0x18(r1) -/* 800EFD80 000ECCE0 48 29 A1 75 */ bl __shl2i -/* 800EFD84 000ECCE4 A1 41 00 18 */ lhz r10, 0x18(r1) -/* 800EFD88 000ECCE8 38 C0 00 00 */ li r6, 0 -/* 800EFD8C 000ECCEC 38 00 00 03 */ li r0, 3 -/* 800EFD90 000ECCF0 90 81 00 3C */ stw r4, 0x3c(r1) -/* 800EFD94 000ECCF4 3C A0 80 47 */ lis r5, lbl_8046C504@ha -/* 800EFD98 000ECCF8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800EFD9C 000ECCFC 90 61 00 38 */ stw r3, 0x38(r1) -/* 800EFDA0 000ECD00 38 E5 C5 04 */ addi r7, r5, lbl_8046C504@l -/* 800EFDA4 000ECD04 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 800EFDA8 000ECD08 7F E3 FB 78 */ mr r3, r31 -/* 800EFDAC 000ECD0C 90 C1 00 44 */ stw r6, 0x44(r1) -/* 800EFDB0 000ECD10 38 81 00 14 */ addi r4, r1, 0x14 -/* 800EFDB4 000ECD14 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800EFDB8 000ECD18 39 01 00 38 */ addi r8, r1, 0x38 -/* 800EFDBC 000ECD1C 90 C1 00 40 */ stw r6, 0x40(r1) -/* 800EFDC0 000ECD20 38 C1 00 08 */ addi r6, r1, 8 -/* 800EFDC4 000ECD24 90 01 00 48 */ stw r0, 0x48(r1) -/* 800EFDC8 000ECD28 B1 41 00 08 */ sth r10, 8(r1) -/* 800EFDCC 000ECD2C A0 1E 00 08 */ lhz r0, 8(r30) -/* 800EFDD0 000ECD30 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800EFDD4 000ECD34 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800EFDD8 000ECD38 B1 41 00 14 */ sth r10, 0x14(r1) -/* 800EFDDC 000ECD3C 4B F5 A2 C5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -lbl_800EFDE0: -/* 800EFDE0 000ECD40 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800EFDE4 000ECD44 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 800EFDE8 000ECD48 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 800EFDEC 000ECD4C 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 800EFDF0 000ECD50 7C 08 03 A6 */ mtlr r0 -/* 800EFDF4 000ECD54 38 21 00 60 */ addi r1, r1, 0x60 -/* 800EFDF8 000ECD58 4E 80 00 20 */ blr - -.global ComputeMaxSpeed__10CMorphBallCFv -ComputeMaxSpeed__10CMorphBallCFv: -/* 800EFDFC 000ECD5C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800EFE00 000ECD60 7C 08 02 A6 */ mflr r0 -/* 800EFE04 000ECD64 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800EFE08 000ECD68 90 01 00 24 */ stw r0, 0x24(r1) -/* 800EFE0C 000ECD6C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800EFE10 000ECD70 7C 7F 1B 78 */ mr r31, r3 -/* 800EFE14 000ECD74 D0 01 00 08 */ stfs f0, 8(r1) -/* 800EFE18 000ECD78 48 00 1B B9 */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800EFE1C 000ECD7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800EFE20 000ECD80 41 82 00 40 */ beq lbl_800EFE60 -/* 800EFE24 000ECD84 80 7F 00 00 */ lwz r3, 0(r31) -/* 800EFE28 000ECD88 38 63 01 38 */ addi r3, r3, 0x138 -/* 800EFE2C 000ECD8C 48 22 4A 8D */ bl Magnitude__9CVector3fCFv -/* 800EFE30 000ECD90 C0 42 92 08 */ lfs f2, lbl_805AAF28@sda21(r2) -/* 800EFE34 000ECD94 C0 02 92 04 */ lfs f0, lbl_805AAF24@sda21(r2) -/* 800EFE38 000ECD98 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800EFE3C 000ECD9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800EFE40 000ECDA0 D0 21 00 08 */ stfs f1, 8(r1) -/* 800EFE44 000ECDA4 40 80 00 0C */ bge lbl_800EFE50 -/* 800EFE48 000ECDA8 38 61 00 08 */ addi r3, r1, 8 -/* 800EFE4C 000ECDAC 48 00 00 08 */ b lbl_800EFE54 -lbl_800EFE50: -/* 800EFE50 000ECDB0 38 62 92 04 */ addi r3, r2, lbl_805AAF24@sda21 -lbl_800EFE54: -/* 800EFE54 000ECDB4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800EFE58 000ECDB8 D0 01 00 08 */ stfs f0, 8(r1) -/* 800EFE5C 000ECDBC 48 00 00 34 */ b lbl_800EFE90 -lbl_800EFE60: -/* 800EFE60 000ECDC0 80 7F 00 00 */ lwz r3, 0(r31) -/* 800EFE64 000ECDC4 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 800EFE68 000ECDC8 2C 00 00 02 */ cmpwi r0, 2 -/* 800EFE6C 000ECDCC 40 82 00 0C */ bne lbl_800EFE78 -/* 800EFE70 000ECDD0 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 800EFE74 000ECDD4 48 00 00 08 */ b lbl_800EFE7C -lbl_800EFE78: -/* 800EFE78 000ECDD8 38 00 00 04 */ li r0, 4 -lbl_800EFE7C: -/* 800EFE7C 000ECDDC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800EFE80 000ECDE0 54 00 10 3A */ slwi r0, r0, 2 -/* 800EFE84 000ECDE4 7C 63 02 14 */ add r3, r3, r0 -/* 800EFE88 000ECDE8 C0 03 00 44 */ lfs f0, 0x44(r3) -/* 800EFE8C 000ECDEC D0 01 00 08 */ stfs f0, 8(r1) -lbl_800EFE90: -/* 800EFE90 000ECDF0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800EFE94 000ECDF4 C0 21 00 08 */ lfs f1, 8(r1) -/* 800EFE98 000ECDF8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800EFE9C 000ECDFC 7C 08 03 A6 */ mtlr r0 -/* 800EFEA0 000ECE00 38 21 00 20 */ addi r1, r1, 0x20 -/* 800EFEA4 000ECE04 4E 80 00 20 */ blr - -.global SpinToSpeed__10CMorphBallFfRC9CVector3ff -SpinToSpeed__10CMorphBallFfRC9CVector3ff: -/* 800EFEA8 000ECE08 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800EFEAC 000ECE0C 7C 08 02 A6 */ mflr r0 -/* 800EFEB0 000ECE10 90 01 00 54 */ stw r0, 0x54(r1) -/* 800EFEB4 000ECE14 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 800EFEB8 000ECE18 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 800EFEBC 000ECE1C DB C1 00 30 */ stfd f30, 0x30(r1) -/* 800EFEC0 000ECE20 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 800EFEC4 000ECE24 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800EFEC8 000ECE28 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800EFECC 000ECE2C 7C 7E 1B 78 */ mr r30, r3 -/* 800EFED0 000ECE30 FF C0 08 90 */ fmr f30, f1 -/* 800EFED4 000ECE34 80 63 00 00 */ lwz r3, 0(r3) -/* 800EFED8 000ECE38 FF E0 10 90 */ fmr f31, f2 -/* 800EFEDC 000ECE3C 7C 9F 23 78 */ mr r31, r4 -/* 800EFEE0 000ECE40 38 63 01 44 */ addi r3, r3, 0x144 -/* 800EFEE4 000ECE44 4B F2 B6 4D */ bl GetVector__10CAxisAngleCFv -/* 800EFEE8 000ECE48 C0 03 00 00 */ lfs f0, 0(r3) -/* 800EFEEC 000ECE4C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800EFEF0 000ECE50 C0 03 00 04 */ lfs f0, 4(r3) -/* 800EFEF4 000ECE54 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800EFEF8 000ECE58 C0 03 00 08 */ lfs f0, 8(r3) -/* 800EFEFC 000ECE5C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800EFF00 000ECE60 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800EFF04 000ECE64 48 22 49 B5 */ bl Magnitude__9CVector3fCFv -/* 800EFF08 000ECE68 EC 7E 08 28 */ fsubs f3, f30, f1 -/* 800EFF0C 000ECE6C C0 5F 00 04 */ lfs f2, 4(r31) -/* 800EFF10 000ECE70 C0 3F 00 08 */ lfs f1, 8(r31) -/* 800EFF14 000ECE74 38 81 00 08 */ addi r4, r1, 8 -/* 800EFF18 000ECE78 C0 1F 00 00 */ lfs f0, 0(r31) -/* 800EFF1C 000ECE7C EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 800EFF20 000ECE80 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800EFF24 000ECE84 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800EFF28 000ECE88 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800EFF2C 000ECE8C D0 41 00 0C */ stfs f2, 0xc(r1) -/* 800EFF30 000ECE90 D0 01 00 08 */ stfs f0, 8(r1) -/* 800EFF34 000ECE94 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800EFF38 000ECE98 80 7E 00 00 */ lwz r3, 0(r30) -/* 800EFF3C 000ECE9C 48 02 C4 05 */ bl ApplyTorqueWR__13CPhysicsActorFRC9CVector3f -/* 800EFF40 000ECEA0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 800EFF44 000ECEA4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 800EFF48 000ECEA8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 800EFF4C 000ECEAC CB C1 00 30 */ lfd f30, 0x30(r1) -/* 800EFF50 000ECEB0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800EFF54 000ECEB4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800EFF58 000ECEB8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800EFF5C 000ECEBC 7C 08 03 A6 */ mtlr r0 -/* 800EFF60 000ECEC0 38 21 00 50 */ addi r1, r1, 0x50 -/* 800EFF64 000ECEC4 4E 80 00 20 */ blr - -.global ApplyGravity__10CMorphBallFR13CStateManager -ApplyGravity__10CMorphBallFR13CStateManager: -/* 800EFF68 000ECEC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800EFF6C 000ECECC 7C 08 02 A6 */ mflr r0 -/* 800EFF70 000ECED0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800EFF74 000ECED4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800EFF78 000ECED8 7C 9F 23 78 */ mr r31, r4 -/* 800EFF7C 000ECEDC 93 C1 00 08 */ stw r30, 8(r1) -/* 800EFF80 000ECEE0 7C 7E 1B 78 */ mr r30, r3 -/* 800EFF84 000ECEE4 80 63 00 00 */ lwz r3, 0(r3) -/* 800EFF88 000ECEE8 48 19 50 85 */ bl CheckSubmerged__7CPlayerCFv -/* 800EFF8C 000ECEEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800EFF90 000ECEF0 41 82 00 44 */ beq lbl_800EFFD4 -/* 800EFF94 000ECEF4 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 800EFF98 000ECEF8 38 80 00 15 */ li r4, 0x15 -/* 800EFF9C 000ECEFC 80 63 00 00 */ lwz r3, 0(r3) -/* 800EFFA0 000ECF00 4B FA 1B 21 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800EFFA4 000ECF04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800EFFA8 000ECF08 40 82 00 2C */ bne lbl_800EFFD4 -/* 800EFFAC 000ECF0C 80 9E 00 00 */ lwz r4, 0(r30) -/* 800EFFB0 000ECF10 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800EFFB4 000ECF14 C0 44 00 E8 */ lfs f2, 0xe8(r4) -/* 800EFFB8 000ECF18 C0 23 00 E8 */ lfs f1, 0xe8(r3) -/* 800EFFBC 000ECF1C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800EFFC0 000ECF20 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800EFFC4 000ECF24 D0 04 01 50 */ stfs f0, 0x150(r4) -/* 800EFFC8 000ECF28 D0 04 01 54 */ stfs f0, 0x154(r4) -/* 800EFFCC 000ECF2C D0 24 01 58 */ stfs f1, 0x158(r4) -/* 800EFFD0 000ECF30 48 00 00 28 */ b lbl_800EFFF8 -lbl_800EFFD4: -/* 800EFFD4 000ECF34 80 9E 00 00 */ lwz r4, 0(r30) -/* 800EFFD8 000ECF38 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800EFFDC 000ECF3C C0 44 00 E8 */ lfs f2, 0xe8(r4) -/* 800EFFE0 000ECF40 C0 23 00 E4 */ lfs f1, 0xe4(r3) -/* 800EFFE4 000ECF44 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800EFFE8 000ECF48 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800EFFEC 000ECF4C D0 04 01 50 */ stfs f0, 0x150(r4) -/* 800EFFF0 000ECF50 D0 04 01 54 */ stfs f0, 0x154(r4) -/* 800EFFF4 000ECF54 D0 24 01 58 */ stfs f1, 0x158(r4) -lbl_800EFFF8: -/* 800EFFF8 000ECF58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800EFFFC 000ECF5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F0000 000ECF60 83 C1 00 08 */ lwz r30, 8(r1) -/* 800F0004 000ECF64 7C 08 03 A6 */ mtlr r0 -/* 800F0008 000ECF68 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F000C 000ECF6C 4E 80 00 20 */ blr - -.global CalculateSurfaceFriction__10CMorphBallCFv -CalculateSurfaceFriction__10CMorphBallCFv: -/* 800F0010 000ECF70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F0014 000ECF74 80 C3 00 00 */ lwz r6, 0(r3) -/* 800F0018 000ECF78 80 06 02 B0 */ lwz r0, 0x2b0(r6) -/* 800F001C 000ECF7C 2C 00 00 02 */ cmpwi r0, 2 -/* 800F0020 000ECF80 40 82 00 0C */ bne lbl_800F002C -/* 800F0024 000ECF84 80 06 02 AC */ lwz r0, 0x2ac(r6) -/* 800F0028 000ECF88 48 00 00 08 */ b lbl_800F0030 -lbl_800F002C: -/* 800F002C 000ECF8C 38 00 00 04 */ li r0, 4 -lbl_800F0030: -/* 800F0030 000ECF90 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) -/* 800F0034 000ECF94 54 04 10 3A */ slwi r4, r0, 2 -/* 800F0038 000ECF98 A0 66 02 6C */ lhz r3, 0x26c(r6) -/* 800F003C 000ECF9C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800F0040 000ECFA0 7C 85 22 14 */ add r4, r5, r4 -/* 800F0044 000ECFA4 C0 24 00 24 */ lfs f1, 0x24(r4) -/* 800F0048 000ECFA8 7C 03 00 40 */ cmplw r3, r0 -/* 800F004C 000ECFAC 41 82 00 0C */ beq lbl_800F0058 -/* 800F0050 000ECFB0 C0 02 91 D8 */ lfs f0, lbl_805AAEF8@sda21(r2) -/* 800F0054 000ECFB4 EC 21 00 32 */ fmuls f1, f1, f0 -lbl_800F0058: -/* 800F0058 000ECFB8 80 06 02 78 */ lwz r0, 0x278(r6) -/* 800F005C 000ECFBC 2C 00 00 00 */ cmpwi r0, 0 -/* 800F0060 000ECFC0 40 81 00 2C */ ble lbl_800F008C -/* 800F0064 000ECFC4 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 800F0068 000ECFC8 3C 00 43 30 */ lis r0, 0x4330 -/* 800F006C 000ECFCC 90 61 00 0C */ stw r3, 0xc(r1) -/* 800F0070 000ECFD0 C8 42 92 10 */ lfd f2, lbl_805AAF30@sda21(r2) -/* 800F0074 000ECFD4 90 01 00 08 */ stw r0, 8(r1) -/* 800F0078 000ECFD8 C0 62 92 08 */ lfs f3, lbl_805AAF28@sda21(r2) -/* 800F007C 000ECFDC C8 01 00 08 */ lfd f0, 8(r1) -/* 800F0080 000ECFE0 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800F0084 000ECFE4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F0088 000ECFE8 EC 21 00 32 */ fmuls f1, f1, f0 -lbl_800F008C: -/* 800F008C 000ECFEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F0090 000ECFF0 4E 80 00 20 */ blr - -.global ComputeLiftForces__10CMorphBallFRC9CVector3fRC9CVector3fRC13CStateManager -ComputeLiftForces__10CMorphBallFRC9CVector3fRC9CVector3fRC13CStateManager: -/* 800F0094 000ECFF4 94 21 FE 10 */ stwu r1, -0x1f0(r1) -/* 800F0098 000ECFF8 7C 08 02 A6 */ mflr r0 -/* 800F009C 000ECFFC 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 800F00A0 000ED000 DB E1 01 E0 */ stfd f31, 0x1e0(r1) -/* 800F00A4 000ED004 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 -/* 800F00A8 000ED008 DB C1 01 D0 */ stfd f30, 0x1d0(r1) -/* 800F00AC 000ED00C F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 -/* 800F00B0 000ED010 93 E1 01 CC */ stw r31, 0x1cc(r1) -/* 800F00B4 000ED014 93 C1 01 C8 */ stw r30, 0x1c8(r1) -/* 800F00B8 000ED018 93 A1 01 C4 */ stw r29, 0x1c4(r1) -/* 800F00BC 000ED01C 7C 7D 1B 78 */ mr r29, r3 -/* 800F00C0 000ED020 7C 9E 23 78 */ mr r30, r4 -/* 800F00C4 000ED024 7C DF 33 78 */ mr r31, r6 -/* 800F00C8 000ED028 7C A3 2B 78 */ mr r3, r5 -/* 800F00CC 000ED02C 48 22 47 ED */ bl Magnitude__9CVector3fCFv -/* 800F00D0 000ED030 80 1D 1C D0 */ lwz r0, 0x1cd0(r29) -/* 800F00D4 000ED034 2C 00 00 0F */ cmpwi r0, 0xf -/* 800F00D8 000ED038 40 80 00 24 */ bge lbl_800F00FC -/* 800F00DC 000ED03C 54 00 10 3A */ slwi r0, r0, 2 -/* 800F00E0 000ED040 7C 7D 02 14 */ add r3, r29, r0 -/* 800F00E4 000ED044 34 63 1C D4 */ addic. r3, r3, 0x1cd4 -/* 800F00E8 000ED048 41 82 00 08 */ beq lbl_800F00F0 -/* 800F00EC 000ED04C D0 23 00 00 */ stfs f1, 0(r3) -lbl_800F00F0: -/* 800F00F0 000ED050 80 7D 1C D0 */ lwz r3, 0x1cd0(r29) -/* 800F00F4 000ED054 38 03 00 01 */ addi r0, r3, 1 -/* 800F00F8 000ED058 90 1D 1C D0 */ stw r0, 0x1cd0(r29) -lbl_800F00FC: -/* 800F00FC 000ED05C 80 7D 1C D0 */ lwz r3, 0x1cd0(r29) -/* 800F0100 000ED060 38 FD 1C D4 */ addi r7, r29, 0x1cd4 -/* 800F0104 000ED064 34 A3 FF FF */ addic. r5, r3, -1 -/* 800F0108 000ED068 54 A0 10 3A */ slwi r0, r5, 2 -/* 800F010C 000ED06C 7C A3 2B 78 */ mr r3, r5 -/* 800F0110 000ED070 7C C7 02 14 */ add r6, r7, r0 -/* 800F0114 000ED074 40 81 00 C4 */ ble lbl_800F01D8 -/* 800F0118 000ED078 54 A0 E8 FF */ rlwinm. r0, r5, 0x1d, 3, 0x1f -/* 800F011C 000ED07C 7C 09 03 A6 */ mtctr r0 -/* 800F0120 000ED080 41 82 00 98 */ beq lbl_800F01B8 -lbl_800F0124: -/* 800F0124 000ED084 38 85 FF FF */ addi r4, r5, -1 -/* 800F0128 000ED088 54 80 10 3A */ slwi r0, r4, 2 -/* 800F012C 000ED08C 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800F0130 000ED090 38 85 FF FE */ addi r4, r5, -2 -/* 800F0134 000ED094 54 80 10 3A */ slwi r0, r4, 2 -/* 800F0138 000ED098 D0 06 00 00 */ stfs f0, 0(r6) -/* 800F013C 000ED09C 38 85 FF FD */ addi r4, r5, -3 -/* 800F0140 000ED0A0 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800F0144 000ED0A4 54 80 10 3A */ slwi r0, r4, 2 -/* 800F0148 000ED0A8 38 85 FF FC */ addi r4, r5, -4 -/* 800F014C 000ED0AC D0 06 FF FC */ stfs f0, -4(r6) -/* 800F0150 000ED0B0 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800F0154 000ED0B4 54 80 10 3A */ slwi r0, r4, 2 -/* 800F0158 000ED0B8 38 85 FF FB */ addi r4, r5, -5 -/* 800F015C 000ED0BC D0 06 FF F8 */ stfs f0, -8(r6) -/* 800F0160 000ED0C0 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800F0164 000ED0C4 54 80 10 3A */ slwi r0, r4, 2 -/* 800F0168 000ED0C8 38 85 FF FA */ addi r4, r5, -6 -/* 800F016C 000ED0CC D0 06 FF F4 */ stfs f0, -0xc(r6) -/* 800F0170 000ED0D0 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800F0174 000ED0D4 54 80 10 3A */ slwi r0, r4, 2 -/* 800F0178 000ED0D8 38 85 FF F9 */ addi r4, r5, -7 -/* 800F017C 000ED0DC D0 06 FF F0 */ stfs f0, -0x10(r6) -/* 800F0180 000ED0E0 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800F0184 000ED0E4 54 80 10 3A */ slwi r0, r4, 2 -/* 800F0188 000ED0E8 38 85 FF F8 */ addi r4, r5, -8 -/* 800F018C 000ED0EC 38 A5 FF F8 */ addi r5, r5, -8 -/* 800F0190 000ED0F0 D0 06 FF EC */ stfs f0, -0x14(r6) -/* 800F0194 000ED0F4 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800F0198 000ED0F8 54 80 10 3A */ slwi r0, r4, 2 -/* 800F019C 000ED0FC D0 06 FF E8 */ stfs f0, -0x18(r6) -/* 800F01A0 000ED100 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800F01A4 000ED104 D0 06 FF E4 */ stfs f0, -0x1c(r6) -/* 800F01A8 000ED108 38 C6 FF E0 */ addi r6, r6, -32 -/* 800F01AC 000ED10C 42 00 FF 78 */ bdnz lbl_800F0124 -/* 800F01B0 000ED110 70 63 00 07 */ andi. r3, r3, 7 -/* 800F01B4 000ED114 41 82 00 24 */ beq lbl_800F01D8 -lbl_800F01B8: -/* 800F01B8 000ED118 7C 69 03 A6 */ mtctr r3 -lbl_800F01BC: -/* 800F01BC 000ED11C 38 85 FF FF */ addi r4, r5, -1 -/* 800F01C0 000ED120 38 A5 FF FF */ addi r5, r5, -1 -/* 800F01C4 000ED124 54 80 10 3A */ slwi r0, r4, 2 -/* 800F01C8 000ED128 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800F01CC 000ED12C D0 06 00 00 */ stfs f0, 0(r6) -/* 800F01D0 000ED130 38 C6 FF FC */ addi r6, r6, -4 -/* 800F01D4 000ED134 42 00 FF E8 */ bdnz lbl_800F01BC -lbl_800F01D8: -/* 800F01D8 000ED138 D0 27 00 00 */ stfs f1, 0(r7) -/* 800F01DC 000ED13C 7F C4 F3 78 */ mr r4, r30 -/* 800F01E0 000ED140 38 7D 1D 10 */ addi r3, r29, 0x1d10 -/* 800F01E4 000ED144 48 00 04 5D */ bl sub_800f0640 -/* 800F01E8 000ED148 38 61 00 68 */ addi r3, r1, 0x68 -/* 800F01EC 000ED14C 38 9D 1D 10 */ addi r4, r29, 0x1d10 -/* 800F01F0 000ED150 48 00 03 DD */ bl "GetAverage__31TReservedAverage<9CVector3f,15>CFv" -/* 800F01F4 000ED154 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 800F01F8 000ED158 38 00 00 00 */ li r0, 0 -/* 800F01FC 000ED15C C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 800F0200 000ED160 38 61 00 90 */ addi r3, r1, 0x90 -/* 800F0204 000ED164 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 800F0208 000ED168 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 800F020C 000ED16C D0 21 00 94 */ stfs f1, 0x94(r1) -/* 800F0210 000ED170 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 800F0214 000ED174 98 01 00 74 */ stb r0, 0x74(r1) -/* 800F0218 000ED178 48 22 46 A1 */ bl Magnitude__9CVector3fCFv -/* 800F021C 000ED17C FF E0 08 90 */ fmr f31, f1 -/* 800F0220 000ED180 C0 02 92 18 */ lfs f0, lbl_805AAF38@sda21(r2) -/* 800F0224 000ED184 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F0228 000ED188 40 81 03 18 */ ble lbl_800F0540 -/* 800F022C 000ED18C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800F0230 000ED190 38 9D 1C D0 */ addi r4, r29, 0x1cd0 -/* 800F0234 000ED194 48 00 03 39 */ bl "GetAverage__22TReservedAverageCFv" -/* 800F0238 000ED198 C3 C1 00 18 */ lfs f30, 0x18(r1) -/* 800F023C 000ED19C 38 00 00 00 */ li r0, 0 -/* 800F0240 000ED1A0 C0 02 91 7C */ lfs f0, lbl_805AAE9C@sda21(r2) -/* 800F0244 000ED1A4 98 01 00 1C */ stb r0, 0x1c(r1) -/* 800F0248 000ED1A8 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 800F024C 000ED1AC 40 80 02 F4 */ bge lbl_800F0540 -/* 800F0250 000ED1B0 80 9D 00 00 */ lwz r4, 0(r29) -/* 800F0254 000ED1B4 38 61 01 58 */ addi r3, r1, 0x158 -/* 800F0258 000ED1B8 81 84 00 00 */ lwz r12, 0(r4) -/* 800F025C 000ED1BC 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 800F0260 000ED1C0 7D 89 03 A6 */ mtctr r12 -/* 800F0264 000ED1C4 4E 80 04 21 */ bctrl -/* 800F0268 000ED1C8 38 61 01 88 */ addi r3, r1, 0x188 -/* 800F026C 000ED1CC 38 81 01 58 */ addi r4, r1, 0x158 -/* 800F0270 000ED1D0 48 22 29 05 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F0274 000ED1D4 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F0278 000ED1D8 81 83 00 00 */ lwz r12, 0(r3) -/* 800F027C 000ED1DC 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 800F0280 000ED1E0 7D 89 03 A6 */ mtctr r12 -/* 800F0284 000ED1E4 4E 80 04 21 */ bctrl -/* 800F0288 000ED1E8 7C 64 1B 78 */ mr r4, r3 -/* 800F028C 000ED1EC 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800F0290 000ED1F0 81 84 00 00 */ lwz r12, 0(r4) -/* 800F0294 000ED1F4 38 A1 01 88 */ addi r5, r1, 0x188 -/* 800F0298 000ED1F8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800F029C 000ED1FC 7D 89 03 A6 */ mtctr r12 -/* 800F02A0 000ED200 4E 80 04 21 */ bctrl -/* 800F02A4 000ED204 C0 21 00 C4 */ lfs f1, 0xc4(r1) -/* 800F02A8 000ED208 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 800F02AC 000ED20C C0 E2 91 E4 */ lfs f7, lbl_805AAF04@sda21(r2) -/* 800F02B0 000ED210 38 81 00 5C */ addi r4, r1, 0x5c -/* 800F02B4 000ED214 C0 41 00 C8 */ lfs f2, 0xc8(r1) -/* 800F02B8 000ED218 38 A1 00 50 */ addi r5, r1, 0x50 -/* 800F02BC 000ED21C C0 01 00 B8 */ lfs f0, 0xb8(r1) -/* 800F02C0 000ED220 EC C1 38 2A */ fadds f6, f1, f7 -/* 800F02C4 000ED224 C0 21 00 BC */ lfs f1, 0xbc(r1) -/* 800F02C8 000ED228 EC A2 38 2A */ fadds f5, f2, f7 -/* 800F02CC 000ED22C EC 40 38 28 */ fsubs f2, f0, f7 -/* 800F02D0 000ED230 C0 61 00 CC */ lfs f3, 0xcc(r1) -/* 800F02D4 000ED234 C0 82 92 1C */ lfs f4, lbl_805AAF3C@sda21(r2) -/* 800F02D8 000ED238 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 800F02DC 000ED23C EC 21 38 28 */ fsubs f1, f1, f7 -/* 800F02E0 000ED240 EC 63 20 2A */ fadds f3, f3, f4 -/* 800F02E4 000ED244 EC 00 20 28 */ fsubs f0, f0, f4 -/* 800F02E8 000ED248 D0 C1 00 50 */ stfs f6, 0x50(r1) -/* 800F02EC 000ED24C D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 800F02F0 000ED250 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 800F02F4 000ED254 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 800F02F8 000ED258 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 800F02FC 000ED25C D0 01 00 64 */ stfs f0, 0x64(r1) -/* 800F0300 000ED260 48 24 82 09 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800F0304 000ED264 38 00 00 00 */ li r0, 0 -/* 800F0308 000ED268 80 AD 88 D4 */ lwz r5, lbl_805A7494@sda21(r13) -/* 800F030C 000ED26C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F0310 000ED270 38 60 00 00 */ li r3, 0 -/* 800F0314 000ED274 38 80 00 01 */ li r4, 1 -/* 800F0318 000ED278 90 01 00 10 */ stw r0, 0x10(r1) -/* 800F031C 000ED27C 48 29 9B D9 */ bl __shl2i -/* 800F0320 000ED280 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800F0324 000ED284 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 800F0328 000ED288 7C 00 1B 78 */ or r0, r0, r3 -/* 800F032C 000ED28C 38 61 01 30 */ addi r3, r1, 0x130 -/* 800F0330 000ED290 7C A5 23 78 */ or r5, r5, r4 -/* 800F0334 000ED294 90 01 00 10 */ stw r0, 0x10(r1) -/* 800F0338 000ED298 38 81 00 10 */ addi r4, r1, 0x10 -/* 800F033C 000ED29C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800F0340 000ED2A0 48 1D F5 75 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 800F0344 000ED2A4 C0 A1 00 E8 */ lfs f5, 0xe8(r1) -/* 800F0348 000ED2A8 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha -/* 800F034C 000ED2AC 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l -/* 800F0350 000ED2B0 C0 81 00 EC */ lfs f4, 0xec(r1) -/* 800F0354 000ED2B4 C0 61 00 F0 */ lfs f3, 0xf0(r1) -/* 800F0358 000ED2B8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800F035C 000ED2BC C0 41 00 F4 */ lfs f2, 0xf4(r1) -/* 800F0360 000ED2C0 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 800F0364 000ED2C4 C0 21 00 F8 */ lfs f1, 0xf8(r1) -/* 800F0368 000ED2C8 38 A4 66 70 */ addi r5, r4, skIdentity4f@l -/* 800F036C 000ED2CC C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 800F0370 000ED2D0 38 C3 FD 18 */ addi r6, r3, lbl_8059FD18@l -/* 800F0374 000ED2D4 90 01 01 30 */ stw r0, 0x130(r1) -/* 800F0378 000ED2D8 7F E3 FB 78 */ mr r3, r31 -/* 800F037C 000ED2DC 38 81 01 30 */ addi r4, r1, 0x130 -/* 800F0380 000ED2E0 D0 A1 01 40 */ stfs f5, 0x140(r1) -/* 800F0384 000ED2E4 D0 81 01 44 */ stfs f4, 0x144(r1) -/* 800F0388 000ED2E8 D0 61 01 48 */ stfs f3, 0x148(r1) -/* 800F038C 000ED2EC D0 41 01 4C */ stfs f2, 0x14c(r1) -/* 800F0390 000ED2F0 D0 21 01 50 */ stfs f1, 0x150(r1) -/* 800F0394 000ED2F4 D0 01 01 54 */ stfs f0, 0x154(r1) -/* 800F0398 000ED2F8 48 09 30 09 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter -/* 800F039C 000ED2FC 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha -/* 800F03A0 000ED300 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F03A4 000ED304 38 84 CA D0 */ addi r4, r4, lbl_803ECAD0@l -/* 800F03A8 000ED308 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 800F03AC 000ED30C 90 81 01 30 */ stw r4, 0x130(r1) -/* 800F03B0 000ED310 38 63 97 E4 */ addi r3, r3, lbl_803D97E4@l -/* 800F03B4 000ED314 90 61 01 30 */ stw r3, 0x130(r1) -/* 800F03B8 000ED318 41 82 01 88 */ beq lbl_800F0540 -/* 800F03BC 000ED31C 7F A3 EB 78 */ mr r3, r29 -/* 800F03C0 000ED320 48 00 8A 45 */ bl GetBallRadius__10CMorphBallCFv -/* 800F03C4 000ED324 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F03C8 000ED328 38 60 00 00 */ li r3, 0 -/* 800F03CC 000ED32C C0 C2 92 20 */ lfs f6, lbl_805AAF40@sda21(r2) -/* 800F03D0 000ED330 38 80 00 01 */ li r4, 1 -/* 800F03D4 000ED334 ED 20 F8 24 */ fdivs f9, f0, f31 -/* 800F03D8 000ED338 C0 61 00 90 */ lfs f3, 0x90(r1) -/* 800F03DC 000ED33C C0 41 00 94 */ lfs f2, 0x94(r1) -/* 800F03E0 000ED340 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 800F03E4 000ED344 C0 81 01 94 */ lfs f4, 0x194(r1) -/* 800F03E8 000ED348 C0 A2 91 50 */ lfs f5, lbl_805AAE70@sda21(r2) -/* 800F03EC 000ED34C ED 09 00 F2 */ fmuls f8, f9, f3 -/* 800F03F0 000ED350 C0 61 01 A4 */ lfs f3, 0x1a4(r1) -/* 800F03F4 000ED354 EC E9 00 B2 */ fmuls f7, f9, f2 -/* 800F03F8 000ED358 C0 41 01 B4 */ lfs f2, 0x1b4(r1) -/* 800F03FC 000ED35C EC C6 00 72 */ fmuls f6, f6, f1 -/* 800F0400 000ED360 80 AD 88 D8 */ lwz r5, lbl_805A7498@sda21(r13) -/* 800F0404 000ED364 EC 23 28 2A */ fadds f1, f3, f5 -/* 800F0408 000ED368 D1 01 00 78 */ stfs f8, 0x78(r1) -/* 800F040C 000ED36C EC 69 00 32 */ fmuls f3, f9, f0 -/* 800F0410 000ED370 EC 84 28 2A */ fadds f4, f4, f5 -/* 800F0414 000ED374 D0 E1 00 7C */ stfs f7, 0x7c(r1) -/* 800F0418 000ED378 EC 02 30 2A */ fadds f0, f2, f6 -/* 800F041C 000ED37C D0 21 00 88 */ stfs f1, 0x88(r1) -/* 800F0420 000ED380 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 800F0424 000ED384 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 800F0428 000ED388 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 800F042C 000ED38C 48 29 9A C9 */ bl __shl2i -/* 800F0430 000ED390 39 00 00 01 */ li r8, 1 -/* 800F0434 000ED394 38 00 00 00 */ li r0, 0 -/* 800F0438 000ED398 90 81 00 D4 */ stw r4, 0xd4(r1) -/* 800F043C 000ED39C 7F E4 FB 78 */ mr r4, r31 -/* 800F0440 000ED3A0 C0 22 92 24 */ lfs f1, lbl_805AAF44@sda21(r2) -/* 800F0444 000ED3A4 38 A1 00 84 */ addi r5, r1, 0x84 -/* 800F0448 000ED3A8 90 61 00 D0 */ stw r3, 0xd0(r1) -/* 800F044C 000ED3AC 38 61 01 00 */ addi r3, r1, 0x100 -/* 800F0450 000ED3B0 38 C1 00 78 */ addi r6, r1, 0x78 -/* 800F0454 000ED3B4 38 E1 00 D0 */ addi r7, r1, 0xd0 -/* 800F0458 000ED3B8 91 01 00 B0 */ stw r8, 0xb0(r1) -/* 800F045C 000ED3BC 90 01 00 DC */ stw r0, 0xdc(r1) -/* 800F0460 000ED3C0 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 800F0464 000ED3C4 91 01 00 E0 */ stw r8, 0xe0(r1) -/* 800F0468 000ED3C8 4B F5 CB 31 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 800F046C 000ED3CC 88 01 01 20 */ lbz r0, 0x120(r1) -/* 800F0470 000ED3D0 28 00 00 00 */ cmplwi r0, 0 -/* 800F0474 000ED3D4 40 82 00 CC */ bne lbl_800F0540 -/* 800F0478 000ED3D8 C0 22 92 28 */ lfs f1, lbl_805AAF48@sda21(r2) -/* 800F047C 000ED3DC C0 0D 88 DC */ lfs f0, lbl_805A749C@sda21(r13) -/* 800F0480 000ED3E0 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 800F0484 000ED3E4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F0488 000ED3E8 D0 21 00 08 */ stfs f1, 8(r1) -/* 800F048C 000ED3EC 40 80 00 0C */ bge lbl_800F0498 -/* 800F0490 000ED3F0 38 61 00 08 */ addi r3, r1, 8 -/* 800F0494 000ED3F4 48 00 00 08 */ b lbl_800F049C -lbl_800F0498: -/* 800F0498 000ED3F8 38 6D 88 DC */ addi r3, r13, lbl_805A749C@sda21 -lbl_800F049C: -/* 800F049C 000ED3FC C0 42 91 5C */ lfs f2, lbl_805AAE7C@sda21(r2) -/* 800F04A0 000ED400 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F04A4 000ED404 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F04A8 000ED408 EF C2 00 28 */ fsubs f30, f2, f0 -/* 800F04AC 000ED40C C0 02 92 2C */ lfs f0, lbl_805AAF4C@sda21(r2) -/* 800F04B0 000ED410 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 800F04B4 000ED414 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 800F04B8 000ED418 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800F04BC 000ED41C D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800F04C0 000ED420 4B F2 B0 75 */ bl Identity__10CAxisAngleFv -/* 800F04C4 000ED424 7C 65 1B 78 */ mr r5, r3 -/* 800F04C8 000ED428 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F04CC 000ED42C 38 81 00 44 */ addi r4, r1, 0x44 -/* 800F04D0 000ED430 48 02 BD F5 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800F04D4 000ED434 C0 5D 19 34 */ lfs f2, 0x1934(r29) -/* 800F04D8 000ED438 38 61 00 38 */ addi r3, r1, 0x38 -/* 800F04DC 000ED43C C0 3D 19 44 */ lfs f1, 0x1944(r29) -/* 800F04E0 000ED440 38 81 00 2C */ addi r4, r1, 0x2c -/* 800F04E4 000ED444 C0 1D 19 24 */ lfs f0, 0x1924(r29) -/* 800F04E8 000ED448 FC 40 10 50 */ fneg f2, f2 -/* 800F04EC 000ED44C C0 62 92 30 */ lfs f3, lbl_805AAF50@sda21(r2) -/* 800F04F0 000ED450 FC 20 08 50 */ fneg f1, f1 -/* 800F04F4 000ED454 FC 00 00 50 */ fneg f0, f0 -/* 800F04F8 000ED458 EC 83 00 B2 */ fmuls f4, f3, f2 -/* 800F04FC 000ED45C EC 43 00 72 */ fmuls f2, f3, f1 -/* 800F0500 000ED460 EC 23 00 32 */ fmuls f1, f3, f0 -/* 800F0504 000ED464 EC BE 01 32 */ fmuls f5, f30, f4 -/* 800F0508 000ED468 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 800F050C 000ED46C EC 7E 00 B2 */ fmuls f3, f30, f2 -/* 800F0510 000ED470 EC 1E 00 72 */ fmuls f0, f30, f1 -/* 800F0514 000ED474 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 800F0518 000ED478 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 800F051C 000ED47C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800F0520 000ED480 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 800F0524 000ED484 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 800F0528 000ED488 4B F2 B0 19 */ bl FromVector__10CAxisAngleFRC9CVector3f -/* 800F052C 000ED48C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800F0530 000ED490 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F0534 000ED494 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 800F0538 000ED498 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800F053C 000ED49C 48 02 BE 5D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_800F0540: -/* 800F0540 000ED4A0 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 -/* 800F0544 000ED4A4 CB E1 01 E0 */ lfd f31, 0x1e0(r1) -/* 800F0548 000ED4A8 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 -/* 800F054C 000ED4AC CB C1 01 D0 */ lfd f30, 0x1d0(r1) -/* 800F0550 000ED4B0 83 E1 01 CC */ lwz r31, 0x1cc(r1) -/* 800F0554 000ED4B4 83 C1 01 C8 */ lwz r30, 0x1c8(r1) -/* 800F0558 000ED4B8 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 800F055C 000ED4BC 83 A1 01 C4 */ lwz r29, 0x1c4(r1) -/* 800F0560 000ED4C0 7C 08 03 A6 */ mtlr r0 -/* 800F0564 000ED4C4 38 21 01 F0 */ addi r1, r1, 0x1f0 -/* 800F0568 000ED4C8 4E 80 00 20 */ blr - -.global "GetAverage__22TReservedAverageCFv" -"GetAverage__22TReservedAverageCFv": -/* 800F056C 000ED4CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F0570 000ED4D0 7C 08 02 A6 */ mflr r0 -/* 800F0574 000ED4D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F0578 000ED4D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F057C 000ED4DC 7C 7F 1B 78 */ mr r31, r3 -/* 800F0580 000ED4E0 80 04 00 00 */ lwz r0, 0(r4) -/* 800F0584 000ED4E4 2C 00 00 00 */ cmpwi r0, 0 -/* 800F0588 000ED4E8 40 82 00 10 */ bne lbl_800F0598 -/* 800F058C 000ED4EC 38 00 00 00 */ li r0, 0 -/* 800F0590 000ED4F0 98 1F 00 04 */ stb r0, 4(r31) -/* 800F0594 000ED4F4 48 00 00 24 */ b lbl_800F05B8 -lbl_800F0598: -/* 800F0598 000ED4F8 38 64 00 04 */ addi r3, r4, 4 -/* 800F059C 000ED4FC 7C 04 03 78 */ mr r4, r0 -/* 800F05A0 000ED500 4B F1 82 F5 */ bl "GetAverageValue__FPCfi" -/* 800F05A4 000ED504 38 00 00 01 */ li r0, 1 -/* 800F05A8 000ED508 28 1F 00 00 */ cmplwi r31, 0 -/* 800F05AC 000ED50C 98 1F 00 04 */ stb r0, 4(r31) -/* 800F05B0 000ED510 41 82 00 08 */ beq lbl_800F05B8 -/* 800F05B4 000ED514 D0 3F 00 00 */ stfs f1, 0(r31) -lbl_800F05B8: -/* 800F05B8 000ED518 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F05BC 000ED51C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F05C0 000ED520 7C 08 03 A6 */ mtlr r0 -/* 800F05C4 000ED524 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F05C8 000ED528 4E 80 00 20 */ blr - -.global "GetAverage__31TReservedAverage<9CVector3f,15>CFv" -"GetAverage__31TReservedAverage<9CVector3f,15>CFv": -/* 800F05CC 000ED52C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F05D0 000ED530 7C 08 02 A6 */ mflr r0 -/* 800F05D4 000ED534 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F05D8 000ED538 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800F05DC 000ED53C 7C 7F 1B 78 */ mr r31, r3 -/* 800F05E0 000ED540 80 A4 00 00 */ lwz r5, 0(r4) -/* 800F05E4 000ED544 2C 05 00 00 */ cmpwi r5, 0 -/* 800F05E8 000ED548 40 82 00 10 */ bne lbl_800F05F8 -/* 800F05EC 000ED54C 38 00 00 00 */ li r0, 0 -/* 800F05F0 000ED550 98 1F 00 0C */ stb r0, 0xc(r31) -/* 800F05F4 000ED554 48 00 00 38 */ b lbl_800F062C -lbl_800F05F8: -/* 800F05F8 000ED558 38 61 00 08 */ addi r3, r1, 8 -/* 800F05FC 000ED55C 38 84 00 04 */ addi r4, r4, 4 -/* 800F0600 000ED560 4B F2 AA 41 */ bl "GetAverageValue<9CVector3f>__FPC9CVector3fi" -/* 800F0604 000ED564 38 00 00 01 */ li r0, 1 -/* 800F0608 000ED568 28 1F 00 00 */ cmplwi r31, 0 -/* 800F060C 000ED56C 98 1F 00 0C */ stb r0, 0xc(r31) -/* 800F0610 000ED570 41 82 00 1C */ beq lbl_800F062C -/* 800F0614 000ED574 C0 01 00 08 */ lfs f0, 8(r1) -/* 800F0618 000ED578 D0 1F 00 00 */ stfs f0, 0(r31) -/* 800F061C 000ED57C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800F0620 000ED580 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800F0624 000ED584 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800F0628 000ED588 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_800F062C: -/* 800F062C 000ED58C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F0630 000ED590 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800F0634 000ED594 7C 08 03 A6 */ mtlr r0 -/* 800F0638 000ED598 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F063C 000ED59C 4E 80 00 20 */ blr - -.global sub_800f0640 -sub_800f0640: -/* 800F0640 000ED5A0 80 03 00 00 */ lwz r0, 0(r3) -/* 800F0644 000ED5A4 2C 00 00 0F */ cmpwi r0, 0xf -/* 800F0648 000ED5A8 40 80 00 38 */ bge lbl_800F0680 -/* 800F064C 000ED5AC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800F0650 000ED5B0 7C A3 02 14 */ add r5, r3, r0 -/* 800F0654 000ED5B4 34 A5 00 04 */ addic. r5, r5, 4 -/* 800F0658 000ED5B8 41 82 00 1C */ beq lbl_800F0674 -/* 800F065C 000ED5BC C0 04 00 00 */ lfs f0, 0(r4) -/* 800F0660 000ED5C0 D0 05 00 00 */ stfs f0, 0(r5) -/* 800F0664 000ED5C4 C0 04 00 04 */ lfs f0, 4(r4) -/* 800F0668 000ED5C8 D0 05 00 04 */ stfs f0, 4(r5) -/* 800F066C 000ED5CC C0 04 00 08 */ lfs f0, 8(r4) -/* 800F0670 000ED5D0 D0 05 00 08 */ stfs f0, 8(r5) -lbl_800F0674: -/* 800F0674 000ED5D4 80 A3 00 00 */ lwz r5, 0(r3) -/* 800F0678 000ED5D8 38 05 00 01 */ addi r0, r5, 1 -/* 800F067C 000ED5DC 90 03 00 00 */ stw r0, 0(r3) -lbl_800F0680: -/* 800F0680 000ED5E0 80 A3 00 00 */ lwz r5, 0(r3) -/* 800F0684 000ED5E4 35 25 FF FF */ addic. r9, r5, -1 -/* 800F0688 000ED5E8 1C 09 00 0C */ mulli r0, r9, 0xc -/* 800F068C 000ED5EC 7D 25 4B 78 */ mr r5, r9 -/* 800F0690 000ED5F0 7D 03 02 14 */ add r8, r3, r0 -/* 800F0694 000ED5F4 39 08 00 04 */ addi r8, r8, 4 -/* 800F0698 000ED5F8 40 81 00 E8 */ ble lbl_800F0780 -/* 800F069C 000ED5FC 55 20 F0 BF */ rlwinm. r0, r9, 0x1e, 2, 0x1f -/* 800F06A0 000ED600 7C 09 03 A6 */ mtctr r0 -/* 800F06A4 000ED604 41 82 00 A8 */ beq lbl_800F074C -lbl_800F06A8: -/* 800F06A8 000ED608 38 C9 FF FF */ addi r6, r9, -1 -/* 800F06AC 000ED60C 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F06B0 000ED610 38 C9 FF FE */ addi r6, r9, -2 -/* 800F06B4 000ED614 7C E3 02 14 */ add r7, r3, r0 -/* 800F06B8 000ED618 C0 07 00 04 */ lfs f0, 4(r7) -/* 800F06BC 000ED61C 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F06C0 000ED620 38 C9 FF FD */ addi r6, r9, -3 -/* 800F06C4 000ED624 D0 08 00 00 */ stfs f0, 0(r8) -/* 800F06C8 000ED628 C0 07 00 08 */ lfs f0, 8(r7) -/* 800F06CC 000ED62C D0 08 00 04 */ stfs f0, 4(r8) -/* 800F06D0 000ED630 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F06D4 000ED634 7C E3 02 14 */ add r7, r3, r0 -/* 800F06D8 000ED638 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F06DC 000ED63C 38 C9 FF FC */ addi r6, r9, -4 -/* 800F06E0 000ED640 D0 08 00 08 */ stfs f0, 8(r8) -/* 800F06E4 000ED644 39 29 FF FC */ addi r9, r9, -4 -/* 800F06E8 000ED648 C0 07 00 04 */ lfs f0, 4(r7) -/* 800F06EC 000ED64C D0 08 FF F4 */ stfs f0, -0xc(r8) -/* 800F06F0 000ED650 C0 07 00 08 */ lfs f0, 8(r7) -/* 800F06F4 000ED654 D0 08 FF F8 */ stfs f0, -8(r8) -/* 800F06F8 000ED658 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F06FC 000ED65C 7C E3 02 14 */ add r7, r3, r0 -/* 800F0700 000ED660 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F0704 000ED664 D0 08 FF FC */ stfs f0, -4(r8) -/* 800F0708 000ED668 C0 07 00 04 */ lfs f0, 4(r7) -/* 800F070C 000ED66C D0 08 FF E8 */ stfs f0, -0x18(r8) -/* 800F0710 000ED670 C0 07 00 08 */ lfs f0, 8(r7) -/* 800F0714 000ED674 D0 08 FF EC */ stfs f0, -0x14(r8) -/* 800F0718 000ED678 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F071C 000ED67C 7C E3 02 14 */ add r7, r3, r0 -/* 800F0720 000ED680 D0 08 FF F0 */ stfs f0, -0x10(r8) -/* 800F0724 000ED684 C0 07 00 04 */ lfs f0, 4(r7) -/* 800F0728 000ED688 D0 08 FF DC */ stfs f0, -0x24(r8) -/* 800F072C 000ED68C C0 07 00 08 */ lfs f0, 8(r7) -/* 800F0730 000ED690 D0 08 FF E0 */ stfs f0, -0x20(r8) -/* 800F0734 000ED694 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F0738 000ED698 D0 08 FF E4 */ stfs f0, -0x1c(r8) -/* 800F073C 000ED69C 39 08 FF D0 */ addi r8, r8, -48 -/* 800F0740 000ED6A0 42 00 FF 68 */ bdnz lbl_800F06A8 -/* 800F0744 000ED6A4 70 A5 00 03 */ andi. r5, r5, 3 -/* 800F0748 000ED6A8 41 82 00 38 */ beq lbl_800F0780 -lbl_800F074C: -/* 800F074C 000ED6AC 7C A9 03 A6 */ mtctr r5 -lbl_800F0750: -/* 800F0750 000ED6B0 38 C9 FF FF */ addi r6, r9, -1 -/* 800F0754 000ED6B4 39 29 FF FF */ addi r9, r9, -1 -/* 800F0758 000ED6B8 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F075C 000ED6BC 7C E3 02 14 */ add r7, r3, r0 -/* 800F0760 000ED6C0 C0 07 00 04 */ lfs f0, 4(r7) -/* 800F0764 000ED6C4 D0 08 00 00 */ stfs f0, 0(r8) -/* 800F0768 000ED6C8 C0 07 00 08 */ lfs f0, 8(r7) -/* 800F076C 000ED6CC D0 08 00 04 */ stfs f0, 4(r8) -/* 800F0770 000ED6D0 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F0774 000ED6D4 D0 08 00 08 */ stfs f0, 8(r8) -/* 800F0778 000ED6D8 39 08 FF F4 */ addi r8, r8, -12 -/* 800F077C 000ED6DC 42 00 FF D4 */ bdnz lbl_800F0750 -lbl_800F0780: -/* 800F0780 000ED6E0 C0 04 00 00 */ lfs f0, 0(r4) -/* 800F0784 000ED6E4 D0 03 00 04 */ stfs f0, 4(r3) -/* 800F0788 000ED6E8 C0 04 00 04 */ lfs f0, 4(r4) -/* 800F078C 000ED6EC D0 03 00 08 */ stfs f0, 8(r3) -/* 800F0790 000ED6F0 C0 04 00 08 */ lfs f0, 8(r4) -/* 800F0794 000ED6F4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800F0798 000ED6F8 4E 80 00 20 */ blr - -.global IsInFrustum__10CMorphBallCFRC14CFrustumPlanes -IsInFrustum__10CMorphBallCFRC14CFrustumPlanes: -/* 800F079C 000ED6FC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800F07A0 000ED700 7C 08 02 A6 */ mflr r0 -/* 800F07A4 000ED704 90 01 00 84 */ stw r0, 0x84(r1) -/* 800F07A8 000ED708 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 800F07AC 000ED70C 93 C1 00 78 */ stw r30, 0x78(r1) -/* 800F07B0 000ED710 7C 9E 23 78 */ mr r30, r4 -/* 800F07B4 000ED714 93 A1 00 74 */ stw r29, 0x74(r1) -/* 800F07B8 000ED718 7C 7D 1B 78 */ mr r29, r3 -/* 800F07BC 000ED71C 80 83 00 58 */ lwz r4, 0x58(r3) -/* 800F07C0 000ED720 38 60 00 00 */ li r3, 0 -/* 800F07C4 000ED724 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800F07C8 000ED728 28 00 00 00 */ cmplwi r0, 0 -/* 800F07CC 000ED72C 40 82 00 14 */ bne lbl_800F07E0 -/* 800F07D0 000ED730 88 04 00 28 */ lbz r0, 0x28(r4) -/* 800F07D4 000ED734 28 00 00 00 */ cmplwi r0, 0 -/* 800F07D8 000ED738 40 82 00 08 */ bne lbl_800F07E0 -/* 800F07DC 000ED73C 38 60 00 01 */ li r3, 1 -lbl_800F07E0: -/* 800F07E0 000ED740 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F07E4 000ED744 40 82 01 08 */ bne lbl_800F08EC -/* 800F07E8 000ED748 80 9D 19 B8 */ lwz r4, 0x19b8(r29) -/* 800F07EC 000ED74C 38 61 00 08 */ addi r3, r1, 8 -/* 800F07F0 000ED750 81 84 00 00 */ lwz r12, 0(r4) -/* 800F07F4 000ED754 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 800F07F8 000ED758 7D 89 03 A6 */ mtctr r12 -/* 800F07FC 000ED75C 4E 80 04 21 */ bctrl -/* 800F0800 000ED760 88 01 00 20 */ lbz r0, 0x20(r1) -/* 800F0804 000ED764 28 00 00 00 */ cmplwi r0, 0 -/* 800F0808 000ED768 98 01 00 3C */ stb r0, 0x3c(r1) -/* 800F080C 000ED76C 41 82 00 3C */ beq lbl_800F0848 -/* 800F0810 000ED770 34 61 00 24 */ addic. r3, r1, 0x24 -/* 800F0814 000ED774 41 82 00 34 */ beq lbl_800F0848 -/* 800F0818 000ED778 C0 01 00 08 */ lfs f0, 8(r1) -/* 800F081C 000ED77C D0 03 00 00 */ stfs f0, 0(r3) -/* 800F0820 000ED780 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800F0824 000ED784 D0 03 00 04 */ stfs f0, 4(r3) -/* 800F0828 000ED788 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800F082C 000ED78C D0 03 00 08 */ stfs f0, 8(r3) -/* 800F0830 000ED790 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800F0834 000ED794 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800F0838 000ED798 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800F083C 000ED79C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800F0840 000ED7A0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800F0844 000ED7A4 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_800F0848: -/* 800F0848 000ED7A8 38 00 00 00 */ li r0, 0 -/* 800F084C 000ED7AC 83 FD 00 58 */ lwz r31, 0x58(r29) -/* 800F0850 000ED7B0 98 01 00 20 */ stb r0, 0x20(r1) -/* 800F0854 000ED7B4 7F A4 EB 78 */ mr r4, r29 -/* 800F0858 000ED7B8 38 61 00 40 */ addi r3, r1, 0x40 -/* 800F085C 000ED7BC 48 00 5E 99 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F0860 000ED7C0 7F E3 FB 78 */ mr r3, r31 -/* 800F0864 000ED7C4 7F C5 F3 78 */ mr r5, r30 -/* 800F0868 000ED7C8 38 81 00 40 */ addi r4, r1, 0x40 -/* 800F086C 000ED7CC 48 02 53 9D */ bl IsInFrustum__10CModelDataCFRC12CTransform4fRC14CFrustumPlanes -/* 800F0870 000ED7D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F0874 000ED7D4 41 82 00 14 */ beq lbl_800F0888 -/* 800F0878 000ED7D8 38 00 00 00 */ li r0, 0 -/* 800F087C 000ED7DC 38 60 00 01 */ li r3, 1 -/* 800F0880 000ED7E0 98 01 00 3C */ stb r0, 0x3c(r1) -/* 800F0884 000ED7E4 48 00 00 6C */ b lbl_800F08F0 -lbl_800F0888: -/* 800F0888 000ED7E8 80 7D 19 B8 */ lwz r3, 0x19b8(r29) -/* 800F088C 000ED7EC 81 83 00 00 */ lwz r12, 0(r3) -/* 800F0890 000ED7F0 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 800F0894 000ED7F4 7D 89 03 A6 */ mtctr r12 -/* 800F0898 000ED7F8 4E 80 04 21 */ bctrl -/* 800F089C 000ED7FC E0 43 A0 03 */ psq_l f2, 3(r3), 1, qr2 -/* 800F08A0 000ED800 C0 02 92 34 */ lfs f0, lbl_805AAF54@sda21(r2) -/* 800F08A4 000ED804 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F08A8 000ED808 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 800F08AC 000ED80C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F08B0 000ED810 41 82 00 34 */ beq lbl_800F08E4 -/* 800F08B4 000ED814 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 800F08B8 000ED818 28 00 00 00 */ cmplwi r0, 0 -/* 800F08BC 000ED81C 41 82 00 28 */ beq lbl_800F08E4 -/* 800F08C0 000ED820 7F C3 F3 78 */ mr r3, r30 -/* 800F08C4 000ED824 38 81 00 24 */ addi r4, r1, 0x24 -/* 800F08C8 000ED828 48 25 47 D1 */ bl sub_80345098 -/* 800F08CC 000ED82C 2C 03 00 00 */ cmpwi r3, 0 -/* 800F08D0 000ED830 41 82 00 14 */ beq lbl_800F08E4 -/* 800F08D4 000ED834 38 00 00 00 */ li r0, 0 -/* 800F08D8 000ED838 38 60 00 01 */ li r3, 1 -/* 800F08DC 000ED83C 98 01 00 3C */ stb r0, 0x3c(r1) -/* 800F08E0 000ED840 48 00 00 10 */ b lbl_800F08F0 -lbl_800F08E4: -/* 800F08E4 000ED844 38 00 00 00 */ li r0, 0 -/* 800F08E8 000ED848 98 01 00 3C */ stb r0, 0x3c(r1) -lbl_800F08EC: -/* 800F08EC 000ED84C 38 60 00 00 */ li r3, 0 -lbl_800F08F0: -/* 800F08F0 000ED850 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800F08F4 000ED854 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 800F08F8 000ED858 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 800F08FC 000ED85C 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 800F0900 000ED860 7C 08 03 A6 */ mtlr r0 -/* 800F0904 000ED864 38 21 00 80 */ addi r1, r1, 0x80 -/* 800F0908 000ED868 4E 80 00 20 */ blr - -.global CollidedWith__10CMorphBallFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager -CollidedWith__10CMorphBallFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: -/* 800F090C 000ED86C 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 800F0910 000ED870 7C 08 02 A6 */ mflr r0 -/* 800F0914 000ED874 90 01 01 34 */ stw r0, 0x134(r1) -/* 800F0918 000ED878 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 800F091C 000ED87C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 800F0920 000ED880 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 800F0924 000ED884 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 800F0928 000ED888 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 800F092C 000ED88C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 800F0930 000ED890 DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 800F0934 000ED894 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 800F0938 000ED898 DB 61 00 E0 */ stfd f27, 0xe0(r1) -/* 800F093C 000ED89C F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 -/* 800F0940 000ED8A0 DB 41 00 D0 */ stfd f26, 0xd0(r1) -/* 800F0944 000ED8A4 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 -/* 800F0948 000ED8A8 DB 21 00 C0 */ stfd f25, 0xc0(r1) -/* 800F094C 000ED8AC F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 -/* 800F0950 000ED8B0 BE 81 00 90 */ stmw r20, 0x90(r1) -/* 800F0954 000ED8B4 7C 7D 1B 78 */ mr r29, r3 -/* 800F0958 000ED8B8 7C BF 2B 78 */ mr r31, r5 -/* 800F095C 000ED8BC 7C 9E 23 78 */ mr r30, r4 -/* 800F0960 000ED8C0 7C D6 33 78 */ mr r22, r6 -/* 800F0964 000ED8C4 7F E4 FB 78 */ mr r4, r31 -/* 800F0968 000ED8C8 38 7D 00 74 */ addi r3, r29, 0x74 -/* 800F096C 000ED8CC 48 00 09 BD */ bl __as__18CCollisionInfoListFRC18CCollisionInfoList -/* 800F0970 000ED8D0 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F0974 000ED8D4 3B 60 00 00 */ li r27, 0 -/* 800F0978 000ED8D8 7F 7C DB 78 */ mr r28, r27 -/* 800F097C 000ED8DC 38 9F 00 04 */ addi r4, r31, 4 -/* 800F0980 000ED8E0 1C 00 00 60 */ mulli r0, r0, 0x60 -/* 800F0984 000ED8E4 7C BF 02 14 */ add r5, r31, r0 -/* 800F0988 000ED8E8 38 A5 00 04 */ addi r5, r5, 4 -/* 800F098C 000ED8EC 48 00 00 18 */ b lbl_800F09A4 -lbl_800F0990: -/* 800F0990 000ED8F0 80 04 00 38 */ lwz r0, 0x38(r4) -/* 800F0994 000ED8F4 80 64 00 3C */ lwz r3, 0x3c(r4) -/* 800F0998 000ED8F8 38 84 00 60 */ addi r4, r4, 0x60 -/* 800F099C 000ED8FC 7F 9C 03 78 */ or r28, r28, r0 -/* 800F09A0 000ED900 7F 7B 1B 78 */ or r27, r27, r3 -lbl_800F09A4: -/* 800F09A4 000ED904 7C 04 28 40 */ cmplw r4, r5 -/* 800F09A8 000ED908 40 82 FF E8 */ bne lbl_800F0990 -/* 800F09AC 000ED90C 80 9D 00 00 */ lwz r4, 0(r29) -/* 800F09B0 000ED910 38 61 00 7C */ addi r3, r1, 0x7c -/* 800F09B4 000ED914 C0 04 01 38 */ lfs f0, 0x138(r4) -/* 800F09B8 000ED918 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 800F09BC 000ED91C C0 04 01 3C */ lfs f0, 0x13c(r4) -/* 800F09C0 000ED920 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 800F09C4 000ED924 C0 04 01 40 */ lfs f0, 0x140(r4) -/* 800F09C8 000ED928 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 800F09CC 000ED92C 48 22 3E ED */ bl Magnitude__9CVector3fCFv -/* 800F09D0 000ED930 FF E0 08 90 */ fmr f31, f1 -/* 800F09D4 000ED934 C0 02 92 38 */ lfs f0, lbl_805AAF58@sda21(r2) -/* 800F09D8 000ED938 3A A0 00 00 */ li r21, 0 -/* 800F09DC 000ED93C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F09E0 000ED940 40 81 03 80 */ ble lbl_800F0D60 -/* 800F09E4 000ED944 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F09E8 000ED948 88 03 00 E6 */ lbz r0, 0xe6(r3) -/* 800F09EC 000ED94C 54 00 DF 7F */ rlwinm. r0, r0, 0x1b, 0x1d, 0x1f -/* 800F09F0 000ED950 40 82 03 70 */ bne lbl_800F0D60 -/* 800F09F4 000ED954 3C 60 80 57 */ lis r3, lbl_8056D4F4@ha -/* 800F09F8 000ED958 3B 1F 00 04 */ addi r24, r31, 4 -/* 800F09FC 000ED95C 38 63 D4 F4 */ addi r3, r3, lbl_8056D4F4@l -/* 800F0A00 000ED960 3B 3D 1B CC */ addi r25, r29, 0x1bcc -/* 800F0A04 000ED964 3B 43 00 04 */ addi r26, r3, 4 -/* 800F0A08 000ED968 3A E0 00 00 */ li r23, 0 -/* 800F0A0C 000ED96C 48 00 02 B0 */ b lbl_800F0CBC -lbl_800F0A10: -/* 800F0A10 000ED970 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 800F0A14 000ED974 40 82 00 AC */ bne lbl_800F0AC0 -/* 800F0A18 000ED978 80 F8 00 38 */ lwz r7, 0x38(r24) -/* 800F0A1C 000ED97C 38 A0 00 00 */ li r5, 0 -/* 800F0A20 000ED980 80 18 00 3C */ lwz r0, 0x3c(r24) -/* 800F0A24 000ED984 3C 80 40 00 */ lis r4, 0x4000 -/* 800F0A28 000ED988 7C E3 28 38 */ and r3, r7, r5 -/* 800F0A2C 000ED98C 7C 04 20 38 */ and r4, r0, r4 -/* 800F0A30 000ED990 7C 84 2A 78 */ xor r4, r4, r5 -/* 800F0A34 000ED994 7C 63 2A 78 */ xor r3, r3, r5 -/* 800F0A38 000ED998 7C 83 1B 79 */ or. r3, r4, r3 -/* 800F0A3C 000ED99C 41 82 00 08 */ beq lbl_800F0A44 -/* 800F0A40 000ED9A0 38 A0 00 01 */ li r5, 1 -lbl_800F0A44: -/* 800F0A44 000ED9A4 54 A3 06 3F */ clrlwi. r3, r5, 0x18 -/* 800F0A48 000ED9A8 41 82 00 78 */ beq lbl_800F0AC0 -/* 800F0A4C 000ED9AC 38 60 00 02 */ li r3, 2 -/* 800F0A50 000ED9B0 38 C0 00 00 */ li r6, 0 -/* 800F0A54 000ED9B4 7C 03 18 38 */ and r3, r0, r3 -/* 800F0A58 000ED9B8 3A E0 00 01 */ li r23, 1 -/* 800F0A5C 000ED9BC 7C E5 30 38 */ and r5, r7, r6 -/* 800F0A60 000ED9C0 7C 64 32 78 */ xor r4, r3, r6 -/* 800F0A64 000ED9C4 7C A3 32 78 */ xor r3, r5, r6 -/* 800F0A68 000ED9C8 7C 83 1B 79 */ or. r3, r4, r3 -/* 800F0A6C 000ED9CC 40 82 00 1C */ bne lbl_800F0A88 -/* 800F0A70 000ED9D0 38 80 00 04 */ li r4, 4 -/* 800F0A74 000ED9D4 7C A3 32 78 */ xor r3, r5, r6 -/* 800F0A78 000ED9D8 7C 00 20 38 */ and r0, r0, r4 -/* 800F0A7C 000ED9DC 7C 00 32 78 */ xor r0, r0, r6 -/* 800F0A80 000ED9E0 7C 03 1B 79 */ or. r3, r0, r3 -/* 800F0A84 000ED9E4 41 82 00 3C */ beq lbl_800F0AC0 -lbl_800F0A88: -/* 800F0A88 000ED9E8 80 7D 19 CC */ lwz r3, 0x19cc(r29) -/* 800F0A8C 000ED9EC 7F 04 C3 78 */ mr r4, r24 -/* 800F0A90 000ED9F0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F0A94 000ED9F4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800F0A98 000ED9F8 7D 89 03 A6 */ mtctr r12 -/* 800F0A9C 000ED9FC 4E 80 04 21 */ bctrl -/* 800F0AA0 000EDA00 80 7D 19 CC */ lwz r3, 0x19cc(r29) -/* 800F0AA4 000EDA04 38 80 00 01 */ li r4, 1 -/* 800F0AA8 000EDA08 81 83 00 00 */ lwz r12, 0(r3) -/* 800F0AAC 000EDA0C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F0AB0 000EDA10 7D 89 03 A6 */ mtctr r12 -/* 800F0AB4 000EDA14 4E 80 04 21 */ bctrl -/* 800F0AB8 000EDA18 38 00 00 07 */ li r0, 7 -/* 800F0ABC 000EDA1C 90 1D 1E 38 */ stw r0, 0x1e38(r29) -lbl_800F0AC0: -/* 800F0AC0 000EDA20 2C 15 00 00 */ cmpwi r21, 0 -/* 800F0AC4 000EDA24 40 82 01 F4 */ bne lbl_800F0CB8 -/* 800F0AC8 000EDA28 80 78 00 38 */ lwz r3, 0x38(r24) -/* 800F0ACC 000EDA2C 38 C0 00 00 */ li r6, 0 -/* 800F0AD0 000EDA30 80 98 00 3C */ lwz r4, 0x3c(r24) -/* 800F0AD4 000EDA34 3C A0 80 00 */ lis r5, 0x8000 -/* 800F0AD8 000EDA38 7C 60 30 38 */ and r0, r3, r6 -/* 800F0ADC 000EDA3C 7C 85 28 38 */ and r5, r4, r5 -/* 800F0AE0 000EDA40 7C A5 32 78 */ xor r5, r5, r6 -/* 800F0AE4 000EDA44 7C 00 32 78 */ xor r0, r0, r6 -/* 800F0AE8 000EDA48 7C A0 03 79 */ or. r0, r5, r0 -/* 800F0AEC 000EDA4C 41 82 00 08 */ beq lbl_800F0AF4 -/* 800F0AF0 000EDA50 38 C0 00 01 */ li r6, 1 -lbl_800F0AF4: -/* 800F0AF4 000EDA54 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 800F0AF8 000EDA58 41 82 01 C0 */ beq lbl_800F0CB8 -/* 800F0AFC 000EDA5C 38 00 01 00 */ li r0, 0x100 -/* 800F0B00 000EDA60 38 C0 00 00 */ li r6, 0 -/* 800F0B04 000EDA64 7C 85 00 38 */ and r5, r4, r0 -/* 800F0B08 000EDA68 7C 60 30 38 */ and r0, r3, r6 -/* 800F0B0C 000EDA6C 7C A5 32 78 */ xor r5, r5, r6 -/* 800F0B10 000EDA70 7C 00 32 78 */ xor r0, r0, r6 -/* 800F0B14 000EDA74 7C A0 03 79 */ or. r0, r5, r0 -/* 800F0B18 000EDA78 41 82 00 0C */ beq lbl_800F0B24 -/* 800F0B1C 000EDA7C 38 00 00 08 */ li r0, 8 -/* 800F0B20 000EDA80 48 00 00 08 */ b lbl_800F0B28 -lbl_800F0B24: -/* 800F0B24 000EDA84 7E A0 AB 78 */ mr r0, r21 -lbl_800F0B28: -/* 800F0B28 000EDA88 3C A0 00 02 */ lis r5, 2 -/* 800F0B2C 000EDA8C 38 E0 00 00 */ li r7, 0 -/* 800F0B30 000EDA90 7C 86 28 38 */ and r6, r4, r5 -/* 800F0B34 000EDA94 7C 65 38 38 */ and r5, r3, r7 -/* 800F0B38 000EDA98 7C C6 3A 78 */ xor r6, r6, r7 -/* 800F0B3C 000EDA9C 7C A5 3A 78 */ xor r5, r5, r7 -/* 800F0B40 000EDAA0 7C C5 2B 79 */ or. r5, r6, r5 -/* 800F0B44 000EDAA4 41 82 00 08 */ beq lbl_800F0B4C -/* 800F0B48 000EDAA8 38 00 00 11 */ li r0, 0x11 -lbl_800F0B4C: -/* 800F0B4C 000EDAAC 38 A0 02 00 */ li r5, 0x200 -/* 800F0B50 000EDAB0 38 E0 00 00 */ li r7, 0 -/* 800F0B54 000EDAB4 7C 86 28 38 */ and r6, r4, r5 -/* 800F0B58 000EDAB8 7C 65 38 38 */ and r5, r3, r7 -/* 800F0B5C 000EDABC 7C C6 3A 78 */ xor r6, r6, r7 -/* 800F0B60 000EDAC0 7C A5 3A 78 */ xor r5, r5, r7 -/* 800F0B64 000EDAC4 7C C5 2B 79 */ or. r5, r6, r5 -/* 800F0B68 000EDAC8 41 82 00 08 */ beq lbl_800F0B70 -/* 800F0B6C 000EDACC 38 00 00 09 */ li r0, 9 -lbl_800F0B70: -/* 800F0B70 000EDAD0 38 A0 10 00 */ li r5, 0x1000 -/* 800F0B74 000EDAD4 38 E0 00 00 */ li r7, 0 -/* 800F0B78 000EDAD8 7C 86 28 38 */ and r6, r4, r5 -/* 800F0B7C 000EDADC 7C 65 38 38 */ and r5, r3, r7 -/* 800F0B80 000EDAE0 7C C6 3A 78 */ xor r6, r6, r7 -/* 800F0B84 000EDAE4 7C A5 3A 78 */ xor r5, r5, r7 -/* 800F0B88 000EDAE8 7C C5 2B 79 */ or. r5, r6, r5 -/* 800F0B8C 000EDAEC 41 82 00 08 */ beq lbl_800F0B94 -/* 800F0B90 000EDAF0 38 00 00 0C */ li r0, 0xc -lbl_800F0B94: -/* 800F0B94 000EDAF4 38 A0 08 00 */ li r5, 0x800 -/* 800F0B98 000EDAF8 38 E0 00 00 */ li r7, 0 -/* 800F0B9C 000EDAFC 7C 86 28 38 */ and r6, r4, r5 -/* 800F0BA0 000EDB00 7C 65 38 38 */ and r5, r3, r7 -/* 800F0BA4 000EDB04 7C C6 3A 78 */ xor r6, r6, r7 -/* 800F0BA8 000EDB08 7C A5 3A 78 */ xor r5, r5, r7 -/* 800F0BAC 000EDB0C 7C C5 2B 79 */ or. r5, r6, r5 -/* 800F0BB0 000EDB10 41 82 00 08 */ beq lbl_800F0BB8 -/* 800F0BB4 000EDB14 38 00 00 0B */ li r0, 0xb -lbl_800F0BB8: -/* 800F0BB8 000EDB18 38 C0 00 80 */ li r6, 0x80 -/* 800F0BBC 000EDB1C 38 A0 00 00 */ li r5, 0 -/* 800F0BC0 000EDB20 7C 84 30 38 */ and r4, r4, r6 -/* 800F0BC4 000EDB24 7C 63 28 38 */ and r3, r3, r5 -/* 800F0BC8 000EDB28 7C 84 2A 78 */ xor r4, r4, r5 -/* 800F0BCC 000EDB2C 7C 63 2A 78 */ xor r3, r3, r5 -/* 800F0BD0 000EDB30 7C 83 1B 79 */ or. r3, r4, r3 -/* 800F0BD4 000EDB34 41 82 00 08 */ beq lbl_800F0BDC -/* 800F0BD8 000EDB38 38 00 00 07 */ li r0, 7 -lbl_800F0BDC: -/* 800F0BDC 000EDB3C 2C 00 00 00 */ cmpwi r0, 0 -/* 800F0BE0 000EDB40 7C 15 03 78 */ mr r21, r0 -/* 800F0BE4 000EDB44 41 82 00 D4 */ beq lbl_800F0CB8 -/* 800F0BE8 000EDB48 54 00 10 3A */ slwi r0, r0, 2 -/* 800F0BEC 000EDB4C 7E 9A 00 2E */ lwzx r20, r26, r0 -/* 800F0BF0 000EDB50 2C 14 00 00 */ cmpwi r20, 0 -/* 800F0BF4 000EDB54 40 82 00 44 */ bne lbl_800F0C38 -/* 800F0BF8 000EDB58 80 B6 08 CC */ lwz r5, 0x8cc(r22) -/* 800F0BFC 000EDB5C 80 96 08 50 */ lwz r4, 0x850(r22) -/* 800F0C00 000EDB60 54 A3 18 38 */ slwi r3, r5, 3 -/* 800F0C04 000EDB64 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800F0C08 000EDB68 80 84 00 20 */ lwz r4, 0x20(r4) -/* 800F0C0C 000EDB6C 38 03 00 04 */ addi r0, r3, 4 -/* 800F0C10 000EDB70 90 A1 00 18 */ stw r5, 0x18(r1) -/* 800F0C14 000EDB74 7C 64 00 2E */ lwzx r3, r4, r0 -/* 800F0C18 000EDB78 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 800F0C1C 000EDB7C 80 63 10 D8 */ lwz r3, 0x10d8(r3) -/* 800F0C20 000EDB80 28 03 00 00 */ cmplwi r3, 0 -/* 800F0C24 000EDB84 41 82 00 14 */ beq lbl_800F0C38 -/* 800F0C28 000EDB88 80 03 00 50 */ lwz r0, 0x50(r3) -/* 800F0C2C 000EDB8C 2C 00 00 02 */ cmpwi r0, 2 -/* 800F0C30 000EDB90 40 82 00 08 */ bne lbl_800F0C38 -/* 800F0C34 000EDB94 3A 80 00 01 */ li r20, 1 -lbl_800F0C38: -/* 800F0C38 000EDB98 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) -/* 800F0C3C 000EDB9C 7C 14 00 00 */ cmpw r20, r0 -/* 800F0C40 000EDBA0 41 82 00 30 */ beq lbl_800F0C70 -/* 800F0C44 000EDBA4 2C 00 FF FF */ cmpwi r0, -1 -/* 800F0C48 000EDBA8 41 82 00 24 */ beq lbl_800F0C6C -/* 800F0C4C 000EDBAC 54 03 18 38 */ slwi r3, r0, 3 -/* 800F0C50 000EDBB0 38 80 00 00 */ li r4, 0 -/* 800F0C54 000EDBB4 38 03 00 04 */ addi r0, r3, 4 -/* 800F0C58 000EDBB8 7C 79 00 2E */ lwzx r3, r25, r0 -/* 800F0C5C 000EDBBC 81 83 00 00 */ lwz r12, 0(r3) -/* 800F0C60 000EDBC0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F0C64 000EDBC4 7D 89 03 A6 */ mtctr r12 -/* 800F0C68 000EDBC8 4E 80 04 21 */ bctrl -lbl_800F0C6C: -/* 800F0C6C 000EDBCC 92 9D 1C 0C */ stw r20, 0x1c0c(r29) -lbl_800F0C70: -/* 800F0C70 000EDBD0 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) -/* 800F0C74 000EDBD4 38 80 00 01 */ li r4, 1 -/* 800F0C78 000EDBD8 54 03 18 38 */ slwi r3, r0, 3 -/* 800F0C7C 000EDBDC 38 03 00 04 */ addi r0, r3, 4 -/* 800F0C80 000EDBE0 7C 79 00 2E */ lwzx r3, r25, r0 -/* 800F0C84 000EDBE4 81 83 00 00 */ lwz r12, 0(r3) -/* 800F0C88 000EDBE8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F0C8C 000EDBEC 7D 89 03 A6 */ mtctr r12 -/* 800F0C90 000EDBF0 4E 80 04 21 */ bctrl -/* 800F0C94 000EDBF4 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) -/* 800F0C98 000EDBF8 7F 04 C3 78 */ mr r4, r24 -/* 800F0C9C 000EDBFC 54 03 18 38 */ slwi r3, r0, 3 -/* 800F0CA0 000EDC00 38 03 00 04 */ addi r0, r3, 4 -/* 800F0CA4 000EDC04 7C 79 00 2E */ lwzx r3, r25, r0 -/* 800F0CA8 000EDC08 81 83 00 00 */ lwz r12, 0(r3) -/* 800F0CAC 000EDC0C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800F0CB0 000EDC10 7D 89 03 A6 */ mtctr r12 -/* 800F0CB4 000EDC14 4E 80 04 21 */ bctrl -lbl_800F0CB8: -/* 800F0CB8 000EDC18 3B 18 00 60 */ addi r24, r24, 0x60 -lbl_800F0CBC: -/* 800F0CBC 000EDC1C 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F0CC0 000EDC20 1C 00 00 60 */ mulli r0, r0, 0x60 -/* 800F0CC4 000EDC24 7C 7F 02 14 */ add r3, r31, r0 -/* 800F0CC8 000EDC28 38 03 00 04 */ addi r0, r3, 4 -/* 800F0CCC 000EDC2C 7C 18 00 40 */ cmplw r24, r0 -/* 800F0CD0 000EDC30 40 82 FD 40 */ bne lbl_800F0A10 -/* 800F0CD4 000EDC34 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 800F0CD8 000EDC38 41 82 00 88 */ beq lbl_800F0D60 -/* 800F0CDC 000EDC3C 80 1D 1E 28 */ lwz r0, 0x1e28(r29) -/* 800F0CE0 000EDC40 38 61 00 10 */ addi r3, r1, 0x10 -/* 800F0CE4 000EDC44 90 01 00 10 */ stw r0, 0x10(r1) -/* 800F0CE8 000EDC48 48 1F 80 ED */ bl IsPlaying__11CSfxManagerF10CSfxHandle -/* 800F0CEC 000EDC4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F0CF0 000EDC50 40 82 00 70 */ bne lbl_800F0D60 -/* 800F0CF4 000EDC54 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F0CF8 000EDC58 38 61 00 0C */ addi r3, r1, 0xc -/* 800F0CFC 000EDC5C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 800F0D00 000EDC60 38 A1 00 4C */ addi r5, r1, 0x4c -/* 800F0D04 000EDC64 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800F0D08 000EDC68 38 C1 00 40 */ addi r6, r1, 0x40 -/* 800F0D0C 000EDC6C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800F0D10 000EDC70 38 80 05 F5 */ li r4, 0x5f5 -/* 800F0D14 000EDC74 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800F0D18 000EDC78 38 E0 00 01 */ li r7, 1 -/* 800F0D1C 000EDC7C 39 00 00 00 */ li r8, 0 -/* 800F0D20 000EDC80 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800F0D24 000EDC84 81 7D 00 00 */ lwz r11, 0(r29) -/* 800F0D28 000EDC88 C0 4B 00 60 */ lfs f2, 0x60(r11) -/* 800F0D2C 000EDC8C C0 2B 00 50 */ lfs f1, 0x50(r11) -/* 800F0D30 000EDC90 C0 0B 00 40 */ lfs f0, 0x40(r11) -/* 800F0D34 000EDC94 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800F0D38 000EDC98 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800F0D3C 000EDC9C D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800F0D40 000EDCA0 48 1F 95 71 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 800F0D44 000EDCA4 80 01 00 0C */ lwz r0, 0xc(r1) -/* 800F0D48 000EDCA8 38 81 00 08 */ addi r4, r1, 8 -/* 800F0D4C 000EDCAC 90 1D 1E 28 */ stw r0, 0x1e28(r29) -/* 800F0D50 000EDCB0 80 1D 1E 28 */ lwz r0, 0x1e28(r29) -/* 800F0D54 000EDCB4 90 01 00 08 */ stw r0, 8(r1) -/* 800F0D58 000EDCB8 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F0D5C 000EDCBC 4B F2 04 31 */ bl ApplySubmergedPitchBend__7CPlayerFR10CSfxHandle -lbl_800F0D60: -/* 800F0D60 000EDCC0 2C 15 00 00 */ cmpwi r21, 0 -/* 800F0D64 000EDCC4 40 82 00 30 */ bne lbl_800F0D94 -/* 800F0D68 000EDCC8 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) -/* 800F0D6C 000EDCCC 2C 00 FF FF */ cmpwi r0, -1 -/* 800F0D70 000EDCD0 41 82 00 24 */ beq lbl_800F0D94 -/* 800F0D74 000EDCD4 54 00 18 38 */ slwi r0, r0, 3 -/* 800F0D78 000EDCD8 38 80 00 00 */ li r4, 0 -/* 800F0D7C 000EDCDC 7C 7D 02 14 */ add r3, r29, r0 -/* 800F0D80 000EDCE0 80 63 1B D0 */ lwz r3, 0x1bd0(r3) -/* 800F0D84 000EDCE4 81 83 00 00 */ lwz r12, 0(r3) -/* 800F0D88 000EDCE8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F0D8C 000EDCEC 7D 89 03 A6 */ mtctr r12 -/* 800F0D90 000EDCF0 4E 80 04 21 */ bctrl -lbl_800F0D94: -/* 800F0D94 000EDCF4 88 1D 19 54 */ lbz r0, 0x1954(r29) -/* 800F0D98 000EDCF8 28 00 00 00 */ cmplwi r0, 0 -/* 800F0D9C 000EDCFC 41 82 00 0C */ beq lbl_800F0DA8 -/* 800F0DA0 000EDD00 38 00 00 00 */ li r0, 0 -/* 800F0DA4 000EDD04 98 1D 19 54 */ stb r0, 0x1954(r29) -lbl_800F0DA8: -/* 800F0DA8 000EDD08 38 00 20 00 */ li r0, 0x2000 -/* 800F0DAC 000EDD0C 38 80 00 00 */ li r4, 0 -/* 800F0DB0 000EDD10 7F 63 00 38 */ and r3, r27, r0 -/* 800F0DB4 000EDD14 7F 80 20 38 */ and r0, r28, r4 -/* 800F0DB8 000EDD18 7C 63 22 78 */ xor r3, r3, r4 -/* 800F0DBC 000EDD1C 7C 00 22 78 */ xor r0, r0, r4 -/* 800F0DC0 000EDD20 7C 60 03 79 */ or. r0, r3, r0 -/* 800F0DC4 000EDD24 41 82 00 E0 */ beq lbl_800F0EA4 -/* 800F0DC8 000EDD28 C0 22 91 7C */ lfs f1, lbl_805AAE9C@sda21(r2) -/* 800F0DCC 000EDD2C 3A DF 00 04 */ addi r22, r31, 4 -/* 800F0DD0 000EDD30 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) -/* 800F0DD4 000EDD34 3A 80 00 00 */ li r20, 0 -/* 800F0DD8 000EDD38 D0 3D 1D FC */ stfs f1, 0x1dfc(r29) -/* 800F0DDC 000EDD3C D0 1D 1E 04 */ stfs f0, 0x1e04(r29) -/* 800F0DE0 000EDD40 48 00 00 B8 */ b lbl_800F0E98 -lbl_800F0DE4: -/* 800F0DE4 000EDD44 80 16 00 38 */ lwz r0, 0x38(r22) -/* 800F0DE8 000EDD48 38 80 00 00 */ li r4, 0 -/* 800F0DEC 000EDD4C 80 B6 00 3C */ lwz r5, 0x3c(r22) -/* 800F0DF0 000EDD50 38 60 20 00 */ li r3, 0x2000 -/* 800F0DF4 000EDD54 7C 00 20 38 */ and r0, r0, r4 -/* 800F0DF8 000EDD58 7C A3 18 38 */ and r3, r5, r3 -/* 800F0DFC 000EDD5C 7C 63 22 78 */ xor r3, r3, r4 -/* 800F0E00 000EDD60 7C 00 22 78 */ xor r0, r0, r4 -/* 800F0E04 000EDD64 7C 60 03 79 */ or. r0, r3, r0 -/* 800F0E08 000EDD68 41 82 00 88 */ beq lbl_800F0E90 -/* 800F0E0C 000EDD6C C0 96 00 4C */ lfs f4, 0x4c(r22) -/* 800F0E10 000EDD70 C0 1D 1E 18 */ lfs f0, 0x1e18(r29) -/* 800F0E14 000EDD74 C0 76 00 48 */ lfs f3, 0x48(r22) -/* 800F0E18 000EDD78 EC 04 00 32 */ fmuls f0, f4, f0 -/* 800F0E1C 000EDD7C C0 DD 1E 14 */ lfs f6, 0x1e14(r29) -/* 800F0E20 000EDD80 C0 B6 00 50 */ lfs f5, 0x50(r22) -/* 800F0E24 000EDD84 C0 5D 1E 1C */ lfs f2, 0x1e1c(r29) -/* 800F0E28 000EDD88 EC 23 01 BA */ fmadds f1, f3, f6, f0 -/* 800F0E2C 000EDD8C C0 02 92 3C */ lfs f0, lbl_805AAF5C@sda21(r2) -/* 800F0E30 000EDD90 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 800F0E34 000EDD94 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F0E38 000EDD98 40 80 00 58 */ bge lbl_800F0E90 -/* 800F0E3C 000EDD9C D0 DD 1E 08 */ stfs f6, 0x1e08(r29) -/* 800F0E40 000EDDA0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F0E44 000EDDA4 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800F0E48 000EDDA8 C0 22 92 40 */ lfs f1, lbl_805AAF60@sda21(r2) -/* 800F0E4C 000EDDAC C0 1D 1E 18 */ lfs f0, 0x1e18(r29) -/* 800F0E50 000EDDB0 38 7D 1E 08 */ addi r3, r29, 0x1e08 -/* 800F0E54 000EDDB4 D0 1D 1E 0C */ stfs f0, 0x1e0c(r29) -/* 800F0E58 000EDDB8 C0 1D 1E 1C */ lfs f0, 0x1e1c(r29) -/* 800F0E5C 000EDDBC D0 1D 1E 10 */ stfs f0, 0x1e10(r29) -/* 800F0E60 000EDDC0 D0 7D 1E 14 */ stfs f3, 0x1e14(r29) -/* 800F0E64 000EDDC4 D0 9D 1E 18 */ stfs f4, 0x1e18(r29) -/* 800F0E68 000EDDC8 D0 BD 1E 1C */ stfs f5, 0x1e1c(r29) -/* 800F0E6C 000EDDCC 48 21 F0 F9 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 800F0E70 000EDDD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F0E74 000EDDD4 41 82 00 1C */ beq lbl_800F0E90 -/* 800F0E78 000EDDD8 C0 1D 1E 14 */ lfs f0, 0x1e14(r29) -/* 800F0E7C 000EDDDC D0 1D 1E 08 */ stfs f0, 0x1e08(r29) -/* 800F0E80 000EDDE0 C0 1D 1E 18 */ lfs f0, 0x1e18(r29) -/* 800F0E84 000EDDE4 D0 1D 1E 0C */ stfs f0, 0x1e0c(r29) -/* 800F0E88 000EDDE8 C0 1D 1E 1C */ lfs f0, 0x1e1c(r29) -/* 800F0E8C 000EDDEC D0 1D 1E 10 */ stfs f0, 0x1e10(r29) -lbl_800F0E90: -/* 800F0E90 000EDDF0 3A D6 00 60 */ addi r22, r22, 0x60 -/* 800F0E94 000EDDF4 3A 94 00 01 */ addi r20, r20, 1 -lbl_800F0E98: -/* 800F0E98 000EDDF8 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F0E9C 000EDDFC 7C 14 00 00 */ cmpw r20, r0 -/* 800F0EA0 000EDE00 41 80 FF 44 */ blt lbl_800F0DE4 -lbl_800F0EA4: -/* 800F0EA4 000EDE04 88 1D 00 28 */ lbz r0, 0x28(r29) -/* 800F0EA8 000EDE08 28 00 00 00 */ cmplwi r0, 0 -/* 800F0EAC 000EDE0C 41 82 00 44 */ beq lbl_800F0EF0 -/* 800F0EB0 000EDE10 3C 00 80 00 */ lis r0, 0x8000 -/* 800F0EB4 000EDE14 38 A0 00 00 */ li r5, 0 -/* 800F0EB8 000EDE18 7F 60 00 38 */ and r0, r27, r0 -/* 800F0EBC 000EDE1C 7F 84 28 38 */ and r4, r28, r5 -/* 800F0EC0 000EDE20 7C 03 2A 78 */ xor r3, r0, r5 -/* 800F0EC4 000EDE24 7C 80 2A 78 */ xor r0, r4, r5 -/* 800F0EC8 000EDE28 7C 60 03 79 */ or. r0, r3, r0 -/* 800F0ECC 000EDE2C 41 82 00 24 */ beq lbl_800F0EF0 -/* 800F0ED0 000EDE30 3C 60 40 00 */ lis r3, 0x4000 -/* 800F0ED4 000EDE34 7C 80 2A 78 */ xor r0, r4, r5 -/* 800F0ED8 000EDE38 7F 63 18 38 */ and r3, r27, r3 -/* 800F0EDC 000EDE3C 7C 63 2A 78 */ xor r3, r3, r5 -/* 800F0EE0 000EDE40 7C 60 03 79 */ or. r0, r3, r0 -/* 800F0EE4 000EDE44 41 82 00 0C */ beq lbl_800F0EF0 -/* 800F0EE8 000EDE48 7F A3 EB 78 */ mr r3, r29 -/* 800F0EEC 000EDE4C 48 00 4C 4D */ bl SwitchToMarble__10CMorphBallFv -lbl_800F0EF0: -/* 800F0EF0 000EDE50 7F A3 EB 78 */ mr r3, r29 -/* 800F0EF4 000EDE54 48 00 0A DD */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F0EF8 000EDE58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F0EFC 000EDE5C 40 82 00 B8 */ bne lbl_800F0FB4 -/* 800F0F00 000EDE60 88 1D 1D E4 */ lbz r0, 0x1de4(r29) -/* 800F0F04 000EDE64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800F0F08 000EDE68 41 82 00 AC */ beq lbl_800F0FB4 -/* 800F0F0C 000EDE6C C0 02 92 28 */ lfs f0, lbl_805AAF48@sda21(r2) -/* 800F0F10 000EDE70 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F0F14 000EDE74 40 81 00 A0 */ ble lbl_800F0FB4 -/* 800F0F18 000EDE78 38 61 00 34 */ addi r3, r1, 0x34 -/* 800F0F1C 000EDE7C 38 81 00 7C */ addi r4, r1, 0x7c -/* 800F0F20 000EDE80 48 22 39 31 */ bl AsNormalized__9CVector3fCFv -/* 800F0F24 000EDE84 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F0F28 000EDE88 38 DF 00 04 */ addi r6, r31, 4 -/* 800F0F2C 000EDE8C C0 81 00 34 */ lfs f4, 0x34(r1) -/* 800F0F30 000EDE90 C0 A1 00 38 */ lfs f5, 0x38(r1) -/* 800F0F34 000EDE94 C0 C1 00 3C */ lfs f6, 0x3c(r1) -/* 800F0F38 000EDE98 7C 09 03 A6 */ mtctr r0 -/* 800F0F3C 000EDE9C 2C 00 00 00 */ cmpwi r0, 0 -/* 800F0F40 000EDEA0 40 81 00 74 */ ble lbl_800F0FB4 -/* 800F0F44 000EDEA4 C0 02 92 44 */ lfs f0, lbl_805AAF64@sda21(r2) -/* 800F0F48 000EDEA8 38 A0 20 00 */ li r5, 0x2000 -/* 800F0F4C 000EDEAC 38 80 00 00 */ li r4, 0 -lbl_800F0F50: -/* 800F0F50 000EDEB0 80 06 00 38 */ lwz r0, 0x38(r6) -/* 800F0F54 000EDEB4 80 66 00 3C */ lwz r3, 0x3c(r6) -/* 800F0F58 000EDEB8 7C 00 20 38 */ and r0, r0, r4 -/* 800F0F5C 000EDEBC 7C 63 28 38 */ and r3, r3, r5 -/* 800F0F60 000EDEC0 7C 63 22 78 */ xor r3, r3, r4 -/* 800F0F64 000EDEC4 7C 00 22 78 */ xor r0, r0, r4 -/* 800F0F68 000EDEC8 7C 60 03 79 */ or. r0, r3, r0 -/* 800F0F6C 000EDECC 40 82 00 40 */ bne lbl_800F0FAC -/* 800F0F70 000EDED0 C0 26 00 4C */ lfs f1, 0x4c(r6) -/* 800F0F74 000EDED4 C0 46 00 48 */ lfs f2, 0x48(r6) -/* 800F0F78 000EDED8 EC 21 01 72 */ fmuls f1, f1, f5 -/* 800F0F7C 000EDEDC C0 66 00 50 */ lfs f3, 0x50(r6) -/* 800F0F80 000EDEE0 EC 22 09 3A */ fmadds f1, f2, f4, f1 -/* 800F0F84 000EDEE4 EC 23 09 BA */ fmadds f1, f3, f6, f1 -/* 800F0F88 000EDEE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F0F8C 000EDEEC 40 80 00 20 */ bge lbl_800F0FAC -/* 800F0F90 000EDEF0 7F A3 EB 78 */ mr r3, r29 -/* 800F0F94 000EDEF4 48 00 2F 31 */ bl LeaveBoosting__10CMorphBallFv -/* 800F0F98 000EDEF8 C0 22 92 48 */ lfs f1, lbl_805AAF68@sda21(r2) -/* 800F0F9C 000EDEFC 7F A3 EB 78 */ mr r3, r29 -/* 800F0FA0 000EDF00 C0 42 92 4C */ lfs f2, lbl_805AAF6C@sda21(r2) -/* 800F0FA4 000EDF04 48 00 24 F9 */ bl DampLinearAndAngularVelocities__10CMorphBallFff -/* 800F0FA8 000EDF08 48 00 00 0C */ b lbl_800F0FB4 -lbl_800F0FAC: -/* 800F0FAC 000EDF0C 38 C6 00 60 */ addi r6, r6, 0x60 -/* 800F0FB0 000EDF10 42 00 FF A0 */ bdnz lbl_800F0F50 -lbl_800F0FB4: -/* 800F0FB4 000EDF14 A0 7E 00 00 */ lhz r3, 0(r30) -/* 800F0FB8 000EDF18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800F0FBC 000EDF1C 7C 03 00 40 */ cmplw r3, r0 -/* 800F0FC0 000EDF20 40 82 01 EC */ bne lbl_800F11AC -/* 800F0FC4 000EDF24 80 9D 00 00 */ lwz r4, 0(r29) -/* 800F0FC8 000EDF28 38 61 00 70 */ addi r3, r1, 0x70 -/* 800F0FCC 000EDF2C C0 04 01 38 */ lfs f0, 0x138(r4) -/* 800F0FD0 000EDF30 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 800F0FD4 000EDF34 C0 04 01 3C */ lfs f0, 0x13c(r4) -/* 800F0FD8 000EDF38 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800F0FDC 000EDF3C C0 04 01 40 */ lfs f0, 0x140(r4) -/* 800F0FE0 000EDF40 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 800F0FE4 000EDF44 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 800F0FE8 000EDF48 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 800F0FEC 000EDF4C C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 800F0FF0 000EDF50 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 800F0FF4 000EDF54 C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 800F0FF8 000EDF58 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800F0FFC 000EDF5C 48 22 38 BD */ bl Magnitude__9CVector3fCFv -/* 800F1000 000EDF60 FF E0 08 90 */ fmr f31, f1 -/* 800F1004 000EDF64 38 61 00 64 */ addi r3, r1, 0x64 -/* 800F1008 000EDF68 48 22 38 B1 */ bl Magnitude__9CVector3fCFv -/* 800F100C 000EDF6C C0 02 92 30 */ lfs f0, lbl_805AAF50@sda21(r2) -/* 800F1010 000EDF70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F1014 000EDF74 40 81 01 98 */ ble lbl_800F11AC -/* 800F1018 000EDF78 C0 02 91 E0 */ lfs f0, lbl_805AAF00@sda21(r2) -/* 800F101C 000EDF7C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F1020 000EDF80 40 81 01 8C */ ble lbl_800F11AC -/* 800F1024 000EDF84 38 61 00 28 */ addi r3, r1, 0x28 -/* 800F1028 000EDF88 38 81 00 64 */ addi r4, r1, 0x64 -/* 800F102C 000EDF8C 48 22 38 25 */ bl AsNormalized__9CVector3fCFv -/* 800F1030 000EDF90 C3 C1 00 28 */ lfs f30, 0x28(r1) -/* 800F1034 000EDF94 38 61 00 1C */ addi r3, r1, 0x1c -/* 800F1038 000EDF98 C3 A1 00 2C */ lfs f29, 0x2c(r1) -/* 800F103C 000EDF9C 38 81 00 70 */ addi r4, r1, 0x70 -/* 800F1040 000EDFA0 C3 81 00 30 */ lfs f28, 0x30(r1) -/* 800F1044 000EDFA4 48 22 38 0D */ bl AsNormalized__9CVector3fCFv -/* 800F1048 000EDFA8 C3 61 00 1C */ lfs f27, 0x1c(r1) -/* 800F104C 000EDFAC 3A 9F 00 04 */ addi r20, r31, 4 -/* 800F1050 000EDFB0 C3 41 00 20 */ lfs f26, 0x20(r1) -/* 800F1054 000EDFB4 C3 21 00 24 */ lfs f25, 0x24(r1) -/* 800F1058 000EDFB8 48 00 01 3C */ b lbl_800F1194 -lbl_800F105C: -/* 800F105C 000EDFBC 7F A3 EB 78 */ mr r3, r29 -/* 800F1060 000EDFC0 7E 84 A3 78 */ mr r4, r20 -/* 800F1064 000EDFC4 4B FF EB 59 */ bl IsClimbable__10CMorphBallCFRC14CCollisionInfo -/* 800F1068 000EDFC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F106C 000EDFCC 41 82 01 24 */ beq lbl_800F1190 -/* 800F1070 000EDFD0 C0 14 00 4C */ lfs f0, 0x4c(r20) -/* 800F1074 000EDFD4 C0 74 00 48 */ lfs f3, 0x48(r20) -/* 800F1078 000EDFD8 EC 3D 00 32 */ fmuls f1, f29, f0 -/* 800F107C 000EDFDC C0 94 00 50 */ lfs f4, 0x50(r20) -/* 800F1080 000EDFE0 EC 5A 00 32 */ fmuls f2, f26, f0 -/* 800F1084 000EDFE4 C0 02 92 44 */ lfs f0, lbl_805AAF64@sda21(r2) -/* 800F1088 000EDFE8 EC 3E 08 FA */ fmadds f1, f30, f3, f1 -/* 800F108C 000EDFEC EC 5B 10 FA */ fmadds f2, f27, f3, f2 -/* 800F1090 000EDFF0 EC 3C 09 3A */ fmadds f1, f28, f4, f1 -/* 800F1094 000EDFF4 EC 59 11 3A */ fmadds f2, f25, f4, f2 -/* 800F1098 000EDFF8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F109C 000EDFFC 40 80 00 F4 */ bge lbl_800F1190 -/* 800F10A0 000EE000 C0 02 92 50 */ lfs f0, lbl_805AAF70@sda21(r2) -/* 800F10A4 000EE004 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800F10A8 000EE008 40 80 00 E8 */ bge lbl_800F1190 -/* 800F10AC 000EE00C 80 BD 00 00 */ lwz r5, 0(r29) -/* 800F10B0 000EE010 C0 02 91 98 */ lfs f0, lbl_805AAEB8@sda21(r2) -/* 800F10B4 000EE014 80 05 02 B0 */ lwz r0, 0x2b0(r5) -/* 800F10B8 000EE018 EC 40 07 F2 */ fmuls f2, f0, f31 -/* 800F10BC 000EE01C 2C 00 00 02 */ cmpwi r0, 2 -/* 800F10C0 000EE020 40 82 00 0C */ bne lbl_800F10CC -/* 800F10C4 000EE024 80 05 02 AC */ lwz r0, 0x2ac(r5) -/* 800F10C8 000EE028 48 00 00 08 */ b lbl_800F10D0 -lbl_800F10CC: -/* 800F10CC 000EE02C 38 00 00 04 */ li r0, 4 -lbl_800F10D0: -/* 800F10D0 000EE030 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) -/* 800F10D4 000EE034 54 03 10 3A */ slwi r3, r0, 2 -/* 800F10D8 000EE038 80 05 02 B0 */ lwz r0, 0x2b0(r5) -/* 800F10DC 000EE03C 38 84 00 44 */ addi r4, r4, 0x44 -/* 800F10E0 000EE040 C0 22 92 54 */ lfs f1, lbl_805AAF74@sda21(r2) -/* 800F10E4 000EE044 7C 04 1C 2E */ lfsx f0, r4, r3 -/* 800F10E8 000EE048 2C 00 00 02 */ cmpwi r0, 2 -/* 800F10EC 000EE04C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F10F0 000EE050 EC 22 00 28 */ fsubs f1, f2, f0 -/* 800F10F4 000EE054 FC 61 00 AE */ fsel f3, f1, f2, f0 -/* 800F10F8 000EE058 40 82 00 0C */ bne lbl_800F1104 -/* 800F10FC 000EE05C 80 05 02 AC */ lwz r0, 0x2ac(r5) -/* 800F1100 000EE060 48 00 00 08 */ b lbl_800F1108 -lbl_800F1104: -/* 800F1104 000EE064 38 00 00 04 */ li r0, 4 -lbl_800F1108: -/* 800F1108 000EE068 54 00 10 3A */ slwi r0, r0, 2 -/* 800F110C 000EE06C C0 01 00 70 */ lfs f0, 0x70(r1) -/* 800F1110 000EE070 7C 24 04 2E */ lfsx f1, r4, r0 -/* 800F1114 000EE074 38 81 00 58 */ addi r4, r1, 0x58 -/* 800F1118 000EE078 C0 42 91 90 */ lfs f2, lbl_805AAEB0@sda21(r2) -/* 800F111C 000EE07C D0 1D 1D CC */ stfs f0, 0x1dcc(r29) -/* 800F1120 000EE080 EC 82 00 72 */ fmuls f4, f2, f1 -/* 800F1124 000EE084 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) -/* 800F1128 000EE088 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 800F112C 000EE08C D0 1D 1D D0 */ stfs f0, 0x1dd0(r29) -/* 800F1130 000EE090 EC 23 20 28 */ fsubs f1, f3, f4 -/* 800F1134 000EE094 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 800F1138 000EE098 FC 81 19 2E */ fsel f4, f1, f4, f3 -/* 800F113C 000EE09C D0 1D 1D D4 */ stfs f0, 0x1dd4(r29) -/* 800F1140 000EE0A0 C0 61 00 74 */ lfs f3, 0x74(r1) -/* 800F1144 000EE0A4 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 800F1148 000EE0A8 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 800F114C 000EE0AC EC 63 10 2A */ fadds f3, f3, f2 -/* 800F1150 000EE0B0 EC 21 20 2A */ fadds f1, f1, f4 -/* 800F1154 000EE0B4 EC 00 10 2A */ fadds f0, f0, f2 -/* 800F1158 000EE0B8 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 800F115C 000EE0BC D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800F1160 000EE0C0 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 800F1164 000EE0C4 D0 1D 1D D8 */ stfs f0, 0x1dd8(r29) -/* 800F1168 000EE0C8 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 800F116C 000EE0CC D0 1D 1D DC */ stfs f0, 0x1ddc(r29) -/* 800F1170 000EE0D0 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 800F1174 000EE0D4 D0 1D 1D E0 */ stfs f0, 0x1de0(r29) -/* 800F1178 000EE0D8 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F117C 000EE0DC 48 02 9B 25 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 800F1180 000EE0E0 80 7D 1D C8 */ lwz r3, 0x1dc8(r29) -/* 800F1184 000EE0E4 38 03 00 01 */ addi r0, r3, 1 -/* 800F1188 000EE0E8 90 1D 1D C8 */ stw r0, 0x1dc8(r29) -/* 800F118C 000EE0EC 48 00 00 20 */ b lbl_800F11AC -lbl_800F1190: -/* 800F1190 000EE0F0 3A 94 00 60 */ addi r20, r20, 0x60 -lbl_800F1194: -/* 800F1194 000EE0F4 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F1198 000EE0F8 1C 00 00 60 */ mulli r0, r0, 0x60 -/* 800F119C 000EE0FC 7C 7F 02 14 */ add r3, r31, r0 -/* 800F11A0 000EE100 38 03 00 04 */ addi r0, r3, 4 -/* 800F11A4 000EE104 7C 14 00 40 */ cmplw r20, r0 -/* 800F11A8 000EE108 40 82 FE B4 */ bne lbl_800F105C -lbl_800F11AC: -/* 800F11AC 000EE10C 80 9F 00 00 */ lwz r4, 0(r31) -/* 800F11B0 000EE110 2C 04 00 02 */ cmpwi r4, 2 -/* 800F11B4 000EE114 40 81 01 00 */ ble lbl_800F12B4 -/* 800F11B8 000EE118 C0 BF 00 54 */ lfs f5, 0x54(r31) -/* 800F11BC 000EE11C C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) -/* 800F11C0 000EE120 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 800F11C4 000EE124 40 81 00 F0 */ ble lbl_800F12B4 -/* 800F11C8 000EE128 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F11CC 000EE12C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 800F11D0 000EE130 C0 03 01 3C */ lfs f0, 0x13c(r3) -/* 800F11D4 000EE134 C0 7F 00 4C */ lfs f3, 0x4c(r31) -/* 800F11D8 000EE138 EC 21 00 32 */ fmuls f1, f1, f0 -/* 800F11DC 000EE13C C0 43 01 38 */ lfs f2, 0x138(r3) -/* 800F11E0 000EE140 C0 83 01 40 */ lfs f4, 0x140(r3) -/* 800F11E4 000EE144 C0 02 91 D8 */ lfs f0, lbl_805AAEF8@sda21(r2) -/* 800F11E8 000EE148 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 800F11EC 000EE14C EC 25 09 3A */ fmadds f1, f5, f4, f1 -/* 800F11F0 000EE150 FC 20 0A 10 */ fabs f1, f1 -/* 800F11F4 000EE154 FC 20 08 18 */ frsp f1, f1 -/* 800F11F8 000EE158 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F11FC 000EE15C 40 81 00 B8 */ ble lbl_800F12B4 -/* 800F1200 000EE160 38 DF 00 64 */ addi r6, r31, 0x64 -/* 800F1204 000EE164 C0 A2 91 50 */ lfs f5, lbl_805AAE70@sda21(r2) -/* 800F1208 000EE168 7C C5 33 78 */ mr r5, r6 -/* 800F120C 000EE16C 38 04 FF FF */ addi r0, r4, -1 -/* 800F1210 000EE170 38 E0 00 00 */ li r7, 0 -/* 800F1214 000EE174 39 00 00 01 */ li r8, 1 -/* 800F1218 000EE178 48 00 00 60 */ b lbl_800F1278 -lbl_800F121C: -/* 800F121C 000EE17C 7C C3 33 78 */ mr r3, r6 -/* 800F1220 000EE180 39 20 00 01 */ li r9, 1 -/* 800F1224 000EE184 7C 09 03 A6 */ mtctr r0 -/* 800F1228 000EE188 2C 04 00 01 */ cmpwi r4, 1 -/* 800F122C 000EE18C 40 81 00 44 */ ble lbl_800F1270 -lbl_800F1230: -/* 800F1230 000EE190 7C 08 48 00 */ cmpw r8, r9 -/* 800F1234 000EE194 41 82 00 30 */ beq lbl_800F1264 -/* 800F1238 000EE198 C0 25 00 4C */ lfs f1, 0x4c(r5) -/* 800F123C 000EE19C 38 E7 00 01 */ addi r7, r7, 1 -/* 800F1240 000EE1A0 C0 03 00 4C */ lfs f0, 0x4c(r3) -/* 800F1244 000EE1A4 C0 45 00 48 */ lfs f2, 0x48(r5) -/* 800F1248 000EE1A8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F124C 000EE1AC C0 23 00 48 */ lfs f1, 0x48(r3) -/* 800F1250 000EE1B0 C0 85 00 50 */ lfs f4, 0x50(r5) -/* 800F1254 000EE1B4 C0 63 00 50 */ lfs f3, 0x50(r3) -/* 800F1258 000EE1B8 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 800F125C 000EE1BC EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 800F1260 000EE1C0 EC A5 00 2A */ fadds f5, f5, f0 -lbl_800F1264: -/* 800F1264 000EE1C4 38 63 00 60 */ addi r3, r3, 0x60 -/* 800F1268 000EE1C8 39 29 00 01 */ addi r9, r9, 1 -/* 800F126C 000EE1CC 42 00 FF C4 */ bdnz lbl_800F1230 -lbl_800F1270: -/* 800F1270 000EE1D0 38 A5 00 60 */ addi r5, r5, 0x60 -/* 800F1274 000EE1D4 39 08 00 01 */ addi r8, r8, 1 -lbl_800F1278: -/* 800F1278 000EE1D8 7C 08 20 00 */ cmpw r8, r4 -/* 800F127C 000EE1DC 41 80 FF A0 */ blt lbl_800F121C -/* 800F1280 000EE1E0 3C 00 43 30 */ lis r0, 0x4330 -/* 800F1284 000EE1E4 90 E1 00 8C */ stw r7, 0x8c(r1) -/* 800F1288 000EE1E8 C8 42 91 A0 */ lfd f2, lbl_805AAEC0@sda21(r2) -/* 800F128C 000EE1EC 90 01 00 88 */ stw r0, 0x88(r1) -/* 800F1290 000EE1F0 C0 02 92 58 */ lfs f0, lbl_805AAF78@sda21(r2) -/* 800F1294 000EE1F4 C8 21 00 88 */ lfd f1, 0x88(r1) -/* 800F1298 000EE1F8 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800F129C 000EE1FC EC A5 08 24 */ fdivs f5, f5, f1 -/* 800F12A0 000EE200 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 800F12A4 000EE204 40 80 00 10 */ bge lbl_800F12B4 -/* 800F12A8 000EE208 80 7D 1D C8 */ lwz r3, 0x1dc8(r29) -/* 800F12AC 000EE20C 38 03 00 01 */ addi r0, r3, 1 -/* 800F12B0 000EE210 90 1D 1D C8 */ stw r0, 0x1dc8(r29) -lbl_800F12B4: -/* 800F12B4 000EE214 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F12B8 000EE218 38 9F 00 04 */ addi r4, r31, 4 -/* 800F12BC 000EE21C 1C 00 00 60 */ mulli r0, r0, 0x60 -/* 800F12C0 000EE220 7C 7F 02 14 */ add r3, r31, r0 -/* 800F12C4 000EE224 38 03 00 04 */ addi r0, r3, 4 -/* 800F12C8 000EE228 7C 04 00 40 */ cmplw r4, r0 -/* 800F12CC 000EE22C 41 82 00 10 */ beq lbl_800F12DC -/* 800F12D0 000EE230 7F A3 EB 78 */ mr r3, r29 -/* 800F12D4 000EE234 38 84 00 38 */ addi r4, r4, 0x38 -/* 800F12D8 000EE238 4B FF D9 05 */ bl SelectMorphBallSounds__10CMorphBallFRC13CMaterialList -lbl_800F12DC: -/* 800F12DC 000EE23C E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 800F12E0 000EE240 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 800F12E4 000EE244 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 800F12E8 000EE248 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 800F12EC 000EE24C E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 800F12F0 000EE250 CB A1 01 00 */ lfd f29, 0x100(r1) -/* 800F12F4 000EE254 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 800F12F8 000EE258 CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 800F12FC 000EE25C E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 -/* 800F1300 000EE260 CB 61 00 E0 */ lfd f27, 0xe0(r1) -/* 800F1304 000EE264 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 -/* 800F1308 000EE268 CB 41 00 D0 */ lfd f26, 0xd0(r1) -/* 800F130C 000EE26C E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 -/* 800F1310 000EE270 CB 21 00 C0 */ lfd f25, 0xc0(r1) -/* 800F1314 000EE274 BA 81 00 90 */ lmw r20, 0x90(r1) -/* 800F1318 000EE278 80 01 01 34 */ lwz r0, 0x134(r1) -/* 800F131C 000EE27C 7C 08 03 A6 */ mtlr r0 -/* 800F1320 000EE280 38 21 01 30 */ addi r1, r1, 0x130 -/* 800F1324 000EE284 4E 80 00 20 */ blr - -.global __as__18CCollisionInfoListFRC18CCollisionInfoList -__as__18CCollisionInfoListFRC18CCollisionInfoList: -/* 800F1328 000EE288 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F132C 000EE28C 7C 08 02 A6 */ mflr r0 -/* 800F1330 000EE290 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F1334 000EE294 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F1338 000EE298 7C 7F 1B 78 */ mr r31, r3 -/* 800F133C 000EE29C 48 00 00 1D */ bl sub_800f1358 -/* 800F1340 000EE2A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F1344 000EE2A4 7F E3 FB 78 */ mr r3, r31 -/* 800F1348 000EE2A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F134C 000EE2AC 7C 08 03 A6 */ mtlr r0 -/* 800F1350 000EE2B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F1354 000EE2B4 4E 80 00 20 */ blr - -.global sub_800f1358 -sub_800f1358: -/* 800F1358 000EE2B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F135C 000EE2BC 7C 08 02 A6 */ mflr r0 -/* 800F1360 000EE2C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F1364 000EE2C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F1368 000EE2C8 7C 9F 23 78 */ mr r31, r4 -/* 800F136C 000EE2CC 93 C1 00 08 */ stw r30, 8(r1) -/* 800F1370 000EE2D0 7C 7E 1B 78 */ mr r30, r3 -/* 800F1374 000EE2D4 7C 1E F8 40 */ cmplw r30, r31 -/* 800F1378 000EE2D8 40 82 00 08 */ bne lbl_800F1380 -/* 800F137C 000EE2DC 48 00 00 80 */ b lbl_800F13FC -lbl_800F1380: -/* 800F1380 000EE2E0 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F1384 000EE2E4 38 60 00 00 */ li r3, 0 -/* 800F1388 000EE2E8 2C 05 00 00 */ cmpwi r5, 0 -/* 800F138C 000EE2EC 40 81 00 40 */ ble lbl_800F13CC -/* 800F1390 000EE2F0 2C 05 00 08 */ cmpwi r5, 8 -/* 800F1394 000EE2F4 38 85 FF F8 */ addi r4, r5, -8 -/* 800F1398 000EE2F8 40 81 00 20 */ ble lbl_800F13B8 -/* 800F139C 000EE2FC 38 04 00 07 */ addi r0, r4, 7 -/* 800F13A0 000EE300 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F13A4 000EE304 7C 09 03 A6 */ mtctr r0 -/* 800F13A8 000EE308 2C 04 00 00 */ cmpwi r4, 0 -/* 800F13AC 000EE30C 40 81 00 0C */ ble lbl_800F13B8 -lbl_800F13B0: -/* 800F13B0 000EE310 38 63 00 08 */ addi r3, r3, 8 -/* 800F13B4 000EE314 42 00 FF FC */ bdnz lbl_800F13B0 -lbl_800F13B8: -/* 800F13B8 000EE318 7C 03 28 50 */ subf r0, r3, r5 -/* 800F13BC 000EE31C 7C 09 03 A6 */ mtctr r0 -/* 800F13C0 000EE320 7C 03 28 00 */ cmpw r3, r5 -/* 800F13C4 000EE324 40 80 00 08 */ bge lbl_800F13CC -lbl_800F13C8: -/* 800F13C8 000EE328 42 00 00 00 */ bdnz lbl_800F13C8 -lbl_800F13CC: -/* 800F13CC 000EE32C 38 00 00 00 */ li r0, 0 -/* 800F13D0 000EE330 38 7F 00 04 */ addi r3, r31, 4 -/* 800F13D4 000EE334 90 1E 00 00 */ stw r0, 0(r30) -/* 800F13D8 000EE338 38 BE 00 04 */ addi r5, r30, 4 -/* 800F13DC 000EE33C 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F13E0 000EE340 1C 00 00 60 */ mulli r0, r0, 0x60 -/* 800F13E4 000EE344 7C 9F 02 14 */ add r4, r31, r0 -/* 800F13E8 000EE348 38 84 00 04 */ addi r4, r4, 4 -/* 800F13EC 000EE34C 48 00 00 29 */ bl sub_800f1414 -/* 800F13F0 000EE350 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F13F4 000EE354 7F C3 F3 78 */ mr r3, r30 -/* 800F13F8 000EE358 90 1E 00 00 */ stw r0, 0(r30) -lbl_800F13FC: -/* 800F13FC 000EE35C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F1400 000EE360 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F1404 000EE364 83 C1 00 08 */ lwz r30, 8(r1) -/* 800F1408 000EE368 7C 08 03 A6 */ mtlr r0 -/* 800F140C 000EE36C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F1410 000EE370 4E 80 00 20 */ blr - -.global sub_800f1414 -sub_800f1414: -/* 800F1414 000EE374 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F1418 000EE378 7C 08 02 A6 */ mflr r0 -/* 800F141C 000EE37C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F1420 000EE380 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800F1424 000EE384 7C BF 2B 78 */ mr r31, r5 -/* 800F1428 000EE388 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800F142C 000EE38C 7C 7E 1B 78 */ mr r30, r3 -/* 800F1430 000EE390 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800F1434 000EE394 7C 9D 23 78 */ mr r29, r4 -/* 800F1438 000EE398 48 00 00 18 */ b lbl_800F1450 -lbl_800F143C: -/* 800F143C 000EE39C 7F E3 FB 78 */ mr r3, r31 -/* 800F1440 000EE3A0 7F C4 F3 78 */ mr r4, r30 -/* 800F1444 000EE3A4 48 00 00 35 */ bl sub_800f1478 -/* 800F1448 000EE3A8 3B FF 00 60 */ addi r31, r31, 0x60 -/* 800F144C 000EE3AC 3B DE 00 60 */ addi r30, r30, 0x60 -lbl_800F1450: -/* 800F1450 000EE3B0 7C 1E E8 40 */ cmplw r30, r29 -/* 800F1454 000EE3B4 40 82 FF E8 */ bne lbl_800F143C -/* 800F1458 000EE3B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F145C 000EE3BC 7F E3 FB 78 */ mr r3, r31 -/* 800F1460 000EE3C0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800F1464 000EE3C4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800F1468 000EE3C8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800F146C 000EE3CC 7C 08 03 A6 */ mtlr r0 -/* 800F1470 000EE3D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F1474 000EE3D4 4E 80 00 20 */ blr - -.global sub_800f1478 -sub_800f1478: -/* 800F1478 000EE3D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F147C 000EE3DC 7C 08 02 A6 */ mflr r0 -/* 800F1480 000EE3E0 28 03 00 00 */ cmplwi r3, 0 -/* 800F1484 000EE3E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F1488 000EE3E8 41 82 00 08 */ beq lbl_800F1490 -/* 800F148C 000EE3EC 48 00 00 15 */ bl __ct__14CCollisionInfoFRC14CCollisionInfo -lbl_800F1490: -/* 800F1490 000EE3F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F1494 000EE3F4 7C 08 03 A6 */ mtlr r0 -/* 800F1498 000EE3F8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F149C 000EE3FC 4E 80 00 20 */ blr - -.global __ct__14CCollisionInfoFRC14CCollisionInfo -__ct__14CCollisionInfoFRC14CCollisionInfo: -/* 800F14A0 000EE400 C0 04 00 00 */ lfs f0, 0(r4) -/* 800F14A4 000EE404 D0 03 00 00 */ stfs f0, 0(r3) -/* 800F14A8 000EE408 C0 04 00 04 */ lfs f0, 4(r4) -/* 800F14AC 000EE40C D0 03 00 04 */ stfs f0, 4(r3) -/* 800F14B0 000EE410 C0 04 00 08 */ lfs f0, 8(r4) -/* 800F14B4 000EE414 D0 03 00 08 */ stfs f0, 8(r3) -/* 800F14B8 000EE418 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 800F14BC 000EE41C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800F14C0 000EE420 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 800F14C4 000EE424 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800F14C8 000EE428 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 800F14CC 000EE42C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 800F14D0 000EE430 C0 04 00 18 */ lfs f0, 0x18(r4) -/* 800F14D4 000EE434 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 800F14D8 000EE438 C0 04 00 1C */ lfs f0, 0x1c(r4) -/* 800F14DC 000EE43C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 800F14E0 000EE440 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 800F14E4 000EE444 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 800F14E8 000EE448 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 800F14EC 000EE44C D0 03 00 24 */ stfs f0, 0x24(r3) -/* 800F14F0 000EE450 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 800F14F4 000EE454 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 800F14F8 000EE458 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 800F14FC 000EE45C D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 800F1500 000EE460 88 04 00 30 */ lbz r0, 0x30(r4) -/* 800F1504 000EE464 98 03 00 30 */ stb r0, 0x30(r3) -/* 800F1508 000EE468 88 04 00 31 */ lbz r0, 0x31(r4) -/* 800F150C 000EE46C 98 03 00 31 */ stb r0, 0x31(r3) -/* 800F1510 000EE470 80 04 00 38 */ lwz r0, 0x38(r4) -/* 800F1514 000EE474 80 A4 00 3C */ lwz r5, 0x3c(r4) -/* 800F1518 000EE478 90 A3 00 3C */ stw r5, 0x3c(r3) -/* 800F151C 000EE47C 90 03 00 38 */ stw r0, 0x38(r3) -/* 800F1520 000EE480 80 04 00 40 */ lwz r0, 0x40(r4) -/* 800F1524 000EE484 80 A4 00 44 */ lwz r5, 0x44(r4) -/* 800F1528 000EE488 90 A3 00 44 */ stw r5, 0x44(r3) -/* 800F152C 000EE48C 90 03 00 40 */ stw r0, 0x40(r3) -/* 800F1530 000EE490 C0 04 00 48 */ lfs f0, 0x48(r4) -/* 800F1534 000EE494 D0 03 00 48 */ stfs f0, 0x48(r3) -/* 800F1538 000EE498 C0 04 00 4C */ lfs f0, 0x4c(r4) -/* 800F153C 000EE49C D0 03 00 4C */ stfs f0, 0x4c(r3) -/* 800F1540 000EE4A0 C0 04 00 50 */ lfs f0, 0x50(r4) -/* 800F1544 000EE4A4 D0 03 00 50 */ stfs f0, 0x50(r3) -/* 800F1548 000EE4A8 C0 04 00 54 */ lfs f0, 0x54(r4) -/* 800F154C 000EE4AC D0 03 00 54 */ stfs f0, 0x54(r3) -/* 800F1550 000EE4B0 C0 04 00 58 */ lfs f0, 0x58(r4) -/* 800F1554 000EE4B4 D0 03 00 58 */ stfs f0, 0x58(r3) -/* 800F1558 000EE4B8 C0 04 00 5C */ lfs f0, 0x5c(r4) -/* 800F155C 000EE4BC D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 800F1560 000EE4C0 4E 80 00 20 */ blr - -.global BallCloseToCollision__10CMorphBallCFRC13CStateManagerfRC15CMaterialFilter -BallCloseToCollision__10CMorphBallCFRC13CStateManagerfRC15CMaterialFilter: -/* 800F1564 000EE4C4 94 21 F6 A0 */ stwu r1, -0x960(r1) -/* 800F1568 000EE4C8 7C 08 02 A6 */ mflr r0 -/* 800F156C 000EE4CC 90 01 09 64 */ stw r0, 0x964(r1) -/* 800F1570 000EE4D0 DB E1 09 50 */ stfd f31, 0x950(r1) -/* 800F1574 000EE4D4 F3 E1 09 58 */ psq_st f31, -1704(r1), 0, qr0 -/* 800F1578 000EE4D8 DB C1 09 40 */ stfd f30, 0x940(r1) -/* 800F157C 000EE4DC F3 C1 09 48 */ psq_st f30, -1720(r1), 0, qr0 -/* 800F1580 000EE4E0 DB A1 09 30 */ stfd f29, 0x930(r1) -/* 800F1584 000EE4E4 F3 A1 09 38 */ psq_st f29, -1736(r1), 0, qr0 -/* 800F1588 000EE4E8 DB 81 09 20 */ stfd f28, 0x920(r1) -/* 800F158C 000EE4EC F3 81 09 28 */ psq_st f28, -1752(r1), 0, qr0 -/* 800F1590 000EE4F0 BF 21 09 04 */ stmw r25, 0x904(r1) -/* 800F1594 000EE4F4 38 00 00 00 */ li r0, 0 -/* 800F1598 000EE4F8 FF 80 08 90 */ fmr f28, f1 -/* 800F159C 000EE4FC 80 CD 88 CC */ lwz r6, lbl_805A748C@sda21(r13) -/* 800F15A0 000EE500 7C 7F 1B 78 */ mr r31, r3 -/* 800F15A4 000EE504 7C 9D 23 78 */ mr r29, r4 -/* 800F15A8 000EE508 7C BE 2B 78 */ mr r30, r5 -/* 800F15AC 000EE50C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800F15B0 000EE510 7C C5 33 78 */ mr r5, r6 -/* 800F15B4 000EE514 38 60 00 00 */ li r3, 0 -/* 800F15B8 000EE518 90 01 00 18 */ stw r0, 0x18(r1) -/* 800F15BC 000EE51C 38 80 00 01 */ li r4, 1 -/* 800F15C0 000EE520 48 29 89 35 */ bl __shl2i -/* 800F15C4 000EE524 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800F15C8 000EE528 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 800F15CC 000EE52C 7C 00 1B 78 */ or r0, r0, r3 -/* 800F15D0 000EE530 80 AD 88 D0 */ lwz r5, lbl_805A7490@sda21(r13) -/* 800F15D4 000EE534 7C C4 23 78 */ or r4, r6, r4 -/* 800F15D8 000EE538 90 01 00 18 */ stw r0, 0x18(r1) -/* 800F15DC 000EE53C 38 60 00 00 */ li r3, 0 -/* 800F15E0 000EE540 90 81 00 1C */ stw r4, 0x1c(r1) -/* 800F15E4 000EE544 38 80 00 01 */ li r4, 1 -/* 800F15E8 000EE548 48 29 89 0D */ bl __shl2i -/* 800F15EC 000EE54C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800F15F0 000EE550 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 800F15F4 000EE554 7C 00 1B 78 */ or r0, r0, r3 -/* 800F15F8 000EE558 7F E3 FB 78 */ mr r3, r31 -/* 800F15FC 000EE55C 7C A4 23 78 */ or r4, r5, r4 -/* 800F1600 000EE560 90 01 00 18 */ stw r0, 0x18(r1) -/* 800F1604 000EE564 90 81 00 1C */ stw r4, 0x1c(r1) -/* 800F1608 000EE568 48 00 77 FD */ bl GetBallRadius__10CMorphBallCFv -/* 800F160C 000EE56C 80 BF 00 00 */ lwz r5, 0(r31) -/* 800F1610 000EE570 38 61 00 38 */ addi r3, r1, 0x38 -/* 800F1614 000EE574 C0 62 91 50 */ lfs f3, lbl_805AAE70@sda21(r2) -/* 800F1618 000EE578 38 81 00 18 */ addi r4, r1, 0x18 -/* 800F161C 000EE57C C0 85 00 40 */ lfs f4, 0x40(r5) -/* 800F1620 000EE580 C0 45 00 50 */ lfs f2, 0x50(r5) -/* 800F1624 000EE584 C0 05 00 60 */ lfs f0, 0x60(r5) -/* 800F1628 000EE588 EF A4 18 2A */ fadds f29, f4, f3 -/* 800F162C 000EE58C EF C2 18 2A */ fadds f30, f2, f3 -/* 800F1630 000EE590 EF E0 08 2A */ fadds f31, f0, f1 -/* 800F1634 000EE594 48 1D E2 81 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 800F1638 000EE598 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 800F163C 000EE59C 38 00 00 00 */ li r0, 0 -/* 800F1640 000EE5A0 38 A3 CA F8 */ addi r5, r3, lbl_803ECAF8@l -/* 800F1644 000EE5A4 D3 A1 00 48 */ stfs f29, 0x48(r1) -/* 800F1648 000EE5A8 38 61 00 20 */ addi r3, r1, 0x20 -/* 800F164C 000EE5AC 38 81 00 38 */ addi r4, r1, 0x38 -/* 800F1650 000EE5B0 90 A1 00 38 */ stw r5, 0x38(r1) -/* 800F1654 000EE5B4 D3 C1 00 4C */ stfs f30, 0x4c(r1) -/* 800F1658 000EE5B8 D3 E1 00 50 */ stfs f31, 0x50(r1) -/* 800F165C 000EE5BC D3 81 00 54 */ stfs f28, 0x54(r1) -/* 800F1660 000EE5C0 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 800F1664 000EE5C4 48 1E 2D 69 */ bl CalculateLocalAABox__17CCollidableSphereCFv -/* 800F1668 000EE5C8 80 BF 00 00 */ lwz r5, 0(r31) -/* 800F166C 000EE5CC 7F A3 EB 78 */ mr r3, r29 -/* 800F1670 000EE5D0 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 800F1674 000EE5D4 38 C1 00 20 */ addi r6, r1, 0x20 -/* 800F1678 000EE5D8 4B F5 B0 85 */ bl "BuildColliderList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" -/* 800F167C 000EE5DC 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800F1680 000EE5E0 7F A3 EB 78 */ mr r3, r29 -/* 800F1684 000EE5E4 38 A4 66 70 */ addi r5, r4, skIdentity4f@l -/* 800F1688 000EE5E8 7F C6 F3 78 */ mr r6, r30 -/* 800F168C 000EE5EC 38 81 00 38 */ addi r4, r1, 0x38 -/* 800F1690 000EE5F0 48 09 1D 11 */ bl DetectStaticCollisionBoolean__14CGameCollisionFRC13CStateManagerRC19CCollisionPrimitiveRC12CTransform4fRC15CMaterialFilter -/* 800F1694 000EE5F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F1698 000EE5F8 41 82 00 78 */ beq lbl_800F1710 -/* 800F169C 000EE5FC 80 A1 00 F8 */ lwz r5, 0xf8(r1) -/* 800F16A0 000EE600 38 60 00 00 */ li r3, 0 -/* 800F16A4 000EE604 2C 05 00 00 */ cmpwi r5, 0 -/* 800F16A8 000EE608 40 81 00 40 */ ble lbl_800F16E8 -/* 800F16AC 000EE60C 2C 05 00 08 */ cmpwi r5, 8 -/* 800F16B0 000EE610 38 85 FF F8 */ addi r4, r5, -8 -/* 800F16B4 000EE614 40 81 00 20 */ ble lbl_800F16D4 -/* 800F16B8 000EE618 38 04 00 07 */ addi r0, r4, 7 -/* 800F16BC 000EE61C 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F16C0 000EE620 7C 09 03 A6 */ mtctr r0 -/* 800F16C4 000EE624 2C 04 00 00 */ cmpwi r4, 0 -/* 800F16C8 000EE628 40 81 00 0C */ ble lbl_800F16D4 -lbl_800F16CC: -/* 800F16CC 000EE62C 38 63 00 08 */ addi r3, r3, 8 -/* 800F16D0 000EE630 42 00 FF FC */ bdnz lbl_800F16CC -lbl_800F16D4: -/* 800F16D4 000EE634 7C 03 28 50 */ subf r0, r3, r5 -/* 800F16D8 000EE638 7C 09 03 A6 */ mtctr r0 -/* 800F16DC 000EE63C 7C 03 28 00 */ cmpw r3, r5 -/* 800F16E0 000EE640 40 80 00 08 */ bge lbl_800F16E8 -lbl_800F16E4: -/* 800F16E4 000EE644 42 00 00 00 */ bdnz lbl_800F16E4 -lbl_800F16E8: -/* 800F16E8 000EE648 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 800F16EC 000EE64C 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 800F16F0 000EE650 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 800F16F4 000EE654 38 80 00 00 */ li r4, 0 -/* 800F16F8 000EE658 90 01 00 38 */ stw r0, 0x38(r1) -/* 800F16FC 000EE65C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 800F1700 000EE660 38 60 00 01 */ li r3, 1 -/* 800F1704 000EE664 90 81 00 F8 */ stw r4, 0xf8(r1) -/* 800F1708 000EE668 90 01 00 38 */ stw r0, 0x38(r1) -/* 800F170C 000EE66C 48 00 01 B4 */ b lbl_800F18C0 -lbl_800F1710: -/* 800F1710 000EE670 3B 41 00 FC */ addi r26, r1, 0xfc -/* 800F1714 000EE674 3B 81 00 90 */ addi r28, r1, 0x90 -/* 800F1718 000EE678 7F 5F D3 78 */ mr r31, r26 -/* 800F171C 000EE67C 3B 61 00 C8 */ addi r27, r1, 0xc8 -/* 800F1720 000EE680 48 00 01 20 */ b lbl_800F1840 -lbl_800F1724: -/* 800F1724 000EE684 A0 1F 00 00 */ lhz r0, 0(r31) -/* 800F1728 000EE688 7F A3 EB 78 */ mr r3, r29 -/* 800F172C 000EE68C 38 81 00 08 */ addi r4, r1, 8 -/* 800F1730 000EE690 B0 01 00 08 */ sth r0, 8(r1) -/* 800F1734 000EE694 4B F5 AE 71 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800F1738 000EE698 7C 64 1B 78 */ mr r4, r3 -/* 800F173C 000EE69C 38 61 00 0C */ addi r3, r1, 0xc -/* 800F1740 000EE6A0 4B FB AF A5 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 800F1744 000EE6A4 83 23 00 04 */ lwz r25, 4(r3) -/* 800F1748 000EE6A8 28 19 00 00 */ cmplwi r25, 0 -/* 800F174C 000EE6AC 41 82 00 F0 */ beq lbl_800F183C -/* 800F1750 000EE6B0 7F 24 CB 78 */ mr r4, r25 -/* 800F1754 000EE6B4 38 61 00 58 */ addi r3, r1, 0x58 -/* 800F1758 000EE6B8 81 99 00 00 */ lwz r12, 0(r25) -/* 800F175C 000EE6BC 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 800F1760 000EE6C0 7D 89 03 A6 */ mtctr r12 -/* 800F1764 000EE6C4 4E 80 04 21 */ bctrl -/* 800F1768 000EE6C8 7F 23 CB 78 */ mr r3, r25 -/* 800F176C 000EE6CC 81 99 00 00 */ lwz r12, 0(r25) -/* 800F1770 000EE6D0 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 800F1774 000EE6D4 7D 89 03 A6 */ mtctr r12 -/* 800F1778 000EE6D8 4E 80 04 21 */ bctrl -/* 800F177C 000EE6DC 3C 80 80 5A */ lis r4, lbl_8059FD18@ha -/* 800F1780 000EE6E0 90 61 00 88 */ stw r3, 0x88(r1) -/* 800F1784 000EE6E4 38 04 FD 18 */ addi r0, r4, lbl_8059FD18@l -/* 800F1788 000EE6E8 7F 83 E3 78 */ mr r3, r28 -/* 800F178C 000EE6EC 90 01 00 8C */ stw r0, 0x8c(r1) -/* 800F1790 000EE6F0 38 81 00 58 */ addi r4, r1, 0x58 -/* 800F1794 000EE6F4 48 22 13 E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F1798 000EE6F8 38 01 00 38 */ addi r0, r1, 0x38 -/* 800F179C 000EE6FC 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800F17A0 000EE700 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 800F17A4 000EE704 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800F17A8 000EE708 7F 63 DB 78 */ mr r3, r27 -/* 800F17AC 000EE70C 93 C1 00 C4 */ stw r30, 0xc4(r1) -/* 800F17B0 000EE710 48 22 13 C5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F17B4 000EE714 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 800F17B8 000EE718 38 81 00 88 */ addi r4, r1, 0x88 -/* 800F17BC 000EE71C 48 1D D0 71 */ bl CollideBoolean__19CCollisionPrimitiveFRCQ227CInternalCollisionStructure9CPrimDescRCQ227CInternalCollisionStructure9CPrimDesc -/* 800F17C0 000EE720 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F17C4 000EE724 41 82 00 78 */ beq lbl_800F183C -/* 800F17C8 000EE728 80 A1 00 F8 */ lwz r5, 0xf8(r1) -/* 800F17CC 000EE72C 38 60 00 00 */ li r3, 0 -/* 800F17D0 000EE730 2C 05 00 00 */ cmpwi r5, 0 -/* 800F17D4 000EE734 40 81 00 40 */ ble lbl_800F1814 -/* 800F17D8 000EE738 2C 05 00 08 */ cmpwi r5, 8 -/* 800F17DC 000EE73C 38 85 FF F8 */ addi r4, r5, -8 -/* 800F17E0 000EE740 40 81 00 20 */ ble lbl_800F1800 -/* 800F17E4 000EE744 38 04 00 07 */ addi r0, r4, 7 -/* 800F17E8 000EE748 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F17EC 000EE74C 7C 09 03 A6 */ mtctr r0 -/* 800F17F0 000EE750 2C 04 00 00 */ cmpwi r4, 0 -/* 800F17F4 000EE754 40 81 00 0C */ ble lbl_800F1800 -lbl_800F17F8: -/* 800F17F8 000EE758 38 63 00 08 */ addi r3, r3, 8 -/* 800F17FC 000EE75C 42 00 FF FC */ bdnz lbl_800F17F8 -lbl_800F1800: -/* 800F1800 000EE760 7C 03 28 50 */ subf r0, r3, r5 -/* 800F1804 000EE764 7C 09 03 A6 */ mtctr r0 -/* 800F1808 000EE768 7C 03 28 00 */ cmpw r3, r5 -/* 800F180C 000EE76C 40 80 00 08 */ bge lbl_800F1814 -lbl_800F1810: -/* 800F1810 000EE770 42 00 00 00 */ bdnz lbl_800F1810 -lbl_800F1814: -/* 800F1814 000EE774 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 800F1818 000EE778 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 800F181C 000EE77C 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 800F1820 000EE780 38 80 00 00 */ li r4, 0 -/* 800F1824 000EE784 90 01 00 38 */ stw r0, 0x38(r1) -/* 800F1828 000EE788 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 800F182C 000EE78C 38 60 00 01 */ li r3, 1 -/* 800F1830 000EE790 90 81 00 F8 */ stw r4, 0xf8(r1) -/* 800F1834 000EE794 90 01 00 38 */ stw r0, 0x38(r1) -/* 800F1838 000EE798 48 00 00 88 */ b lbl_800F18C0 -lbl_800F183C: -/* 800F183C 000EE79C 3B FF 00 02 */ addi r31, r31, 2 -lbl_800F1840: -/* 800F1840 000EE7A0 80 A1 00 F8 */ lwz r5, 0xf8(r1) -/* 800F1844 000EE7A4 54 A0 08 3C */ slwi r0, r5, 1 -/* 800F1848 000EE7A8 7C 1A 02 14 */ add r0, r26, r0 -/* 800F184C 000EE7AC 7C 1F 00 40 */ cmplw r31, r0 -/* 800F1850 000EE7B0 40 82 FE D4 */ bne lbl_800F1724 -/* 800F1854 000EE7B4 2C 05 00 00 */ cmpwi r5, 0 -/* 800F1858 000EE7B8 38 60 00 00 */ li r3, 0 -/* 800F185C 000EE7BC 40 81 00 40 */ ble lbl_800F189C -/* 800F1860 000EE7C0 2C 05 00 08 */ cmpwi r5, 8 -/* 800F1864 000EE7C4 38 85 FF F8 */ addi r4, r5, -8 -/* 800F1868 000EE7C8 40 81 00 20 */ ble lbl_800F1888 -/* 800F186C 000EE7CC 38 04 00 07 */ addi r0, r4, 7 -/* 800F1870 000EE7D0 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F1874 000EE7D4 7C 09 03 A6 */ mtctr r0 -/* 800F1878 000EE7D8 2C 04 00 00 */ cmpwi r4, 0 -/* 800F187C 000EE7DC 40 81 00 0C */ ble lbl_800F1888 -lbl_800F1880: -/* 800F1880 000EE7E0 38 63 00 08 */ addi r3, r3, 8 -/* 800F1884 000EE7E4 42 00 FF FC */ bdnz lbl_800F1880 -lbl_800F1888: -/* 800F1888 000EE7E8 7C 03 28 50 */ subf r0, r3, r5 -/* 800F188C 000EE7EC 7C 09 03 A6 */ mtctr r0 -/* 800F1890 000EE7F0 7C 03 28 00 */ cmpw r3, r5 -/* 800F1894 000EE7F4 40 80 00 08 */ bge lbl_800F189C -lbl_800F1898: -/* 800F1898 000EE7F8 42 00 00 00 */ bdnz lbl_800F1898 -lbl_800F189C: -/* 800F189C 000EE7FC 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 800F18A0 000EE800 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 800F18A4 000EE804 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 800F18A8 000EE808 38 80 00 00 */ li r4, 0 -/* 800F18AC 000EE80C 90 01 00 38 */ stw r0, 0x38(r1) -/* 800F18B0 000EE810 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 800F18B4 000EE814 38 60 00 00 */ li r3, 0 -/* 800F18B8 000EE818 90 81 00 F8 */ stw r4, 0xf8(r1) -/* 800F18BC 000EE81C 90 01 00 38 */ stw r0, 0x38(r1) -lbl_800F18C0: -/* 800F18C0 000EE820 E3 E1 09 58 */ psq_l f31, -1704(r1), 0, qr0 -/* 800F18C4 000EE824 CB E1 09 50 */ lfd f31, 0x950(r1) -/* 800F18C8 000EE828 E3 C1 09 48 */ psq_l f30, -1720(r1), 0, qr0 -/* 800F18CC 000EE82C CB C1 09 40 */ lfd f30, 0x940(r1) -/* 800F18D0 000EE830 E3 A1 09 38 */ psq_l f29, -1736(r1), 0, qr0 -/* 800F18D4 000EE834 CB A1 09 30 */ lfd f29, 0x930(r1) -/* 800F18D8 000EE838 E3 81 09 28 */ psq_l f28, -1752(r1), 0, qr0 -/* 800F18DC 000EE83C CB 81 09 20 */ lfd f28, 0x920(r1) -/* 800F18E0 000EE840 BB 21 09 04 */ lmw r25, 0x904(r1) -/* 800F18E4 000EE844 80 01 09 64 */ lwz r0, 0x964(r1) -/* 800F18E8 000EE848 7C 08 03 A6 */ mtlr r0 -/* 800F18EC 000EE84C 38 21 09 60 */ addi r1, r1, 0x960 -/* 800F18F0 000EE850 4E 80 00 20 */ blr - -.global DisableHalfPipeStatus__10CMorphBallFv -DisableHalfPipeStatus__10CMorphBallFv: -/* 800F18F4 000EE854 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F18F8 000EE858 7C 08 02 A6 */ mflr r0 -/* 800F18FC 000EE85C 38 80 00 00 */ li r4, 0 -/* 800F1900 000EE860 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F1904 000EE864 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F1908 000EE868 7C 7F 1B 78 */ mr r31, r3 -/* 800F190C 000EE86C 48 00 00 B5 */ bl SetIsInHalfPipeMode__10CMorphBallFb -/* 800F1910 000EE870 7F E3 FB 78 */ mr r3, r31 -/* 800F1914 000EE874 38 80 00 00 */ li r4, 0 -/* 800F1918 000EE878 48 00 00 8D */ bl SetIsInHalfPipeModeInAir__10CMorphBallFb -/* 800F191C 000EE87C 7F E3 FB 78 */ mr r3, r31 -/* 800F1920 000EE880 38 80 00 00 */ li r4, 0 -/* 800F1924 000EE884 48 00 00 65 */ bl SetTouchedHalfPipeRecently__10CMorphBallFb -/* 800F1928 000EE888 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F192C 000EE88C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F1930 000EE890 D0 1F 1D FC */ stfs f0, 0x1dfc(r31) -/* 800F1934 000EE894 D0 1F 1E 00 */ stfs f0, 0x1e00(r31) -/* 800F1938 000EE898 80 7F 00 00 */ lwz r3, 0(r31) -/* 800F193C 000EE89C 48 02 8B 95 */ bl SetCollisionAccuracyModifier__13CPhysicsActorFf -/* 800F1940 000EE8A0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F1944 000EE8A4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 800F1948 000EE8A8 D0 1F 1E 08 */ stfs f0, 0x1e08(r31) -/* 800F194C 000EE8AC C0 03 00 04 */ lfs f0, 4(r3) -/* 800F1950 000EE8B0 D0 1F 1E 0C */ stfs f0, 0x1e0c(r31) -/* 800F1954 000EE8B4 C0 03 00 08 */ lfs f0, 8(r3) -/* 800F1958 000EE8B8 D0 1F 1E 10 */ stfs f0, 0x1e10(r31) -/* 800F195C 000EE8BC C0 03 00 00 */ lfs f0, 0(r3) -/* 800F1960 000EE8C0 D0 1F 1E 14 */ stfs f0, 0x1e14(r31) -/* 800F1964 000EE8C4 C0 03 00 04 */ lfs f0, 4(r3) -/* 800F1968 000EE8C8 D0 1F 1E 18 */ stfs f0, 0x1e18(r31) -/* 800F196C 000EE8CC C0 03 00 08 */ lfs f0, 8(r3) -/* 800F1970 000EE8D0 D0 1F 1E 1C */ stfs f0, 0x1e1c(r31) -/* 800F1974 000EE8D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F1978 000EE8D8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F197C 000EE8DC 7C 08 03 A6 */ mtlr r0 -/* 800F1980 000EE8E0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F1984 000EE8E4 4E 80 00 20 */ blr - -.global SetTouchedHalfPipeRecently__10CMorphBallFb -SetTouchedHalfPipeRecently__10CMorphBallFb: -/* 800F1988 000EE8E8 88 03 1D F8 */ lbz r0, 0x1df8(r3) -/* 800F198C 000EE8EC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800F1990 000EE8F0 98 03 1D F8 */ stb r0, 0x1df8(r3) -/* 800F1994 000EE8F4 4E 80 00 20 */ blr - -.global GetTouchedHalfPipeRecently__10CMorphBallCFv -GetTouchedHalfPipeRecently__10CMorphBallCFv: -/* 800F1998 000EE8F8 88 03 1D F8 */ lbz r0, 0x1df8(r3) -/* 800F199C 000EE8FC 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f -/* 800F19A0 000EE900 4E 80 00 20 */ blr - -.global SetIsInHalfPipeModeInAir__10CMorphBallFb -SetIsInHalfPipeModeInAir__10CMorphBallFb: -/* 800F19A4 000EE904 88 03 1D F8 */ lbz r0, 0x1df8(r3) -/* 800F19A8 000EE908 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 800F19AC 000EE90C 98 03 1D F8 */ stb r0, 0x1df8(r3) -/* 800F19B0 000EE910 4E 80 00 20 */ blr - -.global GetIsInHalfPipeModeInAir__10CMorphBallCFv -GetIsInHalfPipeModeInAir__10CMorphBallCFv: -/* 800F19B4 000EE914 88 03 1D F8 */ lbz r0, 0x1df8(r3) -/* 800F19B8 000EE918 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f -/* 800F19BC 000EE91C 4E 80 00 20 */ blr - -.global SetIsInHalfPipeMode__10CMorphBallFb -SetIsInHalfPipeMode__10CMorphBallFb: -/* 800F19C0 000EE920 88 03 1D F8 */ lbz r0, 0x1df8(r3) -/* 800F19C4 000EE924 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800F19C8 000EE928 98 03 1D F8 */ stb r0, 0x1df8(r3) -/* 800F19CC 000EE92C 4E 80 00 20 */ blr - -.global GetIsInHalfPipeMode__10CMorphBallCFv -GetIsInHalfPipeMode__10CMorphBallCFv: -/* 800F19D0 000EE930 88 03 1D F8 */ lbz r0, 0x1df8(r3) -/* 800F19D4 000EE934 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 800F19D8 000EE938 4E 80 00 20 */ blr - -.global UpdateHalfPipeStatus__10CMorphBallFR13CStateManagerf -UpdateHalfPipeStatus__10CMorphBallFR13CStateManagerf: -/* 800F19DC 000EE93C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800F19E0 000EE940 7C 08 02 A6 */ mflr r0 -/* 800F19E4 000EE944 90 01 00 34 */ stw r0, 0x34(r1) -/* 800F19E8 000EE948 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 800F19EC 000EE94C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 800F19F0 000EE950 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800F19F4 000EE954 7C 7F 1B 78 */ mr r31, r3 -/* 800F19F8 000EE958 C0 03 1D FC */ lfs f0, 0x1dfc(r3) -/* 800F19FC 000EE95C EC 00 08 28 */ fsubs f0, f0, f1 -/* 800F1A00 000EE960 D0 03 1D FC */ stfs f0, 0x1dfc(r3) -/* 800F1A04 000EE964 C0 4D 88 C4 */ lfs f2, lbl_805A7484@sda21(r13) -/* 800F1A08 000EE968 C0 03 1D FC */ lfs f0, 0x1dfc(r3) -/* 800F1A0C 000EE96C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800F1A10 000EE970 40 80 00 0C */ bge lbl_800F1A1C -/* 800F1A14 000EE974 38 7F 1D FC */ addi r3, r31, 0x1dfc -/* 800F1A18 000EE978 48 00 00 08 */ b lbl_800F1A20 -lbl_800F1A1C: -/* 800F1A1C 000EE97C 38 6D 88 C4 */ addi r3, r13, lbl_805A7484@sda21 -lbl_800F1A20: -/* 800F1A20 000EE980 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F1A24 000EE984 D0 1F 1D FC */ stfs f0, 0x1dfc(r31) -/* 800F1A28 000EE988 C0 1F 1E 04 */ lfs f0, 0x1e04(r31) -/* 800F1A2C 000EE98C EC 00 08 28 */ fsubs f0, f0, f1 -/* 800F1A30 000EE990 D0 1F 1E 04 */ stfs f0, 0x1e04(r31) -/* 800F1A34 000EE994 C0 2D 88 C8 */ lfs f1, lbl_805A7488@sda21(r13) -/* 800F1A38 000EE998 C0 1F 1E 04 */ lfs f0, 0x1e04(r31) -/* 800F1A3C 000EE99C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F1A40 000EE9A0 40 80 00 0C */ bge lbl_800F1A4C -/* 800F1A44 000EE9A4 38 7F 1E 04 */ addi r3, r31, 0x1e04 -/* 800F1A48 000EE9A8 48 00 00 08 */ b lbl_800F1A50 -lbl_800F1A4C: -/* 800F1A4C 000EE9AC 38 6D 88 C8 */ addi r3, r13, lbl_805A7488@sda21 -lbl_800F1A50: -/* 800F1A50 000EE9B0 C0 23 00 00 */ lfs f1, 0(r3) -/* 800F1A54 000EE9B4 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F1A58 000EE9B8 D0 3F 1E 04 */ stfs f1, 0x1e04(r31) -/* 800F1A5C 000EE9BC C0 3F 1D FC */ lfs f1, 0x1dfc(r31) -/* 800F1A60 000EE9C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F1A64 000EE9C4 40 81 00 D8 */ ble lbl_800F1B3C -/* 800F1A68 000EE9C8 38 61 00 08 */ addi r3, r1, 8 -/* 800F1A6C 000EE9CC 38 9F 1C D0 */ addi r4, r31, 0x1cd0 -/* 800F1A70 000EE9D0 4B FF EA FD */ bl "GetAverage__22TReservedAverageCFv" -/* 800F1A74 000EE9D4 C3 E1 00 08 */ lfs f31, 8(r1) -/* 800F1A78 000EE9D8 38 00 00 00 */ li r0, 0 -/* 800F1A7C 000EE9DC C0 02 92 5C */ lfs f0, lbl_805AAF7C@sda21(r2) -/* 800F1A80 000EE9E0 98 01 00 0C */ stb r0, 0xc(r1) -/* 800F1A84 000EE9E4 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F1A88 000EE9E8 41 81 00 20 */ bgt lbl_800F1AA8 -/* 800F1A8C 000EE9EC 7F E3 FB 78 */ mr r3, r31 -/* 800F1A90 000EE9F0 4B FF FF 41 */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F1A94 000EE9F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F1A98 000EE9F8 41 82 00 98 */ beq lbl_800F1B30 -/* 800F1A9C 000EE9FC C0 02 92 60 */ lfs f0, lbl_805AAF80@sda21(r2) -/* 800F1AA0 000EEA00 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F1AA4 000EEA04 40 81 00 8C */ ble lbl_800F1B30 -lbl_800F1AA8: -/* 800F1AA8 000EEA08 7F E3 FB 78 */ mr r3, r31 -/* 800F1AAC 000EEA0C 38 80 00 01 */ li r4, 1 -/* 800F1AB0 000EEA10 4B FF FF 11 */ bl SetIsInHalfPipeMode__10CMorphBallFb -/* 800F1AB4 000EEA14 88 1F 1D F8 */ lbz r0, 0x1df8(r31) -/* 800F1AB8 000EEA18 7F E3 FB 78 */ mr r3, r31 -/* 800F1ABC 000EEA1C 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f -/* 800F1AC0 000EEA20 7C 00 00 34 */ cntlzw r0, r0 -/* 800F1AC4 000EEA24 54 04 D9 7E */ srwi r4, r0, 5 -/* 800F1AC8 000EEA28 4B FF FE DD */ bl SetIsInHalfPipeModeInAir__10CMorphBallFb -/* 800F1ACC 000EEA2C C0 3F 1E 04 */ lfs f1, 0x1e04(r31) -/* 800F1AD0 000EEA30 7F E3 FB 78 */ mr r3, r31 -/* 800F1AD4 000EEA34 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F1AD8 000EEA38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F1ADC 000EEA3C 7C 00 00 26 */ mfcr r0 -/* 800F1AE0 000EEA40 54 04 17 FE */ rlwinm r4, r0, 2, 0x1f, 0x1f -/* 800F1AE4 000EEA44 4B FF FE A5 */ bl SetTouchedHalfPipeRecently__10CMorphBallFb -/* 800F1AE8 000EEA48 7F E3 FB 78 */ mr r3, r31 -/* 800F1AEC 000EEA4C 4B FF FE C9 */ bl GetIsInHalfPipeModeInAir__10CMorphBallCFv -/* 800F1AF0 000EEA50 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F1AF4 000EEA54 41 82 00 50 */ beq lbl_800F1B44 -/* 800F1AF8 000EEA58 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F1AFC 000EEA5C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 800F1B00 000EEA60 D0 1F 1E 08 */ stfs f0, 0x1e08(r31) -/* 800F1B04 000EEA64 C0 03 00 04 */ lfs f0, 4(r3) -/* 800F1B08 000EEA68 D0 1F 1E 0C */ stfs f0, 0x1e0c(r31) -/* 800F1B0C 000EEA6C C0 03 00 08 */ lfs f0, 8(r3) -/* 800F1B10 000EEA70 D0 1F 1E 10 */ stfs f0, 0x1e10(r31) -/* 800F1B14 000EEA74 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F1B18 000EEA78 D0 1F 1E 14 */ stfs f0, 0x1e14(r31) -/* 800F1B1C 000EEA7C C0 03 00 04 */ lfs f0, 4(r3) -/* 800F1B20 000EEA80 D0 1F 1E 18 */ stfs f0, 0x1e18(r31) -/* 800F1B24 000EEA84 C0 03 00 08 */ lfs f0, 8(r3) -/* 800F1B28 000EEA88 D0 1F 1E 1C */ stfs f0, 0x1e1c(r31) -/* 800F1B2C 000EEA8C 48 00 00 18 */ b lbl_800F1B44 -lbl_800F1B30: -/* 800F1B30 000EEA90 7F E3 FB 78 */ mr r3, r31 -/* 800F1B34 000EEA94 4B FF FD C1 */ bl DisableHalfPipeStatus__10CMorphBallFv -/* 800F1B38 000EEA98 48 00 00 0C */ b lbl_800F1B44 -lbl_800F1B3C: -/* 800F1B3C 000EEA9C 7F E3 FB 78 */ mr r3, r31 -/* 800F1B40 000EEAA0 4B FF FD B5 */ bl DisableHalfPipeStatus__10CMorphBallFv -lbl_800F1B44: -/* 800F1B44 000EEAA4 7F E3 FB 78 */ mr r3, r31 -/* 800F1B48 000EEAA8 4B FF FE 89 */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F1B4C 000EEAAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F1B50 000EEAB0 41 82 00 14 */ beq lbl_800F1B64 -/* 800F1B54 000EEAB4 80 7F 00 00 */ lwz r3, 0(r31) -/* 800F1B58 000EEAB8 C0 22 91 58 */ lfs f1, lbl_805AAE78@sda21(r2) -/* 800F1B5C 000EEABC 48 02 89 75 */ bl SetCollisionAccuracyModifier__13CPhysicsActorFf -/* 800F1B60 000EEAC0 48 00 00 10 */ b lbl_800F1B70 -lbl_800F1B64: -/* 800F1B64 000EEAC4 80 7F 00 00 */ lwz r3, 0(r31) -/* 800F1B68 000EEAC8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F1B6C 000EEACC 48 02 89 65 */ bl SetCollisionAccuracyModifier__13CPhysicsActorFf -lbl_800F1B70: -/* 800F1B70 000EEAD0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 800F1B74 000EEAD4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800F1B78 000EEAD8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 800F1B7C 000EEADC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800F1B80 000EEAE0 7C 08 03 A6 */ mtlr r0 -/* 800F1B84 000EEAE4 38 21 00 30 */ addi r1, r1, 0x30 -/* 800F1B88 000EEAE8 4E 80 00 20 */ blr - -.global RenderDamageEffects__10CMorphBallCFRC13CStateManagerRC12CTransform4f -RenderDamageEffects__10CMorphBallCFRC13CStateManagerRC12CTransform4f: -/* 800F1B8C 000EEAEC 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 800F1B90 000EEAF0 7C 08 02 A6 */ mflr r0 -/* 800F1B94 000EEAF4 90 01 01 34 */ stw r0, 0x134(r1) -/* 800F1B98 000EEAF8 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 800F1B9C 000EEAFC F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 800F1BA0 000EEB00 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 800F1BA4 000EEB04 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 800F1BA8 000EEB08 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 800F1BAC 000EEB0C F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 800F1BB0 000EEB10 DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 800F1BB4 000EEB14 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 800F1BB8 000EEB18 DB 61 00 E0 */ stfd f27, 0xe0(r1) -/* 800F1BBC 000EEB1C F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 -/* 800F1BC0 000EEB20 DB 41 00 D0 */ stfd f26, 0xd0(r1) -/* 800F1BC4 000EEB24 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 -/* 800F1BC8 000EEB28 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 800F1BCC 000EEB2C 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 800F1BD0 000EEB30 93 A1 00 C4 */ stw r29, 0xc4(r1) -/* 800F1BD4 000EEB34 7C 7D 1B 78 */ mr r29, r3 -/* 800F1BD8 000EEB38 7C BE 2B 78 */ mr r30, r5 -/* 800F1BDC 000EEB3C 38 61 00 0C */ addi r3, r1, 0xc -/* 800F1BE0 000EEB40 38 80 00 63 */ li r4, 0x63 -/* 800F1BE4 000EEB44 48 22 0A 09 */ bl __ct__9CRandom16FUi -/* 800F1BE8 000EEB48 C0 22 91 E4 */ lfs f1, lbl_805AAF04@sda21(r2) -/* 800F1BEC 000EEB4C 38 61 00 08 */ addi r3, r1, 8 -/* 800F1BF0 000EEB50 C0 7D 1E 44 */ lfs f3, 0x1e44(r29) -/* 800F1BF4 000EEB54 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) -/* 800F1BF8 000EEB58 EC 41 00 F2 */ fmuls f2, f1, f3 -/* 800F1BFC 000EEB5C C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) -/* 800F1C00 000EEB60 EC 20 00 F2 */ fmuls f1, f0, f3 -/* 800F1C04 000EEB64 FC 60 10 90 */ fmr f3, f2 -/* 800F1C08 000EEB68 48 27 17 E5 */ bl __ct__6CColorFffff -/* 800F1C0C 000EEB6C 38 80 00 03 */ li r4, 3 -/* 800F1C10 000EEB70 80 61 00 08 */ lwz r3, 8(r1) -/* 800F1C14 000EEB74 54 80 00 3A */ rlwinm r0, r4, 0, 0, 0x1d -/* 800F1C18 000EEB78 38 C0 00 07 */ li r6, 7 -/* 800F1C1C 000EEB7C 38 A0 00 00 */ li r5, 0 -/* 800F1C20 000EEB80 98 C1 00 10 */ stb r6, 0x10(r1) -/* 800F1C24 000EEB84 60 00 00 01 */ ori r0, r0, 1 -/* 800F1C28 000EEB88 C3 A2 92 64 */ lfs f29, lbl_805AAF84@sda21(r2) -/* 800F1C2C 000EEB8C 98 A1 00 11 */ stb r5, 0x11(r1) -/* 800F1C30 000EEB90 3B E0 00 00 */ li r31, 0 -/* 800F1C34 000EEB94 C3 C2 92 68 */ lfs f30, lbl_805AAF88@sda21(r2) -/* 800F1C38 000EEB98 B0 81 00 12 */ sth r4, 0x12(r1) -/* 800F1C3C 000EEB9C C3 E2 92 54 */ lfs f31, lbl_805AAF74@sda21(r2) -/* 800F1C40 000EEBA0 90 61 00 14 */ stw r3, 0x14(r1) -/* 800F1C44 000EEBA4 98 C1 00 18 */ stb r6, 0x18(r1) -/* 800F1C48 000EEBA8 98 A1 00 19 */ stb r5, 0x19(r1) -/* 800F1C4C 000EEBAC B0 01 00 1A */ sth r0, 0x1a(r1) -/* 800F1C50 000EEBB0 90 61 00 1C */ stw r3, 0x1c(r1) -lbl_800F1C54: -/* 800F1C54 000EEBB4 38 61 00 0C */ addi r3, r1, 0xc -/* 800F1C58 000EEBB8 48 22 08 85 */ bl Float__9CRandom16Fv -/* 800F1C5C 000EEBBC FF 40 08 90 */ fmr f26, f1 -/* 800F1C60 000EEBC0 38 61 00 0C */ addi r3, r1, 0xc -/* 800F1C64 000EEBC4 48 22 08 79 */ bl Float__9CRandom16Fv -/* 800F1C68 000EEBC8 FF 60 08 90 */ fmr f27, f1 -/* 800F1C6C 000EEBCC 38 61 00 0C */ addi r3, r1, 0xc -/* 800F1C70 000EEBD0 48 22 08 6D */ bl Float__9CRandom16Fv -/* 800F1C74 000EEBD4 FF 80 08 90 */ fmr f28, f1 -/* 800F1C78 000EEBD8 38 61 00 0C */ addi r3, r1, 0xc -/* 800F1C7C 000EEBDC 48 22 08 61 */ bl Float__9CRandom16Fv -/* 800F1C80 000EEBE0 EC 3D 00 72 */ fmuls f1, f29, f1 -/* 800F1C84 000EEBE4 C0 1D 1E 4C */ lfs f0, 0x1e4c(r29) -/* 800F1C88 000EEBE8 EC 3E 08 3A */ fmadds f1, f30, f0, f1 -/* 800F1C8C 000EEBEC 48 22 31 65 */ bl FastSinR__5CMathFf -/* 800F1C90 000EEBF0 C0 1D 1E 44 */ lfs f0, 0x1e44(r29) -/* 800F1C94 000EEBF4 38 61 00 2C */ addi r3, r1, 0x2c -/* 800F1C98 000EEBF8 38 81 00 20 */ addi r4, r1, 0x20 -/* 800F1C9C 000EEBFC EC 00 00 72 */ fmuls f0, f0, f1 -/* 800F1CA0 000EEC00 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800F1CA4 000EEC04 EC 5A 00 32 */ fmuls f2, f26, f0 -/* 800F1CA8 000EEC08 EC 3B 00 32 */ fmuls f1, f27, f0 -/* 800F1CAC 000EEC0C EC 1C 00 32 */ fmuls f0, f28, f0 -/* 800F1CB0 000EEC10 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 800F1CB4 000EEC14 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800F1CB8 000EEC18 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800F1CBC 000EEC1C 48 22 14 85 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800F1CC0 000EEC20 7F C4 F3 78 */ mr r4, r30 -/* 800F1CC4 000EEC24 38 61 00 5C */ addi r3, r1, 0x5c -/* 800F1CC8 000EEC28 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800F1CCC 000EEC2C 48 22 0C 85 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800F1CD0 000EEC30 38 61 00 8C */ addi r3, r1, 0x8c -/* 800F1CD4 000EEC34 38 81 00 5C */ addi r4, r1, 0x5c -/* 800F1CD8 000EEC38 48 22 0E 9D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F1CDC 000EEC3C 80 7D 00 68 */ lwz r3, 0x68(r29) -/* 800F1CE0 000EEC40 38 A1 00 8C */ addi r5, r1, 0x8c -/* 800F1CE4 000EEC44 38 E1 00 18 */ addi r7, r1, 0x18 -/* 800F1CE8 000EEC48 38 80 00 00 */ li r4, 0 -/* 800F1CEC 000EEC4C 38 C0 00 00 */ li r6, 0 -/* 800F1CF0 000EEC50 48 02 42 D5 */ bl FlatDraw__10CModelDataF11EWhichModelRC12CTransform4fbRC11CModelFlags -/* 800F1CF4 000EEC54 3B FF 00 01 */ addi r31, r31, 1 -/* 800F1CF8 000EEC58 2C 1F 00 05 */ cmpwi r31, 5 -/* 800F1CFC 000EEC5C 41 80 FF 58 */ blt lbl_800F1C54 -/* 800F1D00 000EEC60 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 800F1D04 000EEC64 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 800F1D08 000EEC68 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 800F1D0C 000EEC6C CB C1 01 10 */ lfd f30, 0x110(r1) -/* 800F1D10 000EEC70 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 800F1D14 000EEC74 CB A1 01 00 */ lfd f29, 0x100(r1) -/* 800F1D18 000EEC78 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 800F1D1C 000EEC7C CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 800F1D20 000EEC80 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 -/* 800F1D24 000EEC84 CB 61 00 E0 */ lfd f27, 0xe0(r1) -/* 800F1D28 000EEC88 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 -/* 800F1D2C 000EEC8C CB 41 00 D0 */ lfd f26, 0xd0(r1) -/* 800F1D30 000EEC90 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 800F1D34 000EEC94 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 800F1D38 000EEC98 80 01 01 34 */ lwz r0, 0x134(r1) -/* 800F1D3C 000EEC9C 83 A1 00 C4 */ lwz r29, 0xc4(r1) -/* 800F1D40 000EECA0 7C 08 03 A6 */ mtlr r0 -/* 800F1D44 000EECA4 38 21 01 30 */ addi r1, r1, 0x130 -/* 800F1D48 000EECA8 4E 80 00 20 */ blr - -.global RenderIceBreakEffect__10CMorphBallCFRC13CStateManager -RenderIceBreakEffect__10CMorphBallCFRC13CStateManager: -/* 800F1D4C 000EECAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F1D50 000EECB0 7C 08 02 A6 */ mflr r0 -/* 800F1D54 000EECB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F1D58 000EECB8 80 63 19 E0 */ lwz r3, 0x19e0(r3) -/* 800F1D5C 000EECBC 28 03 00 00 */ cmplwi r3, 0 -/* 800F1D60 000EECC0 41 82 00 14 */ beq lbl_800F1D74 -/* 800F1D64 000EECC4 81 83 00 00 */ lwz r12, 0(r3) -/* 800F1D68 000EECC8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F1D6C 000EECCC 7D 89 03 A6 */ mtctr r12 -/* 800F1D70 000EECD0 4E 80 04 21 */ bctrl -lbl_800F1D74: -/* 800F1D74 000EECD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F1D78 000EECD8 7C 08 03 A6 */ mtlr r0 -/* 800F1D7C 000EECDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F1D80 000EECE0 4E 80 00 20 */ blr - -.global UpdateIceBreakEffect__10CMorphBallFf -UpdateIceBreakEffect__10CMorphBallFf: -/* 800F1D84 000EECE4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 800F1D88 000EECE8 7C 08 02 A6 */ mflr r0 -/* 800F1D8C 000EECEC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 800F1D90 000EECF0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 800F1D94 000EECF4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 800F1D98 000EECF8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 800F1D9C 000EECFC 93 C1 00 88 */ stw r30, 0x88(r1) -/* 800F1DA0 000EED00 93 A1 00 84 */ stw r29, 0x84(r1) -/* 800F1DA4 000EED04 7C 7F 1B 78 */ mr r31, r3 -/* 800F1DA8 000EED08 FF E0 08 90 */ fmr f31, f1 -/* 800F1DAC 000EED0C 80 03 19 E0 */ lwz r0, 0x19e0(r3) -/* 800F1DB0 000EED10 28 00 00 00 */ cmplwi r0, 0 -/* 800F1DB4 000EED14 40 82 00 D0 */ bne lbl_800F1E84 -/* 800F1DB8 000EED18 88 1F 19 B4 */ lbz r0, 0x19b4(r31) -/* 800F1DBC 000EED1C 28 00 00 00 */ cmplwi r0, 0 -/* 800F1DC0 000EED20 41 82 00 C4 */ beq lbl_800F1E84 -/* 800F1DC4 000EED24 80 7F 19 B0 */ lwz r3, 0x19b0(r31) -/* 800F1DC8 000EED28 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800F1DCC 000EED2C 28 00 00 00 */ cmplwi r0, 0 -/* 800F1DD0 000EED30 41 82 00 B4 */ beq lbl_800F1E84 -/* 800F1DD4 000EED34 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F1DD8 000EED38 3B A0 00 00 */ li r29, 0 -/* 800F1DDC 000EED3C 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F1DE0 000EED40 38 60 03 40 */ li r3, 0x340 -/* 800F1DE4 000EED44 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F1DE8 000EED48 38 A0 00 00 */ li r5, 0 -/* 800F1DEC 000EED4C 48 22 3A 81 */ bl __nw__FUlPCcPCc -/* 800F1DF0 000EED50 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800F1DF4 000EED54 41 82 00 2C */ beq lbl_800F1E20 -/* 800F1DF8 000EED58 38 61 00 08 */ addi r3, r1, 8 -/* 800F1DFC 000EED5C 38 9F 19 B0 */ addi r4, r31, 0x19b0 -/* 800F1E00 000EED60 48 24 F0 A9 */ bl __ct__6CTokenFRC6CToken -/* 800F1E04 000EED64 7F C3 F3 78 */ mr r3, r30 -/* 800F1E08 000EED68 38 81 00 08 */ addi r4, r1, 8 -/* 800F1E0C 000EED6C 3B A0 00 01 */ li r29, 1 -/* 800F1E10 000EED70 38 A0 00 00 */ li r5, 0 -/* 800F1E14 000EED74 38 C0 00 01 */ li r6, 1 -/* 800F1E18 000EED78 48 22 D5 C9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800F1E1C 000EED7C 7C 7E 1B 78 */ mr r30, r3 -lbl_800F1E20: -/* 800F1E20 000EED80 80 7F 19 E0 */ lwz r3, 0x19e0(r31) -/* 800F1E24 000EED84 28 03 00 00 */ cmplwi r3, 0 -/* 800F1E28 000EED88 41 82 00 18 */ beq lbl_800F1E40 -/* 800F1E2C 000EED8C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F1E30 000EED90 38 80 00 01 */ li r4, 1 -/* 800F1E34 000EED94 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F1E38 000EED98 7D 89 03 A6 */ mtctr r12 -/* 800F1E3C 000EED9C 4E 80 04 21 */ bctrl -lbl_800F1E40: -/* 800F1E40 000EEDA0 7F A0 07 75 */ extsb. r0, r29 -/* 800F1E44 000EEDA4 93 DF 19 E0 */ stw r30, 0x19e0(r31) -/* 800F1E48 000EEDA8 41 82 00 10 */ beq lbl_800F1E58 -/* 800F1E4C 000EEDAC 38 61 00 08 */ addi r3, r1, 8 -/* 800F1E50 000EEDB0 38 80 00 00 */ li r4, 0 -/* 800F1E54 000EEDB4 48 24 EF ED */ bl __dt__6CTokenFv -lbl_800F1E58: -/* 800F1E58 000EEDB8 80 9F 00 00 */ lwz r4, 0(r31) -/* 800F1E5C 000EEDBC 38 61 00 4C */ addi r3, r1, 0x4c -/* 800F1E60 000EEDC0 83 DF 19 E0 */ lwz r30, 0x19e0(r31) -/* 800F1E64 000EEDC4 38 84 00 34 */ addi r4, r4, 0x34 -/* 800F1E68 000EEDC8 48 22 0D D9 */ bl GetRotation__12CTransform4fCFv -/* 800F1E6C 000EEDCC 7F C3 F3 78 */ mr r3, r30 -/* 800F1E70 000EEDD0 38 81 00 4C */ addi r4, r1, 0x4c -/* 800F1E74 000EEDD4 81 9E 00 00 */ lwz r12, 0(r30) -/* 800F1E78 000EEDD8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800F1E7C 000EEDDC 7D 89 03 A6 */ mtctr r12 -/* 800F1E80 000EEDE0 4E 80 04 21 */ bctrl -lbl_800F1E84: -/* 800F1E84 000EEDE4 80 7F 19 E0 */ lwz r3, 0x19e0(r31) -/* 800F1E88 000EEDE8 28 03 00 00 */ cmplwi r3, 0 -/* 800F1E8C 000EEDEC 41 82 00 A4 */ beq lbl_800F1F30 -/* 800F1E90 000EEDF0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F1E94 000EEDF4 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 800F1E98 000EEDF8 7D 89 03 A6 */ mtctr r12 -/* 800F1E9C 000EEDFC 4E 80 04 21 */ bctrl -/* 800F1EA0 000EEE00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F1EA4 000EEE04 41 82 00 38 */ beq lbl_800F1EDC -/* 800F1EA8 000EEE08 80 7F 19 E0 */ lwz r3, 0x19e0(r31) -/* 800F1EAC 000EEE0C 28 03 00 00 */ cmplwi r3, 0 -/* 800F1EB0 000EEE10 41 82 00 18 */ beq lbl_800F1EC8 -/* 800F1EB4 000EEE14 81 83 00 00 */ lwz r12, 0(r3) -/* 800F1EB8 000EEE18 38 80 00 01 */ li r4, 1 -/* 800F1EBC 000EEE1C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F1EC0 000EEE20 7D 89 03 A6 */ mtctr r12 -/* 800F1EC4 000EEE24 4E 80 04 21 */ bctrl -lbl_800F1EC8: -/* 800F1EC8 000EEE28 38 00 00 00 */ li r0, 0 -/* 800F1ECC 000EEE2C 38 7F 19 B0 */ addi r3, r31, 0x19b0 -/* 800F1ED0 000EEE30 90 1F 19 E0 */ stw r0, 0x19e0(r31) -/* 800F1ED4 000EEE34 48 24 EE 6D */ bl Unlock__6CTokenFv -/* 800F1ED8 000EEE38 48 00 00 58 */ b lbl_800F1F30 -lbl_800F1EDC: -/* 800F1EDC 000EEE3C 7F E4 FB 78 */ mr r4, r31 -/* 800F1EE0 000EEE40 38 61 00 1C */ addi r3, r1, 0x1c -/* 800F1EE4 000EEE44 48 00 48 11 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F1EE8 000EEE48 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 800F1EEC 000EEE4C 38 81 00 10 */ addi r4, r1, 0x10 -/* 800F1EF0 000EEE50 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 800F1EF4 000EEE54 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 800F1EF8 000EEE58 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800F1EFC 000EEE5C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800F1F00 000EEE60 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800F1F04 000EEE64 80 7F 19 E0 */ lwz r3, 0x19e0(r31) -/* 800F1F08 000EEE68 81 83 00 00 */ lwz r12, 0(r3) -/* 800F1F0C 000EEE6C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800F1F10 000EEE70 7D 89 03 A6 */ mtctr r12 -/* 800F1F14 000EEE74 4E 80 04 21 */ bctrl -/* 800F1F18 000EEE78 80 7F 19 E0 */ lwz r3, 0x19e0(r31) -/* 800F1F1C 000EEE7C FC 20 F8 90 */ fmr f1, f31 -/* 800F1F20 000EEE80 81 83 00 00 */ lwz r12, 0(r3) -/* 800F1F24 000EEE84 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F1F28 000EEE88 7D 89 03 A6 */ mtctr r12 -/* 800F1F2C 000EEE8C 4E 80 04 21 */ bctrl -lbl_800F1F30: -/* 800F1F30 000EEE90 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 800F1F34 000EEE94 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 800F1F38 000EEE98 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 800F1F3C 000EEE9C 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 800F1F40 000EEEA0 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 800F1F44 000EEEA4 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 800F1F48 000EEEA8 7C 08 03 A6 */ mtlr r0 -/* 800F1F4C 000EEEAC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 800F1F50 000EEEB0 4E 80 00 20 */ blr - -.global Stop__10CMorphBallFv -Stop__10CMorphBallFv: -/* 800F1F54 000EEEB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F1F58 000EEEB8 7C 08 02 A6 */ mflr r0 -/* 800F1F5C 000EEEBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F1F60 000EEEC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F1F64 000EEEC4 7C 7F 1B 78 */ mr r31, r3 -/* 800F1F68 000EEEC8 38 7F 19 B0 */ addi r3, r31, 0x19b0 -/* 800F1F6C 000EEECC 48 24 EE 19 */ bl Lock__6CTokenFv -/* 800F1F70 000EEED0 80 7F 19 E0 */ lwz r3, 0x19e0(r31) -/* 800F1F74 000EEED4 28 03 00 00 */ cmplwi r3, 0 -/* 800F1F78 000EEED8 41 82 00 18 */ beq lbl_800F1F90 -/* 800F1F7C 000EEEDC 81 83 00 00 */ lwz r12, 0(r3) -/* 800F1F80 000EEEE0 38 80 00 01 */ li r4, 1 -/* 800F1F84 000EEEE4 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F1F88 000EEEE8 7D 89 03 A6 */ mtctr r12 -/* 800F1F8C 000EEEEC 4E 80 04 21 */ bctrl -lbl_800F1F90: -/* 800F1F90 000EEEF0 38 00 00 00 */ li r0, 0 -/* 800F1F94 000EEEF4 90 1F 19 E0 */ stw r0, 0x19e0(r31) -/* 800F1F98 000EEEF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F1F9C 000EEEFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F1FA0 000EEF00 7C 08 03 A6 */ mtlr r0 -/* 800F1FA4 000EEF04 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F1FA8 000EEF08 4E 80 00 20 */ blr - -.global IsMorphBallTransitionFlashValid__10CMorphBallCFv -IsMorphBallTransitionFlashValid__10CMorphBallCFv: -/* 800F1FAC 000EEF0C 80 63 19 DC */ lwz r3, 0x19dc(r3) -/* 800F1FB0 000EEF10 7C 03 00 D0 */ neg r0, r3 -/* 800F1FB4 000EEF14 7C 00 1B 78 */ or r0, r0, r3 -/* 800F1FB8 000EEF18 54 03 0F FE */ srwi r3, r0, 0x1f -/* 800F1FBC 000EEF1C 4E 80 00 20 */ blr - -.global RenderMorphBallTransitionFlash__10CMorphBallCFRC13CStateManager -RenderMorphBallTransitionFlash__10CMorphBallCFRC13CStateManager: -/* 800F1FC0 000EEF20 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F1FC4 000EEF24 7C 08 02 A6 */ mflr r0 -/* 800F1FC8 000EEF28 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F1FCC 000EEF2C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800F1FD0 000EEF30 7C 7F 1B 78 */ mr r31, r3 -/* 800F1FD4 000EEF34 80 63 19 DC */ lwz r3, 0x19dc(r3) -/* 800F1FD8 000EEF38 28 03 00 00 */ cmplwi r3, 0 -/* 800F1FDC 000EEF3C 41 82 00 60 */ beq lbl_800F203C -/* 800F1FE0 000EEF40 80 BF 00 08 */ lwz r5, 8(r31) -/* 800F1FE4 000EEF44 38 00 00 FF */ li r0, 0xff -/* 800F1FE8 000EEF48 3C 80 80 3D */ lis r4, lbl_803CEAEC@ha -/* 800F1FEC 000EEF4C 98 01 00 0B */ stb r0, 0xb(r1) -/* 800F1FF0 000EEF50 1C C5 00 03 */ mulli r6, r5, 3 -/* 800F1FF4 000EEF54 38 A4 EA EC */ addi r5, r4, lbl_803CEAEC@l -/* 800F1FF8 000EEF58 38 81 00 08 */ addi r4, r1, 8 -/* 800F1FFC 000EEF5C 7C A5 32 14 */ add r5, r5, r6 -/* 800F2000 000EEF60 88 E5 00 02 */ lbz r7, 2(r5) -/* 800F2004 000EEF64 88 C5 00 01 */ lbz r6, 1(r5) -/* 800F2008 000EEF68 88 05 00 00 */ lbz r0, 0(r5) -/* 800F200C 000EEF6C 98 C1 00 09 */ stb r6, 9(r1) -/* 800F2010 000EEF70 98 01 00 08 */ stb r0, 8(r1) -/* 800F2014 000EEF74 98 E1 00 0A */ stb r7, 0xa(r1) -/* 800F2018 000EEF78 81 83 00 00 */ lwz r12, 0(r3) -/* 800F201C 000EEF7C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F2020 000EEF80 7D 89 03 A6 */ mtctr r12 -/* 800F2024 000EEF84 4E 80 04 21 */ bctrl -/* 800F2028 000EEF88 80 7F 19 DC */ lwz r3, 0x19dc(r31) -/* 800F202C 000EEF8C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2030 000EEF90 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2034 000EEF94 7D 89 03 A6 */ mtctr r12 -/* 800F2038 000EEF98 4E 80 04 21 */ bctrl -lbl_800F203C: -/* 800F203C 000EEF9C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F2040 000EEFA0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800F2044 000EEFA4 7C 08 03 A6 */ mtlr r0 -/* 800F2048 000EEFA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F204C 000EEFAC 4E 80 00 20 */ blr - -.global UpdateMorphBallTransitionFlash__10CMorphBallFf -UpdateMorphBallTransitionFlash__10CMorphBallFf: -/* 800F2050 000EEFB0 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 800F2054 000EEFB4 7C 08 02 A6 */ mflr r0 -/* 800F2058 000EEFB8 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 800F205C 000EEFBC DB E1 00 90 */ stfd f31, 0x90(r1) -/* 800F2060 000EEFC0 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 800F2064 000EEFC4 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 800F2068 000EEFC8 93 C1 00 88 */ stw r30, 0x88(r1) -/* 800F206C 000EEFCC 93 A1 00 84 */ stw r29, 0x84(r1) -/* 800F2070 000EEFD0 7C 7F 1B 78 */ mr r31, r3 -/* 800F2074 000EEFD4 FF E0 08 90 */ fmr f31, f1 -/* 800F2078 000EEFD8 80 03 19 DC */ lwz r0, 0x19dc(r3) -/* 800F207C 000EEFDC 28 00 00 00 */ cmplwi r0, 0 -/* 800F2080 000EEFE0 40 82 00 D0 */ bne lbl_800F2150 -/* 800F2084 000EEFE4 88 1F 19 AC */ lbz r0, 0x19ac(r31) -/* 800F2088 000EEFE8 28 00 00 00 */ cmplwi r0, 0 -/* 800F208C 000EEFEC 41 82 00 C4 */ beq lbl_800F2150 -/* 800F2090 000EEFF0 80 7F 19 A8 */ lwz r3, 0x19a8(r31) -/* 800F2094 000EEFF4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800F2098 000EEFF8 28 00 00 00 */ cmplwi r0, 0 -/* 800F209C 000EEFFC 41 82 00 B4 */ beq lbl_800F2150 -/* 800F20A0 000EF000 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F20A4 000EF004 3B A0 00 00 */ li r29, 0 -/* 800F20A8 000EF008 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F20AC 000EF00C 38 60 03 40 */ li r3, 0x340 -/* 800F20B0 000EF010 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F20B4 000EF014 38 A0 00 00 */ li r5, 0 -/* 800F20B8 000EF018 48 22 37 B5 */ bl __nw__FUlPCcPCc -/* 800F20BC 000EF01C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800F20C0 000EF020 41 82 00 2C */ beq lbl_800F20EC -/* 800F20C4 000EF024 38 61 00 08 */ addi r3, r1, 8 -/* 800F20C8 000EF028 38 9F 19 A8 */ addi r4, r31, 0x19a8 -/* 800F20CC 000EF02C 48 24 ED DD */ bl __ct__6CTokenFRC6CToken -/* 800F20D0 000EF030 7F C3 F3 78 */ mr r3, r30 -/* 800F20D4 000EF034 38 81 00 08 */ addi r4, r1, 8 -/* 800F20D8 000EF038 3B A0 00 01 */ li r29, 1 -/* 800F20DC 000EF03C 38 A0 00 00 */ li r5, 0 -/* 800F20E0 000EF040 38 C0 00 01 */ li r6, 1 -/* 800F20E4 000EF044 48 22 D2 FD */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800F20E8 000EF048 7C 7E 1B 78 */ mr r30, r3 -lbl_800F20EC: -/* 800F20EC 000EF04C 80 7F 19 DC */ lwz r3, 0x19dc(r31) -/* 800F20F0 000EF050 28 03 00 00 */ cmplwi r3, 0 -/* 800F20F4 000EF054 41 82 00 18 */ beq lbl_800F210C -/* 800F20F8 000EF058 81 83 00 00 */ lwz r12, 0(r3) -/* 800F20FC 000EF05C 38 80 00 01 */ li r4, 1 -/* 800F2100 000EF060 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F2104 000EF064 7D 89 03 A6 */ mtctr r12 -/* 800F2108 000EF068 4E 80 04 21 */ bctrl -lbl_800F210C: -/* 800F210C 000EF06C 7F A0 07 75 */ extsb. r0, r29 -/* 800F2110 000EF070 93 DF 19 DC */ stw r30, 0x19dc(r31) -/* 800F2114 000EF074 41 82 00 10 */ beq lbl_800F2124 -/* 800F2118 000EF078 38 61 00 08 */ addi r3, r1, 8 -/* 800F211C 000EF07C 38 80 00 00 */ li r4, 0 -/* 800F2120 000EF080 48 24 ED 21 */ bl __dt__6CTokenFv -lbl_800F2124: -/* 800F2124 000EF084 80 9F 00 00 */ lwz r4, 0(r31) -/* 800F2128 000EF088 38 61 00 4C */ addi r3, r1, 0x4c -/* 800F212C 000EF08C 83 DF 19 DC */ lwz r30, 0x19dc(r31) -/* 800F2130 000EF090 38 84 00 34 */ addi r4, r4, 0x34 -/* 800F2134 000EF094 48 22 0B 0D */ bl GetRotation__12CTransform4fCFv -/* 800F2138 000EF098 7F C3 F3 78 */ mr r3, r30 -/* 800F213C 000EF09C 38 81 00 4C */ addi r4, r1, 0x4c -/* 800F2140 000EF0A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 800F2144 000EF0A4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800F2148 000EF0A8 7D 89 03 A6 */ mtctr r12 -/* 800F214C 000EF0AC 4E 80 04 21 */ bctrl -lbl_800F2150: -/* 800F2150 000EF0B0 80 7F 19 DC */ lwz r3, 0x19dc(r31) -/* 800F2154 000EF0B4 28 03 00 00 */ cmplwi r3, 0 -/* 800F2158 000EF0B8 41 82 00 A4 */ beq lbl_800F21FC -/* 800F215C 000EF0BC 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2160 000EF0C0 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 800F2164 000EF0C4 7D 89 03 A6 */ mtctr r12 -/* 800F2168 000EF0C8 4E 80 04 21 */ bctrl -/* 800F216C 000EF0CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F2170 000EF0D0 41 82 00 38 */ beq lbl_800F21A8 -/* 800F2174 000EF0D4 80 7F 19 DC */ lwz r3, 0x19dc(r31) -/* 800F2178 000EF0D8 28 03 00 00 */ cmplwi r3, 0 -/* 800F217C 000EF0DC 41 82 00 18 */ beq lbl_800F2194 -/* 800F2180 000EF0E0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2184 000EF0E4 38 80 00 01 */ li r4, 1 -/* 800F2188 000EF0E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F218C 000EF0EC 7D 89 03 A6 */ mtctr r12 -/* 800F2190 000EF0F0 4E 80 04 21 */ bctrl -lbl_800F2194: -/* 800F2194 000EF0F4 38 00 00 00 */ li r0, 0 -/* 800F2198 000EF0F8 38 7F 19 A8 */ addi r3, r31, 0x19a8 -/* 800F219C 000EF0FC 90 1F 19 DC */ stw r0, 0x19dc(r31) -/* 800F21A0 000EF100 48 24 EB A1 */ bl Unlock__6CTokenFv -/* 800F21A4 000EF104 48 00 00 58 */ b lbl_800F21FC -lbl_800F21A8: -/* 800F21A8 000EF108 7F E4 FB 78 */ mr r4, r31 -/* 800F21AC 000EF10C 38 61 00 1C */ addi r3, r1, 0x1c -/* 800F21B0 000EF110 48 00 45 45 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F21B4 000EF114 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 800F21B8 000EF118 38 81 00 10 */ addi r4, r1, 0x10 -/* 800F21BC 000EF11C C0 21 00 38 */ lfs f1, 0x38(r1) -/* 800F21C0 000EF120 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 800F21C4 000EF124 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800F21C8 000EF128 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800F21CC 000EF12C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800F21D0 000EF130 80 7F 19 DC */ lwz r3, 0x19dc(r31) -/* 800F21D4 000EF134 81 83 00 00 */ lwz r12, 0(r3) -/* 800F21D8 000EF138 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800F21DC 000EF13C 7D 89 03 A6 */ mtctr r12 -/* 800F21E0 000EF140 4E 80 04 21 */ bctrl -/* 800F21E4 000EF144 80 7F 19 DC */ lwz r3, 0x19dc(r31) -/* 800F21E8 000EF148 FC 20 F8 90 */ fmr f1, f31 -/* 800F21EC 000EF14C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F21F0 000EF150 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F21F4 000EF154 7D 89 03 A6 */ mtctr r12 -/* 800F21F8 000EF158 4E 80 04 21 */ bctrl -lbl_800F21FC: -/* 800F21FC 000EF15C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 800F2200 000EF160 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 800F2204 000EF164 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 800F2208 000EF168 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 800F220C 000EF16C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 800F2210 000EF170 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 800F2214 000EF174 7C 08 03 A6 */ mtlr r0 -/* 800F2218 000EF178 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 800F221C 000EF17C 4E 80 00 20 */ blr - -.global ResetMorphBallTransitionFlash__10CMorphBallFv -ResetMorphBallTransitionFlash__10CMorphBallFv: -/* 800F2220 000EF180 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F2224 000EF184 7C 08 02 A6 */ mflr r0 -/* 800F2228 000EF188 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F222C 000EF18C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F2230 000EF190 7C 7F 1B 78 */ mr r31, r3 -/* 800F2234 000EF194 38 7F 19 A8 */ addi r3, r31, 0x19a8 -/* 800F2238 000EF198 48 24 EB 4D */ bl Lock__6CTokenFv -/* 800F223C 000EF19C 80 7F 19 DC */ lwz r3, 0x19dc(r31) -/* 800F2240 000EF1A0 28 03 00 00 */ cmplwi r3, 0 -/* 800F2244 000EF1A4 41 82 00 18 */ beq lbl_800F225C -/* 800F2248 000EF1A8 81 83 00 00 */ lwz r12, 0(r3) -/* 800F224C 000EF1AC 38 80 00 01 */ li r4, 1 -/* 800F2250 000EF1B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F2254 000EF1B4 7D 89 03 A6 */ mtctr r12 -/* 800F2258 000EF1B8 4E 80 04 21 */ bctrl -lbl_800F225C: -/* 800F225C 000EF1BC 38 00 00 00 */ li r0, 0 -/* 800F2260 000EF1C0 90 1F 19 DC */ stw r0, 0x19dc(r31) -/* 800F2264 000EF1C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F2268 000EF1C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F226C 000EF1CC 7C 08 03 A6 */ mtlr r0 -/* 800F2270 000EF1D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F2274 000EF1D4 4E 80 00 20 */ blr - -.global Render__10CMorphBallCFRC13CStateManagerPC12CActorLights_0 -Render__10CMorphBallCFRC13CStateManagerPC12CActorLights_0: -/* 800F2278 000EF1D8 94 21 FC 20 */ stwu r1, -0x3e0(r1) -/* 800F227C 000EF1DC 7C 08 02 A6 */ mflr r0 -/* 800F2280 000EF1E0 90 01 03 E4 */ stw r0, 0x3e4(r1) -/* 800F2284 000EF1E4 DB E1 03 D0 */ stfd f31, 0x3d0(r1) -/* 800F2288 000EF1E8 F3 E1 03 D8 */ psq_st f31, 984(r1), 0, qr0 -/* 800F228C 000EF1EC DB C1 03 C0 */ stfd f30, 0x3c0(r1) -/* 800F2290 000EF1F0 F3 C1 03 C8 */ psq_st f30, 968(r1), 0, qr0 -/* 800F2294 000EF1F4 DB A1 03 B0 */ stfd f29, 0x3b0(r1) -/* 800F2298 000EF1F8 F3 A1 03 B8 */ psq_st f29, 952(r1), 0, qr0 -/* 800F229C 000EF1FC DB 81 03 A0 */ stfd f28, 0x3a0(r1) -/* 800F22A0 000EF200 F3 81 03 A8 */ psq_st f28, 936(r1), 0, qr0 -/* 800F22A4 000EF204 DB 61 03 90 */ stfd f27, 0x390(r1) -/* 800F22A8 000EF208 F3 61 03 98 */ psq_st f27, 920(r1), 0, qr0 -/* 800F22AC 000EF20C DB 41 03 80 */ stfd f26, 0x380(r1) -/* 800F22B0 000EF210 F3 41 03 88 */ psq_st f26, 904(r1), 0, qr0 -/* 800F22B4 000EF214 DB 21 03 70 */ stfd f25, 0x370(r1) -/* 800F22B8 000EF218 F3 21 03 78 */ psq_st f25, 888(r1), 0, qr0 -/* 800F22BC 000EF21C DB 01 03 60 */ stfd f24, 0x360(r1) -/* 800F22C0 000EF220 F3 01 03 68 */ psq_st f24, 872(r1), 0, qr0 -/* 800F22C4 000EF224 DA E1 03 50 */ stfd f23, 0x350(r1) -/* 800F22C8 000EF228 F2 E1 03 58 */ psq_st f23, 856(r1), 0, qr0 -/* 800F22CC 000EF22C BE E1 03 2C */ stmw r23, 0x32c(r1) -/* 800F22D0 000EF230 7C 7D 1B 78 */ mr r29, r3 -/* 800F22D4 000EF234 3C 60 80 3D */ lis r3, lbl_803CE910@ha -/* 800F22D8 000EF238 7C 9E 23 78 */ mr r30, r4 -/* 800F22DC 000EF23C 7C BF 2B 78 */ mr r31, r5 -/* 800F22E0 000EF240 7F A4 EB 78 */ mr r4, r29 -/* 800F22E4 000EF244 3B 63 E9 10 */ addi r27, r3, lbl_803CE910@l -/* 800F22E8 000EF248 38 61 02 84 */ addi r3, r1, 0x284 -/* 800F22EC 000EF24C 48 00 44 09 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F22F0 000EF250 38 61 02 E4 */ addi r3, r1, 0x2e4 -/* 800F22F4 000EF254 38 81 02 84 */ addi r4, r1, 0x284 -/* 800F22F8 000EF258 48 22 08 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F22FC 000EF25C 88 1D 00 28 */ lbz r0, 0x28(r29) -/* 800F2300 000EF260 28 00 00 00 */ cmplwi r0, 0 -/* 800F2304 000EF264 41 82 00 9C */ beq lbl_800F23A0 -/* 800F2308 000EF268 80 DD 00 00 */ lwz r6, 0(r29) -/* 800F230C 000EF26C 38 61 00 DC */ addi r3, r1, 0xdc -/* 800F2310 000EF270 C0 1D 00 30 */ lfs f0, 0x30(r29) -/* 800F2314 000EF274 38 81 02 E4 */ addi r4, r1, 0x2e4 -/* 800F2318 000EF278 C0 26 05 00 */ lfs f1, 0x500(r6) -/* 800F231C 000EF27C 38 A1 01 14 */ addi r5, r1, 0x114 -/* 800F2320 000EF280 D0 21 01 14 */ stfs f1, 0x114(r1) -/* 800F2324 000EF284 C0 26 05 04 */ lfs f1, 0x504(r6) -/* 800F2328 000EF288 D0 21 01 18 */ stfs f1, 0x118(r1) -/* 800F232C 000EF28C C0 26 05 08 */ lfs f1, 0x508(r6) -/* 800F2330 000EF290 D0 21 01 1C */ stfs f1, 0x11c(r1) -/* 800F2334 000EF294 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800F2338 000EF298 48 22 06 ED */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800F233C 000EF29C 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 800F2340 000EF2A0 38 81 00 DC */ addi r4, r1, 0xdc -/* 800F2344 000EF2A4 48 22 1A 8D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 800F2348 000EF2A8 7C 64 1B 78 */ mr r4, r3 -/* 800F234C 000EF2AC 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 800F2350 000EF2B0 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800F2354 000EF2B4 48 21 EF A1 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 800F2358 000EF2B8 C0 61 00 F4 */ lfs f3, 0xf4(r1) -/* 800F235C 000EF2BC 38 61 02 24 */ addi r3, r1, 0x224 -/* 800F2360 000EF2C0 C0 41 00 F8 */ lfs f2, 0xf8(r1) -/* 800F2364 000EF2C4 38 81 01 04 */ addi r4, r1, 0x104 -/* 800F2368 000EF2C8 C0 21 00 FC */ lfs f1, 0xfc(r1) -/* 800F236C 000EF2CC C0 01 01 00 */ lfs f0, 0x100(r1) -/* 800F2370 000EF2D0 D0 61 01 04 */ stfs f3, 0x104(r1) -/* 800F2374 000EF2D4 D0 41 01 08 */ stfs f2, 0x108(r1) -/* 800F2378 000EF2D8 D0 21 01 0C */ stfs f1, 0x10c(r1) -/* 800F237C 000EF2DC D0 01 01 10 */ stfs f0, 0x110(r1) -/* 800F2380 000EF2E0 48 21 FC 39 */ bl BuildTransform4f__11CQuaternionCFv -/* 800F2384 000EF2E4 38 61 02 54 */ addi r3, r1, 0x254 -/* 800F2388 000EF2E8 38 81 02 E4 */ addi r4, r1, 0x2e4 -/* 800F238C 000EF2EC 38 A1 02 24 */ addi r5, r1, 0x224 -/* 800F2390 000EF2F0 48 22 05 C1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800F2394 000EF2F4 38 61 02 E4 */ addi r3, r1, 0x2e4 -/* 800F2398 000EF2F8 38 81 02 54 */ addi r4, r1, 0x254 -/* 800F239C 000EF2FC 48 22 07 A5 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_800F23A0: -/* 800F23A0 000EF300 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F23A4 000EF304 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F23A8 000EF308 C0 63 09 F4 */ lfs f3, 0x9f4(r3) -/* 800F23AC 000EF30C FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 800F23B0 000EF310 7C 00 00 26 */ mfcr r0 -/* 800F23B4 000EF314 54 1A 17 FE */ rlwinm r26, r0, 2, 0x1f, 0x1f -/* 800F23B8 000EF318 40 81 00 B4 */ ble lbl_800F246C -/* 800F23BC 000EF31C C0 22 91 E8 */ lfs f1, lbl_805AAF08@sda21(r2) -/* 800F23C0 000EF320 38 81 00 50 */ addi r4, r1, 0x50 -/* 800F23C4 000EF324 C0 02 80 F0 */ lfs f0, lbl_805A9E10@sda21(r2) -/* 800F23C8 000EF328 38 6D 88 AC */ addi r3, r13, lbl_805A746C@sda21 -/* 800F23CC 000EF32C C0 42 91 5C */ lfs f2, lbl_805AAE7C@sda21(r2) -/* 800F23D0 000EF330 38 AD 88 B0 */ addi r5, r13, lbl_805A7470@sda21 -/* 800F23D4 000EF334 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F23D8 000EF338 EC 03 00 24 */ fdivs f0, f3, f0 -/* 800F23DC 000EF33C EC 02 00 28 */ fsubs f0, f2, f0 -/* 800F23E0 000EF340 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800F23E4 000EF344 4B F1 9E D1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F23E8 000EF348 C3 03 00 00 */ lfs f24, 0(r3) -/* 800F23EC 000EF34C 82 FD 00 58 */ lwz r23, 0x58(r29) -/* 800F23F0 000EF350 83 1D 00 5C */ lwz r24, 0x5c(r29) -/* 800F23F4 000EF354 48 25 7B B9 */ bl White__6CColorFv -/* 800F23F8 000EF358 C0 02 92 6C */ lfs f0, lbl_805AAF8C@sda21(r2) -/* 800F23FC 000EF35C EF E0 06 32 */ fmuls f31, f0, f24 -/* 800F2400 000EF360 F3 E1 A0 0B */ psq_st f31, 11(r1), 1, qr2 -/* 800F2404 000EF364 38 A0 00 03 */ li r5, 3 -/* 800F2408 000EF368 80 63 00 00 */ lwz r3, 0(r3) -/* 800F240C 000EF36C 39 20 00 07 */ li r9, 7 -/* 800F2410 000EF370 89 41 00 0B */ lbz r10, 0xb(r1) -/* 800F2414 000EF374 54 A0 00 3A */ rlwinm r0, r5, 0, 0, 0x1d -/* 800F2418 000EF378 50 6A 00 2E */ rlwimi r10, r3, 0, 0, 0x17 -/* 800F241C 000EF37C 39 00 00 00 */ li r8, 0 -/* 800F2420 000EF380 60 00 00 01 */ ori r0, r0, 1 -/* 800F2424 000EF384 B0 A1 00 86 */ sth r5, 0x86(r1) -/* 800F2428 000EF388 7E E3 BB 78 */ mr r3, r23 -/* 800F242C 000EF38C 7F C4 F3 78 */ mr r4, r30 -/* 800F2430 000EF390 99 21 00 84 */ stb r9, 0x84(r1) -/* 800F2434 000EF394 38 A1 02 E4 */ addi r5, r1, 0x2e4 -/* 800F2438 000EF398 38 E1 00 94 */ addi r7, r1, 0x94 -/* 800F243C 000EF39C 38 C0 00 00 */ li r6, 0 -/* 800F2440 000EF3A0 99 01 00 85 */ stb r8, 0x85(r1) -/* 800F2444 000EF3A4 91 41 00 88 */ stw r10, 0x88(r1) -/* 800F2448 000EF3A8 99 21 00 8C */ stb r9, 0x8c(r1) -/* 800F244C 000EF3AC 99 01 00 8D */ stb r8, 0x8d(r1) -/* 800F2450 000EF3B0 B0 01 00 8E */ sth r0, 0x8e(r1) -/* 800F2454 000EF3B4 91 41 00 90 */ stw r10, 0x90(r1) -/* 800F2458 000EF3B8 99 21 00 94 */ stb r9, 0x94(r1) -/* 800F245C 000EF3BC 9B 01 00 95 */ stb r24, 0x95(r1) -/* 800F2460 000EF3C0 B0 01 00 96 */ sth r0, 0x96(r1) -/* 800F2464 000EF3C4 91 41 00 98 */ stw r10, 0x98(r1) -/* 800F2468 000EF3C8 48 02 29 55 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_800F246C: -/* 800F246C 000EF3CC C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F2470 000EF3D0 38 80 00 00 */ li r4, 0 -/* 800F2474 000EF3D4 38 00 00 03 */ li r0, 3 -/* 800F2478 000EF3D8 98 81 00 7C */ stb r4, 0x7c(r1) -/* 800F247C 000EF3DC FC 40 08 90 */ fmr f2, f1 -/* 800F2480 000EF3E0 38 61 00 80 */ addi r3, r1, 0x80 -/* 800F2484 000EF3E4 FC 60 08 90 */ fmr f3, f1 -/* 800F2488 000EF3E8 98 81 00 7D */ stb r4, 0x7d(r1) -/* 800F248C 000EF3EC FC 80 08 90 */ fmr f4, f1 -/* 800F2490 000EF3F0 B0 01 00 7E */ sth r0, 0x7e(r1) -/* 800F2494 000EF3F4 48 27 0F 59 */ bl __ct__6CColorFffff -/* 800F2498 000EF3F8 C0 5D 1E 44 */ lfs f2, 0x1e44(r29) -/* 800F249C 000EF3FC C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F24A0 000EF400 88 A1 00 7C */ lbz r5, 0x7c(r1) -/* 800F24A4 000EF404 88 81 00 7D */ lbz r4, 0x7d(r1) -/* 800F24A8 000EF408 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800F24AC 000EF40C A0 61 00 7E */ lhz r3, 0x7e(r1) -/* 800F24B0 000EF410 80 01 00 80 */ lwz r0, 0x80(r1) -/* 800F24B4 000EF414 98 A1 00 AC */ stb r5, 0xac(r1) -/* 800F24B8 000EF418 98 81 00 AD */ stb r4, 0xad(r1) -/* 800F24BC 000EF41C B0 61 00 AE */ sth r3, 0xae(r1) -/* 800F24C0 000EF420 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 800F24C4 000EF424 40 81 00 3C */ ble lbl_800F2500 -/* 800F24C8 000EF428 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F24CC 000EF42C 38 61 00 34 */ addi r3, r1, 0x34 -/* 800F24D0 000EF430 EC 41 10 28 */ fsubs f2, f1, f2 -/* 800F24D4 000EF434 FC 80 08 90 */ fmr f4, f1 -/* 800F24D8 000EF438 FC 60 10 90 */ fmr f3, f2 -/* 800F24DC 000EF43C 48 27 0F 11 */ bl __ct__6CColorFffff -/* 800F24E0 000EF440 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800F24E4 000EF444 38 A0 00 01 */ li r5, 1 -/* 800F24E8 000EF448 38 80 00 00 */ li r4, 0 -/* 800F24EC 000EF44C 38 60 00 03 */ li r3, 3 -/* 800F24F0 000EF450 98 A1 00 AC */ stb r5, 0xac(r1) -/* 800F24F4 000EF454 98 81 00 AD */ stb r4, 0xad(r1) -/* 800F24F8 000EF458 B0 61 00 AE */ sth r3, 0xae(r1) -/* 800F24FC 000EF45C 90 01 00 B0 */ stw r0, 0xb0(r1) -lbl_800F2500: -/* 800F2500 000EF460 80 7D 1C 1C */ lwz r3, 0x1c1c(r29) -/* 800F2504 000EF464 28 03 00 00 */ cmplwi r3, 0 -/* 800F2508 000EF468 41 82 00 1C */ beq lbl_800F2524 -/* 800F250C 000EF46C 88 03 00 48 */ lbz r0, 0x48(r3) -/* 800F2510 000EF470 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800F2514 000EF474 41 82 00 10 */ beq lbl_800F2524 -/* 800F2518 000EF478 3C 80 80 0F */ lis r4, PointGenerator__10CMorphBallFPvPC9CVector3fPC9CVector3fi@ha -/* 800F251C 000EF47C 38 84 E7 88 */ addi r4, r4, PointGenerator__10CMorphBallFPvPC9CVector3fPC9CVector3fi@l -/* 800F2520 000EF480 48 26 01 F5 */ bl SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v -lbl_800F2524: -/* 800F2524 000EF484 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F2528 000EF488 C0 1D 1C 34 */ lfs f0, 0x1c34(r29) -/* 800F252C 000EF48C 80 1D 00 5C */ lwz r0, 0x5c(r29) -/* 800F2530 000EF490 A0 61 00 AE */ lhz r3, 0xae(r1) -/* 800F2534 000EF494 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F2538 000EF498 80 81 00 B0 */ lwz r4, 0xb0(r1) -/* 800F253C 000EF49C 98 01 00 AD */ stb r0, 0xad(r1) -/* 800F2540 000EF4A0 B0 61 00 AE */ sth r3, 0xae(r1) -/* 800F2544 000EF4A4 90 81 00 B0 */ stw r4, 0xb0(r1) -/* 800F2548 000EF4A8 41 82 00 44 */ beq lbl_800F258C -/* 800F254C 000EF4AC 80 BF 02 9C */ lwz r5, 0x29c(r31) -/* 800F2550 000EF4B0 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) -/* 800F2554 000EF4B4 7C 05 00 40 */ cmplw r5, r0 -/* 800F2558 000EF4B8 41 82 00 10 */ beq lbl_800F2568 -/* 800F255C 000EF4BC 80 7D 1C 14 */ lwz r3, 0x1c14(r29) -/* 800F2560 000EF4C0 38 81 02 E4 */ addi r4, r1, 0x2e4 -/* 800F2564 000EF4C4 48 01 EA 55 */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif -lbl_800F2568: -/* 800F2568 000EF4C8 80 7D 00 58 */ lwz r3, 0x58(r29) -/* 800F256C 000EF4CC 7F C4 F3 78 */ mr r4, r30 -/* 800F2570 000EF4D0 7F E6 FB 78 */ mr r6, r31 -/* 800F2574 000EF4D4 38 A1 02 E4 */ addi r5, r1, 0x2e4 -/* 800F2578 000EF4D8 38 E1 00 AC */ addi r7, r1, 0xac -/* 800F257C 000EF4DC 48 02 28 41 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 800F2580 000EF4E0 80 7D 1C 14 */ lwz r3, 0x1c14(r29) -/* 800F2584 000EF4E4 48 01 EA 15 */ bl DisableModelProjectedShadow__12CWorldShadowCFv -/* 800F2588 000EF4E8 48 00 00 1C */ b lbl_800F25A4 -lbl_800F258C: -/* 800F258C 000EF4EC 80 7D 00 58 */ lwz r3, 0x58(r29) -/* 800F2590 000EF4F0 7F C4 F3 78 */ mr r4, r30 -/* 800F2594 000EF4F4 38 A1 02 E4 */ addi r5, r1, 0x2e4 -/* 800F2598 000EF4F8 38 E1 00 AC */ addi r7, r1, 0xac -/* 800F259C 000EF4FC 38 C0 00 00 */ li r6, 0 -/* 800F25A0 000EF500 48 02 28 1D */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_800F25A4: -/* 800F25A4 000EF504 80 7D 1C 1C */ lwz r3, 0x1c1c(r29) -/* 800F25A8 000EF508 28 03 00 00 */ cmplwi r3, 0 -/* 800F25AC 000EF50C 41 82 00 48 */ beq lbl_800F25F4 -/* 800F25B0 000EF510 88 03 00 48 */ lbz r0, 0x48(r3) -/* 800F25B4 000EF514 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800F25B8 000EF518 41 82 00 3C */ beq lbl_800F25F4 -/* 800F25BC 000EF51C 48 26 01 4D */ bl ClearPointGeneratorFunc__13CSkinnedModelFv -/* 800F25C0 000EF520 C0 41 02 F0 */ lfs f2, 0x2f0(r1) -/* 800F25C4 000EF524 38 61 01 F4 */ addi r3, r1, 0x1f4 -/* 800F25C8 000EF528 C0 21 03 00 */ lfs f1, 0x300(r1) -/* 800F25CC 000EF52C 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 800F25D0 000EF530 C0 01 03 10 */ lfs f0, 0x310(r1) -/* 800F25D4 000EF534 D0 41 00 D0 */ stfs f2, 0xd0(r1) -/* 800F25D8 000EF538 82 FD 1C 1C */ lwz r23, 0x1c1c(r29) -/* 800F25DC 000EF53C D0 21 00 D4 */ stfs f1, 0xd4(r1) -/* 800F25E0 000EF540 D0 01 00 D8 */ stfs f0, 0xd8(r1) -/* 800F25E4 000EF544 48 22 0B 5D */ bl Translate__12CTransform4fFRC9CVector3f -/* 800F25E8 000EF548 7E E3 BB 78 */ mr r3, r23 -/* 800F25EC 000EF54C 38 81 01 F4 */ addi r4, r1, 0x1f4 -/* 800F25F0 000EF550 48 17 7D D1 */ bl Draw__20CRainSplashGeneratorCFRC12CTransform4f -lbl_800F25F4: -/* 800F25F4 000EF554 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F25F8 000EF558 38 63 01 38 */ addi r3, r3, 0x138 -/* 800F25FC 000EF55C 48 22 22 BD */ bl Magnitude__9CVector3fCFv -/* 800F2600 000EF560 C0 5D 1E 44 */ lfs f2, 0x1e44(r29) -/* 800F2604 000EF564 FF E0 08 90 */ fmr f31, f1 -/* 800F2608 000EF568 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) -/* 800F260C 000EF56C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800F2610 000EF570 40 81 00 18 */ ble lbl_800F2628 -/* 800F2614 000EF574 7F A3 EB 78 */ mr r3, r29 -/* 800F2618 000EF578 7F C4 F3 78 */ mr r4, r30 -/* 800F261C 000EF57C 38 A1 02 E4 */ addi r5, r1, 0x2e4 -/* 800F2620 000EF580 4B FF F5 6D */ bl RenderDamageEffects__10CMorphBallCFRC13CStateManagerRC12CTransform4f -/* 800F2624 000EF584 48 00 01 88 */ b lbl_800F27AC -lbl_800F2628: -/* 800F2628 000EF588 C0 3D 1C 30 */ lfs f1, 0x1c30(r29) -/* 800F262C 000EF58C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F2630 000EF590 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F2634 000EF594 40 81 01 78 */ ble lbl_800F27AC -/* 800F2638 000EF598 28 1A 00 00 */ cmplwi r26, 0 -/* 800F263C 000EF59C 40 82 01 70 */ bne lbl_800F27AC -/* 800F2640 000EF5A0 C0 02 92 58 */ lfs f0, lbl_805AAF78@sda21(r2) -/* 800F2644 000EF5A4 38 6D 88 B4 */ addi r3, r13, lbl_805A7474@sda21 -/* 800F2648 000EF5A8 80 0D 88 B4 */ lwz r0, lbl_805A7474@sda21(r13) -/* 800F264C 000EF5AC EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800F2650 000EF5B0 FC 00 00 1E */ fctiwz f0, f0 -/* 800F2654 000EF5B4 D8 01 03 18 */ stfd f0, 0x318(r1) -/* 800F2658 000EF5B8 80 81 03 1C */ lwz r4, 0x31c(r1) -/* 800F265C 000EF5BC 7C 04 00 00 */ cmpw r4, r0 -/* 800F2660 000EF5C0 90 81 00 30 */ stw r4, 0x30(r1) -/* 800F2664 000EF5C4 40 80 00 08 */ bge lbl_800F266C -/* 800F2668 000EF5C8 38 61 00 30 */ addi r3, r1, 0x30 -lbl_800F266C: -/* 800F266C 000EF5CC 83 23 00 00 */ lwz r25, 0(r3) -/* 800F2670 000EF5D0 3B 41 00 68 */ addi r26, r1, 0x68 -/* 800F2674 000EF5D4 CB 02 92 10 */ lfd f24, lbl_805AAF30@sda21(r2) -/* 800F2678 000EF5D8 3B 00 00 00 */ li r24, 0 -/* 800F267C 000EF5DC C3 22 91 94 */ lfs f25, lbl_805AAEB4@sda21(r2) -/* 800F2680 000EF5E0 3F 80 43 30 */ lis r28, 0x4330 -/* 800F2684 000EF5E4 C3 42 91 E8 */ lfs f26, lbl_805AAF08@sda21(r2) -/* 800F2688 000EF5E8 C3 62 91 5C */ lfs f27, lbl_805AAE7C@sda21(r2) -/* 800F268C 000EF5EC 48 00 01 18 */ b lbl_800F27A4 -lbl_800F2690: -/* 800F2690 000EF5F0 6F 00 80 00 */ xoris r0, r24, 0x8000 -/* 800F2694 000EF5F4 93 81 03 18 */ stw r28, 0x318(r1) -/* 800F2698 000EF5F8 7F 05 C3 78 */ mr r5, r24 -/* 800F269C 000EF5FC 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 800F26A0 000EF600 90 01 03 1C */ stw r0, 0x31c(r1) -/* 800F26A4 000EF604 38 9D 1C 90 */ addi r4, r29, 0x1c90 -/* 800F26A8 000EF608 C8 01 03 18 */ lfd f0, 0x318(r1) -/* 800F26AC 000EF60C EC 00 C0 28 */ fsubs f0, f0, f24 -/* 800F26B0 000EF610 EE E0 C8 24 */ fdivs f23, f0, f25 -/* 800F26B4 000EF614 48 00 07 89 */ bl "GetEntry__30TReservedAverage<9CVector3f,5>CFi" -/* 800F26B8 000EF618 7F 05 C3 78 */ mr r5, r24 -/* 800F26BC 000EF61C 38 61 01 20 */ addi r3, r1, 0x120 -/* 800F26C0 000EF620 38 9D 1C 3C */ addi r4, r29, 0x1c3c -/* 800F26C4 000EF624 48 00 07 25 */ bl "GetEntry__33TReservedAverage<11CQuaternion,5>CFi" -/* 800F26C8 000EF628 38 61 01 64 */ addi r3, r1, 0x164 -/* 800F26CC 000EF62C 38 81 01 20 */ addi r4, r1, 0x120 -/* 800F26D0 000EF630 48 21 F8 E9 */ bl BuildTransform4f__11CQuaternionCFv -/* 800F26D4 000EF634 38 61 01 94 */ addi r3, r1, 0x194 -/* 800F26D8 000EF638 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 800F26DC 000EF63C 48 22 0A 65 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800F26E0 000EF640 38 61 01 C4 */ addi r3, r1, 0x1c4 -/* 800F26E4 000EF644 38 81 01 94 */ addi r4, r1, 0x194 -/* 800F26E8 000EF648 38 A1 01 64 */ addi r5, r1, 0x164 -/* 800F26EC 000EF64C 48 22 02 65 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800F26F0 000EF650 38 61 02 B4 */ addi r3, r1, 0x2b4 -/* 800F26F4 000EF654 38 81 01 C4 */ addi r4, r1, 0x1c4 -/* 800F26F8 000EF658 48 22 04 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F26FC 000EF65C EC 3B B8 28 */ fsubs f1, f27, f23 -/* 800F2700 000EF660 38 80 00 00 */ li r4, 0 -/* 800F2704 000EF664 C0 1D 1C 30 */ lfs f0, 0x1c30(r29) -/* 800F2708 000EF668 80 1D 00 68 */ lwz r0, 0x68(r29) -/* 800F270C 000EF66C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F2710 000EF670 98 81 01 30 */ stb r4, 0x130(r1) -/* 800F2714 000EF674 28 00 00 00 */ cmplwi r0, 0 -/* 800F2718 000EF678 98 81 00 CC */ stb r4, 0xcc(r1) -/* 800F271C 000EF67C EC 9A 00 32 */ fmuls f4, f26, f0 -/* 800F2720 000EF680 41 82 00 80 */ beq lbl_800F27A0 -/* 800F2724 000EF684 38 60 00 07 */ li r3, 7 -/* 800F2728 000EF688 38 00 00 03 */ li r0, 3 -/* 800F272C 000EF68C 98 61 00 64 */ stb r3, 0x64(r1) -/* 800F2730 000EF690 FC 20 D8 90 */ fmr f1, f27 -/* 800F2734 000EF694 FC 40 D8 90 */ fmr f2, f27 -/* 800F2738 000EF698 82 FD 00 6C */ lwz r23, 0x6c(r29) -/* 800F273C 000EF69C FC 60 D8 90 */ fmr f3, f27 -/* 800F2740 000EF6A0 98 81 00 65 */ stb r4, 0x65(r1) -/* 800F2744 000EF6A4 7F 43 D3 78 */ mr r3, r26 -/* 800F2748 000EF6A8 B0 01 00 66 */ sth r0, 0x66(r1) -/* 800F274C 000EF6AC 48 27 0C A1 */ bl __ct__6CColorFffff -/* 800F2750 000EF6B0 A0 61 00 66 */ lhz r3, 0x66(r1) -/* 800F2754 000EF6B4 7F C4 F3 78 */ mr r4, r30 -/* 800F2758 000EF6B8 89 21 00 64 */ lbz r9, 0x64(r1) -/* 800F275C 000EF6BC 38 A1 02 B4 */ addi r5, r1, 0x2b4 -/* 800F2760 000EF6C0 80 01 00 68 */ lwz r0, 0x68(r1) -/* 800F2764 000EF6C4 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d -/* 800F2768 000EF6C8 60 68 00 01 */ ori r8, r3, 1 -/* 800F276C 000EF6CC 88 C1 00 65 */ lbz r6, 0x65(r1) -/* 800F2770 000EF6D0 99 21 00 6C */ stb r9, 0x6c(r1) -/* 800F2774 000EF6D4 38 E1 00 74 */ addi r7, r1, 0x74 -/* 800F2778 000EF6D8 80 7D 00 68 */ lwz r3, 0x68(r29) -/* 800F277C 000EF6DC 98 C1 00 6D */ stb r6, 0x6d(r1) -/* 800F2780 000EF6E0 38 C0 00 00 */ li r6, 0 -/* 800F2784 000EF6E4 B1 01 00 6E */ sth r8, 0x6e(r1) -/* 800F2788 000EF6E8 90 01 00 70 */ stw r0, 0x70(r1) -/* 800F278C 000EF6EC 99 21 00 74 */ stb r9, 0x74(r1) -/* 800F2790 000EF6F0 9A E1 00 75 */ stb r23, 0x75(r1) -/* 800F2794 000EF6F4 B1 01 00 76 */ sth r8, 0x76(r1) -/* 800F2798 000EF6F8 90 01 00 78 */ stw r0, 0x78(r1) -/* 800F279C 000EF6FC 48 02 26 21 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_800F27A0: -/* 800F27A0 000EF700 3B 18 00 01 */ addi r24, r24, 1 -lbl_800F27A4: -/* 800F27A4 000EF704 7C 18 C8 00 */ cmpw r24, r25 -/* 800F27A8 000EF708 41 80 FE E8 */ blt lbl_800F2690 -lbl_800F27AC: -/* 800F27AC 000EF70C C0 3D 1C 20 */ lfs f1, 0x1c20(r29) -/* 800F27B0 000EF710 38 C0 00 FF */ li r6, 0xff -/* 800F27B4 000EF714 C0 1D 1C 24 */ lfs f0, 0x1c24(r29) -/* 800F27B8 000EF718 38 FB 02 14 */ addi r7, r27, 0x214 -/* 800F27BC 000EF71C 80 1D 00 08 */ lwz r0, 8(r29) -/* 800F27C0 000EF720 EE E1 00 24 */ fdivs f23, f1, f0 -/* 800F27C4 000EF724 C0 02 92 6C */ lfs f0, lbl_805AAF8C@sda21(r2) -/* 800F27C8 000EF728 1C A0 00 03 */ mulli r5, r0, 3 -/* 800F27CC 000EF72C 98 C1 00 2F */ stb r6, 0x2f(r1) -/* 800F27D0 000EF730 7C E7 2A 14 */ add r7, r7, r5 -/* 800F27D4 000EF734 88 87 00 00 */ lbz r4, 0(r7) -/* 800F27D8 000EF738 EF 80 05 F2 */ fmuls f28, f0, f23 -/* 800F27DC 000EF73C 88 67 00 01 */ lbz r3, 1(r7) -/* 800F27E0 000EF740 88 07 00 02 */ lbz r0, 2(r7) -/* 800F27E4 000EF744 98 81 00 2C */ stb r4, 0x2c(r1) -/* 800F27E8 000EF748 FF C0 E0 90 */ fmr f30, f28 -/* 800F27EC 000EF74C 98 61 00 2D */ stb r3, 0x2d(r1) -/* 800F27F0 000EF750 98 01 00 2E */ stb r0, 0x2e(r1) -/* 800F27F4 000EF754 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 800F27F8 000EF758 90 01 00 4C */ stw r0, 0x4c(r1) -/* 800F27FC 000EF75C F3 C1 A0 0A */ psq_st f30, 10(r1), 1, qr2 -/* 800F2800 000EF760 38 FB 02 30 */ addi r7, r27, 0x230 -/* 800F2804 000EF764 7C E7 2A 14 */ add r7, r7, r5 -/* 800F2808 000EF768 88 87 00 00 */ lbz r4, 0(r7) -/* 800F280C 000EF76C 88 67 00 01 */ lbz r3, 1(r7) -/* 800F2810 000EF770 88 07 00 02 */ lbz r0, 2(r7) -/* 800F2814 000EF774 88 A1 00 0A */ lbz r5, 0xa(r1) -/* 800F2818 000EF778 98 81 00 28 */ stb r4, 0x28(r1) -/* 800F281C 000EF77C 98 61 00 29 */ stb r3, 0x29(r1) -/* 800F2820 000EF780 98 01 00 2A */ stb r0, 0x2a(r1) -/* 800F2824 000EF784 98 C1 00 2B */ stb r6, 0x2b(r1) -/* 800F2828 000EF788 80 01 00 28 */ lwz r0, 0x28(r1) -/* 800F282C 000EF78C 98 A1 00 4F */ stb r5, 0x4f(r1) -/* 800F2830 000EF790 90 01 00 48 */ stw r0, 0x48(r1) -/* 800F2834 000EF794 F3 81 A0 09 */ psq_st f28, 9(r1), 1, qr2 -/* 800F2838 000EF798 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F283C 000EF79C C0 1D 1D F4 */ lfs f0, 0x1df4(r29) -/* 800F2840 000EF7A0 88 01 00 09 */ lbz r0, 9(r1) -/* 800F2844 000EF7A4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F2848 000EF7A8 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 800F284C 000EF7AC 98 01 00 4B */ stb r0, 0x4b(r1) -/* 800F2850 000EF7B0 40 81 00 30 */ ble lbl_800F2880 -/* 800F2854 000EF7B4 C0 22 92 5C */ lfs f1, lbl_805AAF7C@sda21(r2) -/* 800F2858 000EF7B8 38 81 00 24 */ addi r4, r1, 0x24 -/* 800F285C 000EF7BC C0 02 91 9C */ lfs f0, lbl_805AAEBC@sda21(r2) -/* 800F2860 000EF7C0 38 6D 88 B8 */ addi r3, r13, lbl_805A7478@sda21 -/* 800F2864 000EF7C4 EC 3F 08 28 */ fsubs f1, f31, f1 -/* 800F2868 000EF7C8 38 AD 88 BC */ addi r5, r13, lbl_805A747C@sda21 -/* 800F286C 000EF7CC EC 01 00 24 */ fdivs f0, f1, f0 -/* 800F2870 000EF7D0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800F2874 000EF7D4 4B F1 9A 41 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F2878 000EF7D8 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F287C 000EF7DC D0 01 00 44 */ stfs f0, 0x44(r1) -lbl_800F2880: -/* 800F2880 000EF7E0 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 800F2884 000EF7E4 38 61 00 20 */ addi r3, r1, 0x20 -/* 800F2888 000EF7E8 38 81 00 4C */ addi r4, r1, 0x4c -/* 800F288C 000EF7EC 38 A1 00 48 */ addi r5, r1, 0x48 -/* 800F2890 000EF7F0 48 27 0A 1D */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800F2894 000EF7F4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800F2898 000EF7F8 38 81 00 40 */ addi r4, r1, 0x40 -/* 800F289C 000EF7FC 80 7D 19 B8 */ lwz r3, 0x19b8(r29) -/* 800F28A0 000EF800 90 01 00 40 */ stw r0, 0x40(r1) -/* 800F28A4 000EF804 81 83 00 00 */ lwz r12, 0(r3) -/* 800F28A8 000EF808 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F28AC 000EF80C 7D 89 03 A6 */ mtctr r12 -/* 800F28B0 000EF810 4E 80 04 21 */ bctrl -/* 800F28B4 000EF814 80 7D 19 B8 */ lwz r3, 0x19b8(r29) -/* 800F28B8 000EF818 81 83 00 00 */ lwz r12, 0(r3) -/* 800F28BC 000EF81C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F28C0 000EF820 7D 89 03 A6 */ mtctr r12 -/* 800F28C4 000EF824 4E 80 04 21 */ bctrl -/* 800F28C8 000EF828 80 7D 19 BC */ lwz r3, 0x19bc(r29) -/* 800F28CC 000EF82C 38 81 00 40 */ addi r4, r1, 0x40 -/* 800F28D0 000EF830 81 83 00 00 */ lwz r12, 0(r3) -/* 800F28D4 000EF834 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F28D8 000EF838 7D 89 03 A6 */ mtctr r12 -/* 800F28DC 000EF83C 4E 80 04 21 */ bctrl -/* 800F28E0 000EF840 80 7D 19 BC */ lwz r3, 0x19bc(r29) -/* 800F28E4 000EF844 81 83 00 00 */ lwz r12, 0(r3) -/* 800F28E8 000EF848 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F28EC 000EF84C 7D 89 03 A6 */ mtctr r12 -/* 800F28F0 000EF850 4E 80 04 21 */ bctrl -/* 800F28F4 000EF854 80 7D 19 C0 */ lwz r3, 0x19c0(r29) -/* 800F28F8 000EF858 38 81 00 40 */ addi r4, r1, 0x40 -/* 800F28FC 000EF85C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2900 000EF860 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F2904 000EF864 7D 89 03 A6 */ mtctr r12 -/* 800F2908 000EF868 4E 80 04 21 */ bctrl -/* 800F290C 000EF86C 80 7D 19 C0 */ lwz r3, 0x19c0(r29) -/* 800F2910 000EF870 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2914 000EF874 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2918 000EF878 7D 89 03 A6 */ mtctr r12 -/* 800F291C 000EF87C 4E 80 04 21 */ bctrl -/* 800F2920 000EF880 80 7D 19 C4 */ lwz r3, 0x19c4(r29) -/* 800F2924 000EF884 38 81 00 40 */ addi r4, r1, 0x40 -/* 800F2928 000EF888 81 83 00 00 */ lwz r12, 0(r3) -/* 800F292C 000EF88C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F2930 000EF890 7D 89 03 A6 */ mtctr r12 -/* 800F2934 000EF894 4E 80 04 21 */ bctrl -/* 800F2938 000EF898 80 7D 19 C4 */ lwz r3, 0x19c4(r29) -/* 800F293C 000EF89C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2940 000EF8A0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2944 000EF8A4 7D 89 03 A6 */ mtctr r12 -/* 800F2948 000EF8A8 4E 80 04 21 */ bctrl -/* 800F294C 000EF8AC C0 3D 1D F4 */ lfs f1, 0x1df4(r29) -/* 800F2950 000EF8B0 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F2954 000EF8B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F2958 000EF8B8 40 81 00 B8 */ ble lbl_800F2A10 -/* 800F295C 000EF8BC C0 22 92 70 */ lfs f1, lbl_805AAF90@sda21(r2) -/* 800F2960 000EF8C0 FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 800F2964 000EF8C4 40 81 00 AC */ ble lbl_800F2A10 -/* 800F2968 000EF8C8 C8 02 92 78 */ lfd f0, lbl_805AAF98@sda21(r2) -/* 800F296C 000EF8CC FC 17 00 40 */ fcmpo cr0, f23, f0 -/* 800F2970 000EF8D0 40 81 00 A0 */ ble lbl_800F2A10 -/* 800F2974 000EF8D4 EC 3F 08 28 */ fsubs f1, f31, f1 -/* 800F2978 000EF8D8 C0 02 92 80 */ lfs f0, lbl_805AAFA0@sda21(r2) -/* 800F297C 000EF8DC 38 81 00 1C */ addi r4, r1, 0x1c -/* 800F2980 000EF8E0 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800F2984 000EF8E4 38 6D 88 C0 */ addi r3, r13, lbl_805A7480@sda21 -/* 800F2988 000EF8E8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800F298C 000EF8EC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800F2990 000EF8F0 4B F1 99 25 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F2994 000EF8F4 80 9D 00 08 */ lwz r4, 8(r29) -/* 800F2998 000EF8F8 38 00 00 FF */ li r0, 0xff -/* 800F299C 000EF8FC 38 BB 02 4C */ addi r5, r27, 0x24c -/* 800F29A0 000EF900 C0 23 00 00 */ lfs f1, 0(r3) -/* 800F29A4 000EF904 1C 64 00 03 */ mulli r3, r4, 3 -/* 800F29A8 000EF908 C0 02 92 6C */ lfs f0, lbl_805AAF8C@sda21(r2) -/* 800F29AC 000EF90C 98 01 00 1B */ stb r0, 0x1b(r1) -/* 800F29B0 000EF910 EF A0 00 72 */ fmuls f29, f0, f1 -/* 800F29B4 000EF914 7C A5 1A 14 */ add r5, r5, r3 -/* 800F29B8 000EF918 88 85 00 00 */ lbz r4, 0(r5) -/* 800F29BC 000EF91C 88 65 00 01 */ lbz r3, 1(r5) -/* 800F29C0 000EF920 88 05 00 02 */ lbz r0, 2(r5) -/* 800F29C4 000EF924 98 81 00 18 */ stb r4, 0x18(r1) -/* 800F29C8 000EF928 98 61 00 19 */ stb r3, 0x19(r1) -/* 800F29CC 000EF92C 98 01 00 1A */ stb r0, 0x1a(r1) -/* 800F29D0 000EF930 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800F29D4 000EF934 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800F29D8 000EF938 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 -/* 800F29DC 000EF93C 38 81 00 3C */ addi r4, r1, 0x3c -/* 800F29E0 000EF940 80 7D 19 C8 */ lwz r3, 0x19c8(r29) -/* 800F29E4 000EF944 88 01 00 08 */ lbz r0, 8(r1) -/* 800F29E8 000EF948 98 01 00 3F */ stb r0, 0x3f(r1) -/* 800F29EC 000EF94C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F29F0 000EF950 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F29F4 000EF954 7D 89 03 A6 */ mtctr r12 -/* 800F29F8 000EF958 4E 80 04 21 */ bctrl -/* 800F29FC 000EF95C 80 7D 19 C8 */ lwz r3, 0x19c8(r29) -/* 800F2A00 000EF960 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2A04 000EF964 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2A08 000EF968 7D 89 03 A6 */ mtctr r12 -/* 800F2A0C 000EF96C 4E 80 04 21 */ bctrl -lbl_800F2A10: -/* 800F2A10 000EF970 7F A3 EB 78 */ mr r3, r29 -/* 800F2A14 000EF974 4B FF C6 C1 */ bl RenderSpiderBallElectricalEffects__10CMorphBallCFv -/* 800F2A18 000EF978 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 800F2A1C 000EF97C 38 80 00 13 */ li r4, 0x13 -/* 800F2A20 000EF980 80 63 00 00 */ lwz r3, 0(r3) -/* 800F2A24 000EF984 4B F9 F0 9D */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800F2A28 000EF988 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F2A2C 000EF98C 41 82 00 E0 */ beq lbl_800F2B0C -/* 800F2A30 000EF990 80 1D 00 60 */ lwz r0, 0x60(r29) -/* 800F2A34 000EF994 28 00 00 00 */ cmplwi r0, 0 -/* 800F2A38 000EF998 41 82 00 D4 */ beq lbl_800F2B0C -/* 800F2A3C 000EF99C C0 3D 1C 38 */ lfs f1, 0x1c38(r29) -/* 800F2A40 000EF9A0 C0 1D 1C 34 */ lfs f0, 0x1c34(r29) -/* 800F2A44 000EF9A4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F2A48 000EF9A8 40 80 00 0C */ bge lbl_800F2A54 -/* 800F2A4C 000EF9AC 38 BD 1C 34 */ addi r5, r29, 0x1c34 -/* 800F2A50 000EF9B0 48 00 00 08 */ b lbl_800F2A58 -lbl_800F2A54: -/* 800F2A54 000EF9B4 38 BD 1C 38 */ addi r5, r29, 0x1c38 -lbl_800F2A58: -/* 800F2A58 000EF9B8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F2A5C 000EF9BC 38 80 00 00 */ li r4, 0 -/* 800F2A60 000EF9C0 38 00 00 03 */ li r0, 3 -/* 800F2A64 000EF9C4 98 81 00 5C */ stb r4, 0x5c(r1) -/* 800F2A68 000EF9C8 FC 40 08 90 */ fmr f2, f1 -/* 800F2A6C 000EF9CC C2 E5 00 00 */ lfs f23, 0(r5) -/* 800F2A70 000EF9D0 FC 60 08 90 */ fmr f3, f1 -/* 800F2A74 000EF9D4 98 81 00 5D */ stb r4, 0x5d(r1) -/* 800F2A78 000EF9D8 FC 80 08 90 */ fmr f4, f1 -/* 800F2A7C 000EF9DC 82 FD 00 64 */ lwz r23, 0x64(r29) -/* 800F2A80 000EF9E0 B0 01 00 5E */ sth r0, 0x5e(r1) -/* 800F2A84 000EF9E4 38 61 00 60 */ addi r3, r1, 0x60 -/* 800F2A88 000EF9E8 48 27 09 65 */ bl __ct__6CColorFffff -/* 800F2A8C 000EF9EC C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F2A90 000EF9F0 88 81 00 5C */ lbz r4, 0x5c(r1) -/* 800F2A94 000EF9F4 A0 61 00 5E */ lhz r3, 0x5e(r1) -/* 800F2A98 000EF9F8 FC 01 B8 00 */ fcmpu cr0, f1, f23 -/* 800F2A9C 000EF9FC 80 01 00 60 */ lwz r0, 0x60(r1) -/* 800F2AA0 000EFA00 98 81 00 A4 */ stb r4, 0xa4(r1) -/* 800F2AA4 000EFA04 9A E1 00 A5 */ stb r23, 0xa5(r1) -/* 800F2AA8 000EFA08 B0 61 00 A6 */ sth r3, 0xa6(r1) -/* 800F2AAC 000EFA0C 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 800F2AB0 000EFA10 41 82 00 44 */ beq lbl_800F2AF4 -/* 800F2AB4 000EFA14 80 BF 02 9C */ lwz r5, 0x29c(r31) -/* 800F2AB8 000EFA18 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) -/* 800F2ABC 000EFA1C 7C 05 00 40 */ cmplw r5, r0 -/* 800F2AC0 000EFA20 41 82 00 10 */ beq lbl_800F2AD0 -/* 800F2AC4 000EFA24 80 7D 1C 14 */ lwz r3, 0x1c14(r29) -/* 800F2AC8 000EFA28 38 81 02 E4 */ addi r4, r1, 0x2e4 -/* 800F2ACC 000EFA2C 48 01 E4 ED */ bl EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif -lbl_800F2AD0: -/* 800F2AD0 000EFA30 80 7D 00 60 */ lwz r3, 0x60(r29) -/* 800F2AD4 000EFA34 7F C4 F3 78 */ mr r4, r30 -/* 800F2AD8 000EFA38 80 DD 1C 18 */ lwz r6, 0x1c18(r29) -/* 800F2ADC 000EFA3C 38 A1 02 E4 */ addi r5, r1, 0x2e4 -/* 800F2AE0 000EFA40 38 E1 00 A4 */ addi r7, r1, 0xa4 -/* 800F2AE4 000EFA44 48 02 22 D9 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 800F2AE8 000EFA48 80 7D 1C 14 */ lwz r3, 0x1c14(r29) -/* 800F2AEC 000EFA4C 48 01 E4 AD */ bl DisableModelProjectedShadow__12CWorldShadowCFv -/* 800F2AF0 000EFA50 48 00 00 1C */ b lbl_800F2B0C -lbl_800F2AF4: -/* 800F2AF4 000EFA54 80 7D 00 60 */ lwz r3, 0x60(r29) -/* 800F2AF8 000EFA58 7F C4 F3 78 */ mr r4, r30 -/* 800F2AFC 000EFA5C 38 A1 02 E4 */ addi r5, r1, 0x2e4 -/* 800F2B00 000EFA60 38 E1 00 A4 */ addi r7, r1, 0xa4 -/* 800F2B04 000EFA64 38 C0 00 00 */ li r6, 0 -/* 800F2B08 000EFA68 48 02 22 B5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_800F2B0C: -/* 800F2B0C 000EFA6C 80 7D 19 CC */ lwz r3, 0x19cc(r29) -/* 800F2B10 000EFA70 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2B14 000EFA74 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2B18 000EFA78 7D 89 03 A6 */ mtctr r12 -/* 800F2B1C 000EFA7C 4E 80 04 21 */ bctrl -/* 800F2B20 000EFA80 3A FD 1B CC */ addi r23, r29, 0x1bcc -/* 800F2B24 000EFA84 80 7D 1C 08 */ lwz r3, 0x1c08(r29) -/* 800F2B28 000EFA88 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2B2C 000EFA8C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2B30 000EFA90 7D 89 03 A6 */ mtctr r12 -/* 800F2B34 000EFA94 4E 80 04 21 */ bctrl -/* 800F2B38 000EFA98 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) -/* 800F2B3C 000EFA9C 2C 00 FF FF */ cmpwi r0, -1 -/* 800F2B40 000EFAA0 41 82 00 20 */ beq lbl_800F2B60 -/* 800F2B44 000EFAA4 54 03 18 38 */ slwi r3, r0, 3 -/* 800F2B48 000EFAA8 38 03 00 04 */ addi r0, r3, 4 -/* 800F2B4C 000EFAAC 7C 77 00 2E */ lwzx r3, r23, r0 -/* 800F2B50 000EFAB0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2B54 000EFAB4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2B58 000EFAB8 7D 89 03 A6 */ mtctr r12 -/* 800F2B5C 000EFABC 4E 80 04 21 */ bctrl -lbl_800F2B60: -/* 800F2B60 000EFAC0 80 7D 00 08 */ lwz r3, 8(r29) -/* 800F2B64 000EFAC4 38 00 00 FF */ li r0, 0xff -/* 800F2B68 000EFAC8 38 BB 01 C0 */ addi r5, r27, 0x1c0 -/* 800F2B6C 000EFACC 98 01 00 17 */ stb r0, 0x17(r1) -/* 800F2B70 000EFAD0 1C 03 00 03 */ mulli r0, r3, 3 -/* 800F2B74 000EFAD4 80 7D 19 D0 */ lwz r3, 0x19d0(r29) -/* 800F2B78 000EFAD8 38 81 00 14 */ addi r4, r1, 0x14 -/* 800F2B7C 000EFADC 7C A5 02 14 */ add r5, r5, r0 -/* 800F2B80 000EFAE0 88 E5 00 02 */ lbz r7, 2(r5) -/* 800F2B84 000EFAE4 88 C5 00 01 */ lbz r6, 1(r5) -/* 800F2B88 000EFAE8 88 05 00 00 */ lbz r0, 0(r5) -/* 800F2B8C 000EFAEC 98 C1 00 15 */ stb r6, 0x15(r1) -/* 800F2B90 000EFAF0 98 01 00 14 */ stb r0, 0x14(r1) -/* 800F2B94 000EFAF4 98 E1 00 16 */ stb r7, 0x16(r1) -/* 800F2B98 000EFAF8 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2B9C 000EFAFC 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F2BA0 000EFB00 7D 89 03 A6 */ mtctr r12 -/* 800F2BA4 000EFB04 4E 80 04 21 */ bctrl -/* 800F2BA8 000EFB08 80 7D 19 D0 */ lwz r3, 0x19d0(r29) -/* 800F2BAC 000EFB0C 48 22 4A F1 */ bl GetNumActiveChildParticles__11CElementGenCFv -/* 800F2BB0 000EFB10 2C 03 00 00 */ cmpwi r3, 0 -/* 800F2BB4 000EFB14 40 81 00 B4 */ ble lbl_800F2C68 -/* 800F2BB8 000EFB18 80 7D 19 D0 */ lwz r3, 0x19d0(r29) -/* 800F2BBC 000EFB1C 38 80 00 00 */ li r4, 0 -/* 800F2BC0 000EFB20 48 22 4A CD */ bl GetActiveChildParticle__11CElementGenCFi -/* 800F2BC4 000EFB24 80 9D 00 08 */ lwz r4, 8(r29) -/* 800F2BC8 000EFB28 38 00 00 FF */ li r0, 0xff -/* 800F2BCC 000EFB2C 38 BB 01 DC */ addi r5, r27, 0x1dc -/* 800F2BD0 000EFB30 98 01 00 13 */ stb r0, 0x13(r1) -/* 800F2BD4 000EFB34 1C 04 00 03 */ mulli r0, r4, 3 -/* 800F2BD8 000EFB38 38 81 00 10 */ addi r4, r1, 0x10 -/* 800F2BDC 000EFB3C 7C A5 02 14 */ add r5, r5, r0 -/* 800F2BE0 000EFB40 88 E5 00 02 */ lbz r7, 2(r5) -/* 800F2BE4 000EFB44 88 C5 00 01 */ lbz r6, 1(r5) -/* 800F2BE8 000EFB48 88 05 00 00 */ lbz r0, 0(r5) -/* 800F2BEC 000EFB4C 98 C1 00 11 */ stb r6, 0x11(r1) -/* 800F2BF0 000EFB50 98 01 00 10 */ stb r0, 0x10(r1) -/* 800F2BF4 000EFB54 98 E1 00 12 */ stb r7, 0x12(r1) -/* 800F2BF8 000EFB58 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2BFC 000EFB5C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F2C00 000EFB60 7D 89 03 A6 */ mtctr r12 -/* 800F2C04 000EFB64 4E 80 04 21 */ bctrl -/* 800F2C08 000EFB68 80 7D 19 D0 */ lwz r3, 0x19d0(r29) -/* 800F2C0C 000EFB6C 48 22 4A 91 */ bl GetNumActiveChildParticles__11CElementGenCFv -/* 800F2C10 000EFB70 2C 03 00 01 */ cmpwi r3, 1 -/* 800F2C14 000EFB74 40 81 00 54 */ ble lbl_800F2C68 -/* 800F2C18 000EFB78 80 7D 19 D0 */ lwz r3, 0x19d0(r29) -/* 800F2C1C 000EFB7C 38 80 00 01 */ li r4, 1 -/* 800F2C20 000EFB80 48 22 4A 6D */ bl GetActiveChildParticle__11CElementGenCFi -/* 800F2C24 000EFB84 80 9D 00 08 */ lwz r4, 8(r29) -/* 800F2C28 000EFB88 38 00 00 FF */ li r0, 0xff -/* 800F2C2C 000EFB8C 38 BB 01 F8 */ addi r5, r27, 0x1f8 -/* 800F2C30 000EFB90 98 01 00 0F */ stb r0, 0xf(r1) -/* 800F2C34 000EFB94 1C 04 00 03 */ mulli r0, r4, 3 -/* 800F2C38 000EFB98 38 81 00 0C */ addi r4, r1, 0xc -/* 800F2C3C 000EFB9C 7C A5 02 14 */ add r5, r5, r0 -/* 800F2C40 000EFBA0 88 E5 00 02 */ lbz r7, 2(r5) -/* 800F2C44 000EFBA4 88 C5 00 01 */ lbz r6, 1(r5) -/* 800F2C48 000EFBA8 88 05 00 00 */ lbz r0, 0(r5) -/* 800F2C4C 000EFBAC 98 C1 00 0D */ stb r6, 0xd(r1) -/* 800F2C50 000EFBB0 98 01 00 0C */ stb r0, 0xc(r1) -/* 800F2C54 000EFBB4 98 E1 00 0E */ stb r7, 0xe(r1) -/* 800F2C58 000EFBB8 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2C5C 000EFBBC 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F2C60 000EFBC0 7D 89 03 A6 */ mtctr r12 -/* 800F2C64 000EFBC4 4E 80 04 21 */ bctrl -lbl_800F2C68: -/* 800F2C68 000EFBC8 80 7D 19 D0 */ lwz r3, 0x19d0(r29) -/* 800F2C6C 000EFBCC 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2C70 000EFBD0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2C74 000EFBD4 7D 89 03 A6 */ mtctr r12 -/* 800F2C78 000EFBD8 4E 80 04 21 */ bctrl -/* 800F2C7C 000EFBDC 80 7D 19 D4 */ lwz r3, 0x19d4(r29) -/* 800F2C80 000EFBE0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2C84 000EFBE4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2C88 000EFBE8 7D 89 03 A6 */ mtctr r12 -/* 800F2C8C 000EFBEC 4E 80 04 21 */ bctrl -/* 800F2C90 000EFBF0 7F A3 EB 78 */ mr r3, r29 -/* 800F2C94 000EFBF4 7F C4 F3 78 */ mr r4, r30 -/* 800F2C98 000EFBF8 4B FF C3 A5 */ bl RenderEnergyDrainEffects__10CMorphBallCFRC13CStateManager -/* 800F2C9C 000EFBFC 80 7D 19 D8 */ lwz r3, 0x19d8(r29) -/* 800F2CA0 000EFC00 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2CA4 000EFC04 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 800F2CA8 000EFC08 7D 89 03 A6 */ mtctr r12 -/* 800F2CAC 000EFC0C 4E 80 04 21 */ bctrl -/* 800F2CB0 000EFC10 80 03 00 00 */ lwz r0, 0(r3) -/* 800F2CB4 000EFC14 28 00 00 00 */ cmplwi r0, 0 -/* 800F2CB8 000EFC18 41 82 00 18 */ beq lbl_800F2CD0 -/* 800F2CBC 000EFC1C 80 7D 19 D8 */ lwz r3, 0x19d8(r29) -/* 800F2CC0 000EFC20 81 83 00 00 */ lwz r12, 0(r3) -/* 800F2CC4 000EFC24 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F2CC8 000EFC28 7D 89 03 A6 */ mtctr r12 -/* 800F2CCC 000EFC2C 4E 80 04 21 */ bctrl -lbl_800F2CD0: -/* 800F2CD0 000EFC30 7F A3 EB 78 */ mr r3, r29 -/* 800F2CD4 000EFC34 7F C4 F3 78 */ mr r4, r30 -/* 800F2CD8 000EFC38 4B FF F2 E9 */ bl RenderMorphBallTransitionFlash__10CMorphBallCFRC13CStateManager -/* 800F2CDC 000EFC3C 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F2CE0 000EFC40 4B F2 30 1D */ bl GetFrozenState__7CPlayerCFv -/* 800F2CE4 000EFC44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F2CE8 000EFC48 41 82 00 98 */ beq lbl_800F2D80 -/* 800F2CEC 000EFC4C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F2CF0 000EFC50 38 80 00 00 */ li r4, 0 -/* 800F2CF4 000EFC54 38 00 00 03 */ li r0, 3 -/* 800F2CF8 000EFC58 98 81 00 54 */ stb r4, 0x54(r1) -/* 800F2CFC 000EFC5C FC 40 08 90 */ fmr f2, f1 -/* 800F2D00 000EFC60 38 61 00 58 */ addi r3, r1, 0x58 -/* 800F2D04 000EFC64 FC 60 08 90 */ fmr f3, f1 -/* 800F2D08 000EFC68 98 81 00 55 */ stb r4, 0x55(r1) -/* 800F2D0C 000EFC6C FC 80 08 90 */ fmr f4, f1 -/* 800F2D10 000EFC70 B0 01 00 56 */ sth r0, 0x56(r1) -/* 800F2D14 000EFC74 48 27 06 D9 */ bl __ct__6CColorFffff -/* 800F2D18 000EFC78 89 01 00 54 */ lbz r8, 0x54(r1) -/* 800F2D1C 000EFC7C 3C 60 80 5A */ lis r3, lbl_805A65FC@ha -/* 800F2D20 000EFC80 88 E1 00 55 */ lbz r7, 0x55(r1) -/* 800F2D24 000EFC84 38 83 65 FC */ addi r4, r3, lbl_805A65FC@l -/* 800F2D28 000EFC88 A0 C1 00 56 */ lhz r6, 0x56(r1) -/* 800F2D2C 000EFC8C 38 61 01 34 */ addi r3, r1, 0x134 -/* 800F2D30 000EFC90 80 01 00 58 */ lwz r0, 0x58(r1) -/* 800F2D34 000EFC94 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 800F2D38 000EFC98 C0 41 02 F0 */ lfs f2, 0x2f0(r1) -/* 800F2D3C 000EFC9C C0 21 03 00 */ lfs f1, 0x300(r1) -/* 800F2D40 000EFCA0 C0 01 03 10 */ lfs f0, 0x310(r1) -/* 800F2D44 000EFCA4 99 01 00 9C */ stb r8, 0x9c(r1) -/* 800F2D48 000EFCA8 82 FD 00 70 */ lwz r23, 0x70(r29) -/* 800F2D4C 000EFCAC 98 E1 00 9D */ stb r7, 0x9d(r1) -/* 800F2D50 000EFCB0 B0 C1 00 9E */ sth r6, 0x9e(r1) -/* 800F2D54 000EFCB4 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 800F2D58 000EFCB8 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 800F2D5C 000EFCBC D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 800F2D60 000EFCC0 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 800F2D64 000EFCC4 48 22 05 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800F2D68 000EFCC8 7C 65 1B 78 */ mr r5, r3 -/* 800F2D6C 000EFCCC 7E E3 BB 78 */ mr r3, r23 -/* 800F2D70 000EFCD0 7F C4 F3 78 */ mr r4, r30 -/* 800F2D74 000EFCD4 7F E6 FB 78 */ mr r6, r31 -/* 800F2D78 000EFCD8 38 E1 00 9C */ addi r7, r1, 0x9c -/* 800F2D7C 000EFCDC 48 02 20 41 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_800F2D80: -/* 800F2D80 000EFCE0 7F A3 EB 78 */ mr r3, r29 -/* 800F2D84 000EFCE4 7F C4 F3 78 */ mr r4, r30 -/* 800F2D88 000EFCE8 4B FF EF C5 */ bl RenderIceBreakEffect__10CMorphBallCFRC13CStateManager -/* 800F2D8C 000EFCEC E3 E1 03 D8 */ psq_l f31, 984(r1), 0, qr0 -/* 800F2D90 000EFCF0 CB E1 03 D0 */ lfd f31, 0x3d0(r1) -/* 800F2D94 000EFCF4 E3 C1 03 C8 */ psq_l f30, 968(r1), 0, qr0 -/* 800F2D98 000EFCF8 CB C1 03 C0 */ lfd f30, 0x3c0(r1) -/* 800F2D9C 000EFCFC E3 A1 03 B8 */ psq_l f29, 952(r1), 0, qr0 -/* 800F2DA0 000EFD00 CB A1 03 B0 */ lfd f29, 0x3b0(r1) -/* 800F2DA4 000EFD04 E3 81 03 A8 */ psq_l f28, 936(r1), 0, qr0 -/* 800F2DA8 000EFD08 CB 81 03 A0 */ lfd f28, 0x3a0(r1) -/* 800F2DAC 000EFD0C E3 61 03 98 */ psq_l f27, 920(r1), 0, qr0 -/* 800F2DB0 000EFD10 CB 61 03 90 */ lfd f27, 0x390(r1) -/* 800F2DB4 000EFD14 E3 41 03 88 */ psq_l f26, 904(r1), 0, qr0 -/* 800F2DB8 000EFD18 CB 41 03 80 */ lfd f26, 0x380(r1) -/* 800F2DBC 000EFD1C E3 21 03 78 */ psq_l f25, 888(r1), 0, qr0 -/* 800F2DC0 000EFD20 CB 21 03 70 */ lfd f25, 0x370(r1) -/* 800F2DC4 000EFD24 E3 01 03 68 */ psq_l f24, 872(r1), 0, qr0 -/* 800F2DC8 000EFD28 CB 01 03 60 */ lfd f24, 0x360(r1) -/* 800F2DCC 000EFD2C E2 E1 03 58 */ psq_l f23, 856(r1), 0, qr0 -/* 800F2DD0 000EFD30 CA E1 03 50 */ lfd f23, 0x350(r1) -/* 800F2DD4 000EFD34 BA E1 03 2C */ lmw r23, 0x32c(r1) -/* 800F2DD8 000EFD38 80 01 03 E4 */ lwz r0, 0x3e4(r1) -/* 800F2DDC 000EFD3C 7C 08 03 A6 */ mtlr r0 -/* 800F2DE0 000EFD40 38 21 03 E0 */ addi r1, r1, 0x3e0 -/* 800F2DE4 000EFD44 4E 80 00 20 */ blr - -.global "GetEntry__33TReservedAverage<11CQuaternion,5>CFi" -"GetEntry__33TReservedAverage<11CQuaternion,5>CFi": -/* 800F2DE8 000EFD48 80 04 00 00 */ lwz r0, 0(r4) -/* 800F2DEC 000EFD4C 7C 05 00 00 */ cmpw r5, r0 -/* 800F2DF0 000EFD50 41 80 00 10 */ blt lbl_800F2E00 -/* 800F2DF4 000EFD54 38 00 00 00 */ li r0, 0 -/* 800F2DF8 000EFD58 98 03 00 10 */ stb r0, 0x10(r3) -/* 800F2DFC 000EFD5C 4E 80 00 20 */ blr -lbl_800F2E00: -/* 800F2E00 000EFD60 38 00 00 01 */ li r0, 1 -/* 800F2E04 000EFD64 28 03 00 00 */ cmplwi r3, 0 -/* 800F2E08 000EFD68 54 A5 20 36 */ slwi r5, r5, 4 -/* 800F2E0C 000EFD6C 98 03 00 10 */ stb r0, 0x10(r3) -/* 800F2E10 000EFD70 7C 84 2A 14 */ add r4, r4, r5 -/* 800F2E14 000EFD74 4D 82 00 20 */ beqlr -/* 800F2E18 000EFD78 C0 04 00 04 */ lfs f0, 4(r4) -/* 800F2E1C 000EFD7C D0 03 00 00 */ stfs f0, 0(r3) -/* 800F2E20 000EFD80 C0 04 00 08 */ lfs f0, 8(r4) -/* 800F2E24 000EFD84 D0 03 00 04 */ stfs f0, 4(r3) -/* 800F2E28 000EFD88 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 800F2E2C 000EFD8C D0 03 00 08 */ stfs f0, 8(r3) -/* 800F2E30 000EFD90 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 800F2E34 000EFD94 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800F2E38 000EFD98 4E 80 00 20 */ blr - -.global "GetEntry__30TReservedAverage<9CVector3f,5>CFi" -"GetEntry__30TReservedAverage<9CVector3f,5>CFi": -/* 800F2E3C 000EFD9C 80 04 00 00 */ lwz r0, 0(r4) -/* 800F2E40 000EFDA0 7C 05 00 00 */ cmpw r5, r0 -/* 800F2E44 000EFDA4 41 80 00 10 */ blt lbl_800F2E54 -/* 800F2E48 000EFDA8 38 00 00 00 */ li r0, 0 -/* 800F2E4C 000EFDAC 98 03 00 0C */ stb r0, 0xc(r3) -/* 800F2E50 000EFDB0 4E 80 00 20 */ blr -lbl_800F2E54: -/* 800F2E54 000EFDB4 1C A5 00 0C */ mulli r5, r5, 0xc -/* 800F2E58 000EFDB8 38 00 00 01 */ li r0, 1 -/* 800F2E5C 000EFDBC 28 03 00 00 */ cmplwi r3, 0 -/* 800F2E60 000EFDC0 98 03 00 0C */ stb r0, 0xc(r3) -/* 800F2E64 000EFDC4 7C 84 2A 14 */ add r4, r4, r5 -/* 800F2E68 000EFDC8 4D 82 00 20 */ beqlr -/* 800F2E6C 000EFDCC C0 04 00 04 */ lfs f0, 4(r4) -/* 800F2E70 000EFDD0 D0 03 00 00 */ stfs f0, 0(r3) -/* 800F2E74 000EFDD4 C0 04 00 08 */ lfs f0, 8(r4) -/* 800F2E78 000EFDD8 D0 03 00 04 */ stfs f0, 4(r3) -/* 800F2E7C 000EFDDC C0 04 00 0C */ lfs f0, 0xc(r4) -/* 800F2E80 000EFDE0 D0 03 00 08 */ stfs f0, 8(r3) -/* 800F2E84 000EFDE4 4E 80 00 20 */ blr - -.global PreRender__10CMorphBallFR13CStateManagerRC14CFrustumPlanes -PreRender__10CMorphBallFR13CStateManagerRC14CFrustumPlanes: -/* 800F2E88 000EFDE8 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 800F2E8C 000EFDEC 7C 08 02 A6 */ mflr r0 -/* 800F2E90 000EFDF0 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F2E94 000EFDF4 90 01 01 54 */ stw r0, 0x154(r1) -/* 800F2E98 000EFDF8 BF 61 01 3C */ stmw r27, 0x13c(r1) -/* 800F2E9C 000EFDFC 7C 7C 1B 78 */ mr r28, r3 -/* 800F2EA0 000EFE00 7C 9D 23 78 */ mr r29, r4 -/* 800F2EA4 000EFE04 C0 03 1C 34 */ lfs f0, 0x1c34(r3) -/* 800F2EA8 000EFE08 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F2EAC 000EFE0C 41 82 03 6C */ beq lbl_800F3218 -/* 800F2EB0 000EFE10 C0 3C 1E 44 */ lfs f1, 0x1e44(r28) -/* 800F2EB4 000EFE14 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) -/* 800F2EB8 000EFE18 80 7C 00 00 */ lwz r3, 0(r28) -/* 800F2EBC 000EFE1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F2EC0 000EFE20 83 C3 00 90 */ lwz r30, 0x90(r3) -/* 800F2EC4 000EFE24 7C 60 00 26 */ mfcr r3 -/* 800F2EC8 000EFE28 88 1E 02 98 */ lbz r0, 0x298(r30) -/* 800F2ECC 000EFE2C 50 60 2E F6 */ rlwimi r0, r3, 5, 0x1b, 0x1b -/* 800F2ED0 000EFE30 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) -/* 800F2ED4 000EFE34 98 1E 02 98 */ stb r0, 0x298(r30) -/* 800F2ED8 000EFE38 3C A0 80 3E */ lis r5, lbl_803D97E4@ha -/* 800F2EDC 000EFE3C 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 800F2EE0 000EFE40 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F2EE4 000EFE44 D0 1E 02 D0 */ stfs f0, 0x2d0(r30) -/* 800F2EE8 000EFE48 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 800F2EEC 000EFE4C 38 E0 00 01 */ li r7, 1 -/* 800F2EF0 000EFE50 3B E3 66 A0 */ addi r31, r3, skZero3f@l -/* 800F2EF4 000EFE54 88 DE 02 98 */ lbz r6, 0x298(r30) -/* 800F2EF8 000EFE58 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 -/* 800F2EFC 000EFE5C 38 A5 97 E4 */ addi r5, r5, lbl_803D97E4@l -/* 800F2F00 000EFE60 7F 84 E3 78 */ mr r4, r28 -/* 800F2F04 000EFE64 98 DE 02 98 */ stb r6, 0x298(r30) -/* 800F2F08 000EFE68 38 61 01 08 */ addi r3, r1, 0x108 -/* 800F2F0C 000EFE6C 90 A1 00 B8 */ stw r5, 0xb8(r1) -/* 800F2F10 000EFE70 C0 5F 00 00 */ lfs f2, 0(r31) -/* 800F2F14 000EFE74 80 BC 00 40 */ lwz r5, 0x40(r28) -/* 800F2F18 000EFE78 80 DC 00 44 */ lwz r6, 0x44(r28) -/* 800F2F1C 000EFE7C C0 3F 00 04 */ lfs f1, 4(r31) -/* 800F2F20 000EFE80 90 C1 00 C4 */ stw r6, 0xc4(r1) -/* 800F2F24 000EFE84 C0 1F 00 08 */ lfs f0, 8(r31) -/* 800F2F28 000EFE88 90 A1 00 C0 */ stw r5, 0xc0(r1) -/* 800F2F2C 000EFE8C 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 800F2F30 000EFE90 C0 7C 00 48 */ lfs f3, 0x48(r28) -/* 800F2F34 000EFE94 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 800F2F38 000EFE98 D0 61 00 C8 */ stfs f3, 0xc8(r1) -/* 800F2F3C 000EFE9C 80 C1 00 40 */ lwz r6, 0x40(r1) -/* 800F2F40 000EFEA0 C0 5C 00 4C */ lfs f2, 0x4c(r28) -/* 800F2F44 000EFEA4 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 800F2F48 000EFEA8 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 800F2F4C 000EFEAC 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 800F2F50 000EFEB0 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 800F2F54 000EFEB4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800F2F58 000EFEB8 D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 800F2F5C 000EFEBC 80 01 00 48 */ lwz r0, 0x48(r1) -/* 800F2F60 000EFEC0 C0 3C 00 54 */ lfs f1, 0x54(r28) -/* 800F2F64 000EFEC4 FC 00 08 18 */ frsp f0, f1 -/* 800F2F68 000EFEC8 D0 21 00 D4 */ stfs f1, 0xd4(r1) -/* 800F2F6C 000EFECC D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 800F2F70 000EFED0 90 C1 00 C8 */ stw r6, 0xc8(r1) -/* 800F2F74 000EFED4 90 A1 00 CC */ stw r5, 0xcc(r1) -/* 800F2F78 000EFED8 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 800F2F7C 000EFEDC D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 800F2F80 000EFEE0 48 00 37 75 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F2F84 000EFEE4 38 61 00 68 */ addi r3, r1, 0x68 -/* 800F2F88 000EFEE8 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 800F2F8C 000EFEEC 38 A1 01 08 */ addi r5, r1, 0x108 -/* 800F2F90 000EFEF0 48 1E 14 A5 */ bl CalculateAABox__17CCollidableSphereCFRC12CTransform4f -/* 800F2F94 000EFEF4 C0 A1 00 68 */ lfs f5, 0x68(r1) -/* 800F2F98 000EFEF8 C0 81 00 6C */ lfs f4, 0x6c(r1) -/* 800F2F9C 000EFEFC C0 61 00 70 */ lfs f3, 0x70(r1) -/* 800F2FA0 000EFF00 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 800F2FA4 000EFF04 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 800F2FA8 000EFF08 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 800F2FAC 000EFF0C D0 A1 00 A0 */ stfs f5, 0xa0(r1) -/* 800F2FB0 000EFF10 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800F2FB4 000EFF14 D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 800F2FB8 000EFF18 D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 800F2FBC 000EFF1C D0 41 00 AC */ stfs f2, 0xac(r1) -/* 800F2FC0 000EFF20 D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 800F2FC4 000EFF24 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 800F2FC8 000EFF28 80 7C 00 00 */ lwz r3, 0(r28) -/* 800F2FCC 000EFF2C 80 C3 00 04 */ lwz r6, 4(r3) -/* 800F2FD0 000EFF30 7C 06 00 00 */ cmpw r6, r0 -/* 800F2FD4 000EFF34 41 82 00 4C */ beq lbl_800F3020 -/* 800F2FD8 000EFF38 80 7D 08 50 */ lwz r3, 0x850(r29) -/* 800F2FDC 000EFF3C 54 C4 18 38 */ slwi r4, r6, 3 -/* 800F2FE0 000EFF40 90 C1 00 28 */ stw r6, 0x28(r1) -/* 800F2FE4 000EFF44 80 A3 00 20 */ lwz r5, 0x20(r3) -/* 800F2FE8 000EFF48 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 800F2FEC 000EFF4C 7C 65 22 14 */ add r3, r5, r4 -/* 800F2FF0 000EFF50 80 63 00 04 */ lwz r3, 4(r3) -/* 800F2FF4 000EFF54 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 800F2FF8 000EFF58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800F2FFC 000EFF5C 41 82 00 24 */ beq lbl_800F3020 -/* 800F3000 000EFF60 38 04 00 04 */ addi r0, r4, 4 -/* 800F3004 000EFF64 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800F3008 000EFF68 7C A5 00 2E */ lwzx r5, r5, r0 -/* 800F300C 000EFF6C 7F C3 F3 78 */ mr r3, r30 -/* 800F3010 000EFF70 90 C1 00 24 */ stw r6, 0x24(r1) -/* 800F3014 000EFF74 7F A4 EB 78 */ mr r4, r29 -/* 800F3018 000EFF78 38 C1 00 A0 */ addi r6, r1, 0xa0 -/* 800F301C 000EFF7C 48 01 0D A5 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox -lbl_800F3020: -/* 800F3020 000EFF80 7F C3 F3 78 */ mr r3, r30 -/* 800F3024 000EFF84 7F A4 EB 78 */ mr r4, r29 -/* 800F3028 000EFF88 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 800F302C 000EFF8C 48 01 06 E5 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox -/* 800F3030 000EFF90 81 1C 00 00 */ lwz r8, 0(r28) -/* 800F3034 000EFF94 80 02 94 00 */ lwz r0, lbl_805AB120@sda21(r2) -/* 800F3038 000EFF98 80 E8 00 90 */ lwz r7, 0x90(r8) -/* 800F303C 000EFF9C 80 67 02 9C */ lwz r3, 0x29c(r7) -/* 800F3040 000EFFA0 7C 03 00 40 */ cmplw r3, r0 -/* 800F3044 000EFFA4 41 82 00 F8 */ beq lbl_800F313C -/* 800F3048 000EFFA8 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 800F304C 000EFFAC C0 3F 00 04 */ lfs f1, 4(r31) -/* 800F3050 000EFFB0 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 800F3054 000EFFB4 C0 1F 00 08 */ lfs f0, 8(r31) -/* 800F3058 000EFFB8 90 01 00 80 */ stw r0, 0x80(r1) -/* 800F305C 000EFFBC 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 800F3060 000EFFC0 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 800F3064 000EFFC4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F3068 000EFFC8 80 BC 00 40 */ lwz r5, 0x40(r28) -/* 800F306C 000EFFCC 7F 84 E3 78 */ mr r4, r28 -/* 800F3070 000EFFD0 80 DC 00 44 */ lwz r6, 0x44(r28) -/* 800F3074 000EFFD4 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) -/* 800F3078 000EFFD8 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 800F307C 000EFFDC 90 C1 00 8C */ stw r6, 0x8c(r1) -/* 800F3080 000EFFE0 90 A1 00 88 */ stw r5, 0x88(r1) -/* 800F3084 000EFFE4 90 01 00 80 */ stw r0, 0x80(r1) -/* 800F3088 000EFFE8 C0 7C 00 48 */ lfs f3, 0x48(r28) -/* 800F308C 000EFFEC D0 41 00 30 */ stfs f2, 0x30(r1) -/* 800F3090 000EFFF0 D0 61 00 90 */ stfs f3, 0x90(r1) -/* 800F3094 000EFFF4 80 C1 00 30 */ lwz r6, 0x30(r1) -/* 800F3098 000EFFF8 C0 5C 00 4C */ lfs f2, 0x4c(r28) -/* 800F309C 000EFFFC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 800F30A0 000F0000 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 800F30A4 000F0004 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 800F30A8 000F0008 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 800F30AC 000F000C D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800F30B0 000F0010 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 800F30B4 000F0014 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800F30B8 000F0018 C0 3C 00 54 */ lfs f1, 0x54(r28) -/* 800F30BC 000F001C FC 00 08 18 */ frsp f0, f1 -/* 800F30C0 000F0020 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 800F30C4 000F0024 90 C1 00 90 */ stw r6, 0x90(r1) -/* 800F30C8 000F0028 90 A1 00 94 */ stw r5, 0x94(r1) -/* 800F30CC 000F002C 90 01 00 98 */ stw r0, 0x98(r1) -/* 800F30D0 000F0030 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 800F30D4 000F0034 80 08 00 04 */ lwz r0, 4(r8) -/* 800F30D8 000F0038 83 E7 02 A0 */ lwz r31, 0x2a0(r7) -/* 800F30DC 000F003C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800F30E0 000F0040 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800F30E4 000F0044 90 01 00 18 */ stw r0, 0x18(r1) -/* 800F30E8 000F0048 83 7C 1C 14 */ lwz r27, 0x1c14(r28) -/* 800F30EC 000F004C 48 00 36 09 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F30F0 000F0050 38 61 00 50 */ addi r3, r1, 0x50 -/* 800F30F4 000F0054 38 81 00 80 */ addi r4, r1, 0x80 -/* 800F30F8 000F0058 38 A1 00 D8 */ addi r5, r1, 0xd8 -/* 800F30FC 000F005C 48 1E 13 39 */ bl CalculateAABox__17CCollidableSphereCFRC12CTransform4f -/* 800F3100 000F0060 7F 63 DB 78 */ mr r3, r27 -/* 800F3104 000F0064 7F A4 EB 78 */ mr r4, r29 -/* 800F3108 000F0068 7F E6 FB 78 */ mr r6, r31 -/* 800F310C 000F006C 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800F3110 000F0070 38 E1 00 50 */ addi r7, r1, 0x50 -/* 800F3114 000F0074 39 00 00 00 */ li r8, 0 -/* 800F3118 000F0078 39 20 00 00 */ li r9, 0 -/* 800F311C 000F007C 48 01 E0 B5 */ bl BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb -/* 800F3120 000F0080 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 800F3124 000F0084 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 800F3128 000F0088 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 800F312C 000F008C 90 01 00 80 */ stw r0, 0x80(r1) -/* 800F3130 000F0090 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 800F3134 000F0094 90 01 00 80 */ stw r0, 0x80(r1) -/* 800F3138 000F0098 48 00 00 0C */ b lbl_800F3144 -lbl_800F313C: -/* 800F313C 000F009C 80 7C 1C 14 */ lwz r3, 0x1c14(r28) -/* 800F3140 000F00A0 48 01 DE 4D */ bl ResetBlur__12CWorldShadowFv -lbl_800F3144: -/* 800F3144 000F00A4 C0 3E 02 88 */ lfs f1, 0x288(r30) -/* 800F3148 000F00A8 38 61 00 10 */ addi r3, r1, 0x10 -/* 800F314C 000F00AC C0 5E 02 8C */ lfs f2, 0x28c(r30) -/* 800F3150 000F00B0 C0 7E 02 90 */ lfs f3, 0x290(r30) -/* 800F3154 000F00B4 C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) -/* 800F3158 000F00B8 48 27 02 95 */ bl __ct__6CColorFffff -/* 800F315C 000F00BC 48 25 6E 51 */ bl White__6CColorFv -/* 800F3160 000F00C0 C0 3C 1C 34 */ lfs f1, 0x1c34(r28) -/* 800F3164 000F00C4 7C 65 1B 78 */ mr r5, r3 -/* 800F3168 000F00C8 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F316C 000F00CC 38 81 00 10 */ addi r4, r1, 0x10 -/* 800F3170 000F00D0 48 27 01 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800F3174 000F00D4 7F C3 F3 78 */ mr r3, r30 -/* 800F3178 000F00D8 38 81 00 14 */ addi r4, r1, 0x14 -/* 800F317C 000F00DC 48 01 1E BD */ bl SetAmbientColor__12CActorLightsFRC6CColor -/* 800F3180 000F00E0 80 7C 1C 18 */ lwz r3, 0x1c18(r28) -/* 800F3184 000F00E4 7F C4 F3 78 */ mr r4, r30 -/* 800F3188 000F00E8 48 00 00 A5 */ bl sub_800f322c -/* 800F318C 000F00EC C0 3C 1C 38 */ lfs f1, 0x1c38(r28) -/* 800F3190 000F00F0 C0 1C 1C 34 */ lfs f0, 0x1c34(r28) -/* 800F3194 000F00F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3198 000F00F8 40 80 00 0C */ bge lbl_800F31A4 -/* 800F319C 000F00FC 3B 7C 1C 34 */ addi r27, r28, 0x1c34 -/* 800F31A0 000F0100 48 00 00 08 */ b lbl_800F31A8 -lbl_800F31A4: -/* 800F31A4 000F0104 3B 7C 1C 38 */ addi r27, r28, 0x1c38 -lbl_800F31A8: -/* 800F31A8 000F0108 C0 3E 02 88 */ lfs f1, 0x288(r30) -/* 800F31AC 000F010C 38 61 00 08 */ addi r3, r1, 8 -/* 800F31B0 000F0110 C0 5E 02 8C */ lfs f2, 0x28c(r30) -/* 800F31B4 000F0114 C0 7E 02 90 */ lfs f3, 0x290(r30) -/* 800F31B8 000F0118 C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) -/* 800F31BC 000F011C 48 27 02 31 */ bl __ct__6CColorFffff -/* 800F31C0 000F0120 83 BC 1C 18 */ lwz r29, 0x1c18(r28) -/* 800F31C4 000F0124 48 25 6D E9 */ bl White__6CColorFv -/* 800F31C8 000F0128 C0 3B 00 00 */ lfs f1, 0(r27) -/* 800F31CC 000F012C 7C 65 1B 78 */ mr r5, r3 -/* 800F31D0 000F0130 38 61 00 0C */ addi r3, r1, 0xc -/* 800F31D4 000F0134 38 81 00 08 */ addi r4, r1, 8 -/* 800F31D8 000F0138 48 27 00 D5 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800F31DC 000F013C 7F A3 EB 78 */ mr r3, r29 -/* 800F31E0 000F0140 38 81 00 0C */ addi r4, r1, 0xc -/* 800F31E4 000F0144 48 01 1E 55 */ bl SetAmbientColor__12CActorLightsFRC6CColor -/* 800F31E8 000F0148 80 7C 00 58 */ lwz r3, 0x58(r28) -/* 800F31EC 000F014C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 800F31F0 000F0150 28 00 00 00 */ cmplwi r0, 0 -/* 800F31F4 000F0154 41 82 00 0C */ beq lbl_800F3200 -/* 800F31F8 000F0158 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800F31FC 000F015C 4B F3 98 09 */ bl PreRender__9CAnimDataFv -lbl_800F3200: -/* 800F3200 000F0160 3C 80 80 3F */ lis r4, lbl_803ECAF8@ha -/* 800F3204 000F0164 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 800F3208 000F0168 38 04 CA F8 */ addi r0, r4, lbl_803ECAF8@l -/* 800F320C 000F016C 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 800F3210 000F0170 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 800F3214 000F0174 90 01 00 B8 */ stw r0, 0xb8(r1) -lbl_800F3218: -/* 800F3218 000F0178 BB 61 01 3C */ lmw r27, 0x13c(r1) -/* 800F321C 000F017C 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800F3220 000F0180 7C 08 03 A6 */ mtlr r0 -/* 800F3224 000F0184 38 21 01 50 */ addi r1, r1, 0x150 -/* 800F3228 000F0188 4E 80 00 20 */ blr - -.global sub_800f322c -sub_800f322c: -/* 800F322C 000F018C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F3230 000F0190 7C 08 02 A6 */ mflr r0 -/* 800F3234 000F0194 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F3238 000F0198 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F323C 000F019C 7C 9F 23 78 */ mr r31, r4 -/* 800F3240 000F01A0 93 C1 00 08 */ stw r30, 8(r1) -/* 800F3244 000F01A4 7C 7E 1B 78 */ mr r30, r3 -/* 800F3248 000F01A8 48 00 00 ED */ bl sub_800f3334 -/* 800F324C 000F01AC 38 7E 01 44 */ addi r3, r30, 0x144 -/* 800F3250 000F01B0 38 9F 01 44 */ addi r4, r31, 0x144 -/* 800F3254 000F01B4 48 00 00 E1 */ bl sub_800f3334 -/* 800F3258 000F01B8 80 9F 02 88 */ lwz r4, 0x288(r31) -/* 800F325C 000F01BC 7F C3 F3 78 */ mr r3, r30 -/* 800F3260 000F01C0 80 1F 02 8C */ lwz r0, 0x28c(r31) -/* 800F3264 000F01C4 90 9E 02 88 */ stw r4, 0x288(r30) -/* 800F3268 000F01C8 90 1E 02 8C */ stw r0, 0x28c(r30) -/* 800F326C 000F01CC 80 1F 02 90 */ lwz r0, 0x290(r31) -/* 800F3270 000F01D0 90 1E 02 90 */ stw r0, 0x290(r30) -/* 800F3274 000F01D4 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 800F3278 000F01D8 90 1E 02 94 */ stw r0, 0x294(r30) -/* 800F327C 000F01DC 88 1F 02 98 */ lbz r0, 0x298(r31) -/* 800F3280 000F01E0 98 1E 02 98 */ stb r0, 0x298(r30) -/* 800F3284 000F01E4 88 1F 02 99 */ lbz r0, 0x299(r31) -/* 800F3288 000F01E8 98 1E 02 99 */ stb r0, 0x299(r30) -/* 800F328C 000F01EC 88 1F 02 9A */ lbz r0, 0x29a(r31) -/* 800F3290 000F01F0 98 1E 02 9A */ stb r0, 0x29a(r30) -/* 800F3294 000F01F4 80 1F 02 9C */ lwz r0, 0x29c(r31) -/* 800F3298 000F01F8 90 1E 02 9C */ stw r0, 0x29c(r30) -/* 800F329C 000F01FC 80 1F 02 A0 */ lwz r0, 0x2a0(r31) -/* 800F32A0 000F0200 90 1E 02 A0 */ stw r0, 0x2a0(r30) -/* 800F32A4 000F0204 80 1F 02 A4 */ lwz r0, 0x2a4(r31) -/* 800F32A8 000F0208 90 1E 02 A4 */ stw r0, 0x2a4(r30) -/* 800F32AC 000F020C 80 1F 02 A8 */ lwz r0, 0x2a8(r31) -/* 800F32B0 000F0210 90 1E 02 A8 */ stw r0, 0x2a8(r30) -/* 800F32B4 000F0214 80 9F 02 AC */ lwz r4, 0x2ac(r31) -/* 800F32B8 000F0218 80 1F 02 B0 */ lwz r0, 0x2b0(r31) -/* 800F32BC 000F021C 90 9E 02 AC */ stw r4, 0x2ac(r30) -/* 800F32C0 000F0220 90 1E 02 B0 */ stw r0, 0x2b0(r30) -/* 800F32C4 000F0224 80 1F 02 B4 */ lwz r0, 0x2b4(r31) -/* 800F32C8 000F0228 90 1E 02 B4 */ stw r0, 0x2b4(r30) -/* 800F32CC 000F022C 80 1F 02 B8 */ lwz r0, 0x2b8(r31) -/* 800F32D0 000F0230 90 1E 02 B8 */ stw r0, 0x2b8(r30) -/* 800F32D4 000F0234 80 1F 02 BC */ lwz r0, 0x2bc(r31) -/* 800F32D8 000F0238 90 1E 02 BC */ stw r0, 0x2bc(r30) -/* 800F32DC 000F023C 80 9F 02 C0 */ lwz r4, 0x2c0(r31) -/* 800F32E0 000F0240 80 1F 02 C4 */ lwz r0, 0x2c4(r31) -/* 800F32E4 000F0244 90 9E 02 C0 */ stw r4, 0x2c0(r30) -/* 800F32E8 000F0248 90 1E 02 C4 */ stw r0, 0x2c4(r30) -/* 800F32EC 000F024C 80 1F 02 C8 */ lwz r0, 0x2c8(r31) -/* 800F32F0 000F0250 90 1E 02 C8 */ stw r0, 0x2c8(r30) -/* 800F32F4 000F0254 C0 1F 02 CC */ lfs f0, 0x2cc(r31) -/* 800F32F8 000F0258 D0 1E 02 CC */ stfs f0, 0x2cc(r30) -/* 800F32FC 000F025C C0 1F 02 D0 */ lfs f0, 0x2d0(r31) -/* 800F3300 000F0260 D0 1E 02 D0 */ stfs f0, 0x2d0(r30) -/* 800F3304 000F0264 C0 1F 02 D4 */ lfs f0, 0x2d4(r31) -/* 800F3308 000F0268 D0 1E 02 D4 */ stfs f0, 0x2d4(r30) -/* 800F330C 000F026C 80 1F 02 D8 */ lwz r0, 0x2d8(r31) -/* 800F3310 000F0270 90 1E 02 D8 */ stw r0, 0x2d8(r30) -/* 800F3314 000F0274 80 1F 02 DC */ lwz r0, 0x2dc(r31) -/* 800F3318 000F0278 90 1E 02 DC */ stw r0, 0x2dc(r30) -/* 800F331C 000F027C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F3320 000F0280 83 C1 00 08 */ lwz r30, 8(r1) -/* 800F3324 000F0284 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F3328 000F0288 7C 08 03 A6 */ mtlr r0 -/* 800F332C 000F028C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F3330 000F0290 4E 80 00 20 */ blr - -.global sub_800f3334 -sub_800f3334: -/* 800F3334 000F0294 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F3338 000F0298 7C 08 02 A6 */ mflr r0 -/* 800F333C 000F029C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F3340 000F02A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F3344 000F02A4 7C 9F 23 78 */ mr r31, r4 -/* 800F3348 000F02A8 93 C1 00 08 */ stw r30, 8(r1) -/* 800F334C 000F02AC 7C 7E 1B 78 */ mr r30, r3 -/* 800F3350 000F02B0 7C 1E F8 40 */ cmplw r30, r31 -/* 800F3354 000F02B4 40 82 00 08 */ bne lbl_800F335C -/* 800F3358 000F02B8 48 00 00 80 */ b lbl_800F33D8 -lbl_800F335C: -/* 800F335C 000F02BC 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F3360 000F02C0 38 60 00 00 */ li r3, 0 -/* 800F3364 000F02C4 2C 05 00 00 */ cmpwi r5, 0 -/* 800F3368 000F02C8 40 81 00 40 */ ble lbl_800F33A8 -/* 800F336C 000F02CC 2C 05 00 08 */ cmpwi r5, 8 -/* 800F3370 000F02D0 38 85 FF F8 */ addi r4, r5, -8 -/* 800F3374 000F02D4 40 81 00 20 */ ble lbl_800F3394 -/* 800F3378 000F02D8 38 04 00 07 */ addi r0, r4, 7 -/* 800F337C 000F02DC 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F3380 000F02E0 7C 09 03 A6 */ mtctr r0 -/* 800F3384 000F02E4 2C 04 00 00 */ cmpwi r4, 0 -/* 800F3388 000F02E8 40 81 00 0C */ ble lbl_800F3394 -lbl_800F338C: -/* 800F338C 000F02EC 38 63 00 08 */ addi r3, r3, 8 -/* 800F3390 000F02F0 42 00 FF FC */ bdnz lbl_800F338C -lbl_800F3394: -/* 800F3394 000F02F4 7C 03 28 50 */ subf r0, r3, r5 -/* 800F3398 000F02F8 7C 09 03 A6 */ mtctr r0 -/* 800F339C 000F02FC 7C 03 28 00 */ cmpw r3, r5 -/* 800F33A0 000F0300 40 80 00 08 */ bge lbl_800F33A8 -lbl_800F33A4: -/* 800F33A4 000F0304 42 00 00 00 */ bdnz lbl_800F33A4 -lbl_800F33A8: -/* 800F33A8 000F0308 38 00 00 00 */ li r0, 0 -/* 800F33AC 000F030C 38 7F 00 04 */ addi r3, r31, 4 -/* 800F33B0 000F0310 90 1E 00 00 */ stw r0, 0(r30) -/* 800F33B4 000F0314 38 BE 00 04 */ addi r5, r30, 4 -/* 800F33B8 000F0318 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F33BC 000F031C 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 800F33C0 000F0320 7C 9F 02 14 */ add r4, r31, r0 -/* 800F33C4 000F0324 38 84 00 04 */ addi r4, r4, 4 -/* 800F33C8 000F0328 48 00 00 29 */ bl sub_800f33f0 -/* 800F33CC 000F032C 80 1F 00 00 */ lwz r0, 0(r31) -/* 800F33D0 000F0330 7F C3 F3 78 */ mr r3, r30 -/* 800F33D4 000F0334 90 1E 00 00 */ stw r0, 0(r30) -lbl_800F33D8: -/* 800F33D8 000F0338 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F33DC 000F033C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F33E0 000F0340 83 C1 00 08 */ lwz r30, 8(r1) -/* 800F33E4 000F0344 7C 08 03 A6 */ mtlr r0 -/* 800F33E8 000F0348 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F33EC 000F034C 4E 80 00 20 */ blr - -.global sub_800f33f0 -sub_800f33f0: -/* 800F33F0 000F0350 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F33F4 000F0354 7C 08 02 A6 */ mflr r0 -/* 800F33F8 000F0358 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F33FC 000F035C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800F3400 000F0360 7C BF 2B 78 */ mr r31, r5 -/* 800F3404 000F0364 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800F3408 000F0368 7C 7E 1B 78 */ mr r30, r3 -/* 800F340C 000F036C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800F3410 000F0370 7C 9D 23 78 */ mr r29, r4 -/* 800F3414 000F0374 48 00 00 18 */ b lbl_800F342C -lbl_800F3418: -/* 800F3418 000F0378 7F E3 FB 78 */ mr r3, r31 -/* 800F341C 000F037C 7F C4 F3 78 */ mr r4, r30 -/* 800F3420 000F0380 48 00 00 35 */ bl sub_800f3454 -/* 800F3424 000F0384 3B FF 00 50 */ addi r31, r31, 0x50 -/* 800F3428 000F0388 3B DE 00 50 */ addi r30, r30, 0x50 -lbl_800F342C: -/* 800F342C 000F038C 7C 1E E8 40 */ cmplw r30, r29 -/* 800F3430 000F0390 40 82 FF E8 */ bne lbl_800F3418 -/* 800F3434 000F0394 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F3438 000F0398 7F E3 FB 78 */ mr r3, r31 -/* 800F343C 000F039C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800F3440 000F03A0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800F3444 000F03A4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800F3448 000F03A8 7C 08 03 A6 */ mtlr r0 -/* 800F344C 000F03AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F3450 000F03B0 4E 80 00 20 */ blr - -.global sub_800f3454 -sub_800f3454: -/* 800F3454 000F03B4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F3458 000F03B8 7C 08 02 A6 */ mflr r0 -/* 800F345C 000F03BC 28 03 00 00 */ cmplwi r3, 0 -/* 800F3460 000F03C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F3464 000F03C4 41 82 00 08 */ beq lbl_800F346C -/* 800F3468 000F03C8 4B F4 81 09 */ bl __ct__6CLightFCR6CLight -lbl_800F346C: -/* 800F346C 000F03CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F3470 000F03D0 7C 08 03 A6 */ mtlr r0 -/* 800F3474 000F03D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F3478 000F03D8 4E 80 00 20 */ blr - -.global GetMinimumAlignmentSpeed__10CMorphBallCFv -GetMinimumAlignmentSpeed__10CMorphBallCFv: -/* 800F347C 000F03DC 80 03 18 7C */ lwz r0, 0x187c(r3) -/* 800F3480 000F03E0 2C 00 00 01 */ cmpwi r0, 1 -/* 800F3484 000F03E4 40 82 00 0C */ bne lbl_800F3490 -/* 800F3488 000F03E8 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F348C 000F03EC 4E 80 00 20 */ blr -lbl_800F3490: -/* 800F3490 000F03F0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F3494 000F03F4 C0 23 01 DC */ lfs f1, 0x1dc(r3) -/* 800F3498 000F03F8 4E 80 00 20 */ blr - -.global DampLinearAndAngularVelocities__10CMorphBallFff -DampLinearAndAngularVelocities__10CMorphBallFff: -/* 800F349C 000F03FC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800F34A0 000F0400 7C 08 02 A6 */ mflr r0 -/* 800F34A4 000F0404 90 01 00 44 */ stw r0, 0x44(r1) -/* 800F34A8 000F0408 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 800F34AC 000F040C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 800F34B0 000F0410 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800F34B4 000F0414 7C 7F 1B 78 */ mr r31, r3 -/* 800F34B8 000F0418 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F34BC 000F041C 80 63 00 00 */ lwz r3, 0(r3) -/* 800F34C0 000F0420 FF E0 10 90 */ fmr f31, f2 -/* 800F34C4 000F0424 EC 80 08 28 */ fsubs f4, f0, f1 -/* 800F34C8 000F0428 38 81 00 18 */ addi r4, r1, 0x18 -/* 800F34CC 000F042C C0 03 01 38 */ lfs f0, 0x138(r3) -/* 800F34D0 000F0430 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800F34D4 000F0434 EC 40 01 32 */ fmuls f2, f0, f4 -/* 800F34D8 000F0438 C0 03 01 3C */ lfs f0, 0x13c(r3) -/* 800F34DC 000F043C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800F34E0 000F0440 EC 20 01 32 */ fmuls f1, f0, f4 -/* 800F34E4 000F0444 C0 63 01 40 */ lfs f3, 0x140(r3) -/* 800F34E8 000F0448 EC 03 01 32 */ fmuls f0, f3, f4 -/* 800F34EC 000F044C D0 61 00 20 */ stfs f3, 0x20(r1) -/* 800F34F0 000F0450 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800F34F4 000F0454 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800F34F8 000F0458 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800F34FC 000F045C 48 02 77 A5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 800F3500 000F0460 80 BF 00 00 */ lwz r5, 0(r31) -/* 800F3504 000F0464 38 61 00 0C */ addi r3, r1, 0xc -/* 800F3508 000F0468 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F350C 000F046C 38 81 00 08 */ addi r4, r1, 8 -/* 800F3510 000F0470 C0 25 01 44 */ lfs f1, 0x144(r5) -/* 800F3514 000F0474 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 800F3518 000F0478 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800F351C 000F047C C0 25 01 48 */ lfs f1, 0x148(r5) -/* 800F3520 000F0480 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800F3524 000F0484 C0 25 01 4C */ lfs f1, 0x14c(r5) -/* 800F3528 000F0488 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800F352C 000F048C D0 01 00 08 */ stfs f0, 8(r1) -/* 800F3530 000F0490 4B F2 7F B5 */ bl __amu__10CAxisAngleFRCf -/* 800F3534 000F0494 80 7F 00 00 */ lwz r3, 0(r31) -/* 800F3538 000F0498 38 81 00 0C */ addi r4, r1, 0xc -/* 800F353C 000F049C 48 02 76 C1 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle -/* 800F3540 000F04A0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 800F3544 000F04A4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800F3548 000F04A8 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 800F354C 000F04AC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800F3550 000F04B0 7C 08 03 A6 */ mtlr r0 -/* 800F3554 000F04B4 38 21 00 40 */ addi r1, r1, 0x40 -/* 800F3558 000F04B8 4E 80 00 20 */ blr - -.global ApplyFriction__10CMorphBallFf -ApplyFriction__10CMorphBallFf: -/* 800F355C 000F04BC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800F3560 000F04C0 7C 08 02 A6 */ mflr r0 -/* 800F3564 000F04C4 90 01 00 44 */ stw r0, 0x44(r1) -/* 800F3568 000F04C8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 800F356C 000F04CC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 800F3570 000F04D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800F3574 000F04D4 7C 7F 1B 78 */ mr r31, r3 -/* 800F3578 000F04D8 FF E0 08 90 */ fmr f31, f1 -/* 800F357C 000F04DC 80 83 00 00 */ lwz r4, 0(r3) -/* 800F3580 000F04E0 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F3584 000F04E4 C0 04 01 38 */ lfs f0, 0x138(r4) -/* 800F3588 000F04E8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800F358C 000F04EC C0 04 01 3C */ lfs f0, 0x13c(r4) -/* 800F3590 000F04F0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800F3594 000F04F4 C0 04 01 40 */ lfs f0, 0x140(r4) -/* 800F3598 000F04F8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800F359C 000F04FC 48 22 13 1D */ bl Magnitude__9CVector3fCFv -/* 800F35A0 000F0500 FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 800F35A4 000F0504 40 80 00 44 */ bge lbl_800F35E8 -/* 800F35A8 000F0508 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F35AC 000F050C 48 22 13 0D */ bl Magnitude__9CVector3fCFv -/* 800F35B0 000F0510 EF E1 F8 28 */ fsubs f31, f1, f31 -/* 800F35B4 000F0514 38 61 00 08 */ addi r3, r1, 8 -/* 800F35B8 000F0518 38 81 00 14 */ addi r4, r1, 0x14 -/* 800F35BC 000F051C 48 22 12 95 */ bl AsNormalized__9CVector3fCFv -/* 800F35C0 000F0520 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 800F35C4 000F0524 C0 21 00 08 */ lfs f1, 8(r1) -/* 800F35C8 000F0528 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800F35CC 000F052C EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 800F35D0 000F0530 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 800F35D4 000F0534 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800F35D8 000F0538 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800F35DC 000F053C D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800F35E0 000F0540 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800F35E4 000F0544 48 00 00 20 */ b lbl_800F3604 -lbl_800F35E8: -/* 800F35E8 000F0548 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F35EC 000F054C C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 800F35F0 000F0550 C0 23 00 04 */ lfs f1, 4(r3) -/* 800F35F4 000F0554 C0 03 00 08 */ lfs f0, 8(r3) -/* 800F35F8 000F0558 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 800F35FC 000F055C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800F3600 000F0560 D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_800F3604: -/* 800F3604 000F0564 80 7F 00 00 */ lwz r3, 0(r31) -/* 800F3608 000F0568 38 81 00 14 */ addi r4, r1, 0x14 -/* 800F360C 000F056C 48 02 76 95 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 800F3610 000F0570 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 800F3614 000F0574 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800F3618 000F0578 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 800F361C 000F057C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800F3620 000F0580 7C 08 03 A6 */ mtlr r0 -/* 800F3624 000F0584 38 21 00 40 */ addi r1, r1, 0x40 -/* 800F3628 000F0588 4E 80 00 20 */ blr - -.global UpdateMarbleDynamics__10CMorphBallFR13CStateManagerfRC9CVector3f -UpdateMarbleDynamics__10CMorphBallFR13CStateManagerfRC9CVector3f: -/* 800F362C 000F058C 94 21 FD D0 */ stwu r1, -0x230(r1) -/* 800F3630 000F0590 7C 08 02 A6 */ mflr r0 -/* 800F3634 000F0594 90 01 02 34 */ stw r0, 0x234(r1) -/* 800F3638 000F0598 DB E1 02 20 */ stfd f31, 0x220(r1) -/* 800F363C 000F059C F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 -/* 800F3640 000F05A0 DB C1 02 10 */ stfd f30, 0x210(r1) -/* 800F3644 000F05A4 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 -/* 800F3648 000F05A8 DB A1 02 00 */ stfd f29, 0x200(r1) -/* 800F364C 000F05AC F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 -/* 800F3650 000F05B0 DB 81 01 F0 */ stfd f28, 0x1f0(r1) -/* 800F3654 000F05B4 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 -/* 800F3658 000F05B8 DB 61 01 E0 */ stfd f27, 0x1e0(r1) -/* 800F365C 000F05BC F3 61 01 E8 */ psq_st f27, 488(r1), 0, qr0 -/* 800F3660 000F05C0 DB 41 01 D0 */ stfd f26, 0x1d0(r1) -/* 800F3664 000F05C4 F3 41 01 D8 */ psq_st f26, 472(r1), 0, qr0 -/* 800F3668 000F05C8 DB 21 01 C0 */ stfd f25, 0x1c0(r1) -/* 800F366C 000F05CC F3 21 01 C8 */ psq_st f25, 456(r1), 0, qr0 -/* 800F3670 000F05D0 DB 01 01 B0 */ stfd f24, 0x1b0(r1) -/* 800F3674 000F05D4 F3 01 01 B8 */ psq_st f24, 440(r1), 0, qr0 -/* 800F3678 000F05D8 93 E1 01 AC */ stw r31, 0x1ac(r1) -/* 800F367C 000F05DC 93 C1 01 A8 */ stw r30, 0x1a8(r1) -/* 800F3680 000F05E0 93 A1 01 A4 */ stw r29, 0x1a4(r1) -/* 800F3684 000F05E4 93 81 01 A0 */ stw r28, 0x1a0(r1) -/* 800F3688 000F05E8 7C 7E 1B 78 */ mr r30, r3 -/* 800F368C 000F05EC FF 00 08 90 */ fmr f24, f1 -/* 800F3690 000F05F0 80 63 00 00 */ lwz r3, 0(r3) -/* 800F3694 000F05F4 7C BC 2B 78 */ mr r28, r5 -/* 800F3698 000F05F8 3B E0 00 00 */ li r31, 0 -/* 800F369C 000F05FC 3B A0 00 00 */ li r29, 0 -/* 800F36A0 000F0600 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 800F36A4 000F0604 2C 00 00 02 */ cmpwi r0, 2 -/* 800F36A8 000F0608 40 82 00 0C */ bne lbl_800F36B4 -/* 800F36AC 000F060C 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 800F36B0 000F0610 48 00 00 08 */ b lbl_800F36B8 -lbl_800F36B4: -/* 800F36B4 000F0614 38 00 00 04 */ li r0, 4 -lbl_800F36B8: -/* 800F36B8 000F0618 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) -/* 800F36BC 000F061C 54 00 10 3A */ slwi r0, r0, 2 -/* 800F36C0 000F0620 38 63 01 38 */ addi r3, r3, 0x138 -/* 800F36C4 000F0624 7C 84 02 14 */ add r4, r4, r0 -/* 800F36C8 000F0628 C3 24 00 04 */ lfs f25, 4(r4) -/* 800F36CC 000F062C 48 22 11 ED */ bl Magnitude__9CVector3fCFv -/* 800F36D0 000F0630 C0 02 92 28 */ lfs f0, lbl_805AAF48@sda21(r2) -/* 800F36D4 000F0634 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F36D8 000F0638 40 80 01 00 */ bge lbl_800F37D8 -/* 800F36DC 000F063C 38 7E 00 10 */ addi r3, r30, 0x10 -/* 800F36E0 000F0640 48 22 11 D9 */ bl Magnitude__9CVector3fCFv -/* 800F36E4 000F0644 C0 02 92 84 */ lfs f0, lbl_805AAFA4@sda21(r2) -/* 800F36E8 000F0648 EC 00 06 72 */ fmuls f0, f0, f25 -/* 800F36EC 000F064C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F36F0 000F0650 40 81 00 E8 */ ble lbl_800F37D8 -/* 800F36F4 000F0654 80 DE 00 00 */ lwz r6, 0(r30) -/* 800F36F8 000F0658 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800F36FC 000F065C 38 9E 19 24 */ addi r4, r30, 0x1924 -/* 800F3700 000F0660 38 A1 01 58 */ addi r5, r1, 0x158 -/* 800F3704 000F0664 C0 06 01 50 */ lfs f0, 0x150(r6) -/* 800F3708 000F0668 D0 01 01 58 */ stfs f0, 0x158(r1) -/* 800F370C 000F066C C0 06 01 54 */ lfs f0, 0x154(r6) -/* 800F3710 000F0670 D0 01 01 5C */ stfs f0, 0x15c(r1) -/* 800F3714 000F0674 C0 06 01 58 */ lfs f0, 0x158(r6) -/* 800F3718 000F0678 D0 01 01 60 */ stfs f0, 0x160(r1) -/* 800F371C 000F067C 48 21 F3 09 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800F3720 000F0680 C0 41 00 B8 */ lfs f2, 0xb8(r1) -/* 800F3724 000F0684 38 61 00 AC */ addi r3, r1, 0xac -/* 800F3728 000F0688 C0 21 00 BC */ lfs f1, 0xbc(r1) -/* 800F372C 000F068C 38 9E 19 24 */ addi r4, r30, 0x1924 -/* 800F3730 000F0690 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 800F3734 000F0694 38 BE 00 10 */ addi r5, r30, 0x10 -/* 800F3738 000F0698 D0 41 01 4C */ stfs f2, 0x14c(r1) -/* 800F373C 000F069C D0 21 01 50 */ stfs f1, 0x150(r1) -/* 800F3740 000F06A0 D0 01 01 54 */ stfs f0, 0x154(r1) -/* 800F3744 000F06A4 48 21 F2 E1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800F3748 000F06A8 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 800F374C 000F06AC 38 61 01 4C */ addi r3, r1, 0x14c -/* 800F3750 000F06B0 C0 61 00 AC */ lfs f3, 0xac(r1) -/* 800F3754 000F06B4 C0 41 00 B0 */ lfs f2, 0xb0(r1) -/* 800F3758 000F06B8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F375C 000F06BC D0 21 01 48 */ stfs f1, 0x148(r1) -/* 800F3760 000F06C0 D0 61 01 40 */ stfs f3, 0x140(r1) -/* 800F3764 000F06C4 D0 41 01 44 */ stfs f2, 0x144(r1) -/* 800F3768 000F06C8 D0 01 01 54 */ stfs f0, 0x154(r1) -/* 800F376C 000F06CC D0 01 01 48 */ stfs f0, 0x148(r1) -/* 800F3770 000F06D0 48 22 0F 89 */ bl CanBeNormalized__9CVector3fCFv -/* 800F3774 000F06D4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F3778 000F06D8 41 82 00 60 */ beq lbl_800F37D8 -/* 800F377C 000F06DC 38 61 01 40 */ addi r3, r1, 0x140 -/* 800F3780 000F06E0 48 22 0F 79 */ bl CanBeNormalized__9CVector3fCFv -/* 800F3784 000F06E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F3788 000F06E8 41 82 00 50 */ beq lbl_800F37D8 -/* 800F378C 000F06EC 38 61 00 94 */ addi r3, r1, 0x94 -/* 800F3790 000F06F0 38 81 01 40 */ addi r4, r1, 0x140 -/* 800F3794 000F06F4 48 22 10 BD */ bl AsNormalized__9CVector3fCFv -/* 800F3798 000F06F8 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800F379C 000F06FC 38 81 01 4C */ addi r4, r1, 0x14c -/* 800F37A0 000F0700 48 22 10 B1 */ bl AsNormalized__9CVector3fCFv -/* 800F37A4 000F0704 C0 21 00 A4 */ lfs f1, 0xa4(r1) -/* 800F37A8 000F0708 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 800F37AC 000F070C C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 800F37B0 000F0710 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F37B4 000F0714 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 800F37B8 000F0718 C0 81 00 A8 */ lfs f4, 0xa8(r1) -/* 800F37BC 000F071C C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 800F37C0 000F0720 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 800F37C4 000F0724 C0 02 92 88 */ lfs f0, lbl_805AAFA8@sda21(r2) -/* 800F37C8 000F0728 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 800F37CC 000F072C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F37D0 000F0730 40 80 00 08 */ bge lbl_800F37D8 -/* 800F37D4 000F0734 3B A0 00 01 */ li r29, 1 -lbl_800F37D8: -/* 800F37D8 000F0738 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 800F37DC 000F073C 40 82 03 20 */ bne lbl_800F3AFC -/* 800F37E0 000F0740 80 9E 00 00 */ lwz r4, 0(r30) -/* 800F37E4 000F0744 7F C3 F3 78 */ mr r3, r30 -/* 800F37E8 000F0748 C3 64 01 38 */ lfs f27, 0x138(r4) -/* 800F37EC 000F074C C3 44 01 3C */ lfs f26, 0x13c(r4) -/* 800F37F0 000F0750 C3 24 01 40 */ lfs f25, 0x140(r4) -/* 800F37F4 000F0754 48 00 56 11 */ bl GetBallRadius__10CMorphBallCFv -/* 800F37F8 000F0758 80 9E 00 00 */ lwz r4, 0(r30) -/* 800F37FC 000F075C C0 A2 91 50 */ lfs f5, lbl_805AAE70@sda21(r2) -/* 800F3800 000F0760 C0 64 00 50 */ lfs f3, 0x50(r4) -/* 800F3804 000F0764 38 64 01 44 */ addi r3, r4, 0x144 -/* 800F3808 000F0768 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 800F380C 000F076C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 800F3810 000F0770 EC 83 28 2A */ fadds f4, f3, f5 -/* 800F3814 000F0774 C0 DC 00 04 */ lfs f6, 4(r28) -/* 800F3818 000F0778 EC 42 08 2A */ fadds f2, f2, f1 -/* 800F381C 000F077C C0 7C 00 08 */ lfs f3, 8(r28) -/* 800F3820 000F0780 EC 00 28 2A */ fadds f0, f0, f5 -/* 800F3824 000F0784 C0 3C 00 00 */ lfs f1, 0(r28) -/* 800F3828 000F0788 EC 86 20 28 */ fsubs f4, f6, f4 -/* 800F382C 000F078C EC 43 10 28 */ fsubs f2, f3, f2 -/* 800F3830 000F0790 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F3834 000F0794 D0 81 01 38 */ stfs f4, 0x138(r1) -/* 800F3838 000F0798 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 800F383C 000F079C D0 41 01 3C */ stfs f2, 0x13c(r1) -/* 800F3840 000F07A0 4B F2 7C F1 */ bl GetVector__10CAxisAngleCFv -/* 800F3844 000F07A4 C0 43 00 00 */ lfs f2, 0(r3) -/* 800F3848 000F07A8 C0 C1 01 3C */ lfs f6, 0x13c(r1) -/* 800F384C 000F07AC C0 63 00 04 */ lfs f3, 4(r3) -/* 800F3850 000F07B0 C0 E1 01 34 */ lfs f7, 0x134(r1) -/* 800F3854 000F07B4 EC 06 00 B2 */ fmuls f0, f6, f2 -/* 800F3858 000F07B8 C0 83 00 08 */ lfs f4, 8(r3) -/* 800F385C 000F07BC C0 A1 01 38 */ lfs f5, 0x138(r1) -/* 800F3860 000F07C0 EC 27 00 F2 */ fmuls f1, f7, f3 -/* 800F3864 000F07C4 EF C4 01 F8 */ fmsubs f30, f4, f7, f0 -/* 800F3868 000F07C8 EC 05 01 32 */ fmuls f0, f5, f4 -/* 800F386C 000F07CC EF A2 09 78 */ fmsubs f29, f2, f5, f1 -/* 800F3870 000F07D0 EC 3A F0 28 */ fsubs f1, f26, f30 -/* 800F3874 000F07D4 EF E3 01 B8 */ fmsubs f31, f3, f6, f0 -/* 800F3878 000F07D8 EC 19 E8 28 */ fsubs f0, f25, f29 -/* 800F387C 000F07DC D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 800F3880 000F07E0 EC 3B F8 28 */ fsubs f1, f27, f31 -/* 800F3884 000F07E4 D0 01 01 30 */ stfs f0, 0x130(r1) -/* 800F3888 000F07E8 D0 21 01 28 */ stfs f1, 0x128(r1) -/* 800F388C 000F07EC 80 1E 18 7C */ lwz r0, 0x187c(r30) -/* 800F3890 000F07F0 2C 00 00 01 */ cmpwi r0, 1 -/* 800F3894 000F07F4 40 82 00 0C */ bne lbl_800F38A0 -/* 800F3898 000F07F8 C3 82 91 A8 */ lfs f28, lbl_805AAEC8@sda21(r2) -/* 800F389C 000F07FC 48 00 00 08 */ b lbl_800F38A4 -lbl_800F38A0: -/* 800F38A0 000F0800 C3 82 92 48 */ lfs f28, lbl_805AAF68@sda21(r2) -lbl_800F38A4: -/* 800F38A4 000F0804 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F38A8 000F0808 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F38AC 000F080C 80 1E 1C D0 */ lwz r0, 0x1cd0(r30) -/* 800F38B0 000F0810 2C 00 00 03 */ cmpwi r0, 3 -/* 800F38B4 000F0814 40 81 00 94 */ ble lbl_800F3948 -/* 800F38B8 000F0818 38 61 00 1C */ addi r3, r1, 0x1c -/* 800F38BC 000F081C 38 9E 1C D0 */ addi r4, r30, 0x1cd0 -/* 800F38C0 000F0820 38 A0 00 00 */ li r5, 0 -/* 800F38C4 000F0824 48 00 05 21 */ bl "GetEntry__22TReservedAverageCFi" -/* 800F38C8 000F0828 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800F38CC 000F082C 38 00 00 00 */ li r0, 0 -/* 800F38D0 000F0830 98 01 00 20 */ stb r0, 0x20(r1) -/* 800F38D4 000F0834 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F38D8 000F0838 38 9E 1C D0 */ addi r4, r30, 0x1cd0 -/* 800F38DC 000F083C 38 A0 00 01 */ li r5, 1 -/* 800F38E0 000F0840 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F38E4 000F0844 48 00 05 01 */ bl "GetEntry__22TReservedAverageCFi" -/* 800F38E8 000F0848 C0 21 00 08 */ lfs f1, 8(r1) -/* 800F38EC 000F084C 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F38F0 000F0850 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800F38F4 000F0854 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F38F8 000F0858 40 80 00 08 */ bge lbl_800F3900 -/* 800F38FC 000F085C 38 61 00 08 */ addi r3, r1, 8 -lbl_800F3900: -/* 800F3900 000F0860 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F3904 000F0864 38 00 00 00 */ li r0, 0 -/* 800F3908 000F0868 38 61 00 0C */ addi r3, r1, 0xc -/* 800F390C 000F086C 38 9E 1C D0 */ addi r4, r30, 0x1cd0 -/* 800F3910 000F0870 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F3914 000F0874 38 A0 00 02 */ li r5, 2 -/* 800F3918 000F0878 98 01 00 18 */ stb r0, 0x18(r1) -/* 800F391C 000F087C 48 00 04 C9 */ bl "GetEntry__22TReservedAverageCFi" -/* 800F3920 000F0880 C0 21 00 08 */ lfs f1, 8(r1) -/* 800F3924 000F0884 38 61 00 0C */ addi r3, r1, 0xc -/* 800F3928 000F0888 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800F392C 000F088C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3930 000F0890 40 80 00 08 */ bge lbl_800F3938 -/* 800F3934 000F0894 38 61 00 08 */ addi r3, r1, 8 -lbl_800F3938: -/* 800F3938 000F0898 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F393C 000F089C 38 00 00 00 */ li r0, 0 -/* 800F3940 000F08A0 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F3944 000F08A4 98 01 00 10 */ stb r0, 0x10(r1) -lbl_800F3948: -/* 800F3948 000F08A8 C0 21 01 28 */ lfs f1, 0x128(r1) -/* 800F394C 000F08AC C0 01 01 2C */ lfs f0, 0x12c(r1) -/* 800F3950 000F08B0 EC 41 00 72 */ fmuls f2, f1, f1 -/* 800F3954 000F08B4 C0 61 01 30 */ lfs f3, 0x130(r1) -/* 800F3958 000F08B8 EC 20 00 32 */ fmuls f1, f0, f0 -/* 800F395C 000F08BC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F3960 000F08C0 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 800F3964 000F08C4 EC 22 08 2A */ fadds f1, f2, f1 -/* 800F3968 000F08C8 EC 23 08 2A */ fadds f1, f3, f1 -/* 800F396C 000F08CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3970 000F08D0 40 81 02 08 */ ble lbl_800F3B78 -/* 800F3974 000F08D4 C0 01 00 08 */ lfs f0, 8(r1) -/* 800F3978 000F08D8 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 800F397C 000F08DC 40 81 01 FC */ ble lbl_800F3B78 -/* 800F3980 000F08E0 38 61 01 28 */ addi r3, r1, 0x128 -/* 800F3984 000F08E4 48 22 0F 35 */ bl Magnitude__9CVector3fCFv -/* 800F3988 000F08E8 C0 02 92 8C */ lfs f0, lbl_805AAFAC@sda21(r2) -/* 800F398C 000F08EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3990 000F08F0 40 81 00 48 */ ble lbl_800F39D8 -/* 800F3994 000F08F4 38 61 00 88 */ addi r3, r1, 0x88 -/* 800F3998 000F08F8 38 81 01 28 */ addi r4, r1, 0x128 -/* 800F399C 000F08FC 48 22 0E B5 */ bl AsNormalized__9CVector3fCFv -/* 800F39A0 000F0900 C0 62 92 64 */ lfs f3, lbl_805AAF84@sda21(r2) -/* 800F39A4 000F0904 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 800F39A8 000F0908 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 800F39AC 000F090C C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 800F39B0 000F0910 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F39B4 000F0914 C0 82 91 E0 */ lfs f4, lbl_805AAF00@sda21(r2) -/* 800F39B8 000F0918 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F39BC 000F091C EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F39C0 000F0920 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 800F39C4 000F0924 EC 24 00 72 */ fmuls f1, f4, f1 -/* 800F39C8 000F0928 EC 04 00 32 */ fmuls f0, f4, f0 -/* 800F39CC 000F092C D0 41 01 30 */ stfs f2, 0x130(r1) -/* 800F39D0 000F0930 D0 21 01 28 */ stfs f1, 0x128(r1) -/* 800F39D4 000F0934 D0 01 01 2C */ stfs f0, 0x12c(r1) -lbl_800F39D8: -/* 800F39D8 000F0938 EC 5B F8 2A */ fadds f2, f27, f31 -/* 800F39DC 000F093C 38 61 01 1C */ addi r3, r1, 0x11c -/* 800F39E0 000F0940 EC 3A F0 2A */ fadds f1, f26, f30 -/* 800F39E4 000F0944 EC 19 E8 2A */ fadds f0, f25, f29 -/* 800F39E8 000F0948 D0 41 01 1C */ stfs f2, 0x11c(r1) -/* 800F39EC 000F094C D0 21 01 20 */ stfs f1, 0x120(r1) -/* 800F39F0 000F0950 D0 01 01 24 */ stfs f0, 0x124(r1) -/* 800F39F4 000F0954 48 22 0D 05 */ bl CanBeNormalized__9CVector3fCFv -/* 800F39F8 000F0958 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F39FC 000F095C 41 82 01 7C */ beq lbl_800F3B78 -/* 800F3A00 000F0960 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 800F3A04 000F0964 38 60 00 00 */ li r3, 0 -/* 800F3A08 000F0968 28 00 00 00 */ cmplwi r0, 0 -/* 800F3A0C 000F096C 41 82 00 14 */ beq lbl_800F3A20 -/* 800F3A10 000F0970 80 1E 18 7C */ lwz r0, 0x187c(r30) -/* 800F3A14 000F0974 2C 00 00 01 */ cmpwi r0, 1 -/* 800F3A18 000F0978 41 82 00 08 */ beq lbl_800F3A20 -/* 800F3A1C 000F097C 38 60 00 01 */ li r3, 1 -lbl_800F3A20: -/* 800F3A20 000F0980 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F3A24 000F0984 41 82 00 0C */ beq lbl_800F3A30 -/* 800F3A28 000F0988 C3 42 91 90 */ lfs f26, lbl_805AAEB0@sda21(r2) -/* 800F3A2C 000F098C 48 00 00 08 */ b lbl_800F3A34 -lbl_800F3A30: -/* 800F3A30 000F0990 C3 42 91 5C */ lfs f26, lbl_805AAE7C@sda21(r2) -lbl_800F3A34: -/* 800F3A34 000F0994 38 61 00 7C */ addi r3, r1, 0x7c -/* 800F3A38 000F0998 38 81 01 1C */ addi r4, r1, 0x11c -/* 800F3A3C 000F099C 48 22 0E 15 */ bl AsNormalized__9CVector3fCFv -/* 800F3A40 000F09A0 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F3A44 000F09A4 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 800F3A48 000F09A8 2C 00 00 02 */ cmpwi r0, 2 -/* 800F3A4C 000F09AC 40 82 00 0C */ bne lbl_800F3A58 -/* 800F3A50 000F09B0 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 800F3A54 000F09B4 48 00 00 08 */ b lbl_800F3A5C -lbl_800F3A58: -/* 800F3A58 000F09B8 38 00 00 04 */ li r0, 4 -lbl_800F3A5C: -/* 800F3A5C 000F09BC 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) -/* 800F3A60 000F09C0 54 00 10 3A */ slwi r0, r0, 2 -/* 800F3A64 000F09C4 7F C3 F3 78 */ mr r3, r30 -/* 800F3A68 000F09C8 7C 84 02 14 */ add r4, r4, r0 -/* 800F3A6C 000F09CC C3 64 01 2C */ lfs f27, 0x12c(r4) -/* 800F3A70 000F09D0 48 00 53 95 */ bl GetBallRadius__10CMorphBallCFv -/* 800F3A74 000F09D4 FF 20 08 90 */ fmr f25, f1 -/* 800F3A78 000F09D8 38 61 01 28 */ addi r3, r1, 0x128 -/* 800F3A7C 000F09DC 48 22 0E 3D */ bl Magnitude__9CVector3fCFv -/* 800F3A80 000F09E0 FC 00 D8 50 */ fneg f0, f27 -/* 800F3A84 000F09E4 C0 82 92 58 */ lfs f4, lbl_805AAF78@sda21(r2) -/* 800F3A88 000F09E8 C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 800F3A8C 000F09EC 38 61 00 70 */ addi r3, r1, 0x70 -/* 800F3A90 000F09F0 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 800F3A94 000F09F4 38 81 01 34 */ addi r4, r1, 0x134 -/* 800F3A98 000F09F8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 800F3A9C 000F09FC C0 01 00 84 */ lfs f0, 0x84(r1) -/* 800F3AA0 000F0A00 EC 3A 00 72 */ fmuls f1, f26, f1 -/* 800F3AA4 000F0A04 EC 24 00 72 */ fmuls f1, f4, f1 -/* 800F3AA8 000F0A08 EC 21 C8 24 */ fdivs f1, f1, f25 -/* 800F3AAC 000F0A0C EF 61 00 F2 */ fmuls f27, f1, f3 -/* 800F3AB0 000F0A10 EF 41 00 B2 */ fmuls f26, f1, f2 -/* 800F3AB4 000F0A14 EF 21 00 32 */ fmuls f25, f1, f0 -/* 800F3AB8 000F0A18 48 22 0D 99 */ bl AsNormalized__9CVector3fCFv -/* 800F3ABC 000F0A1C C0 61 00 74 */ lfs f3, 0x74(r1) -/* 800F3AC0 000F0A20 38 81 01 10 */ addi r4, r1, 0x110 -/* 800F3AC4 000F0A24 C0 81 00 78 */ lfs f4, 0x78(r1) -/* 800F3AC8 000F0A28 C0 A1 00 70 */ lfs f5, 0x70(r1) -/* 800F3ACC 000F0A2C EC 5B 00 F2 */ fmuls f2, f27, f3 -/* 800F3AD0 000F0A30 EC 3A 01 32 */ fmuls f1, f26, f4 -/* 800F3AD4 000F0A34 EC 19 01 72 */ fmuls f0, f25, f5 -/* 800F3AD8 000F0A38 EC 45 16 B8 */ fmsubs f2, f5, f26, f2 -/* 800F3ADC 000F0A3C EC 23 0E 78 */ fmsubs f1, f3, f25, f1 -/* 800F3AE0 000F0A40 EC 04 06 F8 */ fmsubs f0, f4, f27, f0 -/* 800F3AE4 000F0A44 D0 41 01 18 */ stfs f2, 0x118(r1) -/* 800F3AE8 000F0A48 D0 21 01 10 */ stfs f1, 0x110(r1) -/* 800F3AEC 000F0A4C D0 01 01 14 */ stfs f0, 0x114(r1) -/* 800F3AF0 000F0A50 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F3AF4 000F0A54 48 02 88 4D */ bl ApplyTorqueWR__13CPhysicsActorFRC9CVector3f -/* 800F3AF8 000F0A58 48 00 00 80 */ b lbl_800F3B78 -lbl_800F3AFC: -/* 800F3AFC 000F0A5C 7F C3 F3 78 */ mr r3, r30 -/* 800F3B00 000F0A60 48 00 53 05 */ bl GetBallRadius__10CMorphBallCFv -/* 800F3B04 000F0A64 C0 02 92 5C */ lfs f0, lbl_805AAF7C@sda21(r2) -/* 800F3B08 000F0A68 38 61 01 04 */ addi r3, r1, 0x104 -/* 800F3B0C 000F0A6C C0 BE 19 4C */ lfs f5, 0x194c(r30) -/* 800F3B10 000F0A70 EF 20 08 24 */ fdivs f25, f0, f1 -/* 800F3B14 000F0A74 C0 FE 00 14 */ lfs f7, 0x14(r30) -/* 800F3B18 000F0A78 C0 9E 19 3C */ lfs f4, 0x193c(r30) -/* 800F3B1C 000F0A7C C0 DE 00 10 */ lfs f6, 0x10(r30) -/* 800F3B20 000F0A80 C0 7E 19 2C */ lfs f3, 0x192c(r30) -/* 800F3B24 000F0A84 C1 1E 00 18 */ lfs f8, 0x18(r30) -/* 800F3B28 000F0A88 EC 47 01 72 */ fmuls f2, f7, f5 -/* 800F3B2C 000F0A8C EC 28 00 F2 */ fmuls f1, f8, f3 -/* 800F3B30 000F0A90 EC 06 01 32 */ fmuls f0, f6, f4 -/* 800F3B34 000F0A94 EC 44 12 38 */ fmsubs f2, f4, f8, f2 -/* 800F3B38 000F0A98 EC 25 09 B8 */ fmsubs f1, f5, f6, f1 -/* 800F3B3C 000F0A9C EC 03 01 F8 */ fmsubs f0, f3, f7, f0 -/* 800F3B40 000F0AA0 D0 41 01 04 */ stfs f2, 0x104(r1) -/* 800F3B44 000F0AA4 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 800F3B48 000F0AA8 D0 01 01 0C */ stfs f0, 0x10c(r1) -/* 800F3B4C 000F0AAC 48 22 0B AD */ bl CanBeNormalized__9CVector3fCFv -/* 800F3B50 000F0AB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F3B54 000F0AB4 41 82 00 24 */ beq lbl_800F3B78 -/* 800F3B58 000F0AB8 38 61 00 64 */ addi r3, r1, 0x64 -/* 800F3B5C 000F0ABC 38 81 01 04 */ addi r4, r1, 0x104 -/* 800F3B60 000F0AC0 48 22 0C F1 */ bl AsNormalized__9CVector3fCFv -/* 800F3B64 000F0AC4 FC 20 C8 90 */ fmr f1, f25 -/* 800F3B68 000F0AC8 C0 42 92 90 */ lfs f2, lbl_805AAFB0@sda21(r2) -/* 800F3B6C 000F0ACC 7F C3 F3 78 */ mr r3, r30 -/* 800F3B70 000F0AD0 38 81 00 64 */ addi r4, r1, 0x64 -/* 800F3B74 000F0AD4 4B FF C3 35 */ bl SpinToSpeed__10CMorphBallFfRC9CVector3ff -lbl_800F3B78: -/* 800F3B78 000F0AD8 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F3B7C 000F0ADC 38 63 01 38 */ addi r3, r3, 0x138 -/* 800F3B80 000F0AE0 48 22 0D 39 */ bl Magnitude__9CVector3fCFv -/* 800F3B84 000F0AE4 FF 20 08 90 */ fmr f25, f1 -/* 800F3B88 000F0AE8 7F C3 F3 78 */ mr r3, r30 -/* 800F3B8C 000F0AEC 4B FF F8 F1 */ bl GetMinimumAlignmentSpeed__10CMorphBallCFv -/* 800F3B90 000F0AF0 FC 19 08 40 */ fcmpo cr0, f25, f1 -/* 800F3B94 000F0AF4 4C 41 13 82 */ cror 2, 1, 2 -/* 800F3B98 000F0AF8 40 82 01 E8 */ bne lbl_800F3D80 -/* 800F3B9C 000F0AFC 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F3BA0 000F0B00 C0 DE 19 34 */ lfs f6, 0x1934(r30) -/* 800F3BA4 000F0B04 C0 83 00 44 */ lfs f4, 0x44(r3) -/* 800F3BA8 000F0B08 C0 63 00 34 */ lfs f3, 0x34(r3) -/* 800F3BAC 000F0B0C EC 04 01 B2 */ fmuls f0, f4, f6 -/* 800F3BB0 000F0B10 C0 5E 19 24 */ lfs f2, 0x1924(r30) -/* 800F3BB4 000F0B14 C0 A3 00 54 */ lfs f5, 0x54(r3) -/* 800F3BB8 000F0B18 C0 FE 19 44 */ lfs f7, 0x1944(r30) -/* 800F3BBC 000F0B1C EC 23 00 BA */ fmadds f1, f3, f2, f0 -/* 800F3BC0 000F0B20 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F3BC4 000F0B24 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 800F3BC8 000F0B28 EC 25 09 FA */ fmadds f1, f5, f7, f1 -/* 800F3BCC 000F0B2C D0 C1 00 FC */ stfs f6, 0xfc(r1) -/* 800F3BD0 000F0B30 D0 E1 01 00 */ stfs f7, 0x100(r1) -/* 800F3BD4 000F0B34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3BD8 000F0B38 40 80 00 1C */ bge lbl_800F3BF4 -/* 800F3BDC 000F0B3C FC 40 10 50 */ fneg f2, f2 -/* 800F3BE0 000F0B40 FC 20 30 50 */ fneg f1, f6 -/* 800F3BE4 000F0B44 FC 00 38 50 */ fneg f0, f7 -/* 800F3BE8 000F0B48 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 800F3BEC 000F0B4C D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 800F3BF0 000F0B50 D0 01 01 00 */ stfs f0, 0x100(r1) -lbl_800F3BF4: -/* 800F3BF4 000F0B54 C0 C1 00 FC */ lfs f6, 0xfc(r1) -/* 800F3BF8 000F0B58 38 61 00 EC */ addi r3, r1, 0xec -/* 800F3BFC 000F0B5C C0 E1 01 00 */ lfs f7, 0x100(r1) -/* 800F3C00 000F0B60 C1 01 00 F8 */ lfs f8, 0xf8(r1) -/* 800F3C04 000F0B64 EC 26 01 72 */ fmuls f1, f6, f5 -/* 800F3C08 000F0B68 EC 07 00 F2 */ fmuls f0, f7, f3 -/* 800F3C0C 000F0B6C EC 48 01 32 */ fmuls f2, f8, f4 -/* 800F3C10 000F0B70 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 -/* 800F3C14 000F0B74 EC 05 02 38 */ fmsubs f0, f5, f8, f0 -/* 800F3C18 000F0B78 EC 43 11 B8 */ fmsubs f2, f3, f6, f2 -/* 800F3C1C 000F0B7C D0 21 00 EC */ stfs f1, 0xec(r1) -/* 800F3C20 000F0B80 D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 800F3C24 000F0B84 D0 41 00 F4 */ stfs f2, 0xf4(r1) -/* 800F3C28 000F0B88 48 22 0A D1 */ bl CanBeNormalized__9CVector3fCFv -/* 800F3C2C 000F0B8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F3C30 000F0B90 41 82 01 20 */ beq lbl_800F3D50 -/* 800F3C34 000F0B94 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 800F3C38 000F0B98 28 00 00 00 */ cmplwi r0, 0 -/* 800F3C3C 000F0B9C 40 82 00 8C */ bne lbl_800F3CC8 -/* 800F3C40 000F0BA0 38 61 00 58 */ addi r3, r1, 0x58 -/* 800F3C44 000F0BA4 38 81 00 EC */ addi r4, r1, 0xec -/* 800F3C48 000F0BA8 48 22 0C 09 */ bl AsNormalized__9CVector3fCFv -/* 800F3C4C 000F0BAC 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) -/* 800F3C50 000F0BB0 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F3C54 000F0BB4 C0 64 01 E0 */ lfs f3, 0x1e0(r4) -/* 800F3C58 000F0BB8 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 800F3C5C 000F0BBC 38 63 01 80 */ addi r3, r3, 0x180 -/* 800F3C60 000F0BC0 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 800F3C64 000F0BC4 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 800F3C68 000F0BC8 EF 43 00 B2 */ fmuls f26, f3, f2 -/* 800F3C6C 000F0BCC EF 23 00 72 */ fmuls f25, f3, f1 -/* 800F3C70 000F0BD0 EF 03 00 32 */ fmuls f24, f3, f0 -/* 800F3C74 000F0BD4 4B F2 78 BD */ bl GetVector__10CAxisAngleCFv -/* 800F3C78 000F0BD8 C0 43 00 04 */ lfs f2, 4(r3) -/* 800F3C7C 000F0BDC 38 81 00 40 */ addi r4, r1, 0x40 -/* 800F3C80 000F0BE0 C0 23 00 08 */ lfs f1, 8(r3) -/* 800F3C84 000F0BE4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F3C88 000F0BE8 EC 42 C8 2A */ fadds f2, f2, f25 -/* 800F3C8C 000F0BEC EC 21 C0 2A */ fadds f1, f1, f24 -/* 800F3C90 000F0BF0 38 61 00 4C */ addi r3, r1, 0x4c -/* 800F3C94 000F0BF4 EC 00 D0 2A */ fadds f0, f0, f26 -/* 800F3C98 000F0BF8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 800F3C9C 000F0BFC D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800F3CA0 000F0C00 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800F3CA4 000F0C04 4B F2 78 9D */ bl FromVector__10CAxisAngleFRC9CVector3f -/* 800F3CA8 000F0C08 80 9E 00 00 */ lwz r4, 0(r30) -/* 800F3CAC 000F0C0C 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 800F3CB0 000F0C10 80 01 00 50 */ lwz r0, 0x50(r1) -/* 800F3CB4 000F0C14 90 64 01 80 */ stw r3, 0x180(r4) -/* 800F3CB8 000F0C18 90 04 01 84 */ stw r0, 0x184(r4) -/* 800F3CBC 000F0C1C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800F3CC0 000F0C20 90 04 01 88 */ stw r0, 0x188(r4) -/* 800F3CC4 000F0C24 48 00 00 8C */ b lbl_800F3D50 -lbl_800F3CC8: -/* 800F3CC8 000F0C28 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F3CCC 000F0C2C 7F C4 F3 78 */ mr r4, r30 -/* 800F3CD0 000F0C30 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F3CD4 000F0C34 38 61 01 64 */ addi r3, r1, 0x164 -/* 800F3CD8 000F0C38 D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 800F3CDC 000F0C3C D0 21 00 E0 */ stfs f1, 0xe0(r1) -/* 800F3CE0 000F0C40 D0 01 00 E8 */ stfs f0, 0xe8(r1) -/* 800F3CE4 000F0C44 48 00 2A 11 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F3CE8 000F0C48 38 61 00 34 */ addi r3, r1, 0x34 -/* 800F3CEC 000F0C4C 38 81 01 64 */ addi r4, r1, 0x164 -/* 800F3CF0 000F0C50 38 A1 00 F8 */ addi r5, r1, 0xf8 -/* 800F3CF4 000F0C54 48 21 ED 31 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800F3CF8 000F0C58 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 800F3CFC 000F0C5C 38 61 00 24 */ addi r3, r1, 0x24 -/* 800F3D00 000F0C60 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 800F3D04 000F0C64 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 800F3D08 000F0C68 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 800F3D0C 000F0C6C 38 A1 00 D4 */ addi r5, r1, 0xd4 -/* 800F3D10 000F0C70 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 800F3D14 000F0C74 D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 800F3D18 000F0C78 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 800F3D1C 000F0C7C 48 21 DD 9D */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f -/* 800F3D20 000F0C80 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 800F3D24 000F0C84 FC 20 C0 90 */ fmr f1, f24 -/* 800F3D28 000F0C88 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 800F3D2C 000F0C8C 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 800F3D30 000F0C90 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 800F3D34 000F0C94 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800F3D38 000F0C98 D0 81 00 C4 */ stfs f4, 0xc4(r1) -/* 800F3D3C 000F0C9C D0 61 00 C8 */ stfs f3, 0xc8(r1) -/* 800F3D40 000F0CA0 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 800F3D44 000F0CA4 D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 800F3D48 000F0CA8 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F3D4C 000F0CAC 48 02 70 11 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf -lbl_800F3D50: -/* 800F3D50 000F0CB0 7F C3 F3 78 */ mr r3, r30 -/* 800F3D54 000F0CB4 4B FF DC 7D */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F3D58 000F0CB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F3D5C 000F0CBC 41 82 00 0C */ beq lbl_800F3D68 -/* 800F3D60 000F0CC0 C3 02 91 E8 */ lfs f24, lbl_805AAF08@sda21(r2) -/* 800F3D64 000F0CC4 48 00 00 08 */ b lbl_800F3D6C -lbl_800F3D68: -/* 800F3D68 000F0CC8 C3 02 91 FC */ lfs f24, lbl_805AAF1C@sda21(r2) -lbl_800F3D6C: -/* 800F3D6C 000F0CCC 38 61 00 EC */ addi r3, r1, 0xec -/* 800F3D70 000F0CD0 48 22 0B 49 */ bl Magnitude__9CVector3fCFv -/* 800F3D74 000F0CD4 FC 01 C0 40 */ fcmpo cr0, f1, f24 -/* 800F3D78 000F0CD8 40 80 00 08 */ bge lbl_800F3D80 -/* 800F3D7C 000F0CDC 3B E0 00 01 */ li r31, 1 -lbl_800F3D80: -/* 800F3D80 000F0CE0 7F E3 FB 78 */ mr r3, r31 -/* 800F3D84 000F0CE4 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 -/* 800F3D88 000F0CE8 CB E1 02 20 */ lfd f31, 0x220(r1) -/* 800F3D8C 000F0CEC E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 -/* 800F3D90 000F0CF0 CB C1 02 10 */ lfd f30, 0x210(r1) -/* 800F3D94 000F0CF4 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 -/* 800F3D98 000F0CF8 CB A1 02 00 */ lfd f29, 0x200(r1) -/* 800F3D9C 000F0CFC E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 -/* 800F3DA0 000F0D00 CB 81 01 F0 */ lfd f28, 0x1f0(r1) -/* 800F3DA4 000F0D04 E3 61 01 E8 */ psq_l f27, 488(r1), 0, qr0 -/* 800F3DA8 000F0D08 CB 61 01 E0 */ lfd f27, 0x1e0(r1) -/* 800F3DAC 000F0D0C E3 41 01 D8 */ psq_l f26, 472(r1), 0, qr0 -/* 800F3DB0 000F0D10 CB 41 01 D0 */ lfd f26, 0x1d0(r1) -/* 800F3DB4 000F0D14 E3 21 01 C8 */ psq_l f25, 456(r1), 0, qr0 -/* 800F3DB8 000F0D18 CB 21 01 C0 */ lfd f25, 0x1c0(r1) -/* 800F3DBC 000F0D1C E3 01 01 B8 */ psq_l f24, 440(r1), 0, qr0 -/* 800F3DC0 000F0D20 CB 01 01 B0 */ lfd f24, 0x1b0(r1) -/* 800F3DC4 000F0D24 83 E1 01 AC */ lwz r31, 0x1ac(r1) -/* 800F3DC8 000F0D28 83 C1 01 A8 */ lwz r30, 0x1a8(r1) -/* 800F3DCC 000F0D2C 83 A1 01 A4 */ lwz r29, 0x1a4(r1) -/* 800F3DD0 000F0D30 80 01 02 34 */ lwz r0, 0x234(r1) -/* 800F3DD4 000F0D34 83 81 01 A0 */ lwz r28, 0x1a0(r1) -/* 800F3DD8 000F0D38 7C 08 03 A6 */ mtlr r0 -/* 800F3DDC 000F0D3C 38 21 02 30 */ addi r1, r1, 0x230 -/* 800F3DE0 000F0D40 4E 80 00 20 */ blr - -.global "GetEntry__22TReservedAverageCFi" -"GetEntry__22TReservedAverageCFi": -/* 800F3DE4 000F0D44 80 04 00 00 */ lwz r0, 0(r4) -/* 800F3DE8 000F0D48 7C 05 00 00 */ cmpw r5, r0 -/* 800F3DEC 000F0D4C 41 80 00 10 */ blt lbl_800F3DFC -/* 800F3DF0 000F0D50 38 00 00 00 */ li r0, 0 -/* 800F3DF4 000F0D54 98 03 00 04 */ stb r0, 4(r3) -/* 800F3DF8 000F0D58 4E 80 00 20 */ blr -lbl_800F3DFC: -/* 800F3DFC 000F0D5C 38 00 00 01 */ li r0, 1 -/* 800F3E00 000F0D60 28 03 00 00 */ cmplwi r3, 0 -/* 800F3E04 000F0D64 54 A5 10 3A */ slwi r5, r5, 2 -/* 800F3E08 000F0D68 98 03 00 04 */ stb r0, 4(r3) -/* 800F3E0C 000F0D6C 7C 84 2A 14 */ add r4, r4, r5 -/* 800F3E10 000F0D70 4D 82 00 20 */ beqlr -/* 800F3E14 000F0D74 C0 04 00 04 */ lfs f0, 4(r4) -/* 800F3E18 000F0D78 D0 03 00 00 */ stfs f0, 0(r3) -/* 800F3E1C 000F0D7C 4E 80 00 20 */ blr - -.global CancelBoosting__10CMorphBallFv -CancelBoosting__10CMorphBallFv: -/* 800F3E20 000F0D80 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800F3E24 000F0D84 7C 08 02 A6 */ mflr r0 -/* 800F3E28 000F0D88 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F3E2C 000F0D8C 90 01 00 44 */ stw r0, 0x44(r1) -/* 800F3E30 000F0D90 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800F3E34 000F0D94 7C 7F 1B 78 */ mr r31, r3 -/* 800F3E38 000F0D98 D0 03 1D E8 */ stfs f0, 0x1de8(r3) -/* 800F3E3C 000F0D9C D0 03 1D F4 */ stfs f0, 0x1df4(r3) -/* 800F3E40 000F0DA0 80 03 1E 20 */ lwz r0, 0x1e20(r3) -/* 800F3E44 000F0DA4 2C 00 00 01 */ cmpwi r0, 1 -/* 800F3E48 000F0DA8 40 82 00 68 */ bne lbl_800F3EB0 -/* 800F3E4C 000F0DAC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F3E50 000F0DB0 38 C0 00 00 */ li r6, 0 -/* 800F3E54 000F0DB4 38 60 FF FF */ li r3, -1 -/* 800F3E58 000F0DB8 38 00 00 01 */ li r0, 1 -/* 800F3E5C 000F0DBC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 800F3E60 000F0DC0 38 81 00 0C */ addi r4, r1, 0xc -/* 800F3E64 000F0DC4 38 A0 00 00 */ li r5, 0 -/* 800F3E68 000F0DC8 90 61 00 10 */ stw r3, 0x10(r1) -/* 800F3E6C 000F0DCC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800F3E70 000F0DD0 98 01 00 18 */ stb r0, 0x18(r1) -/* 800F3E74 000F0DD4 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 800F3E78 000F0DD8 90 C1 00 20 */ stw r6, 0x20(r1) -/* 800F3E7C 000F0DDC 98 C1 00 24 */ stb r6, 0x24(r1) -/* 800F3E80 000F0DE0 90 C1 00 28 */ stw r6, 0x28(r1) -/* 800F3E84 000F0DE4 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 800F3E88 000F0DE8 90 C1 00 30 */ stw r6, 0x30(r1) -/* 800F3E8C 000F0DEC 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 800F3E90 000F0DF0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800F3E94 000F0DF4 4B F3 8E E9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 800F3E98 000F0DF8 38 00 00 00 */ li r0, 0 -/* 800F3E9C 000F0DFC 38 61 00 08 */ addi r3, r1, 8 -/* 800F3EA0 000F0E00 90 1F 1E 20 */ stw r0, 0x1e20(r31) -/* 800F3EA4 000F0E04 80 1F 1E 24 */ lwz r0, 0x1e24(r31) -/* 800F3EA8 000F0E08 90 01 00 08 */ stw r0, 8(r1) -/* 800F3EAC 000F0E0C 48 1F 5E 9D */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -lbl_800F3EB0: -/* 800F3EB0 000F0E10 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800F3EB4 000F0E14 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800F3EB8 000F0E18 7C 08 03 A6 */ mtlr r0 -/* 800F3EBC 000F0E1C 38 21 00 40 */ addi r1, r1, 0x40 -/* 800F3EC0 000F0E20 4E 80 00 20 */ blr - -.global LeaveBoosting__10CMorphBallFv -LeaveBoosting__10CMorphBallFv: -/* 800F3EC4 000F0E24 88 03 1D E4 */ lbz r0, 0x1de4(r3) -/* 800F3EC8 000F0E28 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800F3ECC 000F0E2C 41 82 00 10 */ beq lbl_800F3EDC -/* 800F3ED0 000F0E30 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F3ED4 000F0E34 D0 03 1D EC */ stfs f0, 0x1dec(r3) -/* 800F3ED8 000F0E38 D0 03 1D E8 */ stfs f0, 0x1de8(r3) -lbl_800F3EDC: -/* 800F3EDC 000F0E3C 88 03 1D E4 */ lbz r0, 0x1de4(r3) -/* 800F3EE0 000F0E40 38 80 00 00 */ li r4, 0 -/* 800F3EE4 000F0E44 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800F3EE8 000F0E48 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F3EEC 000F0E4C 98 03 1D E4 */ stb r0, 0x1de4(r3) -/* 800F3EF0 000F0E50 D0 03 1D F4 */ stfs f0, 0x1df4(r3) -/* 800F3EF4 000F0E54 4E 80 00 20 */ blr - -.global EnterBoosting__10CMorphBallFR13CStateManager -EnterBoosting__10CMorphBallFR13CStateManager: -/* 800F3EF8 000F0E58 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800F3EFC 000F0E5C 7C 08 02 A6 */ mflr r0 -/* 800F3F00 000F0E60 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800F3F04 000F0E64 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 800F3F08 000F0E68 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 800F3F0C 000F0E6C DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 800F3F10 000F0E70 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 800F3F14 000F0E74 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 800F3F18 000F0E78 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 800F3F1C 000F0E7C DB 81 00 80 */ stfd f28, 0x80(r1) -/* 800F3F20 000F0E80 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 800F3F24 000F0E84 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 800F3F28 000F0E88 93 C1 00 78 */ stw r30, 0x78(r1) -/* 800F3F2C 000F0E8C 7C 7E 1B 78 */ mr r30, r3 -/* 800F3F30 000F0E90 38 60 00 01 */ li r3, 1 -/* 800F3F34 000F0E94 88 1E 1D E4 */ lbz r0, 0x1de4(r30) -/* 800F3F38 000F0E98 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800F3F3C 000F0E9C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F3F40 000F0EA0 7C 9F 23 78 */ mr r31, r4 -/* 800F3F44 000F0EA4 98 1E 1D E4 */ stb r0, 0x1de4(r30) -/* 800F3F48 000F0EA8 C0 3E 1D E8 */ lfs f1, 0x1de8(r30) -/* 800F3F4C 000F0EAC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F3F50 000F0EB0 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F3F54 000F0EB4 C0 03 02 20 */ lfs f0, 0x220(r3) -/* 800F3F58 000F0EB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3F5C 000F0EBC 4C 40 13 82 */ cror 2, 0, 2 -/* 800F3F60 000F0EC0 40 82 00 10 */ bne lbl_800F3F70 -/* 800F3F64 000F0EC4 C0 03 02 2C */ lfs f0, 0x22c(r3) -/* 800F3F68 000F0EC8 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F3F6C 000F0ECC 48 00 00 38 */ b lbl_800F3FA4 -lbl_800F3F70: -/* 800F3F70 000F0ED0 C0 03 02 24 */ lfs f0, 0x224(r3) -/* 800F3F74 000F0ED4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3F78 000F0ED8 4C 40 13 82 */ cror 2, 0, 2 -/* 800F3F7C 000F0EDC 40 82 00 10 */ bne lbl_800F3F8C -/* 800F3F80 000F0EE0 C0 03 02 30 */ lfs f0, 0x230(r3) -/* 800F3F84 000F0EE4 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F3F88 000F0EE8 48 00 00 1C */ b lbl_800F3FA4 -lbl_800F3F8C: -/* 800F3F8C 000F0EEC C0 03 02 28 */ lfs f0, 0x228(r3) -/* 800F3F90 000F0EF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3F94 000F0EF4 4C 40 13 82 */ cror 2, 0, 2 -/* 800F3F98 000F0EF8 40 82 00 0C */ bne lbl_800F3FA4 -/* 800F3F9C 000F0EFC C0 03 02 34 */ lfs f0, 0x234(r3) -/* 800F3FA0 000F0F00 D0 01 00 08 */ stfs f0, 8(r1) -lbl_800F3FA4: -/* 800F3FA4 000F0F04 7F C3 F3 78 */ mr r3, r30 -/* 800F3FA8 000F0F08 4B FF DA 29 */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F3FAC 000F0F0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F3FB0 000F0F10 41 82 00 58 */ beq lbl_800F4008 -/* 800F3FB4 000F0F14 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F3FB8 000F0F18 38 63 01 38 */ addi r3, r3, 0x138 -/* 800F3FBC 000F0F1C 48 22 08 FD */ bl Magnitude__9CVector3fCFv -/* 800F3FC0 000F0F20 C0 42 91 6C */ lfs f2, lbl_805AAE8C@sda21(r2) -/* 800F3FC4 000F0F24 C0 02 92 94 */ lfs f0, lbl_805AAFB4@sda21(r2) -/* 800F3FC8 000F0F28 EC 21 10 24 */ fdivs f1, f1, f2 -/* 800F3FCC 000F0F2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3FD0 000F0F30 40 81 00 14 */ ble lbl_800F3FE4 -/* 800F3FD4 000F0F34 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F3FD8 000F0F38 C0 21 00 08 */ lfs f1, 8(r1) -/* 800F3FDC 000F0F3C EC 01 08 3C */ fnmsubs f0, f1, f0, f1 -/* 800F3FE0 000F0F40 D0 01 00 08 */ stfs f0, 8(r1) -lbl_800F3FE4: -/* 800F3FE4 000F0F44 C0 2D 88 A8 */ lfs f1, lbl_805A7468@sda21(r13) -/* 800F3FE8 000F0F48 C0 01 00 08 */ lfs f0, 8(r1) -/* 800F3FEC 000F0F4C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F3FF0 000F0F50 40 80 00 0C */ bge lbl_800F3FFC -/* 800F3FF4 000F0F54 38 61 00 08 */ addi r3, r1, 8 -/* 800F3FF8 000F0F58 48 00 00 08 */ b lbl_800F4000 -lbl_800F3FFC: -/* 800F3FFC 000F0F5C 38 6D 88 A8 */ addi r3, r13, lbl_805A7468@sda21 -lbl_800F4000: -/* 800F4000 000F0F60 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F4004 000F0F64 D0 01 00 08 */ stfs f0, 8(r1) -lbl_800F4008: -/* 800F4008 000F0F68 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F400C 000F0F6C C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) -/* 800F4010 000F0F70 C3 C3 05 04 */ lfs f30, 0x504(r3) -/* 800F4014 000F0F74 C3 E3 05 00 */ lfs f31, 0x500(r3) -/* 800F4018 000F0F78 EC 1E 07 B2 */ fmuls f0, f30, f30 -/* 800F401C 000F0F7C C3 A3 05 08 */ lfs f29, 0x508(r3) -/* 800F4020 000F0F80 EC 9F 07 FA */ fmadds f4, f31, f31, f0 -/* 800F4024 000F0F84 FC 04 08 40 */ fcmpo cr0, f4, f1 -/* 800F4028 000F0F88 40 81 00 58 */ ble lbl_800F4080 -/* 800F402C 000F0F8C FC 20 20 34 */ frsqrte f1, f4 -/* 800F4030 000F0F90 C8 62 92 78 */ lfd f3, lbl_805AAF98@sda21(r2) -/* 800F4034 000F0F94 C8 42 92 98 */ lfd f2, lbl_805AAFB8@sda21(r2) -/* 800F4038 000F0F98 FC 01 00 72 */ fmul f0, f1, f1 -/* 800F403C 000F0F9C FC 23 00 72 */ fmul f1, f3, f1 -/* 800F4040 000F0FA0 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 800F4044 000F0FA4 FC 21 00 32 */ fmul f1, f1, f0 -/* 800F4048 000F0FA8 FC 01 00 72 */ fmul f0, f1, f1 -/* 800F404C 000F0FAC FC 23 00 72 */ fmul f1, f3, f1 -/* 800F4050 000F0FB0 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 800F4054 000F0FB4 FC 21 00 32 */ fmul f1, f1, f0 -/* 800F4058 000F0FB8 FC 01 00 72 */ fmul f0, f1, f1 -/* 800F405C 000F0FBC FC 23 00 72 */ fmul f1, f3, f1 -/* 800F4060 000F0FC0 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 800F4064 000F0FC4 FC 21 00 32 */ fmul f1, f1, f0 -/* 800F4068 000F0FC8 FC 01 00 72 */ fmul f0, f1, f1 -/* 800F406C 000F0FCC FC 23 00 72 */ fmul f1, f3, f1 -/* 800F4070 000F0FD0 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 800F4074 000F0FD4 FC 01 00 32 */ fmul f0, f1, f0 -/* 800F4078 000F0FD8 FC 24 00 32 */ fmul f1, f4, f0 -/* 800F407C 000F0FDC 48 00 00 2C */ b lbl_800F40A8 -lbl_800F4080: -/* 800F4080 000F0FE0 FC 01 20 00 */ fcmpu cr0, f1, f4 -/* 800F4084 000F0FE4 40 82 00 08 */ bne lbl_800F408C -/* 800F4088 000F0FE8 48 00 00 20 */ b lbl_800F40A8 -lbl_800F408C: -/* 800F408C 000F0FEC FC 04 08 00 */ fcmpu cr0, f4, f1 -/* 800F4090 000F0FF0 41 82 00 10 */ beq lbl_800F40A0 -/* 800F4094 000F0FF4 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha -/* 800F4098 000F0FF8 C0 23 8B A0 */ lfs f1, lbl_805A8BA0@l(r3) -/* 800F409C 000F0FFC 48 00 00 0C */ b lbl_800F40A8 -lbl_800F40A0: -/* 800F40A0 000F1000 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha -/* 800F40A4 000F1004 C0 23 8B A4 */ lfs f1, lbl_805A8BA4@l(r3) -lbl_800F40A8: -/* 800F40A8 000F1008 FF 80 08 18 */ frsp f28, f1 -/* 800F40AC 000F100C FC 20 E8 90 */ fmr f1, f29 -/* 800F40B0 000F1010 FC 40 E0 90 */ fmr f2, f28 -/* 800F40B4 000F1014 48 2A 0B B9 */ bl atan2 -/* 800F40B8 000F1018 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F40BC 000F101C FC 20 08 18 */ frsp f1, f1 -/* 800F40C0 000F1020 C0 42 92 A4 */ lfs f2, lbl_805AAFC4@sda21(r2) -/* 800F40C4 000F1024 EC 1C 00 28 */ fsubs f0, f28, f0 -/* 800F40C8 000F1028 C0 62 92 A0 */ lfs f3, lbl_805AAFC0@sda21(r2) -/* 800F40CC 000F102C EC 42 00 72 */ fmuls f2, f2, f1 -/* 800F40D0 000F1030 C8 22 92 A8 */ lfd f1, lbl_805AAFC8@sda21(r2) -/* 800F40D4 000F1034 FC 80 02 10 */ fabs f4, f0 -/* 800F40D8 000F1038 EC 03 00 B2 */ fmuls f0, f3, f2 -/* 800F40DC 000F103C FC 04 08 40 */ fcmpo cr0, f4, f1 -/* 800F40E0 000F1040 40 80 01 A8 */ bge lbl_800F4288 -/* 800F40E4 000F1044 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F40E8 000F1048 80 03 02 58 */ lwz r0, 0x258(r3) -/* 800F40EC 000F104C 2C 00 00 00 */ cmpwi r0, 0 -/* 800F40F0 000F1050 40 82 01 98 */ bne lbl_800F4288 -/* 800F40F4 000F1054 C0 23 01 3C */ lfs f1, 0x13c(r3) -/* 800F40F8 000F1058 C0 63 01 38 */ lfs f3, 0x138(r3) -/* 800F40FC 000F105C EC 21 00 72 */ fmuls f1, f1, f1 -/* 800F4100 000F1060 C8 42 91 D0 */ lfd f2, lbl_805AAEF0@sda21(r2) -/* 800F4104 000F1064 C0 A3 01 40 */ lfs f5, 0x140(r3) -/* 800F4108 000F1068 EC C3 08 FA */ fmadds f6, f3, f3, f1 -/* 800F410C 000F106C FC 06 10 40 */ fcmpo cr0, f6, f2 -/* 800F4110 000F1070 40 81 00 58 */ ble lbl_800F4168 -/* 800F4114 000F1074 FC 40 30 34 */ frsqrte f2, f6 -/* 800F4118 000F1078 C8 82 92 78 */ lfd f4, lbl_805AAF98@sda21(r2) -/* 800F411C 000F107C C8 62 92 98 */ lfd f3, lbl_805AAFB8@sda21(r2) -/* 800F4120 000F1080 FC 22 00 B2 */ fmul f1, f2, f2 -/* 800F4124 000F1084 FC 44 00 B2 */ fmul f2, f4, f2 -/* 800F4128 000F1088 FC 26 18 7C */ fnmsub f1, f6, f1, f3 -/* 800F412C 000F108C FC 42 00 72 */ fmul f2, f2, f1 -/* 800F4130 000F1090 FC 22 00 B2 */ fmul f1, f2, f2 -/* 800F4134 000F1094 FC 44 00 B2 */ fmul f2, f4, f2 -/* 800F4138 000F1098 FC 26 18 7C */ fnmsub f1, f6, f1, f3 -/* 800F413C 000F109C FC 42 00 72 */ fmul f2, f2, f1 -/* 800F4140 000F10A0 FC 22 00 B2 */ fmul f1, f2, f2 -/* 800F4144 000F10A4 FC 44 00 B2 */ fmul f2, f4, f2 -/* 800F4148 000F10A8 FC 26 18 7C */ fnmsub f1, f6, f1, f3 -/* 800F414C 000F10AC FC 42 00 72 */ fmul f2, f2, f1 -/* 800F4150 000F10B0 FC 22 00 B2 */ fmul f1, f2, f2 -/* 800F4154 000F10B4 FC 44 00 B2 */ fmul f2, f4, f2 -/* 800F4158 000F10B8 FC 26 18 7C */ fnmsub f1, f6, f1, f3 -/* 800F415C 000F10BC FC 22 00 72 */ fmul f1, f2, f1 -/* 800F4160 000F10C0 FC 46 00 72 */ fmul f2, f6, f1 -/* 800F4164 000F10C4 48 00 00 2C */ b lbl_800F4190 -lbl_800F4168: -/* 800F4168 000F10C8 FC 02 30 00 */ fcmpu cr0, f2, f6 -/* 800F416C 000F10CC 40 82 00 08 */ bne lbl_800F4174 -/* 800F4170 000F10D0 48 00 00 20 */ b lbl_800F4190 -lbl_800F4174: -/* 800F4174 000F10D4 FC 06 10 00 */ fcmpu cr0, f6, f2 -/* 800F4178 000F10D8 41 82 00 10 */ beq lbl_800F4188 -/* 800F417C 000F10DC 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha -/* 800F4180 000F10E0 C0 43 8B A0 */ lfs f2, lbl_805A8BA0@l(r3) -/* 800F4184 000F10E4 48 00 00 0C */ b lbl_800F4190 -lbl_800F4188: -/* 800F4188 000F10E8 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha -/* 800F418C 000F10EC C0 43 8B A4 */ lfs f2, lbl_805A8BA4@l(r3) -lbl_800F4190: -/* 800F4190 000F10F0 FC 60 10 18 */ frsp f3, f2 -/* 800F4194 000F10F4 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) -/* 800F4198 000F10F8 C8 22 92 B0 */ lfd f1, lbl_805AAFD0@sda21(r2) -/* 800F419C 000F10FC EC 43 10 28 */ fsubs f2, f3, f2 -/* 800F41A0 000F1100 FC 40 12 10 */ fabs f2, f2 -/* 800F41A4 000F1104 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 800F41A8 000F1108 40 80 00 E0 */ bge lbl_800F4288 -/* 800F41AC 000F110C FC 40 2A 10 */ fabs f2, f5 -/* 800F41B0 000F1110 C0 22 91 D8 */ lfs f1, lbl_805AAEF8@sda21(r2) -/* 800F41B4 000F1114 FC 40 10 18 */ frsp f2, f2 -/* 800F41B8 000F1118 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 800F41BC 000F111C 40 80 00 CC */ bge lbl_800F4288 -/* 800F41C0 000F1120 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 800F41C4 000F1124 7F E4 FB 78 */ mr r4, r31 -/* 800F41C8 000F1128 4B F1 79 51 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800F41CC 000F112C C3 C3 00 48 */ lfs f30, 0x48(r3) -/* 800F41D0 000F1130 C3 E3 00 38 */ lfs f31, 0x38(r3) -/* 800F41D4 000F1134 EC 1E 07 B2 */ fmuls f0, f30, f30 -/* 800F41D8 000F1138 C8 42 91 D0 */ lfd f2, lbl_805AAEF0@sda21(r2) -/* 800F41DC 000F113C C3 A3 00 58 */ lfs f29, 0x58(r3) -/* 800F41E0 000F1140 EC 9F 07 FA */ fmadds f4, f31, f31, f0 -/* 800F41E4 000F1144 FC 04 10 40 */ fcmpo cr0, f4, f2 -/* 800F41E8 000F1148 40 81 00 58 */ ble lbl_800F4240 -/* 800F41EC 000F114C FC 20 20 34 */ frsqrte f1, f4 -/* 800F41F0 000F1150 C8 62 92 78 */ lfd f3, lbl_805AAF98@sda21(r2) -/* 800F41F4 000F1154 C8 42 92 98 */ lfd f2, lbl_805AAFB8@sda21(r2) -/* 800F41F8 000F1158 FC 01 00 72 */ fmul f0, f1, f1 -/* 800F41FC 000F115C FC 23 00 72 */ fmul f1, f3, f1 -/* 800F4200 000F1160 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 800F4204 000F1164 FC 21 00 32 */ fmul f1, f1, f0 -/* 800F4208 000F1168 FC 01 00 72 */ fmul f0, f1, f1 -/* 800F420C 000F116C FC 23 00 72 */ fmul f1, f3, f1 -/* 800F4210 000F1170 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 800F4214 000F1174 FC 21 00 32 */ fmul f1, f1, f0 -/* 800F4218 000F1178 FC 01 00 72 */ fmul f0, f1, f1 -/* 800F421C 000F117C FC 23 00 72 */ fmul f1, f3, f1 -/* 800F4220 000F1180 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 800F4224 000F1184 FC 21 00 32 */ fmul f1, f1, f0 -/* 800F4228 000F1188 FC 01 00 72 */ fmul f0, f1, f1 -/* 800F422C 000F118C FC 23 00 72 */ fmul f1, f3, f1 -/* 800F4230 000F1190 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 800F4234 000F1194 FC 01 00 32 */ fmul f0, f1, f0 -/* 800F4238 000F1198 FC 44 00 32 */ fmul f2, f4, f0 -/* 800F423C 000F119C 48 00 00 2C */ b lbl_800F4268 -lbl_800F4240: -/* 800F4240 000F11A0 FC 02 20 00 */ fcmpu cr0, f2, f4 -/* 800F4244 000F11A4 40 82 00 08 */ bne lbl_800F424C -/* 800F4248 000F11A8 48 00 00 20 */ b lbl_800F4268 -lbl_800F424C: -/* 800F424C 000F11AC FC 04 10 00 */ fcmpu cr0, f4, f2 -/* 800F4250 000F11B0 41 82 00 10 */ beq lbl_800F4260 -/* 800F4254 000F11B4 3C 60 80 5B */ lis r3, lbl_805A8BA0@ha -/* 800F4258 000F11B8 C0 43 8B A0 */ lfs f2, lbl_805A8BA0@l(r3) -/* 800F425C 000F11BC 48 00 00 0C */ b lbl_800F4268 -lbl_800F4260: -/* 800F4260 000F11C0 3C 60 80 5B */ lis r3, lbl_805A8BA4@ha -/* 800F4264 000F11C4 C0 43 8B A4 */ lfs f2, lbl_805A8BA4@l(r3) -lbl_800F4268: -/* 800F4268 000F11C8 FC 20 E8 90 */ fmr f1, f29 -/* 800F426C 000F11CC FC 40 10 18 */ frsp f2, f2 -/* 800F4270 000F11D0 48 2A 09 FD */ bl atan2 -/* 800F4274 000F11D4 FC 00 08 18 */ frsp f0, f1 -/* 800F4278 000F11D8 C0 22 92 A4 */ lfs f1, lbl_805AAFC4@sda21(r2) -/* 800F427C 000F11DC C0 42 92 A0 */ lfs f2, lbl_805AAFC0@sda21(r2) -/* 800F4280 000F11E0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F4284 000F11E4 EC 02 00 32 */ fmuls f0, f2, f0 -lbl_800F4288: -/* 800F4288 000F11E8 C0 22 91 B0 */ lfs f1, lbl_805AAED0@sda21(r2) -/* 800F428C 000F11EC C0 62 91 5C */ lfs f3, lbl_805AAE7C@sda21(r2) -/* 800F4290 000F11F0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F4294 000F11F4 40 81 00 1C */ ble lbl_800F42B0 -/* 800F4298 000F11F8 EC 40 08 28 */ fsubs f2, f0, f1 -/* 800F429C 000F11FC C0 02 92 B8 */ lfs f0, lbl_805AAFD8@sda21(r2) -/* 800F42A0 000F1200 C0 22 92 BC */ lfs f1, lbl_805AAFDC@sda21(r2) -/* 800F42A4 000F1204 EC 42 00 24 */ fdivs f2, f2, f0 -/* 800F42A8 000F1208 EC 03 10 28 */ fsubs f0, f3, f2 -/* 800F42AC 000F120C EC 61 00 BA */ fmadds f3, f1, f2, f0 -lbl_800F42B0: -/* 800F42B0 000F1210 C0 01 00 08 */ lfs f0, 8(r1) -/* 800F42B4 000F1214 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F42B8 000F1218 EC 23 00 32 */ fmuls f1, f3, f0 -/* 800F42BC 000F121C C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 800F42C0 000F1220 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F42C4 000F1224 EC 40 07 F2 */ fmuls f2, f0, f31 -/* 800F42C8 000F1228 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 800F42CC 000F122C EC 00 07 72 */ fmuls f0, f0, f29 -/* 800F42D0 000F1230 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800F42D4 000F1234 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800F42D8 000F1238 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800F42DC 000F123C 4B F2 72 59 */ bl Identity__10CAxisAngleFv -/* 800F42E0 000F1240 7C 65 1B 78 */ mr r5, r3 -/* 800F42E4 000F1244 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F42E8 000F1248 38 81 00 18 */ addi r4, r1, 0x18 -/* 800F42EC 000F124C 48 02 80 AD */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800F42F0 000F1250 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F42F4 000F1254 38 61 00 24 */ addi r3, r1, 0x24 -/* 800F42F8 000F1258 38 9E 19 24 */ addi r4, r30, 0x1924 -/* 800F42FC 000F125C D0 1E 1D F4 */ stfs f0, 0x1df4(r30) -/* 800F4300 000F1260 D0 1E 1D E8 */ stfs f0, 0x1de8(r30) -/* 800F4304 000F1264 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F4308 000F1268 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 800F430C 000F126C C0 25 00 50 */ lfs f1, 0x50(r5) -/* 800F4310 000F1270 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 800F4314 000F1274 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800F4318 000F1278 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800F431C 000F127C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 800F4320 000F1280 48 21 ED D5 */ bl BuildMatrix3f__12CTransform4fCFv -/* 800F4324 000F1284 38 61 00 48 */ addi r3, r1, 0x48 -/* 800F4328 000F1288 38 81 00 24 */ addi r4, r1, 0x24 -/* 800F432C 000F128C 38 A1 00 0C */ addi r5, r1, 0xc -/* 800F4330 000F1290 48 21 EF 49 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 800F4334 000F1294 83 FE 00 00 */ lwz r31, 0(r30) -/* 800F4338 000F1298 38 81 00 48 */ addi r4, r1, 0x48 -/* 800F433C 000F129C 38 7F 00 34 */ addi r3, r31, 0x34 -/* 800F4340 000F12A0 48 21 E8 01 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800F4344 000F12A4 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800F4348 000F12A8 38 80 00 01 */ li r4, 1 -/* 800F434C 000F12AC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 800F4350 000F12B0 7F C3 F3 78 */ mr r3, r30 -/* 800F4354 000F12B4 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800F4358 000F12B8 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800F435C 000F12BC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 800F4360 000F12C0 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800F4364 000F12C4 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800F4368 000F12C8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 800F436C 000F12CC 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800F4370 000F12D0 48 00 17 A9 */ bl SwitchToTire__10CMorphBallFv -/* 800F4374 000F12D4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 800F4378 000F12D8 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 800F437C 000F12DC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 800F4380 000F12E0 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 800F4384 000F12E4 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 800F4388 000F12E8 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 800F438C 000F12EC E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 800F4390 000F12F0 CB 81 00 80 */ lfd f28, 0x80(r1) -/* 800F4394 000F12F4 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 800F4398 000F12F8 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800F439C 000F12FC 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 800F43A0 000F1300 7C 08 03 A6 */ mtlr r0 -/* 800F43A4 000F1304 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800F43A8 000F1308 4E 80 00 20 */ blr - -.global ComputeBoostBallMovement__10CMorphBallFRC11CFinalInputRC13CStateManagerf -ComputeBoostBallMovement__10CMorphBallFRC11CFinalInputRC13CStateManagerf: -/* 800F43AC 000F130C 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 800F43B0 000F1310 7C 08 02 A6 */ mflr r0 -/* 800F43B4 000F1314 90 01 01 54 */ stw r0, 0x154(r1) -/* 800F43B8 000F1318 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 800F43BC 000F131C F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 800F43C0 000F1320 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 800F43C4 000F1324 93 C1 01 38 */ stw r30, 0x138(r1) -/* 800F43C8 000F1328 93 A1 01 34 */ stw r29, 0x134(r1) -/* 800F43CC 000F132C FF E0 08 90 */ fmr f31, f1 -/* 800F43D0 000F1330 7C 7E 1B 78 */ mr r30, r3 -/* 800F43D4 000F1334 7C 9D 23 78 */ mr r29, r4 -/* 800F43D8 000F1338 7C BF 2B 78 */ mr r31, r5 -/* 800F43DC 000F133C 48 00 48 BD */ bl IsMovementAllowed__10CMorphBallCFv -/* 800F43E0 000F1340 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F43E4 000F1344 41 82 04 60 */ beq lbl_800F4844 -/* 800F43E8 000F1348 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 800F43EC 000F134C 38 80 00 12 */ li r4, 0x12 -/* 800F43F0 000F1350 80 63 00 00 */ lwz r3, 0(r3) -/* 800F43F4 000F1354 4B F9 D6 CD */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800F43F8 000F1358 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F43FC 000F135C 41 82 04 48 */ beq lbl_800F4844 -/* 800F4400 000F1360 88 1E 1D E4 */ lbz r0, 0x1de4(r30) -/* 800F4404 000F1364 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800F4408 000F1368 40 82 00 18 */ bne lbl_800F4420 -/* 800F440C 000F136C 7F C3 F3 78 */ mr r3, r30 -/* 800F4410 000F1370 4B FF FA 11 */ bl CancelBoosting__10CMorphBallFv -/* 800F4414 000F1374 7F C3 F3 78 */ mr r3, r30 -/* 800F4418 000F1378 4B FF FA AD */ bl LeaveBoosting__10CMorphBallFv -/* 800F441C 000F137C 48 00 04 28 */ b lbl_800F4844 -lbl_800F4420: -/* 800F4420 000F1380 88 1E 1D E4 */ lbz r0, 0x1de4(r30) -/* 800F4424 000F1384 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800F4428 000F1388 40 82 03 A4 */ bne lbl_800F47CC -/* 800F442C 000F138C C0 1E 1D EC */ lfs f0, 0x1dec(r30) -/* 800F4430 000F1390 7F A4 EB 78 */ mr r4, r29 -/* 800F4434 000F1394 38 60 00 0A */ li r3, 0xa -/* 800F4438 000F1398 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800F443C 000F139C D0 1E 1D EC */ stfs f0, 0x1dec(r30) -/* 800F4440 000F13A0 4B F1 84 35 */ bl GetDigitalInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F4444 000F13A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F4448 000F13A8 41 82 00 C4 */ beq lbl_800F450C -/* 800F444C 000F13AC 80 1E 18 7C */ lwz r0, 0x187c(r30) -/* 800F4450 000F13B0 2C 00 00 01 */ cmpwi r0, 1 -/* 800F4454 000F13B4 41 82 00 B8 */ beq lbl_800F450C -/* 800F4458 000F13B8 80 1E 1E 20 */ lwz r0, 0x1e20(r30) -/* 800F445C 000F13BC 2C 00 00 00 */ cmpwi r0, 0 -/* 800F4460 000F13C0 40 82 00 84 */ bne lbl_800F44E4 -/* 800F4464 000F13C4 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F4468 000F13C8 38 00 00 00 */ li r0, 0 -/* 800F446C 000F13CC 38 C0 00 01 */ li r6, 1 -/* 800F4470 000F13D0 38 60 FF FF */ li r3, -1 -/* 800F4474 000F13D4 90 C1 01 08 */ stw r6, 0x108(r1) -/* 800F4478 000F13D8 38 81 01 08 */ addi r4, r1, 0x108 -/* 800F447C 000F13DC 38 A0 00 00 */ li r5, 0 -/* 800F4480 000F13E0 90 61 01 0C */ stw r3, 0x10c(r1) -/* 800F4484 000F13E4 D0 01 01 10 */ stfs f0, 0x110(r1) -/* 800F4488 000F13E8 98 C1 01 14 */ stb r6, 0x114(r1) -/* 800F448C 000F13EC 90 01 01 18 */ stw r0, 0x118(r1) -/* 800F4490 000F13F0 90 01 01 1C */ stw r0, 0x11c(r1) -/* 800F4494 000F13F4 98 01 01 20 */ stb r0, 0x120(r1) -/* 800F4498 000F13F8 90 01 01 24 */ stw r0, 0x124(r1) -/* 800F449C 000F13FC 90 01 01 28 */ stw r0, 0x128(r1) -/* 800F44A0 000F1400 90 01 01 2C */ stw r0, 0x12c(r1) -/* 800F44A4 000F1404 80 7E 00 58 */ lwz r3, 0x58(r30) -/* 800F44A8 000F1408 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800F44AC 000F140C 4B F3 88 D1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 800F44B0 000F1410 38 00 00 01 */ li r0, 1 -/* 800F44B4 000F1414 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 800F44B8 000F1418 90 1E 1E 20 */ stw r0, 0x1e20(r30) -/* 800F44BC 000F141C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800F44C0 000F1420 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800F44C4 000F1424 38 80 05 C5 */ li r4, 0x5c5 -/* 800F44C8 000F1428 38 A0 00 7F */ li r5, 0x7f -/* 800F44CC 000F142C 38 C0 00 40 */ li r6, 0x40 -/* 800F44D0 000F1430 38 E0 00 01 */ li r7, 1 -/* 800F44D4 000F1434 39 20 00 01 */ li r9, 1 -/* 800F44D8 000F1438 48 1F 58 9D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 800F44DC 000F143C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800F44E0 000F1440 90 1E 1E 24 */ stw r0, 0x1e24(r30) -lbl_800F44E4: -/* 800F44E4 000F1444 C0 1E 1D E8 */ lfs f0, 0x1de8(r30) -/* 800F44E8 000F1448 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800F44EC 000F144C D0 1E 1D E8 */ stfs f0, 0x1de8(r30) -/* 800F44F0 000F1450 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F44F4 000F1454 C0 1E 1D E8 */ lfs f0, 0x1de8(r30) -/* 800F44F8 000F1458 C0 23 02 10 */ lfs f1, 0x210(r3) -/* 800F44FC 000F145C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F4500 000F1460 40 81 03 44 */ ble lbl_800F4844 -/* 800F4504 000F1464 D0 3E 1D E8 */ stfs f1, 0x1de8(r30) -/* 800F4508 000F1468 48 00 03 3C */ b lbl_800F4844 -lbl_800F450C: -/* 800F450C 000F146C 80 1E 1E 20 */ lwz r0, 0x1e20(r30) -/* 800F4510 000F1470 2C 00 00 01 */ cmpwi r0, 1 -/* 800F4514 000F1474 40 82 00 C4 */ bne lbl_800F45D8 -/* 800F4518 000F1478 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F451C 000F147C 38 C0 00 00 */ li r6, 0 -/* 800F4520 000F1480 38 60 FF FF */ li r3, -1 -/* 800F4524 000F1484 38 00 00 01 */ li r0, 1 -/* 800F4528 000F1488 90 C1 00 E0 */ stw r6, 0xe0(r1) -/* 800F452C 000F148C 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 800F4530 000F1490 38 A0 00 00 */ li r5, 0 -/* 800F4534 000F1494 90 61 00 E4 */ stw r3, 0xe4(r1) -/* 800F4538 000F1498 D0 01 00 E8 */ stfs f0, 0xe8(r1) -/* 800F453C 000F149C 98 01 00 EC */ stb r0, 0xec(r1) -/* 800F4540 000F14A0 90 C1 00 F0 */ stw r6, 0xf0(r1) -/* 800F4544 000F14A4 90 C1 00 F4 */ stw r6, 0xf4(r1) -/* 800F4548 000F14A8 98 C1 00 F8 */ stb r6, 0xf8(r1) -/* 800F454C 000F14AC 90 C1 00 FC */ stw r6, 0xfc(r1) -/* 800F4550 000F14B0 90 C1 01 00 */ stw r6, 0x100(r1) -/* 800F4554 000F14B4 90 C1 01 04 */ stw r6, 0x104(r1) -/* 800F4558 000F14B8 80 7E 00 58 */ lwz r3, 0x58(r30) -/* 800F455C 000F14BC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800F4560 000F14C0 4B F3 88 1D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 800F4564 000F14C4 38 00 00 00 */ li r0, 0 -/* 800F4568 000F14C8 38 61 00 0C */ addi r3, r1, 0xc -/* 800F456C 000F14CC 90 1E 1E 20 */ stw r0, 0x1e20(r30) -/* 800F4570 000F14D0 80 1E 1E 24 */ lwz r0, 0x1e24(r30) -/* 800F4574 000F14D4 90 01 00 0C */ stw r0, 0xc(r1) -/* 800F4578 000F14D8 48 1F 59 0D */ bl RemoveEmitter__11CSfxManagerFRC10CSfxHandle -/* 800F457C 000F14DC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F4580 000F14E0 C0 3E 1D E8 */ lfs f1, 0x1de8(r30) -/* 800F4584 000F14E4 C0 03 02 18 */ lfs f0, 0x218(r3) -/* 800F4588 000F14E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F458C 000F14EC 4C 41 13 82 */ cror 2, 1, 2 -/* 800F4590 000F14F0 40 82 00 48 */ bne lbl_800F45D8 -/* 800F4594 000F14F4 80 9E 00 00 */ lwz r4, 0(r30) -/* 800F4598 000F14F8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F459C 000F14FC 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 800F45A0 000F1500 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 800F45A4 000F1504 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 800F45A8 000F1508 38 61 00 08 */ addi r3, r1, 8 -/* 800F45AC 000F150C C0 24 00 50 */ lfs f1, 0x50(r4) -/* 800F45B0 000F1510 38 A1 00 74 */ addi r5, r1, 0x74 -/* 800F45B4 000F1514 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 800F45B8 000F1518 38 80 05 C4 */ li r4, 0x5c4 -/* 800F45BC 000F151C 38 E0 00 01 */ li r7, 1 -/* 800F45C0 000F1520 39 00 00 00 */ li r8, 0 -/* 800F45C4 000F1524 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800F45C8 000F1528 39 20 00 B4 */ li r9, 0xb4 -/* 800F45CC 000F152C D0 21 00 78 */ stfs f1, 0x78(r1) -/* 800F45D0 000F1530 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 800F45D4 000F1534 48 1F 5C DD */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -lbl_800F45D8: -/* 800F45D8 000F1538 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F45DC 000F153C C0 3E 1D E8 */ lfs f1, 0x1de8(r30) -/* 800F45E0 000F1540 C0 03 02 18 */ lfs f0, 0x218(r3) -/* 800F45E4 000F1544 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F45E8 000F1548 4C 41 13 82 */ cror 2, 1, 2 -/* 800F45EC 000F154C 40 82 01 C8 */ bne lbl_800F47B4 -/* 800F45F0 000F1550 7F C3 F3 78 */ mr r3, r30 -/* 800F45F4 000F1554 4B FF A9 B5 */ bl GetBallBoostState__10CMorphBallCFv -/* 800F45F8 000F1558 2C 03 00 00 */ cmpwi r3, 0 -/* 800F45FC 000F155C 40 82 00 90 */ bne lbl_800F468C -/* 800F4600 000F1560 7F C3 F3 78 */ mr r3, r30 -/* 800F4604 000F1564 4B FF D3 CD */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F4608 000F1568 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F460C 000F156C 40 82 00 10 */ bne lbl_800F461C -/* 800F4610 000F1570 88 1E 1D F8 */ lbz r0, 0x1df8(r30) -/* 800F4614 000F1574 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 800F4618 000F1578 41 82 00 14 */ beq lbl_800F462C -lbl_800F461C: -/* 800F461C 000F157C 7F C3 F3 78 */ mr r3, r30 -/* 800F4620 000F1580 7F E4 FB 78 */ mr r4, r31 -/* 800F4624 000F1584 4B FF F8 D5 */ bl EnterBoosting__10CMorphBallFR13CStateManager -/* 800F4628 000F1588 48 00 02 1C */ b lbl_800F4844 -lbl_800F462C: -/* 800F462C 000F158C C0 5E 19 38 */ lfs f2, 0x1938(r30) -/* 800F4630 000F1590 38 61 00 68 */ addi r3, r1, 0x68 -/* 800F4634 000F1594 C0 3E 19 48 */ lfs f1, 0x1948(r30) -/* 800F4638 000F1598 38 81 00 5C */ addi r4, r1, 0x5c -/* 800F463C 000F159C C0 1E 19 28 */ lfs f0, 0x1928(r30) -/* 800F4640 000F15A0 FC 40 10 50 */ fneg f2, f2 -/* 800F4644 000F15A4 C0 62 92 C0 */ lfs f3, lbl_805AAFE0@sda21(r2) -/* 800F4648 000F15A8 FC 20 08 50 */ fneg f1, f1 -/* 800F464C 000F15AC FC 00 00 50 */ fneg f0, f0 -/* 800F4650 000F15B0 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F4654 000F15B4 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F4658 000F15B8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F465C 000F15BC D0 41 00 60 */ stfs f2, 0x60(r1) -/* 800F4660 000F15C0 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800F4664 000F15C4 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 800F4668 000F15C8 4B F2 6E D9 */ bl FromVector__10CAxisAngleFRC9CVector3f -/* 800F466C 000F15CC 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800F4670 000F15D0 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F4674 000F15D4 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 800F4678 000F15D8 38 A1 00 68 */ addi r5, r1, 0x68 -/* 800F467C 000F15DC 48 02 7D 1D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800F4680 000F15E0 7F C3 F3 78 */ mr r3, r30 -/* 800F4684 000F15E4 4B FF F7 9D */ bl CancelBoosting__10CMorphBallFv -/* 800F4688 000F15E8 48 00 01 BC */ b lbl_800F4844 -lbl_800F468C: -/* 800F468C 000F15EC 7F C3 F3 78 */ mr r3, r30 -/* 800F4690 000F15F0 4B FF A9 19 */ bl GetBallBoostState__10CMorphBallCFv -/* 800F4694 000F15F4 2C 03 00 01 */ cmpwi r3, 1 -/* 800F4698 000F15F8 40 82 01 AC */ bne lbl_800F4844 -/* 800F469C 000F15FC 7F C4 F3 78 */ mr r4, r30 -/* 800F46A0 000F1600 38 61 00 80 */ addi r3, r1, 0x80 -/* 800F46A4 000F1604 48 00 20 51 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F46A8 000F1608 80 9E 00 00 */ lwz r4, 0(r30) -/* 800F46AC 000F160C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 800F46B0 000F1610 C0 A1 00 A4 */ lfs f5, 0xa4(r1) -/* 800F46B4 000F1614 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 800F46B8 000F1618 C0 E4 00 60 */ lfs f7, 0x60(r4) -/* 800F46BC 000F161C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800F46C0 000F1620 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 800F46C4 000F1624 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800F46C8 000F1628 C0 C4 00 50 */ lfs f6, 0x50(r4) -/* 800F46CC 000F162C EC 67 28 2A */ fadds f3, f7, f5 -/* 800F46D0 000F1630 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 800F46D4 000F1634 38 81 00 50 */ addi r4, r1, 0x50 -/* 800F46D8 000F1638 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 800F46DC 000F163C EC 86 00 2A */ fadds f4, f6, f0 -/* 800F46E0 000F1640 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800F46E4 000F1644 EC 01 10 2A */ fadds f0, f1, f2 -/* 800F46E8 000F1648 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 800F46EC 000F164C D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 800F46F0 000F1650 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800F46F4 000F1654 D0 C1 00 3C */ stfs f6, 0x3c(r1) -/* 800F46F8 000F1658 D0 E1 00 40 */ stfs f7, 0x40(r1) -/* 800F46FC 000F165C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800F4700 000F1660 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 800F4704 000F1664 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 800F4708 000F1668 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800F470C 000F166C D0 C1 00 54 */ stfs f6, 0x54(r1) -/* 800F4710 000F1670 D0 E1 00 58 */ stfs f7, 0x58(r1) -/* 800F4714 000F1674 48 21 F3 FD */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800F4718 000F1678 83 FE 00 00 */ lwz r31, 0(r30) -/* 800F471C 000F167C 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 800F4720 000F1680 38 7F 00 34 */ addi r3, r31, 0x34 -/* 800F4724 000F1684 48 21 E4 1D */ bl __as__12CTransform4fFRC12CTransform4f -/* 800F4728 000F1688 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800F472C 000F168C 38 A0 00 01 */ li r5, 1 -/* 800F4730 000F1690 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 800F4734 000F1694 C0 62 92 C0 */ lfs f3, lbl_805AAFE0@sda21(r2) -/* 800F4738 000F1698 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800F473C 000F169C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800F4740 000F16A0 38 81 00 14 */ addi r4, r1, 0x14 -/* 800F4744 000F16A4 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800F4748 000F16A8 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 800F474C 000F16AC 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800F4750 000F16B0 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 800F4754 000F16B4 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 800F4758 000F16B8 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 800F475C 000F16BC 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F4760 000F16C0 C0 45 00 44 */ lfs f2, 0x44(r5) -/* 800F4764 000F16C4 C0 25 00 54 */ lfs f1, 0x54(r5) -/* 800F4768 000F16C8 C0 05 00 34 */ lfs f0, 0x34(r5) -/* 800F476C 000F16CC FC 40 10 50 */ fneg f2, f2 -/* 800F4770 000F16D0 FC 20 08 50 */ fneg f1, f1 -/* 800F4774 000F16D4 FC 00 00 50 */ fneg f0, f0 -/* 800F4778 000F16D8 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F477C 000F16DC EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F4780 000F16E0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F4784 000F16E4 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800F4788 000F16E8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800F478C 000F16EC D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800F4790 000F16F0 4B F2 6D B1 */ bl FromVector__10CAxisAngleFRC9CVector3f -/* 800F4794 000F16F4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800F4798 000F16F8 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F479C 000F16FC 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 800F47A0 000F1700 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800F47A4 000F1704 48 02 7B F5 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800F47A8 000F1708 7F C3 F3 78 */ mr r3, r30 -/* 800F47AC 000F170C 4B FF F6 75 */ bl CancelBoosting__10CMorphBallFv -/* 800F47B0 000F1710 48 00 00 94 */ b lbl_800F4844 -lbl_800F47B4: -/* 800F47B4 000F1714 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F47B8 000F1718 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F47BC 000F171C 40 81 00 88 */ ble lbl_800F4844 -/* 800F47C0 000F1720 7F C3 F3 78 */ mr r3, r30 -/* 800F47C4 000F1724 4B FF F6 5D */ bl CancelBoosting__10CMorphBallFv -/* 800F47C8 000F1728 48 00 00 7C */ b lbl_800F4844 -lbl_800F47CC: -/* 800F47CC 000F172C C0 1E 1D F4 */ lfs f0, 0x1df4(r30) -/* 800F47D0 000F1730 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800F47D4 000F1734 D0 1E 1D F4 */ stfs f0, 0x1df4(r30) -/* 800F47D8 000F1738 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F47DC 000F173C C0 3E 1D F4 */ lfs f1, 0x1df4(r30) -/* 800F47E0 000F1740 C0 03 02 0C */ lfs f0, 0x20c(r3) -/* 800F47E4 000F1744 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F47E8 000F1748 40 81 00 0C */ ble lbl_800F47F4 -/* 800F47EC 000F174C 7F C3 F3 78 */ mr r3, r30 -/* 800F47F0 000F1750 4B FF F6 D5 */ bl LeaveBoosting__10CMorphBallFv -lbl_800F47F4: -/* 800F47F4 000F1754 7F C3 F3 78 */ mr r3, r30 -/* 800F47F8 000F1758 4B FF D1 D9 */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F47FC 000F175C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F4800 000F1760 40 82 00 44 */ bne lbl_800F4844 -/* 800F4804 000F1764 88 1E 1D F8 */ lbz r0, 0x1df8(r30) -/* 800F4808 000F1768 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 800F480C 000F176C 40 82 00 38 */ bne lbl_800F4844 -/* 800F4810 000F1770 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F4814 000F1774 C0 5E 1D F4 */ lfs f2, 0x1df4(r30) -/* 800F4818 000F1778 C0 23 02 0C */ lfs f1, 0x20c(r3) -/* 800F481C 000F177C C0 02 92 94 */ lfs f0, lbl_805AAFB4@sda21(r2) -/* 800F4820 000F1780 EC 22 08 24 */ fdivs f1, f2, f1 -/* 800F4824 000F1784 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F4828 000F1788 40 80 00 14 */ bge lbl_800F483C -/* 800F482C 000F178C C0 22 92 58 */ lfs f1, lbl_805AAF78@sda21(r2) -/* 800F4830 000F1790 7F C3 F3 78 */ mr r3, r30 -/* 800F4834 000F1794 C0 42 92 4C */ lfs f2, lbl_805AAF6C@sda21(r2) -/* 800F4838 000F1798 4B FF EC 65 */ bl DampLinearAndAngularVelocities__10CMorphBallFff -lbl_800F483C: -/* 800F483C 000F179C 7F C3 F3 78 */ mr r3, r30 -/* 800F4840 000F17A0 4B FF F6 85 */ bl LeaveBoosting__10CMorphBallFv -lbl_800F4844: -/* 800F4844 000F17A4 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 800F4848 000F17A8 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800F484C 000F17AC CB E1 01 40 */ lfd f31, 0x140(r1) -/* 800F4850 000F17B0 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 800F4854 000F17B4 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 800F4858 000F17B8 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 800F485C 000F17BC 7C 08 03 A6 */ mtlr r0 -/* 800F4860 000F17C0 38 21 01 50 */ addi r1, r1, 0x150 -/* 800F4864 000F17C4 4E 80 00 20 */ blr - -.global UpdateEffects__10CMorphBallFfR13CStateManager -UpdateEffects__10CMorphBallFfR13CStateManager: -/* 800F4868 000F17C8 94 21 FB 80 */ stwu r1, -0x480(r1) -/* 800F486C 000F17CC 7C 08 02 A6 */ mflr r0 -/* 800F4870 000F17D0 90 01 04 84 */ stw r0, 0x484(r1) -/* 800F4874 000F17D4 DB E1 04 70 */ stfd f31, 0x470(r1) -/* 800F4878 000F17D8 F3 E1 04 78 */ psq_st f31, 1144(r1), 0, qr0 -/* 800F487C 000F17DC DB C1 04 60 */ stfd f30, 0x460(r1) -/* 800F4880 000F17E0 F3 C1 04 68 */ psq_st f30, 1128(r1), 0, qr0 -/* 800F4884 000F17E4 93 E1 04 5C */ stw r31, 0x45c(r1) -/* 800F4888 000F17E8 93 C1 04 58 */ stw r30, 0x458(r1) -/* 800F488C 000F17EC 93 A1 04 54 */ stw r29, 0x454(r1) -/* 800F4890 000F17F0 93 81 04 50 */ stw r28, 0x450(r1) -/* 800F4894 000F17F4 FF E0 08 90 */ fmr f31, f1 -/* 800F4898 000F17F8 7C 7D 1B 78 */ mr r29, r3 -/* 800F489C 000F17FC 7C 9E 23 78 */ mr r30, r4 -/* 800F48A0 000F1800 38 61 02 70 */ addi r3, r1, 0x270 -/* 800F48A4 000F1804 7F A4 EB 78 */ mr r4, r29 -/* 800F48A8 000F1808 48 00 1F 05 */ bl GetSwooshToWorld__10CMorphBallCFv -/* 800F48AC 000F180C 38 61 02 D0 */ addi r3, r1, 0x2d0 -/* 800F48B0 000F1810 38 81 02 70 */ addi r4, r1, 0x270 -/* 800F48B4 000F1814 48 21 E2 C1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F48B8 000F1818 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F48BC 000F181C 38 61 01 44 */ addi r3, r1, 0x144 -/* 800F48C0 000F1820 C0 22 91 E4 */ lfs f1, lbl_805AAF04@sda21(r2) -/* 800F48C4 000F1824 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800F48C8 000F1828 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 800F48CC 000F182C 38 A1 01 38 */ addi r5, r1, 0x138 -/* 800F48D0 000F1830 D0 21 01 38 */ stfs f1, 0x138(r1) -/* 800F48D4 000F1834 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 800F48D8 000F1838 48 21 E1 A9 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800F48DC 000F183C C0 41 02 FC */ lfs f2, 0x2fc(r1) -/* 800F48E0 000F1840 38 81 01 2C */ addi r4, r1, 0x12c -/* 800F48E4 000F1844 C0 01 01 4C */ lfs f0, 0x14c(r1) -/* 800F48E8 000F1848 C0 81 02 EC */ lfs f4, 0x2ec(r1) -/* 800F48EC 000F184C C0 21 01 48 */ lfs f1, 0x148(r1) -/* 800F48F0 000F1850 EC 02 00 2A */ fadds f0, f2, f0 -/* 800F48F4 000F1854 C0 61 02 DC */ lfs f3, 0x2dc(r1) -/* 800F48F8 000F1858 C0 41 01 44 */ lfs f2, 0x144(r1) -/* 800F48FC 000F185C EC 24 08 2A */ fadds f1, f4, f1 -/* 800F4900 000F1860 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 800F4904 000F1864 EC 03 10 2A */ fadds f0, f3, f2 -/* 800F4908 000F1868 D0 21 01 30 */ stfs f1, 0x130(r1) -/* 800F490C 000F186C D0 01 01 2C */ stfs f0, 0x12c(r1) -/* 800F4910 000F1870 80 7D 19 B8 */ lwz r3, 0x19b8(r29) -/* 800F4914 000F1874 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4918 000F1878 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800F491C 000F187C 7D 89 03 A6 */ mtctr r12 -/* 800F4920 000F1880 4E 80 04 21 */ bctrl -/* 800F4924 000F1884 83 FD 19 B8 */ lwz r31, 0x19b8(r29) -/* 800F4928 000F1888 38 61 02 40 */ addi r3, r1, 0x240 -/* 800F492C 000F188C 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800F4930 000F1890 48 21 E3 11 */ bl GetRotation__12CTransform4fCFv -/* 800F4934 000F1894 7F E3 FB 78 */ mr r3, r31 -/* 800F4938 000F1898 38 81 02 40 */ addi r4, r1, 0x240 -/* 800F493C 000F189C 81 9F 00 00 */ lwz r12, 0(r31) -/* 800F4940 000F18A0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800F4944 000F18A4 7D 89 03 A6 */ mtctr r12 -/* 800F4948 000F18A8 4E 80 04 21 */ bctrl -/* 800F494C 000F18AC 80 7D 19 B8 */ lwz r3, 0x19b8(r29) -/* 800F4950 000F18B0 38 80 00 01 */ li r4, 1 -/* 800F4954 000F18B4 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) -/* 800F4958 000F18B8 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 800F495C 000F18BC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800F4960 000F18C0 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 800F4964 000F18C4 80 7D 19 B8 */ lwz r3, 0x19b8(r29) -/* 800F4968 000F18C8 81 83 00 00 */ lwz r12, 0(r3) -/* 800F496C 000F18CC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4970 000F18D0 7D 89 03 A6 */ mtctr r12 -/* 800F4974 000F18D4 4E 80 04 21 */ bctrl -/* 800F4978 000F18D8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F497C 000F18DC 38 61 01 20 */ addi r3, r1, 0x120 -/* 800F4980 000F18E0 C0 22 92 C4 */ lfs f1, lbl_805AAFE4@sda21(r2) -/* 800F4984 000F18E4 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800F4988 000F18E8 D0 01 01 18 */ stfs f0, 0x118(r1) -/* 800F498C 000F18EC 38 A1 01 14 */ addi r5, r1, 0x114 -/* 800F4990 000F18F0 D0 21 01 14 */ stfs f1, 0x114(r1) -/* 800F4994 000F18F4 D0 01 01 1C */ stfs f0, 0x11c(r1) -/* 800F4998 000F18F8 48 21 E0 E9 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800F499C 000F18FC C0 21 02 EC */ lfs f1, 0x2ec(r1) -/* 800F49A0 000F1900 38 81 01 08 */ addi r4, r1, 0x108 -/* 800F49A4 000F1904 C0 01 01 24 */ lfs f0, 0x124(r1) -/* 800F49A8 000F1908 C0 61 02 FC */ lfs f3, 0x2fc(r1) -/* 800F49AC 000F190C C0 41 01 28 */ lfs f2, 0x128(r1) -/* 800F49B0 000F1910 EC 81 00 2A */ fadds f4, f1, f0 -/* 800F49B4 000F1914 C0 21 02 DC */ lfs f1, 0x2dc(r1) -/* 800F49B8 000F1918 C0 01 01 20 */ lfs f0, 0x120(r1) -/* 800F49BC 000F191C EC 43 10 2A */ fadds f2, f3, f2 -/* 800F49C0 000F1920 D0 81 01 0C */ stfs f4, 0x10c(r1) -/* 800F49C4 000F1924 EC 01 00 2A */ fadds f0, f1, f0 -/* 800F49C8 000F1928 D0 41 01 10 */ stfs f2, 0x110(r1) -/* 800F49CC 000F192C D0 01 01 08 */ stfs f0, 0x108(r1) -/* 800F49D0 000F1930 80 7D 19 BC */ lwz r3, 0x19bc(r29) -/* 800F49D4 000F1934 81 83 00 00 */ lwz r12, 0(r3) -/* 800F49D8 000F1938 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800F49DC 000F193C 7D 89 03 A6 */ mtctr r12 -/* 800F49E0 000F1940 4E 80 04 21 */ bctrl -/* 800F49E4 000F1944 83 FD 19 BC */ lwz r31, 0x19bc(r29) -/* 800F49E8 000F1948 38 61 02 10 */ addi r3, r1, 0x210 -/* 800F49EC 000F194C 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800F49F0 000F1950 48 21 E2 51 */ bl GetRotation__12CTransform4fCFv -/* 800F49F4 000F1954 7F E3 FB 78 */ mr r3, r31 -/* 800F49F8 000F1958 38 81 02 10 */ addi r4, r1, 0x210 -/* 800F49FC 000F195C 81 9F 00 00 */ lwz r12, 0(r31) -/* 800F4A00 000F1960 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800F4A04 000F1964 7D 89 03 A6 */ mtctr r12 -/* 800F4A08 000F1968 4E 80 04 21 */ bctrl -/* 800F4A0C 000F196C 80 7D 19 BC */ lwz r3, 0x19bc(r29) -/* 800F4A10 000F1970 38 80 00 01 */ li r4, 1 -/* 800F4A14 000F1974 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) -/* 800F4A18 000F1978 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 800F4A1C 000F197C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800F4A20 000F1980 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 800F4A24 000F1984 80 7D 19 BC */ lwz r3, 0x19bc(r29) -/* 800F4A28 000F1988 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4A2C 000F198C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4A30 000F1990 7D 89 03 A6 */ mtctr r12 -/* 800F4A34 000F1994 4E 80 04 21 */ bctrl -/* 800F4A38 000F1998 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F4A3C 000F199C 38 61 00 FC */ addi r3, r1, 0xfc -/* 800F4A40 000F19A0 C0 02 91 F4 */ lfs f0, lbl_805AAF14@sda21(r2) -/* 800F4A44 000F19A4 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800F4A48 000F19A8 D0 21 00 F0 */ stfs f1, 0xf0(r1) -/* 800F4A4C 000F19AC 38 A1 00 F0 */ addi r5, r1, 0xf0 -/* 800F4A50 000F19B0 D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 800F4A54 000F19B4 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 800F4A58 000F19B8 48 21 E0 29 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800F4A5C 000F19BC C0 21 02 EC */ lfs f1, 0x2ec(r1) -/* 800F4A60 000F19C0 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 800F4A64 000F19C4 C0 01 01 00 */ lfs f0, 0x100(r1) -/* 800F4A68 000F19C8 C0 61 02 FC */ lfs f3, 0x2fc(r1) -/* 800F4A6C 000F19CC C0 41 01 04 */ lfs f2, 0x104(r1) -/* 800F4A70 000F19D0 EC 81 00 2A */ fadds f4, f1, f0 -/* 800F4A74 000F19D4 C0 21 02 DC */ lfs f1, 0x2dc(r1) -/* 800F4A78 000F19D8 C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 800F4A7C 000F19DC EC 43 10 2A */ fadds f2, f3, f2 -/* 800F4A80 000F19E0 D0 81 00 E8 */ stfs f4, 0xe8(r1) -/* 800F4A84 000F19E4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800F4A88 000F19E8 D0 41 00 EC */ stfs f2, 0xec(r1) -/* 800F4A8C 000F19EC D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 800F4A90 000F19F0 80 7D 19 C0 */ lwz r3, 0x19c0(r29) -/* 800F4A94 000F19F4 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4A98 000F19F8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800F4A9C 000F19FC 7D 89 03 A6 */ mtctr r12 -/* 800F4AA0 000F1A00 4E 80 04 21 */ bctrl -/* 800F4AA4 000F1A04 83 FD 19 C0 */ lwz r31, 0x19c0(r29) -/* 800F4AA8 000F1A08 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 800F4AAC 000F1A0C 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800F4AB0 000F1A10 48 21 E1 91 */ bl GetRotation__12CTransform4fCFv -/* 800F4AB4 000F1A14 7F E3 FB 78 */ mr r3, r31 -/* 800F4AB8 000F1A18 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 800F4ABC 000F1A1C 81 9F 00 00 */ lwz r12, 0(r31) -/* 800F4AC0 000F1A20 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800F4AC4 000F1A24 7D 89 03 A6 */ mtctr r12 -/* 800F4AC8 000F1A28 4E 80 04 21 */ bctrl -/* 800F4ACC 000F1A2C 80 7D 19 C0 */ lwz r3, 0x19c0(r29) -/* 800F4AD0 000F1A30 38 80 00 01 */ li r4, 1 -/* 800F4AD4 000F1A34 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) -/* 800F4AD8 000F1A38 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 800F4ADC 000F1A3C 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800F4AE0 000F1A40 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 800F4AE4 000F1A44 80 7D 19 C0 */ lwz r3, 0x19c0(r29) -/* 800F4AE8 000F1A48 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4AEC 000F1A4C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4AF0 000F1A50 7D 89 03 A6 */ mtctr r12 -/* 800F4AF4 000F1A54 4E 80 04 21 */ bctrl -/* 800F4AF8 000F1A58 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F4AFC 000F1A5C 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 800F4B00 000F1A60 C0 02 92 C8 */ lfs f0, lbl_805AAFE8@sda21(r2) -/* 800F4B04 000F1A64 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800F4B08 000F1A68 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 800F4B0C 000F1A6C 38 A1 00 CC */ addi r5, r1, 0xcc -/* 800F4B10 000F1A70 D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 800F4B14 000F1A74 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 800F4B18 000F1A78 48 21 DF 69 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800F4B1C 000F1A7C C0 21 02 EC */ lfs f1, 0x2ec(r1) -/* 800F4B20 000F1A80 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 800F4B24 000F1A84 C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 800F4B28 000F1A88 C0 61 02 FC */ lfs f3, 0x2fc(r1) -/* 800F4B2C 000F1A8C C0 41 00 E0 */ lfs f2, 0xe0(r1) -/* 800F4B30 000F1A90 EC 81 00 2A */ fadds f4, f1, f0 -/* 800F4B34 000F1A94 C0 21 02 DC */ lfs f1, 0x2dc(r1) -/* 800F4B38 000F1A98 C0 01 00 D8 */ lfs f0, 0xd8(r1) -/* 800F4B3C 000F1A9C EC 43 10 2A */ fadds f2, f3, f2 -/* 800F4B40 000F1AA0 D0 81 00 C4 */ stfs f4, 0xc4(r1) -/* 800F4B44 000F1AA4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800F4B48 000F1AA8 D0 41 00 C8 */ stfs f2, 0xc8(r1) -/* 800F4B4C 000F1AAC D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 800F4B50 000F1AB0 80 7D 19 C4 */ lwz r3, 0x19c4(r29) -/* 800F4B54 000F1AB4 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4B58 000F1AB8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800F4B5C 000F1ABC 7D 89 03 A6 */ mtctr r12 -/* 800F4B60 000F1AC0 4E 80 04 21 */ bctrl -/* 800F4B64 000F1AC4 83 FD 19 C4 */ lwz r31, 0x19c4(r29) -/* 800F4B68 000F1AC8 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 800F4B6C 000F1ACC 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800F4B70 000F1AD0 48 21 E0 D1 */ bl GetRotation__12CTransform4fCFv -/* 800F4B74 000F1AD4 7F E3 FB 78 */ mr r3, r31 -/* 800F4B78 000F1AD8 38 81 01 B0 */ addi r4, r1, 0x1b0 -/* 800F4B7C 000F1ADC 81 9F 00 00 */ lwz r12, 0(r31) -/* 800F4B80 000F1AE0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800F4B84 000F1AE4 7D 89 03 A6 */ mtctr r12 -/* 800F4B88 000F1AE8 4E 80 04 21 */ bctrl -/* 800F4B8C 000F1AEC 80 7D 19 C4 */ lwz r3, 0x19c4(r29) -/* 800F4B90 000F1AF0 38 80 00 01 */ li r4, 1 -/* 800F4B94 000F1AF4 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) -/* 800F4B98 000F1AF8 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 800F4B9C 000F1AFC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800F4BA0 000F1B00 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 800F4BA4 000F1B04 80 7D 19 C4 */ lwz r3, 0x19c4(r29) -/* 800F4BA8 000F1B08 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4BAC 000F1B0C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4BB0 000F1B10 7D 89 03 A6 */ mtctr r12 -/* 800F4BB4 000F1B14 4E 80 04 21 */ bctrl -/* 800F4BB8 000F1B18 C0 41 02 DC */ lfs f2, 0x2dc(r1) -/* 800F4BBC 000F1B1C 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 800F4BC0 000F1B20 C0 21 02 EC */ lfs f1, 0x2ec(r1) -/* 800F4BC4 000F1B24 C0 01 02 FC */ lfs f0, 0x2fc(r1) -/* 800F4BC8 000F1B28 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 800F4BCC 000F1B2C D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 800F4BD0 000F1B30 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 800F4BD4 000F1B34 80 7D 19 C8 */ lwz r3, 0x19c8(r29) -/* 800F4BD8 000F1B38 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4BDC 000F1B3C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800F4BE0 000F1B40 7D 89 03 A6 */ mtctr r12 -/* 800F4BE4 000F1B44 4E 80 04 21 */ bctrl -/* 800F4BE8 000F1B48 83 FD 19 C8 */ lwz r31, 0x19c8(r29) -/* 800F4BEC 000F1B4C 38 61 01 80 */ addi r3, r1, 0x180 -/* 800F4BF0 000F1B50 38 81 02 D0 */ addi r4, r1, 0x2d0 -/* 800F4BF4 000F1B54 48 21 E0 4D */ bl GetRotation__12CTransform4fCFv -/* 800F4BF8 000F1B58 7F E3 FB 78 */ mr r3, r31 -/* 800F4BFC 000F1B5C 38 81 01 80 */ addi r4, r1, 0x180 -/* 800F4C00 000F1B60 81 9F 00 00 */ lwz r12, 0(r31) -/* 800F4C04 000F1B64 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800F4C08 000F1B68 7D 89 03 A6 */ mtctr r12 -/* 800F4C0C 000F1B6C 4E 80 04 21 */ bctrl -/* 800F4C10 000F1B70 80 7D 19 C8 */ lwz r3, 0x19c8(r29) -/* 800F4C14 000F1B74 38 80 00 01 */ li r4, 1 -/* 800F4C18 000F1B78 C8 22 91 D0 */ lfd f1, lbl_805AAEF0@sda21(r2) -/* 800F4C1C 000F1B7C 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 800F4C20 000F1B80 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800F4C24 000F1B84 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 800F4C28 000F1B88 80 7D 19 C8 */ lwz r3, 0x19c8(r29) -/* 800F4C2C 000F1B8C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4C30 000F1B90 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4C34 000F1B94 7D 89 03 A6 */ mtctr r12 -/* 800F4C38 000F1B98 4E 80 04 21 */ bctrl -/* 800F4C3C 000F1B9C 80 7D 19 CC */ lwz r3, 0x19cc(r29) -/* 800F4C40 000F1BA0 FC 20 F8 90 */ fmr f1, f31 -/* 800F4C44 000F1BA4 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4C48 000F1BA8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4C4C 000F1BAC 7D 89 03 A6 */ mtctr r12 -/* 800F4C50 000F1BB0 4E 80 04 21 */ bctrl -/* 800F4C54 000F1BB4 3B FD 1B CC */ addi r31, r29, 0x1bcc -/* 800F4C58 000F1BB8 FC 20 F8 90 */ fmr f1, f31 -/* 800F4C5C 000F1BBC 80 7D 1C 08 */ lwz r3, 0x1c08(r29) -/* 800F4C60 000F1BC0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4C64 000F1BC4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4C68 000F1BC8 7D 89 03 A6 */ mtctr r12 -/* 800F4C6C 000F1BCC 4E 80 04 21 */ bctrl -/* 800F4C70 000F1BD0 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F4C74 000F1BD4 3B 80 00 00 */ li r28, 0 -/* 800F4C78 000F1BD8 7F 84 E3 78 */ mr r4, r28 -/* 800F4C7C 000F1BDC 80 63 02 58 */ lwz r3, 0x258(r3) -/* 800F4C80 000F1BE0 7F 80 E3 78 */ mr r0, r28 -/* 800F4C84 000F1BE4 2C 03 00 00 */ cmpwi r3, 0 -/* 800F4C88 000F1BE8 40 82 00 18 */ bne lbl_800F4CA0 -/* 800F4C8C 000F1BEC 80 7E 08 50 */ lwz r3, 0x850(r30) -/* 800F4C90 000F1BF0 80 63 00 C4 */ lwz r3, 0xc4(r3) -/* 800F4C94 000F1BF4 2C 03 00 02 */ cmpwi r3, 2 -/* 800F4C98 000F1BF8 40 82 00 08 */ bne lbl_800F4CA0 -/* 800F4C9C 000F1BFC 38 00 00 01 */ li r0, 1 -lbl_800F4CA0: -/* 800F4CA0 000F1C00 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800F4CA4 000F1C04 41 82 00 1C */ beq lbl_800F4CC0 -/* 800F4CA8 000F1C08 80 7E 08 80 */ lwz r3, 0x880(r30) -/* 800F4CAC 000F1C0C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F4CB0 000F1C10 C0 23 00 30 */ lfs f1, 0x30(r3) -/* 800F4CB4 000F1C14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F4CB8 000F1C18 40 81 00 08 */ ble lbl_800F4CC0 -/* 800F4CBC 000F1C1C 38 80 00 01 */ li r4, 1 -lbl_800F4CC0: -/* 800F4CC0 000F1C20 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800F4CC4 000F1C24 41 82 00 18 */ beq lbl_800F4CDC -/* 800F4CC8 000F1C28 80 7E 08 80 */ lwz r3, 0x880(r30) -/* 800F4CCC 000F1C2C 88 03 00 24 */ lbz r0, 0x24(r3) -/* 800F4CD0 000F1C30 28 00 00 00 */ cmplwi r0, 0 -/* 800F4CD4 000F1C34 41 82 00 08 */ beq lbl_800F4CDC -/* 800F4CD8 000F1C38 3B 80 00 01 */ li r28, 1 -lbl_800F4CDC: -/* 800F4CDC 000F1C3C 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 800F4CE0 000F1C40 7F 84 E3 78 */ mr r4, r28 -/* 800F4CE4 000F1C44 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4CE8 000F1C48 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F4CEC 000F1C4C 7D 89 03 A6 */ mtctr r12 -/* 800F4CF0 000F1C50 4E 80 04 21 */ bctrl -/* 800F4CF4 000F1C54 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F4CF8 000F1C58 C3 C3 04 FC */ lfs f30, 0x4fc(r3) -/* 800F4CFC 000F1C5C 48 19 0C D5 */ bl GetBallMaxVelocity__7CPlayerCFv -/* 800F4D00 000F1C60 80 7E 08 80 */ lwz r3, 0x880(r30) -/* 800F4D04 000F1C64 C0 62 91 D8 */ lfs f3, lbl_805AAEF8@sda21(r2) -/* 800F4D08 000F1C68 C0 43 00 30 */ lfs f2, 0x30(r3) -/* 800F4D0C 000F1C6C C0 0D 88 8C */ lfs f0, lbl_805A744C@sda21(r13) -/* 800F4D10 000F1C70 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F4D14 000F1C74 EC 42 07 B2 */ fmuls f2, f2, f30 -/* 800F4D18 000F1C78 EC 22 08 24 */ fdivs f1, f2, f1 -/* 800F4D1C 000F1C7C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F4D20 000F1C80 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800F4D24 000F1C84 40 80 00 0C */ bge lbl_800F4D30 -/* 800F4D28 000F1C88 38 8D 88 8C */ addi r4, r13, lbl_805A744C@sda21 -/* 800F4D2C 000F1C8C 48 00 00 08 */ b lbl_800F4D34 -lbl_800F4D30: -/* 800F4D30 000F1C90 38 81 00 48 */ addi r4, r1, 0x48 -lbl_800F4D34: -/* 800F4D34 000F1C94 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 800F4D38 000F1C98 C0 24 00 00 */ lfs f1, 0(r4) -/* 800F4D3C 000F1C9C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4D40 000F1CA0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800F4D44 000F1CA4 7D 89 03 A6 */ mtctr r12 -/* 800F4D48 000F1CA8 4E 80 04 21 */ bctrl -/* 800F4D4C 000F1CAC 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F4D50 000F1CB0 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 800F4D54 000F1CB4 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 800F4D58 000F1CB8 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 800F4D5C 000F1CBC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 800F4D60 000F1CC0 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 800F4D64 000F1CC4 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 800F4D68 000F1CC8 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 800F4D6C 000F1CCC 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 800F4D70 000F1CD0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4D74 000F1CD4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800F4D78 000F1CD8 7D 89 03 A6 */ mtctr r12 -/* 800F4D7C 000F1CDC 4E 80 04 21 */ bctrl -/* 800F4D80 000F1CE0 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 800F4D84 000F1CE4 41 82 00 8C */ beq lbl_800F4E10 -/* 800F4D88 000F1CE8 80 FD 00 00 */ lwz r7, 0(r29) -/* 800F4D8C 000F1CEC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 800F4D90 000F1CF0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 800F4D94 000F1CF4 38 81 00 9C */ addi r4, r1, 0x9c -/* 800F4D98 000F1CF8 C0 A7 00 60 */ lfs f5, 0x60(r7) -/* 800F4D9C 000F1CFC 38 61 01 50 */ addi r3, r1, 0x150 -/* 800F4DA0 000F1D00 C0 87 00 50 */ lfs f4, 0x50(r7) -/* 800F4DA4 000F1D04 38 A1 00 84 */ addi r5, r1, 0x84 -/* 800F4DA8 000F1D08 C0 67 00 40 */ lfs f3, 0x40(r7) -/* 800F4DAC 000F1D0C D0 81 00 94 */ stfs f4, 0x94(r1) -/* 800F4DB0 000F1D10 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 800F4DB4 000F1D14 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 800F4DB8 000F1D18 D0 A1 00 8C */ stfs f5, 0x8c(r1) -/* 800F4DBC 000F1D1C C0 47 05 10 */ lfs f2, 0x510(r7) -/* 800F4DC0 000F1D20 C0 27 05 14 */ lfs f1, 0x514(r7) -/* 800F4DC4 000F1D24 C0 07 05 0C */ lfs f0, 0x50c(r7) -/* 800F4DC8 000F1D28 EC 44 10 2A */ fadds f2, f4, f2 -/* 800F4DCC 000F1D2C EC 25 08 2A */ fadds f1, f5, f1 -/* 800F4DD0 000F1D30 D0 61 00 90 */ stfs f3, 0x90(r1) -/* 800F4DD4 000F1D34 EC 03 00 2A */ fadds f0, f3, f0 -/* 800F4DD8 000F1D38 D0 A1 00 98 */ stfs f5, 0x98(r1) -/* 800F4DDC 000F1D3C D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 800F4DE0 000F1D40 D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 800F4DE4 000F1D44 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 800F4DE8 000F1D48 48 21 ED 29 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800F4DEC 000F1D4C 38 61 02 A0 */ addi r3, r1, 0x2a0 -/* 800F4DF0 000F1D50 38 81 01 50 */ addi r4, r1, 0x150 -/* 800F4DF4 000F1D54 48 21 DD 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F4DF8 000F1D58 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 800F4DFC 000F1D5C 38 81 02 A0 */ addi r4, r1, 0x2a0 -/* 800F4E00 000F1D60 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4E04 000F1D64 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800F4E08 000F1D68 7D 89 03 A6 */ mtctr r12 -/* 800F4E0C 000F1D6C 4E 80 04 21 */ bctrl -lbl_800F4E10: -/* 800F4E10 000F1D70 80 1D 1C 0C */ lwz r0, 0x1c0c(r29) -/* 800F4E14 000F1D74 2C 00 FF FF */ cmpwi r0, -1 -/* 800F4E18 000F1D78 41 82 00 24 */ beq lbl_800F4E3C -/* 800F4E1C 000F1D7C 54 03 18 38 */ slwi r3, r0, 3 -/* 800F4E20 000F1D80 FC 20 F8 90 */ fmr f1, f31 -/* 800F4E24 000F1D84 38 03 00 04 */ addi r0, r3, 4 -/* 800F4E28 000F1D88 7C 7F 00 2E */ lwzx r3, r31, r0 -/* 800F4E2C 000F1D8C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4E30 000F1D90 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4E34 000F1D94 7D 89 03 A6 */ mtctr r12 -/* 800F4E38 000F1D98 4E 80 04 21 */ bctrl -lbl_800F4E3C: -/* 800F4E3C 000F1D9C 80 7D 1E 38 */ lwz r3, 0x1e38(r29) -/* 800F4E40 000F1DA0 2C 03 00 00 */ cmpwi r3, 0 -/* 800F4E44 000F1DA4 40 81 00 30 */ ble lbl_800F4E74 -/* 800F4E48 000F1DA8 38 03 FF FF */ addi r0, r3, -1 -/* 800F4E4C 000F1DAC 90 1D 1E 38 */ stw r0, 0x1e38(r29) -/* 800F4E50 000F1DB0 80 1D 1E 38 */ lwz r0, 0x1e38(r29) -/* 800F4E54 000F1DB4 2C 00 00 00 */ cmpwi r0, 0 -/* 800F4E58 000F1DB8 41 81 00 1C */ bgt lbl_800F4E74 -/* 800F4E5C 000F1DBC 80 7D 19 CC */ lwz r3, 0x19cc(r29) -/* 800F4E60 000F1DC0 38 80 00 00 */ li r4, 0 -/* 800F4E64 000F1DC4 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4E68 000F1DC8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F4E6C 000F1DCC 7D 89 03 A6 */ mtctr r12 -/* 800F4E70 000F1DD0 4E 80 04 21 */ bctrl -lbl_800F4E74: -/* 800F4E74 000F1DD4 C0 41 02 DC */ lfs f2, 0x2dc(r1) -/* 800F4E78 000F1DD8 38 81 00 78 */ addi r4, r1, 0x78 -/* 800F4E7C 000F1DDC C0 21 02 EC */ lfs f1, 0x2ec(r1) -/* 800F4E80 000F1DE0 C0 01 02 FC */ lfs f0, 0x2fc(r1) -/* 800F4E84 000F1DE4 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 800F4E88 000F1DE8 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 800F4E8C 000F1DEC D0 01 00 80 */ stfs f0, 0x80(r1) -/* 800F4E90 000F1DF0 80 7D 19 D0 */ lwz r3, 0x19d0(r29) -/* 800F4E94 000F1DF4 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4E98 000F1DF8 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800F4E9C 000F1DFC 7D 89 03 A6 */ mtctr r12 -/* 800F4EA0 000F1E00 4E 80 04 21 */ bctrl -/* 800F4EA4 000F1E04 80 7D 19 D0 */ lwz r3, 0x19d0(r29) -/* 800F4EA8 000F1E08 FC 20 F8 90 */ fmr f1, f31 -/* 800F4EAC 000F1E0C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4EB0 000F1E10 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4EB4 000F1E14 7D 89 03 A6 */ mtctr r12 -/* 800F4EB8 000F1E18 4E 80 04 21 */ bctrl -/* 800F4EBC 000F1E1C C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F4EC0 000F1E20 C0 1D 1D E8 */ lfs f0, 0x1de8(r29) -/* 800F4EC4 000F1E24 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F4EC8 000F1E28 40 82 00 34 */ bne lbl_800F4EFC -/* 800F4ECC 000F1E2C C0 1D 1D F4 */ lfs f0, 0x1df4(r29) -/* 800F4ED0 000F1E30 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F4ED4 000F1E34 40 82 00 28 */ bne lbl_800F4EFC -/* 800F4ED8 000F1E38 38 00 00 00 */ li r0, 0 -/* 800F4EDC 000F1E3C 38 81 00 44 */ addi r4, r1, 0x44 -/* 800F4EE0 000F1E40 90 01 00 44 */ stw r0, 0x44(r1) -/* 800F4EE4 000F1E44 80 7D 19 D8 */ lwz r3, 0x19d8(r29) -/* 800F4EE8 000F1E48 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4EEC 000F1E4C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F4EF0 000F1E50 7D 89 03 A6 */ mtctr r12 -/* 800F4EF4 000F1E54 4E 80 04 21 */ bctrl -/* 800F4EF8 000F1E58 48 00 00 E8 */ b lbl_800F4FE0 -lbl_800F4EFC: -/* 800F4EFC 000F1E5C C0 41 02 DC */ lfs f2, 0x2dc(r1) -/* 800F4F00 000F1E60 38 81 00 6C */ addi r4, r1, 0x6c -/* 800F4F04 000F1E64 C0 21 02 EC */ lfs f1, 0x2ec(r1) -/* 800F4F08 000F1E68 C0 01 02 FC */ lfs f0, 0x2fc(r1) -/* 800F4F0C 000F1E6C D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 800F4F10 000F1E70 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 800F4F14 000F1E74 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800F4F18 000F1E78 80 7D 19 D8 */ lwz r3, 0x19d8(r29) -/* 800F4F1C 000F1E7C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4F20 000F1E80 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800F4F24 000F1E84 7D 89 03 A6 */ mtctr r12 -/* 800F4F28 000F1E88 4E 80 04 21 */ bctrl -/* 800F4F2C 000F1E8C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F4F30 000F1E90 C0 5D 1D F4 */ lfs f2, 0x1df4(r29) -/* 800F4F34 000F1E94 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 800F4F38 000F1E98 40 82 00 18 */ bne lbl_800F4F50 -/* 800F4F3C 000F1E9C 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F4F40 000F1EA0 C0 3D 1D E8 */ lfs f1, 0x1de8(r29) -/* 800F4F44 000F1EA4 C0 03 02 10 */ lfs f0, 0x210(r3) -/* 800F4F48 000F1EA8 EF C1 00 24 */ fdivs f30, f1, f0 -/* 800F4F4C 000F1EAC 48 00 00 18 */ b lbl_800F4F64 -lbl_800F4F50: -/* 800F4F50 000F1EB0 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F4F54 000F1EB4 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F4F58 000F1EB8 C0 03 02 0C */ lfs f0, 0x20c(r3) -/* 800F4F5C 000F1EBC EC 02 00 24 */ fdivs f0, f2, f0 -/* 800F4F60 000F1EC0 EF C1 00 28 */ fsubs f30, f1, f0 -lbl_800F4F64: -/* 800F4F64 000F1EC4 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F4F68 000F1EC8 38 61 00 38 */ addi r3, r1, 0x38 -/* 800F4F6C 000F1ECC 83 9D 19 D8 */ lwz r28, 0x19d8(r29) -/* 800F4F70 000F1ED0 FC 40 08 90 */ fmr f2, f1 -/* 800F4F74 000F1ED4 C0 62 92 48 */ lfs f3, lbl_805AAF68@sda21(r2) -/* 800F4F78 000F1ED8 FC 80 08 90 */ fmr f4, f1 -/* 800F4F7C 000F1EDC 48 26 E4 71 */ bl __ct__6CColorFffff -/* 800F4F80 000F1EE0 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F4F84 000F1EE4 7C 7F 1B 78 */ mr r31, r3 -/* 800F4F88 000F1EE8 C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) -/* 800F4F8C 000F1EEC 38 61 00 3C */ addi r3, r1, 0x3c -/* 800F4F90 000F1EF0 FC 40 08 90 */ fmr f2, f1 -/* 800F4F94 000F1EF4 FC 60 08 90 */ fmr f3, f1 -/* 800F4F98 000F1EF8 48 26 E4 55 */ bl __ct__6CColorFffff -/* 800F4F9C 000F1EFC FC 20 F0 90 */ fmr f1, f30 -/* 800F4FA0 000F1F00 7C 64 1B 78 */ mr r4, r3 -/* 800F4FA4 000F1F04 7F E5 FB 78 */ mr r5, r31 -/* 800F4FA8 000F1F08 38 61 00 40 */ addi r3, r1, 0x40 -/* 800F4FAC 000F1F0C 48 26 E3 01 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800F4FB0 000F1F10 7F 83 E3 78 */ mr r3, r28 -/* 800F4FB4 000F1F14 38 81 00 40 */ addi r4, r1, 0x40 -/* 800F4FB8 000F1F18 81 9C 00 00 */ lwz r12, 0(r28) -/* 800F4FBC 000F1F1C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800F4FC0 000F1F20 7D 89 03 A6 */ mtctr r12 -/* 800F4FC4 000F1F24 4E 80 04 21 */ bctrl -/* 800F4FC8 000F1F28 80 7D 19 D8 */ lwz r3, 0x19d8(r29) -/* 800F4FCC 000F1F2C FC 20 F8 90 */ fmr f1, f31 -/* 800F4FD0 000F1F30 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4FD4 000F1F34 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4FD8 000F1F38 7D 89 03 A6 */ mtctr r12 -/* 800F4FDC 000F1F3C 4E 80 04 21 */ bctrl -lbl_800F4FE0: -/* 800F4FE0 000F1F40 80 7D 19 D4 */ lwz r3, 0x19d4(r29) -/* 800F4FE4 000F1F44 FC 20 F8 90 */ fmr f1, f31 -/* 800F4FE8 000F1F48 81 83 00 00 */ lwz r12, 0(r3) -/* 800F4FEC 000F1F4C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800F4FF0 000F1F50 7D 89 03 A6 */ mtctr r12 -/* 800F4FF4 000F1F54 4E 80 04 21 */ bctrl -/* 800F4FF8 000F1F58 C0 3D 1C 30 */ lfs f1, 0x1c30(r29) -/* 800F4FFC 000F1F5C C0 02 92 CC */ lfs f0, lbl_805AAFEC@sda21(r2) -/* 800F5000 000F1F60 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F5004 000F1F64 D0 1D 1C 30 */ stfs f0, 0x1c30(r29) -/* 800F5008 000F1F68 C0 2D 88 90 */ lfs f1, lbl_805A7450@sda21(r13) -/* 800F500C 000F1F6C C0 1D 1C 30 */ lfs f0, 0x1c30(r29) -/* 800F5010 000F1F70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F5014 000F1F74 40 80 00 0C */ bge lbl_800F5020 -/* 800F5018 000F1F78 38 7D 1C 30 */ addi r3, r29, 0x1c30 -/* 800F501C 000F1F7C 48 00 00 08 */ b lbl_800F5024 -lbl_800F5020: -/* 800F5020 000F1F80 38 6D 88 90 */ addi r3, r13, lbl_805A7450@sda21 -lbl_800F5024: -/* 800F5024 000F1F84 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F5028 000F1F88 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F502C 000F1F8C D0 1D 1C 30 */ stfs f0, 0x1c30(r29) -/* 800F5030 000F1F90 C0 1D 1C 30 */ lfs f0, 0x1c30(r29) -/* 800F5034 000F1F94 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F5038 000F1F98 40 82 00 38 */ bne lbl_800F5070 -/* 800F503C 000F1F9C C0 3D 1C 34 */ lfs f1, 0x1c34(r29) -/* 800F5040 000F1FA0 C0 02 92 D0 */ lfs f0, lbl_805AAFF0@sda21(r2) -/* 800F5044 000F1FA4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F5048 000F1FA8 D0 1D 1C 34 */ stfs f0, 0x1c34(r29) -/* 800F504C 000F1FAC C0 2D 88 94 */ lfs f1, lbl_805A7454@sda21(r13) -/* 800F5050 000F1FB0 C0 1D 1C 34 */ lfs f0, 0x1c34(r29) -/* 800F5054 000F1FB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F5058 000F1FB8 40 80 00 0C */ bge lbl_800F5064 -/* 800F505C 000F1FBC 38 7D 1C 34 */ addi r3, r29, 0x1c34 -/* 800F5060 000F1FC0 48 00 00 08 */ b lbl_800F5068 -lbl_800F5064: -/* 800F5064 000F1FC4 38 6D 88 94 */ addi r3, r13, lbl_805A7454@sda21 -lbl_800F5068: -/* 800F5068 000F1FC8 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F506C 000F1FCC D0 1D 1C 34 */ stfs f0, 0x1c34(r29) -lbl_800F5070: -/* 800F5070 000F1FD0 88 1D 1D E4 */ lbz r0, 0x1de4(r29) -/* 800F5074 000F1FD4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800F5078 000F1FD8 41 82 00 14 */ beq lbl_800F508C -/* 800F507C 000F1FDC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F5080 000F1FE0 D0 1D 1C 30 */ stfs f0, 0x1c30(r29) -/* 800F5084 000F1FE4 D0 1D 1C 34 */ stfs f0, 0x1c34(r29) -/* 800F5088 000F1FE8 48 00 00 5C */ b lbl_800F50E4 -lbl_800F508C: -/* 800F508C 000F1FEC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F5090 000F1FF0 C0 3D 1D E8 */ lfs f1, 0x1de8(r29) -/* 800F5094 000F1FF4 C0 03 02 10 */ lfs f0, 0x210(r3) -/* 800F5098 000F1FF8 EC 21 00 24 */ fdivs f1, f1, f0 -/* 800F509C 000F1FFC D0 21 00 34 */ stfs f1, 0x34(r1) -/* 800F50A0 000F2000 C0 1D 1C 34 */ lfs f0, 0x1c34(r29) -/* 800F50A4 000F2004 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F50A8 000F2008 40 80 00 0C */ bge lbl_800F50B4 -/* 800F50AC 000F200C 38 61 00 34 */ addi r3, r1, 0x34 -/* 800F50B0 000F2010 48 00 00 08 */ b lbl_800F50B8 -lbl_800F50B4: -/* 800F50B4 000F2014 38 7D 1C 34 */ addi r3, r29, 0x1c34 -lbl_800F50B8: -/* 800F50B8 000F2018 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F50BC 000F201C D0 1D 1C 34 */ stfs f0, 0x1c34(r29) -/* 800F50C0 000F2020 C0 3D 1C 34 */ lfs f1, 0x1c34(r29) -/* 800F50C4 000F2024 C0 0D 88 98 */ lfs f0, lbl_805A7458@sda21(r13) -/* 800F50C8 000F2028 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F50CC 000F202C 40 80 00 0C */ bge lbl_800F50D8 -/* 800F50D0 000F2030 38 7D 1C 34 */ addi r3, r29, 0x1c34 -/* 800F50D4 000F2034 48 00 00 08 */ b lbl_800F50DC -lbl_800F50D8: -/* 800F50D8 000F2038 38 6D 88 98 */ addi r3, r13, lbl_805A7458@sda21 -lbl_800F50DC: -/* 800F50DC 000F203C C0 03 00 00 */ lfs f0, 0(r3) -/* 800F50E0 000F2040 D0 1D 1C 34 */ stfs f0, 0x1c34(r29) -lbl_800F50E4: -/* 800F50E4 000F2044 FC 20 F8 90 */ fmr f1, f31 -/* 800F50E8 000F2048 7F A3 EB 78 */ mr r3, r29 -/* 800F50EC 000F204C 4B FF CF 65 */ bl UpdateMorphBallTransitionFlash__10CMorphBallFf -/* 800F50F0 000F2050 FC 20 F8 90 */ fmr f1, f31 -/* 800F50F4 000F2054 7F A3 EB 78 */ mr r3, r29 -/* 800F50F8 000F2058 4B FF CC 8D */ bl UpdateIceBreakEffect__10CMorphBallFf -/* 800F50FC 000F205C A0 7D 1C 10 */ lhz r3, 0x1c10(r29) -/* 800F5100 000F2060 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800F5104 000F2064 7C 03 00 40 */ cmplw r3, r0 -/* 800F5108 000F2068 41 82 02 C0 */ beq lbl_800F53C8 -/* 800F510C 000F206C A0 1D 1C 10 */ lhz r0, 0x1c10(r29) -/* 800F5110 000F2070 7F C3 F3 78 */ mr r3, r30 -/* 800F5114 000F2074 38 81 00 08 */ addi r4, r1, 8 -/* 800F5118 000F2078 B0 01 00 08 */ sth r0, 8(r1) -/* 800F511C 000F207C 4B F5 74 59 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800F5120 000F2080 7C 64 1B 78 */ mr r4, r3 -/* 800F5124 000F2084 38 61 00 4C */ addi r3, r1, 0x4c -/* 800F5128 000F2088 4B FB 89 5D */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 800F512C 000F208C 83 E3 00 04 */ lwz r31, 4(r3) -/* 800F5130 000F2090 28 1F 00 00 */ cmplwi r31, 0 -/* 800F5134 000F2094 41 82 02 94 */ beq lbl_800F53C8 -/* 800F5138 000F2098 7F A3 EB 78 */ mr r3, r29 -/* 800F513C 000F209C 48 00 3C C9 */ bl GetBallRadius__10CMorphBallCFv -/* 800F5140 000F20A0 C0 41 02 FC */ lfs f2, 0x2fc(r1) -/* 800F5144 000F20A4 7F E3 FB 78 */ mr r3, r31 -/* 800F5148 000F20A8 C0 81 02 DC */ lfs f4, 0x2dc(r1) -/* 800F514C 000F20AC 38 81 00 60 */ addi r4, r1, 0x60 -/* 800F5150 000F20B0 C0 61 02 EC */ lfs f3, 0x2ec(r1) -/* 800F5154 000F20B4 EC 22 08 2A */ fadds f1, f2, f1 -/* 800F5158 000F20B8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F515C 000F20BC D0 81 00 54 */ stfs f4, 0x54(r1) -/* 800F5160 000F20C0 EC A3 00 2A */ fadds f5, f3, f0 -/* 800F5164 000F20C4 EC 04 00 2A */ fadds f0, f4, f0 -/* 800F5168 000F20C8 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 800F516C 000F20CC D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 800F5170 000F20D0 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800F5174 000F20D4 D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 800F5178 000F20D8 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 800F517C 000F20DC 4B F5 DD 11 */ bl SetTranslation__6CActorFRC9CVector3f -/* 800F5180 000F20E0 38 00 00 00 */ li r0, 0 -/* 800F5184 000F20E4 7F A3 EB 78 */ mr r3, r29 -/* 800F5188 000F20E8 98 01 04 40 */ stb r0, 0x440(r1) -/* 800F518C 000F20EC 4B FF CE 21 */ bl IsMorphBallTransitionFlashValid__10CMorphBallCFv -/* 800F5190 000F20F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F5194 000F20F4 41 82 00 48 */ beq lbl_800F51DC -/* 800F5198 000F20F8 80 7D 19 DC */ lwz r3, 0x19dc(r29) -/* 800F519C 000F20FC 81 83 00 00 */ lwz r12, 0(r3) -/* 800F51A0 000F2100 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800F51A4 000F2104 7D 89 03 A6 */ mtctr r12 -/* 800F51A8 000F2108 4E 80 04 21 */ bctrl -/* 800F51AC 000F210C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F51B0 000F2110 41 82 00 2C */ beq lbl_800F51DC -/* 800F51B4 000F2114 80 9D 19 DC */ lwz r4, 0x19dc(r29) -/* 800F51B8 000F2118 38 61 03 50 */ addi r3, r1, 0x350 -/* 800F51BC 000F211C 81 84 00 00 */ lwz r12, 0(r4) -/* 800F51C0 000F2120 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800F51C4 000F2124 7D 89 03 A6 */ mtctr r12 -/* 800F51C8 000F2128 4E 80 04 21 */ bctrl -/* 800F51CC 000F212C 38 61 03 F0 */ addi r3, r1, 0x3f0 -/* 800F51D0 000F2130 38 81 03 50 */ addi r4, r1, 0x350 -/* 800F51D4 000F2134 48 00 02 C5 */ bl sub_800f5498 -/* 800F51D8 000F2138 48 00 00 4C */ b lbl_800F5224 -lbl_800F51DC: -/* 800F51DC 000F213C 80 7D 19 D0 */ lwz r3, 0x19d0(r29) -/* 800F51E0 000F2140 28 03 00 00 */ cmplwi r3, 0 -/* 800F51E4 000F2144 41 82 00 40 */ beq lbl_800F5224 -/* 800F51E8 000F2148 81 83 00 00 */ lwz r12, 0(r3) -/* 800F51EC 000F214C 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800F51F0 000F2150 7D 89 03 A6 */ mtctr r12 -/* 800F51F4 000F2154 4E 80 04 21 */ bctrl -/* 800F51F8 000F2158 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F51FC 000F215C 41 82 00 28 */ beq lbl_800F5224 -/* 800F5200 000F2160 80 9D 19 D0 */ lwz r4, 0x19d0(r29) -/* 800F5204 000F2164 38 61 03 00 */ addi r3, r1, 0x300 -/* 800F5208 000F2168 81 84 00 00 */ lwz r12, 0(r4) -/* 800F520C 000F216C 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800F5210 000F2170 7D 89 03 A6 */ mtctr r12 -/* 800F5214 000F2174 4E 80 04 21 */ bctrl -/* 800F5218 000F2178 38 61 03 F0 */ addi r3, r1, 0x3f0 -/* 800F521C 000F217C 38 81 03 00 */ addi r4, r1, 0x300 -/* 800F5220 000F2180 48 00 02 79 */ bl sub_800f5498 -lbl_800F5224: -/* 800F5224 000F2184 88 01 04 40 */ lbz r0, 0x440(r1) -/* 800F5228 000F2188 28 00 00 00 */ cmplwi r0, 0 -/* 800F522C 000F218C 41 82 01 94 */ beq lbl_800F53C0 -/* 800F5230 000F2190 38 61 03 A0 */ addi r3, r1, 0x3a0 -/* 800F5234 000F2194 38 81 03 F0 */ addi r4, r1, 0x3f0 -/* 800F5238 000F2198 4B F4 63 39 */ bl __ct__6CLightFCR6CLight -/* 800F523C 000F219C 80 9D 00 08 */ lwz r4, 8(r29) -/* 800F5240 000F21A0 3C 60 80 3D */ lis r3, lbl_803CEB78@ha -/* 800F5244 000F21A4 38 00 00 FF */ li r0, 0xff -/* 800F5248 000F21A8 3B C1 03 B8 */ addi r30, r1, 0x3b8 -/* 800F524C 000F21AC 1C C4 00 03 */ mulli r6, r4, 3 -/* 800F5250 000F21B0 38 A3 EB 78 */ addi r5, r3, lbl_803CEB78@l -/* 800F5254 000F21B4 98 01 00 2F */ stb r0, 0x2f(r1) -/* 800F5258 000F21B8 7F C4 F3 78 */ mr r4, r30 -/* 800F525C 000F21BC 38 61 00 30 */ addi r3, r1, 0x30 -/* 800F5260 000F21C0 7C C5 32 14 */ add r6, r5, r6 -/* 800F5264 000F21C4 89 06 00 02 */ lbz r8, 2(r6) -/* 800F5268 000F21C8 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800F526C 000F21CC 88 E6 00 01 */ lbz r7, 1(r6) -/* 800F5270 000F21D0 88 06 00 00 */ lbz r0, 0(r6) -/* 800F5274 000F21D4 98 E1 00 2D */ stb r7, 0x2d(r1) -/* 800F5278 000F21D8 98 01 00 2C */ stb r0, 0x2c(r1) -/* 800F527C 000F21DC 99 01 00 2E */ stb r8, 0x2e(r1) -/* 800F5280 000F21E0 48 26 DE F9 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 800F5284 000F21E4 38 61 03 A0 */ addi r3, r1, 0x3a0 -/* 800F5288 000F21E8 38 81 00 30 */ addi r4, r1, 0x30 -/* 800F528C 000F21EC 48 21 10 D1 */ bl SetColor__6CLightFRC6CColor -/* 800F5290 000F21F0 80 7D 00 00 */ lwz r3, 0(r29) -/* 800F5294 000F21F4 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 800F5298 000F21F8 2C 00 00 03 */ cmpwi r0, 3 -/* 800F529C 000F21FC 40 82 00 60 */ bne lbl_800F52FC -/* 800F52A0 000F2200 C3 C2 91 50 */ lfs f30, lbl_805AAE70@sda21(r2) -/* 800F52A4 000F2204 C0 23 05 78 */ lfs f1, 0x578(r3) -/* 800F52A8 000F2208 FC 1E 08 00 */ fcmpu cr0, f30, f1 -/* 800F52AC 000F220C 40 82 00 08 */ bne lbl_800F52B4 -/* 800F52B0 000F2210 48 00 00 24 */ b lbl_800F52D4 -lbl_800F52B4: -/* 800F52B4 000F2214 C0 03 05 74 */ lfs f0, 0x574(r3) -/* 800F52B8 000F2218 38 81 00 10 */ addi r4, r1, 0x10 -/* 800F52BC 000F221C 38 6D 88 28 */ addi r3, r13, lbl_805A73E8@sda21 -/* 800F52C0 000F2220 38 AD 88 2C */ addi r5, r13, lbl_805A73EC@sda21 -/* 800F52C4 000F2224 EC 00 08 24 */ fdivs f0, f0, f1 -/* 800F52C8 000F2228 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800F52CC 000F222C 4B F1 6F E9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F52D0 000F2230 C3 C3 00 00 */ lfs f30, 0(r3) -lbl_800F52D4: -/* 800F52D4 000F2234 48 25 4C E1 */ bl Black__6CColorFv -/* 800F52D8 000F2238 FC 20 F0 90 */ fmr f1, f30 -/* 800F52DC 000F223C 7C 65 1B 78 */ mr r5, r3 -/* 800F52E0 000F2240 7F C4 F3 78 */ mr r4, r30 -/* 800F52E4 000F2244 38 61 00 28 */ addi r3, r1, 0x28 -/* 800F52E8 000F2248 48 26 DF C5 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800F52EC 000F224C 38 61 03 A0 */ addi r3, r1, 0x3a0 -/* 800F52F0 000F2250 38 81 00 28 */ addi r4, r1, 0x28 -/* 800F52F4 000F2254 48 21 10 69 */ bl SetColor__6CLightFRC6CColor -/* 800F52F8 000F2258 48 00 00 BC */ b lbl_800F53B4 -lbl_800F52FC: -/* 800F52FC 000F225C 2C 00 00 02 */ cmpwi r0, 2 -/* 800F5300 000F2260 40 82 00 90 */ bne lbl_800F5390 -/* 800F5304 000F2264 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) -/* 800F5308 000F2268 C0 23 05 78 */ lfs f1, 0x578(r3) -/* 800F530C 000F226C FC 02 08 00 */ fcmpu cr0, f2, f1 -/* 800F5310 000F2270 40 82 00 08 */ bne lbl_800F5318 -/* 800F5314 000F2274 48 00 00 24 */ b lbl_800F5338 -lbl_800F5318: -/* 800F5318 000F2278 C0 03 05 74 */ lfs f0, 0x574(r3) -/* 800F531C 000F227C 38 81 00 0C */ addi r4, r1, 0xc -/* 800F5320 000F2280 38 6D 88 28 */ addi r3, r13, lbl_805A73E8@sda21 -/* 800F5324 000F2284 38 AD 88 2C */ addi r5, r13, lbl_805A73EC@sda21 -/* 800F5328 000F2288 EC 00 08 24 */ fdivs f0, f0, f1 -/* 800F532C 000F228C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800F5330 000F2290 4B F1 6F 85 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F5334 000F2294 C0 43 00 00 */ lfs f2, 0(r3) -lbl_800F5338: -/* 800F5338 000F2298 C0 02 92 58 */ lfs f0, lbl_805AAF78@sda21(r2) -/* 800F533C 000F229C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800F5340 000F22A0 40 80 00 74 */ bge lbl_800F53B4 -/* 800F5344 000F22A4 C0 22 91 D8 */ lfs f1, lbl_805AAEF8@sda21(r2) -/* 800F5348 000F22A8 C0 0D 88 9C */ lfs f0, lbl_805A745C@sda21(r13) -/* 800F534C 000F22AC EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800F5350 000F22B0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F5354 000F22B4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 800F5358 000F22B8 40 80 00 0C */ bge lbl_800F5364 -/* 800F535C 000F22BC 3B 8D 88 9C */ addi r28, r13, lbl_805A745C@sda21 -/* 800F5360 000F22C0 48 00 00 08 */ b lbl_800F5368 -lbl_800F5364: -/* 800F5364 000F22C4 3B 81 00 20 */ addi r28, r1, 0x20 -lbl_800F5368: -/* 800F5368 000F22C8 48 25 4C 4D */ bl Black__6CColorFv -/* 800F536C 000F22CC C0 3C 00 00 */ lfs f1, 0(r28) -/* 800F5370 000F22D0 7C 64 1B 78 */ mr r4, r3 -/* 800F5374 000F22D4 7F C5 F3 78 */ mr r5, r30 -/* 800F5378 000F22D8 38 61 00 24 */ addi r3, r1, 0x24 -/* 800F537C 000F22DC 48 26 DF 31 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800F5380 000F22E0 38 61 03 A0 */ addi r3, r1, 0x3a0 -/* 800F5384 000F22E4 38 81 00 24 */ addi r4, r1, 0x24 -/* 800F5388 000F22E8 48 21 0F D5 */ bl SetColor__6CLightFRC6CColor -/* 800F538C 000F22EC 48 00 00 28 */ b lbl_800F53B4 -lbl_800F5390: -/* 800F5390 000F22F0 48 25 4C 1D */ bl White__6CColorFv -/* 800F5394 000F22F4 C0 3D 1C 34 */ lfs f1, 0x1c34(r29) -/* 800F5398 000F22F8 7C 65 1B 78 */ mr r5, r3 -/* 800F539C 000F22FC 7F C4 F3 78 */ mr r4, r30 -/* 800F53A0 000F2300 38 61 00 1C */ addi r3, r1, 0x1c -/* 800F53A4 000F2304 48 26 DF 09 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800F53A8 000F2308 38 61 03 A0 */ addi r3, r1, 0x3a0 -/* 800F53AC 000F230C 38 81 00 1C */ addi r4, r1, 0x1c -/* 800F53B0 000F2310 48 21 0F AD */ bl SetColor__6CLightFRC6CColor -lbl_800F53B4: -/* 800F53B4 000F2314 7F E3 FB 78 */ mr r3, r31 -/* 800F53B8 000F2318 38 81 03 A0 */ addi r4, r1, 0x3a0 -/* 800F53BC 000F231C 4B FC 03 89 */ bl SetLight__10CGameLightFRC6CLight -lbl_800F53C0: -/* 800F53C0 000F2320 38 00 00 00 */ li r0, 0 -/* 800F53C4 000F2324 98 01 04 40 */ stb r0, 0x440(r1) -lbl_800F53C8: -/* 800F53C8 000F2328 80 1D 18 7C */ lwz r0, 0x187c(r29) -/* 800F53CC 000F232C 2C 00 00 01 */ cmpwi r0, 1 -/* 800F53D0 000F2330 40 82 00 60 */ bne lbl_800F5430 -/* 800F53D4 000F2334 7F A3 EB 78 */ mr r3, r29 -/* 800F53D8 000F2338 4B FF 9F 11 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv -/* 800F53DC 000F233C 7F A3 EB 78 */ mr r3, r29 -/* 800F53E0 000F2340 4B FF 9F 09 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv -/* 800F53E4 000F2344 7F A3 EB 78 */ mr r3, r29 -/* 800F53E8 000F2348 4B FF 9F 01 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv -/* 800F53EC 000F234C 7F A3 EB 78 */ mr r3, r29 -/* 800F53F0 000F2350 4B FF 9E F9 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv -/* 800F53F4 000F2354 7F A3 EB 78 */ mr r3, r29 -/* 800F53F8 000F2358 4B FF 9E F1 */ bl AddSpiderBallElectricalEffect__10CMorphBallFv -/* 800F53FC 000F235C C0 42 91 90 */ lfs f2, lbl_805AAEB0@sda21(r2) -/* 800F5400 000F2360 C0 3D 1C 38 */ lfs f1, 0x1c38(r29) -/* 800F5404 000F2364 C0 0D 88 A0 */ lfs f0, lbl_805A7460@sda21(r13) -/* 800F5408 000F2368 EC 22 08 2A */ fadds f1, f2, f1 -/* 800F540C 000F236C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F5410 000F2370 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800F5414 000F2374 40 80 00 0C */ bge lbl_800F5420 -/* 800F5418 000F2378 38 61 00 18 */ addi r3, r1, 0x18 -/* 800F541C 000F237C 48 00 00 08 */ b lbl_800F5424 -lbl_800F5420: -/* 800F5420 000F2380 38 6D 88 A0 */ addi r3, r13, lbl_805A7460@sda21 -lbl_800F5424: -/* 800F5424 000F2384 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F5428 000F2388 D0 1D 1C 38 */ stfs f0, 0x1c38(r29) -/* 800F542C 000F238C 48 00 00 34 */ b lbl_800F5460 -lbl_800F5430: -/* 800F5430 000F2390 C0 5D 1C 38 */ lfs f2, 0x1c38(r29) -/* 800F5434 000F2394 C0 22 92 54 */ lfs f1, lbl_805AAF74@sda21(r2) -/* 800F5438 000F2398 C0 0D 88 A4 */ lfs f0, lbl_805A7464@sda21(r13) -/* 800F543C 000F239C EC 22 08 28 */ fsubs f1, f2, f1 -/* 800F5440 000F23A0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F5444 000F23A4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800F5448 000F23A8 40 80 00 0C */ bge lbl_800F5454 -/* 800F544C 000F23AC 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F5450 000F23B0 48 00 00 08 */ b lbl_800F5458 -lbl_800F5454: -/* 800F5454 000F23B4 38 6D 88 A4 */ addi r3, r13, lbl_805A7464@sda21 -lbl_800F5458: -/* 800F5458 000F23B8 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F545C 000F23BC D0 1D 1C 38 */ stfs f0, 0x1c38(r29) -lbl_800F5460: -/* 800F5460 000F23C0 7F A3 EB 78 */ mr r3, r29 -/* 800F5464 000F23C4 4B FF 9C E5 */ bl UpdateSpiderBallElectricalEffects__10CMorphBallFv -/* 800F5468 000F23C8 E3 E1 04 78 */ psq_l f31, 1144(r1), 0, qr0 -/* 800F546C 000F23CC CB E1 04 70 */ lfd f31, 0x470(r1) -/* 800F5470 000F23D0 E3 C1 04 68 */ psq_l f30, 1128(r1), 0, qr0 -/* 800F5474 000F23D4 CB C1 04 60 */ lfd f30, 0x460(r1) -/* 800F5478 000F23D8 83 E1 04 5C */ lwz r31, 0x45c(r1) -/* 800F547C 000F23DC 83 C1 04 58 */ lwz r30, 0x458(r1) -/* 800F5480 000F23E0 83 A1 04 54 */ lwz r29, 0x454(r1) -/* 800F5484 000F23E4 80 01 04 84 */ lwz r0, 0x484(r1) -/* 800F5488 000F23E8 83 81 04 50 */ lwz r28, 0x450(r1) -/* 800F548C 000F23EC 7C 08 03 A6 */ mtlr r0 -/* 800F5490 000F23F0 38 21 04 80 */ addi r1, r1, 0x480 -/* 800F5494 000F23F4 4E 80 00 20 */ blr - -.global sub_800f5498 -sub_800f5498: -/* 800F5498 000F23F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F549C 000F23FC 7C 08 02 A6 */ mflr r0 -/* 800F54A0 000F2400 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F54A4 000F2404 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F54A8 000F2408 7C 7F 1B 78 */ mr r31, r3 -/* 800F54AC 000F240C 48 00 00 1D */ bl sub_800f54c8 -/* 800F54B0 000F2410 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F54B4 000F2414 7F E3 FB 78 */ mr r3, r31 -/* 800F54B8 000F2418 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F54BC 000F241C 7C 08 03 A6 */ mtlr r0 -/* 800F54C0 000F2420 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F54C4 000F2424 4E 80 00 20 */ blr - -.global sub_800f54c8 -sub_800f54c8: -/* 800F54C8 000F2428 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F54CC 000F242C 7C 08 02 A6 */ mflr r0 -/* 800F54D0 000F2430 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F54D4 000F2434 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F54D8 000F2438 7C 7F 1B 78 */ mr r31, r3 -/* 800F54DC 000F243C 88 03 00 50 */ lbz r0, 0x50(r3) -/* 800F54E0 000F2440 28 00 00 00 */ cmplwi r0, 0 -/* 800F54E4 000F2444 40 82 00 14 */ bne lbl_800F54F8 -/* 800F54E8 000F2448 4B FF DF 6D */ bl sub_800f3454 -/* 800F54EC 000F244C 38 00 00 01 */ li r0, 1 -/* 800F54F0 000F2450 98 1F 00 50 */ stb r0, 0x50(r31) -/* 800F54F4 000F2454 48 00 00 A4 */ b lbl_800F5598 -lbl_800F54F8: -/* 800F54F8 000F2458 80 64 00 00 */ lwz r3, 0(r4) -/* 800F54FC 000F245C 80 04 00 04 */ lwz r0, 4(r4) -/* 800F5500 000F2460 90 7F 00 00 */ stw r3, 0(r31) -/* 800F5504 000F2464 90 1F 00 04 */ stw r0, 4(r31) -/* 800F5508 000F2468 80 04 00 08 */ lwz r0, 8(r4) -/* 800F550C 000F246C 90 1F 00 08 */ stw r0, 8(r31) -/* 800F5510 000F2470 80 64 00 0C */ lwz r3, 0xc(r4) -/* 800F5514 000F2474 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800F5518 000F2478 90 7F 00 0C */ stw r3, 0xc(r31) -/* 800F551C 000F247C 90 1F 00 10 */ stw r0, 0x10(r31) -/* 800F5520 000F2480 80 04 00 14 */ lwz r0, 0x14(r4) -/* 800F5524 000F2484 90 1F 00 14 */ stw r0, 0x14(r31) -/* 800F5528 000F2488 80 04 00 18 */ lwz r0, 0x18(r4) -/* 800F552C 000F248C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 800F5530 000F2490 80 04 00 1C */ lwz r0, 0x1c(r4) -/* 800F5534 000F2494 90 1F 00 1C */ stw r0, 0x1c(r31) -/* 800F5538 000F2498 C0 04 00 20 */ lfs f0, 0x20(r4) -/* 800F553C 000F249C D0 1F 00 20 */ stfs f0, 0x20(r31) -/* 800F5540 000F24A0 C0 04 00 24 */ lfs f0, 0x24(r4) -/* 800F5544 000F24A4 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 800F5548 000F24A8 C0 04 00 28 */ lfs f0, 0x28(r4) -/* 800F554C 000F24AC D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 800F5550 000F24B0 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 800F5554 000F24B4 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 800F5558 000F24B8 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 800F555C 000F24BC D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 800F5560 000F24C0 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 800F5564 000F24C4 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 800F5568 000F24C8 C0 04 00 38 */ lfs f0, 0x38(r4) -/* 800F556C 000F24CC D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 800F5570 000F24D0 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 800F5574 000F24D4 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 800F5578 000F24D8 80 04 00 40 */ lwz r0, 0x40(r4) -/* 800F557C 000F24DC 90 1F 00 40 */ stw r0, 0x40(r31) -/* 800F5580 000F24E0 C0 04 00 44 */ lfs f0, 0x44(r4) -/* 800F5584 000F24E4 D0 1F 00 44 */ stfs f0, 0x44(r31) -/* 800F5588 000F24E8 C0 04 00 48 */ lfs f0, 0x48(r4) -/* 800F558C 000F24EC D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 800F5590 000F24F0 88 04 00 4C */ lbz r0, 0x4c(r4) -/* 800F5594 000F24F4 98 1F 00 4C */ stb r0, 0x4c(r31) -lbl_800F5598: -/* 800F5598 000F24F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F559C 000F24FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F55A0 000F2500 7C 08 03 A6 */ mtlr r0 -/* 800F55A4 000F2504 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F55A8 000F2508 4E 80 00 20 */ blr - -.global StopEffects__10CMorphBallFv -StopEffects__10CMorphBallFv: -/* 800F55AC 000F250C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F55B0 000F2510 7C 08 02 A6 */ mflr r0 -/* 800F55B4 000F2514 38 80 00 00 */ li r4, 0 -/* 800F55B8 000F2518 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F55BC 000F251C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F55C0 000F2520 93 C1 00 08 */ stw r30, 8(r1) -/* 800F55C4 000F2524 7C 7E 1B 78 */ mr r30, r3 -/* 800F55C8 000F2528 80 63 19 CC */ lwz r3, 0x19cc(r3) -/* 800F55CC 000F252C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F55D0 000F2530 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F55D4 000F2534 7D 89 03 A6 */ mtctr r12 -/* 800F55D8 000F2538 4E 80 04 21 */ bctrl -/* 800F55DC 000F253C 3B FE 1B CC */ addi r31, r30, 0x1bcc -/* 800F55E0 000F2540 38 80 00 00 */ li r4, 0 -/* 800F55E4 000F2544 80 7E 1C 08 */ lwz r3, 0x1c08(r30) -/* 800F55E8 000F2548 81 83 00 00 */ lwz r12, 0(r3) -/* 800F55EC 000F254C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F55F0 000F2550 7D 89 03 A6 */ mtctr r12 -/* 800F55F4 000F2554 4E 80 04 21 */ bctrl -/* 800F55F8 000F2558 80 1E 1C 0C */ lwz r0, 0x1c0c(r30) -/* 800F55FC 000F255C 2C 00 FF FF */ cmpwi r0, -1 -/* 800F5600 000F2560 41 82 00 24 */ beq lbl_800F5624 -/* 800F5604 000F2564 54 03 18 38 */ slwi r3, r0, 3 -/* 800F5608 000F2568 38 80 00 00 */ li r4, 0 -/* 800F560C 000F256C 38 03 00 04 */ addi r0, r3, 4 -/* 800F5610 000F2570 7C 7F 00 2E */ lwzx r3, r31, r0 -/* 800F5614 000F2574 81 83 00 00 */ lwz r12, 0(r3) -/* 800F5618 000F2578 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F561C 000F257C 7D 89 03 A6 */ mtctr r12 -/* 800F5620 000F2580 4E 80 04 21 */ bctrl -lbl_800F5624: -/* 800F5624 000F2584 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F5628 000F2588 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F562C 000F258C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800F5630 000F2590 7C 08 03 A6 */ mtlr r0 -/* 800F5634 000F2594 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F5638 000F2598 4E 80 00 20 */ blr - -.global LeaveMorphBallState__10CMorphBallFR13CStateManager -LeaveMorphBallState__10CMorphBallFR13CStateManager: -/* 800F563C 000F259C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F5640 000F25A0 7C 08 02 A6 */ mflr r0 -/* 800F5644 000F25A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F5648 000F25A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800F564C 000F25AC 7C 7F 1B 78 */ mr r31, r3 -/* 800F5650 000F25B0 4B FF E8 75 */ bl LeaveBoosting__10CMorphBallFv -/* 800F5654 000F25B4 7F E3 FB 78 */ mr r3, r31 -/* 800F5658 000F25B8 4B FF E7 C9 */ bl CancelBoosting__10CMorphBallFv -/* 800F565C 000F25BC 80 1F 1E 24 */ lwz r0, 0x1e24(r31) -/* 800F5660 000F25C0 38 61 00 08 */ addi r3, r1, 8 -/* 800F5664 000F25C4 90 01 00 08 */ stw r0, 8(r1) -/* 800F5668 000F25C8 48 1F 46 E1 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 800F566C 000F25CC 7F E3 FB 78 */ mr r3, r31 -/* 800F5670 000F25D0 4B FF FF 3D */ bl StopEffects__10CMorphBallFv -/* 800F5674 000F25D4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F5678 000F25D8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800F567C 000F25DC 7C 08 03 A6 */ mtlr r0 -/* 800F5680 000F25E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F5684 000F25E4 4E 80 00 20 */ blr - -.global EnterMorphBallState__10CMorphBallFR13CStateManager -EnterMorphBallState__10CMorphBallFR13CStateManager: -/* 800F5688 000F25E8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800F568C 000F25EC 7C 08 02 A6 */ mflr r0 -/* 800F5690 000F25F0 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F5694 000F25F4 90 01 00 44 */ stw r0, 0x44(r1) -/* 800F5698 000F25F8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800F569C 000F25FC 7C 7F 1B 78 */ mr r31, r3 -/* 800F56A0 000F2600 D0 23 1C 20 */ stfs f1, 0x1c20(r3) -/* 800F56A4 000F2604 4B FF F1 C5 */ bl UpdateEffects__10CMorphBallFfR13CStateManager -/* 800F56A8 000F2608 38 C0 00 00 */ li r6, 0 -/* 800F56AC 000F260C C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F56B0 000F2610 90 DF 18 7C */ stw r6, 0x187c(r31) -/* 800F56B4 000F2614 38 60 FF FF */ li r3, -1 -/* 800F56B8 000F2618 38 00 00 01 */ li r0, 1 -/* 800F56BC 000F261C 38 81 00 08 */ addi r4, r1, 8 -/* 800F56C0 000F2620 90 C1 00 08 */ stw r6, 8(r1) -/* 800F56C4 000F2624 38 A0 00 00 */ li r5, 0 -/* 800F56C8 000F2628 90 61 00 0C */ stw r3, 0xc(r1) -/* 800F56CC 000F262C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800F56D0 000F2630 98 01 00 14 */ stb r0, 0x14(r1) -/* 800F56D4 000F2634 90 C1 00 18 */ stw r6, 0x18(r1) -/* 800F56D8 000F2638 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 800F56DC 000F263C 98 C1 00 20 */ stb r6, 0x20(r1) -/* 800F56E0 000F2640 90 C1 00 24 */ stw r6, 0x24(r1) -/* 800F56E4 000F2644 90 C1 00 28 */ stw r6, 0x28(r1) -/* 800F56E8 000F2648 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 800F56EC 000F264C 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 800F56F0 000F2650 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800F56F4 000F2654 4B F3 76 89 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 800F56F8 000F2658 38 00 00 00 */ li r0, 0 -/* 800F56FC 000F265C 7F E3 FB 78 */ mr r3, r31 -/* 800F5700 000F2660 90 1F 1E 20 */ stw r0, 0x1e20(r31) -/* 800F5704 000F2664 4B FF FE A9 */ bl StopEffects__10CMorphBallFv -/* 800F5708 000F2668 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F570C 000F266C 7F E3 FB 78 */ mr r3, r31 -/* 800F5710 000F2670 D0 1F 1C 30 */ stfs f0, 0x1c30(r31) -/* 800F5714 000F2674 D0 1F 1C 34 */ stfs f0, 0x1c34(r31) -/* 800F5718 000F2678 D0 1F 1C 38 */ stfs f0, 0x1c38(r31) -/* 800F571C 000F267C 4B FF C1 D9 */ bl DisableHalfPipeStatus__10CMorphBallFv -/* 800F5720 000F2680 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F5724 000F2684 D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 800F5728 000F2688 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 800F572C 000F268C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800F5730 000F2690 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800F5734 000F2694 7C 08 03 A6 */ mtlr r0 -/* 800F5738 000F2698 38 21 00 40 */ addi r1, r1, 0x40 -/* 800F573C 000F269C 4E 80 00 20 */ blr - -.global SetBallLightActive__10CMorphBallFR13CStateManagerb -SetBallLightActive__10CMorphBallFR13CStateManagerb: -/* 800F5740 000F26A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F5744 000F26A4 7C 08 02 A6 */ mflr r0 -/* 800F5748 000F26A8 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F574C 000F26AC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800F5750 000F26B0 7C BF 2B 78 */ mr r31, r5 -/* 800F5754 000F26B4 A0 C3 1C 10 */ lhz r6, 0x1c10(r3) -/* 800F5758 000F26B8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800F575C 000F26BC 7C 06 00 40 */ cmplw r6, r0 -/* 800F5760 000F26C0 41 82 00 44 */ beq lbl_800F57A4 -/* 800F5764 000F26C4 A0 03 1C 10 */ lhz r0, 0x1c10(r3) -/* 800F5768 000F26C8 7C 83 23 78 */ mr r3, r4 -/* 800F576C 000F26CC 38 81 00 08 */ addi r4, r1, 8 -/* 800F5770 000F26D0 B0 01 00 08 */ sth r0, 8(r1) -/* 800F5774 000F26D4 4B F5 6E 01 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800F5778 000F26D8 7C 64 1B 78 */ mr r4, r3 -/* 800F577C 000F26DC 38 61 00 0C */ addi r3, r1, 0xc -/* 800F5780 000F26E0 4B FB 83 05 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 800F5784 000F26E4 80 63 00 04 */ lwz r3, 4(r3) -/* 800F5788 000F26E8 28 03 00 00 */ cmplwi r3, 0 -/* 800F578C 000F26EC 41 82 00 18 */ beq lbl_800F57A4 -/* 800F5790 000F26F0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F5794 000F26F4 57 E4 06 3E */ clrlwi r4, r31, 0x18 -/* 800F5798 000F26F8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800F579C 000F26FC 7D 89 03 A6 */ mtctr r12 -/* 800F57A0 000F2700 4E 80 04 21 */ bctrl -lbl_800F57A4: -/* 800F57A4 000F2704 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F57A8 000F2708 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800F57AC 000F270C 7C 08 03 A6 */ mtlr r0 -/* 800F57B0 000F2710 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F57B4 000F2714 4E 80 00 20 */ blr - -.global DeleteLight__10CMorphBallFR13CStateManager -DeleteLight__10CMorphBallFR13CStateManager: -/* 800F57B8 000F2718 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F57BC 000F271C 7C 08 02 A6 */ mflr r0 -/* 800F57C0 000F2720 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F57C4 000F2724 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800F57C8 000F2728 7C 7F 1B 78 */ mr r31, r3 -/* 800F57CC 000F272C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800F57D0 000F2730 A0 63 1C 10 */ lhz r3, 0x1c10(r3) -/* 800F57D4 000F2734 7C 03 00 40 */ cmplw r3, r0 -/* 800F57D8 000F2738 41 82 00 20 */ beq lbl_800F57F8 -/* 800F57DC 000F273C A0 1F 1C 10 */ lhz r0, 0x1c10(r31) -/* 800F57E0 000F2740 7C 83 23 78 */ mr r3, r4 -/* 800F57E4 000F2744 38 81 00 08 */ addi r4, r1, 8 -/* 800F57E8 000F2748 B0 01 00 08 */ sth r0, 8(r1) -/* 800F57EC 000F274C 4B F5 6A 81 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 800F57F0 000F2750 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800F57F4 000F2754 B0 1F 1C 10 */ sth r0, 0x1c10(r31) -lbl_800F57F8: -/* 800F57F8 000F2758 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F57FC 000F275C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800F5800 000F2760 7C 08 03 A6 */ mtlr r0 -/* 800F5804 000F2764 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F5808 000F2768 4E 80 00 20 */ blr - -.global AcceptScriptMsg__10CMorphBallF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__10CMorphBallF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800F580C 000F276C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 800F5810 000F2770 7C 08 02 A6 */ mflr r0 -/* 800F5814 000F2774 2C 04 00 22 */ cmpwi r4, 0x22 -/* 800F5818 000F2778 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 800F581C 000F277C BF 61 00 BC */ stmw r27, 0xbc(r1) -/* 800F5820 000F2780 7C 7E 1B 78 */ mr r30, r3 -/* 800F5824 000F2784 7C DF 33 78 */ mr r31, r6 -/* 800F5828 000F2788 41 82 01 30 */ beq lbl_800F5958 -/* 800F582C 000F278C 40 80 01 34 */ bge lbl_800F5960 -/* 800F5830 000F2790 2C 04 00 21 */ cmpwi r4, 0x21 -/* 800F5834 000F2794 40 80 00 08 */ bge lbl_800F583C -/* 800F5838 000F2798 48 00 01 28 */ b lbl_800F5960 -lbl_800F583C: -/* 800F583C 000F279C 80 7E 19 D0 */ lwz r3, 0x19d0(r30) -/* 800F5840 000F27A0 28 03 00 00 */ cmplwi r3, 0 -/* 800F5844 000F27A4 41 82 01 1C */ beq lbl_800F5960 -/* 800F5848 000F27A8 81 83 00 00 */ lwz r12, 0(r3) -/* 800F584C 000F27AC 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800F5850 000F27B0 7D 89 03 A6 */ mtctr r12 -/* 800F5854 000F27B4 4E 80 04 21 */ bctrl -/* 800F5858 000F27B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F585C 000F27BC 41 82 01 04 */ beq lbl_800F5960 -/* 800F5860 000F27C0 7F E4 FB 78 */ mr r4, r31 -/* 800F5864 000F27C4 38 61 00 1C */ addi r3, r1, 0x1c -/* 800F5868 000F27C8 4B F5 78 75 */ bl AllocateUniqueId__13CStateManagerFv -/* 800F586C 000F27CC A0 01 00 1C */ lhz r0, 0x1c(r1) -/* 800F5870 000F27D0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F5874 000F27D4 38 63 EB F4 */ addi r3, r3, lbl_803CEBF4@l -/* 800F5878 000F27D8 3B 80 00 00 */ li r28, 0 -/* 800F587C 000F27DC B0 1E 1C 10 */ sth r0, 0x1c10(r30) -/* 800F5880 000F27E0 38 83 00 DC */ addi r4, r3, 0xdc -/* 800F5884 000F27E4 38 60 01 48 */ li r3, 0x148 -/* 800F5888 000F27E8 38 A0 00 00 */ li r5, 0 -/* 800F588C 000F27EC 80 DE 19 88 */ lwz r6, 0x1988(r30) -/* 800F5890 000F27F0 83 66 00 08 */ lwz r27, 8(r6) -/* 800F5894 000F27F4 48 21 FF D9 */ bl __nw__FUlPCcPCc -/* 800F5898 000F27F8 7C 7D 1B 79 */ or. r29, r3, r3 -/* 800F589C 000F27FC 41 82 00 9C */ beq lbl_800F5938 -/* 800F58A0 000F2800 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F58A4 000F2804 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F58A8 000F2808 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F58AC 000F280C 83 9E 19 D0 */ lwz r28, 0x19d0(r30) -/* 800F58B0 000F2810 A0 05 00 08 */ lhz r0, 8(r5) -/* 800F58B4 000F2814 38 61 00 24 */ addi r3, r1, 0x24 -/* 800F58B8 000F2818 38 84 01 48 */ addi r4, r4, 0x148 -/* 800F58BC 000F281C B0 01 00 14 */ sth r0, 0x14(r1) -/* 800F58C0 000F2820 B0 01 00 18 */ sth r0, 0x18(r1) -/* 800F58C4 000F2824 4B F0 F3 F5 */ bl string_l__4rstlFPCc -/* 800F58C8 000F2828 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800F58CC 000F282C 7F 84 E3 78 */ mr r4, r28 -/* 800F58D0 000F2830 38 61 00 64 */ addi r3, r1, 0x64 -/* 800F58D4 000F2834 3B 80 00 01 */ li r28, 1 -/* 800F58D8 000F2838 90 01 00 20 */ stw r0, 0x20(r1) -/* 800F58DC 000F283C A0 1E 1C 10 */ lhz r0, 0x1c10(r30) -/* 800F58E0 000F2840 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800F58E4 000F2844 81 84 00 00 */ lwz r12, 0(r4) -/* 800F58E8 000F2848 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 800F58EC 000F284C 7D 89 03 A6 */ mtctr r12 -/* 800F58F0 000F2850 4E 80 04 21 */ bctrl -/* 800F58F4 000F2854 7F C4 F3 78 */ mr r4, r30 -/* 800F58F8 000F2858 38 61 00 34 */ addi r3, r1, 0x34 -/* 800F58FC 000F285C 48 00 0D F9 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F5900 000F2860 93 61 00 08 */ stw r27, 8(r1) -/* 800F5904 000F2864 38 00 00 00 */ li r0, 0 -/* 800F5908 000F2868 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F590C 000F286C 7F A3 EB 78 */ mr r3, r29 -/* 800F5910 000F2870 90 01 00 0C */ stw r0, 0xc(r1) -/* 800F5914 000F2874 38 81 00 10 */ addi r4, r1, 0x10 -/* 800F5918 000F2878 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800F591C 000F287C 38 E1 00 24 */ addi r7, r1, 0x24 -/* 800F5920 000F2880 39 01 00 34 */ addi r8, r1, 0x34 -/* 800F5924 000F2884 39 21 00 18 */ addi r9, r1, 0x18 -/* 800F5928 000F2888 39 41 00 64 */ addi r10, r1, 0x64 -/* 800F592C 000F288C 38 C0 00 00 */ li r6, 0 -/* 800F5930 000F2890 4B FB FE F5 */ bl "__ct__10CGameLightF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f9TUniqueIdRC6CLightUiUif" -/* 800F5934 000F2894 7C 7D 1B 78 */ mr r29, r3 -lbl_800F5938: -/* 800F5938 000F2898 7F E3 FB 78 */ mr r3, r31 -/* 800F593C 000F289C 7F A4 EB 78 */ mr r4, r29 -/* 800F5940 000F28A0 4B F5 73 B5 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 800F5944 000F28A4 7F 80 07 75 */ extsb. r0, r28 -/* 800F5948 000F28A8 41 82 00 18 */ beq lbl_800F5960 -/* 800F594C 000F28AC 38 61 00 24 */ addi r3, r1, 0x24 -/* 800F5950 000F28B0 48 24 81 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800F5954 000F28B4 48 00 00 0C */ b lbl_800F5960 -lbl_800F5958: -/* 800F5958 000F28B8 7F E4 FB 78 */ mr r4, r31 -/* 800F595C 000F28BC 4B FF FE 5D */ bl DeleteLight__10CMorphBallFR13CStateManager -lbl_800F5960: -/* 800F5960 000F28C0 BB 61 00 BC */ lmw r27, 0xbc(r1) -/* 800F5964 000F28C4 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 800F5968 000F28C8 7C 08 03 A6 */ mtlr r0 -/* 800F596C 000F28CC 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 800F5970 000F28D0 4E 80 00 20 */ blr - -.global Update__10CMorphBallFfR13CStateManager -Update__10CMorphBallFfR13CStateManager: -/* 800F5974 000F28D4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800F5978 000F28D8 7C 08 02 A6 */ mflr r0 -/* 800F597C 000F28DC 90 01 00 84 */ stw r0, 0x84(r1) -/* 800F5980 000F28E0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 800F5984 000F28E4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 800F5988 000F28E8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800F598C 000F28EC 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800F5990 000F28F0 7C 7E 1B 78 */ mr r30, r3 -/* 800F5994 000F28F4 FF E0 08 90 */ fmr f31, f1 -/* 800F5998 000F28F8 80 03 18 7C */ lwz r0, 0x187c(r3) -/* 800F599C 000F28FC 7C 9F 23 78 */ mr r31, r4 -/* 800F59A0 000F2900 2C 00 00 01 */ cmpwi r0, 1 -/* 800F59A4 000F2904 40 82 00 38 */ bne lbl_800F59DC -/* 800F59A8 000F2908 7F C4 F3 78 */ mr r4, r30 -/* 800F59AC 000F290C 38 61 00 34 */ addi r3, r1, 0x34 -/* 800F59B0 000F2910 48 00 0D 45 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F59B4 000F2914 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 800F59B8 000F2918 7F C3 F3 78 */ mr r3, r30 -/* 800F59BC 000F291C C0 21 00 50 */ lfs f1, 0x50(r1) -/* 800F59C0 000F2920 38 81 00 0C */ addi r4, r1, 0xc -/* 800F59C4 000F2924 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 800F59C8 000F2928 38 BE 18 90 */ addi r5, r30, 0x1890 -/* 800F59CC 000F292C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 800F59D0 000F2930 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800F59D4 000F2934 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 800F59D8 000F2938 48 00 18 35 */ bl CreateSpiderBallParticles__10CMorphBallFRC9CVector3fRC9CVector3f -lbl_800F59DC: -/* 800F59DC 000F293C 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F59E0 000F2940 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F59E4 000F2944 C0 23 09 F4 */ lfs f1, 0x9f4(r3) -/* 800F59E8 000F2948 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F59EC 000F294C 4C 40 13 82 */ cror 2, 0, 2 -/* 800F59F0 000F2950 40 82 00 14 */ bne lbl_800F5A04 -/* 800F59F4 000F2954 FC 20 F8 90 */ fmr f1, f31 -/* 800F59F8 000F2958 7F C3 F3 78 */ mr r3, r30 -/* 800F59FC 000F295C 7F E4 FB 78 */ mr r4, r31 -/* 800F5A00 000F2960 4B FF EE 69 */ bl UpdateEffects__10CMorphBallFfR13CStateManager -lbl_800F5A04: -/* 800F5A04 000F2964 C0 5E 1E 44 */ lfs f2, 0x1e44(r30) -/* 800F5A08 000F2968 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F5A0C 000F296C FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 800F5A10 000F2970 40 81 00 3C */ ble lbl_800F5A4C -/* 800F5A14 000F2974 C0 1E 1E 48 */ lfs f0, 0x1e48(r30) -/* 800F5A18 000F2978 EC 00 17 FC */ fnmsubs f0, f0, f31, f2 -/* 800F5A1C 000F297C D0 1E 1E 44 */ stfs f0, 0x1e44(r30) -/* 800F5A20 000F2980 C0 1E 1E 44 */ lfs f0, 0x1e44(r30) -/* 800F5A24 000F2984 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F5A28 000F2988 4C 40 13 82 */ cror 2, 0, 2 -/* 800F5A2C 000F298C 40 82 00 14 */ bne lbl_800F5A40 -/* 800F5A30 000F2990 D0 3E 1E 44 */ stfs f1, 0x1e44(r30) -/* 800F5A34 000F2994 D0 3E 1E 48 */ stfs f1, 0x1e48(r30) -/* 800F5A38 000F2998 D0 3E 1E 4C */ stfs f1, 0x1e4c(r30) -/* 800F5A3C 000F299C 48 00 00 10 */ b lbl_800F5A4C -lbl_800F5A40: -/* 800F5A40 000F29A0 C0 1E 1E 4C */ lfs f0, 0x1e4c(r30) -/* 800F5A44 000F29A4 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800F5A48 000F29A8 D0 1E 1E 4C */ stfs f0, 0x1e4c(r30) -lbl_800F5A4C: -/* 800F5A4C 000F29AC 80 1E 00 58 */ lwz r0, 0x58(r30) -/* 800F5A50 000F29B0 28 00 00 00 */ cmplwi r0, 0 -/* 800F5A54 000F29B4 41 82 00 28 */ beq lbl_800F5A7C -/* 800F5A58 000F29B8 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800F5A5C 000F29BC FC 20 F8 90 */ fmr f1, f31 -/* 800F5A60 000F29C0 7F E5 FB 78 */ mr r5, r31 -/* 800F5A64 000F29C4 38 61 00 18 */ addi r3, r1, 0x18 -/* 800F5A68 000F29C8 90 01 00 08 */ stw r0, 8(r1) -/* 800F5A6C 000F29CC 38 C1 00 08 */ addi r6, r1, 8 -/* 800F5A70 000F29D0 38 E0 00 01 */ li r7, 1 -/* 800F5A74 000F29D4 80 9E 00 58 */ lwz r4, 0x58(r30) -/* 800F5A78 000F29D8 48 02 00 BD */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb -lbl_800F5A7C: -/* 800F5A7C 000F29DC 88 1E 1C 2C */ lbz r0, 0x1c2c(r30) -/* 800F5A80 000F29E0 28 00 00 00 */ cmplwi r0, 0 -/* 800F5A84 000F29E4 41 82 00 50 */ beq lbl_800F5AD4 -/* 800F5A88 000F29E8 C0 5E 1C 28 */ lfs f2, 0x1c28(r30) -/* 800F5A8C 000F29EC C0 3E 1C 20 */ lfs f1, 0x1c20(r30) -/* 800F5A90 000F29F0 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F5A94 000F29F4 EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 800F5A98 000F29F8 D0 3E 1C 20 */ stfs f1, 0x1c20(r30) -/* 800F5A9C 000F29FC C0 3E 1C 20 */ lfs f1, 0x1c20(r30) -/* 800F5AA0 000F2A00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F5AA4 000F2A04 40 80 00 14 */ bge lbl_800F5AB8 -/* 800F5AA8 000F2A08 38 00 00 00 */ li r0, 0 -/* 800F5AAC 000F2A0C 98 1E 1C 2C */ stb r0, 0x1c2c(r30) -/* 800F5AB0 000F2A10 D0 1E 1C 20 */ stfs f0, 0x1c20(r30) -/* 800F5AB4 000F2A14 48 00 00 20 */ b lbl_800F5AD4 -lbl_800F5AB8: -/* 800F5AB8 000F2A18 C0 1E 1C 24 */ lfs f0, 0x1c24(r30) -/* 800F5ABC 000F2A1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F5AC0 000F2A20 40 81 00 14 */ ble lbl_800F5AD4 -/* 800F5AC4 000F2A24 38 00 00 00 */ li r0, 0 -/* 800F5AC8 000F2A28 98 1E 1C 2C */ stb r0, 0x1c2c(r30) -/* 800F5ACC 000F2A2C C0 1E 1C 24 */ lfs f0, 0x1c24(r30) -/* 800F5AD0 000F2A30 D0 1E 1C 20 */ stfs f0, 0x1c20(r30) -lbl_800F5AD4: -/* 800F5AD4 000F2A34 80 7E 1C 1C */ lwz r3, 0x1c1c(r30) -/* 800F5AD8 000F2A38 28 03 00 00 */ cmplwi r3, 0 -/* 800F5ADC 000F2A3C 41 82 00 10 */ beq lbl_800F5AEC -/* 800F5AE0 000F2A40 FC 20 F8 90 */ fmr f1, f31 -/* 800F5AE4 000F2A44 7F E4 FB 78 */ mr r4, r31 -/* 800F5AE8 000F2A48 48 17 49 05 */ bl Update__20CRainSplashGeneratorFfR13CStateManager -lbl_800F5AEC: -/* 800F5AEC 000F2A4C FC 20 F8 90 */ fmr f1, f31 -/* 800F5AF0 000F2A50 7F C3 F3 78 */ mr r3, r30 -/* 800F5AF4 000F2A54 4B FF 8D E9 */ bl UpdateMorphBallSound__10CMorphBallFf -/* 800F5AF8 000F2A58 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 800F5AFC 000F2A5C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800F5B00 000F2A60 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 800F5B04 000F2A64 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800F5B08 000F2A68 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800F5B0C 000F2A6C 7C 08 03 A6 */ mtlr r0 -/* 800F5B10 000F2A70 38 21 00 80 */ addi r1, r1, 0x80 -/* 800F5B14 000F2A74 4E 80 00 20 */ blr - -.global SwitchToTire__10CMorphBallFv -SwitchToTire__10CMorphBallFv: -/* 800F5B18 000F2A78 38 00 00 01 */ li r0, 1 -/* 800F5B1C 000F2A7C C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F5B20 000F2A80 98 03 00 28 */ stb r0, 0x28(r3) -/* 800F5B24 000F2A84 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F5B28 000F2A88 98 03 1C 2C */ stb r0, 0x1c2c(r3) -/* 800F5B2C 000F2A8C D0 23 00 30 */ stfs f1, 0x30(r3) -/* 800F5B30 000F2A90 D0 03 1C 28 */ stfs f0, 0x1c28(r3) -/* 800F5B34 000F2A94 4E 80 00 20 */ blr - -.global SwitchToMarble__10CMorphBallFv -SwitchToMarble__10CMorphBallFv: -/* 800F5B38 000F2A98 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800F5B3C 000F2A9C 7C 08 02 A6 */ mflr r0 -/* 800F5B40 000F2AA0 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800F5B44 000F2AA4 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800F5B48 000F2AA8 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 800F5B4C 000F2AAC 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 800F5B50 000F2AB0 7C 7E 1B 78 */ mr r30, r3 -/* 800F5B54 000F2AB4 38 61 00 0C */ addi r3, r1, 0xc -/* 800F5B58 000F2AB8 80 9E 00 00 */ lwz r4, 0(r30) -/* 800F5B5C 000F2ABC C0 04 05 00 */ lfs f0, 0x500(r4) -/* 800F5B60 000F2AC0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800F5B64 000F2AC4 C0 04 05 04 */ lfs f0, 0x504(r4) -/* 800F5B68 000F2AC8 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800F5B6C 000F2ACC C0 04 05 08 */ lfs f0, 0x508(r4) -/* 800F5B70 000F2AD0 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800F5B74 000F2AD4 C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 800F5B78 000F2AD8 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F5B7C 000F2ADC 80 9E 00 00 */ lwz r4, 0(r30) -/* 800F5B80 000F2AE0 38 84 00 34 */ addi r4, r4, 0x34 -/* 800F5B84 000F2AE4 48 21 CE A1 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800F5B88 000F2AE8 38 61 00 18 */ addi r3, r1, 0x18 -/* 800F5B8C 000F2AEC 38 81 00 0C */ addi r4, r1, 0xc -/* 800F5B90 000F2AF0 48 21 E2 41 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 800F5B94 000F2AF4 7C 64 1B 78 */ mr r4, r3 -/* 800F5B98 000F2AF8 38 61 00 24 */ addi r3, r1, 0x24 -/* 800F5B9C 000F2AFC 38 A1 00 08 */ addi r5, r1, 8 -/* 800F5BA0 000F2B00 48 21 B7 55 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 800F5BA4 000F2B04 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 800F5BA8 000F2B08 38 61 00 50 */ addi r3, r1, 0x50 -/* 800F5BAC 000F2B0C C0 41 00 28 */ lfs f2, 0x28(r1) -/* 800F5BB0 000F2B10 38 81 00 34 */ addi r4, r1, 0x34 -/* 800F5BB4 000F2B14 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 800F5BB8 000F2B18 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800F5BBC 000F2B1C D0 61 00 34 */ stfs f3, 0x34(r1) -/* 800F5BC0 000F2B20 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 800F5BC4 000F2B24 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800F5BC8 000F2B28 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800F5BCC 000F2B2C 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F5BD0 000F2B30 3B E5 00 34 */ addi r31, r5, 0x34 -/* 800F5BD4 000F2B34 48 21 C3 E5 */ bl BuildTransform4f__11CQuaternionCFv -/* 800F5BD8 000F2B38 7F E4 FB 78 */ mr r4, r31 -/* 800F5BDC 000F2B3C 38 61 00 80 */ addi r3, r1, 0x80 -/* 800F5BE0 000F2B40 38 A1 00 50 */ addi r5, r1, 0x50 -/* 800F5BE4 000F2B44 48 21 CD 6D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800F5BE8 000F2B48 83 FE 00 00 */ lwz r31, 0(r30) -/* 800F5BEC 000F2B4C 38 81 00 80 */ addi r4, r1, 0x80 -/* 800F5BF0 000F2B50 38 7F 00 34 */ addi r3, r31, 0x34 -/* 800F5BF4 000F2B54 48 21 CF 4D */ bl __as__12CTransform4fFRC12CTransform4f -/* 800F5BF8 000F2B58 88 7F 00 E4 */ lbz r3, 0xe4(r31) -/* 800F5BFC 000F2B5C 38 80 00 01 */ li r4, 1 -/* 800F5C00 000F2B60 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 800F5C04 000F2B64 38 00 00 00 */ li r0, 0 -/* 800F5C08 000F2B68 98 7F 00 E4 */ stb r3, 0xe4(r31) -/* 800F5C0C 000F2B6C C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) -/* 800F5C10 000F2B70 88 7F 00 E4 */ lbz r3, 0xe4(r31) -/* 800F5C14 000F2B74 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c -/* 800F5C18 000F2B78 98 7F 00 E4 */ stb r3, 0xe4(r31) -/* 800F5C1C 000F2B7C 88 7F 00 E4 */ lbz r3, 0xe4(r31) -/* 800F5C20 000F2B80 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d -/* 800F5C24 000F2B84 98 7F 00 E4 */ stb r3, 0xe4(r31) -/* 800F5C28 000F2B88 98 1E 00 28 */ stb r0, 0x28(r30) -/* 800F5C2C 000F2B8C 98 9E 1C 2C */ stb r4, 0x1c2c(r30) -/* 800F5C30 000F2B90 D0 1E 1C 28 */ stfs f0, 0x1c28(r30) -/* 800F5C34 000F2B94 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 800F5C38 000F2B98 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 800F5C3C 000F2B9C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800F5C40 000F2BA0 7C 08 03 A6 */ mtlr r0 -/* 800F5C44 000F2BA4 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800F5C48 000F2BA8 4E 80 00 20 */ blr - -.global UpdateBallDynamics__10CMorphBallFR13CStateManagerf -UpdateBallDynamics__10CMorphBallFR13CStateManagerf: -/* 800F5C4C 000F2BAC 94 21 FE 40 */ stwu r1, -0x1c0(r1) -/* 800F5C50 000F2BB0 7C 08 02 A6 */ mflr r0 -/* 800F5C54 000F2BB4 90 01 01 C4 */ stw r0, 0x1c4(r1) -/* 800F5C58 000F2BB8 DB E1 01 B0 */ stfd f31, 0x1b0(r1) -/* 800F5C5C 000F2BBC F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 -/* 800F5C60 000F2BC0 DB C1 01 A0 */ stfd f30, 0x1a0(r1) -/* 800F5C64 000F2BC4 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 -/* 800F5C68 000F2BC8 93 E1 01 9C */ stw r31, 0x19c(r1) -/* 800F5C6C 000F2BCC 93 C1 01 98 */ stw r30, 0x198(r1) -/* 800F5C70 000F2BD0 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F5C74 000F2BD4 3C A0 80 5A */ lis r5, skIdentity4f@ha -/* 800F5C78 000F2BD8 FF E0 08 90 */ fmr f31, f1 -/* 800F5C7C 000F2BDC 7C 7E 1B 78 */ mr r30, r3 -/* 800F5C80 000F2BE0 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 800F5C84 000F2BE4 38 05 66 70 */ addi r0, r5, skIdentity4f@l -/* 800F5C88 000F2BE8 7C 9F 23 78 */ mr r31, r4 -/* 800F5C8C 000F2BEC 38 61 01 50 */ addi r3, r1, 0x150 -/* 800F5C90 000F2BF0 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800F5C94 000F2BF4 7C 04 03 78 */ mr r4, r0 -/* 800F5C98 000F2BF8 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800F5C9C 000F2BFC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800F5CA0 000F2C00 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800F5CA4 000F2C04 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800F5CA8 000F2C08 48 21 CE CD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F5CAC 000F2C0C 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F5CB0 000F2C10 38 63 01 44 */ addi r3, r3, 0x144 -/* 800F5CB4 000F2C14 4B F2 58 7D */ bl GetVector__10CAxisAngleCFv -/* 800F5CB8 000F2C18 C0 62 92 84 */ lfs f3, lbl_805AAFA4@sda21(r2) -/* 800F5CBC 000F2C1C 38 81 00 30 */ addi r4, r1, 0x30 -/* 800F5CC0 000F2C20 C0 43 00 04 */ lfs f2, 4(r3) -/* 800F5CC4 000F2C24 C0 23 00 08 */ lfs f1, 8(r3) -/* 800F5CC8 000F2C28 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F5CCC 000F2C2C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F5CD0 000F2C30 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F5CD4 000F2C34 38 61 00 3C */ addi r3, r1, 0x3c -/* 800F5CD8 000F2C38 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F5CDC 000F2C3C D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800F5CE0 000F2C40 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800F5CE4 000F2C44 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800F5CE8 000F2C48 4B F2 58 9D */ bl __ct__10CAxisAngleFRC9CVector3f -/* 800F5CEC 000F2C4C 7C 64 1B 78 */ mr r4, r3 -/* 800F5CF0 000F2C50 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F5CF4 000F2C54 48 02 4F 09 */ bl SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle -/* 800F5CF8 000F2C58 80 AD 88 80 */ lwz r5, lbl_805A7440@sda21(r13) -/* 800F5CFC 000F2C5C 38 60 00 00 */ li r3, 0 -/* 800F5D00 000F2C60 38 80 00 01 */ li r4, 1 -/* 800F5D04 000F2C64 48 29 41 F1 */ bl __shl2i -/* 800F5D08 000F2C68 38 C0 00 01 */ li r6, 1 -/* 800F5D0C 000F2C6C 38 00 00 00 */ li r0, 0 -/* 800F5D10 000F2C70 90 81 00 7C */ stw r4, 0x7c(r1) -/* 800F5D14 000F2C74 7F E4 FB 78 */ mr r4, r31 -/* 800F5D18 000F2C78 C0 2D A3 28 */ lfs f1, lbl_805A8EE8@sda21(r13) -/* 800F5D1C 000F2C7C 38 A1 00 78 */ addi r5, r1, 0x78 -/* 800F5D20 000F2C80 90 61 00 78 */ stw r3, 0x78(r1) -/* 800F5D24 000F2C84 7F C3 F3 78 */ mr r3, r30 -/* 800F5D28 000F2C88 90 C1 00 70 */ stw r6, 0x70(r1) -/* 800F5D2C 000F2C8C 90 01 00 84 */ stw r0, 0x84(r1) -/* 800F5D30 000F2C90 90 01 00 80 */ stw r0, 0x80(r1) -/* 800F5D34 000F2C94 90 C1 00 88 */ stw r6, 0x88(r1) -/* 800F5D38 000F2C98 4B FF B8 2D */ bl BallCloseToCollision__10CMorphBallCFRC13CStateManagerfRC15CMaterialFilter -/* 800F5D3C 000F2C9C 88 1E 1D F8 */ lbz r0, 0x1df8(r30) -/* 800F5D40 000F2CA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800F5D44 000F2CA4 FC 20 F8 90 */ fmr f1, f31 -/* 800F5D48 000F2CA8 7F C3 F3 78 */ mr r3, r30 -/* 800F5D4C 000F2CAC 98 1E 1D F8 */ stb r0, 0x1df8(r30) -/* 800F5D50 000F2CB0 7F E4 FB 78 */ mr r4, r31 -/* 800F5D54 000F2CB4 4B FF BC 89 */ bl UpdateHalfPipeStatus__10CMorphBallFR13CStateManagerf -/* 800F5D58 000F2CB8 C0 1E 1E 00 */ lfs f0, 0x1e00(r30) -/* 800F5D5C 000F2CBC EC 00 F8 28 */ fsubs f0, f0, f31 -/* 800F5D60 000F2CC0 D0 1E 1E 00 */ stfs f0, 0x1e00(r30) -/* 800F5D64 000F2CC4 C0 3E 1E 00 */ lfs f1, 0x1e00(r30) -/* 800F5D68 000F2CC8 C0 0D 88 84 */ lfs f0, lbl_805A7444@sda21(r13) -/* 800F5D6C 000F2CCC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F5D70 000F2CD0 40 80 00 0C */ bge lbl_800F5D7C -/* 800F5D74 000F2CD4 38 6D 88 84 */ addi r3, r13, lbl_805A7444@sda21 -/* 800F5D78 000F2CD8 48 00 00 08 */ b lbl_800F5D80 -lbl_800F5D7C: -/* 800F5D7C 000F2CDC 38 7E 1E 00 */ addi r3, r30, 0x1e00 -lbl_800F5D80: -/* 800F5D80 000F2CE0 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F5D84 000F2CE4 D0 1E 1E 00 */ stfs f0, 0x1e00(r30) -/* 800F5D88 000F2CE8 C0 1E 19 1C */ lfs f0, 0x191c(r30) -/* 800F5D8C 000F2CEC EC 00 F8 28 */ fsubs f0, f0, f31 -/* 800F5D90 000F2CF0 D0 1E 19 1C */ stfs f0, 0x191c(r30) -/* 800F5D94 000F2CF4 C0 3E 19 1C */ lfs f1, 0x191c(r30) -/* 800F5D98 000F2CF8 C0 0D 88 88 */ lfs f0, lbl_805A7448@sda21(r13) -/* 800F5D9C 000F2CFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F5DA0 000F2D00 40 80 00 0C */ bge lbl_800F5DAC -/* 800F5DA4 000F2D04 38 6D 88 88 */ addi r3, r13, lbl_805A7448@sda21 -/* 800F5DA8 000F2D08 48 00 00 08 */ b lbl_800F5DB0 -lbl_800F5DAC: -/* 800F5DAC 000F2D0C 38 7E 19 1C */ addi r3, r30, 0x191c -lbl_800F5DB0: -/* 800F5DB0 000F2D10 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F5DB4 000F2D14 D0 1E 19 1C */ stfs f0, 0x191c(r30) -/* 800F5DB8 000F2D18 80 1E 18 7C */ lwz r0, 0x187c(r30) -/* 800F5DBC 000F2D1C 2C 00 00 01 */ cmpwi r0, 1 -/* 800F5DC0 000F2D20 40 82 00 6C */ bne lbl_800F5E2C -/* 800F5DC4 000F2D24 7F C4 F3 78 */ mr r4, r30 -/* 800F5DC8 000F2D28 38 61 01 20 */ addi r3, r1, 0x120 -/* 800F5DCC 000F2D2C 38 BE 18 80 */ addi r5, r30, 0x1880 -/* 800F5DD0 000F2D30 38 DE 18 90 */ addi r6, r30, 0x1890 -/* 800F5DD4 000F2D34 38 FE 18 9C */ addi r7, r30, 0x189c -/* 800F5DD8 000F2D38 48 00 07 95 */ bl CalculateSurfaceToWorld__10CMorphBallCFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800F5DDC 000F2D3C 38 7E 19 24 */ addi r3, r30, 0x1924 -/* 800F5DE0 000F2D40 38 81 01 20 */ addi r4, r1, 0x120 -/* 800F5DE4 000F2D44 48 21 CD 5D */ bl __as__12CTransform4fFRC12CTransform4f -/* 800F5DE8 000F2D48 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F5DEC 000F2D4C D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 800F5DF0 000F2D50 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 800F5DF4 000F2D54 28 00 00 00 */ cmplwi r0, 0 -/* 800F5DF8 000F2D58 40 82 00 0C */ bne lbl_800F5E04 -/* 800F5DFC 000F2D5C 7F C3 F3 78 */ mr r3, r30 -/* 800F5E00 000F2D60 4B FF FD 19 */ bl SwitchToTire__10CMorphBallFv -lbl_800F5E04: -/* 800F5E04 000F2D64 38 00 00 01 */ li r0, 1 -/* 800F5E08 000F2D68 C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) -/* 800F5E0C 000F2D6C 98 1E 1C 2C */ stb r0, 0x1c2c(r30) -/* 800F5E10 000F2D70 FC 20 F8 90 */ fmr f1, f31 -/* 800F5E14 000F2D74 7F C3 F3 78 */ mr r3, r30 -/* 800F5E18 000F2D78 7F E4 FB 78 */ mr r4, r31 -/* 800F5E1C 000F2D7C D0 1E 1C 28 */ stfs f0, 0x1c28(r30) -/* 800F5E20 000F2D80 38 BE 18 90 */ addi r5, r30, 0x1890 -/* 800F5E24 000F2D84 4B FF D8 09 */ bl UpdateMarbleDynamics__10CMorphBallFR13CStateManagerfRC9CVector3f -/* 800F5E28 000F2D88 48 00 01 C0 */ b lbl_800F5FE8 -lbl_800F5E2C: -/* 800F5E2C 000F2D8C 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F5E30 000F2D90 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 800F5E34 000F2D94 2C 00 00 02 */ cmpwi r0, 2 -/* 800F5E38 000F2D98 40 82 00 0C */ bne lbl_800F5E44 -/* 800F5E3C 000F2D9C 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 800F5E40 000F2DA0 48 00 00 08 */ b lbl_800F5E48 -lbl_800F5E44: -/* 800F5E44 000F2DA4 38 00 00 04 */ li r0, 4 -lbl_800F5E48: -/* 800F5E48 000F2DA8 2C 00 00 01 */ cmpwi r0, 1 -/* 800F5E4C 000F2DAC 41 82 01 94 */ beq lbl_800F5FE0 -/* 800F5E50 000F2DB0 7F C3 F3 78 */ mr r3, r30 -/* 800F5E54 000F2DB4 38 81 00 54 */ addi r4, r1, 0x54 -/* 800F5E58 000F2DB8 38 A1 00 48 */ addi r5, r1, 0x48 -/* 800F5E5C 000F2DBC 48 00 06 C5 */ bl CalculateBallContactInfo__10CMorphBallCFR9CVector3fR9CVector3f -/* 800F5E60 000F2DC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F5E64 000F2DC4 41 82 01 84 */ beq lbl_800F5FE8 -/* 800F5E68 000F2DC8 80 FE 00 00 */ lwz r7, 0(r30) -/* 800F5E6C 000F2DCC 7F C4 F3 78 */ mr r4, r30 -/* 800F5E70 000F2DD0 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 800F5E74 000F2DD4 38 A1 00 54 */ addi r5, r1, 0x54 -/* 800F5E78 000F2DD8 38 C1 00 48 */ addi r6, r1, 0x48 -/* 800F5E7C 000F2DDC 38 E7 05 00 */ addi r7, r7, 0x500 -/* 800F5E80 000F2DE0 48 00 06 ED */ bl CalculateSurfaceToWorld__10CMorphBallCFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800F5E84 000F2DE4 38 7E 19 24 */ addi r3, r30, 0x1924 -/* 800F5E88 000F2DE8 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 800F5E8C 000F2DEC 48 21 CC B5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800F5E90 000F2DF0 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F5E94 000F2DF4 38 63 01 38 */ addi r3, r3, 0x138 -/* 800F5E98 000F2DF8 48 21 EA 21 */ bl Magnitude__9CVector3fCFv -/* 800F5E9C 000F2DFC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F5EA0 000F2E00 FF C0 08 90 */ fmr f30, f1 -/* 800F5EA4 000F2E04 C0 03 01 F0 */ lfs f0, 0x1f0(r3) -/* 800F5EA8 000F2E08 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 800F5EAC 000F2E0C 40 80 00 18 */ bge lbl_800F5EC4 -/* 800F5EB0 000F2E10 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 800F5EB4 000F2E14 28 00 00 00 */ cmplwi r0, 0 -/* 800F5EB8 000F2E18 41 82 00 0C */ beq lbl_800F5EC4 -/* 800F5EBC 000F2E1C 7F C3 F3 78 */ mr r3, r30 -/* 800F5EC0 000F2E20 4B FF FC 79 */ bl SwitchToMarble__10CMorphBallFv -lbl_800F5EC4: -/* 800F5EC4 000F2E24 FC 20 F8 90 */ fmr f1, f31 -/* 800F5EC8 000F2E28 7F C3 F3 78 */ mr r3, r30 -/* 800F5ECC 000F2E2C 7F E4 FB 78 */ mr r4, r31 -/* 800F5ED0 000F2E30 38 A1 00 48 */ addi r5, r1, 0x48 -/* 800F5ED4 000F2E34 4B FF D7 59 */ bl UpdateMarbleDynamics__10CMorphBallFR13CStateManagerfRC9CVector3f -/* 800F5ED8 000F2E38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F5EDC 000F2E3C 41 82 00 2C */ beq lbl_800F5F08 -/* 800F5EE0 000F2E40 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F5EE4 000F2E44 C0 03 01 F4 */ lfs f0, 0x1f4(r3) -/* 800F5EE8 000F2E48 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 800F5EEC 000F2E4C 4C 41 13 82 */ cror 2, 1, 2 -/* 800F5EF0 000F2E50 40 82 00 18 */ bne lbl_800F5F08 -/* 800F5EF4 000F2E54 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 800F5EF8 000F2E58 28 00 00 00 */ cmplwi r0, 0 -/* 800F5EFC 000F2E5C 40 82 00 0C */ bne lbl_800F5F08 -/* 800F5F00 000F2E60 7F C3 F3 78 */ mr r3, r30 -/* 800F5F04 000F2E64 4B FF FC 15 */ bl SwitchToTire__10CMorphBallFv -lbl_800F5F08: -/* 800F5F08 000F2E68 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 800F5F0C 000F2E6C 28 00 00 00 */ cmplwi r0, 0 -/* 800F5F10 000F2E70 41 82 00 D8 */ beq lbl_800F5FE8 -/* 800F5F14 000F2E74 80 FE 00 00 */ lwz r7, 0(r30) -/* 800F5F18 000F2E78 80 07 02 B0 */ lwz r0, 0x2b0(r7) -/* 800F5F1C 000F2E7C 2C 00 00 02 */ cmpwi r0, 2 -/* 800F5F20 000F2E80 40 82 00 0C */ bne lbl_800F5F2C -/* 800F5F24 000F2E84 80 07 02 AC */ lwz r0, 0x2ac(r7) -/* 800F5F28 000F2E88 48 00 00 08 */ b lbl_800F5F30 -lbl_800F5F2C: -/* 800F5F2C 000F2E8C 38 00 00 04 */ li r0, 4 -lbl_800F5F30: -/* 800F5F30 000F2E90 80 AD A1 1C */ lwz r5, gpTweakBall@sda21(r13) -/* 800F5F34 000F2E94 54 00 10 3A */ slwi r0, r0, 2 -/* 800F5F38 000F2E98 38 61 00 24 */ addi r3, r1, 0x24 -/* 800F5F3C 000F2E9C 38 87 00 34 */ addi r4, r7, 0x34 -/* 800F5F40 000F2EA0 7C C5 02 14 */ add r6, r5, r0 -/* 800F5F44 000F2EA4 38 A7 01 5C */ addi r5, r7, 0x15c -/* 800F5F48 000F2EA8 C3 C6 00 04 */ lfs f30, 4(r6) -/* 800F5F4C 000F2EAC 48 21 CA D9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800F5F50 000F2EB0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 800F5F54 000F2EB4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F5F58 000F2EB8 EC 40 F0 24 */ fdivs f2, f0, f30 -/* 800F5F5C 000F2EBC C0 23 01 EC */ lfs f1, 0x1ec(r3) -/* 800F5F60 000F2EC0 C0 03 01 F8 */ lfs f0, 0x1f8(r3) -/* 800F5F64 000F2EC4 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800F5F68 000F2EC8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F5F6C 000F2ECC D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 800F5F70 000F2ED0 C0 5E 00 2C */ lfs f2, 0x2c(r30) -/* 800F5F74 000F2ED4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F5F78 000F2ED8 FC 20 12 10 */ fabs f1, f2 -/* 800F5F7C 000F2EDC C0 03 01 EC */ lfs f0, 0x1ec(r3) -/* 800F5F80 000F2EE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F5F84 000F2EE4 40 81 00 14 */ ble lbl_800F5F98 -/* 800F5F88 000F2EE8 C0 62 91 A8 */ lfs f3, lbl_805AAEC8@sda21(r2) -/* 800F5F8C 000F2EEC C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F5F90 000F2EF0 FC 22 18 6E */ fsel f1, f2, f1, f3 -/* 800F5F94 000F2EF4 EC 40 00 72 */ fmuls f2, f0, f1 -lbl_800F5F98: -/* 800F5F98 000F2EF8 D0 5E 00 2C */ stfs f2, 0x2c(r30) -/* 800F5F9C 000F2EFC C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F5FA0 000F2F00 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F5FA4 000F2F04 C0 3E 19 34 */ lfs f1, 0x1934(r30) -/* 800F5FA8 000F2F08 C0 43 00 44 */ lfs f2, 0x44(r3) -/* 800F5FAC 000F2F0C C0 63 00 34 */ lfs f3, 0x34(r3) -/* 800F5FB0 000F2F10 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800F5FB4 000F2F14 C0 5E 19 24 */ lfs f2, 0x1924(r30) -/* 800F5FB8 000F2F18 C0 A3 00 54 */ lfs f5, 0x54(r3) -/* 800F5FBC 000F2F1C C0 9E 19 44 */ lfs f4, 0x1944(r30) -/* 800F5FC0 000F2F20 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 800F5FC4 000F2F24 EC 25 09 3A */ fmadds f1, f5, f4, f1 -/* 800F5FC8 000F2F28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F5FCC 000F2F2C 40 80 00 1C */ bge lbl_800F5FE8 -/* 800F5FD0 000F2F30 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 800F5FD4 000F2F34 FC 00 00 50 */ fneg f0, f0 -/* 800F5FD8 000F2F38 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 800F5FDC 000F2F3C 48 00 00 0C */ b lbl_800F5FE8 -lbl_800F5FE0: -/* 800F5FE0 000F2F40 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F5FE4 000F2F44 D0 1E 00 2C */ stfs f0, 0x2c(r30) -lbl_800F5FE8: -/* 800F5FE8 000F2F48 C0 5E 00 2C */ lfs f2, 0x2c(r30) -/* 800F5FEC 000F2F4C 3C 00 43 30 */ lis r0, 0x4330 -/* 800F5FF0 000F2F50 C0 3E 00 30 */ lfs f1, 0x30(r30) -/* 800F5FF4 000F2F54 C0 02 92 A4 */ lfs f0, lbl_805AAFC4@sda21(r2) -/* 800F5FF8 000F2F58 EC 82 08 28 */ fsubs f4, f2, f1 -/* 800F5FFC 000F2F5C 90 01 01 88 */ stw r0, 0x188(r1) -/* 800F6000 000F2F60 C8 62 92 10 */ lfd f3, lbl_805AAF30@sda21(r2) -/* 800F6004 000F2F64 C0 22 92 D4 */ lfs f1, lbl_805AAFF4@sda21(r2) -/* 800F6008 000F2F68 EC 44 00 32 */ fmuls f2, f4, f0 -/* 800F600C 000F2F6C C0 02 92 64 */ lfs f0, lbl_805AAF84@sda21(r2) -/* 800F6010 000F2F70 FC 40 10 1E */ fctiwz f2, f2 -/* 800F6014 000F2F74 D8 41 01 80 */ stfd f2, 0x180(r1) -/* 800F6018 000F2F78 80 01 01 84 */ lwz r0, 0x184(r1) -/* 800F601C 000F2F7C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 800F6020 000F2F80 90 01 01 8C */ stw r0, 0x18c(r1) -/* 800F6024 000F2F84 C8 41 01 88 */ lfd f2, 0x188(r1) -/* 800F6028 000F2F88 EC 42 18 28 */ fsubs f2, f2, f3 -/* 800F602C 000F2F8C EC 82 20 7C */ fnmsubs f4, f2, f1, f4 -/* 800F6030 000F2F90 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 800F6034 000F2F94 40 81 00 0C */ ble lbl_800F6040 -/* 800F6038 000F2F98 EC 84 08 28 */ fsubs f4, f4, f1 -/* 800F603C 000F2F9C 48 00 00 14 */ b lbl_800F6050 -lbl_800F6040: -/* 800F6040 000F2FA0 C0 02 92 D8 */ lfs f0, lbl_805AAFF8@sda21(r2) -/* 800F6044 000F2FA4 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 800F6048 000F2FA8 40 80 00 08 */ bge lbl_800F6050 -/* 800F604C 000F2FAC EC 81 20 2A */ fadds f4, f1, f4 -lbl_800F6050: -/* 800F6050 000F2FB0 FC 20 22 10 */ fabs f1, f4 -/* 800F6054 000F2FB4 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F6058 000F2FB8 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) -/* 800F605C 000F2FBC C0 43 01 EC */ lfs f2, 0x1ec(r3) -/* 800F6060 000F2FC0 FC 20 08 18 */ frsp f1, f1 -/* 800F6064 000F2FC4 C0 63 01 FC */ lfs f3, 0x1fc(r3) -/* 800F6068 000F2FC8 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 800F606C 000F2FCC EC 02 00 72 */ fmuls f0, f2, f1 -/* 800F6070 000F2FD0 EC 23 00 32 */ fmuls f1, f3, f0 -/* 800F6074 000F2FD4 40 81 00 14 */ ble lbl_800F6088 -/* 800F6078 000F2FD8 C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 800F607C 000F2FDC EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 800F6080 000F2FE0 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 800F6084 000F2FE4 48 00 00 28 */ b lbl_800F60AC -lbl_800F6088: -/* 800F6088 000F2FE8 C0 02 92 1C */ lfs f0, lbl_805AAF3C@sda21(r2) -/* 800F608C 000F2FEC FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 800F6090 000F2FF0 40 80 00 14 */ bge lbl_800F60A4 -/* 800F6094 000F2FF4 C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 800F6098 000F2FF8 EC 01 07 FC */ fnmsubs f0, f1, f31, f0 -/* 800F609C 000F2FFC D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 800F60A0 000F3000 48 00 00 0C */ b lbl_800F60AC -lbl_800F60A4: -/* 800F60A4 000F3004 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 800F60A8 000F3008 D0 1E 00 30 */ stfs f0, 0x30(r30) -lbl_800F60AC: -/* 800F60AC 000F300C 80 1E 18 7C */ lwz r0, 0x187c(r30) -/* 800F60B0 000F3010 2C 00 00 01 */ cmpwi r0, 1 -/* 800F60B4 000F3014 41 82 00 18 */ beq lbl_800F60CC -/* 800F60B8 000F3018 7F C3 F3 78 */ mr r3, r30 -/* 800F60BC 000F301C 4B FF 9F 55 */ bl CalculateSurfaceFriction__10CMorphBallCFv -/* 800F60C0 000F3020 7F C3 F3 78 */ mr r3, r30 -/* 800F60C4 000F3024 4B FF D4 99 */ bl ApplyFriction__10CMorphBallFf -/* 800F60C8 000F3028 48 00 00 14 */ b lbl_800F60DC -lbl_800F60CC: -/* 800F60CC 000F302C C0 3E 18 B4 */ lfs f1, 0x18b4(r30) -/* 800F60D0 000F3030 7F C3 F3 78 */ mr r3, r30 -/* 800F60D4 000F3034 C0 5E 18 B8 */ lfs f2, 0x18b8(r30) -/* 800F60D8 000F3038 4B FF D3 C5 */ bl DampLinearAndAngularVelocities__10CMorphBallFff -lbl_800F60DC: -/* 800F60DC 000F303C 80 1E 18 7C */ lwz r0, 0x187c(r30) -/* 800F60E0 000F3040 2C 00 00 01 */ cmpwi r0, 1 -/* 800F60E4 000F3044 41 82 00 10 */ beq lbl_800F60F4 -/* 800F60E8 000F3048 7F C3 F3 78 */ mr r3, r30 -/* 800F60EC 000F304C 7F E4 FB 78 */ mr r4, r31 -/* 800F60F0 000F3050 4B FF 9E 79 */ bl ApplyGravity__10CMorphBallFR13CStateManager -lbl_800F60F4: -/* 800F60F4 000F3054 80 BE 00 74 */ lwz r5, 0x74(r30) -/* 800F60F8 000F3058 38 60 00 00 */ li r3, 0 -/* 800F60FC 000F305C 2C 05 00 00 */ cmpwi r5, 0 -/* 800F6100 000F3060 40 81 00 40 */ ble lbl_800F6140 -/* 800F6104 000F3064 2C 05 00 08 */ cmpwi r5, 8 -/* 800F6108 000F3068 38 85 FF F8 */ addi r4, r5, -8 -/* 800F610C 000F306C 40 81 00 20 */ ble lbl_800F612C -/* 800F6110 000F3070 38 04 00 07 */ addi r0, r4, 7 -/* 800F6114 000F3074 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F6118 000F3078 7C 09 03 A6 */ mtctr r0 -/* 800F611C 000F307C 2C 04 00 00 */ cmpwi r4, 0 -/* 800F6120 000F3080 40 81 00 0C */ ble lbl_800F612C -lbl_800F6124: -/* 800F6124 000F3084 38 63 00 08 */ addi r3, r3, 8 -/* 800F6128 000F3088 42 00 FF FC */ bdnz lbl_800F6124 -lbl_800F612C: -/* 800F612C 000F308C 7C 03 28 50 */ subf r0, r3, r5 -/* 800F6130 000F3090 7C 09 03 A6 */ mtctr r0 -/* 800F6134 000F3094 7C 03 28 00 */ cmpw r3, r5 -/* 800F6138 000F3098 40 80 00 08 */ bge lbl_800F6140 -lbl_800F613C: -/* 800F613C 000F309C 42 00 00 00 */ bdnz lbl_800F613C -lbl_800F6140: -/* 800F6140 000F30A0 38 00 00 00 */ li r0, 0 -/* 800F6144 000F30A4 7F C4 F3 78 */ mr r4, r30 -/* 800F6148 000F30A8 90 1E 00 74 */ stw r0, 0x74(r30) -/* 800F614C 000F30AC 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 800F6150 000F30B0 48 00 05 A5 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F6154 000F30B4 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F6158 000F30B8 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 800F615C 000F30BC 48 21 BF CD */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 800F6160 000F30C0 38 7E 1C 3C */ addi r3, r30, 0x1c3c -/* 800F6164 000F30C4 38 81 00 14 */ addi r4, r1, 0x14 -/* 800F6168 000F30C8 48 00 01 B9 */ bl sub_800f6320 -/* 800F616C 000F30CC 7F C4 F3 78 */ mr r4, r30 -/* 800F6170 000F30D0 38 61 00 90 */ addi r3, r1, 0x90 -/* 800F6174 000F30D4 48 00 05 81 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F6178 000F30D8 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 800F617C 000F30DC 38 7E 1C 90 */ addi r3, r30, 0x1c90 -/* 800F6180 000F30E0 C0 21 00 AC */ lfs f1, 0xac(r1) -/* 800F6184 000F30E4 38 81 00 08 */ addi r4, r1, 8 -/* 800F6188 000F30E8 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 800F618C 000F30EC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800F6190 000F30F0 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F6194 000F30F4 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 800F6198 000F30F8 48 00 00 2D */ bl sub_800f61c4 -/* 800F619C 000F30FC E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 -/* 800F61A0 000F3100 CB E1 01 B0 */ lfd f31, 0x1b0(r1) -/* 800F61A4 000F3104 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 -/* 800F61A8 000F3108 CB C1 01 A0 */ lfd f30, 0x1a0(r1) -/* 800F61AC 000F310C 83 E1 01 9C */ lwz r31, 0x19c(r1) -/* 800F61B0 000F3110 80 01 01 C4 */ lwz r0, 0x1c4(r1) -/* 800F61B4 000F3114 83 C1 01 98 */ lwz r30, 0x198(r1) -/* 800F61B8 000F3118 7C 08 03 A6 */ mtlr r0 -/* 800F61BC 000F311C 38 21 01 C0 */ addi r1, r1, 0x1c0 -/* 800F61C0 000F3120 4E 80 00 20 */ blr - -.global sub_800f61c4 -sub_800f61c4: -/* 800F61C4 000F3124 80 03 00 00 */ lwz r0, 0(r3) -/* 800F61C8 000F3128 2C 00 00 05 */ cmpwi r0, 5 -/* 800F61CC 000F312C 40 80 00 38 */ bge lbl_800F6204 -/* 800F61D0 000F3130 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800F61D4 000F3134 7C A3 02 14 */ add r5, r3, r0 -/* 800F61D8 000F3138 34 A5 00 04 */ addic. r5, r5, 4 -/* 800F61DC 000F313C 41 82 00 1C */ beq lbl_800F61F8 -/* 800F61E0 000F3140 C0 04 00 00 */ lfs f0, 0(r4) -/* 800F61E4 000F3144 D0 05 00 00 */ stfs f0, 0(r5) -/* 800F61E8 000F3148 C0 04 00 04 */ lfs f0, 4(r4) -/* 800F61EC 000F314C D0 05 00 04 */ stfs f0, 4(r5) -/* 800F61F0 000F3150 C0 04 00 08 */ lfs f0, 8(r4) -/* 800F61F4 000F3154 D0 05 00 08 */ stfs f0, 8(r5) -lbl_800F61F8: -/* 800F61F8 000F3158 80 A3 00 00 */ lwz r5, 0(r3) -/* 800F61FC 000F315C 38 05 00 01 */ addi r0, r5, 1 -/* 800F6200 000F3160 90 03 00 00 */ stw r0, 0(r3) -lbl_800F6204: -/* 800F6204 000F3164 80 A3 00 00 */ lwz r5, 0(r3) -/* 800F6208 000F3168 35 25 FF FF */ addic. r9, r5, -1 -/* 800F620C 000F316C 1C 09 00 0C */ mulli r0, r9, 0xc -/* 800F6210 000F3170 7D 25 4B 78 */ mr r5, r9 -/* 800F6214 000F3174 7D 03 02 14 */ add r8, r3, r0 -/* 800F6218 000F3178 39 08 00 04 */ addi r8, r8, 4 -/* 800F621C 000F317C 40 81 00 E8 */ ble lbl_800F6304 -/* 800F6220 000F3180 55 20 F0 BF */ rlwinm. r0, r9, 0x1e, 2, 0x1f -/* 800F6224 000F3184 7C 09 03 A6 */ mtctr r0 -/* 800F6228 000F3188 41 82 00 A8 */ beq lbl_800F62D0 -lbl_800F622C: -/* 800F622C 000F318C 38 C9 FF FF */ addi r6, r9, -1 -/* 800F6230 000F3190 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F6234 000F3194 38 C9 FF FE */ addi r6, r9, -2 -/* 800F6238 000F3198 7C E3 02 14 */ add r7, r3, r0 -/* 800F623C 000F319C C0 07 00 04 */ lfs f0, 4(r7) -/* 800F6240 000F31A0 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F6244 000F31A4 38 C9 FF FD */ addi r6, r9, -3 -/* 800F6248 000F31A8 D0 08 00 00 */ stfs f0, 0(r8) -/* 800F624C 000F31AC C0 07 00 08 */ lfs f0, 8(r7) -/* 800F6250 000F31B0 D0 08 00 04 */ stfs f0, 4(r8) -/* 800F6254 000F31B4 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F6258 000F31B8 7C E3 02 14 */ add r7, r3, r0 -/* 800F625C 000F31BC 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F6260 000F31C0 38 C9 FF FC */ addi r6, r9, -4 -/* 800F6264 000F31C4 D0 08 00 08 */ stfs f0, 8(r8) -/* 800F6268 000F31C8 39 29 FF FC */ addi r9, r9, -4 -/* 800F626C 000F31CC C0 07 00 04 */ lfs f0, 4(r7) -/* 800F6270 000F31D0 D0 08 FF F4 */ stfs f0, -0xc(r8) -/* 800F6274 000F31D4 C0 07 00 08 */ lfs f0, 8(r7) -/* 800F6278 000F31D8 D0 08 FF F8 */ stfs f0, -8(r8) -/* 800F627C 000F31DC C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F6280 000F31E0 7C E3 02 14 */ add r7, r3, r0 -/* 800F6284 000F31E4 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F6288 000F31E8 D0 08 FF FC */ stfs f0, -4(r8) -/* 800F628C 000F31EC C0 07 00 04 */ lfs f0, 4(r7) -/* 800F6290 000F31F0 D0 08 FF E8 */ stfs f0, -0x18(r8) -/* 800F6294 000F31F4 C0 07 00 08 */ lfs f0, 8(r7) -/* 800F6298 000F31F8 D0 08 FF EC */ stfs f0, -0x14(r8) -/* 800F629C 000F31FC C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F62A0 000F3200 7C E3 02 14 */ add r7, r3, r0 -/* 800F62A4 000F3204 D0 08 FF F0 */ stfs f0, -0x10(r8) -/* 800F62A8 000F3208 C0 07 00 04 */ lfs f0, 4(r7) -/* 800F62AC 000F320C D0 08 FF DC */ stfs f0, -0x24(r8) -/* 800F62B0 000F3210 C0 07 00 08 */ lfs f0, 8(r7) -/* 800F62B4 000F3214 D0 08 FF E0 */ stfs f0, -0x20(r8) -/* 800F62B8 000F3218 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F62BC 000F321C D0 08 FF E4 */ stfs f0, -0x1c(r8) -/* 800F62C0 000F3220 39 08 FF D0 */ addi r8, r8, -48 -/* 800F62C4 000F3224 42 00 FF 68 */ bdnz lbl_800F622C -/* 800F62C8 000F3228 70 A5 00 03 */ andi. r5, r5, 3 -/* 800F62CC 000F322C 41 82 00 38 */ beq lbl_800F6304 -lbl_800F62D0: -/* 800F62D0 000F3230 7C A9 03 A6 */ mtctr r5 -lbl_800F62D4: -/* 800F62D4 000F3234 38 C9 FF FF */ addi r6, r9, -1 -/* 800F62D8 000F3238 39 29 FF FF */ addi r9, r9, -1 -/* 800F62DC 000F323C 1C 06 00 0C */ mulli r0, r6, 0xc -/* 800F62E0 000F3240 7C E3 02 14 */ add r7, r3, r0 -/* 800F62E4 000F3244 C0 07 00 04 */ lfs f0, 4(r7) -/* 800F62E8 000F3248 D0 08 00 00 */ stfs f0, 0(r8) -/* 800F62EC 000F324C C0 07 00 08 */ lfs f0, 8(r7) -/* 800F62F0 000F3250 D0 08 00 04 */ stfs f0, 4(r8) -/* 800F62F4 000F3254 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 800F62F8 000F3258 D0 08 00 08 */ stfs f0, 8(r8) -/* 800F62FC 000F325C 39 08 FF F4 */ addi r8, r8, -12 -/* 800F6300 000F3260 42 00 FF D4 */ bdnz lbl_800F62D4 -lbl_800F6304: -/* 800F6304 000F3264 C0 04 00 00 */ lfs f0, 0(r4) -/* 800F6308 000F3268 D0 03 00 04 */ stfs f0, 4(r3) -/* 800F630C 000F326C C0 04 00 04 */ lfs f0, 4(r4) -/* 800F6310 000F3270 D0 03 00 08 */ stfs f0, 8(r3) -/* 800F6314 000F3274 C0 04 00 08 */ lfs f0, 8(r4) -/* 800F6318 000F3278 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 800F631C 000F327C 4E 80 00 20 */ blr - -.global sub_800f6320 -sub_800f6320: -/* 800F6320 000F3280 80 03 00 00 */ lwz r0, 0(r3) -/* 800F6324 000F3284 2C 00 00 05 */ cmpwi r0, 5 -/* 800F6328 000F3288 40 80 00 40 */ bge lbl_800F6368 -/* 800F632C 000F328C 54 00 20 36 */ slwi r0, r0, 4 -/* 800F6330 000F3290 7C A3 02 14 */ add r5, r3, r0 -/* 800F6334 000F3294 34 A5 00 04 */ addic. r5, r5, 4 -/* 800F6338 000F3298 41 82 00 24 */ beq lbl_800F635C -/* 800F633C 000F329C C0 04 00 00 */ lfs f0, 0(r4) -/* 800F6340 000F32A0 D0 05 00 00 */ stfs f0, 0(r5) -/* 800F6344 000F32A4 C0 04 00 04 */ lfs f0, 4(r4) -/* 800F6348 000F32A8 D0 05 00 04 */ stfs f0, 4(r5) -/* 800F634C 000F32AC C0 04 00 08 */ lfs f0, 8(r4) -/* 800F6350 000F32B0 D0 05 00 08 */ stfs f0, 8(r5) -/* 800F6354 000F32B4 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 800F6358 000F32B8 D0 05 00 0C */ stfs f0, 0xc(r5) -lbl_800F635C: -/* 800F635C 000F32BC 80 A3 00 00 */ lwz r5, 0(r3) -/* 800F6360 000F32C0 38 05 00 01 */ addi r0, r5, 1 -/* 800F6364 000F32C4 90 03 00 00 */ stw r0, 0(r3) -lbl_800F6368: -/* 800F6368 000F32C8 80 A3 00 00 */ lwz r5, 0(r3) -/* 800F636C 000F32CC 35 65 FF FF */ addic. r11, r5, -1 -/* 800F6370 000F32D0 55 60 20 36 */ slwi r0, r11, 4 -/* 800F6374 000F32D4 7D 65 5B 78 */ mr r5, r11 -/* 800F6378 000F32D8 7D 43 02 14 */ add r10, r3, r0 -/* 800F637C 000F32DC 39 4A 00 04 */ addi r10, r10, 4 -/* 800F6380 000F32E0 40 81 01 10 */ ble lbl_800F6490 -/* 800F6384 000F32E4 55 60 F0 BF */ rlwinm. r0, r11, 0x1e, 2, 0x1f -/* 800F6388 000F32E8 7C 09 03 A6 */ mtctr r0 -/* 800F638C 000F32EC 41 82 00 C8 */ beq lbl_800F6454 -lbl_800F6390: -/* 800F6390 000F32F0 39 0B FF FF */ addi r8, r11, -1 -/* 800F6394 000F32F4 55 07 20 36 */ slwi r7, r8, 4 -/* 800F6398 000F32F8 7D 23 3A 14 */ add r9, r3, r7 -/* 800F639C 000F32FC 39 0B FF FE */ addi r8, r11, -2 -/* 800F63A0 000F3300 C0 09 00 04 */ lfs f0, 4(r9) -/* 800F63A4 000F3304 55 07 20 36 */ slwi r7, r8, 4 -/* 800F63A8 000F3308 39 0B FF FD */ addi r8, r11, -3 -/* 800F63AC 000F330C D0 0A 00 00 */ stfs f0, 0(r10) -/* 800F63B0 000F3310 80 C9 00 08 */ lwz r6, 8(r9) -/* 800F63B4 000F3314 80 09 00 0C */ lwz r0, 0xc(r9) -/* 800F63B8 000F3318 90 CA 00 04 */ stw r6, 4(r10) -/* 800F63BC 000F331C 90 0A 00 08 */ stw r0, 8(r10) -/* 800F63C0 000F3320 80 09 00 10 */ lwz r0, 0x10(r9) -/* 800F63C4 000F3324 7D 23 3A 14 */ add r9, r3, r7 -/* 800F63C8 000F3328 55 07 20 36 */ slwi r7, r8, 4 -/* 800F63CC 000F332C 39 0B FF FC */ addi r8, r11, -4 -/* 800F63D0 000F3330 90 0A 00 0C */ stw r0, 0xc(r10) -/* 800F63D4 000F3334 39 6B FF FC */ addi r11, r11, -4 -/* 800F63D8 000F3338 C0 09 00 04 */ lfs f0, 4(r9) -/* 800F63DC 000F333C D0 0A FF F0 */ stfs f0, -0x10(r10) -/* 800F63E0 000F3340 80 C9 00 08 */ lwz r6, 8(r9) -/* 800F63E4 000F3344 80 09 00 0C */ lwz r0, 0xc(r9) -/* 800F63E8 000F3348 90 CA FF F4 */ stw r6, -0xc(r10) -/* 800F63EC 000F334C 90 0A FF F8 */ stw r0, -8(r10) -/* 800F63F0 000F3350 80 09 00 10 */ lwz r0, 0x10(r9) -/* 800F63F4 000F3354 7D 23 3A 14 */ add r9, r3, r7 -/* 800F63F8 000F3358 55 07 20 36 */ slwi r7, r8, 4 -/* 800F63FC 000F335C 90 0A FF FC */ stw r0, -4(r10) -/* 800F6400 000F3360 C0 09 00 04 */ lfs f0, 4(r9) -/* 800F6404 000F3364 D0 0A FF E0 */ stfs f0, -0x20(r10) -/* 800F6408 000F3368 80 C9 00 08 */ lwz r6, 8(r9) -/* 800F640C 000F336C 80 09 00 0C */ lwz r0, 0xc(r9) -/* 800F6410 000F3370 90 CA FF E4 */ stw r6, -0x1c(r10) -/* 800F6414 000F3374 90 0A FF E8 */ stw r0, -0x18(r10) -/* 800F6418 000F3378 80 09 00 10 */ lwz r0, 0x10(r9) -/* 800F641C 000F337C 7D 23 3A 14 */ add r9, r3, r7 -/* 800F6420 000F3380 90 0A FF EC */ stw r0, -0x14(r10) -/* 800F6424 000F3384 C0 09 00 04 */ lfs f0, 4(r9) -/* 800F6428 000F3388 D0 0A FF D0 */ stfs f0, -0x30(r10) -/* 800F642C 000F338C 80 C9 00 08 */ lwz r6, 8(r9) -/* 800F6430 000F3390 80 09 00 0C */ lwz r0, 0xc(r9) -/* 800F6434 000F3394 90 CA FF D4 */ stw r6, -0x2c(r10) -/* 800F6438 000F3398 90 0A FF D8 */ stw r0, -0x28(r10) -/* 800F643C 000F339C 80 09 00 10 */ lwz r0, 0x10(r9) -/* 800F6440 000F33A0 90 0A FF DC */ stw r0, -0x24(r10) -/* 800F6444 000F33A4 39 4A FF C0 */ addi r10, r10, -64 -/* 800F6448 000F33A8 42 00 FF 48 */ bdnz lbl_800F6390 -/* 800F644C 000F33AC 70 A5 00 03 */ andi. r5, r5, 3 -/* 800F6450 000F33B0 41 82 00 40 */ beq lbl_800F6490 -lbl_800F6454: -/* 800F6454 000F33B4 7C A9 03 A6 */ mtctr r5 -lbl_800F6458: -/* 800F6458 000F33B8 39 0B FF FF */ addi r8, r11, -1 -/* 800F645C 000F33BC 39 6B FF FF */ addi r11, r11, -1 -/* 800F6460 000F33C0 55 07 20 36 */ slwi r7, r8, 4 -/* 800F6464 000F33C4 7D 23 3A 14 */ add r9, r3, r7 -/* 800F6468 000F33C8 C0 09 00 04 */ lfs f0, 4(r9) -/* 800F646C 000F33CC D0 0A 00 00 */ stfs f0, 0(r10) -/* 800F6470 000F33D0 80 C9 00 08 */ lwz r6, 8(r9) -/* 800F6474 000F33D4 80 09 00 0C */ lwz r0, 0xc(r9) -/* 800F6478 000F33D8 90 CA 00 04 */ stw r6, 4(r10) -/* 800F647C 000F33DC 90 0A 00 08 */ stw r0, 8(r10) -/* 800F6480 000F33E0 80 09 00 10 */ lwz r0, 0x10(r9) -/* 800F6484 000F33E4 90 0A 00 0C */ stw r0, 0xc(r10) -/* 800F6488 000F33E8 39 4A FF F0 */ addi r10, r10, -16 -/* 800F648C 000F33EC 42 00 FF CC */ bdnz lbl_800F6458 -lbl_800F6490: -/* 800F6490 000F33F0 C0 04 00 00 */ lfs f0, 0(r4) -/* 800F6494 000F33F4 D0 03 00 04 */ stfs f0, 4(r3) -/* 800F6498 000F33F8 80 A4 00 04 */ lwz r5, 4(r4) -/* 800F649C 000F33FC 80 04 00 08 */ lwz r0, 8(r4) -/* 800F64A0 000F3400 90 A3 00 08 */ stw r5, 8(r3) -/* 800F64A4 000F3404 90 03 00 0C */ stw r0, 0xc(r3) -/* 800F64A8 000F3408 80 04 00 0C */ lwz r0, 0xc(r4) -/* 800F64AC 000F340C 90 03 00 10 */ stw r0, 0x10(r3) -/* 800F64B0 000F3410 4E 80 00 20 */ blr - -.global BallTurnInput__10CMorphBallCFRC11CFinalInput -BallTurnInput__10CMorphBallCFRC11CFinalInput: -/* 800F64B4 000F3414 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F64B8 000F3418 7C 08 02 A6 */ mflr r0 -/* 800F64BC 000F341C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F64C0 000F3420 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 800F64C4 000F3424 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 800F64C8 000F3428 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F64CC 000F342C 7C 9F 23 78 */ mr r31, r4 -/* 800F64D0 000F3430 48 00 27 C9 */ bl IsMovementAllowed__10CMorphBallCFv -/* 800F64D4 000F3434 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F64D8 000F3438 40 82 00 0C */ bne lbl_800F64E4 -/* 800F64DC 000F343C C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F64E0 000F3440 48 00 00 24 */ b lbl_800F6504 -lbl_800F64E4: -/* 800F64E4 000F3444 7F E4 FB 78 */ mr r4, r31 -/* 800F64E8 000F3448 38 60 00 02 */ li r3, 2 -/* 800F64EC 000F344C 4B F1 64 2D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F64F0 000F3450 FF E0 08 90 */ fmr f31, f1 -/* 800F64F4 000F3454 7F E4 FB 78 */ mr r4, r31 -/* 800F64F8 000F3458 38 60 00 03 */ li r3, 3 -/* 800F64FC 000F345C 4B F1 64 1D */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F6500 000F3460 EC 3F 08 28 */ fsubs f1, f31, f1 -lbl_800F6504: -/* 800F6504 000F3464 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 800F6508 000F3468 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F650C 000F346C CB E1 00 10 */ lfd f31, 0x10(r1) -/* 800F6510 000F3470 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F6514 000F3474 7C 08 03 A6 */ mtlr r0 -/* 800F6518 000F3478 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F651C 000F347C 4E 80 00 20 */ blr - -.global CalculateBallContactInfo__10CMorphBallCFR9CVector3fR9CVector3f -CalculateBallContactInfo__10CMorphBallCFR9CVector3fR9CVector3f: -/* 800F6520 000F3480 80 03 00 74 */ lwz r0, 0x74(r3) -/* 800F6524 000F3484 2C 00 00 00 */ cmpwi r0, 0 -/* 800F6528 000F3488 40 81 00 3C */ ble lbl_800F6564 -/* 800F652C 000F348C C0 03 00 C0 */ lfs f0, 0xc0(r3) -/* 800F6530 000F3490 D0 04 00 00 */ stfs f0, 0(r4) -/* 800F6534 000F3494 C0 03 00 C4 */ lfs f0, 0xc4(r3) -/* 800F6538 000F3498 D0 04 00 04 */ stfs f0, 4(r4) -/* 800F653C 000F349C C0 03 00 C8 */ lfs f0, 0xc8(r3) -/* 800F6540 000F34A0 D0 04 00 08 */ stfs f0, 8(r4) -/* 800F6544 000F34A4 C0 03 00 78 */ lfs f0, 0x78(r3) -/* 800F6548 000F34A8 D0 05 00 00 */ stfs f0, 0(r5) -/* 800F654C 000F34AC C0 03 00 7C */ lfs f0, 0x7c(r3) -/* 800F6550 000F34B0 D0 05 00 04 */ stfs f0, 4(r5) -/* 800F6554 000F34B4 C0 03 00 80 */ lfs f0, 0x80(r3) -/* 800F6558 000F34B8 38 60 00 01 */ li r3, 1 -/* 800F655C 000F34BC D0 05 00 08 */ stfs f0, 8(r5) -/* 800F6560 000F34C0 4E 80 00 20 */ blr -lbl_800F6564: -/* 800F6564 000F34C4 38 60 00 00 */ li r3, 0 -/* 800F6568 000F34C8 4E 80 00 20 */ blr - -.global CalculateSurfaceToWorld__10CMorphBallCFRC9CVector3fRC9CVector3fRC9CVector3f -CalculateSurfaceToWorld__10CMorphBallCFRC9CVector3fRC9CVector3fRC9CVector3f: -/* 800F656C 000F34CC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800F6570 000F34D0 7C 08 02 A6 */ mflr r0 -/* 800F6574 000F34D4 90 01 00 74 */ stw r0, 0x74(r1) -/* 800F6578 000F34D8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800F657C 000F34DC 7C FF 3B 78 */ mr r31, r7 -/* 800F6580 000F34E0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800F6584 000F34E4 7C DE 33 78 */ mr r30, r6 -/* 800F6588 000F34E8 93 A1 00 64 */ stw r29, 0x64(r1) -/* 800F658C 000F34EC 7C BD 2B 78 */ mr r29, r5 -/* 800F6590 000F34F0 93 81 00 60 */ stw r28, 0x60(r1) -/* 800F6594 000F34F4 7C 7C 1B 78 */ mr r28, r3 -/* 800F6598 000F34F8 7F E3 FB 78 */ mr r3, r31 -/* 800F659C 000F34FC 48 21 E1 5D */ bl CanBeNormalized__9CVector3fCFv -/* 800F65A0 000F3500 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F65A4 000F3504 41 82 01 20 */ beq lbl_800F66C4 -/* 800F65A8 000F3508 7F E4 FB 78 */ mr r4, r31 -/* 800F65AC 000F350C 38 61 00 2C */ addi r3, r1, 0x2c -/* 800F65B0 000F3510 48 21 E2 A1 */ bl AsNormalized__9CVector3fCFv -/* 800F65B4 000F3514 C0 7F 00 00 */ lfs f3, 0(r31) -/* 800F65B8 000F3518 38 61 00 44 */ addi r3, r1, 0x44 -/* 800F65BC 000F351C C1 1D 00 08 */ lfs f8, 8(r29) -/* 800F65C0 000F3520 C0 DF 00 04 */ lfs f6, 4(r31) -/* 800F65C4 000F3524 C0 9D 00 00 */ lfs f4, 0(r29) -/* 800F65C8 000F3528 EC 28 00 F2 */ fmuls f1, f8, f3 -/* 800F65CC 000F352C C0 5F 00 08 */ lfs f2, 8(r31) -/* 800F65D0 000F3530 C0 FD 00 04 */ lfs f7, 4(r29) -/* 800F65D4 000F3534 EC 04 01 B2 */ fmuls f0, f4, f6 -/* 800F65D8 000F3538 EC 22 09 38 */ fmsubs f1, f2, f4, f1 -/* 800F65DC 000F353C C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 800F65E0 000F3540 EC 47 00 B2 */ fmuls f2, f7, f2 -/* 800F65E4 000F3544 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 800F65E8 000F3548 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 -/* 800F65EC 000F354C C0 61 00 34 */ lfs f3, 0x34(r1) -/* 800F65F0 000F3550 EC 46 12 38 */ fmsubs f2, f6, f8, f2 -/* 800F65F4 000F3554 D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 800F65F8 000F3558 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 800F65FC 000F355C D0 61 00 58 */ stfs f3, 0x58(r1) -/* 800F6600 000F3560 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 800F6604 000F3564 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800F6608 000F3568 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800F660C 000F356C 48 21 E0 ED */ bl CanBeNormalized__9CVector3fCFv -/* 800F6610 000F3570 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F6614 000F3574 41 82 00 B0 */ beq lbl_800F66C4 -/* 800F6618 000F3578 38 61 00 44 */ addi r3, r1, 0x44 -/* 800F661C 000F357C 48 21 E2 DD */ bl Normalize__9CVector3fFv -/* 800F6620 000F3580 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 800F6624 000F3584 38 61 00 20 */ addi r3, r1, 0x20 -/* 800F6628 000F3588 C0 C1 00 50 */ lfs f6, 0x50(r1) -/* 800F662C 000F358C 38 81 00 14 */ addi r4, r1, 0x14 -/* 800F6630 000F3590 C0 81 00 4C */ lfs f4, 0x4c(r1) -/* 800F6634 000F3594 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 800F6638 000F3598 EC 06 00 F2 */ fmuls f0, f6, f3 -/* 800F663C 000F359C C0 E1 00 44 */ lfs f7, 0x44(r1) -/* 800F6640 000F35A0 C0 A1 00 58 */ lfs f5, 0x58(r1) -/* 800F6644 000F35A4 EC 41 01 32 */ fmuls f2, f1, f4 -/* 800F6648 000F35A8 EC 07 00 78 */ fmsubs f0, f7, f1, f0 -/* 800F664C 000F35AC EC 25 01 F2 */ fmuls f1, f5, f7 -/* 800F6650 000F35B0 EC 43 11 78 */ fmsubs f2, f3, f5, f2 -/* 800F6654 000F35B4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800F6658 000F35B8 EC 04 09 B8 */ fmsubs f0, f4, f6, f1 -/* 800F665C 000F35BC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 800F6660 000F35C0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800F6664 000F35C4 48 21 E1 ED */ bl AsNormalized__9CVector3fCFv -/* 800F6668 000F35C8 C0 7E 00 04 */ lfs f3, 4(r30) -/* 800F666C 000F35CC 7F 83 E3 78 */ mr r3, r28 -/* 800F6670 000F35D0 C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) -/* 800F6674 000F35D4 38 81 00 44 */ addi r4, r1, 0x44 -/* 800F6678 000F35D8 C0 3E 00 08 */ lfs f1, 8(r30) -/* 800F667C 000F35DC 38 A1 00 50 */ addi r5, r1, 0x50 -/* 800F6680 000F35E0 C0 1E 00 00 */ lfs f0, 0(r30) -/* 800F6684 000F35E4 EC A3 10 2A */ fadds f5, f3, f2 -/* 800F6688 000F35E8 EC 81 10 2A */ fadds f4, f1, f2 -/* 800F668C 000F35EC C0 61 00 20 */ lfs f3, 0x20(r1) -/* 800F6690 000F35F0 EC 00 10 2A */ fadds f0, f0, f2 -/* 800F6694 000F35F4 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 800F6698 000F35F8 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 800F669C 000F35FC D0 61 00 38 */ stfs f3, 0x38(r1) -/* 800F66A0 000F3600 38 C1 00 38 */ addi r6, r1, 0x38 -/* 800F66A4 000F3604 38 E1 00 08 */ addi r7, r1, 8 -/* 800F66A8 000F3608 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 800F66AC 000F360C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 800F66B0 000F3610 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F66B4 000F3614 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 800F66B8 000F3618 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 800F66BC 000F361C 48 21 C7 A1 */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 -/* 800F66C0 000F3620 48 00 00 14 */ b lbl_800F66D4 -lbl_800F66C4: -/* 800F66C4 000F3624 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800F66C8 000F3628 7F 83 E3 78 */ mr r3, r28 -/* 800F66CC 000F362C 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 800F66D0 000F3630 48 21 C4 A5 */ bl __ct__12CTransform4fFRC12CTransform4f -lbl_800F66D4: -/* 800F66D4 000F3634 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800F66D8 000F3638 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800F66DC 000F363C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800F66E0 000F3640 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 800F66E4 000F3644 83 81 00 60 */ lwz r28, 0x60(r1) -/* 800F66E8 000F3648 7C 08 03 A6 */ mtlr r0 -/* 800F66EC 000F364C 38 21 00 70 */ addi r1, r1, 0x70 -/* 800F66F0 000F3650 4E 80 00 20 */ blr - -.global GetBallToWorld__10CMorphBallCFv -GetBallToWorld__10CMorphBallCFv: -/* 800F66F4 000F3654 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800F66F8 000F3658 7C 08 02 A6 */ mflr r0 -/* 800F66FC 000F365C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800F6700 000F3660 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 800F6704 000F3664 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 800F6708 000F3668 7C 9E 23 78 */ mr r30, r4 -/* 800F670C 000F366C 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 800F6710 000F3670 7C 7D 1B 78 */ mr r29, r3 -/* 800F6714 000F3674 7F C3 F3 78 */ mr r3, r30 -/* 800F6718 000F3678 80 84 00 00 */ lwz r4, 0(r4) -/* 800F671C 000F367C 3B E4 00 34 */ addi r31, r4, 0x34 -/* 800F6720 000F3680 48 00 26 E5 */ bl GetBallRadius__10CMorphBallCFv -/* 800F6724 000F3684 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F6728 000F3688 7F E4 FB 78 */ mr r4, r31 -/* 800F672C 000F368C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F6730 000F3690 38 61 00 20 */ addi r3, r1, 0x20 -/* 800F6734 000F3694 C0 A5 00 60 */ lfs f5, 0x60(r5) -/* 800F6738 000F3698 C0 85 00 50 */ lfs f4, 0x50(r5) -/* 800F673C 000F369C C0 45 00 40 */ lfs f2, 0x40(r5) -/* 800F6740 000F36A0 EC 25 08 2A */ fadds f1, f5, f1 -/* 800F6744 000F36A4 EC 64 00 2A */ fadds f3, f4, f0 -/* 800F6748 000F36A8 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 800F674C 000F36AC EC 02 00 2A */ fadds f0, f2, f0 -/* 800F6750 000F36B0 D0 41 00 08 */ stfs f2, 8(r1) -/* 800F6754 000F36B4 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 800F6758 000F36B8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800F675C 000F36BC D0 61 00 18 */ stfs f3, 0x18(r1) -/* 800F6760 000F36C0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800F6764 000F36C4 48 21 C4 DD */ bl GetRotation__12CTransform4fCFv -/* 800F6768 000F36C8 38 61 00 50 */ addi r3, r1, 0x50 -/* 800F676C 000F36CC 38 81 00 14 */ addi r4, r1, 0x14 -/* 800F6770 000F36D0 48 21 C9 D1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800F6774 000F36D4 38 61 00 80 */ addi r3, r1, 0x80 -/* 800F6778 000F36D8 38 81 00 50 */ addi r4, r1, 0x50 -/* 800F677C 000F36DC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 800F6780 000F36E0 48 21 C1 D1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800F6784 000F36E4 7F A3 EB 78 */ mr r3, r29 -/* 800F6788 000F36E8 38 81 00 80 */ addi r4, r1, 0x80 -/* 800F678C 000F36EC 48 21 C3 E9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F6790 000F36F0 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800F6794 000F36F4 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 800F6798 000F36F8 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 800F679C 000F36FC 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 800F67A0 000F3700 7C 08 03 A6 */ mtlr r0 -/* 800F67A4 000F3704 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800F67A8 000F3708 4E 80 00 20 */ blr - -.global GetSwooshToWorld__10CMorphBallCFv -GetSwooshToWorld__10CMorphBallCFv: -/* 800F67AC 000F370C 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 800F67B0 000F3710 7C 08 02 A6 */ mflr r0 -/* 800F67B4 000F3714 90 01 01 24 */ stw r0, 0x124(r1) -/* 800F67B8 000F3718 93 E1 01 1C */ stw r31, 0x11c(r1) -/* 800F67BC 000F371C 7C 9F 23 78 */ mr r31, r4 -/* 800F67C0 000F3720 93 C1 01 18 */ stw r30, 0x118(r1) -/* 800F67C4 000F3724 7C 7E 1B 78 */ mr r30, r3 -/* 800F67C8 000F3728 7F E3 FB 78 */ mr r3, r31 -/* 800F67CC 000F372C C0 04 00 30 */ lfs f0, 0x30(r4) -/* 800F67D0 000F3730 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F67D4 000F3734 48 00 26 31 */ bl GetBallRadius__10CMorphBallCFv -/* 800F67D8 000F3738 80 BF 00 00 */ lwz r5, 0(r31) -/* 800F67DC 000F373C 38 61 00 24 */ addi r3, r1, 0x24 -/* 800F67E0 000F3740 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F67E4 000F3744 38 81 00 08 */ addi r4, r1, 8 -/* 800F67E8 000F3748 C0 A5 00 60 */ lfs f5, 0x60(r5) -/* 800F67EC 000F374C C0 85 00 50 */ lfs f4, 0x50(r5) -/* 800F67F0 000F3750 C0 45 00 40 */ lfs f2, 0x40(r5) -/* 800F67F4 000F3754 EC 25 08 2A */ fadds f1, f5, f1 -/* 800F67F8 000F3758 EC 64 00 2A */ fadds f3, f4, f0 -/* 800F67FC 000F375C D0 81 00 10 */ stfs f4, 0x10(r1) -/* 800F6800 000F3760 EC 02 00 2A */ fadds f0, f2, f0 -/* 800F6804 000F3764 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 800F6808 000F3768 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 800F680C 000F376C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800F6810 000F3770 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 800F6814 000F3774 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 800F6818 000F3778 48 21 D0 91 */ bl RotateY__12CTransform4fFRC9CRelAngle -/* 800F681C 000F377C 38 61 00 54 */ addi r3, r1, 0x54 -/* 800F6820 000F3780 38 9F 19 24 */ addi r4, r31, 0x1924 -/* 800F6824 000F3784 48 21 C4 1D */ bl GetRotation__12CTransform4fCFv -/* 800F6828 000F3788 38 61 00 84 */ addi r3, r1, 0x84 -/* 800F682C 000F378C 38 81 00 18 */ addi r4, r1, 0x18 -/* 800F6830 000F3790 48 21 C9 11 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800F6834 000F3794 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 800F6838 000F3798 38 81 00 84 */ addi r4, r1, 0x84 -/* 800F683C 000F379C 38 A1 00 54 */ addi r5, r1, 0x54 -/* 800F6840 000F37A0 48 21 C1 11 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800F6844 000F37A4 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 800F6848 000F37A8 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 800F684C 000F37AC 38 A1 00 24 */ addi r5, r1, 0x24 -/* 800F6850 000F37B0 48 21 C1 01 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800F6854 000F37B4 7F C3 F3 78 */ mr r3, r30 -/* 800F6858 000F37B8 38 81 00 E4 */ addi r4, r1, 0xe4 -/* 800F685C 000F37BC 48 21 C3 19 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F6860 000F37C0 80 01 01 24 */ lwz r0, 0x124(r1) -/* 800F6864 000F37C4 83 E1 01 1C */ lwz r31, 0x11c(r1) -/* 800F6868 000F37C8 83 C1 01 18 */ lwz r30, 0x118(r1) -/* 800F686C 000F37CC 7C 08 03 A6 */ mtlr r0 -/* 800F6870 000F37D0 38 21 01 20 */ addi r1, r1, 0x120 -/* 800F6874 000F37D4 4E 80 00 20 */ blr - -.global ComputeMarioMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf -ComputeMarioMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf: -/* 800F6878 000F37D8 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 800F687C 000F37DC 7C 08 02 A6 */ mflr r0 -/* 800F6880 000F37E0 90 01 02 04 */ stw r0, 0x204(r1) -/* 800F6884 000F37E4 DB E1 01 F0 */ stfd f31, 0x1f0(r1) -/* 800F6888 000F37E8 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 -/* 800F688C 000F37EC DB C1 01 E0 */ stfd f30, 0x1e0(r1) -/* 800F6890 000F37F0 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 -/* 800F6894 000F37F4 DB A1 01 D0 */ stfd f29, 0x1d0(r1) -/* 800F6898 000F37F8 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 -/* 800F689C 000F37FC DB 81 01 C0 */ stfd f28, 0x1c0(r1) -/* 800F68A0 000F3800 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 -/* 800F68A4 000F3804 DB 61 01 B0 */ stfd f27, 0x1b0(r1) -/* 800F68A8 000F3808 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 -/* 800F68AC 000F380C DB 41 01 A0 */ stfd f26, 0x1a0(r1) -/* 800F68B0 000F3810 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 -/* 800F68B4 000F3814 DB 21 01 90 */ stfd f25, 0x190(r1) -/* 800F68B8 000F3818 F3 21 01 98 */ psq_st f25, 408(r1), 0, qr0 -/* 800F68BC 000F381C DB 01 01 80 */ stfd f24, 0x180(r1) -/* 800F68C0 000F3820 F3 01 01 88 */ psq_st f24, 392(r1), 0, qr0 -/* 800F68C4 000F3824 93 E1 01 7C */ stw r31, 0x17c(r1) -/* 800F68C8 000F3828 93 C1 01 78 */ stw r30, 0x178(r1) -/* 800F68CC 000F382C 93 A1 01 74 */ stw r29, 0x174(r1) -/* 800F68D0 000F3830 3C C0 80 5A */ lis r6, skZero3f@ha -/* 800F68D4 000F3834 C4 06 66 A0 */ lfsu f0, skZero3f@l(r6) -/* 800F68D8 000F3838 FF 60 08 90 */ fmr f27, f1 -/* 800F68DC 000F383C 7C 7E 1B 78 */ mr r30, r3 -/* 800F68E0 000F3840 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 800F68E4 000F3844 7C 9D 23 78 */ mr r29, r4 -/* 800F68E8 000F3848 7C BF 2B 78 */ mr r31, r5 -/* 800F68EC 000F384C C0 06 00 04 */ lfs f0, 4(r6) -/* 800F68F0 000F3850 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 800F68F4 000F3854 C0 06 00 08 */ lfs f0, 8(r6) -/* 800F68F8 000F3858 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 800F68FC 000F385C C0 06 00 00 */ lfs f0, 0(r6) -/* 800F6900 000F3860 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 800F6904 000F3864 C0 06 00 04 */ lfs f0, 4(r6) -/* 800F6908 000F3868 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 800F690C 000F386C C0 06 00 08 */ lfs f0, 8(r6) -/* 800F6910 000F3870 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 800F6914 000F3874 48 00 23 85 */ bl IsMovementAllowed__10CMorphBallCFv -/* 800F6918 000F3878 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F691C 000F387C 41 82 08 94 */ beq lbl_800F71B0 -/* 800F6920 000F3880 C0 22 80 E4 */ lfs f1, lbl_805A9E04@sda21(r2) -/* 800F6924 000F3884 7F A4 EB 78 */ mr r4, r29 -/* 800F6928 000F3888 C0 02 92 DC */ lfs f0, lbl_805AAFFC@sda21(r2) -/* 800F692C 000F388C 38 60 00 30 */ li r3, 0x30 -/* 800F6930 000F3890 EF 21 00 24 */ fdivs f25, f1, f0 -/* 800F6934 000F3894 4B F1 5F E5 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F6938 000F3898 FC 01 C8 40 */ fcmpo cr0, f1, f25 -/* 800F693C 000F389C 4C 41 13 82 */ cror 2, 1, 2 -/* 800F6940 000F38A0 40 82 00 0C */ bne lbl_800F694C -/* 800F6944 000F38A4 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F6948 000F38A8 48 00 00 08 */ b lbl_800F6950 -lbl_800F694C: -/* 800F694C 000F38AC C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -lbl_800F6950: -/* 800F6950 000F38B0 D0 1E 18 8C */ stfs f0, 0x188c(r30) -/* 800F6954 000F38B4 38 80 00 13 */ li r4, 0x13 -/* 800F6958 000F38B8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 800F695C 000F38BC 80 63 00 00 */ lwz r3, 0(r3) -/* 800F6960 000F38C0 4B F9 B1 61 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 800F6964 000F38C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F6968 000F38C8 41 82 00 A4 */ beq lbl_800F6A0C -/* 800F696C 000F38CC C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F6970 000F38D0 C0 1E 18 8C */ lfs f0, 0x188c(r30) -/* 800F6974 000F38D4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F6978 000F38D8 41 82 00 94 */ beq lbl_800F6A0C -/* 800F697C 000F38DC C0 1E 19 1C */ lfs f0, 0x191c(r30) -/* 800F6980 000F38E0 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800F6984 000F38E4 40 82 00 88 */ bne lbl_800F6A0C -/* 800F6988 000F38E8 80 1E 18 7C */ lwz r0, 0x187c(r30) -/* 800F698C 000F38EC 2C 00 00 01 */ cmpwi r0, 1 -/* 800F6990 000F38F0 41 82 00 48 */ beq lbl_800F69D8 -/* 800F6994 000F38F4 38 60 00 00 */ li r3, 0 -/* 800F6998 000F38F8 38 00 00 01 */ li r0, 1 -/* 800F699C 000F38FC 98 7E 18 BD */ stb r3, 0x18bd(r30) -/* 800F69A0 000F3900 90 1E 18 7C */ stw r0, 0x187c(r30) -/* 800F69A4 000F3904 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F69A8 000F3908 C0 43 00 5C */ lfs f2, 0x5c(r3) -/* 800F69AC 000F390C C0 23 00 4C */ lfs f1, 0x4c(r3) -/* 800F69B0 000F3910 C0 03 00 3C */ lfs f0, 0x3c(r3) -/* 800F69B4 000F3914 D0 1E 18 9C */ stfs f0, 0x189c(r30) -/* 800F69B8 000F3918 D0 3E 18 A0 */ stfs f1, 0x18a0(r30) -/* 800F69BC 000F391C D0 5E 18 A4 */ stfs f2, 0x18a4(r30) -/* 800F69C0 000F3920 C0 1E 18 9C */ lfs f0, 0x189c(r30) -/* 800F69C4 000F3924 D0 1E 18 A8 */ stfs f0, 0x18a8(r30) -/* 800F69C8 000F3928 C0 1E 18 A0 */ lfs f0, 0x18a0(r30) -/* 800F69CC 000F392C D0 1E 18 AC */ stfs f0, 0x18ac(r30) -/* 800F69D0 000F3930 C0 1E 18 A4 */ lfs f0, 0x18a4(r30) -/* 800F69D4 000F3934 D0 1E 18 B0 */ stfs f0, 0x18b0(r30) -lbl_800F69D8: -/* 800F69D8 000F3938 FC 20 D8 90 */ fmr f1, f27 -/* 800F69DC 000F393C 7F C3 F3 78 */ mr r3, r30 -/* 800F69E0 000F3940 7F A4 EB 78 */ mr r4, r29 -/* 800F69E4 000F3944 7F E5 FB 78 */ mr r5, r31 -/* 800F69E8 000F3948 48 00 22 11 */ bl UpdateSpiderBall__10CMorphBallFRC11CFinalInputR13CStateManagerf -/* 800F69EC 000F394C 88 1E 18 BC */ lbz r0, 0x18bc(r30) -/* 800F69F0 000F3950 28 00 00 00 */ cmplwi r0, 0 -/* 800F69F4 000F3954 40 82 00 28 */ bne lbl_800F6A1C -/* 800F69F8 000F3958 38 00 00 00 */ li r0, 0 -/* 800F69FC 000F395C 7F C3 F3 78 */ mr r3, r30 -/* 800F6A00 000F3960 90 1E 18 7C */ stw r0, 0x187c(r30) -/* 800F6A04 000F3964 48 00 1B E9 */ bl ResetSpiderBallForces__10CMorphBallFv -/* 800F6A08 000F3968 48 00 00 14 */ b lbl_800F6A1C -lbl_800F6A0C: -/* 800F6A0C 000F396C 38 00 00 00 */ li r0, 0 -/* 800F6A10 000F3970 7F C3 F3 78 */ mr r3, r30 -/* 800F6A14 000F3974 90 1E 18 7C */ stw r0, 0x187c(r30) -/* 800F6A18 000F3978 48 00 1B D5 */ bl ResetSpiderBallForces__10CMorphBallFv -lbl_800F6A1C: -/* 800F6A1C 000F397C 80 1E 18 7C */ lwz r0, 0x187c(r30) -/* 800F6A20 000F3980 2C 00 00 01 */ cmpwi r0, 1 -/* 800F6A24 000F3984 41 82 07 8C */ beq lbl_800F71B0 -/* 800F6A28 000F3988 7F C3 F3 78 */ mr r3, r30 -/* 800F6A2C 000F398C 7F A4 EB 78 */ mr r4, r29 -/* 800F6A30 000F3990 48 00 23 5D */ bl ForwardInput__10CMorphBallCFRC11CFinalInput -/* 800F6A34 000F3994 FF 40 08 90 */ fmr f26, f1 -/* 800F6A38 000F3998 7F C3 F3 78 */ mr r3, r30 -/* 800F6A3C 000F399C 7F A4 EB 78 */ mr r4, r29 -/* 800F6A40 000F39A0 4B FF FA 75 */ bl BallTurnInput__10CMorphBallCFRC11CFinalInput -/* 800F6A44 000F39A4 FF 00 08 50 */ fneg f24, f1 -/* 800F6A48 000F39A8 7F C3 F3 78 */ mr r3, r30 -/* 800F6A4C 000F39AC 4B FF 93 B1 */ bl ComputeMaxSpeed__10CMorphBallCFv -/* 800F6A50 000F39B0 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F6A54 000F39B4 FF C0 08 90 */ fmr f30, f1 -/* 800F6A58 000F39B8 38 63 01 38 */ addi r3, r3, 0x138 -/* 800F6A5C 000F39BC 48 21 DE 5D */ bl Magnitude__9CVector3fCFv -/* 800F6A60 000F39C0 C3 82 91 50 */ lfs f28, lbl_805AAE70@sda21(r2) -/* 800F6A64 000F39C4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800F6A68 000F39C8 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F6A6C 000F39CC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 800F6A70 000F39D0 FF E0 08 90 */ fmr f31, f1 -/* 800F6A74 000F39D4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 800F6A78 000F39D8 FF 60 E0 90 */ fmr f27, f28 -/* 800F6A7C 000F39DC 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 800F6A80 000F39E0 38 61 01 04 */ addi r3, r1, 0x104 -/* 800F6A84 000F39E4 38 A5 05 4C */ addi r5, r5, 0x54c -/* 800F6A88 000F39E8 48 21 D0 89 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800F6A8C 000F39EC 38 61 01 34 */ addi r3, r1, 0x134 -/* 800F6A90 000F39F0 38 81 01 04 */ addi r4, r1, 0x104 -/* 800F6A94 000F39F4 48 21 C0 E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F6A98 000F39F8 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F6A9C 000F39FC 38 61 00 BC */ addi r3, r1, 0xbc -/* 800F6AA0 000F3A00 38 81 01 34 */ addi r4, r1, 0x134 -/* 800F6AA4 000F3A04 38 A5 01 38 */ addi r5, r5, 0x138 -/* 800F6AA8 000F3A08 48 21 BF 7D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800F6AAC 000F3A0C FC 20 C2 10 */ fabs f1, f24 -/* 800F6AB0 000F3A10 C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) -/* 800F6AB4 000F3A14 C3 21 00 BC */ lfs f25, 0xbc(r1) -/* 800F6AB8 000F3A18 C3 A1 00 C0 */ lfs f29, 0xc0(r1) -/* 800F6ABC 000F3A1C FC 20 08 18 */ frsp f1, f1 -/* 800F6AC0 000F3A20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F6AC4 000F3A24 40 81 00 D0 */ ble lbl_800F6B94 -/* 800F6AC8 000F3A28 EF 18 07 B2 */ fmuls f24, f24, f30 -/* 800F6ACC 000F3A2C 38 81 00 0C */ addi r4, r1, 0xc -/* 800F6AD0 000F3A30 38 6D 88 68 */ addi r3, r13, lbl_805A7428@sda21 -/* 800F6AD4 000F3A34 38 AD 88 6C */ addi r5, r13, lbl_805A742C@sda21 -/* 800F6AD8 000F3A38 EF 78 C8 28 */ fsubs f27, f24, f25 -/* 800F6ADC 000F3A3C FC 00 DA 10 */ fabs f0, f27 -/* 800F6AE0 000F3A40 FC 00 00 18 */ frsp f0, f0 -/* 800F6AE4 000F3A44 EC 00 F0 24 */ fdivs f0, f0, f30 -/* 800F6AE8 000F3A48 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 800F6AEC 000F3A4C 4B F1 57 C9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F6AF0 000F3A50 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) -/* 800F6AF4 000F3A54 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F6AF8 000F3A58 C0 63 00 00 */ lfs f3, 0(r3) -/* 800F6AFC 000F3A5C FC 19 10 6E */ fsel f0, f25, f1, f2 -/* 800F6B00 000F3A60 FC 38 10 6E */ fsel f1, f24, f1, f2 -/* 800F6B04 000F3A64 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800F6B08 000F3A68 41 82 00 44 */ beq lbl_800F6B4C -/* 800F6B0C 000F3A6C C0 02 91 80 */ lfs f0, lbl_805AAEA0@sda21(r2) -/* 800F6B10 000F3A70 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 800F6B14 000F3A74 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F6B18 000F3A78 40 81 00 34 */ ble lbl_800F6B4C -/* 800F6B1C 000F3A7C 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F6B20 000F3A80 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 800F6B24 000F3A84 2C 00 00 02 */ cmpwi r0, 2 -/* 800F6B28 000F3A88 40 82 00 0C */ bne lbl_800F6B34 -/* 800F6B2C 000F3A8C 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 800F6B30 000F3A90 48 00 00 08 */ b lbl_800F6B38 -lbl_800F6B34: -/* 800F6B34 000F3A94 38 00 00 04 */ li r0, 4 -lbl_800F6B38: -/* 800F6B38 000F3A98 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F6B3C 000F3A9C 54 00 10 3A */ slwi r0, r0, 2 -/* 800F6B40 000F3AA0 7C 63 02 14 */ add r3, r3, r0 -/* 800F6B44 000F3AA4 C0 23 00 C4 */ lfs f1, 0xc4(r3) -/* 800F6B48 000F3AA8 48 00 00 30 */ b lbl_800F6B78 -lbl_800F6B4C: -/* 800F6B4C 000F3AAC 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F6B50 000F3AB0 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 800F6B54 000F3AB4 2C 00 00 02 */ cmpwi r0, 2 -/* 800F6B58 000F3AB8 40 82 00 0C */ bne lbl_800F6B64 -/* 800F6B5C 000F3ABC 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 800F6B60 000F3AC0 48 00 00 08 */ b lbl_800F6B68 -lbl_800F6B64: -/* 800F6B64 000F3AC4 38 00 00 04 */ li r0, 4 -lbl_800F6B68: -/* 800F6B68 000F3AC8 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F6B6C 000F3ACC 54 00 10 3A */ slwi r0, r0, 2 -/* 800F6B70 000F3AD0 7C 63 02 14 */ add r3, r3, r0 -/* 800F6B74 000F3AD4 C0 23 00 04 */ lfs f1, 4(r3) -lbl_800F6B78: -/* 800F6B78 000F3AD8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F6B7C 000F3ADC FC 1B 00 40 */ fcmpo cr0, f27, f0 -/* 800F6B80 000F3AE0 40 80 00 10 */ bge lbl_800F6B90 -/* 800F6B84 000F3AE4 FC 00 08 50 */ fneg f0, f1 -/* 800F6B88 000F3AE8 EF 60 00 F2 */ fmuls f27, f0, f3 -/* 800F6B8C 000F3AEC 48 00 00 08 */ b lbl_800F6B94 -lbl_800F6B90: -/* 800F6B90 000F3AF0 EF 61 00 F2 */ fmuls f27, f1, f3 -lbl_800F6B94: -/* 800F6B94 000F3AF4 FC 20 D2 10 */ fabs f1, f26 -/* 800F6B98 000F3AF8 C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) -/* 800F6B9C 000F3AFC FC 20 08 18 */ frsp f1, f1 -/* 800F6BA0 000F3B00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F6BA4 000F3B04 40 81 00 D0 */ ble lbl_800F6C74 -/* 800F6BA8 000F3B08 EF 1A 07 B2 */ fmuls f24, f26, f30 -/* 800F6BAC 000F3B0C 38 81 00 08 */ addi r4, r1, 8 -/* 800F6BB0 000F3B10 38 6D 88 70 */ addi r3, r13, lbl_805A7430@sda21 -/* 800F6BB4 000F3B14 38 AD 88 74 */ addi r5, r13, lbl_805A7434@sda21 -/* 800F6BB8 000F3B18 EF 38 E8 28 */ fsubs f25, f24, f29 -/* 800F6BBC 000F3B1C FC 00 CA 10 */ fabs f0, f25 -/* 800F6BC0 000F3B20 FC 00 00 18 */ frsp f0, f0 -/* 800F6BC4 000F3B24 EC 00 F0 24 */ fdivs f0, f0, f30 -/* 800F6BC8 000F3B28 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F6BCC 000F3B2C 4B F1 56 E9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F6BD0 000F3B30 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) -/* 800F6BD4 000F3B34 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F6BD8 000F3B38 C0 63 00 00 */ lfs f3, 0(r3) -/* 800F6BDC 000F3B3C FC 1D 10 6E */ fsel f0, f29, f1, f2 -/* 800F6BE0 000F3B40 FC 38 10 6E */ fsel f1, f24, f1, f2 -/* 800F6BE4 000F3B44 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800F6BE8 000F3B48 41 82 00 44 */ beq lbl_800F6C2C -/* 800F6BEC 000F3B4C C0 02 91 80 */ lfs f0, lbl_805AAEA0@sda21(r2) -/* 800F6BF0 000F3B50 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 800F6BF4 000F3B54 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F6BF8 000F3B58 40 81 00 34 */ ble lbl_800F6C2C -/* 800F6BFC 000F3B5C 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F6C00 000F3B60 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 800F6C04 000F3B64 2C 00 00 02 */ cmpwi r0, 2 -/* 800F6C08 000F3B68 40 82 00 0C */ bne lbl_800F6C14 -/* 800F6C0C 000F3B6C 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 800F6C10 000F3B70 48 00 00 08 */ b lbl_800F6C18 -lbl_800F6C14: -/* 800F6C14 000F3B74 38 00 00 04 */ li r0, 4 -lbl_800F6C18: -/* 800F6C18 000F3B78 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F6C1C 000F3B7C 54 00 10 3A */ slwi r0, r0, 2 -/* 800F6C20 000F3B80 7C 63 02 14 */ add r3, r3, r0 -/* 800F6C24 000F3B84 C0 23 00 C4 */ lfs f1, 0xc4(r3) -/* 800F6C28 000F3B88 48 00 00 30 */ b lbl_800F6C58 -lbl_800F6C2C: -/* 800F6C2C 000F3B8C 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F6C30 000F3B90 80 03 02 B0 */ lwz r0, 0x2b0(r3) -/* 800F6C34 000F3B94 2C 00 00 02 */ cmpwi r0, 2 -/* 800F6C38 000F3B98 40 82 00 0C */ bne lbl_800F6C44 -/* 800F6C3C 000F3B9C 80 03 02 AC */ lwz r0, 0x2ac(r3) -/* 800F6C40 000F3BA0 48 00 00 08 */ b lbl_800F6C48 -lbl_800F6C44: -/* 800F6C44 000F3BA4 38 00 00 04 */ li r0, 4 -lbl_800F6C48: -/* 800F6C48 000F3BA8 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F6C4C 000F3BAC 54 00 10 3A */ slwi r0, r0, 2 -/* 800F6C50 000F3BB0 7C 63 02 14 */ add r3, r3, r0 -/* 800F6C54 000F3BB4 C0 23 00 04 */ lfs f1, 4(r3) -lbl_800F6C58: -/* 800F6C58 000F3BB8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F6C5C 000F3BBC FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 800F6C60 000F3BC0 40 80 00 10 */ bge lbl_800F6C70 -/* 800F6C64 000F3BC4 FC 00 08 50 */ fneg f0, f1 -/* 800F6C68 000F3BC8 EF 80 00 F2 */ fmuls f28, f0, f3 -/* 800F6C6C 000F3BCC 48 00 00 08 */ b lbl_800F6C74 -lbl_800F6C70: -/* 800F6C70 000F3BD0 EF 81 00 F2 */ fmuls f28, f1, f3 -lbl_800F6C74: -/* 800F6C74 000F3BD4 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F6C78 000F3BD8 FC 00 E0 00 */ fcmpu cr0, f0, f28 -/* 800F6C7C 000F3BDC 40 82 00 28 */ bne lbl_800F6CA4 -/* 800F6C80 000F3BE0 FC 00 D8 00 */ fcmpu cr0, f0, f27 -/* 800F6C84 000F3BE4 40 82 00 20 */ bne lbl_800F6CA4 -/* 800F6C88 000F3BE8 88 1E 1D E4 */ lbz r0, 0x1de4(r30) -/* 800F6C8C 000F3BEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800F6C90 000F3BF0 40 82 00 14 */ bne lbl_800F6CA4 -/* 800F6C94 000F3BF4 7F C3 F3 78 */ mr r3, r30 -/* 800F6C98 000F3BF8 4B FF AD 39 */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F6C9C 000F3BFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F6CA0 000F3C00 41 82 04 F8 */ beq lbl_800F7198 -lbl_800F6CA4: -/* 800F6CA4 000F3C04 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F6CA8 000F3C08 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800F6CAC 000F3C0C D3 81 00 A8 */ stfs f28, 0xa8(r1) -/* 800F6CB0 000F3C10 38 81 01 34 */ addi r4, r1, 0x134 -/* 800F6CB4 000F3C14 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 800F6CB8 000F3C18 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 800F6CBC 000F3C1C D0 01 00 AC */ stfs f0, 0xac(r1) -/* 800F6CC0 000F3C20 48 21 BD C1 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800F6CC4 000F3C24 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F6CC8 000F3C28 38 61 00 98 */ addi r3, r1, 0x98 -/* 800F6CCC 000F3C2C D3 61 00 8C */ stfs f27, 0x8c(r1) -/* 800F6CD0 000F3C30 38 81 01 34 */ addi r4, r1, 0x134 -/* 800F6CD4 000F3C34 C3 21 00 B0 */ lfs f25, 0xb0(r1) -/* 800F6CD8 000F3C38 38 A1 00 8C */ addi r5, r1, 0x8c -/* 800F6CDC 000F3C3C D0 01 00 90 */ stfs f0, 0x90(r1) -/* 800F6CE0 000F3C40 C3 41 00 B4 */ lfs f26, 0xb4(r1) -/* 800F6CE4 000F3C44 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 800F6CE8 000F3C48 C3 61 00 B8 */ lfs f27, 0xb8(r1) -/* 800F6CEC 000F3C4C 48 21 BD 95 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800F6CF0 000F3C50 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 800F6CF4 000F3C54 C0 21 00 98 */ lfs f1, 0x98(r1) -/* 800F6CF8 000F3C58 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 800F6CFC 000F3C5C EC 42 D8 2A */ fadds f2, f2, f27 -/* 800F6D00 000F3C60 EC 21 C8 2A */ fadds f1, f1, f25 -/* 800F6D04 000F3C64 EC 00 D0 2A */ fadds f0, f0, f26 -/* 800F6D08 000F3C68 D0 41 01 00 */ stfs f2, 0x100(r1) -/* 800F6D0C 000F3C6C D0 21 00 F8 */ stfs f1, 0xf8(r1) -/* 800F6D10 000F3C70 D0 01 00 FC */ stfs f0, 0xfc(r1) -/* 800F6D14 000F3C74 D0 3E 00 1C */ stfs f1, 0x1c(r30) -/* 800F6D18 000F3C78 C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 800F6D1C 000F3C7C D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 800F6D20 000F3C80 C0 01 01 00 */ lfs f0, 0x100(r1) -/* 800F6D24 000F3C84 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 800F6D28 000F3C88 88 1E 1D E4 */ lbz r0, 0x1de4(r30) -/* 800F6D2C 000F3C8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800F6D30 000F3C90 41 82 00 70 */ beq lbl_800F6DA0 -/* 800F6D34 000F3C94 7F C3 F3 78 */ mr r3, r30 -/* 800F6D38 000F3C98 4B FF AC 99 */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F6D3C 000F3C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F6D40 000F3CA0 40 82 00 60 */ bne lbl_800F6DA0 -/* 800F6D44 000F3CA4 38 61 00 80 */ addi r3, r1, 0x80 -/* 800F6D48 000F3CA8 38 9E 19 24 */ addi r4, r30, 0x1924 -/* 800F6D4C 000F3CAC 38 A1 00 F8 */ addi r5, r1, 0xf8 -/* 800F6D50 000F3CB0 48 21 BC D5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800F6D54 000F3CB4 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 800F6D58 000F3CB8 38 61 00 74 */ addi r3, r1, 0x74 -/* 800F6D5C 000F3CBC C0 21 00 88 */ lfs f1, 0x88(r1) -/* 800F6D60 000F3CC0 38 9E 19 24 */ addi r4, r30, 0x1924 -/* 800F6D64 000F3CC4 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 800F6D68 000F3CC8 38 A1 00 EC */ addi r5, r1, 0xec -/* 800F6D6C 000F3CCC D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 800F6D70 000F3CD0 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F6D74 000F3CD4 D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 800F6D78 000F3CD8 D0 41 00 EC */ stfs f2, 0xec(r1) -/* 800F6D7C 000F3CDC D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 800F6D80 000F3CE0 D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 800F6D84 000F3CE4 48 21 BC FD */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800F6D88 000F3CE8 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 800F6D8C 000F3CEC C0 21 00 78 */ lfs f1, 0x78(r1) -/* 800F6D90 000F3CF0 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 800F6D94 000F3CF4 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 800F6D98 000F3CF8 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 800F6D9C 000F3CFC D0 01 01 00 */ stfs f0, 0x100(r1) -lbl_800F6DA0: -/* 800F6DA0 000F3D00 7F C3 F3 78 */ mr r3, r30 -/* 800F6DA4 000F3D04 4B FF AC 2D */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F6DA8 000F3D08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F6DAC 000F3D0C 41 82 01 F0 */ beq lbl_800F6F9C -/* 800F6DB0 000F3D10 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 800F6DB4 000F3D14 48 21 DB 05 */ bl Magnitude__9CVector3fCFv -/* 800F6DB8 000F3D18 C0 02 92 E0 */ lfs f0, lbl_805AB000@sda21(r2) -/* 800F6DBC 000F3D1C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F6DC0 000F3D20 40 81 01 DC */ ble lbl_800F6F9C -/* 800F6DC4 000F3D24 7F C3 F3 78 */ mr r3, r30 -/* 800F6DC8 000F3D28 4B FF AB ED */ bl GetIsInHalfPipeModeInAir__10CMorphBallCFv -/* 800F6DCC 000F3D2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F6DD0 000F3D30 41 82 00 9C */ beq lbl_800F6E6C -/* 800F6DD4 000F3D34 C0 02 91 9C */ lfs f0, lbl_805AAEBC@sda21(r2) -/* 800F6DD8 000F3D38 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F6DDC 000F3D3C 4C 40 13 82 */ cror 2, 0, 2 -/* 800F6DE0 000F3D40 40 82 00 8C */ bne lbl_800F6E6C -/* 800F6DE4 000F3D44 C3 7E 19 3C */ lfs f27, 0x193c(r30) -/* 800F6DE8 000F3D48 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 800F6DEC 000F3D4C C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 800F6DF0 000F3D50 C3 5E 19 2C */ lfs f26, 0x192c(r30) -/* 800F6DF4 000F3D54 EC 00 06 F2 */ fmuls f0, f0, f27 -/* 800F6DF8 000F3D58 C0 21 00 F8 */ lfs f1, 0xf8(r1) -/* 800F6DFC 000F3D5C C3 9E 19 4C */ lfs f28, 0x194c(r30) -/* 800F6E00 000F3D60 C0 41 01 00 */ lfs f2, 0x100(r1) -/* 800F6E04 000F3D64 EC 01 06 BA */ fmadds f0, f1, f26, f0 -/* 800F6E08 000F3D68 EF A2 07 3A */ fmadds f29, f2, f28, f0 -/* 800F6E0C 000F3D6C 48 21 DA AD */ bl Magnitude__9CVector3fCFv -/* 800F6E10 000F3D70 EC 3D 08 24 */ fdivs f1, f29, f1 -/* 800F6E14 000F3D74 C0 02 92 E4 */ lfs f0, lbl_805AB004@sda21(r2) -/* 800F6E18 000F3D78 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F6E1C 000F3D7C 40 80 00 50 */ bge lbl_800F6E6C -/* 800F6E20 000F3D80 7F C3 F3 78 */ mr r3, r30 -/* 800F6E24 000F3D84 4B FF AA D1 */ bl DisableHalfPipeStatus__10CMorphBallFv -/* 800F6E28 000F3D88 C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) -/* 800F6E2C 000F3D8C C0 22 92 E8 */ lfs f1, lbl_805AB008@sda21(r2) -/* 800F6E30 000F3D90 D0 1E 1E 00 */ stfs f0, 0x1e00(r30) -/* 800F6E34 000F3D94 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F6E38 000F3D98 C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 800F6E3C 000F3D9C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F6E40 000F3DA0 EC 40 06 B2 */ fmuls f2, f0, f26 -/* 800F6E44 000F3DA4 EC 20 06 F2 */ fmuls f1, f0, f27 -/* 800F6E48 000F3DA8 EC 00 07 32 */ fmuls f0, f0, f28 -/* 800F6E4C 000F3DAC D0 41 00 68 */ stfs f2, 0x68(r1) -/* 800F6E50 000F3DB0 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 800F6E54 000F3DB4 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 800F6E58 000F3DB8 4B F2 46 DD */ bl Identity__10CAxisAngleFv -/* 800F6E5C 000F3DBC 7C 65 1B 78 */ mr r5, r3 -/* 800F6E60 000F3DC0 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F6E64 000F3DC4 38 81 00 68 */ addi r4, r1, 0x68 -/* 800F6E68 000F3DC8 48 02 55 31 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_800F6E6C: -/* 800F6E6C 000F3DCC 7F C3 F3 78 */ mr r3, r30 -/* 800F6E70 000F3DD0 4B FF AB 61 */ bl GetIsInHalfPipeMode__10CMorphBallCFv -/* 800F6E74 000F3DD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F6E78 000F3DD8 41 82 01 24 */ beq lbl_800F6F9C -/* 800F6E7C 000F3DDC C0 DE 19 3C */ lfs f6, 0x193c(r30) -/* 800F6E80 000F3DE0 38 61 00 5C */ addi r3, r1, 0x5c -/* 800F6E84 000F3DE4 C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 800F6E88 000F3DE8 38 9E 19 24 */ addi r4, r30, 0x1924 -/* 800F6E8C 000F3DEC C0 9E 19 2C */ lfs f4, 0x192c(r30) -/* 800F6E90 000F3DF0 38 A1 00 F8 */ addi r5, r1, 0xf8 -/* 800F6E94 000F3DF4 EC 00 01 B2 */ fmuls f0, f0, f6 -/* 800F6E98 000F3DF8 C0 21 00 F8 */ lfs f1, 0xf8(r1) -/* 800F6E9C 000F3DFC C0 FE 19 4C */ lfs f7, 0x194c(r30) -/* 800F6EA0 000F3E00 C0 41 01 00 */ lfs f2, 0x100(r1) -/* 800F6EA4 000F3E04 EC 01 01 3A */ fmadds f0, f1, f4, f0 -/* 800F6EA8 000F3E08 C0 A1 00 F8 */ lfs f5, 0xf8(r1) -/* 800F6EAC 000F3E0C C0 61 00 FC */ lfs f3, 0xfc(r1) -/* 800F6EB0 000F3E10 C0 21 01 00 */ lfs f1, 0x100(r1) -/* 800F6EB4 000F3E14 EC 02 01 FA */ fmadds f0, f2, f7, f0 -/* 800F6EB8 000F3E18 EC 80 01 32 */ fmuls f4, f0, f4 -/* 800F6EBC 000F3E1C EC 40 01 B2 */ fmuls f2, f0, f6 -/* 800F6EC0 000F3E20 EC 00 01 F2 */ fmuls f0, f0, f7 -/* 800F6EC4 000F3E24 EC 85 20 28 */ fsubs f4, f5, f4 -/* 800F6EC8 000F3E28 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800F6ECC 000F3E2C EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F6ED0 000F3E30 D0 81 00 F8 */ stfs f4, 0xf8(r1) -/* 800F6ED4 000F3E34 D0 41 00 FC */ stfs f2, 0xfc(r1) -/* 800F6ED8 000F3E38 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 800F6EDC 000F3E3C 48 21 BB 49 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 800F6EE0 000F3E40 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 800F6EE4 000F3E44 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 800F6EE8 000F3E48 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 800F6EEC 000F3E4C D0 41 00 E0 */ stfs f2, 0xe0(r1) -/* 800F6EF0 000F3E50 D0 21 00 E4 */ stfs f1, 0xe4(r1) -/* 800F6EF4 000F3E54 D0 01 00 E8 */ stfs f0, 0xe8(r1) -/* 800F6EF8 000F3E58 88 1E 1D E4 */ lbz r0, 0x1de4(r30) -/* 800F6EFC 000F3E5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800F6F00 000F3E60 41 82 00 0C */ beq lbl_800F6F0C -/* 800F6F04 000F3E64 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F6F08 000F3E68 48 00 00 08 */ b lbl_800F6F10 -lbl_800F6F0C: -/* 800F6F0C 000F3E6C C0 22 92 BC */ lfs f1, lbl_805AAFDC@sda21(r2) -lbl_800F6F10: -/* 800F6F10 000F3E70 C0 02 92 24 */ lfs f0, lbl_805AAF44@sda21(r2) -/* 800F6F14 000F3E74 38 61 00 50 */ addi r3, r1, 0x50 -/* 800F6F18 000F3E78 C0 61 00 E0 */ lfs f3, 0xe0(r1) -/* 800F6F1C 000F3E7C 38 9E 19 24 */ addi r4, r30, 0x1924 -/* 800F6F20 000F3E80 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800F6F24 000F3E84 C0 42 91 C4 */ lfs f2, lbl_805AAEE4@sda21(r2) -/* 800F6F28 000F3E88 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 800F6F2C 000F3E8C 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 800F6F30 000F3E90 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F6F34 000F3E94 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F6F38 000F3E98 D0 41 00 E0 */ stfs f2, 0xe0(r1) -/* 800F6F3C 000F3E9C D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 800F6F40 000F3EA0 48 21 BB 41 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800F6F44 000F3EA4 C0 02 91 6C */ lfs f0, lbl_805AAE8C@sda21(r2) -/* 800F6F48 000F3EA8 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 800F6F4C 000F3EAC C0 21 00 54 */ lfs f1, 0x54(r1) -/* 800F6F50 000F3EB0 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 800F6F54 000F3EB4 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 800F6F58 000F3EB8 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 800F6F5C 000F3EBC D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 800F6F60 000F3EC0 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 800F6F64 000F3EC4 40 81 00 38 */ ble lbl_800F6F9C -/* 800F6F68 000F3EC8 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F6F6C 000F3ECC 38 81 00 44 */ addi r4, r1, 0x44 -/* 800F6F70 000F3ED0 C0 62 92 3C */ lfs f3, lbl_805AAF5C@sda21(r2) -/* 800F6F74 000F3ED4 C0 43 01 3C */ lfs f2, 0x13c(r3) -/* 800F6F78 000F3ED8 C0 23 01 40 */ lfs f1, 0x140(r3) -/* 800F6F7C 000F3EDC C0 03 01 38 */ lfs f0, 0x138(r3) -/* 800F6F80 000F3EE0 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F6F84 000F3EE4 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F6F88 000F3EE8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F6F8C 000F3EEC D0 41 00 48 */ stfs f2, 0x48(r1) -/* 800F6F90 000F3EF0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800F6F94 000F3EF4 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 800F6F98 000F3EF8 48 02 3D 09 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_800F6F9C: -/* 800F6F9C 000F3EFC 7F C3 F3 78 */ mr r3, r30 -/* 800F6FA0 000F3F00 4B FF A9 F9 */ bl GetTouchedHalfPipeRecently__10CMorphBallCFv -/* 800F6FA4 000F3F04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F6FA8 000F3F08 41 82 00 E0 */ beq lbl_800F7088 -/* 800F6FAC 000F3F0C C0 9E 1E 0C */ lfs f4, 0x1e0c(r30) -/* 800F6FB0 000F3F10 C0 FE 1E 18 */ lfs f7, 0x1e18(r30) -/* 800F6FB4 000F3F14 C0 7E 1E 08 */ lfs f3, 0x1e08(r30) -/* 800F6FB8 000F3F18 EC 04 01 F2 */ fmuls f0, f4, f7 -/* 800F6FBC 000F3F1C C0 DE 1E 14 */ lfs f6, 0x1e14(r30) -/* 800F6FC0 000F3F20 C0 BE 1E 10 */ lfs f5, 0x1e10(r30) -/* 800F6FC4 000F3F24 C1 1E 1E 1C */ lfs f8, 0x1e1c(r30) -/* 800F6FC8 000F3F28 EC 23 01 BA */ fmadds f1, f3, f6, f0 -/* 800F6FCC 000F3F2C C0 02 92 3C */ lfs f0, lbl_805AAF5C@sda21(r2) -/* 800F6FD0 000F3F30 EC 25 0A 3A */ fmadds f1, f5, f8, f1 -/* 800F6FD4 000F3F34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F6FD8 000F3F38 40 80 00 B0 */ bge lbl_800F7088 -/* 800F6FDC 000F3F3C C0 02 92 58 */ lfs f0, lbl_805AAF78@sda21(r2) -/* 800F6FE0 000F3F40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F6FE4 000F3F44 40 81 00 A4 */ ble lbl_800F7088 -/* 800F6FE8 000F3F48 EC 47 01 72 */ fmuls f2, f7, f5 -/* 800F6FEC 000F3F4C 38 61 00 38 */ addi r3, r1, 0x38 -/* 800F6FF0 000F3F50 EC 28 00 F2 */ fmuls f1, f8, f3 -/* 800F6FF4 000F3F54 38 81 00 2C */ addi r4, r1, 0x2c -/* 800F6FF8 000F3F58 EC 06 01 32 */ fmuls f0, f6, f4 -/* 800F6FFC 000F3F5C EC 44 12 38 */ fmsubs f2, f4, f8, f2 -/* 800F7000 000F3F60 EC 25 09 B8 */ fmsubs f1, f5, f6, f1 -/* 800F7004 000F3F64 EC 03 01 F8 */ fmsubs f0, f3, f7, f0 -/* 800F7008 000F3F68 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 800F700C 000F3F6C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800F7010 000F3F70 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800F7014 000F3F74 48 21 D8 3D */ bl AsNormalized__9CVector3fCFv -/* 800F7018 000F3F78 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F701C 000F3F7C 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 800F7020 000F3F80 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 800F7024 000F3F84 C0 C3 01 38 */ lfs f6, 0x138(r3) -/* 800F7028 000F3F88 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 800F702C 000F3F8C D0 C1 00 D4 */ stfs f6, 0xd4(r1) -/* 800F7030 000F3F90 C0 E1 00 40 */ lfs f7, 0x40(r1) -/* 800F7034 000F3F94 C0 A3 01 3C */ lfs f5, 0x13c(r3) -/* 800F7038 000F3F98 C0 62 92 54 */ lfs f3, lbl_805AAF74@sda21(r2) -/* 800F703C 000F3F9C EC 01 01 72 */ fmuls f0, f1, f5 -/* 800F7040 000F3FA0 D0 A1 00 D8 */ stfs f5, 0xd8(r1) -/* 800F7044 000F3FA4 C0 83 01 40 */ lfs f4, 0x140(r3) -/* 800F7048 000F3FA8 EC 02 01 BA */ fmadds f0, f2, f6, f0 -/* 800F704C 000F3FAC D0 81 00 DC */ stfs f4, 0xdc(r1) -/* 800F7050 000F3FB0 EC 07 01 3A */ fmadds f0, f7, f4, f0 -/* 800F7054 000F3FB4 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 800F7058 000F3FB8 EC 20 00 72 */ fmuls f1, f0, f1 -/* 800F705C 000F3FBC EC 00 01 F2 */ fmuls f0, f0, f7 -/* 800F7060 000F3FC0 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F7064 000F3FC4 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F7068 000F3FC8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F706C 000F3FCC EC 46 10 28 */ fsubs f2, f6, f2 -/* 800F7070 000F3FD0 EC 25 08 28 */ fsubs f1, f5, f1 -/* 800F7074 000F3FD4 EC 04 00 28 */ fsubs f0, f4, f0 -/* 800F7078 000F3FD8 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 800F707C 000F3FDC D0 21 00 D8 */ stfs f1, 0xd8(r1) -/* 800F7080 000F3FE0 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 800F7084 000F3FE4 48 02 3C 1D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_800F7088: -/* 800F7088 000F3FE8 C0 02 91 98 */ lfs f0, lbl_805AAEB8@sda21(r2) -/* 800F708C 000F3FEC EF 00 07 B2 */ fmuls f24, f0, f30 -/* 800F7090 000F3FF0 FC 1F C0 40 */ fcmpo cr0, f31, f24 -/* 800F7094 000F3FF4 4C 41 13 82 */ cror 2, 1, 2 -/* 800F7098 000F3FF8 40 82 00 D4 */ bne lbl_800F716C -/* 800F709C 000F3FFC 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F70A0 000F4000 38 61 00 20 */ addi r3, r1, 0x20 -/* 800F70A4 000F4004 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 800F70A8 000F4008 C0 05 01 38 */ lfs f0, 0x138(r5) -/* 800F70AC 000F400C D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 800F70B0 000F4010 C0 05 01 3C */ lfs f0, 0x13c(r5) -/* 800F70B4 000F4014 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 800F70B8 000F4018 C0 05 01 40 */ lfs f0, 0x140(r5) -/* 800F70BC 000F401C D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 800F70C0 000F4020 48 21 D7 91 */ bl AsNormalized__9CVector3fCFv -/* 800F70C4 000F4024 C0 21 00 FC */ lfs f1, 0xfc(r1) -/* 800F70C8 000F4028 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 800F70CC 000F402C C0 41 00 F8 */ lfs f2, 0xf8(r1) -/* 800F70D0 000F4030 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F70D4 000F4034 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 800F70D8 000F4038 C0 81 01 00 */ lfs f4, 0x100(r1) -/* 800F70DC 000F403C C0 61 00 28 */ lfs f3, 0x28(r1) -/* 800F70E0 000F4040 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 800F70E4 000F4044 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F70E8 000F4048 EF 44 08 FA */ fmadds f26, f4, f3, f1 -/* 800F70EC 000F404C FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 800F70F0 000F4050 40 81 00 7C */ ble lbl_800F716C -/* 800F70F4 000F4054 EC 3F C0 28 */ fsubs f1, f31, f24 -/* 800F70F8 000F4058 38 81 00 10 */ addi r4, r1, 0x10 -/* 800F70FC 000F405C EC 1E C0 28 */ fsubs f0, f30, f24 -/* 800F7100 000F4060 38 6D 88 78 */ addi r3, r13, lbl_805A7438@sda21 -/* 800F7104 000F4064 38 AD 88 7C */ addi r5, r13, lbl_805A743C@sda21 -/* 800F7108 000F4068 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800F710C 000F406C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800F7110 000F4070 4B F1 51 A5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F7114 000F4074 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F7118 000F4078 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F711C 000F407C 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 800F7120 000F4080 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800F7124 000F4084 48 21 D7 2D */ bl AsNormalized__9CVector3fCFv -/* 800F7128 000F4088 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800F712C 000F408C C0 A1 00 1C */ lfs f5, 0x1c(r1) -/* 800F7130 000F4090 EC C0 06 B2 */ fmuls f6, f0, f26 -/* 800F7134 000F4094 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 800F7138 000F4098 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800F713C 000F409C C0 81 00 F8 */ lfs f4, 0xf8(r1) -/* 800F7140 000F40A0 EC 66 00 72 */ fmuls f3, f6, f1 -/* 800F7144 000F40A4 C0 41 00 FC */ lfs f2, 0xfc(r1) -/* 800F7148 000F40A8 EC 26 00 32 */ fmuls f1, f6, f0 -/* 800F714C 000F40AC C0 01 01 00 */ lfs f0, 0x100(r1) -/* 800F7150 000F40B0 EC A6 01 72 */ fmuls f5, f6, f5 -/* 800F7154 000F40B4 EC 64 18 28 */ fsubs f3, f4, f3 -/* 800F7158 000F40B8 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800F715C 000F40BC EC 00 28 28 */ fsubs f0, f0, f5 -/* 800F7160 000F40C0 D0 61 00 F8 */ stfs f3, 0xf8(r1) -/* 800F7164 000F40C4 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 800F7168 000F40C8 D0 01 01 00 */ stfs f0, 0x100(r1) -lbl_800F716C: -/* 800F716C 000F40CC C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 800F7170 000F40D0 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 800F7174 000F40D4 C0 01 00 FC */ lfs f0, 0xfc(r1) -/* 800F7178 000F40D8 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 800F717C 000F40DC C0 01 01 00 */ lfs f0, 0x100(r1) -/* 800F7180 000F40E0 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 800F7184 000F40E4 4B F2 43 B1 */ bl Identity__10CAxisAngleFv -/* 800F7188 000F40E8 7C 65 1B 78 */ mr r5, r3 -/* 800F718C 000F40EC 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F7190 000F40F0 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 800F7194 000F40F4 48 02 51 31 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_800F7198: -/* 800F7198 000F40F8 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F719C 000F40FC 7F C3 F3 78 */ mr r3, r30 -/* 800F71A0 000F4100 7F E6 FB 78 */ mr r6, r31 -/* 800F71A4 000F4104 38 9E 00 1C */ addi r4, r30, 0x1c -/* 800F71A8 000F4108 38 A5 01 38 */ addi r5, r5, 0x138 -/* 800F71AC 000F410C 4B FF 8E E9 */ bl ComputeLiftForces__10CMorphBallFRC9CVector3fRC9CVector3fRC13CStateManager -lbl_800F71B0: -/* 800F71B0 000F4110 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 -/* 800F71B4 000F4114 CB E1 01 F0 */ lfd f31, 0x1f0(r1) -/* 800F71B8 000F4118 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 -/* 800F71BC 000F411C CB C1 01 E0 */ lfd f30, 0x1e0(r1) -/* 800F71C0 000F4120 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 -/* 800F71C4 000F4124 CB A1 01 D0 */ lfd f29, 0x1d0(r1) -/* 800F71C8 000F4128 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 -/* 800F71CC 000F412C CB 81 01 C0 */ lfd f28, 0x1c0(r1) -/* 800F71D0 000F4130 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 -/* 800F71D4 000F4134 CB 61 01 B0 */ lfd f27, 0x1b0(r1) -/* 800F71D8 000F4138 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 -/* 800F71DC 000F413C CB 41 01 A0 */ lfd f26, 0x1a0(r1) -/* 800F71E0 000F4140 E3 21 01 98 */ psq_l f25, 408(r1), 0, qr0 -/* 800F71E4 000F4144 CB 21 01 90 */ lfd f25, 0x190(r1) -/* 800F71E8 000F4148 E3 01 01 88 */ psq_l f24, 392(r1), 0, qr0 -/* 800F71EC 000F414C CB 01 01 80 */ lfd f24, 0x180(r1) -/* 800F71F0 000F4150 83 E1 01 7C */ lwz r31, 0x17c(r1) -/* 800F71F4 000F4154 83 C1 01 78 */ lwz r30, 0x178(r1) -/* 800F71F8 000F4158 80 01 02 04 */ lwz r0, 0x204(r1) -/* 800F71FC 000F415C 83 A1 01 74 */ lwz r29, 0x174(r1) -/* 800F7200 000F4160 7C 08 03 A6 */ mtlr r0 -/* 800F7204 000F4164 38 21 02 00 */ addi r1, r1, 0x200 -/* 800F7208 000F4168 4E 80 00 20 */ blr - -.global CreateSpiderBallParticles__10CMorphBallFRC9CVector3fRC9CVector3f -CreateSpiderBallParticles__10CMorphBallFRC9CVector3fRC9CVector3f: -/* 800F720C 000F416C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800F7210 000F4170 7C 08 02 A6 */ mflr r0 -/* 800F7214 000F4174 90 01 00 54 */ stw r0, 0x54(r1) -/* 800F7218 000F4178 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 800F721C 000F417C 7C 7B 1B 78 */ mr r27, r3 -/* 800F7220 000F4180 7C 9C 23 78 */ mr r28, r4 -/* 800F7224 000F4184 7C BD 2B 78 */ mr r29, r5 -/* 800F7228 000F4188 38 80 00 01 */ li r4, 1 -/* 800F722C 000F418C 80 63 19 D4 */ lwz r3, 0x19d4(r3) -/* 800F7230 000F4190 81 83 00 00 */ lwz r12, 0(r3) -/* 800F7234 000F4194 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F7238 000F4198 7D 89 03 A6 */ mtctr r12 -/* 800F723C 000F419C 4E 80 04 21 */ bctrl -/* 800F7240 000F41A0 C0 3D 00 04 */ lfs f1, 4(r29) -/* 800F7244 000F41A4 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F7248 000F41A8 C0 1C 00 04 */ lfs f0, 4(r28) -/* 800F724C 000F41AC C0 7D 00 08 */ lfs f3, 8(r29) -/* 800F7250 000F41B0 C0 5C 00 08 */ lfs f2, 8(r28) -/* 800F7254 000F41B4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800F7258 000F41B8 C0 3D 00 00 */ lfs f1, 0(r29) -/* 800F725C 000F41BC C0 1C 00 00 */ lfs f0, 0(r28) -/* 800F7260 000F41C0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800F7264 000F41C4 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 800F7268 000F41C8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F726C 000F41CC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800F7270 000F41D0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800F7274 000F41D4 48 21 D6 45 */ bl Magnitude__9CVector3fCFv -/* 800F7278 000F41D8 C0 42 91 E8 */ lfs f2, lbl_805AAF08@sda21(r2) -/* 800F727C 000F41DC 3C 00 43 30 */ lis r0, 0x4330 -/* 800F7280 000F41E0 C0 02 92 EC */ lfs f0, lbl_805AB00C@sda21(r2) -/* 800F7284 000F41E4 EC 61 10 24 */ fdivs f3, f1, f2 -/* 800F7288 000F41E8 C0 E2 91 5C */ lfs f7, lbl_805AAE7C@sda21(r2) -/* 800F728C 000F41EC 90 01 00 28 */ stw r0, 0x28(r1) -/* 800F7290 000F41F0 C8 A2 92 10 */ lfd f5, lbl_805AAF30@sda21(r2) -/* 800F7294 000F41F4 C0 42 91 E0 */ lfs f2, lbl_805AAF00@sda21(r2) -/* 800F7298 000F41F8 C0 81 00 14 */ lfs f4, 0x14(r1) -/* 800F729C 000F41FC EC C7 18 2A */ fadds f6, f7, f3 -/* 800F72A0 000F4200 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 800F72A4 000F4204 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800F72A8 000F4208 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 800F72AC 000F420C FC C0 30 1E */ fctiwz f6, f6 -/* 800F72B0 000F4210 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800F72B4 000F4214 D8 C1 00 20 */ stfd f6, 0x20(r1) -/* 800F72B8 000F4218 FC 00 00 1E */ fctiwz f0, f0 -/* 800F72BC 000F421C 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 800F72C0 000F4220 6F E0 80 00 */ xoris r0, r31, 0x8000 -/* 800F72C4 000F4224 D8 01 00 30 */ stfd f0, 0x30(r1) -/* 800F72C8 000F4228 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800F72CC 000F422C 83 C1 00 34 */ lwz r30, 0x34(r1) -/* 800F72D0 000F4230 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 800F72D4 000F4234 EC 00 28 28 */ fsubs f0, f0, f5 -/* 800F72D8 000F4238 EC 07 00 24 */ fdivs f0, f7, f0 -/* 800F72DC 000F423C EC 84 00 32 */ fmuls f4, f4, f0 -/* 800F72E0 000F4240 EC 43 00 32 */ fmuls f2, f3, f0 -/* 800F72E4 000F4244 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F72E8 000F4248 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 800F72EC 000F424C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800F72F0 000F4250 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800F72F4 000F4254 48 00 00 88 */ b lbl_800F737C -lbl_800F72F8: -/* 800F72F8 000F4258 C0 5C 00 00 */ lfs f2, 0(r28) -/* 800F72FC 000F425C 3B A0 00 00 */ li r29, 0 -/* 800F7300 000F4260 C0 3C 00 04 */ lfs f1, 4(r28) -/* 800F7304 000F4264 C0 1C 00 08 */ lfs f0, 8(r28) -/* 800F7308 000F4268 D0 41 00 08 */ stfs f2, 8(r1) -/* 800F730C 000F426C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800F7310 000F4270 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800F7314 000F4274 48 00 00 5C */ b lbl_800F7370 -lbl_800F7318: -/* 800F7318 000F4278 80 7B 19 D4 */ lwz r3, 0x19d4(r27) -/* 800F731C 000F427C 38 81 00 08 */ addi r4, r1, 8 -/* 800F7320 000F4280 81 83 00 00 */ lwz r12, 0(r3) -/* 800F7324 000F4284 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800F7328 000F4288 7D 89 03 A6 */ mtctr r12 -/* 800F732C 000F428C 4E 80 04 21 */ bctrl -/* 800F7330 000F4290 80 7B 19 D4 */ lwz r3, 0x19d4(r27) -/* 800F7334 000F4294 38 80 00 01 */ li r4, 1 -/* 800F7338 000F4298 48 22 55 89 */ bl ForceParticleCreation__11CElementGenFi -/* 800F733C 000F429C C0 21 00 08 */ lfs f1, 8(r1) -/* 800F7340 000F42A0 3B BD 00 01 */ addi r29, r29, 1 -/* 800F7344 000F42A4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800F7348 000F42A8 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 800F734C 000F42AC EC 81 00 2A */ fadds f4, f1, f0 -/* 800F7350 000F42B0 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 800F7354 000F42B4 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 800F7358 000F42B8 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800F735C 000F42BC EC 43 10 2A */ fadds f2, f3, f2 -/* 800F7360 000F42C0 D0 81 00 08 */ stfs f4, 8(r1) -/* 800F7364 000F42C4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800F7368 000F42C8 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 800F736C 000F42CC D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_800F7370: -/* 800F7370 000F42D0 7C 1D F8 00 */ cmpw r29, r31 -/* 800F7374 000F42D4 41 80 FF A4 */ blt lbl_800F7318 -/* 800F7378 000F42D8 3B DE FF FF */ addi r30, r30, -1 -lbl_800F737C: -/* 800F737C 000F42DC 2C 1E 00 00 */ cmpwi r30, 0 -/* 800F7380 000F42E0 40 80 FF 78 */ bge lbl_800F72F8 -/* 800F7384 000F42E4 80 7B 19 D4 */ lwz r3, 0x19d4(r27) -/* 800F7388 000F42E8 38 80 00 00 */ li r4, 0 -/* 800F738C 000F42EC 81 83 00 00 */ lwz r12, 0(r3) -/* 800F7390 000F42F0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800F7394 000F42F4 7D 89 03 A6 */ mtctr r12 -/* 800F7398 000F42F8 4E 80 04 21 */ bctrl -/* 800F739C 000F42FC BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 800F73A0 000F4300 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800F73A4 000F4304 7C 08 03 A6 */ mtlr r0 -/* 800F73A8 000F4308 38 21 00 50 */ addi r1, r1, 0x50 -/* 800F73AC 000F430C 4E 80 00 20 */ blr - -.global GetSpiderBallSwingControllerMovementScalar__10CMorphBallCFv -GetSpiderBallSwingControllerMovementScalar__10CMorphBallCFv: -/* 800F73B0 000F4310 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F73B4 000F4314 C0 42 92 F0 */ lfs f2, lbl_805AB010@sda21(r2) -/* 800F73B8 000F4318 C0 63 19 08 */ lfs f3, 0x1908(r3) -/* 800F73BC 000F431C FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 800F73C0 000F4320 40 80 00 0C */ bge lbl_800F73CC -/* 800F73C4 000F4324 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F73C8 000F4328 48 00 00 30 */ b lbl_800F73F8 -lbl_800F73CC: -/* 800F73CC 000F432C C0 22 92 F4 */ lfs f1, lbl_805AB014@sda21(r2) -/* 800F73D0 000F4330 C0 0D 88 64 */ lfs f0, lbl_805A7424@sda21(r13) -/* 800F73D4 000F4334 EC 21 18 28 */ fsubs f1, f1, f3 -/* 800F73D8 000F4338 EC 21 10 24 */ fdivs f1, f1, f2 -/* 800F73DC 000F433C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F73E0 000F4340 D0 21 00 08 */ stfs f1, 8(r1) -/* 800F73E4 000F4344 40 80 00 0C */ bge lbl_800F73F0 -/* 800F73E8 000F4348 38 61 00 08 */ addi r3, r1, 8 -/* 800F73EC 000F434C 48 00 00 08 */ b lbl_800F73F4 -lbl_800F73F0: -/* 800F73F0 000F4350 38 6D 88 64 */ addi r3, r13, lbl_805A7424@sda21 -lbl_800F73F4: -/* 800F73F4 000F4354 C0 23 00 00 */ lfs f1, 0(r3) -lbl_800F73F8: -/* 800F73F8 000F4358 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F73FC 000F435C 4E 80 00 20 */ blr - -.global UpdateSpiderBallSwingControllerMovementTimer__10CMorphBallFff -UpdateSpiderBallSwingControllerMovementTimer__10CMorphBallFff: -/* 800F7400 000F4360 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F7404 000F4364 7C 08 02 A6 */ mflr r0 -/* 800F7408 000F4368 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F740C 000F436C DB E1 00 10 */ stfd f31, 0x10(r1) -/* 800F7410 000F4370 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 800F7414 000F4374 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F7418 000F4378 FF E0 08 90 */ fmr f31, f1 -/* 800F741C 000F437C C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) -/* 800F7420 000F4380 7C 7F 1B 78 */ mr r31, r3 -/* 800F7424 000F4384 FC 20 FA 10 */ fabs f1, f31 -/* 800F7428 000F4388 FC 20 08 18 */ frsp f1, f1 -/* 800F742C 000F438C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F7430 000F4390 40 80 00 0C */ bge lbl_800F743C -/* 800F7434 000F4394 48 00 00 61 */ bl ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv -/* 800F7438 000F4398 48 00 00 40 */ b lbl_800F7478 -lbl_800F743C: -/* 800F743C 000F439C C0 62 91 A8 */ lfs f3, lbl_805AAEC8@sda21(r2) -/* 800F7440 000F43A0 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F7444 000F43A4 C0 1F 19 04 */ lfs f0, 0x1904(r31) -/* 800F7448 000F43A8 FC 3F 18 6E */ fsel f1, f31, f1, f3 -/* 800F744C 000F43AC FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800F7450 000F43B0 41 82 00 1C */ beq lbl_800F746C -/* 800F7454 000F43B4 48 00 00 41 */ bl ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv -/* 800F7458 000F43B8 C0 22 91 A8 */ lfs f1, lbl_805AAEC8@sda21(r2) -/* 800F745C 000F43BC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F7460 000F43C0 FC 1F 08 2E */ fsel f0, f31, f0, f1 -/* 800F7464 000F43C4 D0 1F 19 04 */ stfs f0, 0x1904(r31) -/* 800F7468 000F43C8 48 00 00 10 */ b lbl_800F7478 -lbl_800F746C: -/* 800F746C 000F43CC C0 1F 19 08 */ lfs f0, 0x1908(r31) -/* 800F7470 000F43D0 EC 00 10 2A */ fadds f0, f0, f2 -/* 800F7474 000F43D4 D0 1F 19 08 */ stfs f0, 0x1908(r31) -lbl_800F7478: -/* 800F7478 000F43D8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 800F747C 000F43DC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F7480 000F43E0 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 800F7484 000F43E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F7488 000F43E8 7C 08 03 A6 */ mtlr r0 -/* 800F748C 000F43EC 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F7490 000F43F0 4E 80 00 20 */ blr - -.global ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv -ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv: -/* 800F7494 000F43F4 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F7498 000F43F8 D0 03 19 04 */ stfs f0, 0x1904(r3) -/* 800F749C 000F43FC D0 03 19 08 */ stfs f0, 0x1908(r3) -/* 800F74A0 000F4400 4E 80 00 20 */ blr - -.global GetSpiderBallControllerMovement__10CMorphBallCFRC11CFinalInput -GetSpiderBallControllerMovement__10CMorphBallCFRC11CFinalInput: -/* 800F74A4 000F4404 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800F74A8 000F4408 7C 08 02 A6 */ mflr r0 -/* 800F74AC 000F440C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800F74B0 000F4410 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 800F74B4 000F4414 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 800F74B8 000F4418 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 800F74BC 000F441C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 800F74C0 000F4420 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F74C4 000F4424 7C 9F 23 78 */ mr r31, r4 -/* 800F74C8 000F4428 48 00 17 D1 */ bl IsMovementAllowed__10CMorphBallCFv -/* 800F74CC 000F442C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F74D0 000F4430 40 82 00 0C */ bne lbl_800F74DC -/* 800F74D4 000F4434 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F74D8 000F4438 48 00 00 A8 */ b lbl_800F7580 -lbl_800F74DC: -/* 800F74DC 000F443C 7F E4 FB 78 */ mr r4, r31 -/* 800F74E0 000F4440 38 60 00 01 */ li r3, 1 -/* 800F74E4 000F4444 4B F1 54 35 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F74E8 000F4448 FF E0 08 90 */ fmr f31, f1 -/* 800F74EC 000F444C 7F E4 FB 78 */ mr r4, r31 -/* 800F74F0 000F4450 38 60 00 00 */ li r3, 0 -/* 800F74F4 000F4454 4B F1 54 25 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F74F8 000F4458 EF C1 F8 28 */ fsubs f30, f1, f31 -/* 800F74FC 000F445C 7F E4 FB 78 */ mr r4, r31 -/* 800F7500 000F4460 38 60 00 02 */ li r3, 2 -/* 800F7504 000F4464 4B F1 54 15 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F7508 000F4468 FF E0 08 90 */ fmr f31, f1 -/* 800F750C 000F446C 7F E4 FB 78 */ mr r4, r31 -/* 800F7510 000F4470 38 60 00 03 */ li r3, 3 -/* 800F7514 000F4474 4B F1 54 05 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F7518 000F4478 EF E1 F8 28 */ fsubs f31, f1, f31 -/* 800F751C 000F447C FC 20 F0 90 */ fmr f1, f30 -/* 800F7520 000F4480 FC 40 F8 90 */ fmr f2, f31 -/* 800F7524 000F4484 48 29 D7 49 */ bl atan2 -/* 800F7528 000F4488 FC 20 08 18 */ frsp f1, f1 -/* 800F752C 000F448C C0 42 92 F8 */ lfs f2, lbl_805AB018@sda21(r2) -/* 800F7530 000F4490 EC 1F 07 F2 */ fmuls f0, f31, f31 -/* 800F7534 000F4494 EF E2 00 72 */ fmuls f31, f2, f1 -/* 800F7538 000F4498 EC 3E 07 BA */ fmadds f1, f30, f30, f0 -/* 800F753C 000F449C 48 21 DF C5 */ bl SqrtF__5CMathFf -/* 800F7540 000F44A0 C0 02 92 FC */ lfs f0, lbl_805AB01C@sda21(r2) -/* 800F7544 000F44A4 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F7548 000F44A8 40 81 00 14 */ ble lbl_800F755C -/* 800F754C 000F44AC C0 02 93 00 */ lfs f0, lbl_805AB020@sda21(r2) -/* 800F7550 000F44B0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F7554 000F44B4 40 80 00 08 */ bge lbl_800F755C -/* 800F7558 000F44B8 48 00 00 28 */ b lbl_800F7580 -lbl_800F755C: -/* 800F755C 000F44BC C0 02 93 04 */ lfs f0, lbl_805AB024@sda21(r2) -/* 800F7560 000F44C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F7564 000F44C4 41 80 00 10 */ blt lbl_800F7574 -/* 800F7568 000F44C8 C0 02 93 08 */ lfs f0, lbl_805AB028@sda21(r2) -/* 800F756C 000F44CC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800F7570 000F44D0 40 81 00 0C */ ble lbl_800F757C -lbl_800F7574: -/* 800F7574 000F44D4 FC 20 08 50 */ fneg f1, f1 -/* 800F7578 000F44D8 48 00 00 08 */ b lbl_800F7580 -lbl_800F757C: -/* 800F757C 000F44DC C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -lbl_800F7580: -/* 800F7580 000F44E0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 800F7584 000F44E4 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 800F7588 000F44E8 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 800F758C 000F44EC CB C1 00 10 */ lfd f30, 0x10(r1) -/* 800F7590 000F44F0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800F7594 000F44F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F7598 000F44F8 7C 08 03 A6 */ mtlr r0 -/* 800F759C 000F44FC 38 21 00 30 */ addi r1, r1, 0x30 -/* 800F75A0 000F4500 4E 80 00 20 */ blr - -.global SetSpiderBallSwingingState__10CMorphBallFb -SetSpiderBallSwingingState__10CMorphBallFb: -/* 800F75A4 000F4504 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F75A8 000F4508 7C 08 02 A6 */ mflr r0 -/* 800F75AC 000F450C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F75B0 000F4510 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F75B4 000F4514 7C 9F 23 78 */ mr r31, r4 -/* 800F75B8 000F4518 57 E0 06 3E */ clrlwi r0, r31, 0x18 -/* 800F75BC 000F451C 93 C1 00 08 */ stw r30, 8(r1) -/* 800F75C0 000F4520 7C 7E 1B 78 */ mr r30, r3 -/* 800F75C4 000F4524 88 83 18 BE */ lbz r4, 0x18be(r3) -/* 800F75C8 000F4528 7C 04 00 40 */ cmplw r4, r0 -/* 800F75CC 000F452C 41 82 00 10 */ beq lbl_800F75DC -/* 800F75D0 000F4530 4B FF FE C5 */ bl ResetSpiderBallSwingControllerMovementTimer__10CMorphBallFv -/* 800F75D4 000F4534 38 00 00 01 */ li r0, 1 -/* 800F75D8 000F4538 98 1E 18 BF */ stb r0, 0x18bf(r30) -lbl_800F75DC: -/* 800F75DC 000F453C 9B FE 18 BE */ stb r31, 0x18be(r30) -/* 800F75E0 000F4540 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F75E4 000F4544 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F75E8 000F4548 83 C1 00 08 */ lwz r30, 8(r1) -/* 800F75EC 000F454C 7C 08 03 A6 */ mtlr r0 -/* 800F75F0 000F4550 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F75F4 000F4554 4E 80 00 20 */ blr - -.global FindClosestSpiderBallWaypoint__10CMorphBallCFR13CStateManagerRC9CVector3fR9CVector3fR9CVector3fR9CVector3fRfR9CVector3fRbR12CTransform4f -FindClosestSpiderBallWaypoint__10CMorphBallCFR13CStateManagerRC9CVector3fR9CVector3fR9CVector3fR9CVector3fRfR9CVector3fRbR12CTransform4f: -/* 800F75F8 000F4558 94 21 F4 F0 */ stwu r1, -0xb10(r1) -/* 800F75FC 000F455C 7C 08 02 A6 */ mflr r0 -/* 800F7600 000F4560 90 01 0B 14 */ stw r0, 0xb14(r1) -/* 800F7604 000F4564 DB E1 0B 00 */ stfd f31, 0xb00(r1) -/* 800F7608 000F4568 F3 E1 0B 08 */ psq_st f31, -1272(r1), 0, qr0 -/* 800F760C 000F456C DB C1 0A F0 */ stfd f30, 0xaf0(r1) -/* 800F7610 000F4570 F3 C1 0A F8 */ psq_st f30, -1288(r1), 0, qr0 -/* 800F7614 000F4574 DB A1 0A E0 */ stfd f29, 0xae0(r1) -/* 800F7618 000F4578 F3 A1 0A E8 */ psq_st f29, -1304(r1), 0, qr0 -/* 800F761C 000F457C DB 81 0A D0 */ stfd f28, 0xad0(r1) -/* 800F7620 000F4580 F3 81 0A D8 */ psq_st f28, -1320(r1), 0, qr0 -/* 800F7624 000F4584 BE 21 0A 94 */ stmw r17, 0xa94(r1) -/* 800F7628 000F4588 7C BD 2B 78 */ mr r29, r5 -/* 800F762C 000F458C 38 00 00 00 */ li r0, 0 -/* 800F7630 000F4590 C3 E2 92 EC */ lfs f31, lbl_805AB00C@sda21(r2) -/* 800F7634 000F4594 7C 9C 23 78 */ mr r28, r4 -/* 800F7638 000F4598 C0 65 00 04 */ lfs f3, 4(r5) -/* 800F763C 000F459C 7C DE 33 78 */ mr r30, r6 -/* 800F7640 000F45A0 C0 45 00 08 */ lfs f2, 8(r5) -/* 800F7644 000F45A4 7C FF 3B 78 */ mr r31, r7 -/* 800F7648 000F45A8 C0 05 00 00 */ lfs f0, 0(r5) -/* 800F764C 000F45AC EC A3 F8 2A */ fadds f5, f3, f31 -/* 800F7650 000F45B0 EC 82 F8 2A */ fadds f4, f2, f31 -/* 800F7654 000F45B4 90 01 02 80 */ stw r0, 0x280(r1) -/* 800F7658 000F45B8 EC 20 F8 2A */ fadds f1, f0, f31 -/* 800F765C 000F45BC 83 01 0B 18 */ lwz r24, 0xb18(r1) -/* 800F7660 000F45C0 EC 63 F8 28 */ fsubs f3, f3, f31 -/* 800F7664 000F45C4 EC 42 F8 28 */ fsubs f2, f2, f31 -/* 800F7668 000F45C8 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 800F766C 000F45CC D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 800F7670 000F45D0 83 21 0B 1C */ lwz r25, 0xb1c(r1) -/* 800F7674 000F45D4 7D 15 43 78 */ mr r21, r8 -/* 800F7678 000F45D8 D0 A1 00 A0 */ stfs f5, 0xa0(r1) -/* 800F767C 000F45DC 7D 36 4B 78 */ mr r22, r9 -/* 800F7680 000F45E0 D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 800F7684 000F45E4 7D 57 53 78 */ mr r23, r10 -/* 800F7688 000F45E8 38 61 01 18 */ addi r3, r1, 0x118 -/* 800F768C 000F45EC 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 800F7690 000F45F0 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 800F7694 000F45F4 38 A1 00 9C */ addi r5, r1, 0x9c -/* 800F7698 000F45F8 3B 40 00 00 */ li r26, 0 -/* 800F769C 000F45FC D0 61 00 AC */ stfs f3, 0xac(r1) -/* 800F76A0 000F4600 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 800F76A4 000F4604 48 24 0E 65 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800F76A8 000F4608 3C 80 80 5A */ lis r4, lbl_8059FD18@ha -/* 800F76AC 000F460C 7F 83 E3 78 */ mr r3, r28 -/* 800F76B0 000F4610 38 C4 FD 18 */ addi r6, r4, lbl_8059FD18@l -/* 800F76B4 000F4614 38 A1 01 18 */ addi r5, r1, 0x118 -/* 800F76B8 000F4618 38 81 02 80 */ addi r4, r1, 0x280 -/* 800F76BC 000F461C 38 E0 00 00 */ li r7, 0 -/* 800F76C0 000F4620 4B F5 50 61 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 800F76C4 000F4624 3B 61 02 84 */ addi r27, r1, 0x284 -/* 800F76C8 000F4628 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F76CC 000F462C 7F 72 DB 78 */ mr r18, r27 -/* 800F76D0 000F4630 3A 61 00 F8 */ addi r19, r1, 0xf8 -/* 800F76D4 000F4634 3A 83 66 A0 */ addi r20, r3, skZero3f@l -/* 800F76D8 000F4638 48 00 02 EC */ b lbl_800F79C4 -lbl_800F76DC: -/* 800F76DC 000F463C A0 12 00 00 */ lhz r0, 0(r18) -/* 800F76E0 000F4640 7F 83 E3 78 */ mr r3, r28 -/* 800F76E4 000F4644 38 81 00 0C */ addi r4, r1, 0xc -/* 800F76E8 000F4648 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800F76EC 000F464C 4B F5 4E B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800F76F0 000F4650 7C 64 1B 78 */ mr r4, r3 -/* 800F76F4 000F4654 38 61 00 1C */ addi r3, r1, 0x1c -/* 800F76F8 000F4658 4B FB 07 B9 */ bl "__ct__48TCastToPtr<34CScriptSpiderBallAttractionSurface>FP7CEntity" -/* 800F76FC 000F465C 82 23 00 04 */ lwz r17, 4(r3) -/* 800F7700 000F4660 28 11 00 00 */ cmplwi r17, 0 -/* 800F7704 000F4664 41 82 02 BC */ beq lbl_800F79C0 -/* 800F7708 000F4668 C0 51 00 58 */ lfs f2, 0x58(r17) -/* 800F770C 000F466C 38 61 00 90 */ addi r3, r1, 0x90 -/* 800F7710 000F4670 C0 31 00 48 */ lfs f1, 0x48(r17) -/* 800F7714 000F4674 38 81 00 84 */ addi r4, r1, 0x84 -/* 800F7718 000F4678 C0 11 00 38 */ lfs f0, 0x38(r17) -/* 800F771C 000F467C D0 01 00 84 */ stfs f0, 0x84(r1) -/* 800F7720 000F4680 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 800F7724 000F4684 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 800F7728 000F4688 48 21 D1 29 */ bl AsNormalized__9CVector3fCFv -/* 800F772C 000F468C C3 C1 00 90 */ lfs f30, 0x90(r1) -/* 800F7730 000F4690 38 61 00 78 */ addi r3, r1, 0x78 -/* 800F7734 000F4694 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F7738 000F4698 38 81 00 6C */ addi r4, r1, 0x6c -/* 800F773C 000F469C C3 81 00 94 */ lfs f28, 0x94(r1) -/* 800F7740 000F46A0 C3 A1 00 98 */ lfs f29, 0x98(r1) -/* 800F7744 000F46A4 EC 40 07 B2 */ fmuls f2, f0, f30 -/* 800F7748 000F46A8 EC 20 07 32 */ fmuls f1, f0, f28 -/* 800F774C 000F46AC EC 00 07 72 */ fmuls f0, f0, f29 -/* 800F7750 000F46B0 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 800F7754 000F46B4 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 800F7758 000F46B8 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 800F775C 000F46BC 48 21 C6 75 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 800F7760 000F46C0 C0 31 00 50 */ lfs f1, 0x50(r17) -/* 800F7764 000F46C4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F7768 000F46C8 C1 01 00 7C */ lfs f8, 0x7c(r1) -/* 800F776C 000F46CC 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800F7770 000F46D0 C0 02 92 EC */ lfs f0, lbl_805AB00C@sda21(r2) -/* 800F7774 000F46D4 38 61 00 60 */ addi r3, r1, 0x60 -/* 800F7778 000F46D8 EC 21 02 32 */ fmuls f1, f1, f8 -/* 800F777C 000F46DC C0 91 00 40 */ lfs f4, 0x40(r17) -/* 800F7780 000F46E0 C1 21 00 78 */ lfs f9, 0x78(r1) -/* 800F7784 000F46E4 ED A0 07 B2 */ fmuls f13, f0, f30 -/* 800F7788 000F46E8 EF 80 07 32 */ fmuls f28, f0, f28 -/* 800F778C 000F46EC C0 B1 00 60 */ lfs f5, 0x60(r17) -/* 800F7790 000F46F0 EF A0 07 72 */ fmuls f29, f0, f29 -/* 800F7794 000F46F4 C0 7D 00 04 */ lfs f3, 4(r29) -/* 800F7798 000F46F8 C0 5D 00 08 */ lfs f2, 8(r29) -/* 800F779C 000F46FC EC 24 0A 7A */ fmadds f1, f4, f9, f1 -/* 800F77A0 000F4700 C0 E1 00 80 */ lfs f7, 0x80(r1) -/* 800F77A4 000F4704 ED 83 E0 28 */ fsubs f12, f3, f28 -/* 800F77A8 000F4708 C0 1D 00 00 */ lfs f0, 0(r29) -/* 800F77AC 000F470C EC C5 09 FA */ fmadds f6, f5, f7, f1 -/* 800F77B0 000F4710 ED 62 E8 28 */ fsubs f11, f2, f29 -/* 800F77B4 000F4714 C0 A4 00 00 */ lfs f5, 0(r4) -/* 800F77B8 000F4718 EC 20 68 28 */ fsubs f1, f0, f13 -/* 800F77BC 000F471C C0 94 00 04 */ lfs f4, 4(r20) -/* 800F77C0 000F4720 ED 43 E0 2A */ fadds f10, f3, f28 -/* 800F77C4 000F4724 EC 62 E8 2A */ fadds f3, f2, f29 -/* 800F77C8 000F4728 EC 00 68 2A */ fadds f0, f0, f13 -/* 800F77CC 000F472C C0 54 00 08 */ lfs f2, 8(r20) -/* 800F77D0 000F4730 D1 21 01 08 */ stfs f9, 0x108(r1) -/* 800F77D4 000F4734 38 81 00 48 */ addi r4, r1, 0x48 -/* 800F77D8 000F4738 38 A1 01 08 */ addi r5, r1, 0x108 -/* 800F77DC 000F473C D1 01 01 0C */ stfs f8, 0x10c(r1) -/* 800F77E0 000F4740 38 C1 00 FC */ addi r6, r1, 0xfc -/* 800F77E4 000F4744 D0 E1 01 10 */ stfs f7, 0x110(r1) -/* 800F77E8 000F4748 D0 C1 01 14 */ stfs f6, 0x114(r1) -/* 800F77EC 000F474C D0 A1 00 FC */ stfs f5, 0xfc(r1) -/* 800F77F0 000F4750 D0 81 01 00 */ stfs f4, 0x100(r1) -/* 800F77F4 000F4754 D0 41 01 04 */ stfs f2, 0x104(r1) -/* 800F77F8 000F4758 D1 A1 00 3C */ stfs f13, 0x3c(r1) -/* 800F77FC 000F475C D3 81 00 40 */ stfs f28, 0x40(r1) -/* 800F7800 000F4760 D3 A1 00 44 */ stfs f29, 0x44(r1) -/* 800F7804 000F4764 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800F7808 000F4768 D1 81 00 4C */ stfs f12, 0x4c(r1) -/* 800F780C 000F476C D1 61 00 50 */ stfs f11, 0x50(r1) -/* 800F7810 000F4770 D1 A1 00 54 */ stfs f13, 0x54(r1) -/* 800F7814 000F4774 D3 81 00 58 */ stfs f28, 0x58(r1) -/* 800F7818 000F4778 D3 A1 00 5C */ stfs f29, 0x5c(r1) -/* 800F781C 000F477C D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800F7820 000F4780 D1 41 00 64 */ stfs f10, 0x64(r1) -/* 800F7824 000F4784 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 800F7828 000F4788 48 1D C4 79 */ bl RayPlaneIntersection__13CollisionUtilFRC9CVector3fRC9CVector3fRC6CPlaneR9CVector3f -/* 800F782C 000F478C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F7830 000F4790 41 82 01 90 */ beq lbl_800F79C0 -/* 800F7834 000F4794 C0 62 92 58 */ lfs f3, lbl_805AAF78@sda21(r2) -/* 800F7838 000F4798 38 61 01 F0 */ addi r3, r1, 0x1f0 -/* 800F783C 000F479C C0 11 00 E8 */ lfs f0, 0xe8(r17) -/* 800F7840 000F47A0 C0 51 00 EC */ lfs f2, 0xec(r17) -/* 800F7844 000F47A4 C0 31 00 F0 */ lfs f1, 0xf0(r17) -/* 800F7848 000F47A8 EF 83 00 32 */ fmuls f28, f3, f0 -/* 800F784C 000F47AC C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F7850 000F47B0 EF A3 00 B2 */ fmuls f29, f3, f2 -/* 800F7854 000F47B4 EF C3 00 72 */ fmuls f30, f3, f1 -/* 800F7858 000F47B8 EC 20 E0 24 */ fdivs f1, f0, f28 -/* 800F785C 000F47BC EC 40 E8 24 */ fdivs f2, f0, f29 -/* 800F7860 000F47C0 EC 60 F0 24 */ fdivs f3, f0, f30 -/* 800F7864 000F47C4 48 21 B9 A5 */ bl Scale__12CTransform4fFfff -/* 800F7868 000F47C8 38 61 02 50 */ addi r3, r1, 0x250 -/* 800F786C 000F47CC 38 81 01 F0 */ addi r4, r1, 0x1f0 -/* 800F7870 000F47D0 48 21 B3 05 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F7874 000F47D4 38 61 01 90 */ addi r3, r1, 0x190 -/* 800F7878 000F47D8 38 91 00 34 */ addi r4, r17, 0x34 -/* 800F787C 000F47DC 48 21 B4 21 */ bl GetQuickInverse__12CTransform4fCFv -/* 800F7880 000F47E0 38 61 01 C0 */ addi r3, r1, 0x1c0 -/* 800F7884 000F47E4 38 81 02 50 */ addi r4, r1, 0x250 -/* 800F7888 000F47E8 38 A1 01 90 */ addi r5, r1, 0x190 -/* 800F788C 000F47EC 48 21 B0 C5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800F7890 000F47F0 38 61 00 30 */ addi r3, r1, 0x30 -/* 800F7894 000F47F4 38 81 01 C0 */ addi r4, r1, 0x1c0 -/* 800F7898 000F47F8 38 A1 00 FC */ addi r5, r1, 0xfc -/* 800F789C 000F47FC 48 21 B2 4D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800F78A0 000F4800 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 800F78A4 000F4804 38 81 00 F0 */ addi r4, r1, 0xf0 -/* 800F78A8 000F4808 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 800F78AC 000F480C 38 6D 88 54 */ addi r3, r13, lbl_805A7414@sda21 -/* 800F78B0 000F4810 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 800F78B4 000F4814 38 AD 88 58 */ addi r5, r13, lbl_805A7418@sda21 -/* 800F78B8 000F4818 D0 41 00 F0 */ stfs f2, 0xf0(r1) -/* 800F78BC 000F481C D0 21 00 F4 */ stfs f1, 0xf4(r1) -/* 800F78C0 000F4820 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 800F78C4 000F4824 4B F1 49 F1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F78C8 000F4828 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F78CC 000F482C 7E 64 9B 78 */ mr r4, r19 -/* 800F78D0 000F4830 38 6D 88 5C */ addi r3, r13, lbl_805A741C@sda21 -/* 800F78D4 000F4834 38 AD 88 60 */ addi r5, r13, lbl_805A7420@sda21 -/* 800F78D8 000F4838 D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 800F78DC 000F483C 4B F1 49 D9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F78E0 000F4840 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F78E4 000F4844 FC 20 E0 90 */ fmr f1, f28 -/* 800F78E8 000F4848 FC 40 E8 90 */ fmr f2, f29 -/* 800F78EC 000F484C 38 61 01 60 */ addi r3, r1, 0x160 -/* 800F78F0 000F4850 FC 60 F0 90 */ fmr f3, f30 -/* 800F78F4 000F4854 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 800F78F8 000F4858 48 21 B9 11 */ bl Scale__12CTransform4fFfff -/* 800F78FC 000F485C 38 61 02 20 */ addi r3, r1, 0x220 -/* 800F7900 000F4860 38 81 01 60 */ addi r4, r1, 0x160 -/* 800F7904 000F4864 48 21 B2 71 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F7908 000F4868 38 61 01 30 */ addi r3, r1, 0x130 -/* 800F790C 000F486C 38 91 00 34 */ addi r4, r17, 0x34 -/* 800F7910 000F4870 38 A1 02 20 */ addi r5, r1, 0x220 -/* 800F7914 000F4874 48 21 B0 3D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800F7918 000F4878 38 61 00 24 */ addi r3, r1, 0x24 -/* 800F791C 000F487C 38 81 01 30 */ addi r4, r1, 0x130 -/* 800F7920 000F4880 38 A1 00 F0 */ addi r5, r1, 0xf0 -/* 800F7924 000F4884 48 21 B1 C5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 800F7928 000F4888 C3 C1 00 24 */ lfs f30, 0x24(r1) -/* 800F792C 000F488C 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 800F7930 000F4890 C0 1D 00 00 */ lfs f0, 0(r29) -/* 800F7934 000F4894 C3 81 00 28 */ lfs f28, 0x28(r1) -/* 800F7938 000F4898 C0 5D 00 04 */ lfs f2, 4(r29) -/* 800F793C 000F489C EC 1E 00 28 */ fsubs f0, f30, f0 -/* 800F7940 000F48A0 C3 A1 00 2C */ lfs f29, 0x2c(r1) -/* 800F7944 000F48A4 C0 3D 00 08 */ lfs f1, 8(r29) -/* 800F7948 000F48A8 EC 5C 10 28 */ fsubs f2, f28, f2 -/* 800F794C 000F48AC D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 800F7950 000F48B0 EC 1D 08 28 */ fsubs f0, f29, f1 -/* 800F7954 000F48B4 D0 41 00 E8 */ stfs f2, 0xe8(r1) -/* 800F7958 000F48B8 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 800F795C 000F48BC 48 21 CF 5D */ bl Magnitude__9CVector3fCFv -/* 800F7960 000F48C0 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 800F7964 000F48C4 40 80 00 5C */ bge lbl_800F79C0 -/* 800F7968 000F48C8 FF E0 08 90 */ fmr f31, f1 -/* 800F796C 000F48CC C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) -/* 800F7970 000F48D0 D3 DE 00 00 */ stfs f30, 0(r30) -/* 800F7974 000F48D4 38 00 00 01 */ li r0, 1 -/* 800F7978 000F48D8 7F 23 CB 78 */ mr r3, r25 -/* 800F797C 000F48DC 38 91 00 34 */ addi r4, r17, 0x34 -/* 800F7980 000F48E0 EC 60 F8 24 */ fdivs f3, f0, f31 -/* 800F7984 000F48E4 D3 9E 00 04 */ stfs f28, 4(r30) -/* 800F7988 000F48E8 D3 BE 00 08 */ stfs f29, 8(r30) -/* 800F798C 000F48EC D0 36 00 00 */ stfs f1, 0(r22) -/* 800F7990 000F48F0 C0 41 00 E4 */ lfs f2, 0xe4(r1) -/* 800F7994 000F48F4 C0 21 00 E8 */ lfs f1, 0xe8(r1) -/* 800F7998 000F48F8 C0 01 00 EC */ lfs f0, 0xec(r1) -/* 800F799C 000F48FC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F79A0 000F4900 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F79A4 000F4904 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F79A8 000F4908 D0 57 00 00 */ stfs f2, 0(r23) -/* 800F79AC 000F490C D0 37 00 04 */ stfs f1, 4(r23) -/* 800F79B0 000F4910 D0 17 00 08 */ stfs f0, 8(r23) -/* 800F79B4 000F4914 98 18 00 00 */ stb r0, 0(r24) -/* 800F79B8 000F4918 48 21 B1 89 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800F79BC 000F491C 3B 40 00 01 */ li r26, 1 -lbl_800F79C0: -/* 800F79C0 000F4920 3A 52 00 02 */ addi r18, r18, 2 -lbl_800F79C4: -/* 800F79C4 000F4924 80 01 02 80 */ lwz r0, 0x280(r1) -/* 800F79C8 000F4928 54 00 08 3C */ slwi r0, r0, 1 -/* 800F79CC 000F492C 7C 1B 02 14 */ add r0, r27, r0 -/* 800F79D0 000F4930 7C 12 00 40 */ cmplw r18, r0 -/* 800F79D4 000F4934 40 82 FD 08 */ bne lbl_800F76DC -/* 800F79D8 000F4938 7F 71 DB 78 */ mr r17, r27 -/* 800F79DC 000F493C 48 00 01 80 */ b lbl_800F7B5C -lbl_800F79E0: -/* 800F79E0 000F4940 A0 11 00 00 */ lhz r0, 0(r17) -/* 800F79E4 000F4944 7F 83 E3 78 */ mr r3, r28 -/* 800F79E8 000F4948 38 81 00 08 */ addi r4, r1, 8 -/* 800F79EC 000F494C B0 01 00 08 */ sth r0, 8(r1) -/* 800F79F0 000F4950 4B F5 4B B5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 800F79F4 000F4954 7C 64 1B 78 */ mr r4, r3 -/* 800F79F8 000F4958 38 61 00 14 */ addi r3, r1, 0x14 -/* 800F79FC 000F495C 4B FB 01 A1 */ bl "__ct__39TCastToPtr<25CScriptSpiderBallWaypoint>FP7CEntity" -/* 800F7A00 000F4960 80 63 00 04 */ lwz r3, 4(r3) -/* 800F7A04 000F4964 28 03 00 00 */ cmplwi r3, 0 -/* 800F7A08 000F4968 41 82 01 50 */ beq lbl_800F7B58 -/* 800F7A0C 000F496C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800F7A10 000F4970 C0 74 00 04 */ lfs f3, 4(r20) -/* 800F7A14 000F4974 C0 44 66 A0 */ lfs f2, skZero3f@l(r4) -/* 800F7A18 000F4978 38 00 00 00 */ li r0, 0 -/* 800F7A1C 000F497C C0 14 00 08 */ lfs f0, 8(r20) -/* 800F7A20 000F4980 7F 84 E3 78 */ mr r4, r28 -/* 800F7A24 000F4984 D0 41 00 D8 */ stfs f2, 0xd8(r1) -/* 800F7A28 000F4988 7F A5 EB 78 */ mr r5, r29 -/* 800F7A2C 000F498C C0 22 92 EC */ lfs f1, lbl_805AB00C@sda21(r2) -/* 800F7A30 000F4990 38 C1 00 10 */ addi r6, r1, 0x10 -/* 800F7A34 000F4994 90 01 00 10 */ stw r0, 0x10(r1) -/* 800F7A38 000F4998 38 E1 00 D8 */ addi r7, r1, 0xd8 -/* 800F7A3C 000F499C C0 42 91 80 */ lfs f2, lbl_805AAEA0@sda21(r2) -/* 800F7A40 000F49A0 39 01 00 C0 */ addi r8, r1, 0xc0 -/* 800F7A44 000F49A4 D0 61 00 DC */ stfs f3, 0xdc(r1) -/* 800F7A48 000F49A8 39 21 00 CC */ addi r9, r1, 0xcc -/* 800F7A4C 000F49AC D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 800F7A50 000F49B0 C0 1F 00 00 */ lfs f0, 0(r31) -/* 800F7A54 000F49B4 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 800F7A58 000F49B8 C0 1F 00 04 */ lfs f0, 4(r31) -/* 800F7A5C 000F49BC D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 800F7A60 000F49C0 C0 1F 00 08 */ lfs f0, 8(r31) -/* 800F7A64 000F49C4 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 800F7A68 000F49C8 C0 15 00 00 */ lfs f0, 0(r21) -/* 800F7A6C 000F49CC D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 800F7A70 000F49D0 C0 15 00 04 */ lfs f0, 4(r21) -/* 800F7A74 000F49D4 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 800F7A78 000F49D8 C0 15 00 08 */ lfs f0, 8(r21) -/* 800F7A7C 000F49DC D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 800F7A80 000F49E0 48 02 02 9D */ bl GetClosestPointAlongWaypoints__25CScriptSpiderBallWaypointCFR13CStateManagerRC9CVector3ffPPC25CScriptSpiderBallWaypointR9CVector3fR9CVector3ffR9CVector3f -/* 800F7A84 000F49E4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 800F7A88 000F49E8 28 00 00 00 */ cmplwi r0, 0 -/* 800F7A8C 000F49EC 41 82 00 CC */ beq lbl_800F7B58 -/* 800F7A90 000F49F0 C0 21 00 DC */ lfs f1, 0xdc(r1) -/* 800F7A94 000F49F4 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 800F7A98 000F49F8 C0 1D 00 04 */ lfs f0, 4(r29) -/* 800F7A9C 000F49FC C0 61 00 E0 */ lfs f3, 0xe0(r1) -/* 800F7AA0 000F4A00 C0 5D 00 08 */ lfs f2, 8(r29) -/* 800F7AA4 000F4A04 EC 81 00 28 */ fsubs f4, f1, f0 -/* 800F7AA8 000F4A08 C0 21 00 D8 */ lfs f1, 0xd8(r1) -/* 800F7AAC 000F4A0C C0 1D 00 00 */ lfs f0, 0(r29) -/* 800F7AB0 000F4A10 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800F7AB4 000F4A14 D0 81 00 B8 */ stfs f4, 0xb8(r1) -/* 800F7AB8 000F4A18 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F7ABC 000F4A1C D0 41 00 BC */ stfs f2, 0xbc(r1) -/* 800F7AC0 000F4A20 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 800F7AC4 000F4A24 48 21 CD F5 */ bl Magnitude__9CVector3fCFv -/* 800F7AC8 000F4A28 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 800F7ACC 000F4A2C 40 80 00 8C */ bge lbl_800F7B58 -/* 800F7AD0 000F4A30 C0 41 00 D8 */ lfs f2, 0xd8(r1) -/* 800F7AD4 000F4A34 FF E0 08 90 */ fmr f31, f1 -/* 800F7AD8 000F4A38 C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) -/* 800F7ADC 000F4A3C 38 00 00 00 */ li r0, 0 -/* 800F7AE0 000F4A40 D0 5E 00 00 */ stfs f2, 0(r30) -/* 800F7AE4 000F4A44 3B 40 00 01 */ li r26, 1 -/* 800F7AE8 000F4A48 EC 60 F8 24 */ fdivs f3, f0, f31 -/* 800F7AEC 000F4A4C C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 800F7AF0 000F4A50 D0 1E 00 04 */ stfs f0, 4(r30) -/* 800F7AF4 000F4A54 C0 01 00 E0 */ lfs f0, 0xe0(r1) -/* 800F7AF8 000F4A58 D0 1E 00 08 */ stfs f0, 8(r30) -/* 800F7AFC 000F4A5C C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 800F7B00 000F4A60 D0 1F 00 00 */ stfs f0, 0(r31) -/* 800F7B04 000F4A64 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 800F7B08 000F4A68 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800F7B0C 000F4A6C C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 800F7B10 000F4A70 D0 1F 00 08 */ stfs f0, 8(r31) -/* 800F7B14 000F4A74 C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 800F7B18 000F4A78 D0 15 00 00 */ stfs f0, 0(r21) -/* 800F7B1C 000F4A7C C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 800F7B20 000F4A80 D0 15 00 04 */ stfs f0, 4(r21) -/* 800F7B24 000F4A84 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 800F7B28 000F4A88 D0 15 00 08 */ stfs f0, 8(r21) -/* 800F7B2C 000F4A8C D0 36 00 00 */ stfs f1, 0(r22) -/* 800F7B30 000F4A90 C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 800F7B34 000F4A94 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 800F7B38 000F4A98 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 800F7B3C 000F4A9C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F7B40 000F4AA0 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F7B44 000F4AA4 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F7B48 000F4AA8 D0 57 00 00 */ stfs f2, 0(r23) -/* 800F7B4C 000F4AAC D0 37 00 04 */ stfs f1, 4(r23) -/* 800F7B50 000F4AB0 D0 17 00 08 */ stfs f0, 8(r23) -/* 800F7B54 000F4AB4 98 18 00 00 */ stb r0, 0(r24) -lbl_800F7B58: -/* 800F7B58 000F4AB8 3A 31 00 02 */ addi r17, r17, 2 -lbl_800F7B5C: -/* 800F7B5C 000F4ABC 80 A1 02 80 */ lwz r5, 0x280(r1) -/* 800F7B60 000F4AC0 54 A0 08 3C */ slwi r0, r5, 1 -/* 800F7B64 000F4AC4 7C 1B 02 14 */ add r0, r27, r0 -/* 800F7B68 000F4AC8 7C 11 00 40 */ cmplw r17, r0 -/* 800F7B6C 000F4ACC 40 82 FE 74 */ bne lbl_800F79E0 -/* 800F7B70 000F4AD0 2C 05 00 00 */ cmpwi r5, 0 -/* 800F7B74 000F4AD4 38 60 00 00 */ li r3, 0 -/* 800F7B78 000F4AD8 40 81 00 40 */ ble lbl_800F7BB8 -/* 800F7B7C 000F4ADC 2C 05 00 08 */ cmpwi r5, 8 -/* 800F7B80 000F4AE0 38 85 FF F8 */ addi r4, r5, -8 -/* 800F7B84 000F4AE4 40 81 00 20 */ ble lbl_800F7BA4 -/* 800F7B88 000F4AE8 38 04 00 07 */ addi r0, r4, 7 -/* 800F7B8C 000F4AEC 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F7B90 000F4AF0 7C 09 03 A6 */ mtctr r0 -/* 800F7B94 000F4AF4 2C 04 00 00 */ cmpwi r4, 0 -/* 800F7B98 000F4AF8 40 81 00 0C */ ble lbl_800F7BA4 -lbl_800F7B9C: -/* 800F7B9C 000F4AFC 38 63 00 08 */ addi r3, r3, 8 -/* 800F7BA0 000F4B00 42 00 FF FC */ bdnz lbl_800F7B9C -lbl_800F7BA4: -/* 800F7BA4 000F4B04 7C 03 28 50 */ subf r0, r3, r5 -/* 800F7BA8 000F4B08 7C 09 03 A6 */ mtctr r0 -/* 800F7BAC 000F4B0C 7C 03 28 00 */ cmpw r3, r5 -/* 800F7BB0 000F4B10 40 80 00 08 */ bge lbl_800F7BB8 -lbl_800F7BB4: -/* 800F7BB4 000F4B14 42 00 00 00 */ bdnz lbl_800F7BB4 -lbl_800F7BB8: -/* 800F7BB8 000F4B18 38 00 00 00 */ li r0, 0 -/* 800F7BBC 000F4B1C 7F 43 D3 78 */ mr r3, r26 -/* 800F7BC0 000F4B20 90 01 02 80 */ stw r0, 0x280(r1) -/* 800F7BC4 000F4B24 E3 E1 0B 08 */ psq_l f31, -1272(r1), 0, qr0 -/* 800F7BC8 000F4B28 CB E1 0B 00 */ lfd f31, 0xb00(r1) -/* 800F7BCC 000F4B2C E3 C1 0A F8 */ psq_l f30, -1288(r1), 0, qr0 -/* 800F7BD0 000F4B30 CB C1 0A F0 */ lfd f30, 0xaf0(r1) -/* 800F7BD4 000F4B34 E3 A1 0A E8 */ psq_l f29, -1304(r1), 0, qr0 -/* 800F7BD8 000F4B38 CB A1 0A E0 */ lfd f29, 0xae0(r1) -/* 800F7BDC 000F4B3C E3 81 0A D8 */ psq_l f28, -1320(r1), 0, qr0 -/* 800F7BE0 000F4B40 CB 81 0A D0 */ lfd f28, 0xad0(r1) -/* 800F7BE4 000F4B44 BA 21 0A 94 */ lmw r17, 0xa94(r1) -/* 800F7BE8 000F4B48 80 01 0B 14 */ lwz r0, 0xb14(r1) -/* 800F7BEC 000F4B4C 7C 08 03 A6 */ mtlr r0 -/* 800F7BF0 000F4B50 38 21 0B 10 */ addi r1, r1, 0xb10 -/* 800F7BF4 000F4B54 4E 80 00 20 */ blr - -.global CheckForSwitchToSpiderBallSwinging__10CMorphBallCFR13CStateManager -CheckForSwitchToSpiderBallSwinging__10CMorphBallCFR13CStateManager: -/* 800F7BF8 000F4B58 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 800F7BFC 000F4B5C 7C 08 02 A6 */ mflr r0 -/* 800F7C00 000F4B60 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 800F7C04 000F4B64 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 800F7C08 000F4B68 7C 9F 23 78 */ mr r31, r4 -/* 800F7C0C 000F4B6C 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 800F7C10 000F4B70 7C 7E 1B 78 */ mr r30, r3 -/* 800F7C14 000F4B74 88 03 18 BD */ lbz r0, 0x18bd(r3) -/* 800F7C18 000F4B78 28 00 00 00 */ cmplwi r0, 0 -/* 800F7C1C 000F4B7C 40 82 00 0C */ bne lbl_800F7C28 -/* 800F7C20 000F4B80 38 60 00 00 */ li r3, 0 -/* 800F7C24 000F4B84 48 00 01 34 */ b lbl_800F7D58 -lbl_800F7C28: -/* 800F7C28 000F4B88 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F7C2C 000F4B8C C0 1E 18 8C */ lfs f0, 0x188c(r30) -/* 800F7C30 000F4B90 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F7C34 000F4B94 40 82 00 F4 */ bne lbl_800F7D28 -/* 800F7C38 000F4B98 88 1E 18 BE */ lbz r0, 0x18be(r30) -/* 800F7C3C 000F4B9C 28 00 00 00 */ cmplwi r0, 0 -/* 800F7C40 000F4BA0 41 82 00 E0 */ beq lbl_800F7D20 -/* 800F7C44 000F4BA4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F7C48 000F4BA8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F7C4C 000F4BAC 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 800F7C50 000F4BB0 C0 25 00 00 */ lfs f1, 0(r5) -/* 800F7C54 000F4BB4 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800F7C58 000F4BB8 C0 45 00 04 */ lfs f2, 4(r5) -/* 800F7C5C 000F4BBC 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800F7C60 000F4BC0 C0 65 00 08 */ lfs f3, 8(r5) -/* 800F7C64 000F4BC4 38 61 00 84 */ addi r3, r1, 0x84 -/* 800F7C68 000F4BC8 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800F7C6C 000F4BCC D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 800F7C70 000F4BD0 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 800F7C74 000F4BD4 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800F7C78 000F4BD8 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 800F7C7C 000F4BDC D0 61 00 44 */ stfs f3, 0x44(r1) -/* 800F7C80 000F4BE0 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800F7C84 000F4BE4 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 800F7C88 000F4BE8 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 800F7C8C 000F4BEC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800F7C90 000F4BF0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800F7C94 000F4BF4 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 800F7C98 000F4BF8 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 800F7C9C 000F4BFC 48 21 AE D9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F7CA0 000F4C00 7F C4 F3 78 */ mr r4, r30 -/* 800F7CA4 000F4C04 38 61 00 54 */ addi r3, r1, 0x54 -/* 800F7CA8 000F4C08 4B FF EA 4D */ bl GetBallToWorld__10CMorphBallCFv -/* 800F7CAC 000F4C0C C0 41 00 80 */ lfs f2, 0x80(r1) -/* 800F7CB0 000F4C10 39 61 00 10 */ addi r11, r1, 0x10 -/* 800F7CB4 000F4C14 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 800F7CB8 000F4C18 38 01 00 84 */ addi r0, r1, 0x84 -/* 800F7CBC 000F4C1C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 800F7CC0 000F4C20 7F C3 F3 78 */ mr r3, r30 -/* 800F7CC4 000F4C24 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800F7CC8 000F4C28 7F E4 FB 78 */ mr r4, r31 -/* 800F7CCC 000F4C2C 38 A1 00 18 */ addi r5, r1, 0x18 -/* 800F7CD0 000F4C30 38 C1 00 48 */ addi r6, r1, 0x48 -/* 800F7CD4 000F4C34 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800F7CD8 000F4C38 38 E1 00 3C */ addi r7, r1, 0x3c -/* 800F7CDC 000F4C3C 39 01 00 30 */ addi r8, r1, 0x30 -/* 800F7CE0 000F4C40 39 21 00 14 */ addi r9, r1, 0x14 -/* 800F7CE4 000F4C44 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 800F7CE8 000F4C48 39 41 00 24 */ addi r10, r1, 0x24 -/* 800F7CEC 000F4C4C 91 61 00 08 */ stw r11, 8(r1) -/* 800F7CF0 000F4C50 90 01 00 0C */ stw r0, 0xc(r1) -/* 800F7CF4 000F4C54 4B FF F9 05 */ bl FindClosestSpiderBallWaypoint__10CMorphBallCFR13CStateManagerRC9CVector3fR9CVector3fR9CVector3fR9CVector3fRfR9CVector3fRbR12CTransform4f -/* 800F7CF8 000F4C58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F7CFC 000F4C5C 41 82 00 1C */ beq lbl_800F7D18 -/* 800F7D00 000F4C60 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 800F7D04 000F4C64 C0 02 92 EC */ lfs f0, lbl_805AB00C@sda21(r2) -/* 800F7D08 000F4C68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F7D0C 000F4C6C 40 80 00 0C */ bge lbl_800F7D18 -/* 800F7D10 000F4C70 38 60 00 00 */ li r3, 0 -/* 800F7D14 000F4C74 48 00 00 44 */ b lbl_800F7D58 -lbl_800F7D18: -/* 800F7D18 000F4C78 38 60 00 01 */ li r3, 1 -/* 800F7D1C 000F4C7C 48 00 00 3C */ b lbl_800F7D58 -lbl_800F7D20: -/* 800F7D20 000F4C80 38 60 00 00 */ li r3, 0 -/* 800F7D24 000F4C84 48 00 00 34 */ b lbl_800F7D58 -lbl_800F7D28: -/* 800F7D28 000F4C88 88 1E 18 BE */ lbz r0, 0x18be(r30) -/* 800F7D2C 000F4C8C 28 00 00 00 */ cmplwi r0, 0 -/* 800F7D30 000F4C90 41 82 00 0C */ beq lbl_800F7D3C -/* 800F7D34 000F4C94 38 60 00 01 */ li r3, 1 -/* 800F7D38 000F4C98 48 00 00 20 */ b lbl_800F7D58 -lbl_800F7D3C: -/* 800F7D3C 000F4C9C C0 3E 18 88 */ lfs f1, 0x1888(r30) -/* 800F7D40 000F4CA0 C0 02 91 AC */ lfs f0, lbl_805AAECC@sda21(r2) -/* 800F7D44 000F4CA4 FC 20 0A 10 */ fabs f1, f1 -/* 800F7D48 000F4CA8 FC 20 08 18 */ frsp f1, f1 -/* 800F7D4C 000F4CAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F7D50 000F4CB0 7C 00 00 26 */ mfcr r0 -/* 800F7D54 000F4CB4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -lbl_800F7D58: -/* 800F7D58 000F4CB8 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 800F7D5C 000F4CBC 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 800F7D60 000F4CC0 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 800F7D64 000F4CC4 7C 08 03 A6 */ mtlr r0 -/* 800F7D68 000F4CC8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 800F7D6C 000F4CCC 4E 80 00 20 */ blr - -.global ApplySpiderBallRollForces__10CMorphBallFRC11CFinalInputR13CStateManagerf -ApplySpiderBallRollForces__10CMorphBallFRC11CFinalInputR13CStateManagerf: -/* 800F7D70 000F4CD0 94 21 FE 00 */ stwu r1, -0x200(r1) -/* 800F7D74 000F4CD4 7C 08 02 A6 */ mflr r0 -/* 800F7D78 000F4CD8 90 01 02 04 */ stw r0, 0x204(r1) -/* 800F7D7C 000F4CDC DB E1 01 F0 */ stfd f31, 0x1f0(r1) -/* 800F7D80 000F4CE0 F3 E1 01 F8 */ psq_st f31, 504(r1), 0, qr0 -/* 800F7D84 000F4CE4 DB C1 01 E0 */ stfd f30, 0x1e0(r1) -/* 800F7D88 000F4CE8 F3 C1 01 E8 */ psq_st f30, 488(r1), 0, qr0 -/* 800F7D8C 000F4CEC DB A1 01 D0 */ stfd f29, 0x1d0(r1) -/* 800F7D90 000F4CF0 F3 A1 01 D8 */ psq_st f29, 472(r1), 0, qr0 -/* 800F7D94 000F4CF4 DB 81 01 C0 */ stfd f28, 0x1c0(r1) -/* 800F7D98 000F4CF8 F3 81 01 C8 */ psq_st f28, 456(r1), 0, qr0 -/* 800F7D9C 000F4CFC DB 61 01 B0 */ stfd f27, 0x1b0(r1) -/* 800F7DA0 000F4D00 F3 61 01 B8 */ psq_st f27, 440(r1), 0, qr0 -/* 800F7DA4 000F4D04 DB 41 01 A0 */ stfd f26, 0x1a0(r1) -/* 800F7DA8 000F4D08 F3 41 01 A8 */ psq_st f26, 424(r1), 0, qr0 -/* 800F7DAC 000F4D0C DB 21 01 90 */ stfd f25, 0x190(r1) -/* 800F7DB0 000F4D10 F3 21 01 98 */ psq_st f25, 408(r1), 0, qr0 -/* 800F7DB4 000F4D14 BF 61 01 7C */ stmw r27, 0x17c(r1) -/* 800F7DB8 000F4D18 7C 7C 1B 78 */ mr r28, r3 -/* 800F7DBC 000F4D1C 7C 80 23 78 */ mr r0, r4 -/* 800F7DC0 000F4D20 7C BD 2B 78 */ mr r29, r5 -/* 800F7DC4 000F4D24 38 61 00 28 */ addi r3, r1, 0x28 -/* 800F7DC8 000F4D28 7F 84 E3 78 */ mr r4, r28 -/* 800F7DCC 000F4D2C 7C 05 03 78 */ mr r5, r0 -/* 800F7DD0 000F4D30 48 00 08 79 */ bl CalculateSpiderBallAttractionSurfaceForces__10CMorphBallCFRC11CFinalInput -/* 800F7DD4 000F4D34 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 800F7DD8 000F4D38 7F A5 EB 78 */ mr r5, r29 -/* 800F7DDC 000F4D3C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800F7DE0 000F4D40 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800F7DE4 000F4D44 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800F7DE8 000F4D48 38 81 00 38 */ addi r4, r1, 0x38 -/* 800F7DEC 000F4D4C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800F7DF0 000F4D50 48 00 09 C1 */ bl TransformSpiderBallForcesXZ__10CMorphBallFR9CVector2fR13CStateManager -/* 800F7DF4 000F4D54 C3 C1 00 B8 */ lfs f30, 0xb8(r1) -/* 800F7DF8 000F4D58 7F A4 EB 78 */ mr r4, r29 -/* 800F7DFC 000F4D5C C3 E1 00 BC */ lfs f31, 0xbc(r1) -/* 800F7E00 000F4D60 C3 A1 00 C0 */ lfs f29, 0xc0(r1) -/* 800F7E04 000F4D64 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 800F7E08 000F4D68 4B F1 3D 11 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800F7E0C 000F4D6C 7C 64 1B 78 */ mr r4, r3 -/* 800F7E10 000F4D70 38 61 01 3C */ addi r3, r1, 0x13c -/* 800F7E14 000F4D74 38 84 00 34 */ addi r4, r4, 0x34 -/* 800F7E18 000F4D78 48 21 AD 5D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F7E1C 000F4D7C 38 61 00 AC */ addi r3, r1, 0xac -/* 800F7E20 000F4D80 38 9C 18 9C */ addi r4, r28, 0x189c -/* 800F7E24 000F4D84 48 21 CA 2D */ bl AsNormalized__9CVector3fCFv -/* 800F7E28 000F4D88 C3 81 00 B0 */ lfs f28, 0xb0(r1) -/* 800F7E2C 000F4D8C C0 21 01 54 */ lfs f1, 0x154(r1) -/* 800F7E30 000F4D90 C0 01 01 50 */ lfs f0, 0x150(r1) -/* 800F7E34 000F4D94 EC 5C 00 72 */ fmuls f2, f28, f1 -/* 800F7E38 000F4D98 C3 41 00 AC */ lfs f26, 0xac(r1) -/* 800F7E3C 000F4D9C C0 61 01 44 */ lfs f3, 0x144(r1) -/* 800F7E40 000F4DA0 EC 1C 00 32 */ fmuls f0, f28, f0 -/* 800F7E44 000F4DA4 C0 21 01 40 */ lfs f1, 0x140(r1) -/* 800F7E48 000F4DA8 EC 5A 10 FA */ fmadds f2, f26, f3, f2 -/* 800F7E4C 000F4DAC EC 1A 00 7A */ fmadds f0, f26, f1, f0 -/* 800F7E50 000F4DB0 C3 61 00 B4 */ lfs f27, 0xb4(r1) -/* 800F7E54 000F4DB4 C0 61 01 64 */ lfs f3, 0x164(r1) -/* 800F7E58 000F4DB8 C0 21 01 60 */ lfs f1, 0x160(r1) -/* 800F7E5C 000F4DBC 80 7C 00 00 */ lwz r3, 0(r28) -/* 800F7E60 000F4DC0 EC 5B 10 FA */ fmadds f2, f27, f3, f2 -/* 800F7E64 000F4DC4 EC 1B 00 7A */ fmadds f0, f27, f1, f0 -/* 800F7E68 000F4DC8 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 800F7E6C 000F4DCC FC 20 12 10 */ fabs f1, f2 -/* 800F7E70 000F4DD0 FC 00 02 10 */ fabs f0, f0 -/* 800F7E74 000F4DD4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800F7E78 000F4DD8 FC 20 08 18 */ frsp f1, f1 -/* 800F7E7C 000F4DDC FC 40 00 18 */ frsp f2, f0 -/* 800F7E80 000F4DE0 41 82 00 34 */ beq lbl_800F7EB4 -/* 800F7E84 000F4DE4 C0 02 91 90 */ lfs f0, lbl_805AAEB0@sda21(r2) -/* 800F7E88 000F4DE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F7E8C 000F4DEC 40 80 00 28 */ bge lbl_800F7EB4 -/* 800F7E90 000F4DF0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800F7E94 000F4DF4 40 81 00 20 */ ble lbl_800F7EB4 -/* 800F7E98 000F4DF8 7F A5 EB 78 */ mr r5, r29 -/* 800F7E9C 000F4DFC 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800F7EA0 000F4E00 38 81 00 38 */ addi r4, r1, 0x38 -/* 800F7EA4 000F4E04 48 00 08 6D */ bl TransformSpiderBallForcesXY__10CMorphBallFR9CVector2fR13CStateManager -/* 800F7EA8 000F4E08 C3 C1 00 A0 */ lfs f30, 0xa0(r1) -/* 800F7EAC 000F4E0C C3 E1 00 A4 */ lfs f31, 0xa4(r1) -/* 800F7EB0 000F4E10 C3 A1 00 A8 */ lfs f29, 0xa8(r1) -lbl_800F7EB4: -/* 800F7EB4 000F4E14 38 61 00 38 */ addi r3, r1, 0x38 -/* 800F7EB8 000F4E18 48 21 C2 3D */ bl Magnitude__9CVector2fCFv -/* 800F7EBC 000F4E1C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800F7EC0 000F4E20 38 61 00 30 */ addi r3, r1, 0x30 -/* 800F7EC4 000F4E24 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F7EC8 000F4E28 FC 40 08 90 */ fmr f2, f1 -/* 800F7ECC 000F4E2C 48 21 C3 35 */ bl __ct__9CVector2fFff -/* 800F7ED0 000F4E30 88 1C 18 C0 */ lbz r0, 0x18c0(r28) -/* 800F7ED4 000F4E34 28 00 00 00 */ cmplwi r0, 0 -/* 800F7ED8 000F4E38 41 82 00 0C */ beq lbl_800F7EE4 -/* 800F7EDC 000F4E3C C3 41 00 1C */ lfs f26, 0x1c(r1) -/* 800F7EE0 000F4E40 48 00 00 10 */ b lbl_800F7EF0 -lbl_800F7EE4: -/* 800F7EE4 000F4E44 EC 1F 07 32 */ fmuls f0, f31, f28 -/* 800F7EE8 000F4E48 EC 1E 06 BA */ fmadds f0, f30, f26, f0 -/* 800F7EEC 000F4E4C EF 5D 06 FA */ fmadds f26, f29, f27, f0 -lbl_800F7EF0: -/* 800F7EF0 000F4E50 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 800F7EF4 000F4E54 3B 60 00 01 */ li r27, 1 -/* 800F7EF8 000F4E58 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) -/* 800F7EFC 000F4E5C 3B C0 00 00 */ li r30, 0 -/* 800F7F00 000F4E60 FC 20 0A 10 */ fabs f1, f1 -/* 800F7F04 000F4E64 FC 20 08 18 */ frsp f1, f1 -/* 800F7F08 000F4E68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F7F0C 000F4E6C 40 81 00 98 */ ble lbl_800F7FA4 -/* 800F7F10 000F4E70 38 61 00 20 */ addi r3, r1, 0x20 -/* 800F7F14 000F4E74 38 81 00 38 */ addi r4, r1, 0x38 -/* 800F7F18 000F4E78 48 21 C1 69 */ bl AsNormalized__9CVector2fCFv -/* 800F7F1C 000F4E7C C0 21 00 20 */ lfs f1, 0x20(r1) -/* 800F7F20 000F4E80 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 800F7F24 000F4E84 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800F7F28 000F4E88 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800F7F2C 000F4E8C 88 1C 18 C0 */ lbz r0, 0x18c0(r28) -/* 800F7F30 000F4E90 28 00 00 00 */ cmplwi r0, 0 -/* 800F7F34 000F4E94 40 82 00 3C */ bne lbl_800F7F70 -/* 800F7F38 000F4E98 38 61 00 30 */ addi r3, r1, 0x30 -/* 800F7F3C 000F4E9C 38 9C 19 0C */ addi r4, r28, 0x190c -/* 800F7F40 000F4EA0 48 21 C0 69 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 800F7F44 000F4EA4 C0 02 91 AC */ lfs f0, lbl_805AAECC@sda21(r2) -/* 800F7F48 000F4EA8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F7F4C 000F4EAC 40 81 00 24 */ ble lbl_800F7F70 -/* 800F7F50 000F4EB0 C0 3C 19 14 */ lfs f1, 0x1914(r28) -/* 800F7F54 000F4EB4 3B C0 00 01 */ li r30, 1 -/* 800F7F58 000F4EB8 C0 62 91 A8 */ lfs f3, lbl_805AAEC8@sda21(r2) -/* 800F7F5C 000F4EBC C0 42 91 5C */ lfs f2, lbl_805AAE7C@sda21(r2) -/* 800F7F60 000F4EC0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800F7F64 000F4EC4 FC 21 18 AE */ fsel f1, f1, f2, f3 -/* 800F7F68 000F4EC8 EF 40 00 72 */ fmuls f26, f0, f1 -/* 800F7F6C 000F4ECC 48 00 00 3C */ b lbl_800F7FA8 -lbl_800F7F70: -/* 800F7F70 000F4ED0 FC 20 D2 10 */ fabs f1, f26 -/* 800F7F74 000F4ED4 C0 02 91 FC */ lfs f0, lbl_805AAF1C@sda21(r2) -/* 800F7F78 000F4ED8 FC 20 08 18 */ frsp f1, f1 -/* 800F7F7C 000F4EDC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F7F80 000F4EE0 40 81 00 1C */ ble lbl_800F7F9C -/* 800F7F84 000F4EE4 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) -/* 800F7F88 000F4EE8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F7F8C 000F4EEC C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800F7F90 000F4EF0 FC 3A 10 6E */ fsel f1, f26, f1, f2 -/* 800F7F94 000F4EF4 EF 40 00 72 */ fmuls f26, f0, f1 -/* 800F7F98 000F4EF8 48 00 00 10 */ b lbl_800F7FA8 -lbl_800F7F9C: -/* 800F7F9C 000F4EFC 3B 60 00 00 */ li r27, 0 -/* 800F7FA0 000F4F00 48 00 00 08 */ b lbl_800F7FA8 -lbl_800F7FA4: -/* 800F7FA4 000F4F04 3B 60 00 00 */ li r27, 0 -lbl_800F7FA8: -/* 800F7FA8 000F4F08 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800F7FAC 000F4F0C 40 82 00 20 */ bne lbl_800F7FCC -/* 800F7FB0 000F4F10 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800F7FB4 000F4F14 38 00 00 01 */ li r0, 1 -/* 800F7FB8 000F4F18 D0 1C 19 0C */ stfs f0, 0x190c(r28) -/* 800F7FBC 000F4F1C C0 01 00 34 */ lfs f0, 0x34(r1) -/* 800F7FC0 000F4F20 D0 1C 19 10 */ stfs f0, 0x1910(r28) -/* 800F7FC4 000F4F24 D3 5C 19 14 */ stfs f26, 0x1914(r28) -/* 800F7FC8 000F4F28 98 1C 19 20 */ stb r0, 0x1920(r28) -lbl_800F7FCC: -/* 800F7FCC 000F4F2C 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 800F7FD0 000F4F30 40 82 00 10 */ bne lbl_800F7FE0 -/* 800F7FD4 000F4F34 C3 42 91 50 */ lfs f26, lbl_805AAE70@sda21(r2) -/* 800F7FD8 000F4F38 7F 83 E3 78 */ mr r3, r28 -/* 800F7FDC 000F4F3C 48 00 06 11 */ bl ResetSpiderBallForces__10CMorphBallFv -lbl_800F7FE0: -/* 800F7FE0 000F4F40 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 800F7FE4 000F4F44 3B E0 00 01 */ li r31, 1 -/* 800F7FE8 000F4F48 40 82 00 20 */ bne lbl_800F8008 -/* 800F7FEC 000F4F4C 80 7C 00 00 */ lwz r3, 0(r28) -/* 800F7FF0 000F4F50 38 63 01 38 */ addi r3, r3, 0x138 -/* 800F7FF4 000F4F54 48 21 C8 C5 */ bl Magnitude__9CVector3fCFv -/* 800F7FF8 000F4F58 C0 02 93 10 */ lfs f0, lbl_805AB030@sda21(r2) -/* 800F7FFC 000F4F5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F8000 000F4F60 41 81 00 08 */ bgt lbl_800F8008 -/* 800F8004 000F4F64 3B E0 00 00 */ li r31, 0 -lbl_800F8008: -/* 800F8008 000F4F68 88 1C 18 BD */ lbz r0, 0x18bd(r28) -/* 800F800C 000F4F6C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F8010 000F4F70 C7 63 66 A0 */ lfsu f27, skZero3f@l(r3) -/* 800F8014 000F4F74 28 00 00 00 */ cmplwi r0, 0 -/* 800F8018 000F4F78 C3 83 00 04 */ lfs f28, 4(r3) -/* 800F801C 000F4F7C C3 23 00 08 */ lfs f25, 8(r3) -/* 800F8020 000F4F80 41 82 00 6C */ beq lbl_800F808C -/* 800F8024 000F4F84 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 800F8028 000F4F88 41 82 00 64 */ beq lbl_800F808C -/* 800F802C 000F4F8C 88 1C 18 C0 */ lbz r0, 0x18c0(r28) -/* 800F8030 000F4F90 28 00 00 00 */ cmplwi r0, 0 -/* 800F8034 000F4F94 41 82 00 18 */ beq lbl_800F804C -/* 800F8038 000F4F98 C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) -/* 800F803C 000F4F9C EF 60 07 B2 */ fmuls f27, f0, f30 -/* 800F8040 000F4FA0 EF 80 07 F2 */ fmuls f28, f0, f31 -/* 800F8044 000F4FA4 EF 20 07 72 */ fmuls f25, f0, f29 -/* 800F8048 000F4FA8 48 00 00 44 */ b lbl_800F808C -lbl_800F804C: -/* 800F804C 000F4FAC C0 22 91 A8 */ lfs f1, lbl_805AAEC8@sda21(r2) -/* 800F8050 000F4FB0 38 61 00 94 */ addi r3, r1, 0x94 -/* 800F8054 000F4FB4 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F8058 000F4FB8 38 9C 18 A8 */ addi r4, r28, 0x18a8 -/* 800F805C 000F4FBC FF 5A 08 2E */ fsel f26, f26, f0, f1 -/* 800F8060 000F4FC0 48 21 C7 F1 */ bl AsNormalized__9CVector3fCFv -/* 800F8064 000F4FC4 C0 62 91 E4 */ lfs f3, lbl_805AAF04@sda21(r2) -/* 800F8068 000F4FC8 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 800F806C 000F4FCC C0 21 00 98 */ lfs f1, 0x98(r1) -/* 800F8070 000F4FD0 C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 800F8074 000F4FD4 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F8078 000F4FD8 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F807C 000F4FDC EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F8080 000F4FE0 EF 7A 00 B2 */ fmuls f27, f26, f2 -/* 800F8084 000F4FE4 EF 9A 00 72 */ fmuls f28, f26, f1 -/* 800F8088 000F4FE8 EF 3A 00 32 */ fmuls f25, f26, f0 -lbl_800F808C: -/* 800F808C 000F4FEC 7F 84 E3 78 */ mr r4, r28 -/* 800F8090 000F4FF0 38 61 01 0C */ addi r3, r1, 0x10c -/* 800F8094 000F4FF4 4B FF E6 61 */ bl GetBallToWorld__10CMorphBallCFv -/* 800F8098 000F4FF8 C0 41 01 28 */ lfs f2, 0x128(r1) -/* 800F809C 000F4FFC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800F80A0 000F5000 C0 21 01 18 */ lfs f1, 0x118(r1) -/* 800F80A4 000F5004 38 60 00 00 */ li r3, 0 -/* 800F80A8 000F5008 EC 62 E0 2A */ fadds f3, f2, f28 -/* 800F80AC 000F500C C0 01 01 38 */ lfs f0, 0x138(r1) -/* 800F80B0 000F5010 EC 21 D8 2A */ fadds f1, f1, f27 -/* 800F80B4 000F5014 EC 40 C8 2A */ fadds f2, f0, f25 -/* 800F80B8 000F5018 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F80BC 000F501C D0 61 00 D4 */ stfs f3, 0xd4(r1) -/* 800F80C0 000F5020 D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 800F80C4 000F5024 D0 41 00 D8 */ stfs f2, 0xd8(r1) -/* 800F80C8 000F5028 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800F80CC 000F502C 40 82 00 30 */ bne lbl_800F80FC -/* 800F80D0 000F5030 88 1C 18 BD */ lbz r0, 0x18bd(r28) -/* 800F80D4 000F5034 28 00 00 00 */ cmplwi r0, 0 -/* 800F80D8 000F5038 41 82 00 24 */ beq lbl_800F80FC -/* 800F80DC 000F503C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F80E0 000F5040 C0 1C 18 8C */ lfs f0, 0x188c(r28) -/* 800F80E4 000F5044 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F80E8 000F5048 40 82 00 14 */ bne lbl_800F80FC -/* 800F80EC 000F504C 88 1C 18 BF */ lbz r0, 0x18bf(r28) -/* 800F80F0 000F5050 28 00 00 00 */ cmplwi r0, 0 -/* 800F80F4 000F5054 40 82 00 08 */ bne lbl_800F80FC -/* 800F80F8 000F5058 38 60 00 01 */ li r3, 1 -lbl_800F80FC: -/* 800F80FC 000F505C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F8100 000F5060 40 82 00 5C */ bne lbl_800F815C -/* 800F8104 000F5064 38 00 00 00 */ li r0, 0 -/* 800F8108 000F5068 38 BC 18 C0 */ addi r5, r28, 0x18c0 -/* 800F810C 000F506C 98 1C 18 BC */ stb r0, 0x18bc(r28) -/* 800F8110 000F5070 38 1C 18 C4 */ addi r0, r28, 0x18c4 -/* 800F8114 000F5074 7F 83 E3 78 */ mr r3, r28 -/* 800F8118 000F5078 7F A4 EB 78 */ mr r4, r29 -/* 800F811C 000F507C 90 A1 00 08 */ stw r5, 8(r1) -/* 800F8120 000F5080 38 A1 00 D0 */ addi r5, r1, 0xd0 -/* 800F8124 000F5084 38 DC 18 90 */ addi r6, r28, 0x1890 -/* 800F8128 000F5088 38 FC 18 9C */ addi r7, r28, 0x189c -/* 800F812C 000F508C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800F8130 000F5090 39 1C 18 A8 */ addi r8, r28, 0x18a8 -/* 800F8134 000F5094 39 21 00 18 */ addi r9, r1, 0x18 -/* 800F8138 000F5098 39 5C 18 80 */ addi r10, r28, 0x1880 -/* 800F813C 000F509C 4B FF F4 BD */ bl FindClosestSpiderBallWaypoint__10CMorphBallCFR13CStateManagerRC9CVector3fR9CVector3fR9CVector3fR9CVector3fRfR9CVector3fRbR12CTransform4f -/* 800F8140 000F50A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F8144 000F50A4 41 82 00 94 */ beq lbl_800F81D8 -/* 800F8148 000F50A8 38 60 00 01 */ li r3, 1 -/* 800F814C 000F50AC 38 00 00 00 */ li r0, 0 -/* 800F8150 000F50B0 98 7C 18 BC */ stb r3, 0x18bc(r28) -/* 800F8154 000F50B4 98 1C 18 BF */ stb r0, 0x18bf(r28) -/* 800F8158 000F50B8 48 00 00 80 */ b lbl_800F81D8 -lbl_800F815C: -/* 800F815C 000F50BC C0 3C 18 90 */ lfs f1, 0x1890(r28) -/* 800F8160 000F50C0 38 7C 18 80 */ addi r3, r28, 0x1880 -/* 800F8164 000F50C4 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 800F8168 000F50C8 C0 9C 18 94 */ lfs f4, 0x1894(r28) -/* 800F816C 000F50CC C0 61 00 D4 */ lfs f3, 0xd4(r1) -/* 800F8170 000F50D0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F8174 000F50D4 C0 5C 18 98 */ lfs f2, 0x1898(r28) -/* 800F8178 000F50D8 C0 21 00 D8 */ lfs f1, 0xd8(r1) -/* 800F817C 000F50DC EC 64 18 28 */ fsubs f3, f4, f3 -/* 800F8180 000F50E0 D0 1C 18 80 */ stfs f0, 0x1880(r28) -/* 800F8184 000F50E4 EC 02 08 28 */ fsubs f0, f2, f1 -/* 800F8188 000F50E8 D0 7C 18 84 */ stfs f3, 0x1884(r28) -/* 800F818C 000F50EC D0 1C 18 88 */ stfs f0, 0x1888(r28) -/* 800F8190 000F50F0 48 21 C7 29 */ bl Magnitude__9CVector3fCFv -/* 800F8194 000F50F4 FC 00 08 18 */ frsp f0, f1 -/* 800F8198 000F50F8 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) -/* 800F819C 000F50FC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800F81A0 000F5100 38 00 00 01 */ li r0, 1 -/* 800F81A4 000F5104 C0 62 91 5C */ lfs f3, lbl_805AAE7C@sda21(r2) -/* 800F81A8 000F5108 EC 22 00 32 */ fmuls f1, f2, f0 -/* 800F81AC 000F510C C0 1C 18 80 */ lfs f0, 0x1880(r28) -/* 800F81B0 000F5110 EC 23 08 24 */ fdivs f1, f3, f1 -/* 800F81B4 000F5114 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800F81B8 000F5118 D0 1C 18 80 */ stfs f0, 0x1880(r28) -/* 800F81BC 000F511C C0 1C 18 84 */ lfs f0, 0x1884(r28) -/* 800F81C0 000F5120 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800F81C4 000F5124 D0 1C 18 84 */ stfs f0, 0x1884(r28) -/* 800F81C8 000F5128 C0 1C 18 88 */ lfs f0, 0x1888(r28) -/* 800F81CC 000F512C EC 00 00 72 */ fmuls f0, f0, f1 -/* 800F81D0 000F5130 D0 1C 18 88 */ stfs f0, 0x1888(r28) -/* 800F81D4 000F5134 98 1C 18 BC */ stb r0, 0x18bc(r28) -lbl_800F81D8: -/* 800F81D8 000F5138 88 1C 18 BC */ lbz r0, 0x18bc(r28) -/* 800F81DC 000F513C 28 00 00 00 */ cmplwi r0, 0 -/* 800F81E0 000F5140 41 82 03 C0 */ beq lbl_800F85A0 -/* 800F81E4 000F5144 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 800F81E8 000F5148 C0 0D A3 28 */ lfs f0, lbl_805A8EE8@sda21(r13) -/* 800F81EC 000F514C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F81F0 000F5150 40 80 00 0C */ bge lbl_800F81FC -/* 800F81F4 000F5154 38 00 00 01 */ li r0, 1 -/* 800F81F8 000F5158 98 1C 18 BD */ stb r0, 0x18bd(r28) -lbl_800F81FC: -/* 800F81FC 000F515C 88 1C 18 BD */ lbz r0, 0x18bd(r28) -/* 800F8200 000F5160 28 00 00 01 */ cmplwi r0, 1 -/* 800F8204 000F5164 40 82 03 48 */ bne lbl_800F854C -/* 800F8208 000F5168 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800F820C 000F516C 41 82 02 EC */ beq lbl_800F84F8 -/* 800F8210 000F5170 88 1C 18 C0 */ lbz r0, 0x18c0(r28) -/* 800F8214 000F5174 28 00 00 00 */ cmplwi r0, 0 -/* 800F8218 000F5178 40 82 01 30 */ bne lbl_800F8348 -/* 800F821C 000F517C C0 22 92 48 */ lfs f1, lbl_805AAF68@sda21(r2) -/* 800F8220 000F5180 38 61 00 88 */ addi r3, r1, 0x88 -/* 800F8224 000F5184 C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) -/* 800F8228 000F5188 38 9C 18 9C */ addi r4, r28, 0x189c -/* 800F822C 000F518C D0 3C 18 B4 */ stfs f1, 0x18b4(r28) -/* 800F8230 000F5190 D0 1C 18 B8 */ stfs f0, 0x18b8(r28) -/* 800F8234 000F5194 48 21 C6 1D */ bl AsNormalized__9CVector3fCFv -/* 800F8238 000F5198 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 800F823C 000F519C 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 800F8240 000F51A0 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 800F8244 000F51A4 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800F8248 000F51A8 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 800F824C 000F51AC EC 1E 00 7A */ fmadds f0, f30, f1, f0 -/* 800F8250 000F51B0 EC 1D 00 BA */ fmadds f0, f29, f2, f0 -/* 800F8254 000F51B4 FC 40 00 90 */ fmr f2, f0 -/* 800F8258 000F51B8 41 82 00 18 */ beq lbl_800F8270 -/* 800F825C 000F51BC 88 1C 19 20 */ lbz r0, 0x1920(r28) -/* 800F8260 000F51C0 28 00 00 00 */ cmplwi r0, 0 -/* 800F8264 000F51C4 40 82 00 0C */ bne lbl_800F8270 -/* 800F8268 000F51C8 C0 5C 19 18 */ lfs f2, 0x1918(r28) -/* 800F826C 000F51CC 48 00 00 10 */ b lbl_800F827C -lbl_800F8270: -/* 800F8270 000F51D0 D0 1C 19 18 */ stfs f0, 0x1918(r28) -/* 800F8274 000F51D4 38 00 00 00 */ li r0, 0 -/* 800F8278 000F51D8 98 1C 19 20 */ stb r0, 0x1920(r28) -lbl_800F827C: -/* 800F827C 000F51DC FC 20 12 10 */ fabs f1, f2 -/* 800F8280 000F51E0 C0 02 91 E4 */ lfs f0, lbl_805AAF04@sda21(r2) -/* 800F8284 000F51E4 FC 20 08 18 */ frsp f1, f1 -/* 800F8288 000F51E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F828C 000F51EC 40 81 00 2C */ ble lbl_800F82B8 -/* 800F8290 000F51F0 C0 22 91 A8 */ lfs f1, lbl_805AAEC8@sda21(r2) -/* 800F8294 000F51F4 38 81 00 1C */ addi r4, r1, 0x1c -/* 800F8298 000F51F8 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F829C 000F51FC 38 6D 88 48 */ addi r3, r13, lbl_805A7408@sda21 -/* 800F82A0 000F5200 38 AD 88 4C */ addi r5, r13, lbl_805A740C@sda21 -/* 800F82A4 000F5204 FF 42 08 2E */ fsel f26, f2, f0, f1 -/* 800F82A8 000F5208 4B F1 40 0D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 800F82AC 000F520C C0 03 00 00 */ lfs f0, 0(r3) -/* 800F82B0 000F5210 EF 3A 00 32 */ fmuls f25, f26, f0 -/* 800F82B4 000F5214 48 00 00 10 */ b lbl_800F82C4 -lbl_800F82B8: -/* 800F82B8 000F5218 C3 22 91 50 */ lfs f25, lbl_805AAE70@sda21(r2) -/* 800F82BC 000F521C 7F 83 E3 78 */ mr r3, r28 -/* 800F82C0 000F5220 48 00 03 2D */ bl ResetSpiderBallForces__10CMorphBallFv -lbl_800F82C4: -/* 800F82C4 000F5224 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800F82C8 000F5228 C0 22 93 14 */ lfs f1, lbl_805AB034@sda21(r2) -/* 800F82CC 000F522C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F82D0 000F5230 40 81 00 14 */ ble lbl_800F82E4 -/* 800F82D4 000F5234 EC 00 08 28 */ fsubs f0, f0, f1 -/* 800F82D8 000F5238 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F82DC 000F523C EC 00 08 24 */ fdivs f0, f0, f1 -/* 800F82E0 000F5240 EF 39 00 32 */ fmuls f25, f25, f0 -lbl_800F82E4: -/* 800F82E4 000F5244 38 61 00 64 */ addi r3, r1, 0x64 -/* 800F82E8 000F5248 38 9C 18 A8 */ addi r4, r28, 0x18a8 -/* 800F82EC 000F524C 48 21 C5 65 */ bl AsNormalized__9CVector3fCFv -/* 800F82F0 000F5250 C0 62 93 18 */ lfs f3, lbl_805AB038@sda21(r2) -/* 800F82F4 000F5254 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 800F82F8 000F5258 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 800F82FC 000F525C EC 83 00 32 */ fmuls f4, f3, f0 -/* 800F8300 000F5260 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 800F8304 000F5264 EC 43 00 72 */ fmuls f2, f3, f1 -/* 800F8308 000F5268 EC 23 00 32 */ fmuls f1, f3, f0 -/* 800F830C 000F526C EC 79 01 32 */ fmuls f3, f25, f4 -/* 800F8310 000F5270 D0 81 00 78 */ stfs f4, 0x78(r1) -/* 800F8314 000F5274 EC 19 00 B2 */ fmuls f0, f25, f2 -/* 800F8318 000F5278 EC 99 00 72 */ fmuls f4, f25, f1 -/* 800F831C 000F527C D0 41 00 70 */ stfs f2, 0x70(r1) -/* 800F8320 000F5280 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 800F8324 000F5284 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 800F8328 000F5288 D0 81 00 80 */ stfs f4, 0x80(r1) -/* 800F832C 000F528C D0 61 00 84 */ stfs f3, 0x84(r1) -/* 800F8330 000F5290 4B F2 32 05 */ bl Identity__10CAxisAngleFv -/* 800F8334 000F5294 7C 65 1B 78 */ mr r5, r3 -/* 800F8338 000F5298 80 7C 00 00 */ lwz r3, 0(r28) -/* 800F833C 000F529C 38 81 00 7C */ addi r4, r1, 0x7c -/* 800F8340 000F52A0 48 02 3F 85 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800F8344 000F52A4 48 00 01 B4 */ b lbl_800F84F8 -lbl_800F8348: -/* 800F8348 000F52A8 C0 22 92 94 */ lfs f1, lbl_805AAFB4@sda21(r2) -/* 800F834C 000F52AC C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) -/* 800F8350 000F52B0 D0 3C 18 B4 */ stfs f1, 0x18b4(r28) -/* 800F8354 000F52B4 C0 A2 93 0C */ lfs f5, lbl_805AB02C@sda21(r2) -/* 800F8358 000F52B8 D0 1C 18 B8 */ stfs f0, 0x18b8(r28) -/* 800F835C 000F52BC C0 9C 18 D4 */ lfs f4, 0x18d4(r28) -/* 800F8360 000F52C0 C0 5C 18 DC */ lfs f2, 0x18dc(r28) -/* 800F8364 000F52C4 EC 24 07 F2 */ fmuls f1, f4, f31 -/* 800F8368 000F52C8 C1 1C 18 C4 */ lfs f8, 0x18c4(r28) -/* 800F836C 000F52CC EC 02 07 F2 */ fmuls f0, f2, f31 -/* 800F8370 000F52D0 C0 7C 18 CC */ lfs f3, 0x18cc(r28) -/* 800F8374 000F52D4 C0 FC 18 E4 */ lfs f7, 0x18e4(r28) -/* 800F8378 000F52D8 EC 28 0F BA */ fmadds f1, f8, f30, f1 -/* 800F837C 000F52DC EC 03 07 BA */ fmadds f0, f3, f30, f0 -/* 800F8380 000F52E0 C0 DC 18 EC */ lfs f6, 0x18ec(r28) -/* 800F8384 000F52E4 EF E7 0F 7A */ fmadds f31, f7, f29, f1 -/* 800F8388 000F52E8 EF C6 07 7A */ fmadds f30, f6, f29, f0 -/* 800F838C 000F52EC EC 3F 02 32 */ fmuls f1, f31, f8 -/* 800F8390 000F52F0 EC 1E 00 F2 */ fmuls f0, f30, f3 -/* 800F8394 000F52F4 EC 7F 01 32 */ fmuls f3, f31, f4 -/* 800F8398 000F52F8 EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 800F839C 000F52FC EC 81 00 2A */ fadds f4, f1, f0 -/* 800F83A0 000F5300 EC 3F 01 F2 */ fmuls f1, f31, f7 -/* 800F83A4 000F5304 EC 1E 01 B2 */ fmuls f0, f30, f6 -/* 800F83A8 000F5308 EC 43 10 2A */ fadds f2, f3, f2 -/* 800F83AC 000F530C EC 65 01 32 */ fmuls f3, f5, f4 -/* 800F83B0 000F5310 EC 01 00 2A */ fadds f0, f1, f0 -/* 800F83B4 000F5314 EC 25 00 B2 */ fmuls f1, f5, f2 -/* 800F83B8 000F5318 D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 800F83BC 000F531C EC 05 00 32 */ fmuls f0, f5, f0 -/* 800F83C0 000F5320 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 800F83C4 000F5324 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 800F83C8 000F5328 4B F2 31 6D */ bl Identity__10CAxisAngleFv -/* 800F83CC 000F532C 7C 65 1B 78 */ mr r5, r3 -/* 800F83D0 000F5330 80 7C 00 00 */ lwz r3, 0(r28) -/* 800F83D4 000F5334 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 800F83D8 000F5338 48 02 3E ED */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800F83DC 000F533C C0 21 00 C4 */ lfs f1, 0xc4(r1) -/* 800F83E0 000F5340 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 800F83E4 000F5344 EC 61 00 72 */ fmuls f3, f1, f1 -/* 800F83E8 000F5348 C0 A2 93 0C */ lfs f5, lbl_805AB02C@sda21(r2) -/* 800F83EC 000F534C EC 40 00 32 */ fmuls f2, f0, f0 -/* 800F83F0 000F5350 C0 81 00 CC */ lfs f4, 0xcc(r1) -/* 800F83F4 000F5354 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F83F8 000F5358 EC 25 07 F2 */ fmuls f1, f5, f31 -/* 800F83FC 000F535C EC 84 01 32 */ fmuls f4, f4, f4 -/* 800F8400 000F5360 C0 DC 18 F8 */ lfs f6, 0x18f8(r28) -/* 800F8404 000F5364 EC 63 10 2A */ fadds f3, f3, f2 -/* 800F8408 000F5368 EC 45 07 B2 */ fmuls f2, f5, f30 -/* 800F840C 000F536C EC 64 18 2A */ fadds f3, f4, f3 -/* 800F8410 000F5370 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 800F8414 000F5374 40 81 00 48 */ ble lbl_800F845C -/* 800F8418 000F5378 48 29 C8 55 */ bl atan2 -/* 800F841C 000F537C FC 40 08 18 */ frsp f2, f1 -/* 800F8420 000F5380 C0 7C 18 F4 */ lfs f3, 0x18f4(r28) -/* 800F8424 000F5384 C0 22 93 1C */ lfs f1, lbl_805AB03C@sda21(r2) -/* 800F8428 000F5388 EC 02 18 28 */ fsubs f0, f2, f3 -/* 800F842C 000F538C FC C0 10 90 */ fmr f6, f2 -/* 800F8430 000F5390 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F8434 000F5394 40 81 00 10 */ ble lbl_800F8444 -/* 800F8438 000F5398 C0 02 92 64 */ lfs f0, lbl_805AAF84@sda21(r2) -/* 800F843C 000F539C EC C2 00 28 */ fsubs f6, f2, f0 -/* 800F8440 000F53A0 48 00 00 18 */ b lbl_800F8458 -lbl_800F8444: -/* 800F8444 000F53A4 EC 03 10 28 */ fsubs f0, f3, f2 -/* 800F8448 000F53A8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F844C 000F53AC 40 81 00 0C */ ble lbl_800F8458 -/* 800F8450 000F53B0 C0 02 92 64 */ lfs f0, lbl_805AAF84@sda21(r2) -/* 800F8454 000F53B4 EC C2 00 2A */ fadds f6, f2, f0 -lbl_800F8458: -/* 800F8458 000F53B8 D0 DC 18 F8 */ stfs f6, 0x18f8(r28) -lbl_800F845C: -/* 800F845C 000F53BC C0 3C 18 F4 */ lfs f1, 0x18f4(r28) -/* 800F8460 000F53C0 C0 0D 88 50 */ lfs f0, lbl_805A7410@sda21(r13) -/* 800F8464 000F53C4 EC 66 08 28 */ fsubs f3, f6, f1 -/* 800F8468 000F53C8 FC 20 1A 10 */ fabs f1, f3 -/* 800F846C 000F53CC FC 20 08 18 */ frsp f1, f1 -/* 800F8470 000F53D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F8474 000F53D4 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 800F8478 000F53D8 40 80 00 0C */ bge lbl_800F8484 -/* 800F847C 000F53DC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800F8480 000F53E0 48 00 00 08 */ b lbl_800F8488 -lbl_800F8484: -/* 800F8484 000F53E4 38 AD 88 50 */ addi r5, r13, lbl_805A7410@sda21 -lbl_800F8488: -/* 800F8488 000F53E8 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) -/* 800F848C 000F53EC 38 61 00 DC */ addi r3, r1, 0xdc -/* 800F8490 000F53F0 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F8494 000F53F4 38 81 00 10 */ addi r4, r1, 0x10 -/* 800F8498 000F53F8 C0 25 00 00 */ lfs f1, 0(r5) -/* 800F849C 000F53FC FC 43 10 2E */ fsel f2, f3, f0, f2 -/* 800F84A0 000F5400 C0 1C 18 F4 */ lfs f0, 0x18f4(r28) -/* 800F84A4 000F5404 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 800F84A8 000F5408 D0 1C 18 F4 */ stfs f0, 0x18f4(r28) -/* 800F84AC 000F540C C0 1C 18 F4 */ lfs f0, 0x18f4(r28) -/* 800F84B0 000F5410 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800F84B4 000F5414 48 21 B3 F5 */ bl RotateY__12CTransform4fFRC9CRelAngle -/* 800F84B8 000F5418 C0 41 01 04 */ lfs f2, 0x104(r1) -/* 800F84BC 000F541C 38 61 00 58 */ addi r3, r1, 0x58 -/* 800F84C0 000F5420 C0 21 00 F4 */ lfs f1, 0xf4(r1) -/* 800F84C4 000F5424 38 9C 18 C4 */ addi r4, r28, 0x18c4 -/* 800F84C8 000F5428 C0 01 00 E4 */ lfs f0, 0xe4(r1) -/* 800F84CC 000F542C 38 A1 00 4C */ addi r5, r1, 0x4c -/* 800F84D0 000F5430 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800F84D4 000F5434 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800F84D8 000F5438 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800F84DC 000F543C 48 21 A5 A5 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800F84E0 000F5440 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 800F84E4 000F5444 D0 1C 18 9C */ stfs f0, 0x189c(r28) -/* 800F84E8 000F5448 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 800F84EC 000F544C D0 1C 18 A0 */ stfs f0, 0x18a0(r28) -/* 800F84F0 000F5450 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 800F84F4 000F5454 D0 1C 18 A4 */ stfs f0, 0x18a4(r28) -lbl_800F84F8: -/* 800F84F8 000F5458 80 9C 00 00 */ lwz r4, 0(r28) -/* 800F84FC 000F545C 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F8500 000F5460 C0 24 00 E8 */ lfs f1, 0xe8(r4) -/* 800F8504 000F5464 C0 03 00 E4 */ lfs f0, 0xe4(r3) -/* 800F8508 000F5468 C0 82 91 5C */ lfs f4, lbl_805AAE7C@sda21(r2) -/* 800F850C 000F546C C0 7C 18 8C */ lfs f3, 0x188c(r28) -/* 800F8510 000F5470 EC 21 00 32 */ fmuls f1, f1, f0 -/* 800F8514 000F5474 C0 42 91 E0 */ lfs f2, lbl_805AAF00@sda21(r2) -/* 800F8518 000F5478 EC 64 18 28 */ fsubs f3, f4, f3 -/* 800F851C 000F547C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F8520 000F5480 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800F8524 000F5484 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 800F8528 000F5488 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F852C 000F548C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800F8530 000F5490 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800F8534 000F5494 4B F2 30 01 */ bl Identity__10CAxisAngleFv -/* 800F8538 000F5498 7C 65 1B 78 */ mr r5, r3 -/* 800F853C 000F549C 80 7C 00 00 */ lwz r3, 0(r28) -/* 800F8540 000F54A0 38 81 00 40 */ addi r4, r1, 0x40 -/* 800F8544 000F54A4 48 02 3D 81 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800F8548 000F54A8 48 00 00 10 */ b lbl_800F8558 -lbl_800F854C: -/* 800F854C 000F54AC C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) -/* 800F8550 000F54B0 D0 1C 18 B4 */ stfs f0, 0x18b4(r28) -/* 800F8554 000F54B4 D0 1C 18 B8 */ stfs f0, 0x18b8(r28) -lbl_800F8558: -/* 800F8558 000F54B8 80 9C 00 00 */ lwz r4, 0(r28) -/* 800F855C 000F54BC 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F8560 000F54C0 C0 44 00 E8 */ lfs f2, 0xe8(r4) -/* 800F8564 000F54C4 C0 23 00 E4 */ lfs f1, 0xe4(r3) -/* 800F8568 000F54C8 C0 1C 18 80 */ lfs f0, 0x1880(r28) -/* 800F856C 000F54CC EC 82 00 72 */ fmuls f4, f2, f1 -/* 800F8570 000F54D0 C0 5C 18 84 */ lfs f2, 0x1884(r28) -/* 800F8574 000F54D4 C0 3C 18 88 */ lfs f1, 0x1888(r28) -/* 800F8578 000F54D8 C0 62 91 7C */ lfs f3, lbl_805AAE9C@sda21(r2) -/* 800F857C 000F54DC EC 04 00 32 */ fmuls f0, f4, f0 -/* 800F8580 000F54E0 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 800F8584 000F54E4 EC 24 00 72 */ fmuls f1, f4, f1 -/* 800F8588 000F54E8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 800F858C 000F54EC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800F8590 000F54F0 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800F8594 000F54F4 D0 04 01 50 */ stfs f0, 0x150(r4) -/* 800F8598 000F54F8 D0 44 01 54 */ stfs f2, 0x154(r4) -/* 800F859C 000F54FC D0 24 01 58 */ stfs f1, 0x158(r4) -lbl_800F85A0: -/* 800F85A0 000F5500 E3 E1 01 F8 */ psq_l f31, 504(r1), 0, qr0 -/* 800F85A4 000F5504 CB E1 01 F0 */ lfd f31, 0x1f0(r1) -/* 800F85A8 000F5508 E3 C1 01 E8 */ psq_l f30, 488(r1), 0, qr0 -/* 800F85AC 000F550C CB C1 01 E0 */ lfd f30, 0x1e0(r1) -/* 800F85B0 000F5510 E3 A1 01 D8 */ psq_l f29, 472(r1), 0, qr0 -/* 800F85B4 000F5514 CB A1 01 D0 */ lfd f29, 0x1d0(r1) -/* 800F85B8 000F5518 E3 81 01 C8 */ psq_l f28, 456(r1), 0, qr0 -/* 800F85BC 000F551C CB 81 01 C0 */ lfd f28, 0x1c0(r1) -/* 800F85C0 000F5520 E3 61 01 B8 */ psq_l f27, 440(r1), 0, qr0 -/* 800F85C4 000F5524 CB 61 01 B0 */ lfd f27, 0x1b0(r1) -/* 800F85C8 000F5528 E3 41 01 A8 */ psq_l f26, 424(r1), 0, qr0 -/* 800F85CC 000F552C CB 41 01 A0 */ lfd f26, 0x1a0(r1) -/* 800F85D0 000F5530 E3 21 01 98 */ psq_l f25, 408(r1), 0, qr0 -/* 800F85D4 000F5534 CB 21 01 90 */ lfd f25, 0x190(r1) -/* 800F85D8 000F5538 BB 61 01 7C */ lmw r27, 0x17c(r1) -/* 800F85DC 000F553C 80 01 02 04 */ lwz r0, 0x204(r1) -/* 800F85E0 000F5540 7C 08 03 A6 */ mtlr r0 -/* 800F85E4 000F5544 38 21 02 00 */ addi r1, r1, 0x200 -/* 800F85E8 000F5548 4E 80 00 20 */ blr - -.global ResetSpiderBallForces__10CMorphBallFv -ResetSpiderBallForces__10CMorphBallFv: -/* 800F85EC 000F554C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F85F0 000F5550 7C 08 02 A6 */ mflr r0 -/* 800F85F4 000F5554 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F85F8 000F5558 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F85FC 000F555C FC 40 08 90 */ fmr f2, f1 -/* 800F8600 000F5560 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800F8604 000F5564 7C 7F 1B 78 */ mr r31, r3 -/* 800F8608 000F5568 38 61 00 08 */ addi r3, r1, 8 -/* 800F860C 000F556C 48 21 BB F5 */ bl __ct__9CVector2fFff -/* 800F8610 000F5570 C0 21 00 08 */ lfs f1, 8(r1) -/* 800F8614 000F5574 38 00 00 01 */ li r0, 1 -/* 800F8618 000F5578 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F861C 000F557C D0 3F 19 0C */ stfs f1, 0x190c(r31) -/* 800F8620 000F5580 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 800F8624 000F5584 D0 3F 19 10 */ stfs f1, 0x1910(r31) -/* 800F8628 000F5588 D0 1F 19 14 */ stfs f0, 0x1914(r31) -/* 800F862C 000F558C D0 1F 19 18 */ stfs f0, 0x1918(r31) -/* 800F8630 000F5590 98 1F 19 20 */ stb r0, 0x1920(r31) -/* 800F8634 000F5594 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800F8638 000F5598 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F863C 000F559C 7C 08 03 A6 */ mtlr r0 -/* 800F8640 000F55A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F8644 000F55A4 4E 80 00 20 */ blr - -.global CalculateSpiderBallAttractionSurfaceForces__10CMorphBallCFRC11CFinalInput -CalculateSpiderBallAttractionSurfaceForces__10CMorphBallCFRC11CFinalInput: -/* 800F8648 000F55A8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800F864C 000F55AC 7C 08 02 A6 */ mflr r0 -/* 800F8650 000F55B0 90 01 00 34 */ stw r0, 0x34(r1) -/* 800F8654 000F55B4 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 800F8658 000F55B8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 800F865C 000F55BC DB C1 00 10 */ stfd f30, 0x10(r1) -/* 800F8660 000F55C0 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 800F8664 000F55C4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F8668 000F55C8 93 C1 00 08 */ stw r30, 8(r1) -/* 800F866C 000F55CC 7C 7E 1B 78 */ mr r30, r3 -/* 800F8670 000F55D0 7C BF 2B 78 */ mr r31, r5 -/* 800F8674 000F55D4 7C 83 23 78 */ mr r3, r4 -/* 800F8678 000F55D8 48 00 06 21 */ bl IsMovementAllowed__10CMorphBallCFv -/* 800F867C 000F55DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F8680 000F55E0 40 82 00 1C */ bne lbl_800F869C -/* 800F8684 000F55E4 C0 0D A8 98 */ lfs f0, lbl_805A9458@sda21(r13) -/* 800F8688 000F55E8 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 -/* 800F868C 000F55EC D0 1E 00 00 */ stfs f0, 0(r30) -/* 800F8690 000F55F0 C0 03 00 04 */ lfs f0, 4(r3) -/* 800F8694 000F55F4 D0 1E 00 04 */ stfs f0, 4(r30) -/* 800F8698 000F55F8 48 00 00 50 */ b lbl_800F86E8 -lbl_800F869C: -/* 800F869C 000F55FC 7F E4 FB 78 */ mr r4, r31 -/* 800F86A0 000F5600 38 60 00 01 */ li r3, 1 -/* 800F86A4 000F5604 4B F1 42 75 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F86A8 000F5608 FF E0 08 90 */ fmr f31, f1 -/* 800F86AC 000F560C 7F E4 FB 78 */ mr r4, r31 -/* 800F86B0 000F5610 38 60 00 00 */ li r3, 0 -/* 800F86B4 000F5614 4B F1 42 65 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F86B8 000F5618 EF C1 F8 28 */ fsubs f30, f1, f31 -/* 800F86BC 000F561C 7F E4 FB 78 */ mr r4, r31 -/* 800F86C0 000F5620 38 60 00 02 */ li r3, 2 -/* 800F86C4 000F5624 4B F1 42 55 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F86C8 000F5628 FF E0 08 90 */ fmr f31, f1 -/* 800F86CC 000F562C 7F E4 FB 78 */ mr r4, r31 -/* 800F86D0 000F5630 38 60 00 03 */ li r3, 3 -/* 800F86D4 000F5634 4B F1 42 45 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F86D8 000F5638 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 800F86DC 000F563C 7F C3 F3 78 */ mr r3, r30 -/* 800F86E0 000F5640 FC 40 F0 90 */ fmr f2, f30 -/* 800F86E4 000F5644 48 21 BB 1D */ bl __ct__9CVector2fFff -lbl_800F86E8: -/* 800F86E8 000F5648 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 800F86EC 000F564C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 800F86F0 000F5650 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 800F86F4 000F5654 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 800F86F8 000F5658 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F86FC 000F565C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800F8700 000F5660 83 C1 00 08 */ lwz r30, 8(r1) -/* 800F8704 000F5664 7C 08 03 A6 */ mtlr r0 -/* 800F8708 000F5668 38 21 00 30 */ addi r1, r1, 0x30 -/* 800F870C 000F566C 4E 80 00 20 */ blr - -.global TransformSpiderBallForcesXY__10CMorphBallFR9CVector2fR13CStateManager -TransformSpiderBallForcesXY__10CMorphBallFR9CVector2fR13CStateManager: -/* 800F8710 000F5670 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800F8714 000F5674 7C 08 02 A6 */ mflr r0 -/* 800F8718 000F5678 90 01 00 44 */ stw r0, 0x44(r1) -/* 800F871C 000F567C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800F8720 000F5680 7C 9F 23 78 */ mr r31, r4 -/* 800F8724 000F5684 7C A4 2B 78 */ mr r4, r5 -/* 800F8728 000F5688 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800F872C 000F568C 7C 7E 1B 78 */ mr r30, r3 -/* 800F8730 000F5690 80 65 08 70 */ lwz r3, 0x870(r5) -/* 800F8734 000F5694 4B F1 33 E5 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800F8738 000F5698 7C 64 1B 78 */ mr r4, r3 -/* 800F873C 000F569C 38 61 00 08 */ addi r3, r1, 8 -/* 800F8740 000F56A0 38 84 00 34 */ addi r4, r4, 0x34 -/* 800F8744 000F56A4 48 21 A4 31 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F8748 000F56A8 C0 DF 00 04 */ lfs f6, 4(r31) -/* 800F874C 000F56AC C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800F8750 000F56B0 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 800F8754 000F56B4 C0 FF 00 00 */ lfs f7, 0(r31) -/* 800F8758 000F56B8 EC 06 00 32 */ fmuls f0, f6, f0 -/* 800F875C 000F56BC C0 21 00 08 */ lfs f1, 8(r1) -/* 800F8760 000F56C0 EC 86 00 B2 */ fmuls f4, f6, f2 -/* 800F8764 000F56C4 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 800F8768 000F56C8 EC 27 00 72 */ fmuls f1, f7, f1 -/* 800F876C 000F56CC C0 61 00 28 */ lfs f3, 0x28(r1) -/* 800F8770 000F56D0 EC A7 00 B2 */ fmuls f5, f7, f2 -/* 800F8774 000F56D4 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 800F8778 000F56D8 EC 67 00 F2 */ fmuls f3, f7, f3 -/* 800F877C 000F56DC EC 01 00 2A */ fadds f0, f1, f0 -/* 800F8780 000F56E0 EC 26 00 B2 */ fmuls f1, f6, f2 -/* 800F8784 000F56E4 EC 45 20 2A */ fadds f2, f5, f4 -/* 800F8788 000F56E8 D0 1E 00 00 */ stfs f0, 0(r30) -/* 800F878C 000F56EC EC 03 08 2A */ fadds f0, f3, f1 -/* 800F8790 000F56F0 D0 5E 00 04 */ stfs f2, 4(r30) -/* 800F8794 000F56F4 D0 1E 00 08 */ stfs f0, 8(r30) -/* 800F8798 000F56F8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800F879C 000F56FC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800F87A0 000F5700 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800F87A4 000F5704 7C 08 03 A6 */ mtlr r0 -/* 800F87A8 000F5708 38 21 00 40 */ addi r1, r1, 0x40 -/* 800F87AC 000F570C 4E 80 00 20 */ blr - -.global TransformSpiderBallForcesXZ__10CMorphBallFR9CVector2fR13CStateManager -TransformSpiderBallForcesXZ__10CMorphBallFR9CVector2fR13CStateManager: -/* 800F87B0 000F5710 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800F87B4 000F5714 7C 08 02 A6 */ mflr r0 -/* 800F87B8 000F5718 90 01 00 44 */ stw r0, 0x44(r1) -/* 800F87BC 000F571C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800F87C0 000F5720 7C 9F 23 78 */ mr r31, r4 -/* 800F87C4 000F5724 7C A4 2B 78 */ mr r4, r5 -/* 800F87C8 000F5728 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800F87CC 000F572C 7C 7E 1B 78 */ mr r30, r3 -/* 800F87D0 000F5730 80 65 08 70 */ lwz r3, 0x870(r5) -/* 800F87D4 000F5734 4B F1 33 45 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 800F87D8 000F5738 7C 64 1B 78 */ mr r4, r3 -/* 800F87DC 000F573C 38 61 00 08 */ addi r3, r1, 8 -/* 800F87E0 000F5740 38 84 00 34 */ addi r4, r4, 0x34 -/* 800F87E4 000F5744 48 21 A3 91 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F87E8 000F5748 C0 DF 00 04 */ lfs f6, 4(r31) -/* 800F87EC 000F574C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800F87F0 000F5750 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 800F87F4 000F5754 C0 FF 00 00 */ lfs f7, 0(r31) -/* 800F87F8 000F5758 EC 06 00 32 */ fmuls f0, f6, f0 -/* 800F87FC 000F575C C0 21 00 08 */ lfs f1, 8(r1) -/* 800F8800 000F5760 EC 86 00 B2 */ fmuls f4, f6, f2 -/* 800F8804 000F5764 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 800F8808 000F5768 EC 27 00 72 */ fmuls f1, f7, f1 -/* 800F880C 000F576C C0 61 00 28 */ lfs f3, 0x28(r1) -/* 800F8810 000F5770 EC A7 00 B2 */ fmuls f5, f7, f2 -/* 800F8814 000F5774 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 800F8818 000F5778 EC 67 00 F2 */ fmuls f3, f7, f3 -/* 800F881C 000F577C EC 01 00 2A */ fadds f0, f1, f0 -/* 800F8820 000F5780 EC 26 00 B2 */ fmuls f1, f6, f2 -/* 800F8824 000F5784 EC 45 20 2A */ fadds f2, f5, f4 -/* 800F8828 000F5788 D0 1E 00 00 */ stfs f0, 0(r30) -/* 800F882C 000F578C EC 03 08 2A */ fadds f0, f3, f1 -/* 800F8830 000F5790 D0 5E 00 04 */ stfs f2, 4(r30) -/* 800F8834 000F5794 D0 1E 00 08 */ stfs f0, 8(r30) -/* 800F8838 000F5798 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800F883C 000F579C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800F8840 000F57A0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800F8844 000F57A4 7C 08 03 A6 */ mtlr r0 -/* 800F8848 000F57A8 38 21 00 40 */ addi r1, r1, 0x40 -/* 800F884C 000F57AC 4E 80 00 20 */ blr - -.global ApplySpiderBallSwingingForces__10CMorphBallFRC11CFinalInputR13CStateManagerf -ApplySpiderBallSwingingForces__10CMorphBallFRC11CFinalInputR13CStateManagerf: -/* 800F8850 000F57B0 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 800F8854 000F57B4 7C 08 02 A6 */ mflr r0 -/* 800F8858 000F57B8 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 800F885C 000F57BC DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 800F8860 000F57C0 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 800F8864 000F57C4 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 800F8868 000F57C8 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 800F886C 000F57CC DB A1 00 80 */ stfd f29, 0x80(r1) -/* 800F8870 000F57D0 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 800F8874 000F57D4 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 800F8878 000F57D8 F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 800F887C 000F57DC 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 800F8880 000F57E0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 800F8884 000F57E4 C0 42 92 D0 */ lfs f2, lbl_805AAFF0@sda21(r2) -/* 800F8888 000F57E8 7C 7E 1B 78 */ mr r30, r3 -/* 800F888C 000F57EC C0 02 92 3C */ lfs f0, lbl_805AAF5C@sda21(r2) -/* 800F8890 000F57F0 FF 80 08 90 */ fmr f28, f1 -/* 800F8894 000F57F4 D0 43 18 B4 */ stfs f2, 0x18b4(r3) -/* 800F8898 000F57F8 7C 9F 23 78 */ mr r31, r4 -/* 800F889C 000F57FC 38 7E 18 80 */ addi r3, r30, 0x1880 -/* 800F88A0 000F5800 D0 1E 18 B8 */ stfs f0, 0x18b8(r30) -/* 800F88A4 000F5804 80 9E 00 00 */ lwz r4, 0(r30) -/* 800F88A8 000F5808 C0 3E 18 90 */ lfs f1, 0x1890(r30) -/* 800F88AC 000F580C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 800F88B0 000F5810 C0 9E 18 94 */ lfs f4, 0x1894(r30) -/* 800F88B4 000F5814 C0 64 00 50 */ lfs f3, 0x50(r4) -/* 800F88B8 000F5818 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800F88BC 000F581C C0 5E 18 98 */ lfs f2, 0x1898(r30) -/* 800F88C0 000F5820 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 800F88C4 000F5824 EC 64 18 28 */ fsubs f3, f4, f3 -/* 800F88C8 000F5828 D0 1E 18 80 */ stfs f0, 0x1880(r30) -/* 800F88CC 000F582C EC 02 08 28 */ fsubs f0, f2, f1 -/* 800F88D0 000F5830 D0 7E 18 84 */ stfs f3, 0x1884(r30) -/* 800F88D4 000F5834 D0 1E 18 88 */ stfs f0, 0x1888(r30) -/* 800F88D8 000F5838 48 21 BF E1 */ bl Magnitude__9CVector3fCFv -/* 800F88DC 000F583C FF E0 08 90 */ fmr f31, f1 -/* 800F88E0 000F5840 C0 02 91 A8 */ lfs f0, lbl_805AAEC8@sda21(r2) -/* 800F88E4 000F5844 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F88E8 000F5848 7F C3 F3 78 */ mr r3, r30 -/* 800F88EC 000F584C C0 5E 18 80 */ lfs f2, 0x1880(r30) -/* 800F88F0 000F5850 7F E4 FB 78 */ mr r4, r31 -/* 800F88F4 000F5854 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 800F88F8 000F5858 EC 21 00 24 */ fdivs f1, f1, f0 -/* 800F88FC 000F585C EC 02 00 72 */ fmuls f0, f2, f1 -/* 800F8900 000F5860 D0 1E 18 80 */ stfs f0, 0x1880(r30) -/* 800F8904 000F5864 C0 1E 18 84 */ lfs f0, 0x1884(r30) -/* 800F8908 000F5868 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800F890C 000F586C D0 1E 18 84 */ stfs f0, 0x1884(r30) -/* 800F8910 000F5870 C0 1E 18 88 */ lfs f0, 0x1888(r30) -/* 800F8914 000F5874 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800F8918 000F5878 D0 1E 18 88 */ stfs f0, 0x1888(r30) -/* 800F891C 000F587C 4B FF EB 89 */ bl GetSpiderBallControllerMovement__10CMorphBallCFRC11CFinalInput -/* 800F8920 000F5880 FF A0 08 90 */ fmr f29, f1 -/* 800F8924 000F5884 7F C3 F3 78 */ mr r3, r30 -/* 800F8928 000F5888 FC 40 E0 90 */ fmr f2, f28 -/* 800F892C 000F588C 4B FF EA D5 */ bl UpdateSpiderBallSwingControllerMovementTimer__10CMorphBallFff -/* 800F8930 000F5890 7F C3 F3 78 */ mr r3, r30 -/* 800F8934 000F5894 4B FF EA 7D */ bl GetSpiderBallSwingControllerMovementScalar__10CMorphBallCFv -/* 800F8938 000F5898 C0 42 93 20 */ lfs f2, lbl_805AB040@sda21(r2) -/* 800F893C 000F589C EF DD 00 72 */ fmuls f30, f29, f1 -/* 800F8940 000F58A0 C0 02 93 24 */ lfs f0, lbl_805AB044@sda21(r2) -/* 800F8944 000F58A4 38 61 00 28 */ addi r3, r1, 0x28 -/* 800F8948 000F58A8 EC 22 07 F2 */ fmuls f1, f2, f31 -/* 800F894C 000F58AC C0 FE 18 80 */ lfs f7, 0x1880(r30) -/* 800F8950 000F58B0 C0 DE 18 B0 */ lfs f6, 0x18b0(r30) -/* 800F8954 000F58B4 C1 1E 18 84 */ lfs f8, 0x1884(r30) -/* 800F8958 000F58B8 38 81 00 1C */ addi r4, r1, 0x1c -/* 800F895C 000F58BC EF A1 00 24 */ fdivs f29, f1, f0 -/* 800F8960 000F58C0 C0 7E 18 A8 */ lfs f3, 0x18a8(r30) -/* 800F8964 000F58C4 C1 3E 18 88 */ lfs f9, 0x1888(r30) -/* 800F8968 000F58C8 C0 9E 18 AC */ lfs f4, 0x18ac(r30) -/* 800F896C 000F58CC EC 43 02 32 */ fmuls f2, f3, f8 -/* 800F8970 000F58D0 EC 26 01 F2 */ fmuls f1, f6, f7 -/* 800F8974 000F58D4 EC 04 02 72 */ fmuls f0, f4, f9 -/* 800F8978 000F58D8 EC A7 11 38 */ fmsubs f5, f7, f4, f2 -/* 800F897C 000F58DC EC 89 08 F8 */ fmsubs f4, f9, f3, f1 -/* 800F8980 000F58E0 EC 68 01 B8 */ fmsubs f3, f8, f6, f0 -/* 800F8984 000F58E4 EC 48 01 72 */ fmuls f2, f8, f5 -/* 800F8988 000F58E8 EC 07 01 32 */ fmuls f0, f7, f4 -/* 800F898C 000F58EC EC 29 00 F2 */ fmuls f1, f9, f3 -/* 800F8990 000F58F0 EC 44 12 78 */ fmsubs f2, f4, f9, f2 -/* 800F8994 000F58F4 EC 03 02 38 */ fmsubs f0, f3, f8, f0 -/* 800F8998 000F58F8 EC 25 09 F8 */ fmsubs f1, f5, f7, f1 -/* 800F899C 000F58FC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800F89A0 000F5900 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 800F89A4 000F5904 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800F89A8 000F5908 48 21 BE A9 */ bl AsNormalized__9CVector3fCFv -/* 800F89AC 000F590C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800F89B0 000F5910 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 800F89B4 000F5914 EC 9D 00 32 */ fmuls f4, f29, f0 -/* 800F89B8 000F5918 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800F89BC 000F591C EC 7D 00 72 */ fmuls f3, f29, f1 -/* 800F89C0 000F5920 C0 22 93 28 */ lfs f1, lbl_805AB048@sda21(r2) -/* 800F89C4 000F5924 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 800F89C8 000F5928 EC BE 01 32 */ fmuls f5, f30, f4 -/* 800F89CC 000F592C EC 5E 00 F2 */ fmuls f2, f30, f3 -/* 800F89D0 000F5930 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 800F89D4 000F5934 EC 7E 00 32 */ fmuls f3, f30, f0 -/* 800F89D8 000F5938 EC C1 01 72 */ fmuls f6, f1, f5 -/* 800F89DC 000F593C D0 01 00 38 */ stfs f0, 0x38(r1) -/* 800F89E0 000F5940 EC 01 00 B2 */ fmuls f0, f1, f2 -/* 800F89E4 000F5944 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 800F89E8 000F5948 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 800F89EC 000F594C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 800F89F0 000F5950 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 800F89F4 000F5954 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 800F89F8 000F5958 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800F89FC 000F595C D0 21 00 50 */ stfs f1, 0x50(r1) -/* 800F8A00 000F5960 D0 C1 00 54 */ stfs f6, 0x54(r1) -/* 800F8A04 000F5964 4B F2 2B 31 */ bl Identity__10CAxisAngleFv -/* 800F8A08 000F5968 7C 65 1B 78 */ mr r5, r3 -/* 800F8A0C 000F596C 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F8A10 000F5970 38 81 00 4C */ addi r4, r1, 0x4c -/* 800F8A14 000F5974 48 02 38 B1 */ bl ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800F8A18 000F5978 80 BE 00 00 */ lwz r5, 0(r30) -/* 800F8A1C 000F597C 38 61 00 58 */ addi r3, r1, 0x58 -/* 800F8A20 000F5980 80 8D A1 1C */ lwz r4, gpTweakBall@sda21(r13) -/* 800F8A24 000F5984 C0 45 00 E8 */ lfs f2, 0xe8(r5) -/* 800F8A28 000F5988 C0 24 00 E4 */ lfs f1, 0xe4(r4) -/* 800F8A2C 000F598C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F8A30 000F5990 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800F8A34 000F5994 C0 42 91 5C */ lfs f2, lbl_805AAE7C@sda21(r2) -/* 800F8A38 000F5998 D0 05 01 50 */ stfs f0, 0x150(r5) -/* 800F8A3C 000F599C C0 62 93 24 */ lfs f3, lbl_805AB044@sda21(r2) -/* 800F8A40 000F59A0 D0 05 01 54 */ stfs f0, 0x154(r5) -/* 800F8A44 000F59A4 C0 02 92 24 */ lfs f0, lbl_805AAF44@sda21(r2) -/* 800F8A48 000F59A8 D0 25 01 58 */ stfs f1, 0x158(r5) -/* 800F8A4C 000F59AC C0 3E 18 8C */ lfs f1, 0x188c(r30) -/* 800F8A50 000F59B0 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800F8A54 000F59B4 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 800F8A58 000F59B8 D0 1E 18 FC */ stfs f0, 0x18fc(r30) -/* 800F8A5C 000F59BC D3 FE 19 00 */ stfs f31, 0x1900(r30) -/* 800F8A60 000F59C0 80 9E 00 00 */ lwz r4, 0(r30) -/* 800F8A64 000F59C4 C0 04 01 38 */ lfs f0, 0x138(r4) -/* 800F8A68 000F59C8 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 800F8A6C 000F59CC C0 04 01 3C */ lfs f0, 0x13c(r4) -/* 800F8A70 000F59D0 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800F8A74 000F59D4 C0 04 01 40 */ lfs f0, 0x140(r4) -/* 800F8A78 000F59D8 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800F8A7C 000F59DC 48 21 BE 3D */ bl Magnitude__9CVector3fCFv -/* 800F8A80 000F59E0 FF A0 08 90 */ fmr f29, f1 -/* 800F8A84 000F59E4 38 61 00 10 */ addi r3, r1, 0x10 -/* 800F8A88 000F59E8 38 81 00 58 */ addi r4, r1, 0x58 -/* 800F8A8C 000F59EC 48 21 BD C5 */ bl AsNormalized__9CVector3fCFv -/* 800F8A90 000F59F0 C0 3E 18 84 */ lfs f1, 0x1884(r30) -/* 800F8A94 000F59F4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800F8A98 000F59F8 C0 9E 18 80 */ lfs f4, 0x1880(r30) -/* 800F8A9C 000F59FC EC 7D 00 72 */ fmuls f3, f29, f1 -/* 800F8AA0 000F5A00 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800F8AA4 000F5A04 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 800F8AA8 000F5A08 C1 1E 18 88 */ lfs f8, 0x1888(r30) -/* 800F8AAC 000F5A0C EC BD 01 32 */ fmuls f5, f29, f4 -/* 800F8AB0 000F5A10 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 800F8AB4 000F5A14 EC 24 00 7A */ fmadds f1, f4, f1, f0 -/* 800F8AB8 000F5A18 EC 1D 02 32 */ fmuls f0, f29, f8 -/* 800F8ABC 000F5A1C C0 C1 00 58 */ lfs f6, 0x58(r1) -/* 800F8AC0 000F5A20 C0 81 00 5C */ lfs f4, 0x5c(r1) -/* 800F8AC4 000F5A24 EC E8 08 BA */ fmadds f7, f8, f2, f1 -/* 800F8AC8 000F5A28 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 800F8ACC 000F5A2C C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F8AD0 000F5A30 C1 22 92 D0 */ lfs f9, lbl_805AAFF0@sda21(r2) -/* 800F8AD4 000F5A34 EC A7 01 72 */ fmuls f5, f7, f5 -/* 800F8AD8 000F5A38 EC 67 00 F2 */ fmuls f3, f7, f3 -/* 800F8ADC 000F5A3C EC 07 00 32 */ fmuls f0, f7, f0 -/* 800F8AE0 000F5A40 EC A6 28 28 */ fsubs f5, f6, f5 -/* 800F8AE4 000F5A44 EC 64 18 28 */ fsubs f3, f4, f3 -/* 800F8AE8 000F5A48 EC 02 00 28 */ fsubs f0, f2, f0 -/* 800F8AEC 000F5A4C D0 A1 00 58 */ stfs f5, 0x58(r1) -/* 800F8AF0 000F5A50 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 800F8AF4 000F5A54 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800F8AF8 000F5A58 C0 1E 18 8C */ lfs f0, 0x188c(r30) -/* 800F8AFC 000F5A5C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800F8B00 000F5A60 40 82 00 1C */ bne lbl_800F8B1C -/* 800F8B04 000F5A64 FC 20 42 10 */ fabs f1, f8 -/* 800F8B08 000F5A68 C0 02 91 80 */ lfs f0, lbl_805AAEA0@sda21(r2) -/* 800F8B0C 000F5A6C FC 20 08 18 */ frsp f1, f1 -/* 800F8B10 000F5A70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F8B14 000F5A74 40 81 00 08 */ ble lbl_800F8B1C -/* 800F8B18 000F5A78 C1 22 92 94 */ lfs f9, lbl_805AAFB4@sda21(r2) -lbl_800F8B1C: -/* 800F8B1C 000F5A7C C0 1E 18 FC */ lfs f0, 0x18fc(r30) -/* 800F8B20 000F5A80 C0 22 91 A8 */ lfs f1, lbl_805AAEC8@sda21(r2) -/* 800F8B24 000F5A84 EC 40 F8 28 */ fsubs f2, f0, f31 -/* 800F8B28 000F5A88 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F8B2C 000F5A8C FC 02 08 2E */ fsel f0, f2, f0, f1 -/* 800F8B30 000F5A90 FC 20 12 10 */ fabs f1, f2 -/* 800F8B34 000F5A94 EC 69 00 32 */ fmuls f3, f9, f0 -/* 800F8B38 000F5A98 FC 00 08 18 */ frsp f0, f1 -/* 800F8B3C 000F5A9C FC 20 1A 10 */ fabs f1, f3 -/* 800F8B40 000F5AA0 D0 01 00 08 */ stfs f0, 8(r1) -/* 800F8B44 000F5AA4 FC 20 08 18 */ frsp f1, f1 -/* 800F8B48 000F5AA8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800F8B4C 000F5AAC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800F8B50 000F5AB0 40 80 00 0C */ bge lbl_800F8B5C -/* 800F8B54 000F5AB4 38 61 00 08 */ addi r3, r1, 8 -/* 800F8B58 000F5AB8 48 00 00 08 */ b lbl_800F8B60 -lbl_800F8B5C: -/* 800F8B5C 000F5ABC 38 61 00 0C */ addi r3, r1, 0xc -lbl_800F8B60: -/* 800F8B60 000F5AC0 C0 42 91 A8 */ lfs f2, lbl_805AAEC8@sda21(r2) -/* 800F8B64 000F5AC4 38 81 00 58 */ addi r4, r1, 0x58 -/* 800F8B68 000F5AC8 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F8B6C 000F5ACC C0 03 00 00 */ lfs f0, 0(r3) -/* 800F8B70 000F5AD0 FC 23 10 6E */ fsel f1, f3, f1, f2 -/* 800F8B74 000F5AD4 C0 BE 18 84 */ lfs f5, 0x1884(r30) -/* 800F8B78 000F5AD8 C0 9E 18 88 */ lfs f4, 0x1888(r30) -/* 800F8B7C 000F5ADC C0 5E 18 80 */ lfs f2, 0x1880(r30) -/* 800F8B80 000F5AE0 EC C0 00 72 */ fmuls f6, f0, f1 -/* 800F8B84 000F5AE4 C0 61 00 58 */ lfs f3, 0x58(r1) -/* 800F8B88 000F5AE8 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 800F8B8C 000F5AEC C0 01 00 60 */ lfs f0, 0x60(r1) -/* 800F8B90 000F5AF0 EC C6 E0 24 */ fdivs f6, f6, f28 -/* 800F8B94 000F5AF4 EC A6 01 72 */ fmuls f5, f6, f5 -/* 800F8B98 000F5AF8 EC 86 01 32 */ fmuls f4, f6, f4 -/* 800F8B9C 000F5AFC EC 46 00 B2 */ fmuls f2, f6, f2 -/* 800F8BA0 000F5B00 EC 21 28 2A */ fadds f1, f1, f5 -/* 800F8BA4 000F5B04 EC 00 20 2A */ fadds f0, f0, f4 -/* 800F8BA8 000F5B08 EC 43 10 2A */ fadds f2, f3, f2 -/* 800F8BAC 000F5B0C D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 800F8BB0 000F5B10 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 800F8BB4 000F5B14 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800F8BB8 000F5B18 80 7E 00 00 */ lwz r3, 0(r30) -/* 800F8BBC 000F5B1C 48 02 20 E5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 800F8BC0 000F5B20 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 800F8BC4 000F5B24 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 800F8BC8 000F5B28 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 800F8BCC 000F5B2C CB C1 00 90 */ lfd f30, 0x90(r1) -/* 800F8BD0 000F5B30 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 800F8BD4 000F5B34 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 800F8BD8 000F5B38 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 800F8BDC 000F5B3C CB 81 00 70 */ lfd f28, 0x70(r1) -/* 800F8BE0 000F5B40 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 800F8BE4 000F5B44 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 800F8BE8 000F5B48 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 800F8BEC 000F5B4C 7C 08 03 A6 */ mtlr r0 -/* 800F8BF0 000F5B50 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 800F8BF4 000F5B54 4E 80 00 20 */ blr - -.global UpdateSpiderBall__10CMorphBallFRC11CFinalInputR13CStateManagerf -UpdateSpiderBall__10CMorphBallFRC11CFinalInputR13CStateManagerf: -/* 800F8BF8 000F5B58 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F8BFC 000F5B5C 7C 08 02 A6 */ mflr r0 -/* 800F8C00 000F5B60 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F8C04 000F5B64 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 800F8C08 000F5B68 FF E0 08 90 */ fmr f31, f1 -/* 800F8C0C 000F5B6C 93 E1 00 14 */ stw r31, 0x14(r1) -/* 800F8C10 000F5B70 7C BF 2B 78 */ mr r31, r5 -/* 800F8C14 000F5B74 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800F8C18 000F5B78 7C 9E 23 78 */ mr r30, r4 -/* 800F8C1C 000F5B7C 7F E4 FB 78 */ mr r4, r31 -/* 800F8C20 000F5B80 93 A1 00 0C */ stw r29, 0xc(r1) -/* 800F8C24 000F5B84 7C 7D 1B 78 */ mr r29, r3 -/* 800F8C28 000F5B88 4B FF EF D1 */ bl CheckForSwitchToSpiderBallSwinging__10CMorphBallCFR13CStateManager -/* 800F8C2C 000F5B8C 7C 64 1B 78 */ mr r4, r3 -/* 800F8C30 000F5B90 7F A3 EB 78 */ mr r3, r29 -/* 800F8C34 000F5B94 4B FF E9 71 */ bl SetSpiderBallSwingingState__10CMorphBallFb -/* 800F8C38 000F5B98 88 1D 18 BE */ lbz r0, 0x18be(r29) -/* 800F8C3C 000F5B9C 28 00 00 00 */ cmplwi r0, 0 -/* 800F8C40 000F5BA0 41 82 00 1C */ beq lbl_800F8C5C -/* 800F8C44 000F5BA4 FC 20 F8 90 */ fmr f1, f31 -/* 800F8C48 000F5BA8 7F A3 EB 78 */ mr r3, r29 -/* 800F8C4C 000F5BAC 7F C4 F3 78 */ mr r4, r30 -/* 800F8C50 000F5BB0 7F E5 FB 78 */ mr r5, r31 -/* 800F8C54 000F5BB4 4B FF FB FD */ bl ApplySpiderBallSwingingForces__10CMorphBallFRC11CFinalInputR13CStateManagerf -/* 800F8C58 000F5BB8 48 00 00 18 */ b lbl_800F8C70 -lbl_800F8C5C: -/* 800F8C5C 000F5BBC FC 20 F8 90 */ fmr f1, f31 -/* 800F8C60 000F5BC0 7F A3 EB 78 */ mr r3, r29 -/* 800F8C64 000F5BC4 7F C4 F3 78 */ mr r4, r30 -/* 800F8C68 000F5BC8 7F E5 FB 78 */ mr r5, r31 -/* 800F8C6C 000F5BCC 4B FF F1 05 */ bl ApplySpiderBallRollForces__10CMorphBallFRC11CFinalInputR13CStateManagerf -lbl_800F8C70: -/* 800F8C70 000F5BD0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F8C74 000F5BD4 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 800F8C78 000F5BD8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 800F8C7C 000F5BDC 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 800F8C80 000F5BE0 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 800F8C84 000F5BE4 7C 08 03 A6 */ mtlr r0 -/* 800F8C88 000F5BE8 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F8C8C 000F5BEC 4E 80 00 20 */ blr - -.global SetDamageTimer__10CMorphBallFf -SetDamageTimer__10CMorphBallFf: -/* 800F8C90 000F5BF0 D0 23 19 1C */ stfs f1, 0x191c(r3) -/* 800F8C94 000F5BF4 4E 80 00 20 */ blr - -.global IsMovementAllowed__10CMorphBallCFv -IsMovementAllowed__10CMorphBallCFv: -/* 800F8C98 000F5BF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800F8C9C 000F5BFC 7C 08 02 A6 */ mflr r0 -/* 800F8CA0 000F5C00 90 01 00 14 */ stw r0, 0x14(r1) -/* 800F8CA4 000F5C04 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F8CA8 000F5C08 7C 7F 1B 78 */ mr r31, r3 -/* 800F8CAC 000F5C0C 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 800F8CB0 000F5C10 88 04 02 28 */ lbz r0, 0x228(r4) -/* 800F8CB4 000F5C14 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 800F8CB8 000F5C18 40 82 00 28 */ bne lbl_800F8CE0 -/* 800F8CBC 000F5C1C 80 7F 00 00 */ lwz r3, 0(r31) -/* 800F8CC0 000F5C20 88 03 03 DC */ lbz r0, 0x3dc(r3) -/* 800F8CC4 000F5C24 28 00 00 00 */ cmplwi r0, 0 -/* 800F8CC8 000F5C28 40 82 00 10 */ bne lbl_800F8CD8 -/* 800F8CCC 000F5C2C 88 03 03 DD */ lbz r0, 0x3dd(r3) -/* 800F8CD0 000F5C30 28 00 00 00 */ cmplwi r0, 0 -/* 800F8CD4 000F5C34 41 82 00 0C */ beq lbl_800F8CE0 -lbl_800F8CD8: -/* 800F8CD8 000F5C38 38 60 00 00 */ li r3, 0 -/* 800F8CDC 000F5C3C 48 00 00 38 */ b lbl_800F8D14 -lbl_800F8CE0: -/* 800F8CE0 000F5C40 80 7F 00 00 */ lwz r3, 0(r31) -/* 800F8CE4 000F5C44 4B F2 15 31 */ bl IsMorphBallTransitioning__7CPlayerCFv -/* 800F8CE8 000F5C48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F8CEC 000F5C4C 41 82 00 0C */ beq lbl_800F8CF8 -/* 800F8CF0 000F5C50 38 60 00 00 */ li r3, 0 -/* 800F8CF4 000F5C54 48 00 00 20 */ b lbl_800F8D14 -lbl_800F8CF8: -/* 800F8CF8 000F5C58 C0 3F 1E 00 */ lfs f1, 0x1e00(r31) -/* 800F8CFC 000F5C5C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F8D00 000F5C60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800F8D04 000F5C64 7C 00 00 26 */ mfcr r0 -/* 800F8D08 000F5C68 54 00 17 FE */ rlwinm r0, r0, 2, 0x1f, 0x1f -/* 800F8D0C 000F5C6C 7C 00 00 34 */ cntlzw r0, r0 -/* 800F8D10 000F5C70 54 03 D9 7E */ srwi r3, r0, 5 -lbl_800F8D14: -/* 800F8D14 000F5C74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800F8D18 000F5C78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F8D1C 000F5C7C 7C 08 03 A6 */ mtlr r0 -/* 800F8D20 000F5C80 38 21 00 10 */ addi r1, r1, 0x10 -/* 800F8D24 000F5C84 4E 80 00 20 */ blr - -.global ComputeBallMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf -ComputeBallMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf: -/* 800F8D28 000F5C88 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F8D2C 000F5C8C 7C 08 02 A6 */ mflr r0 -/* 800F8D30 000F5C90 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F8D34 000F5C94 DB E1 00 18 */ stfd f31, 0x18(r1) -/* 800F8D38 000F5C98 FF E0 08 90 */ fmr f31, f1 -/* 800F8D3C 000F5C9C 93 E1 00 14 */ stw r31, 0x14(r1) -/* 800F8D40 000F5CA0 7C BF 2B 78 */ mr r31, r5 -/* 800F8D44 000F5CA4 93 C1 00 10 */ stw r30, 0x10(r1) -/* 800F8D48 000F5CA8 7C 9E 23 78 */ mr r30, r4 -/* 800F8D4C 000F5CAC 93 A1 00 0C */ stw r29, 0xc(r1) -/* 800F8D50 000F5CB0 7C 7D 1B 78 */ mr r29, r3 -/* 800F8D54 000F5CB4 4B FF B6 59 */ bl ComputeBoostBallMovement__10CMorphBallFRC11CFinalInputRC13CStateManagerf -/* 800F8D58 000F5CB8 FC 20 F8 90 */ fmr f1, f31 -/* 800F8D5C 000F5CBC 7F A3 EB 78 */ mr r3, r29 -/* 800F8D60 000F5CC0 7F C4 F3 78 */ mr r4, r30 -/* 800F8D64 000F5CC4 7F E5 FB 78 */ mr r5, r31 -/* 800F8D68 000F5CC8 4B FF DB 11 */ bl ComputeMarioMovement__10CMorphBallFRC11CFinalInputR13CStateManagerf -/* 800F8D6C 000F5CCC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F8D70 000F5CD0 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 800F8D74 000F5CD4 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 800F8D78 000F5CD8 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 800F8D7C 000F5CDC 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 800F8D80 000F5CE0 7C 08 03 A6 */ mtlr r0 -/* 800F8D84 000F5CE4 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F8D88 000F5CE8 4E 80 00 20 */ blr - -.global ForwardInput__10CMorphBallCFRC11CFinalInput -ForwardInput__10CMorphBallCFRC11CFinalInput: -/* 800F8D8C 000F5CEC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800F8D90 000F5CF0 7C 08 02 A6 */ mflr r0 -/* 800F8D94 000F5CF4 90 01 00 24 */ stw r0, 0x24(r1) -/* 800F8D98 000F5CF8 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 800F8D9C 000F5CFC F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 800F8DA0 000F5D00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800F8DA4 000F5D04 7C 9F 23 78 */ mr r31, r4 -/* 800F8DA8 000F5D08 4B FF FE F1 */ bl IsMovementAllowed__10CMorphBallCFv -/* 800F8DAC 000F5D0C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800F8DB0 000F5D10 40 82 00 0C */ bne lbl_800F8DBC -/* 800F8DB4 000F5D14 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F8DB8 000F5D18 48 00 00 24 */ b lbl_800F8DDC -lbl_800F8DBC: -/* 800F8DBC 000F5D1C 7F E4 FB 78 */ mr r4, r31 -/* 800F8DC0 000F5D20 38 60 00 00 */ li r3, 0 -/* 800F8DC4 000F5D24 4B F1 3B 55 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F8DC8 000F5D28 FF E0 08 90 */ fmr f31, f1 -/* 800F8DCC 000F5D2C 7F E4 FB 78 */ mr r4, r31 -/* 800F8DD0 000F5D30 38 60 00 01 */ li r3, 1 -/* 800F8DD4 000F5D34 4B F1 3B 45 */ bl GetAnalogInput__13ControlMapperFQ213ControlMapper9ECommandsRC11CFinalInput -/* 800F8DD8 000F5D38 EC 3F 08 28 */ fsubs f1, f31, f1 -lbl_800F8DDC: -/* 800F8DDC 000F5D3C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 800F8DE0 000F5D40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800F8DE4 000F5D44 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 800F8DE8 000F5D48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800F8DEC 000F5D4C 7C 08 03 A6 */ mtlr r0 -/* 800F8DF0 000F5D50 38 21 00 20 */ addi r1, r1, 0x20 -/* 800F8DF4 000F5D54 4E 80 00 20 */ blr - -.global GetBallTouchRadius__10CMorphBallCFv -GetBallTouchRadius__10CMorphBallCFv: -/* 800F8DF8 000F5D58 80 6D A1 1C */ lwz r3, gpTweakBall@sda21(r13) -/* 800F8DFC 000F5D5C C0 23 02 04 */ lfs f1, 0x204(r3) -/* 800F8E00 000F5D60 4E 80 00 20 */ blr - -.global GetBallRadius__10CMorphBallCFv -GetBallRadius__10CMorphBallCFv: -/* 800F8E04 000F5D64 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 800F8E08 000F5D68 C0 23 02 7C */ lfs f1, 0x27c(r3) -/* 800F8E0C 000F5D6C 4E 80 00 20 */ blr - -.global sub_800f8e10 -sub_800f8e10: -/* 800F8E10 000F5D70 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800F8E14 000F5D74 7C 08 02 A6 */ mflr r0 -/* 800F8E18 000F5D78 90 01 00 34 */ stw r0, 0x34(r1) -/* 800F8E1C 000F5D7C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800F8E20 000F5D80 7C 9F 23 78 */ mr r31, r4 -/* 800F8E24 000F5D84 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800F8E28 000F5D88 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800F8E2C 000F5D8C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800F8E30 000F5D90 93 81 00 20 */ stw r28, 0x20(r1) -/* 800F8E34 000F5D94 41 82 07 1C */ beq lbl_800F9550 -/* 800F8E38 000F5D98 34 1E 1E 50 */ addic. r0, r30, 0x1e50 -/* 800F8E3C 000F5D9C 41 82 00 10 */ beq lbl_800F8E4C -/* 800F8E40 000F5DA0 80 7E 1E 50 */ lwz r3, 0x1e50(r30) -/* 800F8E44 000F5DA4 38 80 00 01 */ li r4, 1 -/* 800F8E48 000F5DA8 48 19 DC 1D */ bl __dt__16CMorphBallShadowFv -lbl_800F8E4C: -/* 800F8E4C 000F5DAC 34 1E 1D 10 */ addic. r0, r30, 0x1d10 -/* 800F8E50 000F5DB0 41 82 00 60 */ beq lbl_800F8EB0 -/* 800F8E54 000F5DB4 34 1E 1D 10 */ addic. r0, r30, 0x1d10 -/* 800F8E58 000F5DB8 41 82 00 58 */ beq lbl_800F8EB0 -/* 800F8E5C 000F5DBC 80 BE 1D 10 */ lwz r5, 0x1d10(r30) -/* 800F8E60 000F5DC0 38 60 00 00 */ li r3, 0 -/* 800F8E64 000F5DC4 2C 05 00 00 */ cmpwi r5, 0 -/* 800F8E68 000F5DC8 40 81 00 40 */ ble lbl_800F8EA8 -/* 800F8E6C 000F5DCC 2C 05 00 08 */ cmpwi r5, 8 -/* 800F8E70 000F5DD0 38 85 FF F8 */ addi r4, r5, -8 -/* 800F8E74 000F5DD4 40 81 00 20 */ ble lbl_800F8E94 -/* 800F8E78 000F5DD8 38 04 00 07 */ addi r0, r4, 7 -/* 800F8E7C 000F5DDC 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F8E80 000F5DE0 7C 09 03 A6 */ mtctr r0 -/* 800F8E84 000F5DE4 2C 04 00 00 */ cmpwi r4, 0 -/* 800F8E88 000F5DE8 40 81 00 0C */ ble lbl_800F8E94 -lbl_800F8E8C: -/* 800F8E8C 000F5DEC 38 63 00 08 */ addi r3, r3, 8 -/* 800F8E90 000F5DF0 42 00 FF FC */ bdnz lbl_800F8E8C -lbl_800F8E94: -/* 800F8E94 000F5DF4 7C 03 28 50 */ subf r0, r3, r5 -/* 800F8E98 000F5DF8 7C 09 03 A6 */ mtctr r0 -/* 800F8E9C 000F5DFC 7C 03 28 00 */ cmpw r3, r5 -/* 800F8EA0 000F5E00 40 80 00 08 */ bge lbl_800F8EA8 -lbl_800F8EA4: -/* 800F8EA4 000F5E04 42 00 00 00 */ bdnz lbl_800F8EA4 -lbl_800F8EA8: -/* 800F8EA8 000F5E08 38 00 00 00 */ li r0, 0 -/* 800F8EAC 000F5E0C 90 1E 1D 10 */ stw r0, 0x1d10(r30) -lbl_800F8EB0: -/* 800F8EB0 000F5E10 34 1E 1C D0 */ addic. r0, r30, 0x1cd0 -/* 800F8EB4 000F5E14 41 82 00 60 */ beq lbl_800F8F14 -/* 800F8EB8 000F5E18 34 1E 1C D0 */ addic. r0, r30, 0x1cd0 -/* 800F8EBC 000F5E1C 41 82 00 58 */ beq lbl_800F8F14 -/* 800F8EC0 000F5E20 80 BE 1C D0 */ lwz r5, 0x1cd0(r30) -/* 800F8EC4 000F5E24 38 60 00 00 */ li r3, 0 -/* 800F8EC8 000F5E28 2C 05 00 00 */ cmpwi r5, 0 -/* 800F8ECC 000F5E2C 40 81 00 40 */ ble lbl_800F8F0C -/* 800F8ED0 000F5E30 2C 05 00 08 */ cmpwi r5, 8 -/* 800F8ED4 000F5E34 38 85 FF F8 */ addi r4, r5, -8 -/* 800F8ED8 000F5E38 40 81 00 20 */ ble lbl_800F8EF8 -/* 800F8EDC 000F5E3C 38 04 00 07 */ addi r0, r4, 7 -/* 800F8EE0 000F5E40 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F8EE4 000F5E44 7C 09 03 A6 */ mtctr r0 -/* 800F8EE8 000F5E48 2C 04 00 00 */ cmpwi r4, 0 -/* 800F8EEC 000F5E4C 40 81 00 0C */ ble lbl_800F8EF8 -lbl_800F8EF0: -/* 800F8EF0 000F5E50 38 63 00 08 */ addi r3, r3, 8 -/* 800F8EF4 000F5E54 42 00 FF FC */ bdnz lbl_800F8EF0 -lbl_800F8EF8: -/* 800F8EF8 000F5E58 7C 03 28 50 */ subf r0, r3, r5 -/* 800F8EFC 000F5E5C 7C 09 03 A6 */ mtctr r0 -/* 800F8F00 000F5E60 7C 03 28 00 */ cmpw r3, r5 -/* 800F8F04 000F5E64 40 80 00 08 */ bge lbl_800F8F0C -lbl_800F8F08: -/* 800F8F08 000F5E68 42 00 00 00 */ bdnz lbl_800F8F08 -lbl_800F8F0C: -/* 800F8F0C 000F5E6C 38 00 00 00 */ li r0, 0 -/* 800F8F10 000F5E70 90 1E 1C D0 */ stw r0, 0x1cd0(r30) -lbl_800F8F14: -/* 800F8F14 000F5E74 34 1E 1C 90 */ addic. r0, r30, 0x1c90 -/* 800F8F18 000F5E78 41 82 00 60 */ beq lbl_800F8F78 -/* 800F8F1C 000F5E7C 34 1E 1C 90 */ addic. r0, r30, 0x1c90 -/* 800F8F20 000F5E80 41 82 00 58 */ beq lbl_800F8F78 -/* 800F8F24 000F5E84 80 BE 1C 90 */ lwz r5, 0x1c90(r30) -/* 800F8F28 000F5E88 38 60 00 00 */ li r3, 0 -/* 800F8F2C 000F5E8C 2C 05 00 00 */ cmpwi r5, 0 -/* 800F8F30 000F5E90 40 81 00 40 */ ble lbl_800F8F70 -/* 800F8F34 000F5E94 2C 05 00 08 */ cmpwi r5, 8 -/* 800F8F38 000F5E98 38 85 FF F8 */ addi r4, r5, -8 -/* 800F8F3C 000F5E9C 40 81 00 20 */ ble lbl_800F8F5C -/* 800F8F40 000F5EA0 38 04 00 07 */ addi r0, r4, 7 -/* 800F8F44 000F5EA4 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F8F48 000F5EA8 7C 09 03 A6 */ mtctr r0 -/* 800F8F4C 000F5EAC 2C 04 00 00 */ cmpwi r4, 0 -/* 800F8F50 000F5EB0 40 81 00 0C */ ble lbl_800F8F5C -lbl_800F8F54: -/* 800F8F54 000F5EB4 38 63 00 08 */ addi r3, r3, 8 -/* 800F8F58 000F5EB8 42 00 FF FC */ bdnz lbl_800F8F54 -lbl_800F8F5C: -/* 800F8F5C 000F5EBC 7C 03 28 50 */ subf r0, r3, r5 -/* 800F8F60 000F5EC0 7C 09 03 A6 */ mtctr r0 -/* 800F8F64 000F5EC4 7C 03 28 00 */ cmpw r3, r5 -/* 800F8F68 000F5EC8 40 80 00 08 */ bge lbl_800F8F70 -lbl_800F8F6C: -/* 800F8F6C 000F5ECC 42 00 00 00 */ bdnz lbl_800F8F6C -lbl_800F8F70: -/* 800F8F70 000F5ED0 38 00 00 00 */ li r0, 0 -/* 800F8F74 000F5ED4 90 1E 1C 90 */ stw r0, 0x1c90(r30) -lbl_800F8F78: -/* 800F8F78 000F5ED8 34 1E 1C 3C */ addic. r0, r30, 0x1c3c -/* 800F8F7C 000F5EDC 41 82 00 60 */ beq lbl_800F8FDC -/* 800F8F80 000F5EE0 34 1E 1C 3C */ addic. r0, r30, 0x1c3c -/* 800F8F84 000F5EE4 41 82 00 58 */ beq lbl_800F8FDC -/* 800F8F88 000F5EE8 80 BE 1C 3C */ lwz r5, 0x1c3c(r30) -/* 800F8F8C 000F5EEC 38 60 00 00 */ li r3, 0 -/* 800F8F90 000F5EF0 2C 05 00 00 */ cmpwi r5, 0 -/* 800F8F94 000F5EF4 40 81 00 40 */ ble lbl_800F8FD4 -/* 800F8F98 000F5EF8 2C 05 00 08 */ cmpwi r5, 8 -/* 800F8F9C 000F5EFC 38 85 FF F8 */ addi r4, r5, -8 -/* 800F8FA0 000F5F00 40 81 00 20 */ ble lbl_800F8FC0 -/* 800F8FA4 000F5F04 38 04 00 07 */ addi r0, r4, 7 -/* 800F8FA8 000F5F08 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F8FAC 000F5F0C 7C 09 03 A6 */ mtctr r0 -/* 800F8FB0 000F5F10 2C 04 00 00 */ cmpwi r4, 0 -/* 800F8FB4 000F5F14 40 81 00 0C */ ble lbl_800F8FC0 -lbl_800F8FB8: -/* 800F8FB8 000F5F18 38 63 00 08 */ addi r3, r3, 8 -/* 800F8FBC 000F5F1C 42 00 FF FC */ bdnz lbl_800F8FB8 -lbl_800F8FC0: -/* 800F8FC0 000F5F20 7C 03 28 50 */ subf r0, r3, r5 -/* 800F8FC4 000F5F24 7C 09 03 A6 */ mtctr r0 -/* 800F8FC8 000F5F28 7C 03 28 00 */ cmpw r3, r5 -/* 800F8FCC 000F5F2C 40 80 00 08 */ bge lbl_800F8FD4 -lbl_800F8FD0: -/* 800F8FD0 000F5F30 42 00 00 00 */ bdnz lbl_800F8FD0 -lbl_800F8FD4: -/* 800F8FD4 000F5F34 38 00 00 00 */ li r0, 0 -/* 800F8FD8 000F5F38 90 1E 1C 3C */ stw r0, 0x1c3c(r30) -lbl_800F8FDC: -/* 800F8FDC 000F5F3C 38 7E 1C 1C */ addi r3, r30, 0x1c1c -/* 800F8FE0 000F5F40 38 80 FF FF */ li r4, -1 -/* 800F8FE4 000F5F44 4B F4 9F 95 */ bl "__dt__Q24rstl34single_ptr<20CRainSplashGenerator>" -/* 800F8FE8 000F5F48 34 1E 1C 18 */ addic. r0, r30, 0x1c18 -/* 800F8FEC 000F5F4C 41 82 00 10 */ beq lbl_800F8FFC -/* 800F8FF0 000F5F50 80 7E 1C 18 */ lwz r3, 0x1c18(r30) -/* 800F8FF4 000F5F54 38 80 00 01 */ li r4, 1 -/* 800F8FF8 000F5F58 48 00 C0 DD */ bl __dt__12CActorLightsFv -lbl_800F8FFC: -/* 800F8FFC 000F5F5C 34 1E 1C 14 */ addic. r0, r30, 0x1c14 -/* 800F9000 000F5F60 41 82 00 10 */ beq lbl_800F9010 -/* 800F9004 000F5F64 80 7E 1C 14 */ lwz r3, 0x1c14(r30) -/* 800F9008 000F5F68 38 80 00 01 */ li r4, 1 -/* 800F900C 000F5F6C 48 01 8B 49 */ bl __dt__12CWorldShadowFv -lbl_800F9010: -/* 800F9010 000F5F70 34 1E 1B C8 */ addic. r0, r30, 0x1bc8 -/* 800F9014 000F5F74 41 82 00 60 */ beq lbl_800F9074 -/* 800F9018 000F5F78 3B 9E 1B CC */ addi r28, r30, 0x1bcc -/* 800F901C 000F5F7C 3B A0 00 00 */ li r29, 0 -/* 800F9020 000F5F80 48 00 00 40 */ b lbl_800F9060 -lbl_800F9024: -/* 800F9024 000F5F84 28 1C 00 00 */ cmplwi r28, 0 -/* 800F9028 000F5F88 41 82 00 30 */ beq lbl_800F9058 -/* 800F902C 000F5F8C 88 1C 00 00 */ lbz r0, 0(r28) -/* 800F9030 000F5F90 28 00 00 00 */ cmplwi r0, 0 -/* 800F9034 000F5F94 41 82 00 24 */ beq lbl_800F9058 -/* 800F9038 000F5F98 80 7C 00 04 */ lwz r3, 4(r28) -/* 800F903C 000F5F9C 28 03 00 00 */ cmplwi r3, 0 -/* 800F9040 000F5FA0 41 82 00 18 */ beq lbl_800F9058 -/* 800F9044 000F5FA4 81 83 00 00 */ lwz r12, 0(r3) -/* 800F9048 000F5FA8 38 80 00 01 */ li r4, 1 -/* 800F904C 000F5FAC 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F9050 000F5FB0 7D 89 03 A6 */ mtctr r12 -/* 800F9054 000F5FB4 4E 80 04 21 */ bctrl -lbl_800F9058: -/* 800F9058 000F5FB8 3B 9C 00 08 */ addi r28, r28, 8 -/* 800F905C 000F5FBC 3B BD 00 01 */ addi r29, r29, 1 -lbl_800F9060: -/* 800F9060 000F5FC0 80 1E 1B C8 */ lwz r0, 0x1bc8(r30) -/* 800F9064 000F5FC4 7C 1D 00 00 */ cmpw r29, r0 -/* 800F9068 000F5FC8 41 80 FF BC */ blt lbl_800F9024 -/* 800F906C 000F5FCC 38 00 00 00 */ li r0, 0 -/* 800F9070 000F5FD0 90 1E 1B C8 */ stw r0, 0x1bc8(r30) -lbl_800F9074: -/* 800F9074 000F5FD4 34 1E 1B 84 */ addic. r0, r30, 0x1b84 -/* 800F9078 000F5FD8 41 82 00 40 */ beq lbl_800F90B8 -/* 800F907C 000F5FDC 3B 9E 1B 88 */ addi r28, r30, 0x1b88 -/* 800F9080 000F5FE0 3B A0 00 00 */ li r29, 0 -/* 800F9084 000F5FE4 48 00 00 20 */ b lbl_800F90A4 -lbl_800F9088: -/* 800F9088 000F5FE8 28 1C 00 00 */ cmplwi r28, 0 -/* 800F908C 000F5FEC 41 82 00 10 */ beq lbl_800F909C -/* 800F9090 000F5FF0 7F 83 E3 78 */ mr r3, r28 -/* 800F9094 000F5FF4 38 80 00 00 */ li r4, 0 -/* 800F9098 000F5FF8 48 24 7D A9 */ bl __dt__6CTokenFv -lbl_800F909C: -/* 800F909C 000F5FFC 3B 9C 00 08 */ addi r28, r28, 8 -/* 800F90A0 000F6000 3B BD 00 01 */ addi r29, r29, 1 -lbl_800F90A4: -/* 800F90A4 000F6004 80 1E 1B 84 */ lwz r0, 0x1b84(r30) -/* 800F90A8 000F6008 7C 1D 00 00 */ cmpw r29, r0 -/* 800F90AC 000F600C 41 80 FF DC */ blt lbl_800F9088 -/* 800F90B0 000F6010 38 00 00 00 */ li r0, 0 -/* 800F90B4 000F6014 90 1E 1B 84 */ stw r0, 0x1b84(r30) -lbl_800F90B8: -/* 800F90B8 000F6018 38 7E 1B 68 */ addi r3, r30, 0x1b68 -/* 800F90BC 000F601C 38 80 FF FF */ li r4, -1 -/* 800F90C0 000F6020 48 00 13 F5 */ bl sub_800fa4b4 -/* 800F90C4 000F6024 34 1E 19 E4 */ addic. r0, r30, 0x19e4 -/* 800F90C8 000F6028 41 82 00 64 */ beq lbl_800F912C -/* 800F90CC 000F602C 3B 9E 19 E8 */ addi r28, r30, 0x19e8 -/* 800F90D0 000F6030 3B A0 00 00 */ li r29, 0 -/* 800F90D4 000F6034 48 00 00 44 */ b lbl_800F9118 -lbl_800F90D8: -/* 800F90D8 000F6038 28 1C 00 00 */ cmplwi r28, 0 -/* 800F90DC 000F603C 41 82 00 34 */ beq lbl_800F9110 -/* 800F90E0 000F6040 41 82 00 30 */ beq lbl_800F9110 -/* 800F90E4 000F6044 88 1C 00 00 */ lbz r0, 0(r28) -/* 800F90E8 000F6048 28 00 00 00 */ cmplwi r0, 0 -/* 800F90EC 000F604C 41 82 00 24 */ beq lbl_800F9110 -/* 800F90F0 000F6050 80 7C 00 04 */ lwz r3, 4(r28) -/* 800F90F4 000F6054 28 03 00 00 */ cmplwi r3, 0 -/* 800F90F8 000F6058 41 82 00 18 */ beq lbl_800F9110 -/* 800F90FC 000F605C 81 83 00 00 */ lwz r12, 0(r3) -/* 800F9100 000F6060 38 80 00 01 */ li r4, 1 -/* 800F9104 000F6064 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F9108 000F6068 7D 89 03 A6 */ mtctr r12 -/* 800F910C 000F606C 4E 80 04 21 */ bctrl -lbl_800F9110: -/* 800F9110 000F6070 3B 9C 00 0C */ addi r28, r28, 0xc -/* 800F9114 000F6074 3B BD 00 01 */ addi r29, r29, 1 -lbl_800F9118: -/* 800F9118 000F6078 80 1E 19 E4 */ lwz r0, 0x19e4(r30) -/* 800F911C 000F607C 7C 1D 00 00 */ cmpw r29, r0 -/* 800F9120 000F6080 41 80 FF B8 */ blt lbl_800F90D8 -/* 800F9124 000F6084 38 00 00 00 */ li r0, 0 -/* 800F9128 000F6088 90 1E 19 E4 */ stw r0, 0x19e4(r30) -lbl_800F912C: -/* 800F912C 000F608C 34 1E 19 E0 */ addic. r0, r30, 0x19e0 -/* 800F9130 000F6090 41 82 00 24 */ beq lbl_800F9154 -/* 800F9134 000F6094 80 7E 19 E0 */ lwz r3, 0x19e0(r30) -/* 800F9138 000F6098 28 03 00 00 */ cmplwi r3, 0 -/* 800F913C 000F609C 41 82 00 18 */ beq lbl_800F9154 -/* 800F9140 000F60A0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F9144 000F60A4 38 80 00 01 */ li r4, 1 -/* 800F9148 000F60A8 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F914C 000F60AC 7D 89 03 A6 */ mtctr r12 -/* 800F9150 000F60B0 4E 80 04 21 */ bctrl -lbl_800F9154: -/* 800F9154 000F60B4 34 1E 19 DC */ addic. r0, r30, 0x19dc -/* 800F9158 000F60B8 41 82 00 24 */ beq lbl_800F917C -/* 800F915C 000F60BC 80 7E 19 DC */ lwz r3, 0x19dc(r30) -/* 800F9160 000F60C0 28 03 00 00 */ cmplwi r3, 0 -/* 800F9164 000F60C4 41 82 00 18 */ beq lbl_800F917C -/* 800F9168 000F60C8 81 83 00 00 */ lwz r12, 0(r3) -/* 800F916C 000F60CC 38 80 00 01 */ li r4, 1 -/* 800F9170 000F60D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F9174 000F60D4 7D 89 03 A6 */ mtctr r12 -/* 800F9178 000F60D8 4E 80 04 21 */ bctrl -lbl_800F917C: -/* 800F917C 000F60DC 34 1E 19 D8 */ addic. r0, r30, 0x19d8 -/* 800F9180 000F60E0 41 82 00 24 */ beq lbl_800F91A4 -/* 800F9184 000F60E4 80 7E 19 D8 */ lwz r3, 0x19d8(r30) -/* 800F9188 000F60E8 28 03 00 00 */ cmplwi r3, 0 -/* 800F918C 000F60EC 41 82 00 18 */ beq lbl_800F91A4 -/* 800F9190 000F60F0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F9194 000F60F4 38 80 00 01 */ li r4, 1 -/* 800F9198 000F60F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F919C 000F60FC 7D 89 03 A6 */ mtctr r12 -/* 800F91A0 000F6100 4E 80 04 21 */ bctrl -lbl_800F91A4: -/* 800F91A4 000F6104 34 1E 19 D4 */ addic. r0, r30, 0x19d4 -/* 800F91A8 000F6108 41 82 00 24 */ beq lbl_800F91CC -/* 800F91AC 000F610C 80 7E 19 D4 */ lwz r3, 0x19d4(r30) -/* 800F91B0 000F6110 28 03 00 00 */ cmplwi r3, 0 -/* 800F91B4 000F6114 41 82 00 18 */ beq lbl_800F91CC -/* 800F91B8 000F6118 81 83 00 00 */ lwz r12, 0(r3) -/* 800F91BC 000F611C 38 80 00 01 */ li r4, 1 -/* 800F91C0 000F6120 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F91C4 000F6124 7D 89 03 A6 */ mtctr r12 -/* 800F91C8 000F6128 4E 80 04 21 */ bctrl -lbl_800F91CC: -/* 800F91CC 000F612C 34 1E 19 D0 */ addic. r0, r30, 0x19d0 -/* 800F91D0 000F6130 41 82 00 24 */ beq lbl_800F91F4 -/* 800F91D4 000F6134 80 7E 19 D0 */ lwz r3, 0x19d0(r30) -/* 800F91D8 000F6138 28 03 00 00 */ cmplwi r3, 0 -/* 800F91DC 000F613C 41 82 00 18 */ beq lbl_800F91F4 -/* 800F91E0 000F6140 81 83 00 00 */ lwz r12, 0(r3) -/* 800F91E4 000F6144 38 80 00 01 */ li r4, 1 -/* 800F91E8 000F6148 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F91EC 000F614C 7D 89 03 A6 */ mtctr r12 -/* 800F91F0 000F6150 4E 80 04 21 */ bctrl -lbl_800F91F4: -/* 800F91F4 000F6154 34 1E 19 CC */ addic. r0, r30, 0x19cc -/* 800F91F8 000F6158 41 82 00 24 */ beq lbl_800F921C -/* 800F91FC 000F615C 80 7E 19 CC */ lwz r3, 0x19cc(r30) -/* 800F9200 000F6160 28 03 00 00 */ cmplwi r3, 0 -/* 800F9204 000F6164 41 82 00 18 */ beq lbl_800F921C -/* 800F9208 000F6168 81 83 00 00 */ lwz r12, 0(r3) -/* 800F920C 000F616C 38 80 00 01 */ li r4, 1 -/* 800F9210 000F6170 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F9214 000F6174 7D 89 03 A6 */ mtctr r12 -/* 800F9218 000F6178 4E 80 04 21 */ bctrl -lbl_800F921C: -/* 800F921C 000F617C 34 1E 19 C8 */ addic. r0, r30, 0x19c8 -/* 800F9220 000F6180 41 82 00 24 */ beq lbl_800F9244 -/* 800F9224 000F6184 80 7E 19 C8 */ lwz r3, 0x19c8(r30) -/* 800F9228 000F6188 28 03 00 00 */ cmplwi r3, 0 -/* 800F922C 000F618C 41 82 00 18 */ beq lbl_800F9244 -/* 800F9230 000F6190 81 83 00 00 */ lwz r12, 0(r3) -/* 800F9234 000F6194 38 80 00 01 */ li r4, 1 -/* 800F9238 000F6198 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F923C 000F619C 7D 89 03 A6 */ mtctr r12 -/* 800F9240 000F61A0 4E 80 04 21 */ bctrl -lbl_800F9244: -/* 800F9244 000F61A4 34 1E 19 C4 */ addic. r0, r30, 0x19c4 -/* 800F9248 000F61A8 41 82 00 24 */ beq lbl_800F926C -/* 800F924C 000F61AC 80 7E 19 C4 */ lwz r3, 0x19c4(r30) -/* 800F9250 000F61B0 28 03 00 00 */ cmplwi r3, 0 -/* 800F9254 000F61B4 41 82 00 18 */ beq lbl_800F926C -/* 800F9258 000F61B8 81 83 00 00 */ lwz r12, 0(r3) -/* 800F925C 000F61BC 38 80 00 01 */ li r4, 1 -/* 800F9260 000F61C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F9264 000F61C4 7D 89 03 A6 */ mtctr r12 -/* 800F9268 000F61C8 4E 80 04 21 */ bctrl -lbl_800F926C: -/* 800F926C 000F61CC 34 1E 19 C0 */ addic. r0, r30, 0x19c0 -/* 800F9270 000F61D0 41 82 00 24 */ beq lbl_800F9294 -/* 800F9274 000F61D4 80 7E 19 C0 */ lwz r3, 0x19c0(r30) -/* 800F9278 000F61D8 28 03 00 00 */ cmplwi r3, 0 -/* 800F927C 000F61DC 41 82 00 18 */ beq lbl_800F9294 -/* 800F9280 000F61E0 81 83 00 00 */ lwz r12, 0(r3) -/* 800F9284 000F61E4 38 80 00 01 */ li r4, 1 -/* 800F9288 000F61E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F928C 000F61EC 7D 89 03 A6 */ mtctr r12 -/* 800F9290 000F61F0 4E 80 04 21 */ bctrl -lbl_800F9294: -/* 800F9294 000F61F4 34 1E 19 BC */ addic. r0, r30, 0x19bc -/* 800F9298 000F61F8 41 82 00 24 */ beq lbl_800F92BC -/* 800F929C 000F61FC 80 7E 19 BC */ lwz r3, 0x19bc(r30) -/* 800F92A0 000F6200 28 03 00 00 */ cmplwi r3, 0 -/* 800F92A4 000F6204 41 82 00 18 */ beq lbl_800F92BC -/* 800F92A8 000F6208 81 83 00 00 */ lwz r12, 0(r3) -/* 800F92AC 000F620C 38 80 00 01 */ li r4, 1 -/* 800F92B0 000F6210 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F92B4 000F6214 7D 89 03 A6 */ mtctr r12 -/* 800F92B8 000F6218 4E 80 04 21 */ bctrl -lbl_800F92BC: -/* 800F92BC 000F621C 34 1E 19 B8 */ addic. r0, r30, 0x19b8 -/* 800F92C0 000F6220 41 82 00 24 */ beq lbl_800F92E4 -/* 800F92C4 000F6224 80 7E 19 B8 */ lwz r3, 0x19b8(r30) -/* 800F92C8 000F6228 28 03 00 00 */ cmplwi r3, 0 -/* 800F92CC 000F622C 41 82 00 18 */ beq lbl_800F92E4 -/* 800F92D0 000F6230 81 83 00 00 */ lwz r12, 0(r3) -/* 800F92D4 000F6234 38 80 00 01 */ li r4, 1 -/* 800F92D8 000F6238 81 8C 00 08 */ lwz r12, 8(r12) -/* 800F92DC 000F623C 7D 89 03 A6 */ mtctr r12 -/* 800F92E0 000F6240 4E 80 04 21 */ bctrl -lbl_800F92E4: -/* 800F92E4 000F6244 34 1E 19 B0 */ addic. r0, r30, 0x19b0 -/* 800F92E8 000F6248 41 82 00 10 */ beq lbl_800F92F8 -/* 800F92EC 000F624C 38 7E 19 B0 */ addi r3, r30, 0x19b0 -/* 800F92F0 000F6250 38 80 00 00 */ li r4, 0 -/* 800F92F4 000F6254 48 24 7B 4D */ bl __dt__6CTokenFv -lbl_800F92F8: -/* 800F92F8 000F6258 34 1E 19 A8 */ addic. r0, r30, 0x19a8 -/* 800F92FC 000F625C 41 82 00 10 */ beq lbl_800F930C -/* 800F9300 000F6260 38 7E 19 A8 */ addi r3, r30, 0x19a8 -/* 800F9304 000F6264 38 80 00 00 */ li r4, 0 -/* 800F9308 000F6268 48 24 7B 39 */ bl __dt__6CTokenFv -lbl_800F930C: -/* 800F930C 000F626C 34 1E 19 A0 */ addic. r0, r30, 0x19a0 -/* 800F9310 000F6270 41 82 00 10 */ beq lbl_800F9320 -/* 800F9314 000F6274 38 7E 19 A0 */ addi r3, r30, 0x19a0 -/* 800F9318 000F6278 38 80 00 00 */ li r4, 0 -/* 800F931C 000F627C 48 24 7B 25 */ bl __dt__6CTokenFv -lbl_800F9320: -/* 800F9320 000F6280 34 1E 19 98 */ addic. r0, r30, 0x1998 -/* 800F9324 000F6284 41 82 00 10 */ beq lbl_800F9334 -/* 800F9328 000F6288 38 7E 19 98 */ addi r3, r30, 0x1998 -/* 800F932C 000F628C 38 80 00 00 */ li r4, 0 -/* 800F9330 000F6290 48 24 7B 11 */ bl __dt__6CTokenFv -lbl_800F9334: -/* 800F9334 000F6294 34 1E 19 90 */ addic. r0, r30, 0x1990 -/* 800F9338 000F6298 41 82 00 10 */ beq lbl_800F9348 -/* 800F933C 000F629C 38 7E 19 90 */ addi r3, r30, 0x1990 -/* 800F9340 000F62A0 38 80 00 00 */ li r4, 0 -/* 800F9344 000F62A4 48 24 7A FD */ bl __dt__6CTokenFv -lbl_800F9348: -/* 800F9348 000F62A8 34 1E 19 88 */ addic. r0, r30, 0x1988 -/* 800F934C 000F62AC 41 82 00 10 */ beq lbl_800F935C -/* 800F9350 000F62B0 38 7E 19 88 */ addi r3, r30, 0x1988 -/* 800F9354 000F62B4 38 80 00 00 */ li r4, 0 -/* 800F9358 000F62B8 48 24 7A E9 */ bl __dt__6CTokenFv -lbl_800F935C: -/* 800F935C 000F62BC 34 1E 19 80 */ addic. r0, r30, 0x1980 -/* 800F9360 000F62C0 41 82 00 10 */ beq lbl_800F9370 -/* 800F9364 000F62C4 38 7E 19 80 */ addi r3, r30, 0x1980 -/* 800F9368 000F62C8 38 80 00 00 */ li r4, 0 -/* 800F936C 000F62CC 48 24 7A D5 */ bl __dt__6CTokenFv -lbl_800F9370: -/* 800F9370 000F62D0 34 1E 19 78 */ addic. r0, r30, 0x1978 -/* 800F9374 000F62D4 41 82 00 10 */ beq lbl_800F9384 -/* 800F9378 000F62D8 38 7E 19 78 */ addi r3, r30, 0x1978 -/* 800F937C 000F62DC 38 80 00 00 */ li r4, 0 -/* 800F9380 000F62E0 48 24 7A C1 */ bl __dt__6CTokenFv -lbl_800F9384: -/* 800F9384 000F62E4 34 1E 19 70 */ addic. r0, r30, 0x1970 -/* 800F9388 000F62E8 41 82 00 10 */ beq lbl_800F9398 -/* 800F938C 000F62EC 38 7E 19 70 */ addi r3, r30, 0x1970 -/* 800F9390 000F62F0 38 80 00 00 */ li r4, 0 -/* 800F9394 000F62F4 48 24 7A AD */ bl __dt__6CTokenFv -lbl_800F9398: -/* 800F9398 000F62F8 34 1E 19 68 */ addic. r0, r30, 0x1968 -/* 800F939C 000F62FC 41 82 00 10 */ beq lbl_800F93AC -/* 800F93A0 000F6300 38 7E 19 68 */ addi r3, r30, 0x1968 -/* 800F93A4 000F6304 38 80 00 00 */ li r4, 0 -/* 800F93A8 000F6308 48 24 7A 99 */ bl __dt__6CTokenFv -lbl_800F93AC: -/* 800F93AC 000F630C 34 1E 19 58 */ addic. r0, r30, 0x1958 -/* 800F93B0 000F6310 41 82 00 50 */ beq lbl_800F9400 -/* 800F93B4 000F6314 80 1E 19 5C */ lwz r0, 0x195c(r30) -/* 800F93B8 000F6318 83 9E 19 64 */ lwz r28, 0x1964(r30) -/* 800F93BC 000F631C 54 00 18 38 */ slwi r0, r0, 3 -/* 800F93C0 000F6320 7F BC 02 14 */ add r29, r28, r0 -/* 800F93C4 000F6324 93 81 00 0C */ stw r28, 0xc(r1) -/* 800F93C8 000F6328 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800F93CC 000F632C 93 A1 00 10 */ stw r29, 0x10(r1) -/* 800F93D0 000F6330 93 81 00 08 */ stw r28, 8(r1) -/* 800F93D4 000F6334 48 00 00 14 */ b lbl_800F93E8 -lbl_800F93D8: -/* 800F93D8 000F6338 7F 83 E3 78 */ mr r3, r28 -/* 800F93DC 000F633C 38 80 FF FF */ li r4, -1 -/* 800F93E0 000F6340 48 24 7A 61 */ bl __dt__6CTokenFv -/* 800F93E4 000F6344 3B 9C 00 08 */ addi r28, r28, 8 -lbl_800F93E8: -/* 800F93E8 000F6348 7C 1C E8 40 */ cmplw r28, r29 -/* 800F93EC 000F634C 40 82 FF EC */ bne lbl_800F93D8 -/* 800F93F0 000F6350 80 7E 19 64 */ lwz r3, 0x1964(r30) -/* 800F93F4 000F6354 28 03 00 00 */ cmplwi r3, 0 -/* 800F93F8 000F6358 41 82 00 08 */ beq lbl_800F9400 -/* 800F93FC 000F635C 48 21 C5 35 */ bl Free__7CMemoryFPCv -lbl_800F9400: -/* 800F9400 000F6360 34 1E 0C 78 */ addic. r0, r30, 0xc78 -/* 800F9404 000F6364 41 82 00 60 */ beq lbl_800F9464 -/* 800F9408 000F6368 34 1E 0C 78 */ addic. r0, r30, 0xc78 -/* 800F940C 000F636C 41 82 00 58 */ beq lbl_800F9464 -/* 800F9410 000F6370 80 BE 0C 78 */ lwz r5, 0xc78(r30) -/* 800F9414 000F6374 38 60 00 00 */ li r3, 0 -/* 800F9418 000F6378 2C 05 00 00 */ cmpwi r5, 0 -/* 800F941C 000F637C 40 81 00 40 */ ble lbl_800F945C -/* 800F9420 000F6380 2C 05 00 08 */ cmpwi r5, 8 -/* 800F9424 000F6384 38 85 FF F8 */ addi r4, r5, -8 -/* 800F9428 000F6388 40 81 00 20 */ ble lbl_800F9448 -/* 800F942C 000F638C 38 04 00 07 */ addi r0, r4, 7 -/* 800F9430 000F6390 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F9434 000F6394 7C 09 03 A6 */ mtctr r0 -/* 800F9438 000F6398 2C 04 00 00 */ cmpwi r4, 0 -/* 800F943C 000F639C 40 81 00 0C */ ble lbl_800F9448 -lbl_800F9440: -/* 800F9440 000F63A0 38 63 00 08 */ addi r3, r3, 8 -/* 800F9444 000F63A4 42 00 FF FC */ bdnz lbl_800F9440 -lbl_800F9448: -/* 800F9448 000F63A8 7C 03 28 50 */ subf r0, r3, r5 -/* 800F944C 000F63AC 7C 09 03 A6 */ mtctr r0 -/* 800F9450 000F63B0 7C 03 28 00 */ cmpw r3, r5 -/* 800F9454 000F63B4 40 80 00 08 */ bge lbl_800F945C -lbl_800F9458: -/* 800F9458 000F63B8 42 00 00 00 */ bdnz lbl_800F9458 -lbl_800F945C: -/* 800F945C 000F63BC 38 00 00 00 */ li r0, 0 -/* 800F9460 000F63C0 90 1E 0C 78 */ stw r0, 0xc78(r30) -lbl_800F9464: -/* 800F9464 000F63C4 34 1E 00 74 */ addic. r0, r30, 0x74 -/* 800F9468 000F63C8 41 82 00 60 */ beq lbl_800F94C8 -/* 800F946C 000F63CC 34 1E 00 74 */ addic. r0, r30, 0x74 -/* 800F9470 000F63D0 41 82 00 58 */ beq lbl_800F94C8 -/* 800F9474 000F63D4 80 BE 00 74 */ lwz r5, 0x74(r30) -/* 800F9478 000F63D8 38 60 00 00 */ li r3, 0 -/* 800F947C 000F63DC 2C 05 00 00 */ cmpwi r5, 0 -/* 800F9480 000F63E0 40 81 00 40 */ ble lbl_800F94C0 -/* 800F9484 000F63E4 2C 05 00 08 */ cmpwi r5, 8 -/* 800F9488 000F63E8 38 85 FF F8 */ addi r4, r5, -8 -/* 800F948C 000F63EC 40 81 00 20 */ ble lbl_800F94AC -/* 800F9490 000F63F0 38 04 00 07 */ addi r0, r4, 7 -/* 800F9494 000F63F4 54 00 E8 FE */ srwi r0, r0, 3 -/* 800F9498 000F63F8 7C 09 03 A6 */ mtctr r0 -/* 800F949C 000F63FC 2C 04 00 00 */ cmpwi r4, 0 -/* 800F94A0 000F6400 40 81 00 0C */ ble lbl_800F94AC -lbl_800F94A4: -/* 800F94A4 000F6404 38 63 00 08 */ addi r3, r3, 8 -/* 800F94A8 000F6408 42 00 FF FC */ bdnz lbl_800F94A4 -lbl_800F94AC: -/* 800F94AC 000F640C 7C 03 28 50 */ subf r0, r3, r5 -/* 800F94B0 000F6410 7C 09 03 A6 */ mtctr r0 -/* 800F94B4 000F6414 7C 03 28 00 */ cmpw r3, r5 -/* 800F94B8 000F6418 40 80 00 08 */ bge lbl_800F94C0 -lbl_800F94BC: -/* 800F94BC 000F641C 42 00 00 00 */ bdnz lbl_800F94BC -lbl_800F94C0: -/* 800F94C0 000F6420 38 00 00 00 */ li r0, 0 -/* 800F94C4 000F6424 90 1E 00 74 */ stw r0, 0x74(r30) -lbl_800F94C8: -/* 800F94C8 000F6428 34 1E 00 70 */ addic. r0, r30, 0x70 -/* 800F94CC 000F642C 41 82 00 10 */ beq lbl_800F94DC -/* 800F94D0 000F6430 80 7E 00 70 */ lwz r3, 0x70(r30) -/* 800F94D4 000F6434 38 80 00 01 */ li r4, 1 -/* 800F94D8 000F6438 48 01 D5 75 */ bl __dt__10CModelDataFv -lbl_800F94DC: -/* 800F94DC 000F643C 34 1E 00 68 */ addic. r0, r30, 0x68 -/* 800F94E0 000F6440 41 82 00 10 */ beq lbl_800F94F0 -/* 800F94E4 000F6444 80 7E 00 68 */ lwz r3, 0x68(r30) -/* 800F94E8 000F6448 38 80 00 01 */ li r4, 1 -/* 800F94EC 000F644C 48 01 D5 61 */ bl __dt__10CModelDataFv -lbl_800F94F0: -/* 800F94F0 000F6450 34 1E 00 60 */ addic. r0, r30, 0x60 -/* 800F94F4 000F6454 41 82 00 10 */ beq lbl_800F9504 -/* 800F94F8 000F6458 80 7E 00 60 */ lwz r3, 0x60(r30) -/* 800F94FC 000F645C 38 80 00 01 */ li r4, 1 -/* 800F9500 000F6460 48 01 D5 4D */ bl __dt__10CModelDataFv -lbl_800F9504: -/* 800F9504 000F6464 34 1E 00 58 */ addic. r0, r30, 0x58 -/* 800F9508 000F6468 41 82 00 10 */ beq lbl_800F9518 -/* 800F950C 000F646C 80 7E 00 58 */ lwz r3, 0x58(r30) -/* 800F9510 000F6470 38 80 00 01 */ li r4, 1 -/* 800F9514 000F6474 48 01 D5 39 */ bl __dt__10CModelDataFv -lbl_800F9518: -/* 800F9518 000F6478 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 800F951C 000F647C 41 82 00 24 */ beq lbl_800F9540 -/* 800F9520 000F6480 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 800F9524 000F6484 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 800F9528 000F6488 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 800F952C 000F648C 90 1E 00 38 */ stw r0, 0x38(r30) -/* 800F9530 000F6490 41 82 00 10 */ beq lbl_800F9540 -/* 800F9534 000F6494 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 800F9538 000F6498 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 800F953C 000F649C 90 1E 00 38 */ stw r0, 0x38(r30) -lbl_800F9540: -/* 800F9540 000F64A0 7F E0 07 35 */ extsh. r0, r31 -/* 800F9544 000F64A4 40 81 00 0C */ ble lbl_800F9550 -/* 800F9548 000F64A8 7F C3 F3 78 */ mr r3, r30 -/* 800F954C 000F64AC 48 00 0E C1 */ bl sub_800fa40c -lbl_800F9550: -/* 800F9550 000F64B0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800F9554 000F64B4 7F C3 F3 78 */ mr r3, r30 -/* 800F9558 000F64B8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800F955C 000F64BC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800F9560 000F64C0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800F9564 000F64C4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 800F9568 000F64C8 7C 08 03 A6 */ mtlr r0 -/* 800F956C 000F64CC 38 21 00 30 */ addi r1, r1, 0x30 -/* 800F9570 000F64D0 4E 80 00 20 */ blr - -.global __ct__10CMorphBallFR7CPlayerf -__ct__10CMorphBallFR7CPlayerf: -/* 800F9574 000F64D4 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 800F9578 000F64D8 7C 08 02 A6 */ mflr r0 -/* 800F957C 000F64DC 90 01 01 64 */ stw r0, 0x164(r1) -/* 800F9580 000F64E0 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 800F9584 000F64E4 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 800F9588 000F64E8 BF 41 01 38 */ stmw r26, 0x138(r1) -/* 800F958C 000F64EC 7C 7F 1B 78 */ mr r31, r3 -/* 800F9590 000F64F0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800F9594 000F64F4 90 9F 00 00 */ stw r4, 0(r31) -/* 800F9598 000F64F8 38 80 FF FF */ li r4, -1 -/* 800F959C 000F64FC 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 800F95A0 000F6500 FF E0 08 90 */ fmr f31, f1 -/* 800F95A4 000F6504 90 9F 00 04 */ stw r4, 4(r31) -/* 800F95A8 000F6508 38 00 00 00 */ li r0, 0 -/* 800F95AC 000F650C C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F95B0 000F6510 38 60 00 00 */ li r3, 0 -/* 800F95B4 000F6514 90 1F 00 08 */ stw r0, 8(r31) -/* 800F95B8 000F6518 38 80 00 01 */ li r4, 1 -/* 800F95BC 000F651C D3 FF 00 0C */ stfs f31, 0xc(r31) -/* 800F95C0 000F6520 C0 3E 00 00 */ lfs f1, 0(r30) -/* 800F95C4 000F6524 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 800F95C8 000F6528 C0 3E 00 04 */ lfs f1, 4(r30) -/* 800F95CC 000F652C D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 800F95D0 000F6530 C0 3E 00 08 */ lfs f1, 8(r30) -/* 800F95D4 000F6534 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 800F95D8 000F6538 C0 3E 00 00 */ lfs f1, 0(r30) -/* 800F95DC 000F653C D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 800F95E0 000F6540 C0 3E 00 04 */ lfs f1, 4(r30) -/* 800F95E4 000F6544 D0 3F 00 20 */ stfs f1, 0x20(r31) -/* 800F95E8 000F6548 C0 3E 00 08 */ lfs f1, 8(r30) -/* 800F95EC 000F654C D0 3F 00 24 */ stfs f1, 0x24(r31) -/* 800F95F0 000F6550 98 1F 00 28 */ stb r0, 0x28(r31) -/* 800F95F4 000F6554 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 800F95F8 000F6558 D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 800F95FC 000F655C 80 AD 88 34 */ lwz r5, lbl_805A73F4@sda21(r13) -/* 800F9600 000F6560 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 800F9604 000F6564 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 800F9608 000F6568 48 29 08 ED */ bl __shl2i -/* 800F960C 000F656C 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 800F9610 000F6570 80 C1 00 B4 */ lwz r6, 0xb4(r1) -/* 800F9614 000F6574 7C 00 1B 78 */ or r0, r0, r3 -/* 800F9618 000F6578 80 AD 88 38 */ lwz r5, lbl_805A73F8@sda21(r13) -/* 800F961C 000F657C 7C C4 23 78 */ or r4, r6, r4 -/* 800F9620 000F6580 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 800F9624 000F6584 38 60 00 00 */ li r3, 0 -/* 800F9628 000F6588 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 800F962C 000F658C 38 80 00 01 */ li r4, 1 -/* 800F9630 000F6590 48 29 08 C5 */ bl __shl2i -/* 800F9634 000F6594 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 800F9638 000F6598 80 C1 00 B4 */ lwz r6, 0xb4(r1) -/* 800F963C 000F659C 7C 00 1B 78 */ or r0, r0, r3 -/* 800F9640 000F65A0 80 AD 88 3C */ lwz r5, lbl_805A73FC@sda21(r13) -/* 800F9644 000F65A4 7C C4 23 78 */ or r4, r6, r4 -/* 800F9648 000F65A8 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 800F964C 000F65AC 38 60 00 00 */ li r3, 0 -/* 800F9650 000F65B0 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 800F9654 000F65B4 38 80 00 01 */ li r4, 1 -/* 800F9658 000F65B8 48 29 08 9D */ bl __shl2i -/* 800F965C 000F65BC 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 800F9660 000F65C0 3B 5F 00 38 */ addi r26, r31, 0x38 -/* 800F9664 000F65C4 80 A1 00 B4 */ lwz r5, 0xb4(r1) -/* 800F9668 000F65C8 7C 00 1B 78 */ or r0, r0, r3 -/* 800F966C 000F65CC 7F 43 D3 78 */ mr r3, r26 -/* 800F9670 000F65D0 7C A5 23 78 */ or r5, r5, r4 -/* 800F9674 000F65D4 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 800F9678 000F65D8 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 800F967C 000F65DC 90 A1 00 B4 */ stw r5, 0xb4(r1) -/* 800F9680 000F65E0 48 1D 62 35 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 800F9684 000F65E4 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 800F9688 000F65E8 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F968C 000F65EC 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 800F9690 000F65F0 80 8D A3 2C */ lwz r4, lbl_805A8EEC@sda21(r13) -/* 800F9694 000F65F4 90 1A 00 00 */ stw r0, 0(r26) -/* 800F9698 000F65F8 38 61 01 1C */ addi r3, r1, 0x11c -/* 800F969C 000F65FC D0 1A 00 10 */ stfs f0, 0x10(r26) -/* 800F96A0 000F6600 D0 1A 00 14 */ stfs f0, 0x14(r26) -/* 800F96A4 000F6604 D3 FA 00 18 */ stfs f31, 0x18(r26) -/* 800F96A8 000F6608 D3 FA 00 1C */ stfs f31, 0x1c(r26) -/* 800F96AC 000F660C 4B F0 B6 0D */ bl string_l__4rstlFPCc -/* 800F96B0 000F6610 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 800F96B4 000F6614 38 61 01 1C */ addi r3, r1, 0x11c -/* 800F96B8 000F6618 4B FF 5F 5D */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 800F96BC 000F661C 90 7F 00 58 */ stw r3, 0x58(r31) -/* 800F96C0 000F6620 38 61 01 1C */ addi r3, r1, 0x11c -/* 800F96C4 000F6624 48 24 44 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800F96C8 000F6628 38 00 00 00 */ li r0, 0 -/* 800F96CC 000F662C 80 8D A3 34 */ lwz r4, lbl_805A8EF4@sda21(r13) -/* 800F96D0 000F6630 90 1F 00 5C */ stw r0, 0x5c(r31) -/* 800F96D4 000F6634 38 61 01 0C */ addi r3, r1, 0x10c -/* 800F96D8 000F6638 4B F0 B5 E1 */ bl string_l__4rstlFPCc -/* 800F96DC 000F663C C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 800F96E0 000F6640 38 61 01 0C */ addi r3, r1, 0x10c -/* 800F96E4 000F6644 4B FF 5F 31 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 800F96E8 000F6648 90 7F 00 60 */ stw r3, 0x60(r31) -/* 800F96EC 000F664C 38 61 01 0C */ addi r3, r1, 0x10c -/* 800F96F0 000F6650 48 24 43 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800F96F4 000F6654 38 00 00 00 */ li r0, 0 -/* 800F96F8 000F6658 80 8D A3 30 */ lwz r4, lbl_805A8EF0@sda21(r13) -/* 800F96FC 000F665C 90 1F 00 64 */ stw r0, 0x64(r31) -/* 800F9700 000F6660 38 61 00 FC */ addi r3, r1, 0xfc -/* 800F9704 000F6664 4B F0 B5 B5 */ bl string_l__4rstlFPCc -/* 800F9708 000F6668 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 800F970C 000F666C 38 61 00 FC */ addi r3, r1, 0xfc -/* 800F9710 000F6670 4B FF 5F 05 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 800F9714 000F6674 90 7F 00 68 */ stw r3, 0x68(r31) -/* 800F9718 000F6678 38 61 00 FC */ addi r3, r1, 0xfc -/* 800F971C 000F667C 48 24 43 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800F9720 000F6680 38 00 00 00 */ li r0, 0 -/* 800F9724 000F6684 80 8D A3 38 */ lwz r4, lbl_805A8EF8@sda21(r13) -/* 800F9728 000F6688 90 1F 00 6C */ stw r0, 0x6c(r31) -/* 800F972C 000F668C 38 61 00 EC */ addi r3, r1, 0xec -/* 800F9730 000F6690 4B F0 B5 89 */ bl string_l__4rstlFPCc -/* 800F9734 000F6694 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 800F9738 000F6698 38 61 00 EC */ addi r3, r1, 0xec -/* 800F973C 000F669C 4B FF 5E D9 */ bl "GetMorphBallModel__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>f" -/* 800F9740 000F66A0 90 7F 00 70 */ stw r3, 0x70(r31) -/* 800F9744 000F66A4 38 61 00 EC */ addi r3, r1, 0xec -/* 800F9748 000F66A8 48 24 43 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800F974C 000F66AC 38 C0 00 00 */ li r6, 0 -/* 800F9750 000F66B0 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800F9754 000F66B4 90 DF 00 74 */ stw r6, 0x74(r31) -/* 800F9758 000F66B8 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800F975C 000F66BC 3C A0 80 5A */ lis r5, skZero3f@ha -/* 800F9760 000F66C0 C0 22 91 5C */ lfs f1, lbl_805AAE7C@sda21(r2) -/* 800F9764 000F66C4 90 DF 0C 78 */ stw r6, 0xc78(r31) -/* 800F9768 000F66C8 38 00 00 01 */ li r0, 1 -/* 800F976C 000F66CC C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F9770 000F66D0 38 7F 18 C4 */ addi r3, r31, 0x18c4 -/* 800F9774 000F66D4 90 DF 18 7C */ stw r6, 0x187c(r31) -/* 800F9778 000F66D8 C4 45 66 A0 */ lfsu f2, skZero3f@l(r5) -/* 800F977C 000F66DC D0 5F 18 80 */ stfs f2, 0x1880(r31) -/* 800F9780 000F66E0 C0 5E 00 04 */ lfs f2, 4(r30) -/* 800F9784 000F66E4 D0 5F 18 84 */ stfs f2, 0x1884(r31) -/* 800F9788 000F66E8 C0 5E 00 08 */ lfs f2, 8(r30) -/* 800F978C 000F66EC D0 5F 18 88 */ stfs f2, 0x1888(r31) -/* 800F9790 000F66F0 D0 3F 18 8C */ stfs f1, 0x188c(r31) -/* 800F9794 000F66F4 C0 25 00 00 */ lfs f1, 0(r5) -/* 800F9798 000F66F8 D0 3F 18 90 */ stfs f1, 0x1890(r31) -/* 800F979C 000F66FC C0 3E 00 04 */ lfs f1, 4(r30) -/* 800F97A0 000F6700 D0 3F 18 94 */ stfs f1, 0x1894(r31) -/* 800F97A4 000F6704 C0 3E 00 08 */ lfs f1, 8(r30) -/* 800F97A8 000F6708 D0 3F 18 98 */ stfs f1, 0x1898(r31) -/* 800F97AC 000F670C C0 25 00 00 */ lfs f1, 0(r5) -/* 800F97B0 000F6710 D0 3F 18 9C */ stfs f1, 0x189c(r31) -/* 800F97B4 000F6714 C0 3E 00 04 */ lfs f1, 4(r30) -/* 800F97B8 000F6718 D0 3F 18 A0 */ stfs f1, 0x18a0(r31) -/* 800F97BC 000F671C C0 3E 00 08 */ lfs f1, 8(r30) -/* 800F97C0 000F6720 D0 3F 18 A4 */ stfs f1, 0x18a4(r31) -/* 800F97C4 000F6724 C0 25 00 00 */ lfs f1, 0(r5) -/* 800F97C8 000F6728 D0 3F 18 A8 */ stfs f1, 0x18a8(r31) -/* 800F97CC 000F672C C0 3E 00 04 */ lfs f1, 4(r30) -/* 800F97D0 000F6730 D0 3F 18 AC */ stfs f1, 0x18ac(r31) -/* 800F97D4 000F6734 C0 3E 00 08 */ lfs f1, 8(r30) -/* 800F97D8 000F6738 D0 3F 18 B0 */ stfs f1, 0x18b0(r31) -/* 800F97DC 000F673C D0 1F 18 B4 */ stfs f0, 0x18b4(r31) -/* 800F97E0 000F6740 D0 1F 18 B8 */ stfs f0, 0x18b8(r31) -/* 800F97E4 000F6744 98 DF 18 BC */ stb r6, 0x18bc(r31) -/* 800F97E8 000F6748 98 DF 18 BD */ stb r6, 0x18bd(r31) -/* 800F97EC 000F674C 98 DF 18 BE */ stb r6, 0x18be(r31) -/* 800F97F0 000F6750 98 1F 18 BF */ stb r0, 0x18bf(r31) -/* 800F97F4 000F6754 98 DF 18 C0 */ stb r6, 0x18c0(r31) -/* 800F97F8 000F6758 48 21 93 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F97FC 000F675C C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800F9800 000F6760 38 7F 19 0C */ addi r3, r31, 0x190c -/* 800F9804 000F6764 D0 3F 18 F4 */ stfs f1, 0x18f4(r31) -/* 800F9808 000F6768 FC 40 08 90 */ fmr f2, f1 -/* 800F980C 000F676C D0 3F 18 F8 */ stfs f1, 0x18f8(r31) -/* 800F9810 000F6770 D0 3F 18 FC */ stfs f1, 0x18fc(r31) -/* 800F9814 000F6774 D0 3F 19 00 */ stfs f1, 0x1900(r31) -/* 800F9818 000F6778 D0 3F 19 04 */ stfs f1, 0x1904(r31) -/* 800F981C 000F677C D0 3F 19 08 */ stfs f1, 0x1908(r31) -/* 800F9820 000F6780 48 21 A9 E1 */ bl __ct__9CVector2fFff -/* 800F9824 000F6784 C0 02 91 50 */ lfs f0, lbl_805AAE70@sda21(r2) -/* 800F9828 000F6788 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800F982C 000F678C 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800F9830 000F6790 38 00 00 00 */ li r0, 0 -/* 800F9834 000F6794 D0 1F 19 14 */ stfs f0, 0x1914(r31) -/* 800F9838 000F6798 38 7F 19 24 */ addi r3, r31, 0x1924 -/* 800F983C 000F679C D0 1F 19 18 */ stfs f0, 0x1918(r31) -/* 800F9840 000F67A0 D0 1F 19 1C */ stfs f0, 0x191c(r31) -/* 800F9844 000F67A4 98 1F 19 20 */ stb r0, 0x1920(r31) -/* 800F9848 000F67A8 48 21 93 2D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800F984C 000F67AC 38 00 00 00 */ li r0, 0 -/* 800F9850 000F67B0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9854 000F67B4 98 1F 19 54 */ stb r0, 0x1954(r31) -/* 800F9858 000F67B8 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F985C 000F67BC 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 800F9860 000F67C0 90 1F 19 5C */ stw r0, 0x195c(r31) -/* 800F9864 000F67C4 38 A4 01 52 */ addi r5, r4, 0x152 -/* 800F9868 000F67C8 90 1F 19 60 */ stw r0, 0x1960(r31) -/* 800F986C 000F67CC 90 1F 19 64 */ stw r0, 0x1964(r31) -/* 800F9870 000F67D0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F9874 000F67D4 81 84 00 00 */ lwz r12, 0(r4) -/* 800F9878 000F67D8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F987C 000F67DC 7D 89 03 A6 */ mtctr r12 -/* 800F9880 000F67E0 4E 80 04 21 */ bctrl -/* 800F9884 000F67E4 38 7F 19 68 */ addi r3, r31, 0x1968 -/* 800F9888 000F67E8 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 800F988C 000F67EC 48 24 76 1D */ bl __ct__6CTokenFRC6CToken -/* 800F9890 000F67F0 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 800F9894 000F67F4 38 80 FF FF */ li r4, -1 -/* 800F9898 000F67F8 48 24 75 A9 */ bl __dt__6CTokenFv -/* 800F989C 000F67FC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F98A0 000F6800 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F98A4 000F6804 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800F98A8 000F6808 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800F98AC 000F680C 81 84 00 00 */ lwz r12, 0(r4) -/* 800F98B0 000F6810 38 A5 01 65 */ addi r5, r5, 0x165 -/* 800F98B4 000F6814 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F98B8 000F6818 7D 89 03 A6 */ mtctr r12 -/* 800F98BC 000F681C 4E 80 04 21 */ bctrl -/* 800F98C0 000F6820 38 7F 19 70 */ addi r3, r31, 0x1970 -/* 800F98C4 000F6824 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 800F98C8 000F6828 48 24 75 E1 */ bl __ct__6CTokenFRC6CToken -/* 800F98CC 000F682C 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 800F98D0 000F6830 38 80 FF FF */ li r4, -1 -/* 800F98D4 000F6834 48 24 75 6D */ bl __dt__6CTokenFv -/* 800F98D8 000F6838 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F98DC 000F683C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F98E0 000F6840 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800F98E4 000F6844 38 61 00 98 */ addi r3, r1, 0x98 -/* 800F98E8 000F6848 81 84 00 00 */ lwz r12, 0(r4) -/* 800F98EC 000F684C 38 A5 01 79 */ addi r5, r5, 0x179 -/* 800F98F0 000F6850 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F98F4 000F6854 7D 89 03 A6 */ mtctr r12 -/* 800F98F8 000F6858 4E 80 04 21 */ bctrl -/* 800F98FC 000F685C 38 7F 19 78 */ addi r3, r31, 0x1978 -/* 800F9900 000F6860 38 81 00 98 */ addi r4, r1, 0x98 -/* 800F9904 000F6864 48 24 75 A5 */ bl __ct__6CTokenFRC6CToken -/* 800F9908 000F6868 38 61 00 98 */ addi r3, r1, 0x98 -/* 800F990C 000F686C 38 80 FF FF */ li r4, -1 -/* 800F9910 000F6870 48 24 75 31 */ bl __dt__6CTokenFv -/* 800F9914 000F6874 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F9918 000F6878 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F991C 000F687C 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800F9920 000F6880 38 61 00 90 */ addi r3, r1, 0x90 -/* 800F9924 000F6884 81 84 00 00 */ lwz r12, 0(r4) -/* 800F9928 000F6888 38 A5 01 84 */ addi r5, r5, 0x184 -/* 800F992C 000F688C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F9930 000F6890 7D 89 03 A6 */ mtctr r12 -/* 800F9934 000F6894 4E 80 04 21 */ bctrl -/* 800F9938 000F6898 38 7F 19 80 */ addi r3, r31, 0x1980 -/* 800F993C 000F689C 38 81 00 90 */ addi r4, r1, 0x90 -/* 800F9940 000F68A0 48 24 75 69 */ bl __ct__6CTokenFRC6CToken -/* 800F9944 000F68A4 38 61 00 90 */ addi r3, r1, 0x90 -/* 800F9948 000F68A8 38 80 FF FF */ li r4, -1 -/* 800F994C 000F68AC 48 24 74 F5 */ bl __dt__6CTokenFv -/* 800F9950 000F68B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F9954 000F68B4 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9958 000F68B8 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800F995C 000F68BC 38 61 00 88 */ addi r3, r1, 0x88 -/* 800F9960 000F68C0 81 84 00 00 */ lwz r12, 0(r4) -/* 800F9964 000F68C4 38 A5 01 8E */ addi r5, r5, 0x18e -/* 800F9968 000F68C8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F996C 000F68CC 7D 89 03 A6 */ mtctr r12 -/* 800F9970 000F68D0 4E 80 04 21 */ bctrl -/* 800F9974 000F68D4 38 7F 19 88 */ addi r3, r31, 0x1988 -/* 800F9978 000F68D8 38 81 00 88 */ addi r4, r1, 0x88 -/* 800F997C 000F68DC 48 24 75 2D */ bl __ct__6CTokenFRC6CToken -/* 800F9980 000F68E0 38 61 00 88 */ addi r3, r1, 0x88 -/* 800F9984 000F68E4 38 80 FF FF */ li r4, -1 -/* 800F9988 000F68E8 48 24 74 B9 */ bl __dt__6CTokenFv -/* 800F998C 000F68EC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F9990 000F68F0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9994 000F68F4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800F9998 000F68F8 38 61 00 80 */ addi r3, r1, 0x80 -/* 800F999C 000F68FC 81 84 00 00 */ lwz r12, 0(r4) -/* 800F99A0 000F6900 38 A5 01 9C */ addi r5, r5, 0x19c -/* 800F99A4 000F6904 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F99A8 000F6908 7D 89 03 A6 */ mtctr r12 -/* 800F99AC 000F690C 4E 80 04 21 */ bctrl -/* 800F99B0 000F6910 38 7F 19 90 */ addi r3, r31, 0x1990 -/* 800F99B4 000F6914 38 81 00 80 */ addi r4, r1, 0x80 -/* 800F99B8 000F6918 48 24 74 F1 */ bl __ct__6CTokenFRC6CToken -/* 800F99BC 000F691C 38 61 00 80 */ addi r3, r1, 0x80 -/* 800F99C0 000F6920 38 80 FF FF */ li r4, -1 -/* 800F99C4 000F6924 48 24 74 7D */ bl __dt__6CTokenFv -/* 800F99C8 000F6928 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F99CC 000F692C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F99D0 000F6930 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800F99D4 000F6934 38 61 00 78 */ addi r3, r1, 0x78 -/* 800F99D8 000F6938 81 84 00 00 */ lwz r12, 0(r4) -/* 800F99DC 000F693C 38 A5 01 B3 */ addi r5, r5, 0x1b3 -/* 800F99E0 000F6940 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F99E4 000F6944 7D 89 03 A6 */ mtctr r12 -/* 800F99E8 000F6948 4E 80 04 21 */ bctrl -/* 800F99EC 000F694C 38 7F 19 98 */ addi r3, r31, 0x1998 -/* 800F99F0 000F6950 38 81 00 78 */ addi r4, r1, 0x78 -/* 800F99F4 000F6954 48 24 74 B5 */ bl __ct__6CTokenFRC6CToken -/* 800F99F8 000F6958 38 61 00 78 */ addi r3, r1, 0x78 -/* 800F99FC 000F695C 38 80 FF FF */ li r4, -1 -/* 800F9A00 000F6960 48 24 74 41 */ bl __dt__6CTokenFv -/* 800F9A04 000F6964 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F9A08 000F6968 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9A0C 000F696C 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800F9A10 000F6970 38 61 00 70 */ addi r3, r1, 0x70 -/* 800F9A14 000F6974 81 84 00 00 */ lwz r12, 0(r4) -/* 800F9A18 000F6978 38 A5 01 C1 */ addi r5, r5, 0x1c1 -/* 800F9A1C 000F697C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F9A20 000F6980 7D 89 03 A6 */ mtctr r12 -/* 800F9A24 000F6984 4E 80 04 21 */ bctrl -/* 800F9A28 000F6988 38 7F 19 A0 */ addi r3, r31, 0x19a0 -/* 800F9A2C 000F698C 38 81 00 70 */ addi r4, r1, 0x70 -/* 800F9A30 000F6990 48 24 74 79 */ bl __ct__6CTokenFRC6CToken -/* 800F9A34 000F6994 38 61 00 70 */ addi r3, r1, 0x70 -/* 800F9A38 000F6998 38 80 FF FF */ li r4, -1 -/* 800F9A3C 000F699C 48 24 74 05 */ bl __dt__6CTokenFv -/* 800F9A40 000F69A0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F9A44 000F69A4 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9A48 000F69A8 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800F9A4C 000F69AC 38 61 00 68 */ addi r3, r1, 0x68 -/* 800F9A50 000F69B0 81 84 00 00 */ lwz r12, 0(r4) -/* 800F9A54 000F69B4 38 A5 01 D0 */ addi r5, r5, 0x1d0 -/* 800F9A58 000F69B8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F9A5C 000F69BC 7D 89 03 A6 */ mtctr r12 -/* 800F9A60 000F69C0 4E 80 04 21 */ bctrl -/* 800F9A64 000F69C4 38 7F 19 A8 */ addi r3, r31, 0x19a8 -/* 800F9A68 000F69C8 38 81 00 68 */ addi r4, r1, 0x68 -/* 800F9A6C 000F69CC 48 24 74 3D */ bl __ct__6CTokenFRC6CToken -/* 800F9A70 000F69D0 38 61 00 68 */ addi r3, r1, 0x68 -/* 800F9A74 000F69D4 38 80 FF FF */ li r4, -1 -/* 800F9A78 000F69D8 48 24 73 C9 */ bl __dt__6CTokenFv -/* 800F9A7C 000F69DC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800F9A80 000F69E0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9A84 000F69E4 38 A3 EB F4 */ addi r5, r3, lbl_803CEBF4@l -/* 800F9A88 000F69E8 38 61 00 60 */ addi r3, r1, 0x60 -/* 800F9A8C 000F69EC 81 84 00 00 */ lwz r12, 0(r4) -/* 800F9A90 000F69F0 38 A5 01 E9 */ addi r5, r5, 0x1e9 -/* 800F9A94 000F69F4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 800F9A98 000F69F8 7D 89 03 A6 */ mtctr r12 -/* 800F9A9C 000F69FC 4E 80 04 21 */ bctrl -/* 800F9AA0 000F6A00 38 7F 19 B0 */ addi r3, r31, 0x19b0 -/* 800F9AA4 000F6A04 38 81 00 60 */ addi r4, r1, 0x60 -/* 800F9AA8 000F6A08 48 24 74 01 */ bl __ct__6CTokenFRC6CToken -/* 800F9AAC 000F6A0C 38 61 00 60 */ addi r3, r1, 0x60 -/* 800F9AB0 000F6A10 38 80 FF FF */ li r4, -1 -/* 800F9AB4 000F6A14 48 24 73 8D */ bl __dt__6CTokenFv -/* 800F9AB8 000F6A18 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9ABC 000F6A1C 3B 40 00 00 */ li r26, 0 -/* 800F9AC0 000F6A20 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9AC4 000F6A24 38 60 02 10 */ li r3, 0x210 -/* 800F9AC8 000F6A28 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9ACC 000F6A2C 38 A0 00 00 */ li r5, 0 -/* 800F9AD0 000F6A30 48 21 BD 9D */ bl __nw__FUlPCcPCc -/* 800F9AD4 000F6A34 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800F9AD8 000F6A38 41 82 00 28 */ beq lbl_800F9B00 -/* 800F9ADC 000F6A3C 38 61 00 58 */ addi r3, r1, 0x58 -/* 800F9AE0 000F6A40 38 9F 19 68 */ addi r4, r31, 0x1968 -/* 800F9AE4 000F6A44 48 24 73 C5 */ bl __ct__6CTokenFRC6CToken -/* 800F9AE8 000F6A48 7F 63 DB 78 */ mr r3, r27 -/* 800F9AEC 000F6A4C 38 81 00 58 */ addi r4, r1, 0x58 -/* 800F9AF0 000F6A50 3B 40 00 01 */ li r26, 1 -/* 800F9AF4 000F6A54 38 A0 00 00 */ li r5, 0 -/* 800F9AF8 000F6A58 48 23 52 ED */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 800F9AFC 000F6A5C 7C 7B 1B 78 */ mr r27, r3 -lbl_800F9B00: -/* 800F9B00 000F6A60 7F 40 07 75 */ extsb. r0, r26 -/* 800F9B04 000F6A64 93 7F 19 B8 */ stw r27, 0x19b8(r31) -/* 800F9B08 000F6A68 41 82 00 10 */ beq lbl_800F9B18 -/* 800F9B0C 000F6A6C 38 61 00 58 */ addi r3, r1, 0x58 -/* 800F9B10 000F6A70 38 80 00 00 */ li r4, 0 -/* 800F9B14 000F6A74 48 24 73 2D */ bl __dt__6CTokenFv -lbl_800F9B18: -/* 800F9B18 000F6A78 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9B1C 000F6A7C 3B 40 00 00 */ li r26, 0 -/* 800F9B20 000F6A80 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9B24 000F6A84 38 60 02 10 */ li r3, 0x210 -/* 800F9B28 000F6A88 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9B2C 000F6A8C 38 A0 00 00 */ li r5, 0 -/* 800F9B30 000F6A90 48 21 BD 3D */ bl __nw__FUlPCcPCc -/* 800F9B34 000F6A94 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800F9B38 000F6A98 41 82 00 28 */ beq lbl_800F9B60 -/* 800F9B3C 000F6A9C 38 61 00 50 */ addi r3, r1, 0x50 -/* 800F9B40 000F6AA0 38 9F 19 68 */ addi r4, r31, 0x1968 -/* 800F9B44 000F6AA4 48 24 73 65 */ bl __ct__6CTokenFRC6CToken -/* 800F9B48 000F6AA8 7F 63 DB 78 */ mr r3, r27 -/* 800F9B4C 000F6AAC 38 81 00 50 */ addi r4, r1, 0x50 -/* 800F9B50 000F6AB0 3B 40 00 01 */ li r26, 1 -/* 800F9B54 000F6AB4 38 A0 00 00 */ li r5, 0 -/* 800F9B58 000F6AB8 48 23 52 8D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 800F9B5C 000F6ABC 7C 7B 1B 78 */ mr r27, r3 -lbl_800F9B60: -/* 800F9B60 000F6AC0 7F 40 07 75 */ extsb. r0, r26 -/* 800F9B64 000F6AC4 93 7F 19 BC */ stw r27, 0x19bc(r31) -/* 800F9B68 000F6AC8 41 82 00 10 */ beq lbl_800F9B78 -/* 800F9B6C 000F6ACC 38 61 00 50 */ addi r3, r1, 0x50 -/* 800F9B70 000F6AD0 38 80 00 00 */ li r4, 0 -/* 800F9B74 000F6AD4 48 24 72 CD */ bl __dt__6CTokenFv -lbl_800F9B78: -/* 800F9B78 000F6AD8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9B7C 000F6ADC 3B 40 00 00 */ li r26, 0 -/* 800F9B80 000F6AE0 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9B84 000F6AE4 38 60 02 10 */ li r3, 0x210 -/* 800F9B88 000F6AE8 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9B8C 000F6AEC 38 A0 00 00 */ li r5, 0 -/* 800F9B90 000F6AF0 48 21 BC DD */ bl __nw__FUlPCcPCc -/* 800F9B94 000F6AF4 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800F9B98 000F6AF8 41 82 00 28 */ beq lbl_800F9BC0 -/* 800F9B9C 000F6AFC 38 61 00 48 */ addi r3, r1, 0x48 -/* 800F9BA0 000F6B00 38 9F 19 70 */ addi r4, r31, 0x1970 -/* 800F9BA4 000F6B04 48 24 73 05 */ bl __ct__6CTokenFRC6CToken -/* 800F9BA8 000F6B08 7F 63 DB 78 */ mr r3, r27 -/* 800F9BAC 000F6B0C 38 81 00 48 */ addi r4, r1, 0x48 -/* 800F9BB0 000F6B10 3B 40 00 01 */ li r26, 1 -/* 800F9BB4 000F6B14 38 A0 00 00 */ li r5, 0 -/* 800F9BB8 000F6B18 48 23 52 2D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 800F9BBC 000F6B1C 7C 7B 1B 78 */ mr r27, r3 -lbl_800F9BC0: -/* 800F9BC0 000F6B20 7F 40 07 75 */ extsb. r0, r26 -/* 800F9BC4 000F6B24 93 7F 19 C0 */ stw r27, 0x19c0(r31) -/* 800F9BC8 000F6B28 41 82 00 10 */ beq lbl_800F9BD8 -/* 800F9BCC 000F6B2C 38 61 00 48 */ addi r3, r1, 0x48 -/* 800F9BD0 000F6B30 38 80 00 00 */ li r4, 0 -/* 800F9BD4 000F6B34 48 24 72 6D */ bl __dt__6CTokenFv -lbl_800F9BD8: -/* 800F9BD8 000F6B38 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9BDC 000F6B3C 3B 40 00 00 */ li r26, 0 -/* 800F9BE0 000F6B40 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9BE4 000F6B44 38 60 02 10 */ li r3, 0x210 -/* 800F9BE8 000F6B48 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9BEC 000F6B4C 38 A0 00 00 */ li r5, 0 -/* 800F9BF0 000F6B50 48 21 BC 7D */ bl __nw__FUlPCcPCc -/* 800F9BF4 000F6B54 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800F9BF8 000F6B58 41 82 00 28 */ beq lbl_800F9C20 -/* 800F9BFC 000F6B5C 38 61 00 40 */ addi r3, r1, 0x40 -/* 800F9C00 000F6B60 38 9F 19 70 */ addi r4, r31, 0x1970 -/* 800F9C04 000F6B64 48 24 72 A5 */ bl __ct__6CTokenFRC6CToken -/* 800F9C08 000F6B68 7F 63 DB 78 */ mr r3, r27 -/* 800F9C0C 000F6B6C 38 81 00 40 */ addi r4, r1, 0x40 -/* 800F9C10 000F6B70 3B 40 00 01 */ li r26, 1 -/* 800F9C14 000F6B74 38 A0 00 00 */ li r5, 0 -/* 800F9C18 000F6B78 48 23 51 CD */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 800F9C1C 000F6B7C 7C 7B 1B 78 */ mr r27, r3 -lbl_800F9C20: -/* 800F9C20 000F6B80 7F 40 07 75 */ extsb. r0, r26 -/* 800F9C24 000F6B84 93 7F 19 C4 */ stw r27, 0x19c4(r31) -/* 800F9C28 000F6B88 41 82 00 10 */ beq lbl_800F9C38 -/* 800F9C2C 000F6B8C 38 61 00 40 */ addi r3, r1, 0x40 -/* 800F9C30 000F6B90 38 80 00 00 */ li r4, 0 -/* 800F9C34 000F6B94 48 24 72 0D */ bl __dt__6CTokenFv -lbl_800F9C38: -/* 800F9C38 000F6B98 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9C3C 000F6B9C 3B 40 00 00 */ li r26, 0 -/* 800F9C40 000F6BA0 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9C44 000F6BA4 38 60 02 10 */ li r3, 0x210 -/* 800F9C48 000F6BA8 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9C4C 000F6BAC 38 A0 00 00 */ li r5, 0 -/* 800F9C50 000F6BB0 48 21 BC 1D */ bl __nw__FUlPCcPCc -/* 800F9C54 000F6BB4 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800F9C58 000F6BB8 41 82 00 28 */ beq lbl_800F9C80 -/* 800F9C5C 000F6BBC 38 61 00 38 */ addi r3, r1, 0x38 -/* 800F9C60 000F6BC0 38 9F 19 78 */ addi r4, r31, 0x1978 -/* 800F9C64 000F6BC4 48 24 72 45 */ bl __ct__6CTokenFRC6CToken -/* 800F9C68 000F6BC8 7F 63 DB 78 */ mr r3, r27 -/* 800F9C6C 000F6BCC 38 81 00 38 */ addi r4, r1, 0x38 -/* 800F9C70 000F6BD0 3B 40 00 01 */ li r26, 1 -/* 800F9C74 000F6BD4 38 A0 00 00 */ li r5, 0 -/* 800F9C78 000F6BD8 48 23 51 6D */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 800F9C7C 000F6BDC 7C 7B 1B 78 */ mr r27, r3 -lbl_800F9C80: -/* 800F9C80 000F6BE0 7F 40 07 75 */ extsb. r0, r26 -/* 800F9C84 000F6BE4 93 7F 19 C8 */ stw r27, 0x19c8(r31) -/* 800F9C88 000F6BE8 41 82 00 10 */ beq lbl_800F9C98 -/* 800F9C8C 000F6BEC 38 61 00 38 */ addi r3, r1, 0x38 -/* 800F9C90 000F6BF0 38 80 00 00 */ li r4, 0 -/* 800F9C94 000F6BF4 48 24 71 AD */ bl __dt__6CTokenFv -lbl_800F9C98: -/* 800F9C98 000F6BF8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9C9C 000F6BFC 3B 40 00 00 */ li r26, 0 -/* 800F9CA0 000F6C00 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9CA4 000F6C04 38 60 03 40 */ li r3, 0x340 -/* 800F9CA8 000F6C08 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9CAC 000F6C0C 38 A0 00 00 */ li r5, 0 -/* 800F9CB0 000F6C10 48 21 BB BD */ bl __nw__FUlPCcPCc -/* 800F9CB4 000F6C14 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800F9CB8 000F6C18 41 82 00 2C */ beq lbl_800F9CE4 -/* 800F9CBC 000F6C1C 38 61 00 30 */ addi r3, r1, 0x30 -/* 800F9CC0 000F6C20 38 9F 19 80 */ addi r4, r31, 0x1980 -/* 800F9CC4 000F6C24 48 24 71 E5 */ bl __ct__6CTokenFRC6CToken -/* 800F9CC8 000F6C28 7F 63 DB 78 */ mr r3, r27 -/* 800F9CCC 000F6C2C 38 81 00 30 */ addi r4, r1, 0x30 -/* 800F9CD0 000F6C30 3B 40 00 01 */ li r26, 1 -/* 800F9CD4 000F6C34 38 A0 00 00 */ li r5, 0 -/* 800F9CD8 000F6C38 38 C0 00 01 */ li r6, 1 -/* 800F9CDC 000F6C3C 48 22 57 05 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800F9CE0 000F6C40 7C 7B 1B 78 */ mr r27, r3 -lbl_800F9CE4: -/* 800F9CE4 000F6C44 7F 40 07 75 */ extsb. r0, r26 -/* 800F9CE8 000F6C48 93 7F 19 CC */ stw r27, 0x19cc(r31) -/* 800F9CEC 000F6C4C 41 82 00 10 */ beq lbl_800F9CFC -/* 800F9CF0 000F6C50 38 61 00 30 */ addi r3, r1, 0x30 -/* 800F9CF4 000F6C54 38 80 00 00 */ li r4, 0 -/* 800F9CF8 000F6C58 48 24 71 49 */ bl __dt__6CTokenFv -lbl_800F9CFC: -/* 800F9CFC 000F6C5C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9D00 000F6C60 3B 40 00 00 */ li r26, 0 -/* 800F9D04 000F6C64 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9D08 000F6C68 38 60 03 40 */ li r3, 0x340 -/* 800F9D0C 000F6C6C 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9D10 000F6C70 38 A0 00 00 */ li r5, 0 -/* 800F9D14 000F6C74 48 21 BB 59 */ bl __nw__FUlPCcPCc -/* 800F9D18 000F6C78 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800F9D1C 000F6C7C 41 82 00 2C */ beq lbl_800F9D48 -/* 800F9D20 000F6C80 38 61 00 28 */ addi r3, r1, 0x28 -/* 800F9D24 000F6C84 38 9F 19 88 */ addi r4, r31, 0x1988 -/* 800F9D28 000F6C88 48 24 71 81 */ bl __ct__6CTokenFRC6CToken -/* 800F9D2C 000F6C8C 7F 63 DB 78 */ mr r3, r27 -/* 800F9D30 000F6C90 38 81 00 28 */ addi r4, r1, 0x28 -/* 800F9D34 000F6C94 3B 40 00 01 */ li r26, 1 -/* 800F9D38 000F6C98 38 A0 00 00 */ li r5, 0 -/* 800F9D3C 000F6C9C 38 C0 00 01 */ li r6, 1 -/* 800F9D40 000F6CA0 48 22 56 A1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800F9D44 000F6CA4 7C 7B 1B 78 */ mr r27, r3 -lbl_800F9D48: -/* 800F9D48 000F6CA8 7F 40 07 75 */ extsb. r0, r26 -/* 800F9D4C 000F6CAC 93 7F 19 D0 */ stw r27, 0x19d0(r31) -/* 800F9D50 000F6CB0 41 82 00 10 */ beq lbl_800F9D60 -/* 800F9D54 000F6CB4 38 61 00 28 */ addi r3, r1, 0x28 -/* 800F9D58 000F6CB8 38 80 00 00 */ li r4, 0 -/* 800F9D5C 000F6CBC 48 24 70 E5 */ bl __dt__6CTokenFv -lbl_800F9D60: -/* 800F9D60 000F6CC0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9D64 000F6CC4 3B 40 00 00 */ li r26, 0 -/* 800F9D68 000F6CC8 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9D6C 000F6CCC 38 60 03 40 */ li r3, 0x340 -/* 800F9D70 000F6CD0 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9D74 000F6CD4 38 A0 00 00 */ li r5, 0 -/* 800F9D78 000F6CD8 48 21 BA F5 */ bl __nw__FUlPCcPCc -/* 800F9D7C 000F6CDC 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800F9D80 000F6CE0 41 82 00 2C */ beq lbl_800F9DAC -/* 800F9D84 000F6CE4 38 61 00 20 */ addi r3, r1, 0x20 -/* 800F9D88 000F6CE8 38 9F 19 90 */ addi r4, r31, 0x1990 -/* 800F9D8C 000F6CEC 48 24 71 1D */ bl __ct__6CTokenFRC6CToken -/* 800F9D90 000F6CF0 7F 63 DB 78 */ mr r3, r27 -/* 800F9D94 000F6CF4 38 81 00 20 */ addi r4, r1, 0x20 -/* 800F9D98 000F6CF8 3B 40 00 01 */ li r26, 1 -/* 800F9D9C 000F6CFC 38 A0 00 00 */ li r5, 0 -/* 800F9DA0 000F6D00 38 C0 00 01 */ li r6, 1 -/* 800F9DA4 000F6D04 48 22 56 3D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800F9DA8 000F6D08 7C 7B 1B 78 */ mr r27, r3 -lbl_800F9DAC: -/* 800F9DAC 000F6D0C 7F 40 07 75 */ extsb. r0, r26 -/* 800F9DB0 000F6D10 93 7F 19 D4 */ stw r27, 0x19d4(r31) -/* 800F9DB4 000F6D14 41 82 00 10 */ beq lbl_800F9DC4 -/* 800F9DB8 000F6D18 38 61 00 20 */ addi r3, r1, 0x20 -/* 800F9DBC 000F6D1C 38 80 00 00 */ li r4, 0 -/* 800F9DC0 000F6D20 48 24 70 81 */ bl __dt__6CTokenFv -lbl_800F9DC4: -/* 800F9DC4 000F6D24 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9DC8 000F6D28 3B 40 00 00 */ li r26, 0 -/* 800F9DCC 000F6D2C 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9DD0 000F6D30 38 60 03 40 */ li r3, 0x340 -/* 800F9DD4 000F6D34 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9DD8 000F6D38 38 A0 00 00 */ li r5, 0 -/* 800F9DDC 000F6D3C 48 21 BA 91 */ bl __nw__FUlPCcPCc -/* 800F9DE0 000F6D40 7C 7B 1B 79 */ or. r27, r3, r3 -/* 800F9DE4 000F6D44 41 82 00 2C */ beq lbl_800F9E10 -/* 800F9DE8 000F6D48 38 61 00 18 */ addi r3, r1, 0x18 -/* 800F9DEC 000F6D4C 38 9F 19 98 */ addi r4, r31, 0x1998 -/* 800F9DF0 000F6D50 48 24 70 B9 */ bl __ct__6CTokenFRC6CToken -/* 800F9DF4 000F6D54 7F 63 DB 78 */ mr r3, r27 -/* 800F9DF8 000F6D58 38 81 00 18 */ addi r4, r1, 0x18 -/* 800F9DFC 000F6D5C 3B 40 00 01 */ li r26, 1 -/* 800F9E00 000F6D60 38 A0 00 00 */ li r5, 0 -/* 800F9E04 000F6D64 38 C0 00 01 */ li r6, 1 -/* 800F9E08 000F6D68 48 22 55 D9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800F9E0C 000F6D6C 7C 7B 1B 78 */ mr r27, r3 -lbl_800F9E10: -/* 800F9E10 000F6D70 7F 40 07 75 */ extsb. r0, r26 -/* 800F9E14 000F6D74 93 7F 19 D8 */ stw r27, 0x19d8(r31) -/* 800F9E18 000F6D78 41 82 00 10 */ beq lbl_800F9E28 -/* 800F9E1C 000F6D7C 38 61 00 18 */ addi r3, r1, 0x18 -/* 800F9E20 000F6D80 38 80 00 00 */ li r4, 0 -/* 800F9E24 000F6D84 48 24 70 1D */ bl __dt__6CTokenFv -lbl_800F9E28: -/* 800F9E28 000F6D88 38 A0 00 00 */ li r5, 0 -/* 800F9E2C 000F6D8C 38 1F 1B 74 */ addi r0, r31, 0x1b74 -/* 800F9E30 000F6D90 90 BF 19 DC */ stw r5, 0x19dc(r31) -/* 800F9E34 000F6D94 38 7F 1B 80 */ addi r3, r31, 0x1b80 -/* 800F9E38 000F6D98 38 80 00 63 */ li r4, 0x63 -/* 800F9E3C 000F6D9C 90 BF 19 E0 */ stw r5, 0x19e0(r31) -/* 800F9E40 000F6DA0 90 BF 19 E4 */ stw r5, 0x19e4(r31) -/* 800F9E44 000F6DA4 90 1F 1B 6C */ stw r0, 0x1b6c(r31) -/* 800F9E48 000F6DA8 90 1F 1B 70 */ stw r0, 0x1b70(r31) -/* 800F9E4C 000F6DAC 90 1F 1B 74 */ stw r0, 0x1b74(r31) -/* 800F9E50 000F6DB0 90 1F 1B 78 */ stw r0, 0x1b78(r31) -/* 800F9E54 000F6DB4 90 BF 1B 7C */ stw r5, 0x1b7c(r31) -/* 800F9E58 000F6DB8 48 21 87 95 */ bl __ct__9CRandom16FUi -/* 800F9E5C 000F6DBC 38 A0 00 00 */ li r5, 0 -/* 800F9E60 000F6DC0 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9E64 000F6DC4 90 BF 1B 84 */ stw r5, 0x1b84(r31) -/* 800F9E68 000F6DC8 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9E6C 000F6DCC 38 00 FF FF */ li r0, -1 -/* 800F9E70 000F6DD0 38 60 00 8C */ li r3, 0x8c -/* 800F9E74 000F6DD4 90 BF 1B C8 */ stw r5, 0x1bc8(r31) -/* 800F9E78 000F6DD8 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9E7C 000F6DDC 38 A0 00 00 */ li r5, 0 -/* 800F9E80 000F6DE0 90 1F 1C 0C */ stw r0, 0x1c0c(r31) -/* 800F9E84 000F6DE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800F9E88 000F6DE8 B0 1F 1C 10 */ sth r0, 0x1c10(r31) -/* 800F9E8C 000F6DEC 48 21 B9 E1 */ bl __nw__FUlPCcPCc -/* 800F9E90 000F6DF0 7C 60 1B 79 */ or. r0, r3, r3 -/* 800F9E94 000F6DF4 41 82 00 18 */ beq lbl_800F9EAC -/* 800F9E98 000F6DF8 38 80 00 10 */ li r4, 0x10 -/* 800F9E9C 000F6DFC 38 A0 00 10 */ li r5, 0x10 -/* 800F9EA0 000F6E00 38 C0 00 00 */ li r6, 0 -/* 800F9EA4 000F6E04 48 01 7D 21 */ bl __ct__12CWorldShadowFUiUib -/* 800F9EA8 000F6E08 7C 60 1B 78 */ mr r0, r3 -lbl_800F9EAC: -/* 800F9EAC 000F6E0C 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9EB0 000F6E10 90 1F 1C 14 */ stw r0, 0x1c14(r31) -/* 800F9EB4 000F6E14 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9EB8 000F6E18 38 60 02 E0 */ li r3, 0x2e0 -/* 800F9EBC 000F6E1C 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9EC0 000F6E20 38 A0 00 00 */ li r5, 0 -/* 800F9EC4 000F6E24 48 21 B9 A9 */ bl __nw__FUlPCcPCc -/* 800F9EC8 000F6E28 7C 60 1B 79 */ or. r0, r3, r3 -/* 800F9ECC 000F6E2C 41 82 00 4C */ beq lbl_800F9F18 -/* 800F9ED0 000F6E30 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800F9ED4 000F6E34 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) -/* 800F9ED8 000F6E38 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 800F9EDC 000F6E3C 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 800F9EE0 000F6E40 81 07 00 00 */ lwz r8, 0(r7) -/* 800F9EE4 000F6E44 38 80 00 08 */ li r4, 8 -/* 800F9EE8 000F6E48 81 67 00 04 */ lwz r11, 4(r7) -/* 800F9EEC 000F6E4C 38 C0 00 04 */ li r6, 4 -/* 800F9EF0 000F6E50 80 07 00 08 */ lwz r0, 8(r7) -/* 800F9EF4 000F6E54 38 E0 00 04 */ li r7, 4 -/* 800F9EF8 000F6E58 91 01 00 E0 */ stw r8, 0xe0(r1) -/* 800F9EFC 000F6E5C 39 00 00 00 */ li r8, 0 -/* 800F9F00 000F6E60 39 20 00 00 */ li r9, 0 -/* 800F9F04 000F6E64 39 40 00 00 */ li r10, 0 -/* 800F9F08 000F6E68 91 61 00 E4 */ stw r11, 0xe4(r1) -/* 800F9F0C 000F6E6C 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 800F9F10 000F6E70 48 00 B2 BD */ bl __ct__12CActorLightsFUi9CVector3fiif -/* 800F9F14 000F6E74 7C 60 1B 78 */ mr r0, r3 -lbl_800F9F18: -/* 800F9F18 000F6E78 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800F9F1C 000F6E7C 90 1F 1C 18 */ stw r0, 0x1c18(r31) -/* 800F9F20 000F6E80 38 83 EB F4 */ addi r4, r3, lbl_803CEBF4@l -/* 800F9F24 000F6E84 38 60 00 4C */ li r3, 0x4c -/* 800F9F28 000F6E88 38 84 00 DC */ addi r4, r4, 0xdc -/* 800F9F2C 000F6E8C 38 A0 00 00 */ li r5, 0 -/* 800F9F30 000F6E90 48 21 B9 3D */ bl __nw__FUlPCcPCc -/* 800F9F34 000F6E94 7C 60 1B 79 */ or. r0, r3, r3 -/* 800F9F38 000F6E98 41 82 00 3C */ beq lbl_800F9F74 -/* 800F9F3C 000F6E9C 80 FF 00 58 */ lwz r7, 0x58(r31) -/* 800F9F40 000F6EA0 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 800F9F44 000F6EA4 C0 22 92 54 */ lfs f1, lbl_805AAF74@sda21(r2) -/* 800F9F48 000F6EA8 38 A0 00 28 */ li r5, 0x28 -/* 800F9F4C 000F6EAC C0 07 00 00 */ lfs f0, 0(r7) -/* 800F9F50 000F6EB0 38 C0 00 02 */ li r6, 2 -/* 800F9F54 000F6EB4 C0 42 92 58 */ lfs f2, lbl_805AAF78@sda21(r2) -/* 800F9F58 000F6EB8 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 800F9F5C 000F6EBC C0 07 00 04 */ lfs f0, 4(r7) -/* 800F9F60 000F6EC0 D0 01 00 D8 */ stfs f0, 0xd8(r1) -/* 800F9F64 000F6EC4 C0 07 00 08 */ lfs f0, 8(r7) -/* 800F9F68 000F6EC8 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 800F9F6C 000F6ECC 48 17 07 CD */ bl __ct__20CRainSplashGeneratorFRC9CVector3fiiff -/* 800F9F70 000F6ED0 7C 60 1B 78 */ mr r0, r3 -lbl_800F9F74: -/* 800F9F74 000F6ED4 90 1F 1C 1C */ stw r0, 0x1c1c(r31) -/* 800F9F78 000F6ED8 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 800F9F7C 000F6EDC C0 42 91 50 */ lfs f2, lbl_805AAE70@sda21(r2) -/* 800F9F80 000F6EE0 38 00 00 00 */ li r0, 0 -/* 800F9F84 000F6EE4 C0 22 92 58 */ lfs f1, lbl_805AAF78@sda21(r2) -/* 800F9F88 000F6EE8 38 DF 1C 3C */ addi r6, r31, 0x1c3c -/* 800F9F8C 000F6EEC D0 5F 1C 20 */ stfs f2, 0x1c20(r31) -/* 800F9F90 000F6EF0 38 63 66 60 */ addi r3, r3, lbl_805A6660@l -/* 800F9F94 000F6EF4 C0 02 91 5C */ lfs f0, lbl_805AAE7C@sda21(r2) -/* 800F9F98 000F6EF8 D0 3F 1C 24 */ stfs f1, 0x1c24(r31) -/* 800F9F9C 000F6EFC D0 1F 1C 28 */ stfs f0, 0x1c28(r31) -/* 800F9FA0 000F6F00 98 1F 1C 2C */ stb r0, 0x1c2c(r31) -/* 800F9FA4 000F6F04 D0 5F 1C 30 */ stfs f2, 0x1c30(r31) -/* 800F9FA8 000F6F08 D0 5F 1C 34 */ stfs f2, 0x1c34(r31) -/* 800F9FAC 000F6F0C D0 5F 1C 38 */ stfs f2, 0x1c38(r31) -/* 800F9FB0 000F6F10 90 1F 1C 3C */ stw r0, 0x1c3c(r31) -/* 800F9FB4 000F6F14 80 9F 1C 3C */ lwz r4, 0x1c3c(r31) -/* 800F9FB8 000F6F18 2C 04 00 05 */ cmpwi r4, 5 -/* 800F9FBC 000F6F1C 40 80 00 58 */ bge lbl_800FA014 -/* 800F9FC0 000F6F20 54 80 20 36 */ slwi r0, r4, 4 -/* 800F9FC4 000F6F24 20 A4 00 05 */ subfic r5, r4, 5 -/* 800F9FC8 000F6F28 7C 86 02 14 */ add r4, r6, r0 -/* 800F9FCC 000F6F2C 7C A9 03 A6 */ mtctr r5 -/* 800F9FD0 000F6F30 2C 05 00 00 */ cmpwi r5, 0 -/* 800F9FD4 000F6F34 38 84 00 04 */ addi r4, r4, 4 -/* 800F9FD8 000F6F38 40 81 00 34 */ ble lbl_800FA00C -lbl_800F9FDC: -/* 800F9FDC 000F6F3C 28 04 00 00 */ cmplwi r4, 0 -/* 800F9FE0 000F6F40 41 82 00 24 */ beq lbl_800FA004 -/* 800F9FE4 000F6F44 C0 03 00 00 */ lfs f0, 0(r3) -/* 800F9FE8 000F6F48 D0 04 00 00 */ stfs f0, 0(r4) -/* 800F9FEC 000F6F4C C0 03 00 04 */ lfs f0, 4(r3) -/* 800F9FF0 000F6F50 D0 04 00 04 */ stfs f0, 4(r4) -/* 800F9FF4 000F6F54 C0 03 00 08 */ lfs f0, 8(r3) -/* 800F9FF8 000F6F58 D0 04 00 08 */ stfs f0, 8(r4) -/* 800F9FFC 000F6F5C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800FA000 000F6F60 D0 04 00 0C */ stfs f0, 0xc(r4) -lbl_800FA004: -/* 800FA004 000F6F64 38 84 00 10 */ addi r4, r4, 0x10 -/* 800FA008 000F6F68 42 00 FF D4 */ bdnz lbl_800F9FDC -lbl_800FA00C: -/* 800FA00C 000F6F6C 38 00 00 05 */ li r0, 5 -/* 800FA010 000F6F70 90 06 00 00 */ stw r0, 0(r6) -lbl_800FA014: -/* 800FA014 000F6F74 38 DF 1C 90 */ addi r6, r31, 0x1c90 -/* 800FA018 000F6F78 38 00 00 00 */ li r0, 0 -/* 800FA01C 000F6F7C 90 1F 1C 90 */ stw r0, 0x1c90(r31) -/* 800FA020 000F6F80 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FA024 000F6F84 38 63 66 A0 */ addi r3, r3, skZero3f@l -/* 800FA028 000F6F88 80 9F 1C 90 */ lwz r4, 0x1c90(r31) -/* 800FA02C 000F6F8C 2C 04 00 05 */ cmpwi r4, 5 -/* 800FA030 000F6F90 40 80 00 50 */ bge lbl_800FA080 -/* 800FA034 000F6F94 1C 04 00 0C */ mulli r0, r4, 0xc -/* 800FA038 000F6F98 20 A4 00 05 */ subfic r5, r4, 5 -/* 800FA03C 000F6F9C 7C 86 02 14 */ add r4, r6, r0 -/* 800FA040 000F6FA0 7C A9 03 A6 */ mtctr r5 -/* 800FA044 000F6FA4 2C 05 00 00 */ cmpwi r5, 0 -/* 800FA048 000F6FA8 38 84 00 04 */ addi r4, r4, 4 -/* 800FA04C 000F6FAC 40 81 00 2C */ ble lbl_800FA078 -lbl_800FA050: -/* 800FA050 000F6FB0 28 04 00 00 */ cmplwi r4, 0 -/* 800FA054 000F6FB4 41 82 00 1C */ beq lbl_800FA070 -/* 800FA058 000F6FB8 C0 03 00 00 */ lfs f0, 0(r3) -/* 800FA05C 000F6FBC D0 04 00 00 */ stfs f0, 0(r4) -/* 800FA060 000F6FC0 C0 03 00 04 */ lfs f0, 4(r3) -/* 800FA064 000F6FC4 D0 04 00 04 */ stfs f0, 4(r4) -/* 800FA068 000F6FC8 C0 03 00 08 */ lfs f0, 8(r3) -/* 800FA06C 000F6FCC D0 04 00 08 */ stfs f0, 8(r4) -lbl_800FA070: -/* 800FA070 000F6FD0 38 84 00 0C */ addi r4, r4, 0xc -/* 800FA074 000F6FD4 42 00 FF DC */ bdnz lbl_800FA050 -lbl_800FA078: -/* 800FA078 000F6FD8 38 00 00 05 */ li r0, 5 -/* 800FA07C 000F6FDC 90 06 00 00 */ stw r0, 0(r6) -lbl_800FA080: -/* 800FA080 000F6FE0 38 BF 1C D0 */ addi r5, r31, 0x1cd0 -/* 800FA084 000F6FE4 38 00 00 00 */ li r0, 0 -/* 800FA088 000F6FE8 90 1F 1C D0 */ stw r0, 0x1cd0(r31) -/* 800FA08C 000F6FEC 80 7F 1C D0 */ lwz r3, 0x1cd0(r31) -/* 800FA090 000F6FF0 2C 03 00 0F */ cmpwi r3, 0xf -/* 800FA094 000F6FF4 40 80 00 40 */ bge lbl_800FA0D4 -/* 800FA098 000F6FF8 54 60 10 3A */ slwi r0, r3, 2 -/* 800FA09C 000F6FFC 20 83 00 0F */ subfic r4, r3, 0xf -/* 800FA0A0 000F7000 7C 65 02 14 */ add r3, r5, r0 -/* 800FA0A4 000F7004 7C 89 03 A6 */ mtctr r4 -/* 800FA0A8 000F7008 2C 04 00 00 */ cmpwi r4, 0 -/* 800FA0AC 000F700C 38 63 00 04 */ addi r3, r3, 4 -/* 800FA0B0 000F7010 40 81 00 1C */ ble lbl_800FA0CC -lbl_800FA0B4: -/* 800FA0B4 000F7014 28 03 00 00 */ cmplwi r3, 0 -/* 800FA0B8 000F7018 41 82 00 0C */ beq lbl_800FA0C4 -/* 800FA0BC 000F701C C0 0D 88 40 */ lfs f0, lbl_805A7400@sda21(r13) -/* 800FA0C0 000F7020 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800FA0C4: -/* 800FA0C4 000F7024 38 63 00 04 */ addi r3, r3, 4 -/* 800FA0C8 000F7028 42 00 FF EC */ bdnz lbl_800FA0B4 -lbl_800FA0CC: -/* 800FA0CC 000F702C 38 00 00 0F */ li r0, 0xf -/* 800FA0D0 000F7030 90 05 00 00 */ stw r0, 0(r5) -lbl_800FA0D4: -/* 800FA0D4 000F7034 38 DF 1D 10 */ addi r6, r31, 0x1d10 -/* 800FA0D8 000F7038 38 00 00 00 */ li r0, 0 -/* 800FA0DC 000F703C 90 1F 1D 10 */ stw r0, 0x1d10(r31) -/* 800FA0E0 000F7040 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FA0E4 000F7044 38 63 66 A0 */ addi r3, r3, skZero3f@l -/* 800FA0E8 000F7048 80 9F 1D 10 */ lwz r4, 0x1d10(r31) -/* 800FA0EC 000F704C 2C 04 00 0F */ cmpwi r4, 0xf -/* 800FA0F0 000F7050 40 80 00 50 */ bge lbl_800FA140 -/* 800FA0F4 000F7054 1C 04 00 0C */ mulli r0, r4, 0xc -/* 800FA0F8 000F7058 20 A4 00 0F */ subfic r5, r4, 0xf -/* 800FA0FC 000F705C 7C 86 02 14 */ add r4, r6, r0 -/* 800FA100 000F7060 7C A9 03 A6 */ mtctr r5 -/* 800FA104 000F7064 2C 05 00 00 */ cmpwi r5, 0 -/* 800FA108 000F7068 38 84 00 04 */ addi r4, r4, 4 -/* 800FA10C 000F706C 40 81 00 2C */ ble lbl_800FA138 -lbl_800FA110: -/* 800FA110 000F7070 28 04 00 00 */ cmplwi r4, 0 -/* 800FA114 000F7074 41 82 00 1C */ beq lbl_800FA130 -/* 800FA118 000F7078 C0 03 00 00 */ lfs f0, 0(r3) -/* 800FA11C 000F707C D0 04 00 00 */ stfs f0, 0(r4) -/* 800FA120 000F7080 C0 03 00 04 */ lfs f0, 4(r3) -/* 800FA124 000F7084 D0 04 00 04 */ stfs f0, 4(r4) -/* 800FA128 000F7088 C0 03 00 08 */ lfs f0, 8(r3) -/* 800FA12C 000F708C D0 04 00 08 */ stfs f0, 8(r4) -lbl_800FA130: -/* 800FA130 000F7090 38 84 00 0C */ addi r4, r4, 0xc -/* 800FA134 000F7094 42 00 FF DC */ bdnz lbl_800FA110 -lbl_800FA138: -/* 800FA138 000F7098 38 00 00 0F */ li r0, 0xf -/* 800FA13C 000F709C 90 06 00 00 */ stw r0, 0(r6) -lbl_800FA140: -/* 800FA140 000F70A0 38 E0 00 00 */ li r7, 0 -/* 800FA144 000F70A4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FA148 000F70A8 90 FF 1D C8 */ stw r7, 0x1dc8(r31) -/* 800FA14C 000F70AC 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 800FA150 000F70B0 3C 60 00 01 */ lis r3, 0x0000FFFF@ha -/* 800FA154 000F70B4 38 A0 00 01 */ li r5, 1 -/* 800FA158 000F70B8 C0 06 00 00 */ lfs f0, 0(r6) -/* 800FA15C 000F70BC 38 03 FF FF */ addi r0, r3, 0x0000FFFF@l -/* 800FA160 000F70C0 C0 22 91 50 */ lfs f1, lbl_805AAE70@sda21(r2) -/* 800FA164 000F70C4 38 80 00 00 */ li r4, 0 -/* 800FA168 000F70C8 D0 1F 1D CC */ stfs f0, 0x1dcc(r31) -/* 800FA16C 000F70CC C0 1E 00 04 */ lfs f0, 4(r30) -/* 800FA170 000F70D0 D0 1F 1D D0 */ stfs f0, 0x1dd0(r31) -/* 800FA174 000F70D4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 800FA178 000F70D8 D0 1F 1D D4 */ stfs f0, 0x1dd4(r31) -/* 800FA17C 000F70DC C0 06 00 00 */ lfs f0, 0(r6) -/* 800FA180 000F70E0 D0 1F 1D D8 */ stfs f0, 0x1dd8(r31) -/* 800FA184 000F70E4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 800FA188 000F70E8 D0 1F 1D DC */ stfs f0, 0x1ddc(r31) -/* 800FA18C 000F70EC C0 1E 00 08 */ lfs f0, 8(r30) -/* 800FA190 000F70F0 D0 1F 1D E0 */ stfs f0, 0x1de0(r31) -/* 800FA194 000F70F4 88 7F 1D E4 */ lbz r3, 0x1de4(r31) -/* 800FA198 000F70F8 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18 -/* 800FA19C 000F70FC 98 7F 1D E4 */ stb r3, 0x1de4(r31) -/* 800FA1A0 000F7100 88 7F 1D E4 */ lbz r3, 0x1de4(r31) -/* 800FA1A4 000F7104 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19 -/* 800FA1A8 000F7108 98 7F 1D E4 */ stb r3, 0x1de4(r31) -/* 800FA1AC 000F710C D0 3F 1D E8 */ stfs f1, 0x1de8(r31) -/* 800FA1B0 000F7110 D0 3F 1D EC */ stfs f1, 0x1dec(r31) -/* 800FA1B4 000F7114 D0 3F 1D F0 */ stfs f1, 0x1df0(r31) -/* 800FA1B8 000F7118 D0 3F 1D F4 */ stfs f1, 0x1df4(r31) -/* 800FA1BC 000F711C 88 7F 1D F8 */ lbz r3, 0x1df8(r31) -/* 800FA1C0 000F7120 50 E3 3E 30 */ rlwimi r3, r7, 7, 0x18, 0x18 -/* 800FA1C4 000F7124 98 7F 1D F8 */ stb r3, 0x1df8(r31) -/* 800FA1C8 000F7128 88 7F 1D F8 */ lbz r3, 0x1df8(r31) -/* 800FA1CC 000F712C 50 E3 36 72 */ rlwimi r3, r7, 6, 0x19, 0x19 -/* 800FA1D0 000F7130 98 7F 1D F8 */ stb r3, 0x1df8(r31) -/* 800FA1D4 000F7134 88 7F 1D F8 */ lbz r3, 0x1df8(r31) -/* 800FA1D8 000F7138 50 E3 2E B4 */ rlwimi r3, r7, 5, 0x1a, 0x1a -/* 800FA1DC 000F713C 98 7F 1D F8 */ stb r3, 0x1df8(r31) -/* 800FA1E0 000F7140 88 7F 1D F8 */ lbz r3, 0x1df8(r31) -/* 800FA1E4 000F7144 50 E3 26 F6 */ rlwimi r3, r7, 4, 0x1b, 0x1b -/* 800FA1E8 000F7148 98 7F 1D F8 */ stb r3, 0x1df8(r31) -/* 800FA1EC 000F714C D0 3F 1D FC */ stfs f1, 0x1dfc(r31) -/* 800FA1F0 000F7150 D0 3F 1E 00 */ stfs f1, 0x1e00(r31) -/* 800FA1F4 000F7154 D0 3F 1E 04 */ stfs f1, 0x1e04(r31) -/* 800FA1F8 000F7158 C0 06 00 00 */ lfs f0, 0(r6) -/* 800FA1FC 000F715C D0 1F 1E 08 */ stfs f0, 0x1e08(r31) -/* 800FA200 000F7160 C0 1E 00 04 */ lfs f0, 4(r30) -/* 800FA204 000F7164 D0 1F 1E 0C */ stfs f0, 0x1e0c(r31) -/* 800FA208 000F7168 C0 1E 00 08 */ lfs f0, 8(r30) -/* 800FA20C 000F716C D0 1F 1E 10 */ stfs f0, 0x1e10(r31) -/* 800FA210 000F7170 C0 06 00 00 */ lfs f0, 0(r6) -/* 800FA214 000F7174 D0 1F 1E 14 */ stfs f0, 0x1e14(r31) -/* 800FA218 000F7178 C0 1E 00 04 */ lfs f0, 4(r30) -/* 800FA21C 000F717C D0 1F 1E 18 */ stfs f0, 0x1e18(r31) -/* 800FA220 000F7180 C0 1E 00 08 */ lfs f0, 8(r30) -/* 800FA224 000F7184 D0 1F 1E 1C */ stfs f0, 0x1e1c(r31) -/* 800FA228 000F7188 90 FF 1E 20 */ stw r7, 0x1e20(r31) -/* 800FA22C 000F718C 90 FF 1E 24 */ stw r7, 0x1e24(r31) -/* 800FA230 000F7190 90 FF 1E 28 */ stw r7, 0x1e28(r31) -/* 800FA234 000F7194 90 FF 1E 2C */ stw r7, 0x1e2c(r31) -/* 800FA238 000F7198 90 FF 1E 30 */ stw r7, 0x1e30(r31) -/* 800FA23C 000F719C B0 1F 1E 34 */ sth r0, 0x1e34(r31) -/* 800FA240 000F71A0 B0 1F 1E 36 */ sth r0, 0x1e36(r31) -/* 800FA244 000F71A4 90 FF 1E 38 */ stw r7, 0x1e38(r31) -/* 800FA248 000F71A8 90 FF 1E 3C */ stw r7, 0x1e3c(r31) -/* 800FA24C 000F71AC 90 FF 1E 40 */ stw r7, 0x1e40(r31) -/* 800FA250 000F71B0 D0 3F 1E 44 */ stfs f1, 0x1e44(r31) -/* 800FA254 000F71B4 D0 3F 1E 48 */ stfs f1, 0x1e48(r31) -/* 800FA258 000F71B8 D0 3F 1E 4C */ stfs f1, 0x1e4c(r31) -/* 800FA25C 000F71BC 90 FF 1E 50 */ stw r7, 0x1e50(r31) -/* 800FA260 000F71C0 80 7F 19 D4 */ lwz r3, 0x19d4(r31) -/* 800FA264 000F71C4 81 83 00 00 */ lwz r12, 0(r3) -/* 800FA268 000F71C8 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800FA26C 000F71CC 7D 89 03 A6 */ mtctr r12 -/* 800FA270 000F71D0 4E 80 04 21 */ bctrl -/* 800FA274 000F71D4 80 7F 19 D4 */ lwz r3, 0x19d4(r31) -/* 800FA278 000F71D8 C8 22 93 30 */ lfd f1, lbl_805AB050@sda21(r2) -/* 800FA27C 000F71DC 81 83 00 00 */ lwz r12, 0(r3) -/* 800FA280 000F71E0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800FA284 000F71E4 7D 89 03 A6 */ mtctr r12 -/* 800FA288 000F71E8 4E 80 04 21 */ bctrl -/* 800FA28C 000F71EC 7F E3 FB 78 */ mr r3, r31 -/* 800FA290 000F71F0 4B FF EB 75 */ bl GetBallRadius__10CMorphBallCFv -/* 800FA294 000F71F4 C0 02 91 E8 */ lfs f0, lbl_805AAF08@sda21(r2) -/* 800FA298 000F71F8 3C 60 80 3D */ lis r3, lbl_803CEBF4@ha -/* 800FA29C 000F71FC 3B C3 EB F4 */ addi r30, r3, lbl_803CEBF4@l -/* 800FA2A0 000F7200 3B BF 19 E4 */ addi r29, r31, 0x19e4 -/* 800FA2A4 000F7204 EC 00 08 2A */ fadds f0, f0, f1 -/* 800FA2A8 000F7208 3B 80 00 00 */ li r28, 0 -/* 800FA2AC 000F720C D0 0D A3 28 */ stfs f0, lbl_805A8EE8@sda21(r13) -lbl_800FA2B0: -/* 800FA2B0 000F7210 38 9E 00 DC */ addi r4, r30, 0xdc -/* 800FA2B4 000F7214 3B 60 00 00 */ li r27, 0 -/* 800FA2B8 000F7218 38 60 02 10 */ li r3, 0x210 -/* 800FA2BC 000F721C 38 A0 00 00 */ li r5, 0 -/* 800FA2C0 000F7220 48 21 B5 AD */ bl __nw__FUlPCcPCc -/* 800FA2C4 000F7224 7C 7A 1B 79 */ or. r26, r3, r3 -/* 800FA2C8 000F7228 41 82 00 28 */ beq lbl_800FA2F0 -/* 800FA2CC 000F722C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800FA2D0 000F7230 38 9F 19 A0 */ addi r4, r31, 0x19a0 -/* 800FA2D4 000F7234 48 24 6B D5 */ bl __ct__6CTokenFRC6CToken -/* 800FA2D8 000F7238 7F 43 D3 78 */ mr r3, r26 -/* 800FA2DC 000F723C 38 81 00 10 */ addi r4, r1, 0x10 -/* 800FA2E0 000F7240 3B 60 00 01 */ li r27, 1 -/* 800FA2E4 000F7244 38 A0 00 00 */ li r5, 0 -/* 800FA2E8 000F7248 48 23 4A FD */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 800FA2EC 000F724C 7C 7A 1B 78 */ mr r26, r3 -lbl_800FA2F0: -/* 800FA2F0 000F7250 80 1D 00 00 */ lwz r0, 0(r29) -/* 800FA2F4 000F7254 7C 7A 00 D0 */ neg r3, r26 -/* 800FA2F8 000F7258 7C 65 D3 78 */ or r5, r3, r26 -/* 800FA2FC 000F725C 88 6D 88 44 */ lbz r3, lbl_805A7404@sda21(r13) -/* 800FA300 000F7260 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800FA304 000F7264 38 80 00 00 */ li r4, 0 -/* 800FA308 000F7268 54 A5 0F FE */ srwi r5, r5, 0x1f -/* 800FA30C 000F726C 93 41 00 0C */ stw r26, 0xc(r1) -/* 800FA310 000F7270 98 A1 00 08 */ stb r5, 8(r1) -/* 800FA314 000F7274 7C DD 02 14 */ add r6, r29, r0 -/* 800FA318 000F7278 34 C6 00 04 */ addic. r6, r6, 4 -/* 800FA31C 000F727C 98 A1 00 C8 */ stb r5, 0xc8(r1) -/* 800FA320 000F7280 93 41 00 CC */ stw r26, 0xcc(r1) -/* 800FA324 000F7284 98 81 00 08 */ stb r4, 8(r1) -/* 800FA328 000F7288 98 61 00 D0 */ stb r3, 0xd0(r1) -/* 800FA32C 000F728C 41 82 00 14 */ beq lbl_800FA340 -/* 800FA330 000F7290 98 A6 00 00 */ stb r5, 0(r6) -/* 800FA334 000F7294 93 46 00 04 */ stw r26, 4(r6) -/* 800FA338 000F7298 98 81 00 C8 */ stb r4, 0xc8(r1) -/* 800FA33C 000F729C 98 66 00 08 */ stb r3, 8(r6) -lbl_800FA340: -/* 800FA340 000F72A0 80 7F 19 E4 */ lwz r3, 0x19e4(r31) -/* 800FA344 000F72A4 88 01 00 C8 */ lbz r0, 0xc8(r1) -/* 800FA348 000F72A8 38 63 00 01 */ addi r3, r3, 1 -/* 800FA34C 000F72AC 28 00 00 00 */ cmplwi r0, 0 -/* 800FA350 000F72B0 90 7F 19 E4 */ stw r3, 0x19e4(r31) -/* 800FA354 000F72B4 41 82 00 24 */ beq lbl_800FA378 -/* 800FA358 000F72B8 80 61 00 CC */ lwz r3, 0xcc(r1) -/* 800FA35C 000F72BC 28 03 00 00 */ cmplwi r3, 0 -/* 800FA360 000F72C0 41 82 00 18 */ beq lbl_800FA378 -/* 800FA364 000F72C4 81 83 00 00 */ lwz r12, 0(r3) -/* 800FA368 000F72C8 38 80 00 01 */ li r4, 1 -/* 800FA36C 000F72CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FA370 000F72D0 7D 89 03 A6 */ mtctr r12 -/* 800FA374 000F72D4 4E 80 04 21 */ bctrl -lbl_800FA378: -/* 800FA378 000F72D8 88 01 00 08 */ lbz r0, 8(r1) -/* 800FA37C 000F72DC 28 00 00 00 */ cmplwi r0, 0 -/* 800FA380 000F72E0 41 82 00 24 */ beq lbl_800FA3A4 -/* 800FA384 000F72E4 80 61 00 0C */ lwz r3, 0xc(r1) -/* 800FA388 000F72E8 28 03 00 00 */ cmplwi r3, 0 -/* 800FA38C 000F72EC 41 82 00 18 */ beq lbl_800FA3A4 -/* 800FA390 000F72F0 81 83 00 00 */ lwz r12, 0(r3) -/* 800FA394 000F72F4 38 80 00 01 */ li r4, 1 -/* 800FA398 000F72F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FA39C 000F72FC 7D 89 03 A6 */ mtctr r12 -/* 800FA3A0 000F7300 4E 80 04 21 */ bctrl -lbl_800FA3A4: -/* 800FA3A4 000F7304 7F 60 07 75 */ extsb. r0, r27 -/* 800FA3A8 000F7308 41 82 00 10 */ beq lbl_800FA3B8 -/* 800FA3AC 000F730C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800FA3B0 000F7310 38 80 00 00 */ li r4, 0 -/* 800FA3B4 000F7314 48 24 6A 8D */ bl __dt__6CTokenFv -lbl_800FA3B8: -/* 800FA3B8 000F7318 3B 9C 00 01 */ addi r28, r28, 1 -/* 800FA3BC 000F731C 2C 1C 00 20 */ cmpwi r28, 0x20 -/* 800FA3C0 000F7320 41 80 FE F0 */ blt lbl_800FA2B0 -/* 800FA3C4 000F7324 80 8D A3 2C */ lwz r4, lbl_805A8EEC@sda21(r13) -/* 800FA3C8 000F7328 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800FA3CC 000F732C 4B F0 A8 ED */ bl string_l__4rstlFPCc -/* 800FA3D0 000F7330 7F E3 FB 78 */ mr r3, r31 -/* 800FA3D4 000F7334 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 800FA3D8 000F7338 4B FF 49 7D */ bl "LoadAnimationTokens__10CMorphBallFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800FA3DC 000F733C 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800FA3E0 000F7340 48 24 37 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800FA3E4 000F7344 7F E3 FB 78 */ mr r3, r31 -/* 800FA3E8 000F7348 4B FF 37 35 */ bl InitializeWakeEffects__10CMorphBallFv -/* 800FA3EC 000F734C 7F E3 FB 78 */ mr r3, r31 -/* 800FA3F0 000F7350 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 800FA3F4 000F7354 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 800FA3F8 000F7358 BB 41 01 38 */ lmw r26, 0x138(r1) -/* 800FA3FC 000F735C 80 01 01 64 */ lwz r0, 0x164(r1) -/* 800FA400 000F7360 7C 08 03 A6 */ mtlr r0 -/* 800FA404 000F7364 38 21 01 60 */ addi r1, r1, 0x160 -/* 800FA408 000F7368 4E 80 00 20 */ blr - -.global sub_800fa40c -sub_800fa40c: -/* 800FA40C 000F736C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FA410 000F7370 7C 08 02 A6 */ mflr r0 -/* 800FA414 000F7374 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FA418 000F7378 4B F2 0B B5 */ bl "ReferenceCount__24TOneStatic<10CMorphBall>Fv" -/* 800FA41C 000F737C 80 83 00 00 */ lwz r4, 0(r3) -/* 800FA420 000F7380 38 04 FF FF */ addi r0, r4, -1 -/* 800FA424 000F7384 90 03 00 00 */ stw r0, 0(r3) -/* 800FA428 000F7388 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FA42C 000F738C 7C 08 03 A6 */ mtlr r0 -/* 800FA430 000F7390 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FA434 000F7394 4E 80 00 20 */ blr - -.global sub_800fa438 -sub_800fa438: -/* 800FA438 000F7398 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FA43C 000F739C 7C 08 02 A6 */ mflr r0 -/* 800FA440 000F73A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FA444 000F73A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FA448 000F73A8 93 C1 00 08 */ stw r30, 8(r1) -/* 800FA44C 000F73AC 7C 7E 1B 78 */ mr r30, r3 -/* 800FA450 000F73B0 80 03 00 04 */ lwz r0, 4(r3) -/* 800FA454 000F73B4 83 E4 00 04 */ lwz r31, 4(r4) -/* 800FA458 000F73B8 7C 04 00 40 */ cmplw r4, r0 -/* 800FA45C 000F73BC 40 82 00 08 */ bne lbl_800FA464 -/* 800FA460 000F73C0 93 FE 00 04 */ stw r31, 4(r30) -lbl_800FA464: -/* 800FA464 000F73C4 80 04 00 04 */ lwz r0, 4(r4) -/* 800FA468 000F73C8 28 04 00 00 */ cmplwi r4, 0 -/* 800FA46C 000F73CC 80 64 00 00 */ lwz r3, 0(r4) -/* 800FA470 000F73D0 90 03 00 04 */ stw r0, 4(r3) -/* 800FA474 000F73D4 80 04 00 00 */ lwz r0, 0(r4) -/* 800FA478 000F73D8 80 64 00 04 */ lwz r3, 4(r4) -/* 800FA47C 000F73DC 90 03 00 00 */ stw r0, 0(r3) -/* 800FA480 000F73E0 41 82 00 0C */ beq lbl_800FA48C -/* 800FA484 000F73E4 7C 83 23 78 */ mr r3, r4 -/* 800FA488 000F73E8 48 21 B4 A9 */ bl Free__7CMemoryFPCv -lbl_800FA48C: -/* 800FA48C 000F73EC 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 800FA490 000F73F0 7F E3 FB 78 */ mr r3, r31 -/* 800FA494 000F73F4 38 04 FF FF */ addi r0, r4, -1 -/* 800FA498 000F73F8 90 1E 00 14 */ stw r0, 0x14(r30) -/* 800FA49C 000F73FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FA4A0 000F7400 83 C1 00 08 */ lwz r30, 8(r1) -/* 800FA4A4 000F7404 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FA4A8 000F7408 7C 08 03 A6 */ mtlr r0 -/* 800FA4AC 000F740C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FA4B0 000F7410 4E 80 00 20 */ blr - -.global sub_800fa4b4 -sub_800fa4b4: -/* 800FA4B4 000F7414 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800FA4B8 000F7418 7C 08 02 A6 */ mflr r0 -/* 800FA4BC 000F741C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800FA4C0 000F7420 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800FA4C4 000F7424 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800FA4C8 000F7428 7C 9E 23 78 */ mr r30, r4 -/* 800FA4CC 000F742C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800FA4D0 000F7430 7C 7D 1B 79 */ or. r29, r3, r3 -/* 800FA4D4 000F7434 41 82 00 38 */ beq lbl_800FA50C -/* 800FA4D8 000F7438 83 FD 00 04 */ lwz r31, 4(r29) -/* 800FA4DC 000F743C 48 00 00 14 */ b lbl_800FA4F0 -lbl_800FA4E0: -/* 800FA4E0 000F7440 7F E3 FB 79 */ or. r3, r31, r31 -/* 800FA4E4 000F7444 83 FF 00 04 */ lwz r31, 4(r31) -/* 800FA4E8 000F7448 41 82 00 08 */ beq lbl_800FA4F0 -/* 800FA4EC 000F744C 48 21 B4 45 */ bl Free__7CMemoryFPCv -lbl_800FA4F0: -/* 800FA4F0 000F7450 80 1D 00 08 */ lwz r0, 8(r29) -/* 800FA4F4 000F7454 7C 1F 00 40 */ cmplw r31, r0 -/* 800FA4F8 000F7458 40 82 FF E8 */ bne lbl_800FA4E0 -/* 800FA4FC 000F745C 7F C0 07 35 */ extsh. r0, r30 -/* 800FA500 000F7460 40 81 00 0C */ ble lbl_800FA50C -/* 800FA504 000F7464 7F A3 EB 78 */ mr r3, r29 -/* 800FA508 000F7468 48 21 B4 29 */ bl Free__7CMemoryFPCv -lbl_800FA50C: -/* 800FA50C 000F746C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800FA510 000F7470 7F A3 EB 78 */ mr r3, r29 -/* 800FA514 000F7474 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800FA518 000F7478 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800FA51C 000F747C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800FA520 000F7480 7C 08 03 A6 */ mtlr r0 -/* 800FA524 000F7484 38 21 00 20 */ addi r1, r1, 0x20 -/* 800FA528 000F7488 4E 80 00 20 */ blr - -.global __sinit_CMorphBall_cpp -__sinit_CMorphBall_cpp: -/* 800FA52C 000F748C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FA530 000F7490 7C 08 02 A6 */ mflr r0 -/* 800FA534 000F7494 3C 80 80 3D */ lis r4, lbl_803CE910@ha -/* 800FA538 000F7498 3C A0 80 47 */ lis r5, lbl_8046C4F8@ha -/* 800FA53C 000F749C 38 C4 E9 10 */ addi r6, r4, lbl_803CE910@l -/* 800FA540 000F74A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FA544 000F74A4 81 26 00 00 */ lwz r9, 0(r6) -/* 800FA548 000F74A8 38 00 00 00 */ li r0, 0 -/* 800FA54C 000F74AC 81 06 00 40 */ lwz r8, 0x40(r6) -/* 800FA550 000F74B0 3C 60 80 57 */ lis r3, lbl_8056D4F4@ha -/* 800FA554 000F74B4 80 E6 01 00 */ lwz r7, 0x100(r6) -/* 800FA558 000F74B8 3C 80 80 10 */ lis r4, sub_800fa590@ha -/* 800FA55C 000F74BC 80 C6 01 40 */ lwz r6, 0x140(r6) -/* 800FA560 000F74C0 38 84 A5 90 */ addi r4, r4, sub_800fa590@l -/* 800FA564 000F74C4 91 2D A3 2C */ stw r9, lbl_805A8EEC@sda21(r13) -/* 800FA568 000F74C8 38 A5 C4 F8 */ addi r5, r5, lbl_8046C4F8@l -/* 800FA56C 000F74CC 91 0D A3 30 */ stw r8, lbl_805A8EF0@sda21(r13) -/* 800FA570 000F74D0 90 ED A3 34 */ stw r7, lbl_805A8EF4@sda21(r13) -/* 800FA574 000F74D4 90 CD A3 38 */ stw r6, lbl_805A8EF8@sda21(r13) -/* 800FA578 000F74D8 94 03 D4 F4 */ stwu r0, lbl_8056D4F4@l(r3) -/* 800FA57C 000F74DC 48 28 F1 11 */ bl __register_global_object -/* 800FA580 000F74E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FA584 000F74E4 7C 08 03 A6 */ mtlr r0 -/* 800FA588 000F74E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FA58C 000F74EC 4E 80 00 20 */ blr - -.global sub_800fa590 -sub_800fa590: -/* 800FA590 000F74F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FA594 000F74F4 7C 08 02 A6 */ mflr r0 -/* 800FA598 000F74F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FA59C 000F74FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FA5A0 000F7500 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800FA5A4 000F7504 41 82 00 68 */ beq lbl_800FA60C -/* 800FA5A8 000F7508 80 DF 00 00 */ lwz r6, 0(r31) -/* 800FA5AC 000F750C 38 60 00 00 */ li r3, 0 -/* 800FA5B0 000F7510 2C 06 00 00 */ cmpwi r6, 0 -/* 800FA5B4 000F7514 40 81 00 40 */ ble lbl_800FA5F4 -/* 800FA5B8 000F7518 2C 06 00 08 */ cmpwi r6, 8 -/* 800FA5BC 000F751C 38 A6 FF F8 */ addi r5, r6, -8 -/* 800FA5C0 000F7520 40 81 00 20 */ ble lbl_800FA5E0 -/* 800FA5C4 000F7524 38 05 00 07 */ addi r0, r5, 7 -/* 800FA5C8 000F7528 54 00 E8 FE */ srwi r0, r0, 3 -/* 800FA5CC 000F752C 7C 09 03 A6 */ mtctr r0 -/* 800FA5D0 000F7530 2C 05 00 00 */ cmpwi r5, 0 -/* 800FA5D4 000F7534 40 81 00 0C */ ble lbl_800FA5E0 -lbl_800FA5D8: -/* 800FA5D8 000F7538 38 63 00 08 */ addi r3, r3, 8 -/* 800FA5DC 000F753C 42 00 FF FC */ bdnz lbl_800FA5D8 -lbl_800FA5E0: -/* 800FA5E0 000F7540 7C 03 30 50 */ subf r0, r3, r6 -/* 800FA5E4 000F7544 7C 09 03 A6 */ mtctr r0 -/* 800FA5E8 000F7548 7C 03 30 00 */ cmpw r3, r6 -/* 800FA5EC 000F754C 40 80 00 08 */ bge lbl_800FA5F4 -lbl_800FA5F0: -/* 800FA5F0 000F7550 42 00 00 00 */ bdnz lbl_800FA5F0 -lbl_800FA5F4: -/* 800FA5F4 000F7554 38 60 00 00 */ li r3, 0 -/* 800FA5F8 000F7558 7C 80 07 35 */ extsh. r0, r4 -/* 800FA5FC 000F755C 90 7F 00 00 */ stw r3, 0(r31) -/* 800FA600 000F7560 40 81 00 0C */ ble lbl_800FA60C -/* 800FA604 000F7564 7F E3 FB 78 */ mr r3, r31 -/* 800FA608 000F7568 48 21 B3 29 */ bl Free__7CMemoryFPCv -lbl_800FA60C: -/* 800FA60C 000F756C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FA610 000F7570 7F E3 FB 78 */ mr r3, r31 -/* 800FA614 000F7574 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FA618 000F7578 7C 08 03 A6 */ mtlr r0 -/* 800FA61C 000F757C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FA620 000F7580 4E 80 00 20 */ blr - -.global Accept__24CScriptDamageableTriggerFR8IVisitor -Accept__24CScriptDamageableTriggerFR8IVisitor: -/* 800FA624 000F7584 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FA628 000F7588 7C 08 02 A6 */ mflr r0 -/* 800FA62C 000F758C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FA630 000F7590 7C 60 1B 78 */ mr r0, r3 -/* 800FA634 000F7594 7C 83 23 78 */ mr r3, r4 -/* 800FA638 000F7598 81 84 00 00 */ lwz r12, 0(r4) -/* 800FA63C 000F759C 7C 04 03 78 */ mr r4, r0 -/* 800FA640 000F75A0 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FA644 000F75A4 7D 89 03 A6 */ mtctr r12 -/* 800FA648 000F75A8 4E 80 04 21 */ bctrl -/* 800FA64C 000F75AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FA650 000F75B0 7C 08 03 A6 */ mtlr r0 -/* 800FA654 000F75B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FA658 000F75B8 4E 80 00 20 */ blr - -.global GetCollisionResponseType__24CScriptDamageableTriggerCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__24CScriptDamageableTriggerCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 800FA65C 000F75BC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FA660 000F75C0 7C 08 02 A6 */ mflr r0 -/* 800FA664 000F75C4 7C C4 33 78 */ mr r4, r6 -/* 800FA668 000F75C8 38 A0 00 00 */ li r5, 0 -/* 800FA66C 000F75CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FA670 000F75D0 38 63 01 74 */ addi r3, r3, 0x174 -/* 800FA674 000F75D4 48 00 80 95 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 800FA678 000F75D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FA67C 000F75DC 38 60 00 0F */ li r3, 0xf -/* 800FA680 000F75E0 41 82 00 08 */ beq lbl_800FA688 -/* 800FA684 000F75E4 38 60 00 0D */ li r3, 0xd -lbl_800FA688: -/* 800FA688 000F75E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FA68C 000F75EC 7C 08 03 A6 */ mtlr r0 -/* 800FA690 000F75F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FA694 000F75F4 4E 80 00 20 */ blr - -.global Render__24CScriptDamageableTriggerCFRC13CStateManager -Render__24CScriptDamageableTriggerCFRC13CStateManager: -/* 800FA698 000F75F8 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 800FA69C 000F75FC 7C 08 02 A6 */ mflr r0 -/* 800FA6A0 000F7600 90 01 01 54 */ stw r0, 0x154(r1) -/* 800FA6A4 000F7604 93 E1 01 4C */ stw r31, 0x14c(r1) -/* 800FA6A8 000F7608 7C 9F 23 78 */ mr r31, r4 -/* 800FA6AC 000F760C 93 C1 01 48 */ stw r30, 0x148(r1) -/* 800FA6B0 000F7610 7C 7E 1B 78 */ mr r30, r3 -/* 800FA6B4 000F7614 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800FA6B8 000F7618 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FA6BC 000F761C 41 82 01 5C */ beq lbl_800FA818 -/* 800FA6C0 000F7620 80 1E 01 DC */ lwz r0, 0x1dc(r30) -/* 800FA6C4 000F7624 28 00 00 00 */ cmplwi r0, 0 -/* 800FA6C8 000F7628 41 82 01 50 */ beq lbl_800FA818 -/* 800FA6CC 000F762C C0 5E 01 E0 */ lfs f2, 0x1e0(r30) -/* 800FA6D0 000F7630 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) -/* 800FA6D4 000F7634 C0 02 93 3C */ lfs f0, lbl_805AB05C@sda21(r2) -/* 800FA6D8 000F7638 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800FA6DC 000F763C FC 20 0A 10 */ fabs f1, f1 -/* 800FA6E0 000F7640 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FA6E4 000F7644 41 80 01 34 */ blt lbl_800FA818 -/* 800FA6E8 000F7648 C0 5E 01 60 */ lfs f2, 0x160(r30) -/* 800FA6EC 000F764C 38 61 00 94 */ addi r3, r1, 0x94 -/* 800FA6F0 000F7650 C0 7E 01 5C */ lfs f3, 0x15c(r30) -/* 800FA6F4 000F7654 38 81 00 3C */ addi r4, r1, 0x3c -/* 800FA6F8 000F7658 C0 3E 01 58 */ lfs f1, 0x158(r30) -/* 800FA6FC 000F765C 38 A1 00 30 */ addi r5, r1, 0x30 -/* 800FA700 000F7660 C0 9E 01 54 */ lfs f4, 0x154(r30) -/* 800FA704 000F7664 C0 BE 01 50 */ lfs f5, 0x150(r30) -/* 800FA708 000F7668 C0 1E 01 4C */ lfs f0, 0x14c(r30) -/* 800FA70C 000F766C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 800FA710 000F7670 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 800FA714 000F7674 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 800FA718 000F7678 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800FA71C 000F767C D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 800FA720 000F7680 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 800FA724 000F7684 48 23 DD E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800FA728 000F7688 38 61 00 64 */ addi r3, r1, 0x64 -/* 800FA72C 000F768C 38 81 00 94 */ addi r4, r1, 0x94 -/* 800FA730 000F7690 38 BE 02 14 */ addi r5, r30, 0x214 -/* 800FA734 000F7694 48 23 D1 C9 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 800FA738 000F7698 C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) -/* 800FA73C 000F769C 38 A0 00 00 */ li r5, 0 -/* 800FA740 000F76A0 C0 C1 00 64 */ lfs f6, 0x64(r1) -/* 800FA744 000F76A4 38 61 00 AC */ addi r3, r1, 0xac -/* 800FA748 000F76A8 C0 A1 00 68 */ lfs f5, 0x68(r1) -/* 800FA74C 000F76AC 38 9E 02 44 */ addi r4, r30, 0x244 -/* 800FA750 000F76B0 C0 81 00 6C */ lfs f4, 0x6c(r1) -/* 800FA754 000F76B4 C0 61 00 70 */ lfs f3, 0x70(r1) -/* 800FA758 000F76B8 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 800FA75C 000F76BC C0 21 00 78 */ lfs f1, 0x78(r1) -/* 800FA760 000F76C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800FA764 000F76C4 D0 C1 00 7C */ stfs f6, 0x7c(r1) -/* 800FA768 000F76C8 D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 800FA76C 000F76CC D0 81 00 84 */ stfs f4, 0x84(r1) -/* 800FA770 000F76D0 D0 61 00 88 */ stfs f3, 0x88(r1) -/* 800FA774 000F76D4 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 800FA778 000F76D8 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 800FA77C 000F76DC 98 A1 00 60 */ stb r5, 0x60(r1) -/* 800FA780 000F76E0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800FA784 000F76E4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800FA788 000F76E8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800FA78C 000F76EC B0 01 00 20 */ sth r0, 0x20(r1) -/* 800FA790 000F76F0 48 21 89 B1 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800FA794 000F76F4 38 61 00 DC */ addi r3, r1, 0xdc -/* 800FA798 000F76F8 38 9E 00 34 */ addi r4, r30, 0x34 -/* 800FA79C 000F76FC 38 A1 00 AC */ addi r5, r1, 0xac -/* 800FA7A0 000F7700 48 21 81 B1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800FA7A4 000F7704 38 61 01 0C */ addi r3, r1, 0x10c -/* 800FA7A8 000F7708 38 81 00 DC */ addi r4, r1, 0xdc -/* 800FA7AC 000F770C 38 BE 01 E4 */ addi r5, r30, 0x1e4 -/* 800FA7B0 000F7710 48 21 81 A1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800FA7B4 000F7714 38 01 00 20 */ addi r0, r1, 0x20 -/* 800FA7B8 000F7718 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800FA7BC 000F771C 90 01 00 08 */ stw r0, 8(r1) -/* 800FA7C0 000F7720 39 00 00 00 */ li r8, 0 -/* 800FA7C4 000F7724 38 E3 66 70 */ addi r7, r3, skIdentity4f@l -/* 800FA7C8 000F7728 38 01 00 24 */ addi r0, r1, 0x24 -/* 800FA7CC 000F772C 91 01 00 0C */ stw r8, 0xc(r1) -/* 800FA7D0 000F7730 38 7E 02 54 */ addi r3, r30, 0x254 -/* 800FA7D4 000F7734 7F E4 FB 78 */ mr r4, r31 -/* 800FA7D8 000F7738 38 A1 00 7C */ addi r5, r1, 0x7c -/* 800FA7DC 000F773C 91 01 00 10 */ stw r8, 0x10(r1) -/* 800FA7E0 000F7740 38 C1 01 0C */ addi r6, r1, 0x10c -/* 800FA7E4 000F7744 39 3E 00 E8 */ addi r9, r30, 0xe8 -/* 800FA7E8 000F7748 39 41 00 48 */ addi r10, r1, 0x48 -/* 800FA7EC 000F774C 91 01 00 14 */ stw r8, 0x14(r1) -/* 800FA7F0 000F7750 39 00 00 01 */ li r8, 1 -/* 800FA7F4 000F7754 90 01 00 18 */ stw r0, 0x18(r1) -/* 800FA7F8 000F7758 81 9E 02 54 */ lwz r12, 0x254(r30) -/* 800FA7FC 000F775C C0 3E 01 E0 */ lfs f1, 0x1e0(r30) -/* 800FA800 000F7760 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800FA804 000F7764 7D 89 03 A6 */ mtctr r12 -/* 800FA808 000F7768 4E 80 04 21 */ bctrl -/* 800FA80C 000F776C 38 61 00 48 */ addi r3, r1, 0x48 -/* 800FA810 000F7770 38 80 FF FF */ li r4, -1 -/* 800FA814 000F7774 48 00 00 2D */ bl sub_800fa840 -lbl_800FA818: -/* 800FA818 000F7778 7F C3 F3 78 */ mr r3, r30 -/* 800FA81C 000F777C 7F E4 FB 78 */ mr r4, r31 -/* 800FA820 000F7780 4B F5 9F 85 */ bl Render__6CActorCFRC13CStateManager -/* 800FA824 000F7784 80 01 01 54 */ lwz r0, 0x154(r1) -/* 800FA828 000F7788 83 E1 01 4C */ lwz r31, 0x14c(r1) -/* 800FA82C 000F778C 83 C1 01 48 */ lwz r30, 0x148(r1) -/* 800FA830 000F7790 7C 08 03 A6 */ mtlr r0 -/* 800FA834 000F7794 38 21 01 50 */ addi r1, r1, 0x150 -/* 800FA838 000F7798 4E 80 00 20 */ blr - -.global "Render__11CFluidPlaneCFRC13CStateManagerRC6CAABoxRC12CTransform4fRC12CTransform4fbRC14CFrustumPlanesRCQ24rstl33optional_object<14CRippleManager>9TUniqueIdPCbiiRC9CVector3f" -"Render__11CFluidPlaneCFRC13CStateManagerRC6CAABoxRC12CTransform4fRC12CTransform4fbRC14CFrustumPlanesRCQ24rstl33optional_object<14CRippleManager>9TUniqueIdPCbiiRC9CVector3f": -/* 800FA83C 000F779C 4E 80 00 20 */ blr - -.global sub_800fa840 -sub_800fa840: -/* 800FA840 000F77A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FA844 000F77A4 7C 08 02 A6 */ mflr r0 -/* 800FA848 000F77A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FA84C 000F77AC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FA850 000F77B0 7C 9F 23 78 */ mr r31, r4 -/* 800FA854 000F77B4 93 C1 00 08 */ stw r30, 8(r1) -/* 800FA858 000F77B8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800FA85C 000F77BC 41 82 00 18 */ beq lbl_800FA874 -/* 800FA860 000F77C0 48 00 00 31 */ bl sub_800fa890 -/* 800FA864 000F77C4 7F E0 07 35 */ extsh. r0, r31 -/* 800FA868 000F77C8 40 81 00 0C */ ble lbl_800FA874 -/* 800FA86C 000F77CC 7F C3 F3 78 */ mr r3, r30 -/* 800FA870 000F77D0 48 21 B0 C1 */ bl Free__7CMemoryFPCv -lbl_800FA874: -/* 800FA874 000F77D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FA878 000F77D8 7F C3 F3 78 */ mr r3, r30 -/* 800FA87C 000F77DC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FA880 000F77E0 83 C1 00 08 */ lwz r30, 8(r1) -/* 800FA884 000F77E4 7C 08 03 A6 */ mtlr r0 -/* 800FA888 000F77E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FA88C 000F77EC 4E 80 00 20 */ blr - -.global sub_800fa890 -sub_800fa890: -/* 800FA890 000F77F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FA894 000F77F4 7C 08 02 A6 */ mflr r0 -/* 800FA898 000F77F8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FA89C 000F77FC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FA8A0 000F7800 7C 7F 1B 78 */ mr r31, r3 -/* 800FA8A4 000F7804 88 03 00 18 */ lbz r0, 0x18(r3) -/* 800FA8A8 000F7808 28 00 00 00 */ cmplwi r0, 0 -/* 800FA8AC 000F780C 41 82 00 08 */ beq lbl_800FA8B4 -/* 800FA8B0 000F7810 48 00 00 21 */ bl sub_800fa8d0 -lbl_800FA8B4: -/* 800FA8B4 000F7814 38 00 00 00 */ li r0, 0 -/* 800FA8B8 000F7818 98 1F 00 18 */ stb r0, 0x18(r31) -/* 800FA8BC 000F781C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FA8C0 000F7820 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FA8C4 000F7824 7C 08 03 A6 */ mtlr r0 -/* 800FA8C8 000F7828 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FA8CC 000F782C 4E 80 00 20 */ blr - -.global sub_800fa8d0 -sub_800fa8d0: -/* 800FA8D0 000F7830 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800FA8D4 000F7834 7C 08 02 A6 */ mflr r0 -/* 800FA8D8 000F7838 28 03 00 00 */ cmplwi r3, 0 -/* 800FA8DC 000F783C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800FA8E0 000F7840 41 82 00 4C */ beq lbl_800FA92C -/* 800FA8E4 000F7844 34 03 00 04 */ addic. r0, r3, 4 -/* 800FA8E8 000F7848 41 82 00 44 */ beq lbl_800FA92C -/* 800FA8EC 000F784C 80 03 00 08 */ lwz r0, 8(r3) -/* 800FA8F0 000F7850 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FA8F4 000F7854 54 00 30 32 */ slwi r0, r0, 6 -/* 800FA8F8 000F7858 7C 03 02 14 */ add r0, r3, r0 -/* 800FA8FC 000F785C 90 61 00 0C */ stw r3, 0xc(r1) -/* 800FA900 000F7860 7C 64 1B 78 */ mr r4, r3 -/* 800FA904 000F7864 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FA908 000F7868 90 01 00 10 */ stw r0, 0x10(r1) -/* 800FA90C 000F786C 90 61 00 08 */ stw r3, 8(r1) -/* 800FA910 000F7870 48 00 00 08 */ b lbl_800FA918 -lbl_800FA914: -/* 800FA914 000F7874 38 84 00 40 */ addi r4, r4, 0x40 -lbl_800FA918: -/* 800FA918 000F7878 7C 04 00 40 */ cmplw r4, r0 -/* 800FA91C 000F787C 40 82 FF F8 */ bne lbl_800FA914 -/* 800FA920 000F7880 28 03 00 00 */ cmplwi r3, 0 -/* 800FA924 000F7884 41 82 00 08 */ beq lbl_800FA92C -/* 800FA928 000F7888 48 21 B0 09 */ bl Free__7CMemoryFPCv -lbl_800FA92C: -/* 800FA92C 000F788C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800FA930 000F7890 7C 08 03 A6 */ mtlr r0 -/* 800FA934 000F7894 38 21 00 20 */ addi r1, r1, 0x20 -/* 800FA938 000F7898 4E 80 00 20 */ blr - -.global AddToRenderer__24CScriptDamageableTriggerCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__24CScriptDamageableTriggerCFRC14CFrustumPlanesRC13CStateManager: -/* 800FA93C 000F789C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800FA940 000F78A0 7C 08 02 A6 */ mflr r0 -/* 800FA944 000F78A4 90 01 00 44 */ stw r0, 0x44(r1) -/* 800FA948 000F78A8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800FA94C 000F78AC 7C BF 2B 78 */ mr r31, r5 -/* 800FA950 000F78B0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800FA954 000F78B4 7C 7E 1B 78 */ mr r30, r3 -/* 800FA958 000F78B8 88 03 03 00 */ lbz r0, 0x300(r3) -/* 800FA95C 000F78BC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800FA960 000F78C0 40 82 00 60 */ bne lbl_800FA9C0 -/* 800FA964 000F78C4 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 800FA968 000F78C8 7F C4 F3 78 */ mr r4, r30 -/* 800FA96C 000F78CC C0 1E 02 48 */ lfs f0, 0x248(r30) -/* 800FA970 000F78D0 38 61 00 14 */ addi r3, r1, 0x14 -/* 800FA974 000F78D4 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 800FA978 000F78D8 C0 5E 02 4C */ lfs f2, 0x24c(r30) -/* 800FA97C 000F78DC EC 81 00 28 */ fsubs f4, f1, f0 -/* 800FA980 000F78E0 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 800FA984 000F78E4 C0 1E 02 44 */ lfs f0, 0x244(r30) -/* 800FA988 000F78E8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 800FA98C 000F78EC D0 81 00 0C */ stfs f4, 0xc(r1) -/* 800FA990 000F78F0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800FA994 000F78F4 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 800FA998 000F78F8 D0 01 00 08 */ stfs f0, 8(r1) -/* 800FA99C 000F78FC 81 9E 00 00 */ lwz r12, 0(r30) -/* 800FA9A0 000F7900 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800FA9A4 000F7904 7D 89 03 A6 */ mtctr r12 -/* 800FA9A8 000F7908 4E 80 04 21 */ bctrl -/* 800FA9AC 000F790C 7F C3 F3 78 */ mr r3, r30 -/* 800FA9B0 000F7910 7F E4 FB 78 */ mr r4, r31 -/* 800FA9B4 000F7914 38 A1 00 08 */ addi r5, r1, 8 -/* 800FA9B8 000F7918 38 C1 00 14 */ addi r6, r1, 0x14 -/* 800FA9BC 000F791C 4B F5 A0 ED */ bl EnsureRendered__6CActorCFRC13CStateManagerRC9CVector3f -lbl_800FA9C0: -/* 800FA9C0 000F7920 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800FA9C4 000F7924 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800FA9C8 000F7928 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800FA9CC 000F792C 7C 08 03 A6 */ mtlr r0 -/* 800FA9D0 000F7930 38 21 00 40 */ addi r1, r1, 0x40 -/* 800FA9D4 000F7934 4E 80 00 20 */ blr - -.global PreRender__24CScriptDamageableTriggerFR13CStateManagerRC14CFrustumPlanes -PreRender__24CScriptDamageableTriggerFR13CStateManagerRC14CFrustumPlanes: -/* 800FA9D8 000F7938 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800FA9DC 000F793C 7C 08 02 A6 */ mflr r0 -/* 800FA9E0 000F7940 90 01 00 54 */ stw r0, 0x54(r1) -/* 800FA9E4 000F7944 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800FA9E8 000F7948 7C BF 2B 78 */ mr r31, r5 -/* 800FA9EC 000F794C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800FA9F0 000F7950 7C 9E 23 78 */ mr r30, r4 -/* 800FA9F4 000F7954 38 81 00 20 */ addi r4, r1, 0x20 -/* 800FA9F8 000F7958 93 A1 00 44 */ stw r29, 0x44(r1) -/* 800FA9FC 000F795C 7C 7D 1B 78 */ mr r29, r3 -/* 800FAA00 000F7960 38 BD 00 34 */ addi r5, r29, 0x34 -/* 800FAA04 000F7964 C0 03 01 4C */ lfs f0, 0x14c(r3) -/* 800FAA08 000F7968 38 61 00 08 */ addi r3, r1, 8 -/* 800FAA0C 000F796C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800FAA10 000F7970 C0 1D 01 50 */ lfs f0, 0x150(r29) -/* 800FAA14 000F7974 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800FAA18 000F7978 C0 1D 01 54 */ lfs f0, 0x154(r29) -/* 800FAA1C 000F797C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800FAA20 000F7980 C0 1D 01 58 */ lfs f0, 0x158(r29) -/* 800FAA24 000F7984 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800FAA28 000F7988 C0 1D 01 5C */ lfs f0, 0x15c(r29) -/* 800FAA2C 000F798C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800FAA30 000F7990 C0 1D 01 60 */ lfs f0, 0x160(r29) -/* 800FAA34 000F7994 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 800FAA38 000F7998 48 23 CE C5 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 800FAA3C 000F799C 7F E3 FB 78 */ mr r3, r31 -/* 800FAA40 000F79A0 38 81 00 08 */ addi r4, r1, 8 -/* 800FAA44 000F79A4 48 24 A7 8D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 800FAA48 000F79A8 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 800FAA4C 000F79AC 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 800FAA50 000F79B0 7C 63 00 34 */ cntlzw r3, r3 -/* 800FAA54 000F79B4 50 60 06 B4 */ rlwimi r0, r3, 0, 0x1a, 0x1a -/* 800FAA58 000F79B8 98 1D 03 00 */ stb r0, 0x300(r29) -/* 800FAA5C 000F79BC 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 800FAA60 000F79C0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800FAA64 000F79C4 40 82 00 D0 */ bne lbl_800FAB34 -/* 800FAA68 000F79C8 38 1D 00 E8 */ addi r0, r29, 0xe8 -/* 800FAA6C 000F79CC 7C 00 F8 40 */ cmplw r0, r31 -/* 800FAA70 000F79D0 41 82 00 B4 */ beq lbl_800FAB24 -/* 800FAA74 000F79D4 80 BD 00 E8 */ lwz r5, 0xe8(r29) -/* 800FAA78 000F79D8 38 DD 00 EC */ addi r6, r29, 0xec -/* 800FAA7C 000F79DC 38 60 00 00 */ li r3, 0 -/* 800FAA80 000F79E0 2C 05 00 00 */ cmpwi r5, 0 -/* 800FAA84 000F79E4 40 81 00 40 */ ble lbl_800FAAC4 -/* 800FAA88 000F79E8 2C 05 00 08 */ cmpwi r5, 8 -/* 800FAA8C 000F79EC 38 85 FF F8 */ addi r4, r5, -8 -/* 800FAA90 000F79F0 40 81 00 20 */ ble lbl_800FAAB0 -/* 800FAA94 000F79F4 38 04 00 07 */ addi r0, r4, 7 -/* 800FAA98 000F79F8 54 00 E8 FE */ srwi r0, r0, 3 -/* 800FAA9C 000F79FC 7C 09 03 A6 */ mtctr r0 -/* 800FAAA0 000F7A00 2C 04 00 00 */ cmpwi r4, 0 -/* 800FAAA4 000F7A04 40 81 00 0C */ ble lbl_800FAAB0 -lbl_800FAAA8: -/* 800FAAA8 000F7A08 38 63 00 08 */ addi r3, r3, 8 -/* 800FAAAC 000F7A0C 42 00 FF FC */ bdnz lbl_800FAAA8 -lbl_800FAAB0: -/* 800FAAB0 000F7A10 7C 03 28 50 */ subf r0, r3, r5 -/* 800FAAB4 000F7A14 7C 09 03 A6 */ mtctr r0 -/* 800FAAB8 000F7A18 7C 03 28 00 */ cmpw r3, r5 -/* 800FAABC 000F7A1C 40 80 00 08 */ bge lbl_800FAAC4 -lbl_800FAAC0: -/* 800FAAC0 000F7A20 42 00 00 00 */ bdnz lbl_800FAAC0 -lbl_800FAAC4: -/* 800FAAC4 000F7A24 38 00 00 00 */ li r0, 0 -/* 800FAAC8 000F7A28 38 7F 00 04 */ addi r3, r31, 4 -/* 800FAACC 000F7A2C 90 1D 00 E8 */ stw r0, 0xe8(r29) -/* 800FAAD0 000F7A30 80 1F 00 00 */ lwz r0, 0(r31) -/* 800FAAD4 000F7A34 54 00 20 36 */ slwi r0, r0, 4 -/* 800FAAD8 000F7A38 7C 9F 02 14 */ add r4, r31, r0 -/* 800FAADC 000F7A3C 38 84 00 04 */ addi r4, r4, 4 -/* 800FAAE0 000F7A40 48 00 00 34 */ b lbl_800FAB14 -lbl_800FAAE4: -/* 800FAAE4 000F7A44 28 06 00 00 */ cmplwi r6, 0 -/* 800FAAE8 000F7A48 41 82 00 24 */ beq lbl_800FAB0C -/* 800FAAEC 000F7A4C C0 03 00 00 */ lfs f0, 0(r3) -/* 800FAAF0 000F7A50 D0 06 00 00 */ stfs f0, 0(r6) -/* 800FAAF4 000F7A54 C0 03 00 04 */ lfs f0, 4(r3) -/* 800FAAF8 000F7A58 D0 06 00 04 */ stfs f0, 4(r6) -/* 800FAAFC 000F7A5C C0 03 00 08 */ lfs f0, 8(r3) -/* 800FAB00 000F7A60 D0 06 00 08 */ stfs f0, 8(r6) -/* 800FAB04 000F7A64 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800FAB08 000F7A68 D0 06 00 0C */ stfs f0, 0xc(r6) -lbl_800FAB0C: -/* 800FAB0C 000F7A6C 38 C6 00 10 */ addi r6, r6, 0x10 -/* 800FAB10 000F7A70 38 63 00 10 */ addi r3, r3, 0x10 -lbl_800FAB14: -/* 800FAB14 000F7A74 7C 03 20 40 */ cmplw r3, r4 -/* 800FAB18 000F7A78 40 82 FF CC */ bne lbl_800FAAE4 -/* 800FAB1C 000F7A7C 80 1F 00 00 */ lwz r0, 0(r31) -/* 800FAB20 000F7A80 90 1D 00 E8 */ stw r0, 0xe8(r29) -lbl_800FAB24: -/* 800FAB24 000F7A84 7F A3 EB 78 */ mr r3, r29 -/* 800FAB28 000F7A88 7F C4 F3 78 */ mr r4, r30 -/* 800FAB2C 000F7A8C 7F E5 FB 78 */ mr r5, r31 -/* 800FAB30 000F7A90 4B F5 A1 B1 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes -lbl_800FAB34: -/* 800FAB34 000F7A94 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800FAB38 000F7A98 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800FAB3C 000F7A9C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800FAB40 000F7AA0 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 800FAB44 000F7AA4 7C 08 03 A6 */ mtlr r0 -/* 800FAB48 000F7AA8 38 21 00 50 */ addi r1, r1, 0x50 -/* 800FAB4C 000F7AAC 4E 80 00 20 */ blr - -.global GetDamageVulnerability__24CScriptDamageableTriggerCFv -GetDamageVulnerability__24CScriptDamageableTriggerCFv: -/* 800FAB50 000F7AB0 38 63 01 74 */ addi r3, r3, 0x174 -/* 800FAB54 000F7AB4 4E 80 00 20 */ blr - -.global GetHealthInfo__24CScriptDamageableTriggerCFRC13CStateManager -GetHealthInfo__24CScriptDamageableTriggerCFRC13CStateManager: -/* 800FAB58 000F7AB8 38 63 01 6C */ addi r3, r3, 0x16c -/* 800FAB5C 000F7ABC 4E 80 00 20 */ blr - -.global Think__24CScriptDamageableTriggerFfR13CStateManager -Think__24CScriptDamageableTriggerFfR13CStateManager: -/* 800FAB60 000F7AC0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800FAB64 000F7AC4 7C 08 02 A6 */ mflr r0 -/* 800FAB68 000F7AC8 90 01 00 54 */ stw r0, 0x54(r1) -/* 800FAB6C 000F7ACC DB E1 00 40 */ stfd f31, 0x40(r1) -/* 800FAB70 000F7AD0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 800FAB74 000F7AD4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800FAB78 000F7AD8 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800FAB7C 000F7ADC 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800FAB80 000F7AE0 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800FAB84 000F7AE4 FF E0 08 90 */ fmr f31, f1 -/* 800FAB88 000F7AE8 7C 7E 1B 78 */ mr r30, r3 -/* 800FAB8C 000F7AEC 7C 9F 23 78 */ mr r31, r4 -/* 800FAB90 000F7AF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FAB94 000F7AF4 41 82 01 DC */ beq lbl_800FAD70 -/* 800FAB98 000F7AF8 80 BE 00 04 */ lwz r5, 4(r30) -/* 800FAB9C 000F7AFC 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 800FABA0 000F7B00 54 A3 18 38 */ slwi r3, r5, 3 -/* 800FABA4 000F7B04 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800FABA8 000F7B08 80 84 00 20 */ lwz r4, 0x20(r4) -/* 800FABAC 000F7B0C 38 03 00 04 */ addi r0, r3, 4 -/* 800FABB0 000F7B10 90 A1 00 18 */ stw r5, 0x18(r1) -/* 800FABB4 000F7B14 7C 64 00 2E */ lwzx r3, r4, r0 -/* 800FABB8 000F7B18 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 800FABBC 000F7B1C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FABC0 000F7B20 41 82 00 10 */ beq lbl_800FABD0 -/* 800FABC4 000F7B24 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 800FABC8 000F7B28 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 800FABCC 000F7B2C 48 00 00 08 */ b lbl_800FABD4 -lbl_800FABD0: -/* 800FABD0 000F7B30 38 00 00 00 */ li r0, 0 -lbl_800FABD4: -/* 800FABD4 000F7B34 20 60 00 01 */ subfic r3, r0, 1 -/* 800FABD8 000F7B38 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 800FABDC 000F7B3C 7C 63 00 34 */ cntlzw r3, r3 -/* 800FABE0 000F7B40 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18 -/* 800FABE4 000F7B44 98 1E 03 00 */ stb r0, 0x300(r30) -/* 800FABE8 000F7B48 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 800FABEC 000F7B4C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800FABF0 000F7B50 41 82 00 E8 */ beq lbl_800FACD8 -/* 800FABF4 000F7B54 C0 3E 02 50 */ lfs f1, 0x250(r30) -/* 800FABF8 000F7B58 C0 02 93 40 */ lfs f0, lbl_805AB060@sda21(r2) -/* 800FABFC 000F7B5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FAC00 000F7B60 4C 41 13 82 */ cror 2, 1, 2 -/* 800FAC04 000F7B64 40 82 01 30 */ bne lbl_800FAD34 -/* 800FAC08 000F7B68 7F C3 F3 78 */ mr r3, r30 -/* 800FAC0C 000F7B6C 38 80 00 00 */ li r4, 0 -/* 800FAC10 000F7B70 81 9E 00 00 */ lwz r12, 0(r30) -/* 800FAC14 000F7B74 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800FAC18 000F7B78 7D 89 03 A6 */ mtctr r12 -/* 800FAC1C 000F7B7C 4E 80 04 21 */ bctrl -/* 800FAC20 000F7B80 83 BE 00 2C */ lwz r29, 0x2c(r30) -/* 800FAC24 000F7B84 48 00 00 78 */ b lbl_800FAC9C -lbl_800FAC28: -/* 800FAC28 000F7B88 80 1D 00 00 */ lwz r0, 0(r29) -/* 800FAC2C 000F7B8C 2C 00 00 07 */ cmpwi r0, 7 -/* 800FAC30 000F7B90 40 82 00 68 */ bne lbl_800FAC98 -/* 800FAC34 000F7B94 80 1D 00 04 */ lwz r0, 4(r29) -/* 800FAC38 000F7B98 2C 00 00 01 */ cmpwi r0, 1 -/* 800FAC3C 000F7B9C 40 82 00 5C */ bne lbl_800FAC98 -/* 800FAC40 000F7BA0 80 1D 00 08 */ lwz r0, 8(r29) -/* 800FAC44 000F7BA4 7F E4 FB 78 */ mr r4, r31 -/* 800FAC48 000F7BA8 38 61 00 08 */ addi r3, r1, 8 -/* 800FAC4C 000F7BAC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800FAC50 000F7BB0 90 01 00 10 */ stw r0, 0x10(r1) -/* 800FAC54 000F7BB4 4B F4 D2 C9 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800FAC58 000F7BB8 A0 01 00 08 */ lhz r0, 8(r1) -/* 800FAC5C 000F7BBC 7F E3 FB 78 */ mr r3, r31 -/* 800FAC60 000F7BC0 38 81 00 0C */ addi r4, r1, 0xc -/* 800FAC64 000F7BC4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800FAC68 000F7BC8 4B F5 19 0D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800FAC6C 000F7BCC 7C 64 1B 78 */ mr r4, r3 -/* 800FAC70 000F7BD0 38 61 00 1C */ addi r3, r1, 0x1c -/* 800FAC74 000F7BD4 4B FB 10 F9 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" -/* 800FAC78 000F7BD8 80 63 00 04 */ lwz r3, 4(r3) -/* 800FAC7C 000F7BDC 28 03 00 00 */ cmplwi r3, 0 -/* 800FAC80 000F7BE0 41 82 00 18 */ beq lbl_800FAC98 -/* 800FAC84 000F7BE4 81 83 00 00 */ lwz r12, 0(r3) -/* 800FAC88 000F7BE8 38 80 00 00 */ li r4, 0 -/* 800FAC8C 000F7BEC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800FAC90 000F7BF0 7D 89 03 A6 */ mtctr r12 -/* 800FAC94 000F7BF4 4E 80 04 21 */ bctrl -lbl_800FAC98: -/* 800FAC98 000F7BF8 3B BD 00 0C */ addi r29, r29, 0xc -lbl_800FAC9C: -/* 800FAC9C 000F7BFC 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 800FACA0 000F7C00 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 800FACA4 000F7C04 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800FACA8 000F7C08 7C 03 02 14 */ add r0, r3, r0 -/* 800FACAC 000F7C0C 7C 1D 00 40 */ cmplw r29, r0 -/* 800FACB0 000F7C10 40 82 FF 78 */ bne lbl_800FAC28 -/* 800FACB4 000F7C14 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) -/* 800FACB8 000F7C18 7F C3 F3 78 */ mr r3, r30 -/* 800FACBC 000F7C1C 7F E4 FB 78 */ mr r4, r31 -/* 800FACC0 000F7C20 48 00 00 D5 */ bl SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager -/* 800FACC4 000F7C24 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 800FACC8 000F7C28 38 60 00 00 */ li r3, 0 -/* 800FACCC 000F7C2C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800FACD0 000F7C30 98 1E 03 00 */ stb r0, 0x300(r30) -/* 800FACD4 000F7C34 48 00 00 9C */ b lbl_800FAD70 -lbl_800FACD8: -/* 800FACD8 000F7C38 C0 3E 01 6C */ lfs f1, 0x16c(r30) -/* 800FACDC 000F7C3C C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) -/* 800FACE0 000F7C40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FACE4 000F7C44 4C 40 13 82 */ cror 2, 0, 2 -/* 800FACE8 000F7C48 40 82 00 4C */ bne lbl_800FAD34 -/* 800FACEC 000F7C4C 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 800FACF0 000F7C50 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FACF4 000F7C54 41 82 00 40 */ beq lbl_800FAD34 -/* 800FACF8 000F7C58 7F C3 F3 78 */ mr r3, r30 -/* 800FACFC 000F7C5C 7F E5 FB 78 */ mr r5, r31 -/* 800FAD00 000F7C60 38 80 00 0E */ li r4, 0xe -/* 800FAD04 000F7C64 38 C0 FF FF */ li r6, -1 -/* 800FAD08 000F7C68 4B F5 63 B9 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 800FAD0C 000F7C6C 7F C3 F3 78 */ mr r3, r30 -/* 800FAD10 000F7C70 7F E5 FB 78 */ mr r5, r31 -/* 800FAD14 000F7C74 38 80 00 29 */ li r4, 0x29 -/* 800FAD18 000F7C78 4B F5 92 69 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 800FAD1C 000F7C7C 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 800FAD20 000F7C80 38 60 00 01 */ li r3, 1 -/* 800FAD24 000F7C84 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800FAD28 000F7C88 C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) -/* 800FAD2C 000F7C8C 98 1E 03 00 */ stb r0, 0x300(r30) -/* 800FAD30 000F7C90 D0 1E 02 50 */ stfs f0, 0x250(r30) -lbl_800FAD34: -/* 800FAD34 000F7C94 C0 3E 02 50 */ lfs f1, 0x250(r30) -/* 800FAD38 000F7C98 C0 02 93 40 */ lfs f0, lbl_805AB060@sda21(r2) -/* 800FAD3C 000F7C9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FAD40 000F7CA0 4C 40 13 82 */ cror 2, 0, 2 -/* 800FAD44 000F7CA4 40 82 00 0C */ bne lbl_800FAD50 -/* 800FAD48 000F7CA8 EC 01 F8 2A */ fadds f0, f1, f31 -/* 800FAD4C 000F7CAC D0 1E 02 50 */ stfs f0, 0x250(r30) -lbl_800FAD50: -/* 800FAD50 000F7CB0 7F C3 F3 78 */ mr r3, r30 -/* 800FAD54 000F7CB4 48 00 01 79 */ bl GetPuddleAlphaScale__24CScriptDamageableTriggerCFv -/* 800FAD58 000F7CB8 C0 02 93 44 */ lfs f0, lbl_805AB064@sda21(r2) -/* 800FAD5C 000F7CBC 7F C3 F3 78 */ mr r3, r30 -/* 800FAD60 000F7CC0 7F E4 FB 78 */ mr r4, r31 -/* 800FAD64 000F7CC4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 800FAD68 000F7CC8 D0 1E 01 E0 */ stfs f0, 0x1e0(r30) -/* 800FAD6C 000F7CCC 48 00 00 29 */ bl SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager -lbl_800FAD70: -/* 800FAD70 000F7CD0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 800FAD74 000F7CD4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800FAD78 000F7CD8 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 800FAD7C 000F7CDC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800FAD80 000F7CE0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800FAD84 000F7CE4 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800FAD88 000F7CE8 7C 08 03 A6 */ mtlr r0 -/* 800FAD8C 000F7CEC 38 21 00 50 */ addi r1, r1, 0x50 -/* 800FAD90 000F7CF0 4E 80 00 20 */ blr - -.global SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager -SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager: -/* 800FAD94 000F7CF4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800FAD98 000F7CF8 7C 08 02 A6 */ mflr r0 -/* 800FAD9C 000F7CFC 90 01 00 54 */ stw r0, 0x54(r1) -/* 800FADA0 000F7D00 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 800FADA4 000F7D04 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 800FADA8 000F7D08 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 800FADAC 000F7D0C 7C 7C 1B 78 */ mr r28, r3 -/* 800FADB0 000F7D10 FF E0 08 90 */ fmr f31, f1 -/* 800FADB4 000F7D14 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 800FADB8 000F7D18 7C 9D 23 78 */ mr r29, r4 -/* 800FADBC 000F7D1C 3B C1 00 18 */ addi r30, r1, 0x18 -/* 800FADC0 000F7D20 48 00 00 D8 */ b lbl_800FAE98 -lbl_800FADC4: -/* 800FADC4 000F7D24 80 1F 00 00 */ lwz r0, 0(r31) -/* 800FADC8 000F7D28 2C 00 00 07 */ cmpwi r0, 7 -/* 800FADCC 000F7D2C 40 82 00 C8 */ bne lbl_800FAE94 -/* 800FADD0 000F7D30 80 1F 00 04 */ lwz r0, 4(r31) -/* 800FADD4 000F7D34 2C 00 00 01 */ cmpwi r0, 1 -/* 800FADD8 000F7D38 40 82 00 BC */ bne lbl_800FAE94 -/* 800FADDC 000F7D3C 80 1F 00 08 */ lwz r0, 8(r31) -/* 800FADE0 000F7D40 7F A4 EB 78 */ mr r4, r29 -/* 800FADE4 000F7D44 38 61 00 08 */ addi r3, r1, 8 -/* 800FADE8 000F7D48 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800FADEC 000F7D4C 90 01 00 10 */ stw r0, 0x10(r1) -/* 800FADF0 000F7D50 4B F4 D1 2D */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800FADF4 000F7D54 A0 01 00 08 */ lhz r0, 8(r1) -/* 800FADF8 000F7D58 7F A3 EB 78 */ mr r3, r29 -/* 800FADFC 000F7D5C 38 81 00 0C */ addi r4, r1, 0xc -/* 800FAE00 000F7D60 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800FAE04 000F7D64 4B F5 17 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800FAE08 000F7D68 7C 64 1B 78 */ mr r4, r3 -/* 800FAE0C 000F7D6C 38 61 00 1C */ addi r3, r1, 0x1c -/* 800FAE10 000F7D70 4B FB 0F 5D */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" -/* 800FAE14 000F7D74 83 63 00 04 */ lwz r27, 4(r3) -/* 800FAE18 000F7D78 28 1B 00 00 */ cmplwi r27, 0 -/* 800FAE1C 000F7D7C 41 82 00 78 */ beq lbl_800FAE94 -/* 800FAE20 000F7D80 88 1B 00 30 */ lbz r0, 0x30(r27) -/* 800FAE24 000F7D84 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FAE28 000F7D88 40 82 00 1C */ bne lbl_800FAE44 -/* 800FAE2C 000F7D8C 7F 63 DB 78 */ mr r3, r27 -/* 800FAE30 000F7D90 38 80 00 01 */ li r4, 1 -/* 800FAE34 000F7D94 81 9B 00 00 */ lwz r12, 0(r27) -/* 800FAE38 000F7D98 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800FAE3C 000F7D9C 7D 89 03 A6 */ mtctr r12 -/* 800FAE40 000F7DA0 4E 80 04 21 */ bctrl -lbl_800FAE44: -/* 800FAE44 000F7DA4 C0 22 93 48 */ lfs f1, lbl_805AB068@sda21(r2) -/* 800FAE48 000F7DA8 38 60 00 05 */ li r3, 5 -/* 800FAE4C 000F7DAC 38 80 00 00 */ li r4, 0 -/* 800FAE50 000F7DB0 38 00 00 03 */ li r0, 3 -/* 800FAE54 000F7DB4 FC 40 08 90 */ fmr f2, f1 -/* 800FAE58 000F7DB8 98 61 00 14 */ stb r3, 0x14(r1) -/* 800FAE5C 000F7DBC FC 60 08 90 */ fmr f3, f1 -/* 800FAE60 000F7DC0 7F C3 F3 78 */ mr r3, r30 -/* 800FAE64 000F7DC4 FC 80 F8 90 */ fmr f4, f31 -/* 800FAE68 000F7DC8 98 81 00 15 */ stb r4, 0x15(r1) -/* 800FAE6C 000F7DCC B0 01 00 16 */ sth r0, 0x16(r1) -/* 800FAE70 000F7DD0 48 26 85 7D */ bl __ct__6CColorFffff -/* 800FAE74 000F7DD4 88 01 00 14 */ lbz r0, 0x14(r1) -/* 800FAE78 000F7DD8 98 1B 00 B4 */ stb r0, 0xb4(r27) -/* 800FAE7C 000F7DDC 88 01 00 15 */ lbz r0, 0x15(r1) -/* 800FAE80 000F7DE0 98 1B 00 B5 */ stb r0, 0xb5(r27) -/* 800FAE84 000F7DE4 A0 01 00 16 */ lhz r0, 0x16(r1) -/* 800FAE88 000F7DE8 B0 1B 00 B6 */ sth r0, 0xb6(r27) -/* 800FAE8C 000F7DEC 80 01 00 18 */ lwz r0, 0x18(r1) -/* 800FAE90 000F7DF0 90 1B 00 B8 */ stw r0, 0xb8(r27) -lbl_800FAE94: -/* 800FAE94 000F7DF4 3B FF 00 0C */ addi r31, r31, 0xc -lbl_800FAE98: -/* 800FAE98 000F7DF8 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 800FAE9C 000F7DFC 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 800FAEA0 000F7E00 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800FAEA4 000F7E04 7C 03 02 14 */ add r0, r3, r0 -/* 800FAEA8 000F7E08 7C 1F 00 40 */ cmplw r31, r0 -/* 800FAEAC 000F7E0C 40 82 FF 18 */ bne lbl_800FADC4 -/* 800FAEB0 000F7E10 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 800FAEB4 000F7E14 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 800FAEB8 000F7E18 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 800FAEBC 000F7E1C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800FAEC0 000F7E20 7C 08 03 A6 */ mtlr r0 -/* 800FAEC4 000F7E24 38 21 00 50 */ addi r1, r1, 0x50 -/* 800FAEC8 000F7E28 4E 80 00 20 */ blr - -.global GetPuddleAlphaScale__24CScriptDamageableTriggerCFv -GetPuddleAlphaScale__24CScriptDamageableTriggerCFv: -/* 800FAECC 000F7E2C C0 23 02 50 */ lfs f1, 0x250(r3) -/* 800FAED0 000F7E30 C0 02 93 40 */ lfs f0, lbl_805AB060@sda21(r2) -/* 800FAED4 000F7E34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FAED8 000F7E38 4C 40 13 82 */ cror 2, 0, 2 -/* 800FAEDC 000F7E3C 40 82 00 28 */ bne lbl_800FAF04 -/* 800FAEE0 000F7E40 88 03 03 00 */ lbz r0, 0x300(r3) -/* 800FAEE4 000F7E44 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800FAEE8 000F7E48 41 82 00 14 */ beq lbl_800FAEFC -/* 800FAEEC 000F7E4C EC 01 00 24 */ fdivs f0, f1, f0 -/* 800FAEF0 000F7E50 C0 22 93 48 */ lfs f1, lbl_805AB068@sda21(r2) -/* 800FAEF4 000F7E54 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800FAEF8 000F7E58 4E 80 00 20 */ blr -lbl_800FAEFC: -/* 800FAEFC 000F7E5C EC 21 00 24 */ fdivs f1, f1, f0 -/* 800FAF00 000F7E60 4E 80 00 20 */ blr -lbl_800FAF04: -/* 800FAF04 000F7E64 88 03 03 00 */ lbz r0, 0x300(r3) -/* 800FAF08 000F7E68 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800FAF0C 000F7E6C 41 82 00 0C */ beq lbl_800FAF18 -/* 800FAF10 000F7E70 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) -/* 800FAF14 000F7E74 4E 80 00 20 */ blr -lbl_800FAF18: -/* 800FAF18 000F7E78 C0 22 93 48 */ lfs f1, lbl_805AB068@sda21(r2) -/* 800FAF1C 000F7E7C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__24CScriptDamageableTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__24CScriptDamageableTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800FAF20 000F7E80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800FAF24 000F7E84 7C 08 02 A6 */ mflr r0 -/* 800FAF28 000F7E88 90 01 00 24 */ stw r0, 0x24(r1) -/* 800FAF2C 000F7E8C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800FAF30 000F7E90 7C DF 33 78 */ mr r31, r6 -/* 800FAF34 000F7E94 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800FAF38 000F7E98 7C BE 2B 78 */ mr r30, r5 -/* 800FAF3C 000F7E9C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800FAF40 000F7EA0 7C 9D 23 78 */ mr r29, r4 -/* 800FAF44 000F7EA4 2C 1D 00 06 */ cmpwi r29, 6 -/* 800FAF48 000F7EA8 93 81 00 10 */ stw r28, 0x10(r1) -/* 800FAF4C 000F7EAC 7C 7C 1B 78 */ mr r28, r3 -/* 800FAF50 000F7EB0 41 82 01 0C */ beq lbl_800FB05C -/* 800FAF54 000F7EB4 40 80 00 1C */ bge lbl_800FAF70 -/* 800FAF58 000F7EB8 2C 1D 00 04 */ cmpwi r29, 4 -/* 800FAF5C 000F7EBC 41 82 00 2C */ beq lbl_800FAF88 -/* 800FAF60 000F7EC0 40 80 00 EC */ bge lbl_800FB04C -/* 800FAF64 000F7EC4 2C 1D 00 01 */ cmpwi r29, 1 -/* 800FAF68 000F7EC8 41 82 00 38 */ beq lbl_800FAFA0 -/* 800FAF6C 000F7ECC 48 00 00 F0 */ b lbl_800FB05C -lbl_800FAF70: -/* 800FAF70 000F7ED0 2C 1D 00 29 */ cmpwi r29, 0x29 -/* 800FAF74 000F7ED4 41 82 00 A4 */ beq lbl_800FB018 -/* 800FAF78 000F7ED8 40 80 00 E4 */ bge lbl_800FB05C -/* 800FAF7C 000F7EDC 2C 1D 00 08 */ cmpwi r29, 8 -/* 800FAF80 000F7EE0 40 80 00 DC */ bge lbl_800FB05C -/* 800FAF84 000F7EE4 48 00 00 B4 */ b lbl_800FB038 -lbl_800FAF88: -/* 800FAF88 000F7EE8 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800FAF8C 000F7EEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FAF90 000F7EF0 41 82 00 10 */ beq lbl_800FAFA0 -/* 800FAF94 000F7EF4 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 800FAF98 000F7EF8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800FAF9C 000F7EFC 40 82 00 DC */ bne lbl_800FB078 -lbl_800FAFA0: -/* 800FAFA0 000F7F00 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800FAFA4 000F7F04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FAFA8 000F7F08 41 82 00 10 */ beq lbl_800FAFB8 -/* 800FAFAC 000F7F0C 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 800FAFB0 000F7F10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800FAFB4 000F7F14 41 82 00 A8 */ beq lbl_800FB05C -lbl_800FAFB8: -/* 800FAFB8 000F7F18 C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) -/* 800FAFBC 000F7F1C 38 60 00 00 */ li r3, 0 -/* 800FAFC0 000F7F20 D0 1C 02 50 */ stfs f0, 0x250(r28) -/* 800FAFC4 000F7F24 C0 1C 01 64 */ lfs f0, 0x164(r28) -/* 800FAFC8 000F7F28 D0 1C 01 6C */ stfs f0, 0x16c(r28) -/* 800FAFCC 000F7F2C C0 1C 01 68 */ lfs f0, 0x168(r28) -/* 800FAFD0 000F7F30 D0 1C 01 70 */ stfs f0, 0x170(r28) -/* 800FAFD4 000F7F34 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 800FAFD8 000F7F38 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800FAFDC 000F7F3C 98 1C 03 00 */ stb r0, 0x300(r28) -/* 800FAFE0 000F7F40 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 800FAFE4 000F7F44 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 800FAFE8 000F7F48 41 82 00 14 */ beq lbl_800FAFFC -/* 800FAFEC 000F7F4C 7F 83 E3 78 */ mr r3, r28 -/* 800FAFF0 000F7F50 7F E5 FB 78 */ mr r5, r31 -/* 800FAFF4 000F7F54 38 80 00 29 */ li r4, 0x29 -/* 800FAFF8 000F7F58 4B F5 93 59 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_800FAFFC: -/* 800FAFFC 000F7F5C C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) -/* 800FB000 000F7F60 7F 83 E3 78 */ mr r3, r28 -/* 800FB004 000F7F64 7F E4 FB 78 */ mr r4, r31 -/* 800FB008 000F7F68 4B FF FD 8D */ bl SetLinkedObjectAlpha__24CScriptDamageableTriggerFfR13CStateManager -/* 800FB00C 000F7F6C C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) -/* 800FB010 000F7F70 D0 1C 01 E0 */ stfs f0, 0x1e0(r28) -/* 800FB014 000F7F74 48 00 00 48 */ b lbl_800FB05C -lbl_800FB018: -/* 800FB018 000F7F78 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 800FB01C 000F7F7C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 800FB020 000F7F80 41 82 00 3C */ beq lbl_800FB05C -/* 800FB024 000F7F84 C0 1C 01 64 */ lfs f0, 0x164(r28) -/* 800FB028 000F7F88 D0 1C 01 6C */ stfs f0, 0x16c(r28) -/* 800FB02C 000F7F8C C0 1C 01 68 */ lfs f0, 0x168(r28) -/* 800FB030 000F7F90 D0 1C 01 70 */ stfs f0, 0x170(r28) -/* 800FB034 000F7F94 48 00 00 28 */ b lbl_800FB05C -lbl_800FB038: -/* 800FB038 000F7F98 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 800FB03C 000F7F9C 38 60 00 01 */ li r3, 1 -/* 800FB040 000F7FA0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800FB044 000F7FA4 98 1C 03 00 */ stb r0, 0x300(r28) -/* 800FB048 000F7FA8 48 00 00 14 */ b lbl_800FB05C -lbl_800FB04C: -/* 800FB04C 000F7FAC 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 800FB050 000F7FB0 38 60 00 00 */ li r3, 0 -/* 800FB054 000F7FB4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800FB058 000F7FB8 98 1C 03 00 */ stb r0, 0x300(r28) -lbl_800FB05C: -/* 800FB05C 000F7FBC A0 1E 00 00 */ lhz r0, 0(r30) -/* 800FB060 000F7FC0 7F 83 E3 78 */ mr r3, r28 -/* 800FB064 000F7FC4 7F A4 EB 78 */ mr r4, r29 -/* 800FB068 000F7FC8 7F E6 FB 78 */ mr r6, r31 -/* 800FB06C 000F7FCC B0 01 00 08 */ sth r0, 8(r1) -/* 800FB070 000F7FD0 38 A1 00 08 */ addi r5, r1, 8 -/* 800FB074 000F7FD4 4B F5 85 A1 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -lbl_800FB078: -/* 800FB078 000F7FD8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800FB07C 000F7FDC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800FB080 000F7FE0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800FB084 000F7FE4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800FB088 000F7FE8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 800FB08C 000F7FEC 7C 08 03 A6 */ mtlr r0 -/* 800FB090 000F7FF0 38 21 00 20 */ addi r1, r1, 0x20 -/* 800FB094 000F7FF4 4E 80 00 20 */ blr - -.global GetTouchBounds__24CScriptDamageableTriggerCFv -GetTouchBounds__24CScriptDamageableTriggerCFv: -/* 800FB098 000F7FF8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800FB09C 000F7FFC 7C 08 02 A6 */ mflr r0 -/* 800FB0A0 000F8000 90 01 00 44 */ stw r0, 0x44(r1) -/* 800FB0A4 000F8004 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800FB0A8 000F8008 7C 7F 1B 78 */ mr r31, r3 -/* 800FB0AC 000F800C 88 04 00 30 */ lbz r0, 0x30(r4) -/* 800FB0B0 000F8010 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FB0B4 000F8014 41 82 00 B8 */ beq lbl_800FB16C -/* 800FB0B8 000F8018 88 04 03 00 */ lbz r0, 0x300(r4) -/* 800FB0BC 000F801C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FB0C0 000F8020 41 82 00 AC */ beq lbl_800FB16C -/* 800FB0C4 000F8024 C0 24 01 5C */ lfs f1, 0x15c(r4) -/* 800FB0C8 000F8028 38 61 00 20 */ addi r3, r1, 0x20 -/* 800FB0CC 000F802C C0 64 00 50 */ lfs f3, 0x50(r4) -/* 800FB0D0 000F8030 38 A1 00 08 */ addi r5, r1, 8 -/* 800FB0D4 000F8034 C0 04 01 50 */ lfs f0, 0x150(r4) -/* 800FB0D8 000F8038 EC C1 18 2A */ fadds f6, f1, f3 -/* 800FB0DC 000F803C C0 44 01 60 */ lfs f2, 0x160(r4) -/* 800FB0E0 000F8040 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 800FB0E4 000F8044 EC 80 18 2A */ fadds f4, f0, f3 -/* 800FB0E8 000F8048 C0 04 01 54 */ lfs f0, 0x154(r4) -/* 800FB0EC 000F804C EC A2 08 2A */ fadds f5, f2, f1 -/* 800FB0F0 000F8050 EC 60 08 2A */ fadds f3, f0, f1 -/* 800FB0F4 000F8054 C0 24 01 58 */ lfs f1, 0x158(r4) -/* 800FB0F8 000F8058 C0 44 00 40 */ lfs f2, 0x40(r4) -/* 800FB0FC 000F805C C0 04 01 4C */ lfs f0, 0x14c(r4) -/* 800FB100 000F8060 38 81 00 14 */ addi r4, r1, 0x14 -/* 800FB104 000F8064 EC 21 10 2A */ fadds f1, f1, f2 -/* 800FB108 000F8068 EC 00 10 2A */ fadds f0, f0, f2 -/* 800FB10C 000F806C D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 800FB110 000F8070 D0 21 00 08 */ stfs f1, 8(r1) -/* 800FB114 000F8074 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 800FB118 000F8078 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 800FB11C 000F807C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 800FB120 000F8080 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 800FB124 000F8084 48 23 D3 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800FB128 000F8088 38 00 00 01 */ li r0, 1 -/* 800FB12C 000F808C 28 1F 00 00 */ cmplwi r31, 0 -/* 800FB130 000F8090 98 1F 00 18 */ stb r0, 0x18(r31) -/* 800FB134 000F8094 41 82 00 40 */ beq lbl_800FB174 -/* 800FB138 000F8098 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 800FB13C 000F809C D0 1F 00 00 */ stfs f0, 0(r31) -/* 800FB140 000F80A0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 800FB144 000F80A4 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800FB148 000F80A8 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 800FB14C 000F80AC D0 1F 00 08 */ stfs f0, 8(r31) -/* 800FB150 000F80B0 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 800FB154 000F80B4 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 800FB158 000F80B8 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 800FB15C 000F80BC D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 800FB160 000F80C0 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 800FB164 000F80C4 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 800FB168 000F80C8 48 00 00 0C */ b lbl_800FB174 -lbl_800FB16C: -/* 800FB16C 000F80CC 38 00 00 00 */ li r0, 0 -/* 800FB170 000F80D0 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_800FB174: -/* 800FB174 000F80D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800FB178 000F80D8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800FB17C 000F80DC 7C 08 03 A6 */ mtlr r0 -/* 800FB180 000F80E0 38 21 00 40 */ addi r1, r1, 0x40 -/* 800FB184 000F80E4 4E 80 00 20 */ blr - -.global __dt__24CScriptDamageableTriggerFv -__dt__24CScriptDamageableTriggerFv: -/* 800FB188 000F80E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FB18C 000F80EC 7C 08 02 A6 */ mflr r0 -/* 800FB190 000F80F0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FB194 000F80F4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FB198 000F80F8 7C 9F 23 78 */ mr r31, r4 -/* 800FB19C 000F80FC 93 C1 00 08 */ stw r30, 8(r1) -/* 800FB1A0 000F8100 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800FB1A4 000F8104 41 82 00 9C */ beq lbl_800FB240 -/* 800FB1A8 000F8108 3C 80 80 3E */ lis r4, lbl_803DFD08@ha -/* 800FB1AC 000F810C 38 7E 02 54 */ addi r3, r30, 0x254 -/* 800FB1B0 000F8110 38 04 FD 08 */ addi r0, r4, lbl_803DFD08@l -/* 800FB1B4 000F8114 38 80 FF FF */ li r4, -1 -/* 800FB1B8 000F8118 90 1E 00 00 */ stw r0, 0(r30) -/* 800FB1BC 000F811C 48 0A 2A 45 */ bl __dt__15CFluidPlaneDoorFv -/* 800FB1C0 000F8120 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 800FB1C4 000F8124 41 82 00 60 */ beq lbl_800FB224 -/* 800FB1C8 000F8128 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 800FB1CC 000F812C 41 82 00 58 */ beq lbl_800FB224 -/* 800FB1D0 000F8130 80 BE 00 E8 */ lwz r5, 0xe8(r30) -/* 800FB1D4 000F8134 38 60 00 00 */ li r3, 0 -/* 800FB1D8 000F8138 2C 05 00 00 */ cmpwi r5, 0 -/* 800FB1DC 000F813C 40 81 00 40 */ ble lbl_800FB21C -/* 800FB1E0 000F8140 2C 05 00 08 */ cmpwi r5, 8 -/* 800FB1E4 000F8144 38 85 FF F8 */ addi r4, r5, -8 -/* 800FB1E8 000F8148 40 81 00 20 */ ble lbl_800FB208 -/* 800FB1EC 000F814C 38 04 00 07 */ addi r0, r4, 7 -/* 800FB1F0 000F8150 54 00 E8 FE */ srwi r0, r0, 3 -/* 800FB1F4 000F8154 7C 09 03 A6 */ mtctr r0 -/* 800FB1F8 000F8158 2C 04 00 00 */ cmpwi r4, 0 -/* 800FB1FC 000F815C 40 81 00 0C */ ble lbl_800FB208 -lbl_800FB200: -/* 800FB200 000F8160 38 63 00 08 */ addi r3, r3, 8 -/* 800FB204 000F8164 42 00 FF FC */ bdnz lbl_800FB200 -lbl_800FB208: -/* 800FB208 000F8168 7C 03 28 50 */ subf r0, r3, r5 -/* 800FB20C 000F816C 7C 09 03 A6 */ mtctr r0 -/* 800FB210 000F8170 7C 03 28 00 */ cmpw r3, r5 -/* 800FB214 000F8174 40 80 00 08 */ bge lbl_800FB21C -lbl_800FB218: -/* 800FB218 000F8178 42 00 00 00 */ bdnz lbl_800FB218 -lbl_800FB21C: -/* 800FB21C 000F817C 38 00 00 00 */ li r0, 0 -/* 800FB220 000F8180 90 1E 00 E8 */ stw r0, 0xe8(r30) -lbl_800FB224: -/* 800FB224 000F8184 7F C3 F3 78 */ mr r3, r30 -/* 800FB228 000F8188 38 80 00 00 */ li r4, 0 -/* 800FB22C 000F818C 4B F5 A4 C5 */ bl __dt__6CActorFv -/* 800FB230 000F8190 7F E0 07 35 */ extsh. r0, r31 -/* 800FB234 000F8194 40 81 00 0C */ ble lbl_800FB240 -/* 800FB238 000F8198 7F C3 F3 78 */ mr r3, r30 -/* 800FB23C 000F819C 48 21 A6 F5 */ bl Free__7CMemoryFPCv -lbl_800FB240: -/* 800FB240 000F81A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FB244 000F81A4 7F C3 F3 78 */ mr r3, r30 -/* 800FB248 000F81A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FB24C 000F81AC 83 C1 00 08 */ lwz r30, 8(r1) -/* 800FB250 000F81B0 7C 08 03 A6 */ mtlr r0 -/* 800FB254 000F81B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FB258 000F81B8 4E 80 00 20 */ blr - -.global "__ct__24CScriptDamageableTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fRC11CHealthInfoRC20CDamageVulnerabilityUiUiUiUiQ224CScriptDamageableTrigger9ECanOrbitbRC16CVisorParameters" -"__ct__24CScriptDamageableTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fRC11CHealthInfoRC20CDamageVulnerabilityUiUiUiUiQ224CScriptDamageableTrigger9ECanOrbitbRC16CVisorParameters": -/* 800FB25C 000F81BC 94 21 FC A0 */ stwu r1, -0x360(r1) -/* 800FB260 000F81C0 7C 08 02 A6 */ mflr r0 -/* 800FB264 000F81C4 90 01 03 64 */ stw r0, 0x364(r1) -/* 800FB268 000F81C8 BE 01 03 20 */ stmw r16, 0x320(r1) -/* 800FB26C 000F81CC 7C 7F 1B 78 */ mr r31, r3 -/* 800FB270 000F81D0 82 A1 03 68 */ lwz r21, 0x368(r1) -/* 800FB274 000F81D4 7C 99 23 78 */ mr r25, r4 -/* 800FB278 000F81D8 82 81 03 6C */ lwz r20, 0x36c(r1) -/* 800FB27C 000F81DC 7C BA 2B 78 */ mr r26, r5 -/* 800FB280 000F81E0 82 61 03 70 */ lwz r19, 0x370(r1) -/* 800FB284 000F81E4 7C D8 33 78 */ mr r24, r6 -/* 800FB288 000F81E8 82 41 03 74 */ lwz r18, 0x374(r1) -/* 800FB28C 000F81EC 7C F7 3B 78 */ mr r23, r7 -/* 800FB290 000F81F0 83 C1 03 78 */ lwz r30, 0x378(r1) -/* 800FB294 000F81F4 7D 1B 43 78 */ mr r27, r8 -/* 800FB298 000F81F8 8A C1 03 7F */ lbz r22, 0x37f(r1) -/* 800FB29C 000F81FC 7D 3C 4B 78 */ mr r28, r9 -/* 800FB2A0 000F8200 82 01 03 80 */ lwz r16, 0x380(r1) -/* 800FB2A4 000F8204 7D 5D 53 78 */ mr r29, r10 -/* 800FB2A8 000F8208 38 61 02 CC */ addi r3, r1, 0x2cc -/* 800FB2AC 000F820C 4B F3 F4 F9 */ bl CModelDataNull__10CModelDataFv -/* 800FB2B0 000F8210 38 61 02 64 */ addi r3, r1, 0x264 -/* 800FB2B4 000F8214 4B F1 FB 85 */ bl None__16CActorParametersFv -/* 800FB2B8 000F8218 7E 05 83 78 */ mr r5, r16 -/* 800FB2BC 000F821C 38 61 01 FC */ addi r3, r1, 0x1fc -/* 800FB2C0 000F8220 38 81 02 64 */ addi r4, r1, 0x264 -/* 800FB2C4 000F8224 48 00 B4 ED */ bl MakeDamageableTriggerActorParms__FRC16CActorParametersRC16CVisorParameters -/* 800FB2C8 000F8228 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 800FB2CC 000F822C 2C 1E 00 01 */ cmpwi r30, 1 -/* 800FB2D0 000F8230 3A 21 00 10 */ addi r17, r1, 0x10 -/* 800FB2D4 000F8234 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800FB2D8 000F8238 40 82 00 E0 */ bne lbl_800FB3B8 -/* 800FB2DC 000F823C 38 00 00 00 */ li r0, 0 -/* 800FB2E0 000F8240 80 AD 88 F0 */ lwz r5, lbl_805A74B0@sda21(r13) -/* 800FB2E4 000F8244 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800FB2E8 000F8248 38 60 00 00 */ li r3, 0 -/* 800FB2EC 000F824C 38 80 00 01 */ li r4, 1 -/* 800FB2F0 000F8250 90 01 00 38 */ stw r0, 0x38(r1) -/* 800FB2F4 000F8254 48 28 EC 01 */ bl __shl2i -/* 800FB2F8 000F8258 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800FB2FC 000F825C 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 800FB300 000F8260 7C 00 1B 78 */ or r0, r0, r3 -/* 800FB304 000F8264 80 AD 88 F4 */ lwz r5, lbl_805A74B4@sda21(r13) -/* 800FB308 000F8268 7C C4 23 78 */ or r4, r6, r4 -/* 800FB30C 000F826C 90 01 00 38 */ stw r0, 0x38(r1) -/* 800FB310 000F8270 38 60 00 00 */ li r3, 0 -/* 800FB314 000F8274 90 81 00 3C */ stw r4, 0x3c(r1) -/* 800FB318 000F8278 38 80 00 01 */ li r4, 1 -/* 800FB31C 000F827C 48 28 EB D9 */ bl __shl2i -/* 800FB320 000F8280 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800FB324 000F8284 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 800FB328 000F8288 7C 00 1B 78 */ or r0, r0, r3 -/* 800FB32C 000F828C 80 AD 88 F8 */ lwz r5, lbl_805A74B8@sda21(r13) -/* 800FB330 000F8290 7C C4 23 78 */ or r4, r6, r4 -/* 800FB334 000F8294 90 01 00 38 */ stw r0, 0x38(r1) -/* 800FB338 000F8298 38 60 00 00 */ li r3, 0 -/* 800FB33C 000F829C 90 81 00 3C */ stw r4, 0x3c(r1) -/* 800FB340 000F82A0 38 80 00 01 */ li r4, 1 -/* 800FB344 000F82A4 48 28 EB B1 */ bl __shl2i -/* 800FB348 000F82A8 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800FB34C 000F82AC 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 800FB350 000F82B0 7C 00 1B 78 */ or r0, r0, r3 -/* 800FB354 000F82B4 80 AD 88 FC */ lwz r5, lbl_805A74BC@sda21(r13) -/* 800FB358 000F82B8 7C C4 23 78 */ or r4, r6, r4 -/* 800FB35C 000F82BC 90 01 00 38 */ stw r0, 0x38(r1) -/* 800FB360 000F82C0 38 60 00 00 */ li r3, 0 -/* 800FB364 000F82C4 90 81 00 3C */ stw r4, 0x3c(r1) -/* 800FB368 000F82C8 38 80 00 01 */ li r4, 1 -/* 800FB36C 000F82CC 48 28 EB 89 */ bl __shl2i -/* 800FB370 000F82D0 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800FB374 000F82D4 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 800FB378 000F82D8 7C 00 1B 78 */ or r0, r0, r3 -/* 800FB37C 000F82DC 80 AD 89 00 */ lwz r5, lbl_805A74C0@sda21(r13) -/* 800FB380 000F82E0 7C C4 23 78 */ or r4, r6, r4 -/* 800FB384 000F82E4 90 01 00 38 */ stw r0, 0x38(r1) -/* 800FB388 000F82E8 38 60 00 00 */ li r3, 0 -/* 800FB38C 000F82EC 90 81 00 3C */ stw r4, 0x3c(r1) -/* 800FB390 000F82F0 38 80 00 01 */ li r4, 1 -/* 800FB394 000F82F4 48 28 EB 61 */ bl __shl2i -/* 800FB398 000F82F8 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800FB39C 000F82FC 3A 01 00 38 */ addi r16, r1, 0x38 -/* 800FB3A0 000F8300 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 800FB3A4 000F8304 7C 00 1B 78 */ or r0, r0, r3 -/* 800FB3A8 000F8308 7C A3 23 78 */ or r3, r5, r4 -/* 800FB3AC 000F830C 90 01 00 38 */ stw r0, 0x38(r1) -/* 800FB3B0 000F8310 90 61 00 3C */ stw r3, 0x3c(r1) -/* 800FB3B4 000F8314 48 00 00 B4 */ b lbl_800FB468 -lbl_800FB3B8: -/* 800FB3B8 000F8318 38 00 00 00 */ li r0, 0 -/* 800FB3BC 000F831C 80 AD 89 04 */ lwz r5, lbl_805A74C4@sda21(r13) -/* 800FB3C0 000F8320 90 01 00 34 */ stw r0, 0x34(r1) -/* 800FB3C4 000F8324 38 60 00 00 */ li r3, 0 -/* 800FB3C8 000F8328 38 80 00 01 */ li r4, 1 -/* 800FB3CC 000F832C 90 01 00 30 */ stw r0, 0x30(r1) -/* 800FB3D0 000F8330 48 28 EB 25 */ bl __shl2i -/* 800FB3D4 000F8334 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800FB3D8 000F8338 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 800FB3DC 000F833C 7C 00 1B 78 */ or r0, r0, r3 -/* 800FB3E0 000F8340 80 AD 89 08 */ lwz r5, lbl_805A74C8@sda21(r13) -/* 800FB3E4 000F8344 7C C4 23 78 */ or r4, r6, r4 -/* 800FB3E8 000F8348 90 01 00 30 */ stw r0, 0x30(r1) -/* 800FB3EC 000F834C 38 60 00 00 */ li r3, 0 -/* 800FB3F0 000F8350 90 81 00 34 */ stw r4, 0x34(r1) -/* 800FB3F4 000F8354 38 80 00 01 */ li r4, 1 -/* 800FB3F8 000F8358 48 28 EA FD */ bl __shl2i -/* 800FB3FC 000F835C 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800FB400 000F8360 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 800FB404 000F8364 7C 00 1B 78 */ or r0, r0, r3 -/* 800FB408 000F8368 80 AD 89 0C */ lwz r5, lbl_805A74CC@sda21(r13) -/* 800FB40C 000F836C 7C C4 23 78 */ or r4, r6, r4 -/* 800FB410 000F8370 90 01 00 30 */ stw r0, 0x30(r1) -/* 800FB414 000F8374 38 60 00 00 */ li r3, 0 -/* 800FB418 000F8378 90 81 00 34 */ stw r4, 0x34(r1) -/* 800FB41C 000F837C 38 80 00 01 */ li r4, 1 -/* 800FB420 000F8380 48 28 EA D5 */ bl __shl2i -/* 800FB424 000F8384 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800FB428 000F8388 80 C1 00 34 */ lwz r6, 0x34(r1) -/* 800FB42C 000F838C 7C 00 1B 78 */ or r0, r0, r3 -/* 800FB430 000F8390 80 AD 89 10 */ lwz r5, lbl_805A74D0@sda21(r13) -/* 800FB434 000F8394 7C C4 23 78 */ or r4, r6, r4 -/* 800FB438 000F8398 90 01 00 30 */ stw r0, 0x30(r1) -/* 800FB43C 000F839C 38 60 00 00 */ li r3, 0 -/* 800FB440 000F83A0 90 81 00 34 */ stw r4, 0x34(r1) -/* 800FB444 000F83A4 38 80 00 01 */ li r4, 1 -/* 800FB448 000F83A8 48 28 EA AD */ bl __shl2i -/* 800FB44C 000F83AC 80 01 00 30 */ lwz r0, 0x30(r1) -/* 800FB450 000F83B0 3A 01 00 30 */ addi r16, r1, 0x30 -/* 800FB454 000F83B4 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 800FB458 000F83B8 7C 00 1B 78 */ or r0, r0, r3 -/* 800FB45C 000F83BC 7C A3 23 78 */ or r3, r5, r4 -/* 800FB460 000F83C0 90 01 00 30 */ stw r0, 0x30(r1) -/* 800FB464 000F83C4 90 61 00 34 */ stw r3, 0x34(r1) -lbl_800FB468: -/* 800FB468 000F83C8 A0 19 00 00 */ lhz r0, 0(r25) -/* 800FB46C 000F83CC 7E E4 BB 78 */ mr r4, r23 -/* 800FB470 000F83D0 38 61 01 78 */ addi r3, r1, 0x178 -/* 800FB474 000F83D4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800FB478 000F83D8 48 21 7C C9 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800FB47C 000F83DC 38 01 01 FC */ addi r0, r1, 0x1fc -/* 800FB480 000F83E0 7F E3 FB 78 */ mr r3, r31 -/* 800FB484 000F83E4 90 01 00 08 */ stw r0, 8(r1) -/* 800FB488 000F83E8 7E C5 B3 78 */ mr r5, r22 -/* 800FB48C 000F83EC 7F 46 D3 78 */ mr r6, r26 -/* 800FB490 000F83F0 7F 07 C3 78 */ mr r7, r24 -/* 800FB494 000F83F4 92 21 00 0C */ stw r17, 0xc(r1) -/* 800FB498 000F83F8 7E 0A 83 78 */ mr r10, r16 -/* 800FB49C 000F83FC 38 81 00 14 */ addi r4, r1, 0x14 -/* 800FB4A0 000F8400 39 01 01 78 */ addi r8, r1, 0x178 -/* 800FB4A4 000F8404 39 21 02 CC */ addi r9, r1, 0x2cc -/* 800FB4A8 000F8408 4B F5 A3 79 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 800FB4AC 000F840C 38 61 01 FC */ addi r3, r1, 0x1fc -/* 800FB4B0 000F8410 38 80 FF FF */ li r4, -1 -/* 800FB4B4 000F8414 48 00 B1 55 */ bl __dt__16CActorParametersFv -/* 800FB4B8 000F8418 38 61 02 64 */ addi r3, r1, 0x264 -/* 800FB4BC 000F841C 38 80 FF FF */ li r4, -1 -/* 800FB4C0 000F8420 48 00 B1 49 */ bl __dt__16CActorParametersFv -/* 800FB4C4 000F8424 38 61 02 CC */ addi r3, r1, 0x2cc -/* 800FB4C8 000F8428 38 80 FF FF */ li r4, -1 -/* 800FB4CC 000F842C 48 01 B5 81 */ bl __dt__10CModelDataFv -/* 800FB4D0 000F8430 3C 60 80 3E */ lis r3, lbl_803DFD08@ha -/* 800FB4D4 000F8434 38 00 00 00 */ li r0, 0 -/* 800FB4D8 000F8438 38 63 FD 08 */ addi r3, r3, lbl_803DFD08@l -/* 800FB4DC 000F843C C0 42 93 4C */ lfs f2, lbl_805AB06C@sda21(r2) -/* 800FB4E0 000F8440 90 7F 00 00 */ stw r3, 0(r31) -/* 800FB4E4 000F8444 38 7F 01 4C */ addi r3, r31, 0x14c -/* 800FB4E8 000F8448 38 81 00 4C */ addi r4, r1, 0x4c -/* 800FB4EC 000F844C 38 A1 00 40 */ addi r5, r1, 0x40 -/* 800FB4F0 000F8450 90 1F 00 E8 */ stw r0, 0xe8(r31) -/* 800FB4F4 000F8454 C0 1B 00 08 */ lfs f0, 8(r27) -/* 800FB4F8 000F8458 C0 3B 00 04 */ lfs f1, 4(r27) -/* 800FB4FC 000F845C EC A2 00 32 */ fmuls f5, f2, f0 -/* 800FB500 000F8460 C0 1B 00 00 */ lfs f0, 0(r27) -/* 800FB504 000F8464 EC 82 00 72 */ fmuls f4, f2, f1 -/* 800FB508 000F8468 EC 22 00 32 */ fmuls f1, f2, f0 -/* 800FB50C 000F846C FC 60 28 50 */ fneg f3, f5 -/* 800FB510 000F8470 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 800FB514 000F8474 FC 40 20 50 */ fneg f2, f4 -/* 800FB518 000F8478 FC 00 08 50 */ fneg f0, f1 -/* 800FB51C 000F847C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 800FB520 000F8480 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 800FB524 000F8484 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800FB528 000F8488 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 800FB52C 000F848C D0 61 00 54 */ stfs f3, 0x54(r1) -/* 800FB530 000F8490 48 23 CF D9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800FB534 000F8494 C0 3C 00 00 */ lfs f1, 0(r28) -/* 800FB538 000F8498 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800FB53C 000F849C 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800FB540 000F84A0 C0 02 93 48 */ lfs f0, lbl_805AB068@sda21(r2) -/* 800FB544 000F84A4 D0 3F 01 64 */ stfs f1, 0x164(r31) -/* 800FB548 000F84A8 38 7F 01 E4 */ addi r3, r31, 0x1e4 -/* 800FB54C 000F84AC C0 3C 00 04 */ lfs f1, 4(r28) -/* 800FB550 000F84B0 D0 3F 01 68 */ stfs f1, 0x168(r31) -/* 800FB554 000F84B4 C0 3C 00 00 */ lfs f1, 0(r28) -/* 800FB558 000F84B8 D0 3F 01 6C */ stfs f1, 0x16c(r31) -/* 800FB55C 000F84BC C0 3C 00 04 */ lfs f1, 4(r28) -/* 800FB560 000F84C0 D0 3F 01 70 */ stfs f1, 0x170(r31) -/* 800FB564 000F84C4 80 BD 00 00 */ lwz r5, 0(r29) -/* 800FB568 000F84C8 80 1D 00 04 */ lwz r0, 4(r29) -/* 800FB56C 000F84CC 90 BF 01 74 */ stw r5, 0x174(r31) -/* 800FB570 000F84D0 90 1F 01 78 */ stw r0, 0x178(r31) -/* 800FB574 000F84D4 80 BD 00 08 */ lwz r5, 8(r29) -/* 800FB578 000F84D8 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 800FB57C 000F84DC 90 BF 01 7C */ stw r5, 0x17c(r31) -/* 800FB580 000F84E0 90 1F 01 80 */ stw r0, 0x180(r31) -/* 800FB584 000F84E4 80 BD 00 10 */ lwz r5, 0x10(r29) -/* 800FB588 000F84E8 80 1D 00 14 */ lwz r0, 0x14(r29) -/* 800FB58C 000F84EC 90 BF 01 84 */ stw r5, 0x184(r31) -/* 800FB590 000F84F0 90 1F 01 88 */ stw r0, 0x188(r31) -/* 800FB594 000F84F4 80 BD 00 18 */ lwz r5, 0x18(r29) -/* 800FB598 000F84F8 80 1D 00 1C */ lwz r0, 0x1c(r29) -/* 800FB59C 000F84FC 90 BF 01 8C */ stw r5, 0x18c(r31) -/* 800FB5A0 000F8500 90 1F 01 90 */ stw r0, 0x190(r31) -/* 800FB5A4 000F8504 80 BD 00 20 */ lwz r5, 0x20(r29) -/* 800FB5A8 000F8508 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 800FB5AC 000F850C 90 BF 01 94 */ stw r5, 0x194(r31) -/* 800FB5B0 000F8510 90 1F 01 98 */ stw r0, 0x198(r31) -/* 800FB5B4 000F8514 80 BD 00 28 */ lwz r5, 0x28(r29) -/* 800FB5B8 000F8518 80 1D 00 2C */ lwz r0, 0x2c(r29) -/* 800FB5BC 000F851C 90 BF 01 9C */ stw r5, 0x19c(r31) -/* 800FB5C0 000F8520 90 1F 01 A0 */ stw r0, 0x1a0(r31) -/* 800FB5C4 000F8524 80 BD 00 30 */ lwz r5, 0x30(r29) -/* 800FB5C8 000F8528 80 1D 00 34 */ lwz r0, 0x34(r29) -/* 800FB5CC 000F852C 90 BF 01 A4 */ stw r5, 0x1a4(r31) -/* 800FB5D0 000F8530 90 1F 01 A8 */ stw r0, 0x1a8(r31) -/* 800FB5D4 000F8534 80 1D 00 38 */ lwz r0, 0x38(r29) -/* 800FB5D8 000F8538 90 1F 01 AC */ stw r0, 0x1ac(r31) -/* 800FB5DC 000F853C 80 BD 00 3C */ lwz r5, 0x3c(r29) -/* 800FB5E0 000F8540 80 1D 00 40 */ lwz r0, 0x40(r29) -/* 800FB5E4 000F8544 90 BF 01 B0 */ stw r5, 0x1b0(r31) -/* 800FB5E8 000F8548 90 1F 01 B4 */ stw r0, 0x1b4(r31) -/* 800FB5EC 000F854C 80 BD 00 44 */ lwz r5, 0x44(r29) -/* 800FB5F0 000F8550 80 1D 00 48 */ lwz r0, 0x48(r29) -/* 800FB5F4 000F8554 90 BF 01 B8 */ stw r5, 0x1b8(r31) -/* 800FB5F8 000F8558 90 1F 01 BC */ stw r0, 0x1bc(r31) -/* 800FB5FC 000F855C 80 BD 00 4C */ lwz r5, 0x4c(r29) -/* 800FB600 000F8560 80 1D 00 50 */ lwz r0, 0x50(r29) -/* 800FB604 000F8564 90 BF 01 C0 */ stw r5, 0x1c0(r31) -/* 800FB608 000F8568 90 1F 01 C4 */ stw r0, 0x1c4(r31) -/* 800FB60C 000F856C 80 BD 00 54 */ lwz r5, 0x54(r29) -/* 800FB610 000F8570 80 1D 00 58 */ lwz r0, 0x58(r29) -/* 800FB614 000F8574 90 BF 01 C8 */ stw r5, 0x1c8(r31) -/* 800FB618 000F8578 90 1F 01 CC */ stw r0, 0x1cc(r31) -/* 800FB61C 000F857C 80 1D 00 5C */ lwz r0, 0x5c(r29) -/* 800FB620 000F8580 90 1F 01 D0 */ stw r0, 0x1d0(r31) -/* 800FB624 000F8584 80 1D 00 60 */ lwz r0, 0x60(r29) -/* 800FB628 000F8588 90 1F 01 D4 */ stw r0, 0x1d4(r31) -/* 800FB62C 000F858C 80 1D 00 64 */ lwz r0, 0x64(r29) -/* 800FB630 000F8590 90 1F 01 D8 */ stw r0, 0x1d8(r31) -/* 800FB634 000F8594 92 BF 01 DC */ stw r21, 0x1dc(r31) -/* 800FB638 000F8598 D0 1F 01 E0 */ stfs f0, 0x1e0(r31) -/* 800FB63C 000F859C 48 21 75 39 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800FB640 000F85A0 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 800FB644 000F85A4 38 7F 02 14 */ addi r3, r31, 0x214 -/* 800FB648 000F85A8 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 800FB64C 000F85AC 48 21 75 29 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800FB650 000F85B0 C0 42 93 38 */ lfs f2, lbl_805AB058@sda21(r2) -/* 800FB654 000F85B4 38 61 01 A8 */ addi r3, r1, 0x1a8 -/* 800FB658 000F85B8 C0 22 93 50 */ lfs f1, lbl_805AB070@sda21(r2) -/* 800FB65C 000F85BC D0 5F 02 44 */ stfs f2, 0x244(r31) -/* 800FB660 000F85C0 D0 5F 02 48 */ stfs f2, 0x248(r31) -/* 800FB664 000F85C4 D0 5F 02 4C */ stfs f2, 0x24c(r31) -/* 800FB668 000F85C8 D0 5F 02 50 */ stfs f2, 0x250(r31) -/* 800FB66C 000F85CC 48 02 17 8D */ bl __ct__14CFluidUVMotionFff -/* 800FB670 000F85D0 C0 22 93 48 */ lfs f1, lbl_805AB068@sda21(r2) -/* 800FB674 000F85D4 7E 84 A3 78 */ mr r4, r20 -/* 800FB678 000F85D8 7E 65 9B 78 */ mr r5, r19 -/* 800FB67C 000F85DC 7E 46 93 78 */ mr r6, r18 -/* 800FB680 000F85E0 FC 40 08 90 */ fmr f2, f1 -/* 800FB684 000F85E4 38 7F 02 54 */ addi r3, r31, 0x254 -/* 800FB688 000F85E8 39 21 01 A8 */ addi r9, r1, 0x1a8 -/* 800FB68C 000F85EC 38 E0 00 02 */ li r7, 2 -/* 800FB690 000F85F0 39 00 00 00 */ li r8, 0 -/* 800FB694 000F85F4 48 0A 25 CD */ bl __ct__15CFluidPlaneDoorFUiUiUifUiQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion -/* 800FB698 000F85F8 80 A1 01 A8 */ lwz r5, 0x1a8(r1) -/* 800FB69C 000F85FC 38 60 00 00 */ li r3, 0 -/* 800FB6A0 000F8600 2C 05 00 00 */ cmpwi r5, 0 -/* 800FB6A4 000F8604 40 81 00 40 */ ble lbl_800FB6E4 -/* 800FB6A8 000F8608 2C 05 00 08 */ cmpwi r5, 8 -/* 800FB6AC 000F860C 38 85 FF F8 */ addi r4, r5, -8 -/* 800FB6B0 000F8610 40 81 00 20 */ ble lbl_800FB6D0 -/* 800FB6B4 000F8614 38 04 00 07 */ addi r0, r4, 7 -/* 800FB6B8 000F8618 54 00 E8 FE */ srwi r0, r0, 3 -/* 800FB6BC 000F861C 7C 09 03 A6 */ mtctr r0 -/* 800FB6C0 000F8620 2C 04 00 00 */ cmpwi r4, 0 -/* 800FB6C4 000F8624 40 81 00 0C */ ble lbl_800FB6D0 -lbl_800FB6C8: -/* 800FB6C8 000F8628 38 63 00 08 */ addi r3, r3, 8 -/* 800FB6CC 000F862C 42 00 FF FC */ bdnz lbl_800FB6C8 -lbl_800FB6D0: -/* 800FB6D0 000F8630 7C 03 28 50 */ subf r0, r3, r5 -/* 800FB6D4 000F8634 7C 09 03 A6 */ mtctr r0 -/* 800FB6D8 000F8638 7C 03 28 00 */ cmpw r3, r5 -/* 800FB6DC 000F863C 40 80 00 08 */ bge lbl_800FB6E4 -lbl_800FB6E0: -/* 800FB6E0 000F8640 42 00 00 00 */ bdnz lbl_800FB6E0 -lbl_800FB6E4: -/* 800FB6E4 000F8644 38 80 00 00 */ li r4, 0 -/* 800FB6E8 000F8648 20 1E 00 01 */ subfic r0, r30, 1 -/* 800FB6EC 000F864C 90 81 01 A8 */ stw r4, 0x1a8(r1) -/* 800FB6F0 000F8650 7C 00 00 34 */ cntlzw r0, r0 -/* 800FB6F4 000F8654 54 03 D9 7E */ srwi r3, r0, 5 -/* 800FB6F8 000F8658 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 800FB6FC 000F865C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 800FB700 000F8660 98 1F 03 00 */ stb r0, 0x300(r31) -/* 800FB704 000F8664 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 800FB708 000F8668 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 800FB70C 000F866C 98 1F 03 00 */ stb r0, 0x300(r31) -/* 800FB710 000F8670 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 800FB714 000F8674 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 800FB718 000F8678 98 1F 03 00 */ stb r0, 0x300(r31) -/* 800FB71C 000F867C 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 800FB720 000F8680 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 800FB724 000F8684 98 1F 03 00 */ stb r0, 0x300(r31) -/* 800FB728 000F8688 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 800FB72C 000F868C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800FB730 000F8690 98 1F 03 00 */ stb r0, 0x300(r31) -/* 800FB734 000F8694 80 7F 01 DC */ lwz r3, 0x1dc(r31) -/* 800FB738 000F8698 54 60 07 FF */ clrlwi. r0, r3, 0x1f -/* 800FB73C 000F869C 41 82 00 3C */ beq lbl_800FB778 -/* 800FB740 000F86A0 C0 5F 01 5C */ lfs f2, 0x15c(r31) -/* 800FB744 000F86A4 38 61 01 48 */ addi r3, r1, 0x148 -/* 800FB748 000F86A8 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) -/* 800FB74C 000F86AC 38 81 00 28 */ addi r4, r1, 0x28 -/* 800FB750 000F86B0 C0 02 93 54 */ lfs f0, lbl_805AB074@sda21(r2) -/* 800FB754 000F86B4 D0 3F 02 44 */ stfs f1, 0x244(r31) -/* 800FB758 000F86B8 D0 5F 02 48 */ stfs f2, 0x248(r31) -/* 800FB75C 000F86BC D0 3F 02 4C */ stfs f1, 0x24c(r31) -/* 800FB760 000F86C0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 800FB764 000F86C4 48 21 81 DD */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 800FB768 000F86C8 38 7F 01 E4 */ addi r3, r31, 0x1e4 -/* 800FB76C 000F86CC 38 81 01 48 */ addi r4, r1, 0x148 -/* 800FB770 000F86D0 48 21 73 D1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800FB774 000F86D4 48 00 01 30 */ b lbl_800FB8A4 -lbl_800FB778: -/* 800FB778 000F86D8 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e -/* 800FB77C 000F86DC 41 82 00 3C */ beq lbl_800FB7B8 -/* 800FB780 000F86E0 C0 5F 01 50 */ lfs f2, 0x150(r31) -/* 800FB784 000F86E4 38 61 01 18 */ addi r3, r1, 0x118 -/* 800FB788 000F86E8 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) -/* 800FB78C 000F86EC 38 81 00 24 */ addi r4, r1, 0x24 -/* 800FB790 000F86F0 C0 02 93 58 */ lfs f0, lbl_805AB078@sda21(r2) -/* 800FB794 000F86F4 D0 3F 02 44 */ stfs f1, 0x244(r31) -/* 800FB798 000F86F8 D0 5F 02 48 */ stfs f2, 0x248(r31) -/* 800FB79C 000F86FC D0 3F 02 4C */ stfs f1, 0x24c(r31) -/* 800FB7A0 000F8700 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 800FB7A4 000F8704 48 21 81 9D */ bl RotateX__12CTransform4fFRC9CRelAngle -/* 800FB7A8 000F8708 38 7F 01 E4 */ addi r3, r31, 0x1e4 -/* 800FB7AC 000F870C 38 81 01 18 */ addi r4, r1, 0x118 -/* 800FB7B0 000F8710 48 21 73 91 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800FB7B4 000F8714 48 00 00 F0 */ b lbl_800FB8A4 -lbl_800FB7B8: -/* 800FB7B8 000F8718 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d -/* 800FB7BC 000F871C 41 82 00 3C */ beq lbl_800FB7F8 -/* 800FB7C0 000F8720 C0 1F 01 4C */ lfs f0, 0x14c(r31) -/* 800FB7C4 000F8724 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 800FB7C8 000F8728 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) -/* 800FB7CC 000F872C 38 81 00 20 */ addi r4, r1, 0x20 -/* 800FB7D0 000F8730 D0 1F 02 44 */ stfs f0, 0x244(r31) -/* 800FB7D4 000F8734 C0 02 93 54 */ lfs f0, lbl_805AB074@sda21(r2) -/* 800FB7D8 000F8738 D0 3F 02 48 */ stfs f1, 0x248(r31) -/* 800FB7DC 000F873C D0 3F 02 4C */ stfs f1, 0x24c(r31) -/* 800FB7E0 000F8740 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800FB7E4 000F8744 48 21 80 C5 */ bl RotateY__12CTransform4fFRC9CRelAngle -/* 800FB7E8 000F8748 38 7F 01 E4 */ addi r3, r31, 0x1e4 -/* 800FB7EC 000F874C 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 800FB7F0 000F8750 48 21 73 51 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800FB7F4 000F8754 48 00 00 B0 */ b lbl_800FB8A4 -lbl_800FB7F8: -/* 800FB7F8 000F8758 54 60 07 39 */ rlwinm. r0, r3, 0, 0x1c, 0x1c -/* 800FB7FC 000F875C 41 82 00 3C */ beq lbl_800FB838 -/* 800FB800 000F8760 C0 1F 01 58 */ lfs f0, 0x158(r31) -/* 800FB804 000F8764 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 800FB808 000F8768 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) -/* 800FB80C 000F876C 38 81 00 1C */ addi r4, r1, 0x1c -/* 800FB810 000F8770 D0 1F 02 44 */ stfs f0, 0x244(r31) -/* 800FB814 000F8774 C0 02 93 58 */ lfs f0, lbl_805AB078@sda21(r2) -/* 800FB818 000F8778 D0 3F 02 48 */ stfs f1, 0x248(r31) -/* 800FB81C 000F877C D0 3F 02 4C */ stfs f1, 0x24c(r31) -/* 800FB820 000F8780 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800FB824 000F8784 48 21 80 85 */ bl RotateY__12CTransform4fFRC9CRelAngle -/* 800FB828 000F8788 38 7F 01 E4 */ addi r3, r31, 0x1e4 -/* 800FB82C 000F878C 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 800FB830 000F8790 48 21 73 11 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800FB834 000F8794 48 00 00 70 */ b lbl_800FB8A4 -lbl_800FB838: -/* 800FB838 000F8798 54 60 06 F7 */ rlwinm. r0, r3, 0, 0x1b, 0x1b -/* 800FB83C 000F879C 41 82 00 2C */ beq lbl_800FB868 -/* 800FB840 000F87A0 C0 3F 01 60 */ lfs f1, 0x160(r31) -/* 800FB844 000F87A4 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 800FB848 000F87A8 C0 02 93 38 */ lfs f0, lbl_805AB058@sda21(r2) -/* 800FB84C 000F87AC 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 800FB850 000F87B0 38 7F 01 E4 */ addi r3, r31, 0x1e4 -/* 800FB854 000F87B4 D0 1F 02 44 */ stfs f0, 0x244(r31) -/* 800FB858 000F87B8 D0 1F 02 48 */ stfs f0, 0x248(r31) -/* 800FB85C 000F87BC D0 3F 02 4C */ stfs f1, 0x24c(r31) -/* 800FB860 000F87C0 48 21 72 E1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800FB864 000F87C4 48 00 00 40 */ b lbl_800FB8A4 -lbl_800FB868: -/* 800FB868 000F87C8 54 60 06 B5 */ rlwinm. r0, r3, 0, 0x1a, 0x1a -/* 800FB86C 000F87CC 41 82 00 38 */ beq lbl_800FB8A4 -/* 800FB870 000F87D0 C0 5F 01 54 */ lfs f2, 0x154(r31) -/* 800FB874 000F87D4 38 61 00 88 */ addi r3, r1, 0x88 -/* 800FB878 000F87D8 C0 22 93 38 */ lfs f1, lbl_805AB058@sda21(r2) -/* 800FB87C 000F87DC 38 81 00 18 */ addi r4, r1, 0x18 -/* 800FB880 000F87E0 C0 02 93 5C */ lfs f0, lbl_805AB07C@sda21(r2) -/* 800FB884 000F87E4 D0 3F 02 44 */ stfs f1, 0x244(r31) -/* 800FB888 000F87E8 D0 3F 02 48 */ stfs f1, 0x248(r31) -/* 800FB88C 000F87EC D0 5F 02 4C */ stfs f2, 0x24c(r31) -/* 800FB890 000F87F0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 800FB894 000F87F4 48 21 80 15 */ bl RotateY__12CTransform4fFRC9CRelAngle -/* 800FB898 000F87F8 38 7F 01 E4 */ addi r3, r31, 0x1e4 -/* 800FB89C 000F87FC 38 81 00 88 */ addi r4, r1, 0x88 -/* 800FB8A0 000F8800 48 21 72 A1 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_800FB8A4: -/* 800FB8A4 000F8804 38 61 00 58 */ addi r3, r1, 0x58 -/* 800FB8A8 000F8808 38 9F 01 E4 */ addi r4, r31, 0x1e4 -/* 800FB8AC 000F880C 48 21 73 F1 */ bl GetQuickInverse__12CTransform4fCFv -/* 800FB8B0 000F8810 38 7F 02 14 */ addi r3, r31, 0x214 -/* 800FB8B4 000F8814 38 81 00 58 */ addi r4, r1, 0x58 -/* 800FB8B8 000F8818 48 21 72 89 */ bl __as__12CTransform4fFRC12CTransform4f -/* 800FB8BC 000F881C 7F E3 FB 78 */ mr r3, r31 -/* 800FB8C0 000F8820 BA 01 03 20 */ lmw r16, 0x320(r1) -/* 800FB8C4 000F8824 80 01 03 64 */ lwz r0, 0x364(r1) -/* 800FB8C8 000F8828 7C 08 03 A6 */ mtlr r0 -/* 800FB8CC 000F882C 38 21 03 60 */ addi r1, r1, 0x360 -/* 800FB8D0 000F8830 4E 80 00 20 */ blr - -.global CollidedWith__13CScriptDebrisFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager -CollidedWith__13CScriptDebrisFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: -/* 800FB8D4 000F8834 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FB8D8 000F8838 7C 08 02 A6 */ mflr r0 -/* 800FB8DC 000F883C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FB8E0 000F8840 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FB8E4 000F8844 7C BF 2B 78 */ mr r31, r5 -/* 800FB8E8 000F8848 93 C1 00 08 */ stw r30, 8(r1) -/* 800FB8EC 000F884C 7C 7E 1B 78 */ mr r30, r3 -/* 800FB8F0 000F8850 80 05 00 00 */ lwz r0, 0(r5) -/* 800FB8F4 000F8854 2C 00 00 00 */ cmpwi r0, 0 -/* 800FB8F8 000F8858 41 82 00 3C */ beq lbl_800FB934 -/* 800FB8FC 000F885C 88 1E 02 82 */ lbz r0, 0x282(r30) -/* 800FB900 000F8860 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FB904 000F8864 41 82 00 18 */ beq lbl_800FB91C -/* 800FB908 000F8868 C0 1E 02 70 */ lfs f0, 0x270(r30) -/* 800FB90C 000F886C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800FB910 000F8870 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 800FB914 000F8874 D0 1E 02 74 */ stfs f0, 0x274(r30) -/* 800FB918 000F8878 48 01 F3 89 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_800FB91C: -/* 800FB91C 000F887C C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 800FB920 000F8880 D0 1E 02 C8 */ stfs f0, 0x2c8(r30) -/* 800FB924 000F8884 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 800FB928 000F8888 D0 1E 02 CC */ stfs f0, 0x2cc(r30) -/* 800FB92C 000F888C C0 1F 00 54 */ lfs f0, 0x54(r31) -/* 800FB930 000F8890 D0 1E 02 D0 */ stfs f0, 0x2d0(r30) -lbl_800FB934: -/* 800FB934 000F8894 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FB938 000F8898 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FB93C 000F889C 83 C1 00 08 */ lwz r30, 8(r1) -/* 800FB940 000F88A0 7C 08 03 A6 */ mtlr r0 -/* 800FB944 000F88A4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FB948 000F88A8 4E 80 00 20 */ blr - -.global Accept__13CScriptDebrisFR8IVisitor -Accept__13CScriptDebrisFR8IVisitor: -/* 800FB94C 000F88AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FB950 000F88B0 7C 08 02 A6 */ mflr r0 -/* 800FB954 000F88B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FB958 000F88B8 7C 60 1B 78 */ mr r0, r3 -/* 800FB95C 000F88BC 7C 83 23 78 */ mr r3, r4 -/* 800FB960 000F88C0 81 84 00 00 */ lwz r12, 0(r4) -/* 800FB964 000F88C4 7C 04 03 78 */ mr r4, r0 -/* 800FB968 000F88C8 81 8C 00 50 */ lwz r12, 0x50(r12) -/* 800FB96C 000F88CC 7D 89 03 A6 */ mtctr r12 -/* 800FB970 000F88D0 4E 80 04 21 */ bctrl -/* 800FB974 000F88D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FB978 000F88D8 7C 08 03 A6 */ mtlr r0 -/* 800FB97C 000F88DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FB980 000F88E0 4E 80 00 20 */ blr - -.global AddToRenderer__13CScriptDebrisCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__13CScriptDebrisCFRC14CFrustumPlanesRC13CStateManager: -/* 800FB984 000F88E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800FB988 000F88E8 7C 08 02 A6 */ mflr r0 -/* 800FB98C 000F88EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 800FB990 000F88F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800FB994 000F88F4 7C BF 2B 78 */ mr r31, r5 -/* 800FB998 000F88F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800FB99C 000F88FC 7C 9E 23 78 */ mr r30, r4 -/* 800FB9A0 000F8900 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800FB9A4 000F8904 7C 7D 1B 78 */ mr r29, r3 -/* 800FB9A8 000F8908 80 83 02 D4 */ lwz r4, 0x2d4(r3) -/* 800FB9AC 000F890C 28 04 00 00 */ cmplwi r4, 0 -/* 800FB9B0 000F8910 41 82 00 34 */ beq lbl_800FB9E4 -/* 800FB9B4 000F8914 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FB9B8 000F8918 C0 1D 02 74 */ lfs f0, 0x274(r29) -/* 800FB9BC 000F891C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FB9C0 000F8920 41 80 00 10 */ blt lbl_800FB9D0 -/* 800FB9C4 000F8924 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FB9C8 000F8928 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800FB9CC 000F892C 41 82 00 18 */ beq lbl_800FB9E4 -lbl_800FB9D0: -/* 800FB9D0 000F8930 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800FB9D4 000F8934 81 83 00 00 */ lwz r12, 0(r3) -/* 800FB9D8 000F8938 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800FB9DC 000F893C 7D 89 03 A6 */ mtctr r12 -/* 800FB9E0 000F8940 4E 80 04 21 */ bctrl -lbl_800FB9E4: -/* 800FB9E4 000F8944 80 9D 02 D8 */ lwz r4, 0x2d8(r29) -/* 800FB9E8 000F8948 28 04 00 00 */ cmplwi r4, 0 -/* 800FB9EC 000F894C 41 82 00 34 */ beq lbl_800FBA20 -/* 800FB9F0 000F8950 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FB9F4 000F8954 C0 1D 02 74 */ lfs f0, 0x274(r29) -/* 800FB9F8 000F8958 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FB9FC 000F895C 41 80 00 10 */ blt lbl_800FBA0C -/* 800FBA00 000F8960 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FBA04 000F8964 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 800FBA08 000F8968 41 82 00 18 */ beq lbl_800FBA20 -lbl_800FBA0C: -/* 800FBA0C 000F896C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800FBA10 000F8970 81 83 00 00 */ lwz r12, 0(r3) -/* 800FBA14 000F8974 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800FBA18 000F8978 7D 89 03 A6 */ mtctr r12 -/* 800FBA1C 000F897C 4E 80 04 21 */ bctrl -lbl_800FBA20: -/* 800FBA20 000F8980 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FBA24 000F8984 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800FBA28 000F8988 41 82 00 1C */ beq lbl_800FBA44 -/* 800FBA2C 000F898C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800FBA30 000F8990 80 9D 02 DC */ lwz r4, 0x2dc(r29) -/* 800FBA34 000F8994 81 83 00 00 */ lwz r12, 0(r3) -/* 800FBA38 000F8998 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 800FBA3C 000F899C 7D 89 03 A6 */ mtctr r12 -/* 800FBA40 000F89A0 4E 80 04 21 */ bctrl -lbl_800FBA44: -/* 800FBA44 000F89A4 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 800FBA48 000F89A8 38 60 00 00 */ li r3, 0 -/* 800FBA4C 000F89AC 28 04 00 00 */ cmplwi r4, 0 -/* 800FBA50 000F89B0 41 82 00 20 */ beq lbl_800FBA70 -/* 800FBA54 000F89B4 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800FBA58 000F89B8 28 00 00 00 */ cmplwi r0, 0 -/* 800FBA5C 000F89BC 40 82 00 10 */ bne lbl_800FBA6C -/* 800FBA60 000F89C0 88 04 00 28 */ lbz r0, 0x28(r4) -/* 800FBA64 000F89C4 28 00 00 00 */ cmplwi r0, 0 -/* 800FBA68 000F89C8 41 82 00 08 */ beq lbl_800FBA70 -lbl_800FBA6C: -/* 800FBA6C 000F89CC 38 60 00 01 */ li r3, 1 -lbl_800FBA70: -/* 800FBA70 000F89D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FBA74 000F89D4 41 82 00 24 */ beq lbl_800FBA98 -/* 800FBA78 000F89D8 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FBA7C 000F89DC C0 1D 02 74 */ lfs f0, 0x274(r29) -/* 800FBA80 000F89E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FBA84 000F89E4 40 80 00 14 */ bge lbl_800FBA98 -/* 800FBA88 000F89E8 7F A3 EB 78 */ mr r3, r29 -/* 800FBA8C 000F89EC 7F C4 F3 78 */ mr r4, r30 -/* 800FBA90 000F89F0 7F E5 FB 78 */ mr r5, r31 -/* 800FBA94 000F89F4 4B F5 90 A5 */ bl AddToRenderer__6CActorCFRC14CFrustumPlanesRC13CStateManager -lbl_800FBA98: -/* 800FBA98 000F89F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800FBA9C 000F89FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800FBAA0 000F8A00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800FBAA4 000F8A04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 800FBAA8 000F8A08 7C 08 03 A6 */ mtlr r0 -/* 800FBAAC 000F8A0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800FBAB0 000F8A10 4E 80 00 20 */ blr - -.global Render__13CScriptDebrisCFRC13CStateManager -Render__13CScriptDebrisCFRC13CStateManager: -/* 800FBAB4 000F8A14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FBAB8 000F8A18 7C 08 02 A6 */ mflr r0 -/* 800FBABC 000F8A1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FBAC0 000F8A20 48 01 EA 29 */ bl Render__13CPhysicsActorCFRC13CStateManager -/* 800FBAC4 000F8A24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FBAC8 000F8A28 7C 08 03 A6 */ mtlr r0 -/* 800FBACC 000F8A2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FBAD0 000F8A30 4E 80 00 20 */ blr - -.global PreRender__13CScriptDebrisFR13CStateManagerRC14CFrustumPlanes -PreRender__13CScriptDebrisFR13CStateManagerRC14CFrustumPlanes: -/* 800FBAD4 000F8A34 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800FBAD8 000F8A38 7C 08 02 A6 */ mflr r0 -/* 800FBADC 000F8A3C 90 01 00 34 */ stw r0, 0x34(r1) -/* 800FBAE0 000F8A40 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 800FBAE4 000F8A44 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 800FBAE8 000F8A48 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800FBAEC 000F8A4C 7C 7F 1B 78 */ mr r31, r3 -/* 800FBAF0 000F8A50 4B F5 91 F1 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes -/* 800FBAF4 000F8A54 C0 7F 02 70 */ lfs f3, 0x270(r31) -/* 800FBAF8 000F8A58 C0 5F 02 74 */ lfs f2, 0x274(r31) -/* 800FBAFC 000F8A5C C0 1F 02 A4 */ lfs f0, 0x2a4(r31) -/* 800FBB00 000F8A60 EC 23 10 24 */ fdivs f1, f3, f2 -/* 800FBB04 000F8A64 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FBB08 000F8A68 40 80 00 24 */ bge lbl_800FBB2C -/* 800FBB0C 000F8A6C C3 E2 93 64 */ lfs f31, lbl_805AB084@sda21(r2) -/* 800FBB10 000F8A70 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 800FBB14 000F8A74 40 81 00 40 */ ble lbl_800FBB54 -/* 800FBB18 000F8A78 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800FBB1C 000F8A7C C0 22 93 60 */ lfs f1, lbl_805AB080@sda21(r2) -/* 800FBB20 000F8A80 EC 03 00 24 */ fdivs f0, f3, f0 -/* 800FBB24 000F8A84 EF E1 00 28 */ fsubs f31, f1, f0 -/* 800FBB28 000F8A88 48 00 00 2C */ b lbl_800FBB54 -lbl_800FBB2C: -/* 800FBB2C 000F8A8C C0 9F 02 A8 */ lfs f4, 0x2a8(r31) -/* 800FBB30 000F8A90 FC 01 20 40 */ fcmpo cr0, f1, f4 -/* 800FBB34 000F8A94 40 81 00 1C */ ble lbl_800FBB50 -/* 800FBB38 000F8A98 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FBB3C 000F8A9C EC 22 19 3C */ fnmsubs f1, f2, f4, f3 -/* 800FBB40 000F8AA0 EC 00 20 28 */ fsubs f0, f0, f4 -/* 800FBB44 000F8AA4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 800FBB48 000F8AA8 EF E1 00 24 */ fdivs f31, f1, f0 -/* 800FBB4C 000F8AAC 48 00 00 08 */ b lbl_800FBB54 -lbl_800FBB50: -/* 800FBB50 000F8AB0 C3 E2 93 64 */ lfs f31, lbl_805AB084@sda21(r2) -lbl_800FBB54: -/* 800FBB54 000F8AB4 48 24 E4 59 */ bl White__6CColorFv -/* 800FBB58 000F8AB8 FC 20 F8 90 */ fmr f1, f31 -/* 800FBB5C 000F8ABC 7C 64 1B 78 */ mr r4, r3 -/* 800FBB60 000F8AC0 38 61 00 08 */ addi r3, r1, 8 -/* 800FBB64 000F8AC4 38 BF 02 68 */ addi r5, r31, 0x268 -/* 800FBB68 000F8AC8 48 26 77 45 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 800FBB6C 000F8ACC 80 C1 00 08 */ lwz r6, 8(r1) -/* 800FBB70 000F8AD0 38 A0 00 05 */ li r5, 5 -/* 800FBB74 000F8AD4 38 80 00 00 */ li r4, 0 -/* 800FBB78 000F8AD8 38 60 00 03 */ li r3, 3 -/* 800FBB7C 000F8ADC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 800FBB80 000F8AE0 88 01 00 0F */ lbz r0, 0xf(r1) -/* 800FBB84 000F8AE4 98 BF 00 B4 */ stb r5, 0xb4(r31) -/* 800FBB88 000F8AE8 20 00 00 FF */ subfic r0, r0, 0xff -/* 800FBB8C 000F8AEC 7C 00 00 34 */ cntlzw r0, r0 -/* 800FBB90 000F8AF0 98 9F 00 B5 */ stb r4, 0xb5(r31) -/* 800FBB94 000F8AF4 54 00 E5 FC */ rlwinm r0, r0, 0x1c, 0x17, 0x1e -/* 800FBB98 000F8AF8 60 00 00 01 */ ori r0, r0, 1 -/* 800FBB9C 000F8AFC 98 A1 00 10 */ stb r5, 0x10(r1) -/* 800FBBA0 000F8B00 50 60 00 3A */ rlwimi r0, r3, 0, 0, 0x1d -/* 800FBBA4 000F8B04 B0 1F 00 B6 */ sth r0, 0xb6(r31) -/* 800FBBA8 000F8B08 98 81 00 11 */ stb r4, 0x11(r1) -/* 800FBBAC 000F8B0C B0 61 00 12 */ sth r3, 0x12(r1) -/* 800FBBB0 000F8B10 90 C1 00 14 */ stw r6, 0x14(r1) -/* 800FBBB4 000F8B14 90 DF 00 B8 */ stw r6, 0xb8(r31) -/* 800FBBB8 000F8B18 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 800FBBBC 000F8B1C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800FBBC0 000F8B20 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 800FBBC4 000F8B24 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800FBBC8 000F8B28 7C 08 03 A6 */ mtlr r0 -/* 800FBBCC 000F8B2C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800FBBD0 000F8B30 4E 80 00 20 */ blr - -.global AcceptScriptMsg__13CScriptDebrisF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__13CScriptDebrisF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800FBBD4 000F8B34 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 800FBBD8 000F8B38 7C 08 02 A6 */ mflr r0 -/* 800FBBDC 000F8B3C 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 800FBBE0 000F8B40 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 800FBBE4 000F8B44 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 800FBBE8 000F8B48 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 800FBBEC 000F8B4C F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 800FBBF0 000F8B50 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 800FBBF4 000F8B54 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 800FBBF8 000F8B58 93 E1 00 AC */ stw r31, 0xac(r1) -/* 800FBBFC 000F8B5C 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 800FBC00 000F8B60 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 800FBC04 000F8B64 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 800FBC08 000F8B68 7C 9D 23 78 */ mr r29, r4 -/* 800FBC0C 000F8B6C 7C 7C 1B 78 */ mr r28, r3 -/* 800FBC10 000F8B70 2C 1D 00 17 */ cmpwi r29, 0x17 -/* 800FBC14 000F8B74 7C BE 2B 78 */ mr r30, r5 -/* 800FBC18 000F8B78 7C DF 33 78 */ mr r31, r6 -/* 800FBC1C 000F8B7C 41 82 03 98 */ beq lbl_800FBFB4 -/* 800FBC20 000F8B80 40 80 04 08 */ bge lbl_800FC028 -/* 800FBC24 000F8B84 2C 1D 00 01 */ cmpwi r29, 1 -/* 800FBC28 000F8B88 41 82 00 08 */ beq lbl_800FBC30 -/* 800FBC2C 000F8B8C 48 00 03 FC */ b lbl_800FC028 -lbl_800FBC30: -/* 800FBC30 000F8B90 88 1C 02 81 */ lbz r0, 0x281(r28) -/* 800FBC34 000F8B94 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800FBC38 000F8B98 40 82 02 B8 */ bne lbl_800FBEF0 -/* 800FBC3C 000F8B9C C3 FC 00 E8 */ lfs f31, 0xe8(r28) -/* 800FBC40 000F8BA0 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FBC44 000F8BA4 48 21 68 DD */ bl Next__9CRandom16Fv -/* 800FBC48 000F8BA8 3C 80 80 01 */ lis r4, 0x80010003@ha -/* 800FBC4C 000F8BAC 38 00 7F FF */ li r0, 0x7fff -/* 800FBC50 000F8BB0 38 84 00 03 */ addi r4, r4, 0x80010003@l -/* 800FBC54 000F8BB4 7C 84 18 96 */ mulhw r4, r4, r3 -/* 800FBC58 000F8BB8 7C 84 1A 14 */ add r4, r4, r3 -/* 800FBC5C 000F8BBC 7C 84 76 70 */ srawi r4, r4, 0xe -/* 800FBC60 000F8BC0 54 85 0F FE */ srwi r5, r4, 0x1f -/* 800FBC64 000F8BC4 7C 84 2A 14 */ add r4, r4, r5 -/* 800FBC68 000F8BC8 7C 04 01 D6 */ mullw r0, r4, r0 -/* 800FBC6C 000F8BCC 7C 00 18 50 */ subf r0, r0, r3 -/* 800FBC70 000F8BD0 B0 01 00 12 */ sth r0, 0x12(r1) -/* 800FBC74 000F8BD4 E0 61 D0 12 */ psq_l f3, 18(r1), 1, qr5 -/* 800FBC78 000F8BD8 C0 42 93 68 */ lfs f2, lbl_805AB088@sda21(r2) -/* 800FBC7C 000F8BDC C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FBC80 000F8BE0 C0 3C 02 60 */ lfs f1, 0x260(r28) -/* 800FBC84 000F8BE4 EC 62 00 F8 */ fmsubs f3, f2, f3, f0 -/* 800FBC88 000F8BE8 C0 1C 02 6C */ lfs f0, 0x26c(r28) -/* 800FBC8C 000F8BEC EC 5F 00 72 */ fmuls f2, f31, f1 -/* 800FBC90 000F8BF0 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FBC94 000F8BF4 FC 20 1A 10 */ fabs f1, f3 -/* 800FBC98 000F8BF8 FC 20 08 18 */ frsp f1, f1 -/* 800FBC9C 000F8BFC EF A2 00 7A */ fmadds f29, f2, f1, f0 -/* 800FBCA0 000F8C00 48 21 68 81 */ bl Next__9CRandom16Fv -/* 800FBCA4 000F8C04 3C 80 80 01 */ lis r4, 0x80010003@ha -/* 800FBCA8 000F8C08 38 00 7F FF */ li r0, 0x7fff -/* 800FBCAC 000F8C0C 38 84 00 03 */ addi r4, r4, 0x80010003@l -/* 800FBCB0 000F8C10 7C 84 18 96 */ mulhw r4, r4, r3 -/* 800FBCB4 000F8C14 7C 84 1A 14 */ add r4, r4, r3 -/* 800FBCB8 000F8C18 7C 84 76 70 */ srawi r4, r4, 0xe -/* 800FBCBC 000F8C1C 54 85 0F FE */ srwi r5, r4, 0x1f -/* 800FBCC0 000F8C20 7C 84 2A 14 */ add r4, r4, r5 -/* 800FBCC4 000F8C24 7C 04 01 D6 */ mullw r0, r4, r0 -/* 800FBCC8 000F8C28 7C 00 18 50 */ subf r0, r0, r3 -/* 800FBCCC 000F8C2C B0 01 00 10 */ sth r0, 0x10(r1) -/* 800FBCD0 000F8C30 E0 61 D0 10 */ psq_l f3, 16(r1), 1, qr5 -/* 800FBCD4 000F8C34 C0 5C 02 5C */ lfs f2, 0x25c(r28) -/* 800FBCD8 000F8C38 C0 22 93 68 */ lfs f1, lbl_805AB088@sda21(r2) -/* 800FBCDC 000F8C3C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FBCE0 000F8C40 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 800FBCE4 000F8C44 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FBCE8 000F8C48 EC 01 00 F8 */ fmsubs f0, f1, f3, f0 -/* 800FBCEC 000F8C4C EF C2 00 32 */ fmuls f30, f2, f0 -/* 800FBCF0 000F8C50 48 21 68 31 */ bl Next__9CRandom16Fv -/* 800FBCF4 000F8C54 3C 80 80 01 */ lis r4, 0x80010003@ha -/* 800FBCF8 000F8C58 38 00 7F FF */ li r0, 0x7fff -/* 800FBCFC 000F8C5C 38 84 00 03 */ addi r4, r4, 0x80010003@l -/* 800FBD00 000F8C60 7C 84 18 96 */ mulhw r4, r4, r3 -/* 800FBD04 000F8C64 7C 84 1A 14 */ add r4, r4, r3 -/* 800FBD08 000F8C68 7C 84 76 70 */ srawi r4, r4, 0xe -/* 800FBD0C 000F8C6C 54 85 0F FE */ srwi r5, r4, 0x1f -/* 800FBD10 000F8C70 7C 84 2A 14 */ add r4, r4, r5 -/* 800FBD14 000F8C74 7C 04 01 D6 */ mullw r0, r4, r0 -/* 800FBD18 000F8C78 7C 00 18 50 */ subf r0, r0, r3 -/* 800FBD1C 000F8C7C B0 01 00 0E */ sth r0, 0xe(r1) -/* 800FBD20 000F8C80 E0 61 D0 0E */ psq_l f3, 14(r1), 1, qr5 -/* 800FBD24 000F8C84 C0 5C 02 58 */ lfs f2, 0x258(r28) -/* 800FBD28 000F8C88 C0 22 93 68 */ lfs f1, lbl_805AB088@sda21(r2) -/* 800FBD2C 000F8C8C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FBD30 000F8C90 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 800FBD34 000F8C94 C0 9C 00 4C */ lfs f4, 0x4c(r28) -/* 800FBD38 000F8C98 EC 01 00 F8 */ fmsubs f0, f1, f3, f0 -/* 800FBD3C 000F8C9C C0 7C 00 5C */ lfs f3, 0x5c(r28) -/* 800FBD40 000F8CA0 C0 3C 00 3C */ lfs f1, 0x3c(r28) -/* 800FBD44 000F8CA4 EC 84 F0 2A */ fadds f4, f4, f30 -/* 800FBD48 000F8CA8 EC 63 E8 2A */ fadds f3, f3, f29 -/* 800FBD4C 000F8CAC EC 02 00 32 */ fmuls f0, f2, f0 -/* 800FBD50 000F8CB0 D0 81 00 98 */ stfs f4, 0x98(r1) -/* 800FBD54 000F8CB4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800FBD58 000F8CB8 D0 61 00 9C */ stfs f3, 0x9c(r1) -/* 800FBD5C 000F8CBC D0 01 00 94 */ stfs f0, 0x94(r1) -/* 800FBD60 000F8CC0 4B F1 F7 D5 */ bl Identity__10CAxisAngleFv -/* 800FBD64 000F8CC4 C0 03 00 00 */ lfs f0, 0(r3) -/* 800FBD68 000F8CC8 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 800FBD6C 000F8CCC C0 03 00 04 */ lfs f0, 4(r3) -/* 800FBD70 000F8CD0 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 800FBD74 000F8CD4 C0 03 00 08 */ lfs f0, 8(r3) -/* 800FBD78 000F8CD8 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 800FBD7C 000F8CDC 88 1C 02 81 */ lbz r0, 0x281(r28) -/* 800FBD80 000F8CE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FBD84 000F8CE4 41 82 01 58 */ beq lbl_800FBEDC -/* 800FBD88 000F8CE8 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FBD8C 000F8CEC 48 21 67 95 */ bl Next__9CRandom16Fv -/* 800FBD90 000F8CF0 3C 80 51 EC */ lis r4, 0x51EB851F@ha -/* 800FBD94 000F8CF4 38 04 85 1F */ addi r0, r4, 0x51EB851F@l -/* 800FBD98 000F8CF8 7C 00 18 96 */ mulhw r0, r0, r3 -/* 800FBD9C 000F8CFC 7C 00 2E 70 */ srawi r0, r0, 5 -/* 800FBDA0 000F8D00 54 04 0F FE */ srwi r4, r0, 0x1f -/* 800FBDA4 000F8D04 7C 00 22 14 */ add r0, r0, r4 -/* 800FBDA8 000F8D08 1C 00 00 64 */ mulli r0, r0, 0x64 -/* 800FBDAC 000F8D0C 7C 00 18 50 */ subf r0, r0, r3 -/* 800FBDB0 000F8D10 2C 00 00 32 */ cmpwi r0, 0x32 -/* 800FBDB4 000F8D14 40 80 01 0C */ bge lbl_800FBEC0 -/* 800FBDB8 000F8D18 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FBDBC 000F8D1C 48 21 67 65 */ bl Next__9CRandom16Fv -/* 800FBDC0 000F8D20 3C 80 80 01 */ lis r4, 0x80010003@ha -/* 800FBDC4 000F8D24 38 00 7F FF */ li r0, 0x7fff -/* 800FBDC8 000F8D28 38 84 00 03 */ addi r4, r4, 0x80010003@l -/* 800FBDCC 000F8D2C 7C 84 18 96 */ mulhw r4, r4, r3 -/* 800FBDD0 000F8D30 7C 84 1A 14 */ add r4, r4, r3 -/* 800FBDD4 000F8D34 7C 84 76 70 */ srawi r4, r4, 0xe -/* 800FBDD8 000F8D38 54 85 0F FE */ srwi r5, r4, 0x1f -/* 800FBDDC 000F8D3C 7C 84 2A 14 */ add r4, r4, r5 -/* 800FBDE0 000F8D40 7C 04 01 D6 */ mullw r0, r4, r0 -/* 800FBDE4 000F8D44 7C 00 18 50 */ subf r0, r0, r3 -/* 800FBDE8 000F8D48 B0 01 00 08 */ sth r0, 8(r1) -/* 800FBDEC 000F8D4C E3 A1 D0 08 */ psq_l f29, 8(r1), 1, qr5 -/* 800FBDF0 000F8D50 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FBDF4 000F8D54 48 21 67 2D */ bl Next__9CRandom16Fv -/* 800FBDF8 000F8D58 3C 80 80 01 */ lis r4, 0x80010003@ha -/* 800FBDFC 000F8D5C 38 00 7F FF */ li r0, 0x7fff -/* 800FBE00 000F8D60 38 84 00 03 */ addi r4, r4, 0x80010003@l -/* 800FBE04 000F8D64 7C 84 18 96 */ mulhw r4, r4, r3 -/* 800FBE08 000F8D68 7C 84 1A 14 */ add r4, r4, r3 -/* 800FBE0C 000F8D6C 7C 84 76 70 */ srawi r4, r4, 0xe -/* 800FBE10 000F8D70 54 85 0F FE */ srwi r5, r4, 0x1f -/* 800FBE14 000F8D74 7C 84 2A 14 */ add r4, r4, r5 -/* 800FBE18 000F8D78 7C 04 01 D6 */ mullw r0, r4, r0 -/* 800FBE1C 000F8D7C 7C 00 18 50 */ subf r0, r0, r3 -/* 800FBE20 000F8D80 B0 01 00 0A */ sth r0, 0xa(r1) -/* 800FBE24 000F8D84 E3 C1 D0 0A */ psq_l f30, 10(r1), 1, qr5 -/* 800FBE28 000F8D88 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FBE2C 000F8D8C 48 21 66 F5 */ bl Next__9CRandom16Fv -/* 800FBE30 000F8D90 3C 80 80 01 */ lis r4, 0x80010003@ha -/* 800FBE34 000F8D94 38 00 7F FF */ li r0, 0x7fff -/* 800FBE38 000F8D98 38 84 00 03 */ addi r4, r4, 0x80010003@l -/* 800FBE3C 000F8D9C 7C 84 18 96 */ mulhw r4, r4, r3 -/* 800FBE40 000F8DA0 7C 84 1A 14 */ add r4, r4, r3 -/* 800FBE44 000F8DA4 7C 84 76 70 */ srawi r4, r4, 0xe -/* 800FBE48 000F8DA8 54 85 0F FE */ srwi r5, r4, 0x1f -/* 800FBE4C 000F8DAC 7C 84 2A 14 */ add r4, r4, r5 -/* 800FBE50 000F8DB0 7C 04 01 D6 */ mullw r0, r4, r0 -/* 800FBE54 000F8DB4 7C 00 18 50 */ subf r0, r0, r3 -/* 800FBE58 000F8DB8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800FBE5C 000F8DBC E0 21 D0 0C */ psq_l f1, 12(r1), 1, qr5 -/* 800FBE60 000F8DC0 38 61 00 4C */ addi r3, r1, 0x4c -/* 800FBE64 000F8DC4 C0 A2 93 68 */ lfs f5, lbl_805AB088@sda21(r2) -/* 800FBE68 000F8DC8 38 81 00 40 */ addi r4, r1, 0x40 -/* 800FBE6C 000F8DCC C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FBE70 000F8DD0 C0 C2 93 6C */ lfs f6, lbl_805AB08C@sda21(r2) -/* 800FBE74 000F8DD4 EC 85 00 78 */ fmsubs f4, f5, f1, f0 -/* 800FBE78 000F8DD8 C0 62 93 70 */ lfs f3, lbl_805AB090@sda21(r2) -/* 800FBE7C 000F8DDC EC 45 07 B8 */ fmsubs f2, f5, f30, f0 -/* 800FBE80 000F8DE0 C0 22 93 74 */ lfs f1, lbl_805AB094@sda21(r2) -/* 800FBE84 000F8DE4 EC 05 07 78 */ fmsubs f0, f5, f29, f0 -/* 800FBE88 000F8DE8 EC 86 01 32 */ fmuls f4, f6, f4 -/* 800FBE8C 000F8DEC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800FBE90 000F8DF0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800FBE94 000F8DF4 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 800FBE98 000F8DF8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 800FBE9C 000F8DFC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800FBEA0 000F8E00 4B F1 F6 E5 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 800FBEA4 000F8E04 80 81 00 4C */ lwz r4, 0x4c(r1) -/* 800FBEA8 000F8E08 80 61 00 50 */ lwz r3, 0x50(r1) -/* 800FBEAC 000F8E0C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800FBEB0 000F8E10 90 81 00 88 */ stw r4, 0x88(r1) -/* 800FBEB4 000F8E14 90 61 00 8C */ stw r3, 0x8c(r1) -/* 800FBEB8 000F8E18 90 01 00 90 */ stw r0, 0x90(r1) -/* 800FBEBC 000F8E1C 48 00 00 20 */ b lbl_800FBEDC -lbl_800FBEC0: -/* 800FBEC0 000F8E20 4B F1 F6 75 */ bl Identity__10CAxisAngleFv -/* 800FBEC4 000F8E24 80 83 00 00 */ lwz r4, 0(r3) -/* 800FBEC8 000F8E28 80 03 00 04 */ lwz r0, 4(r3) -/* 800FBECC 000F8E2C 90 81 00 88 */ stw r4, 0x88(r1) -/* 800FBED0 000F8E30 90 01 00 8C */ stw r0, 0x8c(r1) -/* 800FBED4 000F8E34 80 03 00 08 */ lwz r0, 8(r3) -/* 800FBED8 000F8E38 90 01 00 90 */ stw r0, 0x90(r1) -lbl_800FBEDC: -/* 800FBEDC 000F8E3C 7F 83 E3 78 */ mr r3, r28 -/* 800FBEE0 000F8E40 38 81 00 94 */ addi r4, r1, 0x94 -/* 800FBEE4 000F8E44 38 A1 00 88 */ addi r5, r1, 0x88 -/* 800FBEE8 000F8E48 48 02 04 B1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800FBEEC 000F8E4C 48 00 00 84 */ b lbl_800FBF70 -lbl_800FBEF0: -/* 800FBEF0 000F8E50 C0 3C 02 88 */ lfs f1, 0x288(r28) -/* 800FBEF4 000F8E54 7F E4 FB 78 */ mr r4, r31 -/* 800FBEF8 000F8E58 C0 5C 02 8C */ lfs f2, 0x28c(r28) -/* 800FBEFC 000F8E5C 38 61 00 34 */ addi r3, r1, 0x34 -/* 800FBF00 000F8E60 C0 7C 02 90 */ lfs f3, 0x290(r28) -/* 800FBF04 000F8E64 48 00 1D A5 */ bl debris_cone__FR13CStateManagerfff -/* 800FBF08 000F8E68 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 800FBF0C 000F8E6C 7F E4 FB 78 */ mr r4, r31 -/* 800FBF10 000F8E70 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 800FBF14 000F8E74 38 61 00 28 */ addi r3, r1, 0x28 -/* 800FBF18 000F8E78 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 800FBF1C 000F8E7C D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 800FBF20 000F8E80 C0 22 93 78 */ lfs f1, lbl_805AB098@sda21(r2) -/* 800FBF24 000F8E84 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 800FBF28 000F8E88 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 800FBF2C 000F8E8C C0 5C 02 94 */ lfs f2, 0x294(r28) -/* 800FBF30 000F8E90 C0 7C 02 98 */ lfs f3, 0x298(r28) -/* 800FBF34 000F8E94 48 00 1D 75 */ bl debris_cone__FR13CStateManagerfff -/* 800FBF38 000F8E98 38 61 00 70 */ addi r3, r1, 0x70 -/* 800FBF3C 000F8E9C 38 81 00 28 */ addi r4, r1, 0x28 -/* 800FBF40 000F8EA0 4B F1 F6 45 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 800FBF44 000F8EA4 7F 83 E3 78 */ mr r3, r28 -/* 800FBF48 000F8EA8 38 81 00 7C */ addi r4, r1, 0x7c -/* 800FBF4C 000F8EAC 38 A1 00 70 */ addi r5, r1, 0x70 -/* 800FBF50 000F8EB0 48 02 02 B5 */ bl ApplyImpulseOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 800FBF54 000F8EB4 C3 DC 02 A0 */ lfs f30, 0x2a0(r28) -/* 800FBF58 000F8EB8 C3 BC 02 9C */ lfs f29, 0x29c(r28) -/* 800FBF5C 000F8EBC 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FBF60 000F8EC0 48 21 65 7D */ bl Float__9CRandom16Fv -/* 800FBF64 000F8EC4 EC 1E E8 28 */ fsubs f0, f30, f29 -/* 800FBF68 000F8EC8 EC 00 E8 7A */ fmadds f0, f0, f1, f29 -/* 800FBF6C 000F8ECC D0 1C 02 74 */ stfs f0, 0x274(r28) -lbl_800FBF70: -/* 800FBF70 000F8ED0 80 7C 02 D4 */ lwz r3, 0x2d4(r28) -/* 800FBF74 000F8ED4 28 03 00 00 */ cmplwi r3, 0 -/* 800FBF78 000F8ED8 41 82 00 18 */ beq lbl_800FBF90 -/* 800FBF7C 000F8EDC 81 83 00 00 */ lwz r12, 0(r3) -/* 800FBF80 000F8EE0 38 80 00 01 */ li r4, 1 -/* 800FBF84 000F8EE4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800FBF88 000F8EE8 7D 89 03 A6 */ mtctr r12 -/* 800FBF8C 000F8EEC 4E 80 04 21 */ bctrl -lbl_800FBF90: -/* 800FBF90 000F8EF0 80 7C 02 D8 */ lwz r3, 0x2d8(r28) -/* 800FBF94 000F8EF4 28 03 00 00 */ cmplwi r3, 0 -/* 800FBF98 000F8EF8 41 82 00 90 */ beq lbl_800FC028 -/* 800FBF9C 000F8EFC 81 83 00 00 */ lwz r12, 0(r3) -/* 800FBFA0 000F8F00 38 80 00 01 */ li r4, 1 -/* 800FBFA4 000F8F04 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800FBFA8 000F8F08 7D 89 03 A6 */ mtctr r12 -/* 800FBFAC 000F8F0C 4E 80 04 21 */ bctrl -/* 800FBFB0 000F8F10 48 00 00 78 */ b lbl_800FC028 -lbl_800FBFB4: -/* 800FBFB4 000F8F14 88 1C 02 82 */ lbz r0, 0x282(r28) -/* 800FBFB8 000F8F18 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FBFBC 000F8F1C 40 82 00 6C */ bne lbl_800FC028 -/* 800FBFC0 000F8F20 C0 1C 02 7C */ lfs f0, 0x27c(r28) -/* 800FBFC4 000F8F24 38 61 00 1C */ addi r3, r1, 0x1c -/* 800FBFC8 000F8F28 C0 5C 01 00 */ lfs f2, 0x100(r28) -/* 800FBFCC 000F8F2C 38 81 00 18 */ addi r4, r1, 0x18 -/* 800FBFD0 000F8F30 FC 60 00 50 */ fneg f3, f0 -/* 800FBFD4 000F8F34 C0 3C 01 04 */ lfs f1, 0x104(r28) -/* 800FBFD8 000F8F38 C0 1C 00 FC */ lfs f0, 0xfc(r28) -/* 800FBFDC 000F8F3C 38 BC 01 08 */ addi r5, r28, 0x108 -/* 800FBFE0 000F8F40 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 800FBFE4 000F8F44 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 800FBFE8 000F8F48 EC 23 00 72 */ fmuls f1, f3, f1 -/* 800FBFEC 000F8F4C EC 03 00 32 */ fmuls f0, f3, f0 -/* 800FBFF0 000F8F50 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 800FBFF4 000F8F54 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 800FBFF8 000F8F58 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 800FBFFC 000F8F5C 4B F1 F4 5D */ bl __ml__FRCfRC10CAxisAngle -/* 800FC000 000F8F60 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 800FC004 000F8F64 7F 83 E3 78 */ mr r3, r28 -/* 800FC008 000F8F68 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 800FC00C 000F8F6C 38 81 00 64 */ addi r4, r1, 0x64 -/* 800FC010 000F8F70 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 800FC014 000F8F74 38 A1 00 58 */ addi r5, r1, 0x58 -/* 800FC018 000F8F78 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 800FC01C 000F8F7C D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 800FC020 000F8F80 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 800FC024 000F8F84 48 02 03 75 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_800FC028: -/* 800FC028 000F8F88 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800FC02C 000F8F8C 7F 83 E3 78 */ mr r3, r28 -/* 800FC030 000F8F90 7F A4 EB 78 */ mr r4, r29 -/* 800FC034 000F8F94 7F E6 FB 78 */ mr r6, r31 -/* 800FC038 000F8F98 B0 01 00 14 */ sth r0, 0x14(r1) -/* 800FC03C 000F8F9C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800FC040 000F8FA0 4B F5 75 D5 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800FC044 000F8FA4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 800FC048 000F8FA8 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 800FC04C 000F8FAC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 800FC050 000F8FB0 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 800FC054 000F8FB4 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 800FC058 000F8FB8 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 800FC05C 000F8FBC 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 800FC060 000F8FC0 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 800FC064 000F8FC4 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 800FC068 000F8FC8 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 800FC06C 000F8FCC 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 800FC070 000F8FD0 7C 08 03 A6 */ mtlr r0 -/* 800FC074 000F8FD4 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 800FC078 000F8FD8 4E 80 00 20 */ blr - -.global GetTouchBounds__13CScriptDebrisCFv -GetTouchBounds__13CScriptDebrisCFv: -/* 800FC07C 000F8FDC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800FC080 000F8FE0 7C 08 02 A6 */ mflr r0 -/* 800FC084 000F8FE4 90 01 00 34 */ stw r0, 0x34(r1) -/* 800FC088 000F8FE8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800FC08C 000F8FEC 7C 7F 1B 78 */ mr r31, r3 -/* 800FC090 000F8FF0 88 04 02 81 */ lbz r0, 0x281(r4) -/* 800FC094 000F8FF4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800FC098 000F8FF8 41 82 00 50 */ beq lbl_800FC0E8 -/* 800FC09C 000F8FFC 38 61 00 08 */ addi r3, r1, 8 -/* 800FC0A0 000F9000 48 01 E8 8D */ bl GetBoundingBox__13CPhysicsActorCFv -/* 800FC0A4 000F9004 38 00 00 01 */ li r0, 1 -/* 800FC0A8 000F9008 28 1F 00 00 */ cmplwi r31, 0 -/* 800FC0AC 000F900C 98 1F 00 18 */ stb r0, 0x18(r31) -/* 800FC0B0 000F9010 41 82 00 40 */ beq lbl_800FC0F0 -/* 800FC0B4 000F9014 C0 01 00 08 */ lfs f0, 8(r1) -/* 800FC0B8 000F9018 D0 1F 00 00 */ stfs f0, 0(r31) -/* 800FC0BC 000F901C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800FC0C0 000F9020 D0 1F 00 04 */ stfs f0, 4(r31) -/* 800FC0C4 000F9024 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 800FC0C8 000F9028 D0 1F 00 08 */ stfs f0, 8(r31) -/* 800FC0CC 000F902C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 800FC0D0 000F9030 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 800FC0D4 000F9034 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 800FC0D8 000F9038 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 800FC0DC 000F903C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 800FC0E0 000F9040 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 800FC0E4 000F9044 48 00 00 0C */ b lbl_800FC0F0 -lbl_800FC0E8: -/* 800FC0E8 000F9048 38 00 00 00 */ li r0, 0 -/* 800FC0EC 000F904C 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_800FC0F0: -/* 800FC0F0 000F9050 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800FC0F4 000F9054 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800FC0F8 000F9058 7C 08 03 A6 */ mtlr r0 -/* 800FC0FC 000F905C 38 21 00 30 */ addi r1, r1, 0x30 -/* 800FC100 000F9060 4E 80 00 20 */ blr - -.global Touch__13CScriptDebrisFR6CActorR13CStateManager -Touch__13CScriptDebrisFR6CActorR13CStateManager: -/* 800FC104 000F9064 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800FC108 000F9068 7C 08 02 A6 */ mflr r0 -/* 800FC10C 000F906C 90 01 00 24 */ stw r0, 0x24(r1) -/* 800FC110 000F9070 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800FC114 000F9074 7C BF 2B 78 */ mr r31, r5 -/* 800FC118 000F9078 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800FC11C 000F907C 7C 7E 1B 78 */ mr r30, r3 -/* 800FC120 000F9080 88 03 02 81 */ lbz r0, 0x281(r3) -/* 800FC124 000F9084 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 800FC128 000F9088 41 82 00 44 */ beq lbl_800FC16C -/* 800FC12C 000F908C 38 61 00 10 */ addi r3, r1, 0x10 -/* 800FC130 000F9090 4B FB 16 49 */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" -/* 800FC134 000F9094 80 03 00 04 */ lwz r0, 4(r3) -/* 800FC138 000F9098 28 00 00 00 */ cmplwi r0, 0 -/* 800FC13C 000F909C 41 82 00 30 */ beq lbl_800FC16C -/* 800FC140 000F90A0 7F C3 F3 78 */ mr r3, r30 -/* 800FC144 000F90A4 7F E5 FB 78 */ mr r5, r31 -/* 800FC148 000F90A8 38 80 00 0E */ li r4, 0xe -/* 800FC14C 000F90AC 38 C0 FF FF */ li r6, -1 -/* 800FC150 000F90B0 4B F5 4F 71 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 800FC154 000F90B4 A0 1E 00 08 */ lhz r0, 8(r30) -/* 800FC158 000F90B8 7F E3 FB 78 */ mr r3, r31 -/* 800FC15C 000F90BC 38 81 00 0C */ addi r4, r1, 0xc -/* 800FC160 000F90C0 B0 01 00 08 */ sth r0, 8(r1) -/* 800FC164 000F90C4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800FC168 000F90C8 4B F5 01 05 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_800FC16C: -/* 800FC16C 000F90CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800FC170 000F90D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800FC174 000F90D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800FC178 000F90D8 7C 08 03 A6 */ mtlr r0 -/* 800FC17C 000F90DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 800FC180 000F90E0 4E 80 00 20 */ blr - -.global Think__13CScriptDebrisFfR13CStateManager -Think__13CScriptDebrisFfR13CStateManager: -/* 800FC184 000F90E4 94 21 FD 30 */ stwu r1, -0x2d0(r1) -/* 800FC188 000F90E8 7C 08 02 A6 */ mflr r0 -/* 800FC18C 000F90EC 90 01 02 D4 */ stw r0, 0x2d4(r1) -/* 800FC190 000F90F0 DB E1 02 C0 */ stfd f31, 0x2c0(r1) -/* 800FC194 000F90F4 F3 E1 02 C8 */ psq_st f31, 712(r1), 0, qr0 -/* 800FC198 000F90F8 BF 61 02 AC */ stmw r27, 0x2ac(r1) -/* 800FC19C 000F90FC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800FC1A0 000F9100 FF E0 08 90 */ fmr f31, f1 -/* 800FC1A4 000F9104 7C 7D 1B 78 */ mr r29, r3 -/* 800FC1A8 000F9108 7C 9E 23 78 */ mr r30, r4 -/* 800FC1AC 000F910C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FC1B0 000F9110 41 82 09 AC */ beq lbl_800FCB5C -/* 800FC1B4 000F9114 C0 1D 02 70 */ lfs f0, 0x270(r29) -/* 800FC1B8 000F9118 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800FC1BC 000F911C D0 1D 02 70 */ stfs f0, 0x270(r29) -/* 800FC1C0 000F9120 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FC1C4 000F9124 C0 1D 02 74 */ lfs f0, 0x274(r29) -/* 800FC1C8 000F9128 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC1CC 000F912C 4C 41 13 82 */ cror 2, 1, 2 -/* 800FC1D0 000F9130 7C 00 00 26 */ mfcr r0 -/* 800FC1D4 000F9134 80 7D 02 D4 */ lwz r3, 0x2d4(r29) -/* 800FC1D8 000F9138 54 1F 1F FE */ rlwinm r31, r0, 3, 0x1f, 0x1f -/* 800FC1DC 000F913C 28 03 00 00 */ cmplwi r3, 0 -/* 800FC1E0 000F9140 41 82 01 FC */ beq lbl_800FC3DC -/* 800FC1E4 000F9144 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC1E8 000F9148 4C 41 13 82 */ cror 2, 1, 2 -/* 800FC1EC 000F914C 40 82 00 1C */ bne lbl_800FC208 -/* 800FC1F0 000F9150 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC1F4 000F9154 38 80 00 00 */ li r4, 0 -/* 800FC1F8 000F9158 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800FC1FC 000F915C 7D 89 03 A6 */ mtctr r12 -/* 800FC200 000F9160 4E 80 04 21 */ bctrl -/* 800FC204 000F9164 48 00 01 78 */ b lbl_800FC37C -lbl_800FC208: -/* 800FC208 000F9168 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FC20C 000F916C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800FC210 000F9170 41 82 00 34 */ beq lbl_800FC244 -/* 800FC214 000F9174 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800FC218 000F9178 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 800FC21C 000F917C C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 800FC220 000F9180 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800FC224 000F9184 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 800FC228 000F9188 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 800FC22C 000F918C D0 41 00 BC */ stfs f2, 0xbc(r1) -/* 800FC230 000F9190 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC234 000F9194 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800FC238 000F9198 7D 89 03 A6 */ mtctr r12 -/* 800FC23C 000F919C 4E 80 04 21 */ bctrl -/* 800FC240 000F91A0 48 00 00 30 */ b lbl_800FC270 -lbl_800FC244: -/* 800FC244 000F91A4 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800FC248 000F91A8 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 800FC24C 000F91AC C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 800FC250 000F91B0 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800FC254 000F91B4 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 800FC258 000F91B8 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 800FC25C 000F91BC D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 800FC260 000F91C0 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC264 000F91C4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800FC268 000F91C8 7D 89 03 A6 */ mtctr r12 -/* 800FC26C 000F91CC 4E 80 04 21 */ bctrl -lbl_800FC270: -/* 800FC270 000F91D0 88 1D 02 83 */ lbz r0, 0x283(r29) -/* 800FC274 000F91D4 7C 00 07 74 */ extsb r0, r0 -/* 800FC278 000F91D8 2C 00 00 01 */ cmpwi r0, 1 -/* 800FC27C 000F91DC 40 82 00 D0 */ bne lbl_800FC34C -/* 800FC280 000F91E0 38 7D 01 38 */ addi r3, r29, 0x138 -/* 800FC284 000F91E4 48 21 84 75 */ bl CanBeNormalized__9CVector3fCFv -/* 800FC288 000F91E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FC28C 000F91EC 41 82 00 F0 */ beq lbl_800FC37C -/* 800FC290 000F91F0 38 61 00 9C */ addi r3, r1, 0x9c -/* 800FC294 000F91F4 38 9D 01 38 */ addi r4, r29, 0x138 -/* 800FC298 000F91F8 48 21 85 B9 */ bl AsNormalized__9CVector3fCFv -/* 800FC29C 000F91FC C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 800FC2A0 000F9200 C0 21 00 9C */ lfs f1, 0x9c(r1) -/* 800FC2A4 000F9204 FC 80 12 10 */ fabs f4, f2 -/* 800FC2A8 000F9208 C0 61 00 A0 */ lfs f3, 0xa0(r1) -/* 800FC2AC 000F920C C0 02 93 7C */ lfs f0, lbl_805AB09C@sda21(r2) -/* 800FC2B0 000F9210 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 800FC2B4 000F9214 FC 20 20 18 */ frsp f1, f4 -/* 800FC2B8 000F9218 D0 61 01 00 */ stfs f3, 0x100(r1) -/* 800FC2BC 000F921C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC2C0 000F9220 D0 41 01 04 */ stfs f2, 0x104(r1) -/* 800FC2C4 000F9224 40 80 00 20 */ bge lbl_800FC2E4 -/* 800FC2C8 000F9228 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) -/* 800FC2CC 000F922C 38 E1 00 90 */ addi r7, r1, 0x90 -/* 800FC2D0 000F9230 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FC2D4 000F9234 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 800FC2D8 000F9238 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 800FC2DC 000F923C D0 01 00 98 */ stfs f0, 0x98(r1) -/* 800FC2E0 000F9240 48 00 00 1C */ b lbl_800FC2FC -lbl_800FC2E4: -/* 800FC2E4 000F9244 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) -/* 800FC2E8 000F9248 38 E1 00 84 */ addi r7, r1, 0x84 -/* 800FC2EC 000F924C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FC2F0 000F9250 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 800FC2F4 000F9254 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 800FC2F8 000F9258 D0 21 00 8C */ stfs f1, 0x8c(r1) -lbl_800FC2FC: -/* 800FC2FC 000F925C C0 07 00 00 */ lfs f0, 0(r7) -/* 800FC300 000F9260 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FC304 000F9264 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800FC308 000F9268 38 A1 00 FC */ addi r5, r1, 0xfc -/* 800FC30C 000F926C D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 800FC310 000F9270 38 61 02 40 */ addi r3, r1, 0x240 -/* 800FC314 000F9274 38 C1 00 F0 */ addi r6, r1, 0xf0 -/* 800FC318 000F9278 C0 07 00 04 */ lfs f0, 4(r7) -/* 800FC31C 000F927C D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 800FC320 000F9280 C0 07 00 08 */ lfs f0, 8(r7) -/* 800FC324 000F9284 D0 01 00 F8 */ stfs f0, 0xf8(r1) -/* 800FC328 000F9288 83 9D 02 D4 */ lwz r28, 0x2d4(r29) -/* 800FC32C 000F928C 48 21 77 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800FC330 000F9290 7F 83 E3 78 */ mr r3, r28 -/* 800FC334 000F9294 38 81 02 40 */ addi r4, r1, 0x240 -/* 800FC338 000F9298 81 9C 00 00 */ lwz r12, 0(r28) -/* 800FC33C 000F929C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800FC340 000F92A0 7D 89 03 A6 */ mtctr r12 -/* 800FC344 000F92A4 4E 80 04 21 */ bctrl -/* 800FC348 000F92A8 48 00 00 34 */ b lbl_800FC37C -lbl_800FC34C: -/* 800FC34C 000F92AC 2C 00 00 02 */ cmpwi r0, 2 -/* 800FC350 000F92B0 40 82 00 2C */ bne lbl_800FC37C -/* 800FC354 000F92B4 83 9D 02 D4 */ lwz r28, 0x2d4(r29) -/* 800FC358 000F92B8 38 61 02 10 */ addi r3, r1, 0x210 -/* 800FC35C 000F92BC 38 9D 00 34 */ addi r4, r29, 0x34 -/* 800FC360 000F92C0 48 21 68 E1 */ bl GetRotation__12CTransform4fCFv -/* 800FC364 000F92C4 7F 83 E3 78 */ mr r3, r28 -/* 800FC368 000F92C8 38 81 02 10 */ addi r4, r1, 0x210 -/* 800FC36C 000F92CC 81 9C 00 00 */ lwz r12, 0(r28) -/* 800FC370 000F92D0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800FC374 000F92D4 7D 89 03 A6 */ mtctr r12 -/* 800FC378 000F92D8 4E 80 04 21 */ bctrl -lbl_800FC37C: -/* 800FC37C 000F92DC 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FC380 000F92E0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800FC384 000F92E4 41 82 00 24 */ beq lbl_800FC3A8 -/* 800FC388 000F92E8 80 7D 02 D4 */ lwz r3, 0x2d4(r29) -/* 800FC38C 000F92EC 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC390 000F92F0 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800FC394 000F92F4 7D 89 03 A6 */ mtctr r12 -/* 800FC398 000F92F8 4E 80 04 21 */ bctrl -/* 800FC39C 000F92FC 2C 03 00 00 */ cmpwi r3, 0 -/* 800FC3A0 000F9300 41 82 00 08 */ beq lbl_800FC3A8 -/* 800FC3A4 000F9304 3B E0 00 00 */ li r31, 0 -lbl_800FC3A8: -/* 800FC3A8 000F9308 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FC3AC 000F930C C0 1D 02 74 */ lfs f0, 0x274(r29) -/* 800FC3B0 000F9310 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC3B4 000F9314 41 80 00 10 */ blt lbl_800FC3C4 -/* 800FC3B8 000F9318 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FC3BC 000F931C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 800FC3C0 000F9320 41 82 00 1C */ beq lbl_800FC3DC -lbl_800FC3C4: -/* 800FC3C4 000F9324 80 7D 02 D4 */ lwz r3, 0x2d4(r29) -/* 800FC3C8 000F9328 FC 20 F8 90 */ fmr f1, f31 -/* 800FC3CC 000F932C 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC3D0 000F9330 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800FC3D4 000F9334 7D 89 03 A6 */ mtctr r12 -/* 800FC3D8 000F9338 4E 80 04 21 */ bctrl -lbl_800FC3DC: -/* 800FC3DC 000F933C 80 7D 02 D8 */ lwz r3, 0x2d8(r29) -/* 800FC3E0 000F9340 28 03 00 00 */ cmplwi r3, 0 -/* 800FC3E4 000F9344 41 82 02 04 */ beq lbl_800FC5E8 -/* 800FC3E8 000F9348 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FC3EC 000F934C C0 1D 02 74 */ lfs f0, 0x274(r29) -/* 800FC3F0 000F9350 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC3F4 000F9354 4C 41 13 82 */ cror 2, 1, 2 -/* 800FC3F8 000F9358 40 82 00 1C */ bne lbl_800FC414 -/* 800FC3FC 000F935C 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC400 000F9360 38 80 00 00 */ li r4, 0 -/* 800FC404 000F9364 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 800FC408 000F9368 7D 89 03 A6 */ mtctr r12 -/* 800FC40C 000F936C 4E 80 04 21 */ bctrl -/* 800FC410 000F9370 48 00 01 78 */ b lbl_800FC588 -lbl_800FC414: -/* 800FC414 000F9374 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FC418 000F9378 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 800FC41C 000F937C 41 82 00 34 */ beq lbl_800FC450 -/* 800FC420 000F9380 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800FC424 000F9384 38 81 00 78 */ addi r4, r1, 0x78 -/* 800FC428 000F9388 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 800FC42C 000F938C C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800FC430 000F9390 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 800FC434 000F9394 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 800FC438 000F9398 D0 41 00 80 */ stfs f2, 0x80(r1) -/* 800FC43C 000F939C 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC440 000F93A0 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800FC444 000F93A4 7D 89 03 A6 */ mtctr r12 -/* 800FC448 000F93A8 4E 80 04 21 */ bctrl -/* 800FC44C 000F93AC 48 00 00 30 */ b lbl_800FC47C -lbl_800FC450: -/* 800FC450 000F93B0 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800FC454 000F93B4 38 81 00 6C */ addi r4, r1, 0x6c -/* 800FC458 000F93B8 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 800FC45C 000F93BC C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800FC460 000F93C0 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 800FC464 000F93C4 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 800FC468 000F93C8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 800FC46C 000F93CC 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC470 000F93D0 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 800FC474 000F93D4 7D 89 03 A6 */ mtctr r12 -/* 800FC478 000F93D8 4E 80 04 21 */ bctrl -lbl_800FC47C: -/* 800FC47C 000F93DC 88 1D 02 84 */ lbz r0, 0x284(r29) -/* 800FC480 000F93E0 7C 00 07 74 */ extsb r0, r0 -/* 800FC484 000F93E4 2C 00 00 01 */ cmpwi r0, 1 -/* 800FC488 000F93E8 40 82 00 D0 */ bne lbl_800FC558 -/* 800FC48C 000F93EC 38 7D 01 38 */ addi r3, r29, 0x138 -/* 800FC490 000F93F0 48 21 82 69 */ bl CanBeNormalized__9CVector3fCFv -/* 800FC494 000F93F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FC498 000F93F8 41 82 00 F0 */ beq lbl_800FC588 -/* 800FC49C 000F93FC 38 61 00 60 */ addi r3, r1, 0x60 -/* 800FC4A0 000F9400 38 9D 01 38 */ addi r4, r29, 0x138 -/* 800FC4A4 000F9404 48 21 83 AD */ bl AsNormalized__9CVector3fCFv -/* 800FC4A8 000F9408 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 800FC4AC 000F940C C0 21 00 60 */ lfs f1, 0x60(r1) -/* 800FC4B0 000F9410 FC 80 12 10 */ fabs f4, f2 -/* 800FC4B4 000F9414 C0 61 00 64 */ lfs f3, 0x64(r1) -/* 800FC4B8 000F9418 C0 02 93 7C */ lfs f0, lbl_805AB09C@sda21(r2) -/* 800FC4BC 000F941C D0 21 00 E4 */ stfs f1, 0xe4(r1) -/* 800FC4C0 000F9420 FC 20 20 18 */ frsp f1, f4 -/* 800FC4C4 000F9424 D0 61 00 E8 */ stfs f3, 0xe8(r1) -/* 800FC4C8 000F9428 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC4CC 000F942C D0 41 00 EC */ stfs f2, 0xec(r1) -/* 800FC4D0 000F9430 40 80 00 20 */ bge lbl_800FC4F0 -/* 800FC4D4 000F9434 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) -/* 800FC4D8 000F9438 38 E1 00 54 */ addi r7, r1, 0x54 -/* 800FC4DC 000F943C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FC4E0 000F9440 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 800FC4E4 000F9444 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 800FC4E8 000F9448 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800FC4EC 000F944C 48 00 00 1C */ b lbl_800FC508 -lbl_800FC4F0: -/* 800FC4F0 000F9450 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) -/* 800FC4F4 000F9454 38 E1 00 48 */ addi r7, r1, 0x48 -/* 800FC4F8 000F9458 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FC4FC 000F945C D0 21 00 48 */ stfs f1, 0x48(r1) -/* 800FC500 000F9460 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800FC504 000F9464 D0 21 00 50 */ stfs f1, 0x50(r1) -lbl_800FC508: -/* 800FC508 000F9468 C0 07 00 00 */ lfs f0, 0(r7) -/* 800FC50C 000F946C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FC510 000F9470 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800FC514 000F9474 38 A1 00 E4 */ addi r5, r1, 0xe4 -/* 800FC518 000F9478 D0 01 00 D8 */ stfs f0, 0xd8(r1) -/* 800FC51C 000F947C 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 800FC520 000F9480 38 C1 00 D8 */ addi r6, r1, 0xd8 -/* 800FC524 000F9484 C0 07 00 04 */ lfs f0, 4(r7) -/* 800FC528 000F9488 D0 01 00 DC */ stfs f0, 0xdc(r1) -/* 800FC52C 000F948C C0 07 00 08 */ lfs f0, 8(r7) -/* 800FC530 000F9490 D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 800FC534 000F9494 83 9D 02 D8 */ lwz r28, 0x2d8(r29) -/* 800FC538 000F9498 48 21 75 D9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800FC53C 000F949C 7F 83 E3 78 */ mr r3, r28 -/* 800FC540 000F94A0 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 800FC544 000F94A4 81 9C 00 00 */ lwz r12, 0(r28) -/* 800FC548 000F94A8 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800FC54C 000F94AC 7D 89 03 A6 */ mtctr r12 -/* 800FC550 000F94B0 4E 80 04 21 */ bctrl -/* 800FC554 000F94B4 48 00 00 34 */ b lbl_800FC588 -lbl_800FC558: -/* 800FC558 000F94B8 2C 00 00 02 */ cmpwi r0, 2 -/* 800FC55C 000F94BC 40 82 00 2C */ bne lbl_800FC588 -/* 800FC560 000F94C0 83 9D 02 D8 */ lwz r28, 0x2d8(r29) -/* 800FC564 000F94C4 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 800FC568 000F94C8 38 9D 00 34 */ addi r4, r29, 0x34 -/* 800FC56C 000F94CC 48 21 66 D5 */ bl GetRotation__12CTransform4fCFv -/* 800FC570 000F94D0 7F 83 E3 78 */ mr r3, r28 -/* 800FC574 000F94D4 38 81 01 B0 */ addi r4, r1, 0x1b0 -/* 800FC578 000F94D8 81 9C 00 00 */ lwz r12, 0(r28) -/* 800FC57C 000F94DC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800FC580 000F94E0 7D 89 03 A6 */ mtctr r12 -/* 800FC584 000F94E4 4E 80 04 21 */ bctrl -lbl_800FC588: -/* 800FC588 000F94E8 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FC58C 000F94EC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 800FC590 000F94F0 41 82 00 24 */ beq lbl_800FC5B4 -/* 800FC594 000F94F4 80 7D 02 D8 */ lwz r3, 0x2d8(r29) -/* 800FC598 000F94F8 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC59C 000F94FC 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800FC5A0 000F9500 7D 89 03 A6 */ mtctr r12 -/* 800FC5A4 000F9504 4E 80 04 21 */ bctrl -/* 800FC5A8 000F9508 2C 03 00 00 */ cmpwi r3, 0 -/* 800FC5AC 000F950C 41 82 00 08 */ beq lbl_800FC5B4 -/* 800FC5B0 000F9510 3B E0 00 00 */ li r31, 0 -lbl_800FC5B4: -/* 800FC5B4 000F9514 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FC5B8 000F9518 C0 1D 02 74 */ lfs f0, 0x274(r29) -/* 800FC5BC 000F951C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC5C0 000F9520 41 80 00 10 */ blt lbl_800FC5D0 -/* 800FC5C4 000F9524 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FC5C8 000F9528 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 800FC5CC 000F952C 41 82 00 1C */ beq lbl_800FC5E8 -lbl_800FC5D0: -/* 800FC5D0 000F9530 80 7D 02 D8 */ lwz r3, 0x2d8(r29) -/* 800FC5D4 000F9534 FC 20 F8 90 */ fmr f1, f31 -/* 800FC5D8 000F9538 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC5DC 000F953C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800FC5E0 000F9540 7D 89 03 A6 */ mtctr r12 -/* 800FC5E4 000F9544 4E 80 04 21 */ bctrl -lbl_800FC5E8: -/* 800FC5E8 000F9548 80 7D 02 DC */ lwz r3, 0x2dc(r29) -/* 800FC5EC 000F954C 28 03 00 00 */ cmplwi r3, 0 -/* 800FC5F0 000F9550 41 82 02 84 */ beq lbl_800FC874 -/* 800FC5F4 000F9554 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FC5F8 000F9558 C0 1D 02 74 */ lfs f0, 0x274(r29) -/* 800FC5FC 000F955C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC600 000F9560 4C 41 13 82 */ cror 2, 1, 2 -/* 800FC604 000F9564 40 82 02 2C */ bne lbl_800FC830 -/* 800FC608 000F9568 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FC60C 000F956C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800FC610 000F9570 40 82 02 20 */ bne lbl_800FC830 -/* 800FC614 000F9574 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 800FC618 000F9578 38 81 00 3C */ addi r4, r1, 0x3c -/* 800FC61C 000F957C C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 800FC620 000F9580 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800FC624 000F9584 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 800FC628 000F9588 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 800FC62C 000F958C D0 41 00 44 */ stfs f2, 0x44(r1) -/* 800FC630 000F9590 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC634 000F9594 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 800FC638 000F9598 7D 89 03 A6 */ mtctr r12 -/* 800FC63C 000F959C 4E 80 04 21 */ bctrl -/* 800FC640 000F95A0 88 1D 02 85 */ lbz r0, 0x285(r29) -/* 800FC644 000F95A4 7C 00 07 74 */ extsb r0, r0 -/* 800FC648 000F95A8 2C 00 00 01 */ cmpwi r0, 1 -/* 800FC64C 000F95AC 40 82 00 D0 */ bne lbl_800FC71C -/* 800FC650 000F95B0 38 7D 01 38 */ addi r3, r29, 0x138 -/* 800FC654 000F95B4 48 21 80 A5 */ bl CanBeNormalized__9CVector3fCFv -/* 800FC658 000F95B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FC65C 000F95BC 41 82 01 C4 */ beq lbl_800FC820 -/* 800FC660 000F95C0 38 61 00 30 */ addi r3, r1, 0x30 -/* 800FC664 000F95C4 38 9D 01 38 */ addi r4, r29, 0x138 -/* 800FC668 000F95C8 48 21 81 E9 */ bl AsNormalized__9CVector3fCFv -/* 800FC66C 000F95CC C0 41 00 38 */ lfs f2, 0x38(r1) -/* 800FC670 000F95D0 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 800FC674 000F95D4 FC 80 12 10 */ fabs f4, f2 -/* 800FC678 000F95D8 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 800FC67C 000F95DC C0 02 93 7C */ lfs f0, lbl_805AB09C@sda21(r2) -/* 800FC680 000F95E0 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 800FC684 000F95E4 FC 20 20 18 */ frsp f1, f4 -/* 800FC688 000F95E8 D0 61 00 D0 */ stfs f3, 0xd0(r1) -/* 800FC68C 000F95EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC690 000F95F0 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 800FC694 000F95F4 40 80 00 20 */ bge lbl_800FC6B4 -/* 800FC698 000F95F8 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) -/* 800FC69C 000F95FC 38 E1 00 24 */ addi r7, r1, 0x24 -/* 800FC6A0 000F9600 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FC6A4 000F9604 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 800FC6A8 000F9608 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 800FC6AC 000F960C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 800FC6B0 000F9610 48 00 00 1C */ b lbl_800FC6CC -lbl_800FC6B4: -/* 800FC6B4 000F9614 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) -/* 800FC6B8 000F9618 38 E1 00 18 */ addi r7, r1, 0x18 -/* 800FC6BC 000F961C C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FC6C0 000F9620 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800FC6C4 000F9624 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 800FC6C8 000F9628 D0 21 00 20 */ stfs f1, 0x20(r1) -lbl_800FC6CC: -/* 800FC6CC 000F962C C0 07 00 00 */ lfs f0, 0(r7) -/* 800FC6D0 000F9630 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FC6D4 000F9634 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800FC6D8 000F9638 38 A1 00 CC */ addi r5, r1, 0xcc -/* 800FC6DC 000F963C D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 800FC6E0 000F9640 38 61 01 80 */ addi r3, r1, 0x180 -/* 800FC6E4 000F9644 38 C1 00 C0 */ addi r6, r1, 0xc0 -/* 800FC6E8 000F9648 C0 07 00 04 */ lfs f0, 4(r7) -/* 800FC6EC 000F964C D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 800FC6F0 000F9650 C0 07 00 08 */ lfs f0, 8(r7) -/* 800FC6F4 000F9654 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 800FC6F8 000F9658 83 9D 02 DC */ lwz r28, 0x2dc(r29) -/* 800FC6FC 000F965C 48 21 74 15 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800FC700 000F9660 7F 83 E3 78 */ mr r3, r28 -/* 800FC704 000F9664 38 81 01 80 */ addi r4, r1, 0x180 -/* 800FC708 000F9668 81 9C 00 00 */ lwz r12, 0(r28) -/* 800FC70C 000F966C 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800FC710 000F9670 7D 89 03 A6 */ mtctr r12 -/* 800FC714 000F9674 4E 80 04 21 */ bctrl -/* 800FC718 000F9678 48 00 01 08 */ b lbl_800FC820 -lbl_800FC71C: -/* 800FC71C 000F967C 2C 00 00 02 */ cmpwi r0, 2 -/* 800FC720 000F9680 40 82 00 30 */ bne lbl_800FC750 -/* 800FC724 000F9684 83 9D 02 DC */ lwz r28, 0x2dc(r29) -/* 800FC728 000F9688 38 61 01 50 */ addi r3, r1, 0x150 -/* 800FC72C 000F968C 38 9D 00 34 */ addi r4, r29, 0x34 -/* 800FC730 000F9690 48 21 65 11 */ bl GetRotation__12CTransform4fCFv -/* 800FC734 000F9694 7F 83 E3 78 */ mr r3, r28 -/* 800FC738 000F9698 38 81 01 50 */ addi r4, r1, 0x150 -/* 800FC73C 000F969C 81 9C 00 00 */ lwz r12, 0(r28) -/* 800FC740 000F96A0 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800FC744 000F96A4 7D 89 03 A6 */ mtctr r12 -/* 800FC748 000F96A8 4E 80 04 21 */ bctrl -/* 800FC74C 000F96AC 48 00 00 D4 */ b lbl_800FC820 -lbl_800FC750: -/* 800FC750 000F96B0 2C 00 00 03 */ cmpwi r0, 3 -/* 800FC754 000F96B4 40 82 00 CC */ bne lbl_800FC820 -/* 800FC758 000F96B8 C0 3D 02 C8 */ lfs f1, 0x2c8(r29) -/* 800FC75C 000F96BC C0 1D 02 CC */ lfs f0, 0x2cc(r29) -/* 800FC760 000F96C0 EC 21 00 72 */ fmuls f1, f1, f1 -/* 800FC764 000F96C4 C0 5D 02 D0 */ lfs f2, 0x2d0(r29) -/* 800FC768 000F96C8 EC 00 00 32 */ fmuls f0, f0, f0 -/* 800FC76C 000F96CC C0 62 93 64 */ lfs f3, lbl_805AB084@sda21(r2) -/* 800FC770 000F96D0 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 800FC774 000F96D4 EC 01 00 2A */ fadds f0, f1, f0 -/* 800FC778 000F96D8 EC 02 00 2A */ fadds f0, f2, f0 -/* 800FC77C 000F96DC FC 03 00 00 */ fcmpu cr0, f3, f0 -/* 800FC780 000F96E0 40 82 00 20 */ bne lbl_800FC7A0 -/* 800FC784 000F96E4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 800FC788 000F96E8 C4 03 66 F4 */ lfsu f0, lbl_805A66F4@l(r3) -/* 800FC78C 000F96EC D0 1D 02 C8 */ stfs f0, 0x2c8(r29) -/* 800FC790 000F96F0 C0 03 00 04 */ lfs f0, 4(r3) -/* 800FC794 000F96F4 D0 1D 02 CC */ stfs f0, 0x2cc(r29) -/* 800FC798 000F96F8 C0 03 00 08 */ lfs f0, 8(r3) -/* 800FC79C 000F96FC D0 1D 02 D0 */ stfs f0, 0x2d0(r29) -lbl_800FC7A0: -/* 800FC7A0 000F9700 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 800FC7A4 000F9704 C0 1D 02 CC */ lfs f0, 0x2cc(r29) -/* 800FC7A8 000F9708 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 800FC7AC 000F970C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FC7B0 000F9710 C0 26 00 04 */ lfs f1, 4(r6) -/* 800FC7B4 000F9714 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800FC7B8 000F9718 C0 46 00 00 */ lfs f2, 0(r6) -/* 800FC7BC 000F971C 38 61 01 20 */ addi r3, r1, 0x120 -/* 800FC7C0 000F9720 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800FC7C4 000F9724 C0 3D 02 C8 */ lfs f1, 0x2c8(r29) -/* 800FC7C8 000F9728 C0 86 00 08 */ lfs f4, 8(r6) -/* 800FC7CC 000F972C 38 BD 02 C8 */ addi r5, r29, 0x2c8 -/* 800FC7D0 000F9730 C0 7D 02 D0 */ lfs f3, 0x2d0(r29) -/* 800FC7D4 000F9734 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 800FC7D8 000F9738 C0 02 93 7C */ lfs f0, lbl_805AB09C@sda21(r2) -/* 800FC7DC 000F973C EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 800FC7E0 000F9740 FC 20 0A 10 */ fabs f1, f1 -/* 800FC7E4 000F9744 FC 20 08 18 */ frsp f1, f1 -/* 800FC7E8 000F9748 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC7EC 000F974C 40 81 00 0C */ ble lbl_800FC7F8 -/* 800FC7F0 000F9750 3C C0 80 5A */ lis r6, lbl_805A6718@ha -/* 800FC7F4 000F9754 38 C6 67 18 */ addi r6, r6, lbl_805A6718@l -lbl_800FC7F8: -/* 800FC7F8 000F9758 48 21 73 19 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 800FC7FC 000F975C 38 61 02 70 */ addi r3, r1, 0x270 -/* 800FC800 000F9760 38 81 01 20 */ addi r4, r1, 0x120 -/* 800FC804 000F9764 48 21 63 71 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800FC808 000F9768 80 7D 02 DC */ lwz r3, 0x2dc(r29) -/* 800FC80C 000F976C 38 81 02 70 */ addi r4, r1, 0x270 -/* 800FC810 000F9770 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC814 000F9774 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 800FC818 000F9778 7D 89 03 A6 */ mtctr r12 -/* 800FC81C 000F977C 4E 80 04 21 */ bctrl -lbl_800FC820: -/* 800FC820 000F9780 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FC824 000F9784 38 60 00 01 */ li r3, 1 -/* 800FC828 000F9788 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800FC82C 000F978C 98 1D 02 81 */ stb r0, 0x281(r29) -lbl_800FC830: -/* 800FC830 000F9790 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FC834 000F9794 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 800FC838 000F9798 41 82 00 3C */ beq lbl_800FC874 -/* 800FC83C 000F979C 80 7D 02 DC */ lwz r3, 0x2dc(r29) -/* 800FC840 000F97A0 FC 20 F8 90 */ fmr f1, f31 -/* 800FC844 000F97A4 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC848 000F97A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800FC84C 000F97AC 7D 89 03 A6 */ mtctr r12 -/* 800FC850 000F97B0 4E 80 04 21 */ bctrl -/* 800FC854 000F97B4 80 7D 02 DC */ lwz r3, 0x2dc(r29) -/* 800FC858 000F97B8 81 83 00 00 */ lwz r12, 0(r3) -/* 800FC85C 000F97BC 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 800FC860 000F97C0 7D 89 03 A6 */ mtctr r12 -/* 800FC864 000F97C4 4E 80 04 21 */ bctrl -/* 800FC868 000F97C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FC86C 000F97CC 40 82 00 08 */ bne lbl_800FC874 -/* 800FC870 000F97D0 3B E0 00 00 */ li r31, 0 -lbl_800FC874: -/* 800FC874 000F97D4 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 800FC878 000F97D8 38 60 00 00 */ li r3, 0 -/* 800FC87C 000F97DC 28 04 00 00 */ cmplwi r4, 0 -/* 800FC880 000F97E0 41 82 00 20 */ beq lbl_800FC8A0 -/* 800FC884 000F97E4 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800FC888 000F97E8 28 00 00 00 */ cmplwi r0, 0 -/* 800FC88C 000F97EC 40 82 00 10 */ bne lbl_800FC89C -/* 800FC890 000F97F0 88 04 00 28 */ lbz r0, 0x28(r4) -/* 800FC894 000F97F4 28 00 00 00 */ cmplwi r0, 0 -/* 800FC898 000F97F8 41 82 00 08 */ beq lbl_800FC8A0 -lbl_800FC89C: -/* 800FC89C 000F97FC 38 60 00 01 */ li r3, 1 -lbl_800FC8A0: -/* 800FC8A0 000F9800 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FC8A4 000F9804 41 82 00 7C */ beq lbl_800FC920 -/* 800FC8A8 000F9808 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FC8AC 000F980C C0 7D 02 74 */ lfs f3, 0x274(r29) -/* 800FC8B0 000F9810 C0 5D 02 AC */ lfs f2, 0x2ac(r29) -/* 800FC8B4 000F9814 EC 01 18 24 */ fdivs f0, f1, f3 -/* 800FC8B8 000F9818 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 800FC8BC 000F981C 40 81 00 1C */ ble lbl_800FC8D8 -/* 800FC8C0 000F9820 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FC8C4 000F9824 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 -/* 800FC8C8 000F9828 EC 00 10 28 */ fsubs f0, f0, f2 -/* 800FC8CC 000F982C EC 03 00 32 */ fmuls f0, f3, f0 -/* 800FC8D0 000F9830 EC E1 00 24 */ fdivs f7, f1, f0 -/* 800FC8D4 000F9834 48 00 00 08 */ b lbl_800FC8DC -lbl_800FC8D8: -/* 800FC8D8 000F9838 C0 E2 93 64 */ lfs f7, lbl_805AB084@sda21(r2) -lbl_800FC8DC: -/* 800FC8DC 000F983C C0 22 93 60 */ lfs f1, lbl_805AB080@sda21(r2) -/* 800FC8E0 000F9840 C0 1D 02 BC */ lfs f0, 0x2bc(r29) -/* 800FC8E4 000F9844 C0 7D 02 C0 */ lfs f3, 0x2c0(r29) -/* 800FC8E8 000F9848 EC C1 38 28 */ fsubs f6, f1, f7 -/* 800FC8EC 000F984C EC 00 01 F2 */ fmuls f0, f0, f7 -/* 800FC8F0 000F9850 C0 3D 02 B0 */ lfs f1, 0x2b0(r29) -/* 800FC8F4 000F9854 C0 5D 02 C4 */ lfs f2, 0x2c4(r29) -/* 800FC8F8 000F9858 EC 83 01 F2 */ fmuls f4, f3, f7 -/* 800FC8FC 000F985C C0 BD 02 B4 */ lfs f5, 0x2b4(r29) -/* 800FC900 000F9860 EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 800FC904 000F9864 C0 7D 02 B8 */ lfs f3, 0x2b8(r29) -/* 800FC908 000F9868 EC 22 01 F2 */ fmuls f1, f2, f7 -/* 800FC90C 000F986C EC 45 21 BA */ fmadds f2, f5, f6, f4 -/* 800FC910 000F9870 D0 04 00 00 */ stfs f0, 0(r4) -/* 800FC914 000F9874 EC 03 09 BA */ fmadds f0, f3, f6, f1 -/* 800FC918 000F9878 D0 44 00 04 */ stfs f2, 4(r4) -/* 800FC91C 000F987C D0 04 00 08 */ stfs f0, 8(r4) -lbl_800FC920: -/* 800FC920 000F9880 C0 3D 02 70 */ lfs f1, 0x270(r29) -/* 800FC924 000F9884 C0 1D 02 74 */ lfs f0, 0x274(r29) -/* 800FC928 000F9888 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FC92C 000F988C 4C 41 13 82 */ cror 2, 1, 2 -/* 800FC930 000F9890 40 82 00 D4 */ bne lbl_800FCA04 -/* 800FC934 000F9894 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800FC938 000F9898 38 60 00 00 */ li r3, 0 -/* 800FC93C 000F989C 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 800FC940 000F98A0 C0 05 00 00 */ lfs f0, 0(r5) -/* 800FC944 000F98A4 38 80 00 01 */ li r4, 1 -/* 800FC948 000F98A8 D0 1D 01 50 */ stfs f0, 0x150(r29) -/* 800FC94C 000F98AC C0 05 00 04 */ lfs f0, 4(r5) -/* 800FC950 000F98B0 D0 1D 01 54 */ stfs f0, 0x154(r29) -/* 800FC954 000F98B4 C0 05 00 08 */ lfs f0, 8(r5) -/* 800FC958 000F98B8 D0 1D 01 58 */ stfs f0, 0x158(r29) -/* 800FC95C 000F98BC 80 AD 89 6C */ lwz r5, lbl_805A752C@sda21(r13) -/* 800FC960 000F98C0 48 28 D5 95 */ bl __shl2i -/* 800FC964 000F98C4 80 AD 89 70 */ lwz r5, lbl_805A7530@sda21(r13) -/* 800FC968 000F98C8 7C 9B 23 78 */ mr r27, r4 -/* 800FC96C 000F98CC 7C 7C 1B 78 */ mr r28, r3 -/* 800FC970 000F98D0 38 60 00 00 */ li r3, 0 -/* 800FC974 000F98D4 38 80 00 01 */ li r4, 1 -/* 800FC978 000F98D8 48 28 D5 7D */ bl __shl2i -/* 800FC97C 000F98DC 80 AD 89 74 */ lwz r5, lbl_805A7534@sda21(r13) -/* 800FC980 000F98E0 7F 7B 23 78 */ or r27, r27, r4 -/* 800FC984 000F98E4 7F 9C 1B 78 */ or r28, r28, r3 -/* 800FC988 000F98E8 38 60 00 00 */ li r3, 0 -/* 800FC98C 000F98EC 38 80 00 01 */ li r4, 1 -/* 800FC990 000F98F0 48 28 D5 65 */ bl __shl2i -/* 800FC994 000F98F4 80 AD 89 78 */ lwz r5, lbl_805A7538@sda21(r13) -/* 800FC998 000F98F8 7F 7B 23 78 */ or r27, r27, r4 -/* 800FC99C 000F98FC 7F 9C 1B 78 */ or r28, r28, r3 -/* 800FC9A0 000F9900 38 60 00 00 */ li r3, 0 -/* 800FC9A4 000F9904 38 80 00 01 */ li r4, 1 -/* 800FC9A8 000F9908 48 28 D5 4D */ bl __shl2i -/* 800FC9AC 000F990C 7F 7B 23 78 */ or r27, r27, r4 -/* 800FC9B0 000F9910 7F 9C 1B 78 */ or r28, r28, r3 -/* 800FC9B4 000F9914 38 60 FF FF */ li r3, -1 -/* 800FC9B8 000F9918 38 A0 00 00 */ li r5, 0 -/* 800FC9BC 000F991C 38 00 00 02 */ li r0, 2 -/* 800FC9C0 000F9920 90 61 01 0C */ stw r3, 0x10c(r1) -/* 800FC9C4 000F9924 7F A3 EB 78 */ mr r3, r29 -/* 800FC9C8 000F9928 38 81 01 08 */ addi r4, r1, 0x108 -/* 800FC9CC 000F992C 90 A1 01 08 */ stw r5, 0x108(r1) -/* 800FC9D0 000F9930 93 61 01 14 */ stw r27, 0x114(r1) -/* 800FC9D4 000F9934 93 81 01 10 */ stw r28, 0x110(r1) -/* 800FC9D8 000F9938 90 01 01 18 */ stw r0, 0x118(r1) -/* 800FC9DC 000F993C 4B F5 6E C5 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 800FC9E0 000F9940 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 800FC9E4 000F9944 41 82 00 20 */ beq lbl_800FCA04 -/* 800FC9E8 000F9948 A0 1D 00 08 */ lhz r0, 8(r29) -/* 800FC9EC 000F994C 7F C3 F3 78 */ mr r3, r30 -/* 800FC9F0 000F9950 38 81 00 0C */ addi r4, r1, 0xc -/* 800FC9F4 000F9954 B0 01 00 08 */ sth r0, 8(r1) -/* 800FC9F8 000F9958 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800FC9FC 000F995C 4B F4 F8 71 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 800FCA00 000F9960 48 00 01 5C */ b lbl_800FCB5C -lbl_800FCA04: -/* 800FCA04 000F9964 88 1D 00 F8 */ lbz r0, 0xf8(r29) -/* 800FCA08 000F9968 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FCA0C 000F996C 41 82 01 50 */ beq lbl_800FCB5C -/* 800FCA10 000F9970 38 7D 01 38 */ addi r3, r29, 0x138 -/* 800FCA14 000F9974 48 21 7E A5 */ bl Magnitude__9CVector3fCFv -/* 800FCA18 000F9978 80 1D 02 E0 */ lwz r0, 0x2e0(r29) -/* 800FCA1C 000F997C 2C 00 00 08 */ cmpwi r0, 8 -/* 800FCA20 000F9980 40 80 00 24 */ bge lbl_800FCA44 -/* 800FCA24 000F9984 54 00 10 3A */ slwi r0, r0, 2 -/* 800FCA28 000F9988 7C 7D 02 14 */ add r3, r29, r0 -/* 800FCA2C 000F998C 34 63 02 E4 */ addic. r3, r3, 0x2e4 -/* 800FCA30 000F9990 41 82 00 08 */ beq lbl_800FCA38 -/* 800FCA34 000F9994 D0 23 00 00 */ stfs f1, 0(r3) -lbl_800FCA38: -/* 800FCA38 000F9998 80 7D 02 E0 */ lwz r3, 0x2e0(r29) -/* 800FCA3C 000F999C 38 03 00 01 */ addi r0, r3, 1 -/* 800FCA40 000F99A0 90 1D 02 E0 */ stw r0, 0x2e0(r29) -lbl_800FCA44: -/* 800FCA44 000F99A4 80 7D 02 E0 */ lwz r3, 0x2e0(r29) -/* 800FCA48 000F99A8 38 FD 02 E4 */ addi r7, r29, 0x2e4 -/* 800FCA4C 000F99AC 34 A3 FF FF */ addic. r5, r3, -1 -/* 800FCA50 000F99B0 54 A0 10 3A */ slwi r0, r5, 2 -/* 800FCA54 000F99B4 7C A3 2B 78 */ mr r3, r5 -/* 800FCA58 000F99B8 7C C7 02 14 */ add r6, r7, r0 -/* 800FCA5C 000F99BC 40 81 00 C4 */ ble lbl_800FCB20 -/* 800FCA60 000F99C0 54 A0 E8 FF */ rlwinm. r0, r5, 0x1d, 3, 0x1f -/* 800FCA64 000F99C4 7C 09 03 A6 */ mtctr r0 -/* 800FCA68 000F99C8 41 82 00 98 */ beq lbl_800FCB00 -lbl_800FCA6C: -/* 800FCA6C 000F99CC 38 85 FF FF */ addi r4, r5, -1 -/* 800FCA70 000F99D0 54 80 10 3A */ slwi r0, r4, 2 -/* 800FCA74 000F99D4 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800FCA78 000F99D8 38 85 FF FE */ addi r4, r5, -2 -/* 800FCA7C 000F99DC 54 80 10 3A */ slwi r0, r4, 2 -/* 800FCA80 000F99E0 D0 06 00 00 */ stfs f0, 0(r6) -/* 800FCA84 000F99E4 38 85 FF FD */ addi r4, r5, -3 -/* 800FCA88 000F99E8 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800FCA8C 000F99EC 54 80 10 3A */ slwi r0, r4, 2 -/* 800FCA90 000F99F0 38 85 FF FC */ addi r4, r5, -4 -/* 800FCA94 000F99F4 D0 06 FF FC */ stfs f0, -4(r6) -/* 800FCA98 000F99F8 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800FCA9C 000F99FC 54 80 10 3A */ slwi r0, r4, 2 -/* 800FCAA0 000F9A00 38 85 FF FB */ addi r4, r5, -5 -/* 800FCAA4 000F9A04 D0 06 FF F8 */ stfs f0, -8(r6) -/* 800FCAA8 000F9A08 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800FCAAC 000F9A0C 54 80 10 3A */ slwi r0, r4, 2 -/* 800FCAB0 000F9A10 38 85 FF FA */ addi r4, r5, -6 -/* 800FCAB4 000F9A14 D0 06 FF F4 */ stfs f0, -0xc(r6) -/* 800FCAB8 000F9A18 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800FCABC 000F9A1C 54 80 10 3A */ slwi r0, r4, 2 -/* 800FCAC0 000F9A20 38 85 FF F9 */ addi r4, r5, -7 -/* 800FCAC4 000F9A24 D0 06 FF F0 */ stfs f0, -0x10(r6) -/* 800FCAC8 000F9A28 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800FCACC 000F9A2C 54 80 10 3A */ slwi r0, r4, 2 -/* 800FCAD0 000F9A30 38 85 FF F8 */ addi r4, r5, -8 -/* 800FCAD4 000F9A34 38 A5 FF F8 */ addi r5, r5, -8 -/* 800FCAD8 000F9A38 D0 06 FF EC */ stfs f0, -0x14(r6) -/* 800FCADC 000F9A3C 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800FCAE0 000F9A40 54 80 10 3A */ slwi r0, r4, 2 -/* 800FCAE4 000F9A44 D0 06 FF E8 */ stfs f0, -0x18(r6) -/* 800FCAE8 000F9A48 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800FCAEC 000F9A4C D0 06 FF E4 */ stfs f0, -0x1c(r6) -/* 800FCAF0 000F9A50 38 C6 FF E0 */ addi r6, r6, -32 -/* 800FCAF4 000F9A54 42 00 FF 78 */ bdnz lbl_800FCA6C -/* 800FCAF8 000F9A58 70 63 00 07 */ andi. r3, r3, 7 -/* 800FCAFC 000F9A5C 41 82 00 24 */ beq lbl_800FCB20 -lbl_800FCB00: -/* 800FCB00 000F9A60 7C 69 03 A6 */ mtctr r3 -lbl_800FCB04: -/* 800FCB04 000F9A64 38 85 FF FF */ addi r4, r5, -1 -/* 800FCB08 000F9A68 38 A5 FF FF */ addi r5, r5, -1 -/* 800FCB0C 000F9A6C 54 80 10 3A */ slwi r0, r4, 2 -/* 800FCB10 000F9A70 7C 07 04 2E */ lfsx f0, r7, r0 -/* 800FCB14 000F9A74 D0 06 00 00 */ stfs f0, 0(r6) -/* 800FCB18 000F9A78 38 C6 FF FC */ addi r6, r6, -4 -/* 800FCB1C 000F9A7C 42 00 FF E8 */ bdnz lbl_800FCB04 -lbl_800FCB20: -/* 800FCB20 000F9A80 D0 27 00 00 */ stfs f1, 0(r7) -/* 800FCB24 000F9A84 38 61 00 10 */ addi r3, r1, 0x10 -/* 800FCB28 000F9A88 38 9D 02 E0 */ addi r4, r29, 0x2e0 -/* 800FCB2C 000F9A8C 48 00 00 4D */ bl "GetAverage__21TReservedAverageCFv" -/* 800FCB30 000F9A90 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 800FCB34 000F9A94 C0 02 93 80 */ lfs f0, lbl_805AB0A0@sda21(r2) -/* 800FCB38 000F9A98 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 800FCB3C 000F9A9C 7C 00 00 26 */ mfcr r0 -/* 800FCB40 000F9AA0 38 60 00 00 */ li r3, 0 -/* 800FCB44 000F9AA4 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 800FCB48 000F9AA8 98 61 00 14 */ stb r3, 0x14(r1) -/* 800FCB4C 000F9AAC 41 82 00 10 */ beq lbl_800FCB5C -/* 800FCB50 000F9AB0 88 1D 00 F8 */ lbz r0, 0xf8(r29) -/* 800FCB54 000F9AB4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800FCB58 000F9AB8 98 1D 00 F8 */ stb r0, 0xf8(r29) -lbl_800FCB5C: -/* 800FCB5C 000F9ABC E3 E1 02 C8 */ psq_l f31, 712(r1), 0, qr0 -/* 800FCB60 000F9AC0 CB E1 02 C0 */ lfd f31, 0x2c0(r1) -/* 800FCB64 000F9AC4 BB 61 02 AC */ lmw r27, 0x2ac(r1) -/* 800FCB68 000F9AC8 80 01 02 D4 */ lwz r0, 0x2d4(r1) -/* 800FCB6C 000F9ACC 7C 08 03 A6 */ mtlr r0 -/* 800FCB70 000F9AD0 38 21 02 D0 */ addi r1, r1, 0x2d0 -/* 800FCB74 000F9AD4 4E 80 00 20 */ blr - -.global "GetAverage__21TReservedAverageCFv" -"GetAverage__21TReservedAverageCFv": -/* 800FCB78 000F9AD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FCB7C 000F9ADC 7C 08 02 A6 */ mflr r0 -/* 800FCB80 000F9AE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FCB84 000F9AE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FCB88 000F9AE8 7C 7F 1B 78 */ mr r31, r3 -/* 800FCB8C 000F9AEC 80 04 00 00 */ lwz r0, 0(r4) -/* 800FCB90 000F9AF0 2C 00 00 00 */ cmpwi r0, 0 -/* 800FCB94 000F9AF4 40 82 00 10 */ bne lbl_800FCBA4 -/* 800FCB98 000F9AF8 38 00 00 00 */ li r0, 0 -/* 800FCB9C 000F9AFC 98 1F 00 04 */ stb r0, 4(r31) -/* 800FCBA0 000F9B00 48 00 00 24 */ b lbl_800FCBC4 -lbl_800FCBA4: -/* 800FCBA4 000F9B04 38 64 00 04 */ addi r3, r4, 4 -/* 800FCBA8 000F9B08 7C 04 03 78 */ mr r4, r0 -/* 800FCBAC 000F9B0C 4B F0 BC E9 */ bl "GetAverageValue__FPCfi" -/* 800FCBB0 000F9B10 38 00 00 01 */ li r0, 1 -/* 800FCBB4 000F9B14 28 1F 00 00 */ cmplwi r31, 0 -/* 800FCBB8 000F9B18 98 1F 00 04 */ stb r0, 4(r31) -/* 800FCBBC 000F9B1C 41 82 00 08 */ beq lbl_800FCBC4 -/* 800FCBC0 000F9B20 D0 3F 00 00 */ stfs f1, 0(r31) -lbl_800FCBC4: -/* 800FCBC4 000F9B24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FCBC8 000F9B28 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FCBCC 000F9B2C 7C 08 03 A6 */ mtlr r0 -/* 800FCBD0 000F9B30 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FCBD4 000F9B34 4E 80 00 20 */ blr - -.global GetParticleCount__11CElementGenCFv -GetParticleCount__11CElementGenCFv: -/* 800FCBD8 000F9B38 80 63 02 5C */ lwz r3, 0x25c(r3) -/* 800FCBDC 000F9B3C 4E 80 00 20 */ blr - -.global __dt__13CScriptDebrisFv -__dt__13CScriptDebrisFv: -/* 800FCBE0 000F9B40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FCBE4 000F9B44 7C 08 02 A6 */ mflr r0 -/* 800FCBE8 000F9B48 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FCBEC 000F9B4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FCBF0 000F9B50 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800FCBF4 000F9B54 93 C1 00 08 */ stw r30, 8(r1) -/* 800FCBF8 000F9B58 7C 9E 23 78 */ mr r30, r4 -/* 800FCBFC 000F9B5C 41 82 01 08 */ beq lbl_800FCD04 -/* 800FCC00 000F9B60 3C 60 80 3E */ lis r3, lbl_803DFD78@ha -/* 800FCC04 000F9B64 34 1F 02 E0 */ addic. r0, r31, 0x2e0 -/* 800FCC08 000F9B68 38 03 FD 78 */ addi r0, r3, lbl_803DFD78@l -/* 800FCC0C 000F9B6C 90 1F 00 00 */ stw r0, 0(r31) -/* 800FCC10 000F9B70 41 82 00 60 */ beq lbl_800FCC70 -/* 800FCC14 000F9B74 34 1F 02 E0 */ addic. r0, r31, 0x2e0 -/* 800FCC18 000F9B78 41 82 00 58 */ beq lbl_800FCC70 -/* 800FCC1C 000F9B7C 80 BF 02 E0 */ lwz r5, 0x2e0(r31) -/* 800FCC20 000F9B80 38 60 00 00 */ li r3, 0 -/* 800FCC24 000F9B84 2C 05 00 00 */ cmpwi r5, 0 -/* 800FCC28 000F9B88 40 81 00 40 */ ble lbl_800FCC68 -/* 800FCC2C 000F9B8C 2C 05 00 08 */ cmpwi r5, 8 -/* 800FCC30 000F9B90 38 85 FF F8 */ addi r4, r5, -8 -/* 800FCC34 000F9B94 40 81 00 20 */ ble lbl_800FCC54 -/* 800FCC38 000F9B98 38 04 00 07 */ addi r0, r4, 7 -/* 800FCC3C 000F9B9C 54 00 E8 FE */ srwi r0, r0, 3 -/* 800FCC40 000F9BA0 7C 09 03 A6 */ mtctr r0 -/* 800FCC44 000F9BA4 2C 04 00 00 */ cmpwi r4, 0 -/* 800FCC48 000F9BA8 40 81 00 0C */ ble lbl_800FCC54 -lbl_800FCC4C: -/* 800FCC4C 000F9BAC 38 63 00 08 */ addi r3, r3, 8 -/* 800FCC50 000F9BB0 42 00 FF FC */ bdnz lbl_800FCC4C -lbl_800FCC54: -/* 800FCC54 000F9BB4 7C 03 28 50 */ subf r0, r3, r5 -/* 800FCC58 000F9BB8 7C 09 03 A6 */ mtctr r0 -/* 800FCC5C 000F9BBC 7C 03 28 00 */ cmpw r3, r5 -/* 800FCC60 000F9BC0 40 80 00 08 */ bge lbl_800FCC68 -lbl_800FCC64: -/* 800FCC64 000F9BC4 42 00 00 00 */ bdnz lbl_800FCC64 -lbl_800FCC68: -/* 800FCC68 000F9BC8 38 00 00 00 */ li r0, 0 -/* 800FCC6C 000F9BCC 90 1F 02 E0 */ stw r0, 0x2e0(r31) -lbl_800FCC70: -/* 800FCC70 000F9BD0 34 1F 02 DC */ addic. r0, r31, 0x2dc -/* 800FCC74 000F9BD4 41 82 00 24 */ beq lbl_800FCC98 -/* 800FCC78 000F9BD8 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 800FCC7C 000F9BDC 28 03 00 00 */ cmplwi r3, 0 -/* 800FCC80 000F9BE0 41 82 00 18 */ beq lbl_800FCC98 -/* 800FCC84 000F9BE4 81 83 00 00 */ lwz r12, 0(r3) -/* 800FCC88 000F9BE8 38 80 00 01 */ li r4, 1 -/* 800FCC8C 000F9BEC 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FCC90 000F9BF0 7D 89 03 A6 */ mtctr r12 -/* 800FCC94 000F9BF4 4E 80 04 21 */ bctrl -lbl_800FCC98: -/* 800FCC98 000F9BF8 34 1F 02 D8 */ addic. r0, r31, 0x2d8 -/* 800FCC9C 000F9BFC 41 82 00 24 */ beq lbl_800FCCC0 -/* 800FCCA0 000F9C00 80 7F 02 D8 */ lwz r3, 0x2d8(r31) -/* 800FCCA4 000F9C04 28 03 00 00 */ cmplwi r3, 0 -/* 800FCCA8 000F9C08 41 82 00 18 */ beq lbl_800FCCC0 -/* 800FCCAC 000F9C0C 81 83 00 00 */ lwz r12, 0(r3) -/* 800FCCB0 000F9C10 38 80 00 01 */ li r4, 1 -/* 800FCCB4 000F9C14 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FCCB8 000F9C18 7D 89 03 A6 */ mtctr r12 -/* 800FCCBC 000F9C1C 4E 80 04 21 */ bctrl -lbl_800FCCC0: -/* 800FCCC0 000F9C20 34 1F 02 D4 */ addic. r0, r31, 0x2d4 -/* 800FCCC4 000F9C24 41 82 00 24 */ beq lbl_800FCCE8 -/* 800FCCC8 000F9C28 80 7F 02 D4 */ lwz r3, 0x2d4(r31) -/* 800FCCCC 000F9C2C 28 03 00 00 */ cmplwi r3, 0 -/* 800FCCD0 000F9C30 41 82 00 18 */ beq lbl_800FCCE8 -/* 800FCCD4 000F9C34 81 83 00 00 */ lwz r12, 0(r3) -/* 800FCCD8 000F9C38 38 80 00 01 */ li r4, 1 -/* 800FCCDC 000F9C3C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FCCE0 000F9C40 7D 89 03 A6 */ mtctr r12 -/* 800FCCE4 000F9C44 4E 80 04 21 */ bctrl -lbl_800FCCE8: -/* 800FCCE8 000F9C48 7F E3 FB 78 */ mr r3, r31 -/* 800FCCEC 000F9C4C 38 80 00 00 */ li r4, 0 -/* 800FCCF0 000F9C50 48 01 F7 25 */ bl __dt__13CPhysicsActorFv -/* 800FCCF4 000F9C54 7F C0 07 35 */ extsh. r0, r30 -/* 800FCCF8 000F9C58 40 81 00 0C */ ble lbl_800FCD04 -/* 800FCCFC 000F9C5C 7F E3 FB 78 */ mr r3, r31 -/* 800FCD00 000F9C60 48 21 8C 31 */ bl Free__7CMemoryFPCv -lbl_800FCD04: -/* 800FCD04 000F9C64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FCD08 000F9C68 7F E3 FB 78 */ mr r3, r31 -/* 800FCD0C 000F9C6C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FCD10 000F9C70 83 C1 00 08 */ lwz r30, 8(r1) -/* 800FCD14 000F9C74 7C 08 03 A6 */ mtlr r0 -/* 800FCD18 000F9C78 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FCD1C 000F9C7C 4E 80 00 20 */ blr - -.global "__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersfffffffffRC6CColorRC6CColorfRC9CVector3fRC9CVector3fffRC9CVector3fUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fQ213CScriptDebris16EOrientationTypebbb" -"__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersfffffffffRC6CColorRC6CColorfRC9CVector3fRC9CVector3fffRC9CVector3fUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fQ213CScriptDebris16EOrientationTypebbb": -/* 800FCD20 000F9C80 94 21 FD 60 */ stwu r1, -0x2a0(r1) -/* 800FCD24 000F9C84 7C 08 02 A6 */ mflr r0 -/* 800FCD28 000F9C88 90 01 02 A4 */ stw r0, 0x2a4(r1) -/* 800FCD2C 000F9C8C DB E1 02 90 */ stfd f31, 0x290(r1) -/* 800FCD30 000F9C90 F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 -/* 800FCD34 000F9C94 DB C1 02 80 */ stfd f30, 0x280(r1) -/* 800FCD38 000F9C98 F3 C1 02 88 */ psq_st f30, 648(r1), 0, qr0 -/* 800FCD3C 000F9C9C DB A1 02 70 */ stfd f29, 0x270(r1) -/* 800FCD40 000F9CA0 F3 A1 02 78 */ psq_st f29, 632(r1), 0, qr0 -/* 800FCD44 000F9CA4 DB 81 02 60 */ stfd f28, 0x260(r1) -/* 800FCD48 000F9CA8 F3 81 02 68 */ psq_st f28, 616(r1), 0, qr0 -/* 800FCD4C 000F9CAC DB 61 02 50 */ stfd f27, 0x250(r1) -/* 800FCD50 000F9CB0 F3 61 02 58 */ psq_st f27, 600(r1), 0, qr0 -/* 800FCD54 000F9CB4 DB 41 02 40 */ stfd f26, 0x240(r1) -/* 800FCD58 000F9CB8 F3 41 02 48 */ psq_st f26, 584(r1), 0, qr0 -/* 800FCD5C 000F9CBC DB 21 02 30 */ stfd f25, 0x230(r1) -/* 800FCD60 000F9CC0 F3 21 02 38 */ psq_st f25, 568(r1), 0, qr0 -/* 800FCD64 000F9CC4 DB 01 02 20 */ stfd f24, 0x220(r1) -/* 800FCD68 000F9CC8 F3 01 02 28 */ psq_st f24, 552(r1), 0, qr0 -/* 800FCD6C 000F9CCC DA E1 02 10 */ stfd f23, 0x210(r1) -/* 800FCD70 000F9CD0 F2 E1 02 18 */ psq_st f23, 536(r1), 0, qr0 -/* 800FCD74 000F9CD4 DA C1 02 00 */ stfd f22, 0x200(r1) -/* 800FCD78 000F9CD8 F2 C1 02 08 */ psq_st f22, 520(r1), 0, qr0 -/* 800FCD7C 000F9CDC DA A1 01 F0 */ stfd f21, 0x1f0(r1) -/* 800FCD80 000F9CE0 F2 A1 01 F8 */ psq_st f21, 504(r1), 0, qr0 -/* 800FCD84 000F9CE4 DA 81 01 E0 */ stfd f20, 0x1e0(r1) -/* 800FCD88 000F9CE8 F2 81 01 E8 */ psq_st f20, 488(r1), 0, qr0 -/* 800FCD8C 000F9CEC BD C1 01 98 */ stmw r14, 0x198(r1) -/* 800FCD90 000F9CF0 FE 80 08 90 */ fmr f20, f1 -/* 800FCD94 000F9CF4 C3 81 02 A8 */ lfs f28, 0x2a8(r1) -/* 800FCD98 000F9CF8 FE A0 10 90 */ fmr f21, f2 -/* 800FCD9C 000F9CFC 83 21 02 AC */ lwz r25, 0x2ac(r1) -/* 800FCDA0 000F9D00 FE C0 18 90 */ fmr f22, f3 -/* 800FCDA4 000F9D04 C3 A1 02 B0 */ lfs f29, 0x2b0(r1) -/* 800FCDA8 000F9D08 FE E0 20 90 */ fmr f23, f4 -/* 800FCDAC 000F9D0C 83 41 02 B4 */ lwz r26, 0x2b4(r1) -/* 800FCDB0 000F9D10 FF 00 28 90 */ fmr f24, f5 -/* 800FCDB4 000F9D14 83 61 02 B8 */ lwz r27, 0x2b8(r1) -/* 800FCDB8 000F9D18 FF 20 30 90 */ fmr f25, f6 -/* 800FCDBC 000F9D1C C3 C1 02 BC */ lfs f30, 0x2bc(r1) -/* 800FCDC0 000F9D20 FF 40 38 90 */ fmr f26, f7 -/* 800FCDC4 000F9D24 C3 E1 02 C0 */ lfs f31, 0x2c0(r1) -/* 800FCDC8 000F9D28 FF 60 40 90 */ fmr f27, f8 -/* 800FCDCC 000F9D2C 83 81 02 C4 */ lwz r28, 0x2c4(r1) -/* 800FCDD0 000F9D30 83 A1 02 C8 */ lwz r29, 0x2c8(r1) -/* 800FCDD4 000F9D34 7C 71 1B 78 */ mr r17, r3 -/* 800FCDD8 000F9D38 83 C1 02 DC */ lwz r30, 0x2dc(r1) -/* 800FCDDC 000F9D3C 7C 92 23 78 */ mr r18, r4 -/* 800FCDE0 000F9D40 83 E1 02 F0 */ lwz r31, 0x2f0(r1) -/* 800FCDE4 000F9D44 7C B3 2B 78 */ mr r19, r5 -/* 800FCDE8 000F9D48 89 C1 03 0B */ lbz r14, 0x30b(r1) -/* 800FCDEC 000F9D4C 7C D4 33 78 */ mr r20, r6 -/* 800FCDF0 000F9D50 7C F5 3B 78 */ mr r21, r7 -/* 800FCDF4 000F9D54 7D 16 43 78 */ mr r22, r8 -/* 800FCDF8 000F9D58 7D 37 4B 78 */ mr r23, r9 -/* 800FCDFC 000F9D5C 7D 58 53 78 */ mr r24, r10 -/* 800FCE00 000F9D60 4B F1 E7 35 */ bl Identity__10CAxisAngleFv -/* 800FCE04 000F9D64 7C 6F 1B 78 */ mr r15, r3 -/* 800FCE08 000F9D68 4B F1 E7 2D */ bl Identity__10CAxisAngleFv -/* 800FCE0C 000F9D6C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800FCE10 000F9D70 80 16 00 10 */ lwz r0, 0x10(r22) -/* 800FCE14 000F9D74 3A 04 66 A0 */ addi r16, r4, skZero3f@l -/* 800FCE18 000F9D78 C0 02 93 60 */ lfs f0, lbl_805AB080@sda21(r2) -/* 800FCE1C 000F9D7C C0 50 00 00 */ lfs f2, 0(r16) -/* 800FCE20 000F9D80 28 00 00 00 */ cmplwi r0, 0 -/* 800FCE24 000F9D84 C0 70 00 04 */ lfs f3, 4(r16) -/* 800FCE28 000F9D88 38 80 00 00 */ li r4, 0 -/* 800FCE2C 000F9D8C C0 90 00 08 */ lfs f4, 8(r16) -/* 800FCE30 000F9D90 D0 41 01 28 */ stfs f2, 0x128(r1) -/* 800FCE34 000F9D94 D0 61 01 2C */ stfs f3, 0x12c(r1) -/* 800FCE38 000F9D98 D0 81 01 30 */ stfs f4, 0x130(r1) -/* 800FCE3C 000F9D9C C0 23 00 00 */ lfs f1, 0(r3) -/* 800FCE40 000F9DA0 D0 21 01 34 */ stfs f1, 0x134(r1) -/* 800FCE44 000F9DA4 C0 23 00 04 */ lfs f1, 4(r3) -/* 800FCE48 000F9DA8 D0 21 01 38 */ stfs f1, 0x138(r1) -/* 800FCE4C 000F9DAC C0 23 00 08 */ lfs f1, 8(r3) -/* 800FCE50 000F9DB0 D0 21 01 3C */ stfs f1, 0x13c(r1) -/* 800FCE54 000F9DB4 D0 41 01 40 */ stfs f2, 0x140(r1) -/* 800FCE58 000F9DB8 D0 61 01 44 */ stfs f3, 0x144(r1) -/* 800FCE5C 000F9DBC D0 81 01 48 */ stfs f4, 0x148(r1) -/* 800FCE60 000F9DC0 C0 2F 00 00 */ lfs f1, 0(r15) -/* 800FCE64 000F9DC4 D0 21 01 4C */ stfs f1, 0x14c(r1) -/* 800FCE68 000F9DC8 C0 2F 00 04 */ lfs f1, 4(r15) -/* 800FCE6C 000F9DCC D0 21 01 50 */ stfs f1, 0x150(r1) -/* 800FCE70 000F9DD0 C0 2F 00 08 */ lfs f1, 8(r15) -/* 800FCE74 000F9DD4 D0 21 01 54 */ stfs f1, 0x154(r1) -/* 800FCE78 000F9DD8 D0 01 01 58 */ stfs f0, 0x158(r1) -/* 800FCE7C 000F9DDC 40 82 00 14 */ bne lbl_800FCE90 -/* 800FCE80 000F9DE0 88 16 00 28 */ lbz r0, 0x28(r22) -/* 800FCE84 000F9DE4 28 00 00 00 */ cmplwi r0, 0 -/* 800FCE88 000F9DE8 40 82 00 08 */ bne lbl_800FCE90 -/* 800FCE8C 000F9DEC 38 80 00 01 */ li r4, 1 -lbl_800FCE90: -/* 800FCE90 000F9DF0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 800FCE94 000F9DF4 41 82 00 3C */ beq lbl_800FCED0 -/* 800FCE98 000F9DF8 C0 22 93 84 */ lfs f1, lbl_805AB0A4@sda21(r2) -/* 800FCE9C 000F9DFC 38 61 01 10 */ addi r3, r1, 0x110 -/* 800FCEA0 000F9E00 C0 02 93 88 */ lfs f0, lbl_805AB0A8@sda21(r2) -/* 800FCEA4 000F9E04 38 81 00 AC */ addi r4, r1, 0xac -/* 800FCEA8 000F9E08 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 800FCEAC 000F9E0C 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 800FCEB0 000F9E10 D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 800FCEB4 000F9E14 D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 800FCEB8 000F9E18 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 800FCEBC 000F9E1C D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 800FCEC0 000F9E20 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 800FCEC4 000F9E24 48 23 B6 45 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800FCEC8 000F9E28 7C 6F 1B 78 */ mr r15, r3 -/* 800FCECC 000F9E2C 48 00 00 24 */ b lbl_800FCEF0 -lbl_800FCED0: -/* 800FCED0 000F9E30 7E A4 AB 78 */ mr r4, r21 -/* 800FCED4 000F9E34 38 61 01 5C */ addi r3, r1, 0x15c -/* 800FCED8 000F9E38 48 21 5D 69 */ bl GetRotation__12CTransform4fCFv -/* 800FCEDC 000F9E3C 7E C4 B3 78 */ mr r4, r22 -/* 800FCEE0 000F9E40 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 800FCEE4 000F9E44 38 A1 01 5C */ addi r5, r1, 0x15c -/* 800FCEE8 000F9E48 48 01 88 CD */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 800FCEEC 000F9E4C 39 E1 00 F8 */ addi r15, r1, 0xf8 -lbl_800FCEF0: -/* 800FCEF0 000F9E50 38 00 00 00 */ li r0, 0 -/* 800FCEF4 000F9E54 80 AD 89 3C */ lwz r5, lbl_805A74FC@sda21(r13) -/* 800FCEF8 000F9E58 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800FCEFC 000F9E5C 38 60 00 00 */ li r3, 0 -/* 800FCF00 000F9E60 38 80 00 01 */ li r4, 1 -/* 800FCF04 000F9E64 90 01 00 68 */ stw r0, 0x68(r1) -/* 800FCF08 000F9E68 48 28 CF ED */ bl __shl2i -/* 800FCF0C 000F9E6C 80 01 00 68 */ lwz r0, 0x68(r1) -/* 800FCF10 000F9E70 80 C1 00 6C */ lwz r6, 0x6c(r1) -/* 800FCF14 000F9E74 7C 00 1B 78 */ or r0, r0, r3 -/* 800FCF18 000F9E78 80 AD 89 40 */ lwz r5, lbl_805A7500@sda21(r13) -/* 800FCF1C 000F9E7C 7C C4 23 78 */ or r4, r6, r4 -/* 800FCF20 000F9E80 90 01 00 68 */ stw r0, 0x68(r1) -/* 800FCF24 000F9E84 38 60 00 00 */ li r3, 0 -/* 800FCF28 000F9E88 90 81 00 6C */ stw r4, 0x6c(r1) -/* 800FCF2C 000F9E8C 38 80 00 01 */ li r4, 1 -/* 800FCF30 000F9E90 48 28 CF C5 */ bl __shl2i -/* 800FCF34 000F9E94 80 01 00 68 */ lwz r0, 0x68(r1) -/* 800FCF38 000F9E98 7D C5 73 78 */ mr r5, r14 -/* 800FCF3C 000F9E9C 80 E1 00 6C */ lwz r7, 0x6c(r1) -/* 800FCF40 000F9EA0 7E 66 9B 78 */ mr r6, r19 -/* 800FCF44 000F9EA4 7C 03 1B 78 */ or r3, r0, r3 -/* 800FCF48 000F9EA8 A0 12 00 00 */ lhz r0, 0(r18) -/* 800FCF4C 000F9EAC 7C E4 23 78 */ or r4, r7, r4 -/* 800FCF50 000F9EB0 90 61 00 68 */ stw r3, 0x68(r1) -/* 800FCF54 000F9EB4 C0 22 93 8C */ lfs f1, lbl_805AB0AC@sda21(r2) -/* 800FCF58 000F9EB8 7E 23 8B 78 */ mr r3, r17 -/* 800FCF5C 000F9EBC 90 81 00 6C */ stw r4, 0x6c(r1) -/* 800FCF60 000F9EC0 7E 87 A3 78 */ mr r7, r20 -/* 800FCF64 000F9EC4 C0 42 93 80 */ lfs f2, lbl_805AB0A0@sda21(r2) -/* 800FCF68 000F9EC8 7E A8 AB 78 */ mr r8, r21 -/* 800FCF6C 000F9ECC B0 01 00 18 */ sth r0, 0x18(r1) -/* 800FCF70 000F9ED0 38 01 01 28 */ addi r0, r1, 0x128 -/* 800FCF74 000F9ED4 7E C9 B3 78 */ mr r9, r22 -/* 800FCF78 000F9ED8 38 81 00 18 */ addi r4, r1, 0x18 -/* 800FCF7C 000F9EDC 91 E1 00 08 */ stw r15, 8(r1) -/* 800FCF80 000F9EE0 39 41 00 68 */ addi r10, r1, 0x68 -/* 800FCF84 000F9EE4 90 01 00 0C */ stw r0, 0xc(r1) -/* 800FCF88 000F9EE8 92 E1 00 10 */ stw r23, 0x10(r1) -/* 800FCF8C 000F9EEC 48 01 F5 25 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" -/* 800FCF90 000F9EF0 3C 60 80 3E */ lis r3, lbl_803DFD78@ha -/* 800FCF94 000F9EF4 C0 02 93 90 */ lfs f0, lbl_805AB0B0@sda21(r2) -/* 800FCF98 000F9EF8 38 03 FD 78 */ addi r0, r3, lbl_803DFD78@l -/* 800FCF9C 000F9EFC C0 62 93 64 */ lfs f3, lbl_805AB084@sda21(r2) -/* 800FCFA0 000F9F00 90 11 00 00 */ stw r0, 0(r17) -/* 800FCFA4 000F9F04 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FCFA8 000F9F08 38 00 00 00 */ li r0, 0 -/* 800FCFAC 000F9F0C 38 A0 00 01 */ li r5, 1 -/* 800FCFB0 000F9F10 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) -/* 800FCFB4 000F9F14 EC 5B 00 24 */ fdivs f2, f27, f0 -/* 800FCFB8 000F9F18 D0 31 02 58 */ stfs f1, 0x258(r17) -/* 800FCFBC 000F9F1C C0 30 00 04 */ lfs f1, 4(r16) -/* 800FCFC0 000F9F20 D0 31 02 5C */ stfs f1, 0x25c(r17) -/* 800FCFC4 000F9F24 C0 90 00 08 */ lfs f4, 8(r16) -/* 800FCFC8 000F9F28 D0 91 02 60 */ stfs f4, 0x260(r17) -/* 800FCFCC 000F9F2C 80 98 00 00 */ lwz r4, 0(r24) -/* 800FCFD0 000F9F30 EC 3C 00 24 */ fdivs f1, f28, f0 -/* 800FCFD4 000F9F34 90 91 02 64 */ stw r4, 0x264(r17) -/* 800FCFD8 000F9F38 80 99 00 00 */ lwz r4, 0(r25) -/* 800FCFDC 000F9F3C 90 91 02 68 */ stw r4, 0x268(r17) -/* 800FCFE0 000F9F40 D0 71 02 6C */ stfs f3, 0x26c(r17) -/* 800FCFE4 000F9F44 D0 71 02 70 */ stfs f3, 0x270(r17) -/* 800FCFE8 000F9F48 D0 71 02 74 */ stfs f3, 0x274(r17) -/* 800FCFEC 000F9F4C EC 1D 00 24 */ fdivs f0, f29, f0 -/* 800FCFF0 000F9F50 D0 71 02 78 */ stfs f3, 0x278(r17) -/* 800FCFF4 000F9F54 D3 D1 02 7C */ stfs f30, 0x27c(r17) -/* 800FCFF8 000F9F58 98 11 02 80 */ stb r0, 0x280(r17) -/* 800FCFFC 000F9F5C 88 91 02 81 */ lbz r4, 0x281(r17) -/* 800FD000 000F9F60 50 04 3E 30 */ rlwimi r4, r0, 7, 0x18, 0x18 -/* 800FD004 000F9F64 98 91 02 81 */ stb r4, 0x281(r17) -/* 800FD008 000F9F68 88 81 02 D3 */ lbz r4, 0x2d3(r1) -/* 800FD00C 000F9F6C 88 D1 02 81 */ lbz r6, 0x281(r17) -/* 800FD010 000F9F70 50 86 36 72 */ rlwimi r6, r4, 6, 0x19, 0x19 -/* 800FD014 000F9F74 88 81 02 D7 */ lbz r4, 0x2d7(r1) -/* 800FD018 000F9F78 98 D1 02 81 */ stb r6, 0x281(r17) -/* 800FD01C 000F9F7C 88 D1 02 81 */ lbz r6, 0x281(r17) -/* 800FD020 000F9F80 50 86 2E B4 */ rlwimi r6, r4, 5, 0x1a, 0x1a -/* 800FD024 000F9F84 88 81 02 E7 */ lbz r4, 0x2e7(r1) -/* 800FD028 000F9F88 98 D1 02 81 */ stb r6, 0x281(r17) -/* 800FD02C 000F9F8C 88 D1 02 81 */ lbz r6, 0x281(r17) -/* 800FD030 000F9F90 50 86 26 F6 */ rlwimi r6, r4, 4, 0x1b, 0x1b -/* 800FD034 000F9F94 88 81 02 EB */ lbz r4, 0x2eb(r1) -/* 800FD038 000F9F98 98 D1 02 81 */ stb r6, 0x281(r17) -/* 800FD03C 000F9F9C 88 D1 02 81 */ lbz r6, 0x281(r17) -/* 800FD040 000F9FA0 50 86 1F 38 */ rlwimi r6, r4, 3, 0x1c, 0x1c -/* 800FD044 000F9FA4 98 D1 02 81 */ stb r6, 0x281(r17) -/* 800FD048 000F9FA8 88 91 02 81 */ lbz r4, 0x281(r17) -/* 800FD04C 000F9FAC 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d -/* 800FD050 000F9FB0 98 91 02 81 */ stb r4, 0x281(r17) -/* 800FD054 000F9FB4 88 91 02 81 */ lbz r4, 0x281(r17) -/* 800FD058 000F9FB8 50 A4 0F BC */ rlwimi r4, r5, 1, 0x1e, 0x1e -/* 800FD05C 000F9FBC 98 91 02 81 */ stb r4, 0x281(r17) -/* 800FD060 000F9FC0 88 81 03 03 */ lbz r4, 0x303(r1) -/* 800FD064 000F9FC4 88 B1 02 81 */ lbz r5, 0x281(r17) -/* 800FD068 000F9FC8 50 85 07 FE */ rlwimi r5, r4, 0, 0x1f, 0x1f -/* 800FD06C 000F9FCC 88 81 03 07 */ lbz r4, 0x307(r1) -/* 800FD070 000F9FD0 98 B1 02 81 */ stb r5, 0x281(r17) -/* 800FD074 000F9FD4 88 B1 02 82 */ lbz r5, 0x282(r17) -/* 800FD078 000F9FD8 50 85 3E 30 */ rlwimi r5, r4, 7, 0x18, 0x18 -/* 800FD07C 000F9FDC 80 81 02 D8 */ lwz r4, 0x2d8(r1) -/* 800FD080 000F9FE0 98 B1 02 82 */ stb r5, 0x282(r17) -/* 800FD084 000F9FE4 98 91 02 83 */ stb r4, 0x283(r17) -/* 800FD088 000F9FE8 80 81 02 EC */ lwz r4, 0x2ec(r1) -/* 800FD08C 000F9FEC 98 91 02 84 */ stb r4, 0x284(r17) -/* 800FD090 000F9FF0 80 81 02 F8 */ lwz r4, 0x2f8(r1) -/* 800FD094 000F9FF4 98 91 02 85 */ stb r4, 0x285(r17) -/* 800FD098 000F9FF8 D2 91 02 88 */ stfs f20, 0x288(r17) -/* 800FD09C 000F9FFC D2 B1 02 8C */ stfs f21, 0x28c(r17) -/* 800FD0A0 000FA000 D2 D1 02 90 */ stfs f22, 0x290(r17) -/* 800FD0A4 000FA004 D2 F1 02 94 */ stfs f23, 0x294(r17) -/* 800FD0A8 000FA008 D3 11 02 98 */ stfs f24, 0x298(r17) -/* 800FD0AC 000FA00C D3 31 02 9C */ stfs f25, 0x29c(r17) -/* 800FD0B0 000FA010 D3 51 02 A0 */ stfs f26, 0x2a0(r17) -/* 800FD0B4 000FA014 D0 51 02 A4 */ stfs f2, 0x2a4(r17) -/* 800FD0B8 000FA018 D0 31 02 A8 */ stfs f1, 0x2a8(r17) -/* 800FD0BC 000FA01C D0 11 02 AC */ stfs f0, 0x2ac(r17) -/* 800FD0C0 000FA020 C0 1A 00 00 */ lfs f0, 0(r26) -/* 800FD0C4 000FA024 D0 11 02 B0 */ stfs f0, 0x2b0(r17) -/* 800FD0C8 000FA028 C0 1A 00 04 */ lfs f0, 4(r26) -/* 800FD0CC 000FA02C D0 11 02 B4 */ stfs f0, 0x2b4(r17) -/* 800FD0D0 000FA030 C0 1A 00 08 */ lfs f0, 8(r26) -/* 800FD0D4 000FA034 D0 11 02 B8 */ stfs f0, 0x2b8(r17) -/* 800FD0D8 000FA038 C0 3A 00 00 */ lfs f1, 0(r26) -/* 800FD0DC 000FA03C C0 1B 00 00 */ lfs f0, 0(r27) -/* 800FD0E0 000FA040 C0 9A 00 08 */ lfs f4, 8(r26) -/* 800FD0E4 000FA044 C0 7B 00 08 */ lfs f3, 8(r27) -/* 800FD0E8 000FA048 EC 01 00 32 */ fmuls f0, f1, f0 -/* 800FD0EC 000FA04C C0 5A 00 04 */ lfs f2, 4(r26) -/* 800FD0F0 000FA050 C0 3B 00 04 */ lfs f1, 4(r27) -/* 800FD0F4 000FA054 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 800FD0F8 000FA058 EC 22 00 72 */ fmuls f1, f2, f1 -/* 800FD0FC 000FA05C D0 11 02 BC */ stfs f0, 0x2bc(r17) -/* 800FD100 000FA060 D0 31 02 C0 */ stfs f1, 0x2c0(r17) -/* 800FD104 000FA064 38 B1 02 E0 */ addi r5, r17, 0x2e0 -/* 800FD108 000FA068 D0 71 02 C4 */ stfs f3, 0x2c4(r17) -/* 800FD10C 000FA06C C0 03 00 00 */ lfs f0, 0(r3) -/* 800FD110 000FA070 D0 11 02 C8 */ stfs f0, 0x2c8(r17) -/* 800FD114 000FA074 C0 10 00 04 */ lfs f0, 4(r16) -/* 800FD118 000FA078 D0 11 02 CC */ stfs f0, 0x2cc(r17) -/* 800FD11C 000FA07C C0 10 00 08 */ lfs f0, 8(r16) -/* 800FD120 000FA080 D0 11 02 D0 */ stfs f0, 0x2d0(r17) -/* 800FD124 000FA084 90 11 02 D4 */ stw r0, 0x2d4(r17) -/* 800FD128 000FA088 90 11 02 D8 */ stw r0, 0x2d8(r17) -/* 800FD12C 000FA08C 90 11 02 DC */ stw r0, 0x2dc(r17) -/* 800FD130 000FA090 90 11 02 E0 */ stw r0, 0x2e0(r17) -/* 800FD134 000FA094 80 71 02 E0 */ lwz r3, 0x2e0(r17) -/* 800FD138 000FA098 2C 03 00 08 */ cmpwi r3, 8 -/* 800FD13C 000FA09C 40 80 00 40 */ bge lbl_800FD17C -/* 800FD140 000FA0A0 54 60 10 3A */ slwi r0, r3, 2 -/* 800FD144 000FA0A4 20 83 00 08 */ subfic r4, r3, 8 -/* 800FD148 000FA0A8 7C 65 02 14 */ add r3, r5, r0 -/* 800FD14C 000FA0AC 7C 89 03 A6 */ mtctr r4 -/* 800FD150 000FA0B0 2C 04 00 00 */ cmpwi r4, 0 -/* 800FD154 000FA0B4 38 63 00 04 */ addi r3, r3, 4 -/* 800FD158 000FA0B8 40 81 00 1C */ ble lbl_800FD174 -lbl_800FD15C: -/* 800FD15C 000FA0BC 28 03 00 00 */ cmplwi r3, 0 -/* 800FD160 000FA0C0 41 82 00 0C */ beq lbl_800FD16C -/* 800FD164 000FA0C4 C0 0D 89 44 */ lfs f0, lbl_805A7504@sda21(r13) -/* 800FD168 000FA0C8 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800FD16C: -/* 800FD16C 000FA0CC 38 63 00 04 */ addi r3, r3, 4 -/* 800FD170 000FA0D0 42 00 FF EC */ bdnz lbl_800FD15C -lbl_800FD174: -/* 800FD174 000FA0D4 38 00 00 08 */ li r0, 8 -/* 800FD178 000FA0D8 90 05 00 00 */ stw r0, 0(r5) -lbl_800FD17C: -/* 800FD17C 000FA0DC 7E 23 8B 78 */ mr r3, r17 -/* 800FD180 000FA0E0 38 80 00 00 */ li r4, 0 -/* 800FD184 000FA0E4 4B F5 72 5D */ bl SetUseInSortedLists__6CActorFb -/* 800FD188 000FA0E8 7F 85 E3 78 */ mr r5, r28 -/* 800FD18C 000FA0EC 38 61 00 88 */ addi r3, r1, 0x88 -/* 800FD190 000FA0F0 38 91 00 34 */ addi r4, r17, 0x34 -/* 800FD194 000FA0F4 48 21 58 ED */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 800FD198 000FA0F8 C0 B1 00 60 */ lfs f5, 0x60(r17) -/* 800FD19C 000FA0FC 7E 23 8B 78 */ mr r3, r17 -/* 800FD1A0 000FA100 C0 91 00 50 */ lfs f4, 0x50(r17) -/* 800FD1A4 000FA104 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 800FD1A8 000FA108 C0 71 00 40 */ lfs f3, 0x40(r17) -/* 800FD1AC 000FA10C C0 41 00 8C */ lfs f2, 0x8c(r1) -/* 800FD1B0 000FA110 C0 21 00 90 */ lfs f1, 0x90(r1) -/* 800FD1B4 000FA114 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 800FD1B8 000FA118 EC 44 10 2A */ fadds f2, f4, f2 -/* 800FD1BC 000FA11C EC 25 08 2A */ fadds f1, f5, f1 -/* 800FD1C0 000FA120 D0 61 00 94 */ stfs f3, 0x94(r1) -/* 800FD1C4 000FA124 EC 03 00 2A */ fadds f0, f3, f0 -/* 800FD1C8 000FA128 D0 81 00 98 */ stfs f4, 0x98(r1) -/* 800FD1CC 000FA12C D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 800FD1D0 000FA130 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 800FD1D4 000FA134 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 800FD1D8 000FA138 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 800FD1DC 000FA13C 4B F5 5C B1 */ bl SetTranslation__6CActorFRC9CVector3f -/* 800FD1E0 000FA140 88 01 02 FF */ lbz r0, 0x2ff(r1) -/* 800FD1E4 000FA144 28 00 00 00 */ cmplwi r0, 0 -/* 800FD1E8 000FA148 41 82 00 84 */ beq lbl_800FD26C -/* 800FD1EC 000FA14C 80 AD 89 4C */ lwz r5, lbl_805A750C@sda21(r13) -/* 800FD1F0 000FA150 38 60 00 00 */ li r3, 0 -/* 800FD1F4 000FA154 38 80 00 01 */ li r4, 1 -/* 800FD1F8 000FA158 48 28 CC FD */ bl __shl2i -/* 800FD1FC 000FA15C 80 AD 89 50 */ lwz r5, lbl_805A7510@sda21(r13) -/* 800FD200 000FA160 7C 8F 23 78 */ mr r15, r4 -/* 800FD204 000FA164 7C 6E 1B 78 */ mr r14, r3 -/* 800FD208 000FA168 38 60 00 00 */ li r3, 0 -/* 800FD20C 000FA16C 38 80 00 01 */ li r4, 1 -/* 800FD210 000FA170 48 28 CC E5 */ bl __shl2i -/* 800FD214 000FA174 80 AD 89 54 */ lwz r5, lbl_805A7514@sda21(r13) -/* 800FD218 000FA178 7D EF 23 78 */ or r15, r15, r4 -/* 800FD21C 000FA17C 7D CE 1B 78 */ or r14, r14, r3 -/* 800FD220 000FA180 38 60 00 00 */ li r3, 0 -/* 800FD224 000FA184 38 80 00 01 */ li r4, 1 -/* 800FD228 000FA188 48 28 CC CD */ bl __shl2i -/* 800FD22C 000FA18C 80 AD 89 48 */ lwz r5, lbl_805A7508@sda21(r13) -/* 800FD230 000FA190 7D EF 23 78 */ or r15, r15, r4 -/* 800FD234 000FA194 7D CE 1B 78 */ or r14, r14, r3 -/* 800FD238 000FA198 38 60 00 00 */ li r3, 0 -/* 800FD23C 000FA19C 38 80 00 01 */ li r4, 1 -/* 800FD240 000FA1A0 48 28 CC B5 */ bl __shl2i -/* 800FD244 000FA1A4 38 00 00 03 */ li r0, 3 -/* 800FD248 000FA1A8 90 81 00 E4 */ stw r4, 0xe4(r1) -/* 800FD24C 000FA1AC 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 800FD250 000FA1B0 90 61 00 E0 */ stw r3, 0xe0(r1) -/* 800FD254 000FA1B4 7E 23 8B 78 */ mr r3, r17 -/* 800FD258 000FA1B8 91 E1 00 EC */ stw r15, 0xec(r1) -/* 800FD25C 000FA1BC 91 C1 00 E8 */ stw r14, 0xe8(r1) -/* 800FD260 000FA1C0 90 01 00 F0 */ stw r0, 0xf0(r1) -/* 800FD264 000FA1C4 4B F5 66 3D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 800FD268 000FA1C8 48 00 00 A4 */ b lbl_800FD30C -lbl_800FD26C: -/* 800FD26C 000FA1CC 80 AD 89 58 */ lwz r5, lbl_805A7518@sda21(r13) -/* 800FD270 000FA1D0 38 60 00 00 */ li r3, 0 -/* 800FD274 000FA1D4 38 80 00 01 */ li r4, 1 -/* 800FD278 000FA1D8 48 28 CC 7D */ bl __shl2i -/* 800FD27C 000FA1DC 80 AD 89 5C */ lwz r5, lbl_805A751C@sda21(r13) -/* 800FD280 000FA1E0 7C 8F 23 78 */ mr r15, r4 -/* 800FD284 000FA1E4 7C 6E 1B 78 */ mr r14, r3 -/* 800FD288 000FA1E8 38 60 00 00 */ li r3, 0 -/* 800FD28C 000FA1EC 38 80 00 01 */ li r4, 1 -/* 800FD290 000FA1F0 48 28 CC 65 */ bl __shl2i -/* 800FD294 000FA1F4 80 AD 89 60 */ lwz r5, lbl_805A7520@sda21(r13) -/* 800FD298 000FA1F8 7D EF 23 78 */ or r15, r15, r4 -/* 800FD29C 000FA1FC 7D CE 1B 78 */ or r14, r14, r3 -/* 800FD2A0 000FA200 38 60 00 00 */ li r3, 0 -/* 800FD2A4 000FA204 38 80 00 01 */ li r4, 1 -/* 800FD2A8 000FA208 48 28 CC 4D */ bl __shl2i -/* 800FD2AC 000FA20C 80 AD 89 64 */ lwz r5, lbl_805A7524@sda21(r13) -/* 800FD2B0 000FA210 7D EF 23 78 */ or r15, r15, r4 -/* 800FD2B4 000FA214 7D CE 1B 78 */ or r14, r14, r3 -/* 800FD2B8 000FA218 38 60 00 00 */ li r3, 0 -/* 800FD2BC 000FA21C 38 80 00 01 */ li r4, 1 -/* 800FD2C0 000FA220 48 28 CC 35 */ bl __shl2i -/* 800FD2C4 000FA224 80 AD 89 68 */ lwz r5, lbl_805A7528@sda21(r13) -/* 800FD2C8 000FA228 7D EF 23 78 */ or r15, r15, r4 -/* 800FD2CC 000FA22C 7D CE 1B 78 */ or r14, r14, r3 -/* 800FD2D0 000FA230 38 60 00 00 */ li r3, 0 -/* 800FD2D4 000FA234 38 80 00 01 */ li r4, 1 -/* 800FD2D8 000FA238 48 28 CC 1D */ bl __shl2i -/* 800FD2DC 000FA23C 7D EF 23 78 */ or r15, r15, r4 -/* 800FD2E0 000FA240 7D CE 1B 78 */ or r14, r14, r3 -/* 800FD2E4 000FA244 38 A0 00 00 */ li r5, 0 -/* 800FD2E8 000FA248 38 00 00 03 */ li r0, 3 -/* 800FD2EC 000FA24C 90 A1 00 CC */ stw r5, 0xcc(r1) -/* 800FD2F0 000FA250 7E 23 8B 78 */ mr r3, r17 -/* 800FD2F4 000FA254 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 800FD2F8 000FA258 90 A1 00 C8 */ stw r5, 0xc8(r1) -/* 800FD2FC 000FA25C 91 E1 00 D4 */ stw r15, 0xd4(r1) -/* 800FD300 000FA260 91 C1 00 D0 */ stw r14, 0xd0(r1) -/* 800FD304 000FA264 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 800FD308 000FA268 4B F5 65 99 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -lbl_800FD30C: -/* 800FD30C 000FA26C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800FD310 000FA270 7F A4 EB 78 */ mr r4, r29 -/* 800FD314 000FA274 38 63 00 04 */ addi r3, r3, 4 -/* 800FD318 000FA278 48 23 E9 B5 */ bl GetResourceTypeById__10CResLoaderCFUi -/* 800FD31C 000FA27C 28 03 00 00 */ cmplwi r3, 0 -/* 800FD320 000FA280 41 82 00 EC */ beq lbl_800FD40C -/* 800FD324 000FA284 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 800FD328 000FA288 93 A1 00 60 */ stw r29, 0x60(r1) -/* 800FD32C 000FA28C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 800FD330 000FA290 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800FD334 000FA294 90 01 00 5C */ stw r0, 0x5c(r1) -/* 800FD338 000FA298 38 61 00 54 */ addi r3, r1, 0x54 -/* 800FD33C 000FA29C 38 A1 00 5C */ addi r5, r1, 0x5c -/* 800FD340 000FA2A0 81 84 00 00 */ lwz r12, 0(r4) -/* 800FD344 000FA2A4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800FD348 000FA2A8 7D 89 03 A6 */ mtctr r12 -/* 800FD34C 000FA2AC 4E 80 04 21 */ bctrl -/* 800FD350 000FA2B0 38 61 00 80 */ addi r3, r1, 0x80 -/* 800FD354 000FA2B4 38 81 00 54 */ addi r4, r1, 0x54 -/* 800FD358 000FA2B8 48 24 3B 51 */ bl __ct__6CTokenFRC6CToken -/* 800FD35C 000FA2BC 38 61 00 54 */ addi r3, r1, 0x54 -/* 800FD360 000FA2C0 38 80 FF FF */ li r4, -1 -/* 800FD364 000FA2C4 48 24 3A DD */ bl __dt__6CTokenFv -/* 800FD368 000FA2C8 3C 60 80 3D */ lis r3, lbl_803CEDF8@ha -/* 800FD36C 000FA2CC 39 E0 00 00 */ li r15, 0 -/* 800FD370 000FA2D0 38 83 ED F8 */ addi r4, r3, lbl_803CEDF8@l -/* 800FD374 000FA2D4 38 A0 00 00 */ li r5, 0 -/* 800FD378 000FA2D8 38 60 03 40 */ li r3, 0x340 -/* 800FD37C 000FA2DC 48 21 84 F1 */ bl __nw__FUlPCcPCc -/* 800FD380 000FA2E0 7C 6E 1B 79 */ or. r14, r3, r3 -/* 800FD384 000FA2E4 41 82 00 2C */ beq lbl_800FD3B0 -/* 800FD388 000FA2E8 38 61 00 4C */ addi r3, r1, 0x4c -/* 800FD38C 000FA2EC 38 81 00 80 */ addi r4, r1, 0x80 -/* 800FD390 000FA2F0 48 24 3B 19 */ bl __ct__6CTokenFRC6CToken -/* 800FD394 000FA2F4 7D C3 73 78 */ mr r3, r14 -/* 800FD398 000FA2F8 38 81 00 4C */ addi r4, r1, 0x4c -/* 800FD39C 000FA2FC 39 E0 00 01 */ li r15, 1 -/* 800FD3A0 000FA300 38 A0 00 00 */ li r5, 0 -/* 800FD3A4 000FA304 38 C0 00 01 */ li r6, 1 -/* 800FD3A8 000FA308 48 22 20 39 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800FD3AC 000FA30C 7C 6E 1B 78 */ mr r14, r3 -lbl_800FD3B0: -/* 800FD3B0 000FA310 80 71 02 D4 */ lwz r3, 0x2d4(r17) -/* 800FD3B4 000FA314 28 03 00 00 */ cmplwi r3, 0 -/* 800FD3B8 000FA318 41 82 00 18 */ beq lbl_800FD3D0 -/* 800FD3BC 000FA31C 81 83 00 00 */ lwz r12, 0(r3) -/* 800FD3C0 000FA320 38 80 00 01 */ li r4, 1 -/* 800FD3C4 000FA324 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FD3C8 000FA328 7D 89 03 A6 */ mtctr r12 -/* 800FD3CC 000FA32C 4E 80 04 21 */ bctrl -lbl_800FD3D0: -/* 800FD3D0 000FA330 7D E0 07 75 */ extsb. r0, r15 -/* 800FD3D4 000FA334 91 D1 02 D4 */ stw r14, 0x2d4(r17) -/* 800FD3D8 000FA338 41 82 00 10 */ beq lbl_800FD3E8 -/* 800FD3DC 000FA33C 38 61 00 4C */ addi r3, r1, 0x4c -/* 800FD3E0 000FA340 38 80 00 00 */ li r4, 0 -/* 800FD3E4 000FA344 48 24 3A 5D */ bl __dt__6CTokenFv -lbl_800FD3E8: -/* 800FD3E8 000FA348 80 71 02 D4 */ lwz r3, 0x2d4(r17) -/* 800FD3EC 000FA34C 80 81 02 CC */ lwz r4, 0x2cc(r1) -/* 800FD3F0 000FA350 81 83 00 00 */ lwz r12, 0(r3) -/* 800FD3F4 000FA354 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800FD3F8 000FA358 7D 89 03 A6 */ mtctr r12 -/* 800FD3FC 000FA35C 4E 80 04 21 */ bctrl -/* 800FD400 000FA360 38 61 00 80 */ addi r3, r1, 0x80 -/* 800FD404 000FA364 38 80 00 00 */ li r4, 0 -/* 800FD408 000FA368 48 24 3A 39 */ bl __dt__6CTokenFv -lbl_800FD40C: -/* 800FD40C 000FA36C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800FD410 000FA370 7F C4 F3 78 */ mr r4, r30 -/* 800FD414 000FA374 38 63 00 04 */ addi r3, r3, 4 -/* 800FD418 000FA378 48 23 E8 B5 */ bl GetResourceTypeById__10CResLoaderCFUi -/* 800FD41C 000FA37C 28 03 00 00 */ cmplwi r3, 0 -/* 800FD420 000FA380 41 82 00 EC */ beq lbl_800FD50C -/* 800FD424 000FA384 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 800FD428 000FA388 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800FD42C 000FA38C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 800FD430 000FA390 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800FD434 000FA394 90 01 00 44 */ stw r0, 0x44(r1) -/* 800FD438 000FA398 38 61 00 3C */ addi r3, r1, 0x3c -/* 800FD43C 000FA39C 38 A1 00 44 */ addi r5, r1, 0x44 -/* 800FD440 000FA3A0 81 84 00 00 */ lwz r12, 0(r4) -/* 800FD444 000FA3A4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800FD448 000FA3A8 7D 89 03 A6 */ mtctr r12 -/* 800FD44C 000FA3AC 4E 80 04 21 */ bctrl -/* 800FD450 000FA3B0 38 61 00 78 */ addi r3, r1, 0x78 -/* 800FD454 000FA3B4 38 81 00 3C */ addi r4, r1, 0x3c -/* 800FD458 000FA3B8 48 24 3A 51 */ bl __ct__6CTokenFRC6CToken -/* 800FD45C 000FA3BC 38 61 00 3C */ addi r3, r1, 0x3c -/* 800FD460 000FA3C0 38 80 FF FF */ li r4, -1 -/* 800FD464 000FA3C4 48 24 39 DD */ bl __dt__6CTokenFv -/* 800FD468 000FA3C8 3C 60 80 3D */ lis r3, lbl_803CEDF8@ha -/* 800FD46C 000FA3CC 39 E0 00 00 */ li r15, 0 -/* 800FD470 000FA3D0 38 83 ED F8 */ addi r4, r3, lbl_803CEDF8@l -/* 800FD474 000FA3D4 38 A0 00 00 */ li r5, 0 -/* 800FD478 000FA3D8 38 60 03 40 */ li r3, 0x340 -/* 800FD47C 000FA3DC 48 21 83 F1 */ bl __nw__FUlPCcPCc -/* 800FD480 000FA3E0 7C 6E 1B 79 */ or. r14, r3, r3 -/* 800FD484 000FA3E4 41 82 00 2C */ beq lbl_800FD4B0 -/* 800FD488 000FA3E8 38 61 00 34 */ addi r3, r1, 0x34 -/* 800FD48C 000FA3EC 38 81 00 78 */ addi r4, r1, 0x78 -/* 800FD490 000FA3F0 48 24 3A 19 */ bl __ct__6CTokenFRC6CToken -/* 800FD494 000FA3F4 7D C3 73 78 */ mr r3, r14 -/* 800FD498 000FA3F8 38 81 00 34 */ addi r4, r1, 0x34 -/* 800FD49C 000FA3FC 39 E0 00 01 */ li r15, 1 -/* 800FD4A0 000FA400 38 A0 00 00 */ li r5, 0 -/* 800FD4A4 000FA404 38 C0 00 01 */ li r6, 1 -/* 800FD4A8 000FA408 48 22 1F 39 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800FD4AC 000FA40C 7C 6E 1B 78 */ mr r14, r3 -lbl_800FD4B0: -/* 800FD4B0 000FA410 80 71 02 D8 */ lwz r3, 0x2d8(r17) -/* 800FD4B4 000FA414 28 03 00 00 */ cmplwi r3, 0 -/* 800FD4B8 000FA418 41 82 00 18 */ beq lbl_800FD4D0 -/* 800FD4BC 000FA41C 81 83 00 00 */ lwz r12, 0(r3) -/* 800FD4C0 000FA420 38 80 00 01 */ li r4, 1 -/* 800FD4C4 000FA424 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FD4C8 000FA428 7D 89 03 A6 */ mtctr r12 -/* 800FD4CC 000FA42C 4E 80 04 21 */ bctrl -lbl_800FD4D0: -/* 800FD4D0 000FA430 7D E0 07 75 */ extsb. r0, r15 -/* 800FD4D4 000FA434 91 D1 02 D8 */ stw r14, 0x2d8(r17) -/* 800FD4D8 000FA438 41 82 00 10 */ beq lbl_800FD4E8 -/* 800FD4DC 000FA43C 38 61 00 34 */ addi r3, r1, 0x34 -/* 800FD4E0 000FA440 38 80 00 00 */ li r4, 0 -/* 800FD4E4 000FA444 48 24 39 5D */ bl __dt__6CTokenFv -lbl_800FD4E8: -/* 800FD4E8 000FA448 80 71 02 D8 */ lwz r3, 0x2d8(r17) -/* 800FD4EC 000FA44C 80 81 02 E0 */ lwz r4, 0x2e0(r1) -/* 800FD4F0 000FA450 81 83 00 00 */ lwz r12, 0(r3) -/* 800FD4F4 000FA454 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800FD4F8 000FA458 7D 89 03 A6 */ mtctr r12 -/* 800FD4FC 000FA45C 4E 80 04 21 */ bctrl -/* 800FD500 000FA460 38 61 00 78 */ addi r3, r1, 0x78 -/* 800FD504 000FA464 38 80 00 00 */ li r4, 0 -/* 800FD508 000FA468 48 24 39 39 */ bl __dt__6CTokenFv -lbl_800FD50C: -/* 800FD50C 000FA46C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800FD510 000FA470 7F E4 FB 78 */ mr r4, r31 -/* 800FD514 000FA474 38 63 00 04 */ addi r3, r3, 4 -/* 800FD518 000FA478 48 23 E7 B5 */ bl GetResourceTypeById__10CResLoaderCFUi -/* 800FD51C 000FA47C 28 03 00 00 */ cmplwi r3, 0 -/* 800FD520 000FA480 41 82 00 EC */ beq lbl_800FD60C -/* 800FD524 000FA484 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 800FD528 000FA488 93 E1 00 30 */ stw r31, 0x30(r1) -/* 800FD52C 000FA48C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 800FD530 000FA490 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800FD534 000FA494 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800FD538 000FA498 38 61 00 24 */ addi r3, r1, 0x24 -/* 800FD53C 000FA49C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800FD540 000FA4A0 81 84 00 00 */ lwz r12, 0(r4) -/* 800FD544 000FA4A4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800FD548 000FA4A8 7D 89 03 A6 */ mtctr r12 -/* 800FD54C 000FA4AC 4E 80 04 21 */ bctrl -/* 800FD550 000FA4B0 38 61 00 70 */ addi r3, r1, 0x70 -/* 800FD554 000FA4B4 38 81 00 24 */ addi r4, r1, 0x24 -/* 800FD558 000FA4B8 48 24 39 51 */ bl __ct__6CTokenFRC6CToken -/* 800FD55C 000FA4BC 38 61 00 24 */ addi r3, r1, 0x24 -/* 800FD560 000FA4C0 38 80 FF FF */ li r4, -1 -/* 800FD564 000FA4C4 48 24 38 DD */ bl __dt__6CTokenFv -/* 800FD568 000FA4C8 3C 60 80 3D */ lis r3, lbl_803CEDF8@ha -/* 800FD56C 000FA4CC 39 E0 00 00 */ li r15, 0 -/* 800FD570 000FA4D0 38 83 ED F8 */ addi r4, r3, lbl_803CEDF8@l -/* 800FD574 000FA4D4 38 A0 00 00 */ li r5, 0 -/* 800FD578 000FA4D8 38 60 03 40 */ li r3, 0x340 -/* 800FD57C 000FA4DC 48 21 82 F1 */ bl __nw__FUlPCcPCc -/* 800FD580 000FA4E0 7C 6E 1B 79 */ or. r14, r3, r3 -/* 800FD584 000FA4E4 41 82 00 2C */ beq lbl_800FD5B0 -/* 800FD588 000FA4E8 38 61 00 1C */ addi r3, r1, 0x1c -/* 800FD58C 000FA4EC 38 81 00 70 */ addi r4, r1, 0x70 -/* 800FD590 000FA4F0 48 24 39 19 */ bl __ct__6CTokenFRC6CToken -/* 800FD594 000FA4F4 7D C3 73 78 */ mr r3, r14 -/* 800FD598 000FA4F8 38 81 00 1C */ addi r4, r1, 0x1c -/* 800FD59C 000FA4FC 39 E0 00 01 */ li r15, 1 -/* 800FD5A0 000FA500 38 A0 00 00 */ li r5, 0 -/* 800FD5A4 000FA504 38 C0 00 01 */ li r6, 1 -/* 800FD5A8 000FA508 48 22 1E 39 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800FD5AC 000FA50C 7C 6E 1B 78 */ mr r14, r3 -lbl_800FD5B0: -/* 800FD5B0 000FA510 80 71 02 DC */ lwz r3, 0x2dc(r17) -/* 800FD5B4 000FA514 28 03 00 00 */ cmplwi r3, 0 -/* 800FD5B8 000FA518 41 82 00 18 */ beq lbl_800FD5D0 -/* 800FD5BC 000FA51C 81 83 00 00 */ lwz r12, 0(r3) -/* 800FD5C0 000FA520 38 80 00 01 */ li r4, 1 -/* 800FD5C4 000FA524 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FD5C8 000FA528 7D 89 03 A6 */ mtctr r12 -/* 800FD5CC 000FA52C 4E 80 04 21 */ bctrl -lbl_800FD5D0: -/* 800FD5D0 000FA530 7D E0 07 75 */ extsb. r0, r15 -/* 800FD5D4 000FA534 91 D1 02 DC */ stw r14, 0x2dc(r17) -/* 800FD5D8 000FA538 41 82 00 10 */ beq lbl_800FD5E8 -/* 800FD5DC 000FA53C 38 61 00 1C */ addi r3, r1, 0x1c -/* 800FD5E0 000FA540 38 80 00 00 */ li r4, 0 -/* 800FD5E4 000FA544 48 24 38 5D */ bl __dt__6CTokenFv -lbl_800FD5E8: -/* 800FD5E8 000FA548 80 71 02 DC */ lwz r3, 0x2dc(r17) -/* 800FD5EC 000FA54C 80 81 02 F4 */ lwz r4, 0x2f4(r1) -/* 800FD5F0 000FA550 81 83 00 00 */ lwz r12, 0(r3) -/* 800FD5F4 000FA554 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800FD5F8 000FA558 7D 89 03 A6 */ mtctr r12 -/* 800FD5FC 000FA55C 4E 80 04 21 */ bctrl -/* 800FD600 000FA560 38 61 00 70 */ addi r3, r1, 0x70 -/* 800FD604 000FA564 38 80 00 00 */ li r4, 0 -/* 800FD608 000FA568 48 24 38 39 */ bl __dt__6CTokenFv -lbl_800FD60C: -/* 800FD60C 000FA56C FC 00 F8 50 */ fneg f0, f31 -/* 800FD610 000FA570 C0 51 00 E8 */ lfs f2, 0xe8(r17) -/* 800FD614 000FA574 C0 22 93 64 */ lfs f1, lbl_805AB084@sda21(r2) -/* 800FD618 000FA578 7E 23 8B 78 */ mr r3, r17 -/* 800FD61C 000FA57C D0 31 01 50 */ stfs f1, 0x150(r17) -/* 800FD620 000FA580 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 800FD624 000FA584 D0 31 01 54 */ stfs f1, 0x154(r17) -/* 800FD628 000FA588 D0 11 01 58 */ stfs f0, 0x158(r17) -/* 800FD62C 000FA58C E3 E1 02 98 */ psq_l f31, 664(r1), 0, qr0 -/* 800FD630 000FA590 CB E1 02 90 */ lfd f31, 0x290(r1) -/* 800FD634 000FA594 E3 C1 02 88 */ psq_l f30, 648(r1), 0, qr0 -/* 800FD638 000FA598 CB C1 02 80 */ lfd f30, 0x280(r1) -/* 800FD63C 000FA59C E3 A1 02 78 */ psq_l f29, 632(r1), 0, qr0 -/* 800FD640 000FA5A0 CB A1 02 70 */ lfd f29, 0x270(r1) -/* 800FD644 000FA5A4 E3 81 02 68 */ psq_l f28, 616(r1), 0, qr0 -/* 800FD648 000FA5A8 CB 81 02 60 */ lfd f28, 0x260(r1) -/* 800FD64C 000FA5AC E3 61 02 58 */ psq_l f27, 600(r1), 0, qr0 -/* 800FD650 000FA5B0 CB 61 02 50 */ lfd f27, 0x250(r1) -/* 800FD654 000FA5B4 E3 41 02 48 */ psq_l f26, 584(r1), 0, qr0 -/* 800FD658 000FA5B8 CB 41 02 40 */ lfd f26, 0x240(r1) -/* 800FD65C 000FA5BC E3 21 02 38 */ psq_l f25, 568(r1), 0, qr0 -/* 800FD660 000FA5C0 CB 21 02 30 */ lfd f25, 0x230(r1) -/* 800FD664 000FA5C4 E3 01 02 28 */ psq_l f24, 552(r1), 0, qr0 -/* 800FD668 000FA5C8 CB 01 02 20 */ lfd f24, 0x220(r1) -/* 800FD66C 000FA5CC E2 E1 02 18 */ psq_l f23, 536(r1), 0, qr0 -/* 800FD670 000FA5D0 CA E1 02 10 */ lfd f23, 0x210(r1) -/* 800FD674 000FA5D4 E2 C1 02 08 */ psq_l f22, 520(r1), 0, qr0 -/* 800FD678 000FA5D8 CA C1 02 00 */ lfd f22, 0x200(r1) -/* 800FD67C 000FA5DC E2 A1 01 F8 */ psq_l f21, 504(r1), 0, qr0 -/* 800FD680 000FA5E0 CA A1 01 F0 */ lfd f21, 0x1f0(r1) -/* 800FD684 000FA5E4 E2 81 01 E8 */ psq_l f20, 488(r1), 0, qr0 -/* 800FD688 000FA5E8 CA 81 01 E0 */ lfd f20, 0x1e0(r1) -/* 800FD68C 000FA5EC B9 C1 01 98 */ lmw r14, 0x198(r1) -/* 800FD690 000FA5F0 80 01 02 A4 */ lwz r0, 0x2a4(r1) -/* 800FD694 000FA5F4 7C 08 03 A6 */ mtlr r0 -/* 800FD698 000FA5F8 38 21 02 A0 */ addi r1, r1, 0x2a0 -/* 800FD69C 000FA5FC 4E 80 00 20 */ blr - -.global "__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersUiRC9CVector3ffRC9CVector3fRC6CColorfffQ213CScriptDebris10EScaleTypebbb" -"__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersUiRC9CVector3ffRC9CVector3fRC6CColorfffQ213CScriptDebris10EScaleTypebbb": -/* 800FD6A0 000FA600 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 800FD6A4 000FA604 7C 08 02 A6 */ mflr r0 -/* 800FD6A8 000FA608 90 01 01 84 */ stw r0, 0x184(r1) -/* 800FD6AC 000FA60C DB E1 01 70 */ stfd f31, 0x170(r1) -/* 800FD6B0 000FA610 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 800FD6B4 000FA614 DB C1 01 60 */ stfd f30, 0x160(r1) -/* 800FD6B8 000FA618 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 800FD6BC 000FA61C DB A1 01 50 */ stfd f29, 0x150(r1) -/* 800FD6C0 000FA620 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 800FD6C4 000FA624 DB 81 01 40 */ stfd f28, 0x140(r1) -/* 800FD6C8 000FA628 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 800FD6CC 000FA62C BE 01 01 00 */ stmw r16, 0x100(r1) -/* 800FD6D0 000FA630 FF 80 08 90 */ fmr f28, f1 -/* 800FD6D4 000FA634 83 E1 01 88 */ lwz r31, 0x188(r1) -/* 800FD6D8 000FA638 FF A0 10 90 */ fmr f29, f2 -/* 800FD6DC 000FA63C 82 E1 01 8C */ lwz r23, 0x18c(r1) -/* 800FD6E0 000FA640 FF E0 18 90 */ fmr f31, f3 -/* 800FD6E4 000FA644 83 01 01 90 */ lwz r24, 0x190(r1) -/* 800FD6E8 000FA648 FF C0 20 90 */ fmr f30, f4 -/* 800FD6EC 000FA64C 83 21 01 94 */ lwz r25, 0x194(r1) -/* 800FD6F0 000FA650 8B 41 01 9F */ lbz r26, 0x19f(r1) -/* 800FD6F4 000FA654 7C 7D 1B 78 */ mr r29, r3 -/* 800FD6F8 000FA658 8B 61 01 A3 */ lbz r27, 0x1a3(r1) -/* 800FD6FC 000FA65C 7C 91 23 78 */ mr r17, r4 -/* 800FD700 000FA660 7C B2 2B 78 */ mr r18, r5 -/* 800FD704 000FA664 7C D3 33 78 */ mr r19, r6 -/* 800FD708 000FA668 7C F4 3B 78 */ mr r20, r7 -/* 800FD70C 000FA66C 7D 15 43 78 */ mr r21, r8 -/* 800FD710 000FA670 7D 36 4B 78 */ mr r22, r9 -/* 800FD714 000FA674 7D 5E 53 78 */ mr r30, r10 -/* 800FD718 000FA678 4B F1 DE 1D */ bl Identity__10CAxisAngleFv -/* 800FD71C 000FA67C 7C 70 1B 78 */ mr r16, r3 -/* 800FD720 000FA680 4B F1 DE 15 */ bl Identity__10CAxisAngleFv -/* 800FD724 000FA684 3C 80 80 5A */ lis r4, skZero3f@ha -/* 800FD728 000FA688 38 00 00 00 */ li r0, 0 -/* 800FD72C 000FA68C 3B 84 66 A0 */ addi r28, r4, skZero3f@l -/* 800FD730 000FA690 80 AD 89 1C */ lwz r5, lbl_805A74DC@sda21(r13) -/* 800FD734 000FA694 C0 3C 00 00 */ lfs f1, 0(r28) -/* 800FD738 000FA698 38 80 00 01 */ li r4, 1 -/* 800FD73C 000FA69C C0 5C 00 04 */ lfs f2, 4(r28) -/* 800FD740 000FA6A0 C0 7C 00 08 */ lfs f3, 8(r28) -/* 800FD744 000FA6A4 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 800FD748 000FA6A8 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 800FD74C 000FA6AC D0 61 00 98 */ stfs f3, 0x98(r1) -/* 800FD750 000FA6B0 C0 03 00 00 */ lfs f0, 0(r3) -/* 800FD754 000FA6B4 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 800FD758 000FA6B8 C0 03 00 04 */ lfs f0, 4(r3) -/* 800FD75C 000FA6BC D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 800FD760 000FA6C0 C0 03 00 08 */ lfs f0, 8(r3) -/* 800FD764 000FA6C4 38 60 00 00 */ li r3, 0 -/* 800FD768 000FA6C8 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 800FD76C 000FA6CC D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 800FD770 000FA6D0 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 800FD774 000FA6D4 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 800FD778 000FA6D8 C0 10 00 00 */ lfs f0, 0(r16) -/* 800FD77C 000FA6DC D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 800FD780 000FA6E0 C0 10 00 04 */ lfs f0, 4(r16) -/* 800FD784 000FA6E4 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 800FD788 000FA6E8 C0 10 00 08 */ lfs f0, 8(r16) -/* 800FD78C 000FA6EC D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 800FD790 000FA6F0 D3 A1 00 C0 */ stfs f29, 0xc0(r1) -/* 800FD794 000FA6F4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 800FD798 000FA6F8 90 01 00 38 */ stw r0, 0x38(r1) -/* 800FD79C 000FA6FC 48 28 C7 59 */ bl __shl2i -/* 800FD7A0 000FA700 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800FD7A4 000FA704 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 800FD7A8 000FA708 7C 00 1B 78 */ or r0, r0, r3 -/* 800FD7AC 000FA70C 80 AD 89 20 */ lwz r5, lbl_805A74E0@sda21(r13) -/* 800FD7B0 000FA710 7C C4 23 78 */ or r4, r6, r4 -/* 800FD7B4 000FA714 90 01 00 38 */ stw r0, 0x38(r1) -/* 800FD7B8 000FA718 38 60 00 00 */ li r3, 0 -/* 800FD7BC 000FA71C 90 81 00 3C */ stw r4, 0x3c(r1) -/* 800FD7C0 000FA720 38 80 00 01 */ li r4, 1 -/* 800FD7C4 000FA724 48 28 C7 31 */ bl __shl2i -/* 800FD7C8 000FA728 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800FD7CC 000FA72C 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 800FD7D0 000FA730 7C 03 1B 78 */ or r3, r0, r3 -/* 800FD7D4 000FA734 A0 11 00 00 */ lhz r0, 0(r17) -/* 800FD7D8 000FA738 7C A5 23 78 */ or r5, r5, r4 -/* 800FD7DC 000FA73C 90 61 00 38 */ stw r3, 0x38(r1) -/* 800FD7E0 000FA740 7E 84 A3 78 */ mr r4, r20 -/* 800FD7E4 000FA744 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 800FD7E8 000FA748 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 800FD7EC 000FA74C B0 01 00 18 */ sth r0, 0x18(r1) -/* 800FD7F0 000FA750 48 21 54 51 */ bl GetRotation__12CTransform4fCFv -/* 800FD7F4 000FA754 7E A4 AB 78 */ mr r4, r21 -/* 800FD7F8 000FA758 38 61 00 78 */ addi r3, r1, 0x78 -/* 800FD7FC 000FA75C 38 A1 00 C4 */ addi r5, r1, 0xc4 -/* 800FD800 000FA760 48 01 7F B5 */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 800FD804 000FA764 38 61 00 78 */ addi r3, r1, 0x78 -/* 800FD808 000FA768 38 01 00 90 */ addi r0, r1, 0x90 -/* 800FD80C 000FA76C 90 61 00 08 */ stw r3, 8(r1) -/* 800FD810 000FA770 7F A3 EB 78 */ mr r3, r29 -/* 800FD814 000FA774 C0 22 93 8C */ lfs f1, lbl_805AB0AC@sda21(r2) -/* 800FD818 000FA778 7F 65 DB 78 */ mr r5, r27 -/* 800FD81C 000FA77C 90 01 00 0C */ stw r0, 0xc(r1) -/* 800FD820 000FA780 7E 46 93 78 */ mr r6, r18 -/* 800FD824 000FA784 C0 42 93 80 */ lfs f2, lbl_805AB0A0@sda21(r2) -/* 800FD828 000FA788 7E 67 9B 78 */ mr r7, r19 -/* 800FD82C 000FA78C 92 C1 00 10 */ stw r22, 0x10(r1) -/* 800FD830 000FA790 7E 88 A3 78 */ mr r8, r20 -/* 800FD834 000FA794 7E A9 AB 78 */ mr r9, r21 -/* 800FD838 000FA798 38 81 00 18 */ addi r4, r1, 0x18 -/* 800FD83C 000FA79C 39 41 00 38 */ addi r10, r1, 0x38 -/* 800FD840 000FA7A0 48 01 EC 71 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" -/* 800FD844 000FA7A4 3C 60 80 3E */ lis r3, lbl_803DFD78@ha -/* 800FD848 000FA7A8 C0 22 93 60 */ lfs f1, lbl_805AB080@sda21(r2) -/* 800FD84C 000FA7AC 38 03 FD 78 */ addi r0, r3, lbl_803DFD78@l -/* 800FD850 000FA7B0 C0 42 93 84 */ lfs f2, lbl_805AB0A4@sda21(r2) -/* 800FD854 000FA7B4 90 1D 00 00 */ stw r0, 0(r29) -/* 800FD858 000FA7B8 FC 80 08 90 */ fmr f4, f1 -/* 800FD85C 000FA7BC FC 60 10 90 */ fmr f3, f2 -/* 800FD860 000FA7C0 38 7D 02 64 */ addi r3, r29, 0x264 -/* 800FD864 000FA7C4 C0 17 00 00 */ lfs f0, 0(r23) -/* 800FD868 000FA7C8 D0 1D 02 58 */ stfs f0, 0x258(r29) -/* 800FD86C 000FA7CC C0 17 00 04 */ lfs f0, 4(r23) -/* 800FD870 000FA7D0 D0 1D 02 5C */ stfs f0, 0x25c(r29) -/* 800FD874 000FA7D4 C0 17 00 08 */ lfs f0, 8(r23) -/* 800FD878 000FA7D8 D0 1D 02 60 */ stfs f0, 0x260(r29) -/* 800FD87C 000FA7DC 48 26 5B 71 */ bl __ct__6CColorFffff -/* 800FD880 000FA7E0 80 18 00 00 */ lwz r0, 0(r24) -/* 800FD884 000FA7E4 C0 02 93 64 */ lfs f0, lbl_805AB084@sda21(r2) -/* 800FD888 000FA7E8 90 1D 02 68 */ stw r0, 0x268(r29) -/* 800FD88C 000FA7EC FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 800FD890 000FA7F0 D3 9D 02 6C */ stfs f28, 0x26c(r29) -/* 800FD894 000FA7F4 D0 1D 02 70 */ stfs f0, 0x270(r29) -/* 800FD898 000FA7F8 4C 41 13 82 */ cror 2, 1, 2 -/* 800FD89C 000FA7FC 40 82 00 0C */ bne lbl_800FD8A8 -/* 800FD8A0 000FA800 FC 00 F0 90 */ fmr f0, f30 -/* 800FD8A4 000FA804 48 00 00 08 */ b lbl_800FD8AC -lbl_800FD8A8: -/* 800FD8A8 000FA808 C0 02 93 84 */ lfs f0, lbl_805AB0A4@sda21(r2) -lbl_800FD8AC: -/* 800FD8AC 000FA80C D0 1D 02 74 */ stfs f0, 0x274(r29) -/* 800FD8B0 000FA810 38 60 00 00 */ li r3, 0 -/* 800FD8B4 000FA814 C0 42 93 60 */ lfs f2, lbl_805AB080@sda21(r2) -/* 800FD8B8 000FA818 2C 19 00 00 */ cmpwi r25, 0 -/* 800FD8BC 000FA81C C0 3D 02 74 */ lfs f1, 0x274(r29) -/* 800FD8C0 000FA820 C0 02 93 64 */ lfs f0, lbl_805AB084@sda21(r2) -/* 800FD8C4 000FA824 EC 22 08 24 */ fdivs f1, f2, f1 -/* 800FD8C8 000FA828 D0 3D 02 78 */ stfs f1, 0x278(r29) -/* 800FD8CC 000FA82C D3 FD 02 7C */ stfs f31, 0x27c(r29) -/* 800FD8D0 000FA830 9B 3D 02 80 */ stb r25, 0x280(r29) -/* 800FD8D4 000FA834 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FD8D8 000FA838 53 40 3E 30 */ rlwimi r0, r26, 7, 0x18, 0x18 -/* 800FD8DC 000FA83C 98 1D 02 81 */ stb r0, 0x281(r29) -/* 800FD8E0 000FA840 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FD8E4 000FA844 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 800FD8E8 000FA848 98 1D 02 81 */ stb r0, 0x281(r29) -/* 800FD8EC 000FA84C 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FD8F0 000FA850 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 800FD8F4 000FA854 98 1D 02 81 */ stb r0, 0x281(r29) -/* 800FD8F8 000FA858 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FD8FC 000FA85C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 800FD900 000FA860 98 1D 02 81 */ stb r0, 0x281(r29) -/* 800FD904 000FA864 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FD908 000FA868 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800FD90C 000FA86C 98 1D 02 81 */ stb r0, 0x281(r29) -/* 800FD910 000FA870 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FD914 000FA874 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800FD918 000FA878 98 1D 02 81 */ stb r0, 0x281(r29) -/* 800FD91C 000FA87C 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FD920 000FA880 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 800FD924 000FA884 98 1D 02 81 */ stb r0, 0x281(r29) -/* 800FD928 000FA888 88 1D 02 81 */ lbz r0, 0x281(r29) -/* 800FD92C 000FA88C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 800FD930 000FA890 98 1D 02 81 */ stb r0, 0x281(r29) -/* 800FD934 000FA894 88 1D 02 82 */ lbz r0, 0x282(r29) -/* 800FD938 000FA898 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 800FD93C 000FA89C 98 1D 02 82 */ stb r0, 0x282(r29) -/* 800FD940 000FA8A0 98 7D 02 83 */ stb r3, 0x283(r29) -/* 800FD944 000FA8A4 98 7D 02 84 */ stb r3, 0x284(r29) -/* 800FD948 000FA8A8 98 7D 02 85 */ stb r3, 0x285(r29) -/* 800FD94C 000FA8AC D0 1D 02 88 */ stfs f0, 0x288(r29) -/* 800FD950 000FA8B0 D0 1D 02 8C */ stfs f0, 0x28c(r29) -/* 800FD954 000FA8B4 D0 1D 02 90 */ stfs f0, 0x290(r29) -/* 800FD958 000FA8B8 D0 1D 02 94 */ stfs f0, 0x294(r29) -/* 800FD95C 000FA8BC D0 1D 02 98 */ stfs f0, 0x298(r29) -/* 800FD960 000FA8C0 D0 1D 02 9C */ stfs f0, 0x29c(r29) -/* 800FD964 000FA8C4 D0 1D 02 A0 */ stfs f0, 0x2a0(r29) -/* 800FD968 000FA8C8 D0 1D 02 A4 */ stfs f0, 0x2a4(r29) -/* 800FD96C 000FA8CC D0 1D 02 A8 */ stfs f0, 0x2a8(r29) -/* 800FD970 000FA8D0 D0 1D 02 AC */ stfs f0, 0x2ac(r29) -/* 800FD974 000FA8D4 C0 35 00 04 */ lfs f1, 4(r21) -/* 800FD978 000FA8D8 C0 55 00 08 */ lfs f2, 8(r21) -/* 800FD97C 000FA8DC C0 15 00 00 */ lfs f0, 0(r21) -/* 800FD980 000FA8E0 D0 1D 02 B0 */ stfs f0, 0x2b0(r29) -/* 800FD984 000FA8E4 D0 3D 02 B4 */ stfs f1, 0x2b4(r29) -/* 800FD988 000FA8E8 D0 5D 02 B8 */ stfs f2, 0x2b8(r29) -/* 800FD98C 000FA8EC 40 82 00 24 */ bne lbl_800FD9B0 -/* 800FD990 000FA8F0 C0 55 00 00 */ lfs f2, 0(r21) -/* 800FD994 000FA8F4 38 81 00 54 */ addi r4, r1, 0x54 -/* 800FD998 000FA8F8 C0 35 00 04 */ lfs f1, 4(r21) -/* 800FD99C 000FA8FC C0 15 00 08 */ lfs f0, 8(r21) -/* 800FD9A0 000FA900 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 800FD9A4 000FA904 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 800FD9A8 000FA908 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800FD9AC 000FA90C 48 00 00 2C */ b lbl_800FD9D8 -lbl_800FD9B0: -/* 800FD9B0 000FA910 2C 19 00 01 */ cmpwi r25, 1 -/* 800FD9B4 000FA914 40 82 00 10 */ bne lbl_800FD9C4 -/* 800FD9B8 000FA918 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FD9BC 000FA91C 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 800FD9C0 000FA920 48 00 00 18 */ b lbl_800FD9D8 -lbl_800FD9C4: -/* 800FD9C4 000FA924 C0 02 93 94 */ lfs f0, lbl_805AB0B4@sda21(r2) -/* 800FD9C8 000FA928 38 81 00 48 */ addi r4, r1, 0x48 -/* 800FD9CC 000FA92C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800FD9D0 000FA930 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800FD9D4 000FA934 D0 01 00 50 */ stfs f0, 0x50(r1) -lbl_800FD9D8: -/* 800FD9D8 000FA938 C0 04 00 00 */ lfs f0, 0(r4) -/* 800FD9DC 000FA93C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 800FD9E0 000FA940 38 00 00 00 */ li r0, 0 -/* 800FD9E4 000FA944 38 BD 02 E0 */ addi r5, r29, 0x2e0 -/* 800FD9E8 000FA948 D0 1D 02 BC */ stfs f0, 0x2bc(r29) -/* 800FD9EC 000FA94C C0 04 00 04 */ lfs f0, 4(r4) -/* 800FD9F0 000FA950 D0 1D 02 C0 */ stfs f0, 0x2c0(r29) -/* 800FD9F4 000FA954 C0 04 00 08 */ lfs f0, 8(r4) -/* 800FD9F8 000FA958 D0 1D 02 C4 */ stfs f0, 0x2c4(r29) -/* 800FD9FC 000FA95C C0 03 66 A0 */ lfs f0, skZero3f@l(r3) -/* 800FDA00 000FA960 D0 1D 02 C8 */ stfs f0, 0x2c8(r29) -/* 800FDA04 000FA964 C0 1C 00 04 */ lfs f0, 4(r28) -/* 800FDA08 000FA968 D0 1D 02 CC */ stfs f0, 0x2cc(r29) -/* 800FDA0C 000FA96C C0 1C 00 08 */ lfs f0, 8(r28) -/* 800FDA10 000FA970 D0 1D 02 D0 */ stfs f0, 0x2d0(r29) -/* 800FDA14 000FA974 90 1D 02 D4 */ stw r0, 0x2d4(r29) -/* 800FDA18 000FA978 90 1D 02 D8 */ stw r0, 0x2d8(r29) -/* 800FDA1C 000FA97C 90 1D 02 DC */ stw r0, 0x2dc(r29) -/* 800FDA20 000FA980 90 1D 02 E0 */ stw r0, 0x2e0(r29) -/* 800FDA24 000FA984 80 7D 02 E0 */ lwz r3, 0x2e0(r29) -/* 800FDA28 000FA988 2C 03 00 08 */ cmpwi r3, 8 -/* 800FDA2C 000FA98C 40 80 00 40 */ bge lbl_800FDA6C -/* 800FDA30 000FA990 54 60 10 3A */ slwi r0, r3, 2 -/* 800FDA34 000FA994 20 83 00 08 */ subfic r4, r3, 8 -/* 800FDA38 000FA998 7C 65 02 14 */ add r3, r5, r0 -/* 800FDA3C 000FA99C 7C 89 03 A6 */ mtctr r4 -/* 800FDA40 000FA9A0 2C 04 00 00 */ cmpwi r4, 0 -/* 800FDA44 000FA9A4 38 63 00 04 */ addi r3, r3, 4 -/* 800FDA48 000FA9A8 40 81 00 1C */ ble lbl_800FDA64 -lbl_800FDA4C: -/* 800FDA4C 000FA9AC 28 03 00 00 */ cmplwi r3, 0 -/* 800FDA50 000FA9B0 41 82 00 0C */ beq lbl_800FDA5C -/* 800FDA54 000FA9B4 C0 0D 89 24 */ lfs f0, lbl_805A74E4@sda21(r13) -/* 800FDA58 000FA9B8 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800FDA5C: -/* 800FDA5C 000FA9BC 38 63 00 04 */ addi r3, r3, 4 -/* 800FDA60 000FA9C0 42 00 FF EC */ bdnz lbl_800FDA4C -lbl_800FDA64: -/* 800FDA64 000FA9C4 38 00 00 08 */ li r0, 8 -/* 800FDA68 000FA9C8 90 05 00 00 */ stw r0, 0(r5) -lbl_800FDA6C: -/* 800FDA6C 000FA9CC 88 1D 00 E7 */ lbz r0, 0xe7(r29) -/* 800FDA70 000FA9D0 38 60 00 00 */ li r3, 0 -/* 800FDA74 000FA9D4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 800FDA78 000FA9D8 98 1D 00 E7 */ stb r0, 0xe7(r29) -/* 800FDA7C 000FA9DC 80 7D 00 90 */ lwz r3, 0x90(r29) -/* 800FDA80 000FA9E0 28 03 00 00 */ cmplwi r3, 0 -/* 800FDA84 000FA9E4 41 82 00 10 */ beq lbl_800FDA94 -/* 800FDA88 000FA9E8 80 03 02 A8 */ lwz r0, 0x2a8(r3) -/* 800FDA8C 000FA9EC 54 00 08 3C */ slwi r0, r0, 1 -/* 800FDA90 000FA9F0 90 03 02 A8 */ stw r0, 0x2a8(r3) -lbl_800FDA94: -/* 800FDA94 000FA9F4 7F A3 EB 78 */ mr r3, r29 -/* 800FDA98 000FA9F8 38 80 00 00 */ li r4, 0 -/* 800FDA9C 000FA9FC 4B F5 69 45 */ bl SetUseInSortedLists__6CActorFb -/* 800FDAA0 000FAA00 80 AD 89 2C */ lwz r5, lbl_805A74EC@sda21(r13) -/* 800FDAA4 000FAA04 38 60 00 00 */ li r3, 0 -/* 800FDAA8 000FAA08 38 80 00 01 */ li r4, 1 -/* 800FDAAC 000FAA0C 48 28 C4 49 */ bl __shl2i -/* 800FDAB0 000FAA10 80 AD 89 30 */ lwz r5, lbl_805A74F0@sda21(r13) -/* 800FDAB4 000FAA14 7C 91 23 78 */ mr r17, r4 -/* 800FDAB8 000FAA18 7C 70 1B 78 */ mr r16, r3 -/* 800FDABC 000FAA1C 38 60 00 00 */ li r3, 0 -/* 800FDAC0 000FAA20 38 80 00 01 */ li r4, 1 -/* 800FDAC4 000FAA24 48 28 C4 31 */ bl __shl2i -/* 800FDAC8 000FAA28 80 AD 89 34 */ lwz r5, lbl_805A74F4@sda21(r13) -/* 800FDACC 000FAA2C 7E 31 23 78 */ or r17, r17, r4 -/* 800FDAD0 000FAA30 7E 10 1B 78 */ or r16, r16, r3 -/* 800FDAD4 000FAA34 38 60 00 00 */ li r3, 0 -/* 800FDAD8 000FAA38 38 80 00 01 */ li r4, 1 -/* 800FDADC 000FAA3C 48 28 C4 19 */ bl __shl2i -/* 800FDAE0 000FAA40 80 AD 89 38 */ lwz r5, lbl_805A74F8@sda21(r13) -/* 800FDAE4 000FAA44 7E 31 23 78 */ or r17, r17, r4 -/* 800FDAE8 000FAA48 7E 10 1B 78 */ or r16, r16, r3 -/* 800FDAEC 000FAA4C 38 60 00 00 */ li r3, 0 -/* 800FDAF0 000FAA50 38 80 00 01 */ li r4, 1 -/* 800FDAF4 000FAA54 48 28 C4 01 */ bl __shl2i -/* 800FDAF8 000FAA58 80 AD 89 28 */ lwz r5, lbl_805A74E8@sda21(r13) -/* 800FDAFC 000FAA5C 7E 31 23 78 */ or r17, r17, r4 -/* 800FDB00 000FAA60 7E 10 1B 78 */ or r16, r16, r3 -/* 800FDB04 000FAA64 38 60 00 00 */ li r3, 0 -/* 800FDB08 000FAA68 38 80 00 01 */ li r4, 1 -/* 800FDB0C 000FAA6C 48 28 C3 E9 */ bl __shl2i -/* 800FDB10 000FAA70 38 00 00 03 */ li r0, 3 -/* 800FDB14 000FAA74 90 81 00 64 */ stw r4, 0x64(r1) -/* 800FDB18 000FAA78 38 81 00 60 */ addi r4, r1, 0x60 -/* 800FDB1C 000FAA7C 90 61 00 60 */ stw r3, 0x60(r1) -/* 800FDB20 000FAA80 7F A3 EB 78 */ mr r3, r29 -/* 800FDB24 000FAA84 92 21 00 6C */ stw r17, 0x6c(r1) -/* 800FDB28 000FAA88 92 01 00 68 */ stw r16, 0x68(r1) -/* 800FDB2C 000FAA8C 90 01 00 70 */ stw r0, 0x70(r1) -/* 800FDB30 000FAA90 4B F5 5D 71 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 800FDB34 000FAA94 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 800FDB38 000FAA98 7F C4 F3 78 */ mr r4, r30 -/* 800FDB3C 000FAA9C 38 63 00 04 */ addi r3, r3, 4 -/* 800FDB40 000FAAA0 48 23 E1 8D */ bl GetResourceTypeById__10CResLoaderCFUi -/* 800FDB44 000FAAA4 28 03 00 00 */ cmplwi r3, 0 -/* 800FDB48 000FAAA8 41 82 00 EC */ beq lbl_800FDC34 -/* 800FDB4C 000FAAAC 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 800FDB50 000FAAB0 93 C1 00 30 */ stw r30, 0x30(r1) -/* 800FDB54 000FAAB4 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 800FDB58 000FAAB8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 800FDB5C 000FAABC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 800FDB60 000FAAC0 38 61 00 24 */ addi r3, r1, 0x24 -/* 800FDB64 000FAAC4 38 A1 00 2C */ addi r5, r1, 0x2c -/* 800FDB68 000FAAC8 81 84 00 00 */ lwz r12, 0(r4) -/* 800FDB6C 000FAACC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 800FDB70 000FAAD0 7D 89 03 A6 */ mtctr r12 -/* 800FDB74 000FAAD4 4E 80 04 21 */ bctrl -/* 800FDB78 000FAAD8 38 61 00 40 */ addi r3, r1, 0x40 -/* 800FDB7C 000FAADC 38 81 00 24 */ addi r4, r1, 0x24 -/* 800FDB80 000FAAE0 48 24 33 29 */ bl __ct__6CTokenFRC6CToken -/* 800FDB84 000FAAE4 38 61 00 24 */ addi r3, r1, 0x24 -/* 800FDB88 000FAAE8 38 80 FF FF */ li r4, -1 -/* 800FDB8C 000FAAEC 48 24 32 B5 */ bl __dt__6CTokenFv -/* 800FDB90 000FAAF0 3C 60 80 3D */ lis r3, lbl_803CEDF8@ha -/* 800FDB94 000FAAF4 3A 20 00 00 */ li r17, 0 -/* 800FDB98 000FAAF8 38 83 ED F8 */ addi r4, r3, lbl_803CEDF8@l -/* 800FDB9C 000FAAFC 38 A0 00 00 */ li r5, 0 -/* 800FDBA0 000FAB00 38 60 03 40 */ li r3, 0x340 -/* 800FDBA4 000FAB04 48 21 7C C9 */ bl __nw__FUlPCcPCc -/* 800FDBA8 000FAB08 7C 70 1B 79 */ or. r16, r3, r3 -/* 800FDBAC 000FAB0C 41 82 00 2C */ beq lbl_800FDBD8 -/* 800FDBB0 000FAB10 38 61 00 1C */ addi r3, r1, 0x1c -/* 800FDBB4 000FAB14 38 81 00 40 */ addi r4, r1, 0x40 -/* 800FDBB8 000FAB18 48 24 32 F1 */ bl __ct__6CTokenFRC6CToken -/* 800FDBBC 000FAB1C 7E 03 83 78 */ mr r3, r16 -/* 800FDBC0 000FAB20 38 81 00 1C */ addi r4, r1, 0x1c -/* 800FDBC4 000FAB24 3A 20 00 01 */ li r17, 1 -/* 800FDBC8 000FAB28 38 A0 00 00 */ li r5, 0 -/* 800FDBCC 000FAB2C 38 C0 00 01 */ li r6, 1 -/* 800FDBD0 000FAB30 48 22 18 11 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 800FDBD4 000FAB34 7C 70 1B 78 */ mr r16, r3 -lbl_800FDBD8: -/* 800FDBD8 000FAB38 80 7D 02 D4 */ lwz r3, 0x2d4(r29) -/* 800FDBDC 000FAB3C 28 03 00 00 */ cmplwi r3, 0 -/* 800FDBE0 000FAB40 41 82 00 18 */ beq lbl_800FDBF8 -/* 800FDBE4 000FAB44 81 83 00 00 */ lwz r12, 0(r3) -/* 800FDBE8 000FAB48 38 80 00 01 */ li r4, 1 -/* 800FDBEC 000FAB4C 81 8C 00 08 */ lwz r12, 8(r12) -/* 800FDBF0 000FAB50 7D 89 03 A6 */ mtctr r12 -/* 800FDBF4 000FAB54 4E 80 04 21 */ bctrl -lbl_800FDBF8: -/* 800FDBF8 000FAB58 7E 20 07 75 */ extsb. r0, r17 -/* 800FDBFC 000FAB5C 92 1D 02 D4 */ stw r16, 0x2d4(r29) -/* 800FDC00 000FAB60 41 82 00 10 */ beq lbl_800FDC10 -/* 800FDC04 000FAB64 38 61 00 1C */ addi r3, r1, 0x1c -/* 800FDC08 000FAB68 38 80 00 00 */ li r4, 0 -/* 800FDC0C 000FAB6C 48 24 32 35 */ bl __dt__6CTokenFv -lbl_800FDC10: -/* 800FDC10 000FAB70 80 7D 02 D4 */ lwz r3, 0x2d4(r29) -/* 800FDC14 000FAB74 7F E4 FB 78 */ mr r4, r31 -/* 800FDC18 000FAB78 81 83 00 00 */ lwz r12, 0(r3) -/* 800FDC1C 000FAB7C 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800FDC20 000FAB80 7D 89 03 A6 */ mtctr r12 -/* 800FDC24 000FAB84 4E 80 04 21 */ bctrl -/* 800FDC28 000FAB88 38 61 00 40 */ addi r3, r1, 0x40 -/* 800FDC2C 000FAB8C 38 80 00 00 */ li r4, 0 -/* 800FDC30 000FAB90 48 24 32 11 */ bl __dt__6CTokenFv -lbl_800FDC34: -/* 800FDC34 000FAB94 C0 02 96 A0 */ lfs f0, lbl_805AB3C0@sda21(r2) -/* 800FDC38 000FAB98 C0 5D 00 E8 */ lfs f2, 0xe8(r29) -/* 800FDC3C 000FAB9C FC 20 00 50 */ fneg f1, f0 -/* 800FDC40 000FABA0 C0 02 93 64 */ lfs f0, lbl_805AB084@sda21(r2) -/* 800FDC44 000FABA4 D0 1D 01 50 */ stfs f0, 0x150(r29) -/* 800FDC48 000FABA8 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 800FDC4C 000FABAC D0 1D 01 54 */ stfs f0, 0x154(r29) -/* 800FDC50 000FABB0 D0 3D 01 58 */ stfs f1, 0x158(r29) -/* 800FDC54 000FABB4 80 9D 00 90 */ lwz r4, 0x90(r29) -/* 800FDC58 000FABB8 28 04 00 00 */ cmplwi r4, 0 -/* 800FDC5C 000FABBC 41 82 00 14 */ beq lbl_800FDC70 -/* 800FDC60 000FABC0 88 04 02 98 */ lbz r0, 0x298(r4) -/* 800FDC64 000FABC4 38 60 00 01 */ li r3, 1 -/* 800FDC68 000FABC8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800FDC6C 000FABCC 98 04 02 98 */ stb r0, 0x298(r4) -lbl_800FDC70: -/* 800FDC70 000FABD0 7F A3 EB 78 */ mr r3, r29 -/* 800FDC74 000FABD4 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 800FDC78 000FABD8 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 800FDC7C 000FABDC E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 800FDC80 000FABE0 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 800FDC84 000FABE4 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 800FDC88 000FABE8 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 800FDC8C 000FABEC E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 800FDC90 000FABF0 CB 81 01 40 */ lfd f28, 0x140(r1) -/* 800FDC94 000FABF4 BA 01 01 00 */ lmw r16, 0x100(r1) -/* 800FDC98 000FABF8 80 01 01 84 */ lwz r0, 0x184(r1) -/* 800FDC9C 000FABFC 7C 08 03 A6 */ mtlr r0 -/* 800FDCA0 000FAC00 38 21 01 80 */ addi r1, r1, 0x180 -/* 800FDCA4 000FAC04 4E 80 00 20 */ blr - -.global debris_cone__FR13CStateManagerfff -debris_cone__FR13CStateManagerfff: -/* 800FDCA8 000FAC08 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800FDCAC 000FAC0C 7C 08 02 A6 */ mflr r0 -/* 800FDCB0 000FAC10 90 01 00 74 */ stw r0, 0x74(r1) -/* 800FDCB4 000FAC14 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 800FDCB8 000FAC18 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 800FDCBC 000FAC1C DB C1 00 50 */ stfd f30, 0x50(r1) -/* 800FDCC0 000FAC20 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 800FDCC4 000FAC24 DB A1 00 40 */ stfd f29, 0x40(r1) -/* 800FDCC8 000FAC28 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 800FDCCC 000FAC2C DB 81 00 30 */ stfd f28, 0x30(r1) -/* 800FDCD0 000FAC30 F3 81 00 38 */ psq_st f28, 56(r1), 0, qr0 -/* 800FDCD4 000FAC34 DB 61 00 20 */ stfd f27, 0x20(r1) -/* 800FDCD8 000FAC38 F3 61 00 28 */ psq_st f27, 40(r1), 0, qr0 -/* 800FDCDC 000FAC3C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800FDCE0 000FAC40 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800FDCE4 000FAC44 7C 9F 23 78 */ mr r31, r4 -/* 800FDCE8 000FAC48 FF A0 08 90 */ fmr f29, f1 -/* 800FDCEC 000FAC4C 7C 7E 1B 78 */ mr r30, r3 -/* 800FDCF0 000FAC50 FF 80 10 90 */ fmr f28, f2 -/* 800FDCF4 000FAC54 FF 60 18 90 */ fmr f27, f3 -/* 800FDCF8 000FAC58 80 64 09 00 */ lwz r3, 0x900(r4) -/* 800FDCFC 000FAC5C 48 21 47 E1 */ bl Float__9CRandom16Fv -/* 800FDD00 000FAC60 EC 5B E0 28 */ fsubs f2, f27, f28 -/* 800FDD04 000FAC64 C0 02 93 98 */ lfs f0, lbl_805AB0B8@sda21(r2) -/* 800FDD08 000FAC68 EF C2 E0 7A */ fmadds f30, f2, f1, f28 -/* 800FDD0C 000FAC6C EC 20 07 72 */ fmuls f1, f0, f29 -/* 800FDD10 000FAC70 48 21 70 35 */ bl FastCosR__5CMathFf -/* 800FDD14 000FAC74 FF E0 08 90 */ fmr f31, f1 -/* 800FDD18 000FAC78 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FDD1C 000FAC7C 48 21 47 C1 */ bl Float__9CRandom16Fv -/* 800FDD20 000FAC80 C0 42 93 60 */ lfs f2, lbl_805AB080@sda21(r2) -/* 800FDD24 000FAC84 38 81 00 08 */ addi r4, r1, 8 -/* 800FDD28 000FAC88 38 6D 89 18 */ addi r3, r13, lbl_805A74D8@sda21 -/* 800FDD2C 000FAC8C EC 02 F8 28 */ fsubs f0, f2, f31 -/* 800FDD30 000FAC90 EF A0 10 7C */ fnmsubs f29, f0, f1, f2 -/* 800FDD34 000FAC94 EC 1D 07 72 */ fmuls f0, f29, f29 -/* 800FDD38 000FAC98 EC 02 00 28 */ fsubs f0, f2, f0 -/* 800FDD3C 000FAC9C D0 01 00 08 */ stfs f0, 8(r1) -/* 800FDD40 000FACA0 4B F5 19 F1 */ bl "Max__5CMathFRCfRCf" -/* 800FDD44 000FACA4 C0 23 00 00 */ lfs f1, 0(r3) -/* 800FDD48 000FACA8 C0 02 93 64 */ lfs f0, lbl_805AB084@sda21(r2) -/* 800FDD4C 000FACAC FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 800FDD50 000FACB0 40 82 00 08 */ bne lbl_800FDD58 -/* 800FDD54 000FACB4 48 00 00 10 */ b lbl_800FDD64 -lbl_800FDD58: -/* 800FDD58 000FACB8 FC 00 08 34 */ frsqrte f0, f1 -/* 800FDD5C 000FACBC FC 01 00 32 */ fmul f0, f1, f0 -/* 800FDD60 000FACC0 FC 00 00 18 */ frsp f0, f0 -lbl_800FDD64: -/* 800FDD64 000FACC4 EF 9E 00 32 */ fmuls f28, f30, f0 -/* 800FDD68 000FACC8 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 800FDD6C 000FACCC 48 21 47 71 */ bl Float__9CRandom16Fv -/* 800FDD70 000FACD0 C0 02 93 9C */ lfs f0, lbl_805AB0BC@sda21(r2) -/* 800FDD74 000FACD4 EF 60 00 72 */ fmuls f27, f0, f1 -/* 800FDD78 000FACD8 FC 20 D8 90 */ fmr f1, f27 -/* 800FDD7C 000FACDC 48 21 70 75 */ bl FastSinR__5CMathFf -/* 800FDD80 000FACE0 EF FC 00 72 */ fmuls f31, f28, f1 -/* 800FDD84 000FACE4 FC 20 D8 90 */ fmr f1, f27 -/* 800FDD88 000FACE8 48 21 6F BD */ bl FastCosR__5CMathFf -/* 800FDD8C 000FACEC EC 3C 00 72 */ fmuls f1, f28, f1 -/* 800FDD90 000FACF0 EC 1E 07 72 */ fmuls f0, f30, f29 -/* 800FDD94 000FACF4 D0 3E 00 00 */ stfs f1, 0(r30) -/* 800FDD98 000FACF8 D3 FE 00 04 */ stfs f31, 4(r30) -/* 800FDD9C 000FACFC D0 1E 00 08 */ stfs f0, 8(r30) -/* 800FDDA0 000FAD00 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 800FDDA4 000FAD04 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 800FDDA8 000FAD08 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 800FDDAC 000FAD0C CB C1 00 50 */ lfd f30, 0x50(r1) -/* 800FDDB0 000FAD10 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 800FDDB4 000FAD14 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 800FDDB8 000FAD18 E3 81 00 38 */ psq_l f28, 56(r1), 0, qr0 -/* 800FDDBC 000FAD1C CB 81 00 30 */ lfd f28, 0x30(r1) -/* 800FDDC0 000FAD20 E3 61 00 28 */ psq_l f27, 40(r1), 0, qr0 -/* 800FDDC4 000FAD24 CB 61 00 20 */ lfd f27, 0x20(r1) -/* 800FDDC8 000FAD28 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800FDDCC 000FAD2C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800FDDD0 000FAD30 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800FDDD4 000FAD34 7C 08 03 A6 */ mtlr r0 -/* 800FDDD8 000FAD38 38 21 00 70 */ addi r1, r1, 0x70 -/* 800FDDDC 000FAD3C 4E 80 00 20 */ blr - -.global __dt__19CScriptCameraShakerFv -__dt__19CScriptCameraShakerFv: -/* 800FDDE0 000FAD40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FDDE4 000FAD44 7C 08 02 A6 */ mflr r0 -/* 800FDDE8 000FAD48 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FDDEC 000FAD4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FDDF0 000FAD50 7C 9F 23 78 */ mr r31, r4 -/* 800FDDF4 000FAD54 93 C1 00 08 */ stw r30, 8(r1) -/* 800FDDF8 000FAD58 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800FDDFC 000FAD5C 41 82 00 70 */ beq lbl_800FDE6C -/* 800FDE00 000FAD60 3C 60 80 3E */ lis r3, lbl_803DFE00@ha -/* 800FDE04 000FAD64 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 800FDE08 000FAD68 38 03 FE 00 */ addi r0, r3, lbl_803DFE00@l -/* 800FDE0C 000FAD6C 90 1E 00 00 */ stw r0, 0(r30) -/* 800FDE10 000FAD70 41 82 00 40 */ beq lbl_800FDE50 -/* 800FDE14 000FAD74 34 1E 00 B4 */ addic. r0, r30, 0xb4 -/* 800FDE18 000FAD78 41 82 00 10 */ beq lbl_800FDE28 -/* 800FDE1C 000FAD7C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 800FDE20 000FAD80 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 800FDE24 000FAD84 90 1E 00 B4 */ stw r0, 0xb4(r30) -lbl_800FDE28: -/* 800FDE28 000FAD88 34 1E 00 78 */ addic. r0, r30, 0x78 -/* 800FDE2C 000FAD8C 41 82 00 10 */ beq lbl_800FDE3C -/* 800FDE30 000FAD90 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 800FDE34 000FAD94 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 800FDE38 000FAD98 90 1E 00 78 */ stw r0, 0x78(r30) -lbl_800FDE3C: -/* 800FDE3C 000FAD9C 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 800FDE40 000FADA0 41 82 00 10 */ beq lbl_800FDE50 -/* 800FDE44 000FADA4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 800FDE48 000FADA8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 800FDE4C 000FADAC 90 1E 00 3C */ stw r0, 0x3c(r30) -lbl_800FDE50: -/* 800FDE50 000FADB0 7F C3 F3 78 */ mr r3, r30 -/* 800FDE54 000FADB4 38 80 00 00 */ li r4, 0 -/* 800FDE58 000FADB8 4B F5 34 1D */ bl __dt__7CEntityFv -/* 800FDE5C 000FADBC 7F E0 07 35 */ extsh. r0, r31 -/* 800FDE60 000FADC0 40 81 00 0C */ ble lbl_800FDE6C -/* 800FDE64 000FADC4 7F C3 F3 78 */ mr r3, r30 -/* 800FDE68 000FADC8 48 21 7A C9 */ bl Free__7CMemoryFPCv -lbl_800FDE6C: -/* 800FDE6C 000FADCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FDE70 000FADD0 7F C3 F3 78 */ mr r3, r30 -/* 800FDE74 000FADD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FDE78 000FADD8 83 C1 00 08 */ lwz r30, 8(r1) -/* 800FDE7C 000FADDC 7C 08 03 A6 */ mtlr r0 -/* 800FDE80 000FADE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FDE84 000FADE4 4E 80 00 20 */ blr - -.global Accept__19CScriptCameraShakerFR8IVisitor -Accept__19CScriptCameraShakerFR8IVisitor: -/* 800FDE88 000FADE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FDE8C 000FADEC 7C 08 02 A6 */ mflr r0 -/* 800FDE90 000FADF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FDE94 000FADF4 7C 60 1B 78 */ mr r0, r3 -/* 800FDE98 000FADF8 7C 83 23 78 */ mr r3, r4 -/* 800FDE9C 000FADFC 81 84 00 00 */ lwz r12, 0(r4) -/* 800FDEA0 000FAE00 7C 04 03 78 */ mr r4, r0 -/* 800FDEA4 000FAE04 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 800FDEA8 000FAE08 7D 89 03 A6 */ mtctr r12 -/* 800FDEAC 000FAE0C 4E 80 04 21 */ bctrl -/* 800FDEB0 000FAE10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FDEB4 000FAE14 7C 08 03 A6 */ mtlr r0 -/* 800FDEB8 000FAE18 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FDEBC 000FAE1C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__19CScriptCameraShakerF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__19CScriptCameraShakerF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800FDEC0 000FAE20 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 800FDEC4 000FAE24 7C 08 02 A6 */ mflr r0 -/* 800FDEC8 000FAE28 90 01 00 34 */ stw r0, 0x34(r1) -/* 800FDECC 000FAE2C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 800FDED0 000FAE30 7C DF 33 78 */ mr r31, r6 -/* 800FDED4 000FAE34 93 C1 00 28 */ stw r30, 0x28(r1) -/* 800FDED8 000FAE38 7C BE 2B 78 */ mr r30, r5 -/* 800FDEDC 000FAE3C 93 A1 00 24 */ stw r29, 0x24(r1) -/* 800FDEE0 000FAE40 7C 9D 23 78 */ mr r29, r4 -/* 800FDEE4 000FAE44 2C 1D 00 13 */ cmpwi r29, 0x13 -/* 800FDEE8 000FAE48 93 81 00 20 */ stw r28, 0x20(r1) -/* 800FDEEC 000FAE4C 7C 7C 1B 78 */ mr r28, r3 -/* 800FDEF0 000FAE50 41 82 00 14 */ beq lbl_800FDF04 -/* 800FDEF4 000FAE54 40 80 00 9C */ bge lbl_800FDF90 -/* 800FDEF8 000FAE58 2C 1D 00 04 */ cmpwi r29, 4 -/* 800FDEFC 000FAE5C 41 82 00 7C */ beq lbl_800FDF78 -/* 800FDF00 000FAE60 48 00 00 90 */ b lbl_800FDF90 -lbl_800FDF04: -/* 800FDF04 000FAE64 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800FDF08 000FAE68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FDF0C 000FAE6C 41 82 00 84 */ beq lbl_800FDF90 -/* 800FDF10 000FAE70 80 BC 00 04 */ lwz r5, 4(r28) -/* 800FDF14 000FAE74 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800FDF18 000FAE78 7C 05 00 00 */ cmpw r5, r0 -/* 800FDF1C 000FAE7C 41 82 00 74 */ beq lbl_800FDF90 -/* 800FDF20 000FAE80 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 800FDF24 000FAE84 54 A3 18 38 */ slwi r3, r5, 3 -/* 800FDF28 000FAE88 38 03 00 04 */ addi r0, r3, 4 -/* 800FDF2C 000FAE8C 90 A1 00 0C */ stw r5, 0xc(r1) -/* 800FDF30 000FAE90 80 64 00 20 */ lwz r3, 0x20(r4) -/* 800FDF34 000FAE94 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800FDF38 000FAE98 7C 63 00 2E */ lwzx r3, r3, r0 -/* 800FDF3C 000FAE9C 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 800FDF40 000FAEA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FDF44 000FAEA4 41 82 00 10 */ beq lbl_800FDF54 -/* 800FDF48 000FAEA8 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 800FDF4C 000FAEAC 80 03 10 DC */ lwz r0, 0x10dc(r3) -/* 800FDF50 000FAEB0 48 00 00 08 */ b lbl_800FDF58 -lbl_800FDF54: -/* 800FDF54 000FAEB4 38 00 00 00 */ li r0, 0 -lbl_800FDF58: -/* 800FDF58 000FAEB8 2C 00 00 00 */ cmpwi r0, 0 -/* 800FDF5C 000FAEBC 41 82 00 34 */ beq lbl_800FDF90 -/* 800FDF60 000FAEC0 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 800FDF64 000FAEC4 38 9C 00 34 */ addi r4, r28, 0x34 -/* 800FDF68 000FAEC8 38 A0 00 00 */ li r5, 0 -/* 800FDF6C 000FAECC 4B F0 CA B5 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab -/* 800FDF70 000FAED0 90 7C 00 F0 */ stw r3, 0xf0(r28) -/* 800FDF74 000FAED4 48 00 00 1C */ b lbl_800FDF90 -lbl_800FDF78: -/* 800FDF78 000FAED8 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800FDF7C 000FAEDC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FDF80 000FAEE0 41 82 00 10 */ beq lbl_800FDF90 -/* 800FDF84 000FAEE4 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 800FDF88 000FAEE8 80 9C 00 F0 */ lwz r4, 0xf0(r28) -/* 800FDF8C 000FAEEC 4B F0 CA 45 */ bl RemoveCameraShaker__14CCameraManagerFi -lbl_800FDF90: -/* 800FDF90 000FAEF0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800FDF94 000FAEF4 7F 83 E3 78 */ mr r3, r28 -/* 800FDF98 000FAEF8 7F A4 EB 78 */ mr r4, r29 -/* 800FDF9C 000FAEFC 7F E6 FB 78 */ mr r6, r31 -/* 800FDFA0 000FAF00 B0 01 00 08 */ sth r0, 8(r1) -/* 800FDFA4 000FAF04 38 A1 00 08 */ addi r5, r1, 8 -/* 800FDFA8 000FAF08 4B F5 31 B5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800FDFAC 000FAF0C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 800FDFB0 000FAF10 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 800FDFB4 000FAF14 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 800FDFB8 000FAF18 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 800FDFBC 000FAF1C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 800FDFC0 000FAF20 7C 08 03 A6 */ mtlr r0 -/* 800FDFC4 000FAF24 38 21 00 30 */ addi r1, r1, 0x30 -/* 800FDFC8 000FAF28 4E 80 00 20 */ blr - -.global "__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData" -"__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData": -/* 800FDFCC 000FAF2C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800FDFD0 000FAF30 7C 08 02 A6 */ mflr r0 -/* 800FDFD4 000FAF34 90 01 00 24 */ stw r0, 0x24(r1) -/* 800FDFD8 000FAF38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 800FDFDC 000FAF3C 7D 1F 43 78 */ mr r31, r8 -/* 800FDFE0 000FAF40 93 C1 00 18 */ stw r30, 0x18(r1) -/* 800FDFE4 000FAF44 7C 7E 1B 78 */ mr r30, r3 -/* 800FDFE8 000FAF48 A0 04 00 00 */ lhz r0, 0(r4) -/* 800FDFEC 000FAF4C 7C A4 2B 78 */ mr r4, r5 -/* 800FDFF0 000FAF50 7C C5 33 78 */ mr r5, r6 -/* 800FDFF4 000FAF54 7C E6 3B 78 */ mr r6, r7 -/* 800FDFF8 000FAF58 B0 01 00 08 */ sth r0, 8(r1) -/* 800FDFFC 000FAF5C 7C 87 23 78 */ mr r7, r4 -/* 800FE000 000FAF60 38 81 00 08 */ addi r4, r1, 8 -/* 800FE004 000FAF64 4B F5 33 21 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800FE008 000FAF68 3C 60 80 3E */ lis r3, lbl_803DFE00@ha -/* 800FE00C 000FAF6C 7F E4 FB 78 */ mr r4, r31 -/* 800FE010 000FAF70 38 03 FE 00 */ addi r0, r3, lbl_803DFE00@l -/* 800FE014 000FAF74 38 7E 00 34 */ addi r3, r30, 0x34 -/* 800FE018 000FAF78 90 1E 00 00 */ stw r0, 0(r30) -/* 800FE01C 000FAF7C 4B F0 CD 8D */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData -/* 800FE020 000FAF80 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800FE024 000FAF84 7F C3 F3 78 */ mr r3, r30 -/* 800FE028 000FAF88 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 800FE02C 000FAF8C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 800FE030 000FAF90 7C 08 03 A6 */ mtlr r0 -/* 800FE034 000FAF94 38 21 00 20 */ addi r1, r1, 0x20 - -.global sub_800fe038 -sub_800fe038: -/* 800FE038 000FAF98 4E 80 00 20 */ blr - -.global __dt__20CScriptActorKeyframeFv -__dt__20CScriptActorKeyframeFv: -/* 800FE03C 000FAF9C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FE040 000FAFA0 7C 08 02 A6 */ mflr r0 -/* 800FE044 000FAFA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FE048 000FAFA8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FE04C 000FAFAC 7C 9F 23 78 */ mr r31, r4 -/* 800FE050 000FAFB0 93 C1 00 08 */ stw r30, 8(r1) -/* 800FE054 000FAFB4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800FE058 000FAFB8 41 82 00 28 */ beq lbl_800FE080 -/* 800FE05C 000FAFBC 3C A0 80 3E */ lis r5, lbl_803DFE20@ha -/* 800FE060 000FAFC0 38 80 00 00 */ li r4, 0 -/* 800FE064 000FAFC4 38 05 FE 20 */ addi r0, r5, lbl_803DFE20@l -/* 800FE068 000FAFC8 90 1E 00 00 */ stw r0, 0(r30) -/* 800FE06C 000FAFCC 4B F5 32 09 */ bl __dt__7CEntityFv -/* 800FE070 000FAFD0 7F E0 07 35 */ extsh. r0, r31 -/* 800FE074 000FAFD4 40 81 00 0C */ ble lbl_800FE080 -/* 800FE078 000FAFD8 7F C3 F3 78 */ mr r3, r30 -/* 800FE07C 000FAFDC 48 21 78 B5 */ bl Free__7CMemoryFPCv -lbl_800FE080: -/* 800FE080 000FAFE0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FE084 000FAFE4 7F C3 F3 78 */ mr r3, r30 -/* 800FE088 000FAFE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FE08C 000FAFEC 83 C1 00 08 */ lwz r30, 8(r1) -/* 800FE090 000FAFF0 7C 08 03 A6 */ mtlr r0 -/* 800FE094 000FAFF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FE098 000FAFF8 4E 80 00 20 */ blr - -.global Think__20CScriptActorKeyframeFfR13CStateManager -Think__20CScriptActorKeyframeFfR13CStateManager: -/* 800FE09C 000FAFFC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800FE0A0 000FB000 7C 08 02 A6 */ mflr r0 -/* 800FE0A4 000FB004 90 01 00 64 */ stw r0, 0x64(r1) -/* 800FE0A8 000FB008 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 800FE0AC 000FB00C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 800FE0B0 000FB010 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 800FE0B4 000FB014 7C 7D 1B 78 */ mr r29, r3 -/* 800FE0B8 000FB018 88 63 00 44 */ lbz r3, 0x44(r3) -/* 800FE0BC 000FB01C FF E0 08 90 */ fmr f31, f1 -/* 800FE0C0 000FB020 7C 9E 23 78 */ mr r30, r4 -/* 800FE0C4 000FB024 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 800FE0C8 000FB028 40 82 01 EC */ bne lbl_800FE2B4 -/* 800FE0CC 000FB02C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 800FE0D0 000FB030 41 82 01 E4 */ beq lbl_800FE2B4 -/* 800FE0D4 000FB034 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 800FE0D8 000FB038 41 82 01 DC */ beq lbl_800FE2B4 -/* 800FE0DC 000FB03C 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 800FE0E0 000FB040 41 82 01 D4 */ beq lbl_800FE2B4 -/* 800FE0E4 000FB044 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800FE0E8 000FB048 C0 22 93 A0 */ lfs f1, lbl_805AB0C0@sda21(r2) -/* 800FE0EC 000FB04C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800FE0F0 000FB050 40 81 01 C4 */ ble lbl_800FE2B4 -/* 800FE0F4 000FB054 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 800FE0F8 000FB058 D0 1D 00 40 */ stfs f0, 0x40(r29) -/* 800FE0FC 000FB05C C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 800FE100 000FB060 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800FE104 000FB064 4C 40 13 82 */ cror 2, 0, 2 -/* 800FE108 000FB068 40 82 01 AC */ bne lbl_800FE2B4 -/* 800FE10C 000FB06C 88 1D 00 44 */ lbz r0, 0x44(r29) -/* 800FE110 000FB070 38 60 00 00 */ li r3, 0 -/* 800FE114 000FB074 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800FE118 000FB078 98 1D 00 44 */ stb r0, 0x44(r29) -/* 800FE11C 000FB07C 83 FD 00 2C */ lwz r31, 0x2c(r29) -/* 800FE120 000FB080 48 00 01 7C */ b lbl_800FE29C -lbl_800FE124: -/* 800FE124 000FB084 80 1F 00 00 */ lwz r0, 0(r31) -/* 800FE128 000FB088 2C 00 00 12 */ cmpwi r0, 0x12 -/* 800FE12C 000FB08C 40 82 01 6C */ bne lbl_800FE298 -/* 800FE130 000FB090 80 1F 00 04 */ lwz r0, 4(r31) -/* 800FE134 000FB094 2C 00 00 14 */ cmpwi r0, 0x14 -/* 800FE138 000FB098 40 82 01 60 */ bne lbl_800FE298 -/* 800FE13C 000FB09C 80 1F 00 08 */ lwz r0, 8(r31) -/* 800FE140 000FB0A0 7F C4 F3 78 */ mr r4, r30 -/* 800FE144 000FB0A4 38 61 00 0C */ addi r3, r1, 0xc -/* 800FE148 000FB0A8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800FE14C 000FB0AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FE150 000FB0B0 4B F4 9D CD */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 800FE154 000FB0B4 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 800FE158 000FB0B8 7F C3 F3 78 */ mr r3, r30 -/* 800FE15C 000FB0BC 38 81 00 08 */ addi r4, r1, 8 -/* 800FE160 000FB0C0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800FE164 000FB0C4 B0 01 00 08 */ sth r0, 8(r1) -/* 800FE168 000FB0C8 4B F4 E4 0D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800FE16C 000FB0CC 7C 60 1B 78 */ mr r0, r3 -/* 800FE170 000FB0D0 38 61 00 28 */ addi r3, r1, 0x28 -/* 800FE174 000FB0D4 7C 1B 03 78 */ mr r27, r0 -/* 800FE178 000FB0D8 7F 64 DB 78 */ mr r4, r27 -/* 800FE17C 000FB0DC 4B FA DB F1 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" -/* 800FE180 000FB0E0 83 83 00 04 */ lwz r28, 4(r3) -/* 800FE184 000FB0E4 28 1C 00 00 */ cmplwi r28, 0 -/* 800FE188 000FB0E8 41 82 00 78 */ beq lbl_800FE200 -/* 800FE18C 000FB0EC 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 800FE190 000FB0F0 38 60 00 00 */ li r3, 0 -/* 800FE194 000FB0F4 28 04 00 00 */ cmplwi r4, 0 -/* 800FE198 000FB0F8 41 82 00 14 */ beq lbl_800FE1AC -/* 800FE19C 000FB0FC 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800FE1A0 000FB100 28 00 00 00 */ cmplwi r0, 0 -/* 800FE1A4 000FB104 41 82 00 08 */ beq lbl_800FE1AC -/* 800FE1A8 000FB108 38 60 00 01 */ li r3, 1 -lbl_800FE1AC: -/* 800FE1AC 000FB10C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FE1B0 000FB110 41 82 00 E8 */ beq lbl_800FE298 -/* 800FE1B4 000FB114 80 64 00 10 */ lwz r3, 0x10(r4) -/* 800FE1B8 000FB118 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 800FE1BC 000FB11C 4B F2 BD E1 */ bl IsAdditiveAnimation__9CAnimDataCFUi -/* 800FE1C0 000FB120 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FE1C4 000FB124 41 82 00 18 */ beq lbl_800FE1DC -/* 800FE1C8 000FB128 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 800FE1CC 000FB12C 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 800FE1D0 000FB130 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FE1D4 000FB134 4B F2 BF 85 */ bl DelAdditiveAnimation__9CAnimDataFUi -/* 800FE1D8 000FB138 48 00 00 C0 */ b lbl_800FE298 -lbl_800FE1DC: -/* 800FE1DC 000FB13C 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 800FE1E0 000FB140 80 BD 00 34 */ lwz r5, 0x34(r29) -/* 800FE1E4 000FB144 80 83 00 10 */ lwz r4, 0x10(r3) -/* 800FE1E8 000FB148 A8 04 02 08 */ lha r0, 0x208(r4) -/* 800FE1EC 000FB14C 7C 05 00 00 */ cmpw r5, r0 -/* 800FE1F0 000FB150 40 82 00 A8 */ bne lbl_800FE298 -/* 800FE1F4 000FB154 38 80 00 00 */ li r4, 0 -/* 800FE1F8 000FB158 48 01 73 69 */ bl EnableLooping__10CModelDataFb -/* 800FE1FC 000FB15C 48 00 00 9C */ b lbl_800FE298 -lbl_800FE200: -/* 800FE200 000FB160 7F 64 DB 78 */ mr r4, r27 -/* 800FE204 000FB164 38 61 00 20 */ addi r3, r1, 0x20 -/* 800FE208 000FB168 4B FA E8 55 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 800FE20C 000FB16C 83 83 00 04 */ lwz r28, 4(r3) -/* 800FE210 000FB170 28 1C 00 00 */ cmplwi r28, 0 -/* 800FE214 000FB174 41 82 00 84 */ beq lbl_800FE298 -/* 800FE218 000FB178 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 800FE21C 000FB17C 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 800FE220 000FB180 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FE224 000FB184 4B F2 BD 79 */ bl IsAdditiveAnimation__9CAnimDataCFUi -/* 800FE228 000FB188 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FE22C 000FB18C 41 82 00 18 */ beq lbl_800FE244 -/* 800FE230 000FB190 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 800FE234 000FB194 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 800FE238 000FB198 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FE23C 000FB19C 4B F2 BF 1D */ bl DelAdditiveAnimation__9CAnimDataFUi -/* 800FE240 000FB1A0 48 00 00 58 */ b lbl_800FE298 -lbl_800FE244: -/* 800FE244 000FB1A4 80 DC 04 50 */ lwz r6, 0x450(r28) -/* 800FE248 000FB1A8 80 06 02 B8 */ lwz r0, 0x2b8(r6) -/* 800FE24C 000FB1AC 2C 00 00 11 */ cmpwi r0, 0x11 -/* 800FE250 000FB1B0 40 82 00 48 */ bne lbl_800FE298 -/* 800FE254 000FB1B4 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 800FE258 000FB1B8 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 800FE25C 000FB1BC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FE260 000FB1C0 A8 03 02 08 */ lha r0, 0x208(r3) -/* 800FE264 000FB1C4 7C 04 00 00 */ cmpw r4, r0 -/* 800FE268 000FB1C8 40 82 00 30 */ bne lbl_800FE298 -/* 800FE26C 000FB1CC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 800FE270 000FB1D0 38 00 00 0A */ li r0, 0xa -/* 800FE274 000FB1D4 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 800FE278 000FB1D8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 800FE27C 000FB1DC 38 66 00 04 */ addi r3, r6, 4 -/* 800FE280 000FB1E0 38 81 00 18 */ addi r4, r1, 0x18 -/* 800FE284 000FB1E4 90 A1 00 18 */ stw r5, 0x18(r1) -/* 800FE288 000FB1E8 48 03 35 31 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 800FE28C 000FB1EC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 800FE290 000FB1F0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 800FE294 000FB1F4 90 01 00 18 */ stw r0, 0x18(r1) -lbl_800FE298: -/* 800FE298 000FB1F8 3B FF 00 0C */ addi r31, r31, 0xc -lbl_800FE29C: -/* 800FE29C 000FB1FC 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 800FE2A0 000FB200 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 800FE2A4 000FB204 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800FE2A8 000FB208 7C 03 02 14 */ add r0, r3, r0 -/* 800FE2AC 000FB20C 7C 1F 00 40 */ cmplw r31, r0 -/* 800FE2B0 000FB210 40 82 FE 74 */ bne lbl_800FE124 -lbl_800FE2B4: -/* 800FE2B4 000FB214 FC 20 F8 90 */ fmr f1, f31 -/* 800FE2B8 000FB218 7F A3 EB 78 */ mr r3, r29 -/* 800FE2BC 000FB21C 7F C4 F3 78 */ mr r4, r30 -/* 800FE2C0 000FB220 4B F5 2D F9 */ bl Think__7CEntityFfR13CStateManager -/* 800FE2C4 000FB224 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 800FE2C8 000FB228 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 800FE2CC 000FB22C BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 800FE2D0 000FB230 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800FE2D4 000FB234 7C 08 03 A6 */ mtlr r0 -/* 800FE2D8 000FB238 38 21 00 60 */ addi r1, r1, 0x60 -/* 800FE2DC 000FB23C 4E 80 00 20 */ blr - -.global UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager -UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager: -/* 800FE2E0 000FB240 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800FE2E4 000FB244 7C 08 02 A6 */ mflr r0 -/* 800FE2E8 000FB248 90 01 00 84 */ stw r0, 0x84(r1) -/* 800FE2EC 000FB24C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 800FE2F0 000FB250 93 C1 00 78 */ stw r30, 0x78(r1) -/* 800FE2F4 000FB254 7C 7E 1B 78 */ mr r30, r3 -/* 800FE2F8 000FB258 93 A1 00 74 */ stw r29, 0x74(r1) -/* 800FE2FC 000FB25C 93 81 00 70 */ stw r28, 0x70(r1) -/* 800FE300 000FB260 7C BC 2B 78 */ mr r28, r5 -/* 800FE304 000FB264 7F 83 E3 78 */ mr r3, r28 -/* 800FE308 000FB268 A0 04 00 00 */ lhz r0, 0(r4) -/* 800FE30C 000FB26C 38 81 00 10 */ addi r4, r1, 0x10 -/* 800FE310 000FB270 B0 01 00 10 */ sth r0, 0x10(r1) -/* 800FE314 000FB274 4B F4 E2 61 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 800FE318 000FB278 7C 60 1B 78 */ mr r0, r3 -/* 800FE31C 000FB27C 38 61 00 2C */ addi r3, r1, 0x2c -/* 800FE320 000FB280 7C 1D 03 78 */ mr r29, r0 -/* 800FE324 000FB284 7F A4 EB 78 */ mr r4, r29 -/* 800FE328 000FB288 4B FA DA 45 */ bl "__ct__26TCastToPtr<12CScriptActor>FP7CEntity" -/* 800FE32C 000FB28C 83 E3 00 04 */ lwz r31, 4(r3) -/* 800FE330 000FB290 28 1F 00 00 */ cmplwi r31, 0 -/* 800FE334 000FB294 40 82 00 14 */ bne lbl_800FE348 -/* 800FE338 000FB298 7F A4 EB 78 */ mr r4, r29 -/* 800FE33C 000FB29C 38 61 00 24 */ addi r3, r1, 0x24 -/* 800FE340 000FB2A0 4B FA AA D5 */ bl "__ct__29TCastToPtr<15CScriptPlatform>FP7CEntity" -/* 800FE344 000FB2A4 83 E3 00 04 */ lwz r31, 4(r3) -lbl_800FE348: -/* 800FE348 000FB2A8 28 1F 00 00 */ cmplwi r31, 0 -/* 800FE34C 000FB2AC 41 82 01 50 */ beq lbl_800FE49C -/* 800FE350 000FB2B0 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 800FE354 000FB2B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FE358 000FB2B8 40 82 00 24 */ bne lbl_800FE37C -/* 800FE35C 000FB2BC A0 1E 00 08 */ lhz r0, 8(r30) -/* 800FE360 000FB2C0 7F 83 E3 78 */ mr r3, r28 -/* 800FE364 000FB2C4 7F E4 FB 78 */ mr r4, r31 -/* 800FE368 000FB2C8 38 A1 00 0C */ addi r5, r1, 0xc -/* 800FE36C 000FB2CC B0 01 00 08 */ sth r0, 8(r1) -/* 800FE370 000FB2D0 38 C0 00 01 */ li r6, 1 -/* 800FE374 000FB2D4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800FE378 000FB2D8 4B F4 5B 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_800FE37C: -/* 800FE37C 000FB2DC C0 22 93 A4 */ lfs f1, lbl_805AB0C4@sda21(r2) -/* 800FE380 000FB2E0 38 80 00 00 */ li r4, 0 -/* 800FE384 000FB2E4 38 00 00 03 */ li r0, 3 -/* 800FE388 000FB2E8 98 81 00 1C */ stb r4, 0x1c(r1) -/* 800FE38C 000FB2EC FC 40 08 90 */ fmr f2, f1 -/* 800FE390 000FB2F0 38 61 00 20 */ addi r3, r1, 0x20 -/* 800FE394 000FB2F4 FC 60 08 90 */ fmr f3, f1 -/* 800FE398 000FB2F8 98 81 00 1D */ stb r4, 0x1d(r1) -/* 800FE39C 000FB2FC FC 80 08 90 */ fmr f4, f1 -/* 800FE3A0 000FB300 B0 01 00 1E */ sth r0, 0x1e(r1) -/* 800FE3A4 000FB304 48 26 50 49 */ bl __ct__6CColorFffff -/* 800FE3A8 000FB308 88 01 00 1C */ lbz r0, 0x1c(r1) -/* 800FE3AC 000FB30C 38 60 00 00 */ li r3, 0 -/* 800FE3B0 000FB310 98 1F 00 B4 */ stb r0, 0xb4(r31) -/* 800FE3B4 000FB314 88 01 00 1D */ lbz r0, 0x1d(r1) -/* 800FE3B8 000FB318 98 1F 00 B5 */ stb r0, 0xb5(r31) -/* 800FE3BC 000FB31C A0 01 00 1E */ lhz r0, 0x1e(r1) -/* 800FE3C0 000FB320 B0 1F 00 B6 */ sth r0, 0xb6(r31) -/* 800FE3C4 000FB324 80 01 00 20 */ lwz r0, 0x20(r1) -/* 800FE3C8 000FB328 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 800FE3CC 000FB32C 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 800FE3D0 000FB330 28 04 00 00 */ cmplwi r4, 0 -/* 800FE3D4 000FB334 41 82 00 14 */ beq lbl_800FE3E8 -/* 800FE3D8 000FB338 80 04 00 10 */ lwz r0, 0x10(r4) -/* 800FE3DC 000FB33C 28 00 00 00 */ cmplwi r0, 0 -/* 800FE3E0 000FB340 41 82 00 08 */ beq lbl_800FE3E8 -/* 800FE3E4 000FB344 38 60 00 01 */ li r3, 1 -lbl_800FE3E8: -/* 800FE3E8 000FB348 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FE3EC 000FB34C 41 82 01 9C */ beq lbl_800FE588 -/* 800FE3F0 000FB350 80 64 00 10 */ lwz r3, 0x10(r4) -/* 800FE3F4 000FB354 80 9E 00 34 */ lwz r4, 0x34(r30) -/* 800FE3F8 000FB358 4B F2 BB A5 */ bl IsAdditiveAnimation__9CAnimDataCFUi -/* 800FE3FC 000FB35C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FE400 000FB360 41 82 00 28 */ beq lbl_800FE428 -/* 800FE404 000FB364 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800FE408 000FB368 88 1E 00 44 */ lbz r0, 0x44(r30) -/* 800FE40C 000FB36C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FE410 000FB370 80 9E 00 34 */ lwz r4, 0x34(r30) -/* 800FE414 000FB374 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f -/* 800FE418 000FB378 C0 22 93 A4 */ lfs f1, lbl_805AB0C4@sda21(r2) -/* 800FE41C 000FB37C 54 06 DF FE */ rlwinm r6, r0, 0x1b, 0x1f, 0x1f -/* 800FE420 000FB380 4B F2 BD B1 */ bl AddAdditiveAnimation__9CAnimDataFUifbb -/* 800FE424 000FB384 48 00 01 64 */ b lbl_800FE588 -lbl_800FE428: -/* 800FE428 000FB388 80 9E 00 34 */ lwz r4, 0x34(r30) -/* 800FE42C 000FB38C 38 00 00 00 */ li r0, 0 -/* 800FE430 000FB390 C0 02 93 A4 */ lfs f0, lbl_805AB0C4@sda21(r2) -/* 800FE434 000FB394 38 C0 FF FF */ li r6, -1 -/* 800FE438 000FB398 38 60 00 01 */ li r3, 1 -/* 800FE43C 000FB39C 90 81 00 48 */ stw r4, 0x48(r1) -/* 800FE440 000FB3A0 38 81 00 48 */ addi r4, r1, 0x48 -/* 800FE444 000FB3A4 38 A0 00 00 */ li r5, 0 -/* 800FE448 000FB3A8 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 800FE44C 000FB3AC D0 01 00 50 */ stfs f0, 0x50(r1) -/* 800FE450 000FB3B0 98 61 00 54 */ stb r3, 0x54(r1) -/* 800FE454 000FB3B4 90 01 00 58 */ stw r0, 0x58(r1) -/* 800FE458 000FB3B8 90 01 00 5C */ stw r0, 0x5c(r1) -/* 800FE45C 000FB3BC 98 01 00 60 */ stb r0, 0x60(r1) -/* 800FE460 000FB3C0 90 01 00 64 */ stw r0, 0x64(r1) -/* 800FE464 000FB3C4 90 01 00 68 */ stw r0, 0x68(r1) -/* 800FE468 000FB3C8 90 01 00 6C */ stw r0, 0x6c(r1) -/* 800FE46C 000FB3CC 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800FE470 000FB3D0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FE474 000FB3D4 4B F2 E9 09 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 800FE478 000FB3D8 88 1E 00 44 */ lbz r0, 0x44(r30) -/* 800FE47C 000FB3DC 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800FE480 000FB3E0 54 04 CF FE */ rlwinm r4, r0, 0x19, 0x1f, 0x1f -/* 800FE484 000FB3E4 48 01 70 DD */ bl EnableLooping__10CModelDataFb -/* 800FE488 000FB3E8 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800FE48C 000FB3EC C0 3E 00 3C */ lfs f1, 0x3c(r30) -/* 800FE490 000FB3F0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FE494 000FB3F4 4B F2 CF C5 */ bl MultiplyPlaybackRate__9CAnimDataFf -/* 800FE498 000FB3F8 48 00 00 F0 */ b lbl_800FE588 -lbl_800FE49C: -/* 800FE49C 000FB3FC 7F A4 EB 78 */ mr r4, r29 -/* 800FE4A0 000FB400 38 61 00 14 */ addi r3, r1, 0x14 -/* 800FE4A4 000FB404 4B FA E5 B9 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 800FE4A8 000FB408 83 E3 00 04 */ lwz r31, 4(r3) -/* 800FE4AC 000FB40C 28 1F 00 00 */ cmplwi r31, 0 -/* 800FE4B0 000FB410 41 82 00 D8 */ beq lbl_800FE588 -/* 800FE4B4 000FB414 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800FE4B8 000FB418 80 9E 00 34 */ lwz r4, 0x34(r30) -/* 800FE4BC 000FB41C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FE4C0 000FB420 4B F2 BA DD */ bl IsAdditiveAnimation__9CAnimDataCFUi -/* 800FE4C4 000FB424 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FE4C8 000FB428 41 82 00 28 */ beq lbl_800FE4F0 -/* 800FE4CC 000FB42C 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 800FE4D0 000FB430 88 1E 00 44 */ lbz r0, 0x44(r30) -/* 800FE4D4 000FB434 80 63 00 10 */ lwz r3, 0x10(r3) -/* 800FE4D8 000FB438 80 9E 00 34 */ lwz r4, 0x34(r30) -/* 800FE4DC 000FB43C 54 05 CF FE */ rlwinm r5, r0, 0x19, 0x1f, 0x1f -/* 800FE4E0 000FB440 C0 22 93 A4 */ lfs f1, lbl_805AB0C4@sda21(r2) -/* 800FE4E4 000FB444 54 06 DF FE */ rlwinm r6, r0, 0x1b, 0x1f, 0x1f -/* 800FE4E8 000FB448 4B F2 BC E9 */ bl AddAdditiveAnimation__9CAnimDataFUifbb -/* 800FE4EC 000FB44C 48 00 00 9C */ b lbl_800FE588 -lbl_800FE4F0: -/* 800FE4F0 000FB450 88 DE 00 44 */ lbz r6, 0x44(r30) -/* 800FE4F4 000FB454 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 800FE4F8 000FB458 88 01 00 40 */ lbz r0, 0x40(r1) -/* 800FE4FC 000FB45C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 800FE500 000FB460 50 C0 06 30 */ rlwimi r0, r6, 0, 0x18, 0x18 -/* 800FE504 000FB464 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 800FE508 000FB468 81 1E 00 34 */ lwz r8, 0x34(r30) -/* 800FE50C 000FB46C 3C 60 80 3E */ lis r3, lbl_803DFE40@ha -/* 800FE510 000FB470 80 FF 04 50 */ lwz r7, 0x450(r31) -/* 800FE514 000FB474 38 80 00 13 */ li r4, 0x13 -/* 800FE518 000FB478 90 A1 00 34 */ stw r5, 0x34(r1) -/* 800FE51C 000FB47C 38 A3 FE 40 */ addi r5, r3, lbl_803DFE40@l -/* 800FE520 000FB480 3B C7 00 04 */ addi r30, r7, 4 -/* 800FE524 000FB484 98 01 00 40 */ stb r0, 0x40(r1) -/* 800FE528 000FB488 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 800FE52C 000FB48C 50 C0 16 72 */ rlwimi r0, r6, 2, 0x19, 0x19 -/* 800FE530 000FB490 7F C3 F3 78 */ mr r3, r30 -/* 800FE534 000FB494 90 81 00 38 */ stw r4, 0x38(r1) -/* 800FE538 000FB498 38 80 00 13 */ li r4, 0x13 -/* 800FE53C 000FB49C 90 A1 00 34 */ stw r5, 0x34(r1) -/* 800FE540 000FB4A0 91 01 00 3C */ stw r8, 0x3c(r1) -/* 800FE544 000FB4A4 98 01 00 40 */ stb r0, 0x40(r1) -/* 800FE548 000FB4A8 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800FE54C 000FB4AC 48 03 2E ED */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 800FE550 000FB4B0 80 01 00 38 */ lwz r0, 0x38(r1) -/* 800FE554 000FB4B4 3C 60 80 3E */ lis r3, lbl_803DFE40@ha -/* 800FE558 000FB4B8 38 83 FE 40 */ addi r4, r3, lbl_803DFE40@l -/* 800FE55C 000FB4BC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 800FE560 000FB4C0 90 1E 02 20 */ stw r0, 0x220(r30) -/* 800FE564 000FB4C4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 800FE568 000FB4C8 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 800FE56C 000FB4CC 88 61 00 40 */ lbz r3, 0x40(r1) -/* 800FE570 000FB4D0 90 BE 02 24 */ stw r5, 0x224(r30) -/* 800FE574 000FB4D4 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 800FE578 000FB4D8 98 7E 02 28 */ stb r3, 0x228(r30) -/* 800FE57C 000FB4DC 90 81 00 34 */ stw r4, 0x34(r1) -/* 800FE580 000FB4E0 D0 1E 02 2C */ stfs f0, 0x22c(r30) -/* 800FE584 000FB4E4 90 01 00 34 */ stw r0, 0x34(r1) -lbl_800FE588: -/* 800FE588 000FB4E8 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800FE58C 000FB4EC 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 800FE590 000FB4F0 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 800FE594 000FB4F4 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 800FE598 000FB4F8 83 81 00 70 */ lwz r28, 0x70(r1) -/* 800FE59C 000FB4FC 7C 08 03 A6 */ mtlr r0 -/* 800FE5A0 000FB500 38 21 00 80 */ addi r1, r1, 0x80 -/* 800FE5A4 000FB504 4E 80 00 20 */ blr - -.global __dt__14CBCScriptedCmdFv -__dt__14CBCScriptedCmdFv: -/* 800FE5A8 000FB508 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FE5AC 000FB50C 7C 08 02 A6 */ mflr r0 -/* 800FE5B0 000FB510 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FE5B4 000FB514 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FE5B8 000FB518 7C 7F 1B 79 */ or. r31, r3, r3 -/* 800FE5BC 000FB51C 41 82 00 30 */ beq lbl_800FE5EC -/* 800FE5C0 000FB520 3C 60 80 3E */ lis r3, lbl_803DFE40@ha -/* 800FE5C4 000FB524 38 03 FE 40 */ addi r0, r3, lbl_803DFE40@l -/* 800FE5C8 000FB528 90 1F 00 00 */ stw r0, 0(r31) -/* 800FE5CC 000FB52C 41 82 00 10 */ beq lbl_800FE5DC -/* 800FE5D0 000FB530 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 800FE5D4 000FB534 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 800FE5D8 000FB538 90 1F 00 00 */ stw r0, 0(r31) -lbl_800FE5DC: -/* 800FE5DC 000FB53C 7C 80 07 35 */ extsh. r0, r4 -/* 800FE5E0 000FB540 40 81 00 0C */ ble lbl_800FE5EC -/* 800FE5E4 000FB544 7F E3 FB 78 */ mr r3, r31 -/* 800FE5E8 000FB548 48 21 73 49 */ bl Free__7CMemoryFPCv -lbl_800FE5EC: -/* 800FE5EC 000FB54C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FE5F0 000FB550 7F E3 FB 78 */ mr r3, r31 -/* 800FE5F4 000FB554 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FE5F8 000FB558 7C 08 03 A6 */ mtlr r0 -/* 800FE5FC 000FB55C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FE600 000FB560 4E 80 00 20 */ blr - -.global Accept__20CScriptActorKeyframeFR8IVisitor -Accept__20CScriptActorKeyframeFR8IVisitor: -/* 800FE604 000FB564 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FE608 000FB568 7C 08 02 A6 */ mflr r0 -/* 800FE60C 000FB56C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FE610 000FB570 7C 60 1B 78 */ mr r0, r3 -/* 800FE614 000FB574 7C 83 23 78 */ mr r3, r4 -/* 800FE618 000FB578 81 84 00 00 */ lwz r12, 0(r4) -/* 800FE61C 000FB57C 7C 04 03 78 */ mr r4, r0 -/* 800FE620 000FB580 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 800FE624 000FB584 7D 89 03 A6 */ mtctr r12 -/* 800FE628 000FB588 4E 80 04 21 */ bctrl -/* 800FE62C 000FB58C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FE630 000FB590 7C 08 03 A6 */ mtlr r0 -/* 800FE634 000FB594 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FE638 000FB598 4E 80 00 20 */ blr - -.global AcceptScriptMsg__20CScriptActorKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__20CScriptActorKeyframeF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 800FE63C 000FB59C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800FE640 000FB5A0 7C 08 02 A6 */ mflr r0 -/* 800FE644 000FB5A4 90 01 00 54 */ stw r0, 0x54(r1) -/* 800FE648 000FB5A8 BE E1 00 2C */ stmw r23, 0x2c(r1) -/* 800FE64C 000FB5AC 7C 9D 23 78 */ mr r29, r4 -/* 800FE650 000FB5B0 2C 1D 00 23 */ cmpwi r29, 0x23 -/* 800FE654 000FB5B4 7C 7C 1B 78 */ mr r28, r3 -/* 800FE658 000FB5B8 7C BE 2B 78 */ mr r30, r5 -/* 800FE65C 000FB5BC 7C DF 33 78 */ mr r31, r6 -/* 800FE660 000FB5C0 41 82 01 0C */ beq lbl_800FE76C -/* 800FE664 000FB5C4 40 80 01 1C */ bge lbl_800FE780 -/* 800FE668 000FB5C8 2C 1D 00 13 */ cmpwi r29, 0x13 -/* 800FE66C 000FB5CC 41 82 00 08 */ beq lbl_800FE674 -/* 800FE670 000FB5D0 48 00 01 10 */ b lbl_800FE780 -lbl_800FE674: -/* 800FE674 000FB5D4 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 800FE678 000FB5D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FE67C 000FB5DC 41 82 01 04 */ beq lbl_800FE780 -/* 800FE680 000FB5E0 88 1C 00 44 */ lbz r0, 0x44(r28) -/* 800FE684 000FB5E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 800FE688 000FB5E8 40 82 00 B4 */ bne lbl_800FE73C -/* 800FE68C 000FB5EC 83 7C 00 2C */ lwz r27, 0x2c(r28) -/* 800FE690 000FB5F0 48 00 00 94 */ b lbl_800FE724 -lbl_800FE694: -/* 800FE694 000FB5F4 80 1B 00 00 */ lwz r0, 0(r27) -/* 800FE698 000FB5F8 2C 00 00 12 */ cmpwi r0, 0x12 -/* 800FE69C 000FB5FC 40 82 00 84 */ bne lbl_800FE720 -/* 800FE6A0 000FB600 80 1B 00 04 */ lwz r0, 4(r27) -/* 800FE6A4 000FB604 2C 00 00 14 */ cmpwi r0, 0x14 -/* 800FE6A8 000FB608 40 82 00 78 */ bne lbl_800FE720 -/* 800FE6AC 000FB60C 80 1B 00 08 */ lwz r0, 8(r27) -/* 800FE6B0 000FB610 7F E4 FB 78 */ mr r4, r31 -/* 800FE6B4 000FB614 38 61 00 14 */ addi r3, r1, 0x14 -/* 800FE6B8 000FB618 38 A1 00 10 */ addi r5, r1, 0x10 -/* 800FE6BC 000FB61C 90 01 00 10 */ stw r0, 0x10(r1) -/* 800FE6C0 000FB620 4B F4 99 09 */ bl GetIdListForScript__13CStateManagerCF9TEditorId -/* 800FE6C4 000FB624 83 41 00 18 */ lwz r26, 0x18(r1) -/* 800FE6C8 000FB628 83 21 00 1C */ lwz r25, 0x1c(r1) -/* 800FE6CC 000FB62C 83 01 00 20 */ lwz r24, 0x20(r1) -/* 800FE6D0 000FB630 82 E1 00 14 */ lwz r23, 0x14(r1) -/* 800FE6D4 000FB634 48 00 00 2C */ b lbl_800FE700 -lbl_800FE6D8: -/* 800FE6D8 000FB638 A0 17 00 14 */ lhz r0, 0x14(r23) -/* 800FE6DC 000FB63C 7F 83 E3 78 */ mr r3, r28 -/* 800FE6E0 000FB640 7F E5 FB 78 */ mr r5, r31 -/* 800FE6E4 000FB644 38 81 00 0C */ addi r4, r1, 0xc -/* 800FE6E8 000FB648 B0 01 00 0C */ sth r0, 0xc(r1) -/* 800FE6EC 000FB64C 4B FF FB F5 */ bl UpdateEntity__20CScriptActorKeyframeF9TUniqueIdR13CStateManager -/* 800FE6F0 000FB650 7F 43 D3 78 */ mr r3, r26 -/* 800FE6F4 000FB654 7E E4 BB 78 */ mr r4, r23 -/* 800FE6F8 000FB658 48 23 DE E9 */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 800FE6FC 000FB65C 7C 77 1B 78 */ mr r23, r3 -lbl_800FE700: -/* 800FE700 000FB660 7C 17 C8 40 */ cmplw r23, r25 -/* 800FE704 000FB664 38 00 00 00 */ li r0, 0 -/* 800FE708 000FB668 40 82 00 0C */ bne lbl_800FE714 -/* 800FE70C 000FB66C 7C 1A C0 40 */ cmplw r26, r24 -/* 800FE710 000FB670 41 82 00 08 */ beq lbl_800FE718 -lbl_800FE714: -/* 800FE714 000FB674 38 00 00 01 */ li r0, 1 -lbl_800FE718: -/* 800FE718 000FB678 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 800FE71C 000FB67C 40 82 FF BC */ bne lbl_800FE6D8 -lbl_800FE720: -/* 800FE720 000FB680 3B 7B 00 0C */ addi r27, r27, 0xc -lbl_800FE724: -/* 800FE724 000FB684 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 800FE728 000FB688 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 800FE72C 000FB68C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 800FE730 000FB690 7C 03 02 14 */ add r0, r3, r0 -/* 800FE734 000FB694 7C 1B 00 40 */ cmplw r27, r0 -/* 800FE738 000FB698 40 82 FF 5C */ bne lbl_800FE694 -lbl_800FE73C: -/* 800FE73C 000FB69C 88 1C 00 44 */ lbz r0, 0x44(r28) -/* 800FE740 000FB6A0 38 60 00 01 */ li r3, 1 -/* 800FE744 000FB6A4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800FE748 000FB6A8 7F 83 E3 78 */ mr r3, r28 -/* 800FE74C 000FB6AC 98 1C 00 44 */ stb r0, 0x44(r28) -/* 800FE750 000FB6B0 7F E5 FB 78 */ mr r5, r31 -/* 800FE754 000FB6B4 38 80 00 12 */ li r4, 0x12 -/* 800FE758 000FB6B8 38 C0 FF FF */ li r6, -1 -/* 800FE75C 000FB6BC C0 1C 00 38 */ lfs f0, 0x38(r28) -/* 800FE760 000FB6C0 D0 1C 00 40 */ stfs f0, 0x40(r28) -/* 800FE764 000FB6C4 4B F5 29 5D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 800FE768 000FB6C8 48 00 00 18 */ b lbl_800FE780 -lbl_800FE76C: -/* 800FE76C 000FB6CC 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 800FE770 000FB6D0 2C 00 FF FF */ cmpwi r0, -1 -/* 800FE774 000FB6D4 40 82 00 0C */ bne lbl_800FE780 -/* 800FE778 000FB6D8 38 00 00 00 */ li r0, 0 -/* 800FE77C 000FB6DC 90 1C 00 34 */ stw r0, 0x34(r28) -lbl_800FE780: -/* 800FE780 000FB6E0 A0 1E 00 00 */ lhz r0, 0(r30) -/* 800FE784 000FB6E4 7F 83 E3 78 */ mr r3, r28 -/* 800FE788 000FB6E8 7F A4 EB 78 */ mr r4, r29 -/* 800FE78C 000FB6EC 7F E6 FB 78 */ mr r6, r31 -/* 800FE790 000FB6F0 B0 01 00 08 */ sth r0, 8(r1) -/* 800FE794 000FB6F4 38 A1 00 08 */ addi r5, r1, 8 -/* 800FE798 000FB6F8 4B F5 29 C5 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 800FE79C 000FB6FC BA E1 00 2C */ lmw r23, 0x2c(r1) -/* 800FE7A0 000FB700 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800FE7A4 000FB704 7C 08 03 A6 */ mtlr r0 -/* 800FE7A8 000FB708 38 21 00 50 */ addi r1, r1, 0x50 -/* 800FE7AC 000FB70C 4E 80 00 20 */ blr - -.global "__ct__20CScriptActorKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibfbUib" -"__ct__20CScriptActorKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibfbUib": -/* 800FE7B0 000FB710 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800FE7B4 000FB714 7C 08 02 A6 */ mflr r0 -/* 800FE7B8 000FB718 7C AB 2B 78 */ mr r11, r5 -/* 800FE7BC 000FB71C 7C C5 33 78 */ mr r5, r6 -/* 800FE7C0 000FB720 90 01 00 44 */ stw r0, 0x44(r1) -/* 800FE7C4 000FB724 DB E1 00 38 */ stfd f31, 0x38(r1) -/* 800FE7C8 000FB728 FF E0 10 90 */ fmr f31, f2 -/* 800FE7CC 000FB72C DB C1 00 30 */ stfd f30, 0x30(r1) -/* 800FE7D0 000FB730 FF C0 08 90 */ fmr f30, f1 -/* 800FE7D4 000FB734 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 800FE7D8 000FB738 7C FB 3B 78 */ mr r27, r7 -/* 800FE7DC 000FB73C 7C 7F 1B 78 */ mr r31, r3 -/* 800FE7E0 000FB740 7D 1C 43 78 */ mr r28, r8 -/* 800FE7E4 000FB744 7D 3D 4B 78 */ mr r29, r9 -/* 800FE7E8 000FB748 7D 5E 53 78 */ mr r30, r10 -/* 800FE7EC 000FB74C 7D 67 5B 78 */ mr r7, r11 -/* 800FE7F0 000FB750 A0 04 00 00 */ lhz r0, 0(r4) -/* 800FE7F4 000FB754 88 81 00 4B */ lbz r4, 0x4b(r1) -/* 800FE7F8 000FB758 B0 01 00 08 */ sth r0, 8(r1) -/* 800FE7FC 000FB75C 7C 86 23 78 */ mr r6, r4 -/* 800FE800 000FB760 38 81 00 08 */ addi r4, r1, 8 -/* 800FE804 000FB764 4B F5 2B 21 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800FE808 000FB768 3C 60 80 3E */ lis r3, lbl_803DFE20@ha -/* 800FE80C 000FB76C 38 80 00 00 */ li r4, 0 -/* 800FE810 000FB770 38 03 FE 20 */ addi r0, r3, lbl_803DFE20@l -/* 800FE814 000FB774 90 1F 00 00 */ stw r0, 0(r31) -/* 800FE818 000FB778 7F E3 FB 78 */ mr r3, r31 -/* 800FE81C 000FB77C 93 7F 00 34 */ stw r27, 0x34(r31) -/* 800FE820 000FB780 D3 DF 00 38 */ stfs f30, 0x38(r31) -/* 800FE824 000FB784 D3 FF 00 3C */ stfs f31, 0x3c(r31) -/* 800FE828 000FB788 D3 DF 00 40 */ stfs f30, 0x40(r31) -/* 800FE82C 000FB78C 88 1F 00 44 */ lbz r0, 0x44(r31) -/* 800FE830 000FB790 53 80 3E 30 */ rlwimi r0, r28, 7, 0x18, 0x18 -/* 800FE834 000FB794 98 1F 00 44 */ stb r0, 0x44(r31) -/* 800FE838 000FB798 88 1F 00 44 */ lbz r0, 0x44(r31) -/* 800FE83C 000FB79C 53 A0 36 72 */ rlwimi r0, r29, 6, 0x19, 0x19 -/* 800FE840 000FB7A0 98 1F 00 44 */ stb r0, 0x44(r31) -/* 800FE844 000FB7A4 88 1F 00 44 */ lbz r0, 0x44(r31) -/* 800FE848 000FB7A8 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a -/* 800FE84C 000FB7AC 98 1F 00 44 */ stb r0, 0x44(r31) -/* 800FE850 000FB7B0 88 1F 00 44 */ lbz r0, 0x44(r31) -/* 800FE854 000FB7B4 53 C0 1E F6 */ rlwimi r0, r30, 3, 0x1b, 0x1b -/* 800FE858 000FB7B8 98 1F 00 44 */ stb r0, 0x44(r31) -/* 800FE85C 000FB7BC 88 1F 00 44 */ lbz r0, 0x44(r31) -/* 800FE860 000FB7C0 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 800FE864 000FB7C4 98 1F 00 44 */ stb r0, 0x44(r31) -/* 800FE868 000FB7C8 CB E1 00 38 */ lfd f31, 0x38(r1) -/* 800FE86C 000FB7CC CB C1 00 30 */ lfd f30, 0x30(r1) -/* 800FE870 000FB7D0 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 800FE874 000FB7D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800FE878 000FB7D8 7C 08 03 A6 */ mtlr r0 -/* 800FE87C 000FB7DC 38 21 00 40 */ addi r1, r1, 0x40 -/* 800FE880 000FB7E0 4E 80 00 20 */ blr - -.global nullsub_70 -nullsub_70: -/* 800FE884 000FB7E4 4E 80 00 20 */ blr - -.global Update__20CConsoleOutputWindowFf -Update__20CConsoleOutputWindowFf: -/* 800FE888 000FB7E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FE88C 000FB7EC 38 C0 00 00 */ li r6, 0 -/* 800FE890 000FB7F0 38 A0 00 00 */ li r5, 0 -/* 800FE894 000FB7F4 48 00 00 40 */ b lbl_800FE8D4 -lbl_800FE898: -/* 800FE898 000FB7F8 80 83 00 3C */ lwz r4, 0x3c(r3) -/* 800FE89C 000FB7FC C0 0D 89 84 */ lfs f0, lbl_805A7544@sda21(r13) -/* 800FE8A0 000FB800 7C 44 2C 2E */ lfsx f2, r4, r5 -/* 800FE8A4 000FB804 EC 42 08 28 */ fsubs f2, f2, f1 -/* 800FE8A8 000FB808 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 800FE8AC 000FB80C D0 41 00 08 */ stfs f2, 8(r1) -/* 800FE8B0 000FB810 40 80 00 0C */ bge lbl_800FE8BC -/* 800FE8B4 000FB814 38 81 00 08 */ addi r4, r1, 8 -/* 800FE8B8 000FB818 48 00 00 08 */ b lbl_800FE8C0 -lbl_800FE8BC: -/* 800FE8BC 000FB81C 38 8D 89 84 */ addi r4, r13, lbl_805A7544@sda21 -lbl_800FE8C0: -/* 800FE8C0 000FB820 C0 04 00 00 */ lfs f0, 0(r4) -/* 800FE8C4 000FB824 38 C6 00 01 */ addi r6, r6, 1 -/* 800FE8C8 000FB828 80 83 00 3C */ lwz r4, 0x3c(r3) -/* 800FE8CC 000FB82C 7C 04 2D 2E */ stfsx f0, r4, r5 -/* 800FE8D0 000FB830 38 A5 00 04 */ addi r5, r5, 4 -lbl_800FE8D4: -/* 800FE8D4 000FB834 80 03 00 24 */ lwz r0, 0x24(r3) -/* 800FE8D8 000FB838 7C 06 00 00 */ cmpw r6, r0 -/* 800FE8DC 000FB83C 41 80 FF BC */ blt lbl_800FE898 -/* 800FE8E0 000FB840 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FE8E4 000FB844 4E 80 00 20 */ blr - -.global OnMessage__20CConsoleOutputWindowFRC20CArchitectureMessageR18CArchitectureQueue -OnMessage__20CConsoleOutputWindowFRC20CArchitectureMessageR18CArchitectureQueue: -/* 800FE8E8 000FB848 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FE8EC 000FB84C 7C 08 02 A6 */ mflr r0 -/* 800FE8F0 000FB850 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FE8F4 000FB854 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FE8F8 000FB858 7C 7F 1B 78 */ mr r31, r3 -/* 800FE8FC 000FB85C 80 04 00 04 */ lwz r0, 4(r4) -/* 800FE900 000FB860 2C 00 00 05 */ cmpwi r0, 5 -/* 800FE904 000FB864 41 82 00 14 */ beq lbl_800FE918 -/* 800FE908 000FB868 40 80 00 38 */ bge lbl_800FE940 -/* 800FE90C 000FB86C 2C 00 00 04 */ cmpwi r0, 4 -/* 800FE910 000FB870 40 80 00 10 */ bge lbl_800FE920 -/* 800FE914 000FB874 48 00 00 2C */ b lbl_800FE940 -lbl_800FE918: -/* 800FE918 000FB878 38 60 00 00 */ li r3, 0 -/* 800FE91C 000FB87C 48 00 00 28 */ b lbl_800FE944 -lbl_800FE920: -/* 800FE920 000FB880 7C 83 23 78 */ mr r3, r4 -/* 800FE924 000FB884 4B F5 32 99 */ bl GetParmTimerTick__7MakeMsgFRC20CArchitectureMessage -/* 800FE928 000FB888 7C 64 1B 78 */ mr r4, r3 -/* 800FE92C 000FB88C 7F E3 FB 78 */ mr r3, r31 -/* 800FE930 000FB890 C0 24 00 04 */ lfs f1, 4(r4) -/* 800FE934 000FB894 4B FF FF 55 */ bl Update__20CConsoleOutputWindowFf -/* 800FE938 000FB898 38 60 00 00 */ li r3, 0 -/* 800FE93C 000FB89C 48 00 00 08 */ b lbl_800FE944 -lbl_800FE940: -/* 800FE940 000FB8A0 38 60 00 00 */ li r3, 0 -lbl_800FE944: -/* 800FE944 000FB8A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FE948 000FB8A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FE94C 000FB8AC 7C 08 03 A6 */ mtlr r0 -/* 800FE950 000FB8B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FE954 000FB8B4 4E 80 00 20 */ blr - -.global __dt__20CConsoleOutputWindowFv -__dt__20CConsoleOutputWindowFv: -/* 800FE958 000FB8B8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 800FE95C 000FB8BC 7C 08 02 A6 */ mflr r0 -/* 800FE960 000FB8C0 90 01 00 44 */ stw r0, 0x44(r1) -/* 800FE964 000FB8C4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 800FE968 000FB8C8 7C 9F 23 78 */ mr r31, r4 -/* 800FE96C 000FB8CC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 800FE970 000FB8D0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 800FE974 000FB8D4 93 A1 00 34 */ stw r29, 0x34(r1) -/* 800FE978 000FB8D8 93 81 00 30 */ stw r28, 0x30(r1) -/* 800FE97C 000FB8DC 41 82 00 E0 */ beq lbl_800FEA5C -/* 800FE980 000FB8E0 3C 60 80 3E */ lis r3, lbl_803DFE50@ha -/* 800FE984 000FB8E4 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 800FE988 000FB8E8 38 63 FE 50 */ addi r3, r3, lbl_803DFE50@l -/* 800FE98C 000FB8EC 38 00 00 00 */ li r0, 0 -/* 800FE990 000FB8F0 90 7E 00 00 */ stw r3, 0(r30) -/* 800FE994 000FB8F4 90 0D A3 40 */ stw r0, lbl_805A8F00@sda21(r13) -/* 800FE998 000FB8F8 41 82 00 44 */ beq lbl_800FE9DC -/* 800FE99C 000FB8FC 80 1E 00 34 */ lwz r0, 0x34(r30) -/* 800FE9A0 000FB900 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 800FE9A4 000FB904 54 00 10 3A */ slwi r0, r0, 2 -/* 800FE9A8 000FB908 7C 03 02 14 */ add r0, r3, r0 -/* 800FE9AC 000FB90C 90 61 00 1C */ stw r3, 0x1c(r1) -/* 800FE9B0 000FB910 7C 64 1B 78 */ mr r4, r3 -/* 800FE9B4 000FB914 90 01 00 24 */ stw r0, 0x24(r1) -/* 800FE9B8 000FB918 90 01 00 20 */ stw r0, 0x20(r1) -/* 800FE9BC 000FB91C 90 61 00 18 */ stw r3, 0x18(r1) -/* 800FE9C0 000FB920 48 00 00 08 */ b lbl_800FE9C8 -lbl_800FE9C4: -/* 800FE9C4 000FB924 38 84 00 04 */ addi r4, r4, 4 -lbl_800FE9C8: -/* 800FE9C8 000FB928 7C 04 00 40 */ cmplw r4, r0 -/* 800FE9CC 000FB92C 40 82 FF F8 */ bne lbl_800FE9C4 -/* 800FE9D0 000FB930 28 03 00 00 */ cmplwi r3, 0 -/* 800FE9D4 000FB934 41 82 00 08 */ beq lbl_800FE9DC -/* 800FE9D8 000FB938 48 21 6F 59 */ bl Free__7CMemoryFPCv -lbl_800FE9DC: -/* 800FE9DC 000FB93C 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 800FE9E0 000FB940 41 82 00 54 */ beq lbl_800FEA34 -/* 800FE9E4 000FB944 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 800FE9E8 000FB948 83 9E 00 2C */ lwz r28, 0x2c(r30) -/* 800FE9EC 000FB94C 54 00 20 36 */ slwi r0, r0, 4 -/* 800FE9F0 000FB950 7F BC 02 14 */ add r29, r28, r0 -/* 800FE9F4 000FB954 93 81 00 0C */ stw r28, 0xc(r1) -/* 800FE9F8 000FB958 93 A1 00 14 */ stw r29, 0x14(r1) -/* 800FE9FC 000FB95C 93 A1 00 10 */ stw r29, 0x10(r1) -/* 800FEA00 000FB960 93 81 00 08 */ stw r28, 8(r1) -/* 800FEA04 000FB964 48 00 00 18 */ b lbl_800FEA1C -lbl_800FEA08: -/* 800FEA08 000FB968 28 1C 00 00 */ cmplwi r28, 0 -/* 800FEA0C 000FB96C 41 82 00 0C */ beq lbl_800FEA18 -/* 800FEA10 000FB970 7F 83 E3 78 */ mr r3, r28 -/* 800FEA14 000FB974 48 23 F0 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_800FEA18: -/* 800FEA18 000FB978 3B 9C 00 10 */ addi r28, r28, 0x10 -lbl_800FEA1C: -/* 800FEA1C 000FB97C 7C 1C E8 40 */ cmplw r28, r29 -/* 800FEA20 000FB980 40 82 FF E8 */ bne lbl_800FEA08 -/* 800FEA24 000FB984 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 800FEA28 000FB988 28 03 00 00 */ cmplwi r3, 0 -/* 800FEA2C 000FB98C 41 82 00 08 */ beq lbl_800FEA34 -/* 800FEA30 000FB990 48 21 6F 01 */ bl Free__7CMemoryFPCv -lbl_800FEA34: -/* 800FEA34 000FB994 38 7E 00 14 */ addi r3, r30, 0x14 -/* 800FEA38 000FB998 38 80 FF FF */ li r4, -1 -/* 800FEA3C 000FB99C 48 20 75 85 */ bl __dt__5CFontFv -/* 800FEA40 000FB9A0 7F C3 F3 78 */ mr r3, r30 -/* 800FEA44 000FB9A4 38 80 00 00 */ li r4, 0 -/* 800FEA48 000FB9A8 4B F5 41 5D */ bl __dt__6CIOWinFv -/* 800FEA4C 000FB9AC 7F E0 07 35 */ extsh. r0, r31 -/* 800FEA50 000FB9B0 40 81 00 0C */ ble lbl_800FEA5C -/* 800FEA54 000FB9B4 7F C3 F3 78 */ mr r3, r30 -/* 800FEA58 000FB9B8 48 21 6E D9 */ bl Free__7CMemoryFPCv -lbl_800FEA5C: -/* 800FEA5C 000FB9BC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 800FEA60 000FB9C0 7F C3 F3 78 */ mr r3, r30 -/* 800FEA64 000FB9C4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800FEA68 000FB9C8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 800FEA6C 000FB9CC 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 800FEA70 000FB9D0 83 81 00 30 */ lwz r28, 0x30(r1) -/* 800FEA74 000FB9D4 7C 08 03 A6 */ mtlr r0 -/* 800FEA78 000FB9D8 38 21 00 40 */ addi r1, r1, 0x40 -/* 800FEA7C 000FB9DC 4E 80 00 20 */ blr - -.global __ct__20CConsoleOutputWindowFiff -__ct__20CConsoleOutputWindowFiff: -/* 800FEA80 000FB9E0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800FEA84 000FB9E4 7C 08 02 A6 */ mflr r0 -/* 800FEA88 000FB9E8 90 01 00 74 */ stw r0, 0x74(r1) -/* 800FEA8C 000FB9EC DB E1 00 60 */ stfd f31, 0x60(r1) -/* 800FEA90 000FB9F0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 800FEA94 000FB9F4 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 800FEA98 000FB9F8 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 800FEA9C 000FB9FC 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800FEAA0 000FBA00 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800FEAA4 000FBA04 93 A1 00 44 */ stw r29, 0x44(r1) -/* 800FEAA8 000FBA08 93 81 00 40 */ stw r28, 0x40(r1) -/* 800FEAAC 000FBA0C 3C A0 80 3D */ lis r5, lbl_803CEE00@ha -/* 800FEAB0 000FBA10 FF C0 08 90 */ fmr f30, f1 -/* 800FEAB4 000FBA14 FF E0 10 90 */ fmr f31, f2 -/* 800FEAB8 000FBA18 38 05 EE 00 */ addi r0, r5, lbl_803CEE00@l -/* 800FEABC 000FBA1C 7C 7C 1B 78 */ mr r28, r3 -/* 800FEAC0 000FBA20 7C 9D 23 78 */ mr r29, r4 -/* 800FEAC4 000FBA24 7C 04 03 78 */ mr r4, r0 -/* 800FEAC8 000FBA28 38 61 00 1C */ addi r3, r1, 0x1c -/* 800FEACC 000FBA2C 4B F0 61 ED */ bl string_l__4rstlFPCc -/* 800FEAD0 000FBA30 7F 83 E3 78 */ mr r3, r28 -/* 800FEAD4 000FBA34 38 81 00 1C */ addi r4, r1, 0x1c -/* 800FEAD8 000FBA38 4B F5 41 35 */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 800FEADC 000FBA3C 38 61 00 1C */ addi r3, r1, 0x1c -/* 800FEAE0 000FBA40 48 23 F0 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800FEAE4 000FBA44 3C 60 80 3E */ lis r3, lbl_803DFE50@ha -/* 800FEAE8 000FBA48 FC 20 F8 90 */ fmr f1, f31 -/* 800FEAEC 000FBA4C 38 03 FE 50 */ addi r0, r3, lbl_803DFE50@l -/* 800FEAF0 000FBA50 38 7C 00 14 */ addi r3, r28, 0x14 -/* 800FEAF4 000FBA54 90 1C 00 00 */ stw r0, 0(r28) -/* 800FEAF8 000FBA58 48 20 75 05 */ bl __ct__5CFontFf -/* 800FEAFC 000FBA5C D3 DC 00 1C */ stfs f30, 0x1c(r28) -/* 800FEB00 000FBA60 38 00 00 00 */ li r0, 0 -/* 800FEB04 000FBA64 38 7C 00 14 */ addi r3, r28, 0x14 -/* 800FEB08 000FBA68 38 80 00 30 */ li r4, 0x30 -/* 800FEB0C 000FBA6C 90 1C 00 24 */ stw r0, 0x24(r28) -/* 800FEB10 000FBA70 90 1C 00 28 */ stw r0, 0x28(r28) -/* 800FEB14 000FBA74 90 1C 00 2C */ stw r0, 0x2c(r28) -/* 800FEB18 000FBA78 90 1C 00 34 */ stw r0, 0x34(r28) -/* 800FEB1C 000FBA7C 90 1C 00 38 */ stw r0, 0x38(r28) -/* 800FEB20 000FBA80 90 1C 00 3C */ stw r0, 0x3c(r28) -/* 800FEB24 000FBA84 48 20 74 79 */ bl CharWidth__5CFontCFc -/* 800FEB28 000FBA88 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 800FEB2C 000FBA8C 3C 60 43 30 */ lis r3, 0x4330 -/* 800FEB30 000FBA90 90 01 00 34 */ stw r0, 0x34(r1) -/* 800FEB34 000FBA94 38 00 00 00 */ li r0, 0 -/* 800FEB38 000FBA98 C8 42 93 B0 */ lfd f2, lbl_805AB0D0@sda21(r2) -/* 800FEB3C 000FBA9C 7F A4 EB 78 */ mr r4, r29 -/* 800FEB40 000FBAA0 90 61 00 30 */ stw r3, 0x30(r1) -/* 800FEB44 000FBAA4 38 7C 00 20 */ addi r3, r28, 0x20 -/* 800FEB48 000FBAA8 C0 02 93 A8 */ lfs f0, lbl_805AB0C8@sda21(r2) -/* 800FEB4C 000FBAAC C8 21 00 30 */ lfd f1, 0x30(r1) -/* 800FEB50 000FBAB0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 800FEB54 000FBAB4 EC 00 08 24 */ fdivs f0, f0, f1 -/* 800FEB58 000FBAB8 FC 00 00 1E */ fctiwz f0, f0 -/* 800FEB5C 000FBABC D8 01 00 38 */ stfd f0, 0x38(r1) -/* 800FEB60 000FBAC0 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 800FEB64 000FBAC4 90 BC 00 40 */ stw r5, 0x40(r28) -/* 800FEB68 000FBAC8 90 1C 00 44 */ stw r0, 0x44(r28) -/* 800FEB6C 000FBACC 90 1C 00 48 */ stw r0, 0x48(r28) -/* 800FEB70 000FBAD0 4B F5 B0 45 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -/* 800FEB74 000FBAD4 7F A4 EB 78 */ mr r4, r29 -/* 800FEB78 000FBAD8 38 7C 00 30 */ addi r3, r28, 0x30 -/* 800FEB7C 000FBADC 4B F5 F2 7D */ bl "reserve__Q24rstl36vectorFi" -/* 800FEB80 000FBAE0 3C 60 80 3D */ lis r3, lbl_803CEE00@ha -/* 800FEB84 000FBAE4 3B C0 00 00 */ li r30, 0 -/* 800FEB88 000FBAE8 3B E3 EE 00 */ addi r31, r3, lbl_803CEE00@l -/* 800FEB8C 000FBAEC 48 00 00 C8 */ b lbl_800FEC54 -lbl_800FEB90: -/* 800FEB90 000FBAF0 80 BC 00 40 */ lwz r5, 0x40(r28) -/* 800FEB94 000FBAF4 38 61 00 0C */ addi r3, r1, 0xc -/* 800FEB98 000FBAF8 38 9F 00 14 */ addi r4, r31, 0x14 -/* 800FEB9C 000FBAFC 38 C1 00 08 */ addi r6, r1, 8 -/* 800FEBA0 000FBB00 38 A5 00 01 */ addi r5, r5, 1 -/* 800FEBA4 000FBB04 48 23 F5 F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 800FEBA8 000FBB08 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 800FEBAC 000FBB0C 80 BC 00 28 */ lwz r5, 0x28(r28) -/* 800FEBB0 000FBB10 7C 00 28 00 */ cmpw r0, r5 -/* 800FEBB4 000FBB14 41 80 00 1C */ blt lbl_800FEBD0 -/* 800FEBB8 000FBB18 2C 05 00 00 */ cmpwi r5, 0 -/* 800FEBBC 000FBB1C 38 7C 00 20 */ addi r3, r28, 0x20 -/* 800FEBC0 000FBB20 38 80 00 04 */ li r4, 4 -/* 800FEBC4 000FBB24 41 82 00 08 */ beq lbl_800FEBCC -/* 800FEBC8 000FBB28 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800FEBCC: -/* 800FEBCC 000FBB2C 4B F5 AF E9 */ bl "reserve__Q24rstl110vector,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Fi" -lbl_800FEBD0: -/* 800FEBD0 000FBB30 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 800FEBD4 000FBB34 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 800FEBD8 000FBB38 54 00 20 36 */ slwi r0, r0, 4 -/* 800FEBDC 000FBB3C 7C 63 02 15 */ add. r3, r3, r0 -/* 800FEBE0 000FBB40 41 82 00 0C */ beq lbl_800FEBEC -/* 800FEBE4 000FBB44 38 81 00 0C */ addi r4, r1, 0xc -/* 800FEBE8 000FBB48 48 23 F5 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -lbl_800FEBEC: -/* 800FEBEC 000FBB4C 80 9C 00 24 */ lwz r4, 0x24(r28) -/* 800FEBF0 000FBB50 38 61 00 0C */ addi r3, r1, 0xc -/* 800FEBF4 000FBB54 38 04 00 01 */ addi r0, r4, 1 -/* 800FEBF8 000FBB58 90 1C 00 24 */ stw r0, 0x24(r28) -/* 800FEBFC 000FBB5C 48 23 EE E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 800FEC00 000FBB60 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 800FEC04 000FBB64 80 BC 00 38 */ lwz r5, 0x38(r28) -/* 800FEC08 000FBB68 7C 00 28 00 */ cmpw r0, r5 -/* 800FEC0C 000FBB6C 41 80 00 1C */ blt lbl_800FEC28 -/* 800FEC10 000FBB70 2C 05 00 00 */ cmpwi r5, 0 -/* 800FEC14 000FBB74 38 7C 00 30 */ addi r3, r28, 0x30 -/* 800FEC18 000FBB78 38 80 00 04 */ li r4, 4 -/* 800FEC1C 000FBB7C 41 82 00 08 */ beq lbl_800FEC24 -/* 800FEC20 000FBB80 54 A4 08 3C */ slwi r4, r5, 1 -lbl_800FEC24: -/* 800FEC24 000FBB84 4B F5 F1 D5 */ bl "reserve__Q24rstl36vectorFi" -lbl_800FEC28: -/* 800FEC28 000FBB88 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 800FEC2C 000FBB8C 80 7C 00 3C */ lwz r3, 0x3c(r28) -/* 800FEC30 000FBB90 54 00 10 3A */ slwi r0, r0, 2 -/* 800FEC34 000FBB94 7C 63 02 15 */ add. r3, r3, r0 -/* 800FEC38 000FBB98 41 82 00 0C */ beq lbl_800FEC44 -/* 800FEC3C 000FBB9C C0 0D 89 80 */ lfs f0, lbl_805A7540@sda21(r13) -/* 800FEC40 000FBBA0 D0 03 00 00 */ stfs f0, 0(r3) -lbl_800FEC44: -/* 800FEC44 000FBBA4 80 7C 00 34 */ lwz r3, 0x34(r28) -/* 800FEC48 000FBBA8 3B DE 00 01 */ addi r30, r30, 1 -/* 800FEC4C 000FBBAC 38 03 00 01 */ addi r0, r3, 1 -/* 800FEC50 000FBBB0 90 1C 00 34 */ stw r0, 0x34(r28) -lbl_800FEC54: -/* 800FEC54 000FBBB4 7C 1E E8 00 */ cmpw r30, r29 -/* 800FEC58 000FBBB8 41 80 FF 38 */ blt lbl_800FEB90 -/* 800FEC5C 000FBBBC 93 8D A3 40 */ stw r28, lbl_805A8F00@sda21(r13) -/* 800FEC60 000FBBC0 7F 83 E3 78 */ mr r3, r28 -/* 800FEC64 000FBBC4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 800FEC68 000FBBC8 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 800FEC6C 000FBBCC E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 800FEC70 000FBBD0 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 800FEC74 000FBBD4 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800FEC78 000FBBD8 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800FEC7C 000FBBDC 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 800FEC80 000FBBE0 80 01 00 74 */ lwz r0, 0x74(r1) -/* 800FEC84 000FBBE4 83 81 00 40 */ lwz r28, 0x40(r1) -/* 800FEC88 000FBBE8 7C 08 03 A6 */ mtlr r0 -/* 800FEC8C 000FBBEC 38 21 00 70 */ addi r1, r1, 0x70 -/* 800FEC90 000FBBF0 4E 80 00 20 */ blr - -.global GetPatchRenderFlags__12CScriptWaterCFii -GetPatchRenderFlags__12CScriptWaterCFii: -/* 800FEC94 000FBBF4 80 03 02 D0 */ lwz r0, 0x2d0(r3) -/* 800FEC98 000FBBF8 80 63 02 E0 */ lwz r3, 0x2e0(r3) -/* 800FEC9C 000FBBFC 7C 05 01 D6 */ mullw r0, r5, r0 -/* 800FECA0 000FBC00 7C 00 1A 14 */ add r0, r0, r3 -/* 800FECA4 000FBC04 7C 64 00 AE */ lbzx r3, r4, r0 -/* 800FECA8 000FBC08 7C 63 07 74 */ extsb r3, r3 -/* 800FECAC 000FBC0C 4E 80 00 20 */ blr - -.global CanRippleAtPoint__12CScriptWaterCFRC9CVector3f -CanRippleAtPoint__12CScriptWaterCFRC9CVector3f: -/* 800FECB0 000FBC10 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 800FECB4 000FBC14 7C 08 02 A6 */ mflr r0 -/* 800FECB8 000FBC18 90 01 00 54 */ stw r0, 0x54(r1) -/* 800FECBC 000FBC1C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800FECC0 000FBC20 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800FECC4 000FBC24 7C 9E 23 78 */ mr r30, r4 -/* 800FECC8 000FBC28 93 A1 00 44 */ stw r29, 0x44(r1) -/* 800FECCC 000FBC2C 7C 7D 1B 78 */ mr r29, r3 -/* 800FECD0 000FBC30 80 03 02 D8 */ lwz r0, 0x2d8(r3) -/* 800FECD4 000FBC34 28 00 00 00 */ cmplwi r0, 0 -/* 800FECD8 000FBC38 40 82 00 0C */ bne lbl_800FECE4 -/* 800FECDC 000FBC3C 38 60 00 01 */ li r3, 1 -/* 800FECE0 000FBC40 48 00 00 B8 */ b lbl_800FED98 -lbl_800FECE4: -/* 800FECE4 000FBC44 7F A4 EB 78 */ mr r4, r29 -/* 800FECE8 000FBC48 38 61 00 20 */ addi r3, r1, 0x20 -/* 800FECEC 000FBC4C 4B F7 79 E1 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800FECF0 000FBC50 C0 5E 00 00 */ lfs f2, 0(r30) -/* 800FECF4 000FBC54 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 800FECF8 000FBC58 C0 1D 02 C0 */ lfs f0, 0x2c0(r29) -/* 800FECFC 000FBC5C EC 22 08 28 */ fsubs f1, f2, f1 -/* 800FED00 000FBC60 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800FED04 000FBC64 FC 00 00 1E */ fctiwz f0, f0 -/* 800FED08 000FBC68 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 800FED0C 000FBC6C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 800FED10 000FBC70 2C 1F 00 00 */ cmpwi r31, 0 -/* 800FED14 000FBC74 41 80 00 10 */ blt lbl_800FED24 -/* 800FED18 000FBC78 80 1D 02 C4 */ lwz r0, 0x2c4(r29) -/* 800FED1C 000FBC7C 7C 1F 00 00 */ cmpw r31, r0 -/* 800FED20 000FBC80 41 80 00 0C */ blt lbl_800FED2C -lbl_800FED24: -/* 800FED24 000FBC84 38 60 00 00 */ li r3, 0 -/* 800FED28 000FBC88 48 00 00 70 */ b lbl_800FED98 -lbl_800FED2C: -/* 800FED2C 000FBC8C 7F A4 EB 78 */ mr r4, r29 -/* 800FED30 000FBC90 38 61 00 08 */ addi r3, r1, 8 -/* 800FED34 000FBC94 4B F7 79 99 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800FED38 000FBC98 C0 5E 00 04 */ lfs f2, 4(r30) -/* 800FED3C 000FBC9C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 800FED40 000FBCA0 C0 1D 02 C0 */ lfs f0, 0x2c0(r29) -/* 800FED44 000FBCA4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 800FED48 000FBCA8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 800FED4C 000FBCAC FC 00 00 1E */ fctiwz f0, f0 -/* 800FED50 000FBCB0 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 800FED54 000FBCB4 80 81 00 3C */ lwz r4, 0x3c(r1) -/* 800FED58 000FBCB8 2C 04 00 00 */ cmpwi r4, 0 -/* 800FED5C 000FBCBC 41 80 00 10 */ blt lbl_800FED6C -/* 800FED60 000FBCC0 80 1D 02 C8 */ lwz r0, 0x2c8(r29) -/* 800FED64 000FBCC4 7C 04 00 00 */ cmpw r4, r0 -/* 800FED68 000FBCC8 41 80 00 0C */ blt lbl_800FED74 -lbl_800FED6C: -/* 800FED6C 000FBCCC 38 60 00 00 */ li r3, 0 -/* 800FED70 000FBCD0 48 00 00 28 */ b lbl_800FED98 -lbl_800FED74: -/* 800FED74 000FBCD4 80 1D 02 C4 */ lwz r0, 0x2c4(r29) -/* 800FED78 000FBCD8 80 7D 02 D8 */ lwz r3, 0x2d8(r29) -/* 800FED7C 000FBCDC 7C 04 01 D6 */ mullw r0, r4, r0 -/* 800FED80 000FBCE0 7C 1F 02 14 */ add r0, r31, r0 -/* 800FED84 000FBCE4 7C 03 00 AE */ lbzx r0, r3, r0 -/* 800FED88 000FBCE8 7C 03 07 74 */ extsb r3, r0 -/* 800FED8C 000FBCEC 7C 03 00 D0 */ neg r0, r3 -/* 800FED90 000FBCF0 7C 00 1B 78 */ or r0, r0, r3 -/* 800FED94 000FBCF4 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_800FED98: -/* 800FED98 000FBCF8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 800FED9C 000FBCFC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 800FEDA0 000FBD00 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 800FEDA4 000FBD04 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 800FEDA8 000FBD08 7C 08 03 A6 */ mtlr r0 -/* 800FEDAC 000FBD0C 38 21 00 50 */ addi r1, r1, 0x50 -/* 800FEDB0 000FBD10 4E 80 00 20 */ blr - -.global SetupGrid__12CScriptWaterFb -SetupGrid__12CScriptWaterFb: -/* 800FEDB4 000FBD14 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 800FEDB8 000FBD18 7C 08 02 A6 */ mflr r0 -/* 800FEDBC 000FBD1C 90 01 00 64 */ stw r0, 0x64(r1) -/* 800FEDC0 000FBD20 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 800FEDC4 000FBD24 7C 7E 1B 78 */ mr r30, r3 -/* 800FEDC8 000FBD28 7C 9F 23 78 */ mr r31, r4 -/* 800FEDCC 000FBD2C 38 61 00 20 */ addi r3, r1, 0x20 -/* 800FEDD0 000FBD30 7F C4 F3 78 */ mr r4, r30 -/* 800FEDD4 000FBD34 4B F7 78 F9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800FEDD8 000FBD38 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 800FEDDC 000FBD3C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 800FEDE0 000FBD40 C0 5E 02 C0 */ lfs f2, 0x2c0(r30) -/* 800FEDE4 000FBD44 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800FEDE8 000FBD48 C0 02 93 B8 */ lfs f0, lbl_805AB0D8@sda21(r2) -/* 800FEDEC 000FBD4C EC 22 08 2A */ fadds f1, f2, f1 -/* 800FEDF0 000FBD50 EC 01 00 28 */ fsubs f0, f1, f0 -/* 800FEDF4 000FBD54 EC 20 10 24 */ fdivs f1, f0, f2 -/* 800FEDF8 000FBD58 48 21 64 A5 */ bl FloorF__5CMathFf -/* 800FEDFC 000FBD5C FC 00 08 1E */ fctiwz f0, f1 -/* 800FEE00 000FBD60 7F C4 F3 78 */ mr r4, r30 -/* 800FEE04 000FBD64 38 61 00 08 */ addi r3, r1, 8 -/* 800FEE08 000FBD68 D8 01 00 38 */ stfd f0, 0x38(r1) -/* 800FEE0C 000FBD6C 83 81 00 3C */ lwz r28, 0x3c(r1) -/* 800FEE10 000FBD70 4B F7 78 BD */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800FEE14 000FBD74 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 800FEE18 000FBD78 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 800FEE1C 000FBD7C C0 5E 02 C0 */ lfs f2, 0x2c0(r30) -/* 800FEE20 000FBD80 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800FEE24 000FBD84 C0 02 93 B8 */ lfs f0, lbl_805AB0D8@sda21(r2) -/* 800FEE28 000FBD88 EC 22 08 2A */ fadds f1, f2, f1 -/* 800FEE2C 000FBD8C EC 01 00 28 */ fsubs f0, f1, f0 -/* 800FEE30 000FBD90 EC 20 10 24 */ fdivs f1, f0, f2 -/* 800FEE34 000FBD94 48 21 64 69 */ bl FloorF__5CMathFf -/* 800FEE38 000FBD98 FC 00 08 1E */ fctiwz f0, f1 -/* 800FEE3C 000FBD9C 38 7C 00 01 */ addi r3, r28, 1 -/* 800FEE40 000FBDA0 D8 01 00 40 */ stfd f0, 0x40(r1) -/* 800FEE44 000FBDA4 83 61 00 44 */ lwz r27, 0x44(r1) -/* 800FEE48 000FBDA8 38 1B 00 01 */ addi r0, r27, 1 -/* 800FEE4C 000FBDAC 7C 03 01 D6 */ mullw r0, r3, r0 -/* 800FEE50 000FBDB0 90 1E 02 CC */ stw r0, 0x2cc(r30) -/* 800FEE54 000FBDB4 80 1E 02 CC */ lwz r0, 0x2cc(r30) -/* 800FEE58 000FBDB8 90 1E 02 E4 */ stw r0, 0x2e4(r30) -/* 800FEE5C 000FBDBC 80 7E 02 DC */ lwz r3, 0x2dc(r30) -/* 800FEE60 000FBDC0 48 21 6A D1 */ bl Free__7CMemoryFPCv -/* 800FEE64 000FBDC4 38 00 00 00 */ li r0, 0 -/* 800FEE68 000FBDC8 90 1E 02 DC */ stw r0, 0x2dc(r30) -/* 800FEE6C 000FBDCC 80 1E 02 D8 */ lwz r0, 0x2d8(r30) -/* 800FEE70 000FBDD0 28 00 00 00 */ cmplwi r0, 0 -/* 800FEE74 000FBDD4 41 82 00 1C */ beq lbl_800FEE90 -/* 800FEE78 000FBDD8 80 1E 02 C4 */ lwz r0, 0x2c4(r30) -/* 800FEE7C 000FBDDC 7C 1C 00 00 */ cmpw r28, r0 -/* 800FEE80 000FBDE0 40 82 00 10 */ bne lbl_800FEE90 -/* 800FEE84 000FBDE4 80 1E 02 C8 */ lwz r0, 0x2c8(r30) -/* 800FEE88 000FBDE8 7C 1B 00 00 */ cmpw r27, r0 -/* 800FEE8C 000FBDEC 41 82 00 28 */ beq lbl_800FEEB4 -lbl_800FEE90: -/* 800FEE90 000FBDF0 7C 7C D9 D6 */ mullw r3, r28, r27 -/* 800FEE94 000FBDF4 3C 80 80 3D */ lis r4, lbl_803CEE38@ha -/* 800FEE98 000FBDF8 38 A0 00 00 */ li r5, 0 -/* 800FEE9C 000FBDFC 38 84 EE 38 */ addi r4, r4, lbl_803CEE38@l -/* 800FEEA0 000FBE00 48 21 69 79 */ bl __nwa__FUlPCcPCc -/* 800FEEA4 000FBE04 7C 7D 1B 78 */ mr r29, r3 -/* 800FEEA8 000FBE08 80 7E 02 D8 */ lwz r3, 0x2d8(r30) -/* 800FEEAC 000FBE0C 48 21 6A 85 */ bl Free__7CMemoryFPCv -/* 800FEEB0 000FBE10 93 BE 02 D8 */ stw r29, 0x2d8(r30) -lbl_800FEEB4: -/* 800FEEB4 000FBE14 93 9E 02 C4 */ stw r28, 0x2c4(r30) -/* 800FEEB8 000FBE18 38 A0 00 00 */ li r5, 0 -/* 800FEEBC 000FBE1C 38 60 00 01 */ li r3, 1 -/* 800FEEC0 000FBE20 93 7E 02 C8 */ stw r27, 0x2c8(r30) -/* 800FEEC4 000FBE24 48 00 00 38 */ b lbl_800FEEFC -lbl_800FEEC8: -/* 800FEEC8 000FBE28 80 1E 02 C4 */ lwz r0, 0x2c4(r30) -/* 800FEECC 000FBE2C 38 C0 00 00 */ li r6, 0 -/* 800FEED0 000FBE30 80 9E 02 D8 */ lwz r4, 0x2d8(r30) -/* 800FEED4 000FBE34 7C 05 01 D6 */ mullw r0, r5, r0 -/* 800FEED8 000FBE38 7C 84 02 14 */ add r4, r4, r0 -/* 800FEEDC 000FBE3C 48 00 00 10 */ b lbl_800FEEEC -lbl_800FEEE0: -/* 800FEEE0 000FBE40 98 64 00 00 */ stb r3, 0(r4) -/* 800FEEE4 000FBE44 38 C6 00 01 */ addi r6, r6, 1 -/* 800FEEE8 000FBE48 38 84 00 01 */ addi r4, r4, 1 -lbl_800FEEEC: -/* 800FEEEC 000FBE4C 80 1E 02 C4 */ lwz r0, 0x2c4(r30) -/* 800FEEF0 000FBE50 7C 06 00 00 */ cmpw r6, r0 -/* 800FEEF4 000FBE54 41 80 FF EC */ blt lbl_800FEEE0 -/* 800FEEF8 000FBE58 38 A5 00 01 */ addi r5, r5, 1 -lbl_800FEEFC: -/* 800FEEFC 000FBE5C 80 1E 02 C8 */ lwz r0, 0x2c8(r30) -/* 800FEF00 000FBE60 7C 05 00 00 */ cmpw r5, r0 -/* 800FEF04 000FBE64 41 80 FF C4 */ blt lbl_800FEEC8 -/* 800FEF08 000FBE68 80 1E 02 E0 */ lwz r0, 0x2e0(r30) -/* 800FEF0C 000FBE6C 28 00 00 00 */ cmplwi r0, 0 -/* 800FEF10 000FBE70 41 82 00 1C */ beq lbl_800FEF2C -/* 800FEF14 000FBE74 80 1E 02 D0 */ lwz r0, 0x2d0(r30) -/* 800FEF18 000FBE78 2C 00 00 00 */ cmpwi r0, 0 -/* 800FEF1C 000FBE7C 40 82 00 10 */ bne lbl_800FEF2C -/* 800FEF20 000FBE80 80 1E 02 D4 */ lwz r0, 0x2d4(r30) -/* 800FEF24 000FBE84 2C 00 00 00 */ cmpwi r0, 0 -/* 800FEF28 000FBE88 41 82 00 28 */ beq lbl_800FEF50 -lbl_800FEF2C: -/* 800FEF2C 000FBE8C 3C 80 80 3D */ lis r4, lbl_803CEE38@ha -/* 800FEF30 000FBE90 38 60 00 20 */ li r3, 0x20 -/* 800FEF34 000FBE94 38 84 EE 38 */ addi r4, r4, lbl_803CEE38@l -/* 800FEF38 000FBE98 38 A0 00 00 */ li r5, 0 -/* 800FEF3C 000FBE9C 48 21 68 DD */ bl __nwa__FUlPCcPCc -/* 800FEF40 000FBEA0 7C 7D 1B 78 */ mr r29, r3 -/* 800FEF44 000FBEA4 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEF48 000FBEA8 48 21 69 E9 */ bl Free__7CMemoryFPCv -/* 800FEF4C 000FBEAC 93 BE 02 E0 */ stw r29, 0x2e0(r30) -lbl_800FEF50: -/* 800FEF50 000FBEB0 38 00 00 02 */ li r0, 2 -/* 800FEF54 000FBEB4 39 60 00 00 */ li r11, 0 -/* 800FEF58 000FBEB8 7C 09 03 A6 */ mtctr r0 -lbl_800FEF5C: -/* 800FEF5C 000FBEBC 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEF60 000FBEC0 39 40 00 01 */ li r10, 1 -/* 800FEF64 000FBEC4 39 2B 00 01 */ addi r9, r11, 1 -/* 800FEF68 000FBEC8 39 0B 00 02 */ addi r8, r11, 2 -/* 800FEF6C 000FBECC 7D 43 59 AE */ stbx r10, r3, r11 -/* 800FEF70 000FBED0 38 EB 00 03 */ addi r7, r11, 3 -/* 800FEF74 000FBED4 38 CB 00 04 */ addi r6, r11, 4 -/* 800FEF78 000FBED8 38 AB 00 05 */ addi r5, r11, 5 -/* 800FEF7C 000FBEDC 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEF80 000FBEE0 38 8B 00 06 */ addi r4, r11, 6 -/* 800FEF84 000FBEE4 38 0B 00 07 */ addi r0, r11, 7 -/* 800FEF88 000FBEE8 7D 43 49 AE */ stbx r10, r3, r9 -/* 800FEF8C 000FBEEC 39 2B 00 09 */ addi r9, r11, 9 -/* 800FEF90 000FBEF0 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEF94 000FBEF4 7D 43 41 AE */ stbx r10, r3, r8 -/* 800FEF98 000FBEF8 39 0B 00 0A */ addi r8, r11, 0xa -/* 800FEF9C 000FBEFC 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEFA0 000FBF00 7D 43 39 AE */ stbx r10, r3, r7 -/* 800FEFA4 000FBF04 38 EB 00 0B */ addi r7, r11, 0xb -/* 800FEFA8 000FBF08 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEFAC 000FBF0C 7D 43 31 AE */ stbx r10, r3, r6 -/* 800FEFB0 000FBF10 38 CB 00 0C */ addi r6, r11, 0xc -/* 800FEFB4 000FBF14 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEFB8 000FBF18 7D 43 29 AE */ stbx r10, r3, r5 -/* 800FEFBC 000FBF1C 38 AB 00 0D */ addi r5, r11, 0xd -/* 800FEFC0 000FBF20 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEFC4 000FBF24 7D 43 21 AE */ stbx r10, r3, r4 -/* 800FEFC8 000FBF28 38 8B 00 0E */ addi r4, r11, 0xe -/* 800FEFCC 000FBF2C 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEFD0 000FBF30 7D 43 01 AE */ stbx r10, r3, r0 -/* 800FEFD4 000FBF34 38 0B 00 0F */ addi r0, r11, 0xf -/* 800FEFD8 000FBF38 39 6B 00 08 */ addi r11, r11, 8 -/* 800FEFDC 000FBF3C 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEFE0 000FBF40 7D 43 59 AE */ stbx r10, r3, r11 -/* 800FEFE4 000FBF44 39 6B 00 08 */ addi r11, r11, 8 -/* 800FEFE8 000FBF48 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEFEC 000FBF4C 7D 43 49 AE */ stbx r10, r3, r9 -/* 800FEFF0 000FBF50 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEFF4 000FBF54 7D 43 41 AE */ stbx r10, r3, r8 -/* 800FEFF8 000FBF58 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FEFFC 000FBF5C 7D 43 39 AE */ stbx r10, r3, r7 -/* 800FF000 000FBF60 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FF004 000FBF64 7D 43 31 AE */ stbx r10, r3, r6 -/* 800FF008 000FBF68 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FF00C 000FBF6C 7D 43 29 AE */ stbx r10, r3, r5 -/* 800FF010 000FBF70 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FF014 000FBF74 7D 43 21 AE */ stbx r10, r3, r4 -/* 800FF018 000FBF78 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 800FF01C 000FBF7C 7D 43 01 AE */ stbx r10, r3, r0 -/* 800FF020 000FBF80 42 00 FF 3C */ bdnz lbl_800FEF5C -/* 800FF024 000FBF84 38 00 00 00 */ li r0, 0 -/* 800FF028 000FBF88 90 1E 02 D4 */ stw r0, 0x2d4(r30) -/* 800FF02C 000FBF8C 90 1E 02 D0 */ stw r0, 0x2d0(r30) -/* 800FF030 000FBF90 88 1E 02 E8 */ lbz r0, 0x2e8(r30) -/* 800FF034 000FBF94 53 E0 1F 38 */ rlwimi r0, r31, 3, 0x1c, 0x1c -/* 800FF038 000FBF98 98 1E 02 E8 */ stb r0, 0x2e8(r30) -/* 800FF03C 000FBF9C BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 800FF040 000FBFA0 80 01 00 64 */ lwz r0, 0x64(r1) -/* 800FF044 000FBFA4 7C 08 03 A6 */ mtlr r0 -/* 800FF048 000FBFA8 38 21 00 60 */ addi r1, r1, 0x60 -/* 800FF04C 000FBFAC 4E 80 00 20 */ blr - -.global SetupGridClipping__12CScriptWaterFR13CStateManageri -SetupGridClipping__12CScriptWaterFR13CStateManageri: -/* 800FF050 000FBFB0 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 800FF054 000FBFB4 7C 08 02 A6 */ mflr r0 -/* 800FF058 000FBFB8 90 01 01 44 */ stw r0, 0x144(r1) -/* 800FF05C 000FBFBC DB E1 01 30 */ stfd f31, 0x130(r1) -/* 800FF060 000FBFC0 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 800FF064 000FBFC4 DB C1 01 20 */ stfd f30, 0x120(r1) -/* 800FF068 000FBFC8 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 800FF06C 000FBFCC DB A1 01 10 */ stfd f29, 0x110(r1) -/* 800FF070 000FBFD0 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 800FF074 000FBFD4 DB 81 01 00 */ stfd f28, 0x100(r1) -/* 800FF078 000FBFD8 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 800FF07C 000FBFDC DB 61 00 F0 */ stfd f27, 0xf0(r1) -/* 800FF080 000FBFE0 F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 -/* 800FF084 000FBFE4 DB 41 00 E0 */ stfd f26, 0xe0(r1) -/* 800FF088 000FBFE8 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 -/* 800FF08C 000FBFEC BF 21 00 C4 */ stmw r25, 0xc4(r1) -/* 800FF090 000FBFF0 88 03 02 E8 */ lbz r0, 0x2e8(r3) -/* 800FF094 000FBFF4 7C 7F 1B 78 */ mr r31, r3 -/* 800FF098 000FBFF8 7C 9C 23 78 */ mr r28, r4 -/* 800FF09C 000FBFFC 7C BD 2B 78 */ mr r29, r5 -/* 800FF0A0 000FC000 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 800FF0A4 000FC004 41 82 00 28 */ beq lbl_800FF0CC -/* 800FF0A8 000FC008 38 00 00 00 */ li r0, 0 -/* 800FF0AC 000FC00C 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 800FF0B0 000FC010 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 800FF0B4 000FC014 48 21 68 7D */ bl Free__7CMemoryFPCv -/* 800FF0B8 000FC018 38 60 00 00 */ li r3, 0 -/* 800FF0BC 000FC01C 90 7F 02 DC */ stw r3, 0x2dc(r31) -/* 800FF0C0 000FC020 88 1F 02 E8 */ lbz r0, 0x2e8(r31) -/* 800FF0C4 000FC024 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 800FF0C8 000FC028 98 1F 02 E8 */ stb r0, 0x2e8(r31) -lbl_800FF0CC: -/* 800FF0CC 000FC02C 80 7F 02 E4 */ lwz r3, 0x2e4(r31) -/* 800FF0D0 000FC030 80 1F 02 CC */ lwz r0, 0x2cc(r31) -/* 800FF0D4 000FC034 7C 03 00 00 */ cmpw r3, r0 -/* 800FF0D8 000FC038 40 80 04 B8 */ bge lbl_800FF590 -/* 800FF0DC 000FC03C 88 0D A3 48 */ lbz r0, lbl_805A8F08@sda21(r13) -/* 800FF0E0 000FC040 7C 00 07 75 */ extsb. r0, r0 -/* 800FF0E4 000FC044 40 82 00 40 */ bne lbl_800FF124 -/* 800FF0E8 000FC048 80 AD 89 8C */ lwz r5, lbl_805A754C@sda21(r13) -/* 800FF0EC 000FC04C 38 60 00 00 */ li r3, 0 -/* 800FF0F0 000FC050 38 80 00 01 */ li r4, 1 -/* 800FF0F4 000FC054 48 28 AE 01 */ bl __shl2i -/* 800FF0F8 000FC058 3C A0 80 47 */ lis r5, lbl_8046C520@ha -/* 800FF0FC 000FC05C 38 C0 00 01 */ li r6, 1 -/* 800FF100 000FC060 38 A5 C5 20 */ addi r5, r5, lbl_8046C520@l -/* 800FF104 000FC064 38 00 00 00 */ li r0, 0 -/* 800FF108 000FC068 90 C1 00 78 */ stw r6, 0x78(r1) -/* 800FF10C 000FC06C 90 85 00 04 */ stw r4, 4(r5) -/* 800FF110 000FC070 90 65 00 00 */ stw r3, 0(r5) -/* 800FF114 000FC074 90 05 00 0C */ stw r0, 0xc(r5) -/* 800FF118 000FC078 90 05 00 08 */ stw r0, 8(r5) -/* 800FF11C 000FC07C 90 C5 00 10 */ stw r6, 0x10(r5) -/* 800FF120 000FC080 98 CD A3 48 */ stb r6, lbl_805A8F08@sda21(r13) -lbl_800FF124: -/* 800FF124 000FC084 80 1F 02 DC */ lwz r0, 0x2dc(r31) -/* 800FF128 000FC088 28 00 00 00 */ cmplwi r0, 0 -/* 800FF12C 000FC08C 40 82 00 38 */ bne lbl_800FF164 -/* 800FF130 000FC090 80 DF 02 C8 */ lwz r6, 0x2c8(r31) -/* 800FF134 000FC094 3C 60 80 3D */ lis r3, lbl_803CEE38@ha -/* 800FF138 000FC098 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 800FF13C 000FC09C 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l -/* 800FF140 000FC0A0 38 06 00 01 */ addi r0, r6, 1 -/* 800FF144 000FC0A4 38 65 00 01 */ addi r3, r5, 1 -/* 800FF148 000FC0A8 38 A0 00 00 */ li r5, 0 -/* 800FF14C 000FC0AC 7C 63 01 D6 */ mullw r3, r3, r0 -/* 800FF150 000FC0B0 48 21 66 C9 */ bl __nwa__FUlPCcPCc -/* 800FF154 000FC0B4 7C 7B 1B 78 */ mr r27, r3 -/* 800FF158 000FC0B8 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 800FF15C 000FC0BC 48 21 67 D5 */ bl Free__7CMemoryFPCv -/* 800FF160 000FC0C0 93 7F 02 DC */ stw r27, 0x2dc(r31) -lbl_800FF164: -/* 800FF164 000FC0C4 C0 22 93 BC */ lfs f1, lbl_805AB0DC@sda21(r2) -/* 800FF168 000FC0C8 7F E4 FB 78 */ mr r4, r31 -/* 800FF16C 000FC0CC C0 02 93 C0 */ lfs f0, lbl_805AB0E0@sda21(r2) -/* 800FF170 000FC0D0 38 61 00 4C */ addi r3, r1, 0x4c -/* 800FF174 000FC0D4 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 800FF178 000FC0D8 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 800FF17C 000FC0DC D0 01 00 30 */ stfs f0, 0x30(r1) -/* 800FF180 000FC0E0 4B F7 75 4D */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800FF184 000FC0E4 C0 22 98 C8 */ lfs f1, lbl_805AB5E8@sda21(r2) -/* 800FF188 000FC0E8 7F E4 FB 78 */ mr r4, r31 -/* 800FF18C 000FC0EC C0 01 00 60 */ lfs f0, 0x60(r1) -/* 800FF190 000FC0F0 38 61 00 34 */ addi r3, r1, 0x34 -/* 800FF194 000FC0F4 EF E1 00 2A */ fadds f31, f1, f0 -/* 800FF198 000FC0F8 4B F7 75 35 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800FF19C 000FC0FC 80 9F 02 C4 */ lwz r4, 0x2c4(r31) -/* 800FF1A0 000FC100 3C 60 43 30 */ lis r3, 0x4330 -/* 800FF1A4 000FC104 80 DF 02 E4 */ lwz r6, 0x2e4(r31) -/* 800FF1A8 000FC108 38 A4 00 01 */ addi r5, r4, 1 -/* 800FF1AC 000FC10C 80 1F 02 DC */ lwz r0, 0x2dc(r31) -/* 800FF1B0 000FC110 7C 86 2B D6 */ divw r4, r6, r5 -/* 800FF1B4 000FC114 C0 3F 01 44 */ lfs f1, 0x144(r31) -/* 800FF1B8 000FC118 C0 1F 01 38 */ lfs f0, 0x138(r31) -/* 800FF1BC 000FC11C 7F C0 32 14 */ add r30, r0, r6 -/* 800FF1C0 000FC120 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 800FF1C4 000FC124 EC 21 00 28 */ fsubs f1, f1, f0 -/* 800FF1C8 000FC128 7C 04 29 D6 */ mullw r0, r4, r5 -/* 800FF1CC 000FC12C 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 800FF1D0 000FC130 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 800FF1D4 000FC134 C8 82 93 C8 */ lfd f4, lbl_805AB0E8@sda21(r2) -/* 800FF1D8 000FC138 C8 61 00 B0 */ lfd f3, 0xb0(r1) -/* 800FF1DC 000FC13C 90 61 00 B8 */ stw r3, 0xb8(r1) -/* 800FF1E0 000FC140 7C 60 30 50 */ subf r3, r0, r6 -/* 800FF1E4 000FC144 C0 42 93 C4 */ lfs f2, lbl_805AB0E4@sda21(r2) -/* 800FF1E8 000FC148 6C 60 80 00 */ xoris r0, r3, 0x8000 -/* 800FF1EC 000FC14C C0 02 98 C8 */ lfs f0, lbl_805AB5E8@sda21(r2) -/* 800FF1F0 000FC150 90 01 00 BC */ stw r0, 0xbc(r1) -/* 800FF1F4 000FC154 EC 63 20 28 */ fsubs f3, f3, f4 -/* 800FF1F8 000FC158 C0 BF 02 C0 */ lfs f5, 0x2c0(r31) -/* 800FF1FC 000FC15C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 800FF200 000FC160 C8 41 00 B8 */ lfd f2, 0xb8(r1) -/* 800FF204 000FC164 7C 7A 1B 78 */ mr r26, r3 -/* 800FF208 000FC168 C0 0D 89 90 */ lfs f0, lbl_805A7550@sda21(r13) -/* 800FF20C 000FC16C EC 42 20 28 */ fsubs f2, f2, f4 -/* 800FF210 000FC170 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 800FF214 000FC174 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 800FF218 000FC178 C3 C1 00 34 */ lfs f30, 0x34(r1) -/* 800FF21C 000FC17C EF 85 00 F2 */ fmuls f28, f5, f3 -/* 800FF220 000FC180 C3 A1 00 38 */ lfs f29, 0x38(r1) -/* 800FF224 000FC184 EF 65 00 B2 */ fmuls f27, f5, f2 -/* 800FF228 000FC188 40 80 00 0C */ bge lbl_800FF234 -/* 800FF22C 000FC18C 38 8D 89 90 */ addi r4, r13, lbl_805A7550@sda21 -/* 800FF230 000FC190 48 00 00 08 */ b lbl_800FF238 -lbl_800FF234: -/* 800FF234 000FC194 38 81 00 18 */ addi r4, r1, 0x18 -lbl_800FF238: -/* 800FF238 000FC198 3C 60 80 47 */ lis r3, lbl_8046C520@ha -/* 800FF23C 000FC19C C3 44 00 00 */ lfs f26, 0(r4) -/* 800FF240 000FC1A0 83 3F 02 E4 */ lwz r25, 0x2e4(r31) -/* 800FF244 000FC1A4 3B 63 C5 20 */ addi r27, r3, lbl_8046C520@l -/* 800FF248 000FC1A8 48 00 00 68 */ b lbl_800FF2B0 -lbl_800FF24C: -/* 800FF24C 000FC1AC EC 5B F0 2A */ fadds f2, f27, f30 -/* 800FF250 000FC1B0 D3 E1 00 24 */ stfs f31, 0x24(r1) -/* 800FF254 000FC1B4 EC 1C E8 2A */ fadds f0, f28, f29 -/* 800FF258 000FC1B8 7F 84 E3 78 */ mr r4, r28 -/* 800FF25C 000FC1BC FC 20 D0 90 */ fmr f1, f26 -/* 800FF260 000FC1C0 7F 67 DB 78 */ mr r7, r27 -/* 800FF264 000FC1C4 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 800FF268 000FC1C8 38 61 00 80 */ addi r3, r1, 0x80 -/* 800FF26C 000FC1CC 38 A1 00 1C */ addi r5, r1, 0x1c -/* 800FF270 000FC1D0 38 C1 00 28 */ addi r6, r1, 0x28 -/* 800FF274 000FC1D4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800FF278 000FC1D8 4B F4 DD 21 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 800FF27C 000FC1DC 88 01 00 A0 */ lbz r0, 0xa0(r1) -/* 800FF280 000FC1E0 3B 5A 00 01 */ addi r26, r26, 1 -/* 800FF284 000FC1E4 98 1E 00 00 */ stb r0, 0(r30) -/* 800FF288 000FC1E8 C0 1F 02 C0 */ lfs f0, 0x2c0(r31) -/* 800FF28C 000FC1EC 80 1F 02 C4 */ lwz r0, 0x2c4(r31) -/* 800FF290 000FC1F0 EF 7B 00 2A */ fadds f27, f27, f0 -/* 800FF294 000FC1F4 7C 1A 00 00 */ cmpw r26, r0 -/* 800FF298 000FC1F8 40 81 00 10 */ ble lbl_800FF2A8 -/* 800FF29C 000FC1FC EF 9C 00 2A */ fadds f28, f28, f0 -/* 800FF2A0 000FC200 C3 62 93 BC */ lfs f27, lbl_805AB0DC@sda21(r2) -/* 800FF2A4 000FC204 3B 40 00 00 */ li r26, 0 -lbl_800FF2A8: -/* 800FF2A8 000FC208 3B 39 00 01 */ addi r25, r25, 1 -/* 800FF2AC 000FC20C 3B DE 00 01 */ addi r30, r30, 1 -lbl_800FF2B0: -/* 800FF2B0 000FC210 80 1F 02 E4 */ lwz r0, 0x2e4(r31) -/* 800FF2B4 000FC214 7C 60 EA 14 */ add r3, r0, r29 -/* 800FF2B8 000FC218 90 61 00 14 */ stw r3, 0x14(r1) -/* 800FF2BC 000FC21C 80 1F 02 CC */ lwz r0, 0x2cc(r31) -/* 800FF2C0 000FC220 7C 03 00 00 */ cmpw r3, r0 -/* 800FF2C4 000FC224 40 80 00 0C */ bge lbl_800FF2D0 -/* 800FF2C8 000FC228 38 61 00 14 */ addi r3, r1, 0x14 -/* 800FF2CC 000FC22C 48 00 00 08 */ b lbl_800FF2D4 -lbl_800FF2D0: -/* 800FF2D0 000FC230 38 7F 02 CC */ addi r3, r31, 0x2cc -lbl_800FF2D4: -/* 800FF2D4 000FC234 80 03 00 00 */ lwz r0, 0(r3) -/* 800FF2D8 000FC238 7C 19 00 00 */ cmpw r25, r0 -/* 800FF2DC 000FC23C 41 80 FF 70 */ blt lbl_800FF24C -/* 800FF2E0 000FC240 80 1F 02 E4 */ lwz r0, 0x2e4(r31) -/* 800FF2E4 000FC244 7C 00 EA 14 */ add r0, r0, r29 -/* 800FF2E8 000FC248 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 800FF2EC 000FC24C 80 1F 02 E4 */ lwz r0, 0x2e4(r31) -/* 800FF2F0 000FC250 80 7F 02 CC */ lwz r3, 0x2cc(r31) -/* 800FF2F4 000FC254 7C 00 18 00 */ cmpw r0, r3 -/* 800FF2F8 000FC258 41 80 02 98 */ blt lbl_800FF590 -/* 800FF2FC 000FC25C 90 7F 02 E4 */ stw r3, 0x2e4(r31) -/* 800FF300 000FC260 3C 60 80 3D */ lis r3, lbl_803CEE38@ha -/* 800FF304 000FC264 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l -/* 800FF308 000FC268 38 A0 00 00 */ li r5, 0 -/* 800FF30C 000FC26C 80 7F 02 C4 */ lwz r3, 0x2c4(r31) -/* 800FF310 000FC270 80 1F 02 C8 */ lwz r0, 0x2c8(r31) -/* 800FF314 000FC274 7C 63 01 D6 */ mullw r3, r3, r0 -/* 800FF318 000FC278 48 21 65 01 */ bl __nwa__FUlPCcPCc -/* 800FF31C 000FC27C 7C 7C 1B 78 */ mr r28, r3 -/* 800FF320 000FC280 80 7F 02 D8 */ lwz r3, 0x2d8(r31) -/* 800FF324 000FC284 48 21 66 0D */ bl Free__7CMemoryFPCv -/* 800FF328 000FC288 93 9F 02 D8 */ stw r28, 0x2d8(r31) -/* 800FF32C 000FC28C 39 00 00 00 */ li r8, 0 -/* 800FF330 000FC290 48 00 00 90 */ b lbl_800FF3C0 -lbl_800FF334: -/* 800FF334 000FC294 80 DF 02 C4 */ lwz r6, 0x2c4(r31) -/* 800FF338 000FC298 39 20 00 00 */ li r9, 0 -/* 800FF33C 000FC29C 80 FF 02 D8 */ lwz r7, 0x2d8(r31) -/* 800FF340 000FC2A0 38 60 00 01 */ li r3, 1 -/* 800FF344 000FC2A4 38 86 00 01 */ addi r4, r6, 1 -/* 800FF348 000FC2A8 80 BF 02 DC */ lwz r5, 0x2dc(r31) -/* 800FF34C 000FC2AC 7C C8 31 D6 */ mullw r6, r8, r6 -/* 800FF350 000FC2B0 38 00 00 00 */ li r0, 0 -/* 800FF354 000FC2B4 7C 88 21 D6 */ mullw r4, r8, r4 -/* 800FF358 000FC2B8 7C C7 32 14 */ add r6, r7, r6 -/* 800FF35C 000FC2BC 7C E5 22 14 */ add r7, r5, r4 -/* 800FF360 000FC2C0 48 00 00 50 */ b lbl_800FF3B0 -lbl_800FF364: -/* 800FF364 000FC2C4 88 87 00 00 */ lbz r4, 0(r7) -/* 800FF368 000FC2C8 7C 84 07 75 */ extsb. r4, r4 -/* 800FF36C 000FC2CC 40 82 00 2C */ bne lbl_800FF398 -/* 800FF370 000FC2D0 88 87 00 01 */ lbz r4, 1(r7) -/* 800FF374 000FC2D4 7C 84 07 75 */ extsb. r4, r4 -/* 800FF378 000FC2D8 40 82 00 20 */ bne lbl_800FF398 -/* 800FF37C 000FC2DC 7C A7 2A 14 */ add r5, r7, r5 -/* 800FF380 000FC2E0 88 85 00 01 */ lbz r4, 1(r5) -/* 800FF384 000FC2E4 7C 84 07 75 */ extsb. r4, r4 -/* 800FF388 000FC2E8 40 82 00 10 */ bne lbl_800FF398 -/* 800FF38C 000FC2EC 88 85 00 02 */ lbz r4, 2(r5) -/* 800FF390 000FC2F0 7C 84 07 75 */ extsb. r4, r4 -/* 800FF394 000FC2F4 41 82 00 0C */ beq lbl_800FF3A0 -lbl_800FF398: -/* 800FF398 000FC2F8 98 66 00 00 */ stb r3, 0(r6) -/* 800FF39C 000FC2FC 48 00 00 08 */ b lbl_800FF3A4 -lbl_800FF3A0: -/* 800FF3A0 000FC300 98 06 00 00 */ stb r0, 0(r6) -lbl_800FF3A4: -/* 800FF3A4 000FC304 39 29 00 01 */ addi r9, r9, 1 -/* 800FF3A8 000FC308 38 C6 00 01 */ addi r6, r6, 1 -/* 800FF3AC 000FC30C 38 E7 00 01 */ addi r7, r7, 1 -lbl_800FF3B0: -/* 800FF3B0 000FC310 80 BF 02 C4 */ lwz r5, 0x2c4(r31) -/* 800FF3B4 000FC314 7C 09 28 00 */ cmpw r9, r5 -/* 800FF3B8 000FC318 41 80 FF AC */ blt lbl_800FF364 -/* 800FF3BC 000FC31C 39 08 00 01 */ addi r8, r8, 1 -lbl_800FF3C0: -/* 800FF3C0 000FC320 80 1F 02 C8 */ lwz r0, 0x2c8(r31) -/* 800FF3C4 000FC324 7C 08 00 00 */ cmpw r8, r0 -/* 800FF3C8 000FC328 41 80 FF 6C */ blt lbl_800FF334 -/* 800FF3CC 000FC32C 80 9F 01 B4 */ lwz r4, 0x1b4(r31) -/* 800FF3D0 000FC330 38 A0 00 2A */ li r5, 0x2a -/* 800FF3D4 000FC334 80 0D 89 94 */ lwz r0, lbl_805A7554@sda21(r13) -/* 800FF3D8 000FC338 38 6D 89 94 */ addi r3, r13, lbl_805A7554@sda21 -/* 800FF3DC 000FC33C 80 84 01 04 */ lwz r4, 0x104(r4) -/* 800FF3E0 000FC340 7C 85 23 96 */ divwu r4, r5, r4 -/* 800FF3E4 000FC344 7C 04 00 00 */ cmpw r4, r0 -/* 800FF3E8 000FC348 90 81 00 10 */ stw r4, 0x10(r1) -/* 800FF3EC 000FC34C 40 80 00 08 */ bge lbl_800FF3F4 -/* 800FF3F0 000FC350 38 61 00 10 */ addi r3, r1, 0x10 -lbl_800FF3F4: -/* 800FF3F4 000FC354 83 C3 00 00 */ lwz r30, 0(r3) -/* 800FF3F8 000FC358 3C 60 80 3D */ lis r3, lbl_803CEE38@ha -/* 800FF3FC 000FC35C 80 1F 02 C4 */ lwz r0, 0x2c4(r31) -/* 800FF400 000FC360 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l -/* 800FF404 000FC364 38 A0 00 00 */ li r5, 0 -/* 800FF408 000FC368 7C 7E 02 14 */ add r3, r30, r0 -/* 800FF40C 000FC36C 38 03 FF FF */ addi r0, r3, -1 -/* 800FF410 000FC370 7C 00 F3 D6 */ divw r0, r0, r30 -/* 800FF414 000FC374 90 1F 02 D0 */ stw r0, 0x2d0(r31) -/* 800FF418 000FC378 80 1F 02 C8 */ lwz r0, 0x2c8(r31) -/* 800FF41C 000FC37C 7C 7E 02 14 */ add r3, r30, r0 -/* 800FF420 000FC380 38 03 FF FF */ addi r0, r3, -1 -/* 800FF424 000FC384 7C 00 F3 D6 */ divw r0, r0, r30 -/* 800FF428 000FC388 90 1F 02 D4 */ stw r0, 0x2d4(r31) -/* 800FF42C 000FC38C 80 7F 02 D0 */ lwz r3, 0x2d0(r31) -/* 800FF430 000FC390 80 1F 02 D4 */ lwz r0, 0x2d4(r31) -/* 800FF434 000FC394 7C 63 01 D6 */ mullw r3, r3, r0 -/* 800FF438 000FC398 48 21 63 E1 */ bl __nwa__FUlPCcPCc -/* 800FF43C 000FC39C 7C 7C 1B 78 */ mr r28, r3 -/* 800FF440 000FC3A0 80 7F 02 E0 */ lwz r3, 0x2e0(r31) -/* 800FF444 000FC3A4 48 21 64 ED */ bl Free__7CMemoryFPCv -/* 800FF448 000FC3A8 93 9F 02 E0 */ stw r28, 0x2e0(r31) -/* 800FF44C 000FC3AC 38 80 00 00 */ li r4, 0 -/* 800FF450 000FC3B0 38 60 00 00 */ li r3, 0 -/* 800FF454 000FC3B4 48 00 01 20 */ b lbl_800FF574 -lbl_800FF458: -/* 800FF458 000FC3B8 80 BF 02 D0 */ lwz r5, 0x2d0(r31) -/* 800FF45C 000FC3BC 7C 03 F2 14 */ add r0, r3, r30 -/* 800FF460 000FC3C0 81 1F 02 E0 */ lwz r8, 0x2e0(r31) -/* 800FF464 000FC3C4 38 C0 00 00 */ li r6, 0 -/* 800FF468 000FC3C8 7C A4 29 D6 */ mullw r5, r4, r5 -/* 800FF46C 000FC3CC 38 E0 00 00 */ li r7, 0 -/* 800FF470 000FC3D0 7C A8 2A 14 */ add r5, r8, r5 -/* 800FF474 000FC3D4 48 00 00 EC */ b lbl_800FF560 -lbl_800FF478: -/* 800FF478 000FC3D8 7C 68 1B 78 */ mr r8, r3 -/* 800FF47C 000FC3DC 7D 66 F2 14 */ add r11, r6, r30 -/* 800FF480 000FC3E0 39 80 00 01 */ li r12, 1 -/* 800FF484 000FC3E4 3B 20 00 01 */ li r25, 1 -/* 800FF488 000FC3E8 48 00 00 80 */ b lbl_800FF508 -lbl_800FF48C: -/* 800FF48C 000FC3EC 55 89 06 3F */ clrlwi. r9, r12, 0x18 -/* 800FF490 000FC3F0 40 82 00 0C */ bne lbl_800FF49C -/* 800FF494 000FC3F4 57 29 06 3F */ clrlwi. r9, r25, 0x18 -/* 800FF498 000FC3F8 41 82 00 98 */ beq lbl_800FF530 -lbl_800FF49C: -/* 800FF49C 000FC3FC 7C DA 33 78 */ mr r26, r6 -/* 800FF4A0 000FC400 48 00 00 3C */ b lbl_800FF4DC -lbl_800FF4A4: -/* 800FF4A4 000FC404 7D 28 51 D6 */ mullw r9, r8, r10 -/* 800FF4A8 000FC408 81 5F 02 D8 */ lwz r10, 0x2d8(r31) -/* 800FF4AC 000FC40C 7D 3A 4A 14 */ add r9, r26, r9 -/* 800FF4B0 000FC410 7D 2A 48 AE */ lbzx r9, r10, r9 -/* 800FF4B4 000FC414 7D 29 07 75 */ extsb. r9, r9 -/* 800FF4B8 000FC418 41 82 00 14 */ beq lbl_800FF4CC -/* 800FF4BC 000FC41C 57 29 06 3F */ clrlwi. r9, r25, 0x18 -/* 800FF4C0 000FC420 39 80 00 00 */ li r12, 0 -/* 800FF4C4 000FC424 41 82 00 40 */ beq lbl_800FF504 -/* 800FF4C8 000FC428 48 00 00 10 */ b lbl_800FF4D8 -lbl_800FF4CC: -/* 800FF4CC 000FC42C 55 89 06 3F */ clrlwi. r9, r12, 0x18 -/* 800FF4D0 000FC430 3B 20 00 00 */ li r25, 0 -/* 800FF4D4 000FC434 41 82 00 30 */ beq lbl_800FF504 -lbl_800FF4D8: -/* 800FF4D8 000FC438 3B 5A 00 01 */ addi r26, r26, 1 -lbl_800FF4DC: -/* 800FF4DC 000FC43C 91 61 00 0C */ stw r11, 0xc(r1) -/* 800FF4E0 000FC440 81 5F 02 C4 */ lwz r10, 0x2c4(r31) -/* 800FF4E4 000FC444 7C 0B 50 00 */ cmpw r11, r10 -/* 800FF4E8 000FC448 40 80 00 0C */ bge lbl_800FF4F4 -/* 800FF4EC 000FC44C 39 21 00 0C */ addi r9, r1, 0xc -/* 800FF4F0 000FC450 48 00 00 08 */ b lbl_800FF4F8 -lbl_800FF4F4: -/* 800FF4F4 000FC454 39 3F 02 C4 */ addi r9, r31, 0x2c4 -lbl_800FF4F8: -/* 800FF4F8 000FC458 81 29 00 00 */ lwz r9, 0(r9) -/* 800FF4FC 000FC45C 7C 1A 48 00 */ cmpw r26, r9 -/* 800FF500 000FC460 41 80 FF A4 */ blt lbl_800FF4A4 -lbl_800FF504: -/* 800FF504 000FC464 39 08 00 01 */ addi r8, r8, 1 -lbl_800FF508: -/* 800FF508 000FC468 90 01 00 08 */ stw r0, 8(r1) -/* 800FF50C 000FC46C 81 3F 02 C8 */ lwz r9, 0x2c8(r31) -/* 800FF510 000FC470 7C 00 48 00 */ cmpw r0, r9 -/* 800FF514 000FC474 40 80 00 0C */ bge lbl_800FF520 -/* 800FF518 000FC478 39 21 00 08 */ addi r9, r1, 8 -/* 800FF51C 000FC47C 48 00 00 08 */ b lbl_800FF524 -lbl_800FF520: -/* 800FF520 000FC480 39 3F 02 C8 */ addi r9, r31, 0x2c8 -lbl_800FF524: -/* 800FF524 000FC484 81 29 00 00 */ lwz r9, 0(r9) -/* 800FF528 000FC488 7C 08 48 00 */ cmpw r8, r9 -/* 800FF52C 000FC48C 41 80 FF 60 */ blt lbl_800FF48C -lbl_800FF530: -/* 800FF530 000FC490 57 28 06 3F */ clrlwi. r8, r25, 0x18 -/* 800FF534 000FC494 41 82 00 0C */ beq lbl_800FF540 -/* 800FF538 000FC498 39 20 00 01 */ li r9, 1 -/* 800FF53C 000FC49C 48 00 00 14 */ b lbl_800FF550 -lbl_800FF540: -/* 800FF540 000FC4A0 55 88 06 3F */ clrlwi. r8, r12, 0x18 -/* 800FF544 000FC4A4 39 20 00 02 */ li r9, 2 -/* 800FF548 000FC4A8 41 82 00 08 */ beq lbl_800FF550 -/* 800FF54C 000FC4AC 39 20 00 00 */ li r9, 0 -lbl_800FF550: -/* 800FF550 000FC4B0 99 25 00 00 */ stb r9, 0(r5) -/* 800FF554 000FC4B4 7C C6 F2 14 */ add r6, r6, r30 -/* 800FF558 000FC4B8 38 E7 00 01 */ addi r7, r7, 1 -/* 800FF55C 000FC4BC 38 A5 00 01 */ addi r5, r5, 1 -lbl_800FF560: -/* 800FF560 000FC4C0 81 1F 02 D0 */ lwz r8, 0x2d0(r31) -/* 800FF564 000FC4C4 7C 07 40 00 */ cmpw r7, r8 -/* 800FF568 000FC4C8 41 80 FF 10 */ blt lbl_800FF478 -/* 800FF56C 000FC4CC 7C 63 F2 14 */ add r3, r3, r30 -/* 800FF570 000FC4D0 38 84 00 01 */ addi r4, r4, 1 -lbl_800FF574: -/* 800FF574 000FC4D4 80 1F 02 D4 */ lwz r0, 0x2d4(r31) -/* 800FF578 000FC4D8 7C 04 00 00 */ cmpw r4, r0 -/* 800FF57C 000FC4DC 41 80 FE DC */ blt lbl_800FF458 -/* 800FF580 000FC4E0 80 7F 02 DC */ lwz r3, 0x2dc(r31) -/* 800FF584 000FC4E4 48 21 63 AD */ bl Free__7CMemoryFPCv -/* 800FF588 000FC4E8 38 00 00 00 */ li r0, 0 -/* 800FF58C 000FC4EC 90 1F 02 DC */ stw r0, 0x2dc(r31) -lbl_800FF590: -/* 800FF590 000FC4F0 E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 800FF594 000FC4F4 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 800FF598 000FC4F8 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 800FF59C 000FC4FC CB C1 01 20 */ lfd f30, 0x120(r1) -/* 800FF5A0 000FC500 E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 800FF5A4 000FC504 CB A1 01 10 */ lfd f29, 0x110(r1) -/* 800FF5A8 000FC508 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 800FF5AC 000FC50C CB 81 01 00 */ lfd f28, 0x100(r1) -/* 800FF5B0 000FC510 E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 -/* 800FF5B4 000FC514 CB 61 00 F0 */ lfd f27, 0xf0(r1) -/* 800FF5B8 000FC518 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 -/* 800FF5BC 000FC51C CB 41 00 E0 */ lfd f26, 0xe0(r1) -/* 800FF5C0 000FC520 BB 21 00 C4 */ lmw r25, 0xc4(r1) -/* 800FF5C4 000FC524 80 01 01 44 */ lwz r0, 0x144(r1) -/* 800FF5C8 000FC528 7C 08 03 A6 */ mtlr r0 -/* 800FF5CC 000FC52C 38 21 01 40 */ addi r1, r1, 0x140 -/* 800FF5D0 000FC530 4E 80 00 20 */ blr - -.global SetMorphing__12CScriptWaterFb -SetMorphing__12CScriptWaterFb: -/* 800FF5D4 000FC534 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FF5D8 000FC538 7C 08 02 A6 */ mflr r0 -/* 800FF5DC 000FC53C 54 84 06 3E */ clrlwi r4, r4, 0x18 -/* 800FF5E0 000FC540 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FF5E4 000FC544 88 A3 02 E8 */ lbz r5, 0x2e8(r3) -/* 800FF5E8 000FC548 54 A0 DF FE */ rlwinm r0, r5, 0x1b, 0x1f, 0x1f -/* 800FF5EC 000FC54C 7C 04 00 40 */ cmplw r4, r0 -/* 800FF5F0 000FC550 41 82 00 18 */ beq lbl_800FF608 -/* 800FF5F4 000FC554 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a -/* 800FF5F8 000FC558 7C 80 00 34 */ cntlzw r0, r4 -/* 800FF5FC 000FC55C 98 A3 02 E8 */ stb r5, 0x2e8(r3) -/* 800FF600 000FC560 54 04 D9 7E */ srwi r4, r0, 5 -/* 800FF604 000FC564 4B FF F7 B1 */ bl SetupGrid__12CScriptWaterFb -lbl_800FF608: -/* 800FF608 000FC568 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FF60C 000FC56C 7C 08 03 A6 */ mtlr r0 -/* 800FF610 000FC570 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FF614 000FC574 4E 80 00 20 */ blr - -.global GetCollisionResponseType__12CScriptWaterCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__12CScriptWaterCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 800FF618 000FC578 38 60 00 08 */ li r3, 8 -/* 800FF61C 000FC57C 4E 80 00 20 */ blr - -.global GetSplashEffectScale__12CScriptWaterCFf -GetSplashEffectScale__12CScriptWaterCFf: -/* 800FF620 000FC580 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 800FF624 000FC584 7C 08 02 A6 */ mflr r0 -/* 800FF628 000FC588 90 01 00 24 */ stw r0, 0x24(r1) -/* 800FF62C 000FC58C DB E1 00 10 */ stfd f31, 0x10(r1) -/* 800FF630 000FC590 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 800FF634 000FC594 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FF638 000FC598 FF E0 08 90 */ fmr f31, f1 -/* 800FF63C 000FC59C C0 42 93 D0 */ lfs f2, lbl_805AB0F0@sda21(r2) -/* 800FF640 000FC5A0 C0 02 93 D4 */ lfs f0, lbl_805AB0F4@sda21(r2) -/* 800FF644 000FC5A4 EC 5F 10 28 */ fsubs f2, f31, f2 -/* 800FF648 000FC5A8 FC 40 12 10 */ fabs f2, f2 -/* 800FF64C 000FC5AC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 800FF650 000FC5B0 40 80 00 14 */ bge lbl_800FF664 -/* 800FF654 000FC5B4 3C 60 80 3D */ lis r3, lbl_803CEE20@ha -/* 800FF658 000FC5B8 38 63 EE 20 */ addi r3, r3, lbl_803CEE20@l -/* 800FF65C 000FC5BC C0 23 00 14 */ lfs f1, 0x14(r3) -/* 800FF660 000FC5C0 48 00 00 48 */ b lbl_800FF6A8 -lbl_800FF664: -/* 800FF664 000FC5C4 48 00 00 D1 */ bl GetSplashIndex__12CScriptWaterCFf -/* 800FF668 000FC5C8 C0 02 93 D8 */ lfs f0, lbl_805AB0F8@sda21(r2) -/* 800FF66C 000FC5CC 7C 7F 1B 78 */ mr r31, r3 -/* 800FF670 000FC5D0 EF FF 00 32 */ fmuls f31, f31, f0 -/* 800FF674 000FC5D4 FC 20 F8 90 */ fmr f1, f31 -/* 800FF678 000FC5D8 48 21 5C 25 */ bl FloorF__5CMathFf -/* 800FF67C 000FC5DC 3C 60 80 3D */ lis r3, lbl_803CEE20@ha -/* 800FF680 000FC5E0 57 E0 18 38 */ slwi r0, r31, 3 -/* 800FF684 000FC5E4 38 83 EE 20 */ addi r4, r3, lbl_803CEE20@l -/* 800FF688 000FC5E8 EF FF 08 28 */ fsubs f31, f31, f1 -/* 800FF68C 000FC5EC 7C 64 02 14 */ add r3, r4, r0 -/* 800FF690 000FC5F0 C0 22 93 D0 */ lfs f1, lbl_805AB0F0@sda21(r2) -/* 800FF694 000FC5F4 C0 03 00 04 */ lfs f0, 4(r3) -/* 800FF698 000FC5F8 EC 41 F8 28 */ fsubs f2, f1, f31 -/* 800FF69C 000FC5FC 7C 24 04 2E */ lfsx f1, r4, r0 -/* 800FF6A0 000FC600 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 800FF6A4 000FC604 EC 22 00 7A */ fmadds f1, f2, f1, f0 -lbl_800FF6A8: -/* 800FF6A8 000FC608 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 800FF6AC 000FC60C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 800FF6B0 000FC610 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 800FF6B4 000FC614 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FF6B8 000FC618 7C 08 03 A6 */ mtlr r0 -/* 800FF6BC 000FC61C 38 21 00 20 */ addi r1, r1, 0x20 -/* 800FF6C0 000FC620 4E 80 00 20 */ blr - -.global GetSplashSound__12CScriptWaterCFf -GetSplashSound__12CScriptWaterCFf: -/* 800FF6C4 000FC624 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FF6C8 000FC628 7C 08 02 A6 */ mflr r0 -/* 800FF6CC 000FC62C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FF6D0 000FC630 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FF6D4 000FC634 7C 7F 1B 78 */ mr r31, r3 -/* 800FF6D8 000FC638 48 00 00 5D */ bl GetSplashIndex__12CScriptWaterCFf -/* 800FF6DC 000FC63C 54 60 08 3C */ slwi r0, r3, 1 -/* 800FF6E0 000FC640 7C 7F 02 14 */ add r3, r31, r0 -/* 800FF6E4 000FC644 A0 63 02 9C */ lhz r3, 0x29c(r3) -/* 800FF6E8 000FC648 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FF6EC 000FC64C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FF6F0 000FC650 7C 08 03 A6 */ mtlr r0 -/* 800FF6F4 000FC654 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FF6F8 000FC658 4E 80 00 20 */ blr - -.global GetSplashEffect__12CScriptWaterCFf -GetSplashEffect__12CScriptWaterCFf: -/* 800FF6FC 000FC65C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FF700 000FC660 7C 08 02 A6 */ mflr r0 -/* 800FF704 000FC664 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FF708 000FC668 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FF70C 000FC66C 7C 7F 1B 78 */ mr r31, r3 -/* 800FF710 000FC670 48 00 00 25 */ bl GetSplashIndex__12CScriptWaterCFf -/* 800FF714 000FC674 54 60 20 36 */ slwi r0, r3, 4 -/* 800FF718 000FC678 7C 7F 02 14 */ add r3, r31, r0 -/* 800FF71C 000FC67C 38 63 02 68 */ addi r3, r3, 0x268 -/* 800FF720 000FC680 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FF724 000FC684 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FF728 000FC688 7C 08 03 A6 */ mtlr r0 -/* 800FF72C 000FC68C 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FF730 000FC690 4E 80 00 20 */ blr - -.global GetSplashIndex__12CScriptWaterCFf -GetSplashIndex__12CScriptWaterCFf: -/* 800FF734 000FC694 C0 02 93 D8 */ lfs f0, lbl_805AB0F8@sda21(r2) -/* 800FF738 000FC698 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FF73C 000FC69C EC 01 00 32 */ fmuls f0, f1, f0 -/* 800FF740 000FC6A0 FC 00 00 1E */ fctiwz f0, f0 -/* 800FF744 000FC6A4 D8 01 00 08 */ stfd f0, 8(r1) -/* 800FF748 000FC6A8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 800FF74C 000FC6AC 2C 03 00 03 */ cmpwi r3, 3 -/* 800FF750 000FC6B0 41 80 00 08 */ blt lbl_800FF758 -/* 800FF754 000FC6B4 38 63 FF FF */ addi r3, r3, -1 -lbl_800FF758: -/* 800FF758 000FC6B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FF75C 000FC6BC 4E 80 00 20 */ blr - -.global Render__12CScriptWaterCFRC13CStateManager -Render__12CScriptWaterCFRC13CStateManager: -/* 800FF760 000FC6C0 94 21 FD 60 */ stwu r1, -0x2a0(r1) -/* 800FF764 000FC6C4 7C 08 02 A6 */ mflr r0 -/* 800FF768 000FC6C8 90 01 02 A4 */ stw r0, 0x2a4(r1) -/* 800FF76C 000FC6CC DB E1 02 90 */ stfd f31, 0x290(r1) -/* 800FF770 000FC6D0 F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 -/* 800FF774 000FC6D4 93 E1 02 8C */ stw r31, 0x28c(r1) -/* 800FF778 000FC6D8 93 C1 02 88 */ stw r30, 0x288(r1) -/* 800FF77C 000FC6DC 93 A1 02 84 */ stw r29, 0x284(r1) -/* 800FF780 000FC6E0 88 03 00 30 */ lbz r0, 0x30(r3) -/* 800FF784 000FC6E4 7C 7E 1B 78 */ mr r30, r3 -/* 800FF788 000FC6E8 7C 9F 23 78 */ mr r31, r4 -/* 800FF78C 000FC6EC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FF790 000FC6F0 41 82 03 74 */ beq lbl_800FFB04 -/* 800FF794 000FC6F4 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 800FF798 000FC6F8 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800FF79C 000FC6FC 40 82 03 68 */ bne lbl_800FFB04 -/* 800FF7A0 000FC700 80 7E 00 90 */ lwz r3, 0x90(r30) -/* 800FF7A4 000FC704 48 00 55 E5 */ bl ActivateLights__12CActorLightsCFv -/* 800FF7A8 000FC708 C0 3E 00 B0 */ lfs f1, 0xb0(r30) -/* 800FF7AC 000FC70C 38 61 01 EC */ addi r3, r1, 0x1ec -/* 800FF7B0 000FC710 C0 1E 00 A4 */ lfs f0, 0xa4(r30) -/* 800FF7B4 000FC714 C0 BE 00 60 */ lfs f5, 0x60(r30) -/* 800FF7B8 000FC718 EC 61 00 2A */ fadds f3, f1, f0 -/* 800FF7BC 000FC71C C0 82 93 DC */ lfs f4, lbl_805AB0FC@sda21(r2) -/* 800FF7C0 000FC720 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 800FF7C4 000FC724 FC 00 28 50 */ fneg f0, f5 -/* 800FF7C8 000FC728 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 800FF7CC 000FC72C EF E4 28 F8 */ fmsubs f31, f4, f3, f5 -/* 800FF7D0 000FC730 FC 20 08 50 */ fneg f1, f1 -/* 800FF7D4 000FC734 FC 40 10 50 */ fneg f2, f2 -/* 800FF7D8 000FC738 EC 60 F8 28 */ fsubs f3, f0, f31 -/* 800FF7DC 000FC73C 48 21 39 AD */ bl Translate__12CTransform4fFfff -/* 800FF7E0 000FC740 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 800FF7E4 000FC744 38 9E 00 9C */ addi r4, r30, 0x9c -/* 800FF7E8 000FC748 38 A1 01 EC */ addi r5, r1, 0x1ec -/* 800FF7EC 000FC74C 48 23 81 11 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 800FF7F0 000FC750 C0 A1 00 E4 */ lfs f5, 0xe4(r1) -/* 800FF7F4 000FC754 38 61 02 4C */ addi r3, r1, 0x24c -/* 800FF7F8 000FC758 C0 81 00 E8 */ lfs f4, 0xe8(r1) -/* 800FF7FC 000FC75C 38 9E 00 34 */ addi r4, r30, 0x34 -/* 800FF800 000FC760 C0 61 00 EC */ lfs f3, 0xec(r1) -/* 800FF804 000FC764 C0 41 00 F0 */ lfs f2, 0xf0(r1) -/* 800FF808 000FC768 C0 21 00 F4 */ lfs f1, 0xf4(r1) -/* 800FF80C 000FC76C C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 800FF810 000FC770 D0 A1 01 44 */ stfs f5, 0x144(r1) -/* 800FF814 000FC774 D0 81 01 48 */ stfs f4, 0x148(r1) -/* 800FF818 000FC778 D0 61 01 4C */ stfs f3, 0x14c(r1) -/* 800FF81C 000FC77C D0 41 01 50 */ stfs f2, 0x150(r1) -/* 800FF820 000FC780 D0 21 01 54 */ stfs f1, 0x154(r1) -/* 800FF824 000FC784 D0 01 01 58 */ stfs f0, 0x158(r1) -/* 800FF828 000FC788 48 21 33 4D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800FF82C 000FC78C C0 01 02 78 */ lfs f0, 0x278(r1) -/* 800FF830 000FC790 38 61 00 8C */ addi r3, r1, 0x8c -/* 800FF834 000FC794 80 DF 08 CC */ lwz r6, 0x8cc(r31) -/* 800FF838 000FC798 EC 00 F8 2A */ fadds f0, f0, f31 -/* 800FF83C 000FC79C 80 BF 08 50 */ lwz r5, 0x850(r31) -/* 800FF840 000FC7A0 54 C4 18 38 */ slwi r4, r6, 3 -/* 800FF844 000FC7A4 90 C1 00 30 */ stw r6, 0x30(r1) -/* 800FF848 000FC7A8 38 04 00 04 */ addi r0, r4, 4 -/* 800FF84C 000FC7AC D0 01 02 78 */ stfs f0, 0x278(r1) -/* 800FF850 000FC7B0 80 85 00 20 */ lwz r4, 0x20(r5) -/* 800FF854 000FC7B4 90 C1 00 34 */ stw r6, 0x34(r1) -/* 800FF858 000FC7B8 7C 84 00 2E */ lwzx r4, r4, r0 -/* 800FF85C 000FC7BC 38 84 00 6C */ addi r4, r4, 0x6c -/* 800FF860 000FC7C0 48 23 7D AD */ bl GetCenterPoint__6CAABoxCFv -/* 800FF864 000FC7C4 80 9F 08 7C */ lwz r4, 0x87c(r31) -/* 800FF868 000FC7C8 3B A1 00 8C */ addi r29, r1, 0x8c -/* 800FF86C 000FC7CC 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800FF870 000FC7D0 48 00 02 C5 */ bl "__ct__Q24rstl33optional_object<14CRippleManager>FRC14CRippleManager" -/* 800FF874 000FC7D4 A0 DE 00 08 */ lhz r6, 8(r30) -/* 800FF878 000FC7D8 38 E1 00 24 */ addi r7, r1, 0x24 -/* 800FF87C 000FC7DC 81 7E 00 04 */ lwz r11, 4(r30) -/* 800FF880 000FC7E0 7F E4 FB 78 */ mr r4, r31 -/* 800FF884 000FC7E4 B0 C1 00 24 */ sth r6, 0x24(r1) -/* 800FF888 000FC7E8 38 A1 01 44 */ addi r5, r1, 0x144 -/* 800FF88C 000FC7EC 81 9E 02 D8 */ lwz r12, 0x2d8(r30) -/* 800FF890 000FC7F0 55 63 18 38 */ slwi r3, r11, 3 -/* 800FF894 000FC7F4 38 03 00 04 */ addi r0, r3, 4 -/* 800FF898 000FC7F8 B0 C1 00 20 */ sth r6, 0x20(r1) -/* 800FF89C 000FC7FC 38 C1 02 4C */ addi r6, r1, 0x24c -/* 800FF8A0 000FC800 39 3E 01 50 */ addi r9, r30, 0x150 -/* 800FF8A4 000FC804 90 E1 00 08 */ stw r7, 8(r1) -/* 800FF8A8 000FC808 39 41 00 C8 */ addi r10, r1, 0xc8 -/* 800FF8AC 000FC80C 39 00 00 00 */ li r8, 0 -/* 800FF8B0 000FC810 91 81 00 0C */ stw r12, 0xc(r1) -/* 800FF8B4 000FC814 80 7E 02 C4 */ lwz r3, 0x2c4(r30) -/* 800FF8B8 000FC818 91 61 00 28 */ stw r11, 0x28(r1) -/* 800FF8BC 000FC81C 90 61 00 10 */ stw r3, 0x10(r1) -/* 800FF8C0 000FC820 80 7E 02 C8 */ lwz r3, 0x2c8(r30) -/* 800FF8C4 000FC824 91 61 00 2C */ stw r11, 0x2c(r1) -/* 800FF8C8 000FC828 90 61 00 14 */ stw r3, 0x14(r1) -/* 800FF8CC 000FC82C 93 A1 00 18 */ stw r29, 0x18(r1) -/* 800FF8D0 000FC830 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 800FF8D4 000FC834 80 FF 08 50 */ lwz r7, 0x850(r31) -/* 800FF8D8 000FC838 81 83 00 00 */ lwz r12, 0(r3) -/* 800FF8DC 000FC83C 80 E7 00 20 */ lwz r7, 0x20(r7) -/* 800FF8E0 000FC840 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 800FF8E4 000FC844 7C E7 00 2E */ lwzx r7, r7, r0 -/* 800FF8E8 000FC848 C0 3E 02 BC */ lfs f1, 0x2bc(r30) -/* 800FF8EC 000FC84C 38 E7 00 0C */ addi r7, r7, 0xc -/* 800FF8F0 000FC850 7D 89 03 A6 */ mtctr r12 -/* 800FF8F4 000FC854 4E 80 04 21 */ bctrl -/* 800FF8F8 000FC858 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 800FF8FC 000FC85C 38 80 FF FF */ li r4, -1 -/* 800FF900 000FC860 4B FF AF 41 */ bl sub_800fa840 -/* 800FF904 000FC864 C0 3E 02 14 */ lfs f1, 0x214(r30) -/* 800FF908 000FC868 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) -/* 800FF90C 000FC86C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 800FF910 000FC870 41 82 01 F0 */ beq lbl_800FFB00 -/* 800FF914 000FC874 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 800FF918 000FC878 7F E4 FB 78 */ mr r4, r31 -/* 800FF91C 000FC87C 80 63 00 00 */ lwz r3, 0(r3) -/* 800FF920 000FC880 4B F9 1B FD */ bl CanVisorSeeFog__12CPlayerStateCFRC13CStateManager -/* 800FF924 000FC884 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 800FF928 000FC888 41 82 01 D8 */ beq lbl_800FFB00 -/* 800FF92C 000FC88C 88 02 98 F0 */ lbz r0, lbl_805AB610@sda21(r2) -/* 800FF930 000FC890 28 00 00 00 */ cmplwi r0, 0 -/* 800FF934 000FC894 41 82 01 CC */ beq lbl_800FFB00 -/* 800FF938 000FC898 48 20 A5 A9 */ bl GetSecondsMod900__9CGraphicsFv -/* 800FF93C 000FC89C C0 1E 02 24 */ lfs f0, 0x224(r30) -/* 800FF940 000FC8A0 EC 20 00 72 */ fmuls f1, f0, f1 -/* 800FF944 000FC8A4 48 21 54 AD */ bl FastSinR__5CMathFf -/* 800FF948 000FC8A8 C0 5E 02 18 */ lfs f2, 0x218(r30) -/* 800FF94C 000FC8AC 7F E3 FB 78 */ mr r3, r31 -/* 800FF950 000FC8B0 C0 1E 02 14 */ lfs f0, 0x214(r30) -/* 800FF954 000FC8B4 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 800FF958 000FC8B8 4B F4 44 89 */ bl IntegrateVisorFog__13CStateManagerFf -/* 800FF95C 000FC8BC FF E0 08 90 */ fmr f31, f1 -/* 800FF960 000FC8C0 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) -/* 800FF964 000FC8C4 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 800FF968 000FC8C8 40 81 01 98 */ ble lbl_800FFB00 -/* 800FF96C 000FC8CC 7F C4 F3 78 */ mr r4, r30 -/* 800FF970 000FC8D0 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 800FF974 000FC8D4 4B F7 6D 59 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800FF978 000FC8D8 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 800FF97C 000FC8DC 38 61 00 98 */ addi r3, r1, 0x98 -/* 800FF980 000FC8E0 C0 A1 00 B0 */ lfs f5, 0xb0(r1) -/* 800FF984 000FC8E4 38 81 00 80 */ addi r4, r1, 0x80 -/* 800FF988 000FC8E8 EC DF 00 2A */ fadds f6, f31, f0 -/* 800FF98C 000FC8EC C0 81 00 B4 */ lfs f4, 0xb4(r1) -/* 800FF990 000FC8F0 C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 800FF994 000FC8F4 38 A1 00 74 */ addi r5, r1, 0x74 -/* 800FF998 000FC8F8 C0 21 00 C0 */ lfs f1, 0xc0(r1) -/* 800FF99C 000FC8FC C0 61 00 B8 */ lfs f3, 0xb8(r1) -/* 800FF9A0 000FC900 D0 A1 01 2C */ stfs f5, 0x12c(r1) -/* 800FF9A4 000FC904 D0 81 01 30 */ stfs f4, 0x130(r1) -/* 800FF9A8 000FC908 D0 61 01 34 */ stfs f3, 0x134(r1) -/* 800FF9AC 000FC90C D0 41 01 38 */ stfs f2, 0x138(r1) -/* 800FF9B0 000FC910 D0 21 01 3C */ stfs f1, 0x13c(r1) -/* 800FF9B4 000FC914 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 800FF9B8 000FC918 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 800FF9BC 000FC91C D0 21 00 78 */ stfs f1, 0x78(r1) -/* 800FF9C0 000FC920 D0 C1 00 7C */ stfs f6, 0x7c(r1) -/* 800FF9C4 000FC924 D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 800FF9C8 000FC928 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 800FF9CC 000FC92C D0 01 00 88 */ stfs f0, 0x88(r1) -/* 800FF9D0 000FC930 48 23 8B 39 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800FF9D4 000FC934 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 800FF9D8 000FC938 38 61 01 5C */ addi r3, r1, 0x15c -/* 800FF9DC 000FC93C C0 A1 00 A4 */ lfs f5, 0xa4(r1) -/* 800FF9E0 000FC940 38 81 00 5C */ addi r4, r1, 0x5c -/* 800FF9E4 000FC944 C0 E1 00 9C */ lfs f7, 0x9c(r1) -/* 800FF9E8 000FC948 C0 81 00 A8 */ lfs f4, 0xa8(r1) -/* 800FF9EC 000FC94C EC 45 00 28 */ fsubs f2, f5, f0 -/* 800FF9F0 000FC950 C0 C1 00 A0 */ lfs f6, 0xa0(r1) -/* 800FF9F4 000FC954 C0 61 00 AC */ lfs f3, 0xac(r1) -/* 800FF9F8 000FC958 ED 24 38 28 */ fsubs f9, f4, f7 -/* 800FF9FC 000FC95C C0 22 93 DC */ lfs f1, lbl_805AB0FC@sda21(r2) -/* 800FFA00 000FC960 ED 03 30 28 */ fsubs f8, f3, f6 -/* 800FFA04 000FC964 D0 01 01 14 */ stfs f0, 0x114(r1) -/* 800FFA08 000FC968 ED 41 02 72 */ fmuls f10, f1, f9 -/* 800FFA0C 000FC96C EC 01 00 B2 */ fmuls f0, f1, f2 -/* 800FFA10 000FC970 D0 E1 01 18 */ stfs f7, 0x118(r1) -/* 800FFA14 000FC974 EC 21 02 32 */ fmuls f1, f1, f8 -/* 800FFA18 000FC978 D0 C1 01 1C */ stfs f6, 0x11c(r1) -/* 800FFA1C 000FC97C D0 A1 01 20 */ stfs f5, 0x120(r1) -/* 800FFA20 000FC980 D0 81 01 24 */ stfs f4, 0x124(r1) -/* 800FFA24 000FC984 D0 61 01 28 */ stfs f3, 0x128(r1) -/* 800FFA28 000FC988 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 800FFA2C 000FC98C D1 21 00 54 */ stfs f9, 0x54(r1) -/* 800FFA30 000FC990 D1 01 00 58 */ stfs f8, 0x58(r1) -/* 800FFA34 000FC994 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 800FFA38 000FC998 D1 41 00 60 */ stfs f10, 0x60(r1) -/* 800FFA3C 000FC99C D0 21 00 64 */ stfs f1, 0x64(r1) -/* 800FFA40 000FC9A0 48 21 37 85 */ bl Scale__12CTransform4fFRC9CVector3f -/* 800FFA44 000FC9A4 38 61 00 68 */ addi r3, r1, 0x68 -/* 800FFA48 000FC9A8 38 81 01 14 */ addi r4, r1, 0x114 -/* 800FFA4C 000FC9AC 48 23 7B C1 */ bl GetCenterPoint__6CAABoxCFv -/* 800FFA50 000FC9B0 38 61 01 8C */ addi r3, r1, 0x18c -/* 800FFA54 000FC9B4 38 81 00 68 */ addi r4, r1, 0x68 -/* 800FFA58 000FC9B8 48 21 36 E9 */ bl Translate__12CTransform4fFRC9CVector3f -/* 800FFA5C 000FC9BC 38 61 01 BC */ addi r3, r1, 0x1bc -/* 800FFA60 000FC9C0 38 81 01 8C */ addi r4, r1, 0x18c -/* 800FFA64 000FC9C4 38 A1 01 5C */ addi r5, r1, 0x15c -/* 800FFA68 000FC9C8 48 21 2E E9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 800FFA6C 000FC9CC 38 61 02 1C */ addi r3, r1, 0x21c -/* 800FFA70 000FC9D0 38 81 01 BC */ addi r4, r1, 0x1bc -/* 800FFA74 000FC9D4 48 21 31 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 800FFA78 000FC9D8 C0 22 93 D0 */ lfs f1, lbl_805AB0F0@sda21(r2) -/* 800FFA7C 000FC9DC 38 61 00 FC */ addi r3, r1, 0xfc -/* 800FFA80 000FC9E0 C0 02 93 C0 */ lfs f0, lbl_805AB0E0@sda21(r2) -/* 800FFA84 000FC9E4 38 81 00 44 */ addi r4, r1, 0x44 -/* 800FFA88 000FC9E8 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 800FFA8C 000FC9EC 38 A1 00 38 */ addi r5, r1, 0x38 -/* 800FFA90 000FC9F0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 800FFA94 000FC9F4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 800FFA98 000FC9F8 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 800FFA9C 000FC9FC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 800FFAA0 000FCA00 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 800FFAA4 000FCA04 48 23 8A 65 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 800FFAA8 000FCA08 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800FFAAC 000FCA0C 38 81 02 1C */ addi r4, r1, 0x21c -/* 800FFAB0 000FCA10 81 83 00 00 */ lwz r12, 0(r3) -/* 800FFAB4 000FCA14 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 800FFAB8 000FCA18 7D 89 03 A6 */ mtctr r12 -/* 800FFABC 000FCA1C 4E 80 04 21 */ bctrl -/* 800FFAC0 000FCA20 48 24 A4 ED */ bl White__6CColorFv -/* 800FFAC4 000FCA24 7C 64 1B 78 */ mr r4, r3 -/* 800FFAC8 000FCA28 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800FFACC 000FCA2C 81 83 00 00 */ lwz r12, 0(r3) -/* 800FFAD0 000FCA30 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 800FFAD4 000FCA34 7D 89 03 A6 */ mtctr r12 -/* 800FFAD8 000FCA38 4E 80 04 21 */ bctrl -/* 800FFADC 000FCA3C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 800FFAE0 000FCA40 38 9E 02 28 */ addi r4, r30, 0x228 -/* 800FFAE4 000FCA44 38 A1 00 FC */ addi r5, r1, 0xfc -/* 800FFAE8 000FCA48 38 C0 00 00 */ li r6, 0 -/* 800FFAEC 000FCA4C 81 83 00 00 */ lwz r12, 0(r3) -/* 800FFAF0 000FCA50 38 E0 00 00 */ li r7, 0 -/* 800FFAF4 000FCA54 81 8C 00 E4 */ lwz r12, 0xe4(r12) -/* 800FFAF8 000FCA58 7D 89 03 A6 */ mtctr r12 -/* 800FFAFC 000FCA5C 4E 80 04 21 */ bctrl -lbl_800FFB00: -/* 800FFB00 000FCA60 48 20 CE 7D */ bl DisableAllLights__9CGraphicsFv -lbl_800FFB04: -/* 800FFB04 000FCA64 7F C3 F3 78 */ mr r3, r30 -/* 800FFB08 000FCA68 7F E4 FB 78 */ mr r4, r31 -/* 800FFB0C 000FCA6C 4B F5 4C 99 */ bl Render__6CActorCFRC13CStateManager -/* 800FFB10 000FCA70 E3 E1 02 98 */ psq_l f31, 664(r1), 0, qr0 -/* 800FFB14 000FCA74 80 01 02 A4 */ lwz r0, 0x2a4(r1) -/* 800FFB18 000FCA78 CB E1 02 90 */ lfd f31, 0x290(r1) -/* 800FFB1C 000FCA7C 83 E1 02 8C */ lwz r31, 0x28c(r1) -/* 800FFB20 000FCA80 83 C1 02 88 */ lwz r30, 0x288(r1) -/* 800FFB24 000FCA84 83 A1 02 84 */ lwz r29, 0x284(r1) -/* 800FFB28 000FCA88 7C 08 03 A6 */ mtlr r0 -/* 800FFB2C 000FCA8C 38 21 02 A0 */ addi r1, r1, 0x2a0 -/* 800FFB30 000FCA90 4E 80 00 20 */ blr - -.global "__ct__Q24rstl33optional_object<14CRippleManager>FRC14CRippleManager" -"__ct__Q24rstl33optional_object<14CRippleManager>FRC14CRippleManager": -/* 800FFB34 000FCA94 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FFB38 000FCA98 7C 08 02 A6 */ mflr r0 -/* 800FFB3C 000FCA9C 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FFB40 000FCAA0 38 00 00 01 */ li r0, 1 -/* 800FFB44 000FCAA4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FFB48 000FCAA8 7C 7F 1B 78 */ mr r31, r3 -/* 800FFB4C 000FCAAC 98 03 00 18 */ stb r0, 0x18(r3) -/* 800FFB50 000FCAB0 48 00 00 1D */ bl sub_800ffb6c -/* 800FFB54 000FCAB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FFB58 000FCAB8 7F E3 FB 78 */ mr r3, r31 -/* 800FFB5C 000FCABC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FFB60 000FCAC0 7C 08 03 A6 */ mtlr r0 -/* 800FFB64 000FCAC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FFB68 000FCAC8 4E 80 00 20 */ blr - -.global sub_800ffb6c -sub_800ffb6c: -/* 800FFB6C 000FCACC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FFB70 000FCAD0 7C 08 02 A6 */ mflr r0 -/* 800FFB74 000FCAD4 28 03 00 00 */ cmplwi r3, 0 -/* 800FFB78 000FCAD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FFB7C 000FCADC 41 82 00 08 */ beq lbl_800FFB84 -/* 800FFB80 000FCAE0 48 00 00 15 */ bl __ct__14CRippleManagerFRC14CRippleManager -lbl_800FFB84: -/* 800FFB84 000FCAE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FFB88 000FCAE8 7C 08 03 A6 */ mtlr r0 -/* 800FFB8C 000FCAEC 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FFB90 000FCAF0 4E 80 00 20 */ blr - -.global __ct__14CRippleManagerFRC14CRippleManager -__ct__14CRippleManagerFRC14CRippleManager: -/* 800FFB94 000FCAF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FFB98 000FCAF8 7C 08 02 A6 */ mflr r0 -/* 800FFB9C 000FCAFC 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FFBA0 000FCB00 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FFBA4 000FCB04 7C 9F 23 78 */ mr r31, r4 -/* 800FFBA8 000FCB08 93 C1 00 08 */ stw r30, 8(r1) -/* 800FFBAC 000FCB0C 7C 7E 1B 78 */ mr r30, r3 -/* 800FFBB0 000FCB10 38 7E 00 04 */ addi r3, r30, 4 -/* 800FFBB4 000FCB14 C0 04 00 00 */ lfs f0, 0(r4) -/* 800FFBB8 000FCB18 38 9F 00 04 */ addi r4, r31, 4 -/* 800FFBBC 000FCB1C D0 1E 00 00 */ stfs f0, 0(r30) -/* 800FFBC0 000FCB20 48 00 00 29 */ bl sub_800ffbe8 -/* 800FFBC4 000FCB24 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 800FFBC8 000FCB28 7F C3 F3 78 */ mr r3, r30 -/* 800FFBCC 000FCB2C D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 800FFBD0 000FCB30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FFBD4 000FCB34 83 C1 00 08 */ lwz r30, 8(r1) -/* 800FFBD8 000FCB38 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FFBDC 000FCB3C 7C 08 03 A6 */ mtlr r0 -/* 800FFBE0 000FCB40 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FFBE4 000FCB44 4E 80 00 20 */ blr - -.global sub_800ffbe8 -sub_800ffbe8: -/* 800FFBE8 000FCB48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 800FFBEC 000FCB4C 7C 08 02 A6 */ mflr r0 -/* 800FFBF0 000FCB50 90 01 00 14 */ stw r0, 0x14(r1) -/* 800FFBF4 000FCB54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 800FFBF8 000FCB58 7C 9F 23 78 */ mr r31, r4 -/* 800FFBFC 000FCB5C 93 C1 00 08 */ stw r30, 8(r1) -/* 800FFC00 000FCB60 7C 7E 1B 78 */ mr r30, r3 -/* 800FFC04 000FCB64 80 04 00 04 */ lwz r0, 4(r4) -/* 800FFC08 000FCB68 90 03 00 04 */ stw r0, 4(r3) -/* 800FFC0C 000FCB6C 80 04 00 08 */ lwz r0, 8(r4) -/* 800FFC10 000FCB70 90 03 00 08 */ stw r0, 8(r3) -/* 800FFC14 000FCB74 80 04 00 04 */ lwz r0, 4(r4) -/* 800FFC18 000FCB78 2C 00 00 00 */ cmpwi r0, 0 -/* 800FFC1C 000FCB7C 40 82 00 1C */ bne lbl_800FFC38 -/* 800FFC20 000FCB80 80 1F 00 08 */ lwz r0, 8(r31) -/* 800FFC24 000FCB84 2C 00 00 00 */ cmpwi r0, 0 -/* 800FFC28 000FCB88 40 82 00 10 */ bne lbl_800FFC38 -/* 800FFC2C 000FCB8C 38 00 00 00 */ li r0, 0 -/* 800FFC30 000FCB90 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800FFC34 000FCB94 48 00 00 40 */ b lbl_800FFC74 -lbl_800FFC38: -/* 800FFC38 000FCB98 80 1E 00 08 */ lwz r0, 8(r30) -/* 800FFC3C 000FCB9C 54 03 30 33 */ rlwinm. r3, r0, 6, 0, 0x19 -/* 800FFC40 000FCBA0 40 82 00 10 */ bne lbl_800FFC50 -/* 800FFC44 000FCBA4 38 00 00 00 */ li r0, 0 -/* 800FFC48 000FCBA8 90 1E 00 0C */ stw r0, 0xc(r30) -/* 800FFC4C 000FCBAC 48 00 00 18 */ b lbl_800FFC64 -lbl_800FFC50: -/* 800FFC50 000FCBB0 3C 80 80 3D */ lis r4, lbl_803CEE38@ha -/* 800FFC54 000FCBB4 38 A0 00 00 */ li r5, 0 -/* 800FFC58 000FCBB8 38 84 EE 38 */ addi r4, r4, lbl_803CEE38@l -/* 800FFC5C 000FCBBC 48 21 5B BD */ bl __nwa__FUlPCcPCc -/* 800FFC60 000FCBC0 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_800FFC64: -/* 800FFC64 000FCBC4 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 800FFC68 000FCBC8 80 9E 00 04 */ lwz r4, 4(r30) -/* 800FFC6C 000FCBCC 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 800FFC70 000FCBD0 48 00 00 21 */ bl sub_800ffc90 -lbl_800FFC74: -/* 800FFC74 000FCBD4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 800FFC78 000FCBD8 7F C3 F3 78 */ mr r3, r30 -/* 800FFC7C 000FCBDC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 800FFC80 000FCBE0 83 C1 00 08 */ lwz r30, 8(r1) -/* 800FFC84 000FCBE4 7C 08 03 A6 */ mtlr r0 -/* 800FFC88 000FCBE8 38 21 00 10 */ addi r1, r1, 0x10 -/* 800FFC8C 000FCBEC 4E 80 00 20 */ blr - -.global sub_800ffc90 -sub_800ffc90: -/* 800FFC90 000FCBF0 7C 89 03 A6 */ mtctr r4 -/* 800FFC94 000FCBF4 2C 04 00 00 */ cmpwi r4, 0 -/* 800FFC98 000FCBF8 40 81 00 98 */ ble lbl_800FFD30 -lbl_800FFC9C: -/* 800FFC9C 000FCBFC 28 05 00 00 */ cmplwi r5, 0 -/* 800FFCA0 000FCC00 41 82 00 84 */ beq lbl_800FFD24 -/* 800FFCA4 000FCC04 A0 03 00 00 */ lhz r0, 0(r3) -/* 800FFCA8 000FCC08 B0 05 00 00 */ sth r0, 0(r5) -/* 800FFCAC 000FCC0C C0 03 00 04 */ lfs f0, 4(r3) -/* 800FFCB0 000FCC10 D0 05 00 04 */ stfs f0, 4(r5) -/* 800FFCB4 000FCC14 C0 03 00 08 */ lfs f0, 8(r3) -/* 800FFCB8 000FCC18 D0 05 00 08 */ stfs f0, 8(r5) -/* 800FFCBC 000FCC1C C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800FFCC0 000FCC20 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 800FFCC4 000FCC24 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 800FFCC8 000FCC28 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 800FFCCC 000FCC2C C0 03 00 14 */ lfs f0, 0x14(r3) -/* 800FFCD0 000FCC30 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 800FFCD4 000FCC34 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 800FFCD8 000FCC38 D0 05 00 18 */ stfs f0, 0x18(r5) -/* 800FFCDC 000FCC3C C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 800FFCE0 000FCC40 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 800FFCE4 000FCC44 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 800FFCE8 000FCC48 D0 05 00 20 */ stfs f0, 0x20(r5) -/* 800FFCEC 000FCC4C C0 03 00 24 */ lfs f0, 0x24(r3) -/* 800FFCF0 000FCC50 D0 05 00 24 */ stfs f0, 0x24(r5) -/* 800FFCF4 000FCC54 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 800FFCF8 000FCC58 D0 05 00 28 */ stfs f0, 0x28(r5) -/* 800FFCFC 000FCC5C C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 800FFD00 000FCC60 D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 800FFD04 000FCC64 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 800FFD08 000FCC68 D0 05 00 30 */ stfs f0, 0x30(r5) -/* 800FFD0C 000FCC6C C0 03 00 34 */ lfs f0, 0x34(r3) -/* 800FFD10 000FCC70 D0 05 00 34 */ stfs f0, 0x34(r5) -/* 800FFD14 000FCC74 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 800FFD18 000FCC78 D0 05 00 38 */ stfs f0, 0x38(r5) -/* 800FFD1C 000FCC7C 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 800FFD20 000FCC80 90 05 00 3C */ stw r0, 0x3c(r5) -lbl_800FFD24: -/* 800FFD24 000FCC84 38 A5 00 40 */ addi r5, r5, 0x40 -/* 800FFD28 000FCC88 38 63 00 40 */ addi r3, r3, 0x40 -/* 800FFD2C 000FCC8C 42 00 FF 70 */ bdnz lbl_800FFC9C -lbl_800FFD30: -/* 800FFD30 000FCC90 7C A3 2B 78 */ mr r3, r5 -/* 800FFD34 000FCC94 4E 80 00 20 */ blr - -.global PreRender__12CScriptWaterFR13CStateManagerRC14CFrustumPlanes -PreRender__12CScriptWaterFR13CStateManagerRC14CFrustumPlanes: -/* 800FFD38 000FCC98 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 800FFD3C 000FCC9C 7C 08 02 A6 */ mflr r0 -/* 800FFD40 000FCCA0 90 01 00 84 */ stw r0, 0x84(r1) -/* 800FFD44 000FCCA4 BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 800FFD48 000FCCA8 7C 7D 1B 78 */ mr r29, r3 -/* 800FFD4C 000FCCAC 7C 9E 23 78 */ mr r30, r4 -/* 800FFD50 000FCCB0 7C BF 2B 78 */ mr r31, r5 -/* 800FFD54 000FCCB4 88 03 02 E8 */ lbz r0, 0x2e8(r3) -/* 800FFD58 000FCCB8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 800FFD5C 000FCCBC 41 82 01 C0 */ beq lbl_800FFF1C -/* 800FFD60 000FCCC0 7F A4 EB 78 */ mr r4, r29 -/* 800FFD64 000FCCC4 7F C5 F3 78 */ mr r5, r30 -/* 800FFD68 000FCCC8 81 9D 00 00 */ lwz r12, 0(r29) -/* 800FFD6C 000FCCCC 38 61 00 48 */ addi r3, r1, 0x48 -/* 800FFD70 000FCCD0 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800FFD74 000FCCD4 7D 89 03 A6 */ mtctr r12 -/* 800FFD78 000FCCD8 4E 80 04 21 */ bctrl -/* 800FFD7C 000FCCDC 7F E3 FB 78 */ mr r3, r31 -/* 800FFD80 000FCCE0 38 81 00 48 */ addi r4, r1, 0x48 -/* 800FFD84 000FCCE4 48 24 54 4D */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -/* 800FFD88 000FCCE8 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 800FFD8C 000FCCEC 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800FFD90 000FCCF0 7C 63 00 34 */ cntlzw r3, r3 -/* 800FFD94 000FCCF4 50 60 E7 BC */ rlwimi r0, r3, 0x1c, 0x1e, 0x1e -/* 800FFD98 000FCCF8 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 800FFD9C 000FCCFC 88 7D 00 E4 */ lbz r3, 0xe4(r29) -/* 800FFDA0 000FCD00 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 800FFDA4 000FCD04 40 82 01 88 */ bne lbl_800FFF2C -/* 800FFDA8 000FCD08 80 BD 00 04 */ lwz r5, 4(r29) -/* 800FFDAC 000FCD0C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 800FFDB0 000FCD10 7C 05 00 00 */ cmpw r5, r0 -/* 800FFDB4 000FCD14 41 82 00 A8 */ beq lbl_800FFE5C -/* 800FFDB8 000FCD18 83 7D 00 90 */ lwz r27, 0x90(r29) -/* 800FFDBC 000FCD1C 80 1B 02 B8 */ lwz r0, 0x2b8(r27) -/* 800FFDC0 000FCD20 28 00 00 00 */ cmplwi r0, 0 -/* 800FFDC4 000FCD24 41 82 00 78 */ beq lbl_800FFE3C -/* 800FFDC8 000FCD28 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 800FFDCC 000FCD2C 40 82 00 10 */ bne lbl_800FFDDC -/* 800FFDD0 000FCD30 88 1B 02 98 */ lbz r0, 0x298(r27) -/* 800FFDD4 000FCD34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FFDD8 000FCD38 41 82 00 64 */ beq lbl_800FFE3C -lbl_800FFDDC: -/* 800FFDDC 000FCD3C 80 9E 08 50 */ lwz r4, 0x850(r30) -/* 800FFDE0 000FCD40 54 A3 18 38 */ slwi r3, r5, 3 -/* 800FFDE4 000FCD44 38 03 00 04 */ addi r0, r3, 4 -/* 800FFDE8 000FCD48 90 A1 00 10 */ stw r5, 0x10(r1) -/* 800FFDEC 000FCD4C 80 64 00 20 */ lwz r3, 0x20(r4) -/* 800FFDF0 000FCD50 90 A1 00 14 */ stw r5, 0x14(r1) -/* 800FFDF4 000FCD54 7F 83 00 2E */ lwzx r28, r3, r0 -/* 800FFDF8 000FCD58 88 1C 00 F0 */ lbz r0, 0xf0(r28) -/* 800FFDFC 000FCD5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 800FFE00 000FCD60 41 82 00 3C */ beq lbl_800FFE3C -/* 800FFE04 000FCD64 90 A1 00 08 */ stw r5, 8(r1) -/* 800FFE08 000FCD68 7F A4 EB 78 */ mr r4, r29 -/* 800FFE0C 000FCD6C 38 61 00 30 */ addi r3, r1, 0x30 -/* 800FFE10 000FCD70 90 A1 00 0C */ stw r5, 0xc(r1) -/* 800FFE14 000FCD74 4B F7 68 B9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800FFE18 000FCD78 7F 63 DB 78 */ mr r3, r27 -/* 800FFE1C 000FCD7C 7F C4 F3 78 */ mr r4, r30 -/* 800FFE20 000FCD80 7F 85 E3 78 */ mr r5, r28 -/* 800FFE24 000FCD84 38 C1 00 30 */ addi r6, r1, 0x30 -/* 800FFE28 000FCD88 48 00 3F 99 */ bl BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox -/* 800FFE2C 000FCD8C 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800FFE30 000FCD90 38 60 00 00 */ li r3, 0 -/* 800FFE34 000FCD94 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 800FFE38 000FCD98 98 1D 00 E4 */ stb r0, 0xe4(r29) -lbl_800FFE3C: -/* 800FFE3C 000FCD9C 83 9D 00 90 */ lwz r28, 0x90(r29) -/* 800FFE40 000FCDA0 7F A4 EB 78 */ mr r4, r29 -/* 800FFE44 000FCDA4 38 61 00 18 */ addi r3, r1, 0x18 -/* 800FFE48 000FCDA8 4B F7 68 85 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 800FFE4C 000FCDAC 7F 83 E3 78 */ mr r3, r28 -/* 800FFE50 000FCDB0 7F C4 F3 78 */ mr r4, r30 -/* 800FFE54 000FCDB4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 800FFE58 000FCDB8 48 00 38 B9 */ bl BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox -lbl_800FFE5C: -/* 800FFE5C 000FCDBC 38 1D 01 50 */ addi r0, r29, 0x150 -/* 800FFE60 000FCDC0 7C 00 F8 40 */ cmplw r0, r31 -/* 800FFE64 000FCDC4 41 82 00 C8 */ beq lbl_800FFF2C -/* 800FFE68 000FCDC8 80 BD 01 50 */ lwz r5, 0x150(r29) -/* 800FFE6C 000FCDCC 38 DD 01 54 */ addi r6, r29, 0x154 -/* 800FFE70 000FCDD0 38 60 00 00 */ li r3, 0 -/* 800FFE74 000FCDD4 2C 05 00 00 */ cmpwi r5, 0 -/* 800FFE78 000FCDD8 40 81 00 40 */ ble lbl_800FFEB8 -/* 800FFE7C 000FCDDC 2C 05 00 08 */ cmpwi r5, 8 -/* 800FFE80 000FCDE0 38 85 FF F8 */ addi r4, r5, -8 -/* 800FFE84 000FCDE4 40 81 00 20 */ ble lbl_800FFEA4 -/* 800FFE88 000FCDE8 38 04 00 07 */ addi r0, r4, 7 -/* 800FFE8C 000FCDEC 54 00 E8 FE */ srwi r0, r0, 3 -/* 800FFE90 000FCDF0 7C 09 03 A6 */ mtctr r0 -/* 800FFE94 000FCDF4 2C 04 00 00 */ cmpwi r4, 0 -/* 800FFE98 000FCDF8 40 81 00 0C */ ble lbl_800FFEA4 -lbl_800FFE9C: -/* 800FFE9C 000FCDFC 38 63 00 08 */ addi r3, r3, 8 -/* 800FFEA0 000FCE00 42 00 FF FC */ bdnz lbl_800FFE9C -lbl_800FFEA4: -/* 800FFEA4 000FCE04 7C 03 28 50 */ subf r0, r3, r5 -/* 800FFEA8 000FCE08 7C 09 03 A6 */ mtctr r0 -/* 800FFEAC 000FCE0C 7C 03 28 00 */ cmpw r3, r5 -/* 800FFEB0 000FCE10 40 80 00 08 */ bge lbl_800FFEB8 -lbl_800FFEB4: -/* 800FFEB4 000FCE14 42 00 00 00 */ bdnz lbl_800FFEB4 -lbl_800FFEB8: -/* 800FFEB8 000FCE18 38 00 00 00 */ li r0, 0 -/* 800FFEBC 000FCE1C 38 7F 00 04 */ addi r3, r31, 4 -/* 800FFEC0 000FCE20 90 1D 01 50 */ stw r0, 0x150(r29) -/* 800FFEC4 000FCE24 80 1F 00 00 */ lwz r0, 0(r31) -/* 800FFEC8 000FCE28 54 00 20 36 */ slwi r0, r0, 4 -/* 800FFECC 000FCE2C 7C 9F 02 14 */ add r4, r31, r0 -/* 800FFED0 000FCE30 38 84 00 04 */ addi r4, r4, 4 -/* 800FFED4 000FCE34 48 00 00 34 */ b lbl_800FFF08 -lbl_800FFED8: -/* 800FFED8 000FCE38 28 06 00 00 */ cmplwi r6, 0 -/* 800FFEDC 000FCE3C 41 82 00 24 */ beq lbl_800FFF00 -/* 800FFEE0 000FCE40 C0 03 00 00 */ lfs f0, 0(r3) -/* 800FFEE4 000FCE44 D0 06 00 00 */ stfs f0, 0(r6) -/* 800FFEE8 000FCE48 C0 03 00 04 */ lfs f0, 4(r3) -/* 800FFEEC 000FCE4C D0 06 00 04 */ stfs f0, 4(r6) -/* 800FFEF0 000FCE50 C0 03 00 08 */ lfs f0, 8(r3) -/* 800FFEF4 000FCE54 D0 06 00 08 */ stfs f0, 8(r6) -/* 800FFEF8 000FCE58 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 800FFEFC 000FCE5C D0 06 00 0C */ stfs f0, 0xc(r6) -lbl_800FFF00: -/* 800FFF00 000FCE60 38 C6 00 10 */ addi r6, r6, 0x10 -/* 800FFF04 000FCE64 38 63 00 10 */ addi r3, r3, 0x10 -lbl_800FFF08: -/* 800FFF08 000FCE68 7C 03 20 40 */ cmplw r3, r4 -/* 800FFF0C 000FCE6C 40 82 FF CC */ bne lbl_800FFED8 -/* 800FFF10 000FCE70 80 1F 00 00 */ lwz r0, 0(r31) -/* 800FFF14 000FCE74 90 1D 01 50 */ stw r0, 0x150(r29) -/* 800FFF18 000FCE78 48 00 00 14 */ b lbl_800FFF2C -lbl_800FFF1C: -/* 800FFF1C 000FCE7C 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 800FFF20 000FCE80 38 60 00 01 */ li r3, 1 -/* 800FFF24 000FCE84 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 800FFF28 000FCE88 98 1D 00 E4 */ stb r0, 0xe4(r29) -lbl_800FFF2C: -/* 800FFF2C 000FCE8C BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 800FFF30 000FCE90 80 01 00 84 */ lwz r0, 0x84(r1) -/* 800FFF34 000FCE94 7C 08 03 A6 */ mtlr r0 -/* 800FFF38 000FCE98 38 21 00 80 */ addi r1, r1, 0x80 -/* 800FFF3C 000FCE9C 4E 80 00 20 */ blr - -.global AddToRenderer__12CScriptWaterCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__12CScriptWaterCFRC14CFrustumPlanesRC13CStateManager: -/* 800FFF40 000FCEA0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 800FFF44 000FCEA4 7C 08 02 A6 */ mflr r0 -/* 800FFF48 000FCEA8 90 01 00 74 */ stw r0, 0x74(r1) -/* 800FFF4C 000FCEAC DB E1 00 60 */ stfd f31, 0x60(r1) -/* 800FFF50 000FCEB0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 800FFF54 000FCEB4 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 800FFF58 000FCEB8 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 800FFF5C 000FCEBC 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 800FFF60 000FCEC0 93 C1 00 48 */ stw r30, 0x48(r1) -/* 800FFF64 000FCEC4 88 03 00 E4 */ lbz r0, 0xe4(r3) -/* 800FFF68 000FCEC8 7C 7E 1B 78 */ mr r30, r3 -/* 800FFF6C 000FCECC 7C BF 2B 78 */ mr r31, r5 -/* 800FFF70 000FCED0 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 800FFF74 000FCED4 40 82 00 8C */ bne lbl_80100000 -/* 800FFF78 000FCED8 C0 22 93 BC */ lfs f1, lbl_805AB0DC@sda21(r2) -/* 800FFF7C 000FCEDC 38 61 00 08 */ addi r3, r1, 8 -/* 800FFF80 000FCEE0 C3 FE 00 60 */ lfs f31, 0x60(r30) -/* 800FFF84 000FCEE4 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 800FFF88 000FCEE8 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 800FFF8C 000FCEEC C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) -/* 800FFF90 000FCEF0 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 800FFF94 000FCEF4 C3 DE 01 44 */ lfs f30, 0x144(r30) -/* 800FFF98 000FCEF8 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 800FFF9C 000FCEFC D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 800FFFA0 000FCF00 D0 21 00 08 */ stfs f1, 8(r1) -/* 800FFFA4 000FCF04 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 800FFFA8 000FCF08 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 800FFFAC 000FCF0C 48 21 49 4D */ bl Normalize__9CVector3fFv -/* 800FFFB0 000FCF10 EC 1E F8 2A */ fadds f0, f30, f31 -/* 800FFFB4 000FCF14 C0 61 00 08 */ lfs f3, 8(r1) -/* 800FFFB8 000FCF18 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 800FFFBC 000FCF1C 7F C4 F3 78 */ mr r4, r30 -/* 800FFFC0 000FCF20 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 800FFFC4 000FCF24 7F E5 FB 78 */ mr r5, r31 -/* 800FFFC8 000FCF28 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 800FFFCC 000FCF2C 38 61 00 30 */ addi r3, r1, 0x30 -/* 800FFFD0 000FCF30 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 800FFFD4 000FCF34 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 800FFFD8 000FCF38 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 800FFFDC 000FCF3C 81 9E 00 00 */ lwz r12, 0(r30) -/* 800FFFE0 000FCF40 81 8C 00 64 */ lwz r12, 0x64(r12) -/* 800FFFE4 000FCF44 7D 89 03 A6 */ mtctr r12 -/* 800FFFE8 000FCF48 4E 80 04 21 */ bctrl -/* 800FFFEC 000FCF4C 7F E3 FB 78 */ mr r3, r31 -/* 800FFFF0 000FCF50 7F C4 F3 78 */ mr r4, r30 -/* 800FFFF4 000FCF54 38 A1 00 14 */ addi r5, r1, 0x14 -/* 800FFFF8 000FCF58 38 C1 00 30 */ addi r6, r1, 0x30 -/* 800FFFFC 000FCF5C 4B F4 49 29 */ bl AddDrawableActorPlane__13CStateManagerCFRC6CActorRC6CPlaneRC6CAABox -lbl_80100000: -/* 80100000 000FCF60 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80100004 000FCF64 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80100008 000FCF68 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8010000C 000FCF6C CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80100010 000FCF70 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80100014 000FCF74 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80100018 000FCF78 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8010001C 000FCF7C 7C 08 03 A6 */ mtlr r0 -/* 80100020 000FCF80 38 21 00 70 */ addi r1, r1, 0x70 -/* 80100024 000FCF84 4E 80 00 20 */ blr - -.global GetRenderBounds__12CScriptWaterCFRC12CTransform4f -GetRenderBounds__12CScriptWaterCFRC12CTransform4f: -/* 80100028 000FCF88 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8010002C 000FCF8C 7C 08 02 A6 */ mflr r0 -/* 80100030 000FCF90 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) -/* 80100034 000FCF94 38 A4 00 9C */ addi r5, r4, 0x9c -/* 80100038 000FCF98 90 01 00 24 */ stw r0, 0x24(r1) -/* 8010003C 000FCF9C C0 64 00 B0 */ lfs f3, 0xb0(r4) -/* 80100040 000FCFA0 C0 A4 00 A8 */ lfs f5, 0xa8(r4) -/* 80100044 000FCFA4 EC 03 00 28 */ fsubs f0, f3, f0 -/* 80100048 000FCFA8 C0 24 02 14 */ lfs f1, 0x214(r4) -/* 8010004C 000FCFAC C0 84 00 AC */ lfs f4, 0xac(r4) -/* 80100050 000FCFB0 C0 44 02 18 */ lfs f2, 0x218(r4) -/* 80100054 000FCFB4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80100058 000FCFB8 D0 A1 00 08 */ stfs f5, 8(r1) -/* 8010005C 000FCFBC D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80100060 000FCFC0 EC 02 00 2A */ fadds f0, f2, f0 -/* 80100064 000FCFC4 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80100068 000FCFC8 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 8010006C 000FCFCC 40 81 00 08 */ ble lbl_80100074 -/* 80100070 000FCFD0 D0 01 00 10 */ stfs f0, 0x10(r1) -lbl_80100074: -/* 80100074 000FCFD4 7C A4 2B 78 */ mr r4, r5 -/* 80100078 000FCFD8 38 A1 00 08 */ addi r5, r1, 8 -/* 8010007C 000FCFDC 48 23 84 8D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80100080 000FCFE0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80100084 000FCFE4 7C 08 03 A6 */ mtlr r0 -/* 80100088 000FCFE8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8010008C 000FCFEC 4E 80 00 20 */ blr - -.global CalculateRenderBounds__12CScriptWaterFv -CalculateRenderBounds__12CScriptWaterFv: -/* 80100090 000FCFF0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80100094 000FCFF4 7C 08 02 A6 */ mflr r0 -/* 80100098 000FCFF8 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) -/* 8010009C 000FCFFC 90 01 00 64 */ stw r0, 0x64(r1) -/* 801000A0 000FD000 38 81 00 2C */ addi r4, r1, 0x2c -/* 801000A4 000FD004 38 A1 00 14 */ addi r5, r1, 0x14 -/* 801000A8 000FD008 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 801000AC 000FD00C 7C 7F 1B 78 */ mr r31, r3 -/* 801000B0 000FD010 C0 23 01 44 */ lfs f1, 0x144(r3) -/* 801000B4 000FD014 38 61 00 38 */ addi r3, r1, 0x38 -/* 801000B8 000FD018 C1 1F 01 40 */ lfs f8, 0x140(r31) -/* 801000BC 000FD01C EC 60 08 2A */ fadds f3, f0, f1 -/* 801000C0 000FD020 C0 FF 00 60 */ lfs f7, 0x60(r31) -/* 801000C4 000FD024 EC 21 00 28 */ fsubs f1, f1, f0 -/* 801000C8 000FD028 C0 BF 00 50 */ lfs f5, 0x50(r31) -/* 801000CC 000FD02C C0 1F 01 3C */ lfs f0, 0x13c(r31) -/* 801000D0 000FD030 C0 DF 00 40 */ lfs f6, 0x40(r31) -/* 801000D4 000FD034 EC 88 28 2A */ fadds f4, f8, f5 -/* 801000D8 000FD038 D0 01 00 08 */ stfs f0, 8(r1) -/* 801000DC 000FD03C EC 43 38 2A */ fadds f2, f3, f7 -/* 801000E0 000FD040 EC 00 30 2A */ fadds f0, f0, f6 -/* 801000E4 000FD044 D1 01 00 0C */ stfs f8, 0xc(r1) -/* 801000E8 000FD048 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 801000EC 000FD04C EC 81 38 2A */ fadds f4, f1, f7 -/* 801000F0 000FD050 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 801000F4 000FD054 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 801000F8 000FD058 C0 FF 01 34 */ lfs f7, 0x134(r31) -/* 801000FC 000FD05C C0 5F 01 30 */ lfs f2, 0x130(r31) -/* 80100100 000FD060 EC A7 28 2A */ fadds f5, f7, f5 -/* 80100104 000FD064 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80100108 000FD068 EC 02 30 2A */ fadds f0, f2, f6 -/* 8010010C 000FD06C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80100110 000FD070 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 80100114 000FD074 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80100118 000FD078 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8010011C 000FD07C D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 80100120 000FD080 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80100124 000FD084 48 23 83 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80100128 000FD088 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8010012C 000FD08C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80100130 000FD090 90 7F 00 9C */ stw r3, 0x9c(r31) -/* 80100134 000FD094 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 80100138 000FD098 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8010013C 000FD09C 90 1F 00 A4 */ stw r0, 0xa4(r31) -/* 80100140 000FD0A0 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80100144 000FD0A4 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80100148 000FD0A8 90 7F 00 A8 */ stw r3, 0xa8(r31) -/* 8010014C 000FD0AC 90 1F 00 AC */ stw r0, 0xac(r31) -/* 80100150 000FD0B0 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 80100154 000FD0B4 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 80100158 000FD0B8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8010015C 000FD0BC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80100160 000FD0C0 7C 08 03 A6 */ mtlr r0 -/* 80100164 000FD0C4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80100168 000FD0C8 4E 80 00 20 */ blr - -.global Accept__12CScriptWaterFR8IVisitor -Accept__12CScriptWaterFR8IVisitor: -/* 8010016C 000FD0CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80100170 000FD0D0 7C 08 02 A6 */ mflr r0 -/* 80100174 000FD0D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80100178 000FD0D8 7C 60 1B 78 */ mr r0, r3 -/* 8010017C 000FD0DC 7C 83 23 78 */ mr r3, r4 -/* 80100180 000FD0E0 81 84 00 00 */ lwz r12, 0(r4) -/* 80100184 000FD0E4 7C 04 03 78 */ mr r4, r0 -/* 80100188 000FD0E8 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 8010018C 000FD0EC 7D 89 03 A6 */ mtctr r12 -/* 80100190 000FD0F0 4E 80 04 21 */ bctrl -/* 80100194 000FD0F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80100198 000FD0F8 7C 08 03 A6 */ mtlr r0 -/* 8010019C 000FD0FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 801001A0 000FD100 4E 80 00 20 */ blr - -.global Think__12CScriptWaterFfR13CStateManager -Think__12CScriptWaterFfR13CStateManager: -/* 801001A4 000FD104 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 801001A8 000FD108 7C 08 02 A6 */ mflr r0 -/* 801001AC 000FD10C 90 01 00 94 */ stw r0, 0x94(r1) -/* 801001B0 000FD110 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 801001B4 000FD114 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 801001B8 000FD118 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 801001BC 000FD11C 93 C1 00 78 */ stw r30, 0x78(r1) -/* 801001C0 000FD120 93 A1 00 74 */ stw r29, 0x74(r1) -/* 801001C4 000FD124 88 03 00 30 */ lbz r0, 0x30(r3) -/* 801001C8 000FD128 FF E0 08 90 */ fmr f31, f1 -/* 801001CC 000FD12C 7C 7E 1B 78 */ mr r30, r3 -/* 801001D0 000FD130 7C 9F 23 78 */ mr r31, r4 -/* 801001D4 000FD134 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801001D8 000FD138 41 82 03 D0 */ beq lbl_801005A8 -/* 801001DC 000FD13C 88 1E 01 48 */ lbz r0, 0x148(r30) -/* 801001E0 000FD140 54 1D D7 FE */ rlwinm r29, r0, 0x1a, 0x1f, 0x1f -/* 801001E4 000FD144 4B F7 62 E9 */ bl Think__14CScriptTriggerFfR13CStateManager -/* 801001E8 000FD148 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 801001EC 000FD14C 7F E4 FB 78 */ mr r4, r31 -/* 801001F0 000FD150 4B F0 B9 71 */ bl GetCurrentCamera__14CCameraManagerFR13CStateManager -/* 801001F4 000FD154 88 1E 01 48 */ lbz r0, 0x148(r30) -/* 801001F8 000FD158 7C 64 1B 78 */ mr r4, r3 -/* 801001FC 000FD15C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80100200 000FD160 41 82 00 2C */ beq lbl_8010022C -/* 80100204 000FD164 28 1D 00 00 */ cmplwi r29, 0 -/* 80100208 000FD168 40 82 00 24 */ bne lbl_8010022C -/* 8010020C 000FD16C A0 1E 00 08 */ lhz r0, 8(r30) -/* 80100210 000FD170 7F E3 FB 78 */ mr r3, r31 -/* 80100214 000FD174 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80100218 000FD178 38 C0 00 25 */ li r6, 0x25 -/* 8010021C 000FD17C B0 01 00 10 */ sth r0, 0x10(r1) -/* 80100220 000FD180 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80100224 000FD184 4B F4 3C AD */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80100228 000FD188 48 00 00 30 */ b lbl_80100258 -lbl_8010022C: -/* 8010022C 000FD18C 28 00 00 00 */ cmplwi r0, 0 -/* 80100230 000FD190 40 82 00 28 */ bne lbl_80100258 -/* 80100234 000FD194 28 1D 00 00 */ cmplwi r29, 0 -/* 80100238 000FD198 41 82 00 20 */ beq lbl_80100258 -/* 8010023C 000FD19C A0 1E 00 08 */ lhz r0, 8(r30) -/* 80100240 000FD1A0 7F E3 FB 78 */ mr r3, r31 -/* 80100244 000FD1A4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80100248 000FD1A8 38 C0 00 27 */ li r6, 0x27 -/* 8010024C 000FD1AC B0 01 00 08 */ sth r0, 8(r1) -/* 80100250 000FD1B0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80100254 000FD1B4 4B F4 3C 7D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_80100258: -/* 80100258 000FD1B8 7F C3 F3 78 */ mr r3, r30 -/* 8010025C 000FD1BC 7F E4 FB 78 */ mr r4, r31 -/* 80100260 000FD1C0 48 00 03 6D */ bl UpdateSplashInhabitants__12CScriptWaterFR13CStateManager -/* 80100264 000FD1C4 88 7E 02 E8 */ lbz r3, 0x2e8(r30) -/* 80100268 000FD1C8 54 60 FF FF */ rlwinm. r0, r3, 0x1f, 0x1f, 0x1f -/* 8010026C 000FD1CC 41 82 00 84 */ beq lbl_801002F0 -/* 80100270 000FD1D0 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 80100274 000FD1D4 C0 7E 02 B8 */ lfs f3, 0x2b8(r30) -/* 80100278 000FD1D8 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8010027C 000FD1DC C0 3E 02 BC */ lfs f1, 0x2bc(r30) -/* 80100280 000FD1E0 EC 5F 00 32 */ fmuls f2, f31, f0 -/* 80100284 000FD1E4 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) -/* 80100288 000FD1E8 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 -/* 8010028C 000FD1EC D0 3E 02 BC */ stfs f1, 0x2bc(r30) -/* 80100290 000FD1F0 C0 3E 02 1C */ lfs f1, 0x21c(r30) -/* 80100294 000FD1F4 C0 7E 02 B8 */ lfs f3, 0x2b8(r30) -/* 80100298 000FD1F8 EC 5F 00 72 */ fmuls f2, f31, f1 -/* 8010029C 000FD1FC C0 3E 02 14 */ lfs f1, 0x214(r30) -/* 801002A0 000FD200 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 -/* 801002A4 000FD204 D0 3E 02 14 */ stfs f1, 0x214(r30) -/* 801002A8 000FD208 C0 3E 02 20 */ lfs f1, 0x220(r30) -/* 801002AC 000FD20C C0 7E 02 B8 */ lfs f3, 0x2b8(r30) -/* 801002B0 000FD210 EC 5F 00 72 */ fmuls f2, f31, f1 -/* 801002B4 000FD214 C0 3E 02 18 */ lfs f1, 0x218(r30) -/* 801002B8 000FD218 EC 23 08 BC */ fnmsubs f1, f3, f2, f1 -/* 801002BC 000FD21C D0 3E 02 18 */ stfs f1, 0x218(r30) -/* 801002C0 000FD220 C0 3E 02 BC */ lfs f1, 0x2bc(r30) -/* 801002C4 000FD224 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801002C8 000FD228 4C 40 13 82 */ cror 2, 0, 2 -/* 801002CC 000FD22C 40 82 00 B0 */ bne lbl_8010037C -/* 801002D0 000FD230 D0 1E 02 18 */ stfs f0, 0x218(r30) -/* 801002D4 000FD234 38 60 00 00 */ li r3, 0 -/* 801002D8 000FD238 D0 1E 02 14 */ stfs f0, 0x214(r30) -/* 801002DC 000FD23C D0 1E 02 BC */ stfs f0, 0x2bc(r30) -/* 801002E0 000FD240 88 1E 02 E8 */ lbz r0, 0x2e8(r30) -/* 801002E4 000FD244 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 801002E8 000FD248 98 1E 02 E8 */ stb r0, 0x2e8(r30) -/* 801002EC 000FD24C 48 00 00 90 */ b lbl_8010037C -lbl_801002F0: -/* 801002F0 000FD250 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 801002F4 000FD254 41 82 00 88 */ beq lbl_8010037C -/* 801002F8 000FD258 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 801002FC 000FD25C C0 5E 02 B4 */ lfs f2, 0x2b4(r30) -/* 80100300 000FD260 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 80100304 000FD264 C0 1E 02 BC */ lfs f0, 0x2bc(r30) -/* 80100308 000FD268 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8010030C 000FD26C EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80100310 000FD270 D0 1E 02 BC */ stfs f0, 0x2bc(r30) -/* 80100314 000FD274 C0 1E 02 1C */ lfs f0, 0x21c(r30) -/* 80100318 000FD278 C0 5E 02 B4 */ lfs f2, 0x2b4(r30) -/* 8010031C 000FD27C EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80100320 000FD280 C0 1E 02 14 */ lfs f0, 0x214(r30) -/* 80100324 000FD284 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 -/* 80100328 000FD288 D0 1E 02 14 */ stfs f0, 0x214(r30) -/* 8010032C 000FD28C C0 1E 02 20 */ lfs f0, 0x220(r30) -/* 80100330 000FD290 C0 5E 02 B4 */ lfs f2, 0x2b4(r30) -/* 80100334 000FD294 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80100338 000FD298 C0 1E 02 18 */ lfs f0, 0x218(r30) -/* 8010033C 000FD29C EC 02 00 7C */ fnmsubs f0, f2, f1, f0 -/* 80100340 000FD2A0 D0 1E 02 18 */ stfs f0, 0x218(r30) -/* 80100344 000FD2A4 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 80100348 000FD2A8 C0 3E 02 BC */ lfs f1, 0x2bc(r30) -/* 8010034C 000FD2AC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80100350 000FD2B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80100354 000FD2B4 40 81 00 28 */ ble lbl_8010037C -/* 80100358 000FD2B8 D0 1E 02 BC */ stfs f0, 0x2bc(r30) -/* 8010035C 000FD2BC 38 60 00 00 */ li r3, 0 -/* 80100360 000FD2C0 C0 1E 02 1C */ lfs f0, 0x21c(r30) -/* 80100364 000FD2C4 D0 1E 02 14 */ stfs f0, 0x214(r30) -/* 80100368 000FD2C8 C0 1E 02 20 */ lfs f0, 0x220(r30) -/* 8010036C 000FD2CC D0 1E 02 18 */ stfs f0, 0x218(r30) -/* 80100370 000FD2D0 88 1E 02 E8 */ lbz r0, 0x2e8(r30) -/* 80100374 000FD2D4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80100378 000FD2D8 98 1E 02 E8 */ stb r0, 0x2e8(r30) -lbl_8010037C: -/* 8010037C 000FD2DC 88 1E 02 E8 */ lbz r0, 0x2e8(r30) -/* 80100380 000FD2E0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80100384 000FD2E4 41 82 02 14 */ beq lbl_80100598 -/* 80100388 000FD2E8 88 1E 02 E8 */ lbz r0, 0x2e8(r30) -/* 8010038C 000FD2EC 3B A0 00 01 */ li r29, 1 -/* 80100390 000FD2F0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80100394 000FD2F4 41 82 00 34 */ beq lbl_801003C8 -/* 80100398 000FD2F8 C0 1E 01 D0 */ lfs f0, 0x1d0(r30) -/* 8010039C 000FD2FC C0 5E 01 F8 */ lfs f2, 0x1f8(r30) -/* 801003A0 000FD300 EC 3F 00 24 */ fdivs f1, f31, f0 -/* 801003A4 000FD304 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) -/* 801003A8 000FD308 EC 22 08 2A */ fadds f1, f2, f1 -/* 801003AC 000FD30C D0 3E 01 F8 */ stfs f1, 0x1f8(r30) -/* 801003B0 000FD310 C0 3E 01 F8 */ lfs f1, 0x1f8(r30) -/* 801003B4 000FD314 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801003B8 000FD318 40 81 00 3C */ ble lbl_801003F4 -/* 801003BC 000FD31C D0 1E 01 F8 */ stfs f0, 0x1f8(r30) -/* 801003C0 000FD320 3B A0 00 00 */ li r29, 0 -/* 801003C4 000FD324 48 00 00 30 */ b lbl_801003F4 -lbl_801003C8: -/* 801003C8 000FD328 C0 1E 01 F4 */ lfs f0, 0x1f4(r30) -/* 801003CC 000FD32C C0 5E 01 F8 */ lfs f2, 0x1f8(r30) -/* 801003D0 000FD330 EC 3F 00 24 */ fdivs f1, f31, f0 -/* 801003D4 000FD334 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) -/* 801003D8 000FD338 EC 22 08 28 */ fsubs f1, f2, f1 -/* 801003DC 000FD33C D0 3E 01 F8 */ stfs f1, 0x1f8(r30) -/* 801003E0 000FD340 C0 3E 01 F8 */ lfs f1, 0x1f8(r30) -/* 801003E4 000FD344 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801003E8 000FD348 40 80 00 0C */ bge lbl_801003F4 -/* 801003EC 000FD34C D0 1E 01 F8 */ stfs f0, 0x1f8(r30) -/* 801003F0 000FD350 3B A0 00 00 */ li r29, 0 -lbl_801003F4: -/* 801003F4 000FD354 C0 FE 01 F8 */ lfs f7, 0x1f8(r30) -/* 801003F8 000FD358 7F C3 F3 78 */ mr r3, r30 -/* 801003FC 000FD35C C0 42 93 D0 */ lfs f2, lbl_805AB0F0@sda21(r2) -/* 80100400 000FD360 38 81 00 30 */ addi r4, r1, 0x30 -/* 80100404 000FD364 C0 3E 01 BC */ lfs f1, 0x1bc(r30) -/* 80100408 000FD368 C0 1E 01 C0 */ lfs f0, 0x1c0(r30) -/* 8010040C 000FD36C EC C2 38 28 */ fsubs f6, f2, f7 -/* 80100410 000FD370 C0 BE 01 D8 */ lfs f5, 0x1d8(r30) -/* 80100414 000FD374 EC 87 00 72 */ fmuls f4, f7, f1 -/* 80100418 000FD378 C0 7E 01 DC */ lfs f3, 0x1dc(r30) -/* 8010041C 000FD37C EC 47 00 32 */ fmuls f2, f7, f0 -/* 80100420 000FD380 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) -/* 80100424 000FD384 C0 1E 01 B8 */ lfs f0, 0x1b8(r30) -/* 80100428 000FD388 EC A6 01 72 */ fmuls f5, f6, f5 -/* 8010042C 000FD38C EC 66 00 F2 */ fmuls f3, f6, f3 -/* 80100430 000FD390 EC 26 00 72 */ fmuls f1, f6, f1 -/* 80100434 000FD394 EC 07 00 32 */ fmuls f0, f7, f0 -/* 80100438 000FD398 EC 85 20 2A */ fadds f4, f5, f4 -/* 8010043C 000FD39C EC 43 10 2A */ fadds f2, f3, f2 -/* 80100440 000FD3A0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80100444 000FD3A4 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80100448 000FD3A8 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8010044C 000FD3AC D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80100450 000FD3B0 4B F5 2A 3D */ bl SetTranslation__6CActorFRC9CVector3f -/* 80100454 000FD3B4 C0 3E 01 F8 */ lfs f1, 0x1f8(r30) -/* 80100458 000FD3B8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8010045C 000FD3BC C0 82 93 D0 */ lfs f4, lbl_805AB0F0@sda21(r2) -/* 80100460 000FD3C0 38 81 00 24 */ addi r4, r1, 0x24 -/* 80100464 000FD3C4 C0 1E 01 F0 */ lfs f0, 0x1f0(r30) -/* 80100468 000FD3C8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8010046C 000FD3CC EC 44 08 28 */ fsubs f2, f4, f1 -/* 80100470 000FD3D0 C0 BE 01 EC */ lfs f5, 0x1ec(r30) -/* 80100474 000FD3D4 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80100478 000FD3D8 C0 62 93 DC */ lfs f3, lbl_805AB0FC@sda21(r2) -/* 8010047C 000FD3DC C0 02 93 E0 */ lfs f0, lbl_805AB100@sda21(r2) -/* 80100480 000FD3E0 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 80100484 000FD3E4 D0 3E 01 08 */ stfs f1, 0x108(r30) -/* 80100488 000FD3E8 C1 5E 01 F8 */ lfs f10, 0x1f8(r30) -/* 8010048C 000FD3EC C0 5E 01 C4 */ lfs f2, 0x1c4(r30) -/* 80100490 000FD3F0 C0 3E 01 C8 */ lfs f1, 0x1c8(r30) -/* 80100494 000FD3F4 ED 24 50 28 */ fsubs f9, f4, f10 -/* 80100498 000FD3F8 C0 DE 01 E0 */ lfs f6, 0x1e0(r30) -/* 8010049C 000FD3FC EC EA 00 B2 */ fmuls f7, f10, f2 -/* 801004A0 000FD400 C0 BE 01 E4 */ lfs f5, 0x1e4(r30) -/* 801004A4 000FD404 EC 8A 00 72 */ fmuls f4, f10, f1 -/* 801004A8 000FD408 C0 5E 01 E8 */ lfs f2, 0x1e8(r30) -/* 801004AC 000FD40C C0 3E 01 CC */ lfs f1, 0x1cc(r30) -/* 801004B0 000FD410 ED 09 01 B2 */ fmuls f8, f9, f6 -/* 801004B4 000FD414 EC C9 01 72 */ fmuls f6, f9, f5 -/* 801004B8 000FD418 EC A9 00 B2 */ fmuls f5, f9, f2 -/* 801004BC 000FD41C EC E8 38 2A */ fadds f7, f8, f7 -/* 801004C0 000FD420 EC C6 20 2A */ fadds f6, f6, f4 -/* 801004C4 000FD424 EC 4A 00 72 */ fmuls f2, f10, f1 -/* 801004C8 000FD428 EC 23 01 F2 */ fmuls f1, f3, f7 -/* 801004CC 000FD42C EC 83 01 B2 */ fmuls f4, f3, f6 -/* 801004D0 000FD430 EC A5 10 2A */ fadds f5, f5, f2 -/* 801004D4 000FD434 EC 40 01 F2 */ fmuls f2, f0, f7 -/* 801004D8 000FD438 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 801004DC 000FD43C EC 20 01 B2 */ fmuls f1, f0, f6 -/* 801004E0 000FD440 EC 63 01 72 */ fmuls f3, f3, f5 -/* 801004E4 000FD444 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 801004E8 000FD448 EC 00 01 72 */ fmuls f0, f0, f5 -/* 801004EC 000FD44C D0 41 00 24 */ stfs f2, 0x24(r1) -/* 801004F0 000FD450 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 801004F4 000FD454 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 801004F8 000FD458 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 801004FC 000FD45C 48 23 80 0D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80100500 000FD460 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 80100504 000FD464 7F C3 F3 78 */ mr r3, r30 -/* 80100508 000FD468 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8010050C 000FD46C D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80100510 000FD470 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 80100514 000FD474 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80100518 000FD478 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 8010051C 000FD47C C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80100520 000FD480 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80100524 000FD484 80 81 00 54 */ lwz r4, 0x54(r1) -/* 80100528 000FD488 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 8010052C 000FD48C 80 01 00 58 */ lwz r0, 0x58(r1) -/* 80100530 000FD490 90 9E 01 30 */ stw r4, 0x130(r30) -/* 80100534 000FD494 80 81 00 5C */ lwz r4, 0x5c(r1) -/* 80100538 000FD498 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 8010053C 000FD49C 90 1E 01 34 */ stw r0, 0x134(r30) -/* 80100540 000FD4A0 80 01 00 60 */ lwz r0, 0x60(r1) -/* 80100544 000FD4A4 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80100548 000FD4A8 90 9E 01 38 */ stw r4, 0x138(r30) -/* 8010054C 000FD4AC 80 81 00 64 */ lwz r4, 0x64(r1) -/* 80100550 000FD4B0 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80100554 000FD4B4 90 1E 01 3C */ stw r0, 0x13c(r30) -/* 80100558 000FD4B8 80 01 00 68 */ lwz r0, 0x68(r1) -/* 8010055C 000FD4BC 90 9E 01 40 */ stw r4, 0x140(r30) -/* 80100560 000FD4C0 90 1E 01 44 */ stw r0, 0x144(r30) -/* 80100564 000FD4C4 81 9E 00 00 */ lwz r12, 0(r30) -/* 80100568 000FD4C8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8010056C 000FD4CC 7D 89 03 A6 */ mtctr r12 -/* 80100570 000FD4D0 4E 80 04 21 */ bctrl -/* 80100574 000FD4D4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80100578 000FD4D8 40 82 00 14 */ bne lbl_8010058C -/* 8010057C 000FD4DC 7F C3 F3 78 */ mr r3, r30 -/* 80100580 000FD4E0 38 80 00 00 */ li r4, 0 -/* 80100584 000FD4E4 4B FF F0 51 */ bl SetMorphing__12CScriptWaterFb -/* 80100588 000FD4E8 48 00 00 10 */ b lbl_80100598 -lbl_8010058C: -/* 8010058C 000FD4EC 7F C3 F3 78 */ mr r3, r30 -/* 80100590 000FD4F0 38 80 00 00 */ li r4, 0 -/* 80100594 000FD4F4 4B FF E8 21 */ bl SetupGrid__12CScriptWaterFb -lbl_80100598: -/* 80100598 000FD4F8 7F C3 F3 78 */ mr r3, r30 -/* 8010059C 000FD4FC 7F E4 FB 78 */ mr r4, r31 -/* 801005A0 000FD500 38 A0 00 04 */ li r5, 4 -/* 801005A4 000FD504 4B FF EA AD */ bl SetupGridClipping__12CScriptWaterFR13CStateManageri -lbl_801005A8: -/* 801005A8 000FD508 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 801005AC 000FD50C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 801005B0 000FD510 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 801005B4 000FD514 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 801005B8 000FD518 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 801005BC 000FD51C 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 801005C0 000FD520 7C 08 03 A6 */ mtlr r0 -/* 801005C4 000FD524 38 21 00 90 */ addi r1, r1, 0x90 -/* 801005C8 000FD528 4E 80 00 20 */ blr - -.global UpdateSplashInhabitants__12CScriptWaterFR13CStateManager -UpdateSplashInhabitants__12CScriptWaterFR13CStateManager: -/* 801005CC 000FD52C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 801005D0 000FD530 7C 08 02 A6 */ mflr r0 -/* 801005D4 000FD534 90 01 00 94 */ stw r0, 0x94(r1) -/* 801005D8 000FD538 BF 41 00 78 */ stmw r26, 0x78(r1) -/* 801005DC 000FD53C 7C 7E 1B 78 */ mr r30, r3 -/* 801005E0 000FD540 7C 9F 23 78 */ mr r31, r4 -/* 801005E4 000FD544 83 A3 02 00 */ lwz r29, 0x200(r3) -/* 801005E8 000FD548 48 00 01 B0 */ b lbl_80100798 -lbl_801005EC: -/* 801005EC 000FD54C 83 9D 00 04 */ lwz r28, 4(r29) -/* 801005F0 000FD550 7F E3 FB 78 */ mr r3, r31 -/* 801005F4 000FD554 A0 1D 00 08 */ lhz r0, 8(r29) -/* 801005F8 000FD558 38 81 00 18 */ addi r4, r1, 0x18 -/* 801005FC 000FD55C B0 01 00 18 */ sth r0, 0x18(r1) -/* 80100600 000FD560 4B F4 BF 75 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80100604 000FD564 7C 64 1B 78 */ mr r4, r3 -/* 80100608 000FD568 38 61 00 1C */ addi r3, r1, 0x1c -/* 8010060C 000FD56C 4B FA F6 85 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80100610 000FD570 83 63 00 04 */ lwz r27, 4(r3) -/* 80100614 000FD574 3B 40 00 00 */ li r26, 0 -/* 80100618 000FD578 28 1B 00 00 */ cmplwi r27, 0 -/* 8010061C 000FD57C 41 82 00 B4 */ beq lbl_801006D0 -/* 80100620 000FD580 7F 64 DB 78 */ mr r4, r27 -/* 80100624 000FD584 38 61 00 3C */ addi r3, r1, 0x3c -/* 80100628 000FD588 81 9B 00 00 */ lwz r12, 0(r27) -/* 8010062C 000FD58C 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80100630 000FD590 7D 89 03 A6 */ mtctr r12 -/* 80100634 000FD594 4E 80 04 21 */ bctrl -/* 80100638 000FD598 88 01 00 54 */ lbz r0, 0x54(r1) -/* 8010063C 000FD59C 28 00 00 00 */ cmplwi r0, 0 -/* 80100640 000FD5A0 98 01 00 70 */ stb r0, 0x70(r1) -/* 80100644 000FD5A4 41 82 00 3C */ beq lbl_80100680 -/* 80100648 000FD5A8 34 61 00 58 */ addic. r3, r1, 0x58 -/* 8010064C 000FD5AC 41 82 00 34 */ beq lbl_80100680 -/* 80100650 000FD5B0 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80100654 000FD5B4 D0 03 00 00 */ stfs f0, 0(r3) -/* 80100658 000FD5B8 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8010065C 000FD5BC D0 03 00 04 */ stfs f0, 4(r3) -/* 80100660 000FD5C0 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80100664 000FD5C4 D0 03 00 08 */ stfs f0, 8(r3) -/* 80100668 000FD5C8 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8010066C 000FD5CC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80100670 000FD5D0 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80100674 000FD5D4 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80100678 000FD5D8 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8010067C 000FD5DC D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80100680: -/* 80100680 000FD5E0 88 01 00 70 */ lbz r0, 0x70(r1) -/* 80100684 000FD5E4 38 60 00 00 */ li r3, 0 -/* 80100688 000FD5E8 98 61 00 54 */ stb r3, 0x54(r1) -/* 8010068C 000FD5EC 28 00 00 00 */ cmplwi r0, 0 -/* 80100690 000FD5F0 41 82 00 38 */ beq lbl_801006C8 -/* 80100694 000FD5F4 7F C4 F3 78 */ mr r4, r30 -/* 80100698 000FD5F8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8010069C 000FD5FC 4B F7 60 31 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 801006A0 000FD600 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 801006A4 000FD604 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 801006A8 000FD608 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801006AC 000FD60C 4C 40 13 82 */ cror 2, 0, 2 -/* 801006B0 000FD610 40 82 00 18 */ bne lbl_801006C8 -/* 801006B4 000FD614 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 801006B8 000FD618 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801006BC 000FD61C 4C 41 13 82 */ cror 2, 1, 2 -/* 801006C0 000FD620 40 82 00 08 */ bne lbl_801006C8 -/* 801006C4 000FD624 3B 40 00 01 */ li r26, 1 -lbl_801006C8: -/* 801006C8 000FD628 38 00 00 00 */ li r0, 0 -/* 801006CC 000FD62C 98 01 00 70 */ stb r0, 0x70(r1) -lbl_801006D0: -/* 801006D0 000FD630 28 1B 00 00 */ cmplwi r27, 0 -/* 801006D4 000FD634 41 82 00 64 */ beq lbl_80100738 -/* 801006D8 000FD638 88 1D 00 0A */ lbz r0, 0xa(r29) -/* 801006DC 000FD63C 28 00 00 00 */ cmplwi r0, 0 -/* 801006E0 000FD640 41 82 00 58 */ beq lbl_80100738 -/* 801006E4 000FD644 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 801006E8 000FD648 41 82 00 24 */ beq lbl_8010070C -/* 801006EC 000FD64C 7F 63 DB 78 */ mr r3, r27 -/* 801006F0 000FD650 7F C5 F3 78 */ mr r5, r30 -/* 801006F4 000FD654 81 9B 00 00 */ lwz r12, 0(r27) -/* 801006F8 000FD658 7F E6 FB 78 */ mr r6, r31 -/* 801006FC 000FD65C 38 80 00 01 */ li r4, 1 -/* 80100700 000FD660 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80100704 000FD664 7D 89 03 A6 */ mtctr r12 -/* 80100708 000FD668 4E 80 04 21 */ bctrl -lbl_8010070C: -/* 8010070C 000FD66C A0 1E 00 08 */ lhz r0, 8(r30) -/* 80100710 000FD670 7F E3 FB 78 */ mr r3, r31 -/* 80100714 000FD674 7F 64 DB 78 */ mr r4, r27 -/* 80100718 000FD678 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8010071C 000FD67C B0 01 00 10 */ sth r0, 0x10(r1) -/* 80100720 000FD680 38 C0 00 26 */ li r6, 0x26 -/* 80100724 000FD684 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80100728 000FD688 4B F4 37 A9 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8010072C 000FD68C 38 00 00 00 */ li r0, 0 -/* 80100730 000FD690 98 1D 00 0A */ stb r0, 0xa(r29) -/* 80100734 000FD694 48 00 00 60 */ b lbl_80100794 -lbl_80100738: -/* 80100738 000FD698 7F A4 EB 78 */ mr r4, r29 -/* 8010073C 000FD69C 38 7E 01 FC */ addi r3, r30, 0x1fc -/* 80100740 000FD6A0 48 00 16 CD */ bl sub_80101e0c -/* 80100744 000FD6A4 28 1B 00 00 */ cmplwi r27, 0 -/* 80100748 000FD6A8 41 82 00 4C */ beq lbl_80100794 -/* 8010074C 000FD6AC 57 40 06 3F */ clrlwi. r0, r26, 0x18 -/* 80100750 000FD6B0 41 82 00 24 */ beq lbl_80100774 -/* 80100754 000FD6B4 7F 63 DB 78 */ mr r3, r27 -/* 80100758 000FD6B8 7F C5 F3 78 */ mr r5, r30 -/* 8010075C 000FD6BC 81 9B 00 00 */ lwz r12, 0(r27) -/* 80100760 000FD6C0 7F E6 FB 78 */ mr r6, r31 -/* 80100764 000FD6C4 38 80 00 02 */ li r4, 2 -/* 80100768 000FD6C8 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 8010076C 000FD6CC 7D 89 03 A6 */ mtctr r12 -/* 80100770 000FD6D0 4E 80 04 21 */ bctrl -lbl_80100774: -/* 80100774 000FD6D4 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80100778 000FD6D8 7F E3 FB 78 */ mr r3, r31 -/* 8010077C 000FD6DC 7F 64 DB 78 */ mr r4, r27 -/* 80100780 000FD6E0 38 A1 00 0C */ addi r5, r1, 0xc -/* 80100784 000FD6E4 B0 01 00 08 */ sth r0, 8(r1) -/* 80100788 000FD6E8 38 C0 00 27 */ li r6, 0x27 -/* 8010078C 000FD6EC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80100790 000FD6F0 4B F4 37 41 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_80100794: -/* 80100794 000FD6F4 7F 9D E3 78 */ mr r29, r28 -lbl_80100798: -/* 80100798 000FD6F8 80 1E 02 04 */ lwz r0, 0x204(r30) -/* 8010079C 000FD6FC 7C 1D 00 40 */ cmplw r29, r0 -/* 801007A0 000FD700 40 82 FE 4C */ bne lbl_801005EC -/* 801007A4 000FD704 BB 41 00 78 */ lmw r26, 0x78(r1) -/* 801007A8 000FD708 80 01 00 94 */ lwz r0, 0x94(r1) -/* 801007AC 000FD70C 7C 08 03 A6 */ mtlr r0 -/* 801007B0 000FD710 38 21 00 90 */ addi r1, r1, 0x90 -/* 801007B4 000FD714 4E 80 00 20 */ blr - -.global Touch__12CScriptWaterFR6CActorR13CStateManager -Touch__12CScriptWaterFR6CActorR13CStateManager: -/* 801007B8 000FD718 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 801007BC 000FD71C 7C 08 02 A6 */ mflr r0 -/* 801007C0 000FD720 90 01 00 74 */ stw r0, 0x74(r1) -/* 801007C4 000FD724 BF 21 00 54 */ stmw r25, 0x54(r1) -/* 801007C8 000FD728 7C 7D 1B 78 */ mr r29, r3 -/* 801007CC 000FD72C 7C 9E 23 78 */ mr r30, r4 -/* 801007D0 000FD730 7C BF 2B 78 */ mr r31, r5 -/* 801007D4 000FD734 88 03 00 30 */ lbz r0, 0x30(r3) -/* 801007D8 000FD738 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801007DC 000FD73C 41 82 01 7C */ beq lbl_80100958 -/* 801007E0 000FD740 4B F7 5F 69 */ bl Touch__14CScriptTriggerFR6CActorR13CStateManager -/* 801007E4 000FD744 80 7E 00 68 */ lwz r3, 0x68(r30) -/* 801007E8 000FD748 38 00 00 04 */ li r0, 4 -/* 801007EC 000FD74C 80 BE 00 6C */ lwz r5, 0x6c(r30) -/* 801007F0 000FD750 38 80 00 00 */ li r4, 0 -/* 801007F4 000FD754 7C 60 00 38 */ and r0, r3, r0 -/* 801007F8 000FD758 7C A3 20 38 */ and r3, r5, r4 -/* 801007FC 000FD75C 7C 63 22 78 */ xor r3, r3, r4 -/* 80100800 000FD760 7C 00 22 78 */ xor r0, r0, r4 -/* 80100804 000FD764 7C 60 03 79 */ or. r0, r3, r0 -/* 80100808 000FD768 40 82 01 50 */ bne lbl_80100958 -/* 8010080C 000FD76C 80 9D 02 00 */ lwz r4, 0x200(r29) -/* 80100810 000FD770 80 BD 02 04 */ lwz r5, 0x204(r29) -/* 80100814 000FD774 48 00 00 24 */ b lbl_80100838 -lbl_80100818: -/* 80100818 000FD778 A0 64 00 08 */ lhz r3, 8(r4) -/* 8010081C 000FD77C A0 1E 00 08 */ lhz r0, 8(r30) -/* 80100820 000FD780 7C 03 00 40 */ cmplw r3, r0 -/* 80100824 000FD784 40 82 00 10 */ bne lbl_80100834 -/* 80100828 000FD788 38 00 00 01 */ li r0, 1 -/* 8010082C 000FD78C 98 04 00 0A */ stb r0, 0xa(r4) -/* 80100830 000FD790 48 00 01 28 */ b lbl_80100958 -lbl_80100834: -/* 80100834 000FD794 80 84 00 04 */ lwz r4, 4(r4) -lbl_80100838: -/* 80100838 000FD798 7C 04 28 40 */ cmplw r4, r5 -/* 8010083C 000FD79C 40 82 FF DC */ bne lbl_80100818 -/* 80100840 000FD7A0 7F C4 F3 78 */ mr r4, r30 -/* 80100844 000FD7A4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80100848 000FD7A8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8010084C 000FD7AC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80100850 000FD7B0 7D 89 03 A6 */ mtctr r12 -/* 80100854 000FD7B4 4E 80 04 21 */ bctrl -/* 80100858 000FD7B8 88 01 00 40 */ lbz r0, 0x40(r1) -/* 8010085C 000FD7BC 28 00 00 00 */ cmplwi r0, 0 -/* 80100860 000FD7C0 40 82 00 10 */ bne lbl_80100870 -/* 80100864 000FD7C4 38 00 00 00 */ li r0, 0 -/* 80100868 000FD7C8 98 01 00 40 */ stb r0, 0x40(r1) -/* 8010086C 000FD7CC 48 00 00 EC */ b lbl_80100958 -lbl_80100870: -/* 80100870 000FD7D0 83 7D 02 04 */ lwz r27, 0x204(r29) -/* 80100874 000FD7D4 3C 60 80 3D */ lis r3, lbl_803CEE38@ha -/* 80100878 000FD7D8 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l -/* 8010087C 000FD7DC A3 3E 00 08 */ lhz r25, 8(r30) -/* 80100880 000FD7E0 8B 8D 89 88 */ lbz r28, lbl_805A7548@sda21(r13) -/* 80100884 000FD7E4 38 60 00 0C */ li r3, 0xc -/* 80100888 000FD7E8 83 5B 00 00 */ lwz r26, 0(r27) -/* 8010088C 000FD7EC 38 A0 00 00 */ li r5, 0 -/* 80100890 000FD7F0 48 21 4F 89 */ bl __nwa__FUlPCcPCc -/* 80100894 000FD7F4 28 03 00 00 */ cmplwi r3, 0 -/* 80100898 000FD7F8 41 82 00 0C */ beq lbl_801008A4 -/* 8010089C 000FD7FC 93 43 00 00 */ stw r26, 0(r3) -/* 801008A0 000FD800 93 63 00 04 */ stw r27, 4(r3) -lbl_801008A4: -/* 801008A4 000FD804 34 83 00 08 */ addic. r4, r3, 8 -/* 801008A8 000FD808 41 82 00 0C */ beq lbl_801008B4 -/* 801008AC 000FD80C B3 24 00 00 */ sth r25, 0(r4) -/* 801008B0 000FD810 9B 84 00 02 */ stb r28, 2(r4) -lbl_801008B4: -/* 801008B4 000FD814 80 1D 02 00 */ lwz r0, 0x200(r29) -/* 801008B8 000FD818 7C 1B 00 40 */ cmplw r27, r0 -/* 801008BC 000FD81C 40 82 00 08 */ bne lbl_801008C4 -/* 801008C0 000FD820 90 7D 02 00 */ stw r3, 0x200(r29) -lbl_801008C4: -/* 801008C4 000FD824 80 A3 00 00 */ lwz r5, 0(r3) -/* 801008C8 000FD828 7F A4 EB 78 */ mr r4, r29 -/* 801008CC 000FD82C 90 65 00 04 */ stw r3, 4(r5) -/* 801008D0 000FD830 80 A3 00 04 */ lwz r5, 4(r3) -/* 801008D4 000FD834 90 65 00 00 */ stw r3, 0(r5) -/* 801008D8 000FD838 38 61 00 10 */ addi r3, r1, 0x10 -/* 801008DC 000FD83C 80 BD 02 10 */ lwz r5, 0x210(r29) -/* 801008E0 000FD840 38 05 00 01 */ addi r0, r5, 1 -/* 801008E4 000FD844 90 1D 02 10 */ stw r0, 0x210(r29) -/* 801008E8 000FD848 4B F7 5D E5 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 801008EC 000FD84C C0 21 00 24 */ lfs f1, 0x24(r1) -/* 801008F0 000FD850 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 801008F4 000FD854 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801008F8 000FD858 4C 40 13 82 */ cror 2, 0, 2 -/* 801008FC 000FD85C 40 82 00 34 */ bne lbl_80100930 -/* 80100900 000FD860 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80100904 000FD864 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80100908 000FD868 4C 41 13 82 */ cror 2, 1, 2 -/* 8010090C 000FD86C 40 82 00 24 */ bne lbl_80100930 -/* 80100910 000FD870 7F C3 F3 78 */ mr r3, r30 -/* 80100914 000FD874 7F A5 EB 78 */ mr r5, r29 -/* 80100918 000FD878 81 9E 00 00 */ lwz r12, 0(r30) -/* 8010091C 000FD87C 7F E6 FB 78 */ mr r6, r31 -/* 80100920 000FD880 38 80 00 00 */ li r4, 0 -/* 80100924 000FD884 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80100928 000FD888 7D 89 03 A6 */ mtctr r12 -/* 8010092C 000FD88C 4E 80 04 21 */ bctrl -lbl_80100930: -/* 80100930 000FD890 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80100934 000FD894 7F E3 FB 78 */ mr r3, r31 -/* 80100938 000FD898 7F C4 F3 78 */ mr r4, r30 -/* 8010093C 000FD89C 38 A1 00 0C */ addi r5, r1, 0xc -/* 80100940 000FD8A0 B0 01 00 08 */ sth r0, 8(r1) -/* 80100944 000FD8A4 38 C0 00 25 */ li r6, 0x25 -/* 80100948 000FD8A8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010094C 000FD8AC 4B F4 35 85 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80100950 000FD8B0 38 00 00 00 */ li r0, 0 -/* 80100954 000FD8B4 98 01 00 40 */ stb r0, 0x40(r1) -lbl_80100958: -/* 80100958 000FD8B8 BB 21 00 54 */ lmw r25, 0x54(r1) -/* 8010095C 000FD8BC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80100960 000FD8C0 7C 08 03 A6 */ mtlr r0 -/* 80100964 000FD8C4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80100968 000FD8C8 4E 80 00 20 */ blr - -.global GetNextConnectedWater__12CScriptWaterFR13CStateManager -GetNextConnectedWater__12CScriptWaterFR13CStateManager: -/* 8010096C 000FD8CC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80100970 000FD8D0 7C 08 02 A6 */ mflr r0 -/* 80100974 000FD8D4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80100978 000FD8D8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8010097C 000FD8DC 7C 9F 23 78 */ mr r31, r4 -/* 80100980 000FD8E0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80100984 000FD8E4 7C 7E 1B 78 */ mr r30, r3 -/* 80100988 000FD8E8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8010098C 000FD8EC 83 A3 00 2C */ lwz r29, 0x2c(r3) -/* 80100990 000FD8F0 48 00 00 98 */ b lbl_80100A28 -lbl_80100994: -/* 80100994 000FD8F4 80 1D 00 00 */ lwz r0, 0(r29) -/* 80100998 000FD8F8 2C 00 00 12 */ cmpwi r0, 0x12 -/* 8010099C 000FD8FC 40 82 00 88 */ bne lbl_80100A24 -/* 801009A0 000FD900 80 1D 00 04 */ lwz r0, 4(r29) -/* 801009A4 000FD904 2C 00 00 01 */ cmpwi r0, 1 -/* 801009A8 000FD908 40 82 00 7C */ bne lbl_80100A24 -/* 801009AC 000FD90C 80 1D 00 08 */ lwz r0, 8(r29) -/* 801009B0 000FD910 7F E4 FB 78 */ mr r4, r31 -/* 801009B4 000FD914 38 61 00 18 */ addi r3, r1, 0x18 -/* 801009B8 000FD918 38 A1 00 0C */ addi r5, r1, 0xc -/* 801009BC 000FD91C 90 01 00 0C */ stw r0, 0xc(r1) -/* 801009C0 000FD920 4B F4 76 09 */ bl GetIdListForScript__13CStateManagerCF9TEditorId -/* 801009C4 000FD924 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 801009C8 000FD928 38 60 00 00 */ li r3, 0 -/* 801009CC 000FD92C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 801009D0 000FD930 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 801009D4 000FD934 7C 05 00 40 */ cmplw r5, r0 -/* 801009D8 000FD938 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801009DC 000FD93C 40 82 00 0C */ bne lbl_801009E8 -/* 801009E0 000FD940 7C 04 00 40 */ cmplw r4, r0 -/* 801009E4 000FD944 41 82 00 08 */ beq lbl_801009EC -lbl_801009E8: -/* 801009E8 000FD948 38 60 00 01 */ li r3, 1 -lbl_801009EC: -/* 801009EC 000FD94C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801009F0 000FD950 41 82 00 34 */ beq lbl_80100A24 -/* 801009F4 000FD954 A0 05 00 14 */ lhz r0, 0x14(r5) -/* 801009F8 000FD958 7F E3 FB 78 */ mr r3, r31 -/* 801009FC 000FD95C 38 81 00 08 */ addi r4, r1, 8 -/* 80100A00 000FD960 B0 01 00 08 */ sth r0, 8(r1) -/* 80100A04 000FD964 4B F4 BB A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80100A08 000FD968 7C 64 1B 78 */ mr r4, r3 -/* 80100A0C 000FD96C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80100A10 000FD970 4B FA 5E 51 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" -/* 80100A14 000FD974 80 63 00 04 */ lwz r3, 4(r3) -/* 80100A18 000FD978 28 03 00 00 */ cmplwi r3, 0 -/* 80100A1C 000FD97C 41 82 00 08 */ beq lbl_80100A24 -/* 80100A20 000FD980 48 00 00 24 */ b lbl_80100A44 -lbl_80100A24: -/* 80100A24 000FD984 3B BD 00 0C */ addi r29, r29, 0xc -lbl_80100A28: -/* 80100A28 000FD988 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 80100A2C 000FD98C 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 80100A30 000FD990 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80100A34 000FD994 7C 03 02 14 */ add r0, r3, r0 -/* 80100A38 000FD998 7C 1D 00 40 */ cmplw r29, r0 -/* 80100A3C 000FD99C 40 82 FF 58 */ bne lbl_80100994 -/* 80100A40 000FD9A0 38 60 00 00 */ li r3, 0 -lbl_80100A44: -/* 80100A44 000FD9A4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80100A48 000FD9A8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80100A4C 000FD9AC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80100A50 000FD9B0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80100A54 000FD9B4 7C 08 03 A6 */ mtlr r0 -/* 80100A58 000FD9B8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80100A5C 000FD9BC 4E 80 00 20 */ blr - -.global AcceptScriptMsg__12CScriptWaterF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__12CScriptWaterF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80100A60 000FD9C0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80100A64 000FD9C4 7C 08 02 A6 */ mflr r0 -/* 80100A68 000FD9C8 90 01 00 54 */ stw r0, 0x54(r1) -/* 80100A6C 000FD9CC BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 80100A70 000FD9D0 7C 9C 23 78 */ mr r28, r4 -/* 80100A74 000FD9D4 2C 1C 00 08 */ cmpwi r28, 8 -/* 80100A78 000FD9D8 7C 7B 1B 78 */ mr r27, r3 -/* 80100A7C 000FD9DC 7C BD 2B 78 */ mr r29, r5 -/* 80100A80 000FD9E0 7C DE 33 78 */ mr r30, r6 -/* 80100A84 000FD9E4 41 82 00 20 */ beq lbl_80100AA4 -/* 80100A88 000FD9E8 40 80 00 10 */ bge lbl_80100A98 -/* 80100A8C 000FD9EC 2C 1C 00 01 */ cmpwi r28, 1 -/* 80100A90 000FD9F0 41 82 01 A4 */ beq lbl_80100C34 -/* 80100A94 000FD9F4 48 00 02 4C */ b lbl_80100CE0 -lbl_80100A98: -/* 80100A98 000FD9F8 2C 1C 00 13 */ cmpwi r28, 0x13 -/* 80100A9C 000FD9FC 41 82 01 F8 */ beq lbl_80100C94 -/* 80100AA0 000FDA00 48 00 02 40 */ b lbl_80100CE0 -lbl_80100AA4: -/* 80100AA4 000FDA04 88 1B 00 30 */ lbz r0, 0x30(r27) -/* 80100AA8 000FDA08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80100AAC 000FDA0C 41 82 02 34 */ beq lbl_80100CE0 -/* 80100AB0 000FDA10 88 7B 02 E8 */ lbz r3, 0x2e8(r27) -/* 80100AB4 000FDA14 54 60 D7 FE */ rlwinm r0, r3, 0x1a, 0x1f, 0x1f -/* 80100AB8 000FDA18 7C 00 00 34 */ cntlzw r0, r0 -/* 80100ABC 000FDA1C 50 03 0E 72 */ rlwimi r3, r0, 1, 0x19, 0x19 -/* 80100AC0 000FDA20 98 7B 02 E8 */ stb r3, 0x2e8(r27) -/* 80100AC4 000FDA24 88 1B 02 E8 */ lbz r0, 0x2e8(r27) -/* 80100AC8 000FDA28 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80100ACC 000FDA2C 41 82 01 58 */ beq lbl_80100C24 -/* 80100AD0 000FDA30 83 FB 00 2C */ lwz r31, 0x2c(r27) -/* 80100AD4 000FDA34 48 00 01 38 */ b lbl_80100C0C -lbl_80100AD8: -/* 80100AD8 000FDA38 80 1F 00 00 */ lwz r0, 0(r31) -/* 80100ADC 000FDA3C 2C 00 00 12 */ cmpwi r0, 0x12 -/* 80100AE0 000FDA40 40 82 01 28 */ bne lbl_80100C08 -/* 80100AE4 000FDA44 80 1F 00 04 */ lwz r0, 4(r31) -/* 80100AE8 000FDA48 2C 00 00 01 */ cmpwi r0, 1 -/* 80100AEC 000FDA4C 40 82 01 1C */ bne lbl_80100C08 -/* 80100AF0 000FDA50 80 1F 00 08 */ lwz r0, 8(r31) -/* 80100AF4 000FDA54 7F C4 F3 78 */ mr r4, r30 -/* 80100AF8 000FDA58 38 61 00 1C */ addi r3, r1, 0x1c -/* 80100AFC 000FDA5C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80100B00 000FDA60 90 01 00 10 */ stw r0, 0x10(r1) -/* 80100B04 000FDA64 4B F4 74 C5 */ bl GetIdListForScript__13CStateManagerCF9TEditorId -/* 80100B08 000FDA68 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 80100B0C 000FDA6C 38 60 00 00 */ li r3, 0 -/* 80100B10 000FDA70 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80100B14 000FDA74 80 81 00 20 */ lwz r4, 0x20(r1) -/* 80100B18 000FDA78 7C 05 00 40 */ cmplw r5, r0 -/* 80100B1C 000FDA7C 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80100B20 000FDA80 40 82 00 0C */ bne lbl_80100B2C -/* 80100B24 000FDA84 7C 04 00 40 */ cmplw r4, r0 -/* 80100B28 000FDA88 41 82 00 08 */ beq lbl_80100B30 -lbl_80100B2C: -/* 80100B2C 000FDA8C 38 60 00 01 */ li r3, 1 -lbl_80100B30: -/* 80100B30 000FDA90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80100B34 000FDA94 41 82 00 D4 */ beq lbl_80100C08 -/* 80100B38 000FDA98 A0 05 00 14 */ lhz r0, 0x14(r5) -/* 80100B3C 000FDA9C 7F C3 F3 78 */ mr r3, r30 -/* 80100B40 000FDAA0 38 81 00 0C */ addi r4, r1, 0xc -/* 80100B44 000FDAA4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80100B48 000FDAA8 4B F4 BA 5D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80100B4C 000FDAAC 7C 64 1B 78 */ mr r4, r3 -/* 80100B50 000FDAB0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80100B54 000FDAB4 4B FA 63 95 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" -/* 80100B58 000FDAB8 80 63 00 04 */ lwz r3, 4(r3) -/* 80100B5C 000FDABC 28 03 00 00 */ cmplwi r3, 0 -/* 80100B60 000FDAC0 41 82 00 A8 */ beq lbl_80100C08 -/* 80100B64 000FDAC4 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80100B68 000FDAC8 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80100B6C 000FDACC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80100B70 000FDAD0 D0 1B 01 B8 */ stfs f0, 0x1b8(r27) -/* 80100B74 000FDAD4 D0 3B 01 BC */ stfs f1, 0x1bc(r27) -/* 80100B78 000FDAD8 D0 5B 01 C0 */ stfs f2, 0x1c0(r27) -/* 80100B7C 000FDADC C0 23 01 3C */ lfs f1, 0x13c(r3) -/* 80100B80 000FDAE0 C0 03 01 30 */ lfs f0, 0x130(r3) -/* 80100B84 000FDAE4 C0 63 01 40 */ lfs f3, 0x140(r3) -/* 80100B88 000FDAE8 C0 43 01 34 */ lfs f2, 0x134(r3) -/* 80100B8C 000FDAEC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80100B90 000FDAF0 C0 83 01 44 */ lfs f4, 0x144(r3) -/* 80100B94 000FDAF4 C0 23 01 38 */ lfs f1, 0x138(r3) -/* 80100B98 000FDAF8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80100B9C 000FDAFC D0 1B 01 C4 */ stfs f0, 0x1c4(r27) -/* 80100BA0 000FDB00 EC 04 08 28 */ fsubs f0, f4, f1 -/* 80100BA4 000FDB04 D0 5B 01 C8 */ stfs f2, 0x1c8(r27) -/* 80100BA8 000FDB08 D0 1B 01 CC */ stfs f0, 0x1cc(r27) -/* 80100BAC 000FDB0C C0 03 01 08 */ lfs f0, 0x108(r3) -/* 80100BB0 000FDB10 D0 1B 01 F0 */ stfs f0, 0x1f0(r27) -/* 80100BB4 000FDB14 C0 5B 00 60 */ lfs f2, 0x60(r27) -/* 80100BB8 000FDB18 C0 3B 00 50 */ lfs f1, 0x50(r27) -/* 80100BBC 000FDB1C C0 1B 00 40 */ lfs f0, 0x40(r27) -/* 80100BC0 000FDB20 D0 1B 01 D4 */ stfs f0, 0x1d4(r27) -/* 80100BC4 000FDB24 D0 3B 01 D8 */ stfs f1, 0x1d8(r27) -/* 80100BC8 000FDB28 D0 5B 01 DC */ stfs f2, 0x1dc(r27) -/* 80100BCC 000FDB2C C0 3B 01 3C */ lfs f1, 0x13c(r27) -/* 80100BD0 000FDB30 C0 1B 01 30 */ lfs f0, 0x130(r27) -/* 80100BD4 000FDB34 C0 7B 01 40 */ lfs f3, 0x140(r27) -/* 80100BD8 000FDB38 C0 5B 01 34 */ lfs f2, 0x134(r27) -/* 80100BDC 000FDB3C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80100BE0 000FDB40 C0 9B 01 44 */ lfs f4, 0x144(r27) -/* 80100BE4 000FDB44 C0 3B 01 38 */ lfs f1, 0x138(r27) -/* 80100BE8 000FDB48 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80100BEC 000FDB4C D0 1B 01 E0 */ stfs f0, 0x1e0(r27) -/* 80100BF0 000FDB50 EC 04 08 28 */ fsubs f0, f4, f1 -/* 80100BF4 000FDB54 D0 5B 01 E4 */ stfs f2, 0x1e4(r27) -/* 80100BF8 000FDB58 D0 1B 01 E8 */ stfs f0, 0x1e8(r27) -/* 80100BFC 000FDB5C C0 1B 01 08 */ lfs f0, 0x108(r27) -/* 80100C00 000FDB60 D0 1B 01 EC */ stfs f0, 0x1ec(r27) -/* 80100C04 000FDB64 48 00 00 20 */ b lbl_80100C24 -lbl_80100C08: -/* 80100C08 000FDB68 3B FF 00 0C */ addi r31, r31, 0xc -lbl_80100C0C: -/* 80100C0C 000FDB6C 80 1B 00 24 */ lwz r0, 0x24(r27) -/* 80100C10 000FDB70 80 7B 00 2C */ lwz r3, 0x2c(r27) -/* 80100C14 000FDB74 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80100C18 000FDB78 7C 03 02 14 */ add r0, r3, r0 -/* 80100C1C 000FDB7C 7C 1F 00 40 */ cmplw r31, r0 -/* 80100C20 000FDB80 40 82 FE B8 */ bne lbl_80100AD8 -lbl_80100C24: -/* 80100C24 000FDB84 7F 63 DB 78 */ mr r3, r27 -/* 80100C28 000FDB88 38 80 00 01 */ li r4, 1 -/* 80100C2C 000FDB8C 4B FF E9 A9 */ bl SetMorphing__12CScriptWaterFb -/* 80100C30 000FDB90 48 00 00 B0 */ b lbl_80100CE0 -lbl_80100C34: -/* 80100C34 000FDB94 88 1B 02 E8 */ lbz r0, 0x2e8(r27) -/* 80100C38 000FDB98 38 60 00 00 */ li r3, 0 -/* 80100C3C 000FDB9C 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80100C40 000FDBA0 C0 22 93 BC */ lfs f1, lbl_805AB0DC@sda21(r2) -/* 80100C44 000FDBA4 98 1B 02 E8 */ stb r0, 0x2e8(r27) -/* 80100C48 000FDBA8 C0 02 93 D4 */ lfs f0, lbl_805AB0F4@sda21(r2) -/* 80100C4C 000FDBAC C0 5B 02 AC */ lfs f2, 0x2ac(r27) -/* 80100C50 000FDBB0 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80100C54 000FDBB4 FC 20 0A 10 */ fabs f1, f1 -/* 80100C58 000FDBB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80100C5C 000FDBBC 40 80 00 24 */ bge lbl_80100C80 -/* 80100C60 000FDBC0 80 7B 01 B4 */ lwz r3, 0x1b4(r27) -/* 80100C64 000FDBC4 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80100C68 000FDBC8 D0 1B 02 BC */ stfs f0, 0x2bc(r27) -/* 80100C6C 000FDBCC C0 1B 02 1C */ lfs f0, 0x21c(r27) -/* 80100C70 000FDBD0 D0 1B 02 14 */ stfs f0, 0x214(r27) -/* 80100C74 000FDBD4 C0 1B 02 20 */ lfs f0, 0x220(r27) -/* 80100C78 000FDBD8 D0 1B 02 18 */ stfs f0, 0x218(r27) -/* 80100C7C 000FDBDC 48 00 00 64 */ b lbl_80100CE0 -lbl_80100C80: -/* 80100C80 000FDBE0 88 1B 02 E8 */ lbz r0, 0x2e8(r27) -/* 80100C84 000FDBE4 38 60 00 01 */ li r3, 1 -/* 80100C88 000FDBE8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80100C8C 000FDBEC 98 1B 02 E8 */ stb r0, 0x2e8(r27) -/* 80100C90 000FDBF0 48 00 00 50 */ b lbl_80100CE0 -lbl_80100C94: -/* 80100C94 000FDBF4 88 1B 02 E8 */ lbz r0, 0x2e8(r27) -/* 80100C98 000FDBF8 38 60 00 00 */ li r3, 0 -/* 80100C9C 000FDBFC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80100CA0 000FDC00 C0 42 93 BC */ lfs f2, lbl_805AB0DC@sda21(r2) -/* 80100CA4 000FDC04 98 1B 02 E8 */ stb r0, 0x2e8(r27) -/* 80100CA8 000FDC08 C0 02 93 D4 */ lfs f0, lbl_805AB0F4@sda21(r2) -/* 80100CAC 000FDC0C C0 3B 02 B0 */ lfs f1, 0x2b0(r27) -/* 80100CB0 000FDC10 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80100CB4 000FDC14 FC 20 0A 10 */ fabs f1, f1 -/* 80100CB8 000FDC18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80100CBC 000FDC1C 40 80 00 14 */ bge lbl_80100CD0 -/* 80100CC0 000FDC20 D0 5B 02 BC */ stfs f2, 0x2bc(r27) -/* 80100CC4 000FDC24 D0 5B 02 14 */ stfs f2, 0x214(r27) -/* 80100CC8 000FDC28 D0 5B 02 18 */ stfs f2, 0x218(r27) -/* 80100CCC 000FDC2C 48 00 00 14 */ b lbl_80100CE0 -lbl_80100CD0: -/* 80100CD0 000FDC30 88 1B 02 E8 */ lbz r0, 0x2e8(r27) -/* 80100CD4 000FDC34 38 60 00 01 */ li r3, 1 -/* 80100CD8 000FDC38 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80100CDC 000FDC3C 98 1B 02 E8 */ stb r0, 0x2e8(r27) -lbl_80100CE0: -/* 80100CE0 000FDC40 A0 1D 00 00 */ lhz r0, 0(r29) -/* 80100CE4 000FDC44 7F 63 DB 78 */ mr r3, r27 -/* 80100CE8 000FDC48 7F 84 E3 78 */ mr r4, r28 -/* 80100CEC 000FDC4C 7F C6 F3 78 */ mr r6, r30 -/* 80100CF0 000FDC50 B0 01 00 08 */ sth r0, 8(r1) -/* 80100CF4 000FDC54 38 A1 00 08 */ addi r5, r1, 8 -/* 80100CF8 000FDC58 4B F7 58 01 */ bl AcceptScriptMsg__14CScriptTriggerF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80100CFC 000FDC5C BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 80100D00 000FDC60 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80100D04 000FDC64 7C 08 03 A6 */ mtlr r0 -/* 80100D08 000FDC68 38 21 00 50 */ addi r1, r1, 0x50 -/* 80100D0C 000FDC6C 4E 80 00 20 */ blr - -.global __dt__12CScriptWaterFv -__dt__12CScriptWaterFv: -/* 80100D10 000FDC70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80100D14 000FDC74 7C 08 02 A6 */ mflr r0 -/* 80100D18 000FDC78 90 01 00 14 */ stw r0, 0x14(r1) -/* 80100D1C 000FDC7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80100D20 000FDC80 7C 9F 23 78 */ mr r31, r4 -/* 80100D24 000FDC84 93 C1 00 08 */ stw r30, 8(r1) -/* 80100D28 000FDC88 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80100D2C 000FDC8C 41 82 01 C4 */ beq lbl_80100EF0 -/* 80100D30 000FDC90 3C 60 80 3E */ lis r3, lbl_803DFE70@ha -/* 80100D34 000FDC94 34 1E 02 E0 */ addic. r0, r30, 0x2e0 -/* 80100D38 000FDC98 38 03 FE 70 */ addi r0, r3, lbl_803DFE70@l -/* 80100D3C 000FDC9C 90 1E 00 00 */ stw r0, 0(r30) -/* 80100D40 000FDCA0 41 82 00 0C */ beq lbl_80100D4C -/* 80100D44 000FDCA4 80 7E 02 E0 */ lwz r3, 0x2e0(r30) -/* 80100D48 000FDCA8 48 21 4B E9 */ bl Free__7CMemoryFPCv -lbl_80100D4C: -/* 80100D4C 000FDCAC 34 1E 02 DC */ addic. r0, r30, 0x2dc -/* 80100D50 000FDCB0 41 82 00 0C */ beq lbl_80100D5C -/* 80100D54 000FDCB4 80 7E 02 DC */ lwz r3, 0x2dc(r30) -/* 80100D58 000FDCB8 48 21 4B D9 */ bl Free__7CMemoryFPCv -lbl_80100D5C: -/* 80100D5C 000FDCBC 34 1E 02 D8 */ addic. r0, r30, 0x2d8 -/* 80100D60 000FDCC0 41 82 00 0C */ beq lbl_80100D6C -/* 80100D64 000FDCC4 80 7E 02 D8 */ lwz r3, 0x2d8(r30) -/* 80100D68 000FDCC8 48 21 4B C9 */ bl Free__7CMemoryFPCv -lbl_80100D6C: -/* 80100D6C 000FDCCC 34 1E 02 98 */ addic. r0, r30, 0x298 -/* 80100D70 000FDCD0 41 82 00 58 */ beq lbl_80100DC8 -/* 80100D74 000FDCD4 80 BE 02 98 */ lwz r5, 0x298(r30) -/* 80100D78 000FDCD8 38 60 00 00 */ li r3, 0 -/* 80100D7C 000FDCDC 2C 05 00 00 */ cmpwi r5, 0 -/* 80100D80 000FDCE0 40 81 00 40 */ ble lbl_80100DC0 -/* 80100D84 000FDCE4 2C 05 00 08 */ cmpwi r5, 8 -/* 80100D88 000FDCE8 38 85 FF F8 */ addi r4, r5, -8 -/* 80100D8C 000FDCEC 40 81 00 20 */ ble lbl_80100DAC -/* 80100D90 000FDCF0 38 04 00 07 */ addi r0, r4, 7 -/* 80100D94 000FDCF4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80100D98 000FDCF8 7C 09 03 A6 */ mtctr r0 -/* 80100D9C 000FDCFC 2C 04 00 00 */ cmpwi r4, 0 -/* 80100DA0 000FDD00 40 81 00 0C */ ble lbl_80100DAC -lbl_80100DA4: -/* 80100DA4 000FDD04 38 63 00 08 */ addi r3, r3, 8 -/* 80100DA8 000FDD08 42 00 FF FC */ bdnz lbl_80100DA4 -lbl_80100DAC: -/* 80100DAC 000FDD0C 7C 03 28 50 */ subf r0, r3, r5 -/* 80100DB0 000FDD10 7C 09 03 A6 */ mtctr r0 -/* 80100DB4 000FDD14 7C 03 28 00 */ cmpw r3, r5 -/* 80100DB8 000FDD18 40 80 00 08 */ bge lbl_80100DC0 -lbl_80100DBC: -/* 80100DBC 000FDD1C 42 00 00 00 */ bdnz lbl_80100DBC -lbl_80100DC0: -/* 80100DC0 000FDD20 38 00 00 00 */ li r0, 0 -/* 80100DC4 000FDD24 90 1E 02 98 */ stw r0, 0x298(r30) -lbl_80100DC8: -/* 80100DC8 000FDD28 38 7E 02 64 */ addi r3, r30, 0x264 -/* 80100DCC 000FDD2C 38 80 FF FF */ li r4, -1 -/* 80100DD0 000FDD30 48 00 02 7D */ bl "clear__Q24rstl78reserved_vector>,3>Fv" -/* 80100DD4 000FDD34 34 1E 02 50 */ addic. r0, r30, 0x250 -/* 80100DD8 000FDD38 41 82 00 30 */ beq lbl_80100E08 -/* 80100DDC 000FDD3C 88 1E 02 5C */ lbz r0, 0x25c(r30) -/* 80100DE0 000FDD40 28 00 00 00 */ cmplwi r0, 0 -/* 80100DE4 000FDD44 41 82 00 1C */ beq lbl_80100E00 -/* 80100DE8 000FDD48 34 7E 02 50 */ addic. r3, r30, 0x250 -/* 80100DEC 000FDD4C 41 82 00 14 */ beq lbl_80100E00 -/* 80100DF0 000FDD50 28 03 00 00 */ cmplwi r3, 0 -/* 80100DF4 000FDD54 41 82 00 0C */ beq lbl_80100E00 -/* 80100DF8 000FDD58 38 80 00 00 */ li r4, 0 -/* 80100DFC 000FDD5C 48 24 00 45 */ bl __dt__6CTokenFv -lbl_80100E00: -/* 80100E00 000FDD60 38 00 00 00 */ li r0, 0 -/* 80100E04 000FDD64 98 1E 02 5C */ stb r0, 0x25c(r30) -lbl_80100E08: -/* 80100E08 000FDD68 34 1E 02 3C */ addic. r0, r30, 0x23c -/* 80100E0C 000FDD6C 41 82 00 30 */ beq lbl_80100E3C -/* 80100E10 000FDD70 88 1E 02 48 */ lbz r0, 0x248(r30) -/* 80100E14 000FDD74 28 00 00 00 */ cmplwi r0, 0 -/* 80100E18 000FDD78 41 82 00 1C */ beq lbl_80100E34 -/* 80100E1C 000FDD7C 34 7E 02 3C */ addic. r3, r30, 0x23c -/* 80100E20 000FDD80 41 82 00 14 */ beq lbl_80100E34 -/* 80100E24 000FDD84 28 03 00 00 */ cmplwi r3, 0 -/* 80100E28 000FDD88 41 82 00 0C */ beq lbl_80100E34 -/* 80100E2C 000FDD8C 38 80 00 00 */ li r4, 0 -/* 80100E30 000FDD90 48 24 00 11 */ bl __dt__6CTokenFv -lbl_80100E34: -/* 80100E34 000FDD94 38 00 00 00 */ li r0, 0 -/* 80100E38 000FDD98 98 1E 02 48 */ stb r0, 0x248(r30) -lbl_80100E3C: -/* 80100E3C 000FDD9C 38 7E 01 FC */ addi r3, r30, 0x1fc -/* 80100E40 000FDDA0 38 80 FF FF */ li r4, -1 -/* 80100E44 000FDDA4 48 00 10 45 */ bl sub_80101e88 -/* 80100E48 000FDDA8 34 1E 01 B4 */ addic. r0, r30, 0x1b4 -/* 80100E4C 000FDDAC 41 82 00 24 */ beq lbl_80100E70 -/* 80100E50 000FDDB0 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 80100E54 000FDDB4 28 03 00 00 */ cmplwi r3, 0 -/* 80100E58 000FDDB8 41 82 00 18 */ beq lbl_80100E70 -/* 80100E5C 000FDDBC 81 83 00 00 */ lwz r12, 0(r3) -/* 80100E60 000FDDC0 38 80 00 01 */ li r4, 1 -/* 80100E64 000FDDC4 81 8C 00 08 */ lwz r12, 8(r12) -/* 80100E68 000FDDC8 7D 89 03 A6 */ mtctr r12 -/* 80100E6C 000FDDCC 4E 80 04 21 */ bctrl -lbl_80100E70: -/* 80100E70 000FDDD0 34 1E 01 50 */ addic. r0, r30, 0x150 -/* 80100E74 000FDDD4 41 82 00 60 */ beq lbl_80100ED4 -/* 80100E78 000FDDD8 34 1E 01 50 */ addic. r0, r30, 0x150 -/* 80100E7C 000FDDDC 41 82 00 58 */ beq lbl_80100ED4 -/* 80100E80 000FDDE0 80 BE 01 50 */ lwz r5, 0x150(r30) -/* 80100E84 000FDDE4 38 60 00 00 */ li r3, 0 -/* 80100E88 000FDDE8 2C 05 00 00 */ cmpwi r5, 0 -/* 80100E8C 000FDDEC 40 81 00 40 */ ble lbl_80100ECC -/* 80100E90 000FDDF0 2C 05 00 08 */ cmpwi r5, 8 -/* 80100E94 000FDDF4 38 85 FF F8 */ addi r4, r5, -8 -/* 80100E98 000FDDF8 40 81 00 20 */ ble lbl_80100EB8 -/* 80100E9C 000FDDFC 38 04 00 07 */ addi r0, r4, 7 -/* 80100EA0 000FDE00 54 00 E8 FE */ srwi r0, r0, 3 -/* 80100EA4 000FDE04 7C 09 03 A6 */ mtctr r0 -/* 80100EA8 000FDE08 2C 04 00 00 */ cmpwi r4, 0 -/* 80100EAC 000FDE0C 40 81 00 0C */ ble lbl_80100EB8 -lbl_80100EB0: -/* 80100EB0 000FDE10 38 63 00 08 */ addi r3, r3, 8 -/* 80100EB4 000FDE14 42 00 FF FC */ bdnz lbl_80100EB0 -lbl_80100EB8: -/* 80100EB8 000FDE18 7C 03 28 50 */ subf r0, r3, r5 -/* 80100EBC 000FDE1C 7C 09 03 A6 */ mtctr r0 -/* 80100EC0 000FDE20 7C 03 28 00 */ cmpw r3, r5 -/* 80100EC4 000FDE24 40 80 00 08 */ bge lbl_80100ECC -lbl_80100EC8: -/* 80100EC8 000FDE28 42 00 00 00 */ bdnz lbl_80100EC8 -lbl_80100ECC: -/* 80100ECC 000FDE2C 38 00 00 00 */ li r0, 0 -/* 80100ED0 000FDE30 90 1E 01 50 */ stw r0, 0x150(r30) -lbl_80100ED4: -/* 80100ED4 000FDE34 7F C3 F3 78 */ mr r3, r30 -/* 80100ED8 000FDE38 38 80 00 00 */ li r4, 0 -/* 80100EDC 000FDE3C 4B F7 5D A5 */ bl __dt__14CScriptTriggerFv -/* 80100EE0 000FDE40 7F E0 07 35 */ extsh. r0, r31 -/* 80100EE4 000FDE44 40 81 00 0C */ ble lbl_80100EF0 -/* 80100EE8 000FDE48 7F C3 F3 78 */ mr r3, r30 -/* 80100EEC 000FDE4C 48 21 4A 45 */ bl Free__7CMemoryFPCv -lbl_80100EF0: -/* 80100EF0 000FDE50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80100EF4 000FDE54 7F C3 F3 78 */ mr r3, r30 -/* 80100EF8 000FDE58 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80100EFC 000FDE5C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80100F00 000FDE60 7C 08 03 A6 */ mtlr r0 -/* 80100F04 000FDE64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80100F08 000FDE68 4E 80 00 20 */ blr - -.global __dt__14CFluidPlaneCPUFv -__dt__14CFluidPlaneCPUFv: -/* 80100F0C 000FDE6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80100F10 000FDE70 7C 08 02 A6 */ mflr r0 -/* 80100F14 000FDE74 90 01 00 14 */ stw r0, 0x14(r1) -/* 80100F18 000FDE78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80100F1C 000FDE7C 7C 9F 23 78 */ mr r31, r4 -/* 80100F20 000FDE80 93 C1 00 08 */ stw r30, 8(r1) -/* 80100F24 000FDE84 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80100F28 000FDE88 41 82 01 08 */ beq lbl_80101030 -/* 80100F2C 000FDE8C 3C 80 80 3E */ lis r4, lbl_803E46C8@ha -/* 80100F30 000FDE90 38 7E 01 20 */ addi r3, r30, 0x120 -/* 80100F34 000FDE94 38 04 46 C8 */ addi r0, r4, lbl_803E46C8@l -/* 80100F38 000FDE98 38 80 FF FF */ li r4, -1 -/* 80100F3C 000FDE9C 90 1E 00 00 */ stw r0, 0(r30) -/* 80100F40 000FDEA0 48 09 BB F5 */ bl __dt__11CTurbulenceFv -/* 80100F44 000FDEA4 34 1E 00 E0 */ addic. r0, r30, 0xe0 -/* 80100F48 000FDEA8 41 82 00 30 */ beq lbl_80100F78 -/* 80100F4C 000FDEAC 88 1E 00 EC */ lbz r0, 0xec(r30) -/* 80100F50 000FDEB0 28 00 00 00 */ cmplwi r0, 0 -/* 80100F54 000FDEB4 41 82 00 1C */ beq lbl_80100F70 -/* 80100F58 000FDEB8 34 7E 00 E0 */ addic. r3, r30, 0xe0 -/* 80100F5C 000FDEBC 41 82 00 14 */ beq lbl_80100F70 -/* 80100F60 000FDEC0 28 03 00 00 */ cmplwi r3, 0 -/* 80100F64 000FDEC4 41 82 00 0C */ beq lbl_80100F70 -/* 80100F68 000FDEC8 38 80 00 00 */ li r4, 0 -/* 80100F6C 000FDECC 48 23 FE D5 */ bl __dt__6CTokenFv -lbl_80100F70: -/* 80100F70 000FDED0 38 00 00 00 */ li r0, 0 -/* 80100F74 000FDED4 98 1E 00 EC */ stb r0, 0xec(r30) -lbl_80100F78: -/* 80100F78 000FDED8 34 1E 00 D0 */ addic. r0, r30, 0xd0 -/* 80100F7C 000FDEDC 41 82 00 30 */ beq lbl_80100FAC -/* 80100F80 000FDEE0 88 1E 00 DC */ lbz r0, 0xdc(r30) -/* 80100F84 000FDEE4 28 00 00 00 */ cmplwi r0, 0 -/* 80100F88 000FDEE8 41 82 00 1C */ beq lbl_80100FA4 -/* 80100F8C 000FDEEC 34 7E 00 D0 */ addic. r3, r30, 0xd0 -/* 80100F90 000FDEF0 41 82 00 14 */ beq lbl_80100FA4 -/* 80100F94 000FDEF4 28 03 00 00 */ cmplwi r3, 0 -/* 80100F98 000FDEF8 41 82 00 0C */ beq lbl_80100FA4 -/* 80100F9C 000FDEFC 38 80 00 00 */ li r4, 0 -/* 80100FA0 000FDF00 48 23 FE A1 */ bl __dt__6CTokenFv -lbl_80100FA4: -/* 80100FA4 000FDF04 38 00 00 00 */ li r0, 0 -/* 80100FA8 000FDF08 98 1E 00 DC */ stb r0, 0xdc(r30) -lbl_80100FAC: -/* 80100FAC 000FDF0C 34 1E 00 C0 */ addic. r0, r30, 0xc0 -/* 80100FB0 000FDF10 41 82 00 30 */ beq lbl_80100FE0 -/* 80100FB4 000FDF14 88 1E 00 CC */ lbz r0, 0xcc(r30) -/* 80100FB8 000FDF18 28 00 00 00 */ cmplwi r0, 0 -/* 80100FBC 000FDF1C 41 82 00 1C */ beq lbl_80100FD8 -/* 80100FC0 000FDF20 34 7E 00 C0 */ addic. r3, r30, 0xc0 -/* 80100FC4 000FDF24 41 82 00 14 */ beq lbl_80100FD8 -/* 80100FC8 000FDF28 28 03 00 00 */ cmplwi r3, 0 -/* 80100FCC 000FDF2C 41 82 00 0C */ beq lbl_80100FD8 -/* 80100FD0 000FDF30 38 80 00 00 */ li r4, 0 -/* 80100FD4 000FDF34 48 23 FE 6D */ bl __dt__6CTokenFv -lbl_80100FD8: -/* 80100FD8 000FDF38 38 00 00 00 */ li r0, 0 -/* 80100FDC 000FDF3C 98 1E 00 CC */ stb r0, 0xcc(r30) -lbl_80100FE0: -/* 80100FE0 000FDF40 34 1E 00 B0 */ addic. r0, r30, 0xb0 -/* 80100FE4 000FDF44 41 82 00 30 */ beq lbl_80101014 -/* 80100FE8 000FDF48 88 1E 00 BC */ lbz r0, 0xbc(r30) -/* 80100FEC 000FDF4C 28 00 00 00 */ cmplwi r0, 0 -/* 80100FF0 000FDF50 41 82 00 1C */ beq lbl_8010100C -/* 80100FF4 000FDF54 34 7E 00 B0 */ addic. r3, r30, 0xb0 -/* 80100FF8 000FDF58 41 82 00 14 */ beq lbl_8010100C -/* 80100FFC 000FDF5C 28 03 00 00 */ cmplwi r3, 0 -/* 80101000 000FDF60 41 82 00 0C */ beq lbl_8010100C -/* 80101004 000FDF64 38 80 00 00 */ li r4, 0 -/* 80101008 000FDF68 48 23 FE 39 */ bl __dt__6CTokenFv -lbl_8010100C: -/* 8010100C 000FDF6C 38 00 00 00 */ li r0, 0 -/* 80101010 000FDF70 98 1E 00 BC */ stb r0, 0xbc(r30) -lbl_80101014: -/* 80101014 000FDF74 7F C3 F3 78 */ mr r3, r30 -/* 80101018 000FDF78 38 80 00 00 */ li r4, 0 -/* 8010101C 000FDF7C 48 02 DB C1 */ bl __dt__11CFluidPlaneFv -/* 80101020 000FDF80 7F E0 07 35 */ extsh. r0, r31 -/* 80101024 000FDF84 40 81 00 0C */ ble lbl_80101030 -/* 80101028 000FDF88 7F C3 F3 78 */ mr r3, r30 -/* 8010102C 000FDF8C 48 21 49 05 */ bl Free__7CMemoryFPCv -lbl_80101030: -/* 80101030 000FDF90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80101034 000FDF94 7F C3 F3 78 */ mr r3, r30 -/* 80101038 000FDF98 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8010103C 000FDF9C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80101040 000FDFA0 7C 08 03 A6 */ mtlr r0 -/* 80101044 000FDFA4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80101048 000FDFA8 4E 80 00 20 */ blr - -.global "clear__Q24rstl78reserved_vector>,3>Fv" -"clear__Q24rstl78reserved_vector>,3>Fv": -/* 8010104C 000FDFAC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80101050 000FDFB0 7C 08 02 A6 */ mflr r0 -/* 80101054 000FDFB4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80101058 000FDFB8 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8010105C 000FDFBC 7C 7B 1B 79 */ or. r27, r3, r3 -/* 80101060 000FDFC0 7C 9C 23 78 */ mr r28, r4 -/* 80101064 000FDFC4 41 82 00 70 */ beq lbl_801010D4 -/* 80101068 000FDFC8 3B C0 00 00 */ li r30, 0 -/* 8010106C 000FDFCC 3B BB 00 04 */ addi r29, r27, 4 -/* 80101070 000FDFD0 7F DF F3 78 */ mr r31, r30 -/* 80101074 000FDFD4 48 00 00 3C */ b lbl_801010B0 -lbl_80101078: -/* 80101078 000FDFD8 28 1D 00 00 */ cmplwi r29, 0 -/* 8010107C 000FDFDC 41 82 00 2C */ beq lbl_801010A8 -/* 80101080 000FDFE0 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 80101084 000FDFE4 28 00 00 00 */ cmplwi r0, 0 -/* 80101088 000FDFE8 41 82 00 1C */ beq lbl_801010A4 -/* 8010108C 000FDFEC 28 1D 00 00 */ cmplwi r29, 0 -/* 80101090 000FDFF0 41 82 00 14 */ beq lbl_801010A4 -/* 80101094 000FDFF4 41 82 00 10 */ beq lbl_801010A4 -/* 80101098 000FDFF8 7F A3 EB 78 */ mr r3, r29 -/* 8010109C 000FDFFC 38 80 00 00 */ li r4, 0 -/* 801010A0 000FE000 48 23 FD A1 */ bl __dt__6CTokenFv -lbl_801010A4: -/* 801010A4 000FE004 9B FD 00 0C */ stb r31, 0xc(r29) -lbl_801010A8: -/* 801010A8 000FE008 3B BD 00 10 */ addi r29, r29, 0x10 -/* 801010AC 000FE00C 3B DE 00 01 */ addi r30, r30, 1 -lbl_801010B0: -/* 801010B0 000FE010 80 1B 00 00 */ lwz r0, 0(r27) -/* 801010B4 000FE014 7C 1E 00 00 */ cmpw r30, r0 -/* 801010B8 000FE018 41 80 FF C0 */ blt lbl_80101078 -/* 801010BC 000FE01C 38 60 00 00 */ li r3, 0 -/* 801010C0 000FE020 7F 80 07 35 */ extsh. r0, r28 -/* 801010C4 000FE024 90 7B 00 00 */ stw r3, 0(r27) -/* 801010C8 000FE028 40 81 00 0C */ ble lbl_801010D4 -/* 801010CC 000FE02C 7F 63 DB 78 */ mr r3, r27 -/* 801010D0 000FE030 48 21 48 61 */ bl Free__7CMemoryFPCv -lbl_801010D4: -/* 801010D4 000FE034 7F 63 DB 78 */ mr r3, r27 -/* 801010D8 000FE038 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 801010DC 000FE03C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801010E0 000FE040 7C 08 03 A6 */ mtlr r0 -/* 801010E4 000FE044 38 21 00 20 */ addi r1, r1, 0x20 -/* 801010E8 000FE048 4E 80 00 20 */ blr - -.global "__ct__12CScriptWaterFR13CStateManager9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbUiUiUiUiUiUiUiRC9CVector3fffbQ211CFluidPlane10EFluidTypebfRC14CFluidUVMotionffffffffRC6CColorRC6CColorUiUiUiUiUiiiiifUiffffffffRC6CColorUifffUiUibiiPCUi" -"__ct__12CScriptWaterFR13CStateManager9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbUiUiUiUiUiUiUiRC9CVector3fffbQ211CFluidPlane10EFluidTypebfRC14CFluidUVMotionffffffffRC6CColorRC6CColorUiUiUiUiUiiiiifUiffffffffRC6CColorUifffUiUibiiPCUi": -/* 801010EC 000FE04C 94 21 FD 30 */ stwu r1, -0x2d0(r1) -/* 801010F0 000FE050 7C 08 02 A6 */ mflr r0 -/* 801010F4 000FE054 90 01 02 D4 */ stw r0, 0x2d4(r1) -/* 801010F8 000FE058 DB E1 02 C0 */ stfd f31, 0x2c0(r1) -/* 801010FC 000FE05C F3 E1 02 C8 */ psq_st f31, 712(r1), 0, qr0 -/* 80101100 000FE060 DB C1 02 B0 */ stfd f30, 0x2b0(r1) -/* 80101104 000FE064 F3 C1 02 B8 */ psq_st f30, 696(r1), 0, qr0 -/* 80101108 000FE068 DB A1 02 A0 */ stfd f29, 0x2a0(r1) -/* 8010110C 000FE06C F3 A1 02 A8 */ psq_st f29, 680(r1), 0, qr0 -/* 80101110 000FE070 DB 81 02 90 */ stfd f28, 0x290(r1) -/* 80101114 000FE074 F3 81 02 98 */ psq_st f28, 664(r1), 0, qr0 -/* 80101118 000FE078 DB 61 02 80 */ stfd f27, 0x280(r1) -/* 8010111C 000FE07C F3 61 02 88 */ psq_st f27, 648(r1), 0, qr0 -/* 80101120 000FE080 DB 41 02 70 */ stfd f26, 0x270(r1) -/* 80101124 000FE084 F3 41 02 78 */ psq_st f26, 632(r1), 0, qr0 -/* 80101128 000FE088 DB 21 02 60 */ stfd f25, 0x260(r1) -/* 8010112C 000FE08C F3 21 02 68 */ psq_st f25, 616(r1), 0, qr0 -/* 80101130 000FE090 DB 01 02 50 */ stfd f24, 0x250(r1) -/* 80101134 000FE094 F3 01 02 58 */ psq_st f24, 600(r1), 0, qr0 -/* 80101138 000FE098 DA E1 02 40 */ stfd f23, 0x240(r1) -/* 8010113C 000FE09C F2 E1 02 48 */ psq_st f23, 584(r1), 0, qr0 -/* 80101140 000FE0A0 DA C1 02 30 */ stfd f22, 0x230(r1) -/* 80101144 000FE0A4 F2 C1 02 38 */ psq_st f22, 568(r1), 0, qr0 -/* 80101148 000FE0A8 DA A1 02 20 */ stfd f21, 0x220(r1) -/* 8010114C 000FE0AC F2 A1 02 28 */ psq_st f21, 552(r1), 0, qr0 -/* 80101150 000FE0B0 DA 81 02 10 */ stfd f20, 0x210(r1) -/* 80101154 000FE0B4 F2 81 02 18 */ psq_st f20, 536(r1), 0, qr0 -/* 80101158 000FE0B8 DA 61 02 00 */ stfd f19, 0x200(r1) -/* 8010115C 000FE0BC F2 61 02 08 */ psq_st f19, 520(r1), 0, qr0 -/* 80101160 000FE0C0 DA 41 01 F0 */ stfd f18, 0x1f0(r1) -/* 80101164 000FE0C4 F2 41 01 F8 */ psq_st f18, 504(r1), 0, qr0 -/* 80101168 000FE0C8 DA 21 01 E0 */ stfd f17, 0x1e0(r1) -/* 8010116C 000FE0CC F2 21 01 E8 */ psq_st f17, 488(r1), 0, qr0 -/* 80101170 000FE0D0 DA 01 01 D0 */ stfd f16, 0x1d0(r1) -/* 80101174 000FE0D4 F2 01 01 D8 */ psq_st f16, 472(r1), 0, qr0 -/* 80101178 000FE0D8 D9 E1 01 C0 */ stfd f15, 0x1c0(r1) -/* 8010117C 000FE0DC F1 E1 01 C8 */ psq_st f15, 456(r1), 0, qr0 -/* 80101180 000FE0E0 D9 C1 01 B0 */ stfd f14, 0x1b0(r1) -/* 80101184 000FE0E4 F1 C1 01 B8 */ psq_st f14, 440(r1), 0, qr0 -/* 80101188 000FE0E8 BD C1 01 68 */ stmw r14, 0x168(r1) -/* 8010118C 000FE0EC A0 05 00 00 */ lhz r0, 0(r5) -/* 80101190 000FE0F0 7D 52 53 78 */ mr r18, r10 -/* 80101194 000FE0F4 7D 31 4B 78 */ mr r17, r9 -/* 80101198 000FE0F8 7D 10 43 78 */ mr r16, r8 -/* 8010119C 000FE0FC B0 01 00 40 */ sth r0, 0x40(r1) -/* 801011A0 000FE100 38 80 00 00 */ li r4, 0 -/* 801011A4 000FE104 80 A1 02 DC */ lwz r5, 0x2dc(r1) -/* 801011A8 000FE108 FD C0 08 90 */ fmr f14, f1 -/* 801011AC 000FE10C 88 01 03 0B */ lbz r0, 0x30b(r1) -/* 801011B0 000FE110 FD E0 10 90 */ fmr f15, f2 -/* 801011B4 000FE114 90 A1 00 08 */ stw r5, 8(r1) -/* 801011B8 000FE118 7C C5 33 78 */ mr r5, r6 -/* 801011BC 000FE11C 7C E6 3B 78 */ mr r6, r7 -/* 801011C0 000FE120 90 01 00 0C */ stw r0, 0xc(r1) -/* 801011C4 000FE124 FE 00 18 90 */ fmr f16, f3 -/* 801011C8 000FE128 FE 20 20 90 */ fmr f17, f4 -/* 801011CC 000FE12C 81 41 02 D8 */ lwz r10, 0x2d8(r1) -/* 801011D0 000FE130 90 81 00 10 */ stw r4, 0x10(r1) -/* 801011D4 000FE134 FE 40 28 90 */ fmr f18, f5 -/* 801011D8 000FE138 FE 60 30 90 */ fmr f19, f6 -/* 801011DC 000FE13C 90 81 00 14 */ stw r4, 0x14(r1) -/* 801011E0 000FE140 FE 80 38 90 */ fmr f20, f7 -/* 801011E4 000FE144 8A 61 03 13 */ lbz r19, 0x313(r1) -/* 801011E8 000FE148 FE A0 40 90 */ fmr f21, f8 -/* 801011EC 000FE14C 82 81 03 14 */ lwz r20, 0x314(r1) -/* 801011F0 000FE150 C2 C1 03 18 */ lfs f22, 0x318(r1) -/* 801011F4 000FE154 7C 6F 1B 78 */ mr r15, r3 -/* 801011F8 000FE158 C2 E1 03 1C */ lfs f23, 0x31c(r1) -/* 801011FC 000FE15C 7E 07 83 78 */ mr r7, r16 -/* 80101200 000FE160 C3 01 03 20 */ lfs f24, 0x320(r1) -/* 80101204 000FE164 7E 28 8B 78 */ mr r8, r17 -/* 80101208 000FE168 C3 21 03 24 */ lfs f25, 0x324(r1) -/* 8010120C 000FE16C 7E 49 93 78 */ mr r9, r18 -/* 80101210 000FE170 82 A1 03 28 */ lwz r21, 0x328(r1) -/* 80101214 000FE174 38 81 00 40 */ addi r4, r1, 0x40 -/* 80101218 000FE178 82 C1 03 2C */ lwz r22, 0x32c(r1) -/* 8010121C 000FE17C 82 E1 03 30 */ lwz r23, 0x330(r1) -/* 80101220 000FE180 83 01 03 34 */ lwz r24, 0x334(r1) -/* 80101224 000FE184 83 21 03 38 */ lwz r25, 0x338(r1) -/* 80101228 000FE188 83 41 03 3C */ lwz r26, 0x33c(r1) -/* 8010122C 000FE18C 83 61 03 40 */ lwz r27, 0x340(r1) -/* 80101230 000FE190 83 81 03 44 */ lwz r28, 0x344(r1) -/* 80101234 000FE194 83 A1 03 48 */ lwz r29, 0x348(r1) -/* 80101238 000FE198 C3 41 03 58 */ lfs f26, 0x358(r1) -/* 8010123C 000FE19C 83 C1 03 5C */ lwz r30, 0x35c(r1) -/* 80101240 000FE1A0 C3 61 03 74 */ lfs f27, 0x374(r1) -/* 80101244 000FE1A4 C3 81 03 78 */ lfs f28, 0x378(r1) -/* 80101248 000FE1A8 C3 A1 03 7C */ lfs f29, 0x37c(r1) -/* 8010124C 000FE1AC 81 C1 03 80 */ lwz r14, 0x380(r1) -/* 80101250 000FE1B0 83 E1 03 84 */ lwz r31, 0x384(r1) -/* 80101254 000FE1B4 C3 C1 03 8C */ lfs f30, 0x38c(r1) -/* 80101258 000FE1B8 C3 E1 03 90 */ lfs f31, 0x390(r1) -/* 8010125C 000FE1BC 4B F7 5A FD */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" -/* 80101260 000FE1C0 3C 60 80 3E */ lis r3, lbl_803DFE70@ha -/* 80101264 000FE1C4 38 80 00 00 */ li r4, 0 -/* 80101268 000FE1C8 38 03 FE 70 */ addi r0, r3, lbl_803DFE70@l -/* 8010126C 000FE1CC C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) -/* 80101270 000FE1D0 90 0F 00 00 */ stw r0, 0(r15) -/* 80101274 000FE1D4 38 0F 02 08 */ addi r0, r15, 0x208 -/* 80101278 000FE1D8 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 8010127C 000FE1DC 90 8F 01 50 */ stw r4, 0x150(r15) -/* 80101280 000FE1E0 90 8F 01 B4 */ stw r4, 0x1b4(r15) -/* 80101284 000FE1E4 C0 30 00 00 */ lfs f1, 0(r16) -/* 80101288 000FE1E8 D0 2F 01 B8 */ stfs f1, 0x1b8(r15) -/* 8010128C 000FE1EC C0 30 00 04 */ lfs f1, 4(r16) -/* 80101290 000FE1F0 D0 2F 01 BC */ stfs f1, 0x1bc(r15) -/* 80101294 000FE1F4 C0 30 00 08 */ lfs f1, 8(r16) -/* 80101298 000FE1F8 D0 2F 01 C0 */ stfs f1, 0x1c0(r15) -/* 8010129C 000FE1FC C0 51 00 0C */ lfs f2, 0xc(r17) -/* 801012A0 000FE200 C0 31 00 00 */ lfs f1, 0(r17) -/* 801012A4 000FE204 C0 91 00 10 */ lfs f4, 0x10(r17) -/* 801012A8 000FE208 C0 71 00 04 */ lfs f3, 4(r17) -/* 801012AC 000FE20C EC 22 08 28 */ fsubs f1, f2, f1 -/* 801012B0 000FE210 C0 B1 00 14 */ lfs f5, 0x14(r17) -/* 801012B4 000FE214 C0 51 00 08 */ lfs f2, 8(r17) -/* 801012B8 000FE218 EC 64 18 28 */ fsubs f3, f4, f3 -/* 801012BC 000FE21C D0 2F 01 C4 */ stfs f1, 0x1c4(r15) -/* 801012C0 000FE220 EC 25 10 28 */ fsubs f1, f5, f2 -/* 801012C4 000FE224 D0 6F 01 C8 */ stfs f3, 0x1c8(r15) -/* 801012C8 000FE228 D0 2F 01 CC */ stfs f1, 0x1cc(r15) -/* 801012CC 000FE22C D1 EF 01 D0 */ stfs f15, 0x1d0(r15) -/* 801012D0 000FE230 C0 30 00 00 */ lfs f1, 0(r16) -/* 801012D4 000FE234 D0 2F 01 D4 */ stfs f1, 0x1d4(r15) -/* 801012D8 000FE238 C0 30 00 04 */ lfs f1, 4(r16) -/* 801012DC 000FE23C D0 2F 01 D8 */ stfs f1, 0x1d8(r15) -/* 801012E0 000FE240 C0 30 00 08 */ lfs f1, 8(r16) -/* 801012E4 000FE244 D0 2F 01 DC */ stfs f1, 0x1dc(r15) -/* 801012E8 000FE248 C0 51 00 0C */ lfs f2, 0xc(r17) -/* 801012EC 000FE24C C0 31 00 00 */ lfs f1, 0(r17) -/* 801012F0 000FE250 C0 91 00 10 */ lfs f4, 0x10(r17) -/* 801012F4 000FE254 C0 71 00 04 */ lfs f3, 4(r17) -/* 801012F8 000FE258 EC 22 08 28 */ fsubs f1, f2, f1 -/* 801012FC 000FE25C C0 B1 00 14 */ lfs f5, 0x14(r17) -/* 80101300 000FE260 C0 51 00 08 */ lfs f2, 8(r17) -/* 80101304 000FE264 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80101308 000FE268 D0 2F 01 E0 */ stfs f1, 0x1e0(r15) -/* 8010130C 000FE26C EC 25 10 28 */ fsubs f1, f5, f2 -/* 80101310 000FE270 D0 6F 01 E4 */ stfs f3, 0x1e4(r15) -/* 80101314 000FE274 D0 2F 01 E8 */ stfs f1, 0x1e8(r15) -/* 80101318 000FE278 C0 32 00 08 */ lfs f1, 8(r18) -/* 8010131C 000FE27C D0 2F 01 EC */ stfs f1, 0x1ec(r15) -/* 80101320 000FE280 C0 32 00 08 */ lfs f1, 8(r18) -/* 80101324 000FE284 D0 2F 01 F0 */ stfs f1, 0x1f0(r15) -/* 80101328 000FE288 D2 0F 01 F4 */ stfs f16, 0x1f4(r15) -/* 8010132C 000FE28C D0 0F 01 F8 */ stfs f0, 0x1f8(r15) -/* 80101330 000FE290 90 0F 02 00 */ stw r0, 0x200(r15) -/* 80101334 000FE294 90 0F 02 04 */ stw r0, 0x204(r15) -/* 80101338 000FE298 90 0F 02 08 */ stw r0, 0x208(r15) -/* 8010133C 000FE29C 90 0F 02 0C */ stw r0, 0x20c(r15) -/* 80101340 000FE2A0 90 8F 02 10 */ stw r4, 0x210(r15) -/* 80101344 000FE2A4 D3 6F 02 14 */ stfs f27, 0x214(r15) -/* 80101348 000FE2A8 D3 8F 02 18 */ stfs f28, 0x218(r15) -/* 8010134C 000FE2AC D3 6F 02 1C */ stfs f27, 0x21c(r15) -/* 80101350 000FE2B0 D3 8F 02 20 */ stfs f28, 0x220(r15) -/* 80101354 000FE2B4 D3 AF 02 24 */ stfs f29, 0x224(r15) -/* 80101358 000FE2B8 80 0E 00 00 */ lwz r0, 0(r14) -/* 8010135C 000FE2BC 90 0F 02 28 */ stw r0, 0x228(r15) -/* 80101360 000FE2C0 92 EF 02 2C */ stw r23, 0x22c(r15) -/* 80101364 000FE2C4 93 0F 02 30 */ stw r24, 0x230(r15) -/* 80101368 000FE2C8 93 2F 02 34 */ stw r25, 0x234(r15) -/* 8010136C 000FE2CC 93 4F 02 38 */ stw r26, 0x238(r15) -/* 80101370 000FE2D0 98 8F 02 48 */ stb r4, 0x248(r15) -/* 80101374 000FE2D4 93 6F 02 4C */ stw r27, 0x24c(r15) -/* 80101378 000FE2D8 98 8F 02 5C */ stb r4, 0x25c(r15) -/* 8010137C 000FE2DC 48 1E 76 35 */ bl TranslateSFXID__11CSfxManagerFUs -/* 80101380 000FE2E0 B0 6F 02 60 */ sth r3, 0x260(r15) -/* 80101384 000FE2E4 57 A3 04 3E */ clrlwi r3, r29, 0x10 -/* 80101388 000FE2E8 48 1E 76 29 */ bl TranslateSFXID__11CSfxManagerFUs -/* 8010138C 000FE2EC B0 6F 02 62 */ sth r3, 0x262(r15) -/* 80101390 000FE2F0 38 00 00 00 */ li r0, 0 -/* 80101394 000FE2F4 C0 22 93 BC */ lfs f1, lbl_805AB0DC@sda21(r2) -/* 80101398 000FE2F8 90 0F 02 64 */ stw r0, 0x264(r15) -/* 8010139C 000FE2FC FC 1E 08 00 */ fcmpu cr0, f30, f1 -/* 801013A0 000FE300 90 0F 02 98 */ stw r0, 0x298(r15) -/* 801013A4 000FE304 80 15 00 00 */ lwz r0, 0(r21) -/* 801013A8 000FE308 90 0F 02 A4 */ stw r0, 0x2a4(r15) -/* 801013AC 000FE30C 80 16 00 00 */ lwz r0, 0(r22) -/* 801013B0 000FE310 90 0F 02 A8 */ stw r0, 0x2a8(r15) -/* 801013B4 000FE314 D3 CF 02 AC */ stfs f30, 0x2ac(r15) -/* 801013B8 000FE318 D3 EF 02 B0 */ stfs f31, 0x2b0(r15) -/* 801013BC 000FE31C 41 82 00 0C */ beq lbl_801013C8 -/* 801013C0 000FE320 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) -/* 801013C4 000FE324 EC 20 F0 24 */ fdivs f1, f0, f30 -lbl_801013C8: -/* 801013C8 000FE328 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) -/* 801013CC 000FE32C D0 2F 02 B4 */ stfs f1, 0x2b4(r15) -/* 801013D0 000FE330 FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 801013D4 000FE334 41 82 00 0C */ beq lbl_801013E0 -/* 801013D8 000FE338 C0 02 93 D0 */ lfs f0, lbl_805AB0F0@sda21(r2) -/* 801013DC 000FE33C EC 00 F8 24 */ fdivs f0, f0, f31 -lbl_801013E0: -/* 801013E0 000FE340 D0 0F 02 B8 */ stfs f0, 0x2b8(r15) -/* 801013E4 000FE344 7D E4 7B 78 */ mr r4, r15 -/* 801013E8 000FE348 38 61 01 40 */ addi r3, r1, 0x140 -/* 801013EC 000FE34C D2 2F 02 BC */ stfs f17, 0x2bc(r15) -/* 801013F0 000FE350 D3 4F 02 C0 */ stfs f26, 0x2c0(r15) -/* 801013F4 000FE354 4B F7 52 D9 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 801013F8 000FE358 C0 21 01 4C */ lfs f1, 0x14c(r1) -/* 801013FC 000FE35C C0 01 01 40 */ lfs f0, 0x140(r1) -/* 80101400 000FE360 C0 4F 02 C0 */ lfs f2, 0x2c0(r15) -/* 80101404 000FE364 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80101408 000FE368 C0 02 93 B8 */ lfs f0, lbl_805AB0D8@sda21(r2) -/* 8010140C 000FE36C EC 22 08 2A */ fadds f1, f2, f1 -/* 80101410 000FE370 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80101414 000FE374 EC 20 10 24 */ fdivs f1, f0, f2 -/* 80101418 000FE378 48 21 3E 85 */ bl FloorF__5CMathFf -/* 8010141C 000FE37C FC 00 08 1E */ fctiwz f0, f1 -/* 80101420 000FE380 7D E4 7B 78 */ mr r4, r15 -/* 80101424 000FE384 38 61 01 28 */ addi r3, r1, 0x128 -/* 80101428 000FE388 D8 01 01 58 */ stfd f0, 0x158(r1) -/* 8010142C 000FE38C 80 01 01 5C */ lwz r0, 0x15c(r1) -/* 80101430 000FE390 90 0F 02 C4 */ stw r0, 0x2c4(r15) -/* 80101434 000FE394 4B F7 52 99 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80101438 000FE398 C0 21 01 38 */ lfs f1, 0x138(r1) -/* 8010143C 000FE39C C0 01 01 2C */ lfs f0, 0x12c(r1) -/* 80101440 000FE3A0 C0 4F 02 C0 */ lfs f2, 0x2c0(r15) -/* 80101444 000FE3A4 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80101448 000FE3A8 C0 02 93 B8 */ lfs f0, lbl_805AB0D8@sda21(r2) -/* 8010144C 000FE3AC EC 22 08 2A */ fadds f1, f2, f1 -/* 80101450 000FE3B0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80101454 000FE3B4 EC 20 10 24 */ fdivs f1, f0, f2 -/* 80101458 000FE3B8 48 21 3E 45 */ bl FloorF__5CMathFf -/* 8010145C 000FE3BC FC 00 08 1E */ fctiwz f0, f1 -/* 80101460 000FE3C0 3C 60 80 3D */ lis r3, lbl_803CEE38@ha -/* 80101464 000FE3C4 38 83 EE 38 */ addi r4, r3, lbl_803CEE38@l -/* 80101468 000FE3C8 39 00 00 00 */ li r8, 0 -/* 8010146C 000FE3CC 38 C0 00 01 */ li r6, 1 -/* 80101470 000FE3D0 38 60 01 58 */ li r3, 0x158 -/* 80101474 000FE3D4 D8 01 01 60 */ stfd f0, 0x160(r1) -/* 80101478 000FE3D8 38 A0 00 00 */ li r5, 0 -/* 8010147C 000FE3DC 80 01 01 64 */ lwz r0, 0x164(r1) -/* 80101480 000FE3E0 90 0F 02 C8 */ stw r0, 0x2c8(r15) -/* 80101484 000FE3E4 81 2F 02 C4 */ lwz r9, 0x2c4(r15) -/* 80101488 000FE3E8 80 EF 02 C8 */ lwz r7, 0x2c8(r15) -/* 8010148C 000FE3EC 39 29 00 01 */ addi r9, r9, 1 -/* 80101490 000FE3F0 38 07 00 01 */ addi r0, r7, 1 -/* 80101494 000FE3F4 7C 09 01 D6 */ mullw r0, r9, r0 -/* 80101498 000FE3F8 90 0F 02 CC */ stw r0, 0x2cc(r15) -/* 8010149C 000FE3FC 91 0F 02 D0 */ stw r8, 0x2d0(r15) -/* 801014A0 000FE400 91 0F 02 D4 */ stw r8, 0x2d4(r15) -/* 801014A4 000FE404 91 0F 02 D8 */ stw r8, 0x2d8(r15) -/* 801014A8 000FE408 91 0F 02 DC */ stw r8, 0x2dc(r15) -/* 801014AC 000FE40C 91 0F 02 E0 */ stw r8, 0x2e0(r15) -/* 801014B0 000FE410 91 0F 02 E4 */ stw r8, 0x2e4(r15) -/* 801014B4 000FE414 88 0F 02 E8 */ lbz r0, 0x2e8(r15) -/* 801014B8 000FE418 52 60 3E 30 */ rlwimi r0, r19, 7, 0x18, 0x18 -/* 801014BC 000FE41C 98 0F 02 E8 */ stb r0, 0x2e8(r15) -/* 801014C0 000FE420 88 0F 02 E8 */ lbz r0, 0x2e8(r15) -/* 801014C4 000FE424 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 -/* 801014C8 000FE428 98 0F 02 E8 */ stb r0, 0x2e8(r15) -/* 801014CC 000FE42C 88 0F 02 E8 */ lbz r0, 0x2e8(r15) -/* 801014D0 000FE430 51 00 2E B4 */ rlwimi r0, r8, 5, 0x1a, 0x1a -/* 801014D4 000FE434 98 0F 02 E8 */ stb r0, 0x2e8(r15) -/* 801014D8 000FE438 88 01 02 E7 */ lbz r0, 0x2e7(r1) -/* 801014DC 000FE43C 88 EF 02 E8 */ lbz r7, 0x2e8(r15) -/* 801014E0 000FE440 50 07 26 F6 */ rlwimi r7, r0, 4, 0x1b, 0x1b -/* 801014E4 000FE444 98 EF 02 E8 */ stb r7, 0x2e8(r15) -/* 801014E8 000FE448 88 0F 02 E8 */ lbz r0, 0x2e8(r15) -/* 801014EC 000FE44C 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 801014F0 000FE450 98 0F 02 E8 */ stb r0, 0x2e8(r15) -/* 801014F4 000FE454 88 0F 02 E8 */ lbz r0, 0x2e8(r15) -/* 801014F8 000FE458 51 00 17 7A */ rlwimi r0, r8, 2, 0x1d, 0x1d -/* 801014FC 000FE45C 98 0F 02 E8 */ stb r0, 0x2e8(r15) -/* 80101500 000FE460 88 0F 02 E8 */ lbz r0, 0x2e8(r15) -/* 80101504 000FE464 51 00 0F BC */ rlwimi r0, r8, 1, 0x1e, 0x1e -/* 80101508 000FE468 98 0F 02 E8 */ stb r0, 0x2e8(r15) -/* 8010150C 000FE46C 48 21 43 61 */ bl __nw__FUlPCcPCc -/* 80101510 000FE470 7C 6E 1B 79 */ or. r14, r3, r3 -/* 80101514 000FE474 41 82 00 98 */ beq lbl_801015AC -/* 80101518 000FE478 93 C1 00 08 */ stw r30, 8(r1) -/* 8010151C 000FE47C FC 40 D0 90 */ fmr f2, f26 -/* 80101520 000FE480 80 01 03 0C */ lwz r0, 0x30c(r1) -/* 80101524 000FE484 FC 60 88 90 */ fmr f3, f17 -/* 80101528 000FE488 C0 01 03 60 */ lfs f0, 0x360(r1) -/* 8010152C 000FE48C FC 80 70 90 */ fmr f4, f14 -/* 80101530 000FE490 90 01 00 0C */ stw r0, 0xc(r1) -/* 80101534 000FE494 80 01 03 04 */ lwz r0, 0x304(r1) -/* 80101538 000FE498 FC A0 90 90 */ fmr f5, f18 -/* 8010153C 000FE49C FC C0 98 90 */ fmr f6, f19 -/* 80101540 000FE4A0 C0 21 03 88 */ lfs f1, 0x388(r1) -/* 80101544 000FE4A4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80101548 000FE4A8 FC E0 A0 90 */ fmr f7, f20 -/* 8010154C 000FE4AC FD 00 A8 90 */ fmr f8, f21 -/* 80101550 000FE4B0 92 81 00 14 */ stw r20, 0x14(r1) -/* 80101554 000FE4B4 80 81 02 E8 */ lwz r4, 0x2e8(r1) -/* 80101558 000FE4B8 7F EA FB 78 */ mr r10, r31 -/* 8010155C 000FE4BC D2 C1 00 18 */ stfs f22, 0x18(r1) -/* 80101560 000FE4C0 80 A1 02 EC */ lwz r5, 0x2ec(r1) -/* 80101564 000FE4C4 D2 E1 00 1C */ stfs f23, 0x1c(r1) -/* 80101568 000FE4C8 80 C1 02 F0 */ lwz r6, 0x2f0(r1) -/* 8010156C 000FE4CC D3 01 00 20 */ stfs f24, 0x20(r1) -/* 80101570 000FE4D0 80 E1 02 F4 */ lwz r7, 0x2f4(r1) -/* 80101574 000FE4D4 D3 21 00 24 */ stfs f25, 0x24(r1) -/* 80101578 000FE4D8 81 01 02 F8 */ lwz r8, 0x2f8(r1) -/* 8010157C 000FE4DC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80101580 000FE4E0 C0 01 03 64 */ lfs f0, 0x364(r1) -/* 80101584 000FE4E4 81 21 02 FC */ lwz r9, 0x2fc(r1) -/* 80101588 000FE4E8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8010158C 000FE4EC C0 01 03 70 */ lfs f0, 0x370(r1) -/* 80101590 000FE4F0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80101594 000FE4F4 C0 01 03 68 */ lfs f0, 0x368(r1) -/* 80101598 000FE4F8 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8010159C 000FE4FC C0 01 03 6C */ lfs f0, 0x36c(r1) -/* 801015A0 000FE500 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 801015A4 000FE504 48 09 B8 1D */ bl __ct__14CFluidPlaneCPUFUiUiUiUiUiUifUiQ211CFluidPlane10EFluidTypefRC9CVector3ffRC14CFluidUVMotionfffffffffffff -/* 801015A8 000FE508 7C 6E 1B 78 */ mr r14, r3 -lbl_801015AC: -/* 801015AC 000FE50C 80 6F 01 B4 */ lwz r3, 0x1b4(r15) -/* 801015B0 000FE510 28 03 00 00 */ cmplwi r3, 0 -/* 801015B4 000FE514 41 82 00 18 */ beq lbl_801015CC -/* 801015B8 000FE518 81 83 00 00 */ lwz r12, 0(r3) -/* 801015BC 000FE51C 38 80 00 01 */ li r4, 1 -/* 801015C0 000FE520 81 8C 00 08 */ lwz r12, 8(r12) -/* 801015C4 000FE524 7D 89 03 A6 */ mtctr r12 -/* 801015C8 000FE528 4E 80 04 21 */ bctrl -lbl_801015CC: -/* 801015CC 000FE52C 91 CF 01 B4 */ stw r14, 0x1b4(r15) -/* 801015D0 000FE530 80 61 03 A8 */ lwz r3, 0x3a8(r1) -/* 801015D4 000FE534 48 21 43 5D */ bl Free__7CMemoryFPCv -/* 801015D8 000FE538 38 60 00 00 */ li r3, 0 -/* 801015DC 000FE53C 38 8F 02 64 */ addi r4, r15, 0x264 -/* 801015E0 000FE540 98 61 01 24 */ stb r3, 0x124(r1) -/* 801015E4 000FE544 80 0F 02 64 */ lwz r0, 0x264(r15) -/* 801015E8 000FE548 54 00 20 36 */ slwi r0, r0, 4 -/* 801015EC 000FE54C 7D C4 02 14 */ add r14, r4, r0 -/* 801015F0 000FE550 35 CE 00 04 */ addic. r14, r14, 4 -/* 801015F4 000FE554 41 82 00 38 */ beq lbl_8010162C -/* 801015F8 000FE558 98 6E 00 0C */ stb r3, 0xc(r14) -/* 801015FC 000FE55C 88 01 01 24 */ lbz r0, 0x124(r1) -/* 80101600 000FE560 28 00 00 00 */ cmplwi r0, 0 -/* 80101604 000FE564 41 82 00 28 */ beq lbl_8010162C -/* 80101608 000FE568 28 0E 00 00 */ cmplwi r14, 0 -/* 8010160C 000FE56C 38 81 01 18 */ addi r4, r1, 0x118 -/* 80101610 000FE570 41 82 00 1C */ beq lbl_8010162C -/* 80101614 000FE574 7D C3 73 78 */ mr r3, r14 -/* 80101618 000FE578 48 23 F8 91 */ bl __ct__6CTokenFRC6CToken -/* 8010161C 000FE57C 80 01 01 20 */ lwz r0, 0x120(r1) -/* 80101620 000FE580 7D C3 73 78 */ mr r3, r14 -/* 80101624 000FE584 90 0E 00 08 */ stw r0, 8(r14) -/* 80101628 000FE588 48 23 F7 5D */ bl Lock__6CTokenFv -lbl_8010162C: -/* 8010162C 000FE58C 80 6F 02 64 */ lwz r3, 0x264(r15) -/* 80101630 000FE590 38 03 00 01 */ addi r0, r3, 1 -/* 80101634 000FE594 90 0F 02 64 */ stw r0, 0x264(r15) -/* 80101638 000FE598 88 01 01 24 */ lbz r0, 0x124(r1) -/* 8010163C 000FE59C 28 00 00 00 */ cmplwi r0, 0 -/* 80101640 000FE5A0 41 82 00 1C */ beq lbl_8010165C -/* 80101644 000FE5A4 34 61 01 18 */ addic. r3, r1, 0x118 -/* 80101648 000FE5A8 41 82 00 14 */ beq lbl_8010165C -/* 8010164C 000FE5AC 28 03 00 00 */ cmplwi r3, 0 -/* 80101650 000FE5B0 41 82 00 0C */ beq lbl_8010165C -/* 80101654 000FE5B4 38 80 00 00 */ li r4, 0 -/* 80101658 000FE5B8 48 23 F7 E9 */ bl __dt__6CTokenFv -lbl_8010165C: -/* 8010165C 000FE5BC 38 60 00 00 */ li r3, 0 -/* 80101660 000FE5C0 38 8F 02 64 */ addi r4, r15, 0x264 -/* 80101664 000FE5C4 98 61 01 24 */ stb r3, 0x124(r1) -/* 80101668 000FE5C8 98 61 01 14 */ stb r3, 0x114(r1) -/* 8010166C 000FE5CC 80 0F 02 64 */ lwz r0, 0x264(r15) -/* 80101670 000FE5D0 54 00 20 36 */ slwi r0, r0, 4 -/* 80101674 000FE5D4 7D C4 02 14 */ add r14, r4, r0 -/* 80101678 000FE5D8 35 CE 00 04 */ addic. r14, r14, 4 -/* 8010167C 000FE5DC 41 82 00 38 */ beq lbl_801016B4 -/* 80101680 000FE5E0 98 6E 00 0C */ stb r3, 0xc(r14) -/* 80101684 000FE5E4 88 01 01 14 */ lbz r0, 0x114(r1) -/* 80101688 000FE5E8 28 00 00 00 */ cmplwi r0, 0 -/* 8010168C 000FE5EC 41 82 00 28 */ beq lbl_801016B4 -/* 80101690 000FE5F0 28 0E 00 00 */ cmplwi r14, 0 -/* 80101694 000FE5F4 38 81 01 08 */ addi r4, r1, 0x108 -/* 80101698 000FE5F8 41 82 00 1C */ beq lbl_801016B4 -/* 8010169C 000FE5FC 7D C3 73 78 */ mr r3, r14 -/* 801016A0 000FE600 48 23 F8 09 */ bl __ct__6CTokenFRC6CToken -/* 801016A4 000FE604 80 01 01 10 */ lwz r0, 0x110(r1) -/* 801016A8 000FE608 7D C3 73 78 */ mr r3, r14 -/* 801016AC 000FE60C 90 0E 00 08 */ stw r0, 8(r14) -/* 801016B0 000FE610 48 23 F6 D5 */ bl Lock__6CTokenFv -lbl_801016B4: -/* 801016B4 000FE614 80 6F 02 64 */ lwz r3, 0x264(r15) -/* 801016B8 000FE618 38 03 00 01 */ addi r0, r3, 1 -/* 801016BC 000FE61C 90 0F 02 64 */ stw r0, 0x264(r15) -/* 801016C0 000FE620 88 01 01 14 */ lbz r0, 0x114(r1) -/* 801016C4 000FE624 28 00 00 00 */ cmplwi r0, 0 -/* 801016C8 000FE628 41 82 00 1C */ beq lbl_801016E4 -/* 801016CC 000FE62C 34 61 01 08 */ addic. r3, r1, 0x108 -/* 801016D0 000FE630 41 82 00 14 */ beq lbl_801016E4 -/* 801016D4 000FE634 28 03 00 00 */ cmplwi r3, 0 -/* 801016D8 000FE638 41 82 00 0C */ beq lbl_801016E4 -/* 801016DC 000FE63C 38 80 00 00 */ li r4, 0 -/* 801016E0 000FE640 48 23 F7 61 */ bl __dt__6CTokenFv -lbl_801016E4: -/* 801016E4 000FE644 38 60 00 00 */ li r3, 0 -/* 801016E8 000FE648 38 8F 02 64 */ addi r4, r15, 0x264 -/* 801016EC 000FE64C 98 61 01 14 */ stb r3, 0x114(r1) -/* 801016F0 000FE650 98 61 01 04 */ stb r3, 0x104(r1) -/* 801016F4 000FE654 80 0F 02 64 */ lwz r0, 0x264(r15) -/* 801016F8 000FE658 54 00 20 36 */ slwi r0, r0, 4 -/* 801016FC 000FE65C 7D C4 02 14 */ add r14, r4, r0 -/* 80101700 000FE660 35 CE 00 04 */ addic. r14, r14, 4 -/* 80101704 000FE664 41 82 00 38 */ beq lbl_8010173C -/* 80101708 000FE668 98 6E 00 0C */ stb r3, 0xc(r14) -/* 8010170C 000FE66C 88 01 01 04 */ lbz r0, 0x104(r1) -/* 80101710 000FE670 28 00 00 00 */ cmplwi r0, 0 -/* 80101714 000FE674 41 82 00 28 */ beq lbl_8010173C -/* 80101718 000FE678 28 0E 00 00 */ cmplwi r14, 0 -/* 8010171C 000FE67C 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 80101720 000FE680 41 82 00 1C */ beq lbl_8010173C -/* 80101724 000FE684 7D C3 73 78 */ mr r3, r14 -/* 80101728 000FE688 48 23 F7 81 */ bl __ct__6CTokenFRC6CToken -/* 8010172C 000FE68C 80 01 01 00 */ lwz r0, 0x100(r1) -/* 80101730 000FE690 7D C3 73 78 */ mr r3, r14 -/* 80101734 000FE694 90 0E 00 08 */ stw r0, 8(r14) -/* 80101738 000FE698 48 23 F6 4D */ bl Lock__6CTokenFv -lbl_8010173C: -/* 8010173C 000FE69C 80 6F 02 64 */ lwz r3, 0x264(r15) -/* 80101740 000FE6A0 38 03 00 01 */ addi r0, r3, 1 -/* 80101744 000FE6A4 90 0F 02 64 */ stw r0, 0x264(r15) -/* 80101748 000FE6A8 88 01 01 04 */ lbz r0, 0x104(r1) -/* 8010174C 000FE6AC 28 00 00 00 */ cmplwi r0, 0 -/* 80101750 000FE6B0 41 82 00 1C */ beq lbl_8010176C -/* 80101754 000FE6B4 34 61 00 F8 */ addic. r3, r1, 0xf8 -/* 80101758 000FE6B8 41 82 00 14 */ beq lbl_8010176C -/* 8010175C 000FE6BC 28 03 00 00 */ cmplwi r3, 0 -/* 80101760 000FE6C0 41 82 00 0C */ beq lbl_8010176C -/* 80101764 000FE6C4 38 80 00 00 */ li r4, 0 -/* 80101768 000FE6C8 48 23 F6 D9 */ bl __dt__6CTokenFv -lbl_8010176C: -/* 8010176C 000FE6CC 38 00 00 00 */ li r0, 0 -/* 80101770 000FE6D0 98 01 01 04 */ stb r0, 0x104(r1) -/* 80101774 000FE6D4 80 8F 02 2C */ lwz r4, 0x22c(r15) -/* 80101778 000FE6D8 3C 04 00 01 */ addis r0, r4, 1 -/* 8010177C 000FE6DC 28 00 FF FF */ cmplwi r0, 0xffff -/* 80101780 000FE6E0 41 82 00 D4 */ beq lbl_80101854 -/* 80101784 000FE6E4 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80101788 000FE6E8 90 81 00 B8 */ stw r4, 0xb8(r1) -/* 8010178C 000FE6EC 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80101790 000FE6F0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80101794 000FE6F4 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80101798 000FE6F8 38 61 00 AC */ addi r3, r1, 0xac -/* 8010179C 000FE6FC 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 801017A0 000FE700 81 84 00 00 */ lwz r12, 0(r4) -/* 801017A4 000FE704 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 801017A8 000FE708 7D 89 03 A6 */ mtctr r12 -/* 801017AC 000FE70C 4E 80 04 21 */ bctrl -/* 801017B0 000FE710 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 801017B4 000FE714 38 81 00 AC */ addi r4, r1, 0xac -/* 801017B8 000FE718 48 23 F6 F1 */ bl __ct__6CTokenFRC6CToken -/* 801017BC 000FE71C 39 C1 00 EC */ addi r14, r1, 0xec -/* 801017C0 000FE720 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 801017C4 000FE724 7D C3 73 78 */ mr r3, r14 -/* 801017C8 000FE728 48 23 F6 E1 */ bl __ct__6CTokenFRC6CToken -/* 801017CC 000FE72C 7D C3 73 78 */ mr r3, r14 -/* 801017D0 000FE730 48 23 F6 3D */ bl GetObj__6CTokenFv -/* 801017D4 000FE734 80 03 00 04 */ lwz r0, 4(r3) -/* 801017D8 000FE738 39 CF 02 68 */ addi r14, r15, 0x268 -/* 801017DC 000FE73C 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 801017E0 000FE740 88 0F 02 74 */ lbz r0, 0x274(r15) -/* 801017E4 000FE744 28 00 00 00 */ cmplwi r0, 0 -/* 801017E8 000FE748 40 82 00 34 */ bne lbl_8010181C -/* 801017EC 000FE74C 28 0E 00 00 */ cmplwi r14, 0 -/* 801017F0 000FE750 41 82 00 20 */ beq lbl_80101810 -/* 801017F4 000FE754 7D C3 73 78 */ mr r3, r14 -/* 801017F8 000FE758 38 81 00 EC */ addi r4, r1, 0xec -/* 801017FC 000FE75C 48 23 F6 AD */ bl __ct__6CTokenFRC6CToken -/* 80101800 000FE760 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 80101804 000FE764 7D C3 73 78 */ mr r3, r14 -/* 80101808 000FE768 90 0E 00 08 */ stw r0, 8(r14) -/* 8010180C 000FE76C 48 23 F5 79 */ bl Lock__6CTokenFv -lbl_80101810: -/* 80101810 000FE770 38 00 00 01 */ li r0, 1 -/* 80101814 000FE774 98 0E 00 0C */ stb r0, 0xc(r14) -/* 80101818 000FE778 48 00 00 18 */ b lbl_80101830 -lbl_8010181C: -/* 8010181C 000FE77C 7D C3 73 78 */ mr r3, r14 -/* 80101820 000FE780 38 81 00 EC */ addi r4, r1, 0xec -/* 80101824 000FE784 48 23 F4 A1 */ bl __as__6CTokenFRC6CToken -/* 80101828 000FE788 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8010182C 000FE78C 90 0E 00 08 */ stw r0, 8(r14) -lbl_80101830: -/* 80101830 000FE790 38 61 00 EC */ addi r3, r1, 0xec -/* 80101834 000FE794 38 80 00 00 */ li r4, 0 -/* 80101838 000FE798 48 23 F6 09 */ bl __dt__6CTokenFv -/* 8010183C 000FE79C 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80101840 000FE7A0 38 80 00 00 */ li r4, 0 -/* 80101844 000FE7A4 48 23 F5 FD */ bl __dt__6CTokenFv -/* 80101848 000FE7A8 38 61 00 AC */ addi r3, r1, 0xac -/* 8010184C 000FE7AC 38 80 FF FF */ li r4, -1 -/* 80101850 000FE7B0 48 23 F5 F1 */ bl __dt__6CTokenFv -lbl_80101854: -/* 80101854 000FE7B4 80 8F 02 30 */ lwz r4, 0x230(r15) -/* 80101858 000FE7B8 3C 04 00 01 */ addis r0, r4, 1 -/* 8010185C 000FE7BC 28 00 FF FF */ cmplwi r0, 0xffff -/* 80101860 000FE7C0 41 82 00 D4 */ beq lbl_80101934 -/* 80101864 000FE7C4 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80101868 000FE7C8 90 81 00 A0 */ stw r4, 0xa0(r1) -/* 8010186C 000FE7CC 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80101870 000FE7D0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80101874 000FE7D4 90 01 00 9C */ stw r0, 0x9c(r1) -/* 80101878 000FE7D8 38 61 00 94 */ addi r3, r1, 0x94 -/* 8010187C 000FE7DC 38 A1 00 9C */ addi r5, r1, 0x9c -/* 80101880 000FE7E0 81 84 00 00 */ lwz r12, 0(r4) -/* 80101884 000FE7E4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80101888 000FE7E8 7D 89 03 A6 */ mtctr r12 -/* 8010188C 000FE7EC 4E 80 04 21 */ bctrl -/* 80101890 000FE7F0 38 61 00 8C */ addi r3, r1, 0x8c -/* 80101894 000FE7F4 38 81 00 94 */ addi r4, r1, 0x94 -/* 80101898 000FE7F8 48 23 F6 11 */ bl __ct__6CTokenFRC6CToken -/* 8010189C 000FE7FC 39 C1 00 E0 */ addi r14, r1, 0xe0 -/* 801018A0 000FE800 38 81 00 8C */ addi r4, r1, 0x8c -/* 801018A4 000FE804 7D C3 73 78 */ mr r3, r14 -/* 801018A8 000FE808 48 23 F6 01 */ bl __ct__6CTokenFRC6CToken -/* 801018AC 000FE80C 7D C3 73 78 */ mr r3, r14 -/* 801018B0 000FE810 48 23 F5 5D */ bl GetObj__6CTokenFv -/* 801018B4 000FE814 80 03 00 04 */ lwz r0, 4(r3) -/* 801018B8 000FE818 39 CF 02 78 */ addi r14, r15, 0x278 -/* 801018BC 000FE81C 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 801018C0 000FE820 88 0F 02 84 */ lbz r0, 0x284(r15) -/* 801018C4 000FE824 28 00 00 00 */ cmplwi r0, 0 -/* 801018C8 000FE828 40 82 00 34 */ bne lbl_801018FC -/* 801018CC 000FE82C 28 0E 00 00 */ cmplwi r14, 0 -/* 801018D0 000FE830 41 82 00 20 */ beq lbl_801018F0 -/* 801018D4 000FE834 7D C3 73 78 */ mr r3, r14 -/* 801018D8 000FE838 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 801018DC 000FE83C 48 23 F5 CD */ bl __ct__6CTokenFRC6CToken -/* 801018E0 000FE840 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 801018E4 000FE844 7D C3 73 78 */ mr r3, r14 -/* 801018E8 000FE848 90 0E 00 08 */ stw r0, 8(r14) -/* 801018EC 000FE84C 48 23 F4 99 */ bl Lock__6CTokenFv -lbl_801018F0: -/* 801018F0 000FE850 38 00 00 01 */ li r0, 1 -/* 801018F4 000FE854 98 0E 00 0C */ stb r0, 0xc(r14) -/* 801018F8 000FE858 48 00 00 18 */ b lbl_80101910 -lbl_801018FC: -/* 801018FC 000FE85C 7D C3 73 78 */ mr r3, r14 -/* 80101900 000FE860 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 80101904 000FE864 48 23 F3 C1 */ bl __as__6CTokenFRC6CToken -/* 80101908 000FE868 80 01 00 E8 */ lwz r0, 0xe8(r1) -/* 8010190C 000FE86C 90 0E 00 08 */ stw r0, 8(r14) -lbl_80101910: -/* 80101910 000FE870 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80101914 000FE874 38 80 00 00 */ li r4, 0 -/* 80101918 000FE878 48 23 F5 29 */ bl __dt__6CTokenFv -/* 8010191C 000FE87C 38 61 00 8C */ addi r3, r1, 0x8c -/* 80101920 000FE880 38 80 00 00 */ li r4, 0 -/* 80101924 000FE884 48 23 F5 1D */ bl __dt__6CTokenFv -/* 80101928 000FE888 38 61 00 94 */ addi r3, r1, 0x94 -/* 8010192C 000FE88C 38 80 FF FF */ li r4, -1 -/* 80101930 000FE890 48 23 F5 11 */ bl __dt__6CTokenFv -lbl_80101934: -/* 80101934 000FE894 80 8F 02 34 */ lwz r4, 0x234(r15) -/* 80101938 000FE898 3C 04 00 01 */ addis r0, r4, 1 -/* 8010193C 000FE89C 28 00 FF FF */ cmplwi r0, 0xffff -/* 80101940 000FE8A0 41 82 00 D4 */ beq lbl_80101A14 -/* 80101944 000FE8A4 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80101948 000FE8A8 90 81 00 88 */ stw r4, 0x88(r1) -/* 8010194C 000FE8AC 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80101950 000FE8B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80101954 000FE8B4 90 01 00 84 */ stw r0, 0x84(r1) -/* 80101958 000FE8B8 38 61 00 7C */ addi r3, r1, 0x7c -/* 8010195C 000FE8BC 38 A1 00 84 */ addi r5, r1, 0x84 -/* 80101960 000FE8C0 81 84 00 00 */ lwz r12, 0(r4) -/* 80101964 000FE8C4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80101968 000FE8C8 7D 89 03 A6 */ mtctr r12 -/* 8010196C 000FE8CC 4E 80 04 21 */ bctrl -/* 80101970 000FE8D0 38 61 00 74 */ addi r3, r1, 0x74 -/* 80101974 000FE8D4 38 81 00 7C */ addi r4, r1, 0x7c -/* 80101978 000FE8D8 48 23 F5 31 */ bl __ct__6CTokenFRC6CToken -/* 8010197C 000FE8DC 39 C1 00 D4 */ addi r14, r1, 0xd4 -/* 80101980 000FE8E0 38 81 00 74 */ addi r4, r1, 0x74 -/* 80101984 000FE8E4 7D C3 73 78 */ mr r3, r14 -/* 80101988 000FE8E8 48 23 F5 21 */ bl __ct__6CTokenFRC6CToken -/* 8010198C 000FE8EC 7D C3 73 78 */ mr r3, r14 -/* 80101990 000FE8F0 48 23 F4 7D */ bl GetObj__6CTokenFv -/* 80101994 000FE8F4 80 03 00 04 */ lwz r0, 4(r3) -/* 80101998 000FE8F8 39 CF 02 88 */ addi r14, r15, 0x288 -/* 8010199C 000FE8FC 90 01 00 DC */ stw r0, 0xdc(r1) -/* 801019A0 000FE900 88 0F 02 94 */ lbz r0, 0x294(r15) -/* 801019A4 000FE904 28 00 00 00 */ cmplwi r0, 0 -/* 801019A8 000FE908 40 82 00 34 */ bne lbl_801019DC -/* 801019AC 000FE90C 28 0E 00 00 */ cmplwi r14, 0 -/* 801019B0 000FE910 41 82 00 20 */ beq lbl_801019D0 -/* 801019B4 000FE914 7D C3 73 78 */ mr r3, r14 -/* 801019B8 000FE918 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 801019BC 000FE91C 48 23 F4 ED */ bl __ct__6CTokenFRC6CToken -/* 801019C0 000FE920 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 801019C4 000FE924 7D C3 73 78 */ mr r3, r14 -/* 801019C8 000FE928 90 0E 00 08 */ stw r0, 8(r14) -/* 801019CC 000FE92C 48 23 F3 B9 */ bl Lock__6CTokenFv -lbl_801019D0: -/* 801019D0 000FE930 38 00 00 01 */ li r0, 1 -/* 801019D4 000FE934 98 0E 00 0C */ stb r0, 0xc(r14) -/* 801019D8 000FE938 48 00 00 18 */ b lbl_801019F0 -lbl_801019DC: -/* 801019DC 000FE93C 7D C3 73 78 */ mr r3, r14 -/* 801019E0 000FE940 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 801019E4 000FE944 48 23 F2 E1 */ bl __as__6CTokenFRC6CToken -/* 801019E8 000FE948 80 01 00 DC */ lwz r0, 0xdc(r1) -/* 801019EC 000FE94C 90 0E 00 08 */ stw r0, 8(r14) -lbl_801019F0: -/* 801019F0 000FE950 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 801019F4 000FE954 38 80 00 00 */ li r4, 0 -/* 801019F8 000FE958 48 23 F4 49 */ bl __dt__6CTokenFv -/* 801019FC 000FE95C 38 61 00 74 */ addi r3, r1, 0x74 -/* 80101A00 000FE960 38 80 00 00 */ li r4, 0 -/* 80101A04 000FE964 48 23 F4 3D */ bl __dt__6CTokenFv -/* 80101A08 000FE968 38 61 00 7C */ addi r3, r1, 0x7c -/* 80101A0C 000FE96C 38 80 FF FF */ li r4, -1 -/* 80101A10 000FE970 48 23 F4 31 */ bl __dt__6CTokenFv -lbl_80101A14: -/* 80101A14 000FE974 80 8F 02 38 */ lwz r4, 0x238(r15) -/* 80101A18 000FE978 3C 04 00 01 */ addis r0, r4, 1 -/* 80101A1C 000FE97C 28 00 FF FF */ cmplwi r0, 0xffff -/* 80101A20 000FE980 41 82 00 D4 */ beq lbl_80101AF4 -/* 80101A24 000FE984 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80101A28 000FE988 90 81 00 70 */ stw r4, 0x70(r1) -/* 80101A2C 000FE98C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80101A30 000FE990 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80101A34 000FE994 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80101A38 000FE998 38 61 00 64 */ addi r3, r1, 0x64 -/* 80101A3C 000FE99C 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80101A40 000FE9A0 81 84 00 00 */ lwz r12, 0(r4) -/* 80101A44 000FE9A4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80101A48 000FE9A8 7D 89 03 A6 */ mtctr r12 -/* 80101A4C 000FE9AC 4E 80 04 21 */ bctrl -/* 80101A50 000FE9B0 38 61 00 5C */ addi r3, r1, 0x5c -/* 80101A54 000FE9B4 38 81 00 64 */ addi r4, r1, 0x64 -/* 80101A58 000FE9B8 48 23 F4 51 */ bl __ct__6CTokenFRC6CToken -/* 80101A5C 000FE9BC 39 C1 00 C8 */ addi r14, r1, 0xc8 -/* 80101A60 000FE9C0 38 81 00 5C */ addi r4, r1, 0x5c -/* 80101A64 000FE9C4 7D C3 73 78 */ mr r3, r14 -/* 80101A68 000FE9C8 48 23 F4 41 */ bl __ct__6CTokenFRC6CToken -/* 80101A6C 000FE9CC 7D C3 73 78 */ mr r3, r14 -/* 80101A70 000FE9D0 48 23 F3 9D */ bl GetObj__6CTokenFv -/* 80101A74 000FE9D4 80 03 00 04 */ lwz r0, 4(r3) -/* 80101A78 000FE9D8 90 01 00 D0 */ stw r0, 0xd0(r1) -/* 80101A7C 000FE9DC 88 0F 02 48 */ lbz r0, 0x248(r15) -/* 80101A80 000FE9E0 28 00 00 00 */ cmplwi r0, 0 -/* 80101A84 000FE9E4 40 82 00 34 */ bne lbl_80101AB8 -/* 80101A88 000FE9E8 35 CF 02 3C */ addic. r14, r15, 0x23c -/* 80101A8C 000FE9EC 41 82 00 20 */ beq lbl_80101AAC -/* 80101A90 000FE9F0 7D C3 73 78 */ mr r3, r14 -/* 80101A94 000FE9F4 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80101A98 000FE9F8 48 23 F4 11 */ bl __ct__6CTokenFRC6CToken -/* 80101A9C 000FE9FC 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 80101AA0 000FEA00 7D C3 73 78 */ mr r3, r14 -/* 80101AA4 000FEA04 90 0E 00 08 */ stw r0, 8(r14) -/* 80101AA8 000FEA08 48 23 F2 DD */ bl Lock__6CTokenFv -lbl_80101AAC: -/* 80101AAC 000FEA0C 38 00 00 01 */ li r0, 1 -/* 80101AB0 000FEA10 98 0F 02 48 */ stb r0, 0x248(r15) -/* 80101AB4 000FEA14 48 00 00 1C */ b lbl_80101AD0 -lbl_80101AB8: -/* 80101AB8 000FEA18 39 CF 02 3C */ addi r14, r15, 0x23c -/* 80101ABC 000FEA1C 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80101AC0 000FEA20 7D C3 73 78 */ mr r3, r14 -/* 80101AC4 000FEA24 48 23 F2 01 */ bl __as__6CTokenFRC6CToken -/* 80101AC8 000FEA28 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 80101ACC 000FEA2C 90 0E 00 08 */ stw r0, 8(r14) -lbl_80101AD0: -/* 80101AD0 000FEA30 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80101AD4 000FEA34 38 80 00 00 */ li r4, 0 -/* 80101AD8 000FEA38 48 23 F3 69 */ bl __dt__6CTokenFv -/* 80101ADC 000FEA3C 38 61 00 5C */ addi r3, r1, 0x5c -/* 80101AE0 000FEA40 38 80 00 00 */ li r4, 0 -/* 80101AE4 000FEA44 48 23 F3 5D */ bl __dt__6CTokenFv -/* 80101AE8 000FEA48 38 61 00 64 */ addi r3, r1, 0x64 -/* 80101AEC 000FEA4C 38 80 FF FF */ li r4, -1 -/* 80101AF0 000FEA50 48 23 F3 51 */ bl __dt__6CTokenFv -lbl_80101AF4: -/* 80101AF4 000FEA54 80 8F 02 4C */ lwz r4, 0x24c(r15) -/* 80101AF8 000FEA58 3C 04 00 01 */ addis r0, r4, 1 -/* 80101AFC 000FEA5C 28 00 FF FF */ cmplwi r0, 0xffff -/* 80101B00 000FEA60 41 82 00 D4 */ beq lbl_80101BD4 -/* 80101B04 000FEA64 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80101B08 000FEA68 90 81 00 58 */ stw r4, 0x58(r1) -/* 80101B0C 000FEA6C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80101B10 000FEA70 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80101B14 000FEA74 90 01 00 54 */ stw r0, 0x54(r1) -/* 80101B18 000FEA78 38 61 00 4C */ addi r3, r1, 0x4c -/* 80101B1C 000FEA7C 38 A1 00 54 */ addi r5, r1, 0x54 -/* 80101B20 000FEA80 81 84 00 00 */ lwz r12, 0(r4) -/* 80101B24 000FEA84 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80101B28 000FEA88 7D 89 03 A6 */ mtctr r12 -/* 80101B2C 000FEA8C 4E 80 04 21 */ bctrl -/* 80101B30 000FEA90 38 61 00 44 */ addi r3, r1, 0x44 -/* 80101B34 000FEA94 38 81 00 4C */ addi r4, r1, 0x4c -/* 80101B38 000FEA98 48 23 F3 71 */ bl __ct__6CTokenFRC6CToken -/* 80101B3C 000FEA9C 39 C1 00 BC */ addi r14, r1, 0xbc -/* 80101B40 000FEAA0 38 81 00 44 */ addi r4, r1, 0x44 -/* 80101B44 000FEAA4 7D C3 73 78 */ mr r3, r14 -/* 80101B48 000FEAA8 48 23 F3 61 */ bl __ct__6CTokenFRC6CToken -/* 80101B4C 000FEAAC 7D C3 73 78 */ mr r3, r14 -/* 80101B50 000FEAB0 48 23 F2 BD */ bl GetObj__6CTokenFv -/* 80101B54 000FEAB4 80 03 00 04 */ lwz r0, 4(r3) -/* 80101B58 000FEAB8 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80101B5C 000FEABC 88 0F 02 5C */ lbz r0, 0x25c(r15) -/* 80101B60 000FEAC0 28 00 00 00 */ cmplwi r0, 0 -/* 80101B64 000FEAC4 40 82 00 34 */ bne lbl_80101B98 -/* 80101B68 000FEAC8 35 CF 02 50 */ addic. r14, r15, 0x250 -/* 80101B6C 000FEACC 41 82 00 20 */ beq lbl_80101B8C -/* 80101B70 000FEAD0 7D C3 73 78 */ mr r3, r14 -/* 80101B74 000FEAD4 38 81 00 BC */ addi r4, r1, 0xbc -/* 80101B78 000FEAD8 48 23 F3 31 */ bl __ct__6CTokenFRC6CToken -/* 80101B7C 000FEADC 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80101B80 000FEAE0 7D C3 73 78 */ mr r3, r14 -/* 80101B84 000FEAE4 90 0E 00 08 */ stw r0, 8(r14) -/* 80101B88 000FEAE8 48 23 F1 FD */ bl Lock__6CTokenFv -lbl_80101B8C: -/* 80101B8C 000FEAEC 38 00 00 01 */ li r0, 1 -/* 80101B90 000FEAF0 98 0F 02 5C */ stb r0, 0x25c(r15) -/* 80101B94 000FEAF4 48 00 00 1C */ b lbl_80101BB0 -lbl_80101B98: -/* 80101B98 000FEAF8 39 CF 02 50 */ addi r14, r15, 0x250 -/* 80101B9C 000FEAFC 38 81 00 BC */ addi r4, r1, 0xbc -/* 80101BA0 000FEB00 7D C3 73 78 */ mr r3, r14 -/* 80101BA4 000FEB04 48 23 F1 21 */ bl __as__6CTokenFRC6CToken -/* 80101BA8 000FEB08 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80101BAC 000FEB0C 90 0E 00 08 */ stw r0, 8(r14) -lbl_80101BB0: -/* 80101BB0 000FEB10 38 61 00 BC */ addi r3, r1, 0xbc -/* 80101BB4 000FEB14 38 80 00 00 */ li r4, 0 -/* 80101BB8 000FEB18 48 23 F2 89 */ bl __dt__6CTokenFv -/* 80101BBC 000FEB1C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80101BC0 000FEB20 38 80 00 00 */ li r4, 0 -/* 80101BC4 000FEB24 48 23 F2 7D */ bl __dt__6CTokenFv -/* 80101BC8 000FEB28 38 61 00 4C */ addi r3, r1, 0x4c -/* 80101BCC 000FEB2C 38 80 FF FF */ li r4, -1 -/* 80101BD0 000FEB30 48 23 F2 71 */ bl __dt__6CTokenFv -lbl_80101BD4: -/* 80101BD4 000FEB34 80 01 03 4C */ lwz r0, 0x34c(r1) -/* 80101BD8 000FEB38 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 80101BDC 000FEB3C 48 1E 6D D5 */ bl TranslateSFXID__11CSfxManagerFUs -/* 80101BE0 000FEB40 38 8F 02 98 */ addi r4, r15, 0x298 -/* 80101BE4 000FEB44 80 0F 02 98 */ lwz r0, 0x298(r15) -/* 80101BE8 000FEB48 54 00 08 3C */ slwi r0, r0, 1 -/* 80101BEC 000FEB4C 7C 84 02 14 */ add r4, r4, r0 -/* 80101BF0 000FEB50 34 84 00 04 */ addic. r4, r4, 4 -/* 80101BF4 000FEB54 41 82 00 08 */ beq lbl_80101BFC -/* 80101BF8 000FEB58 B0 64 00 00 */ sth r3, 0(r4) -lbl_80101BFC: -/* 80101BFC 000FEB5C 80 01 03 50 */ lwz r0, 0x350(r1) -/* 80101C00 000FEB60 80 8F 02 98 */ lwz r4, 0x298(r15) -/* 80101C04 000FEB64 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 80101C08 000FEB68 38 04 00 01 */ addi r0, r4, 1 -/* 80101C0C 000FEB6C 90 0F 02 98 */ stw r0, 0x298(r15) -/* 80101C10 000FEB70 48 1E 6D A1 */ bl TranslateSFXID__11CSfxManagerFUs -/* 80101C14 000FEB74 38 8F 02 98 */ addi r4, r15, 0x298 -/* 80101C18 000FEB78 80 0F 02 98 */ lwz r0, 0x298(r15) -/* 80101C1C 000FEB7C 54 00 08 3C */ slwi r0, r0, 1 -/* 80101C20 000FEB80 7C 84 02 14 */ add r4, r4, r0 -/* 80101C24 000FEB84 34 84 00 04 */ addic. r4, r4, 4 -/* 80101C28 000FEB88 41 82 00 08 */ beq lbl_80101C30 -/* 80101C2C 000FEB8C B0 64 00 00 */ sth r3, 0(r4) -lbl_80101C30: -/* 80101C30 000FEB90 80 01 03 54 */ lwz r0, 0x354(r1) -/* 80101C34 000FEB94 80 8F 02 98 */ lwz r4, 0x298(r15) -/* 80101C38 000FEB98 54 03 04 3E */ clrlwi r3, r0, 0x10 -/* 80101C3C 000FEB9C 38 04 00 01 */ addi r0, r4, 1 -/* 80101C40 000FEBA0 90 0F 02 98 */ stw r0, 0x298(r15) -/* 80101C44 000FEBA4 48 1E 6D 6D */ bl TranslateSFXID__11CSfxManagerFUs -/* 80101C48 000FEBA8 38 8F 02 98 */ addi r4, r15, 0x298 -/* 80101C4C 000FEBAC 80 0F 02 98 */ lwz r0, 0x298(r15) -/* 80101C50 000FEBB0 54 00 08 3C */ slwi r0, r0, 1 -/* 80101C54 000FEBB4 7C 84 02 14 */ add r4, r4, r0 -/* 80101C58 000FEBB8 34 84 00 04 */ addic. r4, r4, 4 -/* 80101C5C 000FEBBC 41 82 00 08 */ beq lbl_80101C64 -/* 80101C60 000FEBC0 B0 64 00 00 */ sth r3, 0(r4) -lbl_80101C64: -/* 80101C64 000FEBC4 80 AF 02 98 */ lwz r5, 0x298(r15) -/* 80101C68 000FEBC8 7D E3 7B 78 */ mr r3, r15 -/* 80101C6C 000FEBCC 38 80 00 01 */ li r4, 1 -/* 80101C70 000FEBD0 38 05 00 01 */ addi r0, r5, 1 -/* 80101C74 000FEBD4 90 0F 02 98 */ stw r0, 0x298(r15) -/* 80101C78 000FEBD8 4B F5 1C A9 */ bl SetCalculateLighting__6CActorFb -/* 80101C7C 000FEBDC 3C 1F 00 01 */ addis r0, r31, 1 -/* 80101C80 000FEBE0 28 00 FF FF */ cmplwi r0, 0xffff -/* 80101C84 000FEBE4 41 82 00 38 */ beq lbl_80101CBC -/* 80101C88 000FEBE8 80 CF 00 90 */ lwz r6, 0x90(r15) -/* 80101C8C 000FEBEC 38 A0 00 00 */ li r5, 0 -/* 80101C90 000FEBF0 90 A6 02 B8 */ stw r5, 0x2b8(r6) -/* 80101C94 000FEBF4 80 86 02 B8 */ lwz r4, 0x2b8(r6) -/* 80101C98 000FEBF8 88 06 02 98 */ lbz r0, 0x298(r6) -/* 80101C9C 000FEBFC 7C 64 00 D0 */ neg r3, r4 -/* 80101CA0 000FEC00 7C 63 20 78 */ andc r3, r3, r4 -/* 80101CA4 000FEC04 50 60 36 B4 */ rlwimi r0, r3, 6, 0x1a, 0x1a -/* 80101CA8 000FEC08 98 06 02 98 */ stb r0, 0x298(r6) -/* 80101CAC 000FEC0C 80 6F 00 90 */ lwz r3, 0x90(r15) -/* 80101CB0 000FEC10 88 03 02 98 */ lbz r0, 0x298(r3) -/* 80101CB4 000FEC14 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80101CB8 000FEC18 98 03 02 98 */ stb r0, 0x298(r3) -lbl_80101CBC: -/* 80101CBC 000FEC1C 80 6F 00 90 */ lwz r3, 0x90(r15) -/* 80101CC0 000FEC20 38 00 00 04 */ li r0, 4 -/* 80101CC4 000FEC24 38 C0 00 00 */ li r6, 0 -/* 80101CC8 000FEC28 38 A0 00 01 */ li r5, 1 -/* 80101CCC 000FEC2C 90 03 02 BC */ stw r0, 0x2bc(r3) -/* 80101CD0 000FEC30 7D E3 7B 78 */ mr r3, r15 -/* 80101CD4 000FEC34 80 8F 00 90 */ lwz r4, 0x90(r15) -/* 80101CD8 000FEC38 88 04 02 98 */ lbz r0, 0x298(r4) -/* 80101CDC 000FEC3C 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80101CE0 000FEC40 98 04 02 98 */ stb r0, 0x298(r4) -/* 80101CE4 000FEC44 80 8F 00 90 */ lwz r4, 0x90(r15) -/* 80101CE8 000FEC48 88 04 02 98 */ lbz r0, 0x298(r4) -/* 80101CEC 000FEC4C 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 80101CF0 000FEC50 98 04 02 98 */ stb r0, 0x298(r4) -/* 80101CF4 000FEC54 80 8F 00 90 */ lwz r4, 0x90(r15) -/* 80101CF8 000FEC58 98 A4 02 9A */ stb r5, 0x29a(r4) -/* 80101CFC 000FEC5C 88 0F 01 48 */ lbz r0, 0x148(r15) -/* 80101D00 000FEC60 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80101D04 000FEC64 98 0F 01 48 */ stb r0, 0x148(r15) -/* 80101D08 000FEC68 81 8F 00 00 */ lwz r12, 0(r15) -/* 80101D0C 000FEC6C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80101D10 000FEC70 7D 89 03 A6 */ mtctr r12 -/* 80101D14 000FEC74 4E 80 04 21 */ bctrl -/* 80101D18 000FEC78 88 01 02 E3 */ lbz r0, 0x2e3(r1) -/* 80101D1C 000FEC7C 28 00 00 00 */ cmplwi r0, 0 -/* 80101D20 000FEC80 38 00 00 01 */ li r0, 1 -/* 80101D24 000FEC84 41 82 00 08 */ beq lbl_80101D2C -/* 80101D28 000FEC88 38 00 00 02 */ li r0, 2 -lbl_80101D2C: -/* 80101D2C 000FEC8C 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 80101D30 000FEC90 88 0F 00 E6 */ lbz r0, 0xe6(r15) -/* 80101D34 000FEC94 50 60 1E F8 */ rlwimi r0, r3, 3, 0x1b, 0x1c -/* 80101D38 000FEC98 98 0F 00 E6 */ stb r0, 0xe6(r15) -/* 80101D3C 000FEC9C 88 0F 00 30 */ lbz r0, 0x30(r15) -/* 80101D40 000FECA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80101D44 000FECA4 40 82 00 14 */ bne lbl_80101D58 -/* 80101D48 000FECA8 C0 02 93 BC */ lfs f0, lbl_805AB0DC@sda21(r2) -/* 80101D4C 000FECAC D0 0F 02 BC */ stfs f0, 0x2bc(r15) -/* 80101D50 000FECB0 D0 0F 02 14 */ stfs f0, 0x214(r15) -/* 80101D54 000FECB4 D0 0F 02 18 */ stfs f0, 0x218(r15) -lbl_80101D58: -/* 80101D58 000FECB8 7D E3 7B 78 */ mr r3, r15 -/* 80101D5C 000FECBC 38 80 00 01 */ li r4, 1 -/* 80101D60 000FECC0 4B FF D0 55 */ bl SetupGrid__12CScriptWaterFb -/* 80101D64 000FECC4 7D E3 7B 78 */ mr r3, r15 -/* 80101D68 000FECC8 E3 E1 02 C8 */ psq_l f31, 712(r1), 0, qr0 -/* 80101D6C 000FECCC CB E1 02 C0 */ lfd f31, 0x2c0(r1) -/* 80101D70 000FECD0 E3 C1 02 B8 */ psq_l f30, 696(r1), 0, qr0 -/* 80101D74 000FECD4 CB C1 02 B0 */ lfd f30, 0x2b0(r1) -/* 80101D78 000FECD8 E3 A1 02 A8 */ psq_l f29, 680(r1), 0, qr0 -/* 80101D7C 000FECDC CB A1 02 A0 */ lfd f29, 0x2a0(r1) -/* 80101D80 000FECE0 E3 81 02 98 */ psq_l f28, 664(r1), 0, qr0 -/* 80101D84 000FECE4 CB 81 02 90 */ lfd f28, 0x290(r1) -/* 80101D88 000FECE8 E3 61 02 88 */ psq_l f27, 648(r1), 0, qr0 -/* 80101D8C 000FECEC CB 61 02 80 */ lfd f27, 0x280(r1) -/* 80101D90 000FECF0 E3 41 02 78 */ psq_l f26, 632(r1), 0, qr0 -/* 80101D94 000FECF4 CB 41 02 70 */ lfd f26, 0x270(r1) -/* 80101D98 000FECF8 E3 21 02 68 */ psq_l f25, 616(r1), 0, qr0 -/* 80101D9C 000FECFC CB 21 02 60 */ lfd f25, 0x260(r1) -/* 80101DA0 000FED00 E3 01 02 58 */ psq_l f24, 600(r1), 0, qr0 -/* 80101DA4 000FED04 CB 01 02 50 */ lfd f24, 0x250(r1) -/* 80101DA8 000FED08 E2 E1 02 48 */ psq_l f23, 584(r1), 0, qr0 -/* 80101DAC 000FED0C CA E1 02 40 */ lfd f23, 0x240(r1) -/* 80101DB0 000FED10 E2 C1 02 38 */ psq_l f22, 568(r1), 0, qr0 -/* 80101DB4 000FED14 CA C1 02 30 */ lfd f22, 0x230(r1) -/* 80101DB8 000FED18 E2 A1 02 28 */ psq_l f21, 552(r1), 0, qr0 -/* 80101DBC 000FED1C CA A1 02 20 */ lfd f21, 0x220(r1) -/* 80101DC0 000FED20 E2 81 02 18 */ psq_l f20, 536(r1), 0, qr0 -/* 80101DC4 000FED24 CA 81 02 10 */ lfd f20, 0x210(r1) -/* 80101DC8 000FED28 E2 61 02 08 */ psq_l f19, 520(r1), 0, qr0 -/* 80101DCC 000FED2C CA 61 02 00 */ lfd f19, 0x200(r1) -/* 80101DD0 000FED30 E2 41 01 F8 */ psq_l f18, 504(r1), 0, qr0 -/* 80101DD4 000FED34 CA 41 01 F0 */ lfd f18, 0x1f0(r1) -/* 80101DD8 000FED38 E2 21 01 E8 */ psq_l f17, 488(r1), 0, qr0 -/* 80101DDC 000FED3C CA 21 01 E0 */ lfd f17, 0x1e0(r1) -/* 80101DE0 000FED40 E2 01 01 D8 */ psq_l f16, 472(r1), 0, qr0 -/* 80101DE4 000FED44 CA 01 01 D0 */ lfd f16, 0x1d0(r1) -/* 80101DE8 000FED48 E1 E1 01 C8 */ psq_l f15, 456(r1), 0, qr0 -/* 80101DEC 000FED4C C9 E1 01 C0 */ lfd f15, 0x1c0(r1) -/* 80101DF0 000FED50 E1 C1 01 B8 */ psq_l f14, 440(r1), 0, qr0 -/* 80101DF4 000FED54 C9 C1 01 B0 */ lfd f14, 0x1b0(r1) -/* 80101DF8 000FED58 B9 C1 01 68 */ lmw r14, 0x168(r1) -/* 80101DFC 000FED5C 80 01 02 D4 */ lwz r0, 0x2d4(r1) -/* 80101E00 000FED60 7C 08 03 A6 */ mtlr r0 -/* 80101E04 000FED64 38 21 02 D0 */ addi r1, r1, 0x2d0 -/* 80101E08 000FED68 4E 80 00 20 */ blr - -.global sub_80101e0c -sub_80101e0c: -/* 80101E0C 000FED6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80101E10 000FED70 7C 08 02 A6 */ mflr r0 -/* 80101E14 000FED74 90 01 00 14 */ stw r0, 0x14(r1) -/* 80101E18 000FED78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80101E1C 000FED7C 93 C1 00 08 */ stw r30, 8(r1) -/* 80101E20 000FED80 7C 7E 1B 78 */ mr r30, r3 -/* 80101E24 000FED84 80 03 00 04 */ lwz r0, 4(r3) -/* 80101E28 000FED88 83 E4 00 04 */ lwz r31, 4(r4) -/* 80101E2C 000FED8C 7C 04 00 40 */ cmplw r4, r0 -/* 80101E30 000FED90 40 82 00 08 */ bne lbl_80101E38 -/* 80101E34 000FED94 93 FE 00 04 */ stw r31, 4(r30) -lbl_80101E38: -/* 80101E38 000FED98 80 04 00 04 */ lwz r0, 4(r4) -/* 80101E3C 000FED9C 28 04 00 00 */ cmplwi r4, 0 -/* 80101E40 000FEDA0 80 64 00 00 */ lwz r3, 0(r4) -/* 80101E44 000FEDA4 90 03 00 04 */ stw r0, 4(r3) -/* 80101E48 000FEDA8 80 04 00 00 */ lwz r0, 0(r4) -/* 80101E4C 000FEDAC 80 64 00 04 */ lwz r3, 4(r4) -/* 80101E50 000FEDB0 90 03 00 00 */ stw r0, 0(r3) -/* 80101E54 000FEDB4 41 82 00 0C */ beq lbl_80101E60 -/* 80101E58 000FEDB8 7C 83 23 78 */ mr r3, r4 -/* 80101E5C 000FEDBC 48 21 3A D5 */ bl Free__7CMemoryFPCv -lbl_80101E60: -/* 80101E60 000FEDC0 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 80101E64 000FEDC4 7F E3 FB 78 */ mr r3, r31 -/* 80101E68 000FEDC8 38 04 FF FF */ addi r0, r4, -1 -/* 80101E6C 000FEDCC 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80101E70 000FEDD0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80101E74 000FEDD4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80101E78 000FEDD8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80101E7C 000FEDDC 7C 08 03 A6 */ mtlr r0 -/* 80101E80 000FEDE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80101E84 000FEDE4 4E 80 00 20 */ blr - -.global sub_80101e88 -sub_80101e88: -/* 80101E88 000FEDE8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80101E8C 000FEDEC 7C 08 02 A6 */ mflr r0 -/* 80101E90 000FEDF0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80101E94 000FEDF4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80101E98 000FEDF8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80101E9C 000FEDFC 7C 9E 23 78 */ mr r30, r4 -/* 80101EA0 000FEE00 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80101EA4 000FEE04 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80101EA8 000FEE08 41 82 00 38 */ beq lbl_80101EE0 -/* 80101EAC 000FEE0C 83 FD 00 04 */ lwz r31, 4(r29) -/* 80101EB0 000FEE10 48 00 00 14 */ b lbl_80101EC4 -lbl_80101EB4: -/* 80101EB4 000FEE14 7F E3 FB 79 */ or. r3, r31, r31 -/* 80101EB8 000FEE18 83 FF 00 04 */ lwz r31, 4(r31) -/* 80101EBC 000FEE1C 41 82 00 08 */ beq lbl_80101EC4 -/* 80101EC0 000FEE20 48 21 3A 71 */ bl Free__7CMemoryFPCv -lbl_80101EC4: -/* 80101EC4 000FEE24 80 1D 00 08 */ lwz r0, 8(r29) -/* 80101EC8 000FEE28 7C 1F 00 40 */ cmplw r31, r0 -/* 80101ECC 000FEE2C 40 82 FF E8 */ bne lbl_80101EB4 -/* 80101ED0 000FEE30 7F C0 07 35 */ extsh. r0, r30 -/* 80101ED4 000FEE34 40 81 00 0C */ ble lbl_80101EE0 -/* 80101ED8 000FEE38 7F A3 EB 78 */ mr r3, r29 -/* 80101EDC 000FEE3C 48 21 3A 55 */ bl Free__7CMemoryFPCv -lbl_80101EE0: -/* 80101EE0 000FEE40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80101EE4 000FEE44 7F A3 EB 78 */ mr r3, r29 -/* 80101EE8 000FEE48 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80101EEC 000FEE4C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80101EF0 000FEE50 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80101EF4 000FEE54 7C 08 03 A6 */ mtlr r0 -/* 80101EF8 000FEE58 38 21 00 20 */ addi r1, r1, 0x20 -/* 80101EFC 000FEE5C 4E 80 00 20 */ blr - -.global GetCollisionResponseType__7CWeaponCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__7CWeaponCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 80101F00 000FEE60 38 60 00 0C */ li r3, 0xc -/* 80101F04 000FEE64 4E 80 00 20 */ blr - -.global Render__7CWeaponCFRC13CStateManager -Render__7CWeaponCFRC13CStateManager: -/* 80101F08 000FEE68 4E 80 00 20 */ blr - -.global FluidFXThink__7CWeaponFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager -FluidFXThink__7CWeaponFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: -/* 80101F0C 000FEE6C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80101F10 000FEE70 7C 08 02 A6 */ mflr r0 -/* 80101F14 000FEE74 90 01 00 74 */ stw r0, 0x74(r1) -/* 80101F18 000FEE78 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80101F1C 000FEE7C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80101F20 000FEE80 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80101F24 000FEE84 7C 7C 1B 78 */ mr r28, r3 -/* 80101F28 000FEE88 C3 E2 93 E8 */ lfs f31, lbl_805AB108@sda21(r2) -/* 80101F2C 000FEE8C 80 03 00 F0 */ lwz r0, 0xf0(r3) -/* 80101F30 000FEE90 7C 9D 23 78 */ mr r29, r4 -/* 80101F34 000FEE94 7C BE 2B 78 */ mr r30, r5 -/* 80101F38 000FEE98 7C DF 33 78 */ mr r31, r6 -/* 80101F3C 000FEE9C 28 00 00 08 */ cmplwi r0, 8 -/* 80101F40 000FEEA0 3B 60 00 01 */ li r27, 1 -/* 80101F44 000FEEA4 41 81 00 48 */ bgt lbl_80101F8C -/* 80101F48 000FEEA8 3C 60 80 3E */ lis r3, lbl_803DFF5C@ha -/* 80101F4C 000FEEAC 54 00 10 3A */ slwi r0, r0, 2 -/* 80101F50 000FEEB0 38 63 FF 5C */ addi r3, r3, lbl_803DFF5C@l -/* 80101F54 000FEEB4 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80101F58 000FEEB8 7C 09 03 A6 */ mtctr r0 -/* 80101F5C 000FEEBC 4E 80 04 20 */ bctr -/* 80101F60 000FEEC0 C3 E2 93 EC */ lfs f31, lbl_805AB10C@sda21(r2) -/* 80101F64 000FEEC4 48 00 00 2C */ b lbl_80101F90 -/* 80101F68 000FEEC8 C3 E2 93 F0 */ lfs f31, lbl_805AB110@sda21(r2) -/* 80101F6C 000FEECC 48 00 00 24 */ b lbl_80101F90 -/* 80101F70 000FEED0 C3 E2 93 EC */ lfs f31, lbl_805AB10C@sda21(r2) -/* 80101F74 000FEED4 48 00 00 1C */ b lbl_80101F90 -/* 80101F78 000FEED8 48 00 00 18 */ b lbl_80101F90 -/* 80101F7C 000FEEDC C3 E2 93 F4 */ lfs f31, lbl_805AB114@sda21(r2) -/* 80101F80 000FEEE0 48 00 00 10 */ b lbl_80101F90 -/* 80101F84 000FEEE4 C3 E2 93 EC */ lfs f31, lbl_805AB10C@sda21(r2) -/* 80101F88 000FEEE8 48 00 00 08 */ b lbl_80101F90 -lbl_80101F8C: -/* 80101F8C 000FEEEC 3B 60 00 00 */ li r27, 0 -lbl_80101F90: -/* 80101F90 000FEEF0 80 7C 00 E8 */ lwz r3, 0xe8(r28) -/* 80101F94 000FEEF4 54 60 06 31 */ rlwinm. r0, r3, 0, 0x18, 0x18 -/* 80101F98 000FEEF8 41 82 00 14 */ beq lbl_80101FAC -/* 80101F9C 000FEEFC 2C 1D 00 01 */ cmpwi r29, 1 -/* 80101FA0 000FEF00 41 82 00 0C */ beq lbl_80101FAC -/* 80101FA4 000FEF04 C0 02 93 F4 */ lfs f0, lbl_805AB114@sda21(r2) -/* 80101FA8 000FEF08 EF FF 00 2A */ fadds f31, f31, f0 -lbl_80101FAC: -/* 80101FAC 000FEF0C 54 60 07 7B */ rlwinm. r0, r3, 0, 0x1d, 0x1d -/* 80101FB0 000FEF10 41 82 00 0C */ beq lbl_80101FBC -/* 80101FB4 000FEF14 C0 02 93 F8 */ lfs f0, lbl_805AB118@sda21(r2) -/* 80101FB8 000FEF18 EF FF 00 2A */ fadds f31, f31, f0 -lbl_80101FBC: -/* 80101FBC 000FEF1C C0 02 93 FC */ lfs f0, lbl_805AB11C@sda21(r2) -/* 80101FC0 000FEF20 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80101FC4 000FEF24 40 81 00 08 */ ble lbl_80101FCC -/* 80101FC8 000FEF28 FF E0 00 90 */ fmr f31, f0 -lbl_80101FCC: -/* 80101FCC 000FEF2C 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80101FD0 000FEF30 41 82 00 EC */ beq lbl_801020BC -/* 80101FD4 000FEF34 7F C4 F3 78 */ mr r4, r30 -/* 80101FD8 000FEF38 38 61 00 30 */ addi r3, r1, 0x30 -/* 80101FDC 000FEF3C 4B F7 46 F1 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80101FE0 000FEF40 C0 3C 00 60 */ lfs f1, 0x60(r28) -/* 80101FE4 000FEF44 C0 1C 00 50 */ lfs f0, 0x50(r28) -/* 80101FE8 000FEF48 C0 7C 00 40 */ lfs f3, 0x40(r28) -/* 80101FEC 000FEF4C C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80101FF0 000FEF50 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80101FF4 000FEF54 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80101FF8 000FEF58 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80101FFC 000FEF5C 80 1C 00 E8 */ lwz r0, 0xe8(r28) -/* 80102000 000FEF60 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80102004 000FEF64 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18 -/* 80102008 000FEF68 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8010200C 000FEF6C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80102010 000FEF70 41 82 00 20 */ beq lbl_80102030 -/* 80102014 000FEF74 7F C3 F3 78 */ mr r3, r30 -/* 80102018 000FEF78 38 81 00 24 */ addi r4, r1, 0x24 -/* 8010201C 000FEF7C 4B FF CC 95 */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f -/* 80102020 000FEF80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80102024 000FEF84 40 82 00 18 */ bne lbl_8010203C -/* 80102028 000FEF88 3B 60 00 00 */ li r27, 0 -/* 8010202C 000FEF8C 48 00 00 10 */ b lbl_8010203C -lbl_80102030: -/* 80102030 000FEF90 2C 1D 00 01 */ cmpwi r29, 1 -/* 80102034 000FEF94 40 82 00 08 */ bne lbl_8010203C -/* 80102038 000FEF98 3B 60 00 00 */ li r27, 0 -lbl_8010203C: -/* 8010203C 000FEF9C 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80102040 000FEFA0 41 82 00 7C */ beq lbl_801020BC -/* 80102044 000FEFA4 2C 1D 00 00 */ cmpwi r29, 0 -/* 80102048 000FEFA8 3B 60 00 00 */ li r27, 0 -/* 8010204C 000FEFAC 41 82 00 0C */ beq lbl_80102058 -/* 80102050 000FEFB0 2C 1D 00 02 */ cmpwi r29, 2 -/* 80102054 000FEFB4 40 82 00 08 */ bne lbl_8010205C -lbl_80102058: -/* 80102058 000FEFB8 3B 60 00 01 */ li r27, 1 -lbl_8010205C: -/* 8010205C 000FEFBC A0 1C 00 08 */ lhz r0, 8(r28) -/* 80102060 000FEFC0 FC 20 F8 90 */ fmr f1, f31 -/* 80102064 000FEFC4 7F C6 F3 78 */ mr r6, r30 -/* 80102068 000FEFC8 7F E7 FB 78 */ mr r7, r31 -/* 8010206C 000FEFCC B0 01 00 14 */ sth r0, 0x14(r1) -/* 80102070 000FEFD0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80102074 000FEFD4 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80102078 000FEFD8 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 8010207C 000FEFDC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80102080 000FEFE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80102084 000FEFE4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80102088 000FEFE8 7D 89 03 A6 */ mtctr r12 -/* 8010208C 000FEFEC 4E 80 04 21 */ bctrl -/* 80102090 000FEFF0 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80102094 000FEFF4 FC 20 F8 90 */ fmr f1, f31 -/* 80102098 000FEFF8 7F E5 FB 78 */ mr r5, r31 -/* 8010209C 000FEFFC 7F C6 F3 78 */ mr r6, r30 -/* 801020A0 000FF000 B0 01 00 0C */ sth r0, 0xc(r1) -/* 801020A4 000FF004 7F 68 DB 78 */ mr r8, r27 -/* 801020A8 000FF008 38 81 00 0C */ addi r4, r1, 0xc -/* 801020AC 000FF00C B0 01 00 08 */ sth r0, 8(r1) -/* 801020B0 000FF010 38 E1 00 24 */ addi r7, r1, 0x24 -/* 801020B4 000FF014 80 7F 08 7C */ lwz r3, 0x87c(r31) -/* 801020B8 000FF018 48 02 D2 01 */ bl CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb -lbl_801020BC: -/* 801020BC 000FF01C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 801020C0 000FF020 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 801020C4 000FF024 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 801020C8 000FF028 80 01 00 74 */ lwz r0, 0x74(r1) -/* 801020CC 000FF02C 7C 08 03 A6 */ mtlr r0 -/* 801020D0 000FF030 38 21 00 70 */ addi r1, r1, 0x70 -/* 801020D4 000FF034 4E 80 00 20 */ blr - -.global Think__7CWeaponFfR13CStateManager -Think__7CWeaponFfR13CStateManager: -/* 801020D8 000FF038 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 801020DC 000FF03C 7C 08 02 A6 */ mflr r0 -/* 801020E0 000FF040 90 01 00 44 */ stw r0, 0x44(r1) -/* 801020E4 000FF044 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 801020E8 000FF048 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 801020EC 000FF04C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801020F0 000FF050 93 C1 00 28 */ stw r30, 0x28(r1) -/* 801020F4 000FF054 7C 7E 1B 78 */ mr r30, r3 -/* 801020F8 000FF058 FF E0 08 90 */ fmr f31, f1 -/* 801020FC 000FF05C C0 03 01 48 */ lfs f0, 0x148(r3) -/* 80102100 000FF060 7C 9F 23 78 */ mr r31, r4 -/* 80102104 000FF064 EC 00 F8 2A */ fadds f0, f0, f31 -/* 80102108 000FF068 D0 03 01 48 */ stfs f0, 0x148(r3) -/* 8010210C 000FF06C 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 80102110 000FF070 54 00 04 A4 */ rlwinm r0, r0, 0, 0x12, 0x12 -/* 80102114 000FF074 2C 00 20 00 */ cmpwi r0, 0x2000 -/* 80102118 000FF078 40 82 00 98 */ bne lbl_801021B0 -/* 8010211C 000FF07C C0 5E 01 48 */ lfs f2, 0x148(r30) -/* 80102120 000FF080 38 81 00 08 */ addi r4, r1, 8 -/* 80102124 000FF084 C0 3E 01 4C */ lfs f1, 0x14c(r30) -/* 80102128 000FF088 38 6D 89 98 */ addi r3, r13, lbl_805A7558@sda21 -/* 8010212C 000FF08C C0 02 93 FC */ lfs f0, lbl_805AB11C@sda21(r2) -/* 80102130 000FF090 EC 02 00 7C */ fnmsubs f0, f2, f1, f0 -/* 80102134 000FF094 D0 01 00 08 */ stfs f0, 8(r1) -/* 80102138 000FF098 4B F4 D5 F9 */ bl "Max__5CMathFRCfRCf" -/* 8010213C 000FF09C 88 1E 01 14 */ lbz r0, 0x114(r30) -/* 80102140 000FF0A0 38 80 00 00 */ li r4, 0 -/* 80102144 000FF0A4 C0 83 00 00 */ lfs f4, 0(r3) -/* 80102148 000FF0A8 C0 1E 01 18 */ lfs f0, 0x118(r30) -/* 8010214C 000FF0AC 80 BE 01 10 */ lwz r5, 0x110(r30) -/* 80102150 000FF0B0 EC 64 00 32 */ fmuls f3, f4, f0 -/* 80102154 000FF0B4 98 01 00 10 */ stb r0, 0x10(r1) -/* 80102158 000FF0B8 C0 3E 01 20 */ lfs f1, 0x120(r30) -/* 8010215C 000FF0BC C0 1E 01 24 */ lfs f0, 0x124(r30) -/* 80102160 000FF0C0 EC 44 00 72 */ fmuls f2, f4, f1 -/* 80102164 000FF0C4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80102168 000FF0C8 EC 24 00 32 */ fmuls f1, f4, f0 -/* 8010216C 000FF0CC 90 BE 01 2C */ stw r5, 0x12c(r30) -/* 80102170 000FF0D0 FC 00 18 18 */ frsp f0, f3 -/* 80102174 000FF0D4 90 1E 01 30 */ stw r0, 0x130(r30) -/* 80102178 000FF0D8 88 01 00 24 */ lbz r0, 0x24(r1) -/* 8010217C 000FF0DC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80102180 000FF0E0 D0 7E 01 34 */ stfs f3, 0x134(r30) -/* 80102184 000FF0E4 D0 1E 01 38 */ stfs f0, 0x138(r30) -/* 80102188 000FF0E8 D0 5E 01 3C */ stfs f2, 0x13c(r30) -/* 8010218C 000FF0EC D0 3E 01 40 */ stfs f1, 0x140(r30) -/* 80102190 000FF0F0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80102194 000FF0F4 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80102198 000FF0F8 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8010219C 000FF0FC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 801021A0 000FF100 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 801021A4 000FF104 98 01 00 24 */ stb r0, 0x24(r1) -/* 801021A8 000FF108 98 1E 01 44 */ stb r0, 0x144(r30) -/* 801021AC 000FF10C 48 00 00 3C */ b lbl_801021E8 -lbl_801021B0: -/* 801021B0 000FF110 80 7E 01 10 */ lwz r3, 0x110(r30) -/* 801021B4 000FF114 80 1E 01 14 */ lwz r0, 0x114(r30) -/* 801021B8 000FF118 90 7E 01 2C */ stw r3, 0x12c(r30) -/* 801021BC 000FF11C 90 1E 01 30 */ stw r0, 0x130(r30) -/* 801021C0 000FF120 C0 1E 01 18 */ lfs f0, 0x118(r30) -/* 801021C4 000FF124 D0 1E 01 34 */ stfs f0, 0x134(r30) -/* 801021C8 000FF128 C0 1E 01 1C */ lfs f0, 0x11c(r30) -/* 801021CC 000FF12C D0 1E 01 38 */ stfs f0, 0x138(r30) -/* 801021D0 000FF130 C0 1E 01 20 */ lfs f0, 0x120(r30) -/* 801021D4 000FF134 D0 1E 01 3C */ stfs f0, 0x13c(r30) -/* 801021D8 000FF138 C0 1E 01 24 */ lfs f0, 0x124(r30) -/* 801021DC 000FF13C D0 1E 01 40 */ stfs f0, 0x140(r30) -/* 801021E0 000FF140 88 1E 01 28 */ lbz r0, 0x128(r30) -/* 801021E4 000FF144 98 1E 01 44 */ stb r0, 0x144(r30) -lbl_801021E8: -/* 801021E8 000FF148 FC 20 F8 90 */ fmr f1, f31 -/* 801021EC 000FF14C 7F C3 F3 78 */ mr r3, r30 -/* 801021F0 000FF150 7F E4 FB 78 */ mr r4, r31 -/* 801021F4 000FF154 4B F4 EE C5 */ bl Think__7CEntityFfR13CStateManager -/* 801021F8 000FF158 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 801021FC 000FF15C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80102200 000FF160 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80102204 000FF164 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80102208 000FF168 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8010220C 000FF16C 7C 08 03 A6 */ mtlr r0 -/* 80102210 000FF170 38 21 00 40 */ addi r1, r1, 0x40 -/* 80102214 000FF174 4E 80 00 20 */ blr - -.global sub_80102218 -sub_80102218: -/* 80102218 000FF178 C0 02 93 E8 */ lfs f0, lbl_805AB108@sda21(r2) -/* 8010221C 000FF17C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80102220 000FF180 4C 81 00 20 */ blelr -/* 80102224 000FF184 C0 02 93 FC */ lfs f0, lbl_805AB11C@sda21(r2) -/* 80102228 000FF188 EC 00 08 24 */ fdivs f0, f0, f1 -/* 8010222C 000FF18C D0 03 01 4C */ stfs f0, 0x14c(r3) -/* 80102230 000FF190 4E 80 00 20 */ blr - -.global __dt__7CWeaponFv -__dt__7CWeaponFv: -/* 80102234 000FF194 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80102238 000FF198 7C 08 02 A6 */ mflr r0 -/* 8010223C 000FF19C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80102240 000FF1A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80102244 000FF1A4 7C 9F 23 78 */ mr r31, r4 -/* 80102248 000FF1A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8010224C 000FF1AC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80102250 000FF1B0 41 82 00 28 */ beq lbl_80102278 -/* 80102254 000FF1B4 3C A0 80 3E */ lis r5, lbl_803DFEF0@ha -/* 80102258 000FF1B8 38 80 00 00 */ li r4, 0 -/* 8010225C 000FF1BC 38 05 FE F0 */ addi r0, r5, lbl_803DFEF0@l -/* 80102260 000FF1C0 90 1E 00 00 */ stw r0, 0(r30) -/* 80102264 000FF1C4 4B F5 34 8D */ bl __dt__6CActorFv -/* 80102268 000FF1C8 7F E0 07 35 */ extsh. r0, r31 -/* 8010226C 000FF1CC 40 81 00 0C */ ble lbl_80102278 -/* 80102270 000FF1D0 7F C3 F3 78 */ mr r3, r30 -/* 80102274 000FF1D4 48 21 36 BD */ bl Free__7CMemoryFPCv -lbl_80102278: -/* 80102278 000FF1D8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8010227C 000FF1DC 7F C3 F3 78 */ mr r3, r30 -/* 80102280 000FF1E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80102284 000FF1E4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80102288 000FF1E8 7C 08 03 A6 */ mtlr r0 -/* 8010228C 000FF1EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80102290 000FF1F0 4E 80 00 20 */ blr - -.global "__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData" -"__ct__7CWeaponF9TUniqueIdb9TUniqueId11EWeaponTypeRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fRC15CMaterialFilterRC13CMaterialListRC11CDamageInfoiRC10CModelData": -/* 80102294 000FF1F4 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 80102298 000FF1F8 7C 08 02 A6 */ mflr r0 -/* 8010229C 000FF1FC 3D 60 80 57 */ lis r11, lbl_8056D410@ha -/* 801022A0 000FF200 90 01 01 54 */ stw r0, 0x154(r1) -/* 801022A4 000FF204 BE 81 01 20 */ stmw r20, 0x120(r1) -/* 801022A8 000FF208 7C 79 1B 78 */ mr r25, r3 -/* 801022AC 000FF20C 7C 94 23 78 */ mr r20, r4 -/* 801022B0 000FF210 7C DA 33 78 */ mr r26, r6 -/* 801022B4 000FF214 83 A1 01 58 */ lwz r29, 0x158(r1) -/* 801022B8 000FF218 7C FB 3B 78 */ mr r27, r7 -/* 801022BC 000FF21C 82 E1 01 5C */ lwz r23, 0x15c(r1) -/* 801022C0 000FF220 7D 1C 43 78 */ mr r28, r8 -/* 801022C4 000FF224 83 C1 01 60 */ lwz r30, 0x160(r1) -/* 801022C8 000FF228 7D 35 4B 78 */ mr r21, r9 -/* 801022CC 000FF22C 83 E1 01 64 */ lwz r31, 0x164(r1) -/* 801022D0 000FF230 7D 56 53 78 */ mr r22, r10 -/* 801022D4 000FF234 83 01 01 68 */ lwz r24, 0x168(r1) -/* 801022D8 000FF238 38 61 00 30 */ addi r3, r1, 0x30 -/* 801022DC 000FF23C 38 81 00 2C */ addi r4, r1, 0x2c -/* 801022E0 000FF240 38 C1 00 28 */ addi r6, r1, 0x28 -/* 801022E4 000FF244 80 05 00 00 */ lwz r0, 0(r5) -/* 801022E8 000FF248 38 AB D4 10 */ addi r5, r11, lbl_8056D410@l -/* 801022EC 000FF24C 81 8D A3 88 */ lwz r12, lbl_805A8F48@sda21(r13) -/* 801022F0 000FF250 90 01 00 2C */ stw r0, 0x2c(r1) -/* 801022F4 000FF254 91 81 00 28 */ stw r12, 0x28(r1) -/* 801022F8 000FF258 4B F4 F1 8D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 801022FC 000FF25C 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80102300 000FF260 4B F1 8B 39 */ bl None__16CActorParametersFv -/* 80102304 000FF264 38 61 00 48 */ addi r3, r1, 0x48 -/* 80102308 000FF268 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 8010230C 000FF26C 38 A0 00 01 */ li r5, 1 -/* 80102310 000FF270 48 00 44 FD */ bl sub_8010680c -/* 80102314 000FF274 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 80102318 000FF278 38 81 00 48 */ addi r4, r1, 0x48 -/* 8010231C 000FF27C A0 F4 00 00 */ lhz r7, 0(r20) -/* 80102320 000FF280 38 01 00 10 */ addi r0, r1, 0x10 -/* 80102324 000FF284 B0 61 00 10 */ sth r3, 0x10(r1) -/* 80102328 000FF288 7F 23 CB 78 */ mr r3, r25 -/* 8010232C 000FF28C 7F 45 D3 78 */ mr r5, r26 -/* 80102330 000FF290 7E A6 AB 78 */ mr r6, r21 -/* 80102334 000FF294 B0 E1 00 14 */ sth r7, 0x14(r1) -/* 80102338 000FF298 7E C8 B3 78 */ mr r8, r22 -/* 8010233C 000FF29C 7F 09 C3 78 */ mr r9, r24 -/* 80102340 000FF2A0 7E EA BB 78 */ mr r10, r23 -/* 80102344 000FF2A4 90 81 00 08 */ stw r4, 8(r1) -/* 80102348 000FF2A8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8010234C 000FF2AC 38 E1 00 30 */ addi r7, r1, 0x30 -/* 80102350 000FF2B0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80102354 000FF2B4 4B F5 34 CD */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 80102358 000FF2B8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8010235C 000FF2BC 38 80 FF FF */ li r4, -1 -/* 80102360 000FF2C0 48 00 42 A9 */ bl __dt__16CActorParametersFv -/* 80102364 000FF2C4 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80102368 000FF2C8 38 80 FF FF */ li r4, -1 -/* 8010236C 000FF2CC 48 00 42 9D */ bl __dt__16CActorParametersFv -/* 80102370 000FF2D0 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80102374 000FF2D4 80 61 00 40 */ lwz r3, 0x40(r1) -/* 80102378 000FF2D8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8010237C 000FF2DC 90 61 00 1C */ stw r3, 0x1c(r1) -/* 80102380 000FF2E0 7C 64 1B 78 */ mr r4, r3 -/* 80102384 000FF2E4 7C 03 02 14 */ add r0, r3, r0 -/* 80102388 000FF2E8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8010238C 000FF2EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80102390 000FF2F0 90 01 00 20 */ stw r0, 0x20(r1) -/* 80102394 000FF2F4 48 00 00 08 */ b lbl_8010239C -lbl_80102398: -/* 80102398 000FF2F8 38 84 00 0C */ addi r4, r4, 0xc -lbl_8010239C: -/* 8010239C 000FF2FC 7C 04 00 40 */ cmplw r4, r0 -/* 801023A0 000FF300 40 82 FF F8 */ bne lbl_80102398 -/* 801023A4 000FF304 28 03 00 00 */ cmplwi r3, 0 -/* 801023A8 000FF308 41 82 00 08 */ beq lbl_801023B0 -/* 801023AC 000FF30C 48 21 35 85 */ bl Free__7CMemoryFPCv -lbl_801023B0: -/* 801023B0 000FF310 3C 60 80 3E */ lis r3, lbl_803DFEF0@ha -/* 801023B4 000FF314 C0 02 93 E8 */ lfs f0, lbl_805AB108@sda21(r2) -/* 801023B8 000FF318 38 03 FE F0 */ addi r0, r3, lbl_803DFEF0@l -/* 801023BC 000FF31C 7F 23 CB 78 */ mr r3, r25 -/* 801023C0 000FF320 90 19 00 00 */ stw r0, 0(r25) -/* 801023C4 000FF324 93 F9 00 E8 */ stw r31, 0xe8(r25) -/* 801023C8 000FF328 A0 1B 00 00 */ lhz r0, 0(r27) -/* 801023CC 000FF32C B0 19 00 EC */ sth r0, 0xec(r25) -/* 801023D0 000FF330 93 99 00 F0 */ stw r28, 0xf0(r25) -/* 801023D4 000FF334 80 1D 00 00 */ lwz r0, 0(r29) -/* 801023D8 000FF338 80 9D 00 04 */ lwz r4, 4(r29) -/* 801023DC 000FF33C 90 99 00 FC */ stw r4, 0xfc(r25) -/* 801023E0 000FF340 90 19 00 F8 */ stw r0, 0xf8(r25) -/* 801023E4 000FF344 80 1D 00 08 */ lwz r0, 8(r29) -/* 801023E8 000FF348 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 801023EC 000FF34C 90 99 01 04 */ stw r4, 0x104(r25) -/* 801023F0 000FF350 90 19 01 00 */ stw r0, 0x100(r25) -/* 801023F4 000FF354 80 1D 00 10 */ lwz r0, 0x10(r29) -/* 801023F8 000FF358 90 19 01 08 */ stw r0, 0x108(r25) -/* 801023FC 000FF35C 80 1E 00 00 */ lwz r0, 0(r30) -/* 80102400 000FF360 90 19 01 10 */ stw r0, 0x110(r25) -/* 80102404 000FF364 88 1E 00 04 */ lbz r0, 4(r30) -/* 80102408 000FF368 98 19 01 14 */ stb r0, 0x114(r25) -/* 8010240C 000FF36C C0 3E 00 08 */ lfs f1, 8(r30) -/* 80102410 000FF370 D0 39 01 18 */ stfs f1, 0x118(r25) -/* 80102414 000FF374 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 80102418 000FF378 D0 39 01 1C */ stfs f1, 0x11c(r25) -/* 8010241C 000FF37C C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 80102420 000FF380 D0 39 01 20 */ stfs f1, 0x120(r25) -/* 80102424 000FF384 C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 80102428 000FF388 D0 39 01 24 */ stfs f1, 0x124(r25) -/* 8010242C 000FF38C 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80102430 000FF390 98 19 01 28 */ stb r0, 0x128(r25) -/* 80102434 000FF394 80 1E 00 00 */ lwz r0, 0(r30) -/* 80102438 000FF398 90 19 01 2C */ stw r0, 0x12c(r25) -/* 8010243C 000FF39C 88 1E 00 04 */ lbz r0, 4(r30) -/* 80102440 000FF3A0 98 19 01 30 */ stb r0, 0x130(r25) -/* 80102444 000FF3A4 C0 3E 00 08 */ lfs f1, 8(r30) -/* 80102448 000FF3A8 D0 39 01 34 */ stfs f1, 0x134(r25) -/* 8010244C 000FF3AC C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 80102450 000FF3B0 D0 39 01 38 */ stfs f1, 0x138(r25) -/* 80102454 000FF3B4 C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 80102458 000FF3B8 D0 39 01 3C */ stfs f1, 0x13c(r25) -/* 8010245C 000FF3BC C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 80102460 000FF3C0 D0 39 01 40 */ stfs f1, 0x140(r25) -/* 80102464 000FF3C4 88 1E 00 18 */ lbz r0, 0x18(r30) -/* 80102468 000FF3C8 98 19 01 44 */ stb r0, 0x144(r25) -/* 8010246C 000FF3CC D0 19 01 48 */ stfs f0, 0x148(r25) -/* 80102470 000FF3D0 D0 19 01 4C */ stfs f0, 0x14c(r25) -/* 80102474 000FF3D4 D0 19 01 50 */ stfs f0, 0x150(r25) -/* 80102478 000FF3D8 D0 19 01 54 */ stfs f0, 0x154(r25) -/* 8010247C 000FF3DC BA 81 01 20 */ lmw r20, 0x120(r1) -/* 80102480 000FF3E0 80 01 01 54 */ lwz r0, 0x154(r1) -/* 80102484 000FF3E4 7C 08 03 A6 */ mtlr r0 -/* 80102488 000FF3E8 38 21 01 50 */ addi r1, r1, 0x150 -/* 8010248C 000FF3EC 4E 80 00 20 */ blr - -.global GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode -GetDeflectionType__20CDamageVulnerabilityCFRC11CWeaponMode: -/* 80102490 000FF3F0 88 84 00 04 */ lbz r4, 4(r4) -/* 80102494 000FF3F4 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 80102498 000FF3F8 41 82 00 0C */ beq lbl_801024A4 -/* 8010249C 000FF3FC 80 63 00 60 */ lwz r3, 0x60(r3) -/* 801024A0 000FF400 4E 80 00 20 */ blr -lbl_801024A4: -/* 801024A4 000FF404 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 801024A8 000FF408 41 82 00 0C */ beq lbl_801024B4 -/* 801024AC 000FF40C 80 63 00 64 */ lwz r3, 0x64(r3) -/* 801024B0 000FF410 4E 80 00 20 */ blr -lbl_801024B4: -/* 801024B4 000FF414 80 63 00 5C */ lwz r3, 0x5c(r3) -/* 801024B8 000FF418 4E 80 00 20 */ blr - -.global GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode -GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode: -/* 801024BC 000FF41C 80 E4 00 00 */ lwz r7, 0(r4) -/* 801024C0 000FF420 2C 07 00 00 */ cmpwi r7, 0 -/* 801024C4 000FF424 41 80 00 0C */ blt lbl_801024D0 -/* 801024C8 000FF428 2C 07 00 0E */ cmpwi r7, 0xe -/* 801024CC 000FF42C 40 81 00 0C */ ble lbl_801024D8 -lbl_801024D0: -/* 801024D0 000FF430 38 60 00 02 */ li r3, 2 -/* 801024D4 000FF434 4E 80 00 20 */ blr -lbl_801024D8: -/* 801024D8 000FF438 88 C4 00 04 */ lbz r6, 4(r4) -/* 801024DC 000FF43C 54 C0 DF FF */ rlwinm. r0, r6, 0x1b, 0x1f, 0x1f -/* 801024E0 000FF440 41 82 00 0C */ beq lbl_801024EC -/* 801024E4 000FF444 38 60 00 01 */ li r3, 1 -/* 801024E8 000FF448 4E 80 00 20 */ blr -lbl_801024EC: -/* 801024EC 000FF44C 54 C0 CF FF */ rlwinm. r0, r6, 0x19, 0x1f, 0x1f -/* 801024F0 000FF450 54 E6 10 3A */ slwi r6, r7, 2 -/* 801024F4 000FF454 7D 03 30 2E */ lwzx r8, r3, r6 -/* 801024F8 000FF458 41 82 00 1C */ beq lbl_80102514 -/* 801024FC 000FF45C 2C 07 00 04 */ cmpwi r7, 4 -/* 80102500 000FF460 40 80 00 10 */ bge lbl_80102510 -/* 80102504 000FF464 7C C3 32 14 */ add r6, r3, r6 -/* 80102508 000FF468 81 06 00 3C */ lwz r8, 0x3c(r6) -/* 8010250C 000FF46C 48 00 00 08 */ b lbl_80102514 -lbl_80102510: -/* 80102510 000FF470 39 00 00 01 */ li r8, 1 -lbl_80102514: -/* 80102514 000FF474 88 04 00 04 */ lbz r0, 4(r4) -/* 80102518 000FF478 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8010251C 000FF47C 41 82 00 20 */ beq lbl_8010253C -/* 80102520 000FF480 2C 07 00 04 */ cmpwi r7, 4 -/* 80102524 000FF484 40 80 00 14 */ bge lbl_80102538 -/* 80102528 000FF488 54 E0 10 3A */ slwi r0, r7, 2 -/* 8010252C 000FF48C 7C 63 02 14 */ add r3, r3, r0 -/* 80102530 000FF490 81 03 00 4C */ lwz r8, 0x4c(r3) -/* 80102534 000FF494 48 00 00 08 */ b lbl_8010253C -lbl_80102538: -/* 80102538 000FF498 39 00 00 01 */ li r8, 1 -lbl_8010253C: -/* 8010253C 000FF49C 2C 05 00 01 */ cmpwi r5, 1 -/* 80102540 000FF4A0 40 82 00 0C */ bne lbl_8010254C -/* 80102544 000FF4A4 7D 03 43 78 */ mr r3, r8 -/* 80102548 000FF4A8 4E 80 00 20 */ blr -lbl_8010254C: -/* 8010254C 000FF4AC 2C 08 00 05 */ cmpwi r8, 5 -/* 80102550 000FF4B0 40 82 00 0C */ bne lbl_8010255C -/* 80102554 000FF4B4 38 60 00 00 */ li r3, 0 -/* 80102558 000FF4B8 4E 80 00 20 */ blr -lbl_8010255C: -/* 8010255C 000FF4BC 2C 08 00 06 */ cmpwi r8, 6 -/* 80102560 000FF4C0 40 82 00 0C */ bne lbl_8010256C -/* 80102564 000FF4C4 38 60 00 01 */ li r3, 1 -/* 80102568 000FF4C8 4E 80 00 20 */ blr -lbl_8010256C: -/* 8010256C 000FF4CC 2C 08 00 07 */ cmpwi r8, 7 -/* 80102570 000FF4D0 40 82 00 0C */ bne lbl_8010257C -/* 80102574 000FF4D4 38 60 00 03 */ li r3, 3 -/* 80102578 000FF4D8 4E 80 00 20 */ blr -lbl_8010257C: -/* 8010257C 000FF4DC 7D 03 43 78 */ mr r3, r8 -/* 80102580 000FF4E0 4E 80 00 20 */ blr - -.global WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei -WeaponHits__20CDamageVulnerabilityCFRC11CWeaponModei: -/* 80102584 000FF4E4 81 24 00 00 */ lwz r9, 0(r4) -/* 80102588 000FF4E8 2C 09 00 00 */ cmpwi r9, 0 -/* 8010258C 000FF4EC 41 80 00 0C */ blt lbl_80102598 -/* 80102590 000FF4F0 2C 09 00 0E */ cmpwi r9, 0xe -/* 80102594 000FF4F4 40 81 00 0C */ ble lbl_801025A0 -lbl_80102598: -/* 80102598 000FF4F8 38 60 00 00 */ li r3, 0 -/* 8010259C 000FF4FC 4E 80 00 20 */ blr -lbl_801025A0: -/* 801025A0 000FF500 88 04 00 04 */ lbz r0, 4(r4) -/* 801025A4 000FF504 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 801025A8 000FF508 41 82 00 0C */ beq lbl_801025B4 -/* 801025AC 000FF50C 38 60 00 01 */ li r3, 1 -/* 801025B0 000FF510 4E 80 00 20 */ blr -lbl_801025B4: -/* 801025B4 000FF514 55 2A 10 3A */ slwi r10, r9, 2 -/* 801025B8 000FF518 2C 05 00 00 */ cmpwi r5, 0 -/* 801025BC 000FF51C 7C E3 50 2E */ lwzx r7, r3, r10 -/* 801025C0 000FF520 40 82 00 18 */ bne lbl_801025D8 -/* 801025C4 000FF524 20 C7 00 02 */ subfic r6, r7, 2 -/* 801025C8 000FF528 38 07 FF FE */ addi r0, r7, -2 -/* 801025CC 000FF52C 7C C0 03 78 */ or r0, r6, r0 -/* 801025D0 000FF530 54 07 0F FE */ srwi r7, r0, 0x1f -/* 801025D4 000FF534 48 00 00 2C */ b lbl_80102600 -lbl_801025D8: -/* 801025D8 000FF538 2C 07 00 02 */ cmpwi r7, 2 -/* 801025DC 000FF53C 41 82 00 18 */ beq lbl_801025F4 -/* 801025E0 000FF540 38 07 FF FB */ addi r0, r7, -5 -/* 801025E4 000FF544 28 00 00 01 */ cmplwi r0, 1 -/* 801025E8 000FF548 40 81 00 0C */ ble lbl_801025F4 -/* 801025EC 000FF54C 2C 07 00 07 */ cmpwi r7, 7 -/* 801025F0 000FF550 40 82 00 0C */ bne lbl_801025FC -lbl_801025F4: -/* 801025F4 000FF554 38 E0 00 00 */ li r7, 0 -/* 801025F8 000FF558 48 00 00 08 */ b lbl_80102600 -lbl_801025FC: -/* 801025FC 000FF55C 38 E0 00 01 */ li r7, 1 -lbl_80102600: -/* 80102600 000FF560 2C 09 00 04 */ cmpwi r9, 4 -/* 80102604 000FF564 40 80 00 54 */ bge lbl_80102658 -/* 80102608 000FF568 7C C3 52 14 */ add r6, r3, r10 -/* 8010260C 000FF56C 2C 05 00 00 */ cmpwi r5, 0 -/* 80102610 000FF570 81 06 00 3C */ lwz r8, 0x3c(r6) -/* 80102614 000FF574 40 82 00 18 */ bne lbl_8010262C -/* 80102618 000FF578 20 C8 00 02 */ subfic r6, r8, 2 -/* 8010261C 000FF57C 38 08 FF FE */ addi r0, r8, -2 -/* 80102620 000FF580 7C C0 03 78 */ or r0, r6, r0 -/* 80102624 000FF584 54 06 0F FE */ srwi r6, r0, 0x1f -/* 80102628 000FF588 48 00 00 34 */ b lbl_8010265C -lbl_8010262C: -/* 8010262C 000FF58C 2C 08 00 02 */ cmpwi r8, 2 -/* 80102630 000FF590 41 82 00 18 */ beq lbl_80102648 -/* 80102634 000FF594 38 08 FF FB */ addi r0, r8, -5 -/* 80102638 000FF598 28 00 00 01 */ cmplwi r0, 1 -/* 8010263C 000FF59C 40 81 00 0C */ ble lbl_80102648 -/* 80102640 000FF5A0 2C 08 00 07 */ cmpwi r8, 7 -/* 80102644 000FF5A4 40 82 00 0C */ bne lbl_80102650 -lbl_80102648: -/* 80102648 000FF5A8 38 C0 00 00 */ li r6, 0 -/* 8010264C 000FF5AC 48 00 00 10 */ b lbl_8010265C -lbl_80102650: -/* 80102650 000FF5B0 38 C0 00 01 */ li r6, 1 -/* 80102654 000FF5B4 48 00 00 08 */ b lbl_8010265C -lbl_80102658: -/* 80102658 000FF5B8 38 C0 00 01 */ li r6, 1 -lbl_8010265C: -/* 8010265C 000FF5BC 2C 09 00 04 */ cmpwi r9, 4 -/* 80102660 000FF5C0 40 80 00 54 */ bge lbl_801026B4 -/* 80102664 000FF5C4 7C 63 52 14 */ add r3, r3, r10 -/* 80102668 000FF5C8 2C 05 00 00 */ cmpwi r5, 0 -/* 8010266C 000FF5CC 80 A3 00 4C */ lwz r5, 0x4c(r3) -/* 80102670 000FF5D0 40 82 00 18 */ bne lbl_80102688 -/* 80102674 000FF5D4 20 65 00 02 */ subfic r3, r5, 2 -/* 80102678 000FF5D8 38 05 FF FE */ addi r0, r5, -2 -/* 8010267C 000FF5DC 7C 60 03 78 */ or r0, r3, r0 -/* 80102680 000FF5E0 54 08 0F FE */ srwi r8, r0, 0x1f -/* 80102684 000FF5E4 48 00 00 34 */ b lbl_801026B8 -lbl_80102688: -/* 80102688 000FF5E8 2C 05 00 02 */ cmpwi r5, 2 -/* 8010268C 000FF5EC 41 82 00 18 */ beq lbl_801026A4 -/* 80102690 000FF5F0 38 05 FF FB */ addi r0, r5, -5 -/* 80102694 000FF5F4 28 00 00 01 */ cmplwi r0, 1 -/* 80102698 000FF5F8 40 81 00 0C */ ble lbl_801026A4 -/* 8010269C 000FF5FC 2C 05 00 07 */ cmpwi r5, 7 -/* 801026A0 000FF600 40 82 00 0C */ bne lbl_801026AC -lbl_801026A4: -/* 801026A4 000FF604 39 00 00 00 */ li r8, 0 -/* 801026A8 000FF608 48 00 00 10 */ b lbl_801026B8 -lbl_801026AC: -/* 801026AC 000FF60C 39 00 00 01 */ li r8, 1 -/* 801026B0 000FF610 48 00 00 08 */ b lbl_801026B8 -lbl_801026B4: -/* 801026B4 000FF614 39 00 00 01 */ li r8, 1 -lbl_801026B8: -/* 801026B8 000FF618 54 E0 06 3F */ clrlwi. r0, r7, 0x18 -/* 801026BC 000FF61C 38 60 00 00 */ li r3, 0 -/* 801026C0 000FF620 41 82 00 18 */ beq lbl_801026D8 -/* 801026C4 000FF624 88 A4 00 04 */ lbz r5, 4(r4) -/* 801026C8 000FF628 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f -/* 801026CC 000FF62C 40 82 00 0C */ bne lbl_801026D8 -/* 801026D0 000FF630 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f -/* 801026D4 000FF634 41 82 00 2C */ beq lbl_80102700 -lbl_801026D8: -/* 801026D8 000FF638 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 801026DC 000FF63C 41 82 00 10 */ beq lbl_801026EC -/* 801026E0 000FF640 88 04 00 04 */ lbz r0, 4(r4) -/* 801026E4 000FF644 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801026E8 000FF648 40 82 00 18 */ bne lbl_80102700 -lbl_801026EC: -/* 801026EC 000FF64C 55 00 06 3F */ clrlwi. r0, r8, 0x18 -/* 801026F0 000FF650 4D 82 00 20 */ beqlr -/* 801026F4 000FF654 88 04 00 04 */ lbz r0, 4(r4) -/* 801026F8 000FF658 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801026FC 000FF65C 4D 82 00 20 */ beqlr -lbl_80102700: -/* 80102700 000FF660 38 60 00 01 */ li r3, 1 -/* 80102704 000FF664 4E 80 00 20 */ blr - -.global WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode: -/* 80102708 000FF668 80 E4 00 00 */ lwz r7, 0(r4) -/* 8010270C 000FF66C 2C 07 00 00 */ cmpwi r7, 0 -/* 80102710 000FF670 41 80 00 0C */ blt lbl_8010271C -/* 80102714 000FF674 2C 07 00 0E */ cmpwi r7, 0xe -/* 80102718 000FF678 40 81 00 0C */ ble lbl_80102724 -lbl_8010271C: -/* 8010271C 000FF67C 38 60 00 00 */ li r3, 0 -/* 80102720 000FF680 4E 80 00 20 */ blr -lbl_80102724: -/* 80102724 000FF684 88 04 00 04 */ lbz r0, 4(r4) -/* 80102728 000FF688 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8010272C 000FF68C 41 82 00 0C */ beq lbl_80102738 -/* 80102730 000FF690 38 60 00 01 */ li r3, 1 -/* 80102734 000FF694 4E 80 00 20 */ blr -lbl_80102738: -/* 80102738 000FF698 54 E8 10 3A */ slwi r8, r7, 2 -/* 8010273C 000FF69C 2C 05 00 00 */ cmpwi r5, 0 -/* 80102740 000FF6A0 7D 43 40 2E */ lwzx r10, r3, r8 -/* 80102744 000FF6A4 40 82 00 58 */ bne lbl_8010279C -/* 80102748 000FF6A8 38 00 00 01 */ li r0, 1 -/* 8010274C 000FF6AC 20 CA 00 01 */ subfic r6, r10, 1 -/* 80102750 000FF6B0 7C 09 53 38 */ orc r9, r0, r10 -/* 80102754 000FF6B4 54 C6 F8 7E */ srwi r6, r6, 1 -/* 80102758 000FF6B8 7C 0B 03 78 */ mr r11, r0 -/* 8010275C 000FF6BC 7C C6 48 50 */ subf r6, r6, r9 -/* 80102760 000FF6C0 7C 09 03 78 */ mr r9, r0 -/* 80102764 000FF6C4 54 C6 0F FF */ rlwinm. r6, r6, 1, 0x1f, 0x1f -/* 80102768 000FF6C8 40 82 00 08 */ bne lbl_80102770 -/* 8010276C 000FF6CC 39 20 00 00 */ li r9, 0 -lbl_80102770: -/* 80102770 000FF6D0 55 26 06 3F */ clrlwi. r6, r9, 0x18 -/* 80102774 000FF6D4 40 82 00 10 */ bne lbl_80102784 -/* 80102778 000FF6D8 2C 0A 00 05 */ cmpwi r10, 5 -/* 8010277C 000FF6DC 41 82 00 08 */ beq lbl_80102784 -/* 80102780 000FF6E0 39 60 00 00 */ li r11, 0 -lbl_80102784: -/* 80102784 000FF6E4 55 66 06 3F */ clrlwi. r6, r11, 0x18 -/* 80102788 000FF6E8 40 82 00 34 */ bne lbl_801027BC -/* 8010278C 000FF6EC 2C 0A 00 06 */ cmpwi r10, 6 -/* 80102790 000FF6F0 41 82 00 2C */ beq lbl_801027BC -/* 80102794 000FF6F4 38 00 00 00 */ li r0, 0 -/* 80102798 000FF6F8 48 00 00 24 */ b lbl_801027BC -lbl_8010279C: -/* 8010279C 000FF6FC 20 CA 00 01 */ subfic r6, r10, 1 -/* 801027A0 000FF700 38 00 00 01 */ li r0, 1 -/* 801027A4 000FF704 7C 09 53 38 */ orc r9, r0, r10 -/* 801027A8 000FF708 54 C6 F8 7E */ srwi r6, r6, 1 -/* 801027AC 000FF70C 7C C6 48 50 */ subf r6, r6, r9 -/* 801027B0 000FF710 54 C6 0F FF */ rlwinm. r6, r6, 1, 0x1f, 0x1f -/* 801027B4 000FF714 40 82 00 08 */ bne lbl_801027BC -/* 801027B8 000FF718 38 00 00 00 */ li r0, 0 -lbl_801027BC: -/* 801027BC 000FF71C 2C 07 00 04 */ cmpwi r7, 4 -/* 801027C0 000FF720 40 80 00 8C */ bge lbl_8010284C -/* 801027C4 000FF724 7C C3 42 14 */ add r6, r3, r8 -/* 801027C8 000FF728 2C 05 00 00 */ cmpwi r5, 0 -/* 801027CC 000FF72C 81 66 00 3C */ lwz r11, 0x3c(r6) -/* 801027D0 000FF730 40 82 00 58 */ bne lbl_80102828 -/* 801027D4 000FF734 38 C0 00 01 */ li r6, 1 -/* 801027D8 000FF738 21 2B 00 01 */ subfic r9, r11, 1 -/* 801027DC 000FF73C 7C CA 5B 38 */ orc r10, r6, r11 -/* 801027E0 000FF740 55 29 F8 7E */ srwi r9, r9, 1 -/* 801027E4 000FF744 7C CC 33 78 */ mr r12, r6 -/* 801027E8 000FF748 7D 29 50 50 */ subf r9, r9, r10 -/* 801027EC 000FF74C 7C CA 33 78 */ mr r10, r6 -/* 801027F0 000FF750 55 29 0F FF */ rlwinm. r9, r9, 1, 0x1f, 0x1f -/* 801027F4 000FF754 40 82 00 08 */ bne lbl_801027FC -/* 801027F8 000FF758 39 40 00 00 */ li r10, 0 -lbl_801027FC: -/* 801027FC 000FF75C 55 49 06 3F */ clrlwi. r9, r10, 0x18 -/* 80102800 000FF760 40 82 00 10 */ bne lbl_80102810 -/* 80102804 000FF764 2C 0B 00 05 */ cmpwi r11, 5 -/* 80102808 000FF768 41 82 00 08 */ beq lbl_80102810 -/* 8010280C 000FF76C 39 80 00 00 */ li r12, 0 -lbl_80102810: -/* 80102810 000FF770 55 89 06 3F */ clrlwi. r9, r12, 0x18 -/* 80102814 000FF774 40 82 00 3C */ bne lbl_80102850 -/* 80102818 000FF778 2C 0B 00 06 */ cmpwi r11, 6 -/* 8010281C 000FF77C 41 82 00 34 */ beq lbl_80102850 -/* 80102820 000FF780 38 C0 00 00 */ li r6, 0 -/* 80102824 000FF784 48 00 00 2C */ b lbl_80102850 -lbl_80102828: -/* 80102828 000FF788 21 2B 00 01 */ subfic r9, r11, 1 -/* 8010282C 000FF78C 38 C0 00 01 */ li r6, 1 -/* 80102830 000FF790 7C CA 5B 38 */ orc r10, r6, r11 -/* 80102834 000FF794 55 29 F8 7E */ srwi r9, r9, 1 -/* 80102838 000FF798 7D 29 50 50 */ subf r9, r9, r10 -/* 8010283C 000FF79C 55 29 0F FF */ rlwinm. r9, r9, 1, 0x1f, 0x1f -/* 80102840 000FF7A0 40 82 00 10 */ bne lbl_80102850 -/* 80102844 000FF7A4 38 C0 00 00 */ li r6, 0 -/* 80102848 000FF7A8 48 00 00 08 */ b lbl_80102850 -lbl_8010284C: -/* 8010284C 000FF7AC 38 C0 00 01 */ li r6, 1 -lbl_80102850: -/* 80102850 000FF7B0 2C 07 00 04 */ cmpwi r7, 4 -/* 80102854 000FF7B4 40 80 00 8C */ bge lbl_801028E0 -/* 80102858 000FF7B8 7C 63 42 14 */ add r3, r3, r8 -/* 8010285C 000FF7BC 2C 05 00 00 */ cmpwi r5, 0 -/* 80102860 000FF7C0 81 03 00 4C */ lwz r8, 0x4c(r3) -/* 80102864 000FF7C4 40 82 00 58 */ bne lbl_801028BC -/* 80102868 000FF7C8 38 A0 00 01 */ li r5, 1 -/* 8010286C 000FF7CC 20 68 00 01 */ subfic r3, r8, 1 -/* 80102870 000FF7D0 7C A7 43 38 */ orc r7, r5, r8 -/* 80102874 000FF7D4 54 63 F8 7E */ srwi r3, r3, 1 -/* 80102878 000FF7D8 7C A9 2B 78 */ mr r9, r5 -/* 8010287C 000FF7DC 7C 63 38 50 */ subf r3, r3, r7 -/* 80102880 000FF7E0 7C A7 2B 78 */ mr r7, r5 -/* 80102884 000FF7E4 54 63 0F FF */ rlwinm. r3, r3, 1, 0x1f, 0x1f -/* 80102888 000FF7E8 40 82 00 08 */ bne lbl_80102890 -/* 8010288C 000FF7EC 38 E0 00 00 */ li r7, 0 -lbl_80102890: -/* 80102890 000FF7F0 54 E3 06 3F */ clrlwi. r3, r7, 0x18 -/* 80102894 000FF7F4 40 82 00 10 */ bne lbl_801028A4 -/* 80102898 000FF7F8 2C 08 00 05 */ cmpwi r8, 5 -/* 8010289C 000FF7FC 41 82 00 08 */ beq lbl_801028A4 -/* 801028A0 000FF800 39 20 00 00 */ li r9, 0 -lbl_801028A4: -/* 801028A4 000FF804 55 23 06 3F */ clrlwi. r3, r9, 0x18 -/* 801028A8 000FF808 40 82 00 3C */ bne lbl_801028E4 -/* 801028AC 000FF80C 2C 08 00 06 */ cmpwi r8, 6 -/* 801028B0 000FF810 41 82 00 34 */ beq lbl_801028E4 -/* 801028B4 000FF814 38 A0 00 00 */ li r5, 0 -/* 801028B8 000FF818 48 00 00 2C */ b lbl_801028E4 -lbl_801028BC: -/* 801028BC 000FF81C 20 68 00 01 */ subfic r3, r8, 1 -/* 801028C0 000FF820 38 A0 00 01 */ li r5, 1 -/* 801028C4 000FF824 7C A7 43 38 */ orc r7, r5, r8 -/* 801028C8 000FF828 54 63 F8 7E */ srwi r3, r3, 1 -/* 801028CC 000FF82C 7C 63 38 50 */ subf r3, r3, r7 -/* 801028D0 000FF830 54 63 0F FF */ rlwinm. r3, r3, 1, 0x1f, 0x1f -/* 801028D4 000FF834 40 82 00 10 */ bne lbl_801028E4 -/* 801028D8 000FF838 38 A0 00 00 */ li r5, 0 -/* 801028DC 000FF83C 48 00 00 08 */ b lbl_801028E4 -lbl_801028E0: -/* 801028E0 000FF840 38 A0 00 01 */ li r5, 1 -lbl_801028E4: -/* 801028E4 000FF844 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 801028E8 000FF848 38 60 00 00 */ li r3, 0 -/* 801028EC 000FF84C 41 82 00 18 */ beq lbl_80102904 -/* 801028F0 000FF850 88 E4 00 04 */ lbz r7, 4(r4) -/* 801028F4 000FF854 54 E0 CF FF */ rlwinm. r0, r7, 0x19, 0x1f, 0x1f -/* 801028F8 000FF858 40 82 00 0C */ bne lbl_80102904 -/* 801028FC 000FF85C 54 E0 D7 FF */ rlwinm. r0, r7, 0x1a, 0x1f, 0x1f -/* 80102900 000FF860 41 82 00 2C */ beq lbl_8010292C -lbl_80102904: -/* 80102904 000FF864 54 C0 06 3F */ clrlwi. r0, r6, 0x18 -/* 80102908 000FF868 41 82 00 10 */ beq lbl_80102918 -/* 8010290C 000FF86C 88 04 00 04 */ lbz r0, 4(r4) -/* 80102910 000FF870 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80102914 000FF874 40 82 00 18 */ bne lbl_8010292C -lbl_80102918: -/* 80102918 000FF878 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8010291C 000FF87C 4D 82 00 20 */ beqlr -/* 80102920 000FF880 88 04 00 04 */ lbz r0, 4(r4) -/* 80102924 000FF884 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80102928 000FF888 4D 82 00 20 */ beqlr -lbl_8010292C: -/* 8010292C 000FF88C 38 60 00 01 */ li r3, 1 -/* 80102930 000FF890 4E 80 00 20 */ blr - -.global __ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType -__ct__20CDamageVulnerabilityF14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability14EVulnerability15EDeflectionType: -/* 80102934 000FF894 90 83 00 00 */ stw r4, 0(r3) -/* 80102938 000FF898 80 01 00 08 */ lwz r0, 8(r1) -/* 8010293C 000FF89C 90 A3 00 04 */ stw r5, 4(r3) -/* 80102940 000FF8A0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 80102944 000FF8A4 90 C3 00 08 */ stw r6, 8(r3) -/* 80102948 000FF8A8 81 81 00 10 */ lwz r12, 0x10(r1) -/* 8010294C 000FF8AC 90 E3 00 0C */ stw r7, 0xc(r3) -/* 80102950 000FF8B0 81 61 00 14 */ lwz r11, 0x14(r1) -/* 80102954 000FF8B4 91 03 00 10 */ stw r8, 0x10(r3) -/* 80102958 000FF8B8 80 E1 00 18 */ lwz r7, 0x18(r1) -/* 8010295C 000FF8BC 91 23 00 14 */ stw r9, 0x14(r3) -/* 80102960 000FF8C0 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80102964 000FF8C4 91 43 00 18 */ stw r10, 0x18(r3) -/* 80102968 000FF8C8 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8010296C 000FF8CC 90 03 00 1C */ stw r0, 0x1c(r3) -/* 80102970 000FF8D0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80102974 000FF8D4 90 83 00 20 */ stw r4, 0x20(r3) -/* 80102978 000FF8D8 80 81 00 28 */ lwz r4, 0x28(r1) -/* 8010297C 000FF8DC 91 83 00 24 */ stw r12, 0x24(r3) -/* 80102980 000FF8E0 91 63 00 28 */ stw r11, 0x28(r3) -/* 80102984 000FF8E4 90 E3 00 2C */ stw r7, 0x2c(r3) -/* 80102988 000FF8E8 90 C3 00 30 */ stw r6, 0x30(r3) -/* 8010298C 000FF8EC 90 A3 00 34 */ stw r5, 0x34(r3) -/* 80102990 000FF8F0 90 03 00 38 */ stw r0, 0x38(r3) -/* 80102994 000FF8F4 80 03 00 00 */ lwz r0, 0(r3) -/* 80102998 000FF8F8 90 03 00 3C */ stw r0, 0x3c(r3) -/* 8010299C 000FF8FC 80 03 00 00 */ lwz r0, 0(r3) -/* 801029A0 000FF900 90 03 00 4C */ stw r0, 0x4c(r3) -/* 801029A4 000FF904 80 03 00 04 */ lwz r0, 4(r3) -/* 801029A8 000FF908 90 03 00 40 */ stw r0, 0x40(r3) -/* 801029AC 000FF90C 80 03 00 04 */ lwz r0, 4(r3) -/* 801029B0 000FF910 90 03 00 50 */ stw r0, 0x50(r3) -/* 801029B4 000FF914 80 03 00 08 */ lwz r0, 8(r3) -/* 801029B8 000FF918 90 03 00 44 */ stw r0, 0x44(r3) -/* 801029BC 000FF91C 80 03 00 08 */ lwz r0, 8(r3) -/* 801029C0 000FF920 90 03 00 54 */ stw r0, 0x54(r3) -/* 801029C4 000FF924 80 03 00 0C */ lwz r0, 0xc(r3) -/* 801029C8 000FF928 90 03 00 48 */ stw r0, 0x48(r3) -/* 801029CC 000FF92C 80 03 00 0C */ lwz r0, 0xc(r3) -/* 801029D0 000FF930 90 03 00 58 */ stw r0, 0x58(r3) -/* 801029D4 000FF934 90 83 00 5C */ stw r4, 0x5c(r3) -/* 801029D8 000FF938 4E 80 00 20 */ blr - -.global LoadData__20CDamageVulnerabilityFR12CInputStreami -LoadData__20CDamageVulnerabilityFR12CInputStreami: -/* 801029DC 000FF93C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801029E0 000FF940 7C 08 02 A6 */ mflr r0 -/* 801029E4 000FF944 38 A5 FF FD */ addi r5, r5, -3 -/* 801029E8 000FF948 90 01 00 34 */ stw r0, 0x34(r1) -/* 801029EC 000FF94C 38 00 00 0F */ li r0, 0xf -/* 801029F0 000FF950 2C 05 00 0F */ cmpwi r5, 0xf -/* 801029F4 000FF954 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 801029F8 000FF958 7C 7E 1B 78 */ mr r30, r3 -/* 801029FC 000FF95C 7C 9F 23 78 */ mr r31, r4 -/* 80102A00 000FF960 38 61 00 0C */ addi r3, r1, 0xc -/* 80102A04 000FF964 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80102A08 000FF968 90 01 00 08 */ stw r0, 8(r1) -/* 80102A0C 000FF96C 40 81 00 08 */ ble lbl_80102A14 -/* 80102A10 000FF970 38 61 00 08 */ addi r3, r1, 8 -lbl_80102A14: -/* 80102A14 000FF974 83 83 00 00 */ lwz r28, 0(r3) -/* 80102A18 000FF978 7F DD F3 78 */ mr r29, r30 -/* 80102A1C 000FF97C 3B 60 00 00 */ li r27, 0 -/* 80102A20 000FF980 48 00 00 18 */ b lbl_80102A38 -lbl_80102A24: -/* 80102A24 000FF984 7F E3 FB 78 */ mr r3, r31 -/* 80102A28 000FF988 48 23 C2 5D */ bl ReadLong__12CInputStreamFv -/* 80102A2C 000FF98C 90 7D 00 00 */ stw r3, 0(r29) -/* 80102A30 000FF990 3B BD 00 04 */ addi r29, r29, 4 -/* 80102A34 000FF994 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80102A38: -/* 80102A38 000FF998 7C 1B E0 00 */ cmpw r27, r28 -/* 80102A3C 000FF99C 41 80 FF E8 */ blt lbl_80102A24 -/* 80102A40 000FF9A0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80102A44 000FF9A4 38 80 00 02 */ li r4, 2 -/* 80102A48 000FF9A8 2C 03 00 0F */ cmpwi r3, 0xf -/* 80102A4C 000FF9AC 54 60 10 3A */ slwi r0, r3, 2 -/* 80102A50 000FF9B0 7C BE 02 14 */ add r5, r30, r0 -/* 80102A54 000FF9B4 20 63 00 0F */ subfic r3, r3, 0xf -/* 80102A58 000FF9B8 40 80 00 50 */ bge lbl_80102AA8 -/* 80102A5C 000FF9BC 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f -/* 80102A60 000FF9C0 7C 09 03 A6 */ mtctr r0 -/* 80102A64 000FF9C4 41 82 00 34 */ beq lbl_80102A98 -lbl_80102A68: -/* 80102A68 000FF9C8 90 85 00 00 */ stw r4, 0(r5) -/* 80102A6C 000FF9CC 90 85 00 04 */ stw r4, 4(r5) -/* 80102A70 000FF9D0 90 85 00 08 */ stw r4, 8(r5) -/* 80102A74 000FF9D4 90 85 00 0C */ stw r4, 0xc(r5) -/* 80102A78 000FF9D8 90 85 00 10 */ stw r4, 0x10(r5) -/* 80102A7C 000FF9DC 90 85 00 14 */ stw r4, 0x14(r5) -/* 80102A80 000FF9E0 90 85 00 18 */ stw r4, 0x18(r5) -/* 80102A84 000FF9E4 90 85 00 1C */ stw r4, 0x1c(r5) -/* 80102A88 000FF9E8 38 A5 00 20 */ addi r5, r5, 0x20 -/* 80102A8C 000FF9EC 42 00 FF DC */ bdnz lbl_80102A68 -/* 80102A90 000FF9F0 70 63 00 07 */ andi. r3, r3, 7 -/* 80102A94 000FF9F4 41 82 00 14 */ beq lbl_80102AA8 -lbl_80102A98: -/* 80102A98 000FF9F8 7C 69 03 A6 */ mtctr r3 -lbl_80102A9C: -/* 80102A9C 000FF9FC 90 85 00 00 */ stw r4, 0(r5) -/* 80102AA0 000FFA00 38 A5 00 04 */ addi r5, r5, 4 -/* 80102AA4 000FFA04 42 00 FF F8 */ bdnz lbl_80102A9C -lbl_80102AA8: -/* 80102AA8 000FFA08 3B 60 00 0F */ li r27, 0xf -/* 80102AAC 000FFA0C 48 00 00 10 */ b lbl_80102ABC -lbl_80102AB0: -/* 80102AB0 000FFA10 7F E3 FB 78 */ mr r3, r31 -/* 80102AB4 000FFA14 48 23 C1 D1 */ bl ReadLong__12CInputStreamFv -/* 80102AB8 000FFA18 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80102ABC: -/* 80102ABC 000FFA1C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80102AC0 000FFA20 7C 1B 00 00 */ cmpw r27, r0 -/* 80102AC4 000FFA24 41 80 FF EC */ blt lbl_80102AB0 -/* 80102AC8 000FFA28 7F E3 FB 78 */ mr r3, r31 -/* 80102ACC 000FFA2C 48 23 C1 B9 */ bl ReadLong__12CInputStreamFv -/* 80102AD0 000FFA30 90 7E 00 5C */ stw r3, 0x5c(r30) -/* 80102AD4 000FFA34 7F E3 FB 78 */ mr r3, r31 -/* 80102AD8 000FFA38 48 23 C1 AD */ bl ReadLong__12CInputStreamFv -/* 80102ADC 000FFA3C 3B 60 00 00 */ li r27, 0 -/* 80102AE0 000FFA40 7F DD F3 78 */ mr r29, r30 -lbl_80102AE4: -/* 80102AE4 000FFA44 7F E3 FB 78 */ mr r3, r31 -/* 80102AE8 000FFA48 48 23 C1 9D */ bl ReadLong__12CInputStreamFv -/* 80102AEC 000FFA4C 3B 7B 00 01 */ addi r27, r27, 1 -/* 80102AF0 000FFA50 90 7D 00 3C */ stw r3, 0x3c(r29) -/* 80102AF4 000FFA54 2C 1B 00 04 */ cmpwi r27, 4 -/* 80102AF8 000FFA58 3B BD 00 04 */ addi r29, r29, 4 -/* 80102AFC 000FFA5C 41 80 FF E8 */ blt lbl_80102AE4 -/* 80102B00 000FFA60 7F E3 FB 78 */ mr r3, r31 -/* 80102B04 000FFA64 48 23 C1 81 */ bl ReadLong__12CInputStreamFv -/* 80102B08 000FFA68 90 7E 00 60 */ stw r3, 0x60(r30) -/* 80102B0C 000FFA6C 7F E3 FB 78 */ mr r3, r31 -/* 80102B10 000FFA70 48 23 C1 75 */ bl ReadLong__12CInputStreamFv -/* 80102B14 000FFA74 3B 60 00 00 */ li r27, 0 -/* 80102B18 000FFA78 7F DD F3 78 */ mr r29, r30 -lbl_80102B1C: -/* 80102B1C 000FFA7C 7F E3 FB 78 */ mr r3, r31 -/* 80102B20 000FFA80 48 23 C1 65 */ bl ReadLong__12CInputStreamFv -/* 80102B24 000FFA84 3B 7B 00 01 */ addi r27, r27, 1 -/* 80102B28 000FFA88 90 7D 00 4C */ stw r3, 0x4c(r29) -/* 80102B2C 000FFA8C 2C 1B 00 04 */ cmpwi r27, 4 -/* 80102B30 000FFA90 3B BD 00 04 */ addi r29, r29, 4 -/* 80102B34 000FFA94 41 80 FF E8 */ blt lbl_80102B1C -/* 80102B38 000FFA98 7F E3 FB 78 */ mr r3, r31 -/* 80102B3C 000FFA9C 48 23 C1 49 */ bl ReadLong__12CInputStreamFv -/* 80102B40 000FFAA0 90 7E 00 64 */ stw r3, 0x64(r30) -/* 80102B44 000FFAA4 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80102B48 000FFAA8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80102B4C 000FFAAC 7C 08 03 A6 */ mtlr r0 -/* 80102B50 000FFAB0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80102B54 000FFAB4 4E 80 00 20 */ blr - -.global __ct__20CDamageVulnerabilityFR12CInputStream -__ct__20CDamageVulnerabilityFR12CInputStream: -/* 80102B58 000FFAB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80102B5C 000FFABC 7C 08 02 A6 */ mflr r0 -/* 80102B60 000FFAC0 3C A0 80 57 */ lis r5, lbl_80570004@ha -/* 80102B64 000FFAC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80102B68 000FFAC8 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80102B6C 000FFACC 7C 9F 23 78 */ mr r31, r4 -/* 80102B70 000FFAD0 7C 7E 1B 78 */ mr r30, r3 -/* 80102B74 000FFAD4 7F E3 FB 78 */ mr r3, r31 -/* 80102B78 000FFAD8 84 85 D7 18 */ lwzu r4, -0x28e8(r5) -/* 80102B7C 000FFADC 80 05 00 04 */ lwz r0, lbl_80570004@l(r5) -/* 80102B80 000FFAE0 90 9E 00 00 */ stw r4, 0(r30) -/* 80102B84 000FFAE4 90 1E 00 04 */ stw r0, 4(r30) -/* 80102B88 000FFAE8 80 85 00 08 */ lwz r4, 8(r5) -/* 80102B8C 000FFAEC 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80102B90 000FFAF0 90 9E 00 08 */ stw r4, 8(r30) -/* 80102B94 000FFAF4 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80102B98 000FFAF8 80 85 00 10 */ lwz r4, 0x10(r5) -/* 80102B9C 000FFAFC 80 05 00 14 */ lwz r0, 0x14(r5) -/* 80102BA0 000FFB00 90 9E 00 10 */ stw r4, 0x10(r30) -/* 80102BA4 000FFB04 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80102BA8 000FFB08 80 85 00 18 */ lwz r4, 0x18(r5) -/* 80102BAC 000FFB0C 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80102BB0 000FFB10 90 9E 00 18 */ stw r4, 0x18(r30) -/* 80102BB4 000FFB14 90 1E 00 1C */ stw r0, 0x1c(r30) -/* 80102BB8 000FFB18 80 85 00 20 */ lwz r4, 0x20(r5) -/* 80102BBC 000FFB1C 80 05 00 24 */ lwz r0, 0x24(r5) -/* 80102BC0 000FFB20 90 9E 00 20 */ stw r4, 0x20(r30) -/* 80102BC4 000FFB24 90 1E 00 24 */ stw r0, 0x24(r30) -/* 80102BC8 000FFB28 80 85 00 28 */ lwz r4, 0x28(r5) -/* 80102BCC 000FFB2C 80 05 00 2C */ lwz r0, 0x2c(r5) -/* 80102BD0 000FFB30 90 9E 00 28 */ stw r4, 0x28(r30) -/* 80102BD4 000FFB34 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 80102BD8 000FFB38 80 85 00 30 */ lwz r4, 0x30(r5) -/* 80102BDC 000FFB3C 80 05 00 34 */ lwz r0, 0x34(r5) -/* 80102BE0 000FFB40 90 9E 00 30 */ stw r4, 0x30(r30) -/* 80102BE4 000FFB44 90 1E 00 34 */ stw r0, 0x34(r30) -/* 80102BE8 000FFB48 80 05 00 38 */ lwz r0, 0x38(r5) -/* 80102BEC 000FFB4C 90 1E 00 38 */ stw r0, 0x38(r30) -/* 80102BF0 000FFB50 80 85 00 3C */ lwz r4, 0x3c(r5) -/* 80102BF4 000FFB54 80 05 00 40 */ lwz r0, 0x40(r5) -/* 80102BF8 000FFB58 90 9E 00 3C */ stw r4, 0x3c(r30) -/* 80102BFC 000FFB5C 90 1E 00 40 */ stw r0, 0x40(r30) -/* 80102C00 000FFB60 80 85 00 44 */ lwz r4, 0x44(r5) -/* 80102C04 000FFB64 80 05 00 48 */ lwz r0, 0x48(r5) -/* 80102C08 000FFB68 90 9E 00 44 */ stw r4, 0x44(r30) -/* 80102C0C 000FFB6C 90 1E 00 48 */ stw r0, 0x48(r30) -/* 80102C10 000FFB70 80 85 00 4C */ lwz r4, 0x4c(r5) -/* 80102C14 000FFB74 80 05 00 50 */ lwz r0, 0x50(r5) -/* 80102C18 000FFB78 90 9E 00 4C */ stw r4, 0x4c(r30) -/* 80102C1C 000FFB7C 90 1E 00 50 */ stw r0, 0x50(r30) -/* 80102C20 000FFB80 80 85 00 54 */ lwz r4, 0x54(r5) -/* 80102C24 000FFB84 80 05 00 58 */ lwz r0, 0x58(r5) -/* 80102C28 000FFB88 90 9E 00 54 */ stw r4, 0x54(r30) -/* 80102C2C 000FFB8C 90 1E 00 58 */ stw r0, 0x58(r30) -/* 80102C30 000FFB90 80 05 00 5C */ lwz r0, 0x5c(r5) -/* 80102C34 000FFB94 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 80102C38 000FFB98 80 05 00 60 */ lwz r0, 0x60(r5) -/* 80102C3C 000FFB9C 90 1E 00 60 */ stw r0, 0x60(r30) -/* 80102C40 000FFBA0 80 05 00 64 */ lwz r0, 0x64(r5) -/* 80102C44 000FFBA4 90 1E 00 64 */ stw r0, 0x64(r30) -/* 80102C48 000FFBA8 48 23 C0 3D */ bl ReadLong__12CInputStreamFv -/* 80102C4C 000FFBAC 7C 7C 1B 78 */ mr r28, r3 -/* 80102C50 000FFBB0 2C 1C 00 0B */ cmpwi r28, 0xb -/* 80102C54 000FFBB4 40 82 00 8C */ bne lbl_80102CE0 -/* 80102C58 000FFBB8 3B A0 00 00 */ li r29, 0 -/* 80102C5C 000FFBBC 7F DB F3 78 */ mr r27, r30 -lbl_80102C60: -/* 80102C60 000FFBC0 7F E3 FB 78 */ mr r3, r31 -/* 80102C64 000FFBC4 48 23 C0 21 */ bl ReadLong__12CInputStreamFv -/* 80102C68 000FFBC8 3B BD 00 01 */ addi r29, r29, 1 -/* 80102C6C 000FFBCC 90 7B 00 00 */ stw r3, 0(r27) -/* 80102C70 000FFBD0 2C 1D 00 0F */ cmpwi r29, 0xf -/* 80102C74 000FFBD4 3B 7B 00 04 */ addi r27, r27, 4 -/* 80102C78 000FFBD8 41 80 FF E8 */ blt lbl_80102C60 -/* 80102C7C 000FFBDC 2C 1C 00 0F */ cmpwi r28, 0xf -/* 80102C80 000FFBE0 40 82 00 10 */ bne lbl_80102C90 -/* 80102C84 000FFBE4 38 00 00 00 */ li r0, 0 -/* 80102C88 000FFBE8 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 80102C8C 000FFBEC 48 00 00 10 */ b lbl_80102C9C -lbl_80102C90: -/* 80102C90 000FFBF0 7F E3 FB 78 */ mr r3, r31 -/* 80102C94 000FFBF4 48 23 BF F1 */ bl ReadLong__12CInputStreamFv -/* 80102C98 000FFBF8 90 7E 00 5C */ stw r3, 0x5c(r30) -lbl_80102C9C: -/* 80102C9C 000FFBFC 80 1E 00 00 */ lwz r0, 0(r30) -/* 80102CA0 000FFC00 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 80102CA4 000FFC04 80 1E 00 00 */ lwz r0, 0(r30) -/* 80102CA8 000FFC08 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 80102CAC 000FFC0C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80102CB0 000FFC10 90 1E 00 40 */ stw r0, 0x40(r30) -/* 80102CB4 000FFC14 80 1E 00 04 */ lwz r0, 4(r30) -/* 80102CB8 000FFC18 90 1E 00 50 */ stw r0, 0x50(r30) -/* 80102CBC 000FFC1C 80 1E 00 08 */ lwz r0, 8(r30) -/* 80102CC0 000FFC20 90 1E 00 44 */ stw r0, 0x44(r30) -/* 80102CC4 000FFC24 80 1E 00 08 */ lwz r0, 8(r30) -/* 80102CC8 000FFC28 90 1E 00 54 */ stw r0, 0x54(r30) -/* 80102CCC 000FFC2C 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80102CD0 000FFC30 90 1E 00 48 */ stw r0, 0x48(r30) -/* 80102CD4 000FFC34 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80102CD8 000FFC38 90 1E 00 58 */ stw r0, 0x58(r30) -/* 80102CDC 000FFC3C 48 00 00 14 */ b lbl_80102CF0 -lbl_80102CE0: -/* 80102CE0 000FFC40 7F C3 F3 78 */ mr r3, r30 -/* 80102CE4 000FFC44 7F E4 FB 78 */ mr r4, r31 -/* 80102CE8 000FFC48 7F 85 E3 78 */ mr r5, r28 -/* 80102CEC 000FFC4C 4B FF FC F1 */ bl LoadData__20CDamageVulnerabilityFR12CInputStreami -lbl_80102CF0: -/* 80102CF0 000FFC50 7F C3 F3 78 */ mr r3, r30 -/* 80102CF4 000FFC54 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80102CF8 000FFC58 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80102CFC 000FFC5C 7C 08 03 A6 */ mtlr r0 -/* 80102D00 000FFC60 38 21 00 20 */ addi r1, r1, 0x20 -/* 80102D04 000FFC64 4E 80 00 20 */ blr - -.global __sinit_CDamageVulnerability_cpp -__sinit_CDamageVulnerability_cpp: -/* 80102D08 000FFC68 3C 60 80 57 */ lis r3, lbl_8056D578@ha -/* 80102D0C 000FFC6C 94 21 FE 50 */ stwu r1, -0x1b0(r1) -/* 80102D10 000FFC70 39 60 00 01 */ li r11, 1 -/* 80102D14 000FFC74 39 40 00 00 */ li r10, 0 -/* 80102D18 000FFC78 38 C3 D5 78 */ addi r6, r3, lbl_8056D578@l -/* 80102D1C 000FFC7C 91 61 01 40 */ stw r11, 0x140(r1) -/* 80102D20 000FFC80 91 61 01 44 */ stw r11, 0x144(r1) -/* 80102D24 000FFC84 91 61 01 48 */ stw r11, 0x148(r1) -/* 80102D28 000FFC88 91 61 01 4C */ stw r11, 0x14c(r1) -/* 80102D2C 000FFC8C 91 61 01 50 */ stw r11, 0x150(r1) -/* 80102D30 000FFC90 91 61 01 54 */ stw r11, 0x154(r1) -/* 80102D34 000FFC94 91 61 01 58 */ stw r11, 0x158(r1) -/* 80102D38 000FFC98 91 61 01 5C */ stw r11, 0x15c(r1) -/* 80102D3C 000FFC9C 91 61 01 60 */ stw r11, 0x160(r1) -/* 80102D40 000FFCA0 91 61 01 64 */ stw r11, 0x164(r1) -/* 80102D44 000FFCA4 91 61 01 68 */ stw r11, 0x168(r1) -/* 80102D48 000FFCA8 91 61 01 6C */ stw r11, 0x16c(r1) -/* 80102D4C 000FFCAC 91 61 01 70 */ stw r11, 0x170(r1) -/* 80102D50 000FFCB0 91 61 01 74 */ stw r11, 0x174(r1) -/* 80102D54 000FFCB4 91 61 01 78 */ stw r11, 0x178(r1) -/* 80102D58 000FFCB8 91 61 01 7C */ stw r11, 0x17c(r1) -/* 80102D5C 000FFCBC 91 61 01 8C */ stw r11, 0x18c(r1) -/* 80102D60 000FFCC0 91 61 01 80 */ stw r11, 0x180(r1) -/* 80102D64 000FFCC4 91 61 01 90 */ stw r11, 0x190(r1) -/* 80102D68 000FFCC8 91 61 01 84 */ stw r11, 0x184(r1) -/* 80102D6C 000FFCCC 91 61 01 94 */ stw r11, 0x194(r1) -/* 80102D70 000FFCD0 91 61 01 88 */ stw r11, 0x188(r1) -/* 80102D74 000FFCD4 91 61 01 98 */ stw r11, 0x198(r1) -/* 80102D78 000FFCD8 91 41 01 9C */ stw r10, 0x19c(r1) -/* 80102D7C 000FFCDC 91 66 00 00 */ stw r11, 0(r6) -/* 80102D80 000FFCE0 91 66 00 04 */ stw r11, 4(r6) -/* 80102D84 000FFCE4 91 66 00 08 */ stw r11, 8(r6) -/* 80102D88 000FFCE8 91 66 00 0C */ stw r11, 0xc(r6) -/* 80102D8C 000FFCEC 91 66 00 10 */ stw r11, 0x10(r6) -/* 80102D90 000FFCF0 91 66 00 14 */ stw r11, 0x14(r6) -/* 80102D94 000FFCF4 91 66 00 18 */ stw r11, 0x18(r6) -/* 80102D98 000FFCF8 91 66 00 1C */ stw r11, 0x1c(r6) -/* 80102D9C 000FFCFC 91 66 00 20 */ stw r11, 0x20(r6) -/* 80102DA0 000FFD00 91 66 00 24 */ stw r11, 0x24(r6) -/* 80102DA4 000FFD04 91 66 00 28 */ stw r11, 0x28(r6) -/* 80102DA8 000FFD08 91 66 00 2C */ stw r11, 0x2c(r6) -/* 80102DAC 000FFD0C 91 66 00 30 */ stw r11, 0x30(r6) -/* 80102DB0 000FFD10 91 66 00 34 */ stw r11, 0x34(r6) -/* 80102DB4 000FFD14 91 66 00 38 */ stw r11, 0x38(r6) -/* 80102DB8 000FFD18 91 66 00 3C */ stw r11, 0x3c(r6) -/* 80102DBC 000FFD1C 91 66 00 40 */ stw r11, 0x40(r6) -/* 80102DC0 000FFD20 91 66 00 44 */ stw r11, 0x44(r6) -/* 80102DC4 000FFD24 91 66 00 48 */ stw r11, 0x48(r6) -/* 80102DC8 000FFD28 91 66 00 4C */ stw r11, 0x4c(r6) -/* 80102DCC 000FFD2C 91 66 00 50 */ stw r11, 0x50(r6) -/* 80102DD0 000FFD30 91 66 00 54 */ stw r11, 0x54(r6) -/* 80102DD4 000FFD34 91 66 00 58 */ stw r11, 0x58(r6) -/* 80102DD8 000FFD38 80 81 01 A0 */ lwz r4, 0x1a0(r1) -/* 80102DDC 000FFD3C 3C 60 80 57 */ lis r3, lbl_8056D718@ha -/* 80102DE0 000FFD40 39 20 00 02 */ li r9, 2 -/* 80102DE4 000FFD44 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 80102DE8 000FFD48 38 A3 D7 18 */ addi r5, r3, lbl_8056D718@l -/* 80102DEC 000FFD4C 91 46 00 5C */ stw r10, 0x5c(r6) -/* 80102DF0 000FFD50 90 86 00 60 */ stw r4, 0x60(r6) -/* 80102DF4 000FFD54 90 06 00 64 */ stw r0, 0x64(r6) -/* 80102DF8 000FFD58 91 21 00 D8 */ stw r9, 0xd8(r1) -/* 80102DFC 000FFD5C 91 21 00 DC */ stw r9, 0xdc(r1) -/* 80102E00 000FFD60 91 21 00 E0 */ stw r9, 0xe0(r1) -/* 80102E04 000FFD64 91 21 00 E4 */ stw r9, 0xe4(r1) -/* 80102E08 000FFD68 91 21 00 E8 */ stw r9, 0xe8(r1) -/* 80102E0C 000FFD6C 91 21 00 EC */ stw r9, 0xec(r1) -/* 80102E10 000FFD70 91 21 00 F0 */ stw r9, 0xf0(r1) -/* 80102E14 000FFD74 91 21 00 F4 */ stw r9, 0xf4(r1) -/* 80102E18 000FFD78 91 21 00 F8 */ stw r9, 0xf8(r1) -/* 80102E1C 000FFD7C 91 21 00 FC */ stw r9, 0xfc(r1) -/* 80102E20 000FFD80 91 21 01 00 */ stw r9, 0x100(r1) -/* 80102E24 000FFD84 91 21 01 04 */ stw r9, 0x104(r1) -/* 80102E28 000FFD88 91 21 01 08 */ stw r9, 0x108(r1) -/* 80102E2C 000FFD8C 91 21 01 0C */ stw r9, 0x10c(r1) -/* 80102E30 000FFD90 91 21 01 10 */ stw r9, 0x110(r1) -/* 80102E34 000FFD94 91 21 01 14 */ stw r9, 0x114(r1) -/* 80102E38 000FFD98 91 21 01 24 */ stw r9, 0x124(r1) -/* 80102E3C 000FFD9C 91 21 01 18 */ stw r9, 0x118(r1) -/* 80102E40 000FFDA0 91 21 01 28 */ stw r9, 0x128(r1) -/* 80102E44 000FFDA4 91 21 01 1C */ stw r9, 0x11c(r1) -/* 80102E48 000FFDA8 91 21 01 2C */ stw r9, 0x12c(r1) -/* 80102E4C 000FFDAC 91 21 01 20 */ stw r9, 0x120(r1) -/* 80102E50 000FFDB0 91 21 01 30 */ stw r9, 0x130(r1) -/* 80102E54 000FFDB4 91 41 01 34 */ stw r10, 0x134(r1) -/* 80102E58 000FFDB8 91 25 00 00 */ stw r9, 0(r5) -/* 80102E5C 000FFDBC 91 25 00 04 */ stw r9, 4(r5) -/* 80102E60 000FFDC0 91 25 00 08 */ stw r9, 8(r5) -/* 80102E64 000FFDC4 91 25 00 0C */ stw r9, 0xc(r5) -/* 80102E68 000FFDC8 91 25 00 10 */ stw r9, 0x10(r5) -/* 80102E6C 000FFDCC 91 25 00 14 */ stw r9, 0x14(r5) -/* 80102E70 000FFDD0 91 25 00 18 */ stw r9, 0x18(r5) -/* 80102E74 000FFDD4 91 25 00 1C */ stw r9, 0x1c(r5) -/* 80102E78 000FFDD8 91 25 00 20 */ stw r9, 0x20(r5) -/* 80102E7C 000FFDDC 91 25 00 24 */ stw r9, 0x24(r5) -/* 80102E80 000FFDE0 91 25 00 28 */ stw r9, 0x28(r5) -/* 80102E84 000FFDE4 91 25 00 2C */ stw r9, 0x2c(r5) -/* 80102E88 000FFDE8 91 25 00 30 */ stw r9, 0x30(r5) -/* 80102E8C 000FFDEC 91 25 00 34 */ stw r9, 0x34(r5) -/* 80102E90 000FFDF0 91 25 00 38 */ stw r9, 0x38(r5) -/* 80102E94 000FFDF4 91 25 00 3C */ stw r9, 0x3c(r5) -/* 80102E98 000FFDF8 91 25 00 40 */ stw r9, 0x40(r5) -/* 80102E9C 000FFDFC 91 25 00 44 */ stw r9, 0x44(r5) -/* 80102EA0 000FFE00 91 25 00 48 */ stw r9, 0x48(r5) -/* 80102EA4 000FFE04 80 81 01 38 */ lwz r4, 0x138(r1) -/* 80102EA8 000FFE08 3C 60 80 57 */ lis r3, lbl_8056D780@ha -/* 80102EAC 000FFE0C 39 03 D7 80 */ addi r8, r3, lbl_8056D780@l -/* 80102EB0 000FFE10 80 01 01 3C */ lwz r0, 0x13c(r1) -/* 80102EB4 000FFE14 91 25 00 4C */ stw r9, 0x4c(r5) -/* 80102EB8 000FFE18 91 25 00 50 */ stw r9, 0x50(r5) -/* 80102EBC 000FFE1C 91 25 00 54 */ stw r9, 0x54(r5) -/* 80102EC0 000FFE20 91 25 00 58 */ stw r9, 0x58(r5) -/* 80102EC4 000FFE24 91 45 00 5C */ stw r10, 0x5c(r5) -/* 80102EC8 000FFE28 90 85 00 60 */ stw r4, 0x60(r5) -/* 80102ECC 000FFE2C 90 05 00 64 */ stw r0, 0x64(r5) -/* 80102ED0 000FFE30 91 21 00 70 */ stw r9, 0x70(r1) -/* 80102ED4 000FFE34 91 21 00 74 */ stw r9, 0x74(r1) -/* 80102ED8 000FFE38 91 21 00 78 */ stw r9, 0x78(r1) -/* 80102EDC 000FFE3C 91 21 00 7C */ stw r9, 0x7c(r1) -/* 80102EE0 000FFE40 91 21 00 80 */ stw r9, 0x80(r1) -/* 80102EE4 000FFE44 91 21 00 84 */ stw r9, 0x84(r1) -/* 80102EE8 000FFE48 91 21 00 88 */ stw r9, 0x88(r1) -/* 80102EEC 000FFE4C 91 21 00 8C */ stw r9, 0x8c(r1) -/* 80102EF0 000FFE50 91 21 00 90 */ stw r9, 0x90(r1) -/* 80102EF4 000FFE54 91 21 00 94 */ stw r9, 0x94(r1) -/* 80102EF8 000FFE58 91 21 00 98 */ stw r9, 0x98(r1) -/* 80102EFC 000FFE5C 91 21 00 9C */ stw r9, 0x9c(r1) -/* 80102F00 000FFE60 91 21 00 A0 */ stw r9, 0xa0(r1) -/* 80102F04 000FFE64 91 21 00 A4 */ stw r9, 0xa4(r1) -/* 80102F08 000FFE68 91 21 00 A8 */ stw r9, 0xa8(r1) -/* 80102F0C 000FFE6C 91 21 00 AC */ stw r9, 0xac(r1) -/* 80102F10 000FFE70 91 21 00 BC */ stw r9, 0xbc(r1) -/* 80102F14 000FFE74 91 21 00 B0 */ stw r9, 0xb0(r1) -/* 80102F18 000FFE78 91 21 00 C0 */ stw r9, 0xc0(r1) -/* 80102F1C 000FFE7C 91 21 00 B4 */ stw r9, 0xb4(r1) -/* 80102F20 000FFE80 91 21 00 C4 */ stw r9, 0xc4(r1) -/* 80102F24 000FFE84 91 21 00 B8 */ stw r9, 0xb8(r1) -/* 80102F28 000FFE88 91 21 00 C8 */ stw r9, 0xc8(r1) -/* 80102F2C 000FFE8C 91 61 00 CC */ stw r11, 0xcc(r1) -/* 80102F30 000FFE90 91 28 00 00 */ stw r9, 0(r8) -/* 80102F34 000FFE94 91 28 00 04 */ stw r9, 4(r8) -/* 80102F38 000FFE98 91 28 00 08 */ stw r9, 8(r8) -/* 80102F3C 000FFE9C 91 28 00 0C */ stw r9, 0xc(r8) -/* 80102F40 000FFEA0 91 28 00 10 */ stw r9, 0x10(r8) -/* 80102F44 000FFEA4 91 28 00 14 */ stw r9, 0x14(r8) -/* 80102F48 000FFEA8 91 28 00 18 */ stw r9, 0x18(r8) -/* 80102F4C 000FFEAC 91 28 00 1C */ stw r9, 0x1c(r8) -/* 80102F50 000FFEB0 91 28 00 20 */ stw r9, 0x20(r8) -/* 80102F54 000FFEB4 91 28 00 24 */ stw r9, 0x24(r8) -/* 80102F58 000FFEB8 91 28 00 28 */ stw r9, 0x28(r8) -/* 80102F5C 000FFEBC 91 28 00 2C */ stw r9, 0x2c(r8) -/* 80102F60 000FFEC0 91 28 00 30 */ stw r9, 0x30(r8) -/* 80102F64 000FFEC4 91 28 00 34 */ stw r9, 0x34(r8) -/* 80102F68 000FFEC8 91 28 00 38 */ stw r9, 0x38(r8) -/* 80102F6C 000FFECC 80 E1 00 D0 */ lwz r7, 0xd0(r1) -/* 80102F70 000FFED0 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha -/* 80102F74 000FFED4 38 A0 00 04 */ li r5, 4 -/* 80102F78 000FFED8 80 C1 00 D4 */ lwz r6, 0xd4(r1) -/* 80102F7C 000FFEDC 38 83 D7 E8 */ addi r4, r3, lbl_8056D7E8@l -/* 80102F80 000FFEE0 80 61 00 68 */ lwz r3, 0x68(r1) -/* 80102F84 000FFEE4 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 80102F88 000FFEE8 91 28 00 3C */ stw r9, 0x3c(r8) -/* 80102F8C 000FFEEC 91 28 00 40 */ stw r9, 0x40(r8) -/* 80102F90 000FFEF0 91 28 00 44 */ stw r9, 0x44(r8) -/* 80102F94 000FFEF4 91 28 00 48 */ stw r9, 0x48(r8) -/* 80102F98 000FFEF8 91 28 00 4C */ stw r9, 0x4c(r8) -/* 80102F9C 000FFEFC 91 28 00 50 */ stw r9, 0x50(r8) -/* 80102FA0 000FFF00 91 28 00 54 */ stw r9, 0x54(r8) -/* 80102FA4 000FFF04 91 28 00 58 */ stw r9, 0x58(r8) -/* 80102FA8 000FFF08 91 68 00 5C */ stw r11, 0x5c(r8) -/* 80102FAC 000FFF0C 90 E8 00 60 */ stw r7, 0x60(r8) -/* 80102FB0 000FFF10 90 C8 00 64 */ stw r6, 0x64(r8) -/* 80102FB4 000FFF14 90 A1 00 08 */ stw r5, 8(r1) -/* 80102FB8 000FFF18 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80102FBC 000FFF1C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80102FC0 000FFF20 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80102FC4 000FFF24 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80102FC8 000FFF28 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80102FCC 000FFF2C 90 A1 00 20 */ stw r5, 0x20(r1) -/* 80102FD0 000FFF30 90 A1 00 24 */ stw r5, 0x24(r1) -/* 80102FD4 000FFF34 90 A1 00 28 */ stw r5, 0x28(r1) -/* 80102FD8 000FFF38 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 80102FDC 000FFF3C 90 A1 00 30 */ stw r5, 0x30(r1) -/* 80102FE0 000FFF40 90 A1 00 34 */ stw r5, 0x34(r1) -/* 80102FE4 000FFF44 90 A1 00 38 */ stw r5, 0x38(r1) -/* 80102FE8 000FFF48 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 80102FEC 000FFF4C 90 A1 00 40 */ stw r5, 0x40(r1) -/* 80102FF0 000FFF50 90 A1 00 44 */ stw r5, 0x44(r1) -/* 80102FF4 000FFF54 90 A1 00 54 */ stw r5, 0x54(r1) -/* 80102FF8 000FFF58 90 A1 00 48 */ stw r5, 0x48(r1) -/* 80102FFC 000FFF5C 90 A1 00 58 */ stw r5, 0x58(r1) -/* 80103000 000FFF60 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 80103004 000FFF64 90 A1 00 5C */ stw r5, 0x5c(r1) -/* 80103008 000FFF68 90 A1 00 50 */ stw r5, 0x50(r1) -/* 8010300C 000FFF6C 90 A1 00 60 */ stw r5, 0x60(r1) -/* 80103010 000FFF70 91 41 00 64 */ stw r10, 0x64(r1) -/* 80103014 000FFF74 90 A4 00 00 */ stw r5, 0(r4) -/* 80103018 000FFF78 90 A4 00 04 */ stw r5, 4(r4) -/* 8010301C 000FFF7C 90 A4 00 08 */ stw r5, 8(r4) -/* 80103020 000FFF80 90 A4 00 0C */ stw r5, 0xc(r4) -/* 80103024 000FFF84 90 A4 00 10 */ stw r5, 0x10(r4) -/* 80103028 000FFF88 90 A4 00 14 */ stw r5, 0x14(r4) -/* 8010302C 000FFF8C 90 A4 00 18 */ stw r5, 0x18(r4) -/* 80103030 000FFF90 90 A4 00 1C */ stw r5, 0x1c(r4) -/* 80103034 000FFF94 90 A4 00 20 */ stw r5, 0x20(r4) -/* 80103038 000FFF98 90 A4 00 24 */ stw r5, 0x24(r4) -/* 8010303C 000FFF9C 90 A4 00 28 */ stw r5, 0x28(r4) -/* 80103040 000FFFA0 90 A4 00 2C */ stw r5, 0x2c(r4) -/* 80103044 000FFFA4 90 A4 00 30 */ stw r5, 0x30(r4) -/* 80103048 000FFFA8 90 A4 00 34 */ stw r5, 0x34(r4) -/* 8010304C 000FFFAC 90 A4 00 38 */ stw r5, 0x38(r4) -/* 80103050 000FFFB0 90 A4 00 3C */ stw r5, 0x3c(r4) -/* 80103054 000FFFB4 90 A4 00 40 */ stw r5, 0x40(r4) -/* 80103058 000FFFB8 90 A4 00 44 */ stw r5, 0x44(r4) -/* 8010305C 000FFFBC 90 A4 00 48 */ stw r5, 0x48(r4) -/* 80103060 000FFFC0 90 A4 00 4C */ stw r5, 0x4c(r4) -/* 80103064 000FFFC4 90 A4 00 50 */ stw r5, 0x50(r4) -/* 80103068 000FFFC8 90 A4 00 54 */ stw r5, 0x54(r4) -/* 8010306C 000FFFCC 90 A4 00 58 */ stw r5, 0x58(r4) -/* 80103070 000FFFD0 91 44 00 5C */ stw r10, 0x5c(r4) -/* 80103074 000FFFD4 90 64 00 60 */ stw r3, 0x60(r4) -/* 80103078 000FFFD8 90 04 00 64 */ stw r0, 0x64(r4) -/* 8010307C 000FFFDC 38 21 01 B0 */ addi r1, r1, 0x1b0 -/* 80103080 000FFFE0 4E 80 00 20 */ blr - -.global BuildConstantAmbientLighting__12CActorLightsFv -BuildConstantAmbientLighting__12CActorLightsFv: -/* 80103084 000FFFE4 88 83 02 99 */ lbz r4, 0x299(r3) -/* 80103088 000FFFE8 38 A0 00 01 */ li r5, 1 -/* 8010308C 000FFFEC 50 A4 2E B4 */ rlwimi r4, r5, 5, 0x1a, 0x1a -/* 80103090 000FFFF0 38 00 FF FF */ li r0, -1 -/* 80103094 000FFFF4 98 83 02 99 */ stb r4, 0x299(r3) -/* 80103098 000FFFF8 88 83 02 98 */ lbz r4, 0x298(r3) -/* 8010309C 000FFFFC 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 -/* 801030A0 00100000 98 83 02 98 */ stb r4, 0x298(r3) -/* 801030A4 00100004 90 03 02 9C */ stw r0, 0x29c(r3) -/* 801030A8 00100008 90 03 02 A0 */ stw r0, 0x2a0(r3) -/* 801030AC 0010000C 4E 80 00 20 */ blr - -.global BuildConstantAmbientLighting__12CActorLightsFRC6CColor -BuildConstantAmbientLighting__12CActorLightsFRC6CColor: -/* 801030B0 00100010 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801030B4 00100014 7C 08 02 A6 */ mflr r0 -/* 801030B8 00100018 90 01 00 14 */ stw r0, 0x14(r1) -/* 801030BC 0010001C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801030C0 00100020 7C 7F 1B 78 */ mr r31, r3 -/* 801030C4 00100024 38 BF 02 8C */ addi r5, r31, 0x28c -/* 801030C8 00100028 88 03 02 99 */ lbz r0, 0x299(r3) -/* 801030CC 0010002C 38 60 00 00 */ li r3, 0 -/* 801030D0 00100030 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 801030D4 00100034 38 DF 02 90 */ addi r6, r31, 0x290 -/* 801030D8 00100038 98 1F 02 99 */ stb r0, 0x299(r31) -/* 801030DC 0010003C 7C 83 23 78 */ mr r3, r4 -/* 801030E0 00100040 38 9F 02 88 */ addi r4, r31, 0x288 -/* 801030E4 00100044 48 26 02 55 */ bl Get__6CColorCFRfRfRf -/* 801030E8 00100048 80 6D A3 90 */ lwz r3, lbl_805A8F50@sda21(r13) -/* 801030EC 0010004C 38 80 00 01 */ li r4, 1 -/* 801030F0 00100050 38 00 FF FF */ li r0, -1 -/* 801030F4 00100054 90 7F 02 94 */ stw r3, 0x294(r31) -/* 801030F8 00100058 88 7F 02 98 */ lbz r3, 0x298(r31) -/* 801030FC 0010005C 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 80103100 00100060 98 7F 02 98 */ stb r3, 0x298(r31) -/* 80103104 00100064 88 7F 02 98 */ lbz r3, 0x298(r31) -/* 80103108 00100068 50 83 2E B4 */ rlwimi r3, r4, 5, 0x1a, 0x1a -/* 8010310C 0010006C 98 7F 02 98 */ stb r3, 0x298(r31) -/* 80103110 00100070 90 1F 02 9C */ stw r0, 0x29c(r31) -/* 80103114 00100074 90 1F 02 A0 */ stw r0, 0x2a0(r31) -/* 80103118 00100078 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8010311C 0010007C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80103120 00100080 7C 08 03 A6 */ mtlr r0 -/* 80103124 00100084 38 21 00 10 */ addi r1, r1, 0x10 -/* 80103128 00100088 4E 80 00 20 */ blr - -.global "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor" -"BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor": -/* 8010312C 0010008C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80103130 00100090 7C 08 02 A6 */ mflr r0 -/* 80103134 00100094 90 01 00 24 */ stw r0, 0x24(r1) -/* 80103138 00100098 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8010313C 0010009C 7C 9F 23 78 */ mr r31, r4 -/* 80103140 001000A0 7C A4 2B 78 */ mr r4, r5 -/* 80103144 001000A4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80103148 001000A8 7C 7E 1B 78 */ mr r30, r3 -/* 8010314C 001000AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80103150 001000B0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80103154 001000B4 4B FF FF 5D */ bl BuildConstantAmbientLighting__12CActorLightsFRC6CColor -/* 80103158 001000B8 80 BE 00 00 */ lwz r5, 0(r30) -/* 8010315C 001000BC 38 60 00 00 */ li r3, 0 -/* 80103160 001000C0 2C 05 00 00 */ cmpwi r5, 0 -/* 80103164 001000C4 40 81 00 40 */ ble lbl_801031A4 -/* 80103168 001000C8 2C 05 00 08 */ cmpwi r5, 8 -/* 8010316C 001000CC 38 85 FF F8 */ addi r4, r5, -8 -/* 80103170 001000D0 40 81 00 20 */ ble lbl_80103190 -/* 80103174 001000D4 38 04 00 07 */ addi r0, r4, 7 -/* 80103178 001000D8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8010317C 001000DC 7C 09 03 A6 */ mtctr r0 -/* 80103180 001000E0 2C 04 00 00 */ cmpwi r4, 0 -/* 80103184 001000E4 40 81 00 0C */ ble lbl_80103190 -lbl_80103188: -/* 80103188 001000E8 38 63 00 08 */ addi r3, r3, 8 -/* 8010318C 001000EC 42 00 FF FC */ bdnz lbl_80103188 -lbl_80103190: -/* 80103190 001000F0 7C 03 28 50 */ subf r0, r3, r5 -/* 80103194 001000F4 7C 09 03 A6 */ mtctr r0 -/* 80103198 001000F8 7C 03 28 00 */ cmpw r3, r5 -/* 8010319C 001000FC 40 80 00 08 */ bge lbl_801031A4 -lbl_801031A0: -/* 801031A0 00100100 42 00 00 00 */ bdnz lbl_801031A0 -lbl_801031A4: -/* 801031A4 00100104 38 60 00 00 */ li r3, 0 -/* 801031A8 00100108 90 7E 00 00 */ stw r3, 0(r30) -/* 801031AC 0010010C 80 BE 01 44 */ lwz r5, 0x144(r30) -/* 801031B0 00100110 2C 05 00 00 */ cmpwi r5, 0 -/* 801031B4 00100114 40 81 00 40 */ ble lbl_801031F4 -/* 801031B8 00100118 2C 05 00 08 */ cmpwi r5, 8 -/* 801031BC 0010011C 38 85 FF F8 */ addi r4, r5, -8 -/* 801031C0 00100120 40 81 00 20 */ ble lbl_801031E0 -/* 801031C4 00100124 38 04 00 07 */ addi r0, r4, 7 -/* 801031C8 00100128 54 00 E8 FE */ srwi r0, r0, 3 -/* 801031CC 0010012C 7C 09 03 A6 */ mtctr r0 -/* 801031D0 00100130 2C 04 00 00 */ cmpwi r4, 0 -/* 801031D4 00100134 40 81 00 0C */ ble lbl_801031E0 -lbl_801031D8: -/* 801031D8 00100138 38 63 00 08 */ addi r3, r3, 8 -/* 801031DC 0010013C 42 00 FF FC */ bdnz lbl_801031D8 -lbl_801031E0: -/* 801031E0 00100140 7C 03 28 50 */ subf r0, r3, r5 -/* 801031E4 00100144 7C 09 03 A6 */ mtctr r0 -/* 801031E8 00100148 7C 03 28 00 */ cmpw r3, r5 -/* 801031EC 0010014C 40 80 00 08 */ bge lbl_801031F4 -lbl_801031F0: -/* 801031F0 00100150 42 00 00 00 */ bdnz lbl_801031F0 -lbl_801031F4: -/* 801031F4 00100154 3B A0 00 00 */ li r29, 0 -/* 801031F8 00100158 3B 80 00 00 */ li r28, 0 -/* 801031FC 0010015C 93 BE 01 44 */ stw r29, 0x144(r30) -lbl_80103200: -/* 80103200 00100160 80 1F 00 04 */ lwz r0, 4(r31) -/* 80103204 00100164 7C 1C 00 00 */ cmpw r28, r0 -/* 80103208 00100168 41 82 00 24 */ beq lbl_8010322C -/* 8010320C 0010016C 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80103210 00100170 38 7E 01 44 */ addi r3, r30, 0x144 -/* 80103214 00100174 7C 80 EA 14 */ add r4, r0, r29 -/* 80103218 00100178 48 00 00 35 */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" -/* 8010321C 0010017C 3B 9C 00 01 */ addi r28, r28, 1 -/* 80103220 00100180 3B BD 00 50 */ addi r29, r29, 0x50 -/* 80103224 00100184 2C 1C 00 04 */ cmpwi r28, 4 -/* 80103228 00100188 41 80 FF D8 */ blt lbl_80103200 -lbl_8010322C: -/* 8010322C 0010018C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80103230 00100190 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80103234 00100194 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80103238 00100198 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8010323C 0010019C 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80103240 001001A0 7C 08 03 A6 */ mtlr r0 -/* 80103244 001001A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80103248 001001A8 4E 80 00 20 */ blr - -.global "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" -"push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight": -/* 8010324C 001001AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80103250 001001B0 7C 08 02 A6 */ mflr r0 -/* 80103254 001001B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80103258 001001B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8010325C 001001BC 7C 7F 1B 78 */ mr r31, r3 -/* 80103260 001001C0 80 03 00 00 */ lwz r0, 0(r3) -/* 80103264 001001C4 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80103268 001001C8 7C 7F 02 14 */ add r3, r31, r0 -/* 8010326C 001001CC 38 63 00 04 */ addi r3, r3, 4 -/* 80103270 001001D0 48 00 00 25 */ bl "construct<6CLight>__4rstlFPvRC6CLight" -/* 80103274 001001D4 80 7F 00 00 */ lwz r3, 0(r31) -/* 80103278 001001D8 38 03 00 01 */ addi r0, r3, 1 -/* 8010327C 001001DC 90 1F 00 00 */ stw r0, 0(r31) -/* 80103280 001001E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80103284 001001E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80103288 001001E8 7C 08 03 A6 */ mtlr r0 -/* 8010328C 001001EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80103290 001001F0 4E 80 00 20 */ blr - -.global "construct<6CLight>__4rstlFPvRC6CLight" -"construct<6CLight>__4rstlFPvRC6CLight": -/* 80103294 001001F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80103298 001001F8 7C 08 02 A6 */ mflr r0 -/* 8010329C 001001FC 28 03 00 00 */ cmplwi r3, 0 -/* 801032A0 00100200 90 01 00 14 */ stw r0, 0x14(r1) -/* 801032A4 00100204 41 82 00 08 */ beq lbl_801032AC -/* 801032A8 00100208 4B F3 82 C9 */ bl __ct__6CLightFCR6CLight -lbl_801032AC: -/* 801032AC 0010020C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801032B0 00100210 7C 08 03 A6 */ mtlr r0 -/* 801032B4 00100214 38 21 00 10 */ addi r1, r1, 0x10 -/* 801032B8 00100218 4E 80 00 20 */ blr - -.global BuildFaceLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox -BuildFaceLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox: -/* 801032BC 0010021C 94 21 FE 60 */ stwu r1, -0x1a0(r1) -/* 801032C0 00100220 7C 08 02 A6 */ mflr r0 -/* 801032C4 00100224 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 801032C8 00100228 DB E1 01 90 */ stfd f31, 0x190(r1) -/* 801032CC 0010022C F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 -/* 801032D0 00100230 DB C1 01 80 */ stfd f30, 0x180(r1) -/* 801032D4 00100234 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 -/* 801032D8 00100238 DB A1 01 70 */ stfd f29, 0x170(r1) -/* 801032DC 0010023C F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 -/* 801032E0 00100240 BE E1 01 4C */ stmw r23, 0x14c(r1) -/* 801032E4 00100244 7C 9A 23 78 */ mr r26, r4 -/* 801032E8 00100248 7C 79 1B 78 */ mr r25, r3 -/* 801032EC 0010024C 80 84 08 70 */ lwz r4, 0x870(r4) -/* 801032F0 00100250 7C DB 33 78 */ mr r27, r6 -/* 801032F4 00100254 38 61 00 78 */ addi r3, r1, 0x78 -/* 801032F8 00100258 80 84 00 7C */ lwz r4, 0x7c(r4) -/* 801032FC 0010025C 38 84 00 34 */ addi r4, r4, 0x34 -/* 80103300 00100260 48 20 F8 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80103304 00100264 88 19 02 98 */ lbz r0, 0x298(r25) -/* 80103308 00100268 38 60 00 01 */ li r3, 1 -/* 8010330C 0010026C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80103310 00100270 3B B9 01 48 */ addi r29, r25, 0x148 -/* 80103314 00100274 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80103318 00100278 98 19 02 98 */ stb r0, 0x298(r25) -/* 8010331C 0010027C 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80103320 00100280 C0 05 00 00 */ lfs f0, 0(r5) -/* 80103324 00100284 38 60 00 00 */ li r3, 0 -/* 80103328 00100288 D0 19 02 88 */ stfs f0, 0x288(r25) -/* 8010332C 0010028C C0 05 00 04 */ lfs f0, 4(r5) -/* 80103330 00100290 D0 19 02 8C */ stfs f0, 0x28c(r25) -/* 80103334 00100294 C0 05 00 08 */ lfs f0, 8(r5) -/* 80103338 00100298 D0 19 02 90 */ stfs f0, 0x290(r25) -/* 8010333C 0010029C 80 D9 01 44 */ lwz r6, 0x144(r25) -/* 80103340 001002A0 83 DA 08 30 */ lwz r30, 0x830(r26) -/* 80103344 001002A4 2C 06 00 00 */ cmpwi r6, 0 -/* 80103348 001002A8 40 81 00 40 */ ble lbl_80103388 -/* 8010334C 001002AC 2C 06 00 08 */ cmpwi r6, 8 -/* 80103350 001002B0 38 86 FF F8 */ addi r4, r6, -8 -/* 80103354 001002B4 40 81 00 20 */ ble lbl_80103374 -/* 80103358 001002B8 38 04 00 07 */ addi r0, r4, 7 -/* 8010335C 001002BC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80103360 001002C0 7C 09 03 A6 */ mtctr r0 -/* 80103364 001002C4 2C 04 00 00 */ cmpwi r4, 0 -/* 80103368 001002C8 40 81 00 0C */ ble lbl_80103374 -lbl_8010336C: -/* 8010336C 001002CC 38 63 00 08 */ addi r3, r3, 8 -/* 80103370 001002D0 42 00 FF FC */ bdnz lbl_8010336C -lbl_80103374: -/* 80103374 001002D4 7C 03 30 50 */ subf r0, r3, r6 -/* 80103378 001002D8 7C 09 03 A6 */ mtctr r0 -/* 8010337C 001002DC 7C 03 30 00 */ cmpw r3, r6 -/* 80103380 001002E0 40 80 00 08 */ bge lbl_80103388 -lbl_80103384: -/* 80103384 001002E4 42 00 00 00 */ bdnz lbl_80103384 -lbl_80103388: -/* 80103388 001002E8 38 00 00 00 */ li r0, 0 -/* 8010338C 001002EC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80103390 001002F0 90 19 01 44 */ stw r0, 0x144(r25) -/* 80103394 001002F4 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80103398 001002F8 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 8010339C 001002FC C3 E4 00 00 */ lfs f31, 0(r4) -/* 801033A0 00100300 3B E3 67 24 */ addi r31, r3, lbl_805A6724@l -/* 801033A4 00100304 C3 C5 00 04 */ lfs f30, 4(r5) -/* 801033A8 00100308 C3 A5 00 08 */ lfs f29, 8(r5) -/* 801033AC 0010030C AB 9E 20 08 */ lha r28, 0x2008(r30) -/* 801033B0 00100310 48 00 02 4C */ b lbl_801035FC -lbl_801033B4: -/* 801033B4 00100314 7F C3 F3 78 */ mr r3, r30 -/* 801033B8 00100318 7F 84 E3 78 */ mr r4, r28 -/* 801033BC 0010031C 4B F0 C9 21 */ bl __vc__11CObjectListCFi -/* 801033C0 00100320 28 03 00 00 */ cmplwi r3, 0 -/* 801033C4 00100324 41 82 02 1C */ beq lbl_801035E0 -/* 801033C8 00100328 88 03 00 30 */ lbz r0, 0x30(r3) -/* 801033CC 0010032C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801033D0 00100330 41 82 02 10 */ beq lbl_801035E0 -/* 801033D4 00100334 7C 64 1B 78 */ mr r4, r3 -/* 801033D8 00100338 38 61 00 18 */ addi r3, r1, 0x18 -/* 801033DC 0010033C 4B FA A6 A9 */ bl "__ct__24TCastToPtr<10CGameLight>FP7CEntity" -/* 801033E0 00100340 83 03 00 04 */ lwz r24, 4(r3) -/* 801033E4 00100344 7F 43 D3 78 */ mr r3, r26 -/* 801033E8 00100348 38 81 00 0C */ addi r4, r1, 0xc -/* 801033EC 0010034C A0 18 00 E8 */ lhz r0, 0xe8(r24) -/* 801033F0 00100350 B0 01 00 08 */ sth r0, 8(r1) -/* 801033F4 00100354 B0 01 00 0C */ sth r0, 0xc(r1) -/* 801033F8 00100358 4B F4 91 AD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 801033FC 0010035C 7C 64 1B 78 */ mr r4, r3 -/* 80103400 00100360 38 61 00 10 */ addi r3, r1, 0x10 -/* 80103404 00100364 4B FA B3 7D */ bl "__ct__24TCastToPtr<10CExplosion>FP7CEntity" -/* 80103408 00100368 82 E3 00 04 */ lwz r23, 4(r3) -/* 8010340C 0010036C 28 17 00 00 */ cmplwi r23, 0 -/* 80103410 00100370 41 82 01 D0 */ beq lbl_801035E0 -/* 80103414 00100374 7F 04 C3 78 */ mr r4, r24 -/* 80103418 00100378 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8010341C 0010037C 4B FB 22 8D */ bl GetLight__10CGameLightCFv -/* 80103420 00100380 3B 01 00 A8 */ addi r24, r1, 0xa8 -/* 80103424 00100384 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80103428 00100388 7F 04 C3 78 */ mr r4, r24 -/* 8010342C 0010038C 4B F3 81 45 */ bl __ct__6CLightFCR6CLight -/* 80103430 00100390 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80103434 00100394 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80103438 00100398 C0 01 01 1C */ lfs f0, 0x11c(r1) -/* 8010343C 0010039C C0 24 01 A4 */ lfs f1, 0x1a4(r4) -/* 80103440 001003A0 C0 84 01 A8 */ lfs f4, 0x1a8(r4) -/* 80103444 001003A4 C0 41 01 20 */ lfs f2, 0x120(r1) -/* 80103448 001003A8 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8010344C 001003AC C0 64 01 AC */ lfs f3, 0x1ac(r4) -/* 80103450 001003B0 C0 01 01 24 */ lfs f0, 0x124(r1) -/* 80103454 001003B4 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80103458 001003B8 EC 63 00 32 */ fmuls f3, f3, f0 -/* 8010345C 001003BC 48 20 2F 55 */ bl SetAttenuation__6CLightFfff -/* 80103460 001003C0 C0 57 00 60 */ lfs f2, 0x60(r23) -/* 80103464 001003C4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80103468 001003C8 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 8010346C 001003CC 38 81 00 78 */ addi r4, r1, 0x78 -/* 80103470 001003D0 C0 97 00 50 */ lfs f4, 0x50(r23) -/* 80103474 001003D4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80103478 001003D8 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 8010347C 001003DC EC 02 00 28 */ fsubs f0, f2, f0 -/* 80103480 001003E0 C0 77 00 40 */ lfs f3, 0x40(r23) -/* 80103484 001003E4 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 80103488 001003E8 EC 24 08 28 */ fsubs f1, f4, f1 -/* 8010348C 001003EC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80103490 001003F0 EC 03 10 28 */ fsubs f0, f3, f2 -/* 80103494 001003F4 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80103498 001003F8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8010349C 001003FC 48 20 F5 89 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 801034A0 00100400 C0 81 00 64 */ lfs f4, 0x64(r1) -/* 801034A4 00100404 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 801034A8 00100408 C0 1F 00 04 */ lfs f0, 4(r31) -/* 801034AC 0010040C C0 A1 00 60 */ lfs f5, 0x60(r1) -/* 801034B0 00100410 EC 00 01 32 */ fmuls f0, f0, f4 -/* 801034B4 00100414 C0 23 67 24 */ lfs f1, lbl_805A6724@l(r3) -/* 801034B8 00100418 C0 61 00 68 */ lfs f3, 0x68(r1) -/* 801034BC 0010041C C0 5F 00 08 */ lfs f2, 8(r31) -/* 801034C0 00100420 EC 21 01 7A */ fmadds f1, f1, f5, f0 -/* 801034C4 00100424 C0 02 94 08 */ lfs f0, lbl_805AB128@sda21(r2) -/* 801034C8 00100428 D0 A1 00 6C */ stfs f5, 0x6c(r1) -/* 801034CC 0010042C EC 22 08 FA */ fmadds f1, f2, f3, f1 -/* 801034D0 00100430 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 801034D4 00100434 D0 61 00 74 */ stfs f3, 0x74(r1) -/* 801034D8 00100438 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801034DC 0010043C 41 80 01 04 */ blt lbl_801035E0 -/* 801034E0 00100440 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 801034E4 00100444 C0 23 01 44 */ lfs f1, 0x144(r3) -/* 801034E8 00100448 4B F7 0E 69 */ bl FaceReflectionDistanceDebugValueToActualValue__9CTweakGuiFf -/* 801034EC 0010044C C0 01 00 70 */ lfs f0, 0x70(r1) -/* 801034F0 00100450 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 801034F4 00100454 FC 00 00 50 */ fneg f0, f0 -/* 801034F8 00100458 EC 00 08 2A */ fadds f0, f0, f1 -/* 801034FC 0010045C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80103500 00100460 C0 23 01 48 */ lfs f1, 0x148(r3) -/* 80103504 00100464 4B F7 0E 3D */ bl FaceReflectionHeightDebugValueToActualValue__9CTweakGuiFf -/* 80103508 00100468 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8010350C 0010046C 38 61 00 54 */ addi r3, r1, 0x54 -/* 80103510 00100470 38 81 00 78 */ addi r4, r1, 0x78 -/* 80103514 00100474 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80103518 00100478 FC 00 00 50 */ fneg f0, f0 -/* 8010351C 0010047C EC 00 08 2A */ fadds f0, f0, f1 -/* 80103520 00100480 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80103524 00100484 48 20 F5 C5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80103528 00100488 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8010352C 0010048C 38 81 00 54 */ addi r4, r1, 0x54 -/* 80103530 00100490 48 20 2E 11 */ bl SetPosition__6CLightFRC9CVector3f -/* 80103534 00100494 7F 03 C3 78 */ mr r3, r24 -/* 80103538 00100498 48 20 2D 9D */ bl GetRadius__6CLightCFv -/* 8010353C 0010049C C0 61 00 A8 */ lfs f3, 0xa8(r1) -/* 80103540 001004A0 7F 63 DB 78 */ mr r3, r27 -/* 80103544 001004A4 C0 41 00 AC */ lfs f2, 0xac(r1) -/* 80103548 001004A8 38 81 00 44 */ addi r4, r1, 0x44 -/* 8010354C 001004AC C0 01 00 B0 */ lfs f0, 0xb0(r1) -/* 80103550 001004B0 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 80103554 001004B4 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80103558 001004B8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8010355C 001004BC D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80103560 001004C0 48 1C F4 6D */ bl AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere -/* 80103564 001004C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80103568 001004C8 41 82 00 78 */ beq lbl_801035E0 -/* 8010356C 001004CC C0 41 00 84 */ lfs f2, 0x84(r1) -/* 80103570 001004D0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80103574 001004D4 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 80103578 001004D8 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8010357C 001004DC C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 80103580 001004E0 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80103584 001004E4 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80103588 001004E8 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8010358C 001004EC D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80103590 001004F0 48 20 2A 95 */ bl GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f -/* 80103594 001004F4 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 80103598 001004F8 7F 03 C3 78 */ mr r3, r24 -/* 8010359C 001004FC C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 801035A0 00100500 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 801035A4 00100504 EF FF 10 2A */ fadds f31, f31, f2 -/* 801035A8 00100508 EF DE 08 2A */ fadds f30, f30, f1 -/* 801035AC 0010050C EF BD 00 2A */ fadds f29, f29, f0 -/* 801035B0 00100510 48 20 2B A5 */ bl GetIntensity__6CLightCFv -/* 801035B4 00100514 C0 02 94 0C */ lfs f0, lbl_805AB12C@sda21(r2) -/* 801035B8 00100518 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801035BC 0010051C 40 81 00 24 */ ble lbl_801035E0 -/* 801035C0 00100520 7F 03 C3 78 */ mr r3, r24 -/* 801035C4 00100524 48 20 2D 11 */ bl GetRadius__6CLightCFv -/* 801035C8 00100528 C0 02 94 0C */ lfs f0, lbl_805AB12C@sda21(r2) -/* 801035CC 0010052C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801035D0 00100530 40 81 00 10 */ ble lbl_801035E0 -/* 801035D4 00100534 38 79 01 44 */ addi r3, r25, 0x144 -/* 801035D8 00100538 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 801035DC 0010053C 4B FF FC 71 */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" -lbl_801035E0: -/* 801035E0 00100540 2C 1C FF FF */ cmpwi r28, -1 -/* 801035E4 00100544 41 82 00 14 */ beq lbl_801035F8 -/* 801035E8 00100548 57 83 18 38 */ slwi r3, r28, 3 -/* 801035EC 0010054C 38 03 00 08 */ addi r0, r3, 8 -/* 801035F0 00100550 7F 9E 02 AE */ lhax r28, r30, r0 -/* 801035F4 00100554 48 00 00 08 */ b lbl_801035FC -lbl_801035F8: -/* 801035F8 00100558 3B 80 FF FF */ li r28, -1 -lbl_801035FC: -/* 801035FC 0010055C 2C 1C FF FF */ cmpwi r28, -1 -/* 80103600 00100560 41 82 00 14 */ beq lbl_80103614 -/* 80103604 00100564 80 79 01 44 */ lwz r3, 0x144(r25) -/* 80103608 00100568 80 19 02 BC */ lwz r0, 0x2bc(r25) -/* 8010360C 0010056C 7C 03 00 00 */ cmpw r3, r0 -/* 80103610 00100570 41 80 FD A4 */ blt lbl_801033B4 -lbl_80103614: -/* 80103614 00100574 C0 02 94 18 */ lfs f0, lbl_805AB138@sda21(r2) -/* 80103618 00100578 C0 42 94 14 */ lfs f2, lbl_805AB134@sda21(r2) -/* 8010361C 0010057C EC 20 07 B2 */ fmuls f1, f0, f30 -/* 80103620 00100580 C0 62 94 10 */ lfs f3, lbl_805AB130@sda21(r2) -/* 80103624 00100584 C0 02 94 1C */ lfs f0, lbl_805AB13C@sda21(r2) -/* 80103628 00100588 EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 8010362C 0010058C EC 23 0F 7A */ fmadds f1, f3, f29, f1 -/* 80103630 00100590 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80103634 00100594 40 80 00 58 */ bge lbl_8010368C -/* 80103638 00100598 80 B9 01 44 */ lwz r5, 0x144(r25) -/* 8010363C 0010059C 38 60 00 00 */ li r3, 0 -/* 80103640 001005A0 2C 05 00 00 */ cmpwi r5, 0 -/* 80103644 001005A4 40 81 00 40 */ ble lbl_80103684 -/* 80103648 001005A8 2C 05 00 08 */ cmpwi r5, 8 -/* 8010364C 001005AC 38 85 FF F8 */ addi r4, r5, -8 -/* 80103650 001005B0 40 81 00 20 */ ble lbl_80103670 -/* 80103654 001005B4 38 04 00 07 */ addi r0, r4, 7 -/* 80103658 001005B8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8010365C 001005BC 7C 09 03 A6 */ mtctr r0 -/* 80103660 001005C0 2C 04 00 00 */ cmpwi r4, 0 -/* 80103664 001005C4 40 81 00 0C */ ble lbl_80103670 -lbl_80103668: -/* 80103668 001005C8 38 63 00 08 */ addi r3, r3, 8 -/* 8010366C 001005CC 42 00 FF FC */ bdnz lbl_80103668 -lbl_80103670: -/* 80103670 001005D0 7C 03 28 50 */ subf r0, r3, r5 -/* 80103674 001005D4 7C 09 03 A6 */ mtctr r0 -/* 80103678 001005D8 7C 03 28 00 */ cmpw r3, r5 -/* 8010367C 001005DC 40 80 00 08 */ bge lbl_80103684 -lbl_80103680: -/* 80103680 001005E0 42 00 00 00 */ bdnz lbl_80103680 -lbl_80103684: -/* 80103684 001005E4 38 00 00 00 */ li r0, 0 -/* 80103688 001005E8 90 19 01 44 */ stw r0, 0x144(r25) -lbl_8010368C: -/* 8010368C 001005EC C0 02 94 20 */ lfs f0, lbl_805AB140@sda21(r2) -/* 80103690 001005F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80103694 001005F4 40 81 00 50 */ ble lbl_801036E4 -/* 80103698 001005F8 EC 20 08 24 */ fdivs f1, f0, f1 -/* 8010369C 001005FC C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) -/* 801036A0 00100600 7F B7 EB 78 */ mr r23, r29 -/* 801036A4 00100604 EF A0 08 24 */ fdivs f29, f0, f1 -/* 801036A8 00100608 48 00 00 28 */ b lbl_801036D0 -lbl_801036AC: -/* 801036AC 0010060C C0 37 00 24 */ lfs f1, 0x24(r23) -/* 801036B0 00100610 7E E3 BB 78 */ mr r3, r23 -/* 801036B4 00100614 C0 57 00 28 */ lfs f2, 0x28(r23) -/* 801036B8 00100618 C0 17 00 2C */ lfs f0, 0x2c(r23) -/* 801036BC 0010061C EC 3D 00 72 */ fmuls f1, f29, f1 -/* 801036C0 00100620 EC 5D 00 B2 */ fmuls f2, f29, f2 -/* 801036C4 00100624 EC 7D 00 32 */ fmuls f3, f29, f0 -/* 801036C8 00100628 48 20 2C E9 */ bl SetAttenuation__6CLightFfff -/* 801036CC 0010062C 3A F7 00 50 */ addi r23, r23, 0x50 -lbl_801036D0: -/* 801036D0 00100630 80 19 01 44 */ lwz r0, 0x144(r25) -/* 801036D4 00100634 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 801036D8 00100638 7C 1D 02 14 */ add r0, r29, r0 -/* 801036DC 0010063C 7C 17 00 40 */ cmplw r23, r0 -/* 801036E0 00100640 40 82 FF CC */ bne lbl_801036AC -lbl_801036E4: -/* 801036E4 00100644 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 -/* 801036E8 00100648 CB E1 01 90 */ lfd f31, 0x190(r1) -/* 801036EC 0010064C E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 -/* 801036F0 00100650 CB C1 01 80 */ lfd f30, 0x180(r1) -/* 801036F4 00100654 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 -/* 801036F8 00100658 CB A1 01 70 */ lfd f29, 0x170(r1) -/* 801036FC 0010065C BA E1 01 4C */ lmw r23, 0x14c(r1) -/* 80103700 00100660 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 80103704 00100664 7C 08 03 A6 */ mtlr r0 -/* 80103708 00100668 38 21 01 A0 */ addi r1, r1, 0x1a0 -/* 8010370C 0010066C 4E 80 00 20 */ blr - -.global BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox -BuildDynamicLightList__12CActorLightsFRC13CStateManagerRC6CAABox: -/* 80103710 00100670 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80103714 00100674 7C 08 02 A6 */ mflr r0 -/* 80103718 00100678 90 01 00 84 */ stw r0, 0x84(r1) -/* 8010371C 0010067C BE E1 00 5C */ stmw r23, 0x5c(r1) -/* 80103720 00100680 7C 78 1B 78 */ mr r24, r3 -/* 80103724 00100684 7C 99 23 78 */ mr r25, r4 -/* 80103728 00100688 7C BA 2B 78 */ mr r26, r5 -/* 8010372C 0010068C 48 00 16 05 */ bl UpdateBrightLight__12CActorLightsFv -/* 80103730 00100690 38 60 00 00 */ li r3, 0 -/* 80103734 00100694 88 18 02 99 */ lbz r0, 0x299(r24) -/* 80103738 00100698 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8010373C 0010069C 3B B8 01 48 */ addi r29, r24, 0x148 -/* 80103740 001006A0 98 18 02 99 */ stb r0, 0x299(r24) -/* 80103744 001006A4 80 B8 01 44 */ lwz r5, 0x144(r24) -/* 80103748 001006A8 2C 05 00 00 */ cmpwi r5, 0 -/* 8010374C 001006AC 40 81 00 40 */ ble lbl_8010378C -/* 80103750 001006B0 2C 05 00 08 */ cmpwi r5, 8 -/* 80103754 001006B4 38 85 FF F8 */ addi r4, r5, -8 -/* 80103758 001006B8 40 81 00 20 */ ble lbl_80103778 -/* 8010375C 001006BC 38 04 00 07 */ addi r0, r4, 7 -/* 80103760 001006C0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80103764 001006C4 7C 09 03 A6 */ mtctr r0 -/* 80103768 001006C8 2C 04 00 00 */ cmpwi r4, 0 -/* 8010376C 001006CC 40 81 00 0C */ ble lbl_80103778 -lbl_80103770: -/* 80103770 001006D0 38 63 00 08 */ addi r3, r3, 8 -/* 80103774 001006D4 42 00 FF FC */ bdnz lbl_80103770 -lbl_80103778: -/* 80103778 001006D8 7C 03 28 50 */ subf r0, r3, r5 -/* 8010377C 001006DC 7C 09 03 A6 */ mtctr r0 -/* 80103780 001006E0 7C 03 28 00 */ cmpw r3, r5 -/* 80103784 001006E4 40 80 00 08 */ bge lbl_8010378C -lbl_80103788: -/* 80103788 001006E8 42 00 00 00 */ bdnz lbl_80103788 -lbl_8010378C: -/* 8010378C 001006EC 3B C0 00 00 */ li r30, 0 -/* 80103790 001006F0 93 D8 01 44 */ stw r30, 0x144(r24) -/* 80103794 001006F4 88 18 02 9A */ lbz r0, 0x29a(r24) -/* 80103798 001006F8 28 00 00 00 */ cmplwi r0, 0 -/* 8010379C 001006FC 40 82 00 80 */ bne lbl_8010381C -/* 801037A0 00100700 3B 80 00 00 */ li r28, 0 -/* 801037A4 00100704 48 00 00 58 */ b lbl_801037FC -lbl_801037A8: -/* 801037A8 00100708 80 19 08 EC */ lwz r0, 0x8ec(r25) -/* 801037AC 0010070C 7F 60 F2 14 */ add r27, r0, r30 -/* 801037B0 00100710 7F 63 DB 78 */ mr r3, r27 -/* 801037B4 00100714 48 20 2B 21 */ bl GetRadius__6CLightCFv -/* 801037B8 00100718 C0 1B 00 00 */ lfs f0, 0(r27) -/* 801037BC 0010071C 7F 43 D3 78 */ mr r3, r26 -/* 801037C0 00100720 38 81 00 28 */ addi r4, r1, 0x28 -/* 801037C4 00100724 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 801037C8 00100728 C0 1B 00 04 */ lfs f0, 4(r27) -/* 801037CC 0010072C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 801037D0 00100730 C0 1B 00 08 */ lfs f0, 8(r27) -/* 801037D4 00100734 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 801037D8 00100738 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 801037DC 0010073C 48 1C F1 F1 */ bl AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere -/* 801037E0 00100740 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801037E4 00100744 41 82 00 10 */ beq lbl_801037F4 -/* 801037E8 00100748 7F 64 DB 78 */ mr r4, r27 -/* 801037EC 0010074C 38 78 01 44 */ addi r3, r24, 0x144 -/* 801037F0 00100750 4B FF FA 5D */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" -lbl_801037F4: -/* 801037F4 00100754 3B DE 00 50 */ addi r30, r30, 0x50 -/* 801037F8 00100758 3B 9C 00 01 */ addi r28, r28, 1 -lbl_801037FC: -/* 801037FC 0010075C 80 19 08 E4 */ lwz r0, 0x8e4(r25) -/* 80103800 00100760 7C 1C 00 00 */ cmpw r28, r0 -/* 80103804 00100764 40 80 02 28 */ bge lbl_80103A2C -/* 80103808 00100768 80 78 01 44 */ lwz r3, 0x144(r24) -/* 8010380C 0010076C 80 18 02 BC */ lwz r0, 0x2bc(r24) -/* 80103810 00100770 7C 03 00 00 */ cmpw r3, r0 -/* 80103814 00100774 41 80 FF 94 */ blt lbl_801037A8 -/* 80103818 00100778 48 00 02 14 */ b lbl_80103A2C -lbl_8010381C: -/* 8010381C 0010077C 3C 60 80 3D */ lis r3, lbl_803CEE40@ha -/* 80103820 00100780 3B 80 00 00 */ li r28, 0 -/* 80103824 00100784 38 C3 EE 40 */ addi r6, r3, lbl_803CEE40@l -/* 80103828 00100788 80 A6 00 00 */ lwz r5, 0(r6) -/* 8010382C 0010078C 80 86 00 04 */ lwz r4, 4(r6) -/* 80103830 00100790 80 66 00 08 */ lwz r3, 8(r6) -/* 80103834 00100794 80 06 00 0C */ lwz r0, 0xc(r6) -/* 80103838 00100798 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8010383C 0010079C 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80103840 001007A0 90 61 00 40 */ stw r3, 0x40(r1) -/* 80103844 001007A4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80103848 001007A8 48 00 01 CC */ b lbl_80103A14 -lbl_8010384C: -/* 8010384C 001007AC 80 19 08 EC */ lwz r0, 0x8ec(r25) -/* 80103850 001007B0 38 81 00 48 */ addi r4, r1, 0x48 -/* 80103854 001007B4 3B 60 00 00 */ li r27, 0 -/* 80103858 001007B8 3A E0 00 00 */ li r23, 0 -/* 8010385C 001007BC 7F E0 F2 14 */ add r31, r0, r30 -/* 80103860 001007C0 7C 69 03 A6 */ mtctr r3 -/* 80103864 001007C4 2C 03 00 00 */ cmpwi r3, 0 -/* 80103868 001007C8 40 81 01 28 */ ble lbl_80103990 -lbl_8010386C: -/* 8010386C 001007CC 80 64 00 00 */ lwz r3, 0(r4) -/* 80103870 001007D0 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 80103874 001007D4 7C 03 00 00 */ cmpw r3, r0 -/* 80103878 001007D8 40 82 01 0C */ bne lbl_80103984 -/* 8010387C 001007DC 7F E3 FB 78 */ mr r3, r31 -/* 80103880 001007E0 48 20 2A 55 */ bl GetRadius__6CLightCFv -/* 80103884 001007E4 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80103888 001007E8 7F 43 D3 78 */ mr r3, r26 -/* 8010388C 001007EC 38 81 00 18 */ addi r4, r1, 0x18 -/* 80103890 001007F0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80103894 001007F4 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80103898 001007F8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8010389C 001007FC C0 1F 00 08 */ lfs f0, 8(r31) -/* 801038A0 00100800 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 801038A4 00100804 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 801038A8 00100808 48 1C F0 41 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere -/* 801038AC 0010080C C0 02 94 08 */ lfs f0, lbl_805AB128@sda21(r2) -/* 801038B0 00100810 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801038B4 00100814 4C 41 13 82 */ cror 2, 1, 2 -/* 801038B8 00100818 40 82 00 D8 */ bne lbl_80103990 -/* 801038BC 0010081C 56 E5 10 3A */ slwi r5, r23, 2 -/* 801038C0 00100820 38 C1 00 38 */ addi r6, r1, 0x38 -/* 801038C4 00100824 7C 06 2C 2E */ lfsx f0, r6, r5 -/* 801038C8 00100828 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801038CC 0010082C 40 81 00 C4 */ ble lbl_80103990 -/* 801038D0 00100830 1C 97 00 50 */ mulli r4, r23, 0x50 -/* 801038D4 00100834 80 7F 00 00 */ lwz r3, 0(r31) -/* 801038D8 00100838 80 1F 00 04 */ lwz r0, 4(r31) -/* 801038DC 0010083C 3B 60 00 01 */ li r27, 1 -/* 801038E0 00100840 7C 26 2D 2E */ stfsx f1, r6, r5 -/* 801038E4 00100844 7C 9D 22 14 */ add r4, r29, r4 -/* 801038E8 00100848 90 64 00 00 */ stw r3, 0(r4) -/* 801038EC 0010084C 90 04 00 04 */ stw r0, 4(r4) -/* 801038F0 00100850 80 1F 00 08 */ lwz r0, 8(r31) -/* 801038F4 00100854 90 04 00 08 */ stw r0, 8(r4) -/* 801038F8 00100858 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 801038FC 0010085C 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80103900 00100860 90 64 00 0C */ stw r3, 0xc(r4) -/* 80103904 00100864 90 04 00 10 */ stw r0, 0x10(r4) -/* 80103908 00100868 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 8010390C 0010086C 90 04 00 14 */ stw r0, 0x14(r4) -/* 80103910 00100870 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80103914 00100874 90 04 00 18 */ stw r0, 0x18(r4) -/* 80103918 00100878 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 8010391C 0010087C 90 04 00 1C */ stw r0, 0x1c(r4) -/* 80103920 00100880 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 80103924 00100884 D0 04 00 20 */ stfs f0, 0x20(r4) -/* 80103928 00100888 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8010392C 0010088C D0 04 00 24 */ stfs f0, 0x24(r4) -/* 80103930 00100890 C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 80103934 00100894 D0 04 00 28 */ stfs f0, 0x28(r4) -/* 80103938 00100898 C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 8010393C 0010089C D0 04 00 2C */ stfs f0, 0x2c(r4) -/* 80103940 001008A0 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 80103944 001008A4 D0 04 00 30 */ stfs f0, 0x30(r4) -/* 80103948 001008A8 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 8010394C 001008AC D0 04 00 34 */ stfs f0, 0x34(r4) -/* 80103950 001008B0 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80103954 001008B4 D0 04 00 38 */ stfs f0, 0x38(r4) -/* 80103958 001008B8 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8010395C 001008BC 90 04 00 3C */ stw r0, 0x3c(r4) -/* 80103960 001008C0 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 80103964 001008C4 90 04 00 40 */ stw r0, 0x40(r4) -/* 80103968 001008C8 C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 8010396C 001008CC D0 04 00 44 */ stfs f0, 0x44(r4) -/* 80103970 001008D0 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 80103974 001008D4 D0 04 00 48 */ stfs f0, 0x48(r4) -/* 80103978 001008D8 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 8010397C 001008DC 98 04 00 4C */ stb r0, 0x4c(r4) -/* 80103980 001008E0 48 00 00 10 */ b lbl_80103990 -lbl_80103984: -/* 80103984 001008E4 38 84 00 04 */ addi r4, r4, 4 -/* 80103988 001008E8 3A F7 00 01 */ addi r23, r23, 1 -/* 8010398C 001008EC 42 00 FE E0 */ bdnz lbl_8010386C -lbl_80103990: -/* 80103990 001008F0 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80103994 001008F4 40 82 00 78 */ bne lbl_80103A0C -/* 80103998 001008F8 7F E3 FB 78 */ mr r3, r31 -/* 8010399C 001008FC 48 20 29 39 */ bl GetRadius__6CLightCFv -/* 801039A0 00100900 C0 1F 00 00 */ lfs f0, 0(r31) -/* 801039A4 00100904 7F 43 D3 78 */ mr r3, r26 -/* 801039A8 00100908 38 81 00 08 */ addi r4, r1, 8 -/* 801039AC 0010090C D0 01 00 08 */ stfs f0, 8(r1) -/* 801039B0 00100910 C0 1F 00 04 */ lfs f0, 4(r31) -/* 801039B4 00100914 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 801039B8 00100918 C0 1F 00 08 */ lfs f0, 8(r31) -/* 801039BC 0010091C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 801039C0 00100920 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 801039C4 00100924 83 78 01 44 */ lwz r27, 0x144(r24) -/* 801039C8 00100928 48 1C EF 21 */ bl AABoxSphereIntersectionRadius__13CollisionUtilFRC6CAABoxRC7CSphere -/* 801039CC 0010092C 80 18 01 44 */ lwz r0, 0x144(r24) -/* 801039D0 00100930 57 64 10 3A */ slwi r4, r27, 2 -/* 801039D4 00100934 38 61 00 38 */ addi r3, r1, 0x38 -/* 801039D8 00100938 C0 02 94 08 */ lfs f0, lbl_805AB128@sda21(r2) -/* 801039DC 0010093C 7C 23 25 2E */ stfsx f1, r3, r4 -/* 801039E0 00100940 54 06 10 3A */ slwi r6, r0, 2 -/* 801039E4 00100944 7C 23 34 2E */ lfsx f1, r3, r6 -/* 801039E8 00100948 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801039EC 0010094C 4C 41 13 82 */ cror 2, 1, 2 -/* 801039F0 00100950 40 82 00 1C */ bne lbl_80103A0C -/* 801039F4 00100954 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 801039F8 00100958 38 A1 00 48 */ addi r5, r1, 0x48 -/* 801039FC 0010095C 7F E4 FB 78 */ mr r4, r31 -/* 80103A00 00100960 38 78 01 44 */ addi r3, r24, 0x144 -/* 80103A04 00100964 7C 05 31 2E */ stwx r0, r5, r6 -/* 80103A08 00100968 4B FF F8 45 */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" -lbl_80103A0C: -/* 80103A0C 0010096C 3B DE 00 50 */ addi r30, r30, 0x50 -/* 80103A10 00100970 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80103A14: -/* 80103A14 00100974 80 19 08 E4 */ lwz r0, 0x8e4(r25) -/* 80103A18 00100978 7C 1C 00 00 */ cmpw r28, r0 -/* 80103A1C 0010097C 40 80 00 10 */ bge lbl_80103A2C -/* 80103A20 00100980 80 78 01 44 */ lwz r3, 0x144(r24) -/* 80103A24 00100984 2C 03 00 04 */ cmpwi r3, 4 -/* 80103A28 00100988 41 80 FE 24 */ blt lbl_8010384C -lbl_80103A2C: -/* 80103A2C 0010098C BA E1 00 5C */ lmw r23, 0x5c(r1) -/* 80103A30 00100990 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80103A34 00100994 7C 08 03 A6 */ mtlr r0 -/* 80103A38 00100998 38 21 00 80 */ addi r1, r1, 0x80 - -.global sub_80103a3c -sub_80103a3c: -/* 80103A3C 0010099C 4E 80 00 20 */ blr - -.global MoveAmbienceToLights__12CActorLightsFRC9CVector3f -MoveAmbienceToLights__12CActorLightsFRC9CVector3f: -/* 80103A40 001009A0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80103A44 001009A4 7C 08 02 A6 */ mflr r0 -/* 80103A48 001009A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80103A4C 001009AC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80103A50 001009B0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80103A54 001009B4 7C 9E 23 78 */ mr r30, r4 -/* 80103A58 001009B8 88 03 02 98 */ lbz r0, 0x298(r3) -/* 80103A5C 001009BC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80103A60 001009C0 40 82 00 1C */ bne lbl_80103A7C -/* 80103A64 001009C4 88 0D 89 A0 */ lbz r0, lbl_805A7560@sda21(r13) -/* 80103A68 001009C8 28 00 00 00 */ cmplwi r0, 0 -/* 80103A6C 001009CC 41 82 00 10 */ beq lbl_80103A7C -/* 80103A70 001009D0 80 03 00 00 */ lwz r0, 0(r3) -/* 80103A74 001009D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80103A78 001009D8 40 82 00 48 */ bne lbl_80103AC0 -lbl_80103A7C: -/* 80103A7C 001009DC C0 82 94 28 */ lfs f4, lbl_805AB148@sda21(r2) -/* 80103A80 001009E0 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80103A84 001009E4 C0 7E 00 04 */ lfs f3, 4(r30) -/* 80103A88 001009E8 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80103A8C 001009EC C0 23 02 88 */ lfs f1, 0x288(r3) -/* 80103A90 001009F0 C0 5E 00 08 */ lfs f2, 8(r30) -/* 80103A94 001009F4 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80103A98 001009F8 EC 01 00 2A */ fadds f0, f1, f0 -/* 80103A9C 001009FC EC 24 00 B2 */ fmuls f1, f4, f2 -/* 80103AA0 00100A00 D0 03 02 88 */ stfs f0, 0x288(r3) -/* 80103AA4 00100A04 C0 03 02 8C */ lfs f0, 0x28c(r3) -/* 80103AA8 00100A08 EC 00 18 2A */ fadds f0, f0, f3 -/* 80103AAC 00100A0C D0 03 02 8C */ stfs f0, 0x28c(r3) -/* 80103AB0 00100A10 C0 03 02 90 */ lfs f0, 0x290(r3) -/* 80103AB4 00100A14 EC 00 08 2A */ fadds f0, f0, f1 -/* 80103AB8 00100A18 D0 03 02 90 */ stfs f0, 0x290(r3) -/* 80103ABC 00100A1C 48 00 00 E4 */ b lbl_80103BA0 -lbl_80103AC0: -/* 80103AC0 00100A20 3B E3 00 04 */ addi r31, r3, 4 -/* 80103AC4 00100A24 38 81 00 18 */ addi r4, r1, 0x18 -/* 80103AC8 00100A28 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80103ACC 00100A2C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80103AD0 00100A30 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80103AD4 00100A34 48 25 F8 65 */ bl Get__6CColorCFRfRfRf -/* 80103AD8 00100A38 C0 7E 00 04 */ lfs f3, 4(r30) -/* 80103ADC 00100A3C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80103AE0 00100A40 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80103AE4 00100A44 38 81 00 24 */ addi r4, r1, 0x24 -/* 80103AE8 00100A48 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80103AEC 00100A4C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80103AF0 00100A50 EC 63 10 2A */ fadds f3, f3, f2 -/* 80103AF4 00100A54 C0 5E 00 08 */ lfs f2, 8(r30) -/* 80103AF8 00100A58 EC 01 00 2A */ fadds f0, f1, f0 -/* 80103AFC 00100A5C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80103B00 00100A60 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80103B04 00100A64 EC 22 08 2A */ fadds f1, f2, f1 -/* 80103B08 00100A68 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 80103B0C 00100A6C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80103B10 00100A70 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80103B14 00100A74 40 80 00 08 */ bge lbl_80103B1C -/* 80103B18 00100A78 48 00 00 08 */ b lbl_80103B20 -lbl_80103B1C: -/* 80103B1C 00100A7C 38 61 00 1C */ addi r3, r1, 0x1c -lbl_80103B20: -/* 80103B20 00100A80 C0 23 00 00 */ lfs f1, 0(r3) -/* 80103B24 00100A84 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80103B28 00100A88 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80103B2C 00100A8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80103B30 00100A90 40 80 00 08 */ bge lbl_80103B38 -/* 80103B34 00100A94 48 00 00 08 */ b lbl_80103B3C -lbl_80103B38: -/* 80103B38 00100A98 38 81 00 0C */ addi r4, r1, 0xc -lbl_80103B3C: -/* 80103B3C 00100A9C C0 24 00 00 */ lfs f1, 0(r4) -/* 80103B40 00100AA0 C0 02 94 0C */ lfs f0, lbl_805AB12C@sda21(r2) -/* 80103B44 00100AA4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80103B48 00100AA8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80103B4C 00100AAC 40 81 00 30 */ ble lbl_80103B7C -/* 80103B50 00100AB0 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) -/* 80103B54 00100AB4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80103B58 00100AB8 EC 60 08 24 */ fdivs f3, f0, f1 -/* 80103B5C 00100ABC C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80103B60 00100AC0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80103B64 00100AC4 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80103B68 00100AC8 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80103B6C 00100ACC EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80103B70 00100AD0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80103B74 00100AD4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80103B78 00100AD8 D0 01 00 24 */ stfs f0, 0x24(r1) -lbl_80103B7C: -/* 80103B7C 00100ADC C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80103B80 00100AE0 38 61 00 08 */ addi r3, r1, 8 -/* 80103B84 00100AE4 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80103B88 00100AE8 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 80103B8C 00100AEC C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) -/* 80103B90 00100AF0 48 25 F8 5D */ bl __ct__6CColorFffff -/* 80103B94 00100AF4 7C 64 1B 78 */ mr r4, r3 -/* 80103B98 00100AF8 7F E3 FB 78 */ mr r3, r31 -/* 80103B9C 00100AFC 48 20 27 C1 */ bl SetColor__6CLightFRC6CColor -lbl_80103BA0: -/* 80103BA0 00100B00 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80103BA4 00100B04 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80103BA8 00100B08 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80103BAC 00100B0C 7C 08 03 A6 */ mtlr r0 -/* 80103BB0 00100B10 38 21 00 30 */ addi r1, r1, 0x30 -/* 80103BB4 00100B14 4E 80 00 20 */ blr - -.global AddOverflowToLights__12CActorLightsFRC6CLightRC9CVector3f -AddOverflowToLights__12CActorLightsFRC6CLightRC9CVector3f: -/* 80103BB8 00100B18 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80103BBC 00100B1C 7C 08 02 A6 */ mflr r0 -/* 80103BC0 00100B20 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80103BC4 00100B24 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 80103BC8 00100B28 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 80103BCC 00100B2C 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 80103BD0 00100B30 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 80103BD4 00100B34 C0 02 94 2C */ lfs f0, lbl_805AB14C@sda21(r2) -/* 80103BD8 00100B38 7C 7E 1B 78 */ mr r30, r3 -/* 80103BDC 00100B3C 7C 9F 23 78 */ mr r31, r4 -/* 80103BE0 00100B40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80103BE4 00100B44 41 80 00 E0 */ blt lbl_80103CC4 -/* 80103BE8 00100B48 80 1E 02 B8 */ lwz r0, 0x2b8(r30) -/* 80103BEC 00100B4C 2C 00 00 01 */ cmpwi r0, 1 -/* 80103BF0 00100B50 40 80 00 08 */ bge lbl_80103BF8 -/* 80103BF4 00100B54 48 00 00 D0 */ b lbl_80103CC4 -lbl_80103BF8: -/* 80103BF8 00100B58 C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) -/* 80103BFC 00100B5C 38 61 00 08 */ addi r3, r1, 8 -/* 80103C00 00100B60 C0 65 00 00 */ lfs f3, 0(r5) -/* 80103C04 00100B64 EF E4 08 24 */ fdivs f31, f4, f1 -/* 80103C08 00100B68 C0 45 00 04 */ lfs f2, 4(r5) -/* 80103C0C 00100B6C C0 05 00 08 */ lfs f0, 8(r5) -/* 80103C10 00100B70 EC 3F 00 F2 */ fmuls f1, f31, f3 -/* 80103C14 00100B74 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80103C18 00100B78 EC 7F 00 32 */ fmuls f3, f31, f0 -/* 80103C1C 00100B7C 48 25 F7 D1 */ bl __ct__6CColorFffff -/* 80103C20 00100B80 C0 5F 00 10 */ lfs f2, 0x10(r31) -/* 80103C24 00100B84 38 61 00 24 */ addi r3, r1, 0x24 -/* 80103C28 00100B88 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 80103C2C 00100B8C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80103C30 00100B90 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80103C34 00100B94 ED 5F 00 B2 */ fmuls f10, f31, f2 -/* 80103C38 00100B98 C0 5F 00 04 */ lfs f2, 4(r31) -/* 80103C3C 00100B9C ED 3F 00 72 */ fmuls f9, f31, f1 -/* 80103C40 00100BA0 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80103C44 00100BA4 EC DF 00 32 */ fmuls f6, f31, f0 -/* 80103C48 00100BA8 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80103C4C 00100BAC ED 1F 00 B2 */ fmuls f8, f31, f2 -/* 80103C50 00100BB0 C1 7F 00 38 */ lfs f11, 0x38(r31) -/* 80103C54 00100BB4 EC FF 00 72 */ fmuls f7, f31, f1 -/* 80103C58 00100BB8 C0 3F 00 34 */ lfs f1, 0x34(r31) -/* 80103C5C 00100BBC EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80103C60 00100BC0 C0 5F 00 30 */ lfs f2, 0x30(r31) -/* 80103C64 00100BC4 C0 7F 00 2C */ lfs f3, 0x2c(r31) -/* 80103C68 00100BC8 EC 9F 00 B2 */ fmuls f4, f31, f2 -/* 80103C6C 00100BCC C0 5F 00 28 */ lfs f2, 0x28(r31) -/* 80103C70 00100BD0 EC BF 00 72 */ fmuls f5, f31, f1 -/* 80103C74 00100BD4 C0 3F 00 24 */ lfs f1, 0x24(r31) -/* 80103C78 00100BD8 EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 80103C7C 00100BDC EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80103C80 00100BE0 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80103C84 00100BE4 D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 80103C88 00100BE8 EC DF 02 F2 */ fmuls f6, f31, f11 -/* 80103C8C 00100BEC 38 A1 00 0C */ addi r5, r1, 0xc -/* 80103C90 00100BF0 D1 41 00 10 */ stfs f10, 0x10(r1) -/* 80103C94 00100BF4 38 C1 00 08 */ addi r6, r1, 8 -/* 80103C98 00100BF8 D1 21 00 14 */ stfs f9, 0x14(r1) -/* 80103C9C 00100BFC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80103CA0 00100C00 D1 01 00 1C */ stfs f8, 0x1c(r1) -/* 80103CA4 00100C04 D0 E1 00 20 */ stfs f7, 0x20(r1) -/* 80103CA8 00100C08 48 20 27 35 */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff -/* 80103CAC 00100C0C 38 61 00 74 */ addi r3, r1, 0x74 -/* 80103CB0 00100C10 38 81 00 24 */ addi r4, r1, 0x24 -/* 80103CB4 00100C14 4B F3 78 BD */ bl __ct__6CLightFCR6CLight -/* 80103CB8 00100C18 7F C3 F3 78 */ mr r3, r30 -/* 80103CBC 00100C1C 38 81 00 74 */ addi r4, r1, 0x74 -/* 80103CC0 00100C20 4B FF F5 8D */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" -lbl_80103CC4: -/* 80103CC4 00100C24 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80103CC8 00100C28 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80103CCC 00100C2C CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 80103CD0 00100C30 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 80103CD4 00100C34 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 80103CD8 00100C38 7C 08 03 A6 */ mtlr r0 -/* 80103CDC 00100C3C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80103CE0 00100C40 4E 80 00 20 */ blr - -.global MultiplyLightingLevels__12CActorLightsFf -MultiplyLightingLevels__12CActorLightsFf: -/* 80103CE4 00100C44 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80103CE8 00100C48 7C 08 02 A6 */ mflr r0 -/* 80103CEC 00100C4C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80103CF0 00100C50 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80103CF4 00100C54 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80103CF8 00100C58 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80103CFC 00100C5C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80103D00 00100C60 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80103D04 00100C64 7C 7D 1B 78 */ mr r29, r3 -/* 80103D08 00100C68 FF E0 08 90 */ fmr f31, f1 -/* 80103D0C 00100C6C C0 03 02 88 */ lfs f0, 0x288(r3) -/* 80103D10 00100C70 3B FD 00 04 */ addi r31, r29, 4 -/* 80103D14 00100C74 3B C0 00 00 */ li r30, 0 -/* 80103D18 00100C78 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80103D1C 00100C7C D0 03 02 88 */ stfs f0, 0x288(r3) -/* 80103D20 00100C80 C0 03 02 8C */ lfs f0, 0x28c(r3) -/* 80103D24 00100C84 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80103D28 00100C88 D0 03 02 8C */ stfs f0, 0x28c(r3) -/* 80103D2C 00100C8C C0 03 02 90 */ lfs f0, 0x290(r3) -/* 80103D30 00100C90 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80103D34 00100C94 D0 03 02 90 */ stfs f0, 0x290(r3) -/* 80103D38 00100C98 48 00 00 58 */ b lbl_80103D90 -lbl_80103D3C: -/* 80103D3C 00100C9C 80 1F 00 18 */ lwz r0, 0x18(r31) -/* 80103D40 00100CA0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80103D44 00100CA4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80103D48 00100CA8 38 A1 00 0C */ addi r5, r1, 0xc -/* 80103D4C 00100CAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80103D50 00100CB0 38 C1 00 08 */ addi r6, r1, 8 -/* 80103D54 00100CB4 48 25 F5 E5 */ bl Get__6CColorCFRfRfRf -/* 80103D58 00100CB8 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80103D5C 00100CBC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80103D60 00100CC0 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80103D64 00100CC4 C0 01 00 08 */ lfs f0, 8(r1) -/* 80103D68 00100CC8 EC 21 07 F2 */ fmuls f1, f1, f31 -/* 80103D6C 00100CCC EC 42 07 F2 */ fmuls f2, f2, f31 -/* 80103D70 00100CD0 C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) -/* 80103D74 00100CD4 EC 60 07 F2 */ fmuls f3, f0, f31 -/* 80103D78 00100CD8 48 25 F6 25 */ bl Set__6CColorFffff -/* 80103D7C 00100CDC 7F E3 FB 78 */ mr r3, r31 -/* 80103D80 00100CE0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80103D84 00100CE4 48 20 25 D9 */ bl SetColor__6CLightFRC6CColor -/* 80103D88 00100CE8 3B FF 00 50 */ addi r31, r31, 0x50 -/* 80103D8C 00100CEC 3B DE 00 01 */ addi r30, r30, 1 -lbl_80103D90: -/* 80103D90 00100CF0 80 1D 00 00 */ lwz r0, 0(r29) -/* 80103D94 00100CF4 7C 1E 00 00 */ cmpw r30, r0 -/* 80103D98 00100CF8 41 80 FF A4 */ blt lbl_80103D3C -/* 80103D9C 00100CFC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80103DA0 00100D00 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80103DA4 00100D04 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80103DA8 00100D08 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80103DAC 00100D0C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80103DB0 00100D10 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80103DB4 00100D14 7C 08 03 A6 */ mtlr r0 -/* 80103DB8 00100D18 38 21 00 40 */ addi r1, r1, 0x40 -/* 80103DBC 00100D1C 4E 80 00 20 */ blr - -.global BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox -BuildAreaLightList__12CActorLightsFRC13CStateManagerRC9CGameAreaRC6CAABox: -/* 80103DC0 00100D20 94 21 FD 60 */ stwu r1, -0x2a0(r1) -/* 80103DC4 00100D24 7C 08 02 A6 */ mflr r0 -/* 80103DC8 00100D28 90 01 02 A4 */ stw r0, 0x2a4(r1) -/* 80103DCC 00100D2C DB E1 02 90 */ stfd f31, 0x290(r1) -/* 80103DD0 00100D30 F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 -/* 80103DD4 00100D34 DB C1 02 80 */ stfd f30, 0x280(r1) -/* 80103DD8 00100D38 F3 C1 02 88 */ psq_st f30, 648(r1), 0, qr0 -/* 80103DDC 00100D3C BD C1 02 38 */ stmw r14, 0x238(r1) -/* 80103DE0 00100D40 7C 3F 0B 78 */ mr r31, r1 -/* 80103DE4 00100D44 88 03 02 98 */ lbz r0, 0x298(r3) -/* 80103DE8 00100D48 7C 7C 1B 78 */ mr r28, r3 -/* 80103DEC 00100D4C 7C BD 2B 78 */ mr r29, r5 -/* 80103DF0 00100D50 7C DE 33 78 */ mr r30, r6 -/* 80103DF4 00100D54 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80103DF8 00100D58 41 82 00 10 */ beq lbl_80103E08 -/* 80103DFC 00100D5C 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80103E00 00100D60 38 63 00 80 */ addi r3, r3, 0x80 -/* 80103E04 00100D64 48 00 00 0C */ b lbl_80103E10 -lbl_80103E08: -/* 80103E08 00100D68 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80103E0C 00100D6C 38 63 00 60 */ addi r3, r3, 0x60 -lbl_80103E10: -/* 80103E10 00100D70 80 A3 00 04 */ lwz r5, 4(r3) -/* 80103E14 00100D74 88 1C 02 98 */ lbz r0, 0x298(r28) -/* 80103E18 00100D78 7C 65 00 D0 */ neg r3, r5 -/* 80103E1C 00100D7C 7C 63 2B 78 */ or r3, r3, r5 -/* 80103E20 00100D80 50 60 36 B4 */ rlwimi r0, r3, 6, 0x1a, 0x1a -/* 80103E24 00100D84 98 1C 02 98 */ stb r0, 0x298(r28) -/* 80103E28 00100D88 88 BC 02 98 */ lbz r5, 0x298(r28) -/* 80103E2C 00100D8C 54 A0 DF FF */ rlwinm. r0, r5, 0x1b, 0x1f, 0x1f -/* 80103E30 00100D90 41 82 00 0C */ beq lbl_80103E3C -/* 80103E34 00100D94 54 A0 EF FF */ rlwinm. r0, r5, 0x1d, 0x1f, 0x1f -/* 80103E38 00100D98 40 82 00 2C */ bne lbl_80103E64 -lbl_80103E3C: -/* 80103E3C 00100D9C 88 1C 02 98 */ lbz r0, 0x298(r28) -/* 80103E40 00100DA0 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80103E44 00100DA4 41 82 00 10 */ beq lbl_80103E54 -/* 80103E48 00100DA8 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80103E4C 00100DAC C0 03 11 28 */ lfs f0, 0x1128(r3) -/* 80103E50 00100DB0 D0 1C 02 D4 */ stfs f0, 0x2d4(r28) -lbl_80103E54: -/* 80103E54 00100DB4 38 00 FF FF */ li r0, -1 -/* 80103E58 00100DB8 38 60 00 01 */ li r3, 1 -/* 80103E5C 00100DBC 90 1C 02 9C */ stw r0, 0x29c(r28) -/* 80103E60 00100DC0 48 00 0C E4 */ b lbl_80104B44 -lbl_80103E64: -/* 80103E64 00100DC4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80103E68 00100DC8 54 A0 CF FF */ rlwinm. r0, r5, 0x19, 0x1f, 0x1f -/* 80103E6C 00100DCC 3A 43 66 A0 */ addi r18, r3, skZero3f@l -/* 80103E70 00100DD0 C0 52 00 00 */ lfs f2, 0(r18) -/* 80103E74 00100DD4 C0 32 00 04 */ lfs f1, 4(r18) -/* 80103E78 00100DD8 C0 12 00 08 */ lfs f0, 8(r18) -/* 80103E7C 00100DDC D0 5F 00 B8 */ stfs f2, 0xb8(r31) -/* 80103E80 00100DE0 D0 3F 00 BC */ stfs f1, 0xbc(r31) -/* 80103E84 00100DE4 D0 1F 00 C0 */ stfs f0, 0xc0(r31) -/* 80103E88 00100DE8 40 82 00 F0 */ bne lbl_80103F78 -/* 80103E8C 00100DEC 80 7C 02 94 */ lwz r3, 0x294(r28) -/* 80103E90 00100DF0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80103E94 00100DF4 7C 03 00 00 */ cmpw r3, r0 -/* 80103E98 00100DF8 40 82 00 E0 */ bne lbl_80103F78 -/* 80103E9C 00100DFC 80 7C 02 A4 */ lwz r3, 0x2a4(r28) -/* 80103EA0 00100E00 80 84 08 D4 */ lwz r4, 0x8d4(r4) -/* 80103EA4 00100E04 80 1C 02 A8 */ lwz r0, 0x2a8(r28) -/* 80103EA8 00100E08 7C 63 20 50 */ subf r3, r3, r4 -/* 80103EAC 00100E0C 7C 03 00 40 */ cmplw r3, r0 -/* 80103EB0 00100E10 40 80 00 0C */ bge lbl_80103EBC -/* 80103EB4 00100E14 38 60 00 00 */ li r3, 0 -/* 80103EB8 00100E18 48 00 0C 8C */ b lbl_80104B44 -lbl_80103EBC: -/* 80103EBC 00100E1C 90 9C 02 A4 */ stw r4, 0x2a4(r28) -/* 80103EC0 00100E20 7F C4 F3 78 */ mr r4, r30 -/* 80103EC4 00100E24 38 7F 00 7C */ addi r3, r31, 0x7c -/* 80103EC8 00100E28 48 23 37 45 */ bl GetCenterPoint__6CAABoxCFv -/* 80103ECC 00100E2C C0 3F 00 80 */ lfs f1, 0x80(r31) -/* 80103ED0 00100E30 C0 1C 02 B0 */ lfs f0, 0x2b0(r28) -/* 80103ED4 00100E34 C0 7F 00 84 */ lfs f3, 0x84(r31) -/* 80103ED8 00100E38 C0 5C 02 B4 */ lfs f2, 0x2b4(r28) -/* 80103EDC 00100E3C EC A1 00 2A */ fadds f5, f1, f0 -/* 80103EE0 00100E40 C0 1C 02 AC */ lfs f0, 0x2ac(r28) -/* 80103EE4 00100E44 C0 3F 00 7C */ lfs f1, 0x7c(r31) -/* 80103EE8 00100E48 EC 83 10 2A */ fadds f4, f3, f2 -/* 80103EEC 00100E4C D0 BF 00 BC */ stfs f5, 0xbc(r31) -/* 80103EF0 00100E50 EC 41 00 2A */ fadds f2, f1, f0 -/* 80103EF4 00100E54 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80103EF8 00100E58 D0 9F 00 C0 */ stfs f4, 0xc0(r31) -/* 80103EFC 00100E5C D0 5F 00 B8 */ stfs f2, 0xb8(r31) -/* 80103F00 00100E60 C0 3C 02 D4 */ lfs f1, 0x2d4(r28) -/* 80103F04 00100E64 C0 03 11 28 */ lfs f0, 0x1128(r3) -/* 80103F08 00100E68 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80103F0C 00100E6C 40 82 00 50 */ bne lbl_80103F5C -/* 80103F10 00100E70 C0 3C 02 C4 */ lfs f1, 0x2c4(r28) -/* 80103F14 00100E74 C0 1C 02 C0 */ lfs f0, 0x2c0(r28) -/* 80103F18 00100E78 EC A1 28 28 */ fsubs f5, f1, f5 -/* 80103F1C 00100E7C C0 3C 02 C8 */ lfs f1, 0x2c8(r28) -/* 80103F20 00100E80 EC 60 10 28 */ fsubs f3, f0, f2 -/* 80103F24 00100E84 C0 1C 02 CC */ lfs f0, 0x2cc(r28) -/* 80103F28 00100E88 EC 81 20 28 */ fsubs f4, f1, f4 -/* 80103F2C 00100E8C EC 25 01 72 */ fmuls f1, f5, f5 -/* 80103F30 00100E90 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 80103F34 00100E94 D0 7F 00 70 */ stfs f3, 0x70(r31) -/* 80103F38 00100E98 EC 64 01 32 */ fmuls f3, f4, f4 -/* 80103F3C 00100E9C D0 BF 00 74 */ stfs f5, 0x74(r31) -/* 80103F40 00100EA0 EC 22 08 2A */ fadds f1, f2, f1 -/* 80103F44 00100EA4 D0 9F 00 78 */ stfs f4, 0x78(r31) -/* 80103F48 00100EA8 EC 23 08 2A */ fadds f1, f3, f1 -/* 80103F4C 00100EAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80103F50 00100EB0 40 80 00 0C */ bge lbl_80103F5C -/* 80103F54 00100EB4 38 60 00 00 */ li r3, 0 -/* 80103F58 00100EB8 48 00 0B EC */ b lbl_80104B44 -lbl_80103F5C: -/* 80103F5C 00100EBC C0 1F 00 B8 */ lfs f0, 0xb8(r31) -/* 80103F60 00100EC0 D0 1C 02 C0 */ stfs f0, 0x2c0(r28) -/* 80103F64 00100EC4 C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 80103F68 00100EC8 D0 1C 02 C4 */ stfs f0, 0x2c4(r28) -/* 80103F6C 00100ECC C0 1F 00 C0 */ lfs f0, 0xc0(r31) -/* 80103F70 00100ED0 D0 1C 02 C8 */ stfs f0, 0x2c8(r28) -/* 80103F74 00100ED4 48 00 00 7C */ b lbl_80103FF0 -lbl_80103F78: -/* 80103F78 00100ED8 80 7C 02 94 */ lwz r3, 0x294(r28) -/* 80103F7C 00100EDC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80103F80 00100EE0 7C 03 00 00 */ cmpw r3, r0 -/* 80103F84 00100EE4 41 82 00 0C */ beq lbl_80103F90 -/* 80103F88 00100EE8 38 00 FF FF */ li r0, -1 -/* 80103F8C 00100EEC 90 1C 02 D8 */ stw r0, 0x2d8(r28) -lbl_80103F90: -/* 80103F90 00100EF0 80 04 08 D4 */ lwz r0, 0x8d4(r4) -/* 80103F94 00100EF4 7F C4 F3 78 */ mr r4, r30 -/* 80103F98 00100EF8 80 AD A3 50 */ lwz r5, lbl_805A8F10@sda21(r13) -/* 80103F9C 00100EFC 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80103FA0 00100F00 7C 05 02 14 */ add r0, r5, r0 -/* 80103FA4 00100F04 90 1C 02 A4 */ stw r0, 0x2a4(r28) -/* 80103FA8 00100F08 48 23 36 65 */ bl GetCenterPoint__6CAABoxCFv -/* 80103FAC 00100F0C C0 3F 00 68 */ lfs f1, 0x68(r31) -/* 80103FB0 00100F10 C0 1C 02 B0 */ lfs f0, 0x2b0(r28) -/* 80103FB4 00100F14 C0 7F 00 6C */ lfs f3, 0x6c(r31) -/* 80103FB8 00100F18 C0 5C 02 B4 */ lfs f2, 0x2b4(r28) -/* 80103FBC 00100F1C EC 81 00 2A */ fadds f4, f1, f0 -/* 80103FC0 00100F20 C0 1C 02 AC */ lfs f0, 0x2ac(r28) -/* 80103FC4 00100F24 C0 3F 00 64 */ lfs f1, 0x64(r31) -/* 80103FC8 00100F28 EC 43 10 2A */ fadds f2, f3, f2 -/* 80103FCC 00100F2C D0 9F 00 BC */ stfs f4, 0xbc(r31) -/* 80103FD0 00100F30 EC 01 00 2A */ fadds f0, f1, f0 -/* 80103FD4 00100F34 D0 5F 00 C0 */ stfs f2, 0xc0(r31) -/* 80103FD8 00100F38 D0 1F 00 B8 */ stfs f0, 0xb8(r31) -/* 80103FDC 00100F3C D0 1C 02 C0 */ stfs f0, 0x2c0(r28) -/* 80103FE0 00100F40 C0 1F 00 BC */ lfs f0, 0xbc(r31) -/* 80103FE4 00100F44 D0 1C 02 C4 */ stfs f0, 0x2c4(r28) -/* 80103FE8 00100F48 C0 1F 00 C0 */ lfs f0, 0xc0(r31) -/* 80103FEC 00100F4C D0 1C 02 C8 */ stfs f0, 0x2c8(r28) -lbl_80103FF0: -/* 80103FF0 00100F50 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80103FF4 00100F54 38 80 00 00 */ li r4, 0 -/* 80103FF8 00100F58 38 00 FF FF */ li r0, -1 -/* 80103FFC 00100F5C C0 03 11 28 */ lfs f0, 0x1128(r3) -/* 80104000 00100F60 D0 1C 02 D4 */ stfs f0, 0x2d4(r28) -/* 80104004 00100F64 88 7C 02 98 */ lbz r3, 0x298(r28) -/* 80104008 00100F68 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 8010400C 00100F6C 98 7C 02 98 */ stb r3, 0x298(r28) -/* 80104010 00100F70 80 7D 00 04 */ lwz r3, 4(r29) -/* 80104014 00100F74 90 7C 02 94 */ stw r3, 0x294(r28) -/* 80104018 00100F78 90 1C 02 9C */ stw r0, 0x29c(r28) -/* 8010401C 00100F7C 88 1C 02 98 */ lbz r0, 0x298(r28) -/* 80104020 00100F80 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80104024 00100F84 41 82 00 10 */ beq lbl_80104034 -/* 80104028 00100F88 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 8010402C 00100F8C 3B 43 00 80 */ addi r26, r3, 0x80 -/* 80104030 00100F90 48 00 00 0C */ b lbl_8010403C -lbl_80104034: -/* 80104034 00100F94 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80104038 00100F98 3B 43 00 60 */ addi r26, r3, 0x60 -lbl_8010403C: -/* 8010403C 00100F9C 28 00 00 00 */ cmplwi r0, 0 -/* 80104040 00100FA0 41 82 00 10 */ beq lbl_80104050 -/* 80104044 00100FA4 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80104048 00100FA8 3B 23 00 90 */ addi r25, r3, 0x90 -/* 8010404C 00100FAC 48 00 00 0C */ b lbl_80104058 -lbl_80104050: -/* 80104050 00100FB0 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80104054 00100FB4 3B 23 00 70 */ addi r25, r3, 0x70 -lbl_80104058: -/* 80104058 00100FB8 80 7A 00 04 */ lwz r3, 4(r26) -/* 8010405C 00100FBC 80 01 00 00 */ lwz r0, 0(r1) -/* 80104060 00100FC0 1C 63 00 1C */ mulli r3, r3, 0x1c -/* 80104064 00100FC4 7E 83 00 D0 */ neg r20, r3 -/* 80104068 00100FC8 56 94 00 38 */ rlwinm r20, r20, 0, 0, 0x1c -/* 8010406C 00100FCC 7C 01 A1 6E */ stwux r0, r1, r20 -/* 80104070 00100FD0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80104074 00100FD4 3A 60 00 00 */ li r19, 0 -/* 80104078 00100FD8 3B 00 00 00 */ li r24, 0 -/* 8010407C 00100FDC C0 03 66 A0 */ lfs f0, skZero3f@l(r3) -/* 80104080 00100FE0 3A 81 00 08 */ addi r20, r1, 8 -/* 80104084 00100FE4 D0 1C 02 88 */ stfs f0, 0x288(r28) -/* 80104088 00100FE8 C0 12 00 04 */ lfs f0, 4(r18) -/* 8010408C 00100FEC D0 1C 02 8C */ stfs f0, 0x28c(r28) -/* 80104090 00100FF0 C0 12 00 08 */ lfs f0, 8(r18) -/* 80104094 00100FF4 D0 1C 02 90 */ stfs f0, 0x290(r28) -/* 80104098 00100FF8 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 8010409C 00100FFC 81 C3 00 A0 */ lwz r14, 0xa0(r3) -/* 801040A0 00101000 28 0E 00 00 */ cmplwi r14, 0 -/* 801040A4 00101004 41 82 00 14 */ beq lbl_801040B8 -/* 801040A8 00101008 80 02 85 40 */ lwz r0, lbl_805AA260@sda21(r2) -/* 801040AC 0010100C 2C 00 00 01 */ cmpwi r0, 1 -/* 801040B0 00101010 40 82 00 08 */ bne lbl_801040B8 -/* 801040B4 00101014 3B 00 00 01 */ li r24, 1 -lbl_801040B8: -/* 801040B8 00101018 88 1C 02 98 */ lbz r0, 0x298(r28) -/* 801040BC 0010101C 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 801040C0 00101020 41 82 00 28 */ beq lbl_801040E8 -/* 801040C4 00101024 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 801040C8 00101028 41 82 00 18 */ beq lbl_801040E0 -/* 801040CC 0010102C 80 6E 00 08 */ lwz r3, 8(r14) -/* 801040D0 00101030 7C 03 00 D0 */ neg r0, r3 -/* 801040D4 00101034 7C 00 1B 78 */ or r0, r0, r3 -/* 801040D8 00101038 54 16 0F FE */ srwi r22, r0, 0x1f -/* 801040DC 0010103C 48 00 00 10 */ b lbl_801040EC -lbl_801040E0: -/* 801040E0 00101040 3A C0 00 01 */ li r22, 1 -/* 801040E4 00101044 48 00 00 08 */ b lbl_801040EC -lbl_801040E8: -/* 801040E8 00101048 3A C0 00 00 */ li r22, 0 -lbl_801040EC: -/* 801040EC 0010104C 38 7F 01 78 */ addi r3, r31, 0x178 -/* 801040F0 00101050 38 80 00 02 */ li r4, 2 -/* 801040F4 00101054 48 21 22 8D */ bl Reset__10CPVSVisSetFi -/* 801040F8 00101058 38 7F 01 64 */ addi r3, r31, 0x164 -/* 801040FC 0010105C 38 80 00 02 */ li r4, 2 -/* 80104100 00101060 48 21 22 81 */ bl Reset__10CPVSVisSetFi -/* 80104104 00101064 38 7F 01 50 */ addi r3, r31, 0x150 -/* 80104108 00101068 38 80 00 02 */ li r4, 2 -/* 8010410C 0010106C 48 21 22 75 */ bl Reset__10CPVSVisSetFi -/* 80104110 00101070 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80104114 00101074 41 82 01 CC */ beq lbl_801042E0 -/* 80104118 00101078 38 7F 00 58 */ addi r3, r31, 0x58 -/* 8010411C 0010107C 38 9D 00 3C */ addi r4, r29, 0x3c -/* 80104120 00101080 38 BF 00 B8 */ addi r5, r31, 0xb8 -/* 80104124 00101084 48 20 E9 C5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80104128 00101088 7D C3 73 78 */ mr r3, r14 -/* 8010412C 0010108C 48 1A A3 59 */ bl GetVisOctree__13CPVSVisOctreeFv -/* 80104130 00101090 7C 64 1B 78 */ mr r4, r3 -/* 80104134 00101094 38 7F 01 24 */ addi r3, r31, 0x124 -/* 80104138 00101098 38 BF 00 58 */ addi r5, r31, 0x58 -/* 8010413C 0010109C 48 21 1E 3D */ bl SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f -/* 80104140 001010A0 80 9F 01 24 */ lwz r4, 0x124(r31) -/* 80104144 001010A4 39 FF 01 30 */ addi r15, r31, 0x130 -/* 80104148 001010A8 38 BF 01 84 */ addi r5, r31, 0x184 -/* 8010414C 001010AC 80 7F 01 28 */ lwz r3, 0x128(r31) -/* 80104150 001010B0 80 1F 01 2C */ lwz r0, 0x12c(r31) -/* 80104154 001010B4 7C 0F 28 40 */ cmplw r15, r5 -/* 80104158 001010B8 90 9F 01 78 */ stw r4, 0x178(r31) -/* 8010415C 001010BC 90 7F 01 7C */ stw r3, 0x17c(r31) -/* 80104160 001010C0 90 1F 01 80 */ stw r0, 0x180(r31) -/* 80104164 001010C4 41 82 00 30 */ beq lbl_80104194 -/* 80104168 001010C8 88 1F 01 84 */ lbz r0, 0x184(r31) -/* 8010416C 001010CC 28 00 00 00 */ cmplwi r0, 0 -/* 80104170 001010D0 41 82 00 0C */ beq lbl_8010417C -/* 80104174 001010D4 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80104178 001010D8 48 21 17 B9 */ bl Free__7CMemoryFPCv -lbl_8010417C: -/* 8010417C 001010DC 88 9F 01 30 */ lbz r4, 0x130(r31) -/* 80104180 001010E0 38 00 00 00 */ li r0, 0 -/* 80104184 001010E4 80 7F 01 34 */ lwz r3, 0x134(r31) -/* 80104188 001010E8 98 9F 01 84 */ stb r4, 0x184(r31) -/* 8010418C 001010EC 90 7F 01 88 */ stw r3, 0x188(r31) -/* 80104190 001010F0 98 1F 01 30 */ stb r0, 0x130(r31) -lbl_80104194: -/* 80104194 001010F4 28 0F 00 00 */ cmplwi r15, 0 -/* 80104198 001010F8 41 82 00 18 */ beq lbl_801041B0 -/* 8010419C 001010FC 88 1F 01 30 */ lbz r0, 0x130(r31) -/* 801041A0 00101100 28 00 00 00 */ cmplwi r0, 0 -/* 801041A4 00101104 41 82 00 0C */ beq lbl_801041B0 -/* 801041A8 00101108 80 7F 01 34 */ lwz r3, 0x134(r31) -/* 801041AC 0010110C 48 21 17 85 */ bl Free__7CMemoryFPCv -lbl_801041B0: -/* 801041B0 00101110 38 7F 00 4C */ addi r3, r31, 0x4c -/* 801041B4 00101114 38 9D 00 3C */ addi r4, r29, 0x3c -/* 801041B8 00101118 38 BE 00 0C */ addi r5, r30, 0xc -/* 801041BC 0010111C 48 20 E9 2D */ bl __ml__12CTransform4fCFRC9CVector3f -/* 801041C0 00101120 7D C3 73 78 */ mr r3, r14 -/* 801041C4 00101124 48 1A A2 C1 */ bl GetVisOctree__13CPVSVisOctreeFv -/* 801041C8 00101128 7C 64 1B 78 */ mr r4, r3 -/* 801041CC 0010112C 38 7F 01 10 */ addi r3, r31, 0x110 -/* 801041D0 00101130 38 BF 00 4C */ addi r5, r31, 0x4c -/* 801041D4 00101134 48 21 1D A5 */ bl SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f -/* 801041D8 00101138 80 9F 01 10 */ lwz r4, 0x110(r31) -/* 801041DC 0010113C 39 FF 01 1C */ addi r15, r31, 0x11c -/* 801041E0 00101140 38 BF 01 70 */ addi r5, r31, 0x170 -/* 801041E4 00101144 80 7F 01 14 */ lwz r3, 0x114(r31) -/* 801041E8 00101148 80 1F 01 18 */ lwz r0, 0x118(r31) -/* 801041EC 0010114C 7C 0F 28 40 */ cmplw r15, r5 -/* 801041F0 00101150 90 9F 01 64 */ stw r4, 0x164(r31) -/* 801041F4 00101154 90 7F 01 68 */ stw r3, 0x168(r31) -/* 801041F8 00101158 90 1F 01 6C */ stw r0, 0x16c(r31) -/* 801041FC 0010115C 41 82 00 30 */ beq lbl_8010422C -/* 80104200 00101160 88 1F 01 70 */ lbz r0, 0x170(r31) -/* 80104204 00101164 28 00 00 00 */ cmplwi r0, 0 -/* 80104208 00101168 41 82 00 0C */ beq lbl_80104214 -/* 8010420C 0010116C 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80104210 00101170 48 21 17 21 */ bl Free__7CMemoryFPCv -lbl_80104214: -/* 80104214 00101174 88 9F 01 1C */ lbz r4, 0x11c(r31) -/* 80104218 00101178 38 00 00 00 */ li r0, 0 -/* 8010421C 0010117C 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 80104220 00101180 98 9F 01 70 */ stb r4, 0x170(r31) -/* 80104224 00101184 90 7F 01 74 */ stw r3, 0x174(r31) -/* 80104228 00101188 98 1F 01 1C */ stb r0, 0x11c(r31) -lbl_8010422C: -/* 8010422C 0010118C 28 0F 00 00 */ cmplwi r15, 0 -/* 80104230 00101190 41 82 00 18 */ beq lbl_80104248 -/* 80104234 00101194 88 1F 01 1C */ lbz r0, 0x11c(r31) -/* 80104238 00101198 28 00 00 00 */ cmplwi r0, 0 -/* 8010423C 0010119C 41 82 00 0C */ beq lbl_80104248 -/* 80104240 001011A0 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 80104244 001011A4 48 21 16 ED */ bl Free__7CMemoryFPCv -lbl_80104248: -/* 80104248 001011A8 7F C5 F3 78 */ mr r5, r30 -/* 8010424C 001011AC 38 7F 00 40 */ addi r3, r31, 0x40 -/* 80104250 001011B0 38 9D 00 3C */ addi r4, r29, 0x3c -/* 80104254 001011B4 48 20 E8 95 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80104258 001011B8 7D C3 73 78 */ mr r3, r14 -/* 8010425C 001011BC 48 1A A2 29 */ bl GetVisOctree__13CPVSVisOctreeFv -/* 80104260 001011C0 7C 64 1B 78 */ mr r4, r3 -/* 80104264 001011C4 38 7F 00 FC */ addi r3, r31, 0xfc -/* 80104268 001011C8 38 BF 00 40 */ addi r5, r31, 0x40 -/* 8010426C 001011CC 48 21 1D 0D */ bl SetTestPoint__10CPVSVisSetFRC13CPVSVisOctreeRC9CVector3f -/* 80104270 001011D0 80 9F 00 FC */ lwz r4, 0xfc(r31) -/* 80104274 001011D4 39 DF 01 08 */ addi r14, r31, 0x108 -/* 80104278 001011D8 38 BF 01 5C */ addi r5, r31, 0x15c -/* 8010427C 001011DC 80 7F 01 00 */ lwz r3, 0x100(r31) -/* 80104280 001011E0 80 1F 01 04 */ lwz r0, 0x104(r31) -/* 80104284 001011E4 7C 0E 28 40 */ cmplw r14, r5 -/* 80104288 001011E8 90 9F 01 50 */ stw r4, 0x150(r31) -/* 8010428C 001011EC 90 7F 01 54 */ stw r3, 0x154(r31) -/* 80104290 001011F0 90 1F 01 58 */ stw r0, 0x158(r31) -/* 80104294 001011F4 41 82 00 30 */ beq lbl_801042C4 -/* 80104298 001011F8 88 1F 01 5C */ lbz r0, 0x15c(r31) -/* 8010429C 001011FC 28 00 00 00 */ cmplwi r0, 0 -/* 801042A0 00101200 41 82 00 0C */ beq lbl_801042AC -/* 801042A4 00101204 80 7F 01 60 */ lwz r3, 0x160(r31) -/* 801042A8 00101208 48 21 16 89 */ bl Free__7CMemoryFPCv -lbl_801042AC: -/* 801042AC 0010120C 88 9F 01 08 */ lbz r4, 0x108(r31) -/* 801042B0 00101210 38 00 00 00 */ li r0, 0 -/* 801042B4 00101214 80 7F 01 0C */ lwz r3, 0x10c(r31) -/* 801042B8 00101218 98 9F 01 5C */ stb r4, 0x15c(r31) -/* 801042BC 0010121C 90 7F 01 60 */ stw r3, 0x160(r31) -/* 801042C0 00101220 98 1F 01 08 */ stb r0, 0x108(r31) -lbl_801042C4: -/* 801042C4 00101224 28 0E 00 00 */ cmplwi r14, 0 -/* 801042C8 00101228 41 82 00 18 */ beq lbl_801042E0 -/* 801042CC 0010122C 88 1F 01 08 */ lbz r0, 0x108(r31) -/* 801042D0 00101230 28 00 00 00 */ cmplwi r0, 0 -/* 801042D4 00101234 41 82 00 0C */ beq lbl_801042E0 -/* 801042D8 00101238 80 7F 01 0C */ lwz r3, 0x10c(r31) -/* 801042DC 0010123C 48 21 16 55 */ bl Free__7CMemoryFPCv -lbl_801042E0: -/* 801042E0 00101240 39 C0 00 00 */ li r14, 0 -/* 801042E4 00101244 7E 90 A3 78 */ mr r16, r20 -/* 801042E8 00101248 7D CF 73 78 */ mr r15, r14 -/* 801042EC 0010124C 3A 20 00 00 */ li r17, 0 -/* 801042F0 00101250 48 00 01 E8 */ b lbl_801044D8 -lbl_801042F4: -/* 801042F4 00101254 80 19 00 0C */ lwz r0, 0xc(r25) -/* 801042F8 00101258 7E E0 72 14 */ add r23, r0, r14 -/* 801042FC 0010125C 80 17 00 1C */ lwz r0, 0x1c(r23) -/* 80104300 00101260 2C 00 00 03 */ cmpwi r0, 3 -/* 80104304 00101264 40 82 00 30 */ bne lbl_80104334 -/* 80104308 00101268 7E E4 BB 78 */ mr r4, r23 -/* 8010430C 0010126C 38 7F 00 34 */ addi r3, r31, 0x34 -/* 80104310 00101270 38 BF 00 B8 */ addi r5, r31, 0xb8 -/* 80104314 00101274 48 20 1D 11 */ bl GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f -/* 80104318 00101278 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 8010431C 0010127C D0 1C 02 88 */ stfs f0, 0x288(r28) -/* 80104320 00101280 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80104324 00101284 D0 1C 02 8C */ stfs f0, 0x28c(r28) -/* 80104328 00101288 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 8010432C 0010128C D0 1C 02 90 */ stfs f0, 0x290(r28) -/* 80104330 00101290 48 00 01 9C */ b lbl_801044CC -lbl_80104334: -/* 80104334 00101294 38 60 00 02 */ li r3, 2 -/* 80104338 00101298 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 8010433C 0010129C 90 7F 00 14 */ stw r3, 0x14(r31) -/* 80104340 001012A0 41 82 00 C0 */ beq lbl_80104400 -/* 80104344 001012A4 80 7A 00 0C */ lwz r3, 0xc(r26) -/* 80104348 001012A8 38 0F 00 34 */ addi r0, r15, 0x34 -/* 8010434C 001012AC 7C 03 00 AE */ lbzx r0, r3, r0 -/* 80104350 001012B0 28 00 00 00 */ cmplwi r0, 0 -/* 80104354 001012B4 41 82 00 AC */ beq lbl_80104400 -/* 80104358 001012B8 56 C0 06 3F */ clrlwi. r0, r22, 0x18 -/* 8010435C 001012BC 41 82 00 18 */ beq lbl_80104374 -/* 80104360 001012C0 7F A3 EB 78 */ mr r3, r29 -/* 80104364 001012C4 7E 24 8B 78 */ mr r4, r17 -/* 80104368 001012C8 4B F5 9B A1 */ bl Get2ndPVSLightFeature__9CGameAreaFUi -/* 8010436C 001012CC 7C 75 1B 78 */ mr r21, r3 -/* 80104370 001012D0 48 00 00 14 */ b lbl_80104384 -lbl_80104374: -/* 80104374 001012D4 7F A3 EB 78 */ mr r3, r29 -/* 80104378 001012D8 7E 24 8B 78 */ mr r4, r17 -/* 8010437C 001012DC 4B F5 9B BD */ bl Get1stPVSLightFeature__9CGameAreaFUi -/* 80104380 001012E0 7C 75 1B 78 */ mr r21, r3 -lbl_80104384: -/* 80104384 001012E4 7E A4 AB 78 */ mr r4, r21 -/* 80104388 001012E8 38 7F 01 78 */ addi r3, r31, 0x178 -/* 8010438C 001012EC 48 21 1F 4D */ bl GetVisible__10CPVSVisSetCFi -/* 80104390 001012F0 2C 03 00 02 */ cmpwi r3, 2 -/* 80104394 001012F4 90 7F 00 14 */ stw r3, 0x14(r31) -/* 80104398 001012F8 41 82 00 30 */ beq lbl_801043C8 -/* 8010439C 001012FC 7E A4 AB 78 */ mr r4, r21 -/* 801043A0 00101300 38 7F 01 64 */ addi r3, r31, 0x164 -/* 801043A4 00101304 48 21 1F 35 */ bl GetVisible__10CPVSVisSetCFi -/* 801043A8 00101308 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 801043AC 0010130C 38 9F 00 10 */ addi r4, r31, 0x10 -/* 801043B0 00101310 90 7F 00 10 */ stw r3, 0x10(r31) -/* 801043B4 00101314 7C 03 00 00 */ cmpw r3, r0 -/* 801043B8 00101318 40 80 00 08 */ bge lbl_801043C0 -/* 801043BC 0010131C 38 9F 00 14 */ addi r4, r31, 0x14 -lbl_801043C0: -/* 801043C0 00101320 80 04 00 00 */ lwz r0, 0(r4) -/* 801043C4 00101324 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_801043C8: -/* 801043C8 00101328 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 801043CC 0010132C 2C 00 00 02 */ cmpwi r0, 2 -/* 801043D0 00101330 41 82 00 30 */ beq lbl_80104400 -/* 801043D4 00101334 7E A4 AB 78 */ mr r4, r21 -/* 801043D8 00101338 38 7F 01 50 */ addi r3, r31, 0x150 -/* 801043DC 0010133C 48 21 1E FD */ bl GetVisible__10CPVSVisSetCFi -/* 801043E0 00101340 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 801043E4 00101344 38 9F 00 0C */ addi r4, r31, 0xc -/* 801043E8 00101348 90 7F 00 0C */ stw r3, 0xc(r31) -/* 801043EC 0010134C 7C 03 00 00 */ cmpw r3, r0 -/* 801043F0 00101350 40 80 00 08 */ bge lbl_801043F8 -/* 801043F4 00101354 38 9F 00 14 */ addi r4, r31, 0x14 -lbl_801043F8: -/* 801043F8 00101358 80 04 00 00 */ lwz r0, 0(r4) -/* 801043FC 0010135C 90 1F 00 14 */ stw r0, 0x14(r31) -lbl_80104400: -/* 80104400 00101360 80 1F 00 14 */ lwz r0, 0x14(r31) -/* 80104404 00101364 2C 00 00 00 */ cmpwi r0, 0 -/* 80104408 00101368 41 82 00 C4 */ beq lbl_801044CC -/* 8010440C 0010136C 7E E3 BB 78 */ mr r3, r23 -/* 80104410 00101370 48 20 1E C5 */ bl GetRadius__6CLightCFv -/* 80104414 00101374 C0 17 00 00 */ lfs f0, 0(r23) -/* 80104418 00101378 7F C3 F3 78 */ mr r3, r30 -/* 8010441C 0010137C C0 42 94 30 */ lfs f2, lbl_805AB150@sda21(r2) -/* 80104420 00101380 38 9F 00 24 */ addi r4, r31, 0x24 -/* 80104424 00101384 D0 1F 00 24 */ stfs f0, 0x24(r31) -/* 80104428 00101388 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8010442C 0010138C C0 17 00 04 */ lfs f0, 4(r23) -/* 80104430 00101390 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 80104434 00101394 C0 17 00 08 */ lfs f0, 8(r23) -/* 80104438 00101398 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 8010443C 0010139C D0 3F 00 30 */ stfs f1, 0x30(r31) -/* 80104440 001013A0 48 1C E5 8D */ bl AABoxSphereIntersection__13CollisionUtilFRC6CAABoxRC7CSphere -/* 80104444 001013A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80104448 001013A8 41 82 00 84 */ beq lbl_801044CC -/* 8010444C 001013AC 82 BF 00 14 */ lwz r21, 0x14(r31) -/* 80104450 001013B0 7E E4 BB 78 */ mr r4, r23 -/* 80104454 001013B4 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80104458 001013B8 38 BF 00 B8 */ addi r5, r31, 0xb8 -/* 8010445C 001013BC 48 20 1B C9 */ bl GetNormalIndependentLightingAtPoint__6CLightCFRC9CVector3f -/* 80104460 001013C0 C0 5F 00 18 */ lfs f2, 0x18(r31) -/* 80104464 001013C4 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80104468 001013C8 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8010446C 001013CC C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 80104470 001013D0 92 3F 00 E0 */ stw r17, 0xe0(r31) -/* 80104474 001013D4 D0 5F 00 E4 */ stfs f2, 0xe4(r31) -/* 80104478 001013D8 D0 3F 00 E8 */ stfs f1, 0xe8(r31) -/* 8010447C 001013DC D0 1F 00 EC */ stfs f0, 0xec(r31) -/* 80104480 001013E0 48 21 04 39 */ bl Magnitude__9CVector3fCFv -/* 80104484 001013E4 7E 20 8B 78 */ mr r0, r17 -/* 80104488 001013E8 C0 42 94 08 */ lfs f2, lbl_805AB128@sda21(r2) -/* 8010448C 001013EC 90 10 00 00 */ stw r0, 0(r16) -/* 80104490 001013F0 FC 00 08 18 */ frsp f0, f1 -/* 80104494 001013F4 80 1F 00 E4 */ lwz r0, 0xe4(r31) -/* 80104498 001013F8 3A 73 00 01 */ addi r19, r19, 1 -/* 8010449C 001013FC 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 801044A0 00101400 90 10 00 04 */ stw r0, 4(r16) -/* 801044A4 00101404 80 1F 00 EC */ lwz r0, 0xec(r31) -/* 801044A8 00101408 90 70 00 08 */ stw r3, 8(r16) -/* 801044AC 0010140C 90 10 00 0C */ stw r0, 0xc(r16) -/* 801044B0 00101410 D0 10 00 10 */ stfs f0, 0x10(r16) -/* 801044B4 00101414 D0 50 00 14 */ stfs f2, 0x14(r16) -/* 801044B8 00101418 92 B0 00 18 */ stw r21, 0x18(r16) -/* 801044BC 0010141C 3A 10 00 1C */ addi r16, r16, 0x1c -/* 801044C0 00101420 D0 3F 00 F0 */ stfs f1, 0xf0(r31) -/* 801044C4 00101424 D0 5F 00 F4 */ stfs f2, 0xf4(r31) -/* 801044C8 00101428 92 BF 00 F8 */ stw r21, 0xf8(r31) -lbl_801044CC: -/* 801044CC 0010142C 39 CE 00 50 */ addi r14, r14, 0x50 -/* 801044D0 00101430 39 EF 00 44 */ addi r15, r15, 0x44 -/* 801044D4 00101434 3A 31 00 01 */ addi r17, r17, 1 -lbl_801044D8: -/* 801044D8 00101438 80 19 00 04 */ lwz r0, 4(r25) -/* 801044DC 0010143C 7C 11 00 00 */ cmpw r17, r0 -/* 801044E0 00101440 41 80 FE 14 */ blt lbl_801042F4 -/* 801044E4 00101444 1C 13 00 1C */ mulli r0, r19, 0x1c -/* 801044E8 00101448 88 8D A3 54 */ lbz r4, lbl_805A8F14@sda21(r13) -/* 801044EC 0010144C 7E 83 A3 78 */ mr r3, r20 -/* 801044F0 00101450 98 9F 00 08 */ stb r4, 8(r31) -/* 801044F4 00101454 38 BF 00 08 */ addi r5, r31, 8 -/* 801044F8 00101458 7C 94 02 14 */ add r4, r20, r0 -/* 801044FC 0010145C 48 00 0E 5D */ bl "sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" -/* 80104500 00101460 88 1C 02 98 */ lbz r0, 0x298(r28) -/* 80104504 00101464 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80104508 00101468 41 82 00 B4 */ beq lbl_801045BC -/* 8010450C 0010146C 38 7C 02 88 */ addi r3, r28, 0x288 -/* 80104510 00101470 48 21 03 A9 */ bl Magnitude__9CVector3fCFv -/* 80104514 00101474 34 73 FF FF */ addic. r3, r19, -1 -/* 80104518 00101478 1C 03 00 1C */ mulli r0, r3, 0x1c -/* 8010451C 0010147C 38 63 00 01 */ addi r3, r3, 1 -/* 80104520 00101480 7C 94 02 14 */ add r4, r20, r0 -/* 80104524 00101484 41 80 00 98 */ blt lbl_801045BC -/* 80104528 00101488 54 60 E8 FF */ rlwinm. r0, r3, 0x1d, 3, 0x1f -/* 8010452C 0010148C 7C 09 03 A6 */ mtctr r0 -/* 80104530 00101490 41 82 00 74 */ beq lbl_801045A4 -lbl_80104534: -/* 80104534 00101494 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80104538 00101498 EC 21 00 2A */ fadds f1, f1, f0 -/* 8010453C 0010149C D0 24 00 14 */ stfs f1, 0x14(r4) -/* 80104540 001014A0 C0 04 FF F4 */ lfs f0, -0xc(r4) -/* 80104544 001014A4 EC 21 00 2A */ fadds f1, f1, f0 -/* 80104548 001014A8 D0 24 FF F8 */ stfs f1, -8(r4) -/* 8010454C 001014AC C0 04 FF D8 */ lfs f0, -0x28(r4) -/* 80104550 001014B0 EC 21 00 2A */ fadds f1, f1, f0 -/* 80104554 001014B4 D0 24 FF DC */ stfs f1, -0x24(r4) -/* 80104558 001014B8 C0 04 FF BC */ lfs f0, -0x44(r4) -/* 8010455C 001014BC EC 21 00 2A */ fadds f1, f1, f0 -/* 80104560 001014C0 D0 24 FF C0 */ stfs f1, -0x40(r4) -/* 80104564 001014C4 C0 04 FF A0 */ lfs f0, -0x60(r4) -/* 80104568 001014C8 EC 21 00 2A */ fadds f1, f1, f0 -/* 8010456C 001014CC D0 24 FF A4 */ stfs f1, -0x5c(r4) -/* 80104570 001014D0 C0 04 FF 84 */ lfs f0, -0x7c(r4) -/* 80104574 001014D4 EC 21 00 2A */ fadds f1, f1, f0 -/* 80104578 001014D8 D0 24 FF 88 */ stfs f1, -0x78(r4) -/* 8010457C 001014DC C0 04 FF 68 */ lfs f0, -0x98(r4) -/* 80104580 001014E0 EC 21 00 2A */ fadds f1, f1, f0 -/* 80104584 001014E4 D0 24 FF 6C */ stfs f1, -0x94(r4) -/* 80104588 001014E8 C0 04 FF 4C */ lfs f0, -0xb4(r4) -/* 8010458C 001014EC EC 21 00 2A */ fadds f1, f1, f0 -/* 80104590 001014F0 D0 24 FF 50 */ stfs f1, -0xb0(r4) -/* 80104594 001014F4 38 84 FF 20 */ addi r4, r4, -224 -/* 80104598 001014F8 42 00 FF 9C */ bdnz lbl_80104534 -/* 8010459C 001014FC 70 63 00 07 */ andi. r3, r3, 7 -/* 801045A0 00101500 41 82 00 1C */ beq lbl_801045BC -lbl_801045A4: -/* 801045A4 00101504 7C 69 03 A6 */ mtctr r3 -lbl_801045A8: -/* 801045A8 00101508 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 801045AC 0010150C EC 21 00 2A */ fadds f1, f1, f0 -/* 801045B0 00101510 D0 24 00 14 */ stfs f1, 0x14(r4) -/* 801045B4 00101514 38 84 FF E4 */ addi r4, r4, -28 -/* 801045B8 00101518 42 00 FF F0 */ bdnz lbl_801045A8 -lbl_801045BC: -/* 801045BC 0010151C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 801045C0 00101520 C0 32 00 04 */ lfs f1, 4(r18) -/* 801045C4 00101524 C0 12 00 08 */ lfs f0, 8(r18) -/* 801045C8 00101528 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) -/* 801045CC 0010152C D0 3F 00 B0 */ stfs f1, 0xb0(r31) -/* 801045D0 00101530 D0 5F 00 AC */ stfs f2, 0xac(r31) -/* 801045D4 00101534 D0 1F 00 B4 */ stfs f0, 0xb4(r31) -/* 801045D8 00101538 48 24 59 DD */ bl Black__6CColorFv -/* 801045DC 0010153C C0 22 94 08 */ lfs f1, lbl_805AB128@sda21(r2) -/* 801045E0 00101540 3C 80 80 5A */ lis r4, skZero3f@ha -/* 801045E4 00101544 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 801045E8 00101548 7C 66 1B 78 */ mr r6, r3 -/* 801045EC 0010154C FC 40 08 90 */ fmr f2, f1 -/* 801045F0 00101550 38 7F 01 8C */ addi r3, r31, 0x18c -/* 801045F4 00101554 FC 60 08 90 */ fmr f3, f1 -/* 801045F8 00101558 7C 85 23 78 */ mr r5, r4 -/* 801045FC 0010155C FC 80 08 90 */ fmr f4, f1 -/* 80104600 00101560 FC A0 08 90 */ fmr f5, f1 -/* 80104604 00101564 FC C0 08 90 */ fmr f6, f1 -/* 80104608 00101568 48 20 1D D5 */ bl BuildCustom__6CLightFRC9CVector3fRC9CVector3fRC6CColorffffff -/* 8010460C 0010156C 38 7F 01 DC */ addi r3, r31, 0x1dc -/* 80104610 00101570 38 9F 01 8C */ addi r4, r31, 0x18c -/* 80104614 00101574 4B F3 6F 5D */ bl __ct__6CLightFCR6CLight -/* 80104618 00101578 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010461C 0010157C C0 32 00 04 */ lfs f1, 4(r18) -/* 80104620 00101580 C0 12 00 08 */ lfs f0, 8(r18) -/* 80104624 00101584 39 C0 00 00 */ li r14, 0 -/* 80104628 00101588 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) -/* 8010462C 0010158C D0 3F 00 A4 */ stfs f1, 0xa4(r31) -/* 80104630 00101590 C3 E2 94 08 */ lfs f31, lbl_805AB128@sda21(r2) -/* 80104634 00101594 D0 5F 00 A0 */ stfs f2, 0xa0(r31) -/* 80104638 00101598 D0 1F 00 A8 */ stfs f0, 0xa8(r31) -/* 8010463C 0010159C 88 1C 02 98 */ lbz r0, 0x298(r28) -/* 80104640 001015A0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80104644 001015A4 40 82 00 14 */ bne lbl_80104658 -/* 80104648 001015A8 88 0D 89 A0 */ lbz r0, lbl_805A7560@sda21(r13) -/* 8010464C 001015AC 28 00 00 00 */ cmplwi r0, 0 -/* 80104650 001015B0 41 82 00 08 */ beq lbl_80104658 -/* 80104654 001015B4 39 C0 00 01 */ li r14, 1 -lbl_80104658: -/* 80104658 001015B8 55 C0 06 3F */ clrlwi. r0, r14, 0x18 -/* 8010465C 001015BC 41 82 00 14 */ beq lbl_80104670 -/* 80104660 001015C0 80 7C 02 B8 */ lwz r3, 0x2b8(r28) -/* 80104664 001015C4 38 03 FF FF */ addi r0, r3, -1 -/* 80104668 001015C8 90 1F 02 2C */ stw r0, 0x22c(r31) -/* 8010466C 001015CC 48 00 00 0C */ b lbl_80104678 -lbl_80104670: -/* 80104670 001015D0 80 1C 02 B8 */ lwz r0, 0x2b8(r28) -/* 80104674 001015D4 90 1F 02 2C */ stw r0, 0x22c(r31) -lbl_80104678: -/* 80104678 001015D8 80 BC 00 00 */ lwz r5, 0(r28) -/* 8010467C 001015DC 38 60 00 00 */ li r3, 0 -/* 80104680 001015E0 2C 05 00 00 */ cmpwi r5, 0 -/* 80104684 001015E4 40 81 00 40 */ ble lbl_801046C4 -/* 80104688 001015E8 2C 05 00 08 */ cmpwi r5, 8 -/* 8010468C 001015EC 38 85 FF F8 */ addi r4, r5, -8 -/* 80104690 001015F0 40 81 00 20 */ ble lbl_801046B0 -/* 80104694 001015F4 38 04 00 07 */ addi r0, r4, 7 -/* 80104698 001015F8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8010469C 001015FC 7C 09 03 A6 */ mtctr r0 -/* 801046A0 00101600 2C 04 00 00 */ cmpwi r4, 0 -/* 801046A4 00101604 40 81 00 0C */ ble lbl_801046B0 -lbl_801046A8: -/* 801046A8 00101608 38 63 00 08 */ addi r3, r3, 8 -/* 801046AC 0010160C 42 00 FF FC */ bdnz lbl_801046A8 -lbl_801046B0: -/* 801046B0 00101610 7C 03 28 50 */ subf r0, r3, r5 -/* 801046B4 00101614 7C 09 03 A6 */ mtctr r0 -/* 801046B8 00101618 7C 03 28 00 */ cmpw r3, r5 -/* 801046BC 0010161C 40 80 00 08 */ bge lbl_801046C4 -lbl_801046C0: -/* 801046C0 00101620 42 00 00 00 */ bdnz lbl_801046C0 -lbl_801046C4: -/* 801046C4 00101624 38 00 00 00 */ li r0, 0 -/* 801046C8 00101628 3A 40 00 00 */ li r18, 0 -/* 801046CC 0010162C 90 1C 00 00 */ stw r0, 0(r28) -/* 801046D0 00101630 38 60 00 00 */ li r3, 0 -/* 801046D4 00101634 38 80 00 01 */ li r4, 1 -/* 801046D8 00101638 80 AD 89 A8 */ lwz r5, lbl_805A7568@sda21(r13) -/* 801046DC 0010163C 48 28 58 19 */ bl __shl2i -/* 801046E0 00101640 80 AD 89 AC */ lwz r5, lbl_805A756C@sda21(r13) -/* 801046E4 00101644 7C 90 23 78 */ mr r16, r4 -/* 801046E8 00101648 7C 6F 1B 78 */ mr r15, r3 -/* 801046EC 0010164C 38 60 00 00 */ li r3, 0 -/* 801046F0 00101650 38 80 00 01 */ li r4, 1 -/* 801046F4 00101654 48 28 58 01 */ bl __shl2i -/* 801046F8 00101658 80 AD 89 B0 */ lwz r5, lbl_805A7570@sda21(r13) -/* 801046FC 0010165C 7E 10 23 78 */ or r16, r16, r4 -/* 80104700 00101660 7D EF 1B 78 */ or r15, r15, r3 -/* 80104704 00101664 38 60 00 00 */ li r3, 0 -/* 80104708 00101668 38 80 00 01 */ li r4, 1 -/* 8010470C 0010166C 48 28 57 E9 */ bl __shl2i -/* 80104710 00101670 80 AD 89 A4 */ lwz r5, lbl_805A7564@sda21(r13) -/* 80104714 00101674 7E 10 23 78 */ or r16, r16, r4 -/* 80104718 00101678 7D EF 1B 78 */ or r15, r15, r3 -/* 8010471C 0010167C 38 60 00 00 */ li r3, 0 -/* 80104720 00101680 38 80 00 01 */ li r4, 1 -/* 80104724 00101684 48 28 57 D1 */ bl __shl2i -/* 80104728 00101688 38 00 00 03 */ li r0, 3 -/* 8010472C 0010168C 90 9F 01 3C */ stw r4, 0x13c(r31) -/* 80104730 00101690 7E 95 A3 78 */ mr r21, r20 -/* 80104734 00101694 3A 20 00 00 */ li r17, 0 -/* 80104738 00101698 90 1F 00 D8 */ stw r0, 0xd8(r31) -/* 8010473C 0010169C 90 7F 01 38 */ stw r3, 0x138(r31) -/* 80104740 001016A0 92 1F 01 44 */ stw r16, 0x144(r31) -/* 80104744 001016A4 91 FF 01 40 */ stw r15, 0x140(r31) -/* 80104748 001016A8 90 1F 01 48 */ stw r0, 0x148(r31) -/* 8010474C 001016AC 48 00 03 14 */ b lbl_80104A60 -lbl_80104750: -/* 80104750 001016B0 80 7C 00 00 */ lwz r3, 0(r28) -/* 80104754 001016B4 80 1F 02 2C */ lwz r0, 0x22c(r31) -/* 80104758 001016B8 7C 03 00 00 */ cmpw r3, r0 -/* 8010475C 001016BC 40 80 02 8C */ bge lbl_801049E8 -/* 80104760 001016C0 81 F5 00 00 */ lwz r15, 0(r21) -/* 80104764 001016C4 3A 00 00 01 */ li r16, 1 -/* 80104768 001016C8 80 9A 00 0C */ lwz r4, 0xc(r26) -/* 8010476C 001016CC 38 A0 00 00 */ li r5, 0 -/* 80104770 001016D0 1C 6F 00 44 */ mulli r3, r15, 0x44 -/* 80104774 001016D4 38 03 00 34 */ addi r0, r3, 0x34 -/* 80104778 001016D8 7C 04 00 AE */ lbzx r0, r4, r0 -/* 8010477C 001016DC 28 00 00 01 */ cmplwi r0, 1 -/* 80104780 001016E0 40 82 00 18 */ bne lbl_80104798 -/* 80104784 001016E4 88 1C 02 98 */ lbz r0, 0x298(r28) -/* 80104788 001016E8 54 00 D7 FE */ rlwinm r0, r0, 0x1a, 0x1f, 0x1f -/* 8010478C 001016EC 28 00 00 01 */ cmplwi r0, 1 -/* 80104790 001016F0 40 82 00 08 */ bne lbl_80104798 -/* 80104794 001016F4 38 A0 00 01 */ li r5, 1 -lbl_80104798: -/* 80104798 001016F8 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 8010479C 001016FC 3A E0 00 00 */ li r23, 0 -/* 801047A0 00101700 41 82 00 14 */ beq lbl_801047B4 -/* 801047A4 00101704 80 15 00 18 */ lwz r0, 0x18(r21) -/* 801047A8 00101708 2C 00 00 02 */ cmpwi r0, 2 -/* 801047AC 0010170C 40 82 00 08 */ bne lbl_801047B4 -/* 801047B0 00101710 3A E0 00 01 */ li r23, 1 -lbl_801047B4: -/* 801047B4 00101714 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 801047B8 00101718 41 82 02 00 */ beq lbl_801049B8 -/* 801047BC 0010171C 1C 0F 00 50 */ mulli r0, r15, 0x50 -/* 801047C0 00101720 80 99 00 0C */ lwz r4, 0xc(r25) -/* 801047C4 00101724 C0 BF 00 B8 */ lfs f5, 0xb8(r31) -/* 801047C8 00101728 38 7F 00 88 */ addi r3, r31, 0x88 -/* 801047CC 0010172C C0 9F 00 BC */ lfs f4, 0xbc(r31) -/* 801047D0 00101730 C0 7F 00 C0 */ lfs f3, 0xc0(r31) -/* 801047D4 00101734 D0 BF 00 94 */ stfs f5, 0x94(r31) -/* 801047D8 00101738 7E C4 02 14 */ add r22, r4, r0 -/* 801047DC 0010173C D0 9F 00 98 */ stfs f4, 0x98(r31) -/* 801047E0 00101740 D0 7F 00 9C */ stfs f3, 0x9c(r31) -/* 801047E4 00101744 C0 56 00 04 */ lfs f2, 4(r22) -/* 801047E8 00101748 C0 36 00 08 */ lfs f1, 8(r22) -/* 801047EC 0010174C C0 16 00 00 */ lfs f0, 0(r22) -/* 801047F0 00101750 EC 42 20 28 */ fsubs f2, f2, f4 -/* 801047F4 00101754 EC 21 18 28 */ fsubs f1, f1, f3 -/* 801047F8 00101758 EC 00 28 28 */ fsubs f0, f0, f5 -/* 801047FC 0010175C D0 5F 00 8C */ stfs f2, 0x8c(r31) -/* 80104800 00101760 D0 1F 00 88 */ stfs f0, 0x88(r31) -/* 80104804 00101764 D0 3F 00 90 */ stfs f1, 0x90(r31) -/* 80104808 00101768 48 21 00 B1 */ bl Magnitude__9CVector3fCFv -/* 8010480C 0010176C 88 1C 02 98 */ lbz r0, 0x298(r28) -/* 80104810 00101770 FF C0 08 90 */ fmr f30, f1 -/* 80104814 00101774 3B 60 00 00 */ li r27, 0 -/* 80104818 00101778 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8010481C 0010177C 41 82 00 44 */ beq lbl_80104860 -/* 80104820 00101780 80 7C 02 9C */ lwz r3, 0x29c(r28) -/* 80104824 00101784 3C 03 00 01 */ addis r0, r3, 1 -/* 80104828 00101788 28 00 FF FF */ cmplwi r0, 0xffff -/* 8010482C 0010178C 40 82 00 34 */ bne lbl_80104860 -/* 80104830 00101790 80 16 00 1C */ lwz r0, 0x1c(r22) -/* 80104834 00101794 2C 00 00 03 */ cmpwi r0, 3 -/* 80104838 00101798 41 82 00 28 */ beq lbl_80104860 -/* 8010483C 0010179C C0 02 94 30 */ lfs f0, lbl_805AB150@sda21(r2) -/* 80104840 001017A0 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80104844 001017A4 40 81 00 1C */ ble lbl_80104860 -/* 80104848 001017A8 7F C3 F3 78 */ mr r3, r30 -/* 8010484C 001017AC 7E C4 B3 78 */ mr r4, r22 -/* 80104850 001017B0 48 23 2C E5 */ bl PointInside__6CAABoxCFRC9CVector3f -/* 80104854 001017B4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80104858 001017B8 40 82 00 08 */ bne lbl_80104860 -/* 8010485C 001017BC 3B 60 00 01 */ li r27, 1 -lbl_80104860: -/* 80104860 001017C0 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80104864 001017C4 7F 63 DB 78 */ mr r3, r27 -/* 80104868 001017C8 41 82 00 74 */ beq lbl_801048DC -/* 8010486C 001017CC 80 1C 00 00 */ lwz r0, 0(r28) -/* 80104870 001017D0 38 80 00 00 */ li r4, 0 -/* 80104874 001017D4 2C 00 00 00 */ cmpwi r0, 0 -/* 80104878 001017D8 41 82 00 2C */ beq lbl_801048A4 -/* 8010487C 001017DC 2C 00 00 01 */ cmpwi r0, 1 -/* 80104880 001017E0 40 82 00 28 */ bne lbl_801048A8 -/* 80104884 001017E4 1C 72 00 1C */ mulli r3, r18, 0x1c -/* 80104888 001017E8 C0 55 00 10 */ lfs f2, 0x10(r21) -/* 8010488C 001017EC C0 02 94 34 */ lfs f0, lbl_805AB154@sda21(r2) -/* 80104890 001017F0 38 03 00 10 */ addi r0, r3, 0x10 -/* 80104894 001017F4 7C 34 04 2E */ lfsx f1, r20, r0 -/* 80104898 001017F8 EC 22 08 24 */ fdivs f1, f2, f1 -/* 8010489C 001017FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801048A0 00101800 40 81 00 08 */ ble lbl_801048A8 -lbl_801048A4: -/* 801048A4 00101804 38 80 00 01 */ li r4, 1 -lbl_801048A8: -/* 801048A8 00101808 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 801048AC 0010180C 7C 83 23 78 */ mr r3, r4 -/* 801048B0 00101810 41 82 00 2C */ beq lbl_801048DC -/* 801048B4 00101814 C0 7C 02 D0 */ lfs f3, 0x2d0(r28) -/* 801048B8 00101818 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) -/* 801048BC 0010181C C0 55 00 10 */ lfs f2, 0x10(r21) -/* 801048C0 00101820 EC 00 18 2A */ fadds f0, f0, f3 -/* 801048C4 00101824 C0 35 00 14 */ lfs f1, 0x14(r21) -/* 801048C8 00101828 EC 22 08 24 */ fdivs f1, f2, f1 -/* 801048CC 0010182C EC 03 00 24 */ fdivs f0, f3, f0 -/* 801048D0 00101830 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801048D4 00101834 7C 00 00 26 */ mfcr r0 -/* 801048D8 00101838 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -lbl_801048DC: -/* 801048DC 0010183C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801048E0 00101840 41 82 00 14 */ beq lbl_801048F4 -/* 801048E4 00101844 80 1C 00 00 */ lwz r0, 0(r28) -/* 801048E8 00101848 90 1C 02 9C */ stw r0, 0x29c(r28) -/* 801048EC 0010184C 91 FC 02 A0 */ stw r15, 0x2a0(r28) -/* 801048F0 00101850 48 00 00 C8 */ b lbl_801049B8 -lbl_801048F4: -/* 801048F4 00101854 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 801048F8 00101858 40 82 00 C0 */ bne lbl_801049B8 -/* 801048FC 0010185C C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) -/* 80104900 00101860 FC 20 F0 90 */ fmr f1, f30 -/* 80104904 00101864 C0 7F 00 88 */ lfs f3, 0x88(r31) -/* 80104908 00101868 7F A3 EB 78 */ mr r3, r29 -/* 8010490C 0010186C EC 80 F0 24 */ fdivs f4, f0, f30 -/* 80104910 00101870 C0 5F 00 8C */ lfs f2, 0x8c(r31) -/* 80104914 00101874 C0 1F 00 90 */ lfs f0, 0x90(r31) -/* 80104918 00101878 38 9F 00 94 */ addi r4, r31, 0x94 -/* 8010491C 0010187C 38 BF 00 88 */ addi r5, r31, 0x88 -/* 80104920 00101880 38 DF 01 38 */ addi r6, r31, 0x138 -/* 80104924 00101884 EC 63 01 32 */ fmuls f3, f3, f4 -/* 80104928 00101888 EC 42 01 32 */ fmuls f2, f2, f4 -/* 8010492C 0010188C EC 00 01 32 */ fmuls f0, f0, f4 -/* 80104930 00101890 D0 7F 00 88 */ stfs f3, 0x88(r31) -/* 80104934 00101894 D0 5F 00 8C */ stfs f2, 0x8c(r31) -/* 80104938 00101898 D0 1F 00 90 */ stfs f0, 0x90(r31) -/* 8010493C 0010189C 48 08 01 ED */ bl RayStaticIntersectionArea__14CGameCollisionFRC9CGameAreaRC9CVector3fRC9CVector3fRC15CMaterialFilter -/* 80104940 001018A0 2C 11 00 00 */ cmpwi r17, 0 -/* 80104944 001018A4 7C 70 1B 78 */ mr r16, r3 -/* 80104948 001018A8 40 82 00 70 */ bne lbl_801049B8 -/* 8010494C 001018AC 56 00 06 3F */ clrlwi. r0, r16, 0x18 -/* 80104950 001018B0 41 82 00 18 */ beq lbl_80104968 -/* 80104954 001018B4 88 1C 02 99 */ lbz r0, 0x299(r28) -/* 80104958 001018B8 38 60 00 01 */ li r3, 1 -/* 8010495C 001018BC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80104960 001018C0 98 1C 02 99 */ stb r0, 0x299(r28) -/* 80104964 001018C4 48 00 00 14 */ b lbl_80104978 -lbl_80104968: -/* 80104968 001018C8 88 1C 02 99 */ lbz r0, 0x299(r28) -/* 8010496C 001018CC 38 60 00 00 */ li r3, 0 -/* 80104970 001018D0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80104974 001018D4 98 1C 02 99 */ stb r0, 0x299(r28) -lbl_80104978: -/* 80104978 001018D8 80 1C 02 D8 */ lwz r0, 0x2d8(r28) -/* 8010497C 001018DC 7C 00 78 00 */ cmpw r0, r15 -/* 80104980 001018E0 41 82 00 24 */ beq lbl_801049A4 -/* 80104984 001018E4 56 00 06 3F */ clrlwi. r0, r16, 0x18 -/* 80104988 001018E8 41 82 00 10 */ beq lbl_80104998 -/* 8010498C 001018EC 38 00 00 00 */ li r0, 0 -/* 80104990 001018F0 90 1C 02 DC */ stw r0, 0x2dc(r28) -/* 80104994 001018F4 48 00 00 0C */ b lbl_801049A0 -lbl_80104998: -/* 80104998 001018F8 38 00 00 0F */ li r0, 0xf -/* 8010499C 001018FC 90 1C 02 DC */ stw r0, 0x2dc(r28) -lbl_801049A0: -/* 801049A0 00101900 91 FC 02 D8 */ stw r15, 0x2d8(r28) -lbl_801049A4: -/* 801049A4 00101904 88 1C 02 99 */ lbz r0, 0x299(r28) -/* 801049A8 00101908 38 60 00 00 */ li r3, 0 -/* 801049AC 0010190C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 801049B0 00101910 3A 00 00 01 */ li r16, 1 -/* 801049B4 00101914 98 1C 02 99 */ stb r0, 0x299(r28) -lbl_801049B8: -/* 801049B8 00101918 56 00 06 3F */ clrlwi. r0, r16, 0x18 -/* 801049BC 0010191C 41 82 00 9C */ beq lbl_80104A58 -/* 801049C0 00101920 80 1C 00 00 */ lwz r0, 0(r28) -/* 801049C4 00101924 2C 00 00 00 */ cmpwi r0, 0 -/* 801049C8 00101928 40 82 00 08 */ bne lbl_801049D0 -/* 801049CC 0010192C 7E 32 8B 78 */ mr r18, r17 -lbl_801049D0: -/* 801049D0 00101930 1C 0F 00 50 */ mulli r0, r15, 0x50 -/* 801049D4 00101934 80 99 00 0C */ lwz r4, 0xc(r25) -/* 801049D8 00101938 7F 83 E3 78 */ mr r3, r28 -/* 801049DC 0010193C 7C 84 02 14 */ add r4, r4, r0 -/* 801049E0 00101940 4B FF E8 6D */ bl "push_back__Q24rstl26reserved_vector<6CLight,4>FRC6CLight" -/* 801049E4 00101944 48 00 00 74 */ b lbl_80104A58 -lbl_801049E8: -/* 801049E8 00101948 55 C0 06 3F */ clrlwi. r0, r14, 0x18 -/* 801049EC 0010194C 41 82 00 3C */ beq lbl_80104A28 -/* 801049F0 00101950 C0 35 00 10 */ lfs f1, 0x10(r21) -/* 801049F4 00101954 C0 02 94 2C */ lfs f0, lbl_805AB14C@sda21(r2) -/* 801049F8 00101958 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801049FC 0010195C 40 81 00 2C */ ble lbl_80104A28 -/* 80104A00 00101960 80 15 00 00 */ lwz r0, 0(r21) -/* 80104A04 00101964 38 7F 01 DC */ addi r3, r31, 0x1dc -/* 80104A08 00101968 80 B9 00 0C */ lwz r5, 0xc(r25) -/* 80104A0C 0010196C 38 9F 00 A0 */ addi r4, r31, 0xa0 -/* 80104A10 00101970 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80104A14 00101974 7C A5 02 14 */ add r5, r5, r0 -/* 80104A18 00101978 48 00 01 59 */ bl MergeOverflowLight__12CActorLightsFR6CLightR9CVector3fRC6CLightf -/* 80104A1C 0010197C C0 15 00 10 */ lfs f0, 0x10(r21) -/* 80104A20 00101980 EF FF 00 2A */ fadds f31, f31, f0 -/* 80104A24 00101984 48 00 00 34 */ b lbl_80104A58 -lbl_80104A28: -/* 80104A28 00101988 C0 3F 00 AC */ lfs f1, 0xac(r31) -/* 80104A2C 0010198C C0 15 00 04 */ lfs f0, 4(r21) -/* 80104A30 00101990 C0 5F 00 B0 */ lfs f2, 0xb0(r31) -/* 80104A34 00101994 EC 01 00 2A */ fadds f0, f1, f0 -/* 80104A38 00101998 C0 3F 00 B4 */ lfs f1, 0xb4(r31) -/* 80104A3C 0010199C D0 1F 00 AC */ stfs f0, 0xac(r31) -/* 80104A40 001019A0 C0 15 00 08 */ lfs f0, 8(r21) -/* 80104A44 001019A4 EC 02 00 2A */ fadds f0, f2, f0 -/* 80104A48 001019A8 D0 1F 00 B0 */ stfs f0, 0xb0(r31) -/* 80104A4C 001019AC C0 15 00 0C */ lfs f0, 0xc(r21) -/* 80104A50 001019B0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80104A54 001019B4 D0 1F 00 B4 */ stfs f0, 0xb4(r31) -lbl_80104A58: -/* 80104A58 001019B8 3A B5 00 1C */ addi r21, r21, 0x1c -/* 80104A5C 001019BC 3A 31 00 01 */ addi r17, r17, 1 -lbl_80104A60: -/* 80104A60 001019C0 7C 11 98 00 */ cmpw r17, r19 -/* 80104A64 001019C4 41 80 FC EC */ blt lbl_80104750 -/* 80104A68 001019C8 55 C0 06 3F */ clrlwi. r0, r14, 0x18 -/* 80104A6C 001019CC 41 82 00 1C */ beq lbl_80104A88 -/* 80104A70 001019D0 FC 20 F8 90 */ fmr f1, f31 -/* 80104A74 001019D4 7F 83 E3 78 */ mr r3, r28 -/* 80104A78 001019D8 38 9F 01 DC */ addi r4, r31, 0x1dc -/* 80104A7C 001019DC 38 BF 00 A0 */ addi r5, r31, 0xa0 -/* 80104A80 001019E0 4B FF F1 39 */ bl AddOverflowToLights__12CActorLightsFRC6CLightRC9CVector3f -/* 80104A84 001019E4 48 00 00 10 */ b lbl_80104A94 -lbl_80104A88: -/* 80104A88 001019E8 7F 83 E3 78 */ mr r3, r28 -/* 80104A8C 001019EC 38 9F 00 AC */ addi r4, r31, 0xac -/* 80104A90 001019F0 4B FF EF B1 */ bl MoveAmbienceToLights__12CActorLightsFRC9CVector3f -lbl_80104A94: -/* 80104A94 001019F4 C0 3C 02 88 */ lfs f1, 0x288(r28) -/* 80104A98 001019F8 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) -/* 80104A9C 001019FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80104AA0 00101A00 40 81 00 08 */ ble lbl_80104AA8 -/* 80104AA4 00101A04 D0 1C 02 88 */ stfs f0, 0x288(r28) -lbl_80104AA8: -/* 80104AA8 00101A08 C0 3C 02 8C */ lfs f1, 0x28c(r28) -/* 80104AAC 00101A0C C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) -/* 80104AB0 00101A10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80104AB4 00101A14 40 81 00 08 */ ble lbl_80104ABC -/* 80104AB8 00101A18 D0 1C 02 8C */ stfs f0, 0x28c(r28) -lbl_80104ABC: -/* 80104ABC 00101A1C C0 3C 02 90 */ lfs f1, 0x290(r28) -/* 80104AC0 00101A20 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) -/* 80104AC4 00101A24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80104AC8 00101A28 40 81 00 08 */ ble lbl_80104AD0 -/* 80104ACC 00101A2C D0 1C 02 90 */ stfs f0, 0x290(r28) -lbl_80104AD0: -/* 80104AD0 00101A30 80 7D 01 2C */ lwz r3, 0x12c(r29) -/* 80104AD4 00101A34 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) -/* 80104AD8 00101A38 C0 23 11 28 */ lfs f1, 0x1128(r3) -/* 80104ADC 00101A3C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80104AE0 00101A40 40 80 00 0C */ bge lbl_80104AEC -/* 80104AE4 00101A44 7F 83 E3 78 */ mr r3, r28 -/* 80104AE8 00101A48 4B FF F1 FD */ bl MultiplyLightingLevels__12CActorLightsFf -lbl_80104AEC: -/* 80104AEC 00101A4C 34 7F 01 5C */ addic. r3, r31, 0x15c -/* 80104AF0 00101A50 41 82 00 18 */ beq lbl_80104B08 -/* 80104AF4 00101A54 88 03 00 00 */ lbz r0, 0(r3) -/* 80104AF8 00101A58 28 00 00 00 */ cmplwi r0, 0 -/* 80104AFC 00101A5C 41 82 00 0C */ beq lbl_80104B08 -/* 80104B00 00101A60 80 7F 01 60 */ lwz r3, 0x160(r31) -/* 80104B04 00101A64 48 21 0E 2D */ bl Free__7CMemoryFPCv -lbl_80104B08: -/* 80104B08 00101A68 34 7F 01 70 */ addic. r3, r31, 0x170 -/* 80104B0C 00101A6C 41 82 00 18 */ beq lbl_80104B24 -/* 80104B10 00101A70 88 03 00 00 */ lbz r0, 0(r3) -/* 80104B14 00101A74 28 00 00 00 */ cmplwi r0, 0 -/* 80104B18 00101A78 41 82 00 0C */ beq lbl_80104B24 -/* 80104B1C 00101A7C 80 7F 01 74 */ lwz r3, 0x174(r31) -/* 80104B20 00101A80 48 21 0E 11 */ bl Free__7CMemoryFPCv -lbl_80104B24: -/* 80104B24 00101A84 34 7F 01 84 */ addic. r3, r31, 0x184 -/* 80104B28 00101A88 41 82 00 18 */ beq lbl_80104B40 -/* 80104B2C 00101A8C 88 03 00 00 */ lbz r0, 0(r3) -/* 80104B30 00101A90 28 00 00 00 */ cmplwi r0, 0 -/* 80104B34 00101A94 41 82 00 0C */ beq lbl_80104B40 -/* 80104B38 00101A98 80 7F 01 88 */ lwz r3, 0x188(r31) -/* 80104B3C 00101A9C 48 21 0D F5 */ bl Free__7CMemoryFPCv -lbl_80104B40: -/* 80104B40 00101AA0 38 60 00 01 */ li r3, 1 -lbl_80104B44: -/* 80104B44 00101AA4 7F EA FB 78 */ mr r10, r31 -/* 80104B48 00101AA8 E3 EA 02 98 */ psq_l f31, 664(r10), 0, qr0 -/* 80104B4C 00101AAC CB FF 02 90 */ lfd f31, 0x290(r31) -/* 80104B50 00101AB0 E3 CA 02 88 */ psq_l f30, 648(r10), 0, qr0 -/* 80104B54 00101AB4 CB DF 02 80 */ lfd f30, 0x280(r31) -/* 80104B58 00101AB8 B9 CA 02 38 */ lmw r14, 0x238(r10) -/* 80104B5C 00101ABC 81 41 00 00 */ lwz r10, 0(r1) -/* 80104B60 00101AC0 80 0A 00 04 */ lwz r0, 4(r10) -/* 80104B64 00101AC4 7D 41 53 78 */ mr r1, r10 -/* 80104B68 00101AC8 7C 08 03 A6 */ mtlr r0 -/* 80104B6C 00101ACC 4E 80 00 20 */ blr - -.global MergeOverflowLight__12CActorLightsFR6CLightR9CVector3fRC6CLightf -MergeOverflowLight__12CActorLightsFR6CLightR9CVector3fRC6CLightf: -/* 80104B70 00101AD0 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80104B74 00101AD4 7C 08 02 A6 */ mflr r0 -/* 80104B78 00101AD8 90 01 00 74 */ stw r0, 0x74(r1) -/* 80104B7C 00101ADC DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80104B80 00101AE0 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80104B84 00101AE4 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80104B88 00101AE8 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80104B8C 00101AEC 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80104B90 00101AF0 3C E0 80 5A */ lis r7, skZero3f@ha -/* 80104B94 00101AF4 C4 47 66 A0 */ lfsu f2, skZero3f@l(r7) -/* 80104B98 00101AF8 FF E0 08 90 */ fmr f31, f1 -/* 80104B9C 00101AFC 7C BF 2B 78 */ mr r31, r5 -/* 80104BA0 00101B00 C0 27 00 04 */ lfs f1, 4(r7) -/* 80104BA4 00101B04 7C 9E 23 78 */ mr r30, r4 -/* 80104BA8 00101B08 C0 07 00 08 */ lfs f0, 8(r7) -/* 80104BAC 00101B0C 7C 7D 1B 78 */ mr r29, r3 -/* 80104BB0 00101B10 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80104BB4 00101B14 38 C1 00 40 */ addi r6, r1, 0x40 -/* 80104BB8 00101B18 38 A1 00 3C */ addi r5, r1, 0x3c -/* 80104BBC 00101B1C 38 7F 00 18 */ addi r3, r31, 0x18 -/* 80104BC0 00101B20 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80104BC4 00101B24 38 81 00 38 */ addi r4, r1, 0x38 -/* 80104BC8 00101B28 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80104BCC 00101B2C 48 25 E7 6D */ bl Get__6CColorCFRfRfRf -/* 80104BD0 00101B30 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80104BD4 00101B34 7F A3 EB 78 */ mr r3, r29 -/* 80104BD8 00101B38 C0 61 00 3C */ lfs f3, 0x3c(r1) -/* 80104BDC 00101B3C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80104BE0 00101B40 C0 3E 00 00 */ lfs f1, 0(r30) -/* 80104BE4 00101B44 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 80104BE8 00101B48 EC 7F 00 F2 */ fmuls f3, f31, f3 -/* 80104BEC 00101B4C EC 01 00 2A */ fadds f0, f1, f0 -/* 80104BF0 00101B50 EC 3F 00 B2 */ fmuls f1, f31, f2 -/* 80104BF4 00101B54 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80104BF8 00101B58 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80104BFC 00101B5C EC 00 18 2A */ fadds f0, f0, f3 -/* 80104C00 00101B60 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80104C04 00101B64 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80104C08 00101B68 EC 00 08 2A */ fadds f0, f0, f1 -/* 80104C0C 00101B6C D0 1E 00 08 */ stfs f0, 8(r30) -/* 80104C10 00101B70 C0 3F 00 30 */ lfs f1, 0x30(r31) -/* 80104C14 00101B74 C0 1D 00 30 */ lfs f0, 0x30(r29) -/* 80104C18 00101B78 C0 9F 00 34 */ lfs f4, 0x34(r31) -/* 80104C1C 00101B7C C0 5D 00 34 */ lfs f2, 0x34(r29) -/* 80104C20 00101B80 EC 3F 00 7A */ fmadds f1, f31, f1, f0 -/* 80104C24 00101B84 C0 7F 00 38 */ lfs f3, 0x38(r31) -/* 80104C28 00101B88 C0 1D 00 38 */ lfs f0, 0x38(r29) -/* 80104C2C 00101B8C EC 5F 11 3A */ fmadds f2, f31, f4, f2 -/* 80104C30 00101B90 EC 7F 00 FA */ fmadds f3, f31, f3, f0 -/* 80104C34 00101B94 48 20 17 51 */ bl SetAngleAttenuation__6CLightFfff -/* 80104C38 00101B98 C0 3F 00 24 */ lfs f1, 0x24(r31) -/* 80104C3C 00101B9C 7F A3 EB 78 */ mr r3, r29 -/* 80104C40 00101BA0 C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 80104C44 00101BA4 C0 9F 00 28 */ lfs f4, 0x28(r31) -/* 80104C48 00101BA8 C0 5D 00 28 */ lfs f2, 0x28(r29) -/* 80104C4C 00101BAC EC 3F 00 7A */ fmadds f1, f31, f1, f0 -/* 80104C50 00101BB0 C0 7F 00 2C */ lfs f3, 0x2c(r31) -/* 80104C54 00101BB4 C0 1D 00 2C */ lfs f0, 0x2c(r29) -/* 80104C58 00101BB8 EC 5F 11 3A */ fmadds f2, f31, f4, f2 -/* 80104C5C 00101BBC EC 7F 00 FA */ fmadds f3, f31, f3, f0 -/* 80104C60 00101BC0 48 20 17 51 */ bl SetAttenuation__6CLightFfff -/* 80104C64 00101BC4 C0 5F 00 04 */ lfs f2, 4(r31) -/* 80104C68 00101BC8 7F A3 EB 78 */ mr r3, r29 -/* 80104C6C 00101BCC C0 3F 00 08 */ lfs f1, 8(r31) -/* 80104C70 00101BD0 38 81 00 2C */ addi r4, r1, 0x2c -/* 80104C74 00101BD4 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80104C78 00101BD8 EC BF 00 B2 */ fmuls f5, f31, f2 -/* 80104C7C 00101BDC EC 9F 00 72 */ fmuls f4, f31, f1 -/* 80104C80 00101BE0 C0 5D 00 04 */ lfs f2, 4(r29) -/* 80104C84 00101BE4 EC 7F 00 32 */ fmuls f3, f31, f0 -/* 80104C88 00101BE8 C0 3D 00 08 */ lfs f1, 8(r29) -/* 80104C8C 00101BEC C0 1D 00 00 */ lfs f0, 0(r29) -/* 80104C90 00101BF0 EC 42 28 2A */ fadds f2, f2, f5 -/* 80104C94 00101BF4 EC 21 20 2A */ fadds f1, f1, f4 -/* 80104C98 00101BF8 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80104C9C 00101BFC EC 00 18 2A */ fadds f0, f0, f3 -/* 80104CA0 00101C00 D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80104CA4 00101C04 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 80104CA8 00101C08 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80104CAC 00101C0C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80104CB0 00101C10 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80104CB4 00101C14 48 20 16 8D */ bl SetPosition__6CLightFRC9CVector3f -/* 80104CB8 00101C18 C0 5F 00 10 */ lfs f2, 0x10(r31) -/* 80104CBC 00101C1C 7F A3 EB 78 */ mr r3, r29 -/* 80104CC0 00101C20 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 80104CC4 00101C24 38 81 00 14 */ addi r4, r1, 0x14 -/* 80104CC8 00101C28 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80104CCC 00101C2C EC BF 00 B2 */ fmuls f5, f31, f2 -/* 80104CD0 00101C30 EC 9F 00 72 */ fmuls f4, f31, f1 -/* 80104CD4 00101C34 C0 5D 00 10 */ lfs f2, 0x10(r29) -/* 80104CD8 00101C38 EC 7F 00 32 */ fmuls f3, f31, f0 -/* 80104CDC 00101C3C C0 3D 00 14 */ lfs f1, 0x14(r29) -/* 80104CE0 00101C40 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 80104CE4 00101C44 EC 42 28 2A */ fadds f2, f2, f5 -/* 80104CE8 00101C48 EC 21 20 2A */ fadds f1, f1, f4 -/* 80104CEC 00101C4C D0 61 00 08 */ stfs f3, 8(r1) -/* 80104CF0 00101C50 EC 00 18 2A */ fadds f0, f0, f3 -/* 80104CF4 00101C54 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 80104CF8 00101C58 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80104CFC 00101C5C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80104D00 00101C60 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80104D04 00101C64 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80104D08 00101C68 48 20 16 1D */ bl SetDirection__6CLightFRC9CVector3f -/* 80104D0C 00101C6C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80104D10 00101C70 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80104D14 00101C74 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80104D18 00101C78 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80104D1C 00101C7C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80104D20 00101C80 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80104D24 00101C84 7C 08 03 A6 */ mtlr r0 -/* 80104D28 00101C88 38 21 00 70 */ addi r1, r1, 0x70 -/* 80104D2C 00101C8C 4E 80 00 20 */ blr - -.global UpdateBrightLight__12CActorLightsFv -UpdateBrightLight__12CActorLightsFv: -/* 80104D30 00101C90 80 83 02 DC */ lwz r4, 0x2dc(r3) -/* 80104D34 00101C94 2C 04 00 00 */ cmpwi r4, 0 -/* 80104D38 00101C98 40 81 00 1C */ ble lbl_80104D54 -/* 80104D3C 00101C9C 88 03 02 99 */ lbz r0, 0x299(r3) -/* 80104D40 00101CA0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80104D44 00101CA4 41 82 00 10 */ beq lbl_80104D54 -/* 80104D48 00101CA8 38 04 FF FF */ addi r0, r4, -1 -/* 80104D4C 00101CAC 90 03 02 DC */ stw r0, 0x2dc(r3) -/* 80104D50 00101CB0 48 00 00 24 */ b lbl_80104D74 -lbl_80104D54: -/* 80104D54 00101CB4 28 04 00 0F */ cmplwi r4, 0xf -/* 80104D58 00101CB8 40 80 00 1C */ bge lbl_80104D74 -/* 80104D5C 00101CBC 88 03 02 99 */ lbz r0, 0x299(r3) -/* 80104D60 00101CC0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80104D64 00101CC4 40 82 00 10 */ bne lbl_80104D74 -/* 80104D68 00101CC8 80 83 02 DC */ lwz r4, 0x2dc(r3) -/* 80104D6C 00101CCC 38 04 00 01 */ addi r0, r4, 1 -/* 80104D70 00101CD0 90 03 02 DC */ stw r0, 0x2dc(r3) -lbl_80104D74: -/* 80104D74 00101CD4 88 03 02 99 */ lbz r0, 0x299(r3) -/* 80104D78 00101CD8 38 80 00 01 */ li r4, 1 -/* 80104D7C 00101CDC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80104D80 00101CE0 98 03 02 99 */ stb r0, 0x299(r3) -/* 80104D84 00101CE4 4E 80 00 20 */ blr - -.global ActivateLights__12CActorLightsCFv -ActivateLights__12CActorLightsCFv: -/* 80104D88 00101CE8 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80104D8C 00101CEC 7C 08 02 A6 */ mflr r0 -/* 80104D90 00101CF0 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80104D94 00101CF4 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80104D98 00101CF8 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80104D9C 00101CFC 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 80104DA0 00101D00 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80104DA4 00101D04 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80104DA8 00101D08 93 81 00 80 */ stw r28, 0x80(r1) -/* 80104DAC 00101D0C 7C 7F 1B 78 */ mr r31, r3 -/* 80104DB0 00101D10 88 63 02 98 */ lbz r3, 0x298(r3) -/* 80104DB4 00101D14 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80104DB8 00101D18 41 82 00 70 */ beq lbl_80104E28 -/* 80104DBC 00101D1C 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80104DC0 00101D20 41 82 00 10 */ beq lbl_80104DD0 -/* 80104DC4 00101D24 88 1F 02 99 */ lbz r0, 0x299(r31) -/* 80104DC8 00101D28 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80104DCC 00101D2C 41 82 00 28 */ beq lbl_80104DF4 -lbl_80104DD0: -/* 80104DD0 00101D30 48 24 51 DD */ bl White__6CColorFv -/* 80104DD4 00101D34 7C 64 1B 78 */ mr r4, r3 -/* 80104DD8 00101D38 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80104DDC 00101D3C 81 83 00 00 */ lwz r12, 0(r3) -/* 80104DE0 00101D40 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80104DE4 00101D44 7D 89 03 A6 */ mtctr r12 -/* 80104DE8 00101D48 4E 80 04 21 */ bctrl -/* 80104DEC 00101D4C 48 20 7B 91 */ bl DisableAllLights__9CGraphicsFv -/* 80104DF0 00101D50 48 00 02 20 */ b lbl_80105010 -lbl_80104DF4: -/* 80104DF4 00101D54 C0 3F 02 88 */ lfs f1, 0x288(r31) -/* 80104DF8 00101D58 38 61 00 10 */ addi r3, r1, 0x10 -/* 80104DFC 00101D5C C0 5F 02 8C */ lfs f2, 0x28c(r31) -/* 80104E00 00101D60 C0 7F 02 90 */ lfs f3, 0x290(r31) -/* 80104E04 00101D64 C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) -/* 80104E08 00101D68 48 25 E5 E5 */ bl __ct__6CColorFffff -/* 80104E0C 00101D6C 7C 64 1B 78 */ mr r4, r3 -/* 80104E10 00101D70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80104E14 00101D74 81 83 00 00 */ lwz r12, 0(r3) -/* 80104E18 00101D78 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80104E1C 00101D7C 7D 89 03 A6 */ mtctr r12 -/* 80104E20 00101D80 4E 80 04 21 */ bctrl -/* 80104E24 00101D84 48 00 00 34 */ b lbl_80104E58 -lbl_80104E28: -/* 80104E28 00101D88 C0 3F 02 88 */ lfs f1, 0x288(r31) -/* 80104E2C 00101D8C 38 61 00 0C */ addi r3, r1, 0xc -/* 80104E30 00101D90 C0 5F 02 8C */ lfs f2, 0x28c(r31) -/* 80104E34 00101D94 C0 7F 02 90 */ lfs f3, 0x290(r31) -/* 80104E38 00101D98 C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) -/* 80104E3C 00101D9C 48 25 E5 B1 */ bl __ct__6CColorFffff -/* 80104E40 00101DA0 7C 64 1B 78 */ mr r4, r3 -/* 80104E44 00101DA4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80104E48 00101DA8 81 83 00 00 */ lwz r12, 0(r3) -/* 80104E4C 00101DAC 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80104E50 00101DB0 7D 89 03 A6 */ mtctr r12 -/* 80104E54 00101DB4 4E 80 04 21 */ bctrl -lbl_80104E58: -/* 80104E58 00101DB8 80 1F 00 00 */ lwz r0, 0(r31) -/* 80104E5C 00101DBC 3B A0 00 00 */ li r29, 0 -/* 80104E60 00101DC0 2C 00 00 00 */ cmpwi r0, 0 -/* 80104E64 00101DC4 41 82 00 F0 */ beq lbl_80104F54 -/* 80104E68 00101DC8 80 1F 02 DC */ lwz r0, 0x2dc(r31) -/* 80104E6C 00101DCC 2C 00 00 00 */ cmpwi r0, 0 -/* 80104E70 00101DD0 41 82 00 A4 */ beq lbl_80104F14 -/* 80104E74 00101DD4 88 1F 02 99 */ lbz r0, 0x299(r31) -/* 80104E78 00101DD8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80104E7C 00101DDC 41 82 00 98 */ beq lbl_80104F14 -/* 80104E80 00101DE0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80104E84 00101DE4 38 9F 00 04 */ addi r4, r31, 4 -/* 80104E88 00101DE8 4B F3 66 E9 */ bl __ct__6CLightFCR6CLight -/* 80104E8C 00101DEC 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80104E90 00101DF0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80104E94 00101DF4 38 81 00 20 */ addi r4, r1, 0x20 -/* 80104E98 00101DF8 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80104E9C 00101DFC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80104EA0 00101E00 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80104EA4 00101E04 48 25 E4 95 */ bl Get__6CColorCFRfRfRf -/* 80104EA8 00101E08 80 9F 02 DC */ lwz r4, 0x2dc(r31) -/* 80104EAC 00101E0C 3C 00 43 30 */ lis r0, 0x4330 -/* 80104EB0 00101E10 90 01 00 78 */ stw r0, 0x78(r1) -/* 80104EB4 00101E14 38 61 00 24 */ addi r3, r1, 0x24 -/* 80104EB8 00101E18 6C 84 80 00 */ xoris r4, r4, 0x8000 -/* 80104EBC 00101E1C C8 42 94 40 */ lfd f2, lbl_805AB160@sda21(r2) -/* 80104EC0 00101E20 90 81 00 7C */ stw r4, 0x7c(r1) -/* 80104EC4 00101E24 C0 62 94 38 */ lfs f3, lbl_805AB158@sda21(r2) -/* 80104EC8 00101E28 C8 01 00 78 */ lfd f0, 0x78(r1) -/* 80104ECC 00101E2C C0 82 94 24 */ lfs f4, lbl_805AB144@sda21(r2) -/* 80104ED0 00101E30 EC A0 10 28 */ fsubs f5, f0, f2 -/* 80104ED4 00101E34 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80104ED8 00101E38 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80104EDC 00101E3C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80104EE0 00101E40 EC 65 18 24 */ fdivs f3, f5, f3 -/* 80104EE4 00101E44 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80104EE8 00101E48 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80104EEC 00101E4C EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80104EF0 00101E50 EC 60 00 F2 */ fmuls f3, f0, f3 -/* 80104EF4 00101E54 48 25 E4 A9 */ bl Set__6CColorFffff -/* 80104EF8 00101E58 38 61 00 28 */ addi r3, r1, 0x28 -/* 80104EFC 00101E5C 38 81 00 24 */ addi r4, r1, 0x24 -/* 80104F00 00101E60 48 20 14 5D */ bl SetColor__6CLightFRC6CColor -/* 80104F04 00101E64 38 81 00 28 */ addi r4, r1, 0x28 -/* 80104F08 00101E68 38 60 00 00 */ li r3, 0 -/* 80104F0C 00101E6C 48 20 7A B9 */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight -/* 80104F10 00101E70 48 00 00 10 */ b lbl_80104F20 -lbl_80104F14: -/* 80104F14 00101E74 38 9F 00 04 */ addi r4, r31, 4 -/* 80104F18 00101E78 38 60 00 00 */ li r3, 0 -/* 80104F1C 00101E7C 48 20 7A A9 */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight -lbl_80104F20: -/* 80104F20 00101E80 3B DF 00 54 */ addi r30, r31, 0x54 -/* 80104F24 00101E84 3B A0 00 01 */ li r29, 1 -/* 80104F28 00101E88 3B 80 00 01 */ li r28, 1 -/* 80104F2C 00101E8C 48 00 00 1C */ b lbl_80104F48 -lbl_80104F30: -/* 80104F30 00101E90 7F 83 E3 78 */ mr r3, r28 -/* 80104F34 00101E94 7F C4 F3 78 */ mr r4, r30 -/* 80104F38 00101E98 48 20 7A 8D */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight -/* 80104F3C 00101E9C 3B DE 00 50 */ addi r30, r30, 0x50 -/* 80104F40 00101EA0 3B 9C 00 01 */ addi r28, r28, 1 -/* 80104F44 00101EA4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80104F48: -/* 80104F48 00101EA8 80 1F 00 00 */ lwz r0, 0(r31) -/* 80104F4C 00101EAC 7C 1C 00 00 */ cmpw r28, r0 -/* 80104F50 00101EB0 41 80 FF E0 */ blt lbl_80104F30 -lbl_80104F54: -/* 80104F54 00101EB4 3B DF 01 48 */ addi r30, r31, 0x148 -/* 80104F58 00101EB8 3B 80 00 00 */ li r28, 0 -/* 80104F5C 00101EBC 48 00 00 1C */ b lbl_80104F78 -lbl_80104F60: -/* 80104F60 00101EC0 7F A3 EB 78 */ mr r3, r29 -/* 80104F64 00101EC4 7F C4 F3 78 */ mr r4, r30 -/* 80104F68 00101EC8 48 20 7A 5D */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight -/* 80104F6C 00101ECC 3B DE 00 50 */ addi r30, r30, 0x50 -/* 80104F70 00101ED0 3B 9C 00 01 */ addi r28, r28, 1 -/* 80104F74 00101ED4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80104F78: -/* 80104F78 00101ED8 80 1F 01 44 */ lwz r0, 0x144(r31) -/* 80104F7C 00101EDC 7C 1C 00 00 */ cmpw r28, r0 -/* 80104F80 00101EE0 41 80 FF E0 */ blt lbl_80104F60 -/* 80104F84 00101EE4 28 1D 00 00 */ cmplwi r29, 0 -/* 80104F88 00101EE8 41 82 00 1C */ beq lbl_80104FA4 -/* 80104F8C 00101EEC 38 00 00 01 */ li r0, 1 -/* 80104F90 00101EF0 7C 03 E8 30 */ slw r3, r0, r29 -/* 80104F94 00101EF4 38 03 FF FF */ addi r0, r3, -1 -/* 80104F98 00101EF8 54 03 06 3E */ clrlwi r3, r0, 0x18 -/* 80104F9C 00101EFC 48 20 79 35 */ bl SetLightState__9CGraphicsFUc -/* 80104FA0 00101F00 48 00 00 08 */ b lbl_80104FA8 -lbl_80104FA4: -/* 80104FA4 00101F04 48 20 79 D9 */ bl DisableAllLights__9CGraphicsFv -lbl_80104FA8: -/* 80104FA8 00101F08 88 1F 02 98 */ lbz r0, 0x298(r31) -/* 80104FAC 00101F0C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80104FB0 00101F10 41 82 00 60 */ beq lbl_80105010 -/* 80104FB4 00101F14 C0 22 94 3C */ lfs f1, lbl_805AB15C@sda21(r2) -/* 80104FB8 00101F18 C0 1F 02 D4 */ lfs f0, 0x2d4(r31) -/* 80104FBC 00101F1C EF E1 00 32 */ fmuls f31, f1, f0 -/* 80104FC0 00101F20 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80104FC4 00101F24 38 00 00 FF */ li r0, 0xff -/* 80104FC8 00101F28 88 61 00 08 */ lbz r3, 8(r1) -/* 80104FCC 00101F2C 98 01 00 17 */ stb r0, 0x17(r1) -/* 80104FD0 00101F30 98 61 00 14 */ stb r3, 0x14(r1) -/* 80104FD4 00101F34 98 61 00 15 */ stb r3, 0x15(r1) -/* 80104FD8 00101F38 98 61 00 16 */ stb r3, 0x16(r1) -/* 80104FDC 00101F3C 48 24 4F D9 */ bl Black__6CColorFv -/* 80104FE0 00101F40 7C 64 1B 78 */ mr r4, r3 -/* 80104FE4 00101F44 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80104FE8 00101F48 81 83 00 00 */ lwz r12, 0(r3) -/* 80104FEC 00101F4C 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80104FF0 00101F50 7D 89 03 A6 */ mtctr r12 -/* 80104FF4 00101F54 4E 80 04 21 */ bctrl -/* 80104FF8 00101F58 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80104FFC 00101F5C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80105000 00101F60 81 83 00 00 */ lwz r12, 0(r3) -/* 80105004 00101F64 81 8C 00 FC */ lwz r12, 0xfc(r12) -/* 80105008 00101F68 7D 89 03 A6 */ mtctr r12 -/* 8010500C 00101F6C 4E 80 04 21 */ bctrl -lbl_80105010: -/* 80105010 00101F70 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80105014 00101F74 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80105018 00101F78 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8010501C 00101F7C 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80105020 00101F80 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80105024 00101F84 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 80105028 00101F88 83 81 00 80 */ lwz r28, 0x80(r1) -/* 8010502C 00101F8C 7C 08 03 A6 */ mtlr r0 -/* 80105030 00101F90 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80105034 00101F94 4E 80 00 20 */ blr - -.global SetAmbientColor__12CActorLightsFRC6CColor -SetAmbientColor__12CActorLightsFRC6CColor: -/* 80105038 00101F98 E0 04 A0 00 */ psq_l f0, 0(r4), 1, qr2 -/* 8010503C 00101F9C C0 22 94 48 */ lfs f1, lbl_805AB168@sda21(r2) -/* 80105040 00101FA0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80105044 00101FA4 D0 03 02 88 */ stfs f0, 0x288(r3) -/* 80105048 00101FA8 E0 04 A0 01 */ psq_l f0, 1(r4), 1, qr2 -/* 8010504C 00101FAC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80105050 00101FB0 D0 03 02 8C */ stfs f0, 0x28c(r3) -/* 80105054 00101FB4 E0 04 A0 02 */ psq_l f0, 2(r4), 1, qr2 -/* 80105058 00101FB8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8010505C 00101FBC D0 03 02 90 */ stfs f0, 0x290(r3) -/* 80105060 00101FC0 4E 80 00 20 */ blr - -.global GetLight__12CActorLightsCFUi -GetLight__12CActorLightsCFUi: -/* 80105064 00101FC4 88 03 02 98 */ lbz r0, 0x298(r3) -/* 80105068 00101FC8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8010506C 00101FCC 41 82 00 34 */ beq lbl_801050A0 -/* 80105070 00101FD0 80 03 00 00 */ lwz r0, 0(r3) -/* 80105074 00101FD4 7C 04 00 40 */ cmplw r4, r0 -/* 80105078 00101FD8 40 80 00 14 */ bge lbl_8010508C -/* 8010507C 00101FDC 1C 04 00 50 */ mulli r0, r4, 0x50 -/* 80105080 00101FE0 7C 63 02 14 */ add r3, r3, r0 -/* 80105084 00101FE4 38 63 00 04 */ addi r3, r3, 4 -/* 80105088 00101FE8 4E 80 00 20 */ blr -lbl_8010508C: -/* 8010508C 00101FEC 7C 00 20 50 */ subf r0, r0, r4 -/* 80105090 00101FF0 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 80105094 00101FF4 7C 63 02 14 */ add r3, r3, r0 -/* 80105098 00101FF8 38 63 01 48 */ addi r3, r3, 0x148 -/* 8010509C 00101FFC 4E 80 00 20 */ blr -lbl_801050A0: -/* 801050A0 00102000 1C 04 00 50 */ mulli r0, r4, 0x50 -/* 801050A4 00102004 7C 63 02 14 */ add r3, r3, r0 -/* 801050A8 00102008 38 63 01 48 */ addi r3, r3, 0x148 -/* 801050AC 0010200C 4E 80 00 20 */ blr - -.global GetActiveLightCount__12CActorLightsCFv -GetActiveLightCount__12CActorLightsCFv: -/* 801050B0 00102010 88 03 02 98 */ lbz r0, 0x298(r3) -/* 801050B4 00102014 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 801050B8 00102018 41 82 00 14 */ beq lbl_801050CC -/* 801050BC 0010201C 80 83 00 00 */ lwz r4, 0(r3) -/* 801050C0 00102020 80 03 01 44 */ lwz r0, 0x144(r3) -/* 801050C4 00102024 7C 64 02 14 */ add r3, r4, r0 -/* 801050C8 00102028 4E 80 00 20 */ blr -lbl_801050CC: -/* 801050CC 0010202C 80 63 01 44 */ lwz r3, 0x144(r3) -/* 801050D0 00102030 4E 80 00 20 */ blr - -.global __dt__12CActorLightsFv -__dt__12CActorLightsFv: -/* 801050D4 00102034 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801050D8 00102038 7C 08 02 A6 */ mflr r0 -/* 801050DC 0010203C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801050E0 00102040 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801050E4 00102044 7C 7F 1B 79 */ or. r31, r3, r3 -/* 801050E8 00102048 41 82 00 CC */ beq lbl_801051B4 -/* 801050EC 0010204C 34 1F 01 44 */ addic. r0, r31, 0x144 -/* 801050F0 00102050 41 82 00 58 */ beq lbl_80105148 -/* 801050F4 00102054 80 DF 01 44 */ lwz r6, 0x144(r31) -/* 801050F8 00102058 38 60 00 00 */ li r3, 0 -/* 801050FC 0010205C 2C 06 00 00 */ cmpwi r6, 0 -/* 80105100 00102060 40 81 00 40 */ ble lbl_80105140 -/* 80105104 00102064 2C 06 00 08 */ cmpwi r6, 8 -/* 80105108 00102068 38 A6 FF F8 */ addi r5, r6, -8 -/* 8010510C 0010206C 40 81 00 20 */ ble lbl_8010512C -/* 80105110 00102070 38 05 00 07 */ addi r0, r5, 7 -/* 80105114 00102074 54 00 E8 FE */ srwi r0, r0, 3 -/* 80105118 00102078 7C 09 03 A6 */ mtctr r0 -/* 8010511C 0010207C 2C 05 00 00 */ cmpwi r5, 0 -/* 80105120 00102080 40 81 00 0C */ ble lbl_8010512C -lbl_80105124: -/* 80105124 00102084 38 63 00 08 */ addi r3, r3, 8 -/* 80105128 00102088 42 00 FF FC */ bdnz lbl_80105124 -lbl_8010512C: -/* 8010512C 0010208C 7C 03 30 50 */ subf r0, r3, r6 -/* 80105130 00102090 7C 09 03 A6 */ mtctr r0 -/* 80105134 00102094 7C 03 30 00 */ cmpw r3, r6 -/* 80105138 00102098 40 80 00 08 */ bge lbl_80105140 -lbl_8010513C: -/* 8010513C 0010209C 42 00 00 00 */ bdnz lbl_8010513C -lbl_80105140: -/* 80105140 001020A0 38 00 00 00 */ li r0, 0 -/* 80105144 001020A4 90 1F 01 44 */ stw r0, 0x144(r31) -lbl_80105148: -/* 80105148 001020A8 28 1F 00 00 */ cmplwi r31, 0 -/* 8010514C 001020AC 41 82 00 58 */ beq lbl_801051A4 -/* 80105150 001020B0 80 DF 00 00 */ lwz r6, 0(r31) -/* 80105154 001020B4 38 60 00 00 */ li r3, 0 -/* 80105158 001020B8 2C 06 00 00 */ cmpwi r6, 0 -/* 8010515C 001020BC 40 81 00 40 */ ble lbl_8010519C -/* 80105160 001020C0 2C 06 00 08 */ cmpwi r6, 8 -/* 80105164 001020C4 38 A6 FF F8 */ addi r5, r6, -8 -/* 80105168 001020C8 40 81 00 20 */ ble lbl_80105188 -/* 8010516C 001020CC 38 05 00 07 */ addi r0, r5, 7 -/* 80105170 001020D0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80105174 001020D4 7C 09 03 A6 */ mtctr r0 -/* 80105178 001020D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8010517C 001020DC 40 81 00 0C */ ble lbl_80105188 -lbl_80105180: -/* 80105180 001020E0 38 63 00 08 */ addi r3, r3, 8 -/* 80105184 001020E4 42 00 FF FC */ bdnz lbl_80105180 -lbl_80105188: -/* 80105188 001020E8 7C 03 30 50 */ subf r0, r3, r6 -/* 8010518C 001020EC 7C 09 03 A6 */ mtctr r0 -/* 80105190 001020F0 7C 03 30 00 */ cmpw r3, r6 -/* 80105194 001020F4 40 80 00 08 */ bge lbl_8010519C -lbl_80105198: -/* 80105198 001020F8 42 00 00 00 */ bdnz lbl_80105198 -lbl_8010519C: -/* 8010519C 001020FC 38 00 00 00 */ li r0, 0 -/* 801051A0 00102100 90 1F 00 00 */ stw r0, 0(r31) -lbl_801051A4: -/* 801051A4 00102104 7C 80 07 35 */ extsh. r0, r4 -/* 801051A8 00102108 40 81 00 0C */ ble lbl_801051B4 -/* 801051AC 0010210C 7F E3 FB 78 */ mr r3, r31 -/* 801051B0 00102110 48 21 07 81 */ bl Free__7CMemoryFPCv -lbl_801051B4: -/* 801051B4 00102114 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801051B8 00102118 7F E3 FB 78 */ mr r3, r31 -/* 801051BC 0010211C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801051C0 00102120 7C 08 03 A6 */ mtlr r0 -/* 801051C4 00102124 38 21 00 10 */ addi r1, r1, 0x10 -/* 801051C8 00102128 4E 80 00 20 */ blr - -.global __ct__12CActorLightsFUi9CVector3fiif -__ct__12CActorLightsFUi9CVector3fiif: -/* 801051CC 0010212C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801051D0 00102130 3D 60 80 5A */ lis r11, skZero3f@ha -/* 801051D4 00102134 55 40 06 3F */ clrlwi. r0, r10, 0x18 -/* 801051D8 00102138 39 80 00 01 */ li r12, 1 -/* 801051DC 0010213C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801051E0 00102140 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801051E4 00102144 3B C0 00 00 */ li r30, 0 -/* 801051E8 00102148 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801051EC 0010214C 93 C3 00 00 */ stw r30, 0(r3) -/* 801051F0 00102150 93 C3 01 44 */ stw r30, 0x144(r3) -/* 801051F4 00102154 C4 0B 66 A0 */ lfsu f0, skZero3f@l(r11) -/* 801051F8 00102158 D0 03 02 88 */ stfs f0, 0x288(r3) -/* 801051FC 0010215C C0 0B 00 04 */ lfs f0, 4(r11) -/* 80105200 00102160 D0 03 02 8C */ stfs f0, 0x28c(r3) -/* 80105204 00102164 C0 0B 00 08 */ lfs f0, 8(r11) -/* 80105208 00102168 D0 03 02 90 */ stfs f0, 0x290(r3) -/* 8010520C 0010216C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80105210 00102170 90 03 02 94 */ stw r0, 0x294(r3) -/* 80105214 00102174 88 03 02 98 */ lbz r0, 0x298(r3) -/* 80105218 00102178 51 80 3E 30 */ rlwimi r0, r12, 7, 0x18, 0x18 -/* 8010521C 0010217C 98 03 02 98 */ stb r0, 0x298(r3) -/* 80105220 00102180 88 03 02 98 */ lbz r0, 0x298(r3) -/* 80105224 00102184 51 80 36 72 */ rlwimi r0, r12, 6, 0x19, 0x19 -/* 80105228 00102188 98 03 02 98 */ stb r0, 0x298(r3) -/* 8010522C 0010218C 88 03 02 98 */ lbz r0, 0x298(r3) -/* 80105230 00102190 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a -/* 80105234 00102194 98 03 02 98 */ stb r0, 0x298(r3) -/* 80105238 00102198 88 03 02 98 */ lbz r0, 0x298(r3) -/* 8010523C 0010219C 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b -/* 80105240 001021A0 98 03 02 98 */ stb r0, 0x298(r3) -/* 80105244 001021A4 40 82 00 10 */ bne lbl_80105254 -/* 80105248 001021A8 2C 07 00 00 */ cmpwi r7, 0 -/* 8010524C 001021AC 40 81 00 08 */ ble lbl_80105254 -/* 80105250 001021B0 7D 9E 63 78 */ mr r30, r12 -lbl_80105254: -/* 80105254 001021B4 8B A3 02 98 */ lbz r29, 0x298(r3) -/* 80105258 001021B8 53 DD 1F 38 */ rlwimi r29, r30, 3, 0x1c, 0x1c -/* 8010525C 001021BC 55 5E 06 3E */ clrlwi r30, r10, 0x18 -/* 80105260 001021C0 EC 41 00 72 */ fmuls f2, f1, f1 -/* 80105264 001021C4 9B A3 02 98 */ stb r29, 0x298(r3) -/* 80105268 001021C8 55 00 06 3E */ clrlwi r0, r8, 0x18 -/* 8010526C 001021CC 55 3D 06 3E */ clrlwi r29, r9, 0x18 -/* 80105270 001021D0 3B E0 00 01 */ li r31, 1 -/* 80105274 001021D4 89 03 02 98 */ lbz r8, 0x298(r3) -/* 80105278 001021D8 50 08 17 7A */ rlwimi r8, r0, 2, 0x1d, 0x1d -/* 8010527C 001021DC 39 40 00 00 */ li r10, 0 -/* 80105280 001021E0 99 03 02 98 */ stb r8, 0x298(r3) -/* 80105284 001021E4 38 00 FF FF */ li r0, -1 -/* 80105288 001021E8 3D 80 80 5A */ lis r12, skZero3f@ha -/* 8010528C 001021EC C0 22 94 08 */ lfs f1, lbl_805AB128@sda21(r2) -/* 80105290 001021F0 89 23 02 98 */ lbz r9, 0x298(r3) -/* 80105294 001021F4 53 A9 0F BC */ rlwimi r9, r29, 1, 0x1e, 0x1e -/* 80105298 001021F8 C0 02 94 24 */ lfs f0, lbl_805AB144@sda21(r2) -/* 8010529C 001021FC 99 23 02 98 */ stb r9, 0x298(r3) -/* 801052A0 00102200 89 23 02 98 */ lbz r9, 0x298(r3) -/* 801052A4 00102204 53 C9 07 FE */ rlwimi r9, r30, 0, 0x1f, 0x1f -/* 801052A8 00102208 99 23 02 98 */ stb r9, 0x298(r3) -/* 801052AC 0010220C 89 23 02 99 */ lbz r9, 0x299(r3) -/* 801052B0 00102210 53 E9 3E 30 */ rlwimi r9, r31, 7, 0x18, 0x18 -/* 801052B4 00102214 99 23 02 99 */ stb r9, 0x299(r3) -/* 801052B8 00102218 89 23 02 99 */ lbz r9, 0x299(r3) -/* 801052BC 0010221C 51 49 36 72 */ rlwimi r9, r10, 6, 0x19, 0x19 -/* 801052C0 00102220 99 23 02 99 */ stb r9, 0x299(r3) -/* 801052C4 00102224 89 23 02 99 */ lbz r9, 0x299(r3) -/* 801052C8 00102228 51 49 2E B4 */ rlwimi r9, r10, 5, 0x1a, 0x1a -/* 801052CC 0010222C 99 23 02 99 */ stb r9, 0x299(r3) -/* 801052D0 00102230 99 43 02 9A */ stb r10, 0x29a(r3) -/* 801052D4 00102234 90 03 02 9C */ stw r0, 0x29c(r3) -/* 801052D8 00102238 90 03 02 A0 */ stw r0, 0x2a0(r3) -/* 801052DC 0010223C 91 43 02 A4 */ stw r10, 0x2a4(r3) -/* 801052E0 00102240 90 83 02 A8 */ stw r4, 0x2a8(r3) -/* 801052E4 00102244 C0 65 00 00 */ lfs f3, 0(r5) -/* 801052E8 00102248 D0 63 02 AC */ stfs f3, 0x2ac(r3) -/* 801052EC 0010224C C0 65 00 04 */ lfs f3, 4(r5) -/* 801052F0 00102250 D0 63 02 B0 */ stfs f3, 0x2b0(r3) -/* 801052F4 00102254 C0 65 00 08 */ lfs f3, 8(r5) -/* 801052F8 00102258 D0 63 02 B4 */ stfs f3, 0x2b4(r3) -/* 801052FC 0010225C 90 E3 02 B8 */ stw r7, 0x2b8(r3) -/* 80105300 00102260 90 C3 02 BC */ stw r6, 0x2bc(r3) -/* 80105304 00102264 C0 6C 66 A0 */ lfs f3, skZero3f@l(r12) -/* 80105308 00102268 D0 63 02 C0 */ stfs f3, 0x2c0(r3) -/* 8010530C 0010226C C0 6B 00 04 */ lfs f3, 4(r11) -/* 80105310 00102270 D0 63 02 C4 */ stfs f3, 0x2c4(r3) -/* 80105314 00102274 C0 6B 00 08 */ lfs f3, 8(r11) -/* 80105318 00102278 D0 63 02 C8 */ stfs f3, 0x2c8(r3) -/* 8010531C 0010227C D0 43 02 CC */ stfs f2, 0x2cc(r3) -/* 80105320 00102280 D0 23 02 D0 */ stfs f1, 0x2d0(r3) -/* 80105324 00102284 D0 03 02 D4 */ stfs f0, 0x2d4(r3) -/* 80105328 00102288 90 03 02 D8 */ stw r0, 0x2d8(r3) -/* 8010532C 0010228C 91 43 02 DC */ stw r10, 0x2dc(r3) -/* 80105330 00102290 80 8D A3 50 */ lwz r4, lbl_805A8F10@sda21(r13) -/* 80105334 00102294 38 04 00 01 */ addi r0, r4, 1 -/* 80105338 00102298 90 0D A3 50 */ stw r0, lbl_805A8F10@sda21(r13) -/* 8010533C 0010229C 54 00 07 7E */ clrlwi r0, r0, 0x1d -/* 80105340 001022A0 90 0D A3 50 */ stw r0, lbl_805A8F10@sda21(r13) -/* 80105344 001022A4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80105348 001022A8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010534C 001022AC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80105350 001022B0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80105354 001022B4 4E 80 00 20 */ blr - -.global "sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" -"sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate": -/* 80105358 001022B8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8010535C 001022BC 7C 08 02 A6 */ mflr r0 -/* 80105360 001022C0 3C C0 92 49 */ lis r6, 0x92492493@ha -/* 80105364 001022C4 90 01 00 54 */ stw r0, 0x54(r1) -/* 80105368 001022C8 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8010536C 001022CC 7C 7C 1B 78 */ mr r28, r3 -/* 80105370 001022D0 7C 9D 23 78 */ mr r29, r4 -/* 80105374 001022D4 7C BE 2B 78 */ mr r30, r5 -/* 80105378 001022D8 7C 1C E8 50 */ subf r0, r28, r29 -/* 8010537C 001022DC 38 A6 24 93 */ addi r5, r6, 0x92492493@l -/* 80105380 001022E0 7C A5 00 96 */ mulhw r5, r5, r0 -/* 80105384 001022E4 7C 05 02 14 */ add r0, r5, r0 -/* 80105388 001022E8 7C 00 26 70 */ srawi r0, r0, 4 -/* 8010538C 001022EC 54 05 0F FE */ srwi r5, r0, 0x1f -/* 80105390 001022F0 7C A0 2A 14 */ add r5, r0, r5 -/* 80105394 001022F4 2C 05 00 01 */ cmpwi r5, 1 -/* 80105398 001022F8 40 81 01 60 */ ble lbl_801054F8 -/* 8010539C 001022FC 2C 05 00 14 */ cmpwi r5, 0x14 -/* 801053A0 00102300 41 81 00 18 */ bgt lbl_801053B8 -/* 801053A4 00102304 88 1E 00 00 */ lbz r0, 0(r30) -/* 801053A8 00102308 38 A1 00 14 */ addi r5, r1, 0x14 -/* 801053AC 0010230C 98 01 00 14 */ stb r0, 0x14(r1) -/* 801053B0 00102310 48 00 01 5D */ bl "__insertion_sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" -/* 801053B4 00102314 48 00 01 44 */ b lbl_801054F8 -lbl_801053B8: -/* 801053B8 00102318 54 A4 0F FE */ srwi r4, r5, 0x1f -/* 801053BC 0010231C 88 1E 00 00 */ lbz r0, 0(r30) -/* 801053C0 00102320 7C 84 2A 14 */ add r4, r4, r5 -/* 801053C4 00102324 3B FD FF E4 */ addi r31, r29, -28 -/* 801053C8 00102328 7C 84 0E 70 */ srawi r4, r4, 1 -/* 801053CC 0010232C 98 01 00 10 */ stb r0, 0x10(r1) -/* 801053D0 00102330 1C 04 00 1C */ mulli r0, r4, 0x1c -/* 801053D4 00102334 7F E5 FB 78 */ mr r5, r31 -/* 801053D8 00102338 38 C1 00 10 */ addi r6, r1, 0x10 -/* 801053DC 0010233C 7F 7C 02 14 */ add r27, r28, r0 -/* 801053E0 00102340 7F 64 DB 78 */ mr r4, r27 -/* 801053E4 00102344 48 00 02 2D */ bl "__sort3<11SLightValue,Q211SLightValue10CPredicate>__4rstlFR11SLightValueR11SLightValueR11SLightValueQ211SLightValue10CPredicate" -/* 801053E8 00102348 C0 BB 00 10 */ lfs f5, 0x10(r27) -/* 801053EC 0010234C 3B 7C 00 1C */ addi r27, r28, 0x1c -/* 801053F0 00102350 3B FF FF E4 */ addi r31, r31, -28 -/* 801053F4 00102354 48 00 00 08 */ b lbl_801053FC -lbl_801053F8: -/* 801053F8 00102358 3B 7B 00 1C */ addi r27, r27, 0x1c -lbl_801053FC: -/* 801053FC 0010235C C0 1B 00 10 */ lfs f0, 0x10(r27) -/* 80105400 00102360 FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 80105404 00102364 41 81 FF F4 */ bgt lbl_801053F8 -/* 80105408 00102368 48 00 00 08 */ b lbl_80105410 -lbl_8010540C: -/* 8010540C 0010236C 3B FF FF E4 */ addi r31, r31, -28 -lbl_80105410: -/* 80105410 00102370 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 80105414 00102374 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 80105418 00102378 41 81 FF F4 */ bgt lbl_8010540C -/* 8010541C 0010237C 7C 1B F8 40 */ cmplw r27, r31 -/* 80105420 00102380 40 80 00 A8 */ bge lbl_801054C8 -/* 80105424 00102384 80 FB 00 00 */ lwz r7, 0(r27) -/* 80105428 00102388 C0 9B 00 04 */ lfs f4, 4(r27) -/* 8010542C 0010238C C0 7B 00 08 */ lfs f3, 8(r27) -/* 80105430 00102390 C0 1B 00 0C */ lfs f0, 0xc(r27) -/* 80105434 00102394 C0 5B 00 10 */ lfs f2, 0x10(r27) -/* 80105438 00102398 C0 3B 00 14 */ lfs f1, 0x14(r27) -/* 8010543C 0010239C 80 DB 00 18 */ lwz r6, 0x18(r27) -/* 80105440 001023A0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80105444 001023A4 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80105448 001023A8 90 1B 00 00 */ stw r0, 0(r27) -/* 8010544C 001023AC 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 80105450 001023B0 80 7F 00 04 */ lwz r3, 4(r31) -/* 80105454 001023B4 80 1F 00 08 */ lwz r0, 8(r31) -/* 80105458 001023B8 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8010545C 001023BC 90 7B 00 04 */ stw r3, 4(r27) -/* 80105460 001023C0 90 1B 00 08 */ stw r0, 8(r27) -/* 80105464 001023C4 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80105468 001023C8 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8010546C 001023CC 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80105470 001023D0 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80105474 001023D4 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 80105478 001023D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8010547C 001023DC D0 1B 00 10 */ stfs f0, 0x10(r27) -/* 80105480 001023E0 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 80105484 001023E4 90 E1 00 18 */ stw r7, 0x18(r1) -/* 80105488 001023E8 D0 1B 00 14 */ stfs f0, 0x14(r27) -/* 8010548C 001023EC 80 BF 00 18 */ lwz r5, 0x18(r31) -/* 80105490 001023F0 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80105494 001023F4 90 BB 00 18 */ stw r5, 0x18(r27) -/* 80105498 001023F8 3B 7B 00 1C */ addi r27, r27, 0x1c -/* 8010549C 001023FC 90 FF 00 00 */ stw r7, 0(r31) -/* 801054A0 00102400 90 9F 00 04 */ stw r4, 4(r31) -/* 801054A4 00102404 90 7F 00 08 */ stw r3, 8(r31) -/* 801054A8 00102408 90 1F 00 0C */ stw r0, 0xc(r31) -/* 801054AC 0010240C D0 5F 00 10 */ stfs f2, 0x10(r31) -/* 801054B0 00102410 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 801054B4 00102414 90 DF 00 18 */ stw r6, 0x18(r31) -/* 801054B8 00102418 3B FF FF E4 */ addi r31, r31, -28 -/* 801054BC 0010241C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 801054C0 00102420 90 C1 00 30 */ stw r6, 0x30(r1) -/* 801054C4 00102424 4B FF FF 38 */ b lbl_801053FC -lbl_801054C8: -/* 801054C8 00102428 88 1E 00 00 */ lbz r0, 0(r30) -/* 801054CC 0010242C 7F 83 E3 78 */ mr r3, r28 -/* 801054D0 00102430 7F 64 DB 78 */ mr r4, r27 -/* 801054D4 00102434 38 A1 00 0C */ addi r5, r1, 0xc -/* 801054D8 00102438 98 01 00 0C */ stb r0, 0xc(r1) -/* 801054DC 0010243C 4B FF FE 7D */ bl "sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" -/* 801054E0 00102440 88 1E 00 00 */ lbz r0, 0(r30) -/* 801054E4 00102444 7F 63 DB 78 */ mr r3, r27 -/* 801054E8 00102448 7F A4 EB 78 */ mr r4, r29 -/* 801054EC 0010244C 38 A1 00 08 */ addi r5, r1, 8 -/* 801054F0 00102450 98 01 00 08 */ stb r0, 8(r1) -/* 801054F4 00102454 4B FF FE 65 */ bl "sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" -lbl_801054F8: -/* 801054F8 00102458 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 801054FC 0010245C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80105500 00102460 7C 08 03 A6 */ mtlr r0 -/* 80105504 00102464 38 21 00 50 */ addi r1, r1, 0x50 -/* 80105508 00102468 4E 80 00 20 */ blr - -.global "__insertion_sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate" -"__insertion_sort__4rstlFP11SLightValueP11SLightValueQ211SLightValue10CPredicate": -/* 8010550C 0010246C 38 C3 00 1C */ addi r6, r3, 0x1c -/* 80105510 00102470 38 A4 00 1B */ addi r5, r4, 0x1b -/* 80105514 00102474 7C A6 28 50 */ subf r5, r6, r5 -/* 80105518 00102478 38 00 00 1C */ li r0, 0x1c -/* 8010551C 0010247C 7C A5 03 96 */ divwu r5, r5, r0 -/* 80105520 00102480 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80105524 00102484 7C A9 03 A6 */ mtctr r5 -/* 80105528 00102488 7C 06 20 40 */ cmplw r6, r4 -/* 8010552C 0010248C 40 80 00 DC */ bge lbl_80105608 -lbl_80105530: -/* 80105530 00102490 80 86 00 00 */ lwz r4, 0(r6) -/* 80105534 00102494 7C C7 33 78 */ mr r7, r6 -/* 80105538 00102498 C0 86 00 04 */ lfs f4, 4(r6) -/* 8010553C 0010249C 38 A6 FF E4 */ addi r5, r6, -28 -/* 80105540 001024A0 C0 66 00 08 */ lfs f3, 8(r6) -/* 80105544 001024A4 C0 46 00 0C */ lfs f2, 0xc(r6) -/* 80105548 001024A8 C0 26 00 10 */ lfs f1, 0x10(r6) -/* 8010554C 001024AC C0 06 00 14 */ lfs f0, 0x14(r6) -/* 80105550 001024B0 80 06 00 18 */ lwz r0, 0x18(r6) -/* 80105554 001024B4 90 81 00 08 */ stw r4, 8(r1) -/* 80105558 001024B8 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8010555C 001024BC D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80105560 001024C0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80105564 001024C4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80105568 001024C8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8010556C 001024CC 90 01 00 20 */ stw r0, 0x20(r1) -/* 80105570 001024D0 48 00 00 44 */ b lbl_801055B4 -lbl_80105574: -/* 80105574 001024D4 80 05 00 00 */ lwz r0, 0(r5) -/* 80105578 001024D8 90 07 00 00 */ stw r0, 0(r7) -/* 8010557C 001024DC 80 85 00 04 */ lwz r4, 4(r5) -/* 80105580 001024E0 80 05 00 08 */ lwz r0, 8(r5) -/* 80105584 001024E4 90 87 00 04 */ stw r4, 4(r7) -/* 80105588 001024E8 90 07 00 08 */ stw r0, 8(r7) -/* 8010558C 001024EC 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80105590 001024F0 90 07 00 0C */ stw r0, 0xc(r7) -/* 80105594 001024F4 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 80105598 001024F8 D0 07 00 10 */ stfs f0, 0x10(r7) -/* 8010559C 001024FC C0 05 00 14 */ lfs f0, 0x14(r5) -/* 801055A0 00102500 D0 07 00 14 */ stfs f0, 0x14(r7) -/* 801055A4 00102504 80 05 00 18 */ lwz r0, 0x18(r5) -/* 801055A8 00102508 38 A5 FF E4 */ addi r5, r5, -28 -/* 801055AC 0010250C 90 07 00 18 */ stw r0, 0x18(r7) -/* 801055B0 00102510 38 E7 FF E4 */ addi r7, r7, -28 -lbl_801055B4: -/* 801055B4 00102514 7C 03 38 40 */ cmplw r3, r7 -/* 801055B8 00102518 40 80 00 10 */ bge lbl_801055C8 -/* 801055BC 0010251C C0 05 00 10 */ lfs f0, 0x10(r5) -/* 801055C0 00102520 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801055C4 00102524 41 81 FF B0 */ bgt lbl_80105574 -lbl_801055C8: -/* 801055C8 00102528 80 81 00 08 */ lwz r4, 8(r1) -/* 801055CC 0010252C 38 C6 00 1C */ addi r6, r6, 0x1c -/* 801055D0 00102530 80 01 00 0C */ lwz r0, 0xc(r1) -/* 801055D4 00102534 90 87 00 00 */ stw r4, 0(r7) -/* 801055D8 00102538 80 81 00 10 */ lwz r4, 0x10(r1) -/* 801055DC 0010253C 90 07 00 04 */ stw r0, 4(r7) -/* 801055E0 00102540 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801055E4 00102544 90 87 00 08 */ stw r4, 8(r7) -/* 801055E8 00102548 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 801055EC 0010254C 90 07 00 0C */ stw r0, 0xc(r7) -/* 801055F0 00102550 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 801055F4 00102554 D0 27 00 10 */ stfs f1, 0x10(r7) -/* 801055F8 00102558 80 01 00 20 */ lwz r0, 0x20(r1) -/* 801055FC 0010255C D0 07 00 14 */ stfs f0, 0x14(r7) -/* 80105600 00102560 90 07 00 18 */ stw r0, 0x18(r7) -/* 80105604 00102564 42 00 FF 2C */ bdnz lbl_80105530 -lbl_80105608: -/* 80105608 00102568 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010560C 0010256C 4E 80 00 20 */ blr - -.global "__sort3<11SLightValue,Q211SLightValue10CPredicate>__4rstlFR11SLightValueR11SLightValueR11SLightValueQ211SLightValue10CPredicate" -"__sort3<11SLightValue,Q211SLightValue10CPredicate>__4rstlFR11SLightValueR11SLightValueR11SLightValueQ211SLightValue10CPredicate": -/* 80105610 00102570 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80105614 00102574 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80105618 00102578 C0 83 00 10 */ lfs f4, 0x10(r3) -/* 8010561C 0010257C FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 80105620 00102580 40 81 00 0C */ ble lbl_8010562C -/* 80105624 00102584 38 00 00 01 */ li r0, 1 -/* 80105628 00102588 48 00 00 08 */ b lbl_80105630 -lbl_8010562C: -/* 8010562C 0010258C 38 00 00 00 */ li r0, 0 -lbl_80105630: -/* 80105630 00102590 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80105634 00102594 41 82 00 98 */ beq lbl_801056CC -/* 80105638 00102598 81 43 00 00 */ lwz r10, 0(r3) -/* 8010563C 0010259C C0 63 00 04 */ lfs f3, 4(r3) -/* 80105640 001025A0 C0 43 00 08 */ lfs f2, 8(r3) -/* 80105644 001025A4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80105648 001025A8 C0 23 00 14 */ lfs f1, 0x14(r3) -/* 8010564C 001025AC 81 23 00 18 */ lwz r9, 0x18(r3) -/* 80105650 001025B0 80 04 00 00 */ lwz r0, 0(r4) -/* 80105654 001025B4 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80105658 001025B8 90 03 00 00 */ stw r0, 0(r3) -/* 8010565C 001025BC 80 E1 00 0C */ lwz r7, 0xc(r1) -/* 80105660 001025C0 80 C4 00 04 */ lwz r6, 4(r4) -/* 80105664 001025C4 80 04 00 08 */ lwz r0, 8(r4) -/* 80105668 001025C8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8010566C 001025CC 90 C3 00 04 */ stw r6, 4(r3) -/* 80105670 001025D0 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 80105674 001025D4 90 03 00 08 */ stw r0, 8(r3) -/* 80105678 001025D8 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8010567C 001025DC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80105680 001025E0 90 03 00 0C */ stw r0, 0xc(r3) -/* 80105684 001025E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80105688 001025E8 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8010568C 001025EC 91 41 00 08 */ stw r10, 8(r1) -/* 80105690 001025F0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80105694 001025F4 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80105698 001025F8 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8010569C 001025FC D0 03 00 14 */ stfs f0, 0x14(r3) -/* 801056A0 00102600 81 04 00 18 */ lwz r8, 0x18(r4) -/* 801056A4 00102604 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 801056A8 00102608 91 03 00 18 */ stw r8, 0x18(r3) -/* 801056AC 0010260C 91 44 00 00 */ stw r10, 0(r4) -/* 801056B0 00102610 90 E4 00 04 */ stw r7, 4(r4) -/* 801056B4 00102614 90 C4 00 08 */ stw r6, 8(r4) -/* 801056B8 00102618 90 04 00 0C */ stw r0, 0xc(r4) -/* 801056BC 0010261C D0 84 00 10 */ stfs f4, 0x10(r4) -/* 801056C0 00102620 D0 24 00 14 */ stfs f1, 0x14(r4) -/* 801056C4 00102624 91 21 00 20 */ stw r9, 0x20(r1) -/* 801056C8 00102628 91 24 00 18 */ stw r9, 0x18(r4) -lbl_801056CC: -/* 801056CC 0010262C C0 85 00 10 */ lfs f4, 0x10(r5) -/* 801056D0 00102630 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 801056D4 00102634 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 801056D8 00102638 40 81 00 0C */ ble lbl_801056E4 -/* 801056DC 0010263C 38 00 00 01 */ li r0, 1 -/* 801056E0 00102640 48 00 00 08 */ b lbl_801056E8 -lbl_801056E4: -/* 801056E4 00102644 38 00 00 00 */ li r0, 0 -lbl_801056E8: -/* 801056E8 00102648 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 801056EC 0010264C 41 82 01 34 */ beq lbl_80105820 -/* 801056F0 00102650 80 C5 00 00 */ lwz r6, 0(r5) -/* 801056F4 00102654 C0 65 00 04 */ lfs f3, 4(r5) -/* 801056F8 00102658 C0 05 00 08 */ lfs f0, 8(r5) -/* 801056FC 0010265C C0 45 00 0C */ lfs f2, 0xc(r5) -/* 80105700 00102660 C0 25 00 14 */ lfs f1, 0x14(r5) -/* 80105704 00102664 80 E5 00 18 */ lwz r7, 0x18(r5) -/* 80105708 00102668 80 04 00 00 */ lwz r0, 0(r4) -/* 8010570C 0010266C 90 C1 00 24 */ stw r6, 0x24(r1) -/* 80105710 00102670 90 05 00 00 */ stw r0, 0(r5) -/* 80105714 00102674 80 C4 00 04 */ lwz r6, 4(r4) -/* 80105718 00102678 80 04 00 08 */ lwz r0, 8(r4) -/* 8010571C 0010267C D0 61 00 28 */ stfs f3, 0x28(r1) -/* 80105720 00102680 90 C5 00 04 */ stw r6, 4(r5) -/* 80105724 00102684 90 05 00 08 */ stw r0, 8(r5) -/* 80105728 00102688 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8010572C 0010268C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80105730 00102690 90 05 00 0C */ stw r0, 0xc(r5) -/* 80105734 00102694 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80105738 00102698 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8010573C 0010269C D0 05 00 10 */ stfs f0, 0x10(r5) -/* 80105740 001026A0 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80105744 001026A4 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80105748 001026A8 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8010574C 001026AC 80 04 00 18 */ lwz r0, 0x18(r4) -/* 80105750 001026B0 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80105754 001026B4 90 05 00 18 */ stw r0, 0x18(r5) -/* 80105758 001026B8 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8010575C 001026BC 90 E1 00 3C */ stw r7, 0x3c(r1) -/* 80105760 001026C0 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 80105764 001026C4 40 81 00 0C */ ble lbl_80105770 -/* 80105768 001026C8 38 00 00 01 */ li r0, 1 -/* 8010576C 001026CC 48 00 00 08 */ b lbl_80105774 -lbl_80105770: -/* 80105770 001026D0 38 00 00 00 */ li r0, 0 -lbl_80105774: -/* 80105774 001026D4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80105778 001026D8 41 82 00 74 */ beq lbl_801057EC -/* 8010577C 001026DC 80 03 00 00 */ lwz r0, 0(r3) -/* 80105780 001026E0 81 01 00 24 */ lwz r8, 0x24(r1) -/* 80105784 001026E4 90 04 00 00 */ stw r0, 0(r4) -/* 80105788 001026E8 80 E1 00 28 */ lwz r7, 0x28(r1) -/* 8010578C 001026EC 80 A3 00 04 */ lwz r5, 4(r3) -/* 80105790 001026F0 80 03 00 08 */ lwz r0, 8(r3) -/* 80105794 001026F4 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 80105798 001026F8 90 A4 00 04 */ stw r5, 4(r4) -/* 8010579C 001026FC 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 801057A0 00102700 90 04 00 08 */ stw r0, 8(r4) -/* 801057A4 00102704 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 801057A8 00102708 81 23 00 0C */ lwz r9, 0xc(r3) -/* 801057AC 0010270C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 801057B0 00102710 91 24 00 0C */ stw r9, 0xc(r4) -/* 801057B4 00102714 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 801057B8 00102718 D0 24 00 10 */ stfs f1, 0x10(r4) -/* 801057BC 0010271C C0 23 00 14 */ lfs f1, 0x14(r3) -/* 801057C0 00102720 D0 24 00 14 */ stfs f1, 0x14(r4) -/* 801057C4 00102724 81 23 00 18 */ lwz r9, 0x18(r3) -/* 801057C8 00102728 91 24 00 18 */ stw r9, 0x18(r4) -/* 801057CC 0010272C 91 03 00 00 */ stw r8, 0(r3) -/* 801057D0 00102730 90 E3 00 04 */ stw r7, 4(r3) -/* 801057D4 00102734 90 C3 00 08 */ stw r6, 8(r3) -/* 801057D8 00102738 90 A3 00 0C */ stw r5, 0xc(r3) -/* 801057DC 0010273C D0 83 00 10 */ stfs f4, 0x10(r3) -/* 801057E0 00102740 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 801057E4 00102744 90 03 00 18 */ stw r0, 0x18(r3) -/* 801057E8 00102748 48 00 00 38 */ b lbl_80105820 -lbl_801057EC: -/* 801057EC 0010274C 80 61 00 24 */ lwz r3, 0x24(r1) -/* 801057F0 00102750 80 01 00 28 */ lwz r0, 0x28(r1) -/* 801057F4 00102754 90 64 00 00 */ stw r3, 0(r4) -/* 801057F8 00102758 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 801057FC 0010275C 90 04 00 04 */ stw r0, 4(r4) -/* 80105800 00102760 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80105804 00102764 90 64 00 08 */ stw r3, 8(r4) -/* 80105808 00102768 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8010580C 0010276C 90 04 00 0C */ stw r0, 0xc(r4) -/* 80105810 00102770 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80105814 00102774 D0 84 00 10 */ stfs f4, 0x10(r4) -/* 80105818 00102778 D0 04 00 14 */ stfs f0, 0x14(r4) -/* 8010581C 0010277C 90 04 00 18 */ stw r0, 0x18(r4) -lbl_80105820: -/* 80105820 00102780 38 21 00 40 */ addi r1, r1, 0x40 -/* 80105824 00102784 4E 80 00 20 */ blr - -.global HasCorrectParameterCount__14CPatternedInfoFR12CInputStream -HasCorrectParameterCount__14CPatternedInfoFR12CInputStream: -/* 80105828 00102788 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8010582C 0010278C 7C 08 02 A6 */ mflr r0 -/* 80105830 00102790 90 01 00 14 */ stw r0, 0x14(r1) -/* 80105834 00102794 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80105838 00102798 7C 7F 1B 78 */ mr r31, r3 -/* 8010583C 0010279C 7C 83 23 78 */ mr r3, r4 -/* 80105840 001027A0 48 23 94 45 */ bl ReadLong__12CInputStreamFv -/* 80105844 001027A4 28 03 00 23 */ cmplwi r3, 0x23 -/* 80105848 001027A8 38 00 00 00 */ li r0, 0 -/* 8010584C 001027AC 41 80 00 10 */ blt lbl_8010585C -/* 80105850 001027B0 28 03 00 26 */ cmplwi r3, 0x26 -/* 80105854 001027B4 41 81 00 08 */ bgt lbl_8010585C -/* 80105858 001027B8 38 00 00 01 */ li r0, 1 -lbl_8010585C: -/* 8010585C 001027BC 98 1F 00 00 */ stb r0, 0(r31) -/* 80105860 001027C0 90 7F 00 04 */ stw r3, 4(r31) -/* 80105864 001027C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80105868 001027C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8010586C 001027CC 7C 08 03 A6 */ mtlr r0 -/* 80105870 001027D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80105874 001027D4 4E 80 00 20 */ blr - -.global __ct__14CPatternedInfoFR12CInputStreamUi -__ct__14CPatternedInfoFR12CInputStreamUi: -/* 80105878 001027D8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010587C 001027DC 7C 08 02 A6 */ mflr r0 -/* 80105880 001027E0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80105884 001027E4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80105888 001027E8 7C BF 2B 78 */ mr r31, r5 -/* 8010588C 001027EC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80105890 001027F0 7C 9E 23 78 */ mr r30, r4 -/* 80105894 001027F4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80105898 001027F8 7C 7D 1B 78 */ mr r29, r3 -/* 8010589C 001027FC 7F C3 F3 78 */ mr r3, r30 -/* 801058A0 00102800 48 23 93 89 */ bl ReadFloat__12CInputStreamFv -/* 801058A4 00102804 D0 3D 00 00 */ stfs f1, 0(r29) -/* 801058A8 00102808 7F C3 F3 78 */ mr r3, r30 -/* 801058AC 0010280C 48 23 93 7D */ bl ReadFloat__12CInputStreamFv -/* 801058B0 00102810 D0 3D 00 04 */ stfs f1, 4(r29) -/* 801058B4 00102814 7F C3 F3 78 */ mr r3, r30 -/* 801058B8 00102818 48 23 93 71 */ bl ReadFloat__12CInputStreamFv -/* 801058BC 0010281C D0 3D 00 08 */ stfs f1, 8(r29) -/* 801058C0 00102820 7F C3 F3 78 */ mr r3, r30 -/* 801058C4 00102824 48 23 93 65 */ bl ReadFloat__12CInputStreamFv -/* 801058C8 00102828 D0 3D 00 0C */ stfs f1, 0xc(r29) -/* 801058CC 0010282C 7F C3 F3 78 */ mr r3, r30 -/* 801058D0 00102830 48 23 93 59 */ bl ReadFloat__12CInputStreamFv -/* 801058D4 00102834 D0 3D 00 10 */ stfs f1, 0x10(r29) -/* 801058D8 00102838 7F C3 F3 78 */ mr r3, r30 -/* 801058DC 0010283C 48 23 93 4D */ bl ReadFloat__12CInputStreamFv -/* 801058E0 00102840 D0 3D 00 14 */ stfs f1, 0x14(r29) -/* 801058E4 00102844 7F C3 F3 78 */ mr r3, r30 -/* 801058E8 00102848 48 23 93 41 */ bl ReadFloat__12CInputStreamFv -/* 801058EC 0010284C D0 3D 00 18 */ stfs f1, 0x18(r29) -/* 801058F0 00102850 7F C3 F3 78 */ mr r3, r30 -/* 801058F4 00102854 48 23 93 35 */ bl ReadFloat__12CInputStreamFv -/* 801058F8 00102858 D0 3D 00 1C */ stfs f1, 0x1c(r29) -/* 801058FC 0010285C 7F C3 F3 78 */ mr r3, r30 -/* 80105900 00102860 48 23 93 29 */ bl ReadFloat__12CInputStreamFv -/* 80105904 00102864 D0 3D 00 20 */ stfs f1, 0x20(r29) -/* 80105908 00102868 7F C3 F3 78 */ mr r3, r30 -/* 8010590C 0010286C 48 23 93 1D */ bl ReadFloat__12CInputStreamFv -/* 80105910 00102870 D0 3D 00 24 */ stfs f1, 0x24(r29) -/* 80105914 00102874 7F C3 F3 78 */ mr r3, r30 -/* 80105918 00102878 48 23 93 11 */ bl ReadFloat__12CInputStreamFv -/* 8010591C 0010287C D0 3D 00 28 */ stfs f1, 0x28(r29) -/* 80105920 00102880 7F C3 F3 78 */ mr r3, r30 -/* 80105924 00102884 48 23 93 05 */ bl ReadFloat__12CInputStreamFv -/* 80105928 00102888 D0 3D 00 2C */ stfs f1, 0x2c(r29) -/* 8010592C 0010288C 7F C3 F3 78 */ mr r3, r30 -/* 80105930 00102890 48 23 92 F9 */ bl ReadFloat__12CInputStreamFv -/* 80105934 00102894 D0 3D 00 30 */ stfs f1, 0x30(r29) -/* 80105938 00102898 7F C4 F3 78 */ mr r4, r30 -/* 8010593C 0010289C 38 7D 00 34 */ addi r3, r29, 0x34 -/* 80105940 001028A0 4B FB DC 21 */ bl __ct__11CDamageInfoFR12CInputStream -/* 80105944 001028A4 7F C3 F3 78 */ mr r3, r30 -/* 80105948 001028A8 48 23 92 E1 */ bl ReadFloat__12CInputStreamFv -/* 8010594C 001028AC D0 3D 00 50 */ stfs f1, 0x50(r29) -/* 80105950 001028B0 7F C4 F3 78 */ mr r4, r30 -/* 80105954 001028B4 38 7D 00 54 */ addi r3, r29, 0x54 -/* 80105958 001028B8 48 0C DE ED */ bl __ct__11CHealthInfoFR12CInputStream -/* 8010595C 001028BC 7F C4 F3 78 */ mr r4, r30 -/* 80105960 001028C0 38 7D 00 5C */ addi r3, r29, 0x5c -/* 80105964 001028C4 4B FF D1 F5 */ bl __ct__20CDamageVulnerabilityFR12CInputStream -/* 80105968 001028C8 7F C3 F3 78 */ mr r3, r30 -/* 8010596C 001028CC 48 23 92 BD */ bl ReadFloat__12CInputStreamFv -/* 80105970 001028D0 D0 3D 00 C4 */ stfs f1, 0xc4(r29) -/* 80105974 001028D4 7F C3 F3 78 */ mr r3, r30 -/* 80105978 001028D8 48 23 92 B1 */ bl ReadFloat__12CInputStreamFv -/* 8010597C 001028DC D0 3D 00 C8 */ stfs f1, 0xc8(r29) -/* 80105980 001028E0 7F C4 F3 78 */ mr r4, r30 -/* 80105984 001028E4 38 7D 00 CC */ addi r3, r29, 0xcc -/* 80105988 001028E8 48 20 F2 05 */ bl __ct__9CVector3fFR12CInputStream -/* 8010598C 001028EC 7F C3 F3 78 */ mr r3, r30 -/* 80105990 001028F0 48 23 92 99 */ bl ReadFloat__12CInputStreamFv -/* 80105994 001028F4 D0 3D 00 D8 */ stfs f1, 0xd8(r29) -/* 80105998 001028F8 7F C3 F3 78 */ mr r3, r30 -/* 8010599C 001028FC 48 23 92 8D */ bl ReadFloat__12CInputStreamFv -/* 801059A0 00102900 D0 3D 00 DC */ stfs f1, 0xdc(r29) -/* 801059A4 00102904 7F C3 F3 78 */ mr r3, r30 -/* 801059A8 00102908 48 23 92 81 */ bl ReadFloat__12CInputStreamFv -/* 801059AC 0010290C D0 3D 00 E0 */ stfs f1, 0xe0(r29) -/* 801059B0 00102910 7F C3 F3 78 */ mr r3, r30 -/* 801059B4 00102914 48 23 92 75 */ bl ReadFloat__12CInputStreamFv -/* 801059B8 00102918 D0 3D 00 E4 */ stfs f1, 0xe4(r29) -/* 801059BC 0010291C 7F C3 F3 78 */ mr r3, r30 -/* 801059C0 00102920 48 23 92 C5 */ bl ReadLong__12CInputStreamFv -/* 801059C4 00102924 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 801059C8 00102928 48 1E 2F E9 */ bl TranslateSFXID__11CSfxManagerFUs -/* 801059CC 0010292C 54 60 04 3E */ clrlwi r0, r3, 0x10 -/* 801059D0 00102930 7F C3 F3 78 */ mr r3, r30 -/* 801059D4 00102934 90 1D 00 E8 */ stw r0, 0xe8(r29) -/* 801059D8 00102938 48 23 92 AD */ bl ReadLong__12CInputStreamFv -/* 801059DC 0010293C 90 7D 00 EC */ stw r3, 0xec(r29) -/* 801059E0 00102940 7F C3 F3 78 */ mr r3, r30 -/* 801059E4 00102944 48 23 92 A1 */ bl ReadLong__12CInputStreamFv -/* 801059E8 00102948 90 7D 00 F0 */ stw r3, 0xf0(r29) -/* 801059EC 0010294C 7F C3 F3 78 */ mr r3, r30 -/* 801059F0 00102950 48 23 92 95 */ bl ReadLong__12CInputStreamFv -/* 801059F4 00102954 90 7D 00 F4 */ stw r3, 0xf4(r29) -/* 801059F8 00102958 7F C3 F3 78 */ mr r3, r30 -/* 801059FC 0010295C 48 23 92 E1 */ bl ReadBool__12CInputStreamFv -/* 80105A00 00102960 98 7D 00 F8 */ stb r3, 0xf8(r29) -/* 80105A04 00102964 7F C3 F3 78 */ mr r3, r30 -/* 80105A08 00102968 48 23 92 7D */ bl ReadLong__12CInputStreamFv -/* 80105A0C 0010296C 90 7D 00 FC */ stw r3, 0xfc(r29) -/* 80105A10 00102970 7F C3 F3 78 */ mr r3, r30 -/* 80105A14 00102974 48 23 92 15 */ bl ReadFloat__12CInputStreamFv -/* 80105A18 00102978 D0 3D 01 00 */ stfs f1, 0x100(r29) -/* 80105A1C 0010297C 7F C3 F3 78 */ mr r3, r30 -/* 80105A20 00102980 48 23 92 09 */ bl ReadFloat__12CInputStreamFv -/* 80105A24 00102984 D0 3D 01 04 */ stfs f1, 0x104(r29) -/* 80105A28 00102988 7F C3 F3 78 */ mr r3, r30 -/* 80105A2C 0010298C 48 23 91 FD */ bl ReadFloat__12CInputStreamFv -/* 80105A30 00102990 D0 3D 01 08 */ stfs f1, 0x108(r29) -/* 80105A34 00102994 7F C3 F3 78 */ mr r3, r30 -/* 80105A38 00102998 48 23 92 4D */ bl ReadLong__12CInputStreamFv -/* 80105A3C 0010299C 90 7D 01 0C */ stw r3, 0x10c(r29) -/* 80105A40 001029A0 7F C4 F3 78 */ mr r4, r30 -/* 80105A44 001029A4 38 7D 01 10 */ addi r3, r29, 0x110 -/* 80105A48 001029A8 48 20 F1 45 */ bl __ct__9CVector3fFR12CInputStream -/* 80105A4C 001029AC 7F C3 F3 78 */ mr r3, r30 -/* 80105A50 001029B0 48 23 92 35 */ bl ReadLong__12CInputStreamFv -/* 80105A54 001029B4 90 7D 01 1C */ stw r3, 0x11c(r29) -/* 80105A58 001029B8 7F C3 F3 78 */ mr r3, r30 -/* 80105A5C 001029BC 48 23 92 29 */ bl ReadLong__12CInputStreamFv -/* 80105A60 001029C0 28 1F 00 24 */ cmplwi r31, 0x24 -/* 80105A64 001029C4 90 7D 01 20 */ stw r3, 0x120(r29) -/* 80105A68 001029C8 41 80 00 14 */ blt lbl_80105A7C -/* 80105A6C 001029CC 7F C4 F3 78 */ mr r4, r30 -/* 80105A70 001029D0 38 61 00 08 */ addi r3, r1, 8 -/* 80105A74 001029D4 48 20 F1 19 */ bl __ct__9CVector3fFR12CInputStream -/* 80105A78 001029D8 48 00 00 0C */ b lbl_80105A84 -lbl_80105A7C: -/* 80105A7C 001029DC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80105A80 001029E0 38 63 66 A0 */ addi r3, r3, skZero3f@l -lbl_80105A84: -/* 80105A84 001029E4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80105A88 001029E8 28 1F 00 25 */ cmplwi r31, 0x25 -/* 80105A8C 001029EC D0 1D 01 24 */ stfs f0, 0x124(r29) -/* 80105A90 001029F0 C0 03 00 04 */ lfs f0, 4(r3) -/* 80105A94 001029F4 D0 1D 01 28 */ stfs f0, 0x128(r29) -/* 80105A98 001029F8 C0 03 00 08 */ lfs f0, 8(r3) -/* 80105A9C 001029FC D0 1D 01 2C */ stfs f0, 0x12c(r29) -/* 80105AA0 00102A00 41 80 00 10 */ blt lbl_80105AB0 -/* 80105AA4 00102A04 7F C3 F3 78 */ mr r3, r30 -/* 80105AA8 00102A08 48 23 91 DD */ bl ReadLong__12CInputStreamFv -/* 80105AAC 00102A0C 48 00 00 08 */ b lbl_80105AB4 -lbl_80105AB0: -/* 80105AB0 00102A10 38 60 FF FF */ li r3, -1 -lbl_80105AB4: -/* 80105AB4 00102A14 28 1F 00 26 */ cmplwi r31, 0x26 -/* 80105AB8 00102A18 90 7D 01 30 */ stw r3, 0x130(r29) -/* 80105ABC 00102A1C 41 80 00 18 */ blt lbl_80105AD4 -/* 80105AC0 00102A20 7F C3 F3 78 */ mr r3, r30 -/* 80105AC4 00102A24 48 23 91 C1 */ bl ReadLong__12CInputStreamFv -/* 80105AC8 00102A28 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 80105ACC 00102A2C 48 1E 2E E5 */ bl TranslateSFXID__11CSfxManagerFUs -/* 80105AD0 00102A30 48 00 00 08 */ b lbl_80105AD8 -lbl_80105AD4: -/* 80105AD4 00102A34 A0 62 C5 FC */ lhz r3, lbl_805AE31C@sda21(r2) -lbl_80105AD8: -/* 80105AD8 00102A38 54 60 04 3E */ clrlwi r0, r3, 0x10 -/* 80105ADC 00102A3C 7F A3 EB 78 */ mr r3, r29 -/* 80105AE0 00102A40 90 1D 01 34 */ stw r0, 0x134(r29) -/* 80105AE4 00102A44 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80105AE8 00102A48 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80105AEC 00102A4C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80105AF0 00102A50 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80105AF4 00102A54 7C 08 03 A6 */ mtlr r0 -/* 80105AF8 00102A58 38 21 00 30 */ addi r1, r1, 0x30 -/* 80105AFC 00102A5C 4E 80 00 20 */ blr - -.global Valid__13CSimpleShadowCFv -Valid__13CSimpleShadowCFv: -/* 80105B00 00102A60 88 03 00 48 */ lbz r0, 0x48(r3) -/* 80105B04 00102A64 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 80105B08 00102A68 4E 80 00 20 */ blr - -.global GetMaxShadowBox__13CSimpleShadowCFRC6CAABox -GetMaxShadowBox__13CSimpleShadowCFRC6CAABox: -/* 80105B0C 00102A6C 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80105B10 00102A70 7C 08 02 A6 */ mflr r0 -/* 80105B14 00102A74 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80105B18 00102A78 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 80105B1C 00102A7C F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 80105B20 00102A80 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80105B24 00102A84 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80105B28 00102A88 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80105B2C 00102A8C F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 80105B30 00102A90 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 80105B34 00102A94 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 80105B38 00102A98 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80105B3C 00102A9C 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80105B40 00102AA0 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80105B44 00102AA4 7C 9E 23 78 */ mr r30, r4 -/* 80105B48 00102AA8 7C BF 2B 78 */ mr r31, r5 -/* 80105B4C 00102AAC C0 24 00 34 */ lfs f1, 0x34(r4) -/* 80105B50 00102AB0 7C 7D 1B 78 */ mr r29, r3 -/* 80105B54 00102AB4 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 80105B58 00102AB8 7F E4 FB 78 */ mr r4, r31 -/* 80105B5C 00102ABC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80105B60 00102AC0 EF 81 00 32 */ fmuls f28, f1, f0 -/* 80105B64 00102AC4 48 23 1A A9 */ bl GetCenterPoint__6CAABoxCFv -/* 80105B68 00102AC8 C0 BF 00 00 */ lfs f5, 0(r31) -/* 80105B6C 00102ACC 7F C3 F3 78 */ mr r3, r30 -/* 80105B70 00102AD0 C0 9F 00 04 */ lfs f4, 4(r31) -/* 80105B74 00102AD4 C0 7F 00 08 */ lfs f3, 8(r31) -/* 80105B78 00102AD8 C0 5F 00 0C */ lfs f2, 0xc(r31) -/* 80105B7C 00102ADC C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 80105B80 00102AE0 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 80105B84 00102AE4 D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 80105B88 00102AE8 C3 E1 00 20 */ lfs f31, 0x20(r1) -/* 80105B8C 00102AEC D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80105B90 00102AF0 C3 C1 00 24 */ lfs f30, 0x24(r1) -/* 80105B94 00102AF4 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80105B98 00102AF8 C3 A1 00 28 */ lfs f29, 0x28(r1) -/* 80105B9C 00102AFC D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80105BA0 00102B00 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80105BA4 00102B04 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80105BA8 00102B08 48 00 01 59 */ bl GetMaxObjectHeight__13CSimpleShadowCFv -/* 80105BAC 00102B0C FC 00 08 50 */ fneg f0, f1 -/* 80105BB0 00102B10 38 61 00 2C */ addi r3, r1, 0x2c -/* 80105BB4 00102B14 EC 5F E0 2A */ fadds f2, f31, f28 -/* 80105BB8 00102B18 38 81 00 14 */ addi r4, r1, 0x14 -/* 80105BBC 00102B1C EC 3E E0 2A */ fadds f1, f30, f28 -/* 80105BC0 00102B20 EC 1D 00 2A */ fadds f0, f29, f0 -/* 80105BC4 00102B24 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80105BC8 00102B28 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80105BCC 00102B2C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80105BD0 00102B30 48 23 1F 39 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80105BD4 00102B34 7F C3 F3 78 */ mr r3, r30 -/* 80105BD8 00102B38 48 00 01 29 */ bl GetMaxObjectHeight__13CSimpleShadowCFv -/* 80105BDC 00102B3C FC 60 E0 50 */ fneg f3, f28 -/* 80105BE0 00102B40 38 61 00 2C */ addi r3, r1, 0x2c -/* 80105BE4 00102B44 FC 00 08 50 */ fneg f0, f1 -/* 80105BE8 00102B48 38 81 00 08 */ addi r4, r1, 8 -/* 80105BEC 00102B4C EC 5F 18 2A */ fadds f2, f31, f3 -/* 80105BF0 00102B50 EC 3E 18 2A */ fadds f1, f30, f3 -/* 80105BF4 00102B54 EC 1D 00 2A */ fadds f0, f29, f0 -/* 80105BF8 00102B58 D0 41 00 08 */ stfs f2, 8(r1) -/* 80105BFC 00102B5C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80105C00 00102B60 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80105C04 00102B64 48 23 1F 05 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80105C08 00102B68 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80105C0C 00102B6C D0 1D 00 00 */ stfs f0, 0(r29) -/* 80105C10 00102B70 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80105C14 00102B74 D0 1D 00 04 */ stfs f0, 4(r29) -/* 80105C18 00102B78 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80105C1C 00102B7C D0 1D 00 08 */ stfs f0, 8(r29) -/* 80105C20 00102B80 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80105C24 00102B84 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 80105C28 00102B88 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80105C2C 00102B8C D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 80105C30 00102B90 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80105C34 00102B94 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 80105C38 00102B98 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 80105C3C 00102B9C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80105C40 00102BA0 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80105C44 00102BA4 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80105C48 00102BA8 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 80105C4C 00102BAC CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80105C50 00102BB0 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 80105C54 00102BB4 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 80105C58 00102BB8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80105C5C 00102BBC 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80105C60 00102BC0 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80105C64 00102BC4 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80105C68 00102BC8 7C 08 03 A6 */ mtlr r0 -/* 80105C6C 00102BCC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80105C70 00102BD0 4E 80 00 20 */ blr - -.global GetBounds__13CSimpleShadowCFv -GetBounds__13CSimpleShadowCFv: -/* 80105C74 00102BD4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80105C78 00102BD8 7C 08 02 A6 */ mflr r0 -/* 80105C7C 00102BDC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80105C80 00102BE0 38 A1 00 08 */ addi r5, r1, 8 -/* 80105C84 00102BE4 C0 24 00 34 */ lfs f1, 0x34(r4) -/* 80105C88 00102BE8 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 80105C8C 00102BEC C0 C4 00 2C */ lfs f6, 0x2c(r4) -/* 80105C90 00102BF0 EC E1 00 32 */ fmuls f7, f1, f0 -/* 80105C94 00102BF4 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80105C98 00102BF8 C0 24 00 1C */ lfs f1, 0x1c(r4) -/* 80105C9C 00102BFC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80105CA0 00102C00 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80105CA4 00102C04 EC A1 38 2A */ fadds f5, f1, f7 -/* 80105CA8 00102C08 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80105CAC 00102C0C EC 86 38 2A */ fadds f4, f6, f7 -/* 80105CB0 00102C10 EC 60 38 2A */ fadds f3, f0, f7 -/* 80105CB4 00102C14 EC 40 38 28 */ fsubs f2, f0, f7 -/* 80105CB8 00102C18 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 80105CBC 00102C1C EC 21 38 28 */ fsubs f1, f1, f7 -/* 80105CC0 00102C20 EC 06 38 28 */ fsubs f0, f6, f7 -/* 80105CC4 00102C24 D0 61 00 08 */ stfs f3, 8(r1) -/* 80105CC8 00102C28 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 80105CCC 00102C2C D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80105CD0 00102C30 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80105CD4 00102C34 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80105CD8 00102C38 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80105CDC 00102C3C 48 23 28 2D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80105CE0 00102C40 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80105CE4 00102C44 7C 08 03 A6 */ mtlr r0 -/* 80105CE8 00102C48 38 21 00 30 */ addi r1, r1, 0x30 -/* 80105CEC 00102C4C 4E 80 00 20 */ blr - -.global sub_80105cf0 -sub_80105cf0: -/* 80105CF0 00102C50 88 03 00 48 */ lbz r0, 0x48(r3) -/* 80105CF4 00102C54 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80105CF8 00102C58 98 03 00 48 */ stb r0, 0x48(r3) -/* 80105CFC 00102C5C 4E 80 00 20 */ blr - -.global GetMaxObjectHeight__13CSimpleShadowCFv -GetMaxObjectHeight__13CSimpleShadowCFv: -/* 80105D00 00102C60 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 80105D04 00102C64 4E 80 00 20 */ blr - -.global SetUserAlpha__13CSimpleShadowFf -SetUserAlpha__13CSimpleShadowFf: -/* 80105D08 00102C68 D0 23 00 38 */ stfs f1, 0x38(r3) -/* 80105D0C 00102C6C 4E 80 00 20 */ blr - -.global GetTransform__13CSimpleShadowCFv -GetTransform__13CSimpleShadowCFv: -/* 80105D10 00102C70 4E 80 00 20 */ blr - -.global Render__13CSimpleShadowCFPC8CTexture -Render__13CSimpleShadowCFPC8CTexture: -/* 80105D14 00102C74 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80105D18 00102C78 7C 08 02 A6 */ mflr r0 -/* 80105D1C 00102C7C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80105D20 00102C80 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80105D24 00102C84 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80105D28 00102C88 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 80105D2C 00102C8C F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 80105D30 00102C90 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80105D34 00102C94 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80105D38 00102C98 88 03 00 48 */ lbz r0, 0x48(r3) -/* 80105D3C 00102C9C 7C 7E 1B 78 */ mr r30, r3 -/* 80105D40 00102CA0 7C 9F 23 78 */ mr r31, r4 -/* 80105D44 00102CA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80105D48 00102CA8 41 82 01 58 */ beq lbl_80105EA0 -/* 80105D4C 00102CAC 48 20 6C 31 */ bl DisableAllLights__9CGraphicsFv -/* 80105D50 00102CB0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80105D54 00102CB4 7F C4 F3 78 */ mr r4, r30 -/* 80105D58 00102CB8 81 83 00 00 */ lwz r12, 0(r3) -/* 80105D5C 00102CBC 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80105D60 00102CC0 7D 89 03 A6 */ mtctr r12 -/* 80105D64 00102CC4 4E 80 04 21 */ bctrl -/* 80105D68 00102CC8 7F E3 FB 78 */ mr r3, r31 -/* 80105D6C 00102CCC 38 80 00 00 */ li r4, 0 -/* 80105D70 00102CD0 38 A0 00 01 */ li r5, 1 -/* 80105D74 00102CD4 48 20 99 C9 */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80105D78 00102CD8 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 80105D7C 00102CDC 38 60 00 00 */ li r3, 0 -/* 80105D80 00102CE0 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 80105D84 00102CE4 48 20 45 35 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80105D88 00102CE8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80105D8C 00102CEC 38 60 00 01 */ li r3, 1 -/* 80105D90 00102CF0 48 20 45 29 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80105D94 00102CF4 38 60 00 07 */ li r3, 7 -/* 80105D98 00102CF8 38 80 00 00 */ li r4, 0 -/* 80105D9C 00102CFC 38 A0 00 00 */ li r5, 0 -/* 80105DA0 00102D00 38 C0 00 07 */ li r6, 7 -/* 80105DA4 00102D04 38 E0 00 00 */ li r7, 0 -/* 80105DA8 00102D08 48 20 5C 81 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80105DAC 00102D0C 38 60 00 01 */ li r3, 1 -/* 80105DB0 00102D10 38 80 00 03 */ li r4, 3 -/* 80105DB4 00102D14 38 A0 00 00 */ li r5, 0 -/* 80105DB8 00102D18 48 20 5C DD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80105DBC 00102D1C 38 60 00 01 */ li r3, 1 -/* 80105DC0 00102D20 38 80 00 04 */ li r4, 4 -/* 80105DC4 00102D24 38 A0 00 05 */ li r5, 5 -/* 80105DC8 00102D28 38 C0 00 00 */ li r6, 0 -/* 80105DCC 00102D2C 48 20 5C 85 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 80105DD0 00102D30 C0 3E 00 34 */ lfs f1, 0x34(r30) -/* 80105DD4 00102D34 38 60 00 80 */ li r3, 0x80 -/* 80105DD8 00102D38 C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 80105DDC 00102D3C EF C1 00 32 */ fmuls f30, f1, f0 -/* 80105DE0 00102D40 48 20 58 89 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 80105DE4 00102D44 C0 3E 00 3C */ lfs f1, 0x3c(r30) -/* 80105DE8 00102D48 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 80105DEC 00102D4C C0 42 94 50 */ lfs f2, lbl_805AB170@sda21(r2) -/* 80105DF0 00102D50 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80105DF4 00102D54 EF E2 00 32 */ fmuls f31, f2, f0 -/* 80105DF8 00102D58 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80105DFC 00102D5C 88 61 00 08 */ lbz r3, 8(r1) -/* 80105E00 00102D60 38 63 FF 00 */ addi r3, r3, -256 -/* 80105E04 00102D64 48 20 57 69 */ bl StreamColor__9CGraphicsFUi -/* 80105E08 00102D68 C0 22 94 54 */ lfs f1, lbl_805AB174@sda21(r2) -/* 80105E0C 00102D6C FC 40 08 90 */ fmr f2, f1 -/* 80105E10 00102D70 48 20 56 55 */ bl StreamTexcoord__9CGraphicsFff -/* 80105E14 00102D74 FF E0 F0 50 */ fneg f31, f30 -/* 80105E18 00102D78 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) -/* 80105E1C 00102D7C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80105E20 00102D80 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80105E24 00102D84 D3 E1 00 30 */ stfs f31, 0x30(r1) -/* 80105E28 00102D88 D3 E1 00 38 */ stfs f31, 0x38(r1) -/* 80105E2C 00102D8C 48 20 57 95 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80105E30 00102D90 C0 22 94 54 */ lfs f1, lbl_805AB174@sda21(r2) -/* 80105E34 00102D94 C0 42 94 58 */ lfs f2, lbl_805AB178@sda21(r2) -/* 80105E38 00102D98 48 20 56 2D */ bl StreamTexcoord__9CGraphicsFff -/* 80105E3C 00102D9C C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) -/* 80105E40 00102DA0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80105E44 00102DA4 D3 C1 00 24 */ stfs f30, 0x24(r1) -/* 80105E48 00102DA8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80105E4C 00102DAC D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 80105E50 00102DB0 48 20 57 71 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80105E54 00102DB4 C0 22 94 58 */ lfs f1, lbl_805AB178@sda21(r2) -/* 80105E58 00102DB8 FC 40 08 90 */ fmr f2, f1 -/* 80105E5C 00102DBC 48 20 56 09 */ bl StreamTexcoord__9CGraphicsFff -/* 80105E60 00102DC0 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) -/* 80105E64 00102DC4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80105E68 00102DC8 D3 C1 00 18 */ stfs f30, 0x18(r1) -/* 80105E6C 00102DCC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80105E70 00102DD0 D3 C1 00 20 */ stfs f30, 0x20(r1) -/* 80105E74 00102DD4 48 20 57 4D */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80105E78 00102DD8 C0 22 94 58 */ lfs f1, lbl_805AB178@sda21(r2) -/* 80105E7C 00102DDC C0 42 94 54 */ lfs f2, lbl_805AB174@sda21(r2) -/* 80105E80 00102DE0 48 20 55 E5 */ bl StreamTexcoord__9CGraphicsFff -/* 80105E84 00102DE4 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) -/* 80105E88 00102DE8 38 61 00 0C */ addi r3, r1, 0xc -/* 80105E8C 00102DEC D3 E1 00 0C */ stfs f31, 0xc(r1) -/* 80105E90 00102DF0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80105E94 00102DF4 D3 C1 00 14 */ stfs f30, 0x14(r1) -/* 80105E98 00102DF8 48 20 57 29 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80105E9C 00102DFC 48 20 55 75 */ bl StreamEnd__9CGraphicsFv -lbl_80105EA0: -/* 80105EA0 00102E00 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80105EA4 00102E04 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80105EA8 00102E08 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 80105EAC 00102E0C CB C1 00 50 */ lfd f30, 0x50(r1) -/* 80105EB0 00102E10 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80105EB4 00102E14 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80105EB8 00102E18 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80105EBC 00102E1C 7C 08 03 A6 */ mtlr r0 -/* 80105EC0 00102E20 38 21 00 70 */ addi r1, r1, 0x70 -/* 80105EC4 00102E24 4E 80 00 20 */ blr - -.global Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager -Calculate__13CSimpleShadowFRC6CAABoxRC12CTransform4fRC13CStateManager: -/* 80105EC8 00102E28 94 21 F6 50 */ stwu r1, -0x9b0(r1) -/* 80105ECC 00102E2C 7C 08 02 A6 */ mflr r0 -/* 80105ED0 00102E30 90 01 09 B4 */ stw r0, 0x9b4(r1) -/* 80105ED4 00102E34 DB E1 09 A0 */ stfd f31, 0x9a0(r1) -/* 80105ED8 00102E38 F3 E1 09 A8 */ psq_st f31, -1624(r1), 0, qr0 -/* 80105EDC 00102E3C DB C1 09 90 */ stfd f30, 0x990(r1) -/* 80105EE0 00102E40 F3 C1 09 98 */ psq_st f30, -1640(r1), 0, qr0 -/* 80105EE4 00102E44 DB A1 09 80 */ stfd f29, 0x980(r1) -/* 80105EE8 00102E48 F3 A1 09 88 */ psq_st f29, -1656(r1), 0, qr0 -/* 80105EEC 00102E4C DB 81 09 70 */ stfd f28, 0x970(r1) -/* 80105EF0 00102E50 F3 81 09 78 */ psq_st f28, -1672(r1), 0, qr0 -/* 80105EF4 00102E54 93 E1 09 6C */ stw r31, 0x96c(r1) -/* 80105EF8 00102E58 93 C1 09 68 */ stw r30, 0x968(r1) -/* 80105EFC 00102E5C 7C 7E 1B 78 */ mr r30, r3 -/* 80105F00 00102E60 38 60 00 00 */ li r3, 0 -/* 80105F04 00102E64 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 80105F08 00102E68 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80105F0C 00102E6C C0 82 94 5C */ lfs f4, lbl_805AB17C@sda21(r2) -/* 80105F10 00102E70 7C DF 33 78 */ mr r31, r6 -/* 80105F14 00102E74 98 1E 00 48 */ stb r0, 0x48(r30) -/* 80105F18 00102E78 38 60 00 00 */ li r3, 0 -/* 80105F1C 00102E7C C0 62 94 54 */ lfs f3, lbl_805AB174@sda21(r2) -/* 80105F20 00102E80 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 80105F24 00102E84 C0 24 00 08 */ lfs f1, 8(r4) -/* 80105F28 00102E88 C0 05 00 1C */ lfs f0, 0x1c(r5) -/* 80105F2C 00102E8C EC A2 08 28 */ fsubs f5, f2, f1 -/* 80105F30 00102E90 C0 25 00 0C */ lfs f1, 0xc(r5) -/* 80105F34 00102E94 ED 00 18 2A */ fadds f8, f0, f3 -/* 80105F38 00102E98 C0 45 00 2C */ lfs f2, 0x2c(r5) -/* 80105F3C 00102E9C EC 21 18 2A */ fadds f1, f1, f3 -/* 80105F40 00102EA0 C0 02 94 60 */ lfs f0, lbl_805AB180@sda21(r2) -/* 80105F44 00102EA4 EF A5 01 32 */ fmuls f29, f5, f4 -/* 80105F48 00102EA8 C0 C4 00 0C */ lfs f6, 0xc(r4) -/* 80105F4C 00102EAC C0 A4 00 00 */ lfs f5, 0(r4) -/* 80105F50 00102EB0 C0 84 00 10 */ lfs f4, 0x10(r4) -/* 80105F54 00102EB4 EC E2 E8 2A */ fadds f7, f2, f29 -/* 80105F58 00102EB8 C0 44 00 04 */ lfs f2, 4(r4) -/* 80105F5C 00102EBC EF C6 28 28 */ fsubs f30, f6, f5 -/* 80105F60 00102EC0 80 AD 89 B8 */ lwz r5, lbl_805A7578@sda21(r13) -/* 80105F64 00102EC4 EF E4 10 28 */ fsubs f31, f4, f2 -/* 80105F68 00102EC8 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80105F6C 00102ECC D1 01 00 2C */ stfs f8, 0x2c(r1) -/* 80105F70 00102ED0 38 80 00 01 */ li r4, 1 -/* 80105F74 00102ED4 D0 E1 00 30 */ stfs f7, 0x30(r1) -/* 80105F78 00102ED8 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80105F7C 00102EDC D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80105F80 00102EE0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80105F84 00102EE4 48 28 3F 71 */ bl __shl2i -/* 80105F88 00102EE8 39 20 FF FF */ li r9, -1 -/* 80105F8C 00102EEC 39 00 00 00 */ li r8, 0 -/* 80105F90 00102EF0 38 00 00 02 */ li r0, 2 -/* 80105F94 00102EF4 90 81 00 5C */ stw r4, 0x5c(r1) -/* 80105F98 00102EF8 7F E4 FB 78 */ mr r4, r31 -/* 80105F9C 00102EFC 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80105FA0 00102F00 90 61 00 58 */ stw r3, 0x58(r1) -/* 80105FA4 00102F04 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80105FA8 00102F08 38 C1 00 1C */ addi r6, r1, 0x1c -/* 80105FAC 00102F0C 38 E1 00 50 */ addi r7, r1, 0x50 -/* 80105FB0 00102F10 91 21 00 54 */ stw r9, 0x54(r1) -/* 80105FB4 00102F14 91 01 00 50 */ stw r8, 0x50(r1) -/* 80105FB8 00102F18 90 01 00 60 */ stw r0, 0x60(r1) -/* 80105FBC 00102F1C C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80105FC0 00102F20 4B F4 6F D9 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80105FC4 00102F24 88 81 00 E8 */ lbz r4, 0xe8(r1) -/* 80105FC8 00102F28 C0 21 00 C8 */ lfs f1, 0xc8(r1) -/* 80105FCC 00102F2C 28 04 00 00 */ cmplwi r4, 0 -/* 80105FD0 00102F30 C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 80105FD4 00102F34 C0 61 00 D0 */ lfs f3, 0xd0(r1) -/* 80105FD8 00102F38 C0 81 00 D4 */ lfs f4, 0xd4(r1) -/* 80105FDC 00102F3C C0 A1 00 D8 */ lfs f5, 0xd8(r1) -/* 80105FE0 00102F40 C0 C1 00 DC */ lfs f6, 0xdc(r1) -/* 80105FE4 00102F44 C0 E1 00 E0 */ lfs f7, 0xe0(r1) -/* 80105FE8 00102F48 C1 01 00 E4 */ lfs f8, 0xe4(r1) -/* 80105FEC 00102F4C 80 A1 00 F0 */ lwz r5, 0xf0(r1) -/* 80105FF0 00102F50 80 C1 00 F4 */ lwz r6, 0xf4(r1) -/* 80105FF4 00102F54 C3 9E 00 40 */ lfs f28, 0x40(r30) -/* 80105FF8 00102F58 41 82 00 18 */ beq lbl_80106010 -/* 80105FFC 00102F5C 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 80106000 00102F60 38 60 00 01 */ li r3, 1 -/* 80106004 00102F64 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80106008 00102F68 FF 80 08 90 */ fmr f28, f1 -/* 8010600C 00102F6C 98 1E 00 48 */ stb r0, 0x48(r30) -lbl_80106010: -/* 80106010 00102F70 C0 02 94 64 */ lfs f0, lbl_805AB184@sda21(r2) -/* 80106014 00102F74 D0 21 01 28 */ stfs f1, 0x128(r1) -/* 80106018 00102F78 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8010601C 00102F7C D0 41 01 2C */ stfs f2, 0x12c(r1) -/* 80106020 00102F80 FC 1C 00 40 */ fcmpo cr0, f28, f0 -/* 80106024 00102F84 D0 61 01 30 */ stfs f3, 0x130(r1) -/* 80106028 00102F88 D0 81 01 34 */ stfs f4, 0x134(r1) -/* 8010602C 00102F8C D0 A1 01 38 */ stfs f5, 0x138(r1) -/* 80106030 00102F90 D0 C1 01 3C */ stfs f6, 0x13c(r1) -/* 80106034 00102F94 D0 E1 01 40 */ stfs f7, 0x140(r1) -/* 80106038 00102F98 D1 01 01 44 */ stfs f8, 0x144(r1) -/* 8010603C 00102F9C 98 81 01 48 */ stb r4, 0x148(r1) -/* 80106040 00102FA0 90 C1 01 54 */ stw r6, 0x154(r1) -/* 80106044 00102FA4 90 A1 01 50 */ stw r5, 0x150(r1) -/* 80106048 00102FA8 40 81 01 90 */ ble lbl_801061D8 -/* 8010604C 00102FAC 38 00 00 00 */ li r0, 0 -/* 80106050 00102FB0 80 AD 89 BC */ lwz r5, lbl_805A757C@sda21(r13) -/* 80106054 00102FB4 90 01 01 58 */ stw r0, 0x158(r1) -/* 80106058 00102FB8 38 60 00 00 */ li r3, 0 -/* 8010605C 00102FBC 38 80 00 01 */ li r4, 1 -/* 80106060 00102FC0 48 28 3E 95 */ bl __shl2i -/* 80106064 00102FC4 39 20 00 00 */ li r9, 0 -/* 80106068 00102FC8 38 00 00 01 */ li r0, 1 -/* 8010606C 00102FCC 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80106070 00102FD0 38 81 01 58 */ addi r4, r1, 0x158 -/* 80106074 00102FD4 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80106078 00102FD8 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8010607C 00102FDC 90 61 00 38 */ stw r3, 0x38(r1) -/* 80106080 00102FE0 7F E3 FB 78 */ mr r3, r31 -/* 80106084 00102FE4 38 E1 00 38 */ addi r7, r1, 0x38 -/* 80106088 00102FE8 39 00 00 00 */ li r8, 0 -/* 8010608C 00102FEC 91 21 00 44 */ stw r9, 0x44(r1) -/* 80106090 00102FF0 91 21 00 40 */ stw r9, 0x40(r1) -/* 80106094 00102FF4 90 01 00 48 */ stw r0, 0x48(r1) -/* 80106098 00102FF8 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8010609C 00102FFC 4B F4 66 3D */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" -/* 801060A0 00103000 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801060A4 00103004 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 801060A8 00103008 39 03 FD 18 */ addi r8, r3, lbl_8059FD18@l -/* 801060AC 0010300C 7F E4 FB 78 */ mr r4, r31 -/* 801060B0 00103010 B0 01 00 08 */ sth r0, 8(r1) -/* 801060B4 00103014 38 61 00 98 */ addi r3, r1, 0x98 -/* 801060B8 00103018 38 A1 00 08 */ addi r5, r1, 8 -/* 801060BC 0010301C 38 C1 00 28 */ addi r6, r1, 0x28 -/* 801060C0 00103020 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 801060C4 00103024 38 E1 00 1C */ addi r7, r1, 0x1c -/* 801060C8 00103028 39 21 01 58 */ addi r9, r1, 0x158 -/* 801060CC 0010302C 48 07 ED A1 */ bl "RayDynamicIntersection__14CGameCollisionFRC13CStateManagerR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 801060D0 00103030 88 E1 00 B8 */ lbz r7, 0xb8(r1) -/* 801060D4 00103034 C0 E1 00 98 */ lfs f7, 0x98(r1) -/* 801060D8 00103038 54 E0 06 3F */ clrlwi. r0, r7, 0x18 -/* 801060DC 0010303C C0 C1 00 9C */ lfs f6, 0x9c(r1) -/* 801060E0 00103040 C0 A1 00 A0 */ lfs f5, 0xa0(r1) -/* 801060E4 00103044 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 801060E8 00103048 C0 81 00 A8 */ lfs f4, 0xa8(r1) -/* 801060EC 0010304C C0 61 00 AC */ lfs f3, 0xac(r1) -/* 801060F0 00103050 C0 41 00 B0 */ lfs f2, 0xb0(r1) -/* 801060F4 00103054 C0 21 00 B4 */ lfs f1, 0xb4(r1) -/* 801060F8 00103058 80 01 00 C0 */ lwz r0, 0xc0(r1) -/* 801060FC 0010305C 80 61 00 C4 */ lwz r3, 0xc4(r1) -/* 80106100 00103060 D0 E1 00 F8 */ stfs f7, 0xf8(r1) -/* 80106104 00103064 D0 C1 00 FC */ stfs f6, 0xfc(r1) -/* 80106108 00103068 D0 A1 01 00 */ stfs f5, 0x100(r1) -/* 8010610C 0010306C D0 01 01 04 */ stfs f0, 0x104(r1) -/* 80106110 00103070 D0 81 01 08 */ stfs f4, 0x108(r1) -/* 80106114 00103074 D0 61 01 0C */ stfs f3, 0x10c(r1) -/* 80106118 00103078 D0 41 01 10 */ stfs f2, 0x110(r1) -/* 8010611C 0010307C D0 21 01 14 */ stfs f1, 0x114(r1) -/* 80106120 00103080 98 E1 01 18 */ stb r7, 0x118(r1) -/* 80106124 00103084 90 61 01 24 */ stw r3, 0x124(r1) -/* 80106128 00103088 90 01 01 20 */ stw r0, 0x120(r1) -/* 8010612C 0010308C 41 82 00 58 */ beq lbl_80106184 -/* 80106130 00103090 FC 07 E0 40 */ fcmpo cr0, f7, f28 -/* 80106134 00103094 40 80 00 50 */ bge lbl_80106184 -/* 80106138 00103098 80 C1 00 FC */ lwz r6, 0xfc(r1) -/* 8010613C 0010309C 38 60 00 01 */ li r3, 1 -/* 80106140 001030A0 80 A1 01 00 */ lwz r5, 0x100(r1) -/* 80106144 001030A4 FF 80 38 90 */ fmr f28, f7 -/* 80106148 001030A8 80 81 01 04 */ lwz r4, 0x104(r1) -/* 8010614C 001030AC C8 01 01 20 */ lfd f0, 0x120(r1) -/* 80106150 001030B0 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 80106154 001030B4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80106158 001030B8 D0 E1 01 28 */ stfs f7, 0x128(r1) -/* 8010615C 001030BC 90 C1 01 2C */ stw r6, 0x12c(r1) -/* 80106160 001030C0 90 A1 01 30 */ stw r5, 0x130(r1) -/* 80106164 001030C4 90 81 01 34 */ stw r4, 0x134(r1) -/* 80106168 001030C8 D0 81 01 38 */ stfs f4, 0x138(r1) -/* 8010616C 001030CC D0 61 01 3C */ stfs f3, 0x13c(r1) -/* 80106170 001030D0 D0 41 01 40 */ stfs f2, 0x140(r1) -/* 80106174 001030D4 D0 21 01 44 */ stfs f1, 0x144(r1) -/* 80106178 001030D8 98 E1 01 48 */ stb r7, 0x148(r1) -/* 8010617C 001030DC D8 01 01 50 */ stfd f0, 0x150(r1) -/* 80106180 001030E0 98 1E 00 48 */ stb r0, 0x48(r30) -lbl_80106184: -/* 80106184 001030E4 80 A1 01 58 */ lwz r5, 0x158(r1) -/* 80106188 001030E8 38 60 00 00 */ li r3, 0 -/* 8010618C 001030EC 2C 05 00 00 */ cmpwi r5, 0 -/* 80106190 001030F0 40 81 00 40 */ ble lbl_801061D0 -/* 80106194 001030F4 2C 05 00 08 */ cmpwi r5, 8 -/* 80106198 001030F8 38 85 FF F8 */ addi r4, r5, -8 -/* 8010619C 001030FC 40 81 00 20 */ ble lbl_801061BC -/* 801061A0 00103100 38 04 00 07 */ addi r0, r4, 7 -/* 801061A4 00103104 54 00 E8 FE */ srwi r0, r0, 3 -/* 801061A8 00103108 7C 09 03 A6 */ mtctr r0 -/* 801061AC 0010310C 2C 04 00 00 */ cmpwi r4, 0 -/* 801061B0 00103110 40 81 00 0C */ ble lbl_801061BC -lbl_801061B4: -/* 801061B4 00103114 38 63 00 08 */ addi r3, r3, 8 -/* 801061B8 00103118 42 00 FF FC */ bdnz lbl_801061B4 -lbl_801061BC: -/* 801061BC 0010311C 7C 03 28 50 */ subf r0, r3, r5 -/* 801061C0 00103120 7C 09 03 A6 */ mtctr r0 -/* 801061C4 00103124 7C 03 28 00 */ cmpw r3, r5 -/* 801061C8 00103128 40 80 00 08 */ bge lbl_801061D0 -lbl_801061CC: -/* 801061CC 0010312C 42 00 00 00 */ bdnz lbl_801061CC -lbl_801061D0: -/* 801061D0 00103130 38 00 00 00 */ li r0, 0 -/* 801061D4 00103134 90 01 01 58 */ stw r0, 0x158(r1) -lbl_801061D8: -/* 801061D8 00103138 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 801061DC 0010313C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801061E0 00103140 41 82 01 28 */ beq lbl_80106308 -/* 801061E4 00103144 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 801061E8 00103148 3C 80 80 5A */ lis r4, skZero3f@ha -/* 801061EC 0010314C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 801061F0 00103150 C0 62 94 58 */ lfs f3, lbl_805AB178@sda21(r2) -/* 801061F4 00103154 EC 1C 00 24 */ fdivs f0, f28, f0 -/* 801061F8 00103158 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 801061FC 0010315C 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80106200 00103160 C0 41 01 38 */ lfs f2, 0x138(r1) -/* 80106204 00103164 C0 21 01 3C */ lfs f1, 0x13c(r1) -/* 80106208 00103168 38 61 00 68 */ addi r3, r1, 0x68 -/* 8010620C 0010316C EC 63 00 28 */ fsubs f3, f3, f0 -/* 80106210 00103170 C0 01 01 40 */ lfs f0, 0x140(r1) -/* 80106214 00103174 38 81 00 10 */ addi r4, r1, 0x10 -/* 80106218 00103178 D0 7E 00 3C */ stfs f3, 0x3c(r30) -/* 8010621C 0010317C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80106220 00103180 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80106224 00103184 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80106228 00103188 48 20 D8 E9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8010622C 0010318C 7F C3 F3 78 */ mr r3, r30 -/* 80106230 00103190 38 81 00 68 */ addi r4, r1, 0x68 -/* 80106234 00103194 48 20 C9 0D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80106238 00103198 C0 BE 00 44 */ lfs f5, 0x44(r30) -/* 8010623C 0010319C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80106240 001031A0 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 80106244 001031A4 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80106248 001031A8 C0 21 01 2C */ lfs f1, 0x12c(r1) -/* 8010624C 001031AC C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80106250 001031B0 EC 65 00 F2 */ fmuls f3, f5, f3 -/* 80106254 001031B4 C0 81 01 30 */ lfs f4, 0x130(r1) -/* 80106258 001031B8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8010625C 001031BC EC 25 00 B2 */ fmuls f1, f5, f2 -/* 80106260 001031C0 C0 41 01 34 */ lfs f2, 0x134(r1) -/* 80106264 001031C4 EC 64 18 2A */ fadds f3, f4, f3 -/* 80106268 001031C8 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8010626C 001031CC EC 02 08 2A */ fadds f0, f2, f1 -/* 80106270 001031D0 D0 7E 00 1C */ stfs f3, 0x1c(r30) -/* 80106274 001031D4 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 80106278 001031D8 88 7E 00 48 */ lbz r3, 0x48(r30) -/* 8010627C 001031DC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80106280 001031E0 40 82 00 0C */ bne lbl_8010628C -/* 80106284 001031E4 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 80106288 001031E8 40 82 00 80 */ bne lbl_80106308 -lbl_8010628C: -/* 8010628C 001031EC EC 3F 07 F2 */ fmuls f1, f31, f31 -/* 80106290 001031F0 C0 02 94 54 */ lfs f0, lbl_805AB174@sda21(r2) -/* 80106294 001031F4 EC 9E 0F BA */ fmadds f4, f30, f30, f1 -/* 80106298 001031F8 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8010629C 001031FC 40 81 00 50 */ ble lbl_801062EC -/* 801062A0 00103200 FC 20 20 34 */ frsqrte f1, f4 -/* 801062A4 00103204 C8 62 94 68 */ lfd f3, lbl_805AB188@sda21(r2) -/* 801062A8 00103208 C8 42 94 70 */ lfd f2, lbl_805AB190@sda21(r2) -/* 801062AC 0010320C FC 01 00 72 */ fmul f0, f1, f1 -/* 801062B0 00103210 FC 23 00 72 */ fmul f1, f3, f1 -/* 801062B4 00103214 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 801062B8 00103218 FC 21 00 32 */ fmul f1, f1, f0 -/* 801062BC 0010321C FC 01 00 72 */ fmul f0, f1, f1 -/* 801062C0 00103220 FC 23 00 72 */ fmul f1, f3, f1 -/* 801062C4 00103224 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 801062C8 00103228 FC 21 00 32 */ fmul f1, f1, f0 -/* 801062CC 0010322C FC 01 00 72 */ fmul f0, f1, f1 -/* 801062D0 00103230 FC 23 00 72 */ fmul f1, f3, f1 -/* 801062D4 00103234 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 801062D8 00103238 FC 01 00 32 */ fmul f0, f1, f0 -/* 801062DC 0010323C FC 04 00 32 */ fmul f0, f4, f0 -/* 801062E0 00103240 FC 00 00 18 */ frsp f0, f0 -/* 801062E4 00103244 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 801062E8 00103248 C0 81 00 0C */ lfs f4, 0xc(r1) -lbl_801062EC: -/* 801062EC 0010324C C0 02 94 5C */ lfs f0, lbl_805AB17C@sda21(r2) -/* 801062F0 00103250 38 60 00 01 */ li r3, 1 -/* 801062F4 00103254 EC 04 00 32 */ fmuls f0, f4, f0 -/* 801062F8 00103258 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 801062FC 0010325C 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 80106300 00103260 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80106304 00103264 98 1E 00 48 */ stb r0, 0x48(r30) -lbl_80106308: -/* 80106308 00103268 E3 E1 09 A8 */ psq_l f31, -1624(r1), 0, qr0 -/* 8010630C 0010326C CB E1 09 A0 */ lfd f31, 0x9a0(r1) -/* 80106310 00103270 E3 C1 09 98 */ psq_l f30, -1640(r1), 0, qr0 -/* 80106314 00103274 CB C1 09 90 */ lfd f30, 0x990(r1) -/* 80106318 00103278 E3 A1 09 88 */ psq_l f29, -1656(r1), 0, qr0 -/* 8010631C 0010327C CB A1 09 80 */ lfd f29, 0x980(r1) -/* 80106320 00103280 E3 81 09 78 */ psq_l f28, -1672(r1), 0, qr0 -/* 80106324 00103284 CB 81 09 70 */ lfd f28, 0x970(r1) -/* 80106328 00103288 83 E1 09 6C */ lwz r31, 0x96c(r1) -/* 8010632C 0010328C 80 01 09 B4 */ lwz r0, 0x9b4(r1) -/* 80106330 00103290 83 C1 09 68 */ lwz r30, 0x968(r1) -/* 80106334 00103294 7C 08 03 A6 */ mtlr r0 -/* 80106338 00103298 38 21 09 B0 */ addi r1, r1, 0x9b0 -/* 8010633C 0010329C 4E 80 00 20 */ blr - -.global __ct__13CSimpleShadowFffff -__ct__13CSimpleShadowFffff: -/* 80106340 001032A0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80106344 001032A4 7C 08 02 A6 */ mflr r0 -/* 80106348 001032A8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8010634C 001032AC DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80106350 001032B0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80106354 001032B4 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80106358 001032B8 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 8010635C 001032BC DB A1 00 20 */ stfd f29, 0x20(r1) -/* 80106360 001032C0 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 80106364 001032C4 DB 81 00 10 */ stfd f28, 0x10(r1) -/* 80106368 001032C8 F3 81 00 18 */ psq_st f28, 24(r1), 0, qr0 -/* 8010636C 001032CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80106370 001032D0 FF 80 08 90 */ fmr f28, f1 -/* 80106374 001032D4 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80106378 001032D8 FF A0 10 90 */ fmr f29, f2 -/* 8010637C 001032DC 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80106380 001032E0 FF C0 18 90 */ fmr f30, f3 -/* 80106384 001032E4 7C 7F 1B 78 */ mr r31, r3 -/* 80106388 001032E8 FF E0 20 90 */ fmr f31, f4 -/* 8010638C 001032EC 48 20 C7 E9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80106390 001032F0 D3 9F 00 30 */ stfs f28, 0x30(r31) -/* 80106394 001032F4 38 A0 00 00 */ li r5, 0 -/* 80106398 001032F8 C0 02 94 58 */ lfs f0, lbl_805AB178@sda21(r2) -/* 8010639C 001032FC 38 80 00 01 */ li r4, 1 -/* 801063A0 00103300 7F E3 FB 78 */ mr r3, r31 -/* 801063A4 00103304 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 801063A8 00103308 D3 BF 00 38 */ stfs f29, 0x38(r31) -/* 801063AC 0010330C D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 801063B0 00103310 D3 DF 00 40 */ stfs f30, 0x40(r31) -/* 801063B4 00103314 D3 FF 00 44 */ stfs f31, 0x44(r31) -/* 801063B8 00103318 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 801063BC 0010331C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 801063C0 00103320 98 1F 00 48 */ stb r0, 0x48(r31) -/* 801063C4 00103324 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 801063C8 00103328 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 801063CC 0010332C 98 1F 00 48 */ stb r0, 0x48(r31) -/* 801063D0 00103330 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 801063D4 00103334 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 801063D8 00103338 98 1F 00 48 */ stb r0, 0x48(r31) -/* 801063DC 0010333C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 801063E0 00103340 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 801063E4 00103344 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 801063E8 00103348 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 801063EC 0010334C E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 801063F0 00103350 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 801063F4 00103354 E3 81 00 18 */ psq_l f28, 24(r1), 0, qr0 -/* 801063F8 00103358 CB 81 00 10 */ lfd f28, 0x10(r1) -/* 801063FC 0010335C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80106400 00103360 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80106404 00103364 7C 08 03 A6 */ mtlr r0 -/* 80106408 00103368 38 21 00 50 */ addi r1, r1, 0x50 -/* 8010640C 0010336C 4E 80 00 20 */ blr - -.global MakeActorLights__16CLightParametersCFv -MakeActorLights__16CLightParametersCFv: -/* 80106410 00103370 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80106414 00103374 7C 08 02 A6 */ mflr r0 -/* 80106418 00103378 90 01 00 44 */ stw r0, 0x44(r1) -/* 8010641C 0010337C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80106420 00103380 7C 9F 23 78 */ mr r31, r4 -/* 80106424 00103384 38 80 00 00 */ li r4, 0 -/* 80106428 00103388 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8010642C 0010338C 7C 7E 1B 78 */ mr r30, r3 -/* 80106430 00103390 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80106434 00103394 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 80106438 00103398 98 81 00 10 */ stb r4, 0x10(r1) -/* 8010643C 0010339C 28 00 00 00 */ cmplwi r0, 0 -/* 80106440 001033A0 90 81 00 14 */ stw r4, 0x14(r1) -/* 80106444 001033A4 41 82 01 34 */ beq lbl_80106578 -/* 80106448 001033A8 3C 80 80 3D */ lis r4, lbl_803CEE50@ha -/* 8010644C 001033AC 38 60 02 E0 */ li r3, 0x2e0 -/* 80106450 001033B0 38 84 EE 50 */ addi r4, r4, lbl_803CEE50@l -/* 80106454 001033B4 38 A0 00 00 */ li r5, 0 -/* 80106458 001033B8 48 20 F4 15 */ bl __nw__FUlPCcPCc -/* 8010645C 001033BC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80106460 001033C0 41 82 00 68 */ beq lbl_801064C8 -/* 80106464 001033C4 80 7F 00 2C */ lwz r3, 0x2c(r31) -/* 80106468 001033C8 80 9F 00 30 */ lwz r4, 0x30(r31) -/* 8010646C 001033CC 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80106470 001033D0 90 61 00 18 */ stw r3, 0x18(r1) -/* 80106474 001033D4 80 7F 00 24 */ lwz r3, 0x24(r31) -/* 80106478 001033D8 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8010647C 001033DC 90 01 00 20 */ stw r0, 0x20(r1) -/* 80106480 001033E0 48 00 01 35 */ bl GetFramesBetweenRecalculation__16CLightParametersF26ELightRecalculationOptions -/* 80106484 001033E4 80 BF 00 28 */ lwz r5, 0x28(r31) -/* 80106488 001033E8 7C 64 1B 78 */ mr r4, r3 -/* 8010648C 001033EC 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80106490 001033F0 7F A3 EB 78 */ mr r3, r29 -/* 80106494 001033F4 20 A5 00 01 */ subfic r5, r5, 1 -/* 80106498 001033F8 80 DF 00 38 */ lwz r6, 0x38(r31) -/* 8010649C 001033FC 20 00 00 03 */ subfic r0, r0, 3 -/* 801064A0 00103400 80 FF 00 3C */ lwz r7, 0x3c(r31) -/* 801064A4 00103404 7C A9 00 34 */ cntlzw r9, r5 -/* 801064A8 00103408 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) -/* 801064AC 0010340C 7C 00 00 34 */ cntlzw r0, r0 -/* 801064B0 00103410 89 1F 00 1D */ lbz r8, 0x1d(r31) -/* 801064B4 00103414 38 A1 00 18 */ addi r5, r1, 0x18 -/* 801064B8 00103418 55 29 D9 7E */ srwi r9, r9, 5 -/* 801064BC 0010341C 54 0A D9 7E */ srwi r10, r0, 5 -/* 801064C0 00103420 4B FF ED 0D */ bl __ct__12CActorLightsFUi9CVector3fiif -/* 801064C4 00103424 7C 7D 1B 78 */ mr r29, r3 -lbl_801064C8: -/* 801064C8 00103428 7C 1D 00 D0 */ neg r0, r29 -/* 801064CC 0010342C 38 61 00 08 */ addi r3, r1, 8 -/* 801064D0 00103430 7C 04 EB 78 */ or r4, r0, r29 -/* 801064D4 00103434 38 01 00 10 */ addi r0, r1, 0x10 -/* 801064D8 00103438 54 84 0F FE */ srwi r4, r4, 0x1f -/* 801064DC 0010343C 93 A1 00 0C */ stw r29, 0xc(r1) -/* 801064E0 00103440 7C 03 00 40 */ cmplw r3, r0 -/* 801064E4 00103444 98 81 00 08 */ stb r4, 8(r1) -/* 801064E8 00103448 41 82 00 34 */ beq lbl_8010651C -/* 801064EC 0010344C 88 01 00 10 */ lbz r0, 0x10(r1) -/* 801064F0 00103450 28 00 00 00 */ cmplwi r0, 0 -/* 801064F4 00103454 41 82 00 10 */ beq lbl_80106504 -/* 801064F8 00103458 80 61 00 14 */ lwz r3, 0x14(r1) -/* 801064FC 0010345C 38 80 00 01 */ li r4, 1 -/* 80106500 00103460 4B FF EB D5 */ bl __dt__12CActorLightsFv -lbl_80106504: -/* 80106504 00103464 88 81 00 08 */ lbz r4, 8(r1) -/* 80106508 00103468 38 00 00 00 */ li r0, 0 -/* 8010650C 0010346C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80106510 00103470 98 81 00 10 */ stb r4, 0x10(r1) -/* 80106514 00103474 90 61 00 14 */ stw r3, 0x14(r1) -/* 80106518 00103478 98 01 00 08 */ stb r0, 8(r1) -lbl_8010651C: -/* 8010651C 0010347C 88 01 00 08 */ lbz r0, 8(r1) -/* 80106520 00103480 28 00 00 00 */ cmplwi r0, 0 -/* 80106524 00103484 41 82 00 10 */ beq lbl_80106534 -/* 80106528 00103488 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8010652C 0010348C 38 80 00 01 */ li r4, 1 -/* 80106530 00103490 4B FF EB A5 */ bl __dt__12CActorLightsFv -lbl_80106534: -/* 80106534 00103494 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80106538 00103498 2C 00 00 02 */ cmpwi r0, 2 -/* 8010653C 0010349C 40 82 00 18 */ bne lbl_80106554 -/* 80106540 001034A0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80106544 001034A4 38 80 00 00 */ li r4, 0 -/* 80106548 001034A8 88 03 02 98 */ lbz r0, 0x298(r3) -/* 8010654C 001034AC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80106550 001034B0 98 03 02 98 */ stb r0, 0x298(r3) -lbl_80106554: -/* 80106554 001034B4 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 80106558 001034B8 2C 00 00 00 */ cmpwi r0, 0 -/* 8010655C 001034BC 40 82 00 1C */ bne lbl_80106578 -/* 80106560 001034C0 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 80106564 001034C4 28 00 00 00 */ cmplwi r0, 0 -/* 80106568 001034C8 41 82 00 10 */ beq lbl_80106578 -/* 8010656C 001034CC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80106570 001034D0 38 9F 00 18 */ addi r4, r31, 0x18 -/* 80106574 001034D4 4B FF EA C5 */ bl SetAmbientColor__12CActorLightsFRC6CColor -lbl_80106578: -/* 80106578 001034D8 88 61 00 10 */ lbz r3, 0x10(r1) -/* 8010657C 001034DC 38 00 00 00 */ li r0, 0 -/* 80106580 001034E0 98 7E 00 00 */ stb r3, 0(r30) -/* 80106584 001034E4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80106588 001034E8 90 7E 00 04 */ stw r3, 4(r30) -/* 8010658C 001034EC 98 01 00 10 */ stb r0, 0x10(r1) -/* 80106590 001034F0 48 00 00 08 */ b lbl_80106598 -/* 80106594 001034F4 4B FF EB 41 */ bl __dt__12CActorLightsFv -lbl_80106598: -/* 80106598 001034F8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8010659C 001034FC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 801065A0 00103500 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 801065A4 00103504 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 801065A8 00103508 7C 08 03 A6 */ mtlr r0 -/* 801065AC 0010350C 38 21 00 40 */ addi r1, r1, 0x40 -/* 801065B0 00103510 4E 80 00 20 */ blr - -.global GetFramesBetweenRecalculation__16CLightParametersF26ELightRecalculationOptions -GetFramesBetweenRecalculation__16CLightParametersF26ELightRecalculationOptions: -/* 801065B4 00103514 2C 03 00 02 */ cmpwi r3, 2 -/* 801065B8 00103518 41 82 00 38 */ beq lbl_801065F0 -/* 801065BC 0010351C 40 80 00 14 */ bge lbl_801065D0 -/* 801065C0 00103520 2C 03 00 00 */ cmpwi r3, 0 -/* 801065C4 00103524 41 82 00 18 */ beq lbl_801065DC -/* 801065C8 00103528 40 80 00 20 */ bge lbl_801065E8 -/* 801065CC 0010352C 48 00 00 34 */ b lbl_80106600 -lbl_801065D0: -/* 801065D0 00103530 2C 03 00 04 */ cmpwi r3, 4 -/* 801065D4 00103534 40 80 00 2C */ bge lbl_80106600 -/* 801065D8 00103538 48 00 00 20 */ b lbl_801065F8 -lbl_801065DC: -/* 801065DC 0010353C 3C 60 40 00 */ lis r3, 0x3FFFFFFF@ha -/* 801065E0 00103540 38 63 FF FF */ addi r3, r3, 0x3FFFFFFF@l -/* 801065E4 00103544 4E 80 00 20 */ blr -lbl_801065E8: -/* 801065E8 00103548 38 60 00 08 */ li r3, 8 -/* 801065EC 0010354C 4E 80 00 20 */ blr -lbl_801065F0: -/* 801065F0 00103550 38 60 00 04 */ li r3, 4 -/* 801065F4 00103554 4E 80 00 20 */ blr -lbl_801065F8: -/* 801065F8 00103558 38 60 00 01 */ li r3, 1 -/* 801065FC 0010355C 4E 80 00 20 */ blr -lbl_80106600: -/* 80106600 00103560 38 60 00 08 */ li r3, 8 -/* 80106604 00103564 4E 80 00 20 */ blr - -.global __dt__16CActorParametersFv -__dt__16CActorParametersFv: -/* 80106608 00103568 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8010660C 0010356C 7C 08 02 A6 */ mflr r0 -/* 80106610 00103570 90 01 00 14 */ stw r0, 0x14(r1) -/* 80106614 00103574 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80106618 00103578 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8010661C 0010357C 41 82 00 1C */ beq lbl_80106638 -/* 80106620 00103580 3C A0 80 3E */ lis r5, lbl_803DFF80@ha -/* 80106624 00103584 7C 80 07 35 */ extsh. r0, r4 -/* 80106628 00103588 38 05 FF 80 */ addi r0, r5, lbl_803DFF80@l -/* 8010662C 0010358C 90 1F 00 00 */ stw r0, 0(r31) -/* 80106630 00103590 40 81 00 08 */ ble lbl_80106638 -/* 80106634 00103594 48 20 F2 FD */ bl Free__7CMemoryFPCv -lbl_80106638: -/* 80106638 00103598 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8010663C 0010359C 7F E3 FB 78 */ mr r3, r31 -/* 80106640 001035A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80106644 001035A4 7C 08 03 A6 */ mtlr r0 -/* 80106648 001035A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8010664C 001035AC 4E 80 00 20 */ blr - -.global __ct__16CLightParametersFv -__ct__16CLightParametersFv: -/* 80106650 001035B0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80106654 001035B4 7C 08 02 A6 */ mflr r0 -/* 80106658 001035B8 3C 80 80 3E */ lis r4, lbl_803DFF80@ha -/* 8010665C 001035BC C0 02 94 78 */ lfs f0, lbl_805AB198@sda21(r2) -/* 80106660 001035C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80106664 001035C4 38 00 00 00 */ li r0, 0 -/* 80106668 001035C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8010666C 001035CC 7C 7F 1B 78 */ mr r31, r3 -/* 80106670 001035D0 38 64 FF 80 */ addi r3, r4, lbl_803DFF80@l -/* 80106674 001035D4 90 7F 00 00 */ stw r3, 0(r31) -/* 80106678 001035D8 98 1F 00 04 */ stb r0, 4(r31) -/* 8010667C 001035DC D0 1F 00 08 */ stfs f0, 8(r31) -/* 80106680 001035E0 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80106684 001035E4 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80106688 001035E8 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8010668C 001035EC 48 24 39 21 */ bl White__6CColorFv -/* 80106690 001035F0 80 03 00 00 */ lwz r0, 0(r3) -/* 80106694 001035F4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80106698 001035F8 38 C0 00 00 */ li r6, 0 -/* 8010669C 001035FC 38 A0 00 01 */ li r5, 1 -/* 801066A0 00103600 90 1F 00 18 */ stw r0, 0x18(r31) -/* 801066A4 00103604 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 801066A8 00103608 38 00 00 04 */ li r0, 4 -/* 801066AC 0010360C 7F E3 FB 78 */ mr r3, r31 -/* 801066B0 00103610 98 DF 00 1C */ stb r6, 0x1c(r31) -/* 801066B4 00103614 98 DF 00 1D */ stb r6, 0x1d(r31) -/* 801066B8 00103618 90 DF 00 20 */ stw r6, 0x20(r31) -/* 801066BC 0010361C 90 BF 00 24 */ stw r5, 0x24(r31) -/* 801066C0 00103620 90 DF 00 28 */ stw r6, 0x28(r31) -/* 801066C4 00103624 C0 04 00 00 */ lfs f0, 0(r4) -/* 801066C8 00103628 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 801066CC 0010362C C0 04 00 04 */ lfs f0, 4(r4) -/* 801066D0 00103630 D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 801066D4 00103634 C0 04 00 08 */ lfs f0, 8(r4) -/* 801066D8 00103638 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 801066DC 0010363C 90 1F 00 38 */ stw r0, 0x38(r31) -/* 801066E0 00103640 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 801066E4 00103644 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801066E8 00103648 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801066EC 0010364C 7C 08 03 A6 */ mtlr r0 -/* 801066F0 00103650 38 21 00 10 */ addi r1, r1, 0x10 -/* 801066F4 00103654 4E 80 00 20 */ blr - -.global __ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii -__ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii: -/* 801066F8 00103658 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801066FC 0010365C 3D 60 80 3E */ lis r11, lbl_803DFF80@ha -/* 80106700 00103660 38 0B FF 80 */ addi r0, r11, lbl_803DFF80@l -/* 80106704 00103664 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80106708 00103668 89 81 00 23 */ lbz r12, 0x23(r1) -/* 8010670C 0010366C 90 03 00 00 */ stw r0, 0(r3) -/* 80106710 00103670 81 61 00 24 */ lwz r11, 0x24(r1) -/* 80106714 00103674 98 83 00 04 */ stb r4, 4(r3) -/* 80106718 00103678 83 E1 00 18 */ lwz r31, 0x18(r1) -/* 8010671C 0010367C D0 23 00 08 */ stfs f1, 8(r3) -/* 80106720 00103680 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 80106724 00103684 90 A3 00 0C */ stw r5, 0xc(r3) -/* 80106728 00103688 D0 43 00 10 */ stfs f2, 0x10(r3) -/* 8010672C 0010368C D0 63 00 14 */ stfs f3, 0x14(r3) -/* 80106730 00103690 80 06 00 00 */ lwz r0, 0(r6) -/* 80106734 00103694 90 03 00 18 */ stw r0, 0x18(r3) -/* 80106738 00103698 98 E3 00 1C */ stb r7, 0x1c(r3) -/* 8010673C 0010369C 99 83 00 1D */ stb r12, 0x1d(r3) -/* 80106740 001036A0 91 03 00 20 */ stw r8, 0x20(r3) -/* 80106744 001036A4 91 23 00 24 */ stw r9, 0x24(r3) -/* 80106748 001036A8 91 63 00 28 */ stw r11, 0x28(r3) -/* 8010674C 001036AC C0 0A 00 00 */ lfs f0, 0(r10) -/* 80106750 001036B0 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80106754 001036B4 C0 0A 00 04 */ lfs f0, 4(r10) -/* 80106758 001036B8 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8010675C 001036BC C0 0A 00 08 */ lfs f0, 8(r10) -/* 80106760 001036C0 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 80106764 001036C4 93 E3 00 38 */ stw r31, 0x38(r3) -/* 80106768 001036C8 90 83 00 3C */ stw r4, 0x3c(r3) -/* 8010676C 001036CC 80 03 00 38 */ lwz r0, 0x38(r3) -/* 80106770 001036D0 2C 00 00 04 */ cmpwi r0, 4 -/* 80106774 001036D4 41 81 00 0C */ bgt lbl_80106780 -/* 80106778 001036D8 2C 00 FF FF */ cmpwi r0, -1 -/* 8010677C 001036DC 40 82 00 0C */ bne lbl_80106788 -lbl_80106780: -/* 80106780 001036E0 38 00 00 04 */ li r0, 4 -/* 80106784 001036E4 90 03 00 38 */ stw r0, 0x38(r3) -lbl_80106788: -/* 80106788 001036E8 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8010678C 001036EC 2C 00 00 04 */ cmpwi r0, 4 -/* 80106790 001036F0 41 81 00 0C */ bgt lbl_8010679C -/* 80106794 001036F4 2C 00 FF FF */ cmpwi r0, -1 -/* 80106798 001036F8 40 82 00 0C */ bne lbl_801067A4 -lbl_8010679C: -/* 8010679C 001036FC 38 00 00 04 */ li r0, 4 -/* 801067A0 00103700 90 03 00 3C */ stw r0, 0x3c(r3) -lbl_801067A4: -/* 801067A4 00103704 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801067A8 00103708 38 21 00 10 */ addi r1, r1, 0x10 -/* 801067AC 0010370C 4E 80 00 20 */ blr - -.global MakeDamageableTriggerActorParms__FRC16CActorParametersRC16CVisorParameters -MakeDamageableTriggerActorParms__FRC16CActorParametersRC16CVisorParameters: -/* 801067B0 00103710 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 801067B4 00103714 7C 08 02 A6 */ mflr r0 -/* 801067B8 00103718 90 01 00 84 */ stw r0, 0x84(r1) -/* 801067BC 0010371C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 801067C0 00103720 7C BF 2B 78 */ mr r31, r5 -/* 801067C4 00103724 93 C1 00 78 */ stw r30, 0x78(r1) -/* 801067C8 00103728 7C 7E 1B 78 */ mr r30, r3 -/* 801067CC 0010372C 38 61 00 08 */ addi r3, r1, 8 -/* 801067D0 00103730 4B FB EE 4D */ bl __ct__16CActorParametersFRC16CActorParameters -/* 801067D4 00103734 80 1F 00 00 */ lwz r0, 0(r31) -/* 801067D8 00103738 7F C3 F3 78 */ mr r3, r30 -/* 801067DC 0010373C 38 81 00 08 */ addi r4, r1, 8 -/* 801067E0 00103740 90 01 00 5C */ stw r0, 0x5c(r1) -/* 801067E4 00103744 4B FB EE 39 */ bl __ct__16CActorParametersFRC16CActorParameters -/* 801067E8 00103748 38 61 00 08 */ addi r3, r1, 8 -/* 801067EC 0010374C 38 80 FF FF */ li r4, -1 -/* 801067F0 00103750 4B FF FE 19 */ bl __dt__16CActorParametersFv -/* 801067F4 00103754 80 01 00 84 */ lwz r0, 0x84(r1) -/* 801067F8 00103758 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 801067FC 0010375C 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80106800 00103760 7C 08 03 A6 */ mtlr r0 -/* 80106804 00103764 38 21 00 80 */ addi r1, r1, 0x80 -/* 80106808 00103768 4E 80 00 20 */ blr - -.global sub_8010680c -sub_8010680c: -/* 8010680C 0010376C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80106810 00103770 7C 08 02 A6 */ mflr r0 -/* 80106814 00103774 90 01 00 84 */ stw r0, 0x84(r1) -/* 80106818 00103778 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8010681C 0010377C 7C BF 2B 78 */ mr r31, r5 -/* 80106820 00103780 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80106824 00103784 7C 7E 1B 78 */ mr r30, r3 -/* 80106828 00103788 38 61 00 08 */ addi r3, r1, 8 -/* 8010682C 0010378C 4B FB ED F1 */ bl __ct__16CActorParametersFRC16CActorParameters -/* 80106830 00103790 88 01 00 60 */ lbz r0, 0x60(r1) -/* 80106834 00103794 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 -/* 80106838 00103798 7F C3 F3 78 */ mr r3, r30 -/* 8010683C 0010379C 38 81 00 08 */ addi r4, r1, 8 -/* 80106840 001037A0 98 01 00 60 */ stb r0, 0x60(r1) -/* 80106844 001037A4 4B FB ED D9 */ bl __ct__16CActorParametersFRC16CActorParameters -/* 80106848 001037A8 38 61 00 08 */ addi r3, r1, 8 -/* 8010684C 001037AC 38 80 FF FF */ li r4, -1 -/* 80106850 001037B0 4B FF FD B9 */ bl __dt__16CActorParametersFv -/* 80106854 001037B4 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80106858 001037B8 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8010685C 001037BC 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80106860 001037C0 7C 08 03 A6 */ mtlr r0 -/* 80106864 001037C4 38 21 00 80 */ addi r1, r1, 0x80 -/* 80106868 001037C8 4E 80 00 20 */ blr - -.global Scannable__16CActorParametersCFRC20CScannableParameters -Scannable__16CActorParametersCFRC20CScannableParameters: -/* 8010686C 001037CC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80106870 001037D0 7C 08 02 A6 */ mflr r0 -/* 80106874 001037D4 90 01 00 84 */ stw r0, 0x84(r1) -/* 80106878 001037D8 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8010687C 001037DC 7C BF 2B 78 */ mr r31, r5 -/* 80106880 001037E0 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80106884 001037E4 7C 7E 1B 78 */ mr r30, r3 -/* 80106888 001037E8 38 61 00 08 */ addi r3, r1, 8 -/* 8010688C 001037EC 4B FB ED 91 */ bl __ct__16CActorParametersFRC16CActorParameters -/* 80106890 001037F0 80 1F 00 00 */ lwz r0, 0(r31) -/* 80106894 001037F4 7F C3 F3 78 */ mr r3, r30 -/* 80106898 001037F8 38 81 00 08 */ addi r4, r1, 8 -/* 8010689C 001037FC 90 01 00 48 */ stw r0, 0x48(r1) -/* 801068A0 00103800 4B FB ED 7D */ bl __ct__16CActorParametersFRC16CActorParameters -/* 801068A4 00103804 38 61 00 08 */ addi r3, r1, 8 -/* 801068A8 00103808 38 80 FF FF */ li r4, -1 -/* 801068AC 0010380C 4B FF FD 5D */ bl __dt__16CActorParametersFv -/* 801068B0 00103810 80 01 00 84 */ lwz r0, 0x84(r1) -/* 801068B4 00103814 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 801068B8 00103818 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 801068BC 0010381C 7C 08 03 A6 */ mtlr r0 -/* 801068C0 00103820 38 21 00 80 */ addi r1, r1, 0x80 -/* 801068C4 00103824 4E 80 00 20 */ blr - -.global sub_801068c8 -sub_801068c8: -/* 801068C8 00103828 3D 60 80 3E */ lis r11, lbl_803DFF80@ha -/* 801068CC 0010382C 38 0B FF 80 */ addi r0, r11, lbl_803DFF80@l -/* 801068D0 00103830 90 03 00 00 */ stw r0, 0(r3) -/* 801068D4 00103834 55 2B 06 3E */ clrlwi r11, r9, 0x18 -/* 801068D8 00103838 89 21 00 0B */ lbz r9, 0xb(r1) -/* 801068DC 0010383C 89 84 00 04 */ lbz r12, 4(r4) -/* 801068E0 00103840 88 01 00 0F */ lbz r0, 0xf(r1) -/* 801068E4 00103844 99 83 00 04 */ stb r12, 4(r3) -/* 801068E8 00103848 C0 04 00 08 */ lfs f0, 8(r4) -/* 801068EC 0010384C D0 03 00 08 */ stfs f0, 8(r3) -/* 801068F0 00103850 81 84 00 0C */ lwz r12, 0xc(r4) -/* 801068F4 00103854 91 83 00 0C */ stw r12, 0xc(r3) -/* 801068F8 00103858 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 801068FC 0010385C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80106900 00103860 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 80106904 00103864 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80106908 00103868 81 84 00 18 */ lwz r12, 0x18(r4) -/* 8010690C 0010386C 91 83 00 18 */ stw r12, 0x18(r3) -/* 80106910 00103870 89 84 00 1C */ lbz r12, 0x1c(r4) -/* 80106914 00103874 99 83 00 1C */ stb r12, 0x1c(r3) -/* 80106918 00103878 89 84 00 1D */ lbz r12, 0x1d(r4) -/* 8010691C 0010387C 99 83 00 1D */ stb r12, 0x1d(r3) -/* 80106920 00103880 81 84 00 20 */ lwz r12, 0x20(r4) -/* 80106924 00103884 91 83 00 20 */ stw r12, 0x20(r3) -/* 80106928 00103888 81 84 00 24 */ lwz r12, 0x24(r4) -/* 8010692C 0010388C 91 83 00 24 */ stw r12, 0x24(r3) -/* 80106930 00103890 81 84 00 28 */ lwz r12, 0x28(r4) -/* 80106934 00103894 91 83 00 28 */ stw r12, 0x28(r3) -/* 80106938 00103898 C0 04 00 2C */ lfs f0, 0x2c(r4) -/* 8010693C 0010389C D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80106940 001038A0 C0 04 00 30 */ lfs f0, 0x30(r4) -/* 80106944 001038A4 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 80106948 001038A8 C0 04 00 34 */ lfs f0, 0x34(r4) -/* 8010694C 001038AC D0 03 00 34 */ stfs f0, 0x34(r3) -/* 80106950 001038B0 81 84 00 38 */ lwz r12, 0x38(r4) -/* 80106954 001038B4 91 83 00 38 */ stw r12, 0x38(r3) -/* 80106958 001038B8 80 84 00 3C */ lwz r4, 0x3c(r4) -/* 8010695C 001038BC 90 83 00 3C */ stw r4, 0x3c(r3) -/* 80106960 001038C0 80 85 00 00 */ lwz r4, 0(r5) -/* 80106964 001038C4 90 83 00 40 */ stw r4, 0x40(r3) -/* 80106968 001038C8 80 86 00 00 */ lwz r4, 0(r6) -/* 8010696C 001038CC 90 83 00 44 */ stw r4, 0x44(r3) -/* 80106970 001038D0 80 86 00 04 */ lwz r4, 4(r6) -/* 80106974 001038D4 90 83 00 48 */ stw r4, 0x48(r3) -/* 80106978 001038D8 80 87 00 00 */ lwz r4, 0(r7) -/* 8010697C 001038DC 90 83 00 4C */ stw r4, 0x4c(r3) -/* 80106980 001038E0 80 87 00 04 */ lwz r4, 4(r7) -/* 80106984 001038E4 90 83 00 50 */ stw r4, 0x50(r3) -/* 80106988 001038E8 80 88 00 00 */ lwz r4, 0(r8) -/* 8010698C 001038EC 90 83 00 54 */ stw r4, 0x54(r3) -/* 80106990 001038F0 88 83 00 58 */ lbz r4, 0x58(r3) -/* 80106994 001038F4 51 64 3E 30 */ rlwimi r4, r11, 7, 0x18, 0x18 -/* 80106998 001038F8 98 83 00 58 */ stb r4, 0x58(r3) -/* 8010699C 001038FC 88 83 00 58 */ lbz r4, 0x58(r3) -/* 801069A0 00103900 51 44 36 72 */ rlwimi r4, r10, 6, 0x19, 0x19 -/* 801069A4 00103904 98 83 00 58 */ stb r4, 0x58(r3) -/* 801069A8 00103908 88 83 00 58 */ lbz r4, 0x58(r3) -/* 801069AC 0010390C 51 24 2E B4 */ rlwimi r4, r9, 5, 0x1a, 0x1a -/* 801069B0 00103910 98 83 00 58 */ stb r4, 0x58(r3) -/* 801069B4 00103914 88 83 00 58 */ lbz r4, 0x58(r3) -/* 801069B8 00103918 50 04 26 F6 */ rlwimi r4, r0, 4, 0x1b, 0x1b -/* 801069BC 0010391C 98 83 00 58 */ stb r4, 0x58(r3) -/* 801069C0 00103920 D0 23 00 5C */ stfs f1, 0x5c(r3) -/* 801069C4 00103924 D0 43 00 60 */ stfs f2, 0x60(r3) -/* 801069C8 00103928 D0 63 00 64 */ stfs f3, 0x64(r3) -/* 801069CC 0010392C 4E 80 00 20 */ blr - -.global __ct__16CActorParametersFv -__ct__16CActorParametersFv: -/* 801069D0 00103930 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 801069D4 00103934 7C 08 02 A6 */ mflr r0 -/* 801069D8 00103938 90 01 00 64 */ stw r0, 0x64(r1) -/* 801069DC 0010393C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 801069E0 00103940 7C 7F 1B 78 */ mr r31, r3 -/* 801069E4 00103944 38 61 00 0C */ addi r3, r1, 0xc -/* 801069E8 00103948 4B FD 3A 05 */ bl None__16CLightParametersFv -/* 801069EC 0010394C 3C 80 80 3E */ lis r4, lbl_803DFF80@ha -/* 801069F0 00103950 38 61 00 0C */ addi r3, r1, 0xc -/* 801069F4 00103954 38 04 FF 80 */ addi r0, r4, lbl_803DFF80@l -/* 801069F8 00103958 38 80 FF FF */ li r4, -1 -/* 801069FC 0010395C 90 1F 00 00 */ stw r0, 0(r31) -/* 80106A00 00103960 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80106A04 00103964 98 1F 00 04 */ stb r0, 4(r31) -/* 80106A08 00103968 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80106A0C 0010396C D0 1F 00 08 */ stfs f0, 8(r31) -/* 80106A10 00103970 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80106A14 00103974 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80106A18 00103978 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80106A1C 0010397C D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80106A20 00103980 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80106A24 00103984 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80106A28 00103988 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80106A2C 0010398C 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80106A30 00103990 88 01 00 28 */ lbz r0, 0x28(r1) -/* 80106A34 00103994 98 1F 00 1C */ stb r0, 0x1c(r31) -/* 80106A38 00103998 88 01 00 29 */ lbz r0, 0x29(r1) -/* 80106A3C 0010399C 98 1F 00 1D */ stb r0, 0x1d(r31) -/* 80106A40 001039A0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80106A44 001039A4 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80106A48 001039A8 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80106A4C 001039AC 90 1F 00 24 */ stw r0, 0x24(r31) -/* 80106A50 001039B0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80106A54 001039B4 90 1F 00 28 */ stw r0, 0x28(r31) -/* 80106A58 001039B8 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80106A5C 001039BC D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 80106A60 001039C0 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80106A64 001039C4 D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 80106A68 001039C8 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80106A6C 001039CC D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 80106A70 001039D0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80106A74 001039D4 90 1F 00 38 */ stw r0, 0x38(r31) -/* 80106A78 001039D8 80 01 00 48 */ lwz r0, 0x48(r1) -/* 80106A7C 001039DC 90 1F 00 3C */ stw r0, 0x3c(r31) -/* 80106A80 001039E0 4B FF FB 89 */ bl __dt__16CActorParametersFv -/* 80106A84 001039E4 38 60 FF FF */ li r3, -1 -/* 80106A88 001039E8 80 01 00 08 */ lwz r0, 8(r1) -/* 80106A8C 001039EC 90 7F 00 40 */ stw r3, 0x40(r31) -/* 80106A90 001039F0 38 60 00 0F */ li r3, 0xf -/* 80106A94 001039F4 50 60 E0 06 */ rlwimi r0, r3, 0x1c, 0, 3 -/* 80106A98 001039F8 38 C0 00 00 */ li r6, 0 -/* 80106A9C 001039FC 80 6D 89 C0 */ lwz r3, lbl_805A7580@sda21(r13) -/* 80106AA0 00103A00 7C 05 03 78 */ mr r5, r0 -/* 80106AA4 00103A04 50 C5 D9 08 */ rlwimi r5, r6, 0x1b, 4, 4 -/* 80106AA8 00103A08 90 01 00 08 */ stw r0, 8(r1) -/* 80106AAC 00103A0C 7C A0 2B 78 */ mr r0, r5 -/* 80106AB0 00103A10 38 80 00 01 */ li r4, 1 -/* 80106AB4 00103A14 90 7F 00 44 */ stw r3, 0x44(r31) -/* 80106AB8 00103A18 50 C0 D1 4A */ rlwimi r0, r6, 0x1a, 5, 5 -/* 80106ABC 00103A1C C0 02 94 78 */ lfs f0, lbl_805AB198@sda21(r2) -/* 80106AC0 00103A20 7F E3 FB 78 */ mr r3, r31 -/* 80106AC4 00103A24 80 ED 89 C4 */ lwz r7, lbl_805A7584@sda21(r13) -/* 80106AC8 00103A28 90 A1 00 08 */ stw r5, 8(r1) -/* 80106ACC 00103A2C 90 FF 00 48 */ stw r7, 0x48(r31) -/* 80106AD0 00103A30 80 AD 89 C8 */ lwz r5, lbl_805A7588@sda21(r13) -/* 80106AD4 00103A34 90 01 00 08 */ stw r0, 8(r1) -/* 80106AD8 00103A38 90 BF 00 4C */ stw r5, 0x4c(r31) -/* 80106ADC 00103A3C 80 AD 89 CC */ lwz r5, lbl_805A758C@sda21(r13) -/* 80106AE0 00103A40 90 BF 00 50 */ stw r5, 0x50(r31) -/* 80106AE4 00103A44 90 1F 00 54 */ stw r0, 0x54(r31) -/* 80106AE8 00103A48 88 1F 00 58 */ lbz r0, 0x58(r31) -/* 80106AEC 00103A4C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80106AF0 00103A50 98 1F 00 58 */ stb r0, 0x58(r31) -/* 80106AF4 00103A54 88 1F 00 58 */ lbz r0, 0x58(r31) -/* 80106AF8 00103A58 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80106AFC 00103A5C 98 1F 00 58 */ stb r0, 0x58(r31) -/* 80106B00 00103A60 88 1F 00 58 */ lbz r0, 0x58(r31) -/* 80106B04 00103A64 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 80106B08 00103A68 98 1F 00 58 */ stb r0, 0x58(r31) -/* 80106B0C 00103A6C D0 1F 00 5C */ stfs f0, 0x5c(r31) -/* 80106B10 00103A70 D0 1F 00 60 */ stfs f0, 0x60(r31) -/* 80106B14 00103A74 D0 1F 00 64 */ stfs f0, 0x64(r31) -/* 80106B18 00103A78 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80106B1C 00103A7C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80106B20 00103A80 7C 08 03 A6 */ mtlr r0 -/* 80106B24 00103A84 38 21 00 60 */ addi r1, r1, 0x60 -/* 80106B28 00103A88 4E 80 00 20 */ blr - -.global TryReloadAreaTextures__17CInGameGuiManagerFv -TryReloadAreaTextures__17CInGameGuiManagerFv: -/* 80106B2C 00103A8C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80106B30 00103A90 7C 08 02 A6 */ mflr r0 -/* 80106B34 00103A94 90 01 00 24 */ stw r0, 0x24(r1) -/* 80106B38 00103A98 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80106B3C 00103A9C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80106B40 00103AA0 3B C0 00 01 */ li r30, 1 -/* 80106B44 00103AA4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80106B48 00103AA8 7C 7D 1B 78 */ mr r29, r3 -/* 80106B4C 00103AAC 83 E3 01 30 */ lwz r31, 0x130(r3) -/* 80106B50 00103AB0 48 00 00 3C */ b lbl_80106B8C -lbl_80106B54: -/* 80106B54 00103AB4 38 7F 00 0C */ addi r3, r31, 0xc -/* 80106B58 00103AB8 48 23 A2 B5 */ bl GetObj__6CTokenFv -/* 80106B5C 00103ABC 80 63 00 04 */ lwz r3, 4(r3) -/* 80106B60 00103AC0 80 8D A0 60 */ lwz r4, gpResourceFactory@sda21(r13) -/* 80106B64 00103AC4 48 20 85 A1 */ bl TryReloadBitmapData__8CTextureCFR11CResFactory -/* 80106B68 00103AC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80106B6C 00103ACC 41 82 00 18 */ beq lbl_80106B84 -/* 80106B70 00103AD0 7F E4 FB 78 */ mr r4, r31 -/* 80106B74 00103AD4 38 7D 01 2C */ addi r3, r29, 0x12c -/* 80106B78 00103AD8 48 00 3E 9D */ bl sub_8010aa14 -/* 80106B7C 00103ADC 7C 7F 1B 78 */ mr r31, r3 -/* 80106B80 00103AE0 48 00 00 0C */ b lbl_80106B8C -lbl_80106B84: -/* 80106B84 00103AE4 3B C0 00 00 */ li r30, 0 -/* 80106B88 00103AE8 83 FF 00 04 */ lwz r31, 4(r31) -lbl_80106B8C: -/* 80106B8C 00103AEC 80 1D 01 34 */ lwz r0, 0x134(r29) -/* 80106B90 00103AF0 7C 1F 00 40 */ cmplw r31, r0 -/* 80106B94 00103AF4 40 82 FF C0 */ bne lbl_80106B54 -/* 80106B98 00103AF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80106B9C 00103AFC 57 C3 06 3E */ clrlwi r3, r30, 0x18 -/* 80106BA0 00103B00 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80106BA4 00103B04 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80106BA8 00103B08 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80106BAC 00103B0C 7C 08 03 A6 */ mtlr r0 -/* 80106BB0 00103B10 38 21 00 20 */ addi r1, r1, 0x20 -/* 80106BB4 00103B14 4E 80 00 20 */ blr - -.global DestroyAreaTextures__17CInGameGuiManagerFRC13CStateManager -DestroyAreaTextures__17CInGameGuiManagerFRC13CStateManager: -/* 80106BB8 00103B18 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80106BBC 00103B1C 7C 08 02 A6 */ mflr r0 -/* 80106BC0 00103B20 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80106BC4 00103B24 38 00 00 00 */ li r0, 0 -/* 80106BC8 00103B28 BE A1 00 B4 */ stmw r21, 0xb4(r1) -/* 80106BCC 00103B2C 7C 7F 1B 78 */ mr r31, r3 -/* 80106BD0 00103B30 7C 95 23 78 */ mr r21, r4 -/* 80106BD4 00103B34 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80106BD8 00103B38 38 80 00 40 */ li r4, 0x40 -/* 80106BDC 00103B3C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80106BE0 00103B40 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80106BE4 00103B44 90 01 00 AC */ stw r0, 0xac(r1) -/* 80106BE8 00103B48 48 00 3D 1D */ bl "reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi" -/* 80106BEC 00103B4C 83 D5 08 50 */ lwz r30, 0x850(r21) -/* 80106BF0 00103B50 3B 01 00 98 */ addi r24, r1, 0x98 -/* 80106BF4 00103B54 3A E0 FF FF */ li r23, -1 -/* 80106BF8 00103B58 3B 20 FF FE */ li r25, -2 -/* 80106BFC 00103B5C 80 BE 00 68 */ lwz r5, 0x68(r30) -/* 80106C00 00103B60 80 9E 00 20 */ lwz r4, 0x20(r30) -/* 80106C04 00103B64 54 A3 18 38 */ slwi r3, r5, 3 -/* 80106C08 00103B68 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 80106C0C 00103B6C 38 03 00 04 */ addi r0, r3, 4 -/* 80106C10 00103B70 90 A1 00 40 */ stw r5, 0x40(r1) -/* 80106C14 00103B74 7F A4 00 2E */ lwzx r29, r4, r0 -/* 80106C18 00103B78 48 00 02 0C */ b lbl_80106E24 -lbl_80106C1C: -/* 80106C1C 00103B7C 80 61 00 A4 */ lwz r3, 0xa4(r1) -/* 80106C20 00103B80 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 80106C24 00103B84 7C 03 00 00 */ cmpw r3, r0 -/* 80106C28 00103B88 41 82 02 08 */ beq lbl_80106E30 -/* 80106C2C 00103B8C 2C 17 FF FF */ cmpwi r23, -1 -/* 80106C30 00103B90 40 82 00 14 */ bne lbl_80106C44 -/* 80106C34 00103B94 80 1D 00 04 */ lwz r0, 4(r29) -/* 80106C38 00103B98 38 81 00 38 */ addi r4, r1, 0x38 -/* 80106C3C 00103B9C 90 01 00 38 */ stw r0, 0x38(r1) -/* 80106C40 00103BA0 48 00 00 14 */ b lbl_80106C54 -lbl_80106C44: -/* 80106C44 00103BA4 80 7D 00 98 */ lwz r3, 0x98(r29) -/* 80106C48 00103BA8 38 81 00 34 */ addi r4, r1, 0x34 -/* 80106C4C 00103BAC 7C 03 CA 2E */ lhzx r0, r3, r25 -/* 80106C50 00103BB0 90 01 00 34 */ stw r0, 0x34(r1) -lbl_80106C54: -/* 80106C54 00103BB4 80 A4 00 00 */ lwz r5, 0(r4) -/* 80106C58 00103BB8 80 DE 00 20 */ lwz r6, 0x20(r30) -/* 80106C5C 00103BBC 54 A4 18 38 */ slwi r4, r5, 3 -/* 80106C60 00103BC0 90 A1 00 44 */ stw r5, 0x44(r1) -/* 80106C64 00103BC4 7C 66 22 14 */ add r3, r6, r4 -/* 80106C68 00103BC8 80 63 00 04 */ lwz r3, 4(r3) -/* 80106C6C 00103BCC 90 A1 00 30 */ stw r5, 0x30(r1) -/* 80106C70 00103BD0 88 03 00 F0 */ lbz r0, 0xf0(r3) -/* 80106C74 00103BD4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80106C78 00103BD8 41 82 01 A4 */ beq lbl_80106E1C -/* 80106C7C 00103BDC 38 04 00 04 */ addi r0, r4, 4 -/* 80106C80 00103BE0 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 80106C84 00103BE4 7F 86 00 2E */ lwzx r28, r6, r0 -/* 80106C88 00103BE8 3A C0 00 00 */ li r22, 0 -/* 80106C8C 00103BEC 3B 40 00 00 */ li r26, 0 -/* 80106C90 00103BF0 48 00 01 80 */ b lbl_80106E10 -lbl_80106C94: -/* 80106C94 00103BF4 80 1C 00 B8 */ lwz r0, 0xb8(r28) -/* 80106C98 00103BF8 7F E3 FB 78 */ mr r3, r31 -/* 80106C9C 00103BFC 7F 60 D2 14 */ add r27, r0, r26 -/* 80106CA0 00103C00 80 9B 00 00 */ lwz r4, 0(r27) -/* 80106CA4 00103C04 48 00 06 B1 */ bl sub_80107354 -/* 80106CA8 00103C08 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80106CAC 00103C0C 40 82 01 5C */ bne lbl_80106E08 -/* 80106CB0 00103C10 80 DB 00 04 */ lwz r6, 4(r27) -/* 80106CB4 00103C14 3C 06 AB A8 */ addis r0, r6, 0xaba8 -/* 80106CB8 00103C18 28 00 54 52 */ cmplwi r0, 0x5452 -/* 80106CBC 00103C1C 40 82 01 4C */ bne lbl_80106E08 -/* 80106CC0 00103C20 80 1B 00 00 */ lwz r0, 0(r27) -/* 80106CC4 00103C24 38 61 00 58 */ addi r3, r1, 0x58 -/* 80106CC8 00103C28 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80106CCC 00103C2C 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80106CD0 00103C30 90 C1 00 60 */ stw r6, 0x60(r1) -/* 80106CD4 00103C34 90 01 00 64 */ stw r0, 0x64(r1) -/* 80106CD8 00103C38 81 84 00 00 */ lwz r12, 0(r4) -/* 80106CDC 00103C3C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80106CE0 00103C40 7D 89 03 A6 */ mtctr r12 -/* 80106CE4 00103C44 4E 80 04 21 */ bctrl -/* 80106CE8 00103C48 38 61 00 70 */ addi r3, r1, 0x70 -/* 80106CEC 00103C4C 38 81 00 58 */ addi r4, r1, 0x58 -/* 80106CF0 00103C50 48 23 A1 B9 */ bl __ct__6CTokenFRC6CToken -/* 80106CF4 00103C54 38 61 00 58 */ addi r3, r1, 0x58 -/* 80106CF8 00103C58 38 80 FF FF */ li r4, -1 -/* 80106CFC 00103C5C 48 23 A1 45 */ bl __dt__6CTokenFv -/* 80106D00 00103C60 80 61 00 70 */ lwz r3, 0x70(r1) -/* 80106D04 00103C64 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80106D08 00103C68 28 00 00 00 */ cmplwi r0, 0 -/* 80106D0C 00103C6C 41 82 00 F0 */ beq lbl_80106DFC -/* 80106D10 00103C70 38 61 00 70 */ addi r3, r1, 0x70 -/* 80106D14 00103C74 48 23 A0 F9 */ bl GetObj__6CTokenFv -/* 80106D18 00103C78 82 A3 00 04 */ lwz r21, 4(r3) -/* 80106D1C 00103C7C 88 15 00 08 */ lbz r0, 8(r21) -/* 80106D20 00103C80 7C 00 07 74 */ extsb r0, r0 -/* 80106D24 00103C84 2C 00 00 02 */ cmpwi r0, 2 -/* 80106D28 00103C88 40 80 00 D4 */ bge lbl_80106DFC -/* 80106D2C 00103C8C 80 15 00 00 */ lwz r0, 0(r21) -/* 80106D30 00103C90 2C 00 00 04 */ cmpwi r0, 4 -/* 80106D34 00103C94 41 82 00 C8 */ beq lbl_80106DFC -/* 80106D38 00103C98 7E A3 AB 78 */ mr r3, r21 -/* 80106D3C 00103C9C 48 20 83 4D */ bl sub_8030f088 -/* 80106D40 00103CA0 2C 03 00 00 */ cmpwi r3, 0 -/* 80106D44 00103CA4 40 82 00 B8 */ bne lbl_80106DFC -/* 80106D48 00103CA8 80 B5 00 0C */ lwz r5, 0xc(r21) -/* 80106D4C 00103CAC 7F 03 C3 78 */ mr r3, r24 -/* 80106D50 00103CB0 80 1B 00 00 */ lwz r0, 0(r27) -/* 80106D54 00103CB4 38 81 00 70 */ addi r4, r1, 0x70 -/* 80106D58 00103CB8 90 01 00 90 */ stw r0, 0x90(r1) -/* 80106D5C 00103CBC 90 A1 00 94 */ stw r5, 0x94(r1) -/* 80106D60 00103CC0 48 23 A1 49 */ bl __ct__6CTokenFRC6CToken -/* 80106D64 00103CC4 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80106D68 00103CC8 80 A1 00 A8 */ lwz r5, 0xa8(r1) -/* 80106D6C 00103CCC 7C 00 28 00 */ cmpw r0, r5 -/* 80106D70 00103CD0 41 80 00 1C */ blt lbl_80106D8C -/* 80106D74 00103CD4 2C 05 00 00 */ cmpwi r5, 0 -/* 80106D78 00103CD8 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80106D7C 00103CDC 38 80 00 04 */ li r4, 4 -/* 80106D80 00103CE0 41 82 00 08 */ beq lbl_80106D88 -/* 80106D84 00103CE4 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80106D88: -/* 80106D88 00103CE8 48 00 3B 7D */ bl "reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi" -lbl_80106D8C: -/* 80106D8C 00103CEC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80106D90 00103CF0 80 61 00 AC */ lwz r3, 0xac(r1) -/* 80106D94 00103CF4 54 00 20 36 */ slwi r0, r0, 4 -/* 80106D98 00103CF8 7C A3 02 15 */ add. r5, r3, r0 -/* 80106D9C 00103CFC 41 82 00 20 */ beq lbl_80106DBC -/* 80106DA0 00103D00 80 01 00 90 */ lwz r0, 0x90(r1) -/* 80106DA4 00103D04 7F 04 C3 78 */ mr r4, r24 -/* 80106DA8 00103D08 38 65 00 08 */ addi r3, r5, 8 -/* 80106DAC 00103D0C 90 05 00 00 */ stw r0, 0(r5) -/* 80106DB0 00103D10 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80106DB4 00103D14 90 05 00 04 */ stw r0, 4(r5) -/* 80106DB8 00103D18 48 23 A0 F1 */ bl __ct__6CTokenFRC6CToken -lbl_80106DBC: -/* 80106DBC 00103D1C 80 61 00 A4 */ lwz r3, 0xa4(r1) -/* 80106DC0 00103D20 28 18 00 00 */ cmplwi r24, 0 -/* 80106DC4 00103D24 38 03 00 01 */ addi r0, r3, 1 -/* 80106DC8 00103D28 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80106DCC 00103D2C 41 82 00 10 */ beq lbl_80106DDC -/* 80106DD0 00103D30 7F 03 C3 78 */ mr r3, r24 -/* 80106DD4 00103D34 38 80 00 00 */ li r4, 0 -/* 80106DD8 00103D38 48 23 A0 69 */ bl __dt__6CTokenFv -lbl_80106DDC: -/* 80106DDC 00103D3C 80 61 00 A4 */ lwz r3, 0xa4(r1) -/* 80106DE0 00103D40 80 01 00 A8 */ lwz r0, 0xa8(r1) -/* 80106DE4 00103D44 7C 03 00 00 */ cmpw r3, r0 -/* 80106DE8 00103D48 40 82 00 14 */ bne lbl_80106DFC -/* 80106DEC 00103D4C 38 61 00 70 */ addi r3, r1, 0x70 -/* 80106DF0 00103D50 38 80 00 00 */ li r4, 0 -/* 80106DF4 00103D54 48 23 A0 4D */ bl __dt__6CTokenFv -/* 80106DF8 00103D58 48 00 00 24 */ b lbl_80106E1C -lbl_80106DFC: -/* 80106DFC 00103D5C 38 61 00 70 */ addi r3, r1, 0x70 -/* 80106E00 00103D60 38 80 00 00 */ li r4, 0 -/* 80106E04 00103D64 48 23 A0 3D */ bl __dt__6CTokenFv -lbl_80106E08: -/* 80106E08 00103D68 3B 5A 00 08 */ addi r26, r26, 8 -/* 80106E0C 00103D6C 3A D6 00 01 */ addi r22, r22, 1 -lbl_80106E10: -/* 80106E10 00103D70 80 1C 00 E0 */ lwz r0, 0xe0(r28) -/* 80106E14 00103D74 7C 16 00 00 */ cmpw r22, r0 -/* 80106E18 00103D78 41 80 FE 7C */ blt lbl_80106C94 -lbl_80106E1C: -/* 80106E1C 00103D7C 3B 39 00 02 */ addi r25, r25, 2 -/* 80106E20 00103D80 3A F7 00 01 */ addi r23, r23, 1 -lbl_80106E24: -/* 80106E24 00103D84 80 1D 00 90 */ lwz r0, 0x90(r29) -/* 80106E28 00103D88 7C 17 00 00 */ cmpw r23, r0 -/* 80106E2C 00103D8C 41 80 FD F0 */ blt lbl_80106C1C -lbl_80106E30: -/* 80106E30 00103D90 83 9F 00 E4 */ lwz r28, 0xe4(r31) -/* 80106E34 00103D94 3B 01 00 88 */ addi r24, r1, 0x88 -/* 80106E38 00103D98 3A C0 00 00 */ li r22, 0 -/* 80106E3C 00103D9C 48 00 01 74 */ b lbl_80106FB0 -lbl_80106E40: -/* 80106E40 00103DA0 82 FC 00 00 */ lwz r23, 0(r28) -/* 80106E44 00103DA4 7F E3 FB 78 */ mr r3, r31 -/* 80106E48 00103DA8 7E E4 BB 78 */ mr r4, r23 -/* 80106E4C 00103DAC 48 00 05 09 */ bl sub_80107354 -/* 80106E50 00103DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80106E54 00103DB4 40 82 01 58 */ bne lbl_80106FAC -/* 80106E58 00103DB8 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 80106E5C 00103DBC 92 E1 00 54 */ stw r23, 0x54(r1) -/* 80106E60 00103DC0 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 80106E64 00103DC4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80106E68 00103DC8 90 01 00 50 */ stw r0, 0x50(r1) -/* 80106E6C 00103DCC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80106E70 00103DD0 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80106E74 00103DD4 81 84 00 00 */ lwz r12, 0(r4) -/* 80106E78 00103DD8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80106E7C 00103DDC 7D 89 03 A6 */ mtctr r12 -/* 80106E80 00103DE0 4E 80 04 21 */ bctrl -/* 80106E84 00103DE4 38 61 00 68 */ addi r3, r1, 0x68 -/* 80106E88 00103DE8 38 81 00 48 */ addi r4, r1, 0x48 -/* 80106E8C 00103DEC 48 23 A0 1D */ bl __ct__6CTokenFRC6CToken -/* 80106E90 00103DF0 38 61 00 48 */ addi r3, r1, 0x48 -/* 80106E94 00103DF4 38 80 FF FF */ li r4, -1 -/* 80106E98 00103DF8 48 23 9F A9 */ bl __dt__6CTokenFv -/* 80106E9C 00103DFC 80 61 00 68 */ lwz r3, 0x68(r1) -/* 80106EA0 00103E00 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80106EA4 00103E04 28 00 00 00 */ cmplwi r0, 0 -/* 80106EA8 00103E08 41 82 00 F8 */ beq lbl_80106FA0 -/* 80106EAC 00103E0C 3C 00 00 10 */ lis r0, 0x10 -/* 80106EB0 00103E10 7C 16 00 00 */ cmpw r22, r0 -/* 80106EB4 00103E14 41 80 00 14 */ blt lbl_80106EC8 -/* 80106EB8 00103E18 38 61 00 68 */ addi r3, r1, 0x68 -/* 80106EBC 00103E1C 38 80 00 00 */ li r4, 0 -/* 80106EC0 00103E20 48 23 9F 81 */ bl __dt__6CTokenFv -/* 80106EC4 00103E24 48 00 01 04 */ b lbl_80106FC8 -lbl_80106EC8: -/* 80106EC8 00103E28 38 61 00 68 */ addi r3, r1, 0x68 -/* 80106ECC 00103E2C 48 23 9F 41 */ bl GetObj__6CTokenFv -/* 80106ED0 00103E30 83 63 00 04 */ lwz r27, 4(r3) -/* 80106ED4 00103E34 80 1B 00 00 */ lwz r0, 0(r27) -/* 80106ED8 00103E38 2C 00 00 04 */ cmpwi r0, 4 -/* 80106EDC 00103E3C 41 82 00 C4 */ beq lbl_80106FA0 -/* 80106EE0 00103E40 7F 63 DB 78 */ mr r3, r27 -/* 80106EE4 00103E44 48 20 81 A5 */ bl sub_8030f088 -/* 80106EE8 00103E48 2C 03 00 00 */ cmpwi r3, 0 -/* 80106EEC 00103E4C 40 82 00 B4 */ bne lbl_80106FA0 -/* 80106EF0 00103E50 83 3B 00 0C */ lwz r25, 0xc(r27) -/* 80106EF4 00103E54 7F 03 C3 78 */ mr r3, r24 -/* 80106EF8 00103E58 38 81 00 68 */ addi r4, r1, 0x68 -/* 80106EFC 00103E5C 92 E1 00 84 */ stw r23, 0x84(r1) -/* 80106F00 00103E60 48 23 9F A9 */ bl __ct__6CTokenFRC6CToken -/* 80106F04 00103E64 83 BF 01 34 */ lwz r29, 0x134(r31) -/* 80106F08 00103E68 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 80106F0C 00103E6C 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l -/* 80106F10 00103E70 38 60 00 14 */ li r3, 0x14 -/* 80106F14 00103E74 83 DD 00 00 */ lwz r30, 0(r29) -/* 80106F18 00103E78 38 84 02 AC */ addi r4, r4, 0x2ac -/* 80106F1C 00103E7C 38 A0 00 00 */ li r5, 0 -/* 80106F20 00103E80 48 20 E8 F9 */ bl __nwa__FUlPCcPCc -/* 80106F24 00103E84 7C 7A 1B 79 */ or. r26, r3, r3 -/* 80106F28 00103E88 41 82 00 0C */ beq lbl_80106F34 -/* 80106F2C 00103E8C 93 DA 00 00 */ stw r30, 0(r26) -/* 80106F30 00103E90 93 BA 00 04 */ stw r29, 4(r26) -lbl_80106F34: -/* 80106F34 00103E94 34 BA 00 08 */ addic. r5, r26, 8 -/* 80106F38 00103E98 41 82 00 18 */ beq lbl_80106F50 -/* 80106F3C 00103E9C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80106F40 00103EA0 7F 04 C3 78 */ mr r4, r24 -/* 80106F44 00103EA4 38 65 00 04 */ addi r3, r5, 4 -/* 80106F48 00103EA8 90 05 00 00 */ stw r0, 0(r5) -/* 80106F4C 00103EAC 48 23 9F 5D */ bl __ct__6CTokenFRC6CToken -lbl_80106F50: -/* 80106F50 00103EB0 80 1F 01 30 */ lwz r0, 0x130(r31) -/* 80106F54 00103EB4 7C 1D 00 40 */ cmplw r29, r0 -/* 80106F58 00103EB8 40 82 00 08 */ bne lbl_80106F60 -/* 80106F5C 00103EBC 93 5F 01 30 */ stw r26, 0x130(r31) -lbl_80106F60: -/* 80106F60 00103EC0 80 7A 00 00 */ lwz r3, 0(r26) -/* 80106F64 00103EC4 28 18 00 00 */ cmplwi r24, 0 -/* 80106F68 00103EC8 93 43 00 04 */ stw r26, 4(r3) -/* 80106F6C 00103ECC 80 7A 00 04 */ lwz r3, 4(r26) -/* 80106F70 00103ED0 93 43 00 00 */ stw r26, 0(r3) -/* 80106F74 00103ED4 80 7F 01 40 */ lwz r3, 0x140(r31) -/* 80106F78 00103ED8 38 03 00 01 */ addi r0, r3, 1 -/* 80106F7C 00103EDC 90 1F 01 40 */ stw r0, 0x140(r31) -/* 80106F80 00103EE0 41 82 00 10 */ beq lbl_80106F90 -/* 80106F84 00103EE4 7F 03 C3 78 */ mr r3, r24 -/* 80106F88 00103EE8 38 80 00 00 */ li r4, 0 -/* 80106F8C 00103EEC 48 23 9E B5 */ bl __dt__6CTokenFv -lbl_80106F90: -/* 80106F90 00103EF0 7F 63 DB 78 */ mr r3, r27 -/* 80106F94 00103EF4 7E E4 BB 78 */ mr r4, r23 -/* 80106F98 00103EF8 48 20 82 6D */ bl UnloadBitmapData__8CTextureCFUi -/* 80106F9C 00103EFC 7E D6 CA 14 */ add r22, r22, r25 -lbl_80106FA0: -/* 80106FA0 00103F00 38 61 00 68 */ addi r3, r1, 0x68 -/* 80106FA4 00103F04 38 80 00 00 */ li r4, 0 -/* 80106FA8 00103F08 48 23 9E 99 */ bl __dt__6CTokenFv -lbl_80106FAC: -/* 80106FAC 00103F0C 3B 9C 00 04 */ addi r28, r28, 4 -lbl_80106FB0: -/* 80106FB0 00103F10 80 1F 00 DC */ lwz r0, 0xdc(r31) -/* 80106FB4 00103F14 80 7F 00 E4 */ lwz r3, 0xe4(r31) -/* 80106FB8 00103F18 54 00 10 3A */ slwi r0, r0, 2 -/* 80106FBC 00103F1C 7C 03 02 14 */ add r0, r3, r0 -/* 80106FC0 00103F20 7C 1C 00 40 */ cmplw r28, r0 -/* 80106FC4 00103F24 40 82 FE 7C */ bne lbl_80106E40 -lbl_80106FC8: -/* 80106FC8 00103F28 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80106FCC 00103F2C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80106FD0 00103F30 80 E1 00 AC */ lwz r7, 0xac(r1) -/* 80106FD4 00103F34 38 81 00 20 */ addi r4, r1, 0x20 -/* 80106FD8 00103F38 54 00 20 36 */ slwi r0, r0, 4 -/* 80106FDC 00103F3C 88 C1 00 14 */ lbz r6, 0x14(r1) -/* 80106FE0 00103F40 7C 07 02 14 */ add r0, r7, r0 -/* 80106FE4 00103F44 90 E1 00 24 */ stw r7, 0x24(r1) -/* 80106FE8 00103F48 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80106FEC 00103F4C 98 C1 00 18 */ stb r6, 0x18(r1) -/* 80106FF0 00103F50 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80106FF4 00103F54 90 01 00 20 */ stw r0, 0x20(r1) -/* 80106FF8 00103F58 90 E1 00 28 */ stw r7, 0x28(r1) -/* 80106FFC 00103F5C 48 00 35 D1 */ bl "sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan" -/* 80107000 00103F60 48 26 5C FD */ bl sub_8036ccfc -/* 80107004 00103F64 3C 60 80 00 */ lis r3, 0x7FFFFFFF@ha -/* 80107008 00103F68 83 81 00 AC */ lwz r28, 0xac(r1) -/* 8010700C 00103F6C 38 03 FF FF */ addi r0, r3, 0x7FFFFFFF@l -/* 80107010 00103F70 3B 01 00 7C */ addi r24, r1, 0x7c -/* 80107014 00103F74 90 0D A8 70 */ stw r0, lbl_805A9430@sda21(r13) -/* 80107018 00103F78 3F C0 00 10 */ lis r30, 0x10 -/* 8010701C 00103F7C 48 00 01 20 */ b lbl_8010713C -lbl_80107020: -/* 80107020 00103F80 7C 16 F0 00 */ cmpw r22, r30 -/* 80107024 00103F84 40 80 01 30 */ bge lbl_80107154 -/* 80107028 00103F88 3A BC 00 08 */ addi r21, r28, 8 -/* 8010702C 00103F8C 7E A3 AB 78 */ mr r3, r21 -/* 80107030 00103F90 48 23 9D DD */ bl GetObj__6CTokenFv -/* 80107034 00103F94 83 63 00 04 */ lwz r27, 4(r3) -/* 80107038 00103F98 3A E0 00 00 */ li r23, 0 -/* 8010703C 00103F9C 88 1B 00 0A */ lbz r0, 0xa(r27) -/* 80107040 00103FA0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80107044 00103FA4 40 82 00 38 */ bne lbl_8010707C -/* 80107048 00103FA8 7F 63 DB 78 */ mr r3, r27 -/* 8010704C 00103FAC 48 20 7B 35 */ bl LoadToARAM__8CTextureCFv -/* 80107050 00103FB0 7F 63 DB 78 */ mr r3, r27 -/* 80107054 00103FB4 48 20 7A F9 */ bl IsARAMTransferInProgress__8CTextureCFv -/* 80107058 00103FB8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010705C 00103FBC 41 82 00 20 */ beq lbl_8010707C -/* 80107060 00103FC0 48 00 00 08 */ b lbl_80107068 -lbl_80107064: -/* 80107064 00103FC4 48 25 14 D5 */ bl UpdateAllDMAs__10CARAMTokenFv -lbl_80107068: -/* 80107068 00103FC8 7F 63 DB 78 */ mr r3, r27 -/* 8010706C 00103FCC 48 20 7A E1 */ bl IsARAMTransferInProgress__8CTextureCFv -/* 80107070 00103FD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80107074 00103FD4 40 82 FF F0 */ bne lbl_80107064 -/* 80107078 00103FD8 3A E0 00 01 */ li r23, 1 -lbl_8010707C: -/* 8010707C 00103FDC 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 80107080 00103FE0 40 82 00 B0 */ bne lbl_80107130 -/* 80107084 00103FE4 80 9C 00 00 */ lwz r4, 0(r28) -/* 80107088 00103FE8 7F 63 DB 78 */ mr r3, r27 -/* 8010708C 00103FEC 48 20 81 79 */ bl UnloadBitmapData__8CTextureCFUi -/* 80107090 00103FF0 80 1C 00 00 */ lwz r0, 0(r28) -/* 80107094 00103FF4 7F 03 C3 78 */ mr r3, r24 -/* 80107098 00103FF8 7E A4 AB 78 */ mr r4, r21 -/* 8010709C 00103FFC 90 01 00 78 */ stw r0, 0x78(r1) -/* 801070A0 00104000 48 23 9E 09 */ bl __ct__6CTokenFRC6CToken -/* 801070A4 00104004 83 3F 01 34 */ lwz r25, 0x134(r31) -/* 801070A8 00104008 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 801070AC 0010400C 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l -/* 801070B0 00104010 38 60 00 14 */ li r3, 0x14 -/* 801070B4 00104014 83 59 00 00 */ lwz r26, 0(r25) -/* 801070B8 00104018 38 84 02 AC */ addi r4, r4, 0x2ac -/* 801070BC 0010401C 38 A0 00 00 */ li r5, 0 -/* 801070C0 00104020 48 20 E7 59 */ bl __nwa__FUlPCcPCc -/* 801070C4 00104024 7C 77 1B 79 */ or. r23, r3, r3 -/* 801070C8 00104028 41 82 00 0C */ beq lbl_801070D4 -/* 801070CC 0010402C 93 57 00 00 */ stw r26, 0(r23) -/* 801070D0 00104030 93 37 00 04 */ stw r25, 4(r23) -lbl_801070D4: -/* 801070D4 00104034 34 B7 00 08 */ addic. r5, r23, 8 -/* 801070D8 00104038 41 82 00 18 */ beq lbl_801070F0 -/* 801070DC 0010403C 80 01 00 78 */ lwz r0, 0x78(r1) -/* 801070E0 00104040 7F 04 C3 78 */ mr r4, r24 -/* 801070E4 00104044 38 65 00 04 */ addi r3, r5, 4 -/* 801070E8 00104048 90 05 00 00 */ stw r0, 0(r5) -/* 801070EC 0010404C 48 23 9D BD */ bl __ct__6CTokenFRC6CToken -lbl_801070F0: -/* 801070F0 00104050 80 1F 01 30 */ lwz r0, 0x130(r31) -/* 801070F4 00104054 7C 19 00 40 */ cmplw r25, r0 -/* 801070F8 00104058 40 82 00 08 */ bne lbl_80107100 -/* 801070FC 0010405C 92 FF 01 30 */ stw r23, 0x130(r31) -lbl_80107100: -/* 80107100 00104060 80 77 00 00 */ lwz r3, 0(r23) -/* 80107104 00104064 28 18 00 00 */ cmplwi r24, 0 -/* 80107108 00104068 92 E3 00 04 */ stw r23, 4(r3) -/* 8010710C 0010406C 80 77 00 04 */ lwz r3, 4(r23) -/* 80107110 00104070 92 E3 00 00 */ stw r23, 0(r3) -/* 80107114 00104074 80 7F 01 40 */ lwz r3, 0x140(r31) -/* 80107118 00104078 38 03 00 01 */ addi r0, r3, 1 -/* 8010711C 0010407C 90 1F 01 40 */ stw r0, 0x140(r31) -/* 80107120 00104080 41 82 00 10 */ beq lbl_80107130 -/* 80107124 00104084 7F 03 C3 78 */ mr r3, r24 -/* 80107128 00104088 38 80 00 00 */ li r4, 0 -/* 8010712C 0010408C 48 23 9D 15 */ bl __dt__6CTokenFv -lbl_80107130: -/* 80107130 00104090 80 1B 00 0C */ lwz r0, 0xc(r27) -/* 80107134 00104094 3B 9C 00 10 */ addi r28, r28, 0x10 -/* 80107138 00104098 7E D6 02 14 */ add r22, r22, r0 -lbl_8010713C: -/* 8010713C 0010409C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80107140 001040A0 80 61 00 AC */ lwz r3, 0xac(r1) -/* 80107144 001040A4 54 00 20 36 */ slwi r0, r0, 4 -/* 80107148 001040A8 7C 03 02 14 */ add r0, r3, r0 -/* 8010714C 001040AC 7C 1C 00 40 */ cmplw r28, r0 -/* 80107150 001040B0 40 82 FE D0 */ bne lbl_80107020 -lbl_80107154: -/* 80107154 001040B4 88 01 00 08 */ lbz r0, 8(r1) -/* 80107158 001040B8 38 60 00 00 */ li r3, 0 -/* 8010715C 001040BC 90 6D A8 70 */ stw r3, lbl_805A9430@sda21(r13) -/* 80107160 001040C0 38 7F 01 2C */ addi r3, r31, 0x12c -/* 80107164 001040C4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80107168 001040C8 98 01 00 0C */ stb r0, 0xc(r1) -/* 8010716C 001040CC 98 01 00 10 */ stb r0, 0x10(r1) -/* 80107170 001040D0 48 00 00 29 */ bl sub_80107198 -/* 80107174 001040D4 48 24 E2 0D */ bl DisableTextureTimeout__6CModelFv -/* 80107178 001040D8 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8010717C 001040DC 38 80 FF FF */ li r4, -1 -/* 80107180 001040E0 48 00 01 1D */ bl sub_8010729c -/* 80107184 001040E4 BA A1 00 B4 */ lmw r21, 0xb4(r1) -/* 80107188 001040E8 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8010718C 001040EC 7C 08 03 A6 */ mtlr r0 -/* 80107190 001040F0 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80107194 001040F4 4E 80 00 20 */ blr - -.global sub_80107198 -sub_80107198: -/* 80107198 001040F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8010719C 001040FC 7C 08 02 A6 */ mflr r0 -/* 801071A0 00104100 90 01 00 14 */ stw r0, 0x14(r1) -/* 801071A4 00104104 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801071A8 00104108 93 C1 00 08 */ stw r30, 8(r1) -/* 801071AC 0010410C 7C 7E 1B 78 */ mr r30, r3 -/* 801071B0 00104110 80 83 00 04 */ lwz r4, 4(r3) -/* 801071B4 00104114 48 00 00 40 */ b lbl_801071F4 -lbl_801071B8: -/* 801071B8 00104118 83 E4 00 04 */ lwz r31, 4(r4) -/* 801071BC 0010411C 7C 85 23 78 */ mr r5, r4 -/* 801071C0 00104120 7F E7 FB 78 */ mr r7, r31 -/* 801071C4 00104124 48 00 00 1C */ b lbl_801071E0 -lbl_801071C8: -/* 801071C8 00104128 80 65 00 08 */ lwz r3, 8(r5) -/* 801071CC 0010412C 80 07 00 08 */ lwz r0, 8(r7) -/* 801071D0 00104130 7C 03 00 40 */ cmplw r3, r0 -/* 801071D4 00104134 40 80 00 08 */ bge lbl_801071DC -/* 801071D8 00104138 7C E5 3B 78 */ mr r5, r7 -lbl_801071DC: -/* 801071DC 0010413C 80 E7 00 04 */ lwz r7, 4(r7) -lbl_801071E0: -/* 801071E0 00104140 7C 07 30 40 */ cmplw r7, r6 -/* 801071E4 00104144 40 82 FF E4 */ bne lbl_801071C8 -/* 801071E8 00104148 7F C3 F3 78 */ mr r3, r30 -/* 801071EC 0010414C 48 00 00 2D */ bl sub_80107218 -/* 801071F0 00104150 7F E4 FB 78 */ mr r4, r31 -lbl_801071F4: -/* 801071F4 00104154 80 DE 00 08 */ lwz r6, 8(r30) -/* 801071F8 00104158 7C 04 30 40 */ cmplw r4, r6 -/* 801071FC 0010415C 40 82 FF BC */ bne lbl_801071B8 -/* 80107200 00104160 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80107204 00104164 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80107208 00104168 83 C1 00 08 */ lwz r30, 8(r1) -/* 8010720C 0010416C 7C 08 03 A6 */ mtlr r0 -/* 80107210 00104170 38 21 00 10 */ addi r1, r1, 0x10 -/* 80107214 00104174 4E 80 00 20 */ blr - -.global sub_80107218 -sub_80107218: -/* 80107218 00104178 7C 04 28 40 */ cmplw r4, r5 -/* 8010721C 0010417C 4D 82 00 20 */ beqlr -/* 80107220 00104180 80 03 00 04 */ lwz r0, 4(r3) -/* 80107224 00104184 7C 04 00 40 */ cmplw r4, r0 -/* 80107228 00104188 40 82 00 0C */ bne lbl_80107234 -/* 8010722C 0010418C 90 A3 00 04 */ stw r5, 4(r3) -/* 80107230 00104190 48 00 00 10 */ b lbl_80107240 -lbl_80107234: -/* 80107234 00104194 7C 05 00 40 */ cmplw r5, r0 -/* 80107238 00104198 40 82 00 08 */ bne lbl_80107240 -/* 8010723C 0010419C 90 83 00 04 */ stw r4, 4(r3) -lbl_80107240: -/* 80107240 001041A0 80 E5 00 04 */ lwz r7, 4(r5) -/* 80107244 001041A4 80 64 00 04 */ lwz r3, 4(r4) -/* 80107248 001041A8 7C 07 20 40 */ cmplw r7, r4 -/* 8010724C 001041AC 80 C4 00 00 */ lwz r6, 0(r4) -/* 80107250 001041B0 81 05 00 00 */ lwz r8, 0(r5) -/* 80107254 001041B4 41 82 00 18 */ beq lbl_8010726C -/* 80107258 001041B8 90 87 00 00 */ stw r4, 0(r7) -/* 8010725C 001041BC 90 E4 00 04 */ stw r7, 4(r4) -/* 80107260 001041C0 90 A6 00 04 */ stw r5, 4(r6) -/* 80107264 001041C4 90 C5 00 00 */ stw r6, 0(r5) -/* 80107268 001041C8 48 00 00 0C */ b lbl_80107274 -lbl_8010726C: -/* 8010726C 001041CC 90 A4 00 04 */ stw r5, 4(r4) -/* 80107270 001041D0 90 85 00 00 */ stw r4, 0(r5) -lbl_80107274: -/* 80107274 001041D4 7C 08 20 40 */ cmplw r8, r4 -/* 80107278 001041D8 41 82 00 18 */ beq lbl_80107290 -/* 8010727C 001041DC 90 88 00 04 */ stw r4, 4(r8) -/* 80107280 001041E0 91 04 00 00 */ stw r8, 0(r4) -/* 80107284 001041E4 90 A3 00 00 */ stw r5, 0(r3) -/* 80107288 001041E8 90 65 00 04 */ stw r3, 4(r5) -/* 8010728C 001041EC 4E 80 00 20 */ blr -lbl_80107290: -/* 80107290 001041F0 90 85 00 04 */ stw r4, 4(r5) -/* 80107294 001041F4 90 A4 00 00 */ stw r5, 0(r4) -/* 80107298 001041F8 4E 80 00 20 */ blr - -.global sub_8010729c -sub_8010729c: -/* 8010729C 001041FC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801072A0 00104200 7C 08 02 A6 */ mflr r0 -/* 801072A4 00104204 90 01 00 34 */ stw r0, 0x34(r1) -/* 801072A8 00104208 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801072AC 0010420C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 801072B0 00104210 93 A1 00 24 */ stw r29, 0x24(r1) -/* 801072B4 00104214 7C 9D 23 78 */ mr r29, r4 -/* 801072B8 00104218 93 81 00 20 */ stw r28, 0x20(r1) -/* 801072BC 0010421C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 801072C0 00104220 41 82 00 70 */ beq lbl_80107330 -/* 801072C4 00104224 80 1C 00 04 */ lwz r0, 4(r28) -/* 801072C8 00104228 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 801072CC 0010422C 54 00 20 36 */ slwi r0, r0, 4 -/* 801072D0 00104230 7F FE 02 14 */ add r31, r30, r0 -/* 801072D4 00104234 93 C1 00 10 */ stw r30, 0x10(r1) -/* 801072D8 00104238 93 E1 00 08 */ stw r31, 8(r1) -/* 801072DC 0010423C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801072E0 00104240 93 C1 00 14 */ stw r30, 0x14(r1) -/* 801072E4 00104244 48 00 00 24 */ b lbl_80107308 -lbl_801072E8: -/* 801072E8 00104248 28 1E 00 00 */ cmplwi r30, 0 -/* 801072EC 0010424C 41 82 00 18 */ beq lbl_80107304 -/* 801072F0 00104250 34 1E 00 08 */ addic. r0, r30, 8 -/* 801072F4 00104254 41 82 00 10 */ beq lbl_80107304 -/* 801072F8 00104258 38 7E 00 08 */ addi r3, r30, 8 -/* 801072FC 0010425C 38 80 00 00 */ li r4, 0 -/* 80107300 00104260 48 23 9B 41 */ bl __dt__6CTokenFv -lbl_80107304: -/* 80107304 00104264 3B DE 00 10 */ addi r30, r30, 0x10 -lbl_80107308: -/* 80107308 00104268 7C 1E F8 40 */ cmplw r30, r31 -/* 8010730C 0010426C 40 82 FF DC */ bne lbl_801072E8 -/* 80107310 00104270 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 80107314 00104274 28 03 00 00 */ cmplwi r3, 0 -/* 80107318 00104278 41 82 00 08 */ beq lbl_80107320 -/* 8010731C 0010427C 48 20 E6 15 */ bl Free__7CMemoryFPCv -lbl_80107320: -/* 80107320 00104280 7F A0 07 35 */ extsh. r0, r29 -/* 80107324 00104284 40 81 00 0C */ ble lbl_80107330 -/* 80107328 00104288 7F 83 E3 78 */ mr r3, r28 -/* 8010732C 0010428C 48 20 E6 05 */ bl Free__7CMemoryFPCv -lbl_80107330: -/* 80107330 00104290 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80107334 00104294 7F 83 E3 78 */ mr r3, r28 -/* 80107338 00104298 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8010733C 0010429C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80107340 001042A0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80107344 001042A4 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80107348 001042A8 7C 08 03 A6 */ mtlr r0 -/* 8010734C 001042AC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80107350 001042B0 4E 80 00 20 */ blr - -.global sub_80107354 -sub_80107354: -/* 80107354 001042B4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80107358 001042B8 7C 08 02 A6 */ mflr r0 -/* 8010735C 001042BC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80107360 001042C0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80107364 001042C4 3B E3 00 60 */ addi r31, r3, 0x60 -/* 80107368 001042C8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8010736C 001042CC 3B C0 00 00 */ li r30, 0 -/* 80107370 001042D0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80107374 001042D4 7C 9D 23 78 */ mr r29, r4 -lbl_80107378: -/* 80107378 001042D8 7F E4 FB 78 */ mr r4, r31 -/* 8010737C 001042DC 38 61 00 08 */ addi r3, r1, 8 -/* 80107380 001042E0 48 23 9B 29 */ bl __ct__6CTokenFRC6CToken -/* 80107384 001042E4 38 61 00 08 */ addi r3, r1, 8 -/* 80107388 001042E8 48 23 9A 85 */ bl GetObj__6CTokenFv -/* 8010738C 001042EC 80 63 00 04 */ lwz r3, 4(r3) -/* 80107390 001042F0 80 03 00 04 */ lwz r0, 4(r3) -/* 80107394 001042F4 80 83 00 0C */ lwz r4, 0xc(r3) -/* 80107398 001042F8 54 00 18 38 */ slwi r0, r0, 3 -/* 8010739C 001042FC 7C 64 02 14 */ add r3, r4, r0 -/* 801073A0 00104300 48 00 00 28 */ b lbl_801073C8 -lbl_801073A4: -/* 801073A4 00104304 80 04 00 04 */ lwz r0, 4(r4) -/* 801073A8 00104308 7C 1D 00 40 */ cmplw r29, r0 -/* 801073AC 0010430C 40 82 00 18 */ bne lbl_801073C4 -/* 801073B0 00104310 38 61 00 08 */ addi r3, r1, 8 -/* 801073B4 00104314 38 80 00 00 */ li r4, 0 -/* 801073B8 00104318 48 23 9A 89 */ bl __dt__6CTokenFv -/* 801073BC 0010431C 38 60 00 01 */ li r3, 1 -/* 801073C0 00104320 48 00 00 30 */ b lbl_801073F0 -lbl_801073C4: -/* 801073C4 00104324 38 84 00 08 */ addi r4, r4, 8 -lbl_801073C8: -/* 801073C8 00104328 7C 04 18 40 */ cmplw r4, r3 -/* 801073CC 0010432C 40 82 FF D8 */ bne lbl_801073A4 -/* 801073D0 00104330 38 61 00 08 */ addi r3, r1, 8 -/* 801073D4 00104334 38 80 00 00 */ li r4, 0 -/* 801073D8 00104338 48 23 9A 69 */ bl __dt__6CTokenFv -/* 801073DC 0010433C 3B DE 00 01 */ addi r30, r30, 1 -/* 801073E0 00104340 3B FF 00 08 */ addi r31, r31, 8 -/* 801073E4 00104344 2C 1E 00 0D */ cmpwi r30, 0xd -/* 801073E8 00104348 41 80 FF 90 */ blt lbl_80107378 -/* 801073EC 0010434C 38 60 00 00 */ li r3, 0 -lbl_801073F0: -/* 801073F0 00104350 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801073F4 00104354 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801073F8 00104358 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801073FC 0010435C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80107400 00104360 7C 08 03 A6 */ mtlr r0 -/* 80107404 00104364 38 21 00 20 */ addi r1, r1, 0x20 -/* 80107408 00104368 4E 80 00 20 */ blr - -.global EnsureStates__17CInGameGuiManagerFR13CStateManager -EnsureStates__17CInGameGuiManagerFR13CStateManager: -/* 8010740C 0010436C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80107410 00104370 7C 08 02 A6 */ mflr r0 -/* 80107414 00104374 90 01 00 14 */ stw r0, 0x14(r1) -/* 80107418 00104378 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8010741C 0010437C 7C 9F 23 78 */ mr r31, r4 -/* 80107420 00104380 93 C1 00 08 */ stw r30, 8(r1) -/* 80107424 00104384 7C 7E 1B 78 */ mr r30, r3 -/* 80107428 00104388 88 03 01 F8 */ lbz r0, 0x1f8(r3) -/* 8010742C 0010438C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80107430 00104390 41 82 00 34 */ beq lbl_80107464 -/* 80107434 00104394 80 BE 00 3C */ lwz r5, 0x3c(r30) -/* 80107438 00104398 88 05 00 50 */ lbz r0, 0x50(r5) -/* 8010743C 0010439C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80107440 001043A0 40 82 00 24 */ bne lbl_80107464 -/* 80107444 001043A4 4B FF F7 75 */ bl DestroyAreaTextures__17CInGameGuiManagerFRC13CStateManager -/* 80107448 001043A8 88 1E 01 F8 */ lbz r0, 0x1f8(r30) -/* 8010744C 001043AC 38 60 00 00 */ li r3, 0 -/* 80107450 001043B0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80107454 001043B4 7F C3 F3 78 */ mr r3, r30 -/* 80107458 001043B8 98 1E 01 F8 */ stb r0, 0x1f8(r30) -/* 8010745C 001043BC 7F E4 FB 78 */ mr r4, r31 -/* 80107460 001043C0 48 00 00 1D */ bl DoStateTransition__17CInGameGuiManagerFR13CStateManager -lbl_80107464: -/* 80107464 001043C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80107468 001043C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8010746C 001043CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80107470 001043D0 7C 08 03 A6 */ mtlr r0 -/* 80107474 001043D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80107478 001043D8 4E 80 00 20 */ blr - -.global DoStateTransition__17CInGameGuiManagerFR13CStateManager -DoStateTransition__17CInGameGuiManagerFR13CStateManager: -/* 8010747C 001043DC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80107480 001043E0 7C 08 02 A6 */ mflr r0 -/* 80107484 001043E4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80107488 001043E8 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8010748C 001043EC 7C 7F 1B 78 */ mr r31, r3 -/* 80107490 001043F0 7C 9B 23 78 */ mr r27, r4 -/* 80107494 001043F4 7F 65 DB 78 */ mr r5, r27 -/* 80107498 001043F8 80 63 00 34 */ lwz r3, 0x34(r3) -/* 8010749C 001043FC 80 9F 01 C0 */ lwz r4, 0x1c0(r31) -/* 801074A0 00104400 4B F6 1B 21 */ bl OnNewInGameGuiState__9CSamusHudF15EInGameGuiStateR13CStateManager -/* 801074A4 00104404 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 801074A8 00104408 7F 65 DB 78 */ mr r5, r27 -/* 801074AC 0010440C 80 9F 01 C0 */ lwz r4, 0x1c0(r31) -/* 801074B0 00104410 4B F9 4E 79 */ bl OnNewInGameGuiState__11CAutoMapperF15EInGameGuiStateR13CStateManager -/* 801074B4 00104414 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 801074B8 00104418 2C 00 00 03 */ cmpwi r0, 3 -/* 801074BC 0010441C 41 82 00 0C */ beq lbl_801074C8 -/* 801074C0 00104420 2C 00 00 04 */ cmpwi r0, 4 -/* 801074C4 00104424 40 82 01 08 */ bne lbl_801075CC -lbl_801074C8: -/* 801074C8 00104428 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 801074CC 0010442C 28 00 00 00 */ cmplwi r0, 0 -/* 801074D0 00104430 40 82 00 FC */ bne lbl_801075CC -/* 801074D4 00104434 80 7B 08 B8 */ lwz r3, 0x8b8(r27) -/* 801074D8 00104438 80 63 00 00 */ lwz r3, 0(r3) -/* 801074DC 0010443C 83 63 00 20 */ lwz r27, 0x20(r3) -/* 801074E0 00104440 4B F8 9F E5 */ bl GetIsFusionEnabled__12CPlayerStateFv -/* 801074E4 00104444 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801074E8 00104448 41 82 00 38 */ beq lbl_80107520 -/* 801074EC 0010444C 2C 1B 00 03 */ cmpwi r27, 3 -/* 801074F0 00104450 40 82 00 0C */ bne lbl_801074FC -/* 801074F4 00104454 3B A0 00 07 */ li r29, 7 -/* 801074F8 00104458 48 00 00 54 */ b lbl_8010754C -lbl_801074FC: -/* 801074FC 0010445C 2C 1B 00 01 */ cmpwi r27, 1 -/* 80107500 00104460 40 82 00 0C */ bne lbl_8010750C -/* 80107504 00104464 3B A0 00 06 */ li r29, 6 -/* 80107508 00104468 48 00 00 44 */ b lbl_8010754C -lbl_8010750C: -/* 8010750C 0010446C 2C 1B 00 02 */ cmpwi r27, 2 -/* 80107510 00104470 3B A0 00 04 */ li r29, 4 -/* 80107514 00104474 40 82 00 38 */ bne lbl_8010754C -/* 80107518 00104478 3B A0 00 05 */ li r29, 5 -/* 8010751C 0010447C 48 00 00 30 */ b lbl_8010754C -lbl_80107520: -/* 80107520 00104480 2C 1B 00 03 */ cmpwi r27, 3 -/* 80107524 00104484 40 82 00 0C */ bne lbl_80107530 -/* 80107528 00104488 3B A0 00 03 */ li r29, 3 -/* 8010752C 0010448C 48 00 00 20 */ b lbl_8010754C -lbl_80107530: -/* 80107530 00104490 2C 1B 00 01 */ cmpwi r27, 1 -/* 80107534 00104494 40 82 00 0C */ bne lbl_80107540 -/* 80107538 00104498 3B A0 00 02 */ li r29, 2 -/* 8010753C 0010449C 48 00 00 10 */ b lbl_8010754C -lbl_80107540: -/* 80107540 001044A0 20 1B 00 02 */ subfic r0, r27, 2 -/* 80107544 001044A4 7C 00 00 34 */ cntlzw r0, r0 -/* 80107548 001044A8 54 1D D9 7E */ srwi r29, r0, 5 -lbl_8010754C: -/* 8010754C 001044AC 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 80107550 001044B0 3B C0 00 02 */ li r30, 2 -/* 80107554 001044B4 2C 00 00 04 */ cmpwi r0, 4 -/* 80107558 001044B8 40 82 00 08 */ bne lbl_80107560 -/* 8010755C 001044BC 3B C0 00 00 */ li r30, 0 -lbl_80107560: -/* 80107560 001044C0 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha -/* 80107564 001044C4 38 60 00 94 */ li r3, 0x94 -/* 80107568 001044C8 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l -/* 8010756C 001044CC 38 A0 00 00 */ li r5, 0 -/* 80107570 001044D0 38 84 02 AC */ addi r4, r4, 0x2ac -/* 80107574 001044D4 48 20 E2 F9 */ bl __nw__FUlPCcPCc -/* 80107578 001044D8 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8010757C 001044DC 41 82 00 40 */ beq lbl_801075BC -/* 80107580 001044E0 57 A0 18 38 */ slwi r0, r29, 3 -/* 80107584 001044E4 7F 7F 02 14 */ add r27, r31, r0 -/* 80107588 001044E8 3B 7B 00 60 */ addi r27, r27, 0x60 -/* 8010758C 001044EC 7F 63 DB 78 */ mr r3, r27 -/* 80107590 001044F0 48 23 98 7D */ bl GetObj__6CTokenFv -/* 80107594 001044F4 83 A3 00 04 */ lwz r29, 4(r3) -/* 80107598 001044F8 7F 63 DB 78 */ mr r3, r27 -/* 8010759C 001044FC 48 23 98 71 */ bl GetObj__6CTokenFv -/* 801075A0 00104500 7C 64 1B 78 */ mr r4, r3 -/* 801075A4 00104504 7F 83 E3 78 */ mr r3, r28 -/* 801075A8 00104508 80 A4 00 04 */ lwz r5, 4(r4) -/* 801075AC 0010450C 7F C4 F3 78 */ mr r4, r30 -/* 801075B0 00104510 7F A6 EB 78 */ mr r6, r29 -/* 801075B4 00104514 4B F6 CA 5D */ bl __ct__12CPauseScreenFiRC16CDependencyGroupRC16CDependencyGroup -/* 801075B8 00104518 7C 7C 1B 78 */ mr r28, r3 -lbl_801075BC: -/* 801075BC 0010451C 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 801075C0 00104520 38 80 00 01 */ li r4, 1 -/* 801075C4 00104524 4B F6 C8 C9 */ bl __dt__12CPauseScreenFv -/* 801075C8 00104528 93 9F 00 48 */ stw r28, 0x48(r31) -lbl_801075CC: -/* 801075CC 0010452C 80 7F 01 C0 */ lwz r3, 0x1c0(r31) -/* 801075D0 00104530 38 00 00 00 */ li r0, 0 -/* 801075D4 00104534 2C 03 00 02 */ cmpwi r3, 2 -/* 801075D8 00104538 41 80 00 10 */ blt lbl_801075E8 -/* 801075DC 0010453C 2C 03 00 06 */ cmpwi r3, 6 -/* 801075E0 00104540 41 81 00 08 */ bgt lbl_801075E8 -/* 801075E4 00104544 38 00 00 01 */ li r0, 1 -lbl_801075E8: -/* 801075E8 00104548 83 9F 00 F4 */ lwz r28, 0xf4(r31) -/* 801075EC 0010454C 54 1E 06 3E */ clrlwi r30, r0, 0x18 -/* 801075F0 00104550 48 00 00 24 */ b lbl_80107614 -lbl_801075F4: -/* 801075F4 00104554 28 1E 00 00 */ cmplwi r30, 0 -/* 801075F8 00104558 41 82 00 10 */ beq lbl_80107608 -/* 801075FC 0010455C 7F 83 E3 78 */ mr r3, r28 -/* 80107600 00104560 48 23 97 85 */ bl Lock__6CTokenFv -/* 80107604 00104564 48 00 00 0C */ b lbl_80107610 -lbl_80107608: -/* 80107608 00104568 7F 83 E3 78 */ mr r3, r28 -/* 8010760C 0010456C 48 23 97 35 */ bl Unlock__6CTokenFv -lbl_80107610: -/* 80107610 00104570 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80107614: -/* 80107614 00104574 80 1F 00 EC */ lwz r0, 0xec(r31) -/* 80107618 00104578 80 7F 00 F4 */ lwz r3, 0xf4(r31) -/* 8010761C 0010457C 54 00 18 38 */ slwi r0, r0, 3 -/* 80107620 00104580 7C 03 02 14 */ add r0, r3, r0 -/* 80107624 00104584 7C 1C 00 40 */ cmplw r28, r0 -/* 80107628 00104588 40 82 FF CC */ bne lbl_801075F4 -/* 8010762C 0010458C BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80107630 00104590 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80107634 00104594 7C 08 03 A6 */ mtlr r0 -/* 80107638 00104598 38 21 00 20 */ addi r1, r1, 0x20 -/* 8010763C 0010459C 4E 80 00 20 */ blr - -.global BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager -BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager: -/* 80107640 001045A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80107644 001045A4 7C 08 02 A6 */ mflr r0 -/* 80107648 001045A8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8010764C 001045AC BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80107650 001045B0 7C 9E 23 78 */ mr r30, r4 -/* 80107654 001045B4 7C 7D 1B 78 */ mr r29, r3 -/* 80107658 001045B8 7C BF 2B 78 */ mr r31, r5 -/* 8010765C 001045BC 80 03 01 C0 */ lwz r0, 0x1c0(r3) -/* 80107660 001045C0 7C 00 F0 00 */ cmpw r0, r30 -/* 80107664 001045C4 41 82 01 74 */ beq lbl_801077D8 -/* 80107668 001045C8 90 1D 01 BC */ stw r0, 0x1bc(r29) -/* 8010766C 001045CC 2C 1E 00 01 */ cmpwi r30, 1 -/* 80107670 001045D0 93 DD 01 C0 */ stw r30, 0x1c0(r29) -/* 80107674 001045D4 40 82 00 2C */ bne lbl_801076A0 -/* 80107678 001045D8 38 60 00 01 */ li r3, 1 -/* 8010767C 001045DC 48 1E 22 39 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels -/* 80107680 001045E0 80 7D 00 4C */ lwz r3, 0x4c(r29) -/* 80107684 001045E4 38 80 00 01 */ li r4, 1 -/* 80107688 001045E8 48 14 87 9D */ bl __dt__15CSaveGameScreenFv -/* 8010768C 001045EC 38 00 00 00 */ li r0, 0 -/* 80107690 001045F0 90 1D 00 4C */ stw r0, 0x4c(r29) -/* 80107694 001045F4 80 7D 00 38 */ lwz r3, 0x38(r29) -/* 80107698 001045F8 4B F9 4B 1D */ bl UnmuteAllLoopedSounds__11CAutoMapperFv -/* 8010769C 001045FC 48 00 01 14 */ b lbl_801077B0 -lbl_801076A0: -/* 801076A0 00104600 2C 1E 00 06 */ cmpwi r30, 6 -/* 801076A4 00104604 40 82 00 84 */ bne lbl_80107728 -/* 801076A8 00104608 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha -/* 801076AC 0010460C 38 60 00 7C */ li r3, 0x7c -/* 801076B0 00104610 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l -/* 801076B4 00104614 38 A0 00 00 */ li r5, 0 -/* 801076B8 00104618 38 84 02 AC */ addi r4, r4, 0x2ac -/* 801076BC 0010461C 48 20 E1 B1 */ bl __nw__FUlPCcPCc -/* 801076C0 00104620 7C 7B 1B 79 */ or. r27, r3, r3 -/* 801076C4 00104624 41 82 00 14 */ beq lbl_801076D8 -/* 801076C8 00104628 80 9D 01 24 */ lwz r4, 0x124(r29) -/* 801076CC 0010462C C0 3D 01 28 */ lfs f1, 0x128(r29) -/* 801076D0 00104630 48 0E 88 31 */ bl __ct__14CMessageScreenFUif -/* 801076D4 00104634 7C 7B 1B 78 */ mr r27, r3 -lbl_801076D8: -/* 801076D8 00104638 83 9D 00 44 */ lwz r28, 0x44(r29) -/* 801076DC 0010463C 28 1C 00 00 */ cmplwi r28, 0 -/* 801076E0 00104640 41 82 00 40 */ beq lbl_80107720 -/* 801076E4 00104644 34 1C 00 0C */ addic. r0, r28, 0xc -/* 801076E8 00104648 41 82 00 18 */ beq lbl_80107700 -/* 801076EC 0010464C 34 1C 00 0C */ addic. r0, r28, 0xc -/* 801076F0 00104650 41 82 00 10 */ beq lbl_80107700 -/* 801076F4 00104654 38 7C 00 0C */ addi r3, r28, 0xc -/* 801076F8 00104658 38 80 00 00 */ li r4, 0 -/* 801076FC 0010465C 48 23 97 45 */ bl __dt__6CTokenFv -lbl_80107700: -/* 80107700 00104660 28 1C 00 00 */ cmplwi r28, 0 -/* 80107704 00104664 41 82 00 14 */ beq lbl_80107718 -/* 80107708 00104668 41 82 00 10 */ beq lbl_80107718 -/* 8010770C 0010466C 7F 83 E3 78 */ mr r3, r28 -/* 80107710 00104670 38 80 00 00 */ li r4, 0 -/* 80107714 00104674 48 23 97 2D */ bl __dt__6CTokenFv -lbl_80107718: -/* 80107718 00104678 7F 83 E3 78 */ mr r3, r28 -/* 8010771C 0010467C 48 20 E2 15 */ bl Free__7CMemoryFPCv -lbl_80107720: -/* 80107720 00104680 93 7D 00 44 */ stw r27, 0x44(r29) -/* 80107724 00104684 48 00 00 8C */ b lbl_801077B0 -lbl_80107728: -/* 80107728 00104688 2C 1E 00 05 */ cmpwi r30, 5 -/* 8010772C 0010468C 40 82 00 50 */ bne lbl_8010777C -/* 80107730 00104690 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha -/* 80107734 00104694 38 60 00 98 */ li r3, 0x98 -/* 80107738 00104698 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l -/* 8010773C 0010469C 38 A0 00 00 */ li r5, 0 -/* 80107740 001046A0 38 84 02 AC */ addi r4, r4, 0x2ac -/* 80107744 001046A4 48 20 E1 29 */ bl __nw__FUlPCcPCc -/* 80107748 001046A8 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8010774C 001046AC 41 82 00 1C */ beq lbl_80107768 -/* 80107750 001046B0 80 CD A0 80 */ lwz r6, gpGameState@sda21(r13) -/* 80107754 001046B4 38 80 00 01 */ li r4, 1 -/* 80107758 001046B8 80 A6 02 10 */ lwz r5, 0x210(r6) -/* 8010775C 001046BC 80 C6 02 14 */ lwz r6, 0x214(r6) -/* 80107760 001046C0 48 14 88 1D */ bl __ct__15CSaveGameScreen -/* 80107764 001046C4 7C 7B 1B 78 */ mr r27, r3 -lbl_80107768: -/* 80107768 001046C8 80 7D 00 4C */ lwz r3, 0x4c(r29) -/* 8010776C 001046CC 38 80 00 01 */ li r4, 1 -/* 80107770 001046D0 48 14 86 B5 */ bl __dt__15CSaveGameScreenFv -/* 80107774 001046D4 93 7D 00 4C */ stw r27, 0x4c(r29) -/* 80107778 001046D8 48 00 00 38 */ b lbl_801077B0 -lbl_8010777C: -/* 8010777C 001046DC 80 7D 01 BC */ lwz r3, 0x1bc(r29) -/* 80107780 001046E0 38 00 00 00 */ li r0, 0 -/* 80107784 001046E4 2C 03 00 00 */ cmpwi r3, 0 -/* 80107788 001046E8 41 80 00 10 */ blt lbl_80107798 -/* 8010778C 001046EC 2C 03 00 01 */ cmpwi r3, 1 -/* 80107790 001046F0 41 81 00 08 */ bgt lbl_80107798 -/* 80107794 001046F4 38 00 00 01 */ li r0, 1 -lbl_80107798: -/* 80107798 001046F8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8010779C 001046FC 41 82 00 14 */ beq lbl_801077B0 -/* 801077A0 00104700 88 1D 01 F8 */ lbz r0, 0x1f8(r29) -/* 801077A4 00104704 38 60 00 01 */ li r3, 1 -/* 801077A8 00104708 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 801077AC 0010470C 98 1D 01 F8 */ stb r0, 0x1f8(r29) -lbl_801077B0: -/* 801077B0 00104710 80 7D 00 3C */ lwz r3, 0x3c(r29) -/* 801077B4 00104714 7F C4 F3 78 */ mr r4, r30 -/* 801077B8 00104718 7F E5 FB 78 */ mr r5, r31 -/* 801077BC 0010471C 48 15 61 F1 */ bl OnNewInGameGuiState__16CPauseScreenBlurF15EInGameGuiStateR13CStateManager -/* 801077C0 00104720 88 1D 01 F8 */ lbz r0, 0x1f8(r29) -/* 801077C4 00104724 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 801077C8 00104728 40 82 00 10 */ bne lbl_801077D8 -/* 801077CC 0010472C 7F A3 EB 78 */ mr r3, r29 -/* 801077D0 00104730 7F E4 FB 78 */ mr r4, r31 -/* 801077D4 00104734 4B FF FC A9 */ bl DoStateTransition__17CInGameGuiManagerFR13CStateManager -lbl_801077D8: -/* 801077D8 00104738 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 801077DC 0010473C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801077E0 00104740 7C 08 03 A6 */ mtlr r0 -/* 801077E4 00104744 38 21 00 20 */ addi r1, r1, 0x20 -/* 801077E8 00104748 4E 80 00 20 */ blr - -.global GetIsGameDraw__17CInGameGuiManagerCFv -GetIsGameDraw__17CInGameGuiManagerCFv: -/* 801077EC 0010474C 80 63 00 3C */ lwz r3, 0x3c(r3) -/* 801077F0 00104750 88 03 00 50 */ lbz r0, 0x50(r3) -/* 801077F4 00104754 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f -/* 801077F8 00104758 4E 80 00 20 */ blr - -.global ShowPauseGameHudMessage__17CInGameGuiManagerFRC13CStateManagerUi -ShowPauseGameHudMessage__17CInGameGuiManagerFRC13CStateManagerUi: -/* 801077FC 0010475C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80107800 00104760 7C 08 02 A6 */ mflr r0 -/* 80107804 00104764 90 01 00 14 */ stw r0, 0x14(r1) -/* 80107808 00104768 90 A3 01 24 */ stw r5, 0x124(r3) -/* 8010780C 0010476C 38 A0 00 06 */ li r5, 6 -/* 80107810 00104770 D0 23 01 28 */ stfs f1, 0x128(r3) -/* 80107814 00104774 48 00 00 15 */ bl PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState -/* 80107818 00104778 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8010781C 0010477C 7C 08 03 A6 */ mtlr r0 -/* 80107820 00104780 38 21 00 10 */ addi r1, r1, 0x10 -/* 80107824 00104784 4E 80 00 20 */ blr - -.global PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState -PauseGame__17CInGameGuiManagerFRC13CStateManager15EInGameGuiState: -/* 80107828 00104788 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8010782C 0010478C 7C 08 02 A6 */ mflr r0 -/* 80107830 00104790 90 01 00 24 */ stw r0, 0x24(r1) -/* 80107834 00104794 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80107838 00104798 7C BF 2B 78 */ mr r31, r5 -/* 8010783C 0010479C 38 A0 00 00 */ li r5, 0 -/* 80107840 001047A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80107844 001047A4 7C 9E 23 78 */ mr r30, r4 -/* 80107848 001047A8 38 80 00 00 */ li r4, 0 -/* 8010784C 001047AC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80107850 001047B0 7C 7D 1B 78 */ mr r29, r3 -/* 80107854 001047B4 80 6D A0 7C */ lwz r3, gpController@sda21(r13) -/* 80107858 001047B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8010785C 001047BC 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80107860 001047C0 7D 89 03 A6 */ mtctr r12 -/* 80107864 001047C4 4E 80 04 21 */ bctrl -/* 80107868 001047C8 38 60 00 02 */ li r3, 2 -/* 8010786C 001047CC 48 1E 20 49 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels -/* 80107870 001047D0 7F A3 EB 78 */ mr r3, r29 -/* 80107874 001047D4 7F E4 FB 78 */ mr r4, r31 -/* 80107878 001047D8 7F C5 F3 78 */ mr r5, r30 -/* 8010787C 001047DC 4B FF FD C5 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager -/* 80107880 001047E0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80107884 001047E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80107888 001047E8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010788C 001047EC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80107890 001047F0 7C 08 03 A6 */ mtlr r0 -/* 80107894 001047F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80107898 001047F8 4E 80 00 20 */ blr - -.global ProcessControllerInput__17CInGameGuiManagerFRC13CStateManagerRC11CFinalInputR18CArchitectureQueue -ProcessControllerInput__17CInGameGuiManagerFRC13CStateManagerRC11CFinalInputR18CArchitectureQueue: -/* 8010789C 001047FC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801078A0 00104800 7C 08 02 A6 */ mflr r0 -/* 801078A4 00104804 90 01 00 24 */ stw r0, 0x24(r1) -/* 801078A8 00104808 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801078AC 0010480C 7C BF 2B 78 */ mr r31, r5 -/* 801078B0 00104810 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801078B4 00104814 7C 9E 23 78 */ mr r30, r4 -/* 801078B8 00104818 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801078BC 0010481C 7C 7D 1B 78 */ mr r29, r3 -/* 801078C0 00104820 80 05 00 04 */ lwz r0, 4(r5) -/* 801078C4 00104824 2C 00 00 00 */ cmpwi r0, 0 -/* 801078C8 00104828 40 82 01 74 */ bne lbl_80107A3C -/* 801078CC 0010482C 80 BD 01 BC */ lwz r5, 0x1bc(r29) -/* 801078D0 00104830 38 80 00 00 */ li r4, 0 -/* 801078D4 00104834 7C 80 23 78 */ mr r0, r4 -/* 801078D8 00104838 2C 05 00 00 */ cmpwi r5, 0 -/* 801078DC 0010483C 41 80 00 10 */ blt lbl_801078EC -/* 801078E0 00104840 2C 05 00 01 */ cmpwi r5, 1 -/* 801078E4 00104844 41 81 00 08 */ bgt lbl_801078EC -/* 801078E8 00104848 38 00 00 01 */ li r0, 1 -lbl_801078EC: -/* 801078EC 0010484C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 801078F0 00104850 41 82 00 2C */ beq lbl_8010791C -/* 801078F4 00104854 80 7D 01 C0 */ lwz r3, 0x1c0(r29) -/* 801078F8 00104858 38 00 00 00 */ li r0, 0 -/* 801078FC 0010485C 2C 03 00 00 */ cmpwi r3, 0 -/* 80107900 00104860 41 80 00 10 */ blt lbl_80107910 -/* 80107904 00104864 2C 03 00 01 */ cmpwi r3, 1 -/* 80107908 00104868 41 81 00 08 */ bgt lbl_80107910 -/* 8010790C 0010486C 38 00 00 01 */ li r0, 1 -lbl_80107910: -/* 80107910 00104870 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80107914 00104874 41 82 00 08 */ beq lbl_8010791C -/* 80107918 00104878 38 80 00 01 */ li r4, 1 -lbl_8010791C: -/* 8010791C 0010487C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80107920 00104880 40 82 01 10 */ bne lbl_80107A30 -/* 80107924 00104884 2C 05 00 02 */ cmpwi r5, 2 -/* 80107928 00104888 38 80 00 00 */ li r4, 0 -/* 8010792C 0010488C 7C 80 23 78 */ mr r0, r4 -/* 80107930 00104890 41 80 00 10 */ blt lbl_80107940 -/* 80107934 00104894 2C 05 00 06 */ cmpwi r5, 6 -/* 80107938 00104898 41 81 00 08 */ bgt lbl_80107940 -/* 8010793C 0010489C 38 00 00 01 */ li r0, 1 -lbl_80107940: -/* 80107940 001048A0 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80107944 001048A4 41 82 00 2C */ beq lbl_80107970 -/* 80107948 001048A8 80 7D 01 C0 */ lwz r3, 0x1c0(r29) -/* 8010794C 001048AC 38 00 00 00 */ li r0, 0 -/* 80107950 001048B0 2C 03 00 02 */ cmpwi r3, 2 -/* 80107954 001048B4 41 80 00 10 */ blt lbl_80107964 -/* 80107958 001048B8 2C 03 00 06 */ cmpwi r3, 6 -/* 8010795C 001048BC 41 81 00 08 */ bgt lbl_80107964 -/* 80107960 001048C0 38 00 00 01 */ li r0, 1 -lbl_80107964: -/* 80107964 001048C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80107968 001048C8 41 82 00 08 */ beq lbl_80107970 -/* 8010796C 001048CC 38 80 00 01 */ li r4, 1 -lbl_80107970: -/* 80107970 001048D0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80107974 001048D4 41 82 00 C8 */ beq lbl_80107A3C -/* 80107978 001048D8 80 1D 01 BC */ lwz r0, 0x1bc(r29) -/* 8010797C 001048DC 2C 00 00 02 */ cmpwi r0, 2 -/* 80107980 001048E0 40 82 00 64 */ bne lbl_801079E4 -/* 80107984 001048E4 80 7D 00 38 */ lwz r3, 0x38(r29) -/* 80107988 001048E8 38 80 00 01 */ li r4, 1 -/* 8010798C 001048EC 4B F8 E3 99 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 80107990 001048F0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80107994 001048F4 40 82 00 18 */ bne lbl_801079AC -/* 80107998 001048F8 80 7D 00 38 */ lwz r3, 0x38(r29) -/* 8010799C 001048FC 38 80 00 02 */ li r4, 2 -/* 801079A0 00104900 4B F8 E3 85 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 801079A4 00104904 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801079A8 00104908 41 82 00 94 */ beq lbl_80107A3C -lbl_801079AC: -/* 801079AC 0010490C 80 7D 00 38 */ lwz r3, 0x38(r29) -/* 801079B0 00104910 7F E4 FB 78 */ mr r4, r31 -/* 801079B4 00104914 7F C5 F3 78 */ mr r5, r30 -/* 801079B8 00104918 4B F9 34 FD */ bl ProcessControllerInput__11CAutoMapperFRC11CFinalInputRC13CStateManager -/* 801079BC 0010491C 80 7D 00 38 */ lwz r3, 0x38(r29) -/* 801079C0 00104920 7F C4 F3 78 */ mr r4, r30 -/* 801079C4 00104924 4B F9 49 1D */ bl CanLeaveMapScreen__11CAutoMapperCFRC13CStateManager -/* 801079C8 00104928 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801079CC 0010492C 41 82 00 70 */ beq lbl_80107A3C -/* 801079D0 00104930 7F A3 EB 78 */ mr r3, r29 -/* 801079D4 00104934 7F C5 F3 78 */ mr r5, r30 -/* 801079D8 00104938 38 80 00 01 */ li r4, 1 -/* 801079DC 0010493C 4B FF FC 65 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager -/* 801079E0 00104940 48 00 00 5C */ b lbl_80107A3C -lbl_801079E4: -/* 801079E4 00104944 2C 00 00 05 */ cmpwi r0, 5 -/* 801079E8 00104948 40 82 00 14 */ bne lbl_801079FC -/* 801079EC 0010494C 80 7D 00 4C */ lwz r3, 0x4c(r29) -/* 801079F0 00104950 7F E4 FB 78 */ mr r4, r31 -/* 801079F4 00104954 48 14 7D 7D */ bl ProcessUserInput__15CSaveGameScreenFRC11CFinalInput -/* 801079F8 00104958 48 00 00 44 */ b lbl_80107A3C -lbl_801079FC: -/* 801079FC 0010495C 2C 00 00 06 */ cmpwi r0, 6 -/* 80107A00 00104960 40 82 00 14 */ bne lbl_80107A14 -/* 80107A04 00104964 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 80107A08 00104968 7F E4 FB 78 */ mr r4, r31 -/* 80107A0C 0010496C 48 0E 7C 55 */ bl ProcessControllerInput__14CMessageScreenFRC11CFinalInput -/* 80107A10 00104970 48 00 00 2C */ b lbl_80107A3C -lbl_80107A14: -/* 80107A14 00104974 80 7D 00 48 */ lwz r3, 0x48(r29) -/* 80107A18 00104978 28 03 00 00 */ cmplwi r3, 0 -/* 80107A1C 0010497C 41 82 00 20 */ beq lbl_80107A3C -/* 80107A20 00104980 7F C4 F3 78 */ mr r4, r30 -/* 80107A24 00104984 7F E5 FB 78 */ mr r5, r31 -/* 80107A28 00104988 4B F6 B1 8D */ bl ProcessControllerInput__12CPauseScreenFRC13CStateManagerRC11CFinalInput -/* 80107A2C 0010498C 48 00 00 10 */ b lbl_80107A3C -lbl_80107A30: -/* 80107A30 00104990 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 80107A34 00104994 7F E4 FB 78 */ mr r4, r31 -/* 80107A38 00104998 4B F5 DE F1 */ bl ProcessControllerInput__9CSamusHudFRC11CFinalInput -lbl_80107A3C: -/* 80107A3C 0010499C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80107A40 001049A0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80107A44 001049A4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80107A48 001049A8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80107A4C 001049AC 7C 08 03 A6 */ mtlr r0 -/* 80107A50 001049B0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80107A54 001049B4 4E 80 00 20 */ blr - -.global RefreshHudOptions__17CInGameGuiManagerFv -RefreshHudOptions__17CInGameGuiManagerFv: -/* 80107A58 001049B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80107A5C 001049BC 7C 08 02 A6 */ mflr r0 -/* 80107A60 001049C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80107A64 001049C4 80 63 00 34 */ lwz r3, 0x34(r3) -/* 80107A68 001049C8 4B F6 57 B5 */ bl RefreshHudOptions__9CSamusHudFv -/* 80107A6C 001049CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80107A70 001049D0 7C 08 03 A6 */ mtlr r0 -/* 80107A74 001049D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80107A78 001049D8 4E 80 00 20 */ blr - -.global OnNewPauseScreenState__17CInGameGuiManagerFR18CArchitectureQueue -OnNewPauseScreenState__17CInGameGuiManagerFR18CArchitectureQueue: -/* 80107A7C 001049DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80107A80 001049E0 7C 08 02 A6 */ mflr r0 -/* 80107A84 001049E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80107A88 001049E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80107A8C 001049EC 93 C1 00 08 */ stw r30, 8(r1) -/* 80107A90 001049F0 7C 7E 1B 78 */ mr r30, r3 -/* 80107A94 001049F4 80 03 01 C0 */ lwz r0, 0x1c0(r3) -/* 80107A98 001049F8 2C 00 00 03 */ cmpwi r0, 3 -/* 80107A9C 001049FC 41 82 00 38 */ beq lbl_80107AD4 -/* 80107AA0 00104A00 2C 00 00 04 */ cmpwi r0, 4 -/* 80107AA4 00104A04 41 82 00 30 */ beq lbl_80107AD4 -/* 80107AA8 00104A08 80 7E 00 48 */ lwz r3, 0x48(r30) -/* 80107AAC 00104A0C 28 03 00 00 */ cmplwi r3, 0 -/* 80107AB0 00104A10 41 82 00 14 */ beq lbl_80107AC4 -/* 80107AB4 00104A14 80 83 00 08 */ lwz r4, 8(r3) -/* 80107AB8 00104A18 80 03 00 0C */ lwz r0, 0xc(r3) -/* 80107ABC 00104A1C 7C 04 00 00 */ cmpw r4, r0 -/* 80107AC0 00104A20 40 82 00 AC */ bne lbl_80107B6C -lbl_80107AC4: -/* 80107AC4 00104A24 38 80 00 01 */ li r4, 1 -/* 80107AC8 00104A28 4B F6 C3 C5 */ bl __dt__12CPauseScreenFv -/* 80107ACC 00104A2C 38 00 00 00 */ li r0, 0 -/* 80107AD0 00104A30 90 1E 00 48 */ stw r0, 0x48(r30) -lbl_80107AD4: -/* 80107AD4 00104A34 80 7E 01 C0 */ lwz r3, 0x1c0(r30) -/* 80107AD8 00104A38 38 00 00 00 */ li r0, 0 -/* 80107ADC 00104A3C 2C 03 00 00 */ cmpwi r3, 0 -/* 80107AE0 00104A40 41 80 00 10 */ blt lbl_80107AF0 -/* 80107AE4 00104A44 2C 03 00 01 */ cmpwi r3, 1 -/* 80107AE8 00104A48 41 81 00 08 */ bgt lbl_80107AF0 -/* 80107AEC 00104A4C 38 00 00 01 */ li r0, 1 -lbl_80107AF0: -/* 80107AF0 00104A50 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80107AF4 00104A54 41 82 00 70 */ beq lbl_80107B64 -/* 80107AF8 00104A58 83 FE 00 44 */ lwz r31, 0x44(r30) -/* 80107AFC 00104A5C 28 1F 00 00 */ cmplwi r31, 0 -/* 80107B00 00104A60 41 82 00 40 */ beq lbl_80107B40 -/* 80107B04 00104A64 34 1F 00 0C */ addic. r0, r31, 0xc -/* 80107B08 00104A68 41 82 00 18 */ beq lbl_80107B20 -/* 80107B0C 00104A6C 34 1F 00 0C */ addic. r0, r31, 0xc -/* 80107B10 00104A70 41 82 00 10 */ beq lbl_80107B20 -/* 80107B14 00104A74 38 7F 00 0C */ addi r3, r31, 0xc -/* 80107B18 00104A78 38 80 00 00 */ li r4, 0 -/* 80107B1C 00104A7C 48 23 93 25 */ bl __dt__6CTokenFv -lbl_80107B20: -/* 80107B20 00104A80 28 1F 00 00 */ cmplwi r31, 0 -/* 80107B24 00104A84 41 82 00 14 */ beq lbl_80107B38 -/* 80107B28 00104A88 41 82 00 10 */ beq lbl_80107B38 -/* 80107B2C 00104A8C 7F E3 FB 78 */ mr r3, r31 -/* 80107B30 00104A90 38 80 00 00 */ li r4, 0 -/* 80107B34 00104A94 48 23 93 0D */ bl __dt__6CTokenFv -lbl_80107B38: -/* 80107B38 00104A98 7F E3 FB 78 */ mr r3, r31 -/* 80107B3C 00104A9C 48 20 DD F5 */ bl Free__7CMemoryFPCv -lbl_80107B40: -/* 80107B40 00104AA0 38 00 00 00 */ li r0, 0 -/* 80107B44 00104AA4 7F C3 F3 78 */ mr r3, r30 -/* 80107B48 00104AA8 90 1E 00 44 */ stw r0, 0x44(r30) -/* 80107B4C 00104AAC 4B FF EF E1 */ bl TryReloadAreaTextures__17CInGameGuiManagerFv -/* 80107B50 00104AB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80107B54 00104AB4 41 82 00 18 */ beq lbl_80107B6C -/* 80107B58 00104AB8 48 24 D8 1D */ bl EnableTextureTimeout__6CModelFv -/* 80107B5C 00104ABC 7F C3 F3 78 */ mr r3, r30 -/* 80107B60 00104AC0 4B FF FE F9 */ bl RefreshHudOptions__17CInGameGuiManagerFv -lbl_80107B64: -/* 80107B64 00104AC4 80 1E 01 C0 */ lwz r0, 0x1c0(r30) -/* 80107B68 00104AC8 90 1E 01 BC */ stw r0, 0x1bc(r30) -lbl_80107B6C: -/* 80107B6C 00104ACC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80107B70 00104AD0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80107B74 00104AD4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80107B78 00104AD8 7C 08 03 A6 */ mtlr r0 -/* 80107B7C 00104ADC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80107B80 00104AE0 4E 80 00 20 */ blr - -.global UpdateAutoMapper__17CInGameGuiManagerFR13CStateManagerf -UpdateAutoMapper__17CInGameGuiManagerFR13CStateManagerf: -/* 80107B84 00104AE4 94 21 FB C0 */ stwu r1, -0x440(r1) -/* 80107B88 00104AE8 7C 08 02 A6 */ mflr r0 -/* 80107B8C 00104AEC 90 01 04 44 */ stw r0, 0x444(r1) -/* 80107B90 00104AF0 DB E1 04 30 */ stfd f31, 0x430(r1) -/* 80107B94 00104AF4 F3 E1 04 38 */ psq_st f31, 1080(r1), 0, qr0 -/* 80107B98 00104AF8 DB C1 04 20 */ stfd f30, 0x420(r1) -/* 80107B9C 00104AFC F3 C1 04 28 */ psq_st f30, 1064(r1), 0, qr0 -/* 80107BA0 00104B00 DB A1 04 10 */ stfd f29, 0x410(r1) -/* 80107BA4 00104B04 F3 A1 04 18 */ psq_st f29, 1048(r1), 0, qr0 -/* 80107BA8 00104B08 DB 81 04 00 */ stfd f28, 0x400(r1) -/* 80107BAC 00104B0C F3 81 04 08 */ psq_st f28, 1032(r1), 0, qr0 -/* 80107BB0 00104B10 93 E1 03 FC */ stw r31, 0x3fc(r1) -/* 80107BB4 00104B14 93 C1 03 F8 */ stw r30, 0x3f8(r1) -/* 80107BB8 00104B18 7C 7F 1B 78 */ mr r31, r3 -/* 80107BBC 00104B1C 80 63 00 38 */ lwz r3, 0x38(r3) -/* 80107BC0 00104B20 4B F9 00 C1 */ bl Update__11CAutoMapperFfRC13CStateManager -/* 80107BC4 00104B24 80 9F 01 44 */ lwz r4, 0x144(r31) -/* 80107BC8 00104B28 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 80107BCC 00104B2C 3B C4 00 74 */ addi r30, r4, 0x74 -/* 80107BD0 00104B30 48 1B D1 49 */ bl GetParent__10CGuiObjectFv -/* 80107BD4 00104B34 7C 64 1B 78 */ mr r4, r3 -/* 80107BD8 00104B38 7F C5 F3 78 */ mr r5, r30 -/* 80107BDC 00104B3C 38 61 03 98 */ addi r3, r1, 0x398 -/* 80107BE0 00104B40 38 84 00 34 */ addi r4, r4, 0x34 -/* 80107BE4 00104B44 48 20 AD 6D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80107BE8 00104B48 38 61 03 C8 */ addi r3, r1, 0x3c8 -/* 80107BEC 00104B4C 38 81 03 98 */ addi r4, r1, 0x398 -/* 80107BF0 00104B50 48 20 AF 85 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80107BF4 00104B54 38 61 00 30 */ addi r3, r1, 0x30 -/* 80107BF8 00104B58 38 81 03 C8 */ addi r4, r1, 0x3c8 -/* 80107BFC 00104B5C 48 20 A5 2D */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80107C00 00104B60 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80107C04 00104B64 38 61 00 20 */ addi r3, r1, 0x20 -/* 80107C08 00104B68 D0 1F 01 54 */ stfs f0, 0x154(r31) -/* 80107C0C 00104B6C 80 81 00 34 */ lwz r4, 0x34(r1) -/* 80107C10 00104B70 80 01 00 38 */ lwz r0, 0x38(r1) -/* 80107C14 00104B74 90 9F 01 58 */ stw r4, 0x158(r31) -/* 80107C18 00104B78 90 1F 01 5C */ stw r0, 0x15c(r31) -/* 80107C1C 00104B7C 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80107C20 00104B80 90 1F 01 60 */ stw r0, 0x160(r31) -/* 80107C24 00104B84 C0 41 03 F4 */ lfs f2, 0x3f4(r1) -/* 80107C28 00104B88 C0 21 03 E4 */ lfs f1, 0x3e4(r1) -/* 80107C2C 00104B8C C0 01 03 D4 */ lfs f0, 0x3d4(r1) -/* 80107C30 00104B90 D0 1F 01 64 */ stfs f0, 0x164(r31) -/* 80107C34 00104B94 D0 3F 01 68 */ stfs f1, 0x168(r31) -/* 80107C38 00104B98 D0 5F 01 6C */ stfs f2, 0x16c(r31) -/* 80107C3C 00104B9C 80 9F 01 4C */ lwz r4, 0x14c(r31) -/* 80107C40 00104BA0 3B C4 00 34 */ addi r30, r4, 0x34 -/* 80107C44 00104BA4 7F C4 F3 78 */ mr r4, r30 -/* 80107C48 00104BA8 48 20 A4 E1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80107C4C 00104BAC C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80107C50 00104BB0 C0 22 94 88 */ lfs f1, lbl_805AB1A8@sda21(r2) -/* 80107C54 00104BB4 D0 1F 01 70 */ stfs f0, 0x170(r31) -/* 80107C58 00104BB8 C0 42 94 84 */ lfs f2, lbl_805AB1A4@sda21(r2) -/* 80107C5C 00104BBC 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80107C60 00104BC0 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80107C64 00104BC4 C0 62 94 80 */ lfs f3, lbl_805AB1A0@sda21(r2) -/* 80107C68 00104BC8 90 7F 01 74 */ stw r3, 0x174(r31) -/* 80107C6C 00104BCC 90 1F 01 78 */ stw r0, 0x178(r31) -/* 80107C70 00104BD0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80107C74 00104BD4 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80107C78 00104BD8 80 6D A1 44 */ lwz r3, gpTweakAutoMapper@sda21(r13) -/* 80107C7C 00104BDC C1 2D 89 D0 */ lfs f9, lbl_805A7590@sda21(r13) -/* 80107C80 00104BE0 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80107C84 00104BE4 C0 DE 00 14 */ lfs f6, 0x14(r30) -/* 80107C88 00104BE8 C0 BE 00 24 */ lfs f5, 0x24(r30) -/* 80107C8C 00104BEC EC 09 00 32 */ fmuls f0, f9, f0 -/* 80107C90 00104BF0 C0 9E 00 0C */ lfs f4, 0xc(r30) -/* 80107C94 00104BF4 EC E9 01 B2 */ fmuls f7, f9, f6 -/* 80107C98 00104BF8 C1 1E 00 1C */ lfs f8, 0x1c(r30) -/* 80107C9C 00104BFC EC A9 01 72 */ fmuls f5, f9, f5 -/* 80107CA0 00104C00 C0 DE 00 2C */ lfs f6, 0x2c(r30) -/* 80107CA4 00104C04 C1 23 00 EC */ lfs f9, 0xec(r3) -/* 80107CA8 00104C08 EC 84 00 2A */ fadds f4, f4, f0 -/* 80107CAC 00104C0C C0 1E 00 08 */ lfs f0, 8(r30) -/* 80107CB0 00104C10 ED 08 38 2A */ fadds f8, f8, f7 -/* 80107CB4 00104C14 C0 FE 00 18 */ lfs f7, 0x18(r30) -/* 80107CB8 00104C18 EC C6 28 2A */ fadds f6, f6, f5 -/* 80107CBC 00104C1C EC 09 00 32 */ fmuls f0, f9, f0 -/* 80107CC0 00104C20 EC E9 01 F2 */ fmuls f7, f9, f7 -/* 80107CC4 00104C24 C0 BE 00 28 */ lfs f5, 0x28(r30) -/* 80107CC8 00104C28 EC 04 00 2A */ fadds f0, f4, f0 -/* 80107CCC 00104C2C EC 89 01 72 */ fmuls f4, f9, f5 -/* 80107CD0 00104C30 EC A8 38 2A */ fadds f5, f8, f7 -/* 80107CD4 00104C34 D0 1F 01 80 */ stfs f0, 0x180(r31) -/* 80107CD8 00104C38 EC 06 20 2A */ fadds f0, f6, f4 -/* 80107CDC 00104C3C D0 BF 01 84 */ stfs f5, 0x184(r31) -/* 80107CE0 00104C40 D0 1F 01 88 */ stfs f0, 0x188(r31) -/* 80107CE4 00104C44 80 FF 01 4C */ lwz r7, 0x14c(r31) -/* 80107CE8 00104C48 80 07 00 BC */ lwz r0, 0xbc(r7) -/* 80107CEC 00104C4C 80 C7 00 C0 */ lwz r6, 0xc0(r7) -/* 80107CF0 00104C50 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80107CF4 00104C54 80 A7 00 C4 */ lwz r5, 0xc4(r7) -/* 80107CF8 00104C58 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 80107CFC 00104C5C 80 87 00 C8 */ lwz r4, 0xc8(r7) -/* 80107D00 00104C60 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80107D04 00104C64 80 67 00 CC */ lwz r3, 0xcc(r7) -/* 80107D08 00104C68 80 07 00 D0 */ lwz r0, 0xd0(r7) -/* 80107D0C 00104C6C 90 C1 00 60 */ stw r6, 0x60(r1) -/* 80107D10 00104C70 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80107D14 00104C74 90 A1 00 64 */ stw r5, 0x64(r1) -/* 80107D18 00104C78 EC 23 00 32 */ fmuls f1, f3, f0 -/* 80107D1C 00104C7C 90 81 00 68 */ stw r4, 0x68(r1) -/* 80107D20 00104C80 90 61 00 6C */ stw r3, 0x6c(r1) -/* 80107D24 00104C84 90 01 00 70 */ stw r0, 0x70(r1) -/* 80107D28 00104C88 48 20 D5 99 */ bl SlowTangentR__5CMathFf -/* 80107D2C 00104C8C C0 02 94 8C */ lfs f0, lbl_805AB1AC@sda21(r2) -/* 80107D30 00104C90 38 80 00 00 */ li r4, 0 -/* 80107D34 00104C94 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) -/* 80107D38 00104C98 EF E1 00 24 */ fdivs f31, f1, f0 -/* 80107D3C 00104C9C 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80107D40 00104CA0 C0 25 00 E4 */ lfs f1, 0xe4(r5) -/* 80107D44 00104CA4 C0 05 00 E8 */ lfs f0, 0xe8(r5) -/* 80107D48 00104CA8 80 03 01 BC */ lwz r0, 0x1bc(r3) -/* 80107D4C 00104CAC 2C 00 00 00 */ cmpwi r0, 0 -/* 80107D50 00104CB0 EF DF 00 72 */ fmuls f30, f31, f1 -/* 80107D54 00104CB4 EF BF 00 32 */ fmuls f29, f31, f0 -/* 80107D58 00104CB8 41 82 00 14 */ beq lbl_80107D6C -/* 80107D5C 00104CBC 80 03 01 C0 */ lwz r0, 0x1c0(r3) -/* 80107D60 00104CC0 2C 00 00 00 */ cmpwi r0, 0 -/* 80107D64 00104CC4 41 82 00 08 */ beq lbl_80107D6C -/* 80107D68 00104CC8 38 80 00 01 */ li r4, 1 -lbl_80107D6C: -/* 80107D6C 00104CCC 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80107D70 00104CD0 41 82 00 B0 */ beq lbl_80107E20 -/* 80107D74 00104CD4 FC 20 F0 90 */ fmr f1, f30 -/* 80107D78 00104CD8 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) -/* 80107D7C 00104CDC FC 60 E8 90 */ fmr f3, f29 -/* 80107D80 00104CE0 38 61 02 E4 */ addi r3, r1, 0x2e4 -/* 80107D84 00104CE4 48 20 B4 85 */ bl Scale__12CTransform4fFfff -/* 80107D88 00104CE8 38 61 03 14 */ addi r3, r1, 0x314 -/* 80107D8C 00104CEC 38 9F 01 70 */ addi r4, r31, 0x170 -/* 80107D90 00104CF0 48 20 A2 FD */ bl BuildTransform__11CQuaternionCFv -/* 80107D94 00104CF4 38 61 03 38 */ addi r3, r1, 0x338 -/* 80107D98 00104CF8 38 81 03 14 */ addi r4, r1, 0x314 -/* 80107D9C 00104CFC 38 BF 01 80 */ addi r5, r31, 0x180 -/* 80107DA0 00104D00 48 20 B4 D9 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80107DA4 00104D04 7C 64 1B 78 */ mr r4, r3 -/* 80107DA8 00104D08 38 61 03 68 */ addi r3, r1, 0x368 -/* 80107DAC 00104D0C 38 A1 02 E4 */ addi r5, r1, 0x2e4 -/* 80107DB0 00104D10 48 20 AB A1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80107DB4 00104D14 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 80107DB8 00104D18 38 81 03 68 */ addi r4, r1, 0x368 -/* 80107DBC 00104D1C 48 1B C9 7D */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f -/* 80107DC0 00104D20 FC 20 F8 90 */ fmr f1, f31 -/* 80107DC4 00104D24 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) -/* 80107DC8 00104D28 FC 60 F8 90 */ fmr f3, f31 -/* 80107DCC 00104D2C 38 61 02 30 */ addi r3, r1, 0x230 -/* 80107DD0 00104D30 48 20 B4 39 */ bl Scale__12CTransform4fFfff -/* 80107DD4 00104D34 38 61 02 60 */ addi r3, r1, 0x260 -/* 80107DD8 00104D38 38 9F 01 70 */ addi r4, r31, 0x170 -/* 80107DDC 00104D3C 48 20 A2 B1 */ bl BuildTransform__11CQuaternionCFv -/* 80107DE0 00104D40 38 61 02 84 */ addi r3, r1, 0x284 -/* 80107DE4 00104D44 38 81 02 60 */ addi r4, r1, 0x260 -/* 80107DE8 00104D48 38 BF 01 80 */ addi r5, r31, 0x180 -/* 80107DEC 00104D4C 48 20 B4 8D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80107DF0 00104D50 7C 64 1B 78 */ mr r4, r3 -/* 80107DF4 00104D54 38 61 02 B4 */ addi r3, r1, 0x2b4 -/* 80107DF8 00104D58 38 A1 02 30 */ addi r5, r1, 0x230 -/* 80107DFC 00104D5C 48 20 AB 55 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80107E00 00104D60 38 7F 01 8C */ addi r3, r31, 0x18c -/* 80107E04 00104D64 38 81 02 B4 */ addi r4, r1, 0x2b4 -/* 80107E08 00104D68 48 20 AD 39 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80107E0C 00104D6C 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80107E10 00104D70 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 80107E14 00104D74 38 84 00 24 */ addi r4, r4, 0x24 -/* 80107E18 00104D78 48 1C 2A 55 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80107E1C 00104D7C 48 00 01 F4 */ b lbl_80108010 -lbl_80107E20: -/* 80107E20 00104D80 38 80 00 00 */ li r4, 0 -/* 80107E24 00104D84 4B F8 DF 01 */ bl IsInMapperState__11CAutoMapperCFQ211CAutoMapper16EAutoMapperState -/* 80107E28 00104D88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80107E2C 00104D8C 41 82 00 50 */ beq lbl_80107E7C -/* 80107E30 00104D90 38 61 01 DC */ addi r3, r1, 0x1dc -/* 80107E34 00104D94 38 9F 01 54 */ addi r4, r31, 0x154 -/* 80107E38 00104D98 48 20 A2 55 */ bl BuildTransform__11CQuaternionCFv -/* 80107E3C 00104D9C 38 61 02 00 */ addi r3, r1, 0x200 -/* 80107E40 00104DA0 38 81 01 DC */ addi r4, r1, 0x1dc -/* 80107E44 00104DA4 38 BF 01 64 */ addi r5, r31, 0x164 -/* 80107E48 00104DA8 48 20 B4 31 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80107E4C 00104DAC 7C 64 1B 78 */ mr r4, r3 -/* 80107E50 00104DB0 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 80107E54 00104DB4 48 1B C8 E5 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f -/* 80107E58 00104DB8 80 9F 01 48 */ lwz r4, 0x148(r31) -/* 80107E5C 00104DBC 38 7F 01 8C */ addi r3, r31, 0x18c -/* 80107E60 00104DC0 38 84 00 34 */ addi r4, r4, 0x34 -/* 80107E64 00104DC4 48 20 AC DD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80107E68 00104DC8 80 8D A1 44 */ lwz r4, gpTweakAutoMapper@sda21(r13) -/* 80107E6C 00104DCC 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 80107E70 00104DD0 38 84 00 38 */ addi r4, r4, 0x38 -/* 80107E74 00104DD4 48 1C 29 F9 */ bl SetColor__10CGuiWidgetFRC6CColor -/* 80107E78 00104DD8 48 00 01 98 */ b lbl_80108010 -lbl_80107E7C: -/* 80107E7C 00104DDC 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80107E80 00104DE0 80 03 01 C0 */ lwz r0, 0x1c0(r3) -/* 80107E84 00104DE4 2C 00 00 00 */ cmpwi r0, 0 -/* 80107E88 00104DE8 41 82 00 24 */ beq lbl_80107EAC -/* 80107E8C 00104DEC C0 23 01 C4 */ lfs f1, 0x1c4(r3) -/* 80107E90 00104DF0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 80107E94 00104DF4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80107E98 00104DF8 40 81 00 0C */ ble lbl_80107EA4 -/* 80107E9C 00104DFC C0 03 01 C8 */ lfs f0, 0x1c8(r3) -/* 80107EA0 00104E00 EC 00 08 24 */ fdivs f0, f0, f1 -lbl_80107EA4: -/* 80107EA4 00104E04 FF 80 00 90 */ fmr f28, f0 -/* 80107EA8 00104E08 48 00 00 24 */ b lbl_80107ECC -lbl_80107EAC: -/* 80107EAC 00104E0C C0 43 01 C4 */ lfs f2, 0x1c4(r3) -/* 80107EB0 00104E10 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80107EB4 00104E14 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80107EB8 00104E18 40 81 00 0C */ ble lbl_80107EC4 -/* 80107EBC 00104E1C C0 03 01 C8 */ lfs f0, 0x1c8(r3) -/* 80107EC0 00104E20 EC 20 10 24 */ fdivs f1, f0, f2 -lbl_80107EC4: -/* 80107EC4 00104E24 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) -/* 80107EC8 00104E28 EF 80 08 28 */ fsubs f28, f0, f1 -lbl_80107ECC: -/* 80107ECC 00104E2C FC 20 E0 90 */ fmr f1, f28 -/* 80107ED0 00104E30 38 61 00 10 */ addi r3, r1, 0x10 -/* 80107ED4 00104E34 38 9F 01 54 */ addi r4, r31, 0x154 -/* 80107ED8 00104E38 38 BF 01 70 */ addi r5, r31, 0x170 -/* 80107EDC 00104E3C 48 20 9E 1D */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf -/* 80107EE0 00104E40 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) -/* 80107EE4 00104E44 38 61 01 28 */ addi r3, r1, 0x128 -/* 80107EE8 00104E48 C0 A1 00 10 */ lfs f5, 0x10(r1) -/* 80107EEC 00104E4C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80107EF0 00104E50 EC 1F 10 28 */ fsubs f0, f31, f2 -/* 80107EF4 00104E54 C0 81 00 18 */ lfs f4, 0x18(r1) -/* 80107EF8 00104E58 ED 22 E0 28 */ fsubs f9, f2, f28 -/* 80107EFC 00104E5C C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80107F00 00104E60 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80107F04 00104E64 EC 3C 10 3A */ fmadds f1, f28, f0, f2 -/* 80107F08 00104E68 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 80107F0C 00104E6C FC 60 08 90 */ fmr f3, f1 -/* 80107F10 00104E70 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 80107F14 00104E74 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 80107F18 00104E78 C0 BF 01 84 */ lfs f5, 0x184(r31) -/* 80107F1C 00104E7C C0 1F 01 80 */ lfs f0, 0x180(r31) -/* 80107F20 00104E80 C0 9F 01 88 */ lfs f4, 0x188(r31) -/* 80107F24 00104E84 EC E5 07 32 */ fmuls f7, f5, f28 -/* 80107F28 00104E88 C1 1F 01 68 */ lfs f8, 0x168(r31) -/* 80107F2C 00104E8C EC 00 07 32 */ fmuls f0, f0, f28 -/* 80107F30 00104E90 EC A4 07 32 */ fmuls f5, f4, f28 -/* 80107F34 00104E94 C0 DF 01 6C */ lfs f6, 0x16c(r31) -/* 80107F38 00104E98 C0 9F 01 64 */ lfs f4, 0x164(r31) -/* 80107F3C 00104E9C EC E8 3A 7A */ fmadds f7, f8, f9, f7 -/* 80107F40 00104EA0 EC A6 2A 7A */ fmadds f5, f6, f9, f5 -/* 80107F44 00104EA4 EC 04 02 7A */ fmadds f0, f4, f9, f0 -/* 80107F48 00104EA8 D0 E1 00 44 */ stfs f7, 0x44(r1) -/* 80107F4C 00104EAC D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80107F50 00104EB0 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 80107F54 00104EB4 48 20 B2 B5 */ bl Scale__12CTransform4fFfff -/* 80107F58 00104EB8 38 61 01 58 */ addi r3, r1, 0x158 -/* 80107F5C 00104EBC 38 81 00 4C */ addi r4, r1, 0x4c -/* 80107F60 00104EC0 48 20 A1 2D */ bl BuildTransform__11CQuaternionCFv -/* 80107F64 00104EC4 38 61 01 7C */ addi r3, r1, 0x17c -/* 80107F68 00104EC8 38 81 01 58 */ addi r4, r1, 0x158 -/* 80107F6C 00104ECC 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80107F70 00104ED0 48 20 B3 09 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80107F74 00104ED4 7C 64 1B 78 */ mr r4, r3 -/* 80107F78 00104ED8 38 61 01 AC */ addi r3, r1, 0x1ac -/* 80107F7C 00104EDC 38 A1 01 28 */ addi r5, r1, 0x128 -/* 80107F80 00104EE0 48 20 A9 D1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80107F84 00104EE4 38 7F 01 8C */ addi r3, r31, 0x18c -/* 80107F88 00104EE8 38 81 01 AC */ addi r4, r1, 0x1ac -/* 80107F8C 00104EEC 48 20 AB B5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80107F90 00104EF0 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) -/* 80107F94 00104EF4 38 61 00 74 */ addi r3, r1, 0x74 -/* 80107F98 00104EF8 EC 3E 10 28 */ fsubs f1, f30, f2 -/* 80107F9C 00104EFC EC 1D 10 28 */ fsubs f0, f29, f2 -/* 80107FA0 00104F00 EC 3C 10 7A */ fmadds f1, f28, f1, f2 -/* 80107FA4 00104F04 EC 7C 10 3A */ fmadds f3, f28, f0, f2 -/* 80107FA8 00104F08 48 20 B2 61 */ bl Scale__12CTransform4fFfff -/* 80107FAC 00104F0C 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80107FB0 00104F10 38 81 00 4C */ addi r4, r1, 0x4c -/* 80107FB4 00104F14 48 20 A0 D9 */ bl BuildTransform__11CQuaternionCFv -/* 80107FB8 00104F18 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80107FBC 00104F1C 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 80107FC0 00104F20 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80107FC4 00104F24 48 20 B2 B5 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 80107FC8 00104F28 7C 64 1B 78 */ mr r4, r3 -/* 80107FCC 00104F2C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80107FD0 00104F30 38 A1 00 74 */ addi r5, r1, 0x74 -/* 80107FD4 00104F34 48 20 A9 7D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80107FD8 00104F38 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 80107FDC 00104F3C 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 80107FE0 00104F40 48 1B C7 59 */ bl SetO2WTransform__10CGuiObjectFRC12CTransform4f -/* 80107FE4 00104F44 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) -/* 80107FE8 00104F48 FC 20 E0 90 */ fmr f1, f28 -/* 80107FEC 00104F4C 38 61 00 08 */ addi r3, r1, 8 -/* 80107FF0 00104F50 38 85 00 38 */ addi r4, r5, 0x38 -/* 80107FF4 00104F54 38 A5 00 24 */ addi r5, r5, 0x24 -/* 80107FF8 00104F58 48 25 B2 B5 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80107FFC 00104F5C 80 01 00 08 */ lwz r0, 8(r1) -/* 80108000 00104F60 38 81 00 0C */ addi r4, r1, 0xc -/* 80108004 00104F64 90 01 00 0C */ stw r0, 0xc(r1) -/* 80108008 00104F68 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 8010800C 00104F6C 48 1C 28 61 */ bl SetColor__10CGuiWidgetFRC6CColor -lbl_80108010: -/* 80108010 00104F70 E3 E1 04 38 */ psq_l f31, 1080(r1), 0, qr0 -/* 80108014 00104F74 CB E1 04 30 */ lfd f31, 0x430(r1) -/* 80108018 00104F78 E3 C1 04 28 */ psq_l f30, 1064(r1), 0, qr0 -/* 8010801C 00104F7C CB C1 04 20 */ lfd f30, 0x420(r1) -/* 80108020 00104F80 E3 A1 04 18 */ psq_l f29, 1048(r1), 0, qr0 -/* 80108024 00104F84 CB A1 04 10 */ lfd f29, 0x410(r1) -/* 80108028 00104F88 E3 81 04 08 */ psq_l f28, 1032(r1), 0, qr0 -/* 8010802C 00104F8C CB 81 04 00 */ lfd f28, 0x400(r1) -/* 80108030 00104F90 83 E1 03 FC */ lwz r31, 0x3fc(r1) -/* 80108034 00104F94 80 01 04 44 */ lwz r0, 0x444(r1) -/* 80108038 00104F98 83 C1 03 F8 */ lwz r30, 0x3f8(r1) -/* 8010803C 00104F9C 7C 08 03 A6 */ mtlr r0 -/* 80108040 00104FA0 38 21 04 40 */ addi r1, r1, 0x440 -/* 80108044 00104FA4 4E 80 00 20 */ blr - -.global Update__17CInGameGuiManagerFRC13CStateManagerfR18CArchitectureQueueb -Update__17CInGameGuiManagerFRC13CStateManagerfR18CArchitectureQueueb: -/* 80108048 00104FA8 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8010804C 00104FAC 7C 08 02 A6 */ mflr r0 -/* 80108050 00104FB0 90 01 00 94 */ stw r0, 0x94(r1) -/* 80108054 00104FB4 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80108058 00104FB8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8010805C 00104FBC DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80108060 00104FC0 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80108064 00104FC4 BF 21 00 54 */ stmw r25, 0x54(r1) -/* 80108068 00104FC8 FF E0 08 90 */ fmr f31, f1 -/* 8010806C 00104FCC 7C 7C 1B 78 */ mr r28, r3 -/* 80108070 00104FD0 7C 9D 23 78 */ mr r29, r4 -/* 80108074 00104FD4 7C BE 2B 78 */ mr r30, r5 -/* 80108078 00104FD8 7C DF 33 78 */ mr r31, r6 -/* 8010807C 00104FDC 4B FF F3 91 */ bl EnsureStates__17CInGameGuiManagerFR13CStateManager -/* 80108080 00104FE0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80108084 00104FE4 C0 1C 01 D8 */ lfs f0, 0x1d8(r28) -/* 80108088 00104FE8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010808C 00104FEC 40 82 00 30 */ bne lbl_801080BC -/* 80108090 00104FF0 83 7C 01 DC */ lwz r27, 0x1dc(r28) -/* 80108094 00104FF4 28 1B 00 00 */ cmplwi r27, 0 -/* 80108098 00104FF8 41 82 00 1C */ beq lbl_801080B4 -/* 8010809C 00104FFC 41 82 00 10 */ beq lbl_801080AC -/* 801080A0 00105000 7F 63 DB 78 */ mr r3, r27 -/* 801080A4 00105004 38 80 00 00 */ li r4, 0 -/* 801080A8 00105008 48 23 8D 99 */ bl __dt__6CTokenFv -lbl_801080AC: -/* 801080AC 0010500C 7F 63 DB 78 */ mr r3, r27 -/* 801080B0 00105010 48 20 D8 81 */ bl Free__7CMemoryFPCv -lbl_801080B4: -/* 801080B4 00105014 38 00 00 00 */ li r0, 0 -/* 801080B8 00105018 90 1C 01 DC */ stw r0, 0x1dc(r28) -lbl_801080BC: -/* 801080BC 0010501C 80 7D 0E F4 */ lwz r3, 0xef4(r29) -/* 801080C0 00105020 80 9C 01 C4 */ lwz r4, 0x1c4(r28) -/* 801080C4 00105024 7C 03 20 40 */ cmplw r3, r4 -/* 801080C8 00105028 41 82 01 84 */ beq lbl_8010824C -/* 801080CC 0010502C 80 1C 01 DC */ lwz r0, 0x1dc(r28) -/* 801080D0 00105030 28 00 00 00 */ cmplwi r0, 0 -/* 801080D4 00105034 40 82 00 F4 */ bne lbl_801081C8 -/* 801080D8 00105038 90 7C 01 C4 */ stw r3, 0x1c4(r28) -/* 801080DC 0010503C 80 1D 0E F8 */ lwz r0, 0xef8(r29) -/* 801080E0 00105040 90 1C 01 C8 */ stw r0, 0x1c8(r28) -/* 801080E4 00105044 80 1D 0E FC */ lwz r0, 0xefc(r29) -/* 801080E8 00105048 90 1C 01 CC */ stw r0, 0x1cc(r28) -/* 801080EC 0010504C 80 1D 0F 00 */ lwz r0, 0xf00(r29) -/* 801080F0 00105050 90 1C 01 D0 */ stw r0, 0x1d0(r28) -/* 801080F4 00105054 80 1D 0F 04 */ lwz r0, 0xf04(r29) -/* 801080F8 00105058 90 1C 01 D4 */ stw r0, 0x1d4(r28) -/* 801080FC 0010505C 80 7C 01 C4 */ lwz r3, 0x1c4(r28) -/* 80108100 00105060 3C 03 00 01 */ addis r0, r3, 1 -/* 80108104 00105064 28 00 FF FF */ cmplwi r0, 0xffff -/* 80108108 00105068 41 82 01 DC */ beq lbl_801082E4 -/* 8010810C 0010506C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 80108110 00105070 3B 20 00 00 */ li r25, 0 -/* 80108114 00105074 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l -/* 80108118 00105078 38 60 00 0C */ li r3, 0xc -/* 8010811C 0010507C 38 84 02 AC */ addi r4, r4, 0x2ac -/* 80108120 00105080 38 A0 00 00 */ li r5, 0 -/* 80108124 00105084 48 20 D7 49 */ bl __nw__FUlPCcPCc -/* 80108128 00105088 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8010812C 0010508C 41 82 00 4C */ beq lbl_80108178 -/* 80108130 00105090 80 DC 01 C4 */ lwz r6, 0x1c4(r28) -/* 80108134 00105094 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 80108138 00105098 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8010813C 0010509C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80108140 001050A0 90 01 00 40 */ stw r0, 0x40(r1) -/* 80108144 001050A4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80108148 001050A8 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8010814C 001050AC 90 C1 00 44 */ stw r6, 0x44(r1) -/* 80108150 001050B0 81 84 00 00 */ lwz r12, 0(r4) -/* 80108154 001050B4 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80108158 001050B8 7D 89 03 A6 */ mtctr r12 -/* 8010815C 001050BC 4E 80 04 21 */ bctrl -/* 80108160 001050C0 7F 63 DB 78 */ mr r3, r27 -/* 80108164 001050C4 38 81 00 38 */ addi r4, r1, 0x38 -/* 80108168 001050C8 3B 20 00 01 */ li r25, 1 -/* 8010816C 001050CC 48 23 8D 3D */ bl __ct__6CTokenFRC6CToken -/* 80108170 001050D0 38 00 00 00 */ li r0, 0 -/* 80108174 001050D4 90 1B 00 08 */ stw r0, 8(r27) -lbl_80108178: -/* 80108178 001050D8 83 5C 01 DC */ lwz r26, 0x1dc(r28) -/* 8010817C 001050DC 28 1A 00 00 */ cmplwi r26, 0 -/* 80108180 001050E0 41 82 00 1C */ beq lbl_8010819C -/* 80108184 001050E4 41 82 00 10 */ beq lbl_80108194 -/* 80108188 001050E8 7F 43 D3 78 */ mr r3, r26 -/* 8010818C 001050EC 38 80 00 00 */ li r4, 0 -/* 80108190 001050F0 48 23 8C B1 */ bl __dt__6CTokenFv -lbl_80108194: -/* 80108194 001050F4 7F 43 D3 78 */ mr r3, r26 -/* 80108198 001050F8 48 20 D7 99 */ bl Free__7CMemoryFPCv -lbl_8010819C: -/* 8010819C 001050FC 7F 20 07 75 */ extsb. r0, r25 -/* 801081A0 00105100 93 7C 01 DC */ stw r27, 0x1dc(r28) -/* 801081A4 00105104 41 82 00 10 */ beq lbl_801081B4 -/* 801081A8 00105108 38 61 00 38 */ addi r3, r1, 0x38 -/* 801081AC 0010510C 38 80 FF FF */ li r4, -1 -/* 801081B0 00105110 48 23 8C 91 */ bl __dt__6CTokenFv -lbl_801081B4: -/* 801081B4 00105114 80 7C 01 DC */ lwz r3, 0x1dc(r28) -/* 801081B8 00105118 48 23 8B CD */ bl Lock__6CTokenFv -/* 801081BC 0010511C C0 02 94 98 */ lfs f0, lbl_805AB1B8@sda21(r2) -/* 801081C0 00105120 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) -/* 801081C4 00105124 48 00 01 20 */ b lbl_801082E4 -lbl_801081C8: -/* 801081C8 00105128 3C 03 00 01 */ addis r0, r3, 1 -/* 801081CC 0010512C 28 00 FF FF */ cmplwi r0, 0xffff -/* 801081D0 00105130 40 82 00 4C */ bne lbl_8010821C -/* 801081D4 00105134 38 61 00 30 */ addi r3, r1, 0x30 -/* 801081D8 00105138 38 80 00 00 */ li r4, 0 -/* 801081DC 0010513C 38 A0 00 00 */ li r5, 0 -/* 801081E0 00105140 48 20 C1 6D */ bl __ct__9CVector2iFii -/* 801081E4 00105144 7C 64 1B 78 */ mr r4, r3 -/* 801081E8 00105148 38 7D 0E F8 */ addi r3, r29, 0xef8 -/* 801081EC 0010514C 48 20 C0 C1 */ bl __eq__FRC9CVector2iRC9CVector2i -/* 801081F0 00105150 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801081F4 00105154 41 82 00 28 */ beq lbl_8010821C -/* 801081F8 00105158 80 7D 0E F8 */ lwz r3, 0xef8(r29) -/* 801081FC 0010515C 38 00 FF FF */ li r0, -1 -/* 80108200 00105160 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 80108204 00105164 90 7C 01 C8 */ stw r3, 0x1c8(r28) -/* 80108208 00105168 80 7D 0E FC */ lwz r3, 0xefc(r29) -/* 8010820C 0010516C 90 7C 01 CC */ stw r3, 0x1cc(r28) -/* 80108210 00105170 90 1C 01 C4 */ stw r0, 0x1c4(r28) -/* 80108214 00105174 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) -/* 80108218 00105178 48 00 00 CC */ b lbl_801082E4 -lbl_8010821C: -/* 8010821C 0010517C C0 3C 01 D8 */ lfs f1, 0x1d8(r28) -/* 80108220 00105180 C0 0D 89 FC */ lfs f0, lbl_805A75BC@sda21(r13) -/* 80108224 00105184 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 80108228 00105188 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8010822C 0010518C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80108230 00105190 40 80 00 0C */ bge lbl_8010823C -/* 80108234 00105194 38 61 00 24 */ addi r3, r1, 0x24 -/* 80108238 00105198 48 00 00 08 */ b lbl_80108240 -lbl_8010823C: -/* 8010823C 0010519C 38 6D 89 FC */ addi r3, r13, lbl_805A75BC@sda21 -lbl_80108240: -/* 80108240 001051A0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80108244 001051A4 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) -/* 80108248 001051A8 48 00 00 9C */ b lbl_801082E4 -lbl_8010824C: -/* 8010824C 001051AC 3C 04 00 01 */ addis r0, r4, 1 -/* 80108250 001051B0 28 00 FF FF */ cmplwi r0, 0xffff -/* 80108254 001051B4 41 82 00 90 */ beq lbl_801082E4 -/* 80108258 001051B8 83 5C 01 DC */ lwz r26, 0x1dc(r28) -/* 8010825C 001051BC 28 1A 00 00 */ cmplwi r26, 0 -/* 80108260 001051C0 41 82 00 84 */ beq lbl_801082E4 -/* 80108264 001051C4 80 1A 00 08 */ lwz r0, 8(r26) -/* 80108268 001051C8 28 00 00 00 */ cmplwi r0, 0 -/* 8010826C 001051CC 41 82 00 0C */ beq lbl_80108278 -/* 80108270 001051D0 38 60 00 01 */ li r3, 1 -/* 80108274 001051D4 48 00 00 3C */ b lbl_801082B0 -lbl_80108278: -/* 80108278 001051D8 88 1A 00 04 */ lbz r0, 4(r26) -/* 8010827C 001051DC 28 00 00 00 */ cmplwi r0, 0 -/* 80108280 001051E0 41 82 00 2C */ beq lbl_801082AC -/* 80108284 001051E4 80 7A 00 00 */ lwz r3, 0(r26) -/* 80108288 001051E8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8010828C 001051EC 28 00 00 00 */ cmplwi r0, 0 -/* 80108290 001051F0 41 82 00 1C */ beq lbl_801082AC -/* 80108294 001051F4 7F 43 D3 78 */ mr r3, r26 -/* 80108298 001051F8 48 23 8B 75 */ bl GetObj__6CTokenFv -/* 8010829C 001051FC 80 03 00 04 */ lwz r0, 4(r3) -/* 801082A0 00105200 38 60 00 01 */ li r3, 1 -/* 801082A4 00105204 90 1A 00 08 */ stw r0, 8(r26) -/* 801082A8 00105208 48 00 00 08 */ b lbl_801082B0 -lbl_801082AC: -/* 801082AC 0010520C 38 60 00 00 */ li r3, 0 -lbl_801082B0: -/* 801082B0 00105210 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801082B4 00105214 41 82 00 30 */ beq lbl_801082E4 -/* 801082B8 00105218 C0 3C 01 D8 */ lfs f1, 0x1d8(r28) -/* 801082BC 0010521C C0 0D 8A 00 */ lfs f0, lbl_805A75C0@sda21(r13) -/* 801082C0 00105220 EC 21 F8 2A */ fadds f1, f1, f31 -/* 801082C4 00105224 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801082C8 00105228 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 801082CC 0010522C 40 80 00 0C */ bge lbl_801082D8 -/* 801082D0 00105230 38 61 00 20 */ addi r3, r1, 0x20 -/* 801082D4 00105234 48 00 00 08 */ b lbl_801082DC -lbl_801082D8: -/* 801082D8 00105238 38 6D 8A 00 */ addi r3, r13, lbl_805A75C0@sda21 -lbl_801082DC: -/* 801082DC 0010523C C0 03 00 00 */ lfs f0, 0(r3) -/* 801082E0 00105240 D0 1C 01 D8 */ stfs f0, 0x1d8(r28) -lbl_801082E4: -/* 801082E4 00105244 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 801082E8 00105248 41 82 00 C0 */ beq lbl_801083A8 -/* 801082EC 0010524C 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 801082F0 00105250 C0 1C 01 F4 */ lfs f0, 0x1f4(r28) -/* 801082F4 00105254 C3 C3 07 4C */ lfs f30, 0x74c(r3) -/* 801082F8 00105258 FC 1E 00 00 */ fcmpu cr0, f30, f0 -/* 801082FC 0010525C 41 82 00 A8 */ beq lbl_801083A4 -/* 80108300 00105260 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 80108304 00105264 7F A4 EB 78 */ mr r4, r29 -/* 80108308 00105268 4B F0 38 11 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8010830C 0010526C 7C 64 1B 78 */ mr r4, r3 -/* 80108310 00105270 38 61 00 28 */ addi r3, r1, 0x28 -/* 80108314 00105274 4B FA 61 61 */ bl "__ct__32TCastToPtr<18CFirstPersonCamera>FR7CEntity" -/* 80108318 00105278 80 03 00 04 */ lwz r0, 4(r3) -/* 8010831C 0010527C 28 00 00 00 */ cmplwi r0, 0 -/* 80108320 00105280 41 82 00 84 */ beq lbl_801083A4 -/* 80108324 00105284 C0 5C 01 F4 */ lfs f2, 0x1f4(r28) -/* 80108328 00105288 C0 02 94 80 */ lfs f0, lbl_805AB1A0@sda21(r2) -/* 8010832C 0010528C EC 3E 10 28 */ fsubs f1, f30, f2 -/* 80108330 00105290 FC 20 0A 10 */ fabs f1, f1 -/* 80108334 00105294 FC 20 08 18 */ frsp f1, f1 -/* 80108338 00105298 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010833C 0010529C 40 80 00 68 */ bge lbl_801083A4 -/* 80108340 001052A0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 80108344 001052A4 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 80108348 001052A8 40 82 00 2C */ bne lbl_80108374 -/* 8010834C 001052AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80108350 001052B0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80108354 001052B4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80108358 001052B8 38 80 05 79 */ li r4, 0x579 -/* 8010835C 001052BC 38 A0 00 7F */ li r5, 0x7f -/* 80108360 001052C0 38 C0 00 40 */ li r6, 0x40 -/* 80108364 001052C4 38 E0 00 00 */ li r7, 0 -/* 80108368 001052C8 39 20 00 00 */ li r9, 0 -/* 8010836C 001052CC 48 1E 1A 09 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80108370 001052D0 48 00 00 34 */ b lbl_801083A4 -lbl_80108374: -/* 80108374 001052D4 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) -/* 80108378 001052D8 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 8010837C 001052DC 40 82 00 28 */ bne lbl_801083A4 -/* 80108380 001052E0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80108384 001052E4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80108388 001052E8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8010838C 001052EC 38 80 05 78 */ li r4, 0x578 -/* 80108390 001052F0 38 A0 00 7F */ li r5, 0x7f -/* 80108394 001052F4 38 C0 00 40 */ li r6, 0x40 -/* 80108398 001052F8 38 E0 00 00 */ li r7, 0 -/* 8010839C 001052FC 39 20 00 00 */ li r9, 0 -/* 801083A0 00105300 48 1E 19 D5 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_801083A4: -/* 801083A4 00105304 D3 DC 01 F4 */ stfs f30, 0x1f4(r28) -lbl_801083A8: -/* 801083A8 00105308 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 801083AC 0010530C 41 82 00 14 */ beq lbl_801083C0 -/* 801083B0 00105310 FC 20 F8 90 */ fmr f1, f31 -/* 801083B4 00105314 7F A4 EB 78 */ mr r4, r29 -/* 801083B8 00105318 38 7C 00 20 */ addi r3, r28, 0x20 -/* 801083BC 0010531C 48 06 D7 F5 */ bl Update__20CFaceplateDecorationFfRC13CStateManager -lbl_801083C0: -/* 801083C0 00105320 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 801083C4 00105324 41 82 00 18 */ beq lbl_801083DC -/* 801083C8 00105328 FC 20 F8 90 */ fmr f1, f31 -/* 801083CC 0010532C 80 7C 00 40 */ lwz r3, 0x40(r28) -/* 801083D0 00105330 7F A4 EB 78 */ mr r4, r29 -/* 801083D4 00105334 38 BC 00 1C */ addi r5, r28, 0x1c -/* 801083D8 00105338 48 05 2E A5 */ bl Update__20CSamusFaceReflectionFfRC13CStateManagerR9CRandom16 -lbl_801083DC: -/* 801083DC 0010533C 80 1C 01 F0 */ lwz r0, 0x1f0(r28) -/* 801083E0 00105340 28 00 00 00 */ cmplwi r0, 0 -/* 801083E4 00105344 41 82 00 1C */ beq lbl_80108400 -/* 801083E8 00105348 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 801083EC 0010534C 41 82 00 14 */ beq lbl_80108400 -/* 801083F0 00105350 FC 20 F8 90 */ fmr f1, f31 -/* 801083F4 00105354 80 7C 00 30 */ lwz r3, 0x30(r28) -/* 801083F8 00105358 7F A4 EB 78 */ mr r4, r29 -/* 801083FC 0010535C 48 00 B7 C9 */ bl Update__12CPlayerVisorFfRC13CStateManager -lbl_80108400: -/* 80108400 00105360 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80108404 00105364 41 82 00 44 */ beq lbl_80108448 -/* 80108408 00105368 88 1C 01 F8 */ lbz r0, 0x1f8(r28) -/* 8010840C 0010536C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80108410 00105370 41 82 00 38 */ beq lbl_80108448 -/* 80108414 00105374 80 FC 01 EC */ lwz r7, 0x1ec(r28) -/* 80108418 00105378 FC 20 F8 90 */ fmr f1, f31 -/* 8010841C 0010537C 80 DC 01 E4 */ lwz r6, 0x1e4(r28) -/* 80108420 00105380 7F A4 EB 78 */ mr r4, r29 -/* 80108424 00105384 7C A7 00 D0 */ neg r5, r7 -/* 80108428 00105388 80 7C 00 34 */ lwz r3, 0x34(r28) -/* 8010842C 0010538C 7C 06 00 D0 */ neg r0, r6 -/* 80108430 00105390 7C A7 3B 78 */ or r7, r5, r7 -/* 80108434 00105394 80 BC 01 E0 */ lwz r5, 0x1e0(r28) -/* 80108438 00105398 7C 00 33 78 */ or r0, r0, r6 -/* 8010843C 0010539C 54 E6 0F FE */ srwi r6, r7, 0x1f -/* 80108440 001053A0 54 07 0F FE */ srwi r7, r0, 0x1f -/* 80108444 001053A4 4B F5 DF 3D */ bl Update__9CSamusHudFfRC13CStateManagerUibb -lbl_80108448: -/* 80108448 001053A8 80 1C 01 E8 */ lwz r0, 0x1e8(r28) -/* 8010844C 001053AC 28 00 00 00 */ cmplwi r0, 0 -/* 80108450 001053B0 41 82 00 14 */ beq lbl_80108464 -/* 80108454 001053B4 FC 20 F8 90 */ fmr f1, f31 -/* 80108458 001053B8 7F 83 E3 78 */ mr r3, r28 -/* 8010845C 001053BC 7F A4 EB 78 */ mr r4, r29 -/* 80108460 001053C0 4B FF F7 25 */ bl UpdateAutoMapper__17CInGameGuiManagerFR13CStateManagerf -lbl_80108464: -/* 80108464 001053C4 80 1C 01 40 */ lwz r0, 0x140(r28) -/* 80108468 001053C8 FC 20 F8 90 */ fmr f1, f31 -/* 8010846C 001053CC 80 7C 00 3C */ lwz r3, 0x3c(r28) -/* 80108470 001053D0 7F A4 EB 78 */ mr r4, r29 -/* 80108474 001053D4 7C 00 00 34 */ cntlzw r0, r0 -/* 80108478 001053D8 54 05 D9 7E */ srwi r5, r0, 5 -/* 8010847C 001053DC 48 15 53 F9 */ bl Update__16CPauseScreenBlurfRC13CStateManagerb -/* 80108480 001053E0 80 7C 00 4C */ lwz r3, 0x4c(r28) -/* 80108484 001053E4 28 03 00 00 */ cmplwi r3, 0 -/* 80108488 001053E8 41 82 00 3C */ beq lbl_801084C4 -/* 8010848C 001053EC FC 20 F8 90 */ fmr f1, f31 -/* 80108490 001053F0 48 14 73 0D */ bl Update__15CSaveGameScreenFf -/* 80108494 001053F4 2C 03 00 00 */ cmpwi r3, 0 -/* 80108498 001053F8 41 82 00 6C */ beq lbl_80108504 -/* 8010849C 001053FC 20 63 00 01 */ subfic r3, r3, 1 -/* 801084A0 00105400 88 1C 01 F8 */ lbz r0, 0x1f8(r28) -/* 801084A4 00105404 7C 64 00 34 */ cntlzw r4, r3 -/* 801084A8 00105408 7F A5 EB 78 */ mr r5, r29 -/* 801084AC 0010540C 50 80 FE F6 */ rlwimi r0, r4, 0x1f, 0x1b, 0x1b -/* 801084B0 00105410 7F 83 E3 78 */ mr r3, r28 -/* 801084B4 00105414 98 1C 01 F8 */ stb r0, 0x1f8(r28) -/* 801084B8 00105418 38 80 00 01 */ li r4, 1 -/* 801084BC 0010541C 4B FF F1 85 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager -/* 801084C0 00105420 48 00 00 44 */ b lbl_80108504 -lbl_801084C4: -/* 801084C4 00105424 80 1C 00 44 */ lwz r0, 0x44(r28) -/* 801084C8 00105428 28 00 00 00 */ cmplwi r0, 0 -/* 801084CC 0010542C 41 82 00 38 */ beq lbl_80108504 -/* 801084D0 00105430 80 7C 00 3C */ lwz r3, 0x3c(r28) -/* 801084D4 00105434 48 15 50 E1 */ bl GetBlurAmt__16CPauseScreenBlurCFv -/* 801084D8 00105438 FC 00 08 90 */ fmr f0, f1 -/* 801084DC 0010543C 80 7C 00 44 */ lwz r3, 0x44(r28) -/* 801084E0 00105440 FC 20 F8 90 */ fmr f1, f31 -/* 801084E4 00105444 FC 40 00 90 */ fmr f2, f0 -/* 801084E8 00105448 48 0E 72 BD */ bl Update__14CMessageScreenFf -/* 801084EC 0010544C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801084F0 00105450 40 82 00 14 */ bne lbl_80108504 -/* 801084F4 00105454 7F 83 E3 78 */ mr r3, r28 -/* 801084F8 00105458 7F A5 EB 78 */ mr r5, r29 -/* 801084FC 0010545C 38 80 00 01 */ li r4, 1 -/* 80108500 00105460 4B FF F1 41 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager -lbl_80108504: -/* 80108504 00105464 80 7C 00 48 */ lwz r3, 0x48(r28) -/* 80108508 00105468 28 03 00 00 */ cmplwi r3, 0 -/* 8010850C 0010546C 41 82 00 6C */ beq lbl_80108578 -/* 80108510 00105470 FC 20 F8 90 */ fmr f1, f31 -/* 80108514 00105474 7F A4 EB 78 */ mr r4, r29 -/* 80108518 00105478 7F C6 F3 78 */ mr r6, r30 -/* 8010851C 0010547C 38 BC 00 1C */ addi r5, r28, 0x1c -/* 80108520 00105480 4B F6 AF ED */ bl Update__12CPauseScreenFfRC13CStateManagerR9CRandom16R18CArchitectureQueue -/* 80108524 00105484 80 7C 01 BC */ lwz r3, 0x1bc(r28) -/* 80108528 00105488 80 1C 01 C0 */ lwz r0, 0x1c0(r28) -/* 8010852C 0010548C 7C 03 00 00 */ cmpw r3, r0 -/* 80108530 00105490 40 82 00 48 */ bne lbl_80108578 -/* 80108534 00105494 80 7C 00 48 */ lwz r3, 0x48(r28) -/* 80108538 00105498 4B F6 A5 51 */ bl ShouldSwitchToMapScreen__12CPauseScreenCFv -/* 8010853C 0010549C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80108540 001054A0 41 82 00 18 */ beq lbl_80108558 -/* 80108544 001054A4 7F 83 E3 78 */ mr r3, r28 -/* 80108548 001054A8 7F A5 EB 78 */ mr r5, r29 -/* 8010854C 001054AC 38 80 00 02 */ li r4, 2 -/* 80108550 001054B0 4B FF F0 F1 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager -/* 80108554 001054B4 48 00 00 24 */ b lbl_80108578 -lbl_80108558: -/* 80108558 001054B8 80 7C 00 48 */ lwz r3, 0x48(r28) -/* 8010855C 001054BC 4B F6 A4 CD */ bl ShouldSwitchToInGame__12CPauseScreenCFv -/* 80108560 001054C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80108564 001054C4 41 82 00 14 */ beq lbl_80108578 -/* 80108568 001054C8 7F 83 E3 78 */ mr r3, r28 -/* 8010856C 001054CC 7F A5 EB 78 */ mr r5, r29 -/* 80108570 001054D0 38 80 00 01 */ li r4, 1 -/* 80108574 001054D4 4B FF F0 CD */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager -lbl_80108578: -/* 80108578 001054D8 80 7C 00 34 */ lwz r3, 0x34(r28) -/* 8010857C 001054DC 4B F5 DD AD */ bl Touch__9CSamusHudCFv -/* 80108580 001054E0 80 7C 00 30 */ lwz r3, 0x30(r28) -/* 80108584 001054E4 48 00 B5 3D */ bl Touch__12CPlayerVisorCFv -/* 80108588 001054E8 80 7C 00 34 */ lwz r3, 0x34(r28) -/* 8010858C 001054EC 4B F5 D3 95 */ bl GetTargetingManager__9CSamusHudCFv -/* 80108590 001054F0 4B FB 44 B1 */ bl Touch__17CTargetingManagerCFv -/* 80108594 001054F4 80 7C 01 BC */ lwz r3, 0x1bc(r28) -/* 80108598 001054F8 80 1C 01 C0 */ lwz r0, 0x1c0(r28) -/* 8010859C 001054FC 7C 03 00 00 */ cmpw r3, r0 -/* 801085A0 00105500 41 82 00 70 */ beq lbl_80108610 -/* 801085A4 00105504 80 7C 01 C0 */ lwz r3, 0x1c0(r28) -/* 801085A8 00105508 38 00 00 00 */ li r0, 0 -/* 801085AC 0010550C 2C 03 00 00 */ cmpwi r3, 0 -/* 801085B0 00105510 41 80 00 10 */ blt lbl_801085C0 -/* 801085B4 00105514 2C 03 00 01 */ cmpwi r3, 1 -/* 801085B8 00105518 41 81 00 08 */ bgt lbl_801085C0 -/* 801085BC 0010551C 38 00 00 01 */ li r0, 1 -lbl_801085C0: -/* 801085C0 00105520 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 801085C4 00105524 41 82 00 0C */ beq lbl_801085D0 -/* 801085C8 00105528 7F 83 E3 78 */ mr r3, r28 -/* 801085CC 0010552C 4B FF E5 61 */ bl TryReloadAreaTextures__17CInGameGuiManagerFv -lbl_801085D0: -/* 801085D0 00105530 80 9C 00 38 */ lwz r4, 0x38(r28) -/* 801085D4 00105534 80 64 01 BC */ lwz r3, 0x1bc(r4) -/* 801085D8 00105538 80 04 01 C0 */ lwz r0, 0x1c0(r4) -/* 801085DC 0010553C 7C 03 00 00 */ cmpw r3, r0 -/* 801085E0 00105540 41 82 00 10 */ beq lbl_801085F0 -/* 801085E4 00105544 80 1C 01 E8 */ lwz r0, 0x1e8(r28) -/* 801085E8 00105548 28 00 00 00 */ cmplwi r0, 0 -/* 801085EC 0010554C 40 82 00 24 */ bne lbl_80108610 -lbl_801085F0: -/* 801085F0 00105550 80 9C 00 3C */ lwz r4, 0x3c(r28) -/* 801085F4 00105554 80 64 00 10 */ lwz r3, 0x10(r4) -/* 801085F8 00105558 80 04 00 14 */ lwz r0, 0x14(r4) -/* 801085FC 0010555C 7C 03 00 00 */ cmpw r3, r0 -/* 80108600 00105560 40 82 00 10 */ bne lbl_80108610 -/* 80108604 00105564 7F 83 E3 78 */ mr r3, r28 -/* 80108608 00105568 7F C4 F3 78 */ mr r4, r30 -/* 8010860C 0010556C 4B FF F4 71 */ bl OnNewPauseScreenState__17CInGameGuiManagerFR18CArchitectureQueue -lbl_80108610: -/* 80108610 00105570 FC 20 F8 90 */ fmr f1, f31 -/* 80108614 00105574 38 7C 00 F8 */ addi r3, r28, 0xf8 -/* 80108618 00105578 4B FE 4C 05 */ bl Update__17CCameraFilterPassFf -/* 8010861C 0010557C 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 80108620 00105580 4B F0 22 E1 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 80108624 00105584 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80108628 00105588 41 82 00 14 */ beq lbl_8010863C -/* 8010862C 0010558C C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) -/* 80108630 00105590 D0 1D 0F 2C */ stfs f0, 0xf2c(r29) -/* 80108634 00105594 D0 1D 0F 30 */ stfs f0, 0xf30(r29) -/* 80108638 00105598 48 00 00 7C */ b lbl_801086B4 -lbl_8010863C: -/* 8010863C 0010559C 80 7C 00 30 */ lwz r3, 0x30(r28) -/* 80108640 001055A0 7F A4 EB 78 */ mr r4, r29 -/* 80108644 001055A4 48 00 BD 81 */ bl GetDesiredViewportScaleX__12CPlayerVisorCFRC13CStateManager -/* 80108648 001055A8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8010864C 001055AC FC 00 08 18 */ frsp f0, f1 -/* 80108650 001055B0 80 7C 00 34 */ lwz r3, 0x34(r28) -/* 80108654 001055B4 C0 23 05 00 */ lfs f1, 0x500(r3) -/* 80108658 001055B8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8010865C 001055BC D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80108660 001055C0 40 80 00 0C */ bge lbl_8010866C -/* 80108664 001055C4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80108668 001055C8 48 00 00 08 */ b lbl_80108670 -lbl_8010866C: -/* 8010866C 001055CC 38 61 00 14 */ addi r3, r1, 0x14 -lbl_80108670: -/* 80108670 001055D0 C3 C3 00 00 */ lfs f30, 0(r3) -/* 80108674 001055D4 7F A4 EB 78 */ mr r4, r29 -/* 80108678 001055D8 80 7C 00 30 */ lwz r3, 0x30(r28) -/* 8010867C 001055DC 48 00 BD 01 */ bl GetDesiredViewportScaleY__12CPlayerVisorCFRC13CStateManager -/* 80108680 001055E0 D0 21 00 08 */ stfs f1, 8(r1) -/* 80108684 001055E4 FC 00 08 18 */ frsp f0, f1 -/* 80108688 001055E8 80 7C 00 34 */ lwz r3, 0x34(r28) -/* 8010868C 001055EC C0 23 05 04 */ lfs f1, 0x504(r3) -/* 80108690 001055F0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80108694 001055F4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80108698 001055F8 40 80 00 0C */ bge lbl_801086A4 -/* 8010869C 001055FC 38 61 00 08 */ addi r3, r1, 8 -/* 801086A0 00105600 48 00 00 08 */ b lbl_801086A8 -lbl_801086A4: -/* 801086A4 00105604 38 61 00 0C */ addi r3, r1, 0xc -lbl_801086A8: -/* 801086A8 00105608 C0 03 00 00 */ lfs f0, 0(r3) -/* 801086AC 0010560C D3 DD 0F 2C */ stfs f30, 0xf2c(r29) -/* 801086B0 00105610 D0 1D 0F 30 */ stfs f0, 0xf30(r29) -lbl_801086B4: -/* 801086B4 00105614 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 801086B8 00105618 88 1C 01 F8 */ lbz r0, 0x1f8(r28) -/* 801086BC 0010561C 80 63 00 00 */ lwz r3, 0(r3) -/* 801086C0 00105620 88 63 00 00 */ lbz r3, 0(r3) -/* 801086C4 00105624 50 60 FE 72 */ rlwimi r0, r3, 0x1f, 0x19, 0x19 -/* 801086C8 00105628 98 1C 01 F8 */ stb r0, 0x1f8(r28) -/* 801086CC 0010562C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 801086D0 00105630 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 801086D4 00105634 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 801086D8 00105638 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 801086DC 0010563C BB 21 00 54 */ lmw r25, 0x54(r1) -/* 801086E0 00105640 80 01 00 94 */ lwz r0, 0x94(r1) -/* 801086E4 00105644 7C 08 03 A6 */ mtlr r0 -/* 801086E8 00105648 38 21 00 90 */ addi r1, r1, 0x90 -/* 801086EC 0010564C 4E 80 00 20 */ blr - -.global PreDraw__17CInGameGuiManagerFR13CStateManagerb -PreDraw__17CInGameGuiManagerFR13CStateManagerb: -/* 801086F0 00105650 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801086F4 00105654 7C 08 02 A6 */ mflr r0 -/* 801086F8 00105658 90 01 00 24 */ stw r0, 0x24(r1) -/* 801086FC 0010565C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80108700 00105660 7C BF 2B 78 */ mr r31, r5 -/* 80108704 00105664 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80108708 00105668 7C 9E 23 78 */ mr r30, r4 -/* 8010870C 0010566C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80108710 00105670 7C 7D 1B 78 */ mr r29, r3 -/* 80108714 00105674 80 63 00 48 */ lwz r3, 0x48(r3) -/* 80108718 00105678 28 03 00 00 */ cmplwi r3, 0 -/* 8010871C 0010567C 41 82 00 08 */ beq lbl_80108724 -/* 80108720 00105680 4B F6 AD 85 */ bl PreDraw__12CPauseScreenFv -lbl_80108724: -/* 80108724 00105684 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80108728 00105688 41 82 00 10 */ beq lbl_80108738 -/* 8010872C 0010568C 80 7D 00 40 */ lwz r3, 0x40(r29) -/* 80108730 00105690 7F C4 F3 78 */ mr r4, r30 -/* 80108734 00105694 48 05 2A A5 */ bl PreDraw__20CSamusFaceReflectionFRC13CStateManager -lbl_80108738: -/* 80108738 00105698 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8010873C 0010569C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80108740 001056A0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80108744 001056A4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80108748 001056A8 7C 08 03 A6 */ mtlr r0 -/* 8010874C 001056AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80108750 001056B0 4E 80 00 20 */ blr - -.global Draw__17CInGameGuiManagerCFRC13CStateManager -Draw__17CInGameGuiManagerCFRC13CStateManager: -/* 80108754 001056B4 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 80108758 001056B8 7C 08 02 A6 */ mflr r0 -/* 8010875C 001056BC 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 80108760 001056C0 DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 80108764 001056C4 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 80108768 001056C8 DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 8010876C 001056CC F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 80108770 001056D0 DB A1 01 A0 */ stfd f29, 0x1a0(r1) -/* 80108774 001056D4 F3 A1 01 A8 */ psq_st f29, 424(r1), 0, qr0 -/* 80108778 001056D8 DB 81 01 90 */ stfd f28, 0x190(r1) -/* 8010877C 001056DC F3 81 01 98 */ psq_st f28, 408(r1), 0, qr0 -/* 80108780 001056E0 DB 61 01 80 */ stfd f27, 0x180(r1) -/* 80108784 001056E4 F3 61 01 88 */ psq_st f27, 392(r1), 0, qr0 -/* 80108788 001056E8 DB 41 01 70 */ stfd f26, 0x170(r1) -/* 8010878C 001056EC F3 41 01 78 */ psq_st f26, 376(r1), 0, qr0 -/* 80108790 001056F0 DB 21 01 60 */ stfd f25, 0x160(r1) -/* 80108794 001056F4 F3 21 01 68 */ psq_st f25, 360(r1), 0, qr0 -/* 80108798 001056F8 DB 01 01 50 */ stfd f24, 0x150(r1) -/* 8010879C 001056FC F3 01 01 58 */ psq_st f24, 344(r1), 0, qr0 -/* 801087A0 00105700 BF 21 01 34 */ stmw r25, 0x134(r1) -/* 801087A4 00105704 7C 7F 1B 78 */ mr r31, r3 -/* 801087A8 00105708 7C 9E 23 78 */ mr r30, r4 -/* 801087AC 0010570C 4B FF F0 41 */ bl GetIsGameDraw__17CInGameGuiManagerCFv -/* 801087B0 00105710 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801087B4 00105714 40 82 00 18 */ bne lbl_801087CC -/* 801087B8 00105718 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801087BC 0010571C 38 80 00 01 */ li r4, 1 -/* 801087C0 00105720 88 03 03 18 */ lbz r0, 0x318(r3) -/* 801087C4 00105724 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 801087C8 00105728 98 03 03 18 */ stb r0, 0x318(r3) -lbl_801087CC: -/* 801087CC 0010572C C0 3F 01 D8 */ lfs f1, 0x1d8(r31) -/* 801087D0 00105730 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 801087D4 00105734 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801087D8 00105738 40 81 00 F8 */ ble lbl_801088D0 -/* 801087DC 0010573C 80 7F 01 DC */ lwz r3, 0x1dc(r31) -/* 801087E0 00105740 83 63 00 08 */ lwz r27, 8(r3) -/* 801087E4 00105744 28 1B 00 00 */ cmplwi r27, 0 -/* 801087E8 00105748 41 82 00 E8 */ beq lbl_801088D0 -/* 801087EC 0010574C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801087F0 00105750 38 80 00 00 */ li r4, 0 -/* 801087F4 00105754 38 A0 00 00 */ li r5, 0 -/* 801087F8 00105758 81 83 00 00 */ lwz r12, 0(r3) -/* 801087FC 0010575C 81 8C 00 60 */ lwz r12, 0x60(r12) -/* 80108800 00105760 7D 89 03 A6 */ mtctr r12 -/* 80108804 00105764 4E 80 04 21 */ bctrl -/* 80108808 00105768 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8010880C 0010576C 81 83 00 00 */ lwz r12, 0(r3) -/* 80108810 00105770 81 8C 00 68 */ lwz r12, 0x68(r12) -/* 80108814 00105774 7D 89 03 A6 */ mtctr r12 -/* 80108818 00105778 4E 80 04 21 */ bctrl -/* 8010881C 0010577C 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 80108820 00105780 38 60 00 00 */ li r3, 0 -/* 80108824 00105784 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 80108828 00105788 48 20 1A 91 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8010882C 0010578C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80108830 00105790 38 60 00 01 */ li r3, 1 -/* 80108834 00105794 48 20 1A 85 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80108838 00105798 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 8010883C 0010579C 83 BF 01 C8 */ lwz r29, 0x1c8(r31) -/* 80108840 001057A0 38 E3 D9 10 */ addi r7, r3, lbl_803ED910@l -/* 80108844 001057A4 83 9F 01 CC */ lwz r28, 0x1cc(r31) -/* 80108848 001057A8 80 67 00 08 */ lwz r3, 8(r7) -/* 8010884C 001057AC 80 07 00 0C */ lwz r0, 0xc(r7) -/* 80108850 001057B0 7C BD 18 50 */ subf r5, r29, r3 -/* 80108854 001057B4 80 DF 01 D0 */ lwz r6, 0x1d0(r31) -/* 80108858 001057B8 54 A4 0F FE */ srwi r4, r5, 0x1f -/* 8010885C 001057BC 7C 7C 00 50 */ subf r3, r28, r0 -/* 80108860 001057C0 7C A4 2A 14 */ add r5, r4, r5 -/* 80108864 001057C4 80 87 00 04 */ lwz r4, 4(r7) -/* 80108868 001057C8 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8010886C 001057CC 81 07 00 00 */ lwz r8, 0(r7) -/* 80108870 001057D0 7C A7 0E 70 */ srawi r7, r5, 1 -/* 80108874 001057D4 80 BF 01 D4 */ lwz r5, 0x1d4(r31) -/* 80108878 001057D8 7C 00 1A 14 */ add r0, r0, r3 -/* 8010887C 001057DC C3 7F 01 D8 */ lfs f27, 0x1d8(r31) -/* 80108880 001057E0 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80108884 001057E4 7F 47 32 14 */ add r26, r7, r6 -/* 80108888 001057E8 7C 04 02 14 */ add r0, r4, r0 -/* 8010888C 001057EC 7F 48 D2 14 */ add r26, r8, r26 -/* 80108890 001057F0 7F 25 00 50 */ subf r25, r5, r0 -/* 80108894 001057F4 48 24 17 19 */ bl White__6CColorFv -/* 80108898 001057F8 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2) -/* 8010889C 001057FC EF A0 06 F2 */ fmuls f29, f0, f27 -/* 801088A0 00105800 F3 A1 A0 0C */ psq_st f29, 12(r1), 1, qr2 -/* 801088A4 00105804 7F 44 D3 78 */ mr r4, r26 -/* 801088A8 00105808 81 03 00 00 */ lwz r8, 0(r3) -/* 801088AC 0010580C 7F 63 DB 78 */ mr r3, r27 -/* 801088B0 00105810 88 01 00 0C */ lbz r0, 0xc(r1) -/* 801088B4 00105814 7F 25 CB 78 */ mr r5, r25 -/* 801088B8 00105818 51 00 00 2E */ rlwimi r0, r8, 0, 0, 0x17 -/* 801088BC 0010581C 7F A6 EB 78 */ mr r6, r29 -/* 801088C0 00105820 90 01 00 34 */ stw r0, 0x34(r1) -/* 801088C4 00105824 7F 87 E3 78 */ mr r7, r28 -/* 801088C8 00105828 39 01 00 34 */ addi r8, r1, 0x34 -/* 801088CC 0010582C 48 20 2E 91 */ bl Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor -lbl_801088D0: -/* 801088D0 00105830 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 801088D4 00105834 C3 62 94 94 */ lfs f27, lbl_805AB1B4@sda21(r2) -/* 801088D8 00105838 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 801088DC 0010583C C3 A3 09 F4 */ lfs f29, 0x9f4(r3) -/* 801088E0 00105840 2C 00 00 00 */ cmpwi r0, 0 -/* 801088E4 00105844 40 82 00 34 */ bne lbl_80108918 -/* 801088E8 00105848 FC 1D D8 40 */ fcmpo cr0, f29, f27 -/* 801088EC 0010584C 40 81 00 2C */ ble lbl_80108918 -/* 801088F0 00105850 C0 22 94 A0 */ lfs f1, lbl_805AB1C0@sda21(r2) -/* 801088F4 00105854 38 81 00 30 */ addi r4, r1, 0x30 -/* 801088F8 00105858 C0 02 80 EC */ lfs f0, lbl_805A9E0C@sda21(r2) -/* 801088FC 0010585C 38 6D 89 D4 */ addi r3, r13, lbl_805A7594@sda21 -/* 80108900 00105860 38 AD 89 D8 */ addi r5, r13, lbl_805A7598@sda21 -/* 80108904 00105864 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80108908 00105868 EC 1D 00 24 */ fdivs f0, f29, f0 -/* 8010890C 0010586C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80108910 00105870 4B F0 39 A5 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80108914 00105874 C3 63 00 00 */ lfs f27, 0(r3) -lbl_80108918: -/* 80108918 00105878 80 7E 08 70 */ lwz r3, 0x870(r30) -/* 8010891C 0010587C 4B F0 1F E5 */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 80108920 00105880 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80108924 00105884 3B 80 00 00 */ li r28, 0 -/* 80108928 00105888 7C 03 00 34 */ cntlzw r3, r0 -/* 8010892C 0010588C 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 80108930 00105890 54 7D D9 7E */ srwi r29, r3, 5 -/* 80108934 00105894 41 82 00 30 */ beq lbl_80108964 -/* 80108938 00105898 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 8010893C 0010589C 38 60 00 01 */ li r3, 1 -/* 80108940 001058A0 2C 00 00 01 */ cmpwi r0, 1 -/* 80108944 001058A4 41 82 00 14 */ beq lbl_80108958 -/* 80108948 001058A8 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 8010894C 001058AC 2C 00 00 01 */ cmpwi r0, 1 -/* 80108950 001058B0 41 82 00 08 */ beq lbl_80108958 -/* 80108954 001058B4 7F 83 E3 78 */ mr r3, r28 -lbl_80108958: -/* 80108958 001058B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010895C 001058BC 41 82 00 08 */ beq lbl_80108964 -/* 80108960 001058C0 3B 80 00 01 */ li r28, 1 -lbl_80108964: -/* 80108964 001058C4 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80108968 001058C8 88 03 00 50 */ lbz r0, 0x50(r3) -/* 8010896C 001058CC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80108970 001058D0 41 82 01 80 */ beq lbl_80108AF0 -/* 80108974 001058D4 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80108978 001058D8 4B F5 CF A9 */ bl GetTargetingManager__9CSamusHudCFv -/* 8010897C 001058DC 7F C4 F3 78 */ mr r4, r30 -/* 80108980 001058E0 38 A0 00 01 */ li r5, 1 -/* 80108984 001058E4 4B FB 42 49 */ bl Draw__17CTargetingManagerCFRC13CStateManager -/* 80108988 001058E8 C0 22 94 A4 */ lfs f1, lbl_805AB1C4@sda21(r2) -/* 8010898C 001058EC C0 42 94 A8 */ lfs f2, lbl_805AB1C8@sda21(r2) -/* 80108990 001058F0 48 20 1A 51 */ bl SetDepthRange__9CGraphicsFff -/* 80108994 001058F4 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80108998 001058F8 7F C4 F3 78 */ mr r4, r30 -/* 8010899C 001058FC 80 63 00 00 */ lwz r3, 0(r3) -/* 801089A0 00105900 4B F8 8B B9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 801089A4 00105904 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 801089A8 00105908 20 63 00 02 */ subfic r3, r3, 2 -/* 801089AC 0010590C 7C 60 00 34 */ cntlzw r0, r3 -/* 801089B0 00105910 54 1B D9 7E */ srwi r27, r0, 5 -/* 801089B4 00105914 41 82 00 7C */ beq lbl_80108A30 -/* 801089B8 00105918 80 1F 01 F0 */ lwz r0, 0x1f0(r31) -/* 801089BC 0010591C 28 00 00 00 */ cmplwi r0, 0 -/* 801089C0 00105920 41 82 00 70 */ beq lbl_80108A30 -/* 801089C4 00105924 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 801089C8 00105928 80 03 02 F4 */ lwz r0, 0x2f4(r3) -/* 801089CC 0010592C 2C 00 00 00 */ cmpwi r0, 0 -/* 801089D0 00105930 40 82 00 10 */ bne lbl_801089E0 -/* 801089D4 00105934 7F C4 F3 78 */ mr r4, r30 -/* 801089D8 00105938 38 7F 00 20 */ addi r3, r31, 0x20 -/* 801089DC 0010593C 48 06 D0 E5 */ bl Draw__20CFaceplateDecorationCFRC13CStateManager -lbl_801089E0: -/* 801089E0 00105940 80 9F 01 E4 */ lwz r4, 0x1e4(r31) -/* 801089E4 00105944 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 801089E8 00105948 38 00 00 00 */ li r0, 0 -/* 801089EC 0010594C 7C 64 00 D0 */ neg r3, r4 -/* 801089F0 00105950 7C 63 23 78 */ or r3, r3, r4 -/* 801089F4 00105954 54 63 0F FE */ srwi r3, r3, 0x1f -/* 801089F8 00105958 41 82 00 10 */ beq lbl_80108A08 -/* 801089FC 0010595C 28 03 00 00 */ cmplwi r3, 0 -/* 80108A00 00105960 41 82 00 08 */ beq lbl_80108A08 -/* 80108A04 00105964 38 00 00 01 */ li r0, 1 -lbl_80108A08: -/* 80108A08 00105968 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80108A0C 0010596C 41 82 00 14 */ beq lbl_80108A20 -/* 80108A10 00105970 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80108A14 00105974 4B F5 CF 0D */ bl GetTargetingManager__9CSamusHudCFv -/* 80108A18 00105978 7C 65 1B 78 */ mr r5, r3 -/* 80108A1C 0010597C 48 00 00 08 */ b lbl_80108A24 -lbl_80108A20: -/* 80108A20 00105980 38 A0 00 00 */ li r5, 0 -lbl_80108A24: -/* 80108A24 00105984 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 80108A28 00105988 7F C4 F3 78 */ mr r4, r30 -/* 80108A2C 0010598C 48 00 B0 E5 */ bl Draw__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager -lbl_80108A30: -/* 80108A30 00105990 80 7F 00 40 */ lwz r3, 0x40(r31) -/* 80108A34 00105994 7F C4 F3 78 */ mr r4, r30 -/* 80108A38 00105998 48 05 23 8D */ bl Draw__20CSamusFaceReflectionCFRC13CStateManager -/* 80108A3C 0010599C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80108A40 001059A0 41 82 00 B0 */ beq lbl_80108AF0 -/* 80108A44 001059A4 80 BF 01 EC */ lwz r5, 0x1ec(r31) -/* 80108A48 001059A8 80 7F 01 E4 */ lwz r3, 0x1e4(r31) -/* 80108A4C 001059AC 7C 85 00 D0 */ neg r4, r5 -/* 80108A50 001059B0 C0 22 94 AC */ lfs f1, lbl_805AB1CC@sda21(r2) -/* 80108A54 001059B4 7C 03 00 D0 */ neg r0, r3 -/* 80108A58 001059B8 C0 42 94 A4 */ lfs f2, lbl_805AB1C4@sda21(r2) -/* 80108A5C 001059BC 7C 84 2B 78 */ or r4, r4, r5 -/* 80108A60 001059C0 7C 00 1B 78 */ or r0, r0, r3 -/* 80108A64 001059C4 54 99 0F FE */ srwi r25, r4, 0x1f -/* 80108A68 001059C8 54 1A 0F FE */ srwi r26, r0, 0x1f -/* 80108A6C 001059CC 48 20 19 75 */ bl SetDepthRange__9CGraphicsFff -/* 80108A70 001059D0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 80108A74 001059D4 FC 1B 00 40 */ fcmpo cr0, f27, f0 -/* 80108A78 001059D8 40 81 00 3C */ ble lbl_80108AB4 -/* 80108A7C 001059DC 48 24 15 31 */ bl White__6CColorFv -/* 80108A80 001059E0 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2) -/* 80108A84 001059E4 EF 40 06 F2 */ fmuls f26, f0, f27 -/* 80108A88 001059E8 F3 41 A0 0B */ psq_st f26, 11(r1), 1, qr2 -/* 80108A8C 001059EC 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80108A90 001059F0 80 E3 00 00 */ lwz r7, 0(r3) -/* 80108A94 001059F4 38 60 00 05 */ li r3, 5 -/* 80108A98 001059F8 88 01 00 0B */ lbz r0, 0xb(r1) -/* 80108A9C 001059FC 38 80 00 07 */ li r4, 7 -/* 80108AA0 00105A00 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 -/* 80108AA4 00105A04 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) -/* 80108AA8 00105A08 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80108AAC 00105A0C 38 C0 00 00 */ li r6, 0 -/* 80108AB0 00105A10 4B FE 36 99 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -lbl_80108AB4: -/* 80108AB4 00105A14 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) -/* 80108AB8 00105A18 28 1A 00 00 */ cmplwi r26, 0 -/* 80108ABC 00105A1C C0 3F 01 F4 */ lfs f1, 0x1f4(r31) -/* 80108AC0 00105A20 7F C4 F3 78 */ mr r4, r30 -/* 80108AC4 00105A24 EC 00 D8 28 */ fsubs f0, f0, f27 -/* 80108AC8 00105A28 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80108ACC 00105A2C 80 BF 01 E0 */ lwz r5, 0x1e0(r31) -/* 80108AD0 00105A30 7F 26 CB 78 */ mr r6, r25 -/* 80108AD4 00105A34 38 E0 00 00 */ li r7, 0 -/* 80108AD8 00105A38 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80108ADC 00105A3C 41 82 00 10 */ beq lbl_80108AEC -/* 80108AE0 00105A40 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 80108AE4 00105A44 40 82 00 08 */ bne lbl_80108AEC -/* 80108AE8 00105A48 38 E0 00 01 */ li r7, 1 -lbl_80108AEC: -/* 80108AEC 00105A4C 4B F5 CE 79 */ bl Draw__9CSamusHudCFRC13CStateManagerfUibb -lbl_80108AF0: -/* 80108AF0 00105A50 80 7F 01 BC */ lwz r3, 0x1bc(r31) -/* 80108AF4 00105A54 38 80 00 00 */ li r4, 0 -/* 80108AF8 00105A58 7C 80 23 78 */ mr r0, r4 -/* 80108AFC 00105A5C 3B 80 00 01 */ li r28, 1 -/* 80108B00 00105A60 2C 03 00 00 */ cmpwi r3, 0 -/* 80108B04 00105A64 41 80 00 10 */ blt lbl_80108B14 -/* 80108B08 00105A68 2C 03 00 01 */ cmpwi r3, 1 -/* 80108B0C 00105A6C 41 81 00 08 */ bgt lbl_80108B14 -/* 80108B10 00105A70 7F 80 E3 78 */ mr r0, r28 -lbl_80108B14: -/* 80108B14 00105A74 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80108B18 00105A78 41 82 00 2C */ beq lbl_80108B44 -/* 80108B1C 00105A7C 80 7F 01 C0 */ lwz r3, 0x1c0(r31) -/* 80108B20 00105A80 38 00 00 00 */ li r0, 0 -/* 80108B24 00105A84 2C 03 00 00 */ cmpwi r3, 0 -/* 80108B28 00105A88 41 80 00 10 */ blt lbl_80108B38 -/* 80108B2C 00105A8C 2C 03 00 01 */ cmpwi r3, 1 -/* 80108B30 00105A90 41 81 00 08 */ bgt lbl_80108B38 -/* 80108B34 00105A94 38 00 00 01 */ li r0, 1 -lbl_80108B38: -/* 80108B38 00105A98 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80108B3C 00105A9C 41 82 00 08 */ beq lbl_80108B44 -/* 80108B40 00105AA0 38 80 00 01 */ li r4, 1 -lbl_80108B44: -/* 80108B44 00105AA4 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80108B48 00105AA8 40 82 00 30 */ bne lbl_80108B78 -/* 80108B4C 00105AAC 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 80108B50 00105AB0 38 60 00 00 */ li r3, 0 -/* 80108B54 00105AB4 2C 00 00 02 */ cmpwi r0, 2 -/* 80108B58 00105AB8 41 82 00 10 */ beq lbl_80108B68 -/* 80108B5C 00105ABC 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 80108B60 00105AC0 2C 00 00 02 */ cmpwi r0, 2 -/* 80108B64 00105AC4 40 82 00 08 */ bne lbl_80108B6C -lbl_80108B68: -/* 80108B68 00105AC8 38 60 00 01 */ li r3, 1 -lbl_80108B6C: -/* 80108B6C 00105ACC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80108B70 00105AD0 40 82 00 08 */ bne lbl_80108B78 -/* 80108B74 00105AD4 3B 80 00 00 */ li r28, 0 -lbl_80108B78: -/* 80108B78 00105AD8 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80108B7C 00105ADC 41 82 00 10 */ beq lbl_80108B8C -/* 80108B80 00105AE0 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80108B84 00105AE4 7F C4 F3 78 */ mr r4, r30 -/* 80108B88 00105AE8 48 15 4B E1 */ bl Draw__16CPauseScreenBlurFRC13CStateManager -lbl_80108B8C: -/* 80108B8C 00105AEC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80108B90 00105AF0 41 82 01 AC */ beq lbl_80108D3C -/* 80108B94 00105AF4 80 1F 01 E8 */ lwz r0, 0x1e8(r31) -/* 80108B98 00105AF8 28 00 00 00 */ cmplwi r0, 0 -/* 80108B9C 00105AFC 41 82 01 A0 */ beq lbl_80108D3C -/* 80108BA0 00105B00 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80108BA4 00105B04 88 03 00 50 */ lbz r0, 0x50(r3) -/* 80108BA8 00105B08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80108BAC 00105B0C 40 82 00 2C */ bne lbl_80108BD8 -/* 80108BB0 00105B10 80 1F 01 BC */ lwz r0, 0x1bc(r31) -/* 80108BB4 00105B14 38 60 00 00 */ li r3, 0 -/* 80108BB8 00105B18 2C 00 00 02 */ cmpwi r0, 2 -/* 80108BBC 00105B1C 41 82 00 10 */ beq lbl_80108BCC -/* 80108BC0 00105B20 80 1F 01 C0 */ lwz r0, 0x1c0(r31) -/* 80108BC4 00105B24 2C 00 00 02 */ cmpwi r0, 2 -/* 80108BC8 00105B28 40 82 00 08 */ bne lbl_80108BD0 -lbl_80108BCC: -/* 80108BCC 00105B2C 38 60 00 01 */ li r3, 1 -lbl_80108BD0: -/* 80108BD0 00105B30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80108BD4 00105B34 41 82 01 68 */ beq lbl_80108D3C -lbl_80108BD8: -/* 80108BD8 00105B38 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80108BDC 00105B3C 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 80108BE0 00105B40 80 63 00 00 */ lwz r3, 0(r3) -/* 80108BE4 00105B44 83 24 02 F8 */ lwz r25, 0x2f8(r4) -/* 80108BE8 00105B48 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80108BEC 00105B4C 2C 00 00 00 */ cmpwi r0, 0 -/* 80108BF0 00105B50 40 82 00 10 */ bne lbl_80108C00 -/* 80108BF4 00105B54 4B F8 8C 71 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 80108BF8 00105B58 FF 60 08 90 */ fmr f27, f1 -/* 80108BFC 00105B5C 48 00 00 08 */ b lbl_80108C04 -lbl_80108C00: -/* 80108C00 00105B60 C3 62 94 94 */ lfs f27, lbl_805AB1B4@sda21(r2) -lbl_80108C04: -/* 80108C04 00105B64 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80108C08 00105B68 88 03 02 74 */ lbz r0, 0x274(r3) -/* 80108C0C 00105B6C 28 00 00 00 */ cmplwi r0, 0 -/* 80108C10 00105B70 41 82 00 0C */ beq lbl_80108C1C -/* 80108C14 00105B74 C3 42 94 90 */ lfs f26, lbl_805AB1B0@sda21(r2) -/* 80108C18 00105B78 48 00 00 18 */ b lbl_80108C30 -lbl_80108C1C: -/* 80108C1C 00105B7C 2C 19 00 00 */ cmpwi r25, 0 -/* 80108C20 00105B80 40 82 00 0C */ bne lbl_80108C2C -/* 80108C24 00105B84 C3 42 94 90 */ lfs f26, lbl_805AB1B0@sda21(r2) -/* 80108C28 00105B88 48 00 00 08 */ b lbl_80108C30 -lbl_80108C2C: -/* 80108C2C 00105B8C C3 42 94 94 */ lfs f26, lbl_805AB1B4@sda21(r2) -lbl_80108C30: -/* 80108C30 00105B90 80 9F 00 34 */ lwz r4, 0x34(r31) -/* 80108C34 00105B94 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80108C38 00105B98 3B 63 66 A0 */ addi r27, r3, skZero3f@l -/* 80108C3C 00105B9C C0 62 94 94 */ lfs f3, lbl_805AB1B4@sda21(r2) -/* 80108C40 00105BA0 80 64 02 74 */ lwz r3, 0x274(r4) -/* 80108C44 00105BA4 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 80108C48 00105BA8 C0 5B 00 00 */ lfs f2, 0(r27) -/* 80108C4C 00105BAC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80108C50 00105BB0 C0 3B 00 04 */ lfs f1, 4(r27) -/* 80108C54 00105BB4 C0 1B 00 08 */ lfs f0, 8(r27) -/* 80108C58 00105BB8 D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 80108C5C 00105BBC D0 41 00 AC */ stfs f2, 0xac(r1) -/* 80108C60 00105BC0 D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 80108C64 00105BC4 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80108C68 00105BC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80108C6C 00105BCC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80108C70 00105BD0 7D 89 03 A6 */ mtctr r12 -/* 80108C74 00105BD4 4E 80 04 21 */ bctrl -/* 80108C78 00105BD8 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80108C7C 00105BDC C0 42 94 AC */ lfs f2, lbl_805AB1CC@sda21(r2) -/* 80108C80 00105BE0 48 20 17 61 */ bl SetDepthRange__9CGraphicsFff -/* 80108C84 00105BE4 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 80108C88 00105BE8 38 80 00 01 */ li r4, 1 -/* 80108C8C 00105BEC 48 1C 19 A1 */ bl SetIsVisible__10CGuiWidgetFb -/* 80108C90 00105BF0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80108C94 00105BF4 C0 62 94 90 */ lfs f3, lbl_805AB1B0@sda21(r2) -/* 80108C98 00105BF8 C0 43 66 A0 */ lfs f2, skZero3f@l(r3) -/* 80108C9C 00105BFC 38 81 00 98 */ addi r4, r1, 0x98 -/* 80108CA0 00105C00 C0 3B 00 04 */ lfs f1, 4(r27) -/* 80108CA4 00105C04 C0 1B 00 08 */ lfs f0, 8(r27) -/* 80108CA8 00105C08 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 80108CAC 00105C0C 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 80108CB0 00105C10 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 80108CB4 00105C14 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 80108CB8 00105C18 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80108CBC 00105C1C 81 83 00 00 */ lwz r12, 0(r3) -/* 80108CC0 00105C20 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80108CC4 00105C24 7D 89 03 A6 */ mtctr r12 -/* 80108CC8 00105C28 4E 80 04 21 */ bctrl -/* 80108CCC 00105C2C 38 60 00 01 */ li r3, 1 -/* 80108CD0 00105C30 38 80 00 06 */ li r4, 6 -/* 80108CD4 00105C34 38 A0 00 00 */ li r5, 0 -/* 80108CD8 00105C38 48 20 2D BD */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80108CDC 00105C3C C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80108CE0 00105C40 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80108CE4 00105C44 83 7F 00 38 */ lwz r27, 0x38(r31) -/* 80108CE8 00105C48 FC 60 08 90 */ fmr f3, f1 -/* 80108CEC 00105C4C C0 42 94 B0 */ lfs f2, lbl_805AB1D0@sda21(r2) -/* 80108CF0 00105C50 48 20 A4 99 */ bl Translate__12CTransform4fFfff -/* 80108CF4 00105C54 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80108CF8 00105C58 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80108CFC 00105C5C 38 BF 01 8C */ addi r5, r31, 0x18c -/* 80108D00 00105C60 48 20 9C 51 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80108D04 00105C64 C0 1F 01 F4 */ lfs f0, 0x1f4(r31) -/* 80108D08 00105C68 7F 63 DB 78 */ mr r3, r27 -/* 80108D0C 00105C6C 7F C4 F3 78 */ mr r4, r30 -/* 80108D10 00105C70 38 A1 00 E8 */ addi r5, r1, 0xe8 -/* 80108D14 00105C74 EC 00 06 F2 */ fmuls f0, f0, f27 -/* 80108D18 00105C78 EC 3A 00 32 */ fmuls f1, f26, f0 -/* 80108D1C 00105C7C 4B F9 02 E9 */ bl Draw__11CAutoMapperCFRC13CStateManagerRC12CTransform4ff -/* 80108D20 00105C80 38 60 00 01 */ li r3, 1 -/* 80108D24 00105C84 38 80 00 03 */ li r4, 3 -/* 80108D28 00105C88 38 A0 00 01 */ li r5, 1 -/* 80108D2C 00105C8C 48 20 2D 69 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80108D30 00105C90 80 7F 01 48 */ lwz r3, 0x148(r31) -/* 80108D34 00105C94 38 80 00 00 */ li r4, 0 -/* 80108D38 00105C98 48 1C 18 F5 */ bl SetIsVisible__10CGuiWidgetFb -lbl_80108D3C: -/* 80108D3C 00105C9C 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 80108D40 00105CA0 40 82 00 10 */ bne lbl_80108D50 -/* 80108D44 00105CA4 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 80108D48 00105CA8 7F C4 F3 78 */ mr r4, r30 -/* 80108D4C 00105CAC 48 15 4A 1D */ bl Draw__16CPauseScreenBlurFRC13CStateManager -lbl_80108D50: -/* 80108D50 00105CB0 80 1F 01 E0 */ lwz r0, 0x1e0(r31) -/* 80108D54 00105CB4 28 00 00 00 */ cmplwi r0, 0 -/* 80108D58 00105CB8 41 82 00 30 */ beq lbl_80108D88 -/* 80108D5C 00105CBC 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80108D60 00105CC0 41 82 00 28 */ beq lbl_80108D88 -/* 80108D64 00105CC4 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 80108D68 00105CC8 28 03 00 00 */ cmplwi r3, 0 -/* 80108D6C 00105CCC 40 82 00 0C */ bne lbl_80108D78 -/* 80108D70 00105CD0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80108D74 00105CD4 48 00 00 08 */ b lbl_80108D7C -lbl_80108D78: -/* 80108D78 00105CD8 4B F6 9C 65 */ bl GetHelmetCamYOff__12CPauseScreenCFv -lbl_80108D7C: -/* 80108D7C 00105CDC 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80108D80 00105CE0 7F C4 F3 78 */ mr r4, r30 -/* 80108D84 00105CE4 4B F5 D0 3D */ bl DrawHelmet__9CSamusHudFRC13CStateManagerf -lbl_80108D88: -/* 80108D88 00105CE8 80 7F 00 4C */ lwz r3, 0x4c(r31) -/* 80108D8C 00105CEC 28 03 00 00 */ cmplwi r3, 0 -/* 80108D90 00105CF0 41 82 00 08 */ beq lbl_80108D98 -/* 80108D94 00105CF4 48 14 69 8D */ bl Draw__15CSaveGameScreenFv -lbl_80108D98: -/* 80108D98 00105CF8 80 7F 00 44 */ lwz r3, 0x44(r31) -/* 80108D9C 00105CFC 28 03 00 00 */ cmplwi r3, 0 -/* 80108DA0 00105D00 41 82 00 08 */ beq lbl_80108DA8 -/* 80108DA4 00105D04 48 0E 68 61 */ bl Draw__14CMessageScreenCFv -lbl_80108DA8: -/* 80108DA8 00105D08 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 80108DAC 00105D0C 28 03 00 00 */ cmplwi r3, 0 -/* 80108DB0 00105D10 41 82 00 08 */ beq lbl_80108DB8 -/* 80108DB4 00105D14 4B F6 A3 FD */ bl Draw__12CPauseScreenFv -lbl_80108DB8: -/* 80108DB8 00105D18 38 7F 00 F8 */ addi r3, r31, 0xf8 -/* 80108DBC 00105D1C 4B FE 34 D5 */ bl Draw__17CCameraFilterPassCFv -/* 80108DC0 00105D20 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 80108DC4 00105D24 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80108DC8 00105D28 40 81 03 F8 */ ble lbl_801091C0 -/* 80108DCC 00105D2C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80108DD0 00105D30 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 80108DD4 00105D34 2C 00 00 00 */ cmpwi r0, 0 -/* 80108DD8 00105D38 40 82 00 0C */ bne lbl_80108DE4 -/* 80108DDC 00105D3C C0 42 80 EC */ lfs f2, lbl_805A9E0C@sda21(r2) -/* 80108DE0 00105D40 48 00 00 08 */ b lbl_80108DE8 -lbl_80108DE4: -/* 80108DE4 00105D44 C0 42 80 F0 */ lfs f2, lbl_805A9E10@sda21(r2) -lbl_80108DE8: -/* 80108DE8 00105D48 EC 1D 10 24 */ fdivs f0, f29, f2 -/* 80108DEC 00105D4C C0 62 94 80 */ lfs f3, lbl_805AB1A0@sda21(r2) -/* 80108DF0 00105D50 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) -/* 80108DF4 00105D54 38 81 00 28 */ addi r4, r1, 0x28 -/* 80108DF8 00105D58 38 6D 89 DC */ addi r3, r13, lbl_805A759C@sda21 -/* 80108DFC 00105D5C 38 AD 89 E0 */ addi r5, r13, lbl_805A75A0@sda21 -/* 80108E00 00105D60 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80108E04 00105D64 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80108E08 00105D68 EC 02 18 28 */ fsubs f0, f2, f3 -/* 80108E0C 00105D6C EF 40 08 28 */ fsubs f26, f0, f1 -/* 80108E10 00105D70 EF 63 D0 2A */ fadds f27, f3, f26 -/* 80108E14 00105D74 EF 23 D8 2A */ fadds f25, f3, f27 -/* 80108E18 00105D78 4B F0 34 9D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80108E1C 00105D7C C3 03 00 00 */ lfs f24, 0(r3) -/* 80108E20 00105D80 48 24 11 8D */ bl White__6CColorFv -/* 80108E24 00105D84 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2) -/* 80108E28 00105D88 EF E0 06 32 */ fmuls f31, f0, f24 -/* 80108E2C 00105D8C F3 E1 A0 0A */ psq_st f31, 10(r1), 1, qr2 -/* 80108E30 00105D90 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80108E34 00105D94 80 E3 00 00 */ lwz r7, 0(r3) -/* 80108E38 00105D98 38 60 00 05 */ li r3, 5 -/* 80108E3C 00105D9C 88 01 00 0A */ lbz r0, 0xa(r1) -/* 80108E40 00105DA0 38 80 00 00 */ li r4, 0 -/* 80108E44 00105DA4 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 -/* 80108E48 00105DA8 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) -/* 80108E4C 00105DAC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80108E50 00105DB0 38 C0 00 00 */ li r6, 0 -/* 80108E54 00105DB4 4B FE 32 F5 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -/* 80108E58 00105DB8 FC 1D D0 40 */ fcmpo cr0, f29, f26 -/* 80108E5C 00105DBC 40 81 03 64 */ ble lbl_801091C0 -/* 80108E60 00105DC0 EC 3D D0 28 */ fsubs f1, f29, f26 -/* 80108E64 00105DC4 C0 02 94 80 */ lfs f0, lbl_805AB1A0@sda21(r2) -/* 80108E68 00105DC8 38 81 00 20 */ addi r4, r1, 0x20 -/* 80108E6C 00105DCC 38 6D 89 E4 */ addi r3, r13, lbl_805A75A4@sda21 -/* 80108E70 00105DD0 38 AD 89 E8 */ addi r5, r13, lbl_805A75A8@sda21 -/* 80108E74 00105DD4 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80108E78 00105DD8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80108E7C 00105DDC 4B F0 34 39 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80108E80 00105DE0 EC 3D D8 28 */ fsubs f1, f29, f27 -/* 80108E84 00105DE4 C0 02 94 80 */ lfs f0, lbl_805AB1A0@sda21(r2) -/* 80108E88 00105DE8 C0 63 00 00 */ lfs f3, 0(r3) -/* 80108E8C 00105DEC 38 81 00 1C */ addi r4, r1, 0x1c -/* 80108E90 00105DF0 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) -/* 80108E94 00105DF4 38 6D 89 EC */ addi r3, r13, lbl_805A75AC@sda21 -/* 80108E98 00105DF8 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80108E9C 00105DFC 38 AD 89 F0 */ addi r5, r13, lbl_805A75B0@sda21 -/* 80108EA0 00105E00 EF E2 18 28 */ fsubs f31, f2, f3 -/* 80108EA4 00105E04 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80108EA8 00105E08 4B F0 34 0D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80108EAC 00105E0C EC 1D C8 28 */ fsubs f0, f29, f25 -/* 80108EB0 00105E10 C3 A3 00 00 */ lfs f29, 0(r3) -/* 80108EB4 00105E14 38 81 00 18 */ addi r4, r1, 0x18 -/* 80108EB8 00105E18 38 6D 89 F4 */ addi r3, r13, lbl_805A75B4@sda21 -/* 80108EBC 00105E1C 38 AD 89 F8 */ addi r5, r13, lbl_805A75B8@sda21 -/* 80108EC0 00105E20 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80108EC4 00105E24 4B F0 33 F1 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80108EC8 00105E28 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 80108ECC 00105E2C C0 23 00 00 */ lfs f1, 0(r3) -/* 80108ED0 00105E30 38 84 D9 10 */ addi r4, r4, lbl_803ED910@l -/* 80108ED4 00105E34 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) -/* 80108ED8 00105E38 83 44 00 08 */ lwz r26, 8(r4) -/* 80108EDC 00105E3C 83 A4 00 0C */ lwz r29, 0xc(r4) -/* 80108EE0 00105E40 EF 60 08 28 */ fsubs f27, f0, f1 -/* 80108EE4 00105E44 80 64 00 00 */ lwz r3, 0(r4) -/* 80108EE8 00105E48 57 45 04 3E */ clrlwi r5, r26, 0x10 -/* 80108EEC 00105E4C 80 04 00 04 */ lwz r0, 4(r4) -/* 80108EF0 00105E50 57 A6 04 3E */ clrlwi r6, r29, 0x10 -/* 80108EF4 00105E54 83 2D A8 28 */ lwz r25, lbl_805A93E8@sda21(r13) -/* 80108EF8 00105E58 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 80108EFC 00105E5C 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 80108F00 00105E60 48 26 FE B5 */ bl GXSetTexCopySrc -/* 80108F04 00105E64 57 43 0F FE */ srwi r3, r26, 0x1f -/* 80108F08 00105E68 57 A0 0F FE */ srwi r0, r29, 0x1f -/* 80108F0C 00105E6C 7C 63 D2 14 */ add r3, r3, r26 -/* 80108F10 00105E70 38 A0 00 04 */ li r5, 4 -/* 80108F14 00105E74 7C 7C 0E 70 */ srawi r28, r3, 1 -/* 80108F18 00105E78 7C 00 EA 14 */ add r0, r0, r29 -/* 80108F1C 00105E7C 7C 1B 0E 70 */ srawi r27, r0, 1 -/* 80108F20 00105E80 38 C0 00 00 */ li r6, 0 -/* 80108F24 00105E84 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 80108F28 00105E88 38 E0 00 00 */ li r7, 0 -/* 80108F2C 00105E8C 57 64 04 3E */ clrlwi r4, r27, 0x10 -/* 80108F30 00105E90 48 27 0D 11 */ bl GXGetTexBufferSize -/* 80108F34 00105E94 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 80108F38 00105E98 57 64 04 3E */ clrlwi r4, r27, 0x10 -/* 80108F3C 00105E9C 38 A0 00 04 */ li r5, 4 -/* 80108F40 00105EA0 38 C0 00 01 */ li r6, 1 -/* 80108F44 00105EA4 48 26 FF 3D */ bl GXSetTexCopyDst -/* 80108F48 00105EA8 7F 23 CB 78 */ mr r3, r25 -/* 80108F4C 00105EAC 38 80 00 00 */ li r4, 0 -/* 80108F50 00105EB0 48 27 05 E5 */ bl GXCopyTex -/* 80108F54 00105EB4 48 26 F6 11 */ bl GXPixModeSync -/* 80108F58 00105EB8 48 24 10 5D */ bl Black__6CColorFv -/* 80108F5C 00105EBC C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) -/* 80108F60 00105EC0 7C 65 1B 78 */ mr r5, r3 -/* 80108F64 00105EC4 38 60 00 05 */ li r3, 5 -/* 80108F68 00105EC8 38 80 00 00 */ li r4, 0 -/* 80108F6C 00105ECC 38 C0 00 00 */ li r6, 0 -/* 80108F70 00105ED0 4B FE 31 D9 */ bl DrawFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapeRC6CColorPC8CTexturef -/* 80108F74 00105ED4 7F 83 E3 78 */ mr r3, r28 -/* 80108F78 00105ED8 7F 64 DB 78 */ mr r4, r27 -/* 80108F7C 00105EDC 7F 26 CB 78 */ mr r6, r25 -/* 80108F80 00105EE0 38 A0 00 04 */ li r5, 4 -/* 80108F84 00105EE4 38 E0 00 00 */ li r7, 0 -/* 80108F88 00105EE8 48 20 10 99 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 80108F8C 00105EEC EC 1F 07 F2 */ fmuls f0, f31, f31 -/* 80108F90 00105EF0 3C A0 43 30 */ lis r5, 0x4330 -/* 80108F94 00105EF4 6F A3 80 00 */ xoris r3, r29, 0x8000 -/* 80108F98 00105EF8 6F 40 80 00 */ xoris r0, r26, 0x8000 -/* 80108F9C 00105EFC 90 61 01 1C */ stw r3, 0x11c(r1) -/* 80108FA0 00105F00 3C 60 80 5A */ lis r3, lbl_805A5EBC@ha -/* 80108FA4 00105F04 90 A1 01 18 */ stw r5, 0x118(r1) -/* 80108FA8 00105F08 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80108FAC 00105F0C C8 82 94 B8 */ lfd f4, lbl_805AB1D8@sda21(r2) -/* 80108FB0 00105F10 38 83 5E BC */ addi r4, r3, lbl_805A5EBC@l -/* 80108FB4 00105F14 C8 21 01 18 */ lfd f1, 0x118(r1) -/* 80108FB8 00105F18 38 60 00 00 */ li r3, 0 -/* 80108FBC 00105F1C EC 5F 00 32 */ fmuls f2, f31, f0 -/* 80108FC0 00105F20 EC 21 20 28 */ fsubs f1, f1, f4 -/* 80108FC4 00105F24 C0 02 94 90 */ lfs f0, lbl_805AB1B0@sda21(r2) -/* 80108FC8 00105F28 C0 62 94 B4 */ lfs f3, lbl_805AB1D4@sda21(r2) -/* 80108FCC 00105F2C EC BF 00 B2 */ fmuls f5, f31, f2 -/* 80108FD0 00105F30 90 01 01 24 */ stw r0, 0x124(r1) -/* 80108FD4 00105F34 EC 41 18 28 */ fsubs f2, f1, f3 -/* 80108FD8 00105F38 90 A1 01 20 */ stw r5, 0x120(r1) -/* 80108FDC 00105F3C EC 20 E8 28 */ fsubs f1, f0, f29 -/* 80108FE0 00105F40 C0 C2 94 80 */ lfs f6, lbl_805AB1A0@sda21(r2) -/* 80108FE4 00105F44 C8 01 01 20 */ lfd f0, 0x120(r1) -/* 80108FE8 00105F48 EC 45 18 BA */ fmadds f2, f5, f2, f3 -/* 80108FEC 00105F4C EC 00 20 28 */ fsubs f0, f0, f4 -/* 80108FF0 00105F50 EF A6 00 B2 */ fmuls f29, f6, f2 -/* 80108FF4 00105F54 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80108FF8 00105F58 FF E0 E8 50 */ fneg f31, f29 -/* 80108FFC 00105F5C EC 01 18 3A */ fmadds f0, f1, f0, f3 -/* 80109000 00105F60 EF 06 00 32 */ fmuls f24, f6, f0 -/* 80109004 00105F64 FF 20 C0 50 */ fneg f25, f24 -/* 80109008 00105F68 48 20 12 B1 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8010900C 00105F6C 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80109010 00105F70 38 60 00 01 */ li r3, 1 -/* 80109014 00105F74 48 20 12 A5 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80109018 00105F78 38 60 00 98 */ li r3, 0x98 -/* 8010901C 00105F7C 48 20 26 4D */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 80109020 00105F80 48 24 0F 8D */ bl White__6CColorFv -/* 80109024 00105F84 C0 02 94 9C */ lfs f0, lbl_805AB1BC@sda21(r2) -/* 80109028 00105F88 EF 80 06 F2 */ fmuls f28, f0, f27 -/* 8010902C 00105F8C FF C0 E0 90 */ fmr f30, f28 -/* 80109030 00105F90 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 -/* 80109034 00105F94 80 83 00 00 */ lwz r4, 0(r3) -/* 80109038 00105F98 38 61 00 14 */ addi r3, r1, 0x14 -/* 8010903C 00105F9C 88 01 00 09 */ lbz r0, 9(r1) -/* 80109040 00105FA0 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 -/* 80109044 00105FA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80109048 00105FA8 48 20 25 01 */ bl StreamColor__9CGraphicsFRC6CColor -/* 8010904C 00105FAC C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80109050 00105FB0 FC 40 08 90 */ fmr f2, f1 -/* 80109054 00105FB4 48 20 24 11 */ bl StreamTexcoord__9CGraphicsFff -/* 80109058 00105FB8 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 8010905C 00105FBC 38 61 00 8C */ addi r3, r1, 0x8c -/* 80109060 00105FC0 D3 21 00 8C */ stfs f25, 0x8c(r1) -/* 80109064 00105FC4 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 80109068 00105FC8 D3 A1 00 94 */ stfs f29, 0x94(r1) -/* 8010906C 00105FCC 48 20 25 55 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80109070 00105FD0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80109074 00105FD4 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) -/* 80109078 00105FD8 48 20 23 ED */ bl StreamTexcoord__9CGraphicsFff -/* 8010907C 00105FDC C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 80109080 00105FE0 38 61 00 80 */ addi r3, r1, 0x80 -/* 80109084 00105FE4 D3 21 00 80 */ stfs f25, 0x80(r1) -/* 80109088 00105FE8 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 8010908C 00105FEC D3 E1 00 88 */ stfs f31, 0x88(r1) -/* 80109090 00105FF0 48 20 25 31 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80109094 00105FF4 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) -/* 80109098 00105FF8 C0 42 94 94 */ lfs f2, lbl_805AB1B4@sda21(r2) -/* 8010909C 00105FFC 48 20 23 C9 */ bl StreamTexcoord__9CGraphicsFff -/* 801090A0 00106000 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 801090A4 00106004 38 61 00 74 */ addi r3, r1, 0x74 -/* 801090A8 00106008 D3 01 00 74 */ stfs f24, 0x74(r1) -/* 801090AC 0010600C D0 01 00 78 */ stfs f0, 0x78(r1) -/* 801090B0 00106010 D3 A1 00 7C */ stfs f29, 0x7c(r1) -/* 801090B4 00106014 48 20 25 0D */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 801090B8 00106018 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) -/* 801090BC 0010601C FC 40 08 90 */ fmr f2, f1 -/* 801090C0 00106020 48 20 23 A5 */ bl StreamTexcoord__9CGraphicsFff -/* 801090C4 00106024 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 801090C8 00106028 38 61 00 68 */ addi r3, r1, 0x68 -/* 801090CC 0010602C D3 01 00 68 */ stfs f24, 0x68(r1) -/* 801090D0 00106030 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 801090D4 00106034 D3 E1 00 70 */ stfs f31, 0x70(r1) -/* 801090D8 00106038 48 20 24 E9 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 801090DC 0010603C 48 20 23 35 */ bl StreamEnd__9CGraphicsFv -/* 801090E0 00106040 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801090E4 00106044 81 83 00 00 */ lwz r12, 0(r3) -/* 801090E8 00106048 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 801090EC 0010604C 7D 89 03 A6 */ mtctr r12 -/* 801090F0 00106050 4E 80 04 21 */ bctrl -/* 801090F4 00106054 80 7F 00 58 */ lwz r3, 0x58(r31) -/* 801090F8 00106058 38 80 00 00 */ li r4, 0 -/* 801090FC 0010605C 38 A0 00 01 */ li r5, 1 -/* 80109100 00106060 48 20 66 3D */ bl Load__8CTextureCF11_GXTexMapIDQ28CTexture10EClampMode -/* 80109104 00106064 38 60 00 98 */ li r3, 0x98 -/* 80109108 00106068 48 20 25 61 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 8010910C 0010606C 48 24 0E A1 */ bl White__6CColorFv -/* 80109110 00106070 F3 81 A0 08 */ psq_st f28, 8(r1), 1, qr2 -/* 80109114 00106074 80 83 00 00 */ lwz r4, 0(r3) -/* 80109118 00106078 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010911C 0010607C 88 01 00 08 */ lbz r0, 8(r1) -/* 80109120 00106080 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 -/* 80109124 00106084 90 01 00 10 */ stw r0, 0x10(r1) -/* 80109128 00106088 48 20 24 21 */ bl StreamColor__9CGraphicsFRC6CColor -/* 8010912C 0010608C C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80109130 00106090 FC 40 08 90 */ fmr f2, f1 -/* 80109134 00106094 48 20 23 31 */ bl StreamTexcoord__9CGraphicsFff -/* 80109138 00106098 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 8010913C 0010609C 38 61 00 5C */ addi r3, r1, 0x5c -/* 80109140 001060A0 D3 21 00 5C */ stfs f25, 0x5c(r1) -/* 80109144 001060A4 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80109148 001060A8 D3 A1 00 64 */ stfs f29, 0x64(r1) -/* 8010914C 001060AC 48 20 24 75 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80109150 001060B0 C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80109154 001060B4 C0 42 94 90 */ lfs f2, lbl_805AB1B0@sda21(r2) -/* 80109158 001060B8 48 20 23 0D */ bl StreamTexcoord__9CGraphicsFff -/* 8010915C 001060BC C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 80109160 001060C0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80109164 001060C4 D3 21 00 50 */ stfs f25, 0x50(r1) -/* 80109168 001060C8 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8010916C 001060CC D3 E1 00 58 */ stfs f31, 0x58(r1) -/* 80109170 001060D0 48 20 24 51 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80109174 001060D4 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) -/* 80109178 001060D8 C0 42 94 94 */ lfs f2, lbl_805AB1B4@sda21(r2) -/* 8010917C 001060DC 48 20 22 E9 */ bl StreamTexcoord__9CGraphicsFff -/* 80109180 001060E0 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 80109184 001060E4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80109188 001060E8 D3 01 00 44 */ stfs f24, 0x44(r1) -/* 8010918C 001060EC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80109190 001060F0 D3 A1 00 4C */ stfs f29, 0x4c(r1) -/* 80109194 001060F4 48 20 24 2D */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80109198 001060F8 C0 22 94 90 */ lfs f1, lbl_805AB1B0@sda21(r2) -/* 8010919C 001060FC FC 40 08 90 */ fmr f2, f1 -/* 801091A0 00106100 48 20 22 C5 */ bl StreamTexcoord__9CGraphicsFff -/* 801091A4 00106104 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 801091A8 00106108 38 61 00 38 */ addi r3, r1, 0x38 -/* 801091AC 0010610C D3 01 00 38 */ stfs f24, 0x38(r1) -/* 801091B0 00106110 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 801091B4 00106114 D3 E1 00 40 */ stfs f31, 0x40(r1) -/* 801091B8 00106118 48 20 24 09 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 801091BC 0010611C 48 20 22 55 */ bl StreamEnd__9CGraphicsFv -lbl_801091C0: -/* 801091C0 00106120 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 801091C4 00106124 CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 801091C8 00106128 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 801091CC 0010612C CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 801091D0 00106130 E3 A1 01 A8 */ psq_l f29, 424(r1), 0, qr0 -/* 801091D4 00106134 CB A1 01 A0 */ lfd f29, 0x1a0(r1) -/* 801091D8 00106138 E3 81 01 98 */ psq_l f28, 408(r1), 0, qr0 -/* 801091DC 0010613C CB 81 01 90 */ lfd f28, 0x190(r1) -/* 801091E0 00106140 E3 61 01 88 */ psq_l f27, 392(r1), 0, qr0 -/* 801091E4 00106144 CB 61 01 80 */ lfd f27, 0x180(r1) -/* 801091E8 00106148 E3 41 01 78 */ psq_l f26, 376(r1), 0, qr0 -/* 801091EC 0010614C CB 41 01 70 */ lfd f26, 0x170(r1) -/* 801091F0 00106150 E3 21 01 68 */ psq_l f25, 360(r1), 0, qr0 -/* 801091F4 00106154 CB 21 01 60 */ lfd f25, 0x160(r1) -/* 801091F8 00106158 E3 01 01 58 */ psq_l f24, 344(r1), 0, qr0 -/* 801091FC 0010615C CB 01 01 50 */ lfd f24, 0x150(r1) -/* 80109200 00106160 BB 21 01 34 */ lmw r25, 0x134(r1) -/* 80109204 00106164 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 80109208 00106168 7C 08 03 A6 */ mtlr r0 -/* 8010920C 0010616C 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 80109210 00106170 4E 80 00 20 */ blr - -.global StartFadeIn__17CInGameGuiManagerFv -StartFadeIn__17CInGameGuiManagerFv: -/* 80109214 00106174 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80109218 00106178 7C 08 02 A6 */ mflr r0 -/* 8010921C 0010617C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80109220 00106180 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80109224 00106184 7C 7F 1B 78 */ mr r31, r3 -/* 80109228 00106188 48 24 0D 8D */ bl Black__6CColorFv -/* 8010922C 0010618C C0 22 94 94 */ lfs f1, lbl_805AB1B4@sda21(r2) -/* 80109230 00106190 7C 66 1B 78 */ mr r6, r3 -/* 80109234 00106194 38 7F 00 F8 */ addi r3, r31, 0xf8 -/* 80109238 00106198 38 80 00 01 */ li r4, 1 -/* 8010923C 0010619C 38 A0 00 00 */ li r5, 0 -/* 80109240 001061A0 38 E0 FF FF */ li r7, -1 -/* 80109244 001061A4 4B FE 41 5D */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -/* 80109248 001061A8 C0 22 94 80 */ lfs f1, lbl_805AB1A0@sda21(r2) -/* 8010924C 001061AC 38 7F 00 F8 */ addi r3, r31, 0xf8 -/* 80109250 001061B0 4B FE 41 19 */ bl DisableFilter__17CCameraFilterPassFf -/* 80109254 001061B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80109258 001061B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8010925C 001061BC 7C 08 03 A6 */ mtlr r0 -/* 80109260 001061C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80109264 001061C4 4E 80 00 20 */ blr - -.global CheckLoadComplete__17CInGameGuiManagerFRC13CStateManager -CheckLoadComplete__17CInGameGuiManagerFRC13CStateManager: -/* 80109268 001061C8 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8010926C 001061CC 7C 08 02 A6 */ mflr r0 -/* 80109270 001061D0 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80109274 001061D4 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 80109278 001061D8 7C 7F 1B 78 */ mr r31, r3 -/* 8010927C 001061DC 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80109280 001061E0 7C 9E 23 78 */ mr r30, r4 -/* 80109284 001061E4 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 80109288 001061E8 93 81 00 D0 */ stw r28, 0xd0(r1) -/* 8010928C 001061EC 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80109290 001061F0 2C 00 00 02 */ cmpwi r0, 2 -/* 80109294 001061F4 41 82 02 EC */ beq lbl_80109580 -/* 80109298 001061F8 40 80 00 14 */ bge lbl_801092AC -/* 8010929C 001061FC 2C 00 00 00 */ cmpwi r0, 0 -/* 801092A0 00106200 41 82 00 18 */ beq lbl_801092B8 -/* 801092A4 00106204 40 80 01 10 */ bge lbl_801093B4 -/* 801092A8 00106208 48 00 05 78 */ b lbl_80109820 -lbl_801092AC: -/* 801092AC 0010620C 2C 00 00 04 */ cmpwi r0, 4 -/* 801092B0 00106210 40 80 05 70 */ bge lbl_80109820 -/* 801092B4 00106214 48 00 05 5C */ b lbl_80109810 -lbl_801092B8: -/* 801092B8 00106218 80 9F 00 00 */ lwz r4, 0(r31) -/* 801092BC 0010621C 80 04 00 10 */ lwz r0, 0x10(r4) -/* 801092C0 00106220 28 00 00 00 */ cmplwi r0, 0 -/* 801092C4 00106224 41 82 00 E8 */ beq lbl_801093AC -/* 801092C8 00106228 48 23 7B 45 */ bl GetObj__6CTokenFv -/* 801092CC 0010622C 83 A3 00 04 */ lwz r29, 4(r3) -/* 801092D0 00106230 38 7F 00 08 */ addi r3, r31, 8 -/* 801092D4 00106234 80 9D 00 04 */ lwz r4, 4(r29) -/* 801092D8 00106238 4B EF F6 85 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 801092DC 0010623C 83 9D 00 0C */ lwz r28, 0xc(r29) -/* 801092E0 00106240 48 00 00 A0 */ b lbl_80109380 -lbl_801092E4: -/* 801092E4 00106244 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801092E8 00106248 7F 85 E3 78 */ mr r5, r28 -/* 801092EC 0010624C 38 61 00 18 */ addi r3, r1, 0x18 -/* 801092F0 00106250 81 84 00 00 */ lwz r12, 0(r4) -/* 801092F4 00106254 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 801092F8 00106258 7D 89 03 A6 */ mtctr r12 -/* 801092FC 0010625C 4E 80 04 21 */ bctrl -/* 80109300 00106260 38 61 00 20 */ addi r3, r1, 0x20 -/* 80109304 00106264 38 81 00 18 */ addi r4, r1, 0x18 -/* 80109308 00106268 48 23 7B A1 */ bl __ct__6CTokenFRC6CToken -/* 8010930C 0010626C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80109310 00106270 38 80 FF FF */ li r4, -1 -/* 80109314 00106274 48 23 7B 2D */ bl __dt__6CTokenFv -/* 80109318 00106278 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010931C 0010627C 48 23 7A 69 */ bl Lock__6CTokenFv -/* 80109320 00106280 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80109324 00106284 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 80109328 00106288 7C 00 28 00 */ cmpw r0, r5 -/* 8010932C 0010628C 41 80 00 1C */ blt lbl_80109348 -/* 80109330 00106290 2C 05 00 00 */ cmpwi r5, 0 -/* 80109334 00106294 38 7F 00 08 */ addi r3, r31, 8 -/* 80109338 00106298 38 80 00 04 */ li r4, 4 -/* 8010933C 0010629C 41 82 00 08 */ beq lbl_80109344 -/* 80109340 001062A0 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80109344: -/* 80109344 001062A4 4B EF F6 19 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_80109348: -/* 80109348 001062A8 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 8010934C 001062AC 80 7F 00 14 */ lwz r3, 0x14(r31) -/* 80109350 001062B0 54 00 18 38 */ slwi r0, r0, 3 -/* 80109354 001062B4 7C 63 02 15 */ add. r3, r3, r0 -/* 80109358 001062B8 41 82 00 0C */ beq lbl_80109364 -/* 8010935C 001062BC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80109360 001062C0 48 23 7B 49 */ bl __ct__6CTokenFRC6CToken -lbl_80109364: -/* 80109364 001062C4 80 BF 00 0C */ lwz r5, 0xc(r31) -/* 80109368 001062C8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010936C 001062CC 38 80 FF FF */ li r4, -1 -/* 80109370 001062D0 38 05 00 01 */ addi r0, r5, 1 -/* 80109374 001062D4 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80109378 001062D8 48 23 7A C9 */ bl __dt__6CTokenFv -/* 8010937C 001062DC 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80109380: -/* 80109380 001062E0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80109384 001062E4 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80109388 001062E8 54 00 18 38 */ slwi r0, r0, 3 -/* 8010938C 001062EC 7C 03 02 14 */ add r0, r3, r0 -/* 80109390 001062F0 7C 1C 00 40 */ cmplw r28, r0 -/* 80109394 001062F4 40 82 FF 50 */ bne lbl_801092E4 -/* 80109398 001062F8 7F E3 FB 78 */ mr r3, r31 -/* 8010939C 001062FC 48 23 79 A5 */ bl Unlock__6CTokenFv -/* 801093A0 00106300 38 00 00 01 */ li r0, 1 -/* 801093A4 00106304 90 1F 00 18 */ stw r0, 0x18(r31) -/* 801093A8 00106308 48 00 00 0C */ b lbl_801093B4 -lbl_801093AC: -/* 801093AC 0010630C 38 60 00 00 */ li r3, 0 -/* 801093B0 00106310 48 00 04 74 */ b lbl_80109824 -lbl_801093B4: -/* 801093B4 00106314 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 801093B8 00106318 80 BF 00 14 */ lwz r5, 0x14(r31) -/* 801093BC 0010631C 54 00 18 38 */ slwi r0, r0, 3 -/* 801093C0 00106320 7C 85 02 14 */ add r4, r5, r0 -/* 801093C4 00106324 48 00 00 20 */ b lbl_801093E4 -lbl_801093C8: -/* 801093C8 00106328 80 65 00 00 */ lwz r3, 0(r5) -/* 801093CC 0010632C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 801093D0 00106330 28 00 00 00 */ cmplwi r0, 0 -/* 801093D4 00106334 40 82 00 0C */ bne lbl_801093E0 -/* 801093D8 00106338 38 60 00 00 */ li r3, 0 -/* 801093DC 0010633C 48 00 04 48 */ b lbl_80109824 -lbl_801093E0: -/* 801093E0 00106340 38 A5 00 08 */ addi r5, r5, 8 -lbl_801093E4: -/* 801093E4 00106344 7C 05 20 40 */ cmplw r5, r4 -/* 801093E8 00106348 40 82 FF E0 */ bne lbl_801093C8 -/* 801093EC 0010634C 38 00 00 02 */ li r0, 2 -/* 801093F0 00106350 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 801093F4 00106354 38 63 EE C4 */ addi r3, r3, lbl_803CEEC4@l -/* 801093F8 00106358 90 1F 00 18 */ stw r0, 0x18(r31) -/* 801093FC 0010635C 38 83 02 AC */ addi r4, r3, 0x2ac -/* 80109400 00106360 38 60 05 54 */ li r3, 0x554 -/* 80109404 00106364 38 A0 00 00 */ li r5, 0 -/* 80109408 00106368 48 20 C4 65 */ bl __nw__FUlPCcPCc -/* 8010940C 0010636C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80109410 00106370 41 82 00 10 */ beq lbl_80109420 -/* 80109414 00106374 7F C4 F3 78 */ mr r4, r30 -/* 80109418 00106378 48 00 B2 B5 */ bl __ct__12CPlayerVisorFRC13CStateManager -/* 8010941C 0010637C 7C 7D 1B 78 */ mr r29, r3 -lbl_80109420: -/* 80109420 00106380 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 80109424 00106384 38 80 00 01 */ li r4, 1 -/* 80109428 00106388 48 00 AF E5 */ bl __dt__12CPlayerVisorFv -/* 8010942C 0010638C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 80109430 00106390 93 BF 00 30 */ stw r29, 0x30(r31) -/* 80109434 00106394 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l -/* 80109438 00106398 38 60 08 A0 */ li r3, 0x8a0 -/* 8010943C 0010639C 38 84 02 AC */ addi r4, r4, 0x2ac -/* 80109440 001063A0 38 A0 00 00 */ li r5, 0 -/* 80109444 001063A4 48 20 C4 29 */ bl __nw__FUlPCcPCc -/* 80109448 001063A8 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8010944C 001063AC 41 82 00 10 */ beq lbl_8010945C -/* 80109450 001063B0 7F C4 F3 78 */ mr r4, r30 -/* 80109454 001063B4 4B F6 14 F9 */ bl __ct__9CSamusHudFRC13CStateManager -/* 80109458 001063B8 7C 7D 1B 78 */ mr r29, r3 -lbl_8010945C: -/* 8010945C 001063BC 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80109460 001063C0 28 03 00 00 */ cmplwi r3, 0 -/* 80109464 001063C4 41 82 00 18 */ beq lbl_8010947C -/* 80109468 001063C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8010946C 001063CC 38 80 00 01 */ li r4, 1 -/* 80109470 001063D0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80109474 001063D4 7D 89 03 A6 */ mtctr r12 -/* 80109478 001063D8 4E 80 04 21 */ bctrl -lbl_8010947C: -/* 8010947C 001063DC 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 80109480 001063E0 93 BF 00 34 */ stw r29, 0x34(r31) -/* 80109484 001063E4 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l -/* 80109488 001063E8 38 60 03 30 */ li r3, 0x330 -/* 8010948C 001063EC 38 84 02 AC */ addi r4, r4, 0x2ac -/* 80109490 001063F0 38 A0 00 00 */ li r5, 0 -/* 80109494 001063F4 48 20 C3 D9 */ bl __nw__FUlPCcPCc -/* 80109498 001063F8 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8010949C 001063FC 41 82 00 10 */ beq lbl_801094AC -/* 801094A0 00106400 7F C4 F3 78 */ mr r4, r30 -/* 801094A4 00106404 4B F9 40 21 */ bl __ct__11CAutoMapperFR13CStateManager -/* 801094A8 00106408 7C 7D 1B 78 */ mr r29, r3 -lbl_801094AC: -/* 801094AC 0010640C 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 801094B0 00106410 28 03 00 00 */ cmplwi r3, 0 -/* 801094B4 00106414 41 82 00 18 */ beq lbl_801094CC -/* 801094B8 00106418 81 83 00 00 */ lwz r12, 0(r3) -/* 801094BC 0010641C 38 80 00 01 */ li r4, 1 -/* 801094C0 00106420 81 8C 00 08 */ lwz r12, 8(r12) -/* 801094C4 00106424 7D 89 03 A6 */ mtctr r12 -/* 801094C8 00106428 4E 80 04 21 */ bctrl -lbl_801094CC: -/* 801094CC 0010642C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 801094D0 00106430 93 BF 00 38 */ stw r29, 0x38(r31) -/* 801094D4 00106434 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l -/* 801094D8 00106438 38 60 00 54 */ li r3, 0x54 -/* 801094DC 0010643C 38 84 02 AC */ addi r4, r4, 0x2ac -/* 801094E0 00106440 38 A0 00 00 */ li r5, 0 -/* 801094E4 00106444 48 20 C3 89 */ bl __nw__FUlPCcPCc -/* 801094E8 00106448 7C 7D 1B 79 */ or. r29, r3, r3 -/* 801094EC 0010644C 41 82 00 0C */ beq lbl_801094F8 -/* 801094F0 00106450 48 15 46 09 */ bl __ct__16CPauseScreenBlurFv -/* 801094F4 00106454 7C 7D 1B 78 */ mr r29, r3 -lbl_801094F8: -/* 801094F8 00106458 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 801094FC 0010645C 28 03 00 00 */ cmplwi r3, 0 -/* 80109500 00106460 41 82 00 18 */ beq lbl_80109518 -/* 80109504 00106464 81 83 00 00 */ lwz r12, 0(r3) -/* 80109508 00106468 38 80 00 01 */ li r4, 1 -/* 8010950C 0010646C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80109510 00106470 7D 89 03 A6 */ mtctr r12 -/* 80109514 00106474 4E 80 04 21 */ bctrl -lbl_80109518: -/* 80109518 00106478 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 8010951C 0010647C 93 BF 00 3C */ stw r29, 0x3c(r31) -/* 80109520 00106480 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l -/* 80109524 00106484 38 60 00 74 */ li r3, 0x74 -/* 80109528 00106488 38 84 02 AC */ addi r4, r4, 0x2ac -/* 8010952C 0010648C 38 A0 00 00 */ li r5, 0 -/* 80109530 00106490 48 20 C3 3D */ bl __nw__FUlPCcPCc -/* 80109534 00106494 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80109538 00106498 41 82 00 10 */ beq lbl_80109548 -/* 8010953C 0010649C 7F C4 F3 78 */ mr r4, r30 -/* 80109540 001064A0 48 05 21 11 */ bl __ct__20CSamusFaceReflectionFRC13CStateManager -/* 80109544 001064A4 7C 7C 1B 78 */ mr r28, r3 -lbl_80109548: -/* 80109548 001064A8 83 BF 00 40 */ lwz r29, 0x40(r31) -/* 8010954C 001064AC 28 1D 00 00 */ cmplwi r29, 0 -/* 80109550 001064B0 41 82 00 2C */ beq lbl_8010957C -/* 80109554 001064B4 34 1D 00 4C */ addic. r0, r29, 0x4c -/* 80109558 001064B8 41 82 00 10 */ beq lbl_80109568 -/* 8010955C 001064BC 80 7D 00 4C */ lwz r3, 0x4c(r29) -/* 80109560 001064C0 38 80 00 01 */ li r4, 1 -/* 80109564 001064C4 4B FF BB 71 */ bl __dt__12CActorLightsFv -lbl_80109568: -/* 80109568 001064C8 7F A3 EB 78 */ mr r3, r29 -/* 8010956C 001064CC 38 80 FF FF */ li r4, -1 -/* 80109570 001064D0 48 00 D4 DD */ bl __dt__10CModelDataFv -/* 80109574 001064D4 7F A3 EB 78 */ mr r3, r29 -/* 80109578 001064D8 48 20 C3 B9 */ bl Free__7CMemoryFPCv -lbl_8010957C: -/* 8010957C 001064DC 93 9F 00 40 */ stw r28, 0x40(r31) -lbl_80109580: -/* 80109580 001064E0 80 7F 00 38 */ lwz r3, 0x38(r31) -/* 80109584 001064E4 4B F9 36 A9 */ bl CheckLoadComplete__11CAutoMapperFv -/* 80109588 001064E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010958C 001064EC 41 82 02 7C */ beq lbl_80109808 -/* 80109590 001064F0 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80109594 001064F4 7F C4 F3 78 */ mr r4, r30 -/* 80109598 001064F8 4B F6 07 89 */ bl CheckLoadComplete__9CSamusHudFRC13CStateManager -/* 8010959C 001064FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801095A0 00106500 41 82 02 68 */ beq lbl_80109808 -/* 801095A4 00106504 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 801095A8 00106508 28 00 00 00 */ cmplwi r0, 0 -/* 801095AC 0010650C 41 82 00 0C */ beq lbl_801095B8 -/* 801095B0 00106510 38 60 00 01 */ li r3, 1 -/* 801095B4 00106514 48 00 00 3C */ b lbl_801095F0 -lbl_801095B8: -/* 801095B8 00106518 88 1F 00 54 */ lbz r0, 0x54(r31) -/* 801095BC 0010651C 28 00 00 00 */ cmplwi r0, 0 -/* 801095C0 00106520 41 82 00 2C */ beq lbl_801095EC -/* 801095C4 00106524 80 7F 00 50 */ lwz r3, 0x50(r31) -/* 801095C8 00106528 80 03 00 10 */ lwz r0, 0x10(r3) -/* 801095CC 0010652C 28 00 00 00 */ cmplwi r0, 0 -/* 801095D0 00106530 41 82 00 1C */ beq lbl_801095EC -/* 801095D4 00106534 38 7F 00 50 */ addi r3, r31, 0x50 -/* 801095D8 00106538 48 23 78 35 */ bl GetObj__6CTokenFv -/* 801095DC 0010653C 80 03 00 04 */ lwz r0, 4(r3) -/* 801095E0 00106540 38 60 00 01 */ li r3, 1 -/* 801095E4 00106544 90 1F 00 58 */ stw r0, 0x58(r31) -/* 801095E8 00106548 48 00 00 08 */ b lbl_801095F0 -lbl_801095EC: -/* 801095EC 0010654C 38 60 00 00 */ li r3, 0 -lbl_801095F0: -/* 801095F0 00106550 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801095F4 00106554 41 82 02 14 */ beq lbl_80109808 -/* 801095F8 00106558 7F E3 FB 78 */ mr r3, r31 -/* 801095FC 0010655C 48 00 02 49 */ bl CheckDGRPLoadComplete__17CInGameGuiManagerFv -/* 80109600 00106560 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80109604 00106564 41 82 02 04 */ beq lbl_80109808 -/* 80109608 00106568 38 00 00 00 */ li r0, 0 -/* 8010960C 0010656C 38 7F 00 08 */ addi r3, r31, 8 -/* 80109610 00106570 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80109614 00106574 38 81 00 68 */ addi r4, r1, 0x68 -/* 80109618 00106578 90 01 00 70 */ stw r0, 0x70(r1) -/* 8010961C 0010657C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80109620 00106580 4B EF D1 E5 */ bl sub_80006804 -/* 80109624 00106584 80 01 00 6C */ lwz r0, 0x6c(r1) -/* 80109628 00106588 83 81 00 74 */ lwz r28, 0x74(r1) -/* 8010962C 0010658C 54 00 18 38 */ slwi r0, r0, 3 -/* 80109630 00106590 7F BC 02 14 */ add r29, r28, r0 -/* 80109634 00106594 93 81 00 0C */ stw r28, 0xc(r1) -/* 80109638 00106598 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8010963C 0010659C 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80109640 001065A0 93 81 00 08 */ stw r28, 8(r1) -/* 80109644 001065A4 48 00 00 14 */ b lbl_80109658 -lbl_80109648: -/* 80109648 001065A8 7F 83 E3 78 */ mr r3, r28 -/* 8010964C 001065AC 38 80 FF FF */ li r4, -1 -/* 80109650 001065B0 48 23 77 F1 */ bl __dt__6CTokenFv -/* 80109654 001065B4 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80109658: -/* 80109658 001065B8 7C 1C E8 40 */ cmplw r28, r29 -/* 8010965C 001065BC 40 82 FF EC */ bne lbl_80109648 -/* 80109660 001065C0 80 61 00 74 */ lwz r3, 0x74(r1) -/* 80109664 001065C4 28 03 00 00 */ cmplwi r3, 0 -/* 80109668 001065C8 41 82 00 08 */ beq lbl_80109670 -/* 8010966C 001065CC 48 20 C2 C5 */ bl Free__7CMemoryFPCv -lbl_80109670: -/* 80109670 001065D0 7F E3 FB 78 */ mr r3, r31 -/* 80109674 001065D4 48 00 02 4D */ bl sub_801098c0 -/* 80109678 001065D8 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha -/* 8010967C 001065DC 38 61 00 58 */ addi r3, r1, 0x58 -/* 80109680 001065E0 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l -/* 80109684 001065E4 38 84 02 B3 */ addi r4, r4, 0x2b3 -/* 80109688 001065E8 4B EF B6 31 */ bl string_l__4rstlFPCc -/* 8010968C 001065EC 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80109690 001065F0 38 81 00 58 */ addi r4, r1, 0x58 -/* 80109694 001065F4 80 63 02 74 */ lwz r3, 0x274(r3) -/* 80109698 001065F8 48 1B 8B 3D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8010969C 001065FC 90 7F 01 44 */ stw r3, 0x144(r31) -/* 801096A0 00106600 38 61 00 58 */ addi r3, r1, 0x58 -/* 801096A4 00106604 48 23 44 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 801096A8 00106608 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha -/* 801096AC 0010660C 38 61 00 48 */ addi r3, r1, 0x48 -/* 801096B0 00106610 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l -/* 801096B4 00106614 38 84 02 C9 */ addi r4, r4, 0x2c9 -/* 801096B8 00106618 4B EF B6 01 */ bl string_l__4rstlFPCc -/* 801096BC 0010661C 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 801096C0 00106620 38 81 00 48 */ addi r4, r1, 0x48 -/* 801096C4 00106624 80 63 02 74 */ lwz r3, 0x274(r3) -/* 801096C8 00106628 48 1B 8B 0D */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 801096CC 0010662C 90 7F 01 48 */ stw r3, 0x148(r31) -/* 801096D0 00106630 38 61 00 48 */ addi r3, r1, 0x48 -/* 801096D4 00106634 48 23 44 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 801096D8 00106638 80 BF 00 34 */ lwz r5, 0x34(r31) -/* 801096DC 0010663C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 801096E0 00106640 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l -/* 801096E4 00106644 38 61 00 38 */ addi r3, r1, 0x38 -/* 801096E8 00106648 80 A5 02 74 */ lwz r5, 0x274(r5) -/* 801096EC 0010664C 38 84 02 DA */ addi r4, r4, 0x2da -/* 801096F0 00106650 80 05 00 14 */ lwz r0, 0x14(r5) -/* 801096F4 00106654 90 1F 01 4C */ stw r0, 0x14c(r31) -/* 801096F8 00106658 4B EF B5 C1 */ bl string_l__4rstlFPCc -/* 801096FC 0010665C 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80109700 00106660 38 81 00 38 */ addi r4, r1, 0x38 -/* 80109704 00106664 80 63 02 74 */ lwz r3, 0x274(r3) -/* 80109708 00106668 48 1B 8A CD */ bl "FindWidget__9CGuiFrameCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8010970C 0010666C 90 7F 01 50 */ stw r3, 0x150(r31) -/* 80109710 00106670 38 61 00 38 */ addi r3, r1, 0x38 -/* 80109714 00106674 48 23 43 CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80109718 00106678 80 9F 01 44 */ lwz r4, 0x144(r31) -/* 8010971C 0010667C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80109720 00106680 38 84 00 34 */ addi r4, r4, 0x34 -/* 80109724 00106684 48 20 8A 05 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 80109728 00106688 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8010972C 0010668C 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 80109730 00106690 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l -/* 80109734 00106694 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 80109738 00106698 D0 3F 01 54 */ stfs f1, 0x154(r31) -/* 8010973C 0010669C 38 61 00 78 */ addi r3, r1, 0x78 -/* 80109740 001066A0 38 9F 01 70 */ addi r4, r31, 0x170 -/* 80109744 001066A4 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 80109748 001066A8 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8010974C 001066AC 90 BF 01 58 */ stw r5, 0x158(r31) -/* 80109750 001066B0 90 1F 01 5C */ stw r0, 0x15c(r31) -/* 80109754 001066B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80109758 001066B8 90 1F 01 60 */ stw r0, 0x160(r31) -/* 8010975C 001066BC 80 BF 01 44 */ lwz r5, 0x144(r31) -/* 80109760 001066C0 C0 65 00 60 */ lfs f3, 0x60(r5) -/* 80109764 001066C4 C0 45 00 50 */ lfs f2, 0x50(r5) -/* 80109768 001066C8 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 8010976C 001066CC D0 3F 01 64 */ stfs f1, 0x164(r31) -/* 80109770 001066D0 D0 5F 01 68 */ stfs f2, 0x168(r31) -/* 80109774 001066D4 D0 7F 01 6C */ stfs f3, 0x16c(r31) -/* 80109778 001066D8 C0 26 00 00 */ lfs f1, 0(r6) -/* 8010977C 001066DC D0 3F 01 70 */ stfs f1, 0x170(r31) -/* 80109780 001066E0 80 A6 00 04 */ lwz r5, 4(r6) -/* 80109784 001066E4 80 06 00 08 */ lwz r0, 8(r6) -/* 80109788 001066E8 90 BF 01 74 */ stw r5, 0x174(r31) -/* 8010978C 001066EC 90 1F 01 78 */ stw r0, 0x178(r31) -/* 80109790 001066F0 80 06 00 0C */ lwz r0, 0xc(r6) -/* 80109794 001066F4 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 80109798 001066F8 80 DF 01 4C */ lwz r6, 0x14c(r31) -/* 8010979C 001066FC 80 AD A1 44 */ lwz r5, gpTweakAutoMapper@sda21(r13) -/* 801097A0 00106700 C0 26 00 40 */ lfs f1, 0x40(r6) -/* 801097A4 00106704 C0 86 00 50 */ lfs f4, 0x50(r6) -/* 801097A8 00106708 C0 6D 89 D0 */ lfs f3, lbl_805A7590@sda21(r13) -/* 801097AC 0010670C EC 01 00 2A */ fadds f0, f1, f0 -/* 801097B0 00106710 C0 46 00 60 */ lfs f2, 0x60(r6) -/* 801097B4 00106714 C0 25 00 EC */ lfs f1, 0xec(r5) -/* 801097B8 00106718 EC 64 18 2A */ fadds f3, f4, f3 -/* 801097BC 0010671C D0 1F 01 80 */ stfs f0, 0x180(r31) -/* 801097C0 00106720 EC 02 08 2A */ fadds f0, f2, f1 -/* 801097C4 00106724 D0 7F 01 84 */ stfs f3, 0x184(r31) -/* 801097C8 00106728 D0 1F 01 88 */ stfs f0, 0x188(r31) -/* 801097CC 0010672C 48 20 88 C1 */ bl BuildTransform__11CQuaternionCFv -/* 801097D0 00106730 38 61 00 9C */ addi r3, r1, 0x9c -/* 801097D4 00106734 38 81 00 78 */ addi r4, r1, 0x78 -/* 801097D8 00106738 38 BF 01 80 */ addi r5, r31, 0x180 -/* 801097DC 0010673C 48 20 9A 9D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 801097E0 00106740 7C 64 1B 78 */ mr r4, r3 -/* 801097E4 00106744 38 7F 01 8C */ addi r3, r31, 0x18c -/* 801097E8 00106748 48 20 93 59 */ bl __as__12CTransform4fFRC12CTransform4f -/* 801097EC 0010674C 7F E3 FB 78 */ mr r3, r31 -/* 801097F0 00106750 7F C5 F3 78 */ mr r5, r30 -/* 801097F4 00106754 38 80 00 01 */ li r4, 1 -/* 801097F8 00106758 4B FF DE 49 */ bl BeginStateTransition__17CInGameGuiManagerF15EInGameGuiStateRC13CStateManager -/* 801097FC 0010675C 38 00 00 03 */ li r0, 3 -/* 80109800 00106760 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80109804 00106764 48 00 00 0C */ b lbl_80109810 -lbl_80109808: -/* 80109808 00106768 38 60 00 00 */ li r3, 0 -/* 8010980C 0010676C 48 00 00 18 */ b lbl_80109824 -lbl_80109810: -/* 80109810 00106770 80 7F 00 34 */ lwz r3, 0x34(r31) -/* 80109814 00106774 4B F5 CB 15 */ bl Touch__9CSamusHudCFv -/* 80109818 00106778 38 60 00 01 */ li r3, 1 -/* 8010981C 0010677C 48 00 00 08 */ b lbl_80109824 -lbl_80109820: -/* 80109820 00106780 38 60 00 00 */ li r3, 0 -lbl_80109824: -/* 80109824 00106784 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80109828 00106788 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 8010982C 0010678C 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 80109830 00106790 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 80109834 00106794 83 81 00 D0 */ lwz r28, 0xd0(r1) -/* 80109838 00106798 7C 08 03 A6 */ mtlr r0 -/* 8010983C 0010679C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80109840 001067A0 4E 80 00 20 */ blr - -.global CheckDGRPLoadComplete__17CInGameGuiManagerFv -CheckDGRPLoadComplete__17CInGameGuiManagerFv: -/* 80109844 001067A4 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 80109848 001067A8 38 83 00 60 */ addi r4, r3, 0x60 -/* 8010984C 001067AC 7C 86 23 78 */ mr r6, r4 -/* 80109850 001067B0 54 00 18 38 */ slwi r0, r0, 3 -/* 80109854 001067B4 7C A4 02 14 */ add r5, r4, r0 -/* 80109858 001067B8 48 00 00 20 */ b lbl_80109878 -lbl_8010985C: -/* 8010985C 001067BC 80 86 00 00 */ lwz r4, 0(r6) -/* 80109860 001067C0 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80109864 001067C4 28 00 00 00 */ cmplwi r0, 0 -/* 80109868 001067C8 40 82 00 0C */ bne lbl_80109874 -/* 8010986C 001067CC 38 60 00 00 */ li r3, 0 -/* 80109870 001067D0 4E 80 00 20 */ blr -lbl_80109874: -/* 80109874 001067D4 38 C6 00 08 */ addi r6, r6, 8 -lbl_80109878: -/* 80109878 001067D8 7C 06 28 40 */ cmplw r6, r5 -/* 8010987C 001067DC 40 82 FF E0 */ bne lbl_8010985C -/* 80109880 001067E0 80 03 00 CC */ lwz r0, 0xcc(r3) -/* 80109884 001067E4 80 A3 00 D4 */ lwz r5, 0xd4(r3) -/* 80109888 001067E8 54 00 18 38 */ slwi r0, r0, 3 -/* 8010988C 001067EC 7C 85 02 14 */ add r4, r5, r0 -/* 80109890 001067F0 48 00 00 20 */ b lbl_801098B0 -lbl_80109894: -/* 80109894 001067F4 80 65 00 00 */ lwz r3, 0(r5) -/* 80109898 001067F8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8010989C 001067FC 28 00 00 00 */ cmplwi r0, 0 -/* 801098A0 00106800 40 82 00 0C */ bne lbl_801098AC -/* 801098A4 00106804 38 60 00 00 */ li r3, 0 -/* 801098A8 00106808 4E 80 00 20 */ blr -lbl_801098AC: -/* 801098AC 0010680C 38 A5 00 08 */ addi r5, r5, 8 -lbl_801098B0: -/* 801098B0 00106810 7C 05 20 40 */ cmplw r5, r4 -/* 801098B4 00106814 40 82 FF E0 */ bne lbl_80109894 -/* 801098B8 00106818 38 60 00 01 */ li r3, 1 -/* 801098BC 0010681C 4E 80 00 20 */ blr - -.global sub_801098c0 -sub_801098c0: -/* 801098C0 00106820 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 801098C4 00106824 7C 08 02 A6 */ mflr r0 -/* 801098C8 00106828 90 01 00 54 */ stw r0, 0x54(r1) -/* 801098CC 0010682C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 801098D0 00106830 3B E0 00 00 */ li r31, 0 -/* 801098D4 00106834 93 C1 00 48 */ stw r30, 0x48(r1) -/* 801098D8 00106838 93 A1 00 44 */ stw r29, 0x44(r1) -/* 801098DC 0010683C 3F A0 54 58 */ lis r29, 0x5458 -/* 801098E0 00106840 93 81 00 40 */ stw r28, 0x40(r1) -/* 801098E4 00106844 7C 7C 1B 78 */ mr r28, r3 -/* 801098E8 00106848 83 C3 00 D4 */ lwz r30, 0xd4(r3) -/* 801098EC 0010684C 48 00 00 20 */ b lbl_8010990C -lbl_801098F0: -/* 801098F0 00106850 7F C3 F3 78 */ mr r3, r30 -/* 801098F4 00106854 48 23 75 19 */ bl GetObj__6CTokenFv -/* 801098F8 00106858 80 63 00 04 */ lwz r3, 4(r3) -/* 801098FC 0010685C 38 9D 54 52 */ addi r4, r29, 0x5452 -/* 80109900 00106860 48 25 B9 BD */ bl sub_803652bc -/* 80109904 00106864 7F FF 1A 14 */ add r31, r31, r3 -/* 80109908 00106868 3B DE 00 08 */ addi r30, r30, 8 -lbl_8010990C: -/* 8010990C 0010686C 80 1C 00 CC */ lwz r0, 0xcc(r28) -/* 80109910 00106870 80 7C 00 D4 */ lwz r3, 0xd4(r28) -/* 80109914 00106874 54 00 18 38 */ slwi r0, r0, 3 -/* 80109918 00106878 7C 03 02 14 */ add r0, r3, r0 -/* 8010991C 0010687C 7C 1E 00 40 */ cmplw r30, r0 -/* 80109920 00106880 40 82 FF D0 */ bne lbl_801098F0 -/* 80109924 00106884 7F E4 FB 78 */ mr r4, r31 -/* 80109928 00106888 38 7C 00 D8 */ addi r3, r28, 0xd8 -/* 8010992C 0010688C 4B F5 A1 F9 */ bl "reserve__Q24rstl37vectorFi" -/* 80109930 00106890 83 DC 00 D4 */ lwz r30, 0xd4(r28) -/* 80109934 00106894 48 00 00 EC */ b lbl_80109A20 -lbl_80109938: -/* 80109938 00106898 7F C3 F3 78 */ mr r3, r30 -/* 8010993C 0010689C 48 23 74 D1 */ bl GetObj__6CTokenFv -/* 80109940 001068A0 83 E3 00 04 */ lwz r31, 4(r3) -/* 80109944 001068A4 83 BF 00 0C */ lwz r29, 0xc(r31) -/* 80109948 001068A8 48 00 00 BC */ b lbl_80109A04 -lbl_8010994C: -/* 8010994C 001068AC 80 7D 00 00 */ lwz r3, 0(r29) -/* 80109950 001068B0 3C 03 AB A8 */ addis r0, r3, 0xaba8 -/* 80109954 001068B4 28 00 54 52 */ cmplwi r0, 0x5452 -/* 80109958 001068B8 40 82 00 A8 */ bne lbl_80109A00 -/* 8010995C 001068BC 80 DC 00 DC */ lwz r6, 0xdc(r28) -/* 80109960 001068C0 80 7C 00 E4 */ lwz r3, 0xe4(r28) -/* 80109964 001068C4 54 C0 10 3A */ slwi r0, r6, 2 -/* 80109968 001068C8 7C A3 02 14 */ add r5, r3, r0 -/* 8010996C 001068CC 90 61 00 20 */ stw r3, 0x20(r1) -/* 80109970 001068D0 90 61 00 24 */ stw r3, 0x24(r1) -/* 80109974 001068D4 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80109978 001068D8 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8010997C 001068DC 48 00 00 10 */ b lbl_8010998C -lbl_80109980: -/* 80109980 001068E0 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80109984 001068E4 38 03 00 04 */ addi r0, r3, 4 -/* 80109988 001068E8 90 01 00 24 */ stw r0, 0x24(r1) -lbl_8010998C: -/* 8010998C 001068EC 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80109990 001068F0 7C 04 28 40 */ cmplw r4, r5 -/* 80109994 001068F4 41 82 00 14 */ beq lbl_801099A8 -/* 80109998 001068F8 80 7D 00 04 */ lwz r3, 4(r29) -/* 8010999C 001068FC 80 04 00 00 */ lwz r0, 0(r4) -/* 801099A0 00106900 7C 03 00 40 */ cmplw r3, r0 -/* 801099A4 00106904 40 82 FF DC */ bne lbl_80109980 -lbl_801099A8: -/* 801099A8 00106908 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801099AC 0010690C 7C 05 00 40 */ cmplw r5, r0 -/* 801099B0 00106910 40 82 00 50 */ bne lbl_80109A00 -/* 801099B4 00106914 80 1C 00 E0 */ lwz r0, 0xe0(r28) -/* 801099B8 00106918 7C 06 00 00 */ cmpw r6, r0 -/* 801099BC 0010691C 41 80 00 1C */ blt lbl_801099D8 -/* 801099C0 00106920 2C 00 00 00 */ cmpwi r0, 0 -/* 801099C4 00106924 38 7C 00 D8 */ addi r3, r28, 0xd8 -/* 801099C8 00106928 38 80 00 04 */ li r4, 4 -/* 801099CC 0010692C 41 82 00 08 */ beq lbl_801099D4 -/* 801099D0 00106930 54 04 08 3C */ slwi r4, r0, 1 -lbl_801099D4: -/* 801099D4 00106934 4B F5 A1 51 */ bl "reserve__Q24rstl37vectorFi" -lbl_801099D8: -/* 801099D8 00106938 80 1C 00 DC */ lwz r0, 0xdc(r28) -/* 801099DC 0010693C 80 7C 00 E4 */ lwz r3, 0xe4(r28) -/* 801099E0 00106940 54 00 10 3A */ slwi r0, r0, 2 -/* 801099E4 00106944 7C 63 02 15 */ add. r3, r3, r0 -/* 801099E8 00106948 41 82 00 0C */ beq lbl_801099F4 -/* 801099EC 0010694C 80 1D 00 04 */ lwz r0, 4(r29) -/* 801099F0 00106950 90 03 00 00 */ stw r0, 0(r3) -lbl_801099F4: -/* 801099F4 00106954 80 7C 00 DC */ lwz r3, 0xdc(r28) -/* 801099F8 00106958 38 03 00 01 */ addi r0, r3, 1 -/* 801099FC 0010695C 90 1C 00 DC */ stw r0, 0xdc(r28) -lbl_80109A00: -/* 80109A00 00106960 3B BD 00 08 */ addi r29, r29, 8 -lbl_80109A04: -/* 80109A04 00106964 80 1F 00 04 */ lwz r0, 4(r31) -/* 80109A08 00106968 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80109A0C 0010696C 54 00 18 38 */ slwi r0, r0, 3 -/* 80109A10 00106970 7C 03 02 14 */ add r0, r3, r0 -/* 80109A14 00106974 7C 1D 00 40 */ cmplw r29, r0 -/* 80109A18 00106978 40 82 FF 34 */ bne lbl_8010994C -/* 80109A1C 0010697C 3B DE 00 08 */ addi r30, r30, 8 -lbl_80109A20: -/* 80109A20 00106980 80 1C 00 CC */ lwz r0, 0xcc(r28) -/* 80109A24 00106984 80 7C 00 D4 */ lwz r3, 0xd4(r28) -/* 80109A28 00106988 54 00 18 38 */ slwi r0, r0, 3 -/* 80109A2C 0010698C 7C 03 02 14 */ add r0, r3, r0 -/* 80109A30 00106990 7C 1E 00 40 */ cmplw r30, r0 -/* 80109A34 00106994 40 82 FF 04 */ bne lbl_80109938 -/* 80109A38 00106998 38 00 00 00 */ li r0, 0 -/* 80109A3C 0010699C 38 7C 00 C8 */ addi r3, r28, 0xc8 -/* 80109A40 001069A0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80109A44 001069A4 38 81 00 30 */ addi r4, r1, 0x30 -/* 80109A48 001069A8 90 01 00 38 */ stw r0, 0x38(r1) -/* 80109A4C 001069AC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80109A50 001069B0 48 00 01 2D */ bl sub_80109b7c -/* 80109A54 001069B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80109A58 001069B8 83 C1 00 3C */ lwz r30, 0x3c(r1) -/* 80109A5C 001069BC 54 00 18 38 */ slwi r0, r0, 3 -/* 80109A60 001069C0 7F BE 02 14 */ add r29, r30, r0 -/* 80109A64 001069C4 93 C1 00 0C */ stw r30, 0xc(r1) -/* 80109A68 001069C8 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80109A6C 001069CC 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80109A70 001069D0 93 C1 00 08 */ stw r30, 8(r1) -/* 80109A74 001069D4 48 00 00 1C */ b lbl_80109A90 -lbl_80109A78: -/* 80109A78 001069D8 28 1E 00 00 */ cmplwi r30, 0 -/* 80109A7C 001069DC 41 82 00 10 */ beq lbl_80109A8C -/* 80109A80 001069E0 7F C3 F3 78 */ mr r3, r30 -/* 80109A84 001069E4 38 80 00 00 */ li r4, 0 -/* 80109A88 001069E8 48 23 73 B9 */ bl __dt__6CTokenFv -lbl_80109A8C: -/* 80109A8C 001069EC 3B DE 00 08 */ addi r30, r30, 8 -lbl_80109A90: -/* 80109A90 001069F0 7C 1E E8 40 */ cmplw r30, r29 -/* 80109A94 001069F4 40 82 FF E4 */ bne lbl_80109A78 -/* 80109A98 001069F8 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80109A9C 001069FC 28 03 00 00 */ cmplwi r3, 0 -/* 80109AA0 00106A00 41 82 00 08 */ beq lbl_80109AA8 -/* 80109AA4 00106A04 48 20 BE 8D */ bl Free__7CMemoryFPCv -lbl_80109AA8: -/* 80109AA8 00106A08 38 7C 00 C0 */ addi r3, r28, 0xc0 -/* 80109AAC 00106A0C 48 23 73 61 */ bl GetObj__6CTokenFv -/* 80109AB0 00106A10 83 A3 00 04 */ lwz r29, 4(r3) -/* 80109AB4 00106A14 38 7C 00 E8 */ addi r3, r28, 0xe8 -/* 80109AB8 00106A18 80 9D 00 04 */ lwz r4, 4(r29) -/* 80109ABC 00106A1C 4B EF EE A1 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 80109AC0 00106A20 83 DD 00 0C */ lwz r30, 0xc(r29) -/* 80109AC4 00106A24 48 00 00 80 */ b lbl_80109B44 -lbl_80109AC8: -/* 80109AC8 00106A28 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80109ACC 00106A2C 7F C5 F3 78 */ mr r5, r30 -/* 80109AD0 00106A30 38 61 00 28 */ addi r3, r1, 0x28 -/* 80109AD4 00106A34 81 84 00 00 */ lwz r12, 0(r4) -/* 80109AD8 00106A38 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80109ADC 00106A3C 7D 89 03 A6 */ mtctr r12 -/* 80109AE0 00106A40 4E 80 04 21 */ bctrl -/* 80109AE4 00106A44 80 1C 00 EC */ lwz r0, 0xec(r28) -/* 80109AE8 00106A48 80 BC 00 F0 */ lwz r5, 0xf0(r28) -/* 80109AEC 00106A4C 7C 00 28 00 */ cmpw r0, r5 -/* 80109AF0 00106A50 41 80 00 1C */ blt lbl_80109B0C -/* 80109AF4 00106A54 2C 05 00 00 */ cmpwi r5, 0 -/* 80109AF8 00106A58 38 7C 00 E8 */ addi r3, r28, 0xe8 -/* 80109AFC 00106A5C 38 80 00 04 */ li r4, 4 -/* 80109B00 00106A60 41 82 00 08 */ beq lbl_80109B08 -/* 80109B04 00106A64 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80109B08: -/* 80109B08 00106A68 4B EF EE 55 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_80109B0C: -/* 80109B0C 00106A6C 80 1C 00 EC */ lwz r0, 0xec(r28) -/* 80109B10 00106A70 80 7C 00 F4 */ lwz r3, 0xf4(r28) -/* 80109B14 00106A74 54 00 18 38 */ slwi r0, r0, 3 -/* 80109B18 00106A78 7C 63 02 15 */ add. r3, r3, r0 -/* 80109B1C 00106A7C 41 82 00 0C */ beq lbl_80109B28 -/* 80109B20 00106A80 38 81 00 28 */ addi r4, r1, 0x28 -/* 80109B24 00106A84 48 23 73 85 */ bl __ct__6CTokenFRC6CToken -lbl_80109B28: -/* 80109B28 00106A88 80 BC 00 EC */ lwz r5, 0xec(r28) -/* 80109B2C 00106A8C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80109B30 00106A90 38 80 FF FF */ li r4, -1 -/* 80109B34 00106A94 38 05 00 01 */ addi r0, r5, 1 -/* 80109B38 00106A98 90 1C 00 EC */ stw r0, 0xec(r28) -/* 80109B3C 00106A9C 48 23 73 05 */ bl __dt__6CTokenFv -/* 80109B40 00106AA0 3B DE 00 08 */ addi r30, r30, 8 -lbl_80109B44: -/* 80109B44 00106AA4 80 1D 00 04 */ lwz r0, 4(r29) -/* 80109B48 00106AA8 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80109B4C 00106AAC 54 00 18 38 */ slwi r0, r0, 3 -/* 80109B50 00106AB0 7C 03 02 14 */ add r0, r3, r0 -/* 80109B54 00106AB4 7C 1E 00 40 */ cmplw r30, r0 -/* 80109B58 00106AB8 40 82 FF 70 */ bne lbl_80109AC8 -/* 80109B5C 00106ABC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80109B60 00106AC0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80109B64 00106AC4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80109B68 00106AC8 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80109B6C 00106ACC 83 81 00 40 */ lwz r28, 0x40(r1) -/* 80109B70 00106AD0 7C 08 03 A6 */ mtlr r0 -/* 80109B74 00106AD4 38 21 00 50 */ addi r1, r1, 0x50 -/* 80109B78 00106AD8 4E 80 00 20 */ blr - -.global sub_80109b7c -sub_80109b7c: -/* 80109B7C 00106ADC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80109B80 00106AE0 7C 08 02 A6 */ mflr r0 -/* 80109B84 00106AE4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80109B88 00106AE8 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80109B8C 00106AEC 7C 7F 1B 78 */ mr r31, r3 -/* 80109B90 00106AF0 7C 9B 23 78 */ mr r27, r4 -/* 80109B94 00106AF4 7C 1F D8 40 */ cmplw r31, r27 -/* 80109B98 00106AF8 40 82 00 08 */ bne lbl_80109BA0 -/* 80109B9C 00106AFC 48 00 00 D0 */ b lbl_80109C6C -lbl_80109BA0: -/* 80109BA0 00106B00 80 1F 00 04 */ lwz r0, 4(r31) -/* 80109BA4 00106B04 83 BF 00 0C */ lwz r29, 0xc(r31) -/* 80109BA8 00106B08 54 00 18 38 */ slwi r0, r0, 3 -/* 80109BAC 00106B0C 7F DD 02 14 */ add r30, r29, r0 -/* 80109BB0 00106B10 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80109BB4 00106B14 93 C1 00 14 */ stw r30, 0x14(r1) -/* 80109BB8 00106B18 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80109BBC 00106B1C 93 A1 00 08 */ stw r29, 8(r1) -/* 80109BC0 00106B20 48 00 00 1C */ b lbl_80109BDC -lbl_80109BC4: -/* 80109BC4 00106B24 28 1D 00 00 */ cmplwi r29, 0 -/* 80109BC8 00106B28 41 82 00 10 */ beq lbl_80109BD8 -/* 80109BCC 00106B2C 7F A3 EB 78 */ mr r3, r29 -/* 80109BD0 00106B30 38 80 00 00 */ li r4, 0 -/* 80109BD4 00106B34 48 23 72 6D */ bl __dt__6CTokenFv -lbl_80109BD8: -/* 80109BD8 00106B38 3B BD 00 08 */ addi r29, r29, 8 -lbl_80109BDC: -/* 80109BDC 00106B3C 7C 1D F0 40 */ cmplw r29, r30 -/* 80109BE0 00106B40 40 82 FF E4 */ bne lbl_80109BC4 -/* 80109BE4 00106B44 38 00 00 00 */ li r0, 0 -/* 80109BE8 00106B48 90 1F 00 04 */ stw r0, 4(r31) -/* 80109BEC 00106B4C 80 9B 00 04 */ lwz r4, 4(r27) -/* 80109BF0 00106B50 2C 04 00 00 */ cmpwi r4, 0 -/* 80109BF4 00106B54 40 82 00 28 */ bne lbl_80109C1C -/* 80109BF8 00106B58 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80109BFC 00106B5C 28 03 00 00 */ cmplwi r3, 0 -/* 80109C00 00106B60 41 82 00 08 */ beq lbl_80109C08 -/* 80109C04 00106B64 48 20 BD 2D */ bl Free__7CMemoryFPCv -lbl_80109C08: -/* 80109C08 00106B68 38 00 00 00 */ li r0, 0 -/* 80109C0C 00106B6C 90 1F 00 04 */ stw r0, 4(r31) -/* 80109C10 00106B70 90 1F 00 08 */ stw r0, 8(r31) -/* 80109C14 00106B74 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80109C18 00106B78 48 00 00 50 */ b lbl_80109C68 -lbl_80109C1C: -/* 80109C1C 00106B7C 7F E3 FB 78 */ mr r3, r31 -/* 80109C20 00106B80 48 00 0B ED */ bl sub_8010a80c -/* 80109C24 00106B84 80 1B 00 04 */ lwz r0, 4(r27) -/* 80109C28 00106B88 83 9B 00 0C */ lwz r28, 0xc(r27) -/* 80109C2C 00106B8C 54 00 18 38 */ slwi r0, r0, 3 -/* 80109C30 00106B90 83 DF 00 0C */ lwz r30, 0xc(r31) -/* 80109C34 00106B94 7F BC 02 14 */ add r29, r28, r0 -/* 80109C38 00106B98 48 00 00 20 */ b lbl_80109C58 -lbl_80109C3C: -/* 80109C3C 00106B9C 28 1E 00 00 */ cmplwi r30, 0 -/* 80109C40 00106BA0 41 82 00 10 */ beq lbl_80109C50 -/* 80109C44 00106BA4 7F C3 F3 78 */ mr r3, r30 -/* 80109C48 00106BA8 7F 84 E3 78 */ mr r4, r28 -/* 80109C4C 00106BAC 48 23 72 5D */ bl __ct__6CTokenFRC6CToken -lbl_80109C50: -/* 80109C50 00106BB0 3B DE 00 08 */ addi r30, r30, 8 -/* 80109C54 00106BB4 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80109C58: -/* 80109C58 00106BB8 7C 1C E8 40 */ cmplw r28, r29 -/* 80109C5C 00106BBC 40 82 FF E0 */ bne lbl_80109C3C -/* 80109C60 00106BC0 80 1B 00 04 */ lwz r0, 4(r27) -/* 80109C64 00106BC4 90 1F 00 04 */ stw r0, 4(r31) -lbl_80109C68: -/* 80109C68 00106BC8 7F E3 FB 78 */ mr r3, r31 -lbl_80109C6C: -/* 80109C6C 00106BCC BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80109C70 00106BD0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80109C74 00106BD4 7C 08 03 A6 */ mtlr r0 -/* 80109C78 00106BD8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80109C7C 00106BDC 4E 80 00 20 */ blr - -.global __dt__17CInGameGuiManagerFv -__dt__17CInGameGuiManagerFv: -/* 80109C80 00106BE0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80109C84 00106BE4 7C 08 02 A6 */ mflr r0 -/* 80109C88 00106BE8 90 01 00 64 */ stw r0, 0x64(r1) -/* 80109C8C 00106BEC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80109C90 00106BF0 7C 9F 23 78 */ mr r31, r4 -/* 80109C94 00106BF4 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80109C98 00106BF8 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80109C9C 00106BFC 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80109CA0 00106C00 93 81 00 50 */ stw r28, 0x50(r1) -/* 80109CA4 00106C04 41 82 03 C0 */ beq lbl_8010A064 -/* 80109CA8 00106C08 34 1E 01 DC */ addic. r0, r30, 0x1dc -/* 80109CAC 00106C0C 41 82 00 28 */ beq lbl_80109CD4 -/* 80109CB0 00106C10 83 BE 01 DC */ lwz r29, 0x1dc(r30) -/* 80109CB4 00106C14 28 1D 00 00 */ cmplwi r29, 0 -/* 80109CB8 00106C18 41 82 00 1C */ beq lbl_80109CD4 -/* 80109CBC 00106C1C 41 82 00 10 */ beq lbl_80109CCC -/* 80109CC0 00106C20 7F A3 EB 78 */ mr r3, r29 -/* 80109CC4 00106C24 38 80 00 00 */ li r4, 0 -/* 80109CC8 00106C28 48 23 71 79 */ bl __dt__6CTokenFv -lbl_80109CCC: -/* 80109CCC 00106C2C 7F A3 EB 78 */ mr r3, r29 -/* 80109CD0 00106C30 48 20 BC 61 */ bl Free__7CMemoryFPCv -lbl_80109CD4: -/* 80109CD4 00106C34 38 7E 01 2C */ addi r3, r30, 0x12c -/* 80109CD8 00106C38 38 80 FF FF */ li r4, -1 -/* 80109CDC 00106C3C 48 00 0D DD */ bl sub_8010aab8 -/* 80109CE0 00106C40 34 1E 00 F8 */ addic. r0, r30, 0xf8 -/* 80109CE4 00106C44 41 82 00 3C */ beq lbl_80109D20 -/* 80109CE8 00106C48 34 1E 01 1C */ addic. r0, r30, 0x11c -/* 80109CEC 00106C4C 41 82 00 34 */ beq lbl_80109D20 -/* 80109CF0 00106C50 88 1E 01 1C */ lbz r0, 0x11c(r30) -/* 80109CF4 00106C54 28 00 00 00 */ cmplwi r0, 0 -/* 80109CF8 00106C58 41 82 00 28 */ beq lbl_80109D20 -/* 80109CFC 00106C5C 83 BE 01 20 */ lwz r29, 0x120(r30) -/* 80109D00 00106C60 28 1D 00 00 */ cmplwi r29, 0 -/* 80109D04 00106C64 41 82 00 1C */ beq lbl_80109D20 -/* 80109D08 00106C68 41 82 00 10 */ beq lbl_80109D18 -/* 80109D0C 00106C6C 7F A3 EB 78 */ mr r3, r29 -/* 80109D10 00106C70 38 80 00 00 */ li r4, 0 -/* 80109D14 00106C74 48 23 71 2D */ bl __dt__6CTokenFv -lbl_80109D18: -/* 80109D18 00106C78 7F A3 EB 78 */ mr r3, r29 -/* 80109D1C 00106C7C 48 20 BC 15 */ bl Free__7CMemoryFPCv -lbl_80109D20: -/* 80109D20 00106C80 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 80109D24 00106C84 41 82 00 50 */ beq lbl_80109D74 -/* 80109D28 00106C88 80 1E 00 EC */ lwz r0, 0xec(r30) -/* 80109D2C 00106C8C 83 9E 00 F4 */ lwz r28, 0xf4(r30) -/* 80109D30 00106C90 54 00 18 38 */ slwi r0, r0, 3 -/* 80109D34 00106C94 7F BC 02 14 */ add r29, r28, r0 -/* 80109D38 00106C98 93 81 00 3C */ stw r28, 0x3c(r1) -/* 80109D3C 00106C9C 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80109D40 00106CA0 93 A1 00 40 */ stw r29, 0x40(r1) -/* 80109D44 00106CA4 93 81 00 38 */ stw r28, 0x38(r1) -/* 80109D48 00106CA8 48 00 00 14 */ b lbl_80109D5C -lbl_80109D4C: -/* 80109D4C 00106CAC 7F 83 E3 78 */ mr r3, r28 -/* 80109D50 00106CB0 38 80 FF FF */ li r4, -1 -/* 80109D54 00106CB4 48 23 70 ED */ bl __dt__6CTokenFv -/* 80109D58 00106CB8 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80109D5C: -/* 80109D5C 00106CBC 7C 1C E8 40 */ cmplw r28, r29 -/* 80109D60 00106CC0 40 82 FF EC */ bne lbl_80109D4C -/* 80109D64 00106CC4 80 7E 00 F4 */ lwz r3, 0xf4(r30) -/* 80109D68 00106CC8 28 03 00 00 */ cmplwi r3, 0 -/* 80109D6C 00106CCC 41 82 00 08 */ beq lbl_80109D74 -/* 80109D70 00106CD0 48 20 BB C1 */ bl Free__7CMemoryFPCv -lbl_80109D74: -/* 80109D74 00106CD4 34 1E 00 D8 */ addic. r0, r30, 0xd8 -/* 80109D78 00106CD8 41 82 00 44 */ beq lbl_80109DBC -/* 80109D7C 00106CDC 80 1E 00 DC */ lwz r0, 0xdc(r30) -/* 80109D80 00106CE0 80 7E 00 E4 */ lwz r3, 0xe4(r30) -/* 80109D84 00106CE4 54 00 10 3A */ slwi r0, r0, 2 -/* 80109D88 00106CE8 7C 03 02 14 */ add r0, r3, r0 -/* 80109D8C 00106CEC 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80109D90 00106CF0 7C 64 1B 78 */ mr r4, r3 -/* 80109D94 00106CF4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80109D98 00106CF8 90 01 00 30 */ stw r0, 0x30(r1) -/* 80109D9C 00106CFC 90 61 00 28 */ stw r3, 0x28(r1) -/* 80109DA0 00106D00 48 00 00 08 */ b lbl_80109DA8 -lbl_80109DA4: -/* 80109DA4 00106D04 38 84 00 04 */ addi r4, r4, 4 -lbl_80109DA8: -/* 80109DA8 00106D08 7C 04 00 40 */ cmplw r4, r0 -/* 80109DAC 00106D0C 40 82 FF F8 */ bne lbl_80109DA4 -/* 80109DB0 00106D10 28 03 00 00 */ cmplwi r3, 0 -/* 80109DB4 00106D14 41 82 00 08 */ beq lbl_80109DBC -/* 80109DB8 00106D18 48 20 BB 79 */ bl Free__7CMemoryFPCv -lbl_80109DBC: -/* 80109DBC 00106D1C 34 1E 00 C8 */ addic. r0, r30, 0xc8 -/* 80109DC0 00106D20 41 82 00 58 */ beq lbl_80109E18 -/* 80109DC4 00106D24 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 80109DC8 00106D28 83 9E 00 D4 */ lwz r28, 0xd4(r30) -/* 80109DCC 00106D2C 54 00 18 38 */ slwi r0, r0, 3 -/* 80109DD0 00106D30 7F BC 02 14 */ add r29, r28, r0 -/* 80109DD4 00106D34 93 81 00 1C */ stw r28, 0x1c(r1) -/* 80109DD8 00106D38 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80109DDC 00106D3C 93 A1 00 20 */ stw r29, 0x20(r1) -/* 80109DE0 00106D40 93 81 00 18 */ stw r28, 0x18(r1) -/* 80109DE4 00106D44 48 00 00 1C */ b lbl_80109E00 -lbl_80109DE8: -/* 80109DE8 00106D48 28 1C 00 00 */ cmplwi r28, 0 -/* 80109DEC 00106D4C 41 82 00 10 */ beq lbl_80109DFC -/* 80109DF0 00106D50 7F 83 E3 78 */ mr r3, r28 -/* 80109DF4 00106D54 38 80 00 00 */ li r4, 0 -/* 80109DF8 00106D58 48 23 70 49 */ bl __dt__6CTokenFv -lbl_80109DFC: -/* 80109DFC 00106D5C 3B 9C 00 08 */ addi r28, r28, 8 -lbl_80109E00: -/* 80109E00 00106D60 7C 1C E8 40 */ cmplw r28, r29 -/* 80109E04 00106D64 40 82 FF E4 */ bne lbl_80109DE8 -/* 80109E08 00106D68 80 7E 00 D4 */ lwz r3, 0xd4(r30) -/* 80109E0C 00106D6C 28 03 00 00 */ cmplwi r3, 0 -/* 80109E10 00106D70 41 82 00 08 */ beq lbl_80109E18 -/* 80109E14 00106D74 48 20 BB 1D */ bl Free__7CMemoryFPCv -lbl_80109E18: -/* 80109E18 00106D78 34 1E 00 5C */ addic. r0, r30, 0x5c -/* 80109E1C 00106D7C 41 82 00 40 */ beq lbl_80109E5C -/* 80109E20 00106D80 3B 9E 00 60 */ addi r28, r30, 0x60 -/* 80109E24 00106D84 3B A0 00 00 */ li r29, 0 -/* 80109E28 00106D88 48 00 00 20 */ b lbl_80109E48 -lbl_80109E2C: -/* 80109E2C 00106D8C 28 1C 00 00 */ cmplwi r28, 0 -/* 80109E30 00106D90 41 82 00 10 */ beq lbl_80109E40 -/* 80109E34 00106D94 7F 83 E3 78 */ mr r3, r28 -/* 80109E38 00106D98 38 80 00 00 */ li r4, 0 -/* 80109E3C 00106D9C 48 23 70 05 */ bl __dt__6CTokenFv -lbl_80109E40: -/* 80109E40 00106DA0 3B 9C 00 08 */ addi r28, r28, 8 -/* 80109E44 00106DA4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80109E48: -/* 80109E48 00106DA8 80 1E 00 5C */ lwz r0, 0x5c(r30) -/* 80109E4C 00106DAC 7C 1D 00 00 */ cmpw r29, r0 -/* 80109E50 00106DB0 41 80 FF DC */ blt lbl_80109E2C -/* 80109E54 00106DB4 38 00 00 00 */ li r0, 0 -/* 80109E58 00106DB8 90 1E 00 5C */ stw r0, 0x5c(r30) -lbl_80109E5C: -/* 80109E5C 00106DBC 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 80109E60 00106DC0 41 82 00 18 */ beq lbl_80109E78 -/* 80109E64 00106DC4 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 80109E68 00106DC8 41 82 00 10 */ beq lbl_80109E78 -/* 80109E6C 00106DCC 38 7E 00 50 */ addi r3, r30, 0x50 -/* 80109E70 00106DD0 38 80 00 00 */ li r4, 0 -/* 80109E74 00106DD4 48 23 6F CD */ bl __dt__6CTokenFv -lbl_80109E78: -/* 80109E78 00106DD8 34 1E 00 4C */ addic. r0, r30, 0x4c -/* 80109E7C 00106DDC 41 82 00 10 */ beq lbl_80109E8C -/* 80109E80 00106DE0 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 80109E84 00106DE4 38 80 00 01 */ li r4, 1 -/* 80109E88 00106DE8 48 14 5F 9D */ bl __dt__15CSaveGameScreenFv -lbl_80109E8C: -/* 80109E8C 00106DEC 34 1E 00 48 */ addic. r0, r30, 0x48 -/* 80109E90 00106DF0 41 82 00 10 */ beq lbl_80109EA0 -/* 80109E94 00106DF4 80 7E 00 48 */ lwz r3, 0x48(r30) -/* 80109E98 00106DF8 38 80 00 01 */ li r4, 1 -/* 80109E9C 00106DFC 4B F6 9F F1 */ bl __dt__12CPauseScreenFv -lbl_80109EA0: -/* 80109EA0 00106E00 34 1E 00 44 */ addic. r0, r30, 0x44 -/* 80109EA4 00106E04 41 82 00 4C */ beq lbl_80109EF0 -/* 80109EA8 00106E08 83 BE 00 44 */ lwz r29, 0x44(r30) -/* 80109EAC 00106E0C 28 1D 00 00 */ cmplwi r29, 0 -/* 80109EB0 00106E10 41 82 00 40 */ beq lbl_80109EF0 -/* 80109EB4 00106E14 34 1D 00 0C */ addic. r0, r29, 0xc -/* 80109EB8 00106E18 41 82 00 18 */ beq lbl_80109ED0 -/* 80109EBC 00106E1C 34 1D 00 0C */ addic. r0, r29, 0xc -/* 80109EC0 00106E20 41 82 00 10 */ beq lbl_80109ED0 -/* 80109EC4 00106E24 38 7D 00 0C */ addi r3, r29, 0xc -/* 80109EC8 00106E28 38 80 00 00 */ li r4, 0 -/* 80109ECC 00106E2C 48 23 6F 75 */ bl __dt__6CTokenFv -lbl_80109ED0: -/* 80109ED0 00106E30 28 1D 00 00 */ cmplwi r29, 0 -/* 80109ED4 00106E34 41 82 00 14 */ beq lbl_80109EE8 -/* 80109ED8 00106E38 41 82 00 10 */ beq lbl_80109EE8 -/* 80109EDC 00106E3C 7F A3 EB 78 */ mr r3, r29 -/* 80109EE0 00106E40 38 80 00 00 */ li r4, 0 -/* 80109EE4 00106E44 48 23 6F 5D */ bl __dt__6CTokenFv -lbl_80109EE8: -/* 80109EE8 00106E48 7F A3 EB 78 */ mr r3, r29 -/* 80109EEC 00106E4C 48 20 BA 45 */ bl Free__7CMemoryFPCv -lbl_80109EF0: -/* 80109EF0 00106E50 34 1E 00 40 */ addic. r0, r30, 0x40 -/* 80109EF4 00106E54 41 82 00 38 */ beq lbl_80109F2C -/* 80109EF8 00106E58 83 BE 00 40 */ lwz r29, 0x40(r30) -/* 80109EFC 00106E5C 28 1D 00 00 */ cmplwi r29, 0 -/* 80109F00 00106E60 41 82 00 2C */ beq lbl_80109F2C -/* 80109F04 00106E64 34 1D 00 4C */ addic. r0, r29, 0x4c -/* 80109F08 00106E68 41 82 00 10 */ beq lbl_80109F18 -/* 80109F0C 00106E6C 80 7D 00 4C */ lwz r3, 0x4c(r29) -/* 80109F10 00106E70 38 80 00 01 */ li r4, 1 -/* 80109F14 00106E74 4B FF B1 C1 */ bl __dt__12CActorLightsFv -lbl_80109F18: -/* 80109F18 00106E78 7F A3 EB 78 */ mr r3, r29 -/* 80109F1C 00106E7C 38 80 FF FF */ li r4, -1 -/* 80109F20 00106E80 48 00 CB 2D */ bl __dt__10CModelDataFv -/* 80109F24 00106E84 7F A3 EB 78 */ mr r3, r29 -/* 80109F28 00106E88 48 20 BA 09 */ bl Free__7CMemoryFPCv -lbl_80109F2C: -/* 80109F2C 00106E8C 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 80109F30 00106E90 41 82 00 24 */ beq lbl_80109F54 -/* 80109F34 00106E94 80 7E 00 3C */ lwz r3, 0x3c(r30) -/* 80109F38 00106E98 28 03 00 00 */ cmplwi r3, 0 -/* 80109F3C 00106E9C 41 82 00 18 */ beq lbl_80109F54 -/* 80109F40 00106EA0 81 83 00 00 */ lwz r12, 0(r3) -/* 80109F44 00106EA4 38 80 00 01 */ li r4, 1 -/* 80109F48 00106EA8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80109F4C 00106EAC 7D 89 03 A6 */ mtctr r12 -/* 80109F50 00106EB0 4E 80 04 21 */ bctrl -lbl_80109F54: -/* 80109F54 00106EB4 34 1E 00 38 */ addic. r0, r30, 0x38 -/* 80109F58 00106EB8 41 82 00 24 */ beq lbl_80109F7C -/* 80109F5C 00106EBC 80 7E 00 38 */ lwz r3, 0x38(r30) -/* 80109F60 00106EC0 28 03 00 00 */ cmplwi r3, 0 -/* 80109F64 00106EC4 41 82 00 18 */ beq lbl_80109F7C -/* 80109F68 00106EC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80109F6C 00106ECC 38 80 00 01 */ li r4, 1 -/* 80109F70 00106ED0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80109F74 00106ED4 7D 89 03 A6 */ mtctr r12 -/* 80109F78 00106ED8 4E 80 04 21 */ bctrl -lbl_80109F7C: -/* 80109F7C 00106EDC 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 80109F80 00106EE0 41 82 00 24 */ beq lbl_80109FA4 -/* 80109F84 00106EE4 80 7E 00 34 */ lwz r3, 0x34(r30) -/* 80109F88 00106EE8 28 03 00 00 */ cmplwi r3, 0 -/* 80109F8C 00106EEC 41 82 00 18 */ beq lbl_80109FA4 -/* 80109F90 00106EF0 81 83 00 00 */ lwz r12, 0(r3) -/* 80109F94 00106EF4 38 80 00 01 */ li r4, 1 -/* 80109F98 00106EF8 81 8C 00 08 */ lwz r12, 8(r12) -/* 80109F9C 00106EFC 7D 89 03 A6 */ mtctr r12 -/* 80109FA0 00106F00 4E 80 04 21 */ bctrl -lbl_80109FA4: -/* 80109FA4 00106F04 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 80109FA8 00106F08 41 82 00 10 */ beq lbl_80109FB8 -/* 80109FAC 00106F0C 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 80109FB0 00106F10 38 80 00 01 */ li r4, 1 -/* 80109FB4 00106F14 48 00 A4 59 */ bl __dt__12CPlayerVisorFv -lbl_80109FB8: -/* 80109FB8 00106F18 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 80109FBC 00106F1C 41 82 00 30 */ beq lbl_80109FEC -/* 80109FC0 00106F20 34 7E 00 24 */ addic. r3, r30, 0x24 -/* 80109FC4 00106F24 41 82 00 28 */ beq lbl_80109FEC -/* 80109FC8 00106F28 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 80109FCC 00106F2C 28 00 00 00 */ cmplwi r0, 0 -/* 80109FD0 00106F30 41 82 00 14 */ beq lbl_80109FE4 -/* 80109FD4 00106F34 28 03 00 00 */ cmplwi r3, 0 -/* 80109FD8 00106F38 41 82 00 0C */ beq lbl_80109FE4 -/* 80109FDC 00106F3C 38 80 00 00 */ li r4, 0 -/* 80109FE0 00106F40 48 23 6E 61 */ bl __dt__6CTokenFv -lbl_80109FE4: -/* 80109FE4 00106F44 38 00 00 00 */ li r0, 0 -/* 80109FE8 00106F48 98 1E 00 2C */ stb r0, 0x2c(r30) -lbl_80109FEC: -/* 80109FEC 00106F4C 34 1E 00 08 */ addic. r0, r30, 8 -/* 80109FF0 00106F50 41 82 00 50 */ beq lbl_8010A040 -/* 80109FF4 00106F54 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80109FF8 00106F58 83 9E 00 14 */ lwz r28, 0x14(r30) -/* 80109FFC 00106F5C 54 00 18 38 */ slwi r0, r0, 3 -/* 8010A000 00106F60 7F BC 02 14 */ add r29, r28, r0 -/* 8010A004 00106F64 93 81 00 0C */ stw r28, 0xc(r1) -/* 8010A008 00106F68 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8010A00C 00106F6C 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8010A010 00106F70 93 81 00 08 */ stw r28, 8(r1) -/* 8010A014 00106F74 48 00 00 14 */ b lbl_8010A028 -lbl_8010A018: -/* 8010A018 00106F78 7F 83 E3 78 */ mr r3, r28 -/* 8010A01C 00106F7C 38 80 FF FF */ li r4, -1 -/* 8010A020 00106F80 48 23 6E 21 */ bl __dt__6CTokenFv -/* 8010A024 00106F84 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8010A028: -/* 8010A028 00106F88 7C 1C E8 40 */ cmplw r28, r29 -/* 8010A02C 00106F8C 40 82 FF EC */ bne lbl_8010A018 -/* 8010A030 00106F90 80 7E 00 14 */ lwz r3, 0x14(r30) -/* 8010A034 00106F94 28 03 00 00 */ cmplwi r3, 0 -/* 8010A038 00106F98 41 82 00 08 */ beq lbl_8010A040 -/* 8010A03C 00106F9C 48 20 B8 F5 */ bl Free__7CMemoryFPCv -lbl_8010A040: -/* 8010A040 00106FA0 28 1E 00 00 */ cmplwi r30, 0 -/* 8010A044 00106FA4 41 82 00 10 */ beq lbl_8010A054 -/* 8010A048 00106FA8 7F C3 F3 78 */ mr r3, r30 -/* 8010A04C 00106FAC 38 80 00 00 */ li r4, 0 -/* 8010A050 00106FB0 48 23 6D F1 */ bl __dt__6CTokenFv -lbl_8010A054: -/* 8010A054 00106FB4 7F E0 07 35 */ extsh. r0, r31 -/* 8010A058 00106FB8 40 81 00 0C */ ble lbl_8010A064 -/* 8010A05C 00106FBC 7F C3 F3 78 */ mr r3, r30 -/* 8010A060 00106FC0 48 20 B8 D1 */ bl Free__7CMemoryFPCv -lbl_8010A064: -/* 8010A064 00106FC4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8010A068 00106FC8 7F C3 F3 78 */ mr r3, r30 -/* 8010A06C 00106FCC 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8010A070 00106FD0 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8010A074 00106FD4 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8010A078 00106FD8 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8010A07C 00106FDC 7C 08 03 A6 */ mtlr r0 -/* 8010A080 00106FE0 38 21 00 60 */ addi r1, r1, 0x60 -/* 8010A084 00106FE4 4E 80 00 20 */ blr - -.global __ct__17CInGameGuiManagerFRC13CStateManagerR18CArchitectureQueue -__ct__17CInGameGuiManagerFRC13CStateManagerR18CArchitectureQueue: -/* 8010A088 00106FE8 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8010A08C 00106FEC 7C 08 02 A6 */ mflr r0 -/* 8010A090 00106FF0 3C A0 80 3D */ lis r5, lbl_803CEEC4@ha -/* 8010A094 00106FF4 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8010A098 00106FF8 38 A5 EE C4 */ addi r5, r5, lbl_803CEEC4@l -/* 8010A09C 00106FFC 38 A5 02 F0 */ addi r5, r5, 0x2f0 -/* 8010A0A0 00107000 BF 21 00 A4 */ stmw r25, 0xa4(r1) -/* 8010A0A4 00107004 7C 9F 23 78 */ mr r31, r4 -/* 8010A0A8 00107008 7C 7E 1B 78 */ mr r30, r3 -/* 8010A0AC 0010700C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8010A0B0 00107010 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8010A0B4 00107014 81 84 00 00 */ lwz r12, 0(r4) -/* 8010A0B8 00107018 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8010A0BC 0010701C 7D 89 03 A6 */ mtctr r12 -/* 8010A0C0 00107020 4E 80 04 21 */ bctrl -/* 8010A0C4 00107024 7F C3 F3 78 */ mr r3, r30 -/* 8010A0C8 00107028 38 81 00 18 */ addi r4, r1, 0x18 -/* 8010A0CC 0010702C 48 23 6D DD */ bl __ct__6CTokenFRC6CToken -/* 8010A0D0 00107030 38 61 00 18 */ addi r3, r1, 0x18 -/* 8010A0D4 00107034 38 80 FF FF */ li r4, -1 -/* 8010A0D8 00107038 48 23 6D 69 */ bl __dt__6CTokenFv -/* 8010A0DC 0010703C 38 00 00 00 */ li r0, 0 -/* 8010A0E0 00107040 38 7E 00 1C */ addi r3, r30, 0x1c -/* 8010A0E4 00107044 90 1E 00 0C */ stw r0, 0xc(r30) -/* 8010A0E8 00107048 38 80 04 D2 */ li r4, 0x4d2 -/* 8010A0EC 0010704C 90 1E 00 10 */ stw r0, 0x10(r30) -/* 8010A0F0 00107050 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8010A0F4 00107054 90 1E 00 18 */ stw r0, 0x18(r30) -/* 8010A0F8 00107058 48 20 84 F5 */ bl __ct__9CRandom16FUi -/* 8010A0FC 0010705C 7F E4 FB 78 */ mr r4, r31 -/* 8010A100 00107060 38 7E 00 20 */ addi r3, r30, 0x20 -/* 8010A104 00107064 48 06 BB C1 */ bl __ct__20CFaceplateDecorationFR13CStateManager -/* 8010A108 00107068 38 00 00 00 */ li r0, 0 -/* 8010A10C 0010706C 3C 60 80 3D */ lis r3, lbl_803CEEC4@ha -/* 8010A110 00107070 90 1E 00 30 */ stw r0, 0x30(r30) -/* 8010A114 00107074 38 83 EE C4 */ addi r4, r3, lbl_803CEEC4@l -/* 8010A118 00107078 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010A11C 0010707C 90 1E 00 34 */ stw r0, 0x34(r30) -/* 8010A120 00107080 38 A4 03 01 */ addi r5, r4, 0x301 -/* 8010A124 00107084 90 1E 00 38 */ stw r0, 0x38(r30) -/* 8010A128 00107088 90 1E 00 3C */ stw r0, 0x3c(r30) -/* 8010A12C 0010708C 90 1E 00 40 */ stw r0, 0x40(r30) -/* 8010A130 00107090 90 1E 00 44 */ stw r0, 0x44(r30) -/* 8010A134 00107094 90 1E 00 48 */ stw r0, 0x48(r30) -/* 8010A138 00107098 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 8010A13C 0010709C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8010A140 001070A0 81 84 00 00 */ lwz r12, 0(r4) -/* 8010A144 001070A4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8010A148 001070A8 7D 89 03 A6 */ mtctr r12 -/* 8010A14C 001070AC 4E 80 04 21 */ bctrl -/* 8010A150 001070B0 3B 3E 00 50 */ addi r25, r30, 0x50 -/* 8010A154 001070B4 38 81 00 10 */ addi r4, r1, 0x10 -/* 8010A158 001070B8 7F 23 CB 78 */ mr r3, r25 -/* 8010A15C 001070BC 48 23 6D 4D */ bl __ct__6CTokenFRC6CToken -/* 8010A160 001070C0 38 00 00 00 */ li r0, 0 -/* 8010A164 001070C4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010A168 001070C8 90 19 00 08 */ stw r0, 8(r25) -/* 8010A16C 001070CC 38 80 FF FF */ li r4, -1 -/* 8010A170 001070D0 48 23 6C D1 */ bl __dt__6CTokenFv -/* 8010A174 001070D4 38 61 00 28 */ addi r3, r1, 0x28 -/* 8010A178 001070D8 48 00 03 1D */ bl LockPauseScreenDependencies__17CInGameGuiManagerFv -/* 8010A17C 001070DC 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8010A180 001070E0 3B 21 00 2C */ addi r25, r1, 0x2c -/* 8010A184 001070E4 3B 5E 00 60 */ addi r26, r30, 0x60 -/* 8010A188 001070E8 3B A0 00 00 */ li r29, 0 -/* 8010A18C 001070EC 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 8010A190 001070F0 7F 3C CB 78 */ mr r28, r25 -/* 8010A194 001070F4 83 7E 00 5C */ lwz r27, 0x5c(r30) -/* 8010A198 001070F8 48 00 00 24 */ b lbl_8010A1BC -lbl_8010A19C: -/* 8010A19C 001070FC 28 1A 00 00 */ cmplwi r26, 0 -/* 8010A1A0 00107100 41 82 00 10 */ beq lbl_8010A1B0 -/* 8010A1A4 00107104 7F 43 D3 78 */ mr r3, r26 -/* 8010A1A8 00107108 7F 84 E3 78 */ mr r4, r28 -/* 8010A1AC 0010710C 48 23 6C FD */ bl __ct__6CTokenFRC6CToken -lbl_8010A1B0: -/* 8010A1B0 00107110 3B 5A 00 08 */ addi r26, r26, 8 -/* 8010A1B4 00107114 3B BD 00 01 */ addi r29, r29, 1 -/* 8010A1B8 00107118 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8010A1BC: -/* 8010A1BC 0010711C 7C 1D D8 00 */ cmpw r29, r27 -/* 8010A1C0 00107120 41 80 FF DC */ blt lbl_8010A19C -/* 8010A1C4 00107124 3B 60 00 00 */ li r27, 0 -/* 8010A1C8 00107128 48 00 00 20 */ b lbl_8010A1E8 -lbl_8010A1CC: -/* 8010A1CC 0010712C 28 19 00 00 */ cmplwi r25, 0 -/* 8010A1D0 00107130 41 82 00 10 */ beq lbl_8010A1E0 -/* 8010A1D4 00107134 7F 23 CB 78 */ mr r3, r25 -/* 8010A1D8 00107138 38 80 00 00 */ li r4, 0 -/* 8010A1DC 0010713C 48 23 6C 65 */ bl __dt__6CTokenFv -lbl_8010A1E0: -/* 8010A1E0 00107140 3B 39 00 08 */ addi r25, r25, 8 -/* 8010A1E4 00107144 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8010A1E8: -/* 8010A1E8 00107148 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8010A1EC 0010714C 7C 1B 00 00 */ cmpw r27, r0 -/* 8010A1F0 00107150 41 80 FF DC */ blt lbl_8010A1CC -/* 8010A1F4 00107154 38 00 00 00 */ li r0, 0 -/* 8010A1F8 00107158 38 7E 00 F8 */ addi r3, r30, 0xf8 -/* 8010A1FC 0010715C 90 01 00 28 */ stw r0, 0x28(r1) -/* 8010A200 00107160 90 1E 00 CC */ stw r0, 0xcc(r30) -/* 8010A204 00107164 90 1E 00 D0 */ stw r0, 0xd0(r30) -/* 8010A208 00107168 90 1E 00 D4 */ stw r0, 0xd4(r30) -/* 8010A20C 0010716C 90 1E 00 DC */ stw r0, 0xdc(r30) -/* 8010A210 00107170 90 1E 00 E0 */ stw r0, 0xe0(r30) -/* 8010A214 00107174 90 1E 00 E4 */ stw r0, 0xe4(r30) -/* 8010A218 00107178 90 1E 00 EC */ stw r0, 0xec(r30) -/* 8010A21C 0010717C 90 1E 00 F0 */ stw r0, 0xf0(r30) -/* 8010A220 00107180 90 1E 00 F4 */ stw r0, 0xf4(r30) -/* 8010A224 00107184 4B FE 35 69 */ bl __ct__17CCameraFilterPassFv -/* 8010A228 00107188 38 00 FF FF */ li r0, -1 -/* 8010A22C 0010718C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8010A230 00107190 90 1E 01 24 */ stw r0, 0x124(r30) -/* 8010A234 00107194 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8010A238 00107198 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 8010A23C 0010719C 38 FE 01 38 */ addi r7, r30, 0x138 -/* 8010A240 001071A0 38 00 00 00 */ li r0, 0 -/* 8010A244 001071A4 3C C0 80 5A */ lis r6, lbl_805A6660@ha -/* 8010A248 001071A8 D0 1E 01 28 */ stfs f0, 0x128(r30) -/* 8010A24C 001071AC 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8010A250 001071B0 38 7E 01 8C */ addi r3, r30, 0x18c -/* 8010A254 001071B4 90 FE 01 30 */ stw r7, 0x130(r30) -/* 8010A258 001071B8 90 FE 01 34 */ stw r7, 0x134(r30) -/* 8010A25C 001071BC 90 FE 01 38 */ stw r7, 0x138(r30) -/* 8010A260 001071C0 90 FE 01 3C */ stw r7, 0x13c(r30) -/* 8010A264 001071C4 90 1E 01 40 */ stw r0, 0x140(r30) -/* 8010A268 001071C8 90 1E 01 44 */ stw r0, 0x144(r30) -/* 8010A26C 001071CC 90 1E 01 48 */ stw r0, 0x148(r30) -/* 8010A270 001071D0 90 1E 01 4C */ stw r0, 0x14c(r30) -/* 8010A274 001071D4 90 1E 01 50 */ stw r0, 0x150(r30) -/* 8010A278 001071D8 C4 06 66 60 */ lfsu f0, lbl_805A6660@l(r6) -/* 8010A27C 001071DC D0 1E 01 54 */ stfs f0, 0x154(r30) -/* 8010A280 001071E0 C0 06 00 04 */ lfs f0, 4(r6) -/* 8010A284 001071E4 D0 1E 01 58 */ stfs f0, 0x158(r30) -/* 8010A288 001071E8 C0 06 00 08 */ lfs f0, 8(r6) -/* 8010A28C 001071EC D0 1E 01 5C */ stfs f0, 0x15c(r30) -/* 8010A290 001071F0 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8010A294 001071F4 D0 1E 01 60 */ stfs f0, 0x160(r30) -/* 8010A298 001071F8 C4 05 66 A0 */ lfsu f0, skZero3f@l(r5) -/* 8010A29C 001071FC D0 1E 01 64 */ stfs f0, 0x164(r30) -/* 8010A2A0 00107200 C0 05 00 04 */ lfs f0, 4(r5) -/* 8010A2A4 00107204 D0 1E 01 68 */ stfs f0, 0x168(r30) -/* 8010A2A8 00107208 C0 05 00 08 */ lfs f0, 8(r5) -/* 8010A2AC 0010720C D0 1E 01 6C */ stfs f0, 0x16c(r30) -/* 8010A2B0 00107210 C0 06 00 00 */ lfs f0, 0(r6) -/* 8010A2B4 00107214 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 8010A2B8 00107218 C0 06 00 04 */ lfs f0, 4(r6) -/* 8010A2BC 0010721C D0 1E 01 74 */ stfs f0, 0x174(r30) -/* 8010A2C0 00107220 C0 06 00 08 */ lfs f0, 8(r6) -/* 8010A2C4 00107224 D0 1E 01 78 */ stfs f0, 0x178(r30) -/* 8010A2C8 00107228 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8010A2CC 0010722C D0 1E 01 7C */ stfs f0, 0x17c(r30) -/* 8010A2D0 00107230 C0 05 00 00 */ lfs f0, 0(r5) -/* 8010A2D4 00107234 D0 1E 01 80 */ stfs f0, 0x180(r30) -/* 8010A2D8 00107238 C0 05 00 04 */ lfs f0, 4(r5) -/* 8010A2DC 0010723C D0 1E 01 84 */ stfs f0, 0x184(r30) -/* 8010A2E0 00107240 C0 05 00 08 */ lfs f0, 8(r5) -/* 8010A2E4 00107244 D0 1E 01 88 */ stfs f0, 0x188(r30) -/* 8010A2E8 00107248 48 20 88 8D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8010A2EC 0010724C 38 C0 00 00 */ li r6, 0 -/* 8010A2F0 00107250 38 00 FF FF */ li r0, -1 -/* 8010A2F4 00107254 90 DE 01 BC */ stw r6, 0x1bc(r30) -/* 8010A2F8 00107258 38 7E 01 C8 */ addi r3, r30, 0x1c8 -/* 8010A2FC 0010725C 38 80 00 00 */ li r4, 0 -/* 8010A300 00107260 38 A0 00 00 */ li r5, 0 -/* 8010A304 00107264 90 DE 01 C0 */ stw r6, 0x1c0(r30) -/* 8010A308 00107268 90 1E 01 C4 */ stw r0, 0x1c4(r30) -/* 8010A30C 0010726C 48 20 A0 41 */ bl __ct__9CVector2iFii -/* 8010A310 00107270 38 7E 01 D0 */ addi r3, r30, 0x1d0 -/* 8010A314 00107274 38 80 00 00 */ li r4, 0 -/* 8010A318 00107278 38 A0 00 00 */ li r5, 0 -/* 8010A31C 0010727C 48 20 A0 31 */ bl __ct__9CVector2iFii -/* 8010A320 00107280 C0 02 94 94 */ lfs f0, lbl_805AB1B4@sda21(r2) -/* 8010A324 00107284 38 C0 00 00 */ li r6, 0 -/* 8010A328 00107288 38 80 00 01 */ li r4, 1 -/* 8010A32C 0010728C 38 7E 00 50 */ addi r3, r30, 0x50 -/* 8010A330 00107290 D0 1E 01 D8 */ stfs f0, 0x1d8(r30) -/* 8010A334 00107294 90 DE 01 DC */ stw r6, 0x1dc(r30) -/* 8010A338 00107298 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8010A33C 0010729C 80 05 00 FC */ lwz r0, 0xfc(r5) -/* 8010A340 001072A0 90 1E 01 E0 */ stw r0, 0x1e0(r30) -/* 8010A344 001072A4 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8010A348 001072A8 80 05 01 08 */ lwz r0, 0x108(r5) -/* 8010A34C 001072AC 90 1E 01 E4 */ stw r0, 0x1e4(r30) -/* 8010A350 001072B0 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8010A354 001072B4 80 05 01 00 */ lwz r0, 0x100(r5) -/* 8010A358 001072B8 90 1E 01 E8 */ stw r0, 0x1e8(r30) -/* 8010A35C 001072BC 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8010A360 001072C0 80 05 00 F8 */ lwz r0, 0xf8(r5) -/* 8010A364 001072C4 90 1E 01 EC */ stw r0, 0x1ec(r30) -/* 8010A368 001072C8 80 AD A1 38 */ lwz r5, gpTweakGui@sda21(r13) -/* 8010A36C 001072CC 80 05 01 0C */ lwz r0, 0x10c(r5) -/* 8010A370 001072D0 90 1E 01 F0 */ stw r0, 0x1f0(r30) -/* 8010A374 001072D4 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8010A378 001072D8 C0 05 07 4C */ lfs f0, 0x74c(r5) -/* 8010A37C 001072DC D0 1E 01 F4 */ stfs f0, 0x1f4(r30) -/* 8010A380 001072E0 88 1E 01 F8 */ lbz r0, 0x1f8(r30) -/* 8010A384 001072E4 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 8010A388 001072E8 98 1E 01 F8 */ stb r0, 0x1f8(r30) -/* 8010A38C 001072EC 88 1E 01 F8 */ lbz r0, 0x1f8(r30) -/* 8010A390 001072F0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8010A394 001072F4 98 1E 01 F8 */ stb r0, 0x1f8(r30) -/* 8010A398 001072F8 88 1E 01 F8 */ lbz r0, 0x1f8(r30) -/* 8010A39C 001072FC 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 8010A3A0 00107300 98 1E 01 F8 */ stb r0, 0x1f8(r30) -/* 8010A3A4 00107304 88 1E 01 F8 */ lbz r0, 0x1f8(r30) -/* 8010A3A8 00107308 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8010A3AC 0010730C 98 1E 01 F8 */ stb r0, 0x1f8(r30) -/* 8010A3B0 00107310 48 23 69 D5 */ bl Lock__6CTokenFv -/* 8010A3B4 00107314 7F C3 F3 78 */ mr r3, r30 -/* 8010A3B8 00107318 48 23 69 CD */ bl Lock__6CTokenFv -/* 8010A3BC 0010731C 38 7E 00 C8 */ addi r3, r30, 0xc8 -/* 8010A3C0 00107320 38 80 00 0E */ li r4, 0xe -/* 8010A3C4 00107324 48 00 04 49 */ bl sub_8010a80c -/* 8010A3C8 00107328 3C 60 80 3D */ lis r3, lbl_803CEE58@ha -/* 8010A3CC 0010732C 3B 20 00 00 */ li r25, 0 -/* 8010A3D0 00107330 3B 43 EE 58 */ addi r26, r3, lbl_803CEE58@l -lbl_8010A3D4: -/* 8010A3D4 00107334 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8010A3D8 00107338 38 61 00 08 */ addi r3, r1, 8 -/* 8010A3DC 0010733C 80 BA 00 00 */ lwz r5, 0(r26) -/* 8010A3E0 00107340 81 84 00 00 */ lwz r12, 0(r4) -/* 8010A3E4 00107344 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8010A3E8 00107348 7D 89 03 A6 */ mtctr r12 -/* 8010A3EC 0010734C 4E 80 04 21 */ bctrl -/* 8010A3F0 00107350 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010A3F4 00107354 38 81 00 08 */ addi r4, r1, 8 -/* 8010A3F8 00107358 48 23 6A B1 */ bl __ct__6CTokenFRC6CToken -/* 8010A3FC 0010735C 38 61 00 08 */ addi r3, r1, 8 -/* 8010A400 00107360 38 80 FF FF */ li r4, -1 -/* 8010A404 00107364 48 23 6A 3D */ bl __dt__6CTokenFv -/* 8010A408 00107368 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010A40C 0010736C 48 23 69 79 */ bl Lock__6CTokenFv -/* 8010A410 00107370 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 8010A414 00107374 80 BE 00 D0 */ lwz r5, 0xd0(r30) -/* 8010A418 00107378 7C 00 28 00 */ cmpw r0, r5 -/* 8010A41C 0010737C 41 80 00 1C */ blt lbl_8010A438 -/* 8010A420 00107380 2C 05 00 00 */ cmpwi r5, 0 -/* 8010A424 00107384 38 7E 00 C8 */ addi r3, r30, 0xc8 -/* 8010A428 00107388 38 80 00 04 */ li r4, 4 -/* 8010A42C 0010738C 41 82 00 08 */ beq lbl_8010A434 -/* 8010A430 00107390 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8010A434: -/* 8010A434 00107394 48 00 03 D9 */ bl sub_8010a80c -lbl_8010A438: -/* 8010A438 00107398 80 1E 00 CC */ lwz r0, 0xcc(r30) -/* 8010A43C 0010739C 80 7E 00 D4 */ lwz r3, 0xd4(r30) -/* 8010A440 001073A0 54 00 18 38 */ slwi r0, r0, 3 -/* 8010A444 001073A4 7C 63 02 15 */ add. r3, r3, r0 -/* 8010A448 001073A8 41 82 00 0C */ beq lbl_8010A454 -/* 8010A44C 001073AC 38 81 00 20 */ addi r4, r1, 0x20 -/* 8010A450 001073B0 48 23 6A 59 */ bl __ct__6CTokenFRC6CToken -lbl_8010A454: -/* 8010A454 001073B4 80 BE 00 CC */ lwz r5, 0xcc(r30) -/* 8010A458 001073B8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010A45C 001073BC 38 80 00 00 */ li r4, 0 -/* 8010A460 001073C0 38 05 00 01 */ addi r0, r5, 1 -/* 8010A464 001073C4 90 1E 00 CC */ stw r0, 0xcc(r30) -/* 8010A468 001073C8 48 23 69 D9 */ bl __dt__6CTokenFv -/* 8010A46C 001073CC 3B 39 00 01 */ addi r25, r25, 1 -/* 8010A470 001073D0 3B 5A 00 04 */ addi r26, r26, 4 -/* 8010A474 001073D4 28 19 00 0E */ cmplwi r25, 0xe -/* 8010A478 001073D8 41 80 FF 5C */ blt lbl_8010A3D4 -/* 8010A47C 001073DC 7F C3 F3 78 */ mr r3, r30 -/* 8010A480 001073E0 BB 21 00 A4 */ lmw r25, 0xa4(r1) -/* 8010A484 001073E4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8010A488 001073E8 7C 08 03 A6 */ mtlr r0 -/* 8010A48C 001073EC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8010A490 001073F0 4E 80 00 20 */ blr - -.global LockPauseScreenDependencies__17CInGameGuiManagerFv -LockPauseScreenDependencies__17CInGameGuiManagerFv: -/* 8010A494 001073F4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8010A498 001073F8 7C 08 02 A6 */ mflr r0 -/* 8010A49C 001073FC 3C 80 80 3D */ lis r4, lbl_803CEE90@ha -/* 8010A4A0 00107400 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8010A4A4 00107404 38 00 00 00 */ li r0, 0 -/* 8010A4A8 00107408 BF 41 00 88 */ stmw r26, 0x88(r1) -/* 8010A4AC 0010740C 3B 84 EE 90 */ addi r28, r4, lbl_803CEE90@l -/* 8010A4B0 00107410 7C 7A 1B 78 */ mr r26, r3 -/* 8010A4B4 00107414 3B 61 00 1C */ addi r27, r1, 0x1c -/* 8010A4B8 00107418 3B A0 00 00 */ li r29, 0 -/* 8010A4BC 0010741C 90 01 00 18 */ stw r0, 0x18(r1) -lbl_8010A4C0: -/* 8010A4C0 00107420 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8010A4C4 00107424 38 61 00 08 */ addi r3, r1, 8 -/* 8010A4C8 00107428 80 BC 00 00 */ lwz r5, 0(r28) -/* 8010A4CC 0010742C 81 84 00 00 */ lwz r12, 0(r4) -/* 8010A4D0 00107430 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8010A4D4 00107434 7D 89 03 A6 */ mtctr r12 -/* 8010A4D8 00107438 4E 80 04 21 */ bctrl -/* 8010A4DC 0010743C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010A4E0 00107440 38 81 00 08 */ addi r4, r1, 8 -/* 8010A4E4 00107444 48 23 69 C5 */ bl __ct__6CTokenFRC6CToken -/* 8010A4E8 00107448 38 61 00 08 */ addi r3, r1, 8 -/* 8010A4EC 0010744C 38 80 FF FF */ li r4, -1 -/* 8010A4F0 00107450 48 23 69 51 */ bl __dt__6CTokenFv -/* 8010A4F4 00107454 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010A4F8 00107458 48 23 68 8D */ bl Lock__6CTokenFv -/* 8010A4FC 0010745C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8010A500 00107460 54 00 18 38 */ slwi r0, r0, 3 -/* 8010A504 00107464 7C 7B 02 15 */ add. r3, r27, r0 -/* 8010A508 00107468 41 82 00 0C */ beq lbl_8010A514 -/* 8010A50C 0010746C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8010A510 00107470 48 23 69 99 */ bl __ct__6CTokenFRC6CToken -lbl_8010A514: -/* 8010A514 00107474 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8010A518 00107478 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010A51C 0010747C 38 80 00 00 */ li r4, 0 -/* 8010A520 00107480 38 05 00 01 */ addi r0, r5, 1 -/* 8010A524 00107484 90 01 00 18 */ stw r0, 0x18(r1) -/* 8010A528 00107488 48 23 69 19 */ bl __dt__6CTokenFv -/* 8010A52C 0010748C 3B BD 00 01 */ addi r29, r29, 1 -/* 8010A530 00107490 3B 9C 00 04 */ addi r28, r28, 4 -/* 8010A534 00107494 2C 1D 00 0D */ cmpwi r29, 0xd -/* 8010A538 00107498 41 80 FF 88 */ blt lbl_8010A4C0 -/* 8010A53C 0010749C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8010A540 001074A0 7F 7D DB 78 */ mr r29, r27 -/* 8010A544 001074A4 3B DA 00 04 */ addi r30, r26, 4 -/* 8010A548 001074A8 3B E0 00 00 */ li r31, 0 -/* 8010A54C 001074AC 90 1A 00 00 */ stw r0, 0(r26) -/* 8010A550 001074B0 83 9A 00 00 */ lwz r28, 0(r26) -/* 8010A554 001074B4 48 00 00 24 */ b lbl_8010A578 -lbl_8010A558: -/* 8010A558 001074B8 28 1E 00 00 */ cmplwi r30, 0 -/* 8010A55C 001074BC 41 82 00 10 */ beq lbl_8010A56C -/* 8010A560 001074C0 7F C3 F3 78 */ mr r3, r30 -/* 8010A564 001074C4 7F A4 EB 78 */ mr r4, r29 -/* 8010A568 001074C8 48 23 69 41 */ bl __ct__6CTokenFRC6CToken -lbl_8010A56C: -/* 8010A56C 001074CC 3B DE 00 08 */ addi r30, r30, 8 -/* 8010A570 001074D0 3B FF 00 01 */ addi r31, r31, 1 -/* 8010A574 001074D4 3B BD 00 08 */ addi r29, r29, 8 -lbl_8010A578: -/* 8010A578 001074D8 7C 1F E0 00 */ cmpw r31, r28 -/* 8010A57C 001074DC 41 80 FF DC */ blt lbl_8010A558 -/* 8010A580 001074E0 3B 80 00 00 */ li r28, 0 -/* 8010A584 001074E4 48 00 00 20 */ b lbl_8010A5A4 -lbl_8010A588: -/* 8010A588 001074E8 28 1B 00 00 */ cmplwi r27, 0 -/* 8010A58C 001074EC 41 82 00 10 */ beq lbl_8010A59C -/* 8010A590 001074F0 7F 63 DB 78 */ mr r3, r27 -/* 8010A594 001074F4 38 80 00 00 */ li r4, 0 -/* 8010A598 001074F8 48 23 68 A9 */ bl __dt__6CTokenFv -lbl_8010A59C: -/* 8010A59C 001074FC 3B 7B 00 08 */ addi r27, r27, 8 -/* 8010A5A0 00107500 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8010A5A4: -/* 8010A5A4 00107504 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8010A5A8 00107508 7C 1C 00 00 */ cmpw r28, r0 -/* 8010A5AC 0010750C 41 80 FF DC */ blt lbl_8010A588 -/* 8010A5B0 00107510 38 00 00 00 */ li r0, 0 -/* 8010A5B4 00107514 90 01 00 18 */ stw r0, 0x18(r1) -/* 8010A5B8 00107518 BB 41 00 88 */ lmw r26, 0x88(r1) -/* 8010A5BC 0010751C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8010A5C0 00107520 7C 08 03 A6 */ mtlr r0 -/* 8010A5C4 00107524 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8010A5C8 00107528 4E 80 00 20 */ blr - -.global "sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan" -"sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan": -/* 8010A5CC 0010752C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8010A5D0 00107530 7C 08 02 A6 */ mflr r0 -/* 8010A5D4 00107534 90 01 00 84 */ stw r0, 0x84(r1) -/* 8010A5D8 00107538 BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 8010A5DC 0010753C 7C 7B 1B 78 */ mr r27, r3 -/* 8010A5E0 00107540 7C BD 2B 78 */ mr r29, r5 -/* 8010A5E4 00107544 7C 9C 23 78 */ mr r28, r4 -/* 8010A5E8 00107548 80 63 00 00 */ lwz r3, 0(r3) -/* 8010A5EC 0010754C 80 A4 00 00 */ lwz r5, 0(r4) -/* 8010A5F0 00107550 7C 03 28 50 */ subf r0, r3, r5 -/* 8010A5F4 00107554 7C 00 26 70 */ srawi r0, r0, 4 -/* 8010A5F8 00107558 7C 80 01 94 */ addze r4, r0 -/* 8010A5FC 0010755C 2C 04 00 01 */ cmpwi r4, 1 -/* 8010A600 00107560 40 81 01 F8 */ ble lbl_8010A7F8 -/* 8010A604 00107564 2C 04 00 14 */ cmpwi r4, 0x14 -/* 8010A608 00107568 41 81 00 30 */ bgt lbl_8010A638 -/* 8010A60C 0010756C 88 FD 00 00 */ lbz r7, 0(r29) -/* 8010A610 00107570 38 61 00 34 */ addi r3, r1, 0x34 -/* 8010A614 00107574 80 DC 00 00 */ lwz r6, 0(r28) -/* 8010A618 00107578 38 81 00 30 */ addi r4, r1, 0x30 -/* 8010A61C 0010757C 80 1B 00 00 */ lwz r0, 0(r27) -/* 8010A620 00107580 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8010A624 00107584 98 E1 00 14 */ stb r7, 0x14(r1) -/* 8010A628 00107588 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8010A62C 0010758C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010A630 00107590 48 00 06 B1 */ bl "__insertion_sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterTha" -/* 8010A634 00107594 48 00 01 C4 */ b lbl_8010A7F8 -lbl_8010A638: -/* 8010A638 00107598 54 80 0F FE */ srwi r0, r4, 0x1f -/* 8010A63C 0010759C 38 A5 FF F0 */ addi r5, r5, -16 -/* 8010A640 001075A0 7C 80 22 14 */ add r4, r0, r4 -/* 8010A644 001075A4 88 1D 00 00 */ lbz r0, 0(r29) -/* 8010A648 001075A8 7C 84 0E 70 */ srawi r4, r4, 1 -/* 8010A64C 001075AC 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 8010A650 001075B0 54 84 20 36 */ slwi r4, r4, 4 -/* 8010A654 001075B4 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8010A658 001075B8 7F E3 22 14 */ add r31, r3, r4 -/* 8010A65C 001075BC 98 01 00 10 */ stb r0, 0x10(r1) -/* 8010A660 001075C0 7F E4 FB 78 */ mr r4, r31 -/* 8010A664 001075C4 48 00 04 F9 */ bl "__sort3<20SDumpableTextureInfo,24CTextureScoreGreaterThan>__4rstlFR20SDumpableTextureInfoR20SDumpableTextureInfoR20SDumpableTextureInfo24CTextureScoreGreaterThan" -/* 8010A668 001075C8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8010A66C 001075CC 3B C1 00 58 */ addi r30, r1, 0x58 -/* 8010A670 001075D0 7F C3 F3 78 */ mr r3, r30 -/* 8010A674 001075D4 38 9F 00 08 */ addi r4, r31, 8 -/* 8010A678 001075D8 90 01 00 50 */ stw r0, 0x50(r1) -/* 8010A67C 001075DC 80 1F 00 04 */ lwz r0, 4(r31) -/* 8010A680 001075E0 90 01 00 54 */ stw r0, 0x54(r1) -/* 8010A684 001075E4 48 23 68 25 */ bl __ct__6CTokenFRC6CToken -/* 8010A688 001075E8 80 9B 00 00 */ lwz r4, 0(r27) -/* 8010A68C 001075EC 3B E1 00 48 */ addi r31, r1, 0x48 -/* 8010A690 001075F0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8010A694 001075F4 38 84 00 10 */ addi r4, r4, 0x10 -/* 8010A698 001075F8 38 03 FF F0 */ addi r0, r3, -16 -/* 8010A69C 001075FC 90 81 00 38 */ stw r4, 0x38(r1) -/* 8010A6A0 00107600 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_8010A6A4: -/* 8010A6A4 00107604 80 81 00 54 */ lwz r4, 0x54(r1) -/* 8010A6A8 00107608 48 00 00 10 */ b lbl_8010A6B8 -lbl_8010A6AC: -/* 8010A6AC 0010760C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8010A6B0 00107610 38 03 00 10 */ addi r0, r3, 0x10 -/* 8010A6B4 00107614 90 01 00 38 */ stw r0, 0x38(r1) -lbl_8010A6B8: -/* 8010A6B8 00107618 80 61 00 38 */ lwz r3, 0x38(r1) -/* 8010A6BC 0010761C 80 03 00 04 */ lwz r0, 4(r3) -/* 8010A6C0 00107620 7C 00 20 00 */ cmpw r0, r4 -/* 8010A6C4 00107624 41 80 FF E8 */ blt lbl_8010A6AC -/* 8010A6C8 00107628 48 00 00 10 */ b lbl_8010A6D8 -lbl_8010A6CC: -/* 8010A6CC 0010762C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8010A6D0 00107630 38 03 FF F0 */ addi r0, r3, -16 -/* 8010A6D4 00107634 90 01 00 3C */ stw r0, 0x3c(r1) -lbl_8010A6D8: -/* 8010A6D8 00107638 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8010A6DC 0010763C 80 03 00 04 */ lwz r0, 4(r3) -/* 8010A6E0 00107640 7C 04 00 00 */ cmpw r4, r0 -/* 8010A6E4 00107644 41 80 FF E8 */ blt lbl_8010A6CC -/* 8010A6E8 00107648 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8010A6EC 0010764C 7C 00 18 40 */ cmplw r0, r3 -/* 8010A6F0 00107650 40 80 00 A4 */ bge lbl_8010A794 -/* 8010A6F4 00107654 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 8010A6F8 00107658 7F E3 FB 78 */ mr r3, r31 -/* 8010A6FC 0010765C 80 C1 00 3C */ lwz r6, 0x3c(r1) -/* 8010A700 00107660 80 05 00 00 */ lwz r0, 0(r5) -/* 8010A704 00107664 38 85 00 08 */ addi r4, r5, 8 -/* 8010A708 00107668 90 C1 00 28 */ stw r6, 0x28(r1) -/* 8010A70C 0010766C 90 01 00 40 */ stw r0, 0x40(r1) -/* 8010A710 00107670 80 05 00 04 */ lwz r0, 4(r5) -/* 8010A714 00107674 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8010A718 00107678 90 01 00 44 */ stw r0, 0x44(r1) -/* 8010A71C 0010767C 48 23 67 8D */ bl __ct__6CTokenFRC6CToken -/* 8010A720 00107680 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8010A724 00107684 80 C1 00 2C */ lwz r6, 0x2c(r1) -/* 8010A728 00107688 80 05 00 00 */ lwz r0, 0(r5) -/* 8010A72C 0010768C 38 85 00 08 */ addi r4, r5, 8 -/* 8010A730 00107690 38 66 00 08 */ addi r3, r6, 8 -/* 8010A734 00107694 90 06 00 00 */ stw r0, 0(r6) -/* 8010A738 00107698 80 05 00 04 */ lwz r0, 4(r5) -/* 8010A73C 0010769C 90 06 00 04 */ stw r0, 4(r6) -/* 8010A740 001076A0 48 23 65 85 */ bl __as__6CTokenFRC6CToken -/* 8010A744 001076A4 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8010A748 001076A8 7F E4 FB 78 */ mr r4, r31 -/* 8010A74C 001076AC 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8010A750 001076B0 38 65 00 08 */ addi r3, r5, 8 -/* 8010A754 001076B4 90 05 00 00 */ stw r0, 0(r5) -/* 8010A758 001076B8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8010A75C 001076BC 90 05 00 04 */ stw r0, 4(r5) -/* 8010A760 001076C0 48 23 65 65 */ bl __as__6CTokenFRC6CToken -/* 8010A764 001076C4 28 1F 00 00 */ cmplwi r31, 0 -/* 8010A768 001076C8 41 82 00 10 */ beq lbl_8010A778 -/* 8010A76C 001076CC 7F E3 FB 78 */ mr r3, r31 -/* 8010A770 001076D0 38 80 00 00 */ li r4, 0 -/* 8010A774 001076D4 48 23 66 CD */ bl __dt__6CTokenFv -lbl_8010A778: -/* 8010A778 001076D8 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8010A77C 001076DC 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8010A780 001076E0 38 84 00 10 */ addi r4, r4, 0x10 -/* 8010A784 001076E4 38 03 FF F0 */ addi r0, r3, -16 -/* 8010A788 001076E8 90 81 00 38 */ stw r4, 0x38(r1) -/* 8010A78C 001076EC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8010A790 001076F0 4B FF FF 14 */ b lbl_8010A6A4 -lbl_8010A794: -/* 8010A794 001076F4 88 FD 00 00 */ lbz r7, 0(r29) -/* 8010A798 001076F8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8010A79C 001076FC 80 C1 00 38 */ lwz r6, 0x38(r1) -/* 8010A7A0 00107700 38 81 00 20 */ addi r4, r1, 0x20 -/* 8010A7A4 00107704 80 1B 00 00 */ lwz r0, 0(r27) -/* 8010A7A8 00107708 38 A1 00 0C */ addi r5, r1, 0xc -/* 8010A7AC 0010770C 98 E1 00 0C */ stb r7, 0xc(r1) -/* 8010A7B0 00107710 90 C1 00 20 */ stw r6, 0x20(r1) -/* 8010A7B4 00107714 90 01 00 24 */ stw r0, 0x24(r1) -/* 8010A7B8 00107718 4B FF FE 15 */ bl "sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan" -/* 8010A7BC 0010771C 88 FD 00 00 */ lbz r7, 0(r29) -/* 8010A7C0 00107720 38 61 00 1C */ addi r3, r1, 0x1c -/* 8010A7C4 00107724 80 DC 00 00 */ lwz r6, 0(r28) -/* 8010A7C8 00107728 38 81 00 18 */ addi r4, r1, 0x18 -/* 8010A7CC 0010772C 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8010A7D0 00107730 38 A1 00 08 */ addi r5, r1, 8 -/* 8010A7D4 00107734 98 E1 00 08 */ stb r7, 8(r1) -/* 8010A7D8 00107738 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8010A7DC 0010773C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8010A7E0 00107740 4B FF FD ED */ bl "sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterThan" -/* 8010A7E4 00107744 28 1E 00 00 */ cmplwi r30, 0 -/* 8010A7E8 00107748 41 82 00 10 */ beq lbl_8010A7F8 -/* 8010A7EC 0010774C 7F C3 F3 78 */ mr r3, r30 -/* 8010A7F0 00107750 38 80 00 00 */ li r4, 0 -/* 8010A7F4 00107754 48 23 66 4D */ bl __dt__6CTokenFv -lbl_8010A7F8: -/* 8010A7F8 00107758 BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 8010A7FC 0010775C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8010A800 00107760 7C 08 03 A6 */ mtlr r0 -/* 8010A804 00107764 38 21 00 80 */ addi r1, r1, 0x80 -/* 8010A808 00107768 4E 80 00 20 */ blr - -.global sub_8010a80c -sub_8010a80c: -/* 8010A80C 0010776C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010A810 00107770 7C 08 02 A6 */ mflr r0 -/* 8010A814 00107774 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010A818 00107778 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8010A81C 0010777C 7C 9F 23 78 */ mr r31, r4 -/* 8010A820 00107780 7C 7E 1B 78 */ mr r30, r3 -/* 8010A824 00107784 80 03 00 08 */ lwz r0, 8(r3) -/* 8010A828 00107788 7C 1F 00 00 */ cmpw r31, r0 -/* 8010A82C 0010778C 40 81 00 C4 */ ble lbl_8010A8F0 -/* 8010A830 00107790 57 E3 18 39 */ rlwinm. r3, r31, 3, 0, 0x1c -/* 8010A834 00107794 40 82 00 0C */ bne lbl_8010A840 -/* 8010A838 00107798 3B 80 00 00 */ li r28, 0 -/* 8010A83C 0010779C 48 00 00 1C */ b lbl_8010A858 -lbl_8010A840: -/* 8010A840 001077A0 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha -/* 8010A844 001077A4 38 A0 00 00 */ li r5, 0 -/* 8010A848 001077A8 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l -/* 8010A84C 001077AC 38 84 02 AC */ addi r4, r4, 0x2ac -/* 8010A850 001077B0 48 20 AF C9 */ bl __nwa__FUlPCcPCc -/* 8010A854 001077B4 7C 7C 1B 78 */ mr r28, r3 -lbl_8010A858: -/* 8010A858 001077B8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8010A85C 001077BC 7F 9B E3 78 */ mr r27, r28 -/* 8010A860 001077C0 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 8010A864 001077C4 54 00 18 38 */ slwi r0, r0, 3 -/* 8010A868 001077C8 7F BA 02 14 */ add r29, r26, r0 -/* 8010A86C 001077CC 93 41 00 10 */ stw r26, 0x10(r1) -/* 8010A870 001077D0 93 A1 00 08 */ stw r29, 8(r1) -/* 8010A874 001077D4 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8010A878 001077D8 93 41 00 14 */ stw r26, 0x14(r1) -/* 8010A87C 001077DC 48 00 00 20 */ b lbl_8010A89C -lbl_8010A880: -/* 8010A880 001077E0 28 1B 00 00 */ cmplwi r27, 0 -/* 8010A884 001077E4 41 82 00 10 */ beq lbl_8010A894 -/* 8010A888 001077E8 7F 63 DB 78 */ mr r3, r27 -/* 8010A88C 001077EC 7F 44 D3 78 */ mr r4, r26 -/* 8010A890 001077F0 48 23 66 19 */ bl __ct__6CTokenFRC6CToken -lbl_8010A894: -/* 8010A894 001077F4 3B 7B 00 08 */ addi r27, r27, 8 -/* 8010A898 001077F8 3B 5A 00 08 */ addi r26, r26, 8 -lbl_8010A89C: -/* 8010A89C 001077FC 7C 1A E8 40 */ cmplw r26, r29 -/* 8010A8A0 00107800 40 82 FF E0 */ bne lbl_8010A880 -/* 8010A8A4 00107804 80 1E 00 04 */ lwz r0, 4(r30) -/* 8010A8A8 00107808 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 8010A8AC 0010780C 54 00 18 38 */ slwi r0, r0, 3 -/* 8010A8B0 00107810 7F 7A 02 14 */ add r27, r26, r0 -/* 8010A8B4 00107814 48 00 00 1C */ b lbl_8010A8D0 -lbl_8010A8B8: -/* 8010A8B8 00107818 28 1A 00 00 */ cmplwi r26, 0 -/* 8010A8BC 0010781C 41 82 00 10 */ beq lbl_8010A8CC -/* 8010A8C0 00107820 7F 43 D3 78 */ mr r3, r26 -/* 8010A8C4 00107824 38 80 00 00 */ li r4, 0 -/* 8010A8C8 00107828 48 23 65 79 */ bl __dt__6CTokenFv -lbl_8010A8CC: -/* 8010A8CC 0010782C 3B 5A 00 08 */ addi r26, r26, 8 -lbl_8010A8D0: -/* 8010A8D0 00107830 7C 1A D8 40 */ cmplw r26, r27 -/* 8010A8D4 00107834 40 82 FF E4 */ bne lbl_8010A8B8 -/* 8010A8D8 00107838 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8010A8DC 0010783C 28 03 00 00 */ cmplwi r3, 0 -/* 8010A8E0 00107840 41 82 00 08 */ beq lbl_8010A8E8 -/* 8010A8E4 00107844 48 20 B0 4D */ bl Free__7CMemoryFPCv -lbl_8010A8E8: -/* 8010A8E8 00107848 93 9E 00 0C */ stw r28, 0xc(r30) -/* 8010A8EC 0010784C 93 FE 00 08 */ stw r31, 8(r30) -lbl_8010A8F0: -/* 8010A8F0 00107850 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8010A8F4 00107854 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010A8F8 00107858 7C 08 03 A6 */ mtlr r0 -/* 8010A8FC 0010785C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010A900 00107860 4E 80 00 20 */ blr - -.global "reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>Fi": -/* 8010A904 00107864 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010A908 00107868 7C 08 02 A6 */ mflr r0 -/* 8010A90C 0010786C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010A910 00107870 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8010A914 00107874 7C 9F 23 78 */ mr r31, r4 -/* 8010A918 00107878 7C 7E 1B 78 */ mr r30, r3 -/* 8010A91C 0010787C 80 03 00 08 */ lwz r0, 8(r3) -/* 8010A920 00107880 7C 1F 00 00 */ cmpw r31, r0 -/* 8010A924 00107884 40 81 00 DC */ ble lbl_8010AA00 -/* 8010A928 00107888 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 8010A92C 0010788C 40 82 00 0C */ bne lbl_8010A938 -/* 8010A930 00107890 3B 80 00 00 */ li r28, 0 -/* 8010A934 00107894 48 00 00 1C */ b lbl_8010A950 -lbl_8010A938: -/* 8010A938 00107898 3C 80 80 3D */ lis r4, lbl_803CEEC4@ha -/* 8010A93C 0010789C 38 A0 00 00 */ li r5, 0 -/* 8010A940 001078A0 38 84 EE C4 */ addi r4, r4, lbl_803CEEC4@l -/* 8010A944 001078A4 38 84 02 AC */ addi r4, r4, 0x2ac -/* 8010A948 001078A8 48 20 AE D1 */ bl __nwa__FUlPCcPCc -/* 8010A94C 001078AC 7C 7C 1B 78 */ mr r28, r3 -lbl_8010A950: -/* 8010A950 001078B0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8010A954 001078B4 7F 9B E3 78 */ mr r27, r28 -/* 8010A958 001078B8 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 8010A95C 001078BC 54 00 20 36 */ slwi r0, r0, 4 -/* 8010A960 001078C0 7F BA 02 14 */ add r29, r26, r0 -/* 8010A964 001078C4 93 41 00 10 */ stw r26, 0x10(r1) -/* 8010A968 001078C8 93 A1 00 08 */ stw r29, 8(r1) -/* 8010A96C 001078CC 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8010A970 001078D0 93 41 00 14 */ stw r26, 0x14(r1) -/* 8010A974 001078D4 48 00 00 30 */ b lbl_8010A9A4 -lbl_8010A978: -/* 8010A978 001078D8 28 1B 00 00 */ cmplwi r27, 0 -/* 8010A97C 001078DC 41 82 00 20 */ beq lbl_8010A99C -/* 8010A980 001078E0 80 1A 00 00 */ lwz r0, 0(r26) -/* 8010A984 001078E4 38 7B 00 08 */ addi r3, r27, 8 -/* 8010A988 001078E8 38 9A 00 08 */ addi r4, r26, 8 -/* 8010A98C 001078EC 90 1B 00 00 */ stw r0, 0(r27) -/* 8010A990 001078F0 80 1A 00 04 */ lwz r0, 4(r26) -/* 8010A994 001078F4 90 1B 00 04 */ stw r0, 4(r27) -/* 8010A998 001078F8 48 23 65 11 */ bl __ct__6CTokenFRC6CToken -lbl_8010A99C: -/* 8010A99C 001078FC 3B 7B 00 10 */ addi r27, r27, 0x10 -/* 8010A9A0 00107900 3B 5A 00 10 */ addi r26, r26, 0x10 -lbl_8010A9A4: -/* 8010A9A4 00107904 7C 1A E8 40 */ cmplw r26, r29 -/* 8010A9A8 00107908 40 82 FF D0 */ bne lbl_8010A978 -/* 8010A9AC 0010790C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8010A9B0 00107910 83 5E 00 0C */ lwz r26, 0xc(r30) -/* 8010A9B4 00107914 54 00 20 36 */ slwi r0, r0, 4 -/* 8010A9B8 00107918 7F 7A 02 14 */ add r27, r26, r0 -/* 8010A9BC 0010791C 48 00 00 24 */ b lbl_8010A9E0 -lbl_8010A9C0: -/* 8010A9C0 00107920 28 1A 00 00 */ cmplwi r26, 0 -/* 8010A9C4 00107924 41 82 00 18 */ beq lbl_8010A9DC -/* 8010A9C8 00107928 34 1A 00 08 */ addic. r0, r26, 8 -/* 8010A9CC 0010792C 41 82 00 10 */ beq lbl_8010A9DC -/* 8010A9D0 00107930 38 7A 00 08 */ addi r3, r26, 8 -/* 8010A9D4 00107934 38 80 00 00 */ li r4, 0 -/* 8010A9D8 00107938 48 23 64 69 */ bl __dt__6CTokenFv -lbl_8010A9DC: -/* 8010A9DC 0010793C 3B 5A 00 10 */ addi r26, r26, 0x10 -lbl_8010A9E0: -/* 8010A9E0 00107940 7C 1A D8 40 */ cmplw r26, r27 -/* 8010A9E4 00107944 40 82 FF DC */ bne lbl_8010A9C0 -/* 8010A9E8 00107948 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8010A9EC 0010794C 28 03 00 00 */ cmplwi r3, 0 -/* 8010A9F0 00107950 41 82 00 08 */ beq lbl_8010A9F8 -/* 8010A9F4 00107954 48 20 AF 3D */ bl Free__7CMemoryFPCv -lbl_8010A9F8: -/* 8010A9F8 00107958 93 9E 00 0C */ stw r28, 0xc(r30) -/* 8010A9FC 0010795C 93 FE 00 08 */ stw r31, 8(r30) -lbl_8010AA00: -/* 8010AA00 00107960 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8010AA04 00107964 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010AA08 00107968 7C 08 03 A6 */ mtlr r0 -/* 8010AA0C 0010796C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010AA10 00107970 4E 80 00 20 */ blr - -.global sub_8010aa14 -sub_8010aa14: -/* 8010AA14 00107974 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8010AA18 00107978 7C 08 02 A6 */ mflr r0 -/* 8010AA1C 0010797C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8010AA20 00107980 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8010AA24 00107984 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8010AA28 00107988 7C 9E 23 78 */ mr r30, r4 -/* 8010AA2C 0010798C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8010AA30 00107990 7C 7D 1B 78 */ mr r29, r3 -/* 8010AA34 00107994 80 03 00 04 */ lwz r0, 4(r3) -/* 8010AA38 00107998 83 E4 00 04 */ lwz r31, 4(r4) -/* 8010AA3C 0010799C 7C 1E 00 40 */ cmplw r30, r0 -/* 8010AA40 001079A0 40 82 00 08 */ bne lbl_8010AA48 -/* 8010AA44 001079A4 93 FD 00 04 */ stw r31, 4(r29) -lbl_8010AA48: -/* 8010AA48 001079A8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8010AA4C 001079AC 34 9E 00 08 */ addic. r4, r30, 8 -/* 8010AA50 001079B0 80 7E 00 00 */ lwz r3, 0(r30) -/* 8010AA54 001079B4 90 03 00 04 */ stw r0, 4(r3) -/* 8010AA58 001079B8 80 1E 00 00 */ lwz r0, 0(r30) -/* 8010AA5C 001079BC 80 7E 00 04 */ lwz r3, 4(r30) -/* 8010AA60 001079C0 90 03 00 00 */ stw r0, 0(r3) -/* 8010AA64 001079C4 41 82 00 18 */ beq lbl_8010AA7C -/* 8010AA68 001079C8 34 04 00 04 */ addic. r0, r4, 4 -/* 8010AA6C 001079CC 41 82 00 10 */ beq lbl_8010AA7C -/* 8010AA70 001079D0 38 64 00 04 */ addi r3, r4, 4 -/* 8010AA74 001079D4 38 80 00 00 */ li r4, 0 -/* 8010AA78 001079D8 48 23 63 C9 */ bl __dt__6CTokenFv -lbl_8010AA7C: -/* 8010AA7C 001079DC 28 1E 00 00 */ cmplwi r30, 0 -/* 8010AA80 001079E0 41 82 00 0C */ beq lbl_8010AA8C -/* 8010AA84 001079E4 7F C3 F3 78 */ mr r3, r30 -/* 8010AA88 001079E8 48 20 AE A9 */ bl Free__7CMemoryFPCv -lbl_8010AA8C: -/* 8010AA8C 001079EC 80 9D 00 14 */ lwz r4, 0x14(r29) -/* 8010AA90 001079F0 7F E3 FB 78 */ mr r3, r31 -/* 8010AA94 001079F4 38 04 FF FF */ addi r0, r4, -1 -/* 8010AA98 001079F8 90 1D 00 14 */ stw r0, 0x14(r29) -/* 8010AA9C 001079FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8010AAA0 00107A00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010AAA4 00107A04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8010AAA8 00107A08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8010AAAC 00107A0C 7C 08 03 A6 */ mtlr r0 -/* 8010AAB0 00107A10 38 21 00 20 */ addi r1, r1, 0x20 -/* 8010AAB4 00107A14 4E 80 00 20 */ blr - -.global sub_8010aab8 -sub_8010aab8: -/* 8010AAB8 00107A18 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8010AABC 00107A1C 7C 08 02 A6 */ mflr r0 -/* 8010AAC0 00107A20 90 01 00 24 */ stw r0, 0x24(r1) -/* 8010AAC4 00107A24 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8010AAC8 00107A28 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8010AACC 00107A2C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8010AAD0 00107A30 7C 9D 23 78 */ mr r29, r4 -/* 8010AAD4 00107A34 93 81 00 10 */ stw r28, 0x10(r1) -/* 8010AAD8 00107A38 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8010AADC 00107A3C 41 82 00 5C */ beq lbl_8010AB38 -/* 8010AAE0 00107A40 83 FC 00 04 */ lwz r31, 4(r28) -/* 8010AAE4 00107A44 48 00 00 38 */ b lbl_8010AB1C -lbl_8010AAE8: -/* 8010AAE8 00107A48 7F FE FB 78 */ mr r30, r31 -/* 8010AAEC 00107A4C 83 FF 00 04 */ lwz r31, 4(r31) -/* 8010AAF0 00107A50 34 7E 00 08 */ addic. r3, r30, 8 -/* 8010AAF4 00107A54 41 82 00 18 */ beq lbl_8010AB0C -/* 8010AAF8 00107A58 34 03 00 04 */ addic. r0, r3, 4 -/* 8010AAFC 00107A5C 41 82 00 10 */ beq lbl_8010AB0C -/* 8010AB00 00107A60 38 63 00 04 */ addi r3, r3, 4 -/* 8010AB04 00107A64 38 80 00 00 */ li r4, 0 -/* 8010AB08 00107A68 48 23 63 39 */ bl __dt__6CTokenFv -lbl_8010AB0C: -/* 8010AB0C 00107A6C 28 1E 00 00 */ cmplwi r30, 0 -/* 8010AB10 00107A70 41 82 00 0C */ beq lbl_8010AB1C -/* 8010AB14 00107A74 7F C3 F3 78 */ mr r3, r30 -/* 8010AB18 00107A78 48 20 AE 19 */ bl Free__7CMemoryFPCv -lbl_8010AB1C: -/* 8010AB1C 00107A7C 80 1C 00 08 */ lwz r0, 8(r28) -/* 8010AB20 00107A80 7C 1F 00 40 */ cmplw r31, r0 -/* 8010AB24 00107A84 40 82 FF C4 */ bne lbl_8010AAE8 -/* 8010AB28 00107A88 7F A0 07 35 */ extsh. r0, r29 -/* 8010AB2C 00107A8C 40 81 00 0C */ ble lbl_8010AB38 -/* 8010AB30 00107A90 7F 83 E3 78 */ mr r3, r28 -/* 8010AB34 00107A94 48 20 AD FD */ bl Free__7CMemoryFPCv -lbl_8010AB38: -/* 8010AB38 00107A98 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8010AB3C 00107A9C 7F 83 E3 78 */ mr r3, r28 -/* 8010AB40 00107AA0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8010AB44 00107AA4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010AB48 00107AA8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8010AB4C 00107AAC 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8010AB50 00107AB0 7C 08 03 A6 */ mtlr r0 -/* 8010AB54 00107AB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8010AB58 00107AB8 4E 80 00 20 */ blr - -.global "__sort3<20SDumpableTextureInfo,24CTextureScoreGreaterThan>__4rstlFR20SDumpableTextureInfoR20SDumpableTextureInfoR20SDumpableTextureInfo24CTextureScoreGreaterThan" -"__sort3<20SDumpableTextureInfo,24CTextureScoreGreaterThan>__4rstlFR20SDumpableTextureInfoR20SDumpableTextureInfoR20SDumpableTextureInfo24CTextureScoreGreaterThan": -/* 8010AB5C 00107ABC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8010AB60 00107AC0 7C 08 02 A6 */ mflr r0 -/* 8010AB64 00107AC4 90 01 00 44 */ stw r0, 0x44(r1) -/* 8010AB68 00107AC8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8010AB6C 00107ACC 7C 9F 23 78 */ mr r31, r4 -/* 8010AB70 00107AD0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8010AB74 00107AD4 7C 7E 1B 78 */ mr r30, r3 -/* 8010AB78 00107AD8 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8010AB7C 00107ADC 93 81 00 30 */ stw r28, 0x30(r1) -/* 8010AB80 00107AE0 7C BC 2B 78 */ mr r28, r5 -/* 8010AB84 00107AE4 80 04 00 04 */ lwz r0, 4(r4) -/* 8010AB88 00107AE8 80 A3 00 04 */ lwz r5, 4(r3) -/* 8010AB8C 00107AEC 7C 00 28 00 */ cmpw r0, r5 -/* 8010AB90 00107AF0 40 80 00 6C */ bge lbl_8010ABFC -/* 8010AB94 00107AF4 80 1E 00 00 */ lwz r0, 0(r30) -/* 8010AB98 00107AF8 3B A1 00 10 */ addi r29, r1, 0x10 -/* 8010AB9C 00107AFC 7F A3 EB 78 */ mr r3, r29 -/* 8010ABA0 00107B00 38 9E 00 08 */ addi r4, r30, 8 -/* 8010ABA4 00107B04 90 01 00 08 */ stw r0, 8(r1) -/* 8010ABA8 00107B08 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8010ABAC 00107B0C 48 23 62 FD */ bl __ct__6CTokenFRC6CToken -/* 8010ABB0 00107B10 80 1F 00 00 */ lwz r0, 0(r31) -/* 8010ABB4 00107B14 38 7E 00 08 */ addi r3, r30, 8 -/* 8010ABB8 00107B18 38 9F 00 08 */ addi r4, r31, 8 -/* 8010ABBC 00107B1C 90 1E 00 00 */ stw r0, 0(r30) -/* 8010ABC0 00107B20 80 1F 00 04 */ lwz r0, 4(r31) -/* 8010ABC4 00107B24 90 1E 00 04 */ stw r0, 4(r30) -/* 8010ABC8 00107B28 48 23 60 FD */ bl __as__6CTokenFRC6CToken -/* 8010ABCC 00107B2C 80 01 00 08 */ lwz r0, 8(r1) -/* 8010ABD0 00107B30 7F A4 EB 78 */ mr r4, r29 -/* 8010ABD4 00107B34 38 7F 00 08 */ addi r3, r31, 8 -/* 8010ABD8 00107B38 90 1F 00 00 */ stw r0, 0(r31) -/* 8010ABDC 00107B3C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8010ABE0 00107B40 90 1F 00 04 */ stw r0, 4(r31) -/* 8010ABE4 00107B44 48 23 60 E1 */ bl __as__6CTokenFRC6CToken -/* 8010ABE8 00107B48 28 1D 00 00 */ cmplwi r29, 0 -/* 8010ABEC 00107B4C 41 82 00 10 */ beq lbl_8010ABFC -/* 8010ABF0 00107B50 7F A3 EB 78 */ mr r3, r29 -/* 8010ABF4 00107B54 38 80 00 00 */ li r4, 0 -/* 8010ABF8 00107B58 48 23 62 49 */ bl __dt__6CTokenFv -lbl_8010ABFC: -/* 8010ABFC 00107B5C 80 BC 00 04 */ lwz r5, 4(r28) -/* 8010AC00 00107B60 80 1F 00 04 */ lwz r0, 4(r31) -/* 8010AC04 00107B64 7C 05 00 00 */ cmpw r5, r0 -/* 8010AC08 00107B68 40 80 00 B8 */ bge lbl_8010ACC0 -/* 8010AC0C 00107B6C 80 1C 00 00 */ lwz r0, 0(r28) -/* 8010AC10 00107B70 3B A1 00 20 */ addi r29, r1, 0x20 -/* 8010AC14 00107B74 7F A3 EB 78 */ mr r3, r29 -/* 8010AC18 00107B78 38 9C 00 08 */ addi r4, r28, 8 -/* 8010AC1C 00107B7C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8010AC20 00107B80 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8010AC24 00107B84 48 23 62 85 */ bl __ct__6CTokenFRC6CToken -/* 8010AC28 00107B88 80 1F 00 00 */ lwz r0, 0(r31) -/* 8010AC2C 00107B8C 38 7C 00 08 */ addi r3, r28, 8 -/* 8010AC30 00107B90 38 9F 00 08 */ addi r4, r31, 8 -/* 8010AC34 00107B94 90 1C 00 00 */ stw r0, 0(r28) -/* 8010AC38 00107B98 80 1F 00 04 */ lwz r0, 4(r31) -/* 8010AC3C 00107B9C 90 1C 00 04 */ stw r0, 4(r28) -/* 8010AC40 00107BA0 48 23 60 85 */ bl __as__6CTokenFRC6CToken -/* 8010AC44 00107BA4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8010AC48 00107BA8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8010AC4C 00107BAC 7C 03 00 00 */ cmpw r3, r0 -/* 8010AC50 00107BB0 40 80 00 40 */ bge lbl_8010AC90 -/* 8010AC54 00107BB4 80 1E 00 00 */ lwz r0, 0(r30) -/* 8010AC58 00107BB8 38 7F 00 08 */ addi r3, r31, 8 -/* 8010AC5C 00107BBC 38 9E 00 08 */ addi r4, r30, 8 -/* 8010AC60 00107BC0 90 1F 00 00 */ stw r0, 0(r31) -/* 8010AC64 00107BC4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8010AC68 00107BC8 90 1F 00 04 */ stw r0, 4(r31) -/* 8010AC6C 00107BCC 48 23 60 59 */ bl __as__6CTokenFRC6CToken -/* 8010AC70 00107BD0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8010AC74 00107BD4 7F A4 EB 78 */ mr r4, r29 -/* 8010AC78 00107BD8 38 7E 00 08 */ addi r3, r30, 8 -/* 8010AC7C 00107BDC 90 1E 00 00 */ stw r0, 0(r30) -/* 8010AC80 00107BE0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8010AC84 00107BE4 90 1E 00 04 */ stw r0, 4(r30) -/* 8010AC88 00107BE8 48 23 60 3D */ bl __as__6CTokenFRC6CToken -/* 8010AC8C 00107BEC 48 00 00 20 */ b lbl_8010ACAC -lbl_8010AC90: -/* 8010AC90 00107BF0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8010AC94 00107BF4 7F A4 EB 78 */ mr r4, r29 -/* 8010AC98 00107BF8 38 7F 00 08 */ addi r3, r31, 8 -/* 8010AC9C 00107BFC 90 1F 00 00 */ stw r0, 0(r31) -/* 8010ACA0 00107C00 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8010ACA4 00107C04 90 1F 00 04 */ stw r0, 4(r31) -/* 8010ACA8 00107C08 48 23 60 1D */ bl __as__6CTokenFRC6CToken -lbl_8010ACAC: -/* 8010ACAC 00107C0C 28 1D 00 00 */ cmplwi r29, 0 -/* 8010ACB0 00107C10 41 82 00 10 */ beq lbl_8010ACC0 -/* 8010ACB4 00107C14 7F A3 EB 78 */ mr r3, r29 -/* 8010ACB8 00107C18 38 80 00 00 */ li r4, 0 -/* 8010ACBC 00107C1C 48 23 61 85 */ bl __dt__6CTokenFv -lbl_8010ACC0: -/* 8010ACC0 00107C20 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8010ACC4 00107C24 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8010ACC8 00107C28 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8010ACCC 00107C2C 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8010ACD0 00107C30 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8010ACD4 00107C34 7C 08 03 A6 */ mtlr r0 -/* 8010ACD8 00107C38 38 21 00 40 */ addi r1, r1, 0x40 -/* 8010ACDC 00107C3C 4E 80 00 20 */ blr - -.global "__insertion_sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterTha" -"__insertion_sort,Q24rstl17rmemory_allocator>,24CTextureScoreGreaterThan>__4rstlFQ24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>Q24rstl134pointer_iterator<20SDumpableTextureInfo,Q24rstl57vector<20SDumpableTextureInfo,Q24rstl17rmemory_allocator>,Q24rstl17rmemory_allocator>24CTextureScoreGreaterTha": -/* 8010ACE0 00107C40 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010ACE4 00107C44 7C 08 02 A6 */ mflr r0 -/* 8010ACE8 00107C48 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010ACEC 00107C4C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8010ACF0 00107C50 7C 7A 1B 78 */ mr r26, r3 -/* 8010ACF4 00107C54 7C 9B 23 78 */ mr r27, r4 -/* 8010ACF8 00107C58 3B 81 00 10 */ addi r28, r1, 0x10 -/* 8010ACFC 00107C5C 83 E3 00 00 */ lwz r31, 0(r3) -/* 8010AD00 00107C60 3B FF 00 10 */ addi r31, r31, 0x10 -/* 8010AD04 00107C64 48 00 00 A0 */ b lbl_8010ADA4 -lbl_8010AD08: -/* 8010AD08 00107C68 80 1F 00 00 */ lwz r0, 0(r31) -/* 8010AD0C 00107C6C 7F 83 E3 78 */ mr r3, r28 -/* 8010AD10 00107C70 38 9F 00 08 */ addi r4, r31, 8 -/* 8010AD14 00107C74 90 01 00 08 */ stw r0, 8(r1) -/* 8010AD18 00107C78 80 1F 00 04 */ lwz r0, 4(r31) -/* 8010AD1C 00107C7C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8010AD20 00107C80 48 23 61 89 */ bl __ct__6CTokenFRC6CToken -/* 8010AD24 00107C84 7F FD FB 78 */ mr r29, r31 -/* 8010AD28 00107C88 3B DF FF F0 */ addi r30, r31, -16 -/* 8010AD2C 00107C8C 48 00 00 28 */ b lbl_8010AD54 -lbl_8010AD30: -/* 8010AD30 00107C90 80 1E 00 00 */ lwz r0, 0(r30) -/* 8010AD34 00107C94 38 7D 00 08 */ addi r3, r29, 8 -/* 8010AD38 00107C98 38 9E 00 08 */ addi r4, r30, 8 -/* 8010AD3C 00107C9C 90 1D 00 00 */ stw r0, 0(r29) -/* 8010AD40 00107CA0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8010AD44 00107CA4 90 1D 00 04 */ stw r0, 4(r29) -/* 8010AD48 00107CA8 48 23 5F 7D */ bl __as__6CTokenFRC6CToken -/* 8010AD4C 00107CAC 3B BD FF F0 */ addi r29, r29, -16 -/* 8010AD50 00107CB0 3B DE FF F0 */ addi r30, r30, -16 -lbl_8010AD54: -/* 8010AD54 00107CB4 80 1A 00 00 */ lwz r0, 0(r26) -/* 8010AD58 00107CB8 7C 00 E8 40 */ cmplw r0, r29 -/* 8010AD5C 00107CBC 40 80 00 14 */ bge lbl_8010AD70 -/* 8010AD60 00107CC0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8010AD64 00107CC4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8010AD68 00107CC8 7C 03 00 00 */ cmpw r3, r0 -/* 8010AD6C 00107CCC 41 80 FF C4 */ blt lbl_8010AD30 -lbl_8010AD70: -/* 8010AD70 00107CD0 80 01 00 08 */ lwz r0, 8(r1) -/* 8010AD74 00107CD4 7F 84 E3 78 */ mr r4, r28 -/* 8010AD78 00107CD8 38 7D 00 08 */ addi r3, r29, 8 -/* 8010AD7C 00107CDC 90 1D 00 00 */ stw r0, 0(r29) -/* 8010AD80 00107CE0 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8010AD84 00107CE4 90 1D 00 04 */ stw r0, 4(r29) -/* 8010AD88 00107CE8 48 23 5F 3D */ bl __as__6CTokenFRC6CToken -/* 8010AD8C 00107CEC 28 1C 00 00 */ cmplwi r28, 0 -/* 8010AD90 00107CF0 41 82 00 10 */ beq lbl_8010ADA0 -/* 8010AD94 00107CF4 7F 83 E3 78 */ mr r3, r28 -/* 8010AD98 00107CF8 38 80 00 00 */ li r4, 0 -/* 8010AD9C 00107CFC 48 23 60 A5 */ bl __dt__6CTokenFv -lbl_8010ADA0: -/* 8010ADA0 00107D00 3B FF 00 10 */ addi r31, r31, 0x10 -lbl_8010ADA4: -/* 8010ADA4 00107D04 80 1B 00 00 */ lwz r0, 0(r27) -/* 8010ADA8 00107D08 7C 1F 00 40 */ cmplw r31, r0 -/* 8010ADAC 00107D0C 41 80 FF 5C */ blt lbl_8010AD08 -/* 8010ADB0 00107D10 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8010ADB4 00107D14 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010ADB8 00107D18 7C 08 03 A6 */ mtlr r0 -/* 8010ADBC 00107D1C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010ADC0 00107D20 4E 80 00 20 */ blr - -.global GetSearchPath__8CWarWaspFv -GetSearchPath__8CWarWaspFv: -/* 8010ADC4 00107D24 38 63 05 90 */ addi r3, r3, 0x590 -/* 8010ADC8 00107D28 4E 80 00 20 */ blr - -.global IsListening__8CWarWaspCFv -IsListening__8CWarWaspCFv: -/* 8010ADCC 00107D2C 38 60 00 01 */ li r3, 1 -/* 8010ADD0 00107D30 4E 80 00 20 */ blr - -.global UpdateTelegraphMoveSpeed__8CWarWaspFR13CStateManager -UpdateTelegraphMoveSpeed__8CWarWaspFR13CStateManager: -/* 8010ADD4 00107D34 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010ADD8 00107D38 7C 08 02 A6 */ mflr r0 -/* 8010ADDC 00107D3C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010ADE0 00107D40 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8010ADE4 00107D44 7C 9F 23 78 */ mr r31, r4 -/* 8010ADE8 00107D48 7F E5 FB 78 */ mr r5, r31 -/* 8010ADEC 00107D4C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8010ADF0 00107D50 7C 7E 1B 78 */ mr r30, r3 -/* 8010ADF4 00107D54 7F C4 F3 78 */ mr r4, r30 -/* 8010ADF8 00107D58 80 C3 07 08 */ lwz r6, 0x708(r3) -/* 8010ADFC 00107D5C 38 61 00 0C */ addi r3, r1, 0xc -/* 8010AE00 00107D60 48 00 02 89 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri -/* 8010AE04 00107D64 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 8010AE08 00107D68 7F E3 FB 78 */ mr r3, r31 -/* 8010AE0C 00107D6C 38 81 00 08 */ addi r4, r1, 8 -/* 8010AE10 00107D70 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010AE14 00107D74 B0 01 00 08 */ sth r0, 8(r1) -/* 8010AE18 00107D78 4B F4 17 8D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010AE1C 00107D7C 7C 64 1B 78 */ mr r4, r3 -/* 8010AE20 00107D80 38 61 00 14 */ addi r3, r1, 0x14 -/* 8010AE24 00107D84 4B F9 A5 45 */ bl sub_800a5368 -/* 8010AE28 00107D88 4B F9 A5 15 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010AE2C 00107D8C 28 03 00 00 */ cmplwi r3, 0 -/* 8010AE30 00107D90 41 82 00 A4 */ beq lbl_8010AED4 -/* 8010AE34 00107D94 A0 81 00 10 */ lhz r4, 0x10(r1) -/* 8010AE38 00107D98 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8010AE3C 00107D9C 7C 04 00 40 */ cmplw r4, r0 -/* 8010AE40 00107DA0 40 82 00 88 */ bne lbl_8010AEC8 -/* 8010AE44 00107DA4 C0 7E 03 38 */ lfs f3, 0x338(r30) -/* 8010AE48 00107DA8 3C 00 43 30 */ lis r0, 0x4330 -/* 8010AE4C 00107DAC C0 02 94 C8 */ lfs f0, lbl_805AB1E8@sda21(r2) -/* 8010AE50 00107DB0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8010AE54 00107DB4 EC 23 00 32 */ fmuls f1, f3, f0 -/* 8010AE58 00107DB8 C8 42 94 E0 */ lfd f2, lbl_805AB200@sda21(r2) -/* 8010AE5C 00107DBC C0 02 94 CC */ lfs f0, lbl_805AB1EC@sda21(r2) -/* 8010AE60 00107DC0 C0 82 94 D0 */ lfs f4, lbl_805AB1F0@sda21(r2) -/* 8010AE64 00107DC4 FC 20 08 1E */ fctiwz f1, f1 -/* 8010AE68 00107DC8 D8 21 00 18 */ stfd f1, 0x18(r1) -/* 8010AE6C 00107DCC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8010AE70 00107DD0 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8010AE74 00107DD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8010AE78 00107DD8 C8 21 00 20 */ lfd f1, 0x20(r1) -/* 8010AE7C 00107DDC EC 21 10 28 */ fsubs f1, f1, f2 -/* 8010AE80 00107DE0 EC 01 18 3C */ fnmsubs f0, f1, f0, f3 -/* 8010AE84 00107DE4 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 8010AE88 00107DE8 40 80 00 10 */ bge lbl_8010AE98 -/* 8010AE8C 00107DEC C0 1E 06 FC */ lfs f0, 0x6fc(r30) -/* 8010AE90 00107DF0 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) -/* 8010AE94 00107DF4 48 00 00 48 */ b lbl_8010AEDC -lbl_8010AE98: -/* 8010AE98 00107DF8 EC 60 20 28 */ fsubs f3, f0, f4 -/* 8010AE9C 00107DFC C0 22 94 D4 */ lfs f1, lbl_805AB1F4@sda21(r2) -/* 8010AEA0 00107E00 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010AEA4 00107E04 C0 42 94 D8 */ lfs f2, lbl_805AB1F8@sda21(r2) -/* 8010AEA8 00107E08 EC A3 08 24 */ fdivs f5, f3, f1 -/* 8010AEAC 00107E0C C0 7E 06 FC */ lfs f3, 0x6fc(r30) -/* 8010AEB0 00107E10 EC 20 28 28 */ fsubs f1, f0, f5 -/* 8010AEB4 00107E14 EC 04 01 72 */ fmuls f0, f4, f5 -/* 8010AEB8 00107E18 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8010AEBC 00107E1C EC 03 00 32 */ fmuls f0, f3, f0 -/* 8010AEC0 00107E20 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) -/* 8010AEC4 00107E24 48 00 00 18 */ b lbl_8010AEDC -lbl_8010AEC8: -/* 8010AEC8 00107E28 C0 03 03 B4 */ lfs f0, 0x3b4(r3) -/* 8010AECC 00107E2C D0 1E 03 B4 */ stfs f0, 0x3b4(r30) -/* 8010AED0 00107E30 48 00 00 0C */ b lbl_8010AEDC -lbl_8010AED4: -/* 8010AED4 00107E34 C0 1E 06 FC */ lfs f0, 0x6fc(r30) -/* 8010AED8 00107E38 D0 1E 03 B4 */ stfs f0, 0x3b4(r30) -lbl_8010AEDC: -/* 8010AEDC 00107E3C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010AEE0 00107E40 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8010AEE4 00107E44 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8010AEE8 00107E48 7C 08 03 A6 */ mtlr r0 -/* 8010AEEC 00107E4C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010AEF0 00107E50 4E 80 00 20 */ blr - -.global CalcOffTotemAngle__8CWarWaspFR13CStateManager -CalcOffTotemAngle__8CWarWaspFR13CStateManager: -/* 8010AEF4 00107E54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8010AEF8 00107E58 7C 08 02 A6 */ mflr r0 -/* 8010AEFC 00107E5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8010AF00 00107E60 80 64 09 00 */ lwz r3, 0x900(r4) -/* 8010AF04 00107E64 48 20 75 D9 */ bl Float__9CRandom16Fv -/* 8010AF08 00107E68 C0 42 94 EC */ lfs f2, lbl_805AB20C@sda21(r2) -/* 8010AF0C 00107E6C C0 02 94 E8 */ lfs f0, lbl_805AB208@sda21(r2) -/* 8010AF10 00107E70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8010AF14 00107E74 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8010AF18 00107E78 7C 08 03 A6 */ mtlr r0 -/* 8010AF1C 00107E7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8010AF20 00107E80 4E 80 00 20 */ blr - -.global GetTeamZStratum__8CWarWaspFi -GetTeamZStratum__8CWarWaspFi: -/* 8010AF24 00107E84 2C 04 00 00 */ cmpwi r4, 0 -/* 8010AF28 00107E88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8010AF2C 00107E8C C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8010AF30 00107E90 40 81 00 68 */ ble lbl_8010AF98 -/* 8010AF34 00107E94 54 80 07 FE */ clrlwi r0, r4, 0x1f -/* 8010AF38 00107E98 2C 00 00 01 */ cmpwi r0, 1 -/* 8010AF3C 00107E9C 40 82 00 34 */ bne lbl_8010AF70 -/* 8010AF40 00107EA0 7C 83 0E 70 */ srawi r3, r4, 1 -/* 8010AF44 00107EA4 3C 00 43 30 */ lis r0, 0x4330 -/* 8010AF48 00107EA8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8010AF4C 00107EAC 90 01 00 08 */ stw r0, 8(r1) -/* 8010AF50 00107EB0 C8 42 94 E0 */ lfd f2, lbl_805AB200@sda21(r2) -/* 8010AF54 00107EB4 90 61 00 0C */ stw r3, 0xc(r1) -/* 8010AF58 00107EB8 C0 62 94 F8 */ lfs f3, lbl_805AB218@sda21(r2) -/* 8010AF5C 00107EBC C8 21 00 08 */ lfd f1, 8(r1) -/* 8010AF60 00107EC0 C0 02 94 F4 */ lfs f0, lbl_805AB214@sda21(r2) -/* 8010AF64 00107EC4 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8010AF68 00107EC8 EC 23 00 7C */ fnmsubs f1, f3, f1, f0 -/* 8010AF6C 00107ECC 48 00 00 2C */ b lbl_8010AF98 -lbl_8010AF70: -/* 8010AF70 00107ED0 7C 83 0E 70 */ srawi r3, r4, 1 -/* 8010AF74 00107ED4 3C 00 43 30 */ lis r0, 0x4330 -/* 8010AF78 00107ED8 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8010AF7C 00107EDC 90 01 00 08 */ stw r0, 8(r1) -/* 8010AF80 00107EE0 C8 22 94 E0 */ lfd f1, lbl_805AB200@sda21(r2) -/* 8010AF84 00107EE4 90 61 00 0C */ stw r3, 0xc(r1) -/* 8010AF88 00107EE8 C0 42 94 F8 */ lfs f2, lbl_805AB218@sda21(r2) -/* 8010AF8C 00107EEC C8 01 00 08 */ lfd f0, 8(r1) -/* 8010AF90 00107EF0 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8010AF94 00107EF4 EC 22 00 32 */ fmuls f1, f2, f0 -lbl_8010AF98: -/* 8010AF98 00107EF8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8010AF9C 00107EFC 4E 80 00 20 */ blr - -.global GetAttackTeamSize__8CWarWaspFR13CStateManageri -GetAttackTeamSize__8CWarWaspFR13CStateManageri: -/* 8010AFA0 00107F00 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8010AFA4 00107F04 7C 08 02 A6 */ mflr r0 -/* 8010AFA8 00107F08 90 01 00 44 */ stw r0, 0x44(r1) -/* 8010AFAC 00107F0C BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8010AFB0 00107F10 7C 9E 23 78 */ mr r30, r4 -/* 8010AFB4 00107F14 7C 7D 1B 78 */ mr r29, r3 -/* 8010AFB8 00107F18 7C BF 2B 78 */ mr r31, r5 -/* 8010AFBC 00107F1C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8010AFC0 00107F20 3B 80 00 00 */ li r28, 0 -/* 8010AFC4 00107F24 A0 03 06 74 */ lhz r0, 0x674(r3) -/* 8010AFC8 00107F28 7F C3 F3 78 */ mr r3, r30 -/* 8010AFCC 00107F2C B0 01 00 18 */ sth r0, 0x18(r1) -/* 8010AFD0 00107F30 4B F4 15 D5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010AFD4 00107F34 7C 64 1B 78 */ mr r4, r3 -/* 8010AFD8 00107F38 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010AFDC 00107F3C 4B F9 C5 99 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010AFE0 00107F40 83 63 00 04 */ lwz r27, 4(r3) -/* 8010AFE4 00107F44 28 1B 00 00 */ cmplwi r27, 0 -/* 8010AFE8 00107F48 41 82 00 88 */ beq lbl_8010B070 -/* 8010AFEC 00107F4C A0 1D 00 08 */ lhz r0, 8(r29) -/* 8010AFF0 00107F50 7F 63 DB 78 */ mr r3, r27 -/* 8010AFF4 00107F54 38 81 00 14 */ addi r4, r1, 0x14 -/* 8010AFF8 00107F58 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010AFFC 00107F5C B0 01 00 14 */ sth r0, 0x14(r1) -/* 8010B000 00107F60 48 12 DF F1 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId -/* 8010B004 00107F64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010B008 00107F68 41 82 00 68 */ beq lbl_8010B070 -/* 8010B00C 00107F6C 83 BB 00 64 */ lwz r29, 0x64(r27) -/* 8010B010 00107F70 48 00 00 48 */ b lbl_8010B058 -lbl_8010B014: -/* 8010B014 00107F74 A0 1D 00 00 */ lhz r0, 0(r29) -/* 8010B018 00107F78 7F C3 F3 78 */ mr r3, r30 -/* 8010B01C 00107F7C 38 81 00 0C */ addi r4, r1, 0xc -/* 8010B020 00107F80 B0 01 00 08 */ sth r0, 8(r1) -/* 8010B024 00107F84 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010B028 00107F88 4B F4 15 7D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B02C 00107F8C 7C 64 1B 78 */ mr r4, r3 -/* 8010B030 00107F90 38 61 00 1C */ addi r3, r1, 0x1c -/* 8010B034 00107F94 4B F9 A3 35 */ bl sub_800a5368 -/* 8010B038 00107F98 4B F9 A3 05 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010B03C 00107F9C 28 03 00 00 */ cmplwi r3, 0 -/* 8010B040 00107FA0 41 82 00 14 */ beq lbl_8010B054 -/* 8010B044 00107FA4 80 03 07 08 */ lwz r0, 0x708(r3) -/* 8010B048 00107FA8 7C 1F 00 00 */ cmpw r31, r0 -/* 8010B04C 00107FAC 40 82 00 08 */ bne lbl_8010B054 -/* 8010B050 00107FB0 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8010B054: -/* 8010B054 00107FB4 3B BD 00 28 */ addi r29, r29, 0x28 -lbl_8010B058: -/* 8010B058 00107FB8 80 1B 00 5C */ lwz r0, 0x5c(r27) -/* 8010B05C 00107FBC 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 8010B060 00107FC0 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8010B064 00107FC4 7C 03 02 14 */ add r0, r3, r0 -/* 8010B068 00107FC8 7C 1D 00 40 */ cmplw r29, r0 -/* 8010B06C 00107FCC 40 82 FF A8 */ bne lbl_8010B014 -lbl_8010B070: -/* 8010B070 00107FD0 7F 83 E3 78 */ mr r3, r28 -/* 8010B074 00107FD4 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8010B078 00107FD8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8010B07C 00107FDC 7C 08 03 A6 */ mtlr r0 -/* 8010B080 00107FE0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8010B084 00107FE4 4E 80 00 20 */ blr - -.global GetAttackTeamLeader__8CWarWaspFR13CStateManageri -GetAttackTeamLeader__8CWarWaspFR13CStateManageri: -/* 8010B088 00107FE8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8010B08C 00107FEC 7C 08 02 A6 */ mflr r0 -/* 8010B090 00107FF0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8010B094 00107FF4 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 8010B098 00107FF8 7C BE 2B 78 */ mr r30, r5 -/* 8010B09C 00107FFC 7C 7D 1B 78 */ mr r29, r3 -/* 8010B0A0 00108000 7C 9C 23 78 */ mr r28, r4 -/* 8010B0A4 00108004 7C DF 33 78 */ mr r31, r6 -/* 8010B0A8 00108008 7F C3 F3 78 */ mr r3, r30 -/* 8010B0AC 0010800C A0 04 06 74 */ lhz r0, 0x674(r4) -/* 8010B0B0 00108010 38 81 00 18 */ addi r4, r1, 0x18 -/* 8010B0B4 00108014 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8010B0B8 00108018 4B F4 14 ED */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B0BC 0010801C 7C 64 1B 78 */ mr r4, r3 -/* 8010B0C0 00108020 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010B0C4 00108024 4B F9 C4 B1 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010B0C8 00108028 83 63 00 04 */ lwz r27, 4(r3) -/* 8010B0CC 0010802C 28 1B 00 00 */ cmplwi r27, 0 -/* 8010B0D0 00108030 41 82 00 90 */ beq lbl_8010B160 -/* 8010B0D4 00108034 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8010B0D8 00108038 7F 63 DB 78 */ mr r3, r27 -/* 8010B0DC 0010803C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8010B0E0 00108040 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010B0E4 00108044 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8010B0E8 00108048 48 12 DF 09 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId -/* 8010B0EC 0010804C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010B0F0 00108050 41 82 00 70 */ beq lbl_8010B160 -/* 8010B0F4 00108054 83 9B 00 64 */ lwz r28, 0x64(r27) -/* 8010B0F8 00108058 48 00 00 50 */ b lbl_8010B148 -lbl_8010B0FC: -/* 8010B0FC 0010805C A0 1C 00 00 */ lhz r0, 0(r28) -/* 8010B100 00108060 7F C3 F3 78 */ mr r3, r30 -/* 8010B104 00108064 38 81 00 0C */ addi r4, r1, 0xc -/* 8010B108 00108068 B0 01 00 08 */ sth r0, 8(r1) -/* 8010B10C 0010806C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010B110 00108070 4B F4 14 95 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B114 00108074 7C 64 1B 78 */ mr r4, r3 -/* 8010B118 00108078 38 61 00 1C */ addi r3, r1, 0x1c -/* 8010B11C 0010807C 4B F9 A2 4D */ bl sub_800a5368 -/* 8010B120 00108080 4B F9 A2 1D */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010B124 00108084 28 03 00 00 */ cmplwi r3, 0 -/* 8010B128 00108088 41 82 00 1C */ beq lbl_8010B144 -/* 8010B12C 0010808C 80 03 07 08 */ lwz r0, 0x708(r3) -/* 8010B130 00108090 7C 1F 00 00 */ cmpw r31, r0 -/* 8010B134 00108094 40 82 00 10 */ bne lbl_8010B144 -/* 8010B138 00108098 A0 1C 00 00 */ lhz r0, 0(r28) -/* 8010B13C 0010809C B0 1D 00 00 */ sth r0, 0(r29) -/* 8010B140 001080A0 48 00 00 28 */ b lbl_8010B168 -lbl_8010B144: -/* 8010B144 001080A4 3B 9C 00 28 */ addi r28, r28, 0x28 -lbl_8010B148: -/* 8010B148 001080A8 80 1B 00 5C */ lwz r0, 0x5c(r27) -/* 8010B14C 001080AC 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 8010B150 001080B0 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8010B154 001080B4 7C 03 02 14 */ add r0, r3, r0 -/* 8010B158 001080B8 7C 1C 00 40 */ cmplw r28, r0 -/* 8010B15C 001080BC 40 82 FF A0 */ bne lbl_8010B0FC -lbl_8010B160: -/* 8010B160 001080C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8010B164 001080C4 B0 1D 00 00 */ sth r0, 0(r29) -lbl_8010B168: -/* 8010B168 001080C8 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 8010B16C 001080CC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8010B170 001080D0 7C 08 03 A6 */ mtlr r0 -/* 8010B174 001080D4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8010B178 001080D8 4E 80 00 20 */ blr - -.global TryCircleTeamMerge__8CWarWaspFR13CStateManager -TryCircleTeamMerge__8CWarWaspFR13CStateManager: -/* 8010B17C 001080DC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8010B180 001080E0 7C 08 02 A6 */ mflr r0 -/* 8010B184 001080E4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8010B188 001080E8 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8010B18C 001080EC 7C 7B 1B 78 */ mr r27, r3 -/* 8010B190 001080F0 7C 9F 23 78 */ mr r31, r4 -/* 8010B194 001080F4 83 A3 07 08 */ lwz r29, 0x708(r3) -/* 8010B198 001080F8 2C 1D 00 00 */ cmpwi r29, 0 -/* 8010B19C 001080FC 40 81 00 F8 */ ble lbl_8010B294 -/* 8010B1A0 00108100 A0 1B 06 74 */ lhz r0, 0x674(r27) -/* 8010B1A4 00108104 7F E3 FB 78 */ mr r3, r31 -/* 8010B1A8 00108108 38 81 00 1C */ addi r4, r1, 0x1c -/* 8010B1AC 0010810C B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8010B1B0 00108110 4B F4 13 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B1B4 00108114 7C 64 1B 78 */ mr r4, r3 -/* 8010B1B8 00108118 38 61 00 24 */ addi r3, r1, 0x24 -/* 8010B1BC 0010811C 4B F9 C3 B9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010B1C0 00108120 83 83 00 04 */ lwz r28, 4(r3) -/* 8010B1C4 00108124 28 1C 00 00 */ cmplwi r28, 0 -/* 8010B1C8 00108128 41 82 00 CC */ beq lbl_8010B294 -/* 8010B1CC 0010812C A0 1B 00 08 */ lhz r0, 8(r27) -/* 8010B1D0 00108130 7F 83 E3 78 */ mr r3, r28 -/* 8010B1D4 00108134 38 81 00 18 */ addi r4, r1, 0x18 -/* 8010B1D8 00108138 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8010B1DC 0010813C B0 01 00 18 */ sth r0, 0x18(r1) -/* 8010B1E0 00108140 48 12 DE 11 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId -/* 8010B1E4 00108144 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010B1E8 00108148 41 82 00 AC */ beq lbl_8010B294 -/* 8010B1EC 0010814C A3 DB 00 08 */ lhz r30, 8(r27) -/* 8010B1F0 00108150 7F 64 DB 78 */ mr r4, r27 -/* 8010B1F4 00108154 7F E5 FB 78 */ mr r5, r31 -/* 8010B1F8 00108158 7F A6 EB 78 */ mr r6, r29 -/* 8010B1FC 0010815C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010B200 00108160 4B FF FE 89 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri -/* 8010B204 00108164 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8010B208 00108168 7C 00 F0 40 */ cmplw r0, r30 -/* 8010B20C 0010816C 40 82 00 88 */ bne lbl_8010B294 -/* 8010B210 00108170 7F 63 DB 78 */ mr r3, r27 -/* 8010B214 00108174 7F E4 FB 78 */ mr r4, r31 -/* 8010B218 00108178 38 BD FF FF */ addi r5, r29, -1 -/* 8010B21C 0010817C 4B FF FD 85 */ bl GetAttackTeamSize__8CWarWaspFR13CStateManageri -/* 8010B220 00108180 2C 03 00 00 */ cmpwi r3, 0 -/* 8010B224 00108184 40 82 00 70 */ bne lbl_8010B294 -/* 8010B228 00108188 83 DC 00 64 */ lwz r30, 0x64(r28) -/* 8010B22C 0010818C 48 00 00 50 */ b lbl_8010B27C -lbl_8010B230: -/* 8010B230 00108190 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8010B234 00108194 7F E3 FB 78 */ mr r3, r31 -/* 8010B238 00108198 38 81 00 0C */ addi r4, r1, 0xc -/* 8010B23C 0010819C B0 01 00 08 */ sth r0, 8(r1) -/* 8010B240 001081A0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010B244 001081A4 4B F4 13 31 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8010B248 001081A8 7C 64 1B 78 */ mr r4, r3 -/* 8010B24C 001081AC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010B250 001081B0 4B F9 A1 19 */ bl sub_800a5368 -/* 8010B254 001081B4 4B F9 A0 E9 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010B258 001081B8 28 03 00 00 */ cmplwi r3, 0 -/* 8010B25C 001081BC 41 82 00 1C */ beq lbl_8010B278 -/* 8010B260 001081C0 80 03 07 08 */ lwz r0, 0x708(r3) -/* 8010B264 001081C4 7C 1D 00 00 */ cmpw r29, r0 -/* 8010B268 001081C8 40 82 00 10 */ bne lbl_8010B278 -/* 8010B26C 001081CC 7F E5 FB 78 */ mr r5, r31 -/* 8010B270 001081D0 38 9D FF FF */ addi r4, r29, -1 -/* 8010B274 001081D4 48 00 23 41 */ bl JoinCircleAttackTeam__8CWarWaspFiR13CStateManager -lbl_8010B278: -/* 8010B278 001081D8 3B DE 00 28 */ addi r30, r30, 0x28 -lbl_8010B27C: -/* 8010B27C 001081DC 80 1C 00 5C */ lwz r0, 0x5c(r28) -/* 8010B280 001081E0 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 8010B284 001081E4 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8010B288 001081E8 7C 03 02 14 */ add r0, r3, r0 -/* 8010B28C 001081EC 7C 1E 00 40 */ cmplw r30, r0 -/* 8010B290 001081F0 40 82 FF A0 */ bne lbl_8010B230 -lbl_8010B294: -/* 8010B294 001081F4 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8010B298 001081F8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8010B29C 001081FC 7C 08 03 A6 */ mtlr r0 -/* 8010B2A0 00108200 38 21 00 50 */ addi r1, r1, 0x50 -/* 8010B2A4 00108204 4E 80 00 20 */ blr - -.global SetUpCircleTelegraphTeam__8CWarWaspFR13CStateManager -SetUpCircleTelegraphTeam__8CWarWaspFR13CStateManager: -/* 8010B2A8 00108208 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8010B2AC 0010820C 7C 08 02 A6 */ mflr r0 -/* 8010B2B0 00108210 90 01 00 54 */ stw r0, 0x54(r1) -/* 8010B2B4 00108214 BF 01 00 30 */ stmw r24, 0x30(r1) -/* 8010B2B8 00108218 7C 7A 1B 78 */ mr r26, r3 -/* 8010B2BC 0010821C 7C 9B 23 78 */ mr r27, r4 -/* 8010B2C0 00108220 80 03 07 08 */ lwz r0, 0x708(r3) -/* 8010B2C4 00108224 2C 00 FF FF */ cmpwi r0, -1 -/* 8010B2C8 00108228 40 82 01 54 */ bne lbl_8010B41C -/* 8010B2CC 0010822C A0 1A 06 74 */ lhz r0, 0x674(r26) -/* 8010B2D0 00108230 7F 63 DB 78 */ mr r3, r27 -/* 8010B2D4 00108234 38 81 00 18 */ addi r4, r1, 0x18 -/* 8010B2D8 00108238 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8010B2DC 0010823C 4B F4 12 C9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B2E0 00108240 7C 64 1B 78 */ mr r4, r3 -/* 8010B2E4 00108244 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010B2E8 00108248 4B F9 C2 8D */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010B2EC 0010824C 83 E3 00 04 */ lwz r31, 4(r3) -/* 8010B2F0 00108250 28 1F 00 00 */ cmplwi r31, 0 -/* 8010B2F4 00108254 41 82 01 28 */ beq lbl_8010B41C -/* 8010B2F8 00108258 A0 1A 00 08 */ lhz r0, 8(r26) -/* 8010B2FC 0010825C 7F E3 FB 78 */ mr r3, r31 -/* 8010B300 00108260 38 81 00 14 */ addi r4, r1, 0x14 -/* 8010B304 00108264 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010B308 00108268 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8010B30C 0010826C 48 12 DC E5 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId -/* 8010B310 00108270 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010B314 00108274 41 82 01 08 */ beq lbl_8010B41C -/* 8010B318 00108278 83 3F 00 44 */ lwz r25, 0x44(r31) -/* 8010B31C 0010827C 2C 19 00 00 */ cmpwi r25, 0 -/* 8010B320 00108280 40 81 00 FC */ ble lbl_8010B41C -/* 8010B324 00108284 83 1F 00 64 */ lwz r24, 0x64(r31) -/* 8010B328 00108288 3B C0 00 00 */ li r30, 0 -/* 8010B32C 0010828C 3B A0 00 00 */ li r29, 0 -/* 8010B330 00108290 3B 80 00 00 */ li r28, 0 -/* 8010B334 00108294 48 00 00 8C */ b lbl_8010B3C0 -lbl_8010B338: -/* 8010B338 00108298 A0 18 00 00 */ lhz r0, 0(r24) -/* 8010B33C 0010829C 7F 63 DB 78 */ mr r3, r27 -/* 8010B340 001082A0 38 81 00 0C */ addi r4, r1, 0xc -/* 8010B344 001082A4 B0 01 00 08 */ sth r0, 8(r1) -/* 8010B348 001082A8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010B34C 001082AC 4B F4 12 59 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B350 001082B0 7C 64 1B 78 */ mr r4, r3 -/* 8010B354 001082B4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8010B358 001082B8 4B F9 A0 11 */ bl sub_800a5368 -/* 8010B35C 001082BC 4B F9 9F E1 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010B360 001082C0 28 03 00 00 */ cmplwi r3, 0 -/* 8010B364 001082C4 41 82 00 58 */ beq lbl_8010B3BC -/* 8010B368 001082C8 80 9A 07 0C */ lwz r4, 0x70c(r26) -/* 8010B36C 001082CC 2C 04 FF FF */ cmpwi r4, -1 -/* 8010B370 001082D0 41 82 00 28 */ beq lbl_8010B398 -/* 8010B374 001082D4 80 03 07 0C */ lwz r0, 0x70c(r3) -/* 8010B378 001082D8 7C 04 00 00 */ cmpw r4, r0 -/* 8010B37C 001082DC 40 82 00 1C */ bne lbl_8010B398 -/* 8010B380 001082E0 80 03 07 08 */ lwz r0, 0x708(r3) -/* 8010B384 001082E4 2C 00 00 00 */ cmpwi r0, 0 -/* 8010B388 001082E8 41 80 00 10 */ blt lbl_8010B398 -/* 8010B38C 001082EC 7C 1E 03 78 */ mr r30, r0 -/* 8010B390 001082F0 3B 80 00 01 */ li r28, 1 -/* 8010B394 001082F4 48 00 00 44 */ b lbl_8010B3D8 -lbl_8010B398: -/* 8010B398 001082F8 80 03 07 08 */ lwz r0, 0x708(r3) -/* 8010B39C 001082FC 7C 00 F0 00 */ cmpw r0, r30 -/* 8010B3A0 00108300 40 81 00 10 */ ble lbl_8010B3B0 -/* 8010B3A4 00108304 7C 1E 03 78 */ mr r30, r0 -/* 8010B3A8 00108308 3B A0 00 01 */ li r29, 1 -/* 8010B3AC 0010830C 48 00 00 10 */ b lbl_8010B3BC -lbl_8010B3B0: -/* 8010B3B0 00108310 7C 1E 00 00 */ cmpw r30, r0 -/* 8010B3B4 00108314 40 82 00 08 */ bne lbl_8010B3BC -/* 8010B3B8 00108318 3B BD 00 01 */ addi r29, r29, 1 -lbl_8010B3BC: -/* 8010B3BC 0010831C 3B 18 00 28 */ addi r24, r24, 0x28 -lbl_8010B3C0: -/* 8010B3C0 00108320 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 8010B3C4 00108324 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8010B3C8 00108328 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8010B3CC 0010832C 7C 03 02 14 */ add r0, r3, r0 -/* 8010B3D0 00108330 7C 18 00 40 */ cmplw r24, r0 -/* 8010B3D4 00108334 40 82 FF 64 */ bne lbl_8010B338 -lbl_8010B3D8: -/* 8010B3D8 00108338 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8010B3DC 0010833C 40 82 00 1C */ bne lbl_8010B3F8 -/* 8010B3E0 00108340 80 1A 07 0C */ lwz r0, 0x70c(r26) -/* 8010B3E4 00108344 2C 00 FF FF */ cmpwi r0, -1 -/* 8010B3E8 00108348 40 82 00 0C */ bne lbl_8010B3F4 -/* 8010B3EC 0010834C 7C 1D C8 00 */ cmpw r29, r25 -/* 8010B3F0 00108350 41 80 00 08 */ blt lbl_8010B3F8 -lbl_8010B3F4: -/* 8010B3F4 00108354 3B DE 00 01 */ addi r30, r30, 1 -lbl_8010B3F8: -/* 8010B3F8 00108358 7F 43 D3 78 */ mr r3, r26 -/* 8010B3FC 0010835C 7F C4 F3 78 */ mr r4, r30 -/* 8010B400 00108360 7F 65 DB 78 */ mr r5, r27 -/* 8010B404 00108364 48 00 21 B1 */ bl JoinCircleAttackTeam__8CWarWaspFiR13CStateManager -/* 8010B408 00108368 80 7B 09 00 */ lwz r3, 0x900(r27) -/* 8010B40C 0010836C 48 20 70 D1 */ bl Float__9CRandom16Fv -/* 8010B410 00108370 C0 02 94 FC */ lfs f0, lbl_805AB21C@sda21(r2) -/* 8010B414 00108374 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8010B418 00108378 D0 1A 07 14 */ stfs f0, 0x714(r26) -lbl_8010B41C: -/* 8010B41C 0010837C BB 01 00 30 */ lmw r24, 0x30(r1) -/* 8010B420 00108380 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8010B424 00108384 7C 08 03 A6 */ mtlr r0 -/* 8010B428 00108388 38 21 00 50 */ addi r1, r1, 0x50 -/* 8010B42C 0010838C 4E 80 00 20 */ blr - -.global CheckCircleAttackSpread__8CWarWaspFR13CStateManageri -CheckCircleAttackSpread__8CWarWaspFR13CStateManageri: -/* 8010B430 00108390 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8010B434 00108394 7C 08 02 A6 */ mflr r0 -/* 8010B438 00108398 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8010B43C 0010839C DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8010B440 001083A0 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8010B444 001083A4 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8010B448 001083A8 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8010B44C 001083AC DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8010B450 001083B0 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 8010B454 001083B4 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 8010B458 001083B8 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 8010B45C 001083BC DB 61 00 90 */ stfd f27, 0x90(r1) -/* 8010B460 001083C0 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 8010B464 001083C4 DB 41 00 80 */ stfd f26, 0x80(r1) -/* 8010B468 001083C8 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 8010B46C 001083CC DB 21 00 70 */ stfd f25, 0x70(r1) -/* 8010B470 001083D0 F3 21 00 78 */ psq_st f25, 120(r1), 0, qr0 -/* 8010B474 001083D4 BF 21 00 54 */ stmw r25, 0x54(r1) -/* 8010B478 001083D8 7C 7C 1B 78 */ mr r28, r3 -/* 8010B47C 001083DC 7C 9D 23 78 */ mr r29, r4 -/* 8010B480 001083E0 A0 03 06 74 */ lhz r0, 0x674(r3) -/* 8010B484 001083E4 7C BE 2B 78 */ mr r30, r5 -/* 8010B488 001083E8 7F A3 EB 78 */ mr r3, r29 -/* 8010B48C 001083EC 38 81 00 18 */ addi r4, r1, 0x18 -/* 8010B490 001083F0 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8010B494 001083F4 4B F4 11 11 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B498 001083F8 7C 64 1B 78 */ mr r4, r3 -/* 8010B49C 001083FC 38 61 00 28 */ addi r3, r1, 0x28 -/* 8010B4A0 00108400 4B F9 C0 D5 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010B4A4 00108404 83 E3 00 04 */ lwz r31, 4(r3) -/* 8010B4A8 00108408 28 1F 00 00 */ cmplwi r31, 0 -/* 8010B4AC 0010840C 41 82 01 C8 */ beq lbl_8010B674 -/* 8010B4B0 00108410 7F 83 E3 78 */ mr r3, r28 -/* 8010B4B4 00108414 7F A4 EB 78 */ mr r4, r29 -/* 8010B4B8 00108418 7F C5 F3 78 */ mr r5, r30 -/* 8010B4BC 0010841C 4B FF FA E5 */ bl GetAttackTeamSize__8CWarWaspFR13CStateManageri -/* 8010B4C0 00108420 7C 7A 1B 78 */ mr r26, r3 -/* 8010B4C4 00108424 2C 1A 00 01 */ cmpwi r26, 1 -/* 8010B4C8 00108428 40 82 00 0C */ bne lbl_8010B4D4 -/* 8010B4CC 0010842C 38 60 00 01 */ li r3, 1 -/* 8010B4D0 00108430 48 00 01 A8 */ b lbl_8010B678 -lbl_8010B4D4: -/* 8010B4D4 00108434 7F 84 E3 78 */ mr r4, r28 -/* 8010B4D8 00108438 7F A5 EB 78 */ mr r5, r29 -/* 8010B4DC 0010843C 7F C6 F3 78 */ mr r6, r30 -/* 8010B4E0 00108440 38 61 00 14 */ addi r3, r1, 0x14 -/* 8010B4E4 00108444 4B FF FB A5 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri -/* 8010B4E8 00108448 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 8010B4EC 0010844C 7F A3 EB 78 */ mr r3, r29 -/* 8010B4F0 00108450 38 81 00 10 */ addi r4, r1, 0x10 -/* 8010B4F4 00108454 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8010B4F8 00108458 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010B4FC 0010845C 4B F4 10 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B500 00108460 7C 64 1B 78 */ mr r4, r3 -/* 8010B504 00108464 38 61 00 24 */ addi r3, r1, 0x24 -/* 8010B508 00108468 4B F9 9E 61 */ bl sub_800a5368 -/* 8010B50C 0010846C 4B F9 9E 31 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010B510 00108470 28 03 00 00 */ cmplwi r3, 0 -/* 8010B514 00108474 41 82 01 60 */ beq lbl_8010B674 -/* 8010B518 00108478 C3 A3 00 60 */ lfs f29, 0x60(r3) -/* 8010B51C 0010847C C0 1C 06 B8 */ lfs f0, 0x6b8(r28) -/* 8010B520 00108480 C3 C3 00 50 */ lfs f30, 0x50(r3) -/* 8010B524 00108484 C0 3C 06 B4 */ lfs f1, 0x6b4(r28) -/* 8010B528 00108488 EC 5D 00 28 */ fsubs f2, f29, f0 -/* 8010B52C 0010848C C3 E3 00 40 */ lfs f31, 0x40(r3) -/* 8010B530 00108490 C0 1C 06 B0 */ lfs f0, 0x6b0(r28) -/* 8010B534 00108494 EC 3E 08 28 */ fsubs f1, f30, f1 -/* 8010B538 00108498 C3 83 00 38 */ lfs f28, 0x38(r3) -/* 8010B53C 0010849C EC 1F 00 28 */ fsubs f0, f31, f0 -/* 8010B540 001084A0 C3 63 00 48 */ lfs f27, 0x48(r3) -/* 8010B544 001084A4 C3 43 00 58 */ lfs f26, 0x58(r3) -/* 8010B548 001084A8 C3 22 94 F0 */ lfs f25, lbl_805AB210@sda21(r2) -/* 8010B54C 001084AC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8010B550 001084B0 A3 61 00 1C */ lhz r27, 0x1c(r1) -/* 8010B554 001084B4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8010B558 001084B8 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8010B55C 001084BC 83 3F 00 64 */ lwz r25, 0x64(r31) -/* 8010B560 001084C0 48 00 00 C0 */ b lbl_8010B620 -lbl_8010B564: -/* 8010B564 001084C4 A0 19 00 00 */ lhz r0, 0(r25) -/* 8010B568 001084C8 7C 00 D8 40 */ cmplw r0, r27 -/* 8010B56C 001084CC 41 82 00 B0 */ beq lbl_8010B61C -/* 8010B570 001084D0 B0 01 00 08 */ sth r0, 8(r1) -/* 8010B574 001084D4 7F A3 EB 78 */ mr r3, r29 -/* 8010B578 001084D8 38 81 00 0C */ addi r4, r1, 0xc -/* 8010B57C 001084DC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010B580 001084E0 4B F4 10 25 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B584 001084E4 7C 64 1B 78 */ mr r4, r3 -/* 8010B588 001084E8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010B58C 001084EC 4B F9 9D DD */ bl sub_800a5368 -/* 8010B590 001084F0 4B F9 9D AD */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010B594 001084F4 28 03 00 00 */ cmplwi r3, 0 -/* 8010B598 001084F8 41 82 00 84 */ beq lbl_8010B61C -/* 8010B59C 001084FC 80 03 07 08 */ lwz r0, 0x708(r3) -/* 8010B5A0 00108500 7C 1E 00 00 */ cmpw r30, r0 -/* 8010B5A4 00108504 40 82 00 78 */ bne lbl_8010B61C -/* 8010B5A8 00108508 C0 A3 00 50 */ lfs f5, 0x50(r3) -/* 8010B5AC 0010850C C0 83 00 40 */ lfs f4, 0x40(r3) -/* 8010B5B0 00108510 EC 25 F0 28 */ fsubs f1, f5, f30 -/* 8010B5B4 00108514 C0 C3 00 60 */ lfs f6, 0x60(r3) -/* 8010B5B8 00108518 EC 44 F8 28 */ fsubs f2, f4, f31 -/* 8010B5BC 0010851C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010B5C0 00108520 EC 66 E8 28 */ fsubs f3, f6, f29 -/* 8010B5C4 00108524 EC 3B 00 72 */ fmuls f1, f27, f1 -/* 8010B5C8 00108528 EC 3C 08 BA */ fmadds f1, f28, f2, f1 -/* 8010B5CC 0010852C EC 3A 08 FA */ fmadds f1, f26, f3, f1 -/* 8010B5D0 00108530 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010B5D4 00108534 40 81 00 0C */ ble lbl_8010B5E0 -/* 8010B5D8 00108538 38 60 00 00 */ li r3, 0 -/* 8010B5DC 0010853C 48 00 00 9C */ b lbl_8010B678 -lbl_8010B5E0: -/* 8010B5E0 00108540 C0 5C 06 B4 */ lfs f2, 0x6b4(r28) -/* 8010B5E4 00108544 38 61 00 30 */ addi r3, r1, 0x30 -/* 8010B5E8 00108548 C0 3C 06 B8 */ lfs f1, 0x6b8(r28) -/* 8010B5EC 0010854C 38 81 00 3C */ addi r4, r1, 0x3c -/* 8010B5F0 00108550 C0 1C 06 B0 */ lfs f0, 0x6b0(r28) -/* 8010B5F4 00108554 EC 45 10 28 */ fsubs f2, f5, f2 -/* 8010B5F8 00108558 EC 26 08 28 */ fsubs f1, f6, f1 -/* 8010B5FC 0010855C EC 04 00 28 */ fsubs f0, f4, f0 -/* 8010B600 00108560 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8010B604 00108564 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8010B608 00108568 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8010B60C 0010856C 48 20 90 25 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -/* 8010B610 00108570 FC 01 C8 40 */ fcmpo cr0, f1, f25 -/* 8010B614 00108574 40 81 00 08 */ ble lbl_8010B61C -/* 8010B618 00108578 FF 20 08 90 */ fmr f25, f1 -lbl_8010B61C: -/* 8010B61C 0010857C 3B 39 00 28 */ addi r25, r25, 0x28 -lbl_8010B620: -/* 8010B620 00108580 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 8010B624 00108584 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8010B628 00108588 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8010B62C 0010858C 7C 03 02 14 */ add r0, r3, r0 -/* 8010B630 00108590 7C 19 00 40 */ cmplw r25, r0 -/* 8010B634 00108594 40 82 FF 30 */ bne lbl_8010B564 -/* 8010B638 00108598 38 7A FF FF */ addi r3, r26, -1 -/* 8010B63C 0010859C 3C 00 43 30 */ lis r0, 0x4330 -/* 8010B640 001085A0 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8010B644 001085A4 90 01 00 48 */ stw r0, 0x48(r1) -/* 8010B648 001085A8 C8 42 94 E0 */ lfd f2, lbl_805AB200@sda21(r2) -/* 8010B64C 001085AC 90 61 00 4C */ stw r3, 0x4c(r1) -/* 8010B650 001085B0 C0 62 95 04 */ lfs f3, lbl_805AB224@sda21(r2) -/* 8010B654 001085B4 C8 21 00 48 */ lfd f1, 0x48(r1) -/* 8010B658 001085B8 C0 02 95 00 */ lfs f0, lbl_805AB220@sda21(r2) -/* 8010B65C 001085BC EC 21 10 28 */ fsubs f1, f1, f2 -/* 8010B660 001085C0 EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 8010B664 001085C4 FC 19 00 40 */ fcmpo cr0, f25, f0 -/* 8010B668 001085C8 7C 00 00 26 */ mfcr r0 -/* 8010B66C 001085CC 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8010B670 001085D0 48 00 00 08 */ b lbl_8010B678 -lbl_8010B674: -/* 8010B674 001085D4 38 60 00 00 */ li r3, 0 -lbl_8010B678: -/* 8010B678 001085D8 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8010B67C 001085DC CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8010B680 001085E0 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8010B684 001085E4 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8010B688 001085E8 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 8010B68C 001085EC CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 8010B690 001085F0 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 8010B694 001085F4 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 8010B698 001085F8 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 8010B69C 001085FC CB 61 00 90 */ lfd f27, 0x90(r1) -/* 8010B6A0 00108600 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 8010B6A4 00108604 CB 41 00 80 */ lfd f26, 0x80(r1) -/* 8010B6A8 00108608 E3 21 00 78 */ psq_l f25, 120(r1), 0, qr0 -/* 8010B6AC 0010860C CB 21 00 70 */ lfd f25, 0x70(r1) -/* 8010B6B0 00108610 BB 21 00 54 */ lmw r25, 0x54(r1) -/* 8010B6B4 00108614 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8010B6B8 00108618 7C 08 03 A6 */ mtlr r0 -/* 8010B6BC 0010861C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8010B6C0 00108620 4E 80 00 20 */ blr - -.global CalcSeekMagnitude__8CWarWaspFR13CStateManager -CalcSeekMagnitude__8CWarWaspFR13CStateManager: -/* 8010B6C4 00108624 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8010B6C8 00108628 7C 08 02 A6 */ mflr r0 -/* 8010B6CC 0010862C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8010B6D0 00108630 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8010B6D4 00108634 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8010B6D8 00108638 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8010B6DC 0010863C F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 8010B6E0 00108640 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 8010B6E4 00108644 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 8010B6E8 00108648 DB 81 00 80 */ stfd f28, 0x80(r1) -/* 8010B6EC 0010864C F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 8010B6F0 00108650 DB 61 00 70 */ stfd f27, 0x70(r1) -/* 8010B6F4 00108654 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 -/* 8010B6F8 00108658 DB 41 00 60 */ stfd f26, 0x60(r1) -/* 8010B6FC 0010865C F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 -/* 8010B700 00108660 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8010B704 00108664 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8010B708 00108668 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8010B70C 0010866C 93 81 00 50 */ stw r28, 0x50(r1) -/* 8010B710 00108670 7C 7D 1B 78 */ mr r29, r3 -/* 8010B714 00108674 C0 22 95 08 */ lfs f1, lbl_805AB228@sda21(r2) -/* 8010B718 00108678 80 A3 07 08 */ lwz r5, 0x708(r3) -/* 8010B71C 0010867C 7C 9E 23 78 */ mr r30, r4 -/* 8010B720 00108680 38 00 00 00 */ li r0, 0 -/* 8010B724 00108684 2C 05 00 00 */ cmpwi r5, 0 -/* 8010B728 00108688 41 80 00 10 */ blt lbl_8010B738 -/* 8010B72C 0010868C 2C 05 00 03 */ cmpwi r5, 3 -/* 8010B730 00108690 40 80 00 08 */ bge lbl_8010B738 -/* 8010B734 00108694 38 00 00 01 */ li r0, 1 -lbl_8010B738: -/* 8010B738 00108698 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8010B73C 0010869C 41 82 00 18 */ beq lbl_8010B754 -/* 8010B740 001086A0 3C 60 80 3D */ lis r3, lbl_803CF1D8@ha -/* 8010B744 001086A4 54 A0 10 3A */ slwi r0, r5, 2 -/* 8010B748 001086A8 38 63 F1 D8 */ addi r3, r3, lbl_803CF1D8@l -/* 8010B74C 001086AC 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8010B750 001086B0 48 00 00 08 */ b lbl_8010B758 -lbl_8010B754: -/* 8010B754 001086B4 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -lbl_8010B758: -/* 8010B758 001086B8 A0 1D 06 74 */ lhz r0, 0x674(r29) -/* 8010B75C 001086BC EF 81 00 32 */ fmuls f28, f1, f0 -/* 8010B760 001086C0 7F C3 F3 78 */ mr r3, r30 -/* 8010B764 001086C4 38 81 00 1C */ addi r4, r1, 0x1c -/* 8010B768 001086C8 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8010B76C 001086CC 4B F4 0E 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B770 001086D0 7C 64 1B 78 */ mr r4, r3 -/* 8010B774 001086D4 38 61 00 28 */ addi r3, r1, 0x28 -/* 8010B778 001086D8 4B F9 BD FD */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010B77C 001086DC 83 E3 00 04 */ lwz r31, 4(r3) -/* 8010B780 001086E0 28 1F 00 00 */ cmplwi r31, 0 -/* 8010B784 001086E4 41 82 02 00 */ beq lbl_8010B984 -/* 8010B788 001086E8 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8010B78C 001086EC 7F E3 FB 78 */ mr r3, r31 -/* 8010B790 001086F0 38 81 00 18 */ addi r4, r1, 0x18 -/* 8010B794 001086F4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8010B798 001086F8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8010B79C 001086FC 48 12 D8 55 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId -/* 8010B7A0 00108700 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010B7A4 00108704 41 82 01 E0 */ beq lbl_8010B984 -/* 8010B7A8 00108708 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8010B7AC 0010870C 28 00 00 01 */ cmplwi r0, 1 -/* 8010B7B0 00108710 40 81 01 D4 */ ble lbl_8010B984 -/* 8010B7B4 00108714 80 DD 07 08 */ lwz r6, 0x708(r29) -/* 8010B7B8 00108718 7F A4 EB 78 */ mr r4, r29 -/* 8010B7BC 0010871C 7F C5 F3 78 */ mr r5, r30 -/* 8010B7C0 00108720 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010B7C4 00108724 4B FF F8 C5 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri -/* 8010B7C8 00108728 A0 7D 00 08 */ lhz r3, 8(r29) -/* 8010B7CC 0010872C A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8010B7D0 00108730 7C 03 00 40 */ cmplw r3, r0 -/* 8010B7D4 00108734 41 82 01 B0 */ beq lbl_8010B984 -/* 8010B7D8 00108738 80 BD 07 08 */ lwz r5, 0x708(r29) -/* 8010B7DC 0010873C 7F A3 EB 78 */ mr r3, r29 -/* 8010B7E0 00108740 7F C4 F3 78 */ mr r4, r30 -/* 8010B7E4 00108744 4B FF F7 BD */ bl GetAttackTeamSize__8CWarWaspFR13CStateManageri -/* 8010B7E8 00108748 38 63 FF FF */ addi r3, r3, -1 -/* 8010B7EC 0010874C 3C 00 43 30 */ lis r0, 0x4330 -/* 8010B7F0 00108750 6C 63 80 00 */ xoris r3, r3, 0x8000 -/* 8010B7F4 00108754 90 01 00 48 */ stw r0, 0x48(r1) -/* 8010B7F8 00108758 C8 62 94 E0 */ lfd f3, lbl_805AB200@sda21(r2) -/* 8010B7FC 0010875C 90 61 00 4C */ stw r3, 0x4c(r1) -/* 8010B800 00108760 C0 22 95 04 */ lfs f1, lbl_805AB224@sda21(r2) -/* 8010B804 00108764 C8 41 00 48 */ lfd f2, 0x48(r1) -/* 8010B808 00108768 C0 02 94 C4 */ lfs f0, lbl_805AB1E4@sda21(r2) -/* 8010B80C 0010876C EC 42 18 28 */ fsubs f2, f2, f3 -/* 8010B810 00108770 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 8010B814 00108774 EC 21 10 24 */ fdivs f1, f1, f2 -/* 8010B818 00108778 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8010B81C 0010877C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8010B820 00108780 40 80 00 0C */ bge lbl_8010B82C -/* 8010B824 00108784 38 61 00 24 */ addi r3, r1, 0x24 -/* 8010B828 00108788 48 00 00 08 */ b lbl_8010B830 -lbl_8010B82C: -/* 8010B82C 0010878C 38 62 94 C4 */ addi r3, r2, lbl_805AB1E4@sda21 -lbl_8010B830: -/* 8010B830 00108790 C0 7D 00 50 */ lfs f3, 0x50(r29) -/* 8010B834 00108794 C0 5D 06 B4 */ lfs f2, 0x6b4(r29) -/* 8010B838 00108798 C0 3D 00 60 */ lfs f1, 0x60(r29) -/* 8010B83C 0010879C C0 1D 06 B8 */ lfs f0, 0x6b8(r29) -/* 8010B840 001087A0 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8010B844 001087A4 C3 63 00 00 */ lfs f27, 0(r3) -/* 8010B848 001087A8 EC 41 00 28 */ fsubs f2, f1, f0 -/* 8010B84C 001087AC C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 8010B850 001087B0 C0 1D 06 B0 */ lfs f0, 0x6b0(r29) -/* 8010B854 001087B4 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 8010B858 001087B8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010B85C 001087BC C3 FD 00 38 */ lfs f31, 0x38(r29) -/* 8010B860 001087C0 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8010B864 001087C4 C3 DD 00 48 */ lfs f30, 0x48(r29) -/* 8010B868 001087C8 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8010B86C 001087CC C3 BD 00 58 */ lfs f29, 0x58(r29) -/* 8010B870 001087D0 C3 42 95 0C */ lfs f26, lbl_805AB22C@sda21(r2) -/* 8010B874 001087D4 83 9F 00 64 */ lwz r28, 0x64(r31) -/* 8010B878 001087D8 48 00 00 CC */ b lbl_8010B944 -lbl_8010B87C: -/* 8010B87C 001087DC A0 BC 00 00 */ lhz r5, 0(r28) -/* 8010B880 001087E0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8010B884 001087E4 7C 05 00 40 */ cmplw r5, r0 -/* 8010B888 001087E8 41 82 00 B8 */ beq lbl_8010B940 -/* 8010B88C 001087EC B0 A1 00 08 */ sth r5, 8(r1) -/* 8010B890 001087F0 7F C3 F3 78 */ mr r3, r30 -/* 8010B894 001087F4 38 81 00 0C */ addi r4, r1, 0xc -/* 8010B898 001087F8 B0 A1 00 0C */ sth r5, 0xc(r1) -/* 8010B89C 001087FC 4B F4 0D 09 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010B8A0 00108800 7C 64 1B 78 */ mr r4, r3 -/* 8010B8A4 00108804 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010B8A8 00108808 4B F9 9A C1 */ bl sub_800a5368 -/* 8010B8AC 0010880C 4B F9 9A 91 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010B8B0 00108810 28 03 00 00 */ cmplwi r3, 0 -/* 8010B8B4 00108814 41 82 00 8C */ beq lbl_8010B940 -/* 8010B8B8 00108818 80 83 07 08 */ lwz r4, 0x708(r3) -/* 8010B8BC 0010881C 80 1D 07 08 */ lwz r0, 0x708(r29) -/* 8010B8C0 00108820 7C 04 00 00 */ cmpw r4, r0 -/* 8010B8C4 00108824 40 82 00 7C */ bne lbl_8010B940 -/* 8010B8C8 00108828 C0 A3 00 50 */ lfs f5, 0x50(r3) -/* 8010B8CC 0010882C C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 8010B8D0 00108830 C0 C3 00 40 */ lfs f6, 0x40(r3) -/* 8010B8D4 00108834 EC 05 00 28 */ fsubs f0, f5, f0 -/* 8010B8D8 00108838 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 8010B8DC 0010883C C0 83 00 60 */ lfs f4, 0x60(r3) -/* 8010B8E0 00108840 EC 46 08 28 */ fsubs f2, f6, f1 -/* 8010B8E4 00108844 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 8010B8E8 00108848 EC 3E 00 32 */ fmuls f1, f30, f0 -/* 8010B8EC 0010884C EC 64 18 28 */ fsubs f3, f4, f3 -/* 8010B8F0 00108850 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010B8F4 00108854 EC 3F 08 BA */ fmadds f1, f31, f2, f1 -/* 8010B8F8 00108858 EC 3D 08 FA */ fmadds f1, f29, f3, f1 -/* 8010B8FC 0010885C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010B900 00108860 40 81 00 40 */ ble lbl_8010B940 -/* 8010B904 00108864 C0 5D 06 B4 */ lfs f2, 0x6b4(r29) -/* 8010B908 00108868 38 61 00 3C */ addi r3, r1, 0x3c -/* 8010B90C 0010886C C0 3D 06 B8 */ lfs f1, 0x6b8(r29) -/* 8010B910 00108870 38 81 00 30 */ addi r4, r1, 0x30 -/* 8010B914 00108874 C0 1D 06 B0 */ lfs f0, 0x6b0(r29) -/* 8010B918 00108878 EC 45 10 28 */ fsubs f2, f5, f2 -/* 8010B91C 0010887C EC 24 08 28 */ fsubs f1, f4, f1 -/* 8010B920 00108880 EC 06 00 28 */ fsubs f0, f6, f0 -/* 8010B924 00108884 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8010B928 00108888 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8010B92C 0010888C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8010B930 00108890 48 20 8D 01 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -/* 8010B934 00108894 FC 01 D0 40 */ fcmpo cr0, f1, f26 -/* 8010B938 00108898 40 80 00 08 */ bge lbl_8010B940 -/* 8010B93C 0010889C FF 40 08 90 */ fmr f26, f1 -lbl_8010B940: -/* 8010B940 001088A0 3B 9C 00 28 */ addi r28, r28, 0x28 -lbl_8010B944: -/* 8010B944 001088A4 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 8010B948 001088A8 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 8010B94C 001088AC 1C 00 00 28 */ mulli r0, r0, 0x28 -/* 8010B950 001088B0 7C 03 02 14 */ add r0, r3, r0 -/* 8010B954 001088B4 7C 1C 00 40 */ cmplw r28, r0 -/* 8010B958 001088B8 40 82 FF 24 */ bne lbl_8010B87C -/* 8010B95C 001088BC C0 22 94 E8 */ lfs f1, lbl_805AB208@sda21(r2) -/* 8010B960 001088C0 EC 1B 08 28 */ fsubs f0, f27, f1 -/* 8010B964 001088C4 FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 8010B968 001088C8 40 80 00 0C */ bge lbl_8010B974 -/* 8010B96C 001088CC C3 82 94 D4 */ lfs f28, lbl_805AB1F4@sda21(r2) -/* 8010B970 001088D0 48 00 00 14 */ b lbl_8010B984 -lbl_8010B974: -/* 8010B974 001088D4 EC 01 D8 2A */ fadds f0, f1, f27 -/* 8010B978 001088D8 FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 8010B97C 001088DC 40 81 00 08 */ ble lbl_8010B984 -/* 8010B980 001088E0 C3 82 94 DC */ lfs f28, lbl_805AB1FC@sda21(r2) -lbl_8010B984: -/* 8010B984 001088E4 FC 20 E0 90 */ fmr f1, f28 -/* 8010B988 001088E8 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8010B98C 001088EC CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8010B990 001088F0 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 8010B994 001088F4 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 8010B998 001088F8 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 8010B99C 001088FC CB A1 00 90 */ lfd f29, 0x90(r1) -/* 8010B9A0 00108900 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 8010B9A4 00108904 CB 81 00 80 */ lfd f28, 0x80(r1) -/* 8010B9A8 00108908 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 -/* 8010B9AC 0010890C CB 61 00 70 */ lfd f27, 0x70(r1) -/* 8010B9B0 00108910 E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 -/* 8010B9B4 00108914 CB 41 00 60 */ lfd f26, 0x60(r1) -/* 8010B9B8 00108918 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8010B9BC 0010891C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8010B9C0 00108920 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8010B9C4 00108924 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8010B9C8 00108928 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8010B9CC 0010892C 7C 08 03 A6 */ mtlr r0 -/* 8010B9D0 00108930 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8010B9D4 00108934 4E 80 00 20 */ blr - -.global SetUpCircleBurstWaypoint__8CWarWaspFR13CStateManager -SetUpCircleBurstWaypoint__8CWarWaspFR13CStateManager: -/* 8010B9D8 00108938 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010B9DC 0010893C 7C 08 02 A6 */ mflr r0 -/* 8010B9E0 00108940 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010B9E4 00108944 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8010B9E8 00108948 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8010B9EC 0010894C 7C 9E 23 78 */ mr r30, r4 -/* 8010B9F0 00108950 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8010B9F4 00108954 7C 7D 1B 78 */ mr r29, r3 -/* 8010B9F8 00108958 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 8010B9FC 0010895C 48 00 00 B0 */ b lbl_8010BAAC -lbl_8010BA00: -/* 8010BA00 00108960 80 1F 00 00 */ lwz r0, 0(r31) -/* 8010BA04 00108964 2C 00 00 0B */ cmpwi r0, 0xb -/* 8010BA08 00108968 40 82 00 A0 */ bne lbl_8010BAA8 -/* 8010BA0C 0010896C 80 1F 00 04 */ lwz r0, 4(r31) -/* 8010BA10 00108970 2C 00 00 06 */ cmpwi r0, 6 -/* 8010BA14 00108974 40 82 00 94 */ bne lbl_8010BAA8 -/* 8010BA18 00108978 80 1F 00 08 */ lwz r0, 8(r31) -/* 8010BA1C 0010897C 7F C4 F3 78 */ mr r4, r30 -/* 8010BA20 00108980 38 61 00 08 */ addi r3, r1, 8 -/* 8010BA24 00108984 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8010BA28 00108988 90 01 00 10 */ stw r0, 0x10(r1) -/* 8010BA2C 0010898C 4B F3 C4 F1 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8010BA30 00108990 A0 01 00 08 */ lhz r0, 8(r1) -/* 8010BA34 00108994 7F C3 F3 78 */ mr r3, r30 -/* 8010BA38 00108998 38 81 00 0C */ addi r4, r1, 0xc -/* 8010BA3C 0010899C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010BA40 001089A0 4B F4 0B 65 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010BA44 001089A4 7C 64 1B 78 */ mr r4, r3 -/* 8010BA48 001089A8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8010BA4C 001089AC 4B F9 AB 01 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 8010BA50 001089B0 80 63 00 04 */ lwz r3, 4(r3) -/* 8010BA54 001089B4 28 03 00 00 */ cmplwi r3, 0 -/* 8010BA58 001089B8 41 82 00 50 */ beq lbl_8010BAA8 -/* 8010BA5C 001089BC C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8010BA60 001089C0 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8010BA64 001089C4 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8010BA68 001089C8 D0 1D 06 B0 */ stfs f0, 0x6b0(r29) -/* 8010BA6C 001089CC D0 3D 06 B4 */ stfs f1, 0x6b4(r29) -/* 8010BA70 001089D0 D0 5D 06 B8 */ stfs f2, 0x6b8(r29) -/* 8010BA74 001089D4 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 8010BA78 001089D8 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 8010BA7C 001089DC C0 03 00 38 */ lfs f0, 0x38(r3) -/* 8010BA80 001089E0 D0 1D 06 BC */ stfs f0, 0x6bc(r29) -/* 8010BA84 001089E4 D0 3D 06 C0 */ stfs f1, 0x6c0(r29) -/* 8010BA88 001089E8 D0 5D 06 C4 */ stfs f2, 0x6c4(r29) -/* 8010BA8C 001089EC C0 43 00 54 */ lfs f2, 0x54(r3) -/* 8010BA90 001089F0 C0 23 00 44 */ lfs f1, 0x44(r3) -/* 8010BA94 001089F4 C0 03 00 34 */ lfs f0, 0x34(r3) -/* 8010BA98 001089F8 D0 1D 06 C8 */ stfs f0, 0x6c8(r29) -/* 8010BA9C 001089FC D0 3D 06 CC */ stfs f1, 0x6cc(r29) -/* 8010BAA0 00108A00 D0 5D 06 D0 */ stfs f2, 0x6d0(r29) -/* 8010BAA4 00108A04 48 00 00 20 */ b lbl_8010BAC4 -lbl_8010BAA8: -/* 8010BAA8 00108A08 3B FF 00 0C */ addi r31, r31, 0xc -lbl_8010BAAC: -/* 8010BAAC 00108A0C 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 8010BAB0 00108A10 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 8010BAB4 00108A14 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8010BAB8 00108A18 7C 03 02 14 */ add r0, r3, r0 -/* 8010BABC 00108A1C 7C 1F 00 40 */ cmplw r31, r0 -/* 8010BAC0 00108A20 40 82 FF 40 */ bne lbl_8010BA00 -lbl_8010BAC4: -/* 8010BAC4 00108A24 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010BAC8 00108A28 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8010BACC 00108A2C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8010BAD0 00108A30 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8010BAD4 00108A34 7C 08 03 A6 */ mtlr r0 -/* 8010BAD8 00108A38 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010BADC 00108A3C 4E 80 00 20 */ blr - -.global GetCloseInPos__8CWarWaspCFR13CStateManagerRC9CVector3f -GetCloseInPos__8CWarWaspCFR13CStateManagerRC9CVector3f: -/* 8010BAE0 00108A40 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8010BAE4 00108A44 7C 08 02 A6 */ mflr r0 -/* 8010BAE8 00108A48 90 01 00 94 */ stw r0, 0x94(r1) -/* 8010BAEC 00108A4C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8010BAF0 00108A50 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8010BAF4 00108A54 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8010BAF8 00108A58 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8010BAFC 00108A5C DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8010BB00 00108A60 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8010BB04 00108A64 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8010BB08 00108A68 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8010BB0C 00108A6C 93 A1 00 54 */ stw r29, 0x54(r1) -/* 8010BB10 00108A70 7C 9E 23 78 */ mr r30, r4 -/* 8010BB14 00108A74 7C BF 2B 78 */ mr r31, r5 -/* 8010BB18 00108A78 C0 24 02 FC */ lfs f1, 0x2fc(r4) -/* 8010BB1C 00108A7C 7C 7D 1B 78 */ mr r29, r3 -/* 8010BB20 00108A80 C0 04 03 00 */ lfs f0, 0x300(r4) -/* 8010BB24 00108A84 80 65 08 4C */ lwz r3, 0x84c(r5) -/* 8010BB28 00108A88 EC 01 00 2A */ fadds f0, f1, f0 -/* 8010BB2C 00108A8C C0 22 95 10 */ lfs f1, lbl_805AB230@sda21(r2) -/* 8010BB30 00108A90 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8010BB34 00108A94 C3 E6 00 00 */ lfs f31, 0(r6) -/* 8010BB38 00108A98 2C 00 00 00 */ cmpwi r0, 0 -/* 8010BB3C 00108A9C EF A1 00 32 */ fmuls f29, f1, f0 -/* 8010BB40 00108AA0 C3 C6 00 04 */ lfs f30, 4(r6) -/* 8010BB44 00108AA4 C0 66 00 08 */ lfs f3, 8(r6) -/* 8010BB48 00108AA8 40 82 00 20 */ bne lbl_8010BB68 -/* 8010BB4C 00108AAC C0 23 00 38 */ lfs f1, 0x38(r3) -/* 8010BB50 00108AB0 C0 03 00 48 */ lfs f0, 0x48(r3) -/* 8010BB54 00108AB4 EC 3D 00 72 */ fmuls f1, f29, f1 -/* 8010BB58 00108AB8 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 8010BB5C 00108ABC EF BF 08 2A */ fadds f29, f31, f1 -/* 8010BB60 00108AC0 EF DE 00 2A */ fadds f30, f30, f0 -/* 8010BB64 00108AC4 48 00 00 B4 */ b lbl_8010BC18 -lbl_8010BB68: -/* 8010BB68 00108AC8 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8010BB6C 00108ACC 38 61 00 38 */ addi r3, r1, 0x38 -/* 8010BB70 00108AD0 C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 8010BB74 00108AD4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8010BB78 00108AD8 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 8010BB7C 00108ADC EC 21 18 28 */ fsubs f1, f1, f3 -/* 8010BB80 00108AE0 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8010BB84 00108AE4 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8010BB88 00108AE8 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8010BB8C 00108AEC D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8010BB90 00108AF0 48 20 8B 69 */ bl CanBeNormalized__9CVector3fCFv -/* 8010BB94 00108AF4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010BB98 00108AF8 41 82 00 3C */ beq lbl_8010BBD4 -/* 8010BB9C 00108AFC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8010BBA0 00108B00 38 81 00 38 */ addi r4, r1, 0x38 -/* 8010BBA4 00108B04 48 20 8C AD */ bl AsNormalized__9CVector3fCFv -/* 8010BBA8 00108B08 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 8010BBAC 00108B0C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010BBB0 00108B10 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8010BBB4 00108B14 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8010BBB8 00108B18 EC 5D 00 B2 */ fmuls f2, f29, f2 -/* 8010BBBC 00108B1C EC 3D 00 72 */ fmuls f1, f29, f1 -/* 8010BBC0 00108B20 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 8010BBC4 00108B24 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8010BBC8 00108B28 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8010BBCC 00108B2C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8010BBD0 00108B30 48 00 00 38 */ b lbl_8010BC08 -lbl_8010BBD4: -/* 8010BBD4 00108B34 C0 9E 00 58 */ lfs f4, 0x58(r30) -/* 8010BBD8 00108B38 38 61 00 08 */ addi r3, r1, 8 -/* 8010BBDC 00108B3C C0 1E 00 48 */ lfs f0, 0x48(r30) -/* 8010BBE0 00108B40 C0 3E 00 38 */ lfs f1, 0x38(r30) -/* 8010BBE4 00108B44 EC 5D 01 32 */ fmuls f2, f29, f4 -/* 8010BBE8 00108B48 EC 7D 00 32 */ fmuls f3, f29, f0 -/* 8010BBEC 00108B4C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8010BBF0 00108B50 EC 1D 00 72 */ fmuls f0, f29, f1 -/* 8010BBF4 00108B54 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8010BBF8 00108B58 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 8010BBFC 00108B5C D0 01 00 08 */ stfs f0, 8(r1) -/* 8010BC00 00108B60 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8010BC04 00108B64 D0 41 00 10 */ stfs f2, 0x10(r1) -lbl_8010BC08: -/* 8010BC08 00108B68 C0 23 00 00 */ lfs f1, 0(r3) -/* 8010BC0C 00108B6C C0 03 00 04 */ lfs f0, 4(r3) -/* 8010BC10 00108B70 EF BF 08 2A */ fadds f29, f31, f1 -/* 8010BC14 00108B74 EF DE 00 2A */ fadds f30, f30, f0 -lbl_8010BC18: -/* 8010BC18 00108B78 7F C3 F3 78 */ mr r3, r30 -/* 8010BC1C 00108B7C 7F E4 FB 78 */ mr r4, r31 -/* 8010BC20 00108B80 48 00 00 4D */ bl GetCloseInZBasis__8CWarWaspCFR13CStateManager -/* 8010BC24 00108B84 C0 02 95 10 */ lfs f0, lbl_805AB230@sda21(r2) -/* 8010BC28 00108B88 D3 BD 00 00 */ stfs f29, 0(r29) -/* 8010BC2C 00108B8C EC 00 08 2A */ fadds f0, f0, f1 -/* 8010BC30 00108B90 D3 DD 00 04 */ stfs f30, 4(r29) -/* 8010BC34 00108B94 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8010BC38 00108B98 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8010BC3C 00108B9C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8010BC40 00108BA0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8010BC44 00108BA4 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8010BC48 00108BA8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8010BC4C 00108BAC CB A1 00 60 */ lfd f29, 0x60(r1) -/* 8010BC50 00108BB0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8010BC54 00108BB4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8010BC58 00108BB8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8010BC5C 00108BBC 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8010BC60 00108BC0 7C 08 03 A6 */ mtlr r0 -/* 8010BC64 00108BC4 38 21 00 90 */ addi r1, r1, 0x90 -/* 8010BC68 00108BC8 4E 80 00 20 */ blr - -.global GetCloseInZBasis__8CWarWaspCFR13CStateManager -GetCloseInZBasis__8CWarWaspCFR13CStateManager: -/* 8010BC6C 00108BCC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8010BC70 00108BD0 7C 08 02 A6 */ mflr r0 -/* 8010BC74 00108BD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8010BC78 00108BD8 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 8010BC7C 00108BDC C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8010BC80 00108BE0 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8010BC84 00108BE4 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8010BC88 00108BE8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8010BC8C 00108BEC D0 01 00 08 */ stfs f0, 8(r1) -/* 8010BC90 00108BF0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8010BC94 00108BF4 48 17 91 4D */ bl GetEyeHeight__7CPlayerCFv -/* 8010BC98 00108BF8 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8010BC9C 00108BFC C0 02 94 FC */ lfs f0, lbl_805AB21C@sda21(r2) -/* 8010BCA0 00108C00 EC 22 08 2A */ fadds f1, f2, f1 -/* 8010BCA4 00108C04 EC 20 08 2A */ fadds f1, f0, f1 -/* 8010BCA8 00108C08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8010BCAC 00108C0C 7C 08 03 A6 */ mtlr r0 -/* 8010BCB0 00108C10 38 21 00 20 */ addi r1, r1, 0x20 -/* 8010BCB4 00108C14 4E 80 00 20 */ blr - -.global CalcShuffleDest__8CWarWaspFR13CStateManager -CalcShuffleDest__8CWarWaspFR13CStateManager: -/* 8010BCB8 00108C18 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8010BCBC 00108C1C 7C 08 02 A6 */ mflr r0 -/* 8010BCC0 00108C20 90 01 00 64 */ stw r0, 0x64(r1) -/* 8010BCC4 00108C24 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8010BCC8 00108C28 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8010BCCC 00108C2C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 8010BCD0 00108C30 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 8010BCD4 00108C34 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8010BCD8 00108C38 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8010BCDC 00108C3C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8010BCE0 00108C40 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010BCE4 00108C44 7C 7D 1B 78 */ mr r29, r3 -/* 8010BCE8 00108C48 7C 9E 23 78 */ mr r30, r4 -/* 8010BCEC 00108C4C 7C BF 2B 78 */ mr r31, r5 -/* 8010BCF0 00108C50 38 61 00 14 */ addi r3, r1, 0x14 -/* 8010BCF4 00108C54 48 00 01 AD */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010BCF8 00108C58 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 8010BCFC 00108C5C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010BD00 00108C60 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010BD04 00108C64 C0 64 00 58 */ lfs f3, 0x58(r4) -/* 8010BD08 00108C68 C0 44 00 48 */ lfs f2, 0x48(r4) -/* 8010BD0C 00108C6C C0 24 00 38 */ lfs f1, 0x38(r4) -/* 8010BD10 00108C70 C3 C1 00 14 */ lfs f30, 0x14(r1) -/* 8010BD14 00108C74 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 8010BD18 00108C78 C3 E1 00 18 */ lfs f31, 0x18(r1) -/* 8010BD1C 00108C7C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8010BD20 00108C80 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8010BD24 00108C84 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8010BD28 00108C88 48 20 89 D1 */ bl CanBeNormalized__9CVector3fCFv -/* 8010BD2C 00108C8C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010BD30 00108C90 41 82 00 18 */ beq lbl_8010BD48 -/* 8010BD34 00108C94 38 61 00 08 */ addi r3, r1, 8 -/* 8010BD38 00108C98 38 81 00 20 */ addi r4, r1, 0x20 -/* 8010BD3C 00108C9C 48 20 8B 15 */ bl AsNormalized__9CVector3fCFv -/* 8010BD40 00108CA0 38 A1 00 08 */ addi r5, r1, 8 -/* 8010BD44 00108CA4 48 00 00 0C */ b lbl_8010BD50 -lbl_8010BD48: -/* 8010BD48 00108CA8 3C 60 80 5A */ lis r3, lbl_805A6724@ha -/* 8010BD4C 00108CAC 38 A3 67 24 */ addi r5, r3, lbl_805A6724@l -lbl_8010BD50: -/* 8010BD50 00108CB0 C0 45 00 00 */ lfs f2, 0(r5) -/* 8010BD54 00108CB4 7F C3 F3 78 */ mr r3, r30 -/* 8010BD58 00108CB8 C0 22 95 18 */ lfs f1, lbl_805AB238@sda21(r2) -/* 8010BD5C 00108CBC 7F E4 FB 78 */ mr r4, r31 -/* 8010BD60 00108CC0 C0 1E 03 00 */ lfs f0, 0x300(r30) -/* 8010BD64 00108CC4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8010BD68 00108CC8 EC 61 00 2A */ fadds f3, f1, f0 -/* 8010BD6C 00108CCC C0 05 00 04 */ lfs f0, 4(r5) -/* 8010BD70 00108CD0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8010BD74 00108CD4 EC 23 00 B2 */ fmuls f1, f3, f2 -/* 8010BD78 00108CD8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8010BD7C 00108CDC C0 45 00 08 */ lfs f2, 8(r5) -/* 8010BD80 00108CE0 EF DE 08 2A */ fadds f30, f30, f1 -/* 8010BD84 00108CE4 EF FF 00 2A */ fadds f31, f31, f0 -/* 8010BD88 00108CE8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8010BD8C 00108CEC 4B FF FE E1 */ bl GetCloseInZBasis__8CWarWaspCFR13CStateManager -/* 8010BD90 00108CF0 D3 DD 00 00 */ stfs f30, 0(r29) -/* 8010BD94 00108CF4 D3 FD 00 04 */ stfs f31, 4(r29) -/* 8010BD98 00108CF8 D0 3D 00 08 */ stfs f1, 8(r29) -/* 8010BD9C 00108CFC E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8010BDA0 00108D00 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8010BDA4 00108D04 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 8010BDA8 00108D08 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 8010BDAC 00108D0C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8010BDB0 00108D10 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8010BDB4 00108D14 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8010BDB8 00108D18 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8010BDBC 00108D1C 7C 08 03 A6 */ mtlr r0 -/* 8010BDC0 00108D20 38 21 00 60 */ addi r1, r1, 0x60 -/* 8010BDC4 00108D24 4E 80 00 20 */ blr - -.global CalcTimeToNextAttack__8CWarWaspFR13CStateManager -CalcTimeToNextAttack__8CWarWaspFR13CStateManager: -/* 8010BDC8 00108D28 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8010BDCC 00108D2C 7C 08 02 A6 */ mflr r0 -/* 8010BDD0 00108D30 90 01 00 44 */ stw r0, 0x44(r1) -/* 8010BDD4 00108D34 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8010BDD8 00108D38 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8010BDDC 00108D3C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8010BDE0 00108D40 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8010BDE4 00108D44 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8010BDE8 00108D48 7C 7D 1B 78 */ mr r29, r3 -/* 8010BDEC 00108D4C 7C 9E 23 78 */ mr r30, r4 -/* 8010BDF0 00108D50 A0 03 06 74 */ lhz r0, 0x674(r3) -/* 8010BDF4 00108D54 7F C3 F3 78 */ mr r3, r30 -/* 8010BDF8 00108D58 C3 E2 94 DC */ lfs f31, lbl_805AB1FC@sda21(r2) -/* 8010BDFC 00108D5C 38 81 00 08 */ addi r4, r1, 8 -/* 8010BE00 00108D60 B0 01 00 08 */ sth r0, 8(r1) -/* 8010BE04 00108D64 4B F4 07 A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010BE08 00108D68 7C 64 1B 78 */ mr r4, r3 -/* 8010BE0C 00108D6C 38 61 00 0C */ addi r3, r1, 0xc -/* 8010BE10 00108D70 4B F9 B7 65 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010BE14 00108D74 80 63 00 04 */ lwz r3, 4(r3) -/* 8010BE18 00108D78 28 03 00 00 */ cmplwi r3, 0 -/* 8010BE1C 00108D7C 41 82 00 48 */ beq lbl_8010BE64 -/* 8010BE20 00108D80 80 1D 03 FC */ lwz r0, 0x3fc(r29) -/* 8010BE24 00108D84 2C 00 00 02 */ cmpwi r0, 2 -/* 8010BE28 00108D88 40 82 00 0C */ bne lbl_8010BE34 -/* 8010BE2C 00108D8C 83 E3 00 48 */ lwz r31, 0x48(r3) -/* 8010BE30 00108D90 48 00 00 08 */ b lbl_8010BE38 -lbl_8010BE34: -/* 8010BE34 00108D94 83 E3 00 44 */ lwz r31, 0x44(r3) -lbl_8010BE38: -/* 8010BE38 00108D98 2C 00 00 02 */ cmpwi r0, 2 -/* 8010BE3C 00108D9C 40 82 00 10 */ bne lbl_8010BE4C -/* 8010BE40 00108DA0 38 80 00 02 */ li r4, 2 -/* 8010BE44 00108DA4 48 12 D6 1D */ bl GetNumAssignedOfRole__10CTeamAiMgrCFQ211CTeamAiRole11ETeamAiRole -/* 8010BE48 00108DA8 48 00 00 0C */ b lbl_8010BE54 -lbl_8010BE4C: -/* 8010BE4C 00108DAC 38 80 00 01 */ li r4, 1 -/* 8010BE50 00108DB0 48 12 D6 11 */ bl GetNumAssignedOfRole__10CTeamAiMgrCFQ211CTeamAiRole11ETeamAiRole -lbl_8010BE54: -/* 8010BE54 00108DB4 7C 03 F8 40 */ cmplw r3, r31 -/* 8010BE58 00108DB8 41 81 00 0C */ bgt lbl_8010BE64 -/* 8010BE5C 00108DBC C0 02 95 10 */ lfs f0, lbl_805AB230@sda21(r2) -/* 8010BE60 00108DC0 EF FF 00 32 */ fmuls f31, f31, f0 -lbl_8010BE64: -/* 8010BE64 00108DC4 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 8010BE68 00108DC8 48 20 66 75 */ bl Float__9CRandom16Fv -/* 8010BE6C 00108DCC C0 5D 03 08 */ lfs f2, 0x308(r29) -/* 8010BE70 00108DD0 C0 1D 03 04 */ lfs f0, 0x304(r29) -/* 8010BE74 00108DD4 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8010BE78 00108DD8 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 8010BE7C 00108DDC E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8010BE80 00108DE0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8010BE84 00108DE4 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8010BE88 00108DE8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8010BE8C 00108DEC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8010BE90 00108DF0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8010BE94 00108DF4 7C 08 03 A6 */ mtlr r0 -/* 8010BE98 00108DF8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8010BE9C 00108DFC 4E 80 00 20 */ blr - -.global GetProjectileAimPos__8CWarWaspFR13CStateManagerf -GetProjectileAimPos__8CWarWaspFR13CStateManagerf: -/* 8010BEA0 00108E00 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010BEA4 00108E04 7C 08 02 A6 */ mflr r0 -/* 8010BEA8 00108E08 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010BEAC 00108E0C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8010BEB0 00108E10 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8010BEB4 00108E14 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8010BEB8 00108E18 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8010BEBC 00108E1C 7C BF 2B 78 */ mr r31, r5 -/* 8010BEC0 00108E20 FF E0 08 90 */ fmr f31, f1 -/* 8010BEC4 00108E24 80 85 08 4C */ lwz r4, 0x84c(r5) -/* 8010BEC8 00108E28 7C 7E 1B 78 */ mr r30, r3 -/* 8010BECC 00108E2C 38 61 00 08 */ addi r3, r1, 8 -/* 8010BED0 00108E30 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8010BED4 00108E34 81 84 00 00 */ lwz r12, 0(r4) -/* 8010BED8 00108E38 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8010BEDC 00108E3C 7D 89 03 A6 */ mtctr r12 -/* 8010BEE0 00108E40 4E 80 04 21 */ bctrl -/* 8010BEE4 00108E44 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8010BEE8 00108E48 C0 21 00 08 */ lfs f1, 8(r1) -/* 8010BEEC 00108E4C 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8010BEF0 00108E50 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8010BEF4 00108E54 2C 00 00 01 */ cmpwi r0, 1 -/* 8010BEF8 00108E58 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8010BEFC 00108E5C 41 82 00 14 */ beq lbl_8010BF10 -/* 8010BF00 00108E60 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010BF04 00108E64 EC 63 F8 2A */ fadds f3, f3, f31 -/* 8010BF08 00108E68 EC 21 00 2A */ fadds f1, f1, f0 -/* 8010BF0C 00108E6C EC 42 00 2A */ fadds f2, f2, f0 -lbl_8010BF10: -/* 8010BF10 00108E70 D0 3E 00 00 */ stfs f1, 0(r30) -/* 8010BF14 00108E74 D0 5E 00 04 */ stfs f2, 4(r30) -/* 8010BF18 00108E78 D0 7E 00 08 */ stfs f3, 8(r30) -/* 8010BF1C 00108E7C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8010BF20 00108E80 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010BF24 00108E84 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8010BF28 00108E88 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8010BF2C 00108E8C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010BF30 00108E90 7C 08 03 A6 */ mtlr r0 -/* 8010BF34 00108E94 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010BF38 00108E98 4E 80 00 20 */ blr - -.global ApplyDamage__8CWarWaspFR13CStateManager -ApplyDamage__8CWarWaspFR13CStateManager: -/* 8010BF3C 00108E9C 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8010BF40 00108EA0 7C 08 02 A6 */ mflr r0 -/* 8010BF44 00108EA4 90 01 01 44 */ stw r0, 0x144(r1) -/* 8010BF48 00108EA8 DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8010BF4C 00108EAC F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 8010BF50 00108EB0 DB C1 01 20 */ stfd f30, 0x120(r1) -/* 8010BF54 00108EB4 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 8010BF58 00108EB8 DB A1 01 10 */ stfd f29, 0x110(r1) -/* 8010BF5C 00108EBC F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 8010BF60 00108EC0 DB 81 01 00 */ stfd f28, 0x100(r1) -/* 8010BF64 00108EC4 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 8010BF68 00108EC8 DB 61 00 F0 */ stfd f27, 0xf0(r1) -/* 8010BF6C 00108ECC F3 61 00 F8 */ psq_st f27, 248(r1), 0, qr0 -/* 8010BF70 00108ED0 DB 41 00 E0 */ stfd f26, 0xe0(r1) -/* 8010BF74 00108ED4 F3 41 00 E8 */ psq_st f26, 232(r1), 0, qr0 -/* 8010BF78 00108ED8 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 8010BF7C 00108EDC 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 8010BF80 00108EE0 88 03 07 2E */ lbz r0, 0x72e(r3) -/* 8010BF84 00108EE4 7C 7F 1B 78 */ mr r31, r3 -/* 8010BF88 00108EE8 7C 9E 23 78 */ mr r30, r4 -/* 8010BF8C 00108EEC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8010BF90 00108EF0 41 82 01 5C */ beq lbl_8010C0EC -/* 8010BF94 00108EF4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010BF98 00108EF8 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8010BF9C 00108EFC 2C 00 00 07 */ cmpwi r0, 7 -/* 8010BFA0 00108F00 40 82 01 4C */ bne lbl_8010C0EC -/* 8010BFA4 00108F04 80 FF 00 64 */ lwz r7, 0x64(r31) -/* 8010BFA8 00108F08 38 61 00 30 */ addi r3, r1, 0x30 -/* 8010BFAC 00108F0C 80 82 94 C0 */ lwz r4, lbl_805AB1E0@sda21(r2) -/* 8010BFB0 00108F10 38 C1 00 08 */ addi r6, r1, 8 -/* 8010BFB4 00108F14 C3 87 00 00 */ lfs f28, 0(r7) -/* 8010BFB8 00108F18 38 A0 FF FF */ li r5, -1 -/* 8010BFBC 00108F1C C3 67 00 04 */ lfs f27, 4(r7) -/* 8010BFC0 00108F20 C3 47 00 08 */ lfs f26, 8(r7) -/* 8010BFC4 00108F24 48 23 21 D1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 8010BFC8 00108F28 7F E4 FB 78 */ mr r4, r31 -/* 8010BFCC 00108F2C 38 61 00 9C */ addi r3, r1, 0x9c -/* 8010BFD0 00108F30 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8010BFD4 00108F34 4B F4 6F 2D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8010BFD8 00108F38 C3 A1 00 C8 */ lfs f29, 0xc8(r1) -/* 8010BFDC 00108F3C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8010BFE0 00108F40 C3 C1 00 B8 */ lfs f30, 0xb8(r1) -/* 8010BFE4 00108F44 C3 E1 00 A8 */ lfs f31, 0xa8(r1) -/* 8010BFE8 00108F48 48 23 1A F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8010BFEC 00108F4C EC 5C 07 F2 */ fmuls f2, f28, f31 -/* 8010BFF0 00108F50 38 61 00 24 */ addi r3, r1, 0x24 -/* 8010BFF4 00108F54 EC 3B 07 B2 */ fmuls f1, f27, f30 -/* 8010BFF8 00108F58 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8010BFFC 00108F5C EC 1A 07 72 */ fmuls f0, f26, f29 -/* 8010C000 00108F60 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8010C004 00108F64 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8010C008 00108F68 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8010C00C 00108F6C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8010C010 00108F70 48 20 6A D9 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8010C014 00108F74 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 8010C018 00108F78 38 61 00 84 */ addi r3, r1, 0x84 -/* 8010C01C 00108F7C C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8010C020 00108F80 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8010C024 00108F84 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8010C028 00108F88 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8010C02C 00108F8C D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8010C030 00108F90 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 8010C034 00108F94 48 00 E8 F9 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8010C038 00108F98 38 61 00 84 */ addi r3, r1, 0x84 -/* 8010C03C 00108F9C 38 81 00 40 */ addi r4, r1, 0x40 -/* 8010C040 00108FA0 48 22 B4 F5 */ bl PointInside__6CAABoxCFRC9CVector3f -/* 8010C044 00108FA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010C048 00108FA8 41 82 00 A4 */ beq lbl_8010C0EC -/* 8010C04C 00108FAC 80 AD 8A 08 */ lwz r5, lbl_805A75C8@sda21(r13) -/* 8010C050 00108FB0 38 60 00 00 */ li r3, 0 -/* 8010C054 00108FB4 38 80 00 01 */ li r4, 1 -/* 8010C058 00108FB8 48 27 DE 9D */ bl __shl2i -/* 8010C05C 00108FBC 38 A0 00 00 */ li r5, 0 -/* 8010C060 00108FC0 38 00 00 03 */ li r0, 3 -/* 8010C064 00108FC4 90 81 00 54 */ stw r4, 0x54(r1) -/* 8010C068 00108FC8 7F E4 FB 78 */ mr r4, r31 -/* 8010C06C 00108FCC 90 61 00 50 */ stw r3, 0x50(r1) -/* 8010C070 00108FD0 38 61 00 68 */ addi r3, r1, 0x68 -/* 8010C074 00108FD4 90 A1 00 5C */ stw r5, 0x5c(r1) -/* 8010C078 00108FD8 90 A1 00 58 */ stw r5, 0x58(r1) -/* 8010C07C 00108FDC 90 01 00 60 */ stw r0, 0x60(r1) -/* 8010C080 00108FE0 A0 1F 00 08 */ lhz r0, 8(r31) -/* 8010C084 00108FE4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010C088 00108FE8 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 8010C08C 00108FEC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010C090 00108FF0 A0 A5 00 08 */ lhz r5, 8(r5) -/* 8010C094 00108FF4 B0 A1 00 18 */ sth r5, 0x18(r1) -/* 8010C098 00108FF8 A0 1F 00 08 */ lhz r0, 8(r31) -/* 8010C09C 00108FFC B0 A1 00 14 */ sth r5, 0x14(r1) -/* 8010C0A0 00109000 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8010C0A4 00109004 81 9F 00 00 */ lwz r12, 0(r31) -/* 8010C0A8 00109008 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8010C0AC 0010900C 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 8010C0B0 00109010 7D 89 03 A6 */ mtctr r12 -/* 8010C0B4 00109014 4E 80 04 21 */ bctrl -/* 8010C0B8 00109018 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8010C0BC 0010901C 7F C3 F3 78 */ mr r3, r30 -/* 8010C0C0 00109020 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 8010C0C4 00109024 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8010C0C8 00109028 38 81 00 20 */ addi r4, r1, 0x20 -/* 8010C0CC 0010902C 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8010C0D0 00109030 38 E1 00 68 */ addi r7, r1, 0x68 -/* 8010C0D4 00109034 39 01 00 50 */ addi r8, r1, 0x50 -/* 8010C0D8 00109038 4B F3 DF C9 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 8010C0DC 0010903C 88 1F 07 2E */ lbz r0, 0x72e(r31) -/* 8010C0E0 00109040 38 60 00 00 */ li r3, 0 -/* 8010C0E4 00109044 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8010C0E8 00109048 98 1F 07 2E */ stb r0, 0x72e(r31) -lbl_8010C0EC: -/* 8010C0EC 0010904C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 8010C0F0 00109050 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 8010C0F4 00109054 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 8010C0F8 00109058 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 8010C0FC 0010905C E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 8010C100 00109060 CB A1 01 10 */ lfd f29, 0x110(r1) -/* 8010C104 00109064 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 8010C108 00109068 CB 81 01 00 */ lfd f28, 0x100(r1) -/* 8010C10C 0010906C E3 61 00 F8 */ psq_l f27, 248(r1), 0, qr0 -/* 8010C110 00109070 CB 61 00 F0 */ lfd f27, 0xf0(r1) -/* 8010C114 00109074 E3 41 00 E8 */ psq_l f26, 232(r1), 0, qr0 -/* 8010C118 00109078 CB 41 00 E0 */ lfd f26, 0xe0(r1) -/* 8010C11C 0010907C 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 8010C120 00109080 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8010C124 00109084 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 8010C128 00109088 7C 08 03 A6 */ mtlr r0 -/* 8010C12C 0010908C 38 21 01 40 */ addi r1, r1, 0x140 -/* 8010C130 00109090 4E 80 00 20 */ blr - -.global UpdateTouchBounds__8CWarWaspFv -UpdateTouchBounds__8CWarWaspFv: -/* 8010C134 00109094 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8010C138 00109098 7C 08 02 A6 */ mflr r0 -/* 8010C13C 0010909C 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8010C140 001090A0 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 8010C144 001090A4 7C 7F 1B 78 */ mr r31, r3 -/* 8010C148 001090A8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8010C14C 001090AC 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 8010C150 001090B0 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8010C154 001090B4 4B F2 27 61 */ bl GetBoundingBox__9CAnimDataCFv -/* 8010C158 001090B8 C0 A1 00 3C */ lfs f5, 0x3c(r1) -/* 8010C15C 001090BC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8010C160 001090C0 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 8010C164 001090C4 38 81 00 54 */ addi r4, r1, 0x54 -/* 8010C168 001090C8 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 8010C16C 001090CC C0 41 00 48 */ lfs f2, 0x48(r1) -/* 8010C170 001090D0 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 8010C174 001090D4 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8010C178 001090D8 D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 8010C17C 001090DC D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8010C180 001090E0 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 8010C184 001090E4 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 8010C188 001090E8 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 8010C18C 001090EC D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8010C190 001090F0 48 22 B4 7D */ bl GetCenterPoint__6CAABoxCFv -/* 8010C194 001090F4 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8010C198 001090F8 38 61 00 6C */ addi r3, r1, 0x6c -/* 8010C19C 001090FC C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8010C1A0 00109100 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8010C1A4 00109104 D0 21 00 08 */ stfs f1, 8(r1) -/* 8010C1A8 00109108 C0 3F 05 8C */ lfs f1, 0x58c(r31) -/* 8010C1AC 0010910C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8010C1B0 00109110 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8010C1B4 00109114 80 01 00 08 */ lwz r0, 8(r1) -/* 8010C1B8 00109118 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8010C1BC 0010911C 80 A1 00 0C */ lwz r5, 0xc(r1) -/* 8010C1C0 00109120 90 1F 05 80 */ stw r0, 0x580(r31) -/* 8010C1C4 00109124 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8010C1C8 00109128 90 BF 05 84 */ stw r5, 0x584(r31) -/* 8010C1CC 0010912C 90 1F 05 88 */ stw r0, 0x588(r31) -/* 8010C1D0 00109130 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8010C1D4 00109134 D0 3F 05 8C */ stfs f1, 0x58c(r31) -/* 8010C1D8 00109138 48 20 6F 1D */ bl BuildMatrix3f__12CTransform4fCFv -/* 8010C1DC 0010913C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8010C1E0 00109140 38 61 00 90 */ addi r3, r1, 0x90 -/* 8010C1E4 00109144 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8010C1E8 00109148 38 81 00 6C */ addi r4, r1, 0x6c -/* 8010C1EC 0010914C 48 20 70 8D */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 8010C1F0 00109150 38 61 00 24 */ addi r3, r1, 0x24 -/* 8010C1F4 00109154 38 81 00 54 */ addi r4, r1, 0x54 -/* 8010C1F8 00109158 38 A1 00 90 */ addi r5, r1, 0x90 -/* 8010C1FC 0010915C 48 22 B7 01 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 8010C200 00109160 7F E3 FB 78 */ mr r3, r31 -/* 8010C204 00109164 38 81 00 24 */ addi r4, r1, 0x24 -/* 8010C208 00109168 48 00 E4 51 */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox -/* 8010C20C 0010916C 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8010C210 00109170 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 8010C214 00109174 7C 08 03 A6 */ mtlr r0 -/* 8010C218 00109178 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8010C21C 0010917C 4E 80 00 20 */ blr - -.global SetUpPathFindBehavior__8CWarWaspFR13CStateManager -SetUpPathFindBehavior__8CWarWaspFR13CStateManager: -/* 8010C220 00109180 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8010C224 00109184 7C 08 02 A6 */ mflr r0 -/* 8010C228 00109188 38 A0 00 00 */ li r5, 0 -/* 8010C22C 0010918C 90 01 01 14 */ stw r0, 0x114(r1) -/* 8010C230 00109190 93 E1 01 0C */ stw r31, 0x10c(r1) -/* 8010C234 00109194 7C 7F 1B 78 */ mr r31, r3 -/* 8010C238 00109198 93 C1 01 08 */ stw r30, 0x108(r1) -/* 8010C23C 0010919C 93 A1 01 04 */ stw r29, 0x104(r1) -/* 8010C240 001091A0 93 81 01 00 */ stw r28, 0x100(r1) -/* 8010C244 001091A4 7C 9C 23 78 */ mr r28, r4 -/* 8010C248 001091A8 88 03 07 2E */ lbz r0, 0x72e(r3) -/* 8010C24C 001091AC 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8010C250 001091B0 98 03 07 2E */ stb r0, 0x72e(r3) -/* 8010C254 001091B4 81 83 00 00 */ lwz r12, 0(r3) -/* 8010C258 001091B8 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010C25C 001091BC 7D 89 03 A6 */ mtctr r12 -/* 8010C260 001091C0 4E 80 04 21 */ bctrl -/* 8010C264 001091C4 28 03 00 00 */ cmplwi r3, 0 -/* 8010C268 001091C8 41 82 02 8C */ beq lbl_8010C4F4 -/* 8010C26C 001091CC 7F E3 FB 78 */ mr r3, r31 -/* 8010C270 001091D0 7F 84 E3 78 */ mr r4, r28 -/* 8010C274 001091D4 48 00 12 81 */ bl SwarmAdd__8CWarWaspFR13CStateManager -/* 8010C278 001091D8 A0 DF 00 08 */ lhz r6, 8(r31) -/* 8010C27C 001091DC 7F 83 E3 78 */ mr r3, r28 -/* 8010C280 001091E0 38 81 00 10 */ addi r4, r1, 0x10 -/* 8010C284 001091E4 38 A1 00 0C */ addi r5, r1, 0xc -/* 8010C288 001091E8 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8010C28C 001091EC A0 1F 06 74 */ lhz r0, 0x674(r31) -/* 8010C290 001091F0 B0 C1 00 08 */ sth r6, 8(r1) -/* 8010C294 001091F4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010C298 001091F8 48 12 DE E9 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId -/* 8010C29C 001091FC 28 03 00 00 */ cmplwi r3, 0 -/* 8010C2A0 00109200 41 82 00 0C */ beq lbl_8010C2AC -/* 8010C2A4 00109204 38 A3 00 1C */ addi r5, r3, 0x1c -/* 8010C2A8 00109208 48 00 00 30 */ b lbl_8010C2D8 -lbl_8010C2AC: -/* 8010C2AC 0010920C C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010C2B0 00109210 7F E4 FB 78 */ mr r4, r31 -/* 8010C2B4 00109214 7F 85 E3 78 */ mr r5, r28 -/* 8010C2B8 00109218 38 61 00 5C */ addi r3, r1, 0x5c -/* 8010C2BC 0010921C 4B FF FB E5 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010C2C0 00109220 7F E4 FB 78 */ mr r4, r31 -/* 8010C2C4 00109224 7F 85 E3 78 */ mr r5, r28 -/* 8010C2C8 00109228 38 61 00 50 */ addi r3, r1, 0x50 -/* 8010C2CC 0010922C 38 C1 00 5C */ addi r6, r1, 0x5c -/* 8010C2D0 00109230 4B FF F8 11 */ bl GetCloseInPos__8CWarWaspCFR13CStateManagerRC9CVector3f -/* 8010C2D4 00109234 38 A1 00 50 */ addi r5, r1, 0x50 -lbl_8010C2D8: -/* 8010C2D8 00109238 C0 05 00 00 */ lfs f0, 0(r5) -/* 8010C2DC 0010923C 7F E3 FB 78 */ mr r3, r31 -/* 8010C2E0 00109240 38 81 00 8C */ addi r4, r1, 0x8c -/* 8010C2E4 00109244 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8010C2E8 00109248 C0 05 00 04 */ lfs f0, 4(r5) -/* 8010C2EC 0010924C D0 01 00 90 */ stfs f0, 0x90(r1) -/* 8010C2F0 00109250 C0 05 00 08 */ lfs f0, 8(r5) -/* 8010C2F4 00109254 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8010C2F8 00109258 4B F7 08 65 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 8010C2FC 0010925C 38 DF 02 E0 */ addi r6, r31, 0x2e0 -/* 8010C300 00109260 C0 BF 00 50 */ lfs f5, 0x50(r31) -/* 8010C304 00109264 C0 1F 02 E4 */ lfs f0, 0x2e4(r31) -/* 8010C308 00109268 C0 DF 00 40 */ lfs f6, 0x40(r31) -/* 8010C30C 0010926C EC 40 28 28 */ fsubs f2, f0, f5 -/* 8010C310 00109270 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) -/* 8010C314 00109274 C0 9F 00 60 */ lfs f4, 0x60(r31) -/* 8010C318 00109278 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) -/* 8010C31C 0010927C EC 61 30 28 */ fsubs f3, f1, f6 -/* 8010C320 00109280 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 8010C324 00109284 EC 40 20 28 */ fsubs f2, f0, f4 -/* 8010C328 00109288 C0 02 95 1C */ lfs f0, lbl_805AB23C@sda21(r2) -/* 8010C32C 0010928C EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 8010C330 00109290 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8010C334 00109294 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010C338 00109298 41 81 00 28 */ bgt lbl_8010C360 -/* 8010C33C 0010929C D0 C1 00 44 */ stfs f6, 0x44(r1) -/* 8010C340 001092A0 7F E3 FB 78 */ mr r3, r31 -/* 8010C344 001092A4 7F 84 E3 78 */ mr r4, r28 -/* 8010C348 001092A8 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8010C34C 001092AC D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 8010C350 001092B0 D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 8010C354 001092B4 48 0E 8A 7D */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f -/* 8010C358 001092B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010C35C 001092BC 41 82 01 98 */ beq lbl_8010C4F4 -lbl_8010C360: -/* 8010C360 001092C0 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010C364 001092C4 7F E4 FB 78 */ mr r4, r31 -/* 8010C368 001092C8 7F 85 E3 78 */ mr r5, r28 -/* 8010C36C 001092CC 38 61 00 38 */ addi r3, r1, 0x38 -/* 8010C370 001092D0 4B FF FB 31 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010C374 001092D4 C0 A1 00 38 */ lfs f5, 0x38(r1) -/* 8010C378 001092D8 38 61 00 74 */ addi r3, r1, 0x74 -/* 8010C37C 001092DC C0 81 00 3C */ lfs f4, 0x3c(r1) -/* 8010C380 001092E0 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 8010C384 001092E4 D0 A1 00 80 */ stfs f5, 0x80(r1) -/* 8010C388 001092E8 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 8010C38C 001092EC D0 61 00 88 */ stfs f3, 0x88(r1) -/* 8010C390 001092F0 C0 5F 02 E4 */ lfs f2, 0x2e4(r31) -/* 8010C394 001092F4 C0 3F 02 E8 */ lfs f1, 0x2e8(r31) -/* 8010C398 001092F8 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) -/* 8010C39C 001092FC EC 42 20 28 */ fsubs f2, f2, f4 -/* 8010C3A0 00109300 EC 21 18 28 */ fsubs f1, f1, f3 -/* 8010C3A4 00109304 EC 00 28 28 */ fsubs f0, f0, f5 -/* 8010C3A8 00109308 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 8010C3AC 0010930C D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8010C3B0 00109310 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 8010C3B4 00109314 48 20 83 45 */ bl CanBeNormalized__9CVector3fCFv -/* 8010C3B8 00109318 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010C3BC 0010931C 41 82 01 24 */ beq lbl_8010C4E0 -/* 8010C3C0 00109320 80 AD 8A 28 */ lwz r5, lbl_805A75E8@sda21(r13) -/* 8010C3C4 00109324 38 60 00 00 */ li r3, 0 -/* 8010C3C8 00109328 38 80 00 01 */ li r4, 1 -/* 8010C3CC 0010932C 48 27 DB 29 */ bl __shl2i -/* 8010C3D0 00109330 80 AD 8A 24 */ lwz r5, lbl_805A75E4@sda21(r13) -/* 8010C3D4 00109334 7C 9D 23 78 */ mr r29, r4 -/* 8010C3D8 00109338 7C 7E 1B 78 */ mr r30, r3 -/* 8010C3DC 0010933C 38 60 00 00 */ li r3, 0 -/* 8010C3E0 00109340 38 80 00 01 */ li r4, 1 -/* 8010C3E4 00109344 48 27 DB 11 */ bl __shl2i -/* 8010C3E8 00109348 38 00 00 03 */ li r0, 3 -/* 8010C3EC 0010934C 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 8010C3F0 00109350 38 61 00 74 */ addi r3, r1, 0x74 -/* 8010C3F4 00109354 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8010C3F8 00109358 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 8010C3FC 0010935C 93 A1 00 BC */ stw r29, 0xbc(r1) -/* 8010C400 00109360 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8010C404 00109364 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8010C408 00109368 48 20 84 B1 */ bl Magnitude__9CVector3fCFv -/* 8010C40C 0010936C C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010C410 00109370 7F 84 E3 78 */ mr r4, r28 -/* 8010C414 00109374 C0 61 00 74 */ lfs f3, 0x74(r1) -/* 8010C418 00109378 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8010C41C 0010937C EC 80 08 24 */ fdivs f4, f0, f1 -/* 8010C420 00109380 C0 41 00 78 */ lfs f2, 0x78(r1) -/* 8010C424 00109384 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8010C428 00109388 38 A1 00 80 */ addi r5, r1, 0x80 -/* 8010C42C 0010938C 38 C1 00 68 */ addi r6, r1, 0x68 -/* 8010C430 00109390 38 E1 00 B0 */ addi r7, r1, 0xb0 -/* 8010C434 00109394 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 8010C438 00109398 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8010C43C 0010939C EC 04 00 32 */ fmuls f0, f4, f0 -/* 8010C440 001093A0 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 8010C444 001093A4 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8010C448 001093A8 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8010C44C 001093AC 4B F4 0B 4D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8010C450 001093B0 88 01 00 E8 */ lbz r0, 0xe8(r1) -/* 8010C454 001093B4 C0 61 00 C8 */ lfs f3, 0xc8(r1) -/* 8010C458 001093B8 28 00 00 00 */ cmplwi r0, 0 -/* 8010C45C 001093BC 41 82 00 84 */ beq lbl_8010C4E0 -/* 8010C460 001093C0 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 8010C464 001093C4 7F E3 FB 78 */ mr r3, r31 -/* 8010C468 001093C8 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 8010C46C 001093CC 38 81 00 2C */ addi r4, r1, 0x2c -/* 8010C470 001093D0 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 8010C474 001093D4 EC C3 00 B2 */ fmuls f6, f3, f2 -/* 8010C478 001093D8 EC A3 00 32 */ fmuls f5, f3, f0 -/* 8010C47C 001093DC C0 02 95 10 */ lfs f0, lbl_805AB230@sda21(r2) -/* 8010C480 001093E0 EC 83 00 72 */ fmuls f4, f3, f1 -/* 8010C484 001093E4 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 8010C488 001093E8 ED 00 01 B2 */ fmuls f8, f0, f6 -/* 8010C48C 001093EC EC E0 01 72 */ fmuls f7, f0, f5 -/* 8010C490 001093F0 EC 60 01 32 */ fmuls f3, f0, f4 -/* 8010C494 001093F4 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 8010C498 001093F8 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 8010C49C 001093FC EC 42 40 2A */ fadds f2, f2, f8 -/* 8010C4A0 00109400 EC 21 38 2A */ fadds f1, f1, f7 -/* 8010C4A4 00109404 EC 00 18 2A */ fadds f0, f0, f3 -/* 8010C4A8 00109408 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8010C4AC 0010940C D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 8010C4B0 00109410 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 8010C4B4 00109414 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 8010C4B8 00109418 D1 01 00 24 */ stfs f8, 0x24(r1) -/* 8010C4BC 0010941C D0 E1 00 28 */ stfs f7, 0x28(r1) -/* 8010C4C0 00109420 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8010C4C4 00109424 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8010C4C8 00109428 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8010C4CC 0010942C 4B F7 06 91 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 8010C4D0 00109430 88 1F 07 2E */ lbz r0, 0x72e(r31) -/* 8010C4D4 00109434 38 60 00 01 */ li r3, 1 -/* 8010C4D8 00109438 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8010C4DC 0010943C 98 1F 07 2E */ stb r0, 0x72e(r31) -lbl_8010C4E0: -/* 8010C4E0 00109440 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8010C4E4 00109444 7F E3 FB 78 */ mr r3, r31 -/* 8010C4E8 00109448 7F 84 E3 78 */ mr r4, r28 -/* 8010C4EC 0010944C 38 A0 00 00 */ li r5, 0 -/* 8010C4F0 00109450 48 0E A1 DD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -lbl_8010C4F4: -/* 8010C4F4 00109454 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8010C4F8 00109458 83 E1 01 0C */ lwz r31, 0x10c(r1) -/* 8010C4FC 0010945C 83 C1 01 08 */ lwz r30, 0x108(r1) -/* 8010C500 00109460 83 A1 01 04 */ lwz r29, 0x104(r1) -/* 8010C504 00109464 83 81 01 00 */ lwz r28, 0x100(r1) -/* 8010C508 00109468 7C 08 03 A6 */ mtlr r0 -/* 8010C50C 0010946C 38 21 01 10 */ addi r1, r1, 0x110 -/* 8010C510 00109470 4E 80 00 20 */ blr - -.global PathToHiveIsClear__8CWarWaspFR13CStateManager -PathToHiveIsClear__8CWarWaspFR13CStateManager: -/* 8010C514 00109474 94 21 F7 10 */ stwu r1, -0x8f0(r1) -/* 8010C518 00109478 7C 08 02 A6 */ mflr r0 -/* 8010C51C 0010947C 90 01 08 F4 */ stw r0, 0x8f4(r1) -/* 8010C520 00109480 DB E1 08 E0 */ stfd f31, 0x8e0(r1) -/* 8010C524 00109484 F3 E1 08 E8 */ psq_st f31, -1816(r1), 0, qr0 -/* 8010C528 00109488 DB C1 08 D0 */ stfd f30, 0x8d0(r1) -/* 8010C52C 0010948C F3 C1 08 D8 */ psq_st f30, -1832(r1), 0, qr0 -/* 8010C530 00109490 DB A1 08 C0 */ stfd f29, 0x8c0(r1) -/* 8010C534 00109494 F3 A1 08 C8 */ psq_st f29, -1848(r1), 0, qr0 -/* 8010C538 00109498 DB 81 08 B0 */ stfd f28, 0x8b0(r1) -/* 8010C53C 0010949C F3 81 08 B8 */ psq_st f28, -1864(r1), 0, qr0 -/* 8010C540 001094A0 DB 61 08 A0 */ stfd f27, 0x8a0(r1) -/* 8010C544 001094A4 F3 61 08 A8 */ psq_st f27, -1880(r1), 0, qr0 -/* 8010C548 001094A8 DB 41 08 90 */ stfd f26, 0x890(r1) -/* 8010C54C 001094AC F3 41 08 98 */ psq_st f26, -1896(r1), 0, qr0 -/* 8010C550 001094B0 BF 61 08 7C */ stmw r27, 0x87c(r1) -/* 8010C554 001094B4 7C 7E 1B 78 */ mr r30, r3 -/* 8010C558 001094B8 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010C55C 001094BC C0 E3 00 50 */ lfs f7, 0x50(r3) -/* 8010C560 001094C0 7C 9F 23 78 */ mr r31, r4 -/* 8010C564 001094C4 C0 23 03 A4 */ lfs f1, 0x3a4(r3) -/* 8010C568 001094C8 C1 03 00 40 */ lfs f8, 0x40(r3) -/* 8010C56C 001094CC C0 43 03 A0 */ lfs f2, 0x3a0(r3) -/* 8010C570 001094D0 EF C1 38 28 */ fsubs f30, f1, f7 -/* 8010C574 001094D4 C3 63 00 48 */ lfs f27, 0x48(r3) -/* 8010C578 001094D8 EF A2 40 28 */ fsubs f29, f2, f8 -/* 8010C57C 001094DC C0 C3 00 60 */ lfs f6, 0x60(r3) -/* 8010C580 001094E0 C0 43 03 A8 */ lfs f2, 0x3a8(r3) -/* 8010C584 001094E4 EC 3B 07 B2 */ fmuls f1, f27, f30 -/* 8010C588 001094E8 C3 83 00 38 */ lfs f28, 0x38(r3) -/* 8010C58C 001094EC EF E2 30 28 */ fsubs f31, f2, f6 -/* 8010C590 001094F0 EC 3C 0F 7A */ fmadds f1, f28, f29, f1 -/* 8010C594 001094F4 C3 43 00 58 */ lfs f26, 0x58(r3) -/* 8010C598 001094F8 EC 3A 0F FA */ fmadds f1, f26, f31, f1 -/* 8010C59C 001094FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010C5A0 00109500 40 81 02 64 */ ble lbl_8010C804 -/* 8010C5A4 00109504 C0 A2 95 20 */ lfs f5, lbl_805AB240@sda21(r2) -/* 8010C5A8 00109508 38 61 00 58 */ addi r3, r1, 0x58 -/* 8010C5AC 0010950C 38 81 00 1C */ addi r4, r1, 0x1c -/* 8010C5B0 00109510 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8010C5B4 00109514 EC 08 28 2A */ fadds f0, f8, f5 -/* 8010C5B8 00109518 EC 87 28 2A */ fadds f4, f7, f5 -/* 8010C5BC 0010951C EC 66 28 2A */ fadds f3, f6, f5 -/* 8010C5C0 00109520 EC 48 28 28 */ fsubs f2, f8, f5 -/* 8010C5C4 00109524 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8010C5C8 00109528 EC 27 28 28 */ fsubs f1, f7, f5 -/* 8010C5CC 0010952C EC 06 28 28 */ fsubs f0, f6, f5 -/* 8010C5D0 00109530 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8010C5D4 00109534 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8010C5D8 00109538 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8010C5DC 0010953C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8010C5E0 00109540 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8010C5E4 00109544 48 22 BF 25 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8010C5E8 00109548 38 00 00 00 */ li r0, 0 -/* 8010C5EC 0010954C 80 AD 8A 20 */ lwz r5, lbl_805A75E0@sda21(r13) -/* 8010C5F0 00109550 90 01 00 70 */ stw r0, 0x70(r1) -/* 8010C5F4 00109554 38 60 00 00 */ li r3, 0 -/* 8010C5F8 00109558 38 80 00 01 */ li r4, 1 -/* 8010C5FC 0010955C 48 27 D8 F9 */ bl __shl2i -/* 8010C600 00109560 39 00 00 01 */ li r8, 1 -/* 8010C604 00109564 38 00 00 00 */ li r0, 0 -/* 8010C608 00109568 90 81 00 44 */ stw r4, 0x44(r1) -/* 8010C60C 0010956C 38 81 00 70 */ addi r4, r1, 0x70 -/* 8010C610 00109570 38 A1 00 58 */ addi r5, r1, 0x58 -/* 8010C614 00109574 38 C1 00 40 */ addi r6, r1, 0x40 -/* 8010C618 00109578 90 61 00 40 */ stw r3, 0x40(r1) -/* 8010C61C 0010957C 7F E3 FB 78 */ mr r3, r31 -/* 8010C620 00109580 38 E0 00 00 */ li r7, 0 -/* 8010C624 00109584 91 01 00 38 */ stw r8, 0x38(r1) -/* 8010C628 00109588 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8010C62C 0010958C 90 01 00 48 */ stw r0, 0x48(r1) -/* 8010C630 00109590 91 01 00 50 */ stw r8, 0x50(r1) -/* 8010C634 00109594 4B F4 00 ED */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8010C638 00109598 80 01 00 70 */ lwz r0, 0x70(r1) -/* 8010C63C 0010959C 2C 00 00 00 */ cmpwi r0, 0 -/* 8010C640 001095A0 40 81 01 70 */ ble lbl_8010C7B0 -/* 8010C644 001095A4 EC 1E 07 B2 */ fmuls f0, f30, f30 -/* 8010C648 001095A8 3B 81 00 74 */ addi r28, r1, 0x74 -/* 8010C64C 001095AC 7F 9B E3 78 */ mr r27, r28 -/* 8010C650 001095B0 EC 1D 07 7A */ fmadds f0, f29, f29, f0 -/* 8010C654 001095B4 EF BF 07 FA */ fmadds f29, f31, f31, f0 -/* 8010C658 001095B8 48 00 01 44 */ b lbl_8010C79C -lbl_8010C65C: -/* 8010C65C 001095BC A0 1B 00 00 */ lhz r0, 0(r27) -/* 8010C660 001095C0 7F E3 FB 78 */ mr r3, r31 -/* 8010C664 001095C4 38 81 00 08 */ addi r4, r1, 8 -/* 8010C668 001095C8 B0 01 00 08 */ sth r0, 8(r1) -/* 8010C66C 001095CC 4B F3 FF 39 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010C670 001095D0 7C 64 1B 78 */ mr r4, r3 -/* 8010C674 001095D4 38 61 00 0C */ addi r3, r1, 0xc -/* 8010C678 001095D8 4B F9 8C F1 */ bl sub_800a5368 -/* 8010C67C 001095DC 4B F9 8C C1 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010C680 001095E0 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8010C684 001095E4 41 82 01 14 */ beq lbl_8010C798 -/* 8010C688 001095E8 A0 7D 00 08 */ lhz r3, 8(r29) -/* 8010C68C 001095EC A0 1E 00 08 */ lhz r0, 8(r30) -/* 8010C690 001095F0 7C 03 00 40 */ cmplw r3, r0 -/* 8010C694 001095F4 41 82 01 04 */ beq lbl_8010C798 -/* 8010C698 001095F8 88 1D 07 2E */ lbz r0, 0x72e(r29) -/* 8010C69C 001095FC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8010C6A0 00109600 41 82 00 F8 */ beq lbl_8010C798 -/* 8010C6A4 00109604 C0 22 94 F8 */ lfs f1, lbl_805AB218@sda21(r2) -/* 8010C6A8 00109608 38 7D 03 A0 */ addi r3, r29, 0x3a0 -/* 8010C6AC 0010960C 38 9E 03 A0 */ addi r4, r30, 0x3a0 -/* 8010C6B0 00109610 48 20 38 B5 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8010C6B4 00109614 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010C6B8 00109618 41 82 00 E0 */ beq lbl_8010C798 -/* 8010C6BC 0010961C C1 1D 00 50 */ lfs f8, 0x50(r29) -/* 8010C6C0 00109620 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 8010C6C4 00109624 C0 DD 00 40 */ lfs f6, 0x40(r29) -/* 8010C6C8 00109628 EC 48 00 28 */ fsubs f2, f8, f0 -/* 8010C6CC 0010962C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8010C6D0 00109630 C0 FD 00 60 */ lfs f7, 0x60(r29) -/* 8010C6D4 00109634 EC A6 00 28 */ fsubs f5, f6, f0 -/* 8010C6D8 00109638 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 8010C6DC 0010963C EC 3B 00 B2 */ fmuls f1, f27, f2 -/* 8010C6E0 00109640 EC 87 00 28 */ fsubs f4, f7, f0 -/* 8010C6E4 00109644 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010C6E8 00109648 EC 3C 09 7A */ fmadds f1, f28, f5, f1 -/* 8010C6EC 0010964C EC 3A 09 3A */ fmadds f1, f26, f4, f1 -/* 8010C6F0 00109650 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010C6F4 00109654 40 81 00 A4 */ ble lbl_8010C798 -/* 8010C6F8 00109658 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 8010C6FC 0010965C C0 3E 03 A0 */ lfs f1, 0x3a0(r30) -/* 8010C700 00109660 C0 7E 03 A4 */ lfs f3, 0x3a4(r30) -/* 8010C704 00109664 C0 5E 03 A8 */ lfs f2, 0x3a8(r30) -/* 8010C708 00109668 EC C6 08 28 */ fsubs f6, f6, f1 -/* 8010C70C 0010966C EC 25 01 7A */ fmadds f1, f5, f5, f0 -/* 8010C710 00109670 C0 02 94 F8 */ lfs f0, lbl_805AB218@sda21(r2) -/* 8010C714 00109674 EC 68 18 28 */ fsubs f3, f8, f3 -/* 8010C718 00109678 EC 47 10 28 */ fsubs f2, f7, f2 -/* 8010C71C 0010967C EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 8010C720 00109680 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010C724 00109684 40 80 00 74 */ bge lbl_8010C798 -/* 8010C728 00109688 EC 03 00 F2 */ fmuls f0, f3, f3 -/* 8010C72C 0010968C EC 06 01 BA */ fmadds f0, f6, f6, f0 -/* 8010C730 00109690 EC 02 00 BA */ fmadds f0, f2, f2, f0 -/* 8010C734 00109694 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 8010C738 00109698 40 80 00 60 */ bge lbl_8010C798 -/* 8010C73C 0010969C 80 A1 00 70 */ lwz r5, 0x70(r1) -/* 8010C740 001096A0 38 60 00 00 */ li r3, 0 -/* 8010C744 001096A4 2C 05 00 00 */ cmpwi r5, 0 -/* 8010C748 001096A8 40 81 00 40 */ ble lbl_8010C788 -/* 8010C74C 001096AC 2C 05 00 08 */ cmpwi r5, 8 -/* 8010C750 001096B0 38 85 FF F8 */ addi r4, r5, -8 -/* 8010C754 001096B4 40 81 00 20 */ ble lbl_8010C774 -/* 8010C758 001096B8 38 04 00 07 */ addi r0, r4, 7 -/* 8010C75C 001096BC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8010C760 001096C0 7C 09 03 A6 */ mtctr r0 -/* 8010C764 001096C4 2C 04 00 00 */ cmpwi r4, 0 -/* 8010C768 001096C8 40 81 00 0C */ ble lbl_8010C774 -lbl_8010C76C: -/* 8010C76C 001096CC 38 63 00 08 */ addi r3, r3, 8 -/* 8010C770 001096D0 42 00 FF FC */ bdnz lbl_8010C76C -lbl_8010C774: -/* 8010C774 001096D4 7C 03 28 50 */ subf r0, r3, r5 -/* 8010C778 001096D8 7C 09 03 A6 */ mtctr r0 -/* 8010C77C 001096DC 7C 03 28 00 */ cmpw r3, r5 -/* 8010C780 001096E0 40 80 00 08 */ bge lbl_8010C788 -lbl_8010C784: -/* 8010C784 001096E4 42 00 00 00 */ bdnz lbl_8010C784 -lbl_8010C788: -/* 8010C788 001096E8 38 00 00 00 */ li r0, 0 -/* 8010C78C 001096EC 38 60 00 00 */ li r3, 0 -/* 8010C790 001096F0 90 01 00 70 */ stw r0, 0x70(r1) -/* 8010C794 001096F4 48 00 00 74 */ b lbl_8010C808 -lbl_8010C798: -/* 8010C798 001096F8 3B 7B 00 02 */ addi r27, r27, 2 -lbl_8010C79C: -/* 8010C79C 001096FC 80 01 00 70 */ lwz r0, 0x70(r1) -/* 8010C7A0 00109700 54 00 08 3C */ slwi r0, r0, 1 -/* 8010C7A4 00109704 7C 1C 02 14 */ add r0, r28, r0 -/* 8010C7A8 00109708 7C 1B 00 40 */ cmplw r27, r0 -/* 8010C7AC 0010970C 40 82 FE B0 */ bne lbl_8010C65C -lbl_8010C7B0: -/* 8010C7B0 00109710 80 A1 00 70 */ lwz r5, 0x70(r1) -/* 8010C7B4 00109714 38 60 00 00 */ li r3, 0 -/* 8010C7B8 00109718 2C 05 00 00 */ cmpwi r5, 0 -/* 8010C7BC 0010971C 40 81 00 40 */ ble lbl_8010C7FC -/* 8010C7C0 00109720 2C 05 00 08 */ cmpwi r5, 8 -/* 8010C7C4 00109724 38 85 FF F8 */ addi r4, r5, -8 -/* 8010C7C8 00109728 40 81 00 20 */ ble lbl_8010C7E8 -/* 8010C7CC 0010972C 38 04 00 07 */ addi r0, r4, 7 -/* 8010C7D0 00109730 54 00 E8 FE */ srwi r0, r0, 3 -/* 8010C7D4 00109734 7C 09 03 A6 */ mtctr r0 -/* 8010C7D8 00109738 2C 04 00 00 */ cmpwi r4, 0 -/* 8010C7DC 0010973C 40 81 00 0C */ ble lbl_8010C7E8 -lbl_8010C7E0: -/* 8010C7E0 00109740 38 63 00 08 */ addi r3, r3, 8 -/* 8010C7E4 00109744 42 00 FF FC */ bdnz lbl_8010C7E0 -lbl_8010C7E8: -/* 8010C7E8 00109748 7C 03 28 50 */ subf r0, r3, r5 -/* 8010C7EC 0010974C 7C 09 03 A6 */ mtctr r0 -/* 8010C7F0 00109750 7C 03 28 00 */ cmpw r3, r5 -/* 8010C7F4 00109754 40 80 00 08 */ bge lbl_8010C7FC -lbl_8010C7F8: -/* 8010C7F8 00109758 42 00 00 00 */ bdnz lbl_8010C7F8 -lbl_8010C7FC: -/* 8010C7FC 0010975C 38 00 00 00 */ li r0, 0 -/* 8010C800 00109760 90 01 00 70 */ stw r0, 0x70(r1) -lbl_8010C804: -/* 8010C804 00109764 38 60 00 01 */ li r3, 1 -lbl_8010C808: -/* 8010C808 00109768 E3 E1 08 E8 */ psq_l f31, -1816(r1), 0, qr0 -/* 8010C80C 0010976C CB E1 08 E0 */ lfd f31, 0x8e0(r1) -/* 8010C810 00109770 E3 C1 08 D8 */ psq_l f30, -1832(r1), 0, qr0 -/* 8010C814 00109774 CB C1 08 D0 */ lfd f30, 0x8d0(r1) -/* 8010C818 00109778 E3 A1 08 C8 */ psq_l f29, -1848(r1), 0, qr0 -/* 8010C81C 0010977C CB A1 08 C0 */ lfd f29, 0x8c0(r1) -/* 8010C820 00109780 E3 81 08 B8 */ psq_l f28, -1864(r1), 0, qr0 -/* 8010C824 00109784 CB 81 08 B0 */ lfd f28, 0x8b0(r1) -/* 8010C828 00109788 E3 61 08 A8 */ psq_l f27, -1880(r1), 0, qr0 -/* 8010C82C 0010978C CB 61 08 A0 */ lfd f27, 0x8a0(r1) -/* 8010C830 00109790 E3 41 08 98 */ psq_l f26, -1896(r1), 0, qr0 -/* 8010C834 00109794 CB 41 08 90 */ lfd f26, 0x890(r1) -/* 8010C838 00109798 BB 61 08 7C */ lmw r27, 0x87c(r1) -/* 8010C83C 0010979C 80 01 08 F4 */ lwz r0, 0x8f4(r1) -/* 8010C840 001097A0 7C 08 03 A6 */ mtlr r0 -/* 8010C844 001097A4 38 21 08 F0 */ addi r1, r1, 0x8f0 -/* 8010C848 001097A8 4E 80 00 20 */ blr - -.global SteerToDeactivatePos__8CWarWaspFR13CStateManager9EStateMsgf -SteerToDeactivatePos__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010C84C 001097AC 94 21 FD F0 */ stwu r1, -0x210(r1) -/* 8010C850 001097B0 7C 08 02 A6 */ mflr r0 -/* 8010C854 001097B4 90 01 02 14 */ stw r0, 0x214(r1) -/* 8010C858 001097B8 DB E1 02 00 */ stfd f31, 0x200(r1) -/* 8010C85C 001097BC F3 E1 02 08 */ psq_st f31, 520(r1), 0, qr0 -/* 8010C860 001097C0 DB C1 01 F0 */ stfd f30, 0x1f0(r1) -/* 8010C864 001097C4 F3 C1 01 F8 */ psq_st f30, 504(r1), 0, qr0 -/* 8010C868 001097C8 DB A1 01 E0 */ stfd f29, 0x1e0(r1) -/* 8010C86C 001097CC F3 A1 01 E8 */ psq_st f29, 488(r1), 0, qr0 -/* 8010C870 001097D0 DB 81 01 D0 */ stfd f28, 0x1d0(r1) -/* 8010C874 001097D4 F3 81 01 D8 */ psq_st f28, 472(r1), 0, qr0 -/* 8010C878 001097D8 DB 61 01 C0 */ stfd f27, 0x1c0(r1) -/* 8010C87C 001097DC F3 61 01 C8 */ psq_st f27, 456(r1), 0, qr0 -/* 8010C880 001097E0 DB 41 01 B0 */ stfd f26, 0x1b0(r1) -/* 8010C884 001097E4 F3 41 01 B8 */ psq_st f26, 440(r1), 0, qr0 -/* 8010C888 001097E8 DB 21 01 A0 */ stfd f25, 0x1a0(r1) -/* 8010C88C 001097EC F3 21 01 A8 */ psq_st f25, 424(r1), 0, qr0 -/* 8010C890 001097F0 93 E1 01 9C */ stw r31, 0x19c(r1) -/* 8010C894 001097F4 93 C1 01 98 */ stw r30, 0x198(r1) -/* 8010C898 001097F8 93 A1 01 94 */ stw r29, 0x194(r1) -/* 8010C89C 001097FC 7C 7F 1B 78 */ mr r31, r3 -/* 8010C8A0 00109800 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010C8A4 00109804 C0 43 03 A4 */ lfs f2, 0x3a4(r3) -/* 8010C8A8 00109808 FF 20 08 90 */ fmr f25, f1 -/* 8010C8AC 0010980C C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8010C8B0 00109810 7C 9D 23 78 */ mr r29, r4 -/* 8010C8B4 00109814 C3 C3 05 8C */ lfs f30, 0x58c(r3) -/* 8010C8B8 00109818 7C BE 2B 78 */ mr r30, r5 -/* 8010C8BC 0010981C EC 22 08 28 */ fsubs f1, f2, f1 -/* 8010C8C0 00109820 C0 83 03 A0 */ lfs f4, 0x3a0(r3) -/* 8010C8C4 00109824 EC 00 F0 2A */ fadds f0, f0, f30 -/* 8010C8C8 00109828 C0 43 00 40 */ lfs f2, 0x40(r3) -/* 8010C8CC 0010982C EC 21 00 72 */ fmuls f1, f1, f1 -/* 8010C8D0 00109830 C0 63 03 A8 */ lfs f3, 0x3a8(r3) -/* 8010C8D4 00109834 EC 84 10 28 */ fsubs f4, f4, f2 -/* 8010C8D8 00109838 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8010C8DC 0010983C EC 43 10 28 */ fsubs f2, f3, f2 -/* 8010C8E0 00109840 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 8010C8E4 00109844 EF E2 08 BA */ fmadds f31, f2, f2, f1 -/* 8010C8E8 00109848 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8010C8EC 0010984C 40 81 03 1C */ ble lbl_8010CC08 -/* 8010C8F0 00109850 4B FF FC 25 */ bl PathToHiveIsClear__8CWarWaspFR13CStateManager -/* 8010C8F4 00109854 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010C8F8 00109858 41 82 03 08 */ beq lbl_8010CC00 -/* 8010C8FC 0010985C C0 22 95 24 */ lfs f1, lbl_805AB244@sda21(r2) -/* 8010C900 00109860 7F E5 FB 78 */ mr r5, r31 -/* 8010C904 00109864 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8010C908 00109868 38 9F 04 5C */ addi r4, r31, 0x45c -/* 8010C90C 0010986C 38 DF 03 A0 */ addi r6, r31, 0x3a0 -/* 8010C910 00109870 48 03 22 0D */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 8010C914 00109874 C0 41 00 B8 */ lfs f2, 0xb8(r1) -/* 8010C918 00109878 C0 21 00 BC */ lfs f1, 0xbc(r1) -/* 8010C91C 0010987C C0 01 00 C0 */ lfs f0, 0xc0(r1) -/* 8010C920 00109880 D0 41 00 FC */ stfs f2, 0xfc(r1) -/* 8010C924 00109884 D0 21 01 00 */ stfs f1, 0x100(r1) -/* 8010C928 00109888 D0 01 01 04 */ stfs f0, 0x104(r1) -/* 8010C92C 0010988C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010C930 00109890 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 8010C934 00109894 48 02 75 79 */ bl GetMaxSpeed__14CBodyStateInfoCFv -/* 8010C938 00109898 FF 40 08 90 */ fmr f26, f1 -/* 8010C93C 0010989C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010C940 001098A0 FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 8010C944 001098A4 40 81 00 24 */ ble lbl_8010C968 -/* 8010C948 001098A8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010C94C 001098AC 38 80 00 01 */ li r4, 1 -/* 8010C950 001098B0 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 8010C954 001098B4 48 02 74 81 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim -/* 8010C958 001098B8 C0 02 95 10 */ lfs f0, lbl_805AB230@sda21(r2) -/* 8010C95C 001098BC EC 00 00 72 */ fmuls f0, f0, f1 -/* 8010C960 001098C0 EC 00 D0 24 */ fdivs f0, f0, f26 -/* 8010C964 001098C4 48 00 00 08 */ b lbl_8010C96C -lbl_8010C968: -/* 8010C968 001098C8 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -lbl_8010C96C: -/* 8010C96C 001098CC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8010C970 001098D0 38 61 00 FC */ addi r3, r1, 0xfc -/* 8010C974 001098D4 48 20 7F 45 */ bl Magnitude__9CVector3fCFv -/* 8010C978 001098D8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8010C97C 001098DC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010C980 001098E0 38 81 00 0C */ addi r4, r1, 0xc -/* 8010C984 001098E4 38 AD 8A 1C */ addi r5, r13, lbl_805A75DC@sda21 -/* 8010C988 001098E8 4B EF F9 2D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8010C98C 001098EC C3 43 00 00 */ lfs f26, 0(r3) -/* 8010C990 001098F0 38 61 00 FC */ addi r3, r1, 0xfc -/* 8010C994 001098F4 48 20 7D 65 */ bl CanBeNormalized__9CVector3fCFv -/* 8010C998 001098F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010C99C 001098FC 41 82 00 3C */ beq lbl_8010C9D8 -/* 8010C9A0 00109900 38 61 00 AC */ addi r3, r1, 0xac -/* 8010C9A4 00109904 38 81 00 FC */ addi r4, r1, 0xfc -/* 8010C9A8 00109908 48 20 7E A9 */ bl AsNormalized__9CVector3fCFv -/* 8010C9AC 0010990C C0 41 00 AC */ lfs f2, 0xac(r1) -/* 8010C9B0 00109910 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8010C9B4 00109914 C0 21 00 B0 */ lfs f1, 0xb0(r1) -/* 8010C9B8 00109918 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 8010C9BC 0010991C EC 5A 00 B2 */ fmuls f2, f26, f2 -/* 8010C9C0 00109920 EC 3A 00 72 */ fmuls f1, f26, f1 -/* 8010C9C4 00109924 EC 1A 00 32 */ fmuls f0, f26, f0 -/* 8010C9C8 00109928 D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 8010C9CC 0010992C D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 8010C9D0 00109930 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 8010C9D4 00109934 48 00 00 38 */ b lbl_8010CA0C -lbl_8010C9D8: -/* 8010C9D8 00109938 C0 9F 00 58 */ lfs f4, 0x58(r31) -/* 8010C9DC 0010993C 38 61 00 88 */ addi r3, r1, 0x88 -/* 8010C9E0 00109940 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 8010C9E4 00109944 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 8010C9E8 00109948 EC 5A 01 32 */ fmuls f2, f26, f4 -/* 8010C9EC 0010994C EC 7A 00 32 */ fmuls f3, f26, f0 -/* 8010C9F0 00109950 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8010C9F4 00109954 EC 1A 00 72 */ fmuls f0, f26, f1 -/* 8010C9F8 00109958 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 8010C9FC 0010995C D0 81 00 9C */ stfs f4, 0x9c(r1) -/* 8010CA00 00109960 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8010CA04 00109964 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 8010CA08 00109968 D0 41 00 90 */ stfs f2, 0x90(r1) -lbl_8010CA0C: -/* 8010CA0C 0010996C C3 A3 00 00 */ lfs f29, 0(r3) -/* 8010CA10 00109970 38 00 00 01 */ li r0, 1 -/* 8010CA14 00109974 C3 83 00 04 */ lfs f28, 4(r3) -/* 8010CA18 00109978 FC 20 D0 90 */ fmr f1, f26 -/* 8010CA1C 0010997C C3 63 00 08 */ lfs f27, 8(r3) -/* 8010CA20 00109980 FC 40 D0 90 */ fmr f2, f26 -/* 8010CA24 00109984 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010CA28 00109988 90 03 00 34 */ stw r0, 0x34(r3) -/* 8010CA2C 0010998C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010CA30 00109990 38 63 00 04 */ addi r3, r3, 4 -/* 8010CA34 00109994 48 02 4D B5 */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff -/* 8010CA38 00109998 C0 02 95 1C */ lfs f0, lbl_805AB23C@sda21(r2) -/* 8010CA3C 0010999C EC 00 F0 2A */ fadds f0, f0, f30 -/* 8010CA40 001099A0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8010CA44 001099A4 40 81 00 C8 */ ble lbl_8010CB0C -/* 8010CA48 001099A8 7F E3 FB 78 */ mr r3, r31 -/* 8010CA4C 001099AC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8010CA50 001099B0 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010CA54 001099B4 7D 89 03 A6 */ mtctr r12 -/* 8010CA58 001099B8 4E 80 04 21 */ bctrl -/* 8010CA5C 001099BC 28 03 00 00 */ cmplwi r3, 0 -/* 8010CA60 001099C0 41 82 00 68 */ beq lbl_8010CAC8 -/* 8010CA64 001099C4 7F E3 FB 78 */ mr r3, r31 -/* 8010CA68 001099C8 7F A4 EB 78 */ mr r4, r29 -/* 8010CA6C 001099CC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8010CA70 001099D0 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8010CA74 001099D4 81 8C 01 90 */ lwz r12, 0x190(r12) -/* 8010CA78 001099D8 7D 89 03 A6 */ mtctr r12 -/* 8010CA7C 001099DC 4E 80 04 21 */ bctrl -/* 8010CA80 001099E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010CA84 001099E4 40 82 00 44 */ bne lbl_8010CAC8 -/* 8010CA88 001099E8 7F E3 FB 78 */ mr r3, r31 -/* 8010CA8C 001099EC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8010CA90 001099F0 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010CA94 001099F4 7D 89 03 A6 */ mtctr r12 -/* 8010CA98 001099F8 4E 80 04 21 */ bctrl -/* 8010CA9C 001099FC 80 83 00 04 */ lwz r4, 4(r3) -/* 8010CAA0 00109A00 80 63 00 C8 */ lwz r3, 0xc8(r3) -/* 8010CAA4 00109A04 38 04 FF FF */ addi r0, r4, -1 -/* 8010CAA8 00109A08 7C 03 00 00 */ cmpw r3, r0 -/* 8010CAAC 00109A0C 40 80 00 1C */ bge lbl_8010CAC8 -/* 8010CAB0 00109A10 FC 20 C8 90 */ fmr f1, f25 -/* 8010CAB4 00109A14 7F E3 FB 78 */ mr r3, r31 -/* 8010CAB8 00109A18 7F A4 EB 78 */ mr r4, r29 -/* 8010CABC 00109A1C 7F C5 F3 78 */ mr r5, r30 -/* 8010CAC0 00109A20 48 0E 9C 0D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8010CAC4 00109A24 48 00 01 3C */ b lbl_8010CC00 -lbl_8010CAC8: -/* 8010CAC8 00109A28 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010CACC 00109A2C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 8010CAD0 00109A30 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010CAD4 00109A34 38 81 01 40 */ addi r4, r1, 0x140 -/* 8010CAD8 00109A38 C0 43 00 04 */ lfs f2, 4(r3) -/* 8010CADC 00109A3C C0 23 00 08 */ lfs f1, 8(r3) -/* 8010CAE0 00109A40 D3 A1 01 40 */ stfs f29, 0x140(r1) -/* 8010CAE4 00109A44 D3 81 01 44 */ stfs f28, 0x144(r1) -/* 8010CAE8 00109A48 D3 61 01 48 */ stfs f27, 0x148(r1) -/* 8010CAEC 00109A4C D0 61 01 4C */ stfs f3, 0x14c(r1) -/* 8010CAF0 00109A50 D0 41 01 50 */ stfs f2, 0x150(r1) -/* 8010CAF4 00109A54 D0 21 01 54 */ stfs f1, 0x154(r1) -/* 8010CAF8 00109A58 D0 01 01 58 */ stfs f0, 0x158(r1) -/* 8010CAFC 00109A5C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010CB00 00109A60 38 63 00 04 */ addi r3, r3, 4 -/* 8010CB04 00109A64 48 02 4C 15 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 8010CB08 00109A68 48 00 00 F8 */ b lbl_8010CC00 -lbl_8010CB0C: -/* 8010CB0C 00109A6C 7F E3 FB 78 */ mr r3, r31 -/* 8010CB10 00109A70 7F A5 EB 78 */ mr r5, r29 -/* 8010CB14 00109A74 38 80 00 13 */ li r4, 0x13 -/* 8010CB18 00109A78 4B F4 74 69 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8010CB1C 00109A7C C0 9F 00 60 */ lfs f4, 0x60(r31) -/* 8010CB20 00109A80 7F E5 FB 78 */ mr r5, r31 -/* 8010CB24 00109A84 C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 8010CB28 00109A88 38 61 00 70 */ addi r3, r1, 0x70 -/* 8010CB2C 00109A8C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010CB30 00109A90 38 9F 04 5C */ addi r4, r31, 0x45c -/* 8010CB34 00109A94 C0 5F 03 A8 */ lfs f2, 0x3a8(r31) -/* 8010CB38 00109A98 38 C1 00 F0 */ addi r6, r1, 0xf0 -/* 8010CB3C 00109A9C D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8010CB40 00109AA0 C0 22 95 28 */ lfs f1, lbl_805AB248@sda21(r2) -/* 8010CB44 00109AA4 D0 61 00 80 */ stfs f3, 0x80(r1) -/* 8010CB48 00109AA8 D0 81 00 84 */ stfs f4, 0x84(r1) -/* 8010CB4C 00109AAC D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 8010CB50 00109AB0 D0 61 00 F4 */ stfs f3, 0xf4(r1) -/* 8010CB54 00109AB4 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 8010CB58 00109AB8 48 03 1F C5 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 8010CB5C 00109ABC C0 81 00 74 */ lfs f4, 0x74(r1) -/* 8010CB60 00109AC0 C0 41 00 70 */ lfs f2, 0x70(r1) -/* 8010CB64 00109AC4 EC 24 01 32 */ fmuls f1, f4, f4 -/* 8010CB68 00109AC8 C0 A1 00 78 */ lfs f5, 0x78(r1) -/* 8010CB6C 00109ACC C0 02 95 2C */ lfs f0, lbl_805AB24C@sda21(r2) -/* 8010CB70 00109AD0 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8010CB74 00109AD4 EC 25 09 7A */ fmadds f1, f5, f5, f1 -/* 8010CB78 00109AD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010CB7C 00109ADC 40 81 00 44 */ ble lbl_8010CBC0 -/* 8010CB80 00109AE0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010CB84 00109AE4 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 8010CB88 00109AE8 C0 02 94 F8 */ lfs f0, lbl_805AB218@sda21(r2) -/* 8010CB8C 00109AEC 38 81 01 24 */ addi r4, r1, 0x124 -/* 8010CB90 00109AF0 D0 41 01 24 */ stfs f2, 0x124(r1) -/* 8010CB94 00109AF4 C0 43 00 04 */ lfs f2, 4(r3) -/* 8010CB98 00109AF8 C0 23 00 08 */ lfs f1, 8(r3) -/* 8010CB9C 00109AFC D0 81 01 28 */ stfs f4, 0x128(r1) -/* 8010CBA0 00109B00 D0 A1 01 2C */ stfs f5, 0x12c(r1) -/* 8010CBA4 00109B04 D0 61 01 30 */ stfs f3, 0x130(r1) -/* 8010CBA8 00109B08 D0 41 01 34 */ stfs f2, 0x134(r1) -/* 8010CBAC 00109B0C D0 21 01 38 */ stfs f1, 0x138(r1) -/* 8010CBB0 00109B10 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 8010CBB4 00109B14 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010CBB8 00109B18 38 63 00 04 */ addi r3, r3, 4 -/* 8010CBBC 00109B1C 48 02 4B 5D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_8010CBC0: -/* 8010CBC0 00109B20 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010CBC4 00109B24 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 8010CBC8 00109B28 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010CBCC 00109B2C 38 81 01 08 */ addi r4, r1, 0x108 -/* 8010CBD0 00109B30 C0 43 00 04 */ lfs f2, 4(r3) -/* 8010CBD4 00109B34 C0 23 00 08 */ lfs f1, 8(r3) -/* 8010CBD8 00109B38 D3 A1 01 08 */ stfs f29, 0x108(r1) -/* 8010CBDC 00109B3C D3 81 01 0C */ stfs f28, 0x10c(r1) -/* 8010CBE0 00109B40 D3 61 01 10 */ stfs f27, 0x110(r1) -/* 8010CBE4 00109B44 D0 61 01 14 */ stfs f3, 0x114(r1) -/* 8010CBE8 00109B48 D0 41 01 18 */ stfs f2, 0x118(r1) -/* 8010CBEC 00109B4C D0 21 01 1C */ stfs f1, 0x11c(r1) -/* 8010CBF0 00109B50 D0 01 01 20 */ stfs f0, 0x120(r1) -/* 8010CBF4 00109B54 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010CBF8 00109B58 38 63 00 04 */ addi r3, r3, 4 -/* 8010CBFC 00109B5C 48 02 4B 1D */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_8010CC00: -/* 8010CC00 00109B60 38 60 00 00 */ li r3, 0 -/* 8010CC04 00109B64 48 00 01 64 */ b lbl_8010CD68 -lbl_8010CC08: -/* 8010CC08 00109B68 C0 02 95 2C */ lfs f0, lbl_805AB24C@sda21(r2) -/* 8010CC0C 00109B6C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8010CC10 00109B70 40 81 01 54 */ ble lbl_8010CD64 -/* 8010CC14 00109B74 7F A5 EB 78 */ mr r5, r29 -/* 8010CC18 00109B78 38 80 00 13 */ li r4, 0x13 -/* 8010CC1C 00109B7C 4B F4 73 65 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8010CC20 00109B80 C0 02 95 30 */ lfs f0, lbl_805AB250@sda21(r2) -/* 8010CC24 00109B84 38 61 00 50 */ addi r3, r1, 0x50 -/* 8010CC28 00109B88 38 81 00 08 */ addi r4, r1, 8 -/* 8010CC2C 00109B8C D0 01 00 08 */ stfs f0, 8(r1) -/* 8010CC30 00109B90 48 20 44 C9 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8010CC34 00109B94 38 61 00 60 */ addi r3, r1, 0x60 -/* 8010CC38 00109B98 38 9F 06 A0 */ addi r4, r31, 0x6a0 -/* 8010CC3C 00109B9C 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8010CC40 00109BA0 48 20 45 61 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8010CC44 00109BA4 C0 61 00 60 */ lfs f3, 0x60(r1) -/* 8010CC48 00109BA8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8010CC4C 00109BAC C0 41 00 64 */ lfs f2, 0x64(r1) -/* 8010CC50 00109BB0 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8010CC54 00109BB4 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 8010CC58 00109BB8 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8010CC5C 00109BBC D0 61 00 E0 */ stfs f3, 0xe0(r1) -/* 8010CC60 00109BC0 C0 A2 95 34 */ lfs f5, lbl_805AB254@sda21(r2) -/* 8010CC64 00109BC4 D0 41 00 E4 */ stfs f2, 0xe4(r1) -/* 8010CC68 00109BC8 C0 C2 95 08 */ lfs f6, lbl_805AB228@sda21(r2) -/* 8010CC6C 00109BCC D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 8010CC70 00109BD0 D0 01 00 EC */ stfs f0, 0xec(r1) -/* 8010CC74 00109BD4 C0 5F 03 A4 */ lfs f2, 0x3a4(r31) -/* 8010CC78 00109BD8 C0 3F 03 A8 */ lfs f1, 0x3a8(r31) -/* 8010CC7C 00109BDC C0 1F 03 A0 */ lfs f0, 0x3a0(r31) -/* 8010CC80 00109BE0 EC 82 01 72 */ fmuls f4, f2, f5 -/* 8010CC84 00109BE4 C0 FF 00 50 */ lfs f7, 0x50(r31) -/* 8010CC88 00109BE8 EC 41 01 72 */ fmuls f2, f1, f5 -/* 8010CC8C 00109BEC C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 8010CC90 00109BF0 EC 00 01 72 */ fmuls f0, f0, f5 -/* 8010CC94 00109BF4 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 8010CC98 00109BF8 EC 87 21 BA */ fmadds f4, f7, f6, f4 -/* 8010CC9C 00109BFC EC 43 11 BA */ fmadds f2, f3, f6, f2 -/* 8010CCA0 00109C00 EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 8010CCA4 00109C04 D0 81 00 D8 */ stfs f4, 0xd8(r1) -/* 8010CCA8 00109C08 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 8010CCAC 00109C0C D0 41 00 DC */ stfs f2, 0xdc(r1) -/* 8010CCB0 00109C10 48 20 54 79 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8010CCB4 00109C14 C0 22 95 34 */ lfs f1, lbl_805AB254@sda21(r2) -/* 8010CCB8 00109C18 38 61 00 40 */ addi r3, r1, 0x40 -/* 8010CCBC 00109C1C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8010CCC0 00109C20 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 8010CCC4 00109C24 48 20 48 F5 */ bl SlerpLocal__11CQuaternionFRC11CQuaternionRC11CQuaternionf -/* 8010CCC8 00109C28 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 8010CCCC 00109C2C 7F E3 FB 78 */ mr r3, r31 -/* 8010CCD0 00109C30 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8010CCD4 00109C34 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 8010CCD8 00109C38 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8010CCDC 00109C3C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8010CCE0 00109C40 D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 8010CCE4 00109C44 D0 41 00 C8 */ stfs f2, 0xc8(r1) -/* 8010CCE8 00109C48 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 8010CCEC 00109C4C D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 8010CCF0 00109C50 4B F4 61 9D */ bl SetTranslation__6CActorFRC9CVector3f -/* 8010CCF4 00109C54 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010CCF8 00109C58 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 8010CCFC 00109C5C 48 20 46 A1 */ bl BuildNormalized__11CQuaternionCFv -/* 8010CD00 00109C60 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8010CD04 00109C64 38 61 01 5C */ addi r3, r1, 0x15c -/* 8010CD08 00109C68 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8010CD0C 00109C6C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8010CD10 00109C70 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010CD14 00109C74 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8010CD18 00109C78 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8010CD1C 00109C7C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8010CD20 00109C80 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8010CD24 00109C84 48 20 51 99 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 8010CD28 00109C88 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8010CD2C 00109C8C 38 81 01 5C */ addi r4, r1, 0x15c -/* 8010CD30 00109C90 48 20 5E 11 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8010CD34 00109C94 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8010CD38 00109C98 38 80 00 01 */ li r4, 1 -/* 8010CD3C 00109C9C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8010CD40 00109CA0 38 60 00 00 */ li r3, 0 -/* 8010CD44 00109CA4 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8010CD48 00109CA8 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8010CD4C 00109CAC 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8010CD50 00109CB0 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8010CD54 00109CB4 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8010CD58 00109CB8 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8010CD5C 00109CBC 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8010CD60 00109CC0 48 00 00 08 */ b lbl_8010CD68 -lbl_8010CD64: -/* 8010CD64 00109CC4 38 60 00 01 */ li r3, 1 -lbl_8010CD68: -/* 8010CD68 00109CC8 E3 E1 02 08 */ psq_l f31, 520(r1), 0, qr0 -/* 8010CD6C 00109CCC CB E1 02 00 */ lfd f31, 0x200(r1) -/* 8010CD70 00109CD0 E3 C1 01 F8 */ psq_l f30, 504(r1), 0, qr0 -/* 8010CD74 00109CD4 CB C1 01 F0 */ lfd f30, 0x1f0(r1) -/* 8010CD78 00109CD8 E3 A1 01 E8 */ psq_l f29, 488(r1), 0, qr0 -/* 8010CD7C 00109CDC CB A1 01 E0 */ lfd f29, 0x1e0(r1) -/* 8010CD80 00109CE0 E3 81 01 D8 */ psq_l f28, 472(r1), 0, qr0 -/* 8010CD84 00109CE4 CB 81 01 D0 */ lfd f28, 0x1d0(r1) -/* 8010CD88 00109CE8 E3 61 01 C8 */ psq_l f27, 456(r1), 0, qr0 -/* 8010CD8C 00109CEC CB 61 01 C0 */ lfd f27, 0x1c0(r1) -/* 8010CD90 00109CF0 E3 41 01 B8 */ psq_l f26, 440(r1), 0, qr0 -/* 8010CD94 00109CF4 CB 41 01 B0 */ lfd f26, 0x1b0(r1) -/* 8010CD98 00109CF8 E3 21 01 A8 */ psq_l f25, 424(r1), 0, qr0 -/* 8010CD9C 00109CFC CB 21 01 A0 */ lfd f25, 0x1a0(r1) -/* 8010CDA0 00109D00 83 E1 01 9C */ lwz r31, 0x19c(r1) -/* 8010CDA4 00109D04 83 C1 01 98 */ lwz r30, 0x198(r1) -/* 8010CDA8 00109D08 80 01 02 14 */ lwz r0, 0x214(r1) -/* 8010CDAC 00109D0C 83 A1 01 94 */ lwz r29, 0x194(r1) -/* 8010CDB0 00109D10 7C 08 03 A6 */ mtlr r0 -/* 8010CDB4 00109D14 38 21 02 10 */ addi r1, r1, 0x210 -/* 8010CDB8 00109D18 4E 80 00 20 */ blr - -.global ApplyNormalSteering__8CWarWaspFR13CStateManager -ApplyNormalSteering__8CWarWaspFR13CStateManager: -/* 8010CDBC 00109D1C 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 8010CDC0 00109D20 7C 08 02 A6 */ mflr r0 -/* 8010CDC4 00109D24 90 01 01 54 */ stw r0, 0x154(r1) -/* 8010CDC8 00109D28 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 8010CDCC 00109D2C F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 8010CDD0 00109D30 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 8010CDD4 00109D34 93 C1 01 38 */ stw r30, 0x138(r1) -/* 8010CDD8 00109D38 7C 9E 23 78 */ mr r30, r4 -/* 8010CDDC 00109D3C 7C 7F 1B 78 */ mr r31, r3 -/* 8010CDE0 00109D40 80 C4 08 4C */ lwz r6, 0x84c(r4) -/* 8010CDE4 00109D44 7F C3 F3 78 */ mr r3, r30 -/* 8010CDE8 00109D48 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 8010CDEC 00109D4C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8010CDF0 00109D50 C0 26 00 50 */ lfs f1, 0x50(r6) -/* 8010CDF4 00109D54 38 A1 00 0C */ addi r5, r1, 0xc -/* 8010CDF8 00109D58 C0 66 00 60 */ lfs f3, 0x60(r6) -/* 8010CDFC 00109D5C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8010CE00 00109D60 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8010CE04 00109D64 C0 26 00 40 */ lfs f1, 0x40(r6) -/* 8010CE08 00109D68 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010CE0C 00109D6C EC 43 10 28 */ fsubs f2, f3, f2 -/* 8010CE10 00109D70 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010CE14 00109D74 D0 81 00 D0 */ stfs f4, 0xd0(r1) -/* 8010CE18 00109D78 D0 41 00 D4 */ stfs f2, 0xd4(r1) -/* 8010CE1C 00109D7C D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 8010CE20 00109D80 A0 DF 00 08 */ lhz r6, 8(r31) -/* 8010CE24 00109D84 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8010CE28 00109D88 A0 1F 06 74 */ lhz r0, 0x674(r31) -/* 8010CE2C 00109D8C B0 C1 00 08 */ sth r6, 8(r1) -/* 8010CE30 00109D90 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010CE34 00109D94 48 12 D3 4D */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId -/* 8010CE38 00109D98 28 03 00 00 */ cmplwi r3, 0 -/* 8010CE3C 00109D9C 41 82 00 0C */ beq lbl_8010CE48 -/* 8010CE40 00109DA0 38 83 00 1C */ addi r4, r3, 0x1c -/* 8010CE44 00109DA4 48 00 00 1C */ b lbl_8010CE60 -lbl_8010CE48: -/* 8010CE48 00109DA8 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010CE4C 00109DAC 7F E4 FB 78 */ mr r4, r31 -/* 8010CE50 00109DB0 7F C5 F3 78 */ mr r5, r30 -/* 8010CE54 00109DB4 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8010CE58 00109DB8 4B FF F0 49 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010CE5C 00109DBC 38 81 00 A8 */ addi r4, r1, 0xa8 -lbl_8010CE60: -/* 8010CE60 00109DC0 C0 A4 00 00 */ lfs f5, 0(r4) -/* 8010CE64 00109DC4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8010CE68 00109DC8 D0 A1 00 C0 */ stfs f5, 0xc0(r1) -/* 8010CE6C 00109DCC C0 44 00 04 */ lfs f2, 4(r4) -/* 8010CE70 00109DD0 D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 8010CE74 00109DD4 C0 84 00 08 */ lfs f4, 8(r4) -/* 8010CE78 00109DD8 D0 81 00 C8 */ stfs f4, 0xc8(r1) -/* 8010CE7C 00109DDC C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8010CE80 00109DE0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010CE84 00109DE4 EC 42 08 28 */ fsubs f2, f2, f1 -/* 8010CE88 00109DE8 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 8010CE8C 00109DEC EC 25 00 28 */ fsubs f1, f5, f0 -/* 8010CE90 00109DF0 EC 04 18 28 */ fsubs f0, f4, f3 -/* 8010CE94 00109DF4 D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 8010CE98 00109DF8 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8010CE9C 00109DFC D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8010CEA0 00109E00 48 20 73 61 */ bl __ct__9CVector2fFff -/* 8010CEA4 00109E04 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8010CEA8 00109E08 38 61 00 1C */ addi r3, r1, 0x1c -/* 8010CEAC 00109E0C C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8010CEB0 00109E10 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8010CEB4 00109E14 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 8010CEB8 00109E18 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8010CEBC 00109E1C C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 8010CEC0 00109E20 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 8010CEC4 00109E24 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 8010CEC8 00109E28 EF E0 18 28 */ fsubs f31, f0, f3 -/* 8010CECC 00109E2C D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8010CED0 00109E30 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 8010CED4 00109E34 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 8010CED8 00109E38 48 20 72 05 */ bl MagSquared__9CVector2fCFv -/* 8010CEDC 00109E3C C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010CEE0 00109E40 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010CEE4 00109E44 41 81 00 18 */ bgt lbl_8010CEFC -/* 8010CEE8 00109E48 FC 20 FA 10 */ fabs f1, f31 -/* 8010CEEC 00109E4C C0 02 95 28 */ lfs f0, lbl_805AB248@sda21(r2) -/* 8010CEF0 00109E50 FC 20 08 18 */ frsp f1, f1 -/* 8010CEF4 00109E54 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010CEF8 00109E58 40 81 01 B4 */ ble lbl_8010D0AC -lbl_8010CEFC: -/* 8010CEFC 00109E5C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8010CF00 00109E60 7F E3 FB 78 */ mr r3, r31 -/* 8010CF04 00109E64 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8010CF08 00109E68 38 81 00 84 */ addi r4, r1, 0x84 -/* 8010CF0C 00109E6C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010CF10 00109E70 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8010CF14 00109E74 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8010CF18 00109E78 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8010CF1C 00109E7C 48 0E 7D F1 */ bl GetStepDirection__10CPatternedFRC9CVector3f -/* 8010CF20 00109E80 2C 03 00 00 */ cmpwi r3, 0 -/* 8010CF24 00109E84 41 82 00 78 */ beq lbl_8010CF9C -/* 8010CF28 00109E88 3C A0 80 3E */ lis r5, lbl_803DAA68@ha -/* 8010CF2C 00109E8C 80 9F 04 50 */ lwz r4, 0x450(r31) -/* 8010CF30 00109E90 38 05 AA 68 */ addi r0, r5, lbl_803DAA68@l -/* 8010CF34 00109E94 3C A0 80 3E */ lis r5, lbl_803DA9E4@ha -/* 8010CF38 00109E98 90 01 00 74 */ stw r0, 0x74(r1) -/* 8010CF3C 00109E9C 38 A5 A9 E4 */ addi r5, r5, lbl_803DA9E4@l -/* 8010CF40 00109EA0 38 C0 00 01 */ li r6, 1 -/* 8010CF44 00109EA4 38 00 00 00 */ li r0, 0 -/* 8010CF48 00109EA8 90 C1 00 78 */ stw r6, 0x78(r1) -/* 8010CF4C 00109EAC 3B C4 00 04 */ addi r30, r4, 4 -/* 8010CF50 00109EB0 38 80 00 01 */ li r4, 1 -/* 8010CF54 00109EB4 90 61 00 7C */ stw r3, 0x7c(r1) -/* 8010CF58 00109EB8 7F C3 F3 78 */ mr r3, r30 -/* 8010CF5C 00109EBC 90 A1 00 74 */ stw r5, 0x74(r1) -/* 8010CF60 00109EC0 90 01 00 80 */ stw r0, 0x80(r1) -/* 8010CF64 00109EC4 48 02 44 D5 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010CF68 00109EC8 80 01 00 78 */ lwz r0, 0x78(r1) -/* 8010CF6C 00109ECC 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8010CF70 00109ED0 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8010CF74 00109ED4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010CF78 00109ED8 90 1E 00 C8 */ stw r0, 0xc8(r30) -/* 8010CF7C 00109EDC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010CF80 00109EE0 80 A1 00 7C */ lwz r5, 0x7c(r1) -/* 8010CF84 00109EE4 90 81 00 74 */ stw r4, 0x74(r1) -/* 8010CF88 00109EE8 80 61 00 80 */ lwz r3, 0x80(r1) -/* 8010CF8C 00109EEC 90 BE 00 CC */ stw r5, 0xcc(r30) -/* 8010CF90 00109EF0 90 7E 00 D0 */ stw r3, 0xd0(r30) -/* 8010CF94 00109EF4 90 01 00 74 */ stw r0, 0x74(r1) -/* 8010CF98 00109EF8 48 00 02 C4 */ b lbl_8010D25C -lbl_8010CF9C: -/* 8010CF9C 00109EFC C0 22 94 F8 */ lfs f1, lbl_805AB218@sda21(r2) -/* 8010CFA0 00109F00 7F E5 FB 78 */ mr r5, r31 -/* 8010CFA4 00109F04 38 61 00 68 */ addi r3, r1, 0x68 -/* 8010CFA8 00109F08 38 9F 04 5C */ addi r4, r31, 0x45c -/* 8010CFAC 00109F0C 38 C1 00 C0 */ addi r6, r1, 0xc0 -/* 8010CFB0 00109F10 48 03 1B 6D */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 8010CFB4 00109F14 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010CFB8 00109F18 C0 C1 00 68 */ lfs f6, 0x68(r1) -/* 8010CFBC 00109F1C 3B C3 66 A0 */ addi r30, r3, skZero3f@l -/* 8010CFC0 00109F20 C0 A1 00 6C */ lfs f5, 0x6c(r1) -/* 8010CFC4 00109F24 C0 81 00 70 */ lfs f4, 0x70(r1) -/* 8010CFC8 00109F28 38 81 01 10 */ addi r4, r1, 0x110 -/* 8010CFCC 00109F2C C0 7E 00 00 */ lfs f3, 0(r30) -/* 8010CFD0 00109F30 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8010CFD4 00109F34 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8010CFD8 00109F38 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010CFDC 00109F3C D0 C1 01 10 */ stfs f6, 0x110(r1) -/* 8010CFE0 00109F40 D0 A1 01 14 */ stfs f5, 0x114(r1) -/* 8010CFE4 00109F44 D0 81 01 18 */ stfs f4, 0x118(r1) -/* 8010CFE8 00109F48 D0 61 01 1C */ stfs f3, 0x11c(r1) -/* 8010CFEC 00109F4C D0 41 01 20 */ stfs f2, 0x120(r1) -/* 8010CFF0 00109F50 D0 21 01 24 */ stfs f1, 0x124(r1) -/* 8010CFF4 00109F54 D0 01 01 28 */ stfs f0, 0x128(r1) -/* 8010CFF8 00109F58 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010CFFC 00109F5C 38 63 00 04 */ addi r3, r3, 4 -/* 8010D000 00109F60 48 02 47 19 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 8010D004 00109F64 C0 9F 00 60 */ lfs f4, 0x60(r31) -/* 8010D008 00109F68 7F E5 FB 78 */ mr r5, r31 -/* 8010D00C 00109F6C C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 8010D010 00109F70 38 61 00 50 */ addi r3, r1, 0x50 -/* 8010D014 00109F74 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 8010D018 00109F78 38 9F 04 5C */ addi r4, r31, 0x45c -/* 8010D01C 00109F7C C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 8010D020 00109F80 38 C1 00 B4 */ addi r6, r1, 0xb4 -/* 8010D024 00109F84 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 8010D028 00109F88 C0 22 95 28 */ lfs f1, lbl_805AB248@sda21(r2) -/* 8010D02C 00109F8C D0 61 00 60 */ stfs f3, 0x60(r1) -/* 8010D030 00109F90 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 8010D034 00109F94 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 8010D038 00109F98 D0 61 00 B8 */ stfs f3, 0xb8(r1) -/* 8010D03C 00109F9C D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 8010D040 00109FA0 48 03 1A DD */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 8010D044 00109FA4 C0 81 00 54 */ lfs f4, 0x54(r1) -/* 8010D048 00109FA8 C0 C1 00 50 */ lfs f6, 0x50(r1) -/* 8010D04C 00109FAC EC 24 01 32 */ fmuls f1, f4, f4 -/* 8010D050 00109FB0 C0 A1 00 58 */ lfs f5, 0x58(r1) -/* 8010D054 00109FB4 C0 02 95 2C */ lfs f0, lbl_805AB24C@sda21(r2) -/* 8010D058 00109FB8 EC 26 09 BA */ fmadds f1, f6, f6, f1 -/* 8010D05C 00109FBC EC 25 09 7A */ fmadds f1, f5, f5, f1 -/* 8010D060 00109FC0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010D064 00109FC4 40 81 01 F8 */ ble lbl_8010D25C -/* 8010D068 00109FC8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010D06C 00109FCC C0 5E 00 04 */ lfs f2, 4(r30) -/* 8010D070 00109FD0 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8010D074 00109FD4 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 8010D078 00109FD8 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) -/* 8010D07C 00109FDC C0 02 94 F8 */ lfs f0, lbl_805AB218@sda21(r2) -/* 8010D080 00109FE0 D0 C1 00 F4 */ stfs f6, 0xf4(r1) -/* 8010D084 00109FE4 D0 81 00 F8 */ stfs f4, 0xf8(r1) -/* 8010D088 00109FE8 D0 A1 00 FC */ stfs f5, 0xfc(r1) -/* 8010D08C 00109FEC D0 61 01 00 */ stfs f3, 0x100(r1) -/* 8010D090 00109FF0 D0 41 01 04 */ stfs f2, 0x104(r1) -/* 8010D094 00109FF4 D0 21 01 08 */ stfs f1, 0x108(r1) -/* 8010D098 00109FF8 D0 01 01 0C */ stfs f0, 0x10c(r1) -/* 8010D09C 00109FFC 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010D0A0 0010A000 38 63 00 04 */ addi r3, r3, 4 -/* 8010D0A4 0010A004 48 02 46 75 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 8010D0A8 0010A008 48 00 01 B4 */ b lbl_8010D25C -lbl_8010D0AC: -/* 8010D0AC 0010A00C 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 8010D0B0 0010A010 38 80 00 00 */ li r4, 0 -/* 8010D0B4 0010A014 38 A0 00 02 */ li r5, 2 -/* 8010D0B8 0010A018 48 20 54 DD */ bl Range__9CRandom16Fii -/* 8010D0BC 0010A01C 2C 03 00 01 */ cmpwi r3, 1 -/* 8010D0C0 0010A020 41 82 00 98 */ beq lbl_8010D158 -/* 8010D0C4 0010A024 40 80 00 10 */ bge lbl_8010D0D4 -/* 8010D0C8 0010A028 2C 03 00 00 */ cmpwi r3, 0 -/* 8010D0CC 0010A02C 40 80 00 14 */ bge lbl_8010D0E0 -/* 8010D0D0 0010A030 48 00 01 8C */ b lbl_8010D25C -lbl_8010D0D4: -/* 8010D0D4 0010A034 2C 03 00 03 */ cmpwi r3, 3 -/* 8010D0D8 0010A038 40 80 01 84 */ bge lbl_8010D25C -/* 8010D0DC 0010A03C 48 00 00 F4 */ b lbl_8010D1D0 -lbl_8010D0E0: -/* 8010D0E0 0010A040 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8010D0E4 0010A044 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010D0E8 0010A048 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8010D0EC 0010A04C 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha -/* 8010D0F0 0010A050 90 01 00 40 */ stw r0, 0x40(r1) -/* 8010D0F4 0010A054 38 C4 A9 E4 */ addi r6, r4, lbl_803DA9E4@l -/* 8010D0F8 0010A058 38 80 00 01 */ li r4, 1 -/* 8010D0FC 0010A05C 38 A0 00 02 */ li r5, 2 -/* 8010D100 0010A060 38 00 00 00 */ li r0, 0 -/* 8010D104 0010A064 3B C3 00 04 */ addi r30, r3, 4 -/* 8010D108 0010A068 90 81 00 44 */ stw r4, 0x44(r1) -/* 8010D10C 0010A06C 7F C3 F3 78 */ mr r3, r30 -/* 8010D110 0010A070 38 80 00 01 */ li r4, 1 -/* 8010D114 0010A074 90 C1 00 40 */ stw r6, 0x40(r1) -/* 8010D118 0010A078 90 A1 00 48 */ stw r5, 0x48(r1) -/* 8010D11C 0010A07C 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8010D120 0010A080 48 02 43 19 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010D124 0010A084 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8010D128 0010A088 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8010D12C 0010A08C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8010D130 0010A090 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010D134 0010A094 90 1E 00 C8 */ stw r0, 0xc8(r30) -/* 8010D138 0010A098 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010D13C 0010A09C 80 A1 00 48 */ lwz r5, 0x48(r1) -/* 8010D140 0010A0A0 90 81 00 40 */ stw r4, 0x40(r1) -/* 8010D144 0010A0A4 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8010D148 0010A0A8 90 BE 00 CC */ stw r5, 0xcc(r30) -/* 8010D14C 0010A0AC 90 7E 00 D0 */ stw r3, 0xd0(r30) -/* 8010D150 0010A0B0 90 01 00 40 */ stw r0, 0x40(r1) -/* 8010D154 0010A0B4 48 00 01 08 */ b lbl_8010D25C -lbl_8010D158: -/* 8010D158 0010A0B8 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 8010D15C 0010A0BC 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010D160 0010A0C0 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8010D164 0010A0C4 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha -/* 8010D168 0010A0C8 90 01 00 30 */ stw r0, 0x30(r1) -/* 8010D16C 0010A0CC 38 C4 A9 E4 */ addi r6, r4, lbl_803DA9E4@l -/* 8010D170 0010A0D0 38 80 00 01 */ li r4, 1 -/* 8010D174 0010A0D4 38 A0 00 03 */ li r5, 3 -/* 8010D178 0010A0D8 38 00 00 00 */ li r0, 0 -/* 8010D17C 0010A0DC 3B C3 00 04 */ addi r30, r3, 4 -/* 8010D180 0010A0E0 90 81 00 34 */ stw r4, 0x34(r1) -/* 8010D184 0010A0E4 7F C3 F3 78 */ mr r3, r30 -/* 8010D188 0010A0E8 38 80 00 01 */ li r4, 1 -/* 8010D18C 0010A0EC 90 C1 00 30 */ stw r6, 0x30(r1) -/* 8010D190 0010A0F0 90 A1 00 38 */ stw r5, 0x38(r1) -/* 8010D194 0010A0F4 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8010D198 0010A0F8 48 02 42 A1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010D19C 0010A0FC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010D1A0 0010A100 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8010D1A4 0010A104 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8010D1A8 0010A108 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010D1AC 0010A10C 90 1E 00 C8 */ stw r0, 0xc8(r30) -/* 8010D1B0 0010A110 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010D1B4 0010A114 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 8010D1B8 0010A118 90 81 00 30 */ stw r4, 0x30(r1) -/* 8010D1BC 0010A11C 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8010D1C0 0010A120 90 BE 00 CC */ stw r5, 0xcc(r30) -/* 8010D1C4 0010A124 90 7E 00 D0 */ stw r3, 0xd0(r30) -/* 8010D1C8 0010A128 90 01 00 30 */ stw r0, 0x30(r1) -/* 8010D1CC 0010A12C 48 00 00 90 */ b lbl_8010D25C -lbl_8010D1D0: -/* 8010D1D0 0010A130 7F E3 FB 78 */ mr r3, r31 -/* 8010D1D4 0010A134 7F C4 F3 78 */ mr r4, r30 -/* 8010D1D8 0010A138 81 9F 00 00 */ lwz r12, 0(r31) -/* 8010D1DC 0010A13C C0 22 95 38 */ lfs f1, lbl_805AB258@sda21(r2) -/* 8010D1E0 0010A140 81 8C 01 E8 */ lwz r12, 0x1e8(r12) -/* 8010D1E4 0010A144 7D 89 03 A6 */ mtctr r12 -/* 8010D1E8 0010A148 4E 80 04 21 */ bctrl -/* 8010D1EC 0010A14C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010D1F0 0010A150 41 82 00 6C */ beq lbl_8010D25C -/* 8010D1F4 0010A154 38 61 00 CC */ addi r3, r1, 0xcc -/* 8010D1F8 0010A158 48 20 75 01 */ bl CanBeNormalized__9CVector3fCFv -/* 8010D1FC 0010A15C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010D200 0010A160 41 82 00 5C */ beq lbl_8010D25C -/* 8010D204 0010A164 38 61 00 24 */ addi r3, r1, 0x24 -/* 8010D208 0010A168 38 81 00 CC */ addi r4, r1, 0xcc -/* 8010D20C 0010A16C 48 20 76 45 */ bl AsNormalized__9CVector3fCFv -/* 8010D210 0010A170 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010D214 0010A174 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) -/* 8010D218 0010A178 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 8010D21C 0010A17C 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8010D220 0010A180 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 8010D224 0010A184 C0 A3 00 04 */ lfs f5, 4(r3) -/* 8010D228 0010A188 C0 83 00 08 */ lfs f4, 8(r3) -/* 8010D22C 0010A18C C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8010D230 0010A190 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010D234 0010A194 D0 C1 00 D8 */ stfs f6, 0xd8(r1) -/* 8010D238 0010A198 D0 A1 00 DC */ stfs f5, 0xdc(r1) -/* 8010D23C 0010A19C D0 81 00 E0 */ stfs f4, 0xe0(r1) -/* 8010D240 0010A1A0 D0 61 00 E4 */ stfs f3, 0xe4(r1) -/* 8010D244 0010A1A4 D0 41 00 E8 */ stfs f2, 0xe8(r1) -/* 8010D248 0010A1A8 D0 21 00 EC */ stfs f1, 0xec(r1) -/* 8010D24C 0010A1AC D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 8010D250 0010A1B0 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010D254 0010A1B4 38 63 00 04 */ addi r3, r3, 4 -/* 8010D258 0010A1B8 48 02 44 C1 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_8010D25C: -/* 8010D25C 0010A1BC 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010D260 0010A1C0 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 8010D264 0010A1C4 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8010D268 0010A1C8 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 8010D26C 0010A1CC D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8010D270 0010A1D0 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 8010D274 0010A1D4 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8010D278 0010A1D8 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 8010D27C 0010A1DC 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8010D280 0010A1E0 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 8010D284 0010A1E4 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 8010D288 0010A1E8 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 8010D28C 0010A1EC 7C 08 03 A6 */ mtlr r0 -/* 8010D290 0010A1F0 38 21 01 50 */ addi r1, r1, 0x150 -/* 8010D294 0010A1F4 4E 80 00 20 */ blr - -.global ApplySeparationBehavior__8CWarWaspFR13CStateManagerf -ApplySeparationBehavior__8CWarWaspFR13CStateManagerf: -/* 8010D298 0010A1F8 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8010D29C 0010A1FC 7C 08 02 A6 */ mflr r0 -/* 8010D2A0 0010A200 90 01 00 94 */ stw r0, 0x94(r1) -/* 8010D2A4 0010A204 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8010D2A8 0010A208 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8010D2AC 0010A20C DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8010D2B0 0010A210 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8010D2B4 0010A214 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 8010D2B8 0010A218 7C 9C 23 78 */ mr r28, r4 -/* 8010D2BC 0010A21C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8010D2C0 0010A220 83 DC 08 38 */ lwz r30, 0x838(r28) -/* 8010D2C4 0010A224 FF C0 08 90 */ fmr f30, f1 -/* 8010D2C8 0010A228 7C 7B 1B 78 */ mr r27, r3 -/* 8010D2CC 0010A22C 3B E4 66 A0 */ addi r31, r4, skZero3f@l -/* 8010D2D0 0010A230 AB BE 20 08 */ lha r29, 0x2008(r30) -/* 8010D2D4 0010A234 48 00 01 50 */ b lbl_8010D424 -lbl_8010D2D8: -/* 8010D2D8 0010A238 7F C3 F3 78 */ mr r3, r30 -/* 8010D2DC 0010A23C 7F A4 EB 78 */ mr r4, r29 -/* 8010D2E0 0010A240 4B F0 29 FD */ bl __vc__11CObjectListCFi -/* 8010D2E4 0010A244 7C 64 1B 78 */ mr r4, r3 -/* 8010D2E8 0010A248 38 61 00 14 */ addi r3, r1, 0x14 -/* 8010D2EC 0010A24C 4B F9 F7 71 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 8010D2F0 0010A250 83 43 00 04 */ lwz r26, 4(r3) -/* 8010D2F4 0010A254 28 1A 00 00 */ cmplwi r26, 0 -/* 8010D2F8 0010A258 41 82 01 10 */ beq lbl_8010D408 -/* 8010D2FC 0010A25C 7C 1A D8 40 */ cmplw r26, r27 -/* 8010D300 0010A260 41 82 01 08 */ beq lbl_8010D408 -/* 8010D304 0010A264 80 7A 00 04 */ lwz r3, 4(r26) -/* 8010D308 0010A268 80 1B 00 04 */ lwz r0, 4(r27) -/* 8010D30C 0010A26C 7C 03 00 00 */ cmpw r3, r0 -/* 8010D310 0010A270 40 82 00 F8 */ bne lbl_8010D408 -/* 8010D314 0010A274 A0 DA 00 08 */ lhz r6, 8(r26) -/* 8010D318 0010A278 FF E0 F0 90 */ fmr f31, f30 -/* 8010D31C 0010A27C 7F 83 E3 78 */ mr r3, r28 -/* 8010D320 0010A280 38 81 00 10 */ addi r4, r1, 0x10 -/* 8010D324 0010A284 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8010D328 0010A288 38 A1 00 0C */ addi r5, r1, 0xc -/* 8010D32C 0010A28C A0 1B 06 74 */ lhz r0, 0x674(r27) -/* 8010D330 0010A290 B0 C1 00 08 */ sth r6, 8(r1) -/* 8010D334 0010A294 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010D338 0010A298 48 12 CE 49 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId -/* 8010D33C 0010A29C 28 03 00 00 */ cmplwi r3, 0 -/* 8010D340 0010A2A0 41 82 00 20 */ beq lbl_8010D360 -/* 8010D344 0010A2A4 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8010D348 0010A2A8 2C 00 00 01 */ cmpwi r0, 1 -/* 8010D34C 0010A2AC 41 82 00 0C */ beq lbl_8010D358 -/* 8010D350 0010A2B0 2C 00 00 02 */ cmpwi r0, 2 -/* 8010D354 0010A2B4 40 82 00 0C */ bne lbl_8010D360 -lbl_8010D358: -/* 8010D358 0010A2B8 C0 02 94 D0 */ lfs f0, lbl_805AB1F0@sda21(r2) -/* 8010D35C 0010A2BC EF FF 00 32 */ fmuls f31, f31, f0 -lbl_8010D360: -/* 8010D360 0010A2C0 C0 7A 00 60 */ lfs f3, 0x60(r26) -/* 8010D364 0010A2C4 FC 20 F8 90 */ fmr f1, f31 -/* 8010D368 0010A2C8 C0 5A 00 50 */ lfs f2, 0x50(r26) -/* 8010D36C 0010A2CC 7F 65 DB 78 */ mr r5, r27 -/* 8010D370 0010A2D0 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 8010D374 0010A2D4 38 61 00 28 */ addi r3, r1, 0x28 -/* 8010D378 0010A2D8 38 9B 04 5C */ addi r4, r27, 0x45c -/* 8010D37C 0010A2DC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8010D380 0010A2E0 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8010D384 0010A2E4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8010D388 0010A2E8 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8010D38C 0010A2EC 48 03 15 65 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 8010D390 0010A2F0 C0 C1 00 28 */ lfs f6, 0x28(r1) -/* 8010D394 0010A2F4 38 00 00 00 */ li r0, 0 -/* 8010D398 0010A2F8 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010D39C 0010A2FC C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 8010D3A0 0010A300 FC 00 30 00 */ fcmpu cr0, f0, f6 -/* 8010D3A4 0010A304 C0 A1 00 30 */ lfs f5, 0x30(r1) -/* 8010D3A8 0010A308 40 82 00 14 */ bne lbl_8010D3BC -/* 8010D3AC 0010A30C FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 8010D3B0 0010A310 40 82 00 0C */ bne lbl_8010D3BC -/* 8010D3B4 0010A314 FC 00 28 00 */ fcmpu cr0, f0, f5 -/* 8010D3B8 0010A318 41 82 00 08 */ beq lbl_8010D3C0 -lbl_8010D3BC: -/* 8010D3BC 0010A31C 38 00 00 01 */ li r0, 1 -lbl_8010D3C0: -/* 8010D3C0 0010A320 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8010D3C4 0010A324 41 82 00 44 */ beq lbl_8010D408 -/* 8010D3C8 0010A328 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010D3CC 0010A32C C0 5F 00 04 */ lfs f2, 4(r31) -/* 8010D3D0 0010A330 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8010D3D4 0010A334 38 81 00 34 */ addi r4, r1, 0x34 -/* 8010D3D8 0010A338 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) -/* 8010D3DC 0010A33C C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010D3E0 0010A340 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 8010D3E4 0010A344 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 8010D3E8 0010A348 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 8010D3EC 0010A34C D0 61 00 40 */ stfs f3, 0x40(r1) -/* 8010D3F0 0010A350 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8010D3F4 0010A354 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 8010D3F8 0010A358 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8010D3FC 0010A35C 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 8010D400 0010A360 38 63 00 04 */ addi r3, r3, 4 -/* 8010D404 0010A364 48 02 43 15 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_8010D408: -/* 8010D408 0010A368 2C 1D FF FF */ cmpwi r29, -1 -/* 8010D40C 0010A36C 41 82 00 14 */ beq lbl_8010D420 -/* 8010D410 0010A370 57 A3 18 38 */ slwi r3, r29, 3 -/* 8010D414 0010A374 38 03 00 08 */ addi r0, r3, 8 -/* 8010D418 0010A378 7F BE 02 AE */ lhax r29, r30, r0 -/* 8010D41C 0010A37C 48 00 00 08 */ b lbl_8010D424 -lbl_8010D420: -/* 8010D420 0010A380 3B A0 FF FF */ li r29, -1 -lbl_8010D424: -/* 8010D424 0010A384 2C 1D FF FF */ cmpwi r29, -1 -/* 8010D428 0010A388 40 82 FE B0 */ bne lbl_8010D2D8 -/* 8010D42C 0010A38C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8010D430 0010A390 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8010D434 0010A394 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8010D438 0010A398 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8010D43C 0010A39C BB 41 00 58 */ lmw r26, 0x58(r1) -/* 8010D440 0010A3A0 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8010D444 0010A3A4 7C 08 03 A6 */ mtlr r0 -/* 8010D448 0010A3A8 38 21 00 90 */ addi r1, r1, 0x90 -/* 8010D44C 0010A3AC 4E 80 00 20 */ blr - -.global SwarmRemove__8CWarWaspFR13CStateManager -SwarmRemove__8CWarWaspFR13CStateManager: -/* 8010D450 0010A3B0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010D454 0010A3B4 7C 08 02 A6 */ mflr r0 -/* 8010D458 0010A3B8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010D45C 0010A3BC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8010D460 0010A3C0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8010D464 0010A3C4 7C 7E 1B 78 */ mr r30, r3 -/* 8010D468 0010A3C8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8010D46C 0010A3CC A0 63 06 74 */ lhz r3, 0x674(r3) -/* 8010D470 0010A3D0 7C 03 00 40 */ cmplw r3, r0 -/* 8010D474 0010A3D4 41 82 00 68 */ beq lbl_8010D4DC -/* 8010D478 0010A3D8 A0 1E 06 74 */ lhz r0, 0x674(r30) -/* 8010D47C 0010A3DC 7C 83 23 78 */ mr r3, r4 -/* 8010D480 0010A3E0 38 81 00 18 */ addi r4, r1, 0x18 -/* 8010D484 0010A3E4 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8010D488 0010A3E8 4B F3 F0 ED */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8010D48C 0010A3EC 7C 64 1B 78 */ mr r4, r3 -/* 8010D490 0010A3F0 38 61 00 1C */ addi r3, r1, 0x1c -/* 8010D494 0010A3F4 4B F9 A0 E1 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010D498 0010A3F8 83 E3 00 04 */ lwz r31, 4(r3) -/* 8010D49C 0010A3FC 28 1F 00 00 */ cmplwi r31, 0 -/* 8010D4A0 0010A400 41 82 00 3C */ beq lbl_8010D4DC -/* 8010D4A4 0010A404 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8010D4A8 0010A408 7F E3 FB 78 */ mr r3, r31 -/* 8010D4AC 0010A40C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8010D4B0 0010A410 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010D4B4 0010A414 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8010D4B8 0010A418 48 12 BB 39 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId -/* 8010D4BC 0010A41C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010D4C0 0010A420 41 82 00 1C */ beq lbl_8010D4DC -/* 8010D4C4 0010A424 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8010D4C8 0010A428 7F E3 FB 78 */ mr r3, r31 -/* 8010D4CC 0010A42C 38 81 00 0C */ addi r4, r1, 0xc -/* 8010D4D0 0010A430 B0 01 00 08 */ sth r0, 8(r1) -/* 8010D4D4 0010A434 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010D4D8 0010A438 48 12 C0 1D */ bl RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId -lbl_8010D4DC: -/* 8010D4DC 0010A43C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010D4E0 0010A440 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8010D4E4 0010A444 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8010D4E8 0010A448 7C 08 03 A6 */ mtlr r0 -/* 8010D4EC 0010A44C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010D4F0 0010A450 4E 80 00 20 */ blr - -.global SwarmAdd__8CWarWaspFR13CStateManager -SwarmAdd__8CWarWaspFR13CStateManager: -/* 8010D4F4 0010A454 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010D4F8 0010A458 7C 08 02 A6 */ mflr r0 -/* 8010D4FC 0010A45C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010D500 0010A460 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8010D504 0010A464 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8010D508 0010A468 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8010D50C 0010A46C 7C 7D 1B 78 */ mr r29, r3 -/* 8010D510 0010A470 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8010D514 0010A474 A0 63 06 74 */ lhz r3, 0x674(r3) -/* 8010D518 0010A478 7C 03 00 40 */ cmplw r3, r0 -/* 8010D51C 0010A47C 41 82 00 7C */ beq lbl_8010D598 -/* 8010D520 0010A480 A0 1D 06 74 */ lhz r0, 0x674(r29) -/* 8010D524 0010A484 7C 83 23 78 */ mr r3, r4 -/* 8010D528 0010A488 38 81 00 10 */ addi r4, r1, 0x10 -/* 8010D52C 0010A48C B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010D530 0010A490 4B F3 F0 45 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8010D534 0010A494 7C 64 1B 78 */ mr r4, r3 -/* 8010D538 0010A498 38 61 00 14 */ addi r3, r1, 0x14 -/* 8010D53C 0010A49C 4B F9 A0 39 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010D540 0010A4A0 83 C3 00 04 */ lwz r30, 4(r3) -/* 8010D544 0010A4A4 28 1E 00 00 */ cmplwi r30, 0 -/* 8010D548 0010A4A8 41 82 00 50 */ beq lbl_8010D598 -/* 8010D54C 0010A4AC 80 1D 03 FC */ lwz r0, 0x3fc(r29) -/* 8010D550 0010A4B0 3B E0 00 01 */ li r31, 1 -/* 8010D554 0010A4B4 2C 00 00 02 */ cmpwi r0, 2 -/* 8010D558 0010A4B8 40 82 00 08 */ bne lbl_8010D560 -/* 8010D55C 0010A4BC 3B E0 00 02 */ li r31, 2 -lbl_8010D560: -/* 8010D560 0010A4C0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8010D564 0010A4C4 7F C3 F3 78 */ mr r3, r30 -/* 8010D568 0010A4C8 38 81 00 0C */ addi r4, r1, 0xc -/* 8010D56C 0010A4CC B0 01 00 08 */ sth r0, 8(r1) -/* 8010D570 0010A4D0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010D574 0010A4D4 48 12 BA 7D */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId -/* 8010D578 0010A4D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010D57C 0010A4DC 40 82 00 1C */ bne lbl_8010D598 -/* 8010D580 0010A4E0 7F C3 F3 78 */ mr r3, r30 -/* 8010D584 0010A4E4 7F A4 EB 78 */ mr r4, r29 -/* 8010D588 0010A4E8 7F E5 FB 78 */ mr r5, r31 -/* 8010D58C 0010A4EC 38 C0 FF FF */ li r6, -1 -/* 8010D590 0010A4F0 38 E0 FF FF */ li r7, -1 -/* 8010D594 0010A4F4 48 12 C2 19 */ bl AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii -lbl_8010D598: -/* 8010D598 0010A4F8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010D59C 0010A4FC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8010D5A0 0010A500 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8010D5A4 0010A504 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8010D5A8 0010A508 7C 08 03 A6 */ mtlr r0 -/* 8010D5AC 0010A50C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010D5B0 0010A510 4E 80 00 20 */ blr - -.global JoinCircleAttackTeam__8CWarWaspFiR13CStateManager -JoinCircleAttackTeam__8CWarWaspFiR13CStateManager: -/* 8010D5B4 0010A514 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8010D5B8 0010A518 7C 08 02 A6 */ mflr r0 -/* 8010D5BC 0010A51C C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8010D5C0 0010A520 90 01 00 24 */ stw r0, 0x24(r1) -/* 8010D5C4 0010A524 38 00 00 00 */ li r0, 0 -/* 8010D5C8 0010A528 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8010D5CC 0010A52C 7C BF 2B 78 */ mr r31, r5 -/* 8010D5D0 0010A530 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8010D5D4 0010A534 7C 9E 23 78 */ mr r30, r4 -/* 8010D5D8 0010A538 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8010D5DC 0010A53C 7C 7D 1B 78 */ mr r29, r3 -/* 8010D5E0 0010A540 C0 03 06 B0 */ lfs f0, 0x6b0(r3) -/* 8010D5E4 0010A544 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010D5E8 0010A548 40 82 00 1C */ bne lbl_8010D604 -/* 8010D5EC 0010A54C C0 1D 06 B4 */ lfs f0, 0x6b4(r29) -/* 8010D5F0 0010A550 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010D5F4 0010A554 40 82 00 10 */ bne lbl_8010D604 -/* 8010D5F8 0010A558 C0 1D 06 B8 */ lfs f0, 0x6b8(r29) -/* 8010D5FC 0010A55C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010D600 0010A560 41 82 00 08 */ beq lbl_8010D608 -lbl_8010D604: -/* 8010D604 0010A564 38 00 00 01 */ li r0, 1 -lbl_8010D608: -/* 8010D608 0010A568 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8010D60C 0010A56C 41 82 00 4C */ beq lbl_8010D658 -/* 8010D610 0010A570 80 1D 07 0C */ lwz r0, 0x70c(r29) -/* 8010D614 0010A574 2C 00 FF FF */ cmpwi r0, -1 -/* 8010D618 0010A578 40 82 00 1C */ bne lbl_8010D634 -/* 8010D61C 0010A57C 7F A3 EB 78 */ mr r3, r29 -/* 8010D620 0010A580 7F E4 FB 78 */ mr r4, r31 -/* 8010D624 0010A584 7F C5 F3 78 */ mr r5, r30 -/* 8010D628 0010A588 4B FF D9 79 */ bl GetAttackTeamSize__8CWarWaspFR13CStateManageri -/* 8010D62C 0010A58C 90 7D 07 10 */ stw r3, 0x710(r29) -/* 8010D630 0010A590 93 DD 07 0C */ stw r30, 0x70c(r29) -lbl_8010D634: -/* 8010D634 0010A594 93 DD 07 08 */ stw r30, 0x708(r29) -/* 8010D638 0010A598 7F A3 EB 78 */ mr r3, r29 -/* 8010D63C 0010A59C 7F E4 FB 78 */ mr r4, r31 -/* 8010D640 0010A5A0 4B FF E7 89 */ bl CalcTimeToNextAttack__8CWarWaspFR13CStateManager -/* 8010D644 0010A5A4 D0 3D 07 00 */ stfs f1, 0x700(r29) -/* 8010D648 0010A5A8 7F A3 EB 78 */ mr r3, r29 -/* 8010D64C 0010A5AC 7F E4 FB 78 */ mr r4, r31 -/* 8010D650 0010A5B0 4B FF D8 A5 */ bl CalcOffTotemAngle__8CWarWaspFR13CStateManager -/* 8010D654 0010A5B4 D0 3D 07 18 */ stfs f1, 0x718(r29) -lbl_8010D658: -/* 8010D658 0010A5B8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8010D65C 0010A5BC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8010D660 0010A5C0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010D664 0010A5C4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8010D668 0010A5C8 7C 08 03 A6 */ mtlr r0 -/* 8010D66C 0010A5CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8010D670 0010A5D0 4E 80 00 20 */ blr - -.global SpecialAttack__8CWarWaspFR13CStateManager9EStateMsgf -SpecialAttack__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010D674 0010A5D4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8010D678 0010A5D8 7C 08 02 A6 */ mflr r0 -/* 8010D67C 0010A5DC 2C 05 00 01 */ cmpwi r5, 1 -/* 8010D680 0010A5E0 90 01 00 44 */ stw r0, 0x44(r1) -/* 8010D684 0010A5E4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8010D688 0010A5E8 7C 7F 1B 78 */ mr r31, r3 -/* 8010D68C 0010A5EC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8010D690 0010A5F0 7C 9E 23 78 */ mr r30, r4 -/* 8010D694 0010A5F4 41 82 00 50 */ beq lbl_8010D6E4 -/* 8010D698 0010A5F8 40 80 00 10 */ bge lbl_8010D6A8 -/* 8010D69C 0010A5FC 2C 05 00 00 */ cmpwi r5, 0 -/* 8010D6A0 0010A600 40 80 00 14 */ bge lbl_8010D6B4 -/* 8010D6A4 0010A604 48 00 01 F0 */ b lbl_8010D894 -lbl_8010D6A8: -/* 8010D6A8 0010A608 2C 05 00 03 */ cmpwi r5, 3 -/* 8010D6AC 0010A60C 40 80 01 E8 */ bge lbl_8010D894 -/* 8010D6B0 0010A610 48 00 01 94 */ b lbl_8010D844 -lbl_8010D6B4: -/* 8010D6B4 0010A614 88 7F 07 2E */ lbz r3, 0x72e(r31) -/* 8010D6B8 0010A618 38 80 00 01 */ li r4, 1 -/* 8010D6BC 0010A61C 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 8010D6C0 0010A620 38 00 00 00 */ li r0, 0 -/* 8010D6C4 0010A624 98 7F 07 2E */ stb r3, 0x72e(r31) -/* 8010D6C8 0010A628 88 7F 07 2E */ lbz r3, 0x72e(r31) -/* 8010D6CC 0010A62C 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 -/* 8010D6D0 0010A630 98 7F 07 2E */ stb r3, 0x72e(r31) -/* 8010D6D4 0010A634 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010D6D8 0010A638 C0 1F 06 FC */ lfs f0, 0x6fc(r31) -/* 8010D6DC 0010A63C D0 1F 03 B4 */ stfs f0, 0x3b4(r31) -/* 8010D6E0 0010A640 48 00 01 B4 */ b lbl_8010D894 -lbl_8010D6E4: -/* 8010D6E4 0010A644 80 1F 05 68 */ lwz r0, 0x568(r31) -/* 8010D6E8 0010A648 2C 00 00 01 */ cmpwi r0, 1 -/* 8010D6EC 0010A64C 41 82 01 A8 */ beq lbl_8010D894 -/* 8010D6F0 0010A650 40 80 00 10 */ bge lbl_8010D700 -/* 8010D6F4 0010A654 2C 00 00 00 */ cmpwi r0, 0 -/* 8010D6F8 0010A658 40 80 00 14 */ bge lbl_8010D70C -/* 8010D6FC 0010A65C 48 00 01 98 */ b lbl_8010D894 -lbl_8010D700: -/* 8010D700 0010A660 2C 00 00 03 */ cmpwi r0, 3 -/* 8010D704 0010A664 40 80 01 90 */ bge lbl_8010D894 -/* 8010D708 0010A668 48 00 00 C8 */ b lbl_8010D7D0 -lbl_8010D70C: -/* 8010D70C 0010A66C 81 1F 04 50 */ lwz r8, 0x450(r31) -/* 8010D710 0010A670 80 08 02 B8 */ lwz r0, 0x2b8(r8) -/* 8010D714 0010A674 2C 00 00 07 */ cmpwi r0, 7 -/* 8010D718 0010A678 40 82 00 10 */ bne lbl_8010D728 -/* 8010D71C 0010A67C 38 00 00 02 */ li r0, 2 -/* 8010D720 0010A680 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010D724 0010A684 48 00 01 70 */ b lbl_8010D894 -lbl_8010D728: -/* 8010D728 0010A688 3C A0 80 3E */ lis r5, lbl_803DAA68@ha -/* 8010D72C 0010A68C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010D730 0010A690 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 8010D734 0010A694 38 C5 AA 68 */ addi r6, r5, lbl_803DAA68@l -/* 8010D738 0010A698 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha -/* 8010D73C 0010A69C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8010D740 0010A6A0 38 C4 A9 D8 */ addi r6, r4, lbl_803DA9D8@l -/* 8010D744 0010A6A4 C0 23 00 04 */ lfs f1, 4(r3) -/* 8010D748 0010A6A8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8010D74C 0010A6AC 38 E0 00 05 */ li r7, 5 -/* 8010D750 0010A6B0 38 A0 00 08 */ li r5, 8 -/* 8010D754 0010A6B4 38 00 00 00 */ li r0, 0 -/* 8010D758 0010A6B8 3B E8 00 04 */ addi r31, r8, 4 -/* 8010D75C 0010A6BC 90 E1 00 18 */ stw r7, 0x18(r1) -/* 8010D760 0010A6C0 7F E3 FB 78 */ mr r3, r31 -/* 8010D764 0010A6C4 38 80 00 05 */ li r4, 5 -/* 8010D768 0010A6C8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8010D76C 0010A6CC 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 8010D770 0010A6D0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8010D774 0010A6D4 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8010D778 0010A6D8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8010D77C 0010A6DC 98 01 00 2C */ stb r0, 0x2c(r1) -/* 8010D780 0010A6E0 48 02 3C B9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010D784 0010A6E4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8010D788 0010A6E8 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha -/* 8010D78C 0010A6EC 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l -/* 8010D790 0010A6F0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010D794 0010A6F4 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8010D798 0010A6F8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010D79C 0010A6FC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8010D7A0 0010A700 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8010D7A4 0010A704 90 7F 01 14 */ stw r3, 0x114(r31) -/* 8010D7A8 0010A708 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8010D7AC 0010A70C 90 BF 01 18 */ stw r5, 0x118(r31) -/* 8010D7B0 0010A710 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8010D7B4 0010A714 90 7F 01 1C */ stw r3, 0x11c(r31) -/* 8010D7B8 0010A718 88 61 00 2C */ lbz r3, 0x2c(r1) -/* 8010D7BC 0010A71C 90 BF 01 20 */ stw r5, 0x120(r31) -/* 8010D7C0 0010A720 90 81 00 14 */ stw r4, 0x14(r1) -/* 8010D7C4 0010A724 98 7F 01 24 */ stb r3, 0x124(r31) -/* 8010D7C8 0010A728 90 01 00 14 */ stw r0, 0x14(r1) -/* 8010D7CC 0010A72C 48 00 00 C8 */ b lbl_8010D894 -lbl_8010D7D0: -/* 8010D7D0 0010A730 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010D7D4 0010A734 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8010D7D8 0010A738 2C 00 00 07 */ cmpwi r0, 7 -/* 8010D7DC 0010A73C 41 82 00 10 */ beq lbl_8010D7EC -/* 8010D7E0 0010A740 38 00 00 03 */ li r0, 3 -/* 8010D7E4 0010A744 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010D7E8 0010A748 48 00 00 AC */ b lbl_8010D894 -lbl_8010D7EC: -/* 8010D7EC 0010A74C C0 3F 06 B4 */ lfs f1, 0x6b4(r31) -/* 8010D7F0 0010A750 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 8010D7F4 0010A754 C0 7F 06 B0 */ lfs f3, 0x6b0(r31) -/* 8010D7F8 0010A758 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 8010D7FC 0010A75C EC 81 00 28 */ fsubs f4, f1, f0 -/* 8010D800 0010A760 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 8010D804 0010A764 EC A3 10 28 */ fsubs f5, f3, f2 -/* 8010D808 0010A768 C0 7F 06 B8 */ lfs f3, 0x6b8(r31) -/* 8010D80C 0010A76C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8010D810 0010A770 EC 00 01 32 */ fmuls f0, f0, f4 -/* 8010D814 0010A774 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 8010D818 0010A778 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8010D81C 0010A77C EC 21 01 7A */ fmadds f1, f1, f5, f0 -/* 8010D820 0010A780 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 8010D824 0010A784 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010D828 0010A788 EC 22 08 FA */ fmadds f1, f2, f3, f1 -/* 8010D82C 0010A78C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010D830 0010A790 40 81 00 64 */ ble lbl_8010D894 -/* 8010D834 0010A794 D0 A3 00 1C */ stfs f5, 0x1c(r3) -/* 8010D838 0010A798 D0 83 00 20 */ stfs f4, 0x20(r3) -/* 8010D83C 0010A79C D0 63 00 24 */ stfs f3, 0x24(r3) -/* 8010D840 0010A7A0 48 00 00 54 */ b lbl_8010D894 -lbl_8010D844: -/* 8010D844 0010A7A4 A1 1F 00 08 */ lhz r8, 8(r31) -/* 8010D848 0010A7A8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8010D84C 0010A7AC 38 C1 00 0C */ addi r6, r1, 0xc -/* 8010D850 0010A7B0 38 60 00 00 */ li r3, 0 -/* 8010D854 0010A7B4 B1 01 00 0C */ sth r8, 0xc(r1) -/* 8010D858 0010A7B8 38 E0 00 00 */ li r7, 0 -/* 8010D85C 0010A7BC A0 1F 06 74 */ lhz r0, 0x674(r31) -/* 8010D860 0010A7C0 B1 01 00 08 */ sth r8, 8(r1) -/* 8010D864 0010A7C4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010D868 0010A7C8 48 12 C6 69 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb -/* 8010D86C 0010A7CC 88 7F 07 2E */ lbz r3, 0x72e(r31) -/* 8010D870 0010A7D0 38 00 00 00 */ li r0, 0 -/* 8010D874 0010A7D4 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 8010D878 0010A7D8 38 00 FF FF */ li r0, -1 -/* 8010D87C 0010A7DC 98 7F 07 2E */ stb r3, 0x72e(r31) -/* 8010D880 0010A7E0 7F E3 FB 78 */ mr r3, r31 -/* 8010D884 0010A7E4 7F C4 F3 78 */ mr r4, r30 -/* 8010D888 0010A7E8 90 1F 07 08 */ stw r0, 0x708(r31) -/* 8010D88C 0010A7EC 4B FF D6 69 */ bl CalcOffTotemAngle__8CWarWaspFR13CStateManager -/* 8010D890 0010A7F0 D0 3F 07 18 */ stfs f1, 0x718(r31) -lbl_8010D894: -/* 8010D894 0010A7F4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8010D898 0010A7F8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8010D89C 0010A7FC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8010D8A0 0010A800 7C 08 03 A6 */ mtlr r0 -/* 8010D8A4 0010A804 38 21 00 40 */ addi r1, r1, 0x40 -/* 8010D8A8 0010A808 4E 80 00 20 */ blr - -.global TelegraphAttack__8CWarWaspFR13CStateManager9EStateMsgf -TelegraphAttack__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010D8AC 0010A80C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8010D8B0 0010A810 7C 08 02 A6 */ mflr r0 -/* 8010D8B4 0010A814 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8010D8B8 0010A818 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8010D8BC 0010A81C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8010D8C0 0010A820 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 8010D8C4 0010A824 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 8010D8C8 0010A828 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 8010D8CC 0010A82C F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 8010D8D0 0010A830 DB 81 00 B0 */ stfd f28, 0xb0(r1) -/* 8010D8D4 0010A834 F3 81 00 B8 */ psq_st f28, 184(r1), 0, qr0 -/* 8010D8D8 0010A838 DB 61 00 A0 */ stfd f27, 0xa0(r1) -/* 8010D8DC 0010A83C F3 61 00 A8 */ psq_st f27, 168(r1), 0, qr0 -/* 8010D8E0 0010A840 DB 41 00 90 */ stfd f26, 0x90(r1) -/* 8010D8E4 0010A844 F3 41 00 98 */ psq_st f26, 152(r1), 0, qr0 -/* 8010D8E8 0010A848 DB 21 00 80 */ stfd f25, 0x80(r1) -/* 8010D8EC 0010A84C F3 21 00 88 */ psq_st f25, 136(r1), 0, qr0 -/* 8010D8F0 0010A850 DB 01 00 70 */ stfd f24, 0x70(r1) -/* 8010D8F4 0010A854 F3 01 00 78 */ psq_st f24, 120(r1), 0, qr0 -/* 8010D8F8 0010A858 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8010D8FC 0010A85C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8010D900 0010A860 2C 05 00 01 */ cmpwi r5, 1 -/* 8010D904 0010A864 7C 7E 1B 78 */ mr r30, r3 -/* 8010D908 0010A868 7C 9F 23 78 */ mr r31, r4 -/* 8010D90C 0010A86C 41 82 00 78 */ beq lbl_8010D984 -/* 8010D910 0010A870 40 80 00 10 */ bge lbl_8010D920 -/* 8010D914 0010A874 2C 05 00 00 */ cmpwi r5, 0 -/* 8010D918 0010A878 40 80 00 14 */ bge lbl_8010D92C -/* 8010D91C 0010A87C 48 00 02 64 */ b lbl_8010DB80 -lbl_8010D920: -/* 8010D920 0010A880 2C 05 00 03 */ cmpwi r5, 3 -/* 8010D924 0010A884 40 80 02 5C */ bge lbl_8010DB80 -/* 8010D928 0010A888 48 00 02 4C */ b lbl_8010DB74 -lbl_8010D92C: -/* 8010D92C 0010A88C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8010D930 0010A890 38 80 00 03 */ li r4, 3 -/* 8010D934 0010A894 48 02 D0 A5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8010D938 0010A898 7F C3 F3 78 */ mr r3, r30 -/* 8010D93C 0010A89C 7F E5 FB 78 */ mr r5, r31 -/* 8010D940 0010A8A0 38 80 00 29 */ li r4, 0x29 -/* 8010D944 0010A8A4 4B F4 66 3D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8010D948 0010A8A8 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8010D94C 0010A8AC 7F E6 FB 78 */ mr r6, r31 -/* 8010D950 0010A8B0 38 81 00 0C */ addi r4, r1, 0xc -/* 8010D954 0010A8B4 38 A0 00 08 */ li r5, 8 -/* 8010D958 0010A8B8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010D95C 0010A8BC B0 01 00 08 */ sth r0, 8(r1) -/* 8010D960 0010A8C0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8010D964 0010A8C4 48 06 D8 F1 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager -/* 8010D968 0010A8C8 7F C3 F3 78 */ mr r3, r30 -/* 8010D96C 0010A8CC 7F E4 FB 78 */ mr r4, r31 -/* 8010D970 0010A8D0 4B FF FB 85 */ bl SwarmAdd__8CWarWaspFR13CStateManager -/* 8010D974 0010A8D4 7F C3 F3 78 */ mr r3, r30 -/* 8010D978 0010A8D8 7F E4 FB 78 */ mr r4, r31 -/* 8010D97C 0010A8DC 4B FF D9 2D */ bl SetUpCircleTelegraphTeam__8CWarWaspFR13CStateManager -/* 8010D980 0010A8E0 48 00 02 00 */ b lbl_8010DB80 -lbl_8010D984: -/* 8010D984 0010A8E4 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8010D988 0010A8E8 38 00 00 00 */ li r0, 0 -/* 8010D98C 0010A8EC C0 1E 06 B0 */ lfs f0, 0x6b0(r30) -/* 8010D990 0010A8F0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010D994 0010A8F4 40 82 00 1C */ bne lbl_8010D9B0 -/* 8010D998 0010A8F8 C0 1E 06 B4 */ lfs f0, 0x6b4(r30) -/* 8010D99C 0010A8FC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010D9A0 0010A900 40 82 00 10 */ bne lbl_8010D9B0 -/* 8010D9A4 0010A904 C0 1E 06 B8 */ lfs f0, 0x6b8(r30) -/* 8010D9A8 0010A908 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010D9AC 0010A90C 41 82 00 08 */ beq lbl_8010D9B4 -lbl_8010D9B0: -/* 8010D9B0 0010A910 38 00 00 01 */ li r0, 1 -lbl_8010D9B4: -/* 8010D9B4 0010A914 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8010D9B8 0010A918 41 82 01 C8 */ beq lbl_8010DB80 -/* 8010D9BC 0010A91C 7F C3 F3 78 */ mr r3, r30 -/* 8010D9C0 0010A920 7F E4 FB 78 */ mr r4, r31 -/* 8010D9C4 0010A924 4B FF D7 B9 */ bl TryCircleTeamMerge__8CWarWaspFR13CStateManager -/* 8010D9C8 0010A928 C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 8010D9CC 0010A92C 38 61 00 34 */ addi r3, r1, 0x34 -/* 8010D9D0 0010A930 C0 1E 06 B8 */ lfs f0, 0x6b8(r30) -/* 8010D9D4 0010A934 C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 8010D9D8 0010A938 C0 7E 06 B4 */ lfs f3, 0x6b4(r30) -/* 8010D9DC 0010A93C EC A1 00 28 */ fsubs f5, f1, f0 -/* 8010D9E0 0010A940 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 8010D9E4 0010A944 C0 3E 06 B0 */ lfs f1, 0x6b0(r30) -/* 8010D9E8 0010A948 EC 64 18 28 */ fsubs f3, f4, f3 -/* 8010D9EC 0010A94C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010D9F0 0010A950 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8010D9F4 0010A954 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 8010D9F8 0010A958 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 8010D9FC 0010A95C D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8010DA00 0010A960 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8010DA04 0010A964 C3 3E 00 38 */ lfs f25, 0x38(r30) -/* 8010DA08 0010A968 C3 5E 00 48 */ lfs f26, 0x48(r30) -/* 8010DA0C 0010A96C C3 7E 00 58 */ lfs f27, 0x58(r30) -/* 8010DA10 0010A970 48 20 6C E9 */ bl CanBeNormalized__9CVector3fCFv -/* 8010DA14 0010A974 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010DA18 0010A978 41 82 01 0C */ beq lbl_8010DB24 -/* 8010DA1C 0010A97C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8010DA20 0010A980 38 81 00 34 */ addi r4, r1, 0x34 -/* 8010DA24 0010A984 48 20 6E 2D */ bl AsNormalized__9CVector3fCFv -/* 8010DA28 0010A988 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8010DA2C 0010A98C C5 23 66 F4 */ lfsu f9, lbl_805A66F4@l(r3) -/* 8010DA30 0010A990 C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 8010DA34 0010A994 C0 E1 00 30 */ lfs f7, 0x30(r1) -/* 8010DA38 0010A998 C0 63 00 04 */ lfs f3, 4(r3) -/* 8010DA3C 0010A99C EC 29 01 72 */ fmuls f1, f9, f5 -/* 8010DA40 0010A9A0 C1 01 00 28 */ lfs f8, 0x28(r1) -/* 8010DA44 0010A9A4 C0 DE 02 FC */ lfs f6, 0x2fc(r30) -/* 8010DA48 0010A9A8 EC 03 01 F2 */ fmuls f0, f3, f7 -/* 8010DA4C 0010A9AC C0 83 00 08 */ lfs f4, 8(r3) -/* 8010DA50 0010A9B0 EF 28 08 F8 */ fmsubs f25, f8, f3, f1 -/* 8010DA54 0010A9B4 EC 46 01 72 */ fmuls f2, f6, f5 -/* 8010DA58 0010A9B8 80 9E 07 08 */ lwz r4, 0x708(r30) -/* 8010DA5C 0010A9BC EF 65 01 38 */ fmsubs f27, f5, f4, f0 -/* 8010DA60 0010A9C0 EC 24 02 32 */ fmuls f1, f4, f8 -/* 8010DA64 0010A9C4 C0 7E 06 B4 */ lfs f3, 0x6b4(r30) -/* 8010DA68 0010A9C8 EC A6 02 32 */ fmuls f5, f6, f8 -/* 8010DA6C 0010A9CC C0 9E 06 B0 */ lfs f4, 0x6b0(r30) -/* 8010DA70 0010A9D0 EC 06 01 F2 */ fmuls f0, f6, f7 -/* 8010DA74 0010A9D4 EF 47 0A 78 */ fmsubs f26, f7, f9, f1 -/* 8010DA78 0010A9D8 C0 3E 06 B8 */ lfs f1, 0x6b8(r30) -/* 8010DA7C 0010A9DC 2C 04 00 00 */ cmpwi r4, 0 -/* 8010DA80 0010A9E0 EF 84 28 2A */ fadds f28, f4, f5 -/* 8010DA84 0010A9E4 EF A3 10 2A */ fadds f29, f3, f2 -/* 8010DA88 0010A9E8 EF C1 00 2A */ fadds f30, f1, f0 -/* 8010DA8C 0010A9EC 40 81 00 14 */ ble lbl_8010DAA0 -/* 8010DA90 0010A9F0 C0 02 95 3C */ lfs f0, lbl_805AB25C@sda21(r2) -/* 8010DA94 0010A9F4 EF 60 06 F2 */ fmuls f27, f0, f27 -/* 8010DA98 0010A9F8 EF 40 06 B2 */ fmuls f26, f0, f26 -/* 8010DA9C 0010A9FC EF 20 06 72 */ fmuls f25, f0, f25 -lbl_8010DAA0: -/* 8010DAA0 0010AA00 7F C3 F3 78 */ mr r3, r30 -/* 8010DAA4 0010AA04 4B FF D4 81 */ bl GetTeamZStratum__8CWarWaspFi -/* 8010DAA8 0010AA08 C0 1E 07 14 */ lfs f0, 0x714(r30) -/* 8010DAAC 0010AA0C 7F C3 F3 78 */ mr r3, r30 -/* 8010DAB0 0010AA10 7F E4 FB 78 */ mr r4, r31 -/* 8010DAB4 0010AA14 EF 00 08 2A */ fadds f24, f0, f1 -/* 8010DAB8 0010AA18 4B FF DC 0D */ bl CalcSeekMagnitude__8CWarWaspFR13CStateManager -/* 8010DABC 0010AA1C C0 02 95 40 */ lfs f0, lbl_805AB260@sda21(r2) -/* 8010DAC0 0010AA20 FF E0 08 90 */ fmr f31, f1 -/* 8010DAC4 0010AA24 C0 62 94 F0 */ lfs f3, lbl_805AB210@sda21(r2) -/* 8010DAC8 0010AA28 7F C5 F3 78 */ mr r5, r30 -/* 8010DACC 0010AA2C EC 40 06 F2 */ fmuls f2, f0, f27 -/* 8010DAD0 0010AA30 38 61 00 1C */ addi r3, r1, 0x1c -/* 8010DAD4 0010AA34 EC 20 06 B2 */ fmuls f1, f0, f26 -/* 8010DAD8 0010AA38 EC 00 06 72 */ fmuls f0, f0, f25 -/* 8010DADC 0010AA3C 38 9E 04 5C */ addi r4, r30, 0x45c -/* 8010DAE0 0010AA40 EC 5C 10 2A */ fadds f2, f28, f2 -/* 8010DAE4 0010AA44 EC 3D 08 2A */ fadds f1, f29, f1 -/* 8010DAE8 0010AA48 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8010DAEC 0010AA4C EC 1E 00 2A */ fadds f0, f30, f0 -/* 8010DAF0 0010AA50 EC 42 18 2A */ fadds f2, f2, f3 -/* 8010DAF4 0010AA54 EC 21 18 2A */ fadds f1, f1, f3 -/* 8010DAF8 0010AA58 EC 00 C0 2A */ fadds f0, f0, f24 -/* 8010DAFC 0010AA5C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8010DB00 0010AA60 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8010DB04 0010AA64 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8010DB08 0010AA68 48 03 11 19 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f -/* 8010DB0C 0010AA6C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8010DB10 0010AA70 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8010DB14 0010AA74 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8010DB18 0010AA78 EF 3F 00 B2 */ fmuls f25, f31, f2 -/* 8010DB1C 0010AA7C EF 5F 00 72 */ fmuls f26, f31, f1 -/* 8010DB20 0010AA80 EF 7F 00 32 */ fmuls f27, f31, f0 -lbl_8010DB24: -/* 8010DB24 0010AA84 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010DB28 0010AA88 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 8010DB2C 0010AA8C C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010DB30 0010AA90 38 81 00 40 */ addi r4, r1, 0x40 -/* 8010DB34 0010AA94 C0 43 00 04 */ lfs f2, 4(r3) -/* 8010DB38 0010AA98 C0 23 00 08 */ lfs f1, 8(r3) -/* 8010DB3C 0010AA9C D3 21 00 40 */ stfs f25, 0x40(r1) -/* 8010DB40 0010AAA0 D3 41 00 44 */ stfs f26, 0x44(r1) -/* 8010DB44 0010AAA4 D3 61 00 48 */ stfs f27, 0x48(r1) -/* 8010DB48 0010AAA8 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 8010DB4C 0010AAAC D0 41 00 50 */ stfs f2, 0x50(r1) -/* 8010DB50 0010AAB0 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 8010DB54 0010AAB4 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8010DB58 0010AAB8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8010DB5C 0010AABC 38 63 00 04 */ addi r3, r3, 4 -/* 8010DB60 0010AAC0 48 02 3B B9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 8010DB64 0010AAC4 7F C3 F3 78 */ mr r3, r30 -/* 8010DB68 0010AAC8 7F E4 FB 78 */ mr r4, r31 -/* 8010DB6C 0010AACC 4B FF D2 69 */ bl UpdateTelegraphMoveSpeed__8CWarWaspFR13CStateManager -/* 8010DB70 0010AAD0 48 00 00 10 */ b lbl_8010DB80 -lbl_8010DB74: -/* 8010DB74 0010AAD4 7F E5 FB 78 */ mr r5, r31 -/* 8010DB78 0010AAD8 38 80 00 29 */ li r4, 0x29 -/* 8010DB7C 0010AADC 4B F4 67 D5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_8010DB80: -/* 8010DB80 0010AAE0 E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8010DB84 0010AAE4 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 8010DB88 0010AAE8 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 8010DB8C 0010AAEC CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 8010DB90 0010AAF0 E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 8010DB94 0010AAF4 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 8010DB98 0010AAF8 E3 81 00 B8 */ psq_l f28, 184(r1), 0, qr0 -/* 8010DB9C 0010AAFC CB 81 00 B0 */ lfd f28, 0xb0(r1) -/* 8010DBA0 0010AB00 E3 61 00 A8 */ psq_l f27, 168(r1), 0, qr0 -/* 8010DBA4 0010AB04 CB 61 00 A0 */ lfd f27, 0xa0(r1) -/* 8010DBA8 0010AB08 E3 41 00 98 */ psq_l f26, 152(r1), 0, qr0 -/* 8010DBAC 0010AB0C CB 41 00 90 */ lfd f26, 0x90(r1) -/* 8010DBB0 0010AB10 E3 21 00 88 */ psq_l f25, 136(r1), 0, qr0 -/* 8010DBB4 0010AB14 CB 21 00 80 */ lfd f25, 0x80(r1) -/* 8010DBB8 0010AB18 E3 01 00 78 */ psq_l f24, 120(r1), 0, qr0 -/* 8010DBBC 0010AB1C CB 01 00 70 */ lfd f24, 0x70(r1) -/* 8010DBC0 0010AB20 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8010DBC4 0010AB24 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8010DBC8 0010AB28 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8010DBCC 0010AB2C 7C 08 03 A6 */ mtlr r0 -/* 8010DBD0 0010AB30 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8010DBD4 0010AB34 4E 80 00 20 */ blr - -.global TargetPatrol__8CWarWaspFR13CStateManager9EStateMsgf -TargetPatrol__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010DBD8 0010AB38 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010DBDC 0010AB3C 7C 08 02 A6 */ mflr r0 -/* 8010DBE0 0010AB40 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010DBE4 0010AB44 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8010DBE8 0010AB48 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8010DBEC 0010AB4C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8010DBF0 0010AB50 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8010DBF4 0010AB54 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8010DBF8 0010AB58 7C BF 2B 78 */ mr r31, r5 -/* 8010DBFC 0010AB5C FF E0 08 90 */ fmr f31, f1 -/* 8010DC00 0010AB60 2C 1F 00 01 */ cmpwi r31, 1 -/* 8010DC04 0010AB64 7C 7D 1B 78 */ mr r29, r3 -/* 8010DC08 0010AB68 7C 9E 23 78 */ mr r30, r4 -/* 8010DC0C 0010AB6C 41 82 00 98 */ beq lbl_8010DCA4 -/* 8010DC10 0010AB70 40 80 01 0C */ bge lbl_8010DD1C -/* 8010DC14 0010AB74 2C 1F 00 00 */ cmpwi r31, 0 -/* 8010DC18 0010AB78 40 80 00 08 */ bge lbl_8010DC20 -/* 8010DC1C 0010AB7C 48 00 01 00 */ b lbl_8010DD1C -lbl_8010DC20: -/* 8010DC20 0010AB80 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010DC24 0010AB84 38 80 00 01 */ li r4, 1 -/* 8010DC28 0010AB88 48 02 CD B1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8010DC2C 0010AB8C 7F A3 EB 78 */ mr r3, r29 -/* 8010DC30 0010AB90 7F C4 F3 78 */ mr r4, r30 -/* 8010DC34 0010AB94 4B FF F8 1D */ bl SwarmRemove__8CWarWaspFR13CStateManager -/* 8010DC38 0010AB98 FC 20 F8 90 */ fmr f1, f31 -/* 8010DC3C 0010AB9C 7F A3 EB 78 */ mr r3, r29 -/* 8010DC40 0010ABA0 7F C4 F3 78 */ mr r4, r30 -/* 8010DC44 0010ABA4 7F E5 FB 78 */ mr r5, r31 -/* 8010DC48 0010ABA8 48 0E 92 2D */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 8010DC4C 0010ABAC 7F A3 EB 78 */ mr r3, r29 -/* 8010DC50 0010ABB0 7F C4 F3 78 */ mr r4, r30 -/* 8010DC54 0010ABB4 48 0E 76 3D */ bl UpdateDest__10CPatternedFR13CStateManager -/* 8010DC58 0010ABB8 C0 1D 02 E0 */ lfs f0, 0x2e0(r29) -/* 8010DC5C 0010ABBC 7F A3 EB 78 */ mr r3, r29 -/* 8010DC60 0010ABC0 D0 1D 06 78 */ stfs f0, 0x678(r29) -/* 8010DC64 0010ABC4 C0 1D 02 E4 */ lfs f0, 0x2e4(r29) -/* 8010DC68 0010ABC8 D0 1D 06 7C */ stfs f0, 0x67c(r29) -/* 8010DC6C 0010ABCC C0 1D 02 E8 */ lfs f0, 0x2e8(r29) -/* 8010DC70 0010ABD0 D0 1D 06 80 */ stfs f0, 0x680(r29) -/* 8010DC74 0010ABD4 81 9D 00 00 */ lwz r12, 0(r29) -/* 8010DC78 0010ABD8 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010DC7C 0010ABDC 7D 89 03 A6 */ mtctr r12 -/* 8010DC80 0010ABE0 4E 80 04 21 */ bctrl -/* 8010DC84 0010ABE4 28 03 00 00 */ cmplwi r3, 0 -/* 8010DC88 0010ABE8 41 82 00 94 */ beq lbl_8010DD1C -/* 8010DC8C 0010ABEC FC 20 F8 90 */ fmr f1, f31 -/* 8010DC90 0010ABF0 7F A3 EB 78 */ mr r3, r29 -/* 8010DC94 0010ABF4 7F C4 F3 78 */ mr r4, r30 -/* 8010DC98 0010ABF8 7F E5 FB 78 */ mr r5, r31 -/* 8010DC9C 0010ABFC 48 0E 8A 31 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8010DCA0 0010AC00 48 00 00 7C */ b lbl_8010DD1C -lbl_8010DCA4: -/* 8010DCA4 0010AC04 81 83 00 00 */ lwz r12, 0(r3) -/* 8010DCA8 0010AC08 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010DCAC 0010AC0C 7D 89 03 A6 */ mtctr r12 -/* 8010DCB0 0010AC10 4E 80 04 21 */ bctrl -/* 8010DCB4 0010AC14 28 03 00 00 */ cmplwi r3, 0 -/* 8010DCB8 0010AC18 41 82 00 40 */ beq lbl_8010DCF8 -/* 8010DCBC 0010AC1C 7F A3 EB 78 */ mr r3, r29 -/* 8010DCC0 0010AC20 7F C4 F3 78 */ mr r4, r30 -/* 8010DCC4 0010AC24 81 9D 00 00 */ lwz r12, 0(r29) -/* 8010DCC8 0010AC28 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8010DCCC 0010AC2C 81 8C 01 90 */ lwz r12, 0x190(r12) -/* 8010DCD0 0010AC30 7D 89 03 A6 */ mtctr r12 -/* 8010DCD4 0010AC34 4E 80 04 21 */ bctrl -/* 8010DCD8 0010AC38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010DCDC 0010AC3C 40 82 00 1C */ bne lbl_8010DCF8 -/* 8010DCE0 0010AC40 FC 20 F8 90 */ fmr f1, f31 -/* 8010DCE4 0010AC44 7F A3 EB 78 */ mr r3, r29 -/* 8010DCE8 0010AC48 7F C4 F3 78 */ mr r4, r30 -/* 8010DCEC 0010AC4C 7F E5 FB 78 */ mr r5, r31 -/* 8010DCF0 0010AC50 48 0E 89 DD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8010DCF4 0010AC54 48 00 00 18 */ b lbl_8010DD0C -lbl_8010DCF8: -/* 8010DCF8 0010AC58 FC 20 F8 90 */ fmr f1, f31 -/* 8010DCFC 0010AC5C 7F A3 EB 78 */ mr r3, r29 -/* 8010DD00 0010AC60 7F C4 F3 78 */ mr r4, r30 -/* 8010DD04 0010AC64 7F E5 FB 78 */ mr r5, r31 -/* 8010DD08 0010AC68 48 0E 91 6D */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -lbl_8010DD0C: -/* 8010DD0C 0010AC6C C0 22 95 44 */ lfs f1, lbl_805AB264@sda21(r2) -/* 8010DD10 0010AC70 7F A3 EB 78 */ mr r3, r29 -/* 8010DD14 0010AC74 7F C4 F3 78 */ mr r4, r30 -/* 8010DD18 0010AC78 4B FF F5 81 */ bl ApplySeparationBehavior__8CWarWaspFR13CStateManagerf -lbl_8010DD1C: -/* 8010DD1C 0010AC7C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8010DD20 0010AC80 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010DD24 0010AC84 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8010DD28 0010AC88 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8010DD2C 0010AC8C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010DD30 0010AC90 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8010DD34 0010AC94 7C 08 03 A6 */ mtlr r0 -/* 8010DD38 0010AC98 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010DD3C 0010AC9C 4E 80 00 20 */ blr - -.global Dodge__8CWarWaspFR13CStateManager9EStateMsgf -Dodge__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010DD40 0010ACA0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8010DD44 0010ACA4 7C 08 02 A6 */ mflr r0 -/* 8010DD48 0010ACA8 2C 05 00 01 */ cmpwi r5, 1 -/* 8010DD4C 0010ACAC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8010DD50 0010ACB0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8010DD54 0010ACB4 7C 7F 1B 78 */ mr r31, r3 -/* 8010DD58 0010ACB8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8010DD5C 0010ACBC 41 82 00 A4 */ beq lbl_8010DE00 -/* 8010DD60 0010ACC0 40 80 00 10 */ bge lbl_8010DD70 -/* 8010DD64 0010ACC4 2C 05 00 00 */ cmpwi r5, 0 -/* 8010DD68 0010ACC8 40 80 00 14 */ bge lbl_8010DD7C -/* 8010DD6C 0010ACCC 48 00 00 F0 */ b lbl_8010DE5C -lbl_8010DD70: -/* 8010DD70 0010ACD0 2C 05 00 03 */ cmpwi r5, 3 -/* 8010DD74 0010ACD4 40 80 00 E8 */ bge lbl_8010DE5C -/* 8010DD78 0010ACD8 48 00 00 DC */ b lbl_8010DE54 -lbl_8010DD7C: -/* 8010DD7C 0010ACDC 80 DF 07 04 */ lwz r6, 0x704(r31) -/* 8010DD80 0010ACE0 2C 06 FF FF */ cmpwi r6, -1 -/* 8010DD84 0010ACE4 41 82 00 D8 */ beq lbl_8010DE5C -/* 8010DD88 0010ACE8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010DD8C 0010ACEC 38 A0 00 01 */ li r5, 1 -/* 8010DD90 0010ACF0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010DD94 0010ACF4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010DD98 0010ACF8 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha -/* 8010DD9C 0010ACFC 90 01 00 08 */ stw r0, 8(r1) -/* 8010DDA0 0010AD00 38 04 A9 E4 */ addi r0, r4, lbl_803DA9E4@l -/* 8010DDA4 0010AD04 3B C3 00 04 */ addi r30, r3, 4 -/* 8010DDA8 0010AD08 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8010DDAC 0010AD0C 7F C3 F3 78 */ mr r3, r30 -/* 8010DDB0 0010AD10 38 80 00 01 */ li r4, 1 -/* 8010DDB4 0010AD14 90 01 00 08 */ stw r0, 8(r1) -/* 8010DDB8 0010AD18 90 C1 00 10 */ stw r6, 0x10(r1) -/* 8010DDBC 0010AD1C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8010DDC0 0010AD20 48 02 36 79 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010DDC4 0010AD24 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8010DDC8 0010AD28 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8010DDCC 0010AD2C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8010DDD0 0010AD30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010DDD4 0010AD34 90 1E 00 C8 */ stw r0, 0xc8(r30) -/* 8010DDD8 0010AD38 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 8010DDDC 0010AD3C 80 C1 00 10 */ lwz r6, 0x10(r1) -/* 8010DDE0 0010AD40 38 00 00 02 */ li r0, 2 -/* 8010DDE4 0010AD44 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8010DDE8 0010AD48 90 DE 00 CC */ stw r6, 0xcc(r30) -/* 8010DDEC 0010AD4C 90 BE 00 D0 */ stw r5, 0xd0(r30) -/* 8010DDF0 0010AD50 90 81 00 08 */ stw r4, 8(r1) -/* 8010DDF4 0010AD54 90 61 00 08 */ stw r3, 8(r1) -/* 8010DDF8 0010AD58 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010DDFC 0010AD5C 48 00 00 60 */ b lbl_8010DE5C -lbl_8010DE00: -/* 8010DE00 0010AD60 80 BF 04 50 */ lwz r5, 0x450(r31) -/* 8010DE04 0010AD64 80 05 02 B8 */ lwz r0, 0x2b8(r5) -/* 8010DE08 0010AD68 2C 00 00 03 */ cmpwi r0, 3 -/* 8010DE0C 0010AD6C 41 82 00 10 */ beq lbl_8010DE1C -/* 8010DE10 0010AD70 38 00 00 03 */ li r0, 3 -/* 8010DE14 0010AD74 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010DE18 0010AD78 48 00 00 44 */ b lbl_8010DE5C -lbl_8010DE1C: -/* 8010DE1C 0010AD7C 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 8010DE20 0010AD80 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010DE24 0010AD84 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 8010DE28 0010AD88 C0 83 00 50 */ lfs f4, 0x50(r3) -/* 8010DE2C 0010AD8C C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 8010DE30 0010AD90 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010DE34 0010AD94 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8010DE38 0010AD98 C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 8010DE3C 0010AD9C EC 64 18 28 */ fsubs f3, f4, f3 -/* 8010DE40 0010ADA0 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 8010DE44 0010ADA4 EC 02 08 28 */ fsubs f0, f2, f1 -/* 8010DE48 0010ADA8 D0 65 00 20 */ stfs f3, 0x20(r5) -/* 8010DE4C 0010ADAC D0 05 00 24 */ stfs f0, 0x24(r5) -/* 8010DE50 0010ADB0 48 00 00 0C */ b lbl_8010DE5C -lbl_8010DE54: -/* 8010DE54 0010ADB4 38 00 FF FF */ li r0, -1 -/* 8010DE58 0010ADB8 90 1F 07 04 */ stw r0, 0x704(r31) -lbl_8010DE5C: -/* 8010DE5C 0010ADBC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8010DE60 0010ADC0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8010DE64 0010ADC4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010DE68 0010ADC8 7C 08 03 A6 */ mtlr r0 -/* 8010DE6C 0010ADCC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8010DE70 0010ADD0 4E 80 00 20 */ blr - -.global Deactivate__8CWarWaspFR13CStateManager9EStateMsgf -Deactivate__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010DE74 0010ADD4 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8010DE78 0010ADD8 7C 08 02 A6 */ mflr r0 -/* 8010DE7C 0010ADDC 90 01 00 54 */ stw r0, 0x54(r1) -/* 8010DE80 0010ADE0 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8010DE84 0010ADE4 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8010DE88 0010ADE8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8010DE8C 0010ADEC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8010DE90 0010ADF0 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8010DE94 0010ADF4 7C BF 2B 78 */ mr r31, r5 -/* 8010DE98 0010ADF8 7C 7D 1B 78 */ mr r29, r3 -/* 8010DE9C 0010ADFC FF E0 08 90 */ fmr f31, f1 -/* 8010DEA0 0010AE00 2C 1F 00 01 */ cmpwi r31, 1 -/* 8010DEA4 0010AE04 81 43 04 50 */ lwz r10, 0x450(r3) -/* 8010DEA8 0010AE08 7C 9E 23 78 */ mr r30, r4 -/* 8010DEAC 0010AE0C 41 82 00 A0 */ beq lbl_8010DF4C -/* 8010DEB0 0010AE10 40 80 02 1C */ bge lbl_8010E0CC -/* 8010DEB4 0010AE14 2C 1F 00 00 */ cmpwi r31, 0 -/* 8010DEB8 0010AE18 40 80 00 08 */ bge lbl_8010DEC0 -/* 8010DEBC 0010AE1C 48 00 02 10 */ b lbl_8010E0CC -lbl_8010DEC0: -/* 8010DEC0 0010AE20 38 60 00 01 */ li r3, 1 -/* 8010DEC4 0010AE24 38 80 00 01 */ li r4, 1 -/* 8010DEC8 0010AE28 90 7D 05 68 */ stw r3, 0x568(r29) -/* 8010DECC 0010AE2C 88 1D 07 2E */ lbz r0, 0x72e(r29) -/* 8010DED0 0010AE30 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8010DED4 0010AE34 98 1D 07 2E */ stb r0, 0x72e(r29) -/* 8010DED8 0010AE38 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010DEDC 0010AE3C 48 02 CA FD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8010DEE0 0010AE40 7F A3 EB 78 */ mr r3, r29 -/* 8010DEE4 0010AE44 7F C4 F3 78 */ mr r4, r30 -/* 8010DEE8 0010AE48 4B FF F5 69 */ bl SwarmRemove__8CWarWaspFR13CStateManager -/* 8010DEEC 0010AE4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8010DEF0 0010AE50 7F A3 EB 78 */ mr r3, r29 -/* 8010DEF4 0010AE54 38 9D 06 78 */ addi r4, r29, 0x678 -/* 8010DEF8 0010AE58 B0 1D 06 74 */ sth r0, 0x674(r29) -/* 8010DEFC 0010AE5C C0 1D 03 A0 */ lfs f0, 0x3a0(r29) -/* 8010DF00 0010AE60 D0 1D 06 78 */ stfs f0, 0x678(r29) -/* 8010DF04 0010AE64 C0 1D 03 A4 */ lfs f0, 0x3a4(r29) -/* 8010DF08 0010AE68 D0 1D 06 7C */ stfs f0, 0x67c(r29) -/* 8010DF0C 0010AE6C C0 1D 03 A8 */ lfs f0, 0x3a8(r29) -/* 8010DF10 0010AE70 D0 1D 06 80 */ stfs f0, 0x680(r29) -/* 8010DF14 0010AE74 4B F6 EC 49 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 8010DF18 0010AE78 7F A3 EB 78 */ mr r3, r29 -/* 8010DF1C 0010AE7C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8010DF20 0010AE80 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010DF24 0010AE84 7D 89 03 A6 */ mtctr r12 -/* 8010DF28 0010AE88 4E 80 04 21 */ bctrl -/* 8010DF2C 0010AE8C 28 03 00 00 */ cmplwi r3, 0 -/* 8010DF30 0010AE90 41 82 01 9C */ beq lbl_8010E0CC -/* 8010DF34 0010AE94 FC 20 F8 90 */ fmr f1, f31 -/* 8010DF38 0010AE98 7F A3 EB 78 */ mr r3, r29 -/* 8010DF3C 0010AE9C 7F C4 F3 78 */ mr r4, r30 -/* 8010DF40 0010AEA0 7F E5 FB 78 */ mr r5, r31 -/* 8010DF44 0010AEA4 48 0E 87 89 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8010DF48 0010AEA8 48 00 01 84 */ b lbl_8010E0CC -lbl_8010DF4C: -/* 8010DF4C 0010AEAC 80 1D 05 68 */ lwz r0, 0x568(r29) -/* 8010DF50 0010AEB0 2C 00 00 01 */ cmpwi r0, 1 -/* 8010DF54 0010AEB4 41 82 00 20 */ beq lbl_8010DF74 -/* 8010DF58 0010AEB8 40 80 00 10 */ bge lbl_8010DF68 -/* 8010DF5C 0010AEBC 2C 00 00 00 */ cmpwi r0, 0 -/* 8010DF60 0010AEC0 40 80 00 3C */ bge lbl_8010DF9C -/* 8010DF64 0010AEC4 48 00 01 68 */ b lbl_8010E0CC -lbl_8010DF68: -/* 8010DF68 0010AEC8 2C 00 00 03 */ cmpwi r0, 3 -/* 8010DF6C 0010AECC 40 80 01 60 */ bge lbl_8010E0CC -/* 8010DF70 0010AED0 48 00 01 48 */ b lbl_8010E0B8 -lbl_8010DF74: -/* 8010DF74 0010AED4 4B FF E8 D9 */ bl SteerToDeactivatePos__8CWarWaspFR13CStateManager9EStateMsgf -/* 8010DF78 0010AED8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010DF7C 0010AEDC 41 82 01 50 */ beq lbl_8010E0CC -/* 8010DF80 0010AEE0 7F A3 EB 78 */ mr r3, r29 -/* 8010DF84 0010AEE4 7F C5 F3 78 */ mr r5, r30 -/* 8010DF88 0010AEE8 38 80 00 13 */ li r4, 0x13 -/* 8010DF8C 0010AEEC 4B F4 5F F5 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8010DF90 0010AEF0 38 00 00 00 */ li r0, 0 -/* 8010DF94 0010AEF4 90 1D 05 68 */ stw r0, 0x568(r29) -/* 8010DF98 0010AEF8 48 00 01 34 */ b lbl_8010E0CC -lbl_8010DF9C: -/* 8010DF9C 0010AEFC 80 0A 02 B8 */ lwz r0, 0x2b8(r10) -/* 8010DFA0 0010AF00 2C 00 00 0C */ cmpwi r0, 0xc -/* 8010DFA4 0010AF04 40 82 00 44 */ bne lbl_8010DFE8 -/* 8010DFA8 0010AF08 7F C7 F3 78 */ mr r7, r30 -/* 8010DFAC 0010AF0C 38 80 00 21 */ li r4, 0x21 -/* 8010DFB0 0010AF10 38 A0 00 28 */ li r5, 0x28 -/* 8010DFB4 0010AF14 38 C0 00 29 */ li r6, 0x29 -/* 8010DFB8 0010AF18 4B F4 5E 35 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -/* 8010DFBC 0010AF1C A0 1D 00 08 */ lhz r0, 8(r29) -/* 8010DFC0 0010AF20 7F C6 F3 78 */ mr r6, r30 -/* 8010DFC4 0010AF24 38 81 00 0C */ addi r4, r1, 0xc -/* 8010DFC8 0010AF28 38 A0 00 08 */ li r5, 8 -/* 8010DFCC 0010AF2C B0 01 00 0C */ sth r0, 0xc(r1) -/* 8010DFD0 0010AF30 B0 01 00 08 */ sth r0, 8(r1) -/* 8010DFD4 0010AF34 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8010DFD8 0010AF38 48 06 D2 7D */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager -/* 8010DFDC 0010AF3C 38 00 00 02 */ li r0, 2 -/* 8010DFE0 0010AF40 90 1D 05 68 */ stw r0, 0x568(r29) -/* 8010DFE4 0010AF44 48 00 00 E8 */ b lbl_8010E0CC -lbl_8010DFE8: -/* 8010DFE8 0010AF48 3C C0 80 3E */ lis r6, lbl_803DAA68@ha -/* 8010DFEC 0010AF4C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010DFF0 0010AF50 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 8010DFF4 0010AF54 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 8010DFF8 0010AF58 38 60 00 00 */ li r3, 0 -/* 8010DFFC 0010AF5C 39 26 AA 68 */ addi r9, r6, lbl_803DAA68@l -/* 8010E000 0010AF60 50 64 F8 00 */ rlwimi r4, r3, 0x1f, 0, 0 -/* 8010E004 0010AF64 C0 45 00 00 */ lfs f2, 0(r5) -/* 8010E008 0010AF68 C0 25 00 04 */ lfs f1, 4(r5) -/* 8010E00C 0010AF6C 3C E0 80 3E */ lis r7, lbl_803DA9F0@ha -/* 8010E010 0010AF70 C0 05 00 08 */ lfs f0, 8(r5) -/* 8010E014 0010AF74 7C 80 23 78 */ mr r0, r4 -/* 8010E018 0010AF78 39 00 00 0E */ li r8, 0xe -/* 8010E01C 0010AF7C 38 C0 00 01 */ li r6, 1 -/* 8010E020 0010AF80 38 A0 FF FF */ li r5, -1 -/* 8010E024 0010AF84 3B EA 00 04 */ addi r31, r10, 4 -/* 8010E028 0010AF88 91 21 00 10 */ stw r9, 0x10(r1) -/* 8010E02C 0010AF8C 38 E7 A9 F0 */ addi r7, r7, lbl_803DA9F0@l -/* 8010E030 0010AF90 50 60 F0 42 */ rlwimi r0, r3, 0x1e, 1, 1 -/* 8010E034 0010AF94 7F E3 FB 78 */ mr r3, r31 -/* 8010E038 0010AF98 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8010E03C 0010AF9C 38 80 00 0E */ li r4, 0xe -/* 8010E040 0010AFA0 91 01 00 14 */ stw r8, 0x14(r1) -/* 8010E044 0010AFA4 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8010E048 0010AFA8 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8010E04C 0010AFAC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8010E050 0010AFB0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8010E054 0010AFB4 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8010E058 0010AFB8 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8010E05C 0010AFBC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8010E060 0010AFC0 48 02 33 D9 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010E064 0010AFC4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8010E068 0010AFC8 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha -/* 8010E06C 0010AFCC 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l -/* 8010E070 0010AFD0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010E074 0010AFD4 90 1F 01 90 */ stw r0, 0x190(r31) -/* 8010E078 0010AFD8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010E07C 0010AFDC 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8010E080 0010AFE0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8010E084 0010AFE4 90 BF 01 94 */ stw r5, 0x194(r31) -/* 8010E088 0010AFE8 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8010E08C 0010AFEC 90 7F 01 98 */ stw r3, 0x198(r31) -/* 8010E090 0010AFF0 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8010E094 0010AFF4 90 BF 01 9C */ stw r5, 0x19c(r31) -/* 8010E098 0010AFF8 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8010E09C 0010AFFC 90 7F 01 A0 */ stw r3, 0x1a0(r31) -/* 8010E0A0 0010B000 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8010E0A4 0010B004 90 BF 01 A4 */ stw r5, 0x1a4(r31) -/* 8010E0A8 0010B008 90 81 00 10 */ stw r4, 0x10(r1) -/* 8010E0AC 0010B00C 90 7F 01 A8 */ stw r3, 0x1a8(r31) -/* 8010E0B0 0010B010 90 01 00 10 */ stw r0, 0x10(r1) -/* 8010E0B4 0010B014 48 00 00 18 */ b lbl_8010E0CC -lbl_8010E0B8: -/* 8010E0B8 0010B018 80 0A 02 B8 */ lwz r0, 0x2b8(r10) -/* 8010E0BC 0010B01C 2C 00 00 0C */ cmpwi r0, 0xc -/* 8010E0C0 0010B020 41 82 00 0C */ beq lbl_8010E0CC -/* 8010E0C4 0010B024 38 00 00 03 */ li r0, 3 -/* 8010E0C8 0010B028 90 1D 05 68 */ stw r0, 0x568(r29) -lbl_8010E0CC: -/* 8010E0CC 0010B02C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8010E0D0 0010B030 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8010E0D4 0010B034 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8010E0D8 0010B038 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8010E0DC 0010B03C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8010E0E0 0010B040 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8010E0E4 0010B044 7C 08 03 A6 */ mtlr r0 -/* 8010E0E8 0010B048 38 21 00 50 */ addi r1, r1, 0x50 -/* 8010E0EC 0010B04C 4E 80 00 20 */ blr - -.global Patrol__8CWarWaspFR13CStateManager9EStateMsgf -Patrol__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010E0F0 0010B050 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8010E0F4 0010B054 7C 08 02 A6 */ mflr r0 -/* 8010E0F8 0010B058 90 01 00 44 */ stw r0, 0x44(r1) -/* 8010E0FC 0010B05C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8010E100 0010B060 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8010E104 0010B064 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8010E108 0010B068 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8010E10C 0010B06C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8010E110 0010B070 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8010E114 0010B074 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8010E118 0010B078 7C BF 2B 78 */ mr r31, r5 -/* 8010E11C 0010B07C FF C0 08 90 */ fmr f30, f1 -/* 8010E120 0010B080 2C 1F 00 01 */ cmpwi r31, 1 -/* 8010E124 0010B084 7C 7D 1B 78 */ mr r29, r3 -/* 8010E128 0010B088 7C 9E 23 78 */ mr r30, r4 -/* 8010E12C 0010B08C 41 82 00 A0 */ beq lbl_8010E1CC -/* 8010E130 0010B090 40 80 00 10 */ bge lbl_8010E140 -/* 8010E134 0010B094 2C 1F 00 00 */ cmpwi r31, 0 -/* 8010E138 0010B098 40 80 00 14 */ bge lbl_8010E14C -/* 8010E13C 0010B09C 48 00 00 90 */ b lbl_8010E1CC -lbl_8010E140: -/* 8010E140 0010B0A0 2C 1F 00 03 */ cmpwi r31, 3 -/* 8010E144 0010B0A4 40 80 00 88 */ bge lbl_8010E1CC -/* 8010E148 0010B0A8 48 00 00 78 */ b lbl_8010E1C0 -lbl_8010E14C: -/* 8010E14C 0010B0AC 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E150 0010B0B0 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 8010E154 0010B0B4 48 02 5D 59 */ bl GetMaxSpeed__14CBodyStateInfoCFv -/* 8010E158 0010B0B8 FF E0 08 90 */ fmr f31, f1 -/* 8010E15C 0010B0BC C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010E160 0010B0C0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8010E164 0010B0C4 40 81 00 3C */ ble lbl_8010E1A0 -/* 8010E168 0010B0C8 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E16C 0010B0CC 38 00 00 01 */ li r0, 1 -/* 8010E170 0010B0D0 38 80 00 01 */ li r4, 1 -/* 8010E174 0010B0D4 90 03 00 34 */ stw r0, 0x34(r3) -/* 8010E178 0010B0D8 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E17C 0010B0DC 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 8010E180 0010B0E0 48 02 5C 55 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim -/* 8010E184 0010B0E4 C0 02 95 08 */ lfs f0, lbl_805AB228@sda21(r2) -/* 8010E188 0010B0E8 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E18C 0010B0EC EC 00 00 72 */ fmuls f0, f0, f1 -/* 8010E190 0010B0F0 38 63 00 04 */ addi r3, r3, 4 -/* 8010E194 0010B0F4 EC 20 F8 24 */ fdivs f1, f0, f31 -/* 8010E198 0010B0F8 FC 40 08 90 */ fmr f2, f1 -/* 8010E19C 0010B0FC 48 02 36 4D */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff -lbl_8010E1A0: -/* 8010E1A0 0010B100 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E1A4 0010B104 38 80 00 01 */ li r4, 1 -/* 8010E1A8 0010B108 48 02 C8 31 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8010E1AC 0010B10C 88 1D 07 2E */ lbz r0, 0x72e(r29) -/* 8010E1B0 0010B110 38 60 00 00 */ li r3, 0 -/* 8010E1B4 0010B114 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8010E1B8 0010B118 98 1D 07 2E */ stb r0, 0x72e(r29) -/* 8010E1BC 0010B11C 48 00 00 10 */ b lbl_8010E1CC -lbl_8010E1C0: -/* 8010E1C0 0010B120 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E1C4 0010B124 38 00 00 00 */ li r0, 0 -/* 8010E1C8 0010B128 90 03 00 34 */ stw r0, 0x34(r3) -lbl_8010E1CC: -/* 8010E1CC 0010B12C FC 20 F0 90 */ fmr f1, f30 -/* 8010E1D0 0010B130 7F A3 EB 78 */ mr r3, r29 -/* 8010E1D4 0010B134 7F C4 F3 78 */ mr r4, r30 -/* 8010E1D8 0010B138 7F E5 FB 78 */ mr r5, r31 -/* 8010E1DC 0010B13C 48 0E 8C 99 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 8010E1E0 0010B140 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8010E1E4 0010B144 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8010E1E8 0010B148 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8010E1EC 0010B14C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8010E1F0 0010B150 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8010E1F4 0010B154 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010E1F8 0010B158 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8010E1FC 0010B15C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8010E200 0010B160 7C 08 03 A6 */ mtlr r0 -/* 8010E204 0010B164 38 21 00 40 */ addi r1, r1, 0x40 -/* 8010E208 0010B168 4E 80 00 20 */ blr - -.global Retreat__8CWarWaspFR13CStateManager9EStateMsgf -Retreat__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010E20C 0010B16C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8010E210 0010B170 7C 08 02 A6 */ mflr r0 -/* 8010E214 0010B174 2C 05 00 01 */ cmpwi r5, 1 -/* 8010E218 0010B178 90 01 00 54 */ stw r0, 0x54(r1) -/* 8010E21C 0010B17C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8010E220 0010B180 7C 7F 1B 78 */ mr r31, r3 -/* 8010E224 0010B184 41 82 00 34 */ beq lbl_8010E258 -/* 8010E228 0010B188 40 80 00 10 */ bge lbl_8010E238 -/* 8010E22C 0010B18C 2C 05 00 00 */ cmpwi r5, 0 -/* 8010E230 0010B190 40 80 00 14 */ bge lbl_8010E244 -/* 8010E234 0010B194 48 00 00 C8 */ b lbl_8010E2FC -lbl_8010E238: -/* 8010E238 0010B198 2C 05 00 03 */ cmpwi r5, 3 -/* 8010E23C 0010B19C 40 80 00 C0 */ bge lbl_8010E2FC -/* 8010E240 0010B1A0 48 00 00 A0 */ b lbl_8010E2E0 -lbl_8010E244: -/* 8010E244 0010B1A4 4B FF F2 0D */ bl SwarmRemove__8CWarWaspFR13CStateManager -/* 8010E248 0010B1A8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010E24C 0010B1AC 38 80 00 05 */ li r4, 5 -/* 8010E250 0010B1B0 48 02 C7 89 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8010E254 0010B1B4 48 00 00 A8 */ b lbl_8010E2FC -lbl_8010E258: -/* 8010E258 0010B1B8 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 8010E25C 0010B1BC 38 61 00 08 */ addi r3, r1, 8 -/* 8010E260 0010B1C0 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 8010E264 0010B1C4 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 8010E268 0010B1C8 C0 04 00 60 */ lfs f0, 0x60(r4) -/* 8010E26C 0010B1CC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8010E270 0010B1D0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8010E274 0010B1D4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8010E278 0010B1D8 48 20 5F 89 */ bl __ct__9CVector2fFff -/* 8010E27C 0010B1DC 7F E5 FB 78 */ mr r5, r31 -/* 8010E280 0010B1E0 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010E284 0010B1E4 38 9F 04 5C */ addi r4, r31, 0x45c -/* 8010E288 0010B1E8 38 C1 00 08 */ addi r6, r1, 8 -/* 8010E28C 0010B1EC 48 03 02 D1 */ bl Flee2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2f -/* 8010E290 0010B1F0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010E294 0010B1F4 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 8010E298 0010B1F8 C0 C1 00 10 */ lfs f6, 0x10(r1) -/* 8010E29C 0010B1FC 38 81 00 24 */ addi r4, r1, 0x24 -/* 8010E2A0 0010B200 C0 A1 00 14 */ lfs f5, 0x14(r1) -/* 8010E2A4 0010B204 C0 82 94 F0 */ lfs f4, lbl_805AB210@sda21(r2) -/* 8010E2A8 0010B208 C0 43 00 04 */ lfs f2, 4(r3) -/* 8010E2AC 0010B20C C0 23 00 08 */ lfs f1, 8(r3) -/* 8010E2B0 0010B210 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010E2B4 0010B214 D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 8010E2B8 0010B218 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 8010E2BC 0010B21C D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 8010E2C0 0010B220 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8010E2C4 0010B224 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8010E2C8 0010B228 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8010E2CC 0010B22C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8010E2D0 0010B230 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010E2D4 0010B234 38 63 00 04 */ addi r3, r3, 4 -/* 8010E2D8 0010B238 48 02 34 41 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 8010E2DC 0010B23C 48 00 00 20 */ b lbl_8010E2FC -lbl_8010E2E0: -/* 8010E2E0 0010B240 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 8010E2E4 0010B244 38 60 00 00 */ li r3, 0 -/* 8010E2E8 0010B248 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8010E2EC 0010B24C 38 80 00 01 */ li r4, 1 -/* 8010E2F0 0010B250 98 1F 04 00 */ stb r0, 0x400(r31) -/* 8010E2F4 0010B254 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010E2F8 0010B258 48 02 C6 E1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_8010E2FC: -/* 8010E2FC 0010B25C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8010E300 0010B260 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8010E304 0010B264 7C 08 03 A6 */ mtlr r0 -/* 8010E308 0010B268 38 21 00 50 */ addi r1, r1, 0x50 -/* 8010E30C 0010B26C 4E 80 00 20 */ blr - -.global JumpBack__8CWarWaspFR13CStateManager9EStateMsgf -JumpBack__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010E310 0010B270 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010E314 0010B274 7C 08 02 A6 */ mflr r0 -/* 8010E318 0010B278 2C 05 00 01 */ cmpwi r5, 1 -/* 8010E31C 0010B27C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010E320 0010B280 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8010E324 0010B284 41 82 00 34 */ beq lbl_8010E358 -/* 8010E328 0010B288 40 80 01 60 */ bge lbl_8010E488 -/* 8010E32C 0010B28C 2C 05 00 00 */ cmpwi r5, 0 -/* 8010E330 0010B290 40 80 00 08 */ bge lbl_8010E338 -/* 8010E334 0010B294 48 00 01 54 */ b lbl_8010E488 -lbl_8010E338: -/* 8010E338 0010B298 38 00 00 00 */ li r0, 0 -/* 8010E33C 0010B29C 38 A0 00 01 */ li r5, 1 -/* 8010E340 0010B2A0 90 03 05 68 */ stw r0, 0x568(r3) -/* 8010E344 0010B2A4 88 03 07 2E */ lbz r0, 0x72e(r3) -/* 8010E348 0010B2A8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8010E34C 0010B2AC 98 03 07 2E */ stb r0, 0x72e(r3) -/* 8010E350 0010B2B0 4B FF F1 01 */ bl SwarmRemove__8CWarWaspFR13CStateManager -/* 8010E354 0010B2B4 48 00 01 34 */ b lbl_8010E488 -lbl_8010E358: -/* 8010E358 0010B2B8 80 03 05 68 */ lwz r0, 0x568(r3) -/* 8010E35C 0010B2BC 2C 00 00 01 */ cmpwi r0, 1 -/* 8010E360 0010B2C0 41 82 01 28 */ beq lbl_8010E488 -/* 8010E364 0010B2C4 40 80 00 10 */ bge lbl_8010E374 -/* 8010E368 0010B2C8 2C 00 00 00 */ cmpwi r0, 0 -/* 8010E36C 0010B2CC 40 80 00 14 */ bge lbl_8010E380 -/* 8010E370 0010B2D0 48 00 01 18 */ b lbl_8010E488 -lbl_8010E374: -/* 8010E374 0010B2D4 2C 00 00 03 */ cmpwi r0, 3 -/* 8010E378 0010B2D8 40 80 01 10 */ bge lbl_8010E488 -/* 8010E37C 0010B2DC 48 00 00 90 */ b lbl_8010E40C -lbl_8010E380: -/* 8010E380 0010B2E0 80 83 04 50 */ lwz r4, 0x450(r3) -/* 8010E384 0010B2E4 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 8010E388 0010B2E8 2C 00 00 03 */ cmpwi r0, 3 -/* 8010E38C 0010B2EC 40 82 00 10 */ bne lbl_8010E39C -/* 8010E390 0010B2F0 38 00 00 02 */ li r0, 2 -/* 8010E394 0010B2F4 90 03 05 68 */ stw r0, 0x568(r3) -/* 8010E398 0010B2F8 48 00 00 F0 */ b lbl_8010E488 -lbl_8010E39C: -/* 8010E39C 0010B2FC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010E3A0 0010B300 38 C0 00 01 */ li r6, 1 -/* 8010E3A4 0010B304 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010E3A8 0010B308 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8010E3AC 0010B30C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8010E3B0 0010B310 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 8010E3B4 0010B314 38 00 00 00 */ li r0, 0 -/* 8010E3B8 0010B318 3B E4 00 04 */ addi r31, r4, 4 -/* 8010E3BC 0010B31C 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8010E3C0 0010B320 7F E3 FB 78 */ mr r3, r31 -/* 8010E3C4 0010B324 38 80 00 01 */ li r4, 1 -/* 8010E3C8 0010B328 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8010E3CC 0010B32C 90 C1 00 1C */ stw r6, 0x1c(r1) -/* 8010E3D0 0010B330 90 01 00 20 */ stw r0, 0x20(r1) -/* 8010E3D4 0010B334 48 02 30 65 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010E3D8 0010B338 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8010E3DC 0010B33C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8010E3E0 0010B340 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8010E3E4 0010B344 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010E3E8 0010B348 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 8010E3EC 0010B34C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010E3F0 0010B350 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8010E3F4 0010B354 90 81 00 14 */ stw r4, 0x14(r1) -/* 8010E3F8 0010B358 80 61 00 20 */ lwz r3, 0x20(r1) -/* 8010E3FC 0010B35C 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 8010E400 0010B360 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 8010E404 0010B364 90 01 00 14 */ stw r0, 0x14(r1) -/* 8010E408 0010B368 48 00 00 80 */ b lbl_8010E488 -lbl_8010E40C: -/* 8010E40C 0010B36C 80 A3 04 50 */ lwz r5, 0x450(r3) -/* 8010E410 0010B370 80 05 02 B8 */ lwz r0, 0x2b8(r5) -/* 8010E414 0010B374 2C 00 00 03 */ cmpwi r0, 3 -/* 8010E418 0010B378 41 82 00 30 */ beq lbl_8010E448 -/* 8010E41C 0010B37C 88 03 07 2E */ lbz r0, 0x72e(r3) -/* 8010E420 0010B380 38 80 00 03 */ li r4, 3 -/* 8010E424 0010B384 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8010E428 0010B388 41 82 00 08 */ beq lbl_8010E430 -/* 8010E42C 0010B38C 38 80 00 00 */ li r4, 0 -lbl_8010E430: -/* 8010E430 0010B390 90 83 05 68 */ stw r4, 0x568(r3) -/* 8010E434 0010B394 38 80 00 00 */ li r4, 0 -/* 8010E438 0010B398 88 03 07 2E */ lbz r0, 0x72e(r3) -/* 8010E43C 0010B39C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8010E440 0010B3A0 98 03 07 2E */ stb r0, 0x72e(r3) -/* 8010E444 0010B3A4 48 00 00 44 */ b lbl_8010E488 -lbl_8010E448: -/* 8010E448 0010B3A8 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 8010E44C 0010B3AC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8010E450 0010B3B0 C0 64 00 40 */ lfs f3, 0x40(r4) -/* 8010E454 0010B3B4 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 8010E458 0010B3B8 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 8010E45C 0010B3BC EC 03 00 28 */ fsubs f0, f3, f0 -/* 8010E460 0010B3C0 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 8010E464 0010B3C4 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 8010E468 0010B3C8 EC 44 10 28 */ fsubs f2, f4, f2 -/* 8010E46C 0010B3CC D0 61 00 08 */ stfs f3, 8(r1) -/* 8010E470 0010B3D0 EC 25 08 28 */ fsubs f1, f5, f1 -/* 8010E474 0010B3D4 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 8010E478 0010B3D8 D0 45 00 20 */ stfs f2, 0x20(r5) -/* 8010E47C 0010B3DC D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8010E480 0010B3E0 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 8010E484 0010B3E4 D0 25 00 24 */ stfs f1, 0x24(r5) -lbl_8010E488: -/* 8010E488 0010B3E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010E48C 0010B3EC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8010E490 0010B3F0 7C 08 03 A6 */ mtlr r0 -/* 8010E494 0010B3F4 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010E498 0010B3F8 4E 80 00 20 */ blr - -.global Shuffle__8CWarWaspFR13CStateManager9EStateMsgf -Shuffle__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010E49C 0010B3FC 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8010E4A0 0010B400 7C 08 02 A6 */ mflr r0 -/* 8010E4A4 0010B404 2C 05 00 01 */ cmpwi r5, 1 -/* 8010E4A8 0010B408 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8010E4AC 0010B40C 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 8010E4B0 0010B410 7C 9F 23 78 */ mr r31, r4 -/* 8010E4B4 0010B414 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 8010E4B8 0010B418 7C 7E 1B 78 */ mr r30, r3 -/* 8010E4BC 0010B41C 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 8010E4C0 0010B420 41 82 00 38 */ beq lbl_8010E4F8 -/* 8010E4C4 0010B424 40 80 00 10 */ bge lbl_8010E4D4 -/* 8010E4C8 0010B428 2C 05 00 00 */ cmpwi r5, 0 -/* 8010E4CC 0010B42C 40 80 00 14 */ bge lbl_8010E4E0 -/* 8010E4D0 0010B430 48 00 02 F4 */ b lbl_8010E7C4 -lbl_8010E4D4: -/* 8010E4D4 0010B434 2C 05 00 03 */ cmpwi r5, 3 -/* 8010E4D8 0010B438 40 80 02 EC */ bge lbl_8010E7C4 -/* 8010E4DC 0010B43C 48 00 02 DC */ b lbl_8010E7B8 -lbl_8010E4E0: -/* 8010E4E0 0010B440 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8010E4E4 0010B444 38 80 00 02 */ li r4, 2 -/* 8010E4E8 0010B448 48 02 C4 F1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8010E4EC 0010B44C 38 00 00 02 */ li r0, 2 -/* 8010E4F0 0010B450 90 1E 05 68 */ stw r0, 0x568(r30) -/* 8010E4F4 0010B454 48 00 02 D0 */ b lbl_8010E7C4 -lbl_8010E4F8: -/* 8010E4F8 0010B458 A0 1E 06 74 */ lhz r0, 0x674(r30) -/* 8010E4FC 0010B45C 7F E3 FB 78 */ mr r3, r31 -/* 8010E500 0010B460 38 81 00 08 */ addi r4, r1, 8 -/* 8010E504 0010B464 3B A0 00 00 */ li r29, 0 -/* 8010E508 0010B468 B0 01 00 08 */ sth r0, 8(r1) -/* 8010E50C 0010B46C 4B F3 E0 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010E510 0010B470 7C 64 1B 78 */ mr r4, r3 -/* 8010E514 0010B474 38 61 00 0C */ addi r3, r1, 0xc -/* 8010E518 0010B478 4B F9 90 5D */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010E51C 0010B47C 80 63 00 04 */ lwz r3, 4(r3) -/* 8010E520 0010B480 28 03 00 00 */ cmplwi r3, 0 -/* 8010E524 0010B484 41 82 00 0C */ beq lbl_8010E530 -/* 8010E528 0010B488 48 12 AF 75 */ bl GetNumAssignedAiRoles__10CTeamAiMgrCFv -/* 8010E52C 0010B48C 7C 7D 1B 78 */ mr r29, r3 -lbl_8010E530: -/* 8010E530 0010B490 28 1D 00 00 */ cmplwi r29, 0 -/* 8010E534 0010B494 41 82 02 78 */ beq lbl_8010E7AC -/* 8010E538 0010B498 C0 3E 07 00 */ lfs f1, 0x700(r30) -/* 8010E53C 0010B49C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010E540 0010B4A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010E544 0010B4A4 40 81 02 68 */ ble lbl_8010E7AC -/* 8010E548 0010B4A8 7F C4 F3 78 */ mr r4, r30 -/* 8010E54C 0010B4AC 7F E5 FB 78 */ mr r5, r31 -/* 8010E550 0010B4B0 38 61 00 60 */ addi r3, r1, 0x60 -/* 8010E554 0010B4B4 4B FF D7 65 */ bl CalcShuffleDest__8CWarWaspFR13CStateManager -/* 8010E558 0010B4B8 C0 C1 00 60 */ lfs f6, 0x60(r1) -/* 8010E55C 0010B4BC C0 A1 00 64 */ lfs f5, 0x64(r1) -/* 8010E560 0010B4C0 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 8010E564 0010B4C4 D0 C1 00 84 */ stfs f6, 0x84(r1) -/* 8010E568 0010B4C8 C0 22 94 DC */ lfs f1, lbl_805AB1FC@sda21(r2) -/* 8010E56C 0010B4CC D0 A1 00 88 */ stfs f5, 0x88(r1) -/* 8010E570 0010B4D0 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8010E574 0010B4D4 C1 1E 00 60 */ lfs f8, 0x60(r30) -/* 8010E578 0010B4D8 C0 FE 00 50 */ lfs f7, 0x50(r30) -/* 8010E57C 0010B4DC C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 8010E580 0010B4E0 EC 40 40 28 */ fsubs f2, f0, f8 -/* 8010E584 0010B4E4 D0 E1 00 4C */ stfs f7, 0x4c(r1) -/* 8010E588 0010B4E8 EC 82 00 B2 */ fmuls f4, f2, f2 -/* 8010E58C 0010B4EC D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8010E590 0010B4F0 D1 01 00 50 */ stfs f8, 0x50(r1) -/* 8010E594 0010B4F4 FC 04 08 40 */ fcmpo cr0, f4, f1 -/* 8010E598 0010B4F8 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 8010E59C 0010B4FC D0 E1 00 58 */ stfs f7, 0x58(r1) -/* 8010E5A0 0010B500 D1 01 00 5C */ stfs f8, 0x5c(r1) -/* 8010E5A4 0010B504 40 81 00 98 */ ble lbl_8010E63C -/* 8010E5A8 0010B508 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 8010E5AC 0010B50C 7F C5 F3 78 */ mr r5, r30 -/* 8010E5B0 0010B510 38 61 00 30 */ addi r3, r1, 0x30 -/* 8010E5B4 0010B514 38 9E 04 5C */ addi r4, r30, 0x45c -/* 8010E5B8 0010B518 D0 E1 00 40 */ stfs f7, 0x40(r1) -/* 8010E5BC 0010B51C 38 C1 00 78 */ addi r6, r1, 0x78 -/* 8010E5C0 0010B520 D1 01 00 44 */ stfs f8, 0x44(r1) -/* 8010E5C4 0010B524 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 8010E5C8 0010B528 D0 E1 00 7C */ stfs f7, 0x7c(r1) -/* 8010E5CC 0010B52C D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8010E5D0 0010B530 48 03 05 4D */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 8010E5D4 0010B534 C0 81 00 34 */ lfs f4, 0x34(r1) -/* 8010E5D8 0010B538 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 8010E5DC 0010B53C EC 24 01 32 */ fmuls f1, f4, f4 -/* 8010E5E0 0010B540 C0 A1 00 38 */ lfs f5, 0x38(r1) -/* 8010E5E4 0010B544 C0 02 95 2C */ lfs f0, lbl_805AB24C@sda21(r2) -/* 8010E5E8 0010B548 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8010E5EC 0010B54C EC 25 09 7A */ fmadds f1, f5, f5, f1 -/* 8010E5F0 0010B550 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010E5F4 0010B554 40 81 01 7C */ ble lbl_8010E770 -/* 8010E5F8 0010B558 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010E5FC 0010B55C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 8010E600 0010B560 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010E604 0010B564 38 81 00 AC */ addi r4, r1, 0xac -/* 8010E608 0010B568 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 8010E60C 0010B56C C0 43 00 04 */ lfs f2, 4(r3) -/* 8010E610 0010B570 C0 23 00 08 */ lfs f1, 8(r3) -/* 8010E614 0010B574 D0 81 00 B0 */ stfs f4, 0xb0(r1) -/* 8010E618 0010B578 D0 A1 00 B4 */ stfs f5, 0xb4(r1) -/* 8010E61C 0010B57C D0 61 00 B8 */ stfs f3, 0xb8(r1) -/* 8010E620 0010B580 D0 41 00 BC */ stfs f2, 0xbc(r1) -/* 8010E624 0010B584 D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 8010E628 0010B588 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 8010E62C 0010B58C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8010E630 0010B590 38 63 00 04 */ addi r3, r3, 4 -/* 8010E634 0010B594 48 02 30 E5 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 8010E638 0010B598 48 00 01 38 */ b lbl_8010E770 -lbl_8010E63C: -/* 8010E63C 0010B59C EC A5 38 28 */ fsubs f5, f5, f7 -/* 8010E640 0010B5A0 C0 02 95 1C */ lfs f0, lbl_805AB23C@sda21(r2) -/* 8010E644 0010B5A4 EC 66 18 28 */ fsubs f3, f6, f3 -/* 8010E648 0010B5A8 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8010E64C 0010B5AC EC 25 01 72 */ fmuls f1, f5, f5 -/* 8010E650 0010B5B0 D0 A1 00 70 */ stfs f5, 0x70(r1) -/* 8010E654 0010B5B4 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 8010E658 0010B5B8 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 8010E65C 0010B5BC EC 22 08 2A */ fadds f1, f2, f1 -/* 8010E660 0010B5C0 EC 24 08 2A */ fadds f1, f4, f1 -/* 8010E664 0010B5C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010E668 0010B5C8 40 81 01 00 */ ble lbl_8010E768 -/* 8010E66C 0010B5CC 7F C3 F3 78 */ mr r3, r30 -/* 8010E670 0010B5D0 38 81 00 6C */ addi r4, r1, 0x6c -/* 8010E674 0010B5D4 48 0E 66 99 */ bl GetStepDirection__10CPatternedFRC9CVector3f -/* 8010E678 0010B5D8 2C 03 00 00 */ cmpwi r3, 0 -/* 8010E67C 0010B5DC 41 82 00 78 */ beq lbl_8010E6F4 -/* 8010E680 0010B5E0 3C A0 80 3E */ lis r5, lbl_803DAA68@ha -/* 8010E684 0010B5E4 80 9E 04 50 */ lwz r4, 0x450(r30) -/* 8010E688 0010B5E8 38 05 AA 68 */ addi r0, r5, lbl_803DAA68@l -/* 8010E68C 0010B5EC 3C A0 80 3E */ lis r5, lbl_803DA9E4@ha -/* 8010E690 0010B5F0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8010E694 0010B5F4 38 A5 A9 E4 */ addi r5, r5, lbl_803DA9E4@l -/* 8010E698 0010B5F8 38 C0 00 01 */ li r6, 1 -/* 8010E69C 0010B5FC 38 00 00 00 */ li r0, 0 -/* 8010E6A0 0010B600 90 C1 00 24 */ stw r6, 0x24(r1) -/* 8010E6A4 0010B604 3B A4 00 04 */ addi r29, r4, 4 -/* 8010E6A8 0010B608 38 80 00 01 */ li r4, 1 -/* 8010E6AC 0010B60C 90 61 00 28 */ stw r3, 0x28(r1) -/* 8010E6B0 0010B610 7F A3 EB 78 */ mr r3, r29 -/* 8010E6B4 0010B614 90 A1 00 20 */ stw r5, 0x20(r1) -/* 8010E6B8 0010B618 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8010E6BC 0010B61C 48 02 2D 7D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010E6C0 0010B620 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8010E6C4 0010B624 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 8010E6C8 0010B628 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 8010E6CC 0010B62C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010E6D0 0010B630 90 1D 00 C8 */ stw r0, 0xc8(r29) -/* 8010E6D4 0010B634 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010E6D8 0010B638 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8010E6DC 0010B63C 90 81 00 20 */ stw r4, 0x20(r1) -/* 8010E6E0 0010B640 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8010E6E4 0010B644 90 BD 00 CC */ stw r5, 0xcc(r29) -/* 8010E6E8 0010B648 90 7D 00 D0 */ stw r3, 0xd0(r29) -/* 8010E6EC 0010B64C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8010E6F0 0010B650 48 00 00 80 */ b lbl_8010E770 -lbl_8010E6F4: -/* 8010E6F4 0010B654 7F C5 F3 78 */ mr r5, r30 -/* 8010E6F8 0010B658 38 61 00 14 */ addi r3, r1, 0x14 -/* 8010E6FC 0010B65C 38 9E 04 5C */ addi r4, r30, 0x45c -/* 8010E700 0010B660 38 C1 00 84 */ addi r6, r1, 0x84 -/* 8010E704 0010B664 48 03 05 1D */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f -/* 8010E708 0010B668 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010E70C 0010B66C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 8010E710 0010B670 C0 C1 00 14 */ lfs f6, 0x14(r1) -/* 8010E714 0010B674 38 81 00 90 */ addi r4, r1, 0x90 -/* 8010E718 0010B678 C0 A1 00 18 */ lfs f5, 0x18(r1) -/* 8010E71C 0010B67C C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 8010E720 0010B680 C0 43 00 04 */ lfs f2, 4(r3) -/* 8010E724 0010B684 C0 23 00 08 */ lfs f1, 8(r3) -/* 8010E728 0010B688 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010E72C 0010B68C D0 C1 00 90 */ stfs f6, 0x90(r1) -/* 8010E730 0010B690 D0 A1 00 94 */ stfs f5, 0x94(r1) -/* 8010E734 0010B694 D0 81 00 98 */ stfs f4, 0x98(r1) -/* 8010E738 0010B698 D0 61 00 9C */ stfs f3, 0x9c(r1) -/* 8010E73C 0010B69C D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 8010E740 0010B6A0 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 8010E744 0010B6A4 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 8010E748 0010B6A8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8010E74C 0010B6AC 38 63 00 04 */ addi r3, r3, 4 -/* 8010E750 0010B6B0 48 02 2F C9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 8010E754 0010B6B4 C0 22 95 24 */ lfs f1, lbl_805AB244@sda21(r2) -/* 8010E758 0010B6B8 7F C3 F3 78 */ mr r3, r30 -/* 8010E75C 0010B6BC 7F E4 FB 78 */ mr r4, r31 -/* 8010E760 0010B6C0 4B FF EB 39 */ bl ApplySeparationBehavior__8CWarWaspFR13CStateManagerf -/* 8010E764 0010B6C4 48 00 00 0C */ b lbl_8010E770 -lbl_8010E768: -/* 8010E768 0010B6C8 38 00 00 03 */ li r0, 3 -/* 8010E76C 0010B6CC 90 1E 05 68 */ stw r0, 0x568(r30) -lbl_8010E770: -/* 8010E770 0010B6D0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8010E774 0010B6D4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8010E778 0010B6D8 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 8010E77C 0010B6DC C0 83 00 50 */ lfs f4, 0x50(r3) -/* 8010E780 0010B6E0 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 8010E784 0010B6E4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010E788 0010B6E8 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8010E78C 0010B6EC C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 8010E790 0010B6F0 EC 64 18 28 */ fsubs f3, f4, f3 -/* 8010E794 0010B6F4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8010E798 0010B6F8 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8010E79C 0010B6FC D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8010E7A0 0010B700 D0 63 00 20 */ stfs f3, 0x20(r3) -/* 8010E7A4 0010B704 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 8010E7A8 0010B708 48 00 00 1C */ b lbl_8010E7C4 -lbl_8010E7AC: -/* 8010E7AC 0010B70C 38 00 00 03 */ li r0, 3 -/* 8010E7B0 0010B710 90 1E 05 68 */ stw r0, 0x568(r30) -/* 8010E7B4 0010B714 48 00 00 10 */ b lbl_8010E7C4 -lbl_8010E7B8: -/* 8010E7B8 0010B718 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8010E7BC 0010B71C 38 80 00 01 */ li r4, 1 -/* 8010E7C0 0010B720 48 02 C2 19 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_8010E7C4: -/* 8010E7C4 0010B724 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8010E7C8 0010B728 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 8010E7CC 0010B72C 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 8010E7D0 0010B730 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 8010E7D4 0010B734 7C 08 03 A6 */ mtlr r0 -/* 8010E7D8 0010B738 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8010E7DC 0010B73C 4E 80 00 20 */ blr - -.global PathFind__8CWarWaspFR13CStateManager9EStateMsgf -PathFind__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010E7E0 0010B740 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8010E7E4 0010B744 7C 08 02 A6 */ mflr r0 -/* 8010E7E8 0010B748 90 01 00 34 */ stw r0, 0x34(r1) -/* 8010E7EC 0010B74C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8010E7F0 0010B750 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8010E7F4 0010B754 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8010E7F8 0010B758 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8010E7FC 0010B75C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8010E800 0010B760 7C BF 2B 78 */ mr r31, r5 -/* 8010E804 0010B764 FF E0 08 90 */ fmr f31, f1 -/* 8010E808 0010B768 2C 1F 00 01 */ cmpwi r31, 1 -/* 8010E80C 0010B76C 7C 7D 1B 78 */ mr r29, r3 -/* 8010E810 0010B770 7C 9E 23 78 */ mr r30, r4 -/* 8010E814 0010B774 41 82 00 28 */ beq lbl_8010E83C -/* 8010E818 0010B778 40 80 00 10 */ bge lbl_8010E828 -/* 8010E81C 0010B77C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8010E820 0010B780 40 80 00 14 */ bge lbl_8010E834 -/* 8010E824 0010B784 48 00 01 7C */ b lbl_8010E9A0 -lbl_8010E828: -/* 8010E828 0010B788 2C 1F 00 03 */ cmpwi r31, 3 -/* 8010E82C 0010B78C 40 80 01 74 */ bge lbl_8010E9A0 -/* 8010E830 0010B790 48 00 01 64 */ b lbl_8010E994 -lbl_8010E834: -/* 8010E834 0010B794 4B FF D9 ED */ bl SetUpPathFindBehavior__8CWarWaspFR13CStateManager -/* 8010E838 0010B798 48 00 01 68 */ b lbl_8010E9A0 -lbl_8010E83C: -/* 8010E83C 0010B79C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8010E840 0010B7A0 80 03 03 04 */ lwz r0, 0x304(r3) -/* 8010E844 0010B7A4 2C 00 00 00 */ cmpwi r0, 0 -/* 8010E848 0010B7A8 41 82 00 24 */ beq lbl_8010E86C -/* 8010E84C 0010B7AC A0 63 03 10 */ lhz r3, 0x310(r3) -/* 8010E850 0010B7B0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8010E854 0010B7B4 7C 03 00 40 */ cmplw r3, r0 -/* 8010E858 0010B7B8 40 82 00 14 */ bne lbl_8010E86C -/* 8010E85C 0010B7BC 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E860 0010B7C0 38 80 00 01 */ li r4, 1 -/* 8010E864 0010B7C4 48 02 C1 75 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8010E868 0010B7C8 48 00 00 10 */ b lbl_8010E878 -lbl_8010E86C: -/* 8010E86C 0010B7CC 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E870 0010B7D0 38 80 00 02 */ li r4, 2 -/* 8010E874 0010B7D4 48 02 C1 65 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_8010E878: -/* 8010E878 0010B7D8 7F A3 EB 78 */ mr r3, r29 -/* 8010E87C 0010B7DC 81 9D 00 00 */ lwz r12, 0(r29) -/* 8010E880 0010B7E0 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010E884 0010B7E4 7D 89 03 A6 */ mtctr r12 -/* 8010E888 0010B7E8 4E 80 04 21 */ bctrl -/* 8010E88C 0010B7EC 28 03 00 00 */ cmplwi r3, 0 -/* 8010E890 0010B7F0 41 82 00 68 */ beq lbl_8010E8F8 -/* 8010E894 0010B7F4 7F A3 EB 78 */ mr r3, r29 -/* 8010E898 0010B7F8 7F C4 F3 78 */ mr r4, r30 -/* 8010E89C 0010B7FC 81 9D 00 00 */ lwz r12, 0(r29) -/* 8010E8A0 0010B800 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8010E8A4 0010B804 81 8C 01 90 */ lwz r12, 0x190(r12) -/* 8010E8A8 0010B808 7D 89 03 A6 */ mtctr r12 -/* 8010E8AC 0010B80C 4E 80 04 21 */ bctrl -/* 8010E8B0 0010B810 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010E8B4 0010B814 40 82 00 44 */ bne lbl_8010E8F8 -/* 8010E8B8 0010B818 7F A3 EB 78 */ mr r3, r29 -/* 8010E8BC 0010B81C 81 9D 00 00 */ lwz r12, 0(r29) -/* 8010E8C0 0010B820 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010E8C4 0010B824 7D 89 03 A6 */ mtctr r12 -/* 8010E8C8 0010B828 4E 80 04 21 */ bctrl -/* 8010E8CC 0010B82C 80 83 00 04 */ lwz r4, 4(r3) -/* 8010E8D0 0010B830 80 63 00 C8 */ lwz r3, 0xc8(r3) -/* 8010E8D4 0010B834 38 04 FF FF */ addi r0, r4, -1 -/* 8010E8D8 0010B838 7C 03 00 00 */ cmpw r3, r0 -/* 8010E8DC 0010B83C 40 80 00 1C */ bge lbl_8010E8F8 -/* 8010E8E0 0010B840 FC 20 F8 90 */ fmr f1, f31 -/* 8010E8E4 0010B844 7F A3 EB 78 */ mr r3, r29 -/* 8010E8E8 0010B848 7F C4 F3 78 */ mr r4, r30 -/* 8010E8EC 0010B84C 7F E5 FB 78 */ mr r5, r31 -/* 8010E8F0 0010B850 48 0E 7D DD */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8010E8F4 0010B854 48 00 00 10 */ b lbl_8010E904 -lbl_8010E8F8: -/* 8010E8F8 0010B858 7F A3 EB 78 */ mr r3, r29 -/* 8010E8FC 0010B85C 7F C4 F3 78 */ mr r4, r30 -/* 8010E900 0010B860 4B FF E4 BD */ bl ApplyNormalSteering__8CWarWaspFR13CStateManager -lbl_8010E904: -/* 8010E904 0010B864 C0 22 95 44 */ lfs f1, lbl_805AB264@sda21(r2) -/* 8010E908 0010B868 7F A3 EB 78 */ mr r3, r29 -/* 8010E90C 0010B86C 7F C4 F3 78 */ mr r4, r30 -/* 8010E910 0010B870 4B FF E9 89 */ bl ApplySeparationBehavior__8CWarWaspFR13CStateManagerf -/* 8010E914 0010B874 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8010E918 0010B878 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 8010E91C 0010B87C C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8010E920 0010B880 C0 43 00 40 */ lfs f2, 0x40(r3) -/* 8010E924 0010B884 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8010E928 0010B888 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 8010E92C 0010B88C C0 63 00 60 */ lfs f3, 0x60(r3) -/* 8010E930 0010B890 C0 3D 00 60 */ lfs f1, 0x60(r29) -/* 8010E934 0010B894 EC A2 00 28 */ fsubs f5, f2, f0 -/* 8010E938 0010B898 EC 04 01 32 */ fmuls f0, f4, f4 -/* 8010E93C 0010B89C C0 42 94 D0 */ lfs f2, lbl_805AB1F0@sda21(r2) -/* 8010E940 0010B8A0 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8010E944 0010B8A4 C0 3D 03 00 */ lfs f1, 0x300(r29) -/* 8010E948 0010B8A8 EC 05 01 7A */ fmadds f0, f5, f5, f0 -/* 8010E94C 0010B8AC EC 42 00 72 */ fmuls f2, f2, f1 -/* 8010E950 0010B8B0 EC 23 00 FA */ fmadds f1, f3, f3, f0 -/* 8010E954 0010B8B4 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 8010E958 0010B8B8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010E95C 0010B8BC 40 81 00 28 */ ble lbl_8010E984 -/* 8010E960 0010B8C0 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E964 0010B8C4 38 00 00 01 */ li r0, 1 -/* 8010E968 0010B8C8 C0 22 94 DC */ lfs f1, lbl_805AB1FC@sda21(r2) -/* 8010E96C 0010B8CC 90 03 00 34 */ stw r0, 0x34(r3) -/* 8010E970 0010B8D0 FC 40 08 90 */ fmr f2, f1 -/* 8010E974 0010B8D4 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E978 0010B8D8 38 63 00 04 */ addi r3, r3, 4 -/* 8010E97C 0010B8DC 48 02 2E 6D */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff -/* 8010E980 0010B8E0 48 00 00 20 */ b lbl_8010E9A0 -lbl_8010E984: -/* 8010E984 0010B8E4 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E988 0010B8E8 38 00 00 00 */ li r0, 0 -/* 8010E98C 0010B8EC 90 03 00 34 */ stw r0, 0x34(r3) -/* 8010E990 0010B8F0 48 00 00 10 */ b lbl_8010E9A0 -lbl_8010E994: -/* 8010E994 0010B8F4 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8010E998 0010B8F8 38 00 00 00 */ li r0, 0 -/* 8010E99C 0010B8FC 90 03 00 34 */ stw r0, 0x34(r3) -lbl_8010E9A0: -/* 8010E9A0 0010B900 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8010E9A4 0010B904 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8010E9A8 0010B908 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8010E9AC 0010B90C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8010E9B0 0010B910 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8010E9B4 0010B914 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8010E9B8 0010B918 7C 08 03 A6 */ mtlr r0 -/* 8010E9BC 0010B91C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8010E9C0 0010B920 4E 80 00 20 */ blr - -.global ProjectileAttack__8CWarWaspFR13CStateManager9EStateMsgf -ProjectileAttack__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010E9C4 0010B924 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8010E9C8 0010B928 7C 08 02 A6 */ mflr r0 -/* 8010E9CC 0010B92C 2C 05 00 01 */ cmpwi r5, 1 -/* 8010E9D0 0010B930 90 01 00 54 */ stw r0, 0x54(r1) -/* 8010E9D4 0010B934 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8010E9D8 0010B938 7C 7F 1B 78 */ mr r31, r3 -/* 8010E9DC 0010B93C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8010E9E0 0010B940 7C 9E 23 78 */ mr r30, r4 -/* 8010E9E4 0010B944 41 82 00 88 */ beq lbl_8010EA6C -/* 8010E9E8 0010B948 40 80 00 10 */ bge lbl_8010E9F8 -/* 8010E9EC 0010B94C 2C 05 00 00 */ cmpwi r5, 0 -/* 8010E9F0 0010B950 40 80 00 14 */ bge lbl_8010EA04 -/* 8010E9F4 0010B954 48 00 02 18 */ b lbl_8010EC0C -lbl_8010E9F8: -/* 8010E9F8 0010B958 2C 05 00 03 */ cmpwi r5, 3 -/* 8010E9FC 0010B95C 40 80 02 10 */ bge lbl_8010EC0C -/* 8010EA00 0010B960 48 00 01 C4 */ b lbl_8010EBC4 -lbl_8010EA04: -/* 8010EA04 0010B964 88 1F 07 2E */ lbz r0, 0x72e(r31) -/* 8010EA08 0010B968 38 60 00 01 */ li r3, 1 -/* 8010EA0C 0010B96C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8010EA10 0010B970 98 1F 07 2E */ stb r0, 0x72e(r31) -/* 8010EA14 0010B974 A0 7F 06 74 */ lhz r3, 0x674(r31) -/* 8010EA18 0010B978 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8010EA1C 0010B97C 7C 03 00 40 */ cmplw r3, r0 -/* 8010EA20 0010B980 41 82 00 40 */ beq lbl_8010EA60 -/* 8010EA24 0010B984 A0 FF 00 08 */ lhz r7, 8(r31) -/* 8010EA28 0010B988 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8010EA2C 0010B98C 38 C1 00 18 */ addi r6, r1, 0x18 -/* 8010EA30 0010B990 38 60 00 01 */ li r3, 1 -/* 8010EA34 0010B994 B0 E1 00 18 */ sth r7, 0x18(r1) -/* 8010EA38 0010B998 A0 1F 06 74 */ lhz r0, 0x674(r31) -/* 8010EA3C 0010B99C B0 E1 00 14 */ sth r7, 0x14(r1) -/* 8010EA40 0010B9A0 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8010EA44 0010B9A4 48 12 B5 AD */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId -/* 8010EA48 0010B9A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010EA4C 0010B9AC 38 60 00 03 */ li r3, 3 -/* 8010EA50 0010B9B0 41 82 00 08 */ beq lbl_8010EA58 -/* 8010EA54 0010B9B4 38 60 00 00 */ li r3, 0 -lbl_8010EA58: -/* 8010EA58 0010B9B8 90 7F 05 68 */ stw r3, 0x568(r31) -/* 8010EA5C 0010B9BC 48 00 01 B0 */ b lbl_8010EC0C -lbl_8010EA60: -/* 8010EA60 0010B9C0 38 00 00 00 */ li r0, 0 -/* 8010EA64 0010B9C4 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010EA68 0010B9C8 48 00 01 A4 */ b lbl_8010EC0C -lbl_8010EA6C: -/* 8010EA6C 0010B9CC 80 1F 05 68 */ lwz r0, 0x568(r31) -/* 8010EA70 0010B9D0 2C 00 00 01 */ cmpwi r0, 1 -/* 8010EA74 0010B9D4 41 82 01 98 */ beq lbl_8010EC0C -/* 8010EA78 0010B9D8 40 80 00 10 */ bge lbl_8010EA88 -/* 8010EA7C 0010B9DC 2C 00 00 00 */ cmpwi r0, 0 -/* 8010EA80 0010B9E0 40 80 00 14 */ bge lbl_8010EA94 -/* 8010EA84 0010B9E4 48 00 01 88 */ b lbl_8010EC0C -lbl_8010EA88: -/* 8010EA88 0010B9E8 2C 00 00 03 */ cmpwi r0, 3 -/* 8010EA8C 0010B9EC 40 80 01 80 */ bge lbl_8010EC0C -/* 8010EA90 0010B9F0 48 00 00 E8 */ b lbl_8010EB78 -lbl_8010EA94: -/* 8010EA94 0010B9F4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010EA98 0010B9F8 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8010EA9C 0010B9FC 2C 00 00 12 */ cmpwi r0, 0x12 -/* 8010EAA0 0010BA00 40 82 00 10 */ bne lbl_8010EAB0 -/* 8010EAA4 0010BA04 38 00 00 02 */ li r0, 2 -/* 8010EAA8 0010BA08 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010EAAC 0010BA0C 48 00 01 60 */ b lbl_8010EC0C -lbl_8010EAB0: -/* 8010EAB0 0010BA10 C0 22 95 48 */ lfs f1, lbl_805AB268@sda21(r2) -/* 8010EAB4 0010BA14 7F E4 FB 78 */ mr r4, r31 -/* 8010EAB8 0010BA18 7F C5 F3 78 */ mr r5, r30 -/* 8010EABC 0010BA1C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010EAC0 0010BA20 4B FF D3 E1 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010EAC4 0010BA24 7F E3 FB 78 */ mr r3, r31 -/* 8010EAC8 0010BA28 38 81 00 20 */ addi r4, r1, 0x20 -/* 8010EACC 0010BA2C 4B F6 E0 91 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 8010EAD0 0010BA30 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010EAD4 0010BA34 C0 5F 02 E0 */ lfs f2, 0x2e0(r31) -/* 8010EAD8 0010BA38 38 C3 AA 68 */ addi r6, r3, lbl_803DAA68@l -/* 8010EADC 0010BA3C C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 8010EAE0 0010BA40 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) -/* 8010EAE4 0010BA44 3C 80 80 3E */ lis r4, lbl_803DA9CC@ha -/* 8010EAE8 0010BA48 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010EAEC 0010BA4C 38 E0 00 06 */ li r7, 6 -/* 8010EAF0 0010BA50 38 A0 00 01 */ li r5, 1 -/* 8010EAF4 0010BA54 38 00 00 00 */ li r0, 0 -/* 8010EAF8 0010BA58 3B E3 00 04 */ addi r31, r3, 4 -/* 8010EAFC 0010BA5C 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 8010EB00 0010BA60 38 C4 A9 CC */ addi r6, r4, lbl_803DA9CC@l -/* 8010EB04 0010BA64 38 80 00 06 */ li r4, 6 -/* 8010EB08 0010BA68 90 E1 00 30 */ stw r7, 0x30(r1) -/* 8010EB0C 0010BA6C 7F E3 FB 78 */ mr r3, r31 -/* 8010EB10 0010BA70 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 8010EB14 0010BA74 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8010EB18 0010BA78 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8010EB1C 0010BA7C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8010EB20 0010BA80 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8010EB24 0010BA84 98 01 00 44 */ stb r0, 0x44(r1) -/* 8010EB28 0010BA88 48 02 29 11 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010EB2C 0010BA8C 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8010EB30 0010BA90 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha -/* 8010EB34 0010BA94 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l -/* 8010EB38 0010BA98 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010EB3C 0010BA9C 90 1F 01 2C */ stw r0, 0x12c(r31) -/* 8010EB40 0010BAA0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010EB44 0010BAA4 80 61 00 34 */ lwz r3, 0x34(r1) -/* 8010EB48 0010BAA8 80 A1 00 38 */ lwz r5, 0x38(r1) -/* 8010EB4C 0010BAAC 90 7F 01 30 */ stw r3, 0x130(r31) -/* 8010EB50 0010BAB0 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 8010EB54 0010BAB4 90 BF 01 34 */ stw r5, 0x134(r31) -/* 8010EB58 0010BAB8 80 A1 00 40 */ lwz r5, 0x40(r1) -/* 8010EB5C 0010BABC 90 7F 01 38 */ stw r3, 0x138(r31) -/* 8010EB60 0010BAC0 88 61 00 44 */ lbz r3, 0x44(r1) -/* 8010EB64 0010BAC4 90 BF 01 3C */ stw r5, 0x13c(r31) -/* 8010EB68 0010BAC8 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8010EB6C 0010BACC 98 7F 01 40 */ stb r3, 0x140(r31) -/* 8010EB70 0010BAD0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8010EB74 0010BAD4 48 00 00 98 */ b lbl_8010EC0C -lbl_8010EB78: -/* 8010EB78 0010BAD8 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010EB7C 0010BADC 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8010EB80 0010BAE0 2C 00 00 12 */ cmpwi r0, 0x12 -/* 8010EB84 0010BAE4 41 82 00 88 */ beq lbl_8010EC0C -/* 8010EB88 0010BAE8 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) -/* 8010EB8C 0010BAEC 38 00 00 03 */ li r0, 3 -/* 8010EB90 0010BAF0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010EB94 0010BAF4 C0 9F 02 E4 */ lfs f4, 0x2e4(r31) -/* 8010EB98 0010BAF8 C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 8010EB9C 0010BAFC EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010EBA0 0010BB00 C0 5F 02 E8 */ lfs f2, 0x2e8(r31) -/* 8010EBA4 0010BB04 C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 8010EBA8 0010BB08 EC 64 18 28 */ fsubs f3, f4, f3 -/* 8010EBAC 0010BB0C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8010EBB0 0010BB10 EC 02 08 28 */ fsubs f0, f2, f1 -/* 8010EBB4 0010BB14 D0 63 00 20 */ stfs f3, 0x20(r3) -/* 8010EBB8 0010BB18 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8010EBBC 0010BB1C 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010EBC0 0010BB20 48 00 00 4C */ b lbl_8010EC0C -lbl_8010EBC4: -/* 8010EBC4 0010BB24 A1 1F 00 08 */ lhz r8, 8(r31) -/* 8010EBC8 0010BB28 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8010EBCC 0010BB2C 38 C1 00 0C */ addi r6, r1, 0xc -/* 8010EBD0 0010BB30 38 60 00 01 */ li r3, 1 -/* 8010EBD4 0010BB34 B1 01 00 0C */ sth r8, 0xc(r1) -/* 8010EBD8 0010BB38 38 E0 00 00 */ li r7, 0 -/* 8010EBDC 0010BB3C A0 1F 06 74 */ lhz r0, 0x674(r31) -/* 8010EBE0 0010BB40 B1 01 00 08 */ sth r8, 8(r1) -/* 8010EBE4 0010BB44 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010EBE8 0010BB48 48 12 B2 E9 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb -/* 8010EBEC 0010BB4C 7F E3 FB 78 */ mr r3, r31 -/* 8010EBF0 0010BB50 7F C4 F3 78 */ mr r4, r30 -/* 8010EBF4 0010BB54 4B FF D1 D5 */ bl CalcTimeToNextAttack__8CWarWaspFR13CStateManager -/* 8010EBF8 0010BB58 D0 3F 07 00 */ stfs f1, 0x700(r31) -/* 8010EBFC 0010BB5C 38 60 00 00 */ li r3, 0 -/* 8010EC00 0010BB60 88 1F 07 2E */ lbz r0, 0x72e(r31) -/* 8010EC04 0010BB64 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8010EC08 0010BB68 98 1F 07 2E */ stb r0, 0x72e(r31) -lbl_8010EC0C: -/* 8010EC0C 0010BB6C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8010EC10 0010BB70 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8010EC14 0010BB74 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8010EC18 0010BB78 7C 08 03 A6 */ mtlr r0 -/* 8010EC1C 0010BB7C 38 21 00 50 */ addi r1, r1, 0x50 -/* 8010EC20 0010BB80 4E 80 00 20 */ blr - -.global Attack__8CWarWaspFR13CStateManager9EStateMsgf -Attack__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010EC24 0010BB84 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8010EC28 0010BB88 7C 08 02 A6 */ mflr r0 -/* 8010EC2C 0010BB8C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8010EC30 0010BB90 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8010EC34 0010BB94 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8010EC38 0010BB98 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8010EC3C 0010BB9C F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8010EC40 0010BBA0 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8010EC44 0010BBA4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8010EC48 0010BBA8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8010EC4C 0010BBAC 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8010EC50 0010BBB0 2C 05 00 01 */ cmpwi r5, 1 -/* 8010EC54 0010BBB4 7C 7F 1B 78 */ mr r31, r3 -/* 8010EC58 0010BBB8 7C 9E 23 78 */ mr r30, r4 -/* 8010EC5C 0010BBBC 41 82 00 94 */ beq lbl_8010ECF0 -/* 8010EC60 0010BBC0 40 80 00 10 */ bge lbl_8010EC70 -/* 8010EC64 0010BBC4 2C 05 00 00 */ cmpwi r5, 0 -/* 8010EC68 0010BBC8 40 80 00 14 */ bge lbl_8010EC7C -/* 8010EC6C 0010BBCC 48 00 02 84 */ b lbl_8010EEF0 -lbl_8010EC70: -/* 8010EC70 0010BBD0 2C 05 00 03 */ cmpwi r5, 3 -/* 8010EC74 0010BBD4 40 80 02 7C */ bge lbl_8010EEF0 -/* 8010EC78 0010BBD8 48 00 02 30 */ b lbl_8010EEA8 -lbl_8010EC7C: -/* 8010EC7C 0010BBDC 88 1F 07 2E */ lbz r0, 0x72e(r31) -/* 8010EC80 0010BBE0 38 60 00 01 */ li r3, 1 -/* 8010EC84 0010BBE4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8010EC88 0010BBE8 38 A0 00 00 */ li r5, 0 -/* 8010EC8C 0010BBEC 98 1F 07 2E */ stb r0, 0x72e(r31) -/* 8010EC90 0010BBF0 88 1F 07 2E */ lbz r0, 0x72e(r31) -/* 8010EC94 0010BBF4 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8010EC98 0010BBF8 98 1F 07 2E */ stb r0, 0x72e(r31) -/* 8010EC9C 0010BBFC A0 7F 06 74 */ lhz r3, 0x674(r31) -/* 8010ECA0 0010BC00 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8010ECA4 0010BC04 7C 03 00 40 */ cmplw r3, r0 -/* 8010ECA8 0010BC08 41 82 00 40 */ beq lbl_8010ECE8 -/* 8010ECAC 0010BC0C A0 FF 00 08 */ lhz r7, 8(r31) -/* 8010ECB0 0010BC10 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8010ECB4 0010BC14 38 C1 00 18 */ addi r6, r1, 0x18 -/* 8010ECB8 0010BC18 38 60 00 00 */ li r3, 0 -/* 8010ECBC 0010BC1C B0 E1 00 18 */ sth r7, 0x18(r1) -/* 8010ECC0 0010BC20 A0 1F 06 74 */ lhz r0, 0x674(r31) -/* 8010ECC4 0010BC24 B0 E1 00 14 */ sth r7, 0x14(r1) -/* 8010ECC8 0010BC28 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8010ECCC 0010BC2C 48 12 B3 25 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId -/* 8010ECD0 0010BC30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010ECD4 0010BC34 38 60 00 03 */ li r3, 3 -/* 8010ECD8 0010BC38 41 82 00 08 */ beq lbl_8010ECE0 -/* 8010ECDC 0010BC3C 38 60 00 00 */ li r3, 0 -lbl_8010ECE0: -/* 8010ECE0 0010BC40 90 7F 05 68 */ stw r3, 0x568(r31) -/* 8010ECE4 0010BC44 48 00 02 0C */ b lbl_8010EEF0 -lbl_8010ECE8: -/* 8010ECE8 0010BC48 90 BF 05 68 */ stw r5, 0x568(r31) -/* 8010ECEC 0010BC4C 48 00 02 04 */ b lbl_8010EEF0 -lbl_8010ECF0: -/* 8010ECF0 0010BC50 80 1F 05 68 */ lwz r0, 0x568(r31) -/* 8010ECF4 0010BC54 2C 00 00 01 */ cmpwi r0, 1 -/* 8010ECF8 0010BC58 41 82 01 F8 */ beq lbl_8010EEF0 -/* 8010ECFC 0010BC5C 40 80 00 10 */ bge lbl_8010ED0C -/* 8010ED00 0010BC60 2C 00 00 00 */ cmpwi r0, 0 -/* 8010ED04 0010BC64 40 80 00 14 */ bge lbl_8010ED18 -/* 8010ED08 0010BC68 48 00 01 E8 */ b lbl_8010EEF0 -lbl_8010ED0C: -/* 8010ED0C 0010BC6C 2C 00 00 03 */ cmpwi r0, 3 -/* 8010ED10 0010BC70 40 80 01 E0 */ bge lbl_8010EEF0 -/* 8010ED14 0010BC74 48 00 01 40 */ b lbl_8010EE54 -lbl_8010ED18: -/* 8010ED18 0010BC78 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010ED1C 0010BC7C 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8010ED20 0010BC80 2C 00 00 07 */ cmpwi r0, 7 -/* 8010ED24 0010BC84 40 82 00 10 */ bne lbl_8010ED34 -/* 8010ED28 0010BC88 38 00 00 02 */ li r0, 2 -/* 8010ED2C 0010BC8C 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010ED30 0010BC90 48 00 01 C0 */ b lbl_8010EEF0 -lbl_8010ED34: -/* 8010ED34 0010BC94 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010ED38 0010BC98 7F E4 FB 78 */ mr r4, r31 -/* 8010ED3C 0010BC9C 7F C5 F3 78 */ mr r5, r30 -/* 8010ED40 0010BCA0 38 61 00 2C */ addi r3, r1, 0x2c -/* 8010ED44 0010BCA4 4B FF D1 5D */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010ED48 0010BCA8 C3 A1 00 2C */ lfs f29, 0x2c(r1) -/* 8010ED4C 0010BCAC 38 61 00 38 */ addi r3, r1, 0x38 -/* 8010ED50 0010BCB0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010ED54 0010BCB4 C3 E1 00 30 */ lfs f31, 0x30(r1) -/* 8010ED58 0010BCB8 C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 8010ED5C 0010BCBC EC 1D 00 28 */ fsubs f0, f29, f0 -/* 8010ED60 0010BCC0 C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 8010ED64 0010BCC4 EC 5F 10 28 */ fsubs f2, f31, f2 -/* 8010ED68 0010BCC8 C3 C1 00 34 */ lfs f30, 0x34(r1) -/* 8010ED6C 0010BCCC D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8010ED70 0010BCD0 EC 1E 08 28 */ fsubs f0, f30, f1 -/* 8010ED74 0010BCD4 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8010ED78 0010BCD8 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8010ED7C 0010BCDC 48 20 59 7D */ bl CanBeNormalized__9CVector3fCFv -/* 8010ED80 0010BCE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010ED84 0010BCE4 41 82 00 38 */ beq lbl_8010EDBC -/* 8010ED88 0010BCE8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010ED8C 0010BCEC 38 81 00 38 */ addi r4, r1, 0x38 -/* 8010ED90 0010BCF0 48 20 5A C1 */ bl AsNormalized__9CVector3fCFv -/* 8010ED94 0010BCF4 C0 62 95 18 */ lfs f3, lbl_805AB238@sda21(r2) -/* 8010ED98 0010BCF8 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8010ED9C 0010BCFC C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8010EDA0 0010BD00 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8010EDA4 0010BD04 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8010EDA8 0010BD08 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8010EDAC 0010BD0C EC 03 00 32 */ fmuls f0, f3, f0 -/* 8010EDB0 0010BD10 EF BD 10 2A */ fadds f29, f29, f2 -/* 8010EDB4 0010BD14 EF FF 08 2A */ fadds f31, f31, f1 -/* 8010EDB8 0010BD18 EF DE 00 2A */ fadds f30, f30, f0 -lbl_8010EDBC: -/* 8010EDBC 0010BD1C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010EDC0 0010BD20 38 00 00 01 */ li r0, 1 -/* 8010EDC4 0010BD24 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 8010EDC8 0010BD28 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8010EDCC 0010BD2C 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha -/* 8010EDD0 0010BD30 90 A1 00 44 */ stw r5, 0x44(r1) -/* 8010EDD4 0010BD34 38 A4 A9 D8 */ addi r5, r4, lbl_803DA9D8@l -/* 8010EDD8 0010BD38 38 80 00 05 */ li r4, 5 -/* 8010EDDC 0010BD3C 3B E3 00 04 */ addi r31, r3, 4 -/* 8010EDE0 0010BD40 90 81 00 48 */ stw r4, 0x48(r1) -/* 8010EDE4 0010BD44 7F E3 FB 78 */ mr r3, r31 -/* 8010EDE8 0010BD48 38 80 00 05 */ li r4, 5 -/* 8010EDEC 0010BD4C 90 A1 00 44 */ stw r5, 0x44(r1) -/* 8010EDF0 0010BD50 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8010EDF4 0010BD54 D3 A1 00 50 */ stfs f29, 0x50(r1) -/* 8010EDF8 0010BD58 D3 E1 00 54 */ stfs f31, 0x54(r1) -/* 8010EDFC 0010BD5C D3 C1 00 58 */ stfs f30, 0x58(r1) -/* 8010EE00 0010BD60 98 01 00 5C */ stb r0, 0x5c(r1) -/* 8010EE04 0010BD64 48 02 26 35 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010EE08 0010BD68 80 01 00 48 */ lwz r0, 0x48(r1) -/* 8010EE0C 0010BD6C 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha -/* 8010EE10 0010BD70 38 83 A9 D8 */ addi r4, r3, lbl_803DA9D8@l -/* 8010EE14 0010BD74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010EE18 0010BD78 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8010EE1C 0010BD7C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010EE20 0010BD80 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8010EE24 0010BD84 80 A1 00 50 */ lwz r5, 0x50(r1) -/* 8010EE28 0010BD88 90 7F 01 14 */ stw r3, 0x114(r31) -/* 8010EE2C 0010BD8C 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8010EE30 0010BD90 90 BF 01 18 */ stw r5, 0x118(r31) -/* 8010EE34 0010BD94 80 A1 00 58 */ lwz r5, 0x58(r1) -/* 8010EE38 0010BD98 90 7F 01 1C */ stw r3, 0x11c(r31) -/* 8010EE3C 0010BD9C 88 61 00 5C */ lbz r3, 0x5c(r1) -/* 8010EE40 0010BDA0 90 BF 01 20 */ stw r5, 0x120(r31) -/* 8010EE44 0010BDA4 90 81 00 44 */ stw r4, 0x44(r1) -/* 8010EE48 0010BDA8 98 7F 01 24 */ stb r3, 0x124(r31) -/* 8010EE4C 0010BDAC 90 01 00 44 */ stw r0, 0x44(r1) -/* 8010EE50 0010BDB0 48 00 00 A0 */ b lbl_8010EEF0 -lbl_8010EE54: -/* 8010EE54 0010BDB4 80 9F 04 50 */ lwz r4, 0x450(r31) -/* 8010EE58 0010BDB8 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 8010EE5C 0010BDBC 2C 00 00 07 */ cmpwi r0, 7 -/* 8010EE60 0010BDC0 41 82 00 10 */ beq lbl_8010EE70 -/* 8010EE64 0010BDC4 38 00 00 03 */ li r0, 3 -/* 8010EE68 0010BDC8 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010EE6C 0010BDCC 48 00 00 84 */ b lbl_8010EEF0 -lbl_8010EE70: -/* 8010EE70 0010BDD0 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8010EE74 0010BDD4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010EE78 0010BDD8 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 8010EE7C 0010BDDC C0 83 00 50 */ lfs f4, 0x50(r3) -/* 8010EE80 0010BDE0 C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 8010EE84 0010BDE4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010EE88 0010BDE8 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8010EE8C 0010BDEC C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 8010EE90 0010BDF0 EC 64 18 28 */ fsubs f3, f4, f3 -/* 8010EE94 0010BDF4 D0 04 00 1C */ stfs f0, 0x1c(r4) -/* 8010EE98 0010BDF8 EC 02 08 28 */ fsubs f0, f2, f1 -/* 8010EE9C 0010BDFC D0 64 00 20 */ stfs f3, 0x20(r4) -/* 8010EEA0 0010BE00 D0 04 00 24 */ stfs f0, 0x24(r4) -/* 8010EEA4 0010BE04 48 00 00 4C */ b lbl_8010EEF0 -lbl_8010EEA8: -/* 8010EEA8 0010BE08 A1 1F 00 08 */ lhz r8, 8(r31) -/* 8010EEAC 0010BE0C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8010EEB0 0010BE10 38 C1 00 0C */ addi r6, r1, 0xc -/* 8010EEB4 0010BE14 38 60 00 00 */ li r3, 0 -/* 8010EEB8 0010BE18 B1 01 00 0C */ sth r8, 0xc(r1) -/* 8010EEBC 0010BE1C 38 E0 00 00 */ li r7, 0 -/* 8010EEC0 0010BE20 A0 1F 06 74 */ lhz r0, 0x674(r31) -/* 8010EEC4 0010BE24 B1 01 00 08 */ sth r8, 8(r1) -/* 8010EEC8 0010BE28 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010EECC 0010BE2C 48 12 B0 05 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb -/* 8010EED0 0010BE30 7F E3 FB 78 */ mr r3, r31 -/* 8010EED4 0010BE34 7F C4 F3 78 */ mr r4, r30 -/* 8010EED8 0010BE38 4B FF CE F1 */ bl CalcTimeToNextAttack__8CWarWaspFR13CStateManager -/* 8010EEDC 0010BE3C D0 3F 07 00 */ stfs f1, 0x700(r31) -/* 8010EEE0 0010BE40 38 60 00 00 */ li r3, 0 -/* 8010EEE4 0010BE44 88 1F 07 2E */ lbz r0, 0x72e(r31) -/* 8010EEE8 0010BE48 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8010EEEC 0010BE4C 98 1F 07 2E */ stb r0, 0x72e(r31) -lbl_8010EEF0: -/* 8010EEF0 0010BE50 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8010EEF4 0010BE54 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8010EEF8 0010BE58 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8010EEFC 0010BE5C CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8010EF00 0010BE60 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8010EF04 0010BE64 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8010EF08 0010BE68 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8010EF0C 0010BE6C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8010EF10 0010BE70 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8010EF14 0010BE74 7C 08 03 A6 */ mtlr r0 -/* 8010EF18 0010BE78 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8010EF1C 0010BE7C 4E 80 00 20 */ blr - -.global Generate__8CWarWaspFR13CStateManager9EStateMsgf -Generate__8CWarWaspFR13CStateManager9EStateMsgf: -/* 8010EF20 0010BE80 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8010EF24 0010BE84 7C 08 02 A6 */ mflr r0 -/* 8010EF28 0010BE88 90 01 01 34 */ stw r0, 0x134(r1) -/* 8010EF2C 0010BE8C DB E1 01 20 */ stfd f31, 0x120(r1) -/* 8010EF30 0010BE90 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 8010EF34 0010BE94 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 8010EF38 0010BE98 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 8010EF3C 0010BE9C 93 E1 01 0C */ stw r31, 0x10c(r1) -/* 8010EF40 0010BEA0 93 C1 01 08 */ stw r30, 0x108(r1) -/* 8010EF44 0010BEA4 93 A1 01 04 */ stw r29, 0x104(r1) -/* 8010EF48 0010BEA8 7C 7F 1B 78 */ mr r31, r3 -/* 8010EF4C 0010BEAC FF C0 08 90 */ fmr f30, f1 -/* 8010EF50 0010BEB0 2C 05 00 01 */ cmpwi r5, 1 -/* 8010EF54 0010BEB4 81 03 04 50 */ lwz r8, 0x450(r3) -/* 8010EF58 0010BEB8 7C 9D 23 78 */ mr r29, r4 -/* 8010EF5C 0010BEBC 41 82 01 68 */ beq lbl_8010F0C4 -/* 8010EF60 0010BEC0 40 80 00 10 */ bge lbl_8010EF70 -/* 8010EF64 0010BEC4 2C 05 00 00 */ cmpwi r5, 0 -/* 8010EF68 0010BEC8 40 80 00 14 */ bge lbl_8010EF7C -/* 8010EF6C 0010BECC 48 00 04 30 */ b lbl_8010F39C -lbl_8010EF70: -/* 8010EF70 0010BED0 2C 05 00 03 */ cmpwi r5, 3 -/* 8010EF74 0010BED4 40 80 04 28 */ bge lbl_8010F39C -/* 8010EF78 0010BED8 48 00 03 EC */ b lbl_8010F364 -lbl_8010EF7C: -/* 8010EF7C 0010BEDC 7D 03 43 78 */ mr r3, r8 -/* 8010EF80 0010BEE0 48 02 BD 71 */ bl Activate__15CBodyControllerFR13CStateManager -/* 8010EF84 0010BEE4 88 1F 07 2E */ lbz r0, 0x72e(r31) -/* 8010EF88 0010BEE8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8010EF8C 0010BEEC 41 82 01 2C */ beq lbl_8010F0B8 -/* 8010EF90 0010BEF0 7F E3 FB 78 */ mr r3, r31 -/* 8010EF94 0010BEF4 7F A6 EB 78 */ mr r6, r29 -/* 8010EF98 0010BEF8 38 80 00 21 */ li r4, 0x21 -/* 8010EF9C 0010BEFC 38 A0 00 13 */ li r5, 0x13 -/* 8010EFA0 0010BF00 4B F4 4F 35 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 8010EFA4 0010BF04 38 61 00 74 */ addi r3, r1, 0x74 -/* 8010EFA8 0010BF08 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8010EFAC 0010BF0C 48 20 31 7D */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8010EFB0 0010BF10 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8010EFB4 0010BF14 D0 1F 06 A0 */ stfs f0, 0x6a0(r31) -/* 8010EFB8 0010BF18 80 61 00 78 */ lwz r3, 0x78(r1) -/* 8010EFBC 0010BF1C 80 01 00 7C */ lwz r0, 0x7c(r1) -/* 8010EFC0 0010BF20 90 7F 06 A4 */ stw r3, 0x6a4(r31) -/* 8010EFC4 0010BF24 90 1F 06 A8 */ stw r0, 0x6a8(r31) -/* 8010EFC8 0010BF28 80 01 00 80 */ lwz r0, 0x80(r1) -/* 8010EFCC 0010BF2C 90 1F 06 AC */ stw r0, 0x6ac(r31) -/* 8010EFD0 0010BF30 C0 1F 06 A0 */ lfs f0, 0x6a0(r31) -/* 8010EFD4 0010BF34 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8010EFD8 0010BF38 C0 1F 06 A4 */ lfs f0, 0x6a4(r31) -/* 8010EFDC 0010BF3C D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8010EFE0 0010BF40 C0 1F 06 A8 */ lfs f0, 0x6a8(r31) -/* 8010EFE4 0010BF44 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8010EFE8 0010BF48 C0 1F 06 AC */ lfs f0, 0x6ac(r31) -/* 8010EFEC 0010BF4C D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 8010EFF0 0010BF50 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 8010EFF4 0010BF54 48 20 34 E9 */ bl Float__9CRandom16Fv -/* 8010EFF8 0010BF58 C0 42 95 4C */ lfs f2, lbl_805AB26C@sda21(r2) -/* 8010EFFC 0010BF5C 38 61 00 64 */ addi r3, r1, 0x64 -/* 8010F000 0010BF60 C0 02 95 50 */ lfs f0, lbl_805AB270@sda21(r2) -/* 8010F004 0010BF64 38 81 00 08 */ addi r4, r1, 8 -/* 8010F008 0010BF68 EC 02 00 78 */ fmsubs f0, f2, f1, f0 -/* 8010F00C 0010BF6C D0 01 00 08 */ stfs f0, 8(r1) -/* 8010F010 0010BF70 48 20 20 E9 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8010F014 0010BF74 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010F018 0010BF78 38 81 00 9C */ addi r4, r1, 0x9c -/* 8010F01C 0010BF7C 38 A1 00 64 */ addi r5, r1, 0x64 -/* 8010F020 0010BF80 48 20 21 81 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8010F024 0010BF84 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8010F028 0010BF88 38 61 00 54 */ addi r3, r1, 0x54 -/* 8010F02C 0010BF8C 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8010F030 0010BF90 38 81 00 9C */ addi r4, r1, 0x9c -/* 8010F034 0010BF94 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8010F038 0010BF98 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8010F03C 0010BF9C D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8010F040 0010BFA0 90 C1 00 A0 */ stw r6, 0xa0(r1) -/* 8010F044 0010BFA4 90 A1 00 A4 */ stw r5, 0xa4(r1) -/* 8010F048 0010BFA8 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8010F04C 0010BFAC 48 20 23 51 */ bl BuildNormalized__11CQuaternionCFv -/* 8010F050 0010BFB0 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8010F054 0010BFB4 38 61 00 CC */ addi r3, r1, 0xcc -/* 8010F058 0010BFB8 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8010F05C 0010BFBC 38 81 00 54 */ addi r4, r1, 0x54 -/* 8010F060 0010BFC0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010F064 0010BFC4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8010F068 0010BFC8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8010F06C 0010BFCC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8010F070 0010BFD0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8010F074 0010BFD4 48 20 2E 49 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 8010F078 0010BFD8 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8010F07C 0010BFDC 38 81 00 CC */ addi r4, r1, 0xcc -/* 8010F080 0010BFE0 48 20 3A C1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8010F084 0010BFE4 88 7F 00 E4 */ lbz r3, 0xe4(r31) -/* 8010F088 0010BFE8 38 80 00 01 */ li r4, 1 -/* 8010F08C 0010BFEC 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 8010F090 0010BFF0 38 00 00 00 */ li r0, 0 -/* 8010F094 0010BFF4 98 7F 00 E4 */ stb r3, 0xe4(r31) -/* 8010F098 0010BFF8 88 7F 00 E4 */ lbz r3, 0xe4(r31) -/* 8010F09C 0010BFFC 50 83 1F 38 */ rlwimi r3, r4, 3, 0x1c, 0x1c -/* 8010F0A0 0010C000 98 7F 00 E4 */ stb r3, 0xe4(r31) -/* 8010F0A4 0010C004 88 7F 00 E4 */ lbz r3, 0xe4(r31) -/* 8010F0A8 0010C008 50 83 17 7A */ rlwimi r3, r4, 2, 0x1d, 0x1d -/* 8010F0AC 0010C00C 98 7F 00 E4 */ stb r3, 0xe4(r31) -/* 8010F0B0 0010C010 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010F0B4 0010C014 48 00 02 E8 */ b lbl_8010F39C -lbl_8010F0B8: -/* 8010F0B8 0010C018 38 00 00 03 */ li r0, 3 -/* 8010F0BC 0010C01C 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010F0C0 0010C020 48 00 02 DC */ b lbl_8010F39C -lbl_8010F0C4: -/* 8010F0C4 0010C024 80 1F 05 68 */ lwz r0, 0x568(r31) -/* 8010F0C8 0010C028 2C 00 00 01 */ cmpwi r0, 1 -/* 8010F0CC 0010C02C 41 82 02 D0 */ beq lbl_8010F39C -/* 8010F0D0 0010C030 40 80 00 10 */ bge lbl_8010F0E0 -/* 8010F0D4 0010C034 2C 00 00 00 */ cmpwi r0, 0 -/* 8010F0D8 0010C038 40 80 00 14 */ bge lbl_8010F0EC -/* 8010F0DC 0010C03C 48 00 02 C0 */ b lbl_8010F39C -lbl_8010F0E0: -/* 8010F0E0 0010C040 2C 00 00 03 */ cmpwi r0, 3 -/* 8010F0E4 0010C044 40 80 02 B8 */ bge lbl_8010F39C -/* 8010F0E8 0010C048 48 00 00 EC */ b lbl_8010F1D4 -lbl_8010F0EC: -/* 8010F0EC 0010C04C 80 08 02 B8 */ lwz r0, 0x2b8(r8) -/* 8010F0F0 0010C050 2C 00 00 0C */ cmpwi r0, 0xc -/* 8010F0F4 0010C054 40 82 00 10 */ bne lbl_8010F104 -/* 8010F0F8 0010C058 38 00 00 02 */ li r0, 2 -/* 8010F0FC 0010C05C 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010F100 0010C060 48 00 02 9C */ b lbl_8010F39C -lbl_8010F104: -/* 8010F104 0010C064 81 3F 03 88 */ lwz r9, 0x388(r31) -/* 8010F108 0010C068 3C E0 80 3E */ lis r7, lbl_803DAA68@ha -/* 8010F10C 0010C06C 38 C0 00 00 */ li r6, 0 -/* 8010F110 0010C070 80 A1 00 C8 */ lwz r5, 0xc8(r1) -/* 8010F114 0010C074 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8010F118 0010C078 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) -/* 8010F11C 0010C07C 50 C5 F8 00 */ rlwimi r5, r6, 0x1f, 0, 0 -/* 8010F120 0010C080 38 E7 AA 68 */ addi r7, r7, lbl_803DAA68@l -/* 8010F124 0010C084 C0 24 00 04 */ lfs f1, 4(r4) -/* 8010F128 0010C088 20 69 FF FF */ subfic r3, r9, -1 -/* 8010F12C 0010C08C C0 04 00 08 */ lfs f0, 8(r4) -/* 8010F130 0010C090 38 09 00 01 */ addi r0, r9, 1 -/* 8010F134 0010C094 7C 60 03 78 */ or r0, r3, r0 -/* 8010F138 0010C098 90 A1 00 C8 */ stw r5, 0xc8(r1) -/* 8010F13C 0010C09C 38 80 00 0E */ li r4, 0xe -/* 8010F140 0010C0A0 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha -/* 8010F144 0010C0A4 90 E1 00 AC */ stw r7, 0xac(r1) -/* 8010F148 0010C0A8 38 E3 A9 F0 */ addi r7, r3, lbl_803DA9F0@l -/* 8010F14C 0010C0AC 50 05 F8 42 */ rlwimi r5, r0, 0x1f, 1, 1 -/* 8010F150 0010C0B0 3B E8 00 04 */ addi r31, r8, 4 -/* 8010F154 0010C0B4 90 81 00 B0 */ stw r4, 0xb0(r1) -/* 8010F158 0010C0B8 7F E3 FB 78 */ mr r3, r31 -/* 8010F15C 0010C0BC 38 80 00 0E */ li r4, 0xe -/* 8010F160 0010C0C0 90 E1 00 AC */ stw r7, 0xac(r1) -/* 8010F164 0010C0C4 90 C1 00 B4 */ stw r6, 0xb4(r1) -/* 8010F168 0010C0C8 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 8010F16C 0010C0CC D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 8010F170 0010C0D0 D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 8010F174 0010C0D4 91 21 00 C4 */ stw r9, 0xc4(r1) -/* 8010F178 0010C0D8 90 A1 00 C8 */ stw r5, 0xc8(r1) -/* 8010F17C 0010C0DC 48 02 22 BD */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8010F180 0010C0E0 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 8010F184 0010C0E4 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha -/* 8010F188 0010C0E8 38 83 A9 F0 */ addi r4, r3, lbl_803DA9F0@l -/* 8010F18C 0010C0EC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8010F190 0010C0F0 90 1F 01 90 */ stw r0, 0x190(r31) -/* 8010F194 0010C0F4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8010F198 0010C0F8 80 A1 00 B4 */ lwz r5, 0xb4(r1) -/* 8010F19C 0010C0FC 80 61 00 B8 */ lwz r3, 0xb8(r1) -/* 8010F1A0 0010C100 90 BF 01 94 */ stw r5, 0x194(r31) -/* 8010F1A4 0010C104 80 A1 00 BC */ lwz r5, 0xbc(r1) -/* 8010F1A8 0010C108 90 7F 01 98 */ stw r3, 0x198(r31) -/* 8010F1AC 0010C10C 80 61 00 C0 */ lwz r3, 0xc0(r1) -/* 8010F1B0 0010C110 90 BF 01 9C */ stw r5, 0x19c(r31) -/* 8010F1B4 0010C114 80 A1 00 C4 */ lwz r5, 0xc4(r1) -/* 8010F1B8 0010C118 90 7F 01 A0 */ stw r3, 0x1a0(r31) -/* 8010F1BC 0010C11C 80 61 00 C8 */ lwz r3, 0xc8(r1) -/* 8010F1C0 0010C120 90 BF 01 A4 */ stw r5, 0x1a4(r31) -/* 8010F1C4 0010C124 90 81 00 AC */ stw r4, 0xac(r1) -/* 8010F1C8 0010C128 90 7F 01 A8 */ stw r3, 0x1a8(r31) -/* 8010F1CC 0010C12C 90 01 00 AC */ stw r0, 0xac(r1) -/* 8010F1D0 0010C130 48 00 01 CC */ b lbl_8010F39C -lbl_8010F1D4: -/* 8010F1D4 0010C134 80 08 02 B8 */ lwz r0, 0x2b8(r8) -/* 8010F1D8 0010C138 2C 00 00 0C */ cmpwi r0, 0xc -/* 8010F1DC 0010C13C 41 82 00 10 */ beq lbl_8010F1EC -/* 8010F1E0 0010C140 38 00 00 03 */ li r0, 3 -/* 8010F1E4 0010C144 90 1F 05 68 */ stw r0, 0x568(r31) -/* 8010F1E8 0010C148 48 00 01 B4 */ b lbl_8010F39C -lbl_8010F1EC: -/* 8010F1EC 0010C14C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8010F1F0 0010C150 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 8010F1F4 0010C154 C0 02 95 40 */ lfs f0, lbl_805AB260@sda21(r2) -/* 8010F1F8 0010C158 C0 23 00 04 */ lfs f1, 4(r3) -/* 8010F1FC 0010C15C EF E0 07 B2 */ fmuls f31, f0, f30 -/* 8010F200 0010C160 C0 03 00 08 */ lfs f0, 8(r3) -/* 8010F204 0010C164 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8010F208 0010C168 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 8010F20C 0010C16C D0 01 00 98 */ stfs f0, 0x98(r1) -/* 8010F210 0010C170 83 DD 08 38 */ lwz r30, 0x838(r29) -/* 8010F214 0010C174 AB BE 20 08 */ lha r29, 0x2008(r30) -/* 8010F218 0010C178 48 00 00 C8 */ b lbl_8010F2E0 -lbl_8010F21C: -/* 8010F21C 0010C17C 7F C3 F3 78 */ mr r3, r30 -/* 8010F220 0010C180 7F A4 EB 78 */ mr r4, r29 -/* 8010F224 0010C184 4B F0 0A B9 */ bl __vc__11CObjectListCFi -/* 8010F228 0010C188 7C 64 1B 78 */ mr r4, r3 -/* 8010F22C 0010C18C 38 61 00 0C */ addi r3, r1, 0xc -/* 8010F230 0010C190 4B F9 D8 2D */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 8010F234 0010C194 80 83 00 04 */ lwz r4, 4(r3) -/* 8010F238 0010C198 28 04 00 00 */ cmplwi r4, 0 -/* 8010F23C 0010C19C 41 82 00 88 */ beq lbl_8010F2C4 -/* 8010F240 0010C1A0 7C 04 F8 40 */ cmplw r4, r31 -/* 8010F244 0010C1A4 41 82 00 80 */ beq lbl_8010F2C4 -/* 8010F248 0010C1A8 80 64 00 04 */ lwz r3, 4(r4) -/* 8010F24C 0010C1AC 80 1F 00 04 */ lwz r0, 4(r31) -/* 8010F250 0010C1B0 7C 03 00 00 */ cmpw r3, r0 -/* 8010F254 0010C1B4 40 82 00 70 */ bne lbl_8010F2C4 -/* 8010F258 0010C1B8 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 8010F25C 0010C1BC 7F E5 FB 78 */ mr r5, r31 -/* 8010F260 0010C1C0 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 8010F264 0010C1C4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8010F268 0010C1C8 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8010F26C 0010C1CC 38 9F 04 5C */ addi r4, r31, 0x45c -/* 8010F270 0010C1D0 C0 22 95 40 */ lfs f1, lbl_805AB260@sda21(r2) -/* 8010F274 0010C1D4 38 C1 00 3C */ addi r6, r1, 0x3c -/* 8010F278 0010C1D8 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8010F27C 0010C1DC D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8010F280 0010C1E0 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 8010F284 0010C1E4 48 02 F6 6D */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 8010F288 0010C1E8 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 8010F28C 0010C1EC C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8010F290 0010C1F0 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 8010F294 0010C1F4 EC BF 00 72 */ fmuls f5, f31, f1 -/* 8010F298 0010C1F8 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 8010F29C 0010C1FC EC 9F 00 32 */ fmuls f4, f31, f0 -/* 8010F2A0 0010C200 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 8010F2A4 0010C204 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8010F2A8 0010C208 C0 61 00 90 */ lfs f3, 0x90(r1) -/* 8010F2AC 0010C20C EC 21 28 2A */ fadds f1, f1, f5 -/* 8010F2B0 0010C210 EC 43 10 2A */ fadds f2, f3, f2 -/* 8010F2B4 0010C214 EC 00 20 2A */ fadds f0, f0, f4 -/* 8010F2B8 0010C218 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 8010F2BC 0010C21C D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8010F2C0 0010C220 D0 01 00 98 */ stfs f0, 0x98(r1) -lbl_8010F2C4: -/* 8010F2C4 0010C224 2C 1D FF FF */ cmpwi r29, -1 -/* 8010F2C8 0010C228 41 82 00 14 */ beq lbl_8010F2DC -/* 8010F2CC 0010C22C 57 A3 18 38 */ slwi r3, r29, 3 -/* 8010F2D0 0010C230 38 03 00 08 */ addi r0, r3, 8 -/* 8010F2D4 0010C234 7F BE 02 AE */ lhax r29, r30, r0 -/* 8010F2D8 0010C238 48 00 00 08 */ b lbl_8010F2E0 -lbl_8010F2DC: -/* 8010F2DC 0010C23C 3B A0 FF FF */ li r29, -1 -lbl_8010F2E0: -/* 8010F2E0 0010C240 2C 1D FF FF */ cmpwi r29, -1 -/* 8010F2E4 0010C244 40 82 FF 38 */ bne lbl_8010F21C -/* 8010F2E8 0010C248 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8010F2EC 0010C24C 38 00 00 00 */ li r0, 0 -/* 8010F2F0 0010C250 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 8010F2F4 0010C254 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010F2F8 0010C258 40 82 00 1C */ bne lbl_8010F314 -/* 8010F2FC 0010C25C C0 01 00 94 */ lfs f0, 0x94(r1) -/* 8010F300 0010C260 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010F304 0010C264 40 82 00 10 */ bne lbl_8010F314 -/* 8010F308 0010C268 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 8010F30C 0010C26C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8010F310 0010C270 41 82 00 08 */ beq lbl_8010F318 -lbl_8010F314: -/* 8010F314 0010C274 38 00 00 01 */ li r0, 1 -lbl_8010F318: -/* 8010F318 0010C278 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8010F31C 0010C27C 41 82 00 80 */ beq lbl_8010F39C -/* 8010F320 0010C280 FC 20 F0 90 */ fmr f1, f30 -/* 8010F324 0010C284 7F E4 FB 78 */ mr r4, r31 -/* 8010F328 0010C288 38 61 00 30 */ addi r3, r1, 0x30 -/* 8010F32C 0010C28C 38 A1 00 90 */ addi r5, r1, 0x90 -/* 8010F330 0010C290 48 00 BC D9 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff -/* 8010F334 0010C294 C0 41 00 30 */ lfs f2, 0x30(r1) -/* 8010F338 0010C298 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 8010F33C 0010C29C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8010F340 0010C2A0 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8010F344 0010C2A4 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8010F348 0010C2A8 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8010F34C 0010C2AC 4B F0 C1 E9 */ bl Identity__10CAxisAngleFv -/* 8010F350 0010C2B0 7C 65 1B 78 */ mr r5, r3 -/* 8010F354 0010C2B4 7F E3 FB 78 */ mr r3, r31 -/* 8010F358 0010C2B8 38 81 00 84 */ addi r4, r1, 0x84 -/* 8010F35C 0010C2BC 48 00 D0 3D */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 8010F360 0010C2C0 48 00 00 3C */ b lbl_8010F39C -lbl_8010F364: -/* 8010F364 0010C2C4 88 1F 07 2E */ lbz r0, 0x72e(r31) -/* 8010F368 0010C2C8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8010F36C 0010C2CC 41 82 00 30 */ beq lbl_8010F39C -/* 8010F370 0010C2D0 7F A6 EB 78 */ mr r6, r29 -/* 8010F374 0010C2D4 38 80 00 21 */ li r4, 0x21 -/* 8010F378 0010C2D8 38 A0 00 13 */ li r5, 0x13 -/* 8010F37C 0010C2DC 4B F4 4F 39 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 8010F380 0010C2E0 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8010F384 0010C2E4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8010F388 0010C2E8 41 82 00 14 */ beq lbl_8010F39C -/* 8010F38C 0010C2EC 88 1F 04 01 */ lbz r0, 0x401(r31) -/* 8010F390 0010C2F0 38 60 00 01 */ li r3, 1 -/* 8010F394 0010C2F4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8010F398 0010C2F8 98 1F 04 01 */ stb r0, 0x401(r31) -lbl_8010F39C: -/* 8010F39C 0010C2FC E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 8010F3A0 0010C300 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 8010F3A4 0010C304 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 8010F3A8 0010C308 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 8010F3AC 0010C30C 83 E1 01 0C */ lwz r31, 0x10c(r1) -/* 8010F3B0 0010C310 83 C1 01 08 */ lwz r30, 0x108(r1) -/* 8010F3B4 0010C314 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8010F3B8 0010C318 83 A1 01 04 */ lwz r29, 0x104(r1) -/* 8010F3BC 0010C31C 7C 08 03 A6 */ mtlr r0 -/* 8010F3C0 0010C320 38 21 01 30 */ addi r1, r1, 0x130 -/* 8010F3C4 0010C324 4E 80 00 20 */ blr - -.global AnimOver__8CWarWaspFR13CStateManagerf -AnimOver__8CWarWaspFR13CStateManagerf: -/* 8010F3C8 0010C328 80 03 05 68 */ lwz r0, 0x568(r3) -/* 8010F3CC 0010C32C 20 00 00 03 */ subfic r0, r0, 3 -/* 8010F3D0 0010C330 7C 00 00 34 */ cntlzw r0, r0 -/* 8010F3D4 0010C334 54 03 D9 7E */ srwi r3, r0, 5 -/* 8010F3D8 0010C338 4E 80 00 20 */ blr - -.global InPosition__8CWarWaspFR13CStateManagerf -InPosition__8CWarWaspFR13CStateManagerf: -/* 8010F3DC 0010C33C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8010F3E0 0010C340 7C 08 02 A6 */ mflr r0 -/* 8010F3E4 0010C344 90 01 00 14 */ stw r0, 0x14(r1) -/* 8010F3E8 0010C348 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8010F3EC 0010C34C 7C 7F 1B 78 */ mr r31, r3 -/* 8010F3F0 0010C350 81 83 00 00 */ lwz r12, 0(r3) -/* 8010F3F4 0010C354 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010F3F8 0010C358 7D 89 03 A6 */ mtctr r12 -/* 8010F3FC 0010C35C 4E 80 04 21 */ bctrl -/* 8010F400 0010C360 28 03 00 00 */ cmplwi r3, 0 -/* 8010F404 0010C364 41 82 00 38 */ beq lbl_8010F43C -/* 8010F408 0010C368 7F E3 FB 78 */ mr r3, r31 -/* 8010F40C 0010C36C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8010F410 0010C370 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8010F414 0010C374 7D 89 03 A6 */ mtctr r12 -/* 8010F418 0010C378 4E 80 04 21 */ bctrl -/* 8010F41C 0010C37C 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 8010F420 0010C380 80 63 00 04 */ lwz r3, 4(r3) -/* 8010F424 0010C384 7C A4 FE 70 */ srawi r4, r5, 0x1f -/* 8010F428 0010C388 38 03 FF FF */ addi r0, r3, -1 -/* 8010F42C 0010C38C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8010F430 0010C390 7C 00 28 10 */ subfc r0, r0, r5 -/* 8010F434 0010C394 7C 64 19 14 */ adde r3, r4, r3 -/* 8010F438 0010C398 48 00 00 44 */ b lbl_8010F47C -lbl_8010F43C: -/* 8010F43C 0010C39C C0 3F 06 7C */ lfs f1, 0x67c(r31) -/* 8010F440 0010C3A0 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 8010F444 0010C3A4 C0 7F 06 78 */ lfs f3, 0x678(r31) -/* 8010F448 0010C3A8 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8010F44C 0010C3AC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8010F450 0010C3B0 C0 5F 06 80 */ lfs f2, 0x680(r31) -/* 8010F454 0010C3B4 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8010F458 0010C3B8 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 8010F45C 0010C3BC EC 21 00 72 */ fmuls f1, f1, f1 -/* 8010F460 0010C3C0 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8010F464 0010C3C4 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8010F468 0010C3C8 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 8010F46C 0010C3CC EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8010F470 0010C3D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010F474 0010C3D4 7C 00 00 26 */ mfcr r0 -/* 8010F478 0010C3D8 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_8010F47C: -/* 8010F47C 0010C3DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8010F480 0010C3E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8010F484 0010C3E4 7C 08 03 A6 */ mtlr r0 -/* 8010F488 0010C3E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8010F48C 0010C3EC 4E 80 00 20 */ blr - -.global Leash__8CWarWaspFR13CStateManagerf -Leash__8CWarWaspFR13CStateManagerf: -/* 8010F490 0010C3F0 C0 C3 00 50 */ lfs f6, 0x50(r3) -/* 8010F494 0010C3F4 C0 03 03 A4 */ lfs f0, 0x3a4(r3) -/* 8010F498 0010C3F8 C0 43 03 C8 */ lfs f2, 0x3c8(r3) -/* 8010F49C 0010C3FC EC 60 30 28 */ fsubs f3, f0, f6 -/* 8010F4A0 0010C400 C0 E3 00 40 */ lfs f7, 0x40(r3) -/* 8010F4A4 0010C404 C0 23 03 A0 */ lfs f1, 0x3a0(r3) -/* 8010F4A8 0010C408 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 8010F4AC 0010C40C C0 A3 00 60 */ lfs f5, 0x60(r3) -/* 8010F4B0 0010C410 C0 43 03 A8 */ lfs f2, 0x3a8(r3) -/* 8010F4B4 0010C414 EC 81 38 28 */ fsubs f4, f1, f7 -/* 8010F4B8 0010C418 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 8010F4BC 0010C41C EC 42 28 28 */ fsubs f2, f2, f5 -/* 8010F4C0 0010C420 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 8010F4C4 0010C424 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8010F4C8 0010C428 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010F4CC 0010C42C 40 81 00 5C */ ble lbl_8010F528 -/* 8010F4D0 0010C430 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 8010F4D4 0010C434 38 00 00 00 */ li r0, 0 -/* 8010F4D8 0010C438 C0 03 03 CC */ lfs f0, 0x3cc(r3) -/* 8010F4DC 0010C43C C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8010F4E0 0010C440 C0 44 00 40 */ lfs f2, 0x40(r4) -/* 8010F4E4 0010C444 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8010F4E8 0010C448 EC 61 30 28 */ fsubs f3, f1, f6 -/* 8010F4EC 0010C44C C0 24 00 60 */ lfs f1, 0x60(r4) -/* 8010F4F0 0010C450 EC 82 38 28 */ fsubs f4, f2, f7 -/* 8010F4F4 0010C454 EC 41 28 28 */ fsubs f2, f1, f5 -/* 8010F4F8 0010C458 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 8010F4FC 0010C45C EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 8010F500 0010C460 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8010F504 0010C464 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010F508 0010C468 40 81 00 18 */ ble lbl_8010F520 -/* 8010F50C 0010C46C C0 23 03 D4 */ lfs f1, 0x3d4(r3) -/* 8010F510 0010C470 C0 03 03 D0 */ lfs f0, 0x3d0(r3) -/* 8010F514 0010C474 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010F518 0010C478 40 81 00 08 */ ble lbl_8010F520 -/* 8010F51C 0010C47C 38 00 00 01 */ li r0, 1 -lbl_8010F520: -/* 8010F520 0010C480 7C 03 03 78 */ mr r3, r0 -/* 8010F524 0010C484 4E 80 00 20 */ blr -lbl_8010F528: -/* 8010F528 0010C488 38 60 00 00 */ li r3, 0 -/* 8010F52C 0010C48C 4E 80 00 20 */ blr - -.global ShouldDodge__8CWarWaspFR13CStateManagerf -ShouldDodge__8CWarWaspFR13CStateManagerf: -/* 8010F530 0010C490 94 21 F7 50 */ stwu r1, -0x8b0(r1) -/* 8010F534 0010C494 7C 08 02 A6 */ mflr r0 -/* 8010F538 0010C498 C0 A2 95 18 */ lfs f5, lbl_805AB238@sda21(r2) -/* 8010F53C 0010C49C 90 01 08 B4 */ stw r0, 0x8b4(r1) -/* 8010F540 0010C4A0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8010F544 0010C4A4 93 E1 08 AC */ stw r31, 0x8ac(r1) -/* 8010F548 0010C4A8 7C 9F 23 78 */ mr r31, r4 -/* 8010F54C 0010C4AC 38 81 00 20 */ addi r4, r1, 0x20 -/* 8010F550 0010C4B0 93 C1 08 A8 */ stw r30, 0x8a8(r1) -/* 8010F554 0010C4B4 7C 7E 1B 78 */ mr r30, r3 -/* 8010F558 0010C4B8 93 A1 08 A4 */ stw r29, 0x8a4(r1) -/* 8010F55C 0010C4BC 93 81 08 A0 */ stw r28, 0x8a0(r1) -/* 8010F560 0010C4C0 C0 E3 00 60 */ lfs f7, 0x60(r3) -/* 8010F564 0010C4C4 38 61 00 78 */ addi r3, r1, 0x78 -/* 8010F568 0010C4C8 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8010F56C 0010C4CC EC 07 28 2A */ fadds f0, f7, f5 -/* 8010F570 0010C4D0 C0 DE 00 50 */ lfs f6, 0x50(r30) -/* 8010F574 0010C4D4 EC 81 28 2A */ fadds f4, f1, f5 -/* 8010F578 0010C4D8 EC 41 28 28 */ fsubs f2, f1, f5 -/* 8010F57C 0010C4DC EC 66 28 2A */ fadds f3, f6, f5 -/* 8010F580 0010C4E0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8010F584 0010C4E4 EC 26 28 28 */ fsubs f1, f6, f5 -/* 8010F588 0010C4E8 EC 07 28 28 */ fsubs f0, f7, f5 -/* 8010F58C 0010C4EC D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8010F590 0010C4F0 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8010F594 0010C4F4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8010F598 0010C4F8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8010F59C 0010C4FC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8010F5A0 0010C500 48 22 8F 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8010F5A4 0010C504 38 00 00 00 */ li r0, 0 -/* 8010F5A8 0010C508 80 AD 8A 18 */ lwz r5, lbl_805A75D8@sda21(r13) -/* 8010F5AC 0010C50C 90 01 00 90 */ stw r0, 0x90(r1) -/* 8010F5B0 0010C510 38 60 00 00 */ li r3, 0 -/* 8010F5B4 0010C514 38 80 00 01 */ li r4, 1 -/* 8010F5B8 0010C518 48 27 A9 3D */ bl __shl2i -/* 8010F5BC 0010C51C 39 00 00 01 */ li r8, 1 -/* 8010F5C0 0010C520 38 00 00 00 */ li r0, 0 -/* 8010F5C4 0010C524 90 81 00 64 */ stw r4, 0x64(r1) -/* 8010F5C8 0010C528 38 81 00 90 */ addi r4, r1, 0x90 -/* 8010F5CC 0010C52C 38 A1 00 78 */ addi r5, r1, 0x78 -/* 8010F5D0 0010C530 38 C1 00 60 */ addi r6, r1, 0x60 -/* 8010F5D4 0010C534 90 61 00 60 */ stw r3, 0x60(r1) -/* 8010F5D8 0010C538 7F E3 FB 78 */ mr r3, r31 -/* 8010F5DC 0010C53C 38 E0 00 00 */ li r7, 0 -/* 8010F5E0 0010C540 91 01 00 58 */ stw r8, 0x58(r1) -/* 8010F5E4 0010C544 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8010F5E8 0010C548 90 01 00 68 */ stw r0, 0x68(r1) -/* 8010F5EC 0010C54C 91 01 00 70 */ stw r8, 0x70(r1) -/* 8010F5F0 0010C550 4B F3 D1 31 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8010F5F4 0010C554 80 01 00 90 */ lwz r0, 0x90(r1) -/* 8010F5F8 0010C558 2C 00 00 00 */ cmpwi r0, 0 -/* 8010F5FC 0010C55C 40 81 01 64 */ ble lbl_8010F760 -/* 8010F600 0010C560 C0 5E 00 58 */ lfs f2, 0x58(r30) -/* 8010F604 0010C564 3B A1 00 94 */ addi r29, r1, 0x94 -/* 8010F608 0010C568 C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 8010F60C 0010C56C 7F BC EB 78 */ mr r28, r29 -/* 8010F610 0010C570 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8010F614 0010C574 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8010F618 0010C578 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8010F61C 0010C57C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8010F620 0010C580 48 00 01 2C */ b lbl_8010F74C -lbl_8010F624: -/* 8010F624 0010C584 A0 1C 00 00 */ lhz r0, 0(r28) -/* 8010F628 0010C588 7F E3 FB 78 */ mr r3, r31 -/* 8010F62C 0010C58C 38 81 00 08 */ addi r4, r1, 8 -/* 8010F630 0010C590 B0 01 00 08 */ sth r0, 8(r1) -/* 8010F634 0010C594 4B F3 CF 71 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010F638 0010C598 7C 64 1B 78 */ mr r4, r3 -/* 8010F63C 0010C59C 38 61 00 0C */ addi r3, r1, 0xc -/* 8010F640 0010C5A0 4B F9 E0 CD */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 8010F644 0010C5A4 80 A3 00 04 */ lwz r5, 4(r3) -/* 8010F648 0010C5A8 28 05 00 00 */ cmplwi r5, 0 -/* 8010F64C 0010C5AC 41 82 00 FC */ beq lbl_8010F748 -/* 8010F650 0010C5B0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8010F654 0010C5B4 A0 85 00 EC */ lhz r4, 0xec(r5) -/* 8010F658 0010C5B8 A0 03 00 08 */ lhz r0, 8(r3) -/* 8010F65C 0010C5BC 7C 04 00 40 */ cmplw r4, r0 -/* 8010F660 0010C5C0 40 82 00 E8 */ bne lbl_8010F748 -/* 8010F664 0010C5C4 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8010F668 0010C5C8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8010F66C 0010C5CC C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 8010F670 0010C5D0 38 81 00 2C */ addi r4, r1, 0x2c -/* 8010F674 0010C5D4 C0 65 00 60 */ lfs f3, 0x60(r5) -/* 8010F678 0010C5D8 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8010F67C 0010C5DC EC 81 00 28 */ fsubs f4, f1, f0 -/* 8010F680 0010C5E0 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 8010F684 0010C5E4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8010F688 0010C5E8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8010F68C 0010C5EC EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010F690 0010C5F0 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8010F694 0010C5F4 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8010F698 0010C5F8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8010F69C 0010C5FC 48 20 4F 95 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -/* 8010F6A0 0010C600 C0 02 95 4C */ lfs f0, lbl_805AB26C@sda21(r2) -/* 8010F6A4 0010C604 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010F6A8 0010C608 40 80 00 A0 */ bge lbl_8010F748 -/* 8010F6AC 0010C60C C0 3E 00 44 */ lfs f1, 0x44(r30) -/* 8010F6B0 0010C610 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8010F6B4 0010C614 C0 5E 00 34 */ lfs f2, 0x34(r30) -/* 8010F6B8 0010C618 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8010F6BC 0010C61C C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8010F6C0 0010C620 C0 9E 00 54 */ lfs f4, 0x54(r30) -/* 8010F6C4 0010C624 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 8010F6C8 0010C628 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8010F6CC 0010C62C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010F6D0 0010C630 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 8010F6D4 0010C634 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010F6D8 0010C638 40 81 00 0C */ ble lbl_8010F6E4 -/* 8010F6DC 0010C63C 38 00 00 03 */ li r0, 3 -/* 8010F6E0 0010C640 48 00 00 08 */ b lbl_8010F6E8 -lbl_8010F6E4: -/* 8010F6E4 0010C644 38 00 00 02 */ li r0, 2 -lbl_8010F6E8: -/* 8010F6E8 0010C648 90 1E 07 04 */ stw r0, 0x704(r30) -/* 8010F6EC 0010C64C 38 60 00 00 */ li r3, 0 -/* 8010F6F0 0010C650 80 A1 00 90 */ lwz r5, 0x90(r1) -/* 8010F6F4 0010C654 2C 05 00 00 */ cmpwi r5, 0 -/* 8010F6F8 0010C658 40 81 00 40 */ ble lbl_8010F738 -/* 8010F6FC 0010C65C 2C 05 00 08 */ cmpwi r5, 8 -/* 8010F700 0010C660 38 85 FF F8 */ addi r4, r5, -8 -/* 8010F704 0010C664 40 81 00 20 */ ble lbl_8010F724 -/* 8010F708 0010C668 38 04 00 07 */ addi r0, r4, 7 -/* 8010F70C 0010C66C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8010F710 0010C670 7C 09 03 A6 */ mtctr r0 -/* 8010F714 0010C674 2C 04 00 00 */ cmpwi r4, 0 -/* 8010F718 0010C678 40 81 00 0C */ ble lbl_8010F724 -lbl_8010F71C: -/* 8010F71C 0010C67C 38 63 00 08 */ addi r3, r3, 8 -/* 8010F720 0010C680 42 00 FF FC */ bdnz lbl_8010F71C -lbl_8010F724: -/* 8010F724 0010C684 7C 03 28 50 */ subf r0, r3, r5 -/* 8010F728 0010C688 7C 09 03 A6 */ mtctr r0 -/* 8010F72C 0010C68C 7C 03 28 00 */ cmpw r3, r5 -/* 8010F730 0010C690 40 80 00 08 */ bge lbl_8010F738 -lbl_8010F734: -/* 8010F734 0010C694 42 00 00 00 */ bdnz lbl_8010F734 -lbl_8010F738: -/* 8010F738 0010C698 38 00 00 00 */ li r0, 0 -/* 8010F73C 0010C69C 38 60 00 01 */ li r3, 1 -/* 8010F740 0010C6A0 90 01 00 90 */ stw r0, 0x90(r1) -/* 8010F744 0010C6A4 48 00 00 74 */ b lbl_8010F7B8 -lbl_8010F748: -/* 8010F748 0010C6A8 3B 9C 00 02 */ addi r28, r28, 2 -lbl_8010F74C: -/* 8010F74C 0010C6AC 80 01 00 90 */ lwz r0, 0x90(r1) -/* 8010F750 0010C6B0 54 00 08 3C */ slwi r0, r0, 1 -/* 8010F754 0010C6B4 7C 1D 02 14 */ add r0, r29, r0 -/* 8010F758 0010C6B8 7C 1C 00 40 */ cmplw r28, r0 -/* 8010F75C 0010C6BC 40 82 FE C8 */ bne lbl_8010F624 -lbl_8010F760: -/* 8010F760 0010C6C0 80 A1 00 90 */ lwz r5, 0x90(r1) -/* 8010F764 0010C6C4 38 60 00 00 */ li r3, 0 -/* 8010F768 0010C6C8 2C 05 00 00 */ cmpwi r5, 0 -/* 8010F76C 0010C6CC 40 81 00 40 */ ble lbl_8010F7AC -/* 8010F770 0010C6D0 2C 05 00 08 */ cmpwi r5, 8 -/* 8010F774 0010C6D4 38 85 FF F8 */ addi r4, r5, -8 -/* 8010F778 0010C6D8 40 81 00 20 */ ble lbl_8010F798 -/* 8010F77C 0010C6DC 38 04 00 07 */ addi r0, r4, 7 -/* 8010F780 0010C6E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8010F784 0010C6E4 7C 09 03 A6 */ mtctr r0 -/* 8010F788 0010C6E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8010F78C 0010C6EC 40 81 00 0C */ ble lbl_8010F798 -lbl_8010F790: -/* 8010F790 0010C6F0 38 63 00 08 */ addi r3, r3, 8 -/* 8010F794 0010C6F4 42 00 FF FC */ bdnz lbl_8010F790 -lbl_8010F798: -/* 8010F798 0010C6F8 7C 03 28 50 */ subf r0, r3, r5 -/* 8010F79C 0010C6FC 7C 09 03 A6 */ mtctr r0 -/* 8010F7A0 0010C700 7C 03 28 00 */ cmpw r3, r5 -/* 8010F7A4 0010C704 40 80 00 08 */ bge lbl_8010F7AC -lbl_8010F7A8: -/* 8010F7A8 0010C708 42 00 00 00 */ bdnz lbl_8010F7A8 -lbl_8010F7AC: -/* 8010F7AC 0010C70C 38 00 00 00 */ li r0, 0 -/* 8010F7B0 0010C710 38 60 00 00 */ li r3, 0 -/* 8010F7B4 0010C714 90 01 00 90 */ stw r0, 0x90(r1) -lbl_8010F7B8: -/* 8010F7B8 0010C718 80 01 08 B4 */ lwz r0, 0x8b4(r1) -/* 8010F7BC 0010C71C 83 E1 08 AC */ lwz r31, 0x8ac(r1) -/* 8010F7C0 0010C720 83 C1 08 A8 */ lwz r30, 0x8a8(r1) -/* 8010F7C4 0010C724 83 A1 08 A4 */ lwz r29, 0x8a4(r1) -/* 8010F7C8 0010C728 83 81 08 A0 */ lwz r28, 0x8a0(r1) -/* 8010F7CC 0010C72C 7C 08 03 A6 */ mtlr r0 -/* 8010F7D0 0010C730 38 21 08 B0 */ addi r1, r1, 0x8b0 -/* 8010F7D4 0010C734 4E 80 00 20 */ blr - -.global ShouldTurn__8CWarWaspFR13CStateManagerf -ShouldTurn__8CWarWaspFR13CStateManagerf: -/* 8010F7D8 0010C738 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8010F7DC 0010C73C 7C 08 02 A6 */ mflr r0 -/* 8010F7E0 0010C740 90 01 00 74 */ stw r0, 0x74(r1) -/* 8010F7E4 0010C744 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8010F7E8 0010C748 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8010F7EC 0010C74C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8010F7F0 0010C750 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 8010F7F4 0010C754 7C 7F 1B 78 */ mr r31, r3 -/* 8010F7F8 0010C758 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 8010F7FC 0010C75C FF E0 08 90 */ fmr f31, f1 -/* 8010F800 0010C760 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 8010F804 0010C764 38 61 00 10 */ addi r3, r1, 0x10 -/* 8010F808 0010C768 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8010F80C 0010C76C C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 8010F810 0010C770 EC 44 10 28 */ fsubs f2, f4, f2 -/* 8010F814 0010C774 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 8010F818 0010C778 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 8010F81C 0010C77C EC 20 08 28 */ fsubs f1, f0, f1 -/* 8010F820 0010C780 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8010F824 0010C784 EC 65 18 28 */ fsubs f3, f5, f3 -/* 8010F828 0010C788 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 8010F82C 0010C78C D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 8010F830 0010C790 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8010F834 0010C794 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8010F838 0010C798 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8010F83C 0010C79C 48 20 49 C5 */ bl __ct__9CVector2fFff -/* 8010F840 0010C7A0 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8010F844 0010C7A4 38 61 00 08 */ addi r3, r1, 8 -/* 8010F848 0010C7A8 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8010F84C 0010C7AC D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8010F850 0010C7B0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8010F854 0010C7B4 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 8010F858 0010C7B8 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 8010F85C 0010C7BC C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 8010F860 0010C7C0 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8010F864 0010C7C4 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8010F868 0010C7C8 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8010F86C 0010C7CC 48 20 49 95 */ bl __ct__9CVector2fFff -/* 8010F870 0010C7D0 C0 21 00 08 */ lfs f1, 8(r1) -/* 8010F874 0010C7D4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8010F878 0010C7D8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8010F87C 0010C7DC 38 81 00 20 */ addi r4, r1, 0x20 -/* 8010F880 0010C7E0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8010F884 0010C7E4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8010F888 0010C7E8 48 20 47 3D */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f -/* 8010F88C 0010C7EC C0 02 95 54 */ lfs f0, lbl_805AB274@sda21(r2) -/* 8010F890 0010C7F0 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8010F894 0010C7F4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010F898 0010C7F8 7C 00 00 26 */ mfcr r0 -/* 8010F89C 0010C7FC 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 8010F8A0 0010C800 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8010F8A4 0010C804 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8010F8A8 0010C808 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8010F8AC 0010C80C 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8010F8B0 0010C810 7C 08 03 A6 */ mtlr r0 -/* 8010F8B4 0010C814 38 21 00 70 */ addi r1, r1, 0x70 -/* 8010F8B8 0010C818 4E 80 00 20 */ blr - -.global ShouldSpecialAttack__8CWarWaspFR13CStateManagerf -ShouldSpecialAttack__8CWarWaspFR13CStateManagerf: -/* 8010F8BC 0010C81C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8010F8C0 0010C820 7C 08 02 A6 */ mflr r0 -/* 8010F8C4 0010C824 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8010F8C8 0010C828 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8010F8CC 0010C82C 7C 9F 23 78 */ mr r31, r4 -/* 8010F8D0 0010C830 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8010F8D4 0010C834 7C 7E 1B 78 */ mr r30, r3 -/* 8010F8D8 0010C838 80 03 07 08 */ lwz r0, 0x708(r3) -/* 8010F8DC 0010C83C 2C 00 00 00 */ cmpwi r0, 0 -/* 8010F8E0 0010C840 40 82 02 88 */ bne lbl_8010FB68 -/* 8010F8E4 0010C844 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8010F8E8 0010C848 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 8010F8EC 0010C84C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8010F8F0 0010C850 40 82 02 78 */ bne lbl_8010FB68 -/* 8010F8F4 0010C854 A0 1E 06 74 */ lhz r0, 0x674(r30) -/* 8010F8F8 0010C858 7F E3 FB 78 */ mr r3, r31 -/* 8010F8FC 0010C85C 38 81 00 28 */ addi r4, r1, 0x28 -/* 8010F900 0010C860 B0 01 00 28 */ sth r0, 0x28(r1) -/* 8010F904 0010C864 4B F3 CC A1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010F908 0010C868 7C 64 1B 78 */ mr r4, r3 -/* 8010F90C 0010C86C 38 61 00 3C */ addi r3, r1, 0x3c -/* 8010F910 0010C870 4B F9 7C 65 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010F914 0010C874 80 03 00 04 */ lwz r0, 4(r3) -/* 8010F918 0010C878 28 00 00 00 */ cmplwi r0, 0 -/* 8010F91C 0010C87C 41 82 02 4C */ beq lbl_8010FB68 -/* 8010F920 0010C880 80 BE 07 08 */ lwz r5, 0x708(r30) -/* 8010F924 0010C884 7F C3 F3 78 */ mr r3, r30 -/* 8010F928 0010C888 7F E4 FB 78 */ mr r4, r31 -/* 8010F92C 0010C88C 4B FF BB 05 */ bl CheckCircleAttackSpread__8CWarWaspFR13CStateManageri -/* 8010F930 0010C890 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010F934 0010C894 41 82 02 34 */ beq lbl_8010FB68 -/* 8010F938 0010C898 80 DE 07 08 */ lwz r6, 0x708(r30) -/* 8010F93C 0010C89C 7F C4 F3 78 */ mr r4, r30 -/* 8010F940 0010C8A0 7F E5 FB 78 */ mr r5, r31 -/* 8010F944 0010C8A4 38 61 00 24 */ addi r3, r1, 0x24 -/* 8010F948 0010C8A8 4B FF B7 41 */ bl GetAttackTeamLeader__8CWarWaspFR13CStateManageri -/* 8010F94C 0010C8AC A0 61 00 24 */ lhz r3, 0x24(r1) -/* 8010F950 0010C8B0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8010F954 0010C8B4 B0 61 00 2C */ sth r3, 0x2c(r1) -/* 8010F958 0010C8B8 7C 03 00 40 */ cmplw r3, r0 -/* 8010F95C 0010C8BC 40 82 01 AC */ bne lbl_8010FB08 -/* 8010F960 0010C8C0 C0 3E 07 00 */ lfs f1, 0x700(r30) -/* 8010F964 0010C8C4 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010F968 0010C8C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010F96C 0010C8CC 4C 40 13 82 */ cror 2, 0, 2 -/* 8010F970 0010C8D0 40 82 01 F8 */ bne lbl_8010FB68 -/* 8010F974 0010C8D4 C0 3E 06 B0 */ lfs f1, 0x6b0(r30) -/* 8010F978 0010C8D8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8010F97C 0010C8DC C0 5E 06 B4 */ lfs f2, 0x6b4(r30) -/* 8010F980 0010C8E0 48 20 48 81 */ bl __ct__9CVector2fFff -/* 8010F984 0010C8E4 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 8010F988 0010C8E8 38 61 00 4C */ addi r3, r1, 0x4c -/* 8010F98C 0010C8EC C0 44 00 50 */ lfs f2, 0x50(r4) -/* 8010F990 0010C8F0 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 8010F994 0010C8F4 C0 04 00 60 */ lfs f0, 0x60(r4) -/* 8010F998 0010C8F8 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8010F99C 0010C8FC D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 8010F9A0 0010C900 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 8010F9A4 0010C904 48 20 48 5D */ bl __ct__9CVector2fFff -/* 8010F9A8 0010C908 38 61 00 54 */ addi r3, r1, 0x54 -/* 8010F9AC 0010C90C 38 81 00 4C */ addi r4, r1, 0x4c -/* 8010F9B0 0010C910 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8010F9B4 0010C914 48 20 45 85 */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8010F9B8 0010C918 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 8010F9BC 0010C91C 38 61 00 5C */ addi r3, r1, 0x5c -/* 8010F9C0 0010C920 C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8010F9C4 0010C924 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 8010F9C8 0010C928 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8010F9CC 0010C92C 48 20 47 11 */ bl MagSquared__9CVector2fCFv -/* 8010F9D0 0010C930 C0 02 95 58 */ lfs f0, lbl_805AB278@sda21(r2) -/* 8010F9D4 0010C934 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010F9D8 0010C938 40 80 01 90 */ bge lbl_8010FB68 -/* 8010F9DC 0010C93C C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8010F9E0 0010C940 C0 3E 06 B4 */ lfs f1, 0x6b4(r30) -/* 8010F9E4 0010C944 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 8010F9E8 0010C948 C0 1E 06 B8 */ lfs f0, 0x6b8(r30) -/* 8010F9EC 0010C94C EC 82 08 28 */ fsubs f4, f2, f1 -/* 8010F9F0 0010C950 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 8010F9F4 0010C954 C0 3E 06 B0 */ lfs f1, 0x6b0(r30) -/* 8010F9F8 0010C958 EC 63 00 28 */ fsubs f3, f3, f0 -/* 8010F9FC 0010C95C C0 02 95 5C */ lfs f0, lbl_805AB27C@sda21(r2) -/* 8010FA00 0010C960 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8010FA04 0010C964 D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 8010FA08 0010C968 D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 8010FA0C 0010C96C D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 8010FA10 0010C970 C0 3E 06 BC */ lfs f1, 0x6bc(r30) -/* 8010FA14 0010C974 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 8010FA18 0010C978 C0 3E 06 C0 */ lfs f1, 0x6c0(r30) -/* 8010FA1C 0010C97C D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8010FA20 0010C980 C0 3E 06 C4 */ lfs f1, 0x6c4(r30) -/* 8010FA24 0010C984 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8010FA28 0010C988 C0 3E 07 18 */ lfs f1, 0x718(r30) -/* 8010FA2C 0010C98C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010FA30 0010C990 4C 40 13 82 */ cror 2, 0, 2 -/* 8010FA34 0010C994 40 82 00 38 */ bne lbl_8010FA6C -/* 8010FA38 0010C998 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 8010FA3C 0010C99C 38 61 00 7C */ addi r3, r1, 0x7c -/* 8010FA40 0010C9A0 38 9E 06 C8 */ addi r4, r30, 0x6c8 -/* 8010FA44 0010C9A4 38 BE 06 BC */ addi r5, r30, 0x6bc -/* 8010FA48 0010C9A8 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8010FA4C 0010C9AC 48 20 4F 09 */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle -/* 8010FA50 0010C9B0 C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 8010FA54 0010C9B4 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 8010FA58 0010C9B8 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 8010FA5C 0010C9BC D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8010FA60 0010C9C0 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8010FA64 0010C9C4 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8010FA68 0010C9C8 48 00 00 5C */ b lbl_8010FAC4 -lbl_8010FA6C: -/* 8010FA6C 0010C9CC EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010FA70 0010C9D0 38 61 00 70 */ addi r3, r1, 0x70 -/* 8010FA74 0010C9D4 38 9E 06 BC */ addi r4, r30, 0x6bc -/* 8010FA78 0010C9D8 38 A1 00 64 */ addi r5, r1, 0x64 -/* 8010FA7C 0010C9DC 38 C1 00 34 */ addi r6, r1, 0x34 -/* 8010FA80 0010C9E0 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8010FA84 0010C9E4 C0 5E 06 D0 */ lfs f2, 0x6d0(r30) -/* 8010FA88 0010C9E8 C0 3E 06 CC */ lfs f1, 0x6cc(r30) -/* 8010FA8C 0010C9EC C0 1E 06 C8 */ lfs f0, 0x6c8(r30) -/* 8010FA90 0010C9F0 FC 40 10 50 */ fneg f2, f2 -/* 8010FA94 0010C9F4 FC 20 08 50 */ fneg f1, f1 -/* 8010FA98 0010C9F8 FC 00 00 50 */ fneg f0, f0 -/* 8010FA9C 0010C9FC D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8010FAA0 0010CA00 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8010FAA4 0010CA04 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 8010FAA8 0010CA08 48 20 4E AD */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle -/* 8010FAAC 0010CA0C C0 41 00 70 */ lfs f2, 0x70(r1) -/* 8010FAB0 0010CA10 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 8010FAB4 0010CA14 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8010FAB8 0010CA18 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8010FABC 0010CA1C D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8010FAC0 0010CA20 D0 01 00 9C */ stfs f0, 0x9c(r1) -lbl_8010FAC4: -/* 8010FAC4 0010CA24 38 61 00 94 */ addi r3, r1, 0x94 -/* 8010FAC8 0010CA28 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 8010FACC 0010CA2C 48 20 4B 65 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -/* 8010FAD0 0010CA30 C0 02 94 E8 */ lfs f0, lbl_805AB208@sda21(r2) -/* 8010FAD4 0010CA34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010FAD8 0010CA38 40 80 00 90 */ bge lbl_8010FB68 -/* 8010FADC 0010CA3C A0 FE 00 08 */ lhz r7, 8(r30) -/* 8010FAE0 0010CA40 7F E4 FB 78 */ mr r4, r31 -/* 8010FAE4 0010CA44 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8010FAE8 0010CA48 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8010FAEC 0010CA4C B0 E1 00 1C */ sth r7, 0x1c(r1) -/* 8010FAF0 0010CA50 38 60 00 00 */ li r3, 0 -/* 8010FAF4 0010CA54 A0 1E 06 74 */ lhz r0, 0x674(r30) -/* 8010FAF8 0010CA58 B0 E1 00 18 */ sth r7, 0x18(r1) -/* 8010FAFC 0010CA5C B0 01 00 20 */ sth r0, 0x20(r1) -/* 8010FB00 0010CA60 48 12 A4 F1 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId -/* 8010FB04 0010CA64 48 00 00 68 */ b lbl_8010FB6C -lbl_8010FB08: -/* 8010FB08 0010CA68 B0 61 00 14 */ sth r3, 0x14(r1) -/* 8010FB0C 0010CA6C 7F E3 FB 78 */ mr r3, r31 -/* 8010FB10 0010CA70 38 81 00 14 */ addi r4, r1, 0x14 -/* 8010FB14 0010CA74 4B F3 CA 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8010FB18 0010CA78 7C 64 1B 78 */ mr r4, r3 -/* 8010FB1C 0010CA7C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8010FB20 0010CA80 4B F9 58 49 */ bl sub_800a5368 -/* 8010FB24 0010CA84 4B F9 58 19 */ bl "CastTo<8CWarWasp>__10CPatternedFP7CEntity" -/* 8010FB28 0010CA88 28 03 00 00 */ cmplwi r3, 0 -/* 8010FB2C 0010CA8C 41 82 00 3C */ beq lbl_8010FB68 -/* 8010FB30 0010CA90 88 03 07 2E */ lbz r0, 0x72e(r3) -/* 8010FB34 0010CA94 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8010FB38 0010CA98 41 82 00 30 */ beq lbl_8010FB68 -/* 8010FB3C 0010CA9C A0 FE 00 08 */ lhz r7, 8(r30) -/* 8010FB40 0010CAA0 7F E4 FB 78 */ mr r4, r31 -/* 8010FB44 0010CAA4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8010FB48 0010CAA8 38 C1 00 0C */ addi r6, r1, 0xc -/* 8010FB4C 0010CAAC B0 E1 00 0C */ sth r7, 0xc(r1) -/* 8010FB50 0010CAB0 38 60 00 00 */ li r3, 0 -/* 8010FB54 0010CAB4 A0 1E 06 74 */ lhz r0, 0x674(r30) -/* 8010FB58 0010CAB8 B0 E1 00 08 */ sth r7, 8(r1) -/* 8010FB5C 0010CABC B0 01 00 10 */ sth r0, 0x10(r1) -/* 8010FB60 0010CAC0 48 12 A4 91 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId -/* 8010FB64 0010CAC4 48 00 00 08 */ b lbl_8010FB6C -lbl_8010FB68: -/* 8010FB68 0010CAC8 38 60 00 00 */ li r3, 0 -lbl_8010FB6C: -/* 8010FB6C 0010CACC 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8010FB70 0010CAD0 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8010FB74 0010CAD4 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8010FB78 0010CAD8 7C 08 03 A6 */ mtlr r0 -/* 8010FB7C 0010CADC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8010FB80 0010CAE0 4E 80 00 20 */ blr - -.global ShouldFire__8CWarWaspFR13CStateManagerf -ShouldFire__8CWarWaspFR13CStateManagerf: -/* 8010FB84 0010CAE4 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8010FB88 0010CAE8 7C 08 02 A6 */ mflr r0 -/* 8010FB8C 0010CAEC 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8010FB90 0010CAF0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8010FB94 0010CAF4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8010FB98 0010CAF8 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8010FB9C 0010CAFC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8010FBA0 0010CB00 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8010FBA4 0010CB04 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8010FBA8 0010CB08 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8010FBAC 0010CB0C 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8010FBB0 0010CB10 7C 7E 1B 78 */ mr r30, r3 -/* 8010FBB4 0010CB14 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010FBB8 0010CB18 C0 23 07 00 */ lfs f1, 0x700(r3) -/* 8010FBBC 0010CB1C 7C 9F 23 78 */ mr r31, r4 -/* 8010FBC0 0010CB20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010FBC4 0010CB24 4C 40 13 82 */ cror 2, 0, 2 -/* 8010FBC8 0010CB28 40 82 01 B4 */ bne lbl_8010FD7C -/* 8010FBCC 0010CB2C A0 DE 00 08 */ lhz r6, 8(r30) -/* 8010FBD0 0010CB30 7F E3 FB 78 */ mr r3, r31 -/* 8010FBD4 0010CB34 38 81 00 14 */ addi r4, r1, 0x14 -/* 8010FBD8 0010CB38 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8010FBDC 0010CB3C B0 C1 00 10 */ sth r6, 0x10(r1) -/* 8010FBE0 0010CB40 A0 1E 06 74 */ lhz r0, 0x674(r30) -/* 8010FBE4 0010CB44 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8010FBE8 0010CB48 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8010FBEC 0010CB4C 48 12 A5 95 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId -/* 8010FBF0 0010CB50 28 03 00 00 */ cmplwi r3, 0 -/* 8010FBF4 0010CB54 41 82 00 E0 */ beq lbl_8010FCD4 -/* 8010FBF8 0010CB58 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8010FBFC 0010CB5C 2C 00 00 02 */ cmpwi r0, 2 -/* 8010FC00 0010CB60 40 82 01 7C */ bne lbl_8010FD7C -/* 8010FC04 0010CB64 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010FC08 0010CB68 7F C4 F3 78 */ mr r4, r30 -/* 8010FC0C 0010CB6C 7F E5 FB 78 */ mr r5, r31 -/* 8010FC10 0010CB70 38 61 00 44 */ addi r3, r1, 0x44 -/* 8010FC14 0010CB74 4B FF C2 8D */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010FC18 0010CB78 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8010FC1C 0010CB7C 38 61 00 5C */ addi r3, r1, 0x5c -/* 8010FC20 0010CB80 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 8010FC24 0010CB84 C0 61 00 4C */ lfs f3, 0x4c(r1) -/* 8010FC28 0010CB88 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8010FC2C 0010CB8C EC 81 00 28 */ fsubs f4, f1, f0 -/* 8010FC30 0010CB90 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8010FC34 0010CB94 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 8010FC38 0010CB98 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8010FC3C 0010CB9C D0 81 00 60 */ stfs f4, 0x60(r1) -/* 8010FC40 0010CBA0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010FC44 0010CBA4 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8010FC48 0010CBA8 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8010FC4C 0010CBAC C3 BE 00 58 */ lfs f29, 0x58(r30) -/* 8010FC50 0010CBB0 C3 DE 00 48 */ lfs f30, 0x48(r30) -/* 8010FC54 0010CBB4 C3 FE 00 38 */ lfs f31, 0x38(r30) -/* 8010FC58 0010CBB8 48 20 4A A1 */ bl CanBeNormalized__9CVector3fCFv -/* 8010FC5C 0010CBBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010FC60 0010CBC0 41 82 01 1C */ beq lbl_8010FD7C -/* 8010FC64 0010CBC4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8010FC68 0010CBC8 38 81 00 5C */ addi r4, r1, 0x5c -/* 8010FC6C 0010CBCC 48 20 4B E5 */ bl AsNormalized__9CVector3fCFv -/* 8010FC70 0010CBD0 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8010FC74 0010CBD4 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 8010FC78 0010CBD8 EC 3E 00 32 */ fmuls f1, f30, f0 -/* 8010FC7C 0010CBDC C0 61 00 40 */ lfs f3, 0x40(r1) -/* 8010FC80 0010CBE0 C0 02 95 60 */ lfs f0, lbl_805AB280@sda21(r2) -/* 8010FC84 0010CBE4 EC 3F 08 BA */ fmadds f1, f31, f2, f1 -/* 8010FC88 0010CBE8 EC 3D 08 FA */ fmadds f1, f29, f3, f1 -/* 8010FC8C 0010CBEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010FC90 0010CBF0 4C 41 13 82 */ cror 2, 1, 2 -/* 8010FC94 0010CBF4 40 82 00 E8 */ bne lbl_8010FD7C -/* 8010FC98 0010CBF8 A0 1E 06 74 */ lhz r0, 0x674(r30) -/* 8010FC9C 0010CBFC 7F E3 FB 78 */ mr r3, r31 -/* 8010FCA0 0010CC00 38 81 00 08 */ addi r4, r1, 8 -/* 8010FCA4 0010CC04 B0 01 00 08 */ sth r0, 8(r1) -/* 8010FCA8 0010CC08 4B F3 C8 CD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8010FCAC 0010CC0C 7C 64 1B 78 */ mr r4, r3 -/* 8010FCB0 0010CC10 38 61 00 18 */ addi r3, r1, 0x18 -/* 8010FCB4 0010CC14 4B F9 78 C1 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010FCB8 0010CC18 80 63 00 04 */ lwz r3, 4(r3) -/* 8010FCBC 0010CC1C 28 03 00 00 */ cmplwi r3, 0 -/* 8010FCC0 0010CC20 41 82 00 BC */ beq lbl_8010FD7C -/* 8010FCC4 0010CC24 80 03 00 7C */ lwz r0, 0x7c(r3) -/* 8010FCC8 0010CC28 7C 00 00 34 */ cntlzw r0, r0 -/* 8010FCCC 0010CC2C 54 03 D9 7E */ srwi r3, r0, 5 -/* 8010FCD0 0010CC30 48 00 00 B0 */ b lbl_8010FD80 -lbl_8010FCD4: -/* 8010FCD4 0010CC34 80 1E 03 FC */ lwz r0, 0x3fc(r30) -/* 8010FCD8 0010CC38 2C 00 00 02 */ cmpwi r0, 2 -/* 8010FCDC 0010CC3C 40 82 00 A0 */ bne lbl_8010FD7C -/* 8010FCE0 0010CC40 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010FCE4 0010CC44 7F C4 F3 78 */ mr r4, r30 -/* 8010FCE8 0010CC48 7F E5 FB 78 */ mr r5, r31 -/* 8010FCEC 0010CC4C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8010FCF0 0010CC50 4B FF C1 B1 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010FCF4 0010CC54 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 8010FCF8 0010CC58 38 61 00 50 */ addi r3, r1, 0x50 -/* 8010FCFC 0010CC5C C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 8010FD00 0010CC60 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 8010FD04 0010CC64 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8010FD08 0010CC68 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8010FD0C 0010CC6C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8010FD10 0010CC70 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8010FD14 0010CC74 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8010FD18 0010CC78 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 8010FD1C 0010CC7C EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010FD20 0010CC80 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8010FD24 0010CC84 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8010FD28 0010CC88 C3 FE 00 58 */ lfs f31, 0x58(r30) -/* 8010FD2C 0010CC8C C3 DE 00 48 */ lfs f30, 0x48(r30) -/* 8010FD30 0010CC90 C3 BE 00 38 */ lfs f29, 0x38(r30) -/* 8010FD34 0010CC94 48 20 49 C5 */ bl CanBeNormalized__9CVector3fCFv -/* 8010FD38 0010CC98 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8010FD3C 0010CC9C 41 82 00 40 */ beq lbl_8010FD7C -/* 8010FD40 0010CCA0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010FD44 0010CCA4 38 81 00 50 */ addi r4, r1, 0x50 -/* 8010FD48 0010CCA8 48 20 4B 09 */ bl AsNormalized__9CVector3fCFv -/* 8010FD4C 0010CCAC C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8010FD50 0010CCB0 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8010FD54 0010CCB4 EC 3E 00 32 */ fmuls f1, f30, f0 -/* 8010FD58 0010CCB8 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 8010FD5C 0010CCBC C0 02 95 60 */ lfs f0, lbl_805AB280@sda21(r2) -/* 8010FD60 0010CCC0 EC 3D 08 BA */ fmadds f1, f29, f2, f1 -/* 8010FD64 0010CCC4 EC 3F 08 FA */ fmadds f1, f31, f3, f1 -/* 8010FD68 0010CCC8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010FD6C 0010CCCC 4C 41 13 82 */ cror 2, 1, 2 -/* 8010FD70 0010CCD0 7C 00 00 26 */ mfcr r0 -/* 8010FD74 0010CCD4 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 8010FD78 0010CCD8 48 00 00 08 */ b lbl_8010FD80 -lbl_8010FD7C: -/* 8010FD7C 0010CCDC 38 60 00 00 */ li r3, 0 -lbl_8010FD80: -/* 8010FD80 0010CCE0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8010FD84 0010CCE4 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8010FD88 0010CCE8 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8010FD8C 0010CCEC CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8010FD90 0010CCF0 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8010FD94 0010CCF4 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8010FD98 0010CCF8 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8010FD9C 0010CCFC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8010FDA0 0010CD00 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8010FDA4 0010CD04 7C 08 03 A6 */ mtlr r0 -/* 8010FDA8 0010CD08 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8010FDAC 0010CD0C 4E 80 00 20 */ blr - -.global ShouldAttack__8CWarWaspFR13CStateManagerf -ShouldAttack__8CWarWaspFR13CStateManagerf: -/* 8010FDB0 0010CD10 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8010FDB4 0010CD14 7C 08 02 A6 */ mflr r0 -/* 8010FDB8 0010CD18 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 8010FDBC 0010CD1C 90 01 00 64 */ stw r0, 0x64(r1) -/* 8010FDC0 0010CD20 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8010FDC4 0010CD24 7C 9F 23 78 */ mr r31, r4 -/* 8010FDC8 0010CD28 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8010FDCC 0010CD2C 7C 7E 1B 78 */ mr r30, r3 -/* 8010FDD0 0010CD30 C0 23 07 00 */ lfs f1, 0x700(r3) -/* 8010FDD4 0010CD34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8010FDD8 0010CD38 4C 40 13 82 */ cror 2, 0, 2 -/* 8010FDDC 0010CD3C 40 82 01 40 */ bne lbl_8010FF1C -/* 8010FDE0 0010CD40 A0 DE 00 08 */ lhz r6, 8(r30) -/* 8010FDE4 0010CD44 7F E3 FB 78 */ mr r3, r31 -/* 8010FDE8 0010CD48 38 81 00 14 */ addi r4, r1, 0x14 -/* 8010FDEC 0010CD4C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8010FDF0 0010CD50 B0 C1 00 10 */ sth r6, 0x10(r1) -/* 8010FDF4 0010CD54 A0 1E 06 74 */ lhz r0, 0x674(r30) -/* 8010FDF8 0010CD58 B0 C1 00 0C */ sth r6, 0xc(r1) -/* 8010FDFC 0010CD5C B0 01 00 14 */ sth r0, 0x14(r1) -/* 8010FE00 0010CD60 48 12 A3 81 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId -/* 8010FE04 0010CD64 28 03 00 00 */ cmplwi r3, 0 -/* 8010FE08 0010CD68 41 82 00 A8 */ beq lbl_8010FEB0 -/* 8010FE0C 0010CD6C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8010FE10 0010CD70 2C 00 00 01 */ cmpwi r0, 1 -/* 8010FE14 0010CD74 40 82 01 08 */ bne lbl_8010FF1C -/* 8010FE18 0010CD78 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8010FE1C 0010CD7C 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 8010FE20 0010CD80 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8010FE24 0010CD84 40 82 00 F8 */ bne lbl_8010FF1C -/* 8010FE28 0010CD88 A0 1E 06 74 */ lhz r0, 0x674(r30) -/* 8010FE2C 0010CD8C 7F E3 FB 78 */ mr r3, r31 -/* 8010FE30 0010CD90 38 81 00 08 */ addi r4, r1, 8 -/* 8010FE34 0010CD94 B0 01 00 08 */ sth r0, 8(r1) -/* 8010FE38 0010CD98 4B F3 C7 3D */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8010FE3C 0010CD9C 7C 64 1B 78 */ mr r4, r3 -/* 8010FE40 0010CDA0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8010FE44 0010CDA4 4B F9 77 31 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8010FE48 0010CDA8 80 63 00 04 */ lwz r3, 4(r3) -/* 8010FE4C 0010CDAC 28 03 00 00 */ cmplwi r3, 0 -/* 8010FE50 0010CDB0 41 82 00 CC */ beq lbl_8010FF1C -/* 8010FE54 0010CDB4 80 03 00 6C */ lwz r0, 0x6c(r3) -/* 8010FE58 0010CDB8 28 00 00 00 */ cmplwi r0, 0 -/* 8010FE5C 0010CDBC 40 82 00 C0 */ bne lbl_8010FF1C -/* 8010FE60 0010CDC0 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 8010FE64 0010CDC4 7F C4 F3 78 */ mr r4, r30 -/* 8010FE68 0010CDC8 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8010FE6C 0010CDCC 7F E5 FB 78 */ mr r5, r31 -/* 8010FE70 0010CDD0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8010FE74 0010CDD4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8010FE78 0010CDD8 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010FE7C 0010CDDC D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8010FE80 0010CDE0 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8010FE84 0010CDE4 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 8010FE88 0010CDE8 4B FF C0 19 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010FE8C 0010CDEC 7F C3 F3 78 */ mr r3, r30 -/* 8010FE90 0010CDF0 7F E4 FB 78 */ mr r4, r31 -/* 8010FE94 0010CDF4 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8010FE98 0010CDF8 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8010FE9C 0010CDFC 48 0E 4F 35 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f -/* 8010FEA0 0010CE00 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8010FEA4 0010CE04 7C 00 00 34 */ cntlzw r0, r0 -/* 8010FEA8 0010CE08 54 03 D9 7E */ srwi r3, r0, 5 -/* 8010FEAC 0010CE0C 48 00 00 74 */ b lbl_8010FF20 -lbl_8010FEB0: -/* 8010FEB0 0010CE10 80 1E 03 FC */ lwz r0, 0x3fc(r30) -/* 8010FEB4 0010CE14 2C 00 00 02 */ cmpwi r0, 2 -/* 8010FEB8 0010CE18 41 82 00 64 */ beq lbl_8010FF1C -/* 8010FEBC 0010CE1C 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8010FEC0 0010CE20 88 03 09 C4 */ lbz r0, 0x9c4(r3) -/* 8010FEC4 0010CE24 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 8010FEC8 0010CE28 40 82 00 54 */ bne lbl_8010FF1C -/* 8010FECC 0010CE2C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 8010FED0 0010CE30 7F C4 F3 78 */ mr r4, r30 -/* 8010FED4 0010CE34 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8010FED8 0010CE38 7F E5 FB 78 */ mr r5, r31 -/* 8010FEDC 0010CE3C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8010FEE0 0010CE40 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010FEE4 0010CE44 C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010FEE8 0010CE48 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8010FEEC 0010CE4C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8010FEF0 0010CE50 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8010FEF4 0010CE54 4B FF BF AD */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010FEF8 0010CE58 7F C3 F3 78 */ mr r3, r30 -/* 8010FEFC 0010CE5C 7F E4 FB 78 */ mr r4, r31 -/* 8010FF00 0010CE60 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8010FF04 0010CE64 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8010FF08 0010CE68 48 0E 4E C9 */ bl IsPatternObstructed__10CPatternedCFR13CStateManagerRC9CVector3fRC9CVector3f -/* 8010FF0C 0010CE6C 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 8010FF10 0010CE70 7C 00 00 34 */ cntlzw r0, r0 -/* 8010FF14 0010CE74 54 03 D9 7E */ srwi r3, r0, 5 -/* 8010FF18 0010CE78 48 00 00 08 */ b lbl_8010FF20 -lbl_8010FF1C: -/* 8010FF1C 0010CE7C 38 60 00 00 */ li r3, 0 -lbl_8010FF20: -/* 8010FF20 0010CE80 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8010FF24 0010CE84 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8010FF28 0010CE88 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8010FF2C 0010CE8C 7C 08 03 A6 */ mtlr r0 -/* 8010FF30 0010CE90 38 21 00 60 */ addi r1, r1, 0x60 -/* 8010FF34 0010CE94 4E 80 00 20 */ blr - -.global InAttackPosition__8CWarWaspFR13CStateManagerf -InAttackPosition__8CWarWaspFR13CStateManagerf: -/* 8010FF38 0010CE98 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8010FF3C 0010CE9C 7C 08 02 A6 */ mflr r0 -/* 8010FF40 0010CEA0 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8010FF44 0010CEA4 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8010FF48 0010CEA8 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8010FF4C 0010CEAC 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8010FF50 0010CEB0 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8010FF54 0010CEB4 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8010FF58 0010CEB8 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 8010FF5C 0010CEBC 7C 7C 1B 78 */ mr r28, r3 -/* 8010FF60 0010CEC0 7C 9D 23 78 */ mr r29, r4 -/* 8010FF64 0010CEC4 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 8010FF68 0010CEC8 7F 84 E3 78 */ mr r4, r28 -/* 8010FF6C 0010CECC C0 43 00 50 */ lfs f2, 0x50(r3) -/* 8010FF70 0010CED0 7F A5 EB 78 */ mr r5, r29 -/* 8010FF74 0010CED4 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8010FF78 0010CED8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8010FF7C 0010CEDC C0 22 95 14 */ lfs f1, lbl_805AB234@sda21(r2) -/* 8010FF80 0010CEE0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8010FF84 0010CEE4 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8010FF88 0010CEE8 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 8010FF8C 0010CEEC 4B FF BF 15 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 8010FF90 0010CEF0 C3 E1 00 28 */ lfs f31, 0x28(r1) -/* 8010FF94 0010CEF4 3B E0 00 00 */ li r31, 0 -/* 8010FF98 0010CEF8 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8010FF9C 0010CEFC C0 41 00 24 */ lfs f2, 0x24(r1) -/* 8010FFA0 0010CF00 EC 9F 00 28 */ fsubs f4, f31, f0 -/* 8010FFA4 0010CF04 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8010FFA8 0010CF08 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8010FFAC 0010CF0C EC 42 00 28 */ fsubs f2, f2, f0 -/* 8010FFB0 0010CF10 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8010FFB4 0010CF14 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 8010FFB8 0010CF18 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8010FFBC 0010CF1C C0 22 95 40 */ lfs f1, lbl_805AB260@sda21(r2) -/* 8010FFC0 0010CF20 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8010FFC4 0010CF24 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8010FFC8 0010CF28 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8010FFCC 0010CF2C EC 60 00 32 */ fmuls f3, f0, f0 -/* 8010FFD0 0010CF30 EC 84 01 32 */ fmuls f4, f4, f4 -/* 8010FFD4 0010CF34 C0 1C 02 FC */ lfs f0, 0x2fc(r28) -/* 8010FFD8 0010CF38 EC 43 10 2A */ fadds f2, f3, f2 -/* 8010FFDC 0010CF3C EC 00 08 28 */ fsubs f0, f0, f1 -/* 8010FFE0 0010CF40 EC 44 10 2A */ fadds f2, f4, f2 -/* 8010FFE4 0010CF44 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8010FFE8 0010CF48 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8010FFEC 0010CF4C 40 81 00 40 */ ble lbl_8011002C -/* 8010FFF0 0010CF50 C0 1C 03 00 */ lfs f0, 0x300(r28) -/* 8010FFF4 0010CF54 EC 01 00 2A */ fadds f0, f1, f0 -/* 8010FFF8 0010CF58 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8010FFFC 0010CF5C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80110000 0010CF60 40 80 00 2C */ bge lbl_8011002C -/* 80110004 0010CF64 7F 83 E3 78 */ mr r3, r28 -/* 80110008 0010CF68 7F A4 EB 78 */ mr r4, r29 -/* 8011000C 0010CF6C 81 9C 00 00 */ lwz r12, 0(r28) -/* 80110010 0010CF70 C0 22 95 64 */ lfs f1, lbl_805AB284@sda21(r2) -/* 80110014 0010CF74 81 8C 01 E8 */ lwz r12, 0x1e8(r12) -/* 80110018 0010CF78 7D 89 03 A6 */ mtctr r12 -/* 8011001C 0010CF7C 4E 80 04 21 */ bctrl -/* 80110020 0010CF80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80110024 0010CF84 40 82 00 08 */ bne lbl_8011002C -/* 80110028 0010CF88 3B E0 00 01 */ li r31, 1 -lbl_8011002C: -/* 8011002C 0010CF8C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80110030 0010CF90 7F FE FB 78 */ mr r30, r31 -/* 80110034 0010CF94 41 82 01 14 */ beq lbl_80110148 -/* 80110038 0010CF98 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 8011003C 0010CF9C 38 60 00 00 */ li r3, 0 -/* 80110040 0010CFA0 C0 7C 00 60 */ lfs f3, 0x60(r28) -/* 80110044 0010CFA4 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 80110048 0010CFA8 C0 5C 00 50 */ lfs f2, 0x50(r28) -/* 8011004C 0010CFAC C0 3C 00 40 */ lfs f1, 0x40(r28) -/* 80110050 0010CFB0 FC 03 28 40 */ fcmpo cr0, f3, f5 -/* 80110054 0010CFB4 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 80110058 0010CFB8 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8011005C 0010CFBC D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80110060 0010CFC0 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80110064 0010CFC4 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80110068 0010CFC8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8011006C 0010CFCC D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80110070 0010CFD0 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 80110074 0010CFD4 40 81 00 18 */ ble lbl_8011008C -/* 80110078 0010CFD8 C0 02 95 28 */ lfs f0, lbl_805AB248@sda21(r2) -/* 8011007C 0010CFDC EC 00 F8 2A */ fadds f0, f0, f31 -/* 80110080 0010CFE0 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80110084 0010CFE4 40 80 00 08 */ bge lbl_8011008C -/* 80110088 0010CFE8 38 60 00 01 */ li r3, 1 -lbl_8011008C: -/* 8011008C 0010CFEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80110090 0010CFF0 7C 7E 1B 78 */ mr r30, r3 -/* 80110094 0010CFF4 41 82 00 B4 */ beq lbl_80110148 -/* 80110098 0010CFF8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8011009C 0010CFFC 48 20 46 5D */ bl CanBeNormalized__9CVector3fCFv -/* 801100A0 0010D000 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801100A4 0010D004 41 82 00 A4 */ beq lbl_80110148 -/* 801100A8 0010D008 80 AD 8A 14 */ lwz r5, lbl_805A75D4@sda21(r13) -/* 801100AC 0010D00C 38 60 00 00 */ li r3, 0 -/* 801100B0 0010D010 38 80 00 01 */ li r4, 1 -/* 801100B4 0010D014 48 27 9E 41 */ bl __shl2i -/* 801100B8 0010D018 80 AD 8A 10 */ lwz r5, lbl_805A75D0@sda21(r13) -/* 801100BC 0010D01C 7C 9E 23 78 */ mr r30, r4 -/* 801100C0 0010D020 7C 7F 1B 78 */ mr r31, r3 -/* 801100C4 0010D024 38 60 00 00 */ li r3, 0 -/* 801100C8 0010D028 38 80 00 01 */ li r4, 1 -/* 801100CC 0010D02C 48 27 9E 29 */ bl __shl2i -/* 801100D0 0010D030 38 00 00 03 */ li r0, 3 -/* 801100D4 0010D034 90 61 00 68 */ stw r3, 0x68(r1) -/* 801100D8 0010D038 38 61 00 38 */ addi r3, r1, 0x38 -/* 801100DC 0010D03C 90 01 00 60 */ stw r0, 0x60(r1) -/* 801100E0 0010D040 90 81 00 6C */ stw r4, 0x6c(r1) -/* 801100E4 0010D044 93 C1 00 74 */ stw r30, 0x74(r1) -/* 801100E8 0010D048 93 E1 00 70 */ stw r31, 0x70(r1) -/* 801100EC 0010D04C 90 01 00 78 */ stw r0, 0x78(r1) -/* 801100F0 0010D050 48 20 47 C9 */ bl Magnitude__9CVector3fCFv -/* 801100F4 0010D054 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 801100F8 0010D058 7F A4 EB 78 */ mr r4, r29 -/* 801100FC 0010D05C C0 61 00 38 */ lfs f3, 0x38(r1) -/* 80110100 0010D060 38 61 00 80 */ addi r3, r1, 0x80 -/* 80110104 0010D064 EC 80 08 24 */ fdivs f4, f0, f1 -/* 80110108 0010D068 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 8011010C 0010D06C C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80110110 0010D070 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80110114 0010D074 38 C1 00 2C */ addi r6, r1, 0x2c -/* 80110118 0010D078 38 E1 00 68 */ addi r7, r1, 0x68 -/* 8011011C 0010D07C EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80110120 0010D080 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80110124 0010D084 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80110128 0010D088 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8011012C 0010D08C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80110130 0010D090 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80110134 0010D094 4B F3 CE 65 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80110138 0010D098 88 01 00 A0 */ lbz r0, 0xa0(r1) -/* 8011013C 0010D09C 7C 00 00 34 */ cntlzw r0, r0 -/* 80110140 0010D0A0 54 00 D9 7E */ srwi r0, r0, 5 -/* 80110144 0010D0A4 7C 1E 03 78 */ mr r30, r0 -lbl_80110148: -/* 80110148 0010D0A8 7F C3 F3 78 */ mr r3, r30 -/* 8011014C 0010D0AC E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80110150 0010D0B0 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80110154 0010D0B4 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80110158 0010D0B8 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8011015C 0010D0BC 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 80110160 0010D0C0 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 80110164 0010D0C4 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 80110168 0010D0C8 7C 08 03 A6 */ mtlr r0 -/* 8011016C 0010D0CC 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80110170 0010D0D0 4E 80 00 20 */ blr - -.global HearShot__8CWarWaspFR13CStateManagerf -HearShot__8CWarWaspFR13CStateManagerf: -/* 80110174 0010D0D4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80110178 0010D0D8 7C 08 02 A6 */ mflr r0 -/* 8011017C 0010D0DC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80110180 0010D0E0 88 03 07 2E */ lbz r0, 0x72e(r3) -/* 80110184 0010D0E4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80110188 0010D0E8 40 82 00 10 */ bne lbl_80110198 -/* 8011018C 0010D0EC 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80110190 0010D0F0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80110194 0010D0F4 41 82 00 0C */ beq lbl_801101A0 -lbl_80110198: -/* 80110198 0010D0F8 38 60 00 01 */ li r3, 1 -/* 8011019C 0010D0FC 48 00 00 48 */ b lbl_801101E4 -lbl_801101A0: -/* 801101A0 0010D100 A0 03 06 74 */ lhz r0, 0x674(r3) -/* 801101A4 0010D104 7C 83 23 78 */ mr r3, r4 -/* 801101A8 0010D108 38 81 00 08 */ addi r4, r1, 8 -/* 801101AC 0010D10C B0 01 00 08 */ sth r0, 8(r1) -/* 801101B0 0010D110 4B F3 C3 F5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 801101B4 0010D114 7C 64 1B 78 */ mr r4, r3 -/* 801101B8 0010D118 38 61 00 0C */ addi r3, r1, 0xc -/* 801101BC 0010D11C 4B F9 73 B9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 801101C0 0010D120 80 63 00 04 */ lwz r3, 4(r3) -/* 801101C4 0010D124 28 03 00 00 */ cmplwi r3, 0 -/* 801101C8 0010D128 41 82 00 18 */ beq lbl_801101E0 -/* 801101CC 0010D12C 80 63 00 5C */ lwz r3, 0x5c(r3) -/* 801101D0 0010D130 7C 03 00 D0 */ neg r0, r3 -/* 801101D4 0010D134 7C 00 1B 78 */ or r0, r0, r3 -/* 801101D8 0010D138 54 03 0F FE */ srwi r3, r0, 0x1f -/* 801101DC 0010D13C 48 00 00 08 */ b lbl_801101E4 -lbl_801101E0: -/* 801101E0 0010D140 38 60 00 00 */ li r3, 0 -lbl_801101E4: -/* 801101E4 0010D144 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801101E8 0010D148 7C 08 03 A6 */ mtlr r0 -/* 801101EC 0010D14C 38 21 00 20 */ addi r1, r1, 0x20 -/* 801101F0 0010D150 4E 80 00 20 */ blr - -.global PathShagged__8CWarWaspFR13CStateManagerf -PathShagged__8CWarWaspFR13CStateManagerf: -/* 801101F4 0010D154 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801101F8 0010D158 7C 08 02 A6 */ mflr r0 -/* 801101FC 0010D15C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80110200 0010D160 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80110204 0010D164 7C 7F 1B 78 */ mr r31, r3 -/* 80110208 0010D168 81 83 00 00 */ lwz r12, 0(r3) -/* 8011020C 0010D16C 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80110210 0010D170 7D 89 03 A6 */ mtctr r12 -/* 80110214 0010D174 4E 80 04 21 */ bctrl -/* 80110218 0010D178 28 03 00 00 */ cmplwi r3, 0 -/* 8011021C 0010D17C 41 82 00 2C */ beq lbl_80110248 -/* 80110220 0010D180 7F E3 FB 78 */ mr r3, r31 -/* 80110224 0010D184 81 9F 00 00 */ lwz r12, 0(r31) -/* 80110228 0010D188 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 8011022C 0010D18C 7D 89 03 A6 */ mtctr r12 -/* 80110230 0010D190 4E 80 04 21 */ bctrl -/* 80110234 0010D194 80 63 00 CC */ lwz r3, 0xcc(r3) -/* 80110238 0010D198 7C 03 00 D0 */ neg r0, r3 -/* 8011023C 0010D19C 7C 00 1B 78 */ or r0, r0, r3 -/* 80110240 0010D1A0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80110244 0010D1A4 48 00 00 08 */ b lbl_8011024C -lbl_80110248: -/* 80110248 0010D1A8 38 60 00 00 */ li r3, 0 -lbl_8011024C: -/* 8011024C 0010D1AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80110250 0010D1B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80110254 0010D1B4 7C 08 03 A6 */ mtlr r0 -/* 80110258 0010D1B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011025C 0010D1BC 4E 80 00 20 */ blr - -.global GetOrigin__8CWarWaspCFv -GetOrigin__8CWarWaspCFv: -/* 80110260 0010D1C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80110264 0010D1C4 7C 08 02 A6 */ mflr r0 -/* 80110268 0010D1C8 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 8011026C 0010D1CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80110270 0010D1D0 38 00 00 00 */ li r0, 0 -/* 80110274 0010D1D4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80110278 0010D1D8 7C 7F 1B 78 */ mr r31, r3 -/* 8011027C 0010D1DC C0 04 06 B0 */ lfs f0, 0x6b0(r4) -/* 80110280 0010D1E0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80110284 0010D1E4 40 82 00 1C */ bne lbl_801102A0 -/* 80110288 0010D1E8 C0 04 06 B4 */ lfs f0, 0x6b4(r4) -/* 8011028C 0010D1EC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80110290 0010D1F0 40 82 00 10 */ bne lbl_801102A0 -/* 80110294 0010D1F4 C0 04 06 B8 */ lfs f0, 0x6b8(r4) -/* 80110298 0010D1F8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8011029C 0010D1FC 41 82 00 08 */ beq lbl_801102A4 -lbl_801102A0: -/* 801102A0 0010D200 38 00 00 01 */ li r0, 1 -lbl_801102A4: -/* 801102A4 0010D204 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 801102A8 0010D208 40 82 00 2C */ bne lbl_801102D4 -/* 801102AC 0010D20C 7C E6 3B 78 */ mr r6, r7 -/* 801102B0 0010D210 38 61 00 08 */ addi r3, r1, 8 -/* 801102B4 0010D214 4B FF B8 2D */ bl GetCloseInPos__8CWarWaspCFR13CStateManagerRC9CVector3f -/* 801102B8 0010D218 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 801102BC 0010D21C C0 41 00 10 */ lfs f2, 0x10(r1) -/* 801102C0 0010D220 C0 01 00 08 */ lfs f0, 8(r1) -/* 801102C4 0010D224 D0 1F 00 00 */ stfs f0, 0(r31) -/* 801102C8 0010D228 D0 3F 00 04 */ stfs f1, 4(r31) -/* 801102CC 0010D22C D0 5F 00 08 */ stfs f2, 8(r31) -/* 801102D0 0010D230 48 00 00 1C */ b lbl_801102EC -lbl_801102D4: -/* 801102D4 0010D234 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 801102D8 0010D238 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 801102DC 0010D23C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 801102E0 0010D240 D0 1F 00 00 */ stfs f0, 0(r31) -/* 801102E4 0010D244 D0 3F 00 04 */ stfs f1, 4(r31) -/* 801102E8 0010D248 D0 5F 00 08 */ stfs f2, 8(r31) -lbl_801102EC: -/* 801102EC 0010D24C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801102F0 0010D250 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801102F4 0010D254 7C 08 03 A6 */ mtlr r0 -/* 801102F8 0010D258 38 21 00 20 */ addi r1, r1, 0x20 -/* 801102FC 0010D25C 4E 80 00 20 */ blr - -.global Listen__8CWarWaspFRC9CVector3f16EListenNoiseType -Listen__8CWarWaspFRC9CVector3f16EListenNoiseType: -/* 80110300 0010D260 2C 05 00 03 */ cmpwi r5, 3 -/* 80110304 0010D264 40 80 00 68 */ bge lbl_8011036C -/* 80110308 0010D268 2C 05 00 00 */ cmpwi r5, 0 -/* 8011030C 0010D26C 40 80 00 08 */ bge lbl_80110314 -/* 80110310 0010D270 48 00 00 5C */ b lbl_8011036C -lbl_80110314: -/* 80110314 0010D274 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80110318 0010D278 C0 04 00 04 */ lfs f0, 4(r4) -/* 8011031C 0010D27C C0 43 03 BC */ lfs f2, 0x3bc(r3) -/* 80110320 0010D280 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80110324 0010D284 C0 83 00 40 */ lfs f4, 0x40(r3) -/* 80110328 0010D288 C0 24 00 00 */ lfs f1, 0(r4) -/* 8011032C 0010D28C EC 02 00 B2 */ fmuls f0, f2, f2 -/* 80110330 0010D290 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 80110334 0010D294 C0 44 00 08 */ lfs f2, 8(r4) -/* 80110338 0010D298 EC 84 08 28 */ fsubs f4, f4, f1 -/* 8011033C 0010D29C EC 25 01 72 */ fmuls f1, f5, f5 -/* 80110340 0010D2A0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80110344 0010D2A4 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 80110348 0010D2A8 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8011034C 0010D2AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80110350 0010D2B0 40 80 00 1C */ bge lbl_8011036C -/* 80110354 0010D2B4 88 03 07 2E */ lbz r0, 0x72e(r3) -/* 80110358 0010D2B8 38 80 00 01 */ li r4, 1 -/* 8011035C 0010D2BC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80110360 0010D2C0 98 03 07 2E */ stb r0, 0x72e(r3) -/* 80110364 0010D2C4 38 60 00 01 */ li r3, 1 -/* 80110368 0010D2C8 4E 80 00 20 */ blr -lbl_8011036C: -/* 8011036C 0010D2CC 38 60 00 00 */ li r3, 0 -/* 80110370 0010D2D0 4E 80 00 20 */ blr - -.global DoUserAnimEvent__8CWarWaspFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__8CWarWaspFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 80110374 0010D2D4 94 21 F5 E0 */ stwu r1, -0xa20(r1) -/* 80110378 0010D2D8 7C 08 02 A6 */ mflr r0 -/* 8011037C 0010D2DC 90 01 0A 24 */ stw r0, 0xa24(r1) -/* 80110380 0010D2E0 DB E1 0A 10 */ stfd f31, 0xa10(r1) -/* 80110384 0010D2E4 F3 E1 0A 18 */ psq_st f31, -1512(r1), 0, qr0 -/* 80110388 0010D2E8 BF 61 09 FC */ stmw r27, 0x9fc(r1) -/* 8011038C 0010D2EC 7C DF 33 78 */ mr r31, r6 -/* 80110390 0010D2F0 FF E0 08 90 */ fmr f31, f1 -/* 80110394 0010D2F4 28 1F 00 11 */ cmplwi r31, 0x11 -/* 80110398 0010D2F8 7C 7C 1B 78 */ mr r28, r3 -/* 8011039C 0010D2FC 7C 9D 23 78 */ mr r29, r4 -/* 801103A0 0010D300 7C BE 2B 78 */ mr r30, r5 -/* 801103A4 0010D304 38 A0 00 00 */ li r5, 0 -/* 801103A8 0010D308 41 81 03 68 */ bgt lbl_80110710 -/* 801103AC 0010D30C 3C 80 80 3E */ lis r4, lbl_803E025C@ha -/* 801103B0 0010D310 57 E0 10 3A */ slwi r0, r31, 2 -/* 801103B4 0010D314 38 84 02 5C */ addi r4, r4, lbl_803E025C@l -/* 801103B8 0010D318 7C 04 00 2E */ lwzx r0, r4, r0 -/* 801103BC 0010D31C 7C 09 03 A6 */ mtctr r0 -/* 801103C0 0010D320 4E 80 04 20 */ bctr -/* 801103C4 0010D324 7F 84 E3 78 */ mr r4, r28 -/* 801103C8 0010D328 38 61 01 30 */ addi r3, r1, 0x130 -/* 801103CC 0010D32C 38 BE 00 3C */ addi r5, r30, 0x3c -/* 801103D0 0010D330 4B F6 85 A9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 801103D4 0010D334 38 61 01 C0 */ addi r3, r1, 0x1c0 -/* 801103D8 0010D338 38 81 01 30 */ addi r4, r1, 0x130 -/* 801103DC 0010D33C 48 20 27 99 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801103E0 0010D340 C0 22 95 48 */ lfs f1, lbl_805AB268@sda21(r2) -/* 801103E4 0010D344 7F 84 E3 78 */ mr r4, r28 -/* 801103E8 0010D348 7F A5 EB 78 */ mr r5, r29 -/* 801103EC 0010D34C 38 61 00 64 */ addi r3, r1, 0x64 -/* 801103F0 0010D350 4B FF BA B1 */ bl GetProjectileAimPos__8CWarWaspFR13CStateManagerf -/* 801103F4 0010D354 C0 A1 00 64 */ lfs f5, 0x64(r1) -/* 801103F8 0010D358 C0 61 00 68 */ lfs f3, 0x68(r1) -/* 801103FC 0010D35C C0 81 00 6C */ lfs f4, 0x6c(r1) -/* 80110400 0010D360 D0 A1 00 94 */ stfs f5, 0x94(r1) -/* 80110404 0010D364 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 80110408 0010D368 D0 81 00 9C */ stfs f4, 0x9c(r1) -/* 8011040C 0010D36C 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 80110410 0010D370 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 80110414 0010D374 2C 00 00 01 */ cmpwi r0, 1 -/* 80110418 0010D378 41 82 01 9C */ beq lbl_801105B4 -/* 8011041C 0010D37C C0 01 01 EC */ lfs f0, 0x1ec(r1) -/* 80110420 0010D380 38 61 00 88 */ addi r3, r1, 0x88 -/* 80110424 0010D384 C0 21 01 DC */ lfs f1, 0x1dc(r1) -/* 80110428 0010D388 C0 41 01 CC */ lfs f2, 0x1cc(r1) -/* 8011042C 0010D38C EC 04 00 28 */ fsubs f0, f4, f0 -/* 80110430 0010D390 EC 23 08 28 */ fsubs f1, f3, f1 -/* 80110434 0010D394 EC 45 10 28 */ fsubs f2, f5, f2 -/* 80110438 0010D398 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 8011043C 0010D39C D0 41 00 88 */ stfs f2, 0x88(r1) -/* 80110440 0010D3A0 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 80110444 0010D3A4 48 20 42 B5 */ bl CanBeNormalized__9CVector3fCFv -/* 80110448 0010D3A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011044C 0010D3AC 41 82 01 68 */ beq lbl_801105B4 -/* 80110450 0010D3B0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80110454 0010D3B4 38 80 00 00 */ li r4, 0 -/* 80110458 0010D3B8 90 81 01 F0 */ stw r4, 0x1f0(r1) -/* 8011045C 0010D3BC 38 60 00 00 */ li r3, 0 -/* 80110460 0010D3C0 80 AD 8A 0C */ lwz r5, lbl_805A75CC@sda21(r13) -/* 80110464 0010D3C4 38 80 00 01 */ li r4, 1 -/* 80110468 0010D3C8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8011046C 0010D3CC 48 27 9A 89 */ bl __shl2i -/* 80110470 0010D3D0 38 A0 00 01 */ li r5, 1 -/* 80110474 0010D3D4 38 00 00 00 */ li r0, 0 -/* 80110478 0010D3D8 90 81 00 BC */ stw r4, 0xbc(r1) -/* 8011047C 0010D3DC 38 81 00 88 */ addi r4, r1, 0x88 -/* 80110480 0010D3E0 90 61 00 B8 */ stw r3, 0xb8(r1) -/* 80110484 0010D3E4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80110488 0010D3E8 90 A1 00 B0 */ stw r5, 0xb0(r1) -/* 8011048C 0010D3EC 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80110490 0010D3F0 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 80110494 0010D3F4 90 A1 00 C8 */ stw r5, 0xc8(r1) -/* 80110498 0010D3F8 48 20 43 B9 */ bl AsNormalized__9CVector3fCFv -/* 8011049C 0010D3FC C0 41 00 58 */ lfs f2, 0x58(r1) -/* 801104A0 0010D400 38 61 00 88 */ addi r3, r1, 0x88 -/* 801104A4 0010D404 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 801104A8 0010D408 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 801104AC 0010D40C D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 801104B0 0010D410 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 801104B4 0010D414 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 801104B8 0010D418 48 20 44 01 */ bl Magnitude__9CVector3fCFv -/* 801104BC 0010D41C C0 61 01 CC */ lfs f3, 0x1cc(r1) -/* 801104C0 0010D420 7F A4 EB 78 */ mr r4, r29 -/* 801104C4 0010D424 C0 41 01 DC */ lfs f2, 0x1dc(r1) -/* 801104C8 0010D428 38 61 01 00 */ addi r3, r1, 0x100 -/* 801104CC 0010D42C C0 01 01 EC */ lfs f0, 0x1ec(r1) -/* 801104D0 0010D430 38 A1 00 18 */ addi r5, r1, 0x18 -/* 801104D4 0010D434 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 801104D8 0010D438 38 C1 00 4C */ addi r6, r1, 0x4c -/* 801104DC 0010D43C 38 E1 00 7C */ addi r7, r1, 0x7c -/* 801104E0 0010D440 39 01 00 B8 */ addi r8, r1, 0xb8 -/* 801104E4 0010D444 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 801104E8 0010D448 39 21 01 F0 */ addi r9, r1, 0x1f0 -/* 801104EC 0010D44C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 801104F0 0010D450 4B F3 CA D5 */ bl "RayWorldIntersection__13CStateManagerCFR9TUniqueIdRC9CVector3fRC9CVector3ffRC15CMaterialFilterRCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 801104F4 0010D454 88 81 01 20 */ lbz r4, 0x120(r1) -/* 801104F8 0010D458 C0 E1 01 00 */ lfs f7, 0x100(r1) -/* 801104FC 0010D45C C0 C1 01 04 */ lfs f6, 0x104(r1) -/* 80110500 0010D460 28 04 00 00 */ cmplwi r4, 0 -/* 80110504 0010D464 C0 A1 01 08 */ lfs f5, 0x108(r1) -/* 80110508 0010D468 C0 81 01 0C */ lfs f4, 0x10c(r1) -/* 8011050C 0010D46C C0 61 01 10 */ lfs f3, 0x110(r1) -/* 80110510 0010D470 C0 41 01 14 */ lfs f2, 0x114(r1) -/* 80110514 0010D474 C0 21 01 18 */ lfs f1, 0x118(r1) -/* 80110518 0010D478 C0 01 01 1C */ lfs f0, 0x11c(r1) -/* 8011051C 0010D47C 80 01 01 28 */ lwz r0, 0x128(r1) -/* 80110520 0010D480 80 61 01 2C */ lwz r3, 0x12c(r1) -/* 80110524 0010D484 D0 E1 01 90 */ stfs f7, 0x190(r1) -/* 80110528 0010D488 D0 C1 01 94 */ stfs f6, 0x194(r1) -/* 8011052C 0010D48C D0 A1 01 98 */ stfs f5, 0x198(r1) -/* 80110530 0010D490 D0 81 01 9C */ stfs f4, 0x19c(r1) -/* 80110534 0010D494 D0 61 01 A0 */ stfs f3, 0x1a0(r1) -/* 80110538 0010D498 D0 41 01 A4 */ stfs f2, 0x1a4(r1) -/* 8011053C 0010D49C D0 21 01 A8 */ stfs f1, 0x1a8(r1) -/* 80110540 0010D4A0 D0 01 01 AC */ stfs f0, 0x1ac(r1) -/* 80110544 0010D4A4 98 81 01 B0 */ stb r4, 0x1b0(r1) -/* 80110548 0010D4A8 90 61 01 BC */ stw r3, 0x1bc(r1) -/* 8011054C 0010D4AC 90 01 01 B8 */ stw r0, 0x1b8(r1) -/* 80110550 0010D4B0 41 82 00 10 */ beq lbl_80110560 -/* 80110554 0010D4B4 D0 C1 00 94 */ stfs f6, 0x94(r1) -/* 80110558 0010D4B8 D0 A1 00 98 */ stfs f5, 0x98(r1) -/* 8011055C 0010D4BC D0 81 00 9C */ stfs f4, 0x9c(r1) -lbl_80110560: -/* 80110560 0010D4C0 80 A1 01 F0 */ lwz r5, 0x1f0(r1) -/* 80110564 0010D4C4 38 60 00 00 */ li r3, 0 -/* 80110568 0010D4C8 2C 05 00 00 */ cmpwi r5, 0 -/* 8011056C 0010D4CC 40 81 00 40 */ ble lbl_801105AC -/* 80110570 0010D4D0 2C 05 00 08 */ cmpwi r5, 8 -/* 80110574 0010D4D4 38 85 FF F8 */ addi r4, r5, -8 -/* 80110578 0010D4D8 40 81 00 20 */ ble lbl_80110598 -/* 8011057C 0010D4DC 38 04 00 07 */ addi r0, r4, 7 -/* 80110580 0010D4E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80110584 0010D4E4 7C 09 03 A6 */ mtctr r0 -/* 80110588 0010D4E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8011058C 0010D4EC 40 81 00 0C */ ble lbl_80110598 -lbl_80110590: -/* 80110590 0010D4F0 38 63 00 08 */ addi r3, r3, 8 -/* 80110594 0010D4F4 42 00 FF FC */ bdnz lbl_80110590 -lbl_80110598: -/* 80110598 0010D4F8 7C 03 28 50 */ subf r0, r3, r5 -/* 8011059C 0010D4FC 7C 09 03 A6 */ mtctr r0 -/* 801105A0 0010D500 7C 03 28 00 */ cmpw r3, r5 -/* 801105A4 0010D504 40 80 00 08 */ bge lbl_801105AC -lbl_801105A8: -/* 801105A8 0010D508 42 00 00 00 */ bdnz lbl_801105A8 -lbl_801105AC: -/* 801105AC 0010D50C 38 00 00 00 */ li r0, 0 -/* 801105B0 0010D510 90 01 01 F0 */ stw r0, 0x1f0(r1) -lbl_801105B4: -/* 801105B4 0010D514 83 7D 08 4C */ lwz r27, 0x84c(r29) -/* 801105B8 0010D518 7F 83 E3 78 */ mr r3, r28 -/* 801105BC 0010D51C C0 41 01 CC */ lfs f2, 0x1cc(r1) -/* 801105C0 0010D520 C0 21 01 DC */ lfs f1, 0x1dc(r1) -/* 801105C4 0010D524 C0 01 01 EC */ lfs f0, 0x1ec(r1) -/* 801105C8 0010D528 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 801105CC 0010D52C D0 21 00 38 */ stfs f1, 0x38(r1) -/* 801105D0 0010D530 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 801105D4 0010D534 81 9C 00 00 */ lwz r12, 0(r28) -/* 801105D8 0010D538 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 801105DC 0010D53C 7D 89 03 A6 */ mtctr r12 -/* 801105E0 0010D540 4E 80 04 21 */ bctrl -/* 801105E4 0010D544 FC 20 F8 90 */ fmr f1, f31 -/* 801105E8 0010D548 7C 64 1B 78 */ mr r4, r3 -/* 801105EC 0010D54C 7F 67 DB 78 */ mr r7, r27 -/* 801105F0 0010D550 38 61 00 40 */ addi r3, r1, 0x40 -/* 801105F4 0010D554 38 A1 00 34 */ addi r5, r1, 0x34 -/* 801105F8 0010D558 38 C1 00 94 */ addi r6, r1, 0x94 -/* 801105FC 0010D55C 39 00 00 01 */ li r8, 1 -/* 80110600 0010D560 48 10 B8 ED */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf -/* 80110604 0010D564 C0 A1 00 40 */ lfs f5, 0x40(r1) -/* 80110608 0010D568 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8011060C 0010D56C C0 81 00 44 */ lfs f4, 0x44(r1) -/* 80110610 0010D570 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80110614 0010D574 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 80110618 0010D578 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 8011061C 0010D57C C0 41 01 CC */ lfs f2, 0x1cc(r1) -/* 80110620 0010D580 38 81 00 28 */ addi r4, r1, 0x28 -/* 80110624 0010D584 C0 21 01 DC */ lfs f1, 0x1dc(r1) -/* 80110628 0010D588 38 A1 00 70 */ addi r5, r1, 0x70 -/* 8011062C 0010D58C C0 01 01 EC */ lfs f0, 0x1ec(r1) -/* 80110630 0010D590 D0 A1 00 70 */ stfs f5, 0x70(r1) -/* 80110634 0010D594 D0 81 00 74 */ stfs f4, 0x74(r1) -/* 80110638 0010D598 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 8011063C 0010D59C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80110640 0010D5A0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80110644 0010D5A4 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80110648 0010D5A8 48 20 34 C9 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8011064C 0010D5AC 38 61 01 60 */ addi r3, r1, 0x160 -/* 80110650 0010D5B0 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 80110654 0010D5B4 48 20 25 21 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80110658 0010D5B8 C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 8011065C 0010D5BC 39 40 00 01 */ li r10, 1 -/* 80110660 0010D5C0 38 01 00 1C */ addi r0, r1, 0x1c -/* 80110664 0010D5C4 7F 83 E3 78 */ mr r3, r28 -/* 80110668 0010D5C8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8011066C 0010D5CC 7F A5 EB 78 */ mr r5, r29 -/* 80110670 0010D5D0 38 81 01 60 */ addi r4, r1, 0x160 -/* 80110674 0010D5D4 39 3C 07 1C */ addi r9, r28, 0x71c -/* 80110678 0010D5D8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8011067C 0010D5DC 38 C0 00 04 */ li r6, 4 -/* 80110680 0010D5E0 38 E0 00 00 */ li r7, 0 -/* 80110684 0010D5E4 39 00 00 00 */ li r8, 0 -/* 80110688 0010D5E8 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8011068C 0010D5EC 91 41 00 08 */ stw r10, 8(r1) -/* 80110690 0010D5F0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80110694 0010D5F4 A1 5C 07 2C */ lhz r10, 0x72c(r28) -/* 80110698 0010D5F8 4B F6 73 61 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -/* 8011069C 0010D5FC 38 A0 00 01 */ li r5, 1 -/* 801106A0 0010D600 48 00 00 70 */ b lbl_80110710 -/* 801106A4 0010D604 7F A5 EB 78 */ mr r5, r29 -/* 801106A8 0010D608 38 80 00 11 */ li r4, 0x11 -/* 801106AC 0010D60C 38 C0 FF FF */ li r6, -1 -/* 801106B0 0010D610 4B F4 0A 11 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 801106B4 0010D614 A0 1C 00 08 */ lhz r0, 8(r28) -/* 801106B8 0010D618 7F A3 EB 78 */ mr r3, r29 -/* 801106BC 0010D61C 38 81 00 14 */ addi r4, r1, 0x14 -/* 801106C0 0010D620 B0 01 00 10 */ sth r0, 0x10(r1) -/* 801106C4 0010D624 B0 01 00 14 */ sth r0, 0x14(r1) -/* 801106C8 0010D628 4B F3 BB A5 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 801106CC 0010D62C 38 A0 00 01 */ li r5, 1 -/* 801106D0 0010D630 48 00 00 40 */ b lbl_80110710 -/* 801106D4 0010D634 7F A6 EB 78 */ mr r6, r29 -/* 801106D8 0010D638 38 80 00 21 */ li r4, 0x21 -/* 801106DC 0010D63C 38 A0 00 13 */ li r5, 0x13 -/* 801106E0 0010D640 4B F4 3B D5 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 801106E4 0010D644 38 A0 00 01 */ li r5, 1 -/* 801106E8 0010D648 48 00 00 28 */ b lbl_80110710 -/* 801106EC 0010D64C 88 1C 07 2E */ lbz r0, 0x72e(r28) -/* 801106F0 0010D650 38 60 00 01 */ li r3, 1 -/* 801106F4 0010D654 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 801106F8 0010D658 98 1C 07 2E */ stb r0, 0x72e(r28) -/* 801106FC 0010D65C 48 00 00 14 */ b lbl_80110710 -/* 80110700 0010D660 88 1C 07 2E */ lbz r0, 0x72e(r28) -/* 80110704 0010D664 38 60 00 00 */ li r3, 0 -/* 80110708 0010D668 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8011070C 0010D66C 98 1C 07 2E */ stb r0, 0x72e(r28) -lbl_80110710: -/* 80110710 0010D670 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80110714 0010D674 40 82 00 1C */ bne lbl_80110730 -/* 80110718 0010D678 FC 20 F8 90 */ fmr f1, f31 -/* 8011071C 0010D67C 7F 83 E3 78 */ mr r3, r28 -/* 80110720 0010D680 7F A4 EB 78 */ mr r4, r29 -/* 80110724 0010D684 7F C5 F3 78 */ mr r5, r30 -/* 80110728 0010D688 7F E6 FB 78 */ mr r6, r31 -/* 8011072C 0010D68C 4B F6 87 85 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_80110730: -/* 80110730 0010D690 E3 E1 0A 18 */ psq_l f31, -1512(r1), 0, qr0 -/* 80110734 0010D694 CB E1 0A 10 */ lfd f31, 0xa10(r1) -/* 80110738 0010D698 BB 61 09 FC */ lmw r27, 0x9fc(r1) -/* 8011073C 0010D69C 80 01 0A 24 */ lwz r0, 0xa24(r1) -/* 80110740 0010D6A0 7C 08 03 A6 */ mtlr r0 -/* 80110744 0010D6A4 38 21 0A 20 */ addi r1, r1, 0xa20 -/* 80110748 0010D6A8 4E 80 00 20 */ blr - -.global GetCollisionPrimitive__8CWarWaspCFv -GetCollisionPrimitive__8CWarWaspCFv: -/* 8011074C 0010D6AC 38 63 05 70 */ addi r3, r3, 0x570 -/* 80110750 0010D6B0 4E 80 00 20 */ blr - -.global GetTouchBounds__8CWarWaspCFv -GetTouchBounds__8CWarWaspCFv: -/* 80110754 0010D6B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80110758 0010D6B8 7C 08 02 A6 */ mflr r0 -/* 8011075C 0010D6BC 7C 85 23 78 */ mr r5, r4 -/* 80110760 0010D6C0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80110764 0010D6C4 38 85 05 70 */ addi r4, r5, 0x570 -/* 80110768 0010D6C8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011076C 0010D6CC 7C 7F 1B 78 */ mr r31, r3 -/* 80110770 0010D6D0 38 61 00 08 */ addi r3, r1, 8 -/* 80110774 0010D6D4 81 85 05 70 */ lwz r12, 0x570(r5) -/* 80110778 0010D6D8 38 A5 00 34 */ addi r5, r5, 0x34 -/* 8011077C 0010D6DC 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 80110780 0010D6E0 7D 89 03 A6 */ mtctr r12 -/* 80110784 0010D6E4 4E 80 04 21 */ bctrl -/* 80110788 0010D6E8 38 00 00 01 */ li r0, 1 -/* 8011078C 0010D6EC 28 1F 00 00 */ cmplwi r31, 0 -/* 80110790 0010D6F0 98 1F 00 18 */ stb r0, 0x18(r31) -/* 80110794 0010D6F4 41 82 00 34 */ beq lbl_801107C8 -/* 80110798 0010D6F8 C0 01 00 08 */ lfs f0, 8(r1) -/* 8011079C 0010D6FC D0 1F 00 00 */ stfs f0, 0(r31) -/* 801107A0 0010D700 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 801107A4 0010D704 D0 1F 00 04 */ stfs f0, 4(r31) -/* 801107A8 0010D708 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 801107AC 0010D70C D0 1F 00 08 */ stfs f0, 8(r31) -/* 801107B0 0010D710 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 801107B4 0010D714 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 801107B8 0010D718 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 801107BC 0010D71C D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 801107C0 0010D720 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 801107C4 0010D724 D0 1F 00 14 */ stfs f0, 0x14(r31) -lbl_801107C8: -/* 801107C8 0010D728 80 01 00 34 */ lwz r0, 0x34(r1) -/* 801107CC 0010D72C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 801107D0 0010D730 7C 08 03 A6 */ mtlr r0 -/* 801107D4 0010D734 38 21 00 30 */ addi r1, r1, 0x30 -/* 801107D8 0010D738 4E 80 00 20 */ blr - -.global ProjectileInfo__8CWarWaspFv -ProjectileInfo__8CWarWaspFv: -/* 801107DC 0010D73C 38 63 06 D4 */ addi r3, r3, 0x6d4 -/* 801107E0 0010D740 4E 80 00 20 */ blr - -.global Think__8CWarWaspFfR13CStateManager -Think__8CWarWaspFfR13CStateManager: -/* 801107E4 0010D744 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 801107E8 0010D748 7C 08 02 A6 */ mflr r0 -/* 801107EC 0010D74C 90 01 00 54 */ stw r0, 0x54(r1) -/* 801107F0 0010D750 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 801107F4 0010D754 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 801107F8 0010D758 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 801107FC 0010D75C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80110800 0010D760 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 80110804 0010D764 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 80110808 0010D768 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011080C 0010D76C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80110810 0010D770 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80110814 0010D774 FF A0 08 90 */ fmr f29, f1 -/* 80110818 0010D778 7C 7E 1B 78 */ mr r30, r3 -/* 8011081C 0010D77C 7C 9F 23 78 */ mr r31, r4 -/* 80110820 0010D780 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80110824 0010D784 41 82 00 A8 */ beq lbl_801108CC -/* 80110828 0010D788 C0 3E 07 00 */ lfs f1, 0x700(r30) -/* 8011082C 0010D78C C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 80110830 0010D790 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80110834 0010D794 40 81 00 7C */ ble lbl_801108B0 -/* 80110838 0010D798 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 8011083C 0010D79C C0 22 94 DC */ lfs f1, lbl_805AB1FC@sda21(r2) -/* 80110840 0010D7A0 80 04 02 F8 */ lwz r0, 0x2f8(r4) -/* 80110844 0010D7A4 2C 00 00 00 */ cmpwi r0, 0 -/* 80110848 0010D7A8 40 82 00 5C */ bne lbl_801108A4 -/* 8011084C 0010D7AC C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80110850 0010D7B0 38 61 00 08 */ addi r3, r1, 8 -/* 80110854 0010D7B4 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 80110858 0010D7B8 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8011085C 0010D7BC C0 04 00 50 */ lfs f0, 0x50(r4) -/* 80110860 0010D7C0 EC 23 08 28 */ fsubs f1, f3, f1 -/* 80110864 0010D7C4 C3 C4 00 48 */ lfs f30, 0x48(r4) -/* 80110868 0010D7C8 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8011086C 0010D7CC C3 E4 00 38 */ lfs f31, 0x38(r4) -/* 80110870 0010D7D0 48 20 39 91 */ bl __ct__9CVector2fFff -/* 80110874 0010D7D4 FC 20 F8 90 */ fmr f1, f31 -/* 80110878 0010D7D8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8011087C 0010D7DC FC 40 F0 90 */ fmr f2, f30 -/* 80110880 0010D7E0 48 20 39 81 */ bl __ct__9CVector2fFff -/* 80110884 0010D7E4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80110888 0010D7E8 38 81 00 08 */ addi r4, r1, 8 -/* 8011088C 0010D7EC 48 20 37 39 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f -/* 80110890 0010D7F0 C0 02 95 30 */ lfs f0, lbl_805AB250@sda21(r2) -/* 80110894 0010D7F4 C0 42 95 68 */ lfs f2, lbl_805AB288@sda21(r2) -/* 80110898 0010D7F8 EC 21 00 24 */ fdivs f1, f1, f0 -/* 8011089C 0010D7FC C0 02 94 DC */ lfs f0, lbl_805AB1FC@sda21(r2) -/* 801108A0 0010D800 EC 22 00 7C */ fnmsubs f1, f2, f1, f0 -lbl_801108A4: -/* 801108A4 0010D804 C0 1E 07 00 */ lfs f0, 0x700(r30) -/* 801108A8 0010D808 EC 1D 00 7C */ fnmsubs f0, f29, f1, f0 -/* 801108AC 0010D80C D0 1E 07 00 */ stfs f0, 0x700(r30) -lbl_801108B0: -/* 801108B0 0010D810 7F C3 F3 78 */ mr r3, r30 -/* 801108B4 0010D814 7F E4 FB 78 */ mr r4, r31 -/* 801108B8 0010D818 4B FF B6 85 */ bl ApplyDamage__8CWarWaspFR13CStateManager -/* 801108BC 0010D81C FC 20 E8 90 */ fmr f1, f29 -/* 801108C0 0010D820 7F C3 F3 78 */ mr r3, r30 -/* 801108C4 0010D824 7F E4 FB 78 */ mr r4, r31 -/* 801108C8 0010D828 4B F6 92 51 */ bl Think__10CPatternedFfR13CStateManager -lbl_801108CC: -/* 801108CC 0010D82C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 801108D0 0010D830 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 801108D4 0010D834 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 801108D8 0010D838 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 801108DC 0010D83C E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 801108E0 0010D840 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 801108E4 0010D844 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801108E8 0010D848 80 01 00 54 */ lwz r0, 0x54(r1) -/* 801108EC 0010D84C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801108F0 0010D850 7C 08 03 A6 */ mtlr r0 -/* 801108F4 0010D854 38 21 00 50 */ addi r1, r1, 0x50 -/* 801108F8 0010D858 4E 80 00 20 */ blr - -.global Death__8CWarWaspFRC9CVector3fR13CStateManager -Death__8CWarWaspFRC9CVector3fR13CStateManager: -/* 801108FC 0010D85C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80110900 0010D860 7C 08 02 A6 */ mflr r0 -/* 80110904 0010D864 90 01 00 14 */ stw r0, 0x14(r1) -/* 80110908 0010D868 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011090C 0010D86C 7C 9F 23 78 */ mr r31, r4 -/* 80110910 0010D870 93 C1 00 08 */ stw r30, 8(r1) -/* 80110914 0010D874 7C 7E 1B 78 */ mr r30, r3 -/* 80110918 0010D878 4B F6 AA 8D */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -/* 8011091C 0010D87C 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 80110920 0010D880 38 60 00 00 */ li r3, 0 -/* 80110924 0010D884 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80110928 0010D888 7F C3 F3 78 */ mr r3, r30 -/* 8011092C 0010D88C 98 1E 03 28 */ stb r0, 0x328(r30) -/* 80110930 0010D890 7F E5 FB 78 */ mr r5, r31 -/* 80110934 0010D894 38 80 00 25 */ li r4, 0x25 -/* 80110938 0010D898 4B F4 3A 19 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8011093C 0010D89C 7F C3 F3 78 */ mr r3, r30 -/* 80110940 0010D8A0 7F E4 FB 78 */ mr r4, r31 -/* 80110944 0010D8A4 4B FF CB 0D */ bl SwarmRemove__8CWarWaspFR13CStateManager -/* 80110948 0010D8A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011094C 0010D8AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80110950 0010D8B0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80110954 0010D8B4 7C 08 03 A6 */ mtlr r0 -/* 80110958 0010D8B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011095C 0010D8BC 4E 80 00 20 */ blr - -.global AcceptScriptMsg__8CWarWaspF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__8CWarWaspF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80110960 0010D8C0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80110964 0010D8C4 7C 08 02 A6 */ mflr r0 -/* 80110968 0010D8C8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011096C 0010D8CC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80110970 0010D8D0 7C DF 33 78 */ mr r31, r6 -/* 80110974 0010D8D4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80110978 0010D8D8 7C 9E 23 78 */ mr r30, r4 -/* 8011097C 0010D8DC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80110980 0010D8E0 7C 7D 1B 78 */ mr r29, r3 -/* 80110984 0010D8E4 A0 05 00 00 */ lhz r0, 0(r5) -/* 80110988 0010D8E8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8011098C 0010D8EC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80110990 0010D8F0 4B F6 C1 E9 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80110994 0010D8F4 2C 1E 00 22 */ cmpwi r30, 0x22 -/* 80110998 0010D8F8 41 82 00 20 */ beq lbl_801109B8 -/* 8011099C 0010D8FC 40 80 00 10 */ bge lbl_801109AC -/* 801109A0 0010D900 2C 1E 00 04 */ cmpwi r30, 4 -/* 801109A4 0010D904 41 82 00 14 */ beq lbl_801109B8 -/* 801109A8 0010D908 48 00 00 B8 */ b lbl_80110A60 -lbl_801109AC: -/* 801109AC 0010D90C 2C 1E 00 24 */ cmpwi r30, 0x24 -/* 801109B0 0010D910 40 80 00 B0 */ bge lbl_80110A60 -/* 801109B4 0010D914 48 00 00 14 */ b lbl_801109C8 -lbl_801109B8: -/* 801109B8 0010D918 7F A3 EB 78 */ mr r3, r29 -/* 801109BC 0010D91C 7F E4 FB 78 */ mr r4, r31 -/* 801109C0 0010D920 4B FF CA 91 */ bl SwarmRemove__8CWarWaspFR13CStateManager -/* 801109C4 0010D924 48 00 00 9C */ b lbl_80110A60 -lbl_801109C8: -/* 801109C8 0010D928 A0 7D 06 74 */ lhz r3, 0x674(r29) -/* 801109CC 0010D92C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801109D0 0010D930 7C 03 00 40 */ cmplw r3, r0 -/* 801109D4 0010D934 40 82 00 1C */ bne lbl_801109F0 -/* 801109D8 0010D938 7F A4 EB 78 */ mr r4, r29 -/* 801109DC 0010D93C 7F E5 FB 78 */ mr r5, r31 -/* 801109E0 0010D940 38 61 00 08 */ addi r3, r1, 8 -/* 801109E4 0010D944 48 12 98 05 */ bl GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager -/* 801109E8 0010D948 A0 01 00 08 */ lhz r0, 8(r1) -/* 801109EC 0010D94C B0 1D 06 74 */ sth r0, 0x674(r29) -lbl_801109F0: -/* 801109F0 0010D950 80 BD 00 04 */ lwz r5, 4(r29) -/* 801109F4 0010D954 38 00 00 00 */ li r0, 0 -/* 801109F8 0010D958 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 801109FC 0010D95C 54 A3 18 38 */ slwi r3, r5, 3 -/* 80110A00 0010D960 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 80110A04 0010D964 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80110A08 0010D968 38 63 00 04 */ addi r3, r3, 4 -/* 80110A0C 0010D96C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80110A10 0010D970 7C 64 18 2E */ lwzx r3, r4, r3 -/* 80110A14 0010D974 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80110A18 0010D978 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 80110A1C 0010D97C 80 63 10 BC */ lwz r3, 0x10bc(r3) -/* 80110A20 0010D980 90 7D 05 90 */ stw r3, 0x590(r29) -/* 80110A24 0010D984 C0 1D 06 B0 */ lfs f0, 0x6b0(r29) -/* 80110A28 0010D988 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80110A2C 0010D98C 40 82 00 1C */ bne lbl_80110A48 -/* 80110A30 0010D990 C0 1D 06 B4 */ lfs f0, 0x6b4(r29) -/* 80110A34 0010D994 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80110A38 0010D998 40 82 00 10 */ bne lbl_80110A48 -/* 80110A3C 0010D99C C0 1D 06 B8 */ lfs f0, 0x6b8(r29) -/* 80110A40 0010D9A0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80110A44 0010D9A4 41 82 00 08 */ beq lbl_80110A4C -lbl_80110A48: -/* 80110A48 0010D9A8 38 00 00 01 */ li r0, 1 -lbl_80110A4C: -/* 80110A4C 0010D9AC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80110A50 0010D9B0 40 82 00 10 */ bne lbl_80110A60 -/* 80110A54 0010D9B4 7F A3 EB 78 */ mr r3, r29 -/* 80110A58 0010D9B8 7F E4 FB 78 */ mr r4, r31 -/* 80110A5C 0010D9BC 4B FF AF 7D */ bl SetUpCircleBurstWaypoint__8CWarWaspFR13CStateManager -lbl_80110A60: -/* 80110A60 0010D9C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80110A64 0010D9C4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80110A68 0010D9C8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80110A6C 0010D9CC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80110A70 0010D9D0 7C 08 03 A6 */ mtlr r0 -/* 80110A74 0010D9D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80110A78 0010D9D8 4E 80 00 20 */ blr - -.global Accept__8CWarWaspFR8IVisitor -Accept__8CWarWaspFR8IVisitor: -/* 80110A7C 0010D9DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80110A80 0010D9E0 7C 08 02 A6 */ mflr r0 -/* 80110A84 0010D9E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80110A88 0010D9E8 7C 60 1B 78 */ mr r0, r3 -/* 80110A8C 0010D9EC 7C 83 23 78 */ mr r3, r4 -/* 80110A90 0010D9F0 81 84 00 00 */ lwz r12, 0(r4) -/* 80110A94 0010D9F4 7C 04 03 78 */ mr r4, r0 -/* 80110A98 0010D9F8 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80110A9C 0010D9FC 7D 89 03 A6 */ mtctr r12 -/* 80110AA0 0010DA00 4E 80 04 21 */ bctrl -/* 80110AA4 0010DA04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80110AA8 0010DA08 7C 08 03 A6 */ mtlr r0 -/* 80110AAC 0010DA0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80110AB0 0010DA10 4E 80 00 20 */ blr - -.global __dt__8CWarWaspFv -__dt__8CWarWaspFv: -/* 80110AB4 0010DA14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80110AB8 0010DA18 7C 08 02 A6 */ mflr r0 -/* 80110ABC 0010DA1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80110AC0 0010DA20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80110AC4 0010DA24 7C 9F 23 78 */ mr r31, r4 -/* 80110AC8 0010DA28 93 C1 00 08 */ stw r30, 8(r1) -/* 80110ACC 0010DA2C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80110AD0 0010DA30 41 82 01 10 */ beq lbl_80110BE0 -/* 80110AD4 0010DA34 3C 60 80 3E */ lis r3, lbl_803DFF90@ha -/* 80110AD8 0010DA38 34 1E 07 1C */ addic. r0, r30, 0x71c -/* 80110ADC 0010DA3C 38 03 FF 90 */ addi r0, r3, lbl_803DFF90@l -/* 80110AE0 0010DA40 90 1E 00 00 */ stw r0, 0(r30) -/* 80110AE4 0010DA44 41 82 00 30 */ beq lbl_80110B14 -/* 80110AE8 0010DA48 88 1E 07 28 */ lbz r0, 0x728(r30) -/* 80110AEC 0010DA4C 28 00 00 00 */ cmplwi r0, 0 -/* 80110AF0 0010DA50 41 82 00 1C */ beq lbl_80110B0C -/* 80110AF4 0010DA54 34 7E 07 1C */ addic. r3, r30, 0x71c -/* 80110AF8 0010DA58 41 82 00 14 */ beq lbl_80110B0C -/* 80110AFC 0010DA5C 28 03 00 00 */ cmplwi r3, 0 -/* 80110B00 0010DA60 41 82 00 0C */ beq lbl_80110B0C -/* 80110B04 0010DA64 38 80 00 00 */ li r4, 0 -/* 80110B08 0010DA68 48 23 03 39 */ bl __dt__6CTokenFv -lbl_80110B0C: -/* 80110B0C 0010DA6C 38 00 00 00 */ li r0, 0 -/* 80110B10 0010DA70 98 1E 07 28 */ stb r0, 0x728(r30) -lbl_80110B14: -/* 80110B14 0010DA74 34 1E 06 D4 */ addic. r0, r30, 0x6d4 -/* 80110B18 0010DA78 41 82 00 20 */ beq lbl_80110B38 -/* 80110B1C 0010DA7C 34 1E 06 D4 */ addic. r0, r30, 0x6d4 -/* 80110B20 0010DA80 41 82 00 18 */ beq lbl_80110B38 -/* 80110B24 0010DA84 34 1E 06 D4 */ addic. r0, r30, 0x6d4 -/* 80110B28 0010DA88 41 82 00 10 */ beq lbl_80110B38 -/* 80110B2C 0010DA8C 38 7E 06 D4 */ addi r3, r30, 0x6d4 -/* 80110B30 0010DA90 38 80 00 00 */ li r4, 0 -/* 80110B34 0010DA94 48 23 03 0D */ bl __dt__6CTokenFv -lbl_80110B38: -/* 80110B38 0010DA98 34 1E 05 90 */ addic. r0, r30, 0x590 -/* 80110B3C 0010DA9C 41 82 00 60 */ beq lbl_80110B9C -/* 80110B40 0010DAA0 34 1E 05 94 */ addic. r0, r30, 0x594 -/* 80110B44 0010DAA4 41 82 00 58 */ beq lbl_80110B9C -/* 80110B48 0010DAA8 80 BE 05 94 */ lwz r5, 0x594(r30) -/* 80110B4C 0010DAAC 38 60 00 00 */ li r3, 0 -/* 80110B50 0010DAB0 2C 05 00 00 */ cmpwi r5, 0 -/* 80110B54 0010DAB4 40 81 00 40 */ ble lbl_80110B94 -/* 80110B58 0010DAB8 2C 05 00 08 */ cmpwi r5, 8 -/* 80110B5C 0010DABC 38 85 FF F8 */ addi r4, r5, -8 -/* 80110B60 0010DAC0 40 81 00 20 */ ble lbl_80110B80 -/* 80110B64 0010DAC4 38 04 00 07 */ addi r0, r4, 7 -/* 80110B68 0010DAC8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80110B6C 0010DACC 7C 09 03 A6 */ mtctr r0 -/* 80110B70 0010DAD0 2C 04 00 00 */ cmpwi r4, 0 -/* 80110B74 0010DAD4 40 81 00 0C */ ble lbl_80110B80 -lbl_80110B78: -/* 80110B78 0010DAD8 38 63 00 08 */ addi r3, r3, 8 -/* 80110B7C 0010DADC 42 00 FF FC */ bdnz lbl_80110B78 -lbl_80110B80: -/* 80110B80 0010DAE0 7C 03 28 50 */ subf r0, r3, r5 -/* 80110B84 0010DAE4 7C 09 03 A6 */ mtctr r0 -/* 80110B88 0010DAE8 7C 03 28 00 */ cmpw r3, r5 -/* 80110B8C 0010DAEC 40 80 00 08 */ bge lbl_80110B94 -lbl_80110B90: -/* 80110B90 0010DAF0 42 00 00 00 */ bdnz lbl_80110B90 -lbl_80110B94: -/* 80110B94 0010DAF4 38 00 00 00 */ li r0, 0 -/* 80110B98 0010DAF8 90 1E 05 94 */ stw r0, 0x594(r30) -lbl_80110B9C: -/* 80110B9C 0010DAFC 34 1E 05 70 */ addic. r0, r30, 0x570 -/* 80110BA0 0010DB00 41 82 00 24 */ beq lbl_80110BC4 -/* 80110BA4 0010DB04 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 80110BA8 0010DB08 34 1E 05 70 */ addic. r0, r30, 0x570 -/* 80110BAC 0010DB0C 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 80110BB0 0010DB10 90 1E 05 70 */ stw r0, 0x570(r30) -/* 80110BB4 0010DB14 41 82 00 10 */ beq lbl_80110BC4 -/* 80110BB8 0010DB18 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 80110BBC 0010DB1C 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 80110BC0 0010DB20 90 1E 05 70 */ stw r0, 0x570(r30) -lbl_80110BC4: -/* 80110BC4 0010DB24 7F C3 F3 78 */ mr r3, r30 -/* 80110BC8 0010DB28 38 80 00 00 */ li r4, 0 -/* 80110BCC 0010DB2C 4B F6 69 A5 */ bl __dt__10CPatternedFv -/* 80110BD0 0010DB30 7F E0 07 35 */ extsh. r0, r31 -/* 80110BD4 0010DB34 40 81 00 0C */ ble lbl_80110BE0 -/* 80110BD8 0010DB38 7F C3 F3 78 */ mr r3, r30 -/* 80110BDC 0010DB3C 48 20 4D 55 */ bl Free__7CMemoryFPCv -lbl_80110BE0: -/* 80110BE0 0010DB40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80110BE4 0010DB44 7F C3 F3 78 */ mr r3, r30 -/* 80110BE8 0010DB48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80110BEC 0010DB4C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80110BF0 0010DB50 7C 08 03 A6 */ mtlr r0 -/* 80110BF4 0010DB54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80110BF8 0010DB58 4E 80 00 20 */ blr - -.global "__ct__8CWarWaspF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned11EFlavorTypeQ210CPatterned13EColliderTypeRC11CDamageInfoRC16CActorParametersUiRC11CDamageInfoUiUi" -"__ct__8CWarWaspF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned11EFlavorTypeQ210CPatterned13EColliderTypeRC11CDamageInfoRC16CActorParametersUiRC11CDamageInfoUiUi": -/* 80110BFC 0010DB5C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80110C00 0010DB60 7C 08 02 A6 */ mflr r0 -/* 80110C04 0010DB64 7C CC 33 78 */ mr r12, r6 -/* 80110C08 0010DB68 7D 0B 43 78 */ mr r11, r8 -/* 80110C0C 0010DB6C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80110C10 0010DB70 7D 88 63 78 */ mr r8, r12 -/* 80110C14 0010DB74 80 C1 00 78 */ lwz r6, 0x78(r1) -/* 80110C18 0010DB78 BE E1 00 4C */ stmw r23, 0x4c(r1) -/* 80110C1C 0010DB7C 7D 39 4B 78 */ mr r25, r9 -/* 80110C20 0010DB80 7D 5A 53 78 */ mr r26, r10 -/* 80110C24 0010DB84 7C E9 3B 78 */ mr r9, r7 -/* 80110C28 0010DB88 81 41 00 80 */ lwz r10, 0x80(r1) -/* 80110C2C 0010DB8C 7C 78 1B 78 */ mr r24, r3 -/* 80110C30 0010DB90 83 61 00 7C */ lwz r27, 0x7c(r1) -/* 80110C34 0010DB94 7F 47 D3 78 */ mr r7, r26 -/* 80110C38 0010DB98 83 81 00 84 */ lwz r28, 0x84(r1) -/* 80110C3C 0010DB9C 83 A1 00 88 */ lwz r29, 0x88(r1) -/* 80110C40 0010DBA0 83 C1 00 8C */ lwz r30, 0x8c(r1) -/* 80110C44 0010DBA4 83 E1 00 90 */ lwz r31, 0x90(r1) -/* 80110C48 0010DBA8 A0 04 00 00 */ lhz r0, 0(r4) -/* 80110C4C 0010DBAC 38 80 00 03 */ li r4, 3 -/* 80110C50 0010DBB0 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80110C54 0010DBB4 38 00 00 01 */ li r0, 1 -/* 80110C58 0010DBB8 93 21 00 08 */ stw r25, 8(r1) -/* 80110C5C 0010DBBC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80110C60 0010DBC0 38 00 00 00 */ li r0, 0 -/* 80110C64 0010DBC4 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80110C68 0010DBC8 7C A6 2B 78 */ mr r6, r5 -/* 80110C6C 0010DBCC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80110C70 0010DBD0 90 81 00 14 */ stw r4, 0x14(r1) -/* 80110C74 0010DBD4 38 80 00 27 */ li r4, 0x27 -/* 80110C78 0010DBD8 91 41 00 18 */ stw r10, 0x18(r1) -/* 80110C7C 0010DBDC 7D 6A 5B 78 */ mr r10, r11 -/* 80110C80 0010DBE0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80110C84 0010DBE4 4B F6 C7 CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 80110C88 0010DBE8 3C 60 80 3E */ lis r3, lbl_803DFF90@ha -/* 80110C8C 0010DBEC 3A F8 05 70 */ addi r23, r24, 0x570 -/* 80110C90 0010DBF0 38 03 FF 90 */ addi r0, r3, lbl_803DFF90@l -/* 80110C94 0010DBF4 38 98 00 68 */ addi r4, r24, 0x68 -/* 80110C98 0010DBF8 90 18 00 00 */ stw r0, 0(r24) -/* 80110C9C 0010DBFC 38 00 FF FF */ li r0, -1 -/* 80110CA0 0010DC00 7E E3 BB 78 */ mr r3, r23 -/* 80110CA4 0010DC04 90 18 05 68 */ stw r0, 0x568(r24) -/* 80110CA8 0010DC08 48 1B EC 0D */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 80110CAC 0010DC0C 3C 60 80 3F */ lis r3, lbl_803ECAF8@ha -/* 80110CB0 0010DC10 C0 22 94 DC */ lfs f1, lbl_805AB1FC@sda21(r2) -/* 80110CB4 0010DC14 38 03 CA F8 */ addi r0, r3, lbl_803ECAF8@l -/* 80110CB8 0010DC18 C0 62 94 F0 */ lfs f3, lbl_805AB210@sda21(r2) -/* 80110CBC 0010DC1C 90 17 00 00 */ stw r0, 0(r23) -/* 80110CC0 0010DC20 FC 40 08 90 */ fmr f2, f1 -/* 80110CC4 0010DC24 C0 02 95 6C */ lfs f0, lbl_805AB28C@sda21(r2) -/* 80110CC8 0010DC28 38 78 05 90 */ addi r3, r24, 0x590 -/* 80110CCC 0010DC2C D0 77 00 10 */ stfs f3, 0x10(r23) -/* 80110CD0 0010DC30 38 80 00 00 */ li r4, 0 -/* 80110CD4 0010DC34 38 A0 00 03 */ li r5, 3 -/* 80110CD8 0010DC38 D0 77 00 14 */ stfs f3, 0x14(r23) -/* 80110CDC 0010DC3C D0 17 00 18 */ stfs f0, 0x18(r23) -/* 80110CE0 0010DC40 D0 37 00 1C */ stfs f1, 0x1c(r23) -/* 80110CE4 0010DC44 80 D9 01 0C */ lwz r6, 0x10c(r25) -/* 80110CE8 0010DC48 48 0B 80 AD */ bl __ct__15CPathFindSearchFP7CPFAreaUiff -/* 80110CEC 0010DC4C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80110CF0 0010DC50 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80110CF4 0010DC54 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 80110CF8 0010DC58 C0 02 94 F0 */ lfs f0, lbl_805AB210@sda21(r2) -/* 80110CFC 0010DC5C B0 18 06 74 */ sth r0, 0x674(r24) -/* 80110D00 0010DC60 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 80110D04 0010DC64 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l -/* 80110D08 0010DC68 7F 84 E3 78 */ mr r4, r28 -/* 80110D0C 0010DC6C C0 27 00 00 */ lfs f1, 0(r7) -/* 80110D10 0010DC70 7F A5 EB 78 */ mr r5, r29 -/* 80110D14 0010DC74 38 78 06 D4 */ addi r3, r24, 0x6d4 -/* 80110D18 0010DC78 D0 38 06 78 */ stfs f1, 0x678(r24) -/* 80110D1C 0010DC7C C0 27 00 04 */ lfs f1, 4(r7) -/* 80110D20 0010DC80 D0 38 06 7C */ stfs f1, 0x67c(r24) -/* 80110D24 0010DC84 C0 27 00 08 */ lfs f1, 8(r7) -/* 80110D28 0010DC88 D0 38 06 80 */ stfs f1, 0x680(r24) -/* 80110D2C 0010DC8C 80 1B 00 00 */ lwz r0, 0(r27) -/* 80110D30 0010DC90 90 18 06 84 */ stw r0, 0x684(r24) -/* 80110D34 0010DC94 88 1B 00 04 */ lbz r0, 4(r27) -/* 80110D38 0010DC98 98 18 06 88 */ stb r0, 0x688(r24) -/* 80110D3C 0010DC9C C0 3B 00 08 */ lfs f1, 8(r27) -/* 80110D40 0010DCA0 D0 38 06 8C */ stfs f1, 0x68c(r24) -/* 80110D44 0010DCA4 C0 3B 00 0C */ lfs f1, 0xc(r27) -/* 80110D48 0010DCA8 D0 38 06 90 */ stfs f1, 0x690(r24) -/* 80110D4C 0010DCAC C0 3B 00 10 */ lfs f1, 0x10(r27) -/* 80110D50 0010DCB0 D0 38 06 94 */ stfs f1, 0x694(r24) -/* 80110D54 0010DCB4 C0 3B 00 14 */ lfs f1, 0x14(r27) -/* 80110D58 0010DCB8 D0 38 06 98 */ stfs f1, 0x698(r24) -/* 80110D5C 0010DCBC 88 1B 00 18 */ lbz r0, 0x18(r27) -/* 80110D60 0010DCC0 98 18 06 9C */ stb r0, 0x69c(r24) -/* 80110D64 0010DCC4 C0 26 00 00 */ lfs f1, 0(r6) -/* 80110D68 0010DCC8 D0 38 06 A0 */ stfs f1, 0x6a0(r24) -/* 80110D6C 0010DCCC C0 26 00 04 */ lfs f1, 4(r6) -/* 80110D70 0010DCD0 D0 38 06 A4 */ stfs f1, 0x6a4(r24) -/* 80110D74 0010DCD4 C0 26 00 08 */ lfs f1, 8(r6) -/* 80110D78 0010DCD8 D0 38 06 A8 */ stfs f1, 0x6a8(r24) -/* 80110D7C 0010DCDC C0 26 00 0C */ lfs f1, 0xc(r6) -/* 80110D80 0010DCE0 D0 38 06 AC */ stfs f1, 0x6ac(r24) -/* 80110D84 0010DCE4 C0 27 00 00 */ lfs f1, 0(r7) -/* 80110D88 0010DCE8 D0 38 06 B0 */ stfs f1, 0x6b0(r24) -/* 80110D8C 0010DCEC C0 27 00 04 */ lfs f1, 4(r7) -/* 80110D90 0010DCF0 D0 38 06 B4 */ stfs f1, 0x6b4(r24) -/* 80110D94 0010DCF4 C0 27 00 08 */ lfs f1, 8(r7) -/* 80110D98 0010DCF8 D0 38 06 B8 */ stfs f1, 0x6b8(r24) -/* 80110D9C 0010DCFC D0 18 06 BC */ stfs f0, 0x6bc(r24) -/* 80110DA0 0010DD00 D0 18 06 C0 */ stfs f0, 0x6c0(r24) -/* 80110DA4 0010DD04 D0 18 06 C4 */ stfs f0, 0x6c4(r24) -/* 80110DA8 0010DD08 D0 18 06 C8 */ stfs f0, 0x6c8(r24) -/* 80110DAC 0010DD0C D0 18 06 CC */ stfs f0, 0x6cc(r24) -/* 80110DB0 0010DD10 D0 18 06 D0 */ stfs f0, 0x6d0(r24) -/* 80110DB4 0010DD14 48 10 B2 F5 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 80110DB8 0010DD18 C0 18 03 B4 */ lfs f0, 0x3b4(r24) -/* 80110DBC 0010DD1C 38 80 FF FF */ li r4, -1 -/* 80110DC0 0010DD20 C0 22 94 F0 */ lfs f1, lbl_805AB210@sda21(r2) -/* 80110DC4 0010DD24 38 00 00 00 */ li r0, 0 -/* 80110DC8 0010DD28 D0 18 06 FC */ stfs f0, 0x6fc(r24) -/* 80110DCC 0010DD2C 57 E3 04 3E */ clrlwi r3, r31, 0x10 -/* 80110DD0 0010DD30 C0 02 95 5C */ lfs f0, lbl_805AB27C@sda21(r2) -/* 80110DD4 0010DD34 D0 38 07 00 */ stfs f1, 0x700(r24) -/* 80110DD8 0010DD38 90 98 07 04 */ stw r4, 0x704(r24) -/* 80110DDC 0010DD3C 90 98 07 08 */ stw r4, 0x708(r24) -/* 80110DE0 0010DD40 90 98 07 0C */ stw r4, 0x70c(r24) -/* 80110DE4 0010DD44 90 98 07 10 */ stw r4, 0x710(r24) -/* 80110DE8 0010DD48 D0 38 07 14 */ stfs f1, 0x714(r24) -/* 80110DEC 0010DD4C D0 18 07 18 */ stfs f0, 0x718(r24) -/* 80110DF0 0010DD50 98 18 07 28 */ stb r0, 0x728(r24) -/* 80110DF4 0010DD54 48 1D 7B BD */ bl TranslateSFXID__11CSfxManagerFUs -/* 80110DF8 0010DD58 B0 78 07 2C */ sth r3, 0x72c(r24) -/* 80110DFC 0010DD5C 38 60 00 01 */ li r3, 1 -/* 80110E00 0010DD60 38 80 00 00 */ li r4, 0 -/* 80110E04 0010DD64 2C 1A 00 02 */ cmpwi r26, 2 -/* 80110E08 0010DD68 88 18 07 2E */ lbz r0, 0x72e(r24) -/* 80110E0C 0010DD6C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80110E10 0010DD70 98 18 07 2E */ stb r0, 0x72e(r24) -/* 80110E14 0010DD74 88 18 07 2E */ lbz r0, 0x72e(r24) -/* 80110E18 0010DD78 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80110E1C 0010DD7C 98 18 07 2E */ stb r0, 0x72e(r24) -/* 80110E20 0010DD80 88 79 00 F8 */ lbz r3, 0xf8(r25) -/* 80110E24 0010DD84 88 18 07 2E */ lbz r0, 0x72e(r24) -/* 80110E28 0010DD88 7C 63 00 34 */ cntlzw r3, r3 -/* 80110E2C 0010DD8C 50 60 06 B4 */ rlwimi r0, r3, 0, 0x1a, 0x1a -/* 80110E30 0010DD90 98 18 07 2E */ stb r0, 0x72e(r24) -/* 80110E34 0010DD94 88 18 07 2E */ lbz r0, 0x72e(r24) -/* 80110E38 0010DD98 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80110E3C 0010DD9C 98 18 07 2E */ stb r0, 0x72e(r24) -/* 80110E40 0010DDA0 88 18 07 2E */ lbz r0, 0x72e(r24) -/* 80110E44 0010DDA4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80110E48 0010DDA8 98 18 07 2E */ stb r0, 0x72e(r24) -/* 80110E4C 0010DDAC 88 18 07 2E */ lbz r0, 0x72e(r24) -/* 80110E50 0010DDB0 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80110E54 0010DDB4 98 18 07 2E */ stb r0, 0x72e(r24) -/* 80110E58 0010DDB8 88 18 07 2E */ lbz r0, 0x72e(r24) -/* 80110E5C 0010DDBC 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80110E60 0010DDC0 98 18 07 2E */ stb r0, 0x72e(r24) -/* 80110E64 0010DDC4 88 18 07 2E */ lbz r0, 0x72e(r24) -/* 80110E68 0010DDC8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80110E6C 0010DDCC 98 18 07 2E */ stb r0, 0x72e(r24) -/* 80110E70 0010DDD0 40 82 00 0C */ bne lbl_80110E7C -/* 80110E74 0010DDD4 38 78 06 D4 */ addi r3, r24, 0x6d4 -/* 80110E78 0010DDD8 48 22 FF 0D */ bl Lock__6CTokenFv -lbl_80110E7C: -/* 80110E7C 0010DDDC 7F 03 C3 78 */ mr r3, r24 -/* 80110E80 0010DDE0 4B FF B2 B5 */ bl UpdateTouchBounds__8CWarWaspFv -/* 80110E84 0010DDE4 C0 22 95 34 */ lfs f1, lbl_805AB254@sda21(r2) -/* 80110E88 0010DDE8 7F 03 C3 78 */ mr r3, r24 -/* 80110E8C 0010DDEC 48 00 96 55 */ bl SetCoefficientOfRestitutionModifier__13CPhysicsActorFf -/* 80110E90 0010DDF0 3C 1E 00 01 */ addis r0, r30, 1 -/* 80110E94 0010DDF4 28 00 FF FF */ cmplwi r0, 0xffff -/* 80110E98 0010DDF8 41 82 00 BC */ beq lbl_80110F54 -/* 80110E9C 0010DDFC 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80110EA0 0010DE00 93 C1 00 30 */ stw r30, 0x30(r1) -/* 80110EA4 0010DE04 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80110EA8 0010DE08 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80110EAC 0010DE0C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80110EB0 0010DE10 38 61 00 24 */ addi r3, r1, 0x24 -/* 80110EB4 0010DE14 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80110EB8 0010DE18 81 84 00 00 */ lwz r12, 0(r4) -/* 80110EBC 0010DE1C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80110EC0 0010DE20 7D 89 03 A6 */ mtctr r12 -/* 80110EC4 0010DE24 4E 80 04 21 */ bctrl -/* 80110EC8 0010DE28 3A E1 00 34 */ addi r23, r1, 0x34 -/* 80110ECC 0010DE2C 38 81 00 24 */ addi r4, r1, 0x24 -/* 80110ED0 0010DE30 7E E3 BB 78 */ mr r3, r23 -/* 80110ED4 0010DE34 48 22 FF D5 */ bl __ct__6CTokenFRC6CToken -/* 80110ED8 0010DE38 7E E3 BB 78 */ mr r3, r23 -/* 80110EDC 0010DE3C 48 22 FF 31 */ bl GetObj__6CTokenFv -/* 80110EE0 0010DE40 80 03 00 04 */ lwz r0, 4(r3) -/* 80110EE4 0010DE44 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80110EE8 0010DE48 88 18 07 28 */ lbz r0, 0x728(r24) -/* 80110EEC 0010DE4C 28 00 00 00 */ cmplwi r0, 0 -/* 80110EF0 0010DE50 40 82 00 34 */ bne lbl_80110F24 -/* 80110EF4 0010DE54 37 38 07 1C */ addic. r25, r24, 0x71c -/* 80110EF8 0010DE58 41 82 00 20 */ beq lbl_80110F18 -/* 80110EFC 0010DE5C 7F 23 CB 78 */ mr r3, r25 -/* 80110F00 0010DE60 7E E4 BB 78 */ mr r4, r23 -/* 80110F04 0010DE64 48 22 FF A5 */ bl __ct__6CTokenFRC6CToken -/* 80110F08 0010DE68 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80110F0C 0010DE6C 7F 23 CB 78 */ mr r3, r25 -/* 80110F10 0010DE70 90 19 00 08 */ stw r0, 8(r25) -/* 80110F14 0010DE74 48 22 FE 71 */ bl Lock__6CTokenFv -lbl_80110F18: -/* 80110F18 0010DE78 38 00 00 01 */ li r0, 1 -/* 80110F1C 0010DE7C 98 18 07 28 */ stb r0, 0x728(r24) -/* 80110F20 0010DE80 48 00 00 1C */ b lbl_80110F3C -lbl_80110F24: -/* 80110F24 0010DE84 3B 38 07 1C */ addi r25, r24, 0x71c -/* 80110F28 0010DE88 7E E4 BB 78 */ mr r4, r23 -/* 80110F2C 0010DE8C 7F 23 CB 78 */ mr r3, r25 -/* 80110F30 0010DE90 48 22 FD 95 */ bl __as__6CTokenFRC6CToken -/* 80110F34 0010DE94 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 80110F38 0010DE98 90 19 00 08 */ stw r0, 8(r25) -lbl_80110F3C: -/* 80110F3C 0010DE9C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80110F40 0010DEA0 38 80 00 00 */ li r4, 0 -/* 80110F44 0010DEA4 48 22 FE FD */ bl __dt__6CTokenFv -/* 80110F48 0010DEA8 38 61 00 24 */ addi r3, r1, 0x24 -/* 80110F4C 0010DEAC 38 80 FF FF */ li r4, -1 -/* 80110F50 0010DEB0 48 22 FE F1 */ bl __dt__6CTokenFv -lbl_80110F54: -/* 80110F54 0010DEB4 88 18 03 28 */ lbz r0, 0x328(r24) -/* 80110F58 0010DEB8 38 60 00 01 */ li r3, 1 -/* 80110F5C 0010DEBC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80110F60 0010DEC0 38 78 04 60 */ addi r3, r24, 0x460 -/* 80110F64 0010DEC4 98 18 03 28 */ stb r0, 0x328(r24) -/* 80110F68 0010DEC8 38 80 00 02 */ li r4, 2 -/* 80110F6C 0010DECC 38 A0 00 02 */ li r5, 2 -/* 80110F70 0010DED0 48 12 2E 25 */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState -/* 80110F74 0010DED4 7F 03 C3 78 */ mr r3, r24 -/* 80110F78 0010DED8 BA E1 00 4C */ lmw r23, 0x4c(r1) -/* 80110F7C 0010DEDC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80110F80 0010DEE0 7C 08 03 A6 */ mtlr r0 -/* 80110F84 0010DEE4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80110F88 0010DEE8 4E 80 00 20 */ blr - -.global ResetBlur__12CWorldShadowFv -ResetBlur__12CWorldShadowFv: -/* 80110F8C 0010DEEC 38 00 00 01 */ li r0, 1 -/* 80110F90 0010DEF0 98 03 00 88 */ stb r0, 0x88(r3) -/* 80110F94 0010DEF4 4E 80 00 20 */ blr - -.global DisableModelProjectedShadow__12CWorldShadowCFv -DisableModelProjectedShadow__12CWorldShadowCFv: -/* 80110F98 0010DEF8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80110F9C 0010DEFC 7C 08 02 A6 */ mflr r0 -/* 80110FA0 0010DF00 90 01 00 14 */ stw r0, 0x14(r1) -/* 80110FA4 0010DF04 48 23 47 E1 */ bl DisableShadowMaps__10CCubeModelFv -/* 80110FA8 0010DF08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80110FAC 0010DF0C 7C 08 03 A6 */ mtlr r0 -/* 80110FB0 0010DF10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80110FB4 0010DF14 4E 80 00 20 */ blr - -.global EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif -EnableModelProjectedShadow__12CWorldShadowCFRC12CTransform4fUif: -/* 80110FB8 0010DF18 94 21 FD E0 */ stwu r1, -0x220(r1) -/* 80110FBC 0010DF1C 7C 08 02 A6 */ mflr r0 -/* 80110FC0 0010DF20 90 01 02 24 */ stw r0, 0x224(r1) -/* 80110FC4 0010DF24 DB E1 02 10 */ stfd f31, 0x210(r1) -/* 80110FC8 0010DF28 F3 E1 02 18 */ psq_st f31, 536(r1), 0, qr0 -/* 80110FCC 0010DF2C 93 E1 02 0C */ stw r31, 0x20c(r1) -/* 80110FD0 0010DF30 93 C1 02 08 */ stw r30, 0x208(r1) -/* 80110FD4 0010DF34 93 A1 02 04 */ stw r29, 0x204(r1) -/* 80110FD8 0010DF38 88 0D A3 64 */ lbz r0, lbl_805A8F24@sda21(r13) -/* 80110FDC 0010DF3C FF E0 08 90 */ fmr f31, f1 -/* 80110FE0 0010DF40 7C 7D 1B 78 */ mr r29, r3 -/* 80110FE4 0010DF44 7C 9E 23 78 */ mr r30, r4 -/* 80110FE8 0010DF48 7C 00 07 75 */ extsb. r0, r0 -/* 80110FEC 0010DF4C 7C BF 2B 78 */ mr r31, r5 -/* 80110FF0 0010DF50 40 82 00 68 */ bne lbl_80111058 -/* 80110FF4 0010DF54 C8 82 95 70 */ lfd f4, lbl_805AB290@sda21(r2) -/* 80110FF8 0010DF58 38 00 00 01 */ li r0, 1 -/* 80110FFC 0010DF5C C8 62 95 78 */ lfd f3, lbl_805AB298@sda21(r2) -/* 80111000 0010DF60 FC 20 20 34 */ frsqrte f1, f4 -/* 80111004 0010DF64 C8 42 95 80 */ lfd f2, lbl_805AB2A0@sda21(r2) -/* 80111008 0010DF68 98 0D A3 64 */ stb r0, lbl_805A8F24@sda21(r13) -/* 8011100C 0010DF6C FC 01 00 72 */ fmul f0, f1, f1 -/* 80111010 0010DF70 FC 23 00 72 */ fmul f1, f3, f1 -/* 80111014 0010DF74 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 80111018 0010DF78 FC 21 00 32 */ fmul f1, f1, f0 -/* 8011101C 0010DF7C FC 01 00 72 */ fmul f0, f1, f1 -/* 80111020 0010DF80 FC 23 00 72 */ fmul f1, f3, f1 -/* 80111024 0010DF84 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 80111028 0010DF88 FC 21 00 32 */ fmul f1, f1, f0 -/* 8011102C 0010DF8C FC 01 00 72 */ fmul f0, f1, f1 -/* 80111030 0010DF90 FC 23 00 72 */ fmul f1, f3, f1 -/* 80111034 0010DF94 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 80111038 0010DF98 FC 21 00 32 */ fmul f1, f1, f0 -/* 8011103C 0010DF9C FC 01 00 72 */ fmul f0, f1, f1 -/* 80111040 0010DFA0 FC 23 00 72 */ fmul f1, f3, f1 -/* 80111044 0010DFA4 FC 04 10 3C */ fnmsub f0, f4, f0, f2 -/* 80111048 0010DFA8 FC 01 00 32 */ fmul f0, f1, f0 -/* 8011104C 0010DFAC FC 04 00 32 */ fmul f0, f4, f0 -/* 80111050 0010DFB0 FC 00 00 18 */ frsp f0, f0 -/* 80111054 0010DFB4 D0 0D A3 60 */ stfs f0, lbl_805A8F20@sda21(r13) -lbl_80111058: -/* 80111058 0010DFB8 C0 5D 00 78 */ lfs f2, 0x78(r29) -/* 8011105C 0010DFBC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80111060 0010DFC0 C0 1D 00 6C */ lfs f0, 0x6c(r29) -/* 80111064 0010DFC4 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80111068 0010DFC8 C0 3D 00 7C */ lfs f1, 0x7c(r29) -/* 8011106C 0010DFCC 38 61 01 70 */ addi r3, r1, 0x170 -/* 80111070 0010DFD0 EC A2 00 28 */ fsubs f5, f2, f0 -/* 80111074 0010DFD4 C0 1D 00 70 */ lfs f0, 0x70(r29) -/* 80111078 0010DFD8 C0 62 95 88 */ lfs f3, lbl_805AB2A8@sda21(r2) -/* 8011107C 0010DFDC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80111080 0010DFE0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80111084 0010DFE4 C0 3D 00 74 */ lfs f1, 0x74(r29) -/* 80111088 0010DFE8 C0 1D 00 68 */ lfs f0, 0x68(r29) -/* 8011108C 0010DFEC 38 C1 00 08 */ addi r6, r1, 8 -/* 80111090 0010DFF0 C0 42 95 8C */ lfs f2, lbl_805AB2AC@sda21(r2) -/* 80111094 0010DFF4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80111098 0010DFF8 D0 61 00 08 */ stfs f3, 8(r1) -/* 8011109C 0010DFFC D0 61 00 0C */ stfs f3, 0xc(r1) -/* 801110A0 0010E000 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 801110A4 0010E004 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 801110A8 0010E008 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 801110AC 0010E00C D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 801110B0 0010E010 48 20 2A 61 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 801110B4 0010E014 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 801110B8 0010E018 38 81 01 70 */ addi r4, r1, 0x170 -/* 801110BC 0010E01C 48 20 1A B9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801110C0 0010E020 7F C4 F3 78 */ mr r4, r30 -/* 801110C4 0010E024 38 61 01 A0 */ addi r3, r1, 0x1a0 -/* 801110C8 0010E028 48 20 1A AD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801110CC 0010E02C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 801110D0 0010E030 38 61 01 10 */ addi r3, r1, 0x110 -/* 801110D4 0010E034 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 801110D8 0010E038 38 81 01 A0 */ addi r4, r1, 0x1a0 -/* 801110DC 0010E03C C0 45 00 00 */ lfs f2, 0(r5) -/* 801110E0 0010E040 C0 25 00 04 */ lfs f1, 4(r5) -/* 801110E4 0010E044 C0 05 00 08 */ lfs f0, 8(r5) -/* 801110E8 0010E048 D0 41 01 AC */ stfs f2, 0x1ac(r1) -/* 801110EC 0010E04C D0 21 01 BC */ stfs f1, 0x1bc(r1) -/* 801110F0 0010E050 D0 01 01 CC */ stfs f0, 0x1cc(r1) -/* 801110F4 0010E054 48 20 15 ED */ bl GetInverse__12CTransform4fCFv -/* 801110F8 0010E058 38 61 01 40 */ addi r3, r1, 0x140 -/* 801110FC 0010E05C 38 81 01 10 */ addi r4, r1, 0x110 -/* 80111100 0010E060 38 A1 01 D0 */ addi r5, r1, 0x1d0 -/* 80111104 0010E064 48 20 18 4D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80111108 0010E068 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 8011110C 0010E06C 38 81 01 40 */ addi r4, r1, 0x140 -/* 80111110 0010E070 48 20 1A 31 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80111114 0010E074 C0 2D A3 60 */ lfs f1, lbl_805A8F20@sda21(r13) -/* 80111118 0010E078 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 8011111C 0010E07C C0 1D 00 64 */ lfs f0, 0x64(r29) -/* 80111120 0010E080 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80111124 0010E084 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80111128 0010E088 48 20 21 19 */ bl Scale__12CTransform4fFf -/* 8011112C 0010E08C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80111130 0010E090 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 80111134 0010E094 38 A1 00 E0 */ addi r5, r1, 0xe0 -/* 80111138 0010E098 48 20 18 19 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011113C 0010E09C 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 80111140 0010E0A0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80111144 0010E0A4 48 20 19 FD */ bl __as__12CTransform4fFRC12CTransform4f -/* 80111148 0010E0A8 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8011114C 0010E0AC 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 80111150 0010E0B0 48 20 15 91 */ bl GetInverse__12CTransform4fCFv -/* 80111154 0010E0B4 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 80111158 0010E0B8 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 8011115C 0010E0BC 48 20 19 E5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80111160 0010E0C0 C0 22 95 90 */ lfs f1, lbl_805AB2B0@sda21(r2) -/* 80111164 0010E0C4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80111168 0010E0C8 C0 42 95 88 */ lfs f2, lbl_805AB2A8@sda21(r2) -/* 8011116C 0010E0CC FC 60 08 90 */ fmr f3, f1 -/* 80111170 0010E0D0 48 20 20 19 */ bl Translate__12CTransform4fFfff -/* 80111174 0010E0D4 38 61 00 80 */ addi r3, r1, 0x80 -/* 80111178 0010E0D8 38 81 00 50 */ addi r4, r1, 0x50 -/* 8011117C 0010E0DC 38 A1 01 D0 */ addi r5, r1, 0x1d0 -/* 80111180 0010E0E0 48 20 17 D1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80111184 0010E0E4 38 61 01 D0 */ addi r3, r1, 0x1d0 -/* 80111188 0010E0E8 38 81 00 80 */ addi r4, r1, 0x80 -/* 8011118C 0010E0EC 48 20 19 B5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80111190 0010E0F0 38 00 00 01 */ li r0, 1 -/* 80111194 0010E0F4 80 7D 00 00 */ lwz r3, 0(r29) -/* 80111198 0010E0F8 7C 00 F8 30 */ slw r0, r0, r31 -/* 8011119C 0010E0FC 38 81 01 D0 */ addi r4, r1, 0x1d0 -/* 801111A0 0010E100 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 801111A4 0010E104 7C A6 2B 78 */ mr r6, r5 -/* 801111A8 0010E108 48 23 45 E9 */ bl EnableShadowMaps__10CCubeModelFPC8CTextureRC12CTransform4fUcUc -/* 801111AC 0010E10C E3 E1 02 18 */ psq_l f31, 536(r1), 0, qr0 -/* 801111B0 0010E110 80 01 02 24 */ lwz r0, 0x224(r1) -/* 801111B4 0010E114 CB E1 02 10 */ lfd f31, 0x210(r1) -/* 801111B8 0010E118 83 E1 02 0C */ lwz r31, 0x20c(r1) -/* 801111BC 0010E11C 83 C1 02 08 */ lwz r30, 0x208(r1) -/* 801111C0 0010E120 83 A1 02 04 */ lwz r29, 0x204(r1) -/* 801111C4 0010E124 7C 08 03 A6 */ mtlr r0 -/* 801111C8 0010E128 38 21 02 20 */ addi r1, r1, 0x220 -/* 801111CC 0010E12C 4E 80 00 20 */ blr - -.global BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb -BuildLightShadowTexture__12CWorldShadowFRC13CStateManager7TAreaIdUiRC6CAABoxbb: -/* 801111D0 0010E130 94 21 FD B0 */ stwu r1, -0x250(r1) -/* 801111D4 0010E134 7C 08 02 A6 */ mflr r0 -/* 801111D8 0010E138 90 01 02 54 */ stw r0, 0x254(r1) -/* 801111DC 0010E13C DB E1 02 40 */ stfd f31, 0x240(r1) -/* 801111E0 0010E140 F3 E1 02 48 */ psq_st f31, 584(r1), 0, qr0 -/* 801111E4 0010E144 DB C1 02 30 */ stfd f30, 0x230(r1) -/* 801111E8 0010E148 F3 C1 02 38 */ psq_st f30, 568(r1), 0, qr0 -/* 801111EC 0010E14C DB A1 02 20 */ stfd f29, 0x220(r1) -/* 801111F0 0010E150 F3 A1 02 28 */ psq_st f29, 552(r1), 0, qr0 -/* 801111F4 0010E154 DB 81 02 10 */ stfd f28, 0x210(r1) -/* 801111F8 0010E158 F3 81 02 18 */ psq_st f28, 536(r1), 0, qr0 -/* 801111FC 0010E15C BE E1 01 EC */ stmw r23, 0x1ec(r1) -/* 80111200 0010E160 7C 7F 1B 78 */ mr r31, r3 -/* 80111204 0010E164 7C B7 2B 78 */ mr r23, r5 -/* 80111208 0010E168 80 63 00 80 */ lwz r3, 0x80(r3) -/* 8011120C 0010E16C 7C DB 33 78 */ mr r27, r6 -/* 80111210 0010E170 80 05 00 00 */ lwz r0, 0(r5) -/* 80111214 0010E174 7C FA 3B 78 */ mr r26, r7 -/* 80111218 0010E178 7D 18 43 78 */ mr r24, r8 -/* 8011121C 0010E17C 7D 39 4B 78 */ mr r25, r9 -/* 80111220 0010E180 7C 03 00 00 */ cmpw r3, r0 -/* 80111224 0010E184 40 82 00 10 */ bne lbl_80111234 -/* 80111228 0010E188 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 8011122C 0010E18C 7C 00 D8 40 */ cmplw r0, r27 -/* 80111230 0010E190 41 82 00 18 */ beq lbl_80111248 -lbl_80111234: -/* 80111234 0010E194 38 00 00 01 */ li r0, 1 -/* 80111238 0010E198 98 1F 00 88 */ stb r0, 0x88(r31) -/* 8011123C 0010E19C 80 17 00 00 */ lwz r0, 0(r23) -/* 80111240 0010E1A0 90 1F 00 80 */ stw r0, 0x80(r31) -/* 80111244 0010E1A4 93 7F 00 84 */ stw r27, 0x84(r31) -lbl_80111248: -/* 80111248 0010E1A8 80 77 00 00 */ lwz r3, 0(r23) -/* 8011124C 0010E1AC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 80111250 0010E1B0 7C 03 00 00 */ cmpw r3, r0 -/* 80111254 0010E1B4 41 82 08 CC */ beq lbl_80111B20 -/* 80111258 0010E1B8 80 17 00 00 */ lwz r0, 0(r23) -/* 8011125C 0010E1BC 80 84 08 50 */ lwz r4, 0x850(r4) -/* 80111260 0010E1C0 54 03 18 38 */ slwi r3, r0, 3 -/* 80111264 0010E1C4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80111268 0010E1C8 80 84 00 20 */ lwz r4, 0x20(r4) -/* 8011126C 0010E1CC 38 03 00 04 */ addi r0, r3, 4 -/* 80111270 0010E1D0 7F 84 00 2E */ lwzx r28, r4, r0 -/* 80111274 0010E1D4 88 1C 00 F0 */ lbz r0, 0xf0(r28) -/* 80111278 0010E1D8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8011127C 0010E1DC 41 82 08 A4 */ beq lbl_80111B20 -/* 80111280 0010E1E0 80 7C 01 2C */ lwz r3, 0x12c(r28) -/* 80111284 0010E1E4 1C 1B 00 44 */ mulli r0, r27, 0x44 -/* 80111288 0010E1E8 7F 44 D3 78 */ mr r4, r26 -/* 8011128C 0010E1EC 80 A3 00 6C */ lwz r5, 0x6c(r3) -/* 80111290 0010E1F0 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80111294 0010E1F4 7F C5 02 14 */ add r30, r5, r0 -/* 80111298 0010E1F8 48 22 63 75 */ bl GetCenterPoint__6CAABoxCFv -/* 8011129C 0010E1FC C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 801112A0 0010E200 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 801112A4 0010E204 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 801112A8 0010E208 D0 41 00 CC */ stfs f2, 0xcc(r1) -/* 801112AC 0010E20C D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 801112B0 0010E210 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 801112B4 0010E214 80 7C 01 2C */ lwz r3, 0x12c(r28) -/* 801112B8 0010E218 80 83 00 A0 */ lwz r4, 0xa0(r3) -/* 801112BC 0010E21C 28 04 00 00 */ cmplwi r4, 0 -/* 801112C0 0010E220 41 82 00 A8 */ beq lbl_80111368 -/* 801112C4 0010E224 80 02 85 40 */ lwz r0, lbl_805AA260@sda21(r2) -/* 801112C8 0010E228 2C 00 00 01 */ cmpwi r0, 1 -/* 801112CC 0010E22C 40 82 00 9C */ bne lbl_80111368 -/* 801112D0 0010E230 80 04 00 08 */ lwz r0, 8(r4) -/* 801112D4 0010E234 38 61 00 EC */ addi r3, r1, 0xec -/* 801112D8 0010E238 7C BB 02 14 */ add r5, r27, r0 -/* 801112DC 0010E23C 48 19 D1 19 */ bl GetLightSet__11CPVSAreaSetCFi -/* 801112E0 0010E240 34 01 00 F8 */ addic. r0, r1, 0xf8 -/* 801112E4 0010E244 80 E1 00 EC */ lwz r7, 0xec(r1) -/* 801112E8 0010E248 80 C1 00 F0 */ lwz r6, 0xf0(r1) -/* 801112EC 0010E24C 38 00 00 00 */ li r0, 0 -/* 801112F0 0010E250 88 81 00 F8 */ lbz r4, 0xf8(r1) -/* 801112F4 0010E254 3B 61 01 0C */ addi r27, r1, 0x10c -/* 801112F8 0010E258 80 A1 00 F4 */ lwz r5, 0xf4(r1) -/* 801112FC 0010E25C 80 61 00 FC */ lwz r3, 0xfc(r1) -/* 80111300 0010E260 90 E1 01 00 */ stw r7, 0x100(r1) -/* 80111304 0010E264 90 C1 01 04 */ stw r6, 0x104(r1) -/* 80111308 0010E268 90 A1 01 08 */ stw r5, 0x108(r1) -/* 8011130C 0010E26C 98 81 01 0C */ stb r4, 0x10c(r1) -/* 80111310 0010E270 90 61 01 10 */ stw r3, 0x110(r1) -/* 80111314 0010E274 98 01 00 F8 */ stb r0, 0xf8(r1) -/* 80111318 0010E278 41 82 00 14 */ beq lbl_8011132C -/* 8011131C 0010E27C 28 00 00 00 */ cmplwi r0, 0 -/* 80111320 0010E280 41 82 00 0C */ beq lbl_8011132C -/* 80111324 0010E284 80 61 00 FC */ lwz r3, 0xfc(r1) -/* 80111328 0010E288 48 20 46 09 */ bl Free__7CMemoryFPCv -lbl_8011132C: -/* 8011132C 0010E28C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111330 0010E290 38 81 01 00 */ addi r4, r1, 0x100 -/* 80111334 0010E294 80 B7 00 00 */ lwz r5, 0(r23) -/* 80111338 0010E298 81 83 00 00 */ lwz r12, 0(r3) -/* 8011133C 0010E29C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80111340 0010E2A0 7D 89 03 A6 */ mtctr r12 -/* 80111344 0010E2A4 4E 80 04 21 */ bctrl -/* 80111348 0010E2A8 28 1B 00 00 */ cmplwi r27, 0 -/* 8011134C 0010E2AC 41 82 00 60 */ beq lbl_801113AC -/* 80111350 0010E2B0 88 01 01 0C */ lbz r0, 0x10c(r1) -/* 80111354 0010E2B4 28 00 00 00 */ cmplwi r0, 0 -/* 80111358 0010E2B8 41 82 00 54 */ beq lbl_801113AC -/* 8011135C 0010E2BC 80 61 01 10 */ lwz r3, 0x110(r1) -/* 80111360 0010E2C0 48 20 45 D1 */ bl Free__7CMemoryFPCv -/* 80111364 0010E2C4 48 00 00 48 */ b lbl_801113AC -lbl_80111368: -/* 80111368 0010E2C8 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8011136C 0010E2CC 38 80 00 02 */ li r4, 2 -/* 80111370 0010E2D0 48 20 50 11 */ bl Reset__10CPVSVisSetFi -/* 80111374 0010E2D4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111378 0010E2D8 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8011137C 0010E2DC 80 B7 00 00 */ lwz r5, 0(r23) -/* 80111380 0010E2E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80111384 0010E2E4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80111388 0010E2E8 7D 89 03 A6 */ mtctr r12 -/* 8011138C 0010E2EC 4E 80 04 21 */ bctrl -/* 80111390 0010E2F0 34 61 00 E4 */ addic. r3, r1, 0xe4 -/* 80111394 0010E2F4 41 82 00 18 */ beq lbl_801113AC -/* 80111398 0010E2F8 88 03 00 00 */ lbz r0, 0(r3) -/* 8011139C 0010E2FC 28 00 00 00 */ cmplwi r0, 0 -/* 801113A0 0010E300 41 82 00 0C */ beq lbl_801113AC -/* 801113A4 0010E304 80 61 00 E8 */ lwz r3, 0xe8(r1) -/* 801113A8 0010E308 48 20 45 89 */ bl Free__7CMemoryFPCv -lbl_801113AC: -/* 801113AC 0010E30C C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 801113B0 0010E310 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 801113B4 0010E314 C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 801113B8 0010E318 C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 801113BC 0010E31C C0 C1 00 D0 */ lfs f6, 0xd0(r1) -/* 801113C0 0010E320 EC A2 08 28 */ fsubs f5, f2, f1 -/* 801113C4 0010E324 C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 801113C8 0010E328 EC 00 10 28 */ fsubs f0, f0, f2 -/* 801113CC 0010E32C C0 7E 00 18 */ lfs f3, 0x18(r30) -/* 801113D0 0010E330 C0 E1 00 D4 */ lfs f7, 0xd4(r1) -/* 801113D4 0010E334 EC 86 08 28 */ fsubs f4, f6, f1 -/* 801113D8 0010E338 C0 5A 00 10 */ lfs f2, 0x10(r26) -/* 801113DC 0010E33C C0 3A 00 14 */ lfs f1, 0x14(r26) -/* 801113E0 0010E340 EC 67 18 28 */ fsubs f3, f7, f3 -/* 801113E4 0010E344 EC 42 30 28 */ fsubs f2, f2, f6 -/* 801113E8 0010E348 D0 A1 00 C0 */ stfs f5, 0xc0(r1) -/* 801113EC 0010E34C EC 21 38 28 */ fsubs f1, f1, f7 -/* 801113F0 0010E350 D0 81 00 C4 */ stfs f4, 0xc4(r1) -/* 801113F4 0010E354 D0 61 00 C8 */ stfs f3, 0xc8(r1) -/* 801113F8 0010E358 D0 01 00 A8 */ stfs f0, 0xa8(r1) -/* 801113FC 0010E35C D0 41 00 AC */ stfs f2, 0xac(r1) -/* 80111400 0010E360 D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 80111404 0010E364 48 20 34 B5 */ bl Magnitude__9CVector3fCFv -/* 80111408 0010E368 D0 3F 00 64 */ stfs f1, 0x64(r31) -/* 8011140C 0010E36C 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80111410 0010E370 48 20 34 A9 */ bl Magnitude__9CVector3fCFv -/* 80111414 0010E374 FC 00 08 90 */ fmr f0, f1 -/* 80111418 0010E378 C0 3F 00 64 */ lfs f1, 0x64(r31) -/* 8011141C 0010E37C FF A0 00 90 */ fmr f29, f0 -/* 80111420 0010E380 FC 40 E8 90 */ fmr f2, f29 -/* 80111424 0010E384 48 28 38 49 */ bl atan2 -/* 80111428 0010E388 FC 20 08 18 */ frsp f1, f1 -/* 8011142C 0010E38C C0 42 95 98 */ lfs f2, lbl_805AB2B8@sda21(r2) -/* 80111430 0010E390 C0 62 95 94 */ lfs f3, lbl_805AB2B4@sda21(r2) -/* 80111434 0010E394 C0 02 95 9C */ lfs f0, lbl_805AB2BC@sda21(r2) -/* 80111438 0010E398 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8011143C 0010E39C EF C3 00 72 */ fmuls f30, f3, f1 -/* 80111440 0010E3A0 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80111444 0010E3A4 41 80 06 DC */ blt lbl_80111B20 -/* 80111448 0010E3A8 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8011144C 0010E3AC 48 20 34 AD */ bl Normalize__9CVector3fFv -/* 80111450 0010E3B0 C0 22 95 88 */ lfs f1, lbl_805AB2A8@sda21(r2) -/* 80111454 0010E3B4 38 61 01 44 */ addi r3, r1, 0x144 -/* 80111458 0010E3B8 C0 02 95 A0 */ lfs f0, lbl_805AB2C0@sda21(r2) -/* 8011145C 0010E3BC 38 9E 00 10 */ addi r4, r30, 0x10 -/* 80111460 0010E3C0 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 80111464 0010E3C4 38 A1 00 CC */ addi r5, r1, 0xcc -/* 80111468 0010E3C8 38 C1 00 9C */ addi r6, r1, 0x9c -/* 8011146C 0010E3CC D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 80111470 0010E3D0 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80111474 0010E3D4 48 20 26 9D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80111478 0010E3D8 38 7F 00 04 */ addi r3, r31, 4 -/* 8011147C 0010E3DC 38 81 01 44 */ addi r4, r1, 0x144 -/* 80111480 0010E3E0 48 20 16 C1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80111484 0010E3E4 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 80111488 0010E3E8 38 7F 00 04 */ addi r3, r31, 4 -/* 8011148C 0010E3EC D0 1F 00 68 */ stfs f0, 0x68(r31) -/* 80111490 0010E3F0 C0 01 00 D0 */ lfs f0, 0xd0(r1) -/* 80111494 0010E3F4 D0 1F 00 6C */ stfs f0, 0x6c(r31) -/* 80111498 0010E3F8 C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 8011149C 0010E3FC D0 1F 00 70 */ stfs f0, 0x70(r31) -/* 801114A0 0010E400 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 801114A4 0010E404 D0 1F 00 74 */ stfs f0, 0x74(r31) -/* 801114A8 0010E408 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 801114AC 0010E40C D0 1F 00 78 */ stfs f0, 0x78(r31) -/* 801114B0 0010E410 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 801114B4 0010E414 D0 1F 00 7C */ stfs f0, 0x7c(r31) -/* 801114B8 0010E418 48 1F B2 95 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 801114BC 0010E41C C0 22 95 A4 */ lfs f1, lbl_805AB2C4@sda21(r2) -/* 801114C0 0010E420 38 61 01 74 */ addi r3, r1, 0x174 -/* 801114C4 0010E424 C0 1F 00 64 */ lfs f0, 0x64(r31) -/* 801114C8 0010E428 38 9F 00 04 */ addi r4, r31, 4 -/* 801114CC 0010E42C EC 21 07 B2 */ fmuls f1, f1, f30 -/* 801114D0 0010E430 C0 42 95 8C */ lfs f2, lbl_805AB2AC@sda21(r2) -/* 801114D4 0010E434 EC 9D 00 2A */ fadds f4, f29, f0 -/* 801114D8 0010E438 C0 62 95 A8 */ lfs f3, lbl_805AB2C8@sda21(r2) -/* 801114DC 0010E43C 38 A0 00 01 */ li r5, 1 -/* 801114E0 0010E440 48 23 3D 75 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf -/* 801114E4 0010E444 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801114E8 0010E448 38 81 01 74 */ addi r4, r1, 0x174 -/* 801114EC 0010E44C 81 83 00 00 */ lwz r12, 0(r3) -/* 801114F0 0010E450 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 801114F4 0010E454 7D 89 03 A6 */ mtctr r12 -/* 801114F8 0010E458 4E 80 04 21 */ bctrl -/* 801114FC 0010E45C 80 DF 00 00 */ lwz r6, 0(r31) -/* 80111500 0010E460 3C 80 43 30 */ lis r4, 0x4330 -/* 80111504 0010E464 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111508 0010E468 FC 20 F0 90 */ fmr f1, f30 -/* 8011150C 0010E46C A8 A6 00 04 */ lha r5, 4(r6) -/* 80111510 0010E470 A8 06 00 06 */ lha r0, 6(r6) -/* 80111514 0010E474 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 80111518 0010E478 81 83 00 00 */ lwz r12, 0(r3) -/* 8011151C 0010E47C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80111520 0010E480 90 A1 01 DC */ stw r5, 0x1dc(r1) -/* 80111524 0010E484 C8 62 95 C0 */ lfd f3, lbl_805AB2E0@sda21(r2) -/* 80111528 0010E488 90 81 01 D8 */ stw r4, 0x1d8(r1) -/* 8011152C 0010E48C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80111530 0010E490 C8 01 01 D8 */ lfd f0, 0x1d8(r1) -/* 80111534 0010E494 90 01 01 E4 */ stw r0, 0x1e4(r1) -/* 80111538 0010E498 EC 40 18 28 */ fsubs f2, f0, f3 -/* 8011153C 0010E49C C0 82 95 A8 */ lfs f4, lbl_805AB2C8@sda21(r2) -/* 80111540 0010E4A0 90 81 01 E0 */ stw r4, 0x1e0(r1) -/* 80111544 0010E4A4 C0 A2 95 AC */ lfs f5, lbl_805AB2CC@sda21(r2) -/* 80111548 0010E4A8 C8 01 01 E0 */ lfd f0, 0x1e0(r1) -/* 8011154C 0010E4AC EC 60 18 28 */ fsubs f3, f0, f3 -/* 80111550 0010E4B0 7D 89 03 A6 */ mtctr r12 -/* 80111554 0010E4B4 4E 80 04 21 */ bctrl -/* 80111558 0010E4B8 C3 ED A7 E0 */ lfs f31, lbl_805A93A0@sda21(r13) -/* 8011155C 0010E4BC C3 CD 9C 78 */ lfs f30, lbl_805A8838@sda21(r13) -/* 80111560 0010E4C0 C0 22 95 88 */ lfs f1, lbl_805AB2A8@sda21(r2) -/* 80111564 0010E4C4 C0 42 95 8C */ lfs f2, lbl_805AB2AC@sda21(r2) -/* 80111568 0010E4C8 48 1F 8E 79 */ bl SetDepthRange__9CGraphicsFff -/* 8011156C 0010E4CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111570 0010E4D0 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 80111574 0010E4D4 39 04 D9 10 */ addi r8, r4, lbl_803ED910@l -/* 80111578 0010E4D8 80 FF 00 00 */ lwz r7, 0(r31) -/* 8011157C 0010E4DC 81 83 00 00 */ lwz r12, 0(r3) -/* 80111580 0010E4E0 38 80 00 00 */ li r4, 0 -/* 80111584 0010E4E4 A8 C7 00 04 */ lha r6, 4(r7) -/* 80111588 0010E4E8 38 A0 00 00 */ li r5, 0 -/* 8011158C 0010E4EC A8 07 00 06 */ lha r0, 6(r7) -/* 80111590 0010E4F0 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80111594 0010E4F4 54 C6 08 3C */ slwi r6, r6, 1 -/* 80111598 0010E4F8 54 07 08 3C */ slwi r7, r0, 1 -/* 8011159C 0010E4FC 83 A8 00 00 */ lwz r29, 0(r8) -/* 801115A0 0010E500 83 88 00 04 */ lwz r28, 4(r8) -/* 801115A4 0010E504 83 68 00 08 */ lwz r27, 8(r8) -/* 801115A8 0010E508 83 48 00 0C */ lwz r26, 0xc(r8) -/* 801115AC 0010E50C 7D 89 03 A6 */ mtctr r12 -/* 801115B0 0010E510 4E 80 04 21 */ bctrl -/* 801115B4 0010E514 C0 21 00 D0 */ lfs f1, 0xd0(r1) -/* 801115B8 0010E518 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 801115BC 0010E51C C0 62 95 88 */ lfs f3, lbl_805AB2A8@sda21(r2) -/* 801115C0 0010E520 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 801115C4 0010E524 C0 01 00 CC */ lfs f0, 0xcc(r1) -/* 801115C8 0010E528 38 61 01 14 */ addi r3, r1, 0x114 -/* 801115CC 0010E52C EC 81 18 28 */ fsubs f4, f1, f3 -/* 801115D0 0010E530 C0 41 00 D4 */ lfs f2, 0xd4(r1) -/* 801115D4 0010E534 C0 22 95 A8 */ lfs f1, lbl_805AB2C8@sda21(r2) -/* 801115D8 0010E538 EC 00 18 28 */ fsubs f0, f0, f3 -/* 801115DC 0010E53C C0 7F 00 64 */ lfs f3, 0x64(r31) -/* 801115E0 0010E540 38 81 00 90 */ addi r4, r1, 0x90 -/* 801115E4 0010E544 EC 42 08 28 */ fsubs f2, f2, f1 -/* 801115E8 0010E548 C0 22 95 B0 */ lfs f1, lbl_805AB2D0@sda21(r2) -/* 801115EC 0010E54C D0 01 00 90 */ stfs f0, 0x90(r1) -/* 801115F0 0010E550 38 BE 00 10 */ addi r5, r30, 0x10 -/* 801115F4 0010E554 EF 81 00 F2 */ fmuls f28, f1, f3 -/* 801115F8 0010E558 D0 81 00 94 */ stfs f4, 0x94(r1) -/* 801115FC 0010E55C D0 41 00 98 */ stfs f2, 0x98(r1) -/* 80111600 0010E560 48 20 25 11 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 80111604 0010E564 38 7F 00 34 */ addi r3, r31, 0x34 -/* 80111608 0010E568 38 81 01 14 */ addi r4, r1, 0x114 -/* 8011160C 0010E56C 48 20 15 35 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80111610 0010E570 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111614 0010E574 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80111618 0010E578 81 83 00 00 */ lwz r12, 0(r3) -/* 8011161C 0010E57C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80111620 0010E580 7D 89 03 A6 */ mtctr r12 -/* 80111624 0010E584 4E 80 04 21 */ bctrl -/* 80111628 0010E588 48 23 89 85 */ bl White__6CColorFv -/* 8011162C 0010E58C 7C 64 1B 78 */ mr r4, r3 -/* 80111630 0010E590 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111634 0010E594 81 83 00 00 */ lwz r12, 0(r3) -/* 80111638 0010E598 81 8C 00 B4 */ lwz r12, 0xb4(r12) -/* 8011163C 0010E59C 7D 89 03 A6 */ mtctr r12 -/* 80111640 0010E5A0 4E 80 04 21 */ bctrl -/* 80111644 0010E5A4 38 60 00 07 */ li r3, 7 -/* 80111648 0010E5A8 38 80 00 00 */ li r4, 0 -/* 8011164C 0010E5AC 38 A0 00 00 */ li r5, 0 -/* 80111650 0010E5B0 38 C0 00 07 */ li r6, 7 -/* 80111654 0010E5B4 38 E0 00 00 */ li r7, 0 -/* 80111658 0010E5B8 48 1F A3 D1 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 8011165C 0010E5BC 38 60 00 01 */ li r3, 1 -/* 80111660 0010E5C0 38 80 00 03 */ li r4, 3 -/* 80111664 0010E5C4 38 A0 00 01 */ li r5, 1 -/* 80111668 0010E5C8 48 1F A4 2D */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 8011166C 0010E5CC 38 60 00 01 */ li r3, 1 -/* 80111670 0010E5D0 38 80 00 04 */ li r4, 4 -/* 80111674 0010E5D4 38 A0 00 05 */ li r5, 5 -/* 80111678 0010E5D8 38 C0 00 00 */ li r6, 0 -/* 8011167C 0010E5DC 48 1F A3 D5 */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 80111680 0010E5E0 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80111684 0010E5E4 38 60 00 00 */ li r3, 0 -/* 80111688 0010E5E8 48 1F 8C 31 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8011168C 0010E5EC 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80111690 0010E5F0 38 60 00 01 */ li r3, 1 -/* 80111694 0010E5F4 48 1F 8C 25 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80111698 0010E5F8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011169C 0010E5FC 38 80 00 04 */ li r4, 4 -/* 801116A0 0010E600 81 83 00 00 */ lwz r12, 0(r3) -/* 801116A4 0010E604 81 8C 00 A0 */ lwz r12, 0xa0(r12) -/* 801116A8 0010E608 7D 89 03 A6 */ mtctr r12 -/* 801116AC 0010E60C 4E 80 04 21 */ bctrl -/* 801116B0 0010E610 FF A0 E0 50 */ fneg f29, f28 -/* 801116B4 0010E614 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) -/* 801116B8 0010E618 D3 81 00 8C */ stfs f28, 0x8c(r1) -/* 801116BC 0010E61C 38 81 00 84 */ addi r4, r1, 0x84 -/* 801116C0 0010E620 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801116C4 0010E624 D3 A1 00 84 */ stfs f29, 0x84(r1) -/* 801116C8 0010E628 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 801116CC 0010E62C 81 83 00 00 */ lwz r12, 0(r3) -/* 801116D0 0010E630 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 801116D4 0010E634 7D 89 03 A6 */ mtctr r12 -/* 801116D8 0010E638 4E 80 04 21 */ bctrl -/* 801116DC 0010E63C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) -/* 801116E0 0010E640 38 81 00 78 */ addi r4, r1, 0x78 -/* 801116E4 0010E644 D3 81 00 78 */ stfs f28, 0x78(r1) -/* 801116E8 0010E648 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801116EC 0010E64C D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 801116F0 0010E650 D3 81 00 80 */ stfs f28, 0x80(r1) -/* 801116F4 0010E654 81 83 00 00 */ lwz r12, 0(r3) -/* 801116F8 0010E658 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 801116FC 0010E65C 7D 89 03 A6 */ mtctr r12 -/* 80111700 0010E660 4E 80 04 21 */ bctrl -/* 80111704 0010E664 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) -/* 80111708 0010E668 38 81 00 6C */ addi r4, r1, 0x6c -/* 8011170C 0010E66C D3 A1 00 6C */ stfs f29, 0x6c(r1) -/* 80111710 0010E670 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111714 0010E674 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80111718 0010E678 D3 A1 00 74 */ stfs f29, 0x74(r1) -/* 8011171C 0010E67C 81 83 00 00 */ lwz r12, 0(r3) -/* 80111720 0010E680 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 80111724 0010E684 7D 89 03 A6 */ mtctr r12 -/* 80111728 0010E688 4E 80 04 21 */ bctrl -/* 8011172C 0010E68C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) -/* 80111730 0010E690 38 81 00 60 */ addi r4, r1, 0x60 -/* 80111734 0010E694 D3 81 00 60 */ stfs f28, 0x60(r1) -/* 80111738 0010E698 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011173C 0010E69C D0 01 00 64 */ stfs f0, 0x64(r1) -/* 80111740 0010E6A0 D3 A1 00 68 */ stfs f29, 0x68(r1) -/* 80111744 0010E6A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80111748 0010E6A8 81 8C 00 A8 */ lwz r12, 0xa8(r12) -/* 8011174C 0010E6AC 7D 89 03 A6 */ mtctr r12 -/* 80111750 0010E6B0 4E 80 04 21 */ bctrl -/* 80111754 0010E6B4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111758 0010E6B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8011175C 0010E6BC 81 8C 00 B8 */ lwz r12, 0xb8(r12) -/* 80111760 0010E6C0 7D 89 03 A6 */ mtctr r12 -/* 80111764 0010E6C4 4E 80 04 21 */ bctrl -/* 80111768 0010E6C8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011176C 0010E6CC 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80111770 0010E6D0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80111774 0010E6D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80111778 0010E6D8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8011177C 0010E6DC 7D 89 03 A6 */ mtctr r12 -/* 80111780 0010E6E0 4E 80 04 21 */ bctrl -/* 80111784 0010E6E4 38 60 00 01 */ li r3, 1 -/* 80111788 0010E6E8 48 23 40 61 */ bl SetRenderModelBlack__10CCubeModelFb -/* 8011178C 0010E6EC 38 60 00 01 */ li r3, 1 -/* 80111790 0010E6F0 48 1F 51 09 */ bl SetDrawingOccluders__10CCubeModelFb -/* 80111794 0010E6F4 38 00 00 00 */ li r0, 0 -/* 80111798 0010E6F8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011179C 0010E6FC 90 01 00 54 */ stw r0, 0x54(r1) -/* 801117A0 0010E700 38 81 00 50 */ addi r4, r1, 0x50 -/* 801117A4 0010E704 90 01 00 58 */ stw r0, 0x58(r1) -/* 801117A8 0010E708 90 01 00 5C */ stw r0, 0x5c(r1) -/* 801117AC 0010E70C 81 83 00 00 */ lwz r12, 0(r3) -/* 801117B0 0010E710 81 8C 01 08 */ lwz r12, 0x108(r12) -/* 801117B4 0010E714 7D 89 03 A6 */ mtctr r12 -/* 801117B8 0010E718 4E 80 04 21 */ bctrl -/* 801117BC 0010E71C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 801117C0 0010E720 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 801117C4 0010E724 1C 00 00 50 */ mulli r0, r0, 0x50 -/* 801117C8 0010E728 90 61 00 0C */ stw r3, 0xc(r1) -/* 801117CC 0010E72C 7C 64 1B 78 */ mr r4, r3 -/* 801117D0 0010E730 7C 03 02 14 */ add r0, r3, r0 -/* 801117D4 0010E734 90 61 00 08 */ stw r3, 8(r1) -/* 801117D8 0010E738 90 01 00 14 */ stw r0, 0x14(r1) -/* 801117DC 0010E73C 90 01 00 10 */ stw r0, 0x10(r1) -/* 801117E0 0010E740 48 00 00 08 */ b lbl_801117E8 -lbl_801117E4: -/* 801117E4 0010E744 38 84 00 50 */ addi r4, r4, 0x50 -lbl_801117E8: -/* 801117E8 0010E748 7C 04 00 40 */ cmplw r4, r0 -/* 801117EC 0010E74C 40 82 FF F8 */ bne lbl_801117E4 -/* 801117F0 0010E750 28 03 00 00 */ cmplwi r3, 0 -/* 801117F4 0010E754 41 82 00 08 */ beq lbl_801117FC -/* 801117F8 0010E758 48 20 41 39 */ bl Free__7CMemoryFPCv -lbl_801117FC: -/* 801117FC 0010E75C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111800 0010E760 38 A0 00 00 */ li r5, 0 -/* 80111804 0010E764 80 97 00 00 */ lwz r4, 0(r23) -/* 80111808 0010E768 38 C0 00 00 */ li r6, 0 -/* 8011180C 0010E76C 81 83 00 00 */ lwz r12, 0(r3) -/* 80111810 0010E770 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80111814 0010E774 7D 89 03 A6 */ mtctr r12 -/* 80111818 0010E778 4E 80 04 21 */ bctrl -/* 8011181C 0010E77C 38 60 00 00 */ li r3, 0 -/* 80111820 0010E780 48 23 3F C9 */ bl SetRenderModelBlack__10CCubeModelFb -/* 80111824 0010E784 38 60 00 00 */ li r3, 0 -/* 80111828 0010E788 48 1F 50 71 */ bl SetDrawingOccluders__10CCubeModelFb -/* 8011182C 0010E78C 57 20 06 3F */ clrlwi. r0, r25, 0x18 -/* 80111830 0010E790 41 82 01 00 */ beq lbl_80111930 -/* 80111834 0010E794 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111838 0010E798 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8011183C 0010E79C 81 83 00 00 */ lwz r12, 0(r3) -/* 80111840 0010E7A0 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80111844 0010E7A4 7D 89 03 A6 */ mtctr r12 -/* 80111848 0010E7A8 4E 80 04 21 */ bctrl -/* 8011184C 0010E7AC 38 60 00 07 */ li r3, 7 -/* 80111850 0010E7B0 38 80 00 00 */ li r4, 0 -/* 80111854 0010E7B4 38 A0 00 00 */ li r5, 0 -/* 80111858 0010E7B8 38 C0 00 07 */ li r6, 7 -/* 8011185C 0010E7BC 38 E0 00 00 */ li r7, 0 -/* 80111860 0010E7C0 48 1F A1 C9 */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80111864 0010E7C4 38 60 00 00 */ li r3, 0 -/* 80111868 0010E7C8 38 80 00 03 */ li r4, 3 -/* 8011186C 0010E7CC 38 A0 00 00 */ li r5, 0 -/* 80111870 0010E7D0 48 1F A2 25 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80111874 0010E7D4 38 60 00 01 */ li r3, 1 -/* 80111878 0010E7D8 38 80 00 04 */ li r4, 4 -/* 8011187C 0010E7DC 38 A0 00 05 */ li r5, 5 -/* 80111880 0010E7E0 38 C0 00 00 */ li r6, 0 -/* 80111884 0010E7E4 48 1F A1 CD */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 80111888 0010E7E8 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 8011188C 0010E7EC 38 60 00 00 */ li r3, 0 -/* 80111890 0010E7F0 48 1F 8A 29 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80111894 0010E7F4 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80111898 0010E7F8 38 60 00 01 */ li r3, 1 -/* 8011189C 0010E7FC 48 1F 8A 1D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 801118A0 0010E800 38 60 00 98 */ li r3, 0x98 -/* 801118A4 0010E804 48 1F 9D C5 */ bl StreamBegin__9CGraphicsF13ERglPrimitive -/* 801118A8 0010E808 C0 22 95 8C */ lfs f1, lbl_805AB2AC@sda21(r2) -/* 801118AC 0010E80C C0 82 95 B4 */ lfs f4, lbl_805AB2D4@sda21(r2) -/* 801118B0 0010E810 FC 40 08 90 */ fmr f2, f1 -/* 801118B4 0010E814 FC 60 08 90 */ fmr f3, f1 -/* 801118B8 0010E818 48 1F 9C 15 */ bl StreamColor__9CGraphicsFffff -/* 801118BC 0010E81C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) -/* 801118C0 0010E820 38 61 00 44 */ addi r3, r1, 0x44 -/* 801118C4 0010E824 D3 A1 00 44 */ stfs f29, 0x44(r1) -/* 801118C8 0010E828 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 801118CC 0010E82C D3 81 00 4C */ stfs f28, 0x4c(r1) -/* 801118D0 0010E830 48 1F 9C F1 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 801118D4 0010E834 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) -/* 801118D8 0010E838 38 61 00 38 */ addi r3, r1, 0x38 -/* 801118DC 0010E83C D3 81 00 38 */ stfs f28, 0x38(r1) -/* 801118E0 0010E840 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 801118E4 0010E844 D3 81 00 40 */ stfs f28, 0x40(r1) -/* 801118E8 0010E848 48 1F 9C D9 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 801118EC 0010E84C C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) -/* 801118F0 0010E850 38 61 00 2C */ addi r3, r1, 0x2c -/* 801118F4 0010E854 D3 A1 00 2C */ stfs f29, 0x2c(r1) -/* 801118F8 0010E858 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 801118FC 0010E85C D3 A1 00 34 */ stfs f29, 0x34(r1) -/* 80111900 0010E860 48 1F 9C C1 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 80111904 0010E864 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) -/* 80111908 0010E868 38 61 00 20 */ addi r3, r1, 0x20 -/* 8011190C 0010E86C D3 81 00 20 */ stfs f28, 0x20(r1) -/* 80111910 0010E870 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80111914 0010E874 D3 A1 00 28 */ stfs f29, 0x28(r1) -/* 80111918 0010E878 48 1F 9C A9 */ bl StreamVertex__9CGraphicsFRC9CVector3f -/* 8011191C 0010E87C 48 1F 9A F5 */ bl StreamEnd__9CGraphicsFv -/* 80111920 0010E880 38 60 00 01 */ li r3, 1 -/* 80111924 0010E884 38 80 00 03 */ li r4, 3 -/* 80111928 0010E888 38 A0 00 01 */ li r5, 1 -/* 8011192C 0010E88C 48 1F A1 69 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -lbl_80111930: -/* 80111930 0010E890 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80111934 0010E894 41 82 00 BC */ beq lbl_801119F0 -/* 80111938 0010E898 88 1F 00 88 */ lbz r0, 0x88(r31) -/* 8011193C 0010E89C 28 00 00 01 */ cmplwi r0, 1 -/* 80111940 0010E8A0 41 82 00 B0 */ beq lbl_801119F0 -/* 80111944 0010E8A4 38 60 00 00 */ li r3, 0 -/* 80111948 0010E8A8 38 80 00 03 */ li r4, 3 -/* 8011194C 0010E8AC 38 A0 00 00 */ li r5, 0 -/* 80111950 0010E8B0 48 1F A1 45 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -/* 80111954 0010E8B4 38 60 00 01 */ li r3, 1 -/* 80111958 0010E8B8 38 80 00 04 */ li r4, 4 -/* 8011195C 0010E8BC 38 A0 00 05 */ li r5, 5 -/* 80111960 0010E8C0 38 C0 00 00 */ li r6, 0 -/* 80111964 0010E8C4 48 1F A0 ED */ bl SetBlendMode__9CGraphicsF13ERglBlendMode15ERglBlendFactor15ERglBlendFactor11ERglLogicOp -/* 80111968 0010E8C8 38 60 00 07 */ li r3, 7 -/* 8011196C 0010E8CC 38 80 00 00 */ li r4, 0 -/* 80111970 0010E8D0 38 A0 00 00 */ li r5, 0 -/* 80111974 0010E8D4 38 C0 00 07 */ li r6, 7 -/* 80111978 0010E8D8 38 E0 00 00 */ li r7, 0 -/* 8011197C 0010E8DC 48 1F A0 AD */ bl SetAlphaCompare__9CGraphicsF13ERglAlphaFuncUc11ERglAlphaOp13ERglAlphaFuncUc -/* 80111980 0010E8E0 3C 80 80 5A */ lis r4, lbl_805A5EBC@ha -/* 80111984 0010E8E4 38 60 00 00 */ li r3, 0 -/* 80111988 0010E8E8 38 84 5E BC */ addi r4, r4, lbl_805A5EBC@l -/* 8011198C 0010E8EC 48 1F 89 2D */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 80111990 0010E8F0 80 8D 9C 68 */ lwz r4, lbl_805A8828@sda21(r13) -/* 80111994 0010E8F4 38 60 00 01 */ li r3, 1 -/* 80111998 0010E8F8 48 1F 89 21 */ bl SetTevOp__9CGraphicsF12ERglTevStageRCQ213CTevCombiners8CTevPass -/* 8011199C 0010E8FC C0 22 95 8C */ lfs f1, lbl_805AB2AC@sda21(r2) -/* 801119A0 0010E900 38 61 00 18 */ addi r3, r1, 0x18 -/* 801119A4 0010E904 83 3F 00 00 */ lwz r25, 0(r31) -/* 801119A8 0010E908 FC 40 08 90 */ fmr f2, f1 -/* 801119AC 0010E90C C0 82 95 B8 */ lfs f4, lbl_805AB2D8@sda21(r2) -/* 801119B0 0010E910 FC 60 08 90 */ fmr f3, f1 -/* 801119B4 0010E914 AA F9 00 04 */ lha r23, 4(r25) -/* 801119B8 0010E918 AB 19 00 06 */ lha r24, 6(r25) -/* 801119BC 0010E91C 48 25 1A 31 */ bl __ct__6CColorFffff -/* 801119C0 0010E920 7C 17 00 D0 */ neg r0, r23 -/* 801119C4 0010E924 7C 68 1B 78 */ mr r8, r3 -/* 801119C8 0010E928 7F 23 CB 78 */ mr r3, r25 -/* 801119CC 0010E92C 56 E5 08 3C */ slwi r5, r23, 1 -/* 801119D0 0010E930 57 06 08 3C */ slwi r6, r24, 1 -/* 801119D4 0010E934 54 07 08 3C */ slwi r7, r0, 1 -/* 801119D8 0010E938 38 80 00 00 */ li r4, 0 -/* 801119DC 0010E93C 48 1F 9D 81 */ bl Render2D__9CGraphicsFRC8CTextureiiiiRC6CColor -/* 801119E0 0010E940 38 60 00 01 */ li r3, 1 -/* 801119E4 0010E944 38 80 00 03 */ li r4, 3 -/* 801119E8 0010E948 38 A0 00 01 */ li r5, 1 -/* 801119EC 0010E94C 48 1F A0 A9 */ bl SetDepthWriteMode__9CGraphicsFb8ERglEnumb -lbl_801119F0: -/* 801119F0 0010E950 38 00 00 00 */ li r0, 0 -/* 801119F4 0010E954 38 60 00 00 */ li r3, 0 -/* 801119F8 0010E958 98 1F 00 88 */ stb r0, 0x88(r31) -/* 801119FC 0010E95C 80 9F 00 00 */ lwz r4, 0(r31) -/* 80111A00 0010E960 A8 A4 00 06 */ lha r5, 6(r4) -/* 80111A04 0010E964 A8 04 00 04 */ lha r0, 4(r4) -/* 80111A08 0010E968 54 A4 08 3C */ slwi r4, r5, 1 -/* 80111A0C 0010E96C 54 A6 0C 3C */ rlwinm r6, r5, 1, 0x10, 0x1e -/* 80111A10 0010E970 20 84 01 C0 */ subfic r4, r4, 0x1c0 -/* 80111A14 0010E974 54 05 0C 3C */ rlwinm r5, r0, 1, 0x10, 0x1e -/* 80111A18 0010E978 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 80111A1C 0010E97C 48 26 73 99 */ bl GXSetTexCopySrc -/* 80111A20 0010E980 80 DF 00 00 */ lwz r6, 0(r31) -/* 80111A24 0010E984 38 A0 00 06 */ li r5, 6 -/* 80111A28 0010E988 80 86 00 00 */ lwz r4, 0(r6) -/* 80111A2C 0010E98C A8 66 00 04 */ lha r3, 4(r6) -/* 80111A30 0010E990 A8 06 00 06 */ lha r0, 6(r6) -/* 80111A34 0010E994 2C 04 00 07 */ cmpwi r4, 7 -/* 80111A38 0010E998 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 80111A3C 0010E99C 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 80111A40 0010E9A0 40 82 00 08 */ bne lbl_80111A48 -/* 80111A44 0010E9A4 38 A0 00 04 */ li r5, 4 -lbl_80111A48: -/* 80111A48 0010E9A8 38 C0 00 01 */ li r6, 1 -/* 80111A4C 0010E9AC 48 26 74 35 */ bl GXSetTexCopyDst -/* 80111A50 0010E9B0 88 0D A3 5C */ lbz r0, lbl_805A8F1C@sda21(r13) -/* 80111A54 0010E9B4 7C 00 07 75 */ extsb. r0, r0 -/* 80111A58 0010E9B8 40 82 00 14 */ bne lbl_80111A6C -/* 80111A5C 0010E9BC 38 60 00 00 */ li r3, 0 -/* 80111A60 0010E9C0 38 00 00 01 */ li r0, 1 -/* 80111A64 0010E9C4 90 6D A3 58 */ stw r3, lbl_805A8F18@sda21(r13) -/* 80111A68 0010E9C8 98 0D A3 5C */ stb r0, lbl_805A8F1C@sda21(r13) -lbl_80111A6C: -/* 80111A6C 0010E9CC 80 7F 00 00 */ lwz r3, 0(r31) -/* 80111A70 0010E9D0 38 A0 00 01 */ li r5, 1 -/* 80111A74 0010E9D4 38 80 00 00 */ li r4, 0 -/* 80111A78 0010E9D8 88 03 00 0A */ lbz r0, 0xa(r3) -/* 80111A7C 0010E9DC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80111A80 0010E9E0 98 03 00 0A */ stb r0, 0xa(r3) -/* 80111A84 0010E9E4 80 7F 00 00 */ lwz r3, 0(r31) -/* 80111A88 0010E9E8 48 1F CB 4D */ bl GetBitMapData__8CTextureFi -/* 80111A8C 0010E9EC 38 80 00 01 */ li r4, 1 -/* 80111A90 0010E9F0 48 26 7A A5 */ bl GXCopyTex -/* 80111A94 0010E9F4 80 7F 00 00 */ lwz r3, 0(r31) -/* 80111A98 0010E9F8 48 1F CE 85 */ bl UnLock__8CTextureFv -/* 80111A9C 0010E9FC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80111AA0 0010EA00 7F A4 EB 78 */ mr r4, r29 -/* 80111AA4 0010EA04 7F 85 E3 78 */ mr r5, r28 -/* 80111AA8 0010EA08 7F 66 DB 78 */ mr r6, r27 -/* 80111AAC 0010EA0C 81 83 00 00 */ lwz r12, 0(r3) -/* 80111AB0 0010EA10 7F 47 D3 78 */ mr r7, r26 -/* 80111AB4 0010EA14 81 8C 00 5C */ lwz r12, 0x5c(r12) -/* 80111AB8 0010EA18 7D 89 03 A6 */ mtctr r12 -/* 80111ABC 0010EA1C 4E 80 04 21 */ bctrl -/* 80111AC0 0010EA20 FC 20 F8 90 */ fmr f1, f31 -/* 80111AC4 0010EA24 FC 40 F0 90 */ fmr f2, f30 -/* 80111AC8 0010EA28 48 1F 89 19 */ bl SetDepthRange__9CGraphicsFff -/* 80111ACC 0010EA2C 80 A1 01 74 */ lwz r5, 0x174(r1) -/* 80111AD0 0010EA30 38 60 00 00 */ li r3, 0 -/* 80111AD4 0010EA34 2C 05 00 00 */ cmpwi r5, 0 -/* 80111AD8 0010EA38 40 81 00 40 */ ble lbl_80111B18 -/* 80111ADC 0010EA3C 2C 05 00 08 */ cmpwi r5, 8 -/* 80111AE0 0010EA40 38 85 FF F8 */ addi r4, r5, -8 -/* 80111AE4 0010EA44 40 81 00 20 */ ble lbl_80111B04 -/* 80111AE8 0010EA48 38 04 00 07 */ addi r0, r4, 7 -/* 80111AEC 0010EA4C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80111AF0 0010EA50 7C 09 03 A6 */ mtctr r0 -/* 80111AF4 0010EA54 2C 04 00 00 */ cmpwi r4, 0 -/* 80111AF8 0010EA58 40 81 00 0C */ ble lbl_80111B04 -lbl_80111AFC: -/* 80111AFC 0010EA5C 38 63 00 08 */ addi r3, r3, 8 -/* 80111B00 0010EA60 42 00 FF FC */ bdnz lbl_80111AFC -lbl_80111B04: -/* 80111B04 0010EA64 7C 03 28 50 */ subf r0, r3, r5 -/* 80111B08 0010EA68 7C 09 03 A6 */ mtctr r0 -/* 80111B0C 0010EA6C 7C 03 28 00 */ cmpw r3, r5 -/* 80111B10 0010EA70 40 80 00 08 */ bge lbl_80111B18 -lbl_80111B14: -/* 80111B14 0010EA74 42 00 00 00 */ bdnz lbl_80111B14 -lbl_80111B18: -/* 80111B18 0010EA78 38 00 00 00 */ li r0, 0 -/* 80111B1C 0010EA7C 90 01 01 74 */ stw r0, 0x174(r1) -lbl_80111B20: -/* 80111B20 0010EA80 E3 E1 02 48 */ psq_l f31, 584(r1), 0, qr0 -/* 80111B24 0010EA84 CB E1 02 40 */ lfd f31, 0x240(r1) -/* 80111B28 0010EA88 E3 C1 02 38 */ psq_l f30, 568(r1), 0, qr0 -/* 80111B2C 0010EA8C CB C1 02 30 */ lfd f30, 0x230(r1) -/* 80111B30 0010EA90 E3 A1 02 28 */ psq_l f29, 552(r1), 0, qr0 -/* 80111B34 0010EA94 CB A1 02 20 */ lfd f29, 0x220(r1) -/* 80111B38 0010EA98 E3 81 02 18 */ psq_l f28, 536(r1), 0, qr0 -/* 80111B3C 0010EA9C CB 81 02 10 */ lfd f28, 0x210(r1) -/* 80111B40 0010EAA0 BA E1 01 EC */ lmw r23, 0x1ec(r1) -/* 80111B44 0010EAA4 80 01 02 54 */ lwz r0, 0x254(r1) -/* 80111B48 0010EAA8 7C 08 03 A6 */ mtlr r0 -/* 80111B4C 0010EAAC 38 21 02 50 */ addi r1, r1, 0x250 -/* 80111B50 0010EAB0 4E 80 00 20 */ blr - -.global __dt__12CWorldShadowFv -__dt__12CWorldShadowFv: -/* 80111B54 0010EAB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80111B58 0010EAB8 7C 08 02 A6 */ mflr r0 -/* 80111B5C 0010EABC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80111B60 0010EAC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80111B64 0010EAC4 7C 9F 23 78 */ mr r31, r4 -/* 80111B68 0010EAC8 93 C1 00 08 */ stw r30, 8(r1) -/* 80111B6C 0010EACC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80111B70 0010EAD0 41 82 00 38 */ beq lbl_80111BA8 -/* 80111B74 0010EAD4 80 7E 00 00 */ lwz r3, 0(r30) -/* 80111B78 0010EAD8 28 03 00 00 */ cmplwi r3, 0 -/* 80111B7C 0010EADC 41 82 00 08 */ beq lbl_80111B84 -/* 80111B80 0010EAE0 48 1F C5 8D */ bl sub_8030e10c -lbl_80111B84: -/* 80111B84 0010EAE4 28 1E 00 00 */ cmplwi r30, 0 -/* 80111B88 0010EAE8 41 82 00 10 */ beq lbl_80111B98 -/* 80111B8C 0010EAEC 80 7E 00 00 */ lwz r3, 0(r30) -/* 80111B90 0010EAF0 38 80 00 01 */ li r4, 1 -/* 80111B94 0010EAF4 48 1F DE 65 */ bl __dt__8CTextureFv -lbl_80111B98: -/* 80111B98 0010EAF8 7F E0 07 35 */ extsh. r0, r31 -/* 80111B9C 0010EAFC 40 81 00 0C */ ble lbl_80111BA8 -/* 80111BA0 0010EB00 7F C3 F3 78 */ mr r3, r30 -/* 80111BA4 0010EB04 48 20 3D 8D */ bl Free__7CMemoryFPCv -lbl_80111BA8: -/* 80111BA8 0010EB08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80111BAC 0010EB0C 7F C3 F3 78 */ mr r3, r30 -/* 80111BB0 0010EB10 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80111BB4 0010EB14 83 C1 00 08 */ lwz r30, 8(r1) -/* 80111BB8 0010EB18 7C 08 03 A6 */ mtlr r0 -/* 80111BBC 0010EB1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80111BC0 0010EB20 4E 80 00 20 */ blr - -.global __ct__12CWorldShadowFUiUib -__ct__12CWorldShadowFUiUib: -/* 80111BC4 0010EB24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80111BC8 0010EB28 7C 08 02 A6 */ mflr r0 -/* 80111BCC 0010EB2C 3C E0 80 3D */ lis r7, lbl_803CF1F8@ha -/* 80111BD0 0010EB30 90 01 00 24 */ stw r0, 0x24(r1) -/* 80111BD4 0010EB34 38 07 F1 F8 */ addi r0, r7, lbl_803CF1F8@l -/* 80111BD8 0010EB38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80111BDC 0010EB3C 7C 7F 1B 78 */ mr r31, r3 -/* 80111BE0 0010EB40 38 60 00 68 */ li r3, 0x68 -/* 80111BE4 0010EB44 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80111BE8 0010EB48 7C DE 33 78 */ mr r30, r6 -/* 80111BEC 0010EB4C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80111BF0 0010EB50 7C BD 2B 78 */ mr r29, r5 -/* 80111BF4 0010EB54 38 A0 00 00 */ li r5, 0 -/* 80111BF8 0010EB58 93 81 00 10 */ stw r28, 0x10(r1) -/* 80111BFC 0010EB5C 7C 9C 23 78 */ mr r28, r4 -/* 80111C00 0010EB60 7C 04 03 78 */ mr r4, r0 -/* 80111C04 0010EB64 48 20 3C 69 */ bl __nw__FUlPCcPCc -/* 80111C08 0010EB68 7C 60 1B 79 */ or. r0, r3, r3 -/* 80111C0C 0010EB6C 41 82 00 28 */ beq lbl_80111C34 -/* 80111C10 0010EB70 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80111C14 0010EB74 38 80 00 07 */ li r4, 7 -/* 80111C18 0010EB78 41 82 00 08 */ beq lbl_80111C20 -/* 80111C1C 0010EB7C 38 80 00 09 */ li r4, 9 -lbl_80111C20: -/* 80111C20 0010EB80 7F 85 07 34 */ extsh r5, r28 -/* 80111C24 0010EB84 7F A6 07 34 */ extsh r6, r29 -/* 80111C28 0010EB88 38 E0 00 01 */ li r7, 1 -/* 80111C2C 0010EB8C 48 1F E2 01 */ bl __ct__8CTextureF12ETexelFormatssi -/* 80111C30 0010EB90 7C 60 1B 78 */ mr r0, r3 -lbl_80111C34: -/* 80111C34 0010EB94 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80111C38 0010EB98 90 1F 00 00 */ stw r0, 0(r31) -/* 80111C3C 0010EB9C 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 80111C40 0010EBA0 38 7F 00 04 */ addi r3, r31, 4 -/* 80111C44 0010EBA4 48 20 0F 31 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80111C48 0010EBA8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80111C4C 0010EBAC 38 7F 00 34 */ addi r3, r31, 0x34 -/* 80111C50 0010EBB0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80111C54 0010EBB4 48 20 0F 21 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80111C58 0010EBB8 C0 22 95 8C */ lfs f1, lbl_805AB2AC@sda21(r2) -/* 80111C5C 0010EBBC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80111C60 0010EBC0 C0 02 95 88 */ lfs f0, lbl_805AB2A8@sda21(r2) -/* 80111C64 0010EBC4 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80111C68 0010EBC8 D0 3F 00 64 */ stfs f1, 0x64(r31) -/* 80111C6C 0010EBCC 38 80 FF FF */ li r4, -1 -/* 80111C70 0010EBD0 38 00 00 01 */ li r0, 1 -/* 80111C74 0010EBD4 7F E3 FB 78 */ mr r3, r31 -/* 80111C78 0010EBD8 D0 1F 00 68 */ stfs f0, 0x68(r31) -/* 80111C7C 0010EBDC D0 3F 00 6C */ stfs f1, 0x6c(r31) -/* 80111C80 0010EBE0 D0 1F 00 70 */ stfs f0, 0x70(r31) -/* 80111C84 0010EBE4 C0 05 00 00 */ lfs f0, 0(r5) -/* 80111C88 0010EBE8 D0 1F 00 74 */ stfs f0, 0x74(r31) -/* 80111C8C 0010EBEC C0 05 00 04 */ lfs f0, 4(r5) -/* 80111C90 0010EBF0 D0 1F 00 78 */ stfs f0, 0x78(r31) -/* 80111C94 0010EBF4 C0 05 00 08 */ lfs f0, 8(r5) -/* 80111C98 0010EBF8 D0 1F 00 7C */ stfs f0, 0x7c(r31) -/* 80111C9C 0010EBFC 80 AD A3 90 */ lwz r5, lbl_805A8F50@sda21(r13) -/* 80111CA0 0010EC00 90 BF 00 80 */ stw r5, 0x80(r31) -/* 80111CA4 0010EC04 90 9F 00 84 */ stw r4, 0x84(r31) -/* 80111CA8 0010EC08 98 1F 00 88 */ stb r0, 0x88(r31) -/* 80111CAC 0010EC0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80111CB0 0010EC10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80111CB4 0010EC14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80111CB8 0010EC18 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80111CBC 0010EC1C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80111CC0 0010EC20 7C 08 03 A6 */ mtlr r0 -/* 80111CC4 0010EC24 38 21 00 20 */ addi r1, r1, 0x20 -/* 80111CC8 0010EC28 4E 80 00 20 */ blr - -.global __dt__14CAudioStateWinFv -__dt__14CAudioStateWinFv: -/* 80111CCC 0010EC2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80111CD0 0010EC30 7C 08 02 A6 */ mflr r0 -/* 80111CD4 0010EC34 90 01 00 14 */ stw r0, 0x14(r1) -/* 80111CD8 0010EC38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80111CDC 0010EC3C 7C 9F 23 78 */ mr r31, r4 -/* 80111CE0 0010EC40 93 C1 00 08 */ stw r30, 8(r1) -/* 80111CE4 0010EC44 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80111CE8 0010EC48 41 82 00 28 */ beq lbl_80111D10 -/* 80111CEC 0010EC4C 3C A0 80 3E */ lis r5, lbl_803E02A8@ha -/* 80111CF0 0010EC50 38 80 00 00 */ li r4, 0 -/* 80111CF4 0010EC54 38 05 02 A8 */ addi r0, r5, lbl_803E02A8@l -/* 80111CF8 0010EC58 90 1E 00 00 */ stw r0, 0(r30) -/* 80111CFC 0010EC5C 4B F4 0E A9 */ bl __dt__6CIOWinFv -/* 80111D00 0010EC60 7F E0 07 35 */ extsh. r0, r31 -/* 80111D04 0010EC64 40 81 00 0C */ ble lbl_80111D10 -/* 80111D08 0010EC68 7F C3 F3 78 */ mr r3, r30 -/* 80111D0C 0010EC6C 48 20 3C 25 */ bl Free__7CMemoryFPCv -lbl_80111D10: -/* 80111D10 0010EC70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80111D14 0010EC74 7F C3 F3 78 */ mr r3, r30 -/* 80111D18 0010EC78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80111D1C 0010EC7C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80111D20 0010EC80 7C 08 03 A6 */ mtlr r0 -/* 80111D24 0010EC84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80111D28 0010EC88 4E 80 00 20 */ blr - -.global OnMessage__14CAudioStateWinFRC20CArchitectureMessageR18CArchitectureQueue -OnMessage__14CAudioStateWinFRC20CArchitectureMessageR18CArchitectureQueue: -/* 80111D2C 0010EC8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80111D30 0010EC90 7C 08 02 A6 */ mflr r0 -/* 80111D34 0010EC94 90 01 00 14 */ stw r0, 0x14(r1) -/* 80111D38 0010EC98 80 04 00 04 */ lwz r0, 4(r4) -/* 80111D3C 0010EC9C 2C 00 00 07 */ cmpwi r0, 7 -/* 80111D40 0010ECA0 41 82 00 70 */ beq lbl_80111DB0 -/* 80111D44 0010ECA4 40 80 00 10 */ bge lbl_80111D54 -/* 80111D48 0010ECA8 2C 00 00 06 */ cmpwi r0, 6 -/* 80111D4C 0010ECAC 40 80 00 14 */ bge lbl_80111D60 -/* 80111D50 0010ECB0 48 00 00 60 */ b lbl_80111DB0 -lbl_80111D54: -/* 80111D54 0010ECB4 2C 00 00 09 */ cmpwi r0, 9 -/* 80111D58 0010ECB8 40 80 00 58 */ bge lbl_80111DB0 -/* 80111D5C 0010ECBC 48 00 00 18 */ b lbl_80111D74 -lbl_80111D60: -/* 80111D60 0010ECC0 38 60 00 01 */ li r3, 1 -/* 80111D64 0010ECC4 48 1D 7D 51 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels -/* 80111D68 0010ECC8 38 60 00 01 */ li r3, 1 -/* 80111D6C 0010ECCC 48 1D 7B 49 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels -/* 80111D70 0010ECD0 48 00 00 40 */ b lbl_80111DB0 -lbl_80111D74: -/* 80111D74 0010ECD4 80 6D A0 80 */ lwz r3, gpGameState@sda21(r13) -/* 80111D78 0010ECD8 48 0C 1B A1 */ bl WorldTransitionManager__10CGameStateFv -/* 80111D7C 0010ECDC 80 63 00 00 */ lwz r3, 0(r3) -/* 80111D80 0010ECE0 80 63 00 00 */ lwz r3, 0(r3) -/* 80111D84 0010ECE4 80 03 00 30 */ lwz r0, 0x30(r3) -/* 80111D88 0010ECE8 2C 00 00 00 */ cmpwi r0, 0 -/* 80111D8C 0010ECEC 41 82 00 14 */ beq lbl_80111DA0 -/* 80111D90 0010ECF0 80 6D A0 78 */ lwz r3, gpMain@sda21(r13) -/* 80111D94 0010ECF4 80 03 01 2C */ lwz r0, 0x12c(r3) -/* 80111D98 0010ECF8 2C 00 00 00 */ cmpwi r0, 0 -/* 80111D9C 0010ECFC 41 82 00 14 */ beq lbl_80111DB0 -lbl_80111DA0: -/* 80111DA0 0010ED00 38 60 00 00 */ li r3, 0 -/* 80111DA4 0010ED04 48 1D 7B 11 */ bl SetChannel__11CSfxManagerFQ211CSfxManager12ESfxChannels -/* 80111DA8 0010ED08 38 60 00 01 */ li r3, 1 -/* 80111DAC 0010ED0C 48 1D 7D 09 */ bl KillAll__11CSfxManagerFQ211CSfxManager12ESfxChannels -lbl_80111DB0: -/* 80111DB0 0010ED10 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80111DB4 0010ED14 38 60 00 00 */ li r3, 0 -/* 80111DB8 0010ED18 7C 08 03 A6 */ mtlr r0 -/* 80111DBC 0010ED1C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80111DC0 0010ED20 4E 80 00 20 */ blr - -.global __ct__14CAudioStateWinFv -__ct__14CAudioStateWinFv: -/* 80111DC4 0010ED24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80111DC8 0010ED28 7C 08 02 A6 */ mflr r0 -/* 80111DCC 0010ED2C 3C 80 80 3D */ lis r4, lbl_803CF200@ha -/* 80111DD0 0010ED30 90 01 00 24 */ stw r0, 0x24(r1) -/* 80111DD4 0010ED34 38 84 F2 00 */ addi r4, r4, lbl_803CF200@l -/* 80111DD8 0010ED38 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80111DDC 0010ED3C 7C 7F 1B 78 */ mr r31, r3 -/* 80111DE0 0010ED40 38 61 00 08 */ addi r3, r1, 8 -/* 80111DE4 0010ED44 4B EF 2E D5 */ bl string_l__4rstlFPCc -/* 80111DE8 0010ED48 7F E3 FB 78 */ mr r3, r31 -/* 80111DEC 0010ED4C 38 81 00 08 */ addi r4, r1, 8 -/* 80111DF0 0010ED50 4B F4 0E 1D */ bl "__ct__6CIOWinFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80111DF4 0010ED54 38 61 00 08 */ addi r3, r1, 8 -/* 80111DF8 0010ED58 48 22 BC E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80111DFC 0010ED5C 3C 80 80 3E */ lis r4, lbl_803E02A8@ha -/* 80111E00 0010ED60 7F E3 FB 78 */ mr r3, r31 -/* 80111E04 0010ED64 38 04 02 A8 */ addi r0, r4, lbl_803E02A8@l -/* 80111E08 0010ED68 90 1F 00 00 */ stw r0, 0(r31) -/* 80111E0C 0010ED6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80111E10 0010ED70 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80111E14 0010ED74 7C 08 03 A6 */ mtlr r0 -/* 80111E18 0010ED78 38 21 00 20 */ addi r1, r1, 0x20 -/* 80111E1C 0010ED7C 4E 80 00 20 */ blr - -.global FindEmptyInactiveScanTarget__12CPlayerVisorCFv -FindEmptyInactiveScanTarget__12CPlayerVisorCFv: -/* 80111E20 0010ED80 80 03 01 3C */ lwz r0, 0x13c(r3) -/* 80111E24 0010ED84 38 83 01 40 */ addi r4, r3, 0x140 -/* 80111E28 0010ED88 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80111E2C 0010ED8C 38 60 00 00 */ li r3, 0 -/* 80111E30 0010ED90 7C 09 03 A6 */ mtctr r0 -/* 80111E34 0010ED94 2C 00 00 00 */ cmpwi r0, 0 -/* 80111E38 0010ED98 40 81 00 1C */ ble lbl_80111E54 -lbl_80111E3C: -/* 80111E3C 0010ED9C C0 04 00 04 */ lfs f0, 4(r4) -/* 80111E40 0010EDA0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80111E44 0010EDA4 4D 82 00 20 */ beqlr -/* 80111E48 0010EDA8 38 84 00 10 */ addi r4, r4, 0x10 -/* 80111E4C 0010EDAC 38 63 00 01 */ addi r3, r3, 1 -/* 80111E50 0010EDB0 42 00 FF EC */ bdnz lbl_80111E3C -lbl_80111E54: -/* 80111E54 0010EDB4 38 60 FF FF */ li r3, -1 -/* 80111E58 0010EDB8 4E 80 00 20 */ blr - -.global FindCachedInactiveScanTarget__12CPlayerVisorCF9TUniqueId -FindCachedInactiveScanTarget__12CPlayerVisorCF9TUniqueId: -/* 80111E5C 0010EDBC 80 03 01 3C */ lwz r0, 0x13c(r3) -/* 80111E60 0010EDC0 38 C3 01 40 */ addi r6, r3, 0x140 -/* 80111E64 0010EDC4 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -/* 80111E68 0010EDC8 38 60 00 00 */ li r3, 0 -/* 80111E6C 0010EDCC 7C 09 03 A6 */ mtctr r0 -/* 80111E70 0010EDD0 2C 00 00 00 */ cmpwi r0, 0 -/* 80111E74 0010EDD4 40 81 00 2C */ ble lbl_80111EA0 -lbl_80111E78: -/* 80111E78 0010EDD8 A0 A6 00 00 */ lhz r5, 0(r6) -/* 80111E7C 0010EDDC A0 04 00 00 */ lhz r0, 0(r4) -/* 80111E80 0010EDE0 7C 05 00 40 */ cmplw r5, r0 -/* 80111E84 0010EDE4 40 82 00 10 */ bne lbl_80111E94 -/* 80111E88 0010EDE8 C0 26 00 04 */ lfs f1, 4(r6) -/* 80111E8C 0010EDEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80111E90 0010EDF0 4D 81 00 20 */ bgtlr -lbl_80111E94: -/* 80111E94 0010EDF4 38 C6 00 10 */ addi r6, r6, 0x10 -/* 80111E98 0010EDF8 38 63 00 01 */ addi r3, r3, 1 -/* 80111E9C 0010EDFC 42 00 FF DC */ bdnz lbl_80111E78 -lbl_80111EA0: -/* 80111EA0 0010EE00 38 60 FF FF */ li r3, -1 -/* 80111EA4 0010EE04 4E 80 00 20 */ blr - -.global DrawScanObjectIndicators__12CPlayerVisorCFRC13CStateManager -DrawScanObjectIndicators__12CPlayerVisorCFRC13CStateManager: -/* 80111EA8 0010EE08 94 21 FD 20 */ stwu r1, -0x2e0(r1) -/* 80111EAC 0010EE0C 7C 08 02 A6 */ mflr r0 -/* 80111EB0 0010EE10 90 01 02 E4 */ stw r0, 0x2e4(r1) -/* 80111EB4 0010EE14 DB E1 02 D0 */ stfd f31, 0x2d0(r1) -/* 80111EB8 0010EE18 F3 E1 02 D8 */ psq_st f31, 728(r1), 0, qr0 -/* 80111EBC 0010EE1C DB C1 02 C0 */ stfd f30, 0x2c0(r1) -/* 80111EC0 0010EE20 F3 C1 02 C8 */ psq_st f30, 712(r1), 0, qr0 -/* 80111EC4 0010EE24 DB A1 02 B0 */ stfd f29, 0x2b0(r1) -/* 80111EC8 0010EE28 F3 A1 02 B8 */ psq_st f29, 696(r1), 0, qr0 -/* 80111ECC 0010EE2C DB 81 02 A0 */ stfd f28, 0x2a0(r1) -/* 80111ED0 0010EE30 F3 81 02 A8 */ psq_st f28, 680(r1), 0, qr0 -/* 80111ED4 0010EE34 DB 61 02 90 */ stfd f27, 0x290(r1) -/* 80111ED8 0010EE38 F3 61 02 98 */ psq_st f27, 664(r1), 0, qr0 -/* 80111EDC 0010EE3C DB 41 02 80 */ stfd f26, 0x280(r1) -/* 80111EE0 0010EE40 F3 41 02 88 */ psq_st f26, 648(r1), 0, qr0 -/* 80111EE4 0010EE44 DB 21 02 70 */ stfd f25, 0x270(r1) -/* 80111EE8 0010EE48 F3 21 02 78 */ psq_st f25, 632(r1), 0, qr0 -/* 80111EEC 0010EE4C BE E1 02 4C */ stmw r23, 0x24c(r1) -/* 80111EF0 0010EE50 7C 7A 1B 78 */ mr r26, r3 -/* 80111EF4 0010EE54 7C 9B 23 78 */ mr r27, r4 -/* 80111EF8 0010EE58 80 03 01 2C */ lwz r0, 0x12c(r3) -/* 80111EFC 0010EE5C 28 00 00 00 */ cmplwi r0, 0 -/* 80111F00 0010EE60 41 82 00 0C */ beq lbl_80111F0C -/* 80111F04 0010EE64 38 60 00 01 */ li r3, 1 -/* 80111F08 0010EE68 48 00 00 3C */ b lbl_80111F44 -lbl_80111F0C: -/* 80111F0C 0010EE6C 88 1A 01 28 */ lbz r0, 0x128(r26) -/* 80111F10 0010EE70 28 00 00 00 */ cmplwi r0, 0 -/* 80111F14 0010EE74 41 82 00 2C */ beq lbl_80111F40 -/* 80111F18 0010EE78 80 7A 01 24 */ lwz r3, 0x124(r26) -/* 80111F1C 0010EE7C 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80111F20 0010EE80 28 00 00 00 */ cmplwi r0, 0 -/* 80111F24 0010EE84 41 82 00 1C */ beq lbl_80111F40 -/* 80111F28 0010EE88 38 7A 01 24 */ addi r3, r26, 0x124 -/* 80111F2C 0010EE8C 48 22 EE E1 */ bl GetObj__6CTokenFv -/* 80111F30 0010EE90 80 03 00 04 */ lwz r0, 4(r3) -/* 80111F34 0010EE94 38 60 00 01 */ li r3, 1 -/* 80111F38 0010EE98 90 1A 01 2C */ stw r0, 0x12c(r26) -/* 80111F3C 0010EE9C 48 00 00 08 */ b lbl_80111F44 -lbl_80111F40: -/* 80111F40 0010EEA0 38 60 00 00 */ li r3, 0 -lbl_80111F44: -/* 80111F44 0010EEA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80111F48 0010EEA8 40 82 00 0C */ bne lbl_80111F54 -/* 80111F4C 0010EEAC 38 60 00 00 */ li r3, 0 -/* 80111F50 0010EEB0 48 00 05 6C */ b lbl_801124BC -lbl_80111F54: -/* 80111F54 0010EEB4 80 1A 01 38 */ lwz r0, 0x138(r26) -/* 80111F58 0010EEB8 28 00 00 00 */ cmplwi r0, 0 -/* 80111F5C 0010EEBC 41 82 00 0C */ beq lbl_80111F68 -/* 80111F60 0010EEC0 38 60 00 01 */ li r3, 1 -/* 80111F64 0010EEC4 48 00 00 3C */ b lbl_80111FA0 -lbl_80111F68: -/* 80111F68 0010EEC8 88 1A 01 34 */ lbz r0, 0x134(r26) -/* 80111F6C 0010EECC 28 00 00 00 */ cmplwi r0, 0 -/* 80111F70 0010EED0 41 82 00 2C */ beq lbl_80111F9C -/* 80111F74 0010EED4 80 7A 01 30 */ lwz r3, 0x130(r26) -/* 80111F78 0010EED8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80111F7C 0010EEDC 28 00 00 00 */ cmplwi r0, 0 -/* 80111F80 0010EEE0 41 82 00 1C */ beq lbl_80111F9C -/* 80111F84 0010EEE4 38 7A 01 30 */ addi r3, r26, 0x130 -/* 80111F88 0010EEE8 48 22 EE 85 */ bl GetObj__6CTokenFv -/* 80111F8C 0010EEEC 80 03 00 04 */ lwz r0, 4(r3) -/* 80111F90 0010EEF0 38 60 00 01 */ li r3, 1 -/* 80111F94 0010EEF4 90 1A 01 38 */ stw r0, 0x138(r26) -/* 80111F98 0010EEF8 48 00 00 08 */ b lbl_80111FA0 -lbl_80111F9C: -/* 80111F9C 0010EEFC 38 60 00 00 */ li r3, 0 -lbl_80111FA0: -/* 80111FA0 0010EF00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80111FA4 0010EF04 40 82 00 0C */ bne lbl_80111FB0 -/* 80111FA8 0010EF08 38 60 00 00 */ li r3, 0 -/* 80111FAC 0010EF0C 48 00 05 10 */ b lbl_801124BC -lbl_80111FB0: -/* 80111FB0 0010EF10 83 3A 01 1C */ lwz r25, 0x11c(r26) -/* 80111FB4 0010EF14 28 19 00 00 */ cmplwi r25, 0 -/* 80111FB8 0010EF18 40 82 00 0C */ bne lbl_80111FC4 -/* 80111FBC 0010EF1C 38 60 00 00 */ li r3, 0 -/* 80111FC0 0010EF20 48 00 04 FC */ b lbl_801124BC -lbl_80111FC4: -/* 80111FC4 0010EF24 C0 22 95 CC */ lfs f1, lbl_805AB2EC@sda21(r2) -/* 80111FC8 0010EF28 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) -/* 80111FCC 0010EF2C 48 1F 84 15 */ bl SetDepthRange__9CGraphicsFff -/* 80111FD0 0010EF30 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 80111FD4 0010EF34 38 61 00 60 */ addi r3, r1, 0x60 -/* 80111FD8 0010EF38 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80111FDC 0010EF3C 38 A0 00 01 */ li r5, 1 -/* 80111FE0 0010EF40 81 84 00 00 */ lwz r12, 0(r4) -/* 80111FE4 0010EF44 C0 42 95 D4 */ lfs f2, lbl_805AB2F4@sda21(r2) -/* 80111FE8 0010EF48 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 80111FEC 0010EF4C 7D 89 03 A6 */ mtctr r12 -/* 80111FF0 0010EF50 4E 80 04 21 */ bctrl -/* 80111FF4 0010EF54 C0 62 95 D8 */ lfs f3, lbl_805AB2F8@sda21(r2) -/* 80111FF8 0010EF58 38 61 01 18 */ addi r3, r1, 0x118 -/* 80111FFC 0010EF5C C0 3A 00 48 */ lfs f1, 0x48(r26) -/* 80112000 0010EF60 C0 1A 00 4C */ lfs f0, 0x4c(r26) -/* 80112004 0010EF64 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80112008 0010EF68 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) -/* 8011200C 0010EF6C EC 63 00 32 */ fmuls f3, f3, f0 -/* 80112010 0010EF70 48 20 11 F9 */ bl Scale__12CTransform4fFfff -/* 80112014 0010EF74 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80112018 0010EF78 38 81 01 18 */ addi r4, r1, 0x118 -/* 8011201C 0010EF7C 81 83 00 00 */ lwz r12, 0(r3) -/* 80112020 0010EF80 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80112024 0010EF84 7D 89 03 A6 */ mtctr r12 -/* 80112028 0010EF88 4E 80 04 21 */ bctrl -/* 8011202C 0010EF8C 38 A0 00 00 */ li r5, 0 -/* 80112030 0010EF90 38 60 00 05 */ li r3, 5 -/* 80112034 0010EF94 38 00 00 03 */ li r0, 3 -/* 80112038 0010EF98 98 61 00 34 */ stb r3, 0x34(r1) -/* 8011203C 0010EF9C 7F 23 CB 78 */ mr r3, r25 -/* 80112040 0010EFA0 38 81 00 34 */ addi r4, r1, 0x34 -/* 80112044 0010EFA4 98 A1 00 35 */ stb r5, 0x35(r1) -/* 80112048 0010EFA8 B0 01 00 36 */ sth r0, 0x36(r1) -/* 8011204C 0010EFAC 90 A1 00 38 */ stw r5, 0x38(r1) -/* 80112050 0010EFB0 48 24 3B 85 */ bl Draw__6CModelCFRC11CModelFlags -/* 80112054 0010EFB4 80 7B 08 70 */ lwz r3, 0x870(r27) -/* 80112058 0010EFB8 7F 64 DB 78 */ mr r4, r27 -/* 8011205C 0010EFBC 4B EF 9A BD */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80112060 0010EFC0 80 9B 08 70 */ lwz r4, 0x870(r27) -/* 80112064 0010EFC4 7C 79 1B 78 */ mr r25, r3 -/* 80112068 0010EFC8 7F 65 DB 78 */ mr r5, r27 -/* 8011206C 0010EFCC 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80112070 0010EFD0 4B EF 88 F9 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 80112074 0010EFD4 38 61 01 9C */ addi r3, r1, 0x19c -/* 80112078 0010EFD8 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 8011207C 0010EFDC 48 20 0A F9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80112080 0010EFE0 38 61 01 9C */ addi r3, r1, 0x19c -/* 80112084 0010EFE4 48 1F A6 C9 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 80112088 0010EFE8 C0 22 95 DC */ lfs f1, lbl_805AB2FC@sda21(r2) -/* 8011208C 0010EFEC 38 61 01 CC */ addi r3, r1, 0x1cc -/* 80112090 0010EFF0 C0 19 01 5C */ lfs f0, 0x15c(r25) -/* 80112094 0010EFF4 38 81 01 9C */ addi r4, r1, 0x19c -/* 80112098 0010EFF8 C0 59 01 68 */ lfs f2, 0x168(r25) -/* 8011209C 0010EFFC 38 A0 00 00 */ li r5, 0 -/* 801120A0 0010F000 EC 21 00 32 */ fmuls f1, f1, f0 -/* 801120A4 0010F004 C0 62 95 D0 */ lfs f3, lbl_805AB2F0@sda21(r2) -/* 801120A8 0010F008 C0 82 95 E0 */ lfs f4, lbl_805AB300@sda21(r2) -/* 801120AC 0010F00C 48 23 31 A9 */ bl __ct__14CFrustumPlanesFRC12CTransform4ffffbf -/* 801120B0 0010F010 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801120B4 0010F014 38 81 01 CC */ addi r4, r1, 0x1cc -/* 801120B8 0010F018 81 83 00 00 */ lwz r12, 0(r3) -/* 801120BC 0010F01C 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 801120C0 0010F020 7D 89 03 A6 */ mtctr r12 -/* 801120C4 0010F024 4E 80 04 21 */ bctrl -/* 801120C8 0010F028 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 801120CC 0010F02C 3C 80 43 30 */ lis r4, 0x4330 -/* 801120D0 0010F030 38 C3 D9 10 */ addi r6, r3, lbl_803ED910@l -/* 801120D4 0010F034 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801120D8 0010F038 80 A6 00 08 */ lwz r5, 8(r6) -/* 801120DC 0010F03C 80 06 00 0C */ lwz r0, 0xc(r6) -/* 801120E0 0010F040 6C A5 80 00 */ xoris r5, r5, 0x8000 -/* 801120E4 0010F044 81 83 00 00 */ lwz r12, 0(r3) -/* 801120E8 0010F048 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 801120EC 0010F04C 90 A1 02 34 */ stw r5, 0x234(r1) -/* 801120F0 0010F050 C8 62 95 F8 */ lfd f3, lbl_805AB318@sda21(r2) -/* 801120F4 0010F054 90 81 02 30 */ stw r4, 0x230(r1) -/* 801120F8 0010F058 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 801120FC 0010F05C C8 01 02 30 */ lfd f0, 0x230(r1) -/* 80112100 0010F060 90 01 02 3C */ stw r0, 0x23c(r1) -/* 80112104 0010F064 EC 40 18 28 */ fsubs f2, f0, f3 -/* 80112108 0010F068 C0 39 01 5C */ lfs f1, 0x15c(r25) -/* 8011210C 0010F06C 90 81 02 38 */ stw r4, 0x238(r1) -/* 80112110 0010F070 C0 99 01 60 */ lfs f4, 0x160(r25) -/* 80112114 0010F074 C8 01 02 38 */ lfd f0, 0x238(r1) -/* 80112118 0010F078 C0 B9 01 64 */ lfs f5, 0x164(r25) -/* 8011211C 0010F07C EC 60 18 28 */ fsubs f3, f0, f3 -/* 80112120 0010F080 7D 89 03 A6 */ mtctr r12 -/* 80112124 0010F084 4E 80 04 21 */ bctrl -/* 80112128 0010F088 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8011212C 0010F08C 38 81 01 9C */ addi r4, r1, 0x19c -/* 80112130 0010F090 48 20 0F C5 */ bl BuildMatrix3f__12CTransform4fCFv -/* 80112134 0010F094 38 61 01 78 */ addi r3, r1, 0x178 -/* 80112138 0010F098 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 8011213C 0010F09C 48 1F DE E9 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 80112140 0010F0A0 C3 A1 01 A8 */ lfs f29, 0x1a8(r1) -/* 80112144 0010F0A4 3B FA 01 40 */ addi r31, r26, 0x140 -/* 80112148 0010F0A8 C3 81 01 B8 */ lfs f28, 0x1b8(r1) -/* 8011214C 0010F0AC 3B C0 00 00 */ li r30, 0 -/* 80112150 0010F0B0 C3 61 01 C8 */ lfs f27, 0x1c8(r1) -/* 80112154 0010F0B4 C3 E2 95 C8 */ lfs f31, lbl_805AB2E8@sda21(r2) -/* 80112158 0010F0B8 48 00 02 F4 */ b lbl_8011244C -lbl_8011215C: -/* 8011215C 0010F0BC C0 1F 00 04 */ lfs f0, 4(r31) -/* 80112160 0010F0C0 FC 1F 00 00 */ fcmpu cr0, f31, f0 -/* 80112164 0010F0C4 41 82 02 E0 */ beq lbl_80112444 -/* 80112168 0010F0C8 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8011216C 0010F0CC 7F 63 DB 78 */ mr r3, r27 -/* 80112170 0010F0D0 38 81 00 0C */ addi r4, r1, 0xc -/* 80112174 0010F0D4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80112178 0010F0D8 4B F3 A4 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8011217C 0010F0DC 7C 64 1B 78 */ mr r4, r3 -/* 80112180 0010F0E0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80112184 0010F0E4 4B F9 DB 0D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80112188 0010F0E8 83 A3 00 04 */ lwz r29, 4(r3) -/* 8011218C 0010F0EC 28 1D 00 00 */ cmplwi r29, 0 -/* 80112190 0010F0F0 41 82 02 B4 */ beq lbl_80112444 -/* 80112194 0010F0F4 80 7D 00 68 */ lwz r3, 0x68(r29) -/* 80112198 0010F0F8 38 00 00 80 */ li r0, 0x80 -/* 8011219C 0010F0FC 80 BD 00 6C */ lwz r5, 0x6c(r29) -/* 801121A0 0010F100 38 80 00 00 */ li r4, 0 -/* 801121A4 0010F104 7C 60 00 38 */ and r0, r3, r0 -/* 801121A8 0010F108 7C A3 20 38 */ and r3, r5, r4 -/* 801121AC 0010F10C 7C 63 22 78 */ xor r3, r3, r4 -/* 801121B0 0010F110 7C 00 22 78 */ xor r0, r0, r4 -/* 801121B4 0010F114 7C 60 03 79 */ or. r0, r3, r0 -/* 801121B8 0010F118 41 82 02 8C */ beq lbl_80112444 -/* 801121BC 0010F11C 7F A3 EB 78 */ mr r3, r29 -/* 801121C0 0010F120 4B F4 13 09 */ bl GetScannableObjectInfo__6CActorCFv -/* 801121C4 0010F124 7C 79 1B 78 */ mr r25, r3 -/* 801121C8 0010F128 88 83 00 10 */ lbz r4, 0x10(r3) -/* 801121CC 0010F12C 28 04 00 00 */ cmplwi r4, 0 -/* 801121D0 0010F130 41 82 00 0C */ beq lbl_801121DC -/* 801121D4 0010F134 80 1A 01 38 */ lwz r0, 0x138(r26) -/* 801121D8 0010F138 48 00 00 08 */ b lbl_801121E0 -lbl_801121DC: -/* 801121DC 0010F13C 80 1A 01 2C */ lwz r0, 0x12c(r26) -lbl_801121E0: -/* 801121E0 0010F140 28 04 00 00 */ cmplwi r4, 0 -/* 801121E4 0010F144 7C 1C 03 78 */ mr r28, r0 -/* 801121E8 0010F148 41 82 00 10 */ beq lbl_801121F8 -/* 801121EC 0010F14C 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 801121F0 0010F150 3B 03 01 88 */ addi r24, r3, 0x188 -/* 801121F4 0010F154 48 00 00 0C */ b lbl_80112200 -lbl_801121F8: -/* 801121F8 0010F158 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 801121FC 0010F15C 3B 03 01 90 */ addi r24, r3, 0x190 -lbl_80112200: -/* 80112200 0010F160 28 04 00 00 */ cmplwi r4, 0 -/* 80112204 0010F164 41 82 00 10 */ beq lbl_80112214 -/* 80112208 0010F168 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 8011220C 0010F16C 3A E3 01 8C */ addi r23, r3, 0x18c -/* 80112210 0010F170 48 00 00 0C */ b lbl_8011221C -lbl_80112214: -/* 80112214 0010F174 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) -/* 80112218 0010F178 3A E3 01 94 */ addi r23, r3, 0x194 -lbl_8011221C: -/* 8011221C 0010F17C 7F A4 EB 78 */ mr r4, r29 -/* 80112220 0010F180 7F 65 DB 78 */ mr r5, r27 -/* 80112224 0010F184 81 9D 00 00 */ lwz r12, 0(r29) -/* 80112228 0010F188 38 61 00 54 */ addi r3, r1, 0x54 -/* 8011222C 0010F18C 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 80112230 0010F190 7D 89 03 A6 */ mtctr r12 -/* 80112234 0010F194 4E 80 04 21 */ bctrl -/* 80112238 0010F198 C0 41 00 54 */ lfs f2, 0x54(r1) -/* 8011223C 0010F19C 7F 64 DB 78 */ mr r4, r27 -/* 80112240 0010F1A0 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 80112244 0010F1A4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80112248 0010F1A8 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8011224C 0010F1AC D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80112250 0010F1B0 80 ED A1 40 */ lwz r7, gpTweakTargeting@sda21(r13) -/* 80112254 0010F1B4 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80112258 0010F1B8 80 C1 00 70 */ lwz r6, 0x70(r1) -/* 8011225C 0010F1BC D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80112260 0010F1C0 80 A1 00 74 */ lwz r5, 0x74(r1) -/* 80112264 0010F1C4 80 01 00 78 */ lwz r0, 0x78(r1) -/* 80112268 0010F1C8 90 C1 00 48 */ stw r6, 0x48(r1) -/* 8011226C 0010F1CC C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) -/* 80112270 0010F1D0 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 80112274 0010F1D4 90 01 00 50 */ stw r0, 0x50(r1) -/* 80112278 0010F1D8 C0 47 02 1C */ lfs f2, 0x21c(r7) -/* 8011227C 0010F1DC C0 67 02 20 */ lfs f3, 0x220(r7) -/* 80112280 0010F1E0 4B FA AD 1D */ bl CalculateClampedScale__22CCompoundTargetReticleF9CVector3ffffRC13CStateManager -/* 80112284 0010F1E4 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -/* 80112288 0010F1E8 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8011228C 0010F1EC D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 80112290 0010F1F0 38 81 00 7C */ addi r4, r1, 0x7c -/* 80112294 0010F1F4 38 A1 01 78 */ addi r5, r1, 0x178 -/* 80112298 0010F1F8 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8011229C 0010F1FC D0 01 00 84 */ stfs f0, 0x84(r1) -/* 801122A0 0010F200 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 801122A4 0010F204 D0 21 00 8C */ stfs f1, 0x8c(r1) -/* 801122A8 0010F208 D0 01 00 90 */ stfs f0, 0x90(r1) -/* 801122AC 0010F20C D0 01 00 94 */ stfs f0, 0x94(r1) -/* 801122B0 0010F210 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 801122B4 0010F214 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 801122B8 0010F218 48 1F DE 79 */ bl __ml__9CMatrix3fCFRC9CMatrix3f -/* 801122BC 0010F21C 38 61 01 48 */ addi r3, r1, 0x148 -/* 801122C0 0010F220 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 801122C4 0010F224 38 A1 00 70 */ addi r5, r1, 0x70 -/* 801122C8 0010F228 48 20 0F B1 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 801122CC 0010F22C C0 41 00 74 */ lfs f2, 0x74(r1) -/* 801122D0 0010F230 38 61 00 3C */ addi r3, r1, 0x3c -/* 801122D4 0010F234 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 801122D8 0010F238 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 801122DC 0010F23C EC 42 E0 28 */ fsubs f2, f2, f28 -/* 801122E0 0010F240 EC 21 D8 28 */ fsubs f1, f1, f27 -/* 801122E4 0010F244 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 801122E8 0010F248 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 801122EC 0010F24C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 801122F0 0010F250 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 801122F4 0010F254 48 20 25 C5 */ bl Magnitude__9CVector3fCFv -/* 801122F8 0010F258 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 801122FC 0010F25C C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -/* 80112300 0010F260 C0 63 02 18 */ lfs f3, 0x218(r3) -/* 80112304 0010F264 C0 43 02 24 */ lfs f2, 0x224(r3) -/* 80112308 0010F268 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8011230C 0010F26C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80112310 0010F270 4C 40 13 82 */ cror 2, 0, 2 -/* 80112314 0010F274 40 82 00 0C */ bne lbl_80112320 -/* 80112318 0010F278 C3 42 95 D0 */ lfs f26, lbl_805AB2F0@sda21(r2) -/* 8011231C 0010F27C 48 00 00 2C */ b lbl_80112348 -lbl_80112320: -/* 80112320 0010F280 EC 01 18 28 */ fsubs f0, f1, f3 -/* 80112324 0010F284 C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) -/* 80112328 0010F288 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011232C 0010F28C 38 6D 8A 58 */ addi r3, r13, lbl_805A7618@sda21 -/* 80112330 0010F290 38 AD 8A 5C */ addi r5, r13, lbl_805A761C@sda21 -/* 80112334 0010F294 EC 00 10 24 */ fdivs f0, f0, f2 -/* 80112338 0010F298 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8011233C 0010F29C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80112340 0010F2A0 4B EF 9F 75 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80112344 0010F2A4 C3 43 00 00 */ lfs f26, 0(r3) -lbl_80112348: -/* 80112348 0010F2A8 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8011234C 0010F2AC 7F 04 C3 78 */ mr r4, r24 -/* 80112350 0010F2B0 7E E5 BB 78 */ mr r5, r23 -/* 80112354 0010F2B4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80112358 0010F2B8 48 25 0F 55 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 8011235C 0010F2BC 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80112360 0010F2C0 80 7B 08 B8 */ lwz r3, 0x8b8(r27) -/* 80112364 0010F2C4 90 01 00 18 */ stw r0, 0x18(r1) -/* 80112368 0010F2C8 C3 3F 00 04 */ lfs f25, 4(r31) -/* 8011236C 0010F2CC 80 63 00 00 */ lwz r3, 0(r3) -/* 80112370 0010F2D0 80 99 00 00 */ lwz r4, 0(r25) -/* 80112374 0010F2D4 4B F7 F3 1D */ bl GetScanTime__12CPlayerStateCFUi -/* 80112378 0010F2D8 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 8011237C 0010F2DC FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80112380 0010F2E0 40 82 00 10 */ bne lbl_80112390 -/* 80112384 0010F2E4 C0 02 95 E4 */ lfs f0, lbl_805AB304@sda21(r2) -/* 80112388 0010F2E8 EF 39 00 32 */ fmuls f25, f25, f0 -/* 8011238C 0010F2EC 48 00 00 2C */ b lbl_801123B8 -lbl_80112390: -/* 80112390 0010F2F0 80 7B 08 4C */ lwz r3, 0x84c(r27) -/* 80112394 0010F2F4 A0 9F 00 00 */ lhz r4, 0(r31) -/* 80112398 0010F2F8 A0 03 03 10 */ lhz r0, 0x310(r3) -/* 8011239C 0010F2FC 7C 04 00 40 */ cmplw r4, r0 -/* 801123A0 0010F300 40 82 00 14 */ bne lbl_801123B4 -/* 801123A4 0010F304 C0 42 95 E8 */ lfs f2, lbl_805AB308@sda21(r2) -/* 801123A8 0010F308 C0 3A 00 2C */ lfs f1, 0x2c(r26) -/* 801123AC 0010F30C C0 02 95 E4 */ lfs f0, lbl_805AB304@sda21(r2) -/* 801123B0 0010F310 EC 02 00 7A */ fmadds f0, f2, f1, f0 -lbl_801123B4: -/* 801123B4 0010F314 EF 39 00 32 */ fmuls f25, f25, f0 -lbl_801123B8: -/* 801123B8 0010F318 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801123BC 0010F31C 38 81 01 48 */ addi r4, r1, 0x148 -/* 801123C0 0010F320 81 83 00 00 */ lwz r12, 0(r3) -/* 801123C4 0010F324 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801123C8 0010F328 7D 89 03 A6 */ mtctr r12 -/* 801123CC 0010F32C 4E 80 04 21 */ bctrl -/* 801123D0 0010F330 88 61 00 1B */ lbz r3, 0x1b(r1) -/* 801123D4 0010F334 3C 00 43 30 */ lis r0, 0x4330 -/* 801123D8 0010F338 90 01 02 38 */ stw r0, 0x238(r1) -/* 801123DC 0010F33C EC 59 06 B2 */ fmuls f2, f25, f26 -/* 801123E0 0010F340 C8 22 96 00 */ lfd f1, lbl_805AB320@sda21(r2) -/* 801123E4 0010F344 90 61 02 3C */ stw r3, 0x23c(r1) -/* 801123E8 0010F348 C8 01 02 38 */ lfd f0, 0x238(r1) -/* 801123EC 0010F34C EC 00 08 28 */ fsubs f0, f0, f1 -/* 801123F0 0010F350 EF C2 00 32 */ fmuls f30, f2, f0 -/* 801123F4 0010F354 F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 801123F8 0010F358 38 A0 00 03 */ li r5, 3 -/* 801123FC 0010F35C 54 A0 00 3A */ rlwinm r0, r5, 0, 0, 0x1d -/* 80112400 0010F360 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80112404 0010F364 38 E0 00 07 */ li r7, 7 -/* 80112408 0010F368 38 C0 00 00 */ li r6, 0 -/* 8011240C 0010F36C 89 01 00 08 */ lbz r8, 8(r1) -/* 80112410 0010F370 50 68 00 2E */ rlwimi r8, r3, 0, 0, 0x17 -/* 80112414 0010F374 60 00 00 01 */ ori r0, r0, 1 -/* 80112418 0010F378 98 E1 00 24 */ stb r7, 0x24(r1) -/* 8011241C 0010F37C 7F 83 E3 78 */ mr r3, r28 -/* 80112420 0010F380 38 81 00 2C */ addi r4, r1, 0x2c -/* 80112424 0010F384 98 C1 00 25 */ stb r6, 0x25(r1) -/* 80112428 0010F388 B0 A1 00 26 */ sth r5, 0x26(r1) -/* 8011242C 0010F38C 91 01 00 28 */ stw r8, 0x28(r1) -/* 80112430 0010F390 98 E1 00 2C */ stb r7, 0x2c(r1) -/* 80112434 0010F394 98 C1 00 2D */ stb r6, 0x2d(r1) -/* 80112438 0010F398 B0 01 00 2E */ sth r0, 0x2e(r1) -/* 8011243C 0010F39C 91 01 00 30 */ stw r8, 0x30(r1) -/* 80112440 0010F3A0 48 24 37 95 */ bl Draw__6CModelCFRC11CModelFlags -lbl_80112444: -/* 80112444 0010F3A4 3B FF 00 10 */ addi r31, r31, 0x10 -/* 80112448 0010F3A8 3B DE 00 01 */ addi r30, r30, 1 -lbl_8011244C: -/* 8011244C 0010F3AC 80 1A 01 3C */ lwz r0, 0x13c(r26) -/* 80112450 0010F3B0 7C 1E 00 00 */ cmpw r30, r0 -/* 80112454 0010F3B4 41 80 FD 08 */ blt lbl_8011215C -/* 80112458 0010F3B8 C0 22 95 EC */ lfs f1, lbl_805AB30C@sda21(r2) -/* 8011245C 0010F3BC C0 42 95 F0 */ lfs f2, lbl_805AB310@sda21(r2) -/* 80112460 0010F3C0 48 1F 7F 81 */ bl SetDepthRange__9CGraphicsFff -/* 80112464 0010F3C4 80 A1 01 CC */ lwz r5, 0x1cc(r1) -/* 80112468 0010F3C8 38 60 00 00 */ li r3, 0 -/* 8011246C 0010F3CC 2C 05 00 00 */ cmpwi r5, 0 -/* 80112470 0010F3D0 40 81 00 40 */ ble lbl_801124B0 -/* 80112474 0010F3D4 2C 05 00 08 */ cmpwi r5, 8 -/* 80112478 0010F3D8 38 85 FF F8 */ addi r4, r5, -8 -/* 8011247C 0010F3DC 40 81 00 20 */ ble lbl_8011249C -/* 80112480 0010F3E0 38 04 00 07 */ addi r0, r4, 7 -/* 80112484 0010F3E4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80112488 0010F3E8 7C 09 03 A6 */ mtctr r0 -/* 8011248C 0010F3EC 2C 04 00 00 */ cmpwi r4, 0 -/* 80112490 0010F3F0 40 81 00 0C */ ble lbl_8011249C -lbl_80112494: -/* 80112494 0010F3F4 38 63 00 08 */ addi r3, r3, 8 -/* 80112498 0010F3F8 42 00 FF FC */ bdnz lbl_80112494 -lbl_8011249C: -/* 8011249C 0010F3FC 7C 03 28 50 */ subf r0, r3, r5 -/* 801124A0 0010F400 7C 09 03 A6 */ mtctr r0 -/* 801124A4 0010F404 7C 03 28 00 */ cmpw r3, r5 -/* 801124A8 0010F408 40 80 00 08 */ bge lbl_801124B0 -lbl_801124AC: -/* 801124AC 0010F40C 42 00 00 00 */ bdnz lbl_801124AC -lbl_801124B0: -/* 801124B0 0010F410 38 00 00 00 */ li r0, 0 -/* 801124B4 0010F414 38 60 00 01 */ li r3, 1 -/* 801124B8 0010F418 90 01 01 CC */ stw r0, 0x1cc(r1) -lbl_801124BC: -/* 801124BC 0010F41C E3 E1 02 D8 */ psq_l f31, 728(r1), 0, qr0 -/* 801124C0 0010F420 CB E1 02 D0 */ lfd f31, 0x2d0(r1) -/* 801124C4 0010F424 E3 C1 02 C8 */ psq_l f30, 712(r1), 0, qr0 -/* 801124C8 0010F428 CB C1 02 C0 */ lfd f30, 0x2c0(r1) -/* 801124CC 0010F42C E3 A1 02 B8 */ psq_l f29, 696(r1), 0, qr0 -/* 801124D0 0010F430 CB A1 02 B0 */ lfd f29, 0x2b0(r1) -/* 801124D4 0010F434 E3 81 02 A8 */ psq_l f28, 680(r1), 0, qr0 -/* 801124D8 0010F438 CB 81 02 A0 */ lfd f28, 0x2a0(r1) -/* 801124DC 0010F43C E3 61 02 98 */ psq_l f27, 664(r1), 0, qr0 -/* 801124E0 0010F440 CB 61 02 90 */ lfd f27, 0x290(r1) -/* 801124E4 0010F444 E3 41 02 88 */ psq_l f26, 648(r1), 0, qr0 -/* 801124E8 0010F448 CB 41 02 80 */ lfd f26, 0x280(r1) -/* 801124EC 0010F44C E3 21 02 78 */ psq_l f25, 632(r1), 0, qr0 -/* 801124F0 0010F450 CB 21 02 70 */ lfd f25, 0x270(r1) -/* 801124F4 0010F454 BA E1 02 4C */ lmw r23, 0x24c(r1) -/* 801124F8 0010F458 80 01 02 E4 */ lwz r0, 0x2e4(r1) -/* 801124FC 0010F45C 7C 08 03 A6 */ mtlr r0 -/* 80112500 0010F460 38 21 02 E0 */ addi r1, r1, 0x2e0 -/* 80112504 0010F464 4E 80 00 20 */ blr - -.global UpdateScanObjectIndicators__12CPlayerVisorFRC13CStateManagerf -UpdateScanObjectIndicators__12CPlayerVisorFRC13CStateManagerf: -/* 80112508 0010F468 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8011250C 0010F46C 7C 08 02 A6 */ mflr r0 -/* 80112510 0010F470 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80112514 0010F474 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 80112518 0010F478 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8011251C 0010F47C DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 80112520 0010F480 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 80112524 0010F484 BF 21 00 A4 */ stmw r25, 0xa4(r1) -/* 80112528 0010F488 FF C0 08 90 */ fmr f30, f1 -/* 8011252C 0010F48C C0 02 96 08 */ lfs f0, lbl_805AB328@sda21(r2) -/* 80112530 0010F490 7C 7A 1B 78 */ mr r26, r3 -/* 80112534 0010F494 3C 60 80 3F */ lis r3, lbl_803ED910@ha -/* 80112538 0010F498 3B 9A 01 40 */ addi r28, r26, 0x140 -/* 8011253C 0010F49C 7C 9B 23 78 */ mr r27, r4 -/* 80112540 0010F4A0 EF E0 07 B2 */ fmuls f31, f0, f30 -/* 80112544 0010F4A4 7F 9E E3 78 */ mr r30, r28 -/* 80112548 0010F4A8 3B E3 D9 10 */ addi r31, r3, lbl_803ED910@l -/* 8011254C 0010F4AC 3B A0 00 00 */ li r29, 0 -/* 80112550 0010F4B0 48 00 02 00 */ b lbl_80112750 -lbl_80112554: -/* 80112554 0010F4B4 C0 3E 00 04 */ lfs f1, 4(r30) -/* 80112558 0010F4B8 C0 0D 8A 3C */ lfs f0, lbl_805A75FC@sda21(r13) -/* 8011255C 0010F4BC EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80112560 0010F4C0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80112564 0010F4C4 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80112568 0010F4C8 40 80 00 0C */ bge lbl_80112574 -/* 8011256C 0010F4CC 38 61 00 34 */ addi r3, r1, 0x34 -/* 80112570 0010F4D0 48 00 00 08 */ b lbl_80112578 -lbl_80112574: -/* 80112574 0010F4D4 38 6D 8A 3C */ addi r3, r13, lbl_805A75FC@sda21 -lbl_80112578: -/* 80112578 0010F4D8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8011257C 0010F4DC 7F 65 DB 78 */ mr r5, r27 -/* 80112580 0010F4E0 38 81 00 18 */ addi r4, r1, 0x18 -/* 80112584 0010F4E4 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80112588 0010F4E8 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8011258C 0010F4EC 80 7B 08 4C */ lwz r3, 0x84c(r27) -/* 80112590 0010F4F0 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80112594 0010F4F4 4B EF FA 0D */ bl ObjectInScanningRange__7CPlayerF9TUniqueIdRC13CStateManager -/* 80112598 0010F4F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011259C 0010F4FC 41 82 00 34 */ beq lbl_801125D0 -/* 801125A0 0010F500 C0 3E 00 08 */ lfs f1, 8(r30) -/* 801125A4 0010F504 C0 0D 8A 40 */ lfs f0, lbl_805A7600@sda21(r13) -/* 801125A8 0010F508 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 801125AC 0010F50C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801125B0 0010F510 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 801125B4 0010F514 40 80 00 0C */ bge lbl_801125C0 -/* 801125B8 0010F518 38 61 00 30 */ addi r3, r1, 0x30 -/* 801125BC 0010F51C 48 00 00 08 */ b lbl_801125C4 -lbl_801125C0: -/* 801125C0 0010F520 38 6D 8A 40 */ addi r3, r13, lbl_805A7600@sda21 -lbl_801125C4: -/* 801125C4 0010F524 C0 03 00 00 */ lfs f0, 0(r3) -/* 801125C8 0010F528 D0 1E 00 08 */ stfs f0, 8(r30) -/* 801125CC 0010F52C 48 00 00 30 */ b lbl_801125FC -lbl_801125D0: -/* 801125D0 0010F530 C0 3E 00 08 */ lfs f1, 8(r30) -/* 801125D4 0010F534 C0 0D 8A 44 */ lfs f0, lbl_805A7604@sda21(r13) -/* 801125D8 0010F538 EC 21 F8 2A */ fadds f1, f1, f31 -/* 801125DC 0010F53C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801125E0 0010F540 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 801125E4 0010F544 40 80 00 0C */ bge lbl_801125F0 -/* 801125E8 0010F548 38 61 00 2C */ addi r3, r1, 0x2c -/* 801125EC 0010F54C 48 00 00 08 */ b lbl_801125F4 -lbl_801125F0: -/* 801125F0 0010F550 38 6D 8A 44 */ addi r3, r13, lbl_805A7604@sda21 -lbl_801125F4: -/* 801125F4 0010F554 C0 03 00 00 */ lfs f0, 0(r3) -/* 801125F8 0010F558 D0 1E 00 08 */ stfs f0, 8(r30) -lbl_801125FC: -/* 801125FC 0010F55C A0 1E 00 00 */ lhz r0, 0(r30) -/* 80112600 0010F560 7F 63 DB 78 */ mr r3, r27 -/* 80112604 0010F564 38 81 00 14 */ addi r4, r1, 0x14 -/* 80112608 0010F568 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8011260C 0010F56C 4B F3 9F 99 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80112610 0010F570 7C 64 1B 78 */ mr r4, r3 -/* 80112614 0010F574 38 61 00 40 */ addi r3, r1, 0x40 -/* 80112618 0010F578 4B F9 D6 79 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8011261C 0010F57C 83 23 00 04 */ lwz r25, 4(r3) -/* 80112620 0010F580 28 19 00 00 */ cmplwi r25, 0 -/* 80112624 0010F584 41 82 01 28 */ beq lbl_8011274C -/* 80112628 0010F588 80 7B 08 70 */ lwz r3, 0x870(r27) -/* 8011262C 0010F58C 7F 64 DB 78 */ mr r4, r27 -/* 80112630 0010F590 4B EF 94 E9 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80112634 0010F594 81 99 00 00 */ lwz r12, 0(r25) -/* 80112638 0010F598 7F 24 CB 78 */ mr r4, r25 -/* 8011263C 0010F59C 7C 79 1B 78 */ mr r25, r3 -/* 80112640 0010F5A0 7F 65 DB 78 */ mr r5, r27 -/* 80112644 0010F5A4 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 80112648 0010F5A8 38 61 00 58 */ addi r3, r1, 0x58 -/* 8011264C 0010F5AC 7D 89 03 A6 */ mtctr r12 -/* 80112650 0010F5B0 4E 80 04 21 */ bctrl -/* 80112654 0010F5B4 7F 24 CB 78 */ mr r4, r25 -/* 80112658 0010F5B8 38 61 00 64 */ addi r3, r1, 0x64 -/* 8011265C 0010F5BC 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80112660 0010F5C0 4B F4 B2 31 */ bl ConvertToScreenSpace__11CGameCameraCFRC9CVector3f -/* 80112664 0010F5C4 80 1F 00 08 */ lwz r0, 8(r31) -/* 80112668 0010F5C8 3C A0 43 30 */ lis r5, 0x4330 -/* 8011266C 0010F5CC C1 01 00 64 */ lfs f8, 0x64(r1) -/* 80112670 0010F5D0 38 81 00 70 */ addi r4, r1, 0x70 -/* 80112674 0010F5D4 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 80112678 0010F5D8 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 8011267C 0010F5DC 90 61 00 8C */ stw r3, 0x8c(r1) -/* 80112680 0010F5E0 6C C0 80 00 */ xoris r0, r6, 0x8000 -/* 80112684 0010F5E4 C0 E1 00 68 */ lfs f7, 0x68(r1) -/* 80112688 0010F5E8 90 A1 00 88 */ stw r5, 0x88(r1) -/* 8011268C 0010F5EC C8 82 95 F8 */ lfd f4, lbl_805AB318@sda21(r2) -/* 80112690 0010F5F0 C8 01 00 88 */ lfd f0, 0x88(r1) -/* 80112694 0010F5F4 90 01 00 9C */ stw r0, 0x9c(r1) -/* 80112698 0010F5F8 EC 20 20 28 */ fsubs f1, f0, f4 -/* 8011269C 0010F5FC C0 C1 00 6C */ lfs f6, 0x6c(r1) -/* 801126A0 0010F600 90 A1 00 98 */ stw r5, 0x98(r1) -/* 801126A4 0010F604 C0 A2 96 0C */ lfs f5, lbl_805AB32C@sda21(r2) -/* 801126A8 0010F608 C8 01 00 98 */ lfd f0, 0x98(r1) -/* 801126AC 0010F60C EC 28 00 72 */ fmuls f1, f8, f1 -/* 801126B0 0010F610 90 61 00 84 */ stw r3, 0x84(r1) -/* 801126B4 0010F614 EC 00 20 28 */ fsubs f0, f0, f4 -/* 801126B8 0010F618 80 7B 08 4C */ lwz r3, 0x84c(r27) -/* 801126BC 0010F61C 90 A1 00 80 */ stw r5, 0x80(r1) -/* 801126C0 0010F620 EC 45 00 72 */ fmuls f2, f5, f1 -/* 801126C4 0010F624 C8 21 00 80 */ lfd f1, 0x80(r1) -/* 801126C8 0010F628 EC 07 00 32 */ fmuls f0, f7, f0 -/* 801126CC 0010F62C 90 01 00 94 */ stw r0, 0x94(r1) -/* 801126D0 0010F630 EC 61 20 28 */ fsubs f3, f1, f4 -/* 801126D4 0010F634 90 A1 00 90 */ stw r5, 0x90(r1) -/* 801126D8 0010F638 EC 05 00 32 */ fmuls f0, f5, f0 -/* 801126DC 0010F63C C8 21 00 90 */ lfd f1, 0x90(r1) -/* 801126E0 0010F640 EC 45 10 FA */ fmadds f2, f5, f3, f2 -/* 801126E4 0010F644 D1 01 00 70 */ stfs f8, 0x70(r1) -/* 801126E8 0010F648 EC 21 20 28 */ fsubs f1, f1, f4 -/* 801126EC 0010F64C D0 E1 00 74 */ stfs f7, 0x74(r1) -/* 801126F0 0010F650 EC 05 00 7A */ fmadds f0, f5, f1, f0 -/* 801126F4 0010F654 D0 C1 00 78 */ stfs f6, 0x78(r1) -/* 801126F8 0010F658 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 801126FC 0010F65C D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80112700 0010F660 80 A3 03 30 */ lwz r5, 0x330(r3) -/* 80112704 0010F664 80 C3 03 34 */ lwz r6, 0x334(r3) -/* 80112708 0010F668 48 06 B5 C5 */ bl WithinOrbitScreenBox__7CPlayerCFRC9CVector3fQ27CPlayer15EPlayerZoneInfoQ27CPlayer15EPlayerZoneType -/* 8011270C 0010F66C 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 80112710 0010F670 54 64 06 3E */ clrlwi r4, r3, 0x18 -/* 80112714 0010F674 7C 04 00 40 */ cmplw r4, r0 -/* 80112718 0010F678 41 82 00 18 */ beq lbl_80112730 -/* 8011271C 0010F67C 28 04 00 00 */ cmplwi r4, 0 -/* 80112720 0010F680 98 7E 00 0C */ stb r3, 0xc(r30) -/* 80112724 0010F684 41 82 00 0C */ beq lbl_80112730 -/* 80112728 0010F688 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 8011272C 0010F68C D0 1A 05 50 */ stfs f0, 0x550(r26) -lbl_80112730: -/* 80112730 0010F690 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80112734 0010F694 38 80 00 00 */ li r4, 0 -/* 80112738 0010F698 40 82 00 0C */ bne lbl_80112744 -/* 8011273C 0010F69C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80112740 0010F6A0 41 82 00 08 */ beq lbl_80112748 -lbl_80112744: -/* 80112744 0010F6A4 38 80 00 01 */ li r4, 1 -lbl_80112748: -/* 80112748 0010F6A8 7C 9D 23 78 */ mr r29, r4 -lbl_8011274C: -/* 8011274C 0010F6AC 3B DE 00 10 */ addi r30, r30, 0x10 -lbl_80112750: -/* 80112750 0010F6B0 80 1A 01 3C */ lwz r0, 0x13c(r26) -/* 80112754 0010F6B4 54 00 20 36 */ slwi r0, r0, 4 -/* 80112758 0010F6B8 7C 1C 02 14 */ add r0, r28, r0 -/* 8011275C 0010F6BC 7C 1E 00 40 */ cmplw r30, r0 -/* 80112760 0010F6C0 40 82 FD F4 */ bne lbl_80112554 -/* 80112764 0010F6C4 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80112768 0010F6C8 41 82 00 34 */ beq lbl_8011279C -/* 8011276C 0010F6CC C0 3A 05 4C */ lfs f1, 0x54c(r26) -/* 80112770 0010F6D0 C0 0D 8A 48 */ lfs f0, lbl_805A7608@sda21(r13) -/* 80112774 0010F6D4 EC 21 F8 2A */ fadds f1, f1, f31 -/* 80112778 0010F6D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011277C 0010F6DC D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80112780 0010F6E0 40 80 00 0C */ bge lbl_8011278C -/* 80112784 0010F6E4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80112788 0010F6E8 48 00 00 08 */ b lbl_80112790 -lbl_8011278C: -/* 8011278C 0010F6EC 38 6D 8A 48 */ addi r3, r13, lbl_805A7608@sda21 -lbl_80112790: -/* 80112790 0010F6F0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80112794 0010F6F4 D0 1A 05 4C */ stfs f0, 0x54c(r26) -/* 80112798 0010F6F8 48 00 00 30 */ b lbl_801127C8 -lbl_8011279C: -/* 8011279C 0010F6FC C0 3A 05 4C */ lfs f1, 0x54c(r26) -/* 801127A0 0010F700 C0 0D 8A 4C */ lfs f0, lbl_805A760C@sda21(r13) -/* 801127A4 0010F704 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 801127A8 0010F708 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801127AC 0010F70C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 801127B0 0010F710 40 80 00 0C */ bge lbl_801127BC -/* 801127B4 0010F714 38 61 00 24 */ addi r3, r1, 0x24 -/* 801127B8 0010F718 48 00 00 08 */ b lbl_801127C0 -lbl_801127BC: -/* 801127BC 0010F71C 38 6D 8A 4C */ addi r3, r13, lbl_805A760C@sda21 -lbl_801127C0: -/* 801127C0 0010F720 C0 03 00 00 */ lfs f0, 0(r3) -/* 801127C4 0010F724 D0 1A 05 4C */ stfs f0, 0x54c(r26) -lbl_801127C8: -/* 801127C8 0010F728 C0 3A 05 50 */ lfs f1, 0x550(r26) -/* 801127CC 0010F72C C0 0D 8A 50 */ lfs f0, lbl_805A7610@sda21(r13) -/* 801127D0 0010F730 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 801127D4 0010F734 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801127D8 0010F738 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 801127DC 0010F73C 40 80 00 0C */ bge lbl_801127E8 -/* 801127E0 0010F740 38 61 00 20 */ addi r3, r1, 0x20 -/* 801127E4 0010F744 48 00 00 08 */ b lbl_801127EC -lbl_801127E8: -/* 801127E8 0010F748 38 6D 8A 50 */ addi r3, r13, lbl_805A7610@sda21 -lbl_801127EC: -/* 801127EC 0010F74C C0 23 00 00 */ lfs f1, 0(r3) -/* 801127F0 0010F750 C0 02 96 10 */ lfs f0, lbl_805AB330@sda21(r2) -/* 801127F4 0010F754 D0 3A 05 50 */ stfs f1, 0x550(r26) -/* 801127F8 0010F758 EF C0 F0 2A */ fadds f30, f0, f30 -/* 801127FC 0010F75C 83 FB 08 4C */ lwz r31, 0x84c(r27) -/* 80112800 0010F760 83 DF 03 50 */ lwz r30, 0x350(r31) -/* 80112804 0010F764 83 BF 00 04 */ lwz r29, 4(r31) -/* 80112808 0010F768 48 00 01 04 */ b lbl_8011290C -lbl_8011280C: -/* 8011280C 0010F76C A0 1E 00 00 */ lhz r0, 0(r30) -/* 80112810 0010F770 7F 63 DB 78 */ mr r3, r27 -/* 80112814 0010F774 38 81 00 10 */ addi r4, r1, 0x10 -/* 80112818 0010F778 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8011281C 0010F77C 4B F3 9D 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80112820 0010F780 7C 64 1B 78 */ mr r4, r3 -/* 80112824 0010F784 38 61 00 38 */ addi r3, r1, 0x38 -/* 80112828 0010F788 4B F9 D4 69 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8011282C 0010F78C 80 83 00 04 */ lwz r4, 4(r3) -/* 80112830 0010F790 28 04 00 00 */ cmplwi r4, 0 -/* 80112834 0010F794 41 82 00 D4 */ beq lbl_80112908 -/* 80112838 0010F798 80 04 00 04 */ lwz r0, 4(r4) -/* 8011283C 0010F79C 7C 00 E8 00 */ cmpw r0, r29 -/* 80112840 0010F7A0 40 82 00 C8 */ bne lbl_80112908 -/* 80112844 0010F7A4 80 64 00 68 */ lwz r3, 0x68(r4) -/* 80112848 0010F7A8 38 00 00 80 */ li r0, 0x80 -/* 8011284C 0010F7AC 80 A4 00 6C */ lwz r5, 0x6c(r4) -/* 80112850 0010F7B0 38 80 00 00 */ li r4, 0 -/* 80112854 0010F7B4 7C 60 00 38 */ and r0, r3, r0 -/* 80112858 0010F7B8 7C A3 20 38 */ and r3, r5, r4 -/* 8011285C 0010F7BC 7C 63 22 78 */ xor r3, r3, r4 -/* 80112860 0010F7C0 7C 00 22 78 */ xor r0, r0, r4 -/* 80112864 0010F7C4 7C 60 03 79 */ or. r0, r3, r0 -/* 80112868 0010F7C8 41 82 00 A0 */ beq lbl_80112908 -/* 8011286C 0010F7CC A0 1E 00 00 */ lhz r0, 0(r30) -/* 80112870 0010F7D0 7F 43 D3 78 */ mr r3, r26 -/* 80112874 0010F7D4 38 81 00 0C */ addi r4, r1, 0xc -/* 80112878 0010F7D8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8011287C 0010F7DC 4B FF F5 E1 */ bl FindCachedInactiveScanTarget__12CPlayerVisorCF9TUniqueId -/* 80112880 0010F7E0 2C 03 FF FF */ cmpwi r3, -1 -/* 80112884 0010F7E4 41 82 00 3C */ beq lbl_801128C0 -/* 80112888 0010F7E8 54 60 20 36 */ slwi r0, r3, 4 -/* 8011288C 0010F7EC C0 0D 8A 54 */ lfs f0, lbl_805A7614@sda21(r13) -/* 80112890 0010F7F0 7C 7C 02 14 */ add r3, r28, r0 -/* 80112894 0010F7F4 C0 23 00 04 */ lfs f1, 4(r3) -/* 80112898 0010F7F8 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8011289C 0010F7FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801128A0 0010F800 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 801128A4 0010F804 40 80 00 0C */ bge lbl_801128B0 -/* 801128A8 0010F808 38 81 00 1C */ addi r4, r1, 0x1c -/* 801128AC 0010F80C 48 00 00 08 */ b lbl_801128B4 -lbl_801128B0: -/* 801128B0 0010F810 38 8D 8A 54 */ addi r4, r13, lbl_805A7614@sda21 -lbl_801128B4: -/* 801128B4 0010F814 C0 04 00 00 */ lfs f0, 0(r4) -/* 801128B8 0010F818 D0 03 00 04 */ stfs f0, 4(r3) -/* 801128BC 0010F81C 48 00 00 4C */ b lbl_80112908 -lbl_801128C0: -/* 801128C0 0010F820 7F 43 D3 78 */ mr r3, r26 -/* 801128C4 0010F824 4B FF F5 5D */ bl FindEmptyInactiveScanTarget__12CPlayerVisorCFv -/* 801128C8 0010F828 2C 03 FF FF */ cmpwi r3, -1 -/* 801128CC 0010F82C 41 82 00 3C */ beq lbl_80112908 -/* 801128D0 0010F830 A0 9E 00 00 */ lhz r4, 0(r30) -/* 801128D4 0010F834 54 60 20 36 */ slwi r0, r3, 4 -/* 801128D8 0010F838 7C 7C 02 14 */ add r3, r28, r0 -/* 801128DC 0010F83C C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 801128E0 0010F840 B0 83 00 00 */ sth r4, 0(r3) -/* 801128E4 0010F844 38 00 00 00 */ li r0, 0 -/* 801128E8 0010F848 D3 C3 00 04 */ stfs f30, 4(r3) -/* 801128EC 0010F84C D0 03 00 08 */ stfs f0, 8(r3) -/* 801128F0 0010F850 B0 81 00 08 */ sth r4, 8(r1) -/* 801128F4 0010F854 B0 81 00 48 */ sth r4, 0x48(r1) -/* 801128F8 0010F858 D3 C1 00 4C */ stfs f30, 0x4c(r1) -/* 801128FC 0010F85C D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80112900 0010F860 98 01 00 54 */ stb r0, 0x54(r1) -/* 80112904 0010F864 98 03 00 0C */ stb r0, 0xc(r3) -lbl_80112908: -/* 80112908 0010F868 3B DE 00 02 */ addi r30, r30, 2 -lbl_8011290C: -/* 8011290C 0010F86C 80 1F 03 48 */ lwz r0, 0x348(r31) -/* 80112910 0010F870 80 7F 03 50 */ lwz r3, 0x350(r31) -/* 80112914 0010F874 54 00 08 3C */ slwi r0, r0, 1 -/* 80112918 0010F878 7C 03 02 14 */ add r0, r3, r0 -/* 8011291C 0010F87C 7C 1E 00 40 */ cmplw r30, r0 -/* 80112920 0010F880 40 82 FE EC */ bne lbl_8011280C -/* 80112924 0010F884 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 80112928 0010F888 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8011292C 0010F88C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 80112930 0010F890 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 80112934 0010F894 BB 21 00 A4 */ lmw r25, 0xa4(r1) -/* 80112938 0010F898 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8011293C 0010F89C 7C 08 03 A6 */ mtlr r0 -/* 80112940 0010F8A0 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80112944 0010F8A4 4E 80 00 20 */ blr - -.global UpdateScanWindow__12CPlayerVisorFfRC13CStateManager -UpdateScanWindow__12CPlayerVisorFfRC13CStateManager: -/* 80112948 0010F8A8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8011294C 0010F8AC 7C 08 02 A6 */ mflr r0 -/* 80112950 0010F8B0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80112954 0010F8B4 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80112958 0010F8B8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8011295C 0010F8BC DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80112960 0010F8C0 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80112964 0010F8C4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80112968 0010F8C8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8011296C 0010F8CC FF E0 08 90 */ fmr f31, f1 -/* 80112970 0010F8D0 7C 7F 1B 78 */ mr r31, r3 -/* 80112974 0010F8D4 7C 9E 23 78 */ mr r30, r4 -/* 80112978 0010F8D8 4B FF FB 91 */ bl UpdateScanObjectIndicators__12CPlayerVisorFRC13CStateManagerf -/* 8011297C 0010F8DC 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 80112980 0010F8E0 80 03 03 A8 */ lwz r0, 0x3a8(r3) -/* 80112984 0010F8E4 C3 C3 03 AC */ lfs f30, 0x3ac(r3) -/* 80112988 0010F8E8 2C 00 00 01 */ cmpwi r0, 1 -/* 8011298C 0010F8EC 40 82 00 40 */ bne lbl_801129CC -/* 80112990 0010F8F0 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80112994 0010F8F4 28 00 00 00 */ cmplwi r0, 0 -/* 80112998 0010F8F8 40 82 00 4C */ bne lbl_801129E4 -/* 8011299C 0010F8FC 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 801129A0 0010F900 38 61 00 18 */ addi r3, r1, 0x18 -/* 801129A4 0010F904 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 801129A8 0010F908 38 80 05 7F */ li r4, 0x57f -/* 801129AC 0010F90C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 801129B0 0010F910 38 C0 00 40 */ li r6, 0x40 -/* 801129B4 0010F914 38 E0 00 00 */ li r7, 0 -/* 801129B8 0010F918 39 20 00 01 */ li r9, 1 -/* 801129BC 0010F91C 48 1D 73 B9 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 801129C0 0010F920 80 01 00 18 */ lwz r0, 0x18(r1) -/* 801129C4 0010F924 90 1F 00 60 */ stw r0, 0x60(r31) -/* 801129C8 0010F928 48 00 00 1C */ b lbl_801129E4 -lbl_801129CC: -/* 801129CC 0010F92C 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 801129D0 0010F930 38 61 00 14 */ addi r3, r1, 0x14 -/* 801129D4 0010F934 90 01 00 14 */ stw r0, 0x14(r1) -/* 801129D8 0010F938 48 1D 73 71 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 801129DC 0010F93C 38 00 00 00 */ li r0, 0 -/* 801129E0 0010F940 90 1F 00 60 */ stw r0, 0x60(r31) -lbl_801129E4: -/* 801129E4 0010F944 D3 DF 00 28 */ stfs f30, 0x28(r31) -/* 801129E8 0010F948 7F E3 FB 78 */ mr r3, r31 -/* 801129EC 0010F94C 7F C4 F3 78 */ mr r4, r30 -/* 801129F0 0010F950 48 00 03 45 */ bl GetDesiredScanWindowState__12CPlayerVisorCFRC13CStateManager -/* 801129F4 0010F954 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 801129F8 0010F958 2C 00 00 01 */ cmpwi r0, 1 -/* 801129FC 0010F95C 41 82 00 B0 */ beq lbl_80112AAC -/* 80112A00 0010F960 40 80 00 10 */ bge lbl_80112A10 -/* 80112A04 0010F964 2C 00 00 00 */ cmpwi r0, 0 -/* 80112A08 0010F968 40 80 00 14 */ bge lbl_80112A1C -/* 80112A0C 0010F96C 48 00 02 04 */ b lbl_80112C10 -lbl_80112A10: -/* 80112A10 0010F970 2C 00 00 03 */ cmpwi r0, 3 -/* 80112A14 0010F974 40 80 01 FC */ bge lbl_80112C10 -/* 80112A18 0010F978 48 00 01 40 */ b lbl_80112B58 -lbl_80112A1C: -/* 80112A1C 0010F97C 2C 03 00 00 */ cmpwi r3, 0 -/* 80112A20 0010F980 41 82 01 F0 */ beq lbl_80112C10 -/* 80112A24 0010F984 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 80112A28 0010F988 2C 00 00 00 */ cmpwi r0, 0 -/* 80112A2C 0010F98C 40 82 00 1C */ bne lbl_80112A48 -/* 80112A30 0010F990 54 60 18 38 */ slwi r0, r3, 3 -/* 80112A34 0010F994 7C 9F 02 14 */ add r4, r31, r0 -/* 80112A38 0010F998 C0 04 00 04 */ lfs f0, 4(r4) -/* 80112A3C 0010F99C D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 80112A40 0010F9A0 C0 04 00 08 */ lfs f0, 8(r4) -/* 80112A44 0010F9A4 D0 1F 00 4C */ stfs f0, 0x4c(r31) -lbl_80112A48: -/* 80112A48 0010F9A8 54 60 18 38 */ slwi r0, r3, 3 -/* 80112A4C 0010F9AC 2C 03 00 02 */ cmpwi r3, 2 -/* 80112A50 0010F9B0 7C 9F 02 14 */ add r4, r31, r0 -/* 80112A54 0010F9B4 C0 04 00 04 */ lfs f0, 4(r4) -/* 80112A58 0010F9B8 D0 1F 00 50 */ stfs f0, 0x50(r31) -/* 80112A5C 0010F9BC C0 04 00 08 */ lfs f0, 8(r4) -/* 80112A60 0010F9C0 D0 1F 00 54 */ stfs f0, 0x54(r31) -/* 80112A64 0010F9C4 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 80112A68 0010F9C8 D0 1F 00 40 */ stfs f0, 0x40(r31) -/* 80112A6C 0010F9CC C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 80112A70 0010F9D0 D0 1F 00 44 */ stfs f0, 0x44(r31) -/* 80112A74 0010F9D4 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80112A78 0010F9D8 90 1F 00 30 */ stw r0, 0x30(r31) -/* 80112A7C 0010F9DC 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80112A80 0010F9E0 40 82 00 18 */ bne lbl_80112A98 -/* 80112A84 0010F9E4 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80112A88 0010F9E8 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 80112A8C 0010F9EC C0 23 02 28 */ lfs f1, 0x228(r3) -/* 80112A90 0010F9F0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80112A94 0010F9F4 48 00 00 08 */ b lbl_80112A9C -lbl_80112A98: -/* 80112A98 0010F9F8 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -lbl_80112A9C: -/* 80112A9C 0010F9FC D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 80112AA0 0010FA00 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80112AA4 0010FA04 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 80112AA8 0010FA08 48 00 01 68 */ b lbl_80112C10 -lbl_80112AAC: -/* 80112AAC 0010FA0C 2C 03 00 01 */ cmpwi r3, 1 -/* 80112AB0 0010FA10 41 82 01 60 */ beq lbl_80112C10 -/* 80112AB4 0010FA14 2C 03 00 00 */ cmpwi r3, 0 -/* 80112AB8 0010FA18 40 82 00 0C */ bne lbl_80112AC4 -/* 80112ABC 0010FA1C 38 9F 00 48 */ addi r4, r31, 0x48 -/* 80112AC0 0010FA20 48 00 00 10 */ b lbl_80112AD0 -lbl_80112AC4: -/* 80112AC4 0010FA24 54 60 18 38 */ slwi r0, r3, 3 -/* 80112AC8 0010FA28 7C 9F 02 14 */ add r4, r31, r0 -/* 80112ACC 0010FA2C 38 84 00 04 */ addi r4, r4, 4 -lbl_80112AD0: -/* 80112AD0 0010FA30 C0 04 00 00 */ lfs f0, 0(r4) -/* 80112AD4 0010FA34 2C 03 00 02 */ cmpwi r3, 2 -/* 80112AD8 0010FA38 D0 1F 00 50 */ stfs f0, 0x50(r31) -/* 80112ADC 0010FA3C C0 04 00 04 */ lfs f0, 4(r4) -/* 80112AE0 0010FA40 D0 1F 00 54 */ stfs f0, 0x54(r31) -/* 80112AE4 0010FA44 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 80112AE8 0010FA48 D0 1F 00 40 */ stfs f0, 0x40(r31) -/* 80112AEC 0010FA4C C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 80112AF0 0010FA50 D0 1F 00 44 */ stfs f0, 0x44(r31) -/* 80112AF4 0010FA54 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80112AF8 0010FA58 90 1F 00 30 */ stw r0, 0x30(r31) -/* 80112AFC 0010FA5C 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80112B00 0010FA60 40 82 00 18 */ bne lbl_80112B18 -/* 80112B04 0010FA64 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80112B08 0010FA68 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 80112B0C 0010FA6C C0 24 02 28 */ lfs f1, 0x228(r4) -/* 80112B10 0010FA70 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80112B14 0010FA74 48 00 00 08 */ b lbl_80112B1C -lbl_80112B18: -/* 80112B18 0010FA78 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -lbl_80112B1C: -/* 80112B1C 0010FA7C D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 80112B20 0010FA80 2C 03 00 02 */ cmpwi r3, 2 -/* 80112B24 0010FA84 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80112B28 0010FA88 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 80112B2C 0010FA8C 40 82 00 E4 */ bne lbl_80112C10 -/* 80112B30 0010FA90 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 80112B34 0010FA94 38 61 00 10 */ addi r3, r1, 0x10 -/* 80112B38 0010FA98 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80112B3C 0010FA9C 38 80 05 83 */ li r4, 0x583 -/* 80112B40 0010FAA0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80112B44 0010FAA4 38 C0 00 40 */ li r6, 0x40 -/* 80112B48 0010FAA8 38 E0 00 00 */ li r7, 0 -/* 80112B4C 0010FAAC 39 20 00 00 */ li r9, 0 -/* 80112B50 0010FAB0 48 1D 72 25 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80112B54 0010FAB4 48 00 00 BC */ b lbl_80112C10 -lbl_80112B58: -/* 80112B58 0010FAB8 2C 03 00 02 */ cmpwi r3, 2 -/* 80112B5C 0010FABC 41 82 00 B4 */ beq lbl_80112C10 -/* 80112B60 0010FAC0 2C 03 00 00 */ cmpwi r3, 0 -/* 80112B64 0010FAC4 40 82 00 0C */ bne lbl_80112B70 -/* 80112B68 0010FAC8 38 9F 00 48 */ addi r4, r31, 0x48 -/* 80112B6C 0010FACC 48 00 00 10 */ b lbl_80112B7C -lbl_80112B70: -/* 80112B70 0010FAD0 54 60 18 38 */ slwi r0, r3, 3 -/* 80112B74 0010FAD4 7C 9F 02 14 */ add r4, r31, r0 -/* 80112B78 0010FAD8 38 84 00 04 */ addi r4, r4, 4 -lbl_80112B7C: -/* 80112B7C 0010FADC C0 04 00 00 */ lfs f0, 0(r4) -/* 80112B80 0010FAE0 2C 03 00 01 */ cmpwi r3, 1 -/* 80112B84 0010FAE4 D0 1F 00 50 */ stfs f0, 0x50(r31) -/* 80112B88 0010FAE8 C0 04 00 04 */ lfs f0, 4(r4) -/* 80112B8C 0010FAEC D0 1F 00 54 */ stfs f0, 0x54(r31) -/* 80112B90 0010FAF0 C0 1F 00 48 */ lfs f0, 0x48(r31) -/* 80112B94 0010FAF4 D0 1F 00 40 */ stfs f0, 0x40(r31) -/* 80112B98 0010FAF8 C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 80112B9C 0010FAFC D0 1F 00 44 */ stfs f0, 0x44(r31) -/* 80112BA0 0010FB00 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80112BA4 0010FB04 90 1F 00 30 */ stw r0, 0x30(r31) -/* 80112BA8 0010FB08 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80112BAC 0010FB0C 40 82 00 18 */ bne lbl_80112BC4 -/* 80112BB0 0010FB10 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80112BB4 0010FB14 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 80112BB8 0010FB18 C0 23 02 28 */ lfs f1, 0x228(r3) -/* 80112BBC 0010FB1C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80112BC0 0010FB20 48 00 00 08 */ b lbl_80112BC8 -lbl_80112BC4: -/* 80112BC4 0010FB24 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -lbl_80112BC8: -/* 80112BC8 0010FB28 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 80112BCC 0010FB2C C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80112BD0 0010FB30 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 80112BD4 0010FB34 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80112BD8 0010FB38 80 63 00 00 */ lwz r3, 0(r3) -/* 80112BDC 0010FB3C 4B F7 EC 89 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 80112BE0 0010FB40 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 80112BE4 0010FB44 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80112BE8 0010FB48 40 82 00 28 */ bne lbl_80112C10 -/* 80112BEC 0010FB4C 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 80112BF0 0010FB50 38 61 00 0C */ addi r3, r1, 0xc -/* 80112BF4 0010FB54 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80112BF8 0010FB58 38 80 05 81 */ li r4, 0x581 -/* 80112BFC 0010FB5C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80112C00 0010FB60 38 C0 00 40 */ li r6, 0x40 -/* 80112C04 0010FB64 38 E0 00 00 */ li r7, 0 -/* 80112C08 0010FB68 39 20 00 00 */ li r9, 0 -/* 80112C0C 0010FB6C 48 1D 71 69 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_80112C10: -/* 80112C10 0010FB70 80 7F 00 30 */ lwz r3, 0x30(r31) -/* 80112C14 0010FB74 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80112C18 0010FB78 7C 03 00 00 */ cmpw r3, r0 -/* 80112C1C 0010FB7C 41 82 00 F0 */ beq lbl_80112D0C -/* 80112C20 0010FB80 C0 3F 00 3C */ lfs f1, 0x3c(r31) -/* 80112C24 0010FB84 C0 0D 8A 38 */ lfs f0, lbl_805A75F8@sda21(r13) -/* 80112C28 0010FB88 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 80112C2C 0010FB8C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80112C30 0010FB90 D0 21 00 08 */ stfs f1, 8(r1) -/* 80112C34 0010FB94 40 80 00 0C */ bge lbl_80112C40 -/* 80112C38 0010FB98 38 61 00 08 */ addi r3, r1, 8 -/* 80112C3C 0010FB9C 48 00 00 08 */ b lbl_80112C44 -lbl_80112C40: -/* 80112C40 0010FBA0 38 6D 8A 38 */ addi r3, r13, lbl_805A75F8@sda21 -lbl_80112C44: -/* 80112C44 0010FBA4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80112C48 0010FBA8 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80112C4C 0010FBAC D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 80112C50 0010FBB0 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 80112C54 0010FBB4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80112C58 0010FBB8 40 82 00 0C */ bne lbl_80112C64 -/* 80112C5C 0010FBBC 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80112C60 0010FBC0 90 1F 00 30 */ stw r0, 0x30(r31) -lbl_80112C64: -/* 80112C64 0010FBC4 C0 A2 95 C8 */ lfs f5, lbl_805AB2E8@sda21(r2) -/* 80112C68 0010FBC8 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80112C6C 0010FBCC FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 80112C70 0010FBD0 40 81 00 5C */ ble lbl_80112CCC -/* 80112C74 0010FBD4 80 1F 00 34 */ lwz r0, 0x34(r31) -/* 80112C78 0010FBD8 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80112C7C 0010FBDC 2C 00 00 02 */ cmpwi r0, 2 -/* 80112C80 0010FBE0 C0 23 02 24 */ lfs f1, 0x224(r3) -/* 80112C84 0010FBE4 C0 43 02 20 */ lfs f2, 0x220(r3) -/* 80112C88 0010FBE8 40 82 00 28 */ bne lbl_80112CB0 -/* 80112C8C 0010FBEC C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 80112C90 0010FBF0 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80112C94 0010FBF4 40 80 00 0C */ bge lbl_80112CA0 -/* 80112C98 0010FBF8 FC 00 28 90 */ fmr f0, f5 -/* 80112C9C 0010FBFC 48 00 00 0C */ b lbl_80112CA8 -lbl_80112CA0: -/* 80112CA0 0010FC00 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80112CA4 0010FC04 EC 00 08 24 */ fdivs f0, f0, f1 -lbl_80112CA8: -/* 80112CA8 0010FC08 FC A0 00 90 */ fmr f5, f0 -/* 80112CAC 0010FC0C 48 00 00 20 */ b lbl_80112CCC -lbl_80112CB0: -/* 80112CB0 0010FC10 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 80112CB4 0010FC14 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80112CB8 0010FC18 40 81 00 0C */ ble lbl_80112CC4 -/* 80112CBC 0010FC1C C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 80112CC0 0010FC20 48 00 00 08 */ b lbl_80112CC8 -lbl_80112CC4: -/* 80112CC4 0010FC24 EC 00 08 24 */ fdivs f0, f0, f1 -lbl_80112CC8: -/* 80112CC8 0010FC28 FC A0 00 90 */ fmr f5, f0 -lbl_80112CCC: -/* 80112CCC 0010FC2C C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) -/* 80112CD0 0010FC30 38 61 00 1C */ addi r3, r1, 0x1c -/* 80112CD4 0010FC34 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80112CD8 0010FC38 C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 80112CDC 0010FC3C EC 82 28 28 */ fsubs f4, f2, f5 -/* 80112CE0 0010FC40 EC 21 01 72 */ fmuls f1, f1, f5 -/* 80112CE4 0010FC44 C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 80112CE8 0010FC48 EC 00 01 72 */ fmuls f0, f0, f5 -/* 80112CEC 0010FC4C C0 5F 00 54 */ lfs f2, 0x54(r31) -/* 80112CF0 0010FC50 EC 23 09 3A */ fmadds f1, f3, f4, f1 -/* 80112CF4 0010FC54 EC 42 01 3A */ fmadds f2, f2, f4, f0 -/* 80112CF8 0010FC58 48 20 15 09 */ bl __ct__9CVector2fFff -/* 80112CFC 0010FC5C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80112D00 0010FC60 D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 80112D04 0010FC64 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80112D08 0010FC68 D0 1F 00 4C */ stfs f0, 0x4c(r31) -lbl_80112D0C: -/* 80112D0C 0010FC6C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80112D10 0010FC70 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80112D14 0010FC74 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80112D18 0010FC78 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80112D1C 0010FC7C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80112D20 0010FC80 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80112D24 0010FC84 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80112D28 0010FC88 7C 08 03 A6 */ mtlr r0 -/* 80112D2C 0010FC8C 38 21 00 50 */ addi r1, r1, 0x50 -/* 80112D30 0010FC90 4E 80 00 20 */ blr - -.global GetDesiredScanWindowState__12CPlayerVisorCFRC13CStateManager -GetDesiredScanWindowState__12CPlayerVisorCFRC13CStateManager: -/* 80112D34 0010FC94 80 A4 08 B8 */ lwz r5, 0x8b8(r4) -/* 80112D38 0010FC98 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 80112D3C 0010FC9C 80 85 00 00 */ lwz r4, 0(r5) -/* 80112D40 0010FCA0 80 63 03 A8 */ lwz r3, 0x3a8(r3) -/* 80112D44 0010FCA4 80 04 00 14 */ lwz r0, 0x14(r4) -/* 80112D48 0010FCA8 2C 00 00 02 */ cmpwi r0, 2 -/* 80112D4C 0010FCAC 40 82 00 24 */ bne lbl_80112D70 -/* 80112D50 0010FCB0 2C 03 00 01 */ cmpwi r3, 1 -/* 80112D54 0010FCB4 41 82 00 0C */ beq lbl_80112D60 -/* 80112D58 0010FCB8 2C 03 00 02 */ cmpwi r3, 2 -/* 80112D5C 0010FCBC 40 82 00 0C */ bne lbl_80112D68 -lbl_80112D60: -/* 80112D60 0010FCC0 38 60 00 02 */ li r3, 2 -/* 80112D64 0010FCC4 4E 80 00 20 */ blr -lbl_80112D68: -/* 80112D68 0010FCC8 38 60 00 01 */ li r3, 1 -/* 80112D6C 0010FCCC 4E 80 00 20 */ blr -lbl_80112D70: -/* 80112D70 0010FCD0 38 60 00 00 */ li r3, 0 -/* 80112D74 0010FCD4 4E 80 00 20 */ blr - -.global LockUnlockAssets__12CPlayerVisorFQ212CPlayerState12EPlayerVisorQ212CPlayerState12EPlayerVisor -LockUnlockAssets__12CPlayerVisorFQ212CPlayerState12EPlayerVisorQ212CPlayerState12EPlayerVisor: -/* 80112D78 0010FCD8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80112D7C 0010FCDC 7C 08 02 A6 */ mflr r0 -/* 80112D80 0010FCE0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80112D84 0010FCE4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80112D88 0010FCE8 7C 7F 1B 78 */ mr r31, r3 -/* 80112D8C 0010FCEC 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80112D90 0010FCF0 2C 00 00 02 */ cmpwi r0, 2 -/* 80112D94 0010FCF4 40 82 00 10 */ bne lbl_80112DA4 -/* 80112D98 0010FCF8 38 00 00 02 */ li r0, 2 -/* 80112D9C 0010FCFC 90 1F 01 20 */ stw r0, 0x120(r31) -/* 80112DA0 0010FD00 48 00 00 10 */ b lbl_80112DB0 -lbl_80112DA4: -/* 80112DA4 0010FD04 80 7F 01 20 */ lwz r3, 0x120(r31) -/* 80112DA8 0010FD08 38 03 FF FF */ addi r0, r3, -1 -/* 80112DAC 0010FD0C 90 1F 01 20 */ stw r0, 0x120(r31) -lbl_80112DB0: -/* 80112DB0 0010FD10 80 1F 01 20 */ lwz r0, 0x120(r31) -/* 80112DB4 0010FD14 2C 00 00 00 */ cmpwi r0, 0 -/* 80112DB8 0010FD18 40 81 02 48 */ ble lbl_80113000 -/* 80112DBC 0010FD1C 38 7F 00 CC */ addi r3, r31, 0xcc -/* 80112DC0 0010FD20 48 22 DF C5 */ bl Lock__6CTokenFv -/* 80112DC4 0010FD24 38 7F 00 D8 */ addi r3, r31, 0xd8 -/* 80112DC8 0010FD28 48 22 DF BD */ bl Lock__6CTokenFv -/* 80112DCC 0010FD2C 38 7F 00 E4 */ addi r3, r31, 0xe4 -/* 80112DD0 0010FD30 48 22 DF B5 */ bl Lock__6CTokenFv -/* 80112DD4 0010FD34 38 7F 00 F0 */ addi r3, r31, 0xf0 -/* 80112DD8 0010FD38 48 22 DF AD */ bl Lock__6CTokenFv -/* 80112DDC 0010FD3C 38 7F 00 FC */ addi r3, r31, 0xfc -/* 80112DE0 0010FD40 48 22 DF A5 */ bl Lock__6CTokenFv -/* 80112DE4 0010FD44 38 7F 01 08 */ addi r3, r31, 0x108 -/* 80112DE8 0010FD48 48 22 DF 9D */ bl Lock__6CTokenFv -/* 80112DEC 0010FD4C 38 7F 01 14 */ addi r3, r31, 0x114 -/* 80112DF0 0010FD50 48 22 DF 95 */ bl Lock__6CTokenFv -/* 80112DF4 0010FD54 38 7F 01 24 */ addi r3, r31, 0x124 -/* 80112DF8 0010FD58 48 22 DF 8D */ bl Lock__6CTokenFv -/* 80112DFC 0010FD5C 38 7F 01 30 */ addi r3, r31, 0x130 -/* 80112E00 0010FD60 48 22 DF 85 */ bl Lock__6CTokenFv -/* 80112E04 0010FD64 80 1F 00 D4 */ lwz r0, 0xd4(r31) -/* 80112E08 0010FD68 28 00 00 00 */ cmplwi r0, 0 -/* 80112E0C 0010FD6C 40 82 00 30 */ bne lbl_80112E3C -/* 80112E10 0010FD70 88 1F 00 D0 */ lbz r0, 0xd0(r31) -/* 80112E14 0010FD74 28 00 00 00 */ cmplwi r0, 0 -/* 80112E18 0010FD78 41 82 00 24 */ beq lbl_80112E3C -/* 80112E1C 0010FD7C 80 7F 00 CC */ lwz r3, 0xcc(r31) -/* 80112E20 0010FD80 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80112E24 0010FD84 28 00 00 00 */ cmplwi r0, 0 -/* 80112E28 0010FD88 41 82 00 14 */ beq lbl_80112E3C -/* 80112E2C 0010FD8C 38 7F 00 CC */ addi r3, r31, 0xcc -/* 80112E30 0010FD90 48 22 DF DD */ bl GetObj__6CTokenFv -/* 80112E34 0010FD94 80 03 00 04 */ lwz r0, 4(r3) -/* 80112E38 0010FD98 90 1F 00 D4 */ stw r0, 0xd4(r31) -lbl_80112E3C: -/* 80112E3C 0010FD9C 80 1F 00 E0 */ lwz r0, 0xe0(r31) -/* 80112E40 0010FDA0 28 00 00 00 */ cmplwi r0, 0 -/* 80112E44 0010FDA4 40 82 00 30 */ bne lbl_80112E74 -/* 80112E48 0010FDA8 88 1F 00 DC */ lbz r0, 0xdc(r31) -/* 80112E4C 0010FDAC 28 00 00 00 */ cmplwi r0, 0 -/* 80112E50 0010FDB0 41 82 00 24 */ beq lbl_80112E74 -/* 80112E54 0010FDB4 80 7F 00 D8 */ lwz r3, 0xd8(r31) -/* 80112E58 0010FDB8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80112E5C 0010FDBC 28 00 00 00 */ cmplwi r0, 0 -/* 80112E60 0010FDC0 41 82 00 14 */ beq lbl_80112E74 -/* 80112E64 0010FDC4 38 7F 00 D8 */ addi r3, r31, 0xd8 -/* 80112E68 0010FDC8 48 22 DF A5 */ bl GetObj__6CTokenFv -/* 80112E6C 0010FDCC 80 03 00 04 */ lwz r0, 4(r3) -/* 80112E70 0010FDD0 90 1F 00 E0 */ stw r0, 0xe0(r31) -lbl_80112E74: -/* 80112E74 0010FDD4 80 1F 00 EC */ lwz r0, 0xec(r31) -/* 80112E78 0010FDD8 28 00 00 00 */ cmplwi r0, 0 -/* 80112E7C 0010FDDC 40 82 00 30 */ bne lbl_80112EAC -/* 80112E80 0010FDE0 88 1F 00 E8 */ lbz r0, 0xe8(r31) -/* 80112E84 0010FDE4 28 00 00 00 */ cmplwi r0, 0 -/* 80112E88 0010FDE8 41 82 00 24 */ beq lbl_80112EAC -/* 80112E8C 0010FDEC 80 7F 00 E4 */ lwz r3, 0xe4(r31) -/* 80112E90 0010FDF0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80112E94 0010FDF4 28 00 00 00 */ cmplwi r0, 0 -/* 80112E98 0010FDF8 41 82 00 14 */ beq lbl_80112EAC -/* 80112E9C 0010FDFC 38 7F 00 E4 */ addi r3, r31, 0xe4 -/* 80112EA0 0010FE00 48 22 DF 6D */ bl GetObj__6CTokenFv -/* 80112EA4 0010FE04 80 03 00 04 */ lwz r0, 4(r3) -/* 80112EA8 0010FE08 90 1F 00 EC */ stw r0, 0xec(r31) -lbl_80112EAC: -/* 80112EAC 0010FE0C 80 1F 00 F8 */ lwz r0, 0xf8(r31) -/* 80112EB0 0010FE10 28 00 00 00 */ cmplwi r0, 0 -/* 80112EB4 0010FE14 40 82 00 30 */ bne lbl_80112EE4 -/* 80112EB8 0010FE18 88 1F 00 F4 */ lbz r0, 0xf4(r31) -/* 80112EBC 0010FE1C 28 00 00 00 */ cmplwi r0, 0 -/* 80112EC0 0010FE20 41 82 00 24 */ beq lbl_80112EE4 -/* 80112EC4 0010FE24 80 7F 00 F0 */ lwz r3, 0xf0(r31) -/* 80112EC8 0010FE28 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80112ECC 0010FE2C 28 00 00 00 */ cmplwi r0, 0 -/* 80112ED0 0010FE30 41 82 00 14 */ beq lbl_80112EE4 -/* 80112ED4 0010FE34 38 7F 00 F0 */ addi r3, r31, 0xf0 -/* 80112ED8 0010FE38 48 22 DF 35 */ bl GetObj__6CTokenFv -/* 80112EDC 0010FE3C 80 03 00 04 */ lwz r0, 4(r3) -/* 80112EE0 0010FE40 90 1F 00 F8 */ stw r0, 0xf8(r31) -lbl_80112EE4: -/* 80112EE4 0010FE44 80 1F 01 04 */ lwz r0, 0x104(r31) -/* 80112EE8 0010FE48 28 00 00 00 */ cmplwi r0, 0 -/* 80112EEC 0010FE4C 40 82 00 30 */ bne lbl_80112F1C -/* 80112EF0 0010FE50 88 1F 01 00 */ lbz r0, 0x100(r31) -/* 80112EF4 0010FE54 28 00 00 00 */ cmplwi r0, 0 -/* 80112EF8 0010FE58 41 82 00 24 */ beq lbl_80112F1C -/* 80112EFC 0010FE5C 80 7F 00 FC */ lwz r3, 0xfc(r31) -/* 80112F00 0010FE60 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80112F04 0010FE64 28 00 00 00 */ cmplwi r0, 0 -/* 80112F08 0010FE68 41 82 00 14 */ beq lbl_80112F1C -/* 80112F0C 0010FE6C 38 7F 00 FC */ addi r3, r31, 0xfc -/* 80112F10 0010FE70 48 22 DE FD */ bl GetObj__6CTokenFv -/* 80112F14 0010FE74 80 03 00 04 */ lwz r0, 4(r3) -/* 80112F18 0010FE78 90 1F 01 04 */ stw r0, 0x104(r31) -lbl_80112F1C: -/* 80112F1C 0010FE7C 80 1F 01 10 */ lwz r0, 0x110(r31) -/* 80112F20 0010FE80 28 00 00 00 */ cmplwi r0, 0 -/* 80112F24 0010FE84 40 82 00 30 */ bne lbl_80112F54 -/* 80112F28 0010FE88 88 1F 01 0C */ lbz r0, 0x10c(r31) -/* 80112F2C 0010FE8C 28 00 00 00 */ cmplwi r0, 0 -/* 80112F30 0010FE90 41 82 00 24 */ beq lbl_80112F54 -/* 80112F34 0010FE94 80 7F 01 08 */ lwz r3, 0x108(r31) -/* 80112F38 0010FE98 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80112F3C 0010FE9C 28 00 00 00 */ cmplwi r0, 0 -/* 80112F40 0010FEA0 41 82 00 14 */ beq lbl_80112F54 -/* 80112F44 0010FEA4 38 7F 01 08 */ addi r3, r31, 0x108 -/* 80112F48 0010FEA8 48 22 DE C5 */ bl GetObj__6CTokenFv -/* 80112F4C 0010FEAC 80 03 00 04 */ lwz r0, 4(r3) -/* 80112F50 0010FEB0 90 1F 01 10 */ stw r0, 0x110(r31) -lbl_80112F54: -/* 80112F54 0010FEB4 80 1F 01 1C */ lwz r0, 0x11c(r31) -/* 80112F58 0010FEB8 28 00 00 00 */ cmplwi r0, 0 -/* 80112F5C 0010FEBC 40 82 00 30 */ bne lbl_80112F8C -/* 80112F60 0010FEC0 88 1F 01 18 */ lbz r0, 0x118(r31) -/* 80112F64 0010FEC4 28 00 00 00 */ cmplwi r0, 0 -/* 80112F68 0010FEC8 41 82 00 24 */ beq lbl_80112F8C -/* 80112F6C 0010FECC 80 7F 01 14 */ lwz r3, 0x114(r31) -/* 80112F70 0010FED0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80112F74 0010FED4 28 00 00 00 */ cmplwi r0, 0 -/* 80112F78 0010FED8 41 82 00 14 */ beq lbl_80112F8C -/* 80112F7C 0010FEDC 38 7F 01 14 */ addi r3, r31, 0x114 -/* 80112F80 0010FEE0 48 22 DE 8D */ bl GetObj__6CTokenFv -/* 80112F84 0010FEE4 80 03 00 04 */ lwz r0, 4(r3) -/* 80112F88 0010FEE8 90 1F 01 1C */ stw r0, 0x11c(r31) -lbl_80112F8C: -/* 80112F8C 0010FEEC 80 1F 01 2C */ lwz r0, 0x12c(r31) -/* 80112F90 0010FEF0 28 00 00 00 */ cmplwi r0, 0 -/* 80112F94 0010FEF4 40 82 00 30 */ bne lbl_80112FC4 -/* 80112F98 0010FEF8 88 1F 01 28 */ lbz r0, 0x128(r31) -/* 80112F9C 0010FEFC 28 00 00 00 */ cmplwi r0, 0 -/* 80112FA0 0010FF00 41 82 00 24 */ beq lbl_80112FC4 -/* 80112FA4 0010FF04 80 7F 01 24 */ lwz r3, 0x124(r31) -/* 80112FA8 0010FF08 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80112FAC 0010FF0C 28 00 00 00 */ cmplwi r0, 0 -/* 80112FB0 0010FF10 41 82 00 14 */ beq lbl_80112FC4 -/* 80112FB4 0010FF14 38 7F 01 24 */ addi r3, r31, 0x124 -/* 80112FB8 0010FF18 48 22 DE 55 */ bl GetObj__6CTokenFv -/* 80112FBC 0010FF1C 80 03 00 04 */ lwz r0, 4(r3) -/* 80112FC0 0010FF20 90 1F 01 2C */ stw r0, 0x12c(r31) -lbl_80112FC4: -/* 80112FC4 0010FF24 80 1F 01 38 */ lwz r0, 0x138(r31) -/* 80112FC8 0010FF28 28 00 00 00 */ cmplwi r0, 0 -/* 80112FCC 0010FF2C 40 82 00 C4 */ bne lbl_80113090 -/* 80112FD0 0010FF30 88 1F 01 34 */ lbz r0, 0x134(r31) -/* 80112FD4 0010FF34 28 00 00 00 */ cmplwi r0, 0 -/* 80112FD8 0010FF38 41 82 00 B8 */ beq lbl_80113090 -/* 80112FDC 0010FF3C 80 7F 01 30 */ lwz r3, 0x130(r31) -/* 80112FE0 0010FF40 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80112FE4 0010FF44 28 00 00 00 */ cmplwi r0, 0 -/* 80112FE8 0010FF48 41 82 00 A8 */ beq lbl_80113090 -/* 80112FEC 0010FF4C 38 7F 01 30 */ addi r3, r31, 0x130 -/* 80112FF0 0010FF50 48 22 DE 1D */ bl GetObj__6CTokenFv -/* 80112FF4 0010FF54 80 03 00 04 */ lwz r0, 4(r3) -/* 80112FF8 0010FF58 90 1F 01 38 */ stw r0, 0x138(r31) -/* 80112FFC 0010FF5C 48 00 00 94 */ b lbl_80113090 -lbl_80113000: -/* 80113000 0010FF60 38 00 00 00 */ li r0, 0 -/* 80113004 0010FF64 38 7F 00 CC */ addi r3, r31, 0xcc -/* 80113008 0010FF68 90 1F 00 D4 */ stw r0, 0xd4(r31) -/* 8011300C 0010FF6C 48 22 DD 35 */ bl Unlock__6CTokenFv -/* 80113010 0010FF70 38 00 00 00 */ li r0, 0 -/* 80113014 0010FF74 38 7F 00 D8 */ addi r3, r31, 0xd8 -/* 80113018 0010FF78 90 1F 00 E0 */ stw r0, 0xe0(r31) -/* 8011301C 0010FF7C 48 22 DD 25 */ bl Unlock__6CTokenFv -/* 80113020 0010FF80 38 00 00 00 */ li r0, 0 -/* 80113024 0010FF84 38 7F 00 E4 */ addi r3, r31, 0xe4 -/* 80113028 0010FF88 90 1F 00 EC */ stw r0, 0xec(r31) -/* 8011302C 0010FF8C 48 22 DD 15 */ bl Unlock__6CTokenFv -/* 80113030 0010FF90 38 00 00 00 */ li r0, 0 -/* 80113034 0010FF94 38 7F 00 F0 */ addi r3, r31, 0xf0 -/* 80113038 0010FF98 90 1F 00 F8 */ stw r0, 0xf8(r31) -/* 8011303C 0010FF9C 48 22 DD 05 */ bl Unlock__6CTokenFv -/* 80113040 0010FFA0 38 00 00 00 */ li r0, 0 -/* 80113044 0010FFA4 38 7F 00 FC */ addi r3, r31, 0xfc -/* 80113048 0010FFA8 90 1F 01 04 */ stw r0, 0x104(r31) -/* 8011304C 0010FFAC 48 22 DC F5 */ bl Unlock__6CTokenFv -/* 80113050 0010FFB0 38 00 00 00 */ li r0, 0 -/* 80113054 0010FFB4 38 7F 01 08 */ addi r3, r31, 0x108 -/* 80113058 0010FFB8 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8011305C 0010FFBC 48 22 DC E5 */ bl Unlock__6CTokenFv -/* 80113060 0010FFC0 38 00 00 00 */ li r0, 0 -/* 80113064 0010FFC4 38 7F 01 14 */ addi r3, r31, 0x114 -/* 80113068 0010FFC8 90 1F 01 1C */ stw r0, 0x11c(r31) -/* 8011306C 0010FFCC 48 22 DC D5 */ bl Unlock__6CTokenFv -/* 80113070 0010FFD0 38 00 00 00 */ li r0, 0 -/* 80113074 0010FFD4 38 7F 01 24 */ addi r3, r31, 0x124 -/* 80113078 0010FFD8 90 1F 01 2C */ stw r0, 0x12c(r31) -/* 8011307C 0010FFDC 48 22 DC C5 */ bl Unlock__6CTokenFv -/* 80113080 0010FFE0 38 00 00 00 */ li r0, 0 -/* 80113084 0010FFE4 38 7F 01 30 */ addi r3, r31, 0x130 -/* 80113088 0010FFE8 90 1F 01 38 */ stw r0, 0x138(r31) -/* 8011308C 0010FFEC 48 22 DC B5 */ bl Unlock__6CTokenFv -lbl_80113090: -/* 80113090 0010FFF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80113094 0010FFF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80113098 0010FFF8 7C 08 03 A6 */ mtlr r0 -/* 8011309C 0010FFFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 801130A0 00110000 4E 80 00 20 */ blr - -.global DrawScanEffect__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager -DrawScanEffect__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager: -/* 801130A4 00110004 94 21 F6 80 */ stwu r1, -0x980(r1) -/* 801130A8 00110008 7C 08 02 A6 */ mflr r0 -/* 801130AC 0011000C 90 01 09 84 */ stw r0, 0x984(r1) -/* 801130B0 00110010 DB E1 09 70 */ stfd f31, 0x970(r1) -/* 801130B4 00110014 F3 E1 09 78 */ psq_st f31, -1672(r1), 0, qr0 -/* 801130B8 00110018 DB C1 09 60 */ stfd f30, 0x960(r1) -/* 801130BC 0011001C F3 C1 09 68 */ psq_st f30, -1688(r1), 0, qr0 -/* 801130C0 00110020 DB A1 09 50 */ stfd f29, 0x950(r1) -/* 801130C4 00110024 F3 A1 09 58 */ psq_st f29, -1704(r1), 0, qr0 -/* 801130C8 00110028 DB 81 09 40 */ stfd f28, 0x940(r1) -/* 801130CC 0011002C F3 81 09 48 */ psq_st f28, -1720(r1), 0, qr0 -/* 801130D0 00110030 DB 61 09 30 */ stfd f27, 0x930(r1) -/* 801130D4 00110034 F3 61 09 38 */ psq_st f27, -1736(r1), 0, qr0 -/* 801130D8 00110038 BF 61 09 1C */ stmw r27, 0x91c(r1) -/* 801130DC 0011003C 7C 7C 1B 78 */ mr r28, r3 -/* 801130E0 00110040 7C 9D 23 78 */ mr r29, r4 -/* 801130E4 00110044 7C BB 2B 78 */ mr r27, r5 -/* 801130E8 00110048 4B FF ED C1 */ bl DrawScanObjectIndicators__12CPlayerVisorCFRC13CStateManager -/* 801130EC 0011004C 28 1B 00 00 */ cmplwi r27, 0 -/* 801130F0 00110050 41 82 00 34 */ beq lbl_80113124 -/* 801130F4 00110054 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801130F8 00110058 41 82 00 2C */ beq lbl_80113124 -/* 801130FC 0011005C C0 22 96 18 */ lfs f1, lbl_805AB338@sda21(r2) -/* 80113100 00110060 FC 40 08 90 */ fmr f2, f1 -/* 80113104 00110064 48 1F 72 DD */ bl SetDepthRange__9CGraphicsFff -/* 80113108 00110068 7F 63 DB 78 */ mr r3, r27 -/* 8011310C 0011006C 7F A4 EB 78 */ mr r4, r29 -/* 80113110 00110070 38 A0 00 00 */ li r5, 0 -/* 80113114 00110074 4B FA 9A B9 */ bl Draw__17CTargetingManagerCFRC13CStateManager -/* 80113118 00110078 C0 22 95 EC */ lfs f1, lbl_805AB30C@sda21(r2) -/* 8011311C 0011007C C0 42 95 F0 */ lfs f2, lbl_805AB310@sda21(r2) -/* 80113120 00110080 48 1F 72 C1 */ bl SetDepthRange__9CGraphicsFff -lbl_80113124: -/* 80113124 00110084 3C 80 80 3F */ lis r4, lbl_803ED910@ha -/* 80113128 00110088 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 8011312C 0011008C 38 A4 D9 10 */ addi r5, r4, lbl_803ED910@l -/* 80113130 00110090 80 85 00 08 */ lwz r4, 8(r5) -/* 80113134 00110094 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80113138 00110098 90 81 00 30 */ stw r4, 0x30(r1) -/* 8011313C 0011009C 83 E5 00 00 */ lwz r31, 0(r5) -/* 80113140 001100A0 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80113144 001100A4 83 C5 00 04 */ lwz r30, 4(r5) -/* 80113148 001100A8 80 63 00 00 */ lwz r3, 0(r3) -/* 8011314C 001100AC 4B F7 E7 19 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 80113150 001100B0 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 80113154 001100B4 FF E0 08 90 */ fmr f31, f1 -/* 80113158 001100B8 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 8011315C 001100BC 2C 00 00 02 */ cmpwi r0, 2 -/* 80113160 001100C0 C0 23 02 24 */ lfs f1, 0x224(r3) -/* 80113164 001100C4 C0 43 02 20 */ lfs f2, 0x220(r3) -/* 80113168 001100C8 40 82 00 2C */ bne lbl_80113194 -/* 8011316C 001100CC C0 1C 00 3C */ lfs f0, 0x3c(r28) -/* 80113170 001100D0 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80113174 001100D4 40 80 00 0C */ bge lbl_80113180 -/* 80113178 001100D8 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 8011317C 001100DC 48 00 00 0C */ b lbl_80113188 -lbl_80113180: -/* 80113180 001100E0 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80113184 001100E4 EC 20 08 24 */ fdivs f1, f0, f1 -lbl_80113188: -/* 80113188 001100E8 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 8011318C 001100EC EC 20 08 28 */ fsubs f1, f0, f1 -/* 80113190 001100F0 48 00 00 20 */ b lbl_801131B0 -lbl_80113194: -/* 80113194 001100F4 C0 1C 00 3C */ lfs f0, 0x3c(r28) -/* 80113198 001100F8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8011319C 001100FC 40 81 00 0C */ ble lbl_801131A8 -/* 801131A0 00110100 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 801131A4 00110104 48 00 00 08 */ b lbl_801131AC -lbl_801131A8: -/* 801131A8 00110108 EC 00 08 24 */ fdivs f0, f0, f1 -lbl_801131AC: -/* 801131AC 0011010C FC 20 00 90 */ fmr f1, f0 -lbl_801131B0: -/* 801131B0 00110110 C0 82 95 D0 */ lfs f4, lbl_805AB2F0@sda21(r2) -/* 801131B4 00110114 38 81 00 20 */ addi r4, r1, 0x20 -/* 801131B8 00110118 C0 03 02 6C */ lfs f0, 0x26c(r3) -/* 801131BC 0011011C 38 A1 00 30 */ addi r5, r1, 0x30 -/* 801131C0 00110120 EC A4 08 28 */ fsubs f5, f4, f1 -/* 801131C4 00110124 C0 7C 00 58 */ lfs f3, 0x58(r28) -/* 801131C8 00110128 EC 41 00 32 */ fmuls f2, f1, f0 -/* 801131CC 0011012C C0 22 96 20 */ lfs f1, lbl_805AB340@sda21(r2) -/* 801131D0 00110130 C0 1C 00 48 */ lfs f0, 0x48(r28) -/* 801131D4 00110134 EC 84 F8 28 */ fsubs f4, f4, f31 -/* 801131D8 00110138 EC A5 10 FA */ fmadds f5, f5, f3, f2 -/* 801131DC 0011013C C0 62 96 1C */ lfs f3, lbl_805AB33C@sda21(r2) -/* 801131E0 00110140 C0 5C 00 4C */ lfs f2, 0x4c(r28) -/* 801131E4 00110144 EC 01 00 32 */ fmuls f0, f1, f0 -/* 801131E8 00110148 38 62 96 14 */ addi r3, r2, lbl_805AB334@sda21 -/* 801131EC 0011014C EF 9F 21 7A */ fmadds f28, f31, f5, f4 -/* 801131F0 00110150 EF 63 00 B2 */ fmuls f27, f3, f2 -/* 801131F4 00110154 EC 00 E0 24 */ fdivs f0, f0, f28 -/* 801131F8 00110158 FC 00 00 1E */ fctiwz f0, f0 -/* 801131FC 0011015C D8 01 09 08 */ stfd f0, 0x908(r1) -/* 80113200 00110160 80 C1 09 0C */ lwz r6, 0x90c(r1) -/* 80113204 00110164 38 06 00 03 */ addi r0, r6, 3 -/* 80113208 00110168 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8011320C 0011016C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80113210 00110170 4B F4 6E 55 */ bl "Clamp__5CMathFRCiRCiRCi" -/* 80113214 00110174 EC 1B E0 24 */ fdivs f0, f27, f28 -/* 80113218 00110178 83 A3 00 00 */ lwz r29, 0(r3) -/* 8011321C 0011017C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80113220 00110180 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80113224 00110184 38 62 96 14 */ addi r3, r2, lbl_805AB334@sda21 -/* 80113228 00110188 FC 00 00 1E */ fctiwz f0, f0 -/* 8011322C 0011018C D8 01 09 10 */ stfd f0, 0x910(r1) -/* 80113230 00110190 80 C1 09 14 */ lwz r6, 0x914(r1) -/* 80113234 00110194 38 06 00 03 */ addi r0, r6, 3 -/* 80113238 00110198 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d -/* 8011323C 0011019C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80113240 001101A0 4B F4 6E 25 */ bl "Clamp__5CMathFRCiRCiRCi" -/* 80113244 001101A4 80 81 00 30 */ lwz r4, 0x30(r1) -/* 80113248 001101A8 57 A5 04 3E */ clrlwi r5, r29, 0x10 -/* 8011324C 001101AC 83 63 00 00 */ lwz r27, 0(r3) -/* 80113250 001101B0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80113254 001101B4 7C FD 20 50 */ subf r7, r29, r4 -/* 80113258 001101B8 54 E4 0F FE */ srwi r4, r7, 0x1f -/* 8011325C 001101BC 57 66 04 3E */ clrlwi r6, r27, 0x10 -/* 80113260 001101C0 7C 7B 00 50 */ subf r3, r27, r0 -/* 80113264 001101C4 7C 84 3A 14 */ add r4, r4, r7 -/* 80113268 001101C8 54 60 0F FE */ srwi r0, r3, 0x1f -/* 8011326C 001101CC 7C 84 0E 70 */ srawi r4, r4, 1 -/* 80113270 001101D0 7C 00 1A 14 */ add r0, r0, r3 -/* 80113274 001101D4 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80113278 001101D8 7C 7F 22 14 */ add r3, r31, r4 -/* 8011327C 001101DC 7C 1E 02 14 */ add r0, r30, r0 -/* 80113280 001101E0 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 80113284 001101E4 54 04 04 3E */ clrlwi r4, r0, 0x10 -/* 80113288 001101E8 48 26 5B 2D */ bl GXSetTexCopySrc -/* 8011328C 001101EC 83 CD A8 28 */ lwz r30, lbl_805A93E8@sda21(r13) -/* 80113290 001101F0 57 A3 04 3E */ clrlwi r3, r29, 0x10 -/* 80113294 001101F4 57 64 04 3E */ clrlwi r4, r27, 0x10 -/* 80113298 001101F8 38 A0 00 04 */ li r5, 4 -/* 8011329C 001101FC 38 C0 00 00 */ li r6, 0 -/* 801132A0 00110200 48 26 5B E1 */ bl GXSetTexCopyDst -/* 801132A4 00110204 7F C3 F3 78 */ mr r3, r30 -/* 801132A8 00110208 38 80 00 00 */ li r4, 0 -/* 801132AC 0011020C 48 26 62 89 */ bl GXCopyTex -/* 801132B0 00110210 48 26 52 B5 */ bl GXPixModeSync -/* 801132B4 00110214 38 7C 00 64 */ addi r3, r28, 0x64 -/* 801132B8 00110218 4B FD 8F D9 */ bl Draw__17CCameraFilterPassCFv -/* 801132BC 0011021C 80 8D A0 68 */ lwz r4, gpRender@sda21(r13) -/* 801132C0 00110220 38 61 00 84 */ addi r3, r1, 0x84 -/* 801132C4 00110224 C0 22 96 24 */ lfs f1, lbl_805AB344@sda21(r2) -/* 801132C8 00110228 38 A0 00 01 */ li r5, 1 -/* 801132CC 0011022C 81 84 00 00 */ lwz r12, 0(r4) -/* 801132D0 00110230 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) -/* 801132D4 00110234 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 801132D8 00110238 7D 89 03 A6 */ mtctr r12 -/* 801132DC 0011023C 4E 80 04 21 */ bctrl -/* 801132E0 00110240 C0 3C 00 48 */ lfs f1, 0x48(r28) -/* 801132E4 00110244 38 61 06 F4 */ addi r3, r1, 0x6f4 -/* 801132E8 00110248 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) -/* 801132EC 0011024C C0 7C 00 4C */ lfs f3, 0x4c(r28) -/* 801132F0 00110250 48 1F FF 19 */ bl Scale__12CTransform4fFfff -/* 801132F4 00110254 38 61 08 D4 */ addi r3, r1, 0x8d4 -/* 801132F8 00110258 38 81 06 F4 */ addi r4, r1, 0x6f4 -/* 801132FC 0011025C 48 1F F8 79 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80113300 00110260 C0 22 95 D8 */ lfs f1, lbl_805AB2F8@sda21(r2) -/* 80113304 00110264 38 61 06 C4 */ addi r3, r1, 0x6c4 -/* 80113308 00110268 C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) -/* 8011330C 0011026C FC 60 08 90 */ fmr f3, f1 -/* 80113310 00110270 48 1F FE F9 */ bl Scale__12CTransform4fFfff -/* 80113314 00110274 38 61 08 A4 */ addi r3, r1, 0x8a4 -/* 80113318 00110278 38 81 06 C4 */ addi r4, r1, 0x6c4 -/* 8011331C 0011027C 48 1F F8 59 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80113320 00110280 38 61 06 94 */ addi r3, r1, 0x694 -/* 80113324 00110284 38 81 08 A4 */ addi r4, r1, 0x8a4 -/* 80113328 00110288 38 A1 08 D4 */ addi r5, r1, 0x8d4 -/* 8011332C 0011028C 48 1F F6 25 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113330 00110290 38 61 08 74 */ addi r3, r1, 0x874 -/* 80113334 00110294 38 81 06 94 */ addi r4, r1, 0x694 -/* 80113338 00110298 48 1F F8 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011333C 0011029C C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) -/* 80113340 001102A0 38 61 06 64 */ addi r3, r1, 0x664 -/* 80113344 001102A4 C0 62 96 24 */ lfs f3, lbl_805AB344@sda21(r2) -/* 80113348 001102A8 FC 40 08 90 */ fmr f2, f1 -/* 8011334C 001102AC 48 1F FE BD */ bl Scale__12CTransform4fFfff -/* 80113350 001102B0 38 61 08 44 */ addi r3, r1, 0x844 -/* 80113354 001102B4 38 81 06 64 */ addi r4, r1, 0x664 -/* 80113358 001102B8 48 1F F8 1D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011335C 001102BC C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) -/* 80113360 001102C0 38 61 06 34 */ addi r3, r1, 0x634 -/* 80113364 001102C4 C0 22 96 24 */ lfs f1, lbl_805AB344@sda21(r2) -/* 80113368 001102C8 FC 60 10 90 */ fmr f3, f2 -/* 8011336C 001102CC 48 1F FE 9D */ bl Scale__12CTransform4fFfff -/* 80113370 001102D0 38 61 08 14 */ addi r3, r1, 0x814 -/* 80113374 001102D4 38 81 06 34 */ addi r4, r1, 0x634 -/* 80113378 001102D8 48 1F F7 FD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011337C 001102DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113380 001102E0 38 81 08 74 */ addi r4, r1, 0x874 -/* 80113384 001102E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80113388 001102E8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8011338C 001102EC 7D 89 03 A6 */ mtctr r12 -/* 80113390 001102F0 4E 80 04 21 */ bctrl -/* 80113394 001102F4 7F A3 EB 78 */ mr r3, r29 -/* 80113398 001102F8 7F 64 DB 78 */ mr r4, r27 -/* 8011339C 001102FC 7F C6 F3 78 */ mr r6, r30 -/* 801133A0 00110300 38 A0 00 04 */ li r5, 4 -/* 801133A4 00110304 38 E0 00 00 */ li r7, 0 -/* 801133A8 00110308 48 1F 6C 79 */ bl LoadDolphinSpareTexture__9CGraphicsFii9_GXTexFmtPv11_GXTexMapID -/* 801133AC 0011030C 48 26 74 95 */ bl GXInvalidateTexAll -/* 801133B0 00110310 48 23 6B FD */ bl White__6CColorFv -/* 801133B4 00110314 C0 02 96 28 */ lfs f0, lbl_805AB348@sda21(r2) -/* 801133B8 00110318 EF A0 07 F2 */ fmuls f29, f0, f31 -/* 801133BC 0011031C FF C0 E8 90 */ fmr f30, f29 -/* 801133C0 00110320 F3 C1 A0 09 */ psq_st f30, 9(r1), 1, qr2 -/* 801133C4 00110324 80 9C 01 10 */ lwz r4, 0x110(r28) -/* 801133C8 00110328 80 03 00 00 */ lwz r0, 0(r3) -/* 801133CC 0011032C 89 01 00 09 */ lbz r8, 9(r1) -/* 801133D0 00110330 28 04 00 00 */ cmplwi r4, 0 -/* 801133D4 00110334 50 08 00 2E */ rlwimi r8, r0, 0, 0, 0x17 -/* 801133D8 00110338 41 82 00 40 */ beq lbl_80113418 -/* 801133DC 0011033C 38 A0 00 03 */ li r5, 3 -/* 801133E0 00110340 38 E0 00 05 */ li r7, 5 -/* 801133E4 00110344 38 C0 00 00 */ li r6, 0 -/* 801133E8 00110348 7C 83 23 78 */ mr r3, r4 -/* 801133EC 0011034C 60 A0 00 04 */ ori r0, r5, 4 -/* 801133F0 00110350 98 E1 00 3C */ stb r7, 0x3c(r1) -/* 801133F4 00110354 38 81 00 44 */ addi r4, r1, 0x44 -/* 801133F8 00110358 98 C1 00 3D */ stb r6, 0x3d(r1) -/* 801133FC 0011035C B0 A1 00 3E */ sth r5, 0x3e(r1) -/* 80113400 00110360 91 01 00 40 */ stw r8, 0x40(r1) -/* 80113404 00110364 98 E1 00 44 */ stb r7, 0x44(r1) -/* 80113408 00110368 98 C1 00 45 */ stb r6, 0x45(r1) -/* 8011340C 0011036C B0 01 00 46 */ sth r0, 0x46(r1) -/* 80113410 00110370 91 01 00 48 */ stw r8, 0x48(r1) -/* 80113414 00110374 48 24 27 C1 */ bl Draw__6CModelCFRC11CModelFlags -lbl_80113418: -/* 80113418 00110378 38 60 00 00 */ li r3, 0 -/* 8011341C 0011037C 48 1F 86 55 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80113420 00110380 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) -/* 80113424 00110384 38 61 00 18 */ addi r3, r1, 0x18 -/* 80113428 00110388 C0 3C 05 4C */ lfs f1, 0x54c(r28) -/* 8011342C 0011038C 38 85 00 C8 */ addi r4, r5, 0xc8 -/* 80113430 00110390 38 A5 00 CC */ addi r5, r5, 0xcc -/* 80113434 00110394 48 24 FE 79 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80113438 00110398 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8011343C 0011039C 90 81 00 28 */ stw r4, 0x28(r1) -/* 80113440 001103A0 F3 A1 A0 08 */ psq_st f29, 8(r1), 1, qr2 -/* 80113444 001103A4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80113448 001103A8 C0 3C 05 50 */ lfs f1, 0x550(r28) -/* 8011344C 001103AC 88 01 00 08 */ lbz r0, 8(r1) -/* 80113450 001103B0 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 -/* 80113454 001103B4 FC 40 08 90 */ fmr f2, f1 -/* 80113458 001103B8 FC 60 08 90 */ fmr f3, f1 -/* 8011345C 001103BC 90 01 00 28 */ stw r0, 0x28(r1) -/* 80113460 001103C0 FC 80 08 90 */ fmr f4, f1 -/* 80113464 001103C4 48 24 FF 89 */ bl __ct__6CColorFffff -/* 80113468 001103C8 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 8011346C 001103CC 7C 65 1B 78 */ mr r5, r3 -/* 80113470 001103D0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80113474 001103D4 38 84 00 D0 */ addi r4, r4, 0xd0 -/* 80113478 001103D8 48 24 FD 01 */ bl Modulate__6CColorFRC6CColorRC6CColor -/* 8011347C 001103DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80113480 001103E0 38 61 00 0C */ addi r3, r1, 0xc -/* 80113484 001103E4 38 81 00 28 */ addi r4, r1, 0x28 -/* 80113488 001103E8 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8011348C 001103EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80113490 001103F0 48 24 FC 21 */ bl Add__6CColorFRC6CColorRC6CColor -/* 80113494 001103F4 81 21 00 0C */ lwz r9, 0xc(r1) -/* 80113498 001103F8 38 C0 00 03 */ li r6, 3 -/* 8011349C 001103FC C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 801134A0 00110400 39 00 00 05 */ li r8, 5 -/* 801134A4 00110404 38 E0 00 00 */ li r7, 0 -/* 801134A8 00110408 C0 02 96 2C */ lfs f0, lbl_805AB34C@sda21(r2) -/* 801134AC 0011040C 54 C0 04 3A */ rlwinm r0, r6, 0, 0x10, 0x1d -/* 801134B0 00110410 91 21 00 28 */ stw r9, 0x28(r1) -/* 801134B4 00110414 38 61 00 78 */ addi r3, r1, 0x78 -/* 801134B8 00110418 38 81 08 D4 */ addi r4, r1, 0x8d4 -/* 801134BC 0011041C 99 01 00 34 */ stb r8, 0x34(r1) -/* 801134C0 00110420 38 A1 00 E8 */ addi r5, r1, 0xe8 -/* 801134C4 00110424 98 E1 00 35 */ stb r7, 0x35(r1) -/* 801134C8 00110428 B0 C1 00 36 */ sth r6, 0x36(r1) -/* 801134CC 0011042C 91 21 00 38 */ stw r9, 0x38(r1) -/* 801134D0 00110430 99 01 00 4C */ stb r8, 0x4c(r1) -/* 801134D4 00110434 98 E1 00 4D */ stb r7, 0x4d(r1) -/* 801134D8 00110438 B0 01 00 4E */ sth r0, 0x4e(r1) -/* 801134DC 0011043C 91 21 00 50 */ stw r9, 0x50(r1) -/* 801134E0 00110440 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 801134E4 00110444 D0 21 00 EC */ stfs f1, 0xec(r1) -/* 801134E8 00110448 D0 01 00 F0 */ stfs f0, 0xf0(r1) -/* 801134EC 0011044C 48 1F F5 FD */ bl __ml__12CTransform4fCFRC9CVector3f -/* 801134F0 00110450 83 BC 00 EC */ lwz r29, 0xec(r28) -/* 801134F4 00110454 C0 41 00 78 */ lfs f2, 0x78(r1) -/* 801134F8 00110458 C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 801134FC 0011045C 28 1D 00 00 */ cmplwi r29, 0 -/* 80113500 00110460 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80113504 00110464 D0 41 00 DC */ stfs f2, 0xdc(r1) -/* 80113508 00110468 D0 21 00 E0 */ stfs f1, 0xe0(r1) -/* 8011350C 0011046C D0 01 00 E4 */ stfs f0, 0xe4(r1) -/* 80113510 00110470 41 82 00 84 */ beq lbl_80113594 -/* 80113514 00110474 38 61 05 D4 */ addi r3, r1, 0x5d4 -/* 80113518 00110478 38 81 00 DC */ addi r4, r1, 0xdc -/* 8011351C 0011047C 48 1F FC 25 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80113520 00110480 38 61 06 04 */ addi r3, r1, 0x604 -/* 80113524 00110484 38 81 08 A4 */ addi r4, r1, 0x8a4 -/* 80113528 00110488 38 A1 05 D4 */ addi r5, r1, 0x5d4 -/* 8011352C 0011048C 48 1F F4 25 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113530 00110490 38 61 07 E4 */ addi r3, r1, 0x7e4 -/* 80113534 00110494 38 81 06 04 */ addi r4, r1, 0x604 -/* 80113538 00110498 48 1F F6 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011353C 0011049C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113540 001104A0 38 81 07 E4 */ addi r4, r1, 0x7e4 -/* 80113544 001104A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80113548 001104A8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8011354C 001104AC 7D 89 03 A6 */ mtctr r12 -/* 80113550 001104B0 4E 80 04 21 */ bctrl -/* 80113554 001104B4 7F A3 EB 78 */ mr r3, r29 -/* 80113558 001104B8 38 81 00 4C */ addi r4, r1, 0x4c -/* 8011355C 001104BC 48 24 26 79 */ bl Draw__6CModelCFRC11CModelFlags -/* 80113560 001104C0 38 61 05 A4 */ addi r3, r1, 0x5a4 -/* 80113564 001104C4 38 81 08 44 */ addi r4, r1, 0x844 -/* 80113568 001104C8 38 A1 07 E4 */ addi r5, r1, 0x7e4 -/* 8011356C 001104CC 48 1F F3 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113570 001104D0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113574 001104D4 38 81 05 A4 */ addi r4, r1, 0x5a4 -/* 80113578 001104D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8011357C 001104DC 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80113580 001104E0 7D 89 03 A6 */ mtctr r12 -/* 80113584 001104E4 4E 80 04 21 */ bctrl -/* 80113588 001104E8 7F A3 EB 78 */ mr r3, r29 -/* 8011358C 001104EC 38 81 00 4C */ addi r4, r1, 0x4c -/* 80113590 001104F0 48 24 26 45 */ bl Draw__6CModelCFRC11CModelFlags -lbl_80113594: -/* 80113594 001104F4 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -/* 80113598 001104F8 38 61 00 6C */ addi r3, r1, 0x6c -/* 8011359C 001104FC C0 22 96 30 */ lfs f1, lbl_805AB350@sda21(r2) -/* 801135A0 00110500 38 81 08 D4 */ addi r4, r1, 0x8d4 -/* 801135A4 00110504 D0 01 00 D4 */ stfs f0, 0xd4(r1) -/* 801135A8 00110508 38 A1 00 D0 */ addi r5, r1, 0xd0 -/* 801135AC 0011050C D0 21 00 D0 */ stfs f1, 0xd0(r1) -/* 801135B0 00110510 D0 01 00 D8 */ stfs f0, 0xd8(r1) -/* 801135B4 00110514 48 1F F5 35 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 801135B8 00110518 83 BC 00 E0 */ lwz r29, 0xe0(r28) -/* 801135BC 0011051C C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 801135C0 00110520 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 801135C4 00110524 28 1D 00 00 */ cmplwi r29, 0 -/* 801135C8 00110528 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 801135CC 0011052C D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 801135D0 00110530 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 801135D4 00110534 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 801135D8 00110538 41 82 00 84 */ beq lbl_8011365C -/* 801135DC 0011053C 38 61 05 44 */ addi r3, r1, 0x544 -/* 801135E0 00110540 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 801135E4 00110544 48 1F FB 5D */ bl Translate__12CTransform4fFRC9CVector3f -/* 801135E8 00110548 38 61 05 74 */ addi r3, r1, 0x574 -/* 801135EC 0011054C 38 81 08 A4 */ addi r4, r1, 0x8a4 -/* 801135F0 00110550 38 A1 05 44 */ addi r5, r1, 0x544 -/* 801135F4 00110554 48 1F F3 5D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801135F8 00110558 38 61 07 B4 */ addi r3, r1, 0x7b4 -/* 801135FC 0011055C 38 81 05 74 */ addi r4, r1, 0x574 -/* 80113600 00110560 48 1F F5 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80113604 00110564 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113608 00110568 38 81 07 B4 */ addi r4, r1, 0x7b4 -/* 8011360C 0011056C 81 83 00 00 */ lwz r12, 0(r3) -/* 80113610 00110570 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80113614 00110574 7D 89 03 A6 */ mtctr r12 -/* 80113618 00110578 4E 80 04 21 */ bctrl -/* 8011361C 0011057C 7F A3 EB 78 */ mr r3, r29 -/* 80113620 00110580 38 81 00 4C */ addi r4, r1, 0x4c -/* 80113624 00110584 48 24 25 B1 */ bl Draw__6CModelCFRC11CModelFlags -/* 80113628 00110588 38 61 05 14 */ addi r3, r1, 0x514 -/* 8011362C 0011058C 38 81 08 14 */ addi r4, r1, 0x814 -/* 80113630 00110590 38 A1 07 B4 */ addi r5, r1, 0x7b4 -/* 80113634 00110594 48 1F F3 1D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113638 00110598 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011363C 0011059C 38 81 05 14 */ addi r4, r1, 0x514 -/* 80113640 001105A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80113644 001105A4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80113648 001105A8 7D 89 03 A6 */ mtctr r12 -/* 8011364C 001105AC 4E 80 04 21 */ bctrl -/* 80113650 001105B0 7F A3 EB 78 */ mr r3, r29 -/* 80113654 001105B4 38 81 00 4C */ addi r4, r1, 0x4c -/* 80113658 001105B8 48 24 25 7D */ bl Draw__6CModelCFRC11CModelFlags -lbl_8011365C: -/* 8011365C 001105BC C0 42 96 30 */ lfs f2, lbl_805AB350@sda21(r2) -/* 80113660 001105C0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80113664 001105C4 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80113668 001105C8 38 81 08 D4 */ addi r4, r1, 0x8d4 -/* 8011366C 001105CC C0 02 96 2C */ lfs f0, lbl_805AB34C@sda21(r2) -/* 80113670 001105D0 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 80113674 001105D4 D0 41 00 B8 */ stfs f2, 0xb8(r1) -/* 80113678 001105D8 D0 21 00 BC */ stfs f1, 0xbc(r1) -/* 8011367C 001105DC D0 01 00 C0 */ stfs f0, 0xc0(r1) -/* 80113680 001105E0 48 1F F4 69 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 80113684 001105E4 83 BC 00 D4 */ lwz r29, 0xd4(r28) -/* 80113688 001105E8 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 8011368C 001105EC C0 21 00 64 */ lfs f1, 0x64(r1) -/* 80113690 001105F0 28 1D 00 00 */ cmplwi r29, 0 -/* 80113694 001105F4 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80113698 001105F8 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 8011369C 001105FC D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 801136A0 00110600 D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 801136A4 00110604 41 82 00 FC */ beq lbl_801137A0 -/* 801136A8 00110608 38 61 04 B4 */ addi r3, r1, 0x4b4 -/* 801136AC 0011060C 38 81 00 AC */ addi r4, r1, 0xac -/* 801136B0 00110610 48 1F FA 91 */ bl Translate__12CTransform4fFRC9CVector3f -/* 801136B4 00110614 38 61 04 E4 */ addi r3, r1, 0x4e4 -/* 801136B8 00110618 38 81 08 A4 */ addi r4, r1, 0x8a4 -/* 801136BC 0011061C 38 A1 04 B4 */ addi r5, r1, 0x4b4 -/* 801136C0 00110620 48 1F F2 91 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801136C4 00110624 38 61 07 84 */ addi r3, r1, 0x784 -/* 801136C8 00110628 38 81 04 E4 */ addi r4, r1, 0x4e4 -/* 801136CC 0011062C 48 1F F4 A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801136D0 00110630 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801136D4 00110634 38 81 07 84 */ addi r4, r1, 0x784 -/* 801136D8 00110638 81 83 00 00 */ lwz r12, 0(r3) -/* 801136DC 0011063C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801136E0 00110640 7D 89 03 A6 */ mtctr r12 -/* 801136E4 00110644 4E 80 04 21 */ bctrl -/* 801136E8 00110648 7F A3 EB 78 */ mr r3, r29 -/* 801136EC 0011064C 38 81 00 4C */ addi r4, r1, 0x4c -/* 801136F0 00110650 48 24 24 E5 */ bl Draw__6CModelCFRC11CModelFlags -/* 801136F4 00110654 38 61 04 84 */ addi r3, r1, 0x484 -/* 801136F8 00110658 38 81 08 14 */ addi r4, r1, 0x814 -/* 801136FC 0011065C 38 A1 07 84 */ addi r5, r1, 0x784 -/* 80113700 00110660 48 1F F2 51 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113704 00110664 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113708 00110668 38 81 04 84 */ addi r4, r1, 0x484 -/* 8011370C 0011066C 81 83 00 00 */ lwz r12, 0(r3) -/* 80113710 00110670 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80113714 00110674 7D 89 03 A6 */ mtctr r12 -/* 80113718 00110678 4E 80 04 21 */ bctrl -/* 8011371C 0011067C 7F A3 EB 78 */ mr r3, r29 -/* 80113720 00110680 38 81 00 4C */ addi r4, r1, 0x4c -/* 80113724 00110684 48 24 24 B1 */ bl Draw__6CModelCFRC11CModelFlags -/* 80113728 00110688 38 61 04 54 */ addi r3, r1, 0x454 -/* 8011372C 0011068C 38 81 08 44 */ addi r4, r1, 0x844 -/* 80113730 00110690 38 A1 07 84 */ addi r5, r1, 0x784 -/* 80113734 00110694 48 1F F2 1D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113738 00110698 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011373C 0011069C 38 81 04 54 */ addi r4, r1, 0x454 -/* 80113740 001106A0 81 83 00 00 */ lwz r12, 0(r3) -/* 80113744 001106A4 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80113748 001106A8 7D 89 03 A6 */ mtctr r12 -/* 8011374C 001106AC 4E 80 04 21 */ bctrl -/* 80113750 001106B0 7F A3 EB 78 */ mr r3, r29 -/* 80113754 001106B4 38 81 00 4C */ addi r4, r1, 0x4c -/* 80113758 001106B8 48 24 24 7D */ bl Draw__6CModelCFRC11CModelFlags -/* 8011375C 001106BC 38 61 03 F4 */ addi r3, r1, 0x3f4 -/* 80113760 001106C0 38 81 08 44 */ addi r4, r1, 0x844 -/* 80113764 001106C4 38 A1 08 14 */ addi r5, r1, 0x814 -/* 80113768 001106C8 48 1F F1 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011376C 001106CC 38 61 04 24 */ addi r3, r1, 0x424 -/* 80113770 001106D0 38 81 03 F4 */ addi r4, r1, 0x3f4 -/* 80113774 001106D4 38 A1 07 84 */ addi r5, r1, 0x784 -/* 80113778 001106D8 48 1F F1 D9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011377C 001106DC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113780 001106E0 38 81 04 24 */ addi r4, r1, 0x424 -/* 80113784 001106E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80113788 001106E8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8011378C 001106EC 7D 89 03 A6 */ mtctr r12 -/* 80113790 001106F0 4E 80 04 21 */ bctrl -/* 80113794 001106F4 7F A3 EB 78 */ mr r3, r29 -/* 80113798 001106F8 38 81 00 4C */ addi r4, r1, 0x4c -/* 8011379C 001106FC 48 24 24 39 */ bl Draw__6CModelCFRC11CModelFlags -lbl_801137A0: -/* 801137A0 00110700 C3 C1 08 D4 */ lfs f30, 0x8d4(r1) -/* 801137A4 00110704 C0 A1 08 FC */ lfs f5, 0x8fc(r1) -/* 801137A8 00110708 C0 02 96 2C */ lfs f0, lbl_805AB34C@sda21(r2) -/* 801137AC 0011070C 83 BC 01 04 */ lwz r29, 0x104(r28) -/* 801137B0 00110710 EF A0 01 72 */ fmuls f29, f0, f5 -/* 801137B4 00110714 C0 E1 08 DC */ lfs f7, 0x8dc(r1) -/* 801137B8 00110718 C0 C1 08 EC */ lfs f6, 0x8ec(r1) -/* 801137BC 0011071C 28 1D 00 00 */ cmplwi r29, 0 -/* 801137C0 00110720 C0 62 96 24 */ lfs f3, lbl_805AB344@sda21(r2) -/* 801137C4 00110724 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -/* 801137C8 00110728 C0 82 96 34 */ lfs f4, lbl_805AB354@sda21(r2) -/* 801137CC 0011072C C0 42 95 D0 */ lfs f2, lbl_805AB2F0@sda21(r2) -/* 801137D0 00110730 C0 22 96 38 */ lfs f1, lbl_805AB358@sda21(r2) -/* 801137D4 00110734 EC 84 17 B8 */ fmsubs f4, f4, f30, f2 -/* 801137D8 00110738 D0 E1 00 54 */ stfs f7, 0x54(r1) -/* 801137DC 0011073C D0 C1 00 58 */ stfs f6, 0x58(r1) -/* 801137E0 00110740 EC 24 08 28 */ fsubs f1, f4, f1 -/* 801137E4 00110744 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 801137E8 00110748 D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 801137EC 0011074C D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 801137F0 00110750 D3 A1 00 A8 */ stfs f29, 0xa8(r1) -/* 801137F4 00110754 41 82 01 18 */ beq lbl_8011390C -/* 801137F8 00110758 FC 60 10 90 */ fmr f3, f2 -/* 801137FC 0011075C 38 61 03 34 */ addi r3, r1, 0x334 -/* 80113800 00110760 48 1F FA 09 */ bl Scale__12CTransform4fFfff -/* 80113804 00110764 38 61 03 64 */ addi r3, r1, 0x364 -/* 80113808 00110768 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 8011380C 0011076C 48 1F F9 35 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80113810 00110770 38 61 03 94 */ addi r3, r1, 0x394 -/* 80113814 00110774 38 81 08 A4 */ addi r4, r1, 0x8a4 -/* 80113818 00110778 38 A1 03 64 */ addi r5, r1, 0x364 -/* 8011381C 0011077C 48 1F F1 35 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113820 00110780 38 61 03 C4 */ addi r3, r1, 0x3c4 -/* 80113824 00110784 38 81 03 94 */ addi r4, r1, 0x394 -/* 80113828 00110788 38 A1 03 34 */ addi r5, r1, 0x334 -/* 8011382C 0011078C 48 1F F1 25 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113830 00110790 38 61 07 54 */ addi r3, r1, 0x754 -/* 80113834 00110794 38 81 03 C4 */ addi r4, r1, 0x3c4 -/* 80113838 00110798 48 1F F3 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011383C 0011079C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113840 001107A0 38 81 07 54 */ addi r4, r1, 0x754 -/* 80113844 001107A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80113848 001107A8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8011384C 001107AC 7D 89 03 A6 */ mtctr r12 -/* 80113850 001107B0 4E 80 04 21 */ bctrl -/* 80113854 001107B4 7F A3 EB 78 */ mr r3, r29 -/* 80113858 001107B8 38 81 00 4C */ addi r4, r1, 0x4c -/* 8011385C 001107BC 48 24 23 79 */ bl Draw__6CModelCFRC11CModelFlags -/* 80113860 001107C0 38 61 03 04 */ addi r3, r1, 0x304 -/* 80113864 001107C4 38 81 08 14 */ addi r4, r1, 0x814 -/* 80113868 001107C8 38 A1 07 54 */ addi r5, r1, 0x754 -/* 8011386C 001107CC 48 1F F0 E5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113870 001107D0 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113874 001107D4 38 81 03 04 */ addi r4, r1, 0x304 -/* 80113878 001107D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8011387C 001107DC 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80113880 001107E0 7D 89 03 A6 */ mtctr r12 -/* 80113884 001107E4 4E 80 04 21 */ bctrl -/* 80113888 001107E8 7F A3 EB 78 */ mr r3, r29 -/* 8011388C 001107EC 38 81 00 4C */ addi r4, r1, 0x4c -/* 80113890 001107F0 48 24 23 45 */ bl Draw__6CModelCFRC11CModelFlags -/* 80113894 001107F4 38 61 02 D4 */ addi r3, r1, 0x2d4 -/* 80113898 001107F8 38 81 08 44 */ addi r4, r1, 0x844 -/* 8011389C 001107FC 38 A1 07 54 */ addi r5, r1, 0x754 -/* 801138A0 00110800 48 1F F0 B1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801138A4 00110804 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801138A8 00110808 38 81 02 D4 */ addi r4, r1, 0x2d4 -/* 801138AC 0011080C 81 83 00 00 */ lwz r12, 0(r3) -/* 801138B0 00110810 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801138B4 00110814 7D 89 03 A6 */ mtctr r12 -/* 801138B8 00110818 4E 80 04 21 */ bctrl -/* 801138BC 0011081C 7F A3 EB 78 */ mr r3, r29 -/* 801138C0 00110820 38 81 00 4C */ addi r4, r1, 0x4c -/* 801138C4 00110824 48 24 23 11 */ bl Draw__6CModelCFRC11CModelFlags -/* 801138C8 00110828 38 61 02 74 */ addi r3, r1, 0x274 -/* 801138CC 0011082C 38 81 08 44 */ addi r4, r1, 0x844 -/* 801138D0 00110830 38 A1 08 14 */ addi r5, r1, 0x814 -/* 801138D4 00110834 48 1F F0 7D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801138D8 00110838 38 61 02 A4 */ addi r3, r1, 0x2a4 -/* 801138DC 0011083C 38 81 02 74 */ addi r4, r1, 0x274 -/* 801138E0 00110840 38 A1 07 54 */ addi r5, r1, 0x754 -/* 801138E4 00110844 48 1F F0 6D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801138E8 00110848 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801138EC 0011084C 38 81 02 A4 */ addi r4, r1, 0x2a4 -/* 801138F0 00110850 81 83 00 00 */ lwz r12, 0(r3) -/* 801138F4 00110854 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801138F8 00110858 7D 89 03 A6 */ mtctr r12 -/* 801138FC 0011085C 4E 80 04 21 */ bctrl -/* 80113900 00110860 7F A3 EB 78 */ mr r3, r29 -/* 80113904 00110864 38 81 00 4C */ addi r4, r1, 0x4c -/* 80113908 00110868 48 24 22 CD */ bl Draw__6CModelCFRC11CModelFlags -lbl_8011390C: -/* 8011390C 0011086C C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) -/* 80113910 00110870 C0 02 96 30 */ lfs f0, lbl_805AB350@sda21(r2) -/* 80113914 00110874 EC 9D 08 28 */ fsubs f4, f29, f1 -/* 80113918 00110878 C0 62 96 3C */ lfs f3, lbl_805AB35C@sda21(r2) -/* 8011391C 0011087C EC 40 07 B2 */ fmuls f2, f0, f30 -/* 80113920 00110880 83 9C 00 F8 */ lwz r28, 0xf8(r28) -/* 80113924 00110884 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -/* 80113928 00110888 28 1C 00 00 */ cmplwi r28, 0 -/* 8011392C 0011088C EC 64 18 28 */ fsubs f3, f4, f3 -/* 80113930 00110890 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 80113934 00110894 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 80113938 00110898 D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 8011393C 0011089C 41 82 01 18 */ beq lbl_80113A54 -/* 80113940 001108A0 FC 40 08 90 */ fmr f2, f1 -/* 80113944 001108A4 38 61 01 B4 */ addi r3, r1, 0x1b4 -/* 80113948 001108A8 48 1F F8 C1 */ bl Scale__12CTransform4fFfff -/* 8011394C 001108AC 38 61 01 E4 */ addi r3, r1, 0x1e4 -/* 80113950 001108B0 38 81 00 94 */ addi r4, r1, 0x94 -/* 80113954 001108B4 48 1F F7 ED */ bl Translate__12CTransform4fFRC9CVector3f -/* 80113958 001108B8 38 61 02 14 */ addi r3, r1, 0x214 -/* 8011395C 001108BC 38 81 08 A4 */ addi r4, r1, 0x8a4 -/* 80113960 001108C0 38 A1 01 E4 */ addi r5, r1, 0x1e4 -/* 80113964 001108C4 48 1F EF ED */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113968 001108C8 38 61 02 44 */ addi r3, r1, 0x244 -/* 8011396C 001108CC 38 81 02 14 */ addi r4, r1, 0x214 -/* 80113970 001108D0 38 A1 01 B4 */ addi r5, r1, 0x1b4 -/* 80113974 001108D4 48 1F EF DD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113978 001108D8 38 61 07 24 */ addi r3, r1, 0x724 -/* 8011397C 001108DC 38 81 02 44 */ addi r4, r1, 0x244 -/* 80113980 001108E0 48 1F F1 F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80113984 001108E4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113988 001108E8 38 81 07 24 */ addi r4, r1, 0x724 -/* 8011398C 001108EC 81 83 00 00 */ lwz r12, 0(r3) -/* 80113990 001108F0 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80113994 001108F4 7D 89 03 A6 */ mtctr r12 -/* 80113998 001108F8 4E 80 04 21 */ bctrl -/* 8011399C 001108FC 7F 83 E3 78 */ mr r3, r28 -/* 801139A0 00110900 38 81 00 4C */ addi r4, r1, 0x4c -/* 801139A4 00110904 48 24 22 31 */ bl Draw__6CModelCFRC11CModelFlags -/* 801139A8 00110908 38 61 01 84 */ addi r3, r1, 0x184 -/* 801139AC 0011090C 38 81 08 14 */ addi r4, r1, 0x814 -/* 801139B0 00110910 38 A1 07 24 */ addi r5, r1, 0x724 -/* 801139B4 00110914 48 1F EF 9D */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801139B8 00110918 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801139BC 0011091C 38 81 01 84 */ addi r4, r1, 0x184 -/* 801139C0 00110920 81 83 00 00 */ lwz r12, 0(r3) -/* 801139C4 00110924 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801139C8 00110928 7D 89 03 A6 */ mtctr r12 -/* 801139CC 0011092C 4E 80 04 21 */ bctrl -/* 801139D0 00110930 7F 83 E3 78 */ mr r3, r28 -/* 801139D4 00110934 38 81 00 4C */ addi r4, r1, 0x4c -/* 801139D8 00110938 48 24 21 FD */ bl Draw__6CModelCFRC11CModelFlags -/* 801139DC 0011093C 38 61 01 54 */ addi r3, r1, 0x154 -/* 801139E0 00110940 38 81 08 44 */ addi r4, r1, 0x844 -/* 801139E4 00110944 38 A1 07 24 */ addi r5, r1, 0x724 -/* 801139E8 00110948 48 1F EF 69 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801139EC 0011094C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801139F0 00110950 38 81 01 54 */ addi r4, r1, 0x154 -/* 801139F4 00110954 81 83 00 00 */ lwz r12, 0(r3) -/* 801139F8 00110958 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801139FC 0011095C 7D 89 03 A6 */ mtctr r12 -/* 80113A00 00110960 4E 80 04 21 */ bctrl -/* 80113A04 00110964 7F 83 E3 78 */ mr r3, r28 -/* 80113A08 00110968 38 81 00 4C */ addi r4, r1, 0x4c -/* 80113A0C 0011096C 48 24 21 C9 */ bl Draw__6CModelCFRC11CModelFlags -/* 80113A10 00110970 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 80113A14 00110974 38 81 08 44 */ addi r4, r1, 0x844 -/* 80113A18 00110978 38 A1 08 14 */ addi r5, r1, 0x814 -/* 80113A1C 0011097C 48 1F EF 35 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113A20 00110980 38 61 01 24 */ addi r3, r1, 0x124 -/* 80113A24 00110984 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 80113A28 00110988 38 A1 07 24 */ addi r5, r1, 0x724 -/* 80113A2C 0011098C 48 1F EF 25 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80113A30 00110990 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80113A34 00110994 38 81 01 24 */ addi r4, r1, 0x124 -/* 80113A38 00110998 81 83 00 00 */ lwz r12, 0(r3) -/* 80113A3C 0011099C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80113A40 001109A0 7D 89 03 A6 */ mtctr r12 -/* 80113A44 001109A4 4E 80 04 21 */ bctrl -/* 80113A48 001109A8 7F 83 E3 78 */ mr r3, r28 -/* 80113A4C 001109AC 38 81 00 4C */ addi r4, r1, 0x4c -/* 80113A50 001109B0 48 24 21 85 */ bl Draw__6CModelCFRC11CModelFlags -lbl_80113A54: -/* 80113A54 001109B4 38 60 00 01 */ li r3, 1 -/* 80113A58 001109B8 48 1F 80 19 */ bl SetCullMode__9CGraphicsF12ERglCullMode -/* 80113A5C 001109BC E3 E1 09 78 */ psq_l f31, -1672(r1), 0, qr0 -/* 80113A60 001109C0 CB E1 09 70 */ lfd f31, 0x970(r1) -/* 80113A64 001109C4 E3 C1 09 68 */ psq_l f30, -1688(r1), 0, qr0 -/* 80113A68 001109C8 CB C1 09 60 */ lfd f30, 0x960(r1) -/* 80113A6C 001109CC E3 A1 09 58 */ psq_l f29, -1704(r1), 0, qr0 -/* 80113A70 001109D0 CB A1 09 50 */ lfd f29, 0x950(r1) -/* 80113A74 001109D4 E3 81 09 48 */ psq_l f28, -1720(r1), 0, qr0 -/* 80113A78 001109D8 CB 81 09 40 */ lfd f28, 0x940(r1) -/* 80113A7C 001109DC E3 61 09 38 */ psq_l f27, -1736(r1), 0, qr0 -/* 80113A80 001109E0 CB 61 09 30 */ lfd f27, 0x930(r1) -/* 80113A84 001109E4 BB 61 09 1C */ lmw r27, 0x91c(r1) -/* 80113A88 001109E8 80 01 09 84 */ lwz r0, 0x984(r1) -/* 80113A8C 001109EC 7C 08 03 A6 */ mtlr r0 -/* 80113A90 001109F0 38 21 09 80 */ addi r1, r1, 0x980 -/* 80113A94 001109F4 4E 80 00 20 */ blr - -.global DrawXRayEffect__12CPlayerVisorCFRC13CStateManager -DrawXRayEffect__12CPlayerVisorCFRC13CStateManager: -/* 80113A98 001109F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80113A9C 001109FC 7C 08 02 A6 */ mflr r0 -/* 80113AA0 00110A00 38 63 00 90 */ addi r3, r3, 0x90 -/* 80113AA4 00110A04 90 01 00 14 */ stw r0, 0x14(r1) -/* 80113AA8 00110A08 4B FD 6F E1 */ bl Draw__15CCameraBlurPassCFv -/* 80113AAC 00110A0C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80113AB0 00110A10 7C 08 03 A6 */ mtlr r0 -/* 80113AB4 00110A14 38 21 00 10 */ addi r1, r1, 0x10 -/* 80113AB8 00110A18 4E 80 00 20 */ blr - -.global DrawThermalEffect__12CPlayerVisorCFRC13CStateManager -DrawThermalEffect__12CPlayerVisorCFRC13CStateManager: -/* 80113ABC 00110A1C 4E 80 00 20 */ blr - -.global Touch__12CPlayerVisorCFv -Touch__12CPlayerVisorCFv: -/* 80113AC0 00110A20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80113AC4 00110A24 7C 08 02 A6 */ mflr r0 -/* 80113AC8 00110A28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80113ACC 00110A2C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80113AD0 00110A30 7C 7F 1B 78 */ mr r31, r3 -/* 80113AD4 00110A34 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 80113AD8 00110A38 28 03 00 00 */ cmplwi r3, 0 -/* 80113ADC 00110A3C 41 82 00 0C */ beq lbl_80113AE8 -/* 80113AE0 00110A40 38 80 00 00 */ li r4, 0 -/* 80113AE4 00110A44 48 24 1B 51 */ bl Touch__6CModelCFi -lbl_80113AE8: -/* 80113AE8 00110A48 80 7F 01 38 */ lwz r3, 0x138(r31) -/* 80113AEC 00110A4C 28 03 00 00 */ cmplwi r3, 0 -/* 80113AF0 00110A50 41 82 00 0C */ beq lbl_80113AFC -/* 80113AF4 00110A54 38 80 00 00 */ li r4, 0 -/* 80113AF8 00110A58 48 24 1B 3D */ bl Touch__6CModelCFi -lbl_80113AFC: -/* 80113AFC 00110A5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80113B00 00110A60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80113B04 00110A64 7C 08 03 A6 */ mtlr r0 -/* 80113B08 00110A68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80113B0C 00110A6C 4E 80 00 20 */ blr - -.global Draw__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager -Draw__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager: -/* 80113B10 00110A70 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80113B14 00110A74 7C 08 02 A6 */ mflr r0 -/* 80113B18 00110A78 90 01 00 24 */ stw r0, 0x24(r1) -/* 80113B1C 00110A7C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80113B20 00110A80 7C BF 2B 78 */ mr r31, r5 -/* 80113B24 00110A84 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80113B28 00110A88 7C 9E 23 78 */ mr r30, r4 -/* 80113B2C 00110A8C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80113B30 00110A90 7C 7D 1B 78 */ mr r29, r3 -/* 80113B34 00110A94 48 23 64 79 */ bl White__6CColorFv -/* 80113B38 00110A98 48 1F 84 E5 */ bl SetAmbientColor__9CGraphicsFRC6CColor -/* 80113B3C 00110A9C 48 1F 8E 41 */ bl DisableAllLights__9CGraphicsFv -/* 80113B40 00110AA0 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80113B44 00110AA4 7F C4 F3 78 */ mr r4, r30 -/* 80113B48 00110AA8 80 63 00 00 */ lwz r3, 0(r3) -/* 80113B4C 00110AAC 4B F7 DA 0D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80113B50 00110AB0 2C 03 00 02 */ cmpwi r3, 2 -/* 80113B54 00110AB4 41 82 00 44 */ beq lbl_80113B98 -/* 80113B58 00110AB8 40 80 00 14 */ bge lbl_80113B6C -/* 80113B5C 00110ABC 2C 03 00 00 */ cmpwi r3, 0 -/* 80113B60 00110AC0 41 82 00 48 */ beq lbl_80113BA8 -/* 80113B64 00110AC4 40 80 00 14 */ bge lbl_80113B78 -/* 80113B68 00110AC8 48 00 00 40 */ b lbl_80113BA8 -lbl_80113B6C: -/* 80113B6C 00110ACC 2C 03 00 04 */ cmpwi r3, 4 -/* 80113B70 00110AD0 40 80 00 38 */ bge lbl_80113BA8 -/* 80113B74 00110AD4 48 00 00 14 */ b lbl_80113B88 -lbl_80113B78: -/* 80113B78 00110AD8 7F A3 EB 78 */ mr r3, r29 -/* 80113B7C 00110ADC 7F C4 F3 78 */ mr r4, r30 -/* 80113B80 00110AE0 4B FF FF 19 */ bl DrawXRayEffect__12CPlayerVisorCFRC13CStateManager -/* 80113B84 00110AE4 48 00 00 24 */ b lbl_80113BA8 -lbl_80113B88: -/* 80113B88 00110AE8 7F A3 EB 78 */ mr r3, r29 -/* 80113B8C 00110AEC 7F C4 F3 78 */ mr r4, r30 -/* 80113B90 00110AF0 4B FF FF 2D */ bl DrawThermalEffect__12CPlayerVisorCFRC13CStateManager -/* 80113B94 00110AF4 48 00 00 14 */ b lbl_80113BA8 -lbl_80113B98: -/* 80113B98 00110AF8 7F A3 EB 78 */ mr r3, r29 -/* 80113B9C 00110AFC 7F C4 F3 78 */ mr r4, r30 -/* 80113BA0 00110B00 7F E5 FB 78 */ mr r5, r31 -/* 80113BA4 00110B04 4B FF F5 01 */ bl DrawScanEffect__12CPlayerVisorCFRC13CStateManagerPC17CTargetingManager -lbl_80113BA8: -/* 80113BA8 00110B08 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80113BAC 00110B0C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80113BB0 00110B10 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80113BB4 00110B14 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80113BB8 00110B18 7C 08 03 A6 */ mtlr r0 -/* 80113BBC 00110B1C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80113BC0 00110B20 4E 80 00 20 */ blr - -.global Update__12CPlayerVisorFfRC13CStateManager -Update__12CPlayerVisorFfRC13CStateManager: -/* 80113BC4 00110B24 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80113BC8 00110B28 7C 08 02 A6 */ mflr r0 -/* 80113BCC 00110B2C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80113BD0 00110B30 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80113BD4 00110B34 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80113BD8 00110B38 BF 01 00 40 */ stmw r24, 0x40(r1) -/* 80113BDC 00110B3C FF E0 08 90 */ fmr f31, f1 -/* 80113BE0 00110B40 7C 7F 1B 78 */ mr r31, r3 -/* 80113BE4 00110B44 7C 98 23 78 */ mr r24, r4 -/* 80113BE8 00110B48 38 7F 00 90 */ addi r3, r31, 0x90 -/* 80113BEC 00110B4C 4B FD 81 ED */ bl Update__15CCameraBlurPassFf -/* 80113BF0 00110B50 80 78 08 B8 */ lwz r3, 0x8b8(r24) -/* 80113BF4 00110B54 7F 04 C3 78 */ mr r4, r24 -/* 80113BF8 00110B58 83 83 00 00 */ lwz r28, 0(r3) -/* 80113BFC 00110B5C 7F 83 E3 78 */ mr r3, r28 -/* 80113C00 00110B60 4B F7 D9 59 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80113C04 00110B64 80 98 08 4C */ lwz r4, 0x84c(r24) -/* 80113C08 00110B68 7C 7D 1B 78 */ mr r29, r3 -/* 80113C0C 00110B6C 83 7C 00 14 */ lwz r27, 0x14(r28) -/* 80113C10 00110B70 7F 83 E3 78 */ mr r3, r28 -/* 80113C14 00110B74 83 5C 00 18 */ lwz r26, 0x18(r28) -/* 80113C18 00110B78 83 24 03 A8 */ lwz r25, 0x3a8(r4) -/* 80113C1C 00110B7C 4B F7 DC 19 */ bl GetIsVisorTransitioning__12CPlayerStateCFv -/* 80113C20 00110B80 FC 20 F8 90 */ fmr f1, f31 -/* 80113C24 00110B84 7C 7E 1B 78 */ mr r30, r3 -/* 80113C28 00110B88 7F E3 FB 78 */ mr r3, r31 -/* 80113C2C 00110B8C 7F 04 C3 78 */ mr r4, r24 -/* 80113C30 00110B90 4B FF ED 19 */ bl UpdateScanWindow__12CPlayerVisorFfRC13CStateManager -/* 80113C34 00110B94 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80113C38 00110B98 7C 1A 00 00 */ cmpw r26, r0 -/* 80113C3C 00110B9C 41 82 00 08 */ beq lbl_80113C44 -/* 80113C40 00110BA0 93 5F 00 20 */ stw r26, 0x20(r31) -lbl_80113C44: -/* 80113C44 00110BA4 7F E3 FB 78 */ mr r3, r31 -/* 80113C48 00110BA8 4B FF F1 31 */ bl LockUnlockAssets__12CPlayerVisorFQ212CPlayerState12EPlayerVisorQ212CPlayerState12EPlayerVisor -/* 80113C4C 00110BAC 2C 19 00 02 */ cmpwi r25, 2 -/* 80113C50 00110BB0 40 82 00 38 */ bne lbl_80113C88 -/* 80113C54 00110BB4 C0 42 96 08 */ lfs f2, lbl_805AB328@sda21(r2) -/* 80113C58 00110BB8 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 80113C5C 00110BBC C0 0D 8A 30 */ lfs f0, lbl_805A75F0@sda21(r13) -/* 80113C60 00110BC0 EC 22 0F FC */ fnmsubs f1, f2, f31, f1 -/* 80113C64 00110BC4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80113C68 00110BC8 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80113C6C 00110BCC 40 80 00 0C */ bge lbl_80113C78 -/* 80113C70 00110BD0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80113C74 00110BD4 48 00 00 08 */ b lbl_80113C7C -lbl_80113C78: -/* 80113C78 00110BD8 38 6D 8A 30 */ addi r3, r13, lbl_805A75F0@sda21 -lbl_80113C7C: -/* 80113C7C 00110BDC C0 03 00 00 */ lfs f0, 0(r3) -/* 80113C80 00110BE0 D0 1F 00 2C */ stfs f0, 0x2c(r31) -/* 80113C84 00110BE4 48 00 00 34 */ b lbl_80113CB8 -lbl_80113C88: -/* 80113C88 00110BE8 C0 42 96 08 */ lfs f2, lbl_805AB328@sda21(r2) -/* 80113C8C 00110BEC C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 80113C90 00110BF0 C0 0D 8A 34 */ lfs f0, lbl_805A75F4@sda21(r13) -/* 80113C94 00110BF4 EC 22 0F FA */ fmadds f1, f2, f31, f1 -/* 80113C98 00110BF8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80113C9C 00110BFC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80113CA0 00110C00 40 80 00 0C */ bge lbl_80113CAC -/* 80113CA4 00110C04 38 61 00 24 */ addi r3, r1, 0x24 -/* 80113CA8 00110C08 48 00 00 08 */ b lbl_80113CB0 -lbl_80113CAC: -/* 80113CAC 00110C0C 38 6D 8A 34 */ addi r3, r13, lbl_805A75F4@sda21 -lbl_80113CB0: -/* 80113CB0 00110C10 C0 03 00 00 */ lfs f0, 0(r3) -/* 80113CB4 00110C14 D0 1F 00 2C */ stfs f0, 0x2c(r31) -lbl_80113CB8: -/* 80113CB8 00110C18 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80113CBC 00110C1C 41 82 00 54 */ beq lbl_80113D10 -/* 80113CC0 00110C20 88 1F 00 25 */ lbz r0, 0x25(r31) -/* 80113CC4 00110C24 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80113CC8 00110C28 40 82 00 0C */ bne lbl_80113CD4 -/* 80113CCC 00110C2C 7F E3 FB 78 */ mr r3, r31 -/* 80113CD0 00110C30 48 00 05 A5 */ bl BeginTransitionOut__12CPlayerVisorFv -lbl_80113CD4: -/* 80113CD4 00110C34 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80113CD8 00110C38 7C 1B 00 00 */ cmpw r27, r0 -/* 80113CDC 00110C3C 41 82 00 20 */ beq lbl_80113CFC -/* 80113CE0 00110C40 7F E3 FB 78 */ mr r3, r31 -/* 80113CE4 00110C44 7F 04 C3 78 */ mr r4, r24 -/* 80113CE8 00110C48 48 00 04 F5 */ bl FinishTransitionOut__12CPlayerVisorFRC13CStateManager -/* 80113CEC 00110C4C 93 7F 00 1C */ stw r27, 0x1c(r31) -/* 80113CF0 00110C50 7F E3 FB 78 */ mr r3, r31 -/* 80113CF4 00110C54 7F 04 C3 78 */ mr r4, r24 -/* 80113CF8 00110C58 48 00 03 D5 */ bl BeginTransitionIn__12CPlayerVisorFRC13CStateManager -lbl_80113CFC: -/* 80113CFC 00110C5C 7F 83 E3 78 */ mr r3, r28 -/* 80113D00 00110C60 4B F7 DB 65 */ bl GetVisorTransitionFactor__12CPlayerStateCFv -/* 80113D04 00110C64 7F E3 FB 78 */ mr r3, r31 -/* 80113D08 00110C68 48 00 01 81 */ bl UpdateCurrentVisor__12CPlayerVisorFf -/* 80113D0C 00110C6C 48 00 00 60 */ b lbl_80113D6C -lbl_80113D10: -/* 80113D10 00110C70 88 1F 00 25 */ lbz r0, 0x25(r31) -/* 80113D14 00110C74 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80113D18 00110C78 41 82 00 10 */ beq lbl_80113D28 -/* 80113D1C 00110C7C 7F E3 FB 78 */ mr r3, r31 -/* 80113D20 00110C80 48 00 02 2D */ bl FinishTransitionIn__12CPlayerVisorFv -/* 80113D24 00110C84 48 00 00 48 */ b lbl_80113D6C -lbl_80113D28: -/* 80113D28 00110C88 2C 1B 00 02 */ cmpwi r27, 2 -/* 80113D2C 00110C8C 40 82 00 40 */ bne lbl_80113D6C -/* 80113D30 00110C90 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) -/* 80113D34 00110C94 38 61 00 20 */ addi r3, r1, 0x20 -/* 80113D38 00110C98 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 80113D3C 00110C9C 38 85 00 D8 */ addi r4, r5, 0xd8 -/* 80113D40 00110CA0 38 A5 00 D4 */ addi r5, r5, 0xd4 -/* 80113D44 00110CA4 48 24 F5 69 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80113D48 00110CA8 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80113D4C 00110CAC 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80113D50 00110CB0 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80113D54 00110CB4 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80113D58 00110CB8 90 01 00 30 */ stw r0, 0x30(r1) -/* 80113D5C 00110CBC 38 80 00 01 */ li r4, 1 -/* 80113D60 00110CC0 38 A0 00 00 */ li r5, 0 -/* 80113D64 00110CC4 38 E0 FF FF */ li r7, -1 -/* 80113D68 00110CC8 4B FD 96 39 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -lbl_80113D6C: -/* 80113D6C 00110CCC 88 1F 00 25 */ lbz r0, 0x25(r31) -/* 80113D70 00110CD0 53 C0 3E 30 */ rlwimi r0, r30, 7, 0x18, 0x18 -/* 80113D74 00110CD4 98 1F 00 25 */ stb r0, 0x25(r31) -/* 80113D78 00110CD8 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 80113D7C 00110CDC 7C 1D 00 00 */ cmpw r29, r0 -/* 80113D80 00110CE0 41 82 00 44 */ beq lbl_80113DC4 -/* 80113D84 00110CE4 88 1F 00 24 */ lbz r0, 0x24(r31) -/* 80113D88 00110CE8 28 00 00 00 */ cmplwi r0, 0 -/* 80113D8C 00110CEC 41 82 00 74 */ beq lbl_80113E00 -/* 80113D90 00110CF0 38 00 00 00 */ li r0, 0 -/* 80113D94 00110CF4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80113D98 00110CF8 98 1F 00 24 */ stb r0, 0x24(r31) -/* 80113D9C 00110CFC 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 80113DA0 00110D00 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80113DA4 00110D04 88 9F 00 24 */ lbz r4, 0x24(r31) -/* 80113DA8 00110D08 48 1D 5E B1 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 80113DAC 00110D0C 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80113DB0 00110D10 38 61 00 18 */ addi r3, r1, 0x18 -/* 80113DB4 00110D14 90 01 00 18 */ stw r0, 0x18(r1) -/* 80113DB8 00110D18 88 9F 00 24 */ lbz r4, 0x24(r31) -/* 80113DBC 00110D1C 48 1D 5E 9D */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 80113DC0 00110D20 48 00 00 40 */ b lbl_80113E00 -lbl_80113DC4: -/* 80113DC4 00110D24 88 1F 00 24 */ lbz r0, 0x24(r31) -/* 80113DC8 00110D28 28 00 00 7F */ cmplwi r0, 0x7f -/* 80113DCC 00110D2C 41 82 00 34 */ beq lbl_80113E00 -/* 80113DD0 00110D30 38 00 00 7F */ li r0, 0x7f -/* 80113DD4 00110D34 38 61 00 14 */ addi r3, r1, 0x14 -/* 80113DD8 00110D38 98 1F 00 24 */ stb r0, 0x24(r31) -/* 80113DDC 00110D3C 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 80113DE0 00110D40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80113DE4 00110D44 88 9F 00 24 */ lbz r4, 0x24(r31) -/* 80113DE8 00110D48 48 1D 5E 71 */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -/* 80113DEC 00110D4C 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80113DF0 00110D50 38 61 00 10 */ addi r3, r1, 0x10 -/* 80113DF4 00110D54 90 01 00 10 */ stw r0, 0x10(r1) -/* 80113DF8 00110D58 88 9F 00 24 */ lbz r4, 0x24(r31) -/* 80113DFC 00110D5C 48 1D 5E 5D */ bl SfxVolume__11CSfxManagerF10CSfxHandleUc -lbl_80113E00: -/* 80113E00 00110D60 80 6D A1 38 */ lwz r3, gpTweakGui@sda21(r13) -/* 80113E04 00110D64 C0 23 02 68 */ lfs f1, 0x268(r3) -/* 80113E08 00110D68 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80113E0C 00110D6C C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80113E10 00110D70 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80113E14 00110D74 40 80 00 30 */ bge lbl_80113E44 -/* 80113E18 00110D78 C0 02 96 08 */ lfs f0, lbl_805AB328@sda21(r2) -/* 80113E1C 00110D7C EC 00 17 FA */ fmadds f0, f0, f31, f2 -/* 80113E20 00110D80 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80113E24 00110D84 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80113E28 00110D88 40 80 00 0C */ bge lbl_80113E34 -/* 80113E2C 00110D8C 38 61 00 0C */ addi r3, r1, 0xc -/* 80113E30 00110D90 48 00 00 08 */ b lbl_80113E38 -lbl_80113E34: -/* 80113E34 00110D94 38 61 00 2C */ addi r3, r1, 0x2c -lbl_80113E38: -/* 80113E38 00110D98 C0 03 00 00 */ lfs f0, 0(r3) -/* 80113E3C 00110D9C D0 1F 00 58 */ stfs f0, 0x58(r31) -/* 80113E40 00110DA0 48 00 00 2C */ b lbl_80113E6C -lbl_80113E44: -/* 80113E44 00110DA4 C0 02 96 08 */ lfs f0, lbl_805AB328@sda21(r2) -/* 80113E48 00110DA8 EC 00 17 FC */ fnmsubs f0, f0, f31, f2 -/* 80113E4C 00110DAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80113E50 00110DB0 D0 01 00 08 */ stfs f0, 8(r1) -/* 80113E54 00110DB4 40 80 00 0C */ bge lbl_80113E60 -/* 80113E58 00110DB8 38 61 00 08 */ addi r3, r1, 8 -/* 80113E5C 00110DBC 48 00 00 08 */ b lbl_80113E64 -lbl_80113E60: -/* 80113E60 00110DC0 38 61 00 2C */ addi r3, r1, 0x2c -lbl_80113E64: -/* 80113E64 00110DC4 C0 03 00 00 */ lfs f0, 0(r3) -/* 80113E68 00110DC8 D0 1F 00 58 */ stfs f0, 0x58(r31) -lbl_80113E6C: -/* 80113E6C 00110DCC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80113E70 00110DD0 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80113E74 00110DD4 BB 01 00 40 */ lmw r24, 0x40(r1) -/* 80113E78 00110DD8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80113E7C 00110DDC 7C 08 03 A6 */ mtlr r0 -/* 80113E80 00110DE0 38 21 00 70 */ addi r1, r1, 0x70 -/* 80113E84 00110DE4 4E 80 00 20 */ blr - -.global UpdateCurrentVisor__12CPlayerVisorFf -UpdateCurrentVisor__12CPlayerVisorFf: -/* 80113E88 00110DE8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80113E8C 00110DEC 7C 08 02 A6 */ mflr r0 -/* 80113E90 00110DF0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80113E94 00110DF4 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80113E98 00110DF8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80113E9C 00110DFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80113EA0 00110E00 7C 7F 1B 78 */ mr r31, r3 -/* 80113EA4 00110E04 FF E0 08 90 */ fmr f31, f1 -/* 80113EA8 00110E08 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80113EAC 00110E0C 2C 00 00 02 */ cmpwi r0, 2 -/* 80113EB0 00110E10 41 82 00 3C */ beq lbl_80113EEC -/* 80113EB4 00110E14 40 80 00 7C */ bge lbl_80113F30 -/* 80113EB8 00110E18 2C 00 00 00 */ cmpwi r0, 0 -/* 80113EBC 00110E1C 41 82 00 74 */ beq lbl_80113F30 -/* 80113EC0 00110E20 40 80 00 0C */ bge lbl_80113ECC -/* 80113EC4 00110E24 48 00 00 6C */ b lbl_80113F30 -/* 80113EC8 00110E28 48 00 00 68 */ b lbl_80113F30 -lbl_80113ECC: -/* 80113ECC 00110E2C C0 02 96 40 */ lfs f0, lbl_805AB360@sda21(r2) -/* 80113ED0 00110E30 38 7F 00 90 */ addi r3, r31, 0x90 -/* 80113ED4 00110E34 C0 42 95 C8 */ lfs f2, lbl_805AB2E8@sda21(r2) -/* 80113ED8 00110E38 38 80 00 03 */ li r4, 3 -/* 80113EDC 00110E3C EC 20 07 F2 */ fmuls f1, f0, f31 -/* 80113EE0 00110E40 38 A0 00 00 */ li r5, 0 -/* 80113EE4 00110E44 4B FD 7A C1 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb -/* 80113EE8 00110E48 48 00 00 48 */ b lbl_80113F30 -lbl_80113EEC: -/* 80113EEC 00110E4C 48 23 60 C1 */ bl White__6CColorFv -/* 80113EF0 00110E50 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 80113EF4 00110E54 7C 65 1B 78 */ mr r5, r3 -/* 80113EF8 00110E58 80 8D A1 3C */ lwz r4, gpTweakGuiColors@sda21(r13) -/* 80113EFC 00110E5C 38 61 00 08 */ addi r3, r1, 8 -/* 80113F00 00110E60 EC 20 F8 28 */ fsubs f1, f0, f31 -/* 80113F04 00110E64 38 84 00 D4 */ addi r4, r4, 0xd4 -/* 80113F08 00110E68 48 24 F3 A5 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80113F0C 00110E6C 80 01 00 08 */ lwz r0, 8(r1) -/* 80113F10 00110E70 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80113F14 00110E74 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80113F18 00110E78 38 C1 00 0C */ addi r6, r1, 0xc -/* 80113F1C 00110E7C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80113F20 00110E80 38 80 00 01 */ li r4, 1 -/* 80113F24 00110E84 38 A0 00 00 */ li r5, 0 -/* 80113F28 00110E88 38 E0 FF FF */ li r7, -1 -/* 80113F2C 00110E8C 4B FD 94 75 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -lbl_80113F30: -/* 80113F30 00110E90 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80113F34 00110E94 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80113F38 00110E98 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80113F3C 00110E9C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80113F40 00110EA0 7C 08 03 A6 */ mtlr r0 -/* 80113F44 00110EA4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80113F48 00110EA8 4E 80 00 20 */ blr - -.global FinishTransitionIn__12CPlayerVisorFv -FinishTransitionIn__12CPlayerVisorFv: -/* 80113F4C 00110EAC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80113F50 00110EB0 7C 08 02 A6 */ mflr r0 -/* 80113F54 00110EB4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80113F58 00110EB8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80113F5C 00110EBC 7C 7F 1B 78 */ mr r31, r3 -/* 80113F60 00110EC0 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 80113F64 00110EC4 2C 00 00 02 */ cmpwi r0, 2 -/* 80113F68 00110EC8 41 82 00 90 */ beq lbl_80113FF8 -/* 80113F6C 00110ECC 40 80 00 14 */ bge lbl_80113F80 -/* 80113F70 00110ED0 2C 00 00 00 */ cmpwi r0, 0 -/* 80113F74 00110ED4 41 82 00 18 */ beq lbl_80113F8C -/* 80113F78 00110ED8 40 80 00 24 */ bge lbl_80113F9C -/* 80113F7C 00110EDC 48 00 01 3C */ b lbl_801140B8 -lbl_80113F80: -/* 80113F80 00110EE0 2C 00 00 04 */ cmpwi r0, 4 -/* 80113F84 00110EE4 40 80 01 34 */ bge lbl_801140B8 -/* 80113F88 00110EE8 48 00 00 F0 */ b lbl_80114078 -lbl_80113F8C: -/* 80113F8C 00110EEC C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80113F90 00110EF0 38 7F 00 90 */ addi r3, r31, 0x90 -/* 80113F94 00110EF4 4B FD 79 E1 */ bl DisableBlur__15CCameraBlurPassFf -/* 80113F98 00110EF8 48 00 01 20 */ b lbl_801140B8 -lbl_80113F9C: -/* 80113F9C 00110EFC C0 22 96 40 */ lfs f1, lbl_805AB360@sda21(r2) -/* 80113FA0 00110F00 38 7F 00 90 */ addi r3, r31, 0x90 -/* 80113FA4 00110F04 C0 42 95 C8 */ lfs f2, lbl_805AB2E8@sda21(r2) -/* 80113FA8 00110F08 38 80 00 03 */ li r4, 3 -/* 80113FAC 00110F0C 38 A0 00 00 */ li r5, 0 -/* 80113FB0 00110F10 4B FD 79 F5 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb -/* 80113FB4 00110F14 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 80113FB8 00110F18 28 00 00 00 */ cmplwi r0, 0 -/* 80113FBC 00110F1C 40 82 00 FC */ bne lbl_801140B8 -/* 80113FC0 00110F20 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 80113FC4 00110F24 38 61 00 14 */ addi r3, r1, 0x14 -/* 80113FC8 00110F28 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 80113FCC 00110F2C 38 80 05 68 */ li r4, 0x568 -/* 80113FD0 00110F30 38 06 00 10 */ addi r0, r6, 0x10 -/* 80113FD4 00110F34 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80113FD8 00110F38 7C 08 07 34 */ extsh r8, r0 -/* 80113FDC 00110F3C 38 C0 00 40 */ li r6, 0x40 -/* 80113FE0 00110F40 38 E0 00 00 */ li r7, 0 -/* 80113FE4 00110F44 39 20 00 01 */ li r9, 1 -/* 80113FE8 00110F48 48 1D 5D 8D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80113FEC 00110F4C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80113FF0 00110F50 90 1F 00 5C */ stw r0, 0x5c(r31) -/* 80113FF4 00110F54 48 00 00 C4 */ b lbl_801140B8 -lbl_80113FF8: -/* 80113FF8 00110F58 80 AD A1 3C */ lwz r5, gpTweakGuiColors@sda21(r13) -/* 80113FFC 00110F5C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80114000 00110F60 C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 80114004 00110F64 38 85 00 D8 */ addi r4, r5, 0xd8 -/* 80114008 00110F68 38 A5 00 D4 */ addi r5, r5, 0xd4 -/* 8011400C 00110F6C 48 24 F2 A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80114010 00110F70 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80114014 00110F74 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80114018 00110F78 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 8011401C 00110F7C 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80114020 00110F80 90 01 00 18 */ stw r0, 0x18(r1) -/* 80114024 00110F84 38 80 00 01 */ li r4, 1 -/* 80114028 00110F88 38 A0 00 00 */ li r5, 0 -/* 8011402C 00110F8C 38 E0 FF FF */ li r7, -1 -/* 80114030 00110F90 4B FD 93 71 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -/* 80114034 00110F94 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 80114038 00110F98 28 00 00 00 */ cmplwi r0, 0 -/* 8011403C 00110F9C 40 82 00 7C */ bne lbl_801140B8 -/* 80114040 00110FA0 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 80114044 00110FA4 38 61 00 0C */ addi r3, r1, 0xc -/* 80114048 00110FA8 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 8011404C 00110FAC 38 80 05 7C */ li r4, 0x57c -/* 80114050 00110FB0 38 06 00 10 */ addi r0, r6, 0x10 -/* 80114054 00110FB4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80114058 00110FB8 7C 08 07 34 */ extsh r8, r0 -/* 8011405C 00110FBC 38 C0 00 40 */ li r6, 0x40 -/* 80114060 00110FC0 38 E0 00 00 */ li r7, 0 -/* 80114064 00110FC4 39 20 00 01 */ li r9, 1 -/* 80114068 00110FC8 48 1D 5D 0D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 8011406C 00110FCC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80114070 00110FD0 90 1F 00 5C */ stw r0, 0x5c(r31) -/* 80114074 00110FD4 48 00 00 44 */ b lbl_801140B8 -lbl_80114078: -/* 80114078 00110FD8 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 8011407C 00110FDC 28 00 00 00 */ cmplwi r0, 0 -/* 80114080 00110FE0 40 82 00 38 */ bne lbl_801140B8 -/* 80114084 00110FE4 A8 C2 C5 FA */ lha r6, lbl_805AE31A@sda21(r2) -/* 80114088 00110FE8 38 61 00 08 */ addi r3, r1, 8 -/* 8011408C 00110FEC 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 80114090 00110FF0 38 80 05 6C */ li r4, 0x56c -/* 80114094 00110FF4 38 06 00 10 */ addi r0, r6, 0x10 -/* 80114098 00110FF8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8011409C 00110FFC 7C 08 07 34 */ extsh r8, r0 -/* 801140A0 00111000 38 C0 00 40 */ li r6, 0x40 -/* 801140A4 00111004 38 E0 00 00 */ li r7, 0 -/* 801140A8 00111008 39 20 00 01 */ li r9, 1 -/* 801140AC 0011100C 48 1D 5C C9 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 801140B0 00111010 80 01 00 08 */ lwz r0, 8(r1) -/* 801140B4 00111014 90 1F 00 5C */ stw r0, 0x5c(r31) -lbl_801140B8: -/* 801140B8 00111018 80 01 00 34 */ lwz r0, 0x34(r1) -/* 801140BC 0011101C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 801140C0 00111020 7C 08 03 A6 */ mtlr r0 -/* 801140C4 00111024 38 21 00 30 */ addi r1, r1, 0x30 -/* 801140C8 00111028 4E 80 00 20 */ blr - -.global BeginTransitionIn__12CPlayerVisorFRC13CStateManager -BeginTransitionIn__12CPlayerVisorFRC13CStateManager: -/* 801140CC 0011102C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801140D0 00111030 7C 08 02 A6 */ mflr r0 -/* 801140D4 00111034 90 01 00 24 */ stw r0, 0x24(r1) -/* 801140D8 00111038 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801140DC 0011103C 7C 7F 1B 78 */ mr r31, r3 -/* 801140E0 00111040 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 801140E4 00111044 2C 00 00 02 */ cmpwi r0, 2 -/* 801140E8 00111048 41 82 00 74 */ beq lbl_8011415C -/* 801140EC 0011104C 40 80 00 14 */ bge lbl_80114100 -/* 801140F0 00111050 2C 00 00 00 */ cmpwi r0, 0 -/* 801140F4 00111054 41 82 00 D4 */ beq lbl_801141C8 -/* 801140F8 00111058 40 80 00 14 */ bge lbl_8011410C -/* 801140FC 0011105C 48 00 00 CC */ b lbl_801141C8 -lbl_80114100: -/* 80114100 00111060 2C 00 00 04 */ cmpwi r0, 4 -/* 80114104 00111064 40 80 00 C4 */ bge lbl_801141C8 -/* 80114108 00111068 48 00 00 9C */ b lbl_801141A4 -lbl_8011410C: -/* 8011410C 0011106C C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80114110 00111070 38 7F 00 90 */ addi r3, r31, 0x90 -/* 80114114 00111074 38 80 00 03 */ li r4, 3 -/* 80114118 00111078 38 A0 00 00 */ li r5, 0 -/* 8011411C 0011107C FC 40 08 90 */ fmr f2, f1 -/* 80114120 00111080 4B FD 78 85 */ bl SetBlur__15CCameraBlurPassFQ215CCameraBlurPass9EBlurTypeffb -/* 80114124 00111084 C0 22 90 D0 */ lfs f1, lbl_805AADF0@sda21(r2) -/* 80114128 00111088 38 61 00 10 */ addi r3, r1, 0x10 -/* 8011412C 0011108C C0 02 90 D4 */ lfs f0, lbl_805AADF4@sda21(r2) -/* 80114130 00111090 38 80 05 67 */ li r4, 0x567 -/* 80114134 00111094 D0 3F 00 C4 */ stfs f1, 0xc4(r31) -/* 80114138 00111098 38 C0 00 40 */ li r6, 0x40 -/* 8011413C 0011109C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80114140 001110A0 38 E0 00 00 */ li r7, 0 -/* 80114144 001110A4 D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 80114148 001110A8 39 20 00 00 */ li r9, 0 -/* 8011414C 001110AC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80114150 001110B0 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 80114154 001110B4 48 1D 5C 21 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80114158 001110B8 48 00 00 70 */ b lbl_801141C8 -lbl_8011415C: -/* 8011415C 001110BC 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 80114160 001110C0 38 61 00 0C */ addi r3, r1, 0xc -/* 80114164 001110C4 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80114168 001110C8 38 80 05 67 */ li r4, 0x567 -/* 8011416C 001110CC 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80114170 001110D0 38 C0 00 40 */ li r6, 0x40 -/* 80114174 001110D4 38 E0 00 00 */ li r7, 0 -/* 80114178 001110D8 39 20 00 00 */ li r9, 0 -/* 8011417C 001110DC 48 1D 5B F9 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80114180 001110E0 48 23 5E 2D */ bl White__6CColorFv -/* 80114184 001110E4 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80114188 001110E8 7C 66 1B 78 */ mr r6, r3 -/* 8011418C 001110EC 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80114190 001110F0 38 80 00 01 */ li r4, 1 -/* 80114194 001110F4 38 A0 00 00 */ li r5, 0 -/* 80114198 001110F8 38 E0 FF FF */ li r7, -1 -/* 8011419C 001110FC 4B FD 92 05 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -/* 801141A0 00111100 48 00 00 28 */ b lbl_801141C8 -lbl_801141A4: -/* 801141A4 00111104 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 801141A8 00111108 38 61 00 08 */ addi r3, r1, 8 -/* 801141AC 0011110C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 801141B0 00111110 38 80 05 67 */ li r4, 0x567 -/* 801141B4 00111114 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 801141B8 00111118 38 C0 00 40 */ li r6, 0x40 -/* 801141BC 0011111C 38 E0 00 00 */ li r7, 0 -/* 801141C0 00111120 39 20 00 00 */ li r9, 0 -/* 801141C4 00111124 48 1D 5B B1 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_801141C8: -/* 801141C8 00111128 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801141CC 0011112C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801141D0 00111130 7C 08 03 A6 */ mtlr r0 -/* 801141D4 00111134 38 21 00 20 */ addi r1, r1, 0x20 -/* 801141D8 00111138 4E 80 00 20 */ blr - -.global FinishTransitionOut__12CPlayerVisorFRC13CStateManager -FinishTransitionOut__12CPlayerVisorFRC13CStateManager: -/* 801141DC 0011113C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801141E0 00111140 7C 08 02 A6 */ mflr r0 -/* 801141E4 00111144 90 01 00 14 */ stw r0, 0x14(r1) -/* 801141E8 00111148 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801141EC 0011114C 7C 7F 1B 78 */ mr r31, r3 -/* 801141F0 00111150 80 03 00 1C */ lwz r0, 0x1c(r3) -/* 801141F4 00111154 2C 00 00 02 */ cmpwi r0, 2 -/* 801141F8 00111158 41 82 00 40 */ beq lbl_80114238 -/* 801141FC 0011115C 40 80 00 14 */ bge lbl_80114210 -/* 80114200 00111160 2C 00 00 00 */ cmpwi r0, 0 -/* 80114204 00111164 41 82 00 5C */ beq lbl_80114260 -/* 80114208 00111168 40 80 00 14 */ bge lbl_8011421C -/* 8011420C 0011116C 48 00 00 54 */ b lbl_80114260 -lbl_80114210: -/* 80114210 00111170 2C 00 00 04 */ cmpwi r0, 4 -/* 80114214 00111174 40 80 00 4C */ bge lbl_80114260 -/* 80114218 00111178 48 00 00 3C */ b lbl_80114254 -lbl_8011421C: -/* 8011421C 0011117C C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80114220 00111180 38 7F 00 90 */ addi r3, r31, 0x90 -/* 80114224 00111184 4B FD 77 51 */ bl DisableBlur__15CCameraBlurPassFf -/* 80114228 00111188 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 8011422C 0011118C D0 1F 00 C4 */ stfs f0, 0xc4(r31) -/* 80114230 00111190 D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 80114234 00111194 48 00 00 2C */ b lbl_80114260 -lbl_80114238: -/* 80114238 00111198 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 8011423C 0011119C 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80114240 001111A0 4B FD 91 29 */ bl DisableFilter__17CCameraFilterPassFf -/* 80114244 001111A4 38 00 00 00 */ li r0, 0 -/* 80114248 001111A8 90 1F 00 34 */ stw r0, 0x34(r31) -/* 8011424C 001111AC 90 1F 00 30 */ stw r0, 0x30(r31) -/* 80114250 001111B0 48 00 00 10 */ b lbl_80114260 -lbl_80114254: -/* 80114254 001111B4 C0 22 95 C8 */ lfs f1, lbl_805AB2E8@sda21(r2) -/* 80114258 001111B8 38 7F 00 90 */ addi r3, r31, 0x90 -/* 8011425C 001111BC 4B FD 77 19 */ bl DisableBlur__15CCameraBlurPassFf -lbl_80114260: -/* 80114260 001111C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80114264 001111C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80114268 001111C8 7C 08 03 A6 */ mtlr r0 -/* 8011426C 001111CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80114270 001111D0 4E 80 00 20 */ blr - -.global BeginTransitionOut__12CPlayerVisorFv -BeginTransitionOut__12CPlayerVisorFv: -/* 80114274 001111D4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80114278 001111D8 7C 08 02 A6 */ mflr r0 -/* 8011427C 001111DC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80114280 001111E0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80114284 001111E4 7C 7F 1B 78 */ mr r31, r3 -/* 80114288 001111E8 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 8011428C 001111EC 28 00 00 00 */ cmplwi r0, 0 -/* 80114290 001111F0 41 82 00 1C */ beq lbl_801142AC -/* 80114294 001111F4 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 80114298 001111F8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011429C 001111FC 90 01 00 18 */ stw r0, 0x18(r1) -/* 801142A0 00111200 48 1D 5A A9 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 801142A4 00111204 38 00 00 00 */ li r0, 0 -/* 801142A8 00111208 90 1F 00 5C */ stw r0, 0x5c(r31) -lbl_801142AC: -/* 801142AC 0011120C 80 1F 00 1C */ lwz r0, 0x1c(r31) -/* 801142B0 00111210 2C 00 00 02 */ cmpwi r0, 2 -/* 801142B4 00111214 41 82 00 4C */ beq lbl_80114300 -/* 801142B8 00111218 40 80 00 14 */ bge lbl_801142CC -/* 801142BC 0011121C 2C 00 00 00 */ cmpwi r0, 0 -/* 801142C0 00111220 41 82 00 A8 */ beq lbl_80114368 -/* 801142C4 00111224 40 80 00 14 */ bge lbl_801142D8 -/* 801142C8 00111228 48 00 00 A0 */ b lbl_80114368 -lbl_801142CC: -/* 801142CC 0011122C 2C 00 00 04 */ cmpwi r0, 4 -/* 801142D0 00111230 40 80 00 98 */ bge lbl_80114368 -/* 801142D4 00111234 48 00 00 70 */ b lbl_80114344 -lbl_801142D8: -/* 801142D8 00111238 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 801142DC 0011123C 38 61 00 14 */ addi r3, r1, 0x14 -/* 801142E0 00111240 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 801142E4 00111244 38 80 05 66 */ li r4, 0x566 -/* 801142E8 00111248 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 801142EC 0011124C 38 C0 00 40 */ li r6, 0x40 -/* 801142F0 00111250 38 E0 00 00 */ li r7, 0 -/* 801142F4 00111254 39 20 00 00 */ li r9, 0 -/* 801142F8 00111258 48 1D 5A 7D */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 801142FC 0011125C 48 00 00 6C */ b lbl_80114368 -lbl_80114300: -/* 80114300 00111260 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80114304 00111264 28 00 00 00 */ cmplwi r0, 0 -/* 80114308 00111268 41 82 00 14 */ beq lbl_8011431C -/* 8011430C 0011126C 80 1F 00 60 */ lwz r0, 0x60(r31) -/* 80114310 00111270 38 61 00 10 */ addi r3, r1, 0x10 -/* 80114314 00111274 90 01 00 10 */ stw r0, 0x10(r1) -/* 80114318 00111278 48 1D 5A 31 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -lbl_8011431C: -/* 8011431C 0011127C 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 80114320 00111280 38 61 00 0C */ addi r3, r1, 0xc -/* 80114324 00111284 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80114328 00111288 38 80 05 66 */ li r4, 0x566 -/* 8011432C 0011128C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80114330 00111290 38 C0 00 40 */ li r6, 0x40 -/* 80114334 00111294 38 E0 00 00 */ li r7, 0 -/* 80114338 00111298 39 20 00 00 */ li r9, 0 -/* 8011433C 0011129C 48 1D 5A 39 */ bl SfxStart__11CSfxManagerFUsssbsbi -/* 80114340 001112A0 48 00 00 28 */ b lbl_80114368 -lbl_80114344: -/* 80114344 001112A4 88 BF 00 24 */ lbz r5, 0x24(r31) -/* 80114348 001112A8 38 61 00 08 */ addi r3, r1, 8 -/* 8011434C 001112AC A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) -/* 80114350 001112B0 38 80 05 66 */ li r4, 0x566 -/* 80114354 001112B4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80114358 001112B8 38 C0 00 40 */ li r6, 0x40 -/* 8011435C 001112BC 38 E0 00 00 */ li r7, 0 -/* 80114360 001112C0 39 20 00 00 */ li r9, 0 -/* 80114364 001112C4 48 1D 5A 11 */ bl SfxStart__11CSfxManagerFUsssbsbi -lbl_80114368: -/* 80114368 001112C8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011436C 001112CC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80114370 001112D0 7C 08 03 A6 */ mtlr r0 -/* 80114374 001112D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80114378 001112D8 4E 80 00 20 */ blr - -.global GetDesiredViewportScaleY__12CPlayerVisorCFRC13CStateManager -GetDesiredViewportScaleY__12CPlayerVisorCFRC13CStateManager: -/* 8011437C 001112DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80114380 001112E0 7C 08 02 A6 */ mflr r0 -/* 80114384 001112E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80114388 001112E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011438C 001112EC 7C 7F 1B 78 */ mr r31, r3 -/* 80114390 001112F0 80 A4 08 B8 */ lwz r5, 0x8b8(r4) -/* 80114394 001112F4 80 65 00 00 */ lwz r3, 0(r5) -/* 80114398 001112F8 4B F7 D1 C1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 8011439C 001112FC 2C 03 00 00 */ cmpwi r3, 0 -/* 801143A0 00111300 40 82 00 0C */ bne lbl_801143AC -/* 801143A4 00111304 C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) -/* 801143A8 00111308 48 00 00 08 */ b lbl_801143B0 -lbl_801143AC: -/* 801143AC 0011130C C0 3F 00 C8 */ lfs f1, 0xc8(r31) -lbl_801143B0: -/* 801143B0 00111310 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801143B4 00111314 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801143B8 00111318 7C 08 03 A6 */ mtlr r0 -/* 801143BC 0011131C 38 21 00 10 */ addi r1, r1, 0x10 -/* 801143C0 00111320 4E 80 00 20 */ blr - -.global GetDesiredViewportScaleX__12CPlayerVisorCFRC13CStateManager -GetDesiredViewportScaleX__12CPlayerVisorCFRC13CStateManager: -/* 801143C4 00111324 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801143C8 00111328 7C 08 02 A6 */ mflr r0 -/* 801143CC 0011132C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801143D0 00111330 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801143D4 00111334 7C 7F 1B 78 */ mr r31, r3 -/* 801143D8 00111338 80 A4 08 B8 */ lwz r5, 0x8b8(r4) -/* 801143DC 0011133C 80 65 00 00 */ lwz r3, 0(r5) -/* 801143E0 00111340 4B F7 D1 79 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 801143E4 00111344 2C 03 00 00 */ cmpwi r3, 0 -/* 801143E8 00111348 40 82 00 0C */ bne lbl_801143F4 -/* 801143EC 0011134C C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) -/* 801143F0 00111350 48 00 00 08 */ b lbl_801143F8 -lbl_801143F4: -/* 801143F4 00111354 C0 3F 00 C4 */ lfs f1, 0xc4(r31) -lbl_801143F8: -/* 801143F8 00111358 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801143FC 0011135C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80114400 00111360 7C 08 03 A6 */ mtlr r0 -/* 80114404 00111364 38 21 00 10 */ addi r1, r1, 0x10 -/* 80114408 00111368 4E 80 00 20 */ blr - -.global __dt__12CPlayerVisorFv -__dt__12CPlayerVisorFv: -/* 8011440C 0011136C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80114410 00111370 7C 08 02 A6 */ mflr r0 -/* 80114414 00111374 90 01 00 24 */ stw r0, 0x24(r1) -/* 80114418 00111378 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011441C 0011137C 7C 9F 23 78 */ mr r31, r4 -/* 80114420 00111380 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80114424 00111384 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80114428 00111388 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8011442C 0011138C 41 82 02 80 */ beq lbl_801146AC -/* 80114430 00111390 80 1E 00 5C */ lwz r0, 0x5c(r30) -/* 80114434 00111394 38 61 00 0C */ addi r3, r1, 0xc -/* 80114438 00111398 90 01 00 0C */ stw r0, 0xc(r1) -/* 8011443C 0011139C 48 1D 59 0D */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 80114440 001113A0 80 1E 00 60 */ lwz r0, 0x60(r30) -/* 80114444 001113A4 38 61 00 08 */ addi r3, r1, 8 -/* 80114448 001113A8 90 01 00 08 */ stw r0, 8(r1) -/* 8011444C 001113AC 48 1D 58 FD */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 80114450 001113B0 34 1E 05 40 */ addic. r0, r30, 0x540 -/* 80114454 001113B4 41 82 00 18 */ beq lbl_8011446C -/* 80114458 001113B8 34 1E 05 40 */ addic. r0, r30, 0x540 -/* 8011445C 001113BC 41 82 00 10 */ beq lbl_8011446C -/* 80114460 001113C0 38 7E 05 40 */ addi r3, r30, 0x540 -/* 80114464 001113C4 38 80 00 00 */ li r4, 0 -/* 80114468 001113C8 48 22 C9 D9 */ bl __dt__6CTokenFv -lbl_8011446C: -/* 8011446C 001113CC 34 1E 01 3C */ addic. r0, r30, 0x13c -/* 80114470 001113D0 41 82 00 58 */ beq lbl_801144C8 -/* 80114474 001113D4 80 BE 01 3C */ lwz r5, 0x13c(r30) -/* 80114478 001113D8 38 60 00 00 */ li r3, 0 -/* 8011447C 001113DC 2C 05 00 00 */ cmpwi r5, 0 -/* 80114480 001113E0 40 81 00 40 */ ble lbl_801144C0 -/* 80114484 001113E4 2C 05 00 08 */ cmpwi r5, 8 -/* 80114488 001113E8 38 85 FF F8 */ addi r4, r5, -8 -/* 8011448C 001113EC 40 81 00 20 */ ble lbl_801144AC -/* 80114490 001113F0 38 04 00 07 */ addi r0, r4, 7 -/* 80114494 001113F4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80114498 001113F8 7C 09 03 A6 */ mtctr r0 -/* 8011449C 001113FC 2C 04 00 00 */ cmpwi r4, 0 -/* 801144A0 00111400 40 81 00 0C */ ble lbl_801144AC -lbl_801144A4: -/* 801144A4 00111404 38 63 00 08 */ addi r3, r3, 8 -/* 801144A8 00111408 42 00 FF FC */ bdnz lbl_801144A4 -lbl_801144AC: -/* 801144AC 0011140C 7C 03 28 50 */ subf r0, r3, r5 -/* 801144B0 00111410 7C 09 03 A6 */ mtctr r0 -/* 801144B4 00111414 7C 03 28 00 */ cmpw r3, r5 -/* 801144B8 00111418 40 80 00 08 */ bge lbl_801144C0 -lbl_801144BC: -/* 801144BC 0011141C 42 00 00 00 */ bdnz lbl_801144BC -lbl_801144C0: -/* 801144C0 00111420 38 00 00 00 */ li r0, 0 -/* 801144C4 00111424 90 1E 01 3C */ stw r0, 0x13c(r30) -lbl_801144C8: -/* 801144C8 00111428 34 1E 01 30 */ addic. r0, r30, 0x130 -/* 801144CC 0011142C 41 82 00 18 */ beq lbl_801144E4 -/* 801144D0 00111430 34 1E 01 30 */ addic. r0, r30, 0x130 -/* 801144D4 00111434 41 82 00 10 */ beq lbl_801144E4 -/* 801144D8 00111438 38 7E 01 30 */ addi r3, r30, 0x130 -/* 801144DC 0011143C 38 80 00 00 */ li r4, 0 -/* 801144E0 00111440 48 22 C9 61 */ bl __dt__6CTokenFv -lbl_801144E4: -/* 801144E4 00111444 34 1E 01 24 */ addic. r0, r30, 0x124 -/* 801144E8 00111448 41 82 00 18 */ beq lbl_80114500 -/* 801144EC 0011144C 34 1E 01 24 */ addic. r0, r30, 0x124 -/* 801144F0 00111450 41 82 00 10 */ beq lbl_80114500 -/* 801144F4 00111454 38 7E 01 24 */ addi r3, r30, 0x124 -/* 801144F8 00111458 38 80 00 00 */ li r4, 0 -/* 801144FC 0011145C 48 22 C9 45 */ bl __dt__6CTokenFv -lbl_80114500: -/* 80114500 00111460 34 1E 01 14 */ addic. r0, r30, 0x114 -/* 80114504 00111464 41 82 00 18 */ beq lbl_8011451C -/* 80114508 00111468 34 1E 01 14 */ addic. r0, r30, 0x114 -/* 8011450C 0011146C 41 82 00 10 */ beq lbl_8011451C -/* 80114510 00111470 38 7E 01 14 */ addi r3, r30, 0x114 -/* 80114514 00111474 38 80 00 00 */ li r4, 0 -/* 80114518 00111478 48 22 C9 29 */ bl __dt__6CTokenFv -lbl_8011451C: -/* 8011451C 0011147C 34 1E 01 08 */ addic. r0, r30, 0x108 -/* 80114520 00111480 41 82 00 18 */ beq lbl_80114538 -/* 80114524 00111484 34 1E 01 08 */ addic. r0, r30, 0x108 -/* 80114528 00111488 41 82 00 10 */ beq lbl_80114538 -/* 8011452C 0011148C 38 7E 01 08 */ addi r3, r30, 0x108 -/* 80114530 00111490 38 80 00 00 */ li r4, 0 -/* 80114534 00111494 48 22 C9 0D */ bl __dt__6CTokenFv -lbl_80114538: -/* 80114538 00111498 34 1E 00 FC */ addic. r0, r30, 0xfc -/* 8011453C 0011149C 41 82 00 18 */ beq lbl_80114554 -/* 80114540 001114A0 34 1E 00 FC */ addic. r0, r30, 0xfc -/* 80114544 001114A4 41 82 00 10 */ beq lbl_80114554 -/* 80114548 001114A8 38 7E 00 FC */ addi r3, r30, 0xfc -/* 8011454C 001114AC 38 80 00 00 */ li r4, 0 -/* 80114550 001114B0 48 22 C8 F1 */ bl __dt__6CTokenFv -lbl_80114554: -/* 80114554 001114B4 34 1E 00 F0 */ addic. r0, r30, 0xf0 -/* 80114558 001114B8 41 82 00 18 */ beq lbl_80114570 -/* 8011455C 001114BC 34 1E 00 F0 */ addic. r0, r30, 0xf0 -/* 80114560 001114C0 41 82 00 10 */ beq lbl_80114570 -/* 80114564 001114C4 38 7E 00 F0 */ addi r3, r30, 0xf0 -/* 80114568 001114C8 38 80 00 00 */ li r4, 0 -/* 8011456C 001114CC 48 22 C8 D5 */ bl __dt__6CTokenFv -lbl_80114570: -/* 80114570 001114D0 34 1E 00 E4 */ addic. r0, r30, 0xe4 -/* 80114574 001114D4 41 82 00 18 */ beq lbl_8011458C -/* 80114578 001114D8 34 1E 00 E4 */ addic. r0, r30, 0xe4 -/* 8011457C 001114DC 41 82 00 10 */ beq lbl_8011458C -/* 80114580 001114E0 38 7E 00 E4 */ addi r3, r30, 0xe4 -/* 80114584 001114E4 38 80 00 00 */ li r4, 0 -/* 80114588 001114E8 48 22 C8 B9 */ bl __dt__6CTokenFv -lbl_8011458C: -/* 8011458C 001114EC 34 1E 00 D8 */ addic. r0, r30, 0xd8 -/* 80114590 001114F0 41 82 00 18 */ beq lbl_801145A8 -/* 80114594 001114F4 34 1E 00 D8 */ addic. r0, r30, 0xd8 -/* 80114598 001114F8 41 82 00 10 */ beq lbl_801145A8 -/* 8011459C 001114FC 38 7E 00 D8 */ addi r3, r30, 0xd8 -/* 801145A0 00111500 38 80 00 00 */ li r4, 0 -/* 801145A4 00111504 48 22 C8 9D */ bl __dt__6CTokenFv -lbl_801145A8: -/* 801145A8 00111508 34 1E 00 CC */ addic. r0, r30, 0xcc -/* 801145AC 0011150C 41 82 00 18 */ beq lbl_801145C4 -/* 801145B0 00111510 34 1E 00 CC */ addic. r0, r30, 0xcc -/* 801145B4 00111514 41 82 00 10 */ beq lbl_801145C4 -/* 801145B8 00111518 38 7E 00 CC */ addi r3, r30, 0xcc -/* 801145BC 0011151C 38 80 00 00 */ li r4, 0 -/* 801145C0 00111520 48 22 C8 81 */ bl __dt__6CTokenFv -lbl_801145C4: -/* 801145C4 00111524 34 1E 00 90 */ addic. r0, r30, 0x90 -/* 801145C8 00111528 41 82 00 38 */ beq lbl_80114600 -/* 801145CC 0011152C 34 1E 00 90 */ addic. r0, r30, 0x90 -/* 801145D0 00111530 41 82 00 30 */ beq lbl_80114600 -/* 801145D4 00111534 88 1E 00 9C */ lbz r0, 0x9c(r30) -/* 801145D8 00111538 28 00 00 00 */ cmplwi r0, 0 -/* 801145DC 0011153C 41 82 00 1C */ beq lbl_801145F8 -/* 801145E0 00111540 34 7E 00 90 */ addic. r3, r30, 0x90 -/* 801145E4 00111544 41 82 00 14 */ beq lbl_801145F8 -/* 801145E8 00111548 28 03 00 00 */ cmplwi r3, 0 -/* 801145EC 0011154C 41 82 00 0C */ beq lbl_801145F8 -/* 801145F0 00111550 38 80 00 00 */ li r4, 0 -/* 801145F4 00111554 48 22 C8 4D */ bl __dt__6CTokenFv -lbl_801145F8: -/* 801145F8 00111558 38 00 00 00 */ li r0, 0 -/* 801145FC 0011155C 98 1E 00 9C */ stb r0, 0x9c(r30) -lbl_80114600: -/* 80114600 00111560 34 1E 00 64 */ addic. r0, r30, 0x64 -/* 80114604 00111564 41 82 00 3C */ beq lbl_80114640 -/* 80114608 00111568 34 1E 00 88 */ addic. r0, r30, 0x88 -/* 8011460C 0011156C 41 82 00 34 */ beq lbl_80114640 -/* 80114610 00111570 88 1E 00 88 */ lbz r0, 0x88(r30) -/* 80114614 00111574 28 00 00 00 */ cmplwi r0, 0 -/* 80114618 00111578 41 82 00 28 */ beq lbl_80114640 -/* 8011461C 0011157C 83 BE 00 8C */ lwz r29, 0x8c(r30) -/* 80114620 00111580 28 1D 00 00 */ cmplwi r29, 0 -/* 80114624 00111584 41 82 00 1C */ beq lbl_80114640 -/* 80114628 00111588 41 82 00 10 */ beq lbl_80114638 -/* 8011462C 0011158C 7F A3 EB 78 */ mr r3, r29 -/* 80114630 00111590 38 80 00 00 */ li r4, 0 -/* 80114634 00111594 48 22 C8 0D */ bl __dt__6CTokenFv -lbl_80114638: -/* 80114638 00111598 7F A3 EB 78 */ mr r3, r29 -/* 8011463C 0011159C 48 20 12 F5 */ bl Free__7CMemoryFPCv -lbl_80114640: -/* 80114640 001115A0 28 1E 00 00 */ cmplwi r30, 0 -/* 80114644 001115A4 41 82 00 58 */ beq lbl_8011469C -/* 80114648 001115A8 80 BE 00 00 */ lwz r5, 0(r30) -/* 8011464C 001115AC 38 60 00 00 */ li r3, 0 -/* 80114650 001115B0 2C 05 00 00 */ cmpwi r5, 0 -/* 80114654 001115B4 40 81 00 40 */ ble lbl_80114694 -/* 80114658 001115B8 2C 05 00 08 */ cmpwi r5, 8 -/* 8011465C 001115BC 38 85 FF F8 */ addi r4, r5, -8 -/* 80114660 001115C0 40 81 00 20 */ ble lbl_80114680 -/* 80114664 001115C4 38 04 00 07 */ addi r0, r4, 7 -/* 80114668 001115C8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8011466C 001115CC 7C 09 03 A6 */ mtctr r0 -/* 80114670 001115D0 2C 04 00 00 */ cmpwi r4, 0 -/* 80114674 001115D4 40 81 00 0C */ ble lbl_80114680 -lbl_80114678: -/* 80114678 001115D8 38 63 00 08 */ addi r3, r3, 8 -/* 8011467C 001115DC 42 00 FF FC */ bdnz lbl_80114678 -lbl_80114680: -/* 80114680 001115E0 7C 03 28 50 */ subf r0, r3, r5 -/* 80114684 001115E4 7C 09 03 A6 */ mtctr r0 -/* 80114688 001115E8 7C 03 28 00 */ cmpw r3, r5 -/* 8011468C 001115EC 40 80 00 08 */ bge lbl_80114694 -lbl_80114690: -/* 80114690 001115F0 42 00 00 00 */ bdnz lbl_80114690 -lbl_80114694: -/* 80114694 001115F4 38 00 00 00 */ li r0, 0 -/* 80114698 001115F8 90 1E 00 00 */ stw r0, 0(r30) -lbl_8011469C: -/* 8011469C 001115FC 7F E0 07 35 */ extsh. r0, r31 -/* 801146A0 00111600 40 81 00 0C */ ble lbl_801146AC -/* 801146A4 00111604 7F C3 F3 78 */ mr r3, r30 -/* 801146A8 00111608 48 20 12 89 */ bl Free__7CMemoryFPCv -lbl_801146AC: -/* 801146AC 0011160C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801146B0 00111610 7F C3 F3 78 */ mr r3, r30 -/* 801146B4 00111614 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801146B8 00111618 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801146BC 0011161C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 801146C0 00111620 7C 08 03 A6 */ mtlr r0 -/* 801146C4 00111624 38 21 00 20 */ addi r1, r1, 0x20 -/* 801146C8 00111628 4E 80 00 20 */ blr - -.global __ct__12CPlayerVisorFRC13CStateManager -__ct__12CPlayerVisorFRC13CStateManager: -/* 801146CC 0011162C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 801146D0 00111630 7C 08 02 A6 */ mflr r0 -/* 801146D4 00111634 38 A0 00 00 */ li r5, 0 -/* 801146D8 00111638 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -/* 801146DC 0011163C 90 01 00 84 */ stw r0, 0x84(r1) -/* 801146E0 00111640 38 00 00 7F */ li r0, 0x7f -/* 801146E4 00111644 C0 22 95 D0 */ lfs f1, lbl_805AB2F0@sda21(r2) -/* 801146E8 00111648 38 8D A8 98 */ addi r4, r13, lbl_805A9458@sda21 -/* 801146EC 0011164C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 801146F0 00111650 7C 7F 1B 78 */ mr r31, r3 -/* 801146F4 00111654 93 C1 00 78 */ stw r30, 0x78(r1) -/* 801146F8 00111658 90 A3 00 00 */ stw r5, 0(r3) -/* 801146FC 0011165C 90 A3 00 1C */ stw r5, 0x1c(r3) -/* 80114700 00111660 38 7F 00 64 */ addi r3, r31, 0x64 -/* 80114704 00111664 90 BF 00 20 */ stw r5, 0x20(r31) -/* 80114708 00111668 98 1F 00 24 */ stb r0, 0x24(r31) -/* 8011470C 0011166C 88 1F 00 25 */ lbz r0, 0x25(r31) -/* 80114710 00111670 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80114714 00111674 98 1F 00 25 */ stb r0, 0x25(r31) -/* 80114718 00111678 88 1F 00 25 */ lbz r0, 0x25(r31) -/* 8011471C 0011167C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80114720 00111680 98 1F 00 25 */ stb r0, 0x25(r31) -/* 80114724 00111684 D0 1F 00 28 */ stfs f0, 0x28(r31) -/* 80114728 00111688 D0 3F 00 2C */ stfs f1, 0x2c(r31) -/* 8011472C 0011168C 90 BF 00 30 */ stw r5, 0x30(r31) -/* 80114730 00111690 90 BF 00 34 */ stw r5, 0x34(r31) -/* 80114734 00111694 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 80114738 00111698 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 8011473C 0011169C C0 0D A8 98 */ lfs f0, lbl_805A9458@sda21(r13) -/* 80114740 001116A0 D0 1F 00 40 */ stfs f0, 0x40(r31) -/* 80114744 001116A4 C0 04 00 04 */ lfs f0, 4(r4) -/* 80114748 001116A8 D0 1F 00 44 */ stfs f0, 0x44(r31) -/* 8011474C 001116AC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80114750 001116B0 D0 1F 00 48 */ stfs f0, 0x48(r31) -/* 80114754 001116B4 C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 80114758 001116B8 D0 1F 00 4C */ stfs f0, 0x4c(r31) -/* 8011475C 001116BC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80114760 001116C0 D0 1F 00 50 */ stfs f0, 0x50(r31) -/* 80114764 001116C4 C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 80114768 001116C8 D0 1F 00 54 */ stfs f0, 0x54(r31) -/* 8011476C 001116CC D0 3F 00 58 */ stfs f1, 0x58(r31) -/* 80114770 001116D0 90 BF 00 5C */ stw r5, 0x5c(r31) -/* 80114774 001116D4 90 BF 00 60 */ stw r5, 0x60(r31) -/* 80114778 001116D8 4B FD 90 15 */ bl __ct__17CCameraFilterPassFv -/* 8011477C 001116DC 38 7F 00 90 */ addi r3, r31, 0x90 -/* 80114780 001116E0 4B FD 78 BD */ bl __ct__15CCameraBlurPassFv -/* 80114784 001116E4 C0 02 95 D0 */ lfs f0, lbl_805AB2F0@sda21(r2) -/* 80114788 001116E8 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 8011478C 001116EC 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 80114790 001116F0 D0 1F 00 C4 */ stfs f0, 0xc4(r31) -/* 80114794 001116F4 38 61 00 64 */ addi r3, r1, 0x64 -/* 80114798 001116F8 D0 1F 00 C8 */ stfs f0, 0xc8(r31) -/* 8011479C 001116FC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801147A0 00111700 81 84 00 00 */ lwz r12, 0(r4) -/* 801147A4 00111704 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 801147A8 00111708 7D 89 03 A6 */ mtctr r12 -/* 801147AC 0011170C 4E 80 04 21 */ bctrl -/* 801147B0 00111710 3B DF 00 CC */ addi r30, r31, 0xcc -/* 801147B4 00111714 38 81 00 64 */ addi r4, r1, 0x64 -/* 801147B8 00111718 7F C3 F3 78 */ mr r3, r30 -/* 801147BC 0011171C 48 22 C6 ED */ bl __ct__6CTokenFRC6CToken -/* 801147C0 00111720 38 00 00 00 */ li r0, 0 -/* 801147C4 00111724 38 61 00 64 */ addi r3, r1, 0x64 -/* 801147C8 00111728 90 1E 00 08 */ stw r0, 8(r30) -/* 801147CC 0011172C 38 80 FF FF */ li r4, -1 -/* 801147D0 00111730 48 22 C6 71 */ bl __dt__6CTokenFv -/* 801147D4 00111734 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801147D8 00111738 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 801147DC 0011173C 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 801147E0 00111740 38 61 00 5C */ addi r3, r1, 0x5c -/* 801147E4 00111744 81 84 00 00 */ lwz r12, 0(r4) -/* 801147E8 00111748 38 A5 00 15 */ addi r5, r5, 0x15 -/* 801147EC 0011174C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 801147F0 00111750 7D 89 03 A6 */ mtctr r12 -/* 801147F4 00111754 4E 80 04 21 */ bctrl -/* 801147F8 00111758 3B DF 00 D8 */ addi r30, r31, 0xd8 -/* 801147FC 0011175C 38 81 00 5C */ addi r4, r1, 0x5c -/* 80114800 00111760 7F C3 F3 78 */ mr r3, r30 -/* 80114804 00111764 48 22 C6 A5 */ bl __ct__6CTokenFRC6CToken -/* 80114808 00111768 38 00 00 00 */ li r0, 0 -/* 8011480C 0011176C 38 61 00 5C */ addi r3, r1, 0x5c -/* 80114810 00111770 90 1E 00 08 */ stw r0, 8(r30) -/* 80114814 00111774 38 80 FF FF */ li r4, -1 -/* 80114818 00111778 48 22 C6 29 */ bl __dt__6CTokenFv -/* 8011481C 0011177C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80114820 00111780 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 80114824 00111784 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 80114828 00111788 38 61 00 54 */ addi r3, r1, 0x54 -/* 8011482C 0011178C 81 84 00 00 */ lwz r12, 0(r4) -/* 80114830 00111790 38 A5 00 2E */ addi r5, r5, 0x2e -/* 80114834 00111794 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80114838 00111798 7D 89 03 A6 */ mtctr r12 -/* 8011483C 0011179C 4E 80 04 21 */ bctrl -/* 80114840 001117A0 3B DF 00 E4 */ addi r30, r31, 0xe4 -/* 80114844 001117A4 38 81 00 54 */ addi r4, r1, 0x54 -/* 80114848 001117A8 7F C3 F3 78 */ mr r3, r30 -/* 8011484C 001117AC 48 22 C6 5D */ bl __ct__6CTokenFRC6CToken -/* 80114850 001117B0 38 00 00 00 */ li r0, 0 -/* 80114854 001117B4 38 61 00 54 */ addi r3, r1, 0x54 -/* 80114858 001117B8 90 1E 00 08 */ stw r0, 8(r30) -/* 8011485C 001117BC 38 80 FF FF */ li r4, -1 -/* 80114860 001117C0 48 22 C5 E1 */ bl __dt__6CTokenFv -/* 80114864 001117C4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80114868 001117C8 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 8011486C 001117CC 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 80114870 001117D0 38 61 00 4C */ addi r3, r1, 0x4c -/* 80114874 001117D4 81 84 00 00 */ lwz r12, 0(r4) -/* 80114878 001117D8 38 A5 00 46 */ addi r5, r5, 0x46 -/* 8011487C 001117DC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80114880 001117E0 7D 89 03 A6 */ mtctr r12 -/* 80114884 001117E4 4E 80 04 21 */ bctrl -/* 80114888 001117E8 3B DF 00 F0 */ addi r30, r31, 0xf0 -/* 8011488C 001117EC 38 81 00 4C */ addi r4, r1, 0x4c -/* 80114890 001117F0 7F C3 F3 78 */ mr r3, r30 -/* 80114894 001117F4 48 22 C6 15 */ bl __ct__6CTokenFRC6CToken -/* 80114898 001117F8 38 00 00 00 */ li r0, 0 -/* 8011489C 001117FC 38 61 00 4C */ addi r3, r1, 0x4c -/* 801148A0 00111800 90 1E 00 08 */ stw r0, 8(r30) -/* 801148A4 00111804 38 80 FF FF */ li r4, -1 -/* 801148A8 00111808 48 22 C5 99 */ bl __dt__6CTokenFv -/* 801148AC 0011180C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801148B0 00111810 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 801148B4 00111814 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 801148B8 00111818 38 61 00 44 */ addi r3, r1, 0x44 -/* 801148BC 0011181C 81 84 00 00 */ lwz r12, 0(r4) -/* 801148C0 00111820 38 A5 00 60 */ addi r5, r5, 0x60 -/* 801148C4 00111824 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 801148C8 00111828 7D 89 03 A6 */ mtctr r12 -/* 801148CC 0011182C 4E 80 04 21 */ bctrl -/* 801148D0 00111830 3B DF 00 FC */ addi r30, r31, 0xfc -/* 801148D4 00111834 38 81 00 44 */ addi r4, r1, 0x44 -/* 801148D8 00111838 7F C3 F3 78 */ mr r3, r30 -/* 801148DC 0011183C 48 22 C5 CD */ bl __ct__6CTokenFRC6CToken -/* 801148E0 00111840 38 00 00 00 */ li r0, 0 -/* 801148E4 00111844 38 61 00 44 */ addi r3, r1, 0x44 -/* 801148E8 00111848 90 1E 00 08 */ stw r0, 8(r30) -/* 801148EC 0011184C 38 80 FF FF */ li r4, -1 -/* 801148F0 00111850 48 22 C5 51 */ bl __dt__6CTokenFv -/* 801148F4 00111854 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801148F8 00111858 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 801148FC 0011185C 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 80114900 00111860 38 61 00 3C */ addi r3, r1, 0x3c -/* 80114904 00111864 81 84 00 00 */ lwz r12, 0(r4) -/* 80114908 00111868 38 A5 00 79 */ addi r5, r5, 0x79 -/* 8011490C 0011186C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80114910 00111870 7D 89 03 A6 */ mtctr r12 -/* 80114914 00111874 4E 80 04 21 */ bctrl -/* 80114918 00111878 3B DF 01 08 */ addi r30, r31, 0x108 -/* 8011491C 0011187C 38 81 00 3C */ addi r4, r1, 0x3c -/* 80114920 00111880 7F C3 F3 78 */ mr r3, r30 -/* 80114924 00111884 48 22 C5 85 */ bl __ct__6CTokenFRC6CToken -/* 80114928 00111888 38 00 00 00 */ li r0, 0 -/* 8011492C 0011188C 38 61 00 3C */ addi r3, r1, 0x3c -/* 80114930 00111890 90 1E 00 08 */ stw r0, 8(r30) -/* 80114934 00111894 38 80 FF FF */ li r4, -1 -/* 80114938 00111898 48 22 C5 09 */ bl __dt__6CTokenFv -/* 8011493C 0011189C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80114940 001118A0 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 80114944 001118A4 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 80114948 001118A8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8011494C 001118AC 81 84 00 00 */ lwz r12, 0(r4) -/* 80114950 001118B0 38 A5 00 8A */ addi r5, r5, 0x8a -/* 80114954 001118B4 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80114958 001118B8 7D 89 03 A6 */ mtctr r12 -/* 8011495C 001118BC 4E 80 04 21 */ bctrl -/* 80114960 001118C0 3B DF 01 14 */ addi r30, r31, 0x114 -/* 80114964 001118C4 38 81 00 34 */ addi r4, r1, 0x34 -/* 80114968 001118C8 7F C3 F3 78 */ mr r3, r30 -/* 8011496C 001118CC 48 22 C5 3D */ bl __ct__6CTokenFRC6CToken -/* 80114970 001118D0 38 00 00 00 */ li r0, 0 -/* 80114974 001118D4 38 61 00 34 */ addi r3, r1, 0x34 -/* 80114978 001118D8 90 1E 00 08 */ stw r0, 8(r30) -/* 8011497C 001118DC 38 80 FF FF */ li r4, -1 -/* 80114980 001118E0 48 22 C4 C1 */ bl __dt__6CTokenFv -/* 80114984 001118E4 38 00 00 00 */ li r0, 0 -/* 80114988 001118E8 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 8011498C 001118EC 90 1F 01 20 */ stw r0, 0x120(r31) -/* 80114990 001118F0 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 80114994 001118F4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80114998 001118F8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8011499C 001118FC 38 A5 00 9A */ addi r5, r5, 0x9a -/* 801149A0 00111900 81 84 00 00 */ lwz r12, 0(r4) -/* 801149A4 00111904 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 801149A8 00111908 7D 89 03 A6 */ mtctr r12 -/* 801149AC 0011190C 4E 80 04 21 */ bctrl -/* 801149B0 00111910 3B DF 01 24 */ addi r30, r31, 0x124 -/* 801149B4 00111914 38 81 00 2C */ addi r4, r1, 0x2c -/* 801149B8 00111918 7F C3 F3 78 */ mr r3, r30 -/* 801149BC 0011191C 48 22 C4 ED */ bl __ct__6CTokenFRC6CToken -/* 801149C0 00111920 38 00 00 00 */ li r0, 0 -/* 801149C4 00111924 38 61 00 2C */ addi r3, r1, 0x2c -/* 801149C8 00111928 90 1E 00 08 */ stw r0, 8(r30) -/* 801149CC 0011192C 38 80 FF FF */ li r4, -1 -/* 801149D0 00111930 48 22 C4 71 */ bl __dt__6CTokenFv -/* 801149D4 00111934 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801149D8 00111938 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 801149DC 0011193C 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 801149E0 00111940 38 61 00 24 */ addi r3, r1, 0x24 -/* 801149E4 00111944 81 84 00 00 */ lwz r12, 0(r4) -/* 801149E8 00111948 38 A5 00 B3 */ addi r5, r5, 0xb3 -/* 801149EC 0011194C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 801149F0 00111950 7D 89 03 A6 */ mtctr r12 -/* 801149F4 00111954 4E 80 04 21 */ bctrl -/* 801149F8 00111958 3B DF 01 30 */ addi r30, r31, 0x130 -/* 801149FC 0011195C 38 81 00 24 */ addi r4, r1, 0x24 -/* 80114A00 00111960 7F C3 F3 78 */ mr r3, r30 -/* 80114A04 00111964 48 22 C4 A5 */ bl __ct__6CTokenFRC6CToken -/* 80114A08 00111968 38 00 00 00 */ li r0, 0 -/* 80114A0C 0011196C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80114A10 00111970 90 1E 00 08 */ stw r0, 8(r30) -/* 80114A14 00111974 38 80 FF FF */ li r4, -1 -/* 80114A18 00111978 48 22 C4 29 */ bl __dt__6CTokenFv -/* 80114A1C 0011197C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 80114A20 00111980 38 A0 00 40 */ li r5, 0x40 -/* 80114A24 00111984 38 C0 00 00 */ li r6, 0 -/* 80114A28 00111988 38 00 00 08 */ li r0, 8 -/* 80114A2C 0011198C 7C C3 33 78 */ mr r3, r6 -/* 80114A30 00111990 B0 81 00 08 */ sth r4, 8(r1) -/* 80114A34 00111994 38 FF 01 40 */ addi r7, r31, 0x140 -/* 80114A38 00111998 54 84 04 3E */ clrlwi r4, r4, 0x10 -/* 80114A3C 0011199C 90 BF 01 3C */ stw r5, 0x13c(r31) -/* 80114A40 001119A0 C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -/* 80114A44 001119A4 7C 09 03 A6 */ mtctr r0 -lbl_80114A48: -/* 80114A48 001119A8 28 07 00 00 */ cmplwi r7, 0 -/* 80114A4C 001119AC 41 82 00 14 */ beq lbl_80114A60 -/* 80114A50 001119B0 B0 87 00 00 */ sth r4, 0(r7) -/* 80114A54 001119B4 D0 07 00 04 */ stfs f0, 4(r7) -/* 80114A58 001119B8 D0 07 00 08 */ stfs f0, 8(r7) -/* 80114A5C 001119BC 98 67 00 0C */ stb r3, 0xc(r7) -lbl_80114A60: -/* 80114A60 001119C0 34 E7 00 10 */ addic. r7, r7, 0x10 -/* 80114A64 001119C4 41 82 00 14 */ beq lbl_80114A78 -/* 80114A68 001119C8 B0 87 00 00 */ sth r4, 0(r7) -/* 80114A6C 001119CC D0 07 00 04 */ stfs f0, 4(r7) -/* 80114A70 001119D0 D0 07 00 08 */ stfs f0, 8(r7) -/* 80114A74 001119D4 98 67 00 0C */ stb r3, 0xc(r7) -lbl_80114A78: -/* 80114A78 001119D8 34 E7 00 10 */ addic. r7, r7, 0x10 -/* 80114A7C 001119DC 41 82 00 14 */ beq lbl_80114A90 -/* 80114A80 001119E0 B0 87 00 00 */ sth r4, 0(r7) -/* 80114A84 001119E4 D0 07 00 04 */ stfs f0, 4(r7) -/* 80114A88 001119E8 D0 07 00 08 */ stfs f0, 8(r7) -/* 80114A8C 001119EC 98 67 00 0C */ stb r3, 0xc(r7) -lbl_80114A90: -/* 80114A90 001119F0 34 E7 00 10 */ addic. r7, r7, 0x10 -/* 80114A94 001119F4 41 82 00 14 */ beq lbl_80114AA8 -/* 80114A98 001119F8 B0 87 00 00 */ sth r4, 0(r7) -/* 80114A9C 001119FC D0 07 00 04 */ stfs f0, 4(r7) -/* 80114AA0 00111A00 D0 07 00 08 */ stfs f0, 8(r7) -/* 80114AA4 00111A04 98 67 00 0C */ stb r3, 0xc(r7) -lbl_80114AA8: -/* 80114AA8 00111A08 34 E7 00 10 */ addic. r7, r7, 0x10 -/* 80114AAC 00111A0C 41 82 00 14 */ beq lbl_80114AC0 -/* 80114AB0 00111A10 B0 87 00 00 */ sth r4, 0(r7) -/* 80114AB4 00111A14 D0 07 00 04 */ stfs f0, 4(r7) -/* 80114AB8 00111A18 D0 07 00 08 */ stfs f0, 8(r7) -/* 80114ABC 00111A1C 98 67 00 0C */ stb r3, 0xc(r7) -lbl_80114AC0: -/* 80114AC0 00111A20 34 E7 00 10 */ addic. r7, r7, 0x10 -/* 80114AC4 00111A24 41 82 00 14 */ beq lbl_80114AD8 -/* 80114AC8 00111A28 B0 87 00 00 */ sth r4, 0(r7) -/* 80114ACC 00111A2C D0 07 00 04 */ stfs f0, 4(r7) -/* 80114AD0 00111A30 D0 07 00 08 */ stfs f0, 8(r7) -/* 80114AD4 00111A34 98 67 00 0C */ stb r3, 0xc(r7) -lbl_80114AD8: -/* 80114AD8 00111A38 34 E7 00 10 */ addic. r7, r7, 0x10 -/* 80114ADC 00111A3C 41 82 00 14 */ beq lbl_80114AF0 -/* 80114AE0 00111A40 B0 87 00 00 */ sth r4, 0(r7) -/* 80114AE4 00111A44 D0 07 00 04 */ stfs f0, 4(r7) -/* 80114AE8 00111A48 D0 07 00 08 */ stfs f0, 8(r7) -/* 80114AEC 00111A4C 98 67 00 0C */ stb r3, 0xc(r7) -lbl_80114AF0: -/* 80114AF0 00111A50 34 E7 00 10 */ addic. r7, r7, 0x10 -/* 80114AF4 00111A54 41 82 00 14 */ beq lbl_80114B08 -/* 80114AF8 00111A58 B0 87 00 00 */ sth r4, 0(r7) -/* 80114AFC 00111A5C D0 07 00 04 */ stfs f0, 4(r7) -/* 80114B00 00111A60 D0 07 00 08 */ stfs f0, 8(r7) -/* 80114B04 00111A64 98 67 00 0C */ stb r3, 0xc(r7) -lbl_80114B08: -/* 80114B08 00111A68 38 C6 00 07 */ addi r6, r6, 7 -/* 80114B0C 00111A6C 38 E7 00 10 */ addi r7, r7, 0x10 -/* 80114B10 00111A70 42 00 FF 38 */ bdnz lbl_80114A48 -/* 80114B14 00111A74 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80114B18 00111A78 3C 60 80 3D */ lis r3, lbl_803CF210@ha -/* 80114B1C 00111A7C 38 A3 F2 10 */ addi r5, r3, lbl_803CF210@l -/* 80114B20 00111A80 38 61 00 1C */ addi r3, r1, 0x1c -/* 80114B24 00111A84 81 84 00 00 */ lwz r12, 0(r4) -/* 80114B28 00111A88 38 A5 00 C9 */ addi r5, r5, 0xc9 -/* 80114B2C 00111A8C 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80114B30 00111A90 7D 89 03 A6 */ mtctr r12 -/* 80114B34 00111A94 4E 80 04 21 */ bctrl -/* 80114B38 00111A98 3B DF 05 40 */ addi r30, r31, 0x540 -/* 80114B3C 00111A9C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80114B40 00111AA0 7F C3 F3 78 */ mr r3, r30 -/* 80114B44 00111AA4 48 22 C3 65 */ bl __ct__6CTokenFRC6CToken -/* 80114B48 00111AA8 38 00 00 00 */ li r0, 0 -/* 80114B4C 00111AAC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80114B50 00111AB0 90 1E 00 08 */ stw r0, 8(r30) -/* 80114B54 00111AB4 38 80 FF FF */ li r4, -1 -/* 80114B58 00111AB8 48 22 C2 E9 */ bl __dt__6CTokenFv -/* 80114B5C 00111ABC C0 02 95 C8 */ lfs f0, lbl_805AB2E8@sda21(r2) -/* 80114B60 00111AC0 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 -/* 80114B64 00111AC4 D0 1F 05 4C */ stfs f0, 0x54c(r31) -/* 80114B68 00111AC8 D0 1F 05 50 */ stfs f0, 0x550(r31) -/* 80114B6C 00111ACC 80 1F 00 00 */ lwz r0, 0(r31) -/* 80114B70 00111AD0 54 00 18 38 */ slwi r0, r0, 3 -/* 80114B74 00111AD4 7C 9F 02 14 */ add r4, r31, r0 -/* 80114B78 00111AD8 34 84 00 04 */ addic. r4, r4, 4 -/* 80114B7C 00111ADC 41 82 00 14 */ beq lbl_80114B90 -/* 80114B80 00111AE0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80114B84 00111AE4 D0 04 00 00 */ stfs f0, 0(r4) -/* 80114B88 00111AE8 C0 03 00 04 */ lfs f0, 4(r3) -/* 80114B8C 00111AEC D0 04 00 04 */ stfs f0, 4(r4) -lbl_80114B90: -/* 80114B90 00111AF0 80 9F 00 00 */ lwz r4, 0(r31) -/* 80114B94 00111AF4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80114B98 00111AF8 38 04 00 01 */ addi r0, r4, 1 -/* 80114B9C 00111AFC 90 1F 00 00 */ stw r0, 0(r31) -/* 80114BA0 00111B00 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80114BA4 00111B04 C0 24 02 58 */ lfs f1, 0x258(r4) -/* 80114BA8 00111B08 C0 44 02 5C */ lfs f2, 0x25c(r4) -/* 80114BAC 00111B0C 48 1F F6 55 */ bl __ct__9CVector2fFff -/* 80114BB0 00111B10 80 1F 00 00 */ lwz r0, 0(r31) -/* 80114BB4 00111B14 54 00 18 38 */ slwi r0, r0, 3 -/* 80114BB8 00111B18 7C 7F 02 14 */ add r3, r31, r0 -/* 80114BBC 00111B1C 34 63 00 04 */ addic. r3, r3, 4 -/* 80114BC0 00111B20 41 82 00 14 */ beq lbl_80114BD4 -/* 80114BC4 00111B24 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80114BC8 00111B28 D0 03 00 00 */ stfs f0, 0(r3) -/* 80114BCC 00111B2C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80114BD0 00111B30 D0 03 00 04 */ stfs f0, 4(r3) -lbl_80114BD4: -/* 80114BD4 00111B34 80 9F 00 00 */ lwz r4, 0(r31) -/* 80114BD8 00111B38 38 61 00 0C */ addi r3, r1, 0xc -/* 80114BDC 00111B3C 38 04 00 01 */ addi r0, r4, 1 -/* 80114BE0 00111B40 90 1F 00 00 */ stw r0, 0(r31) -/* 80114BE4 00111B44 80 8D A1 38 */ lwz r4, gpTweakGui@sda21(r13) -/* 80114BE8 00111B48 C0 24 02 60 */ lfs f1, 0x260(r4) -/* 80114BEC 00111B4C C0 44 02 64 */ lfs f2, 0x264(r4) -/* 80114BF0 00111B50 48 1F F6 11 */ bl __ct__9CVector2fFff -/* 80114BF4 00111B54 80 1F 00 00 */ lwz r0, 0(r31) -/* 80114BF8 00111B58 54 00 18 38 */ slwi r0, r0, 3 -/* 80114BFC 00111B5C 7C 7F 02 14 */ add r3, r31, r0 -/* 80114C00 00111B60 34 63 00 04 */ addic. r3, r3, 4 -/* 80114C04 00111B64 41 82 00 14 */ beq lbl_80114C18 -/* 80114C08 00111B68 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80114C0C 00111B6C D0 03 00 00 */ stfs f0, 0(r3) -/* 80114C10 00111B70 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80114C14 00111B74 D0 03 00 04 */ stfs f0, 4(r3) -lbl_80114C18: -/* 80114C18 00111B78 80 9F 00 00 */ lwz r4, 0(r31) -/* 80114C1C 00111B7C 38 7F 05 40 */ addi r3, r31, 0x540 -/* 80114C20 00111B80 38 04 00 01 */ addi r0, r4, 1 -/* 80114C24 00111B84 90 1F 00 00 */ stw r0, 0(r31) -/* 80114C28 00111B88 48 22 C1 5D */ bl Lock__6CTokenFv -/* 80114C2C 00111B8C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80114C30 00111B90 7F E3 FB 78 */ mr r3, r31 -/* 80114C34 00111B94 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80114C38 00111B98 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80114C3C 00111B9C 7C 08 03 A6 */ mtlr r0 -/* 80114C40 00111BA0 38 21 00 80 */ addi r1, r1, 0x80 -/* 80114C44 00111BA4 4E 80 00 20 */ blr - -.global GetNumMaterialSets__10CModelDataCFv -GetNumMaterialSets__10CModelDataCFv: -/* 80114C48 00111BA8 80 83 00 10 */ lwz r4, 0x10(r3) -/* 80114C4C 00111BAC 28 04 00 00 */ cmplwi r4, 0 -/* 80114C50 00111BB0 41 82 00 14 */ beq lbl_80114C64 -/* 80114C54 00111BB4 80 64 00 E0 */ lwz r3, 0xe0(r4) -/* 80114C58 00111BB8 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80114C5C 00111BBC 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 80114C60 00111BC0 4E 80 00 20 */ blr -lbl_80114C64: -/* 80114C64 00111BC4 88 03 00 28 */ lbz r0, 0x28(r3) -/* 80114C68 00111BC8 28 00 00 00 */ cmplwi r0, 0 -/* 80114C6C 00111BCC 41 82 00 10 */ beq lbl_80114C7C -/* 80114C70 00111BD0 80 63 00 24 */ lwz r3, 0x24(r3) -/* 80114C74 00111BD4 80 63 00 1C */ lwz r3, 0x1c(r3) -/* 80114C78 00111BD8 4E 80 00 20 */ blr -lbl_80114C7C: -/* 80114C7C 00111BDC 38 60 00 01 */ li r3, 1 -/* 80114C80 00111BE0 4E 80 00 20 */ blr - -.global IsLoaded__10CModelDataCFi -IsLoaded__10CModelDataCFi: -/* 80114C84 00111BE4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80114C88 00111BE8 7C 08 02 A6 */ mflr r0 -/* 80114C8C 00111BEC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80114C90 00111BF0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80114C94 00111BF4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80114C98 00111BF8 7C 9E 23 78 */ mr r30, r4 -/* 80114C9C 00111BFC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80114CA0 00111C00 7C 7D 1B 78 */ mr r29, r3 -/* 80114CA4 00111C04 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80114CA8 00111C08 28 1F 00 00 */ cmplwi r31, 0 -/* 80114CAC 00111C0C 41 82 00 78 */ beq lbl_80114D24 -/* 80114CB0 00111C10 80 7F 00 E0 */ lwz r3, 0xe0(r31) -/* 80114CB4 00111C14 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80114CB8 00111C18 48 24 08 F1 */ bl IsLoaded__6CModelCFi -/* 80114CBC 00111C1C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80114CC0 00111C20 40 82 00 0C */ bne lbl_80114CCC -/* 80114CC4 00111C24 38 60 00 00 */ li r3, 0 -/* 80114CC8 00111C28 48 00 00 D8 */ b lbl_80114DA0 -lbl_80114CCC: -/* 80114CCC 00111C2C 80 9F 00 F4 */ lwz r4, 0xf4(r31) -/* 80114CD0 00111C30 80 7F 00 F8 */ lwz r3, 0xf8(r31) -/* 80114CD4 00111C34 80 84 00 00 */ lwz r4, 0(r4) -/* 80114CD8 00111C38 83 E3 00 00 */ lwz r31, 0(r3) -/* 80114CDC 00111C3C 28 04 00 00 */ cmplwi r4, 0 -/* 80114CE0 00111C40 41 82 00 20 */ beq lbl_80114D00 -/* 80114CE4 00111C44 80 64 00 0C */ lwz r3, 0xc(r4) -/* 80114CE8 00111C48 7F C4 F3 78 */ mr r4, r30 -/* 80114CEC 00111C4C 48 24 08 BD */ bl IsLoaded__6CModelCFi -/* 80114CF0 00111C50 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80114CF4 00111C54 40 82 00 0C */ bne lbl_80114D00 -/* 80114CF8 00111C58 38 60 00 00 */ li r3, 0 -/* 80114CFC 00111C5C 48 00 00 A4 */ b lbl_80114DA0 -lbl_80114D00: -/* 80114D00 00111C60 28 1F 00 00 */ cmplwi r31, 0 -/* 80114D04 00111C64 41 82 00 20 */ beq lbl_80114D24 -/* 80114D08 00111C68 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80114D0C 00111C6C 7F C4 F3 78 */ mr r4, r30 -/* 80114D10 00111C70 48 24 08 99 */ bl IsLoaded__6CModelCFi -/* 80114D14 00111C74 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80114D18 00111C78 40 82 00 0C */ bne lbl_80114D24 -/* 80114D1C 00111C7C 38 60 00 00 */ li r3, 0 -/* 80114D20 00111C80 48 00 00 80 */ b lbl_80114DA0 -lbl_80114D24: -/* 80114D24 00111C84 88 1D 00 28 */ lbz r0, 0x28(r29) -/* 80114D28 00111C88 28 00 00 00 */ cmplwi r0, 0 -/* 80114D2C 00111C8C 41 82 00 20 */ beq lbl_80114D4C -/* 80114D30 00111C90 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 80114D34 00111C94 7F C4 F3 78 */ mr r4, r30 -/* 80114D38 00111C98 48 24 08 71 */ bl IsLoaded__6CModelCFi -/* 80114D3C 00111C9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80114D40 00111CA0 40 82 00 0C */ bne lbl_80114D4C -/* 80114D44 00111CA4 38 60 00 00 */ li r3, 0 -/* 80114D48 00111CA8 48 00 00 58 */ b lbl_80114DA0 -lbl_80114D4C: -/* 80114D4C 00111CAC 88 1D 00 38 */ lbz r0, 0x38(r29) -/* 80114D50 00111CB0 28 00 00 00 */ cmplwi r0, 0 -/* 80114D54 00111CB4 41 82 00 20 */ beq lbl_80114D74 -/* 80114D58 00111CB8 80 7D 00 34 */ lwz r3, 0x34(r29) -/* 80114D5C 00111CBC 7F C4 F3 78 */ mr r4, r30 -/* 80114D60 00111CC0 48 24 08 49 */ bl IsLoaded__6CModelCFi -/* 80114D64 00111CC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80114D68 00111CC8 40 82 00 0C */ bne lbl_80114D74 -/* 80114D6C 00111CCC 38 60 00 00 */ li r3, 0 -/* 80114D70 00111CD0 48 00 00 30 */ b lbl_80114DA0 -lbl_80114D74: -/* 80114D74 00111CD4 88 1D 00 48 */ lbz r0, 0x48(r29) -/* 80114D78 00111CD8 28 00 00 00 */ cmplwi r0, 0 -/* 80114D7C 00111CDC 41 82 00 20 */ beq lbl_80114D9C -/* 80114D80 00111CE0 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 80114D84 00111CE4 7F C4 F3 78 */ mr r4, r30 -/* 80114D88 00111CE8 48 24 08 21 */ bl IsLoaded__6CModelCFi -/* 80114D8C 00111CEC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80114D90 00111CF0 40 82 00 0C */ bne lbl_80114D9C -/* 80114D94 00111CF4 38 60 00 00 */ li r3, 0 -/* 80114D98 00111CF8 48 00 00 08 */ b lbl_80114DA0 -lbl_80114D9C: -/* 80114D9C 00111CFC 38 60 00 01 */ li r3, 1 -lbl_80114DA0: -/* 80114DA0 00111D00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80114DA4 00111D04 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80114DA8 00111D08 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80114DAC 00111D0C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80114DB0 00111D10 7C 08 03 A6 */ mtlr r0 -/* 80114DB4 00111D14 38 21 00 20 */ addi r1, r1, 0x20 -/* 80114DB8 00111D18 4E 80 00 20 */ blr - -.global Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags: -/* 80114DBC 00111D1C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80114DC0 00111D20 7C 08 02 A6 */ mflr r0 -/* 80114DC4 00111D24 90 01 00 24 */ stw r0, 0x24(r1) -/* 80114DC8 00111D28 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80114DCC 00111D2C 7C FF 3B 78 */ mr r31, r7 -/* 80114DD0 00111D30 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80114DD4 00111D34 7C DE 33 78 */ mr r30, r6 -/* 80114DD8 00111D38 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80114DDC 00111D3C 7C BD 2B 78 */ mr r29, r5 -/* 80114DE0 00111D40 93 81 00 10 */ stw r28, 0x10(r1) -/* 80114DE4 00111D44 7C 7C 1B 78 */ mr r28, r3 -/* 80114DE8 00111D48 7C 83 23 78 */ mr r3, r4 -/* 80114DEC 00111D4C 48 00 00 F1 */ bl GetRenderingModel__10CModelDataFRC13CStateManager -/* 80114DF0 00111D50 7C 64 1B 78 */ mr r4, r3 -/* 80114DF4 00111D54 7F 83 E3 78 */ mr r3, r28 -/* 80114DF8 00111D58 7F A5 EB 78 */ mr r5, r29 -/* 80114DFC 00111D5C 7F C6 F3 78 */ mr r6, r30 -/* 80114E00 00111D60 7F E7 FB 78 */ mr r7, r31 -/* 80114E04 00111D64 48 00 1A 71 */ bl Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 80114E08 00111D68 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80114E0C 00111D6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80114E10 00111D70 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80114E14 00111D74 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80114E18 00111D78 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80114E1C 00111D7C 7C 08 03 A6 */ mtlr r0 -/* 80114E20 00111D80 38 21 00 20 */ addi r1, r1, 0x20 -/* 80114E24 00111D84 4E 80 00 20 */ blr - -.global HasModel__10CModelDataCF11EWhichModel -HasModel__10CModelDataCF11EWhichModel: -/* 80114E28 00111D88 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 80114E2C 00111D8C 28 05 00 00 */ cmplwi r5, 0 -/* 80114E30 00111D90 41 82 00 68 */ beq lbl_80114E98 -/* 80114E34 00111D94 2C 04 00 01 */ cmpwi r4, 1 -/* 80114E38 00111D98 41 82 00 28 */ beq lbl_80114E60 -/* 80114E3C 00111D9C 40 80 00 10 */ bge lbl_80114E4C -/* 80114E40 00111DA0 2C 04 00 00 */ cmpwi r4, 0 -/* 80114E44 00111DA4 40 80 00 14 */ bge lbl_80114E58 -/* 80114E48 00111DA8 48 00 00 48 */ b lbl_80114E90 -lbl_80114E4C: -/* 80114E4C 00111DAC 2C 04 00 04 */ cmpwi r4, 4 -/* 80114E50 00111DB0 40 80 00 40 */ bge lbl_80114E90 -/* 80114E54 00111DB4 48 00 00 24 */ b lbl_80114E78 -lbl_80114E58: -/* 80114E58 00111DB8 38 60 00 01 */ li r3, 1 -/* 80114E5C 00111DBC 4E 80 00 20 */ blr -lbl_80114E60: -/* 80114E60 00111DC0 80 65 00 F4 */ lwz r3, 0xf4(r5) -/* 80114E64 00111DC4 80 63 00 00 */ lwz r3, 0(r3) -/* 80114E68 00111DC8 7C 03 00 D0 */ neg r0, r3 -/* 80114E6C 00111DCC 7C 00 1B 78 */ or r0, r0, r3 -/* 80114E70 00111DD0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80114E74 00111DD4 4E 80 00 20 */ blr -lbl_80114E78: -/* 80114E78 00111DD8 80 65 00 F8 */ lwz r3, 0xf8(r5) -/* 80114E7C 00111DDC 80 63 00 00 */ lwz r3, 0(r3) -/* 80114E80 00111DE0 7C 03 00 D0 */ neg r0, r3 -/* 80114E84 00111DE4 7C 00 1B 78 */ or r0, r0, r3 -/* 80114E88 00111DE8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80114E8C 00111DEC 4E 80 00 20 */ blr -lbl_80114E90: -/* 80114E90 00111DF0 38 60 00 00 */ li r3, 0 -/* 80114E94 00111DF4 4E 80 00 20 */ blr -lbl_80114E98: -/* 80114E98 00111DF8 2C 04 00 01 */ cmpwi r4, 1 -/* 80114E9C 00111DFC 41 82 00 28 */ beq lbl_80114EC4 -/* 80114EA0 00111E00 40 80 00 10 */ bge lbl_80114EB0 -/* 80114EA4 00111E04 2C 04 00 00 */ cmpwi r4, 0 -/* 80114EA8 00111E08 40 80 00 14 */ bge lbl_80114EBC -/* 80114EAC 00111E0C 48 00 00 28 */ b lbl_80114ED4 -lbl_80114EB0: -/* 80114EB0 00111E10 2C 04 00 04 */ cmpwi r4, 4 -/* 80114EB4 00111E14 40 80 00 20 */ bge lbl_80114ED4 -/* 80114EB8 00111E18 48 00 00 14 */ b lbl_80114ECC -lbl_80114EBC: -/* 80114EBC 00111E1C 88 63 00 28 */ lbz r3, 0x28(r3) -/* 80114EC0 00111E20 4E 80 00 20 */ blr -lbl_80114EC4: -/* 80114EC4 00111E24 88 63 00 38 */ lbz r3, 0x38(r3) -/* 80114EC8 00111E28 4E 80 00 20 */ blr -lbl_80114ECC: -/* 80114ECC 00111E2C 88 63 00 48 */ lbz r3, 0x48(r3) -/* 80114ED0 00111E30 4E 80 00 20 */ blr -lbl_80114ED4: -/* 80114ED4 00111E34 38 60 00 00 */ li r3, 0 -/* 80114ED8 00111E38 4E 80 00 20 */ blr - -.global GetRenderingModel__10CModelDataFRC13CStateManager -GetRenderingModel__10CModelDataFRC13CStateManager: -/* 80114EDC 00111E3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80114EE0 00111E40 7C 08 02 A6 */ mflr r0 -/* 80114EE4 00111E44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80114EE8 00111E48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80114EEC 00111E4C 7C 7F 1B 78 */ mr r31, r3 -/* 80114EF0 00111E50 7F E4 FB 78 */ mr r4, r31 -/* 80114EF4 00111E54 80 63 08 B8 */ lwz r3, 0x8b8(r3) -/* 80114EF8 00111E58 80 63 00 00 */ lwz r3, 0(r3) -/* 80114EFC 00111E5C 4B F7 C6 5D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80114F00 00111E60 2C 03 00 02 */ cmpwi r3, 2 -/* 80114F04 00111E64 41 82 00 40 */ beq lbl_80114F44 -/* 80114F08 00111E68 40 80 00 10 */ bge lbl_80114F18 -/* 80114F0C 00111E6C 2C 03 00 01 */ cmpwi r3, 1 -/* 80114F10 00111E70 40 80 00 14 */ bge lbl_80114F24 -/* 80114F14 00111E74 48 00 00 30 */ b lbl_80114F44 -lbl_80114F18: -/* 80114F18 00111E78 2C 03 00 04 */ cmpwi r3, 4 -/* 80114F1C 00111E7C 40 80 00 28 */ bge lbl_80114F44 -/* 80114F20 00111E80 48 00 00 0C */ b lbl_80114F2C -lbl_80114F24: -/* 80114F24 00111E84 38 60 00 01 */ li r3, 1 -/* 80114F28 00111E88 48 00 00 20 */ b lbl_80114F48 -lbl_80114F2C: -/* 80114F2C 00111E8C 80 1F 0F 34 */ lwz r0, 0xf34(r31) -/* 80114F30 00111E90 38 60 00 03 */ li r3, 3 -/* 80114F34 00111E94 2C 00 00 01 */ cmpwi r0, 1 -/* 80114F38 00111E98 40 82 00 10 */ bne lbl_80114F48 -/* 80114F3C 00111E9C 38 60 00 02 */ li r3, 2 -/* 80114F40 00111EA0 48 00 00 08 */ b lbl_80114F48 -lbl_80114F44: -/* 80114F44 00111EA4 38 60 00 00 */ li r3, 0 -lbl_80114F48: -/* 80114F48 00111EA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80114F4C 00111EAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80114F50 00111EB0 7C 08 03 A6 */ mtlr r0 -/* 80114F54 00111EB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80114F58 00111EB8 4E 80 00 20 */ blr - -.global PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel: -/* 80114F5C 00111EBC 2C 04 00 01 */ cmpwi r4, 1 -/* 80114F60 00111EC0 38 00 00 00 */ li r0, 0 -/* 80114F64 00111EC4 41 82 00 20 */ beq lbl_80114F84 -/* 80114F68 00111EC8 41 80 00 28 */ blt lbl_80114F90 -/* 80114F6C 00111ECC 2C 04 00 04 */ cmpwi r4, 4 -/* 80114F70 00111ED0 40 80 00 20 */ bge lbl_80114F90 -/* 80114F74 00111ED4 80 83 00 10 */ lwz r4, 0x10(r3) -/* 80114F78 00111ED8 80 84 00 F8 */ lwz r4, 0xf8(r4) -/* 80114F7C 00111EDC 80 04 00 00 */ lwz r0, 0(r4) -/* 80114F80 00111EE0 48 00 00 10 */ b lbl_80114F90 -lbl_80114F84: -/* 80114F84 00111EE4 80 83 00 10 */ lwz r4, 0x10(r3) -/* 80114F88 00111EE8 80 84 00 F4 */ lwz r4, 0xf4(r4) -/* 80114F8C 00111EEC 80 04 00 00 */ lwz r0, 0(r4) -lbl_80114F90: -/* 80114F90 00111EF0 28 00 00 00 */ cmplwi r0, 0 -/* 80114F94 00111EF4 41 82 00 0C */ beq lbl_80114FA0 -/* 80114F98 00111EF8 7C 03 03 78 */ mr r3, r0 -/* 80114F9C 00111EFC 4E 80 00 20 */ blr -lbl_80114FA0: -/* 80114FA0 00111F00 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80114FA4 00111F04 80 63 00 E0 */ lwz r3, 0xe0(r3) -/* 80114FA8 00111F08 4E 80 00 20 */ blr - -.global PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel: -/* 80114FAC 00111F0C 2C 04 00 01 */ cmpwi r4, 1 -/* 80114FB0 00111F10 41 82 00 24 */ beq lbl_80114FD4 -/* 80114FB4 00111F14 41 80 00 34 */ blt lbl_80114FE8 -/* 80114FB8 00111F18 2C 04 00 04 */ cmpwi r4, 4 -/* 80114FBC 00111F1C 40 80 00 2C */ bge lbl_80114FE8 -/* 80114FC0 00111F20 88 03 00 48 */ lbz r0, 0x48(r3) -/* 80114FC4 00111F24 28 00 00 00 */ cmplwi r0, 0 -/* 80114FC8 00111F28 41 82 00 20 */ beq lbl_80114FE8 -/* 80114FCC 00111F2C 38 63 00 3C */ addi r3, r3, 0x3c -/* 80114FD0 00111F30 4E 80 00 20 */ blr -lbl_80114FD4: -/* 80114FD4 00111F34 88 03 00 38 */ lbz r0, 0x38(r3) -/* 80114FD8 00111F38 28 00 00 00 */ cmplwi r0, 0 -/* 80114FDC 00111F3C 41 82 00 0C */ beq lbl_80114FE8 -/* 80114FE0 00111F40 38 63 00 2C */ addi r3, r3, 0x2c -/* 80114FE4 00111F44 4E 80 00 20 */ blr -lbl_80114FE8: -/* 80114FE8 00111F48 38 63 00 1C */ addi r3, r3, 0x1c -/* 80114FEC 00111F4C 4E 80 00 20 */ blr - -.global "SetXRayModel__10CModelDataFRCQ24rstl11pair" -"SetXRayModel__10CModelDataFRCQ24rstl11pair": -/* 80114FF0 00111F50 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80114FF4 00111F54 7C 08 02 A6 */ mflr r0 -/* 80114FF8 00111F58 90 01 00 84 */ stw r0, 0x84(r1) -/* 80114FFC 00111F5C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80115000 00111F60 7C 7F 1B 78 */ mr r31, r3 -/* 80115004 00111F64 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80115008 00111F68 7C 9E 23 78 */ mr r30, r4 -/* 8011500C 00111F6C 93 A1 00 74 */ stw r29, 0x74(r1) -/* 80115010 00111F70 80 84 00 00 */ lwz r4, 0(r4) -/* 80115014 00111F74 28 04 00 00 */ cmplwi r4, 0 -/* 80115018 00111F78 41 82 02 20 */ beq lbl_80115238 -/* 8011501C 00111F7C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80115020 00111F80 38 63 00 04 */ addi r3, r3, 4 -/* 80115024 00111F84 48 22 6C A9 */ bl GetResourceTypeById__10CResLoaderCFUi -/* 80115028 00111F88 3C 03 BC B3 */ addis r0, r3, 0xbcb3 -/* 8011502C 00111F8C 28 00 44 4C */ cmplwi r0, 0x444c -/* 80115030 00111F90 41 82 00 08 */ beq lbl_80115038 -/* 80115034 00111F94 48 00 02 04 */ b lbl_80115238 -lbl_80115038: -/* 80115038 00111F98 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 8011503C 00111F9C 28 00 00 00 */ cmplwi r0, 0 -/* 80115040 00111FA0 41 82 01 3C */ beq lbl_8011517C -/* 80115044 00111FA4 80 9E 00 04 */ lwz r4, 4(r30) -/* 80115048 00111FA8 28 04 00 00 */ cmplwi r4, 0 -/* 8011504C 00111FAC 41 82 01 30 */ beq lbl_8011517C -/* 80115050 00111FB0 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 80115054 00111FB4 38 63 00 04 */ addi r3, r3, 4 -/* 80115058 00111FB8 48 22 6C 75 */ bl GetResourceTypeById__10CResLoaderCFUi -/* 8011505C 00111FBC 3C 03 BC AD */ addis r0, r3, 0xbcad -/* 80115060 00111FC0 28 00 4B 52 */ cmplwi r0, 0x4b52 -/* 80115064 00111FC4 40 82 01 18 */ bne lbl_8011517C -/* 80115068 00111FC8 80 DE 00 00 */ lwz r6, 0(r30) -/* 8011506C 00111FCC 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 80115070 00111FD0 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 80115074 00111FD4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80115078 00111FD8 90 01 00 40 */ stw r0, 0x40(r1) -/* 8011507C 00111FDC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80115080 00111FE0 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80115084 00111FE4 90 C1 00 44 */ stw r6, 0x44(r1) -/* 80115088 00111FE8 81 84 00 00 */ lwz r12, 0(r4) -/* 8011508C 00111FEC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80115090 00111FF0 7D 89 03 A6 */ mtctr r12 -/* 80115094 00111FF4 4E 80 04 21 */ bctrl -/* 80115098 00111FF8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8011509C 00111FFC 38 81 00 38 */ addi r4, r1, 0x38 -/* 801150A0 00112000 48 22 BE 09 */ bl __ct__6CTokenFRC6CToken -/* 801150A4 00112004 3B A1 00 60 */ addi r29, r1, 0x60 -/* 801150A8 00112008 38 81 00 30 */ addi r4, r1, 0x30 -/* 801150AC 0011200C 7F A3 EB 78 */ mr r3, r29 -/* 801150B0 00112010 48 22 BD F9 */ bl __ct__6CTokenFRC6CToken -/* 801150B4 00112014 7F A3 EB 78 */ mr r3, r29 -/* 801150B8 00112018 48 22 BD 55 */ bl GetObj__6CTokenFv -/* 801150BC 0011201C 80 83 00 04 */ lwz r4, 4(r3) -/* 801150C0 00112020 3C 60 43 53 */ lis r3, 0x43534B52@ha -/* 801150C4 00112024 80 DE 00 04 */ lwz r6, 4(r30) -/* 801150C8 00112028 38 03 4B 52 */ addi r0, r3, 0x43534B52@l -/* 801150CC 0011202C 90 81 00 68 */ stw r4, 0x68(r1) -/* 801150D0 00112030 38 61 00 20 */ addi r3, r1, 0x20 -/* 801150D4 00112034 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801150D8 00112038 38 A1 00 28 */ addi r5, r1, 0x28 -/* 801150DC 0011203C 90 01 00 28 */ stw r0, 0x28(r1) -/* 801150E0 00112040 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 801150E4 00112044 81 84 00 00 */ lwz r12, 0(r4) -/* 801150E8 00112048 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 801150EC 0011204C 7D 89 03 A6 */ mtctr r12 -/* 801150F0 00112050 4E 80 04 21 */ bctrl -/* 801150F4 00112054 38 61 00 18 */ addi r3, r1, 0x18 -/* 801150F8 00112058 38 81 00 20 */ addi r4, r1, 0x20 -/* 801150FC 0011205C 48 22 BD AD */ bl __ct__6CTokenFRC6CToken -/* 80115100 00112060 3B A1 00 54 */ addi r29, r1, 0x54 -/* 80115104 00112064 38 81 00 18 */ addi r4, r1, 0x18 -/* 80115108 00112068 7F A3 EB 78 */ mr r3, r29 -/* 8011510C 0011206C 48 22 BD 9D */ bl __ct__6CTokenFRC6CToken -/* 80115110 00112070 7F A3 EB 78 */ mr r3, r29 -/* 80115114 00112074 48 22 BC F9 */ bl GetObj__6CTokenFv -/* 80115118 00112078 80 03 00 04 */ lwz r0, 4(r3) -/* 8011511C 0011207C 38 81 00 60 */ addi r4, r1, 0x60 -/* 80115120 00112080 7F A5 EB 78 */ mr r5, r29 -/* 80115124 00112084 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80115128 00112088 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8011512C 0011208C 4B F1 8D 99 */ bl "SetXRayModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>" -/* 80115130 00112090 7F A3 EB 78 */ mr r3, r29 -/* 80115134 00112094 38 80 00 00 */ li r4, 0 -/* 80115138 00112098 48 22 BD 09 */ bl __dt__6CTokenFv -/* 8011513C 0011209C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80115140 001120A0 38 80 00 00 */ li r4, 0 -/* 80115144 001120A4 48 22 BC FD */ bl __dt__6CTokenFv -/* 80115148 001120A8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8011514C 001120AC 38 80 FF FF */ li r4, -1 -/* 80115150 001120B0 48 22 BC F1 */ bl __dt__6CTokenFv -/* 80115154 001120B4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80115158 001120B8 38 80 00 00 */ li r4, 0 -/* 8011515C 001120BC 48 22 BC E5 */ bl __dt__6CTokenFv -/* 80115160 001120C0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80115164 001120C4 38 80 00 00 */ li r4, 0 -/* 80115168 001120C8 48 22 BC D9 */ bl __dt__6CTokenFv -/* 8011516C 001120CC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80115170 001120D0 38 80 FF FF */ li r4, -1 -/* 80115174 001120D4 48 22 BC CD */ bl __dt__6CTokenFv -/* 80115178 001120D8 48 00 00 C0 */ b lbl_80115238 -lbl_8011517C: -/* 8011517C 001120DC 80 DE 00 00 */ lwz r6, 0(r30) -/* 80115180 001120E0 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 80115184 001120E4 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 80115188 001120E8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8011518C 001120EC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80115190 001120F0 38 61 00 08 */ addi r3, r1, 8 -/* 80115194 001120F4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80115198 001120F8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8011519C 001120FC 81 84 00 00 */ lwz r12, 0(r4) -/* 801151A0 00112100 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 801151A4 00112104 7D 89 03 A6 */ mtctr r12 -/* 801151A8 00112108 4E 80 04 21 */ bctrl -/* 801151AC 0011210C 3B A1 00 48 */ addi r29, r1, 0x48 -/* 801151B0 00112110 38 81 00 08 */ addi r4, r1, 8 -/* 801151B4 00112114 7F A3 EB 78 */ mr r3, r29 -/* 801151B8 00112118 48 22 BC F1 */ bl __ct__6CTokenFRC6CToken -/* 801151BC 0011211C 7F A3 EB 78 */ mr r3, r29 -/* 801151C0 00112120 48 22 BC 4D */ bl GetObj__6CTokenFv -/* 801151C4 00112124 80 03 00 04 */ lwz r0, 4(r3) -/* 801151C8 00112128 90 01 00 50 */ stw r0, 0x50(r1) -/* 801151CC 0011212C 88 1F 00 38 */ lbz r0, 0x38(r31) -/* 801151D0 00112130 28 00 00 00 */ cmplwi r0, 0 -/* 801151D4 00112134 40 82 00 34 */ bne lbl_80115208 -/* 801151D8 00112138 37 DF 00 2C */ addic. r30, r31, 0x2c -/* 801151DC 0011213C 41 82 00 20 */ beq lbl_801151FC -/* 801151E0 00112140 7F C3 F3 78 */ mr r3, r30 -/* 801151E4 00112144 7F A4 EB 78 */ mr r4, r29 -/* 801151E8 00112148 48 22 BC C1 */ bl __ct__6CTokenFRC6CToken -/* 801151EC 0011214C 80 01 00 50 */ lwz r0, 0x50(r1) -/* 801151F0 00112150 7F C3 F3 78 */ mr r3, r30 -/* 801151F4 00112154 90 1E 00 08 */ stw r0, 8(r30) -/* 801151F8 00112158 48 22 BB 8D */ bl Lock__6CTokenFv -lbl_801151FC: -/* 801151FC 0011215C 38 00 00 01 */ li r0, 1 -/* 80115200 00112160 98 1F 00 38 */ stb r0, 0x38(r31) -/* 80115204 00112164 48 00 00 1C */ b lbl_80115220 -lbl_80115208: -/* 80115208 00112168 3B DF 00 2C */ addi r30, r31, 0x2c -/* 8011520C 0011216C 7F A4 EB 78 */ mr r4, r29 -/* 80115210 00112170 7F C3 F3 78 */ mr r3, r30 -/* 80115214 00112174 48 22 BA B1 */ bl __as__6CTokenFRC6CToken -/* 80115218 00112178 80 01 00 50 */ lwz r0, 0x50(r1) -/* 8011521C 0011217C 90 1E 00 08 */ stw r0, 8(r30) -lbl_80115220: -/* 80115220 00112180 38 61 00 48 */ addi r3, r1, 0x48 -/* 80115224 00112184 38 80 00 00 */ li r4, 0 -/* 80115228 00112188 48 22 BC 19 */ bl __dt__6CTokenFv -/* 8011522C 0011218C 38 61 00 08 */ addi r3, r1, 8 -/* 80115230 00112190 38 80 FF FF */ li r4, -1 -/* 80115234 00112194 48 22 BC 0D */ bl __dt__6CTokenFv -lbl_80115238: -/* 80115238 00112198 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8011523C 0011219C 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80115240 001121A0 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80115244 001121A4 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 80115248 001121A8 7C 08 03 A6 */ mtlr r0 -/* 8011524C 001121AC 38 21 00 80 */ addi r1, r1, 0x80 -/* 80115250 001121B0 4E 80 00 20 */ blr - -.global "SetInfraModel__10CModelDataFRCQ24rstl11pair" -"SetInfraModel__10CModelDataFRCQ24rstl11pair": -/* 80115254 001121B4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80115258 001121B8 7C 08 02 A6 */ mflr r0 -/* 8011525C 001121BC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80115260 001121C0 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80115264 001121C4 7C 7F 1B 78 */ mr r31, r3 -/* 80115268 001121C8 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8011526C 001121CC 7C 9E 23 78 */ mr r30, r4 -/* 80115270 001121D0 93 A1 00 74 */ stw r29, 0x74(r1) -/* 80115274 001121D4 80 84 00 00 */ lwz r4, 0(r4) -/* 80115278 001121D8 28 04 00 00 */ cmplwi r4, 0 -/* 8011527C 001121DC 41 82 01 E4 */ beq lbl_80115460 -/* 80115280 001121E0 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80115284 001121E4 28 00 00 00 */ cmplwi r0, 0 -/* 80115288 001121E8 41 82 01 20 */ beq lbl_801153A8 -/* 8011528C 001121EC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80115290 001121F0 28 00 00 00 */ cmplwi r0, 0 -/* 80115294 001121F4 41 82 01 14 */ beq lbl_801153A8 -/* 80115298 001121F8 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 8011529C 001121FC 90 81 00 44 */ stw r4, 0x44(r1) -/* 801152A0 00112200 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 801152A4 00112204 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801152A8 00112208 90 01 00 40 */ stw r0, 0x40(r1) -/* 801152AC 0011220C 38 61 00 38 */ addi r3, r1, 0x38 -/* 801152B0 00112210 38 A1 00 40 */ addi r5, r1, 0x40 -/* 801152B4 00112214 81 84 00 00 */ lwz r12, 0(r4) -/* 801152B8 00112218 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 801152BC 0011221C 7D 89 03 A6 */ mtctr r12 -/* 801152C0 00112220 4E 80 04 21 */ bctrl -/* 801152C4 00112224 38 61 00 30 */ addi r3, r1, 0x30 -/* 801152C8 00112228 38 81 00 38 */ addi r4, r1, 0x38 -/* 801152CC 0011222C 48 22 BB DD */ bl __ct__6CTokenFRC6CToken -/* 801152D0 00112230 3B A1 00 60 */ addi r29, r1, 0x60 -/* 801152D4 00112234 38 81 00 30 */ addi r4, r1, 0x30 -/* 801152D8 00112238 7F A3 EB 78 */ mr r3, r29 -/* 801152DC 0011223C 48 22 BB CD */ bl __ct__6CTokenFRC6CToken -/* 801152E0 00112240 7F A3 EB 78 */ mr r3, r29 -/* 801152E4 00112244 48 22 BB 29 */ bl GetObj__6CTokenFv -/* 801152E8 00112248 80 83 00 04 */ lwz r4, 4(r3) -/* 801152EC 0011224C 3C 60 43 53 */ lis r3, 0x43534B52@ha -/* 801152F0 00112250 80 DE 00 04 */ lwz r6, 4(r30) -/* 801152F4 00112254 38 03 4B 52 */ addi r0, r3, 0x43534B52@l -/* 801152F8 00112258 90 81 00 68 */ stw r4, 0x68(r1) -/* 801152FC 0011225C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80115300 00112260 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80115304 00112264 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80115308 00112268 90 01 00 28 */ stw r0, 0x28(r1) -/* 8011530C 0011226C 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 80115310 00112270 81 84 00 00 */ lwz r12, 0(r4) -/* 80115314 00112274 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80115318 00112278 7D 89 03 A6 */ mtctr r12 -/* 8011531C 0011227C 4E 80 04 21 */ bctrl -/* 80115320 00112280 38 61 00 18 */ addi r3, r1, 0x18 -/* 80115324 00112284 38 81 00 20 */ addi r4, r1, 0x20 -/* 80115328 00112288 48 22 BB 81 */ bl __ct__6CTokenFRC6CToken -/* 8011532C 0011228C 3B A1 00 54 */ addi r29, r1, 0x54 -/* 80115330 00112290 38 81 00 18 */ addi r4, r1, 0x18 -/* 80115334 00112294 7F A3 EB 78 */ mr r3, r29 -/* 80115338 00112298 48 22 BB 71 */ bl __ct__6CTokenFRC6CToken -/* 8011533C 0011229C 7F A3 EB 78 */ mr r3, r29 -/* 80115340 001122A0 48 22 BA CD */ bl GetObj__6CTokenFv -/* 80115344 001122A4 80 03 00 04 */ lwz r0, 4(r3) -/* 80115348 001122A8 38 81 00 60 */ addi r4, r1, 0x60 -/* 8011534C 001122AC 7F A5 EB 78 */ mr r5, r29 -/* 80115350 001122B0 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80115354 001122B4 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 80115358 001122B8 4B F1 8C 59 */ bl "SetInfraModel__9CAnimDataFRC21TLockedToken<6CModel>RC26TLockedToken<10CSkinRules>" -/* 8011535C 001122BC 7F A3 EB 78 */ mr r3, r29 -/* 80115360 001122C0 38 80 00 00 */ li r4, 0 -/* 80115364 001122C4 48 22 BA DD */ bl __dt__6CTokenFv -/* 80115368 001122C8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011536C 001122CC 38 80 00 00 */ li r4, 0 -/* 80115370 001122D0 48 22 BA D1 */ bl __dt__6CTokenFv -/* 80115374 001122D4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80115378 001122D8 38 80 FF FF */ li r4, -1 -/* 8011537C 001122DC 48 22 BA C5 */ bl __dt__6CTokenFv -/* 80115380 001122E0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80115384 001122E4 38 80 00 00 */ li r4, 0 -/* 80115388 001122E8 48 22 BA B9 */ bl __dt__6CTokenFv -/* 8011538C 001122EC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80115390 001122F0 38 80 00 00 */ li r4, 0 -/* 80115394 001122F4 48 22 BA AD */ bl __dt__6CTokenFv -/* 80115398 001122F8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8011539C 001122FC 38 80 FF FF */ li r4, -1 -/* 801153A0 00112300 48 22 BA A1 */ bl __dt__6CTokenFv -/* 801153A4 00112304 48 00 00 BC */ b lbl_80115460 -lbl_801153A8: -/* 801153A8 00112308 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 801153AC 0011230C 90 81 00 14 */ stw r4, 0x14(r1) -/* 801153B0 00112310 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 801153B4 00112314 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801153B8 00112318 90 01 00 10 */ stw r0, 0x10(r1) -/* 801153BC 0011231C 38 61 00 08 */ addi r3, r1, 8 -/* 801153C0 00112320 38 A1 00 10 */ addi r5, r1, 0x10 -/* 801153C4 00112324 81 84 00 00 */ lwz r12, 0(r4) -/* 801153C8 00112328 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 801153CC 0011232C 7D 89 03 A6 */ mtctr r12 -/* 801153D0 00112330 4E 80 04 21 */ bctrl -/* 801153D4 00112334 3B A1 00 48 */ addi r29, r1, 0x48 -/* 801153D8 00112338 38 81 00 08 */ addi r4, r1, 8 -/* 801153DC 0011233C 7F A3 EB 78 */ mr r3, r29 -/* 801153E0 00112340 48 22 BA C9 */ bl __ct__6CTokenFRC6CToken -/* 801153E4 00112344 7F A3 EB 78 */ mr r3, r29 -/* 801153E8 00112348 48 22 BA 25 */ bl GetObj__6CTokenFv -/* 801153EC 0011234C 80 03 00 04 */ lwz r0, 4(r3) -/* 801153F0 00112350 90 01 00 50 */ stw r0, 0x50(r1) -/* 801153F4 00112354 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 801153F8 00112358 28 00 00 00 */ cmplwi r0, 0 -/* 801153FC 0011235C 40 82 00 34 */ bne lbl_80115430 -/* 80115400 00112360 37 DF 00 3C */ addic. r30, r31, 0x3c -/* 80115404 00112364 41 82 00 20 */ beq lbl_80115424 -/* 80115408 00112368 7F C3 F3 78 */ mr r3, r30 -/* 8011540C 0011236C 7F A4 EB 78 */ mr r4, r29 -/* 80115410 00112370 48 22 BA 99 */ bl __ct__6CTokenFRC6CToken -/* 80115414 00112374 80 01 00 50 */ lwz r0, 0x50(r1) -/* 80115418 00112378 7F C3 F3 78 */ mr r3, r30 -/* 8011541C 0011237C 90 1E 00 08 */ stw r0, 8(r30) -/* 80115420 00112380 48 22 B9 65 */ bl Lock__6CTokenFv -lbl_80115424: -/* 80115424 00112384 38 00 00 01 */ li r0, 1 -/* 80115428 00112388 98 1F 00 48 */ stb r0, 0x48(r31) -/* 8011542C 0011238C 48 00 00 1C */ b lbl_80115448 -lbl_80115430: -/* 80115430 00112390 3B DF 00 3C */ addi r30, r31, 0x3c -/* 80115434 00112394 7F A4 EB 78 */ mr r4, r29 -/* 80115438 00112398 7F C3 F3 78 */ mr r3, r30 -/* 8011543C 0011239C 48 22 B8 89 */ bl __as__6CTokenFRC6CToken -/* 80115440 001123A0 80 01 00 50 */ lwz r0, 0x50(r1) -/* 80115444 001123A4 90 1E 00 08 */ stw r0, 8(r30) -lbl_80115448: -/* 80115448 001123A8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8011544C 001123AC 38 80 00 00 */ li r4, 0 -/* 80115450 001123B0 48 22 B9 F1 */ bl __dt__6CTokenFv -/* 80115454 001123B4 38 61 00 08 */ addi r3, r1, 8 -/* 80115458 001123B8 38 80 FF FF */ li r4, -1 -/* 8011545C 001123BC 48 22 B9 E5 */ bl __dt__6CTokenFv -lbl_80115460: -/* 80115460 001123C0 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80115464 001123C4 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80115468 001123C8 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8011546C 001123CC 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 80115470 001123D0 7C 08 03 A6 */ mtlr r0 -/* 80115474 001123D4 38 21 00 80 */ addi r1, r1, 0x80 -/* 80115478 001123D8 4E 80 00 20 */ blr - -.global IsDefinitelyOpaque__10CModelDataCFQ210CModelData11EWhichModel -IsDefinitelyOpaque__10CModelDataCFQ210CModelData11EWhichModel: -/* 8011547C 001123DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80115480 001123E0 7C 08 02 A6 */ mflr r0 -/* 80115484 001123E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80115488 001123E8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8011548C 001123EC 28 00 00 00 */ cmplwi r0, 0 -/* 80115490 001123F0 41 82 00 30 */ beq lbl_801154C0 -/* 80115494 001123F4 4B FF FA C9 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80115498 001123F8 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8011549C 001123FC 38 60 00 00 */ li r3, 0 -/* 801154A0 00112400 80 84 00 28 */ lwz r4, 0x28(r4) -/* 801154A4 00112404 28 04 00 00 */ cmplwi r4, 0 -/* 801154A8 00112408 41 82 00 54 */ beq lbl_801154FC -/* 801154AC 0011240C 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 801154B0 00112410 28 00 00 00 */ cmplwi r0, 0 -/* 801154B4 00112414 40 82 00 48 */ bne lbl_801154FC -/* 801154B8 00112418 38 60 00 01 */ li r3, 1 -/* 801154BC 0011241C 48 00 00 40 */ b lbl_801154FC -lbl_801154C0: -/* 801154C0 00112420 88 03 00 28 */ lbz r0, 0x28(r3) -/* 801154C4 00112424 28 00 00 00 */ cmplwi r0, 0 -/* 801154C8 00112428 41 82 00 30 */ beq lbl_801154F8 -/* 801154CC 0011242C 4B FF FA E1 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 801154D0 00112430 80 83 00 08 */ lwz r4, 8(r3) -/* 801154D4 00112434 38 60 00 00 */ li r3, 0 -/* 801154D8 00112438 80 84 00 28 */ lwz r4, 0x28(r4) -/* 801154DC 0011243C 28 04 00 00 */ cmplwi r4, 0 -/* 801154E0 00112440 41 82 00 1C */ beq lbl_801154FC -/* 801154E4 00112444 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 801154E8 00112448 28 00 00 00 */ cmplwi r0, 0 -/* 801154EC 0011244C 40 82 00 10 */ bne lbl_801154FC -/* 801154F0 00112450 38 60 00 01 */ li r3, 1 -/* 801154F4 00112454 48 00 00 08 */ b lbl_801154FC -lbl_801154F8: -/* 801154F8 00112458 38 60 00 00 */ li r3, 0 -lbl_801154FC: -/* 801154FC 0011245C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80115500 00112460 7C 08 03 A6 */ mtlr r0 -/* 80115504 00112464 38 21 00 10 */ addi r1, r1, 0x10 -/* 80115508 00112468 4E 80 00 20 */ blr - -.global GetIsLoop__10CModelDataCFv -GetIsLoop__10CModelDataCFv: -/* 8011550C 0011246C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80115510 00112470 28 03 00 00 */ cmplwi r3, 0 -/* 80115514 00112474 40 82 00 0C */ bne lbl_80115520 -/* 80115518 00112478 38 60 00 00 */ li r3, 0 -/* 8011551C 0011247C 4E 80 00 20 */ blr -lbl_80115520: -/* 80115520 00112480 88 03 02 20 */ lbz r0, 0x220(r3) -/* 80115524 00112484 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f -/* 80115528 00112488 4E 80 00 20 */ blr - -.global GetAnimationDuration__10CModelDataCFi -GetAnimationDuration__10CModelDataCFi: -/* 8011552C 0011248C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80115530 00112490 7C 08 02 A6 */ mflr r0 -/* 80115534 00112494 90 01 00 14 */ stw r0, 0x14(r1) -/* 80115538 00112498 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8011553C 0011249C 28 03 00 00 */ cmplwi r3, 0 -/* 80115540 001124A0 40 82 00 0C */ bne lbl_8011554C -/* 80115544 001124A4 C0 22 96 48 */ lfs f1, lbl_805AB368@sda21(r2) -/* 80115548 001124A8 48 00 00 08 */ b lbl_80115550 -lbl_8011554C: -/* 8011554C 001124AC 4B F1 6F 7D */ bl GetAnimationDuration__9CAnimDataCFi -lbl_80115550: -/* 80115550 001124B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80115554 001124B4 7C 08 03 A6 */ mtlr r0 -/* 80115558 001124B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011555C 001124BC 4E 80 00 20 */ blr - -.global EnableLooping__10CModelDataFb -EnableLooping__10CModelDataFb: -/* 80115560 001124C0 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 80115564 001124C4 28 05 00 00 */ cmplwi r5, 0 -/* 80115568 001124C8 4D 82 00 20 */ beqlr -/* 8011556C 001124CC 88 05 02 20 */ lbz r0, 0x220(r5) -/* 80115570 001124D0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80115574 001124D4 38 60 00 01 */ li r3, 1 -/* 80115578 001124D8 98 05 02 20 */ stb r0, 0x220(r5) -/* 8011557C 001124DC 88 05 02 20 */ lbz r0, 0x220(r5) -/* 80115580 001124E0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80115584 001124E4 98 05 02 20 */ stb r0, 0x220(r5) -/* 80115588 001124E8 4E 80 00 20 */ blr - -.global AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager -AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager: -/* 8011558C 001124EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80115590 001124F0 7C 08 02 A6 */ mflr r0 -/* 80115594 001124F4 7C 67 1B 78 */ mr r7, r3 -/* 80115598 001124F8 7C A6 2B 78 */ mr r6, r5 -/* 8011559C 001124FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 801155A0 00112500 80 63 00 10 */ lwz r3, 0x10(r3) -/* 801155A4 00112504 28 03 00 00 */ cmplwi r3, 0 -/* 801155A8 00112508 41 82 00 0C */ beq lbl_801155B4 -/* 801155AC 0011250C 7C E5 3B 78 */ mr r5, r7 -/* 801155B0 00112510 4B F1 8F 35 */ bl AdvanceParticles__9CAnimDataFRC12CTransform4ffRC9CVector3fR13CStateManager -lbl_801155B4: -/* 801155B4 00112514 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801155B8 00112518 7C 08 03 A6 */ mtlr r0 -/* 801155BC 0011251C 38 21 00 10 */ addi r1, r1, 0x10 -/* 801155C0 00112520 4E 80 00 20 */ blr - -.global GetBounds__10CModelDataCFv -GetBounds__10CModelDataCFv: -/* 801155C4 00112524 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 801155C8 00112528 7C 08 02 A6 */ mflr r0 -/* 801155CC 0011252C 90 01 00 94 */ stw r0, 0x94(r1) -/* 801155D0 00112530 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 801155D4 00112534 93 C1 00 88 */ stw r30, 0x88(r1) -/* 801155D8 00112538 7C 9E 23 78 */ mr r30, r4 -/* 801155DC 0011253C 93 A1 00 84 */ stw r29, 0x84(r1) -/* 801155E0 00112540 7C 7D 1B 78 */ mr r29, r3 -/* 801155E4 00112544 83 E4 00 10 */ lwz r31, 0x10(r4) -/* 801155E8 00112548 28 1F 00 00 */ cmplwi r31, 0 -/* 801155EC 0011254C 41 82 00 2C */ beq lbl_80115618 -/* 801155F0 00112550 C0 3E 00 00 */ lfs f1, 0(r30) -/* 801155F4 00112554 38 61 00 50 */ addi r3, r1, 0x50 -/* 801155F8 00112558 C0 5E 00 04 */ lfs f2, 4(r30) -/* 801155FC 0011255C C0 7E 00 08 */ lfs f3, 8(r30) -/* 80115600 00112560 48 1F DC 09 */ bl Scale__12CTransform4fFfff -/* 80115604 00112564 7F A3 EB 78 */ mr r3, r29 -/* 80115608 00112568 7F E4 FB 78 */ mr r4, r31 -/* 8011560C 0011256C 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80115610 00112570 4B F1 92 59 */ bl GetBoundingBox__9CAnimDataCFRC12CTransform4f -/* 80115614 00112574 48 00 01 84 */ b lbl_80115798 -lbl_80115618: -/* 80115618 00112578 88 1E 00 38 */ lbz r0, 0x38(r30) -/* 8011561C 0011257C 28 00 00 00 */ cmplwi r0, 0 -/* 80115620 00112580 40 82 00 7C */ bne lbl_8011569C -/* 80115624 00112584 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 80115628 00112588 28 00 00 00 */ cmplwi r0, 0 -/* 8011562C 0011258C 40 82 00 70 */ bne lbl_8011569C -/* 80115630 00112590 80 DE 00 24 */ lwz r6, 0x24(r30) -/* 80115634 00112594 38 81 00 2C */ addi r4, r1, 0x2c -/* 80115638 00112598 C0 BE 00 08 */ lfs f5, 8(r30) -/* 8011563C 0011259C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80115640 001125A0 80 C6 00 28 */ lwz r6, 0x28(r6) -/* 80115644 001125A4 C0 9E 00 04 */ lfs f4, 4(r30) -/* 80115648 001125A8 C0 46 00 34 */ lfs f2, 0x34(r6) -/* 8011564C 001125AC C0 26 00 30 */ lfs f1, 0x30(r6) -/* 80115650 001125B0 C0 06 00 2C */ lfs f0, 0x2c(r6) -/* 80115654 001125B4 EC 42 01 72 */ fmuls f2, f2, f5 -/* 80115658 001125B8 C0 7E 00 00 */ lfs f3, 0(r30) -/* 8011565C 001125BC EC 21 01 32 */ fmuls f1, f1, f4 -/* 80115660 001125C0 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80115664 001125C4 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80115668 001125C8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8011566C 001125CC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80115670 001125D0 C0 46 00 28 */ lfs f2, 0x28(r6) -/* 80115674 001125D4 C0 26 00 24 */ lfs f1, 0x24(r6) -/* 80115678 001125D8 C0 06 00 20 */ lfs f0, 0x20(r6) -/* 8011567C 001125DC EC 42 01 72 */ fmuls f2, f2, f5 -/* 80115680 001125E0 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80115684 001125E4 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80115688 001125E8 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8011568C 001125EC D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80115690 001125F0 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80115694 001125F4 48 22 2E 75 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80115698 001125F8 48 00 01 00 */ b lbl_80115798 -lbl_8011569C: -/* 8011569C 001125FC 80 7E 00 24 */ lwz r3, 0x24(r30) -/* 801156A0 00112600 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 801156A4 00112604 80 63 00 28 */ lwz r3, 0x28(r3) -/* 801156A8 00112608 28 00 00 00 */ cmplwi r0, 0 -/* 801156AC 0011260C C0 03 00 20 */ lfs f0, 0x20(r3) -/* 801156B0 00112610 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 801156B4 00112614 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 801156B8 00112618 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 801156BC 0011261C C0 03 00 28 */ lfs f0, 0x28(r3) -/* 801156C0 00112620 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 801156C4 00112624 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 801156C8 00112628 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 801156CC 0011262C C0 03 00 30 */ lfs f0, 0x30(r3) -/* 801156D0 00112630 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 801156D4 00112634 C0 03 00 34 */ lfs f0, 0x34(r3) -/* 801156D8 00112638 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 801156DC 0011263C 41 82 00 28 */ beq lbl_80115704 -/* 801156E0 00112640 80 9E 00 44 */ lwz r4, 0x44(r30) -/* 801156E4 00112644 38 61 00 38 */ addi r3, r1, 0x38 -/* 801156E8 00112648 80 84 00 28 */ lwz r4, 0x28(r4) -/* 801156EC 0011264C 3B E4 00 20 */ addi r31, r4, 0x20 -/* 801156F0 00112650 7F E4 FB 78 */ mr r4, r31 -/* 801156F4 00112654 48 22 24 15 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 801156F8 00112658 38 61 00 38 */ addi r3, r1, 0x38 -/* 801156FC 0011265C 38 9F 00 0C */ addi r4, r31, 0xc -/* 80115700 00112660 48 22 24 09 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_80115704: -/* 80115704 00112664 88 1E 00 38 */ lbz r0, 0x38(r30) -/* 80115708 00112668 28 00 00 00 */ cmplwi r0, 0 -/* 8011570C 0011266C 41 82 00 28 */ beq lbl_80115734 -/* 80115710 00112670 80 9E 00 34 */ lwz r4, 0x34(r30) -/* 80115714 00112674 38 61 00 38 */ addi r3, r1, 0x38 -/* 80115718 00112678 80 84 00 28 */ lwz r4, 0x28(r4) -/* 8011571C 0011267C 3B E4 00 20 */ addi r31, r4, 0x20 -/* 80115720 00112680 7F E4 FB 78 */ mr r4, r31 -/* 80115724 00112684 48 22 23 E5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 80115728 00112688 38 61 00 38 */ addi r3, r1, 0x38 -/* 8011572C 0011268C 38 9F 00 0C */ addi r4, r31, 0xc -/* 80115730 00112690 48 22 23 D9 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_80115734: -/* 80115734 00112694 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80115738 00112698 7F A3 EB 78 */ mr r3, r29 -/* 8011573C 0011269C C0 7E 00 08 */ lfs f3, 8(r30) -/* 80115740 001126A0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80115744 001126A4 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80115748 001126A8 38 A1 00 08 */ addi r5, r1, 8 -/* 8011574C 001126AC EC C1 00 F2 */ fmuls f6, f1, f3 -/* 80115750 001126B0 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 80115754 001126B4 C0 3E 00 04 */ lfs f1, 4(r30) -/* 80115758 001126B8 EC 80 00 F2 */ fmuls f4, f0, f3 -/* 8011575C 001126BC C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80115760 001126C0 EC A2 00 72 */ fmuls f5, f2, f1 -/* 80115764 001126C4 EC 60 00 72 */ fmuls f3, f0, f1 -/* 80115768 001126C8 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 8011576C 001126CC C0 5E 00 00 */ lfs f2, 0(r30) -/* 80115770 001126D0 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80115774 001126D4 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80115778 001126D8 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 8011577C 001126DC EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80115780 001126E0 D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 80115784 001126E4 D0 21 00 08 */ stfs f1, 8(r1) -/* 80115788 001126E8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8011578C 001126EC D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80115790 001126F0 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80115794 001126F4 48 22 2D 75 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -lbl_80115798: -/* 80115798 001126F8 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8011579C 001126FC 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 801157A0 00112700 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 801157A4 00112704 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 801157A8 00112708 7C 08 03 A6 */ mtlr r0 -/* 801157AC 0011270C 38 21 00 90 */ addi r1, r1, 0x90 -/* 801157B0 00112710 4E 80 00 20 */ blr - -.global GetBounds__10CModelDataCFRC12CTransform4f -GetBounds__10CModelDataCFRC12CTransform4f: -/* 801157B4 00112714 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 801157B8 00112718 7C 08 02 A6 */ mflr r0 -/* 801157BC 0011271C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 801157C0 00112720 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 801157C4 00112724 7C 7F 1B 78 */ mr r31, r3 -/* 801157C8 00112728 38 61 00 20 */ addi r3, r1, 0x20 -/* 801157CC 0011272C 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 801157D0 00112730 7C BE 2B 78 */ mr r30, r5 -/* 801157D4 00112734 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 801157D8 00112738 7C 9D 23 78 */ mr r29, r4 -/* 801157DC 0011273C C0 24 00 00 */ lfs f1, 0(r4) -/* 801157E0 00112740 C0 44 00 04 */ lfs f2, 4(r4) -/* 801157E4 00112744 C0 64 00 08 */ lfs f3, 8(r4) -/* 801157E8 00112748 48 1F DA 21 */ bl Scale__12CTransform4fFfff -/* 801157EC 0011274C 7F C4 F3 78 */ mr r4, r30 -/* 801157F0 00112750 38 61 00 50 */ addi r3, r1, 0x50 -/* 801157F4 00112754 38 A1 00 20 */ addi r5, r1, 0x20 -/* 801157F8 00112758 48 1F D1 59 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801157FC 0011275C 38 61 00 80 */ addi r3, r1, 0x80 -/* 80115800 00112760 38 81 00 50 */ addi r4, r1, 0x50 -/* 80115804 00112764 48 1F D3 71 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80115808 00112768 80 9D 00 10 */ lwz r4, 0x10(r29) -/* 8011580C 0011276C 28 04 00 00 */ cmplwi r4, 0 -/* 80115810 00112770 41 82 00 14 */ beq lbl_80115824 -/* 80115814 00112774 7F E3 FB 78 */ mr r3, r31 -/* 80115818 00112778 38 A1 00 80 */ addi r5, r1, 0x80 -/* 8011581C 0011277C 4B F1 90 4D */ bl GetBoundingBox__9CAnimDataCFRC12CTransform4f -/* 80115820 00112780 48 00 00 E0 */ b lbl_80115900 -lbl_80115824: -/* 80115824 00112784 88 1D 00 38 */ lbz r0, 0x38(r29) -/* 80115828 00112788 28 00 00 00 */ cmplwi r0, 0 -/* 8011582C 0011278C 40 82 00 2C */ bne lbl_80115858 -/* 80115830 00112790 88 1D 00 48 */ lbz r0, 0x48(r29) -/* 80115834 00112794 28 00 00 00 */ cmplwi r0, 0 -/* 80115838 00112798 40 82 00 20 */ bne lbl_80115858 -/* 8011583C 0011279C 80 9D 00 24 */ lwz r4, 0x24(r29) -/* 80115840 001127A0 7F E3 FB 78 */ mr r3, r31 -/* 80115844 001127A4 38 A1 00 80 */ addi r5, r1, 0x80 -/* 80115848 001127A8 80 84 00 28 */ lwz r4, 0x28(r4) -/* 8011584C 001127AC 38 84 00 20 */ addi r4, r4, 0x20 -/* 80115850 001127B0 48 22 20 AD */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 80115854 001127B4 48 00 00 AC */ b lbl_80115900 -lbl_80115858: -/* 80115858 001127B8 80 7D 00 24 */ lwz r3, 0x24(r29) -/* 8011585C 001127BC 88 1D 00 48 */ lbz r0, 0x48(r29) -/* 80115860 001127C0 80 63 00 28 */ lwz r3, 0x28(r3) -/* 80115864 001127C4 28 00 00 00 */ cmplwi r0, 0 -/* 80115868 001127C8 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 8011586C 001127CC D0 01 00 08 */ stfs f0, 8(r1) -/* 80115870 001127D0 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 80115874 001127D4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80115878 001127D8 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8011587C 001127DC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80115880 001127E0 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80115884 001127E4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80115888 001127E8 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 8011588C 001127EC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80115890 001127F0 C0 03 00 34 */ lfs f0, 0x34(r3) -/* 80115894 001127F4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80115898 001127F8 41 82 00 28 */ beq lbl_801158C0 -/* 8011589C 001127FC 80 9D 00 44 */ lwz r4, 0x44(r29) -/* 801158A0 00112800 38 61 00 08 */ addi r3, r1, 8 -/* 801158A4 00112804 80 84 00 28 */ lwz r4, 0x28(r4) -/* 801158A8 00112808 3B C4 00 20 */ addi r30, r4, 0x20 -/* 801158AC 0011280C 7F C4 F3 78 */ mr r4, r30 -/* 801158B0 00112810 48 22 22 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 801158B4 00112814 38 61 00 08 */ addi r3, r1, 8 -/* 801158B8 00112818 38 9E 00 0C */ addi r4, r30, 0xc -/* 801158BC 0011281C 48 22 22 4D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_801158C0: -/* 801158C0 00112820 88 1D 00 38 */ lbz r0, 0x38(r29) -/* 801158C4 00112824 28 00 00 00 */ cmplwi r0, 0 -/* 801158C8 00112828 41 82 00 28 */ beq lbl_801158F0 -/* 801158CC 0011282C 80 9D 00 34 */ lwz r4, 0x34(r29) -/* 801158D0 00112830 38 61 00 08 */ addi r3, r1, 8 -/* 801158D4 00112834 80 84 00 28 */ lwz r4, 0x28(r4) -/* 801158D8 00112838 3B C4 00 20 */ addi r30, r4, 0x20 -/* 801158DC 0011283C 7F C4 F3 78 */ mr r4, r30 -/* 801158E0 00112840 48 22 22 29 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 801158E4 00112844 38 61 00 08 */ addi r3, r1, 8 -/* 801158E8 00112848 38 9E 00 0C */ addi r4, r30, 0xc -/* 801158EC 0011284C 48 22 22 1D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_801158F0: -/* 801158F0 00112850 7F E3 FB 78 */ mr r3, r31 -/* 801158F4 00112854 38 81 00 08 */ addi r4, r1, 8 -/* 801158F8 00112858 38 A1 00 80 */ addi r5, r1, 0x80 -/* 801158FC 0011285C 48 22 20 01 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -lbl_80115900: -/* 80115900 00112860 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80115904 00112864 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 80115908 00112868 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8011590C 0011286C 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 80115910 00112870 7C 08 03 A6 */ mtlr r0 -/* 80115914 00112874 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80115918 00112878 4E 80 00 20 */ blr - -.global "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -"GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime": -/* 8011591C 0011287C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80115920 00112880 7C 08 02 A6 */ mflr r0 -/* 80115924 00112884 90 01 00 74 */ stw r0, 0x74(r1) -/* 80115928 00112888 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8011592C 0011288C 7C 9F 23 78 */ mr r31, r4 -/* 80115930 00112890 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80115934 00112894 7C 7E 1B 78 */ mr r30, r3 -/* 80115938 00112898 38 61 00 08 */ addi r3, r1, 8 -/* 8011593C 0011289C 48 00 00 E9 */ bl "GetLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -/* 80115940 001128A0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80115944 001128A4 38 81 00 08 */ addi r4, r1, 8 -/* 80115948 001128A8 48 1F D2 2D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011594C 001128AC C0 41 00 64 */ lfs f2, 0x64(r1) -/* 80115950 001128B0 7F C3 F3 78 */ mr r3, r30 -/* 80115954 001128B4 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80115958 001128B8 38 81 00 38 */ addi r4, r1, 0x38 -/* 8011595C 001128BC C0 81 00 54 */ lfs f4, 0x54(r1) -/* 80115960 001128C0 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80115964 001128C4 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 80115968 001128C8 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 8011596C 001128CC C0 1F 00 00 */ lfs f0, 0(r31) -/* 80115970 001128D0 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80115974 001128D4 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80115978 001128D8 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8011597C 001128DC D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80115980 001128E0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80115984 001128E4 48 1F D1 F1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80115988 001128E8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8011598C 001128EC 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80115990 001128F0 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80115994 001128F4 7C 08 03 A6 */ mtlr r0 -/* 80115998 001128F8 38 21 00 70 */ addi r1, r1, 0x70 -/* 8011599C 001128FC 4E 80 00 20 */ blr - -.global "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 801159A0 00112900 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 801159A4 00112904 7C 08 02 A6 */ mflr r0 -/* 801159A8 00112908 90 01 00 74 */ stw r0, 0x74(r1) -/* 801159AC 0011290C 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 801159B0 00112910 7C 9F 23 78 */ mr r31, r4 -/* 801159B4 00112914 93 C1 00 68 */ stw r30, 0x68(r1) -/* 801159B8 00112918 7C 7E 1B 78 */ mr r30, r3 -/* 801159BC 0011291C 38 61 00 08 */ addi r3, r1, 8 -/* 801159C0 00112920 48 00 00 AD */ bl "GetLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 801159C4 00112924 38 61 00 38 */ addi r3, r1, 0x38 -/* 801159C8 00112928 38 81 00 08 */ addi r4, r1, 8 -/* 801159CC 0011292C 48 1F D1 A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801159D0 00112930 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 801159D4 00112934 7F C3 F3 78 */ mr r3, r30 -/* 801159D8 00112938 C0 1F 00 08 */ lfs f0, 8(r31) -/* 801159DC 0011293C 38 81 00 38 */ addi r4, r1, 0x38 -/* 801159E0 00112940 C0 81 00 54 */ lfs f4, 0x54(r1) -/* 801159E4 00112944 C0 3F 00 04 */ lfs f1, 4(r31) -/* 801159E8 00112948 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 801159EC 0011294C C0 61 00 44 */ lfs f3, 0x44(r1) -/* 801159F0 00112950 C0 1F 00 00 */ lfs f0, 0(r31) -/* 801159F4 00112954 EC 21 01 32 */ fmuls f1, f1, f4 -/* 801159F8 00112958 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 801159FC 0011295C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80115A00 00112960 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80115A04 00112964 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80115A08 00112968 48 1F D1 6D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80115A0C 0011296C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80115A10 00112970 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80115A14 00112974 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80115A18 00112978 7C 08 03 A6 */ mtlr r0 -/* 80115A1C 0011297C 38 21 00 70 */ addi r1, r1, 0x70 -/* 80115A20 00112980 4E 80 00 20 */ blr - -.global "GetLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -"GetLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime": -/* 80115A24 00112984 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80115A28 00112988 7C 08 02 A6 */ mflr r0 -/* 80115A2C 0011298C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80115A30 00112990 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80115A34 00112994 7C 7F 1B 78 */ mr r31, r3 -/* 80115A38 00112998 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80115A3C 0011299C 28 04 00 00 */ cmplwi r4, 0 -/* 80115A40 001129A0 40 82 00 14 */ bne lbl_80115A54 -/* 80115A44 001129A4 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80115A48 001129A8 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80115A4C 001129AC 48 1F D1 29 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80115A50 001129B0 48 00 00 08 */ b lbl_80115A58 -lbl_80115A54: -/* 80115A54 001129B4 4B F1 69 2D */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -lbl_80115A58: -/* 80115A58 001129B8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80115A5C 001129BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80115A60 001129C0 7C 08 03 A6 */ mtlr r0 -/* 80115A64 001129C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80115A68 001129C8 4E 80 00 20 */ blr - -.global "GetLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"GetLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 80115A6C 001129CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80115A70 001129D0 7C 08 02 A6 */ mflr r0 -/* 80115A74 001129D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80115A78 001129D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80115A7C 001129DC 7C 7F 1B 78 */ mr r31, r3 -/* 80115A80 001129E0 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80115A84 001129E4 28 04 00 00 */ cmplwi r4, 0 -/* 80115A88 001129E8 40 82 00 14 */ bne lbl_80115A9C -/* 80115A8C 001129EC 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 80115A90 001129F0 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 80115A94 001129F4 48 1F D0 E1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80115A98 001129F8 48 00 00 0C */ b lbl_80115AA4 -lbl_80115A9C: -/* 80115A9C 001129FC 38 C0 00 00 */ li r6, 0 -/* 80115AA0 00112A00 4B F1 68 E1 */ bl "GetLocatorTransform__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -lbl_80115AA4: -/* 80115AA4 00112A04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80115AA8 00112A08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80115AAC 00112A0C 7C 08 03 A6 */ mtlr r0 -/* 80115AB0 00112A10 38 21 00 10 */ addi r1, r1, 0x10 -/* 80115AB4 00112A14 4E 80 00 20 */ blr - -.global AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b -AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b: -/* 80115AB8 00112A18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80115ABC 00112A1C 7C 08 02 A6 */ mflr r0 -/* 80115AC0 00112A20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80115AC4 00112A24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80115AC8 00112A28 7C 7F 1B 78 */ mr r31, r3 -/* 80115ACC 00112A2C 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80115AD0 00112A30 28 04 00 00 */ cmplwi r4, 0 -/* 80115AD4 00112A34 40 82 00 44 */ bne lbl_80115B18 -/* 80115AD8 00112A38 3C 60 80 47 */ lis r3, lbl_8046C538@ha -/* 80115ADC 00112A3C C4 03 C5 38 */ lfsu f0, lbl_8046C538@l(r3) -/* 80115AE0 00112A40 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80115AE4 00112A44 C0 03 00 04 */ lfs f0, 4(r3) -/* 80115AE8 00112A48 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80115AEC 00112A4C C0 03 00 08 */ lfs f0, 8(r3) -/* 80115AF0 00112A50 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80115AF4 00112A54 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80115AF8 00112A58 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80115AFC 00112A5C C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80115B00 00112A60 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80115B04 00112A64 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80115B08 00112A68 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80115B0C 00112A6C C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80115B10 00112A70 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80115B14 00112A74 48 00 00 0C */ b lbl_80115B20 -lbl_80115B18: -/* 80115B18 00112A78 54 C6 06 3E */ clrlwi r6, r6, 0x18 -/* 80115B1C 00112A7C 4B F1 7D 91 */ bl AdvanceIgnoreParticles__9CAnimDataFfR9CRandom16b -lbl_80115B20: -/* 80115B20 00112A80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80115B24 00112A84 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80115B28 00112A88 7C 08 03 A6 */ mtlr r0 -/* 80115B2C 00112A8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80115B30 00112A90 4E 80 00 20 */ blr - -.global AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb -AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb: -/* 80115B34 00112A94 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80115B38 00112A98 7C 08 02 A6 */ mflr r0 -/* 80115B3C 00112A9C 7C E8 3B 78 */ mr r8, r7 -/* 80115B40 00112AA0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80115B44 00112AA4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80115B48 00112AA8 7C 7F 1B 78 */ mr r31, r3 -/* 80115B4C 00112AAC 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80115B50 00112AB0 28 00 00 00 */ cmplwi r0, 0 -/* 80115B54 00112AB4 40 82 00 44 */ bne lbl_80115B98 -/* 80115B58 00112AB8 3C 60 80 47 */ lis r3, lbl_8046C538@ha -/* 80115B5C 00112ABC C4 03 C5 38 */ lfsu f0, lbl_8046C538@l(r3) -/* 80115B60 00112AC0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80115B64 00112AC4 C0 03 00 04 */ lfs f0, 4(r3) -/* 80115B68 00112AC8 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80115B6C 00112ACC C0 03 00 08 */ lfs f0, 8(r3) -/* 80115B70 00112AD0 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80115B74 00112AD4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80115B78 00112AD8 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80115B7C 00112ADC C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80115B80 00112AE0 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80115B84 00112AE4 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80115B88 00112AE8 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 80115B8C 00112AEC C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80115B90 00112AF0 D0 1F 00 18 */ stfs f0, 0x18(r31) -/* 80115B94 00112AF4 48 00 00 3C */ b lbl_80115BD0 -lbl_80115B98: -/* 80115B98 00112AF8 80 06 00 00 */ lwz r0, 0(r6) -/* 80115B9C 00112AFC 7C A6 2B 78 */ mr r6, r5 -/* 80115BA0 00112B00 38 A1 00 0C */ addi r5, r1, 0xc -/* 80115BA4 00112B04 38 E1 00 08 */ addi r7, r1, 8 -/* 80115BA8 00112B08 90 01 00 08 */ stw r0, 8(r1) -/* 80115BAC 00112B0C 55 08 06 3E */ clrlwi r8, r8, 0x18 -/* 80115BB0 00112B10 C0 04 00 00 */ lfs f0, 0(r4) -/* 80115BB4 00112B14 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80115BB8 00112B18 C0 04 00 04 */ lfs f0, 4(r4) -/* 80115BBC 00112B1C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80115BC0 00112B20 C0 04 00 08 */ lfs f0, 8(r4) -/* 80115BC4 00112B24 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80115BC8 00112B28 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80115BCC 00112B2C 4B F1 7B 61 */ bl Advance__9CAnimDataFfRC9CVector3fR13CStateManagerb -lbl_80115BD0: -/* 80115BD0 00112B30 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80115BD4 00112B34 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80115BD8 00112B38 7C 08 03 A6 */ mtlr r0 -/* 80115BDC 00112B3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80115BE0 00112B40 4E 80 00 20 */ blr - -.global IsAnimating__10CModelDataCFv -IsAnimating__10CModelDataCFv: -/* 80115BE4 00112B44 80 83 00 10 */ lwz r4, 0x10(r3) -/* 80115BE8 00112B48 38 60 00 00 */ li r3, 0 -/* 80115BEC 00112B4C 28 04 00 00 */ cmplwi r4, 0 -/* 80115BF0 00112B50 4D 82 00 20 */ beqlr -/* 80115BF4 00112B54 88 04 02 20 */ lbz r0, 0x220(r4) -/* 80115BF8 00112B58 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80115BFC 00112B5C 4D 82 00 20 */ beqlr -/* 80115C00 00112B60 38 60 00 01 */ li r3, 1 -/* 80115C04 00112B64 4E 80 00 20 */ blr - -.global IsInFrustum__10CModelDataCFRC12CTransform4fRC14CFrustumPlanes -IsInFrustum__10CModelDataCFRC12CTransform4fRC14CFrustumPlanes: -/* 80115C08 00112B68 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80115C0C 00112B6C 7C 08 02 A6 */ mflr r0 -/* 80115C10 00112B70 7C 86 23 78 */ mr r6, r4 -/* 80115C14 00112B74 38 80 00 00 */ li r4, 0 -/* 80115C18 00112B78 90 01 00 34 */ stw r0, 0x34(r1) -/* 80115C1C 00112B7C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80115C20 00112B80 7C BF 2B 78 */ mr r31, r5 -/* 80115C24 00112B84 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80115C28 00112B88 28 00 00 00 */ cmplwi r0, 0 -/* 80115C2C 00112B8C 40 82 00 14 */ bne lbl_80115C40 -/* 80115C30 00112B90 88 03 00 28 */ lbz r0, 0x28(r3) -/* 80115C34 00112B94 28 00 00 00 */ cmplwi r0, 0 -/* 80115C38 00112B98 40 82 00 08 */ bne lbl_80115C40 -/* 80115C3C 00112B9C 38 80 00 01 */ li r4, 1 -lbl_80115C40: -/* 80115C40 00112BA0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 80115C44 00112BA4 41 82 00 0C */ beq lbl_80115C50 -/* 80115C48 00112BA8 38 60 00 01 */ li r3, 1 -/* 80115C4C 00112BAC 48 00 00 20 */ b lbl_80115C6C -lbl_80115C50: -/* 80115C50 00112BB0 7C 64 1B 78 */ mr r4, r3 -/* 80115C54 00112BB4 7C C5 33 78 */ mr r5, r6 -/* 80115C58 00112BB8 38 61 00 08 */ addi r3, r1, 8 -/* 80115C5C 00112BBC 4B FF FB 59 */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 80115C60 00112BC0 7F E3 FB 78 */ mr r3, r31 -/* 80115C64 00112BC4 38 81 00 08 */ addi r4, r1, 8 -/* 80115C68 00112BC8 48 22 F5 69 */ bl BoxInFrustumPlanes__14CFrustumPlanesCFRC6CAABox -lbl_80115C6C: -/* 80115C6C 00112BCC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80115C70 00112BD0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80115C74 00112BD4 7C 08 03 A6 */ mtlr r0 -/* 80115C78 00112BD8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80115C7C 00112BDC 4E 80 00 20 */ blr - -.global RenderParticles__10CModelDataCFRC14CFrustumPlanes -RenderParticles__10CModelDataCFRC14CFrustumPlanes: -/* 80115C80 00112BE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80115C84 00112BE4 7C 08 02 A6 */ mflr r0 -/* 80115C88 00112BE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80115C8C 00112BEC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80115C90 00112BF0 28 03 00 00 */ cmplwi r3, 0 -/* 80115C94 00112BF4 41 82 00 08 */ beq lbl_80115C9C -/* 80115C98 00112BF8 4B F1 6C 61 */ bl RenderAuxiliary__9CAnimDataCFRC14CFrustumPlanes -lbl_80115C9C: -/* 80115C9C 00112BFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80115CA0 00112C00 7C 08 03 A6 */ mtlr r0 -/* 80115CA4 00112C04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80115CA8 00112C08 4E 80 00 20 */ blr - -.global Touch__10CModelDataCFQ210CModelData11EWhichModeli -Touch__10CModelDataCFQ210CModelData11EWhichModeli: -/* 80115CAC 00112C0C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80115CB0 00112C10 7C 08 02 A6 */ mflr r0 -/* 80115CB4 00112C14 90 01 00 14 */ stw r0, 0x14(r1) -/* 80115CB8 00112C18 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80115CBC 00112C1C 93 C1 00 08 */ stw r30, 8(r1) -/* 80115CC0 00112C20 7C BE 2B 78 */ mr r30, r5 -/* 80115CC4 00112C24 83 E3 00 10 */ lwz r31, 0x10(r3) -/* 80115CC8 00112C28 28 1F 00 00 */ cmplwi r31, 0 -/* 80115CCC 00112C2C 41 82 00 1C */ beq lbl_80115CE8 -/* 80115CD0 00112C30 4B FF F2 8D */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80115CD4 00112C34 7C 64 1B 78 */ mr r4, r3 -/* 80115CD8 00112C38 7F E3 FB 78 */ mr r3, r31 -/* 80115CDC 00112C3C 7F C5 F3 78 */ mr r5, r30 -/* 80115CE0 00112C40 4B F1 52 D1 */ bl Touch__9CAnimDataCFRC13CSkinnedModeli -/* 80115CE4 00112C44 48 00 00 14 */ b lbl_80115CF8 -lbl_80115CE8: -/* 80115CE8 00112C48 4B FF F2 C5 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80115CEC 00112C4C 80 63 00 08 */ lwz r3, 8(r3) -/* 80115CF0 00112C50 7F C4 F3 78 */ mr r4, r30 -/* 80115CF4 00112C54 48 23 F9 41 */ bl Touch__6CModelCFi -lbl_80115CF8: -/* 80115CF8 00112C58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80115CFC 00112C5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80115D00 00112C60 83 C1 00 08 */ lwz r30, 8(r1) -/* 80115D04 00112C64 7C 08 03 A6 */ mtlr r0 -/* 80115D08 00112C68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80115D0C 00112C6C 4E 80 00 20 */ blr - -.global Touch__10CModelDataCFRC13CStateManageri -Touch__10CModelDataCFRC13CStateManageri: -/* 80115D10 00112C70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80115D14 00112C74 7C 08 02 A6 */ mflr r0 -/* 80115D18 00112C78 90 01 00 14 */ stw r0, 0x14(r1) -/* 80115D1C 00112C7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80115D20 00112C80 7C BF 2B 78 */ mr r31, r5 -/* 80115D24 00112C84 93 C1 00 08 */ stw r30, 8(r1) -/* 80115D28 00112C88 7C 7E 1B 78 */ mr r30, r3 -/* 80115D2C 00112C8C 7C 83 23 78 */ mr r3, r4 -/* 80115D30 00112C90 4B FF F1 AD */ bl GetRenderingModel__10CModelDataFRC13CStateManager -/* 80115D34 00112C94 7C 64 1B 78 */ mr r4, r3 -/* 80115D38 00112C98 7F C3 F3 78 */ mr r3, r30 -/* 80115D3C 00112C9C 7F E5 FB 78 */ mr r5, r31 -/* 80115D40 00112CA0 4B FF FF 6D */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli -/* 80115D44 00112CA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80115D48 00112CA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80115D4C 00112CAC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80115D50 00112CB0 7C 08 03 A6 */ mtlr r0 -/* 80115D54 00112CB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80115D58 00112CB8 4E 80 00 20 */ blr - -.global MultipassDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsPC11CModelFlagsi -MultipassDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsPC11CModelFlagsi: -/* 80115D5C 00112CBC 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80115D60 00112CC0 7C 08 02 A6 */ mflr r0 -/* 80115D64 00112CC4 90 01 01 14 */ stw r0, 0x114(r1) -/* 80115D68 00112CC8 BF 41 00 F8 */ stmw r26, 0xf8(r1) -/* 80115D6C 00112CCC 7C 7A 1B 78 */ mr r26, r3 -/* 80115D70 00112CD0 7C 9B 23 78 */ mr r27, r4 -/* 80115D74 00112CD4 7C BF 2B 78 */ mr r31, r5 -/* 80115D78 00112CD8 7C DE 33 78 */ mr r30, r6 -/* 80115D7C 00112CDC 7C FD 3B 78 */ mr r29, r7 -/* 80115D80 00112CE0 7D 1C 43 78 */ mr r28, r8 -/* 80115D84 00112CE4 7F 44 D3 78 */ mr r4, r26 -/* 80115D88 00112CE8 38 61 00 14 */ addi r3, r1, 0x14 -/* 80115D8C 00112CEC 48 1F D4 39 */ bl Scale__12CTransform4fFRC9CVector3f -/* 80115D90 00112CF0 7F E4 FB 78 */ mr r4, r31 -/* 80115D94 00112CF4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80115D98 00112CF8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80115D9C 00112CFC 48 1F CB B5 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80115DA0 00112D00 38 61 00 74 */ addi r3, r1, 0x74 -/* 80115DA4 00112D04 38 81 00 44 */ addi r4, r1, 0x44 -/* 80115DA8 00112D08 48 1F CD CD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80115DAC 00112D0C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80115DB0 00112D10 38 81 00 74 */ addi r4, r1, 0x74 -/* 80115DB4 00112D14 81 83 00 00 */ lwz r12, 0(r3) -/* 80115DB8 00112D18 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80115DBC 00112D1C 7D 89 03 A6 */ mtctr r12 -/* 80115DC0 00112D20 4E 80 04 21 */ bctrl -/* 80115DC4 00112D24 28 1E 00 00 */ cmplwi r30, 0 -/* 80115DC8 00112D28 41 82 00 10 */ beq lbl_80115DD8 -/* 80115DCC 00112D2C 7F C3 F3 78 */ mr r3, r30 -/* 80115DD0 00112D30 4B FE EF B9 */ bl ActivateLights__12CActorLightsCFv -/* 80115DD4 00112D34 48 00 00 20 */ b lbl_80115DF4 -lbl_80115DD8: -/* 80115DD8 00112D38 48 1F 6B A5 */ bl DisableAllLights__9CGraphicsFv -/* 80115DDC 00112D3C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80115DE0 00112D40 38 9A 00 18 */ addi r4, r26, 0x18 -/* 80115DE4 00112D44 81 83 00 00 */ lwz r12, 0(r3) -/* 80115DE8 00112D48 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80115DEC 00112D4C 7D 89 03 A6 */ mtctr r12 -/* 80115DF0 00112D50 4E 80 04 21 */ bctrl -lbl_80115DF4: -/* 80115DF4 00112D54 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 80115DF8 00112D58 28 00 00 00 */ cmplwi r0, 0 -/* 80115DFC 00112D5C 41 82 00 60 */ beq lbl_80115E5C -/* 80115E00 00112D60 7F 43 D3 78 */ mr r3, r26 -/* 80115E04 00112D64 7F 64 DB 78 */ mr r4, r27 -/* 80115E08 00112D68 4B FF F1 55 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80115E0C 00112D6C 38 00 00 00 */ li r0, 0 -/* 80115E10 00112D70 7C 7E 1B 78 */ mr r30, r3 -/* 80115E14 00112D74 98 01 00 EC */ stb r0, 0xec(r1) -/* 80115E18 00112D78 7F C4 F3 78 */ mr r4, r30 -/* 80115E1C 00112D7C 80 7A 00 10 */ lwz r3, 0x10(r26) -/* 80115E20 00112D80 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 80115E24 00112D84 38 C0 00 00 */ li r6, 0 -/* 80115E28 00112D88 4B F1 6B 51 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 80115E2C 00112D8C 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80115E30 00112D90 38 80 FF FF */ li r4, -1 -/* 80115E34 00112D94 4B F6 1E 59 */ bl sub_80077c8c -/* 80115E38 00112D98 3C 60 80 11 */ lis r3, MultipassDrawCallback__10CModelDataFPCfPCfPC21SMultipassDrawContext@ha -/* 80115E3C 00112D9C 93 C1 00 08 */ stw r30, 8(r1) -/* 80115E40 00112DA0 38 83 64 48 */ addi r4, r3, MultipassDrawCallback__10CModelDataFPCfPCfPC21SMultipassDrawContext@l -/* 80115E44 00112DA4 38 A1 00 08 */ addi r5, r1, 8 -/* 80115E48 00112DA8 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80115E4C 00112DAC 7F C3 F3 78 */ mr r3, r30 -/* 80115E50 00112DB0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80115E54 00112DB4 48 23 D0 CD */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv -/* 80115E58 00112DB8 48 00 00 3C */ b lbl_80115E94 -lbl_80115E5C: -/* 80115E5C 00112DBC 7F 43 D3 78 */ mr r3, r26 -/* 80115E60 00112DC0 7F 64 DB 78 */ mr r4, r27 -/* 80115E64 00112DC4 4B FF F1 49 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80115E68 00112DC8 83 E3 00 08 */ lwz r31, 8(r3) -/* 80115E6C 00112DCC 7F BE EB 78 */ mr r30, r29 -/* 80115E70 00112DD0 3B A0 00 00 */ li r29, 0 -/* 80115E74 00112DD4 48 00 00 18 */ b lbl_80115E8C -lbl_80115E78: -/* 80115E78 00112DD8 7F E3 FB 78 */ mr r3, r31 -/* 80115E7C 00112DDC 7F C4 F3 78 */ mr r4, r30 -/* 80115E80 00112DE0 48 23 FD 55 */ bl Draw__6CModelCFRC11CModelFlags -/* 80115E84 00112DE4 3B DE 00 08 */ addi r30, r30, 8 -/* 80115E88 00112DE8 3B BD 00 01 */ addi r29, r29, 1 -lbl_80115E8C: -/* 80115E8C 00112DEC 7C 1D E0 00 */ cmpw r29, r28 -/* 80115E90 00112DF0 41 80 FF E8 */ blt lbl_80115E78 -lbl_80115E94: -/* 80115E94 00112DF4 BB 41 00 F8 */ lmw r26, 0xf8(r1) -/* 80115E98 00112DF8 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80115E9C 00112DFC 7C 08 03 A6 */ mtlr r0 -/* 80115EA0 00112E00 38 21 01 10 */ addi r1, r1, 0x110 -/* 80115EA4 00112E04 4E 80 00 20 */ blr - -.global MultiLightingDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsRC6CColorRC6CColor -MultiLightingDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsRC6CColorRC6CColor: -/* 80115EA8 00112E08 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80115EAC 00112E0C 7C 08 02 A6 */ mflr r0 -/* 80115EB0 00112E10 90 01 01 24 */ stw r0, 0x124(r1) -/* 80115EB4 00112E14 BF 41 01 08 */ stmw r26, 0x108(r1) -/* 80115EB8 00112E18 7C 7A 1B 78 */ mr r26, r3 -/* 80115EBC 00112E1C 7C 9B 23 78 */ mr r27, r4 -/* 80115EC0 00112E20 7C BF 2B 78 */ mr r31, r5 -/* 80115EC4 00112E24 7C DC 33 78 */ mr r28, r6 -/* 80115EC8 00112E28 7C FD 3B 78 */ mr r29, r7 -/* 80115ECC 00112E2C 7D 1E 43 78 */ mr r30, r8 -/* 80115ED0 00112E30 7F 44 D3 78 */ mr r4, r26 -/* 80115ED4 00112E34 38 61 00 28 */ addi r3, r1, 0x28 -/* 80115ED8 00112E38 48 1F D2 ED */ bl Scale__12CTransform4fFRC9CVector3f -/* 80115EDC 00112E3C 7F E4 FB 78 */ mr r4, r31 -/* 80115EE0 00112E40 38 61 00 58 */ addi r3, r1, 0x58 -/* 80115EE4 00112E44 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80115EE8 00112E48 48 1F CA 69 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80115EEC 00112E4C 38 61 00 88 */ addi r3, r1, 0x88 -/* 80115EF0 00112E50 38 81 00 58 */ addi r4, r1, 0x58 -/* 80115EF4 00112E54 48 1F CC 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80115EF8 00112E58 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80115EFC 00112E5C 38 81 00 88 */ addi r4, r1, 0x88 -/* 80115F00 00112E60 81 83 00 00 */ lwz r12, 0(r3) -/* 80115F04 00112E64 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80115F08 00112E68 7D 89 03 A6 */ mtctr r12 -/* 80115F0C 00112E6C 4E 80 04 21 */ bctrl -/* 80115F10 00112E70 80 1A 00 10 */ lwz r0, 0x10(r26) -/* 80115F14 00112E74 28 00 00 00 */ cmplwi r0, 0 -/* 80115F18 00112E78 41 82 00 68 */ beq lbl_80115F80 -/* 80115F1C 00112E7C 7F 43 D3 78 */ mr r3, r26 -/* 80115F20 00112E80 7F 64 DB 78 */ mr r4, r27 -/* 80115F24 00112E84 4B FF F0 39 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80115F28 00112E88 38 00 00 00 */ li r0, 0 -/* 80115F2C 00112E8C 7C 7F 1B 78 */ mr r31, r3 -/* 80115F30 00112E90 98 01 01 00 */ stb r0, 0x100(r1) -/* 80115F34 00112E94 7F E4 FB 78 */ mr r4, r31 -/* 80115F38 00112E98 80 7A 00 10 */ lwz r3, 0x10(r26) -/* 80115F3C 00112E9C 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 80115F40 00112EA0 38 C0 00 00 */ li r6, 0 -/* 80115F44 00112EA4 4B F1 6A 35 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 80115F48 00112EA8 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80115F4C 00112EAC 38 80 FF FF */ li r4, -1 -/* 80115F50 00112EB0 4B F6 1D 3D */ bl sub_80077c8c -/* 80115F54 00112EB4 80 1F 00 0C */ lwz r0, 0xc(r31) -/* 80115F58 00112EB8 3C 60 80 11 */ lis r3, MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext@ha -/* 80115F5C 00112EBC 38 83 64 B8 */ addi r4, r3, MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext@l -/* 80115F60 00112EC0 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80115F64 00112EC4 90 01 00 18 */ stw r0, 0x18(r1) -/* 80115F68 00112EC8 7F E3 FB 78 */ mr r3, r31 -/* 80115F6C 00112ECC 93 81 00 1C */ stw r28, 0x1c(r1) -/* 80115F70 00112ED0 93 A1 00 20 */ stw r29, 0x20(r1) -/* 80115F74 00112ED4 93 C1 00 24 */ stw r30, 0x24(r1) -/* 80115F78 00112ED8 48 23 CF A9 */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv -/* 80115F7C 00112EDC 48 00 00 34 */ b lbl_80115FB0 -lbl_80115F80: -/* 80115F80 00112EE0 7F 43 D3 78 */ mr r3, r26 -/* 80115F84 00112EE4 7F 64 DB 78 */ mr r4, r27 -/* 80115F88 00112EE8 4B FF F0 25 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80115F8C 00112EEC 80 03 00 08 */ lwz r0, 8(r3) -/* 80115F90 00112EF0 38 A1 00 08 */ addi r5, r1, 8 -/* 80115F94 00112EF4 38 60 00 00 */ li r3, 0 -/* 80115F98 00112EF8 38 80 00 00 */ li r4, 0 -/* 80115F9C 00112EFC 90 01 00 08 */ stw r0, 8(r1) -/* 80115FA0 00112F00 93 81 00 0C */ stw r28, 0xc(r1) -/* 80115FA4 00112F04 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80115FA8 00112F08 93 C1 00 14 */ stw r30, 0x14(r1) -/* 80115FAC 00112F0C 48 00 05 0D */ bl MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext -lbl_80115FB0: -/* 80115FB0 00112F10 BB 41 01 08 */ lmw r26, 0x108(r1) -/* 80115FB4 00112F14 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80115FB8 00112F18 7C 08 03 A6 */ mtlr r0 -/* 80115FBC 00112F1C 38 21 01 20 */ addi r1, r1, 0x120 -/* 80115FC0 00112F20 4E 80 00 20 */ blr - -.global FlatDraw__10CModelDataF11EWhichModelRC12CTransform4fbRC11CModelFlags -FlatDraw__10CModelDataF11EWhichModelRC12CTransform4fbRC11CModelFlags: -/* 80115FC4 00112F24 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80115FC8 00112F28 7C 08 02 A6 */ mflr r0 -/* 80115FCC 00112F2C 90 01 01 14 */ stw r0, 0x114(r1) -/* 80115FD0 00112F30 BF 61 00 FC */ stmw r27, 0xfc(r1) -/* 80115FD4 00112F34 7C 7B 1B 78 */ mr r27, r3 -/* 80115FD8 00112F38 7C 9C 23 78 */ mr r28, r4 -/* 80115FDC 00112F3C 7C BF 2B 78 */ mr r31, r5 -/* 80115FE0 00112F40 7C DD 33 78 */ mr r29, r6 -/* 80115FE4 00112F44 7C FE 3B 78 */ mr r30, r7 -/* 80115FE8 00112F48 7F 64 DB 78 */ mr r4, r27 -/* 80115FEC 00112F4C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80115FF0 00112F50 48 1F D1 D5 */ bl Scale__12CTransform4fFRC9CVector3f -/* 80115FF4 00112F54 7F E4 FB 78 */ mr r4, r31 -/* 80115FF8 00112F58 38 61 00 44 */ addi r3, r1, 0x44 -/* 80115FFC 00112F5C 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80116000 00112F60 48 1F C9 51 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80116004 00112F64 38 61 00 74 */ addi r3, r1, 0x74 -/* 80116008 00112F68 38 81 00 44 */ addi r4, r1, 0x44 -/* 8011600C 00112F6C 48 1F CB 69 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80116010 00112F70 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80116014 00112F74 38 81 00 74 */ addi r4, r1, 0x74 -/* 80116018 00112F78 81 83 00 00 */ lwz r12, 0(r3) -/* 8011601C 00112F7C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 80116020 00112F80 7D 89 03 A6 */ mtctr r12 -/* 80116024 00112F84 4E 80 04 21 */ bctrl -/* 80116028 00112F88 48 1F 69 55 */ bl DisableAllLights__9CGraphicsFv -/* 8011602C 00112F8C 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 80116030 00112F90 28 00 00 00 */ cmplwi r0, 0 -/* 80116034 00112F94 41 82 00 60 */ beq lbl_80116094 -/* 80116038 00112F98 7F 63 DB 78 */ mr r3, r27 -/* 8011603C 00112F9C 7F 84 E3 78 */ mr r4, r28 -/* 80116040 00112FA0 4B FF EF 1D */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80116044 00112FA4 38 00 00 00 */ li r0, 0 -/* 80116048 00112FA8 7C 7F 1B 78 */ mr r31, r3 -/* 8011604C 00112FAC 98 01 00 EC */ stb r0, 0xec(r1) -/* 80116050 00112FB0 7F E4 FB 78 */ mr r4, r31 -/* 80116054 00112FB4 80 7B 00 10 */ lwz r3, 0x10(r27) -/* 80116058 00112FB8 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 8011605C 00112FBC 38 C0 00 00 */ li r6, 0 -/* 80116060 00112FC0 4B F1 69 19 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 80116064 00112FC4 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80116068 00112FC8 38 80 FF FF */ li r4, -1 -/* 8011606C 00112FCC 4B F6 1C 21 */ bl sub_80077c8c -/* 80116070 00112FD0 3C 60 80 11 */ lis r3, FlatDrawCallback__10CModelDataFPCfPCfPC16SFlatDrawContext@ha -/* 80116074 00112FD4 93 E1 00 08 */ stw r31, 8(r1) -/* 80116078 00112FD8 38 83 66 40 */ addi r4, r3, FlatDrawCallback__10CModelDataFPCfPCfPC16SFlatDrawContext@l -/* 8011607C 00112FDC 38 A1 00 08 */ addi r5, r1, 8 -/* 80116080 00112FE0 9B A1 00 0C */ stb r29, 0xc(r1) -/* 80116084 00112FE4 7F E3 FB 78 */ mr r3, r31 -/* 80116088 00112FE8 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8011608C 00112FEC 48 23 CE 95 */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv -/* 80116090 00112FF0 48 00 00 3C */ b lbl_801160CC -lbl_80116094: -/* 80116094 00112FF4 7F 63 DB 78 */ mr r3, r27 -/* 80116098 00112FF8 7F 84 E3 78 */ mr r4, r28 -/* 8011609C 00112FFC 4B FF EF 11 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 801160A0 00113000 7C 64 1B 78 */ mr r4, r3 -/* 801160A4 00113004 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801160A8 00113008 7F C5 F3 78 */ mr r5, r30 -/* 801160AC 0011300C 57 A6 06 3E */ clrlwi r6, r29, 0x18 -/* 801160B0 00113010 81 83 00 00 */ lwz r12, 0(r3) -/* 801160B4 00113014 38 E0 00 00 */ li r7, 0 -/* 801160B8 00113018 80 84 00 08 */ lwz r4, 8(r4) -/* 801160BC 0011301C 39 00 00 00 */ li r8, 0 -/* 801160C0 00113020 81 8C 00 D8 */ lwz r12, 0xd8(r12) -/* 801160C4 00113024 7D 89 03 A6 */ mtctr r12 -/* 801160C8 00113028 4E 80 04 21 */ bctrl -lbl_801160CC: -/* 801160CC 0011302C BB 61 00 FC */ lmw r27, 0xfc(r1) -/* 801160D0 00113030 80 01 01 14 */ lwz r0, 0x114(r1) -/* 801160D4 00113034 7C 08 03 A6 */ mtlr r0 -/* 801160D8 00113038 38 21 01 10 */ addi r1, r1, 0x110 -/* 801160DC 0011303C 4E 80 00 20 */ blr - -.global DisintegrateDraw__10CModelDataFRC13CStateManagerRC12CTransform4fRC8CTextureRC6CColor -DisintegrateDraw__10CModelDataFRC13CStateManagerRC12CTransform4fRC8CTextureRC6CColor: -/* 801160E0 00113040 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801160E4 00113044 7C 08 02 A6 */ mflr r0 -/* 801160E8 00113048 90 01 00 24 */ stw r0, 0x24(r1) -/* 801160EC 0011304C DB E1 00 18 */ stfd f31, 0x18(r1) -/* 801160F0 00113050 FF E0 08 90 */ fmr f31, f1 -/* 801160F4 00113054 93 E1 00 14 */ stw r31, 0x14(r1) -/* 801160F8 00113058 7C FF 3B 78 */ mr r31, r7 -/* 801160FC 0011305C 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80116100 00113060 7C DE 33 78 */ mr r30, r6 -/* 80116104 00113064 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80116108 00113068 7C BD 2B 78 */ mr r29, r5 -/* 8011610C 0011306C 93 81 00 08 */ stw r28, 8(r1) -/* 80116110 00113070 7C 7C 1B 78 */ mr r28, r3 -/* 80116114 00113074 7C 83 23 78 */ mr r3, r4 -/* 80116118 00113078 4B FF ED C5 */ bl GetRenderingModel__10CModelDataFRC13CStateManager -/* 8011611C 0011307C FC 20 F8 90 */ fmr f1, f31 -/* 80116120 00113080 7C 64 1B 78 */ mr r4, r3 -/* 80116124 00113084 7F 83 E3 78 */ mr r3, r28 -/* 80116128 00113088 7F A5 EB 78 */ mr r5, r29 -/* 8011612C 0011308C 7F C6 F3 78 */ mr r6, r30 -/* 80116130 00113090 7F E7 FB 78 */ mr r7, r31 -/* 80116134 00113094 48 00 00 29 */ bl DisintegrateDraw__10CModelDataF11EWhichModelRC12CTransform4fRC8CTextureRC6CColor -/* 80116138 00113098 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011613C 0011309C CB E1 00 18 */ lfd f31, 0x18(r1) -/* 80116140 001130A0 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80116144 001130A4 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 80116148 001130A8 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 8011614C 001130AC 83 81 00 08 */ lwz r28, 8(r1) -/* 80116150 001130B0 7C 08 03 A6 */ mtlr r0 -/* 80116154 001130B4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80116158 001130B8 4E 80 00 20 */ blr - -.global DisintegrateDraw__10CModelDataF11EWhichModelRC12CTransform4fRC8CTextureRC6CColor -DisintegrateDraw__10CModelDataF11EWhichModelRC12CTransform4fRC8CTextureRC6CColor: -/* 8011615C 001130BC 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80116160 001130C0 7C 08 02 A6 */ mflr r0 -/* 80116164 001130C4 90 01 01 34 */ stw r0, 0x134(r1) -/* 80116168 001130C8 DB E1 01 28 */ stfd f31, 0x128(r1) -/* 8011616C 001130CC FF E0 08 90 */ fmr f31, f1 -/* 80116170 001130D0 BF 61 01 14 */ stmw r27, 0x114(r1) -/* 80116174 001130D4 7C 7B 1B 78 */ mr r27, r3 -/* 80116178 001130D8 7C 9C 23 78 */ mr r28, r4 -/* 8011617C 001130DC 7C BF 2B 78 */ mr r31, r5 -/* 80116180 001130E0 7C DD 33 78 */ mr r29, r6 -/* 80116184 001130E4 7C FE 3B 78 */ mr r30, r7 -/* 80116188 001130E8 7F 64 DB 78 */ mr r4, r27 -/* 8011618C 001130EC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80116190 001130F0 48 1F D0 35 */ bl Scale__12CTransform4fFRC9CVector3f -/* 80116194 001130F4 7F E4 FB 78 */ mr r4, r31 -/* 80116198 001130F8 38 61 00 60 */ addi r3, r1, 0x60 -/* 8011619C 001130FC 38 A1 00 30 */ addi r5, r1, 0x30 -/* 801161A0 00113100 48 1F C7 B1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801161A4 00113104 38 61 00 90 */ addi r3, r1, 0x90 -/* 801161A8 00113108 38 81 00 60 */ addi r4, r1, 0x60 -/* 801161AC 0011310C 48 1F C9 C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801161B0 00113110 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801161B4 00113114 38 81 00 90 */ addi r4, r1, 0x90 -/* 801161B8 00113118 81 83 00 00 */ lwz r12, 0(r3) -/* 801161BC 0011311C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801161C0 00113120 7D 89 03 A6 */ mtctr r12 -/* 801161C4 00113124 4E 80 04 21 */ bctrl -/* 801161C8 00113128 48 1F 67 B5 */ bl DisableAllLights__9CGraphicsFv -/* 801161CC 0011312C 7F 64 DB 78 */ mr r4, r27 -/* 801161D0 00113130 38 61 00 18 */ addi r3, r1, 0x18 -/* 801161D4 00113134 38 A1 00 90 */ addi r5, r1, 0x90 -/* 801161D8 00113138 4B FF F5 DD */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 801161DC 0011313C 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 801161E0 00113140 28 00 00 00 */ cmplwi r0, 0 -/* 801161E4 00113144 41 82 00 68 */ beq lbl_8011624C -/* 801161E8 00113148 7F 63 DB 78 */ mr r3, r27 -/* 801161EC 0011314C 7F 84 E3 78 */ mr r4, r28 -/* 801161F0 00113150 4B FF ED 6D */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -/* 801161F4 00113154 38 00 00 00 */ li r0, 0 -/* 801161F8 00113158 7C 7F 1B 78 */ mr r31, r3 -/* 801161FC 0011315C 98 01 01 08 */ stb r0, 0x108(r1) -/* 80116200 00113160 7F E4 FB 78 */ mr r4, r31 -/* 80116204 00113164 80 7B 00 10 */ lwz r3, 0x10(r27) -/* 80116208 00113168 38 A1 00 C0 */ addi r5, r1, 0xc0 -/* 8011620C 0011316C 38 C0 00 00 */ li r6, 0 -/* 80116210 00113170 4B F1 67 69 */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 80116214 00113174 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80116218 00113178 38 80 FF FF */ li r4, -1 -/* 8011621C 0011317C 4B F6 1A 71 */ bl sub_80077c8c -/* 80116220 00113180 80 1E 00 00 */ lwz r0, 0(r30) -/* 80116224 00113184 3C 60 80 11 */ lis r3, DisintegrateDrawCallback__10CModelDataFPCfPCfPC22SOneTextureDrawContext@ha -/* 80116228 00113188 38 83 66 8C */ addi r4, r3, DisintegrateDrawCallback__10CModelDataFPCfPCfPC22SOneTextureDrawContext@l -/* 8011622C 0011318C 93 E1 00 08 */ stw r31, 8(r1) -/* 80116230 00113190 7F E3 FB 78 */ mr r3, r31 -/* 80116234 00113194 38 A1 00 08 */ addi r5, r1, 8 -/* 80116238 00113198 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8011623C 0011319C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80116240 001131A0 D3 E1 00 14 */ stfs f31, 0x14(r1) -/* 80116244 001131A4 48 23 CC DD */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv -/* 80116248 001131A8 48 00 00 40 */ b lbl_80116288 -lbl_8011624C: -/* 8011624C 001131AC 7F 63 DB 78 */ mr r3, r27 -/* 80116250 001131B0 7F 84 E3 78 */ mr r4, r28 -/* 80116254 001131B4 4B FF ED 59 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80116258 001131B8 7C 64 1B 78 */ mr r4, r3 -/* 8011625C 001131BC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80116260 001131C0 FC 20 F8 90 */ fmr f1, f31 -/* 80116264 001131C4 7F A5 EB 78 */ mr r5, r29 -/* 80116268 001131C8 81 83 00 00 */ lwz r12, 0(r3) -/* 8011626C 001131CC 7F C6 F3 78 */ mr r6, r30 -/* 80116270 001131D0 80 84 00 08 */ lwz r4, 8(r4) -/* 80116274 001131D4 38 E0 00 00 */ li r7, 0 -/* 80116278 001131D8 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 8011627C 001131DC 39 00 00 00 */ li r8, 0 -/* 80116280 001131E0 7D 89 03 A6 */ mtctr r12 -/* 80116284 001131E4 4E 80 04 21 */ bctrl -lbl_80116288: -/* 80116288 001131E8 CB E1 01 28 */ lfd f31, 0x128(r1) -/* 8011628C 001131EC BB 61 01 14 */ lmw r27, 0x114(r1) -/* 80116290 001131F0 80 01 01 34 */ lwz r0, 0x134(r1) -/* 80116294 001131F4 7C 08 03 A6 */ mtlr r0 -/* 80116298 001131F8 38 21 01 30 */ addi r1, r1, 0x130 -/* 8011629C 001131FC 4E 80 00 20 */ blr - -.global RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags -RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags: -/* 801162A0 00113200 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 801162A4 00113204 7C 08 02 A6 */ mflr r0 -/* 801162A8 00113208 90 01 01 04 */ stw r0, 0x104(r1) -/* 801162AC 0011320C BF 61 00 EC */ stmw r27, 0xec(r1) -/* 801162B0 00113210 7C 7B 1B 78 */ mr r27, r3 -/* 801162B4 00113214 7C 9F 23 78 */ mr r31, r4 -/* 801162B8 00113218 7C BC 2B 78 */ mr r28, r5 -/* 801162BC 0011321C 7C DD 33 78 */ mr r29, r6 -/* 801162C0 00113220 7C FE 3B 78 */ mr r30, r7 -/* 801162C4 00113224 7F 64 DB 78 */ mr r4, r27 -/* 801162C8 00113228 38 61 00 08 */ addi r3, r1, 8 -/* 801162CC 0011322C 48 1F CE F9 */ bl Scale__12CTransform4fFRC9CVector3f -/* 801162D0 00113230 7F E4 FB 78 */ mr r4, r31 -/* 801162D4 00113234 38 61 00 38 */ addi r3, r1, 0x38 -/* 801162D8 00113238 38 A1 00 08 */ addi r5, r1, 8 -/* 801162DC 0011323C 48 1F C6 75 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801162E0 00113240 38 61 00 68 */ addi r3, r1, 0x68 -/* 801162E4 00113244 38 81 00 38 */ addi r4, r1, 0x38 -/* 801162E8 00113248 48 1F C8 8D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801162EC 0011324C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801162F0 00113250 38 81 00 68 */ addi r4, r1, 0x68 -/* 801162F4 00113254 81 83 00 00 */ lwz r12, 0(r3) -/* 801162F8 00113258 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801162FC 0011325C 7D 89 03 A6 */ mtctr r12 -/* 80116300 00113260 4E 80 04 21 */ bctrl -/* 80116304 00113264 48 1F 66 79 */ bl DisableAllLights__9CGraphicsFv -/* 80116308 00113268 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 8011630C 0011326C 28 00 00 00 */ cmplwi r0, 0 -/* 80116310 00113270 41 82 00 54 */ beq lbl_80116364 -/* 80116314 00113274 7F 63 DB 78 */ mr r3, r27 -/* 80116318 00113278 38 80 00 03 */ li r4, 3 -/* 8011631C 0011327C 4B FF EC 41 */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80116320 00113280 38 00 00 00 */ li r0, 0 -/* 80116324 00113284 7C 7F 1B 78 */ mr r31, r3 -/* 80116328 00113288 98 01 00 E0 */ stb r0, 0xe0(r1) -/* 8011632C 0011328C 7F E4 FB 78 */ mr r4, r31 -/* 80116330 00113290 80 7B 00 10 */ lwz r3, 0x10(r27) -/* 80116334 00113294 38 A1 00 98 */ addi r5, r1, 0x98 -/* 80116338 00113298 38 C0 00 00 */ li r6, 0 -/* 8011633C 0011329C 4B F1 66 3D */ bl "SetupRender__9CAnimDataCFRC13CSkinnedModelRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 80116340 001132A0 38 61 00 98 */ addi r3, r1, 0x98 -/* 80116344 001132A4 38 80 FF FF */ li r4, -1 -/* 80116348 001132A8 4B F6 19 45 */ bl sub_80077c8c -/* 8011634C 001132AC 7F E3 FB 78 */ mr r3, r31 -/* 80116350 001132B0 7F 84 E3 78 */ mr r4, r28 -/* 80116354 001132B4 7F A5 EB 78 */ mr r5, r29 -/* 80116358 001132B8 7F C6 F3 78 */ mr r6, r30 -/* 8011635C 001132BC 48 00 00 A9 */ bl ThermalDraw__10CModelDataRC6CColorRC6CColorRC11CModelFlags -/* 80116360 001132C0 48 00 00 40 */ b lbl_801163A0 -lbl_80116364: -/* 80116364 001132C4 7F 63 DB 78 */ mr r3, r27 -/* 80116368 001132C8 38 80 00 03 */ li r4, 3 -/* 8011636C 001132CC 4B FF EC 41 */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80116370 001132D0 7C 64 1B 78 */ mr r4, r3 -/* 80116374 001132D4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80116378 001132D8 7F 85 E3 78 */ mr r5, r28 -/* 8011637C 001132DC 7F A6 EB 78 */ mr r6, r29 -/* 80116380 001132E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80116384 001132E4 7F C9 F3 78 */ mr r9, r30 -/* 80116388 001132E8 80 84 00 08 */ lwz r4, 8(r4) -/* 8011638C 001132EC 38 E0 00 00 */ li r7, 0 -/* 80116390 001132F0 81 8C 00 D0 */ lwz r12, 0xd0(r12) -/* 80116394 001132F4 39 00 00 00 */ li r8, 0 -/* 80116398 001132F8 7D 89 03 A6 */ mtctr r12 -/* 8011639C 001132FC 4E 80 04 21 */ bctrl -lbl_801163A0: -/* 801163A0 00113300 BB 61 00 EC */ lmw r27, 0xec(r1) -/* 801163A4 00113304 80 01 01 04 */ lwz r0, 0x104(r1) -/* 801163A8 00113308 7C 08 03 A6 */ mtlr r0 -/* 801163AC 0011330C 38 21 01 00 */ addi r1, r1, 0x100 -/* 801163B0 00113310 4E 80 00 20 */ blr - -.global RenderThermal__10CModelDataCFPCfPCfRC6CColorRC6CColorRC11CModelFlags -RenderThermal__10CModelDataCFPCfPCfRC6CColorRC6CColorRC11CModelFlags: -/* 801163B4 00113314 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801163B8 00113318 7C 08 02 A6 */ mflr r0 -/* 801163BC 0011331C 7C 6A 1B 78 */ mr r10, r3 -/* 801163C0 00113320 7D 09 43 78 */ mr r9, r8 -/* 801163C4 00113324 90 01 00 14 */ stw r0, 0x14(r1) -/* 801163C8 00113328 7C A0 2B 78 */ mr r0, r5 -/* 801163CC 0011332C 7C C5 33 78 */ mr r5, r6 -/* 801163D0 00113330 7C E6 3B 78 */ mr r6, r7 -/* 801163D4 00113334 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801163D8 00113338 7C 87 23 78 */ mr r7, r4 -/* 801163DC 0011333C 7C 08 03 78 */ mr r8, r0 -/* 801163E0 00113340 80 8A 00 0C */ lwz r4, 0xc(r10) -/* 801163E4 00113344 81 83 00 00 */ lwz r12, 0(r3) -/* 801163E8 00113348 81 8C 00 D0 */ lwz r12, 0xd0(r12) -/* 801163EC 0011334C 7D 89 03 A6 */ mtctr r12 -/* 801163F0 00113350 4E 80 04 21 */ bctrl -/* 801163F4 00113354 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801163F8 00113358 7C 08 03 A6 */ mtlr r0 -/* 801163FC 0011335C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80116400 00113360 4E 80 00 20 */ blr - -.global ThermalDraw__10CModelDataRC6CColorRC6CColorRC11CModelFlags -ThermalDraw__10CModelDataRC6CColorRC6CColorRC11CModelFlags: -/* 80116404 00113364 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80116408 00113368 7C 08 02 A6 */ mflr r0 -/* 8011640C 0011336C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80116410 00113370 80 05 00 00 */ lwz r0, 0(r5) -/* 80116414 00113374 3C A0 80 11 */ lis r5, ThermalDrawCallback__10CModelDataFPCfPCfPC19SThermalDrawContext@ha -/* 80116418 00113378 80 E4 00 00 */ lwz r7, 0(r4) -/* 8011641C 0011337C 38 85 66 DC */ addi r4, r5, ThermalDrawCallback__10CModelDataFPCfPCfPC19SThermalDrawContext@l -/* 80116420 00113380 90 61 00 08 */ stw r3, 8(r1) -/* 80116424 00113384 38 A1 00 08 */ addi r5, r1, 8 -/* 80116428 00113388 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8011642C 0011338C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80116430 00113390 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80116434 00113394 48 23 CA ED */ bl DoDrawCallback__13CSkinnedModelF14FCustomDrawCPv -/* 80116438 00113398 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011643C 0011339C 7C 08 03 A6 */ mtlr r0 -/* 80116440 001133A0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80116444 001133A4 4E 80 00 20 */ blr - -.global MultipassDrawCallback__10CModelDataFPCfPCfPC21SMultipassDrawContext -MultipassDrawCallback__10CModelDataFPCfPCfPC21SMultipassDrawContext: -/* 80116448 001133A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011644C 001133AC 7C 08 02 A6 */ mflr r0 -/* 80116450 001133B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80116454 001133B4 BF 41 00 08 */ stmw r26, 8(r1) -/* 80116458 001133B8 7C 7A 1B 78 */ mr r26, r3 -/* 8011645C 001133BC 7C BC 2B 78 */ mr r28, r5 -/* 80116460 001133C0 7C 9B 23 78 */ mr r27, r4 -/* 80116464 001133C4 3B A0 00 00 */ li r29, 0 -/* 80116468 001133C8 3B C0 00 00 */ li r30, 0 -/* 8011646C 001133CC 80 65 00 00 */ lwz r3, 0(r5) -/* 80116470 001133D0 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 80116474 001133D4 48 00 00 24 */ b lbl_80116498 -lbl_80116478: -/* 80116478 001133D8 80 1C 00 04 */ lwz r0, 4(r28) -/* 8011647C 001133DC 7F E3 FB 78 */ mr r3, r31 -/* 80116480 001133E0 7F 44 D3 78 */ mr r4, r26 -/* 80116484 001133E4 7F 65 DB 78 */ mr r5, r27 -/* 80116488 001133E8 7C C0 F2 14 */ add r6, r0, r30 -/* 8011648C 001133EC 48 23 F5 BD */ bl Draw__6CModelCFPCfPCfRC11CModelFlags -/* 80116490 001133F0 3B DE 00 08 */ addi r30, r30, 8 -/* 80116494 001133F4 3B BD 00 01 */ addi r29, r29, 1 -lbl_80116498: -/* 80116498 001133F8 80 1C 00 08 */ lwz r0, 8(r28) -/* 8011649C 001133FC 7C 1D 00 00 */ cmpw r29, r0 -/* 801164A0 00113400 41 80 FF D8 */ blt lbl_80116478 -/* 801164A4 00113404 BB 41 00 08 */ lmw r26, 8(r1) -/* 801164A8 00113408 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801164AC 0011340C 7C 08 03 A6 */ mtlr r0 -/* 801164B0 00113410 38 21 00 20 */ addi r1, r1, 0x20 -/* 801164B4 00113414 4E 80 00 20 */ blr - -.global MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext -MultiLightingDrawCallback__10CModelDataFPCfPCfPC25SMultiLightingDrawContext: -/* 801164B8 00113418 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 801164BC 0011341C 7C 08 02 A6 */ mflr r0 -/* 801164C0 00113420 90 01 00 54 */ stw r0, 0x54(r1) -/* 801164C4 00113424 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 801164C8 00113428 7C BF 2B 78 */ mr r31, r5 -/* 801164CC 0011342C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 801164D0 00113430 7C 9E 23 78 */ mr r30, r4 -/* 801164D4 00113434 93 A1 00 44 */ stw r29, 0x44(r1) -/* 801164D8 00113438 7C 7D 1B 78 */ mr r29, r3 -/* 801164DC 0011343C 48 1F 64 A1 */ bl DisableAllLights__9CGraphicsFv -/* 801164E0 00113440 C0 22 96 4C */ lfs f1, lbl_805AB36C@sda21(r2) -/* 801164E4 00113444 38 A0 00 05 */ li r5, 5 -/* 801164E8 00113448 38 80 00 00 */ li r4, 0 -/* 801164EC 0011344C 38 00 00 03 */ li r0, 3 -/* 801164F0 00113450 FC 40 08 90 */ fmr f2, f1 -/* 801164F4 00113454 98 A1 00 18 */ stb r5, 0x18(r1) -/* 801164F8 00113458 FC 60 08 90 */ fmr f3, f1 -/* 801164FC 0011345C C0 82 96 48 */ lfs f4, lbl_805AB368@sda21(r2) -/* 80116500 00113460 98 81 00 19 */ stb r4, 0x19(r1) -/* 80116504 00113464 38 61 00 1C */ addi r3, r1, 0x1c -/* 80116508 00113468 B0 01 00 1A */ sth r0, 0x1a(r1) -/* 8011650C 0011346C 48 24 CE E1 */ bl __ct__6CColorFffff -/* 80116510 00113470 88 61 00 18 */ lbz r3, 0x18(r1) -/* 80116514 00113474 38 C0 00 03 */ li r6, 3 -/* 80116518 00113478 89 21 00 19 */ lbz r9, 0x19(r1) -/* 8011651C 0011347C 38 E0 00 00 */ li r7, 0 -/* 80116520 00113480 A1 01 00 1A */ lhz r8, 0x1a(r1) -/* 80116524 00113484 54 C0 00 3A */ rlwinm r0, r6, 0, 0, 0x1d -/* 80116528 00113488 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8011652C 0011348C 60 04 00 01 */ ori r4, r0, 1 -/* 80116530 00113490 98 61 00 30 */ stb r3, 0x30(r1) -/* 80116534 00113494 38 00 00 05 */ li r0, 5 -/* 80116538 00113498 38 60 00 07 */ li r3, 7 -/* 8011653C 0011349C 28 1D 00 00 */ cmplwi r29, 0 -/* 80116540 001134A0 99 21 00 31 */ stb r9, 0x31(r1) -/* 80116544 001134A4 B1 01 00 32 */ sth r8, 0x32(r1) -/* 80116548 001134A8 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8011654C 001134AC 80 BF 00 08 */ lwz r5, 8(r31) -/* 80116550 001134B0 98 01 00 10 */ stb r0, 0x10(r1) -/* 80116554 001134B4 80 A5 00 00 */ lwz r5, 0(r5) -/* 80116558 001134B8 98 E1 00 11 */ stb r7, 0x11(r1) -/* 8011655C 001134BC 98 01 00 28 */ stb r0, 0x28(r1) -/* 80116560 001134C0 98 E1 00 29 */ stb r7, 0x29(r1) -/* 80116564 001134C4 B0 81 00 2A */ sth r4, 0x2a(r1) -/* 80116568 001134C8 90 A1 00 2C */ stw r5, 0x2c(r1) -/* 8011656C 001134CC 81 1F 00 0C */ lwz r8, 0xc(r31) -/* 80116570 001134D0 B0 C1 00 12 */ sth r6, 0x12(r1) -/* 80116574 001134D4 80 08 00 00 */ lwz r0, 0(r8) -/* 80116578 001134D8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8011657C 001134DC 98 61 00 08 */ stb r3, 8(r1) -/* 80116580 001134E0 98 E1 00 09 */ stb r7, 9(r1) -/* 80116584 001134E4 B0 C1 00 0A */ sth r6, 0xa(r1) -/* 80116588 001134E8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8011658C 001134EC 98 61 00 20 */ stb r3, 0x20(r1) -/* 80116590 001134F0 98 E1 00 21 */ stb r7, 0x21(r1) -/* 80116594 001134F4 B0 81 00 22 */ sth r4, 0x22(r1) -/* 80116598 001134F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011659C 001134FC 41 82 00 54 */ beq lbl_801165F0 -/* 801165A0 00113500 80 7F 00 00 */ lwz r3, 0(r31) -/* 801165A4 00113504 7F A4 EB 78 */ mr r4, r29 -/* 801165A8 00113508 7F C5 F3 78 */ mr r5, r30 -/* 801165AC 0011350C 38 C1 00 30 */ addi r6, r1, 0x30 -/* 801165B0 00113510 48 23 F4 99 */ bl Draw__6CModelCFPCfPCfRC11CModelFlags -/* 801165B4 00113514 80 7F 00 04 */ lwz r3, 4(r31) -/* 801165B8 00113518 28 03 00 00 */ cmplwi r3, 0 -/* 801165BC 0011351C 41 82 00 08 */ beq lbl_801165C4 -/* 801165C0 00113520 4B FE E7 C9 */ bl ActivateLights__12CActorLightsCFv -lbl_801165C4: -/* 801165C4 00113524 80 7F 00 00 */ lwz r3, 0(r31) -/* 801165C8 00113528 7F A4 EB 78 */ mr r4, r29 -/* 801165CC 0011352C 7F C5 F3 78 */ mr r5, r30 -/* 801165D0 00113530 38 C1 00 28 */ addi r6, r1, 0x28 -/* 801165D4 00113534 48 23 F4 75 */ bl Draw__6CModelCFPCfPCfRC11CModelFlags -/* 801165D8 00113538 80 7F 00 00 */ lwz r3, 0(r31) -/* 801165DC 0011353C 7F A4 EB 78 */ mr r4, r29 -/* 801165E0 00113540 7F C5 F3 78 */ mr r5, r30 -/* 801165E4 00113544 38 C1 00 20 */ addi r6, r1, 0x20 -/* 801165E8 00113548 48 23 F4 61 */ bl Draw__6CModelCFPCfPCfRC11CModelFlags -/* 801165EC 0011354C 48 00 00 38 */ b lbl_80116624 -lbl_801165F0: -/* 801165F0 00113550 80 7F 00 00 */ lwz r3, 0(r31) -/* 801165F4 00113554 38 81 00 30 */ addi r4, r1, 0x30 -/* 801165F8 00113558 48 23 F5 DD */ bl Draw__6CModelCFRC11CModelFlags -/* 801165FC 0011355C 80 7F 00 04 */ lwz r3, 4(r31) -/* 80116600 00113560 28 03 00 00 */ cmplwi r3, 0 -/* 80116604 00113564 41 82 00 08 */ beq lbl_8011660C -/* 80116608 00113568 4B FE E7 81 */ bl ActivateLights__12CActorLightsCFv -lbl_8011660C: -/* 8011660C 0011356C 80 7F 00 00 */ lwz r3, 0(r31) -/* 80116610 00113570 38 81 00 28 */ addi r4, r1, 0x28 -/* 80116614 00113574 48 23 F5 C1 */ bl Draw__6CModelCFRC11CModelFlags -/* 80116618 00113578 80 7F 00 00 */ lwz r3, 0(r31) -/* 8011661C 0011357C 38 81 00 20 */ addi r4, r1, 0x20 -/* 80116620 00113580 48 23 F5 B5 */ bl Draw__6CModelCFRC11CModelFlags -lbl_80116624: -/* 80116624 00113584 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80116628 00113588 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8011662C 0011358C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80116630 00113590 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80116634 00113594 7C 08 03 A6 */ mtlr r0 -/* 80116638 00113598 38 21 00 50 */ addi r1, r1, 0x50 -/* 8011663C 0011359C 4E 80 00 20 */ blr - -.global FlatDrawCallback__10CModelDataFPCfPCfPC16SFlatDrawContext -FlatDrawCallback__10CModelDataFPCfPCfPC16SFlatDrawContext: -/* 80116640 001135A0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80116644 001135A4 7C 08 02 A6 */ mflr r0 -/* 80116648 001135A8 7C 67 1B 78 */ mr r7, r3 -/* 8011664C 001135AC 7C A6 2B 78 */ mr r6, r5 -/* 80116650 001135B0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80116654 001135B4 7C 88 23 78 */ mr r8, r4 -/* 80116658 001135B8 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011665C 001135BC 80 A5 00 00 */ lwz r5, 0(r5) -/* 80116660 001135C0 81 83 00 00 */ lwz r12, 0(r3) -/* 80116664 001135C4 80 85 00 0C */ lwz r4, 0xc(r5) -/* 80116668 001135C8 81 8C 00 D8 */ lwz r12, 0xd8(r12) -/* 8011666C 001135CC 80 A6 00 08 */ lwz r5, 8(r6) -/* 80116670 001135D0 88 C6 00 04 */ lbz r6, 4(r6) -/* 80116674 001135D4 7D 89 03 A6 */ mtctr r12 -/* 80116678 001135D8 4E 80 04 21 */ bctrl -/* 8011667C 001135DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80116680 001135E0 7C 08 03 A6 */ mtlr r0 -/* 80116684 001135E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80116688 001135E8 4E 80 00 20 */ blr - -.global DisintegrateDrawCallback__10CModelDataFPCfPCfPC22SOneTextureDrawContext -DisintegrateDrawCallback__10CModelDataFPCfPCfPC22SOneTextureDrawContext: -/* 8011668C 001135EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80116690 001135F0 7C 08 02 A6 */ mflr r0 -/* 80116694 001135F4 7C A9 2B 78 */ mr r9, r5 -/* 80116698 001135F8 7C 67 1B 78 */ mr r7, r3 -/* 8011669C 001135FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 801166A0 00113600 7C 88 23 78 */ mr r8, r4 -/* 801166A4 00113604 38 C9 00 08 */ addi r6, r9, 8 -/* 801166A8 00113608 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801166AC 0011360C 80 A5 00 00 */ lwz r5, 0(r5) -/* 801166B0 00113610 81 83 00 00 */ lwz r12, 0(r3) -/* 801166B4 00113614 80 85 00 0C */ lwz r4, 0xc(r5) -/* 801166B8 00113618 81 8C 00 D4 */ lwz r12, 0xd4(r12) -/* 801166BC 0011361C 80 A9 00 04 */ lwz r5, 4(r9) -/* 801166C0 00113620 C0 29 00 0C */ lfs f1, 0xc(r9) -/* 801166C4 00113624 7D 89 03 A6 */ mtctr r12 -/* 801166C8 00113628 4E 80 04 21 */ bctrl -/* 801166CC 0011362C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801166D0 00113630 7C 08 03 A6 */ mtlr r0 -/* 801166D4 00113634 38 21 00 10 */ addi r1, r1, 0x10 -/* 801166D8 00113638 4E 80 00 20 */ blr - -.global ThermalDrawCallback__10CModelDataFPCfPCfPC19SThermalDrawContext -ThermalDrawCallback__10CModelDataFPCfPCfPC19SThermalDrawContext: -/* 801166DC 0011363C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801166E0 00113640 7C 08 02 A6 */ mflr r0 -/* 801166E4 00113644 7C AA 2B 78 */ mr r10, r5 -/* 801166E8 00113648 7C 67 1B 78 */ mr r7, r3 -/* 801166EC 0011364C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801166F0 00113650 7C 88 23 78 */ mr r8, r4 -/* 801166F4 00113654 38 CA 00 08 */ addi r6, r10, 8 -/* 801166F8 00113658 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801166FC 0011365C 81 25 00 00 */ lwz r9, 0(r5) -/* 80116700 00113660 38 AA 00 04 */ addi r5, r10, 4 -/* 80116704 00113664 81 83 00 00 */ lwz r12, 0(r3) -/* 80116708 00113668 80 89 00 0C */ lwz r4, 0xc(r9) -/* 8011670C 0011366C 81 8C 00 D0 */ lwz r12, 0xd0(r12) -/* 80116710 00113670 81 2A 00 0C */ lwz r9, 0xc(r10) -/* 80116714 00113674 7D 89 03 A6 */ mtctr r12 -/* 80116718 00113678 4E 80 04 21 */ bctrl -/* 8011671C 0011367C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80116720 00113680 7C 08 03 A6 */ mtlr r0 -/* 80116724 00113684 38 21 00 10 */ addi r1, r1, 0x10 -/* 80116728 00113688 4E 80 00 20 */ blr - -.global RenderUnsortedParts__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags -RenderUnsortedParts__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags: -/* 8011672C 0011368C 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80116730 00113690 7C 08 02 A6 */ mflr r0 -/* 80116734 00113694 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80116738 00113698 BF 61 00 9C */ stmw r27, 0x9c(r1) -/* 8011673C 0011369C 7C 7B 1B 78 */ mr r27, r3 -/* 80116740 001136A0 7C 9C 23 78 */ mr r28, r4 -/* 80116744 001136A4 7C BD 2B 78 */ mr r29, r5 -/* 80116748 001136A8 7C DE 33 78 */ mr r30, r6 -/* 8011674C 001136AC 7C FF 3B 78 */ mr r31, r7 -/* 80116750 001136B0 88 03 00 14 */ lbz r0, 0x14(r3) -/* 80116754 001136B4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80116758 001136B8 41 82 00 0C */ beq lbl_80116764 -/* 8011675C 001136BC 2C 1C 00 03 */ cmpwi r28, 3 -/* 80116760 001136C0 41 82 00 2C */ beq lbl_8011678C -lbl_80116764: -/* 80116764 001136C4 80 1B 00 10 */ lwz r0, 0x10(r27) -/* 80116768 001136C8 28 00 00 00 */ cmplwi r0, 0 -/* 8011676C 001136CC 40 82 00 20 */ bne lbl_8011678C -/* 80116770 001136D0 88 1B 00 28 */ lbz r0, 0x28(r27) -/* 80116774 001136D4 28 00 00 00 */ cmplwi r0, 0 -/* 80116778 001136D8 41 82 00 14 */ beq lbl_8011678C -/* 8011677C 001136DC 88 1F 00 00 */ lbz r0, 0(r31) -/* 80116780 001136E0 7C 00 07 74 */ extsb r0, r0 -/* 80116784 001136E4 2C 00 00 04 */ cmpwi r0, 4 -/* 80116788 001136E8 40 81 00 18 */ ble lbl_801167A0 -lbl_8011678C: -/* 8011678C 001136EC 88 1B 00 14 */ lbz r0, 0x14(r27) -/* 80116790 001136F0 38 60 00 00 */ li r3, 0 -/* 80116794 001136F4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80116798 001136F8 98 1B 00 14 */ stb r0, 0x14(r27) -/* 8011679C 001136FC 48 00 00 C4 */ b lbl_80116860 -lbl_801167A0: -/* 801167A0 00113700 C0 3B 00 00 */ lfs f1, 0(r27) -/* 801167A4 00113704 38 61 00 08 */ addi r3, r1, 8 -/* 801167A8 00113708 C0 5B 00 04 */ lfs f2, 4(r27) -/* 801167AC 0011370C C0 7B 00 08 */ lfs f3, 8(r27) -/* 801167B0 00113710 48 1F CA 59 */ bl Scale__12CTransform4fFfff -/* 801167B4 00113714 7F A4 EB 78 */ mr r4, r29 -/* 801167B8 00113718 38 61 00 38 */ addi r3, r1, 0x38 -/* 801167BC 0011371C 38 A1 00 08 */ addi r5, r1, 8 -/* 801167C0 00113720 48 1F C1 91 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 801167C4 00113724 38 61 00 68 */ addi r3, r1, 0x68 -/* 801167C8 00113728 38 81 00 38 */ addi r4, r1, 0x38 -/* 801167CC 0011372C 48 1F C3 A9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801167D0 00113730 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 801167D4 00113734 38 81 00 68 */ addi r4, r1, 0x68 -/* 801167D8 00113738 81 83 00 00 */ lwz r12, 0(r3) -/* 801167DC 0011373C 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801167E0 00113740 7D 89 03 A6 */ mtctr r12 -/* 801167E4 00113744 4E 80 04 21 */ bctrl -/* 801167E8 00113748 28 1E 00 00 */ cmplwi r30, 0 -/* 801167EC 0011374C 41 82 00 10 */ beq lbl_801167FC -/* 801167F0 00113750 7F C3 F3 78 */ mr r3, r30 -/* 801167F4 00113754 4B FE E5 95 */ bl ActivateLights__12CActorLightsCFv -/* 801167F8 00113758 48 00 00 20 */ b lbl_80116818 -lbl_801167FC: -/* 801167FC 0011375C 48 1F 61 81 */ bl DisableAllLights__9CGraphicsFv -/* 80116800 00113760 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80116804 00113764 38 9B 00 18 */ addi r4, r27, 0x18 -/* 80116808 00113768 81 83 00 00 */ lwz r12, 0(r3) -/* 8011680C 0011376C 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80116810 00113770 7D 89 03 A6 */ mtctr r12 -/* 80116814 00113774 4E 80 04 21 */ bctrl -lbl_80116818: -/* 80116818 00113778 7F 63 DB 78 */ mr r3, r27 -/* 8011681C 0011377C 7F 84 E3 78 */ mr r4, r28 -/* 80116820 00113780 4B FF E7 8D */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 80116824 00113784 80 63 00 08 */ lwz r3, 8(r3) -/* 80116828 00113788 7F E4 FB 78 */ mr r4, r31 -/* 8011682C 0011378C 48 23 F3 2D */ bl DrawUnsortedParts__6CModelCFRC11CModelFlags -/* 80116830 00113790 48 23 37 7D */ bl White__6CColorFv -/* 80116834 00113794 7C 64 1B 78 */ mr r4, r3 -/* 80116838 00113798 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011683C 0011379C 81 83 00 00 */ lwz r12, 0(r3) -/* 80116840 001137A0 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80116844 001137A4 7D 89 03 A6 */ mtctr r12 -/* 80116848 001137A8 4E 80 04 21 */ bctrl -/* 8011684C 001137AC 48 1F 61 31 */ bl DisableAllLights__9CGraphicsFv -/* 80116850 001137B0 88 1B 00 14 */ lbz r0, 0x14(r27) -/* 80116854 001137B4 38 60 00 01 */ li r3, 1 -/* 80116858 001137B8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8011685C 001137BC 98 1B 00 14 */ stb r0, 0x14(r27) -lbl_80116860: -/* 80116860 001137C0 BB 61 00 9C */ lmw r27, 0x9c(r1) -/* 80116864 001137C4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80116868 001137C8 7C 08 03 A6 */ mtlr r0 -/* 8011686C 001137CC 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80116870 001137D0 4E 80 00 20 */ blr - -.global Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags -Render__10CModelDataCFQ210CModelData11EWhichModelRC12CTransform4fPC12CActorLightsRC11CModelFlags: -/* 80116874 001137D4 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80116878 001137D8 7C 08 02 A6 */ mflr r0 -/* 8011687C 001137DC 90 01 01 14 */ stw r0, 0x114(r1) -/* 80116880 001137E0 BF 61 00 FC */ stmw r27, 0xfc(r1) -/* 80116884 001137E4 7C 7F 1B 78 */ mr r31, r3 -/* 80116888 001137E8 7C 9B 23 78 */ mr r27, r4 -/* 8011688C 001137EC 7C BC 2B 78 */ mr r28, r5 -/* 80116890 001137F0 7C DE 33 78 */ mr r30, r6 -/* 80116894 001137F4 7C FD 3B 78 */ mr r29, r7 -/* 80116898 001137F8 88 03 00 14 */ lbz r0, 0x14(r3) -/* 8011689C 001137FC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801168A0 00113800 41 82 00 60 */ beq lbl_80116900 -/* 801168A4 00113804 2C 1B 00 03 */ cmpwi r27, 3 -/* 801168A8 00113808 40 82 00 58 */ bne lbl_80116900 -/* 801168AC 0011380C E0 3D A0 07 */ psq_l f1, 7(r29), 1, qr2 -/* 801168B0 00113810 38 61 00 0C */ addi r3, r1, 0xc -/* 801168B4 00113814 C0 02 96 50 */ lfs f0, lbl_805AB370@sda21(r2) -/* 801168B8 00113818 EC 20 00 72 */ fmuls f1, f0, f1 -/* 801168BC 0011381C FC 40 08 90 */ fmr f2, f1 -/* 801168C0 00113820 FC 60 08 90 */ fmr f3, f1 -/* 801168C4 00113824 FC 80 08 90 */ fmr f4, f1 -/* 801168C8 00113828 48 24 CB 25 */ bl __ct__6CColorFffff -/* 801168CC 0011382C 39 00 00 00 */ li r8, 0 -/* 801168D0 00113830 38 00 00 40 */ li r0, 0x40 -/* 801168D4 00113834 99 01 00 08 */ stb r8, 8(r1) -/* 801168D8 00113838 7F E3 FB 78 */ mr r3, r31 -/* 801168DC 0011383C 7F 84 E3 78 */ mr r4, r28 -/* 801168E0 00113840 7F A7 EB 78 */ mr r7, r29 -/* 801168E4 00113844 99 01 00 09 */ stb r8, 9(r1) -/* 801168E8 00113848 38 A1 00 0C */ addi r5, r1, 0xc -/* 801168EC 0011384C 38 C1 00 08 */ addi r6, r1, 8 -/* 801168F0 00113850 99 01 00 0A */ stb r8, 0xa(r1) -/* 801168F4 00113854 98 01 00 0B */ stb r0, 0xb(r1) -/* 801168F8 00113858 4B FF F9 A9 */ bl RenderThermal__10CModelDataCFRC12CTransform4fRC6CColorRC6CColorRC11CModelFlags -/* 801168FC 0011385C 48 00 01 3C */ b lbl_80116A38 -lbl_80116900: -/* 80116900 00113860 7F 84 E3 78 */ mr r4, r28 -/* 80116904 00113864 38 61 00 70 */ addi r3, r1, 0x70 -/* 80116908 00113868 48 1F C2 6D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011690C 0011386C C0 3F 00 00 */ lfs f1, 0(r31) -/* 80116910 00113870 38 61 00 40 */ addi r3, r1, 0x40 -/* 80116914 00113874 C0 5F 00 04 */ lfs f2, 4(r31) -/* 80116918 00113878 C0 7F 00 08 */ lfs f3, 8(r31) -/* 8011691C 0011387C 48 1F C8 ED */ bl Scale__12CTransform4fFfff -/* 80116920 00113880 38 61 00 10 */ addi r3, r1, 0x10 -/* 80116924 00113884 38 81 00 70 */ addi r4, r1, 0x70 -/* 80116928 00113888 38 A1 00 40 */ addi r5, r1, 0x40 -/* 8011692C 0011388C 48 1F C0 25 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 80116930 00113890 38 61 00 70 */ addi r3, r1, 0x70 -/* 80116934 00113894 38 81 00 10 */ addi r4, r1, 0x10 -/* 80116938 00113898 48 1F C2 09 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8011693C 0011389C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80116940 001138A0 38 81 00 70 */ addi r4, r1, 0x70 -/* 80116944 001138A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80116948 001138A8 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8011694C 001138AC 7D 89 03 A6 */ mtctr r12 -/* 80116950 001138B0 4E 80 04 21 */ bctrl -/* 80116954 001138B4 28 1E 00 00 */ cmplwi r30, 0 -/* 80116958 001138B8 41 82 00 10 */ beq lbl_80116968 -/* 8011695C 001138BC 7F C3 F3 78 */ mr r3, r30 -/* 80116960 001138C0 4B FE E4 29 */ bl ActivateLights__12CActorLightsCFv -/* 80116964 001138C4 48 00 00 20 */ b lbl_80116984 -lbl_80116968: -/* 80116968 001138C8 48 1F 60 15 */ bl DisableAllLights__9CGraphicsFv -/* 8011696C 001138CC 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80116970 001138D0 38 9F 00 18 */ addi r4, r31, 0x18 -/* 80116974 001138D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80116978 001138D8 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 8011697C 001138DC 7D 89 03 A6 */ mtctr r12 -/* 80116980 001138E0 4E 80 04 21 */ bctrl -lbl_80116984: -/* 80116984 001138E4 83 DF 00 10 */ lwz r30, 0x10(r31) -/* 80116988 001138E8 28 1E 00 00 */ cmplwi r30, 0 -/* 8011698C 001138EC 41 82 00 40 */ beq lbl_801169CC -/* 80116990 001138F0 38 00 00 00 */ li r0, 0 -/* 80116994 001138F4 7F E3 FB 78 */ mr r3, r31 -/* 80116998 001138F8 98 01 00 E8 */ stb r0, 0xe8(r1) -/* 8011699C 001138FC 7F 64 DB 78 */ mr r4, r27 -/* 801169A0 00113900 4B FF E5 BD */ bl PickAnimatedModel__10CModelDataCFQ210CModelData11EWhichModel -/* 801169A4 00113904 7C 64 1B 78 */ mr r4, r3 -/* 801169A8 00113908 7F C3 F3 78 */ mr r3, r30 -/* 801169AC 0011390C 7F A5 EB 78 */ mr r5, r29 -/* 801169B0 00113910 38 C1 00 A0 */ addi r6, r1, 0xa0 -/* 801169B4 00113914 38 E0 00 00 */ li r7, 0 -/* 801169B8 00113918 4B F1 5F 65 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 801169BC 0011391C 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 801169C0 00113920 38 80 FF FF */ li r4, -1 -/* 801169C4 00113924 4B F6 12 C9 */ bl sub_80077c8c -/* 801169C8 00113928 48 00 00 40 */ b lbl_80116A08 -lbl_801169CC: -/* 801169CC 0011392C 88 1F 00 28 */ lbz r0, 0x28(r31) -/* 801169D0 00113930 28 00 00 00 */ cmplwi r0, 0 -/* 801169D4 00113934 41 82 00 34 */ beq lbl_80116A08 -/* 801169D8 00113938 7F E3 FB 78 */ mr r3, r31 -/* 801169DC 0011393C 7F 64 DB 78 */ mr r4, r27 -/* 801169E0 00113940 4B FF E5 CD */ bl PickStaticModel__10CModelDataCFQ210CModelData11EWhichModel -/* 801169E4 00113944 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 801169E8 00113948 80 63 00 08 */ lwz r3, 8(r3) -/* 801169EC 0011394C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801169F0 00113950 41 82 00 10 */ beq lbl_80116A00 -/* 801169F4 00113954 7F A4 EB 78 */ mr r4, r29 -/* 801169F8 00113958 48 23 F0 E5 */ bl DrawSortedParts__6CModelCFRC11CModelFlags -/* 801169FC 0011395C 48 00 00 0C */ b lbl_80116A08 -lbl_80116A00: -/* 80116A00 00113960 7F A4 EB 78 */ mr r4, r29 -/* 80116A04 00113964 48 23 F1 D1 */ bl Draw__6CModelCFRC11CModelFlags -lbl_80116A08: -/* 80116A08 00113968 48 23 35 A5 */ bl White__6CColorFv -/* 80116A0C 0011396C 7C 64 1B 78 */ mr r4, r3 -/* 80116A10 00113970 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80116A14 00113974 81 83 00 00 */ lwz r12, 0(r3) -/* 80116A18 00113978 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80116A1C 0011397C 7D 89 03 A6 */ mtctr r12 -/* 80116A20 00113980 4E 80 04 21 */ bctrl -/* 80116A24 00113984 48 1F 5F 59 */ bl DisableAllLights__9CGraphicsFv -/* 80116A28 00113988 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 80116A2C 0011398C 38 60 00 00 */ li r3, 0 -/* 80116A30 00113990 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80116A34 00113994 98 1F 00 14 */ stb r0, 0x14(r31) -lbl_80116A38: -/* 80116A38 00113998 BB 61 00 FC */ lmw r27, 0xfc(r1) -/* 80116A3C 0011399C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80116A40 001139A0 7C 08 03 A6 */ mtlr r0 -/* 80116A44 001139A4 38 21 01 10 */ addi r1, r1, 0x110 -/* 80116A48 001139A8 4E 80 00 20 */ blr - -.global __dt__10CModelDataFv -__dt__10CModelDataFv: -/* 80116A4C 001139AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80116A50 001139B0 7C 08 02 A6 */ mflr r0 -/* 80116A54 001139B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80116A58 001139B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80116A5C 001139BC 7C 9F 23 78 */ mr r31, r4 -/* 80116A60 001139C0 93 C1 00 08 */ stw r30, 8(r1) -/* 80116A64 001139C4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80116A68 001139C8 41 82 00 D0 */ beq lbl_80116B38 -/* 80116A6C 001139CC 34 1E 00 3C */ addic. r0, r30, 0x3c -/* 80116A70 001139D0 41 82 00 30 */ beq lbl_80116AA0 -/* 80116A74 001139D4 88 1E 00 48 */ lbz r0, 0x48(r30) -/* 80116A78 001139D8 28 00 00 00 */ cmplwi r0, 0 -/* 80116A7C 001139DC 41 82 00 1C */ beq lbl_80116A98 -/* 80116A80 001139E0 34 7E 00 3C */ addic. r3, r30, 0x3c -/* 80116A84 001139E4 41 82 00 14 */ beq lbl_80116A98 -/* 80116A88 001139E8 28 03 00 00 */ cmplwi r3, 0 -/* 80116A8C 001139EC 41 82 00 0C */ beq lbl_80116A98 -/* 80116A90 001139F0 38 80 00 00 */ li r4, 0 -/* 80116A94 001139F4 48 22 A3 AD */ bl __dt__6CTokenFv -lbl_80116A98: -/* 80116A98 001139F8 38 00 00 00 */ li r0, 0 -/* 80116A9C 001139FC 98 1E 00 48 */ stb r0, 0x48(r30) -lbl_80116AA0: -/* 80116AA0 00113A00 34 1E 00 2C */ addic. r0, r30, 0x2c -/* 80116AA4 00113A04 41 82 00 30 */ beq lbl_80116AD4 -/* 80116AA8 00113A08 88 1E 00 38 */ lbz r0, 0x38(r30) -/* 80116AAC 00113A0C 28 00 00 00 */ cmplwi r0, 0 -/* 80116AB0 00113A10 41 82 00 1C */ beq lbl_80116ACC -/* 80116AB4 00113A14 34 7E 00 2C */ addic. r3, r30, 0x2c -/* 80116AB8 00113A18 41 82 00 14 */ beq lbl_80116ACC -/* 80116ABC 00113A1C 28 03 00 00 */ cmplwi r3, 0 -/* 80116AC0 00113A20 41 82 00 0C */ beq lbl_80116ACC -/* 80116AC4 00113A24 38 80 00 00 */ li r4, 0 -/* 80116AC8 00113A28 48 22 A3 79 */ bl __dt__6CTokenFv -lbl_80116ACC: -/* 80116ACC 00113A2C 38 00 00 00 */ li r0, 0 -/* 80116AD0 00113A30 98 1E 00 38 */ stb r0, 0x38(r30) -lbl_80116AD4: -/* 80116AD4 00113A34 34 1E 00 1C */ addic. r0, r30, 0x1c -/* 80116AD8 00113A38 41 82 00 30 */ beq lbl_80116B08 -/* 80116ADC 00113A3C 88 1E 00 28 */ lbz r0, 0x28(r30) -/* 80116AE0 00113A40 28 00 00 00 */ cmplwi r0, 0 -/* 80116AE4 00113A44 41 82 00 1C */ beq lbl_80116B00 -/* 80116AE8 00113A48 34 7E 00 1C */ addic. r3, r30, 0x1c -/* 80116AEC 00113A4C 41 82 00 14 */ beq lbl_80116B00 -/* 80116AF0 00113A50 28 03 00 00 */ cmplwi r3, 0 -/* 80116AF4 00113A54 41 82 00 0C */ beq lbl_80116B00 -/* 80116AF8 00113A58 38 80 00 00 */ li r4, 0 -/* 80116AFC 00113A5C 48 22 A3 45 */ bl __dt__6CTokenFv -lbl_80116B00: -/* 80116B00 00113A60 38 00 00 00 */ li r0, 0 -/* 80116B04 00113A64 98 1E 00 28 */ stb r0, 0x28(r30) -lbl_80116B08: -/* 80116B08 00113A68 34 1E 00 0C */ addic. r0, r30, 0xc -/* 80116B0C 00113A6C 41 82 00 1C */ beq lbl_80116B28 -/* 80116B10 00113A70 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 80116B14 00113A74 28 00 00 00 */ cmplwi r0, 0 -/* 80116B18 00113A78 41 82 00 10 */ beq lbl_80116B28 -/* 80116B1C 00113A7C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80116B20 00113A80 38 80 00 01 */ li r4, 1 -/* 80116B24 00113A84 4B F1 80 9D */ bl __dt__9CAnimDataFv -lbl_80116B28: -/* 80116B28 00113A88 7F E0 07 35 */ extsh. r0, r31 -/* 80116B2C 00113A8C 40 81 00 0C */ ble lbl_80116B38 -/* 80116B30 00113A90 7F C3 F3 78 */ mr r3, r30 -/* 80116B34 00113A94 48 1F ED FD */ bl Free__7CMemoryFPCv -lbl_80116B38: -/* 80116B38 00113A98 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80116B3C 00113A9C 7F C3 F3 78 */ mr r3, r30 -/* 80116B40 00113AA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80116B44 00113AA4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80116B48 00113AA8 7C 08 03 A6 */ mtlr r0 -/* 80116B4C 00113AAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80116B50 00113AB0 4E 80 00 20 */ blr - -.global __ct__10CModelDataFRC8CAnimRes -__ct__10CModelDataFRC8CAnimRes: -/* 80116B54 00113AB4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80116B58 00113AB8 7C 08 02 A6 */ mflr r0 -/* 80116B5C 00113ABC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80116B60 00113AC0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80116B64 00113AC4 7C 7F 1B 78 */ mr r31, r3 -/* 80116B68 00113AC8 38 60 00 00 */ li r3, 0 -/* 80116B6C 00113ACC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80116B70 00113AD0 7C 9E 23 78 */ mr r30, r4 -/* 80116B74 00113AD4 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80116B78 00113AD8 C0 04 00 08 */ lfs f0, 8(r4) -/* 80116B7C 00113ADC D0 1F 00 00 */ stfs f0, 0(r31) -/* 80116B80 00113AE0 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 80116B84 00113AE4 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80116B88 00113AE8 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 80116B8C 00113AEC D0 1F 00 08 */ stfs f0, 8(r31) -/* 80116B90 00113AF0 98 7F 00 0C */ stb r3, 0xc(r31) -/* 80116B94 00113AF4 90 7F 00 10 */ stw r3, 0x10(r31) -/* 80116B98 00113AF8 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 80116B9C 00113AFC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80116BA0 00113B00 98 1F 00 14 */ stb r0, 0x14(r31) -/* 80116BA4 00113B04 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 80116BA8 00113B08 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80116BAC 00113B0C 98 1F 00 14 */ stb r0, 0x14(r31) -/* 80116BB0 00113B10 48 23 33 FD */ bl White__6CColorFv -/* 80116BB4 00113B14 80 83 00 00 */ lwz r4, 0(r3) -/* 80116BB8 00113B18 38 00 00 00 */ li r0, 0 -/* 80116BBC 00113B1C 7F C5 F3 78 */ mr r5, r30 -/* 80116BC0 00113B20 38 61 00 18 */ addi r3, r1, 0x18 -/* 80116BC4 00113B24 90 9F 00 18 */ stw r4, 0x18(r31) -/* 80116BC8 00113B28 98 1F 00 28 */ stb r0, 0x28(r31) -/* 80116BCC 00113B2C 98 1F 00 38 */ stb r0, 0x38(r31) -/* 80116BD0 00113B30 98 1F 00 48 */ stb r0, 0x48(r31) -/* 80116BD4 00113B34 80 8D A0 6C */ lwz r4, gpCharacterFactoryBuilder@sda21(r13) -/* 80116BD8 00113B38 4B F1 DC E1 */ bl GetFactory__24CCharacterFactoryBuilderFRC8CAnimRes -/* 80116BDC 00113B3C 3B A1 00 20 */ addi r29, r1, 0x20 -/* 80116BE0 00113B40 38 81 00 18 */ addi r4, r1, 0x18 -/* 80116BE4 00113B44 7F A3 EB 78 */ mr r3, r29 -/* 80116BE8 00113B48 48 22 A2 C1 */ bl __ct__6CTokenFRC6CToken -/* 80116BEC 00113B4C 7F A3 EB 78 */ mr r3, r29 -/* 80116BF0 00113B50 48 22 A2 1D */ bl GetObj__6CTokenFv -/* 80116BF4 00113B54 80 03 00 04 */ lwz r0, 4(r3) -/* 80116BF8 00113B58 38 61 00 18 */ addi r3, r1, 0x18 -/* 80116BFC 00113B5C 38 80 00 00 */ li r4, 0 -/* 80116C00 00113B60 90 01 00 28 */ stw r0, 0x28(r1) -/* 80116C04 00113B64 48 22 A2 3D */ bl __dt__6CTokenFv -/* 80116C08 00113B68 80 81 00 28 */ lwz r4, 0x28(r1) -/* 80116C0C 00113B6C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80116C10 00113B70 80 BE 00 04 */ lwz r5, 4(r30) -/* 80116C14 00113B74 7F A7 EB 78 */ mr r7, r29 -/* 80116C18 00113B78 88 DE 00 14 */ lbz r6, 0x14(r30) -/* 80116C1C 00113B7C 81 1E 00 18 */ lwz r8, 0x18(r30) -/* 80116C20 00113B80 4B F1 B7 35 */ bl "CreateCharacter__17CCharacterFactoryCFibRC33TLockedToken<17CCharacterFactory>i" -/* 80116C24 00113B84 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 80116C28 00113B88 38 80 00 00 */ li r4, 0 -/* 80116C2C 00113B8C 38 01 00 08 */ addi r0, r1, 8 -/* 80116C30 00113B90 38 DF 00 0C */ addi r6, r31, 0xc -/* 80116C34 00113B94 7C 65 00 D0 */ neg r3, r5 -/* 80116C38 00113B98 98 81 00 10 */ stb r4, 0x10(r1) -/* 80116C3C 00113B9C 7C 63 2B 78 */ or r3, r3, r5 -/* 80116C40 00113BA0 7C 00 30 40 */ cmplw r0, r6 -/* 80116C44 00113BA4 54 60 0F FE */ srwi r0, r3, 0x1f -/* 80116C48 00113BA8 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80116C4C 00113BAC 98 01 00 08 */ stb r0, 8(r1) -/* 80116C50 00113BB0 41 82 00 34 */ beq lbl_80116C84 -/* 80116C54 00113BB4 88 06 00 00 */ lbz r0, 0(r6) -/* 80116C58 00113BB8 28 00 00 00 */ cmplwi r0, 0 -/* 80116C5C 00113BBC 41 82 00 10 */ beq lbl_80116C6C -/* 80116C60 00113BC0 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 80116C64 00113BC4 38 80 00 01 */ li r4, 1 -/* 80116C68 00113BC8 4B F1 7F 59 */ bl __dt__9CAnimDataFv -lbl_80116C6C: -/* 80116C6C 00113BCC 88 61 00 08 */ lbz r3, 8(r1) -/* 80116C70 00113BD0 38 00 00 00 */ li r0, 0 -/* 80116C74 00113BD4 98 7F 00 0C */ stb r3, 0xc(r31) -/* 80116C78 00113BD8 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80116C7C 00113BDC 90 7F 00 10 */ stw r3, 0x10(r31) -/* 80116C80 00113BE0 98 01 00 08 */ stb r0, 8(r1) -lbl_80116C84: -/* 80116C84 00113BE4 88 01 00 08 */ lbz r0, 8(r1) -/* 80116C88 00113BE8 28 00 00 00 */ cmplwi r0, 0 -/* 80116C8C 00113BEC 41 82 00 10 */ beq lbl_80116C9C -/* 80116C90 00113BF0 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80116C94 00113BF4 38 80 00 01 */ li r4, 1 -/* 80116C98 00113BF8 4B F1 7F 29 */ bl __dt__9CAnimDataFv -lbl_80116C9C: -/* 80116C9C 00113BFC 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80116CA0 00113C00 28 00 00 00 */ cmplwi r0, 0 -/* 80116CA4 00113C04 41 82 00 10 */ beq lbl_80116CB4 -/* 80116CA8 00113C08 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80116CAC 00113C0C 38 80 00 01 */ li r4, 1 -/* 80116CB0 00113C10 4B F1 7F 11 */ bl __dt__9CAnimDataFv -lbl_80116CB4: -/* 80116CB4 00113C14 38 61 00 20 */ addi r3, r1, 0x20 -/* 80116CB8 00113C18 38 80 00 00 */ li r4, 0 -/* 80116CBC 00113C1C 48 22 A1 85 */ bl __dt__6CTokenFv -/* 80116CC0 00113C20 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80116CC4 00113C24 7F E3 FB 78 */ mr r3, r31 -/* 80116CC8 00113C28 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80116CCC 00113C2C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80116CD0 00113C30 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80116CD4 00113C34 7C 08 03 A6 */ mtlr r0 -/* 80116CD8 00113C38 38 21 00 40 */ addi r1, r1, 0x40 -/* 80116CDC 00113C3C 4E 80 00 20 */ blr - -.global __ct__10CModelDataFv -__ct__10CModelDataFv: -/* 80116CE0 00113C40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80116CE4 00113C44 7C 08 02 A6 */ mflr r0 -/* 80116CE8 00113C48 C0 02 96 4C */ lfs f0, lbl_805AB36C@sda21(r2) -/* 80116CEC 00113C4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80116CF0 00113C50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80116CF4 00113C54 7C 7F 1B 78 */ mr r31, r3 -/* 80116CF8 00113C58 38 60 00 00 */ li r3, 0 -/* 80116CFC 00113C5C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80116D00 00113C60 D0 1F 00 04 */ stfs f0, 4(r31) -/* 80116D04 00113C64 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80116D08 00113C68 98 7F 00 0C */ stb r3, 0xc(r31) -/* 80116D0C 00113C6C 90 7F 00 10 */ stw r3, 0x10(r31) -/* 80116D10 00113C70 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 80116D14 00113C74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80116D18 00113C78 98 1F 00 14 */ stb r0, 0x14(r31) -/* 80116D1C 00113C7C 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 80116D20 00113C80 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80116D24 00113C84 98 1F 00 14 */ stb r0, 0x14(r31) -/* 80116D28 00113C88 48 23 32 85 */ bl White__6CColorFv -/* 80116D2C 00113C8C 80 83 00 00 */ lwz r4, 0(r3) -/* 80116D30 00113C90 38 00 00 00 */ li r0, 0 -/* 80116D34 00113C94 7F E3 FB 78 */ mr r3, r31 -/* 80116D38 00113C98 90 9F 00 18 */ stw r4, 0x18(r31) -/* 80116D3C 00113C9C 98 1F 00 28 */ stb r0, 0x28(r31) -/* 80116D40 00113CA0 98 1F 00 38 */ stb r0, 0x38(r31) -/* 80116D44 00113CA4 98 1F 00 48 */ stb r0, 0x48(r31) -/* 80116D48 00113CA8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80116D4C 00113CAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80116D50 00113CB0 7C 08 03 A6 */ mtlr r0 -/* 80116D54 00113CB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80116D58 00113CB8 4E 80 00 20 */ blr - -.global __ct__10CModelDataFRC10CStaticRes -__ct__10CModelDataFRC10CStaticRes: -/* 80116D5C 00113CBC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80116D60 00113CC0 7C 08 02 A6 */ mflr r0 -/* 80116D64 00113CC4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80116D68 00113CC8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80116D6C 00113CCC 7C 9F 23 78 */ mr r31, r4 -/* 80116D70 00113CD0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80116D74 00113CD4 7C 7E 1B 78 */ mr r30, r3 -/* 80116D78 00113CD8 38 60 00 00 */ li r3, 0 -/* 80116D7C 00113CDC C0 24 00 08 */ lfs f1, 8(r4) -/* 80116D80 00113CE0 C0 44 00 0C */ lfs f2, 0xc(r4) -/* 80116D84 00113CE4 C0 04 00 04 */ lfs f0, 4(r4) -/* 80116D88 00113CE8 D0 1E 00 00 */ stfs f0, 0(r30) -/* 80116D8C 00113CEC D0 3E 00 04 */ stfs f1, 4(r30) -/* 80116D90 00113CF0 D0 5E 00 08 */ stfs f2, 8(r30) -/* 80116D94 00113CF4 98 7E 00 0C */ stb r3, 0xc(r30) -/* 80116D98 00113CF8 90 7E 00 10 */ stw r3, 0x10(r30) -/* 80116D9C 00113CFC 88 1E 00 14 */ lbz r0, 0x14(r30) -/* 80116DA0 00113D00 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80116DA4 00113D04 98 1E 00 14 */ stb r0, 0x14(r30) -/* 80116DA8 00113D08 88 1E 00 14 */ lbz r0, 0x14(r30) -/* 80116DAC 00113D0C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80116DB0 00113D10 98 1E 00 14 */ stb r0, 0x14(r30) -/* 80116DB4 00113D14 48 23 31 F9 */ bl White__6CColorFv -/* 80116DB8 00113D18 80 83 00 00 */ lwz r4, 0(r3) -/* 80116DBC 00113D1C 3C 60 43 4D */ lis r3, 0x434D444C@ha -/* 80116DC0 00113D20 38 03 44 4C */ addi r0, r3, 0x434D444C@l -/* 80116DC4 00113D24 38 61 00 08 */ addi r3, r1, 8 -/* 80116DC8 00113D28 90 9E 00 18 */ stw r4, 0x18(r30) -/* 80116DCC 00113D2C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80116DD0 00113D30 80 DF 00 00 */ lwz r6, 0(r31) -/* 80116DD4 00113D34 90 01 00 10 */ stw r0, 0x10(r1) -/* 80116DD8 00113D38 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80116DDC 00113D3C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80116DE0 00113D40 81 84 00 00 */ lwz r12, 0(r4) -/* 80116DE4 00113D44 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80116DE8 00113D48 7D 89 03 A6 */ mtctr r12 -/* 80116DEC 00113D4C 4E 80 04 21 */ bctrl -/* 80116DF0 00113D50 3B E1 00 18 */ addi r31, r1, 0x18 -/* 80116DF4 00113D54 38 81 00 08 */ addi r4, r1, 8 -/* 80116DF8 00113D58 7F E3 FB 78 */ mr r3, r31 -/* 80116DFC 00113D5C 48 22 A0 AD */ bl __ct__6CTokenFRC6CToken -/* 80116E00 00113D60 7F E3 FB 78 */ mr r3, r31 -/* 80116E04 00113D64 48 22 A0 09 */ bl GetObj__6CTokenFv -/* 80116E08 00113D68 80 63 00 04 */ lwz r3, 4(r3) -/* 80116E0C 00113D6C 37 FE 00 1C */ addic. r31, r30, 0x1c -/* 80116E10 00113D70 38 00 00 01 */ li r0, 1 -/* 80116E14 00113D74 90 61 00 20 */ stw r3, 0x20(r1) -/* 80116E18 00113D78 98 1E 00 28 */ stb r0, 0x28(r30) -/* 80116E1C 00113D7C 41 82 00 20 */ beq lbl_80116E3C -/* 80116E20 00113D80 7F E3 FB 78 */ mr r3, r31 -/* 80116E24 00113D84 38 81 00 18 */ addi r4, r1, 0x18 -/* 80116E28 00113D88 48 22 A0 81 */ bl __ct__6CTokenFRC6CToken -/* 80116E2C 00113D8C 80 01 00 20 */ lwz r0, 0x20(r1) -/* 80116E30 00113D90 7F E3 FB 78 */ mr r3, r31 -/* 80116E34 00113D94 90 1F 00 08 */ stw r0, 8(r31) -/* 80116E38 00113D98 48 22 9F 4D */ bl Lock__6CTokenFv -lbl_80116E3C: -/* 80116E3C 00113D9C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80116E40 00113DA0 38 80 00 00 */ li r4, 0 -/* 80116E44 00113DA4 48 22 9F FD */ bl __dt__6CTokenFv -/* 80116E48 00113DA8 38 61 00 08 */ addi r3, r1, 8 -/* 80116E4C 00113DAC 38 80 FF FF */ li r4, -1 -/* 80116E50 00113DB0 48 22 9F F1 */ bl __dt__6CTokenFv -/* 80116E54 00113DB4 38 00 00 00 */ li r0, 0 -/* 80116E58 00113DB8 7F C3 F3 78 */ mr r3, r30 -/* 80116E5C 00113DBC 98 1E 00 38 */ stb r0, 0x38(r30) -/* 80116E60 00113DC0 98 1E 00 48 */ stb r0, 0x48(r30) -/* 80116E64 00113DC4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80116E68 00113DC8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80116E6C 00113DCC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80116E70 00113DD0 7C 08 03 A6 */ mtlr r0 -/* 80116E74 00113DD4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80116E78 00113DD8 4E 80 00 20 */ blr - -.global __sinit_CModelData_cpp -__sinit_CModelData_cpp: -/* 80116E7C 00113DDC 3C A0 80 5A */ lis r5, skZero3f@ha -/* 80116E80 00113DE0 C4 C5 66 A0 */ lfsu f6, skZero3f@l(r5) -/* 80116E84 00113DE4 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 80116E88 00113DE8 C4 63 66 60 */ lfsu f3, lbl_805A6660@l(r3) -/* 80116E8C 00113DEC 3C 80 80 47 */ lis r4, lbl_8046C538@ha -/* 80116E90 00113DF0 D4 C4 C5 38 */ stfsu f6, lbl_8046C538@l(r4) -/* 80116E94 00113DF4 C0 A5 00 04 */ lfs f5, 4(r5) -/* 80116E98 00113DF8 C0 85 00 08 */ lfs f4, 8(r5) -/* 80116E9C 00113DFC C0 43 00 04 */ lfs f2, 4(r3) -/* 80116EA0 00113E00 C0 23 00 08 */ lfs f1, 8(r3) -/* 80116EA4 00113E04 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80116EA8 00113E08 D0 A4 00 04 */ stfs f5, 4(r4) -/* 80116EAC 00113E0C D0 84 00 08 */ stfs f4, 8(r4) -/* 80116EB0 00113E10 D0 64 00 0C */ stfs f3, 0xc(r4) -/* 80116EB4 00113E14 D0 44 00 10 */ stfs f2, 0x10(r4) -/* 80116EB8 00113E18 D0 24 00 14 */ stfs f1, 0x14(r4) -/* 80116EBC 00113E1C D0 04 00 18 */ stfs f0, 0x18(r4) -/* 80116EC0 00113E20 4E 80 00 20 */ blr - -.global AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__13CDecalManagerFRC14CFrustumPlanesRC13CStateManager: -/* 80116EC4 00113E24 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80116EC8 00113E28 7C 08 02 A6 */ mflr r0 -/* 80116ECC 00113E2C 3C A0 80 57 */ lis r5, lbl_8056F758@ha -/* 80116ED0 00113E30 3C 60 80 57 */ lis r3, lbl_8056D850@ha -/* 80116ED4 00113E34 90 01 00 64 */ stw r0, 0x64(r1) -/* 80116ED8 00113E38 38 A5 F7 58 */ addi r5, r5, lbl_8056F758@l -/* 80116EDC 00113E3C 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l -/* 80116EE0 00113E40 BF 61 00 4C */ stmw r27, 0x4c(r1) -/* 80116EE4 00113E44 7C 9F 23 78 */ mr r31, r4 -/* 80116EE8 00113E48 38 85 00 04 */ addi r4, r5, 4 -/* 80116EEC 00113E4C 3B A3 00 04 */ addi r29, r3, 4 -/* 80116EF0 00113E50 7C 9B 23 78 */ mr r27, r4 -/* 80116EF4 00113E54 80 05 00 00 */ lwz r0, 0(r5) -/* 80116EF8 00113E58 54 00 10 3A */ slwi r0, r0, 2 -/* 80116EFC 00113E5C 7F C4 02 14 */ add r30, r4, r0 -/* 80116F00 00113E60 48 00 00 9C */ b lbl_80116F9C -lbl_80116F04: -/* 80116F04 00113E64 80 1B 00 00 */ lwz r0, 0(r27) -/* 80116F08 00113E68 1C 00 00 78 */ mulli r0, r0, 0x78 -/* 80116F0C 00113E6C 7F 9D 02 14 */ add r28, r29, r0 -/* 80116F10 00113E70 88 1C 00 75 */ lbz r0, 0x75(r28) -/* 80116F14 00113E74 54 00 C0 02 */ rlwinm r0, r0, 0x18, 0, 1 -/* 80116F18 00113E78 7C 00 FE 70 */ srawi r0, r0, 0x1f -/* 80116F1C 00113E7C 7C 00 07 75 */ extsb. r0, r0 -/* 80116F20 00113E80 40 82 00 10 */ bne lbl_80116F30 -/* 80116F24 00113E84 80 1F 0F 34 */ lwz r0, 0xf34(r31) -/* 80116F28 00113E88 2C 00 00 00 */ cmpwi r0, 0 -/* 80116F2C 00113E8C 41 82 00 6C */ beq lbl_80116F98 -lbl_80116F30: -/* 80116F30 00113E90 C0 5C 00 38 */ lfs f2, 0x38(r28) -/* 80116F34 00113E94 38 61 00 2C */ addi r3, r1, 0x2c -/* 80116F38 00113E98 C0 3C 00 28 */ lfs f1, 0x28(r28) -/* 80116F3C 00113E9C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80116F40 00113EA0 C0 1C 00 18 */ lfs f0, 0x18(r28) -/* 80116F44 00113EA4 38 A1 00 08 */ addi r5, r1, 8 -/* 80116F48 00113EA8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80116F4C 00113EAC D0 01 00 08 */ stfs f0, 8(r1) -/* 80116F50 00113EB0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80116F54 00113EB4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80116F58 00113EB8 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80116F5C 00113EBC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80116F60 00113EC0 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80116F64 00113EC4 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80116F68 00113EC8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80116F6C 00113ECC 48 22 15 9D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80116F70 00113ED0 7C 66 1B 78 */ mr r6, r3 -/* 80116F74 00113ED4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80116F78 00113ED8 7F 84 E3 78 */ mr r4, r28 -/* 80116F7C 00113EDC 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80116F80 00113EE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80116F84 00113EE4 38 E0 00 02 */ li r7, 2 -/* 80116F88 00113EE8 39 00 00 00 */ li r8, 0 -/* 80116F8C 00113EEC 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80116F90 00113EF0 7D 89 03 A6 */ mtctr r12 -/* 80116F94 00113EF4 4E 80 04 21 */ bctrl -lbl_80116F98: -/* 80116F98 00113EF8 3B 7B 00 04 */ addi r27, r27, 4 -lbl_80116F9C: -/* 80116F9C 00113EFC 7C 1B F0 40 */ cmplw r27, r30 -/* 80116FA0 00113F00 40 82 FF 64 */ bne lbl_80116F04 -/* 80116FA4 00113F04 BB 61 00 4C */ lmw r27, 0x4c(r1) -/* 80116FA8 00113F08 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80116FAC 00113F0C 7C 08 03 A6 */ mtlr r0 -/* 80116FB0 00113F10 38 21 00 60 */ addi r1, r1, 0x60 -/* 80116FB4 00113F14 4E 80 00 20 */ blr - -.global Update__13CDecalManagerFfR13CStateManager -Update__13CDecalManagerFfR13CStateManager: -/* 80116FB8 00113F18 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80116FBC 00113F1C 7C 08 02 A6 */ mflr r0 -/* 80116FC0 00113F20 90 01 00 34 */ stw r0, 0x34(r1) -/* 80116FC4 00113F24 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80116FC8 00113F28 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80116FCC 00113F2C BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80116FD0 00113F30 FF E0 08 90 */ fmr f31, f1 -/* 80116FD4 00113F34 C0 0D A3 70 */ lfs f0, lbl_805A8F30@sda21(r13) -/* 80116FD8 00113F38 3C A0 80 57 */ lis r5, lbl_8056F758@ha -/* 80116FDC 00113F3C 3C 80 80 57 */ lis r4, lbl_8056D850@ha -/* 80116FE0 00113F40 3B E5 F7 58 */ addi r31, r5, lbl_8056F758@l -/* 80116FE4 00113F44 7C 7B 1B 78 */ mr r27, r3 -/* 80116FE8 00113F48 EC 00 F8 2A */ fadds f0, f0, f31 -/* 80116FEC 00113F4C 3B BF 00 04 */ addi r29, r31, 4 -/* 80116FF0 00113F50 38 64 D8 50 */ addi r3, r4, lbl_8056D850@l -/* 80116FF4 00113F54 7F BC EB 78 */ mr r28, r29 -/* 80116FF8 00113F58 D0 0D A3 70 */ stfs f0, lbl_805A8F30@sda21(r13) -/* 80116FFC 00113F5C 3B C3 00 04 */ addi r30, r3, 4 -/* 80117000 00113F60 48 00 00 48 */ b lbl_80117048 -lbl_80117004: -/* 80117004 00113F64 80 9C 00 00 */ lwz r4, 0(r28) -/* 80117008 00113F68 80 1B 08 CC */ lwz r0, 0x8cc(r27) -/* 8011700C 00113F6C 1C 64 00 78 */ mulli r3, r4, 0x78 -/* 80117010 00113F70 7C 7E 1A 14 */ add r3, r30, r3 -/* 80117014 00113F74 80 A3 00 70 */ lwz r5, 0x70(r3) -/* 80117018 00113F78 7C 05 00 00 */ cmpw r5, r0 -/* 8011701C 00113F7C 40 82 00 10 */ bne lbl_8011702C -/* 80117020 00113F80 80 03 00 5C */ lwz r0, 0x5c(r3) -/* 80117024 00113F84 2C 00 00 07 */ cmpwi r0, 7 -/* 80117028 00113F88 40 82 00 14 */ bne lbl_8011703C -lbl_8011702C: -/* 8011702C 00113F8C 7F 83 E3 78 */ mr r3, r28 -/* 80117030 00113F90 48 00 00 49 */ bl RemoveFromActiveList__13CDecalManagerFPii -/* 80117034 00113F94 7C 7C 1B 78 */ mr r28, r3 -/* 80117038 00113F98 48 00 00 10 */ b lbl_80117048 -lbl_8011703C: -/* 8011703C 00113F9C FC 20 F8 90 */ fmr f1, f31 -/* 80117040 00113FA0 48 19 D7 E9 */ bl Update__6CDecalFf -/* 80117044 00113FA4 3B 9C 00 04 */ addi r28, r28, 4 -lbl_80117048: -/* 80117048 00113FA8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8011704C 00113FAC 54 00 10 3A */ slwi r0, r0, 2 -/* 80117050 00113FB0 7C 1D 02 14 */ add r0, r29, r0 -/* 80117054 00113FB4 7C 1C 00 40 */ cmplw r28, r0 -/* 80117058 00113FB8 40 82 FF AC */ bne lbl_80117004 -/* 8011705C 00113FBC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80117060 00113FC0 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80117064 00113FC4 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80117068 00113FC8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011706C 00113FCC 7C 08 03 A6 */ mtlr r0 -/* 80117070 00113FD0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80117074 00113FD4 4E 80 00 20 */ blr - -.global RemoveFromActiveList__13CDecalManagerFPii -RemoveFromActiveList__13CDecalManagerFPii: -/* 80117078 00113FD8 3C A0 80 57 */ lis r5, lbl_8056F758@ha -/* 8011707C 00113FDC 38 C5 F7 58 */ addi r6, r5, lbl_8056F758@l -/* 80117080 00113FE0 39 06 00 04 */ addi r8, r6, 4 -/* 80117084 00113FE4 7C 03 40 40 */ cmplw r3, r8 -/* 80117088 00113FE8 41 80 00 5C */ blt lbl_801170E4 -/* 8011708C 00113FEC 80 06 00 00 */ lwz r0, 0(r6) -/* 80117090 00113FF0 54 00 10 3A */ slwi r0, r0, 2 -/* 80117094 00113FF4 7C 08 02 14 */ add r0, r8, r0 -/* 80117098 00113FF8 7C 03 00 40 */ cmplw r3, r0 -/* 8011709C 00113FFC 40 80 00 48 */ bge lbl_801170E4 -/* 801170A0 00114000 7C 67 1B 78 */ mr r7, r3 -/* 801170A4 00114004 48 00 00 10 */ b lbl_801170B4 -lbl_801170A8: -/* 801170A8 00114008 80 07 00 04 */ lwz r0, 4(r7) -/* 801170AC 0011400C 90 07 00 00 */ stw r0, 0(r7) -/* 801170B0 00114010 38 E7 00 04 */ addi r7, r7, 4 -lbl_801170B4: -/* 801170B4 00114014 80 06 00 00 */ lwz r0, 0(r6) -/* 801170B8 00114018 54 05 10 3A */ slwi r5, r0, 2 -/* 801170BC 0011401C 38 05 FF FC */ addi r0, r5, -4 -/* 801170C0 00114020 7C 08 02 14 */ add r0, r8, r0 -/* 801170C4 00114024 7C 07 00 40 */ cmplw r7, r0 -/* 801170C8 00114028 41 80 FF E0 */ blt lbl_801170A8 -/* 801170CC 0011402C 3C A0 80 57 */ lis r5, lbl_8056F758@ha -/* 801170D0 00114030 38 C5 F7 58 */ addi r6, r5, lbl_8056F758@l -/* 801170D4 00114034 80 A6 00 00 */ lwz r5, 0(r6) -/* 801170D8 00114038 38 05 FF FF */ addi r0, r5, -1 -/* 801170DC 0011403C 90 06 00 00 */ stw r0, 0(r6) -/* 801170E0 00114040 48 00 00 14 */ b lbl_801170F4 -lbl_801170E4: -/* 801170E4 00114044 3C 60 80 57 */ lis r3, lbl_8056F758@ha -/* 801170E8 00114048 80 03 F7 58 */ lwz r0, lbl_8056F758@l(r3) -/* 801170EC 0011404C 54 00 10 3A */ slwi r0, r0, 2 -/* 801170F0 00114050 7C 68 02 14 */ add r3, r8, r0 -lbl_801170F4: -/* 801170F4 00114054 1C A4 00 78 */ mulli r5, r4, 0x78 -/* 801170F8 00114058 80 ED A3 68 */ lwz r7, lbl_805A8F28@sda21(r13) -/* 801170FC 0011405C 80 0D A3 74 */ lwz r0, lbl_805A8F34@sda21(r13) -/* 80117100 00114060 3C C0 80 57 */ lis r6, lbl_8056D850@ha -/* 80117104 00114064 90 8D A3 68 */ stw r4, lbl_805A8F28@sda21(r13) -/* 80117108 00114068 38 C6 D8 50 */ addi r6, r6, lbl_8056D850@l -/* 8011710C 0011406C 7C 00 20 00 */ cmpw r0, r4 -/* 80117110 00114070 7C 86 2A 14 */ add r4, r6, r5 -/* 80117114 00114074 98 E4 00 78 */ stb r7, 0x78(r4) -/* 80117118 00114078 4C 82 00 20 */ bnelr -/* 8011711C 0011407C 38 00 FF FF */ li r0, -1 -/* 80117120 00114080 90 0D A3 74 */ stw r0, lbl_805A8F34@sda21(r13) -/* 80117124 00114084 4E 80 00 20 */ blr - -.global "AddDecal__13CDecalManagerFRC27TToken<17CDecalDescription>RC12CTransform4fR13CStateManager" -"AddDecal__13CDecalManagerFRC27TToken<17CDecalDescription>RC12CTransform4fR13CStateManager": -/* 80117128 00114088 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8011712C 0011408C 7C 08 02 A6 */ mflr r0 -/* 80117130 00114090 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80117134 00114094 BF 21 00 94 */ stmw r25, 0x94(r1) -/* 80117138 00114098 7C 79 1B 78 */ mr r25, r3 -/* 8011713C 0011409C 7C 9A 23 78 */ mr r26, r4 -/* 80117140 001140A0 7C BB 2B 78 */ mr r27, r5 -/* 80117144 001140A4 7C DC 33 78 */ mr r28, r6 -/* 80117148 001140A8 80 ED A3 74 */ lwz r7, lbl_805A8F34@sda21(r13) -/* 8011714C 001140AC 80 63 00 00 */ lwz r3, 0(r3) -/* 80117150 001140B0 2C 07 FF FF */ cmpwi r7, -1 -/* 80117154 001140B4 83 C3 00 08 */ lwz r30, 8(r3) -/* 80117158 001140B8 41 82 00 8C */ beq lbl_801171E4 -/* 8011715C 001140BC C0 2D A3 70 */ lfs f1, lbl_805A8F30@sda21(r13) -/* 80117160 001140C0 C0 02 96 58 */ lfs f0, lbl_805AB378@sda21(r2) -/* 80117164 001140C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80117168 001140C8 40 80 00 7C */ bge lbl_801171E4 -/* 8011716C 001140CC 80 0D A3 78 */ lwz r0, lbl_805A8F38@sda21(r13) -/* 80117170 001140D0 7C 00 F0 40 */ cmplw r0, r30 -/* 80117174 001140D4 40 82 00 70 */ bne lbl_801171E4 -/* 80117178 001140D8 1C 07 00 78 */ mulli r0, r7, 0x78 -/* 8011717C 001140DC 3C 60 80 57 */ lis r3, lbl_8056D850@ha -/* 80117180 001140E0 C0 5A 00 1C */ lfs f2, 0x1c(r26) -/* 80117184 001140E4 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l -/* 80117188 001140E8 C0 1A 00 0C */ lfs f0, 0xc(r26) -/* 8011718C 001140EC 7C 63 02 14 */ add r3, r3, r0 -/* 80117190 001140F0 C0 E3 00 2C */ lfs f7, 0x2c(r3) -/* 80117194 001140F4 C0 23 00 1C */ lfs f1, 0x1c(r3) -/* 80117198 001140F8 EC C7 10 28 */ fsubs f6, f7, f2 -/* 8011719C 001140FC C1 03 00 3C */ lfs f8, 0x3c(r3) -/* 801171A0 00114100 EC 81 00 28 */ fsubs f4, f1, f0 -/* 801171A4 00114104 C0 5A 00 2C */ lfs f2, 0x2c(r26) -/* 801171A8 00114108 C0 02 96 5C */ lfs f0, lbl_805AB37C@sda21(r2) -/* 801171AC 0011410C EC A8 10 28 */ fsubs f5, f8, f2 -/* 801171B0 00114110 EC 44 01 32 */ fmuls f2, f4, f4 -/* 801171B4 00114114 D0 21 00 08 */ stfs f1, 8(r1) -/* 801171B8 00114118 EC 26 01 B2 */ fmuls f1, f6, f6 -/* 801171BC 0011411C EC 65 01 72 */ fmuls f3, f5, f5 -/* 801171C0 00114120 D0 E1 00 0C */ stfs f7, 0xc(r1) -/* 801171C4 00114124 EC 22 08 2A */ fadds f1, f2, f1 -/* 801171C8 00114128 D1 01 00 10 */ stfs f8, 0x10(r1) -/* 801171CC 0011412C D0 81 00 14 */ stfs f4, 0x14(r1) -/* 801171D0 00114130 EC 23 08 2A */ fadds f1, f3, f1 -/* 801171D4 00114134 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 801171D8 00114138 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801171DC 0011413C D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 801171E0 00114140 41 80 01 00 */ blt lbl_801172E0 -lbl_801171E4: -/* 801171E4 00114144 80 0D A3 68 */ lwz r0, lbl_805A8F28@sda21(r13) -/* 801171E8 00114148 2C 00 FF FF */ cmpwi r0, -1 -/* 801171EC 0011414C 40 82 00 14 */ bne lbl_80117200 -/* 801171F0 00114150 3C 60 80 57 */ lis r3, lbl_8056F758@ha -/* 801171F4 00114154 38 63 F7 58 */ addi r3, r3, lbl_8056F758@l -/* 801171F8 00114158 84 83 00 04 */ lwzu r4, 4(r3) -/* 801171FC 0011415C 4B FF FE 7D */ bl RemoveFromActiveList__13CDecalManagerFPii -lbl_80117200: -/* 80117200 00114160 83 AD A3 68 */ lwz r29, lbl_805A8F28@sda21(r13) -/* 80117204 00114164 3C 60 80 57 */ lis r3, lbl_8056D850@ha -/* 80117208 00114168 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l -/* 8011720C 0011416C 1C 1D 00 78 */ mulli r0, r29, 0x78 -/* 80117210 00114170 7F E3 02 14 */ add r31, r3, r0 -/* 80117214 00114174 88 7F 00 78 */ lbz r3, 0x78(r31) -/* 80117218 00114178 88 1F 00 70 */ lbz r0, 0x70(r31) -/* 8011721C 0011417C 3B FF 00 04 */ addi r31, r31, 4 -/* 80117220 00114180 7C 63 07 74 */ extsb r3, r3 -/* 80117224 00114184 28 00 00 00 */ cmplwi r0, 0 -/* 80117228 00114188 90 6D A3 68 */ stw r3, lbl_805A8F28@sda21(r13) -/* 8011722C 0011418C 41 82 00 20 */ beq lbl_8011724C -/* 80117230 00114190 28 1F 00 00 */ cmplwi r31, 0 -/* 80117234 00114194 41 82 00 18 */ beq lbl_8011724C -/* 80117238 00114198 41 82 00 14 */ beq lbl_8011724C -/* 8011723C 0011419C 41 82 00 10 */ beq lbl_8011724C -/* 80117240 001141A0 7F E3 FB 78 */ mr r3, r31 -/* 80117244 001141A4 38 80 00 00 */ li r4, 0 -/* 80117248 001141A8 48 22 9B F9 */ bl __dt__6CTokenFv -lbl_8011724C: -/* 8011724C 001141AC 38 00 00 00 */ li r0, 0 -/* 80117250 001141B0 7F 24 CB 78 */ mr r4, r25 -/* 80117254 001141B4 98 1F 00 6C */ stb r0, 0x6c(r31) -/* 80117258 001141B8 7F 45 D3 78 */ mr r5, r26 -/* 8011725C 001141BC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80117260 001141C0 48 19 E1 D1 */ bl "__ct__6CDecalFRC27TToken<17CDecalDescription>RC12CTransform4f" -/* 80117264 001141C4 7F E3 FB 78 */ mr r3, r31 -/* 80117268 001141C8 38 81 00 20 */ addi r4, r1, 0x20 -/* 8011726C 001141CC 48 00 00 89 */ bl "assign__Q24rstl24optional_object<6CDecal>FRC6CDecal" -/* 80117270 001141D0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80117274 001141D4 38 80 00 00 */ li r4, 0 -/* 80117278 001141D8 48 22 9B C9 */ bl __dt__6CTokenFv -/* 8011727C 001141DC 80 BC 08 CC */ lwz r5, 0x8cc(r28) -/* 80117280 001141E0 3C 60 80 57 */ lis r3, 0x8057 -/* 80117284 001141E4 20 9B 00 01 */ subfic r4, r27, 1 -/* 80117288 001141E8 84 03 F7 58 */ lwzu r0, -0x8a8(r3) -/* 8011728C 001141EC 7C 84 00 34 */ cntlzw r4, r4 -/* 80117290 001141F0 90 BF 00 70 */ stw r5, 0x70(r31) -/* 80117294 001141F4 54 00 10 3A */ slwi r0, r0, 2 -/* 80117298 001141F8 C0 02 96 60 */ lfs f0, lbl_805AB380@sda21(r2) -/* 8011729C 001141FC 7C A3 02 14 */ add r5, r3, r0 -/* 801172A0 00114200 54 84 D9 7E */ srwi r4, r4, 5 -/* 801172A4 00114204 7C 83 07 74 */ extsb r3, r4 -/* 801172A8 00114208 88 1F 00 75 */ lbz r0, 0x75(r31) -/* 801172AC 0011420C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 801172B0 00114210 34 A5 00 04 */ addic. r5, r5, 4 -/* 801172B4 00114214 D0 0D A3 70 */ stfs f0, lbl_805A8F30@sda21(r13) -/* 801172B8 00114218 98 1F 00 75 */ stb r0, 0x75(r31) -/* 801172BC 0011421C 93 AD A3 74 */ stw r29, lbl_805A8F34@sda21(r13) -/* 801172C0 00114220 93 CD A3 78 */ stw r30, lbl_805A8F38@sda21(r13) -/* 801172C4 00114224 41 82 00 08 */ beq lbl_801172CC -/* 801172C8 00114228 93 A5 00 00 */ stw r29, 0(r5) -lbl_801172CC: -/* 801172CC 0011422C 3C 60 80 57 */ lis r3, lbl_8056F758@ha -/* 801172D0 00114230 38 83 F7 58 */ addi r4, r3, lbl_8056F758@l -/* 801172D4 00114234 80 64 00 00 */ lwz r3, 0(r4) -/* 801172D8 00114238 38 03 00 01 */ addi r0, r3, 1 -/* 801172DC 0011423C 90 04 00 00 */ stw r0, 0(r4) -lbl_801172E0: -/* 801172E0 00114240 BB 21 00 94 */ lmw r25, 0x94(r1) -/* 801172E4 00114244 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 801172E8 00114248 7C 08 03 A6 */ mtlr r0 -/* 801172EC 0011424C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 801172F0 00114250 4E 80 00 20 */ blr - -.global "assign__Q24rstl24optional_object<6CDecal>FRC6CDecal" -"assign__Q24rstl24optional_object<6CDecal>FRC6CDecal": -/* 801172F4 00114254 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801172F8 00114258 7C 08 02 A6 */ mflr r0 -/* 801172FC 0011425C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117300 00114260 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80117304 00114264 7C 7F 1B 78 */ mr r31, r3 -/* 80117308 00114268 48 00 00 1D */ bl sub_80117324 -/* 8011730C 0011426C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117310 00114270 7F E3 FB 78 */ mr r3, r31 -/* 80117314 00114274 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80117318 00114278 7C 08 03 A6 */ mtlr r0 -/* 8011731C 0011427C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117320 00114280 4E 80 00 20 */ blr - -.global sub_80117324 -sub_80117324: -/* 80117324 00114284 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80117328 00114288 7C 08 02 A6 */ mflr r0 -/* 8011732C 0011428C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80117330 00114290 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80117334 00114294 7C 9F 23 78 */ mr r31, r4 -/* 80117338 00114298 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8011733C 0011429C 7C 7E 1B 78 */ mr r30, r3 -/* 80117340 001142A0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80117344 001142A4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80117348 001142A8 88 03 00 6C */ lbz r0, 0x6c(r3) -/* 8011734C 001142AC 28 00 00 00 */ cmplwi r0, 0 -/* 80117350 001142B0 40 82 00 A0 */ bne lbl_801173F0 -/* 80117354 001142B4 7F C0 F3 79 */ or. r0, r30, r30 -/* 80117358 001142B8 41 82 00 8C */ beq lbl_801173E4 -/* 8011735C 001142BC 7C 1C 03 78 */ mr r28, r0 -/* 80117360 001142C0 7C 1D 03 78 */ mr r29, r0 -/* 80117364 001142C4 48 22 9B 45 */ bl __ct__6CTokenFRC6CToken -/* 80117368 001142C8 80 1F 00 08 */ lwz r0, 8(r31) -/* 8011736C 001142CC 7F A3 EB 78 */ mr r3, r29 -/* 80117370 001142D0 90 1D 00 08 */ stw r0, 8(r29) -/* 80117374 001142D4 48 22 9A 11 */ bl Lock__6CTokenFv -/* 80117378 001142D8 38 7C 00 0C */ addi r3, r28, 0xc -/* 8011737C 001142DC 38 9F 00 0C */ addi r4, r31, 0xc -/* 80117380 001142E0 48 1F B7 F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80117384 001142E4 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 80117388 001142E8 98 1C 00 3C */ stb r0, 0x3c(r28) -/* 8011738C 001142EC 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 80117390 001142F0 90 1C 00 40 */ stw r0, 0x40(r28) -/* 80117394 001142F4 C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 80117398 001142F8 D0 1C 00 44 */ stfs f0, 0x44(r28) -/* 8011739C 001142FC 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 801173A0 00114300 98 1C 00 48 */ stb r0, 0x48(r28) -/* 801173A4 00114304 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 801173A8 00114308 90 1C 00 4C */ stw r0, 0x4c(r28) -/* 801173AC 0011430C C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 801173B0 00114310 D0 1C 00 50 */ stfs f0, 0x50(r28) -/* 801173B4 00114314 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 801173B8 00114318 90 1C 00 54 */ stw r0, 0x54(r28) -/* 801173BC 0011431C 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 801173C0 00114320 90 1C 00 58 */ stw r0, 0x58(r28) -/* 801173C4 00114324 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 801173C8 00114328 90 1C 00 5C */ stw r0, 0x5c(r28) -/* 801173CC 0011432C C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 801173D0 00114330 D0 1C 00 60 */ stfs f0, 0x60(r28) -/* 801173D4 00114334 C0 1F 00 64 */ lfs f0, 0x64(r31) -/* 801173D8 00114338 D0 1C 00 64 */ stfs f0, 0x64(r28) -/* 801173DC 0011433C C0 1F 00 68 */ lfs f0, 0x68(r31) -/* 801173E0 00114340 D0 1C 00 68 */ stfs f0, 0x68(r28) -lbl_801173E4: -/* 801173E4 00114344 38 00 00 01 */ li r0, 1 -/* 801173E8 00114348 98 1E 00 6C */ stb r0, 0x6c(r30) -/* 801173EC 0011434C 48 00 00 7C */ b lbl_80117468 -lbl_801173F0: -/* 801173F0 00114350 48 22 98 D5 */ bl __as__6CTokenFRC6CToken -/* 801173F4 00114354 80 1F 00 08 */ lwz r0, 8(r31) -/* 801173F8 00114358 38 7E 00 0C */ addi r3, r30, 0xc -/* 801173FC 0011435C 38 9F 00 0C */ addi r4, r31, 0xc -/* 80117400 00114360 90 1E 00 08 */ stw r0, 8(r30) -/* 80117404 00114364 48 1F B7 3D */ bl __as__12CTransform4fFRC12CTransform4f -/* 80117408 00114368 80 7F 00 3C */ lwz r3, 0x3c(r31) -/* 8011740C 0011436C 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 80117410 00114370 90 7E 00 3C */ stw r3, 0x3c(r30) -/* 80117414 00114374 90 1E 00 40 */ stw r0, 0x40(r30) -/* 80117418 00114378 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 8011741C 0011437C 90 1E 00 44 */ stw r0, 0x44(r30) -/* 80117420 00114380 80 7F 00 48 */ lwz r3, 0x48(r31) -/* 80117424 00114384 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 80117428 00114388 90 7E 00 48 */ stw r3, 0x48(r30) -/* 8011742C 0011438C 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 80117430 00114390 80 1F 00 50 */ lwz r0, 0x50(r31) -/* 80117434 00114394 90 1E 00 50 */ stw r0, 0x50(r30) -/* 80117438 00114398 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 8011743C 0011439C 90 1E 00 54 */ stw r0, 0x54(r30) -/* 80117440 001143A0 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 80117444 001143A4 90 1E 00 58 */ stw r0, 0x58(r30) -/* 80117448 001143A8 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 8011744C 001143AC 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 80117450 001143B0 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 80117454 001143B4 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 80117458 001143B8 90 7E 00 60 */ stw r3, 0x60(r30) -/* 8011745C 001143BC 90 1E 00 64 */ stw r0, 0x64(r30) -/* 80117460 001143C0 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 80117464 001143C4 90 1E 00 68 */ stw r0, 0x68(r30) -lbl_80117468: -/* 80117468 001143C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011746C 001143CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80117470 001143D0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80117474 001143D4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80117478 001143D8 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8011747C 001143DC 7C 08 03 A6 */ mtlr r0 -/* 80117480 001143E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80117484 001143E4 4E 80 00 20 */ blr - -.global Reinitialize__13CDecalManagerFv -Reinitialize__13CDecalManagerFv: -/* 80117488 001143E8 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8011748C 001143EC 7C 08 02 A6 */ mflr r0 -/* 80117490 001143F0 90 01 01 04 */ stw r0, 0x104(r1) -/* 80117494 001143F4 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 80117498 001143F8 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 8011749C 001143FC 88 0D A3 6C */ lbz r0, lbl_805A8F2C@sda21(r13) -/* 801174A0 00114400 28 00 00 00 */ cmplwi r0, 0 -/* 801174A4 00114404 40 82 00 08 */ bne lbl_801174AC -/* 801174A8 00114408 48 00 04 AD */ bl Initialize__13CDecalManagerFv -lbl_801174AC: -/* 801174AC 0011440C 3C 60 80 57 */ lis r3, lbl_8056D850@ha -/* 801174B0 00114410 3B C0 00 00 */ li r30, 0 -/* 801174B4 00114414 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l -/* 801174B8 00114418 3B E3 00 04 */ addi r31, r3, 4 -lbl_801174BC: -/* 801174BC 0011441C 39 00 00 00 */ li r8, 0 -/* 801174C0 00114420 38 1E FF FF */ addi r0, r30, -1 -/* 801174C4 00114424 99 01 00 F4 */ stb r8, 0xf4(r1) -/* 801174C8 00114428 38 61 00 10 */ addi r3, r1, 0x10 -/* 801174CC 0011442C 38 81 00 88 */ addi r4, r1, 0x88 -/* 801174D0 00114430 38 A1 00 0C */ addi r5, r1, 0xc -/* 801174D4 00114434 91 01 00 08 */ stw r8, 8(r1) -/* 801174D8 00114438 7C 06 07 74 */ extsb r6, r0 -/* 801174DC 0011443C 38 E0 00 00 */ li r7, 0 -/* 801174E0 00114440 91 01 00 0C */ stw r8, 0xc(r1) -/* 801174E4 00114444 48 00 01 C5 */ bl "__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>" -/* 801174E8 00114448 7F E3 FB 78 */ mr r3, r31 -/* 801174EC 0011444C 38 81 00 10 */ addi r4, r1, 0x10 -/* 801174F0 00114450 48 00 00 ED */ bl sub_801175dc -/* 801174F4 00114454 88 01 00 7C */ lbz r0, 0x7c(r1) -/* 801174F8 00114458 28 00 00 00 */ cmplwi r0, 0 -/* 801174FC 0011445C 41 82 00 20 */ beq lbl_8011751C -/* 80117500 00114460 34 61 00 10 */ addic. r3, r1, 0x10 -/* 80117504 00114464 41 82 00 18 */ beq lbl_8011751C -/* 80117508 00114468 28 03 00 00 */ cmplwi r3, 0 -/* 8011750C 0011446C 41 82 00 10 */ beq lbl_8011751C -/* 80117510 00114470 41 82 00 0C */ beq lbl_8011751C -/* 80117514 00114474 38 80 00 00 */ li r4, 0 -/* 80117518 00114478 48 22 99 29 */ bl __dt__6CTokenFv -lbl_8011751C: -/* 8011751C 0011447C 88 01 00 F4 */ lbz r0, 0xf4(r1) -/* 80117520 00114480 38 60 00 00 */ li r3, 0 -/* 80117524 00114484 98 61 00 7C */ stb r3, 0x7c(r1) -/* 80117528 00114488 28 00 00 00 */ cmplwi r0, 0 -/* 8011752C 0011448C 41 82 00 20 */ beq lbl_8011754C -/* 80117530 00114490 34 61 00 88 */ addic. r3, r1, 0x88 -/* 80117534 00114494 41 82 00 18 */ beq lbl_8011754C -/* 80117538 00114498 28 03 00 00 */ cmplwi r3, 0 -/* 8011753C 0011449C 41 82 00 10 */ beq lbl_8011754C -/* 80117540 001144A0 41 82 00 0C */ beq lbl_8011754C -/* 80117544 001144A4 38 80 00 00 */ li r4, 0 -/* 80117548 001144A8 48 22 98 F9 */ bl __dt__6CTokenFv -lbl_8011754C: -/* 8011754C 001144AC 3B DE 00 01 */ addi r30, r30, 1 -/* 80117550 001144B0 38 80 00 00 */ li r4, 0 -/* 80117554 001144B4 2C 1E 00 40 */ cmpwi r30, 0x40 -/* 80117558 001144B8 98 81 00 F4 */ stb r4, 0xf4(r1) -/* 8011755C 001144BC 3B FF 00 78 */ addi r31, r31, 0x78 -/* 80117560 001144C0 41 80 FF 5C */ blt lbl_801174BC -/* 80117564 001144C4 3C 60 80 57 */ lis r3, lbl_8056F758@ha -/* 80117568 001144C8 80 A3 F7 58 */ lwz r5, lbl_8056F758@l(r3) -/* 8011756C 001144CC 2C 05 00 00 */ cmpwi r5, 0 -/* 80117570 001144D0 40 81 00 40 */ ble lbl_801175B0 -/* 80117574 001144D4 2C 05 00 08 */ cmpwi r5, 8 -/* 80117578 001144D8 38 65 FF F8 */ addi r3, r5, -8 -/* 8011757C 001144DC 40 81 00 20 */ ble lbl_8011759C -/* 80117580 001144E0 38 03 00 07 */ addi r0, r3, 7 -/* 80117584 001144E4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80117588 001144E8 7C 09 03 A6 */ mtctr r0 -/* 8011758C 001144EC 2C 03 00 00 */ cmpwi r3, 0 -/* 80117590 001144F0 40 81 00 0C */ ble lbl_8011759C -lbl_80117594: -/* 80117594 001144F4 38 84 00 08 */ addi r4, r4, 8 -/* 80117598 001144F8 42 00 FF FC */ bdnz lbl_80117594 -lbl_8011759C: -/* 8011759C 001144FC 7C 04 28 50 */ subf r0, r4, r5 -/* 801175A0 00114500 7C 09 03 A6 */ mtctr r0 -/* 801175A4 00114504 7C 04 28 00 */ cmpw r4, r5 -/* 801175A8 00114508 40 80 00 08 */ bge lbl_801175B0 -lbl_801175AC: -/* 801175AC 0011450C 42 00 00 00 */ bdnz lbl_801175AC -lbl_801175B0: -/* 801175B0 00114510 38 00 00 3F */ li r0, 0x3f -/* 801175B4 00114514 3C 60 80 57 */ lis r3, lbl_8056F758@ha -/* 801175B8 00114518 38 80 00 00 */ li r4, 0 -/* 801175BC 0011451C 90 0D A3 68 */ stw r0, lbl_805A8F28@sda21(r13) -/* 801175C0 00114520 90 83 F7 58 */ stw r4, lbl_8056F758@l(r3) -/* 801175C4 00114524 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 801175C8 00114528 80 01 01 04 */ lwz r0, 0x104(r1) -/* 801175CC 0011452C 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 801175D0 00114530 7C 08 03 A6 */ mtlr r0 -/* 801175D4 00114534 38 21 01 00 */ addi r1, r1, 0x100 -/* 801175D8 00114538 4E 80 00 20 */ blr - -.global sub_801175dc -sub_801175dc: -/* 801175DC 0011453C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801175E0 00114540 7C 08 02 A6 */ mflr r0 -/* 801175E4 00114544 90 01 00 14 */ stw r0, 0x14(r1) -/* 801175E8 00114548 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801175EC 0011454C 7C 9F 23 78 */ mr r31, r4 -/* 801175F0 00114550 93 C1 00 08 */ stw r30, 8(r1) -/* 801175F4 00114554 7C 7E 1B 78 */ mr r30, r3 -/* 801175F8 00114558 48 00 00 39 */ bl sub_80117630 -/* 801175FC 0011455C 80 1F 00 70 */ lwz r0, 0x70(r31) -/* 80117600 00114560 7F C3 F3 78 */ mr r3, r30 -/* 80117604 00114564 90 1E 00 70 */ stw r0, 0x70(r30) -/* 80117608 00114568 88 1F 00 74 */ lbz r0, 0x74(r31) -/* 8011760C 0011456C 98 1E 00 74 */ stb r0, 0x74(r30) -/* 80117610 00114570 88 1F 00 75 */ lbz r0, 0x75(r31) -/* 80117614 00114574 98 1E 00 75 */ stb r0, 0x75(r30) -/* 80117618 00114578 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011761C 0011457C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80117620 00114580 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117624 00114584 7C 08 03 A6 */ mtlr r0 -/* 80117628 00114588 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011762C 0011458C 4E 80 00 20 */ blr - -.global sub_80117630 -sub_80117630: -/* 80117630 00114590 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117634 00114594 7C 08 02 A6 */ mflr r0 -/* 80117638 00114598 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011763C 0011459C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80117640 001145A0 7C 7F 1B 78 */ mr r31, r3 -/* 80117644 001145A4 7C 1F 20 40 */ cmplw r31, r4 -/* 80117648 001145A8 40 82 00 08 */ bne lbl_80117650 -/* 8011764C 001145AC 48 00 00 48 */ b lbl_80117694 -lbl_80117650: -/* 80117650 001145B0 88 04 00 6C */ lbz r0, 0x6c(r4) -/* 80117654 001145B4 28 00 00 00 */ cmplwi r0, 0 -/* 80117658 001145B8 41 82 00 0C */ beq lbl_80117664 -/* 8011765C 001145BC 4B FF FC C9 */ bl sub_80117324 -/* 80117660 001145C0 48 00 00 30 */ b lbl_80117690 -lbl_80117664: -/* 80117664 001145C4 88 1F 00 6C */ lbz r0, 0x6c(r31) -/* 80117668 001145C8 28 00 00 00 */ cmplwi r0, 0 -/* 8011766C 001145CC 41 82 00 1C */ beq lbl_80117688 -/* 80117670 001145D0 28 1F 00 00 */ cmplwi r31, 0 -/* 80117674 001145D4 41 82 00 14 */ beq lbl_80117688 -/* 80117678 001145D8 41 82 00 10 */ beq lbl_80117688 -/* 8011767C 001145DC 41 82 00 0C */ beq lbl_80117688 -/* 80117680 001145E0 38 80 00 00 */ li r4, 0 -/* 80117684 001145E4 48 22 97 BD */ bl __dt__6CTokenFv -lbl_80117688: -/* 80117688 001145E8 38 00 00 00 */ li r0, 0 -/* 8011768C 001145EC 98 1F 00 6C */ stb r0, 0x6c(r31) -lbl_80117690: -/* 80117690 001145F0 7F E3 FB 78 */ mr r3, r31 -lbl_80117694: -/* 80117694 001145F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117698 001145F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011769C 001145FC 7C 08 03 A6 */ mtlr r0 -/* 801176A0 00114600 38 21 00 10 */ addi r1, r1, 0x10 -/* 801176A4 00114604 4E 80 00 20 */ blr - -.global "__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>" -"__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>": -/* 801176A8 00114608 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801176AC 0011460C 7C 08 02 A6 */ mflr r0 -/* 801176B0 00114610 90 01 00 24 */ stw r0, 0x24(r1) -/* 801176B4 00114614 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801176B8 00114618 7C FF 3B 78 */ mr r31, r7 -/* 801176BC 0011461C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801176C0 00114620 7C DE 33 78 */ mr r30, r6 -/* 801176C4 00114624 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801176C8 00114628 7C BD 2B 78 */ mr r29, r5 -/* 801176CC 0011462C 93 81 00 10 */ stw r28, 0x10(r1) -/* 801176D0 00114630 7C 7C 1B 78 */ mr r28, r3 -/* 801176D4 00114634 48 00 00 45 */ bl sub_80117718 -/* 801176D8 00114638 80 1D 00 00 */ lwz r0, 0(r29) -/* 801176DC 0011463C 7F E4 07 74 */ extsb r4, r31 -/* 801176E0 00114640 7F 83 E3 78 */ mr r3, r28 -/* 801176E4 00114644 90 1C 00 70 */ stw r0, 0x70(r28) -/* 801176E8 00114648 9B DC 00 74 */ stb r30, 0x74(r28) -/* 801176EC 0011464C 88 1C 00 75 */ lbz r0, 0x75(r28) -/* 801176F0 00114650 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 801176F4 00114654 98 1C 00 75 */ stb r0, 0x75(r28) -/* 801176F8 00114658 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801176FC 0011465C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80117700 00114660 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80117704 00114664 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80117708 00114668 83 81 00 10 */ lwz r28, 0x10(r1) -/* 8011770C 0011466C 7C 08 03 A6 */ mtlr r0 -/* 80117710 00114670 38 21 00 20 */ addi r1, r1, 0x20 -/* 80117714 00114674 4E 80 00 20 */ blr - -.global sub_80117718 -sub_80117718: -/* 80117718 00114678 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011771C 0011467C 7C 08 02 A6 */ mflr r0 -/* 80117720 00114680 90 01 00 24 */ stw r0, 0x24(r1) -/* 80117724 00114684 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80117728 00114688 7C 9F 23 78 */ mr r31, r4 -/* 8011772C 0011468C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80117730 00114690 7C 7E 1B 78 */ mr r30, r3 -/* 80117734 00114694 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80117738 00114698 93 81 00 10 */ stw r28, 0x10(r1) -/* 8011773C 0011469C 88 04 00 6C */ lbz r0, 0x6c(r4) -/* 80117740 001146A0 98 03 00 6C */ stb r0, 0x6c(r3) -/* 80117744 001146A4 88 04 00 6C */ lbz r0, 0x6c(r4) -/* 80117748 001146A8 28 00 00 00 */ cmplwi r0, 0 -/* 8011774C 001146AC 41 82 00 94 */ beq lbl_801177E0 -/* 80117750 001146B0 7F C0 F3 79 */ or. r0, r30, r30 -/* 80117754 001146B4 41 82 00 8C */ beq lbl_801177E0 -/* 80117758 001146B8 7C 1C 03 78 */ mr r28, r0 -/* 8011775C 001146BC 7C 1D 03 78 */ mr r29, r0 -/* 80117760 001146C0 48 22 97 49 */ bl __ct__6CTokenFRC6CToken -/* 80117764 001146C4 80 1F 00 08 */ lwz r0, 8(r31) -/* 80117768 001146C8 7F A3 EB 78 */ mr r3, r29 -/* 8011776C 001146CC 90 1D 00 08 */ stw r0, 8(r29) -/* 80117770 001146D0 48 22 96 15 */ bl Lock__6CTokenFv -/* 80117774 001146D4 38 7C 00 0C */ addi r3, r28, 0xc -/* 80117778 001146D8 38 9F 00 0C */ addi r4, r31, 0xc -/* 8011777C 001146DC 48 1F B3 F9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80117780 001146E0 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 80117784 001146E4 98 1C 00 3C */ stb r0, 0x3c(r28) -/* 80117788 001146E8 80 1F 00 40 */ lwz r0, 0x40(r31) -/* 8011778C 001146EC 90 1C 00 40 */ stw r0, 0x40(r28) -/* 80117790 001146F0 C0 1F 00 44 */ lfs f0, 0x44(r31) -/* 80117794 001146F4 D0 1C 00 44 */ stfs f0, 0x44(r28) -/* 80117798 001146F8 88 1F 00 48 */ lbz r0, 0x48(r31) -/* 8011779C 001146FC 98 1C 00 48 */ stb r0, 0x48(r28) -/* 801177A0 00114700 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 801177A4 00114704 90 1C 00 4C */ stw r0, 0x4c(r28) -/* 801177A8 00114708 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 801177AC 0011470C D0 1C 00 50 */ stfs f0, 0x50(r28) -/* 801177B0 00114710 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 801177B4 00114714 90 1C 00 54 */ stw r0, 0x54(r28) -/* 801177B8 00114718 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 801177BC 0011471C 90 1C 00 58 */ stw r0, 0x58(r28) -/* 801177C0 00114720 80 1F 00 5C */ lwz r0, 0x5c(r31) -/* 801177C4 00114724 90 1C 00 5C */ stw r0, 0x5c(r28) -/* 801177C8 00114728 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 801177CC 0011472C D0 1C 00 60 */ stfs f0, 0x60(r28) -/* 801177D0 00114730 C0 1F 00 64 */ lfs f0, 0x64(r31) -/* 801177D4 00114734 D0 1C 00 64 */ stfs f0, 0x64(r28) -/* 801177D8 00114738 C0 1F 00 68 */ lfs f0, 0x68(r31) -/* 801177DC 0011473C D0 1C 00 68 */ stfs f0, 0x68(r28) -lbl_801177E0: -/* 801177E0 00114740 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801177E4 00114744 7F C3 F3 78 */ mr r3, r30 -/* 801177E8 00114748 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801177EC 0011474C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801177F0 00114750 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 801177F4 00114754 83 81 00 10 */ lwz r28, 0x10(r1) -/* 801177F8 00114758 7C 08 03 A6 */ mtlr r0 -/* 801177FC 0011475C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80117800 00114760 4E 80 00 20 */ blr - -.global ShutDown__13CDecalManagerFv -ShutDown__13CDecalManagerFv: -/* 80117804 00114764 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117808 00114768 7C 08 02 A6 */ mflr r0 -/* 8011780C 0011476C 3C 60 80 57 */ lis r3, lbl_8056F758@ha -/* 80117810 00114770 38 80 00 00 */ li r4, 0 -/* 80117814 00114774 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117818 00114778 80 A3 F7 58 */ lwz r5, lbl_8056F758@l(r3) -/* 8011781C 0011477C 2C 05 00 00 */ cmpwi r5, 0 -/* 80117820 00114780 40 81 00 40 */ ble lbl_80117860 -/* 80117824 00114784 2C 05 00 08 */ cmpwi r5, 8 -/* 80117828 00114788 38 65 FF F8 */ addi r3, r5, -8 -/* 8011782C 0011478C 40 81 00 20 */ ble lbl_8011784C -/* 80117830 00114790 38 03 00 07 */ addi r0, r3, 7 -/* 80117834 00114794 54 00 E8 FE */ srwi r0, r0, 3 -/* 80117838 00114798 7C 09 03 A6 */ mtctr r0 -/* 8011783C 0011479C 2C 03 00 00 */ cmpwi r3, 0 -/* 80117840 001147A0 40 81 00 0C */ ble lbl_8011784C -lbl_80117844: -/* 80117844 001147A4 38 84 00 08 */ addi r4, r4, 8 -/* 80117848 001147A8 42 00 FF FC */ bdnz lbl_80117844 -lbl_8011784C: -/* 8011784C 001147AC 7C 04 28 50 */ subf r0, r4, r5 -/* 80117850 001147B0 7C 09 03 A6 */ mtctr r0 -/* 80117854 001147B4 7C 04 28 00 */ cmpw r4, r5 -/* 80117858 001147B8 40 80 00 08 */ bge lbl_80117860 -lbl_8011785C: -/* 8011785C 001147BC 42 00 00 00 */ bdnz lbl_8011785C -lbl_80117860: -/* 80117860 001147C0 3C 80 80 57 */ lis r4, lbl_8056F758@ha -/* 80117864 001147C4 38 00 00 00 */ li r0, 0 -/* 80117868 001147C8 3C 60 80 57 */ lis r3, lbl_8056D850@ha -/* 8011786C 001147CC 90 04 F7 58 */ stw r0, lbl_8056F758@l(r4) -/* 80117870 001147D0 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l -/* 80117874 001147D4 48 00 00 1D */ bl "data__Q24rstl44reserved_vectorFv" -/* 80117878 001147D8 38 00 00 00 */ li r0, 0 -/* 8011787C 001147DC 98 0D A3 6C */ stb r0, lbl_805A8F2C@sda21(r13) -/* 80117880 001147E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117884 001147E4 7C 08 03 A6 */ mtlr r0 -/* 80117888 001147E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011788C 001147EC 4E 80 00 20 */ blr - -.global "data__Q24rstl44reserved_vectorFv" -"data__Q24rstl44reserved_vectorFv": -/* 80117890 001147F0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80117894 001147F4 7C 08 02 A6 */ mflr r0 -/* 80117898 001147F8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011789C 001147FC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801178A0 00114800 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801178A4 00114804 3B C0 00 00 */ li r30, 0 -/* 801178A8 00114808 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801178AC 0011480C 7C 7D 1B 78 */ mr r29, r3 -/* 801178B0 00114810 3B FD 00 04 */ addi r31, r29, 4 -/* 801178B4 00114814 48 00 00 14 */ b lbl_801178C8 -lbl_801178B8: -/* 801178B8 00114818 7F E3 FB 78 */ mr r3, r31 -/* 801178BC 0011481C 48 00 00 3D */ bl sub_801178f8 -/* 801178C0 00114820 3B FF 00 78 */ addi r31, r31, 0x78 -/* 801178C4 00114824 3B DE 00 01 */ addi r30, r30, 1 -lbl_801178C8: -/* 801178C8 00114828 80 1D 00 00 */ lwz r0, 0(r29) -/* 801178CC 0011482C 7C 1E 00 00 */ cmpw r30, r0 -/* 801178D0 00114830 41 80 FF E8 */ blt lbl_801178B8 -/* 801178D4 00114834 38 00 00 00 */ li r0, 0 -/* 801178D8 00114838 90 1D 00 00 */ stw r0, 0(r29) -/* 801178DC 0011483C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801178E0 00114840 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801178E4 00114844 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801178E8 00114848 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 801178EC 0011484C 7C 08 03 A6 */ mtlr r0 -/* 801178F0 00114850 38 21 00 20 */ addi r1, r1, 0x20 -/* 801178F4 00114854 4E 80 00 20 */ blr - -.global sub_801178f8 -sub_801178f8: -/* 801178F8 00114858 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801178FC 0011485C 7C 08 02 A6 */ mflr r0 -/* 80117900 00114860 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117904 00114864 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80117908 00114868 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8011790C 0011486C 41 82 00 34 */ beq lbl_80117940 -/* 80117910 00114870 41 82 00 30 */ beq lbl_80117940 -/* 80117914 00114874 88 1F 00 6C */ lbz r0, 0x6c(r31) -/* 80117918 00114878 28 00 00 00 */ cmplwi r0, 0 -/* 8011791C 0011487C 41 82 00 1C */ beq lbl_80117938 -/* 80117920 00114880 28 1F 00 00 */ cmplwi r31, 0 -/* 80117924 00114884 41 82 00 14 */ beq lbl_80117938 -/* 80117928 00114888 41 82 00 10 */ beq lbl_80117938 -/* 8011792C 0011488C 41 82 00 0C */ beq lbl_80117938 -/* 80117930 00114890 38 80 00 00 */ li r4, 0 -/* 80117934 00114894 48 22 95 0D */ bl __dt__6CTokenFv -lbl_80117938: -/* 80117938 00114898 38 00 00 00 */ li r0, 0 -/* 8011793C 0011489C 98 1F 00 6C */ stb r0, 0x6c(r31) -lbl_80117940: -/* 80117940 001148A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117944 001148A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80117948 001148A8 7C 08 03 A6 */ mtlr r0 -/* 8011794C 001148AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117950 001148B0 4E 80 00 20 */ blr - -.global Initialize__13CDecalManagerFv -Initialize__13CDecalManagerFv: -/* 80117954 001148B4 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80117958 001148B8 7C 08 02 A6 */ mflr r0 -/* 8011795C 001148BC 90 01 01 04 */ stw r0, 0x104(r1) -/* 80117960 001148C0 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 80117964 001148C4 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 80117968 001148C8 88 0D A3 6C */ lbz r0, lbl_805A8F2C@sda21(r13) -/* 8011796C 001148CC 28 00 00 00 */ cmplwi r0, 0 -/* 80117970 001148D0 40 82 00 E4 */ bne lbl_80117A54 -/* 80117974 001148D4 3C 60 80 57 */ lis r3, lbl_8056D850@ha -/* 80117978 001148D8 38 63 D8 50 */ addi r3, r3, lbl_8056D850@l -/* 8011797C 001148DC 4B FF FF 15 */ bl "data__Q24rstl44reserved_vectorFv" -/* 80117980 001148E0 3C 60 80 57 */ lis r3, lbl_8056D850@ha -/* 80117984 001148E4 3B C0 00 00 */ li r30, 0 -/* 80117988 001148E8 3B E3 D8 50 */ addi r31, r3, lbl_8056D850@l -lbl_8011798C: -/* 8011798C 001148EC 39 00 00 00 */ li r8, 0 -/* 80117990 001148F0 38 1E FF FF */ addi r0, r30, -1 -/* 80117994 001148F4 99 01 00 F4 */ stb r8, 0xf4(r1) -/* 80117998 001148F8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8011799C 001148FC 38 81 00 88 */ addi r4, r1, 0x88 -/* 801179A0 00114900 38 A1 00 0C */ addi r5, r1, 0xc -/* 801179A4 00114904 91 01 00 08 */ stw r8, 8(r1) -/* 801179A8 00114908 7C 06 07 74 */ extsb r6, r0 -/* 801179AC 0011490C 38 E0 00 00 */ li r7, 0 -/* 801179B0 00114910 91 01 00 0C */ stw r8, 0xc(r1) -/* 801179B4 00114914 4B FF FC F5 */ bl "__as__Q24rstl24optional_object<6CDecal>FRCQ24rstl24optional_object<6CDecal>" -/* 801179B8 00114918 7F E3 FB 78 */ mr r3, r31 -/* 801179BC 0011491C 38 81 00 10 */ addi r4, r1, 0x10 -/* 801179C0 00114920 48 00 00 AD */ bl sub_80117a6c -/* 801179C4 00114924 88 01 00 7C */ lbz r0, 0x7c(r1) -/* 801179C8 00114928 28 00 00 00 */ cmplwi r0, 0 -/* 801179CC 0011492C 41 82 00 20 */ beq lbl_801179EC -/* 801179D0 00114930 34 61 00 10 */ addic. r3, r1, 0x10 -/* 801179D4 00114934 41 82 00 18 */ beq lbl_801179EC -/* 801179D8 00114938 28 03 00 00 */ cmplwi r3, 0 -/* 801179DC 0011493C 41 82 00 10 */ beq lbl_801179EC -/* 801179E0 00114940 41 82 00 0C */ beq lbl_801179EC -/* 801179E4 00114944 38 80 00 00 */ li r4, 0 -/* 801179E8 00114948 48 22 94 59 */ bl __dt__6CTokenFv -lbl_801179EC: -/* 801179EC 0011494C 88 01 00 F4 */ lbz r0, 0xf4(r1) -/* 801179F0 00114950 38 60 00 00 */ li r3, 0 -/* 801179F4 00114954 98 61 00 7C */ stb r3, 0x7c(r1) -/* 801179F8 00114958 28 00 00 00 */ cmplwi r0, 0 -/* 801179FC 0011495C 41 82 00 20 */ beq lbl_80117A1C -/* 80117A00 00114960 34 61 00 88 */ addic. r3, r1, 0x88 -/* 80117A04 00114964 41 82 00 18 */ beq lbl_80117A1C -/* 80117A08 00114968 28 03 00 00 */ cmplwi r3, 0 -/* 80117A0C 0011496C 41 82 00 10 */ beq lbl_80117A1C -/* 80117A10 00114970 41 82 00 0C */ beq lbl_80117A1C -/* 80117A14 00114974 38 80 00 00 */ li r4, 0 -/* 80117A18 00114978 48 22 94 29 */ bl __dt__6CTokenFv -lbl_80117A1C: -/* 80117A1C 0011497C 3B DE 00 01 */ addi r30, r30, 1 -/* 80117A20 00114980 38 00 00 00 */ li r0, 0 -/* 80117A24 00114984 2C 1E 00 40 */ cmpwi r30, 0x40 -/* 80117A28 00114988 98 01 00 F4 */ stb r0, 0xf4(r1) -/* 80117A2C 0011498C 41 80 FF 60 */ blt lbl_8011798C -/* 80117A30 00114990 C0 02 96 60 */ lfs f0, lbl_805AB380@sda21(r2) -/* 80117A34 00114994 38 00 FF FF */ li r0, -1 -/* 80117A38 00114998 38 80 00 3F */ li r4, 0x3f -/* 80117A3C 0011499C 38 60 00 01 */ li r3, 1 -/* 80117A40 001149A0 90 8D A3 68 */ stw r4, lbl_805A8F28@sda21(r13) -/* 80117A44 001149A4 98 6D A3 6C */ stb r3, lbl_805A8F2C@sda21(r13) -/* 80117A48 001149A8 D0 0D A3 70 */ stfs f0, lbl_805A8F30@sda21(r13) -/* 80117A4C 001149AC 90 0D A3 74 */ stw r0, lbl_805A8F34@sda21(r13) -/* 80117A50 001149B0 90 0D A3 78 */ stw r0, lbl_805A8F38@sda21(r13) -lbl_80117A54: -/* 80117A54 001149B4 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80117A58 001149B8 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 80117A5C 001149BC 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 80117A60 001149C0 7C 08 03 A6 */ mtlr r0 -/* 80117A64 001149C4 38 21 01 00 */ addi r1, r1, 0x100 -/* 80117A68 001149C8 4E 80 00 20 */ blr - -.global sub_80117a6c -sub_80117a6c: -/* 80117A6C 001149CC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117A70 001149D0 7C 08 02 A6 */ mflr r0 -/* 80117A74 001149D4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117A78 001149D8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80117A7C 001149DC 7C 7F 1B 78 */ mr r31, r3 -/* 80117A80 001149E0 80 03 00 00 */ lwz r0, 0(r3) -/* 80117A84 001149E4 1C 00 00 78 */ mulli r0, r0, 0x78 -/* 80117A88 001149E8 7C 7F 02 14 */ add r3, r31, r0 -/* 80117A8C 001149EC 38 63 00 04 */ addi r3, r3, 4 -/* 80117A90 001149F0 48 00 00 25 */ bl sub_80117ab4 -/* 80117A94 001149F4 80 7F 00 00 */ lwz r3, 0(r31) -/* 80117A98 001149F8 38 03 00 01 */ addi r0, r3, 1 -/* 80117A9C 001149FC 90 1F 00 00 */ stw r0, 0(r31) -/* 80117AA0 00114A00 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80117AA4 00114A04 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117AA8 00114A08 7C 08 03 A6 */ mtlr r0 -/* 80117AAC 00114A0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117AB0 00114A10 4E 80 00 20 */ blr - -.global sub_80117ab4 -sub_80117ab4: -/* 80117AB4 00114A14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117AB8 00114A18 7C 08 02 A6 */ mflr r0 -/* 80117ABC 00114A1C 28 03 00 00 */ cmplwi r3, 0 -/* 80117AC0 00114A20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117AC4 00114A24 41 82 00 08 */ beq lbl_80117ACC -/* 80117AC8 00114A28 48 00 00 15 */ bl sub_80117adc -lbl_80117ACC: -/* 80117ACC 00114A2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117AD0 00114A30 7C 08 03 A6 */ mtlr r0 -/* 80117AD4 00114A34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117AD8 00114A38 4E 80 00 20 */ blr - -.global sub_80117adc -sub_80117adc: -/* 80117ADC 00114A3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117AE0 00114A40 7C 08 02 A6 */ mflr r0 -/* 80117AE4 00114A44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117AE8 00114A48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80117AEC 00114A4C 7C 9F 23 78 */ mr r31, r4 -/* 80117AF0 00114A50 93 C1 00 08 */ stw r30, 8(r1) -/* 80117AF4 00114A54 7C 7E 1B 78 */ mr r30, r3 -/* 80117AF8 00114A58 4B FF FC 21 */ bl sub_80117718 -/* 80117AFC 00114A5C 80 1F 00 70 */ lwz r0, 0x70(r31) -/* 80117B00 00114A60 7F C3 F3 78 */ mr r3, r30 -/* 80117B04 00114A64 90 1E 00 70 */ stw r0, 0x70(r30) -/* 80117B08 00114A68 88 1F 00 74 */ lbz r0, 0x74(r31) -/* 80117B0C 00114A6C 98 1E 00 74 */ stb r0, 0x74(r30) -/* 80117B10 00114A70 88 1F 00 75 */ lbz r0, 0x75(r31) -/* 80117B14 00114A74 98 1E 00 75 */ stb r0, 0x75(r30) -/* 80117B18 00114A78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80117B1C 00114A7C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80117B20 00114A80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117B24 00114A84 7C 08 03 A6 */ mtlr r0 -/* 80117B28 00114A88 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117B2C 00114A8C 4E 80 00 20 */ blr - -.global __sinit_CDecalManager_cpp -__sinit_CDecalManager_cpp: -/* 80117B30 00114A90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117B34 00114A94 7C 08 02 A6 */ mflr r0 -/* 80117B38 00114A98 3C 80 80 11 */ lis r4, "__dt__Q24rstl44reserved_vectorFv"@ha -/* 80117B3C 00114A9C 3C A0 80 47 */ lis r5, lbl_8046C558@ha -/* 80117B40 00114AA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117B44 00114AA4 38 00 00 00 */ li r0, 0 -/* 80117B48 00114AA8 3C 60 80 57 */ lis r3, lbl_8056D850@ha -/* 80117B4C 00114AAC 38 84 7C 20 */ addi r4, r4, "__dt__Q24rstl44reserved_vectorFv"@l -/* 80117B50 00114AB0 94 03 D8 50 */ stwu r0, lbl_8056D850@l(r3) -/* 80117B54 00114AB4 38 A5 C5 58 */ addi r5, r5, lbl_8046C558@l -/* 80117B58 00114AB8 48 27 1B 35 */ bl __register_global_object -/* 80117B5C 00114ABC 38 00 00 00 */ li r0, 0 -/* 80117B60 00114AC0 3C 60 80 57 */ lis r3, lbl_8056F758@ha -/* 80117B64 00114AC4 3C 80 80 11 */ lis r4, "__dt__Q24rstl21reserved_vectorFv"@ha -/* 80117B68 00114AC8 3C A0 80 47 */ lis r5, lbl_8046C564@ha -/* 80117B6C 00114ACC 94 03 F7 58 */ stwu r0, lbl_8056F758@l(r3) -/* 80117B70 00114AD0 38 84 7B 8C */ addi r4, r4, "__dt__Q24rstl21reserved_vectorFv"@l -/* 80117B74 00114AD4 38 A5 C5 64 */ addi r5, r5, lbl_8046C564@l -/* 80117B78 00114AD8 48 27 1B 15 */ bl __register_global_object -/* 80117B7C 00114ADC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117B80 00114AE0 7C 08 03 A6 */ mtlr r0 -/* 80117B84 00114AE4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117B88 00114AE8 4E 80 00 20 */ blr - -.global "__dt__Q24rstl21reserved_vectorFv" -"__dt__Q24rstl21reserved_vectorFv": -/* 80117B8C 00114AEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117B90 00114AF0 7C 08 02 A6 */ mflr r0 -/* 80117B94 00114AF4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117B98 00114AF8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80117B9C 00114AFC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80117BA0 00114B00 41 82 00 68 */ beq lbl_80117C08 -/* 80117BA4 00114B04 80 DF 00 00 */ lwz r6, 0(r31) -/* 80117BA8 00114B08 38 60 00 00 */ li r3, 0 -/* 80117BAC 00114B0C 2C 06 00 00 */ cmpwi r6, 0 -/* 80117BB0 00114B10 40 81 00 40 */ ble lbl_80117BF0 -/* 80117BB4 00114B14 2C 06 00 08 */ cmpwi r6, 8 -/* 80117BB8 00114B18 38 A6 FF F8 */ addi r5, r6, -8 -/* 80117BBC 00114B1C 40 81 00 20 */ ble lbl_80117BDC -/* 80117BC0 00114B20 38 05 00 07 */ addi r0, r5, 7 -/* 80117BC4 00114B24 54 00 E8 FE */ srwi r0, r0, 3 -/* 80117BC8 00114B28 7C 09 03 A6 */ mtctr r0 -/* 80117BCC 00114B2C 2C 05 00 00 */ cmpwi r5, 0 -/* 80117BD0 00114B30 40 81 00 0C */ ble lbl_80117BDC -lbl_80117BD4: -/* 80117BD4 00114B34 38 63 00 08 */ addi r3, r3, 8 -/* 80117BD8 00114B38 42 00 FF FC */ bdnz lbl_80117BD4 -lbl_80117BDC: -/* 80117BDC 00114B3C 7C 03 30 50 */ subf r0, r3, r6 -/* 80117BE0 00114B40 7C 09 03 A6 */ mtctr r0 -/* 80117BE4 00114B44 7C 03 30 00 */ cmpw r3, r6 -/* 80117BE8 00114B48 40 80 00 08 */ bge lbl_80117BF0 -lbl_80117BEC: -/* 80117BEC 00114B4C 42 00 00 00 */ bdnz lbl_80117BEC -lbl_80117BF0: -/* 80117BF0 00114B50 38 60 00 00 */ li r3, 0 -/* 80117BF4 00114B54 7C 80 07 35 */ extsh. r0, r4 -/* 80117BF8 00114B58 90 7F 00 00 */ stw r3, 0(r31) -/* 80117BFC 00114B5C 40 81 00 0C */ ble lbl_80117C08 -/* 80117C00 00114B60 7F E3 FB 78 */ mr r3, r31 -/* 80117C04 00114B64 48 1F DD 2D */ bl Free__7CMemoryFPCv -lbl_80117C08: -/* 80117C08 00114B68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117C0C 00114B6C 7F E3 FB 78 */ mr r3, r31 -/* 80117C10 00114B70 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80117C14 00114B74 7C 08 03 A6 */ mtlr r0 -/* 80117C18 00114B78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117C1C 00114B7C 4E 80 00 20 */ blr - -.global "__dt__Q24rstl44reserved_vectorFv" -"__dt__Q24rstl44reserved_vectorFv": -/* 80117C20 00114B80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117C24 00114B84 7C 08 02 A6 */ mflr r0 -/* 80117C28 00114B88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117C2C 00114B8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80117C30 00114B90 7C 9F 23 78 */ mr r31, r4 -/* 80117C34 00114B94 93 C1 00 08 */ stw r30, 8(r1) -/* 80117C38 00114B98 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80117C3C 00114B9C 41 82 00 18 */ beq lbl_80117C54 -/* 80117C40 00114BA0 4B FF FC 51 */ bl "data__Q24rstl44reserved_vectorFv" -/* 80117C44 00114BA4 7F E0 07 35 */ extsh. r0, r31 -/* 80117C48 00114BA8 40 81 00 0C */ ble lbl_80117C54 -/* 80117C4C 00114BAC 7F C3 F3 78 */ mr r3, r30 -/* 80117C50 00114BB0 48 1F DC E1 */ bl Free__7CMemoryFPCv -lbl_80117C54: -/* 80117C54 00114BB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117C58 00114BB8 7F C3 F3 78 */ mr r3, r30 -/* 80117C5C 00114BBC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80117C60 00114BC0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80117C64 00114BC4 7C 08 03 A6 */ mtlr r0 -/* 80117C68 00114BC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117C6C 00114BCC 4E 80 00 20 */ blr - -.global GetTouchBounds__25CScriptSpiderBallWaypointCFv -GetTouchBounds__25CScriptSpiderBallWaypointCFv: -/* 80117C70 00114BD0 88 04 01 14 */ lbz r0, 0x114(r4) -/* 80117C74 00114BD4 98 03 00 18 */ stb r0, 0x18(r3) -/* 80117C78 00114BD8 88 04 01 14 */ lbz r0, 0x114(r4) -/* 80117C7C 00114BDC 28 00 00 00 */ cmplwi r0, 0 -/* 80117C80 00114BE0 4D 82 00 20 */ beqlr -/* 80117C84 00114BE4 28 03 00 00 */ cmplwi r3, 0 -/* 80117C88 00114BE8 4D 82 00 20 */ beqlr -/* 80117C8C 00114BEC C0 04 00 FC */ lfs f0, 0xfc(r4) -/* 80117C90 00114BF0 D0 03 00 00 */ stfs f0, 0(r3) -/* 80117C94 00114BF4 C0 04 01 00 */ lfs f0, 0x100(r4) -/* 80117C98 00114BF8 D0 03 00 04 */ stfs f0, 4(r3) -/* 80117C9C 00114BFC C0 04 01 04 */ lfs f0, 0x104(r4) -/* 80117CA0 00114C00 D0 03 00 08 */ stfs f0, 8(r3) -/* 80117CA4 00114C04 C0 04 01 08 */ lfs f0, 0x108(r4) -/* 80117CA8 00114C08 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80117CAC 00114C0C C0 04 01 0C */ lfs f0, 0x10c(r4) -/* 80117CB0 00114C10 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80117CB4 00114C14 C0 04 01 10 */ lfs f0, 0x110(r4) -/* 80117CB8 00114C18 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80117CBC 00114C1C 4E 80 00 20 */ blr - -.global Accept__25CScriptSpiderBallWaypointFR8IVisitor -Accept__25CScriptSpiderBallWaypointFR8IVisitor: -/* 80117CC0 00114C20 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117CC4 00114C24 7C 08 02 A6 */ mflr r0 -/* 80117CC8 00114C28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117CCC 00114C2C 7C 60 1B 78 */ mr r0, r3 -/* 80117CD0 00114C30 7C 83 23 78 */ mr r3, r4 -/* 80117CD4 00114C34 81 84 00 00 */ lwz r12, 0(r4) -/* 80117CD8 00114C38 7C 04 03 78 */ mr r4, r0 -/* 80117CDC 00114C3C 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 80117CE0 00114C40 7D 89 03 A6 */ mtctr r12 -/* 80117CE4 00114C44 4E 80 04 21 */ bctrl -/* 80117CE8 00114C48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117CEC 00114C4C 7C 08 03 A6 */ mtlr r0 -/* 80117CF0 00114C50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117CF4 00114C54 4E 80 00 20 */ blr - -.global Render__25CScriptSpiderBallWaypointCFRC13CStateManager -Render__25CScriptSpiderBallWaypointCFRC13CStateManager: -/* 80117CF8 00114C58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80117CFC 00114C5C 7C 08 02 A6 */ mflr r0 -/* 80117D00 00114C60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80117D04 00114C64 4B F3 CA A1 */ bl Render__6CActorCFRC13CStateManager -/* 80117D08 00114C68 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80117D0C 00114C6C 7C 08 03 A6 */ mtlr r0 -/* 80117D10 00114C70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80117D14 00114C74 4E 80 00 20 */ blr - -.global AddToRenderer__25CScriptSpiderBallWaypointCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__25CScriptSpiderBallWaypointCFRC14CFrustumPlanesRC13CStateManager: -/* 80117D18 00114C78 4E 80 00 20 */ blr - -.global GetClosestPointAlongWaypoints__25CScriptSpiderBallWaypointCFR13CStateManagerRC9CVector3ffPPC25CScriptSpiderBallWaypointR9CVector3fR9CVector3ffR9CVector3f -GetClosestPointAlongWaypoints__25CScriptSpiderBallWaypointCFR13CStateManagerRC9CVector3ffPPC25CScriptSpiderBallWaypointR9CVector3fR9CVector3ffR9CVector3f: -/* 80117D1C 00114C7C 94 21 FE 10 */ stwu r1, -0x1f0(r1) -/* 80117D20 00114C80 7C 08 02 A6 */ mflr r0 -/* 80117D24 00114C84 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 80117D28 00114C88 DB E1 01 E0 */ stfd f31, 0x1e0(r1) -/* 80117D2C 00114C8C F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 -/* 80117D30 00114C90 DB C1 01 D0 */ stfd f30, 0x1d0(r1) -/* 80117D34 00114C94 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 -/* 80117D38 00114C98 DB A1 01 C0 */ stfd f29, 0x1c0(r1) -/* 80117D3C 00114C9C F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 -/* 80117D40 00114CA0 DB 81 01 B0 */ stfd f28, 0x1b0(r1) -/* 80117D44 00114CA4 F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 -/* 80117D48 00114CA8 DB 61 01 A0 */ stfd f27, 0x1a0(r1) -/* 80117D4C 00114CAC F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 -/* 80117D50 00114CB0 DB 41 01 90 */ stfd f26, 0x190(r1) -/* 80117D54 00114CB4 F3 41 01 98 */ psq_st f26, 408(r1), 0, qr0 -/* 80117D58 00114CB8 DB 21 01 80 */ stfd f25, 0x180(r1) -/* 80117D5C 00114CBC F3 21 01 88 */ psq_st f25, 392(r1), 0, qr0 -/* 80117D60 00114CC0 DB 01 01 70 */ stfd f24, 0x170(r1) -/* 80117D64 00114CC4 F3 01 01 78 */ psq_st f24, 376(r1), 0, qr0 -/* 80117D68 00114CC8 DA E1 01 60 */ stfd f23, 0x160(r1) -/* 80117D6C 00114CCC F2 E1 01 68 */ psq_st f23, 360(r1), 0, qr0 -/* 80117D70 00114CD0 DA C1 01 50 */ stfd f22, 0x150(r1) -/* 80117D74 00114CD4 F2 C1 01 58 */ psq_st f22, 344(r1), 0, qr0 -/* 80117D78 00114CD8 DA A1 01 40 */ stfd f21, 0x140(r1) -/* 80117D7C 00114CDC F2 A1 01 48 */ psq_st f21, 328(r1), 0, qr0 -/* 80117D80 00114CE0 DA 81 01 30 */ stfd f20, 0x130(r1) -/* 80117D84 00114CE4 F2 81 01 38 */ psq_st f20, 312(r1), 0, qr0 -/* 80117D88 00114CE8 BE E1 01 0C */ stmw r23, 0x10c(r1) -/* 80117D8C 00114CEC FE A0 08 90 */ fmr f21, f1 -/* 80117D90 00114CF0 7C 98 23 78 */ mr r24, r4 -/* 80117D94 00114CF4 FE 80 10 90 */ fmr f20, f2 -/* 80117D98 00114CF8 7C B9 2B 78 */ mr r25, r5 -/* 80117D9C 00114CFC 7C DA 33 78 */ mr r26, r6 -/* 80117DA0 00114D00 7C FB 3B 78 */ mr r27, r7 -/* 80117DA4 00114D04 7D 1C 43 78 */ mr r28, r8 -/* 80117DA8 00114D08 7D 3D 4B 78 */ mr r29, r9 -/* 80117DAC 00114D0C 7C 7F 1B 78 */ mr r31, r3 -/* 80117DB0 00114D10 48 00 00 30 */ b lbl_80117DE0 -lbl_80117DB4: -/* 80117DB4 00114D14 7F E4 FB 78 */ mr r4, r31 -/* 80117DB8 00114D18 7F 05 C3 78 */ mr r5, r24 -/* 80117DBC 00114D1C 38 61 00 48 */ addi r3, r1, 0x48 -/* 80117DC0 00114D20 38 C0 00 01 */ li r6, 1 -/* 80117DC4 00114D24 48 00 07 91 */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 80117DC8 00114D28 A0 01 00 48 */ lhz r0, 0x48(r1) -/* 80117DCC 00114D2C 7F 03 C3 78 */ mr r3, r24 -/* 80117DD0 00114D30 38 81 00 4C */ addi r4, r1, 0x4c -/* 80117DD4 00114D34 B0 01 00 4C */ sth r0, 0x4c(r1) -/* 80117DD8 00114D38 4B F3 47 CD */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80117DDC 00114D3C 7C 7F 1B 78 */ mr r31, r3 -lbl_80117DE0: -/* 80117DE0 00114D40 7F E4 FB 78 */ mr r4, r31 -/* 80117DE4 00114D44 7F 05 C3 78 */ mr r5, r24 -/* 80117DE8 00114D48 38 61 00 44 */ addi r3, r1, 0x44 -/* 80117DEC 00114D4C 38 C0 00 01 */ li r6, 1 -/* 80117DF0 00114D50 48 00 07 65 */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 80117DF4 00114D54 A0 61 00 44 */ lhz r3, 0x44(r1) -/* 80117DF8 00114D58 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80117DFC 00114D5C 7C 03 00 40 */ cmplw r3, r0 -/* 80117E00 00114D60 40 82 FF B4 */ bne lbl_80117DB4 -/* 80117E04 00114D64 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80117E08 00114D68 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 80117E0C 00114D6C EE D5 05 72 */ fmuls f22, f21, f21 -/* 80117E10 00114D70 C3 3F 00 40 */ lfs f25, 0x40(r31) -/* 80117E14 00114D74 C3 1F 00 50 */ lfs f24, 0x50(r31) -/* 80117E18 00114D78 EE B4 05 32 */ fmuls f21, f20, f20 -/* 80117E1C 00114D7C C2 FF 00 60 */ lfs f23, 0x60(r31) -/* 80117E20 00114D80 3B C0 00 00 */ li r30, 0 -/* 80117E24 00114D84 C0 23 00 04 */ lfs f1, 4(r3) -/* 80117E28 00114D88 C0 03 00 08 */ lfs f0, 8(r3) -/* 80117E2C 00114D8C D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 80117E30 00114D90 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 80117E34 00114D94 D0 01 01 00 */ stfs f0, 0x100(r1) -/* 80117E38 00114D98 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80117E3C 00114D9C 54 17 CF FE */ rlwinm r23, r0, 0x19, 0x1f, 0x1f -/* 80117E40 00114DA0 48 00 05 10 */ b lbl_80118350 -lbl_80117E44: -/* 80117E44 00114DA4 7F E4 FB 78 */ mr r4, r31 -/* 80117E48 00114DA8 7F 05 C3 78 */ mr r5, r24 -/* 80117E4C 00114DAC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80117E50 00114DB0 38 C0 00 00 */ li r6, 0 -/* 80117E54 00114DB4 48 00 07 B9 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 80117E58 00114DB8 A0 61 00 40 */ lhz r3, 0x40(r1) -/* 80117E5C 00114DBC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80117E60 00114DC0 7C 03 00 40 */ cmplw r3, r0 -/* 80117E64 00114DC4 41 82 04 90 */ beq lbl_801182F4 -/* 80117E68 00114DC8 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 80117E6C 00114DCC 41 82 04 48 */ beq lbl_801182B4 -/* 80117E70 00114DD0 7F F7 FB 78 */ mr r23, r31 -/* 80117E74 00114DD4 7F E4 FB 78 */ mr r4, r31 -/* 80117E78 00114DD8 7F 05 C3 78 */ mr r5, r24 -/* 80117E7C 00114DDC 38 61 00 38 */ addi r3, r1, 0x38 -/* 80117E80 00114DE0 38 C0 00 00 */ li r6, 0 -/* 80117E84 00114DE4 48 00 07 89 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 80117E88 00114DE8 A0 01 00 38 */ lhz r0, 0x38(r1) -/* 80117E8C 00114DEC 7F 03 C3 78 */ mr r3, r24 -/* 80117E90 00114DF0 38 81 00 3C */ addi r4, r1, 0x3c -/* 80117E94 00114DF4 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 80117E98 00114DF8 4B F3 47 0D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80117E9C 00114DFC C0 39 00 00 */ lfs f1, 0(r25) -/* 80117EA0 00114E00 7C 7F 1B 78 */ mr r31, r3 -/* 80117EA4 00114E04 C0 19 00 04 */ lfs f0, 4(r25) -/* 80117EA8 00114E08 7E E4 BB 78 */ mr r4, r23 -/* 80117EAC 00114E0C C3 83 00 40 */ lfs f28, 0x40(r3) -/* 80117EB0 00114E10 EF A1 C8 28 */ fsubs f29, f1, f25 -/* 80117EB4 00114E14 C3 63 00 50 */ lfs f27, 0x50(r3) -/* 80117EB8 00114E18 EF C0 C0 28 */ fsubs f30, f0, f24 -/* 80117EBC 00114E1C C3 43 00 60 */ lfs f26, 0x60(r3) -/* 80117EC0 00114E20 EC 5C C8 28 */ fsubs f2, f28, f25 -/* 80117EC4 00114E24 EC 3B C0 28 */ fsubs f1, f27, f24 -/* 80117EC8 00114E28 EC 1A B8 28 */ fsubs f0, f26, f23 -/* 80117ECC 00114E2C C0 79 00 08 */ lfs f3, 8(r25) -/* 80117ED0 00114E30 D0 41 00 EC */ stfs f2, 0xec(r1) -/* 80117ED4 00114E34 7F 05 C3 78 */ mr r5, r24 -/* 80117ED8 00114E38 EF E3 B8 28 */ fsubs f31, f3, f23 -/* 80117EDC 00114E3C D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 80117EE0 00114E40 38 61 00 34 */ addi r3, r1, 0x34 -/* 80117EE4 00114E44 38 C0 00 00 */ li r6, 0 -/* 80117EE8 00114E48 D0 21 00 F0 */ stfs f1, 0xf0(r1) -/* 80117EEC 00114E4C 48 00 06 69 */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 80117EF0 00114E50 A0 61 00 34 */ lhz r3, 0x34(r1) -/* 80117EF4 00114E54 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80117EF8 00114E58 7C 03 00 40 */ cmplw r3, r0 -/* 80117EFC 00114E5C 40 82 00 1C */ bne lbl_80117F18 -/* 80117F00 00114E60 C0 41 00 EC */ lfs f2, 0xec(r1) -/* 80117F04 00114E64 C0 21 00 F0 */ lfs f1, 0xf0(r1) -/* 80117F08 00114E68 C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 80117F0C 00114E6C D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 80117F10 00114E70 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 80117F14 00114E74 D0 01 01 00 */ stfs f0, 0x100(r1) -lbl_80117F18: -/* 80117F18 00114E78 EC 1E 07 B2 */ fmuls f0, f30, f30 -/* 80117F1C 00114E7C EC 1D 07 7A */ fmadds f0, f29, f29, f0 -/* 80117F20 00114E80 EC 1F 07 FA */ fmadds f0, f31, f31, f0 -/* 80117F24 00114E84 FC 00 B0 40 */ fcmpo cr0, f0, f22 -/* 80117F28 00114E88 40 80 00 88 */ bge lbl_80117FB0 -/* 80117F2C 00114E8C D3 3B 00 00 */ stfs f25, 0(r27) -/* 80117F30 00114E90 FE C0 00 90 */ fmr f22, f0 -/* 80117F34 00114E94 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80117F38 00114E98 38 81 00 EC */ addi r4, r1, 0xec -/* 80117F3C 00114E9C D3 1B 00 04 */ stfs f24, 4(r27) -/* 80117F40 00114EA0 D2 FB 00 08 */ stfs f23, 8(r27) -/* 80117F44 00114EA4 C0 01 00 EC */ lfs f0, 0xec(r1) -/* 80117F48 00114EA8 D0 1C 00 00 */ stfs f0, 0(r28) -/* 80117F4C 00114EAC C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 80117F50 00114EB0 D0 1C 00 04 */ stfs f0, 4(r28) -/* 80117F54 00114EB4 C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 80117F58 00114EB8 D0 1C 00 08 */ stfs f0, 8(r28) -/* 80117F5C 00114EBC 48 1F C8 F5 */ bl AsNormalized__9CVector3fCFv -/* 80117F60 00114EC0 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 80117F64 00114EC4 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 80117F68 00114EC8 48 1F C8 E9 */ bl AsNormalized__9CVector3fCFv -/* 80117F6C 00114ECC C0 21 00 D4 */ lfs f1, 0xd4(r1) -/* 80117F70 00114ED0 C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 80117F74 00114ED4 C0 61 00 D8 */ lfs f3, 0xd8(r1) -/* 80117F78 00114ED8 C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 80117F7C 00114EDC EC 01 00 2A */ fadds f0, f1, f0 -/* 80117F80 00114EE0 C0 82 96 68 */ lfs f4, lbl_805AB388@sda21(r2) -/* 80117F84 00114EE4 EC 63 10 2A */ fadds f3, f3, f2 -/* 80117F88 00114EE8 C0 41 00 DC */ lfs f2, 0xdc(r1) -/* 80117F8C 00114EEC C0 21 00 D0 */ lfs f1, 0xd0(r1) -/* 80117F90 00114EF0 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80117F94 00114EF4 EC 22 08 2A */ fadds f1, f2, f1 -/* 80117F98 00114EF8 EC 44 00 F2 */ fmuls f2, f4, f3 -/* 80117F9C 00114EFC D0 1D 00 00 */ stfs f0, 0(r29) -/* 80117FA0 00114F00 EC 04 00 72 */ fmuls f0, f4, f1 -/* 80117FA4 00114F04 D0 5D 00 04 */ stfs f2, 4(r29) -/* 80117FA8 00114F08 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80117FAC 00114F0C 93 FA 00 00 */ stw r31, 0(r26) -lbl_80117FB0: -/* 80117FB0 00114F10 C0 61 00 F0 */ lfs f3, 0xf0(r1) -/* 80117FB4 00114F14 C0 81 00 EC */ lfs f4, 0xec(r1) -/* 80117FB8 00114F18 EC 3E 00 F2 */ fmuls f1, f30, f3 -/* 80117FBC 00114F1C C0 A1 00 F4 */ lfs f5, 0xf4(r1) -/* 80117FC0 00114F20 C0 02 96 6C */ lfs f0, lbl_805AB38C@sda21(r2) -/* 80117FC4 00114F24 EC 3D 09 3A */ fmadds f1, f29, f4, f1 -/* 80117FC8 00114F28 EC 5F 09 7A */ fmadds f2, f31, f5, f1 -/* 80117FCC 00114F2C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80117FD0 00114F30 4C 41 13 82 */ cror 2, 1, 2 -/* 80117FD4 00114F34 40 82 02 B4 */ bne lbl_80118288 -/* 80117FD8 00114F38 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 80117FDC 00114F3C C0 02 96 70 */ lfs f0, lbl_805AB390@sda21(r2) -/* 80117FE0 00114F40 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 80117FE4 00114F44 EC 25 09 7A */ fmadds f1, f5, f5, f1 -/* 80117FE8 00114F48 EC C2 08 24 */ fdivs f6, f2, f1 -/* 80117FEC 00114F4C FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 80117FF0 00114F50 40 80 02 98 */ bge lbl_80118288 -/* 80117FF4 00114F54 EC A0 30 28 */ fsubs f5, f0, f6 -/* 80117FF8 00114F58 C0 39 00 04 */ lfs f1, 4(r25) -/* 80117FFC 00114F5C EC 9C 01 B2 */ fmuls f4, f28, f6 -/* 80118000 00114F60 C0 19 00 00 */ lfs f0, 0(r25) -/* 80118004 00114F64 EC 7B 01 B2 */ fmuls f3, f27, f6 -/* 80118008 00114F68 C0 59 00 08 */ lfs f2, 8(r25) -/* 8011800C 00114F6C EF F9 21 7A */ fmadds f31, f25, f5, f4 -/* 80118010 00114F70 EF D8 19 7A */ fmadds f30, f24, f5, f3 -/* 80118014 00114F74 EC 7A 01 B2 */ fmuls f3, f26, f6 -/* 80118018 00114F78 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8011801C 00114F7C EC 81 F0 28 */ fsubs f4, f1, f30 -/* 80118020 00114F80 EF B7 19 7A */ fmadds f29, f23, f5, f3 -/* 80118024 00114F84 EC 20 00 32 */ fmuls f1, f0, f0 -/* 80118028 00114F88 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 8011802C 00114F8C EC 04 01 32 */ fmuls f0, f4, f4 -/* 80118030 00114F90 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 80118034 00114F94 D0 81 00 C0 */ stfs f4, 0xc0(r1) -/* 80118038 00114F98 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011803C 00114F9C EC 22 00 B2 */ fmuls f1, f2, f2 -/* 80118040 00114FA0 D0 41 00 C4 */ stfs f2, 0xc4(r1) -/* 80118044 00114FA4 EC 61 00 2A */ fadds f3, f1, f0 -/* 80118048 00114FA8 FC 03 B0 40 */ fcmpo cr0, f3, f22 -/* 8011804C 00114FAC 40 80 02 3C */ bge lbl_80118288 -/* 80118050 00114FB0 D3 FB 00 00 */ stfs f31, 0(r27) -/* 80118054 00114FB4 EC 59 F8 28 */ fsubs f2, f25, f31 -/* 80118058 00114FB8 EC 38 F0 28 */ fsubs f1, f24, f30 -/* 8011805C 00114FBC 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 80118060 00114FC0 D3 DB 00 04 */ stfs f30, 4(r27) -/* 80118064 00114FC4 EC 17 E8 28 */ fsubs f0, f23, f29 -/* 80118068 00114FC8 FE C0 18 90 */ fmr f22, f3 -/* 8011806C 00114FCC D3 BB 00 08 */ stfs f29, 8(r27) -/* 80118070 00114FD0 C0 61 00 EC */ lfs f3, 0xec(r1) -/* 80118074 00114FD4 D0 7C 00 00 */ stfs f3, 0(r28) -/* 80118078 00114FD8 C0 61 00 F0 */ lfs f3, 0xf0(r1) -/* 8011807C 00114FDC D0 7C 00 04 */ stfs f3, 4(r28) -/* 80118080 00114FE0 C0 61 00 F4 */ lfs f3, 0xf4(r1) -/* 80118084 00114FE4 D0 7C 00 08 */ stfs f3, 8(r28) -/* 80118088 00114FE8 93 FA 00 00 */ stw r31, 0(r26) -/* 8011808C 00114FEC C0 7C 00 00 */ lfs f3, 0(r28) -/* 80118090 00114FF0 D0 7D 00 00 */ stfs f3, 0(r29) -/* 80118094 00114FF4 C0 7C 00 04 */ lfs f3, 4(r28) -/* 80118098 00114FF8 D0 7D 00 04 */ stfs f3, 4(r29) -/* 8011809C 00114FFC C0 7C 00 08 */ lfs f3, 8(r28) -/* 801180A0 00115000 D0 7D 00 08 */ stfs f3, 8(r29) -/* 801180A4 00115004 D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 801180A8 00115008 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 801180AC 0011500C D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 801180B0 00115010 48 1F C8 09 */ bl Magnitude__9CVector3fCFv -/* 801180B4 00115014 FE E0 08 90 */ fmr f23, f1 -/* 801180B8 00115018 FC 17 A8 40 */ fcmpo cr0, f23, f21 -/* 801180BC 0011501C 40 80 00 9C */ bge lbl_80118158 -/* 801180C0 00115020 38 61 00 8C */ addi r3, r1, 0x8c -/* 801180C4 00115024 38 81 00 EC */ addi r4, r1, 0xec -/* 801180C8 00115028 48 1F C7 89 */ bl AsNormalized__9CVector3fCFv -/* 801180CC 0011502C 38 61 00 98 */ addi r3, r1, 0x98 -/* 801180D0 00115030 38 81 00 EC */ addi r4, r1, 0xec -/* 801180D4 00115034 48 1F C7 7D */ bl AsNormalized__9CVector3fCFv -/* 801180D8 00115038 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 801180DC 0011503C 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 801180E0 00115040 48 1F C7 71 */ bl AsNormalized__9CVector3fCFv -/* 801180E4 00115044 ED 37 A0 24 */ fdivs f9, f23, f20 -/* 801180E8 00115048 C0 82 96 70 */ lfs f4, lbl_805AB390@sda21(r2) -/* 801180EC 0011504C C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 801180F0 00115050 C0 A1 00 90 */ lfs f5, 0x90(r1) -/* 801180F4 00115054 C0 61 00 94 */ lfs f3, 0x94(r1) -/* 801180F8 00115058 C0 41 00 A4 */ lfs f2, 0xa4(r1) -/* 801180FC 0011505C C0 21 00 98 */ lfs f1, 0x98(r1) -/* 80118100 00115060 ED 04 48 28 */ fsubs f8, f4, f9 -/* 80118104 00115064 C0 C1 00 A8 */ lfs f6, 0xa8(r1) -/* 80118108 00115068 EC 00 02 72 */ fmuls f0, f0, f9 -/* 8011810C 0011506C C0 81 00 9C */ lfs f4, 0x9c(r1) -/* 80118110 00115070 EC 22 08 2A */ fadds f1, f2, f1 -/* 80118114 00115074 C0 E2 96 68 */ lfs f7, lbl_805AB388@sda21(r2) -/* 80118118 00115078 EC C6 20 2A */ fadds f6, f6, f4 -/* 8011811C 0011507C C0 81 00 AC */ lfs f4, 0xac(r1) -/* 80118120 00115080 C0 41 00 A0 */ lfs f2, 0xa0(r1) -/* 80118124 00115084 EC 27 00 72 */ fmuls f1, f7, f1 -/* 80118128 00115088 EC A5 02 72 */ fmuls f5, f5, f9 -/* 8011812C 0011508C EC 44 10 2A */ fadds f2, f4, f2 -/* 80118130 00115090 EC 87 01 B2 */ fmuls f4, f7, f6 -/* 80118134 00115094 EC 01 02 3A */ fmadds f0, f1, f8, f0 -/* 80118138 00115098 EC 47 00 B2 */ fmuls f2, f7, f2 -/* 8011813C 0011509C EC 23 02 72 */ fmuls f1, f3, f9 -/* 80118140 001150A0 EC 64 2A 3A */ fmadds f3, f4, f8, f5 -/* 80118144 001150A4 D0 1D 00 00 */ stfs f0, 0(r29) -/* 80118148 001150A8 EC 02 0A 3A */ fmadds f0, f2, f8, f1 -/* 8011814C 001150AC D0 7D 00 04 */ stfs f3, 4(r29) -/* 80118150 001150B0 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80118154 001150B4 48 00 01 34 */ b lbl_80118288 -lbl_80118158: -/* 80118158 001150B8 7F E4 FB 78 */ mr r4, r31 -/* 8011815C 001150BC 7F 05 C3 78 */ mr r5, r24 -/* 80118160 001150C0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80118164 001150C4 38 C0 00 00 */ li r6, 0 -/* 80118168 001150C8 48 00 04 A5 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 8011816C 001150CC A0 61 00 30 */ lhz r3, 0x30(r1) -/* 80118170 001150D0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80118174 001150D4 7C 03 00 40 */ cmplw r3, r0 -/* 80118178 001150D8 41 82 01 10 */ beq lbl_80118288 -/* 8011817C 001150DC EC 5F E0 28 */ fsubs f2, f31, f28 -/* 80118180 001150E0 38 61 00 80 */ addi r3, r1, 0x80 -/* 80118184 001150E4 EC 3E D8 28 */ fsubs f1, f30, f27 -/* 80118188 001150E8 EC 1D D0 28 */ fsubs f0, f29, f26 -/* 8011818C 001150EC D0 41 00 80 */ stfs f2, 0x80(r1) -/* 80118190 001150F0 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80118194 001150F4 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80118198 001150F8 48 1F C7 21 */ bl Magnitude__9CVector3fCFv -/* 8011819C 001150FC FE E0 08 90 */ fmr f23, f1 -/* 801181A0 00115100 FC 17 A0 40 */ fcmpo cr0, f23, f20 -/* 801181A4 00115104 40 80 00 E4 */ bge lbl_80118288 -/* 801181A8 00115108 7F E4 FB 78 */ mr r4, r31 -/* 801181AC 0011510C 7F 05 C3 78 */ mr r5, r24 -/* 801181B0 00115110 38 61 00 28 */ addi r3, r1, 0x28 -/* 801181B4 00115114 38 C0 00 00 */ li r6, 0 -/* 801181B8 00115118 48 00 04 55 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 801181BC 0011511C A0 01 00 28 */ lhz r0, 0x28(r1) -/* 801181C0 00115120 7F 03 C3 78 */ mr r3, r24 -/* 801181C4 00115124 38 81 00 2C */ addi r4, r1, 0x2c -/* 801181C8 00115128 B0 01 00 2C */ sth r0, 0x2c(r1) -/* 801181CC 0011512C 4B F3 43 D9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 801181D0 00115130 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 801181D4 00115134 38 81 00 EC */ addi r4, r1, 0xec -/* 801181D8 00115138 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 801181DC 0011513C C0 03 00 40 */ lfs f0, 0x40(r3) -/* 801181E0 00115140 EC 42 D8 28 */ fsubs f2, f2, f27 -/* 801181E4 00115144 EC 21 D0 28 */ fsubs f1, f1, f26 -/* 801181E8 00115148 38 61 00 5C */ addi r3, r1, 0x5c -/* 801181EC 0011514C EC 00 E0 28 */ fsubs f0, f0, f28 -/* 801181F0 00115150 D0 41 00 E4 */ stfs f2, 0xe4(r1) -/* 801181F4 00115154 D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 801181F8 00115158 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 801181FC 0011515C 48 1F C6 55 */ bl AsNormalized__9CVector3fCFv -/* 80118200 00115160 38 61 00 68 */ addi r3, r1, 0x68 -/* 80118204 00115164 38 81 00 EC */ addi r4, r1, 0xec -/* 80118208 00115168 48 1F C6 49 */ bl AsNormalized__9CVector3fCFv -/* 8011820C 0011516C 38 61 00 74 */ addi r3, r1, 0x74 -/* 80118210 00115170 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 80118214 00115174 48 1F C6 3D */ bl AsNormalized__9CVector3fCFv -/* 80118218 00115178 ED 37 A0 24 */ fdivs f9, f23, f20 -/* 8011821C 0011517C C0 82 96 70 */ lfs f4, lbl_805AB390@sda21(r2) -/* 80118220 00115180 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 80118224 00115184 C0 A1 00 60 */ lfs f5, 0x60(r1) -/* 80118228 00115188 C0 61 00 64 */ lfs f3, 0x64(r1) -/* 8011822C 0011518C C0 41 00 74 */ lfs f2, 0x74(r1) -/* 80118230 00115190 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80118234 00115194 ED 04 48 28 */ fsubs f8, f4, f9 -/* 80118238 00115198 C0 C1 00 78 */ lfs f6, 0x78(r1) -/* 8011823C 0011519C EC 00 02 72 */ fmuls f0, f0, f9 -/* 80118240 001151A0 C0 81 00 6C */ lfs f4, 0x6c(r1) -/* 80118244 001151A4 EC 22 08 2A */ fadds f1, f2, f1 -/* 80118248 001151A8 C0 E2 96 68 */ lfs f7, lbl_805AB388@sda21(r2) -/* 8011824C 001151AC EC C6 20 2A */ fadds f6, f6, f4 -/* 80118250 001151B0 C0 81 00 7C */ lfs f4, 0x7c(r1) -/* 80118254 001151B4 C0 41 00 70 */ lfs f2, 0x70(r1) -/* 80118258 001151B8 EC 27 00 72 */ fmuls f1, f7, f1 -/* 8011825C 001151BC EC A5 02 72 */ fmuls f5, f5, f9 -/* 80118260 001151C0 EC 44 10 2A */ fadds f2, f4, f2 -/* 80118264 001151C4 EC 87 01 B2 */ fmuls f4, f7, f6 -/* 80118268 001151C8 EC 01 02 3A */ fmadds f0, f1, f8, f0 -/* 8011826C 001151CC EC 47 00 B2 */ fmuls f2, f7, f2 -/* 80118270 001151D0 EC 23 02 72 */ fmuls f1, f3, f9 -/* 80118274 001151D4 EC 64 2A 3A */ fmadds f3, f4, f8, f5 -/* 80118278 001151D8 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8011827C 001151DC EC 02 0A 3A */ fmadds f0, f2, f8, f1 -/* 80118280 001151E0 D0 7D 00 04 */ stfs f3, 4(r29) -/* 80118284 001151E4 D0 1D 00 08 */ stfs f0, 8(r29) -lbl_80118288: -/* 80118288 001151E8 C0 41 00 EC */ lfs f2, 0xec(r1) -/* 8011828C 001151EC FF 20 E0 90 */ fmr f25, f28 -/* 80118290 001151F0 C0 21 00 F0 */ lfs f1, 0xf0(r1) -/* 80118294 001151F4 FF 00 D8 90 */ fmr f24, f27 -/* 80118298 001151F8 C0 01 00 F4 */ lfs f0, 0xf4(r1) -/* 8011829C 001151FC FE E0 D0 90 */ fmr f23, f26 -/* 801182A0 00115200 D0 41 00 F8 */ stfs f2, 0xf8(r1) -/* 801182A4 00115204 3A E0 00 01 */ li r23, 1 -/* 801182A8 00115208 D0 21 00 FC */ stfs f1, 0xfc(r1) -/* 801182AC 0011520C D0 01 01 00 */ stfs f0, 0x100(r1) -/* 801182B0 00115210 48 00 00 A0 */ b lbl_80118350 -lbl_801182B4: -/* 801182B4 00115214 7F E4 FB 78 */ mr r4, r31 -/* 801182B8 00115218 7F 05 C3 78 */ mr r5, r24 -/* 801182BC 0011521C 38 61 00 20 */ addi r3, r1, 0x20 -/* 801182C0 00115220 3A E0 00 01 */ li r23, 1 -/* 801182C4 00115224 38 C0 00 00 */ li r6, 0 -/* 801182C8 00115228 48 00 03 45 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 801182CC 0011522C A0 01 00 20 */ lhz r0, 0x20(r1) -/* 801182D0 00115230 7F 03 C3 78 */ mr r3, r24 -/* 801182D4 00115234 38 81 00 24 */ addi r4, r1, 0x24 -/* 801182D8 00115238 B0 01 00 24 */ sth r0, 0x24(r1) -/* 801182DC 0011523C 4B F3 42 C9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 801182E0 00115240 C3 23 00 40 */ lfs f25, 0x40(r3) -/* 801182E4 00115244 7C 7F 1B 78 */ mr r31, r3 -/* 801182E8 00115248 C3 03 00 50 */ lfs f24, 0x50(r3) -/* 801182EC 0011524C C2 E3 00 60 */ lfs f23, 0x60(r3) -/* 801182F0 00115250 48 00 00 60 */ b lbl_80118350 -lbl_801182F4: -/* 801182F4 00115254 7F E4 FB 78 */ mr r4, r31 -/* 801182F8 00115258 7F 05 C3 78 */ mr r5, r24 -/* 801182FC 0011525C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80118300 00115260 38 C0 00 01 */ li r6, 1 -/* 80118304 00115264 48 00 03 09 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 80118308 00115268 A0 61 00 1C */ lhz r3, 0x1c(r1) -/* 8011830C 0011526C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80118310 00115270 7C 03 00 40 */ cmplw r3, r0 -/* 80118314 00115274 41 82 00 38 */ beq lbl_8011834C -/* 80118318 00115278 7F E4 FB 78 */ mr r4, r31 -/* 8011831C 0011527C 7F 05 C3 78 */ mr r5, r24 -/* 80118320 00115280 38 61 00 14 */ addi r3, r1, 0x14 -/* 80118324 00115284 38 C0 00 01 */ li r6, 1 -/* 80118328 00115288 48 00 02 E5 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 8011832C 0011528C A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80118330 00115290 7F 03 C3 78 */ mr r3, r24 -/* 80118334 00115294 38 81 00 18 */ addi r4, r1, 0x18 -/* 80118338 00115298 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8011833C 0011529C 4B F3 42 69 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80118340 001152A0 3A E0 00 00 */ li r23, 0 -/* 80118344 001152A4 7C 7F 1B 78 */ mr r31, r3 -/* 80118348 001152A8 48 00 00 08 */ b lbl_80118350 -lbl_8011834C: -/* 8011834C 001152AC 3B C0 00 01 */ li r30, 1 -lbl_80118350: -/* 80118350 001152B0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80118354 001152B4 41 82 FA F0 */ beq lbl_80117E44 -/* 80118358 001152B8 C0 39 00 04 */ lfs f1, 4(r25) -/* 8011835C 001152BC C0 19 00 00 */ lfs f0, 0(r25) -/* 80118360 001152C0 EC 41 C0 28 */ fsubs f2, f1, f24 -/* 80118364 001152C4 C0 39 00 08 */ lfs f1, 8(r25) -/* 80118368 001152C8 EC 60 C8 28 */ fsubs f3, f0, f25 -/* 8011836C 001152CC EC 81 B8 28 */ fsubs f4, f1, f23 -/* 80118370 001152D0 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 80118374 001152D4 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 80118378 001152D8 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 8011837C 001152DC EC 44 01 32 */ fmuls f2, f4, f4 -/* 80118380 001152E0 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 80118384 001152E4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80118388 001152E8 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8011838C 001152EC EC 02 00 2A */ fadds f0, f2, f0 -/* 80118390 001152F0 FC 00 B0 40 */ fcmpo cr0, f0, f22 -/* 80118394 001152F4 40 80 00 A0 */ bge lbl_80118434 -/* 80118398 001152F8 D3 3B 00 00 */ stfs f25, 0(r27) -/* 8011839C 001152FC 7F E4 FB 78 */ mr r4, r31 -/* 801183A0 00115300 7F 05 C3 78 */ mr r5, r24 -/* 801183A4 00115304 38 61 00 10 */ addi r3, r1, 0x10 -/* 801183A8 00115308 D3 1B 00 04 */ stfs f24, 4(r27) -/* 801183AC 0011530C 38 C0 00 00 */ li r6, 0 -/* 801183B0 00115310 D2 FB 00 08 */ stfs f23, 8(r27) -/* 801183B4 00115314 48 00 01 A1 */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 801183B8 00115318 A0 61 00 10 */ lhz r3, 0x10(r1) -/* 801183BC 0011531C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801183C0 00115320 7C 03 00 40 */ cmplw r3, r0 -/* 801183C4 00115324 41 82 00 6C */ beq lbl_80118430 -/* 801183C8 00115328 7F E4 FB 78 */ mr r4, r31 -/* 801183CC 0011532C 7F 05 C3 78 */ mr r5, r24 -/* 801183D0 00115330 38 61 00 08 */ addi r3, r1, 8 -/* 801183D4 00115334 38 C0 00 00 */ li r6, 0 -/* 801183D8 00115338 48 00 01 7D */ bl PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 801183DC 0011533C A0 01 00 08 */ lhz r0, 8(r1) -/* 801183E0 00115340 7F 03 C3 78 */ mr r3, r24 -/* 801183E4 00115344 38 81 00 0C */ addi r4, r1, 0xc -/* 801183E8 00115348 B0 01 00 0C */ sth r0, 0xc(r1) -/* 801183EC 0011534C 4B F3 41 B9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 801183F0 00115350 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 801183F4 00115354 7C 7F 1B 78 */ mr r31, r3 -/* 801183F8 00115358 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 801183FC 0011535C EC 19 00 28 */ fsubs f0, f25, f0 -/* 80118400 00115360 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 80118404 00115364 EC 58 10 28 */ fsubs f2, f24, f2 -/* 80118408 00115368 EC 37 08 28 */ fsubs f1, f23, f1 -/* 8011840C 0011536C D0 1C 00 00 */ stfs f0, 0(r28) -/* 80118410 00115370 D0 5C 00 04 */ stfs f2, 4(r28) -/* 80118414 00115374 D0 3C 00 08 */ stfs f1, 8(r28) -/* 80118418 00115378 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8011841C 0011537C D0 1D 00 00 */ stfs f0, 0(r29) -/* 80118420 00115380 C0 1C 00 04 */ lfs f0, 4(r28) -/* 80118424 00115384 D0 1D 00 04 */ stfs f0, 4(r29) -/* 80118428 00115388 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8011842C 0011538C D0 1D 00 08 */ stfs f0, 8(r29) -lbl_80118430: -/* 80118430 00115390 93 FA 00 00 */ stw r31, 0(r26) -lbl_80118434: -/* 80118434 00115394 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 -/* 80118438 00115398 CB E1 01 E0 */ lfd f31, 0x1e0(r1) -/* 8011843C 0011539C E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 -/* 80118440 001153A0 CB C1 01 D0 */ lfd f30, 0x1d0(r1) -/* 80118444 001153A4 E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 -/* 80118448 001153A8 CB A1 01 C0 */ lfd f29, 0x1c0(r1) -/* 8011844C 001153AC E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 -/* 80118450 001153B0 CB 81 01 B0 */ lfd f28, 0x1b0(r1) -/* 80118454 001153B4 E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 -/* 80118458 001153B8 CB 61 01 A0 */ lfd f27, 0x1a0(r1) -/* 8011845C 001153BC E3 41 01 98 */ psq_l f26, 408(r1), 0, qr0 -/* 80118460 001153C0 CB 41 01 90 */ lfd f26, 0x190(r1) -/* 80118464 001153C4 E3 21 01 88 */ psq_l f25, 392(r1), 0, qr0 -/* 80118468 001153C8 CB 21 01 80 */ lfd f25, 0x180(r1) -/* 8011846C 001153CC E3 01 01 78 */ psq_l f24, 376(r1), 0, qr0 -/* 80118470 001153D0 CB 01 01 70 */ lfd f24, 0x170(r1) -/* 80118474 001153D4 E2 E1 01 68 */ psq_l f23, 360(r1), 0, qr0 -/* 80118478 001153D8 CA E1 01 60 */ lfd f23, 0x160(r1) -/* 8011847C 001153DC E2 C1 01 58 */ psq_l f22, 344(r1), 0, qr0 -/* 80118480 001153E0 CA C1 01 50 */ lfd f22, 0x150(r1) -/* 80118484 001153E4 E2 A1 01 48 */ psq_l f21, 328(r1), 0, qr0 -/* 80118488 001153E8 CA A1 01 40 */ lfd f21, 0x140(r1) -/* 8011848C 001153EC E2 81 01 38 */ psq_l f20, 312(r1), 0, qr0 -/* 80118490 001153F0 CA 81 01 30 */ lfd f20, 0x130(r1) -/* 80118494 001153F4 BA E1 01 0C */ lmw r23, 0x10c(r1) -/* 80118498 001153F8 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 8011849C 001153FC 7C 08 03 A6 */ mtlr r0 -/* 801184A0 00115400 38 21 01 F0 */ addi r1, r1, 0x1f0 -/* 801184A4 00115404 4E 80 00 20 */ blr - -.global AddPreviousWaypoint__25CScriptSpiderBallWaypointF9TUniqueId -AddPreviousWaypoint__25CScriptSpiderBallWaypointF9TUniqueId: -/* 801184A8 00115408 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801184AC 0011540C 7C 08 02 A6 */ mflr r0 -/* 801184B0 00115410 90 01 00 14 */ stw r0, 0x14(r1) -/* 801184B4 00115414 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801184B8 00115418 7C 9F 23 78 */ mr r31, r4 -/* 801184BC 0011541C 93 C1 00 08 */ stw r30, 8(r1) -/* 801184C0 00115420 7C 7E 1B 78 */ mr r30, r3 -/* 801184C4 00115424 80 03 00 F0 */ lwz r0, 0xf0(r3) -/* 801184C8 00115428 80 A3 00 F4 */ lwz r5, 0xf4(r3) -/* 801184CC 0011542C 7C 00 28 00 */ cmpw r0, r5 -/* 801184D0 00115430 40 82 00 1C */ bne lbl_801184EC -/* 801184D4 00115434 2C 05 00 00 */ cmpwi r5, 0 -/* 801184D8 00115438 38 7E 00 EC */ addi r3, r30, 0xec -/* 801184DC 0011543C 38 80 00 04 */ li r4, 4 -/* 801184E0 00115440 41 82 00 08 */ beq lbl_801184E8 -/* 801184E4 00115444 54 A4 08 3C */ slwi r4, r5, 1 -lbl_801184E8: -/* 801184E8 00115448 4B EF 3F 21 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_801184EC: -/* 801184EC 0011544C 80 1E 00 F0 */ lwz r0, 0xf0(r30) -/* 801184F0 00115450 80 BE 00 F4 */ lwz r5, 0xf4(r30) -/* 801184F4 00115454 7C 00 28 00 */ cmpw r0, r5 -/* 801184F8 00115458 41 80 00 1C */ blt lbl_80118514 -/* 801184FC 0011545C 2C 05 00 00 */ cmpwi r5, 0 -/* 80118500 00115460 38 7E 00 EC */ addi r3, r30, 0xec -/* 80118504 00115464 38 80 00 04 */ li r4, 4 -/* 80118508 00115468 41 82 00 08 */ beq lbl_80118510 -/* 8011850C 0011546C 54 A4 08 3C */ slwi r4, r5, 1 -lbl_80118510: -/* 80118510 00115470 4B EF 3E F9 */ bl "reserve__Q24rstl45vector<9TUniqueId,Q24rstl17rmemory_allocator>Fi" -lbl_80118514: -/* 80118514 00115474 80 1E 00 F0 */ lwz r0, 0xf0(r30) -/* 80118518 00115478 80 7E 00 F8 */ lwz r3, 0xf8(r30) -/* 8011851C 0011547C 54 00 08 3C */ slwi r0, r0, 1 -/* 80118520 00115480 7C 63 02 15 */ add. r3, r3, r0 -/* 80118524 00115484 41 82 00 0C */ beq lbl_80118530 -/* 80118528 00115488 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8011852C 0011548C B0 03 00 00 */ sth r0, 0(r3) -lbl_80118530: -/* 80118530 00115490 80 7E 00 F0 */ lwz r3, 0xf0(r30) -/* 80118534 00115494 38 03 00 01 */ addi r0, r3, 1 -/* 80118538 00115498 90 1E 00 F0 */ stw r0, 0xf0(r30) -/* 8011853C 0011549C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80118540 001154A0 83 C1 00 08 */ lwz r30, 8(r1) -/* 80118544 001154A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80118548 001154A8 7C 08 03 A6 */ mtlr r0 -/* 8011854C 001154AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80118550 001154B0 4E 80 00 20 */ blr - -.global PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -PreviousWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint: -/* 80118554 001154B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80118558 001154B8 7C 08 02 A6 */ mflr r0 -/* 8011855C 001154BC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80118560 001154C0 BF 41 00 18 */ stmw r26, 0x18(r1) -/* 80118564 001154C4 7C 7F 1B 78 */ mr r31, r3 -/* 80118568 001154C8 7C 9A 23 78 */ mr r26, r4 -/* 8011856C 001154CC 7C BB 2B 78 */ mr r27, r5 -/* 80118570 001154D0 7C DC 33 78 */ mr r28, r6 -/* 80118574 001154D4 3B A0 00 00 */ li r29, 0 -/* 80118578 001154D8 3B C0 00 00 */ li r30, 0 -/* 8011857C 001154DC 48 00 00 68 */ b lbl_801185E4 -lbl_80118580: -/* 80118580 001154E0 80 BA 00 F8 */ lwz r5, 0xf8(r26) -/* 80118584 001154E4 7F 63 DB 78 */ mr r3, r27 -/* 80118588 001154E8 38 81 00 08 */ addi r4, r1, 8 -/* 8011858C 001154EC 7C 05 F2 2E */ lhzx r0, r5, r30 -/* 80118590 001154F0 B0 01 00 08 */ sth r0, 8(r1) -/* 80118594 001154F4 4B F3 40 11 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80118598 001154F8 28 03 00 00 */ cmplwi r3, 0 -/* 8011859C 001154FC 41 82 00 40 */ beq lbl_801185DC -/* 801185A0 00115500 2C 1C 00 01 */ cmpwi r28, 1 -/* 801185A4 00115504 40 82 00 18 */ bne lbl_801185BC -/* 801185A8 00115508 80 7A 00 F8 */ lwz r3, 0xf8(r26) -/* 801185AC 0011550C 57 A0 08 3C */ slwi r0, r29, 1 -/* 801185B0 00115510 7C 03 02 2E */ lhzx r0, r3, r0 -/* 801185B4 00115514 B0 1F 00 00 */ sth r0, 0(r31) -/* 801185B8 00115518 48 00 00 40 */ b lbl_801185F8 -lbl_801185BC: -/* 801185BC 0011551C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 801185C0 00115520 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801185C4 00115524 41 82 00 18 */ beq lbl_801185DC -/* 801185C8 00115528 80 7A 00 F8 */ lwz r3, 0xf8(r26) -/* 801185CC 0011552C 57 A0 08 3C */ slwi r0, r29, 1 -/* 801185D0 00115530 7C 03 02 2E */ lhzx r0, r3, r0 -/* 801185D4 00115534 B0 1F 00 00 */ sth r0, 0(r31) -/* 801185D8 00115538 48 00 00 20 */ b lbl_801185F8 -lbl_801185DC: -/* 801185DC 0011553C 3B DE 00 02 */ addi r30, r30, 2 -/* 801185E0 00115540 3B BD 00 01 */ addi r29, r29, 1 -lbl_801185E4: -/* 801185E4 00115544 80 1A 00 F0 */ lwz r0, 0xf0(r26) -/* 801185E8 00115548 7C 1D 00 00 */ cmpw r29, r0 -/* 801185EC 0011554C 41 80 FF 94 */ blt lbl_80118580 -/* 801185F0 00115550 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801185F4 00115554 B0 1F 00 00 */ sth r0, 0(r31) -lbl_801185F8: -/* 801185F8 00115558 BB 41 00 18 */ lmw r26, 0x18(r1) -/* 801185FC 0011555C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80118600 00115560 7C 08 03 A6 */ mtlr r0 -/* 80118604 00115564 38 21 00 30 */ addi r1, r1, 0x30 -/* 80118608 00115568 4E 80 00 20 */ blr - -.global NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint: -/* 8011860C 0011556C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80118610 00115570 7C 08 02 A6 */ mflr r0 -/* 80118614 00115574 90 01 00 34 */ stw r0, 0x34(r1) -/* 80118618 00115578 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8011861C 0011557C 7C 9B 23 78 */ mr r27, r4 -/* 80118620 00115580 7C 7F 1B 78 */ mr r31, r3 -/* 80118624 00115584 7C BC 2B 78 */ mr r28, r5 -/* 80118628 00115588 7C DD 33 78 */ mr r29, r6 -/* 8011862C 0011558C 83 C4 00 2C */ lwz r30, 0x2c(r4) -/* 80118630 00115590 48 00 00 84 */ b lbl_801186B4 -lbl_80118634: -/* 80118634 00115594 80 1E 00 00 */ lwz r0, 0(r30) -/* 80118638 00115598 2C 00 00 01 */ cmpwi r0, 1 -/* 8011863C 0011559C 40 82 00 74 */ bne lbl_801186B0 -/* 80118640 001155A0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80118644 001155A4 2C 00 00 08 */ cmpwi r0, 8 -/* 80118648 001155A8 40 82 00 68 */ bne lbl_801186B0 -/* 8011864C 001155AC 80 1E 00 08 */ lwz r0, 8(r30) -/* 80118650 001155B0 7F 84 E3 78 */ mr r4, r28 -/* 80118654 001155B4 38 61 00 0C */ addi r3, r1, 0xc -/* 80118658 001155B8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8011865C 001155BC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80118660 001155C0 4B F2 F8 BD */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80118664 001155C4 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80118668 001155C8 7F 83 E3 78 */ mr r3, r28 -/* 8011866C 001155CC 38 81 00 08 */ addi r4, r1, 8 -/* 80118670 001155D0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80118674 001155D4 B0 01 00 08 */ sth r0, 8(r1) -/* 80118678 001155D8 4B F3 3F 2D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8011867C 001155DC 28 03 00 00 */ cmplwi r3, 0 -/* 80118680 001155E0 41 82 00 30 */ beq lbl_801186B0 -/* 80118684 001155E4 2C 1D 00 01 */ cmpwi r29, 1 -/* 80118688 001155E8 40 82 00 10 */ bne lbl_80118698 -/* 8011868C 001155EC A0 01 00 10 */ lhz r0, 0x10(r1) -/* 80118690 001155F0 B0 1F 00 00 */ sth r0, 0(r31) -/* 80118694 001155F4 48 00 00 40 */ b lbl_801186D4 -lbl_80118698: -/* 80118698 001155F8 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8011869C 001155FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801186A0 00115600 41 82 00 10 */ beq lbl_801186B0 -/* 801186A4 00115604 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 801186A8 00115608 B0 1F 00 00 */ sth r0, 0(r31) -/* 801186AC 0011560C 48 00 00 28 */ b lbl_801186D4 -lbl_801186B0: -/* 801186B0 00115610 3B DE 00 0C */ addi r30, r30, 0xc -lbl_801186B4: -/* 801186B4 00115614 80 1B 00 24 */ lwz r0, 0x24(r27) -/* 801186B8 00115618 80 7B 00 2C */ lwz r3, 0x2c(r27) -/* 801186BC 0011561C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 801186C0 00115620 7C 03 02 14 */ add r0, r3, r0 -/* 801186C4 00115624 7C 1E 00 40 */ cmplw r30, r0 -/* 801186C8 00115628 40 82 FF 6C */ bne lbl_80118634 -/* 801186CC 0011562C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801186D0 00115630 B0 1F 00 00 */ sth r0, 0(r31) -lbl_801186D4: -/* 801186D4 00115634 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 801186D8 00115638 80 01 00 34 */ lwz r0, 0x34(r1) -/* 801186DC 0011563C 7C 08 03 A6 */ mtlr r0 -/* 801186E0 00115640 38 21 00 30 */ addi r1, r1, 0x30 -/* 801186E4 00115644 4E 80 00 20 */ blr - -.global AddPointToTouchBounds__25CScriptSpiderBallWaypointFRC9CVector3f -AddPointToTouchBounds__25CScriptSpiderBallWaypointFRC9CVector3f: -/* 801186E8 00115648 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801186EC 0011564C 7C 08 02 A6 */ mflr r0 -/* 801186F0 00115650 90 01 00 34 */ stw r0, 0x34(r1) -/* 801186F4 00115654 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801186F8 00115658 7C 7F 1B 78 */ mr r31, r3 -/* 801186FC 0011565C 88 03 01 14 */ lbz r0, 0x114(r3) -/* 80118700 00115660 28 00 00 00 */ cmplwi r0, 0 -/* 80118704 00115664 40 82 00 94 */ bne lbl_80118798 -/* 80118708 00115668 7C 85 23 78 */ mr r5, r4 -/* 8011870C 0011566C 38 61 00 08 */ addi r3, r1, 8 -/* 80118710 00115670 48 21 FD F9 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80118714 00115674 88 1F 01 14 */ lbz r0, 0x114(r31) -/* 80118718 00115678 28 00 00 00 */ cmplwi r0, 0 -/* 8011871C 0011567C 40 82 00 48 */ bne lbl_80118764 -/* 80118720 00115680 34 7F 00 FC */ addic. r3, r31, 0xfc -/* 80118724 00115684 41 82 00 34 */ beq lbl_80118758 -/* 80118728 00115688 C0 01 00 08 */ lfs f0, 8(r1) -/* 8011872C 0011568C D0 03 00 00 */ stfs f0, 0(r3) -/* 80118730 00115690 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80118734 00115694 D0 03 00 04 */ stfs f0, 4(r3) -/* 80118738 00115698 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8011873C 0011569C D0 03 00 08 */ stfs f0, 8(r3) -/* 80118740 001156A0 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80118744 001156A4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80118748 001156A8 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8011874C 001156AC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 80118750 001156B0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80118754 001156B4 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_80118758: -/* 80118758 001156B8 38 00 00 01 */ li r0, 1 -/* 8011875C 001156BC 98 1F 01 14 */ stb r0, 0x114(r31) -/* 80118760 001156C0 48 00 00 40 */ b lbl_801187A0 -lbl_80118764: -/* 80118764 001156C4 80 61 00 08 */ lwz r3, 8(r1) -/* 80118768 001156C8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8011876C 001156CC 90 7F 00 FC */ stw r3, 0xfc(r31) -/* 80118770 001156D0 90 1F 01 00 */ stw r0, 0x100(r31) -/* 80118774 001156D4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80118778 001156D8 90 1F 01 04 */ stw r0, 0x104(r31) -/* 8011877C 001156DC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80118780 001156E0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80118784 001156E4 90 7F 01 08 */ stw r3, 0x108(r31) -/* 80118788 001156E8 90 1F 01 0C */ stw r0, 0x10c(r31) -/* 8011878C 001156EC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80118790 001156F0 90 1F 01 10 */ stw r0, 0x110(r31) -/* 80118794 001156F4 48 00 00 0C */ b lbl_801187A0 -lbl_80118798: -/* 80118798 001156F8 38 7F 00 FC */ addi r3, r31, 0xfc -/* 8011879C 001156FC 48 21 F3 6D */ bl AccumulateBounds__6CAABoxFRC9CVector3f -lbl_801187A0: -/* 801187A0 00115700 80 01 00 34 */ lwz r0, 0x34(r1) -/* 801187A4 00115704 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 801187A8 00115708 7C 08 03 A6 */ mtlr r0 -/* 801187AC 0011570C 38 21 00 30 */ addi r1, r1, 0x30 -/* 801187B0 00115710 4E 80 00 20 */ blr - -.global BuildWaypointListAndBounds__25CScriptSpiderBallWaypointFR13CStateManager -BuildWaypointListAndBounds__25CScriptSpiderBallWaypointFR13CStateManager: -/* 801187B4 00115714 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 801187B8 00115718 7C 08 02 A6 */ mflr r0 -/* 801187BC 0011571C 90 01 00 64 */ stw r0, 0x64(r1) -/* 801187C0 00115720 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 801187C4 00115724 7C 9F 23 78 */ mr r31, r4 -/* 801187C8 00115728 93 C1 00 58 */ stw r30, 0x58(r1) -/* 801187CC 0011572C 7C 7E 1B 78 */ mr r30, r3 -/* 801187D0 00115730 93 A1 00 54 */ stw r29, 0x54(r1) -/* 801187D4 00115734 93 81 00 50 */ stw r28, 0x50(r1) -/* 801187D8 00115738 3B 80 00 00 */ li r28, 0 -/* 801187DC 0011573C 83 A3 00 2C */ lwz r29, 0x2c(r3) -/* 801187E0 00115740 48 00 00 74 */ b lbl_80118854 -lbl_801187E4: -/* 801187E4 00115744 80 1D 00 00 */ lwz r0, 0(r29) -/* 801187E8 00115748 2C 00 00 01 */ cmpwi r0, 1 -/* 801187EC 0011574C 40 82 00 64 */ bne lbl_80118850 -/* 801187F0 00115750 80 1D 00 04 */ lwz r0, 4(r29) -/* 801187F4 00115754 2C 00 00 08 */ cmpwi r0, 8 -/* 801187F8 00115758 40 82 00 58 */ bne lbl_80118850 -/* 801187FC 0011575C 80 1D 00 08 */ lwz r0, 8(r29) -/* 80118800 00115760 7F E4 FB 78 */ mr r4, r31 -/* 80118804 00115764 38 61 00 20 */ addi r3, r1, 0x20 -/* 80118808 00115768 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8011880C 0011576C 90 01 00 28 */ stw r0, 0x28(r1) -/* 80118810 00115770 4B F2 F7 0D */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80118814 00115774 A0 61 00 20 */ lhz r3, 0x20(r1) -/* 80118818 00115778 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8011881C 0011577C B0 61 00 24 */ sth r3, 0x24(r1) -/* 80118820 00115780 7C 03 00 40 */ cmplw r3, r0 -/* 80118824 00115784 41 82 00 2C */ beq lbl_80118850 -/* 80118828 00115788 B0 61 00 1C */ sth r3, 0x1c(r1) -/* 8011882C 0011578C 7F E3 FB 78 */ mr r3, r31 -/* 80118830 00115790 38 81 00 1C */ addi r4, r1, 0x1c -/* 80118834 00115794 4B F3 3D 41 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80118838 00115798 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8011883C 0011579C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80118840 001157A0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80118844 001157A4 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80118848 001157A8 4B FF FC 61 */ bl AddPreviousWaypoint__25CScriptSpiderBallWaypointF9TUniqueId -/* 8011884C 001157AC 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80118850: -/* 80118850 001157B0 3B BD 00 0C */ addi r29, r29, 0xc -lbl_80118854: -/* 80118854 001157B4 80 1E 00 24 */ lwz r0, 0x24(r30) -/* 80118858 001157B8 80 7E 00 2C */ lwz r3, 0x2c(r30) -/* 8011885C 001157BC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80118860 001157C0 7C 03 02 14 */ add r0, r3, r0 -/* 80118864 001157C4 7C 1D 00 40 */ cmplw r29, r0 -/* 80118868 001157C8 40 82 FF 7C */ bne lbl_801187E4 -/* 8011886C 001157CC 2C 1C 00 00 */ cmpwi r28, 0 -/* 80118870 001157D0 40 82 00 2C */ bne lbl_8011889C -/* 80118874 001157D4 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80118878 001157D8 7F C3 F3 78 */ mr r3, r30 -/* 8011887C 001157DC C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80118880 001157E0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80118884 001157E4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80118888 001157E8 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8011888C 001157EC D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80118890 001157F0 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80118894 001157F4 4B FF FE 55 */ bl AddPointToTouchBounds__25CScriptSpiderBallWaypointFRC9CVector3f -/* 80118898 001157F8 48 00 00 80 */ b lbl_80118918 -lbl_8011889C: -/* 8011889C 001157FC 7F DC F3 78 */ mr r28, r30 -/* 801188A0 00115800 48 00 00 30 */ b lbl_801188D0 -lbl_801188A4: -/* 801188A4 00115804 7F 84 E3 78 */ mr r4, r28 -/* 801188A8 00115808 7F E5 FB 78 */ mr r5, r31 -/* 801188AC 0011580C 38 61 00 0C */ addi r3, r1, 0xc -/* 801188B0 00115810 38 C0 00 01 */ li r6, 1 -/* 801188B4 00115814 4B FF FD 59 */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 801188B8 00115818 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 801188BC 0011581C 7F E3 FB 78 */ mr r3, r31 -/* 801188C0 00115820 38 81 00 10 */ addi r4, r1, 0x10 -/* 801188C4 00115824 B0 01 00 10 */ sth r0, 0x10(r1) -/* 801188C8 00115828 4B F3 3C AD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 801188CC 0011582C 7C 7C 1B 78 */ mr r28, r3 -lbl_801188D0: -/* 801188D0 00115830 7F 84 E3 78 */ mr r4, r28 -/* 801188D4 00115834 7F E5 FB 78 */ mr r5, r31 -/* 801188D8 00115838 38 61 00 08 */ addi r3, r1, 8 -/* 801188DC 0011583C 38 C0 00 01 */ li r6, 1 -/* 801188E0 00115840 4B FF FD 2D */ bl NextWaypoint__25CScriptSpiderBallWaypointCFRC13CStateManagerQ225CScriptSpiderBallWaypoint20ECheckActiveWaypoint -/* 801188E4 00115844 A0 61 00 08 */ lhz r3, 8(r1) -/* 801188E8 00115848 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801188EC 0011584C 7C 03 00 40 */ cmplw r3, r0 -/* 801188F0 00115850 40 82 FF B4 */ bne lbl_801188A4 -/* 801188F4 00115854 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 801188F8 00115858 7F 83 E3 78 */ mr r3, r28 -/* 801188FC 0011585C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80118900 00115860 38 81 00 2C */ addi r4, r1, 0x2c -/* 80118904 00115864 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80118908 00115868 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8011890C 0011586C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80118910 00115870 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80118914 00115874 4B FF FD D5 */ bl AddPointToTouchBounds__25CScriptSpiderBallWaypointFRC9CVector3f -lbl_80118918: -/* 80118918 00115878 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8011891C 0011587C 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80118920 00115880 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80118924 00115884 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80118928 00115888 83 81 00 50 */ lwz r28, 0x50(r1) -/* 8011892C 0011588C 7C 08 03 A6 */ mtlr r0 -/* 80118930 00115890 38 21 00 60 */ addi r1, r1, 0x60 -/* 80118934 00115894 4E 80 00 20 */ blr - -.global ClearWaypoints__25CScriptSpiderBallWaypointFv -ClearWaypoints__25CScriptSpiderBallWaypointFv: -/* 80118938 00115898 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011893C 0011589C 38 00 00 00 */ li r0, 0 -/* 80118940 001158A0 98 03 01 14 */ stb r0, 0x114(r3) -/* 80118944 001158A4 80 03 00 F0 */ lwz r0, 0xf0(r3) -/* 80118948 001158A8 80 83 00 F8 */ lwz r4, 0xf8(r3) -/* 8011894C 001158AC 54 00 08 3C */ slwi r0, r0, 1 -/* 80118950 001158B0 7C 04 02 14 */ add r0, r4, r0 -/* 80118954 001158B4 90 81 00 0C */ stw r4, 0xc(r1) -/* 80118958 001158B8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011895C 001158BC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80118960 001158C0 90 81 00 08 */ stw r4, 8(r1) -/* 80118964 001158C4 48 00 00 08 */ b lbl_8011896C -lbl_80118968: -/* 80118968 001158C8 38 84 00 02 */ addi r4, r4, 2 -lbl_8011896C: -/* 8011896C 001158CC 7C 04 00 40 */ cmplw r4, r0 -/* 80118970 001158D0 40 82 FF F8 */ bne lbl_80118968 -/* 80118974 001158D4 38 00 00 00 */ li r0, 0 -/* 80118978 001158D8 90 03 00 F0 */ stw r0, 0xf0(r3) -/* 8011897C 001158DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80118980 001158E0 4E 80 00 20 */ blr - -.global AcceptScriptMsg__25CScriptSpiderBallWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__25CScriptSpiderBallWaypointF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80118984 001158E4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80118988 001158E8 7C 08 02 A6 */ mflr r0 -/* 8011898C 001158EC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80118990 001158F0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80118994 001158F4 7C DF 33 78 */ mr r31, r6 -/* 80118998 001158F8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8011899C 001158FC 7C 9E 23 78 */ mr r30, r4 -/* 801189A0 00115900 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801189A4 00115904 7C 7D 1B 78 */ mr r29, r3 -/* 801189A8 00115908 A0 05 00 00 */ lhz r0, 0(r5) -/* 801189AC 0011590C 38 A1 00 08 */ addi r5, r1, 8 -/* 801189B0 00115910 B0 01 00 08 */ sth r0, 8(r1) -/* 801189B4 00115914 4B F3 AC 61 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 801189B8 00115918 2C 1E 00 23 */ cmpwi r30, 0x23 -/* 801189BC 0011591C 41 82 00 14 */ beq lbl_801189D0 -/* 801189C0 00115920 40 80 00 40 */ bge lbl_80118A00 -/* 801189C4 00115924 2C 1E 00 02 */ cmpwi r30, 2 -/* 801189C8 00115928 41 82 00 18 */ beq lbl_801189E0 -/* 801189CC 0011592C 48 00 00 34 */ b lbl_80118A00 -lbl_801189D0: -/* 801189D0 00115930 7F A3 EB 78 */ mr r3, r29 -/* 801189D4 00115934 7F E4 FB 78 */ mr r4, r31 -/* 801189D8 00115938 4B FF FD DD */ bl BuildWaypointListAndBounds__25CScriptSpiderBallWaypointFR13CStateManager -/* 801189DC 0011593C 48 00 00 24 */ b lbl_80118A00 -lbl_801189E0: -/* 801189E0 00115940 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 801189E4 00115944 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801189E8 00115948 41 82 00 18 */ beq lbl_80118A00 -/* 801189EC 0011594C 7F A3 EB 78 */ mr r3, r29 -/* 801189F0 00115950 7F E5 FB 78 */ mr r5, r31 -/* 801189F4 00115954 38 80 00 01 */ li r4, 1 -/* 801189F8 00115958 38 C0 FF FF */ li r6, -1 -/* 801189FC 0011595C 4B F3 86 C5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_80118A00: -/* 80118A00 00115960 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80118A04 00115964 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80118A08 00115968 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80118A0C 0011596C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80118A10 00115970 7C 08 03 A6 */ mtlr r0 -/* 80118A14 00115974 38 21 00 20 */ addi r1, r1, 0x20 -/* 80118A18 00115978 4E 80 00 20 */ blr - -.global __dt__25CScriptSpiderBallWaypointFv -__dt__25CScriptSpiderBallWaypointFv: -/* 80118A1C 0011597C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80118A20 00115980 7C 08 02 A6 */ mflr r0 -/* 80118A24 00115984 90 01 00 24 */ stw r0, 0x24(r1) -/* 80118A28 00115988 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80118A2C 0011598C 7C 9F 23 78 */ mr r31, r4 -/* 80118A30 00115990 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80118A34 00115994 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80118A38 00115998 41 82 00 84 */ beq lbl_80118ABC -/* 80118A3C 0011599C 3C 60 80 3E */ lis r3, lbl_803E02C8@ha -/* 80118A40 001159A0 34 1E 00 FC */ addic. r0, r30, 0xfc -/* 80118A44 001159A4 38 03 02 C8 */ addi r0, r3, lbl_803E02C8@l -/* 80118A48 001159A8 90 1E 00 00 */ stw r0, 0(r30) -/* 80118A4C 001159AC 41 82 00 0C */ beq lbl_80118A58 -/* 80118A50 001159B0 38 00 00 00 */ li r0, 0 -/* 80118A54 001159B4 98 1E 01 14 */ stb r0, 0x114(r30) -lbl_80118A58: -/* 80118A58 001159B8 34 1E 00 EC */ addic. r0, r30, 0xec -/* 80118A5C 001159BC 41 82 00 44 */ beq lbl_80118AA0 -/* 80118A60 001159C0 80 1E 00 F0 */ lwz r0, 0xf0(r30) -/* 80118A64 001159C4 80 7E 00 F8 */ lwz r3, 0xf8(r30) -/* 80118A68 001159C8 54 00 08 3C */ slwi r0, r0, 1 -/* 80118A6C 001159CC 7C 03 02 14 */ add r0, r3, r0 -/* 80118A70 001159D0 90 61 00 0C */ stw r3, 0xc(r1) -/* 80118A74 001159D4 7C 64 1B 78 */ mr r4, r3 -/* 80118A78 001159D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80118A7C 001159DC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80118A80 001159E0 90 61 00 08 */ stw r3, 8(r1) -/* 80118A84 001159E4 48 00 00 08 */ b lbl_80118A8C -lbl_80118A88: -/* 80118A88 001159E8 38 84 00 02 */ addi r4, r4, 2 -lbl_80118A8C: -/* 80118A8C 001159EC 7C 04 00 40 */ cmplw r4, r0 -/* 80118A90 001159F0 40 82 FF F8 */ bne lbl_80118A88 -/* 80118A94 001159F4 28 03 00 00 */ cmplwi r3, 0 -/* 80118A98 001159F8 41 82 00 08 */ beq lbl_80118AA0 -/* 80118A9C 001159FC 48 1F CE 95 */ bl Free__7CMemoryFPCv -lbl_80118AA0: -/* 80118AA0 00115A00 7F C3 F3 78 */ mr r3, r30 -/* 80118AA4 00115A04 38 80 00 00 */ li r4, 0 -/* 80118AA8 00115A08 4B F3 CC 49 */ bl __dt__6CActorFv -/* 80118AAC 00115A0C 7F E0 07 35 */ extsh. r0, r31 -/* 80118AB0 00115A10 40 81 00 0C */ ble lbl_80118ABC -/* 80118AB4 00115A14 7F C3 F3 78 */ mr r3, r30 -/* 80118AB8 00115A18 48 1F CE 79 */ bl Free__7CMemoryFPCv -lbl_80118ABC: -/* 80118ABC 00115A1C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80118AC0 00115A20 7F C3 F3 78 */ mr r3, r30 -/* 80118AC4 00115A24 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80118AC8 00115A28 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80118ACC 00115A2C 7C 08 03 A6 */ mtlr r0 -/* 80118AD0 00115A30 38 21 00 20 */ addi r1, r1, 0x20 -/* 80118AD4 00115A34 4E 80 00 20 */ blr - -.global "__ct__25CScriptSpiderBallWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUi" -"__ct__25CScriptSpiderBallWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUi": -/* 80118AD8 00115A38 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80118ADC 00115A3C 7C 08 02 A6 */ mflr r0 -/* 80118AE0 00115A40 90 01 01 04 */ stw r0, 0x104(r1) -/* 80118AE4 00115A44 BF 21 00 E4 */ stmw r25, 0xe4(r1) -/* 80118AE8 00115A48 7C 7F 1B 78 */ mr r31, r3 -/* 80118AEC 00115A4C 7C 99 23 78 */ mr r25, r4 -/* 80118AF0 00115A50 7C BA 2B 78 */ mr r26, r5 -/* 80118AF4 00115A54 7C DB 33 78 */ mr r27, r6 -/* 80118AF8 00115A58 7C FC 3B 78 */ mr r28, r7 -/* 80118AFC 00115A5C 7D 1D 43 78 */ mr r29, r8 -/* 80118B00 00115A60 7D 3E 4B 78 */ mr r30, r9 -/* 80118B04 00115A64 38 61 00 88 */ addi r3, r1, 0x88 -/* 80118B08 00115A68 4B F2 1C 9D */ bl CModelDataNull__10CModelDataFv -/* 80118B0C 00115A6C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80118B10 00115A70 4B F0 23 29 */ bl None__16CActorParametersFv -/* 80118B14 00115A74 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 80118B18 00115A78 38 00 00 00 */ li r0, 0 -/* 80118B1C 00115A7C 80 AD 8A 60 */ lwz r5, lbl_805A7620@sda21(r13) -/* 80118B20 00115A80 38 60 00 00 */ li r3, 0 -/* 80118B24 00115A84 B0 81 00 10 */ sth r4, 0x10(r1) -/* 80118B28 00115A88 38 80 00 01 */ li r4, 1 -/* 80118B2C 00115A8C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80118B30 00115A90 90 01 00 18 */ stw r0, 0x18(r1) -/* 80118B34 00115A94 48 27 13 C1 */ bl __shl2i -/* 80118B38 00115A98 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80118B3C 00115A9C 39 61 00 20 */ addi r11, r1, 0x20 -/* 80118B40 00115AA0 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80118B44 00115AA4 38 01 00 10 */ addi r0, r1, 0x10 -/* 80118B48 00115AA8 7C A3 1B 78 */ or r3, r5, r3 -/* 80118B4C 00115AAC A1 39 00 00 */ lhz r9, 0(r25) -/* 80118B50 00115AB0 7C C4 23 78 */ or r4, r6, r4 -/* 80118B54 00115AB4 90 61 00 18 */ stw r3, 0x18(r1) -/* 80118B58 00115AB8 7F E3 FB 78 */ mr r3, r31 -/* 80118B5C 00115ABC 7F A5 EB 78 */ mr r5, r29 -/* 80118B60 00115AC0 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80118B64 00115AC4 7F 46 D3 78 */ mr r6, r26 -/* 80118B68 00115AC8 7F 67 DB 78 */ mr r7, r27 -/* 80118B6C 00115ACC 7F 88 E3 78 */ mr r8, r28 -/* 80118B70 00115AD0 B1 21 00 14 */ sth r9, 0x14(r1) -/* 80118B74 00115AD4 38 81 00 14 */ addi r4, r1, 0x14 -/* 80118B78 00115AD8 39 21 00 88 */ addi r9, r1, 0x88 -/* 80118B7C 00115ADC 39 41 00 18 */ addi r10, r1, 0x18 -/* 80118B80 00115AE0 91 61 00 08 */ stw r11, 8(r1) -/* 80118B84 00115AE4 90 01 00 0C */ stw r0, 0xc(r1) -/* 80118B88 00115AE8 4B F3 CC 99 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 80118B8C 00115AEC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80118B90 00115AF0 38 80 FF FF */ li r4, -1 -/* 80118B94 00115AF4 4B FE DA 75 */ bl __dt__16CActorParametersFv -/* 80118B98 00115AF8 38 61 00 88 */ addi r3, r1, 0x88 -/* 80118B9C 00115AFC 38 80 FF FF */ li r4, -1 -/* 80118BA0 00115B00 4B FF DE AD */ bl __dt__10CModelDataFv -/* 80118BA4 00115B04 3C 60 80 3E */ lis r3, lbl_803E02C8@ha -/* 80118BA8 00115B08 38 00 00 00 */ li r0, 0 -/* 80118BAC 00115B0C 38 83 02 C8 */ addi r4, r3, lbl_803E02C8@l -/* 80118BB0 00115B10 7F E3 FB 78 */ mr r3, r31 -/* 80118BB4 00115B14 90 9F 00 00 */ stw r4, 0(r31) -/* 80118BB8 00115B18 93 DF 00 E8 */ stw r30, 0xe8(r31) -/* 80118BBC 00115B1C 90 1F 00 F0 */ stw r0, 0xf0(r31) -/* 80118BC0 00115B20 90 1F 00 F4 */ stw r0, 0xf4(r31) -/* 80118BC4 00115B24 90 1F 00 F8 */ stw r0, 0xf8(r31) -/* 80118BC8 00115B28 98 1F 01 14 */ stb r0, 0x114(r31) -/* 80118BCC 00115B2C BB 21 00 E4 */ lmw r25, 0xe4(r1) -/* 80118BD0 00115B30 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80118BD4 00115B34 7C 08 03 A6 */ mtlr r0 -/* 80118BD8 00115B38 38 21 01 00 */ addi r1, r1, 0x100 -/* 80118BDC 00115B3C 4E 80 00 20 */ blr - -.global __dt__12CBloodFlowerFv -__dt__12CBloodFlowerFv: -/* 80118BE0 00115B40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80118BE4 00115B44 7C 08 02 A6 */ mflr r0 -/* 80118BE8 00115B48 90 01 00 14 */ stw r0, 0x14(r1) -/* 80118BEC 00115B4C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80118BF0 00115B50 7C 9F 23 78 */ mr r31, r4 -/* 80118BF4 00115B54 93 C1 00 08 */ stw r30, 8(r1) -/* 80118BF8 00115B58 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80118BFC 00115B5C 41 82 00 E4 */ beq lbl_80118CE0 -/* 80118C00 00115B60 3C 60 80 3E */ lis r3, lbl_803E0350@ha -/* 80118C04 00115B64 34 1E 05 C4 */ addic. r0, r30, 0x5c4 -/* 80118C08 00115B68 38 03 03 50 */ addi r0, r3, lbl_803E0350@l -/* 80118C0C 00115B6C 90 1E 00 00 */ stw r0, 0(r30) -/* 80118C10 00115B70 41 82 00 30 */ beq lbl_80118C40 -/* 80118C14 00115B74 88 1E 05 D0 */ lbz r0, 0x5d0(r30) -/* 80118C18 00115B78 28 00 00 00 */ cmplwi r0, 0 -/* 80118C1C 00115B7C 41 82 00 1C */ beq lbl_80118C38 -/* 80118C20 00115B80 34 7E 05 C4 */ addic. r3, r30, 0x5c4 -/* 80118C24 00115B84 41 82 00 14 */ beq lbl_80118C38 -/* 80118C28 00115B88 28 03 00 00 */ cmplwi r3, 0 -/* 80118C2C 00115B8C 41 82 00 0C */ beq lbl_80118C38 -/* 80118C30 00115B90 38 80 00 00 */ li r4, 0 -/* 80118C34 00115B94 48 22 82 0D */ bl __dt__6CTokenFv -lbl_80118C38: -/* 80118C38 00115B98 38 00 00 00 */ li r0, 0 -/* 80118C3C 00115B9C 98 1E 05 D0 */ stb r0, 0x5d0(r30) -lbl_80118C40: -/* 80118C40 00115BA0 34 1E 05 90 */ addic. r0, r30, 0x590 -/* 80118C44 00115BA4 41 82 00 20 */ beq lbl_80118C64 -/* 80118C48 00115BA8 34 1E 05 90 */ addic. r0, r30, 0x590 -/* 80118C4C 00115BAC 41 82 00 18 */ beq lbl_80118C64 -/* 80118C50 00115BB0 34 1E 05 90 */ addic. r0, r30, 0x590 -/* 80118C54 00115BB4 41 82 00 10 */ beq lbl_80118C64 -/* 80118C58 00115BB8 38 7E 05 90 */ addi r3, r30, 0x590 -/* 80118C5C 00115BBC 38 80 00 00 */ li r4, 0 -/* 80118C60 00115BC0 48 22 81 E1 */ bl __dt__6CTokenFv -lbl_80118C64: -/* 80118C64 00115BC4 34 1E 05 78 */ addic. r0, r30, 0x578 -/* 80118C68 00115BC8 41 82 00 18 */ beq lbl_80118C80 -/* 80118C6C 00115BCC 34 1E 05 78 */ addic. r0, r30, 0x578 -/* 80118C70 00115BD0 41 82 00 10 */ beq lbl_80118C80 -/* 80118C74 00115BD4 38 7E 05 78 */ addi r3, r30, 0x578 -/* 80118C78 00115BD8 38 80 00 00 */ li r4, 0 -/* 80118C7C 00115BDC 48 22 81 C5 */ bl __dt__6CTokenFv -lbl_80118C80: -/* 80118C80 00115BE0 34 1E 05 74 */ addic. r0, r30, 0x574 -/* 80118C84 00115BE4 41 82 00 24 */ beq lbl_80118CA8 -/* 80118C88 00115BE8 80 7E 05 74 */ lwz r3, 0x574(r30) -/* 80118C8C 00115BEC 28 03 00 00 */ cmplwi r3, 0 -/* 80118C90 00115BF0 41 82 00 18 */ beq lbl_80118CA8 -/* 80118C94 00115BF4 81 83 00 00 */ lwz r12, 0(r3) -/* 80118C98 00115BF8 38 80 00 01 */ li r4, 1 -/* 80118C9C 00115BFC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80118CA0 00115C00 7D 89 03 A6 */ mtctr r12 -/* 80118CA4 00115C04 4E 80 04 21 */ bctrl -lbl_80118CA8: -/* 80118CA8 00115C08 34 1E 05 68 */ addic. r0, r30, 0x568 -/* 80118CAC 00115C0C 41 82 00 18 */ beq lbl_80118CC4 -/* 80118CB0 00115C10 34 1E 05 68 */ addic. r0, r30, 0x568 -/* 80118CB4 00115C14 41 82 00 10 */ beq lbl_80118CC4 -/* 80118CB8 00115C18 38 7E 05 68 */ addi r3, r30, 0x568 -/* 80118CBC 00115C1C 38 80 00 00 */ li r4, 0 -/* 80118CC0 00115C20 48 22 81 81 */ bl __dt__6CTokenFv -lbl_80118CC4: -/* 80118CC4 00115C24 7F C3 F3 78 */ mr r3, r30 -/* 80118CC8 00115C28 38 80 00 00 */ li r4, 0 -/* 80118CCC 00115C2C 4B F5 E8 A5 */ bl __dt__10CPatternedFv -/* 80118CD0 00115C30 7F E0 07 35 */ extsh. r0, r31 -/* 80118CD4 00115C34 40 81 00 0C */ ble lbl_80118CE0 -/* 80118CD8 00115C38 7F C3 F3 78 */ mr r3, r30 -/* 80118CDC 00115C3C 48 1F CC 55 */ bl Free__7CMemoryFPCv -lbl_80118CE0: -/* 80118CE0 00115C40 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80118CE4 00115C44 7F C3 F3 78 */ mr r3, r30 -/* 80118CE8 00115C48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80118CEC 00115C4C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80118CF0 00115C50 7C 08 03 A6 */ mtlr r0 -/* 80118CF4 00115C54 38 21 00 10 */ addi r1, r1, 0x10 -/* 80118CF8 00115C58 4E 80 00 20 */ blr - -.global sub_80118cfc -sub_80118cfc: -/* 80118CFC 00115C5C 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80118D00 00115C60 7C 08 02 A6 */ mflr r0 -/* 80118D04 00115C64 90 01 01 24 */ stw r0, 0x124(r1) -/* 80118D08 00115C68 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 80118D0C 00115C6C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 80118D10 00115C70 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 80118D14 00115C74 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 80118D18 00115C78 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 80118D1C 00115C7C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 80118D20 00115C80 DB 81 00 E0 */ stfd f28, 0xe0(r1) -/* 80118D24 00115C84 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 -/* 80118D28 00115C88 DB 61 00 D0 */ stfd f27, 0xd0(r1) -/* 80118D2C 00115C8C F3 61 00 D8 */ psq_st f27, 216(r1), 0, qr0 -/* 80118D30 00115C90 BF 61 00 BC */ stmw r27, 0xbc(r1) -/* 80118D34 00115C94 88 0D A3 84 */ lbz r0, lbl_805A8F44@sda21(r13) -/* 80118D38 00115C98 FF 80 08 90 */ fmr f28, f1 -/* 80118D3C 00115C9C 7C 7E 1B 78 */ mr r30, r3 -/* 80118D40 00115CA0 7C 9B 23 78 */ mr r27, r4 -/* 80118D44 00115CA4 7C 00 07 75 */ extsb. r0, r0 -/* 80118D48 00115CA8 7C BF 2B 78 */ mr r31, r5 -/* 80118D4C 00115CAC 7C DC 33 78 */ mr r28, r6 -/* 80118D50 00115CB0 40 82 00 14 */ bne lbl_80118D64 -/* 80118D54 00115CB4 48 19 83 E9 */ bl GetTickPeriod__17CProjectileWeaponFv -/* 80118D58 00115CB8 38 00 00 01 */ li r0, 1 -/* 80118D5C 00115CBC D0 2D A3 80 */ stfs f1, lbl_805A8F40@sda21(r13) -/* 80118D60 00115CC0 98 0D A3 84 */ stb r0, lbl_805A8F44@sda21(r13) -lbl_80118D64: -/* 80118D64 00115CC4 7F C3 F3 78 */ mr r3, r30 -/* 80118D68 00115CC8 81 9E 00 00 */ lwz r12, 0(r30) -/* 80118D6C 00115CCC 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80118D70 00115CD0 7D 89 03 A6 */ mtctr r12 -/* 80118D74 00115CD4 4E 80 04 21 */ bctrl -/* 80118D78 00115CD8 7C 7D 1B 78 */ mr r29, r3 -/* 80118D7C 00115CDC 80 03 00 08 */ lwz r0, 8(r3) -/* 80118D80 00115CE0 28 00 00 00 */ cmplwi r0, 0 -/* 80118D84 00115CE4 41 82 00 0C */ beq lbl_80118D90 -/* 80118D88 00115CE8 38 60 00 01 */ li r3, 1 -/* 80118D8C 00115CEC 48 00 00 38 */ b lbl_80118DC4 -lbl_80118D90: -/* 80118D90 00115CF0 88 1D 00 04 */ lbz r0, 4(r29) -/* 80118D94 00115CF4 28 00 00 00 */ cmplwi r0, 0 -/* 80118D98 00115CF8 41 82 00 28 */ beq lbl_80118DC0 -/* 80118D9C 00115CFC 80 9D 00 00 */ lwz r4, 0(r29) -/* 80118DA0 00115D00 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80118DA4 00115D04 28 00 00 00 */ cmplwi r0, 0 -/* 80118DA8 00115D08 41 82 00 18 */ beq lbl_80118DC0 -/* 80118DAC 00115D0C 48 22 80 61 */ bl GetObj__6CTokenFv -/* 80118DB0 00115D10 80 03 00 04 */ lwz r0, 4(r3) -/* 80118DB4 00115D14 38 60 00 01 */ li r3, 1 -/* 80118DB8 00115D18 90 1D 00 08 */ stw r0, 8(r29) -/* 80118DBC 00115D1C 48 00 00 08 */ b lbl_80118DC4 -lbl_80118DC0: -/* 80118DC0 00115D20 38 60 00 00 */ li r3, 0 -lbl_80118DC4: -/* 80118DC4 00115D24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80118DC8 00115D28 41 82 01 E4 */ beq lbl_80118FAC -/* 80118DCC 00115D2C A0 1E 00 08 */ lhz r0, 8(r30) -/* 80118DD0 00115D30 7F E3 FB 78 */ mr r3, r31 -/* 80118DD4 00115D34 7F 86 E3 78 */ mr r6, r28 -/* 80118DD8 00115D38 38 81 00 10 */ addi r4, r1, 0x10 -/* 80118DDC 00115D3C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80118DE0 00115D40 38 A0 00 09 */ li r5, 9 -/* 80118DE4 00115D44 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80118DE8 00115D48 4B F2 C9 49 */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 80118DEC 00115D4C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80118DF0 00115D50 41 82 01 BC */ beq lbl_80118FAC -/* 80118DF4 00115D54 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80118DF8 00115D58 7F E5 FB 78 */ mr r5, r31 -/* 80118DFC 00115D5C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80118E00 00115D60 C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) -/* 80118E04 00115D64 81 84 00 00 */ lwz r12, 0(r4) -/* 80118E08 00115D68 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80118E0C 00115D6C 7D 89 03 A6 */ mtctr r12 -/* 80118E10 00115D70 4E 80 04 21 */ bctrl -/* 80118E14 00115D74 C0 7B 00 2C */ lfs f3, 0x2c(r27) -/* 80118E18 00115D78 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80118E1C 00115D7C C0 5B 00 1C */ lfs f2, 0x1c(r27) -/* 80118E20 00115D80 EF C3 00 28 */ fsubs f30, f3, f0 -/* 80118E24 00115D84 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) -/* 80118E28 00115D88 C0 3B 00 0C */ lfs f1, 0xc(r27) -/* 80118E2C 00115D8C D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80118E30 00115D90 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80118E34 00115D94 C3 E1 00 44 */ lfs f31, 0x44(r1) -/* 80118E38 00115D98 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80118E3C 00115D9C C3 61 00 48 */ lfs f27, 0x48(r1) -/* 80118E40 00115DA0 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 80118E44 00115DA4 40 81 00 0C */ ble lbl_80118E50 -/* 80118E48 00115DA8 FC 40 E0 90 */ fmr f2, f28 -/* 80118E4C 00115DAC 48 00 00 0C */ b lbl_80118E58 -lbl_80118E50: -/* 80118E50 00115DB0 FC 00 F0 50 */ fneg f0, f30 -/* 80118E54 00115DB4 EC 40 E0 2A */ fadds f2, f0, f28 -lbl_80118E58: -/* 80118E58 00115DB8 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) -/* 80118E5C 00115DBC FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80118E60 00115DC0 40 81 00 08 */ ble lbl_80118E68 -/* 80118E64 00115DC4 EF 9E E0 2A */ fadds f28, f30, f28 -lbl_80118E68: -/* 80118E68 00115DC8 C0 22 96 80 */ lfs f1, lbl_805AB3A0@sda21(r2) -/* 80118E6C 00115DCC C0 02 96 84 */ lfs f0, lbl_805AB3A4@sda21(r2) -/* 80118E70 00115DD0 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 80118E74 00115DD4 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80118E78 00115DD8 48 1F C6 89 */ bl SqrtF__5CMathFf -/* 80118E7C 00115DDC C0 42 96 80 */ lfs f2, lbl_805AB3A0@sda21(r2) -/* 80118E80 00115DE0 FF A0 08 90 */ fmr f29, f1 -/* 80118E84 00115DE4 C0 02 96 84 */ lfs f0, lbl_805AB3A4@sda21(r2) -/* 80118E88 00115DE8 EC 22 07 32 */ fmuls f1, f2, f28 -/* 80118E8C 00115DEC EC 21 00 24 */ fdivs f1, f1, f0 -/* 80118E90 00115DF0 48 1F C6 71 */ bl SqrtF__5CMathFf -/* 80118E94 00115DF4 EC FD 08 2A */ fadds f7, f29, f1 -/* 80118E98 00115DF8 C0 BB 00 1C */ lfs f5, 0x1c(r27) -/* 80118E9C 00115DFC FC 40 F0 50 */ fneg f2, f30 -/* 80118EA0 00115E00 C0 22 96 8C */ lfs f1, lbl_805AB3AC@sda21(r2) -/* 80118EA4 00115E04 C0 DB 00 0C */ lfs f6, 0xc(r27) -/* 80118EA8 00115E08 EC 1B 28 28 */ fsubs f0, f27, f5 -/* 80118EAC 00115E0C EC 81 38 24 */ fdivs f4, f1, f7 -/* 80118EB0 00115E10 C0 3B 00 2C */ lfs f1, 0x2c(r27) -/* 80118EB4 00115E14 C0 62 96 88 */ lfs f3, lbl_805AB3A8@sda21(r2) -/* 80118EB8 00115E18 38 61 00 50 */ addi r3, r1, 0x50 -/* 80118EBC 00115E1C D0 C1 00 2C */ stfs f6, 0x2c(r1) -/* 80118EC0 00115E20 38 81 00 2C */ addi r4, r1, 0x2c -/* 80118EC4 00115E24 EC 42 38 24 */ fdivs f2, f2, f7 -/* 80118EC8 00115E28 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 80118ECC 00115E2C D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80118ED0 00115E30 EC 3F 30 28 */ fsubs f1, f31, f6 -/* 80118ED4 00115E34 EF 63 11 FA */ fmadds f27, f3, f7, f2 -/* 80118ED8 00115E38 EF A4 00 32 */ fmuls f29, f4, f0 -/* 80118EDC 00115E3C EF C4 00 72 */ fmuls f30, f4, f1 -/* 80118EE0 00115E40 48 1F A2 61 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80118EE4 00115E44 38 61 00 80 */ addi r3, r1, 0x80 -/* 80118EE8 00115E48 38 81 00 50 */ addi r4, r1, 0x50 -/* 80118EEC 00115E4C 48 1F 9C 89 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80118EF0 00115E50 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80118EF4 00115E54 7F C3 F3 78 */ mr r3, r30 -/* 80118EF8 00115E58 B0 01 00 08 */ sth r0, 8(r1) -/* 80118EFC 00115E5C 81 9E 00 00 */ lwz r12, 0(r30) -/* 80118F00 00115E60 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80118F04 00115E64 7D 89 03 A6 */ mtctr r12 -/* 80118F08 00115E68 4E 80 04 21 */ bctrl -/* 80118F0C 00115E6C 7C 7D 1B 78 */ mr r29, r3 -/* 80118F10 00115E70 7F C3 F3 78 */ mr r3, r30 -/* 80118F14 00115E74 81 9E 00 00 */ lwz r12, 0(r30) -/* 80118F18 00115E78 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80118F1C 00115E7C 7D 89 03 A6 */ mtctr r12 -/* 80118F20 00115E80 4E 80 04 21 */ bctrl -/* 80118F24 00115E84 7C 65 1B 78 */ mr r5, r3 -/* 80118F28 00115E88 7F C3 F3 78 */ mr r3, r30 -/* 80118F2C 00115E8C 7F E4 FB 78 */ mr r4, r31 -/* 80118F30 00115E90 38 C1 00 80 */ addi r6, r1, 0x80 -/* 80118F34 00115E94 38 FD 00 0C */ addi r7, r29, 0xc -/* 80118F38 00115E98 39 01 00 08 */ addi r8, r1, 8 -/* 80118F3C 00115E9C 48 00 02 3D */ bl sub_80119178 -/* 80118F40 00115EA0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80118F44 00115EA4 41 82 00 68 */ beq lbl_80118FAC -/* 80118F48 00115EA8 C0 0D A3 80 */ lfs f0, lbl_805A8F40@sda21(r13) -/* 80118F4C 00115EAC 3B BE 01 70 */ addi r29, r30, 0x170 -/* 80118F50 00115EB0 7F A3 EB 78 */ mr r3, r29 -/* 80118F54 00115EB4 38 81 00 20 */ addi r4, r1, 0x20 -/* 80118F58 00115EB8 EC 40 07 B2 */ fmuls f2, f0, f30 -/* 80118F5C 00115EBC EC 20 07 72 */ fmuls f1, f0, f29 -/* 80118F60 00115EC0 EC 00 06 F2 */ fmuls f0, f0, f27 -/* 80118F64 00115EC4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80118F68 00115EC8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80118F6C 00115ECC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80118F70 00115ED0 48 19 61 CD */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f -/* 80118F74 00115ED4 C0 4D A3 80 */ lfs f2, lbl_805A8F40@sda21(r13) -/* 80118F78 00115ED8 7F A3 EB 78 */ mr r3, r29 -/* 80118F7C 00115EDC C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) -/* 80118F80 00115EE0 38 81 00 14 */ addi r4, r1, 0x14 -/* 80118F84 00115EE4 C0 02 96 90 */ lfs f0, lbl_805AB3B0@sda21(r2) -/* 80118F88 00115EE8 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80118F8C 00115EEC EC 02 00 32 */ fmuls f0, f2, f0 -/* 80118F90 00115EF0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80118F94 00115EF4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80118F98 00115EF8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80118F9C 00115EFC 48 19 61 7D */ bl SetGravity__17CProjectileWeaponFRC9CVector3f -/* 80118FA0 00115F00 7F E3 FB 78 */ mr r3, r31 -/* 80118FA4 00115F04 7F C4 F3 78 */ mr r4, r30 -/* 80118FA8 00115F08 4B F3 3B 6D */ bl AddObject__13CStateManagerFR7CEntity -lbl_80118FAC: -/* 80118FAC 00115F0C E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 80118FB0 00115F10 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 80118FB4 00115F14 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 80118FB8 00115F18 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 80118FBC 00115F1C E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 80118FC0 00115F20 CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 80118FC4 00115F24 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 -/* 80118FC8 00115F28 CB 81 00 E0 */ lfd f28, 0xe0(r1) -/* 80118FCC 00115F2C E3 61 00 D8 */ psq_l f27, 216(r1), 0, qr0 -/* 80118FD0 00115F30 CB 61 00 D0 */ lfd f27, 0xd0(r1) -/* 80118FD4 00115F34 BB 61 00 BC */ lmw r27, 0xbc(r1) -/* 80118FD8 00115F38 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80118FDC 00115F3C 7C 08 03 A6 */ mtlr r0 -/* 80118FE0 00115F40 38 21 01 20 */ addi r1, r1, 0x120 -/* 80118FE4 00115F44 4E 80 00 20 */ blr - -.global Touch__12CBloodFlowerFR6CActorR13CStateManager -Touch__12CBloodFlowerFR6CActorR13CStateManager: -/* 80118FE8 00115F48 4E 80 00 20 */ blr - -.global sub_80118fec -sub_80118fec: -/* 80118FEC 00115F4C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80118FF0 00115F50 7C 08 02 A6 */ mflr r0 -/* 80118FF4 00115F54 3C C0 80 3E */ lis r6, lbl_803E0338@ha -/* 80118FF8 00115F58 90 01 00 24 */ stw r0, 0x24(r1) -/* 80118FFC 00115F5C 54 80 10 3A */ slwi r0, r4, 2 -/* 80119000 00115F60 38 86 03 38 */ addi r4, r6, lbl_803E0338@l -/* 80119004 00115F64 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80119008 00115F68 7C BF 2B 78 */ mr r31, r5 -/* 8011900C 00115F6C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80119010 00115F70 7C 7E 1B 78 */ mr r30, r3 -/* 80119014 00115F74 38 61 00 08 */ addi r3, r1, 8 -/* 80119018 00115F78 7C 84 00 2E */ lwzx r4, r4, r0 -/* 8011901C 00115F7C 4B EE BC 9D */ bl string_l__4rstlFPCc -/* 80119020 00115F80 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80119024 00115F84 7F E6 FB 78 */ mr r6, r31 -/* 80119028 00115F88 38 81 00 08 */ addi r4, r1, 8 -/* 8011902C 00115F8C 38 A0 00 00 */ li r5, 0 -/* 80119030 00115F90 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80119034 00115F94 4B F1 1D 8D */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 80119038 00115F98 38 61 00 08 */ addi r3, r1, 8 -/* 8011903C 00115F9C 48 22 4A A5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80119040 00115FA0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80119044 00115FA4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80119048 00115FA8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8011904C 00115FAC 7C 08 03 A6 */ mtlr r0 -/* 80119050 00115FB0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80119054 00115FB4 4E 80 00 20 */ blr - -.global sub_80119058 -sub_80119058: -/* 80119058 00115FB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011905C 00115FBC 7C 08 02 A6 */ mflr r0 -/* 80119060 00115FC0 3C C0 80 3E */ lis r6, lbl_803E0338@ha -/* 80119064 00115FC4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80119068 00115FC8 54 80 10 3A */ slwi r0, r4, 2 -/* 8011906C 00115FCC 38 86 03 38 */ addi r4, r6, lbl_803E0338@l -/* 80119070 00115FD0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80119074 00115FD4 7C BF 2B 78 */ mr r31, r5 -/* 80119078 00115FD8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8011907C 00115FDC 7C 7E 1B 78 */ mr r30, r3 -/* 80119080 00115FE0 38 61 00 08 */ addi r3, r1, 8 -/* 80119084 00115FE4 7C 84 00 2E */ lwzx r4, r4, r0 -/* 80119088 00115FE8 4B EE BC 31 */ bl string_l__4rstlFPCc -/* 8011908C 00115FEC 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80119090 00115FF0 7F E6 FB 78 */ mr r6, r31 -/* 80119094 00115FF4 38 81 00 08 */ addi r4, r1, 8 -/* 80119098 00115FF8 38 A0 00 01 */ li r5, 1 -/* 8011909C 00115FFC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 801190A0 00116000 4B F1 1D 21 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 801190A4 00116004 38 61 00 08 */ addi r3, r1, 8 -/* 801190A8 00116008 48 22 4A 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 801190AC 0011600C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801190B0 00116010 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801190B4 00116014 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801190B8 00116018 7C 08 03 A6 */ mtlr r0 -/* 801190BC 0011601C 38 21 00 20 */ addi r1, r1, 0x20 -/* 801190C0 00116020 4E 80 00 20 */ blr - -.global sub_801190c4 -sub_801190c4: -/* 801190C4 00116024 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801190C8 00116028 7C 08 02 A6 */ mflr r0 -/* 801190CC 0011602C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801190D0 00116030 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801190D4 00116034 7C 9F 23 78 */ mr r31, r4 -/* 801190D8 00116038 93 C1 00 08 */ stw r30, 8(r1) -/* 801190DC 0011603C 7C 7E 1B 78 */ mr r30, r3 -/* 801190E0 00116040 80 03 05 D8 */ lwz r0, 0x5d8(r3) -/* 801190E4 00116044 2C 00 00 01 */ cmpwi r0, 1 -/* 801190E8 00116048 41 82 00 30 */ beq lbl_80119118 -/* 801190EC 0011604C 40 80 00 10 */ bge lbl_801190FC -/* 801190F0 00116050 2C 00 00 00 */ cmpwi r0, 0 -/* 801190F4 00116054 40 80 00 14 */ bge lbl_80119108 -/* 801190F8 00116058 48 00 00 5C */ b lbl_80119154 -lbl_801190FC: -/* 801190FC 0011605C 2C 00 00 03 */ cmpwi r0, 3 -/* 80119100 00116060 40 80 00 54 */ bge lbl_80119154 -/* 80119104 00116064 48 00 00 34 */ b lbl_80119138 -lbl_80119108: -/* 80119108 00116068 7F E5 FB 78 */ mr r5, r31 -/* 8011910C 0011606C 38 80 00 00 */ li r4, 0 -/* 80119110 00116070 4B FF FF 49 */ bl sub_80119058 -/* 80119114 00116074 48 00 00 40 */ b lbl_80119154 -lbl_80119118: -/* 80119118 00116078 7F E5 FB 78 */ mr r5, r31 -/* 8011911C 0011607C 38 80 00 00 */ li r4, 0 -/* 80119120 00116080 4B FF FE CD */ bl sub_80118fec -/* 80119124 00116084 7F C3 F3 78 */ mr r3, r30 -/* 80119128 00116088 7F E5 FB 78 */ mr r5, r31 -/* 8011912C 0011608C 38 80 00 01 */ li r4, 1 -/* 80119130 00116090 4B FF FF 29 */ bl sub_80119058 -/* 80119134 00116094 48 00 00 20 */ b lbl_80119154 -lbl_80119138: -/* 80119138 00116098 7F E5 FB 78 */ mr r5, r31 -/* 8011913C 0011609C 38 80 00 01 */ li r4, 1 -/* 80119140 001160A0 4B FF FE AD */ bl sub_80118fec -/* 80119144 001160A4 7F C3 F3 78 */ mr r3, r30 -/* 80119148 001160A8 7F E5 FB 78 */ mr r5, r31 -/* 8011914C 001160AC 38 80 00 02 */ li r4, 2 -/* 80119150 001160B0 4B FF FF 09 */ bl sub_80119058 -lbl_80119154: -/* 80119154 001160B4 80 7E 05 D8 */ lwz r3, 0x5d8(r30) -/* 80119158 001160B8 38 03 00 01 */ addi r0, r3, 1 -/* 8011915C 001160BC 90 1E 05 D8 */ stw r0, 0x5d8(r30) -/* 80119160 001160C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80119164 001160C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80119168 001160C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011916C 001160CC 7C 08 03 A6 */ mtlr r0 -/* 80119170 001160D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80119174 001160D4 4E 80 00 20 */ blr - -.global sub_80119178 -sub_80119178: -/* 80119178 001160D8 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8011917C 001160DC 7C 08 02 A6 */ mflr r0 -/* 80119180 001160E0 90 01 00 84 */ stw r0, 0x84(r1) -/* 80119184 001160E4 BE E1 00 5C */ stmw r23, 0x5c(r1) -/* 80119188 001160E8 7C 7B 1B 78 */ mr r27, r3 -/* 8011918C 001160EC 7C 9C 23 78 */ mr r28, r4 -/* 80119190 001160F0 7C BD 2B 78 */ mr r29, r5 -/* 80119194 001160F4 7C DE 33 78 */ mr r30, r6 -/* 80119198 001160F8 7C FF 3B 78 */ mr r31, r7 -/* 8011919C 001160FC 7D 18 43 78 */ mr r24, r8 -/* 801191A0 00116100 80 03 05 80 */ lwz r0, 0x580(r3) -/* 801191A4 00116104 28 00 00 00 */ cmplwi r0, 0 -/* 801191A8 00116108 41 82 00 0C */ beq lbl_801191B4 -/* 801191AC 0011610C 38 60 00 01 */ li r3, 1 -/* 801191B0 00116110 48 00 00 3C */ b lbl_801191EC -lbl_801191B4: -/* 801191B4 00116114 88 1B 05 7C */ lbz r0, 0x57c(r27) -/* 801191B8 00116118 28 00 00 00 */ cmplwi r0, 0 -/* 801191BC 0011611C 41 82 00 2C */ beq lbl_801191E8 -/* 801191C0 00116120 80 7B 05 78 */ lwz r3, 0x578(r27) -/* 801191C4 00116124 80 03 00 10 */ lwz r0, 0x10(r3) -/* 801191C8 00116128 28 00 00 00 */ cmplwi r0, 0 -/* 801191CC 0011612C 41 82 00 1C */ beq lbl_801191E8 -/* 801191D0 00116130 38 7B 05 78 */ addi r3, r27, 0x578 -/* 801191D4 00116134 48 22 7C 39 */ bl GetObj__6CTokenFv -/* 801191D8 00116138 80 03 00 04 */ lwz r0, 4(r3) -/* 801191DC 0011613C 38 60 00 01 */ li r3, 1 -/* 801191E0 00116140 90 1B 05 80 */ stw r0, 0x580(r27) -/* 801191E4 00116144 48 00 00 08 */ b lbl_801191EC -lbl_801191E8: -/* 801191E8 00116148 38 60 00 00 */ li r3, 0 -lbl_801191EC: -/* 801191EC 0011614C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801191F0 00116150 41 82 01 08 */ beq lbl_801192F8 -/* 801191F4 00116154 7F 84 E3 78 */ mr r4, r28 -/* 801191F8 00116158 38 61 00 40 */ addi r3, r1, 0x40 -/* 801191FC 0011615C 4B F3 3E E1 */ bl AllocateUniqueId__13CStateManagerFv -/* 80119200 00116160 A0 01 00 40 */ lhz r0, 0x40(r1) -/* 80119204 00116164 3C 60 80 3D */ lis r3, lbl_803CF2F0@ha -/* 80119208 00116168 38 83 F2 F0 */ addi r4, r3, lbl_803CF2F0@l -/* 8011920C 0011616C 38 60 04 00 */ li r3, 0x400 -/* 80119210 00116170 B0 01 00 44 */ sth r0, 0x44(r1) -/* 80119214 00116174 38 84 00 21 */ addi r4, r4, 0x21 -/* 80119218 00116178 38 A0 00 00 */ li r5, 0 -/* 8011921C 0011617C 48 1F C6 51 */ bl __nw__FUlPCcPCc -/* 80119220 00116180 7C 77 1B 79 */ or. r23, r3, r3 -/* 80119224 00116184 41 82 00 8C */ beq lbl_801192B0 -/* 80119228 00116188 A0 18 00 00 */ lhz r0, 0(r24) -/* 8011922C 0011618C 3B 01 00 4C */ addi r24, r1, 0x4c -/* 80119230 00116190 A2 E1 00 44 */ lhz r23, 0x44(r1) -/* 80119234 00116194 3B 21 00 38 */ addi r25, r1, 0x38 -/* 80119238 00116198 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 8011923C 0011619C 3B 5B 05 78 */ addi r26, r27, 0x578 -/* 80119240 001161A0 39 81 00 3C */ addi r12, r1, 0x3c -/* 80119244 001161A4 39 60 00 00 */ li r11, 0 -/* 80119248 001161A8 A0 FB 00 08 */ lhz r7, 8(r27) -/* 8011924C 001161AC 38 1B 05 C4 */ addi r0, r27, 0x5c4 -/* 80119250 001161B0 7F A4 EB 78 */ mr r4, r29 -/* 80119254 001161B4 7F C6 F3 78 */ mr r6, r30 -/* 80119258 001161B8 B0 E1 00 38 */ sth r7, 0x38(r1) -/* 8011925C 001161BC 7F E8 FB 78 */ mr r8, r31 -/* 80119260 001161C0 39 3B 05 DC */ addi r9, r27, 0x5dc -/* 80119264 001161C4 39 41 00 30 */ addi r10, r1, 0x30 -/* 80119268 001161C8 83 BB 00 04 */ lwz r29, 4(r27) -/* 8011926C 001161CC 38 A0 00 09 */ li r5, 9 -/* 80119270 001161D0 B0 E1 00 34 */ sth r7, 0x34(r1) -/* 80119274 001161D4 38 E0 00 21 */ li r7, 0x21 -/* 80119278 001161D8 93 A1 00 4C */ stw r29, 0x4c(r1) -/* 8011927C 001161DC B2 E1 00 30 */ sth r23, 0x30(r1) -/* 80119280 001161E0 93 01 00 08 */ stw r24, 8(r1) -/* 80119284 001161E4 93 21 00 0C */ stw r25, 0xc(r1) -/* 80119288 001161E8 93 41 00 10 */ stw r26, 0x10(r1) -/* 8011928C 001161EC 91 81 00 14 */ stw r12, 0x14(r1) -/* 80119290 001161F0 91 61 00 18 */ stw r11, 0x18(r1) -/* 80119294 001161F4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80119298 001161F8 A0 1B 05 D4 */ lhz r0, 0x5d4(r27) -/* 8011929C 001161FC 93 A1 00 48 */ stw r29, 0x48(r1) -/* 801192A0 00116200 90 01 00 20 */ stw r0, 0x20(r1) -/* 801192A4 00116204 91 61 00 24 */ stw r11, 0x24(r1) -/* 801192A8 00116208 48 02 2C 4D */ bl "__ct__21CTargetableProjectileFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfoRC11CDamageInfo9TUniqueId9TUniqueIdRC28TToken<18CWeaponDescription>9TUniqueIdUi" -/* 801192AC 0011620C 7C 77 1B 78 */ mr r23, r3 -lbl_801192B0: -/* 801192B0 00116210 80 7C 08 4C */ lwz r3, 0x84c(r28) -/* 801192B4 00116214 A0 1B 00 08 */ lhz r0, 8(r27) -/* 801192B8 00116218 A0 63 03 10 */ lhz r3, 0x310(r3) -/* 801192BC 0011621C 7C 03 00 40 */ cmplw r3, r0 -/* 801192C0 00116220 40 82 00 30 */ bne lbl_801192F0 -/* 801192C4 00116224 A0 01 00 44 */ lhz r0, 0x44(r1) -/* 801192C8 00116228 38 81 00 2C */ addi r4, r1, 0x2c -/* 801192CC 0011622C B0 01 00 2C */ sth r0, 0x2c(r1) -/* 801192D0 00116230 80 7C 08 4C */ lwz r3, 0x84c(r28) -/* 801192D4 00116234 4B F0 0A D1 */ bl ResetAimTargetPrediction__7CPlayerF9TUniqueId -/* 801192D8 00116238 A0 01 00 44 */ lhz r0, 0x44(r1) -/* 801192DC 0011623C 7F 85 E3 78 */ mr r5, r28 -/* 801192E0 00116240 38 81 00 28 */ addi r4, r1, 0x28 -/* 801192E4 00116244 B0 01 00 28 */ sth r0, 0x28(r1) -/* 801192E8 00116248 80 7C 08 4C */ lwz r3, 0x84c(r28) -/* 801192EC 0011624C 48 06 23 01 */ bl SetOrbitTargetId__7CPlayerF9TUniqueIdR13CStateManager -lbl_801192F0: -/* 801192F0 00116250 7E E3 BB 78 */ mr r3, r23 -/* 801192F4 00116254 48 00 00 08 */ b lbl_801192FC -lbl_801192F8: -/* 801192F8 00116258 38 60 00 00 */ li r3, 0 -lbl_801192FC: -/* 801192FC 0011625C BA E1 00 5C */ lmw r23, 0x5c(r1) -/* 80119300 00116260 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80119304 00116264 7C 08 03 A6 */ mtlr r0 -/* 80119308 00116268 38 21 00 80 */ addi r1, r1, 0x80 -/* 8011930C 0011626C 4E 80 00 20 */ blr - -.global GetCollisionResponseType__12CBloodFlowerCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__12CBloodFlowerCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 80119310 00116270 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80119314 00116274 7C 08 02 A6 */ mflr r0 -/* 80119318 00116278 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011931C 0011627C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80119320 00116280 7C DF 33 78 */ mr r31, r6 -/* 80119324 00116284 81 83 00 00 */ lwz r12, 0(r3) -/* 80119328 00116288 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8011932C 0011628C 7D 89 03 A6 */ mtctr r12 -/* 80119330 00116290 4E 80 04 21 */ bctrl -/* 80119334 00116294 7F E4 FB 78 */ mr r4, r31 -/* 80119338 00116298 38 A0 00 00 */ li r5, 0 -/* 8011933C 0011629C 4B FE 93 CD */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 80119340 001162A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80119344 001162A4 38 60 00 4E */ li r3, 0x4e -/* 80119348 001162A8 41 82 00 08 */ beq lbl_80119350 -/* 8011934C 001162AC 38 60 00 1C */ li r3, 0x1c -lbl_80119350: -/* 80119350 001162B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80119354 001162B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80119358 001162B8 7C 08 03 A6 */ mtlr r0 -/* 8011935C 001162BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80119360 001162C0 4E 80 00 20 */ blr - -.global sub_80119364 -sub_80119364: -/* 80119364 001162C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80119368 001162C8 7C 08 02 A6 */ mflr r0 -/* 8011936C 001162CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80119370 001162D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80119374 001162D4 7C 7F 1B 78 */ mr r31, r3 -/* 80119378 001162D8 80 64 09 00 */ lwz r3, 0x900(r4) -/* 8011937C 001162DC 48 1F 91 61 */ bl Float__9CRandom16Fv -/* 80119380 001162E0 FC 20 08 50 */ fneg f1, f1 -/* 80119384 001162E4 C0 1F 03 08 */ lfs f0, 0x308(r31) -/* 80119388 001162E8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8011938C 001162EC D0 1F 05 84 */ stfs f0, 0x584(r31) -/* 80119390 001162F0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80119394 001162F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80119398 001162F8 7C 08 03 A6 */ mtlr r0 -/* 8011939C 001162FC 38 21 00 10 */ addi r1, r1, 0x10 -/* 801193A0 00116300 4E 80 00 20 */ blr - -.global Render__12CBloodFlowerCFRC13CStateManager -Render__12CBloodFlowerCFRC13CStateManager: -/* 801193A4 00116304 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801193A8 00116308 7C 08 02 A6 */ mflr r0 -/* 801193AC 0011630C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801193B0 00116310 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801193B4 00116314 7C 7F 1B 78 */ mr r31, r3 -/* 801193B8 00116318 4B F5 EC 75 */ bl Render__10CPatternedCFRC13CStateManager -/* 801193BC 0011631C 80 7F 05 74 */ lwz r3, 0x574(r31) -/* 801193C0 00116320 81 83 00 00 */ lwz r12, 0(r3) -/* 801193C4 00116324 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 801193C8 00116328 7D 89 03 A6 */ mtctr r12 -/* 801193CC 0011632C 4E 80 04 21 */ bctrl -/* 801193D0 00116330 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801193D4 00116334 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801193D8 00116338 7C 08 03 A6 */ mtlr r0 -/* 801193DC 0011633C 38 21 00 10 */ addi r1, r1, 0x10 -/* 801193E0 00116340 4E 80 00 20 */ blr - -.global Think__12CBloodFlowerFfR13CStateManager -Think__12CBloodFlowerFfR13CStateManager: -/* 801193E4 00116344 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801193E8 00116348 7C 08 02 A6 */ mflr r0 -/* 801193EC 0011634C 90 01 00 24 */ stw r0, 0x24(r1) -/* 801193F0 00116350 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 801193F4 00116354 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 801193F8 00116358 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801193FC 0011635C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80119400 00116360 FF E0 08 90 */ fmr f31, f1 -/* 80119404 00116364 7C 7F 1B 78 */ mr r31, r3 -/* 80119408 00116368 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8011940C 0011636C 41 82 00 44 */ beq lbl_80119450 -/* 80119410 00116370 4B F6 07 09 */ bl Think__10CPatternedFfR13CStateManager -/* 80119414 00116374 80 7F 05 74 */ lwz r3, 0x574(r31) -/* 80119418 00116378 FC 20 F8 90 */ fmr f1, f31 -/* 8011941C 0011637C 81 83 00 00 */ lwz r12, 0(r3) -/* 80119420 00116380 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80119424 00116384 7D 89 03 A6 */ mtctr r12 -/* 80119428 00116388 4E 80 04 21 */ bctrl -/* 8011942C 0011638C C0 3F 05 BC */ lfs f1, 0x5bc(r31) -/* 80119430 00116390 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) -/* 80119434 00116394 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80119438 00116398 40 81 00 0C */ ble lbl_80119444 -/* 8011943C 0011639C EC 01 F8 28 */ fsubs f0, f1, f31 -/* 80119440 001163A0 D0 1F 05 BC */ stfs f0, 0x5bc(r31) -lbl_80119444: -/* 80119444 001163A4 C0 1F 05 C0 */ lfs f0, 0x5c0(r31) -/* 80119448 001163A8 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8011944C 001163AC D0 1F 05 C0 */ stfs f0, 0x5c0(r31) -lbl_80119450: -/* 80119450 001163B0 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80119454 001163B4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80119458 001163B8 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8011945C 001163BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80119460 001163C0 7C 08 03 A6 */ mtlr r0 -/* 80119464 001163C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80119468 001163C8 4E 80 00 20 */ blr - -.global DoUserAnimEvent__12CBloodFlowerFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__12CBloodFlowerFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 8011946C 001163CC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80119470 001163D0 7C 08 02 A6 */ mflr r0 -/* 80119474 001163D4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80119478 001163D8 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8011947C 001163DC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80119480 001163E0 BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 80119484 001163E4 7C DE 33 78 */ mr r30, r6 -/* 80119488 001163E8 FF E0 08 90 */ fmr f31, f1 -/* 8011948C 001163EC 2C 1E 00 06 */ cmpwi r30, 6 -/* 80119490 001163F0 7C 7B 1B 78 */ mr r27, r3 -/* 80119494 001163F4 7C 9C 23 78 */ mr r28, r4 -/* 80119498 001163F8 7C BD 2B 78 */ mr r29, r5 -/* 8011949C 001163FC 3B E0 00 00 */ li r31, 0 -/* 801194A0 00116400 41 82 00 14 */ beq lbl_801194B4 -/* 801194A4 00116404 40 80 00 A4 */ bge lbl_80119548 -/* 801194A8 00116408 2C 1E 00 00 */ cmpwi r30, 0 -/* 801194AC 0011640C 41 82 00 30 */ beq lbl_801194DC -/* 801194B0 00116410 48 00 00 98 */ b lbl_80119548 -lbl_801194B4: -/* 801194B4 00116414 80 BB 05 D8 */ lwz r5, 0x5d8(r27) -/* 801194B8 00116418 2C 05 00 00 */ cmpwi r5, 0 -/* 801194BC 0011641C 40 81 00 8C */ ble lbl_80119548 -/* 801194C0 00116420 2C 05 00 03 */ cmpwi r5, 3 -/* 801194C4 00116424 38 80 00 02 */ li r4, 2 -/* 801194C8 00116428 41 81 00 08 */ bgt lbl_801194D0 -/* 801194CC 0011642C 38 85 FF FF */ addi r4, r5, -1 -lbl_801194D0: -/* 801194D0 00116430 7F 85 E3 78 */ mr r5, r28 -/* 801194D4 00116434 4B FF FB 19 */ bl sub_80118fec -/* 801194D8 00116438 48 00 00 70 */ b lbl_80119548 -lbl_801194DC: -/* 801194DC 0011643C 80 1B 05 8C */ lwz r0, 0x58c(r27) -/* 801194E0 00116440 2C 00 00 02 */ cmpwi r0, 2 -/* 801194E4 00116444 41 82 00 60 */ beq lbl_80119544 -/* 801194E8 00116448 40 80 00 5C */ bge lbl_80119544 -/* 801194EC 0011644C 2C 00 00 01 */ cmpwi r0, 1 -/* 801194F0 00116450 40 80 00 08 */ bge lbl_801194F8 -/* 801194F4 00116454 48 00 00 50 */ b lbl_80119544 -lbl_801194F8: -/* 801194F8 00116458 C0 3B 05 BC */ lfs f1, 0x5bc(r27) -/* 801194FC 0011645C C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) -/* 80119500 00116460 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80119504 00116464 4C 40 13 82 */ cror 2, 0, 2 -/* 80119508 00116468 40 82 00 3C */ bne lbl_80119544 -/* 8011950C 0011646C 7F 64 DB 78 */ mr r4, r27 -/* 80119510 00116470 38 61 00 08 */ addi r3, r1, 8 -/* 80119514 00116474 38 BD 00 3C */ addi r5, r29, 0x3c -/* 80119518 00116478 4B F5 F4 61 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8011951C 0011647C C0 3B 06 14 */ lfs f1, 0x614(r27) -/* 80119520 00116480 7F 63 DB 78 */ mr r3, r27 -/* 80119524 00116484 7F 85 E3 78 */ mr r5, r28 -/* 80119528 00116488 38 81 00 08 */ addi r4, r1, 8 -/* 8011952C 0011648C 38 C0 00 05 */ li r6, 5 -/* 80119530 00116490 4B FF F7 CD */ bl sub_80118cfc -/* 80119534 00116494 38 00 00 00 */ li r0, 0 -/* 80119538 00116498 C0 02 96 94 */ lfs f0, lbl_805AB3B4@sda21(r2) -/* 8011953C 0011649C 90 1B 05 8C */ stw r0, 0x58c(r27) -/* 80119540 001164A0 D0 1B 05 BC */ stfs f0, 0x5bc(r27) -lbl_80119544: -/* 80119544 001164A4 3B E0 00 01 */ li r31, 1 -lbl_80119548: -/* 80119548 001164A8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8011954C 001164AC 40 82 00 1C */ bne lbl_80119568 -/* 80119550 001164B0 FC 20 F8 90 */ fmr f1, f31 -/* 80119554 001164B4 7F 63 DB 78 */ mr r3, r27 -/* 80119558 001164B8 7F 84 E3 78 */ mr r4, r28 -/* 8011955C 001164BC 7F A5 EB 78 */ mr r5, r29 -/* 80119560 001164C0 7F C6 F3 78 */ mr r6, r30 -/* 80119564 001164C4 4B F5 F9 4D */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_80119568: -/* 80119568 001164C8 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8011956C 001164CC CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80119570 001164D0 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 80119574 001164D4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80119578 001164D8 7C 08 03 A6 */ mtlr r0 -/* 8011957C 001164DC 38 21 00 60 */ addi r1, r1, 0x60 -/* 80119580 001164E0 4E 80 00 20 */ blr - -.global ShouldAttack__12CBloodFlowerFR13CStateManagerf -ShouldAttack__12CBloodFlowerFR13CStateManagerf: -/* 80119584 001164E4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80119588 001164E8 7C 08 02 A6 */ mflr r0 -/* 8011958C 001164EC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80119590 001164F0 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80119594 001164F4 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80119598 001164F8 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 8011959C 001164FC F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 801195A0 00116500 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801195A4 00116504 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801195A8 00116508 81 83 00 00 */ lwz r12, 0(r3) -/* 801195AC 0011650C 7C 7E 1B 78 */ mr r30, r3 -/* 801195B0 00116510 7C 9F 23 78 */ mr r31, r4 -/* 801195B4 00116514 C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) -/* 801195B8 00116518 81 8C 01 9C */ lwz r12, 0x19c(r12) -/* 801195BC 0011651C 7D 89 03 A6 */ mtctr r12 -/* 801195C0 00116520 4E 80 04 21 */ bctrl -/* 801195C4 00116524 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801195C8 00116528 41 82 00 0C */ beq lbl_801195D4 -/* 801195CC 0011652C 38 60 00 00 */ li r3, 0 -/* 801195D0 00116530 48 00 00 6C */ b lbl_8011963C -lbl_801195D4: -/* 801195D4 00116534 C0 3E 05 84 */ lfs f1, 0x584(r30) -/* 801195D8 00116538 C0 1E 03 04 */ lfs f0, 0x304(r30) -/* 801195DC 0011653C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801195E0 00116540 40 81 00 58 */ ble lbl_80119638 -/* 801195E4 00116544 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 801195E8 00116548 C3 E3 00 60 */ lfs f31, 0x60(r3) -/* 801195EC 0011654C 48 16 B7 F5 */ bl GetEyeHeight__7CPlayerCFv -/* 801195F0 00116550 C0 9E 00 60 */ lfs f4, 0x60(r30) -/* 801195F4 00116554 EF FF 08 2A */ fadds f31, f31, f1 -/* 801195F8 00116558 C0 1E 06 14 */ lfs f0, 0x614(r30) -/* 801195FC 0011655C 7F C3 F3 78 */ mr r3, r30 -/* 80119600 00116560 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 80119604 00116564 7F E4 FB 78 */ mr r4, r31 -/* 80119608 00116568 EC 00 20 2A */ fadds f0, f0, f4 -/* 8011960C 0011656C C0 3E 05 88 */ lfs f1, 0x588(r30) -/* 80119610 00116570 C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 80119614 00116574 EF C1 00 2A */ fadds f30, f1, f0 -/* 80119618 00116578 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8011961C 0011657C D0 41 00 08 */ stfs f2, 8(r1) -/* 80119620 00116580 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80119624 00116584 4B FF FD 41 */ bl sub_80119364 -/* 80119628 00116588 FC 1F F0 40 */ fcmpo cr0, f31, f30 -/* 8011962C 0011658C 40 80 00 0C */ bge lbl_80119638 -/* 80119630 00116590 38 60 00 01 */ li r3, 1 -/* 80119634 00116594 48 00 00 08 */ b lbl_8011963C -lbl_80119638: -/* 80119638 00116598 38 60 00 00 */ li r3, 0 -lbl_8011963C: -/* 8011963C 0011659C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80119640 001165A0 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80119644 001165A4 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80119648 001165A8 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8011964C 001165AC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80119650 001165B0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80119654 001165B4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80119658 001165B8 7C 08 03 A6 */ mtlr r0 -/* 8011965C 001165BC 38 21 00 40 */ addi r1, r1, 0x40 -/* 80119660 001165C0 4E 80 00 20 */ blr - -.global ShouldTurn__12CBloodFlowerFR13CStateManagerf -ShouldTurn__12CBloodFlowerFR13CStateManagerf: -/* 80119664 001165C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80119668 001165C8 7C 08 02 A6 */ mflr r0 -/* 8011966C 001165CC C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) -/* 80119670 001165D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80119674 001165D4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80119678 001165D8 7C 9F 23 78 */ mr r31, r4 -/* 8011967C 001165DC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80119680 001165E0 7C 7E 1B 78 */ mr r30, r3 -/* 80119684 001165E4 81 83 00 00 */ lwz r12, 0(r3) -/* 80119688 001165E8 81 8C 01 9C */ lwz r12, 0x19c(r12) -/* 8011968C 001165EC 7D 89 03 A6 */ mtctr r12 -/* 80119690 001165F0 4E 80 04 21 */ bctrl -/* 80119694 001165F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80119698 001165F8 41 82 00 0C */ beq lbl_801196A4 -/* 8011969C 001165FC 38 60 00 00 */ li r3, 0 -/* 801196A0 00116600 48 00 00 A4 */ b lbl_80119744 -lbl_801196A4: -/* 801196A4 00116604 C0 7E 00 58 */ lfs f3, 0x58(r30) -/* 801196A8 00116608 38 61 00 14 */ addi r3, r1, 0x14 -/* 801196AC 0011660C C0 5E 00 48 */ lfs f2, 0x48(r30) -/* 801196B0 00116610 C0 3E 00 38 */ lfs f1, 0x38(r30) -/* 801196B4 00116614 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) -/* 801196B8 00116618 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 801196BC 0011661C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 801196C0 00116620 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 801196C4 00116624 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 801196C8 00116628 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 801196CC 0011662C C0 44 00 50 */ lfs f2, 0x50(r4) -/* 801196D0 00116630 C0 84 00 60 */ lfs f4, 0x60(r4) -/* 801196D4 00116634 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 801196D8 00116638 EC A2 08 28 */ fsubs f5, f2, f1 -/* 801196DC 0011663C C0 44 00 40 */ lfs f2, 0x40(r4) -/* 801196E0 00116640 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 801196E4 00116644 EC 64 18 28 */ fsubs f3, f4, f3 -/* 801196E8 00116648 EC 22 08 28 */ fsubs f1, f2, f1 -/* 801196EC 0011664C D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 801196F0 00116650 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 801196F4 00116654 D0 21 00 08 */ stfs f1, 8(r1) -/* 801196F8 00116658 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 801196FC 0011665C 48 1F B1 FD */ bl Normalize__9CVector3fFv -/* 80119700 00116660 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) -/* 80119704 00116664 38 61 00 08 */ addi r3, r1, 8 -/* 80119708 00116668 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8011970C 0011666C 48 1F B1 ED */ bl Normalize__9CVector3fFv -/* 80119710 00116670 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80119714 00116674 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80119718 00116678 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8011971C 0011667C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80119720 00116680 C0 21 00 08 */ lfs f1, 8(r1) -/* 80119724 00116684 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 80119728 00116688 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8011972C 0011668C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80119730 00116690 C0 02 96 98 */ lfs f0, lbl_805AB3B8@sda21(r2) -/* 80119734 00116694 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80119738 00116698 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011973C 0011669C 7C 00 00 26 */ mfcr r0 -/* 80119740 001166A0 54 03 0F FE */ srwi r3, r0, 0x1f -lbl_80119744: -/* 80119744 001166A4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80119748 001166A8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011974C 001166AC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80119750 001166B0 7C 08 03 A6 */ mtlr r0 -/* 80119754 001166B4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80119758 001166B8 4E 80 00 20 */ blr - -.global Leash__12CBloodFlowerFR13CStateManager9EStateMsgf -Leash__12CBloodFlowerFR13CStateManager9EStateMsgf: -/* 8011975C 001166BC C0 23 05 C0 */ lfs f1, 0x5c0(r3) -/* 80119760 001166C0 C0 03 03 D0 */ lfs f0, 0x3d0(r3) -/* 80119764 001166C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80119768 001166C8 7C 00 00 26 */ mfcr r0 -/* 8011976C 001166CC 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 80119770 001166D0 4E 80 00 20 */ blr - -.global PodAttack__12CBloodFlowerFR13CStateManager9EStateMsgf -PodAttack__12CBloodFlowerFR13CStateManager9EStateMsgf: -/* 80119774 001166D4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80119778 001166D8 7C 08 02 A6 */ mflr r0 -/* 8011977C 001166DC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80119780 001166E0 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80119784 001166E4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 80119788 001166E8 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8011978C 001166EC 93 C1 00 98 */ stw r30, 0x98(r1) -/* 80119790 001166F0 93 A1 00 94 */ stw r29, 0x94(r1) -/* 80119794 001166F4 FF E0 08 90 */ fmr f31, f1 -/* 80119798 001166F8 2C 05 00 01 */ cmpwi r5, 1 -/* 8011979C 001166FC 7C 7E 1B 78 */ mr r30, r3 -/* 801197A0 00116700 7C 9F 23 78 */ mr r31, r4 -/* 801197A4 00116704 41 82 00 F8 */ beq lbl_8011989C -/* 801197A8 00116708 40 80 00 10 */ bge lbl_801197B8 -/* 801197AC 0011670C 2C 05 00 00 */ cmpwi r5, 0 -/* 801197B0 00116710 40 80 00 14 */ bge lbl_801197C4 -/* 801197B4 00116714 48 00 02 54 */ b lbl_80119A08 -lbl_801197B8: -/* 801197B8 00116718 2C 05 00 03 */ cmpwi r5, 3 -/* 801197BC 0011671C 40 80 02 4C */ bge lbl_80119A08 -/* 801197C0 00116720 48 00 01 84 */ b lbl_80119944 -lbl_801197C4: -/* 801197C4 00116724 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 801197C8 00116728 3C 60 80 5A */ lis r3, skZero3f@ha -/* 801197CC 0011672C C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 801197D0 00116730 38 E4 AA 68 */ addi r7, r4, lbl_803DAA68@l -/* 801197D4 00116734 3C 80 80 3E */ lis r4, lbl_803DA9D8@ha -/* 801197D8 00116738 90 E1 00 6C */ stw r7, 0x6c(r1) -/* 801197DC 0011673C 38 00 00 00 */ li r0, 0 -/* 801197E0 00116740 C0 23 00 04 */ lfs f1, 4(r3) -/* 801197E4 00116744 C0 03 00 08 */ lfs f0, 8(r3) -/* 801197E8 00116748 38 A4 A9 D8 */ addi r5, r4, lbl_803DA9D8@l -/* 801197EC 0011674C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 801197F0 00116750 38 C0 00 05 */ li r6, 5 -/* 801197F4 00116754 90 C1 00 70 */ stw r6, 0x70(r1) -/* 801197F8 00116758 38 80 00 05 */ li r4, 5 -/* 801197FC 0011675C 3B A3 00 04 */ addi r29, r3, 4 -/* 80119800 00116760 90 A1 00 6C */ stw r5, 0x6c(r1) -/* 80119804 00116764 7F A3 EB 78 */ mr r3, r29 -/* 80119808 00116768 90 01 00 74 */ stw r0, 0x74(r1) -/* 8011980C 0011676C D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80119810 00116770 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 80119814 00116774 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80119818 00116778 98 01 00 84 */ stb r0, 0x84(r1) -/* 8011981C 0011677C 48 01 7C 1D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80119820 00116780 80 01 00 70 */ lwz r0, 0x70(r1) -/* 80119824 00116784 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha -/* 80119828 00116788 38 C3 A9 D8 */ addi r6, r3, lbl_803DA9D8@l -/* 8011982C 0011678C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80119830 00116790 90 1D 01 10 */ stw r0, 0x110(r29) -/* 80119834 00116794 38 00 00 02 */ li r0, 2 -/* 80119838 00116798 81 01 00 74 */ lwz r8, 0x74(r1) -/* 8011983C 0011679C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 80119840 001167A0 80 E1 00 78 */ lwz r7, 0x78(r1) -/* 80119844 001167A4 38 80 00 01 */ li r4, 1 -/* 80119848 001167A8 91 1D 01 14 */ stw r8, 0x114(r29) -/* 8011984C 001167AC 80 61 00 7C */ lwz r3, 0x7c(r1) -/* 80119850 001167B0 90 FD 01 18 */ stw r7, 0x118(r29) -/* 80119854 001167B4 80 E1 00 80 */ lwz r7, 0x80(r1) -/* 80119858 001167B8 90 7D 01 1C */ stw r3, 0x11c(r29) -/* 8011985C 001167BC 88 61 00 84 */ lbz r3, 0x84(r1) -/* 80119860 001167C0 90 FD 01 20 */ stw r7, 0x120(r29) -/* 80119864 001167C4 98 7D 01 24 */ stb r3, 0x124(r29) -/* 80119868 001167C8 90 1E 05 8C */ stw r0, 0x58c(r30) -/* 8011986C 001167CC 80 7E 05 74 */ lwz r3, 0x574(r30) -/* 80119870 001167D0 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 80119874 001167D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80119878 001167D8 90 A1 00 6C */ stw r5, 0x6c(r1) -/* 8011987C 001167DC 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80119880 001167E0 7D 89 03 A6 */ mtctr r12 -/* 80119884 001167E4 4E 80 04 21 */ bctrl -/* 80119888 001167E8 7F C3 F3 78 */ mr r3, r30 -/* 8011988C 001167EC 7F E4 FB 78 */ mr r4, r31 -/* 80119890 001167F0 38 A0 00 01 */ li r5, 1 -/* 80119894 001167F4 48 00 01 99 */ bl sub_80119a2c -/* 80119898 001167F8 48 00 01 70 */ b lbl_80119A08 -lbl_8011989C: -/* 8011989C 001167FC 81 83 00 00 */ lwz r12, 0(r3) -/* 801198A0 00116800 C0 22 96 7C */ lfs f1, lbl_805AB39C@sda21(r2) -/* 801198A4 00116804 81 8C 01 9C */ lwz r12, 0x19c(r12) -/* 801198A8 00116808 7D 89 03 A6 */ mtctr r12 -/* 801198AC 0011680C 4E 80 04 21 */ bctrl -/* 801198B0 00116810 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801198B4 00116814 41 82 01 54 */ beq lbl_80119A08 -/* 801198B8 00116818 80 AD 8A 68 */ lwz r5, lbl_805A7628@sda21(r13) -/* 801198BC 0011681C 38 60 00 00 */ li r3, 0 -/* 801198C0 00116820 38 80 00 01 */ li r4, 1 -/* 801198C4 00116824 48 27 06 31 */ bl __shl2i -/* 801198C8 00116828 38 A0 00 00 */ li r5, 0 -/* 801198CC 0011682C 38 00 00 03 */ li r0, 3 -/* 801198D0 00116830 90 81 00 3C */ stw r4, 0x3c(r1) -/* 801198D4 00116834 FC 20 F8 90 */ fmr f1, f31 -/* 801198D8 00116838 38 9E 05 F8 */ addi r4, r30, 0x5f8 -/* 801198DC 0011683C 90 61 00 38 */ stw r3, 0x38(r1) -/* 801198E0 00116840 38 61 00 50 */ addi r3, r1, 0x50 -/* 801198E4 00116844 90 A1 00 44 */ stw r5, 0x44(r1) -/* 801198E8 00116848 90 A1 00 40 */ stw r5, 0x40(r1) -/* 801198EC 0011684C 90 01 00 48 */ stw r0, 0x48(r1) -/* 801198F0 00116850 A0 1E 00 08 */ lhz r0, 8(r30) -/* 801198F4 00116854 B0 01 00 0C */ sth r0, 0xc(r1) -/* 801198F8 00116858 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 801198FC 0011685C B0 01 00 08 */ sth r0, 8(r1) -/* 80119900 00116860 A0 A5 00 08 */ lhz r5, 8(r5) -/* 80119904 00116864 B0 A1 00 14 */ sth r5, 0x14(r1) -/* 80119908 00116868 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8011990C 0011686C B0 A1 00 10 */ sth r5, 0x10(r1) -/* 80119910 00116870 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80119914 00116874 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80119918 00116878 4B FA 9B 31 */ bl __ct__11CDamageInfoFRC11CDamageInfof -/* 8011991C 0011687C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80119920 00116880 7F E3 FB 78 */ mr r3, r31 -/* 80119924 00116884 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80119928 00116888 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8011992C 0011688C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80119930 00116890 38 C1 00 0C */ addi r6, r1, 0xc -/* 80119934 00116894 38 E1 00 50 */ addi r7, r1, 0x50 -/* 80119938 00116898 39 01 00 38 */ addi r8, r1, 0x38 -/* 8011993C 0011689C 4B F3 07 65 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80119940 001168A0 48 00 00 C8 */ b lbl_80119A08 -lbl_80119944: -/* 80119944 001168A4 80 7E 05 74 */ lwz r3, 0x574(r30) -/* 80119948 001168A8 38 80 00 00 */ li r4, 0 -/* 8011994C 001168AC 81 83 00 00 */ lwz r12, 0(r3) -/* 80119950 001168B0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80119954 001168B4 7D 89 03 A6 */ mtctr r12 -/* 80119958 001168B8 4E 80 04 21 */ bctrl -/* 8011995C 001168BC 7F C3 F3 78 */ mr r3, r30 -/* 80119960 001168C0 7F E4 FB 78 */ mr r4, r31 -/* 80119964 001168C4 38 A0 00 00 */ li r5, 0 -/* 80119968 001168C8 48 00 00 C5 */ bl sub_80119a2c -/* 8011996C 001168CC 3C A0 80 3E */ lis r5, lbl_803DAA68@ha -/* 80119970 001168D0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80119974 001168D4 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80119978 001168D8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8011997C 001168DC 38 E5 AA 68 */ addi r7, r5, lbl_803DAA68@l -/* 80119980 001168E0 C0 44 00 00 */ lfs f2, 0(r4) -/* 80119984 001168E4 C0 24 00 04 */ lfs f1, 4(r4) -/* 80119988 001168E8 3C A0 80 3E */ lis r5, lbl_803DAA44@ha -/* 8011998C 001168EC C0 04 00 08 */ lfs f0, 8(r4) -/* 80119990 001168F0 38 C0 00 04 */ li r6, 4 -/* 80119994 001168F4 38 00 00 01 */ li r0, 1 -/* 80119998 001168F8 3B A3 00 04 */ addi r29, r3, 4 -/* 8011999C 001168FC 90 E1 00 20 */ stw r7, 0x20(r1) -/* 801199A0 00116900 38 A5 AA 44 */ addi r5, r5, lbl_803DAA44@l -/* 801199A4 00116904 7F A3 EB 78 */ mr r3, r29 -/* 801199A8 00116908 38 80 00 04 */ li r4, 4 -/* 801199AC 0011690C 90 C1 00 24 */ stw r6, 0x24(r1) -/* 801199B0 00116910 90 A1 00 20 */ stw r5, 0x20(r1) -/* 801199B4 00116914 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 801199B8 00116918 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 801199BC 0011691C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 801199C0 00116920 90 01 00 34 */ stw r0, 0x34(r1) -/* 801199C4 00116924 48 01 7A 75 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801199C8 00116928 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801199CC 0011692C 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 801199D0 00116930 38 83 AA 44 */ addi r4, r3, lbl_803DAA44@l -/* 801199D4 00116934 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801199D8 00116938 90 1D 00 F8 */ stw r0, 0xf8(r29) -/* 801199DC 0011693C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801199E0 00116940 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 801199E4 00116944 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 801199E8 00116948 90 BD 00 FC */ stw r5, 0xfc(r29) -/* 801199EC 0011694C 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 801199F0 00116950 90 7D 01 00 */ stw r3, 0x100(r29) -/* 801199F4 00116954 80 61 00 34 */ lwz r3, 0x34(r1) -/* 801199F8 00116958 90 BD 01 04 */ stw r5, 0x104(r29) -/* 801199FC 0011695C 90 81 00 20 */ stw r4, 0x20(r1) -/* 80119A00 00116960 90 7D 01 08 */ stw r3, 0x108(r29) -/* 80119A04 00116964 90 01 00 20 */ stw r0, 0x20(r1) -lbl_80119A08: -/* 80119A08 00116968 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80119A0C 0011696C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80119A10 00116970 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80119A14 00116974 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 80119A18 00116978 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 80119A1C 0011697C 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 80119A20 00116980 7C 08 03 A6 */ mtlr r0 -/* 80119A24 00116984 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80119A28 00116988 4E 80 00 20 */ blr - -.global sub_80119a2c -sub_80119a2c: -/* 80119A2C 0011698C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80119A30 00116990 7C 08 02 A6 */ mflr r0 -/* 80119A34 00116994 90 01 00 44 */ stw r0, 0x44(r1) -/* 80119A38 00116998 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80119A3C 0011699C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80119A40 001169A0 7C BE 2B 78 */ mr r30, r5 -/* 80119A44 001169A4 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80119A48 001169A8 7C 9D 23 78 */ mr r29, r4 -/* 80119A4C 001169AC 93 81 00 30 */ stw r28, 0x30(r1) -/* 80119A50 001169B0 7C 7C 1B 78 */ mr r28, r3 -/* 80119A54 001169B4 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 80119A58 001169B8 48 00 00 A4 */ b lbl_80119AFC -lbl_80119A5C: -/* 80119A5C 001169BC 80 1F 00 08 */ lwz r0, 8(r31) -/* 80119A60 001169C0 7F A4 EB 78 */ mr r4, r29 -/* 80119A64 001169C4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80119A68 001169C8 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80119A6C 001169CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80119A70 001169D0 4B F2 E5 59 */ bl GetIdListForScript__13CStateManagerCF9TEditorId -/* 80119A74 001169D4 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 80119A78 001169D8 38 60 00 00 */ li r3, 0 -/* 80119A7C 001169DC 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80119A80 001169E0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80119A84 001169E4 7C 05 00 40 */ cmplw r5, r0 -/* 80119A88 001169E8 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80119A8C 001169EC 40 82 00 0C */ bne lbl_80119A98 -/* 80119A90 001169F0 7C 04 00 40 */ cmplw r4, r0 -/* 80119A94 001169F4 41 82 00 08 */ beq lbl_80119A9C -lbl_80119A98: -/* 80119A98 001169F8 38 60 00 01 */ li r3, 1 -lbl_80119A9C: -/* 80119A9C 001169FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80119AA0 00116A00 41 82 00 58 */ beq lbl_80119AF8 -/* 80119AA4 00116A04 A0 05 00 14 */ lhz r0, 0x14(r5) -/* 80119AA8 00116A08 7F A3 EB 78 */ mr r3, r29 -/* 80119AAC 00116A0C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80119AB0 00116A10 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80119AB4 00116A14 4B F3 2A C1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80119AB8 00116A18 7C 64 1B 78 */ mr r4, r3 -/* 80119ABC 00116A1C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80119AC0 00116A20 4B F8 D4 29 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FP7CEntity" -/* 80119AC4 00116A24 80 83 00 04 */ lwz r4, 4(r3) -/* 80119AC8 00116A28 28 04 00 00 */ cmplwi r4, 0 -/* 80119ACC 00116A2C 41 82 00 2C */ beq lbl_80119AF8 -/* 80119AD0 00116A30 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80119AD4 00116A34 38 C0 00 04 */ li r6, 4 -/* 80119AD8 00116A38 41 82 00 08 */ beq lbl_80119AE0 -/* 80119ADC 00116A3C 38 C0 00 01 */ li r6, 1 -lbl_80119AE0: -/* 80119AE0 00116A40 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80119AE4 00116A44 7F A3 EB 78 */ mr r3, r29 -/* 80119AE8 00116A48 38 A1 00 0C */ addi r5, r1, 0xc -/* 80119AEC 00116A4C B0 01 00 08 */ sth r0, 8(r1) -/* 80119AF0 00116A50 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80119AF4 00116A54 4B F2 A3 DD */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_80119AF8: -/* 80119AF8 00116A58 3B FF 00 0C */ addi r31, r31, 0xc -lbl_80119AFC: -/* 80119AFC 00116A5C 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 80119B00 00116A60 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 80119B04 00116A64 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80119B08 00116A68 7C 03 02 14 */ add r0, r3, r0 -/* 80119B0C 00116A6C 7C 1F 00 40 */ cmplw r31, r0 -/* 80119B10 00116A70 40 82 FF 4C */ bne lbl_80119A5C -/* 80119B14 00116A74 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80119B18 00116A78 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80119B1C 00116A7C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80119B20 00116A80 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80119B24 00116A84 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80119B28 00116A88 7C 08 03 A6 */ mtlr r0 -/* 80119B2C 00116A8C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80119B30 00116A90 4E 80 00 20 */ blr - -.global BulbAttack__12CBloodFlowerFR13CStateManager9EStateMsgf -BulbAttack__12CBloodFlowerFR13CStateManager9EStateMsgf: -/* 80119B34 00116A94 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80119B38 00116A98 7C 08 02 A6 */ mflr r0 -/* 80119B3C 00116A9C 2C 05 00 00 */ cmpwi r5, 0 -/* 80119B40 00116AA0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80119B44 00116AA4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80119B48 00116AA8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80119B4C 00116AAC 7C 7E 1B 78 */ mr r30, r3 -/* 80119B50 00116AB0 41 82 00 0C */ beq lbl_80119B5C -/* 80119B54 00116AB4 41 80 00 B8 */ blt lbl_80119C0C -/* 80119B58 00116AB8 48 00 00 B4 */ b lbl_80119C0C -lbl_80119B5C: -/* 80119B5C 00116ABC 80 A4 08 4C */ lwz r5, 0x84c(r4) -/* 80119B60 00116AC0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80119B64 00116AC4 38 C3 AA 68 */ addi r6, r3, lbl_803DAA68@l -/* 80119B68 00116AC8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80119B6C 00116ACC C0 45 00 60 */ lfs f2, 0x60(r5) -/* 80119B70 00116AD0 3C 80 80 3E */ lis r4, lbl_803DA9CC@ha -/* 80119B74 00116AD4 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 80119B78 00116AD8 38 E0 00 06 */ li r7, 6 -/* 80119B7C 00116ADC C0 05 00 40 */ lfs f0, 0x40(r5) -/* 80119B80 00116AE0 38 A0 00 00 */ li r5, 0 -/* 80119B84 00116AE4 38 00 00 01 */ li r0, 1 -/* 80119B88 00116AE8 3B E3 00 04 */ addi r31, r3, 4 -/* 80119B8C 00116AEC 90 C1 00 08 */ stw r6, 8(r1) -/* 80119B90 00116AF0 38 C4 A9 CC */ addi r6, r4, lbl_803DA9CC@l -/* 80119B94 00116AF4 7F E3 FB 78 */ mr r3, r31 -/* 80119B98 00116AF8 38 80 00 06 */ li r4, 6 -/* 80119B9C 00116AFC 90 E1 00 0C */ stw r7, 0xc(r1) -/* 80119BA0 00116B00 90 C1 00 08 */ stw r6, 8(r1) -/* 80119BA4 00116B04 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80119BA8 00116B08 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80119BAC 00116B0C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80119BB0 00116B10 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80119BB4 00116B14 98 01 00 20 */ stb r0, 0x20(r1) -/* 80119BB8 00116B18 48 01 78 81 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80119BBC 00116B1C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80119BC0 00116B20 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha -/* 80119BC4 00116B24 38 83 A9 CC */ addi r4, r3, lbl_803DA9CC@l -/* 80119BC8 00116B28 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80119BCC 00116B2C 90 1F 01 2C */ stw r0, 0x12c(r31) -/* 80119BD0 00116B30 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 80119BD4 00116B34 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80119BD8 00116B38 38 00 00 01 */ li r0, 1 -/* 80119BDC 00116B3C 80 C1 00 14 */ lwz r6, 0x14(r1) -/* 80119BE0 00116B40 90 BF 01 30 */ stw r5, 0x130(r31) -/* 80119BE4 00116B44 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80119BE8 00116B48 90 DF 01 34 */ stw r6, 0x134(r31) -/* 80119BEC 00116B4C 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 80119BF0 00116B50 90 BF 01 38 */ stw r5, 0x138(r31) -/* 80119BF4 00116B54 88 A1 00 20 */ lbz r5, 0x20(r1) -/* 80119BF8 00116B58 90 DF 01 3C */ stw r6, 0x13c(r31) -/* 80119BFC 00116B5C 98 BF 01 40 */ stb r5, 0x140(r31) -/* 80119C00 00116B60 90 81 00 08 */ stw r4, 8(r1) -/* 80119C04 00116B64 90 61 00 08 */ stw r3, 8(r1) -/* 80119C08 00116B68 90 1E 05 8C */ stw r0, 0x58c(r30) -lbl_80119C0C: -/* 80119C0C 00116B6C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80119C10 00116B70 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80119C14 00116B74 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80119C18 00116B78 7C 08 03 A6 */ mtlr r0 -/* 80119C1C 00116B7C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80119C20 00116B80 4E 80 00 20 */ blr - -.global Active__12CBloodFlowerFR13CStateManager9EStateMsgf -Active__12CBloodFlowerFR13CStateManager9EStateMsgf: -/* 80119C24 00116B84 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80119C28 00116B88 7C 08 02 A6 */ mflr r0 -/* 80119C2C 00116B8C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80119C30 00116B90 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80119C34 00116B94 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80119C38 00116B98 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80119C3C 00116B9C 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80119C40 00116BA0 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80119C44 00116BA4 FF E0 08 90 */ fmr f31, f1 -/* 80119C48 00116BA8 2C 05 00 01 */ cmpwi r5, 1 -/* 80119C4C 00116BAC 7C 7E 1B 78 */ mr r30, r3 -/* 80119C50 00116BB0 7C 9F 23 78 */ mr r31, r4 -/* 80119C54 00116BB4 41 82 00 30 */ beq lbl_80119C84 -/* 80119C58 00116BB8 40 80 00 10 */ bge lbl_80119C68 -/* 80119C5C 00116BBC 2C 05 00 00 */ cmpwi r5, 0 -/* 80119C60 00116BC0 40 80 00 14 */ bge lbl_80119C74 -/* 80119C64 00116BC4 48 00 01 84 */ b lbl_80119DE8 -lbl_80119C68: -/* 80119C68 00116BC8 2C 05 00 03 */ cmpwi r5, 3 -/* 80119C6C 00116BCC 40 80 01 7C */ bge lbl_80119DE8 -/* 80119C70 00116BD0 48 00 01 10 */ b lbl_80119D80 -lbl_80119C74: -/* 80119C74 00116BD4 38 00 00 01 */ li r0, 1 -/* 80119C78 00116BD8 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80119C7C 00116BDC 4B FF F6 E9 */ bl sub_80119364 -/* 80119C80 00116BE0 48 00 01 68 */ b lbl_80119DE8 -lbl_80119C84: -/* 80119C84 00116BE4 3C A0 80 3E */ lis r5, lbl_803E0344@ha -/* 80119C88 00116BE8 38 C1 00 2C */ addi r6, r1, 0x2c -/* 80119C8C 00116BEC 39 45 03 44 */ addi r10, r5, lbl_803E0344@l -/* 80119C90 00116BF0 38 A0 00 0A */ li r5, 0xa -/* 80119C94 00116BF4 81 2A 00 00 */ lwz r9, 0(r10) -/* 80119C98 00116BF8 38 E0 00 00 */ li r7, 0 -/* 80119C9C 00116BFC 81 0A 00 04 */ lwz r8, 4(r10) -/* 80119CA0 00116C00 80 0A 00 08 */ lwz r0, 8(r10) -/* 80119CA4 00116C04 91 21 00 2C */ stw r9, 0x2c(r1) -/* 80119CA8 00116C08 91 01 00 30 */ stw r8, 0x30(r1) -/* 80119CAC 00116C0C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80119CB0 00116C10 4B F6 2B 05 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80119CB4 00116C14 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 80119CB8 00116C18 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80119CBC 00116C1C 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 80119CC0 00116C20 3C 80 80 3E */ lis r4, lbl_803E061C@ha -/* 80119CC4 00116C24 90 01 00 18 */ stw r0, 0x18(r1) -/* 80119CC8 00116C28 38 04 06 1C */ addi r0, r4, lbl_803E061C@l -/* 80119CCC 00116C2C 38 80 00 18 */ li r4, 0x18 -/* 80119CD0 00116C30 3B A3 00 04 */ addi r29, r3, 4 -/* 80119CD4 00116C34 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80119CD8 00116C38 7F A3 EB 78 */ mr r3, r29 -/* 80119CDC 00116C3C 38 80 00 18 */ li r4, 0x18 -/* 80119CE0 00116C40 90 01 00 18 */ stw r0, 0x18(r1) -/* 80119CE4 00116C44 48 01 77 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80119CE8 00116C48 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80119CEC 00116C4C 3C 60 80 3E */ lis r3, lbl_803E061C@ha -/* 80119CF0 00116C50 38 C3 06 1C */ addi r6, r3, lbl_803E061C@l -/* 80119CF4 00116C54 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80119CF8 00116C58 90 1D 02 74 */ stw r0, 0x274(r29) -/* 80119CFC 00116C5C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80119D00 00116C60 38 61 00 20 */ addi r3, r1, 0x20 -/* 80119D04 00116C64 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80119D08 00116C68 C0 1E 05 84 */ lfs f0, 0x584(r30) -/* 80119D0C 00116C6C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80119D10 00116C70 90 C1 00 18 */ stw r6, 0x18(r1) -/* 80119D14 00116C74 EC 00 F8 2A */ fadds f0, f0, f31 -/* 80119D18 00116C78 90 01 00 18 */ stw r0, 0x18(r1) -/* 80119D1C 00116C7C D0 1E 05 84 */ stfs f0, 0x584(r30) -/* 80119D20 00116C80 80 DF 08 4C */ lwz r6, 0x84c(r31) -/* 80119D24 00116C84 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80119D28 00116C88 C0 26 00 50 */ lfs f1, 0x50(r6) -/* 80119D2C 00116C8C C0 66 00 60 */ lfs f3, 0x60(r6) -/* 80119D30 00116C90 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80119D34 00116C94 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80119D38 00116C98 C0 26 00 40 */ lfs f1, 0x40(r6) -/* 80119D3C 00116C9C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80119D40 00116CA0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80119D44 00116CA4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80119D48 00116CA8 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 80119D4C 00116CAC D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80119D50 00116CB0 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80119D54 00116CB4 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80119D58 00116CB8 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 80119D5C 00116CBC 48 1F 8C C9 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80119D60 00116CC0 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80119D64 00116CC4 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80119D68 00116CC8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80119D6C 00116CCC C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80119D70 00116CD0 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 80119D74 00116CD4 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 80119D78 00116CD8 D0 43 00 30 */ stfs f2, 0x30(r3) -/* 80119D7C 00116CDC 48 00 00 6C */ b lbl_80119DE8 -lbl_80119D80: -/* 80119D80 00116CE0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80119D84 00116CE4 38 00 00 0A */ li r0, 0xa -/* 80119D88 00116CE8 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 80119D8C 00116CEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80119D90 00116CF0 38 81 00 10 */ addi r4, r1, 0x10 -/* 80119D94 00116CF4 90 61 00 10 */ stw r3, 0x10(r1) -/* 80119D98 00116CF8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80119D9C 00116CFC 38 63 00 04 */ addi r3, r3, 4 -/* 80119DA0 00116D00 48 01 7A 19 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 80119DA4 00116D04 34 01 00 10 */ addic. r0, r1, 0x10 -/* 80119DA8 00116D08 41 82 00 10 */ beq lbl_80119DB8 -/* 80119DAC 00116D0C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80119DB0 00116D10 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80119DB4 00116D14 90 01 00 10 */ stw r0, 0x10(r1) -lbl_80119DB8: -/* 80119DB8 00116D18 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80119DBC 00116D1C 38 00 00 17 */ li r0, 0x17 -/* 80119DC0 00116D20 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 80119DC4 00116D24 90 01 00 0C */ stw r0, 0xc(r1) -/* 80119DC8 00116D28 38 81 00 08 */ addi r4, r1, 8 -/* 80119DCC 00116D2C 90 61 00 08 */ stw r3, 8(r1) -/* 80119DD0 00116D30 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80119DD4 00116D34 38 63 00 04 */ addi r3, r3, 4 -/* 80119DD8 00116D38 48 01 79 E1 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 80119DDC 00116D3C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80119DE0 00116D40 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80119DE4 00116D44 90 01 00 08 */ stw r0, 8(r1) -lbl_80119DE8: -/* 80119DE8 00116D48 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80119DEC 00116D4C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80119DF0 00116D50 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80119DF4 00116D54 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80119DF8 00116D58 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80119DFC 00116D5C 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80119E00 00116D60 7C 08 03 A6 */ mtlr r0 -/* 80119E04 00116D64 38 21 00 70 */ addi r1, r1, 0x70 -/* 80119E08 00116D68 4E 80 00 20 */ blr - -.global __dt__17CBCAdditiveAimCmd -__dt__17CBCAdditiveAimCmd: -/* 80119E0C 00116D6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80119E10 00116D70 7C 08 02 A6 */ mflr r0 -/* 80119E14 00116D74 90 01 00 14 */ stw r0, 0x14(r1) -/* 80119E18 00116D78 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80119E1C 00116D7C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80119E20 00116D80 41 82 00 30 */ beq lbl_80119E50 -/* 80119E24 00116D84 3C 60 80 3E */ lis r3, lbl_803E061C@ha -/* 80119E28 00116D88 38 03 06 1C */ addi r0, r3, lbl_803E061C@l -/* 80119E2C 00116D8C 90 1F 00 00 */ stw r0, 0(r31) -/* 80119E30 00116D90 41 82 00 10 */ beq lbl_80119E40 -/* 80119E34 00116D94 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80119E38 00116D98 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80119E3C 00116D9C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80119E40: -/* 80119E40 00116DA0 7C 80 07 35 */ extsh. r0, r4 -/* 80119E44 00116DA4 40 81 00 0C */ ble lbl_80119E50 -/* 80119E48 00116DA8 7F E3 FB 78 */ mr r3, r31 -/* 80119E4C 00116DAC 48 1F BA E5 */ bl Free__7CMemoryFPCv -lbl_80119E50: -/* 80119E50 00116DB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80119E54 00116DB4 7F E3 FB 78 */ mr r3, r31 -/* 80119E58 00116DB8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80119E5C 00116DBC 7C 08 03 A6 */ mtlr r0 -/* 80119E60 00116DC0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80119E64 00116DC4 4E 80 00 20 */ blr - -.global InActive__12CBloodFlowerFR13CStateManager9EStateMsgf -InActive__12CBloodFlowerFR13CStateManager9EStateMsgf: -/* 80119E68 00116DC8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80119E6C 00116DCC 7C 08 02 A6 */ mflr r0 -/* 80119E70 00116DD0 2C 05 00 01 */ cmpwi r5, 1 -/* 80119E74 00116DD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80119E78 00116DD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80119E7C 00116DDC 7C 7F 1B 78 */ mr r31, r3 -/* 80119E80 00116DE0 41 82 00 48 */ beq lbl_80119EC8 -/* 80119E84 00116DE4 40 80 00 10 */ bge lbl_80119E94 -/* 80119E88 00116DE8 2C 05 00 00 */ cmpwi r5, 0 -/* 80119E8C 00116DEC 40 80 00 14 */ bge lbl_80119EA0 -/* 80119E90 00116DF0 48 00 00 38 */ b lbl_80119EC8 -lbl_80119E94: -/* 80119E94 00116DF4 2C 05 00 03 */ cmpwi r5, 3 -/* 80119E98 00116DF8 40 80 00 30 */ bge lbl_80119EC8 -/* 80119E9C 00116DFC 48 00 00 24 */ b lbl_80119EC0 -lbl_80119EA0: -/* 80119EA0 00116E00 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80119EA4 00116E04 38 80 00 01 */ li r4, 1 -/* 80119EA8 00116E08 48 02 0B 31 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80119EAC 00116E0C 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 80119EB0 00116E10 38 60 00 00 */ li r3, 0 -/* 80119EB4 00116E14 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80119EB8 00116E18 98 1F 04 00 */ stb r0, 0x400(r31) -/* 80119EBC 00116E1C 48 00 00 0C */ b lbl_80119EC8 -lbl_80119EC0: -/* 80119EC0 00116E20 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) -/* 80119EC4 00116E24 D0 1F 05 C0 */ stfs f0, 0x5c0(r31) -lbl_80119EC8: -/* 80119EC8 00116E28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80119ECC 00116E2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80119ED0 00116E30 7C 08 03 A6 */ mtlr r0 -/* 80119ED4 00116E34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80119ED8 00116E38 4E 80 00 20 */ blr - -.global ProjectileInfo__12CBloodFlowerFv -ProjectileInfo__12CBloodFlowerFv: -/* 80119EDC 00116E3C 38 63 05 90 */ addi r3, r3, 0x590 -/* 80119EE0 00116E40 4E 80 00 20 */ blr - -.global AcceptScriptMsg__12CBloodFlowerF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__12CBloodFlowerF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80119EE4 00116E44 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80119EE8 00116E48 7C 08 02 A6 */ mflr r0 -/* 80119EEC 00116E4C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80119EF0 00116E50 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80119EF4 00116E54 7C DF 33 78 */ mr r31, r6 -/* 80119EF8 00116E58 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80119EFC 00116E5C 7C 9E 23 78 */ mr r30, r4 -/* 80119F00 00116E60 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80119F04 00116E64 7C 7D 1B 78 */ mr r29, r3 -/* 80119F08 00116E68 A0 05 00 00 */ lhz r0, 0(r5) -/* 80119F0C 00116E6C 38 A1 00 08 */ addi r5, r1, 8 -/* 80119F10 00116E70 B0 01 00 08 */ sth r0, 8(r1) -/* 80119F14 00116E74 4B F6 2C 65 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80119F18 00116E78 2C 1E 00 21 */ cmpwi r30, 0x21 -/* 80119F1C 00116E7C 41 82 00 20 */ beq lbl_80119F3C -/* 80119F20 00116E80 40 80 00 10 */ bge lbl_80119F30 -/* 80119F24 00116E84 2C 1E 00 01 */ cmpwi r30, 1 -/* 80119F28 00116E88 41 82 00 70 */ beq lbl_80119F98 -/* 80119F2C 00116E8C 48 00 00 6C */ b lbl_80119F98 -lbl_80119F30: -/* 80119F30 00116E90 2C 1E 00 29 */ cmpwi r30, 0x29 -/* 80119F34 00116E94 41 82 00 38 */ beq lbl_80119F6C -/* 80119F38 00116E98 48 00 00 60 */ b lbl_80119F98 -lbl_80119F3C: -/* 80119F3C 00116E9C 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80119F40 00116EA0 7F E4 FB 78 */ mr r4, r31 -/* 80119F44 00116EA4 48 02 0D AD */ bl Activate__15CBodyControllerFR13CStateManager -/* 80119F48 00116EA8 7F A3 EB 78 */ mr r3, r29 -/* 80119F4C 00116EAC 7F E4 FB 78 */ mr r4, r31 -/* 80119F50 00116EB0 81 9D 00 00 */ lwz r12, 0(r29) -/* 80119F54 00116EB4 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80119F58 00116EB8 7D 89 03 A6 */ mtctr r12 -/* 80119F5C 00116EBC 4E 80 04 21 */ bctrl -/* 80119F60 00116EC0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80119F64 00116EC4 D0 1D 05 B8 */ stfs f0, 0x5b8(r29) -/* 80119F68 00116EC8 48 00 00 30 */ b lbl_80119F98 -lbl_80119F6C: -/* 80119F6C 00116ECC 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80119F70 00116ED0 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80119F74 00116ED4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80119F78 00116ED8 41 82 00 08 */ beq lbl_80119F80 -/* 80119F7C 00116EDC 48 02 02 99 */ bl FrozenBreakout__15CBodyControllerFv -lbl_80119F80: -/* 80119F80 00116EE0 7F A3 EB 78 */ mr r3, r29 -/* 80119F84 00116EE4 7F E4 FB 78 */ mr r4, r31 -/* 80119F88 00116EE8 4B FF F3 DD */ bl sub_80119364 -/* 80119F8C 00116EEC 7F A3 EB 78 */ mr r3, r29 -/* 80119F90 00116EF0 7F E4 FB 78 */ mr r4, r31 -/* 80119F94 00116EF4 4B FF F1 31 */ bl sub_801190c4 -lbl_80119F98: -/* 80119F98 00116EF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80119F9C 00116EFC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80119FA0 00116F00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80119FA4 00116F04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80119FA8 00116F08 7C 08 03 A6 */ mtlr r0 -/* 80119FAC 00116F0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80119FB0 00116F10 4E 80 00 20 */ blr - -.global Accept__12CBloodFlowerFR8IVisitor -Accept__12CBloodFlowerFR8IVisitor: -/* 80119FB4 00116F14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80119FB8 00116F18 7C 08 02 A6 */ mflr r0 -/* 80119FBC 00116F1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80119FC0 00116F20 7C 60 1B 78 */ mr r0, r3 -/* 80119FC4 00116F24 7C 83 23 78 */ mr r3, r4 -/* 80119FC8 00116F28 81 84 00 00 */ lwz r12, 0(r4) -/* 80119FCC 00116F2C 7C 04 03 78 */ mr r4, r0 -/* 80119FD0 00116F30 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80119FD4 00116F34 7D 89 03 A6 */ mtctr r12 -/* 80119FD8 00116F38 4E 80 04 21 */ bctrl -/* 80119FDC 00116F3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80119FE0 00116F40 7C 08 03 A6 */ mtlr r0 -/* 80119FE4 00116F44 38 21 00 10 */ addi r1, r1, 0x10 -/* 80119FE8 00116F48 4E 80 00 20 */ blr - -.global "__ct__12CBloodFlowerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoUiUiRC16CActorParametersUiRC11CDamageInfoRC11CDamageInfoUiUiUi" -"__ct__12CBloodFlowerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoUiUiRC16CActorParametersUiRC11CDamageInfoRC11CDamageInfoUiUiUi": -/* 80119FEC 00116F4C 94 21 FE 90 */ stwu r1, -0x170(r1) -/* 80119FF0 00116F50 7C 08 02 A6 */ mflr r0 -/* 80119FF4 00116F54 90 01 01 74 */ stw r0, 0x174(r1) -/* 80119FF8 00116F58 DB E1 01 60 */ stfd f31, 0x160(r1) -/* 80119FFC 00116F5C F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 -/* 8011A000 00116F60 BE 21 01 24 */ stmw r17, 0x124(r1) -/* 8011A004 00116F64 A0 04 00 00 */ lhz r0, 0(r4) -/* 8011A008 00116F68 7C CB 33 78 */ mr r11, r6 -/* 8011A00C 00116F6C 7C FE 3B 78 */ mr r30, r7 -/* 8011A010 00116F70 7D 1F 43 78 */ mr r31, r8 -/* 8011A014 00116F74 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8011A018 00116F78 7D 52 53 78 */ mr r18, r10 -/* 8011A01C 00116F7C 38 C0 00 00 */ li r6, 0 -/* 8011A020 00116F80 38 80 00 01 */ li r4, 1 -/* 8011A024 00116F84 91 21 00 08 */ stw r9, 8(r1) -/* 8011A028 00116F88 38 00 00 02 */ li r0, 2 -/* 8011A02C 00116F8C 80 E1 01 7C */ lwz r7, 0x17c(r1) -/* 8011A030 00116F90 FF E0 08 90 */ fmr f31, f1 -/* 8011A034 00116F94 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8011A038 00116F98 7C A6 2B 78 */ mr r6, r5 -/* 8011A03C 00116F9C 82 61 01 78 */ lwz r19, 0x178(r1) -/* 8011A040 00116FA0 7C 7D 1B 78 */ mr r29, r3 -/* 8011A044 00116FA4 90 81 00 10 */ stw r4, 0x10(r1) -/* 8011A048 00116FA8 82 81 01 80 */ lwz r20, 0x180(r1) -/* 8011A04C 00116FAC 7D 68 5B 78 */ mr r8, r11 -/* 8011A050 00116FB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011A054 00116FB4 7F C9 F3 78 */ mr r9, r30 -/* 8011A058 00116FB8 82 A1 01 84 */ lwz r21, 0x184(r1) -/* 8011A05C 00116FBC 7F EA FB 78 */ mr r10, r31 -/* 8011A060 00116FC0 90 E1 00 18 */ stw r7, 0x18(r1) -/* 8011A064 00116FC4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8011A068 00116FC8 82 C1 01 88 */ lwz r22, 0x188(r1) -/* 8011A06C 00116FCC 38 E0 00 00 */ li r7, 0 -/* 8011A070 00116FD0 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8011A074 00116FD4 38 80 00 04 */ li r4, 4 -/* 8011A078 00116FD8 82 E1 01 8C */ lwz r23, 0x18c(r1) -/* 8011A07C 00116FDC 83 01 01 90 */ lwz r24, 0x190(r1) -/* 8011A080 00116FE0 83 21 01 94 */ lwz r25, 0x194(r1) -/* 8011A084 00116FE4 83 41 01 98 */ lwz r26, 0x198(r1) -/* 8011A088 00116FE8 83 61 01 9C */ lwz r27, 0x19c(r1) -/* 8011A08C 00116FEC 83 81 01 A0 */ lwz r28, 0x1a0(r1) -/* 8011A090 00116FF0 4B F6 33 C1 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 8011A094 00116FF4 3C 60 80 3E */ lis r3, lbl_803E0350@ha -/* 8011A098 00116FF8 3C 80 50 41 */ lis r4, 0x50415254@ha -/* 8011A09C 00116FFC 38 03 03 50 */ addi r0, r3, lbl_803E0350@l -/* 8011A0A0 00117000 38 61 00 4C */ addi r3, r1, 0x4c -/* 8011A0A4 00117004 90 1D 00 00 */ stw r0, 0(r29) -/* 8011A0A8 00117008 38 04 52 54 */ addi r0, r4, 0x50415254@l -/* 8011A0AC 0011700C 38 A1 00 54 */ addi r5, r1, 0x54 -/* 8011A0B0 00117010 90 01 00 54 */ stw r0, 0x54(r1) -/* 8011A0B4 00117014 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8011A0B8 00117018 92 41 00 58 */ stw r18, 0x58(r1) -/* 8011A0BC 0011701C 81 84 00 00 */ lwz r12, 0(r4) -/* 8011A0C0 00117020 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011A0C4 00117024 7D 89 03 A6 */ mtctr r12 -/* 8011A0C8 00117028 4E 80 04 21 */ bctrl -/* 8011A0CC 0011702C 3A 3D 05 68 */ addi r17, r29, 0x568 -/* 8011A0D0 00117030 38 81 00 4C */ addi r4, r1, 0x4c -/* 8011A0D4 00117034 7E 23 8B 78 */ mr r3, r17 -/* 8011A0D8 00117038 48 22 6D D1 */ bl __ct__6CTokenFRC6CToken -/* 8011A0DC 0011703C 7E 23 8B 78 */ mr r3, r17 -/* 8011A0E0 00117040 48 22 6D 2D */ bl GetObj__6CTokenFv -/* 8011A0E4 00117044 80 03 00 04 */ lwz r0, 4(r3) -/* 8011A0E8 00117048 38 61 00 4C */ addi r3, r1, 0x4c -/* 8011A0EC 0011704C 38 80 FF FF */ li r4, -1 -/* 8011A0F0 00117050 90 11 00 08 */ stw r0, 8(r17) -/* 8011A0F4 00117054 48 22 6D 4D */ bl __dt__6CTokenFv -/* 8011A0F8 00117058 3C 60 80 3D */ lis r3, lbl_803CF2F0@ha -/* 8011A0FC 0011705C 3A 40 00 00 */ li r18, 0 -/* 8011A100 00117060 38 83 F2 F0 */ addi r4, r3, lbl_803CF2F0@l -/* 8011A104 00117064 38 60 03 40 */ li r3, 0x340 -/* 8011A108 00117068 38 84 00 21 */ addi r4, r4, 0x21 -/* 8011A10C 0011706C 38 A0 00 00 */ li r5, 0 -/* 8011A110 00117070 48 1F B7 5D */ bl __nw__FUlPCcPCc -/* 8011A114 00117074 7C 71 1B 79 */ or. r17, r3, r3 -/* 8011A118 00117078 41 82 00 2C */ beq lbl_8011A144 -/* 8011A11C 0011707C 38 61 00 44 */ addi r3, r1, 0x44 -/* 8011A120 00117080 38 9D 05 68 */ addi r4, r29, 0x568 -/* 8011A124 00117084 48 22 6D 85 */ bl __ct__6CTokenFRC6CToken -/* 8011A128 00117088 7E 23 8B 78 */ mr r3, r17 -/* 8011A12C 0011708C 38 81 00 44 */ addi r4, r1, 0x44 -/* 8011A130 00117090 3A 40 00 01 */ li r18, 1 -/* 8011A134 00117094 38 A0 00 00 */ li r5, 0 -/* 8011A138 00117098 38 C0 00 01 */ li r6, 1 -/* 8011A13C 0011709C 48 20 52 A5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8011A140 001170A0 7C 71 1B 78 */ mr r17, r3 -lbl_8011A144: -/* 8011A144 001170A4 7E 40 07 75 */ extsb. r0, r18 -/* 8011A148 001170A8 92 3D 05 74 */ stw r17, 0x574(r29) -/* 8011A14C 001170AC 41 82 00 10 */ beq lbl_8011A15C -/* 8011A150 001170B0 38 61 00 44 */ addi r3, r1, 0x44 -/* 8011A154 001170B4 38 80 00 00 */ li r4, 0 -/* 8011A158 001170B8 48 22 6C E9 */ bl __dt__6CTokenFv -lbl_8011A15C: -/* 8011A15C 001170BC 3C 60 57 50 */ lis r3, 0x57505343@ha -/* 8011A160 001170C0 92 61 00 40 */ stw r19, 0x40(r1) -/* 8011A164 001170C4 38 03 53 43 */ addi r0, r3, 0x57505343@l -/* 8011A168 001170C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8011A16C 001170CC 90 01 00 3C */ stw r0, 0x3c(r1) -/* 8011A170 001170D0 38 61 00 34 */ addi r3, r1, 0x34 -/* 8011A174 001170D4 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8011A178 001170D8 81 84 00 00 */ lwz r12, 0(r4) -/* 8011A17C 001170DC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011A180 001170E0 7D 89 03 A6 */ mtctr r12 -/* 8011A184 001170E4 4E 80 04 21 */ bctrl -/* 8011A188 001170E8 3A 3D 05 78 */ addi r17, r29, 0x578 -/* 8011A18C 001170EC 38 81 00 34 */ addi r4, r1, 0x34 -/* 8011A190 001170F0 7E 23 8B 78 */ mr r3, r17 -/* 8011A194 001170F4 48 22 6D 15 */ bl __ct__6CTokenFRC6CToken -/* 8011A198 001170F8 38 00 00 00 */ li r0, 0 -/* 8011A19C 001170FC 38 61 00 34 */ addi r3, r1, 0x34 -/* 8011A1A0 00117100 90 11 00 08 */ stw r0, 8(r17) -/* 8011A1A4 00117104 38 80 FF FF */ li r4, -1 -/* 8011A1A8 00117108 48 22 6C 99 */ bl __dt__6CTokenFv -/* 8011A1AC 0011710C C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) -/* 8011A1B0 00117110 38 00 00 00 */ li r0, 0 -/* 8011A1B4 00117114 7E 84 A3 78 */ mr r4, r20 -/* 8011A1B8 00117118 7E A5 AB 78 */ mr r5, r21 -/* 8011A1BC 0011711C D0 1D 05 84 */ stfs f0, 0x584(r29) -/* 8011A1C0 00117120 38 7D 05 90 */ addi r3, r29, 0x590 -/* 8011A1C4 00117124 D0 1D 05 88 */ stfs f0, 0x588(r29) -/* 8011A1C8 00117128 90 1D 05 8C */ stw r0, 0x58c(r29) -/* 8011A1CC 0011712C 48 10 1E DD */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 8011A1D0 00117130 C0 02 96 7C */ lfs f0, lbl_805AB39C@sda21(r2) -/* 8011A1D4 00117134 38 00 00 00 */ li r0, 0 -/* 8011A1D8 00117138 57 83 04 3E */ clrlwi r3, r28, 0x10 -/* 8011A1DC 0011713C D0 1D 05 B8 */ stfs f0, 0x5b8(r29) -/* 8011A1E0 00117140 D0 1D 05 BC */ stfs f0, 0x5bc(r29) -/* 8011A1E4 00117144 D0 1D 05 C0 */ stfs f0, 0x5c0(r29) -/* 8011A1E8 00117148 98 1D 05 D0 */ stb r0, 0x5d0(r29) -/* 8011A1EC 0011714C 48 1C E7 C5 */ bl TranslateSFXID__11CSfxManagerFUs -/* 8011A1F0 00117150 B0 7D 05 D4 */ sth r3, 0x5d4(r29) -/* 8011A1F4 00117154 38 00 00 00 */ li r0, 0 -/* 8011A1F8 00117158 80 82 96 78 */ lwz r4, lbl_805AB398@sda21(r2) -/* 8011A1FC 0011715C 38 61 00 80 */ addi r3, r1, 0x80 -/* 8011A200 00117160 90 1D 05 D8 */ stw r0, 0x5d8(r29) -/* 8011A204 00117164 80 16 00 00 */ lwz r0, 0(r22) -/* 8011A208 00117168 90 1D 05 DC */ stw r0, 0x5dc(r29) -/* 8011A20C 0011716C 88 16 00 04 */ lbz r0, 4(r22) -/* 8011A210 00117170 98 1D 05 E0 */ stb r0, 0x5e0(r29) -/* 8011A214 00117174 C0 16 00 08 */ lfs f0, 8(r22) -/* 8011A218 00117178 D0 1D 05 E4 */ stfs f0, 0x5e4(r29) -/* 8011A21C 0011717C C0 16 00 0C */ lfs f0, 0xc(r22) -/* 8011A220 00117180 D0 1D 05 E8 */ stfs f0, 0x5e8(r29) -/* 8011A224 00117184 C0 16 00 10 */ lfs f0, 0x10(r22) -/* 8011A228 00117188 D0 1D 05 EC */ stfs f0, 0x5ec(r29) -/* 8011A22C 0011718C C0 16 00 14 */ lfs f0, 0x14(r22) -/* 8011A230 00117190 D0 1D 05 F0 */ stfs f0, 0x5f0(r29) -/* 8011A234 00117194 88 16 00 18 */ lbz r0, 0x18(r22) -/* 8011A238 00117198 98 1D 05 F4 */ stb r0, 0x5f4(r29) -/* 8011A23C 0011719C 80 17 00 00 */ lwz r0, 0(r23) -/* 8011A240 001171A0 90 1D 05 F8 */ stw r0, 0x5f8(r29) -/* 8011A244 001171A4 88 17 00 04 */ lbz r0, 4(r23) -/* 8011A248 001171A8 98 1D 05 FC */ stb r0, 0x5fc(r29) -/* 8011A24C 001171AC C0 17 00 08 */ lfs f0, 8(r23) -/* 8011A250 001171B0 D0 1D 06 00 */ stfs f0, 0x600(r29) -/* 8011A254 001171B4 C0 17 00 0C */ lfs f0, 0xc(r23) -/* 8011A258 001171B8 D0 1D 06 04 */ stfs f0, 0x604(r29) -/* 8011A25C 001171BC C0 17 00 10 */ lfs f0, 0x10(r23) -/* 8011A260 001171C0 D0 1D 06 08 */ stfs f0, 0x608(r29) -/* 8011A264 001171C4 C0 17 00 14 */ lfs f0, 0x14(r23) -/* 8011A268 001171C8 D0 1D 06 0C */ stfs f0, 0x60c(r29) -/* 8011A26C 001171CC 88 17 00 18 */ lbz r0, 0x18(r23) -/* 8011A270 001171D0 98 1D 06 10 */ stb r0, 0x610(r29) -/* 8011A274 001171D4 D3 FD 06 14 */ stfs f31, 0x614(r29) -/* 8011A278 001171D8 93 1D 06 18 */ stw r24, 0x618(r29) -/* 8011A27C 001171DC 93 3D 06 1C */ stw r25, 0x61c(r29) -/* 8011A280 001171E0 93 5D 06 20 */ stw r26, 0x620(r29) -/* 8011A284 001171E4 4B EE AA 35 */ bl string_l__4rstlFPCc -/* 8011A288 001171E8 7F A4 EB 78 */ mr r4, r29 -/* 8011A28C 001171EC 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8011A290 001171F0 38 A1 00 80 */ addi r5, r1, 0x80 -/* 8011A294 001171F4 4B F3 8C 6D */ bl "GetLocatorTransform__6CActorCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8011A298 001171F8 38 61 00 F0 */ addi r3, r1, 0xf0 -/* 8011A29C 001171FC 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 8011A2A0 00117200 48 1F 88 D5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011A2A4 00117204 38 61 00 80 */ addi r3, r1, 0x80 -/* 8011A2A8 00117208 48 22 38 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8011A2AC 0011720C 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 8011A2B0 00117210 38 80 00 00 */ li r4, 0 -/* 8011A2B4 00117214 C0 01 01 1C */ lfs f0, 0x11c(r1) -/* 8011A2B8 00117218 C0 23 00 08 */ lfs f1, 8(r3) -/* 8011A2BC 0011721C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8011A2C0 00117220 D0 1D 05 88 */ stfs f0, 0x588(r29) -/* 8011A2C4 00117224 80 7D 05 74 */ lwz r3, 0x574(r29) -/* 8011A2C8 00117228 81 83 00 00 */ lwz r12, 0(r3) -/* 8011A2CC 0011722C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8011A2D0 00117230 7D 89 03 A6 */ mtctr r12 -/* 8011A2D4 00117234 4E 80 04 21 */ bctrl -/* 8011A2D8 00117238 82 3D 05 74 */ lwz r17, 0x574(r29) -/* 8011A2DC 0011723C 7F C4 F3 78 */ mr r4, r30 -/* 8011A2E0 00117240 38 61 00 90 */ addi r3, r1, 0x90 -/* 8011A2E4 00117244 48 1F 89 5D */ bl GetRotation__12CTransform4fCFv -/* 8011A2E8 00117248 7E 23 8B 78 */ mr r3, r17 -/* 8011A2EC 0011724C 38 81 00 90 */ addi r4, r1, 0x90 -/* 8011A2F0 00117250 81 91 00 00 */ lwz r12, 0(r17) -/* 8011A2F4 00117254 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8011A2F8 00117258 7D 89 03 A6 */ mtctr r12 -/* 8011A2FC 0011725C 4E 80 04 21 */ bctrl -/* 8011A300 00117260 C0 5E 00 2C */ lfs f2, 0x2c(r30) -/* 8011A304 00117264 38 81 00 74 */ addi r4, r1, 0x74 -/* 8011A308 00117268 C0 3E 00 1C */ lfs f1, 0x1c(r30) -/* 8011A30C 0011726C C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8011A310 00117270 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 8011A314 00117274 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8011A318 00117278 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 8011A31C 0011727C 80 7D 05 74 */ lwz r3, 0x574(r29) -/* 8011A320 00117280 81 83 00 00 */ lwz r12, 0(r3) -/* 8011A324 00117284 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8011A328 00117288 7D 89 03 A6 */ mtctr r12 -/* 8011A32C 0011728C 4E 80 04 21 */ bctrl -/* 8011A330 00117290 C0 5F 00 00 */ lfs f2, 0(r31) -/* 8011A334 00117294 38 81 00 68 */ addi r4, r1, 0x68 -/* 8011A338 00117298 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8011A33C 0011729C C0 1F 00 08 */ lfs f0, 8(r31) -/* 8011A340 001172A0 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 8011A344 001172A4 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 8011A348 001172A8 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8011A34C 001172AC 80 7D 05 74 */ lwz r3, 0x574(r29) -/* 8011A350 001172B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8011A354 001172B4 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 8011A358 001172B8 7D 89 03 A6 */ mtctr r12 -/* 8011A35C 001172BC 4E 80 04 21 */ bctrl -/* 8011A360 001172C0 38 7D 05 78 */ addi r3, r29, 0x578 -/* 8011A364 001172C4 48 22 6A 21 */ bl Lock__6CTokenFv -/* 8011A368 001172C8 38 7D 05 90 */ addi r3, r29, 0x590 -/* 8011A36C 001172CC 48 22 6A 19 */ bl Lock__6CTokenFv -/* 8011A370 001172D0 38 7D 04 60 */ addi r3, r29, 0x460 -/* 8011A374 001172D4 38 80 00 00 */ li r4, 0 -/* 8011A378 001172D8 48 11 99 ED */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 8011A37C 001172DC 3C 1B 00 01 */ addis r0, r27, 1 -/* 8011A380 001172E0 28 00 FF FF */ cmplwi r0, 0xffff -/* 8011A384 001172E4 41 82 00 BC */ beq lbl_8011A440 -/* 8011A388 001172E8 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8011A38C 001172EC 93 61 00 30 */ stw r27, 0x30(r1) -/* 8011A390 001172F0 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8011A394 001172F4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8011A398 001172F8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8011A39C 001172FC 38 61 00 24 */ addi r3, r1, 0x24 -/* 8011A3A0 00117300 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8011A3A4 00117304 81 84 00 00 */ lwz r12, 0(r4) -/* 8011A3A8 00117308 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011A3AC 0011730C 7D 89 03 A6 */ mtctr r12 -/* 8011A3B0 00117310 4E 80 04 21 */ bctrl -/* 8011A3B4 00117314 3A 21 00 5C */ addi r17, r1, 0x5c -/* 8011A3B8 00117318 38 81 00 24 */ addi r4, r1, 0x24 -/* 8011A3BC 0011731C 7E 23 8B 78 */ mr r3, r17 -/* 8011A3C0 00117320 48 22 6A E9 */ bl __ct__6CTokenFRC6CToken -/* 8011A3C4 00117324 7E 23 8B 78 */ mr r3, r17 -/* 8011A3C8 00117328 48 22 6A 45 */ bl GetObj__6CTokenFv -/* 8011A3CC 0011732C 80 03 00 04 */ lwz r0, 4(r3) -/* 8011A3D0 00117330 90 01 00 64 */ stw r0, 0x64(r1) -/* 8011A3D4 00117334 88 1D 05 D0 */ lbz r0, 0x5d0(r29) -/* 8011A3D8 00117338 28 00 00 00 */ cmplwi r0, 0 -/* 8011A3DC 0011733C 40 82 00 34 */ bne lbl_8011A410 -/* 8011A3E0 00117340 36 3D 05 C4 */ addic. r17, r29, 0x5c4 -/* 8011A3E4 00117344 41 82 00 20 */ beq lbl_8011A404 -/* 8011A3E8 00117348 7E 23 8B 78 */ mr r3, r17 -/* 8011A3EC 0011734C 38 81 00 5C */ addi r4, r1, 0x5c -/* 8011A3F0 00117350 48 22 6A B9 */ bl __ct__6CTokenFRC6CToken -/* 8011A3F4 00117354 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8011A3F8 00117358 7E 23 8B 78 */ mr r3, r17 -/* 8011A3FC 0011735C 90 11 00 08 */ stw r0, 8(r17) -/* 8011A400 00117360 48 22 69 85 */ bl Lock__6CTokenFv -lbl_8011A404: -/* 8011A404 00117364 38 00 00 01 */ li r0, 1 -/* 8011A408 00117368 98 1D 05 D0 */ stb r0, 0x5d0(r29) -/* 8011A40C 0011736C 48 00 00 1C */ b lbl_8011A428 -lbl_8011A410: -/* 8011A410 00117370 3A 3D 05 C4 */ addi r17, r29, 0x5c4 -/* 8011A414 00117374 38 81 00 5C */ addi r4, r1, 0x5c -/* 8011A418 00117378 7E 23 8B 78 */ mr r3, r17 -/* 8011A41C 0011737C 48 22 68 A9 */ bl __as__6CTokenFRC6CToken -/* 8011A420 00117380 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8011A424 00117384 90 11 00 08 */ stw r0, 8(r17) -lbl_8011A428: -/* 8011A428 00117388 38 61 00 5C */ addi r3, r1, 0x5c -/* 8011A42C 0011738C 38 80 00 00 */ li r4, 0 -/* 8011A430 00117390 48 22 6A 11 */ bl __dt__6CTokenFv -/* 8011A434 00117394 38 61 00 24 */ addi r3, r1, 0x24 -/* 8011A438 00117398 38 80 FF FF */ li r4, -1 -/* 8011A43C 0011739C 48 22 6A 05 */ bl __dt__6CTokenFv -lbl_8011A440: -/* 8011A440 001173A0 7F A3 EB 78 */ mr r3, r29 -/* 8011A444 001173A4 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 -/* 8011A448 001173A8 CB E1 01 60 */ lfd f31, 0x160(r1) -/* 8011A44C 001173AC BA 21 01 24 */ lmw r17, 0x124(r1) -/* 8011A450 001173B0 80 01 01 74 */ lwz r0, 0x174(r1) -/* 8011A454 001173B4 7C 08 03 A6 */ mtlr r0 -/* 8011A458 001173B8 38 21 01 70 */ addi r1, r1, 0x170 -/* 8011A45C 001173BC 4E 80 00 20 */ blr - -.global __ct__9TEditorIdFR12CInputStream -__ct__9TEditorIdFR12CInputStream: -/* 8011A460 001173C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011A464 001173C4 7C 08 02 A6 */ mflr r0 -/* 8011A468 001173C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011A46C 001173CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011A470 001173D0 7C 7F 1B 78 */ mr r31, r3 -/* 8011A474 001173D4 7C 83 23 78 */ mr r3, r4 -/* 8011A478 001173D8 48 22 48 0D */ bl ReadLong__12CInputStreamFv -/* 8011A47C 001173DC 90 7F 00 00 */ stw r3, 0(r31) -/* 8011A480 001173E0 7F E3 FB 78 */ mr r3, r31 -/* 8011A484 001173E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011A488 001173E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011A48C 001173EC 7C 08 03 A6 */ mtlr r0 -/* 8011A490 001173F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011A494 001173F4 4E 80 00 20 */ blr - -.global __sinit_TGameTypes_cpp -__sinit_TGameTypes_cpp: -/* 8011A498 001173F8 3C 60 00 01 */ lis r3, 0x0000FFFF@ha -/* 8011A49C 001173FC 38 80 FF FF */ li r4, -1 -/* 8011A4A0 00117400 38 03 FF FF */ addi r0, r3, 0x0000FFFF@l -/* 8011A4A4 00117404 90 8D A3 88 */ stw r4, lbl_805A8F48@sda21(r13) -/* 8011A4A8 00117408 B0 0D A3 8C */ sth r0, lbl_805A8F4C@sda21(r13) -/* 8011A4AC 0011740C 90 8D A3 90 */ stw r4, lbl_805A8F50@sda21(r13) -/* 8011A4B0 00117410 90 8D A3 94 */ stw r4, lbl_805A8F54@sda21(r13) -/* 8011A4B4 00117414 4E 80 00 20 */ blr - -.global GetMaximumCollisionVelocity__13CPhysicsActorCFv -GetMaximumCollisionVelocity__13CPhysicsActorCFv: -/* 8011A4B8 00117418 C0 23 02 38 */ lfs f1, 0x238(r3) -/* 8011A4BC 0011741C 4E 80 00 20 */ blr - -.global SetMaximumCollisionVelocity__13CPhysicsActorFf -SetMaximumCollisionVelocity__13CPhysicsActorFf: -/* 8011A4C0 00117420 D0 23 02 38 */ stfs f1, 0x238(r3) -/* 8011A4C4 00117424 4E 80 00 20 */ blr - -.global GetCollisionAccuracyModifier__13CPhysicsActorCFv -GetCollisionAccuracyModifier__13CPhysicsActorCFv: -/* 8011A4C8 00117428 C0 23 02 48 */ lfs f1, 0x248(r3) -/* 8011A4CC 0011742C 4E 80 00 20 */ blr - -.global SetCollisionAccuracyModifier__13CPhysicsActorFf -SetCollisionAccuracyModifier__13CPhysicsActorFf: -/* 8011A4D0 00117430 D0 23 02 48 */ stfs f1, 0x248(r3) -/* 8011A4D4 00117434 4E 80 00 20 */ blr - -.global GetCoefficientOfRestitutionModifier__13CPhysicsActorCFv -GetCoefficientOfRestitutionModifier__13CPhysicsActorCFv: -/* 8011A4D8 00117438 C0 23 02 44 */ lfs f1, 0x244(r3) -/* 8011A4DC 0011743C 4E 80 00 20 */ blr - -.global SetCoefficientOfRestitutionModifier__13CPhysicsActorFf -SetCoefficientOfRestitutionModifier__13CPhysicsActorFf: -/* 8011A4E0 00117440 D0 23 02 44 */ stfs f1, 0x244(r3) -/* 8011A4E4 00117444 4E 80 00 20 */ blr - -.global Render__13CPhysicsActorCFRC13CStateManager -Render__13CPhysicsActorCFRC13CStateManager: -/* 8011A4E8 00117448 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011A4EC 0011744C 7C 08 02 A6 */ mflr r0 -/* 8011A4F0 00117450 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011A4F4 00117454 4B F3 A2 B1 */ bl Render__6CActorCFRC13CStateManager -/* 8011A4F8 00117458 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011A4FC 0011745C 7C 08 03 A6 */ mtlr r0 -/* 8011A500 00117460 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011A504 00117464 4E 80 00 20 */ blr - -.global GetAimPosition__13CPhysicsActorCFRC13CStateManagerf -GetAimPosition__13CPhysicsActorCFRC13CStateManagerf: -/* 8011A508 00117468 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8011A50C 0011746C 7C 08 02 A6 */ mflr r0 -/* 8011A510 00117470 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8011A514 00117474 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8011A518 00117478 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8011A51C 0011747C DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8011A520 00117480 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8011A524 00117484 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8011A528 00117488 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8011A52C 0011748C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8011A530 00117490 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8011A534 00117494 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) -/* 8011A538 00117498 7C 7E 1B 78 */ mr r30, r3 -/* 8011A53C 0011749C 7C 9F 23 78 */ mr r31, r4 -/* 8011A540 001174A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011A544 001174A4 40 81 00 58 */ ble lbl_8011A59C -/* 8011A548 001174A8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8011A54C 001174AC 48 00 17 65 */ bl PredictMotion__13CPhysicsActorCFf -/* 8011A550 001174B0 C3 E1 00 44 */ lfs f31, 0x44(r1) -/* 8011A554 001174B4 7F E4 FB 78 */ mr r4, r31 -/* 8011A558 001174B8 C3 C1 00 48 */ lfs f30, 0x48(r1) -/* 8011A55C 001174BC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8011A560 001174C0 C3 A1 00 4C */ lfs f29, 0x4c(r1) -/* 8011A564 001174C4 48 00 03 C9 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8011A568 001174C8 38 61 00 08 */ addi r3, r1, 8 -/* 8011A56C 001174CC 38 81 00 2C */ addi r4, r1, 0x2c -/* 8011A570 001174D0 48 21 D0 9D */ bl GetCenterPoint__6CAABoxCFv -/* 8011A574 001174D4 C0 01 00 08 */ lfs f0, 8(r1) -/* 8011A578 001174D8 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8011A57C 001174DC EC 00 F8 2A */ fadds f0, f0, f31 -/* 8011A580 001174E0 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8011A584 001174E4 EC 42 F0 2A */ fadds f2, f2, f30 -/* 8011A588 001174E8 EC 21 E8 2A */ fadds f1, f1, f29 -/* 8011A58C 001174EC D0 1E 00 00 */ stfs f0, 0(r30) -/* 8011A590 001174F0 D0 5E 00 04 */ stfs f2, 4(r30) -/* 8011A594 001174F4 D0 3E 00 08 */ stfs f1, 8(r30) -/* 8011A598 001174F8 48 00 00 18 */ b lbl_8011A5B0 -lbl_8011A59C: -/* 8011A59C 001174FC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011A5A0 00117500 48 00 03 8D */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8011A5A4 00117504 7F C3 F3 78 */ mr r3, r30 -/* 8011A5A8 00117508 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011A5AC 0011750C 48 21 D0 61 */ bl GetCenterPoint__6CAABoxCFv -lbl_8011A5B0: -/* 8011A5B0 00117510 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8011A5B4 00117514 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8011A5B8 00117518 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8011A5BC 0011751C CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8011A5C0 00117520 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8011A5C4 00117524 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8011A5C8 00117528 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8011A5CC 0011752C 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8011A5D0 00117530 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8011A5D4 00117534 7C 08 03 A6 */ mtlr r0 -/* 8011A5D8 00117538 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8011A5DC 0011753C 4E 80 00 20 */ blr - -.global GetOrbitPosition__13CPhysicsActorCFRC13CStateManager -GetOrbitPosition__13CPhysicsActorCFRC13CStateManager: -/* 8011A5E0 00117540 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011A5E4 00117544 7C 08 02 A6 */ mflr r0 -/* 8011A5E8 00117548 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011A5EC 0011754C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011A5F0 00117550 7C 7F 1B 78 */ mr r31, r3 -/* 8011A5F4 00117554 38 61 00 08 */ addi r3, r1, 8 -/* 8011A5F8 00117558 48 00 03 35 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8011A5FC 0011755C 7F E3 FB 78 */ mr r3, r31 -/* 8011A600 00117560 38 81 00 08 */ addi r4, r1, 8 -/* 8011A604 00117564 48 21 D0 09 */ bl GetCenterPoint__6CAABoxCFv -/* 8011A608 00117568 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011A60C 0011756C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011A610 00117570 7C 08 03 A6 */ mtlr r0 -/* 8011A614 00117574 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011A618 00117578 4E 80 00 20 */ blr - -.global GetStepUpHeight__13CPhysicsActorCFv -GetStepUpHeight__13CPhysicsActorCFv: -/* 8011A61C 0011757C C0 23 02 3C */ lfs f1, 0x23c(r3) -/* 8011A620 00117580 4E 80 00 20 */ blr - -.global GetStepDownHeight__13CPhysicsActorCFv -GetStepDownHeight__13CPhysicsActorCFv: -/* 8011A624 00117584 C0 23 02 40 */ lfs f1, 0x240(r3) -/* 8011A628 00117588 4E 80 00 20 */ blr - -.global GetPrimitiveOffset__13CPhysicsActorCFv -GetPrimitiveOffset__13CPhysicsActorCFv: -/* 8011A62C 0011758C C0 04 01 E8 */ lfs f0, 0x1e8(r4) -/* 8011A630 00117590 D0 03 00 00 */ stfs f0, 0(r3) -/* 8011A634 00117594 C0 04 01 EC */ lfs f0, 0x1ec(r4) -/* 8011A638 00117598 D0 03 00 04 */ stfs f0, 4(r3) -/* 8011A63C 0011759C C0 04 01 F0 */ lfs f0, 0x1f0(r4) -/* 8011A640 001175A0 D0 03 00 08 */ stfs f0, 8(r3) -/* 8011A644 001175A4 4E 80 00 20 */ blr - -.global GetWeight__13CPhysicsActorCFv -GetWeight__13CPhysicsActorCFv: -/* 8011A648 001175A8 C0 22 96 A8 */ lfs f1, lbl_805AB3C8@sda21(r2) -/* 8011A64C 001175AC C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 8011A650 001175B0 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8011A654 001175B4 4E 80 00 20 */ blr - -.global SetBoundingBox__13CPhysicsActorFRC6CAABox -SetBoundingBox__13CPhysicsActorFRC6CAABox: -/* 8011A658 001175B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011A65C 001175BC 7C 08 02 A6 */ mflr r0 -/* 8011A660 001175C0 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8011A664 001175C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011A668 001175C8 38 05 66 A0 */ addi r0, r5, skZero3f@l -/* 8011A66C 001175CC 80 E4 00 00 */ lwz r7, 0(r4) -/* 8011A670 001175D0 80 C4 00 04 */ lwz r6, 4(r4) -/* 8011A674 001175D4 90 E3 01 A4 */ stw r7, 0x1a4(r3) -/* 8011A678 001175D8 90 C3 01 A8 */ stw r6, 0x1a8(r3) -/* 8011A67C 001175DC 80 A4 00 08 */ lwz r5, 8(r4) -/* 8011A680 001175E0 90 A3 01 AC */ stw r5, 0x1ac(r3) -/* 8011A684 001175E4 80 C4 00 0C */ lwz r6, 0xc(r4) -/* 8011A688 001175E8 80 A4 00 10 */ lwz r5, 0x10(r4) -/* 8011A68C 001175EC 90 C3 01 B0 */ stw r6, 0x1b0(r3) -/* 8011A690 001175F0 90 A3 01 B4 */ stw r5, 0x1b4(r3) -/* 8011A694 001175F4 80 A4 00 14 */ lwz r5, 0x14(r4) -/* 8011A698 001175F8 7C 04 03 78 */ mr r4, r0 -/* 8011A69C 001175FC 90 A3 01 B8 */ stw r5, 0x1b8(r3) -/* 8011A6A0 00117600 48 00 03 99 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f -/* 8011A6A4 00117604 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011A6A8 00117608 7C 08 03 A6 */ mtlr r0 -/* 8011A6AC 0011760C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011A6B0 00117610 4E 80 00 20 */ blr - -.global GetMotionVolume__13CPhysicsActorCFf -GetMotionVolume__13CPhysicsActorCFf: -/* 8011A6B4 00117614 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8011A6B8 00117618 7C 08 02 A6 */ mflr r0 -/* 8011A6BC 0011761C 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8011A6C0 00117620 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8011A6C4 00117624 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8011A6C8 00117628 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 8011A6CC 0011762C F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 8011A6D0 00117630 DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 8011A6D4 00117634 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 8011A6D8 00117638 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8011A6DC 0011763C 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8011A6E0 00117640 81 84 00 00 */ lwz r12, 0(r4) -/* 8011A6E4 00117644 7C 7E 1B 78 */ mr r30, r3 -/* 8011A6E8 00117648 FF E0 08 90 */ fmr f31, f1 -/* 8011A6EC 0011764C 7C 9F 23 78 */ mr r31, r4 -/* 8011A6F0 00117650 81 8C 00 70 */ lwz r12, 0x70(r12) -/* 8011A6F4 00117654 38 61 00 7C */ addi r3, r1, 0x7c -/* 8011A6F8 00117658 7D 89 03 A6 */ mtctr r12 -/* 8011A6FC 0011765C 4E 80 04 21 */ bctrl -/* 8011A700 00117660 7F E3 FB 78 */ mr r3, r31 -/* 8011A704 00117664 81 9F 00 00 */ lwz r12, 0(r31) -/* 8011A708 00117668 81 8C 00 6C */ lwz r12, 0x6c(r12) -/* 8011A70C 0011766C 7D 89 03 A6 */ mtctr r12 -/* 8011A710 00117670 4E 80 04 21 */ bctrl -/* 8011A714 00117674 7C 64 1B 78 */ mr r4, r3 -/* 8011A718 00117678 38 61 00 4C */ addi r3, r1, 0x4c -/* 8011A71C 0011767C 81 84 00 00 */ lwz r12, 0(r4) -/* 8011A720 00117680 38 A1 00 7C */ addi r5, r1, 0x7c -/* 8011A724 00117684 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8011A728 00117688 7D 89 03 A6 */ mtctr r12 -/* 8011A72C 0011768C 4E 80 04 21 */ bctrl -/* 8011A730 00117690 C0 A1 00 4C */ lfs f5, 0x4c(r1) -/* 8011A734 00117694 7F E4 FB 78 */ mr r4, r31 -/* 8011A738 00117698 C0 81 00 50 */ lfs f4, 0x50(r1) -/* 8011A73C 0011769C 38 61 00 40 */ addi r3, r1, 0x40 -/* 8011A740 001176A0 C0 61 00 54 */ lfs f3, 0x54(r1) -/* 8011A744 001176A4 C0 41 00 58 */ lfs f2, 0x58(r1) -/* 8011A748 001176A8 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 8011A74C 001176AC C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8011A750 001176B0 D0 A1 00 64 */ stfs f5, 0x64(r1) -/* 8011A754 001176B4 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 8011A758 001176B8 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 8011A75C 001176BC D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8011A760 001176C0 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 8011A764 001176C4 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8011A768 001176C8 48 00 16 61 */ bl CalculateNewVelocityWR_UsingImpulses__13CPhysicsActorCFv -/* 8011A76C 001176CC C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8011A770 001176D0 38 61 00 64 */ addi r3, r1, 0x64 -/* 8011A774 001176D4 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8011A778 001176D8 38 81 00 34 */ addi r4, r1, 0x34 -/* 8011A77C 001176DC C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8011A780 001176E0 EF BF 00 32 */ fmuls f29, f31, f0 -/* 8011A784 001176E4 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 8011A788 001176E8 EF DF 00 B2 */ fmuls f30, f31, f2 -/* 8011A78C 001176EC C0 41 00 74 */ lfs f2, 0x74(r1) -/* 8011A790 001176F0 EF FF 00 72 */ fmuls f31, f31, f1 -/* 8011A794 001176F4 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 8011A798 001176F8 EC 42 F0 2A */ fadds f2, f2, f30 -/* 8011A79C 001176FC EC 21 F8 2A */ fadds f1, f1, f31 -/* 8011A7A0 00117700 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8011A7A4 00117704 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8011A7A8 00117708 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8011A7AC 0011770C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8011A7B0 00117710 48 21 D3 59 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8011A7B4 00117714 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 8011A7B8 00117718 38 61 00 64 */ addi r3, r1, 0x64 -/* 8011A7BC 0011771C C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 8011A7C0 00117720 38 81 00 28 */ addi r4, r1, 0x28 -/* 8011A7C4 00117724 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8011A7C8 00117728 EC 42 F0 2A */ fadds f2, f2, f30 -/* 8011A7CC 0011772C EC 21 F8 2A */ fadds f1, f1, f31 -/* 8011A7D0 00117730 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8011A7D4 00117734 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8011A7D8 00117738 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8011A7DC 0011773C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8011A7E0 00117740 48 21 D3 29 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8011A7E4 00117744 7F E3 FB 78 */ mr r3, r31 -/* 8011A7E8 00117748 81 9F 00 00 */ lwz r12, 0(r31) -/* 8011A7EC 0011774C 81 8C 00 7C */ lwz r12, 0x7c(r12) -/* 8011A7F0 00117750 7D 89 03 A6 */ mtctr r12 -/* 8011A7F4 00117754 4E 80 04 21 */ bctrl -/* 8011A7F8 00117758 FC 40 08 18 */ frsp f2, f1 -/* 8011A7FC 0011775C C0 0D 8A 70 */ lfs f0, lbl_805A7630@sda21(r13) -/* 8011A800 00117760 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8011A804 00117764 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8011A808 00117768 40 80 00 0C */ bge lbl_8011A814 -/* 8011A80C 0011776C 38 8D 8A 70 */ addi r4, r13, lbl_805A7630@sda21 -/* 8011A810 00117770 48 00 00 08 */ b lbl_8011A818 -lbl_8011A814: -/* 8011A814 00117774 38 81 00 0C */ addi r4, r1, 0xc -lbl_8011A818: -/* 8011A818 00117778 C0 22 96 B0 */ lfs f1, lbl_805AB3D0@sda21(r2) -/* 8011A81C 0011777C 38 61 00 64 */ addi r3, r1, 0x64 -/* 8011A820 00117780 C0 04 00 00 */ lfs f0, 0(r4) -/* 8011A824 00117784 38 81 00 1C */ addi r4, r1, 0x1c -/* 8011A828 00117788 C0 81 00 74 */ lfs f4, 0x74(r1) -/* 8011A82C 0011778C C0 62 96 AC */ lfs f3, lbl_805AB3CC@sda21(r2) -/* 8011A830 00117790 EC 21 00 2A */ fadds f1, f1, f0 -/* 8011A834 00117794 C0 41 00 78 */ lfs f2, 0x78(r1) -/* 8011A838 00117798 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 8011A83C 0011779C EC 84 18 2A */ fadds f4, f4, f3 -/* 8011A840 001177A0 EC 22 08 2A */ fadds f1, f2, f1 -/* 8011A844 001177A4 EC 00 18 2A */ fadds f0, f0, f3 -/* 8011A848 001177A8 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8011A84C 001177AC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8011A850 001177B0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8011A854 001177B4 48 21 D2 B5 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8011A858 001177B8 7F E3 FB 78 */ mr r3, r31 -/* 8011A85C 001177BC 81 9F 00 00 */ lwz r12, 0(r31) -/* 8011A860 001177C0 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 8011A864 001177C4 7D 89 03 A6 */ mtctr r12 -/* 8011A868 001177C8 4E 80 04 21 */ bctrl -/* 8011A86C 001177CC FC 40 08 18 */ frsp f2, f1 -/* 8011A870 001177D0 C0 0D 8A 74 */ lfs f0, lbl_805A7634@sda21(r13) -/* 8011A874 001177D4 D0 21 00 08 */ stfs f1, 8(r1) -/* 8011A878 001177D8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8011A87C 001177DC 40 80 00 0C */ bge lbl_8011A888 -/* 8011A880 001177E0 38 8D 8A 74 */ addi r4, r13, lbl_805A7634@sda21 -/* 8011A884 001177E4 48 00 00 08 */ b lbl_8011A88C -lbl_8011A888: -/* 8011A888 001177E8 38 81 00 08 */ addi r4, r1, 8 -lbl_8011A88C: -/* 8011A88C 001177EC C0 22 96 B4 */ lfs f1, lbl_805AB3D4@sda21(r2) -/* 8011A890 001177F0 38 61 00 64 */ addi r3, r1, 0x64 -/* 8011A894 001177F4 C0 04 00 00 */ lfs f0, 0(r4) -/* 8011A898 001177F8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8011A89C 001177FC C0 81 00 68 */ lfs f4, 0x68(r1) -/* 8011A8A0 00117800 C0 62 96 AC */ lfs f3, lbl_805AB3CC@sda21(r2) -/* 8011A8A4 00117804 EC 21 00 2A */ fadds f1, f1, f0 -/* 8011A8A8 00117808 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 8011A8AC 0011780C C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8011A8B0 00117810 EC 84 18 28 */ fsubs f4, f4, f3 -/* 8011A8B4 00117814 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8011A8B8 00117818 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8011A8BC 0011781C D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8011A8C0 00117820 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8011A8C4 00117824 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8011A8C8 00117828 48 21 D2 41 */ bl AccumulateBounds__6CAABoxFRC9CVector3f -/* 8011A8CC 0011782C C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8011A8D0 00117830 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8011A8D4 00117834 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 8011A8D8 00117838 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8011A8DC 0011783C C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8011A8E0 00117840 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8011A8E4 00117844 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 8011A8E8 00117848 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8011A8EC 0011784C C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8011A8F0 00117850 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8011A8F4 00117854 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 8011A8F8 00117858 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 8011A8FC 0011785C E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8011A900 00117860 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 8011A904 00117864 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 8011A908 00117868 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 8011A90C 0011786C E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 8011A910 00117870 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 8011A914 00117874 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8011A918 00117878 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8011A91C 0011787C 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8011A920 00117880 7C 08 03 A6 */ mtlr r0 -/* 8011A924 00117884 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8011A928 00117888 4E 80 00 20 */ blr - -.global GetBoundingBox__13CPhysicsActorCFv -GetBoundingBox__13CPhysicsActorCFv: -/* 8011A92C 0011788C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011A930 00117890 7C 08 02 A6 */ mflr r0 -/* 8011A934 00117894 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011A938 00117898 38 A1 00 08 */ addi r5, r1, 8 -/* 8011A93C 0011789C C0 24 01 E8 */ lfs f1, 0x1e8(r4) -/* 8011A940 001178A0 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8011A944 001178A4 C0 64 01 EC */ lfs f3, 0x1ec(r4) -/* 8011A948 001178A8 EC A1 00 2A */ fadds f5, f1, f0 -/* 8011A94C 001178AC C0 44 00 50 */ lfs f2, 0x50(r4) -/* 8011A950 001178B0 C0 24 01 B0 */ lfs f1, 0x1b0(r4) -/* 8011A954 001178B4 EC 83 10 2A */ fadds f4, f3, f2 -/* 8011A958 001178B8 C0 04 01 A4 */ lfs f0, 0x1a4(r4) -/* 8011A95C 001178BC EC 41 28 2A */ fadds f2, f1, f5 -/* 8011A960 001178C0 C0 64 01 B4 */ lfs f3, 0x1b4(r4) -/* 8011A964 001178C4 EC 00 28 2A */ fadds f0, f0, f5 -/* 8011A968 001178C8 C0 24 01 A8 */ lfs f1, 0x1a8(r4) -/* 8011A96C 001178CC EC C3 20 2A */ fadds f6, f3, f4 -/* 8011A970 001178D0 C0 64 01 B8 */ lfs f3, 0x1b8(r4) -/* 8011A974 001178D4 EC A1 20 2A */ fadds f5, f1, f4 -/* 8011A978 001178D8 C0 84 01 F0 */ lfs f4, 0x1f0(r4) -/* 8011A97C 001178DC C0 24 00 60 */ lfs f1, 0x60(r4) -/* 8011A980 001178E0 D0 41 00 08 */ stfs f2, 8(r1) -/* 8011A984 001178E4 EC 84 08 2A */ fadds f4, f4, f1 -/* 8011A988 001178E8 C0 24 01 AC */ lfs f1, 0x1ac(r4) -/* 8011A98C 001178EC D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 8011A990 001178F0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011A994 001178F4 EC 43 20 2A */ fadds f2, f3, f4 -/* 8011A998 001178F8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8011A99C 001178FC EC 21 20 2A */ fadds f1, f1, f4 -/* 8011A9A0 00117900 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 8011A9A4 00117904 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8011A9A8 00117908 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8011A9AC 0011790C 48 21 DB 5D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8011A9B0 00117910 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011A9B4 00117914 7C 08 03 A6 */ mtlr r0 -/* 8011A9B8 00117918 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011A9BC 0011791C 4E 80 00 20 */ blr - -.global GetBaseBoundingBox__13CPhysicsActorCFv -GetBaseBoundingBox__13CPhysicsActorCFv: -/* 8011A9C0 00117920 38 63 01 A4 */ addi r3, r3, 0x1a4 -/* 8011A9C4 00117924 4E 80 00 20 */ blr - -.global CollidedWith__13CPhysicsActorFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager -CollidedWith__13CPhysicsActorFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: -/* 8011A9C8 00117928 4E 80 00 20 */ blr - -.global GetPrimitiveTransform__13CPhysicsActorCFv -GetPrimitiveTransform__13CPhysicsActorCFv: -/* 8011A9CC 0011792C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011A9D0 00117930 7C 08 02 A6 */ mflr r0 -/* 8011A9D4 00117934 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011A9D8 00117938 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011A9DC 0011793C 7C 7F 1B 78 */ mr r31, r3 -/* 8011A9E0 00117940 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 8011A9E4 00117944 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 8011A9E8 00117948 C0 64 00 40 */ lfs f3, 0x40(r4) -/* 8011A9EC 0011794C C0 44 01 EC */ lfs f2, 0x1ec(r4) -/* 8011A9F0 00117950 C0 24 01 F0 */ lfs f1, 0x1f0(r4) -/* 8011A9F4 00117954 C0 04 01 E8 */ lfs f0, 0x1e8(r4) -/* 8011A9F8 00117958 EC 44 10 2A */ fadds f2, f4, f2 -/* 8011A9FC 0011795C EC 25 08 2A */ fadds f1, f5, f1 -/* 8011AA00 00117960 D0 61 00 08 */ stfs f3, 8(r1) -/* 8011AA04 00117964 EC 03 00 2A */ fadds f0, f3, f0 -/* 8011AA08 00117968 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011AA0C 0011796C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8011AA10 00117970 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 8011AA14 00117974 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8011AA18 00117978 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8011AA1C 0011797C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8011AA20 00117980 48 1F 87 21 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8011AA24 00117984 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011AA28 00117988 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011AA2C 0011798C 7C 08 03 A6 */ mtlr r0 -/* 8011AA30 00117990 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011AA34 00117994 4E 80 00 20 */ blr - -.global MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f -MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f: -/* 8011AA38 00117998 C0 04 00 00 */ lfs f0, 0(r4) -/* 8011AA3C 0011799C D0 03 01 E8 */ stfs f0, 0x1e8(r3) -/* 8011AA40 001179A0 C0 04 00 04 */ lfs f0, 4(r4) -/* 8011AA44 001179A4 D0 03 01 EC */ stfs f0, 0x1ec(r3) -/* 8011AA48 001179A8 C0 04 00 08 */ lfs f0, 8(r4) -/* 8011AA4C 001179AC D0 03 01 F0 */ stfs f0, 0x1f0(r3) -/* 8011AA50 001179B0 4E 80 00 20 */ blr - -.global GetCollisionPrimitive__13CPhysicsActorCFv -GetCollisionPrimitive__13CPhysicsActorCFv: -/* 8011AA54 001179B4 38 63 01 C0 */ addi r3, r3, 0x1c0 -/* 8011AA58 001179B8 4E 80 00 20 */ blr - -.global SetInertiaTensorScalar__13CPhysicsActorFf -SetInertiaTensorScalar__13CPhysicsActorFf: -/* 8011AA5C 001179BC C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) -/* 8011AA60 001179C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011AA64 001179C4 40 81 00 08 */ ble lbl_8011AA6C -/* 8011AA68 001179C8 48 00 00 08 */ b lbl_8011AA70 -lbl_8011AA6C: -/* 8011AA6C 001179CC C0 22 96 B0 */ lfs f1, lbl_805AB3D0@sda21(r2) -lbl_8011AA70: -/* 8011AA70 001179D0 D0 23 00 F0 */ stfs f1, 0xf0(r3) -/* 8011AA74 001179D4 C0 22 96 B0 */ lfs f1, lbl_805AB3D0@sda21(r2) -/* 8011AA78 001179D8 C0 03 00 F0 */ lfs f0, 0xf0(r3) -/* 8011AA7C 001179DC EC 01 00 24 */ fdivs f0, f1, f0 -/* 8011AA80 001179E0 D0 03 00 F4 */ stfs f0, 0xf4(r3) -/* 8011AA84 001179E4 4E 80 00 20 */ blr - -.global SetMass__13CPhysicsActorFf -SetMass__13CPhysicsActorFf: -/* 8011AA88 001179E8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011AA8C 001179EC 7C 08 02 A6 */ mflr r0 -/* 8011AA90 001179F0 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) -/* 8011AA94 001179F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011AA98 001179F8 D0 23 00 E8 */ stfs f1, 0xe8(r3) -/* 8011AA9C 001179FC C0 23 00 E8 */ lfs f1, 0xe8(r3) -/* 8011AAA0 00117A00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011AAA4 00117A04 40 81 00 10 */ ble lbl_8011AAB4 -/* 8011AAA8 00117A08 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) -/* 8011AAAC 00117A0C EC 00 08 24 */ fdivs f0, f0, f1 -/* 8011AAB0 00117A10 48 00 00 08 */ b lbl_8011AAB8 -lbl_8011AAB4: -/* 8011AAB4 00117A14 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) -lbl_8011AAB8: -/* 8011AAB8 00117A18 D0 03 00 EC */ stfs f0, 0xec(r3) -/* 8011AABC 00117A1C C0 22 96 B8 */ lfs f1, lbl_805AB3D8@sda21(r2) -/* 8011AAC0 00117A20 C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 8011AAC4 00117A24 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8011AAC8 00117A28 4B FF FF 95 */ bl SetInertiaTensorScalar__13CPhysicsActorFf -/* 8011AACC 00117A2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011AAD0 00117A30 7C 08 03 A6 */ mtlr r0 -/* 8011AAD4 00117A34 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011AAD8 00117A38 4E 80 00 20 */ blr - -.global SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle -SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle: -/* 8011AADC 00117A3C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8011AAE0 00117A40 7C 08 02 A6 */ mflr r0 -/* 8011AAE4 00117A44 90 01 00 54 */ stw r0, 0x54(r1) -/* 8011AAE8 00117A48 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8011AAEC 00117A4C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8011AAF0 00117A50 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8011AAF4 00117A54 7C 7F 1B 78 */ mr r31, r3 -/* 8011AAF8 00117A58 7C 83 23 78 */ mr r3, r4 -/* 8011AAFC 00117A5C 4B F0 0A 35 */ bl GetVector__10CAxisAngleCFv -/* 8011AB00 00117A60 7C 65 1B 78 */ mr r5, r3 -/* 8011AB04 00117A64 38 61 00 20 */ addi r3, r1, 0x20 -/* 8011AB08 00117A68 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8011AB0C 00117A6C 48 1F 7F 75 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8011AB10 00117A70 38 61 00 2C */ addi r3, r1, 0x2c -/* 8011AB14 00117A74 38 81 00 20 */ addi r4, r1, 0x20 -/* 8011AB18 00117A78 4B F0 0A 6D */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011AB1C 00117A7C 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 8011AB20 00117A80 38 7F 01 44 */ addi r3, r31, 0x144 -/* 8011AB24 00117A84 80 01 00 30 */ lwz r0, 0x30(r1) -/* 8011AB28 00117A88 90 9F 01 44 */ stw r4, 0x144(r31) -/* 8011AB2C 00117A8C 90 1F 01 48 */ stw r0, 0x148(r31) -/* 8011AB30 00117A90 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011AB34 00117A94 90 1F 01 4C */ stw r0, 0x14c(r31) -/* 8011AB38 00117A98 C3 FF 00 F0 */ lfs f31, 0xf0(r31) -/* 8011AB3C 00117A9C 4B F0 09 F5 */ bl GetVector__10CAxisAngleCFv -/* 8011AB40 00117AA0 C0 43 00 04 */ lfs f2, 4(r3) -/* 8011AB44 00117AA4 38 81 00 08 */ addi r4, r1, 8 -/* 8011AB48 00117AA8 C0 23 00 08 */ lfs f1, 8(r3) -/* 8011AB4C 00117AAC C0 03 00 00 */ lfs f0, 0(r3) -/* 8011AB50 00117AB0 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8011AB54 00117AB4 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8011AB58 00117AB8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011AB5C 00117ABC EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8011AB60 00117AC0 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8011AB64 00117AC4 D0 01 00 08 */ stfs f0, 8(r1) -/* 8011AB68 00117AC8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8011AB6C 00117ACC 4B F0 0A 19 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011AB70 00117AD0 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8011AB74 00117AD4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8011AB78 00117AD8 90 7F 01 08 */ stw r3, 0x108(r31) -/* 8011AB7C 00117ADC 90 1F 01 0C */ stw r0, 0x10c(r31) -/* 8011AB80 00117AE0 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8011AB84 00117AE4 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8011AB88 00117AE8 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8011AB8C 00117AEC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8011AB90 00117AF0 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8011AB94 00117AF4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8011AB98 00117AF8 7C 08 03 A6 */ mtlr r0 -/* 8011AB9C 00117AFC 38 21 00 50 */ addi r1, r1, 0x50 -/* 8011ABA0 00117B00 4E 80 00 20 */ blr - -.global GetAngularVelocityOR__13CPhysicsActorCFv -GetAngularVelocityOR__13CPhysicsActorCFv: -/* 8011ABA4 00117B04 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011ABA8 00117B08 7C 08 02 A6 */ mflr r0 -/* 8011ABAC 00117B0C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011ABB0 00117B10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011ABB4 00117B14 7C 9F 23 78 */ mr r31, r4 -/* 8011ABB8 00117B18 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8011ABBC 00117B1C 7C 7E 1B 78 */ mr r30, r3 -/* 8011ABC0 00117B20 38 7F 01 44 */ addi r3, r31, 0x144 -/* 8011ABC4 00117B24 4B F0 09 6D */ bl GetVector__10CAxisAngleCFv -/* 8011ABC8 00117B28 7C 65 1B 78 */ mr r5, r3 -/* 8011ABCC 00117B2C 38 61 00 08 */ addi r3, r1, 8 -/* 8011ABD0 00117B30 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8011ABD4 00117B34 48 1F 7E 51 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 8011ABD8 00117B38 7F C3 F3 78 */ mr r3, r30 -/* 8011ABDC 00117B3C 38 81 00 08 */ addi r4, r1, 8 -/* 8011ABE0 00117B40 4B F0 09 A5 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011ABE4 00117B44 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011ABE8 00117B48 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011ABEC 00117B4C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8011ABF0 00117B50 7C 08 03 A6 */ mtlr r0 -/* 8011ABF4 00117B54 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011ABF8 00117B58 4E 80 00 20 */ blr - -.global SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle -SetAngularVelocityWR__13CPhysicsActorFRC10CAxisAngle: -/* 8011ABFC 00117B5C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8011AC00 00117B60 7C 08 02 A6 */ mflr r0 -/* 8011AC04 00117B64 90 01 00 44 */ stw r0, 0x44(r1) -/* 8011AC08 00117B68 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8011AC0C 00117B6C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8011AC10 00117B70 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011AC14 00117B74 80 A4 00 00 */ lwz r5, 0(r4) -/* 8011AC18 00117B78 7C 7F 1B 78 */ mr r31, r3 -/* 8011AC1C 00117B7C 80 04 00 04 */ lwz r0, 4(r4) -/* 8011AC20 00117B80 38 7F 01 44 */ addi r3, r31, 0x144 -/* 8011AC24 00117B84 90 BF 01 44 */ stw r5, 0x144(r31) -/* 8011AC28 00117B88 90 1F 01 48 */ stw r0, 0x148(r31) -/* 8011AC2C 00117B8C 80 04 00 08 */ lwz r0, 8(r4) -/* 8011AC30 00117B90 90 1F 01 4C */ stw r0, 0x14c(r31) -/* 8011AC34 00117B94 C3 FF 00 F0 */ lfs f31, 0xf0(r31) -/* 8011AC38 00117B98 4B F0 08 F9 */ bl GetVector__10CAxisAngleCFv -/* 8011AC3C 00117B9C C0 43 00 04 */ lfs f2, 4(r3) -/* 8011AC40 00117BA0 38 81 00 08 */ addi r4, r1, 8 -/* 8011AC44 00117BA4 C0 23 00 08 */ lfs f1, 8(r3) -/* 8011AC48 00117BA8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8011AC4C 00117BAC EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8011AC50 00117BB0 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8011AC54 00117BB4 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011AC58 00117BB8 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8011AC5C 00117BBC D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8011AC60 00117BC0 D0 01 00 08 */ stfs f0, 8(r1) -/* 8011AC64 00117BC4 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8011AC68 00117BC8 4B F0 09 1D */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011AC6C 00117BCC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8011AC70 00117BD0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8011AC74 00117BD4 90 7F 01 08 */ stw r3, 0x108(r31) -/* 8011AC78 00117BD8 90 1F 01 0C */ stw r0, 0x10c(r31) -/* 8011AC7C 00117BDC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8011AC80 00117BE0 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8011AC84 00117BE4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8011AC88 00117BE8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8011AC8C 00117BEC CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8011AC90 00117BF0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011AC94 00117BF4 7C 08 03 A6 */ mtlr r0 -/* 8011AC98 00117BF8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8011AC9C 00117BFC 4E 80 00 20 */ blr - -.global SetVelocityWR__13CPhysicsActorFRC9CVector3f -SetVelocityWR__13CPhysicsActorFRC9CVector3f: -/* 8011ACA0 00117C00 C0 04 00 00 */ lfs f0, 0(r4) -/* 8011ACA4 00117C04 D0 03 01 38 */ stfs f0, 0x138(r3) -/* 8011ACA8 00117C08 C0 04 00 04 */ lfs f0, 4(r4) -/* 8011ACAC 00117C0C D0 03 01 3C */ stfs f0, 0x13c(r3) -/* 8011ACB0 00117C10 C0 04 00 08 */ lfs f0, 8(r4) -/* 8011ACB4 00117C14 D0 03 01 40 */ stfs f0, 0x140(r3) -/* 8011ACB8 00117C18 C0 63 00 E8 */ lfs f3, 0xe8(r3) -/* 8011ACBC 00117C1C C0 03 01 38 */ lfs f0, 0x138(r3) -/* 8011ACC0 00117C20 C0 43 01 3C */ lfs f2, 0x13c(r3) -/* 8011ACC4 00117C24 C0 23 01 40 */ lfs f1, 0x140(r3) -/* 8011ACC8 00117C28 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8011ACCC 00117C2C EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8011ACD0 00117C30 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8011ACD4 00117C34 D0 03 00 FC */ stfs f0, 0xfc(r3) -/* 8011ACD8 00117C38 D0 43 01 00 */ stfs f2, 0x100(r3) -/* 8011ACDC 00117C3C D0 23 01 04 */ stfs f1, 0x104(r3) -/* 8011ACE0 00117C40 4E 80 00 20 */ blr - -.global GetTotalForceWR__13CPhysicsActorCFv -GetTotalForceWR__13CPhysicsActorCFv: -/* 8011ACE4 00117C44 C0 24 01 5C */ lfs f1, 0x15c(r4) -/* 8011ACE8 00117C48 C0 04 01 50 */ lfs f0, 0x150(r4) -/* 8011ACEC 00117C4C C0 84 01 60 */ lfs f4, 0x160(r4) -/* 8011ACF0 00117C50 C0 64 01 54 */ lfs f3, 0x154(r4) -/* 8011ACF4 00117C54 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011ACF8 00117C58 C0 44 01 64 */ lfs f2, 0x164(r4) -/* 8011ACFC 00117C5C C0 24 01 58 */ lfs f1, 0x158(r4) -/* 8011AD00 00117C60 EC 64 18 2A */ fadds f3, f4, f3 -/* 8011AD04 00117C64 D0 03 00 00 */ stfs f0, 0(r3) -/* 8011AD08 00117C68 EC 02 08 2A */ fadds f0, f2, f1 -/* 8011AD0C 00117C6C D0 63 00 04 */ stfs f3, 4(r3) -/* 8011AD10 00117C70 D0 03 00 08 */ stfs f0, 8(r3) -/* 8011AD14 00117C74 4E 80 00 20 */ blr - -.global SetVelocityOR__13CPhysicsActorFRC9CVector3f -SetVelocityOR__13CPhysicsActorFRC9CVector3f: -/* 8011AD18 00117C78 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011AD1C 00117C7C 7C 08 02 A6 */ mflr r0 -/* 8011AD20 00117C80 7C 85 23 78 */ mr r5, r4 -/* 8011AD24 00117C84 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011AD28 00117C88 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011AD2C 00117C8C 7C 7F 1B 78 */ mr r31, r3 -/* 8011AD30 00117C90 38 61 00 08 */ addi r3, r1, 8 -/* 8011AD34 00117C94 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8011AD38 00117C98 48 1F 7D 49 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8011AD3C 00117C9C 7F E3 FB 78 */ mr r3, r31 -/* 8011AD40 00117CA0 38 81 00 08 */ addi r4, r1, 8 -/* 8011AD44 00117CA4 4B FF FF 5D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 8011AD48 00117CA8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011AD4C 00117CAC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011AD50 00117CB0 7C 08 03 A6 */ mtlr r0 -/* 8011AD54 00117CB4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011AD58 00117CB8 4E 80 00 20 */ blr - -.global RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf -RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf: -/* 8011AD5C 00117CBC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011AD60 00117CC0 7C 08 02 A6 */ mflr r0 -/* 8011AD64 00117CC4 7C 85 23 78 */ mr r5, r4 -/* 8011AD68 00117CC8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011AD6C 00117CCC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011AD70 00117CD0 7C 7F 1B 78 */ mr r31, r3 -/* 8011AD74 00117CD4 7F E4 FB 78 */ mr r4, r31 -/* 8011AD78 00117CD8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011AD7C 00117CDC 48 00 01 55 */ bl GetRotateToORAngularMomentumWR__13CPhysicsActorCFRC11CQuaternionf -/* 8011AD80 00117CE0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011AD84 00117CE4 38 61 00 08 */ addi r3, r1, 8 -/* 8011AD88 00117CE8 4B F0 07 FD */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011AD8C 00117CEC 7C 64 1B 78 */ mr r4, r3 -/* 8011AD90 00117CF0 38 7F 01 98 */ addi r3, r31, 0x198 -/* 8011AD94 00117CF4 4B F0 07 1D */ bl __apl__10CAxisAngleFRC10CAxisAngle -/* 8011AD98 00117CF8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011AD9C 00117CFC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011ADA0 00117D00 7C 08 03 A6 */ mtlr r0 -/* 8011ADA4 00117D04 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011ADA8 00117D08 4E 80 00 20 */ blr - -.global MoveInOneFrameOR__13CPhysicsActorFRC9CVector3ff -MoveInOneFrameOR__13CPhysicsActorFRC9CVector3ff: -/* 8011ADAC 00117D0C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011ADB0 00117D10 7C 08 02 A6 */ mflr r0 -/* 8011ADB4 00117D14 7C 85 23 78 */ mr r5, r4 -/* 8011ADB8 00117D18 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011ADBC 00117D1C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011ADC0 00117D20 7C 7F 1B 78 */ mr r31, r3 -/* 8011ADC4 00117D24 7F E4 FB 78 */ mr r4, r31 -/* 8011ADC8 00117D28 38 61 00 08 */ addi r3, r1, 8 -/* 8011ADCC 00117D2C 48 00 02 3D */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff -/* 8011ADD0 00117D30 C0 3F 01 8C */ lfs f1, 0x18c(r31) -/* 8011ADD4 00117D34 C0 01 00 08 */ lfs f0, 8(r1) -/* 8011ADD8 00117D38 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011ADDC 00117D3C D0 1F 01 8C */ stfs f0, 0x18c(r31) -/* 8011ADE0 00117D40 C0 3F 01 90 */ lfs f1, 0x190(r31) -/* 8011ADE4 00117D44 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8011ADE8 00117D48 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011ADEC 00117D4C D0 1F 01 90 */ stfs f0, 0x190(r31) -/* 8011ADF0 00117D50 C0 3F 01 94 */ lfs f1, 0x194(r31) -/* 8011ADF4 00117D54 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8011ADF8 00117D58 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011ADFC 00117D5C D0 1F 01 94 */ stfs f0, 0x194(r31) -/* 8011AE00 00117D60 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011AE04 00117D64 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011AE08 00117D68 7C 08 03 A6 */ mtlr r0 -/* 8011AE0C 00117D6C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011AE10 00117D70 4E 80 00 20 */ blr - -.global RotateToOR__13CPhysicsActorFRC11CQuaternionf -RotateToOR__13CPhysicsActorFRC11CQuaternionf: -/* 8011AE14 00117D74 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011AE18 00117D78 7C 08 02 A6 */ mflr r0 -/* 8011AE1C 00117D7C 7C 85 23 78 */ mr r5, r4 -/* 8011AE20 00117D80 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011AE24 00117D84 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011AE28 00117D88 7C 7F 1B 78 */ mr r31, r3 -/* 8011AE2C 00117D8C 7F E4 FB 78 */ mr r4, r31 -/* 8011AE30 00117D90 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011AE34 00117D94 48 00 00 9D */ bl GetRotateToORAngularMomentumWR__13CPhysicsActorCFRC11CQuaternionf -/* 8011AE38 00117D98 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011AE3C 00117D9C 38 61 00 08 */ addi r3, r1, 8 -/* 8011AE40 00117DA0 4B F0 07 45 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011AE44 00117DA4 80 81 00 08 */ lwz r4, 8(r1) -/* 8011AE48 00117DA8 7F E3 FB 78 */ mr r3, r31 -/* 8011AE4C 00117DAC 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8011AE50 00117DB0 90 9F 01 08 */ stw r4, 0x108(r31) -/* 8011AE54 00117DB4 90 1F 01 0C */ stw r0, 0x10c(r31) -/* 8011AE58 00117DB8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8011AE5C 00117DBC 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8011AE60 00117DC0 48 00 12 19 */ bl ComputeDerivedQuantities__13CPhysicsActorFv -/* 8011AE64 00117DC4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011AE68 00117DC8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011AE6C 00117DCC 7C 08 03 A6 */ mtlr r0 -/* 8011AE70 00117DD0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011AE74 00117DD4 4E 80 00 20 */ blr - -.global MoveToOR__13CPhysicsActorFRC9CVector3ff -MoveToOR__13CPhysicsActorFRC9CVector3ff: -/* 8011AE78 00117DD8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011AE7C 00117DDC 7C 08 02 A6 */ mflr r0 -/* 8011AE80 00117DE0 7C 85 23 78 */ mr r5, r4 -/* 8011AE84 00117DE4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011AE88 00117DE8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011AE8C 00117DEC 7C 7F 1B 78 */ mr r31, r3 -/* 8011AE90 00117DF0 7F E4 FB 78 */ mr r4, r31 -/* 8011AE94 00117DF4 38 61 00 08 */ addi r3, r1, 8 -/* 8011AE98 00117DF8 48 00 01 71 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff -/* 8011AE9C 00117DFC C0 01 00 08 */ lfs f0, 8(r1) -/* 8011AEA0 00117E00 7F E3 FB 78 */ mr r3, r31 -/* 8011AEA4 00117E04 D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 8011AEA8 00117E08 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8011AEAC 00117E0C D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 8011AEB0 00117E10 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8011AEB4 00117E14 D0 1F 01 04 */ stfs f0, 0x104(r31) -/* 8011AEB8 00117E18 48 00 11 C1 */ bl ComputeDerivedQuantities__13CPhysicsActorFv -/* 8011AEBC 00117E1C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011AEC0 00117E20 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011AEC4 00117E24 7C 08 03 A6 */ mtlr r0 -/* 8011AEC8 00117E28 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011AECC 00117E2C 4E 80 00 20 */ blr - -.global GetRotateToORAngularMomentumWR__13CPhysicsActorCFRC11CQuaternionf -GetRotateToORAngularMomentumWR__13CPhysicsActorCFRC11CQuaternionf: -/* 8011AED0 00117E30 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8011AED4 00117E34 7C 08 02 A6 */ mflr r0 -/* 8011AED8 00117E38 90 01 00 74 */ stw r0, 0x74(r1) -/* 8011AEDC 00117E3C DB E1 00 60 */ stfd f31, 0x60(r1) -/* 8011AEE0 00117E40 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8011AEE4 00117E44 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 8011AEE8 00117E48 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 8011AEEC 00117E4C DB A1 00 40 */ stfd f29, 0x40(r1) -/* 8011AEF0 00117E50 F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 -/* 8011AEF4 00117E54 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8011AEF8 00117E58 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8011AEFC 00117E5C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8011AF00 00117E60 7C BF 2B 78 */ mr r31, r5 -/* 8011AF04 00117E64 C0 02 96 BC */ lfs f0, lbl_805AB3DC@sda21(r2) -/* 8011AF08 00117E68 C0 45 00 00 */ lfs f2, 0(r5) -/* 8011AF0C 00117E6C FF A0 08 90 */ fmr f29, f1 -/* 8011AF10 00117E70 7C 7D 1B 78 */ mr r29, r3 -/* 8011AF14 00117E74 7C 9E 23 78 */ mr r30, r4 -/* 8011AF18 00117E78 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8011AF1C 00117E7C 40 81 00 24 */ ble lbl_8011AF40 -/* 8011AF20 00117E80 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011AF24 00117E84 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8011AF28 00117E88 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8011AF2C 00117E8C C0 03 00 04 */ lfs f0, 4(r3) -/* 8011AF30 00117E90 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8011AF34 00117E94 C0 03 00 08 */ lfs f0, 8(r3) -/* 8011AF38 00117E98 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8011AF3C 00117E9C 48 00 00 98 */ b lbl_8011AFD4 -lbl_8011AF40: -/* 8011AF40 00117EA0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011AF44 00117EA4 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8011AF48 00117EA8 38 BF 00 04 */ addi r5, r31, 4 -/* 8011AF4C 00117EAC 48 1F 7B 35 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8011AF50 00117EB0 C0 3F 00 00 */ lfs f1, 0(r31) -/* 8011AF54 00117EB4 3B E1 00 24 */ addi r31, r1, 0x24 -/* 8011AF58 00117EB8 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8011AF5C 00117EBC C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8011AF60 00117EC0 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8011AF64 00117EC4 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8011AF68 00117EC8 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8011AF6C 00117ECC D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8011AF70 00117ED0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8011AF74 00117ED4 48 27 9C B9 */ bl acos -/* 8011AF78 00117ED8 FF E0 08 90 */ fmr f31, f1 -/* 8011AF7C 00117EDC C3 DE 00 F0 */ lfs f30, 0xf0(r30) -/* 8011AF80 00117EE0 7F E4 FB 78 */ mr r4, r31 -/* 8011AF84 00117EE4 38 61 00 08 */ addi r3, r1, 8 -/* 8011AF88 00117EE8 48 1F 98 C9 */ bl AsNormalized__9CVector3fCFv -/* 8011AF8C 00117EEC C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) -/* 8011AF90 00117EF0 FC 80 F8 18 */ frsp f4, f31 -/* 8011AF94 00117EF4 C0 A2 96 C0 */ lfs f5, lbl_805AB3E0@sda21(r2) -/* 8011AF98 00117EF8 EC 60 E8 24 */ fdivs f3, f0, f29 -/* 8011AF9C 00117EFC C0 41 00 08 */ lfs f2, 8(r1) -/* 8011AFA0 00117F00 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8011AFA4 00117F04 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8011AFA8 00117F08 EC 85 01 32 */ fmuls f4, f5, f4 -/* 8011AFAC 00117F0C EC 84 00 F2 */ fmuls f4, f4, f3 -/* 8011AFB0 00117F10 EC 64 00 B2 */ fmuls f3, f4, f2 -/* 8011AFB4 00117F14 EC 44 00 72 */ fmuls f2, f4, f1 -/* 8011AFB8 00117F18 EC 24 00 32 */ fmuls f1, f4, f0 -/* 8011AFBC 00117F1C EC 1E 00 F2 */ fmuls f0, f30, f3 -/* 8011AFC0 00117F20 EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 8011AFC4 00117F24 EC 3E 00 72 */ fmuls f1, f30, f1 -/* 8011AFC8 00117F28 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8011AFCC 00117F2C D0 5D 00 04 */ stfs f2, 4(r29) -/* 8011AFD0 00117F30 D0 3D 00 08 */ stfs f1, 8(r29) -lbl_8011AFD4: -/* 8011AFD4 00117F34 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 8011AFD8 00117F38 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 8011AFDC 00117F3C E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 8011AFE0 00117F40 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 8011AFE4 00117F44 E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 -/* 8011AFE8 00117F48 CB A1 00 40 */ lfd f29, 0x40(r1) -/* 8011AFEC 00117F4C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8011AFF0 00117F50 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8011AFF4 00117F54 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8011AFF8 00117F58 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8011AFFC 00117F5C 7C 08 03 A6 */ mtlr r0 -/* 8011B000 00117F60 38 21 00 70 */ addi r1, r1, 0x70 -/* 8011B004 00117F64 4E 80 00 20 */ blr - -.global GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff -GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff: -/* 8011B008 00117F68 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011B00C 00117F6C 7C 08 02 A6 */ mflr r0 -/* 8011B010 00117F70 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011B014 00117F74 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8011B018 00117F78 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8011B01C 00117F7C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011B020 00117F80 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8011B024 00117F84 FF E0 08 90 */ fmr f31, f1 -/* 8011B028 00117F88 7C 9F 23 78 */ mr r31, r4 -/* 8011B02C 00117F8C 7C 7E 1B 78 */ mr r30, r3 -/* 8011B030 00117F90 38 61 00 08 */ addi r3, r1, 8 -/* 8011B034 00117F94 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8011B038 00117F98 48 1F 7A 49 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8011B03C 00117F9C C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) -/* 8011B040 00117FA0 C0 7F 00 E8 */ lfs f3, 0xe8(r31) -/* 8011B044 00117FA4 EC 80 F8 24 */ fdivs f4, f0, f31 -/* 8011B048 00117FA8 C0 41 00 08 */ lfs f2, 8(r1) -/* 8011B04C 00117FAC C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8011B050 00117FB0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8011B054 00117FB4 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8011B058 00117FB8 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8011B05C 00117FBC EC 03 00 32 */ fmuls f0, f3, f0 -/* 8011B060 00117FC0 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8011B064 00117FC4 EC 24 00 72 */ fmuls f1, f4, f1 -/* 8011B068 00117FC8 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8011B06C 00117FCC D0 5E 00 00 */ stfs f2, 0(r30) -/* 8011B070 00117FD0 D0 3E 00 04 */ stfs f1, 4(r30) -/* 8011B074 00117FD4 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8011B078 00117FD8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8011B07C 00117FDC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011B080 00117FE0 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8011B084 00117FE4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011B088 00117FE8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8011B08C 00117FEC 7C 08 03 A6 */ mtlr r0 -/* 8011B090 00117FF0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011B094 00117FF4 4E 80 00 20 */ blr - -.global MoveToInOneFrameWR__13CPhysicsActorFRC9CVector3ff -MoveToInOneFrameWR__13CPhysicsActorFRC9CVector3ff: -/* 8011B098 00117FF8 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) -/* 8011B09C 00117FFC C0 84 00 00 */ lfs f4, 0(r4) -/* 8011B0A0 00118000 EC C0 08 24 */ fdivs f6, f0, f1 -/* 8011B0A4 00118004 C0 43 00 40 */ lfs f2, 0x40(r3) -/* 8011B0A8 00118008 C0 A3 00 E8 */ lfs f5, 0xe8(r3) -/* 8011B0AC 0011800C C0 64 00 04 */ lfs f3, 4(r4) -/* 8011B0B0 00118010 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8011B0B4 00118014 C0 03 01 8C */ lfs f0, 0x18c(r3) -/* 8011B0B8 00118018 EC 84 10 28 */ fsubs f4, f4, f2 -/* 8011B0BC 0011801C C0 44 00 08 */ lfs f2, 8(r4) -/* 8011B0C0 00118020 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8011B0C4 00118024 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 8011B0C8 00118028 EC 85 01 32 */ fmuls f4, f5, f4 -/* 8011B0CC 0011802C EC 65 00 F2 */ fmuls f3, f5, f3 -/* 8011B0D0 00118030 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8011B0D4 00118034 EC 86 01 32 */ fmuls f4, f6, f4 -/* 8011B0D8 00118038 EC 46 00 F2 */ fmuls f2, f6, f3 -/* 8011B0DC 0011803C EC 25 00 72 */ fmuls f1, f5, f1 -/* 8011B0E0 00118040 EC 00 20 2A */ fadds f0, f0, f4 -/* 8011B0E4 00118044 EC 26 00 72 */ fmuls f1, f6, f1 -/* 8011B0E8 00118048 D0 03 01 8C */ stfs f0, 0x18c(r3) -/* 8011B0EC 0011804C C0 03 01 90 */ lfs f0, 0x190(r3) -/* 8011B0F0 00118050 EC 00 10 2A */ fadds f0, f0, f2 -/* 8011B0F4 00118054 D0 03 01 90 */ stfs f0, 0x190(r3) -/* 8011B0F8 00118058 C0 03 01 94 */ lfs f0, 0x194(r3) -/* 8011B0FC 0011805C EC 00 08 2A */ fadds f0, f0, f1 -/* 8011B100 00118060 D0 03 01 94 */ stfs f0, 0x194(r3) -/* 8011B104 00118064 4E 80 00 20 */ blr - -.global MoveToWR__13CPhysicsActorFRC9CVector3ff -MoveToWR__13CPhysicsActorFRC9CVector3ff: -/* 8011B108 00118068 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011B10C 0011806C 7C 08 02 A6 */ mflr r0 -/* 8011B110 00118070 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) -/* 8011B114 00118074 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011B118 00118078 EC C0 08 24 */ fdivs f6, f0, f1 -/* 8011B11C 0011807C C0 84 00 00 */ lfs f4, 0(r4) -/* 8011B120 00118080 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8011B124 00118084 C0 64 00 04 */ lfs f3, 4(r4) -/* 8011B128 00118088 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 8011B12C 0011808C C0 A3 00 E8 */ lfs f5, 0xe8(r3) -/* 8011B130 00118090 EC 84 00 28 */ fsubs f4, f4, f0 -/* 8011B134 00118094 C0 24 00 08 */ lfs f1, 8(r4) -/* 8011B138 00118098 C0 03 00 60 */ lfs f0, 0x60(r3) -/* 8011B13C 0011809C EC 43 10 28 */ fsubs f2, f3, f2 -/* 8011B140 001180A0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8011B144 001180A4 EC 25 00 B2 */ fmuls f1, f5, f2 -/* 8011B148 001180A8 EC 65 01 32 */ fmuls f3, f5, f4 -/* 8011B14C 001180AC EC 05 00 32 */ fmuls f0, f5, f0 -/* 8011B150 001180B0 EC 26 00 72 */ fmuls f1, f6, f1 -/* 8011B154 001180B4 EC 46 00 F2 */ fmuls f2, f6, f3 -/* 8011B158 001180B8 EC 06 00 32 */ fmuls f0, f6, f0 -/* 8011B15C 001180BC D0 43 00 FC */ stfs f2, 0xfc(r3) -/* 8011B160 001180C0 D0 23 01 00 */ stfs f1, 0x100(r3) -/* 8011B164 001180C4 D0 03 01 04 */ stfs f0, 0x104(r3) -/* 8011B168 001180C8 48 00 0F 11 */ bl ComputeDerivedQuantities__13CPhysicsActorFv -/* 8011B16C 001180CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011B170 001180D0 7C 08 03 A6 */ mtlr r0 -/* 8011B174 001180D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011B178 001180D8 4E 80 00 20 */ blr - -.global UseCollisionImpulses__13CPhysicsActorFv -UseCollisionImpulses__13CPhysicsActorFv: -/* 8011B17C 001180DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011B180 001180E0 7C 08 02 A6 */ mflr r0 -/* 8011B184 001180E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011B188 001180E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011B18C 001180EC 7C 7F 1B 78 */ mr r31, r3 -/* 8011B190 001180F0 38 9F 01 80 */ addi r4, r31, 0x180 -/* 8011B194 001180F4 C0 23 00 FC */ lfs f1, 0xfc(r3) -/* 8011B198 001180F8 38 7F 01 08 */ addi r3, r31, 0x108 -/* 8011B19C 001180FC C0 1F 01 68 */ lfs f0, 0x168(r31) -/* 8011B1A0 00118100 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011B1A4 00118104 D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 8011B1A8 00118108 C0 3F 01 00 */ lfs f1, 0x100(r31) -/* 8011B1AC 0011810C C0 1F 01 6C */ lfs f0, 0x16c(r31) -/* 8011B1B0 00118110 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011B1B4 00118114 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 8011B1B8 00118118 C0 3F 01 04 */ lfs f1, 0x104(r31) -/* 8011B1BC 0011811C C0 1F 01 70 */ lfs f0, 0x170(r31) -/* 8011B1C0 00118120 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011B1C4 00118124 D0 1F 01 04 */ stfs f0, 0x104(r31) -/* 8011B1C8 00118128 4B F0 02 E9 */ bl __apl__10CAxisAngleFRC10CAxisAngle -/* 8011B1CC 0011812C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011B1D0 00118130 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8011B1D4 00118134 D0 1F 01 68 */ stfs f0, 0x168(r31) -/* 8011B1D8 00118138 C0 03 00 04 */ lfs f0, 4(r3) -/* 8011B1DC 0011813C D0 1F 01 6C */ stfs f0, 0x16c(r31) -/* 8011B1E0 00118140 C0 03 00 08 */ lfs f0, 8(r3) -/* 8011B1E4 00118144 D0 1F 01 70 */ stfs f0, 0x170(r31) -/* 8011B1E8 00118148 4B F0 03 4D */ bl Identity__10CAxisAngleFv -/* 8011B1EC 0011814C 80 83 00 00 */ lwz r4, 0(r3) -/* 8011B1F0 00118150 80 03 00 04 */ lwz r0, 4(r3) -/* 8011B1F4 00118154 90 9F 01 80 */ stw r4, 0x180(r31) -/* 8011B1F8 00118158 90 1F 01 84 */ stw r0, 0x184(r31) -/* 8011B1FC 0011815C 80 03 00 08 */ lwz r0, 8(r3) -/* 8011B200 00118160 7F E3 FB 78 */ mr r3, r31 -/* 8011B204 00118164 90 1F 01 88 */ stw r0, 0x188(r31) -/* 8011B208 00118168 48 00 0E 71 */ bl ComputeDerivedQuantities__13CPhysicsActorFv -/* 8011B20C 0011816C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011B210 00118170 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011B214 00118174 7C 08 03 A6 */ mtlr r0 -/* 8011B218 00118178 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011B21C 0011817C 4E 80 00 20 */ blr - -.global ClearImpulses__13CPhysicsActorFv -ClearImpulses__13CPhysicsActorFv: -/* 8011B220 00118180 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011B224 00118184 7C 08 02 A6 */ mflr r0 -/* 8011B228 00118188 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011B22C 0011818C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011B230 00118190 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011B234 00118194 7C 7F 1B 78 */ mr r31, r3 -/* 8011B238 00118198 38 64 66 A0 */ addi r3, r4, skZero3f@l -/* 8011B23C 0011819C C0 03 00 00 */ lfs f0, 0(r3) -/* 8011B240 001181A0 D0 1F 01 8C */ stfs f0, 0x18c(r31) -/* 8011B244 001181A4 C0 03 00 04 */ lfs f0, 4(r3) -/* 8011B248 001181A8 D0 1F 01 90 */ stfs f0, 0x190(r31) -/* 8011B24C 001181AC C0 03 00 08 */ lfs f0, 8(r3) -/* 8011B250 001181B0 D0 1F 01 94 */ stfs f0, 0x194(r31) -/* 8011B254 001181B4 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 8011B258 001181B8 D0 1F 01 68 */ stfs f0, 0x168(r31) -/* 8011B25C 001181BC C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8011B260 001181C0 D0 1F 01 6C */ stfs f0, 0x16c(r31) -/* 8011B264 001181C4 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 8011B268 001181C8 D0 1F 01 70 */ stfs f0, 0x170(r31) -/* 8011B26C 001181CC 4B F0 02 C9 */ bl Identity__10CAxisAngleFv -/* 8011B270 001181D0 80 83 00 00 */ lwz r4, 0(r3) -/* 8011B274 001181D4 80 03 00 04 */ lwz r0, 4(r3) -/* 8011B278 001181D8 90 9F 01 98 */ stw r4, 0x198(r31) -/* 8011B27C 001181DC 90 1F 01 9C */ stw r0, 0x19c(r31) -/* 8011B280 001181E0 80 03 00 08 */ lwz r0, 8(r3) -/* 8011B284 001181E4 90 1F 01 A0 */ stw r0, 0x1a0(r31) -/* 8011B288 001181E8 80 7F 01 98 */ lwz r3, 0x198(r31) -/* 8011B28C 001181EC 80 1F 01 9C */ lwz r0, 0x19c(r31) -/* 8011B290 001181F0 90 7F 01 80 */ stw r3, 0x180(r31) -/* 8011B294 001181F4 90 1F 01 84 */ stw r0, 0x184(r31) -/* 8011B298 001181F8 80 1F 01 A0 */ lwz r0, 0x1a0(r31) -/* 8011B29C 001181FC 90 1F 01 88 */ stw r0, 0x188(r31) -/* 8011B2A0 00118200 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011B2A4 00118204 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011B2A8 00118208 7C 08 03 A6 */ mtlr r0 -/* 8011B2AC 0011820C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011B2B0 00118210 4E 80 00 20 */ blr - -.global ClearForcesAndTorques__13CPhysicsActorFv -ClearForcesAndTorques__13CPhysicsActorFv: -/* 8011B2B4 00118214 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011B2B8 00118218 7C 08 02 A6 */ mflr r0 -/* 8011B2BC 0011821C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011B2C0 00118220 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011B2C4 00118224 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011B2C8 00118228 7C 7F 1B 78 */ mr r31, r3 -/* 8011B2CC 0011822C 38 64 66 A0 */ addi r3, r4, skZero3f@l -/* 8011B2D0 00118230 C0 03 00 00 */ lfs f0, 0(r3) -/* 8011B2D4 00118234 D0 1F 01 8C */ stfs f0, 0x18c(r31) -/* 8011B2D8 00118238 C0 03 00 04 */ lfs f0, 4(r3) -/* 8011B2DC 0011823C D0 1F 01 90 */ stfs f0, 0x190(r31) -/* 8011B2E0 00118240 C0 03 00 08 */ lfs f0, 8(r3) -/* 8011B2E4 00118244 D0 1F 01 94 */ stfs f0, 0x194(r31) -/* 8011B2E8 00118248 C0 1F 01 8C */ lfs f0, 0x18c(r31) -/* 8011B2EC 0011824C D0 1F 01 68 */ stfs f0, 0x168(r31) -/* 8011B2F0 00118250 C0 1F 01 90 */ lfs f0, 0x190(r31) -/* 8011B2F4 00118254 D0 1F 01 6C */ stfs f0, 0x16c(r31) -/* 8011B2F8 00118258 C0 1F 01 94 */ lfs f0, 0x194(r31) -/* 8011B2FC 0011825C D0 1F 01 70 */ stfs f0, 0x170(r31) -/* 8011B300 00118260 C0 1F 01 68 */ lfs f0, 0x168(r31) -/* 8011B304 00118264 D0 1F 01 5C */ stfs f0, 0x15c(r31) -/* 8011B308 00118268 C0 1F 01 6C */ lfs f0, 0x16c(r31) -/* 8011B30C 0011826C D0 1F 01 60 */ stfs f0, 0x160(r31) -/* 8011B310 00118270 C0 1F 01 70 */ lfs f0, 0x170(r31) -/* 8011B314 00118274 D0 1F 01 64 */ stfs f0, 0x164(r31) -/* 8011B318 00118278 4B F0 02 1D */ bl Identity__10CAxisAngleFv -/* 8011B31C 0011827C 80 83 00 00 */ lwz r4, 0(r3) -/* 8011B320 00118280 80 03 00 04 */ lwz r0, 4(r3) -/* 8011B324 00118284 90 9F 01 98 */ stw r4, 0x198(r31) -/* 8011B328 00118288 90 1F 01 9C */ stw r0, 0x19c(r31) -/* 8011B32C 0011828C 80 03 00 08 */ lwz r0, 8(r3) -/* 8011B330 00118290 90 1F 01 A0 */ stw r0, 0x1a0(r31) -/* 8011B334 00118294 80 7F 01 98 */ lwz r3, 0x198(r31) -/* 8011B338 00118298 80 1F 01 9C */ lwz r0, 0x19c(r31) -/* 8011B33C 0011829C 90 7F 01 80 */ stw r3, 0x180(r31) -/* 8011B340 001182A0 90 1F 01 84 */ stw r0, 0x184(r31) -/* 8011B344 001182A4 80 1F 01 A0 */ lwz r0, 0x1a0(r31) -/* 8011B348 001182A8 90 1F 01 88 */ stw r0, 0x188(r31) -/* 8011B34C 001182AC 80 7F 01 80 */ lwz r3, 0x180(r31) -/* 8011B350 001182B0 80 1F 01 84 */ lwz r0, 0x184(r31) -/* 8011B354 001182B4 90 7F 01 74 */ stw r3, 0x174(r31) -/* 8011B358 001182B8 90 1F 01 78 */ stw r0, 0x178(r31) -/* 8011B35C 001182BC 80 1F 01 88 */ lwz r0, 0x188(r31) -/* 8011B360 001182C0 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8011B364 001182C4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011B368 001182C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011B36C 001182CC 7C 08 03 A6 */ mtlr r0 -/* 8011B370 001182D0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011B374 001182D4 4E 80 00 20 */ blr - -.global Stop__13CPhysicsActorFv -Stop__13CPhysicsActorFv: -/* 8011B378 001182D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011B37C 001182DC 7C 08 02 A6 */ mflr r0 -/* 8011B380 001182E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011B384 001182E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011B388 001182E8 7C 7F 1B 78 */ mr r31, r3 -/* 8011B38C 001182EC 4B FF FF 29 */ bl ClearForcesAndTorques__13CPhysicsActorFv -/* 8011B390 001182F0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011B394 001182F4 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8011B398 001182F8 D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 8011B39C 001182FC C0 03 00 04 */ lfs f0, 4(r3) -/* 8011B3A0 00118300 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 8011B3A4 00118304 C0 03 00 08 */ lfs f0, 8(r3) -/* 8011B3A8 00118308 D0 1F 01 04 */ stfs f0, 0x104(r31) -/* 8011B3AC 0011830C 4B F0 01 89 */ bl Identity__10CAxisAngleFv -/* 8011B3B0 00118310 80 83 00 00 */ lwz r4, 0(r3) -/* 8011B3B4 00118314 80 03 00 04 */ lwz r0, 4(r3) -/* 8011B3B8 00118318 90 9F 01 08 */ stw r4, 0x108(r31) -/* 8011B3BC 0011831C 90 1F 01 0C */ stw r0, 0x10c(r31) -/* 8011B3C0 00118320 80 03 00 08 */ lwz r0, 8(r3) -/* 8011B3C4 00118324 7F E3 FB 78 */ mr r3, r31 -/* 8011B3C8 00118328 90 1F 01 10 */ stw r0, 0x110(r31) -/* 8011B3CC 0011832C 48 00 0C AD */ bl ComputeDerivedQuantities__13CPhysicsActorFv -/* 8011B3D0 00118330 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011B3D4 00118334 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011B3D8 00118338 7C 08 03 A6 */ mtlr r0 -/* 8011B3DC 0011833C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011B3E0 00118340 4E 80 00 20 */ blr - -.global WillMove__13CPhysicsActorFRC13CStateManager -WillMove__13CPhysicsActorFRC13CStateManager: -/* 8011B3E4 00118344 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011B3E8 00118348 7C 08 02 A6 */ mflr r0 -/* 8011B3EC 0011834C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011B3F0 00118350 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) -/* 8011B3F4 00118354 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011B3F8 00118358 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8011B3FC 0011835C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011B400 00118360 7C 7F 1B 78 */ mr r31, r3 -/* 8011B404 00118364 38 7F 01 38 */ addi r3, r31, 0x138 -/* 8011B408 00118368 48 1F 4B 5D */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8011B40C 0011836C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011B410 00118370 41 82 00 EC */ beq lbl_8011B4FC -/* 8011B414 00118374 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011B418 00118378 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) -/* 8011B41C 0011837C 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8011B420 00118380 38 7F 01 68 */ addi r3, r31, 0x168 -/* 8011B424 00118384 48 1F 4B 41 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8011B428 00118388 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011B42C 0011838C 41 82 00 D0 */ beq lbl_8011B4FC -/* 8011B430 00118390 38 7F 01 74 */ addi r3, r31, 0x174 -/* 8011B434 00118394 4B F0 00 FD */ bl GetVector__10CAxisAngleCFv -/* 8011B438 00118398 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011B43C 0011839C C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) -/* 8011B440 001183A0 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8011B444 001183A4 48 1F 4B 21 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8011B448 001183A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011B44C 001183AC 41 82 00 B0 */ beq lbl_8011B4FC -/* 8011B450 001183B0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011B454 001183B4 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) -/* 8011B458 001183B8 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8011B45C 001183BC 38 7F 01 8C */ addi r3, r31, 0x18c -/* 8011B460 001183C0 48 1F 4B 05 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8011B464 001183C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011B468 001183C8 41 82 00 94 */ beq lbl_8011B4FC -/* 8011B46C 001183CC 38 7F 01 44 */ addi r3, r31, 0x144 -/* 8011B470 001183D0 4B F0 00 C1 */ bl GetVector__10CAxisAngleCFv -/* 8011B474 001183D4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011B478 001183D8 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) -/* 8011B47C 001183DC 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8011B480 001183E0 48 1F 4A E5 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8011B484 001183E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011B488 001183E8 41 82 00 74 */ beq lbl_8011B4FC -/* 8011B48C 001183EC 38 7F 01 80 */ addi r3, r31, 0x180 -/* 8011B490 001183F0 4B F0 00 A1 */ bl GetVector__10CAxisAngleCFv -/* 8011B494 001183F4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011B498 001183F8 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) -/* 8011B49C 001183FC 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8011B4A0 00118400 48 1F 4A C5 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8011B4A4 00118404 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011B4A8 00118408 41 82 00 54 */ beq lbl_8011B4FC -/* 8011B4AC 0011840C 38 7F 01 98 */ addi r3, r31, 0x198 -/* 8011B4B0 00118410 4B F0 00 81 */ bl GetVector__10CAxisAngleCFv -/* 8011B4B4 00118414 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011B4B8 00118418 C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) -/* 8011B4BC 0011841C 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8011B4C0 00118420 48 1F 4A A5 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8011B4C4 00118424 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011B4C8 00118428 41 82 00 34 */ beq lbl_8011B4FC -/* 8011B4CC 0011842C 7F E4 FB 78 */ mr r4, r31 -/* 8011B4D0 00118430 38 61 00 08 */ addi r3, r1, 8 -/* 8011B4D4 00118434 4B FF F8 11 */ bl GetTotalForceWR__13CPhysicsActorCFv -/* 8011B4D8 00118438 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011B4DC 0011843C C0 22 96 C4 */ lfs f1, lbl_805AB3E4@sda21(r2) -/* 8011B4E0 00118440 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8011B4E4 00118444 38 61 00 08 */ addi r3, r1, 8 -/* 8011B4E8 00118448 48 1F 4A 7D */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8011B4EC 0011844C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011B4F0 00118450 41 82 00 0C */ beq lbl_8011B4FC -/* 8011B4F4 00118454 38 60 00 00 */ li r3, 0 -/* 8011B4F8 00118458 48 00 00 08 */ b lbl_8011B500 -lbl_8011B4FC: -/* 8011B4FC 0011845C 38 60 00 01 */ li r3, 1 -lbl_8011B500: -/* 8011B500 00118460 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011B504 00118464 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011B508 00118468 7C 08 03 A6 */ mtlr r0 -/* 8011B50C 0011846C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011B510 00118470 4E 80 00 20 */ blr - -.global AddMotionState__13CPhysicsActorFRC12CMotionState -AddMotionState__13CPhysicsActorFRC12CMotionState: -/* 8011B514 00118474 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8011B518 00118478 7C 08 02 A6 */ mflr r0 -/* 8011B51C 0011847C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8011B520 00118480 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8011B524 00118484 7C 9F 23 78 */ mr r31, r4 -/* 8011B528 00118488 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8011B52C 0011848C 7C 7E 1B 78 */ mr r30, r3 -/* 8011B530 00118490 38 61 00 30 */ addi r3, r1, 0x30 -/* 8011B534 00118494 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8011B538 00118498 48 1F 6B F1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8011B53C 0011849C 38 61 00 40 */ addi r3, r1, 0x40 -/* 8011B540 001184A0 38 81 00 30 */ addi r4, r1, 0x30 -/* 8011B544 001184A4 48 1F 57 D1 */ bl BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion -/* 8011B548 001184A8 C0 61 00 40 */ lfs f3, 0x40(r1) -/* 8011B54C 001184AC 38 61 00 50 */ addi r3, r1, 0x50 -/* 8011B550 001184B0 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8011B554 001184B4 38 9F 00 0C */ addi r4, r31, 0xc -/* 8011B558 001184B8 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8011B55C 001184BC C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8011B560 001184C0 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 8011B564 001184C4 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8011B568 001184C8 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8011B56C 001184CC D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8011B570 001184D0 48 1F 59 21 */ bl __apl__13CNUQuaternionFRC13CNUQuaternion -/* 8011B574 001184D4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8011B578 001184D8 38 81 00 50 */ addi r4, r1, 0x50 -/* 8011B57C 001184DC 48 1F 54 6D */ bl FromNUQuaternion__11CQuaternionFRC13CNUQuaternion -/* 8011B580 001184E0 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8011B584 001184E4 38 61 00 60 */ addi r3, r1, 0x60 -/* 8011B588 001184E8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8011B58C 001184EC 38 81 00 20 */ addi r4, r1, 0x20 -/* 8011B590 001184F0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8011B594 001184F4 38 A1 00 08 */ addi r5, r1, 8 -/* 8011B598 001184F8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8011B59C 001184FC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8011B5A0 00118500 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8011B5A4 00118504 48 1F 69 19 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 8011B5A8 00118508 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8011B5AC 0011850C 38 81 00 60 */ addi r4, r1, 0x60 -/* 8011B5B0 00118510 48 1F 75 91 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8011B5B4 00118514 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8011B5B8 00118518 38 A0 00 01 */ li r5, 1 -/* 8011B5BC 0011851C 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8011B5C0 00118520 7F C3 F3 78 */ mr r3, r30 -/* 8011B5C4 00118524 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8011B5C8 00118528 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011B5CC 0011852C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8011B5D0 00118530 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8011B5D4 00118534 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8011B5D8 00118538 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8011B5DC 0011853C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8011B5E0 00118540 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8011B5E4 00118544 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8011B5E8 00118548 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8011B5EC 0011854C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 8011B5F0 00118550 C0 5F 00 08 */ lfs f2, 8(r31) -/* 8011B5F4 00118554 EC 81 00 2A */ fadds f4, f1, f0 -/* 8011B5F8 00118558 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8011B5FC 0011855C C0 1F 00 00 */ lfs f0, 0(r31) -/* 8011B600 00118560 EC 43 10 2A */ fadds f2, f3, f2 -/* 8011B604 00118564 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8011B608 00118568 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011B60C 0011856C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8011B610 00118570 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8011B614 00118574 4B F3 78 79 */ bl SetTranslation__6CActorFRC9CVector3f -/* 8011B618 00118578 C0 3E 00 FC */ lfs f1, 0xfc(r30) -/* 8011B61C 0011857C 38 7E 01 08 */ addi r3, r30, 0x108 -/* 8011B620 00118580 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8011B624 00118584 38 9F 00 28 */ addi r4, r31, 0x28 -/* 8011B628 00118588 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011B62C 0011858C D0 1E 00 FC */ stfs f0, 0xfc(r30) -/* 8011B630 00118590 C0 3E 01 00 */ lfs f1, 0x100(r30) -/* 8011B634 00118594 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 8011B638 00118598 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011B63C 0011859C D0 1E 01 00 */ stfs f0, 0x100(r30) -/* 8011B640 001185A0 C0 3E 01 04 */ lfs f1, 0x104(r30) -/* 8011B644 001185A4 C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8011B648 001185A8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011B64C 001185AC D0 1E 01 04 */ stfs f0, 0x104(r30) -/* 8011B650 001185B0 4B EF FE 61 */ bl __apl__10CAxisAngleFRC10CAxisAngle -/* 8011B654 001185B4 7F C3 F3 78 */ mr r3, r30 -/* 8011B658 001185B8 48 00 0A 21 */ bl ComputeDerivedQuantities__13CPhysicsActorFv -/* 8011B65C 001185BC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8011B660 001185C0 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8011B664 001185C4 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8011B668 001185C8 7C 08 03 A6 */ mtlr r0 -/* 8011B66C 001185CC 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8011B670 001185D0 4E 80 00 20 */ blr - -.global GetMotionState__13CPhysicsActorCFv -GetMotionState__13CPhysicsActorCFv: -/* 8011B674 001185D4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011B678 001185D8 7C 08 02 A6 */ mflr r0 -/* 8011B67C 001185DC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011B680 001185E0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011B684 001185E4 7C 9F 23 78 */ mr r31, r4 -/* 8011B688 001185E8 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8011B68C 001185EC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8011B690 001185F0 7C 7E 1B 78 */ mr r30, r3 -/* 8011B694 001185F4 38 61 00 08 */ addi r3, r1, 8 -/* 8011B698 001185F8 48 1F 6A 91 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8011B69C 001185FC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011B6A0 00118600 38 81 00 08 */ addi r4, r1, 8 -/* 8011B6A4 00118604 48 1F 56 71 */ bl BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion -/* 8011B6A8 00118608 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8011B6AC 0011860C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8011B6B0 00118610 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8011B6B4 00118614 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8011B6B8 00118618 D0 3E 00 04 */ stfs f1, 4(r30) -/* 8011B6BC 0011861C D0 5E 00 08 */ stfs f2, 8(r30) -/* 8011B6C0 00118620 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8011B6C4 00118624 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8011B6C8 00118628 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8011B6CC 0011862C D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8011B6D0 00118630 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8011B6D4 00118634 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 8011B6D8 00118638 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8011B6DC 0011863C D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8011B6E0 00118640 C0 1F 00 FC */ lfs f0, 0xfc(r31) -/* 8011B6E4 00118644 D0 1E 00 1C */ stfs f0, 0x1c(r30) -/* 8011B6E8 00118648 C0 1F 01 00 */ lfs f0, 0x100(r31) -/* 8011B6EC 0011864C D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 8011B6F0 00118650 C0 1F 01 04 */ lfs f0, 0x104(r31) -/* 8011B6F4 00118654 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 8011B6F8 00118658 C0 1F 01 08 */ lfs f0, 0x108(r31) -/* 8011B6FC 0011865C D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 8011B700 00118660 C0 1F 01 0C */ lfs f0, 0x10c(r31) -/* 8011B704 00118664 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 8011B708 00118668 C0 1F 01 10 */ lfs f0, 0x110(r31) -/* 8011B70C 0011866C D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 8011B710 00118670 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011B714 00118674 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011B718 00118678 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8011B71C 0011867C 7C 08 03 A6 */ mtlr r0 -/* 8011B720 00118680 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011B724 00118684 4E 80 00 20 */ blr - -.global SetMotionState__13CPhysicsActorFRC12CMotionState -SetMotionState__13CPhysicsActorFRC12CMotionState: -/* 8011B728 00118688 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8011B72C 0011868C 7C 08 02 A6 */ mflr r0 -/* 8011B730 00118690 90 01 00 64 */ stw r0, 0x64(r1) -/* 8011B734 00118694 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8011B738 00118698 7C 9F 23 78 */ mr r31, r4 -/* 8011B73C 0011869C 38 9F 00 0C */ addi r4, r31, 0xc -/* 8011B740 001186A0 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8011B744 001186A4 7C 7E 1B 78 */ mr r30, r3 -/* 8011B748 001186A8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011B74C 001186AC 48 1F 52 9D */ bl FromNUQuaternion__11CQuaternionFRC13CNUQuaternion -/* 8011B750 001186B0 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8011B754 001186B4 38 61 00 24 */ addi r3, r1, 0x24 -/* 8011B758 001186B8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8011B75C 001186BC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011B760 001186C0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8011B764 001186C4 38 A1 00 08 */ addi r5, r1, 8 -/* 8011B768 001186C8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8011B76C 001186CC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8011B770 001186D0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8011B774 001186D4 48 1F 67 49 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 8011B778 001186D8 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8011B77C 001186DC 38 81 00 24 */ addi r4, r1, 0x24 -/* 8011B780 001186E0 48 1F 73 C1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8011B784 001186E4 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8011B788 001186E8 38 A0 00 01 */ li r5, 1 -/* 8011B78C 001186EC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8011B790 001186F0 7F C3 F3 78 */ mr r3, r30 -/* 8011B794 001186F4 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8011B798 001186F8 7F E4 FB 78 */ mr r4, r31 -/* 8011B79C 001186FC 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8011B7A0 00118700 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 8011B7A4 00118704 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8011B7A8 00118708 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8011B7AC 0011870C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8011B7B0 00118710 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8011B7B4 00118714 4B F3 76 D9 */ bl SetTranslation__6CActorFRC9CVector3f -/* 8011B7B8 00118718 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8011B7BC 0011871C 7F C3 F3 78 */ mr r3, r30 -/* 8011B7C0 00118720 D0 1E 00 FC */ stfs f0, 0xfc(r30) -/* 8011B7C4 00118724 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 8011B7C8 00118728 D0 1E 01 00 */ stfs f0, 0x100(r30) -/* 8011B7CC 0011872C C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8011B7D0 00118730 D0 1E 01 04 */ stfs f0, 0x104(r30) -/* 8011B7D4 00118734 80 9F 00 28 */ lwz r4, 0x28(r31) -/* 8011B7D8 00118738 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 8011B7DC 0011873C 90 9E 01 08 */ stw r4, 0x108(r30) -/* 8011B7E0 00118740 90 1E 01 0C */ stw r0, 0x10c(r30) -/* 8011B7E4 00118744 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 8011B7E8 00118748 90 1E 01 10 */ stw r0, 0x110(r30) -/* 8011B7EC 0011874C 48 00 08 8D */ bl ComputeDerivedQuantities__13CPhysicsActorFv -/* 8011B7F0 00118750 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8011B7F4 00118754 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8011B7F8 00118758 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8011B7FC 0011875C 7C 08 03 A6 */ mtlr r0 -/* 8011B800 00118760 38 21 00 60 */ addi r1, r1, 0x60 -/* 8011B804 00118764 4E 80 00 20 */ blr - -.global PredictMotion_Internal__13CPhysicsActorCFf -PredictMotion_Internal__13CPhysicsActorCFf: -/* 8011B808 00118768 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8011B80C 0011876C 7C 08 02 A6 */ mflr r0 -/* 8011B810 00118770 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8011B814 00118774 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8011B818 00118778 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8011B81C 0011877C DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8011B820 00118780 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8011B824 00118784 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8011B828 00118788 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 8011B82C 0011878C DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 8011B830 00118790 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 8011B834 00118794 DB 61 00 90 */ stfd f27, 0x90(r1) -/* 8011B838 00118798 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 8011B83C 0011879C DB 41 00 80 */ stfd f26, 0x80(r1) -/* 8011B840 001187A0 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 8011B844 001187A4 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8011B848 001187A8 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8011B84C 001187AC 88 04 00 F8 */ lbz r0, 0xf8(r4) -/* 8011B850 001187B0 FF 40 08 90 */ fmr f26, f1 -/* 8011B854 001187B4 7C 9F 23 78 */ mr r31, r4 -/* 8011B858 001187B8 7C 7E 1B 78 */ mr r30, r3 -/* 8011B85C 001187BC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8011B860 001187C0 40 82 00 88 */ bne lbl_8011B8E8 -/* 8011B864 001187C4 38 61 00 3C */ addi r3, r1, 0x3c -/* 8011B868 001187C8 48 00 00 CD */ bl PredictLinearMotion__13CPhysicsActorCFf -/* 8011B86C 001187CC FC 20 D0 90 */ fmr f1, f26 -/* 8011B870 001187D0 C3 E1 00 3C */ lfs f31, 0x3c(r1) -/* 8011B874 001187D4 C3 C1 00 40 */ lfs f30, 0x40(r1) -/* 8011B878 001187D8 7F E4 FB 78 */ mr r4, r31 -/* 8011B87C 001187DC C3 A1 00 44 */ lfs f29, 0x44(r1) -/* 8011B880 001187E0 38 61 00 08 */ addi r3, r1, 8 -/* 8011B884 001187E4 C3 81 00 58 */ lfs f28, 0x58(r1) -/* 8011B888 001187E8 C3 61 00 5C */ lfs f27, 0x5c(r1) -/* 8011B88C 001187EC C3 41 00 60 */ lfs f26, 0x60(r1) -/* 8011B890 001187F0 48 00 02 21 */ bl PredictAngularMotion__13CPhysicsActorCFf -/* 8011B894 001187F4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8011B898 001187F8 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8011B89C 001187FC C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8011B8A0 00118800 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 8011B8A4 00118804 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 8011B8A8 00118808 C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 8011B8AC 0011880C C0 C1 00 38 */ lfs f6, 0x38(r1) -/* 8011B8B0 00118810 D3 FE 00 00 */ stfs f31, 0(r30) -/* 8011B8B4 00118814 D3 DE 00 04 */ stfs f30, 4(r30) -/* 8011B8B8 00118818 D3 BE 00 08 */ stfs f29, 8(r30) -/* 8011B8BC 0011881C D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8011B8C0 00118820 D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 8011B8C4 00118824 D0 5E 00 14 */ stfs f2, 0x14(r30) -/* 8011B8C8 00118828 D0 7E 00 18 */ stfs f3, 0x18(r30) -/* 8011B8CC 0011882C D3 9E 00 1C */ stfs f28, 0x1c(r30) -/* 8011B8D0 00118830 D3 7E 00 20 */ stfs f27, 0x20(r30) -/* 8011B8D4 00118834 D3 5E 00 24 */ stfs f26, 0x24(r30) -/* 8011B8D8 00118838 D0 9E 00 28 */ stfs f4, 0x28(r30) -/* 8011B8DC 0011883C D0 BE 00 2C */ stfs f5, 0x2c(r30) -/* 8011B8E0 00118840 D0 DE 00 30 */ stfs f6, 0x30(r30) -/* 8011B8E4 00118844 48 00 00 08 */ b lbl_8011B8EC -lbl_8011B8E8: -/* 8011B8E8 00118848 48 00 00 4D */ bl PredictLinearMotion__13CPhysicsActorCFf -lbl_8011B8EC: -/* 8011B8EC 0011884C E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8011B8F0 00118850 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8011B8F4 00118854 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8011B8F8 00118858 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8011B8FC 0011885C E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 8011B900 00118860 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 8011B904 00118864 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 8011B908 00118868 CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 8011B90C 0011886C E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 8011B910 00118870 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 8011B914 00118874 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 8011B918 00118878 CB 41 00 80 */ lfd f26, 0x80(r1) -/* 8011B91C 0011887C 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8011B920 00118880 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8011B924 00118884 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8011B928 00118888 7C 08 03 A6 */ mtlr r0 -/* 8011B92C 0011888C 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8011B930 00118890 4E 80 00 20 */ blr - -.global PredictLinearMotion__13CPhysicsActorCFf -PredictLinearMotion__13CPhysicsActorCFf: -/* 8011B934 00118894 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8011B938 00118898 7C 08 02 A6 */ mflr r0 -/* 8011B93C 0011889C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8011B940 001188A0 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8011B944 001188A4 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8011B948 001188A8 DB C1 00 80 */ stfd f30, 0x80(r1) -/* 8011B94C 001188AC F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 8011B950 001188B0 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 8011B954 001188B4 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8011B958 001188B8 DB 81 00 60 */ stfd f28, 0x60(r1) -/* 8011B95C 001188BC F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 8011B960 001188C0 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 8011B964 001188C4 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 8011B968 001188C8 DB 41 00 40 */ stfd f26, 0x40(r1) -/* 8011B96C 001188CC F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 -/* 8011B970 001188D0 DB 21 00 30 */ stfd f25, 0x30(r1) -/* 8011B974 001188D4 F3 21 00 38 */ psq_st f25, 56(r1), 0, qr0 -/* 8011B978 001188D8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011B97C 001188DC 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8011B980 001188E0 FF E0 08 90 */ fmr f31, f1 -/* 8011B984 001188E4 7C 7E 1B 78 */ mr r30, r3 -/* 8011B988 001188E8 7C 9F 23 78 */ mr r31, r4 -/* 8011B98C 001188EC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011B990 001188F0 48 00 04 39 */ bl CalculateNewVelocityWR_UsingImpulses__13CPhysicsActorCFv -/* 8011B994 001188F4 C0 3F 01 5C */ lfs f1, 0x15c(r31) -/* 8011B998 001188F8 C0 1F 01 50 */ lfs f0, 0x150(r31) -/* 8011B99C 001188FC C0 7F 01 60 */ lfs f3, 0x160(r31) -/* 8011B9A0 00118900 C0 5F 01 54 */ lfs f2, 0x154(r31) -/* 8011B9A4 00118904 EF 81 00 2A */ fadds f28, f1, f0 -/* 8011B9A8 00118908 C0 3F 01 64 */ lfs f1, 0x164(r31) -/* 8011B9AC 0011890C C0 1F 01 58 */ lfs f0, 0x158(r31) -/* 8011B9B0 00118910 EF A3 10 2A */ fadds f29, f3, f2 -/* 8011B9B4 00118914 C3 21 00 18 */ lfs f25, 0x18(r1) -/* 8011B9B8 00118918 EF C1 00 2A */ fadds f30, f1, f0 -/* 8011B9BC 0011891C C3 61 00 1C */ lfs f27, 0x1c(r1) -/* 8011B9C0 00118920 C3 41 00 20 */ lfs f26, 0x20(r1) -/* 8011B9C4 00118924 4B EF FB 71 */ bl Identity__10CAxisAngleFv -/* 8011B9C8 00118928 EC BF 07 32 */ fmuls f5, f31, f28 -/* 8011B9CC 0011892C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011B9D0 00118930 EC 7F 07 72 */ fmuls f3, f31, f29 -/* 8011B9D4 00118934 C0 3F 01 6C */ lfs f1, 0x16c(r31) -/* 8011B9D8 00118938 EC 5F 07 B2 */ fmuls f2, f31, f30 -/* 8011B9DC 0011893C C0 9F 01 68 */ lfs f4, 0x168(r31) -/* 8011B9E0 00118940 C0 1F 01 70 */ lfs f0, 0x170(r31) -/* 8011B9E4 00118944 EF A3 08 2A */ fadds f29, f3, f1 -/* 8011B9E8 00118948 7C 7F 1B 78 */ mr r31, r3 -/* 8011B9EC 0011894C EF C5 20 2A */ fadds f30, f5, f4 -/* 8011B9F0 00118950 EF 82 00 2A */ fadds f28, f2, f0 -/* 8011B9F4 00118954 C0 22 96 A4 */ lfs f1, lbl_805AB3C4@sda21(r2) -/* 8011B9F8 00118958 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8011B9FC 0011895C 38 61 00 08 */ addi r3, r1, 8 -/* 8011BA00 00118960 48 1F 56 01 */ bl __ct__13CNUQuaternionFfRC9CVector3f -/* 8011BA04 00118964 EC 5F 06 72 */ fmuls f2, f31, f25 -/* 8011BA08 00118968 EC 3F 06 F2 */ fmuls f1, f31, f27 -/* 8011BA0C 0011896C EC 1F 06 B2 */ fmuls f0, f31, f26 -/* 8011BA10 00118970 D0 5E 00 00 */ stfs f2, 0(r30) -/* 8011BA14 00118974 D0 3E 00 04 */ stfs f1, 4(r30) -/* 8011BA18 00118978 D0 1E 00 08 */ stfs f0, 8(r30) -/* 8011BA1C 0011897C C0 01 00 08 */ lfs f0, 8(r1) -/* 8011BA20 00118980 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8011BA24 00118984 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8011BA28 00118988 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 8011BA2C 0011898C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8011BA30 00118990 D0 1E 00 14 */ stfs f0, 0x14(r30) -/* 8011BA34 00118994 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8011BA38 00118998 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 8011BA3C 0011899C D3 DE 00 1C */ stfs f30, 0x1c(r30) -/* 8011BA40 001189A0 D3 BE 00 20 */ stfs f29, 0x20(r30) -/* 8011BA44 001189A4 D3 9E 00 24 */ stfs f28, 0x24(r30) -/* 8011BA48 001189A8 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8011BA4C 001189AC D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 8011BA50 001189B0 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8011BA54 001189B4 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 8011BA58 001189B8 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8011BA5C 001189BC D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 8011BA60 001189C0 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8011BA64 001189C4 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8011BA68 001189C8 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 8011BA6C 001189CC CB C1 00 80 */ lfd f30, 0x80(r1) -/* 8011BA70 001189D0 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8011BA74 001189D4 CB A1 00 70 */ lfd f29, 0x70(r1) -/* 8011BA78 001189D8 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 8011BA7C 001189DC CB 81 00 60 */ lfd f28, 0x60(r1) -/* 8011BA80 001189E0 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 8011BA84 001189E4 CB 61 00 50 */ lfd f27, 0x50(r1) -/* 8011BA88 001189E8 E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 -/* 8011BA8C 001189EC CB 41 00 40 */ lfd f26, 0x40(r1) -/* 8011BA90 001189F0 E3 21 00 38 */ psq_l f25, 56(r1), 0, qr0 -/* 8011BA94 001189F4 CB 21 00 30 */ lfd f25, 0x30(r1) -/* 8011BA98 001189F8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011BA9C 001189FC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8011BAA0 00118A00 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8011BAA4 00118A04 7C 08 03 A6 */ mtlr r0 -/* 8011BAA8 00118A08 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8011BAAC 00118A0C 4E 80 00 20 */ blr - -.global PredictAngularMotion__13CPhysicsActorCFf -PredictAngularMotion__13CPhysicsActorCFf: -/* 8011BAB0 00118A10 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8011BAB4 00118A14 7C 08 02 A6 */ mflr r0 -/* 8011BAB8 00118A18 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8011BABC 00118A1C DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8011BAC0 00118A20 F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 8011BAC4 00118A24 DB C1 00 D0 */ stfd f30, 0xd0(r1) -/* 8011BAC8 00118A28 F3 C1 00 D8 */ psq_st f30, 216(r1), 0, qr0 -/* 8011BACC 00118A2C DB A1 00 C0 */ stfd f29, 0xc0(r1) -/* 8011BAD0 00118A30 F3 A1 00 C8 */ psq_st f29, 200(r1), 0, qr0 -/* 8011BAD4 00118A34 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 8011BAD8 00118A38 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8011BADC 00118A3C 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 8011BAE0 00118A40 7C 9E 23 78 */ mr r30, r4 -/* 8011BAE4 00118A44 7C 7D 1B 78 */ mr r29, r3 -/* 8011BAE8 00118A48 D0 21 00 08 */ stfs f1, 8(r1) -/* 8011BAEC 00118A4C 38 7E 01 98 */ addi r3, r30, 0x198 -/* 8011BAF0 00118A50 C3 E4 00 F4 */ lfs f31, 0xf4(r4) -/* 8011BAF4 00118A54 4B EF FA 3D */ bl GetVector__10CAxisAngleCFv -/* 8011BAF8 00118A58 7C 7F 1B 78 */ mr r31, r3 -/* 8011BAFC 00118A5C 38 7E 01 80 */ addi r3, r30, 0x180 -/* 8011BB00 00118A60 4B EF FA 31 */ bl GetVector__10CAxisAngleCFv -/* 8011BB04 00118A64 C0 23 00 00 */ lfs f1, 0(r3) -/* 8011BB08 00118A68 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8011BB0C 00118A6C C0 63 00 04 */ lfs f3, 4(r3) -/* 8011BB10 00118A70 C0 5F 00 04 */ lfs f2, 4(r31) -/* 8011BB14 00118A74 EC 81 00 2A */ fadds f4, f1, f0 -/* 8011BB18 00118A78 C0 23 00 08 */ lfs f1, 8(r3) -/* 8011BB1C 00118A7C 38 7E 01 44 */ addi r3, r30, 0x144 -/* 8011BB20 00118A80 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8011BB24 00118A84 EC 43 10 2A */ fadds f2, f3, f2 -/* 8011BB28 00118A88 EF BF 01 32 */ fmuls f29, f31, f4 -/* 8011BB2C 00118A8C EC 01 00 2A */ fadds f0, f1, f0 -/* 8011BB30 00118A90 EF DF 00 B2 */ fmuls f30, f31, f2 -/* 8011BB34 00118A94 EF FF 00 32 */ fmuls f31, f31, f0 -/* 8011BB38 00118A98 4B EF F9 F9 */ bl GetVector__10CAxisAngleCFv -/* 8011BB3C 00118A9C C0 43 00 04 */ lfs f2, 4(r3) -/* 8011BB40 00118AA0 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8011BB44 00118AA4 C0 23 00 08 */ lfs f1, 8(r3) -/* 8011BB48 00118AA8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8011BB4C 00118AAC EC 42 F0 2A */ fadds f2, f2, f30 -/* 8011BB50 00118AB0 EC 21 F8 2A */ fadds f1, f1, f31 -/* 8011BB54 00118AB4 38 61 00 34 */ addi r3, r1, 0x34 -/* 8011BB58 00118AB8 EC 00 E8 2A */ fadds f0, f0, f29 -/* 8011BB5C 00118ABC D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 8011BB60 00118AC0 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8011BB64 00118AC4 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 8011BB68 00118AC8 48 1F 65 C1 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8011BB6C 00118ACC 38 61 00 44 */ addi r3, r1, 0x44 -/* 8011BB70 00118AD0 38 81 00 34 */ addi r4, r1, 0x34 -/* 8011BB74 00118AD4 48 1F 51 A1 */ bl BuildFromQuaternion__13CNUQuaternionFRC11CQuaternion -/* 8011BB78 00118AD8 C0 22 96 A4 */ lfs f1, lbl_805AB3C4@sda21(r2) -/* 8011BB7C 00118ADC 38 61 00 54 */ addi r3, r1, 0x54 -/* 8011BB80 00118AE0 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 8011BB84 00118AE4 48 1F 54 7D */ bl __ct__13CNUQuaternionFfRC9CVector3f -/* 8011BB88 00118AE8 C0 22 96 AC */ lfs f1, lbl_805AB3CC@sda21(r2) -/* 8011BB8C 00118AEC 7C 64 1B 78 */ mr r4, r3 -/* 8011BB90 00118AF0 38 61 00 64 */ addi r3, r1, 0x64 -/* 8011BB94 00118AF4 48 1F 4E A5 */ bl __ml__FfRC13CNUQuaternion -/* 8011BB98 00118AF8 38 61 00 74 */ addi r3, r1, 0x74 -/* 8011BB9C 00118AFC 38 81 00 64 */ addi r4, r1, 0x64 -/* 8011BBA0 00118B00 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8011BBA4 00118B04 48 1F 53 31 */ bl __ml__13CNUQuaternionCFRC13CNUQuaternion -/* 8011BBA8 00118B08 C0 C1 00 74 */ lfs f6, 0x74(r1) -/* 8011BBAC 00118B0C 38 61 00 0C */ addi r3, r1, 0xc -/* 8011BBB0 00118B10 C0 A1 00 78 */ lfs f5, 0x78(r1) -/* 8011BBB4 00118B14 38 81 00 84 */ addi r4, r1, 0x84 -/* 8011BBB8 00118B18 C0 81 00 7C */ lfs f4, 0x7c(r1) -/* 8011BBBC 00118B1C 38 A1 00 08 */ addi r5, r1, 8 -/* 8011BBC0 00118B20 C0 61 00 80 */ lfs f3, 0x80(r1) -/* 8011BBC4 00118B24 C0 5E 01 74 */ lfs f2, 0x174(r30) -/* 8011BBC8 00118B28 C0 3E 01 78 */ lfs f1, 0x178(r30) -/* 8011BBCC 00118B2C C0 1E 01 7C */ lfs f0, 0x17c(r30) -/* 8011BBD0 00118B30 D0 C1 00 90 */ stfs f6, 0x90(r1) -/* 8011BBD4 00118B34 D0 A1 00 94 */ stfs f5, 0x94(r1) -/* 8011BBD8 00118B38 D0 81 00 98 */ stfs f4, 0x98(r1) -/* 8011BBDC 00118B3C D0 61 00 9C */ stfs f3, 0x9c(r1) -/* 8011BBE0 00118B40 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8011BBE4 00118B44 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8011BBE8 00118B48 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8011BBEC 00118B4C 4B EF F8 99 */ bl __ml__FRC10CAxisAngleRCf -/* 8011BBF0 00118B50 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011BBF4 00118B54 38 81 00 0C */ addi r4, r1, 0xc -/* 8011BBF8 00118B58 38 BE 01 80 */ addi r5, r30, 0x180 -/* 8011BBFC 00118B5C 4B EF F8 29 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle -/* 8011BC00 00118B60 C0 21 00 08 */ lfs f1, 8(r1) -/* 8011BC04 00118B64 38 61 00 24 */ addi r3, r1, 0x24 -/* 8011BC08 00118B68 38 81 00 90 */ addi r4, r1, 0x90 -/* 8011BC0C 00118B6C 48 1F 4E 89 */ bl __ml__FRC13CNUQuaternionf -/* 8011BC10 00118B70 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011BC14 00118B74 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8011BC18 00118B78 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8011BC1C 00118B7C C0 03 00 04 */ lfs f0, 4(r3) -/* 8011BC20 00118B80 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8011BC24 00118B84 C0 03 00 08 */ lfs f0, 8(r3) -/* 8011BC28 00118B88 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8011BC2C 00118B8C C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8011BC30 00118B90 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8011BC34 00118B94 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8011BC38 00118B98 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 8011BC3C 00118B9C C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8011BC40 00118BA0 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 8011BC44 00118BA4 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8011BC48 00118BA8 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 8011BC4C 00118BAC C0 03 00 00 */ lfs f0, 0(r3) -/* 8011BC50 00118BB0 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 8011BC54 00118BB4 C0 03 00 04 */ lfs f0, 4(r3) -/* 8011BC58 00118BB8 D0 1D 00 20 */ stfs f0, 0x20(r29) -/* 8011BC5C 00118BBC C0 03 00 08 */ lfs f0, 8(r3) -/* 8011BC60 00118BC0 D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 8011BC64 00118BC4 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8011BC68 00118BC8 D0 1D 00 28 */ stfs f0, 0x28(r29) -/* 8011BC6C 00118BCC C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8011BC70 00118BD0 D0 1D 00 2C */ stfs f0, 0x2c(r29) -/* 8011BC74 00118BD4 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8011BC78 00118BD8 D0 1D 00 30 */ stfs f0, 0x30(r29) -/* 8011BC7C 00118BDC E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 8011BC80 00118BE0 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 8011BC84 00118BE4 E3 C1 00 D8 */ psq_l f30, 216(r1), 0, qr0 -/* 8011BC88 00118BE8 CB C1 00 D0 */ lfd f30, 0xd0(r1) -/* 8011BC8C 00118BEC E3 A1 00 C8 */ psq_l f29, 200(r1), 0, qr0 -/* 8011BC90 00118BF0 CB A1 00 C0 */ lfd f29, 0xc0(r1) -/* 8011BC94 00118BF4 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 8011BC98 00118BF8 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 8011BC9C 00118BFC 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8011BCA0 00118C00 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 8011BCA4 00118C04 7C 08 03 A6 */ mtlr r0 -/* 8011BCA8 00118C08 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8011BCAC 00118C0C 4E 80 00 20 */ blr - -.global PredictMotion__13CPhysicsActorCFf -PredictMotion__13CPhysicsActorCFf: -/* 8011BCB0 00118C10 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8011BCB4 00118C14 7C 08 02 A6 */ mflr r0 -/* 8011BCB8 00118C18 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8011BCBC 00118C1C DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8011BCC0 00118C20 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8011BCC4 00118C24 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8011BCC8 00118C28 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8011BCCC 00118C2C DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8011BCD0 00118C30 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 8011BCD4 00118C34 DB 81 00 A0 */ stfd f28, 0xa0(r1) -/* 8011BCD8 00118C38 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 -/* 8011BCDC 00118C3C DB 61 00 90 */ stfd f27, 0x90(r1) -/* 8011BCE0 00118C40 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 -/* 8011BCE4 00118C44 DB 41 00 80 */ stfd f26, 0x80(r1) -/* 8011BCE8 00118C48 F3 41 00 88 */ psq_st f26, 136(r1), 0, qr0 -/* 8011BCEC 00118C4C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8011BCF0 00118C50 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8011BCF4 00118C54 FF 40 08 90 */ fmr f26, f1 -/* 8011BCF8 00118C58 7C 7E 1B 78 */ mr r30, r3 -/* 8011BCFC 00118C5C 7C 9F 23 78 */ mr r31, r4 -/* 8011BD00 00118C60 38 61 00 3C */ addi r3, r1, 0x3c -/* 8011BD04 00118C64 4B FF FC 31 */ bl PredictLinearMotion__13CPhysicsActorCFf -/* 8011BD08 00118C68 FC 20 D0 90 */ fmr f1, f26 -/* 8011BD0C 00118C6C C3 E1 00 3C */ lfs f31, 0x3c(r1) -/* 8011BD10 00118C70 C3 C1 00 40 */ lfs f30, 0x40(r1) -/* 8011BD14 00118C74 7F E4 FB 78 */ mr r4, r31 -/* 8011BD18 00118C78 C3 A1 00 44 */ lfs f29, 0x44(r1) -/* 8011BD1C 00118C7C 38 61 00 08 */ addi r3, r1, 8 -/* 8011BD20 00118C80 C3 81 00 58 */ lfs f28, 0x58(r1) -/* 8011BD24 00118C84 C3 61 00 5C */ lfs f27, 0x5c(r1) -/* 8011BD28 00118C88 C3 41 00 60 */ lfs f26, 0x60(r1) -/* 8011BD2C 00118C8C 4B FF FD 85 */ bl PredictAngularMotion__13CPhysicsActorCFf -/* 8011BD30 00118C90 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8011BD34 00118C94 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8011BD38 00118C98 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8011BD3C 00118C9C C0 61 00 20 */ lfs f3, 0x20(r1) -/* 8011BD40 00118CA0 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 8011BD44 00118CA4 C0 A1 00 34 */ lfs f5, 0x34(r1) -/* 8011BD48 00118CA8 C0 C1 00 38 */ lfs f6, 0x38(r1) -/* 8011BD4C 00118CAC D3 FE 00 00 */ stfs f31, 0(r30) -/* 8011BD50 00118CB0 D3 DE 00 04 */ stfs f30, 4(r30) -/* 8011BD54 00118CB4 D3 BE 00 08 */ stfs f29, 8(r30) -/* 8011BD58 00118CB8 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8011BD5C 00118CBC D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 8011BD60 00118CC0 D0 5E 00 14 */ stfs f2, 0x14(r30) -/* 8011BD64 00118CC4 D0 7E 00 18 */ stfs f3, 0x18(r30) -/* 8011BD68 00118CC8 D3 9E 00 1C */ stfs f28, 0x1c(r30) -/* 8011BD6C 00118CCC D3 7E 00 20 */ stfs f27, 0x20(r30) -/* 8011BD70 00118CD0 D3 5E 00 24 */ stfs f26, 0x24(r30) -/* 8011BD74 00118CD4 D0 9E 00 28 */ stfs f4, 0x28(r30) -/* 8011BD78 00118CD8 D0 BE 00 2C */ stfs f5, 0x2c(r30) -/* 8011BD7C 00118CDC D0 DE 00 30 */ stfs f6, 0x30(r30) -/* 8011BD80 00118CE0 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8011BD84 00118CE4 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8011BD88 00118CE8 E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8011BD8C 00118CEC CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8011BD90 00118CF0 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 8011BD94 00118CF4 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 8011BD98 00118CF8 E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 -/* 8011BD9C 00118CFC CB 81 00 A0 */ lfd f28, 0xa0(r1) -/* 8011BDA0 00118D00 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 -/* 8011BDA4 00118D04 CB 61 00 90 */ lfd f27, 0x90(r1) -/* 8011BDA8 00118D08 E3 41 00 88 */ psq_l f26, 136(r1), 0, qr0 -/* 8011BDAC 00118D0C CB 41 00 80 */ lfd f26, 0x80(r1) -/* 8011BDB0 00118D10 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8011BDB4 00118D14 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8011BDB8 00118D18 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8011BDBC 00118D1C 7C 08 03 A6 */ mtlr r0 -/* 8011BDC0 00118D20 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8011BDC4 00118D24 4E 80 00 20 */ blr - -.global CalculateNewVelocityWR_UsingImpulses__13CPhysicsActorCFv -CalculateNewVelocityWR_UsingImpulses__13CPhysicsActorCFv: -/* 8011BDC8 00118D28 C0 24 01 68 */ lfs f1, 0x168(r4) -/* 8011BDCC 00118D2C C0 04 01 8C */ lfs f0, 0x18c(r4) -/* 8011BDD0 00118D30 C0 64 01 6C */ lfs f3, 0x16c(r4) -/* 8011BDD4 00118D34 C0 44 01 90 */ lfs f2, 0x190(r4) -/* 8011BDD8 00118D38 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011BDDC 00118D3C C0 C4 00 EC */ lfs f6, 0xec(r4) -/* 8011BDE0 00118D40 EC 83 10 2A */ fadds f4, f3, f2 -/* 8011BDE4 00118D44 C0 64 01 70 */ lfs f3, 0x170(r4) -/* 8011BDE8 00118D48 C0 44 01 94 */ lfs f2, 0x194(r4) -/* 8011BDEC 00118D4C EC 06 00 32 */ fmuls f0, f6, f0 -/* 8011BDF0 00118D50 C0 24 01 38 */ lfs f1, 0x138(r4) -/* 8011BDF4 00118D54 EC 43 10 2A */ fadds f2, f3, f2 -/* 8011BDF8 00118D58 EC 86 01 32 */ fmuls f4, f6, f4 -/* 8011BDFC 00118D5C C0 A4 01 3C */ lfs f5, 0x13c(r4) -/* 8011BE00 00118D60 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011BE04 00118D64 C0 64 01 40 */ lfs f3, 0x140(r4) -/* 8011BE08 00118D68 EC 26 00 B2 */ fmuls f1, f6, f2 -/* 8011BE0C 00118D6C EC 45 20 2A */ fadds f2, f5, f4 -/* 8011BE10 00118D70 D0 03 00 00 */ stfs f0, 0(r3) -/* 8011BE14 00118D74 EC 03 08 2A */ fadds f0, f3, f1 -/* 8011BE18 00118D78 D0 43 00 04 */ stfs f2, 4(r3) -/* 8011BE1C 00118D7C D0 03 00 08 */ stfs f0, 8(r3) -/* 8011BE20 00118D80 4E 80 00 20 */ blr - -.global SetPhysicsState__13CPhysicsActorFRC13CPhysicsState -SetPhysicsState__13CPhysicsActorFRC13CPhysicsState: -/* 8011BE24 00118D84 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8011BE28 00118D88 7C 08 02 A6 */ mflr r0 -/* 8011BE2C 00118D8C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8011BE30 00118D90 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8011BE34 00118D94 7C 9F 23 78 */ mr r31, r4 -/* 8011BE38 00118D98 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8011BE3C 00118D9C 7C 7E 1B 78 */ mr r30, r3 -/* 8011BE40 00118DA0 C0 44 00 00 */ lfs f2, 0(r4) -/* 8011BE44 00118DA4 38 81 00 48 */ addi r4, r1, 0x48 -/* 8011BE48 00118DA8 C0 3F 00 04 */ lfs f1, 4(r31) -/* 8011BE4C 00118DAC C0 1F 00 08 */ lfs f0, 8(r31) -/* 8011BE50 00118DB0 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8011BE54 00118DB4 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8011BE58 00118DB8 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8011BE5C 00118DBC 4B F3 70 31 */ bl SetTranslation__6CActorFRC9CVector3f -/* 8011BE60 00118DC0 C0 7F 00 0C */ lfs f3, 0xc(r31) -/* 8011BE64 00118DC4 38 61 00 54 */ addi r3, r1, 0x54 -/* 8011BE68 00118DC8 C0 5F 00 10 */ lfs f2, 0x10(r31) -/* 8011BE6C 00118DCC 38 81 00 38 */ addi r4, r1, 0x38 -/* 8011BE70 00118DD0 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8011BE74 00118DD4 38 A1 00 08 */ addi r5, r1, 8 -/* 8011BE78 00118DD8 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8011BE7C 00118DDC D0 61 00 38 */ stfs f3, 0x38(r1) -/* 8011BE80 00118DE0 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8011BE84 00118DE4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8011BE88 00118DE8 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8011BE8C 00118DEC C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8011BE90 00118DF0 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8011BE94 00118DF4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8011BE98 00118DF8 D0 01 00 08 */ stfs f0, 8(r1) -/* 8011BE9C 00118DFC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8011BEA0 00118E00 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8011BEA4 00118E04 48 1F 60 19 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f -/* 8011BEA8 00118E08 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8011BEAC 00118E0C 38 81 00 54 */ addi r4, r1, 0x54 -/* 8011BEB0 00118E10 48 1F 6C 91 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8011BEB4 00118E14 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8011BEB8 00118E18 38 80 00 01 */ li r4, 1 -/* 8011BEBC 00118E1C 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8011BEC0 00118E20 7F C3 F3 78 */ mr r3, r30 -/* 8011BEC4 00118E24 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8011BEC8 00118E28 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8011BECC 00118E2C 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 8011BED0 00118E30 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8011BED4 00118E34 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8011BED8 00118E38 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 8011BEDC 00118E3C 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8011BEE0 00118E40 C0 3F 00 20 */ lfs f1, 0x20(r31) -/* 8011BEE4 00118E44 C0 5F 00 24 */ lfs f2, 0x24(r31) -/* 8011BEE8 00118E48 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8011BEEC 00118E4C D0 1E 00 FC */ stfs f0, 0xfc(r30) -/* 8011BEF0 00118E50 D0 3E 01 00 */ stfs f1, 0x100(r30) -/* 8011BEF4 00118E54 D0 5E 01 04 */ stfs f2, 0x104(r30) -/* 8011BEF8 00118E58 C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 8011BEFC 00118E5C C0 3F 00 2C */ lfs f1, 0x2c(r31) -/* 8011BF00 00118E60 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8011BF04 00118E64 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 8011BF08 00118E68 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8011BF0C 00118E6C 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8011BF10 00118E70 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8011BF14 00118E74 80 81 00 30 */ lwz r4, 0x30(r1) -/* 8011BF18 00118E78 90 1E 01 08 */ stw r0, 0x108(r30) -/* 8011BF1C 00118E7C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011BF20 00118E80 90 9E 01 0C */ stw r4, 0x10c(r30) -/* 8011BF24 00118E84 90 1E 01 10 */ stw r0, 0x110(r30) -/* 8011BF28 00118E88 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 8011BF2C 00118E8C C0 5F 00 3C */ lfs f2, 0x3c(r31) -/* 8011BF30 00118E90 C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 8011BF34 00118E94 D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 8011BF38 00118E98 D0 3E 01 54 */ stfs f1, 0x154(r30) -/* 8011BF3C 00118E9C D0 5E 01 58 */ stfs f2, 0x158(r30) -/* 8011BF40 00118EA0 C0 3F 00 44 */ lfs f1, 0x44(r31) -/* 8011BF44 00118EA4 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 8011BF48 00118EA8 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8011BF4C 00118EAC D0 1E 01 5C */ stfs f0, 0x15c(r30) -/* 8011BF50 00118EB0 D0 3E 01 60 */ stfs f1, 0x160(r30) -/* 8011BF54 00118EB4 D0 5E 01 64 */ stfs f2, 0x164(r30) -/* 8011BF58 00118EB8 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8011BF5C 00118EBC C0 5F 00 54 */ lfs f2, 0x54(r31) -/* 8011BF60 00118EC0 C0 1F 00 4C */ lfs f0, 0x4c(r31) -/* 8011BF64 00118EC4 D0 1E 01 68 */ stfs f0, 0x168(r30) -/* 8011BF68 00118EC8 D0 3E 01 6C */ stfs f1, 0x16c(r30) -/* 8011BF6C 00118ECC D0 5E 01 70 */ stfs f2, 0x170(r30) -/* 8011BF70 00118ED0 C0 1F 00 58 */ lfs f0, 0x58(r31) -/* 8011BF74 00118ED4 C0 3F 00 5C */ lfs f1, 0x5c(r31) -/* 8011BF78 00118ED8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8011BF7C 00118EDC C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 8011BF80 00118EE0 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8011BF84 00118EE4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8011BF88 00118EE8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8011BF8C 00118EEC 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8011BF90 00118EF0 90 1E 01 74 */ stw r0, 0x174(r30) -/* 8011BF94 00118EF4 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8011BF98 00118EF8 90 9E 01 78 */ stw r4, 0x178(r30) -/* 8011BF9C 00118EFC 90 1E 01 7C */ stw r0, 0x17c(r30) -/* 8011BFA0 00118F00 C0 1F 00 64 */ lfs f0, 0x64(r31) -/* 8011BFA4 00118F04 C0 3F 00 68 */ lfs f1, 0x68(r31) -/* 8011BFA8 00118F08 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8011BFAC 00118F0C C0 1F 00 6C */ lfs f0, 0x6c(r31) -/* 8011BFB0 00118F10 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8011BFB4 00118F14 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011BFB8 00118F18 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8011BFBC 00118F1C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8011BFC0 00118F20 90 1E 01 80 */ stw r0, 0x180(r30) -/* 8011BFC4 00118F24 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8011BFC8 00118F28 90 9E 01 84 */ stw r4, 0x184(r30) -/* 8011BFCC 00118F2C 90 1E 01 88 */ stw r0, 0x188(r30) -/* 8011BFD0 00118F30 48 00 00 A9 */ bl ComputeDerivedQuantities__13CPhysicsActorFv -/* 8011BFD4 00118F34 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8011BFD8 00118F38 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8011BFDC 00118F3C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8011BFE0 00118F40 7C 08 03 A6 */ mtlr r0 -/* 8011BFE4 00118F44 38 21 00 90 */ addi r1, r1, 0x90 -/* 8011BFE8 00118F48 4E 80 00 20 */ blr - -.global GetPhysicsState__13CPhysicsActorCFv -GetPhysicsState__13CPhysicsActorCFv: -/* 8011BFEC 00118F4C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8011BFF0 00118F50 7C 08 02 A6 */ mflr r0 -/* 8011BFF4 00118F54 90 01 00 44 */ stw r0, 0x44(r1) -/* 8011BFF8 00118F58 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8011BFFC 00118F5C 7C 9F 23 78 */ mr r31, r4 -/* 8011C000 00118F60 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8011C004 00118F64 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8011C008 00118F68 7C 7E 1B 78 */ mr r30, r3 -/* 8011C00C 00118F6C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8011C010 00118F70 48 1F 61 19 */ bl FromMatrix__11CQuaternionFRC12CTransform4f -/* 8011C014 00118F74 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8011C018 00118F78 39 7F 01 74 */ addi r11, r31, 0x174 -/* 8011C01C 00118F7C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8011C020 00118F80 38 1F 01 80 */ addi r0, r31, 0x180 -/* 8011C024 00118F84 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8011C028 00118F88 7F C3 F3 78 */ mr r3, r30 -/* 8011C02C 00118F8C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8011C030 00118F90 38 81 00 20 */ addi r4, r1, 0x20 -/* 8011C034 00118F94 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8011C038 00118F98 38 DF 00 FC */ addi r6, r31, 0xfc -/* 8011C03C 00118F9C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8011C040 00118FA0 38 FF 01 08 */ addi r7, r31, 0x108 -/* 8011C044 00118FA4 39 1F 01 50 */ addi r8, r31, 0x150 -/* 8011C048 00118FA8 39 3F 01 5C */ addi r9, r31, 0x15c -/* 8011C04C 00118FAC D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8011C050 00118FB0 39 5F 01 68 */ addi r10, r31, 0x168 -/* 8011C054 00118FB4 91 61 00 08 */ stw r11, 8(r1) -/* 8011C058 00118FB8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8011C05C 00118FBC 48 00 07 D5 */ bl __ct__13CPhysicsStateFRC9CVector3fRC11CQuaternionRC9CVector3fRC10CAxisAngleRC9CVector3fRC9CVector3fRC9CVector3fRC10CAxisAngleRC10CAxisAngle -/* 8011C060 00118FC0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8011C064 00118FC4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8011C068 00118FC8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8011C06C 00118FCC 7C 08 03 A6 */ mtlr r0 -/* 8011C070 00118FD0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8011C074 00118FD4 4E 80 00 20 */ blr - -.global ComputeDerivedQuantities__13CPhysicsActorFv -ComputeDerivedQuantities__13CPhysicsActorFv: -/* 8011C078 00118FD8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8011C07C 00118FDC 7C 08 02 A6 */ mflr r0 -/* 8011C080 00118FE0 90 01 00 64 */ stw r0, 0x64(r1) -/* 8011C084 00118FE4 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8011C088 00118FE8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8011C08C 00118FEC 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8011C090 00118FF0 7C 7F 1B 78 */ mr r31, r3 -/* 8011C094 00118FF4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8011C098 00118FF8 C0 7F 00 EC */ lfs f3, 0xec(r31) -/* 8011C09C 00118FFC 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8011C0A0 00119000 C0 1F 00 FC */ lfs f0, 0xfc(r31) -/* 8011C0A4 00119004 C0 5F 01 00 */ lfs f2, 0x100(r31) -/* 8011C0A8 00119008 C0 3F 01 04 */ lfs f1, 0x104(r31) -/* 8011C0AC 0011900C EC 03 00 32 */ fmuls f0, f3, f0 -/* 8011C0B0 00119010 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8011C0B4 00119014 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8011C0B8 00119018 D0 1F 01 38 */ stfs f0, 0x138(r31) -/* 8011C0BC 0011901C D0 5F 01 3C */ stfs f2, 0x13c(r31) -/* 8011C0C0 00119020 D0 3F 01 40 */ stfs f1, 0x140(r31) -/* 8011C0C4 00119024 48 1F 70 31 */ bl BuildMatrix3f__12CTransform4fCFv -/* 8011C0C8 00119028 38 7F 01 14 */ addi r3, r31, 0x114 -/* 8011C0CC 0011902C 38 81 00 20 */ addi r4, r1, 0x20 -/* 8011C0D0 00119030 48 1F 3F 29 */ bl __as__9CMatrix3fFRC9CMatrix3f -/* 8011C0D4 00119034 C3 FF 00 F4 */ lfs f31, 0xf4(r31) -/* 8011C0D8 00119038 38 7F 01 08 */ addi r3, r31, 0x108 -/* 8011C0DC 0011903C 4B EF F4 55 */ bl GetVector__10CAxisAngleCFv -/* 8011C0E0 00119040 C0 43 00 04 */ lfs f2, 4(r3) -/* 8011C0E4 00119044 38 81 00 08 */ addi r4, r1, 8 -/* 8011C0E8 00119048 C0 23 00 08 */ lfs f1, 8(r3) -/* 8011C0EC 0011904C C0 03 00 00 */ lfs f0, 0(r3) -/* 8011C0F0 00119050 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8011C0F4 00119054 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8011C0F8 00119058 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011C0FC 0011905C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8011C100 00119060 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8011C104 00119064 D0 01 00 08 */ stfs f0, 8(r1) -/* 8011C108 00119068 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8011C10C 0011906C 4B EF F4 79 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011C110 00119070 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8011C114 00119074 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8011C118 00119078 90 7F 01 44 */ stw r3, 0x144(r31) -/* 8011C11C 0011907C 90 1F 01 48 */ stw r0, 0x148(r31) -/* 8011C120 00119080 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8011C124 00119084 90 1F 01 4C */ stw r0, 0x14c(r31) -/* 8011C128 00119088 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8011C12C 0011908C 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8011C130 00119090 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8011C134 00119094 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8011C138 00119098 7C 08 03 A6 */ mtlr r0 -/* 8011C13C 0011909C 38 21 00 60 */ addi r1, r1, 0x60 -/* 8011C140 001190A0 4E 80 00 20 */ blr - -.global ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -ApplyForceOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle: -/* 8011C144 001190A4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8011C148 001190A8 7C 08 02 A6 */ mflr r0 -/* 8011C14C 001190AC 90 01 00 44 */ stw r0, 0x44(r1) -/* 8011C150 001190B0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8011C154 001190B4 7C BF 2B 78 */ mr r31, r5 -/* 8011C158 001190B8 7C 85 23 78 */ mr r5, r4 -/* 8011C15C 001190BC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8011C160 001190C0 7C 7E 1B 78 */ mr r30, r3 -/* 8011C164 001190C4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8011C168 001190C8 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8011C16C 001190CC 48 1F 69 15 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8011C170 001190D0 C0 3E 01 5C */ lfs f1, 0x15c(r30) -/* 8011C174 001190D4 7F E3 FB 78 */ mr r3, r31 -/* 8011C178 001190D8 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8011C17C 001190DC C0 9E 01 60 */ lfs f4, 0x160(r30) -/* 8011C180 001190E0 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 8011C184 001190E4 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011C188 001190E8 C0 5E 01 64 */ lfs f2, 0x164(r30) -/* 8011C18C 001190EC C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8011C190 001190F0 EC 64 18 2A */ fadds f3, f4, f3 -/* 8011C194 001190F4 D0 1E 01 5C */ stfs f0, 0x15c(r30) -/* 8011C198 001190F8 EC 02 08 2A */ fadds f0, f2, f1 -/* 8011C19C 001190FC D0 7E 01 60 */ stfs f3, 0x160(r30) -/* 8011C1A0 00119100 D0 1E 01 64 */ stfs f0, 0x164(r30) -/* 8011C1A4 00119104 4B EF F3 8D */ bl GetVector__10CAxisAngleCFv -/* 8011C1A8 00119108 7C 65 1B 78 */ mr r5, r3 -/* 8011C1AC 0011910C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011C1B0 00119110 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8011C1B4 00119114 48 1F 68 CD */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8011C1B8 00119118 38 61 00 2C */ addi r3, r1, 0x2c -/* 8011C1BC 0011911C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011C1C0 00119120 4B EF F3 C5 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011C1C4 00119124 38 61 00 08 */ addi r3, r1, 8 -/* 8011C1C8 00119128 38 9E 01 74 */ addi r4, r30, 0x174 -/* 8011C1CC 0011912C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8011C1D0 00119130 4B EF F2 55 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle -/* 8011C1D4 00119134 80 61 00 08 */ lwz r3, 8(r1) -/* 8011C1D8 00119138 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8011C1DC 0011913C 90 7E 01 74 */ stw r3, 0x174(r30) -/* 8011C1E0 00119140 90 1E 01 78 */ stw r0, 0x178(r30) -/* 8011C1E4 00119144 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8011C1E8 00119148 90 1E 01 7C */ stw r0, 0x17c(r30) -/* 8011C1EC 0011914C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8011C1F0 00119150 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8011C1F4 00119154 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8011C1F8 00119158 7C 08 03 A6 */ mtlr r0 -/* 8011C1FC 0011915C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8011C200 00119160 4E 80 00 20 */ blr - -.global ApplyImpulseOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -ApplyImpulseOR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle: -/* 8011C204 00119164 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8011C208 00119168 7C 08 02 A6 */ mflr r0 -/* 8011C20C 0011916C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8011C210 00119170 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8011C214 00119174 7C BF 2B 78 */ mr r31, r5 -/* 8011C218 00119178 7C 85 23 78 */ mr r5, r4 -/* 8011C21C 0011917C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8011C220 00119180 7C 7E 1B 78 */ mr r30, r3 -/* 8011C224 00119184 38 61 00 20 */ addi r3, r1, 0x20 -/* 8011C228 00119188 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8011C22C 0011918C 48 1F 68 55 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8011C230 00119190 C0 3E 01 68 */ lfs f1, 0x168(r30) -/* 8011C234 00119194 7F E3 FB 78 */ mr r3, r31 -/* 8011C238 00119198 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8011C23C 0011919C C0 9E 01 6C */ lfs f4, 0x16c(r30) -/* 8011C240 001191A0 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 8011C244 001191A4 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011C248 001191A8 C0 5E 01 70 */ lfs f2, 0x170(r30) -/* 8011C24C 001191AC C0 21 00 28 */ lfs f1, 0x28(r1) -/* 8011C250 001191B0 EC 64 18 2A */ fadds f3, f4, f3 -/* 8011C254 001191B4 D0 1E 01 68 */ stfs f0, 0x168(r30) -/* 8011C258 001191B8 EC 02 08 2A */ fadds f0, f2, f1 -/* 8011C25C 001191BC D0 7E 01 6C */ stfs f3, 0x16c(r30) -/* 8011C260 001191C0 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 8011C264 001191C4 4B EF F2 CD */ bl GetVector__10CAxisAngleCFv -/* 8011C268 001191C8 7C 65 1B 78 */ mr r5, r3 -/* 8011C26C 001191CC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011C270 001191D0 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8011C274 001191D4 48 1F 68 0D */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 8011C278 001191D8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8011C27C 001191DC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011C280 001191E0 4B EF F3 05 */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011C284 001191E4 38 61 00 08 */ addi r3, r1, 8 -/* 8011C288 001191E8 38 9E 01 80 */ addi r4, r30, 0x180 -/* 8011C28C 001191EC 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8011C290 001191F0 4B EF F1 95 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle -/* 8011C294 001191F4 80 61 00 08 */ lwz r3, 8(r1) -/* 8011C298 001191F8 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8011C29C 001191FC 90 7E 01 80 */ stw r3, 0x180(r30) -/* 8011C2A0 00119200 90 1E 01 84 */ stw r0, 0x184(r30) -/* 8011C2A4 00119204 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8011C2A8 00119208 90 1E 01 88 */ stw r0, 0x188(r30) -/* 8011C2AC 0011920C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8011C2B0 00119210 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8011C2B4 00119214 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8011C2B8 00119218 7C 08 03 A6 */ mtlr r0 -/* 8011C2BC 0011921C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8011C2C0 00119220 4E 80 00 20 */ blr - -.global ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -ApplyForceWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle: -/* 8011C2C4 00119224 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011C2C8 00119228 7C 08 02 A6 */ mflr r0 -/* 8011C2CC 0011922C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011C2D0 00119230 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011C2D4 00119234 7C 7F 1B 78 */ mr r31, r3 -/* 8011C2D8 00119238 C0 23 01 5C */ lfs f1, 0x15c(r3) -/* 8011C2DC 0011923C 38 61 00 08 */ addi r3, r1, 8 -/* 8011C2E0 00119240 C0 04 00 00 */ lfs f0, 0(r4) -/* 8011C2E4 00119244 C0 9F 01 60 */ lfs f4, 0x160(r31) -/* 8011C2E8 00119248 C0 64 00 04 */ lfs f3, 4(r4) -/* 8011C2EC 0011924C EC 01 00 2A */ fadds f0, f1, f0 -/* 8011C2F0 00119250 C0 24 00 08 */ lfs f1, 8(r4) -/* 8011C2F4 00119254 38 9F 01 74 */ addi r4, r31, 0x174 -/* 8011C2F8 00119258 C0 5F 01 64 */ lfs f2, 0x164(r31) -/* 8011C2FC 0011925C EC 64 18 2A */ fadds f3, f4, f3 -/* 8011C300 00119260 D0 1F 01 5C */ stfs f0, 0x15c(r31) -/* 8011C304 00119264 EC 02 08 2A */ fadds f0, f2, f1 -/* 8011C308 00119268 D0 7F 01 60 */ stfs f3, 0x160(r31) -/* 8011C30C 0011926C D0 1F 01 64 */ stfs f0, 0x164(r31) -/* 8011C310 00119270 4B EF F1 15 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle -/* 8011C314 00119274 80 61 00 08 */ lwz r3, 8(r1) -/* 8011C318 00119278 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8011C31C 0011927C 90 7F 01 74 */ stw r3, 0x174(r31) -/* 8011C320 00119280 90 1F 01 78 */ stw r0, 0x178(r31) -/* 8011C324 00119284 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8011C328 00119288 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8011C32C 0011928C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011C330 00119290 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011C334 00119294 7C 08 03 A6 */ mtlr r0 -/* 8011C338 00119298 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011C33C 0011929C 4E 80 00 20 */ blr - -.global ApplyTorqueWR__13CPhysicsActorFRC9CVector3f -ApplyTorqueWR__13CPhysicsActorFRC9CVector3f: -/* 8011C340 001192A0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011C344 001192A4 7C 08 02 A6 */ mflr r0 -/* 8011C348 001192A8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011C34C 001192AC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011C350 001192B0 7C 7F 1B 78 */ mr r31, r3 -/* 8011C354 001192B4 38 61 00 08 */ addi r3, r1, 8 -/* 8011C358 001192B8 4B EF F2 2D */ bl __ct__10CAxisAngleFRC9CVector3f -/* 8011C35C 001192BC 7C 65 1B 78 */ mr r5, r3 -/* 8011C360 001192C0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011C364 001192C4 38 9F 01 74 */ addi r4, r31, 0x174 -/* 8011C368 001192C8 4B EF F0 BD */ bl __pl__FRC10CAxisAngleRC10CAxisAngle -/* 8011C36C 001192CC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8011C370 001192D0 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8011C374 001192D4 90 7F 01 74 */ stw r3, 0x174(r31) -/* 8011C378 001192D8 90 1F 01 78 */ stw r0, 0x178(r31) -/* 8011C37C 001192DC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8011C380 001192E0 90 1F 01 7C */ stw r0, 0x17c(r31) -/* 8011C384 001192E4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011C388 001192E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011C38C 001192EC 7C 08 03 A6 */ mtlr r0 -/* 8011C390 001192F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011C394 001192F4 4E 80 00 20 */ blr - -.global ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle: -/* 8011C398 001192F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011C39C 001192FC 7C 08 02 A6 */ mflr r0 -/* 8011C3A0 00119300 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011C3A4 00119304 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011C3A8 00119308 7C 7F 1B 78 */ mr r31, r3 -/* 8011C3AC 0011930C C0 23 01 68 */ lfs f1, 0x168(r3) -/* 8011C3B0 00119310 38 61 00 08 */ addi r3, r1, 8 -/* 8011C3B4 00119314 C0 04 00 00 */ lfs f0, 0(r4) -/* 8011C3B8 00119318 C0 9F 01 6C */ lfs f4, 0x16c(r31) -/* 8011C3BC 0011931C C0 64 00 04 */ lfs f3, 4(r4) -/* 8011C3C0 00119320 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011C3C4 00119324 C0 24 00 08 */ lfs f1, 8(r4) -/* 8011C3C8 00119328 38 9F 01 80 */ addi r4, r31, 0x180 -/* 8011C3CC 0011932C C0 5F 01 70 */ lfs f2, 0x170(r31) -/* 8011C3D0 00119330 EC 64 18 2A */ fadds f3, f4, f3 -/* 8011C3D4 00119334 D0 1F 01 68 */ stfs f0, 0x168(r31) -/* 8011C3D8 00119338 EC 02 08 2A */ fadds f0, f2, f1 -/* 8011C3DC 0011933C D0 7F 01 6C */ stfs f3, 0x16c(r31) -/* 8011C3E0 00119340 D0 1F 01 70 */ stfs f0, 0x170(r31) -/* 8011C3E4 00119344 4B EF F0 41 */ bl __pl__FRC10CAxisAngleRC10CAxisAngle -/* 8011C3E8 00119348 80 61 00 08 */ lwz r3, 8(r1) -/* 8011C3EC 0011934C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 8011C3F0 00119350 90 7F 01 80 */ stw r3, 0x180(r31) -/* 8011C3F4 00119354 90 1F 01 84 */ stw r0, 0x184(r31) -/* 8011C3F8 00119358 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8011C3FC 0011935C 90 1F 01 88 */ stw r0, 0x188(r31) -/* 8011C400 00119360 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011C404 00119364 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011C408 00119368 7C 08 03 A6 */ mtlr r0 -/* 8011C40C 0011936C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011C410 00119370 4E 80 00 20 */ blr - -.global __dt__13CPhysicsActorFv -__dt__13CPhysicsActorFv: -/* 8011C414 00119374 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011C418 00119378 7C 08 02 A6 */ mflr r0 -/* 8011C41C 0011937C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011C420 00119380 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011C424 00119384 7C 9F 23 78 */ mr r31, r4 -/* 8011C428 00119388 93 C1 00 08 */ stw r30, 8(r1) -/* 8011C42C 0011938C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8011C430 00119390 41 82 00 64 */ beq lbl_8011C494 -/* 8011C434 00119394 3C 60 80 3E */ lis r3, lbl_803E0628@ha -/* 8011C438 00119398 34 1E 02 28 */ addic. r0, r30, 0x228 -/* 8011C43C 0011939C 38 03 06 28 */ addi r0, r3, lbl_803E0628@l -/* 8011C440 001193A0 90 1E 00 00 */ stw r0, 0(r30) -/* 8011C444 001193A4 41 82 00 0C */ beq lbl_8011C450 -/* 8011C448 001193A8 38 00 00 00 */ li r0, 0 -/* 8011C44C 001193AC 98 1E 02 34 */ stb r0, 0x234(r30) -lbl_8011C450: -/* 8011C450 001193B0 34 1E 01 C0 */ addic. r0, r30, 0x1c0 -/* 8011C454 001193B4 41 82 00 24 */ beq lbl_8011C478 -/* 8011C458 001193B8 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha -/* 8011C45C 001193BC 34 1E 01 C0 */ addic. r0, r30, 0x1c0 -/* 8011C460 001193C0 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l -/* 8011C464 001193C4 90 1E 01 C0 */ stw r0, 0x1c0(r30) -/* 8011C468 001193C8 41 82 00 10 */ beq lbl_8011C478 -/* 8011C46C 001193CC 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 8011C470 001193D0 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 8011C474 001193D4 90 1E 01 C0 */ stw r0, 0x1c0(r30) -lbl_8011C478: -/* 8011C478 001193D8 7F C3 F3 78 */ mr r3, r30 -/* 8011C47C 001193DC 38 80 00 00 */ li r4, 0 -/* 8011C480 001193E0 4B F3 92 71 */ bl __dt__6CActorFv -/* 8011C484 001193E4 7F E0 07 35 */ extsh. r0, r31 -/* 8011C488 001193E8 40 81 00 0C */ ble lbl_8011C494 -/* 8011C48C 001193EC 7F C3 F3 78 */ mr r3, r30 -/* 8011C490 001193F0 48 1F 94 A1 */ bl Free__7CMemoryFPCv -lbl_8011C494: -/* 8011C494 001193F4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011C498 001193F8 7F C3 F3 78 */ mr r3, r30 -/* 8011C49C 001193FC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011C4A0 00119400 83 C1 00 08 */ lwz r30, 8(r1) -/* 8011C4A4 00119404 7C 08 03 A6 */ mtlr r0 -/* 8011C4A8 00119408 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011C4AC 0011940C 4E 80 00 20 */ blr - -.global "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" -"__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff": -/* 8011C4B0 00119410 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8011C4B4 00119414 7C 08 02 A6 */ mflr r0 -/* 8011C4B8 00119418 90 01 00 94 */ stw r0, 0x94(r1) -/* 8011C4BC 0011941C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8011C4C0 00119420 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8011C4C4 00119424 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8011C4C8 00119428 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8011C4CC 0011942C BF 41 00 58 */ stmw r26, 0x58(r1) -/* 8011C4D0 00119430 A0 04 00 00 */ lhz r0, 0(r4) -/* 8011C4D4 00119434 FF C0 08 90 */ fmr f30, f1 -/* 8011C4D8 00119438 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8011C4DC 0011943C FF E0 10 90 */ fmr f31, f2 -/* 8011C4E0 00119440 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8011C4E4 00119444 38 01 00 10 */ addi r0, r1, 0x10 -/* 8011C4E8 00119448 81 61 00 A0 */ lwz r11, 0xa0(r1) -/* 8011C4EC 0011944C B0 81 00 10 */ sth r4, 0x10(r1) -/* 8011C4F0 00119450 7C 7D 1B 78 */ mr r29, r3 -/* 8011C4F4 00119454 83 81 00 98 */ lwz r28, 0x98(r1) -/* 8011C4F8 00119458 7D 1E 43 78 */ mr r30, r8 -/* 8011C4FC 0011945C 91 61 00 08 */ stw r11, 8(r1) -/* 8011C500 00119460 7D 5B 53 78 */ mr r27, r10 -/* 8011C504 00119464 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8011C508 00119468 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011C50C 0011946C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8011C510 00119470 4B F3 93 11 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8011C514 00119474 3C 60 80 3E */ lis r3, lbl_803E0628@ha -/* 8011C518 00119478 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) -/* 8011C51C 0011947C 38 03 06 28 */ addi r0, r3, lbl_803E0628@l -/* 8011C520 00119480 90 1D 00 00 */ stw r0, 0(r29) -/* 8011C524 00119484 C0 3F 00 30 */ lfs f1, 0x30(r31) -/* 8011C528 00119488 D0 3D 00 E8 */ stfs f1, 0xe8(r29) -/* 8011C52C 0011948C C0 3F 00 30 */ lfs f1, 0x30(r31) -/* 8011C530 00119490 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011C534 00119494 40 81 00 10 */ ble lbl_8011C544 -/* 8011C538 00119498 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) -/* 8011C53C 0011949C EC 00 08 24 */ fdivs f0, f0, f1 -/* 8011C540 001194A0 48 00 00 08 */ b lbl_8011C548 -lbl_8011C544: -/* 8011C544 001194A4 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) -lbl_8011C548: -/* 8011C548 001194A8 D0 1D 00 EC */ stfs f0, 0xec(r29) -/* 8011C54C 001194AC 38 80 00 01 */ li r4, 1 -/* 8011C550 001194B0 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) -/* 8011C554 001194B4 38 60 00 00 */ li r3, 0 -/* 8011C558 001194B8 D0 1D 00 F0 */ stfs f0, 0xf0(r29) -/* 8011C55C 001194BC D0 1D 00 F4 */ stfs f0, 0xf4(r29) -/* 8011C560 001194C0 88 1D 00 F8 */ lbz r0, 0xf8(r29) -/* 8011C564 001194C4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8011C568 001194C8 98 1D 00 F8 */ stb r0, 0xf8(r29) -/* 8011C56C 001194CC 88 1D 00 F8 */ lbz r0, 0xf8(r29) -/* 8011C570 001194D0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8011C574 001194D4 98 1D 00 F8 */ stb r0, 0xf8(r29) -/* 8011C578 001194D8 98 7D 00 F9 */ stb r3, 0xf9(r29) -/* 8011C57C 001194DC D0 1D 00 FC */ stfs f0, 0xfc(r29) -/* 8011C580 001194E0 D0 1D 01 00 */ stfs f0, 0x100(r29) -/* 8011C584 001194E4 D0 1D 01 04 */ stfs f0, 0x104(r29) -/* 8011C588 001194E8 4B EF EF AD */ bl Identity__10CAxisAngleFv -/* 8011C58C 001194EC C0 03 00 00 */ lfs f0, 0(r3) -/* 8011C590 001194F0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha -/* 8011C594 001194F4 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l -/* 8011C598 001194F8 D0 1D 01 08 */ stfs f0, 0x108(r29) -/* 8011C59C 001194FC C0 03 00 04 */ lfs f0, 4(r3) -/* 8011C5A0 00119500 D0 1D 01 0C */ stfs f0, 0x10c(r29) -/* 8011C5A4 00119504 C0 03 00 08 */ lfs f0, 8(r3) -/* 8011C5A8 00119508 38 7D 01 14 */ addi r3, r29, 0x114 -/* 8011C5AC 0011950C D0 1D 01 10 */ stfs f0, 0x110(r29) -/* 8011C5B0 00119510 48 1F 3A 75 */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 8011C5B4 00119514 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) -/* 8011C5B8 00119518 D0 1D 01 38 */ stfs f0, 0x138(r29) -/* 8011C5BC 0011951C D0 1D 01 3C */ stfs f0, 0x13c(r29) -/* 8011C5C0 00119520 D0 1D 01 40 */ stfs f0, 0x140(r29) -/* 8011C5C4 00119524 4B EF EF 71 */ bl Identity__10CAxisAngleFv -/* 8011C5C8 00119528 C0 23 00 00 */ lfs f1, 0(r3) -/* 8011C5CC 0011952C C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) -/* 8011C5D0 00119530 D0 3D 01 44 */ stfs f1, 0x144(r29) -/* 8011C5D4 00119534 C0 23 00 04 */ lfs f1, 4(r3) -/* 8011C5D8 00119538 D0 3D 01 48 */ stfs f1, 0x148(r29) -/* 8011C5DC 0011953C C0 23 00 08 */ lfs f1, 8(r3) -/* 8011C5E0 00119540 D0 3D 01 4C */ stfs f1, 0x14c(r29) -/* 8011C5E4 00119544 C0 3F 00 18 */ lfs f1, 0x18(r31) -/* 8011C5E8 00119548 D0 3D 01 50 */ stfs f1, 0x150(r29) -/* 8011C5EC 0011954C C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8011C5F0 00119550 D0 3D 01 54 */ stfs f1, 0x154(r29) -/* 8011C5F4 00119554 C0 3F 00 20 */ lfs f1, 0x20(r31) -/* 8011C5F8 00119558 D0 3D 01 58 */ stfs f1, 0x158(r29) -/* 8011C5FC 0011955C D0 1D 01 5C */ stfs f0, 0x15c(r29) -/* 8011C600 00119560 D0 1D 01 60 */ stfs f0, 0x160(r29) -/* 8011C604 00119564 D0 1D 01 64 */ stfs f0, 0x164(r29) -/* 8011C608 00119568 D0 1D 01 68 */ stfs f0, 0x168(r29) -/* 8011C60C 0011956C D0 1D 01 6C */ stfs f0, 0x16c(r29) -/* 8011C610 00119570 D0 1D 01 70 */ stfs f0, 0x170(r29) -/* 8011C614 00119574 4B EF EF 21 */ bl Identity__10CAxisAngleFv -/* 8011C618 00119578 C0 03 00 00 */ lfs f0, 0(r3) -/* 8011C61C 0011957C D0 1D 01 74 */ stfs f0, 0x174(r29) -/* 8011C620 00119580 C0 03 00 04 */ lfs f0, 4(r3) -/* 8011C624 00119584 D0 1D 01 78 */ stfs f0, 0x178(r29) -/* 8011C628 00119588 C0 03 00 08 */ lfs f0, 8(r3) -/* 8011C62C 0011958C D0 1D 01 7C */ stfs f0, 0x17c(r29) -/* 8011C630 00119590 4B EF EF 05 */ bl Identity__10CAxisAngleFv -/* 8011C634 00119594 C0 23 00 00 */ lfs f1, 0(r3) -/* 8011C638 00119598 C0 02 96 A4 */ lfs f0, lbl_805AB3C4@sda21(r2) -/* 8011C63C 0011959C D0 3D 01 80 */ stfs f1, 0x180(r29) -/* 8011C640 001195A0 C0 23 00 04 */ lfs f1, 4(r3) -/* 8011C644 001195A4 D0 3D 01 84 */ stfs f1, 0x184(r29) -/* 8011C648 001195A8 C0 23 00 08 */ lfs f1, 8(r3) -/* 8011C64C 001195AC D0 3D 01 88 */ stfs f1, 0x188(r29) -/* 8011C650 001195B0 D0 1D 01 8C */ stfs f0, 0x18c(r29) -/* 8011C654 001195B4 D0 1D 01 90 */ stfs f0, 0x190(r29) -/* 8011C658 001195B8 D0 1D 01 94 */ stfs f0, 0x194(r29) -/* 8011C65C 001195BC 4B EF EE D9 */ bl Identity__10CAxisAngleFv -/* 8011C660 001195C0 C0 03 00 00 */ lfs f0, 0(r3) -/* 8011C664 001195C4 3B 5D 01 C0 */ addi r26, r29, 0x1c0 -/* 8011C668 001195C8 7F 64 DB 78 */ mr r4, r27 -/* 8011C66C 001195CC D0 1D 01 98 */ stfs f0, 0x198(r29) -/* 8011C670 001195D0 C0 03 00 04 */ lfs f0, 4(r3) -/* 8011C674 001195D4 D0 1D 01 9C */ stfs f0, 0x19c(r29) -/* 8011C678 001195D8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8011C67C 001195DC 7F 43 D3 78 */ mr r3, r26 -/* 8011C680 001195E0 D0 1D 01 A0 */ stfs f0, 0x1a0(r29) -/* 8011C684 001195E4 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8011C688 001195E8 D0 1D 01 A4 */ stfs f0, 0x1a4(r29) -/* 8011C68C 001195EC C0 1C 00 04 */ lfs f0, 4(r28) -/* 8011C690 001195F0 D0 1D 01 A8 */ stfs f0, 0x1a8(r29) -/* 8011C694 001195F4 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8011C698 001195F8 D0 1D 01 AC */ stfs f0, 0x1ac(r29) -/* 8011C69C 001195FC C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 8011C6A0 00119600 D0 1D 01 B0 */ stfs f0, 0x1b0(r29) -/* 8011C6A4 00119604 C0 1C 00 10 */ lfs f0, 0x10(r28) -/* 8011C6A8 00119608 D0 1D 01 B4 */ stfs f0, 0x1b4(r29) -/* 8011C6AC 0011960C C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 8011C6B0 00119610 D0 1D 01 B8 */ stfs f0, 0x1b8(r29) -/* 8011C6B4 00119614 48 1B 32 01 */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 8011C6B8 00119618 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha -/* 8011C6BC 0011961C 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l -/* 8011C6C0 00119620 90 1A 00 00 */ stw r0, 0(r26) -/* 8011C6C4 00119624 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8011C6C8 00119628 D0 1A 00 10 */ stfs f0, 0x10(r26) -/* 8011C6CC 0011962C C0 1C 00 04 */ lfs f0, 4(r28) -/* 8011C6D0 00119630 D0 1A 00 14 */ stfs f0, 0x14(r26) -/* 8011C6D4 00119634 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8011C6D8 00119638 D0 1A 00 18 */ stfs f0, 0x18(r26) -/* 8011C6DC 0011963C C0 1C 00 0C */ lfs f0, 0xc(r28) -/* 8011C6E0 00119640 D0 1A 00 1C */ stfs f0, 0x1c(r26) -/* 8011C6E4 00119644 C0 1C 00 10 */ lfs f0, 0x10(r28) -/* 8011C6E8 00119648 D0 1A 00 20 */ stfs f0, 0x20(r26) -/* 8011C6EC 0011964C C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 8011C6F0 00119650 D0 1A 00 24 */ stfs f0, 0x24(r26) -/* 8011C6F4 00119654 C0 5E 00 2C */ lfs f2, 0x2c(r30) -/* 8011C6F8 00119658 C0 3E 00 1C */ lfs f1, 0x1c(r30) -/* 8011C6FC 0011965C C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8011C700 00119660 D0 1D 01 E8 */ stfs f0, 0x1e8(r29) -/* 8011C704 00119664 D0 3D 01 EC */ stfs f1, 0x1ec(r29) -/* 8011C708 00119668 D0 5D 01 F0 */ stfs f2, 0x1f0(r29) -/* 8011C70C 0011966C 4B EF EE 29 */ bl Identity__10CAxisAngleFv -/* 8011C710 00119670 7C 7C 1B 78 */ mr r28, r3 -/* 8011C714 00119674 7F C4 F3 78 */ mr r4, r30 -/* 8011C718 00119678 38 61 00 28 */ addi r3, r1, 0x28 -/* 8011C71C 0011967C 48 1F 69 D9 */ bl BuildMatrix3f__12CTransform4fCFv -/* 8011C720 00119680 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011C724 00119684 38 81 00 28 */ addi r4, r1, 0x28 -/* 8011C728 00119688 48 1F 43 C9 */ bl BuildFromMatrix3f__13CNUQuaternionFRC9CMatrix3f -/* 8011C72C 0011968C C0 9E 00 2C */ lfs f4, 0x2c(r30) -/* 8011C730 00119690 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011C734 00119694 C0 7E 00 1C */ lfs f3, 0x1c(r30) -/* 8011C738 00119698 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8011C73C 0011969C C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8011C740 001196A0 38 00 00 00 */ li r0, 0 -/* 8011C744 001196A4 C0 42 96 C8 */ lfs f2, lbl_805AB3E8@sda21(r2) -/* 8011C748 001196A8 7F A3 EB 78 */ mr r3, r29 -/* 8011C74C 001196AC D0 1D 01 F4 */ stfs f0, 0x1f4(r29) -/* 8011C750 001196B0 C0 22 96 A4 */ lfs f1, lbl_805AB3C4@sda21(r2) -/* 8011C754 001196B4 D0 7D 01 F8 */ stfs f3, 0x1f8(r29) -/* 8011C758 001196B8 C0 02 96 B0 */ lfs f0, lbl_805AB3D0@sda21(r2) -/* 8011C75C 001196BC D0 9D 01 FC */ stfs f4, 0x1fc(r29) -/* 8011C760 001196C0 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8011C764 001196C4 D0 7D 02 00 */ stfs f3, 0x200(r29) -/* 8011C768 001196C8 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 8011C76C 001196CC D0 7D 02 04 */ stfs f3, 0x204(r29) -/* 8011C770 001196D0 C0 61 00 20 */ lfs f3, 0x20(r1) -/* 8011C774 001196D4 D0 7D 02 08 */ stfs f3, 0x208(r29) -/* 8011C778 001196D8 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 8011C77C 001196DC D0 7D 02 0C */ stfs f3, 0x20c(r29) -/* 8011C780 001196E0 C0 64 00 00 */ lfs f3, 0(r4) -/* 8011C784 001196E4 D0 7D 02 10 */ stfs f3, 0x210(r29) -/* 8011C788 001196E8 C0 64 00 04 */ lfs f3, 4(r4) -/* 8011C78C 001196EC D0 7D 02 14 */ stfs f3, 0x214(r29) -/* 8011C790 001196F0 C0 64 00 08 */ lfs f3, 8(r4) -/* 8011C794 001196F4 D0 7D 02 18 */ stfs f3, 0x218(r29) -/* 8011C798 001196F8 C0 7C 00 00 */ lfs f3, 0(r28) -/* 8011C79C 001196FC D0 7D 02 1C */ stfs f3, 0x21c(r29) -/* 8011C7A0 00119700 C0 7C 00 04 */ lfs f3, 4(r28) -/* 8011C7A4 00119704 D0 7D 02 20 */ stfs f3, 0x220(r29) -/* 8011C7A8 00119708 C0 7C 00 08 */ lfs f3, 8(r28) -/* 8011C7AC 0011970C D0 7D 02 24 */ stfs f3, 0x224(r29) -/* 8011C7B0 00119710 98 1D 02 34 */ stb r0, 0x234(r29) -/* 8011C7B4 00119714 D0 5D 02 38 */ stfs f2, 0x238(r29) -/* 8011C7B8 00119718 D3 DD 02 3C */ stfs f30, 0x23c(r29) -/* 8011C7BC 0011971C D3 FD 02 40 */ stfs f31, 0x240(r29) -/* 8011C7C0 00119720 D0 3D 02 44 */ stfs f1, 0x244(r29) -/* 8011C7C4 00119724 D0 1D 02 48 */ stfs f0, 0x248(r29) -/* 8011C7C8 00119728 90 1D 02 4C */ stw r0, 0x24c(r29) -/* 8011C7CC 0011972C 90 1D 02 50 */ stw r0, 0x250(r29) -/* 8011C7D0 00119730 C0 3F 00 30 */ lfs f1, 0x30(r31) -/* 8011C7D4 00119734 4B FF E2 B5 */ bl SetMass__13CPhysicsActorFf -/* 8011C7D8 00119738 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011C7DC 0011973C 7F A3 EB 78 */ mr r3, r29 -/* 8011C7E0 00119740 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8011C7E4 00119744 4B FF E2 55 */ bl MoveCollisionPrimitive__13CPhysicsActorFRC9CVector3f -/* 8011C7E8 00119748 7F A3 EB 78 */ mr r3, r29 -/* 8011C7EC 0011974C 7F E4 FB 78 */ mr r4, r31 -/* 8011C7F0 00119750 4B FF E5 29 */ bl SetVelocityOR__13CPhysicsActorFRC9CVector3f -/* 8011C7F4 00119754 7F A3 EB 78 */ mr r3, r29 -/* 8011C7F8 00119758 38 9F 00 0C */ addi r4, r31, 0xc -/* 8011C7FC 0011975C 4B FF E2 E1 */ bl SetAngularVelocityOR__13CPhysicsActorFRC10CAxisAngle -/* 8011C800 00119760 7F A3 EB 78 */ mr r3, r29 -/* 8011C804 00119764 4B FF F8 75 */ bl ComputeDerivedQuantities__13CPhysicsActorFv -/* 8011C808 00119768 7F A3 EB 78 */ mr r3, r29 -/* 8011C80C 0011976C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8011C810 00119770 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8011C814 00119774 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8011C818 00119778 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8011C81C 0011977C BB 41 00 58 */ lmw r26, 0x58(r1) -/* 8011C820 00119780 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8011C824 00119784 7C 08 03 A6 */ mtlr r0 -/* 8011C828 00119788 38 21 00 90 */ addi r1, r1, 0x90 -/* 8011C82C 0011978C 4E 80 00 20 */ blr - -.global __ct__13CPhysicsStateFRC9CVector3fRC11CQuaternionRC9CVector3fRC10CAxisAngleRC9CVector3fRC9CVector3fRC9CVector3fRC10CAxisAngleRC10CAxisAngle -__ct__13CPhysicsStateFRC9CVector3fRC11CQuaternionRC9CVector3fRC10CAxisAngleRC9CVector3fRC9CVector3fRC9CVector3fRC10CAxisAngleRC10CAxisAngle: -/* 8011C830 00119790 C0 04 00 00 */ lfs f0, 0(r4) -/* 8011C834 00119794 81 81 00 08 */ lwz r12, 8(r1) -/* 8011C838 00119798 D0 03 00 00 */ stfs f0, 0(r3) -/* 8011C83C 0011979C 81 61 00 0C */ lwz r11, 0xc(r1) -/* 8011C840 001197A0 C0 04 00 04 */ lfs f0, 4(r4) -/* 8011C844 001197A4 D0 03 00 04 */ stfs f0, 4(r3) -/* 8011C848 001197A8 C0 04 00 08 */ lfs f0, 8(r4) -/* 8011C84C 001197AC D0 03 00 08 */ stfs f0, 8(r3) -/* 8011C850 001197B0 C0 05 00 00 */ lfs f0, 0(r5) -/* 8011C854 001197B4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8011C858 001197B8 C0 05 00 04 */ lfs f0, 4(r5) -/* 8011C85C 001197BC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8011C860 001197C0 C0 05 00 08 */ lfs f0, 8(r5) -/* 8011C864 001197C4 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8011C868 001197C8 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8011C86C 001197CC D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8011C870 001197D0 C0 06 00 00 */ lfs f0, 0(r6) -/* 8011C874 001197D4 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8011C878 001197D8 C0 06 00 04 */ lfs f0, 4(r6) -/* 8011C87C 001197DC D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8011C880 001197E0 C0 06 00 08 */ lfs f0, 8(r6) -/* 8011C884 001197E4 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8011C888 001197E8 C0 07 00 00 */ lfs f0, 0(r7) -/* 8011C88C 001197EC D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8011C890 001197F0 C0 07 00 04 */ lfs f0, 4(r7) -/* 8011C894 001197F4 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8011C898 001197F8 C0 07 00 08 */ lfs f0, 8(r7) -/* 8011C89C 001197FC D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8011C8A0 00119800 C0 08 00 00 */ lfs f0, 0(r8) -/* 8011C8A4 00119804 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 8011C8A8 00119808 C0 08 00 04 */ lfs f0, 4(r8) -/* 8011C8AC 0011980C D0 03 00 38 */ stfs f0, 0x38(r3) -/* 8011C8B0 00119810 C0 08 00 08 */ lfs f0, 8(r8) -/* 8011C8B4 00119814 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 8011C8B8 00119818 C0 09 00 00 */ lfs f0, 0(r9) -/* 8011C8BC 0011981C D0 03 00 40 */ stfs f0, 0x40(r3) -/* 8011C8C0 00119820 C0 09 00 04 */ lfs f0, 4(r9) -/* 8011C8C4 00119824 D0 03 00 44 */ stfs f0, 0x44(r3) -/* 8011C8C8 00119828 C0 09 00 08 */ lfs f0, 8(r9) -/* 8011C8CC 0011982C D0 03 00 48 */ stfs f0, 0x48(r3) -/* 8011C8D0 00119830 C0 0A 00 00 */ lfs f0, 0(r10) -/* 8011C8D4 00119834 D0 03 00 4C */ stfs f0, 0x4c(r3) -/* 8011C8D8 00119838 C0 0A 00 04 */ lfs f0, 4(r10) -/* 8011C8DC 0011983C D0 03 00 50 */ stfs f0, 0x50(r3) -/* 8011C8E0 00119840 C0 0A 00 08 */ lfs f0, 8(r10) -/* 8011C8E4 00119844 D0 03 00 54 */ stfs f0, 0x54(r3) -/* 8011C8E8 00119848 C0 0C 00 00 */ lfs f0, 0(r12) -/* 8011C8EC 0011984C D0 03 00 58 */ stfs f0, 0x58(r3) -/* 8011C8F0 00119850 C0 0C 00 04 */ lfs f0, 4(r12) -/* 8011C8F4 00119854 D0 03 00 5C */ stfs f0, 0x5c(r3) -/* 8011C8F8 00119858 C0 0C 00 08 */ lfs f0, 8(r12) -/* 8011C8FC 0011985C D0 03 00 60 */ stfs f0, 0x60(r3) -/* 8011C900 00119860 C0 0B 00 00 */ lfs f0, 0(r11) -/* 8011C904 00119864 D0 03 00 64 */ stfs f0, 0x64(r3) -/* 8011C908 00119868 C0 0B 00 04 */ lfs f0, 4(r11) -/* 8011C90C 0011986C D0 03 00 68 */ stfs f0, 0x68(r3) -/* 8011C910 00119870 C0 0B 00 08 */ lfs f0, 8(r11) -/* 8011C914 00119874 D0 03 00 6C */ stfs f0, 0x6c(r3) -/* 8011C918 00119878 4E 80 00 20 */ blr - -.global __ct__7CRippleF9TUniqueIdRC9CVector3ff -__ct__7CRippleF9TUniqueIdRC9CVector3ff: -/* 8011C91C 0011987C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011C920 00119880 7C 08 02 A6 */ mflr r0 -/* 8011C924 00119884 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011C928 00119888 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8011C92C 0011988C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8011C930 00119890 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011C934 00119894 A0 04 00 00 */ lhz r0, 0(r4) -/* 8011C938 00119898 7C 7F 1B 78 */ mr r31, r3 -/* 8011C93C 0011989C C0 E2 96 D4 */ lfs f7, lbl_805AB3F4@sda21(r2) -/* 8011C940 001198A0 FF E0 08 90 */ fmr f31, f1 -/* 8011C944 001198A4 B0 03 00 00 */ sth r0, 0(r3) -/* 8011C948 001198A8 C0 A2 96 D8 */ lfs f5, lbl_805AB3F8@sda21(r2) -/* 8011C94C 001198AC D0 E3 00 04 */ stfs f7, 4(r3) -/* 8011C950 001198B0 C0 82 96 DC */ lfs f4, lbl_805AB3FC@sda21(r2) -/* 8011C954 001198B4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8011C958 001198B8 C0 62 96 E0 */ lfs f3, lbl_805AB400@sda21(r2) -/* 8011C95C 001198BC D0 03 00 08 */ stfs f0, 8(r3) -/* 8011C960 001198C0 C0 42 96 E4 */ lfs f2, lbl_805AB404@sda21(r2) -/* 8011C964 001198C4 C0 C5 00 04 */ lfs f6, 4(r5) -/* 8011C968 001198C8 C0 02 96 E8 */ lfs f0, lbl_805AB408@sda21(r2) -/* 8011C96C 001198CC D0 C3 00 0C */ stfs f6, 0xc(r3) -/* 8011C970 001198D0 C0 C5 00 08 */ lfs f6, 8(r5) -/* 8011C974 001198D4 D0 C3 00 10 */ stfs f6, 0x10(r3) -/* 8011C978 001198D8 D0 A3 00 14 */ stfs f5, 0x14(r3) -/* 8011C97C 001198DC D0 83 00 18 */ stfs f4, 0x18(r3) -/* 8011C980 001198E0 D0 63 00 1C */ stfs f3, 0x1c(r3) -/* 8011C984 001198E4 D0 43 00 20 */ stfs f2, 0x20(r3) -/* 8011C988 001198E8 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8011C98C 001198EC D0 E3 00 28 */ stfs f7, 0x28(r3) -/* 8011C990 001198F0 D0 E3 00 2C */ stfs f7, 0x2c(r3) -/* 8011C994 001198F4 D0 E3 00 30 */ stfs f7, 0x30(r3) -/* 8011C998 001198F8 D0 E3 00 34 */ stfs f7, 0x34(r3) -/* 8011C99C 001198FC D0 E3 00 38 */ stfs f7, 0x38(r3) -/* 8011C9A0 00119900 48 01 26 F9 */ bl sub_8012f098 -/* 8011C9A4 00119904 C0 02 96 D4 */ lfs f0, lbl_805AB3F4@sda21(r2) -/* 8011C9A8 00119908 90 7F 00 3C */ stw r3, 0x3c(r31) -/* 8011C9AC 0011990C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8011C9B0 00119910 41 80 00 CC */ blt lbl_8011CA7C -/* 8011C9B4 00119914 C0 02 96 EC */ lfs f0, lbl_805AB40C@sda21(r2) -/* 8011C9B8 00119918 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8011C9BC 0011991C 41 81 00 C0 */ bgt lbl_8011CA7C -/* 8011C9C0 00119920 88 0D A3 98 */ lbz r0, lbl_805A8F58@sda21(r13) -/* 8011C9C4 00119924 7C 00 07 75 */ extsb. r0, r0 -/* 8011C9C8 00119928 40 82 00 1C */ bne lbl_8011C9E4 -/* 8011C9CC 0011992C 3C 80 00 01 */ lis r4, 0x0000ABBA@ha -/* 8011C9D0 00119930 38 6D A3 9C */ addi r3, r13, lbl_805A8F5C@sda21 -/* 8011C9D4 00119934 38 84 AB BA */ addi r4, r4, 0x0000ABBA@l -/* 8011C9D8 00119938 48 1F 5C 15 */ bl __ct__9CRandom16FUi -/* 8011C9DC 0011993C 38 00 00 01 */ li r0, 1 -/* 8011C9E0 00119940 98 0D A3 98 */ stb r0, lbl_805A8F58@sda21(r13) -lbl_8011C9E4: -/* 8011C9E4 00119944 38 6D A3 9C */ addi r3, r13, lbl_805A8F5C@sda21 -/* 8011C9E8 00119948 48 1F 5A F5 */ bl Float__9CRandom16Fv -/* 8011C9EC 0011994C C0 02 96 F4 */ lfs f0, lbl_805AB414@sda21(r2) -/* 8011C9F0 00119950 C0 42 96 D8 */ lfs f2, lbl_805AB3F8@sda21(r2) -/* 8011C9F4 00119954 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8011C9F8 00119958 C0 62 96 F0 */ lfs f3, lbl_805AB410@sda21(r2) -/* 8011C9FC 0011995C C0 02 96 D4 */ lfs f0, lbl_805AB3F4@sda21(r2) -/* 8011CA00 00119960 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8011CA04 00119964 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8011CA08 00119968 EC 23 F8 7A */ fmadds f1, f3, f1, f31 -/* 8011CA0C 0011996C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011CA10 00119970 40 80 00 0C */ bge lbl_8011CA1C -/* 8011CA14 00119974 FC 20 00 90 */ fmr f1, f0 -/* 8011CA18 00119978 48 00 00 14 */ b lbl_8011CA2C -lbl_8011CA1C: -/* 8011CA1C 0011997C C0 02 96 EC */ lfs f0, lbl_805AB40C@sda21(r2) -/* 8011CA20 00119980 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011CA24 00119984 40 81 00 08 */ ble lbl_8011CA2C -/* 8011CA28 00119988 FC 20 00 90 */ fmr f1, f0 -lbl_8011CA2C: -/* 8011CA2C 0011998C C0 C2 96 D8 */ lfs f6, lbl_805AB3F8@sda21(r2) -/* 8011CA30 00119990 C0 42 96 F4 */ lfs f2, lbl_805AB414@sda21(r2) -/* 8011CA34 00119994 EC E6 00 72 */ fmuls f7, f6, f1 -/* 8011CA38 00119998 C0 22 96 F8 */ lfs f1, lbl_805AB418@sda21(r2) -/* 8011CA3C 0011999C C0 62 97 00 */ lfs f3, lbl_805AB420@sda21(r2) -/* 8011CA40 001199A0 C0 02 96 FC */ lfs f0, lbl_805AB41C@sda21(r2) -/* 8011CA44 001199A4 EC A2 09 FA */ fmadds f5, f2, f7, f1 -/* 8011CA48 001199A8 C0 42 97 08 */ lfs f2, lbl_805AB428@sda21(r2) -/* 8011CA4C 001199AC C0 22 97 04 */ lfs f1, lbl_805AB424@sda21(r2) -/* 8011CA50 001199B0 EC 83 01 FA */ fmadds f4, f3, f7, f0 -/* 8011CA54 001199B4 EC 66 38 2A */ fadds f3, f6, f7 -/* 8011CA58 001199B8 C0 02 97 0C */ lfs f0, lbl_805AB42C@sda21(r2) -/* 8011CA5C 001199BC D0 BF 00 14 */ stfs f5, 0x14(r31) -/* 8011CA60 001199C0 EC 22 09 FA */ fmadds f1, f2, f7, f1 -/* 8011CA64 001199C4 D0 9F 00 18 */ stfs f4, 0x18(r31) -/* 8011CA68 001199C8 D0 7F 00 1C */ stfs f3, 0x1c(r31) -/* 8011CA6C 001199CC D0 3F 00 20 */ stfs f1, 0x20(r31) -/* 8011CA70 001199D0 C0 3F 00 20 */ lfs f1, 0x20(r31) -/* 8011CA74 001199D4 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8011CA78 001199D8 D0 1F 00 24 */ stfs f0, 0x24(r31) -lbl_8011CA7C: -/* 8011CA7C 001199DC C0 62 96 EC */ lfs f3, lbl_805AB40C@sda21(r2) -/* 8011CA80 001199E0 7F E3 FB 78 */ mr r3, r31 -/* 8011CA84 001199E4 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 8011CA88 001199E8 C0 02 97 10 */ lfs f0, lbl_805AB430@sda21(r2) -/* 8011CA8C 001199EC EC 43 08 24 */ fdivs f2, f3, f1 -/* 8011CA90 001199F0 C0 22 97 14 */ lfs f1, lbl_805AB434@sda21(r2) -/* 8011CA94 001199F4 D0 5F 00 28 */ stfs f2, 0x28(r31) -/* 8011CA98 001199F8 C0 5F 00 18 */ lfs f2, 0x18(r31) -/* 8011CA9C 001199FC EC 43 10 24 */ fdivs f2, f3, f2 -/* 8011CAA0 00119A00 D0 5F 00 2C */ stfs f2, 0x2c(r31) -/* 8011CAA4 00119A04 C0 5F 00 18 */ lfs f2, 0x18(r31) -/* 8011CAA8 00119A08 EC 02 00 24 */ fdivs f0, f2, f0 -/* 8011CAAC 00119A0C D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 8011CAB0 00119A10 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 8011CAB4 00119A14 EC 03 00 24 */ fdivs f0, f3, f0 -/* 8011CAB8 00119A18 D0 1F 00 34 */ stfs f0, 0x34(r31) -/* 8011CABC 00119A1C C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 8011CAC0 00119A20 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8011CAC4 00119A24 D0 1F 00 38 */ stfs f0, 0x38(r31) -/* 8011CAC8 00119A28 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8011CACC 00119A2C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011CAD0 00119A30 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8011CAD4 00119A34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011CAD8 00119A38 7C 08 03 A6 */ mtlr r0 -/* 8011CADC 00119A3C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011CAE0 00119A40 4E 80 00 20 */ blr - -.global CalculateFluidTextureOffset__14CFluidUVMotionCFfPA2_f -CalculateFluidTextureOffset__14CFluidUVMotionCFfPA2_f: -/* 8011CAE4 00119A44 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8011CAE8 00119A48 7C 08 02 A6 */ mflr r0 -/* 8011CAEC 00119A4C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8011CAF0 00119A50 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8011CAF4 00119A54 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8011CAF8 00119A58 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8011CAFC 00119A5C F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8011CB00 00119A60 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8011CB04 00119A64 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8011CB08 00119A68 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 8011CB0C 00119A6C F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 8011CB10 00119A70 DB 61 00 40 */ stfd f27, 0x40(r1) -/* 8011CB14 00119A74 F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 -/* 8011CB18 00119A78 DB 41 00 30 */ stfd f26, 0x30(r1) -/* 8011CB1C 00119A7C F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 -/* 8011CB20 00119A80 DB 21 00 20 */ stfd f25, 0x20(r1) -/* 8011CB24 00119A84 F3 21 00 28 */ psq_st f25, 40(r1), 0, qr0 -/* 8011CB28 00119A88 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 8011CB2C 00119A8C 7C 7B 1B 78 */ mr r27, r3 -/* 8011CB30 00119A90 FF E0 08 90 */ fmr f31, f1 -/* 8011CB34 00119A94 C0 03 00 4C */ lfs f0, 0x4c(r3) -/* 8011CB38 00119A98 7C 9C 23 78 */ mr r28, r4 -/* 8011CB3C 00119A9C C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8011CB40 00119AA0 EF BF 00 32 */ fmuls f29, f31, f0 -/* 8011CB44 00119AA4 48 1F 82 01 */ bl FastCosR__5CMathFf -/* 8011CB48 00119AA8 EF 9D 00 72 */ fmuls f28, f29, f1 -/* 8011CB4C 00119AAC C0 3B 00 50 */ lfs f1, 0x50(r27) -/* 8011CB50 00119AB0 48 1F 82 A1 */ bl FastSinR__5CMathFf -/* 8011CB54 00119AB4 EF BD 00 72 */ fmuls f29, f29, f1 -/* 8011CB58 00119AB8 7F 9D E3 78 */ mr r29, r28 -/* 8011CB5C 00119ABC 3B 80 00 00 */ li r28, 0 -/* 8011CB60 00119AC0 3B E0 00 00 */ li r31, 0 -/* 8011CB64 00119AC4 48 00 01 08 */ b lbl_8011CC6C -lbl_8011CB68: -/* 8011CB68 00119AC8 7F DB FA 14 */ add r30, r27, r31 -/* 8011CB6C 00119ACC C0 1E 00 08 */ lfs f0, 8(r30) -/* 8011CB70 00119AD0 EF DF 00 32 */ fmuls f30, f31, f0 -/* 8011CB74 00119AD4 FC 20 F0 90 */ fmr f1, f30 -/* 8011CB78 00119AD8 48 27 79 4D */ bl floor -/* 8011CB7C 00119ADC FC 00 08 18 */ frsp f0, f1 -/* 8011CB80 00119AE0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8011CB84 00119AE4 2C 00 00 01 */ cmpwi r0, 1 -/* 8011CB88 00119AE8 EC 3E 00 28 */ fsubs f1, f30, f0 -/* 8011CB8C 00119AEC 41 82 00 2C */ beq lbl_8011CBB8 -/* 8011CB90 00119AF0 40 80 00 10 */ bge lbl_8011CBA0 -/* 8011CB94 00119AF4 2C 00 00 00 */ cmpwi r0, 0 -/* 8011CB98 00119AF8 40 80 00 14 */ bge lbl_8011CBAC -/* 8011CB9C 00119AFC 48 00 00 64 */ b lbl_8011CC00 -lbl_8011CBA0: -/* 8011CBA0 00119B00 2C 00 00 03 */ cmpwi r0, 3 -/* 8011CBA4 00119B04 40 80 00 5C */ bge lbl_8011CC00 -/* 8011CBA8 00119B08 48 00 00 3C */ b lbl_8011CBE4 -lbl_8011CBAC: -/* 8011CBAC 00119B0C FF 40 F0 90 */ fmr f26, f30 -/* 8011CBB0 00119B10 C3 62 97 18 */ lfs f27, lbl_805AB438@sda21(r2) -/* 8011CBB4 00119B14 48 00 00 54 */ b lbl_8011CC08 -lbl_8011CBB8: -/* 8011CBB8 00119B18 C0 02 97 1C */ lfs f0, lbl_805AB43C@sda21(r2) -/* 8011CBBC 00119B1C EF C0 00 72 */ fmuls f30, f0, f1 -/* 8011CBC0 00119B20 FC 20 F0 90 */ fmr f1, f30 -/* 8011CBC4 00119B24 48 1F 82 2D */ bl FastSinR__5CMathFf -/* 8011CBC8 00119B28 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 8011CBCC 00119B2C EF 60 00 72 */ fmuls f27, f0, f1 -/* 8011CBD0 00119B30 FC 20 F0 90 */ fmr f1, f30 -/* 8011CBD4 00119B34 48 1F 81 71 */ bl FastCosR__5CMathFf -/* 8011CBD8 00119B38 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 8011CBDC 00119B3C EF 40 00 72 */ fmuls f26, f0, f1 -/* 8011CBE0 00119B40 48 00 00 28 */ b lbl_8011CC08 -lbl_8011CBE4: -/* 8011CBE4 00119B44 C0 02 97 1C */ lfs f0, lbl_805AB43C@sda21(r2) -/* 8011CBE8 00119B48 C3 62 97 18 */ lfs f27, lbl_805AB438@sda21(r2) -/* 8011CBEC 00119B4C EC 20 00 72 */ fmuls f1, f0, f1 -/* 8011CBF0 00119B50 48 1F 81 55 */ bl FastCosR__5CMathFf -/* 8011CBF4 00119B54 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 8011CBF8 00119B58 EF 40 00 72 */ fmuls f26, f0, f1 -/* 8011CBFC 00119B5C 48 00 00 0C */ b lbl_8011CC08 -lbl_8011CC00: -/* 8011CC00 00119B60 C3 42 97 18 */ lfs f26, lbl_805AB438@sda21(r2) -/* 8011CC04 00119B64 FF 60 D0 90 */ fmr f27, f26 -lbl_8011CC08: -/* 8011CC08 00119B68 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 8011CC0C 00119B6C 48 1F 81 39 */ bl FastCosR__5CMathFf -/* 8011CC10 00119B70 EF DB E8 7A */ fmadds f30, f27, f1, f29 -/* 8011CC14 00119B74 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 8011CC18 00119B78 48 1F 81 D9 */ bl FastSinR__5CMathFf -/* 8011CC1C 00119B7C EF 3A F0 7A */ fmadds f25, f26, f1, f30 -/* 8011CC20 00119B80 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 8011CC24 00119B84 48 1F 81 21 */ bl FastCosR__5CMathFf -/* 8011CC28 00119B88 EF DA E0 7A */ fmadds f30, f26, f1, f28 -/* 8011CC2C 00119B8C C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 8011CC30 00119B90 48 1F 81 C1 */ bl FastSinR__5CMathFf -/* 8011CC34 00119B94 EF 5B F0 7A */ fmadds f26, f27, f1, f30 -/* 8011CC38 00119B98 FC 20 C8 90 */ fmr f1, f25 -/* 8011CC3C 00119B9C 48 27 78 89 */ bl floor -/* 8011CC40 00119BA0 FC 00 08 18 */ frsp f0, f1 -/* 8011CC44 00119BA4 FC 20 D0 90 */ fmr f1, f26 -/* 8011CC48 00119BA8 EC 19 00 28 */ fsubs f0, f25, f0 -/* 8011CC4C 00119BAC D0 1D 00 00 */ stfs f0, 0(r29) -/* 8011CC50 00119BB0 48 27 78 75 */ bl floor -/* 8011CC54 00119BB4 FC 00 08 18 */ frsp f0, f1 -/* 8011CC58 00119BB8 3B 9C 00 01 */ addi r28, r28, 1 -/* 8011CC5C 00119BBC 3B FF 00 18 */ addi r31, r31, 0x18 -/* 8011CC60 00119BC0 EC 1A 00 28 */ fsubs f0, f26, f0 -/* 8011CC64 00119BC4 D0 1D 00 04 */ stfs f0, 4(r29) -/* 8011CC68 00119BC8 3B BD 00 08 */ addi r29, r29, 8 -lbl_8011CC6C: -/* 8011CC6C 00119BCC 80 1B 00 00 */ lwz r0, 0(r27) -/* 8011CC70 00119BD0 7C 1C 00 00 */ cmpw r28, r0 -/* 8011CC74 00119BD4 41 80 FE F4 */ blt lbl_8011CB68 -/* 8011CC78 00119BD8 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8011CC7C 00119BDC CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8011CC80 00119BE0 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8011CC84 00119BE4 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8011CC88 00119BE8 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8011CC8C 00119BEC CB A1 00 60 */ lfd f29, 0x60(r1) -/* 8011CC90 00119BF0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 8011CC94 00119BF4 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 8011CC98 00119BF8 E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 -/* 8011CC9C 00119BFC CB 61 00 40 */ lfd f27, 0x40(r1) -/* 8011CCA0 00119C00 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 -/* 8011CCA4 00119C04 CB 41 00 30 */ lfd f26, 0x30(r1) -/* 8011CCA8 00119C08 E3 21 00 28 */ psq_l f25, 40(r1), 0, qr0 -/* 8011CCAC 00119C0C CB 21 00 20 */ lfd f25, 0x20(r1) -/* 8011CCB0 00119C10 BB 61 00 0C */ lmw r27, 0xc(r1) -/* 8011CCB4 00119C14 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8011CCB8 00119C18 7C 08 03 A6 */ mtlr r0 -/* 8011CCBC 00119C1C 38 21 00 90 */ addi r1, r1, 0x90 -/* 8011CCC0 00119C20 4E 80 00 20 */ blr - -.global __ct__14CFluidUVMotionFffRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotion -__ct__14CFluidUVMotionFffRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotion: -/* 8011CCC4 00119C24 C0 C2 97 20 */ lfs f6, lbl_805AB440@sda21(r2) -/* 8011CCC8 00119C28 38 E0 00 00 */ li r7, 0 -/* 8011CCCC 00119C2C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011CCD0 00119C30 EC A6 08 24 */ fdivs f5, f6, f1 -/* 8011CCD4 00119C34 C0 82 97 24 */ lfs f4, lbl_805AB444@sda21(r2) -/* 8011CCD8 00119C38 90 E3 00 00 */ stw r7, 0(r3) -/* 8011CCDC 00119C3C C0 62 97 18 */ lfs f3, lbl_805AB438@sda21(r2) -/* 8011CCE0 00119C40 C0 22 97 28 */ lfs f1, lbl_805AB448@sda21(r2) -/* 8011CCE4 00119C44 C0 02 97 2C */ lfs f0, lbl_805AB44C@sda21(r2) -/* 8011CCE8 00119C48 D0 A3 00 4C */ stfs f5, 0x4c(r3) -/* 8011CCEC 00119C4C D0 43 00 50 */ stfs f2, 0x50(r3) -/* 8011CCF0 00119C50 81 03 00 00 */ lwz r8, 0(r3) -/* 8011CCF4 00119C54 90 E1 00 08 */ stw r7, 8(r1) -/* 8011CCF8 00119C58 2C 08 00 03 */ cmpwi r8, 3 -/* 8011CCFC 00119C5C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8011CD00 00119C60 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8011CD04 00119C64 D0 C1 00 14 */ stfs f6, 0x14(r1) -/* 8011CD08 00119C68 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8011CD0C 00119C6C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8011CD10 00119C70 40 80 00 50 */ bge lbl_8011CD60 -/* 8011CD14 00119C74 1C 08 00 18 */ mulli r0, r8, 0x18 -/* 8011CD18 00119C78 21 28 00 03 */ subfic r9, r8, 3 -/* 8011CD1C 00119C7C 7D 03 02 14 */ add r8, r3, r0 -/* 8011CD20 00119C80 7D 29 03 A6 */ mtctr r9 -/* 8011CD24 00119C84 2C 09 00 00 */ cmpwi r9, 0 -/* 8011CD28 00119C88 39 08 00 04 */ addi r8, r8, 4 -/* 8011CD2C 00119C8C 40 81 00 2C */ ble lbl_8011CD58 -lbl_8011CD30: -/* 8011CD30 00119C90 28 08 00 00 */ cmplwi r8, 0 -/* 8011CD34 00119C94 41 82 00 1C */ beq lbl_8011CD50 -/* 8011CD38 00119C98 90 E8 00 00 */ stw r7, 0(r8) -/* 8011CD3C 00119C9C D0 88 00 04 */ stfs f4, 4(r8) -/* 8011CD40 00119CA0 D0 68 00 08 */ stfs f3, 8(r8) -/* 8011CD44 00119CA4 D0 C8 00 0C */ stfs f6, 0xc(r8) -/* 8011CD48 00119CA8 D0 28 00 10 */ stfs f1, 0x10(r8) -/* 8011CD4C 00119CAC D0 08 00 14 */ stfs f0, 0x14(r8) -lbl_8011CD50: -/* 8011CD50 00119CB0 39 08 00 18 */ addi r8, r8, 0x18 -/* 8011CD54 00119CB4 42 00 FF DC */ bdnz lbl_8011CD30 -lbl_8011CD58: -/* 8011CD58 00119CB8 38 00 00 03 */ li r0, 3 -/* 8011CD5C 00119CBC 90 03 00 00 */ stw r0, 0(r3) -lbl_8011CD60: -/* 8011CD60 00119CC0 80 04 00 00 */ lwz r0, 0(r4) -/* 8011CD64 00119CC4 90 03 00 04 */ stw r0, 4(r3) -/* 8011CD68 00119CC8 C0 04 00 04 */ lfs f0, 4(r4) -/* 8011CD6C 00119CCC D0 03 00 08 */ stfs f0, 8(r3) -/* 8011CD70 00119CD0 C0 04 00 08 */ lfs f0, 8(r4) -/* 8011CD74 00119CD4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8011CD78 00119CD8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8011CD7C 00119CDC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8011CD80 00119CE0 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8011CD84 00119CE4 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8011CD88 00119CE8 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8011CD8C 00119CEC D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8011CD90 00119CF0 80 05 00 00 */ lwz r0, 0(r5) -/* 8011CD94 00119CF4 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8011CD98 00119CF8 C0 05 00 04 */ lfs f0, 4(r5) -/* 8011CD9C 00119CFC D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8011CDA0 00119D00 C0 05 00 08 */ lfs f0, 8(r5) -/* 8011CDA4 00119D04 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8011CDA8 00119D08 C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8011CDAC 00119D0C D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8011CDB0 00119D10 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8011CDB4 00119D14 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8011CDB8 00119D18 C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8011CDBC 00119D1C D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8011CDC0 00119D20 80 06 00 00 */ lwz r0, 0(r6) -/* 8011CDC4 00119D24 90 03 00 34 */ stw r0, 0x34(r3) -/* 8011CDC8 00119D28 C0 06 00 04 */ lfs f0, 4(r6) -/* 8011CDCC 00119D2C D0 03 00 38 */ stfs f0, 0x38(r3) -/* 8011CDD0 00119D30 C0 06 00 08 */ lfs f0, 8(r6) -/* 8011CDD4 00119D34 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 8011CDD8 00119D38 C0 06 00 0C */ lfs f0, 0xc(r6) -/* 8011CDDC 00119D3C D0 03 00 40 */ stfs f0, 0x40(r3) -/* 8011CDE0 00119D40 C0 06 00 10 */ lfs f0, 0x10(r6) -/* 8011CDE4 00119D44 D0 03 00 44 */ stfs f0, 0x44(r3) -/* 8011CDE8 00119D48 C0 06 00 14 */ lfs f0, 0x14(r6) -/* 8011CDEC 00119D4C D0 03 00 48 */ stfs f0, 0x48(r3) -/* 8011CDF0 00119D50 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011CDF4 00119D54 4E 80 00 20 */ blr - -.global __ct__14CFluidUVMotionFff -__ct__14CFluidUVMotionFff: -/* 8011CDF8 00119D58 C0 C2 97 20 */ lfs f6, lbl_805AB440@sda21(r2) -/* 8011CDFC 00119D5C 38 80 00 00 */ li r4, 0 -/* 8011CE00 00119D60 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8011CE04 00119D64 EC A6 08 24 */ fdivs f5, f6, f1 -/* 8011CE08 00119D68 C0 82 97 24 */ lfs f4, lbl_805AB444@sda21(r2) -/* 8011CE0C 00119D6C 90 83 00 00 */ stw r4, 0(r3) -/* 8011CE10 00119D70 C0 62 97 18 */ lfs f3, lbl_805AB438@sda21(r2) -/* 8011CE14 00119D74 C0 22 97 28 */ lfs f1, lbl_805AB448@sda21(r2) -/* 8011CE18 00119D78 C0 02 97 2C */ lfs f0, lbl_805AB44C@sda21(r2) -/* 8011CE1C 00119D7C D0 A3 00 4C */ stfs f5, 0x4c(r3) -/* 8011CE20 00119D80 D0 43 00 50 */ stfs f2, 0x50(r3) -/* 8011CE24 00119D84 80 A3 00 00 */ lwz r5, 0(r3) -/* 8011CE28 00119D88 90 81 00 50 */ stw r4, 0x50(r1) -/* 8011CE2C 00119D8C 2C 05 00 03 */ cmpwi r5, 3 -/* 8011CE30 00119D90 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 8011CE34 00119D94 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 8011CE38 00119D98 D0 C1 00 5C */ stfs f6, 0x5c(r1) -/* 8011CE3C 00119D9C D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8011CE40 00119DA0 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8011CE44 00119DA4 40 80 00 50 */ bge lbl_8011CE94 -/* 8011CE48 00119DA8 1C 05 00 18 */ mulli r0, r5, 0x18 -/* 8011CE4C 00119DAC 20 C5 00 03 */ subfic r6, r5, 3 -/* 8011CE50 00119DB0 7C A3 02 14 */ add r5, r3, r0 -/* 8011CE54 00119DB4 7C C9 03 A6 */ mtctr r6 -/* 8011CE58 00119DB8 2C 06 00 00 */ cmpwi r6, 0 -/* 8011CE5C 00119DBC 38 A5 00 04 */ addi r5, r5, 4 -/* 8011CE60 00119DC0 40 81 00 2C */ ble lbl_8011CE8C -lbl_8011CE64: -/* 8011CE64 00119DC4 28 05 00 00 */ cmplwi r5, 0 -/* 8011CE68 00119DC8 41 82 00 1C */ beq lbl_8011CE84 -/* 8011CE6C 00119DCC 90 85 00 00 */ stw r4, 0(r5) -/* 8011CE70 00119DD0 D0 85 00 04 */ stfs f4, 4(r5) -/* 8011CE74 00119DD4 D0 65 00 08 */ stfs f3, 8(r5) -/* 8011CE78 00119DD8 D0 C5 00 0C */ stfs f6, 0xc(r5) -/* 8011CE7C 00119DDC D0 25 00 10 */ stfs f1, 0x10(r5) -/* 8011CE80 00119DE0 D0 05 00 14 */ stfs f0, 0x14(r5) -lbl_8011CE84: -/* 8011CE84 00119DE4 38 A5 00 18 */ addi r5, r5, 0x18 -/* 8011CE88 00119DE8 42 00 FF DC */ bdnz lbl_8011CE64 -lbl_8011CE8C: -/* 8011CE8C 00119DEC 38 00 00 03 */ li r0, 3 -/* 8011CE90 00119DF0 90 03 00 00 */ stw r0, 0(r3) -lbl_8011CE94: -/* 8011CE94 00119DF4 38 00 00 00 */ li r0, 0 -/* 8011CE98 00119DF8 C0 42 97 2C */ lfs f2, lbl_805AB44C@sda21(r2) -/* 8011CE9C 00119DFC C0 C2 97 30 */ lfs f6, lbl_805AB450@sda21(r2) -/* 8011CEA0 00119E00 90 03 00 04 */ stw r0, 4(r3) -/* 8011CEA4 00119E04 C0 A2 97 18 */ lfs f5, lbl_805AB438@sda21(r2) -/* 8011CEA8 00119E08 D0 C3 00 08 */ stfs f6, 8(r3) -/* 8011CEAC 00119E0C C0 82 97 20 */ lfs f4, lbl_805AB440@sda21(r2) -/* 8011CEB0 00119E10 D0 A3 00 0C */ stfs f5, 0xc(r3) -/* 8011CEB4 00119E14 C0 62 97 28 */ lfs f3, lbl_805AB448@sda21(r2) -/* 8011CEB8 00119E18 D0 83 00 10 */ stfs f4, 0x10(r3) -/* 8011CEBC 00119E1C C0 22 97 34 */ lfs f1, lbl_805AB454@sda21(r2) -/* 8011CEC0 00119E20 D0 63 00 14 */ stfs f3, 0x14(r3) -/* 8011CEC4 00119E24 C0 02 97 38 */ lfs f0, lbl_805AB458@sda21(r2) -/* 8011CEC8 00119E28 D0 43 00 18 */ stfs f2, 0x18(r3) -/* 8011CECC 00119E2C 90 03 00 1C */ stw r0, 0x1c(r3) -/* 8011CED0 00119E30 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 8011CED4 00119E34 D0 A3 00 24 */ stfs f5, 0x24(r3) -/* 8011CED8 00119E38 D0 83 00 28 */ stfs f4, 0x28(r3) -/* 8011CEDC 00119E3C D0 63 00 2C */ stfs f3, 0x2c(r3) -/* 8011CEE0 00119E40 D0 43 00 30 */ stfs f2, 0x30(r3) -/* 8011CEE4 00119E44 90 03 00 34 */ stw r0, 0x34(r3) -/* 8011CEE8 00119E48 D0 43 00 38 */ stfs f2, 0x38(r3) -/* 8011CEEC 00119E4C D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 8011CEF0 00119E50 D0 83 00 40 */ stfs f4, 0x40(r3) -/* 8011CEF4 00119E54 D0 63 00 44 */ stfs f3, 0x44(r3) -/* 8011CEF8 00119E58 90 01 00 38 */ stw r0, 0x38(r1) -/* 8011CEFC 00119E5C D0 C1 00 3C */ stfs f6, 0x3c(r1) -/* 8011CF00 00119E60 D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 8011CF04 00119E64 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 8011CF08 00119E68 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8011CF0C 00119E6C D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8011CF10 00119E70 90 01 00 20 */ stw r0, 0x20(r1) -/* 8011CF14 00119E74 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8011CF18 00119E78 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 8011CF1C 00119E7C D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 8011CF20 00119E80 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8011CF24 00119E84 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8011CF28 00119E88 90 01 00 08 */ stw r0, 8(r1) -/* 8011CF2C 00119E8C D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8011CF30 00119E90 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8011CF34 00119E94 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8011CF38 00119E98 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 8011CF3C 00119E9C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8011CF40 00119EA0 D0 43 00 48 */ stfs f2, 0x48(r3) -/* 8011CF44 00119EA4 38 21 00 70 */ addi r1, r1, 0x70 -/* 8011CF48 00119EA8 4E 80 00 20 */ blr - -.global AddRipple__14CRippleManagerFRC7CRipple -AddRipple__14CRippleManagerFRC7CRipple: -/* 8011CF4C 00119EAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011CF50 00119EB0 C0 42 97 40 */ lfs f2, lbl_805AB460@sda21(r2) -/* 8011CF54 00119EB4 80 03 00 08 */ lwz r0, 8(r3) -/* 8011CF58 00119EB8 80 E3 00 10 */ lwz r7, 0x10(r3) -/* 8011CF5C 00119EBC 54 00 30 32 */ slwi r0, r0, 6 -/* 8011CF60 00119EC0 C0 02 98 F4 */ lfs f0, lbl_805AB614@sda21(r2) -/* 8011CF64 00119EC4 7C C7 02 14 */ add r6, r7, r0 -/* 8011CF68 00119EC8 48 00 00 2C */ b lbl_8011CF94 -lbl_8011CF6C: -/* 8011CF6C 00119ECC C0 27 00 04 */ lfs f1, 4(r7) -/* 8011CF70 00119ED0 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 8011CF74 00119ED4 40 82 00 0C */ bne lbl_8011CF80 -/* 8011CF78 00119ED8 7C E6 3B 78 */ mr r6, r7 -/* 8011CF7C 00119EDC 48 00 00 30 */ b lbl_8011CFAC -lbl_8011CF80: -/* 8011CF80 00119EE0 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 8011CF84 00119EE4 40 81 00 0C */ ble lbl_8011CF90 -/* 8011CF88 00119EE8 7C E6 3B 78 */ mr r6, r7 -/* 8011CF8C 00119EEC FC 40 08 90 */ fmr f2, f1 -lbl_8011CF90: -/* 8011CF90 00119EF0 38 E7 00 40 */ addi r7, r7, 0x40 -lbl_8011CF94: -/* 8011CF94 00119EF4 80 03 00 08 */ lwz r0, 8(r3) -/* 8011CF98 00119EF8 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 8011CF9C 00119EFC 54 00 30 32 */ slwi r0, r0, 6 -/* 8011CFA0 00119F00 7C 05 02 14 */ add r0, r5, r0 -/* 8011CFA4 00119F04 7C 07 00 40 */ cmplw r7, r0 -/* 8011CFA8 00119F08 40 82 FF C4 */ bne lbl_8011CF6C -lbl_8011CFAC: -/* 8011CFAC 00119F0C 80 03 00 08 */ lwz r0, 8(r3) -/* 8011CFB0 00119F10 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 8011CFB4 00119F14 54 00 30 32 */ slwi r0, r0, 6 -/* 8011CFB8 00119F18 7C 05 02 14 */ add r0, r5, r0 -/* 8011CFBC 00119F1C 7C 06 00 40 */ cmplw r6, r0 -/* 8011CFC0 00119F20 41 82 00 B8 */ beq lbl_8011D078 -/* 8011CFC4 00119F24 A0 04 00 00 */ lhz r0, 0(r4) -/* 8011CFC8 00119F28 C0 02 97 40 */ lfs f0, lbl_805AB460@sda21(r2) -/* 8011CFCC 00119F2C B0 06 00 00 */ sth r0, 0(r6) -/* 8011CFD0 00119F30 C0 24 00 04 */ lfs f1, 4(r4) -/* 8011CFD4 00119F34 D0 26 00 04 */ stfs f1, 4(r6) -/* 8011CFD8 00119F38 80 A4 00 08 */ lwz r5, 8(r4) -/* 8011CFDC 00119F3C 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8011CFE0 00119F40 90 A6 00 08 */ stw r5, 8(r6) -/* 8011CFE4 00119F44 90 06 00 0C */ stw r0, 0xc(r6) -/* 8011CFE8 00119F48 80 04 00 10 */ lwz r0, 0x10(r4) -/* 8011CFEC 00119F4C 90 06 00 10 */ stw r0, 0x10(r6) -/* 8011CFF0 00119F50 C0 24 00 14 */ lfs f1, 0x14(r4) -/* 8011CFF4 00119F54 D0 26 00 14 */ stfs f1, 0x14(r6) -/* 8011CFF8 00119F58 C0 24 00 18 */ lfs f1, 0x18(r4) -/* 8011CFFC 00119F5C D0 26 00 18 */ stfs f1, 0x18(r6) -/* 8011D000 00119F60 C0 24 00 1C */ lfs f1, 0x1c(r4) -/* 8011D004 00119F64 D0 26 00 1C */ stfs f1, 0x1c(r6) -/* 8011D008 00119F68 C0 24 00 20 */ lfs f1, 0x20(r4) -/* 8011D00C 00119F6C D0 26 00 20 */ stfs f1, 0x20(r6) -/* 8011D010 00119F70 C0 24 00 24 */ lfs f1, 0x24(r4) -/* 8011D014 00119F74 D0 26 00 24 */ stfs f1, 0x24(r6) -/* 8011D018 00119F78 C0 24 00 28 */ lfs f1, 0x28(r4) -/* 8011D01C 00119F7C D0 26 00 28 */ stfs f1, 0x28(r6) -/* 8011D020 00119F80 C0 24 00 2C */ lfs f1, 0x2c(r4) -/* 8011D024 00119F84 D0 26 00 2C */ stfs f1, 0x2c(r6) -/* 8011D028 00119F88 C0 24 00 30 */ lfs f1, 0x30(r4) -/* 8011D02C 00119F8C D0 26 00 30 */ stfs f1, 0x30(r6) -/* 8011D030 00119F90 C0 24 00 34 */ lfs f1, 0x34(r4) -/* 8011D034 00119F94 D0 26 00 34 */ stfs f1, 0x34(r6) -/* 8011D038 00119F98 C0 24 00 38 */ lfs f1, 0x38(r4) -/* 8011D03C 00119F9C D0 26 00 38 */ stfs f1, 0x38(r6) -/* 8011D040 00119FA0 80 04 00 3C */ lwz r0, 0x3c(r4) -/* 8011D044 00119FA4 90 06 00 3C */ stw r0, 0x3c(r6) -/* 8011D048 00119FA8 D0 06 00 04 */ stfs f0, 4(r6) -/* 8011D04C 00119FAC C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8011D050 00119FB0 D0 01 00 08 */ stfs f0, 8(r1) -/* 8011D054 00119FB4 C0 23 00 00 */ lfs f1, 0(r3) -/* 8011D058 00119FB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011D05C 00119FBC D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8011D060 00119FC0 40 80 00 0C */ bge lbl_8011D06C -/* 8011D064 00119FC4 38 81 00 08 */ addi r4, r1, 8 -/* 8011D068 00119FC8 48 00 00 08 */ b lbl_8011D070 -lbl_8011D06C: -/* 8011D06C 00119FCC 38 81 00 0C */ addi r4, r1, 0xc -lbl_8011D070: -/* 8011D070 00119FD0 C0 04 00 00 */ lfs f0, 0(r4) -/* 8011D074 00119FD4 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8011D078: -/* 8011D078 00119FD8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011D07C 00119FDC 4E 80 00 20 */ blr - -.global GetLastRippleDeltaTime__14CRippleManagerCF9TUniqueId -GetLastRippleDeltaTime__14CRippleManagerCF9TUniqueId: -/* 8011D080 00119FE0 C0 22 98 F4 */ lfs f1, lbl_805AB614@sda21(r2) -/* 8011D084 00119FE4 80 C3 00 10 */ lwz r6, 0x10(r3) -/* 8011D088 00119FE8 48 00 00 28 */ b lbl_8011D0B0 -lbl_8011D08C: -/* 8011D08C 00119FEC A0 A4 00 00 */ lhz r5, 0(r4) -/* 8011D090 00119FF0 A0 06 00 00 */ lhz r0, 0(r6) -/* 8011D094 00119FF4 7C 05 00 40 */ cmplw r5, r0 -/* 8011D098 00119FF8 40 82 00 14 */ bne lbl_8011D0AC -/* 8011D09C 00119FFC C0 06 00 04 */ lfs f0, 4(r6) -/* 8011D0A0 0011A000 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011D0A4 0011A004 40 81 00 08 */ ble lbl_8011D0AC -/* 8011D0A8 0011A008 FC 20 00 90 */ fmr f1, f0 -lbl_8011D0AC: -/* 8011D0AC 0011A00C 38 C6 00 40 */ addi r6, r6, 0x40 -lbl_8011D0B0: -/* 8011D0B0 0011A010 80 03 00 08 */ lwz r0, 8(r3) -/* 8011D0B4 0011A014 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 8011D0B8 0011A018 54 00 30 32 */ slwi r0, r0, 6 -/* 8011D0BC 0011A01C 7C 05 02 14 */ add r0, r5, r0 -/* 8011D0C0 0011A020 7C 06 00 40 */ cmplw r6, r0 -/* 8011D0C4 0011A024 40 82 FF C8 */ bne lbl_8011D08C -/* 8011D0C8 0011A028 4E 80 00 20 */ blr - -.global Update__14CRippleManagerFf -Update__14CRippleManagerFf: -/* 8011D0CC 0011A02C 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 8011D0D0 0011A030 C0 42 98 F4 */ lfs f2, lbl_805AB614@sda21(r2) -/* 8011D0D4 0011A034 48 00 00 24 */ b lbl_8011D0F8 -lbl_8011D0D8: -/* 8011D0D8 0011A038 C0 05 00 04 */ lfs f0, 4(r5) -/* 8011D0DC 0011A03C EC 01 00 2A */ fadds f0, f1, f0 -/* 8011D0E0 0011A040 D0 05 00 04 */ stfs f0, 4(r5) -/* 8011D0E4 0011A044 C0 05 00 04 */ lfs f0, 4(r5) -/* 8011D0E8 0011A048 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8011D0EC 0011A04C 40 81 00 08 */ ble lbl_8011D0F4 -/* 8011D0F0 0011A050 D0 45 00 04 */ stfs f2, 4(r5) -lbl_8011D0F4: -/* 8011D0F4 0011A054 38 A5 00 40 */ addi r5, r5, 0x40 -lbl_8011D0F8: -/* 8011D0F8 0011A058 80 03 00 08 */ lwz r0, 8(r3) -/* 8011D0FC 0011A05C 80 83 00 10 */ lwz r4, 0x10(r3) -/* 8011D100 0011A060 54 00 30 32 */ slwi r0, r0, 6 -/* 8011D104 0011A064 7C 04 02 14 */ add r0, r4, r0 -/* 8011D108 0011A068 7C 05 00 40 */ cmplw r5, r0 -/* 8011D10C 0011A06C 40 82 FF CC */ bne lbl_8011D0D8 - -.global sub_8011d110 -sub_8011d110: -/* 8011D110 0011A070 4E 80 00 20 */ blr - -.global Init__14CRippleManagerFi -Init__14CRippleManagerFi: -/* 8011D114 0011A074 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8011D118 0011A078 7C 08 02 A6 */ mflr r0 -/* 8011D11C 0011A07C 3C A0 80 5A */ lis r5, skZero3f@ha -/* 8011D120 0011A080 C0 22 97 40 */ lfs f1, lbl_805AB460@sda21(r2) -/* 8011D124 0011A084 90 01 00 64 */ stw r0, 0x64(r1) -/* 8011D128 0011A088 38 A5 66 A0 */ addi r5, r5, skZero3f@l -/* 8011D12C 0011A08C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8011D130 0011A090 7C 9F 23 78 */ mr r31, r4 -/* 8011D134 0011A094 38 81 00 08 */ addi r4, r1, 8 -/* 8011D138 0011A098 93 C1 00 58 */ stw r30, 0x58(r1) -/* 8011D13C 0011A09C 7C 7E 1B 78 */ mr r30, r3 -/* 8011D140 0011A0A0 38 61 00 0C */ addi r3, r1, 0xc -/* 8011D144 0011A0A4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8011D148 0011A0A8 B0 01 00 08 */ sth r0, 8(r1) -/* 8011D14C 0011A0AC 4B FF F7 D1 */ bl __ct__7CRippleF9TUniqueIdRC9CVector3ff -/* 8011D150 0011A0B0 7C 65 1B 78 */ mr r5, r3 -/* 8011D154 0011A0B4 7F E4 FB 78 */ mr r4, r31 -/* 8011D158 0011A0B8 38 7E 00 04 */ addi r3, r30, 4 -/* 8011D15C 0011A0BC 48 00 00 49 */ bl sub_8011d1a4 -/* 8011D160 0011A0C0 80 9E 00 10 */ lwz r4, 0x10(r30) -/* 8011D164 0011A0C4 C0 02 98 F4 */ lfs f0, lbl_805AB614@sda21(r2) -/* 8011D168 0011A0C8 48 00 00 0C */ b lbl_8011D174 -lbl_8011D16C: -/* 8011D16C 0011A0CC D0 04 00 04 */ stfs f0, 4(r4) -/* 8011D170 0011A0D0 38 84 00 40 */ addi r4, r4, 0x40 -lbl_8011D174: -/* 8011D174 0011A0D4 80 1E 00 08 */ lwz r0, 8(r30) -/* 8011D178 0011A0D8 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8011D17C 0011A0DC 54 00 30 32 */ slwi r0, r0, 6 -/* 8011D180 0011A0E0 7C 03 02 14 */ add r0, r3, r0 -/* 8011D184 0011A0E4 7C 04 00 40 */ cmplw r4, r0 -/* 8011D188 0011A0E8 40 82 FF E4 */ bne lbl_8011D16C -/* 8011D18C 0011A0EC 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8011D190 0011A0F0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8011D194 0011A0F4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 8011D198 0011A0F8 7C 08 03 A6 */ mtlr r0 -/* 8011D19C 0011A0FC 38 21 00 60 */ addi r1, r1, 0x60 -/* 8011D1A0 0011A100 4E 80 00 20 */ blr - -.global sub_8011d1a4 -sub_8011d1a4: -/* 8011D1A4 0011A104 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011D1A8 0011A108 7C 08 02 A6 */ mflr r0 -/* 8011D1AC 0011A10C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011D1B0 0011A110 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011D1B4 0011A114 7C BF 2B 78 */ mr r31, r5 -/* 8011D1B8 0011A118 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8011D1BC 0011A11C 7C 9E 23 78 */ mr r30, r4 -/* 8011D1C0 0011A120 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8011D1C4 0011A124 7C 7D 1B 78 */ mr r29, r3 -/* 8011D1C8 0011A128 80 03 00 04 */ lwz r0, 4(r3) -/* 8011D1CC 0011A12C 7C 00 F0 00 */ cmpw r0, r30 -/* 8011D1D0 0011A130 41 82 00 F8 */ beq lbl_8011D2C8 -/* 8011D1D4 0011A134 7C 1E 00 00 */ cmpw r30, r0 -/* 8011D1D8 0011A138 40 81 00 B8 */ ble lbl_8011D290 -/* 8011D1DC 0011A13C 48 00 01 55 */ bl sub_8011d330 -/* 8011D1E0 0011A140 80 9D 00 04 */ lwz r4, 4(r29) -/* 8011D1E4 0011A144 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8011D1E8 0011A148 54 80 30 32 */ slwi r0, r4, 6 -/* 8011D1EC 0011A14C 7C 84 F0 51 */ subf. r4, r4, r30 -/* 8011D1F0 0011A150 7C 63 02 14 */ add r3, r3, r0 -/* 8011D1F4 0011A154 7C 89 03 A6 */ mtctr r4 -/* 8011D1F8 0011A158 40 81 00 CC */ ble lbl_8011D2C4 -lbl_8011D1FC: -/* 8011D1FC 0011A15C 28 03 00 00 */ cmplwi r3, 0 -/* 8011D200 0011A160 41 82 00 84 */ beq lbl_8011D284 -/* 8011D204 0011A164 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8011D208 0011A168 B0 03 00 00 */ sth r0, 0(r3) -/* 8011D20C 0011A16C C0 1F 00 04 */ lfs f0, 4(r31) -/* 8011D210 0011A170 D0 03 00 04 */ stfs f0, 4(r3) -/* 8011D214 0011A174 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8011D218 0011A178 D0 03 00 08 */ stfs f0, 8(r3) -/* 8011D21C 0011A17C C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8011D220 0011A180 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8011D224 0011A184 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8011D228 0011A188 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8011D22C 0011A18C C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8011D230 0011A190 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8011D234 0011A194 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8011D238 0011A198 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8011D23C 0011A19C C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8011D240 0011A1A0 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8011D244 0011A1A4 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 8011D248 0011A1A8 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8011D24C 0011A1AC C0 1F 00 24 */ lfs f0, 0x24(r31) -/* 8011D250 0011A1B0 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8011D254 0011A1B4 C0 1F 00 28 */ lfs f0, 0x28(r31) -/* 8011D258 0011A1B8 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8011D25C 0011A1BC C0 1F 00 2C */ lfs f0, 0x2c(r31) -/* 8011D260 0011A1C0 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 8011D264 0011A1C4 C0 1F 00 30 */ lfs f0, 0x30(r31) -/* 8011D268 0011A1C8 D0 03 00 30 */ stfs f0, 0x30(r3) -/* 8011D26C 0011A1CC C0 1F 00 34 */ lfs f0, 0x34(r31) -/* 8011D270 0011A1D0 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 8011D274 0011A1D4 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8011D278 0011A1D8 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 8011D27C 0011A1DC 80 1F 00 3C */ lwz r0, 0x3c(r31) -/* 8011D280 0011A1E0 90 03 00 3C */ stw r0, 0x3c(r3) -lbl_8011D284: -/* 8011D284 0011A1E4 38 63 00 40 */ addi r3, r3, 0x40 -/* 8011D288 0011A1E8 42 00 FF 74 */ bdnz lbl_8011D1FC -/* 8011D28C 0011A1EC 48 00 00 38 */ b lbl_8011D2C4 -lbl_8011D290: -/* 8011D290 0011A1F0 80 9D 00 0C */ lwz r4, 0xc(r29) -/* 8011D294 0011A1F4 54 03 30 32 */ slwi r3, r0, 6 -/* 8011D298 0011A1F8 57 C0 30 32 */ slwi r0, r30, 6 -/* 8011D29C 0011A1FC 7C A4 02 14 */ add r5, r4, r0 -/* 8011D2A0 0011A200 7C 04 1A 14 */ add r0, r4, r3 -/* 8011D2A4 0011A204 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8011D2A8 0011A208 90 01 00 08 */ stw r0, 8(r1) -/* 8011D2AC 0011A20C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8011D2B0 0011A210 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8011D2B4 0011A214 48 00 00 08 */ b lbl_8011D2BC -lbl_8011D2B8: -/* 8011D2B8 0011A218 38 A5 00 40 */ addi r5, r5, 0x40 -lbl_8011D2BC: -/* 8011D2BC 0011A21C 7C 05 00 40 */ cmplw r5, r0 -/* 8011D2C0 0011A220 40 82 FF F8 */ bne lbl_8011D2B8 -lbl_8011D2C4: -/* 8011D2C4 0011A224 93 DD 00 04 */ stw r30, 4(r29) -lbl_8011D2C8: -/* 8011D2C8 0011A228 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011D2CC 0011A22C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011D2D0 0011A230 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8011D2D4 0011A234 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8011D2D8 0011A238 7C 08 03 A6 */ mtlr r0 -/* 8011D2DC 0011A23C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011D2E0 0011A240 4E 80 00 20 */ blr - -.global __ct__14CRippleManagerFif -__ct__14CRippleManagerFif: -/* 8011D2E4 0011A244 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011D2E8 0011A248 7C 08 02 A6 */ mflr r0 -/* 8011D2EC 0011A24C C0 02 97 40 */ lfs f0, lbl_805AB460@sda21(r2) -/* 8011D2F0 0011A250 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011D2F4 0011A254 38 00 00 00 */ li r0, 0 -/* 8011D2F8 0011A258 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011D2FC 0011A25C 7C 7F 1B 78 */ mr r31, r3 -/* 8011D300 0011A260 D0 03 00 00 */ stfs f0, 0(r3) -/* 8011D304 0011A264 90 03 00 08 */ stw r0, 8(r3) -/* 8011D308 0011A268 90 03 00 0C */ stw r0, 0xc(r3) -/* 8011D30C 0011A26C 90 03 00 10 */ stw r0, 0x10(r3) -/* 8011D310 0011A270 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 8011D314 0011A274 4B FF FE 01 */ bl Init__14CRippleManagerFi -/* 8011D318 0011A278 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011D31C 0011A27C 7F E3 FB 78 */ mr r3, r31 -/* 8011D320 0011A280 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011D324 0011A284 7C 08 03 A6 */ mtlr r0 -/* 8011D328 0011A288 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011D32C 0011A28C 4E 80 00 20 */ blr - -.global sub_8011d330 -sub_8011d330: -/* 8011D330 0011A290 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011D334 0011A294 7C 08 02 A6 */ mflr r0 -/* 8011D338 0011A298 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011D33C 0011A29C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011D340 0011A2A0 7C 9F 23 78 */ mr r31, r4 -/* 8011D344 0011A2A4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8011D348 0011A2A8 7C 7E 1B 78 */ mr r30, r3 -/* 8011D34C 0011A2AC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8011D350 0011A2B0 80 03 00 08 */ lwz r0, 8(r3) -/* 8011D354 0011A2B4 7C 1F 00 00 */ cmpw r31, r0 -/* 8011D358 0011A2B8 40 81 00 94 */ ble lbl_8011D3EC -/* 8011D35C 0011A2BC 57 E3 30 33 */ rlwinm. r3, r31, 6, 0, 0x19 -/* 8011D360 0011A2C0 40 82 00 0C */ bne lbl_8011D36C -/* 8011D364 0011A2C4 3B A0 00 00 */ li r29, 0 -/* 8011D368 0011A2C8 48 00 00 18 */ b lbl_8011D380 -lbl_8011D36C: -/* 8011D36C 0011A2CC 3C 80 80 3D */ lis r4, lbl_803CF318@ha -/* 8011D370 0011A2D0 38 A0 00 00 */ li r5, 0 -/* 8011D374 0011A2D4 38 84 F3 18 */ addi r4, r4, lbl_803CF318@l -/* 8011D378 0011A2D8 48 1F 84 A1 */ bl __nwa__FUlPCcPCc -/* 8011D37C 0011A2DC 7C 7D 1B 78 */ mr r29, r3 -lbl_8011D380: -/* 8011D380 0011A2E0 80 1E 00 04 */ lwz r0, 4(r30) -/* 8011D384 0011A2E4 7F A5 EB 78 */ mr r5, r29 -/* 8011D388 0011A2E8 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8011D38C 0011A2EC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011D390 0011A2F0 54 00 30 32 */ slwi r0, r0, 6 -/* 8011D394 0011A2F4 38 81 00 0C */ addi r4, r1, 0xc -/* 8011D398 0011A2F8 7C C6 02 14 */ add r6, r6, r0 -/* 8011D39C 0011A2FC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8011D3A0 0011A300 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8011D3A4 0011A304 90 C1 00 08 */ stw r6, 8(r1) -/* 8011D3A8 0011A308 90 01 00 10 */ stw r0, 0x10(r1) -/* 8011D3AC 0011A30C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011D3B0 0011A310 48 00 00 59 */ bl sub_8011d408 -/* 8011D3B4 0011A314 80 1E 00 04 */ lwz r0, 4(r30) -/* 8011D3B8 0011A318 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8011D3BC 0011A31C 54 00 30 32 */ slwi r0, r0, 6 -/* 8011D3C0 0011A320 7C 64 1B 78 */ mr r4, r3 -/* 8011D3C4 0011A324 7C 03 02 14 */ add r0, r3, r0 -/* 8011D3C8 0011A328 48 00 00 08 */ b lbl_8011D3D0 -lbl_8011D3CC: -/* 8011D3CC 0011A32C 38 84 00 40 */ addi r4, r4, 0x40 -lbl_8011D3D0: -/* 8011D3D0 0011A330 7C 04 00 40 */ cmplw r4, r0 -/* 8011D3D4 0011A334 40 82 FF F8 */ bne lbl_8011D3CC -/* 8011D3D8 0011A338 28 03 00 00 */ cmplwi r3, 0 -/* 8011D3DC 0011A33C 41 82 00 08 */ beq lbl_8011D3E4 -/* 8011D3E0 0011A340 48 1F 85 51 */ bl Free__7CMemoryFPCv -lbl_8011D3E4: -/* 8011D3E4 0011A344 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8011D3E8 0011A348 93 FE 00 08 */ stw r31, 8(r30) -lbl_8011D3EC: -/* 8011D3EC 0011A34C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011D3F0 0011A350 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011D3F4 0011A354 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8011D3F8 0011A358 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8011D3FC 0011A35C 7C 08 03 A6 */ mtlr r0 -/* 8011D400 0011A360 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011D404 0011A364 4E 80 00 20 */ blr - -.global sub_8011d408 -sub_8011d408: -/* 8011D408 0011A368 80 63 00 00 */ lwz r3, 0(r3) -/* 8011D40C 0011A36C 48 00 00 94 */ b lbl_8011D4A0 -lbl_8011D410: -/* 8011D410 0011A370 28 05 00 00 */ cmplwi r5, 0 -/* 8011D414 0011A374 41 82 00 84 */ beq lbl_8011D498 -/* 8011D418 0011A378 A0 03 00 00 */ lhz r0, 0(r3) -/* 8011D41C 0011A37C B0 05 00 00 */ sth r0, 0(r5) -/* 8011D420 0011A380 C0 03 00 04 */ lfs f0, 4(r3) -/* 8011D424 0011A384 D0 05 00 04 */ stfs f0, 4(r5) -/* 8011D428 0011A388 C0 03 00 08 */ lfs f0, 8(r3) -/* 8011D42C 0011A38C D0 05 00 08 */ stfs f0, 8(r5) -/* 8011D430 0011A390 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8011D434 0011A394 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 8011D438 0011A398 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8011D43C 0011A39C D0 05 00 10 */ stfs f0, 0x10(r5) -/* 8011D440 0011A3A0 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8011D444 0011A3A4 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8011D448 0011A3A8 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8011D44C 0011A3AC D0 05 00 18 */ stfs f0, 0x18(r5) -/* 8011D450 0011A3B0 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 8011D454 0011A3B4 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 8011D458 0011A3B8 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 8011D45C 0011A3BC D0 05 00 20 */ stfs f0, 0x20(r5) -/* 8011D460 0011A3C0 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 8011D464 0011A3C4 D0 05 00 24 */ stfs f0, 0x24(r5) -/* 8011D468 0011A3C8 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8011D46C 0011A3CC D0 05 00 28 */ stfs f0, 0x28(r5) -/* 8011D470 0011A3D0 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 8011D474 0011A3D4 D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 8011D478 0011A3D8 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 8011D47C 0011A3DC D0 05 00 30 */ stfs f0, 0x30(r5) -/* 8011D480 0011A3E0 C0 03 00 34 */ lfs f0, 0x34(r3) -/* 8011D484 0011A3E4 D0 05 00 34 */ stfs f0, 0x34(r5) -/* 8011D488 0011A3E8 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 8011D48C 0011A3EC D0 05 00 38 */ stfs f0, 0x38(r5) -/* 8011D490 0011A3F0 80 03 00 3C */ lwz r0, 0x3c(r3) -/* 8011D494 0011A3F4 90 05 00 3C */ stw r0, 0x3c(r5) -lbl_8011D498: -/* 8011D498 0011A3F8 38 A5 00 40 */ addi r5, r5, 0x40 -/* 8011D49C 0011A3FC 38 63 00 40 */ addi r3, r3, 0x40 -lbl_8011D4A0: -/* 8011D4A0 0011A400 80 04 00 00 */ lwz r0, 0(r4) -/* 8011D4A4 0011A404 7C 03 00 40 */ cmplw r3, r0 -/* 8011D4A8 0011A408 40 82 FF 68 */ bne lbl_8011D410 -/* 8011D4AC 0011A40C 7C A3 2B 78 */ mr r3, r5 -/* 8011D4B0 0011A410 4E 80 00 20 */ blr - -.global DisconnectGrappleBeam__11CGrappleArmFv -DisconnectGrappleBeam__11CGrappleArmFv: -/* 8011D4B4 0011A414 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011D4B8 0011A418 7C 08 02 A6 */ mflr r0 -/* 8011D4BC 0011A41C 38 80 00 00 */ li r4, 0 -/* 8011D4C0 0011A420 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011D4C4 0011A424 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011D4C8 0011A428 7C 7F 1B 78 */ mr r31, r3 -/* 8011D4CC 0011A42C 80 63 03 94 */ lwz r3, 0x394(r3) -/* 8011D4D0 0011A430 81 83 00 00 */ lwz r12, 0(r3) -/* 8011D4D4 0011A434 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8011D4D8 0011A438 7D 89 03 A6 */ mtctr r12 -/* 8011D4DC 0011A43C 4E 80 04 21 */ bctrl -/* 8011D4E0 0011A440 88 1F 03 B2 */ lbz r0, 0x3b2(r31) -/* 8011D4E4 0011A444 38 60 00 00 */ li r3, 0 -/* 8011D4E8 0011A448 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8011D4EC 0011A44C 7F E3 FB 78 */ mr r3, r31 -/* 8011D4F0 0011A450 98 1F 03 B2 */ stb r0, 0x3b2(r31) -/* 8011D4F4 0011A454 48 00 0B E5 */ bl GrappleBeamDisconnected__11CGrappleArmFv -/* 8011D4F8 0011A458 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011D4FC 0011A45C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011D500 0011A460 7C 08 03 A6 */ mtlr r0 -/* 8011D504 0011A464 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011D508 0011A468 4E 80 00 20 */ blr - -.global PointGenerator__11CGrappleArmFPvPC9CVector3fPC9CVector3fi -PointGenerator__11CGrappleArmFPvPC9CVector3fPC9CVector3fi: -/* 8011D50C 0011A46C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011D510 0011A470 7C 08 02 A6 */ mflr r0 -/* 8011D514 0011A474 28 03 00 00 */ cmplwi r3, 0 -/* 8011D518 0011A478 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011D51C 0011A47C 41 82 00 08 */ beq lbl_8011D524 -/* 8011D520 0011A480 48 14 D0 C1 */ bl GeneratePoints__20CRainSplashGeneratorFPC9CVector3fPC9CVector3fi -lbl_8011D524: -/* 8011D524 0011A484 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011D528 0011A488 7C 08 03 A6 */ mtlr r0 -/* 8011D52C 0011A48C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011D530 0011A490 4E 80 00 20 */ blr - -.global RenderXRayModel__11CGrappleArmFRC13CStateManagerRC12CTransform4fRC11CModelFlags -RenderXRayModel__11CGrappleArmFRC13CStateManagerRC12CTransform4fRC11CModelFlags: -/* 8011D534 0011A494 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8011D538 0011A498 7C 08 02 A6 */ mflr r0 -/* 8011D53C 0011A49C 7C A4 2B 78 */ mr r4, r5 -/* 8011D540 0011A4A0 90 01 01 04 */ stw r0, 0x104(r1) -/* 8011D544 0011A4A4 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8011D548 0011A4A8 7C DF 33 78 */ mr r31, r6 -/* 8011D54C 0011A4AC 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 8011D550 0011A4B0 7C 7E 1B 78 */ mr r30, r3 -/* 8011D554 0011A4B4 C0 43 00 00 */ lfs f2, 0(r3) -/* 8011D558 0011A4B8 C0 23 00 04 */ lfs f1, 4(r3) -/* 8011D55C 0011A4BC C0 03 00 08 */ lfs f0, 8(r3) -/* 8011D560 0011A4C0 38 61 00 74 */ addi r3, r1, 0x74 -/* 8011D564 0011A4C4 D0 41 00 08 */ stfs f2, 8(r1) -/* 8011D568 0011A4C8 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8011D56C 0011A4CC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8011D570 0011A4D0 48 1F 56 05 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011D574 0011A4D4 C0 21 00 08 */ lfs f1, 8(r1) -/* 8011D578 0011A4D8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8011D57C 0011A4DC C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8011D580 0011A4E0 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 8011D584 0011A4E4 48 1F 5C 85 */ bl Scale__12CTransform4fFfff -/* 8011D588 0011A4E8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011D58C 0011A4EC 38 81 00 74 */ addi r4, r1, 0x74 -/* 8011D590 0011A4F0 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8011D594 0011A4F4 48 1F 53 BD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011D598 0011A4F8 38 61 00 74 */ addi r3, r1, 0x74 -/* 8011D59C 0011A4FC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011D5A0 0011A500 48 1F 55 A1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8011D5A4 0011A504 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011D5A8 0011A508 38 81 00 74 */ addi r4, r1, 0x74 -/* 8011D5AC 0011A50C 81 83 00 00 */ lwz r12, 0(r3) -/* 8011D5B0 0011A510 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8011D5B4 0011A514 7D 89 03 A6 */ mtctr r12 -/* 8011D5B8 0011A518 4E 80 04 21 */ bctrl -/* 8011D5BC 0011A51C 48 1E F3 C1 */ bl DisableAllLights__9CGraphicsFv -/* 8011D5C0 0011A520 48 22 C9 ED */ bl White__6CColorFv -/* 8011D5C4 0011A524 7C 64 1B 78 */ mr r4, r3 -/* 8011D5C8 0011A528 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011D5CC 0011A52C 81 83 00 00 */ lwz r12, 0(r3) -/* 8011D5D0 0011A530 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 8011D5D4 0011A534 7D 89 03 A6 */ mtctr r12 -/* 8011D5D8 0011A538 4E 80 04 21 */ bctrl -/* 8011D5DC 0011A53C 38 00 00 00 */ li r0, 0 -/* 8011D5E0 0011A540 80 9E 00 60 */ lwz r4, 0x60(r30) -/* 8011D5E4 0011A544 98 01 00 EC */ stb r0, 0xec(r1) -/* 8011D5E8 0011A548 7F E5 FB 78 */ mr r5, r31 -/* 8011D5EC 0011A54C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8011D5F0 0011A550 38 C1 00 A4 */ addi r6, r1, 0xa4 -/* 8011D5F4 0011A554 80 84 00 E0 */ lwz r4, 0xe0(r4) -/* 8011D5F8 0011A558 38 E0 00 00 */ li r7, 0 -/* 8011D5FC 0011A55C 4B F0 F3 21 */ bl "Render__9CAnimDataCFRC13CSkinnedModelRC11CModelFlagsRCQ24rstl37optional_object<18CVertexMorphEffect>PCf" -/* 8011D600 0011A560 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8011D604 0011A564 38 80 FF FF */ li r4, -1 -/* 8011D608 0011A568 4B F5 A6 85 */ bl sub_80077c8c -/* 8011D60C 0011A56C 48 22 C9 A1 */ bl White__6CColorFv -/* 8011D610 0011A570 7C 64 1B 78 */ mr r4, r3 -/* 8011D614 0011A574 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011D618 0011A578 81 83 00 00 */ lwz r12, 0(r3) -/* 8011D61C 0011A57C 81 8C 00 BC */ lwz r12, 0xbc(r12) -/* 8011D620 0011A580 7D 89 03 A6 */ mtctr r12 -/* 8011D624 0011A584 4E 80 04 21 */ bctrl -/* 8011D628 0011A588 48 1E F3 55 */ bl DisableAllLights__9CGraphicsFv -/* 8011D62C 0011A58C 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8011D630 0011A590 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8011D634 0011A594 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 8011D638 0011A598 7C 08 03 A6 */ mtlr r0 -/* 8011D63C 0011A59C 38 21 01 00 */ addi r1, r1, 0x100 -/* 8011D640 0011A5A0 4E 80 00 20 */ blr - -.global BuildSuitDependencyList__11CGrappleArmFv -BuildSuitDependencyList__11CGrappleArmFv: -/* 8011D644 0011A5A4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8011D648 0011A5A8 7C 08 02 A6 */ mflr r0 -/* 8011D64C 0011A5AC 90 01 00 74 */ stw r0, 0x74(r1) -/* 8011D650 0011A5B0 BE A1 00 44 */ stmw r21, 0x44(r1) -/* 8011D654 0011A5B4 7C 7A 1B 78 */ mr r26, r3 -/* 8011D658 0011A5B8 38 7A 01 84 */ addi r3, r26, 0x184 -/* 8011D65C 0011A5BC 48 22 37 29 */ bl Lock__6CTokenFv -/* 8011D660 0011A5C0 3C 60 80 3D */ lis r3, lbl_803CF320@ha -/* 8011D664 0011A5C4 3B 9A 01 A0 */ addi r28, r26, 0x1a0 -/* 8011D668 0011A5C8 3B C3 F3 20 */ addi r30, r3, lbl_803CF320@l -/* 8011D66C 0011A5CC 3B 21 00 30 */ addi r25, r1, 0x30 -/* 8011D670 0011A5D0 7F 9D E3 78 */ mr r29, r28 -/* 8011D674 0011A5D4 3B 60 00 00 */ li r27, 0 -lbl_8011D678: -/* 8011D678 0011A5D8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8011D67C 0011A5DC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011D680 0011A5E0 80 BE 00 00 */ lwz r5, 0(r30) -/* 8011D684 0011A5E4 81 84 00 00 */ lwz r12, 0(r4) -/* 8011D688 0011A5E8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8011D68C 0011A5EC 7D 89 03 A6 */ mtctr r12 -/* 8011D690 0011A5F0 4E 80 04 21 */ bctrl -/* 8011D694 0011A5F4 7F 23 CB 78 */ mr r3, r25 -/* 8011D698 0011A5F8 38 81 00 18 */ addi r4, r1, 0x18 -/* 8011D69C 0011A5FC 48 22 38 0D */ bl __ct__6CTokenFRC6CToken -/* 8011D6A0 0011A600 7F 23 CB 78 */ mr r3, r25 -/* 8011D6A4 0011A604 48 22 37 69 */ bl GetObj__6CTokenFv -/* 8011D6A8 0011A608 80 03 00 04 */ lwz r0, 4(r3) -/* 8011D6AC 0011A60C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011D6B0 0011A610 38 80 FF FF */ li r4, -1 -/* 8011D6B4 0011A614 90 01 00 38 */ stw r0, 0x38(r1) -/* 8011D6B8 0011A618 48 22 37 89 */ bl __dt__6CTokenFv -/* 8011D6BC 0011A61C 80 1A 01 9C */ lwz r0, 0x19c(r26) -/* 8011D6C0 0011A620 38 60 00 00 */ li r3, 0 -/* 8011D6C4 0011A624 90 61 00 24 */ stw r3, 0x24(r1) -/* 8011D6C8 0011A628 54 00 20 36 */ slwi r0, r0, 4 -/* 8011D6CC 0011A62C 83 E1 00 38 */ lwz r31, 0x38(r1) -/* 8011D6D0 0011A630 7F 1C 02 15 */ add. r24, r28, r0 -/* 8011D6D4 0011A634 90 61 00 28 */ stw r3, 0x28(r1) -/* 8011D6D8 0011A638 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8011D6DC 0011A63C 41 82 00 8C */ beq lbl_8011D768 -/* 8011D6E0 0011A640 90 78 00 04 */ stw r3, 4(r24) -/* 8011D6E4 0011A644 2C 03 00 00 */ cmpwi r3, 0 -/* 8011D6E8 0011A648 90 78 00 08 */ stw r3, 8(r24) -/* 8011D6EC 0011A64C 40 82 00 10 */ bne lbl_8011D6FC -/* 8011D6F0 0011A650 40 82 00 0C */ bne lbl_8011D6FC -/* 8011D6F4 0011A654 90 78 00 0C */ stw r3, 0xc(r24) -/* 8011D6F8 0011A658 48 00 00 70 */ b lbl_8011D768 -lbl_8011D6FC: -/* 8011D6FC 0011A65C 80 18 00 08 */ lwz r0, 8(r24) -/* 8011D700 0011A660 54 03 18 39 */ rlwinm. r3, r0, 3, 0, 0x1c -/* 8011D704 0011A664 40 82 00 10 */ bne lbl_8011D714 -/* 8011D708 0011A668 38 00 00 00 */ li r0, 0 -/* 8011D70C 0011A66C 90 18 00 0C */ stw r0, 0xc(r24) -/* 8011D710 0011A670 48 00 00 1C */ b lbl_8011D72C -lbl_8011D714: -/* 8011D714 0011A674 3C 80 80 3D */ lis r4, lbl_803CF360@ha -/* 8011D718 0011A678 38 A0 00 00 */ li r5, 0 -/* 8011D71C 0011A67C 38 84 F3 60 */ addi r4, r4, lbl_803CF360@l -/* 8011D720 0011A680 38 84 00 C4 */ addi r4, r4, 0xc4 -/* 8011D724 0011A684 48 1F 80 F5 */ bl __nwa__FUlPCcPCc -/* 8011D728 0011A688 90 78 00 0C */ stw r3, 0xc(r24) -lbl_8011D72C: -/* 8011D72C 0011A68C 82 B8 00 04 */ lwz r21, 4(r24) -/* 8011D730 0011A690 3A E0 00 00 */ li r23, 0 -/* 8011D734 0011A694 82 C1 00 2C */ lwz r22, 0x2c(r1) -/* 8011D738 0011A698 83 18 00 0C */ lwz r24, 0xc(r24) -/* 8011D73C 0011A69C 48 00 00 24 */ b lbl_8011D760 -lbl_8011D740: -/* 8011D740 0011A6A0 28 18 00 00 */ cmplwi r24, 0 -/* 8011D744 0011A6A4 41 82 00 10 */ beq lbl_8011D754 -/* 8011D748 0011A6A8 7F 03 C3 78 */ mr r3, r24 -/* 8011D74C 0011A6AC 7E C4 B3 78 */ mr r4, r22 -/* 8011D750 0011A6B0 48 22 37 59 */ bl __ct__6CTokenFRC6CToken -lbl_8011D754: -/* 8011D754 0011A6B4 3B 18 00 08 */ addi r24, r24, 8 -/* 8011D758 0011A6B8 3A F7 00 01 */ addi r23, r23, 1 -/* 8011D75C 0011A6BC 3A D6 00 08 */ addi r22, r22, 8 -lbl_8011D760: -/* 8011D760 0011A6C0 7C 17 A8 00 */ cmpw r23, r21 -/* 8011D764 0011A6C4 41 80 FF DC */ blt lbl_8011D740 -lbl_8011D768: -/* 8011D768 0011A6C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011D76C 0011A6CC 82 A1 00 2C */ lwz r21, 0x2c(r1) -/* 8011D770 0011A6D0 54 00 18 38 */ slwi r0, r0, 3 -/* 8011D774 0011A6D4 80 7A 01 9C */ lwz r3, 0x19c(r26) -/* 8011D778 0011A6D8 7F 15 02 14 */ add r24, r21, r0 -/* 8011D77C 0011A6DC 92 A1 00 0C */ stw r21, 0xc(r1) -/* 8011D780 0011A6E0 38 03 00 01 */ addi r0, r3, 1 -/* 8011D784 0011A6E4 90 1A 01 9C */ stw r0, 0x19c(r26) -/* 8011D788 0011A6E8 93 01 00 14 */ stw r24, 0x14(r1) -/* 8011D78C 0011A6EC 93 01 00 10 */ stw r24, 0x10(r1) -/* 8011D790 0011A6F0 92 A1 00 08 */ stw r21, 8(r1) -/* 8011D794 0011A6F4 48 00 00 14 */ b lbl_8011D7A8 -lbl_8011D798: -/* 8011D798 0011A6F8 7E A3 AB 78 */ mr r3, r21 -/* 8011D79C 0011A6FC 38 80 FF FF */ li r4, -1 -/* 8011D7A0 0011A700 48 22 36 A1 */ bl __dt__6CTokenFv -/* 8011D7A4 0011A704 3A B5 00 08 */ addi r21, r21, 8 -lbl_8011D7A8: -/* 8011D7A8 0011A708 7C 15 C0 40 */ cmplw r21, r24 -/* 8011D7AC 0011A70C 40 82 FF EC */ bne lbl_8011D798 -/* 8011D7B0 0011A710 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 8011D7B4 0011A714 28 03 00 00 */ cmplwi r3, 0 -/* 8011D7B8 0011A718 41 82 00 08 */ beq lbl_8011D7C0 -/* 8011D7BC 0011A71C 48 1F 81 75 */ bl Free__7CMemoryFPCv -lbl_8011D7C0: -/* 8011D7C0 0011A720 7F 43 D3 78 */ mr r3, r26 -/* 8011D7C4 0011A724 7F E4 FB 78 */ mr r4, r31 -/* 8011D7C8 0011A728 7F A5 EB 78 */ mr r5, r29 -/* 8011D7CC 0011A72C 48 00 00 39 */ bl "FillTokenVector__11CGrappleArmFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -/* 8011D7D0 0011A730 38 61 00 30 */ addi r3, r1, 0x30 -/* 8011D7D4 0011A734 38 80 00 00 */ li r4, 0 -/* 8011D7D8 0011A738 48 22 36 69 */ bl __dt__6CTokenFv -/* 8011D7DC 0011A73C 3B 7B 00 01 */ addi r27, r27, 1 -/* 8011D7E0 0011A740 3B BD 00 10 */ addi r29, r29, 0x10 -/* 8011D7E4 0011A744 2C 1B 00 08 */ cmpwi r27, 8 -/* 8011D7E8 0011A748 3B DE 00 04 */ addi r30, r30, 4 -/* 8011D7EC 0011A74C 41 80 FE 8C */ blt lbl_8011D678 -/* 8011D7F0 0011A750 BA A1 00 44 */ lmw r21, 0x44(r1) -/* 8011D7F4 0011A754 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8011D7F8 0011A758 7C 08 03 A6 */ mtlr r0 -/* 8011D7FC 0011A75C 38 21 00 70 */ addi r1, r1, 0x70 -/* 8011D800 0011A760 4E 80 00 20 */ blr - -.global "FillTokenVector__11CGrappleArmFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -"FillTokenVector__11CGrappleArmFRCQ24rstl47vector<10SObjectTag,Q24rstl17rmemory_allocator>RQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>": -/* 8011D804 0011A764 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011D808 0011A768 7C 08 02 A6 */ mflr r0 -/* 8011D80C 0011A76C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011D810 0011A770 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011D814 0011A774 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8011D818 0011A778 7C BE 2B 78 */ mr r30, r5 -/* 8011D81C 0011A77C 7F C3 F3 78 */ mr r3, r30 -/* 8011D820 0011A780 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8011D824 0011A784 7C 9D 23 78 */ mr r29, r4 -/* 8011D828 0011A788 80 84 00 04 */ lwz r4, 4(r4) -/* 8011D82C 0011A78C 4B EE B1 31 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -/* 8011D830 0011A790 83 FD 00 0C */ lwz r31, 0xc(r29) -/* 8011D834 0011A794 48 00 00 98 */ b lbl_8011D8CC -lbl_8011D838: -/* 8011D838 0011A798 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8011D83C 0011A79C 7F E5 FB 78 */ mr r5, r31 -/* 8011D840 0011A7A0 38 61 00 08 */ addi r3, r1, 8 -/* 8011D844 0011A7A4 81 84 00 00 */ lwz r12, 0(r4) -/* 8011D848 0011A7A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011D84C 0011A7AC 7D 89 03 A6 */ mtctr r12 -/* 8011D850 0011A7B0 4E 80 04 21 */ bctrl -/* 8011D854 0011A7B4 38 61 00 10 */ addi r3, r1, 0x10 -/* 8011D858 0011A7B8 38 81 00 08 */ addi r4, r1, 8 -/* 8011D85C 0011A7BC 48 22 36 4D */ bl __ct__6CTokenFRC6CToken -/* 8011D860 0011A7C0 38 61 00 08 */ addi r3, r1, 8 -/* 8011D864 0011A7C4 38 80 FF FF */ li r4, -1 -/* 8011D868 0011A7C8 48 22 35 D9 */ bl __dt__6CTokenFv -/* 8011D86C 0011A7CC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8011D870 0011A7D0 80 BE 00 08 */ lwz r5, 8(r30) -/* 8011D874 0011A7D4 7C 00 28 00 */ cmpw r0, r5 -/* 8011D878 0011A7D8 41 80 00 1C */ blt lbl_8011D894 -/* 8011D87C 0011A7DC 2C 05 00 00 */ cmpwi r5, 0 -/* 8011D880 0011A7E0 7F C3 F3 78 */ mr r3, r30 -/* 8011D884 0011A7E4 38 80 00 04 */ li r4, 4 -/* 8011D888 0011A7E8 41 82 00 08 */ beq lbl_8011D890 -/* 8011D88C 0011A7EC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_8011D890: -/* 8011D890 0011A7F0 4B EE B0 CD */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" -lbl_8011D894: -/* 8011D894 0011A7F4 80 1E 00 04 */ lwz r0, 4(r30) -/* 8011D898 0011A7F8 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8011D89C 0011A7FC 54 00 18 38 */ slwi r0, r0, 3 -/* 8011D8A0 0011A800 7C 63 02 15 */ add. r3, r3, r0 -/* 8011D8A4 0011A804 41 82 00 0C */ beq lbl_8011D8B0 -/* 8011D8A8 0011A808 38 81 00 10 */ addi r4, r1, 0x10 -/* 8011D8AC 0011A80C 48 22 35 FD */ bl __ct__6CTokenFRC6CToken -lbl_8011D8B0: -/* 8011D8B0 0011A810 80 BE 00 04 */ lwz r5, 4(r30) -/* 8011D8B4 0011A814 38 61 00 10 */ addi r3, r1, 0x10 -/* 8011D8B8 0011A818 38 80 FF FF */ li r4, -1 -/* 8011D8BC 0011A81C 38 05 00 01 */ addi r0, r5, 1 -/* 8011D8C0 0011A820 90 1E 00 04 */ stw r0, 4(r30) -/* 8011D8C4 0011A824 48 22 35 7D */ bl __dt__6CTokenFv -/* 8011D8C8 0011A828 3B FF 00 08 */ addi r31, r31, 8 -lbl_8011D8CC: -/* 8011D8CC 0011A82C 80 1D 00 04 */ lwz r0, 4(r29) -/* 8011D8D0 0011A830 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 8011D8D4 0011A834 54 00 18 38 */ slwi r0, r0, 3 -/* 8011D8D8 0011A838 7C 03 02 14 */ add r0, r3, r0 -/* 8011D8DC 0011A83C 7C 1F 00 40 */ cmplw r31, r0 -/* 8011D8E0 0011A840 40 82 FF 58 */ bne lbl_8011D838 -/* 8011D8E4 0011A844 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011D8E8 0011A848 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011D8EC 0011A84C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8011D8F0 0011A850 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8011D8F4 0011A854 7C 08 03 A6 */ mtlr r0 -/* 8011D8F8 0011A858 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011D8FC 0011A85C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CGrappleArmF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CGrappleArmF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8011D900 0011A860 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011D904 0011A864 7C 08 02 A6 */ mflr r0 -/* 8011D908 0011A868 2C 04 00 21 */ cmpwi r4, 0x21 -/* 8011D90C 0011A86C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011D910 0011A870 41 82 00 08 */ beq lbl_8011D918 -/* 8011D914 0011A874 48 00 00 0C */ b lbl_8011D920 -lbl_8011D918: -/* 8011D918 0011A878 7C C4 33 78 */ mr r4, r6 -/* 8011D91C 0011A87C 48 00 02 B9 */ bl AsyncLoadSuit__11CGrappleArmFR13CStateManager -lbl_8011D920: -/* 8011D920 0011A880 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011D924 0011A884 7C 08 03 A6 */ mtlr r0 -/* 8011D928 0011A888 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011D92C 0011A88C 4E 80 00 20 */ blr - -.global BuildXRayModel__11CGrappleArmFv -BuildXRayModel__11CGrappleArmFv: -/* 8011D930 0011A890 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8011D934 0011A894 7C 08 02 A6 */ mflr r0 -/* 8011D938 0011A898 90 01 00 84 */ stw r0, 0x84(r1) -/* 8011D93C 0011A89C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8011D940 0011A8A0 7C 7F 1B 78 */ mr r31, r3 -/* 8011D944 0011A8A4 80 63 03 28 */ lwz r3, 0x328(r3) -/* 8011D948 0011A8A8 28 03 00 00 */ cmplwi r3, 0 -/* 8011D94C 0011A8AC 40 82 00 0C */ bne lbl_8011D958 -/* 8011D950 0011A8B0 38 E0 00 29 */ li r7, 0x29 -/* 8011D954 0011A8B4 48 00 00 08 */ b lbl_8011D95C -lbl_8011D958: -/* 8011D958 0011A8B8 80 E3 00 54 */ lwz r7, 0x54(r3) -lbl_8011D95C: -/* 8011D95C 0011A8BC 80 8D A1 48 */ lwz r4, gpTweakGunRes@sda21(r13) -/* 8011D960 0011A8C0 38 A0 00 08 */ li r5, 8 -/* 8011D964 0011A8C4 38 00 00 00 */ li r0, 0 -/* 8011D968 0011A8C8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8011D96C 0011A8CC 80 C4 00 08 */ lwz r6, 8(r4) -/* 8011D970 0011A8D0 38 81 00 08 */ addi r4, r1, 8 -/* 8011D974 0011A8D4 90 C1 00 08 */ stw r6, 8(r1) -/* 8011D978 0011A8D8 90 A1 00 0C */ stw r5, 0xc(r1) -/* 8011D97C 0011A8DC C0 1F 03 1C */ lfs f0, 0x31c(r31) -/* 8011D980 0011A8E0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8011D984 0011A8E4 C0 1F 03 20 */ lfs f0, 0x320(r31) -/* 8011D988 0011A8E8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8011D98C 0011A8EC C0 1F 03 24 */ lfs f0, 0x324(r31) -/* 8011D990 0011A8F0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8011D994 0011A8F4 98 01 00 1C */ stb r0, 0x1c(r1) -/* 8011D998 0011A8F8 90 E1 00 20 */ stw r7, 0x20(r1) -/* 8011D99C 0011A8FC 4B FF 91 B9 */ bl __ct__10CModelDataFRC8CAnimRes -/* 8011D9A0 0011A900 38 7F 00 50 */ addi r3, r31, 0x50 -/* 8011D9A4 0011A904 38 81 00 24 */ addi r4, r1, 0x24 -/* 8011D9A8 0011A908 4B FC 04 D1 */ bl sub_800dde78 -/* 8011D9AC 0011A90C 38 61 00 24 */ addi r3, r1, 0x24 -/* 8011D9B0 0011A910 38 80 FF FF */ li r4, -1 -/* 8011D9B4 0011A914 4B FF 90 99 */ bl __dt__10CModelDataFv -/* 8011D9B8 0011A918 88 1F 00 64 */ lbz r0, 0x64(r31) -/* 8011D9BC 0011A91C 38 60 00 01 */ li r3, 1 -/* 8011D9C0 0011A920 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8011D9C4 0011A924 98 1F 00 64 */ stb r0, 0x64(r31) -/* 8011D9C8 0011A928 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8011D9CC 0011A92C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8011D9D0 0011A930 7C 08 03 A6 */ mtlr r0 -/* 8011D9D4 0011A934 38 21 00 80 */ addi r1, r1, 0x80 -/* 8011D9D8 0011A938 4E 80 00 20 */ blr - -.global LoadSuitPoll__11CGrappleArmFv -LoadSuitPoll__11CGrappleArmFv: -/* 8011D9DC 0011A93C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8011D9E0 0011A940 7C 08 02 A6 */ mflr r0 -/* 8011D9E4 0011A944 90 01 00 84 */ stw r0, 0x84(r1) -/* 8011D9E8 0011A948 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8011D9EC 0011A94C 7C 7F 1B 78 */ mr r31, r3 -/* 8011D9F0 0011A950 80 03 03 A8 */ lwz r0, 0x3a8(r3) -/* 8011D9F4 0011A954 54 00 20 36 */ slwi r0, r0, 4 -/* 8011D9F8 0011A958 7C 7F 02 14 */ add r3, r31, r0 -/* 8011D9FC 0011A95C 38 63 01 A0 */ addi r3, r3, 0x1a0 -/* 8011DA00 0011A960 48 16 D8 2D */ bl "are_tokens_ready__12NWeaponTypesFRCQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -/* 8011DA04 0011A964 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011DA08 0011A968 41 82 00 B8 */ beq lbl_8011DAC0 -/* 8011DA0C 0011A96C 80 6D A1 48 */ lwz r3, gpTweakGunRes@sda21(r13) -/* 8011DA10 0011A970 38 A0 00 00 */ li r5, 0 -/* 8011DA14 0011A974 80 FF 03 A8 */ lwz r7, 0x3a8(r31) -/* 8011DA18 0011A978 38 00 00 29 */ li r0, 0x29 -/* 8011DA1C 0011A97C 80 C3 00 08 */ lwz r6, 8(r3) -/* 8011DA20 0011A980 38 61 00 24 */ addi r3, r1, 0x24 -/* 8011DA24 0011A984 38 81 00 08 */ addi r4, r1, 8 -/* 8011DA28 0011A988 90 C1 00 08 */ stw r6, 8(r1) -/* 8011DA2C 0011A98C 90 E1 00 0C */ stw r7, 0xc(r1) -/* 8011DA30 0011A990 C0 1F 03 1C */ lfs f0, 0x31c(r31) -/* 8011DA34 0011A994 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8011DA38 0011A998 C0 1F 03 20 */ lfs f0, 0x320(r31) -/* 8011DA3C 0011A99C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8011DA40 0011A9A0 C0 1F 03 24 */ lfs f0, 0x324(r31) -/* 8011DA44 0011A9A4 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8011DA48 0011A9A8 98 A1 00 1C */ stb r5, 0x1c(r1) -/* 8011DA4C 0011A9AC 90 01 00 20 */ stw r0, 0x20(r1) -/* 8011DA50 0011A9B0 4B FF 91 05 */ bl __ct__10CModelDataFRC8CAnimRes -/* 8011DA54 0011A9B4 7F E3 FB 78 */ mr r3, r31 -/* 8011DA58 0011A9B8 38 81 00 24 */ addi r4, r1, 0x24 -/* 8011DA5C 0011A9BC 4B FC 04 1D */ bl sub_800dde78 -/* 8011DA60 0011A9C0 38 61 00 24 */ addi r3, r1, 0x24 -/* 8011DA64 0011A9C4 38 80 FF FF */ li r4, -1 -/* 8011DA68 0011A9C8 4B FF 8F E5 */ bl __dt__10CModelDataFv -/* 8011DA6C 0011A9CC 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 8011DA70 0011A9D0 38 60 00 01 */ li r3, 1 -/* 8011DA74 0011A9D4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8011DA78 0011A9D8 3C 60 80 3D */ lis r3, lbl_803CF360@ha -/* 8011DA7C 0011A9DC 38 63 F3 60 */ addi r3, r3, lbl_803CF360@l -/* 8011DA80 0011A9E0 98 1F 00 14 */ stb r0, 0x14(r31) -/* 8011DA84 0011A9E4 38 83 00 C4 */ addi r4, r3, 0xc4 -/* 8011DA88 0011A9E8 38 60 00 5C */ li r3, 0x5c -/* 8011DA8C 0011A9EC 38 A0 00 00 */ li r5, 0 -/* 8011DA90 0011A9F0 48 1F 7D DD */ bl __nw__FUlPCcPCc -/* 8011DA94 0011A9F4 7C 64 1B 79 */ or. r4, r3, r3 -/* 8011DA98 0011A9F8 41 82 00 10 */ beq lbl_8011DAA8 -/* 8011DA9C 0011A9FC 7F E4 FB 78 */ mr r4, r31 -/* 8011DAA0 0011AA00 48 0A F1 95 */ bl __ct__14CGunControllerFR10CModelData -/* 8011DAA4 0011AA04 7C 64 1B 78 */ mr r4, r3 -lbl_8011DAA8: -/* 8011DAA8 0011AA08 38 7F 03 28 */ addi r3, r31, 0x328 -/* 8011DAAC 0011AA0C 48 00 00 29 */ bl "__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController" -/* 8011DAB0 0011AA10 88 1F 03 B2 */ lbz r0, 0x3b2(r31) -/* 8011DAB4 0011AA14 38 60 00 00 */ li r3, 0 -/* 8011DAB8 0011AA18 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8011DABC 0011AA1C 98 1F 03 B2 */ stb r0, 0x3b2(r31) -lbl_8011DAC0: -/* 8011DAC0 0011AA20 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8011DAC4 0011AA24 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8011DAC8 0011AA28 7C 08 03 A6 */ mtlr r0 -/* 8011DACC 0011AA2C 38 21 00 80 */ addi r1, r1, 0x80 -/* 8011DAD0 0011AA30 4E 80 00 20 */ blr - -.global "__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController" -"__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController": -/* 8011DAD4 0011AA34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011DAD8 0011AA38 7C 08 02 A6 */ mflr r0 -/* 8011DADC 0011AA3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011DAE0 0011AA40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011DAE4 0011AA44 7C 9F 23 78 */ mr r31, r4 -/* 8011DAE8 0011AA48 38 80 00 01 */ li r4, 1 -/* 8011DAEC 0011AA4C 93 C1 00 08 */ stw r30, 8(r1) -/* 8011DAF0 0011AA50 7C 7E 1B 78 */ mr r30, r3 -/* 8011DAF4 0011AA54 80 63 00 00 */ lwz r3, 0(r3) -/* 8011DAF8 0011AA58 48 00 00 25 */ bl __dt__14CGunControllerFv -/* 8011DAFC 0011AA5C 93 FE 00 00 */ stw r31, 0(r30) -/* 8011DB00 0011AA60 7F C3 F3 78 */ mr r3, r30 -/* 8011DB04 0011AA64 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011DB08 0011AA68 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011DB0C 0011AA6C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8011DB10 0011AA70 7C 08 03 A6 */ mtlr r0 -/* 8011DB14 0011AA74 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011DB18 0011AA78 4E 80 00 20 */ blr - -.global __dt__14CGunControllerFv -__dt__14CGunControllerFv: -/* 8011DB1C 0011AA7C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011DB20 0011AA80 7C 08 02 A6 */ mflr r0 -/* 8011DB24 0011AA84 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011DB28 0011AA88 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011DB2C 0011AA8C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8011DB30 0011AA90 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8011DB34 0011AA94 7C 9D 23 78 */ mr r29, r4 -/* 8011DB38 0011AA98 93 81 00 20 */ stw r28, 0x20(r1) -/* 8011DB3C 0011AA9C 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8011DB40 0011AAA0 41 82 00 70 */ beq lbl_8011DBB0 -/* 8011DB44 0011AAA4 34 1C 00 30 */ addic. r0, r28, 0x30 -/* 8011DB48 0011AAA8 41 82 00 58 */ beq lbl_8011DBA0 -/* 8011DB4C 0011AAAC 34 1C 00 30 */ addic. r0, r28, 0x30 -/* 8011DB50 0011AAB0 41 82 00 50 */ beq lbl_8011DBA0 -/* 8011DB54 0011AAB4 80 1C 00 34 */ lwz r0, 0x34(r28) -/* 8011DB58 0011AAB8 83 DC 00 3C */ lwz r30, 0x3c(r28) -/* 8011DB5C 0011AABC 54 00 18 38 */ slwi r0, r0, 3 -/* 8011DB60 0011AAC0 7F FE 02 14 */ add r31, r30, r0 -/* 8011DB64 0011AAC4 93 C1 00 0C */ stw r30, 0xc(r1) -/* 8011DB68 0011AAC8 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8011DB6C 0011AACC 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8011DB70 0011AAD0 93 C1 00 08 */ stw r30, 8(r1) -/* 8011DB74 0011AAD4 48 00 00 14 */ b lbl_8011DB88 -lbl_8011DB78: -/* 8011DB78 0011AAD8 7F C3 F3 78 */ mr r3, r30 -/* 8011DB7C 0011AADC 38 80 FF FF */ li r4, -1 -/* 8011DB80 0011AAE0 48 22 32 C1 */ bl __dt__6CTokenFv -/* 8011DB84 0011AAE4 3B DE 00 08 */ addi r30, r30, 8 -lbl_8011DB88: -/* 8011DB88 0011AAE8 7C 1E F8 40 */ cmplw r30, r31 -/* 8011DB8C 0011AAEC 40 82 FF EC */ bne lbl_8011DB78 -/* 8011DB90 0011AAF0 80 7C 00 3C */ lwz r3, 0x3c(r28) -/* 8011DB94 0011AAF4 28 03 00 00 */ cmplwi r3, 0 -/* 8011DB98 0011AAF8 41 82 00 08 */ beq lbl_8011DBA0 -/* 8011DB9C 0011AAFC 48 1F 7D 95 */ bl Free__7CMemoryFPCv -lbl_8011DBA0: -/* 8011DBA0 0011AB00 7F A0 07 35 */ extsh. r0, r29 -/* 8011DBA4 0011AB04 40 81 00 0C */ ble lbl_8011DBB0 -/* 8011DBA8 0011AB08 7F 83 E3 78 */ mr r3, r28 -/* 8011DBAC 0011AB0C 48 1F 7D 85 */ bl Free__7CMemoryFPCv -lbl_8011DBB0: -/* 8011DBB0 0011AB10 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011DBB4 0011AB14 7F 83 E3 78 */ mr r3, r28 -/* 8011DBB8 0011AB18 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011DBBC 0011AB1C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8011DBC0 0011AB20 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8011DBC4 0011AB24 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8011DBC8 0011AB28 7C 08 03 A6 */ mtlr r0 -/* 8011DBCC 0011AB2C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011DBD0 0011AB30 4E 80 00 20 */ blr - -.global AsyncLoadSuit__11CGrappleArmFR13CStateManager -AsyncLoadSuit__11CGrappleArmFR13CStateManager: -/* 8011DBD4 0011AB34 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8011DBD8 0011AB38 7C 08 02 A6 */ mflr r0 -/* 8011DBDC 0011AB3C 90 01 00 94 */ stw r0, 0x94(r1) -/* 8011DBE0 0011AB40 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8011DBE4 0011AB44 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8011DBE8 0011AB48 7C 7E 1B 78 */ mr r30, r3 -/* 8011DBEC 0011AB4C 7C 83 23 78 */ mr r3, r4 -/* 8011DBF0 0011AB50 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8011DBF4 0011AB54 93 81 00 80 */ stw r28, 0x80(r1) -/* 8011DBF8 0011AB58 48 16 CD D5 */ bl get_current_suit__12NWeaponTypesFRC13CStateManager -/* 8011DBFC 0011AB5C 80 1E 03 A8 */ lwz r0, 0x3a8(r30) -/* 8011DC00 0011AB60 7C 7F 1B 78 */ mr r31, r3 -/* 8011DC04 0011AB64 7C 1F 00 00 */ cmpw r31, r0 -/* 8011DC08 0011AB68 41 82 01 24 */ beq lbl_8011DD2C -/* 8011DC0C 0011AB6C 38 00 00 00 */ li r0, 0 -/* 8011DC10 0011AB70 7F C3 F3 78 */ mr r3, r30 -/* 8011DC14 0011AB74 98 01 00 74 */ stb r0, 0x74(r1) -/* 8011DC18 0011AB78 38 81 00 28 */ addi r4, r1, 0x28 -/* 8011DC1C 0011AB7C 48 00 01 31 */ bl sub_8011dd4c -/* 8011DC20 0011AB80 88 01 00 74 */ lbz r0, 0x74(r1) -/* 8011DC24 0011AB84 28 00 00 00 */ cmplwi r0, 0 -/* 8011DC28 0011AB88 41 82 00 10 */ beq lbl_8011DC38 -/* 8011DC2C 0011AB8C 38 61 00 28 */ addi r3, r1, 0x28 -/* 8011DC30 0011AB90 38 80 FF FF */ li r4, -1 -/* 8011DC34 0011AB94 4B FF 8E 19 */ bl __dt__10CModelDataFv -lbl_8011DC38: -/* 8011DC38 0011AB98 38 00 00 00 */ li r0, 0 -/* 8011DC3C 0011AB9C 38 7E 03 28 */ addi r3, r30, 0x328 -/* 8011DC40 0011ABA0 98 01 00 74 */ stb r0, 0x74(r1) -/* 8011DC44 0011ABA4 38 80 00 00 */ li r4, 0 -/* 8011DC48 0011ABA8 4B FF FE 8D */ bl "__as__Q24rstl28single_ptr<14CGunController>FRC14CGunController" -/* 8011DC4C 0011ABAC 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011DC50 0011ABB0 38 60 00 01 */ li r3, 1 -/* 8011DC54 0011ABB4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8011DC58 0011ABB8 98 1E 03 B2 */ stb r0, 0x3b2(r30) -/* 8011DC5C 0011ABBC 80 1E 03 A8 */ lwz r0, 0x3a8(r30) -/* 8011DC60 0011ABC0 2C 00 FF FF */ cmpwi r0, -1 -/* 8011DC64 0011ABC4 41 82 00 84 */ beq lbl_8011DCE8 -/* 8011DC68 0011ABC8 3B BE 01 A0 */ addi r29, r30, 0x1a0 -/* 8011DC6C 0011ABCC 54 00 20 36 */ slwi r0, r0, 4 -/* 8011DC70 0011ABD0 7C 7D 02 14 */ add r3, r29, r0 -/* 8011DC74 0011ABD4 48 16 D5 01 */ bl "unlock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -/* 8011DC78 0011ABD8 38 00 00 00 */ li r0, 0 -/* 8011DC7C 0011ABDC 38 81 00 18 */ addi r4, r1, 0x18 -/* 8011DC80 0011ABE0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8011DC84 0011ABE4 90 01 00 20 */ stw r0, 0x20(r1) -/* 8011DC88 0011ABE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011DC8C 0011ABEC 80 1E 03 A8 */ lwz r0, 0x3a8(r30) -/* 8011DC90 0011ABF0 54 00 20 36 */ slwi r0, r0, 4 -/* 8011DC94 0011ABF4 7C 7D 02 14 */ add r3, r29, r0 -/* 8011DC98 0011ABF8 4B EE 8B 6D */ bl sub_80006804 -/* 8011DC9C 0011ABFC 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8011DCA0 0011AC00 83 81 00 24 */ lwz r28, 0x24(r1) -/* 8011DCA4 0011AC04 54 00 18 38 */ slwi r0, r0, 3 -/* 8011DCA8 0011AC08 7F BC 02 14 */ add r29, r28, r0 -/* 8011DCAC 0011AC0C 93 81 00 0C */ stw r28, 0xc(r1) -/* 8011DCB0 0011AC10 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8011DCB4 0011AC14 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8011DCB8 0011AC18 93 81 00 08 */ stw r28, 8(r1) -/* 8011DCBC 0011AC1C 48 00 00 14 */ b lbl_8011DCD0 -lbl_8011DCC0: -/* 8011DCC0 0011AC20 7F 83 E3 78 */ mr r3, r28 -/* 8011DCC4 0011AC24 38 80 FF FF */ li r4, -1 -/* 8011DCC8 0011AC28 48 22 31 79 */ bl __dt__6CTokenFv -/* 8011DCCC 0011AC2C 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8011DCD0: -/* 8011DCD0 0011AC30 7C 1C E8 40 */ cmplw r28, r29 -/* 8011DCD4 0011AC34 40 82 FF EC */ bne lbl_8011DCC0 -/* 8011DCD8 0011AC38 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8011DCDC 0011AC3C 28 03 00 00 */ cmplwi r3, 0 -/* 8011DCE0 0011AC40 41 82 00 08 */ beq lbl_8011DCE8 -/* 8011DCE4 0011AC44 48 1F 7C 4D */ bl Free__7CMemoryFPCv -lbl_8011DCE8: -/* 8011DCE8 0011AC48 2C 1F 00 00 */ cmpwi r31, 0 -/* 8011DCEC 0011AC4C 41 80 00 0C */ blt lbl_8011DCF8 -/* 8011DCF0 0011AC50 2C 1F 00 07 */ cmpwi r31, 7 -/* 8011DCF4 0011AC54 40 81 00 10 */ ble lbl_8011DD04 -lbl_8011DCF8: -/* 8011DCF8 0011AC58 38 00 00 00 */ li r0, 0 -/* 8011DCFC 0011AC5C 90 1E 03 A8 */ stw r0, 0x3a8(r30) -/* 8011DD00 0011AC60 48 00 00 18 */ b lbl_8011DD18 -lbl_8011DD04: -/* 8011DD04 0011AC64 3C 60 80 3D */ lis r3, lbl_803CF340@ha -/* 8011DD08 0011AC68 57 E0 10 3A */ slwi r0, r31, 2 -/* 8011DD0C 0011AC6C 38 63 F3 40 */ addi r3, r3, lbl_803CF340@l -/* 8011DD10 0011AC70 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8011DD14 0011AC74 90 1E 03 A8 */ stw r0, 0x3a8(r30) -lbl_8011DD18: -/* 8011DD18 0011AC78 80 1E 03 A8 */ lwz r0, 0x3a8(r30) -/* 8011DD1C 0011AC7C 54 00 20 36 */ slwi r0, r0, 4 -/* 8011DD20 0011AC80 7C 7E 02 14 */ add r3, r30, r0 -/* 8011DD24 0011AC84 38 63 01 A0 */ addi r3, r3, 0x1a0 -/* 8011DD28 0011AC88 48 16 D4 A9 */ bl "lock_tokens__12NWeaponTypesFRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>" -lbl_8011DD2C: -/* 8011DD2C 0011AC8C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8011DD30 0011AC90 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8011DD34 0011AC94 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8011DD38 0011AC98 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8011DD3C 0011AC9C 83 81 00 80 */ lwz r28, 0x80(r1) -/* 8011DD40 0011ACA0 7C 08 03 A6 */ mtlr r0 -/* 8011DD44 0011ACA4 38 21 00 90 */ addi r1, r1, 0x90 -/* 8011DD48 0011ACA8 4E 80 00 20 */ blr - -.global sub_8011dd4c -sub_8011dd4c: -/* 8011DD4C 0011ACAC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011DD50 0011ACB0 7C 08 02 A6 */ mflr r0 -/* 8011DD54 0011ACB4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011DD58 0011ACB8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011DD5C 0011ACBC 7C 7F 1B 78 */ mr r31, r3 -/* 8011DD60 0011ACC0 7C 1F 20 40 */ cmplw r31, r4 -/* 8011DD64 0011ACC4 40 82 00 08 */ bne lbl_8011DD6C -/* 8011DD68 0011ACC8 48 00 00 38 */ b lbl_8011DDA0 -lbl_8011DD6C: -/* 8011DD6C 0011ACCC 88 04 00 4C */ lbz r0, 0x4c(r4) -/* 8011DD70 0011ACD0 28 00 00 00 */ cmplwi r0, 0 -/* 8011DD74 0011ACD4 41 82 00 0C */ beq lbl_8011DD80 -/* 8011DD78 0011ACD8 4B FC 01 31 */ bl "emplace__Q24rstl29optional_object<10CModelData>FRC10CModelData" -/* 8011DD7C 0011ACDC 48 00 00 20 */ b lbl_8011DD9C -lbl_8011DD80: -/* 8011DD80 0011ACE0 88 1F 00 4C */ lbz r0, 0x4c(r31) -/* 8011DD84 0011ACE4 28 00 00 00 */ cmplwi r0, 0 -/* 8011DD88 0011ACE8 41 82 00 0C */ beq lbl_8011DD94 -/* 8011DD8C 0011ACEC 38 80 FF FF */ li r4, -1 -/* 8011DD90 0011ACF0 4B FF 8C BD */ bl __dt__10CModelDataFv -lbl_8011DD94: -/* 8011DD94 0011ACF4 38 00 00 00 */ li r0, 0 -/* 8011DD98 0011ACF8 98 1F 00 4C */ stb r0, 0x4c(r31) -lbl_8011DD9C: -/* 8011DD9C 0011ACFC 7F E3 FB 78 */ mr r3, r31 -lbl_8011DDA0: -/* 8011DDA0 0011AD00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011DDA4 0011AD04 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011DDA8 0011AD08 7C 08 03 A6 */ mtlr r0 -/* 8011DDAC 0011AD0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011DDB0 0011AD10 4E 80 00 20 */ blr - -.global ResetAuxParams__11CGrappleArmFb -ResetAuxParams__11CGrappleArmFb: -/* 8011DDB4 0011AD14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011DDB8 0011AD18 7C 08 02 A6 */ mflr r0 -/* 8011DDBC 0011AD1C 38 E0 00 00 */ li r7, 0 -/* 8011DDC0 0011AD20 38 A0 00 0A */ li r5, 0xa -/* 8011DDC4 0011AD24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011DDC8 0011AD28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011DDCC 0011AD2C 7C 9F 23 78 */ mr r31, r4 -/* 8011DDD0 0011AD30 93 C1 00 08 */ stw r30, 8(r1) -/* 8011DDD4 0011AD34 7C 7E 1B 78 */ mr r30, r3 -/* 8011DDD8 0011AD38 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8011DDDC 0011AD3C 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011DDE0 0011AD40 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 8011DDE4 0011AD44 98 1E 03 B2 */ stb r0, 0x3b2(r30) -/* 8011DDE8 0011AD48 38 03 66 70 */ addi r0, r3, skIdentity4f@l -/* 8011DDEC 0011AD4C 38 7E 02 E0 */ addi r3, r30, 0x2e0 -/* 8011DDF0 0011AD50 88 DE 03 B2 */ lbz r6, 0x3b2(r30) -/* 8011DDF4 0011AD54 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b -/* 8011DDF8 0011AD58 7C 04 03 78 */ mr r4, r0 -/* 8011DDFC 0011AD5C 98 DE 03 B2 */ stb r6, 0x3b2(r30) -/* 8011DE00 0011AD60 90 BE 03 34 */ stw r5, 0x334(r30) -/* 8011DE04 0011AD64 48 1F 4D 3D */ bl __as__12CTransform4fFRC12CTransform4f -/* 8011DE08 0011AD68 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8011DE0C 0011AD6C 41 82 00 0C */ beq lbl_8011DE18 -/* 8011DE10 0011AD70 80 7E 03 28 */ lwz r3, 0x328(r30) -/* 8011DE14 0011AD74 48 0A E4 BD */ bl Reset__14CGunControllerFv -lbl_8011DE18: -/* 8011DE18 0011AD78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011DE1C 0011AD7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011DE20 0011AD80 83 C1 00 08 */ lwz r30, 8(r1) -/* 8011DE24 0011AD84 7C 08 03 A6 */ mtlr r0 -/* 8011DE28 0011AD88 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011DE2C 0011AD8C 4E 80 00 20 */ blr - -.global EnterStruck__11CGrappleArmFR13CStateManagerf -EnterStruck__11CGrappleArmFR13CStateManagerf: -/* 8011DE30 0011AD90 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011DE34 0011AD94 7C 08 02 A6 */ mflr r0 -/* 8011DE38 0011AD98 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011DE3C 0011AD9C DB E1 00 18 */ stfd f31, 0x18(r1) -/* 8011DE40 0011ADA0 FF E0 08 90 */ fmr f31, f1 -/* 8011DE44 0011ADA4 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8011DE48 0011ADA8 7C DF 33 78 */ mr r31, r6 -/* 8011DE4C 0011ADAC 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8011DE50 0011ADB0 7C BE 2B 78 */ mr r30, r5 -/* 8011DE54 0011ADB4 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8011DE58 0011ADB8 7C 9D 23 78 */ mr r29, r4 -/* 8011DE5C 0011ADBC 93 81 00 08 */ stw r28, 8(r1) -/* 8011DE60 0011ADC0 7C 7C 1B 78 */ mr r28, r3 -/* 8011DE64 0011ADC4 88 E3 03 B2 */ lbz r7, 0x3b2(r3) -/* 8011DE68 0011ADC8 54 E0 F7 FF */ rlwinm. r0, r7, 0x1e, 0x1f, 0x1f -/* 8011DE6C 0011ADCC 40 82 00 64 */ bne lbl_8011DED0 -/* 8011DE70 0011ADD0 54 E0 EF FF */ rlwinm. r0, r7, 0x1d, 0x1f, 0x1f -/* 8011DE74 0011ADD4 41 82 00 18 */ beq lbl_8011DE8C -/* 8011DE78 0011ADD8 4B FF F6 3D */ bl DisconnectGrappleBeam__11CGrappleArmFv -/* 8011DE7C 0011ADDC 88 1C 03 B2 */ lbz r0, 0x3b2(r28) -/* 8011DE80 0011ADE0 38 60 00 00 */ li r3, 0 -/* 8011DE84 0011ADE4 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8011DE88 0011ADE8 98 1C 03 B2 */ stb r0, 0x3b2(r28) -lbl_8011DE8C: -/* 8011DE8C 0011ADEC 88 7C 03 B2 */ lbz r3, 0x3b2(r28) -/* 8011DE90 0011ADF0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8011DE94 0011ADF4 40 82 00 24 */ bne lbl_8011DEB8 -/* 8011DE98 0011ADF8 38 80 00 01 */ li r4, 1 -/* 8011DE9C 0011ADFC 38 00 00 09 */ li r0, 9 -/* 8011DEA0 0011AE00 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 8011DEA4 0011AE04 98 7C 03 B2 */ stb r3, 0x3b2(r28) -/* 8011DEA8 0011AE08 88 7C 03 B2 */ lbz r3, 0x3b2(r28) -/* 8011DEAC 0011AE0C 50 83 26 F6 */ rlwimi r3, r4, 4, 0x1b, 0x1b -/* 8011DEB0 0011AE10 98 7C 03 B2 */ stb r3, 0x3b2(r28) -/* 8011DEB4 0011AE14 90 1C 03 34 */ stw r0, 0x334(r28) -lbl_8011DEB8: -/* 8011DEB8 0011AE18 FC 20 F8 90 */ fmr f1, f31 -/* 8011DEBC 0011AE1C 80 7C 03 28 */ lwz r3, 0x328(r28) -/* 8011DEC0 0011AE20 7F A4 EB 78 */ mr r4, r29 -/* 8011DEC4 0011AE24 7F C5 F3 78 */ mr r5, r30 -/* 8011DEC8 0011AE28 7F E6 FB 78 */ mr r6, r31 -/* 8011DECC 0011AE2C 48 0A E9 81 */ bl EnterStruck__14CGunControllerFR13CStateManagerf -lbl_8011DED0: -/* 8011DED0 0011AE30 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011DED4 0011AE34 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8011DED8 0011AE38 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8011DEDC 0011AE3C 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 8011DEE0 0011AE40 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 8011DEE4 0011AE44 83 81 00 08 */ lwz r28, 8(r1) -/* 8011DEE8 0011AE48 7C 08 03 A6 */ mtlr r0 -/* 8011DEEC 0011AE4C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011DEF0 0011AE50 4E 80 00 20 */ blr - -.global EnterIdle__11CGrappleArmFR13CStateManager -EnterIdle__11CGrappleArmFR13CStateManager: -/* 8011DEF4 0011AE54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011DEF8 0011AE58 7C 08 02 A6 */ mflr r0 -/* 8011DEFC 0011AE5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011DF00 0011AE60 88 03 03 B2 */ lbz r0, 0x3b2(r3) -/* 8011DF04 0011AE64 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8011DF08 0011AE68 40 82 00 0C */ bne lbl_8011DF14 -/* 8011DF0C 0011AE6C 80 63 03 28 */ lwz r3, 0x328(r3) -/* 8011DF10 0011AE70 48 0A E4 F5 */ bl EnterIdle__14CGunControllerFR13CStateManager -lbl_8011DF14: -/* 8011DF14 0011AE74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011DF18 0011AE78 7C 08 03 A6 */ mtlr r0 -/* 8011DF1C 0011AE7C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011DF20 0011AE80 4E 80 00 20 */ blr - -.global ReturnToDefault__11CGrappleArmFR13CStateManagerf -ReturnToDefault__11CGrappleArmFR13CStateManagerf: -/* 8011DF24 0011AE84 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011DF28 0011AE88 7C 08 02 A6 */ mflr r0 -/* 8011DF2C 0011AE8C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011DF30 0011AE90 88 03 03 B2 */ lbz r0, 0x3b2(r3) -/* 8011DF34 0011AE94 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8011DF38 0011AE98 40 82 00 0C */ bne lbl_8011DF44 -/* 8011DF3C 0011AE9C 80 63 03 28 */ lwz r3, 0x328(r3) -/* 8011DF40 0011AEA0 48 0A E3 B9 */ bl ReturnToDefault__14CGunControllerFR13CStateManagerf -lbl_8011DF44: -/* 8011DF44 0011AEA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011DF48 0011AEA8 7C 08 03 A6 */ mtlr r0 -/* 8011DF4C 0011AEAC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011DF50 0011AEB0 4E 80 00 20 */ blr - -.global EnterComboFire__11CGrappleArmFiR13CStateManager -EnterComboFire__11CGrappleArmFiR13CStateManager: -/* 8011DF54 0011AEB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011DF58 0011AEB8 7C 08 02 A6 */ mflr r0 -/* 8011DF5C 0011AEBC 7C 86 23 78 */ mr r6, r4 -/* 8011DF60 0011AEC0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011DF64 0011AEC4 88 83 03 B2 */ lbz r4, 0x3b2(r3) -/* 8011DF68 0011AEC8 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f -/* 8011DF6C 0011AECC 40 82 00 34 */ bne lbl_8011DFA0 -/* 8011DF70 0011AED0 38 E0 00 01 */ li r7, 1 -/* 8011DF74 0011AED4 38 00 00 09 */ li r0, 9 -/* 8011DF78 0011AED8 50 E4 3E 30 */ rlwimi r4, r7, 7, 0x18, 0x18 -/* 8011DF7C 0011AEDC 98 83 03 B2 */ stb r4, 0x3b2(r3) -/* 8011DF80 0011AEE0 7C A4 2B 78 */ mr r4, r5 -/* 8011DF84 0011AEE4 7C C5 33 78 */ mr r5, r6 -/* 8011DF88 0011AEE8 88 C3 03 B2 */ lbz r6, 0x3b2(r3) -/* 8011DF8C 0011AEEC 50 E6 26 F6 */ rlwimi r6, r7, 4, 0x1b, 0x1b -/* 8011DF90 0011AEF0 98 C3 03 B2 */ stb r6, 0x3b2(r3) -/* 8011DF94 0011AEF4 90 03 03 34 */ stw r0, 0x334(r3) -/* 8011DF98 0011AEF8 80 63 03 28 */ lwz r3, 0x328(r3) -/* 8011DF9C 0011AEFC 48 0A EB AD */ bl EnterComboFire__14CGunControllerFR13CStateManageri -lbl_8011DFA0: -/* 8011DFA0 0011AF00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011DFA4 0011AF04 7C 08 03 A6 */ mtlr r0 -/* 8011DFA8 0011AF08 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011DFAC 0011AF0C 4E 80 00 20 */ blr - -.global EnterFidget__11CGrappleArmFR13CStateManageriii -EnterFidget__11CGrappleArmFR13CStateManageriii: -/* 8011DFB0 0011AF10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011DFB4 0011AF14 7C 08 02 A6 */ mflr r0 -/* 8011DFB8 0011AF18 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011DFBC 0011AF1C 89 03 03 B2 */ lbz r8, 0x3b2(r3) -/* 8011DFC0 0011AF20 55 00 F7 FF */ rlwinm. r0, r8, 0x1e, 0x1f, 0x1f -/* 8011DFC4 0011AF24 40 82 00 2C */ bne lbl_8011DFF0 -/* 8011DFC8 0011AF28 39 20 00 01 */ li r9, 1 -/* 8011DFCC 0011AF2C 38 00 00 09 */ li r0, 9 -/* 8011DFD0 0011AF30 51 28 3E 30 */ rlwimi r8, r9, 7, 0x18, 0x18 -/* 8011DFD4 0011AF34 99 03 03 B2 */ stb r8, 0x3b2(r3) -/* 8011DFD8 0011AF38 89 03 03 B2 */ lbz r8, 0x3b2(r3) -/* 8011DFDC 0011AF3C 51 28 26 F6 */ rlwimi r8, r9, 4, 0x1b, 0x1b -/* 8011DFE0 0011AF40 99 03 03 B2 */ stb r8, 0x3b2(r3) -/* 8011DFE4 0011AF44 90 03 03 34 */ stw r0, 0x334(r3) -/* 8011DFE8 0011AF48 80 63 03 28 */ lwz r3, 0x328(r3) -/* 8011DFEC 0011AF4C 48 0A EB 15 */ bl EnterFidget__14CGunControllerFR13CStateManageriii -lbl_8011DFF0: -/* 8011DFF0 0011AF50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011DFF4 0011AF54 7C 08 03 A6 */ mtlr r0 -/* 8011DFF8 0011AF58 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011DFFC 0011AF5C 4E 80 00 20 */ blr - -.global EnterFreeLook__11CGrappleArmFiiR13CStateManager -EnterFreeLook__11CGrappleArmFiiR13CStateManager: -/* 8011E000 0011AF60 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011E004 0011AF64 7C 08 02 A6 */ mflr r0 -/* 8011E008 0011AF68 7C 89 23 78 */ mr r9, r4 -/* 8011E00C 0011AF6C 7C A7 2B 78 */ mr r7, r5 -/* 8011E010 0011AF70 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011E014 0011AF74 88 83 03 B2 */ lbz r4, 0x3b2(r3) -/* 8011E018 0011AF78 54 80 F7 FF */ rlwinm. r0, r4, 0x1e, 0x1f, 0x1f -/* 8011E01C 0011AF7C 40 82 00 38 */ bne lbl_8011E054 -/* 8011E020 0011AF80 39 00 00 01 */ li r8, 1 -/* 8011E024 0011AF84 38 00 00 09 */ li r0, 9 -/* 8011E028 0011AF88 51 04 3E 30 */ rlwimi r4, r8, 7, 0x18, 0x18 -/* 8011E02C 0011AF8C 7D 25 4B 78 */ mr r5, r9 -/* 8011E030 0011AF90 98 83 03 B2 */ stb r4, 0x3b2(r3) -/* 8011E034 0011AF94 7C C4 33 78 */ mr r4, r6 -/* 8011E038 0011AF98 7C E6 3B 78 */ mr r6, r7 -/* 8011E03C 0011AF9C 88 E3 03 B2 */ lbz r7, 0x3b2(r3) -/* 8011E040 0011AFA0 51 07 26 F6 */ rlwimi r7, r8, 4, 0x1b, 0x1b -/* 8011E044 0011AFA4 98 E3 03 B2 */ stb r7, 0x3b2(r3) -/* 8011E048 0011AFA8 90 03 03 34 */ stw r0, 0x334(r3) -/* 8011E04C 0011AFAC 80 63 03 28 */ lwz r3, 0x328(r3) -/* 8011E050 0011AFB0 48 0A EB 71 */ bl EnterFreeLook__14CGunControllerFR13CStateManagerii -lbl_8011E054: -/* 8011E054 0011AFB4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011E058 0011AFB8 7C 08 03 A6 */ mtlr r0 -/* 8011E05C 0011AFBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011E060 0011AFC0 4E 80 00 20 */ blr - -.global LoadAnimations__11CGrappleArmFv -LoadAnimations__11CGrappleArmFv: -/* 8011E064 0011AFC4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8011E068 0011AFC8 7C 08 02 A6 */ mflr r0 -/* 8011E06C 0011AFCC 38 80 00 00 */ li r4, 0 -/* 8011E070 0011AFD0 38 A0 00 2A */ li r5, 0x2a -/* 8011E074 0011AFD4 90 01 00 64 */ stw r0, 0x64(r1) -/* 8011E078 0011AFD8 38 E0 00 01 */ li r7, 1 -/* 8011E07C 0011AFDC 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 8011E080 0011AFE0 7C 7F 1B 78 */ mr r31, r3 -/* 8011E084 0011AFE4 38 DF 01 8C */ addi r6, r31, 0x18c -/* 8011E088 0011AFE8 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8011E08C 0011AFEC 48 16 D1 E1 */ bl "get_token_vector__12NWeaponTypesFR9CAnimDataiiRQ24rstl42vector<6CToken,Q24rstl17rmemory_allocator>b" -/* 8011E090 0011AFF0 38 00 00 00 */ li r0, 0 -/* 8011E094 0011AFF4 7F E3 FB 78 */ mr r3, r31 -/* 8011E098 0011AFF8 98 01 00 54 */ stb r0, 0x54(r1) -/* 8011E09C 0011AFFC 38 81 00 08 */ addi r4, r1, 8 -/* 8011E0A0 0011B000 4B FF FC AD */ bl sub_8011dd4c -/* 8011E0A4 0011B004 88 01 00 54 */ lbz r0, 0x54(r1) -/* 8011E0A8 0011B008 28 00 00 00 */ cmplwi r0, 0 -/* 8011E0AC 0011B00C 41 82 00 10 */ beq lbl_8011E0BC -/* 8011E0B0 0011B010 38 61 00 08 */ addi r3, r1, 8 -/* 8011E0B4 0011B014 38 80 FF FF */ li r4, -1 -/* 8011E0B8 0011B018 4B FF 89 95 */ bl __dt__10CModelDataFv -lbl_8011E0BC: -/* 8011E0BC 0011B01C 38 00 00 00 */ li r0, 0 -/* 8011E0C0 0011B020 98 01 00 54 */ stb r0, 0x54(r1) -/* 8011E0C4 0011B024 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8011E0C8 0011B028 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8011E0CC 0011B02C 7C 08 03 A6 */ mtlr r0 -/* 8011E0D0 0011B030 38 21 00 60 */ addi r1, r1, 0x60 -/* 8011E0D4 0011B034 4E 80 00 20 */ blr - -.global GrappleBeamDisconnected__11CGrappleArmFv -GrappleBeamDisconnected__11CGrappleArmFv: -/* 8011E0D8 0011B038 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011E0DC 0011B03C 7C 08 02 A6 */ mflr r0 -/* 8011E0E0 0011B040 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011E0E4 0011B044 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011E0E8 0011B048 7C 7F 1B 78 */ mr r31, r3 -/* 8011E0EC 0011B04C 80 03 03 2C */ lwz r0, 0x32c(r3) -/* 8011E0F0 0011B050 28 00 00 00 */ cmplwi r0, 0 -/* 8011E0F4 0011B054 41 82 00 1C */ beq lbl_8011E110 -/* 8011E0F8 0011B058 80 1F 03 2C */ lwz r0, 0x32c(r31) -/* 8011E0FC 0011B05C 38 61 00 08 */ addi r3, r1, 8 -/* 8011E100 0011B060 90 01 00 08 */ stw r0, 8(r1) -/* 8011E104 0011B064 48 1C BC 45 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle -/* 8011E108 0011B068 38 00 00 00 */ li r0, 0 -/* 8011E10C 0011B06C 90 1F 03 2C */ stw r0, 0x32c(r31) -lbl_8011E110: -/* 8011E110 0011B070 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011E114 0011B074 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011E118 0011B078 7C 08 03 A6 */ mtlr r0 -/* 8011E11C 0011B07C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011E120 0011B080 4E 80 00 20 */ blr - -.global GrappleBeamConnected__11CGrappleArmFv -GrappleBeamConnected__11CGrappleArmFv: -/* 8011E124 0011B084 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011E128 0011B088 7C 08 02 A6 */ mflr r0 -/* 8011E12C 0011B08C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011E130 0011B090 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8011E134 0011B094 7C 7F 1B 78 */ mr r31, r3 -/* 8011E138 0011B098 80 03 03 2C */ lwz r0, 0x32c(r3) -/* 8011E13C 0011B09C 28 00 00 00 */ cmplwi r0, 0 -/* 8011E140 0011B0A0 40 82 00 24 */ bne lbl_8011E164 -/* 8011E144 0011B0A4 38 61 00 08 */ addi r3, r1, 8 -/* 8011E148 0011B0A8 38 80 05 F7 */ li r4, 0x5f7 -/* 8011E14C 0011B0AC 38 A0 00 00 */ li r5, 0 -/* 8011E150 0011B0B0 38 C0 00 01 */ li r6, 1 -/* 8011E154 0011B0B4 38 E0 00 36 */ li r7, 0x36 -/* 8011E158 0011B0B8 48 16 C9 A1 */ bl play_sfx__12NWeaponTypesFUsbbs -/* 8011E15C 0011B0BC 80 01 00 08 */ lwz r0, 8(r1) -/* 8011E160 0011B0C0 90 1F 03 2C */ stw r0, 0x32c(r31) -lbl_8011E164: -/* 8011E164 0011B0C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011E168 0011B0C8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8011E16C 0011B0CC 7C 08 03 A6 */ mtlr r0 -/* 8011E170 0011B0D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011E174 0011B0D4 4E 80 00 20 */ blr - -.global DoUserAnimEvent__11CGrappleArmFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__11CGrappleArmFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 8011E178 0011B0D8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011E17C 0011B0DC 7C 08 02 A6 */ mflr r0 -/* 8011E180 0011B0E0 2C 06 00 06 */ cmpwi r6, 6 -/* 8011E184 0011B0E4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011E188 0011B0E8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011E18C 0011B0EC 7C 9F 23 78 */ mr r31, r4 -/* 8011E190 0011B0F0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8011E194 0011B0F4 7C 7E 1B 78 */ mr r30, r3 -/* 8011E198 0011B0F8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8011E19C 0011B0FC 93 81 00 20 */ stw r28, 0x20(r1) -/* 8011E1A0 0011B100 41 82 01 C0 */ beq lbl_8011E360 -/* 8011E1A4 0011B104 40 80 00 10 */ bge lbl_8011E1B4 -/* 8011E1A8 0011B108 2C 06 00 00 */ cmpwi r6, 0 -/* 8011E1AC 0011B10C 41 82 00 14 */ beq lbl_8011E1C0 -/* 8011E1B0 0011B110 48 00 01 B0 */ b lbl_8011E360 -lbl_8011E1B4: -/* 8011E1B4 0011B114 2C 06 00 08 */ cmpwi r6, 8 -/* 8011E1B8 0011B118 41 82 01 A8 */ beq lbl_8011E360 -/* 8011E1BC 0011B11C 48 00 01 A4 */ b lbl_8011E360 -lbl_8011E1C0: -/* 8011E1C0 0011B120 88 9E 03 B2 */ lbz r4, 0x3b2(r30) -/* 8011E1C4 0011B124 54 80 E7 FF */ rlwinm. r0, r4, 0x1c, 0x1f, 0x1f -/* 8011E1C8 0011B128 40 82 01 98 */ bne lbl_8011E360 -/* 8011E1CC 0011B12C 38 00 00 01 */ li r0, 1 -/* 8011E1D0 0011B130 3C 60 80 3D */ lis r3, lbl_803CF360@ha -/* 8011E1D4 0011B134 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 8011E1D8 0011B138 3B 80 00 00 */ li r28, 0 -/* 8011E1DC 0011B13C 38 63 F3 60 */ addi r3, r3, lbl_803CF360@l -/* 8011E1E0 0011B140 98 9E 03 B2 */ stb r4, 0x3b2(r30) -/* 8011E1E4 0011B144 38 83 00 C4 */ addi r4, r3, 0xc4 -/* 8011E1E8 0011B148 38 A0 00 00 */ li r5, 0 -/* 8011E1EC 0011B14C 38 60 03 40 */ li r3, 0x340 -/* 8011E1F0 0011B150 48 1F 76 7D */ bl __nw__FUlPCcPCc -/* 8011E1F4 0011B154 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8011E1F8 0011B158 41 82 00 2C */ beq lbl_8011E224 -/* 8011E1FC 0011B15C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011E200 0011B160 38 9E 03 6C */ addi r4, r30, 0x36c -/* 8011E204 0011B164 48 22 2C A5 */ bl __ct__6CTokenFRC6CToken -/* 8011E208 0011B168 7F A3 EB 78 */ mr r3, r29 -/* 8011E20C 0011B16C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8011E210 0011B170 3B 80 00 01 */ li r28, 1 -/* 8011E214 0011B174 38 A0 00 00 */ li r5, 0 -/* 8011E218 0011B178 38 C0 00 01 */ li r6, 1 -/* 8011E21C 0011B17C 48 20 11 C5 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8011E220 0011B180 7C 7D 1B 78 */ mr r29, r3 -lbl_8011E224: -/* 8011E224 0011B184 80 7E 03 98 */ lwz r3, 0x398(r30) -/* 8011E228 0011B188 28 03 00 00 */ cmplwi r3, 0 -/* 8011E22C 0011B18C 41 82 00 18 */ beq lbl_8011E244 -/* 8011E230 0011B190 81 83 00 00 */ lwz r12, 0(r3) -/* 8011E234 0011B194 38 80 00 01 */ li r4, 1 -/* 8011E238 0011B198 81 8C 00 08 */ lwz r12, 8(r12) -/* 8011E23C 0011B19C 7D 89 03 A6 */ mtctr r12 -/* 8011E240 0011B1A0 4E 80 04 21 */ bctrl -lbl_8011E244: -/* 8011E244 0011B1A4 7F 80 07 75 */ extsb. r0, r28 -/* 8011E248 0011B1A8 93 BE 03 98 */ stw r29, 0x398(r30) -/* 8011E24C 0011B1AC 41 82 00 10 */ beq lbl_8011E25C -/* 8011E250 0011B1B0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8011E254 0011B1B4 38 80 00 00 */ li r4, 0 -/* 8011E258 0011B1B8 48 22 2B E9 */ bl __dt__6CTokenFv -lbl_8011E25C: -/* 8011E25C 0011B1BC 3C 60 80 3D */ lis r3, lbl_803CF360@ha -/* 8011E260 0011B1C0 3B 80 00 00 */ li r28, 0 -/* 8011E264 0011B1C4 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l -/* 8011E268 0011B1C8 38 60 03 40 */ li r3, 0x340 -/* 8011E26C 0011B1CC 38 84 00 C4 */ addi r4, r4, 0xc4 -/* 8011E270 0011B1D0 38 A0 00 00 */ li r5, 0 -/* 8011E274 0011B1D4 48 1F 75 F9 */ bl __nw__FUlPCcPCc -/* 8011E278 0011B1D8 7C 7D 1B 79 */ or. r29, r3, r3 -/* 8011E27C 0011B1DC 41 82 00 2C */ beq lbl_8011E2A8 -/* 8011E280 0011B1E0 38 61 00 0C */ addi r3, r1, 0xc -/* 8011E284 0011B1E4 38 9E 03 78 */ addi r4, r30, 0x378 -/* 8011E288 0011B1E8 48 22 2C 21 */ bl __ct__6CTokenFRC6CToken -/* 8011E28C 0011B1EC 7F A3 EB 78 */ mr r3, r29 -/* 8011E290 0011B1F0 38 81 00 0C */ addi r4, r1, 0xc -/* 8011E294 0011B1F4 3B 80 00 01 */ li r28, 1 -/* 8011E298 0011B1F8 38 A0 00 00 */ li r5, 0 -/* 8011E29C 0011B1FC 38 C0 00 01 */ li r6, 1 -/* 8011E2A0 0011B200 48 20 11 41 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8011E2A4 0011B204 7C 7D 1B 78 */ mr r29, r3 -lbl_8011E2A8: -/* 8011E2A8 0011B208 80 7E 03 9C */ lwz r3, 0x39c(r30) -/* 8011E2AC 0011B20C 28 03 00 00 */ cmplwi r3, 0 -/* 8011E2B0 0011B210 41 82 00 18 */ beq lbl_8011E2C8 -/* 8011E2B4 0011B214 81 83 00 00 */ lwz r12, 0(r3) -/* 8011E2B8 0011B218 38 80 00 01 */ li r4, 1 -/* 8011E2BC 0011B21C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8011E2C0 0011B220 7D 89 03 A6 */ mtctr r12 -/* 8011E2C4 0011B224 4E 80 04 21 */ bctrl -lbl_8011E2C8: -/* 8011E2C8 0011B228 7F 80 07 75 */ extsb. r0, r28 -/* 8011E2CC 0011B22C 93 BE 03 9C */ stw r29, 0x39c(r30) -/* 8011E2D0 0011B230 41 82 00 10 */ beq lbl_8011E2E0 -/* 8011E2D4 0011B234 38 61 00 0C */ addi r3, r1, 0xc -/* 8011E2D8 0011B238 38 80 00 00 */ li r4, 0 -/* 8011E2DC 0011B23C 48 22 2B 65 */ bl __dt__6CTokenFv -lbl_8011E2E0: -/* 8011E2E0 0011B240 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) -/* 8011E2E4 0011B244 38 80 00 00 */ li r4, 0 -/* 8011E2E8 0011B248 D0 1E 03 38 */ stfs f0, 0x338(r30) -/* 8011E2EC 0011B24C D0 1E 03 3C */ stfs f0, 0x33c(r30) -/* 8011E2F0 0011B250 D0 1E 03 40 */ stfs f0, 0x340(r30) -/* 8011E2F4 0011B254 C0 0D 8A 7C */ lfs f0, lbl_805A763C@sda21(r13) -/* 8011E2F8 0011B258 D0 1E 03 44 */ stfs f0, 0x344(r30) -/* 8011E2FC 0011B25C C0 0D 8A 80 */ lfs f0, lbl_805A7640@sda21(r13) -/* 8011E300 0011B260 D0 1E 03 48 */ stfs f0, 0x348(r30) -/* 8011E304 0011B264 80 7E 03 98 */ lwz r3, 0x398(r30) -/* 8011E308 0011B268 81 83 00 00 */ lwz r12, 0(r3) -/* 8011E30C 0011B26C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8011E310 0011B270 7D 89 03 A6 */ mtctr r12 -/* 8011E314 0011B274 4E 80 04 21 */ bctrl -/* 8011E318 0011B278 80 7E 03 94 */ lwz r3, 0x394(r30) -/* 8011E31C 0011B27C 38 80 00 01 */ li r4, 1 -/* 8011E320 0011B280 81 83 00 00 */ lwz r12, 0(r3) -/* 8011E324 0011B284 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8011E328 0011B288 7D 89 03 A6 */ mtctr r12 -/* 8011E32C 0011B28C 4E 80 04 21 */ bctrl -/* 8011E330 0011B290 38 61 00 08 */ addi r3, r1, 8 -/* 8011E334 0011B294 38 80 05 F6 */ li r4, 0x5f6 -/* 8011E338 0011B298 38 A0 00 00 */ li r5, 0 -/* 8011E33C 0011B29C 38 C0 00 00 */ li r6, 0 -/* 8011E340 0011B2A0 38 E0 00 36 */ li r7, 0x36 -/* 8011E344 0011B2A4 48 16 C7 B5 */ bl play_sfx__12NWeaponTypesFUsbbs -/* 8011E348 0011B2A8 80 7F 08 8C */ lwz r3, 0x88c(r31) -/* 8011E34C 0011B2AC 7F E4 FB 78 */ mr r4, r31 -/* 8011E350 0011B2B0 C0 22 97 68 */ lfs f1, lbl_805AB488@sda21(r2) -/* 8011E354 0011B2B4 38 A0 00 0E */ li r5, 0xe -/* 8011E358 0011B2B8 38 C0 00 03 */ li r6, 3 -/* 8011E35C 0011B2BC 48 10 FE E9 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority -lbl_8011E360: -/* 8011E360 0011B2C0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011E364 0011B2C4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011E368 0011B2C8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8011E36C 0011B2CC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8011E370 0011B2D0 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8011E374 0011B2D4 7C 08 03 A6 */ mtlr r0 -/* 8011E378 0011B2D8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011E37C 0011B2DC 4E 80 00 20 */ blr - -.global DoUserAnimEvents__11CGrappleArmFR13CStateManager -DoUserAnimEvents__11CGrappleArmFR13CStateManager: -/* 8011E380 0011B2E0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8011E384 0011B2E4 7C 08 02 A6 */ mflr r0 -/* 8011E388 0011B2E8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8011E38C 0011B2EC BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8011E390 0011B2F0 7C 7E 1B 78 */ mr r30, r3 -/* 8011E394 0011B2F4 7C 9F 23 78 */ mr r31, r4 -/* 8011E398 0011B2F8 80 A4 08 4C */ lwz r5, 0x84c(r4) -/* 8011E39C 0011B2FC 80 64 08 70 */ lwz r3, 0x870(r4) -/* 8011E3A0 0011B300 83 A5 00 04 */ lwz r29, 4(r5) -/* 8011E3A4 0011B304 4B EE D7 75 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 8011E3A8 0011B308 C0 BE 02 4C */ lfs f5, 0x24c(r30) -/* 8011E3AC 0011B30C 3C 80 80 57 */ lis r4, lbl_8056C9EC@ha -/* 8011E3B0 0011B310 C0 9E 02 3C */ lfs f4, 0x23c(r30) -/* 8011E3B4 0011B314 38 84 C9 EC */ addi r4, r4, lbl_8056C9EC@l -/* 8011E3B8 0011B318 C0 7E 02 2C */ lfs f3, 0x22c(r30) -/* 8011E3BC 0011B31C 3B 84 00 04 */ addi r28, r4, 4 -/* 8011E3C0 0011B320 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8011E3C4 0011B324 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 8011E3C8 0011B328 D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 8011E3CC 0011B32C C0 43 00 50 */ lfs f2, 0x50(r3) -/* 8011E3D0 0011B330 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 8011E3D4 0011B334 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8011E3D8 0011B338 EC 42 20 28 */ fsubs f2, f2, f4 -/* 8011E3DC 0011B33C EC 21 28 28 */ fsubs f1, f1, f5 -/* 8011E3E0 0011B340 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8011E3E4 0011B344 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8011E3E8 0011B348 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8011E3EC 0011B34C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8011E3F0 0011B350 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8011E3F4 0011B354 83 63 02 18 */ lwz r27, 0x218(r3) -/* 8011E3F8 0011B358 2C 1B 00 00 */ cmpwi r27, 0 -/* 8011E3FC 0011B35C 40 81 00 84 */ ble lbl_8011E480 -/* 8011E400 0011B360 3B 40 00 00 */ li r26, 0 -/* 8011E404 0011B364 48 00 00 74 */ b lbl_8011E478 -lbl_8011E408: -/* 8011E408 0011B368 A0 1C 00 18 */ lhz r0, 0x18(r28) -/* 8011E40C 0011B36C 80 9C 00 30 */ lwz r4, 0x30(r28) -/* 8011E410 0011B370 2C 00 00 08 */ cmpwi r0, 8 -/* 8011E414 0011B374 40 82 00 5C */ bne lbl_8011E470 -/* 8011E418 0011B378 2C 04 FF FF */ cmpwi r4, -1 -/* 8011E41C 0011B37C 41 82 00 14 */ beq lbl_8011E430 -/* 8011E420 0011B380 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8011E424 0011B384 80 03 02 04 */ lwz r0, 0x204(r3) -/* 8011E428 0011B388 7C 04 00 00 */ cmpw r4, r0 -/* 8011E42C 0011B38C 40 82 00 44 */ bne lbl_8011E470 -lbl_8011E430: -/* 8011E430 0011B390 38 01 00 24 */ addi r0, r1, 0x24 -/* 8011E434 0011B394 89 22 CC 40 */ lbz r9, lbl_805AE960@sda21(r2) -/* 8011E438 0011B398 90 01 00 08 */ stw r0, 8(r1) -/* 8011E43C 0011B39C 38 7E 03 4C */ addi r3, r30, 0x34c -/* 8011E440 0011B3A0 38 9E 03 AC */ addi r4, r30, 0x3ac -/* 8011E444 0011B3A4 39 41 00 18 */ addi r10, r1, 0x18 -/* 8011E448 0011B3A8 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8011E44C 0011B3AC 38 A0 00 00 */ li r5, 0 -/* 8011E450 0011B3B0 39 00 00 14 */ li r8, 0x14 -/* 8011E454 0011B3B4 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8011E458 0011B3B8 80 DC 00 38 */ lwz r6, 0x38(r28) -/* 8011E45C 0011B3BC C0 3C 00 2C */ lfs f1, 0x2c(r28) -/* 8011E460 0011B3C0 80 FC 00 34 */ lwz r7, 0x34(r28) -/* 8011E464 0011B3C4 C0 5C 00 3C */ lfs f2, 0x3c(r28) -/* 8011E468 0011B3C8 C0 7C 00 40 */ lfs f3, 0x40(r28) -/* 8011E46C 0011B3CC 48 16 C7 1D */ bl "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" -lbl_8011E470: -/* 8011E470 0011B3D0 3B 9C 00 44 */ addi r28, r28, 0x44 -/* 8011E474 0011B3D4 3B 5A 00 01 */ addi r26, r26, 1 -lbl_8011E478: -/* 8011E478 0011B3D8 7C 1A D8 00 */ cmpw r26, r27 -/* 8011E47C 0011B3DC 41 80 FF 8C */ blt lbl_8011E408 -lbl_8011E480: -/* 8011E480 0011B3E0 80 9E 00 10 */ lwz r4, 0x10(r30) -/* 8011E484 0011B3E4 3C 60 80 57 */ lis r3, lbl_8056BDF4@ha -/* 8011E488 0011B3E8 38 63 BD F4 */ addi r3, r3, lbl_8056BDF4@l -/* 8011E48C 0011B3EC 83 44 02 10 */ lwz r26, 0x210(r4) -/* 8011E490 0011B3F0 3B 83 00 04 */ addi r28, r3, 4 -/* 8011E494 0011B3F4 2C 1A 00 00 */ cmpwi r26, 0 -/* 8011E498 0011B3F8 40 81 00 B4 */ ble lbl_8011E54C -/* 8011E49C 0011B3FC 3B 60 00 00 */ li r27, 0 -/* 8011E4A0 0011B400 48 00 00 A4 */ b lbl_8011E544 -lbl_8011E4A4: -/* 8011E4A4 0011B404 A0 1C 00 18 */ lhz r0, 0x18(r28) -/* 8011E4A8 0011B408 2C 00 00 05 */ cmpwi r0, 5 -/* 8011E4AC 0011B40C 41 82 00 90 */ beq lbl_8011E53C -/* 8011E4B0 0011B410 40 80 00 10 */ bge lbl_8011E4C0 -/* 8011E4B4 0011B414 2C 00 00 04 */ cmpwi r0, 4 -/* 8011E4B8 0011B418 40 80 00 28 */ bge lbl_8011E4E0 -/* 8011E4BC 0011B41C 48 00 00 80 */ b lbl_8011E53C -lbl_8011E4C0: -/* 8011E4C0 0011B420 2C 00 00 07 */ cmpwi r0, 7 -/* 8011E4C4 0011B424 40 80 00 78 */ bge lbl_8011E53C -/* 8011E4C8 0011B428 80 DC 00 38 */ lwz r6, 0x38(r28) -/* 8011E4CC 0011B42C 7F C3 F3 78 */ mr r3, r30 -/* 8011E4D0 0011B430 7F E4 FB 78 */ mr r4, r31 -/* 8011E4D4 0011B434 7F 85 E3 78 */ mr r5, r28 -/* 8011E4D8 0011B438 4B FF FC A1 */ bl DoUserAnimEvent__11CGrappleArmFR13CStateManagerRC13CInt32POINode14EUserEventType -/* 8011E4DC 0011B43C 48 00 00 60 */ b lbl_8011E53C -lbl_8011E4E0: -/* 8011E4E0 0011B440 80 9C 00 30 */ lwz r4, 0x30(r28) -/* 8011E4E4 0011B444 2C 04 FF FF */ cmpwi r4, -1 -/* 8011E4E8 0011B448 41 82 00 14 */ beq lbl_8011E4FC -/* 8011E4EC 0011B44C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8011E4F0 0011B450 80 03 02 04 */ lwz r0, 0x204(r3) -/* 8011E4F4 0011B454 7C 04 00 00 */ cmpw r4, r0 -/* 8011E4F8 0011B458 40 82 00 44 */ bne lbl_8011E53C -lbl_8011E4FC: -/* 8011E4FC 0011B45C 38 01 00 24 */ addi r0, r1, 0x24 -/* 8011E500 0011B460 C0 42 97 6C */ lfs f2, lbl_805AB48C@sda21(r2) -/* 8011E504 0011B464 90 01 00 08 */ stw r0, 8(r1) -/* 8011E508 0011B468 38 7E 03 4C */ addi r3, r30, 0x34c -/* 8011E50C 0011B46C C0 62 97 70 */ lfs f3, lbl_805AB490@sda21(r2) -/* 8011E510 0011B470 38 9E 03 AC */ addi r4, r30, 0x3ac -/* 8011E514 0011B474 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8011E518 0011B478 39 41 00 18 */ addi r10, r1, 0x18 -/* 8011E51C 0011B47C 89 22 CC 40 */ lbz r9, lbl_805AE960@sda21(r2) -/* 8011E520 0011B480 38 A0 00 00 */ li r5, 0 -/* 8011E524 0011B484 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8011E528 0011B488 39 00 00 14 */ li r8, 0x14 -/* 8011E52C 0011B48C 80 DC 00 38 */ lwz r6, 0x38(r28) -/* 8011E530 0011B490 C0 3C 00 2C */ lfs f1, 0x2c(r28) -/* 8011E534 0011B494 80 FC 00 34 */ lwz r7, 0x34(r28) -/* 8011E538 0011B498 48 16 C6 51 */ bl "do_sound_event__12NWeaponTypesFRQ24rstl21pairRibUifUiffUcRC9CVector3fRC9CVector3f7TAreaId" -lbl_8011E53C: -/* 8011E53C 0011B49C 3B 9C 00 4C */ addi r28, r28, 0x4c -/* 8011E540 0011B4A0 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8011E544: -/* 8011E544 0011B4A4 7C 1B D0 00 */ cmpw r27, r26 -/* 8011E548 0011B4A8 41 80 FF 5C */ blt lbl_8011E4A4 -lbl_8011E54C: -/* 8011E54C 0011B4AC BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8011E550 0011B4B0 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8011E554 0011B4B4 7C 08 03 A6 */ mtlr r0 -/* 8011E558 0011B4B8 38 21 00 50 */ addi r1, r1, 0x50 -/* 8011E55C 0011B4BC 4E 80 00 20 */ blr - -.global SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState -SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState: -/* 8011E560 0011B4C0 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8011E564 0011B4C4 7C 08 02 A6 */ mflr r0 -/* 8011E568 0011B4C8 90 01 01 14 */ stw r0, 0x114(r1) -/* 8011E56C 0011B4CC 93 E1 01 0C */ stw r31, 0x10c(r1) -/* 8011E570 0011B4D0 93 C1 01 08 */ stw r30, 0x108(r1) -/* 8011E574 0011B4D4 7C 9E 23 78 */ mr r30, r4 -/* 8011E578 0011B4D8 93 A1 01 04 */ stw r29, 0x104(r1) -/* 8011E57C 0011B4DC 7C 7D 1B 78 */ mr r29, r3 -/* 8011E580 0011B4E0 80 03 03 34 */ lwz r0, 0x334(r3) -/* 8011E584 0011B4E4 7C 00 F0 00 */ cmpw r0, r30 -/* 8011E588 0011B4E8 41 82 02 5C */ beq lbl_8011E7E4 -/* 8011E58C 0011B4EC 83 FD 00 10 */ lwz r31, 0x10(r29) -/* 8011E590 0011B4F0 39 00 00 00 */ li r8, 0 -/* 8011E594 0011B4F4 38 E0 00 01 */ li r7, 1 -/* 8011E598 0011B4F8 28 1E 00 0A */ cmplwi r30, 0xa -/* 8011E59C 0011B4FC 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8011E5A0 0011B500 51 00 36 72 */ rlwimi r0, r8, 6, 0x19, 0x19 -/* 8011E5A4 0011B504 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8011E5A8 0011B508 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8011E5AC 0011B50C 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 8011E5B0 0011B510 98 1F 02 20 */ stb r0, 0x220(r31) -/* 8011E5B4 0011B514 88 1D 03 B2 */ lbz r0, 0x3b2(r29) -/* 8011E5B8 0011B518 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c -/* 8011E5BC 0011B51C 98 1D 03 B2 */ stb r0, 0x3b2(r29) -/* 8011E5C0 0011B520 41 81 02 20 */ bgt lbl_8011E7E0 -/* 8011E5C4 0011B524 3C 80 80 3E */ lis r4, lbl_803E06B0@ha -/* 8011E5C8 0011B528 57 C0 10 3A */ slwi r0, r30, 2 -/* 8011E5CC 0011B52C 38 84 06 B0 */ addi r4, r4, lbl_803E06B0@l -/* 8011E5D0 0011B530 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8011E5D4 0011B534 7C 09 03 A6 */ mtctr r0 -/* 8011E5D8 0011B538 4E 80 04 20 */ bctr -/* 8011E5DC 0011B53C 38 80 00 01 */ li r4, 1 -/* 8011E5E0 0011B540 4B FF F7 D5 */ bl ResetAuxParams__11CGrappleArmFb -/* 8011E5E4 0011B544 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -/* 8011E5E8 0011B548 38 E0 00 00 */ li r7, 0 -/* 8011E5EC 0011B54C 38 C0 FF FF */ li r6, -1 -/* 8011E5F0 0011B550 38 00 00 01 */ li r0, 1 -/* 8011E5F4 0011B554 90 E1 00 D0 */ stw r7, 0xd0(r1) -/* 8011E5F8 0011B558 7F E3 FB 78 */ mr r3, r31 -/* 8011E5FC 0011B55C 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 8011E600 0011B560 38 A0 00 00 */ li r5, 0 -/* 8011E604 0011B564 90 C1 00 D4 */ stw r6, 0xd4(r1) -/* 8011E608 0011B568 D0 01 00 D8 */ stfs f0, 0xd8(r1) -/* 8011E60C 0011B56C 98 01 00 DC */ stb r0, 0xdc(r1) -/* 8011E610 0011B570 90 E1 00 E0 */ stw r7, 0xe0(r1) -/* 8011E614 0011B574 90 E1 00 E4 */ stw r7, 0xe4(r1) -/* 8011E618 0011B578 98 E1 00 E8 */ stb r7, 0xe8(r1) -/* 8011E61C 0011B57C 90 E1 00 EC */ stw r7, 0xec(r1) -/* 8011E620 0011B580 90 E1 00 F0 */ stw r7, 0xf0(r1) -/* 8011E624 0011B584 90 E1 00 F4 */ stw r7, 0xf4(r1) -/* 8011E628 0011B588 4B F0 E7 55 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 8011E62C 0011B58C 88 1D 03 B2 */ lbz r0, 0x3b2(r29) -/* 8011E630 0011B590 38 60 00 00 */ li r3, 0 -/* 8011E634 0011B594 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8011E638 0011B598 38 60 00 01 */ li r3, 1 -/* 8011E63C 0011B59C 98 1D 03 B2 */ stb r0, 0x3b2(r29) -/* 8011E640 0011B5A0 88 1D 03 B2 */ lbz r0, 0x3b2(r29) -/* 8011E644 0011B5A4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8011E648 0011B5A8 98 1D 03 B2 */ stb r0, 0x3b2(r29) -/* 8011E64C 0011B5AC 48 00 01 94 */ b lbl_8011E7E0 -/* 8011E650 0011B5B0 88 7F 02 20 */ lbz r3, 0x220(r31) -/* 8011E654 0011B5B4 50 E3 36 72 */ rlwimi r3, r7, 6, 0x19, 0x19 -/* 8011E658 0011B5B8 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -/* 8011E65C 0011B5BC 38 00 FF FF */ li r0, -1 -/* 8011E660 0011B5C0 98 7F 02 20 */ stb r3, 0x220(r31) -/* 8011E664 0011B5C4 7F E3 FB 78 */ mr r3, r31 -/* 8011E668 0011B5C8 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 8011E66C 0011B5CC 38 A0 00 00 */ li r5, 0 -/* 8011E670 0011B5D0 88 DF 02 20 */ lbz r6, 0x220(r31) -/* 8011E674 0011B5D4 50 E6 3E 30 */ rlwimi r6, r7, 7, 0x18, 0x18 -/* 8011E678 0011B5D8 98 DF 02 20 */ stb r6, 0x220(r31) -/* 8011E67C 0011B5DC 90 E1 00 A8 */ stw r7, 0xa8(r1) -/* 8011E680 0011B5E0 90 01 00 AC */ stw r0, 0xac(r1) -/* 8011E684 0011B5E4 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8011E688 0011B5E8 98 E1 00 B4 */ stb r7, 0xb4(r1) -/* 8011E68C 0011B5EC 91 01 00 B8 */ stw r8, 0xb8(r1) -/* 8011E690 0011B5F0 91 01 00 BC */ stw r8, 0xbc(r1) -/* 8011E694 0011B5F4 99 01 00 C0 */ stb r8, 0xc0(r1) -/* 8011E698 0011B5F8 91 01 00 C4 */ stw r8, 0xc4(r1) -/* 8011E69C 0011B5FC 91 01 00 C8 */ stw r8, 0xc8(r1) -/* 8011E6A0 0011B600 91 01 00 CC */ stw r8, 0xcc(r1) -/* 8011E6A4 0011B604 4B F0 E6 D9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 8011E6A8 0011B608 48 00 01 38 */ b lbl_8011E7E0 -/* 8011E6AC 0011B60C C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -/* 8011E6B0 0011B610 38 60 00 02 */ li r3, 2 -/* 8011E6B4 0011B614 38 00 FF FF */ li r0, -1 -/* 8011E6B8 0011B618 90 61 00 80 */ stw r3, 0x80(r1) -/* 8011E6BC 0011B61C 7F E3 FB 78 */ mr r3, r31 -/* 8011E6C0 0011B620 38 81 00 80 */ addi r4, r1, 0x80 -/* 8011E6C4 0011B624 90 01 00 84 */ stw r0, 0x84(r1) -/* 8011E6C8 0011B628 38 A0 00 00 */ li r5, 0 -/* 8011E6CC 0011B62C D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8011E6D0 0011B630 98 E1 00 8C */ stb r7, 0x8c(r1) -/* 8011E6D4 0011B634 91 01 00 90 */ stw r8, 0x90(r1) -/* 8011E6D8 0011B638 91 01 00 94 */ stw r8, 0x94(r1) -/* 8011E6DC 0011B63C 99 01 00 98 */ stb r8, 0x98(r1) -/* 8011E6E0 0011B640 91 01 00 9C */ stw r8, 0x9c(r1) -/* 8011E6E4 0011B644 91 01 00 A0 */ stw r8, 0xa0(r1) -/* 8011E6E8 0011B648 91 01 00 A4 */ stw r8, 0xa4(r1) -/* 8011E6EC 0011B64C 4B F0 E6 91 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 8011E6F0 0011B650 48 00 00 F0 */ b lbl_8011E7E0 -/* 8011E6F4 0011B654 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -/* 8011E6F8 0011B658 38 60 00 03 */ li r3, 3 -/* 8011E6FC 0011B65C 38 00 FF FF */ li r0, -1 -/* 8011E700 0011B660 90 61 00 58 */ stw r3, 0x58(r1) -/* 8011E704 0011B664 7F E3 FB 78 */ mr r3, r31 -/* 8011E708 0011B668 38 81 00 58 */ addi r4, r1, 0x58 -/* 8011E70C 0011B66C 90 01 00 5C */ stw r0, 0x5c(r1) -/* 8011E710 0011B670 38 A0 00 00 */ li r5, 0 -/* 8011E714 0011B674 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8011E718 0011B678 98 E1 00 64 */ stb r7, 0x64(r1) -/* 8011E71C 0011B67C 91 01 00 68 */ stw r8, 0x68(r1) -/* 8011E720 0011B680 91 01 00 6C */ stw r8, 0x6c(r1) -/* 8011E724 0011B684 99 01 00 70 */ stb r8, 0x70(r1) -/* 8011E728 0011B688 91 01 00 74 */ stw r8, 0x74(r1) -/* 8011E72C 0011B68C 91 01 00 78 */ stw r8, 0x78(r1) -/* 8011E730 0011B690 91 01 00 7C */ stw r8, 0x7c(r1) -/* 8011E734 0011B694 4B F0 E6 49 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 8011E738 0011B698 48 00 00 A8 */ b lbl_8011E7E0 -/* 8011E73C 0011B69C C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -/* 8011E740 0011B6A0 38 60 00 03 */ li r3, 3 -/* 8011E744 0011B6A4 38 00 FF FF */ li r0, -1 -/* 8011E748 0011B6A8 90 61 00 30 */ stw r3, 0x30(r1) -/* 8011E74C 0011B6AC 7F E3 FB 78 */ mr r3, r31 -/* 8011E750 0011B6B0 38 81 00 30 */ addi r4, r1, 0x30 -/* 8011E754 0011B6B4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011E758 0011B6B8 38 A0 00 00 */ li r5, 0 -/* 8011E75C 0011B6BC D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8011E760 0011B6C0 98 E1 00 3C */ stb r7, 0x3c(r1) -/* 8011E764 0011B6C4 91 01 00 40 */ stw r8, 0x40(r1) -/* 8011E768 0011B6C8 91 01 00 44 */ stw r8, 0x44(r1) -/* 8011E76C 0011B6CC 99 01 00 48 */ stb r8, 0x48(r1) -/* 8011E770 0011B6D0 91 01 00 4C */ stw r8, 0x4c(r1) -/* 8011E774 0011B6D4 91 01 00 50 */ stw r8, 0x50(r1) -/* 8011E778 0011B6D8 91 01 00 54 */ stw r8, 0x54(r1) -/* 8011E77C 0011B6DC 4B F0 E6 01 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 8011E780 0011B6E0 48 00 00 60 */ b lbl_8011E7E0 -/* 8011E784 0011B6E4 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -/* 8011E788 0011B6E8 38 60 00 04 */ li r3, 4 -/* 8011E78C 0011B6EC 38 00 FF FF */ li r0, -1 -/* 8011E790 0011B6F0 90 61 00 08 */ stw r3, 8(r1) -/* 8011E794 0011B6F4 7F E3 FB 78 */ mr r3, r31 -/* 8011E798 0011B6F8 38 81 00 08 */ addi r4, r1, 8 -/* 8011E79C 0011B6FC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8011E7A0 0011B700 38 A0 00 00 */ li r5, 0 -/* 8011E7A4 0011B704 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8011E7A8 0011B708 98 E1 00 14 */ stb r7, 0x14(r1) -/* 8011E7AC 0011B70C 91 01 00 18 */ stw r8, 0x18(r1) -/* 8011E7B0 0011B710 91 01 00 1C */ stw r8, 0x1c(r1) -/* 8011E7B4 0011B714 99 01 00 20 */ stb r8, 0x20(r1) -/* 8011E7B8 0011B718 91 01 00 24 */ stw r8, 0x24(r1) -/* 8011E7BC 0011B71C 91 01 00 28 */ stw r8, 0x28(r1) -/* 8011E7C0 0011B720 91 01 00 2C */ stw r8, 0x2c(r1) -/* 8011E7C4 0011B724 4B F0 E5 B9 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 8011E7C8 0011B728 7F A3 EB 78 */ mr r3, r29 -/* 8011E7CC 0011B72C 4B FF EC E9 */ bl DisconnectGrappleBeam__11CGrappleArmFv -/* 8011E7D0 0011B730 48 00 00 10 */ b lbl_8011E7E0 -/* 8011E7D4 0011B734 88 1D 03 B2 */ lbz r0, 0x3b2(r29) -/* 8011E7D8 0011B738 51 00 1F 38 */ rlwimi r0, r8, 3, 0x1c, 0x1c -/* 8011E7DC 0011B73C 98 1D 03 B2 */ stb r0, 0x3b2(r29) -lbl_8011E7E0: -/* 8011E7E0 0011B740 93 DD 03 34 */ stw r30, 0x334(r29) -lbl_8011E7E4: -/* 8011E7E4 0011B744 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8011E7E8 0011B748 83 E1 01 0C */ lwz r31, 0x10c(r1) -/* 8011E7EC 0011B74C 83 C1 01 08 */ lwz r30, 0x108(r1) -/* 8011E7F0 0011B750 83 A1 01 04 */ lwz r29, 0x104(r1) -/* 8011E7F4 0011B754 7C 08 03 A6 */ mtlr r0 -/* 8011E7F8 0011B758 38 21 01 10 */ addi r1, r1, 0x110 -/* 8011E7FC 0011B75C 4E 80 00 20 */ blr - -.global Activate__11CGrappleArmFb -Activate__11CGrappleArmFb: -/* 8011E800 0011B760 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011E804 0011B764 7C 08 02 A6 */ mflr r0 -/* 8011E808 0011B768 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011E80C 0011B76C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8011E810 0011B770 38 80 00 08 */ li r4, 8 -/* 8011E814 0011B774 41 82 00 08 */ beq lbl_8011E81C -/* 8011E818 0011B778 38 80 00 00 */ li r4, 0 -lbl_8011E81C: -/* 8011E81C 0011B77C 4B FF FD 45 */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState -/* 8011E820 0011B780 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011E824 0011B784 7C 08 03 A6 */ mtlr r0 -/* 8011E828 0011B788 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011E82C 0011B78C 4E 80 00 20 */ blr - -.global UpdateGrappleBeamFX__11CGrappleArmFRC9CVector3fRC9CVector3fR13CStateManager -UpdateGrappleBeamFX__11CGrappleArmFRC9CVector3fRC9CVector3fR13CStateManager: -/* 8011E830 0011B790 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 8011E834 0011B794 7C 08 02 A6 */ mflr r0 -/* 8011E838 0011B798 90 01 01 54 */ stw r0, 0x154(r1) -/* 8011E83C 0011B79C DB E1 01 40 */ stfd f31, 0x140(r1) -/* 8011E840 0011B7A0 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 8011E844 0011B7A4 DB C1 01 30 */ stfd f30, 0x130(r1) -/* 8011E848 0011B7A8 F3 C1 01 38 */ psq_st f30, 312(r1), 0, qr0 -/* 8011E84C 0011B7AC DB A1 01 20 */ stfd f29, 0x120(r1) -/* 8011E850 0011B7B0 F3 A1 01 28 */ psq_st f29, 296(r1), 0, qr0 -/* 8011E854 0011B7B4 DB 81 01 10 */ stfd f28, 0x110(r1) -/* 8011E858 0011B7B8 F3 81 01 18 */ psq_st f28, 280(r1), 0, qr0 -/* 8011E85C 0011B7BC DB 61 01 00 */ stfd f27, 0x100(r1) -/* 8011E860 0011B7C0 F3 61 01 08 */ psq_st f27, 264(r1), 0, qr0 -/* 8011E864 0011B7C4 DB 41 00 F0 */ stfd f26, 0xf0(r1) -/* 8011E868 0011B7C8 F3 41 00 F8 */ psq_st f26, 248(r1), 0, qr0 -/* 8011E86C 0011B7CC DB 21 00 E0 */ stfd f25, 0xe0(r1) -/* 8011E870 0011B7D0 F3 21 00 E8 */ psq_st f25, 232(r1), 0, qr0 -/* 8011E874 0011B7D4 DB 01 00 D0 */ stfd f24, 0xd0(r1) -/* 8011E878 0011B7D8 F3 01 00 D8 */ psq_st f24, 216(r1), 0, qr0 -/* 8011E87C 0011B7DC DA E1 00 C0 */ stfd f23, 0xc0(r1) -/* 8011E880 0011B7E0 F2 E1 00 C8 */ psq_st f23, 200(r1), 0, qr0 -/* 8011E884 0011B7E4 DA C1 00 B0 */ stfd f22, 0xb0(r1) -/* 8011E888 0011B7E8 F2 C1 00 B8 */ psq_st f22, 184(r1), 0, qr0 -/* 8011E88C 0011B7EC BF 21 00 94 */ stmw r25, 0x94(r1) -/* 8011E890 0011B7F0 7C 7B 1B 78 */ mr r27, r3 -/* 8011E894 0011B7F4 7C B9 2B 78 */ mr r25, r5 -/* 8011E898 0011B7F8 80 63 03 94 */ lwz r3, 0x394(r3) -/* 8011E89C 0011B7FC 7C 9C 23 78 */ mr r28, r4 -/* 8011E8A0 0011B800 7F 24 CB 78 */ mr r4, r25 -/* 8011E8A4 0011B804 81 83 00 00 */ lwz r12, 0(r3) -/* 8011E8A8 0011B808 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8011E8AC 0011B80C 7D 89 03 A6 */ mtctr r12 -/* 8011E8B0 0011B810 4E 80 04 21 */ bctrl -/* 8011E8B4 0011B814 80 7B 03 90 */ lwz r3, 0x390(r27) -/* 8011E8B8 0011B818 38 80 00 01 */ li r4, 1 -/* 8011E8BC 0011B81C 81 83 00 00 */ lwz r12, 0(r3) -/* 8011E8C0 0011B820 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8011E8C4 0011B824 7D 89 03 A6 */ mtctr r12 -/* 8011E8C8 0011B828 4E 80 04 21 */ bctrl -/* 8011E8CC 0011B82C C0 39 00 04 */ lfs f1, 4(r25) -/* 8011E8D0 0011B830 38 61 00 44 */ addi r3, r1, 0x44 -/* 8011E8D4 0011B834 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8011E8D8 0011B838 C0 79 00 08 */ lfs f3, 8(r25) -/* 8011E8DC 0011B83C C0 5C 00 08 */ lfs f2, 8(r28) -/* 8011E8E0 0011B840 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8011E8E4 0011B844 C0 39 00 00 */ lfs f1, 0(r25) -/* 8011E8E8 0011B848 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8011E8EC 0011B84C EC 43 10 28 */ fsubs f2, f3, f2 -/* 8011E8F0 0011B850 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 8011E8F4 0011B854 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8011E8F8 0011B858 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8011E8FC 0011B85C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8011E900 0011B860 48 1F 5F B9 */ bl Magnitude__9CVector3fCFv -/* 8011E904 0011B864 C0 02 97 74 */ lfs f0, lbl_805AB494@sda21(r2) -/* 8011E908 0011B868 3C 00 43 30 */ lis r0, 0x4330 -/* 8011E90C 0011B86C C0 C2 97 68 */ lfs f6, lbl_805AB488@sda21(r2) -/* 8011E910 0011B870 38 61 00 50 */ addi r3, r1, 0x50 -/* 8011E914 0011B874 90 01 00 88 */ stw r0, 0x88(r1) -/* 8011E918 0011B878 38 9B 02 20 */ addi r4, r27, 0x220 -/* 8011E91C 0011B87C EC 00 30 7A */ fmadds f0, f0, f1, f6 -/* 8011E920 0011B880 C8 82 97 80 */ lfd f4, lbl_805AB4A0@sda21(r2) -/* 8011E924 0011B884 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 8011E928 0011B888 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 8011E92C 0011B88C FC A0 00 1E */ fctiwz f5, f0 -/* 8011E930 0011B890 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 8011E934 0011B894 C3 C1 00 44 */ lfs f30, 0x44(r1) -/* 8011E938 0011B898 C0 02 97 78 */ lfs f0, lbl_805AB498@sda21(r2) -/* 8011E93C 0011B89C D8 A1 00 80 */ stfd f5, 0x80(r1) -/* 8011E940 0011B8A0 C3 A1 00 48 */ lfs f29, 0x48(r1) -/* 8011E944 0011B8A4 EF DE 00 32 */ fmuls f30, f30, f0 -/* 8011E948 0011B8A8 83 41 00 84 */ lwz r26, 0x84(r1) -/* 8011E94C 0011B8AC C3 81 00 4C */ lfs f28, 0x4c(r1) -/* 8011E950 0011B8B0 EF BD 00 32 */ fmuls f29, f29, f0 -/* 8011E954 0011B8B4 6F 40 80 00 */ xoris r0, r26, 0x8000 -/* 8011E958 0011B8B8 C3 7C 00 00 */ lfs f27, 0(r28) -/* 8011E95C 0011B8BC 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8011E960 0011B8C0 EF 9C 00 32 */ fmuls f28, f28, f0 -/* 8011E964 0011B8C4 C3 5C 00 04 */ lfs f26, 4(r28) -/* 8011E968 0011B8C8 C8 01 00 88 */ lfd f0, 0x88(r1) -/* 8011E96C 0011B8CC C3 3C 00 08 */ lfs f25, 8(r28) -/* 8011E970 0011B8D0 EC 00 20 28 */ fsubs f0, f0, f4 -/* 8011E974 0011B8D4 EC 06 00 24 */ fdivs f0, f6, f0 -/* 8011E978 0011B8D8 EC 63 00 32 */ fmuls f3, f3, f0 -/* 8011E97C 0011B8DC EC 42 00 32 */ fmuls f2, f2, f0 -/* 8011E980 0011B8E0 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8011E984 0011B8E4 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 8011E988 0011B8E8 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8011E98C 0011B8EC D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8011E990 0011B8F0 48 1F 42 B1 */ bl GetRotation__12CTransform4fCFv -/* 8011E994 0011B8F4 CB E2 97 80 */ lfd f31, lbl_805AB4A0@sda21(r2) -/* 8011E998 0011B8F8 3B C1 00 50 */ addi r30, r1, 0x50 -/* 8011E99C 0011B8FC 3B A0 00 00 */ li r29, 0 -/* 8011E9A0 0011B900 3F 20 43 30 */ lis r25, 0x4330 -/* 8011E9A4 0011B904 48 00 00 D8 */ b lbl_8011EA7C -lbl_8011E9A8: -/* 8011E9A8 0011B908 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 8011E9AC 0011B90C 93 21 00 88 */ stw r25, 0x88(r1) -/* 8011E9B0 0011B910 C0 1B 03 40 */ lfs f0, 0x340(r27) -/* 8011E9B4 0011B914 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8011E9B8 0011B918 C8 21 00 88 */ lfd f1, 0x88(r1) -/* 8011E9BC 0011B91C EF 01 F8 28 */ fsubs f24, f1, f31 -/* 8011E9C0 0011B920 EC 38 00 2A */ fadds f1, f24, f0 -/* 8011E9C4 0011B924 48 1F 63 81 */ bl FastCosR__5CMathFf -/* 8011E9C8 0011B928 C0 1B 03 44 */ lfs f0, 0x344(r27) -/* 8011E9CC 0011B92C EE E0 00 72 */ fmuls f23, f0, f1 -/* 8011E9D0 0011B930 FC 20 C0 90 */ fmr f1, f24 -/* 8011E9D4 0011B934 48 1F 64 1D */ bl FastSinR__5CMathFf -/* 8011E9D8 0011B938 C0 1B 03 48 */ lfs f0, 0x348(r27) -/* 8011E9DC 0011B93C 2C 1D 00 00 */ cmpwi r29, 0 -/* 8011E9E0 0011B940 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8011E9E4 0011B944 40 81 00 2C */ ble lbl_8011EA10 -/* 8011E9E8 0011B948 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) -/* 8011E9EC 0011B94C 7F C4 F3 78 */ mr r4, r30 -/* 8011E9F0 0011B950 D2 E1 00 2C */ stfs f23, 0x2c(r1) -/* 8011E9F4 0011B954 38 61 00 20 */ addi r3, r1, 0x20 -/* 8011E9F8 0011B958 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8011E9FC 0011B95C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8011EA00 0011B960 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8011EA04 0011B964 48 1F 40 E5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8011EA08 0011B968 38 61 00 20 */ addi r3, r1, 0x20 -/* 8011EA0C 0011B96C 48 00 00 0C */ b lbl_8011EA18 -lbl_8011EA10: -/* 8011EA10 0011B970 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011EA14 0011B974 38 63 66 A0 */ addi r3, r3, skZero3f@l -lbl_8011EA18: -/* 8011EA18 0011B978 C0 43 00 04 */ lfs f2, 4(r3) -/* 8011EA1C 0011B97C 38 81 00 38 */ addi r4, r1, 0x38 -/* 8011EA20 0011B980 C0 23 00 08 */ lfs f1, 8(r3) -/* 8011EA24 0011B984 C0 03 00 00 */ lfs f0, 0(r3) -/* 8011EA28 0011B988 EC 5A 10 2A */ fadds f2, f26, f2 -/* 8011EA2C 0011B98C EC 39 08 2A */ fadds f1, f25, f1 -/* 8011EA30 0011B990 EC 1B 00 2A */ fadds f0, f27, f0 -/* 8011EA34 0011B994 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 8011EA38 0011B998 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8011EA3C 0011B99C D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8011EA40 0011B9A0 80 7B 03 90 */ lwz r3, 0x390(r27) -/* 8011EA44 0011B9A4 81 83 00 00 */ lwz r12, 0(r3) -/* 8011EA48 0011B9A8 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8011EA4C 0011B9AC 7D 89 03 A6 */ mtctr r12 -/* 8011EA50 0011B9B0 4E 80 04 21 */ bctrl -/* 8011EA54 0011B9B4 80 7B 03 90 */ lwz r3, 0x390(r27) -/* 8011EA58 0011B9B8 38 80 00 01 */ li r4, 1 -/* 8011EA5C 0011B9BC 48 1F DE 65 */ bl ForceParticleCreation__11CElementGenFi -/* 8011EA60 0011B9C0 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 8011EA64 0011B9C4 3B BD 00 01 */ addi r29, r29, 1 -/* 8011EA68 0011B9C8 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 8011EA6C 0011B9CC C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8011EA70 0011B9D0 EF 7B 10 2A */ fadds f27, f27, f2 -/* 8011EA74 0011B9D4 EF 5A 08 2A */ fadds f26, f26, f1 -/* 8011EA78 0011B9D8 EF 39 00 2A */ fadds f25, f25, f0 -lbl_8011EA7C: -/* 8011EA7C 0011B9DC 7C 1D D0 00 */ cmpw r29, r26 -/* 8011EA80 0011B9E0 41 80 FF 28 */ blt lbl_8011E9A8 -/* 8011EA84 0011B9E4 80 7B 03 90 */ lwz r3, 0x390(r27) -/* 8011EA88 0011B9E8 38 80 00 00 */ li r4, 0 -/* 8011EA8C 0011B9EC 81 83 00 00 */ lwz r12, 0(r3) -/* 8011EA90 0011B9F0 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8011EA94 0011B9F4 7D 89 03 A6 */ mtctr r12 -/* 8011EA98 0011B9F8 4E 80 04 21 */ bctrl -/* 8011EA9C 0011B9FC 83 3B 03 A0 */ lwz r25, 0x3a0(r27) -/* 8011EAA0 0011BA00 3B A0 00 00 */ li r29, 0 -/* 8011EAA4 0011BA04 C3 3C 00 00 */ lfs f25, 0(r28) -/* 8011EAA8 0011BA08 3B E0 00 00 */ li r31, 0 -/* 8011EAAC 0011BA0C 80 79 01 60 */ lwz r3, 0x160(r25) -/* 8011EAB0 0011BA10 3F 40 43 30 */ lis r26, 0x4330 -/* 8011EAB4 0011BA14 80 99 01 68 */ lwz r4, 0x168(r25) -/* 8011EAB8 0011BA18 38 03 FF FF */ addi r0, r3, -1 -/* 8011EABC 0011BA1C C3 5C 00 04 */ lfs f26, 4(r28) -/* 8011EAC0 0011BA20 54 03 38 30 */ slwi r3, r0, 7 -/* 8011EAC4 0011BA24 C3 7C 00 08 */ lfs f27, 8(r28) -/* 8011EAC8 0011BA28 38 03 00 30 */ addi r0, r3, 0x30 -/* 8011EACC 0011BA2C CB 02 97 80 */ lfd f24, lbl_805AB4A0@sda21(r2) -/* 8011EAD0 0011BA30 7F E4 04 2E */ lfsx f31, r4, r0 -/* 8011EAD4 0011BA34 48 00 00 C0 */ b lbl_8011EB94 -lbl_8011EAD8: -/* 8011EAD8 0011BA38 6F A0 80 00 */ xoris r0, r29, 0x8000 -/* 8011EADC 0011BA3C 93 41 00 88 */ stw r26, 0x88(r1) -/* 8011EAE0 0011BA40 C0 1B 03 40 */ lfs f0, 0x340(r27) -/* 8011EAE4 0011BA44 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8011EAE8 0011BA48 C8 21 00 88 */ lfd f1, 0x88(r1) -/* 8011EAEC 0011BA4C EE E1 C0 28 */ fsubs f23, f1, f24 -/* 8011EAF0 0011BA50 EC 37 00 2A */ fadds f1, f23, f0 -/* 8011EAF4 0011BA54 48 1F 62 51 */ bl FastCosR__5CMathFf -/* 8011EAF8 0011BA58 C0 1B 03 44 */ lfs f0, 0x344(r27) -/* 8011EAFC 0011BA5C EE C0 00 72 */ fmuls f22, f0, f1 -/* 8011EB00 0011BA60 FC 20 B8 90 */ fmr f1, f23 -/* 8011EB04 0011BA64 48 1F 62 ED */ bl FastSinR__5CMathFf -/* 8011EB08 0011BA68 C0 1B 03 48 */ lfs f0, 0x348(r27) -/* 8011EB0C 0011BA6C 2C 1D 00 00 */ cmpwi r29, 0 -/* 8011EB10 0011BA70 EC 20 00 72 */ fmuls f1, f0, f1 -/* 8011EB14 0011BA74 40 81 00 2C */ ble lbl_8011EB40 -/* 8011EB18 0011BA78 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) -/* 8011EB1C 0011BA7C 7F C4 F3 78 */ mr r4, r30 -/* 8011EB20 0011BA80 D2 C1 00 14 */ stfs f22, 0x14(r1) -/* 8011EB24 0011BA84 38 61 00 08 */ addi r3, r1, 8 -/* 8011EB28 0011BA88 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8011EB2C 0011BA8C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8011EB30 0011BA90 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8011EB34 0011BA94 48 1F 3F B5 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8011EB38 0011BA98 38 61 00 08 */ addi r3, r1, 8 -/* 8011EB3C 0011BA9C 48 00 00 0C */ b lbl_8011EB48 -lbl_8011EB40: -/* 8011EB40 0011BAA0 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8011EB44 0011BAA4 38 63 66 A0 */ addi r3, r3, skZero3f@l -lbl_8011EB48: -/* 8011EB48 0011BAA8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8011EB4C 0011BAAC 3B BD 00 01 */ addi r29, r29, 1 -/* 8011EB50 0011BAB0 C0 43 00 04 */ lfs f2, 4(r3) -/* 8011EB54 0011BAB4 EC 19 00 2A */ fadds f0, f25, f0 -/* 8011EB58 0011BAB8 80 19 01 68 */ lwz r0, 0x168(r25) -/* 8011EB5C 0011BABC C0 23 00 08 */ lfs f1, 8(r3) -/* 8011EB60 0011BAC0 EC 5A 10 2A */ fadds f2, f26, f2 -/* 8011EB64 0011BAC4 7C 60 FA 14 */ add r3, r0, r31 -/* 8011EB68 0011BAC8 EF 39 F0 2A */ fadds f25, f25, f30 -/* 8011EB6C 0011BACC D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8011EB70 0011BAD0 EC 1B 08 2A */ fadds f0, f27, f1 -/* 8011EB74 0011BAD4 EF 5A E8 2A */ fadds f26, f26, f29 -/* 8011EB78 0011BAD8 3B FF 00 80 */ addi r31, r31, 0x80 -/* 8011EB7C 0011BADC D0 43 00 10 */ stfs f2, 0x10(r3) -/* 8011EB80 0011BAE0 EF 7B E0 2A */ fadds f27, f27, f28 -/* 8011EB84 0011BAE4 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8011EB88 0011BAE8 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 8011EB8C 0011BAEC D3 E3 00 30 */ stfs f31, 0x30(r3) -/* 8011EB90 0011BAF0 FF E0 00 90 */ fmr f31, f0 -lbl_8011EB94: -/* 8011EB94 0011BAF4 80 19 01 60 */ lwz r0, 0x160(r25) -/* 8011EB98 0011BAF8 7C 1D 00 00 */ cmpw r29, r0 -/* 8011EB9C 0011BAFC 41 80 FF 3C */ blt lbl_8011EAD8 -/* 8011EBA0 0011BB00 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 8011EBA4 0011BB04 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 8011EBA8 0011BB08 E3 C1 01 38 */ psq_l f30, 312(r1), 0, qr0 -/* 8011EBAC 0011BB0C CB C1 01 30 */ lfd f30, 0x130(r1) -/* 8011EBB0 0011BB10 E3 A1 01 28 */ psq_l f29, 296(r1), 0, qr0 -/* 8011EBB4 0011BB14 CB A1 01 20 */ lfd f29, 0x120(r1) -/* 8011EBB8 0011BB18 E3 81 01 18 */ psq_l f28, 280(r1), 0, qr0 -/* 8011EBBC 0011BB1C CB 81 01 10 */ lfd f28, 0x110(r1) -/* 8011EBC0 0011BB20 E3 61 01 08 */ psq_l f27, 264(r1), 0, qr0 -/* 8011EBC4 0011BB24 CB 61 01 00 */ lfd f27, 0x100(r1) -/* 8011EBC8 0011BB28 E3 41 00 F8 */ psq_l f26, 248(r1), 0, qr0 -/* 8011EBCC 0011BB2C CB 41 00 F0 */ lfd f26, 0xf0(r1) -/* 8011EBD0 0011BB30 E3 21 00 E8 */ psq_l f25, 232(r1), 0, qr0 -/* 8011EBD4 0011BB34 CB 21 00 E0 */ lfd f25, 0xe0(r1) -/* 8011EBD8 0011BB38 E3 01 00 D8 */ psq_l f24, 216(r1), 0, qr0 -/* 8011EBDC 0011BB3C CB 01 00 D0 */ lfd f24, 0xd0(r1) -/* 8011EBE0 0011BB40 E2 E1 00 C8 */ psq_l f23, 200(r1), 0, qr0 -/* 8011EBE4 0011BB44 CA E1 00 C0 */ lfd f23, 0xc0(r1) -/* 8011EBE8 0011BB48 E2 C1 00 B8 */ psq_l f22, 184(r1), 0, qr0 -/* 8011EBEC 0011BB4C CA C1 00 B0 */ lfd f22, 0xb0(r1) -/* 8011EBF0 0011BB50 BB 21 00 94 */ lmw r25, 0x94(r1) -/* 8011EBF4 0011BB54 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8011EBF8 0011BB58 7C 08 03 A6 */ mtlr r0 -/* 8011EBFC 0011BB5C 38 21 01 50 */ addi r1, r1, 0x150 -/* 8011EC00 0011BB60 4E 80 00 20 */ blr - -.global UpdateGrappleBeam__11CGrappleArmFfRC12CTransform4fR13CStateManager -UpdateGrappleBeam__11CGrappleArmFfRC12CTransform4fR13CStateManager: -/* 8011EC04 0011BB64 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8011EC08 0011BB68 7C 08 02 A6 */ mflr r0 -/* 8011EC0C 0011BB6C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8011EC10 0011BB70 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8011EC14 0011BB74 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8011EC18 0011BB78 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8011EC1C 0011BB7C 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8011EC20 0011BB80 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8011EC24 0011BB84 93 81 00 90 */ stw r28, 0x90(r1) -/* 8011EC28 0011BB88 7C BE 2B 78 */ mr r30, r5 -/* 8011EC2C 0011BB8C 7C 7C 1B 78 */ mr r28, r3 -/* 8011EC30 0011BB90 80 A5 08 4C */ lwz r5, 0x84c(r5) -/* 8011EC34 0011BB94 7C 9D 23 78 */ mr r29, r4 -/* 8011EC38 0011BB98 FF E0 08 90 */ fmr f31, f1 -/* 8011EC3C 0011BB9C 7F C3 F3 78 */ mr r3, r30 -/* 8011EC40 0011BBA0 A0 05 03 10 */ lhz r0, 0x310(r5) -/* 8011EC44 0011BBA4 38 81 00 08 */ addi r4, r1, 8 -/* 8011EC48 0011BBA8 3B E0 00 00 */ li r31, 0 -/* 8011EC4C 0011BBAC B0 01 00 0C */ sth r0, 0xc(r1) -/* 8011EC50 0011BBB0 B0 01 00 08 */ sth r0, 8(r1) -/* 8011EC54 0011BBB4 4B F2 D9 51 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8011EC58 0011BBB8 7C 64 1B 78 */ mr r4, r3 -/* 8011EC5C 0011BBBC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8011EC60 0011BBC0 4B F9 10 31 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8011EC64 0011BBC4 80 63 00 04 */ lwz r3, 4(r3) -/* 8011EC68 0011BBC8 28 03 00 00 */ cmplwi r3, 0 -/* 8011EC6C 0011BBCC 41 82 00 24 */ beq lbl_8011EC90 -/* 8011EC70 0011BBD0 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8011EC74 0011BBD4 38 C1 00 30 */ addi r6, r1, 0x30 -/* 8011EC78 0011BBD8 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8011EC7C 0011BBDC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8011EC80 0011BBE0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8011EC84 0011BBE4 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8011EC88 0011BBE8 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8011EC8C 0011BBEC 48 00 00 20 */ b lbl_8011ECAC -lbl_8011EC90: -/* 8011EC90 0011BBF0 C0 5C 02 4C */ lfs f2, 0x24c(r28) -/* 8011EC94 0011BBF4 38 C1 00 24 */ addi r6, r1, 0x24 -/* 8011EC98 0011BBF8 C0 3C 02 3C */ lfs f1, 0x23c(r28) -/* 8011EC9C 0011BBFC C0 1C 02 2C */ lfs f0, 0x22c(r28) -/* 8011ECA0 0011BC00 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8011ECA4 0011BC04 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8011ECA8 0011BC08 D0 41 00 2C */ stfs f2, 0x2c(r1) -lbl_8011ECAC: -/* 8011ECAC 0011BC0C C0 06 00 00 */ lfs f0, 0(r6) -/* 8011ECB0 0011BC10 7F A5 EB 78 */ mr r5, r29 -/* 8011ECB4 0011BC14 38 61 00 54 */ addi r3, r1, 0x54 -/* 8011ECB8 0011BC18 38 9C 02 20 */ addi r4, r28, 0x220 -/* 8011ECBC 0011BC1C D0 1C 03 10 */ stfs f0, 0x310(r28) -/* 8011ECC0 0011BC20 C0 06 00 04 */ lfs f0, 4(r6) -/* 8011ECC4 0011BC24 D0 1C 03 14 */ stfs f0, 0x314(r28) -/* 8011ECC8 0011BC28 C0 06 00 08 */ lfs f0, 8(r6) -/* 8011ECCC 0011BC2C D0 1C 03 18 */ stfs f0, 0x318(r28) -/* 8011ECD0 0011BC30 48 1F 3C 81 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011ECD4 0011BC34 C1 41 00 80 */ lfs f10, 0x80(r1) -/* 8011ECD8 0011BC38 C1 21 00 70 */ lfs f9, 0x70(r1) -/* 8011ECDC 0011BC3C C0 C1 00 60 */ lfs f6, 0x60(r1) -/* 8011ECE0 0011BC40 D1 21 00 4C */ stfs f9, 0x4c(r1) -/* 8011ECE4 0011BC44 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -/* 8011ECE8 0011BC48 D0 C1 00 48 */ stfs f6, 0x48(r1) -/* 8011ECEC 0011BC4C D1 41 00 50 */ stfs f10, 0x50(r1) -/* 8011ECF0 0011BC50 C1 1C 03 38 */ lfs f8, 0x338(r28) -/* 8011ECF4 0011BC54 C0 BC 03 10 */ lfs f5, 0x310(r28) -/* 8011ECF8 0011BC58 C0 7C 03 14 */ lfs f3, 0x314(r28) -/* 8011ECFC 0011BC5C EC E0 40 28 */ fsubs f7, f0, f8 -/* 8011ED00 0011BC60 C0 3C 03 18 */ lfs f1, 0x318(r28) -/* 8011ED04 0011BC64 EC 85 02 32 */ fmuls f4, f5, f8 -/* 8011ED08 0011BC68 EC 43 02 32 */ fmuls f2, f3, f8 -/* 8011ED0C 0011BC6C EC 01 02 32 */ fmuls f0, f1, f8 -/* 8011ED10 0011BC70 EC 86 21 FA */ fmadds f4, f6, f7, f4 -/* 8011ED14 0011BC74 EC 49 11 FA */ fmadds f2, f9, f7, f2 -/* 8011ED18 0011BC78 EC 0A 01 FA */ fmadds f0, f10, f7, f0 -/* 8011ED1C 0011BC7C D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 8011ED20 0011BC80 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8011ED24 0011BC84 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8011ED28 0011BC88 80 1C 03 34 */ lwz r0, 0x334(r28) -/* 8011ED2C 0011BC8C 2C 00 00 04 */ cmpwi r0, 4 -/* 8011ED30 0011BC90 41 82 00 A4 */ beq lbl_8011EDD4 -/* 8011ED34 0011BC94 40 80 00 E8 */ bge lbl_8011EE1C -/* 8011ED38 0011BC98 2C 00 00 02 */ cmpwi r0, 2 -/* 8011ED3C 0011BC9C 40 80 00 0C */ bge lbl_8011ED48 -/* 8011ED40 0011BCA0 48 00 00 DC */ b lbl_8011EE1C -/* 8011ED44 0011BCA4 48 00 00 D8 */ b lbl_8011EE1C -lbl_8011ED48: -/* 8011ED48 0011BCA8 EC 43 48 28 */ fsubs f2, f3, f9 -/* 8011ED4C 0011BCAC 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011ED50 0011BCB0 EC 21 50 28 */ fsubs f1, f1, f10 -/* 8011ED54 0011BCB4 EC 05 30 28 */ fsubs f0, f5, f6 -/* 8011ED58 0011BCB8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8011ED5C 0011BCBC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8011ED60 0011BCC0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8011ED64 0011BCC4 48 1F 5B 55 */ bl Magnitude__9CVector3fCFv -/* 8011ED68 0011BCC8 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) -/* 8011ED6C 0011BCCC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011ED70 0011BCD0 40 81 00 10 */ ble lbl_8011ED80 -/* 8011ED74 0011BCD4 C0 1C 03 3C */ lfs f0, 0x33c(r28) -/* 8011ED78 0011BCD8 EC 00 08 24 */ fdivs f0, f0, f1 -/* 8011ED7C 0011BCDC 48 00 00 08 */ b lbl_8011ED84 -lbl_8011ED80: -/* 8011ED80 0011BCE0 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -lbl_8011ED84: -/* 8011ED84 0011BCE4 D0 1C 03 38 */ stfs f0, 0x338(r28) -/* 8011ED88 0011BCE8 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 8011ED8C 0011BCEC 80 03 02 58 */ lwz r0, 0x258(r3) -/* 8011ED90 0011BCF0 2C 00 00 00 */ cmpwi r0, 0 -/* 8011ED94 0011BCF4 41 82 00 0C */ beq lbl_8011EDA0 -/* 8011ED98 0011BCF8 C0 62 97 74 */ lfs f3, lbl_805AB494@sda21(r2) -/* 8011ED9C 0011BCFC 48 00 00 08 */ b lbl_8011EDA4 -lbl_8011EDA0: -/* 8011EDA0 0011BD00 C0 62 97 68 */ lfs f3, lbl_805AB488@sda21(r2) -lbl_8011EDA4: -/* 8011EDA4 0011BD04 C0 0D 8A 84 */ lfs f0, lbl_805A7644@sda21(r13) -/* 8011EDA8 0011BD08 C0 3C 03 3C */ lfs f1, 0x33c(r28) -/* 8011EDAC 0011BD0C EC 5F 00 32 */ fmuls f2, f31, f0 -/* 8011EDB0 0011BD10 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -/* 8011EDB4 0011BD14 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 8011EDB8 0011BD18 D0 3C 03 3C */ stfs f1, 0x33c(r28) -/* 8011EDBC 0011BD1C C0 3C 03 38 */ lfs f1, 0x338(r28) -/* 8011EDC0 0011BD20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011EDC4 0011BD24 41 80 00 58 */ blt lbl_8011EE1C -/* 8011EDC8 0011BD28 D0 1C 03 38 */ stfs f0, 0x338(r28) -/* 8011EDCC 0011BD2C 3B E0 00 01 */ li r31, 1 -/* 8011EDD0 0011BD30 48 00 00 4C */ b lbl_8011EE1C -lbl_8011EDD4: -/* 8011EDD4 0011BD34 C0 02 97 88 */ lfs f0, lbl_805AB4A8@sda21(r2) -/* 8011EDD8 0011BD38 C0 3C 03 44 */ lfs f1, 0x344(r28) -/* 8011EDDC 0011BD3C EC 40 07 F2 */ fmuls f2, f0, f31 -/* 8011EDE0 0011BD40 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) -/* 8011EDE4 0011BD44 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8011EDE8 0011BD48 D0 3C 03 44 */ stfs f1, 0x344(r28) -/* 8011EDEC 0011BD4C C0 3C 03 48 */ lfs f1, 0x348(r28) -/* 8011EDF0 0011BD50 EC 21 10 28 */ fsubs f1, f1, f2 -/* 8011EDF4 0011BD54 D0 3C 03 48 */ stfs f1, 0x348(r28) -/* 8011EDF8 0011BD58 C0 3C 03 44 */ lfs f1, 0x344(r28) -/* 8011EDFC 0011BD5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011EE00 0011BD60 40 80 00 08 */ bge lbl_8011EE08 -/* 8011EE04 0011BD64 D0 1C 03 44 */ stfs f0, 0x344(r28) -lbl_8011EE08: -/* 8011EE08 0011BD68 C0 3C 03 48 */ lfs f1, 0x348(r28) -/* 8011EE0C 0011BD6C C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) -/* 8011EE10 0011BD70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8011EE14 0011BD74 40 80 00 08 */ bge lbl_8011EE1C -/* 8011EE18 0011BD78 D0 1C 03 48 */ stfs f0, 0x348(r28) -lbl_8011EE1C: -/* 8011EE1C 0011BD7C 88 1C 03 B2 */ lbz r0, 0x3b2(r28) -/* 8011EE20 0011BD80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8011EE24 0011BD84 41 82 00 58 */ beq lbl_8011EE7C -/* 8011EE28 0011BD88 C0 3C 03 40 */ lfs f1, 0x340(r28) -/* 8011EE2C 0011BD8C 7F 83 E3 78 */ mr r3, r28 -/* 8011EE30 0011BD90 C0 0D 8A 78 */ lfs f0, lbl_805A7638@sda21(r13) -/* 8011EE34 0011BD94 7F C6 F3 78 */ mr r6, r30 -/* 8011EE38 0011BD98 38 81 00 48 */ addi r4, r1, 0x48 -/* 8011EE3C 0011BD9C 38 A1 00 3C */ addi r5, r1, 0x3c -/* 8011EE40 0011BDA0 EC 01 00 2A */ fadds f0, f1, f0 -/* 8011EE44 0011BDA4 D0 1C 03 40 */ stfs f0, 0x340(r28) -/* 8011EE48 0011BDA8 4B FF F9 E9 */ bl UpdateGrappleBeamFX__11CGrappleArmFRC9CVector3fRC9CVector3fR13CStateManager -/* 8011EE4C 0011BDAC 80 7C 03 94 */ lwz r3, 0x394(r28) -/* 8011EE50 0011BDB0 FC 20 F8 90 */ fmr f1, f31 -/* 8011EE54 0011BDB4 81 83 00 00 */ lwz r12, 0(r3) -/* 8011EE58 0011BDB8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011EE5C 0011BDBC 7D 89 03 A6 */ mtctr r12 -/* 8011EE60 0011BDC0 4E 80 04 21 */ bctrl -/* 8011EE64 0011BDC4 80 7C 03 90 */ lwz r3, 0x390(r28) -/* 8011EE68 0011BDC8 FC 20 F8 90 */ fmr f1, f31 -/* 8011EE6C 0011BDCC 81 83 00 00 */ lwz r12, 0(r3) -/* 8011EE70 0011BDD0 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011EE74 0011BDD4 7D 89 03 A6 */ mtctr r12 -/* 8011EE78 0011BDD8 4E 80 04 21 */ bctrl -lbl_8011EE7C: -/* 8011EE7C 0011BDDC 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 8011EE80 0011BDE0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8011EE84 0011BDE4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8011EE88 0011BDE8 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8011EE8C 0011BDEC 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8011EE90 0011BDF0 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8011EE94 0011BDF4 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8011EE98 0011BDF8 83 81 00 90 */ lwz r28, 0x90(r1) -/* 8011EE9C 0011BDFC 7C 08 03 A6 */ mtlr r0 -/* 8011EEA0 0011BE00 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8011EEA4 0011BE04 4E 80 00 20 */ blr - -.global Update__11CGrappleArmFffR13CStateManager -Update__11CGrappleArmFffR13CStateManager: -/* 8011EEA8 0011BE08 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 8011EEAC 0011BE0C 7C 08 02 A6 */ mflr r0 -/* 8011EEB0 0011BE10 90 01 01 64 */ stw r0, 0x164(r1) -/* 8011EEB4 0011BE14 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 8011EEB8 0011BE18 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 8011EEBC 0011BE1C DB C1 01 40 */ stfd f30, 0x140(r1) -/* 8011EEC0 0011BE20 F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 8011EEC4 0011BE24 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 8011EEC8 0011BE28 93 C1 01 38 */ stw r30, 0x138(r1) -/* 8011EECC 0011BE2C 7C 7E 1B 78 */ mr r30, r3 -/* 8011EED0 0011BE30 88 63 03 B2 */ lbz r3, 0x3b2(r3) -/* 8011EED4 0011BE34 7C 9F 23 78 */ mr r31, r4 -/* 8011EED8 0011BE38 FF C0 08 90 */ fmr f30, f1 -/* 8011EEDC 0011BE3C FF E0 10 90 */ fmr f31, f2 -/* 8011EEE0 0011BE40 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8011EEE4 0011BE44 38 80 00 00 */ li r4, 0 -/* 8011EEE8 0011BE48 41 82 00 10 */ beq lbl_8011EEF8 -/* 8011EEEC 0011BE4C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 8011EEF0 0011BE50 40 82 00 08 */ bne lbl_8011EEF8 -/* 8011EEF4 0011BE54 38 80 00 01 */ li r4, 1 -lbl_8011EEF8: -/* 8011EEF8 0011BE58 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8011EEFC 0011BE5C 40 82 00 1C */ bne lbl_8011EF18 -/* 8011EF00 0011BE60 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011EF04 0011BE64 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8011EF08 0011BE68 41 82 01 E0 */ beq lbl_8011F0E8 -/* 8011EF0C 0011BE6C 7F C3 F3 78 */ mr r3, r30 -/* 8011EF10 0011BE70 4B FF EA CD */ bl LoadSuitPoll__11CGrappleArmFv -/* 8011EF14 0011BE74 48 00 01 D4 */ b lbl_8011F0E8 -lbl_8011EF18: -/* 8011EF18 0011BE78 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8011EF1C 0011BE7C 80 63 00 00 */ lwz r3, 0(r3) -/* 8011EF20 0011BE80 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8011EF24 0011BE84 2C 00 00 01 */ cmpwi r0, 1 -/* 8011EF28 0011BE88 40 82 00 1C */ bne lbl_8011EF44 -/* 8011EF2C 0011BE8C 88 1E 00 9C */ lbz r0, 0x9c(r30) -/* 8011EF30 0011BE90 28 00 00 00 */ cmplwi r0, 0 -/* 8011EF34 0011BE94 40 82 00 50 */ bne lbl_8011EF84 -/* 8011EF38 0011BE98 7F C3 F3 78 */ mr r3, r30 -/* 8011EF3C 0011BE9C 4B FF E9 F5 */ bl BuildXRayModel__11CGrappleArmFv -/* 8011EF40 0011BEA0 48 00 00 44 */ b lbl_8011EF84 -lbl_8011EF44: -/* 8011EF44 0011BEA4 88 1E 00 9C */ lbz r0, 0x9c(r30) -/* 8011EF48 0011BEA8 28 00 00 00 */ cmplwi r0, 0 -/* 8011EF4C 0011BEAC 41 82 00 38 */ beq lbl_8011EF84 -/* 8011EF50 0011BEB0 38 00 00 00 */ li r0, 0 -/* 8011EF54 0011BEB4 38 7E 00 50 */ addi r3, r30, 0x50 -/* 8011EF58 0011BEB8 98 01 01 34 */ stb r0, 0x134(r1) -/* 8011EF5C 0011BEBC 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 8011EF60 0011BEC0 4B FF ED ED */ bl sub_8011dd4c -/* 8011EF64 0011BEC4 88 01 01 34 */ lbz r0, 0x134(r1) -/* 8011EF68 0011BEC8 28 00 00 00 */ cmplwi r0, 0 -/* 8011EF6C 0011BECC 41 82 00 10 */ beq lbl_8011EF7C -/* 8011EF70 0011BED0 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 8011EF74 0011BED4 38 80 FF FF */ li r4, -1 -/* 8011EF78 0011BED8 4B FF 7A D5 */ bl __dt__10CModelDataFv -lbl_8011EF7C: -/* 8011EF7C 0011BEDC 38 00 00 00 */ li r0, 0 -/* 8011EF80 0011BEE0 98 01 01 34 */ stb r0, 0x134(r1) -lbl_8011EF84: -/* 8011EF84 0011BEE4 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011EF88 0011BEE8 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -/* 8011EF8C 0011BEEC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8011EF90 0011BEF0 40 82 00 3C */ bne lbl_8011EFCC -/* 8011EF94 0011BEF4 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8011EF98 0011BEF8 38 80 00 00 */ li r4, 0 -/* 8011EF9C 0011BEFC 80 03 02 58 */ lwz r0, 0x258(r3) -/* 8011EFA0 0011BF00 2C 00 00 00 */ cmpwi r0, 0 -/* 8011EFA4 0011BF04 41 82 00 14 */ beq lbl_8011EFB8 -/* 8011EFA8 0011BF08 80 1E 03 34 */ lwz r0, 0x334(r30) -/* 8011EFAC 0011BF0C 2C 00 00 08 */ cmpwi r0, 8 -/* 8011EFB0 0011BF10 41 82 00 08 */ beq lbl_8011EFB8 -/* 8011EFB4 0011BF14 38 80 00 01 */ li r4, 1 -lbl_8011EFB8: -/* 8011EFB8 0011BF18 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8011EFBC 0011BF1C 41 82 00 0C */ beq lbl_8011EFC8 -/* 8011EFC0 0011BF20 C0 02 97 88 */ lfs f0, lbl_805AB4A8@sda21(r2) -/* 8011EFC4 0011BF24 48 00 00 08 */ b lbl_8011EFCC -lbl_8011EFC8: -/* 8011EFC8 0011BF28 C0 02 97 68 */ lfs f0, lbl_805AB488@sda21(r2) -lbl_8011EFCC: -/* 8011EFCC 0011BF2C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) -/* 8011EFD0 0011BF30 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 8011EFD4 0011BF34 7F C4 F3 78 */ mr r4, r30 -/* 8011EFD8 0011BF38 7F E5 FB 78 */ mr r5, r31 -/* 8011EFDC 0011BF3C 90 01 00 08 */ stw r0, 8(r1) -/* 8011EFE0 0011BF40 38 61 00 3C */ addi r3, r1, 0x3c -/* 8011EFE4 0011BF44 38 C1 00 08 */ addi r6, r1, 8 -/* 8011EFE8 0011BF48 38 E0 00 01 */ li r7, 1 -/* 8011EFEC 0011BF4C 4B FF 6B 49 */ bl AdvanceAnimation__10CModelDataFfR13CStateManager7TAreaIdb -/* 8011EFF0 0011BF50 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8011EFF4 0011BF54 38 80 00 0C */ li r4, 0xc -/* 8011EFF8 0011BF58 80 63 00 00 */ lwz r3, 0(r3) -/* 8011EFFC 0011BF5C 4B F7 2A C5 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8011F000 0011BF60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011F004 0011BF64 41 82 00 98 */ beq lbl_8011F09C -/* 8011F008 0011BF68 80 82 97 54 */ lwz r4, lbl_805AB474@sda21(r2) -/* 8011F00C 0011BF6C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8011F010 0011BF70 4B EE 5C A9 */ bl string_l__4rstlFPCc -/* 8011F014 0011BF74 7F C4 F3 78 */ mr r4, r30 -/* 8011F018 0011BF78 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8011F01C 0011BF7C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8011F020 0011BF80 38 C0 00 00 */ li r6, 0 -/* 8011F024 0011BF84 4B FF 68 F9 */ bl "GetScaledLocatorTransformDynamic__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>PC13CCharAnimTime" -/* 8011F028 0011BF88 38 7E 02 50 */ addi r3, r30, 0x250 -/* 8011F02C 0011BF8C 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 8011F030 0011BF90 48 1F 3B 11 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8011F034 0011BF94 38 61 00 2C */ addi r3, r1, 0x2c -/* 8011F038 0011BF98 48 21 EA A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8011F03C 0011BF9C 80 82 97 58 */ lwz r4, lbl_805AB478@sda21(r2) -/* 8011F040 0011BFA0 38 61 00 1C */ addi r3, r1, 0x1c -/* 8011F044 0011BFA4 4B EE 5C 75 */ bl string_l__4rstlFPCc -/* 8011F048 0011BFA8 7F C4 F3 78 */ mr r4, r30 -/* 8011F04C 0011BFAC 38 61 00 88 */ addi r3, r1, 0x88 -/* 8011F050 0011BFB0 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8011F054 0011BFB4 4B FF 69 4D */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8011F058 0011BFB8 38 7E 02 80 */ addi r3, r30, 0x280 -/* 8011F05C 0011BFBC 38 81 00 88 */ addi r4, r1, 0x88 -/* 8011F060 0011BFC0 48 1F 3A E1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8011F064 0011BFC4 38 61 00 1C */ addi r3, r1, 0x1c -/* 8011F068 0011BFC8 48 21 EA 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8011F06C 0011BFCC 80 82 97 5C */ lwz r4, lbl_805AB47C@sda21(r2) -/* 8011F070 0011BFD0 38 61 00 0C */ addi r3, r1, 0xc -/* 8011F074 0011BFD4 4B EE 5C 45 */ bl string_l__4rstlFPCc -/* 8011F078 0011BFD8 7F C4 F3 78 */ mr r4, r30 -/* 8011F07C 0011BFDC 38 61 00 58 */ addi r3, r1, 0x58 -/* 8011F080 0011BFE0 38 A1 00 0C */ addi r5, r1, 0xc -/* 8011F084 0011BFE4 4B FF 69 1D */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8011F088 0011BFE8 38 7E 02 B0 */ addi r3, r30, 0x2b0 -/* 8011F08C 0011BFEC 38 81 00 58 */ addi r4, r1, 0x58 -/* 8011F090 0011BFF0 48 1F 3A B1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8011F094 0011BFF4 38 61 00 0C */ addi r3, r1, 0xc -/* 8011F098 0011BFF8 48 21 EA 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8011F09C: -/* 8011F09C 0011BFFC 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011F0A0 0011C000 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8011F0A4 0011C004 41 82 00 18 */ beq lbl_8011F0BC -/* 8011F0A8 0011C008 FC 20 F8 90 */ fmr f1, f31 -/* 8011F0AC 0011C00C 7F C3 F3 78 */ mr r3, r30 -/* 8011F0B0 0011C010 7F E4 FB 78 */ mr r4, r31 -/* 8011F0B4 0011C014 48 00 00 5D */ bl UpdateArmMovement__11CGrappleArmFfR13CStateManager -/* 8011F0B8 0011C018 48 00 00 18 */ b lbl_8011F0D0 -lbl_8011F0BC: -/* 8011F0BC 0011C01C FC 20 F0 90 */ fmr f1, f30 -/* 8011F0C0 0011C020 7F C3 F3 78 */ mr r3, r30 -/* 8011F0C4 0011C024 FC 40 F8 90 */ fmr f2, f31 -/* 8011F0C8 0011C028 7F E4 FB 78 */ mr r4, r31 -/* 8011F0CC 0011C02C 48 00 00 B1 */ bl UpdateSwingAction__11CGrappleArmFffR13CStateManager -lbl_8011F0D0: -/* 8011F0D0 0011C030 80 7E 03 A4 */ lwz r3, 0x3a4(r30) -/* 8011F0D4 0011C034 28 03 00 00 */ cmplwi r3, 0 -/* 8011F0D8 0011C038 41 82 00 10 */ beq lbl_8011F0E8 -/* 8011F0DC 0011C03C FC 20 F8 90 */ fmr f1, f31 -/* 8011F0E0 0011C040 7F E4 FB 78 */ mr r4, r31 -/* 8011F0E4 0011C044 48 14 B3 09 */ bl Update__20CRainSplashGeneratorFfR13CStateManager -lbl_8011F0E8: -/* 8011F0E8 0011C048 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 8011F0EC 0011C04C CB E1 01 50 */ lfd f31, 0x150(r1) -/* 8011F0F0 0011C050 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 8011F0F4 0011C054 CB C1 01 40 */ lfd f30, 0x140(r1) -/* 8011F0F8 0011C058 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 8011F0FC 0011C05C 80 01 01 64 */ lwz r0, 0x164(r1) -/* 8011F100 0011C060 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 8011F104 0011C064 7C 08 03 A6 */ mtlr r0 -/* 8011F108 0011C068 38 21 01 60 */ addi r1, r1, 0x160 -/* 8011F10C 0011C06C 4E 80 00 20 */ blr - -.global UpdateArmMovement__11CGrappleArmFfR13CStateManager -UpdateArmMovement__11CGrappleArmFfR13CStateManager: -/* 8011F110 0011C070 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8011F114 0011C074 7C 08 02 A6 */ mflr r0 -/* 8011F118 0011C078 90 01 00 24 */ stw r0, 0x24(r1) -/* 8011F11C 0011C07C DB E1 00 18 */ stfd f31, 0x18(r1) -/* 8011F120 0011C080 FF E0 08 90 */ fmr f31, f1 -/* 8011F124 0011C084 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8011F128 0011C088 7C 9F 23 78 */ mr r31, r4 -/* 8011F12C 0011C08C 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8011F130 0011C090 7C 7E 1B 78 */ mr r30, r3 -/* 8011F134 0011C094 4B FF F2 4D */ bl DoUserAnimEvents__11CGrappleArmFR13CStateManager -/* 8011F138 0011C098 FC 20 F8 90 */ fmr f1, f31 -/* 8011F13C 0011C09C 80 7E 03 28 */ lwz r3, 0x328(r30) -/* 8011F140 0011C0A0 7F E4 FB 78 */ mr r4, r31 -/* 8011F144 0011C0A4 48 0A D4 FD */ bl Update__14CGunControllerFfR13CStateManager -/* 8011F148 0011C0A8 2C 03 00 01 */ cmpwi r3, 1 -/* 8011F14C 0011C0AC 41 82 00 08 */ beq lbl_8011F154 -/* 8011F150 0011C0B0 48 00 00 10 */ b lbl_8011F160 -lbl_8011F154: -/* 8011F154 0011C0B4 7F C3 F3 78 */ mr r3, r30 -/* 8011F158 0011C0B8 38 80 00 00 */ li r4, 0 -/* 8011F15C 0011C0BC 4B FF EC 59 */ bl ResetAuxParams__11CGrappleArmFb -lbl_8011F160: -/* 8011F160 0011C0C0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8011F164 0011C0C4 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 8011F168 0011C0C8 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 8011F16C 0011C0CC 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 8011F170 0011C0D0 7C 08 03 A6 */ mtlr r0 -/* 8011F174 0011C0D4 38 21 00 20 */ addi r1, r1, 0x20 -/* 8011F178 0011C0D8 4E 80 00 20 */ blr - -.global UpdateSwingAction__11CGrappleArmFffR13CStateManager -UpdateSwingAction__11CGrappleArmFffR13CStateManager: -/* 8011F17C 0011C0DC 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 8011F180 0011C0E0 7C 08 02 A6 */ mflr r0 -/* 8011F184 0011C0E4 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 8011F188 0011C0E8 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8011F18C 0011C0EC F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 8011F190 0011C0F0 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 8011F194 0011C0F4 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 8011F198 0011C0F8 93 E1 00 AC */ stw r31, 0xac(r1) -/* 8011F19C 0011C0FC 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8011F1A0 0011C100 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 8011F1A4 0011C104 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 8011F1A8 0011C108 88 03 03 B2 */ lbz r0, 0x3b2(r3) -/* 8011F1AC 0011C10C FF C0 08 90 */ fmr f30, f1 -/* 8011F1B0 0011C110 FF E0 10 90 */ fmr f31, f2 -/* 8011F1B4 0011C114 7C 7E 1B 78 */ mr r30, r3 -/* 8011F1B8 0011C118 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8011F1BC 0011C11C 7C 9F 23 78 */ mr r31, r4 -/* 8011F1C0 0011C120 40 82 02 C8 */ bne lbl_8011F488 -/* 8011F1C4 0011C124 80 1E 03 34 */ lwz r0, 0x334(r30) -/* 8011F1C8 0011C128 2C 00 00 02 */ cmpwi r0, 2 -/* 8011F1CC 0011C12C 40 82 00 08 */ bne lbl_8011F1D4 -/* 8011F1D0 0011C130 4B FF F1 B1 */ bl DoUserAnimEvents__11CGrappleArmFR13CStateManager -lbl_8011F1D4: -/* 8011F1D4 0011C134 80 82 97 60 */ lwz r4, lbl_805AB480@sda21(r2) -/* 8011F1D8 0011C138 38 61 00 2C */ addi r3, r1, 0x2c -/* 8011F1DC 0011C13C 4B EE 5A DD */ bl string_l__4rstlFPCc -/* 8011F1E0 0011C140 7F C4 F3 78 */ mr r4, r30 -/* 8011F1E4 0011C144 38 61 00 3C */ addi r3, r1, 0x3c -/* 8011F1E8 0011C148 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8011F1EC 0011C14C 4B FF 67 B5 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8011F1F0 0011C150 38 61 00 6C */ addi r3, r1, 0x6c -/* 8011F1F4 0011C154 38 81 00 3C */ addi r4, r1, 0x3c -/* 8011F1F8 0011C158 48 1F 39 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011F1FC 0011C15C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8011F200 0011C160 48 21 E8 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8011F204 0011C164 FC 20 F8 90 */ fmr f1, f31 -/* 8011F208 0011C168 7F C3 F3 78 */ mr r3, r30 -/* 8011F20C 0011C16C 7F E5 FB 78 */ mr r5, r31 -/* 8011F210 0011C170 38 81 00 6C */ addi r4, r1, 0x6c -/* 8011F214 0011C174 4B FF F9 F1 */ bl UpdateGrappleBeam__11CGrappleArmFfRC12CTransform4fR13CStateManager -/* 8011F218 0011C178 C0 02 97 8C */ lfs f0, lbl_805AB4AC@sda21(r2) -/* 8011F21C 0011C17C 7C 7C 1B 78 */ mr r28, r3 -/* 8011F220 0011C180 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8011F224 0011C184 40 81 00 10 */ ble lbl_8011F234 -/* 8011F228 0011C188 C0 02 97 90 */ lfs f0, lbl_805AB4B0@sda21(r2) -/* 8011F22C 0011C18C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8011F230 0011C190 41 80 00 1C */ blt lbl_8011F24C -lbl_8011F234: -/* 8011F234 0011C194 C0 02 97 94 */ lfs f0, lbl_805AB4B4@sda21(r2) -/* 8011F238 0011C198 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8011F23C 0011C19C 40 81 00 78 */ ble lbl_8011F2B4 -/* 8011F240 0011C1A0 C0 02 97 98 */ lfs f0, lbl_805AB4B8@sda21(r2) -/* 8011F244 0011C1A4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8011F248 0011C1A8 40 80 00 6C */ bge lbl_8011F2B4 -lbl_8011F24C: -/* 8011F24C 0011C1AC 80 1E 03 30 */ lwz r0, 0x330(r30) -/* 8011F250 0011C1B0 38 61 00 0C */ addi r3, r1, 0xc -/* 8011F254 0011C1B4 90 01 00 0C */ stw r0, 0xc(r1) -/* 8011F258 0011C1B8 48 1C 9B 7D */ bl IsPlaying__11CSfxManagerF10CSfxHandle -/* 8011F25C 0011C1BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011F260 0011C1C0 40 82 00 54 */ bne lbl_8011F2B4 -/* 8011F264 0011C1C4 38 61 00 08 */ addi r3, r1, 8 -/* 8011F268 0011C1C8 38 80 05 F8 */ li r4, 0x5f8 -/* 8011F26C 0011C1CC 38 A0 00 00 */ li r5, 0 -/* 8011F270 0011C1D0 38 C0 00 00 */ li r6, 0 -/* 8011F274 0011C1D4 38 E0 00 36 */ li r7, 0x36 -/* 8011F278 0011C1D8 48 16 B8 81 */ bl play_sfx__12NWeaponTypesFUsbbs -/* 8011F27C 0011C1DC 80 01 00 08 */ lwz r0, 8(r1) -/* 8011F280 0011C1E0 90 1E 03 30 */ stw r0, 0x330(r30) -/* 8011F284 0011C1E4 A8 9E 03 B0 */ lha r4, 0x3b0(r30) -/* 8011F288 0011C1E8 2C 04 FF FF */ cmpwi r4, -1 -/* 8011F28C 0011C1EC 41 82 00 0C */ beq lbl_8011F298 -/* 8011F290 0011C1F0 80 7F 08 8C */ lwz r3, 0x88c(r31) -/* 8011F294 0011C1F4 48 10 EE 81 */ bl StopRumble__14CRumbleManagerFs -lbl_8011F298: -/* 8011F298 0011C1F8 80 7F 08 8C */ lwz r3, 0x88c(r31) -/* 8011F29C 0011C1FC 7F E4 FB 78 */ mr r4, r31 -/* 8011F2A0 0011C200 C0 22 97 68 */ lfs f1, lbl_805AB488@sda21(r2) -/* 8011F2A4 0011C204 38 A0 00 11 */ li r5, 0x11 -/* 8011F2A8 0011C208 38 C0 00 03 */ li r6, 3 -/* 8011F2AC 0011C20C 48 10 EF 99 */ bl Rumble__14CRumbleManagerFR13CStateManager11ERumbleFxIdf15ERumblePriority -/* 8011F2B0 0011C210 B0 7E 03 B0 */ sth r3, 0x3b0(r30) -lbl_8011F2B4: -/* 8011F2B4 0011C214 3C 60 80 3D */ lis r3, lbl_803CF360@ha -/* 8011F2B8 0011C218 83 BE 00 10 */ lwz r29, 0x10(r30) -/* 8011F2BC 0011C21C 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l -/* 8011F2C0 0011C220 38 61 00 1C */ addi r3, r1, 0x1c -/* 8011F2C4 0011C224 38 84 00 CB */ addi r4, r4, 0xcb -/* 8011F2C8 0011C228 4B EE 59 F1 */ bl string_l__4rstlFPCc -/* 8011F2CC 0011C22C FC 20 F8 90 */ fmr f1, f31 -/* 8011F2D0 0011C230 7F A3 EB 78 */ mr r3, r29 -/* 8011F2D4 0011C234 38 81 00 1C */ addi r4, r1, 0x1c -/* 8011F2D8 0011C238 4B F0 D1 15 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8011F2DC 0011C23C 7C 7D 1B 78 */ mr r29, r3 -/* 8011F2E0 0011C240 38 61 00 1C */ addi r3, r1, 0x1c -/* 8011F2E4 0011C244 48 21 E7 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8011F2E8 0011C248 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8011F2EC 0011C24C 40 82 00 E4 */ bne lbl_8011F3D0 -/* 8011F2F0 0011C250 80 1E 03 34 */ lwz r0, 0x334(r30) -/* 8011F2F4 0011C254 28 00 00 08 */ cmplwi r0, 8 -/* 8011F2F8 0011C258 41 81 00 D8 */ bgt lbl_8011F3D0 -/* 8011F2FC 0011C25C 3C 60 80 3E */ lis r3, lbl_803E06DC@ha -/* 8011F300 0011C260 54 00 10 3A */ slwi r0, r0, 2 -/* 8011F304 0011C264 38 63 06 DC */ addi r3, r3, lbl_803E06DC@l -/* 8011F308 0011C268 7C 03 00 2E */ lwzx r0, r3, r0 -/* 8011F30C 0011C26C 7C 09 03 A6 */ mtctr r0 -/* 8011F310 0011C270 4E 80 04 20 */ bctr -/* 8011F314 0011C274 7F C3 F3 78 */ mr r3, r30 -/* 8011F318 0011C278 38 80 00 01 */ li r4, 1 -/* 8011F31C 0011C27C 4B FF F2 45 */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState -/* 8011F320 0011C280 48 00 00 B0 */ b lbl_8011F3D0 -/* 8011F324 0011C284 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 8011F328 0011C288 41 82 00 A8 */ beq lbl_8011F3D0 -/* 8011F32C 0011C28C 7F C3 F3 78 */ mr r3, r30 -/* 8011F330 0011C290 38 80 00 04 */ li r4, 4 -/* 8011F334 0011C294 4B FF F2 2D */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState -/* 8011F338 0011C298 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011F33C 0011C29C 38 60 00 01 */ li r3, 1 -/* 8011F340 0011C2A0 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8011F344 0011C2A4 38 80 00 01 */ li r4, 1 -/* 8011F348 0011C2A8 98 1E 03 B2 */ stb r0, 0x3b2(r30) -/* 8011F34C 0011C2AC 80 7E 03 98 */ lwz r3, 0x398(r30) -/* 8011F350 0011C2B0 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F354 0011C2B4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8011F358 0011C2B8 7D 89 03 A6 */ mtctr r12 -/* 8011F35C 0011C2BC 4E 80 04 21 */ bctrl -/* 8011F360 0011C2C0 7F C3 F3 78 */ mr r3, r30 -/* 8011F364 0011C2C4 4B FF ED C1 */ bl GrappleBeamConnected__11CGrappleArmFv -/* 8011F368 0011C2C8 A8 9E 03 B0 */ lha r4, 0x3b0(r30) -/* 8011F36C 0011C2CC 2C 04 FF FF */ cmpwi r4, -1 -/* 8011F370 0011C2D0 41 82 00 60 */ beq lbl_8011F3D0 -/* 8011F374 0011C2D4 80 7F 08 8C */ lwz r3, 0x88c(r31) -/* 8011F378 0011C2D8 48 10 ED 9D */ bl StopRumble__14CRumbleManagerFs -/* 8011F37C 0011C2DC 48 00 00 54 */ b lbl_8011F3D0 -/* 8011F380 0011C2E0 C0 22 97 64 */ lfs f1, lbl_805AB484@sda21(r2) -/* 8011F384 0011C2E4 C0 1E 03 44 */ lfs f0, 0x344(r30) -/* 8011F388 0011C2E8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8011F38C 0011C2EC 40 82 00 44 */ bne lbl_8011F3D0 -/* 8011F390 0011C2F0 7F C3 F3 78 */ mr r3, r30 -/* 8011F394 0011C2F4 38 80 00 06 */ li r4, 6 -/* 8011F398 0011C2F8 4B FF F1 C9 */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState -/* 8011F39C 0011C2FC 48 00 00 34 */ b lbl_8011F3D0 -/* 8011F3A0 0011C300 A8 9E 03 B0 */ lha r4, 0x3b0(r30) -/* 8011F3A4 0011C304 2C 04 FF FF */ cmpwi r4, -1 -/* 8011F3A8 0011C308 41 82 00 0C */ beq lbl_8011F3B4 -/* 8011F3AC 0011C30C 80 7F 08 8C */ lwz r3, 0x88c(r31) -/* 8011F3B0 0011C310 48 10 ED 65 */ bl StopRumble__14CRumbleManagerFs -lbl_8011F3B4: -/* 8011F3B4 0011C314 7F C3 F3 78 */ mr r3, r30 -/* 8011F3B8 0011C318 38 80 00 0A */ li r4, 0xa -/* 8011F3BC 0011C31C 4B FF F1 A5 */ bl SetAnimState__11CGrappleArmFQ211CGrappleArm9EArmState -/* 8011F3C0 0011C320 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011F3C4 0011C324 38 60 00 00 */ li r3, 0 -/* 8011F3C8 0011C328 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8011F3CC 0011C32C 98 1E 03 B2 */ stb r0, 0x3b2(r30) -lbl_8011F3D0: -/* 8011F3D0 0011C330 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011F3D4 0011C334 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8011F3D8 0011C338 41 82 00 B0 */ beq lbl_8011F488 -/* 8011F3DC 0011C33C C0 41 00 78 */ lfs f2, 0x78(r1) -/* 8011F3E0 0011C340 38 81 00 10 */ addi r4, r1, 0x10 -/* 8011F3E4 0011C344 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 8011F3E8 0011C348 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 8011F3EC 0011C34C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8011F3F0 0011C350 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8011F3F4 0011C354 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8011F3F8 0011C358 80 7E 03 9C */ lwz r3, 0x39c(r30) -/* 8011F3FC 0011C35C 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F400 0011C360 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8011F404 0011C364 7D 89 03 A6 */ mtctr r12 -/* 8011F408 0011C368 4E 80 04 21 */ bctrl -/* 8011F40C 0011C36C 80 7E 03 9C */ lwz r3, 0x39c(r30) -/* 8011F410 0011C370 FC 20 F8 90 */ fmr f1, f31 -/* 8011F414 0011C374 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F418 0011C378 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011F41C 0011C37C 7D 89 03 A6 */ mtctr r12 -/* 8011F420 0011C380 4E 80 04 21 */ bctrl -/* 8011F424 0011C384 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011F428 0011C388 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8011F42C 0011C38C 41 82 00 5C */ beq lbl_8011F488 -/* 8011F430 0011C390 80 7E 03 98 */ lwz r3, 0x398(r30) -/* 8011F434 0011C394 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F438 0011C398 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8011F43C 0011C39C 7D 89 03 A6 */ mtctr r12 -/* 8011F440 0011C3A0 4E 80 04 21 */ bctrl -/* 8011F444 0011C3A4 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8011F448 0011C3A8 88 1E 03 B2 */ lbz r0, 0x3b2(r30) -/* 8011F44C 0011C3AC 7C 63 00 34 */ cntlzw r3, r3 -/* 8011F450 0011C3B0 38 9E 03 10 */ addi r4, r30, 0x310 -/* 8011F454 0011C3B4 50 60 06 B4 */ rlwimi r0, r3, 0, 0x1a, 0x1a -/* 8011F458 0011C3B8 98 1E 03 B2 */ stb r0, 0x3b2(r30) -/* 8011F45C 0011C3BC 80 7E 03 98 */ lwz r3, 0x398(r30) -/* 8011F460 0011C3C0 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F464 0011C3C4 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8011F468 0011C3C8 7D 89 03 A6 */ mtctr r12 -/* 8011F46C 0011C3CC 4E 80 04 21 */ bctrl -/* 8011F470 0011C3D0 80 7E 03 98 */ lwz r3, 0x398(r30) -/* 8011F474 0011C3D4 FC 20 F8 90 */ fmr f1, f31 -/* 8011F478 0011C3D8 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F47C 0011C3DC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011F480 0011C3E0 7D 89 03 A6 */ mtctr r12 -/* 8011F484 0011C3E4 4E 80 04 21 */ bctrl -lbl_8011F488: -/* 8011F488 0011C3E8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8011F48C 0011C3EC CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8011F490 0011C3F0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 8011F494 0011C3F4 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8011F498 0011C3F8 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8011F49C 0011C3FC 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 8011F4A0 0011C400 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 8011F4A4 0011C404 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8011F4A8 0011C408 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 8011F4AC 0011C40C 7C 08 03 A6 */ mtlr r0 -/* 8011F4B0 0011C410 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8011F4B4 0011C414 4E 80 00 20 */ blr - -.global RenderGrappleBeam__11CGrappleArmCFRC13CStateManagerRC9CVector3f -RenderGrappleBeam__11CGrappleArmCFRC13CStateManagerRC9CVector3f: -/* 8011F4B8 0011C418 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8011F4BC 0011C41C 7C 08 02 A6 */ mflr r0 -/* 8011F4C0 0011C420 38 80 00 00 */ li r4, 0 -/* 8011F4C4 0011C424 90 01 01 34 */ stw r0, 0x134(r1) -/* 8011F4C8 0011C428 93 E1 01 2C */ stw r31, 0x12c(r1) -/* 8011F4CC 0011C42C 7C 7F 1B 78 */ mr r31, r3 -/* 8011F4D0 0011C430 88 63 03 B2 */ lbz r3, 0x3b2(r3) -/* 8011F4D4 0011C434 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8011F4D8 0011C438 41 82 00 10 */ beq lbl_8011F4E8 -/* 8011F4DC 0011C43C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 8011F4E0 0011C440 40 82 00 08 */ bne lbl_8011F4E8 -/* 8011F4E4 0011C444 38 80 00 01 */ li r4, 1 -lbl_8011F4E8: -/* 8011F4E8 0011C448 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8011F4EC 0011C44C 41 82 00 FC */ beq lbl_8011F5E8 -/* 8011F4F0 0011C450 7C A4 2B 78 */ mr r4, r5 -/* 8011F4F4 0011C454 38 61 00 68 */ addi r3, r1, 0x68 -/* 8011F4F8 0011C458 48 1F 3C 49 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8011F4FC 0011C45C 38 61 00 98 */ addi r3, r1, 0x98 -/* 8011F500 0011C460 38 81 00 68 */ addi r4, r1, 0x68 -/* 8011F504 0011C464 38 BF 02 20 */ addi r5, r31, 0x220 -/* 8011F508 0011C468 48 1F 34 49 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011F50C 0011C46C 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8011F510 0011C470 38 81 00 98 */ addi r4, r1, 0x98 -/* 8011F514 0011C474 48 1F 36 61 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011F518 0011C478 88 7F 03 B2 */ lbz r3, 0x3b2(r31) -/* 8011F51C 0011C47C 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8011F520 0011C480 41 82 00 C8 */ beq lbl_8011F5E8 -/* 8011F524 0011C484 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 8011F528 0011C488 41 82 00 18 */ beq lbl_8011F540 -/* 8011F52C 0011C48C 80 7F 03 98 */ lwz r3, 0x398(r31) -/* 8011F530 0011C490 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F534 0011C494 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8011F538 0011C498 7D 89 03 A6 */ mtctr r12 -/* 8011F53C 0011C49C 4E 80 04 21 */ bctrl -lbl_8011F540: -/* 8011F540 0011C4A0 80 7F 03 94 */ lwz r3, 0x394(r31) -/* 8011F544 0011C4A4 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F548 0011C4A8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8011F54C 0011C4AC 7D 89 03 A6 */ mtctr r12 -/* 8011F550 0011C4B0 4E 80 04 21 */ bctrl -/* 8011F554 0011C4B4 80 7F 03 A0 */ lwz r3, 0x3a0(r31) -/* 8011F558 0011C4B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F55C 0011C4BC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8011F560 0011C4C0 7D 89 03 A6 */ mtctr r12 -/* 8011F564 0011C4C4 4E 80 04 21 */ bctrl -/* 8011F568 0011C4C8 80 7F 03 90 */ lwz r3, 0x390(r31) -/* 8011F56C 0011C4CC 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F570 0011C4D0 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8011F574 0011C4D4 7D 89 03 A6 */ mtctr r12 -/* 8011F578 0011C4D8 4E 80 04 21 */ bctrl -/* 8011F57C 0011C4DC 3C 80 80 5A */ lis r4, lbl_805A61D4@ha -/* 8011F580 0011C4E0 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8011F584 0011C4E4 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l -/* 8011F588 0011C4E8 48 1F 35 ED */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011F58C 0011C4EC 38 61 00 08 */ addi r3, r1, 8 -/* 8011F590 0011C4F0 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8011F594 0011C4F4 48 1F 31 4D */ bl GetInverse__12CTransform4fCFv -/* 8011F598 0011C4F8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8011F59C 0011C4FC 38 81 00 08 */ addi r4, r1, 8 -/* 8011F5A0 0011C500 38 A1 00 C8 */ addi r5, r1, 0xc8 -/* 8011F5A4 0011C504 48 1F 33 AD */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011F5A8 0011C508 38 61 00 38 */ addi r3, r1, 0x38 -/* 8011F5AC 0011C50C 48 1E D1 A1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -/* 8011F5B0 0011C510 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8011F5B4 0011C514 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8011F5B8 0011C518 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8011F5BC 0011C51C 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F5C0 0011C520 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8011F5C4 0011C524 7D 89 03 A6 */ mtctr r12 -/* 8011F5C8 0011C528 4E 80 04 21 */ bctrl -/* 8011F5CC 0011C52C 80 7F 03 9C */ lwz r3, 0x39c(r31) -/* 8011F5D0 0011C530 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F5D4 0011C534 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8011F5D8 0011C538 7D 89 03 A6 */ mtctr r12 -/* 8011F5DC 0011C53C 4E 80 04 21 */ bctrl -/* 8011F5E0 0011C540 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8011F5E4 0011C544 48 1E D1 69 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f -lbl_8011F5E8: -/* 8011F5E8 0011C548 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8011F5EC 0011C54C 83 E1 01 2C */ lwz r31, 0x12c(r1) -/* 8011F5F0 0011C550 7C 08 03 A6 */ mtlr r0 -/* 8011F5F4 0011C554 38 21 01 30 */ addi r1, r1, 0x130 -/* 8011F5F8 0011C558 4E 80 00 20 */ blr - -.global Render__11CGrappleArmCFRC13CStateManagerRC9CVector3fRC11CModelFlagsPC12CActorLights -Render__11CGrappleArmCFRC13CStateManagerRC9CVector3fRC11CModelFlagsPC12CActorLights: -/* 8011F5FC 0011C55C 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 8011F600 0011C560 7C 08 02 A6 */ mflr r0 -/* 8011F604 0011C564 90 01 01 84 */ stw r0, 0x184(r1) -/* 8011F608 0011C568 BF 61 01 6C */ stmw r27, 0x16c(r1) -/* 8011F60C 0011C56C 7C 7C 1B 78 */ mr r28, r3 -/* 8011F610 0011C570 7C 9D 23 78 */ mr r29, r4 -/* 8011F614 0011C574 7C DE 33 78 */ mr r30, r6 -/* 8011F618 0011C578 7C FF 3B 78 */ mr r31, r7 -/* 8011F61C 0011C57C 38 80 00 00 */ li r4, 0 -/* 8011F620 0011C580 88 63 03 B2 */ lbz r3, 0x3b2(r3) -/* 8011F624 0011C584 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8011F628 0011C588 41 82 00 10 */ beq lbl_8011F638 -/* 8011F62C 0011C58C 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 8011F630 0011C590 40 82 00 08 */ bne lbl_8011F638 -/* 8011F634 0011C594 38 80 00 01 */ li r4, 1 -lbl_8011F638: -/* 8011F638 0011C598 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8011F63C 0011C59C 41 82 01 E0 */ beq lbl_8011F81C -/* 8011F640 0011C5A0 7C A4 2B 78 */ mr r4, r5 -/* 8011F644 0011C5A4 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8011F648 0011C5A8 48 1F 3A F9 */ bl Translate__12CTransform4fFRC9CVector3f -/* 8011F64C 0011C5AC 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8011F650 0011C5B0 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 8011F654 0011C5B4 38 BC 02 20 */ addi r5, r28, 0x220 -/* 8011F658 0011C5B8 48 1F 32 F9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011F65C 0011C5BC 38 61 01 08 */ addi r3, r1, 0x108 -/* 8011F660 0011C5C0 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8011F664 0011C5C4 38 BC 02 E0 */ addi r5, r28, 0x2e0 -/* 8011F668 0011C5C8 48 1F 32 E9 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011F66C 0011C5CC 38 61 01 38 */ addi r3, r1, 0x138 -/* 8011F670 0011C5D0 38 81 01 08 */ addi r4, r1, 0x108 -/* 8011F674 0011C5D4 48 1F 35 01 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011F678 0011C5D8 88 1C 00 9C */ lbz r0, 0x9c(r28) -/* 8011F67C 0011C5DC 28 00 00 00 */ cmplwi r0, 0 -/* 8011F680 0011C5E0 41 82 00 18 */ beq lbl_8011F698 -/* 8011F684 0011C5E4 7F 83 E3 78 */ mr r3, r28 -/* 8011F688 0011C5E8 7F A4 EB 78 */ mr r4, r29 -/* 8011F68C 0011C5EC 7F C6 F3 78 */ mr r6, r30 -/* 8011F690 0011C5F0 38 A1 01 38 */ addi r5, r1, 0x138 -/* 8011F694 0011C5F4 4B FF DE A1 */ bl RenderXRayModel__11CGrappleArmFRC13CStateManagerRC12CTransform4fRC11CModelFlags -lbl_8011F698: -/* 8011F698 0011C5F8 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 8011F69C 0011C5FC 80 63 00 00 */ lwz r3, 0(r3) -/* 8011F6A0 0011C600 80 03 00 14 */ lwz r0, 0x14(r3) -/* 8011F6A4 0011C604 20 00 00 01 */ subfic r0, r0, 1 -/* 8011F6A8 0011C608 7C 03 00 34 */ cntlzw r3, r0 -/* 8011F6AC 0011C60C 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 8011F6B0 0011C610 54 7B D9 7E */ srwi r27, r3, 5 -/* 8011F6B4 0011C614 41 82 00 3C */ beq lbl_8011F6F0 -/* 8011F6B8 0011C618 C0 22 97 68 */ lfs f1, lbl_805AB488@sda21(r2) -/* 8011F6BC 0011C61C 38 80 00 05 */ li r4, 5 -/* 8011F6C0 0011C620 38 60 00 00 */ li r3, 0 -/* 8011F6C4 0011C624 38 00 00 03 */ li r0, 3 -/* 8011F6C8 0011C628 FC 40 08 90 */ fmr f2, f1 -/* 8011F6CC 0011C62C 98 81 00 08 */ stb r4, 8(r1) -/* 8011F6D0 0011C630 FC 60 08 90 */ fmr f3, f1 -/* 8011F6D4 0011C634 C0 82 97 9C */ lfs f4, lbl_805AB4BC@sda21(r2) -/* 8011F6D8 0011C638 98 61 00 09 */ stb r3, 9(r1) -/* 8011F6DC 0011C63C 38 61 00 0C */ addi r3, r1, 0xc -/* 8011F6E0 0011C640 B0 01 00 0A */ sth r0, 0xa(r1) -/* 8011F6E4 0011C644 48 24 3D 09 */ bl __ct__6CColorFffff -/* 8011F6E8 0011C648 38 81 00 08 */ addi r4, r1, 8 -/* 8011F6EC 0011C64C 48 00 00 08 */ b lbl_8011F6F4 -lbl_8011F6F0: -/* 8011F6F0 0011C650 7F C4 F3 78 */ mr r4, r30 -lbl_8011F6F4: -/* 8011F6F4 0011C654 88 64 00 00 */ lbz r3, 0(r4) -/* 8011F6F8 0011C658 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 8011F6FC 0011C65C 98 61 00 10 */ stb r3, 0x10(r1) -/* 8011F700 0011C660 88 04 00 01 */ lbz r0, 1(r4) -/* 8011F704 0011C664 98 01 00 11 */ stb r0, 0x11(r1) -/* 8011F708 0011C668 A0 04 00 02 */ lhz r0, 2(r4) -/* 8011F70C 0011C66C B0 01 00 12 */ sth r0, 0x12(r1) -/* 8011F710 0011C670 80 04 00 04 */ lwz r0, 4(r4) -/* 8011F714 0011C674 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011F718 0011C678 41 82 00 0C */ beq lbl_8011F724 -/* 8011F71C 0011C67C 3B C0 00 00 */ li r30, 0 -/* 8011F720 0011C680 48 00 00 08 */ b lbl_8011F728 -lbl_8011F724: -/* 8011F724 0011C684 7F FE FB 78 */ mr r30, r31 -lbl_8011F728: -/* 8011F728 0011C688 80 7C 03 A4 */ lwz r3, 0x3a4(r28) -/* 8011F72C 0011C68C 28 03 00 00 */ cmplwi r3, 0 -/* 8011F730 0011C690 41 82 00 1C */ beq lbl_8011F74C -/* 8011F734 0011C694 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8011F738 0011C698 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8011F73C 0011C69C 41 82 00 10 */ beq lbl_8011F74C -/* 8011F740 0011C6A0 3C 80 80 12 */ lis r4, PointGenerator__11CGrappleArmFPvPC9CVector3fPC9CVector3fi@ha -/* 8011F744 0011C6A4 38 84 D5 0C */ addi r4, r4, PointGenerator__11CGrappleArmFPvPC9CVector3fPC9CVector3fi@l -/* 8011F748 0011C6A8 48 23 2F CD */ bl SetPointGeneratorFunc__13CSkinnedModelFUiPFUiPC9CVector3fPC9CVector3fi_v -lbl_8011F74C: -/* 8011F74C 0011C6AC 7F 83 E3 78 */ mr r3, r28 -/* 8011F750 0011C6B0 7F A4 EB 78 */ mr r4, r29 -/* 8011F754 0011C6B4 7F C6 F3 78 */ mr r6, r30 -/* 8011F758 0011C6B8 38 A1 01 38 */ addi r5, r1, 0x138 -/* 8011F75C 0011C6BC 38 E1 00 10 */ addi r7, r1, 0x10 -/* 8011F760 0011C6C0 4B FF 56 5D */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 8011F764 0011C6C4 80 7C 03 A4 */ lwz r3, 0x3a4(r28) -/* 8011F768 0011C6C8 28 03 00 00 */ cmplwi r3, 0 -/* 8011F76C 0011C6CC 41 82 00 20 */ beq lbl_8011F78C -/* 8011F770 0011C6D0 88 03 00 48 */ lbz r0, 0x48(r3) -/* 8011F774 0011C6D4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8011F778 0011C6D8 41 82 00 14 */ beq lbl_8011F78C -/* 8011F77C 0011C6DC 48 23 2F 8D */ bl ClearPointGeneratorFunc__13CSkinnedModelFv -/* 8011F780 0011C6E0 80 7C 03 A4 */ lwz r3, 0x3a4(r28) -/* 8011F784 0011C6E4 38 81 01 38 */ addi r4, r1, 0x138 -/* 8011F788 0011C6E8 48 14 AC 39 */ bl Draw__20CRainSplashGeneratorCFRC12CTransform4f -lbl_8011F78C: -/* 8011F78C 0011C6EC 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 8011F790 0011C6F0 38 80 00 0C */ li r4, 0xc -/* 8011F794 0011C6F4 80 63 00 00 */ lwz r3, 0(r3) -/* 8011F798 0011C6F8 4B F7 23 29 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8011F79C 0011C6FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011F7A0 0011C700 41 82 00 7C */ beq lbl_8011F81C -/* 8011F7A4 0011C704 38 61 00 78 */ addi r3, r1, 0x78 -/* 8011F7A8 0011C708 38 81 01 38 */ addi r4, r1, 0x138 -/* 8011F7AC 0011C70C 38 BC 02 50 */ addi r5, r28, 0x250 -/* 8011F7B0 0011C710 48 1F 31 A1 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011F7B4 0011C714 7F A4 EB 78 */ mr r4, r29 -/* 8011F7B8 0011C718 7F C6 F3 78 */ mr r6, r30 -/* 8011F7BC 0011C71C 38 7C 00 A0 */ addi r3, r28, 0xa0 -/* 8011F7C0 0011C720 38 A1 00 78 */ addi r5, r1, 0x78 -/* 8011F7C4 0011C724 38 E1 00 10 */ addi r7, r1, 0x10 -/* 8011F7C8 0011C728 4B FF 55 F5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 8011F7CC 0011C72C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8011F7D0 0011C730 38 81 01 38 */ addi r4, r1, 0x138 -/* 8011F7D4 0011C734 38 BC 02 80 */ addi r5, r28, 0x280 -/* 8011F7D8 0011C738 48 1F 31 79 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011F7DC 0011C73C 7F A4 EB 78 */ mr r4, r29 -/* 8011F7E0 0011C740 7F C6 F3 78 */ mr r6, r30 -/* 8011F7E4 0011C744 38 7C 00 EC */ addi r3, r28, 0xec -/* 8011F7E8 0011C748 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8011F7EC 0011C74C 38 E1 00 10 */ addi r7, r1, 0x10 -/* 8011F7F0 0011C750 4B FF 55 CD */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -/* 8011F7F4 0011C754 38 61 00 18 */ addi r3, r1, 0x18 -/* 8011F7F8 0011C758 38 81 01 38 */ addi r4, r1, 0x138 -/* 8011F7FC 0011C75C 38 BC 02 B0 */ addi r5, r28, 0x2b0 -/* 8011F800 0011C760 48 1F 31 51 */ bl __ml__12CTransform4fCFRC12CTransform4f -/* 8011F804 0011C764 7F A4 EB 78 */ mr r4, r29 -/* 8011F808 0011C768 7F C6 F3 78 */ mr r6, r30 -/* 8011F80C 0011C76C 38 7C 01 38 */ addi r3, r28, 0x138 -/* 8011F810 0011C770 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8011F814 0011C774 38 E1 00 10 */ addi r7, r1, 0x10 -/* 8011F818 0011C778 4B FF 55 A5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags -lbl_8011F81C: -/* 8011F81C 0011C77C BB 61 01 6C */ lmw r27, 0x16c(r1) -/* 8011F820 0011C780 80 01 01 84 */ lwz r0, 0x184(r1) -/* 8011F824 0011C784 7C 08 03 A6 */ mtlr r0 -/* 8011F828 0011C788 38 21 01 80 */ addi r1, r1, 0x180 -/* 8011F82C 0011C78C 4E 80 00 20 */ blr - -.global PreRender__11CGrappleArmFR13CStateManagerRC14CFrustumPlanesRC9CVector3f -PreRender__11CGrappleArmFR13CStateManagerRC14CFrustumPlanesRC9CVector3f: -/* 8011F830 0011C790 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011F834 0011C794 7C 08 02 A6 */ mflr r0 -/* 8011F838 0011C798 38 80 00 00 */ li r4, 0 -/* 8011F83C 0011C79C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011F840 0011C7A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011F844 0011C7A4 7C 7F 1B 78 */ mr r31, r3 -/* 8011F848 0011C7A8 88 63 03 B2 */ lbz r3, 0x3b2(r3) -/* 8011F84C 0011C7AC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8011F850 0011C7B0 41 82 00 10 */ beq lbl_8011F860 -/* 8011F854 0011C7B4 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 8011F858 0011C7B8 40 82 00 08 */ bne lbl_8011F860 -/* 8011F85C 0011C7BC 38 80 00 01 */ li r4, 1 -lbl_8011F860: -/* 8011F860 0011C7C0 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8011F864 0011C7C4 41 82 00 20 */ beq lbl_8011F884 -/* 8011F868 0011C7C8 80 7F 00 10 */ lwz r3, 0x10(r31) -/* 8011F86C 0011C7CC 4B F0 D1 99 */ bl PreRender__9CAnimDataFv -/* 8011F870 0011C7D0 88 1F 00 9C */ lbz r0, 0x9c(r31) -/* 8011F874 0011C7D4 28 00 00 00 */ cmplwi r0, 0 -/* 8011F878 0011C7D8 41 82 00 0C */ beq lbl_8011F884 -/* 8011F87C 0011C7DC 80 7F 00 60 */ lwz r3, 0x60(r31) -/* 8011F880 0011C7E0 4B F0 D1 85 */ bl PreRender__9CAnimDataFv -lbl_8011F884: -/* 8011F884 0011C7E4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011F888 0011C7E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011F88C 0011C7EC 7C 08 03 A6 */ mtlr r0 -/* 8011F890 0011C7F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011F894 0011C7F4 4E 80 00 20 */ blr - -.global TouchModel__11CGrappleArmCFRC13CStateManager -TouchModel__11CGrappleArmCFRC13CStateManager: -/* 8011F898 0011C7F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011F89C 0011C7FC 7C 08 02 A6 */ mflr r0 -/* 8011F8A0 0011C800 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011F8A4 0011C804 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011F8A8 0011C808 7C 9F 23 78 */ mr r31, r4 -/* 8011F8AC 0011C80C 38 80 00 00 */ li r4, 0 -/* 8011F8B0 0011C810 93 C1 00 08 */ stw r30, 8(r1) -/* 8011F8B4 0011C814 7C 7E 1B 78 */ mr r30, r3 -/* 8011F8B8 0011C818 88 63 03 B2 */ lbz r3, 0x3b2(r3) -/* 8011F8BC 0011C81C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8011F8C0 0011C820 41 82 00 10 */ beq lbl_8011F8D0 -/* 8011F8C4 0011C824 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 8011F8C8 0011C828 40 82 00 08 */ bne lbl_8011F8D0 -/* 8011F8CC 0011C82C 38 80 00 01 */ li r4, 1 -lbl_8011F8D0: -/* 8011F8D0 0011C830 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8011F8D4 0011C834 41 82 00 78 */ beq lbl_8011F94C -/* 8011F8D8 0011C838 7F C3 F3 78 */ mr r3, r30 -/* 8011F8DC 0011C83C 7F E4 FB 78 */ mr r4, r31 -/* 8011F8E0 0011C840 38 A0 00 00 */ li r5, 0 -/* 8011F8E4 0011C844 4B FF 64 2D */ bl Touch__10CModelDataCFRC13CStateManageri -/* 8011F8E8 0011C848 88 1E 00 9C */ lbz r0, 0x9c(r30) -/* 8011F8EC 0011C84C 28 00 00 00 */ cmplwi r0, 0 -/* 8011F8F0 0011C850 41 82 00 14 */ beq lbl_8011F904 -/* 8011F8F4 0011C854 7F E4 FB 78 */ mr r4, r31 -/* 8011F8F8 0011C858 38 7E 00 50 */ addi r3, r30, 0x50 -/* 8011F8FC 0011C85C 38 A0 00 00 */ li r5, 0 -/* 8011F900 0011C860 4B FF 64 11 */ bl Touch__10CModelDataCFRC13CStateManageri -lbl_8011F904: -/* 8011F904 0011C864 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 8011F908 0011C868 38 80 00 0C */ li r4, 0xc -/* 8011F90C 0011C86C 80 63 00 00 */ lwz r3, 0(r3) -/* 8011F910 0011C870 4B F7 21 B1 */ bl HasPowerUp__12CPlayerStateCFQ212CPlayerState9EItemType -/* 8011F914 0011C874 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8011F918 0011C878 41 82 00 34 */ beq lbl_8011F94C -/* 8011F91C 0011C87C 7F E4 FB 78 */ mr r4, r31 -/* 8011F920 0011C880 38 7E 00 A0 */ addi r3, r30, 0xa0 -/* 8011F924 0011C884 38 A0 00 00 */ li r5, 0 -/* 8011F928 0011C888 4B FF 63 E9 */ bl Touch__10CModelDataCFRC13CStateManageri -/* 8011F92C 0011C88C 7F E4 FB 78 */ mr r4, r31 -/* 8011F930 0011C890 38 7E 00 EC */ addi r3, r30, 0xec -/* 8011F934 0011C894 38 A0 00 00 */ li r5, 0 -/* 8011F938 0011C898 4B FF 63 D9 */ bl Touch__10CModelDataCFRC13CStateManageri -/* 8011F93C 0011C89C 7F E4 FB 78 */ mr r4, r31 -/* 8011F940 0011C8A0 38 7E 01 38 */ addi r3, r30, 0x138 -/* 8011F944 0011C8A4 38 A0 00 00 */ li r5, 0 -/* 8011F948 0011C8A8 4B FF 63 C9 */ bl Touch__10CModelDataCFRC13CStateManageri -lbl_8011F94C: -/* 8011F94C 0011C8AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011F950 0011C8B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011F954 0011C8B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8011F958 0011C8B8 7C 08 03 A6 */ mtlr r0 -/* 8011F95C 0011C8BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011F960 0011C8C0 4E 80 00 20 */ blr - -.global __dt__11CGrappleArmFv -__dt__11CGrappleArmFv: -/* 8011F964 0011C8C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011F968 0011C8C8 7C 08 02 A6 */ mflr r0 -/* 8011F96C 0011C8CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011F970 0011C8D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8011F974 0011C8D4 7C 9F 23 78 */ mr r31, r4 -/* 8011F978 0011C8D8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8011F97C 0011C8DC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8011F980 0011C8E0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8011F984 0011C8E4 93 81 00 20 */ stw r28, 0x20(r1) -/* 8011F988 0011C8E8 41 82 02 68 */ beq lbl_8011FBF0 -/* 8011F98C 0011C8EC 38 7E 03 A4 */ addi r3, r30, 0x3a4 -/* 8011F990 0011C8F0 38 80 FF FF */ li r4, -1 -/* 8011F994 0011C8F4 4B F2 35 E5 */ bl "__dt__Q24rstl34single_ptr<20CRainSplashGenerator>" -/* 8011F998 0011C8F8 34 1E 03 A0 */ addic. r0, r30, 0x3a0 -/* 8011F99C 0011C8FC 41 82 00 24 */ beq lbl_8011F9C0 -/* 8011F9A0 0011C900 80 7E 03 A0 */ lwz r3, 0x3a0(r30) -/* 8011F9A4 0011C904 28 03 00 00 */ cmplwi r3, 0 -/* 8011F9A8 0011C908 41 82 00 18 */ beq lbl_8011F9C0 -/* 8011F9AC 0011C90C 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F9B0 0011C910 38 80 00 01 */ li r4, 1 -/* 8011F9B4 0011C914 81 8C 00 08 */ lwz r12, 8(r12) -/* 8011F9B8 0011C918 7D 89 03 A6 */ mtctr r12 -/* 8011F9BC 0011C91C 4E 80 04 21 */ bctrl -lbl_8011F9C0: -/* 8011F9C0 0011C920 34 1E 03 9C */ addic. r0, r30, 0x39c -/* 8011F9C4 0011C924 41 82 00 24 */ beq lbl_8011F9E8 -/* 8011F9C8 0011C928 80 7E 03 9C */ lwz r3, 0x39c(r30) -/* 8011F9CC 0011C92C 28 03 00 00 */ cmplwi r3, 0 -/* 8011F9D0 0011C930 41 82 00 18 */ beq lbl_8011F9E8 -/* 8011F9D4 0011C934 81 83 00 00 */ lwz r12, 0(r3) -/* 8011F9D8 0011C938 38 80 00 01 */ li r4, 1 -/* 8011F9DC 0011C93C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8011F9E0 0011C940 7D 89 03 A6 */ mtctr r12 -/* 8011F9E4 0011C944 4E 80 04 21 */ bctrl -lbl_8011F9E8: -/* 8011F9E8 0011C948 34 1E 03 98 */ addic. r0, r30, 0x398 -/* 8011F9EC 0011C94C 41 82 00 24 */ beq lbl_8011FA10 -/* 8011F9F0 0011C950 80 7E 03 98 */ lwz r3, 0x398(r30) -/* 8011F9F4 0011C954 28 03 00 00 */ cmplwi r3, 0 -/* 8011F9F8 0011C958 41 82 00 18 */ beq lbl_8011FA10 -/* 8011F9FC 0011C95C 81 83 00 00 */ lwz r12, 0(r3) -/* 8011FA00 0011C960 38 80 00 01 */ li r4, 1 -/* 8011FA04 0011C964 81 8C 00 08 */ lwz r12, 8(r12) -/* 8011FA08 0011C968 7D 89 03 A6 */ mtctr r12 -/* 8011FA0C 0011C96C 4E 80 04 21 */ bctrl -lbl_8011FA10: -/* 8011FA10 0011C970 34 1E 03 94 */ addic. r0, r30, 0x394 -/* 8011FA14 0011C974 41 82 00 24 */ beq lbl_8011FA38 -/* 8011FA18 0011C978 80 7E 03 94 */ lwz r3, 0x394(r30) -/* 8011FA1C 0011C97C 28 03 00 00 */ cmplwi r3, 0 -/* 8011FA20 0011C980 41 82 00 18 */ beq lbl_8011FA38 -/* 8011FA24 0011C984 81 83 00 00 */ lwz r12, 0(r3) -/* 8011FA28 0011C988 38 80 00 01 */ li r4, 1 -/* 8011FA2C 0011C98C 81 8C 00 08 */ lwz r12, 8(r12) -/* 8011FA30 0011C990 7D 89 03 A6 */ mtctr r12 -/* 8011FA34 0011C994 4E 80 04 21 */ bctrl -lbl_8011FA38: -/* 8011FA38 0011C998 34 1E 03 90 */ addic. r0, r30, 0x390 -/* 8011FA3C 0011C99C 41 82 00 24 */ beq lbl_8011FA60 -/* 8011FA40 0011C9A0 80 7E 03 90 */ lwz r3, 0x390(r30) -/* 8011FA44 0011C9A4 28 03 00 00 */ cmplwi r3, 0 -/* 8011FA48 0011C9A8 41 82 00 18 */ beq lbl_8011FA60 -/* 8011FA4C 0011C9AC 81 83 00 00 */ lwz r12, 0(r3) -/* 8011FA50 0011C9B0 38 80 00 01 */ li r4, 1 -/* 8011FA54 0011C9B4 81 8C 00 08 */ lwz r12, 8(r12) -/* 8011FA58 0011C9B8 7D 89 03 A6 */ mtctr r12 -/* 8011FA5C 0011C9BC 4E 80 04 21 */ bctrl -lbl_8011FA60: -/* 8011FA60 0011C9C0 34 1E 03 84 */ addic. r0, r30, 0x384 -/* 8011FA64 0011C9C4 41 82 00 18 */ beq lbl_8011FA7C -/* 8011FA68 0011C9C8 34 1E 03 84 */ addic. r0, r30, 0x384 -/* 8011FA6C 0011C9CC 41 82 00 10 */ beq lbl_8011FA7C -/* 8011FA70 0011C9D0 38 7E 03 84 */ addi r3, r30, 0x384 -/* 8011FA74 0011C9D4 38 80 00 00 */ li r4, 0 -/* 8011FA78 0011C9D8 48 22 13 C9 */ bl __dt__6CTokenFv -lbl_8011FA7C: -/* 8011FA7C 0011C9DC 34 1E 03 78 */ addic. r0, r30, 0x378 -/* 8011FA80 0011C9E0 41 82 00 18 */ beq lbl_8011FA98 -/* 8011FA84 0011C9E4 34 1E 03 78 */ addic. r0, r30, 0x378 -/* 8011FA88 0011C9E8 41 82 00 10 */ beq lbl_8011FA98 -/* 8011FA8C 0011C9EC 38 7E 03 78 */ addi r3, r30, 0x378 -/* 8011FA90 0011C9F0 38 80 00 00 */ li r4, 0 -/* 8011FA94 0011C9F4 48 22 13 AD */ bl __dt__6CTokenFv -lbl_8011FA98: -/* 8011FA98 0011C9F8 34 1E 03 6C */ addic. r0, r30, 0x36c -/* 8011FA9C 0011C9FC 41 82 00 18 */ beq lbl_8011FAB4 -/* 8011FAA0 0011CA00 34 1E 03 6C */ addic. r0, r30, 0x36c -/* 8011FAA4 0011CA04 41 82 00 10 */ beq lbl_8011FAB4 -/* 8011FAA8 0011CA08 38 7E 03 6C */ addi r3, r30, 0x36c -/* 8011FAAC 0011CA0C 38 80 00 00 */ li r4, 0 -/* 8011FAB0 0011CA10 48 22 13 91 */ bl __dt__6CTokenFv -lbl_8011FAB4: -/* 8011FAB4 0011CA14 34 1E 03 60 */ addic. r0, r30, 0x360 -/* 8011FAB8 0011CA18 41 82 00 18 */ beq lbl_8011FAD0 -/* 8011FABC 0011CA1C 34 1E 03 60 */ addic. r0, r30, 0x360 -/* 8011FAC0 0011CA20 41 82 00 10 */ beq lbl_8011FAD0 -/* 8011FAC4 0011CA24 38 7E 03 60 */ addi r3, r30, 0x360 -/* 8011FAC8 0011CA28 38 80 00 00 */ li r4, 0 -/* 8011FACC 0011CA2C 48 22 13 75 */ bl __dt__6CTokenFv -lbl_8011FAD0: -/* 8011FAD0 0011CA30 34 1E 03 54 */ addic. r0, r30, 0x354 -/* 8011FAD4 0011CA34 41 82 00 18 */ beq lbl_8011FAEC -/* 8011FAD8 0011CA38 34 1E 03 54 */ addic. r0, r30, 0x354 -/* 8011FADC 0011CA3C 41 82 00 10 */ beq lbl_8011FAEC -/* 8011FAE0 0011CA40 38 7E 03 54 */ addi r3, r30, 0x354 -/* 8011FAE4 0011CA44 38 80 00 00 */ li r4, 0 -/* 8011FAE8 0011CA48 48 22 13 59 */ bl __dt__6CTokenFv -lbl_8011FAEC: -/* 8011FAEC 0011CA4C 38 7E 03 28 */ addi r3, r30, 0x328 -/* 8011FAF0 0011CA50 38 80 FF FF */ li r4, -1 -/* 8011FAF4 0011CA54 48 00 02 15 */ bl "__dt__Q24rstl28single_ptr<14CGunController>Fv" -/* 8011FAF8 0011CA58 38 7E 01 9C */ addi r3, r30, 0x19c -/* 8011FAFC 0011CA5C 38 80 FF FF */ li r4, -1 -/* 8011FB00 0011CA60 48 00 01 15 */ bl sub_8011fc14 -/* 8011FB04 0011CA64 34 1E 01 8C */ addic. r0, r30, 0x18c -/* 8011FB08 0011CA68 41 82 00 50 */ beq lbl_8011FB58 -/* 8011FB0C 0011CA6C 80 1E 01 90 */ lwz r0, 0x190(r30) -/* 8011FB10 0011CA70 83 9E 01 98 */ lwz r28, 0x198(r30) -/* 8011FB14 0011CA74 54 00 18 38 */ slwi r0, r0, 3 -/* 8011FB18 0011CA78 7F BC 02 14 */ add r29, r28, r0 -/* 8011FB1C 0011CA7C 93 81 00 0C */ stw r28, 0xc(r1) -/* 8011FB20 0011CA80 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8011FB24 0011CA84 93 A1 00 10 */ stw r29, 0x10(r1) -/* 8011FB28 0011CA88 93 81 00 08 */ stw r28, 8(r1) -/* 8011FB2C 0011CA8C 48 00 00 14 */ b lbl_8011FB40 -lbl_8011FB30: -/* 8011FB30 0011CA90 7F 83 E3 78 */ mr r3, r28 -/* 8011FB34 0011CA94 38 80 FF FF */ li r4, -1 -/* 8011FB38 0011CA98 48 22 13 09 */ bl __dt__6CTokenFv -/* 8011FB3C 0011CA9C 3B 9C 00 08 */ addi r28, r28, 8 -lbl_8011FB40: -/* 8011FB40 0011CAA0 7C 1C E8 40 */ cmplw r28, r29 -/* 8011FB44 0011CAA4 40 82 FF EC */ bne lbl_8011FB30 -/* 8011FB48 0011CAA8 80 7E 01 98 */ lwz r3, 0x198(r30) -/* 8011FB4C 0011CAAC 28 03 00 00 */ cmplwi r3, 0 -/* 8011FB50 0011CAB0 41 82 00 08 */ beq lbl_8011FB58 -/* 8011FB54 0011CAB4 48 1F 5D DD */ bl Free__7CMemoryFPCv -lbl_8011FB58: -/* 8011FB58 0011CAB8 34 1E 01 84 */ addic. r0, r30, 0x184 -/* 8011FB5C 0011CABC 41 82 00 10 */ beq lbl_8011FB6C -/* 8011FB60 0011CAC0 38 7E 01 84 */ addi r3, r30, 0x184 -/* 8011FB64 0011CAC4 38 80 00 00 */ li r4, 0 -/* 8011FB68 0011CAC8 48 22 12 D9 */ bl __dt__6CTokenFv -lbl_8011FB6C: -/* 8011FB6C 0011CACC 38 7E 01 38 */ addi r3, r30, 0x138 -/* 8011FB70 0011CAD0 38 80 FF FF */ li r4, -1 -/* 8011FB74 0011CAD4 4B FF 6E D9 */ bl __dt__10CModelDataFv -/* 8011FB78 0011CAD8 38 7E 00 EC */ addi r3, r30, 0xec -/* 8011FB7C 0011CADC 38 80 FF FF */ li r4, -1 -/* 8011FB80 0011CAE0 4B FF 6E CD */ bl __dt__10CModelDataFv -/* 8011FB84 0011CAE4 38 7E 00 A0 */ addi r3, r30, 0xa0 -/* 8011FB88 0011CAE8 38 80 FF FF */ li r4, -1 -/* 8011FB8C 0011CAEC 4B FF 6E C1 */ bl __dt__10CModelDataFv -/* 8011FB90 0011CAF0 34 1E 00 50 */ addic. r0, r30, 0x50 -/* 8011FB94 0011CAF4 41 82 00 24 */ beq lbl_8011FBB8 -/* 8011FB98 0011CAF8 88 1E 00 9C */ lbz r0, 0x9c(r30) -/* 8011FB9C 0011CAFC 28 00 00 00 */ cmplwi r0, 0 -/* 8011FBA0 0011CB00 41 82 00 10 */ beq lbl_8011FBB0 -/* 8011FBA4 0011CB04 38 7E 00 50 */ addi r3, r30, 0x50 -/* 8011FBA8 0011CB08 38 80 FF FF */ li r4, -1 -/* 8011FBAC 0011CB0C 4B FF 6E A1 */ bl __dt__10CModelDataFv -lbl_8011FBB0: -/* 8011FBB0 0011CB10 38 00 00 00 */ li r0, 0 -/* 8011FBB4 0011CB14 98 1E 00 9C */ stb r0, 0x9c(r30) -lbl_8011FBB8: -/* 8011FBB8 0011CB18 28 1E 00 00 */ cmplwi r30, 0 -/* 8011FBBC 0011CB1C 41 82 00 24 */ beq lbl_8011FBE0 -/* 8011FBC0 0011CB20 88 1E 00 4C */ lbz r0, 0x4c(r30) -/* 8011FBC4 0011CB24 28 00 00 00 */ cmplwi r0, 0 -/* 8011FBC8 0011CB28 41 82 00 10 */ beq lbl_8011FBD8 -/* 8011FBCC 0011CB2C 7F C3 F3 78 */ mr r3, r30 -/* 8011FBD0 0011CB30 38 80 FF FF */ li r4, -1 -/* 8011FBD4 0011CB34 4B FF 6E 79 */ bl __dt__10CModelDataFv -lbl_8011FBD8: -/* 8011FBD8 0011CB38 38 00 00 00 */ li r0, 0 -/* 8011FBDC 0011CB3C 98 1E 00 4C */ stb r0, 0x4c(r30) -lbl_8011FBE0: -/* 8011FBE0 0011CB40 7F E0 07 35 */ extsh. r0, r31 -/* 8011FBE4 0011CB44 40 81 00 0C */ ble lbl_8011FBF0 -/* 8011FBE8 0011CB48 7F C3 F3 78 */ mr r3, r30 -/* 8011FBEC 0011CB4C 48 1F 5D 45 */ bl Free__7CMemoryFPCv -lbl_8011FBF0: -/* 8011FBF0 0011CB50 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011FBF4 0011CB54 7F C3 F3 78 */ mr r3, r30 -/* 8011FBF8 0011CB58 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8011FBFC 0011CB5C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8011FC00 0011CB60 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8011FC04 0011CB64 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8011FC08 0011CB68 7C 08 03 A6 */ mtlr r0 -/* 8011FC0C 0011CB6C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011FC10 0011CB70 4E 80 00 20 */ blr - -.global sub_8011fc14 -sub_8011fc14: -/* 8011FC14 0011CB74 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011FC18 0011CB78 7C 08 02 A6 */ mflr r0 -/* 8011FC1C 0011CB7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011FC20 0011CB80 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011FC24 0011CB84 7C 9F 23 78 */ mr r31, r4 -/* 8011FC28 0011CB88 93 C1 00 08 */ stw r30, 8(r1) -/* 8011FC2C 0011CB8C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8011FC30 0011CB90 41 82 00 18 */ beq lbl_8011FC48 -/* 8011FC34 0011CB94 48 00 00 31 */ bl "clear__Q24rstl70reserved_vector,4>Fv" -/* 8011FC38 0011CB98 7F E0 07 35 */ extsh. r0, r31 -/* 8011FC3C 0011CB9C 40 81 00 0C */ ble lbl_8011FC48 -/* 8011FC40 0011CBA0 7F C3 F3 78 */ mr r3, r30 -/* 8011FC44 0011CBA4 48 1F 5C ED */ bl Free__7CMemoryFPCv -lbl_8011FC48: -/* 8011FC48 0011CBA8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011FC4C 0011CBAC 7F C3 F3 78 */ mr r3, r30 -/* 8011FC50 0011CBB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011FC54 0011CBB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8011FC58 0011CBB8 7C 08 03 A6 */ mtlr r0 -/* 8011FC5C 0011CBBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011FC60 0011CBC0 4E 80 00 20 */ blr - -.global "clear__Q24rstl70reserved_vector,4>Fv" -"clear__Q24rstl70reserved_vector,4>Fv": -/* 8011FC64 0011CBC4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8011FC68 0011CBC8 7C 08 02 A6 */ mflr r0 -/* 8011FC6C 0011CBCC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8011FC70 0011CBD0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 8011FC74 0011CBD4 7C 7B 1B 78 */ mr r27, r3 -/* 8011FC78 0011CBD8 3B 80 00 00 */ li r28, 0 -/* 8011FC7C 0011CBDC 3B DB 00 04 */ addi r30, r27, 4 -/* 8011FC80 0011CBE0 48 00 00 60 */ b lbl_8011FCE0 -lbl_8011FC84: -/* 8011FC84 0011CBE4 28 1E 00 00 */ cmplwi r30, 0 -/* 8011FC88 0011CBE8 41 82 00 50 */ beq lbl_8011FCD8 -/* 8011FC8C 0011CBEC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8011FC90 0011CBF0 83 BE 00 0C */ lwz r29, 0xc(r30) -/* 8011FC94 0011CBF4 54 00 18 38 */ slwi r0, r0, 3 -/* 8011FC98 0011CBF8 7F FD 02 14 */ add r31, r29, r0 -/* 8011FC9C 0011CBFC 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8011FCA0 0011CC00 93 E1 00 14 */ stw r31, 0x14(r1) -/* 8011FCA4 0011CC04 93 E1 00 10 */ stw r31, 0x10(r1) -/* 8011FCA8 0011CC08 93 A1 00 08 */ stw r29, 8(r1) -/* 8011FCAC 0011CC0C 48 00 00 14 */ b lbl_8011FCC0 -lbl_8011FCB0: -/* 8011FCB0 0011CC10 7F A3 EB 78 */ mr r3, r29 -/* 8011FCB4 0011CC14 38 80 FF FF */ li r4, -1 -/* 8011FCB8 0011CC18 48 22 11 89 */ bl __dt__6CTokenFv -/* 8011FCBC 0011CC1C 3B BD 00 08 */ addi r29, r29, 8 -lbl_8011FCC0: -/* 8011FCC0 0011CC20 7C 1D F8 40 */ cmplw r29, r31 -/* 8011FCC4 0011CC24 40 82 FF EC */ bne lbl_8011FCB0 -/* 8011FCC8 0011CC28 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8011FCCC 0011CC2C 28 03 00 00 */ cmplwi r3, 0 -/* 8011FCD0 0011CC30 41 82 00 08 */ beq lbl_8011FCD8 -/* 8011FCD4 0011CC34 48 1F 5C 5D */ bl Free__7CMemoryFPCv -lbl_8011FCD8: -/* 8011FCD8 0011CC38 3B DE 00 10 */ addi r30, r30, 0x10 -/* 8011FCDC 0011CC3C 3B 9C 00 01 */ addi r28, r28, 1 -lbl_8011FCE0: -/* 8011FCE0 0011CC40 80 1B 00 00 */ lwz r0, 0(r27) -/* 8011FCE4 0011CC44 7C 1C 00 00 */ cmpw r28, r0 -/* 8011FCE8 0011CC48 41 80 FF 9C */ blt lbl_8011FC84 -/* 8011FCEC 0011CC4C 38 00 00 00 */ li r0, 0 -/* 8011FCF0 0011CC50 90 1B 00 00 */ stw r0, 0(r27) -/* 8011FCF4 0011CC54 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 8011FCF8 0011CC58 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8011FCFC 0011CC5C 7C 08 03 A6 */ mtlr r0 -/* 8011FD00 0011CC60 38 21 00 30 */ addi r1, r1, 0x30 -/* 8011FD04 0011CC64 4E 80 00 20 */ blr - -.global "__dt__Q24rstl28single_ptr<14CGunController>Fv" -"__dt__Q24rstl28single_ptr<14CGunController>Fv": -/* 8011FD08 0011CC68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8011FD0C 0011CC6C 7C 08 02 A6 */ mflr r0 -/* 8011FD10 0011CC70 90 01 00 14 */ stw r0, 0x14(r1) -/* 8011FD14 0011CC74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8011FD18 0011CC78 7C 9F 23 78 */ mr r31, r4 -/* 8011FD1C 0011CC7C 93 C1 00 08 */ stw r30, 8(r1) -/* 8011FD20 0011CC80 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8011FD24 0011CC84 41 82 00 20 */ beq lbl_8011FD44 -/* 8011FD28 0011CC88 80 7E 00 00 */ lwz r3, 0(r30) -/* 8011FD2C 0011CC8C 38 80 00 01 */ li r4, 1 -/* 8011FD30 0011CC90 4B FF DD ED */ bl __dt__14CGunControllerFv -/* 8011FD34 0011CC94 7F E0 07 35 */ extsh. r0, r31 -/* 8011FD38 0011CC98 40 81 00 0C */ ble lbl_8011FD44 -/* 8011FD3C 0011CC9C 7F C3 F3 78 */ mr r3, r30 -/* 8011FD40 0011CCA0 48 1F 5B F1 */ bl Free__7CMemoryFPCv -lbl_8011FD44: -/* 8011FD44 0011CCA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8011FD48 0011CCA8 7F C3 F3 78 */ mr r3, r30 -/* 8011FD4C 0011CCAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8011FD50 0011CCB0 83 C1 00 08 */ lwz r30, 8(r1) -/* 8011FD54 0011CCB4 7C 08 03 A6 */ mtlr r0 -/* 8011FD58 0011CCB8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8011FD5C 0011CCBC 4E 80 00 20 */ blr - -.global __ct__11CGrappleArmFRC9CVector3f -__ct__11CGrappleArmFRC9CVector3f: -/* 8011FD60 0011CCC0 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8011FD64 0011CCC4 7C 08 02 A6 */ mflr r0 -/* 8011FD68 0011CCC8 80 C2 83 F0 */ lwz r6, lbl_805AA110@sda21(r2) -/* 8011FD6C 0011CCCC 90 01 01 44 */ stw r0, 0x144(r1) -/* 8011FD70 0011CCD0 38 00 00 29 */ li r0, 0x29 -/* 8011FD74 0011CCD4 93 E1 01 3C */ stw r31, 0x13c(r1) -/* 8011FD78 0011CCD8 7C 7F 1B 78 */ mr r31, r3 -/* 8011FD7C 0011CCDC 38 61 00 DC */ addi r3, r1, 0xdc -/* 8011FD80 0011CCE0 93 C1 01 38 */ stw r30, 0x138(r1) -/* 8011FD84 0011CCE4 7C 9E 23 78 */ mr r30, r4 -/* 8011FD88 0011CCE8 93 A1 01 34 */ stw r29, 0x134(r1) -/* 8011FD8C 0011CCEC 93 81 01 30 */ stw r28, 0x130(r1) -/* 8011FD90 0011CCF0 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 8011FD94 0011CCF4 C0 44 00 00 */ lfs f2, 0(r4) -/* 8011FD98 0011CCF8 80 E5 00 08 */ lwz r7, 8(r5) -/* 8011FD9C 0011CCFC 38 A0 00 00 */ li r5, 0 -/* 8011FDA0 0011CD00 C0 24 00 04 */ lfs f1, 4(r4) -/* 8011FDA4 0011CD04 C0 04 00 08 */ lfs f0, 8(r4) -/* 8011FDA8 0011CD08 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 8011FDAC 0011CD0C 90 E1 00 C0 */ stw r7, 0xc0(r1) -/* 8011FDB0 0011CD10 90 C1 00 C4 */ stw r6, 0xc4(r1) -/* 8011FDB4 0011CD14 D0 41 00 C8 */ stfs f2, 0xc8(r1) -/* 8011FDB8 0011CD18 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 8011FDBC 0011CD1C D0 01 00 D0 */ stfs f0, 0xd0(r1) -/* 8011FDC0 0011CD20 98 A1 00 D4 */ stb r5, 0xd4(r1) -/* 8011FDC4 0011CD24 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 8011FDC8 0011CD28 4B FF 6D 8D */ bl __ct__10CModelDataFRC8CAnimRes -/* 8011FDCC 0011CD2C 7F E3 FB 78 */ mr r3, r31 -/* 8011FDD0 0011CD30 38 81 00 DC */ addi r4, r1, 0xdc -/* 8011FDD4 0011CD34 4B FC 84 C5 */ bl sub_800e8298 -/* 8011FDD8 0011CD38 38 61 00 DC */ addi r3, r1, 0xdc -/* 8011FDDC 0011CD3C 38 80 FF FF */ li r4, -1 -/* 8011FDE0 0011CD40 4B FF 6C 6D */ bl __dt__10CModelDataFv -/* 8011FDE4 0011CD44 38 00 00 00 */ li r0, 0 -/* 8011FDE8 0011CD48 80 62 97 48 */ lwz r3, lbl_805AB468@sda21(r2) -/* 8011FDEC 0011CD4C 98 1F 00 9C */ stb r0, 0x9c(r31) -/* 8011FDF0 0011CD50 48 16 B6 59 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 8011FDF4 0011CD54 C0 5E 00 00 */ lfs f2, 0(r30) -/* 8011FDF8 0011CD58 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 8011FDFC 0011CD5C C0 3E 00 04 */ lfs f1, 4(r30) -/* 8011FE00 0011CD60 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8011FE04 0011CD64 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 8011FE08 0011CD68 38 7F 00 A0 */ addi r3, r31, 0xa0 -/* 8011FE0C 0011CD6C D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 8011FE10 0011CD70 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 8011FE14 0011CD74 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 8011FE18 0011CD78 4B FF 6F 45 */ bl __ct__10CModelDataFRC10CStaticRes -/* 8011FE1C 0011CD7C 80 62 97 4C */ lwz r3, lbl_805AB46C@sda21(r2) -/* 8011FE20 0011CD80 48 16 B6 29 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 8011FE24 0011CD84 C0 5E 00 00 */ lfs f2, 0(r30) -/* 8011FE28 0011CD88 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 8011FE2C 0011CD8C C0 3E 00 04 */ lfs f1, 4(r30) -/* 8011FE30 0011CD90 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8011FE34 0011CD94 90 61 00 A0 */ stw r3, 0xa0(r1) -/* 8011FE38 0011CD98 38 7F 00 EC */ addi r3, r31, 0xec -/* 8011FE3C 0011CD9C D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 8011FE40 0011CDA0 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 8011FE44 0011CDA4 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 8011FE48 0011CDA8 4B FF 6F 15 */ bl __ct__10CModelDataFRC10CStaticRes -/* 8011FE4C 0011CDAC 80 62 97 50 */ lwz r3, lbl_805AB470@sda21(r2) -/* 8011FE50 0011CDB0 48 16 B5 F9 */ bl get_asset_id_from_name__12NWeaponTypesFPCc -/* 8011FE54 0011CDB4 C0 5E 00 00 */ lfs f2, 0(r30) -/* 8011FE58 0011CDB8 38 81 00 90 */ addi r4, r1, 0x90 -/* 8011FE5C 0011CDBC C0 3E 00 04 */ lfs f1, 4(r30) -/* 8011FE60 0011CDC0 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8011FE64 0011CDC4 90 61 00 90 */ stw r3, 0x90(r1) -/* 8011FE68 0011CDC8 38 7F 01 38 */ addi r3, r31, 0x138 -/* 8011FE6C 0011CDCC D0 41 00 94 */ stfs f2, 0x94(r1) -/* 8011FE70 0011CDD0 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8011FE74 0011CDD4 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8011FE78 0011CDD8 4B FF 6E E5 */ bl __ct__10CModelDataFRC10CStaticRes -/* 8011FE7C 0011CDDC 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 8011FE80 0011CDE0 3C 60 41 4E */ lis r3, 0x414E4353@ha -/* 8011FE84 0011CDE4 38 03 43 53 */ addi r0, r3, 0x414E4353@l -/* 8011FE88 0011CDE8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8011FE8C 0011CDEC 80 C5 00 08 */ lwz r6, 8(r5) -/* 8011FE90 0011CDF0 38 61 00 80 */ addi r3, r1, 0x80 -/* 8011FE94 0011CDF4 38 A1 00 88 */ addi r5, r1, 0x88 -/* 8011FE98 0011CDF8 90 01 00 88 */ stw r0, 0x88(r1) -/* 8011FE9C 0011CDFC 90 C1 00 8C */ stw r6, 0x8c(r1) -/* 8011FEA0 0011CE00 81 84 00 00 */ lwz r12, 0(r4) -/* 8011FEA4 0011CE04 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011FEA8 0011CE08 7D 89 03 A6 */ mtctr r12 -/* 8011FEAC 0011CE0C 4E 80 04 21 */ bctrl -/* 8011FEB0 0011CE10 38 7F 01 84 */ addi r3, r31, 0x184 -/* 8011FEB4 0011CE14 38 81 00 80 */ addi r4, r1, 0x80 -/* 8011FEB8 0011CE18 48 22 0F F1 */ bl __ct__6CTokenFRC6CToken -/* 8011FEBC 0011CE1C 38 61 00 80 */ addi r3, r1, 0x80 -/* 8011FEC0 0011CE20 38 80 FF FF */ li r4, -1 -/* 8011FEC4 0011CE24 48 22 0F 7D */ bl __dt__6CTokenFv -/* 8011FEC8 0011CE28 38 00 00 00 */ li r0, 0 -/* 8011FECC 0011CE2C 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8011FED0 0011CE30 90 1F 01 90 */ stw r0, 0x190(r31) -/* 8011FED4 0011CE34 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 8011FED8 0011CE38 38 7F 02 20 */ addi r3, r31, 0x220 -/* 8011FEDC 0011CE3C 90 1F 01 94 */ stw r0, 0x194(r31) -/* 8011FEE0 0011CE40 90 1F 01 98 */ stw r0, 0x198(r31) -/* 8011FEE4 0011CE44 90 1F 01 9C */ stw r0, 0x19c(r31) -/* 8011FEE8 0011CE48 48 1F 2C 8D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011FEEC 0011CE4C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8011FEF0 0011CE50 38 7F 02 50 */ addi r3, r31, 0x250 -/* 8011FEF4 0011CE54 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8011FEF8 0011CE58 48 1F 2C 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011FEFC 0011CE5C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8011FF00 0011CE60 38 7F 02 80 */ addi r3, r31, 0x280 -/* 8011FF04 0011CE64 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8011FF08 0011CE68 48 1F 2C 6D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011FF0C 0011CE6C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8011FF10 0011CE70 38 7F 02 B0 */ addi r3, r31, 0x2b0 -/* 8011FF14 0011CE74 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8011FF18 0011CE78 48 1F 2C 5D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011FF1C 0011CE7C 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8011FF20 0011CE80 38 7F 02 E0 */ addi r3, r31, 0x2e0 -/* 8011FF24 0011CE84 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8011FF28 0011CE88 48 1F 2C 4D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8011FF2C 0011CE8C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8011FF30 0011CE90 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 8011FF34 0011CE94 38 E4 66 A0 */ addi r7, r4, skZero3f@l -/* 8011FF38 0011CE98 38 C0 00 00 */ li r6, 0 -/* 8011FF3C 0011CE9C C0 27 00 00 */ lfs f1, 0(r7) -/* 8011FF40 0011CEA0 38 80 00 0A */ li r4, 0xa -/* 8011FF44 0011CEA4 C0 02 97 64 */ lfs f0, lbl_805AB484@sda21(r2) -/* 8011FF48 0011CEA8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8011FF4C 0011CEAC D0 3F 03 10 */ stfs f1, 0x310(r31) -/* 8011FF50 0011CEB0 38 61 00 70 */ addi r3, r1, 0x70 -/* 8011FF54 0011CEB4 38 A1 00 78 */ addi r5, r1, 0x78 -/* 8011FF58 0011CEB8 C0 27 00 04 */ lfs f1, 4(r7) -/* 8011FF5C 0011CEBC D0 3F 03 14 */ stfs f1, 0x314(r31) -/* 8011FF60 0011CEC0 C0 27 00 08 */ lfs f1, 8(r7) -/* 8011FF64 0011CEC4 D0 3F 03 18 */ stfs f1, 0x318(r31) -/* 8011FF68 0011CEC8 C0 3E 00 00 */ lfs f1, 0(r30) -/* 8011FF6C 0011CECC D0 3F 03 1C */ stfs f1, 0x31c(r31) -/* 8011FF70 0011CED0 C0 3E 00 04 */ lfs f1, 4(r30) -/* 8011FF74 0011CED4 D0 3F 03 20 */ stfs f1, 0x320(r31) -/* 8011FF78 0011CED8 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8011FF7C 0011CEDC D0 3F 03 24 */ stfs f1, 0x324(r31) -/* 8011FF80 0011CEE0 90 DF 03 28 */ stw r6, 0x328(r31) -/* 8011FF84 0011CEE4 90 DF 03 2C */ stw r6, 0x32c(r31) -/* 8011FF88 0011CEE8 90 DF 03 30 */ stw r6, 0x330(r31) -/* 8011FF8C 0011CEEC 90 9F 03 34 */ stw r4, 0x334(r31) -/* 8011FF90 0011CEF0 D0 1F 03 38 */ stfs f0, 0x338(r31) -/* 8011FF94 0011CEF4 D0 1F 03 3C */ stfs f0, 0x33c(r31) -/* 8011FF98 0011CEF8 D0 1F 03 40 */ stfs f0, 0x340(r31) -/* 8011FF9C 0011CEFC D0 1F 03 44 */ stfs f0, 0x344(r31) -/* 8011FFA0 0011CF00 D0 1F 03 48 */ stfs f0, 0x348(r31) -/* 8011FFA4 0011CF04 A0 8D 8A 88 */ lhz r4, lbl_805A7648@sda21(r13) -/* 8011FFA8 0011CF08 B0 9F 03 4C */ sth r4, 0x34c(r31) -/* 8011FFAC 0011CF0C 90 DF 03 50 */ stw r6, 0x350(r31) -/* 8011FFB0 0011CF10 80 CD A1 48 */ lwz r6, gpTweakGunRes@sda21(r13) -/* 8011FFB4 0011CF14 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8011FFB8 0011CF18 80 C6 00 B4 */ lwz r6, 0xb4(r6) -/* 8011FFBC 0011CF1C 90 01 00 78 */ stw r0, 0x78(r1) -/* 8011FFC0 0011CF20 90 C1 00 7C */ stw r6, 0x7c(r1) -/* 8011FFC4 0011CF24 81 84 00 00 */ lwz r12, 0(r4) -/* 8011FFC8 0011CF28 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8011FFCC 0011CF2C 7D 89 03 A6 */ mtctr r12 -/* 8011FFD0 0011CF30 4E 80 04 21 */ bctrl -/* 8011FFD4 0011CF34 3B 9F 03 54 */ addi r28, r31, 0x354 -/* 8011FFD8 0011CF38 38 81 00 70 */ addi r4, r1, 0x70 -/* 8011FFDC 0011CF3C 7F 83 E3 78 */ mr r3, r28 -/* 8011FFE0 0011CF40 48 22 0E C9 */ bl __ct__6CTokenFRC6CToken -/* 8011FFE4 0011CF44 7F 83 E3 78 */ mr r3, r28 -/* 8011FFE8 0011CF48 48 22 0E 25 */ bl GetObj__6CTokenFv -/* 8011FFEC 0011CF4C 80 03 00 04 */ lwz r0, 4(r3) -/* 8011FFF0 0011CF50 38 61 00 70 */ addi r3, r1, 0x70 -/* 8011FFF4 0011CF54 38 80 FF FF */ li r4, -1 -/* 8011FFF8 0011CF58 90 1C 00 08 */ stw r0, 8(r28) -/* 8011FFFC 0011CF5C 48 22 0E 45 */ bl __dt__6CTokenFv -/* 80120000 0011CF60 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 80120004 0011CF64 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80120008 0011CF68 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8012000C 0011CF6C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80120010 0011CF70 80 C5 00 B8 */ lwz r6, 0xb8(r5) -/* 80120014 0011CF74 38 61 00 60 */ addi r3, r1, 0x60 -/* 80120018 0011CF78 38 A1 00 68 */ addi r5, r1, 0x68 -/* 8012001C 0011CF7C 90 01 00 68 */ stw r0, 0x68(r1) -/* 80120020 0011CF80 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 80120024 0011CF84 81 84 00 00 */ lwz r12, 0(r4) -/* 80120028 0011CF88 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8012002C 0011CF8C 7D 89 03 A6 */ mtctr r12 -/* 80120030 0011CF90 4E 80 04 21 */ bctrl -/* 80120034 0011CF94 3B 9F 03 60 */ addi r28, r31, 0x360 -/* 80120038 0011CF98 38 81 00 60 */ addi r4, r1, 0x60 -/* 8012003C 0011CF9C 7F 83 E3 78 */ mr r3, r28 -/* 80120040 0011CFA0 48 22 0E 69 */ bl __ct__6CTokenFRC6CToken -/* 80120044 0011CFA4 7F 83 E3 78 */ mr r3, r28 -/* 80120048 0011CFA8 48 22 0D C5 */ bl GetObj__6CTokenFv -/* 8012004C 0011CFAC 80 03 00 04 */ lwz r0, 4(r3) -/* 80120050 0011CFB0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80120054 0011CFB4 38 80 FF FF */ li r4, -1 -/* 80120058 0011CFB8 90 1C 00 08 */ stw r0, 8(r28) -/* 8012005C 0011CFBC 48 22 0D E5 */ bl __dt__6CTokenFv -/* 80120060 0011CFC0 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 80120064 0011CFC4 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80120068 0011CFC8 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 8012006C 0011CFCC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80120070 0011CFD0 80 C5 00 BC */ lwz r6, 0xbc(r5) -/* 80120074 0011CFD4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80120078 0011CFD8 38 A1 00 58 */ addi r5, r1, 0x58 -/* 8012007C 0011CFDC 90 01 00 58 */ stw r0, 0x58(r1) -/* 80120080 0011CFE0 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 80120084 0011CFE4 81 84 00 00 */ lwz r12, 0(r4) -/* 80120088 0011CFE8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8012008C 0011CFEC 7D 89 03 A6 */ mtctr r12 -/* 80120090 0011CFF0 4E 80 04 21 */ bctrl -/* 80120094 0011CFF4 3B 9F 03 6C */ addi r28, r31, 0x36c -/* 80120098 0011CFF8 38 81 00 50 */ addi r4, r1, 0x50 -/* 8012009C 0011CFFC 7F 83 E3 78 */ mr r3, r28 -/* 801200A0 0011D000 48 22 0E 09 */ bl __ct__6CTokenFRC6CToken -/* 801200A4 0011D004 7F 83 E3 78 */ mr r3, r28 -/* 801200A8 0011D008 48 22 0D 65 */ bl GetObj__6CTokenFv -/* 801200AC 0011D00C 80 03 00 04 */ lwz r0, 4(r3) -/* 801200B0 0011D010 38 61 00 50 */ addi r3, r1, 0x50 -/* 801200B4 0011D014 38 80 FF FF */ li r4, -1 -/* 801200B8 0011D018 90 1C 00 08 */ stw r0, 8(r28) -/* 801200BC 0011D01C 48 22 0D 85 */ bl __dt__6CTokenFv -/* 801200C0 0011D020 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 801200C4 0011D024 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 801200C8 0011D028 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 801200CC 0011D02C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 801200D0 0011D030 80 C5 00 C0 */ lwz r6, 0xc0(r5) -/* 801200D4 0011D034 38 61 00 40 */ addi r3, r1, 0x40 -/* 801200D8 0011D038 38 A1 00 48 */ addi r5, r1, 0x48 -/* 801200DC 0011D03C 90 01 00 48 */ stw r0, 0x48(r1) -/* 801200E0 0011D040 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 801200E4 0011D044 81 84 00 00 */ lwz r12, 0(r4) -/* 801200E8 0011D048 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 801200EC 0011D04C 7D 89 03 A6 */ mtctr r12 -/* 801200F0 0011D050 4E 80 04 21 */ bctrl -/* 801200F4 0011D054 3B 9F 03 78 */ addi r28, r31, 0x378 -/* 801200F8 0011D058 38 81 00 40 */ addi r4, r1, 0x40 -/* 801200FC 0011D05C 7F 83 E3 78 */ mr r3, r28 -/* 80120100 0011D060 48 22 0D A9 */ bl __ct__6CTokenFRC6CToken -/* 80120104 0011D064 7F 83 E3 78 */ mr r3, r28 -/* 80120108 0011D068 48 22 0D 05 */ bl GetObj__6CTokenFv -/* 8012010C 0011D06C 80 03 00 04 */ lwz r0, 4(r3) -/* 80120110 0011D070 38 61 00 40 */ addi r3, r1, 0x40 -/* 80120114 0011D074 38 80 FF FF */ li r4, -1 -/* 80120118 0011D078 90 1C 00 08 */ stw r0, 8(r28) -/* 8012011C 0011D07C 48 22 0D 25 */ bl __dt__6CTokenFv -/* 80120120 0011D080 80 AD A1 48 */ lwz r5, gpTweakGunRes@sda21(r13) -/* 80120124 0011D084 3C 60 53 57 */ lis r3, 0x53574843@ha -/* 80120128 0011D088 38 03 48 43 */ addi r0, r3, 0x53574843@l -/* 8012012C 0011D08C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80120130 0011D090 80 C5 00 C4 */ lwz r6, 0xc4(r5) -/* 80120134 0011D094 38 61 00 30 */ addi r3, r1, 0x30 -/* 80120138 0011D098 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8012013C 0011D09C 90 01 00 38 */ stw r0, 0x38(r1) -/* 80120140 0011D0A0 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 80120144 0011D0A4 81 84 00 00 */ lwz r12, 0(r4) -/* 80120148 0011D0A8 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8012014C 0011D0AC 7D 89 03 A6 */ mtctr r12 -/* 80120150 0011D0B0 4E 80 04 21 */ bctrl -/* 80120154 0011D0B4 3B 9F 03 84 */ addi r28, r31, 0x384 -/* 80120158 0011D0B8 38 81 00 30 */ addi r4, r1, 0x30 -/* 8012015C 0011D0BC 7F 83 E3 78 */ mr r3, r28 -/* 80120160 0011D0C0 48 22 0D 49 */ bl __ct__6CTokenFRC6CToken -/* 80120164 0011D0C4 7F 83 E3 78 */ mr r3, r28 -/* 80120168 0011D0C8 48 22 0C A5 */ bl GetObj__6CTokenFv -/* 8012016C 0011D0CC 80 03 00 04 */ lwz r0, 4(r3) -/* 80120170 0011D0D0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80120174 0011D0D4 38 80 FF FF */ li r4, -1 -/* 80120178 0011D0D8 90 1C 00 08 */ stw r0, 8(r28) -/* 8012017C 0011D0DC 48 22 0C C5 */ bl __dt__6CTokenFv -/* 80120180 0011D0E0 3C 60 80 3D */ lis r3, lbl_803CF360@ha -/* 80120184 0011D0E4 3B 80 00 00 */ li r28, 0 -/* 80120188 0011D0E8 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l -/* 8012018C 0011D0EC 38 60 03 40 */ li r3, 0x340 -/* 80120190 0011D0F0 38 84 00 C4 */ addi r4, r4, 0xc4 -/* 80120194 0011D0F4 38 A0 00 00 */ li r5, 0 -/* 80120198 0011D0F8 48 1F 56 D5 */ bl __nw__FUlPCcPCc -/* 8012019C 0011D0FC 7C 7D 1B 79 */ or. r29, r3, r3 -/* 801201A0 0011D100 41 82 00 2C */ beq lbl_801201CC -/* 801201A4 0011D104 38 61 00 28 */ addi r3, r1, 0x28 -/* 801201A8 0011D108 38 9F 03 54 */ addi r4, r31, 0x354 -/* 801201AC 0011D10C 48 22 0C FD */ bl __ct__6CTokenFRC6CToken -/* 801201B0 0011D110 7F A3 EB 78 */ mr r3, r29 -/* 801201B4 0011D114 38 81 00 28 */ addi r4, r1, 0x28 -/* 801201B8 0011D118 3B 80 00 01 */ li r28, 1 -/* 801201BC 0011D11C 38 A0 00 00 */ li r5, 0 -/* 801201C0 0011D120 38 C0 00 01 */ li r6, 1 -/* 801201C4 0011D124 48 1F F2 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 801201C8 0011D128 7C 7D 1B 78 */ mr r29, r3 -lbl_801201CC: -/* 801201CC 0011D12C 7F 80 07 75 */ extsb. r0, r28 -/* 801201D0 0011D130 93 BF 03 90 */ stw r29, 0x390(r31) -/* 801201D4 0011D134 41 82 00 10 */ beq lbl_801201E4 -/* 801201D8 0011D138 38 61 00 28 */ addi r3, r1, 0x28 -/* 801201DC 0011D13C 38 80 00 00 */ li r4, 0 -/* 801201E0 0011D140 48 22 0C 61 */ bl __dt__6CTokenFv -lbl_801201E4: -/* 801201E4 0011D144 3C 60 80 3D */ lis r3, lbl_803CF360@ha -/* 801201E8 0011D148 3B 80 00 00 */ li r28, 0 -/* 801201EC 0011D14C 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l -/* 801201F0 0011D150 38 60 03 40 */ li r3, 0x340 -/* 801201F4 0011D154 38 84 00 C4 */ addi r4, r4, 0xc4 -/* 801201F8 0011D158 38 A0 00 00 */ li r5, 0 -/* 801201FC 0011D15C 48 1F 56 71 */ bl __nw__FUlPCcPCc -/* 80120200 0011D160 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80120204 0011D164 41 82 00 2C */ beq lbl_80120230 -/* 80120208 0011D168 38 61 00 20 */ addi r3, r1, 0x20 -/* 8012020C 0011D16C 38 9F 03 60 */ addi r4, r31, 0x360 -/* 80120210 0011D170 48 22 0C 99 */ bl __ct__6CTokenFRC6CToken -/* 80120214 0011D174 7F A3 EB 78 */ mr r3, r29 -/* 80120218 0011D178 38 81 00 20 */ addi r4, r1, 0x20 -/* 8012021C 0011D17C 3B 80 00 01 */ li r28, 1 -/* 80120220 0011D180 38 A0 00 00 */ li r5, 0 -/* 80120224 0011D184 38 C0 00 01 */ li r6, 1 -/* 80120228 0011D188 48 1F F1 B9 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 8012022C 0011D18C 7C 7D 1B 78 */ mr r29, r3 -lbl_80120230: -/* 80120230 0011D190 7F 80 07 75 */ extsb. r0, r28 -/* 80120234 0011D194 93 BF 03 94 */ stw r29, 0x394(r31) -/* 80120238 0011D198 41 82 00 10 */ beq lbl_80120248 -/* 8012023C 0011D19C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80120240 0011D1A0 38 80 00 00 */ li r4, 0 -/* 80120244 0011D1A4 48 22 0B FD */ bl __dt__6CTokenFv -lbl_80120248: -/* 80120248 0011D1A8 3C 60 80 3D */ lis r3, lbl_803CF360@ha -/* 8012024C 0011D1AC 3B 80 00 00 */ li r28, 0 -/* 80120250 0011D1B0 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l -/* 80120254 0011D1B4 38 60 03 40 */ li r3, 0x340 -/* 80120258 0011D1B8 38 84 00 C4 */ addi r4, r4, 0xc4 -/* 8012025C 0011D1BC 38 A0 00 00 */ li r5, 0 -/* 80120260 0011D1C0 48 1F 56 0D */ bl __nw__FUlPCcPCc -/* 80120264 0011D1C4 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80120268 0011D1C8 41 82 00 2C */ beq lbl_80120294 -/* 8012026C 0011D1CC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80120270 0011D1D0 38 9F 03 6C */ addi r4, r31, 0x36c -/* 80120274 0011D1D4 48 22 0C 35 */ bl __ct__6CTokenFRC6CToken -/* 80120278 0011D1D8 7F A3 EB 78 */ mr r3, r29 -/* 8012027C 0011D1DC 38 81 00 18 */ addi r4, r1, 0x18 -/* 80120280 0011D1E0 3B 80 00 01 */ li r28, 1 -/* 80120284 0011D1E4 38 A0 00 00 */ li r5, 0 -/* 80120288 0011D1E8 38 C0 00 01 */ li r6, 1 -/* 8012028C 0011D1EC 48 1F F1 55 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 80120290 0011D1F0 7C 7D 1B 78 */ mr r29, r3 -lbl_80120294: -/* 80120294 0011D1F4 7F 80 07 75 */ extsb. r0, r28 -/* 80120298 0011D1F8 93 BF 03 98 */ stw r29, 0x398(r31) -/* 8012029C 0011D1FC 41 82 00 10 */ beq lbl_801202AC -/* 801202A0 0011D200 38 61 00 18 */ addi r3, r1, 0x18 -/* 801202A4 0011D204 38 80 00 00 */ li r4, 0 -/* 801202A8 0011D208 48 22 0B 99 */ bl __dt__6CTokenFv -lbl_801202AC: -/* 801202AC 0011D20C 3C 60 80 3D */ lis r3, lbl_803CF360@ha -/* 801202B0 0011D210 3B 80 00 00 */ li r28, 0 -/* 801202B4 0011D214 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l -/* 801202B8 0011D218 38 60 03 40 */ li r3, 0x340 -/* 801202BC 0011D21C 38 84 00 C4 */ addi r4, r4, 0xc4 -/* 801202C0 0011D220 38 A0 00 00 */ li r5, 0 -/* 801202C4 0011D224 48 1F 55 A9 */ bl __nw__FUlPCcPCc -/* 801202C8 0011D228 7C 7D 1B 79 */ or. r29, r3, r3 -/* 801202CC 0011D22C 41 82 00 2C */ beq lbl_801202F8 -/* 801202D0 0011D230 38 61 00 10 */ addi r3, r1, 0x10 -/* 801202D4 0011D234 38 9F 03 78 */ addi r4, r31, 0x378 -/* 801202D8 0011D238 48 22 0B D1 */ bl __ct__6CTokenFRC6CToken -/* 801202DC 0011D23C 7F A3 EB 78 */ mr r3, r29 -/* 801202E0 0011D240 38 81 00 10 */ addi r4, r1, 0x10 -/* 801202E4 0011D244 3B 80 00 01 */ li r28, 1 -/* 801202E8 0011D248 38 A0 00 00 */ li r5, 0 -/* 801202EC 0011D24C 38 C0 00 01 */ li r6, 1 -/* 801202F0 0011D250 48 1F F0 F1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 801202F4 0011D254 7C 7D 1B 78 */ mr r29, r3 -lbl_801202F8: -/* 801202F8 0011D258 7F 80 07 75 */ extsb. r0, r28 -/* 801202FC 0011D25C 93 BF 03 9C */ stw r29, 0x39c(r31) -/* 80120300 0011D260 41 82 00 10 */ beq lbl_80120310 -/* 80120304 0011D264 38 61 00 10 */ addi r3, r1, 0x10 -/* 80120308 0011D268 38 80 00 00 */ li r4, 0 -/* 8012030C 0011D26C 48 22 0B 35 */ bl __dt__6CTokenFv -lbl_80120310: -/* 80120310 0011D270 3C 60 80 3D */ lis r3, lbl_803CF360@ha -/* 80120314 0011D274 3B 80 00 00 */ li r28, 0 -/* 80120318 0011D278 38 83 F3 60 */ addi r4, r3, lbl_803CF360@l -/* 8012031C 0011D27C 38 60 02 10 */ li r3, 0x210 -/* 80120320 0011D280 38 84 00 C4 */ addi r4, r4, 0xc4 -/* 80120324 0011D284 38 A0 00 00 */ li r5, 0 -/* 80120328 0011D288 48 1F 55 45 */ bl __nw__FUlPCcPCc -/* 8012032C 0011D28C 7C 7D 1B 79 */ or. r29, r3, r3 -/* 80120330 0011D290 41 82 00 28 */ beq lbl_80120358 -/* 80120334 0011D294 38 61 00 08 */ addi r3, r1, 8 -/* 80120338 0011D298 38 9F 03 84 */ addi r4, r31, 0x384 -/* 8012033C 0011D29C 48 22 0B 6D */ bl __ct__6CTokenFRC6CToken -/* 80120340 0011D2A0 7F A3 EB 78 */ mr r3, r29 -/* 80120344 0011D2A4 38 81 00 08 */ addi r4, r1, 8 -/* 80120348 0011D2A8 3B 80 00 01 */ li r28, 1 -/* 8012034C 0011D2AC 38 A0 00 00 */ li r5, 0 -/* 80120350 0011D2B0 48 20 EA 95 */ bl "__ct__15CParticleSwooshF28TToken<18CSwooshDescription>i" -/* 80120354 0011D2B4 7C 7D 1B 78 */ mr r29, r3 -lbl_80120358: -/* 80120358 0011D2B8 7F 80 07 75 */ extsb. r0, r28 -/* 8012035C 0011D2BC 93 BF 03 A0 */ stw r29, 0x3a0(r31) -/* 80120360 0011D2C0 41 82 00 10 */ beq lbl_80120370 -/* 80120364 0011D2C4 38 61 00 08 */ addi r3, r1, 8 -/* 80120368 0011D2C8 38 80 00 00 */ li r4, 0 -/* 8012036C 0011D2CC 48 22 0A D5 */ bl __dt__6CTokenFv -lbl_80120370: -/* 80120370 0011D2D0 3C 80 80 3D */ lis r4, lbl_803CF360@ha -/* 80120374 0011D2D4 38 60 00 4C */ li r3, 0x4c -/* 80120378 0011D2D8 38 84 F3 60 */ addi r4, r4, lbl_803CF360@l -/* 8012037C 0011D2DC 38 A0 00 00 */ li r5, 0 -/* 80120380 0011D2E0 38 84 00 C4 */ addi r4, r4, 0xc4 -/* 80120384 0011D2E4 48 1F 54 E9 */ bl __nw__FUlPCcPCc -/* 80120388 0011D2E8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8012038C 0011D2EC 41 82 00 20 */ beq lbl_801203AC -/* 80120390 0011D2F0 C0 22 97 64 */ lfs f1, lbl_805AB484@sda21(r2) -/* 80120394 0011D2F4 7F C4 F3 78 */ mr r4, r30 -/* 80120398 0011D2F8 C0 42 97 A0 */ lfs f2, lbl_805AB4C0@sda21(r2) -/* 8012039C 0011D2FC 38 A0 00 14 */ li r5, 0x14 -/* 801203A0 0011D300 38 C0 00 02 */ li r6, 2 -/* 801203A4 0011D304 48 14 A3 95 */ bl __ct__20CRainSplashGeneratorFRC9CVector3fiiff -/* 801203A8 0011D308 7C 60 1B 78 */ mr r0, r3 -lbl_801203AC: -/* 801203AC 0011D30C 90 1F 03 A4 */ stw r0, 0x3a4(r31) -/* 801203B0 0011D310 38 C0 FF FF */ li r6, -1 -/* 801203B4 0011D314 38 00 20 00 */ li r0, 0x2000 -/* 801203B8 0011D318 38 A0 00 00 */ li r5, 0 -/* 801203BC 0011D31C 90 DF 03 A8 */ stw r6, 0x3a8(r31) -/* 801203C0 0011D320 38 60 00 01 */ li r3, 1 -/* 801203C4 0011D324 38 80 00 00 */ li r4, 0 -/* 801203C8 0011D328 90 1F 03 AC */ stw r0, 0x3ac(r31) -/* 801203CC 0011D32C B0 DF 03 B0 */ sth r6, 0x3b0(r31) -/* 801203D0 0011D330 88 1F 03 B2 */ lbz r0, 0x3b2(r31) -/* 801203D4 0011D334 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 801203D8 0011D338 98 1F 03 B2 */ stb r0, 0x3b2(r31) -/* 801203DC 0011D33C 88 1F 03 B2 */ lbz r0, 0x3b2(r31) -/* 801203E0 0011D340 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 801203E4 0011D344 98 1F 03 B2 */ stb r0, 0x3b2(r31) -/* 801203E8 0011D348 88 1F 03 B2 */ lbz r0, 0x3b2(r31) -/* 801203EC 0011D34C 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 801203F0 0011D350 98 1F 03 B2 */ stb r0, 0x3b2(r31) -/* 801203F4 0011D354 88 1F 03 B2 */ lbz r0, 0x3b2(r31) -/* 801203F8 0011D358 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 801203FC 0011D35C 98 1F 03 B2 */ stb r0, 0x3b2(r31) -/* 80120400 0011D360 88 1F 03 B2 */ lbz r0, 0x3b2(r31) -/* 80120404 0011D364 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80120408 0011D368 98 1F 03 B2 */ stb r0, 0x3b2(r31) -/* 8012040C 0011D36C 88 1F 03 B2 */ lbz r0, 0x3b2(r31) -/* 80120410 0011D370 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80120414 0011D374 98 1F 03 B2 */ stb r0, 0x3b2(r31) -/* 80120418 0011D378 88 1F 00 14 */ lbz r0, 0x14(r31) -/* 8012041C 0011D37C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80120420 0011D380 98 1F 00 14 */ stb r0, 0x14(r31) -/* 80120424 0011D384 88 1F 00 B4 */ lbz r0, 0xb4(r31) -/* 80120428 0011D388 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8012042C 0011D38C 98 1F 00 B4 */ stb r0, 0xb4(r31) -/* 80120430 0011D390 88 1F 01 00 */ lbz r0, 0x100(r31) -/* 80120434 0011D394 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80120438 0011D398 98 1F 01 00 */ stb r0, 0x100(r31) -/* 8012043C 0011D39C 88 1F 01 4C */ lbz r0, 0x14c(r31) -/* 80120440 0011D3A0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80120444 0011D3A4 98 1F 01 4C */ stb r0, 0x14c(r31) -/* 80120448 0011D3A8 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) -/* 8012044C 0011D3AC C0 03 02 E4 */ lfs f0, 0x2e4(r3) -/* 80120450 0011D3B0 D0 0D 8A 78 */ stfs f0, lbl_805A7638@sda21(r13) -/* 80120454 0011D3B4 C0 03 02 DC */ lfs f0, 0x2dc(r3) -/* 80120458 0011D3B8 D0 0D 8A 7C */ stfs f0, lbl_805A763C@sda21(r13) -/* 8012045C 0011D3BC C0 03 02 E0 */ lfs f0, 0x2e0(r3) -/* 80120460 0011D3C0 D0 0D 8A 80 */ stfs f0, lbl_805A7640@sda21(r13) -/* 80120464 0011D3C4 C0 03 02 D8 */ lfs f0, 0x2d8(r3) -/* 80120468 0011D3C8 D0 0D 8A 84 */ stfs f0, lbl_805A7644@sda21(r13) -/* 8012046C 0011D3CC 80 7F 03 9C */ lwz r3, 0x39c(r31) -/* 80120470 0011D3D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80120474 0011D3D4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80120478 0011D3D8 7D 89 03 A6 */ mtctr r12 -/* 8012047C 0011D3DC 4E 80 04 21 */ bctrl -/* 80120480 0011D3E0 80 7F 03 90 */ lwz r3, 0x390(r31) -/* 80120484 0011D3E4 38 80 00 00 */ li r4, 0 -/* 80120488 0011D3E8 81 83 00 00 */ lwz r12, 0(r3) -/* 8012048C 0011D3EC 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 80120490 0011D3F0 7D 89 03 A6 */ mtctr r12 -/* 80120494 0011D3F4 4E 80 04 21 */ bctrl -/* 80120498 0011D3F8 83 BF 03 A0 */ lwz r29, 0x3a0(r31) -/* 8012049C 0011D3FC 3B 80 00 00 */ li r28, 0 -/* 801204A0 0011D400 3B C0 00 01 */ li r30, 1 -/* 801204A4 0011D404 48 00 00 30 */ b lbl_801204D4 -lbl_801204A8: -/* 801204A8 0011D408 80 7F 03 A0 */ lwz r3, 0x3a0(r31) -/* 801204AC 0011D40C C8 22 97 A8 */ lfd f1, lbl_805AB4C8@sda21(r2) -/* 801204B0 0011D410 88 03 01 D0 */ lbz r0, 0x1d0(r3) -/* 801204B4 0011D414 53 C0 2E B4 */ rlwimi r0, r30, 5, 0x1a, 0x1a -/* 801204B8 0011D418 98 03 01 D0 */ stb r0, 0x1d0(r3) -/* 801204BC 0011D41C 80 7F 03 A0 */ lwz r3, 0x3a0(r31) -/* 801204C0 0011D420 81 83 00 00 */ lwz r12, 0(r3) -/* 801204C4 0011D424 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 801204C8 0011D428 7D 89 03 A6 */ mtctr r12 -/* 801204CC 0011D42C 4E 80 04 21 */ bctrl -/* 801204D0 0011D430 3B 9C 00 01 */ addi r28, r28, 1 -lbl_801204D4: -/* 801204D4 0011D434 80 7D 01 60 */ lwz r3, 0x160(r29) -/* 801204D8 0011D438 38 03 FF FF */ addi r0, r3, -1 -/* 801204DC 0011D43C 7C 1C 00 00 */ cmpw r28, r0 -/* 801204E0 0011D440 41 80 FF C8 */ blt lbl_801204A8 -/* 801204E4 0011D444 7F E3 FB 78 */ mr r3, r31 -/* 801204E8 0011D448 4B FF D1 5D */ bl BuildSuitDependencyList__11CGrappleArmFv -/* 801204EC 0011D44C 7F E3 FB 78 */ mr r3, r31 -/* 801204F0 0011D450 4B FF DB 75 */ bl LoadAnimations__11CGrappleArmFv -/* 801204F4 0011D454 80 01 01 44 */ lwz r0, 0x144(r1) -/* 801204F8 0011D458 7F E3 FB 78 */ mr r3, r31 -/* 801204FC 0011D45C 83 E1 01 3C */ lwz r31, 0x13c(r1) -/* 80120500 0011D460 83 C1 01 38 */ lwz r30, 0x138(r1) -/* 80120504 0011D464 83 A1 01 34 */ lwz r29, 0x134(r1) -/* 80120508 0011D468 83 81 01 30 */ lwz r28, 0x130(r1) -/* 8012050C 0011D46C 7C 08 03 A6 */ mtlr r0 -/* 80120510 0011D470 38 21 01 40 */ addi r1, r1, 0x140 -/* 80120514 0011D474 4E 80 00 20 */ blr - -.global __dt__12CSpacePirateFv -__dt__12CSpacePirateFv: -/* 80120518 0011D478 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012051C 0011D47C 7C 08 02 A6 */ mflr r0 -/* 80120520 0011D480 90 01 00 14 */ stw r0, 0x14(r1) -/* 80120524 0011D484 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80120528 0011D488 7C 9F 23 78 */ mr r31, r4 -/* 8012052C 0011D48C 93 C1 00 08 */ stw r30, 8(r1) -/* 80120530 0011D490 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80120534 0011D494 41 82 01 58 */ beq lbl_8012068C -/* 80120538 0011D498 3C 80 80 3E */ lis r4, lbl_803E0800@ha -/* 8012053C 0011D49C 38 7E 08 5C */ addi r3, r30, 0x85c -/* 80120540 0011D4A0 38 04 08 00 */ addi r0, r4, lbl_803E0800@l -/* 80120544 0011D4A4 38 80 FF FF */ li r4, -1 -/* 80120548 0011D4A8 90 1E 00 00 */ stw r0, 0(r30) -/* 8012054C 0011D4AC 48 00 01 5D */ bl sub_801206a8 -/* 80120550 0011D4B0 34 1E 07 C4 */ addic. r0, r30, 0x7c4 -/* 80120554 0011D4B4 41 82 00 60 */ beq lbl_801205B4 -/* 80120558 0011D4B8 34 1E 07 E0 */ addic. r0, r30, 0x7e0 -/* 8012055C 0011D4BC 41 82 00 58 */ beq lbl_801205B4 -/* 80120560 0011D4C0 80 BE 07 E0 */ lwz r5, 0x7e0(r30) -/* 80120564 0011D4C4 38 60 00 00 */ li r3, 0 -/* 80120568 0011D4C8 2C 05 00 00 */ cmpwi r5, 0 -/* 8012056C 0011D4CC 40 81 00 40 */ ble lbl_801205AC -/* 80120570 0011D4D0 2C 05 00 08 */ cmpwi r5, 8 -/* 80120574 0011D4D4 38 85 FF F8 */ addi r4, r5, -8 -/* 80120578 0011D4D8 40 81 00 20 */ ble lbl_80120598 -/* 8012057C 0011D4DC 38 04 00 07 */ addi r0, r4, 7 -/* 80120580 0011D4E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80120584 0011D4E4 7C 09 03 A6 */ mtctr r0 -/* 80120588 0011D4E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8012058C 0011D4EC 40 81 00 0C */ ble lbl_80120598 -lbl_80120590: -/* 80120590 0011D4F0 38 63 00 08 */ addi r3, r3, 8 -/* 80120594 0011D4F4 42 00 FF FC */ bdnz lbl_80120590 -lbl_80120598: -/* 80120598 0011D4F8 7C 03 28 50 */ subf r0, r3, r5 -/* 8012059C 0011D4FC 7C 09 03 A6 */ mtctr r0 -/* 801205A0 0011D500 7C 03 28 00 */ cmpw r3, r5 -/* 801205A4 0011D504 40 80 00 08 */ bge lbl_801205AC -lbl_801205A8: -/* 801205A8 0011D508 42 00 00 00 */ bdnz lbl_801205A8 -lbl_801205AC: -/* 801205AC 0011D50C 38 00 00 00 */ li r0, 0 -/* 801205B0 0011D510 90 1E 07 E0 */ stw r0, 0x7e0(r30) -lbl_801205B4: -/* 801205B4 0011D514 34 1E 07 64 */ addic. r0, r30, 0x764 -/* 801205B8 0011D518 41 82 00 14 */ beq lbl_801205CC -/* 801205BC 0011D51C 34 1E 07 88 */ addic. r0, r30, 0x788 -/* 801205C0 0011D520 41 82 00 0C */ beq lbl_801205CC -/* 801205C4 0011D524 38 00 00 00 */ li r0, 0 -/* 801205C8 0011D528 98 1E 07 94 */ stb r0, 0x794(r30) -lbl_801205CC: -/* 801205CC 0011D52C 34 1E 06 60 */ addic. r0, r30, 0x660 -/* 801205D0 0011D530 41 82 00 60 */ beq lbl_80120630 -/* 801205D4 0011D534 34 1E 06 64 */ addic. r0, r30, 0x664 -/* 801205D8 0011D538 41 82 00 58 */ beq lbl_80120630 -/* 801205DC 0011D53C 80 BE 06 64 */ lwz r5, 0x664(r30) -/* 801205E0 0011D540 38 60 00 00 */ li r3, 0 -/* 801205E4 0011D544 2C 05 00 00 */ cmpwi r5, 0 -/* 801205E8 0011D548 40 81 00 40 */ ble lbl_80120628 -/* 801205EC 0011D54C 2C 05 00 08 */ cmpwi r5, 8 -/* 801205F0 0011D550 38 85 FF F8 */ addi r4, r5, -8 -/* 801205F4 0011D554 40 81 00 20 */ ble lbl_80120614 -/* 801205F8 0011D558 38 04 00 07 */ addi r0, r4, 7 -/* 801205FC 0011D55C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80120600 0011D560 7C 09 03 A6 */ mtctr r0 -/* 80120604 0011D564 2C 04 00 00 */ cmpwi r4, 0 -/* 80120608 0011D568 40 81 00 0C */ ble lbl_80120614 -lbl_8012060C: -/* 8012060C 0011D56C 38 63 00 08 */ addi r3, r3, 8 -/* 80120610 0011D570 42 00 FF FC */ bdnz lbl_8012060C -lbl_80120614: -/* 80120614 0011D574 7C 03 28 50 */ subf r0, r3, r5 -/* 80120618 0011D578 7C 09 03 A6 */ mtctr r0 -/* 8012061C 0011D57C 7C 03 28 00 */ cmpw r3, r5 -/* 80120620 0011D580 40 80 00 08 */ bge lbl_80120628 -lbl_80120624: -/* 80120624 0011D584 42 00 00 00 */ bdnz lbl_80120624 -lbl_80120628: -/* 80120628 0011D588 38 00 00 00 */ li r0, 0 -/* 8012062C 0011D58C 90 1E 06 64 */ stw r0, 0x664(r30) -lbl_80120630: -/* 80120630 0011D590 34 1E 05 68 */ addic. r0, r30, 0x568 -/* 80120634 0011D594 41 82 00 3C */ beq lbl_80120670 -/* 80120638 0011D598 34 7E 05 D4 */ addic. r3, r30, 0x5d4 -/* 8012063C 0011D59C 41 82 00 18 */ beq lbl_80120654 -/* 80120640 0011D5A0 28 03 00 00 */ cmplwi r3, 0 -/* 80120644 0011D5A4 41 82 00 10 */ beq lbl_80120654 -/* 80120648 0011D5A8 41 82 00 0C */ beq lbl_80120654 -/* 8012064C 0011D5AC 38 80 00 00 */ li r4, 0 -/* 80120650 0011D5B0 48 22 07 F1 */ bl __dt__6CTokenFv -lbl_80120654: -/* 80120654 0011D5B4 34 7E 05 88 */ addic. r3, r30, 0x588 -/* 80120658 0011D5B8 41 82 00 18 */ beq lbl_80120670 -/* 8012065C 0011D5BC 28 03 00 00 */ cmplwi r3, 0 -/* 80120660 0011D5C0 41 82 00 10 */ beq lbl_80120670 -/* 80120664 0011D5C4 41 82 00 0C */ beq lbl_80120670 -/* 80120668 0011D5C8 38 80 00 00 */ li r4, 0 -/* 8012066C 0011D5CC 48 22 07 D5 */ bl __dt__6CTokenFv -lbl_80120670: -/* 80120670 0011D5D0 7F C3 F3 78 */ mr r3, r30 -/* 80120674 0011D5D4 38 80 00 00 */ li r4, 0 -/* 80120678 0011D5D8 4B F5 6E F9 */ bl __dt__10CPatternedFv -/* 8012067C 0011D5DC 7F E0 07 35 */ extsh. r0, r31 -/* 80120680 0011D5E0 40 81 00 0C */ ble lbl_8012068C -/* 80120684 0011D5E4 7F C3 F3 78 */ mr r3, r30 -/* 80120688 0011D5E8 48 1F 52 A9 */ bl Free__7CMemoryFPCv -lbl_8012068C: -/* 8012068C 0011D5EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80120690 0011D5F0 7F C3 F3 78 */ mr r3, r30 -/* 80120694 0011D5F4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80120698 0011D5F8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8012069C 0011D5FC 7C 08 03 A6 */ mtlr r0 -/* 801206A0 0011D600 38 21 00 10 */ addi r1, r1, 0x10 -/* 801206A4 0011D604 4E 80 00 20 */ blr - -.global sub_801206a8 -sub_801206a8: -/* 801206A8 0011D608 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801206AC 0011D60C 7C 08 02 A6 */ mflr r0 -/* 801206B0 0011D610 90 01 00 14 */ stw r0, 0x14(r1) -/* 801206B4 0011D614 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801206B8 0011D618 7C 9F 23 78 */ mr r31, r4 -/* 801206BC 0011D61C 93 C1 00 08 */ stw r30, 8(r1) -/* 801206C0 0011D620 7C 7E 1B 79 */ or. r30, r3, r3 -/* 801206C4 0011D624 41 82 00 20 */ beq lbl_801206E4 -/* 801206C8 0011D628 80 7E 00 00 */ lwz r3, 0(r30) -/* 801206CC 0011D62C 38 80 00 01 */ li r4, 1 -/* 801206D0 0011D630 48 00 00 31 */ bl __dt__14CPirateRagDollFv -/* 801206D4 0011D634 7F E0 07 35 */ extsh. r0, r31 -/* 801206D8 0011D638 40 81 00 0C */ ble lbl_801206E4 -/* 801206DC 0011D63C 7F C3 F3 78 */ mr r3, r30 -/* 801206E0 0011D640 48 1F 52 51 */ bl Free__7CMemoryFPCv -lbl_801206E4: -/* 801206E4 0011D644 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801206E8 0011D648 7F C3 F3 78 */ mr r3, r30 -/* 801206EC 0011D64C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801206F0 0011D650 83 C1 00 08 */ lwz r30, 8(r1) -/* 801206F4 0011D654 7C 08 03 A6 */ mtlr r0 -/* 801206F8 0011D658 38 21 00 10 */ addi r1, r1, 0x10 -/* 801206FC 0011D65C 4E 80 00 20 */ blr - -.global __dt__14CPirateRagDollFv -__dt__14CPirateRagDollFv: -/* 80120700 0011D660 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80120704 0011D664 7C 08 02 A6 */ mflr r0 -/* 80120708 0011D668 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012070C 0011D66C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80120710 0011D670 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80120714 0011D674 93 C1 00 08 */ stw r30, 8(r1) -/* 80120718 0011D678 7C 9E 23 78 */ mr r30, r4 -/* 8012071C 0011D67C 41 82 00 E4 */ beq lbl_80120800 -/* 80120720 0011D680 3C 60 80 3E */ lis r3, lbl_803E0BE0@ha -/* 80120724 0011D684 34 1F 00 9C */ addic. r0, r31, 0x9c -/* 80120728 0011D688 38 03 0B E0 */ addi r0, r3, lbl_803E0BE0@l -/* 8012072C 0011D68C 90 1F 00 00 */ stw r0, 0(r31) -/* 80120730 0011D690 41 82 00 58 */ beq lbl_80120788 -/* 80120734 0011D694 80 BF 00 9C */ lwz r5, 0x9c(r31) -/* 80120738 0011D698 38 60 00 00 */ li r3, 0 -/* 8012073C 0011D69C 2C 05 00 00 */ cmpwi r5, 0 -/* 80120740 0011D6A0 40 81 00 40 */ ble lbl_80120780 -/* 80120744 0011D6A4 2C 05 00 08 */ cmpwi r5, 8 -/* 80120748 0011D6A8 38 85 FF F8 */ addi r4, r5, -8 -/* 8012074C 0011D6AC 40 81 00 20 */ ble lbl_8012076C -/* 80120750 0011D6B0 38 04 00 07 */ addi r0, r4, 7 -/* 80120754 0011D6B4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80120758 0011D6B8 7C 09 03 A6 */ mtctr r0 -/* 8012075C 0011D6BC 2C 04 00 00 */ cmpwi r4, 0 -/* 80120760 0011D6C0 40 81 00 0C */ ble lbl_8012076C -lbl_80120764: -/* 80120764 0011D6C4 38 63 00 08 */ addi r3, r3, 8 -/* 80120768 0011D6C8 42 00 FF FC */ bdnz lbl_80120764 -lbl_8012076C: -/* 8012076C 0011D6CC 7C 03 28 50 */ subf r0, r3, r5 -/* 80120770 0011D6D0 7C 09 03 A6 */ mtctr r0 -/* 80120774 0011D6D4 7C 03 28 00 */ cmpw r3, r5 -/* 80120778 0011D6D8 40 80 00 08 */ bge lbl_80120780 -lbl_8012077C: -/* 8012077C 0011D6DC 42 00 00 00 */ bdnz lbl_8012077C -lbl_80120780: -/* 80120780 0011D6E0 38 00 00 00 */ li r0, 0 -/* 80120784 0011D6E4 90 1F 00 9C */ stw r0, 0x9c(r31) -lbl_80120788: -/* 80120788 0011D6E8 34 1F 00 90 */ addic. r0, r31, 0x90 -/* 8012078C 0011D6EC 41 82 00 58 */ beq lbl_801207E4 -/* 80120790 0011D6F0 80 BF 00 90 */ lwz r5, 0x90(r31) -/* 80120794 0011D6F4 38 60 00 00 */ li r3, 0 -/* 80120798 0011D6F8 2C 05 00 00 */ cmpwi r5, 0 -/* 8012079C 0011D6FC 40 81 00 40 */ ble lbl_801207DC -/* 801207A0 0011D700 2C 05 00 08 */ cmpwi r5, 8 -/* 801207A4 0011D704 38 85 FF F8 */ addi r4, r5, -8 -/* 801207A8 0011D708 40 81 00 20 */ ble lbl_801207C8 -/* 801207AC 0011D70C 38 04 00 07 */ addi r0, r4, 7 -/* 801207B0 0011D710 54 00 E8 FE */ srwi r0, r0, 3 -/* 801207B4 0011D714 7C 09 03 A6 */ mtctr r0 -/* 801207B8 0011D718 2C 04 00 00 */ cmpwi r4, 0 -/* 801207BC 0011D71C 40 81 00 0C */ ble lbl_801207C8 -lbl_801207C0: -/* 801207C0 0011D720 38 63 00 08 */ addi r3, r3, 8 -/* 801207C4 0011D724 42 00 FF FC */ bdnz lbl_801207C0 -lbl_801207C8: -/* 801207C8 0011D728 7C 03 28 50 */ subf r0, r3, r5 -/* 801207CC 0011D72C 7C 09 03 A6 */ mtctr r0 -/* 801207D0 0011D730 7C 03 28 00 */ cmpw r3, r5 -/* 801207D4 0011D734 40 80 00 08 */ bge lbl_801207DC -lbl_801207D8: -/* 801207D8 0011D738 42 00 00 00 */ bdnz lbl_801207D8 -lbl_801207DC: -/* 801207DC 0011D73C 38 00 00 00 */ li r0, 0 -/* 801207E0 0011D740 90 1F 00 90 */ stw r0, 0x90(r31) -lbl_801207E4: -/* 801207E4 0011D744 7F E3 FB 78 */ mr r3, r31 -/* 801207E8 0011D748 38 80 00 00 */ li r4, 0 -/* 801207EC 0011D74C 48 00 00 31 */ bl __dt__8CRagDollFv -/* 801207F0 0011D750 7F C0 07 35 */ extsh. r0, r30 -/* 801207F4 0011D754 40 81 00 0C */ ble lbl_80120800 -/* 801207F8 0011D758 7F E3 FB 78 */ mr r3, r31 -/* 801207FC 0011D75C 48 1F 51 35 */ bl Free__7CMemoryFPCv -lbl_80120800: -/* 80120800 0011D760 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80120804 0011D764 7F E3 FB 78 */ mr r3, r31 -/* 80120808 0011D768 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012080C 0011D76C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80120810 0011D770 7C 08 03 A6 */ mtlr r0 -/* 80120814 0011D774 38 21 00 10 */ addi r1, r1, 0x10 -/* 80120818 0011D778 4E 80 00 20 */ blr - -.global __dt__8CRagDollFv -__dt__8CRagDollFv: -/* 8012081C 0011D77C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80120820 0011D780 7C 08 02 A6 */ mflr r0 -/* 80120824 0011D784 90 01 00 54 */ stw r0, 0x54(r1) -/* 80120828 0011D788 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8012082C 0011D78C 7C 9F 23 78 */ mr r31, r4 -/* 80120830 0011D790 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80120834 0011D794 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80120838 0011D798 41 82 01 40 */ beq lbl_80120978 -/* 8012083C 0011D79C 3C 60 80 3E */ lis r3, lbl_803E70D0@ha -/* 80120840 0011D7A0 34 1E 00 34 */ addic. r0, r30, 0x34 -/* 80120844 0011D7A4 38 03 70 D0 */ addi r0, r3, lbl_803E70D0@l -/* 80120848 0011D7A8 90 1E 00 00 */ stw r0, 0(r30) -/* 8012084C 0011D7AC 41 82 00 44 */ beq lbl_80120890 -/* 80120850 0011D7B0 80 1E 00 38 */ lwz r0, 0x38(r30) -/* 80120854 0011D7B4 80 7E 00 40 */ lwz r3, 0x40(r30) -/* 80120858 0011D7B8 1C 00 00 14 */ mulli r0, r0, 0x14 -/* 8012085C 0011D7BC 90 61 00 3C */ stw r3, 0x3c(r1) -/* 80120860 0011D7C0 7C 64 1B 78 */ mr r4, r3 -/* 80120864 0011D7C4 7C 03 02 14 */ add r0, r3, r0 -/* 80120868 0011D7C8 90 61 00 38 */ stw r3, 0x38(r1) -/* 8012086C 0011D7CC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80120870 0011D7D0 90 01 00 40 */ stw r0, 0x40(r1) -/* 80120874 0011D7D4 48 00 00 08 */ b lbl_8012087C -lbl_80120878: -/* 80120878 0011D7D8 38 84 00 14 */ addi r4, r4, 0x14 -lbl_8012087C: -/* 8012087C 0011D7DC 7C 04 00 40 */ cmplw r4, r0 -/* 80120880 0011D7E0 40 82 FF F8 */ bne lbl_80120878 -/* 80120884 0011D7E4 28 03 00 00 */ cmplwi r3, 0 -/* 80120888 0011D7E8 41 82 00 08 */ beq lbl_80120890 -/* 8012088C 0011D7EC 48 1F 50 A5 */ bl Free__7CMemoryFPCv -lbl_80120890: -/* 80120890 0011D7F0 34 1E 00 24 */ addic. r0, r30, 0x24 -/* 80120894 0011D7F4 41 82 00 44 */ beq lbl_801208D8 -/* 80120898 0011D7F8 80 1E 00 28 */ lwz r0, 0x28(r30) -/* 8012089C 0011D7FC 80 7E 00 30 */ lwz r3, 0x30(r30) -/* 801208A0 0011D800 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 801208A4 0011D804 90 61 00 2C */ stw r3, 0x2c(r1) -/* 801208A8 0011D808 7C 64 1B 78 */ mr r4, r3 -/* 801208AC 0011D80C 7C 03 02 14 */ add r0, r3, r0 -/* 801208B0 0011D810 90 61 00 28 */ stw r3, 0x28(r1) -/* 801208B4 0011D814 90 01 00 34 */ stw r0, 0x34(r1) -/* 801208B8 0011D818 90 01 00 30 */ stw r0, 0x30(r1) -/* 801208BC 0011D81C 48 00 00 08 */ b lbl_801208C4 -lbl_801208C0: -/* 801208C0 0011D820 38 84 00 18 */ addi r4, r4, 0x18 -lbl_801208C4: -/* 801208C4 0011D824 7C 04 00 40 */ cmplw r4, r0 -/* 801208C8 0011D828 40 82 FF F8 */ bne lbl_801208C0 -/* 801208CC 0011D82C 28 03 00 00 */ cmplwi r3, 0 -/* 801208D0 0011D830 41 82 00 08 */ beq lbl_801208D8 -/* 801208D4 0011D834 48 1F 50 5D */ bl Free__7CMemoryFPCv -lbl_801208D8: -/* 801208D8 0011D838 34 1E 00 14 */ addic. r0, r30, 0x14 -/* 801208DC 0011D83C 41 82 00 44 */ beq lbl_80120920 -/* 801208E0 0011D840 80 1E 00 18 */ lwz r0, 0x18(r30) -/* 801208E4 0011D844 80 7E 00 20 */ lwz r3, 0x20(r30) -/* 801208E8 0011D848 54 00 20 36 */ slwi r0, r0, 4 -/* 801208EC 0011D84C 7C 03 02 14 */ add r0, r3, r0 -/* 801208F0 0011D850 90 61 00 1C */ stw r3, 0x1c(r1) -/* 801208F4 0011D854 7C 64 1B 78 */ mr r4, r3 -/* 801208F8 0011D858 90 01 00 24 */ stw r0, 0x24(r1) -/* 801208FC 0011D85C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80120900 0011D860 90 61 00 18 */ stw r3, 0x18(r1) -/* 80120904 0011D864 48 00 00 08 */ b lbl_8012090C -lbl_80120908: -/* 80120908 0011D868 38 84 00 10 */ addi r4, r4, 0x10 -lbl_8012090C: -/* 8012090C 0011D86C 7C 04 00 40 */ cmplw r4, r0 -/* 80120910 0011D870 40 82 FF F8 */ bne lbl_80120908 -/* 80120914 0011D874 28 03 00 00 */ cmplwi r3, 0 -/* 80120918 0011D878 41 82 00 08 */ beq lbl_80120920 -/* 8012091C 0011D87C 48 1F 50 15 */ bl Free__7CMemoryFPCv -lbl_80120920: -/* 80120920 0011D880 34 1E 00 04 */ addic. r0, r30, 4 -/* 80120924 0011D884 41 82 00 44 */ beq lbl_80120968 -/* 80120928 0011D888 80 1E 00 08 */ lwz r0, 8(r30) -/* 8012092C 0011D88C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 80120930 0011D890 54 00 30 32 */ slwi r0, r0, 6 -/* 80120934 0011D894 7C 03 02 14 */ add r0, r3, r0 -/* 80120938 0011D898 90 61 00 0C */ stw r3, 0xc(r1) -/* 8012093C 0011D89C 7C 64 1B 78 */ mr r4, r3 -/* 80120940 0011D8A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80120944 0011D8A4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80120948 0011D8A8 90 61 00 08 */ stw r3, 8(r1) -/* 8012094C 0011D8AC 48 00 00 08 */ b lbl_80120954 -lbl_80120950: -/* 80120950 0011D8B0 38 84 00 40 */ addi r4, r4, 0x40 -lbl_80120954: -/* 80120954 0011D8B4 7C 04 00 40 */ cmplw r4, r0 -/* 80120958 0011D8B8 40 82 FF F8 */ bne lbl_80120950 -/* 8012095C 0011D8BC 28 03 00 00 */ cmplwi r3, 0 -/* 80120960 0011D8C0 41 82 00 08 */ beq lbl_80120968 -/* 80120964 0011D8C4 48 1F 4F CD */ bl Free__7CMemoryFPCv -lbl_80120968: -/* 80120968 0011D8C8 7F E0 07 35 */ extsh. r0, r31 -/* 8012096C 0011D8CC 40 81 00 0C */ ble lbl_80120978 -/* 80120970 0011D8D0 7F C3 F3 78 */ mr r3, r30 -/* 80120974 0011D8D4 48 1F 4F BD */ bl Free__7CMemoryFPCv -lbl_80120978: -/* 80120978 0011D8D8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8012097C 0011D8DC 7F C3 F3 78 */ mr r3, r30 -/* 80120980 0011D8E0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80120984 0011D8E4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80120988 0011D8E8 7C 08 03 A6 */ mtlr r0 -/* 8012098C 0011D8EC 38 21 00 50 */ addi r1, r1, 0x50 -/* 80120990 0011D8F0 4E 80 00 20 */ blr - -.global GetSearchPath__12CSpacePirateCFv -GetSearchPath__12CSpacePirateCFv: -/* 80120994 0011D8F4 38 63 06 60 */ addi r3, r3, 0x660 -/* 80120998 0011D8F8 4E 80 00 20 */ blr - -.global IsListening__12CSpacePirateCFv -IsListening__12CSpacePirateCFv: -/* 8012099C 0011D8FC 38 60 00 01 */ li r3, 1 -/* 801209A0 0011D900 4E 80 00 20 */ blr - -.global GetGravityConstant__12CSpacePirateCFv -GetGravityConstant__12CSpacePirateCFv: -/* 801209A4 0011D904 C0 22 97 B0 */ lfs f1, lbl_805AB4D0@sda21(r2) -/* 801209A8 0011D908 4E 80 00 20 */ blr - -.global Think__12CSpacePirateFfR13CStateManager -Think__12CSpacePirateFfR13CStateManager: -/* 801209AC 0011D90C 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 801209B0 0011D910 7C 08 02 A6 */ mflr r0 -/* 801209B4 0011D914 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 801209B8 0011D918 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 801209BC 0011D91C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 801209C0 0011D920 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 801209C4 0011D924 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 801209C8 0011D928 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 801209CC 0011D92C 93 C1 00 88 */ stw r30, 0x88(r1) -/* 801209D0 0011D930 93 A1 00 84 */ stw r29, 0x84(r1) -/* 801209D4 0011D934 88 03 00 30 */ lbz r0, 0x30(r3) -/* 801209D8 0011D938 FF E0 08 90 */ fmr f31, f1 -/* 801209DC 0011D93C 7C 7E 1B 78 */ mr r30, r3 -/* 801209E0 0011D940 7C 9F 23 78 */ mr r31, r4 -/* 801209E4 0011D944 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801209E8 0011D948 41 82 05 D0 */ beq lbl_80120FB8 -/* 801209EC 0011D94C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 801209F0 0011D950 88 03 03 00 */ lbz r0, 0x300(r3) -/* 801209F4 0011D954 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801209F8 0011D958 40 82 00 08 */ bne lbl_80120A00 -/* 801209FC 0011D95C 48 01 A2 F5 */ bl Activate__15CBodyControllerFR13CStateManager -lbl_80120A00: -/* 80120A00 0011D960 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80120A04 0011D964 4B EE 9E FD */ bl IsInCinematicCamera__14CCameraManagerCFv -/* 80120A08 0011D968 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80120A0C 0011D96C 7C 7D 1B 78 */ mr r29, r3 -/* 80120A10 0011D970 41 82 00 20 */ beq lbl_80120A30 -/* 80120A14 0011D974 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80120A18 0011D978 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80120A1C 0011D97C 40 82 00 14 */ bne lbl_80120A30 -/* 80120A20 0011D980 7F C3 F3 78 */ mr r3, r30 -/* 80120A24 0011D984 7F E4 FB 78 */ mr r4, r31 -/* 80120A28 0011D988 48 00 79 81 */ bl SetCinematicCollision__12CSpacePirateFR13CStateManager -/* 80120A2C 0011D98C 48 00 00 30 */ b lbl_80120A5C -lbl_80120A30: -/* 80120A30 0011D990 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80120A34 0011D994 40 82 00 28 */ bne lbl_80120A5C -/* 80120A38 0011D998 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80120A3C 0011D99C 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80120A40 0011D9A0 41 82 00 1C */ beq lbl_80120A5C -/* 80120A44 0011D9A4 88 1E 06 35 */ lbz r0, 0x635(r30) -/* 80120A48 0011D9A8 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80120A4C 0011D9AC 40 82 00 10 */ bne lbl_80120A5C -/* 80120A50 0011D9B0 7F C3 F3 78 */ mr r3, r30 -/* 80120A54 0011D9B4 7F E4 FB 78 */ mr r4, r31 -/* 80120A58 0011D9B8 48 00 78 9D */ bl SetNonCinematicCollision__12CSpacePirateFR13CStateManager -lbl_80120A5C: -/* 80120A5C 0011D9BC 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80120A60 0011D9C0 53 A0 07 FE */ rlwimi r0, r29, 0, 0x1f, 0x1f -/* 80120A64 0011D9C4 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80120A68 0011D9C8 98 1E 06 37 */ stb r0, 0x637(r30) -/* 80120A6C 0011D9CC C0 1E 07 48 */ lfs f0, 0x748(r30) -/* 80120A70 0011D9D0 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80120A74 0011D9D4 41 82 00 08 */ beq lbl_80120A7C -/* 80120A78 0011D9D8 48 00 00 08 */ b lbl_80120A80 -lbl_80120A7C: -/* 80120A7C 0011D9DC C0 3E 06 44 */ lfs f1, 0x644(r30) -lbl_80120A80: -/* 80120A80 0011D9E0 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80120A84 0011D9E4 FC 40 08 90 */ fmr f2, f1 -/* 80120A88 0011D9E8 38 63 00 04 */ addi r3, r3, 4 -/* 80120A8C 0011D9EC 48 01 0D 5D */ bl SetSteeringSpeedRange__16CBodyStateCmdMgrFff -/* 80120A90 0011D9F0 C0 1E 07 44 */ lfs f0, 0x744(r30) -/* 80120A94 0011D9F4 38 81 00 24 */ addi r4, r1, 0x24 -/* 80120A98 0011D9F8 38 6D 8A D4 */ addi r3, r13, lbl_805A7694@sda21 -/* 80120A9C 0011D9FC EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80120AA0 0011DA00 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80120AA4 0011DA04 4B F2 EC 8D */ bl "Max__5CMathFRCfRCf" -/* 80120AA8 0011DA08 C0 03 00 00 */ lfs f0, 0(r3) -/* 80120AAC 0011DA0C D0 1E 07 44 */ stfs f0, 0x744(r30) -/* 80120AB0 0011DA10 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80120AB4 0011DA14 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80120AB8 0011DA18 41 82 00 64 */ beq lbl_80120B1C -/* 80120ABC 0011DA1C C0 1E 08 50 */ lfs f0, 0x850(r30) -/* 80120AC0 0011DA20 EC 00 F8 2A */ fadds f0, f0, f31 -/* 80120AC4 0011DA24 D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 80120AC8 0011DA28 C0 1E 08 54 */ lfs f0, 0x854(r30) -/* 80120ACC 0011DA2C EC 00 F8 2A */ fadds f0, f0, f31 -/* 80120AD0 0011DA30 D0 1E 08 54 */ stfs f0, 0x854(r30) -/* 80120AD4 0011DA34 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80120AD8 0011DA38 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80120ADC 0011DA3C 41 82 00 1C */ beq lbl_80120AF8 -/* 80120AE0 0011DA40 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80120AE4 0011DA44 38 60 00 00 */ li r3, 0 -/* 80120AE8 0011DA48 D0 1E 08 54 */ stfs f0, 0x854(r30) -/* 80120AEC 0011DA4C 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80120AF0 0011DA50 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80120AF4 0011DA54 98 1E 06 37 */ stb r0, 0x637(r30) -lbl_80120AF8: -/* 80120AF8 0011DA58 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80120AFC 0011DA5C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80120B00 0011DA60 41 82 00 1C */ beq lbl_80120B1C -/* 80120B04 0011DA64 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80120B08 0011DA68 38 60 00 00 */ li r3, 0 -/* 80120B0C 0011DA6C D0 1E 08 50 */ stfs f0, 0x850(r30) -/* 80120B10 0011DA70 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80120B14 0011DA74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80120B18 0011DA78 98 1E 04 00 */ stb r0, 0x400(r30) -lbl_80120B1C: -/* 80120B1C 0011DA7C FC 20 F8 90 */ fmr f1, f31 -/* 80120B20 0011DA80 7F C3 F3 78 */ mr r3, r30 -/* 80120B24 0011DA84 7F E4 FB 78 */ mr r4, r31 -/* 80120B28 0011DA88 48 00 0B 75 */ bl UpdateCloak__12CSpacePirateFfRC13CStateManager -/* 80120B2C 0011DA8C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80120B30 0011DA90 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80120B34 0011DA94 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80120B38 0011DA98 40 82 00 CC */ bne lbl_80120C04 -/* 80120B3C 0011DA9C 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80120B40 0011DAA0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80120B44 0011DAA4 41 82 00 94 */ beq lbl_80120BD8 -/* 80120B48 0011DAA8 C0 1E 07 48 */ lfs f0, 0x748(r30) -/* 80120B4C 0011DAAC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80120B50 0011DAB0 38 6D 8A D8 */ addi r3, r13, lbl_805A7698@sda21 -/* 80120B54 0011DAB4 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80120B58 0011DAB8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80120B5C 0011DABC 4B F2 EB D5 */ bl "Max__5CMathFRCfRCf" -/* 80120B60 0011DAC0 C0 03 00 00 */ lfs f0, 0(r3) -/* 80120B64 0011DAC4 D0 1E 07 48 */ stfs f0, 0x748(r30) -/* 80120B68 0011DAC8 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80120B6C 0011DACC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80120B70 0011DAD0 41 82 00 14 */ beq lbl_80120B84 -/* 80120B74 0011DAD4 C0 1E 07 AC */ lfs f0, 0x7ac(r30) -/* 80120B78 0011DAD8 EC 00 F8 2A */ fadds f0, f0, f31 -/* 80120B7C 0011DADC D0 1E 07 AC */ stfs f0, 0x7ac(r30) -/* 80120B80 0011DAE0 48 00 00 0C */ b lbl_80120B8C -lbl_80120B84: -/* 80120B84 0011DAE4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80120B88 0011DAE8 D0 1E 07 AC */ stfs f0, 0x7ac(r30) -lbl_80120B8C: -/* 80120B8C 0011DAEC C0 1E 08 38 */ lfs f0, 0x838(r30) -/* 80120B90 0011DAF0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80120B94 0011DAF4 38 6D 8A DC */ addi r3, r13, lbl_805A769C@sda21 -/* 80120B98 0011DAF8 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80120B9C 0011DAFC D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80120BA0 0011DB00 4B F2 EB 91 */ bl "Max__5CMathFRCfRCf" -/* 80120BA4 0011DB04 C0 03 00 00 */ lfs f0, 0(r3) -/* 80120BA8 0011DB08 38 81 00 18 */ addi r4, r1, 0x18 -/* 80120BAC 0011DB0C 38 6D 8A E0 */ addi r3, r13, lbl_805A76A0@sda21 -/* 80120BB0 0011DB10 D0 1E 08 38 */ stfs f0, 0x838(r30) -/* 80120BB4 0011DB14 C0 1E 08 C0 */ lfs f0, 0x8c0(r30) -/* 80120BB8 0011DB18 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80120BBC 0011DB1C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80120BC0 0011DB20 4B F2 EB 71 */ bl "Max__5CMathFRCfRCf" -/* 80120BC4 0011DB24 C0 03 00 00 */ lfs f0, 0(r3) -/* 80120BC8 0011DB28 7F C3 F3 78 */ mr r3, r30 -/* 80120BCC 0011DB2C 7F E4 FB 78 */ mr r4, r31 -/* 80120BD0 0011DB30 D0 1E 08 C0 */ stfs f0, 0x8c0(r30) -/* 80120BD4 0011DB34 48 00 87 45 */ bl CheckForProjectiles__12CSpacePirateFR13CStateManager -lbl_80120BD8: -/* 80120BD8 0011DB38 FC 20 F8 90 */ fmr f1, f31 -/* 80120BDC 0011DB3C 7F C3 F3 78 */ mr r3, r30 -/* 80120BE0 0011DB40 7F E4 FB 78 */ mr r4, r31 -/* 80120BE4 0011DB44 48 00 06 31 */ bl UpdateAttacks__12CSpacePirateFfR13CStateManager -/* 80120BE8 0011DB48 FC 20 F8 90 */ fmr f1, f31 -/* 80120BEC 0011DB4C 7F C3 F3 78 */ mr r3, r30 -/* 80120BF0 0011DB50 7F E4 FB 78 */ mr r4, r31 -/* 80120BF4 0011DB54 48 00 04 39 */ bl UpdateAimBodyState__12CSpacePirateFfR13CStateManager -/* 80120BF8 0011DB58 FC 20 F8 90 */ fmr f1, f31 -/* 80120BFC 0011DB5C 38 7E 08 60 */ addi r3, r30, 0x860 -/* 80120C00 0011DB60 48 10 4C E9 */ bl Update__8CIkChainFf -lbl_80120C04: -/* 80120C04 0011DB64 88 7E 06 34 */ lbz r3, 0x634(r30) -/* 80120C08 0011DB68 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80120C0C 0011DB6C 41 82 00 70 */ beq lbl_80120C7C -/* 80120C10 0011DB70 38 00 00 00 */ li r0, 0 -/* 80120C14 0011DB74 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 80120C18 0011DB78 98 7E 06 34 */ stb r3, 0x634(r30) -/* 80120C1C 0011DB7C 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 80120C20 0011DB80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80120C24 0011DB84 41 82 00 14 */ beq lbl_80120C38 -/* 80120C28 0011DB88 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80120C2C 0011DB8C 38 80 00 06 */ li r4, 6 -/* 80120C30 0011DB90 48 01 9D A9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80120C34 0011DB94 48 00 00 10 */ b lbl_80120C44 -lbl_80120C38: -/* 80120C38 0011DB98 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80120C3C 0011DB9C 38 80 00 00 */ li r4, 0 -/* 80120C40 0011DBA0 48 01 9D 99 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_80120C44: -/* 80120C44 0011DBA4 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 80120C48 0011DBA8 38 61 00 40 */ addi r3, r1, 0x40 -/* 80120C4C 0011DBAC 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 80120C50 0011DBB0 4B EE 40 69 */ bl string_l__4rstlFPCc -/* 80120C54 0011DBB4 7F C3 F3 78 */ mr r3, r30 -/* 80120C58 0011DBB8 4B F8 1C A1 */ bl GetStateMachine__3CAiFv -/* 80120C5C 0011DBBC 7C 66 1B 78 */ mr r6, r3 -/* 80120C60 0011DBC0 7F E4 FB 78 */ mr r4, r31 -/* 80120C64 0011DBC4 7F C5 F3 78 */ mr r5, r30 -/* 80120C68 0011DBC8 38 7E 03 30 */ addi r3, r30, 0x330 -/* 80120C6C 0011DBCC 38 E1 00 40 */ addi r7, r1, 0x40 -/* 80120C70 0011DBD0 4B F5 EF 95 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80120C74 0011DBD4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80120C78 0011DBD8 48 21 CE 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80120C7C: -/* 80120C7C 0011DBDC 80 9E 08 5C */ lwz r4, 0x85c(r30) -/* 80120C80 0011DBE0 7C 83 00 34 */ cntlzw r3, r4 -/* 80120C84 0011DBE4 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f -/* 80120C88 0011DBE8 54 7D D9 7E */ srwi r29, r3, 5 -/* 80120C8C 0011DBEC 40 82 00 10 */ bne lbl_80120C9C -/* 80120C90 0011DBF0 88 04 00 68 */ lbz r0, 0x68(r4) -/* 80120C94 0011DBF4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80120C98 0011DBF8 40 82 00 34 */ bne lbl_80120CCC -lbl_80120C9C: -/* 80120C9C 0011DBFC FC 20 F8 90 */ fmr f1, f31 -/* 80120CA0 0011DC00 7F C3 F3 78 */ mr r3, r30 -/* 80120CA4 0011DC04 7F E4 FB 78 */ mr r4, r31 -/* 80120CA8 0011DC08 4B F5 8E 71 */ bl Think__10CPatternedFfR13CStateManager -/* 80120CAC 0011DC0C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80120CB0 0011DC10 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80120CB4 0011DC14 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80120CB8 0011DC18 40 82 00 80 */ bne lbl_80120D38 -/* 80120CBC 0011DC1C FC 20 F8 90 */ fmr f1, f31 -/* 80120CC0 0011DC20 38 7E 07 64 */ addi r3, r30, 0x764 -/* 80120CC4 0011DC24 48 05 4C E5 */ bl Update__13CBoneTrackingFf -/* 80120CC8 0011DC28 48 00 00 70 */ b lbl_80120D38 -lbl_80120CCC: -/* 80120CCC 0011DC2C FC 20 F8 90 */ fmr f1, f31 -/* 80120CD0 0011DC30 7F C3 F3 78 */ mr r3, r30 -/* 80120CD4 0011DC34 7F E4 FB 78 */ mr r4, r31 -/* 80120CD8 0011DC38 4B F5 99 B5 */ bl UpdateAlphaDelta__10CPatternedFfR13CStateManager -/* 80120CDC 0011DC3C FC 20 F8 90 */ fmr f1, f31 -/* 80120CE0 0011DC40 7F C3 F3 78 */ mr r3, r30 -/* 80120CE4 0011DC44 4B F5 98 D5 */ bl UpdateDamageColor__10CPatternedFf -/* 80120CE8 0011DC48 7F C4 F3 78 */ mr r4, r30 -/* 80120CEC 0011DC4C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80120CF0 0011DC50 4B F3 26 29 */ bl GetSfxHandle__6CActorCFv -/* 80120CF4 0011DC54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80120CF8 0011DC58 28 00 00 00 */ cmplwi r0, 0 -/* 80120CFC 0011DC5C 90 01 00 28 */ stw r0, 0x28(r1) -/* 80120D00 0011DC60 41 82 00 38 */ beq lbl_80120D38 -/* 80120D04 0011DC64 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80120D08 0011DC68 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80120D0C 0011DC6C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80120D10 0011DC70 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 80120D14 0011DC74 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80120D18 0011DC78 38 61 00 10 */ addi r3, r1, 0x10 -/* 80120D1C 0011DC7C 38 81 00 34 */ addi r4, r1, 0x34 -/* 80120D20 0011DC80 38 C0 00 7F */ li r6, 0x7f -/* 80120D24 0011DC84 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80120D28 0011DC88 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80120D2C 0011DC8C D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80120D30 0011DC90 90 01 00 10 */ stw r0, 0x10(r1) -/* 80120D34 0011DC94 48 1C 91 7D */ bl UpdateEmitter__11CSfxManagerF10CSfxHandleRC9CVector3fRC9CVector3fUc -lbl_80120D38: -/* 80120D38 0011DC98 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80120D3C 0011DC9C 40 82 01 B8 */ bne lbl_80120EF4 -/* 80120D40 0011DCA0 80 7E 08 5C */ lwz r3, 0x85c(r30) -/* 80120D44 0011DCA4 88 03 00 68 */ lbz r0, 0x68(r3) -/* 80120D48 0011DCA8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80120D4C 0011DCAC 40 82 00 8C */ bne lbl_80120DD8 -/* 80120D50 0011DCB0 81 83 00 00 */ lwz r12, 0(r3) -/* 80120D54 0011DCB4 7F E4 FB 78 */ mr r4, r31 -/* 80120D58 0011DCB8 38 BE 00 34 */ addi r5, r30, 0x34 -/* 80120D5C 0011DCBC 80 DE 00 64 */ lwz r6, 0x64(r30) -/* 80120D60 0011DCC0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80120D64 0011DCC4 7D 89 03 A6 */ mtctr r12 -/* 80120D68 0011DCC8 4E 80 04 21 */ bctrl -/* 80120D6C 0011DCCC C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80120D70 0011DCD0 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 80120D74 0011DCD4 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80120D78 0011DCD8 38 83 66 70 */ addi r4, r3, skIdentity4f@l -/* 80120D7C 0011DCDC C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80120D80 0011DCE0 38 7E 00 34 */ addi r3, r30, 0x34 -/* 80120D84 0011DCE4 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80120D88 0011DCE8 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80120D8C 0011DCEC D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80120D90 0011DCF0 48 1F 1D B1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 80120D94 0011DCF4 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80120D98 0011DCF8 38 A0 00 01 */ li r5, 1 -/* 80120D9C 0011DCFC 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 80120DA0 0011DD00 7F C3 F3 78 */ mr r3, r30 -/* 80120DA4 0011DD04 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80120DA8 0011DD08 38 81 00 50 */ addi r4, r1, 0x50 -/* 80120DAC 0011DD0C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80120DB0 0011DD10 50 A0 1F 38 */ rlwimi r0, r5, 3, 0x1c, 0x1c -/* 80120DB4 0011DD14 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80120DB8 0011DD18 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 80120DBC 0011DD1C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80120DC0 0011DD20 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 80120DC4 0011DD24 4B F3 20 C9 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80120DC8 0011DD28 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80120DCC 0011DD2C C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80120DD0 0011DD30 48 01 9A BD */ bl SetPlaybackRate__15CBodyControllerFf -/* 80120DD4 0011DD34 48 00 00 9C */ b lbl_80120E70 -lbl_80120DD8: -/* 80120DD8 0011DD38 A0 BE 00 C4 */ lhz r5, 0xc4(r30) -/* 80120DDC 0011DD3C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80120DE0 0011DD40 C3 C2 97 C0 */ lfs f30, lbl_805AB4E0@sda21(r2) -/* 80120DE4 0011DD44 7C 05 00 40 */ cmplw r5, r0 -/* 80120DE8 0011DD48 41 82 00 48 */ beq lbl_80120E30 -/* 80120DEC 0011DD4C B0 A1 00 08 */ sth r5, 8(r1) -/* 80120DF0 0011DD50 7F E3 FB 78 */ mr r3, r31 -/* 80120DF4 0011DD54 38 81 00 0C */ addi r4, r1, 0xc -/* 80120DF8 0011DD58 B0 A1 00 0C */ sth r5, 0xc(r1) -/* 80120DFC 0011DD5C 4B F2 B7 A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80120E00 0011DD60 7C 64 1B 78 */ mr r4, r3 -/* 80120E04 0011DD64 38 61 00 2C */ addi r3, r1, 0x2c -/* 80120E08 0011DD68 4B F8 5A 59 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" -/* 80120E0C 0011DD6C 80 83 00 04 */ lwz r4, 4(r3) -/* 80120E10 0011DD70 28 04 00 00 */ cmplwi r4, 0 -/* 80120E14 0011DD74 41 82 00 1C */ beq lbl_80120E30 -/* 80120E18 0011DD78 88 04 00 30 */ lbz r0, 0x30(r4) -/* 80120E1C 0011DD7C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80120E20 0011DD80 41 82 00 10 */ beq lbl_80120E30 -/* 80120E24 0011DD84 38 61 00 5C */ addi r3, r1, 0x5c -/* 80120E28 0011DD88 4B F5 58 A5 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80120E2C 0011DD8C C3 C1 00 70 */ lfs f30, 0x70(r1) -lbl_80120E30: -/* 80120E30 0011DD90 83 BE 08 5C */ lwz r29, 0x85c(r30) -/* 80120E34 0011DD94 7F C3 F3 78 */ mr r3, r30 -/* 80120E38 0011DD98 4B F5 7C 51 */ bl CalcDyingThinkRate__10CPatternedFv -/* 80120E3C 0011DD9C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80120E40 0011DDA0 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80120E44 0011DDA4 FC 40 F0 90 */ fmr f2, f30 -/* 80120E48 0011DDA8 7F A3 EB 78 */ mr r3, r29 -/* 80120E4C 0011DDAC 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80120E50 0011DDB0 7F E4 FB 78 */ mr r4, r31 -/* 80120E54 0011DDB4 7D 89 03 A6 */ mtctr r12 -/* 80120E58 0011DDB8 4E 80 04 21 */ bctrl -/* 80120E5C 0011DDBC FC 20 F8 90 */ fmr f1, f31 -/* 80120E60 0011DDC0 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80120E64 0011DDC4 7F E5 FB 78 */ mr r5, r31 -/* 80120E68 0011DDC8 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80120E6C 0011DDCC 4B FF 47 21 */ bl AdvanceParticles__10CModelDataFRC12CTransform4ffR13CStateManager -lbl_80120E70: -/* 80120E70 0011DDD0 80 7E 08 5C */ lwz r3, 0x85c(r30) -/* 80120E74 0011DDD4 88 63 00 68 */ lbz r3, 0x68(r3) -/* 80120E78 0011DDD8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80120E7C 0011DDDC 41 82 00 78 */ beq lbl_80120EF4 -/* 80120E80 0011DDE0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80120E84 0011DDE4 40 82 00 70 */ bne lbl_80120EF4 -/* 80120E88 0011DDE8 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80120E8C 0011DDEC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80120E90 0011DDF0 40 82 00 64 */ bne lbl_80120EF4 -/* 80120E94 0011DDF4 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80120E98 0011DDF8 38 60 00 01 */ li r3, 1 -/* 80120E9C 0011DDFC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80120EA0 0011DE00 C0 02 97 C4 */ lfs f0, lbl_805AB4E4@sda21(r2) -/* 80120EA4 0011DE04 98 1E 04 00 */ stb r0, 0x400(r30) -/* 80120EA8 0011DE08 7F C3 F3 78 */ mr r3, r30 -/* 80120EAC 0011DE0C 7F E5 FB 78 */ mr r5, r31 -/* 80120EB0 0011DE10 38 80 00 12 */ li r4, 0x12 -/* 80120EB4 0011DE14 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) -/* 80120EB8 0011DE18 4B F3 34 99 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80120EBC 0011DE1C 88 1E 06 38 */ lbz r0, 0x638(r30) -/* 80120EC0 0011DE20 38 60 00 01 */ li r3, 1 -/* 80120EC4 0011DE24 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80120EC8 0011DE28 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80120ECC 0011DE2C 98 1E 06 38 */ stb r0, 0x638(r30) -/* 80120ED0 0011DE30 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80120ED4 0011DE34 7F C3 F3 78 */ mr r3, r30 -/* 80120ED8 0011DE38 C0 04 00 00 */ lfs f0, 0(r4) -/* 80120EDC 0011DE3C D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 80120EE0 0011DE40 C0 04 00 04 */ lfs f0, 4(r4) -/* 80120EE4 0011DE44 D0 1E 01 54 */ stfs f0, 0x154(r30) -/* 80120EE8 0011DE48 C0 04 00 08 */ lfs f0, 8(r4) -/* 80120EEC 0011DE4C D0 1E 01 58 */ stfs f0, 0x158(r30) -/* 80120EF0 0011DE50 4B FF A4 89 */ bl Stop__13CPhysicsActorFv -lbl_80120EF4: -/* 80120EF4 0011DE54 C0 1E 08 58 */ lfs f0, 0x858(r30) -/* 80120EF8 0011DE58 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80120EFC 0011DE5C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80120F00 0011DE60 40 81 00 B8 */ ble lbl_80120FB8 -/* 80120F04 0011DE64 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80120F08 0011DE68 D0 1E 08 58 */ stfs f0, 0x858(r30) -/* 80120F0C 0011DE6C C0 1E 08 58 */ lfs f0, 0x858(r30) -/* 80120F10 0011DE70 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80120F14 0011DE74 4C 40 13 82 */ cror 2, 0, 2 -/* 80120F18 0011DE78 40 82 00 A0 */ bne lbl_80120FB8 -/* 80120F1C 0011DE7C 80 1E 08 5C */ lwz r0, 0x85c(r30) -/* 80120F20 0011DE80 28 00 00 00 */ cmplwi r0, 0 -/* 80120F24 0011DE84 40 82 00 8C */ bne lbl_80120FB0 -/* 80120F28 0011DE88 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 80120F2C 0011DE8C 38 60 00 B4 */ li r3, 0xb4 -/* 80120F30 0011DE90 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 80120F34 0011DE94 38 A0 00 00 */ li r5, 0 -/* 80120F38 0011DE98 38 84 00 0A */ addi r4, r4, 0xa -/* 80120F3C 0011DE9C 48 1F 49 31 */ bl __nw__FUlPCcPCc -/* 80120F40 0011DEA0 7C 64 1B 79 */ or. r4, r3, r3 -/* 80120F44 0011DEA4 41 82 00 50 */ beq lbl_80120F94 -/* 80120F48 0011DEA8 88 9E 06 35 */ lbz r4, 0x635(r30) -/* 80120F4C 0011DEAC 39 20 00 04 */ li r9, 4 -/* 80120F50 0011DEB0 38 00 00 03 */ li r0, 3 -/* 80120F54 0011DEB4 A0 DE 06 00 */ lhz r6, 0x600(r30) -/* 80120F58 0011DEB8 54 87 07 FE */ clrlwi r7, r4, 0x1f -/* 80120F5C 0011DEBC 54 88 FF FE */ rlwinm r8, r4, 0x1f, 0x1f, 0x1f -/* 80120F60 0011DEC0 7C A7 00 D0 */ neg r5, r7 -/* 80120F64 0011DEC4 7F E4 FB 78 */ mr r4, r31 -/* 80120F68 0011DEC8 7C A5 3B 78 */ or r5, r5, r7 -/* 80120F6C 0011DECC 7C E8 00 D0 */ neg r7, r8 -/* 80120F70 0011DED0 7C AA FE 70 */ srawi r10, r5, 0x1f -/* 80120F74 0011DED4 7F C5 F3 78 */ mr r5, r30 -/* 80120F78 0011DED8 7C E7 43 78 */ or r7, r7, r8 -/* 80120F7C 0011DEDC 7C E7 FE 70 */ srawi r7, r7, 0x1f -/* 80120F80 0011DEE0 7D 28 50 38 */ and r8, r9, r10 -/* 80120F84 0011DEE4 7C 00 38 38 */ and r0, r0, r7 -/* 80120F88 0011DEE8 7C 07 43 78 */ or r7, r0, r8 -/* 80120F8C 0011DEEC 48 00 B2 D1 */ bl __ct__14CPirateRagDollFR13CStateManagerP12CSpacePiratefUsUi -/* 80120F90 0011DEF0 7C 64 1B 78 */ mr r4, r3 -lbl_80120F94: -/* 80120F94 0011DEF4 38 7E 08 5C */ addi r3, r30, 0x85c -/* 80120F98 0011DEF8 48 00 00 4D */ bl sub_80120fe4 -/* 80120F9C 0011DEFC 7F C3 F3 78 */ mr r3, r30 -/* 80120FA0 0011DF00 7F E6 FB 78 */ mr r6, r31 -/* 80120FA4 0011DF04 38 80 00 29 */ li r4, 0x29 -/* 80120FA8 0011DF08 38 A0 00 28 */ li r5, 0x28 -/* 80120FAC 0011DF0C 4B F3 2F 29 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -lbl_80120FB0: -/* 80120FB0 0011DF10 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80120FB4 0011DF14 D0 1E 08 58 */ stfs f0, 0x858(r30) -lbl_80120FB8: -/* 80120FB8 0011DF18 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80120FBC 0011DF1C CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80120FC0 0011DF20 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 80120FC4 0011DF24 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 80120FC8 0011DF28 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80120FCC 0011DF2C 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80120FD0 0011DF30 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80120FD4 0011DF34 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 80120FD8 0011DF38 7C 08 03 A6 */ mtlr r0 -/* 80120FDC 0011DF3C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80120FE0 0011DF40 4E 80 00 20 */ blr - -.global sub_80120fe4 -sub_80120fe4: -/* 80120FE4 0011DF44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80120FE8 0011DF48 7C 08 02 A6 */ mflr r0 -/* 80120FEC 0011DF4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80120FF0 0011DF50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80120FF4 0011DF54 7C 9F 23 78 */ mr r31, r4 -/* 80120FF8 0011DF58 38 80 00 01 */ li r4, 1 -/* 80120FFC 0011DF5C 93 C1 00 08 */ stw r30, 8(r1) -/* 80121000 0011DF60 7C 7E 1B 78 */ mr r30, r3 -/* 80121004 0011DF64 80 63 00 00 */ lwz r3, 0(r3) -/* 80121008 0011DF68 4B FF F6 F9 */ bl __dt__14CPirateRagDollFv -/* 8012100C 0011DF6C 93 FE 00 00 */ stw r31, 0(r30) -/* 80121010 0011DF70 7F C3 F3 78 */ mr r3, r30 -/* 80121014 0011DF74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80121018 0011DF78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012101C 0011DF7C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80121020 0011DF80 7C 08 03 A6 */ mtlr r0 -/* 80121024 0011DF84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80121028 0011DF88 4E 80 00 20 */ blr - -.global UpdateAimBodyState__12CSpacePirateFfR13CStateManager -UpdateAimBodyState__12CSpacePirateFfR13CStateManager: -/* 8012102C 0011DF8C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80121030 0011DF90 7C 08 02 A6 */ mflr r0 -/* 80121034 0011DF94 90 01 00 54 */ stw r0, 0x54(r1) -/* 80121038 0011DF98 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8012103C 0011DF9C 7C 9F 23 78 */ mr r31, r4 -/* 80121040 0011DFA0 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80121044 0011DFA4 7C 7E 1B 78 */ mr r30, r3 -/* 80121048 0011DFA8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8012104C 0011DFAC 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80121050 0011DFB0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80121054 0011DFB4 41 82 01 5C */ beq lbl_801211B0 -/* 80121058 0011DFB8 88 7E 06 37 */ lbz r3, 0x637(r30) -/* 8012105C 0011DFBC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80121060 0011DFC0 41 82 01 50 */ beq lbl_801211B0 -/* 80121064 0011DFC4 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 80121068 0011DFC8 40 82 01 48 */ bne lbl_801211B0 -/* 8012106C 0011DFCC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80121070 0011DFD0 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80121074 0011DFD4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80121078 0011DFD8 40 82 01 38 */ bne lbl_801211B0 -/* 8012107C 0011DFDC 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 80121080 0011DFE0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80121084 0011DFE4 40 82 01 2C */ bne lbl_801211B0 -/* 80121088 0011DFE8 80 1E 08 5C */ lwz r0, 0x85c(r30) -/* 8012108C 0011DFEC 28 00 00 00 */ cmplwi r0, 0 -/* 80121090 0011DFF0 40 82 01 20 */ bne lbl_801211B0 -/* 80121094 0011DFF4 88 1E 06 35 */ lbz r0, 0x635(r30) -/* 80121098 0011DFF8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8012109C 0011DFFC 41 82 00 10 */ beq lbl_801210AC -/* 801210A0 0011E000 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 801210A4 0011E004 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 801210A8 0011E008 41 82 01 08 */ beq lbl_801211B0 -lbl_801210AC: -/* 801210AC 0011E00C C0 43 03 24 */ lfs f2, 0x324(r3) -/* 801210B0 0011E010 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801210B4 0011E014 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801210B8 0011E018 41 81 00 F8 */ bgt lbl_801211B0 -/* 801210BC 0011E01C C0 1E 08 C4 */ lfs f0, 0x8c4(r30) -/* 801210C0 0011E020 38 81 00 08 */ addi r4, r1, 8 -/* 801210C4 0011E024 38 6D 8A D0 */ addi r3, r13, lbl_805A7690@sda21 -/* 801210C8 0011E028 EC 00 08 28 */ fsubs f0, f0, f1 -/* 801210CC 0011E02C D0 01 00 08 */ stfs f0, 8(r1) -/* 801210D0 0011E030 4B F2 E6 61 */ bl "Max__5CMathFRCfRCf" -/* 801210D4 0011E034 C0 23 00 00 */ lfs f1, 0(r3) -/* 801210D8 0011E038 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801210DC 0011E03C D0 3E 08 C4 */ stfs f1, 0x8c4(r30) -/* 801210E0 0011E040 C0 3E 08 C4 */ lfs f1, 0x8c4(r30) -/* 801210E4 0011E044 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 801210E8 0011E048 40 82 01 10 */ bne lbl_801211F8 -/* 801210EC 0011E04C 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 801210F0 0011E050 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 801210F4 0011E054 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 801210F8 0011E058 3C 80 80 3E */ lis r4, lbl_803E061C@ha -/* 801210FC 0011E05C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80121100 0011E060 38 04 06 1C */ addi r0, r4, lbl_803E061C@l -/* 80121104 0011E064 38 80 00 18 */ li r4, 0x18 -/* 80121108 0011E068 3B A3 00 04 */ addi r29, r3, 4 -/* 8012110C 0011E06C 90 81 00 18 */ stw r4, 0x18(r1) -/* 80121110 0011E070 7F A3 EB 78 */ mr r3, r29 -/* 80121114 0011E074 38 80 00 18 */ li r4, 0x18 -/* 80121118 0011E078 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012111C 0011E07C 48 01 03 1D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80121120 0011E080 3C 60 80 3E */ lis r3, lbl_803E061C@ha -/* 80121124 0011E084 80 C1 00 18 */ lwz r6, 0x18(r1) -/* 80121128 0011E088 38 03 06 1C */ addi r0, r3, lbl_803E061C@l -/* 8012112C 0011E08C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80121130 0011E090 90 01 00 14 */ stw r0, 0x14(r1) -/* 80121134 0011E094 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80121138 0011E098 7F C4 F3 78 */ mr r4, r30 -/* 8012113C 0011E09C 7F E5 FB 78 */ mr r5, r31 -/* 80121140 0011E0A0 90 DD 02 74 */ stw r6, 0x274(r29) -/* 80121144 0011E0A4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80121148 0011E0A8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012114C 0011E0AC 48 00 72 F9 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 80121150 0011E0B0 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80121154 0011E0B4 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80121158 0011E0B8 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 8012115C 0011E0BC 38 61 00 34 */ addi r3, r1, 0x34 -/* 80121160 0011E0C0 C0 61 00 2C */ lfs f3, 0x2c(r1) -/* 80121164 0011E0C4 38 A1 00 1C */ addi r5, r1, 0x1c -/* 80121168 0011E0C8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8012116C 0011E0CC C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80121170 0011E0D0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80121174 0011E0D4 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80121178 0011E0D8 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8012117C 0011E0DC D0 81 00 24 */ stfs f4, 0x24(r1) -/* 80121180 0011E0E0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80121184 0011E0E4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80121188 0011E0E8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8012118C 0011E0EC 48 1F 18 99 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80121190 0011E0F0 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80121194 0011E0F4 C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 80121198 0011E0F8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8012119C 0011E0FC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 801211A0 0011E100 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 801211A4 0011E104 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 801211A8 0011E108 D0 43 00 30 */ stfs f2, 0x30(r3) -/* 801211AC 0011E10C 48 00 00 4C */ b lbl_801211F8 -lbl_801211B0: -/* 801211B0 0011E110 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 801211B4 0011E114 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801211B8 0011E118 41 82 00 40 */ beq lbl_801211F8 -/* 801211BC 0011E11C 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 801211C0 0011E120 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 801211C4 0011E124 40 82 00 34 */ bne lbl_801211F8 -/* 801211C8 0011E128 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801211CC 0011E12C 38 00 00 17 */ li r0, 0x17 -/* 801211D0 0011E130 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 801211D4 0011E134 90 01 00 10 */ stw r0, 0x10(r1) -/* 801211D8 0011E138 38 81 00 0C */ addi r4, r1, 0xc -/* 801211DC 0011E13C 90 61 00 0C */ stw r3, 0xc(r1) -/* 801211E0 0011E140 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 801211E4 0011E144 38 63 00 04 */ addi r3, r3, 4 -/* 801211E8 0011E148 48 01 05 D1 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 801211EC 0011E14C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801211F0 0011E150 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801211F4 0011E154 90 01 00 0C */ stw r0, 0xc(r1) -lbl_801211F8: -/* 801211F8 0011E158 80 01 00 54 */ lwz r0, 0x54(r1) -/* 801211FC 0011E15C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80121200 0011E160 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80121204 0011E164 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80121208 0011E168 7C 08 03 A6 */ mtlr r0 -/* 8012120C 0011E16C 38 21 00 50 */ addi r1, r1, 0x50 -/* 80121210 0011E170 4E 80 00 20 */ blr - -.global UpdateAttacks__12CSpacePirateFfR13CStateManager -UpdateAttacks__12CSpacePirateFfR13CStateManager: -/* 80121214 0011E174 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80121218 0011E178 7C 08 02 A6 */ mflr r0 -/* 8012121C 0011E17C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80121220 0011E180 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80121224 0011E184 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 80121228 0011E188 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8012122C 0011E18C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 80121230 0011E190 BF 61 00 7C */ stmw r27, 0x7c(r1) -/* 80121234 0011E194 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80121238 0011E198 FF E0 08 90 */ fmr f31, f1 -/* 8012123C 0011E19C 7C 7D 1B 78 */ mr r29, r3 -/* 80121240 0011E1A0 7C 9E 23 78 */ mr r30, r4 -/* 80121244 0011E1A4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80121248 0011E1A8 3B E0 00 01 */ li r31, 1 -/* 8012124C 0011E1AC 41 82 00 68 */ beq lbl_801212B4 -/* 80121250 0011E1B0 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80121254 0011E1B4 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 80121258 0011E1B8 48 01 2E 21 */ bl GetCurrentState__14CBodyStateInfoCFv -/* 8012125C 0011E1BC 81 83 00 00 */ lwz r12, 0(r3) -/* 80121260 0011E1C0 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 80121264 0011E1C4 7D 89 03 A6 */ mtctr r12 -/* 80121268 0011E1C8 4E 80 04 21 */ bctrl -/* 8012126C 0011E1CC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80121270 0011E1D0 41 82 03 D4 */ beq lbl_80121644 -/* 80121274 0011E1D4 88 1D 06 37 */ lbz r0, 0x637(r29) -/* 80121278 0011E1D8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8012127C 0011E1DC 41 82 03 C8 */ beq lbl_80121644 -/* 80121280 0011E1E0 88 7D 06 34 */ lbz r3, 0x634(r29) -/* 80121284 0011E1E4 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80121288 0011E1E8 40 82 03 BC */ bne lbl_80121644 -/* 8012128C 0011E1EC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80121290 0011E1F0 40 82 03 B4 */ bne lbl_80121644 -/* 80121294 0011E1F4 88 1D 06 39 */ lbz r0, 0x639(r29) -/* 80121298 0011E1F8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8012129C 0011E1FC 40 82 03 A8 */ bne lbl_80121644 -/* 801212A0 0011E200 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 801212A4 0011E204 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801212A8 0011E208 C0 23 03 24 */ lfs f1, 0x324(r3) -/* 801212AC 0011E20C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801212B0 0011E210 41 81 03 94 */ bgt lbl_80121644 -lbl_801212B4: -/* 801212B4 0011E214 80 1D 07 C4 */ lwz r0, 0x7c4(r29) -/* 801212B8 0011E218 2C 00 FF FF */ cmpwi r0, -1 -/* 801212BC 0011E21C 41 82 03 88 */ beq lbl_80121644 -/* 801212C0 0011E220 88 1D 04 00 */ lbz r0, 0x400(r29) -/* 801212C4 0011E224 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801212C8 0011E228 41 82 02 C8 */ beq lbl_80121590 -/* 801212CC 0011E22C 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 801212D0 0011E230 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 801212D4 0011E234 41 82 00 68 */ beq lbl_8012133C -/* 801212D8 0011E238 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 801212DC 0011E23C C0 1D 03 C8 */ lfs f0, 0x3c8(r29) -/* 801212E0 0011E240 C0 E3 00 50 */ lfs f7, 0x50(r3) -/* 801212E4 0011E244 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 801212E8 0011E248 EC 00 00 32 */ fmuls f0, f0, f0 -/* 801212EC 0011E24C C0 43 00 40 */ lfs f2, 0x40(r3) -/* 801212F0 0011E250 EC C7 08 28 */ fsubs f6, f7, f1 -/* 801212F4 0011E254 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 801212F8 0011E258 C1 03 00 60 */ lfs f8, 0x60(r3) -/* 801212FC 0011E25C EC 82 08 28 */ fsubs f4, f2, f1 -/* 80121300 0011E260 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 80121304 0011E264 EC 26 01 B2 */ fmuls f1, f6, f6 -/* 80121308 0011E268 EC A8 18 28 */ fsubs f5, f8, f3 -/* 8012130C 0011E26C D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80121310 0011E270 EC 44 01 32 */ fmuls f2, f4, f4 -/* 80121314 0011E274 D0 E1 00 64 */ stfs f7, 0x64(r1) -/* 80121318 0011E278 EC 65 01 72 */ fmuls f3, f5, f5 -/* 8012131C 0011E27C EC 22 08 2A */ fadds f1, f2, f1 -/* 80121320 0011E280 D1 01 00 68 */ stfs f8, 0x68(r1) -/* 80121324 0011E284 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 80121328 0011E288 EC 23 08 2A */ fadds f1, f3, f1 -/* 8012132C 0011E28C D0 C1 00 70 */ stfs f6, 0x70(r1) -/* 80121330 0011E290 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80121334 0011E294 D0 A1 00 74 */ stfs f5, 0x74(r1) -/* 80121338 0011E298 40 80 02 58 */ bge lbl_80121590 -lbl_8012133C: -/* 8012133C 0011E29C C0 3D 07 BC */ lfs f1, 0x7bc(r29) -/* 80121340 0011E2A0 3B E0 00 00 */ li r31, 0 -/* 80121344 0011E2A4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80121348 0011E2A8 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 8012134C 0011E2AC D0 3D 07 BC */ stfs f1, 0x7bc(r29) -/* 80121350 0011E2B0 C0 3D 07 BC */ lfs f1, 0x7bc(r29) -/* 80121354 0011E2B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80121358 0011E2B8 40 80 02 38 */ bge lbl_80121590 -/* 8012135C 0011E2BC A0 DD 00 08 */ lhz r6, 8(r29) -/* 80121360 0011E2C0 7F C3 F3 78 */ mr r3, r30 -/* 80121364 0011E2C4 38 81 00 1C */ addi r4, r1, 0x1c -/* 80121368 0011E2C8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8012136C 0011E2CC B0 C1 00 18 */ sth r6, 0x18(r1) -/* 80121370 0011E2D0 A0 1D 08 C8 */ lhz r0, 0x8c8(r29) -/* 80121374 0011E2D4 B0 C1 00 14 */ sth r6, 0x14(r1) -/* 80121378 0011E2D8 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8012137C 0011E2DC 48 11 8E 05 */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId -/* 80121380 0011E2E0 28 03 00 00 */ cmplwi r3, 0 -/* 80121384 0011E2E4 41 82 00 10 */ beq lbl_80121394 -/* 80121388 0011E2E8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8012138C 0011E2EC 2C 00 00 02 */ cmpwi r0, 2 -/* 80121390 0011E2F0 40 82 02 00 */ bne lbl_80121590 -lbl_80121394: -/* 80121394 0011E2F4 A0 7D 08 C8 */ lhz r3, 0x8c8(r29) -/* 80121398 0011E2F8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8012139C 0011E2FC 7C 03 00 40 */ cmplw r3, r0 -/* 801213A0 0011E300 41 82 00 34 */ beq lbl_801213D4 -/* 801213A4 0011E304 A0 FD 00 08 */ lhz r7, 8(r29) -/* 801213A8 0011E308 7F C4 F3 78 */ mr r4, r30 -/* 801213AC 0011E30C 38 A1 00 10 */ addi r5, r1, 0x10 -/* 801213B0 0011E310 38 C1 00 0C */ addi r6, r1, 0xc -/* 801213B4 0011E314 B0 E1 00 0C */ sth r7, 0xc(r1) -/* 801213B8 0011E318 38 60 00 01 */ li r3, 1 -/* 801213BC 0011E31C A0 1D 08 C8 */ lhz r0, 0x8c8(r29) -/* 801213C0 0011E320 B0 E1 00 08 */ sth r7, 8(r1) -/* 801213C4 0011E324 B0 01 00 10 */ sth r0, 0x10(r1) -/* 801213C8 0011E328 48 11 8C 29 */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId -/* 801213CC 0011E32C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801213D0 0011E330 41 82 01 C0 */ beq lbl_80121590 -lbl_801213D4: -/* 801213D4 0011E334 7F A3 EB 78 */ mr r3, r29 -/* 801213D8 0011E338 7F C4 F3 78 */ mr r4, r30 -/* 801213DC 0011E33C 48 00 05 3D */ bl ShouldFrenzy__12CSpacePirateFR13CStateManager -/* 801213E0 0011E340 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801213E4 0011E344 41 82 00 0C */ beq lbl_801213F0 -/* 801213E8 0011E348 38 00 00 02 */ li r0, 2 -/* 801213EC 0011E34C 90 1D 07 C4 */ stw r0, 0x7c4(r29) -lbl_801213F0: -/* 801213F0 0011E350 88 1D 06 35 */ lbz r0, 0x635(r29) -/* 801213F4 0011E354 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 801213F8 0011E358 41 82 00 0C */ beq lbl_80121404 -/* 801213FC 0011E35C 38 00 00 05 */ li r0, 5 -/* 80121400 0011E360 90 1D 07 C4 */ stw r0, 0x7c4(r29) -lbl_80121404: -/* 80121404 0011E364 7F A3 EB 78 */ mr r3, r29 -/* 80121408 0011E368 7F C4 F3 78 */ mr r4, r30 -/* 8012140C 0011E36C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80121410 0011E370 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80121414 0011E374 81 8C 01 B0 */ lwz r12, 0x1b0(r12) -/* 80121418 0011E378 7D 89 03 A6 */ mtctr r12 -/* 8012141C 0011E37C 4E 80 04 21 */ bctrl -/* 80121420 0011E380 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80121424 0011E384 40 82 00 18 */ bne lbl_8012143C -/* 80121428 0011E388 80 7D 07 C4 */ lwz r3, 0x7c4(r29) -/* 8012142C 0011E38C 2C 03 00 06 */ cmpwi r3, 6 -/* 80121430 0011E390 40 80 00 0C */ bge lbl_8012143C -/* 80121434 0011E394 38 03 00 06 */ addi r0, r3, 6 -/* 80121438 0011E398 90 1D 07 C4 */ stw r0, 0x7c4(r29) -lbl_8012143C: -/* 8012143C 0011E39C 7F C4 F3 78 */ mr r4, r30 -/* 80121440 0011E3A0 38 7D 07 C4 */ addi r3, r29, 0x7c4 -/* 80121444 0011E3A4 48 08 BF E1 */ bl Start__10CBurstFireFR13CStateManager -/* 80121448 0011E3A8 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 8012144C 0011E3AC 48 1F 10 91 */ bl Float__9CRandom16Fv -/* 80121450 0011E3B0 C0 5D 03 08 */ lfs f2, 0x308(r29) -/* 80121454 0011E3B4 7F C5 F3 78 */ mr r5, r30 -/* 80121458 0011E3B8 C0 1D 03 04 */ lfs f0, 0x304(r29) -/* 8012145C 0011E3BC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80121460 0011E3C0 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80121464 0011E3C4 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80121468 0011E3C8 D0 1D 07 BC */ stfs f0, 0x7bc(r29) -/* 8012146C 0011E3CC 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 80121470 0011E3D0 81 84 00 00 */ lwz r12, 0(r4) -/* 80121474 0011E3D4 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80121478 0011E3D8 7D 89 03 A6 */ mtctr r12 -/* 8012147C 0011E3DC 4E 80 04 21 */ bctrl -/* 80121480 0011E3E0 7F A4 EB 78 */ mr r4, r29 -/* 80121484 0011E3E4 38 61 00 3C */ addi r3, r1, 0x3c -/* 80121488 0011E3E8 4B F5 B6 49 */ bl GetGunEyePos__10CPatternedCFv -/* 8012148C 0011E3EC C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 80121490 0011E3F0 38 61 00 54 */ addi r3, r1, 0x54 -/* 80121494 0011E3F4 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80121498 0011E3F8 38 81 00 48 */ addi r4, r1, 0x48 -/* 8012149C 0011E3FC C0 61 00 40 */ lfs f3, 0x40(r1) -/* 801214A0 0011E400 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 801214A4 0011E404 EC 81 00 28 */ fsubs f4, f1, f0 -/* 801214A8 0011E408 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 801214AC 0011E40C C0 01 00 38 */ lfs f0, 0x38(r1) -/* 801214B0 0011E410 EC 43 10 28 */ fsubs f2, f3, f2 -/* 801214B4 0011E414 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 801214B8 0011E418 EC 01 00 28 */ fsubs f0, f1, f0 -/* 801214BC 0011E41C D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 801214C0 0011E420 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 801214C4 0011E424 48 1F 33 8D */ bl AsNormalized__9CVector3fCFv -/* 801214C8 0011E428 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 801214CC 0011E42C C0 01 00 58 */ lfs f0, 0x58(r1) -/* 801214D0 0011E430 C0 83 00 48 */ lfs f4, 0x48(r3) -/* 801214D4 0011E434 C0 63 00 38 */ lfs f3, 0x38(r3) -/* 801214D8 0011E438 EC 00 01 32 */ fmuls f0, f0, f4 -/* 801214DC 0011E43C C0 21 00 54 */ lfs f1, 0x54(r1) -/* 801214E0 0011E440 C0 A3 00 58 */ lfs f5, 0x58(r3) -/* 801214E4 0011E444 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 801214E8 0011E448 EC 21 00 FA */ fmadds f1, f1, f3, f0 -/* 801214EC 0011E44C C0 02 97 C8 */ lfs f0, lbl_805AB4E8@sda21(r2) -/* 801214F0 0011E450 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 801214F4 0011E454 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 801214F8 0011E458 D0 81 00 28 */ stfs f4, 0x28(r1) -/* 801214FC 0011E45C D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 80121500 0011E460 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80121504 0011E464 40 80 00 8C */ bge lbl_80121590 -/* 80121508 0011E468 83 9E 08 38 */ lwz r28, 0x838(r30) -/* 8012150C 0011E46C AB 7C 20 08 */ lha r27, 0x2008(r28) -/* 80121510 0011E470 48 00 00 78 */ b lbl_80121588 -lbl_80121514: -/* 80121514 0011E474 7F 83 E3 78 */ mr r3, r28 -/* 80121518 0011E478 7F 64 DB 78 */ mr r4, r27 -/* 8012151C 0011E47C 4B EE E7 C1 */ bl __vc__11CObjectListCFi -/* 80121520 0011E480 7C 64 1B 78 */ mr r4, r3 -/* 80121524 0011E484 38 61 00 20 */ addi r3, r1, 0x20 -/* 80121528 0011E488 4B F8 3E A9 */ bl sub_800a53d0 -/* 8012152C 0011E48C 4B F8 3E 79 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" -/* 80121530 0011E490 28 03 00 00 */ cmplwi r3, 0 -/* 80121534 0011E494 41 82 00 38 */ beq lbl_8012156C -/* 80121538 0011E498 7C 03 E8 40 */ cmplw r3, r29 -/* 8012153C 0011E49C 41 82 00 30 */ beq lbl_8012156C -/* 80121540 0011E4A0 88 03 06 37 */ lbz r0, 0x637(r3) -/* 80121544 0011E4A4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80121548 0011E4A8 41 82 00 24 */ beq lbl_8012156C -/* 8012154C 0011E4AC 80 63 00 04 */ lwz r3, 4(r3) -/* 80121550 0011E4B0 80 1D 00 04 */ lwz r0, 4(r29) -/* 80121554 0011E4B4 7C 03 00 00 */ cmpw r3, r0 -/* 80121558 0011E4B8 40 82 00 14 */ bne lbl_8012156C -/* 8012155C 0011E4BC C0 3D 07 BC */ lfs f1, 0x7bc(r29) -/* 80121560 0011E4C0 C0 02 97 CC */ lfs f0, lbl_805AB4EC@sda21(r2) -/* 80121564 0011E4C4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80121568 0011E4C8 D0 1D 07 BC */ stfs f0, 0x7bc(r29) -lbl_8012156C: -/* 8012156C 0011E4CC 2C 1B FF FF */ cmpwi r27, -1 -/* 80121570 0011E4D0 41 82 00 14 */ beq lbl_80121584 -/* 80121574 0011E4D4 57 63 18 38 */ slwi r3, r27, 3 -/* 80121578 0011E4D8 38 03 00 08 */ addi r0, r3, 8 -/* 8012157C 0011E4DC 7F 7C 02 AE */ lhax r27, r28, r0 -/* 80121580 0011E4E0 48 00 00 08 */ b lbl_80121588 -lbl_80121584: -/* 80121584 0011E4E4 3B 60 FF FF */ li r27, -1 -lbl_80121588: -/* 80121588 0011E4E8 2C 1B FF FF */ cmpwi r27, -1 -/* 8012158C 0011E4EC 40 82 FF 88 */ bne lbl_80121514 -lbl_80121590: -/* 80121590 0011E4F0 FC 20 F8 90 */ fmr f1, f31 -/* 80121594 0011E4F4 7F C4 F3 78 */ mr r4, r30 -/* 80121598 0011E4F8 38 7D 07 C4 */ addi r3, r29, 0x7c4 -/* 8012159C 0011E4FC 48 08 BD B9 */ bl Update__10CBurstFireFR13CStateManagerf -/* 801215A0 0011E500 88 1D 07 D8 */ lbz r0, 0x7d8(r29) -/* 801215A4 0011E504 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801215A8 0011E508 41 82 00 8C */ beq lbl_80121634 -/* 801215AC 0011E50C 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 801215B0 0011E510 88 03 03 7C */ lbz r0, 0x37c(r3) -/* 801215B4 0011E514 28 00 00 00 */ cmplwi r0, 0 -/* 801215B8 0011E518 41 82 00 28 */ beq lbl_801215E0 -/* 801215BC 0011E51C 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 801215C0 0011E520 48 1F 0F 1D */ bl Float__9CRandom16Fv -/* 801215C4 0011E524 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 801215C8 0011E528 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801215CC 0011E52C 40 80 00 14 */ bge lbl_801215E0 -/* 801215D0 0011E530 88 1D 07 D8 */ lbz r0, 0x7d8(r29) -/* 801215D4 0011E534 38 60 00 01 */ li r3, 1 -/* 801215D8 0011E538 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 801215DC 0011E53C 98 1D 07 D8 */ stb r0, 0x7d8(r29) -lbl_801215E0: -/* 801215E0 0011E540 FC 20 F8 90 */ fmr f1, f31 -/* 801215E4 0011E544 7F A3 EB 78 */ mr r3, r29 -/* 801215E8 0011E548 7F C4 F3 78 */ mr r4, r30 -/* 801215EC 0011E54C 48 00 0A E1 */ bl FireProjectile__12CSpacePirateFfR13CStateManager -/* 801215F0 0011E550 88 1D 07 D8 */ lbz r0, 0x7d8(r29) -/* 801215F4 0011E554 38 60 00 00 */ li r3, 0 -/* 801215F8 0011E558 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 801215FC 0011E55C 98 1D 07 D8 */ stb r0, 0x7d8(r29) -/* 80121600 0011E560 C3 FD 06 08 */ lfs f31, 0x608(r29) -/* 80121604 0011E564 C3 DD 06 04 */ lfs f30, 0x604(r29) -/* 80121608 0011E568 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 8012160C 0011E56C 48 1F 0E D1 */ bl Float__9CRandom16Fv -/* 80121610 0011E570 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80121614 0011E574 C0 5D 07 CC */ lfs f2, 0x7cc(r29) -/* 80121618 0011E578 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8012161C 0011E57C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80121620 0011E580 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80121624 0011E584 EC 1F F0 7A */ fmadds f0, f31, f1, f30 -/* 80121628 0011E588 40 81 00 1C */ ble lbl_80121644 -/* 8012162C 0011E58C D0 1D 07 CC */ stfs f0, 0x7cc(r29) -/* 80121630 0011E590 48 00 00 14 */ b lbl_80121644 -lbl_80121634: -/* 80121634 0011E594 80 1D 07 DC */ lwz r0, 0x7dc(r29) -/* 80121638 0011E598 28 00 00 00 */ cmplwi r0, 0 -/* 8012163C 0011E59C 40 82 00 08 */ bne lbl_80121644 -/* 80121640 0011E5A0 3B E0 00 01 */ li r31, 1 -lbl_80121644: -/* 80121644 0011E5A4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80121648 0011E5A8 41 82 00 10 */ beq lbl_80121658 -/* 8012164C 0011E5AC 7F A3 EB 78 */ mr r3, r29 -/* 80121650 0011E5B0 7F C4 F3 78 */ mr r4, r30 -/* 80121654 0011E5B4 48 00 7F E5 */ bl SquadReset__12CSpacePirateFR13CStateManager -lbl_80121658: -/* 80121658 0011E5B8 7F A3 EB 78 */ mr r3, r29 -/* 8012165C 0011E5BC 7F C4 F3 78 */ mr r4, r30 -/* 80121660 0011E5C0 48 00 83 7D */ bl CheckTargetable__12CSpacePirateFR13CStateManager -/* 80121664 0011E5C4 88 1D 00 E7 */ lbz r0, 0xe7(r29) -/* 80121668 0011E5C8 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8012166C 0011E5CC 98 1D 00 E7 */ stb r0, 0xe7(r29) -/* 80121670 0011E5D0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80121674 0011E5D4 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80121678 0011E5D8 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8012167C 0011E5DC CB C1 00 90 */ lfd f30, 0x90(r1) -/* 80121680 0011E5E0 BB 61 00 7C */ lmw r27, 0x7c(r1) -/* 80121684 0011E5E4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80121688 0011E5E8 7C 08 03 A6 */ mtlr r0 -/* 8012168C 0011E5EC 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80121690 0011E5F0 4E 80 00 20 */ blr - -.global CanShoot__10CBodyStateCFv -CanShoot__10CBodyStateCFv: -/* 80121694 0011E5F4 38 60 00 00 */ li r3, 0 -/* 80121698 0011E5F8 4E 80 00 20 */ blr - -.global UpdateCloak__12CSpacePirateFfRC13CStateManager -UpdateCloak__12CSpacePirateFfRC13CStateManager: -/* 8012169C 0011E5FC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 801216A0 0011E600 7C 08 02 A6 */ mflr r0 -/* 801216A4 0011E604 90 01 00 54 */ stw r0, 0x54(r1) -/* 801216A8 0011E608 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 801216AC 0011E60C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 801216B0 0011E610 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 801216B4 0011E614 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 801216B8 0011E618 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 801216BC 0011E61C F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 801216C0 0011E620 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801216C4 0011E624 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801216C8 0011E628 88 03 06 35 */ lbz r0, 0x635(r3) -/* 801216CC 0011E62C FF A0 08 90 */ fmr f29, f1 -/* 801216D0 0011E630 7C 7E 1B 78 */ mr r30, r3 -/* 801216D4 0011E634 7C 9F 23 78 */ mr r31, r4 -/* 801216D8 0011E638 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 801216DC 0011E63C 41 82 02 0C */ beq lbl_801218E8 -/* 801216E0 0011E640 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 801216E4 0011E644 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801216E8 0011E648 41 82 00 38 */ beq lbl_80121720 -/* 801216EC 0011E64C C0 1E 08 A8 */ lfs f0, 0x8a8(r30) -/* 801216F0 0011E650 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 801216F4 0011E654 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801216F8 0011E658 40 81 00 38 */ ble lbl_80121730 -/* 801216FC 0011E65C EC 00 E8 28 */ fsubs f0, f0, f29 -/* 80121700 0011E660 D0 1E 08 A8 */ stfs f0, 0x8a8(r30) -/* 80121704 0011E664 C0 1E 08 A8 */ lfs f0, 0x8a8(r30) -/* 80121708 0011E668 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8012170C 0011E66C 4C 40 13 82 */ cror 2, 0, 2 -/* 80121710 0011E670 40 82 00 20 */ bne lbl_80121730 -/* 80121714 0011E674 C0 02 97 D4 */ lfs f0, lbl_805AB4F4@sda21(r2) -/* 80121718 0011E678 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) -/* 8012171C 0011E67C 48 00 00 14 */ b lbl_80121730 -lbl_80121720: -/* 80121720 0011E680 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80121724 0011E684 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80121728 0011E688 D0 3E 08 B8 */ stfs f1, 0x8b8(r30) -/* 8012172C 0011E68C D0 1E 08 BC */ stfs f0, 0x8bc(r30) -lbl_80121730: -/* 80121730 0011E690 C0 1E 08 AC */ lfs f0, 0x8ac(r30) -/* 80121734 0011E694 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80121738 0011E698 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8012173C 0011E69C 40 81 00 38 */ ble lbl_80121774 -/* 80121740 0011E6A0 EC 00 E8 28 */ fsubs f0, f0, f29 -/* 80121744 0011E6A4 D0 1E 08 AC */ stfs f0, 0x8ac(r30) -/* 80121748 0011E6A8 C0 1E 08 AC */ lfs f0, 0x8ac(r30) -/* 8012174C 0011E6AC FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80121750 0011E6B0 4C 40 13 82 */ cror 2, 0, 2 -/* 80121754 0011E6B4 40 82 00 20 */ bne lbl_80121774 -/* 80121758 0011E6B8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8012175C 0011E6BC C0 03 03 24 */ lfs f0, 0x324(r3) -/* 80121760 0011E6C0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80121764 0011E6C4 41 81 00 10 */ bgt lbl_80121774 -/* 80121768 0011E6C8 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 8012176C 0011E6CC 7F C4 F3 78 */ mr r4, r30 -/* 80121770 0011E6D0 48 0C 39 E1 */ bl StopElectric__20CActorModelParticlesFR5CActor -lbl_80121774: -/* 80121774 0011E6D4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80121778 0011E6D8 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8012177C 0011E6DC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80121780 0011E6E0 41 82 00 0C */ beq lbl_8012178C -/* 80121784 0011E6E4 C0 02 97 DC */ lfs f0, lbl_805AB4FC@sda21(r2) -/* 80121788 0011E6E8 D0 1E 03 E8 */ stfs f0, 0x3e8(r30) -lbl_8012178C: -/* 8012178C 0011E6EC C0 1E 03 E8 */ lfs f0, 0x3e8(r30) -/* 80121790 0011E6F0 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80121794 0011E6F4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80121798 0011E6F8 40 80 00 44 */ bge lbl_801217DC -/* 8012179C 0011E6FC E0 5E A4 2F */ psq_l f2, 1071(r30), 1, qr2 -/* 801217A0 0011E700 C0 02 97 E0 */ lfs f0, lbl_805AB500@sda21(r2) -/* 801217A4 0011E704 C0 7E 08 B8 */ lfs f3, 0x8b8(r30) -/* 801217A8 0011E708 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 801217AC 0011E70C FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 801217B0 0011E710 40 80 00 2C */ bge lbl_801217DC -/* 801217B4 0011E714 C0 02 97 E4 */ lfs f0, lbl_805AB504@sda21(r2) -/* 801217B8 0011E718 EF E0 00 F2 */ fmuls f31, f0, f3 -/* 801217BC 0011E71C F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 801217C0 0011E720 7F C3 F3 78 */ mr r3, r30 -/* 801217C4 0011E724 7F E5 FB 78 */ mr r5, r31 -/* 801217C8 0011E728 38 80 00 28 */ li r4, 0x28 -/* 801217CC 0011E72C 88 01 00 09 */ lbz r0, 9(r1) -/* 801217D0 0011E730 98 1E 04 2F */ stb r0, 0x42f(r30) -/* 801217D4 0011E734 D0 3E 03 E8 */ stfs f1, 0x3e8(r30) -/* 801217D8 0011E738 4B F3 27 A9 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_801217DC: -/* 801217DC 0011E73C C0 3E 03 E8 */ lfs f1, 0x3e8(r30) -/* 801217E0 0011E740 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801217E4 0011E744 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801217E8 0011E748 40 81 00 40 */ ble lbl_80121828 -/* 801217EC 0011E74C E0 3E A4 2F */ psq_l f1, 1071(r30), 1, qr2 -/* 801217F0 0011E750 C0 02 97 E0 */ lfs f0, lbl_805AB500@sda21(r2) -/* 801217F4 0011E754 C0 5E 08 BC */ lfs f2, 0x8bc(r30) -/* 801217F8 0011E758 EC 00 00 72 */ fmuls f0, f0, f1 -/* 801217FC 0011E75C FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 80121800 0011E760 40 81 00 28 */ ble lbl_80121828 -/* 80121804 0011E764 C0 02 97 E4 */ lfs f0, lbl_805AB504@sda21(r2) -/* 80121808 0011E768 EF C0 00 B2 */ fmuls f30, f0, f2 -/* 8012180C 0011E76C F3 C1 A0 08 */ psq_st f30, 8(r1), 1, qr2 -/* 80121810 0011E770 7F C3 F3 78 */ mr r3, r30 -/* 80121814 0011E774 7F E5 FB 78 */ mr r5, r31 -/* 80121818 0011E778 38 80 00 28 */ li r4, 0x28 -/* 8012181C 0011E77C 88 01 00 08 */ lbz r0, 8(r1) -/* 80121820 0011E780 98 1E 04 2F */ stb r0, 0x42f(r30) -/* 80121824 0011E784 4B F3 2B 2D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_80121828: -/* 80121828 0011E788 C0 3E 08 B0 */ lfs f1, 0x8b0(r30) -/* 8012182C 0011E78C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80121830 0011E790 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80121834 0011E794 D0 3E 08 B0 */ stfs f1, 0x8b0(r30) -/* 80121838 0011E798 C0 3E 08 B0 */ lfs f1, 0x8b0(r30) -/* 8012183C 0011E79C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80121840 0011E7A0 40 80 00 A8 */ bge lbl_801218E8 -/* 80121844 0011E7A4 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80121848 0011E7A8 48 1F 0C 95 */ bl Float__9CRandom16Fv -/* 8012184C 0011E7AC C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80121850 0011E7B0 C0 62 97 E8 */ lfs f3, lbl_805AB508@sda21(r2) -/* 80121854 0011E7B4 EC 40 08 28 */ fsubs f2, f0, f1 -/* 80121858 0011E7B8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012185C 0011E7BC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80121860 0011E7C0 D0 5E 08 B0 */ stfs f2, 0x8b0(r30) -/* 80121864 0011E7C4 C0 5E 03 E8 */ lfs f2, 0x3e8(r30) -/* 80121868 0011E7C8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8012186C 0011E7CC 40 80 00 40 */ bge lbl_801218AC -/* 80121870 0011E7D0 E0 1E A4 2F */ psq_l f0, 1071(r30), 1, qr2 -/* 80121874 0011E7D4 C0 62 97 E0 */ lfs f3, lbl_805AB500@sda21(r2) -/* 80121878 0011E7D8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8012187C 0011E7DC D0 1E 08 B4 */ stfs f0, 0x8b4(r30) -/* 80121880 0011E7E0 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80121884 0011E7E4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80121888 0011E7E8 41 82 00 60 */ beq lbl_801218E8 -/* 8012188C 0011E7EC E0 1E A4 2F */ psq_l f0, 1071(r30), 1, qr2 -/* 80121890 0011E7F0 C0 5E 08 B8 */ lfs f2, 0x8b8(r30) -/* 80121894 0011E7F4 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80121898 0011E7F8 C0 1E 08 B4 */ lfs f0, 0x8b4(r30) -/* 8012189C 0011E7FC EC 43 10 28 */ fsubs f2, f3, f2 -/* 801218A0 0011E800 EC 01 00 BC */ fnmsubs f0, f1, f2, f0 -/* 801218A4 0011E804 D0 1E 08 B4 */ stfs f0, 0x8b4(r30) -/* 801218A8 0011E808 48 00 00 40 */ b lbl_801218E8 -lbl_801218AC: -/* 801218AC 0011E80C 40 81 00 2C */ ble lbl_801218D8 -/* 801218B0 0011E810 E0 9E A4 2F */ psq_l f4, 1071(r30), 1, qr2 -/* 801218B4 0011E814 E0 5E A4 2F */ psq_l f2, 1071(r30), 1, qr2 -/* 801218B8 0011E818 C0 02 97 E0 */ lfs f0, lbl_805AB500@sda21(r2) -/* 801218BC 0011E81C C0 7E 08 BC */ lfs f3, 0x8bc(r30) -/* 801218C0 0011E820 EC 40 00 B2 */ fmuls f2, f0, f2 -/* 801218C4 0011E824 EC 00 01 32 */ fmuls f0, f0, f4 -/* 801218C8 0011E828 EC 43 10 28 */ fsubs f2, f3, f2 -/* 801218CC 0011E82C EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 801218D0 0011E830 D0 1E 08 B4 */ stfs f0, 0x8b4(r30) -/* 801218D4 0011E834 48 00 00 14 */ b lbl_801218E8 -lbl_801218D8: -/* 801218D8 0011E838 E0 3E A4 2F */ psq_l f1, 1071(r30), 1, qr2 -/* 801218DC 0011E83C C0 02 97 E0 */ lfs f0, lbl_805AB500@sda21(r2) -/* 801218E0 0011E840 EC 00 00 72 */ fmuls f0, f0, f1 -/* 801218E4 0011E844 D0 1E 08 B4 */ stfs f0, 0x8b4(r30) -lbl_801218E8: -/* 801218E8 0011E848 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 801218EC 0011E84C CB E1 00 40 */ lfd f31, 0x40(r1) -/* 801218F0 0011E850 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 801218F4 0011E854 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 801218F8 0011E858 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 801218FC 0011E85C CB A1 00 20 */ lfd f29, 0x20(r1) -/* 80121900 0011E860 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80121904 0011E864 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80121908 0011E868 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8012190C 0011E86C 7C 08 03 A6 */ mtlr r0 -/* 80121910 0011E870 38 21 00 50 */ addi r1, r1, 0x50 -/* 80121914 0011E874 4E 80 00 20 */ blr - -.global ShouldFrenzy__12CSpacePirateFR13CStateManager -ShouldFrenzy__12CSpacePirateFR13CStateManager: -/* 80121918 0011E878 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8012191C 0011E87C 7C 08 02 A6 */ mflr r0 -/* 80121920 0011E880 90 01 00 24 */ stw r0, 0x24(r1) -/* 80121924 0011E884 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80121928 0011E888 3B E0 00 00 */ li r31, 0 -/* 8012192C 0011E88C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80121930 0011E890 7C 9E 23 78 */ mr r30, r4 -/* 80121934 0011E894 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80121938 0011E898 7C 7D 1B 78 */ mr r29, r3 -/* 8012193C 0011E89C 88 63 06 38 */ lbz r3, 0x638(r3) -/* 80121940 0011E8A0 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80121944 0011E8A4 41 82 00 44 */ beq lbl_80121988 -/* 80121948 0011E8A8 38 00 00 00 */ li r0, 0 -/* 8012194C 0011E8AC 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 80121950 0011E8B0 98 7D 06 38 */ stb r3, 0x638(r29) -/* 80121954 0011E8B4 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80121958 0011E8B8 48 1F 0B C9 */ bl Next__9CRandom16Fv -/* 8012195C 0011E8BC 3C 80 51 EC */ lis r4, 0x51EB851F@ha -/* 80121960 0011E8C0 38 04 85 1F */ addi r0, r4, 0x51EB851F@l -/* 80121964 0011E8C4 7C 00 18 96 */ mulhw r0, r0, r3 -/* 80121968 0011E8C8 7C 00 2E 70 */ srawi r0, r0, 5 -/* 8012196C 0011E8CC 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80121970 0011E8D0 7C 00 22 14 */ add r0, r0, r4 -/* 80121974 0011E8D4 1C 00 00 64 */ mulli r0, r0, 0x64 -/* 80121978 0011E8D8 7C 00 18 50 */ subf r0, r0, r3 -/* 8012197C 0011E8DC 2C 00 00 19 */ cmpwi r0, 0x19 -/* 80121980 0011E8E0 40 80 00 08 */ bge lbl_80121988 -/* 80121984 0011E8E4 3B E0 00 01 */ li r31, 1 -lbl_80121988: -/* 80121988 0011E8E8 3C 60 80 57 */ lis r3, lbl_8056F85C@ha -/* 8012198C 0011E8EC 38 63 F8 5C */ addi r3, r3, lbl_8056F85C@l -/* 80121990 0011E8F0 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80121994 0011E8F4 2C 00 00 00 */ cmpwi r0, 0 -/* 80121998 0011E8F8 41 82 00 08 */ beq lbl_801219A0 -/* 8012199C 0011E8FC 3B E0 00 01 */ li r31, 1 -lbl_801219A0: -/* 801219A0 0011E900 80 7E 08 4C */ lwz r3, 0x84c(r30) -/* 801219A4 0011E904 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 801219A8 0011E908 2C 00 00 01 */ cmpwi r0, 1 -/* 801219AC 0011E90C 40 82 00 08 */ bne lbl_801219B4 -/* 801219B0 0011E910 3B E0 00 01 */ li r31, 1 -lbl_801219B4: -/* 801219B4 0011E914 7F A3 EB 78 */ mr r3, r29 -/* 801219B8 0011E918 7F C4 F3 78 */ mr r4, r30 -/* 801219BC 0011E91C 81 9D 00 00 */ lwz r12, 0(r29) -/* 801219C0 0011E920 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 801219C4 0011E924 7D 89 03 A6 */ mtctr r12 -/* 801219C8 0011E928 4E 80 04 21 */ bctrl -/* 801219CC 0011E92C C0 22 97 EC */ lfs f1, lbl_805AB50C@sda21(r2) -/* 801219D0 0011E930 C0 1D 07 50 */ lfs f0, 0x750(r29) -/* 801219D4 0011E934 C0 43 00 00 */ lfs f2, 0(r3) -/* 801219D8 0011E938 EC 01 00 32 */ fmuls f0, f1, f0 -/* 801219DC 0011E93C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801219E0 0011E940 40 80 00 48 */ bge lbl_80121A28 -/* 801219E4 0011E944 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 801219E8 0011E948 48 1F 0B 39 */ bl Next__9CRandom16Fv -/* 801219EC 0011E94C 3C 80 51 EC */ lis r4, 0x51EB851F@ha -/* 801219F0 0011E950 38 04 85 1F */ addi r0, r4, 0x51EB851F@l -/* 801219F4 0011E954 7C 00 18 96 */ mulhw r0, r0, r3 -/* 801219F8 0011E958 7C 00 2E 70 */ srawi r0, r0, 5 -/* 801219FC 0011E95C 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80121A00 0011E960 7C 00 22 14 */ add r0, r0, r4 -/* 80121A04 0011E964 1C 00 00 64 */ mulli r0, r0, 0x64 -/* 80121A08 0011E968 7C 00 18 50 */ subf r0, r0, r3 -/* 80121A0C 0011E96C 2C 00 00 3C */ cmpwi r0, 0x3c -/* 80121A10 0011E970 40 80 00 18 */ bge lbl_80121A28 -/* 80121A14 0011E974 C0 3D 08 54 */ lfs f1, 0x854(r29) -/* 80121A18 0011E978 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80121A1C 0011E97C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80121A20 0011E980 40 80 00 08 */ bge lbl_80121A28 -/* 80121A24 0011E984 3B E0 00 01 */ li r31, 1 -lbl_80121A28: -/* 80121A28 0011E988 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80121A2C 0011E98C 41 82 00 18 */ beq lbl_80121A44 -/* 80121A30 0011E990 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80121A34 0011E994 38 80 00 02 */ li r4, 2 -/* 80121A38 0011E998 38 A0 00 04 */ li r5, 4 -/* 80121A3C 0011E99C 48 1F 0B 59 */ bl Range__9CRandom16Fii -/* 80121A40 0011E9A0 90 7D 06 3C */ stw r3, 0x63c(r29) -lbl_80121A44: -/* 80121A44 0011E9A4 80 7D 06 3C */ lwz r3, 0x63c(r29) -/* 80121A48 0011E9A8 38 63 FF FF */ addi r3, r3, -1 -/* 80121A4C 0011E9AC 54 60 0F FE */ srwi r0, r3, 0x1f -/* 80121A50 0011E9B0 90 7D 06 3C */ stw r3, 0x63c(r29) -/* 80121A54 0011E9B4 68 03 00 01 */ xori r3, r0, 1 -/* 80121A58 0011E9B8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80121A5C 0011E9BC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80121A60 0011E9C0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80121A64 0011E9C4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80121A68 0011E9C8 7C 08 03 A6 */ mtlr r0 -/* 80121A6C 0011E9CC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80121A70 0011E9D0 4E 80 00 20 */ blr - -.global GetSortingBounds__12CSpacePirateCFRC12CTransform4f -GetSortingBounds__12CSpacePirateCFRC12CTransform4f: -/* 80121A74 0011E9D4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80121A78 0011E9D8 7C 08 02 A6 */ mflr r0 -/* 80121A7C 0011E9DC 7C 85 23 78 */ mr r5, r4 -/* 80121A80 0011E9E0 90 01 00 74 */ stw r0, 0x74(r1) -/* 80121A84 0011E9E4 38 A5 00 34 */ addi r5, r5, 0x34 -/* 80121A88 0011E9E8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80121A8C 0011E9EC 7C 7F 1B 78 */ mr r31, r3 -/* 80121A90 0011E9F0 38 61 00 2C */ addi r3, r1, 0x2c -/* 80121A94 0011E9F4 80 84 00 64 */ lwz r4, 0x64(r4) -/* 80121A98 0011E9F8 4B FF 3D 1D */ bl GetBounds__10CModelDataCFRC12CTransform4f -/* 80121A9C 0011E9FC C0 A1 00 2C */ lfs f5, 0x2c(r1) -/* 80121AA0 0011EA00 38 61 00 20 */ addi r3, r1, 0x20 -/* 80121AA4 0011EA04 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 80121AA8 0011EA08 38 81 00 44 */ addi r4, r1, 0x44 -/* 80121AAC 0011EA0C C0 61 00 34 */ lfs f3, 0x34(r1) -/* 80121AB0 0011EA10 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 80121AB4 0011EA14 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 80121AB8 0011EA18 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80121ABC 0011EA1C D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 80121AC0 0011EA20 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 80121AC4 0011EA24 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 80121AC8 0011EA28 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80121ACC 0011EA2C D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80121AD0 0011EA30 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 80121AD4 0011EA34 48 21 5B 39 */ bl GetCenterPoint__6CAABoxCFv -/* 80121AD8 0011EA38 C0 61 00 50 */ lfs f3, 0x50(r1) -/* 80121ADC 0011EA3C 7F E3 FB 78 */ mr r3, r31 -/* 80121AE0 0011EA40 C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80121AE4 0011EA44 38 81 00 14 */ addi r4, r1, 0x14 -/* 80121AE8 0011EA48 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 80121AEC 0011EA4C 38 A1 00 08 */ addi r5, r1, 8 -/* 80121AF0 0011EA50 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80121AF4 0011EA54 EC 63 10 28 */ fsubs f3, f3, f2 -/* 80121AF8 0011EA58 C0 82 97 F0 */ lfs f4, lbl_805AB510@sda21(r2) -/* 80121AFC 0011EA5C EC 41 00 28 */ fsubs f2, f1, f0 -/* 80121B00 0011EA60 C0 21 00 58 */ lfs f1, 0x58(r1) -/* 80121B04 0011EA64 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80121B08 0011EA68 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80121B0C 0011EA6C C1 01 00 20 */ lfs f8, 0x20(r1) -/* 80121B10 0011EA70 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80121B14 0011EA74 EC 28 18 2A */ fadds f1, f8, f3 -/* 80121B18 0011EA78 C0 C1 00 24 */ lfs f6, 0x24(r1) -/* 80121B1C 0011EA7C EC A4 00 B2 */ fmuls f5, f4, f2 -/* 80121B20 0011EA80 C0 E1 00 28 */ lfs f7, 0x28(r1) -/* 80121B24 0011EA84 EC 84 00 32 */ fmuls f4, f4, f0 -/* 80121B28 0011EA88 EC 08 18 28 */ fsubs f0, f8, f3 -/* 80121B2C 0011EA8C EC 66 28 2A */ fadds f3, f6, f5 -/* 80121B30 0011EA90 D0 21 00 08 */ stfs f1, 8(r1) -/* 80121B34 0011EA94 EC 47 20 2A */ fadds f2, f7, f4 -/* 80121B38 0011EA98 EC 26 28 28 */ fsubs f1, f6, f5 -/* 80121B3C 0011EA9C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80121B40 0011EAA0 EC 07 20 28 */ fsubs f0, f7, f4 -/* 80121B44 0011EAA4 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 80121B48 0011EAA8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80121B4C 0011EAAC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80121B50 0011EAB0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80121B54 0011EAB4 48 21 69 B5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80121B58 0011EAB8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80121B5C 0011EABC 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80121B60 0011EAC0 7C 08 03 A6 */ mtlr r0 -/* 80121B64 0011EAC4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80121B68 0011EAC8 4E 80 00 20 */ blr - -.global Render__12CSpacePirateCFRC13CStateManager -Render__12CSpacePirateCFRC13CStateManager: -/* 80121B6C 0011EACC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80121B70 0011EAD0 7C 08 02 A6 */ mflr r0 -/* 80121B74 0011EAD4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80121B78 0011EAD8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80121B7C 0011EADC 7C 9F 23 78 */ mr r31, r4 -/* 80121B80 0011EAE0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80121B84 0011EAE4 7C 7E 1B 78 */ mr r30, r3 -/* 80121B88 0011EAE8 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80121B8C 0011EAEC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80121B90 0011EAF0 41 82 00 0C */ beq lbl_80121B9C -/* 80121B94 0011EAF4 48 1E 83 4D */ bl GetSecondsMod900__9CGraphicsFv -/* 80121B98 0011EAF8 48 00 00 08 */ b lbl_80121BA0 -lbl_80121B9C: -/* 80121B9C 0011EAFC C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -lbl_80121BA0: -/* 80121BA0 0011EB00 D0 21 00 08 */ stfs f1, 8(r1) -/* 80121BA4 0011EB04 38 61 00 0C */ addi r3, r1, 0xc -/* 80121BA8 0011EB08 38 81 00 08 */ addi r4, r1, 8 -/* 80121BAC 0011EB0C 48 23 67 29 */ bl __ct__13CTimeProviderFRCf -/* 80121BB0 0011EB10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 80121BB4 0011EB14 38 9E 08 CC */ addi r4, r30, 0x8cc -/* 80121BB8 0011EB18 81 83 00 00 */ lwz r12, 0(r3) -/* 80121BBC 0011EB1C 81 8C 00 FC */ lwz r12, 0xfc(r12) -/* 80121BC0 0011EB20 7D 89 03 A6 */ mtctr r12 -/* 80121BC4 0011EB24 4E 80 04 21 */ bctrl -/* 80121BC8 0011EB28 7F C3 F3 78 */ mr r3, r30 -/* 80121BCC 0011EB2C 7F E4 FB 78 */ mr r4, r31 -/* 80121BD0 0011EB30 4B F5 64 5D */ bl Render__10CPatternedCFRC13CStateManager -/* 80121BD4 0011EB34 38 61 00 0C */ addi r3, r1, 0xc -/* 80121BD8 0011EB38 38 80 FF FF */ li r4, -1 -/* 80121BDC 0011EB3C 48 23 66 81 */ bl __dt__13CTimeProviderFv -/* 80121BE0 0011EB40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80121BE4 0011EB44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80121BE8 0011EB48 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80121BEC 0011EB4C 7C 08 03 A6 */ mtlr r0 -/* 80121BF0 0011EB50 38 21 00 20 */ addi r1, r1, 0x20 -/* 80121BF4 0011EB54 4E 80 00 20 */ blr - -.global PreRender__12CSpacePirateFR13CStateManagerRC14CFrustumPlanes -PreRender__12CSpacePirateFR13CStateManagerRC14CFrustumPlanes: -/* 80121BF8 0011EB58 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80121BFC 0011EB5C 7C 08 02 A6 */ mflr r0 -/* 80121C00 0011EB60 90 01 00 44 */ stw r0, 0x44(r1) -/* 80121C04 0011EB64 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80121C08 0011EB68 7C BF 2B 78 */ mr r31, r5 -/* 80121C0C 0011EB6C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80121C10 0011EB70 7C 9E 23 78 */ mr r30, r4 -/* 80121C14 0011EB74 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80121C18 0011EB78 7C 7D 1B 78 */ mr r29, r3 -/* 80121C1C 0011EB7C 80 63 08 5C */ lwz r3, 0x85c(r3) -/* 80121C20 0011EB80 28 03 00 00 */ cmplwi r3, 0 -/* 80121C24 0011EB84 41 82 00 40 */ beq lbl_80121C64 -/* 80121C28 0011EB88 88 03 00 68 */ lbz r0, 0x68(r3) -/* 80121C2C 0011EB8C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80121C30 0011EB90 41 82 00 34 */ beq lbl_80121C64 -/* 80121C34 0011EB94 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 80121C38 0011EB98 38 81 00 20 */ addi r4, r1, 0x20 -/* 80121C3C 0011EB9C C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80121C40 0011EBA0 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80121C44 0011EBA4 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80121C48 0011EBA8 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80121C4C 0011EBAC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80121C50 0011EBB0 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80121C54 0011EBB4 81 83 00 00 */ lwz r12, 0(r3) -/* 80121C58 0011EBB8 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80121C5C 0011EBBC 7D 89 03 A6 */ mtctr r12 -/* 80121C60 0011EBC0 4E 80 04 21 */ bctrl -lbl_80121C64: -/* 80121C64 0011EBC4 7F A3 EB 78 */ mr r3, r29 -/* 80121C68 0011EBC8 7F C4 F3 78 */ mr r4, r30 -/* 80121C6C 0011EBCC 7F E5 FB 78 */ mr r5, r31 -/* 80121C70 0011EBD0 4B F5 66 6D */ bl PreRender__10CPatternedFR13CStateManagerRC14CFrustumPlanes -/* 80121C74 0011EBD4 80 7D 08 5C */ lwz r3, 0x85c(r29) -/* 80121C78 0011EBD8 28 03 00 00 */ cmplwi r3, 0 -/* 80121C7C 0011EBDC 41 82 00 10 */ beq lbl_80121C8C -/* 80121C80 0011EBE0 88 03 00 68 */ lbz r0, 0x68(r3) -/* 80121C84 0011EBE4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80121C88 0011EBE8 40 82 00 74 */ bne lbl_80121CFC -lbl_80121C8C: -/* 80121C8C 0011EBEC 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 80121C90 0011EBF0 7F C4 F3 78 */ mr r4, r30 -/* 80121C94 0011EBF4 81 1D 04 50 */ lwz r8, 0x450(r29) -/* 80121C98 0011EBF8 38 7D 07 64 */ addi r3, r29, 0x764 -/* 80121C9C 0011EBFC C0 05 00 00 */ lfs f0, 0(r5) -/* 80121CA0 0011EC00 38 DD 00 34 */ addi r6, r29, 0x34 -/* 80121CA4 0011EC04 38 E1 00 14 */ addi r7, r1, 0x14 -/* 80121CA8 0011EC08 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80121CAC 0011EC0C C0 05 00 04 */ lfs f0, 4(r5) -/* 80121CB0 0011EC10 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80121CB4 0011EC14 C0 05 00 08 */ lfs f0, 8(r5) -/* 80121CB8 0011EC18 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80121CBC 0011EC1C 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 80121CC0 0011EC20 80 A5 00 10 */ lwz r5, 0x10(r5) -/* 80121CC4 0011EC24 48 05 3C 4D */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController -/* 80121CC8 0011EC28 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 80121CCC 0011EC2C 38 7D 08 60 */ addi r3, r29, 0x860 -/* 80121CD0 0011EC30 38 BD 00 34 */ addi r5, r29, 0x34 -/* 80121CD4 0011EC34 38 C1 00 08 */ addi r6, r1, 8 -/* 80121CD8 0011EC38 C0 04 00 00 */ lfs f0, 0(r4) -/* 80121CDC 0011EC3C D0 01 00 08 */ stfs f0, 8(r1) -/* 80121CE0 0011EC40 C0 04 00 04 */ lfs f0, 4(r4) -/* 80121CE4 0011EC44 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80121CE8 0011EC48 C0 04 00 08 */ lfs f0, 8(r4) -/* 80121CEC 0011EC4C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80121CF0 0011EC50 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 80121CF4 0011EC54 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80121CF8 0011EC58 48 10 3C 7D */ bl PreRender__8CIkChainFR9CAnimDataRC12CTransform4fRC9CVector3f -lbl_80121CFC: -/* 80121CFC 0011EC5C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80121D00 0011EC60 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80121D04 0011EC64 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80121D08 0011EC68 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80121D0C 0011EC6C 7C 08 03 A6 */ mtlr r0 -/* 80121D10 0011EC70 38 21 00 40 */ addi r1, r1, 0x40 -/* 80121D14 0011EC74 4E 80 00 20 */ blr - -.global CalculateRenderBounds__12CSpacePirateFv -CalculateRenderBounds__12CSpacePirateFv: -/* 80121D18 0011EC78 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80121D1C 0011EC7C 7C 08 02 A6 */ mflr r0 -/* 80121D20 0011EC80 90 01 00 64 */ stw r0, 0x64(r1) -/* 80121D24 0011EC84 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80121D28 0011EC88 7C 7F 1B 78 */ mr r31, r3 -/* 80121D2C 0011EC8C 80 83 08 5C */ lwz r4, 0x85c(r3) -/* 80121D30 0011EC90 28 04 00 00 */ cmplwi r4, 0 -/* 80121D34 0011EC94 41 82 00 C4 */ beq lbl_80121DF8 -/* 80121D38 0011EC98 88 04 00 68 */ lbz r0, 0x68(r4) -/* 80121D3C 0011EC9C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80121D40 0011ECA0 41 82 00 B8 */ beq lbl_80121DF8 -/* 80121D44 0011ECA4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80121D48 0011ECA8 48 0E AB 11 */ bl CalculateRenderBounds__8CRagDollCFv -/* 80121D4C 0011ECAC 80 DF 00 64 */ lwz r6, 0x64(r31) -/* 80121D50 0011ECB0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80121D54 0011ECB4 C0 62 97 CC */ lfs f3, lbl_805AB4EC@sda21(r2) -/* 80121D58 0011ECB8 38 81 00 14 */ addi r4, r1, 0x14 -/* 80121D5C 0011ECBC C0 26 00 00 */ lfs f1, 0(r6) -/* 80121D60 0011ECC0 38 A1 00 08 */ addi r5, r1, 8 -/* 80121D64 0011ECC4 C0 06 00 04 */ lfs f0, 4(r6) -/* 80121D68 0011ECC8 C0 46 00 08 */ lfs f2, 8(r6) -/* 80121D6C 0011ECCC ED 03 00 72 */ fmuls f8, f3, f1 -/* 80121D70 0011ECD0 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 80121D74 0011ECD4 EC E3 00 32 */ fmuls f7, f3, f0 -/* 80121D78 0011ECD8 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80121D7C 0011ECDC EC C3 00 B2 */ fmuls f6, f3, f2 -/* 80121D80 0011ECE0 C0 61 00 4C */ lfs f3, 0x4c(r1) -/* 80121D84 0011ECE4 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 80121D88 0011ECE8 EC A1 40 2A */ fadds f5, f1, f8 -/* 80121D8C 0011ECEC C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 80121D90 0011ECF0 EC 80 38 2A */ fadds f4, f0, f7 -/* 80121D94 0011ECF4 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80121D98 0011ECF8 EC 63 30 2A */ fadds f3, f3, f6 -/* 80121D9C 0011ECFC EC 42 40 28 */ fsubs f2, f2, f8 -/* 80121DA0 0011ED00 EC 21 38 28 */ fsubs f1, f1, f7 -/* 80121DA4 0011ED04 D0 A1 00 08 */ stfs f5, 8(r1) -/* 80121DA8 0011ED08 EC 00 30 28 */ fsubs f0, f0, f6 -/* 80121DAC 0011ED0C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80121DB0 0011ED10 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80121DB4 0011ED14 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80121DB8 0011ED18 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80121DBC 0011ED1C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80121DC0 0011ED20 48 21 67 49 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80121DC4 0011ED24 80 61 00 20 */ lwz r3, 0x20(r1) -/* 80121DC8 0011ED28 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80121DCC 0011ED2C 90 7F 00 9C */ stw r3, 0x9c(r31) -/* 80121DD0 0011ED30 90 1F 00 A0 */ stw r0, 0xa0(r31) -/* 80121DD4 0011ED34 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80121DD8 0011ED38 90 1F 00 A4 */ stw r0, 0xa4(r31) -/* 80121DDC 0011ED3C 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80121DE0 0011ED40 80 01 00 30 */ lwz r0, 0x30(r1) -/* 80121DE4 0011ED44 90 7F 00 A8 */ stw r3, 0xa8(r31) -/* 80121DE8 0011ED48 90 1F 00 AC */ stw r0, 0xac(r31) -/* 80121DEC 0011ED4C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80121DF0 0011ED50 90 1F 00 B0 */ stw r0, 0xb0(r31) -/* 80121DF4 0011ED54 48 00 00 0C */ b lbl_80121E00 -lbl_80121DF8: -/* 80121DF8 0011ED58 7F E3 FB 78 */ mr r3, r31 -/* 80121DFC 0011ED5C 4B F3 32 D9 */ bl CalculateRenderBounds__6CActorFv -lbl_80121E00: -/* 80121E00 0011ED60 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80121E04 0011ED64 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80121E08 0011ED68 7C 08 03 A6 */ mtlr r0 -/* 80121E0C 0011ED6C 38 21 00 60 */ addi r1, r1, 0x60 -/* 80121E10 0011ED70 4E 80 00 20 */ blr - -.global GetModelAlphau8__12CSpacePirateCFRC13CStateManager -GetModelAlphau8__12CSpacePirateCFRC13CStateManager: -/* 80121E14 0011ED74 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80121E18 0011ED78 7C 08 02 A6 */ mflr r0 -/* 80121E1C 0011ED7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80121E20 0011ED80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80121E24 0011ED84 3B E0 00 FF */ li r31, 0xff -/* 80121E28 0011ED88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80121E2C 0011ED8C 7C 9E 23 78 */ mr r30, r4 -/* 80121E30 0011ED90 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80121E34 0011ED94 7C 7D 1B 78 */ mr r29, r3 -/* 80121E38 0011ED98 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 80121E3C 0011ED9C 80 63 00 00 */ lwz r3, 0(r3) -/* 80121E40 0011EDA0 4B F6 F7 19 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80121E44 0011EDA4 2C 03 00 01 */ cmpwi r3, 1 -/* 80121E48 0011EDA8 41 82 00 1C */ beq lbl_80121E64 -/* 80121E4C 0011EDAC 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80121E50 0011EDB0 7F C4 F3 78 */ mr r4, r30 -/* 80121E54 0011EDB4 80 63 00 00 */ lwz r3, 0(r3) -/* 80121E58 0011EDB8 4B F6 F7 01 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80121E5C 0011EDBC 2C 03 00 03 */ cmpwi r3, 3 -/* 80121E60 0011EDC0 40 82 00 10 */ bne lbl_80121E70 -lbl_80121E64: -/* 80121E64 0011EDC4 88 1D 04 00 */ lbz r0, 0x400(r29) -/* 80121E68 0011EDC8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80121E6C 0011EDCC 40 82 00 30 */ bne lbl_80121E9C -lbl_80121E70: -/* 80121E70 0011EDD0 88 1D 06 35 */ lbz r0, 0x635(r29) -/* 80121E74 0011EDD4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80121E78 0011EDD8 40 82 00 0C */ bne lbl_80121E84 -/* 80121E7C 0011EDDC 8B FD 04 2F */ lbz r31, 0x42f(r29) -/* 80121E80 0011EDE0 48 00 00 1C */ b lbl_80121E9C -lbl_80121E84: -/* 80121E84 0011EDE4 C0 22 97 E4 */ lfs f1, lbl_805AB504@sda21(r2) -/* 80121E88 0011EDE8 C0 1D 08 B4 */ lfs f0, 0x8b4(r29) -/* 80121E8C 0011EDEC EC 01 00 32 */ fmuls f0, f1, f0 -/* 80121E90 0011EDF0 FC 00 00 1E */ fctiwz f0, f0 -/* 80121E94 0011EDF4 D8 01 00 08 */ stfd f0, 8(r1) -/* 80121E98 0011EDF8 83 E1 00 0C */ lwz r31, 0xc(r1) -lbl_80121E9C: -/* 80121E9C 0011EDFC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80121EA0 0011EE00 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 80121EA4 0011EE04 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80121EA8 0011EE08 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80121EAC 0011EE0C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80121EB0 0011EE10 7C 08 03 A6 */ mtlr r0 -/* 80121EB4 0011EE14 38 21 00 20 */ addi r1, r1, 0x20 -/* 80121EB8 0011EE18 4E 80 00 20 */ blr - -.global DoUserAnimEvent__12CSpacePirateFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__12CSpacePirateFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 80121EBC 0011EE1C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80121EC0 0011EE20 7C 08 02 A6 */ mflr r0 -/* 80121EC4 0011EE24 90 01 00 94 */ stw r0, 0x94(r1) -/* 80121EC8 0011EE28 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80121ECC 0011EE2C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80121ED0 0011EE30 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80121ED4 0011EE34 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80121ED8 0011EE38 93 A1 00 74 */ stw r29, 0x74(r1) -/* 80121EDC 0011EE3C 93 81 00 70 */ stw r28, 0x70(r1) -/* 80121EE0 0011EE40 7C DF 33 78 */ mr r31, r6 -/* 80121EE4 0011EE44 FF E0 08 90 */ fmr f31, f1 -/* 80121EE8 0011EE48 38 1F FF F5 */ addi r0, r31, -11 -/* 80121EEC 0011EE4C 7C 7C 1B 78 */ mr r28, r3 -/* 80121EF0 0011EE50 28 00 00 0A */ cmplwi r0, 0xa -/* 80121EF4 0011EE54 7C 9D 23 78 */ mr r29, r4 -/* 80121EF8 0011EE58 7C BE 2B 78 */ mr r30, r5 -/* 80121EFC 0011EE5C 38 A0 00 00 */ li r5, 0 -/* 80121F00 0011EE60 41 81 01 84 */ bgt lbl_80122084 -/* 80121F04 0011EE64 3C 80 80 3E */ lis r4, lbl_803E0ACC@ha -/* 80121F08 0011EE68 54 00 10 3A */ slwi r0, r0, 2 -/* 80121F0C 0011EE6C 38 84 0A CC */ addi r4, r4, lbl_803E0ACC@l -/* 80121F10 0011EE70 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80121F14 0011EE74 7C 09 03 A6 */ mtctr r0 -/* 80121F18 0011EE78 4E 80 04 20 */ bctr -/* 80121F1C 0011EE7C 7F A5 EB 78 */ mr r5, r29 -/* 80121F20 0011EE80 38 80 00 13 */ li r4, 0x13 -/* 80121F24 0011EE84 4B F3 20 5D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80121F28 0011EE88 88 1C 06 38 */ lbz r0, 0x638(r28) -/* 80121F2C 0011EE8C 38 60 00 01 */ li r3, 1 -/* 80121F30 0011EE90 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80121F34 0011EE94 38 A0 00 01 */ li r5, 1 -/* 80121F38 0011EE98 98 1C 06 38 */ stb r0, 0x638(r28) -/* 80121F3C 0011EE9C 48 00 01 48 */ b lbl_80122084 -/* 80121F40 0011EEA0 88 1C 06 39 */ lbz r0, 0x639(r28) -/* 80121F44 0011EEA4 38 60 00 00 */ li r3, 0 -/* 80121F48 0011EEA8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80121F4C 0011EEAC 38 A0 00 01 */ li r5, 1 -/* 80121F50 0011EEB0 98 1C 06 39 */ stb r0, 0x639(r28) -/* 80121F54 0011EEB4 48 00 01 30 */ b lbl_80122084 -/* 80121F58 0011EEB8 88 1C 06 34 */ lbz r0, 0x634(r28) -/* 80121F5C 0011EEBC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80121F60 0011EEC0 40 82 00 30 */ bne lbl_80121F90 -/* 80121F64 0011EEC4 7F 83 E3 78 */ mr r3, r28 -/* 80121F68 0011EEC8 7F A4 EB 78 */ mr r4, r29 -/* 80121F6C 0011EECC 81 9C 00 00 */ lwz r12, 0(r28) -/* 80121F70 0011EED0 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80121F74 0011EED4 7D 89 03 A6 */ mtctr r12 -/* 80121F78 0011EED8 4E 80 04 21 */ bctrl -/* 80121F7C 0011EEDC C0 23 00 00 */ lfs f1, 0(r3) -/* 80121F80 0011EEE0 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80121F84 0011EEE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80121F88 0011EEE8 4C 40 13 82 */ cror 2, 0, 2 -/* 80121F8C 0011EEEC 40 82 00 1C */ bne lbl_80121FA8 -lbl_80121F90: -/* 80121F90 0011EEF0 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 80121F94 0011EEF4 48 1F 05 49 */ bl Float__9CRandom16Fv -/* 80121F98 0011EEF8 C0 42 97 F8 */ lfs f2, lbl_805AB518@sda21(r2) -/* 80121F9C 0011EEFC C0 02 97 F4 */ lfs f0, lbl_805AB514@sda21(r2) -/* 80121FA0 0011EF00 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 80121FA4 0011EF04 D0 1C 08 58 */ stfs f0, 0x858(r28) -lbl_80121FA8: -/* 80121FA8 0011EF08 38 A0 00 01 */ li r5, 1 -/* 80121FAC 0011EF0C 48 00 00 D8 */ b lbl_80122084 -/* 80121FB0 0011EF10 88 1C 08 A4 */ lbz r0, 0x8a4(r28) -/* 80121FB4 0011EF14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80121FB8 0011EF18 40 82 00 70 */ bne lbl_80122028 -/* 80121FBC 0011EF1C 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 80121FC0 0011EF20 38 61 00 0C */ addi r3, r1, 0xc -/* 80121FC4 0011EF24 38 BE 00 3C */ addi r5, r30, 0x3c -/* 80121FC8 0011EF28 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80121FCC 0011EF2C 4B F0 C8 6D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80121FD0 0011EF30 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80121FD4 0011EF34 38 A1 00 0C */ addi r5, r1, 0xc -/* 80121FD8 0011EF38 28 00 00 03 */ cmplwi r0, 3 -/* 80121FDC 0011EF3C 41 82 00 4C */ beq lbl_80122028 -/* 80121FE0 0011EF40 7F 84 E3 78 */ mr r4, r28 -/* 80121FE4 0011EF44 38 61 00 10 */ addi r3, r1, 0x10 -/* 80121FE8 0011EF48 4B F5 68 D1 */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 80121FEC 0011EF4C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80121FF0 0011EF50 38 81 00 10 */ addi r4, r1, 0x10 -/* 80121FF4 0011EF54 48 1F 0B 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80121FF8 0011EF58 88 01 00 0C */ lbz r0, 0xc(r1) -/* 80121FFC 0011EF5C 38 7C 08 60 */ addi r3, r28, 0x860 -/* 80122000 0011EF60 38 A1 00 08 */ addi r5, r1, 8 -/* 80122004 0011EF64 38 C1 00 40 */ addi r6, r1, 0x40 -/* 80122008 0011EF68 98 01 00 08 */ stb r0, 8(r1) -/* 8012200C 0011EF6C 80 9C 00 64 */ lwz r4, 0x64(r28) -/* 80122010 0011EF70 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80122014 0011EF74 48 10 3E 09 */ bl Activate__8CIkChainFRC9CAnimData6CSegIdRC12CTransform4f -/* 80122018 0011EF78 88 1C 06 39 */ lbz r0, 0x639(r28) -/* 8012201C 0011EF7C 38 60 00 01 */ li r3, 1 -/* 80122020 0011EF80 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80122024 0011EF84 98 1C 06 39 */ stb r0, 0x639(r28) -lbl_80122028: -/* 80122028 0011EF88 38 A0 00 01 */ li r5, 1 -/* 8012202C 0011EF8C 48 00 00 58 */ b lbl_80122084 -/* 80122030 0011EF90 38 7C 08 60 */ addi r3, r28, 0x860 -/* 80122034 0011EF94 48 10 39 2D */ bl Deactivate__8CIkChainFv -/* 80122038 0011EF98 38 A0 00 01 */ li r5, 1 -/* 8012203C 0011EF9C 48 00 00 48 */ b lbl_80122084 -/* 80122040 0011EFA0 7F A5 EB 78 */ mr r5, r29 -/* 80122044 0011EFA4 38 80 00 12 */ li r4, 0x12 -/* 80122048 0011EFA8 38 C0 FF FF */ li r6, -1 -/* 8012204C 0011EFAC 4B F2 F0 75 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80122050 0011EFB0 38 A0 00 01 */ li r5, 1 -/* 80122054 0011EFB4 48 00 00 30 */ b lbl_80122084 -/* 80122058 0011EFB8 88 1C 06 35 */ lbz r0, 0x635(r28) -/* 8012205C 0011EFBC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80122060 0011EFC0 41 82 00 20 */ beq lbl_80122080 -/* 80122064 0011EFC4 C0 02 97 FC */ lfs f0, lbl_805AB51C@sda21(r2) -/* 80122068 0011EFC8 7F 84 E3 78 */ mr r4, r28 -/* 8012206C 0011EFCC D0 1C 03 E8 */ stfs f0, 0x3e8(r28) -/* 80122070 0011EFD0 80 7D 08 84 */ lwz r3, 0x884(r29) -/* 80122074 0011EFD4 48 0C 31 5D */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor -/* 80122078 0011EFD8 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 8012207C 0011EFDC D0 1C 08 AC */ stfs f0, 0x8ac(r28) -lbl_80122080: -/* 80122080 0011EFE0 38 A0 00 01 */ li r5, 1 -lbl_80122084: -/* 80122084 0011EFE4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80122088 0011EFE8 40 82 00 1C */ bne lbl_801220A4 -/* 8012208C 0011EFEC FC 20 F8 90 */ fmr f1, f31 -/* 80122090 0011EFF0 7F 83 E3 78 */ mr r3, r28 -/* 80122094 0011EFF4 7F A4 EB 78 */ mr r4, r29 -/* 80122098 0011EFF8 7F C5 F3 78 */ mr r5, r30 -/* 8012209C 0011EFFC 7F E6 FB 78 */ mr r6, r31 -/* 801220A0 0011F000 4B F5 6E 11 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_801220A4: -/* 801220A4 0011F004 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 801220A8 0011F008 80 01 00 94 */ lwz r0, 0x94(r1) -/* 801220AC 0011F00C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 801220B0 0011F010 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 801220B4 0011F014 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 801220B8 0011F018 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 801220BC 0011F01C 83 81 00 70 */ lwz r28, 0x70(r1) -/* 801220C0 0011F020 7C 08 03 A6 */ mtlr r0 -/* 801220C4 0011F024 38 21 00 90 */ addi r1, r1, 0x90 -/* 801220C8 0011F028 4E 80 00 20 */ blr - -.global FireProjectile__12CSpacePirateFfR13CStateManager -FireProjectile__12CSpacePirateFfR13CStateManager: -/* 801220CC 0011F02C 94 21 FD 20 */ stwu r1, -0x2e0(r1) -/* 801220D0 0011F030 7C 08 02 A6 */ mflr r0 -/* 801220D4 0011F034 90 01 02 E4 */ stw r0, 0x2e4(r1) -/* 801220D8 0011F038 DB E1 02 D0 */ stfd f31, 0x2d0(r1) -/* 801220DC 0011F03C F3 E1 02 D8 */ psq_st f31, 728(r1), 0, qr0 -/* 801220E0 0011F040 93 E1 02 CC */ stw r31, 0x2cc(r1) -/* 801220E4 0011F044 93 C1 02 C8 */ stw r30, 0x2c8(r1) -/* 801220E8 0011F048 93 A1 02 C4 */ stw r29, 0x2c4(r1) -/* 801220EC 0011F04C 93 81 02 C0 */ stw r28, 0x2c0(r1) -/* 801220F0 0011F050 FF E0 08 90 */ fmr f31, f1 -/* 801220F4 0011F054 7C 7D 1B 78 */ mr r29, r3 -/* 801220F8 0011F058 7C 9E 23 78 */ mr r30, r4 -/* 801220FC 0011F05C 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 80122100 0011F060 7F A4 EB 78 */ mr r4, r29 -/* 80122104 0011F064 38 BD 07 B6 */ addi r5, r29, 0x7b6 -/* 80122108 0011F068 3B E0 00 00 */ li r31, 0 -/* 8012210C 0011F06C 4B F5 67 AD */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 80122110 0011F070 38 61 02 40 */ addi r3, r1, 0x240 -/* 80122114 0011F074 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 80122118 0011F078 48 1F 0A 5D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8012211C 0011F07C 88 1D 04 00 */ lbz r0, 0x400(r29) -/* 80122120 0011F080 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80122124 0011F084 40 82 00 80 */ bne lbl_801221A4 -/* 80122128 0011F088 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 8012212C 0011F08C 39 60 00 00 */ li r11, 0 -/* 80122130 0011F090 99 61 01 34 */ stb r11, 0x134(r1) -/* 80122134 0011F094 38 01 01 1C */ addi r0, r1, 0x11c -/* 80122138 0011F098 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) -/* 8012213C 0011F09C 7F A3 EB 78 */ mr r3, r29 -/* 80122140 0011F0A0 D0 01 01 1C */ stfs f0, 0x11c(r1) -/* 80122144 0011F0A4 7F C5 F3 78 */ mr r5, r30 -/* 80122148 0011F0A8 38 81 02 40 */ addi r4, r1, 0x240 -/* 8012214C 0011F0AC 39 21 01 28 */ addi r9, r1, 0x128 -/* 80122150 0011F0B0 D0 01 01 20 */ stfs f0, 0x120(r1) -/* 80122154 0011F0B4 38 C0 00 06 */ li r6, 6 -/* 80122158 0011F0B8 38 E0 00 00 */ li r7, 0 -/* 8012215C 0011F0BC 39 00 00 00 */ li r8, 0 -/* 80122160 0011F0C0 D0 01 01 24 */ stfs f0, 0x124(r1) -/* 80122164 0011F0C4 91 61 00 08 */ stw r11, 8(r1) -/* 80122168 0011F0C8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8012216C 0011F0CC 4B F5 58 8D */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -/* 80122170 0011F0D0 88 01 01 34 */ lbz r0, 0x134(r1) -/* 80122174 0011F0D4 28 00 00 00 */ cmplwi r0, 0 -/* 80122178 0011F0D8 41 82 00 1C */ beq lbl_80122194 -/* 8012217C 0011F0DC 34 61 01 28 */ addic. r3, r1, 0x128 -/* 80122180 0011F0E0 41 82 00 14 */ beq lbl_80122194 -/* 80122184 0011F0E4 28 03 00 00 */ cmplwi r3, 0 -/* 80122188 0011F0E8 41 82 00 0C */ beq lbl_80122194 -/* 8012218C 0011F0EC 38 80 00 00 */ li r4, 0 -/* 80122190 0011F0F0 48 21 EC B1 */ bl __dt__6CTokenFv -lbl_80122194: -/* 80122194 0011F0F4 38 00 00 00 */ li r0, 0 -/* 80122198 0011F0F8 3B E0 00 01 */ li r31, 1 -/* 8012219C 0011F0FC 98 01 01 34 */ stb r0, 0x134(r1) -/* 801221A0 0011F100 48 00 03 AC */ b lbl_8012254C -lbl_801221A4: -/* 801221A4 0011F104 A0 1D 07 C0 */ lhz r0, 0x7c0(r29) -/* 801221A8 0011F108 7F C3 F3 78 */ mr r3, r30 -/* 801221AC 0011F10C 38 81 00 10 */ addi r4, r1, 0x10 -/* 801221B0 0011F110 B0 01 00 10 */ sth r0, 0x10(r1) -/* 801221B4 0011F114 4B F2 A3 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 801221B8 0011F118 7C 64 1B 78 */ mr r4, r3 -/* 801221BC 0011F11C 38 61 00 18 */ addi r3, r1, 0x18 -/* 801221C0 0011F120 4B F8 DA D1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 801221C4 0011F124 80 63 00 04 */ lwz r3, 4(r3) -/* 801221C8 0011F128 28 03 00 00 */ cmplwi r3, 0 -/* 801221CC 0011F12C 41 82 03 80 */ beq lbl_8012254C -/* 801221D0 0011F130 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 801221D4 0011F134 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 801221D8 0011F138 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 801221DC 0011F13C D0 01 01 44 */ stfs f0, 0x144(r1) -/* 801221E0 0011F140 D0 21 01 48 */ stfs f1, 0x148(r1) -/* 801221E4 0011F144 D0 41 01 4C */ stfs f2, 0x14c(r1) -/* 801221E8 0011F148 83 9E 08 4C */ lwz r28, 0x84c(r30) -/* 801221EC 0011F14C A0 7D 07 C0 */ lhz r3, 0x7c0(r29) -/* 801221F0 0011F150 A0 1C 00 08 */ lhz r0, 8(r28) -/* 801221F4 0011F154 7C 03 00 40 */ cmplw r3, r0 -/* 801221F8 0011F158 40 82 00 88 */ bne lbl_80122280 -/* 801221FC 0011F15C C0 21 02 4C */ lfs f1, 0x24c(r1) -/* 80122200 0011F160 7F 84 E3 78 */ mr r4, r28 -/* 80122204 0011F164 C0 41 02 5C */ lfs f2, 0x25c(r1) -/* 80122208 0011F168 7F C5 F3 78 */ mr r5, r30 -/* 8012220C 0011F16C C0 01 02 6C */ lfs f0, 0x26c(r1) -/* 80122210 0011F170 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 80122214 0011F174 D0 21 01 04 */ stfs f1, 0x104(r1) -/* 80122218 0011F178 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 8012221C 0011F17C D0 41 01 08 */ stfs f2, 0x108(r1) -/* 80122220 0011F180 D0 01 01 0C */ stfs f0, 0x10c(r1) -/* 80122224 0011F184 81 9C 00 00 */ lwz r12, 0(r28) -/* 80122228 0011F188 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8012222C 0011F18C 7D 89 03 A6 */ mtctr r12 -/* 80122230 0011F190 4E 80 04 21 */ bctrl -/* 80122234 0011F194 7F A3 EB 78 */ mr r3, r29 -/* 80122238 0011F198 81 9D 00 00 */ lwz r12, 0(r29) -/* 8012223C 0011F19C 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80122240 0011F1A0 7D 89 03 A6 */ mtctr r12 -/* 80122244 0011F1A4 4E 80 04 21 */ bctrl -/* 80122248 0011F1A8 FC 20 F8 90 */ fmr f1, f31 -/* 8012224C 0011F1AC 7C 64 1B 78 */ mr r4, r3 -/* 80122250 0011F1B0 7F 87 E3 78 */ mr r7, r28 -/* 80122254 0011F1B4 38 61 01 10 */ addi r3, r1, 0x110 -/* 80122258 0011F1B8 38 A1 01 04 */ addi r5, r1, 0x104 -/* 8012225C 0011F1BC 38 C1 00 F8 */ addi r6, r1, 0xf8 -/* 80122260 0011F1C0 39 00 00 01 */ li r8, 1 -/* 80122264 0011F1C4 48 0F 9C 89 */ bl PredictInterceptPos__15CProjectileInfoFRC9CVector3fRC9CVector3fRC7CPlayerbf -/* 80122268 0011F1C8 C0 41 01 10 */ lfs f2, 0x110(r1) -/* 8012226C 0011F1CC C0 21 01 14 */ lfs f1, 0x114(r1) -/* 80122270 0011F1D0 C0 01 01 18 */ lfs f0, 0x118(r1) -/* 80122274 0011F1D4 D0 41 01 44 */ stfs f2, 0x144(r1) -/* 80122278 0011F1D8 D0 21 01 48 */ stfs f1, 0x148(r1) -/* 8012227C 0011F1DC D0 01 01 4C */ stfs f0, 0x14c(r1) -lbl_80122280: -/* 80122280 0011F1E0 C0 41 02 6C */ lfs f2, 0x26c(r1) -/* 80122284 0011F1E4 38 61 01 38 */ addi r3, r1, 0x138 -/* 80122288 0011F1E8 C0 01 01 4C */ lfs f0, 0x14c(r1) -/* 8012228C 0011F1EC C0 81 02 5C */ lfs f4, 0x25c(r1) -/* 80122290 0011F1F0 C0 21 01 48 */ lfs f1, 0x148(r1) -/* 80122294 0011F1F4 EC 40 10 28 */ fsubs f2, f0, f2 -/* 80122298 0011F1F8 C0 61 02 4C */ lfs f3, 0x24c(r1) -/* 8012229C 0011F1FC C0 01 01 44 */ lfs f0, 0x144(r1) -/* 801222A0 0011F200 EC 21 20 28 */ fsubs f1, f1, f4 -/* 801222A4 0011F204 D0 41 01 40 */ stfs f2, 0x140(r1) -/* 801222A8 0011F208 EC 00 18 28 */ fsubs f0, f0, f3 -/* 801222AC 0011F20C D0 21 01 3C */ stfs f1, 0x13c(r1) -/* 801222B0 0011F210 D0 01 01 38 */ stfs f0, 0x138(r1) -/* 801222B4 0011F214 48 1F 26 05 */ bl Magnitude__9CVector3fCFv -/* 801222B8 0011F218 FF E0 08 90 */ fmr f31, f1 -/* 801222BC 0011F21C C0 62 97 D8 */ lfs f3, lbl_805AB4F8@sda21(r2) -/* 801222C0 0011F220 C0 81 01 38 */ lfs f4, 0x138(r1) -/* 801222C4 0011F224 7F A4 EB 78 */ mr r4, r29 -/* 801222C8 0011F228 C0 41 01 3C */ lfs f2, 0x13c(r1) -/* 801222CC 0011F22C 38 61 01 80 */ addi r3, r1, 0x180 -/* 801222D0 0011F230 EC A3 F8 24 */ fdivs f5, f3, f31 -/* 801222D4 0011F234 C0 01 01 40 */ lfs f0, 0x140(r1) -/* 801222D8 0011F238 38 BD 07 B7 */ addi r5, r29, 0x7b7 -/* 801222DC 0011F23C EC 64 01 72 */ fmuls f3, f4, f5 -/* 801222E0 0011F240 EC 22 01 72 */ fmuls f1, f2, f5 -/* 801222E4 0011F244 EC 00 01 72 */ fmuls f0, f0, f5 -/* 801222E8 0011F248 D0 61 01 38 */ stfs f3, 0x138(r1) -/* 801222EC 0011F24C D0 21 01 3C */ stfs f1, 0x13c(r1) -/* 801222F0 0011F250 D0 01 01 40 */ stfs f0, 0x140(r1) -/* 801222F4 0011F254 4B F5 65 C5 */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 801222F8 0011F258 C0 41 01 AC */ lfs f2, 0x1ac(r1) -/* 801222FC 0011F25C 7F A4 EB 78 */ mr r4, r29 -/* 80122300 0011F260 C0 21 01 9C */ lfs f1, 0x19c(r1) -/* 80122304 0011F264 38 61 01 B0 */ addi r3, r1, 0x1b0 -/* 80122308 0011F268 C0 01 01 8C */ lfs f0, 0x18c(r1) -/* 8012230C 0011F26C 38 BD 07 B8 */ addi r5, r29, 0x7b8 -/* 80122310 0011F270 D0 21 00 CC */ stfs f1, 0xcc(r1) -/* 80122314 0011F274 D0 01 00 C8 */ stfs f0, 0xc8(r1) -/* 80122318 0011F278 D0 41 00 D0 */ stfs f2, 0xd0(r1) -/* 8012231C 0011F27C 4B F5 65 9D */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 80122320 0011F280 C0 A1 01 DC */ lfs f5, 0x1dc(r1) -/* 80122324 0011F284 38 61 00 EC */ addi r3, r1, 0xec -/* 80122328 0011F288 C0 81 01 CC */ lfs f4, 0x1cc(r1) -/* 8012232C 0011F28C 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 80122330 0011F290 C0 61 01 BC */ lfs f3, 0x1bc(r1) -/* 80122334 0011F294 C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 80122338 0011F298 C0 21 00 D0 */ lfs f1, 0xd0(r1) -/* 8012233C 0011F29C C0 01 00 C8 */ lfs f0, 0xc8(r1) -/* 80122340 0011F2A0 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80122344 0011F2A4 EC 25 08 28 */ fsubs f1, f5, f1 -/* 80122348 0011F2A8 D0 61 00 D4 */ stfs f3, 0xd4(r1) -/* 8012234C 0011F2AC EC 03 00 28 */ fsubs f0, f3, f0 -/* 80122350 0011F2B0 D0 81 00 D8 */ stfs f4, 0xd8(r1) -/* 80122354 0011F2B4 D0 A1 00 DC */ stfs f5, 0xdc(r1) -/* 80122358 0011F2B8 D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 8012235C 0011F2BC D0 41 00 E4 */ stfs f2, 0xe4(r1) -/* 80122360 0011F2C0 D0 21 00 E8 */ stfs f1, 0xe8(r1) -/* 80122364 0011F2C4 48 1F 24 ED */ bl AsNormalized__9CVector3fCFv -/* 80122368 0011F2C8 C0 21 00 F0 */ lfs f1, 0xf0(r1) -/* 8012236C 0011F2CC C0 01 01 3C */ lfs f0, 0x13c(r1) -/* 80122370 0011F2D0 C0 41 00 EC */ lfs f2, 0xec(r1) -/* 80122374 0011F2D4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80122378 0011F2D8 C0 21 01 38 */ lfs f1, 0x138(r1) -/* 8012237C 0011F2DC C0 81 00 F4 */ lfs f4, 0xf4(r1) -/* 80122380 0011F2E0 C0 61 01 40 */ lfs f3, 0x140(r1) -/* 80122384 0011F2E4 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80122388 0011F2E8 C0 02 98 00 */ lfs f0, lbl_805AB520@sda21(r2) -/* 8012238C 0011F2EC EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80122390 0011F2F0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80122394 0011F2F4 41 81 00 1C */ bgt lbl_801223B0 -/* 80122398 0011F2F8 C0 02 98 04 */ lfs f0, lbl_805AB524@sda21(r2) -/* 8012239C 0011F2FC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 801223A0 0011F300 40 80 01 AC */ bge lbl_8012254C -/* 801223A4 0011F304 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 801223A8 0011F308 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801223AC 0011F30C 40 81 01 A0 */ ble lbl_8012254C -lbl_801223B0: -/* 801223B0 0011F310 38 00 00 00 */ li r0, 0 -/* 801223B4 0011F314 80 AD 8A C8 */ lwz r5, lbl_805A7688@sda21(r13) -/* 801223B8 0011F318 90 01 00 6C */ stw r0, 0x6c(r1) -/* 801223BC 0011F31C 38 60 00 00 */ li r3, 0 -/* 801223C0 0011F320 38 80 00 01 */ li r4, 1 -/* 801223C4 0011F324 90 01 00 68 */ stw r0, 0x68(r1) -/* 801223C8 0011F328 48 26 7B 2D */ bl __shl2i -/* 801223CC 0011F32C 80 01 00 68 */ lwz r0, 0x68(r1) -/* 801223D0 0011F330 80 C1 00 6C */ lwz r6, 0x6c(r1) -/* 801223D4 0011F334 7C 00 1B 78 */ or r0, r0, r3 -/* 801223D8 0011F338 80 AD 8A CC */ lwz r5, lbl_805A768C@sda21(r13) -/* 801223DC 0011F33C 7C C4 23 78 */ or r4, r6, r4 -/* 801223E0 0011F340 90 01 00 68 */ stw r0, 0x68(r1) -/* 801223E4 0011F344 38 60 00 00 */ li r3, 0 -/* 801223E8 0011F348 90 81 00 6C */ stw r4, 0x6c(r1) -/* 801223EC 0011F34C 38 80 00 01 */ li r4, 1 -/* 801223F0 0011F350 48 26 7B 05 */ bl __shl2i -/* 801223F4 0011F354 80 01 00 68 */ lwz r0, 0x68(r1) -/* 801223F8 0011F358 38 A1 00 BC */ addi r5, r1, 0xbc -/* 801223FC 0011F35C 80 E1 00 6C */ lwz r7, 0x6c(r1) -/* 80122400 0011F360 38 C1 01 44 */ addi r6, r1, 0x144 -/* 80122404 0011F364 7C 00 1B 78 */ or r0, r0, r3 -/* 80122408 0011F368 C0 41 02 4C */ lfs f2, 0x24c(r1) -/* 8012240C 0011F36C 7C E4 23 78 */ or r4, r7, r4 -/* 80122410 0011F370 C0 21 02 5C */ lfs f1, 0x25c(r1) -/* 80122414 0011F374 C0 01 02 6C */ lfs f0, 0x26c(r1) -/* 80122418 0011F378 7F A3 EB 78 */ mr r3, r29 -/* 8012241C 0011F37C 90 81 00 6C */ stw r4, 0x6c(r1) -/* 80122420 0011F380 7F C4 F3 78 */ mr r4, r30 -/* 80122424 0011F384 38 E1 00 68 */ addi r7, r1, 0x68 -/* 80122428 0011F388 90 01 00 68 */ stw r0, 0x68(r1) -/* 8012242C 0011F38C D0 41 00 BC */ stfs f2, 0xbc(r1) -/* 80122430 0011F390 D0 21 00 C0 */ stfs f1, 0xc0(r1) -/* 80122434 0011F394 D0 01 00 C4 */ stfs f0, 0xc4(r1) -/* 80122438 0011F398 48 00 6E 59 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList -/* 8012243C 0011F39C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80122440 0011F3A0 41 82 01 0C */ beq lbl_8012254C -/* 80122444 0011F3A4 FC 20 F8 90 */ fmr f1, f31 -/* 80122448 0011F3A8 C0 42 98 04 */ lfs f2, lbl_805AB524@sda21(r2) -/* 8012244C 0011F3AC 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80122450 0011F3B0 38 9D 07 C4 */ addi r4, r29, 0x7c4 -/* 80122454 0011F3B4 48 08 AC F1 */ bl GetDistanceCompensatedError__10CBurstFireCFff -/* 80122458 0011F3B8 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8012245C 0011F3BC 38 9D 00 34 */ addi r4, r29, 0x34 -/* 80122460 0011F3C0 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 80122464 0011F3C4 48 1F 06 1D */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 80122468 0011F3C8 C0 61 01 44 */ lfs f3, 0x144(r1) -/* 8012246C 0011F3CC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80122470 0011F3D0 C0 41 00 B0 */ lfs f2, 0xb0(r1) -/* 80122474 0011F3D4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 80122478 0011F3D8 C0 21 01 48 */ lfs f1, 0x148(r1) -/* 8012247C 0011F3DC 38 61 01 50 */ addi r3, r1, 0x150 -/* 80122480 0011F3E0 EC C3 10 2A */ fadds f6, f3, f2 -/* 80122484 0011F3E4 C0 01 00 B4 */ lfs f0, 0xb4(r1) -/* 80122488 0011F3E8 C0 81 01 4C */ lfs f4, 0x14c(r1) -/* 8012248C 0011F3EC 38 81 00 98 */ addi r4, r1, 0x98 -/* 80122490 0011F3F0 EC A1 00 2A */ fadds f5, f1, f0 -/* 80122494 0011F3F4 C0 61 00 B8 */ lfs f3, 0xb8(r1) -/* 80122498 0011F3F8 EC 64 18 2A */ fadds f3, f4, f3 -/* 8012249C 0011F3FC C0 41 02 4C */ lfs f2, 0x24c(r1) -/* 801224A0 0011F400 C0 21 02 5C */ lfs f1, 0x25c(r1) -/* 801224A4 0011F404 38 A1 01 44 */ addi r5, r1, 0x144 -/* 801224A8 0011F408 C0 01 02 6C */ lfs f0, 0x26c(r1) -/* 801224AC 0011F40C D0 C1 01 44 */ stfs f6, 0x144(r1) -/* 801224B0 0011F410 D0 A1 01 48 */ stfs f5, 0x148(r1) -/* 801224B4 0011F414 D0 61 01 4C */ stfs f3, 0x14c(r1) -/* 801224B8 0011F418 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 801224BC 0011F41C D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 801224C0 0011F420 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 801224C4 0011F424 48 1F 16 4D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 801224C8 0011F428 38 61 02 10 */ addi r3, r1, 0x210 -/* 801224CC 0011F42C 38 81 01 50 */ addi r4, r1, 0x150 -/* 801224D0 0011F430 48 1F 06 A5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801224D4 0011F434 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 801224D8 0011F438 39 60 00 00 */ li r11, 0 -/* 801224DC 0011F43C 99 61 00 94 */ stb r11, 0x94(r1) -/* 801224E0 0011F440 38 01 00 7C */ addi r0, r1, 0x7c -/* 801224E4 0011F444 A1 42 C5 FC */ lhz r10, lbl_805AE31C@sda21(r2) -/* 801224E8 0011F448 7F A3 EB 78 */ mr r3, r29 -/* 801224EC 0011F44C D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 801224F0 0011F450 7F C5 F3 78 */ mr r5, r30 -/* 801224F4 0011F454 38 81 02 10 */ addi r4, r1, 0x210 -/* 801224F8 0011F458 39 21 00 88 */ addi r9, r1, 0x88 -/* 801224FC 0011F45C D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80122500 0011F460 38 C0 00 06 */ li r6, 6 -/* 80122504 0011F464 38 E0 00 00 */ li r7, 0 -/* 80122508 0011F468 39 00 00 00 */ li r8, 0 -/* 8012250C 0011F46C D0 01 00 84 */ stfs f0, 0x84(r1) -/* 80122510 0011F470 91 61 00 08 */ stw r11, 8(r1) -/* 80122514 0011F474 90 01 00 0C */ stw r0, 0xc(r1) -/* 80122518 0011F478 4B F5 54 E1 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -/* 8012251C 0011F47C 88 01 00 94 */ lbz r0, 0x94(r1) -/* 80122520 0011F480 28 00 00 00 */ cmplwi r0, 0 -/* 80122524 0011F484 41 82 00 1C */ beq lbl_80122540 -/* 80122528 0011F488 34 61 00 88 */ addic. r3, r1, 0x88 -/* 8012252C 0011F48C 41 82 00 14 */ beq lbl_80122540 -/* 80122530 0011F490 28 03 00 00 */ cmplwi r3, 0 -/* 80122534 0011F494 41 82 00 0C */ beq lbl_80122540 -/* 80122538 0011F498 38 80 00 00 */ li r4, 0 -/* 8012253C 0011F49C 48 21 E9 05 */ bl __dt__6CTokenFv -lbl_80122540: -/* 80122540 0011F4A0 38 00 00 00 */ li r0, 0 -/* 80122544 0011F4A4 3B E0 00 01 */ li r31, 1 -/* 80122548 0011F4A8 98 01 00 94 */ stb r0, 0x94(r1) -lbl_8012254C: -/* 8012254C 0011F4AC 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80122550 0011F4B0 41 82 01 6C */ beq lbl_801226BC -/* 80122554 0011F4B4 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80122558 0011F4B8 48 01 7E FD */ bl GetPASDatabase__15CBodyControllerCFv -/* 8012255C 0011F4BC 7C 60 1B 78 */ mr r0, r3 -/* 80122560 0011F4C0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80122564 0011F4C4 7C 1C 03 78 */ mr r28, r0 -/* 80122568 0011F4C8 48 1C 0B 15 */ bl NoParameter__12CPASAnimParmFv -/* 8012256C 0011F4CC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80122570 0011F4D0 48 1C 0B 0D */ bl NoParameter__12CPASAnimParmFv -/* 80122574 0011F4D4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80122578 0011F4D8 48 1C 0B 05 */ bl NoParameter__12CPASAnimParmFv -/* 8012257C 0011F4DC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80122580 0011F4E0 48 1C 0A FD */ bl NoParameter__12CPASAnimParmFv -/* 80122584 0011F4E4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80122588 0011F4E8 48 1C 0A F5 */ bl NoParameter__12CPASAnimParmFv -/* 8012258C 0011F4EC 38 61 00 50 */ addi r3, r1, 0x50 -/* 80122590 0011F4F0 48 1C 0A ED */ bl NoParameter__12CPASAnimParmFv -/* 80122594 0011F4F4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80122598 0011F4F8 48 1C 0A E5 */ bl NoParameter__12CPASAnimParmFv -/* 8012259C 0011F4FC 38 61 00 60 */ addi r3, r1, 0x60 -/* 801225A0 0011F500 38 80 00 02 */ li r4, 2 -/* 801225A4 0011F504 48 1C 09 E1 */ bl FromEnum__12CPASAnimParmFi -/* 801225A8 0011F508 38 61 00 30 */ addi r3, r1, 0x30 -/* 801225AC 0011F50C 38 01 00 28 */ addi r0, r1, 0x28 -/* 801225B0 0011F510 90 61 00 08 */ stw r3, 8(r1) -/* 801225B4 0011F514 38 61 02 70 */ addi r3, r1, 0x270 -/* 801225B8 0011F518 38 A1 00 60 */ addi r5, r1, 0x60 -/* 801225BC 0011F51C 38 C1 00 58 */ addi r6, r1, 0x58 -/* 801225C0 0011F520 90 01 00 0C */ stw r0, 0xc(r1) -/* 801225C4 0011F524 38 E1 00 50 */ addi r7, r1, 0x50 -/* 801225C8 0011F528 39 01 00 48 */ addi r8, r1, 0x48 -/* 801225CC 0011F52C 39 21 00 40 */ addi r9, r1, 0x40 -/* 801225D0 0011F530 39 41 00 38 */ addi r10, r1, 0x38 -/* 801225D4 0011F534 38 80 00 18 */ li r4, 0x18 -/* 801225D8 0011F538 4B F5 AC ED */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 801225DC 0011F53C 80 DE 09 00 */ lwz r6, 0x900(r30) -/* 801225E0 0011F540 7F 84 E3 78 */ mr r4, r28 -/* 801225E4 0011F544 38 61 00 20 */ addi r3, r1, 0x20 -/* 801225E8 0011F548 38 A1 02 70 */ addi r5, r1, 0x270 -/* 801225EC 0011F54C 38 E0 FF FF */ li r7, -1 -/* 801225F0 0011F550 48 1C 2A 71 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 801225F4 0011F554 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 801225F8 0011F558 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801225FC 0011F55C 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80122600 0011F560 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80122604 0011F564 40 81 00 1C */ ble lbl_80122620 -/* 80122608 0011F568 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 8012260C 0011F56C 38 A0 00 00 */ li r5, 0 -/* 80122610 0011F570 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) -/* 80122614 0011F574 38 C0 00 01 */ li r6, 1 -/* 80122618 0011F578 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8012261C 0011F57C 4B F0 7B B5 */ bl AddAdditiveAnimation__9CAnimDataFUifbb -lbl_80122620: -/* 80122620 0011F580 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80122624 0011F584 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80122628 0011F588 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 8012262C 0011F58C 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80122630 0011F590 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80122634 0011F594 38 61 00 14 */ addi r3, r1, 0x14 -/* 80122638 0011F598 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8012263C 0011F59C 38 A1 00 70 */ addi r5, r1, 0x70 -/* 80122640 0011F5A0 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80122644 0011F5A4 38 E0 00 01 */ li r7, 1 -/* 80122648 0011F5A8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8012264C 0011F5AC 39 00 00 00 */ li r8, 0 -/* 80122650 0011F5B0 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80122654 0011F5B4 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 80122658 0011F5B8 A0 9D 05 B0 */ lhz r4, 0x5b0(r29) -/* 8012265C 0011F5BC 48 1C 7C 55 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 80122660 0011F5C0 34 A1 02 74 */ addic. r5, r1, 0x274 -/* 80122664 0011F5C4 41 82 00 58 */ beq lbl_801226BC -/* 80122668 0011F5C8 80 C5 00 00 */ lwz r6, 0(r5) -/* 8012266C 0011F5CC 38 60 00 00 */ li r3, 0 -/* 80122670 0011F5D0 2C 06 00 00 */ cmpwi r6, 0 -/* 80122674 0011F5D4 40 81 00 40 */ ble lbl_801226B4 -/* 80122678 0011F5D8 2C 06 00 08 */ cmpwi r6, 8 -/* 8012267C 0011F5DC 38 86 FF F8 */ addi r4, r6, -8 -/* 80122680 0011F5E0 40 81 00 20 */ ble lbl_801226A0 -/* 80122684 0011F5E4 38 04 00 07 */ addi r0, r4, 7 -/* 80122688 0011F5E8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8012268C 0011F5EC 7C 09 03 A6 */ mtctr r0 -/* 80122690 0011F5F0 2C 04 00 00 */ cmpwi r4, 0 -/* 80122694 0011F5F4 40 81 00 0C */ ble lbl_801226A0 -lbl_80122698: -/* 80122698 0011F5F8 38 63 00 08 */ addi r3, r3, 8 -/* 8012269C 0011F5FC 42 00 FF FC */ bdnz lbl_80122698 -lbl_801226A0: -/* 801226A0 0011F600 7C 03 30 50 */ subf r0, r3, r6 -/* 801226A4 0011F604 7C 09 03 A6 */ mtctr r0 -/* 801226A8 0011F608 7C 03 30 00 */ cmpw r3, r6 -/* 801226AC 0011F60C 40 80 00 08 */ bge lbl_801226B4 -lbl_801226B0: -/* 801226B0 0011F610 42 00 00 00 */ bdnz lbl_801226B0 -lbl_801226B4: -/* 801226B4 0011F614 38 00 00 00 */ li r0, 0 -/* 801226B8 0011F618 90 05 00 00 */ stw r0, 0(r5) -lbl_801226BC: -/* 801226BC 0011F61C 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 801226C0 0011F620 E3 E1 02 D8 */ psq_l f31, 728(r1), 0, qr0 -/* 801226C4 0011F624 80 01 02 E4 */ lwz r0, 0x2e4(r1) -/* 801226C8 0011F628 CB E1 02 D0 */ lfd f31, 0x2d0(r1) -/* 801226CC 0011F62C 83 E1 02 CC */ lwz r31, 0x2cc(r1) -/* 801226D0 0011F630 83 C1 02 C8 */ lwz r30, 0x2c8(r1) -/* 801226D4 0011F634 83 A1 02 C4 */ lwz r29, 0x2c4(r1) -/* 801226D8 0011F638 83 81 02 C0 */ lwz r28, 0x2c0(r1) -/* 801226DC 0011F63C 7C 08 03 A6 */ mtlr r0 -/* 801226E0 0011F640 38 21 02 E0 */ addi r1, r1, 0x2e0 -/* 801226E4 0011F644 4E 80 00 20 */ blr - -.global ProjectileInfo__12CSpacePirateFv -ProjectileInfo__12CSpacePirateFv: -/* 801226E8 0011F648 38 63 05 88 */ addi r3, r3, 0x588 -/* 801226EC 0011F64C 4E 80 00 20 */ blr - -.global UpdateLeashTimer__12CSpacePirateFf -UpdateLeashTimer__12CSpacePirateFf: -/* 801226F0 0011F650 80 83 04 50 */ lwz r4, 0x450(r3) -/* 801226F4 0011F654 88 04 03 00 */ lbz r0, 0x300(r4) -/* 801226F8 0011F658 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 801226FC 0011F65C 4C 82 00 20 */ bnelr -/* 80122700 0011F660 C0 44 03 24 */ lfs f2, 0x324(r4) -/* 80122704 0011F664 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80122708 0011F668 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8012270C 0011F66C 4D 81 00 20 */ bgtlr -/* 80122710 0011F670 C0 03 08 DC */ lfs f0, 0x8dc(r3) -/* 80122714 0011F674 EC 00 08 2A */ fadds f0, f0, f1 -/* 80122718 0011F678 D0 03 08 DC */ stfs f0, 0x8dc(r3) -/* 8012271C 0011F67C 4E 80 00 20 */ blr - -.global Leash__12CSpacePirateFR13CStateManagerf -Leash__12CSpacePirateFR13CStateManagerf: -/* 80122720 0011F680 C0 03 08 DC */ lfs f0, 0x8dc(r3) -/* 80122724 0011F684 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80122728 0011F688 7C 00 00 26 */ mfcr r0 -/* 8012272C 0011F68C 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 80122730 0011F690 4E 80 00 20 */ blr - -.global Jump__12CSpacePirateFR13CStateManager9EStateMsgf -Jump__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80122734 0011F694 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80122738 0011F698 7C 08 02 A6 */ mflr r0 -/* 8012273C 0011F69C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80122740 0011F6A0 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80122744 0011F6A4 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80122748 0011F6A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8012274C 0011F6AC FF E0 08 90 */ fmr f31, f1 -/* 80122750 0011F6B0 2C 05 00 01 */ cmpwi r5, 1 -/* 80122754 0011F6B4 7C 7F 1B 78 */ mr r31, r3 -/* 80122758 0011F6B8 41 82 00 6C */ beq lbl_801227C4 -/* 8012275C 0011F6BC 40 80 00 10 */ bge lbl_8012276C -/* 80122760 0011F6C0 2C 05 00 00 */ cmpwi r5, 0 -/* 80122764 0011F6C4 40 80 00 14 */ bge lbl_80122778 -/* 80122768 0011F6C8 48 00 00 A4 */ b lbl_8012280C -lbl_8012276C: -/* 8012276C 0011F6CC 2C 05 00 03 */ cmpwi r5, 3 -/* 80122770 0011F6D0 40 80 00 9C */ bge lbl_8012280C -/* 80122774 0011F6D4 48 00 00 90 */ b lbl_80122804 -lbl_80122778: -/* 80122778 0011F6D8 38 00 00 01 */ li r0, 1 -/* 8012277C 0011F6DC 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 80122780 0011F6E0 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 80122784 0011F6E4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80122788 0011F6E8 C4 23 67 00 */ lfsu f1, lbl_805A6700@l(r3) -/* 8012278C 0011F6EC C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 80122790 0011F6F0 C0 BF 00 50 */ lfs f5, 0x50(r31) -/* 80122794 0011F6F4 C0 83 00 04 */ lfs f4, 4(r3) -/* 80122798 0011F6F8 EC 22 08 2A */ fadds f1, f2, f1 -/* 8012279C 0011F6FC C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 801227A0 0011F700 C0 43 00 08 */ lfs f2, 8(r3) -/* 801227A4 0011F704 EC 85 20 2A */ fadds f4, f5, f4 -/* 801227A8 0011F708 D0 3F 08 28 */ stfs f1, 0x828(r31) -/* 801227AC 0011F70C EC 23 10 2A */ fadds f1, f3, f2 -/* 801227B0 0011F710 D0 9F 08 2C */ stfs f4, 0x82c(r31) -/* 801227B4 0011F714 D0 3F 08 30 */ stfs f1, 0x830(r31) -/* 801227B8 0011F718 D0 1F 08 24 */ stfs f0, 0x824(r31) -/* 801227BC 0011F71C D0 1F 08 DC */ stfs f0, 0x8dc(r31) -/* 801227C0 0011F720 48 00 00 4C */ b lbl_8012280C -lbl_801227C4: -/* 801227C4 0011F724 3C A0 80 3E */ lis r5, lbl_803E07F4@ha -/* 801227C8 0011F728 38 C1 00 08 */ addi r6, r1, 8 -/* 801227CC 0011F72C 39 45 07 F4 */ addi r10, r5, lbl_803E07F4@l -/* 801227D0 0011F730 38 A0 00 0D */ li r5, 0xd -/* 801227D4 0011F734 81 2A 00 00 */ lwz r9, 0(r10) -/* 801227D8 0011F738 38 E0 00 00 */ li r7, 0 -/* 801227DC 0011F73C 81 0A 00 04 */ lwz r8, 4(r10) -/* 801227E0 0011F740 80 0A 00 08 */ lwz r0, 8(r10) -/* 801227E4 0011F744 91 21 00 08 */ stw r9, 8(r1) -/* 801227E8 0011F748 91 01 00 0C */ stw r8, 0xc(r1) -/* 801227EC 0011F74C 90 01 00 10 */ stw r0, 0x10(r1) -/* 801227F0 0011F750 4B F5 9F C5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 801227F4 0011F754 FC 20 F8 90 */ fmr f1, f31 -/* 801227F8 0011F758 7F E3 FB 78 */ mr r3, r31 -/* 801227FC 0011F75C 4B FF FE F5 */ bl UpdateLeashTimer__12CSpacePirateFf -/* 80122800 0011F760 48 00 00 0C */ b lbl_8012280C -lbl_80122804: -/* 80122804 0011F764 38 00 00 00 */ li r0, 0 -/* 80122808 0011F768 90 1F 03 2C */ stw r0, 0x32c(r31) -lbl_8012280C: -/* 8012280C 0011F76C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80122810 0011F770 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80122814 0011F774 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80122818 0011F778 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8012281C 0011F77C 7C 08 03 A6 */ mtlr r0 -/* 80122820 0011F780 38 21 00 30 */ addi r1, r1, 0x30 -/* 80122824 0011F784 4E 80 00 20 */ blr - -.global TryJumpInLoop__10CPatternedFR13CStateManageri -TryJumpInLoop__10CPatternedFR13CStateManageri: -/* 80122828 0011F788 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8012282C 0011F78C 7C 08 02 A6 */ mflr r0 -/* 80122830 0011F790 3C E0 80 3E */ lis r7, lbl_803DAA68@ha -/* 80122834 0011F794 39 00 00 10 */ li r8, 0x10 -/* 80122838 0011F798 90 01 00 44 */ stw r0, 0x44(r1) -/* 8012283C 0011F79C 39 27 AA 68 */ addi r9, r7, lbl_803DAA68@l -/* 80122840 0011F7A0 3C E0 80 3E */ lis r7, lbl_803DA9FC@ha -/* 80122844 0011F7A4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80122848 0011F7A8 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8012284C 0011F7AC 38 00 00 00 */ li r0, 0 -/* 80122850 0011F7B0 88 C1 00 2C */ lbz r6, 0x2c(r1) -/* 80122854 0011F7B4 50 06 3E 30 */ rlwimi r6, r0, 7, 0x18, 0x18 -/* 80122858 0011F7B8 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) -/* 8012285C 0011F7BC 38 E7 A9 FC */ addi r7, r7, lbl_803DA9FC@l -/* 80122860 0011F7C0 81 43 04 50 */ lwz r10, 0x450(r3) -/* 80122864 0011F7C4 54 C0 06 3E */ clrlwi r0, r6, 0x18 -/* 80122868 0011F7C8 C0 A3 02 E0 */ lfs f5, 0x2e0(r3) -/* 8012286C 0011F7CC C0 83 02 E4 */ lfs f4, 0x2e4(r3) -/* 80122870 0011F7D0 3B EA 00 04 */ addi r31, r10, 4 -/* 80122874 0011F7D4 C0 63 02 E8 */ lfs f3, 0x2e8(r3) -/* 80122878 0011F7D8 38 60 00 01 */ li r3, 1 -/* 8012287C 0011F7DC C0 24 00 04 */ lfs f1, 4(r4) -/* 80122880 0011F7E0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80122884 0011F7E4 C0 04 00 08 */ lfs f0, 8(r4) -/* 80122888 0011F7E8 7F E3 FB 78 */ mr r3, r31 -/* 8012288C 0011F7EC 91 21 00 08 */ stw r9, 8(r1) -/* 80122890 0011F7F0 38 80 00 10 */ li r4, 0x10 -/* 80122894 0011F7F4 98 C1 00 2C */ stb r6, 0x2c(r1) -/* 80122898 0011F7F8 91 01 00 0C */ stw r8, 0xc(r1) -/* 8012289C 0011F7FC 90 E1 00 08 */ stw r7, 8(r1) -/* 801228A0 0011F800 90 A1 00 10 */ stw r5, 0x10(r1) -/* 801228A4 0011F804 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 801228A8 0011F808 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 801228AC 0011F80C D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 801228B0 0011F810 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 801228B4 0011F814 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 801228B8 0011F818 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 801228BC 0011F81C 98 01 00 2C */ stb r0, 0x2c(r1) -/* 801228C0 0011F820 48 00 EB 79 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801228C4 0011F824 80 01 00 0C */ lwz r0, 0xc(r1) -/* 801228C8 0011F828 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha -/* 801228CC 0011F82C 38 83 A9 FC */ addi r4, r3, lbl_803DA9FC@l -/* 801228D0 0011F830 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801228D4 0011F834 90 1F 01 D4 */ stw r0, 0x1d4(r31) -/* 801228D8 0011F838 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801228DC 0011F83C 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 801228E0 0011F840 80 61 00 14 */ lwz r3, 0x14(r1) -/* 801228E4 0011F844 90 BF 01 D8 */ stw r5, 0x1d8(r31) -/* 801228E8 0011F848 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 801228EC 0011F84C 90 7F 01 DC */ stw r3, 0x1dc(r31) -/* 801228F0 0011F850 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 801228F4 0011F854 90 BF 01 E0 */ stw r5, 0x1e0(r31) -/* 801228F8 0011F858 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 801228FC 0011F85C 90 7F 01 E4 */ stw r3, 0x1e4(r31) -/* 80122900 0011F860 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80122904 0011F864 90 BF 01 E8 */ stw r5, 0x1e8(r31) -/* 80122908 0011F868 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8012290C 0011F86C 90 7F 01 EC */ stw r3, 0x1ec(r31) -/* 80122910 0011F870 88 61 00 2C */ lbz r3, 0x2c(r1) -/* 80122914 0011F874 90 BF 01 F0 */ stw r5, 0x1f0(r31) -/* 80122918 0011F878 90 81 00 08 */ stw r4, 8(r1) -/* 8012291C 0011F87C 98 7F 01 F4 */ stb r3, 0x1f4(r31) -/* 80122920 0011F880 90 01 00 08 */ stw r0, 8(r1) -/* 80122924 0011F884 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80122928 0011F888 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8012292C 0011F88C 7C 08 03 A6 */ mtlr r0 -/* 80122930 0011F890 38 21 00 40 */ addi r1, r1, 0x40 -/* 80122934 0011F894 4E 80 00 20 */ blr - -.global Landed__12CSpacePirateFR13CStateManagerf -Landed__12CSpacePirateFR13CStateManagerf: -/* 80122938 0011F898 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012293C 0011F89C 7C 08 02 A6 */ mflr r0 -/* 80122940 0011F8A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80122944 0011F8A4 81 83 00 00 */ lwz r12, 0(r3) -/* 80122948 0011F8A8 81 8C 02 B8 */ lwz r12, 0x2b8(r12) -/* 8012294C 0011F8AC 7D 89 03 A6 */ mtctr r12 -/* 80122950 0011F8B0 4E 80 04 21 */ bctrl -/* 80122954 0011F8B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80122958 0011F8B8 7C 08 03 A6 */ mtlr r0 -/* 8012295C 0011F8BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80122960 0011F8C0 4E 80 00 20 */ blr - -.global OffLine__12CSpacePirateFR13CStateManagerf -OffLine__12CSpacePirateFR13CStateManagerf: -/* 80122964 0011F8C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80122968 0011F8C8 7C 08 02 A6 */ mflr r0 -/* 8012296C 0011F8CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80122970 0011F8D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80122974 0011F8D4 81 8C 02 B8 */ lwz r12, 0x2b8(r12) -/* 80122978 0011F8D8 7D 89 03 A6 */ mtctr r12 -/* 8012297C 0011F8DC 4E 80 04 21 */ bctrl -/* 80122980 0011F8E0 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80122984 0011F8E4 7C 00 00 34 */ cntlzw r0, r0 -/* 80122988 0011F8E8 54 03 D9 7E */ srwi r3, r0, 5 -/* 8012298C 0011F8EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80122990 0011F8F0 7C 08 03 A6 */ mtlr r0 -/* 80122994 0011F8F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80122998 0011F8F8 4E 80 00 20 */ blr - -.global Deactivate__12CSpacePirateFR13CStateManager9EStateMsgf -Deactivate__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 8012299C 0011F8FC 2C 05 00 00 */ cmpwi r5, 0 -/* 801229A0 0011F900 4C 82 00 20 */ bnelr -/* 801229A4 0011F904 88 03 04 01 */ lbz r0, 0x401(r3) -/* 801229A8 0011F908 38 80 00 01 */ li r4, 1 -/* 801229AC 0011F90C 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 801229B0 0011F910 98 03 04 01 */ stb r0, 0x401(r3) -/* 801229B4 0011F914 4E 80 00 20 */ blr - -.global Dead__12CSpacePirateFR13CStateManager9EStateMsgf -Dead__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801229B8 0011F918 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801229BC 0011F91C 7C 08 02 A6 */ mflr r0 -/* 801229C0 0011F920 90 01 00 24 */ stw r0, 0x24(r1) -/* 801229C4 0011F924 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801229C8 0011F928 7C BF 2B 78 */ mr r31, r5 -/* 801229CC 0011F92C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801229D0 0011F930 7C 9E 23 78 */ mr r30, r4 -/* 801229D4 0011F934 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801229D8 0011F938 7C 7D 1B 78 */ mr r29, r3 -/* 801229DC 0011F93C 48 0D 3F E9 */ bl Dead__10CPatternedFR13CStateManager9EStateMsgf -/* 801229E0 0011F940 2C 1F 00 01 */ cmpwi r31, 1 -/* 801229E4 0011F944 41 82 00 44 */ beq lbl_80122A28 -/* 801229E8 0011F948 40 80 00 B0 */ bge lbl_80122A98 -/* 801229EC 0011F94C 2C 1F 00 00 */ cmpwi r31, 0 -/* 801229F0 0011F950 40 80 00 0C */ bge lbl_801229FC -/* 801229F4 0011F954 48 00 00 A4 */ b lbl_80122A98 -/* 801229F8 0011F958 48 00 00 A0 */ b lbl_80122A98 -lbl_801229FC: -/* 801229FC 0011F95C 38 7D 07 64 */ addi r3, r29, 0x764 -/* 80122A00 0011F960 38 80 00 00 */ li r4, 0 -/* 80122A04 0011F964 48 05 28 21 */ bl SetActive__13CBoneTrackingFb -/* 80122A08 0011F968 7F A3 EB 78 */ mr r3, r29 -/* 80122A0C 0011F96C 7F C4 F3 78 */ mr r4, r30 -/* 80122A10 0011F970 38 A0 00 00 */ li r5, 0 -/* 80122A14 0011F974 48 00 70 01 */ bl SetEyeParticleActive__12CSpacePirateFR13CStateManagerb -/* 80122A18 0011F978 7F A3 EB 78 */ mr r3, r29 -/* 80122A1C 0011F97C 7F C4 F3 78 */ mr r4, r30 -/* 80122A20 0011F980 48 00 6C 19 */ bl SquadReset__12CSpacePirateFR13CStateManager -/* 80122A24 0011F984 48 00 00 74 */ b lbl_80122A98 -lbl_80122A28: -/* 80122A28 0011F988 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80122A2C 0011F98C 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80122A30 0011F990 2C 00 00 04 */ cmpwi r0, 4 -/* 80122A34 0011F994 40 82 00 64 */ bne lbl_80122A98 -/* 80122A38 0011F998 7F A3 EB 78 */ mr r3, r29 -/* 80122A3C 0011F99C 7F C6 F3 78 */ mr r6, r30 -/* 80122A40 0011F9A0 38 80 00 28 */ li r4, 0x28 -/* 80122A44 0011F9A4 38 A0 00 29 */ li r5, 0x29 -/* 80122A48 0011F9A8 4B F3 14 8D */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 80122A4C 0011F9AC 7F A3 EB 78 */ mr r3, r29 -/* 80122A50 0011F9B0 7F C7 F3 78 */ mr r7, r30 -/* 80122A54 0011F9B4 38 80 00 25 */ li r4, 0x25 -/* 80122A58 0011F9B8 38 A0 00 13 */ li r5, 0x13 -/* 80122A5C 0011F9BC 38 C0 00 30 */ li r6, 0x30 -/* 80122A60 0011F9C0 4B F3 13 8D */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -/* 80122A64 0011F9C4 7F A3 EB 78 */ mr r3, r29 -/* 80122A68 0011F9C8 7F C5 F3 78 */ mr r5, r30 -/* 80122A6C 0011F9CC 38 80 00 12 */ li r4, 0x12 -/* 80122A70 0011F9D0 4B F3 18 E1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80122A74 0011F9D4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80122A78 0011F9D8 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) -/* 80122A7C 0011F9DC 7F A3 EB 78 */ mr r3, r29 -/* 80122A80 0011F9E0 D0 1D 01 50 */ stfs f0, 0x150(r29) -/* 80122A84 0011F9E4 C0 04 00 04 */ lfs f0, 4(r4) -/* 80122A88 0011F9E8 D0 1D 01 54 */ stfs f0, 0x154(r29) -/* 80122A8C 0011F9EC C0 04 00 08 */ lfs f0, 8(r4) -/* 80122A90 0011F9F0 D0 1D 01 58 */ stfs f0, 0x158(r29) -/* 80122A94 0011F9F4 4B FF 88 E5 */ bl Stop__13CPhysicsActorFv -lbl_80122A98: -/* 80122A98 0011F9F8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80122A9C 0011F9FC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80122AA0 0011FA00 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80122AA4 0011FA04 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80122AA8 0011FA08 7C 08 03 A6 */ mtlr r0 -/* 80122AAC 0011FA0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80122AB0 0011FA10 4E 80 00 20 */ blr - -.global Bounce__12CSpacePirateFR13CStateManager9EStateMsgf -Bounce__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80122AB4 0011FA14 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80122AB8 0011FA18 7C 08 02 A6 */ mflr r0 -/* 80122ABC 0011FA1C 2C 05 00 01 */ cmpwi r5, 1 -/* 80122AC0 0011FA20 90 01 00 64 */ stw r0, 0x64(r1) -/* 80122AC4 0011FA24 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80122AC8 0011FA28 7C 9F 23 78 */ mr r31, r4 -/* 80122ACC 0011FA2C 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80122AD0 0011FA30 7C 7E 1B 78 */ mr r30, r3 -/* 80122AD4 0011FA34 41 82 01 60 */ beq lbl_80122C34 -/* 80122AD8 0011FA38 40 80 01 8C */ bge lbl_80122C64 -/* 80122ADC 0011FA3C 2C 05 00 00 */ cmpwi r5, 0 -/* 80122AE0 0011FA40 40 80 00 0C */ bge lbl_80122AEC -/* 80122AE4 0011FA44 48 00 01 80 */ b lbl_80122C64 -/* 80122AE8 0011FA48 48 00 01 7C */ b lbl_80122C64 -lbl_80122AEC: -/* 80122AEC 0011FA4C A0 1E 08 40 */ lhz r0, 0x840(r30) -/* 80122AF0 0011FA50 7F E3 FB 78 */ mr r3, r31 -/* 80122AF4 0011FA54 38 81 00 0C */ addi r4, r1, 0xc -/* 80122AF8 0011FA58 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80122AFC 0011FA5C 4B F2 9A A9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80122B00 0011FA60 7C 64 1B 78 */ mr r4, r3 -/* 80122B04 0011FA64 38 61 00 1C */ addi r3, r1, 0x1c -/* 80122B08 0011FA68 4B F8 8B D9 */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" -/* 80122B0C 0011FA6C 80 63 00 04 */ lwz r3, 4(r3) -/* 80122B10 0011FA70 28 03 00 00 */ cmplwi r3, 0 -/* 80122B14 0011FA74 41 82 01 50 */ beq lbl_80122C64 -/* 80122B18 0011FA78 A0 03 01 0E */ lhz r0, 0x10e(r3) -/* 80122B1C 0011FA7C 7F E3 FB 78 */ mr r3, r31 -/* 80122B20 0011FA80 38 81 00 08 */ addi r4, r1, 8 -/* 80122B24 0011FA84 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80122B28 0011FA88 B0 01 00 08 */ sth r0, 8(r1) -/* 80122B2C 0011FA8C 4B F2 9A 79 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80122B30 0011FA90 7C 64 1B 78 */ mr r4, r3 -/* 80122B34 0011FA94 38 61 00 14 */ addi r3, r1, 0x14 -/* 80122B38 0011FA98 4B F8 3A 15 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80122B3C 0011FA9C 81 03 00 04 */ lwz r8, 4(r3) -/* 80122B40 0011FAA0 28 08 00 00 */ cmplwi r8, 0 -/* 80122B44 0011FAA4 41 82 01 20 */ beq lbl_80122C64 -/* 80122B48 0011FAA8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80122B4C 0011FAAC 88 A1 00 48 */ lbz r5, 0x48(r1) -/* 80122B50 0011FAB0 38 00 00 01 */ li r0, 1 -/* 80122B54 0011FAB4 80 FE 04 50 */ lwz r7, 0x450(r30) -/* 80122B58 0011FAB8 50 05 3E 30 */ rlwimi r5, r0, 7, 0x18, 0x18 -/* 80122B5C 0011FABC 38 83 AA 68 */ addi r4, r3, lbl_803DAA68@l -/* 80122B60 0011FAC0 C0 A8 00 60 */ lfs f5, 0x60(r8) -/* 80122B64 0011FAC4 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha -/* 80122B68 0011FAC8 C0 88 00 50 */ lfs f4, 0x50(r8) -/* 80122B6C 0011FACC 38 C0 00 00 */ li r6, 0 -/* 80122B70 0011FAD0 C0 68 00 40 */ lfs f3, 0x40(r8) -/* 80122B74 0011FAD4 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 80122B78 0011FAD8 C0 5E 08 28 */ lfs f2, 0x828(r30) -/* 80122B7C 0011FADC 39 00 00 10 */ li r8, 0x10 -/* 80122B80 0011FAE0 C0 3E 08 2C */ lfs f1, 0x82c(r30) -/* 80122B84 0011FAE4 3B E7 00 04 */ addi r31, r7, 4 -/* 80122B88 0011FAE8 C0 1E 08 30 */ lfs f0, 0x830(r30) -/* 80122B8C 0011FAEC 38 E3 A9 FC */ addi r7, r3, lbl_803DA9FC@l -/* 80122B90 0011FAF0 90 81 00 24 */ stw r4, 0x24(r1) -/* 80122B94 0011FAF4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 80122B98 0011FAF8 7F E3 FB 78 */ mr r3, r31 -/* 80122B9C 0011FAFC 38 80 00 10 */ li r4, 0x10 -/* 80122BA0 0011FB00 98 A1 00 48 */ stb r5, 0x48(r1) -/* 80122BA4 0011FB04 91 01 00 28 */ stw r8, 0x28(r1) -/* 80122BA8 0011FB08 90 E1 00 24 */ stw r7, 0x24(r1) -/* 80122BAC 0011FB0C 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 80122BB0 0011FB10 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80122BB4 0011FB14 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 80122BB8 0011FB18 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80122BBC 0011FB1C D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 80122BC0 0011FB20 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 80122BC4 0011FB24 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 80122BC8 0011FB28 98 01 00 48 */ stb r0, 0x48(r1) -/* 80122BCC 0011FB2C 48 00 E8 6D */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80122BD0 0011FB30 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80122BD4 0011FB34 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha -/* 80122BD8 0011FB38 38 83 A9 FC */ addi r4, r3, lbl_803DA9FC@l -/* 80122BDC 0011FB3C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80122BE0 0011FB40 90 1F 01 D4 */ stw r0, 0x1d4(r31) -/* 80122BE4 0011FB44 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80122BE8 0011FB48 80 A1 00 2C */ lwz r5, 0x2c(r1) -/* 80122BEC 0011FB4C 80 61 00 30 */ lwz r3, 0x30(r1) -/* 80122BF0 0011FB50 90 BF 01 D8 */ stw r5, 0x1d8(r31) -/* 80122BF4 0011FB54 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 80122BF8 0011FB58 90 7F 01 DC */ stw r3, 0x1dc(r31) -/* 80122BFC 0011FB5C 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80122C00 0011FB60 90 BF 01 E0 */ stw r5, 0x1e0(r31) -/* 80122C04 0011FB64 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 80122C08 0011FB68 90 7F 01 E4 */ stw r3, 0x1e4(r31) -/* 80122C0C 0011FB6C 80 61 00 40 */ lwz r3, 0x40(r1) -/* 80122C10 0011FB70 90 BF 01 E8 */ stw r5, 0x1e8(r31) -/* 80122C14 0011FB74 80 A1 00 44 */ lwz r5, 0x44(r1) -/* 80122C18 0011FB78 90 7F 01 EC */ stw r3, 0x1ec(r31) -/* 80122C1C 0011FB7C 88 61 00 48 */ lbz r3, 0x48(r1) -/* 80122C20 0011FB80 90 BF 01 F0 */ stw r5, 0x1f0(r31) -/* 80122C24 0011FB84 90 81 00 24 */ stw r4, 0x24(r1) -/* 80122C28 0011FB88 98 7F 01 F4 */ stb r3, 0x1f4(r31) -/* 80122C2C 0011FB8C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80122C30 0011FB90 48 00 00 34 */ b lbl_80122C64 -lbl_80122C34: -/* 80122C34 0011FB94 C0 3E 03 38 */ lfs f1, 0x338(r30) -/* 80122C38 0011FB98 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) -/* 80122C3C 0011FB9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80122C40 0011FBA0 40 81 00 24 */ ble lbl_80122C64 -/* 80122C44 0011FBA4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80122C48 0011FBA8 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80122C4C 0011FBAC 2C 00 00 0D */ cmpwi r0, 0xd -/* 80122C50 0011FBB0 41 82 00 14 */ beq lbl_80122C64 -/* 80122C54 0011FBB4 88 1E 03 48 */ lbz r0, 0x348(r30) -/* 80122C58 0011FBB8 38 60 00 01 */ li r3, 1 -/* 80122C5C 0011FBBC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80122C60 0011FBC0 98 1E 03 48 */ stb r0, 0x348(r30) -lbl_80122C64: -/* 80122C64 0011FBC4 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80122C68 0011FBC8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80122C6C 0011FBCC 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80122C70 0011FBD0 7C 08 03 A6 */ mtlr r0 -/* 80122C74 0011FBD4 38 21 00 60 */ addi r1, r1, 0x60 -/* 80122C78 0011FBD8 4E 80 00 20 */ blr - -.global PathFindEx__12CSpacePirateFR13CStateManager9EStateMsgf -PathFindEx__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80122C7C 0011FBDC 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80122C80 0011FBE0 7C 08 02 A6 */ mflr r0 -/* 80122C84 0011FBE4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80122C88 0011FBE8 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80122C8C 0011FBEC F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80122C90 0011FBF0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80122C94 0011FBF4 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80122C98 0011FBF8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80122C9C 0011FBFC FF E0 08 90 */ fmr f31, f1 -/* 80122CA0 0011FC00 7C 7F 1B 78 */ mr r31, r3 -/* 80122CA4 0011FC04 7C 9D 23 78 */ mr r29, r4 -/* 80122CA8 0011FC08 7C BE 2B 78 */ mr r30, r5 -/* 80122CAC 0011FC0C 48 0D 3A 21 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 80122CB0 0011FC10 2C 1E 00 01 */ cmpwi r30, 1 -/* 80122CB4 0011FC14 41 82 00 38 */ beq lbl_80122CEC -/* 80122CB8 0011FC18 40 80 00 10 */ bge lbl_80122CC8 -/* 80122CBC 0011FC1C 2C 1E 00 00 */ cmpwi r30, 0 -/* 80122CC0 0011FC20 40 80 00 14 */ bge lbl_80122CD4 -/* 80122CC4 0011FC24 48 00 01 30 */ b lbl_80122DF4 -lbl_80122CC8: -/* 80122CC8 0011FC28 2C 1E 00 03 */ cmpwi r30, 3 -/* 80122CCC 0011FC2C 40 80 01 28 */ bge lbl_80122DF4 -/* 80122CD0 0011FC30 48 00 01 14 */ b lbl_80122DE4 -lbl_80122CD4: -/* 80122CD4 0011FC34 88 1F 06 39 */ lbz r0, 0x639(r31) -/* 80122CD8 0011FC38 38 60 00 00 */ li r3, 0 -/* 80122CDC 0011FC3C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80122CE0 0011FC40 98 1F 06 39 */ stb r0, 0x639(r31) -/* 80122CE4 0011FC44 90 7F 03 0C */ stw r3, 0x30c(r31) -/* 80122CE8 0011FC48 48 00 01 0C */ b lbl_80122DF4 -lbl_80122CEC: -/* 80122CEC 0011FC4C 7F E3 FB 78 */ mr r3, r31 -/* 80122CF0 0011FC50 7F A4 EB 78 */ mr r4, r29 -/* 80122CF4 0011FC54 48 00 5E DD */ bl AvoidActors__12CSpacePirateFR13CStateManager -/* 80122CF8 0011FC58 88 1F 06 39 */ lbz r0, 0x639(r31) -/* 80122CFC 0011FC5C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80122D00 0011FC60 40 82 00 F4 */ bne lbl_80122DF4 -/* 80122D04 0011FC64 A0 1F 08 40 */ lhz r0, 0x840(r31) -/* 80122D08 0011FC68 7F A3 EB 78 */ mr r3, r29 -/* 80122D0C 0011FC6C 38 81 00 08 */ addi r4, r1, 8 -/* 80122D10 0011FC70 B0 01 00 08 */ sth r0, 8(r1) -/* 80122D14 0011FC74 4B F2 98 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80122D18 0011FC78 7C 64 1B 78 */ mr r4, r3 -/* 80122D1C 0011FC7C 38 61 00 0C */ addi r3, r1, 0xc -/* 80122D20 0011FC80 4B F8 89 C1 */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" -/* 80122D24 0011FC84 83 C3 00 04 */ lwz r30, 4(r3) -/* 80122D28 0011FC88 28 1E 00 00 */ cmplwi r30, 0 -/* 80122D2C 0011FC8C 41 82 00 C8 */ beq lbl_80122DF4 -/* 80122D30 0011FC90 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80122D34 0011FC94 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 80122D38 0011FC98 48 01 11 75 */ bl GetMaxSpeed__14CBodyStateInfoCFv -/* 80122D3C 0011FC9C C0 42 98 0C */ lfs f2, lbl_805AB52C@sda21(r2) -/* 80122D40 0011FCA0 80 7F 00 64 */ lwz r3, 0x64(r31) -/* 80122D44 0011FCA4 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) -/* 80122D48 0011FCA8 C0 83 00 04 */ lfs f4, 4(r3) -/* 80122D4C 0011FCAC EC 42 07 FA */ fmadds f2, f2, f31, f0 -/* 80122D50 0011FCB0 C0 A3 00 00 */ lfs f5, 0(r3) -/* 80122D54 0011FCB4 C0 63 00 08 */ lfs f3, 8(r3) -/* 80122D58 0011FCB8 C0 1F 07 A4 */ lfs f0, 0x7a4(r31) -/* 80122D5C 0011FCBC EC 42 01 32 */ fmuls f2, f2, f4 -/* 80122D60 0011FCC0 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80122D64 0011FCC4 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80122D68 0011FCC8 EC 01 00 BA */ fmadds f0, f1, f2, f0 -/* 80122D6C 0011FCCC D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 80122D70 0011FCD0 D0 1F 07 54 */ stfs f0, 0x754(r31) -/* 80122D74 0011FCD4 C0 FF 00 50 */ lfs f7, 0x50(r31) -/* 80122D78 0011FCD8 C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80122D7C 0011FCDC C0 7F 00 40 */ lfs f3, 0x40(r31) -/* 80122D80 0011FCE0 EC C7 00 28 */ fsubs f6, f7, f0 -/* 80122D84 0011FCE4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80122D88 0011FCE8 C1 1F 00 60 */ lfs f8, 0x60(r31) -/* 80122D8C 0011FCEC EC 83 00 28 */ fsubs f4, f3, f0 -/* 80122D90 0011FCF0 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80122D94 0011FCF4 EC 26 01 B2 */ fmuls f1, f6, f6 -/* 80122D98 0011FCF8 EC A8 00 28 */ fsubs f5, f8, f0 -/* 80122D9C 0011FCFC D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80122DA0 0011FD00 EC 44 01 32 */ fmuls f2, f4, f4 -/* 80122DA4 0011FD04 C0 1F 07 54 */ lfs f0, 0x754(r31) -/* 80122DA8 0011FD08 EC 65 01 72 */ fmuls f3, f5, f5 -/* 80122DAC 0011FD0C D0 E1 00 18 */ stfs f7, 0x18(r1) -/* 80122DB0 0011FD10 EC 22 08 2A */ fadds f1, f2, f1 -/* 80122DB4 0011FD14 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80122DB8 0011FD18 D1 01 00 1C */ stfs f8, 0x1c(r1) -/* 80122DBC 0011FD1C EC 23 08 2A */ fadds f1, f3, f1 -/* 80122DC0 0011FD20 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 80122DC4 0011FD24 D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 80122DC8 0011FD28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80122DCC 0011FD2C D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 80122DD0 0011FD30 7C 60 00 26 */ mfcr r3 -/* 80122DD4 0011FD34 88 1F 06 39 */ lbz r0, 0x639(r31) -/* 80122DD8 0011FD38 50 60 2E F6 */ rlwimi r0, r3, 5, 0x1b, 0x1b -/* 80122DDC 0011FD3C 98 1F 06 39 */ stb r0, 0x639(r31) -/* 80122DE0 0011FD40 48 00 00 14 */ b lbl_80122DF4 -lbl_80122DE4: -/* 80122DE4 0011FD44 88 1F 06 39 */ lbz r0, 0x639(r31) -/* 80122DE8 0011FD48 38 60 00 00 */ li r3, 0 -/* 80122DEC 0011FD4C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80122DF0 0011FD50 98 1F 06 39 */ stb r0, 0x639(r31) -lbl_80122DF4: -/* 80122DF4 0011FD54 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80122DF8 0011FD58 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80122DFC 0011FD5C CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80122E00 0011FD60 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80122E04 0011FD64 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80122E08 0011FD68 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80122E0C 0011FD6C 7C 08 03 A6 */ mtlr r0 -/* 80122E10 0011FD70 38 21 00 60 */ addi r1, r1, 0x60 -/* 80122E14 0011FD74 4E 80 00 20 */ blr - -.global BounceFind__12CSpacePirateFR13CStateManagerf -BounceFind__12CSpacePirateFR13CStateManagerf: -/* 80122E18 0011FD78 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80122E1C 0011FD7C 7C 08 02 A6 */ mflr r0 -/* 80122E20 0011FD80 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80122E24 0011FD84 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 80122E28 0011FD88 F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80122E2C 0011FD8C DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 80122E30 0011FD90 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 80122E34 0011FD94 BE E1 00 8C */ stmw r23, 0x8c(r1) -/* 80122E38 0011FD98 83 E4 08 40 */ lwz r31, 0x840(r4) -/* 80122E3C 0011FD9C 7C 9A 23 78 */ mr r26, r4 -/* 80122E40 0011FDA0 C3 C2 98 10 */ lfs f30, lbl_805AB530@sda21(r2) -/* 80122E44 0011FDA4 7C 79 1B 78 */ mr r25, r3 -/* 80122E48 0011FDA8 AB 7F 20 08 */ lha r27, 0x2008(r31) -/* 80122E4C 0011FDAC 3B A0 00 00 */ li r29, 0 -/* 80122E50 0011FDB0 3B 80 00 00 */ li r28, 0 -/* 80122E54 0011FDB4 48 00 02 6C */ b lbl_801230C0 -lbl_80122E58: -/* 80122E58 0011FDB8 7F E3 FB 78 */ mr r3, r31 -/* 80122E5C 0011FDBC 7F 64 DB 78 */ mr r4, r27 -/* 80122E60 0011FDC0 4B EE CE B5 */ bl __vc__11CObjectListFi -/* 80122E64 0011FDC4 7C 64 1B 78 */ mr r4, r3 -/* 80122E68 0011FDC8 38 61 00 30 */ addi r3, r1, 0x30 -/* 80122E6C 0011FDCC 4B F8 88 75 */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" -/* 80122E70 0011FDD0 83 C3 00 04 */ lwz r30, 4(r3) -/* 80122E74 0011FDD4 28 1E 00 00 */ cmplwi r30, 0 -/* 80122E78 0011FDD8 41 82 02 2C */ beq lbl_801230A4 -/* 80122E7C 0011FDDC 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80122E80 0011FDE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80122E84 0011FDE4 41 82 02 20 */ beq lbl_801230A4 -/* 80122E88 0011FDE8 A0 19 00 08 */ lhz r0, 8(r25) -/* 80122E8C 0011FDEC 7F C3 F3 78 */ mr r3, r30 -/* 80122E90 0011FDF0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80122E94 0011FDF4 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80122E98 0011FDF8 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80122E9C 0011FDFC 48 0C C4 39 */ bl GetInUse__18CScriptAiJumpPointCF9TUniqueId -/* 80122EA0 0011FE00 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80122EA4 0011FE04 40 82 02 00 */ bne lbl_801230A4 -/* 80122EA8 0011FE08 A0 BE 01 0E */ lhz r5, 0x10e(r30) -/* 80122EAC 0011FE0C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80122EB0 0011FE10 7C 05 00 40 */ cmplw r5, r0 -/* 80122EB4 0011FE14 41 82 01 F0 */ beq lbl_801230A4 -/* 80122EB8 0011FE18 80 7E 00 04 */ lwz r3, 4(r30) -/* 80122EBC 0011FE1C 80 19 00 04 */ lwz r0, 4(r25) -/* 80122EC0 0011FE20 7C 03 00 00 */ cmpw r3, r0 -/* 80122EC4 0011FE24 40 82 01 E0 */ bne lbl_801230A4 -/* 80122EC8 0011FE28 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80122ECC 0011FE2C C0 19 00 50 */ lfs f0, 0x50(r25) -/* 80122ED0 0011FE30 C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80122ED4 0011FE34 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80122ED8 0011FE38 C0 19 00 40 */ lfs f0, 0x40(r25) -/* 80122EDC 0011FE3C C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80122EE0 0011FE40 EC A3 00 28 */ fsubs f5, f3, f0 -/* 80122EE4 0011FE44 C0 39 00 60 */ lfs f1, 0x60(r25) -/* 80122EE8 0011FE48 EC 04 01 32 */ fmuls f0, f4, f4 -/* 80122EEC 0011FE4C EC 62 08 28 */ fsubs f3, f2, f1 -/* 80122EF0 0011FE50 EC 05 01 7A */ fmadds f0, f5, f5, f0 -/* 80122EF4 0011FE54 EF E3 00 FA */ fmadds f31, f3, f3, f0 -/* 80122EF8 0011FE58 FC 1F F0 40 */ fcmpo cr0, f31, f30 -/* 80122EFC 0011FE5C 40 80 01 A8 */ bge lbl_801230A4 -/* 80122F00 0011FE60 C0 DE 00 48 */ lfs f6, 0x48(r30) -/* 80122F04 0011FE64 C0 5E 00 38 */ lfs f2, 0x38(r30) -/* 80122F08 0011FE68 EC 26 01 32 */ fmuls f1, f6, f4 -/* 80122F0C 0011FE6C C0 9E 00 58 */ lfs f4, 0x58(r30) -/* 80122F10 0011FE70 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80122F14 0011FE74 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80122F18 0011FE78 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 80122F1C 0011FE7C D0 C1 00 78 */ stfs f6, 0x78(r1) -/* 80122F20 0011FE80 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80122F24 0011FE84 D0 81 00 7C */ stfs f4, 0x7c(r1) -/* 80122F28 0011FE88 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80122F2C 0011FE8C 40 81 01 78 */ ble lbl_801230A4 -/* 80122F30 0011FE90 B0 A1 00 10 */ sth r5, 0x10(r1) -/* 80122F34 0011FE94 7F 43 D3 78 */ mr r3, r26 -/* 80122F38 0011FE98 38 81 00 14 */ addi r4, r1, 0x14 -/* 80122F3C 0011FE9C B0 A1 00 14 */ sth r5, 0x14(r1) -/* 80122F40 0011FEA0 4B F2 96 65 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80122F44 0011FEA4 7C 64 1B 78 */ mr r4, r3 -/* 80122F48 0011FEA8 38 61 00 28 */ addi r3, r1, 0x28 -/* 80122F4C 0011FEAC 4B F8 36 01 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80122F50 0011FEB0 83 03 00 04 */ lwz r24, 4(r3) -/* 80122F54 0011FEB4 28 18 00 00 */ cmplwi r24, 0 -/* 80122F58 0011FEB8 41 82 01 4C */ beq lbl_801230A4 -/* 80122F5C 0011FEBC C0 39 02 E4 */ lfs f1, 0x2e4(r25) -/* 80122F60 0011FEC0 C0 18 00 50 */ lfs f0, 0x50(r24) -/* 80122F64 0011FEC4 C0 79 02 E0 */ lfs f3, 0x2e0(r25) -/* 80122F68 0011FEC8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80122F6C 0011FECC C0 18 00 40 */ lfs f0, 0x40(r24) -/* 80122F70 0011FED0 C0 59 02 E8 */ lfs f2, 0x2e8(r25) -/* 80122F74 0011FED4 EC A3 00 28 */ fsubs f5, f3, f0 -/* 80122F78 0011FED8 C0 38 00 60 */ lfs f1, 0x60(r24) -/* 80122F7C 0011FEDC EC 04 01 32 */ fmuls f0, f4, f4 -/* 80122F80 0011FEE0 EC 62 08 28 */ fsubs f3, f2, f1 -/* 80122F84 0011FEE4 C0 22 98 14 */ lfs f1, lbl_805AB534@sda21(r2) -/* 80122F88 0011FEE8 EC 05 01 7A */ fmadds f0, f5, f5, f0 -/* 80122F8C 0011FEEC EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80122F90 0011FEF0 EC 03 00 FA */ fmadds f0, f3, f3, f0 -/* 80122F94 0011FEF4 EC 01 00 FA */ fmadds f0, f1, f3, f0 -/* 80122F98 0011FEF8 EF FF 00 2A */ fadds f31, f31, f0 -/* 80122F9C 0011FEFC FC 1F F0 40 */ fcmpo cr0, f31, f30 -/* 80122FA0 0011FF00 40 80 01 04 */ bge lbl_801230A4 -/* 80122FA4 0011FF04 C0 D8 00 48 */ lfs f6, 0x48(r24) -/* 80122FA8 0011FF08 C0 58 00 38 */ lfs f2, 0x38(r24) -/* 80122FAC 0011FF0C EC 26 01 32 */ fmuls f1, f6, f4 -/* 80122FB0 0011FF10 C0 98 00 58 */ lfs f4, 0x58(r24) -/* 80122FB4 0011FF14 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80122FB8 0011FF18 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 80122FBC 0011FF1C EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 80122FC0 0011FF20 D0 C1 00 6C */ stfs f6, 0x6c(r1) -/* 80122FC4 0011FF24 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80122FC8 0011FF28 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 80122FCC 0011FF2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80122FD0 0011FF30 40 81 00 D4 */ ble lbl_801230A4 -/* 80122FD4 0011FF34 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80122FD8 0011FF38 7F 23 CB 78 */ mr r3, r25 -/* 80122FDC 0011FF3C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80122FE0 0011FF40 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80122FE4 0011FF44 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80122FE8 0011FF48 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80122FEC 0011FF4C D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80122FF0 0011FF50 C0 59 00 60 */ lfs f2, 0x60(r25) -/* 80122FF4 0011FF54 C0 39 00 50 */ lfs f1, 0x50(r25) -/* 80122FF8 0011FF58 C0 19 00 40 */ lfs f0, 0x40(r25) -/* 80122FFC 0011FF5C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80123000 0011FF60 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 80123004 0011FF64 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 80123008 0011FF68 81 99 00 00 */ lwz r12, 0(r25) -/* 8012300C 0011FF6C 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80123010 0011FF70 7D 89 03 A6 */ mtctr r12 -/* 80123014 0011FF74 4E 80 04 21 */ bctrl -/* 80123018 0011FF78 38 81 00 5C */ addi r4, r1, 0x5c -/* 8012301C 0011FF7C 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80123020 0011FF80 48 0A 3C A9 */ bl PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f -/* 80123024 0011FF84 2C 03 00 00 */ cmpwi r3, 0 -/* 80123028 0011FF88 40 82 00 7C */ bne lbl_801230A4 -/* 8012302C 0011FF8C C0 58 00 60 */ lfs f2, 0x60(r24) -/* 80123030 0011FF90 7F 23 CB 78 */ mr r3, r25 -/* 80123034 0011FF94 C0 38 00 50 */ lfs f1, 0x50(r24) -/* 80123038 0011FF98 3A E0 00 00 */ li r23, 0 -/* 8012303C 0011FF9C C0 18 00 40 */ lfs f0, 0x40(r24) -/* 80123040 0011FFA0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80123044 0011FFA4 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80123048 0011FFA8 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8012304C 0011FFAC 81 99 00 00 */ lwz r12, 0(r25) -/* 80123050 0011FFB0 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80123054 0011FFB4 7D 89 03 A6 */ mtctr r12 -/* 80123058 0011FFB8 4E 80 04 21 */ bctrl -/* 8012305C 0011FFBC 38 81 00 44 */ addi r4, r1, 0x44 -/* 80123060 0011FFC0 38 B9 02 E0 */ addi r5, r25, 0x2e0 -/* 80123064 0011FFC4 48 0A 3C 65 */ bl PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f -/* 80123068 0011FFC8 7C 03 00 D0 */ neg r0, r3 -/* 8012306C 0011FFCC 7C 00 1B 78 */ or r0, r0, r3 -/* 80123070 0011FFD0 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 80123074 0011FFD4 41 82 00 0C */ beq lbl_80123080 -/* 80123078 0011FFD8 C0 02 98 18 */ lfs f0, lbl_805AB538@sda21(r2) -/* 8012307C 0011FFDC EF FF 00 2A */ fadds f31, f31, f0 -lbl_80123080: -/* 80123080 0011FFE0 28 00 00 00 */ cmplwi r0, 0 -/* 80123084 0011FFE4 40 82 00 08 */ bne lbl_8012308C -/* 80123088 0011FFE8 3A E0 00 01 */ li r23, 1 -lbl_8012308C: -/* 8012308C 0011FFEC FC 1F F0 40 */ fcmpo cr0, f31, f30 -/* 80123090 0011FFF0 40 80 00 14 */ bge lbl_801230A4 -/* 80123094 0011FFF4 56 E0 06 3F */ clrlwi. r0, r23, 0x18 -/* 80123098 0011FFF8 FF C0 F8 90 */ fmr f30, f31 -/* 8012309C 0011FFFC 7F DC F3 78 */ mr r28, r30 -/* 801230A0 00120000 40 82 00 28 */ bne lbl_801230C8 -lbl_801230A4: -/* 801230A4 00120004 2C 1B FF FF */ cmpwi r27, -1 -/* 801230A8 00120008 41 82 00 14 */ beq lbl_801230BC -/* 801230AC 0012000C 57 63 18 38 */ slwi r3, r27, 3 -/* 801230B0 00120010 38 03 00 08 */ addi r0, r3, 8 -/* 801230B4 00120014 7F 7F 02 AE */ lhax r27, r31, r0 -/* 801230B8 00120018 48 00 00 08 */ b lbl_801230C0 -lbl_801230BC: -/* 801230BC 0012001C 3B 60 FF FF */ li r27, -1 -lbl_801230C0: -/* 801230C0 00120020 2C 1B FF FF */ cmpwi r27, -1 -/* 801230C4 00120024 40 82 FD 94 */ bne lbl_80122E58 -lbl_801230C8: -/* 801230C8 00120028 28 1C 00 00 */ cmplwi r28, 0 -/* 801230CC 0012002C 41 82 00 84 */ beq lbl_80123150 -/* 801230D0 00120030 A0 1C 01 0C */ lhz r0, 0x10c(r28) -/* 801230D4 00120034 7F 43 D3 78 */ mr r3, r26 -/* 801230D8 00120038 38 81 00 0C */ addi r4, r1, 0xc -/* 801230DC 0012003C B0 01 00 08 */ sth r0, 8(r1) -/* 801230E0 00120040 B0 01 00 0C */ sth r0, 0xc(r1) -/* 801230E4 00120044 4B F2 94 C1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 801230E8 00120048 7C 64 1B 78 */ mr r4, r3 -/* 801230EC 0012004C 38 61 00 20 */ addi r3, r1, 0x20 -/* 801230F0 00120050 4B F8 34 5D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 801230F4 00120054 83 03 00 04 */ lwz r24, 4(r3) -/* 801230F8 00120058 28 18 00 00 */ cmplwi r24, 0 -/* 801230FC 0012005C 41 82 00 54 */ beq lbl_80123150 -/* 80123100 00120060 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 80123104 00120064 7F 23 CB 78 */ mr r3, r25 -/* 80123108 00120068 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 8012310C 0012006C 38 81 00 38 */ addi r4, r1, 0x38 -/* 80123110 00120070 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 80123114 00120074 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80123118 00120078 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8012311C 0012007C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80123120 00120080 4B F5 9A 3D */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80123124 00120084 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80123128 00120088 3B A0 00 01 */ li r29, 1 -/* 8012312C 0012008C B0 19 08 40 */ sth r0, 0x840(r25) -/* 80123130 00120090 C0 1C 00 E8 */ lfs f0, 0xe8(r28) -/* 80123134 00120094 D0 19 08 24 */ stfs f0, 0x824(r25) -/* 80123138 00120098 C0 58 00 60 */ lfs f2, 0x60(r24) -/* 8012313C 0012009C C0 38 00 50 */ lfs f1, 0x50(r24) -/* 80123140 001200A0 C0 18 00 40 */ lfs f0, 0x40(r24) -/* 80123144 001200A4 D0 19 08 28 */ stfs f0, 0x828(r25) -/* 80123148 001200A8 D0 39 08 2C */ stfs f1, 0x82c(r25) -/* 8012314C 001200AC D0 59 08 30 */ stfs f2, 0x830(r25) -lbl_80123150: -/* 80123150 001200B0 7F A3 EB 78 */ mr r3, r29 -/* 80123154 001200B4 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80123158 001200B8 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 8012315C 001200BC E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80123160 001200C0 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80123164 001200C4 BA E1 00 8C */ lmw r23, 0x8c(r1) -/* 80123168 001200C8 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 8012316C 001200CC 7C 08 03 A6 */ mtlr r0 -/* 80123170 001200D0 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 80123174 001200D4 4E 80 00 20 */ blr - -.global BreakAttack__12CSpacePirateFR13CStateManagerf -BreakAttack__12CSpacePirateFR13CStateManagerf: -/* 80123178 001200D8 88 03 06 35 */ lbz r0, 0x635(r3) -/* 8012317C 001200DC 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f -/* 80123180 001200E0 4E 80 00 20 */ blr - -.global StartAttack__12CSpacePirateFR13CStateManagerf -StartAttack__12CSpacePirateFR13CStateManagerf: -/* 80123184 001200E4 88 83 06 38 */ lbz r4, 0x638(r3) -/* 80123188 001200E8 54 80 07 FF */ clrlwi. r0, r4, 0x1f -/* 8012318C 001200EC 41 82 00 18 */ beq lbl_801231A4 -/* 80123190 001200F0 38 00 00 00 */ li r0, 0 -/* 80123194 001200F4 50 04 07 FE */ rlwimi r4, r0, 0, 0x1f, 0x1f -/* 80123198 001200F8 98 83 06 38 */ stb r4, 0x638(r3) -/* 8012319C 001200FC 38 60 00 01 */ li r3, 1 -/* 801231A0 00120100 4E 80 00 20 */ blr -lbl_801231A4: -/* 801231A4 00120104 38 60 00 00 */ li r3, 0 -/* 801231A8 00120108 4E 80 00 20 */ blr - -.global SpecialAttack__12CSpacePirateFR13CStateManager9EStateMsgf -SpecialAttack__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801231AC 0012010C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 801231B0 00120110 7C 08 02 A6 */ mflr r0 -/* 801231B4 00120114 2C 05 00 01 */ cmpwi r5, 1 -/* 801231B8 00120118 90 01 00 44 */ stw r0, 0x44(r1) -/* 801231BC 0012011C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 801231C0 00120120 7C 9F 23 78 */ mr r31, r4 -/* 801231C4 00120124 93 C1 00 38 */ stw r30, 0x38(r1) -/* 801231C8 00120128 7C 7E 1B 78 */ mr r30, r3 -/* 801231CC 0012012C 41 82 00 88 */ beq lbl_80123254 -/* 801231D0 00120130 40 80 00 10 */ bge lbl_801231E0 -/* 801231D4 00120134 2C 05 00 00 */ cmpwi r5, 0 -/* 801231D8 00120138 40 80 00 14 */ bge lbl_801231EC -/* 801231DC 0012013C 48 00 00 DC */ b lbl_801232B8 -lbl_801231E0: -/* 801231E0 00120140 2C 05 00 03 */ cmpwi r5, 3 -/* 801231E4 00120144 40 80 00 D4 */ bge lbl_801232B8 -/* 801231E8 00120148 48 00 00 C8 */ b lbl_801232B0 -lbl_801231EC: -/* 801231EC 0012014C 38 00 00 01 */ li r0, 1 -/* 801231F0 00120150 7F C4 F3 78 */ mr r4, r30 -/* 801231F4 00120154 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 801231F8 00120158 38 61 00 14 */ addi r3, r1, 0x14 -/* 801231FC 0012015C 4B F5 98 D5 */ bl GetGunEyePos__10CPatternedCFv -/* 80123200 00120160 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80123204 00120164 7F E5 FB 78 */ mr r5, r31 -/* 80123208 00120168 38 61 00 20 */ addi r3, r1, 0x20 -/* 8012320C 0012016C C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80123210 00120170 81 84 00 00 */ lwz r12, 0(r4) -/* 80123214 00120174 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80123218 00120178 7D 89 03 A6 */ mtctr r12 -/* 8012321C 0012017C 4E 80 04 21 */ bctrl -/* 80123220 00120180 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80123224 00120184 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80123228 00120188 C0 81 00 24 */ lfs f4, 0x24(r1) -/* 8012322C 0012018C C0 61 00 18 */ lfs f3, 0x18(r1) -/* 80123230 00120190 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80123234 00120194 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80123238 00120198 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8012323C 0012019C EC 64 18 28 */ fsubs f3, f4, f3 -/* 80123240 001201A0 D0 1E 06 48 */ stfs f0, 0x648(r30) -/* 80123244 001201A4 EC 02 08 28 */ fsubs f0, f2, f1 -/* 80123248 001201A8 D0 7E 06 4C */ stfs f3, 0x64c(r30) -/* 8012324C 001201AC D0 1E 06 50 */ stfs f0, 0x650(r30) -/* 80123250 001201B0 48 00 00 68 */ b lbl_801232B8 -lbl_80123254: -/* 80123254 001201B4 3C A0 80 3E */ lis r5, lbl_803E07E8@ha -/* 80123258 001201B8 38 C1 00 08 */ addi r6, r1, 8 -/* 8012325C 001201BC 39 45 07 E8 */ addi r10, r5, lbl_803E07E8@l -/* 80123260 001201C0 38 A0 00 12 */ li r5, 0x12 -/* 80123264 001201C4 81 2A 00 00 */ lwz r9, 0(r10) -/* 80123268 001201C8 38 E0 00 01 */ li r7, 1 -/* 8012326C 001201CC 81 0A 00 04 */ lwz r8, 4(r10) -/* 80123270 001201D0 80 0A 00 08 */ lwz r0, 8(r10) -/* 80123274 001201D4 91 21 00 08 */ stw r9, 8(r1) -/* 80123278 001201D8 91 01 00 0C */ stw r8, 0xc(r1) -/* 8012327C 001201DC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80123280 001201E0 4B F5 95 35 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80123284 001201E4 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80123288 001201E8 2C 00 00 01 */ cmpwi r0, 1 -/* 8012328C 001201EC 40 82 00 2C */ bne lbl_801232B8 -/* 80123290 001201F0 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80123294 001201F4 C0 1E 06 48 */ lfs f0, 0x648(r30) -/* 80123298 001201F8 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8012329C 001201FC C0 1E 06 4C */ lfs f0, 0x64c(r30) -/* 801232A0 00120200 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 801232A4 00120204 C0 1E 06 50 */ lfs f0, 0x650(r30) -/* 801232A8 00120208 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 801232AC 0012020C 48 00 00 0C */ b lbl_801232B8 -lbl_801232B0: -/* 801232B0 00120210 38 00 00 00 */ li r0, 0 -/* 801232B4 00120214 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_801232B8: -/* 801232B8 00120218 80 01 00 44 */ lwz r0, 0x44(r1) -/* 801232BC 0012021C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 801232C0 00120220 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 801232C4 00120224 7C 08 03 A6 */ mtlr r0 -/* 801232C8 00120228 38 21 00 40 */ addi r1, r1, 0x40 -/* 801232CC 0012022C 4E 80 00 20 */ blr - -.global LostInterest__12CSpacePirateFR13CStateManagerf -LostInterest__12CSpacePirateFR13CStateManagerf: -/* 801232D0 00120230 88 03 06 34 */ lbz r0, 0x634(r3) -/* 801232D4 00120234 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 801232D8 00120238 41 82 00 1C */ beq lbl_801232F4 -/* 801232DC 0012023C C0 23 07 BC */ lfs f1, 0x7bc(r3) -/* 801232E0 00120240 C0 02 98 0C */ lfs f0, lbl_805AB52C@sda21(r2) -/* 801232E4 00120244 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801232E8 00120248 40 80 00 0C */ bge lbl_801232F4 -/* 801232EC 0012024C 38 60 00 01 */ li r3, 1 -/* 801232F0 00120250 4E 80 00 20 */ blr -lbl_801232F4: -/* 801232F4 00120254 38 60 00 00 */ li r3, 0 -/* 801232F8 00120258 4E 80 00 20 */ blr - -.global ShouldSpecialAttack__12CSpacePirateFR13CStateManagerf -ShouldSpecialAttack__12CSpacePirateFR13CStateManagerf: -/* 801232FC 0012025C 88 03 06 34 */ lbz r0, 0x634(r3) -/* 80123300 00120260 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80123304 00120264 41 82 00 28 */ beq lbl_8012332C -/* 80123308 00120268 80 03 07 DC */ lwz r0, 0x7dc(r3) -/* 8012330C 0012026C 28 00 00 00 */ cmplwi r0, 0 -/* 80123310 00120270 40 82 00 1C */ bne lbl_8012332C -/* 80123314 00120274 C0 23 07 BC */ lfs f1, 0x7bc(r3) -/* 80123318 00120278 C0 02 97 DC */ lfs f0, lbl_805AB4FC@sda21(r2) -/* 8012331C 0012027C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80123320 00120280 40 81 00 0C */ ble lbl_8012332C -/* 80123324 00120284 38 60 00 01 */ li r3, 1 -/* 80123328 00120288 4E 80 00 20 */ blr -lbl_8012332C: -/* 8012332C 0012028C 38 60 00 00 */ li r3, 0 -/* 80123330 00120290 4E 80 00 20 */ blr - -.global JumpBack__12CSpacePirateFR13CStateManager9EStateMsgf -JumpBack__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80123334 00120294 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80123338 00120298 7C 08 02 A6 */ mflr r0 -/* 8012333C 0012029C 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80123340 001202A0 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 80123344 001202A4 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80123348 001202A8 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8012334C 001202AC F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 80123350 001202B0 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 80123354 001202B4 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 80123358 001202B8 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8012335C 001202BC 93 C1 00 88 */ stw r30, 0x88(r1) -/* 80123360 001202C0 93 A1 00 84 */ stw r29, 0x84(r1) -/* 80123364 001202C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80123368 001202C8 7C 7E 1B 78 */ mr r30, r3 -/* 8012336C 001202CC 7C 9F 23 78 */ mr r31, r4 -/* 80123370 001202D0 7C BD 2B 78 */ mr r29, r5 -/* 80123374 001202D4 81 8C 01 F0 */ lwz r12, 0x1f0(r12) -/* 80123378 001202D8 7D 89 03 A6 */ mtctr r12 -/* 8012337C 001202DC 4E 80 04 21 */ bctrl -/* 80123380 001202E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80123384 001202E4 41 82 03 80 */ beq lbl_80123704 -/* 80123388 001202E8 2C 1D 00 01 */ cmpwi r29, 1 -/* 8012338C 001202EC 41 82 02 50 */ beq lbl_801235DC -/* 80123390 001202F0 40 80 00 10 */ bge lbl_801233A0 -/* 80123394 001202F4 2C 1D 00 00 */ cmpwi r29, 0 -/* 80123398 001202F8 40 80 00 14 */ bge lbl_801233AC -/* 8012339C 001202FC 48 00 03 68 */ b lbl_80123704 -lbl_801233A0: -/* 801233A0 00120300 2C 1D 00 03 */ cmpwi r29, 3 -/* 801233A4 00120304 40 80 03 60 */ bge lbl_80123704 -/* 801233A8 00120308 48 00 03 34 */ b lbl_801236DC -lbl_801233AC: -/* 801233AC 0012030C 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 801233B0 00120310 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 801233B4 00120314 40 82 03 50 */ bne lbl_80123704 -/* 801233B8 00120318 C0 BE 00 58 */ lfs f5, 0x58(r30) -/* 801233BC 0012031C 7F C3 F3 78 */ mr r3, r30 -/* 801233C0 00120320 C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 801233C4 00120324 7F E4 FB 78 */ mr r4, r31 -/* 801233C8 00120328 C0 9E 00 38 */ lfs f4, 0x38(r30) -/* 801233CC 0012032C FC 00 28 50 */ fneg f0, f5 -/* 801233D0 00120330 FC 40 08 50 */ fneg f2, f1 -/* 801233D4 00120334 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 801233D8 00120338 FC 60 20 50 */ fneg f3, f4 -/* 801233DC 0012033C C0 22 98 1C */ lfs f1, lbl_805AB53C@sda21(r2) -/* 801233E0 00120340 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 801233E4 00120344 38 A1 00 60 */ addi r5, r1, 0x60 -/* 801233E8 00120348 D0 A1 00 5C */ stfs f5, 0x5c(r1) -/* 801233EC 0012034C D0 61 00 60 */ stfs f3, 0x60(r1) -/* 801233F0 00120350 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 801233F4 00120354 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 801233F8 00120358 48 00 55 41 */ bl CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff -/* 801233FC 0012035C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80123400 00120360 40 82 03 04 */ bne lbl_80123704 -/* 80123404 00120364 7F C3 F3 78 */ mr r3, r30 -/* 80123408 00120368 81 9E 00 00 */ lwz r12, 0(r30) -/* 8012340C 0012036C 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80123410 00120370 7D 89 03 A6 */ mtctr r12 -/* 80123414 00120374 4E 80 04 21 */ bctrl -/* 80123418 00120378 C3 E3 00 D0 */ lfs f31, 0xd0(r3) -/* 8012341C 0012037C 7F C3 F3 78 */ mr r3, r30 -/* 80123420 00120380 C0 02 98 1C */ lfs f0, lbl_805AB53C@sda21(r2) -/* 80123424 00120384 C0 A2 98 20 */ lfs f5, lbl_805AB540@sda21(r2) -/* 80123428 00120388 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8012342C 0012038C D0 1E 07 30 */ stfs f0, 0x730(r30) -/* 80123430 00120390 C0 5E 00 48 */ lfs f2, 0x48(r30) -/* 80123434 00120394 C0 3E 00 58 */ lfs f1, 0x58(r30) -/* 80123438 00120398 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 8012343C 0012039C EC 85 00 B2 */ fmuls f4, f5, f2 -/* 80123440 001203A0 C0 DE 00 50 */ lfs f6, 0x50(r30) -/* 80123444 001203A4 EC 45 00 72 */ fmuls f2, f5, f1 -/* 80123448 001203A8 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 8012344C 001203AC EC 05 00 32 */ fmuls f0, f5, f0 -/* 80123450 001203B0 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80123454 001203B4 EC 86 20 2A */ fadds f4, f6, f4 -/* 80123458 001203B8 EC 43 10 2A */ fadds f2, f3, f2 -/* 8012345C 001203BC D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80123460 001203C0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80123464 001203C4 D0 81 00 70 */ stfs f4, 0x70(r1) -/* 80123468 001203C8 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8012346C 001203CC D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80123470 001203D0 D0 C1 00 4C */ stfs f6, 0x4c(r1) -/* 80123474 001203D4 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 80123478 001203D8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8012347C 001203DC 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80123480 001203E0 7D 89 03 A6 */ mtctr r12 -/* 80123484 001203E4 4E 80 04 21 */ bctrl -/* 80123488 001203E8 38 81 00 48 */ addi r4, r1, 0x48 -/* 8012348C 001203EC 38 A1 00 6C */ addi r5, r1, 0x6c -/* 80123490 001203F0 48 0A 47 DD */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f -/* 80123494 001203F4 2C 03 00 00 */ cmpwi r3, 0 -/* 80123498 001203F8 40 82 01 28 */ bne lbl_801235C0 -/* 8012349C 001203FC 7F C3 F3 78 */ mr r3, r30 -/* 801234A0 00120400 81 9E 00 00 */ lwz r12, 0(r30) -/* 801234A4 00120404 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 801234A8 00120408 7D 89 03 A6 */ mtctr r12 -/* 801234AC 0012040C 4E 80 04 21 */ bctrl -/* 801234B0 00120410 38 83 00 04 */ addi r4, r3, 4 -/* 801234B4 00120414 C0 81 00 70 */ lfs f4, 0x70(r1) -/* 801234B8 00120418 80 63 00 04 */ lwz r3, 4(r3) -/* 801234BC 0012041C C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 801234C0 00120420 38 03 FF FF */ addi r0, r3, -1 -/* 801234C4 00120424 C0 61 00 74 */ lfs f3, 0x74(r1) -/* 801234C8 00120428 1C 00 00 0C */ mulli r0, r0, 0xc -/* 801234CC 0012042C C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) -/* 801234D0 00120430 7C 64 02 14 */ add r3, r4, r0 -/* 801234D4 00120434 C0 A3 00 08 */ lfs f5, 8(r3) -/* 801234D8 00120438 C0 43 00 04 */ lfs f2, 4(r3) -/* 801234DC 0012043C EC C5 20 28 */ fsubs f6, f5, f4 -/* 801234E0 00120440 C0 A3 00 0C */ lfs f5, 0xc(r3) -/* 801234E4 00120444 EC 82 08 28 */ fsubs f4, f2, f1 -/* 801234E8 00120448 EC A5 18 28 */ fsubs f5, f5, f3 -/* 801234EC 0012044C EC 26 01 B2 */ fmuls f1, f6, f6 -/* 801234F0 00120450 D0 C1 00 40 */ stfs f6, 0x40(r1) -/* 801234F4 00120454 EC 44 01 32 */ fmuls f2, f4, f4 -/* 801234F8 00120458 EC 65 01 72 */ fmuls f3, f5, f5 -/* 801234FC 0012045C D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 80123500 00120460 EC 22 08 2A */ fadds f1, f2, f1 -/* 80123504 00120464 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 80123508 00120468 EC 23 08 2A */ fadds f1, f3, f1 -/* 8012350C 0012046C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80123510 00120470 40 80 00 B0 */ bge lbl_801235C0 -/* 80123514 00120474 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80123518 00120478 7F C3 F3 78 */ mr r3, r30 -/* 8012351C 0012047C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80123520 00120480 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80123524 00120484 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80123528 00120488 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8012352C 0012048C D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80123530 00120490 81 9E 00 00 */ lwz r12, 0(r30) -/* 80123534 00120494 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80123538 00120498 7D 89 03 A6 */ mtctr r12 -/* 8012353C 0012049C 4E 80 04 21 */ bctrl -/* 80123540 001204A0 38 81 00 30 */ addi r4, r1, 0x30 -/* 80123544 001204A4 48 0A 85 2D */ bl RemainingPathDistance__15CPathFindSearchCFR9CVector3f -/* 80123548 001204A8 C0 42 98 20 */ lfs f2, lbl_805AB540@sda21(r2) -/* 8012354C 001204AC C0 02 98 28 */ lfs f0, lbl_805AB548@sda21(r2) -/* 80123550 001204B0 EC 21 10 28 */ fsubs f1, f1, f2 -/* 80123554 001204B4 FC 20 0A 10 */ fabs f1, f1 -/* 80123558 001204B8 FC 20 08 18 */ frsp f1, f1 -/* 8012355C 001204BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80123560 001204C0 40 80 00 60 */ bge lbl_801235C0 -/* 80123564 001204C4 7F C3 F3 78 */ mr r3, r30 -/* 80123568 001204C8 81 9E 00 00 */ lwz r12, 0(r30) -/* 8012356C 001204CC 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80123570 001204D0 7D 89 03 A6 */ mtctr r12 -/* 80123574 001204D4 4E 80 04 21 */ bctrl -/* 80123578 001204D8 38 A3 00 04 */ addi r5, r3, 4 -/* 8012357C 001204DC C0 02 98 1C */ lfs f0, lbl_805AB53C@sda21(r2) -/* 80123580 001204E0 80 83 00 04 */ lwz r4, 4(r3) -/* 80123584 001204E4 38 60 00 01 */ li r3, 1 -/* 80123588 001204E8 38 04 FF FF */ addi r0, r4, -1 -/* 8012358C 001204EC 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80123590 001204F0 7C 85 02 14 */ add r4, r5, r0 -/* 80123594 001204F4 C0 24 00 04 */ lfs f1, 4(r4) -/* 80123598 001204F8 D0 3E 08 28 */ stfs f1, 0x828(r30) -/* 8012359C 001204FC C0 24 00 08 */ lfs f1, 8(r4) -/* 801235A0 00120500 D0 3E 08 2C */ stfs f1, 0x82c(r30) -/* 801235A4 00120504 C0 24 00 0C */ lfs f1, 0xc(r4) -/* 801235A8 00120508 D0 3E 08 30 */ stfs f1, 0x830(r30) -/* 801235AC 0012050C D0 1E 08 24 */ stfs f0, 0x824(r30) -/* 801235B0 00120510 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 801235B4 00120514 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 801235B8 00120518 98 1E 06 39 */ stb r0, 0x639(r30) -/* 801235BC 0012051C 90 7E 03 2C */ stw r3, 0x32c(r30) -lbl_801235C0: -/* 801235C0 00120520 7F C3 F3 78 */ mr r3, r30 -/* 801235C4 00120524 81 9E 00 00 */ lwz r12, 0(r30) -/* 801235C8 00120528 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 801235CC 0012052C 7D 89 03 A6 */ mtctr r12 -/* 801235D0 00120530 4E 80 04 21 */ bctrl -/* 801235D4 00120534 D3 E3 00 D0 */ stfs f31, 0xd0(r3) -/* 801235D8 00120538 48 00 01 2C */ b lbl_80123704 -lbl_801235DC: -/* 801235DC 0012053C 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 801235E0 00120540 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801235E4 00120544 40 82 00 BC */ bne lbl_801236A0 -/* 801235E8 00120548 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801235EC 0012054C 38 C0 00 01 */ li r6, 1 -/* 801235F0 00120550 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801235F4 00120554 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 801235F8 00120558 3C 80 80 3E */ lis r4, lbl_803DA9E4@ha -/* 801235FC 0012055C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80123600 00120560 38 A4 A9 E4 */ addi r5, r4, lbl_803DA9E4@l -/* 80123604 00120564 38 00 00 00 */ li r0, 0 -/* 80123608 00120568 3B A3 00 04 */ addi r29, r3, 4 -/* 8012360C 0012056C 90 C1 00 24 */ stw r6, 0x24(r1) -/* 80123610 00120570 7F A3 EB 78 */ mr r3, r29 -/* 80123614 00120574 38 80 00 01 */ li r4, 1 -/* 80123618 00120578 90 A1 00 20 */ stw r5, 0x20(r1) -/* 8012361C 0012057C 90 C1 00 28 */ stw r6, 0x28(r1) -/* 80123620 00120580 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80123624 00120584 48 00 DE 15 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80123628 00120588 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8012362C 0012058C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 80123630 00120590 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l -/* 80123634 00120594 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80123638 00120598 90 1D 00 C8 */ stw r0, 0xc8(r29) -/* 8012363C 0012059C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80123640 001205A0 80 61 00 28 */ lwz r3, 0x28(r1) -/* 80123644 001205A4 7F C4 F3 78 */ mr r4, r30 -/* 80123648 001205A8 80 E1 00 2C */ lwz r7, 0x2c(r1) -/* 8012364C 001205AC 7F E5 FB 78 */ mr r5, r31 -/* 80123650 001205B0 90 7D 00 CC */ stw r3, 0xcc(r29) -/* 80123654 001205B4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80123658 001205B8 90 FD 00 D0 */ stw r7, 0xd0(r29) -/* 8012365C 001205BC 90 C1 00 20 */ stw r6, 0x20(r1) -/* 80123660 001205C0 C3 BE 00 60 */ lfs f29, 0x60(r30) -/* 80123664 001205C4 90 01 00 20 */ stw r0, 0x20(r1) -/* 80123668 001205C8 C3 DE 00 50 */ lfs f30, 0x50(r30) -/* 8012366C 001205CC C3 FE 00 40 */ lfs f31, 0x40(r30) -/* 80123670 001205D0 48 00 4D D5 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 80123674 001205D4 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80123678 001205D8 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8012367C 001205DC EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80123680 001205E0 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80123684 001205E4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80123688 001205E8 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 8012368C 001205EC EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80123690 001205F0 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80123694 001205F4 D0 43 00 20 */ stfs f2, 0x20(r3) -/* 80123698 001205F8 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 8012369C 001205FC 48 00 00 68 */ b lbl_80123704 -lbl_801236A0: -/* 801236A0 00120600 3C 80 80 3E */ lis r4, lbl_803E07DC@ha -/* 801236A4 00120604 7F C3 F3 78 */ mr r3, r30 -/* 801236A8 00120608 38 E4 07 DC */ addi r7, r4, lbl_803E07DC@l -/* 801236AC 0012060C 7F E4 FB 78 */ mr r4, r31 -/* 801236B0 00120610 81 27 00 00 */ lwz r9, 0(r7) -/* 801236B4 00120614 38 C1 00 08 */ addi r6, r1, 8 -/* 801236B8 00120618 81 07 00 04 */ lwz r8, 4(r7) -/* 801236BC 0012061C 38 A0 00 0D */ li r5, 0xd -/* 801236C0 00120620 80 07 00 08 */ lwz r0, 8(r7) -/* 801236C4 00120624 38 E0 00 00 */ li r7, 0 -/* 801236C8 00120628 91 21 00 08 */ stw r9, 8(r1) -/* 801236CC 0012062C 91 01 00 0C */ stw r8, 0xc(r1) -/* 801236D0 00120630 90 01 00 10 */ stw r0, 0x10(r1) -/* 801236D4 00120634 4B F5 90 E1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 801236D8 00120638 48 00 00 2C */ b lbl_80123704 -lbl_801236DC: -/* 801236DC 0012063C 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 801236E0 00120640 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801236E4 00120644 41 82 00 18 */ beq lbl_801236FC -/* 801236E8 00120648 38 60 00 00 */ li r3, 0 -/* 801236EC 0012064C 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 801236F0 00120650 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 801236F4 00120654 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 801236F8 00120658 98 1E 06 39 */ stb r0, 0x639(r30) -lbl_801236FC: -/* 801236FC 0012065C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80123700 00120660 D0 1E 08 D8 */ stfs f0, 0x8d8(r30) -lbl_80123704: -/* 80123704 00120664 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80123708 00120668 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8012370C 0012066C E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 80123710 00120670 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 80123714 00120674 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 80123718 00120678 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 8012371C 0012067C 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 80123720 00120680 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 80123724 00120684 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80123728 00120688 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8012372C 0012068C 7C 08 03 A6 */ mtlr r0 -/* 80123730 00120690 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80123734 00120694 4E 80 00 20 */ blr - -.global ShouldJumpBack__12CSpacePirateFR13CStateManagerf -ShouldJumpBack__12CSpacePirateFR13CStateManagerf: -/* 80123738 00120698 88 03 06 34 */ lbz r0, 0x634(r3) -/* 8012373C 0012069C 38 80 00 00 */ li r4, 0 -/* 80123740 001206A0 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80123744 001206A4 41 82 00 14 */ beq lbl_80123758 -/* 80123748 001206A8 C0 23 08 D8 */ lfs f1, 0x8d8(r3) -/* 8012374C 001206AC C0 02 98 04 */ lfs f0, lbl_805AB524@sda21(r2) -/* 80123750 001206B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80123754 001206B4 40 81 00 08 */ ble lbl_8012375C -lbl_80123758: -/* 80123758 001206B8 38 80 00 01 */ li r4, 1 -lbl_8012375C: -/* 8012375C 001206BC 7C 83 23 78 */ mr r3, r4 -/* 80123760 001206C0 4E 80 00 20 */ blr - -.global AnimOver__12CSpacePirateFR13CStateManagerf -AnimOver__12CSpacePirateFR13CStateManagerf: -/* 80123764 001206C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80123768 001206C8 7C 08 02 A6 */ mflr r0 -/* 8012376C 001206CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80123770 001206D0 88 03 06 37 */ lbz r0, 0x637(r3) -/* 80123774 001206D4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80123778 001206D8 41 82 00 20 */ beq lbl_80123798 -/* 8012377C 001206DC 80 63 04 50 */ lwz r3, 0x450(r3) -/* 80123780 001206E0 80 83 02 B8 */ lwz r4, 0x2b8(r3) -/* 80123784 001206E4 20 64 00 14 */ subfic r3, r4, 0x14 -/* 80123788 001206E8 38 04 FF EC */ addi r0, r4, -20 -/* 8012378C 001206EC 7C 60 03 78 */ or r0, r3, r0 -/* 80123790 001206F0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80123794 001206F4 48 00 00 08 */ b lbl_8012379C -lbl_80123798: -/* 80123798 001206F8 48 0D 23 DD */ bl AnimOver__10CPatternedFR13CStateManagerf -lbl_8012379C: -/* 8012379C 001206FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801237A0 00120700 7C 08 03 A6 */ mtlr r0 -/* 801237A4 00120704 38 21 00 10 */ addi r1, r1, 0x10 -/* 801237A8 00120708 4E 80 00 20 */ blr - -.global WallDetach__12CSpacePirateFR13CStateManager9EStateMsgf -WallDetach__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801237AC 0012070C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801237B0 00120710 7C 08 02 A6 */ mflr r0 -/* 801237B4 00120714 2C 05 00 01 */ cmpwi r5, 1 -/* 801237B8 00120718 90 01 00 14 */ stw r0, 0x14(r1) -/* 801237BC 0012071C 41 82 00 34 */ beq lbl_801237F0 -/* 801237C0 00120720 40 80 00 10 */ bge lbl_801237D0 -/* 801237C4 00120724 2C 05 00 00 */ cmpwi r5, 0 -/* 801237C8 00120728 40 80 00 14 */ bge lbl_801237DC -/* 801237CC 0012072C 48 00 00 68 */ b lbl_80123834 -lbl_801237D0: -/* 801237D0 00120730 2C 05 00 03 */ cmpwi r5, 3 -/* 801237D4 00120734 40 80 00 60 */ bge lbl_80123834 -/* 801237D8 00120738 48 00 00 4C */ b lbl_80123824 -lbl_801237DC: -/* 801237DC 0012073C 88 03 06 37 */ lbz r0, 0x637(r3) -/* 801237E0 00120740 38 80 00 01 */ li r4, 1 -/* 801237E4 00120744 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 801237E8 00120748 98 03 06 37 */ stb r0, 0x637(r3) -/* 801237EC 0012074C 48 00 00 48 */ b lbl_80123834 -lbl_801237F0: -/* 801237F0 00120750 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 801237F4 00120754 38 00 00 0A */ li r0, 0xa -/* 801237F8 00120758 38 A4 AA 68 */ addi r5, r4, lbl_803DAA68@l -/* 801237FC 0012075C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80123800 00120760 38 81 00 08 */ addi r4, r1, 8 -/* 80123804 00120764 90 A1 00 08 */ stw r5, 8(r1) -/* 80123808 00120768 80 63 04 50 */ lwz r3, 0x450(r3) -/* 8012380C 0012076C 38 63 00 04 */ addi r3, r3, 4 -/* 80123810 00120770 48 00 DF A9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 80123814 00120774 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80123818 00120778 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8012381C 0012077C 90 01 00 08 */ stw r0, 8(r1) -/* 80123820 00120780 48 00 00 14 */ b lbl_80123834 -lbl_80123824: -/* 80123824 00120784 88 03 06 37 */ lbz r0, 0x637(r3) -/* 80123828 00120788 38 80 00 00 */ li r4, 0 -/* 8012382C 0012078C 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80123830 00120790 98 03 06 37 */ stb r0, 0x637(r3) -lbl_80123834: -/* 80123834 00120794 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80123838 00120798 7C 08 03 A6 */ mtlr r0 -/* 8012383C 0012079C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80123840 001207A0 4E 80 00 20 */ blr - -.global WallHang__12CSpacePirateFR13CStateManager9EStateMsgf -WallHang__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80123844 001207A4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80123848 001207A8 7C 08 02 A6 */ mflr r0 -/* 8012384C 001207AC 2C 05 00 01 */ cmpwi r5, 1 -/* 80123850 001207B0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80123854 001207B4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80123858 001207B8 7C 9F 23 78 */ mr r31, r4 -/* 8012385C 001207BC 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80123860 001207C0 7C 7E 1B 78 */ mr r30, r3 -/* 80123864 001207C4 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80123868 001207C8 93 81 00 30 */ stw r28, 0x30(r1) -/* 8012386C 001207CC 41 82 01 30 */ beq lbl_8012399C -/* 80123870 001207D0 40 80 00 10 */ bge lbl_80123880 -/* 80123874 001207D4 2C 05 00 00 */ cmpwi r5, 0 -/* 80123878 001207D8 40 80 00 14 */ bge lbl_8012388C -/* 8012387C 001207DC 48 00 01 AC */ b lbl_80123A28 -lbl_80123880: -/* 80123880 001207E0 2C 05 00 03 */ cmpwi r5, 3 -/* 80123884 001207E4 40 80 01 A4 */ bge lbl_80123A28 -/* 80123888 001207E8 48 00 01 80 */ b lbl_80123A08 -lbl_8012388C: -/* 8012388C 001207EC 38 C0 00 01 */ li r6, 1 -/* 80123890 001207F0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80123894 001207F4 90 DE 03 2C */ stw r6, 0x32c(r30) -/* 80123898 001207F8 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 8012389C 001207FC 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 801238A0 00120800 98 1E 06 37 */ stb r0, 0x637(r30) -/* 801238A4 00120804 A0 1E 06 40 */ lhz r0, 0x640(r30) -/* 801238A8 00120808 B0 01 00 10 */ sth r0, 0x10(r1) -/* 801238AC 0012080C 4B F5 90 01 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 801238B0 00120810 7C 7D 1B 79 */ or. r29, r3, r3 -/* 801238B4 00120814 41 82 00 D4 */ beq lbl_80123988 -/* 801238B8 00120818 83 9D 00 2C */ lwz r28, 0x2c(r29) -/* 801238BC 0012081C 48 00 00 B4 */ b lbl_80123970 -lbl_801238C0: -/* 801238C0 00120820 80 1C 00 00 */ lwz r0, 0(r28) -/* 801238C4 00120824 2C 00 00 01 */ cmpwi r0, 1 -/* 801238C8 00120828 40 82 00 A4 */ bne lbl_8012396C -/* 801238CC 0012082C 80 1C 00 04 */ lwz r0, 4(r28) -/* 801238D0 00120830 2C 00 00 08 */ cmpwi r0, 8 -/* 801238D4 00120834 40 82 00 98 */ bne lbl_8012396C -/* 801238D8 00120838 80 1C 00 08 */ lwz r0, 8(r28) -/* 801238DC 0012083C 7F E4 FB 78 */ mr r4, r31 -/* 801238E0 00120840 38 61 00 0C */ addi r3, r1, 0xc -/* 801238E4 00120844 38 A1 00 18 */ addi r5, r1, 0x18 -/* 801238E8 00120848 90 01 00 18 */ stw r0, 0x18(r1) -/* 801238EC 0012084C 4B F2 46 31 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 801238F0 00120850 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 801238F4 00120854 7F E3 FB 78 */ mr r3, r31 -/* 801238F8 00120858 38 81 00 08 */ addi r4, r1, 8 -/* 801238FC 0012085C B0 01 00 14 */ sth r0, 0x14(r1) -/* 80123900 00120860 B0 01 00 08 */ sth r0, 8(r1) -/* 80123904 00120864 4B F2 8C 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80123908 00120868 7C 64 1B 78 */ mr r4, r3 -/* 8012390C 0012086C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80123910 00120870 4B F8 2C 3D */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80123914 00120874 80 83 00 04 */ lwz r4, 4(r3) -/* 80123918 00120878 28 04 00 00 */ cmplwi r4, 0 -/* 8012391C 0012087C 41 82 00 50 */ beq lbl_8012396C -/* 80123920 00120880 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80123924 00120884 38 60 00 00 */ li r3, 0 -/* 80123928 00120888 B0 1E 02 DC */ sth r0, 0x2dc(r30) -/* 8012392C 0012088C C0 44 00 60 */ lfs f2, 0x60(r4) -/* 80123930 00120890 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80123934 00120894 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80123938 00120898 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) -/* 8012393C 0012089C D0 3E 02 E4 */ stfs f1, 0x2e4(r30) -/* 80123940 001208A0 D0 5E 02 E8 */ stfs f2, 0x2e8(r30) -/* 80123944 001208A4 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80123948 001208A8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8012394C 001208AC C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80123950 001208B0 D0 1E 02 EC */ stfs f0, 0x2ec(r30) -/* 80123954 001208B4 D0 3E 02 F0 */ stfs f1, 0x2f0(r30) -/* 80123958 001208B8 D0 5E 02 F4 */ stfs f2, 0x2f4(r30) -/* 8012395C 001208BC 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 80123960 001208C0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80123964 001208C4 98 1E 03 28 */ stb r0, 0x328(r30) -/* 80123968 001208C8 48 00 00 20 */ b lbl_80123988 -lbl_8012396C: -/* 8012396C 001208CC 3B 9C 00 0C */ addi r28, r28, 0xc -lbl_80123970: -/* 80123970 001208D0 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 80123974 001208D4 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 80123978 001208D8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8012397C 001208DC 7C 03 02 14 */ add r0, r3, r0 -/* 80123980 001208E0 7C 1C 00 40 */ cmplw r28, r0 -/* 80123984 001208E4 40 82 FF 3C */ bne lbl_801238C0 -lbl_80123988: -/* 80123988 001208E8 88 1E 06 36 */ lbz r0, 0x636(r30) -/* 8012398C 001208EC 38 60 00 01 */ li r3, 1 -/* 80123990 001208F0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80123994 001208F4 98 1E 06 36 */ stb r0, 0x636(r30) -/* 80123998 001208F8 48 00 00 90 */ b lbl_80123A28 -lbl_8012399C: -/* 8012399C 001208FC 3C A0 80 3E */ lis r5, lbl_803E07D0@ha -/* 801239A0 00120900 38 C1 00 24 */ addi r6, r1, 0x24 -/* 801239A4 00120904 39 45 07 D0 */ addi r10, r5, lbl_803E07D0@l -/* 801239A8 00120908 38 A0 00 14 */ li r5, 0x14 -/* 801239AC 0012090C 81 2A 00 00 */ lwz r9, 0(r10) -/* 801239B0 00120910 38 E0 00 00 */ li r7, 0 -/* 801239B4 00120914 81 0A 00 04 */ lwz r8, 4(r10) -/* 801239B8 00120918 80 0A 00 08 */ lwz r0, 8(r10) -/* 801239BC 0012091C 91 21 00 24 */ stw r9, 0x24(r1) -/* 801239C0 00120920 91 01 00 28 */ stw r8, 0x28(r1) -/* 801239C4 00120924 90 01 00 2C */ stw r0, 0x2c(r1) -/* 801239C8 00120928 4B F5 8D ED */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 801239CC 0012092C 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 801239D0 00120930 38 00 00 01 */ li r0, 1 -/* 801239D4 00120934 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 801239D8 00120938 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 801239DC 0012093C C0 63 00 50 */ lfs f3, 0x50(r3) -/* 801239E0 00120940 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 801239E4 00120944 EC 21 00 28 */ fsubs f1, f1, f0 -/* 801239E8 00120948 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 801239EC 0012094C EC 43 10 28 */ fsubs f2, f3, f2 -/* 801239F0 00120950 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801239F4 00120954 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 801239F8 00120958 D0 43 00 20 */ stfs f2, 0x20(r3) -/* 801239FC 0012095C D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80123A00 00120960 90 1E 07 C4 */ stw r0, 0x7c4(r30) -/* 80123A04 00120964 48 00 00 24 */ b lbl_80123A28 -lbl_80123A08: -/* 80123A08 00120968 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80123A0C 0012096C 38 60 00 00 */ li r3, 0 -/* 80123A10 00120970 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80123A14 00120974 98 1E 06 37 */ stb r0, 0x637(r30) -/* 80123A18 00120978 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 80123A1C 0012097C 88 1E 06 36 */ lbz r0, 0x636(r30) -/* 80123A20 00120980 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80123A24 00120984 98 1E 06 36 */ stb r0, 0x636(r30) -lbl_80123A28: -/* 80123A28 00120988 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80123A2C 0012098C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80123A30 00120990 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80123A34 00120994 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80123A38 00120998 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80123A3C 0012099C 7C 08 03 A6 */ mtlr r0 -/* 80123A40 001209A0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80123A44 001209A4 4E 80 00 20 */ blr - -.global ShouldWallHang__12CSpacePirateFR13CStateManagerf -ShouldWallHang__12CSpacePirateFR13CStateManagerf: -/* 80123A48 001209A8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80123A4C 001209AC 7C 08 02 A6 */ mflr r0 -/* 80123A50 001209B0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80123A54 001209B4 38 A1 00 08 */ addi r5, r1, 8 -/* 80123A58 001209B8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80123A5C 001209BC A0 03 06 40 */ lhz r0, 0x640(r3) -/* 80123A60 001209C0 B0 01 00 08 */ sth r0, 8(r1) -/* 80123A64 001209C4 4B F5 8E 49 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80123A68 001209C8 28 03 00 00 */ cmplwi r3, 0 -/* 80123A6C 001209CC 3B E0 00 00 */ li r31, 0 -/* 80123A70 001209D0 41 82 00 14 */ beq lbl_80123A84 -/* 80123A74 001209D4 48 00 9B 8D */ bl ShouldWallHang__17CScriptCoverPointCFv -/* 80123A78 001209D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80123A7C 001209DC 41 82 00 08 */ beq lbl_80123A84 -/* 80123A80 001209E0 3B E0 00 01 */ li r31, 1 -lbl_80123A84: -/* 80123A84 001209E4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80123A88 001209E8 7F E3 FB 78 */ mr r3, r31 -/* 80123A8C 001209EC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80123A90 001209F0 7C 08 03 A6 */ mtlr r0 -/* 80123A94 001209F4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80123A98 001209F8 4E 80 00 20 */ blr - -.global TargetCover__12CSpacePirateFR13CStateManager9EStateMsgf -TargetCover__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80123A9C 001209FC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80123AA0 00120A00 7C 08 02 A6 */ mflr r0 -/* 80123AA4 00120A04 2C 05 00 00 */ cmpwi r5, 0 -/* 80123AA8 00120A08 90 01 00 24 */ stw r0, 0x24(r1) -/* 80123AAC 00120A0C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80123AB0 00120A10 7C 7F 1B 78 */ mr r31, r3 -/* 80123AB4 00120A14 41 82 00 08 */ beq lbl_80123ABC -/* 80123AB8 00120A18 48 00 00 64 */ b lbl_80123B1C -lbl_80123ABC: -/* 80123ABC 00120A1C A0 1F 06 40 */ lhz r0, 0x640(r31) -/* 80123AC0 00120A20 38 A1 00 08 */ addi r5, r1, 8 -/* 80123AC4 00120A24 B0 01 00 08 */ sth r0, 8(r1) -/* 80123AC8 00120A28 4B F5 8D E5 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80123ACC 00120A2C 28 03 00 00 */ cmplwi r3, 0 -/* 80123AD0 00120A30 41 82 00 24 */ beq lbl_80123AF4 -/* 80123AD4 00120A34 A0 1F 06 40 */ lhz r0, 0x640(r31) -/* 80123AD8 00120A38 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80123ADC 00120A3C C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80123AE0 00120A40 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80123AE4 00120A44 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80123AE8 00120A48 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) -/* 80123AEC 00120A4C D0 3F 02 E4 */ stfs f1, 0x2e4(r31) -/* 80123AF0 00120A50 D0 5F 02 E8 */ stfs f2, 0x2e8(r31) -lbl_80123AF4: -/* 80123AF4 00120A54 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80123AF8 00120A58 38 60 00 00 */ li r3, 0 -/* 80123AFC 00120A5C C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80123B00 00120A60 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80123B04 00120A64 D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 80123B08 00120A68 D0 3F 02 F0 */ stfs f1, 0x2f0(r31) -/* 80123B0C 00120A6C D0 5F 02 F4 */ stfs f2, 0x2f4(r31) -/* 80123B10 00120A70 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 80123B14 00120A74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80123B18 00120A78 98 1F 03 28 */ stb r0, 0x328(r31) -lbl_80123B1C: -/* 80123B1C 00120A7C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80123B20 00120A80 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80123B24 00120A84 7C 08 03 A6 */ mtlr r0 -/* 80123B28 00120A88 38 21 00 20 */ addi r1, r1, 0x20 -/* 80123B2C 00120A8C 4E 80 00 20 */ blr - -.global HasTargetingPoint__12CSpacePirateFR13CStateManagerf -HasTargetingPoint__12CSpacePirateFR13CStateManagerf: -/* 80123B30 00120A90 94 21 F7 60 */ stwu r1, -0x8a0(r1) -/* 80123B34 00120A94 7C 08 02 A6 */ mflr r0 -/* 80123B38 00120A98 90 01 08 A4 */ stw r0, 0x8a4(r1) -/* 80123B3C 00120A9C BF 41 08 88 */ stmw r26, 0x888(r1) -/* 80123B40 00120AA0 7C 9E 23 78 */ mr r30, r4 -/* 80123B44 00120AA4 7C 7D 1B 78 */ mr r29, r3 -/* 80123B48 00120AA8 38 81 00 1C */ addi r4, r1, 0x1c -/* 80123B4C 00120AAC 3B E0 00 01 */ li r31, 1 -/* 80123B50 00120AB0 A0 03 07 C0 */ lhz r0, 0x7c0(r3) -/* 80123B54 00120AB4 7F C3 F3 78 */ mr r3, r30 -/* 80123B58 00120AB8 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80123B5C 00120ABC 4B F2 8A 19 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80123B60 00120AC0 7C 64 1B 78 */ mr r4, r3 -/* 80123B64 00120AC4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80123B68 00120AC8 4B F8 C1 29 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80123B6C 00120ACC 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 80123B70 00120AD0 A0 9D 07 C0 */ lhz r4, 0x7c0(r29) -/* 80123B74 00120AD4 A0 05 00 08 */ lhz r0, 8(r5) -/* 80123B78 00120AD8 80 63 00 04 */ lwz r3, 4(r3) -/* 80123B7C 00120ADC 7C 04 00 40 */ cmplw r4, r0 -/* 80123B80 00120AE0 41 82 00 18 */ beq lbl_80123B98 -/* 80123B84 00120AE4 28 03 00 00 */ cmplwi r3, 0 -/* 80123B88 00120AE8 41 82 00 10 */ beq lbl_80123B98 -/* 80123B8C 00120AEC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80123B90 00120AF0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80123B94 00120AF4 40 82 01 C8 */ bne lbl_80123D5C -lbl_80123B98: -/* 80123B98 00120AF8 A0 05 00 08 */ lhz r0, 8(r5) -/* 80123B9C 00120AFC 38 7D 07 64 */ addi r3, r29, 0x764 -/* 80123BA0 00120B00 38 81 00 18 */ addi r4, r1, 0x18 -/* 80123BA4 00120B04 3B E0 00 00 */ li r31, 0 -/* 80123BA8 00120B08 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80123BAC 00120B0C B0 01 00 18 */ sth r0, 0x18(r1) -/* 80123BB0 00120B10 48 05 16 69 */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 80123BB4 00120B14 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 80123BB8 00120B18 38 61 00 60 */ addi r3, r1, 0x60 -/* 80123BBC 00120B1C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80123BC0 00120B20 38 81 00 3C */ addi r4, r1, 0x3c -/* 80123BC4 00120B24 A0 05 00 08 */ lhz r0, 8(r5) -/* 80123BC8 00120B28 38 A1 00 30 */ addi r5, r1, 0x30 -/* 80123BCC 00120B2C B0 1D 07 C0 */ sth r0, 0x7c0(r29) -/* 80123BD0 00120B30 C0 3D 05 70 */ lfs f1, 0x570(r29) -/* 80123BD4 00120B34 C0 7D 00 50 */ lfs f3, 0x50(r29) -/* 80123BD8 00120B38 EC C1 00 32 */ fmuls f6, f1, f0 -/* 80123BDC 00120B3C C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80123BE0 00120B40 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80123BE4 00120B44 EC A3 30 2A */ fadds f5, f3, f6 -/* 80123BE8 00120B48 EC 82 30 2A */ fadds f4, f2, f6 -/* 80123BEC 00120B4C EC 20 30 2A */ fadds f1, f0, f6 -/* 80123BF0 00120B50 EC 63 30 28 */ fsubs f3, f3, f6 -/* 80123BF4 00120B54 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 80123BF8 00120B58 EC 42 30 28 */ fsubs f2, f2, f6 -/* 80123BFC 00120B5C EC 00 30 28 */ fsubs f0, f0, f6 -/* 80123C00 00120B60 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80123C04 00120B64 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 80123C08 00120B68 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80123C0C 00120B6C D0 61 00 40 */ stfs f3, 0x40(r1) -/* 80123C10 00120B70 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80123C14 00120B74 48 21 48 F5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80123C18 00120B78 38 00 00 00 */ li r0, 0 -/* 80123C1C 00120B7C 80 AD 8A C4 */ lwz r5, lbl_805A7684@sda21(r13) -/* 80123C20 00120B80 90 01 00 78 */ stw r0, 0x78(r1) -/* 80123C24 00120B84 38 60 00 00 */ li r3, 0 -/* 80123C28 00120B88 38 80 00 01 */ li r4, 1 -/* 80123C2C 00120B8C 48 26 62 C9 */ bl __shl2i -/* 80123C30 00120B90 39 20 FF FF */ li r9, -1 -/* 80123C34 00120B94 39 00 00 00 */ li r8, 0 -/* 80123C38 00120B98 38 00 00 02 */ li r0, 2 -/* 80123C3C 00120B9C 90 81 00 54 */ stw r4, 0x54(r1) -/* 80123C40 00120BA0 38 81 00 78 */ addi r4, r1, 0x78 -/* 80123C44 00120BA4 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80123C48 00120BA8 90 61 00 50 */ stw r3, 0x50(r1) -/* 80123C4C 00120BAC 7F C3 F3 78 */ mr r3, r30 -/* 80123C50 00120BB0 38 C1 00 48 */ addi r6, r1, 0x48 -/* 80123C54 00120BB4 38 E0 00 00 */ li r7, 0 -/* 80123C58 00120BB8 91 21 00 4C */ stw r9, 0x4c(r1) -/* 80123C5C 00120BBC 91 01 00 48 */ stw r8, 0x48(r1) -/* 80123C60 00120BC0 90 01 00 58 */ stw r0, 0x58(r1) -/* 80123C64 00120BC4 4B F2 8A BD */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80123C68 00120BC8 3B 81 00 7C */ addi r28, r1, 0x7c -/* 80123C6C 00120BCC 3B 60 00 00 */ li r27, 0 -/* 80123C70 00120BD0 48 00 00 8C */ b lbl_80123CFC -lbl_80123C74: -/* 80123C74 00120BD4 A0 1C 00 00 */ lhz r0, 0(r28) -/* 80123C78 00120BD8 7F C3 F3 78 */ mr r3, r30 -/* 80123C7C 00120BDC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80123C80 00120BE0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80123C84 00120BE4 4B F2 89 21 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80123C88 00120BE8 7C 64 1B 78 */ mr r4, r3 -/* 80123C8C 00120BEC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80123C90 00120BF0 4B F8 3B F9 */ bl "__ct__35TCastToPtr<21CScriptTargetingPoint>FP7CEntity" -/* 80123C94 00120BF4 83 43 00 04 */ lwz r26, 4(r3) -/* 80123C98 00120BF8 28 1A 00 00 */ cmplwi r26, 0 -/* 80123C9C 00120BFC 41 82 00 58 */ beq lbl_80123CF4 -/* 80123CA0 00120C00 88 1A 00 30 */ lbz r0, 0x30(r26) -/* 80123CA4 00120C04 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80123CA8 00120C08 41 82 00 4C */ beq lbl_80123CF4 -/* 80123CAC 00120C0C 80 7A 00 04 */ lwz r3, 4(r26) -/* 80123CB0 00120C10 80 1D 00 04 */ lwz r0, 4(r29) -/* 80123CB4 00120C14 7C 03 00 00 */ cmpw r3, r0 -/* 80123CB8 00120C18 40 82 00 3C */ bne lbl_80123CF4 -/* 80123CBC 00120C1C 7F 43 D3 78 */ mr r3, r26 -/* 80123CC0 00120C20 48 06 96 29 */ bl GetLocked__21CScriptTargetingPointCFv -/* 80123CC4 00120C24 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80123CC8 00120C28 40 82 00 2C */ bne lbl_80123CF4 -/* 80123CCC 00120C2C A0 1A 00 08 */ lhz r0, 8(r26) -/* 80123CD0 00120C30 38 7D 07 64 */ addi r3, r29, 0x764 -/* 80123CD4 00120C34 38 81 00 0C */ addi r4, r1, 0xc -/* 80123CD8 00120C38 3B E0 00 01 */ li r31, 1 -/* 80123CDC 00120C3C B0 01 00 08 */ sth r0, 8(r1) -/* 80123CE0 00120C40 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80123CE4 00120C44 48 05 15 35 */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 80123CE8 00120C48 A0 1A 00 08 */ lhz r0, 8(r26) -/* 80123CEC 00120C4C B0 1D 07 C0 */ sth r0, 0x7c0(r29) -/* 80123CF0 00120C50 48 00 00 18 */ b lbl_80123D08 -lbl_80123CF4: -/* 80123CF4 00120C54 3B 9C 00 02 */ addi r28, r28, 2 -/* 80123CF8 00120C58 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80123CFC: -/* 80123CFC 00120C5C 80 01 00 78 */ lwz r0, 0x78(r1) -/* 80123D00 00120C60 7C 1B 00 00 */ cmpw r27, r0 -/* 80123D04 00120C64 41 80 FF 70 */ blt lbl_80123C74 -lbl_80123D08: -/* 80123D08 00120C68 80 A1 00 78 */ lwz r5, 0x78(r1) -/* 80123D0C 00120C6C 38 60 00 00 */ li r3, 0 -/* 80123D10 00120C70 2C 05 00 00 */ cmpwi r5, 0 -/* 80123D14 00120C74 40 81 00 40 */ ble lbl_80123D54 -/* 80123D18 00120C78 2C 05 00 08 */ cmpwi r5, 8 -/* 80123D1C 00120C7C 38 85 FF F8 */ addi r4, r5, -8 -/* 80123D20 00120C80 40 81 00 20 */ ble lbl_80123D40 -/* 80123D24 00120C84 38 04 00 07 */ addi r0, r4, 7 -/* 80123D28 00120C88 54 00 E8 FE */ srwi r0, r0, 3 -/* 80123D2C 00120C8C 7C 09 03 A6 */ mtctr r0 -/* 80123D30 00120C90 2C 04 00 00 */ cmpwi r4, 0 -/* 80123D34 00120C94 40 81 00 0C */ ble lbl_80123D40 -lbl_80123D38: -/* 80123D38 00120C98 38 63 00 08 */ addi r3, r3, 8 -/* 80123D3C 00120C9C 42 00 FF FC */ bdnz lbl_80123D38 -lbl_80123D40: -/* 80123D40 00120CA0 7C 03 28 50 */ subf r0, r3, r5 -/* 80123D44 00120CA4 7C 09 03 A6 */ mtctr r0 -/* 80123D48 00120CA8 7C 03 28 00 */ cmpw r3, r5 -/* 80123D4C 00120CAC 40 80 00 08 */ bge lbl_80123D54 -lbl_80123D50: -/* 80123D50 00120CB0 42 00 00 00 */ bdnz lbl_80123D50 -lbl_80123D54: -/* 80123D54 00120CB4 38 00 00 00 */ li r0, 0 -/* 80123D58 00120CB8 90 01 00 78 */ stw r0, 0x78(r1) -lbl_80123D5C: -/* 80123D5C 00120CBC 7F E3 FB 78 */ mr r3, r31 -/* 80123D60 00120CC0 BB 41 08 88 */ lmw r26, 0x888(r1) -/* 80123D64 00120CC4 80 01 08 A4 */ lwz r0, 0x8a4(r1) -/* 80123D68 00120CC8 7C 08 03 A6 */ mtlr r0 -/* 80123D6C 00120CCC 38 21 08 A0 */ addi r1, r1, 0x8a0 -/* 80123D70 00120CD0 4E 80 00 20 */ blr - -.global Attacked__12CSpacePirateFR13CStateManagerf -Attacked__12CSpacePirateFR13CStateManagerf: -/* 80123D74 00120CD4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80123D78 00120CD8 C0 43 08 50 */ lfs f2, 0x850(r3) -/* 80123D7C 00120CDC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80123D80 00120CE0 41 82 00 08 */ beq lbl_80123D88 -/* 80123D84 00120CE4 48 00 00 08 */ b lbl_80123D8C -lbl_80123D88: -/* 80123D88 00120CE8 C0 22 97 D0 */ lfs f1, lbl_805AB4F0@sda21(r2) -lbl_80123D8C: -/* 80123D8C 00120CEC FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80123D90 00120CF0 7C 00 00 26 */ mfcr r0 -/* 80123D94 00120CF4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80123D98 00120CF8 4E 80 00 20 */ blr - -.global ShotAt__12CSpacePirateFR13CStateManagerf -ShotAt__12CSpacePirateFR13CStateManagerf: -/* 80123D9C 00120CFC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80123DA0 00120D00 C0 43 08 54 */ lfs f2, 0x854(r3) -/* 80123DA4 00120D04 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80123DA8 00120D08 41 82 00 08 */ beq lbl_80123DB0 -/* 80123DAC 00120D0C 48 00 00 08 */ b lbl_80123DB4 -lbl_80123DB0: -/* 80123DB0 00120D10 C0 22 97 D0 */ lfs f1, lbl_805AB4F0@sda21(r2) -lbl_80123DB4: -/* 80123DB4 00120D14 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80123DB8 00120D18 7C 00 00 26 */ mfcr r0 -/* 80123DBC 00120D1C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80123DC0 00120D20 4E 80 00 20 */ blr - -.global ShouldMove__12CSpacePirateFR13CStateManagerf -ShouldMove__12CSpacePirateFR13CStateManagerf: -/* 80123DC4 00120D24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80123DC8 00120D28 7C 08 02 A6 */ mflr r0 -/* 80123DCC 00120D2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80123DD0 00120D30 38 A1 00 08 */ addi r5, r1, 8 -/* 80123DD4 00120D34 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80123DD8 00120D38 A0 03 06 40 */ lhz r0, 0x640(r3) -/* 80123DDC 00120D3C B0 01 00 08 */ sth r0, 8(r1) -/* 80123DE0 00120D40 4B F5 8A CD */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80123DE4 00120D44 28 03 00 00 */ cmplwi r3, 0 -/* 80123DE8 00120D48 3B E0 00 00 */ li r31, 0 -/* 80123DEC 00120D4C 41 82 00 14 */ beq lbl_80123E00 -/* 80123DF0 00120D50 48 00 98 1D */ bl ShouldStay__17CScriptCoverPointCFv -/* 80123DF4 00120D54 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80123DF8 00120D58 40 82 00 08 */ bne lbl_80123E00 -/* 80123DFC 00120D5C 3B E0 00 01 */ li r31, 1 -lbl_80123E00: -/* 80123E00 00120D60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80123E04 00120D64 7F E3 FB 78 */ mr r3, r31 -/* 80123E08 00120D68 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80123E0C 00120D6C 7C 08 03 A6 */ mtlr r0 -/* 80123E10 00120D70 38 21 00 20 */ addi r1, r1, 0x20 -/* 80123E14 00120D74 4E 80 00 20 */ blr - -.global ShouldRetreat__12CSpacePirateFR13CStateManagerf -ShouldRetreat__12CSpacePirateFR13CStateManagerf: -/* 80123E18 00120D78 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80123E1C 00120D7C 7C 08 02 A6 */ mflr r0 -/* 80123E20 00120D80 90 01 00 64 */ stw r0, 0x64(r1) -/* 80123E24 00120D84 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80123E28 00120D88 7C 7F 1B 78 */ mr r31, r3 -/* 80123E2C 00120D8C 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80123E30 00120D90 3B C0 00 00 */ li r30, 0 -/* 80123E34 00120D94 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80123E38 00120D98 7C 9D 23 78 */ mr r29, r4 -/* 80123E3C 00120D9C 88 03 06 36 */ lbz r0, 0x636(r3) -/* 80123E40 00120DA0 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80123E44 00120DA4 41 82 01 64 */ beq lbl_80123FA8 -/* 80123E48 00120DA8 7F E4 FB 78 */ mr r4, r31 -/* 80123E4C 00120DAC 7F A5 EB 78 */ mr r5, r29 -/* 80123E50 00120DB0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80123E54 00120DB4 38 C0 00 0D */ li r6, 0xd -/* 80123E58 00120DB8 38 E0 00 06 */ li r7, 6 -/* 80123E5C 00120DBC 48 0D 11 3D */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 80123E60 00120DC0 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80123E64 00120DC4 7F A3 EB 78 */ mr r3, r29 -/* 80123E68 00120DC8 38 81 00 10 */ addi r4, r1, 0x10 -/* 80123E6C 00120DCC B0 01 00 18 */ sth r0, 0x18(r1) -/* 80123E70 00120DD0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80123E74 00120DD4 4B F2 87 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80123E78 00120DD8 7C 64 1B 78 */ mr r4, r3 -/* 80123E7C 00120DDC 38 61 00 24 */ addi r3, r1, 0x24 -/* 80123E80 00120DE0 4B F8 26 CD */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80123E84 00120DE4 80 03 00 04 */ lwz r0, 4(r3) -/* 80123E88 00120DE8 28 00 00 00 */ cmplwi r0, 0 -/* 80123E8C 00120DEC 7C 05 03 78 */ mr r5, r0 -/* 80123E90 00120DF0 40 82 00 44 */ bne lbl_80123ED4 -/* 80123E94 00120DF4 7F E4 FB 78 */ mr r4, r31 -/* 80123E98 00120DF8 7F A5 EB 78 */ mr r5, r29 -/* 80123E9C 00120DFC 38 61 00 0C */ addi r3, r1, 0xc -/* 80123EA0 00120E00 38 C0 00 0C */ li r6, 0xc -/* 80123EA4 00120E04 38 E0 00 06 */ li r7, 6 -/* 80123EA8 00120E08 48 0D 10 F1 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 80123EAC 00120E0C A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80123EB0 00120E10 7F A3 EB 78 */ mr r3, r29 -/* 80123EB4 00120E14 38 81 00 08 */ addi r4, r1, 8 -/* 80123EB8 00120E18 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80123EBC 00120E1C B0 01 00 08 */ sth r0, 8(r1) -/* 80123EC0 00120E20 4B F2 86 E5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80123EC4 00120E24 7C 64 1B 78 */ mr r4, r3 -/* 80123EC8 00120E28 38 61 00 1C */ addi r3, r1, 0x1c -/* 80123ECC 00120E2C 4B F8 26 81 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80123ED0 00120E30 80 A3 00 04 */ lwz r5, 4(r3) -lbl_80123ED4: -/* 80123ED4 00120E34 28 05 00 00 */ cmplwi r5, 0 -/* 80123ED8 00120E38 41 82 00 34 */ beq lbl_80123F0C -/* 80123EDC 00120E3C A0 01 00 18 */ lhz r0, 0x18(r1) -/* 80123EE0 00120E40 7F E3 FB 78 */ mr r3, r31 -/* 80123EE4 00120E44 38 81 00 38 */ addi r4, r1, 0x38 -/* 80123EE8 00120E48 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80123EEC 00120E4C C0 45 00 60 */ lfs f2, 0x60(r5) -/* 80123EF0 00120E50 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 80123EF4 00120E54 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 80123EF8 00120E58 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80123EFC 00120E5C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80123F00 00120E60 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80123F04 00120E64 4B F5 8C 59 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80123F08 00120E68 48 00 00 30 */ b lbl_80123F38 -lbl_80123F0C: -/* 80123F0C 00120E6C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80123F10 00120E70 7F E3 FB 78 */ mr r3, r31 -/* 80123F14 00120E74 38 81 00 2C */ addi r4, r1, 0x2c -/* 80123F18 00120E78 B0 1F 02 DC */ sth r0, 0x2dc(r31) -/* 80123F1C 00120E7C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80123F20 00120E80 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80123F24 00120E84 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80123F28 00120E88 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80123F2C 00120E8C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80123F30 00120E90 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80123F34 00120E94 4B F5 8C 29 */ bl SetDestPos__10CPatternedFRC9CVector3f -lbl_80123F38: -/* 80123F38 00120E98 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 80123F3C 00120E9C 38 C0 00 00 */ li r6, 0 -/* 80123F40 00120EA0 50 C0 17 7A */ rlwimi r0, r6, 2, 0x1d, 0x1d -/* 80123F44 00120EA4 7F E3 FB 78 */ mr r3, r31 -/* 80123F48 00120EA8 98 1F 06 36 */ stb r0, 0x636(r31) -/* 80123F4C 00120EAC 7F A4 EB 78 */ mr r4, r29 -/* 80123F50 00120EB0 38 BF 06 40 */ addi r5, r31, 0x640 -/* 80123F54 00120EB4 3B C0 00 01 */ li r30, 1 -/* 80123F58 00120EB8 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80123F5C 00120EBC C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80123F60 00120EC0 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80123F64 00120EC4 D0 1F 02 EC */ stfs f0, 0x2ec(r31) -/* 80123F68 00120EC8 D0 3F 02 F0 */ stfs f1, 0x2f0(r31) -/* 80123F6C 00120ECC D0 5F 02 F4 */ stfs f2, 0x2f4(r31) -/* 80123F70 00120ED0 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 80123F74 00120ED4 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 80123F78 00120ED8 98 1F 03 28 */ stb r0, 0x328(r31) -/* 80123F7C 00120EDC 4B F5 88 E1 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId -/* 80123F80 00120EE0 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 80123F84 00120EE4 38 60 00 00 */ li r3, 0 -/* 80123F88 00120EE8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80123F8C 00120EEC 98 1F 06 36 */ stb r0, 0x636(r31) -/* 80123F90 00120EF0 88 1F 06 37 */ lbz r0, 0x637(r31) -/* 80123F94 00120EF4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80123F98 00120EF8 98 1F 06 37 */ stb r0, 0x637(r31) -/* 80123F9C 00120EFC 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 80123FA0 00120F00 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80123FA4 00120F04 98 1F 04 00 */ stb r0, 0x400(r31) -lbl_80123FA8: -/* 80123FA8 00120F08 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80123FAC 00120F0C 7F C3 F3 78 */ mr r3, r30 -/* 80123FB0 00120F10 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80123FB4 00120F14 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80123FB8 00120F18 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80123FBC 00120F1C 7C 08 03 A6 */ mtlr r0 -/* 80123FC0 00120F20 38 21 00 60 */ addi r1, r1, 0x60 -/* 80123FC4 00120F24 4E 80 00 20 */ blr - -.global Dodge__12CSpacePirateFR13CStateManager9EStateMsgf -Dodge__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80123FC8 00120F28 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80123FCC 00120F2C 7C 08 02 A6 */ mflr r0 -/* 80123FD0 00120F30 90 01 00 64 */ stw r0, 0x64(r1) -/* 80123FD4 00120F34 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80123FD8 00120F38 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80123FDC 00120F3C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80123FE0 00120F40 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80123FE4 00120F44 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80123FE8 00120F48 2C 05 00 01 */ cmpwi r5, 1 -/* 80123FEC 00120F4C 3C C0 80 3E */ lis r6, lbl_803E0700@ha -/* 80123FF0 00120F50 7C 7E 1B 78 */ mr r30, r3 -/* 80123FF4 00120F54 7C 9F 23 78 */ mr r31, r4 -/* 80123FF8 00120F58 3B A6 07 00 */ addi r29, r6, lbl_803E0700@l -/* 80123FFC 00120F5C 41 82 01 08 */ beq lbl_80124104 -/* 80124000 00120F60 40 80 00 10 */ bge lbl_80124010 -/* 80124004 00120F64 2C 05 00 00 */ cmpwi r5, 0 -/* 80124008 00120F68 40 80 00 14 */ bge lbl_8012401C -/* 8012400C 00120F6C 48 00 02 68 */ b lbl_80124274 -lbl_80124010: -/* 80124010 00120F70 2C 05 00 03 */ cmpwi r5, 3 -/* 80124014 00120F74 40 80 02 60 */ bge lbl_80124274 -/* 80124018 00120F78 48 00 02 14 */ b lbl_8012422C -lbl_8012401C: -/* 8012401C 00120F7C 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 80124020 00120F80 38 A0 00 00 */ li r5, 0 -/* 80124024 00120F84 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 80124028 00120F88 98 1E 06 39 */ stb r0, 0x639(r30) -/* 8012402C 00120F8C 88 1E 06 3A */ lbz r0, 0x63a(r30) -/* 80124030 00120F90 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80124034 00120F94 40 82 00 90 */ bne lbl_801240C4 -/* 80124038 00120F98 88 1E 06 35 */ lbz r0, 0x635(r30) -/* 8012403C 00120F9C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80124040 00120FA0 40 82 00 84 */ bne lbl_801240C4 -/* 80124044 00120FA4 C0 3E 08 C0 */ lfs f1, 0x8c0(r30) -/* 80124048 00120FA8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012404C 00120FAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80124050 00120FB0 4C 40 13 82 */ cror 2, 0, 2 -/* 80124054 00120FB4 40 82 00 70 */ bne lbl_801240C4 -/* 80124058 00120FB8 81 83 00 00 */ lwz r12, 0(r3) -/* 8012405C 00120FBC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80124060 00120FC0 7D 89 03 A6 */ mtctr r12 -/* 80124064 00120FC4 4E 80 04 21 */ bctrl -/* 80124068 00120FC8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8012406C 00120FCC C0 9E 07 50 */ lfs f4, 0x750(r30) -/* 80124070 00120FD0 C0 22 98 28 */ lfs f1, lbl_805AB548@sda21(r2) -/* 80124074 00120FD4 EC 04 00 28 */ fsubs f0, f4, f0 -/* 80124078 00120FD8 C0 42 97 D8 */ lfs f2, lbl_805AB4F8@sda21(r2) -/* 8012407C 00120FDC C0 62 98 2C */ lfs f3, lbl_805AB54C@sda21(r2) -/* 80124080 00120FE0 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80124084 00120FE4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80124088 00120FE8 EC 00 20 24 */ fdivs f0, f0, f4 -/* 8012408C 00120FEC EC 02 00 2A */ fadds f0, f2, f0 -/* 80124090 00120FF0 EF E3 00 32 */ fmuls f31, f3, f0 -/* 80124094 00120FF4 48 1E E4 49 */ bl Float__9CRandom16Fv -/* 80124098 00120FF8 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8012409C 00120FFC 40 80 00 14 */ bge lbl_801240B0 -/* 801240A0 00121000 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 801240A4 00121004 38 60 00 01 */ li r3, 1 -/* 801240A8 00121008 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 801240AC 0012100C 98 1E 06 39 */ stb r0, 0x639(r30) -lbl_801240B0: -/* 801240B0 00121010 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 801240B4 00121014 C0 3E 06 20 */ lfs f1, 0x620(r30) -/* 801240B8 00121018 C0 5E 06 24 */ lfs f2, 0x624(r30) -/* 801240BC 0012101C 48 1E E4 89 */ bl Range__9CRandom16Fff -/* 801240C0 00121020 D0 3E 08 C0 */ stfs f1, 0x8c0(r30) -lbl_801240C4: -/* 801240C4 00121024 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 801240C8 00121028 7F C3 F3 78 */ mr r3, r30 -/* 801240CC 0012102C 7F E4 FB 78 */ mr r4, r31 -/* 801240D0 00121030 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 801240D4 00121034 41 82 00 0C */ beq lbl_801240E0 -/* 801240D8 00121038 C0 3E 08 4C */ lfs f1, 0x84c(r30) -/* 801240DC 0012103C 48 00 00 08 */ b lbl_801240E4 -lbl_801240E0: -/* 801240E0 00121040 C0 3E 08 48 */ lfs f1, 0x848(r30) -lbl_801240E4: -/* 801240E4 00121044 48 00 45 F9 */ bl GetStrafeDir__12CSpacePirateCFR13CStateManagerf -/* 801240E8 00121048 90 7E 08 44 */ stw r3, 0x844(r30) -/* 801240EC 0012104C 80 1E 08 44 */ lwz r0, 0x844(r30) -/* 801240F0 00121050 2C 00 FF FF */ cmpwi r0, -1 -/* 801240F4 00121054 41 82 01 80 */ beq lbl_80124274 -/* 801240F8 00121058 38 00 00 01 */ li r0, 1 -/* 801240FC 0012105C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80124100 00121060 48 00 01 74 */ b lbl_80124274 -lbl_80124104: -/* 80124104 00121064 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 80124108 00121068 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8012410C 0012106C 40 82 00 8C */ bne lbl_80124198 -/* 80124110 00121070 88 1E 06 3A */ lbz r0, 0x63a(r30) -/* 80124114 00121074 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80124118 00121078 40 82 00 18 */ bne lbl_80124130 -/* 8012411C 0012107C 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80124120 00121080 48 1E E3 BD */ bl Float__9CRandom16Fv -/* 80124124 00121084 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80124128 00121088 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012412C 0012108C 40 80 00 38 */ bge lbl_80124164 -lbl_80124130: -/* 80124130 00121090 80 BD 00 AC */ lwz r5, 0xac(r29) -/* 80124134 00121094 7F C3 F3 78 */ mr r3, r30 -/* 80124138 00121098 80 FD 00 B0 */ lwz r7, 0xb0(r29) -/* 8012413C 0012109C 7F E4 FB 78 */ mr r4, r31 -/* 80124140 001210A0 80 1D 00 B4 */ lwz r0, 0xb4(r29) -/* 80124144 001210A4 38 C1 00 28 */ addi r6, r1, 0x28 -/* 80124148 001210A8 90 A1 00 28 */ stw r5, 0x28(r1) -/* 8012414C 001210AC 38 A0 00 03 */ li r5, 3 -/* 80124150 001210B0 90 E1 00 2C */ stw r7, 0x2c(r1) -/* 80124154 001210B4 90 01 00 30 */ stw r0, 0x30(r1) -/* 80124158 001210B8 80 FE 08 44 */ lwz r7, 0x844(r30) -/* 8012415C 001210BC 4B F5 86 59 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80124160 001210C0 48 00 01 14 */ b lbl_80124274 -lbl_80124164: -/* 80124164 001210C4 80 BD 00 B8 */ lwz r5, 0xb8(r29) -/* 80124168 001210C8 7F C3 F3 78 */ mr r3, r30 -/* 8012416C 001210CC 80 FD 00 BC */ lwz r7, 0xbc(r29) -/* 80124170 001210D0 7F E4 FB 78 */ mr r4, r31 -/* 80124174 001210D4 80 1D 00 C0 */ lwz r0, 0xc0(r29) -/* 80124178 001210D8 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8012417C 001210DC 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80124180 001210E0 38 A0 00 03 */ li r5, 3 -/* 80124184 001210E4 90 E1 00 20 */ stw r7, 0x20(r1) -/* 80124188 001210E8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8012418C 001210EC 80 FE 08 44 */ lwz r7, 0x844(r30) -/* 80124190 001210F0 4B F5 86 25 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80124194 001210F4 48 00 00 E0 */ b lbl_80124274 -lbl_80124198: -/* 80124198 001210F8 81 1D 00 C4 */ lwz r8, 0xc4(r29) -/* 8012419C 001210FC 38 C1 00 10 */ addi r6, r1, 0x10 -/* 801241A0 00121100 80 FD 00 C8 */ lwz r7, 0xc8(r29) -/* 801241A4 00121104 38 A0 00 03 */ li r5, 3 -/* 801241A8 00121108 80 1D 00 CC */ lwz r0, 0xcc(r29) -/* 801241AC 0012110C 91 01 00 10 */ stw r8, 0x10(r1) -/* 801241B0 00121110 90 E1 00 14 */ stw r7, 0x14(r1) -/* 801241B4 00121114 90 01 00 18 */ stw r0, 0x18(r1) -/* 801241B8 00121118 80 FE 08 44 */ lwz r7, 0x844(r30) -/* 801241BC 0012111C 4B F5 85 F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 801241C0 00121120 80 7E 00 68 */ lwz r3, 0x68(r30) -/* 801241C4 00121124 38 00 02 00 */ li r0, 0x200 -/* 801241C8 00121128 80 BE 00 6C */ lwz r5, 0x6c(r30) -/* 801241CC 0012112C 38 80 00 00 */ li r4, 0 -/* 801241D0 00121130 7C 60 00 38 */ and r0, r3, r0 -/* 801241D4 00121134 7C A3 20 38 */ and r3, r5, r4 -/* 801241D8 00121138 7C 63 22 78 */ xor r3, r3, r4 -/* 801241DC 0012113C 7C 00 22 78 */ xor r0, r0, r4 -/* 801241E0 00121140 7C 60 03 79 */ or. r0, r3, r0 -/* 801241E4 00121144 41 82 00 90 */ beq lbl_80124274 -/* 801241E8 00121148 C0 3E 03 38 */ lfs f1, 0x338(r30) -/* 801241EC 0012114C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 801241F0 00121150 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801241F4 00121154 40 81 00 80 */ ble lbl_80124274 -/* 801241F8 00121158 7F C3 F3 78 */ mr r3, r30 -/* 801241FC 0012115C 7F E5 FB 78 */ mr r5, r31 -/* 80124200 00121160 38 80 00 29 */ li r4, 0x29 -/* 80124204 00121164 4B F2 FD 7D */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80124208 00121168 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8012420C 0012116C 7F E6 FB 78 */ mr r6, r31 -/* 80124210 00121170 38 81 00 0C */ addi r4, r1, 0xc -/* 80124214 00121174 38 A0 00 08 */ li r5, 8 -/* 80124218 00121178 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8012421C 0012117C B0 01 00 08 */ sth r0, 8(r1) -/* 80124220 00121180 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80124224 00121184 48 05 70 31 */ bl SetOrbitRequestForTarget__7CPlayerF9TUniqueId19EPlayerOrbitRequestR13CStateManager -/* 80124228 00121188 48 00 00 4C */ b lbl_80124274 -lbl_8012422C: -/* 8012422C 0012118C 38 C0 00 00 */ li r6, 0 -/* 80124230 00121190 38 A0 00 01 */ li r5, 1 -/* 80124234 00121194 90 DE 03 2C */ stw r6, 0x32c(r30) -/* 80124238 00121198 38 00 02 00 */ li r0, 0x200 -/* 8012423C 0012119C 88 9E 06 38 */ lbz r4, 0x638(r30) -/* 80124240 001211A0 50 A4 17 7A */ rlwimi r4, r5, 2, 0x1d, 0x1d -/* 80124244 001211A4 98 9E 06 38 */ stb r4, 0x638(r30) -/* 80124248 001211A8 80 9E 00 68 */ lwz r4, 0x68(r30) -/* 8012424C 001211AC 80 BE 00 6C */ lwz r5, 0x6c(r30) -/* 80124250 001211B0 7C 80 00 38 */ and r0, r4, r0 -/* 80124254 001211B4 7C A4 30 38 */ and r4, r5, r6 -/* 80124258 001211B8 7C 84 32 78 */ xor r4, r4, r6 -/* 8012425C 001211BC 7C 00 32 78 */ xor r0, r0, r6 -/* 80124260 001211C0 7C 80 03 79 */ or. r0, r4, r0 -/* 80124264 001211C4 40 82 00 10 */ bne lbl_80124274 -/* 80124268 001211C8 7F E5 FB 78 */ mr r5, r31 -/* 8012426C 001211CC 38 80 00 29 */ li r4, 0x29 -/* 80124270 001211D0 4B F3 00 E1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_80124274: -/* 80124274 001211D4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80124278 001211D8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8012427C 001211DC CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80124280 001211E0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80124284 001211E4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80124288 001211E8 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8012428C 001211EC 7C 08 03 A6 */ mtlr r0 -/* 80124290 001211F0 38 21 00 60 */ addi r1, r1, 0x60 -/* 80124294 001211F4 4E 80 00 20 */ blr - -.global TryRollingDodge__10CPatternedFR13CStateManageri -TryRollingDodge__10CPatternedFR13CStateManageri: -/* 80124298 001211F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8012429C 001211FC 7C 08 02 A6 */ mflr r0 -/* 801242A0 00121200 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 801242A4 00121204 90 01 00 24 */ stw r0, 0x24(r1) -/* 801242A8 00121208 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 801242AC 0012120C 38 80 00 01 */ li r4, 1 -/* 801242B0 00121210 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801242B4 00121214 80 E3 04 50 */ lwz r7, 0x450(r3) -/* 801242B8 00121218 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 801242BC 0012121C 90 01 00 08 */ stw r0, 8(r1) -/* 801242C0 00121220 38 C3 A9 E4 */ addi r6, r3, lbl_803DA9E4@l -/* 801242C4 00121224 38 60 00 01 */ li r3, 1 -/* 801242C8 00121228 38 00 00 03 */ li r0, 3 -/* 801242CC 0012122C 3B E7 00 04 */ addi r31, r7, 4 -/* 801242D0 00121230 90 61 00 0C */ stw r3, 0xc(r1) -/* 801242D4 00121234 7F E3 FB 78 */ mr r3, r31 -/* 801242D8 00121238 90 C1 00 08 */ stw r6, 8(r1) -/* 801242DC 0012123C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 801242E0 00121240 90 01 00 14 */ stw r0, 0x14(r1) -/* 801242E4 00121244 48 00 D1 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801242E8 00121248 80 01 00 0C */ lwz r0, 0xc(r1) -/* 801242EC 0012124C 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 801242F0 00121250 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 801242F4 00121254 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801242F8 00121258 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 801242FC 0012125C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80124300 00121260 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80124304 00121264 90 81 00 08 */ stw r4, 8(r1) -/* 80124308 00121268 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8012430C 0012126C 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 80124310 00121270 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 80124314 00121274 90 01 00 08 */ stw r0, 8(r1) -/* 80124318 00121278 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8012431C 0012127C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80124320 00121280 7C 08 03 A6 */ mtlr r0 -/* 80124324 00121284 38 21 00 20 */ addi r1, r1, 0x20 -/* 80124328 00121288 4E 80 00 20 */ blr - -.global ShouldDodge__12CSpacePirateFR13CStateManagerf -ShouldDodge__12CSpacePirateFR13CStateManagerf: -/* 8012432C 0012128C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80124330 00121290 7C 08 02 A6 */ mflr r0 -/* 80124334 00121294 90 01 00 84 */ stw r0, 0x84(r1) -/* 80124338 00121298 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8012433C 0012129C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80124340 001212A0 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80124344 001212A4 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80124348 001212A8 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 8012434C 001212AC F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80124350 001212B0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80124354 001212B4 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80124358 001212B8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8012435C 001212BC 7C 7D 1B 78 */ mr r29, r3 -/* 80124360 001212C0 88 63 06 38 */ lbz r3, 0x638(r3) -/* 80124364 001212C4 7C 9E 23 78 */ mr r30, r4 -/* 80124368 001212C8 3B E0 00 00 */ li r31, 0 -/* 8012436C 001212CC 54 60 EF FF */ rlwinm. r0, r3, 0x1d, 0x1f, 0x1f -/* 80124370 001212D0 41 82 01 44 */ beq lbl_801244B4 -/* 80124374 001212D4 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 80124378 001212D8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8012437C 001212DC 40 82 00 A0 */ bne lbl_8012441C -/* 80124380 001212E0 54 60 F7 FF */ rlwinm. r0, r3, 0x1e, 0x1f, 0x1f -/* 80124384 001212E4 40 82 00 98 */ bne lbl_8012441C -/* 80124388 001212E8 C3 BD 00 60 */ lfs f29, 0x60(r29) -/* 8012438C 001212EC 7F A4 EB 78 */ mr r4, r29 -/* 80124390 001212F0 C3 DD 00 50 */ lfs f30, 0x50(r29) -/* 80124394 001212F4 7F C5 F3 78 */ mr r5, r30 -/* 80124398 001212F8 C3 FD 00 40 */ lfs f31, 0x40(r29) -/* 8012439C 001212FC 38 61 00 28 */ addi r3, r1, 0x28 -/* 801243A0 00121300 48 00 40 A5 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 801243A4 00121304 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 801243A8 00121308 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 801243AC 0012130C EC 60 F0 28 */ fsubs f3, f0, f30 -/* 801243B0 00121310 C0 BD 00 48 */ lfs f5, 0x48(r29) -/* 801243B4 00121314 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 801243B8 00121318 EC 81 F8 28 */ fsubs f4, f1, f31 -/* 801243BC 0012131C C0 5D 00 38 */ lfs f2, 0x38(r29) -/* 801243C0 00121320 EC 23 01 72 */ fmuls f1, f3, f5 -/* 801243C4 00121324 C0 DD 00 58 */ lfs f6, 0x58(r29) -/* 801243C8 00121328 EC 60 E8 28 */ fsubs f3, f0, f29 -/* 801243CC 0012132C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801243D0 00121330 EC 24 08 BA */ fmadds f1, f4, f2, f1 -/* 801243D4 00121334 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 801243D8 00121338 D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 801243DC 0012133C EC 23 09 BA */ fmadds f1, f3, f6, f1 -/* 801243E0 00121340 D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 801243E4 00121344 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801243E8 00121348 40 81 00 34 */ ble lbl_8012441C -/* 801243EC 0012134C C0 1D 08 50 */ lfs f0, 0x850(r29) -/* 801243F0 00121350 C0 22 98 30 */ lfs f1, lbl_805AB550@sda21(r2) -/* 801243F4 00121354 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801243F8 00121358 41 80 00 10 */ blt lbl_80124408 -/* 801243FC 0012135C C0 1D 08 54 */ lfs f0, 0x854(r29) -/* 80124400 00121360 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80124404 00121364 40 80 00 18 */ bge lbl_8012441C -lbl_80124408: -/* 80124408 00121368 C0 3D 07 AC */ lfs f1, 0x7ac(r29) -/* 8012440C 0012136C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80124410 00121370 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80124414 00121374 40 80 00 08 */ bge lbl_8012441C -/* 80124418 00121378 3B E0 00 01 */ li r31, 1 -lbl_8012441C: -/* 8012441C 0012137C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80124420 00121380 40 82 00 94 */ bne lbl_801244B4 -/* 80124424 00121384 A0 1D 07 C0 */ lhz r0, 0x7c0(r29) -/* 80124428 00121388 7F C3 F3 78 */ mr r3, r30 -/* 8012442C 0012138C 38 81 00 08 */ addi r4, r1, 8 -/* 80124430 00121390 B0 01 00 08 */ sth r0, 8(r1) -/* 80124434 00121394 4B F2 81 71 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80124438 00121398 7C 64 1B 78 */ mr r4, r3 -/* 8012443C 0012139C 38 61 00 0C */ addi r3, r1, 0xc -/* 80124440 001213A0 4B F8 10 95 */ bl sub_800a54d4 -/* 80124444 001213A4 4B F8 10 65 */ bl "CastTo<8CMetroid>__10CPatternedFP7CEntity" -/* 80124448 001213A8 28 03 00 00 */ cmplwi r3, 0 -/* 8012444C 001213AC 41 82 00 68 */ beq lbl_801244B4 -/* 80124450 001213B0 88 03 09 BF */ lbz r0, 0x9bf(r3) -/* 80124454 001213B4 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80124458 001213B8 41 82 00 5C */ beq lbl_801244B4 -/* 8012445C 001213BC C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80124460 001213C0 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 80124464 001213C4 C0 C3 00 48 */ lfs f6, 0x48(r3) -/* 80124468 001213C8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8012446C 001213CC C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 80124470 001213D0 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80124474 001213D4 C0 43 00 38 */ lfs f2, 0x38(r3) -/* 80124478 001213D8 EC A1 00 28 */ fsubs f5, f1, f0 -/* 8012447C 001213DC C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 80124480 001213E0 EC 04 01 B2 */ fmuls f0, f4, f6 -/* 80124484 001213E4 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 80124488 001213E8 C0 83 00 58 */ lfs f4, 0x58(r3) -/* 8012448C 001213EC EC 63 08 28 */ fsubs f3, f3, f1 -/* 80124490 001213F0 EC 25 00 BA */ fmadds f1, f5, f2, f0 -/* 80124494 001213F4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80124498 001213F8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8012449C 001213FC EC 23 09 3A */ fmadds f1, f3, f4, f1 -/* 801244A0 00121400 D0 C1 00 14 */ stfs f6, 0x14(r1) -/* 801244A4 00121404 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 801244A8 00121408 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801244AC 0012140C 40 81 00 08 */ ble lbl_801244B4 -/* 801244B0 00121410 3B E0 00 01 */ li r31, 1 -lbl_801244B4: -/* 801244B4 00121414 7F E3 FB 78 */ mr r3, r31 -/* 801244B8 00121418 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 801244BC 0012141C CB E1 00 70 */ lfd f31, 0x70(r1) -/* 801244C0 00121420 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 801244C4 00121424 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 801244C8 00121428 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 801244CC 0012142C CB A1 00 50 */ lfd f29, 0x50(r1) -/* 801244D0 00121430 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 801244D4 00121434 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 801244D8 00121438 80 01 00 84 */ lwz r0, 0x84(r1) -/* 801244DC 0012143C 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 801244E0 00121440 7C 08 03 A6 */ mtlr r0 -/* 801244E4 00121444 38 21 00 80 */ addi r1, r1, 0x80 -/* 801244E8 00121448 4E 80 00 20 */ blr - -.global TurnAround__12CSpacePirateFR13CStateManager9EStateMsgf -TurnAround__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801244EC 0012144C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 801244F0 00121450 7C 08 02 A6 */ mflr r0 -/* 801244F4 00121454 2C 05 00 01 */ cmpwi r5, 1 -/* 801244F8 00121458 90 01 00 54 */ stw r0, 0x54(r1) -/* 801244FC 0012145C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80124500 00121460 7C 9F 23 78 */ mr r31, r4 -/* 80124504 00121464 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80124508 00121468 7C 7E 1B 78 */ mr r30, r3 -/* 8012450C 0012146C 41 82 00 C8 */ beq lbl_801245D4 -/* 80124510 00121470 40 80 00 10 */ bge lbl_80124520 -/* 80124514 00121474 2C 05 00 00 */ cmpwi r5, 0 -/* 80124518 00121478 40 80 00 14 */ bge lbl_8012452C -/* 8012451C 0012147C 48 00 01 00 */ b lbl_8012461C -lbl_80124520: -/* 80124520 00121480 2C 05 00 03 */ cmpwi r5, 3 -/* 80124524 00121484 40 80 00 F8 */ bge lbl_8012461C -/* 80124528 00121488 48 00 00 EC */ b lbl_80124614 -lbl_8012452C: -/* 8012452C 0012148C 7F C4 F3 78 */ mr r4, r30 -/* 80124530 00121490 7F E5 FB 78 */ mr r5, r31 -/* 80124534 00121494 38 61 00 2C */ addi r3, r1, 0x2c -/* 80124538 00121498 48 00 3F 0D */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 8012453C 0012149C 7F C3 F3 78 */ mr r3, r30 -/* 80124540 001214A0 38 81 00 2C */ addi r4, r1, 0x2c -/* 80124544 001214A4 4B F5 86 19 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80124548 001214A8 C0 3E 02 E8 */ lfs f1, 0x2e8(r30) -/* 8012454C 001214AC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80124550 001214B0 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80124554 001214B4 38 81 00 38 */ addi r4, r1, 0x38 -/* 80124558 001214B8 C0 9E 02 E4 */ lfs f4, 0x2e4(r30) -/* 8012455C 001214BC C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 80124560 001214C0 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80124564 001214C4 C0 5E 02 E0 */ lfs f2, 0x2e0(r30) -/* 80124568 001214C8 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 8012456C 001214CC EC 64 18 28 */ fsubs f3, f4, f3 -/* 80124570 001214D0 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80124574 001214D4 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80124578 001214D8 D0 A1 00 40 */ stfs f5, 0x40(r1) -/* 8012457C 001214DC D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 80124580 001214E0 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80124584 001214E4 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80124588 001214E8 48 1F 02 C9 */ bl AsNormalized__9CVector3fCFv -/* 8012458C 001214EC C0 9E 00 48 */ lfs f4, 0x48(r30) -/* 80124590 001214F0 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80124594 001214F4 C0 7E 00 38 */ lfs f3, 0x38(r30) -/* 80124598 001214F8 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8012459C 001214FC C0 21 00 14 */ lfs f1, 0x14(r1) -/* 801245A0 00121500 C0 BE 00 58 */ lfs f5, 0x58(r30) -/* 801245A4 00121504 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 801245A8 00121508 EC 23 00 7A */ fmadds f1, f3, f1, f0 -/* 801245AC 0012150C C0 02 98 34 */ lfs f0, lbl_805AB554@sda21(r2) -/* 801245B0 00121510 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 801245B4 00121514 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 801245B8 00121518 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 801245BC 0012151C D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 801245C0 00121520 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801245C4 00121524 40 80 00 58 */ bge lbl_8012461C -/* 801245C8 00121528 38 00 00 01 */ li r0, 1 -/* 801245CC 0012152C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 801245D0 00121530 48 00 00 4C */ b lbl_8012461C -lbl_801245D4: -/* 801245D4 00121534 3C A0 80 3E */ lis r5, lbl_803E07A0@ha -/* 801245D8 00121538 38 C1 00 08 */ addi r6, r1, 8 -/* 801245DC 0012153C 39 45 07 A0 */ addi r10, r5, lbl_803E07A0@l -/* 801245E0 00121540 38 A0 00 08 */ li r5, 8 -/* 801245E4 00121544 81 2A 00 00 */ lwz r9, 0(r10) -/* 801245E8 00121548 38 E0 00 00 */ li r7, 0 -/* 801245EC 0012154C 81 0A 00 04 */ lwz r8, 4(r10) -/* 801245F0 00121550 80 0A 00 08 */ lwz r0, 8(r10) -/* 801245F4 00121554 91 21 00 08 */ stw r9, 8(r1) -/* 801245F8 00121558 91 01 00 0C */ stw r8, 0xc(r1) -/* 801245FC 0012155C 90 01 00 10 */ stw r0, 0x10(r1) -/* 80124600 00121560 4B F5 81 B5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80124604 00121564 7F C3 F3 78 */ mr r3, r30 -/* 80124608 00121568 7F E4 FB 78 */ mr r4, r31 -/* 8012460C 0012156C 48 00 49 91 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager -/* 80124610 00121570 48 00 00 0C */ b lbl_8012461C -lbl_80124614: -/* 80124614 00121574 38 00 00 00 */ li r0, 0 -/* 80124618 00121578 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_8012461C: -/* 8012461C 0012157C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80124620 00121580 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80124624 00121584 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80124628 00121588 7C 08 03 A6 */ mtlr r0 -/* 8012462C 0012158C 38 21 00 50 */ addi r1, r1, 0x50 -/* 80124630 00121590 4E 80 00 20 */ blr - -.global Shuffle__12CSpacePirateFR13CStateManager9EStateMsgf -Shuffle__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80124634 00121594 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80124638 00121598 7C 08 02 A6 */ mflr r0 -/* 8012463C 0012159C 90 01 01 24 */ stw r0, 0x124(r1) -/* 80124640 001215A0 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 80124644 001215A4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 80124648 001215A8 DB C1 01 00 */ stfd f30, 0x100(r1) -/* 8012464C 001215AC F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 -/* 80124650 001215B0 DB A1 00 F0 */ stfd f29, 0xf0(r1) -/* 80124654 001215B4 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 -/* 80124658 001215B8 93 E1 00 EC */ stw r31, 0xec(r1) -/* 8012465C 001215BC 93 C1 00 E8 */ stw r30, 0xe8(r1) -/* 80124660 001215C0 93 A1 00 E4 */ stw r29, 0xe4(r1) -/* 80124664 001215C4 7C BF 2B 79 */ or. r31, r5, r5 -/* 80124668 001215C8 FF C0 08 90 */ fmr f30, f1 -/* 8012466C 001215CC 7C 7D 1B 78 */ mr r29, r3 -/* 80124670 001215D0 7C 9E 23 78 */ mr r30, r4 -/* 80124674 001215D4 41 82 00 08 */ beq lbl_8012467C -/* 80124678 001215D8 48 00 02 D0 */ b lbl_80124948 -lbl_8012467C: -/* 8012467C 001215DC 80 BD 04 50 */ lwz r5, 0x450(r29) -/* 80124680 001215E0 38 00 00 00 */ li r0, 0 -/* 80124684 001215E4 90 05 00 34 */ stw r0, 0x34(r5) -/* 80124688 001215E8 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012468C 001215EC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80124690 001215F0 40 82 01 34 */ bne lbl_801247C4 -/* 80124694 001215F4 81 83 00 00 */ lwz r12, 0(r3) -/* 80124698 001215F8 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 8012469C 001215FC 81 8C 01 9C */ lwz r12, 0x19c(r12) -/* 801246A0 00121600 7D 89 03 A6 */ mtctr r12 -/* 801246A4 00121604 4E 80 04 21 */ bctrl -/* 801246A8 00121608 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801246AC 0012160C 41 82 01 18 */ beq lbl_801247C4 -/* 801246B0 00121610 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 801246B4 00121614 7F C4 F3 78 */ mr r4, r30 -/* 801246B8 00121618 C0 42 98 1C */ lfs f2, lbl_805AB53C@sda21(r2) -/* 801246BC 0012161C 38 61 00 5C */ addi r3, r1, 0x5c -/* 801246C0 00121620 48 00 47 1D */ bl Random2f__FR13CStateManagerff -/* 801246C4 00121624 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 801246C8 00121628 38 61 00 8C */ addi r3, r1, 0x8c -/* 801246CC 0012162C C0 FD 00 60 */ lfs f7, 0x60(r29) -/* 801246D0 00121630 38 81 00 80 */ addi r4, r1, 0x80 -/* 801246D4 00121634 C0 A5 00 60 */ lfs f5, 0x60(r5) -/* 801246D8 00121638 C0 85 00 50 */ lfs f4, 0x50(r5) -/* 801246DC 0012163C C0 DD 00 50 */ lfs f6, 0x50(r29) -/* 801246E0 00121640 EC 47 28 28 */ fsubs f2, f7, f5 -/* 801246E4 00121644 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 801246E8 00121648 C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 801246EC 0012164C EC 66 20 28 */ fsubs f3, f6, f4 -/* 801246F0 00121650 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 801246F4 00121654 EC 01 00 28 */ fsubs f0, f1, f0 -/* 801246F8 00121658 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 801246FC 0012165C D0 A1 00 70 */ stfs f5, 0x70(r1) -/* 80124700 00121660 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80124704 00121664 D0 C1 00 78 */ stfs f6, 0x78(r1) -/* 80124708 00121668 D0 E1 00 7C */ stfs f7, 0x7c(r1) -/* 8012470C 0012166C D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80124710 00121670 D0 61 00 84 */ stfs f3, 0x84(r1) -/* 80124714 00121674 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 80124718 00121678 48 1F 01 39 */ bl AsNormalized__9CVector3fCFv -/* 8012471C 0012167C C0 7D 02 FC */ lfs f3, 0x2fc(r29) -/* 80124720 00121680 7F A3 EB 78 */ mr r3, r29 -/* 80124724 00121684 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 80124728 00121688 38 81 00 BC */ addi r4, r1, 0xbc -/* 8012472C 0012168C C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 80124730 00121690 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 80124734 00121694 EC E3 00 B2 */ fmuls f7, f3, f2 -/* 80124738 00121698 C1 7D 00 60 */ lfs f11, 0x60(r29) -/* 8012473C 0012169C EC C3 00 72 */ fmuls f6, f3, f1 -/* 80124740 001216A0 C0 9D 00 40 */ lfs f4, 0x40(r29) -/* 80124744 001216A4 EC A3 00 32 */ fmuls f5, f3, f0 -/* 80124748 001216A8 C1 5D 00 50 */ lfs f10, 0x50(r29) -/* 8012474C 001216AC ED 0B 38 2A */ fadds f8, f11, f7 -/* 80124750 001216B0 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 80124754 001216B4 ED 2A 28 2A */ fadds f9, f10, f5 -/* 80124758 001216B8 C0 41 00 60 */ lfs f2, 0x60(r1) -/* 8012475C 001216BC EC 64 30 2A */ fadds f3, f4, f6 -/* 80124760 001216C0 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 80124764 001216C4 EC 49 10 2A */ fadds f2, f9, f2 -/* 80124768 001216C8 D0 C1 00 98 */ stfs f6, 0x98(r1) -/* 8012476C 001216CC EC 28 08 2A */ fadds f1, f8, f1 -/* 80124770 001216D0 EC 03 00 2A */ fadds f0, f3, f0 -/* 80124774 001216D4 D0 A1 00 9C */ stfs f5, 0x9c(r1) -/* 80124778 001216D8 D0 E1 00 A0 */ stfs f7, 0xa0(r1) -/* 8012477C 001216DC D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 80124780 001216E0 D1 41 00 A8 */ stfs f10, 0xa8(r1) -/* 80124784 001216E4 D1 61 00 AC */ stfs f11, 0xac(r1) -/* 80124788 001216E8 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 8012478C 001216EC D1 21 00 B4 */ stfs f9, 0xb4(r1) -/* 80124790 001216F0 D1 01 00 B8 */ stfs f8, 0xb8(r1) -/* 80124794 001216F4 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 80124798 001216F8 D0 41 00 C0 */ stfs f2, 0xc0(r1) -/* 8012479C 001216FC D0 21 00 C4 */ stfs f1, 0xc4(r1) -/* 801247A0 00121700 4B F5 83 BD */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 801247A4 00121704 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801247A8 00121708 38 60 00 01 */ li r3, 1 -/* 801247AC 0012170C B0 1D 02 DC */ sth r0, 0x2dc(r29) -/* 801247B0 00121710 90 7D 03 0C */ stw r3, 0x30c(r29) -/* 801247B4 00121714 88 1D 06 36 */ lbz r0, 0x636(r29) -/* 801247B8 00121718 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 801247BC 0012171C 98 1D 06 36 */ stb r0, 0x636(r29) -/* 801247C0 00121720 48 00 01 80 */ b lbl_80124940 -lbl_801247C4: -/* 801247C4 00121724 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 801247C8 00121728 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 801247CC 0012172C 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l -/* 801247D0 00121730 C0 7D 00 50 */ lfs f3, 0x50(r29) -/* 801247D4 00121734 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 801247D8 00121738 C0 3D 00 60 */ lfs f1, 0x60(r29) -/* 801247DC 0012173C C0 04 00 60 */ lfs f0, 0x60(r4) -/* 801247E0 00121740 EC A3 10 28 */ fsubs f5, f3, f2 -/* 801247E4 00121744 C0 E3 00 08 */ lfs f7, 8(r3) -/* 801247E8 00121748 C0 5D 00 40 */ lfs f2, 0x40(r29) -/* 801247EC 0012174C EC 81 00 28 */ fsubs f4, f1, f0 -/* 801247F0 00121750 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 801247F4 00121754 EC 05 01 F2 */ fmuls f0, f5, f7 -/* 801247F8 00121758 C0 C3 00 04 */ lfs f6, 4(r3) -/* 801247FC 0012175C EC 62 08 28 */ fsubs f3, f2, f1 -/* 80124800 00121760 C1 03 00 00 */ lfs f8, 0(r3) -/* 80124804 00121764 EC 26 01 38 */ fmsubs f1, f6, f4, f0 -/* 80124808 00121768 D0 A1 00 D8 */ stfs f5, 0xd8(r1) -/* 8012480C 0012176C EC 04 02 32 */ fmuls f0, f4, f8 -/* 80124810 00121770 EC 43 01 B2 */ fmuls f2, f3, f6 -/* 80124814 00121774 D0 61 00 D4 */ stfs f3, 0xd4(r1) -/* 80124818 00121778 EC 07 00 F8 */ fmsubs f0, f7, f3, f0 -/* 8012481C 0012177C EC 48 11 78 */ fmsubs f2, f8, f5, f2 -/* 80124820 00121780 D0 81 00 DC */ stfs f4, 0xdc(r1) -/* 80124824 00121784 D0 21 00 C8 */ stfs f1, 0xc8(r1) -/* 80124828 00121788 D0 01 00 CC */ stfs f0, 0xcc(r1) -/* 8012482C 0012178C D0 41 00 D0 */ stfs f2, 0xd0(r1) -/* 80124830 00121790 C3 FD 03 00 */ lfs f31, 0x300(r29) -/* 80124834 00121794 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80124838 00121798 48 1E DC A5 */ bl Float__9CRandom16Fv -/* 8012483C 0012179C EF FF F8 7A */ fmadds f31, f31, f1, f31 -/* 80124840 001217A0 80 7E 09 00 */ lwz r3, 0x900(r30) -/* 80124844 001217A4 48 1E DC 99 */ bl Float__9CRandom16Fv -/* 80124848 001217A8 C0 62 97 D0 */ lfs f3, lbl_805AB4F0@sda21(r2) -/* 8012484C 001217AC 38 61 00 08 */ addi r3, r1, 8 -/* 80124850 001217B0 C0 42 97 DC */ lfs f2, lbl_805AB4FC@sda21(r2) -/* 80124854 001217B4 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 80124858 001217B8 C0 1D 03 00 */ lfs f0, 0x300(r29) -/* 8012485C 001217BC EC 21 18 28 */ fsubs f1, f1, f3 -/* 80124860 001217C0 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80124864 001217C4 EF A0 00 72 */ fmuls f29, f0, f1 -/* 80124868 001217C8 48 1E FF E9 */ bl AsNormalized__9CVector3fCFv -/* 8012486C 001217CC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80124870 001217D0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80124874 001217D4 C0 21 00 08 */ lfs f1, 8(r1) -/* 80124878 001217D8 38 81 00 D4 */ addi r4, r1, 0xd4 -/* 8012487C 001217DC C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80124880 001217E0 EC 5D 00 B2 */ fmuls f2, f29, f2 -/* 80124884 001217E4 EC 3D 00 72 */ fmuls f1, f29, f1 -/* 80124888 001217E8 EC 1D 00 32 */ fmuls f0, f29, f0 -/* 8012488C 001217EC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80124890 001217F0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80124894 001217F4 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80124898 001217F8 48 1E FF B9 */ bl AsNormalized__9CVector3fCFv -/* 8012489C 001217FC C0 01 00 28 */ lfs f0, 0x28(r1) -/* 801248A0 00121800 7F A3 EB 78 */ mr r3, r29 -/* 801248A4 00121804 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 801248A8 00121808 38 81 00 50 */ addi r4, r1, 0x50 -/* 801248AC 0012180C C0 21 00 20 */ lfs f1, 0x20(r1) -/* 801248B0 00121810 EC FF 00 32 */ fmuls f7, f31, f0 -/* 801248B4 00121814 C1 65 00 60 */ lfs f11, 0x60(r5) -/* 801248B8 00121818 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 801248BC 0012181C EC DF 00 72 */ fmuls f6, f31, f1 -/* 801248C0 00121820 C0 85 00 40 */ lfs f4, 0x40(r5) -/* 801248C4 00121824 ED 0B 38 2A */ fadds f8, f11, f7 -/* 801248C8 00121828 EC BF 00 32 */ fmuls f5, f31, f0 -/* 801248CC 0012182C C1 45 00 50 */ lfs f10, 0x50(r5) -/* 801248D0 00121830 EC 64 30 2A */ fadds f3, f4, f6 -/* 801248D4 00121834 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 801248D8 00121838 ED 2A 28 2A */ fadds f9, f10, f5 -/* 801248DC 0012183C C0 41 00 18 */ lfs f2, 0x18(r1) -/* 801248E0 00121840 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 801248E4 00121844 EC 28 08 2A */ fadds f1, f8, f1 -/* 801248E8 00121848 D0 C1 00 2C */ stfs f6, 0x2c(r1) -/* 801248EC 0012184C EC 49 10 2A */ fadds f2, f9, f2 -/* 801248F0 00121850 EC 03 00 2A */ fadds f0, f3, f0 -/* 801248F4 00121854 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 801248F8 00121858 D0 E1 00 34 */ stfs f7, 0x34(r1) -/* 801248FC 0012185C D0 81 00 38 */ stfs f4, 0x38(r1) -/* 80124900 00121860 D1 41 00 3C */ stfs f10, 0x3c(r1) -/* 80124904 00121864 D1 61 00 40 */ stfs f11, 0x40(r1) -/* 80124908 00121868 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 8012490C 0012186C D1 21 00 48 */ stfs f9, 0x48(r1) -/* 80124910 00121870 D1 01 00 4C */ stfs f8, 0x4c(r1) -/* 80124914 00121874 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80124918 00121878 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8012491C 0012187C D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80124920 00121880 4B F5 82 3D */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80124924 00121884 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80124928 00121888 38 60 00 00 */ li r3, 0 -/* 8012492C 0012188C B0 1D 02 DC */ sth r0, 0x2dc(r29) -/* 80124930 00121890 90 7D 03 0C */ stw r3, 0x30c(r29) -/* 80124934 00121894 88 1D 06 36 */ lbz r0, 0x636(r29) -/* 80124938 00121898 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8012493C 0012189C 98 1D 06 36 */ stb r0, 0x636(r29) -lbl_80124940: -/* 80124940 001218A0 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80124944 001218A4 D0 1D 06 44 */ stfs f0, 0x644(r29) -lbl_80124948: -/* 80124948 001218A8 FC 20 F0 90 */ fmr f1, f30 -/* 8012494C 001218AC 7F A3 EB 78 */ mr r3, r29 -/* 80124950 001218B0 7F C4 F3 78 */ mr r4, r30 -/* 80124954 001218B4 7F E5 FB 78 */ mr r5, r31 -/* 80124958 001218B8 48 0D 1D 75 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8012495C 001218BC 2C 1F 00 02 */ cmpwi r31, 2 -/* 80124960 001218C0 41 82 00 24 */ beq lbl_80124984 -/* 80124964 001218C4 40 80 00 30 */ bge lbl_80124994 -/* 80124968 001218C8 2C 1F 00 01 */ cmpwi r31, 1 -/* 8012496C 001218CC 40 80 00 08 */ bge lbl_80124974 -/* 80124970 001218D0 48 00 00 24 */ b lbl_80124994 -lbl_80124974: -/* 80124974 001218D4 7F A3 EB 78 */ mr r3, r29 -/* 80124978 001218D8 7F C4 F3 78 */ mr r4, r30 -/* 8012497C 001218DC 48 00 42 55 */ bl AvoidActors__12CSpacePirateFR13CStateManager -/* 80124980 001218E0 48 00 00 14 */ b lbl_80124994 -lbl_80124984: -/* 80124984 001218E4 88 1D 06 36 */ lbz r0, 0x636(r29) -/* 80124988 001218E8 38 60 00 00 */ li r3, 0 -/* 8012498C 001218EC 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80124990 001218F0 98 1D 06 36 */ stb r0, 0x636(r29) -lbl_80124994: -/* 80124994 001218F4 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 80124998 001218F8 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 8012499C 001218FC E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 -/* 801249A0 00121900 CB C1 01 00 */ lfd f30, 0x100(r1) -/* 801249A4 00121904 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 -/* 801249A8 00121908 CB A1 00 F0 */ lfd f29, 0xf0(r1) -/* 801249AC 0012190C 83 E1 00 EC */ lwz r31, 0xec(r1) -/* 801249B0 00121910 83 C1 00 E8 */ lwz r30, 0xe8(r1) -/* 801249B4 00121914 80 01 01 24 */ lwz r0, 0x124(r1) -/* 801249B8 00121918 83 A1 00 E4 */ lwz r29, 0xe4(r1) -/* 801249BC 0012191C 7C 08 03 A6 */ mtlr r0 -/* 801249C0 00121920 38 21 01 20 */ addi r1, r1, 0x120 -/* 801249C4 00121924 4E 80 00 20 */ blr - -.global InRange__12CSpacePirateFR13CStateManagerf -InRange__12CSpacePirateFR13CStateManagerf: -/* 801249C8 00121928 88 03 06 39 */ lbz r0, 0x639(r3) -/* 801249CC 0012192C 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 801249D0 00121930 4E 80 00 20 */ blr - -.global PathFind__12CSpacePirateFR13CStateManager9EStateMsgf -PathFind__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801249D4 00121934 94 21 FE 60 */ stwu r1, -0x1a0(r1) -/* 801249D8 00121938 7C 08 02 A6 */ mflr r0 -/* 801249DC 0012193C 90 01 01 A4 */ stw r0, 0x1a4(r1) -/* 801249E0 00121940 DB E1 01 90 */ stfd f31, 0x190(r1) -/* 801249E4 00121944 F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 -/* 801249E8 00121948 DB C1 01 80 */ stfd f30, 0x180(r1) -/* 801249EC 0012194C F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 -/* 801249F0 00121950 DB A1 01 70 */ stfd f29, 0x170(r1) -/* 801249F4 00121954 F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 -/* 801249F8 00121958 BF 01 01 50 */ stmw r24, 0x150(r1) -/* 801249FC 0012195C FF A0 08 90 */ fmr f29, f1 -/* 80124A00 00121960 2C 05 00 01 */ cmpwi r5, 1 -/* 80124A04 00121964 7C 7A 1B 78 */ mr r26, r3 -/* 80124A08 00121968 7C 9B 23 78 */ mr r27, r4 -/* 80124A0C 0012196C 41 82 06 3C */ beq lbl_80125048 -/* 80124A10 00121970 40 80 00 10 */ bge lbl_80124A20 -/* 80124A14 00121974 2C 05 00 00 */ cmpwi r5, 0 -/* 80124A18 00121978 40 80 00 14 */ bge lbl_80124A2C -/* 80124A1C 0012197C 48 00 08 9C */ b lbl_801252B8 -lbl_80124A20: -/* 80124A20 00121980 2C 05 00 03 */ cmpwi r5, 3 -/* 80124A24 00121984 40 80 08 94 */ bge lbl_801252B8 -/* 80124A28 00121988 48 00 08 60 */ b lbl_80125288 -lbl_80124A2C: -/* 80124A2C 0012198C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80124A30 00121990 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80124A34 00121994 B0 1A 08 40 */ sth r0, 0x840(r26) -/* 80124A38 00121998 A0 1A 06 40 */ lhz r0, 0x640(r26) -/* 80124A3C 0012199C B0 01 00 28 */ sth r0, 0x28(r1) -/* 80124A40 001219A0 4B F5 7E 6D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80124A44 001219A4 28 03 00 00 */ cmplwi r3, 0 -/* 80124A48 001219A8 41 82 00 4C */ beq lbl_80124A94 -/* 80124A4C 001219AC C0 5A 00 60 */ lfs f2, 0x60(r26) -/* 80124A50 001219B0 38 80 00 00 */ li r4, 0 -/* 80124A54 001219B4 C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80124A58 001219B8 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 80124A5C 001219BC D0 1A 02 EC */ stfs f0, 0x2ec(r26) -/* 80124A60 001219C0 D0 3A 02 F0 */ stfs f1, 0x2f0(r26) -/* 80124A64 001219C4 D0 5A 02 F4 */ stfs f2, 0x2f4(r26) -/* 80124A68 001219C8 88 1A 03 28 */ lbz r0, 0x328(r26) -/* 80124A6C 001219CC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80124A70 001219D0 98 1A 03 28 */ stb r0, 0x328(r26) -/* 80124A74 001219D4 A0 03 00 08 */ lhz r0, 8(r3) -/* 80124A78 001219D8 B0 1A 02 DC */ sth r0, 0x2dc(r26) -/* 80124A7C 001219DC C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80124A80 001219E0 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80124A84 001219E4 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80124A88 001219E8 D0 1A 02 E0 */ stfs f0, 0x2e0(r26) -/* 80124A8C 001219EC D0 3A 02 E4 */ stfs f1, 0x2e4(r26) -/* 80124A90 001219F0 D0 5A 02 E8 */ stfs f2, 0x2e8(r26) -lbl_80124A94: -/* 80124A94 001219F4 C0 5A 00 60 */ lfs f2, 0x60(r26) -/* 80124A98 001219F8 7F 43 D3 78 */ mr r3, r26 -/* 80124A9C 001219FC C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80124AA0 00121A00 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 80124AA4 00121A04 D0 01 01 0C */ stfs f0, 0x10c(r1) -/* 80124AA8 00121A08 D0 21 01 10 */ stfs f1, 0x110(r1) -/* 80124AAC 00121A0C D0 41 01 14 */ stfs f2, 0x114(r1) -/* 80124AB0 00121A10 81 9A 00 00 */ lwz r12, 0(r26) -/* 80124AB4 00121A14 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80124AB8 00121A18 7D 89 03 A6 */ mtctr r12 -/* 80124ABC 00121A1C 4E 80 04 21 */ bctrl -/* 80124AC0 00121A20 38 81 01 0C */ addi r4, r1, 0x10c -/* 80124AC4 00121A24 38 BA 02 E0 */ addi r5, r26, 0x2e0 -/* 80124AC8 00121A28 48 0A 31 A5 */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f -/* 80124ACC 00121A2C 2C 03 00 00 */ cmpwi r3, 0 -/* 80124AD0 00121A30 40 82 00 FC */ bne lbl_80124BCC -/* 80124AD4 00121A34 C0 5A 00 60 */ lfs f2, 0x60(r26) -/* 80124AD8 00121A38 7F 43 D3 78 */ mr r3, r26 -/* 80124ADC 00121A3C C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80124AE0 00121A40 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 80124AE4 00121A44 D0 1A 02 EC */ stfs f0, 0x2ec(r26) -/* 80124AE8 00121A48 D0 3A 02 F0 */ stfs f1, 0x2f0(r26) -/* 80124AEC 00121A4C D0 5A 02 F4 */ stfs f2, 0x2f4(r26) -/* 80124AF0 00121A50 81 9A 00 00 */ lwz r12, 0(r26) -/* 80124AF4 00121A54 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80124AF8 00121A58 7D 89 03 A6 */ mtctr r12 -/* 80124AFC 00121A5C 4E 80 04 21 */ bctrl -/* 80124B00 00121A60 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 80124B04 00121A64 80 03 00 04 */ lwz r0, 4(r3) -/* 80124B08 00121A68 38 85 00 01 */ addi r4, r5, 1 -/* 80124B0C 00121A6C 7C 04 00 00 */ cmpw r4, r0 -/* 80124B10 00121A70 40 80 00 14 */ bge lbl_80124B24 -/* 80124B14 00121A74 1C 04 00 0C */ mulli r0, r4, 0xc -/* 80124B18 00121A78 7C C3 02 14 */ add r6, r3, r0 -/* 80124B1C 00121A7C 38 C6 00 08 */ addi r6, r6, 8 -/* 80124B20 00121A80 48 00 00 10 */ b lbl_80124B30 -lbl_80124B24: -/* 80124B24 00121A84 1C 05 00 0C */ mulli r0, r5, 0xc -/* 80124B28 00121A88 7C C3 02 14 */ add r6, r3, r0 -/* 80124B2C 00121A8C 38 C6 00 08 */ addi r6, r6, 8 -lbl_80124B30: -/* 80124B30 00121A90 C0 26 00 00 */ lfs f1, 0(r6) -/* 80124B34 00121A94 38 A0 00 00 */ li r5, 0 -/* 80124B38 00121A98 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80124B3C 00121A9C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80124B40 00121AA0 D0 3A 02 E0 */ stfs f1, 0x2e0(r26) -/* 80124B44 00121AA4 38 81 01 34 */ addi r4, r1, 0x134 -/* 80124B48 00121AA8 C0 26 00 04 */ lfs f1, 4(r6) -/* 80124B4C 00121AAC D0 3A 02 E4 */ stfs f1, 0x2e4(r26) -/* 80124B50 00121AB0 C0 26 00 08 */ lfs f1, 8(r6) -/* 80124B54 00121AB4 D0 3A 02 E8 */ stfs f1, 0x2e8(r26) -/* 80124B58 00121AB8 88 1A 03 28 */ lbz r0, 0x328(r26) -/* 80124B5C 00121ABC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80124B60 00121AC0 98 1A 03 28 */ stb r0, 0x328(r26) -/* 80124B64 00121AC4 C0 5A 02 E4 */ lfs f2, 0x2e4(r26) -/* 80124B68 00121AC8 C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80124B6C 00121ACC C0 9A 02 E8 */ lfs f4, 0x2e8(r26) -/* 80124B70 00121AD0 EC C2 08 28 */ fsubs f6, f2, f1 -/* 80124B74 00121AD4 C0 7A 00 60 */ lfs f3, 0x60(r26) -/* 80124B78 00121AD8 C0 5A 02 E0 */ lfs f2, 0x2e0(r26) -/* 80124B7C 00121ADC C0 3A 00 40 */ lfs f1, 0x40(r26) -/* 80124B80 00121AE0 EC A4 18 28 */ fsubs f5, f4, f3 -/* 80124B84 00121AE4 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 80124B88 00121AE8 EC 82 08 28 */ fsubs f4, f2, f1 -/* 80124B8C 00121AEC D0 C1 01 38 */ stfs f6, 0x138(r1) -/* 80124B90 00121AF0 C0 43 00 04 */ lfs f2, 4(r3) -/* 80124B94 00121AF4 C0 23 00 08 */ lfs f1, 8(r3) -/* 80124B98 00121AF8 D0 81 01 34 */ stfs f4, 0x134(r1) -/* 80124B9C 00121AFC D0 A1 01 3C */ stfs f5, 0x13c(r1) -/* 80124BA0 00121B00 D0 61 01 40 */ stfs f3, 0x140(r1) -/* 80124BA4 00121B04 D0 41 01 44 */ stfs f2, 0x144(r1) -/* 80124BA8 00121B08 D0 21 01 48 */ stfs f1, 0x148(r1) -/* 80124BAC 00121B0C D0 01 01 4C */ stfs f0, 0x14c(r1) -/* 80124BB0 00121B10 80 7A 04 50 */ lwz r3, 0x450(r26) -/* 80124BB4 00121B14 D0 81 01 00 */ stfs f4, 0x100(r1) -/* 80124BB8 00121B18 38 63 00 04 */ addi r3, r3, 4 -/* 80124BBC 00121B1C D0 C1 01 04 */ stfs f6, 0x104(r1) -/* 80124BC0 00121B20 D0 A1 01 08 */ stfs f5, 0x108(r1) -/* 80124BC4 00121B24 48 00 CB 55 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 80124BC8 00121B28 48 00 04 3C */ b lbl_80125004 -lbl_80124BCC: -/* 80124BCC 00121B2C 83 FB 08 40 */ lwz r31, 0x840(r27) -/* 80124BD0 00121B30 3B A0 00 00 */ li r29, 0 -/* 80124BD4 00121B34 C3 A2 98 10 */ lfs f29, lbl_805AB530@sda21(r2) -/* 80124BD8 00121B38 AB 9F 20 08 */ lha r28, 0x2008(r31) -/* 80124BDC 00121B3C 48 00 02 90 */ b lbl_80124E6C -lbl_80124BE0: -/* 80124BE0 00121B40 7F E3 FB 78 */ mr r3, r31 -/* 80124BE4 00121B44 7F 84 E3 78 */ mr r4, r28 -/* 80124BE8 00121B48 4B EE B1 2D */ bl __vc__11CObjectListFi -/* 80124BEC 00121B4C 7C 64 1B 78 */ mr r4, r3 -/* 80124BF0 00121B50 38 61 00 44 */ addi r3, r1, 0x44 -/* 80124BF4 00121B54 4B F8 6A ED */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" -/* 80124BF8 00121B58 83 C3 00 04 */ lwz r30, 4(r3) -/* 80124BFC 00121B5C 28 1E 00 00 */ cmplwi r30, 0 -/* 80124C00 00121B60 41 82 02 50 */ beq lbl_80124E50 -/* 80124C04 00121B64 88 1E 00 30 */ lbz r0, 0x30(r30) -/* 80124C08 00121B68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80124C0C 00121B6C 41 82 02 44 */ beq lbl_80124E50 -/* 80124C10 00121B70 A0 1A 00 08 */ lhz r0, 8(r26) -/* 80124C14 00121B74 7F C3 F3 78 */ mr r3, r30 -/* 80124C18 00121B78 38 81 00 24 */ addi r4, r1, 0x24 -/* 80124C1C 00121B7C B0 01 00 20 */ sth r0, 0x20(r1) -/* 80124C20 00121B80 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80124C24 00121B84 48 0C A6 B1 */ bl GetInUse__18CScriptAiJumpPointCF9TUniqueId -/* 80124C28 00121B88 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80124C2C 00121B8C 40 82 02 24 */ bne lbl_80124E50 -/* 80124C30 00121B90 A0 7E 01 0E */ lhz r3, 0x10e(r30) -/* 80124C34 00121B94 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80124C38 00121B98 7C 03 00 40 */ cmplw r3, r0 -/* 80124C3C 00121B9C 40 82 02 14 */ bne lbl_80124E50 -/* 80124C40 00121BA0 80 7E 00 04 */ lwz r3, 4(r30) -/* 80124C44 00121BA4 80 1A 00 04 */ lwz r0, 4(r26) -/* 80124C48 00121BA8 7C 03 00 00 */ cmpw r3, r0 -/* 80124C4C 00121BAC 40 82 02 04 */ bne lbl_80124E50 -/* 80124C50 00121BB0 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80124C54 00121BB4 C0 1A 00 50 */ lfs f0, 0x50(r26) -/* 80124C58 00121BB8 C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80124C5C 00121BBC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80124C60 00121BC0 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 80124C64 00121BC4 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80124C68 00121BC8 EC 63 00 28 */ fsubs f3, f3, f0 -/* 80124C6C 00121BCC C0 1A 00 60 */ lfs f0, 0x60(r26) -/* 80124C70 00121BD0 EC 24 01 32 */ fmuls f1, f4, f4 -/* 80124C74 00121BD4 EF E2 00 28 */ fsubs f31, f2, f0 -/* 80124C78 00121BD8 C0 02 98 38 */ lfs f0, lbl_805AB558@sda21(r2) -/* 80124C7C 00121BDC EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 80124C80 00121BE0 EF DF 0F FA */ fmadds f30, f31, f31, f1 -/* 80124C84 00121BE4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80124C88 00121BE8 40 81 01 C8 */ ble lbl_80124E50 -/* 80124C8C 00121BEC C0 BE 00 48 */ lfs f5, 0x48(r30) -/* 80124C90 00121BF0 C0 5E 00 38 */ lfs f2, 0x38(r30) -/* 80124C94 00121BF4 EC 25 01 32 */ fmuls f1, f5, f4 -/* 80124C98 00121BF8 C0 9E 00 58 */ lfs f4, 0x58(r30) -/* 80124C9C 00121BFC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80124CA0 00121C00 D0 41 00 F4 */ stfs f2, 0xf4(r1) -/* 80124CA4 00121C04 EC 22 08 FA */ fmadds f1, f2, f3, f1 -/* 80124CA8 00121C08 D0 A1 00 F8 */ stfs f5, 0xf8(r1) -/* 80124CAC 00121C0C EC 24 0F FA */ fmadds f1, f4, f31, f1 -/* 80124CB0 00121C10 D0 81 00 FC */ stfs f4, 0xfc(r1) -/* 80124CB4 00121C14 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80124CB8 00121C18 40 81 01 98 */ ble lbl_80124E50 -/* 80124CBC 00121C1C A0 1E 01 0C */ lhz r0, 0x10c(r30) -/* 80124CC0 00121C20 7F 63 DB 78 */ mr r3, r27 -/* 80124CC4 00121C24 38 81 00 1C */ addi r4, r1, 0x1c -/* 80124CC8 00121C28 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80124CCC 00121C2C B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80124CD0 00121C30 4B F2 78 D5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80124CD4 00121C34 7C 64 1B 78 */ mr r4, r3 -/* 80124CD8 00121C38 38 61 00 34 */ addi r3, r1, 0x34 -/* 80124CDC 00121C3C 4B F8 18 71 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80124CE0 00121C40 83 23 00 04 */ lwz r25, 4(r3) -/* 80124CE4 00121C44 28 19 00 00 */ cmplwi r25, 0 -/* 80124CE8 00121C48 41 82 01 68 */ beq lbl_80124E50 -/* 80124CEC 00121C4C C1 9E 00 60 */ lfs f12, 0x60(r30) -/* 80124CF0 00121C50 C1 59 00 60 */ lfs f10, 0x60(r25) -/* 80124CF4 00121C54 C1 3A 00 60 */ lfs f9, 0x60(r26) -/* 80124CF8 00121C58 C0 1A 02 E8 */ lfs f0, 0x2e8(r26) -/* 80124CFC 00121C5C EC 2A 60 28 */ fsubs f1, f10, f12 -/* 80124D00 00121C60 C1 7E 00 50 */ lfs f11, 0x50(r30) -/* 80124D04 00121C64 EC 40 48 28 */ fsubs f2, f0, f9 -/* 80124D08 00121C68 C0 BE 00 40 */ lfs f5, 0x40(r30) -/* 80124D0C 00121C6C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80124D10 00121C70 C0 D9 00 50 */ lfs f6, 0x50(r25) -/* 80124D14 00121C74 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80124D18 00121C78 C0 99 00 40 */ lfs f4, 0x40(r25) -/* 80124D1C 00121C7C C1 1A 00 50 */ lfs f8, 0x50(r26) -/* 80124D20 00121C80 C0 7A 00 40 */ lfs f3, 0x40(r26) -/* 80124D24 00121C84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80124D28 00121C88 D0 A1 00 D0 */ stfs f5, 0xd0(r1) -/* 80124D2C 00121C8C D1 61 00 D4 */ stfs f11, 0xd4(r1) -/* 80124D30 00121C90 D1 81 00 D8 */ stfs f12, 0xd8(r1) -/* 80124D34 00121C94 D0 81 00 DC */ stfs f4, 0xdc(r1) -/* 80124D38 00121C98 D0 C1 00 E0 */ stfs f6, 0xe0(r1) -/* 80124D3C 00121C9C D1 41 00 E4 */ stfs f10, 0xe4(r1) -/* 80124D40 00121CA0 D0 61 00 E8 */ stfs f3, 0xe8(r1) -/* 80124D44 00121CA4 D1 01 00 EC */ stfs f8, 0xec(r1) -/* 80124D48 00121CA8 D1 21 00 F0 */ stfs f9, 0xf0(r1) -/* 80124D4C 00121CAC 40 81 01 04 */ ble lbl_80124E50 -/* 80124D50 00121CB0 C0 1A 02 E4 */ lfs f0, 0x2e4(r26) -/* 80124D54 00121CB4 C0 3A 02 E0 */ lfs f1, 0x2e0(r26) -/* 80124D58 00121CB8 EC C0 30 28 */ fsubs f6, f0, f6 -/* 80124D5C 00121CBC C0 1A 02 E8 */ lfs f0, 0x2e8(r26) -/* 80124D60 00121CC0 C0 42 98 28 */ lfs f2, lbl_805AB548@sda21(r2) -/* 80124D64 00121CC4 EC E1 20 28 */ fsubs f7, f1, f4 -/* 80124D68 00121CC8 EC 80 50 28 */ fsubs f4, f0, f10 -/* 80124D6C 00121CCC C0 22 98 14 */ lfs f1, lbl_805AB534@sda21(r2) -/* 80124D70 00121CD0 EC 06 01 B2 */ fmuls f0, f6, f6 -/* 80124D74 00121CD4 EC 42 07 F2 */ fmuls f2, f2, f31 -/* 80124D78 00121CD8 EC 21 01 32 */ fmuls f1, f1, f4 -/* 80124D7C 00121CDC EC 07 01 FA */ fmadds f0, f7, f7, f0 -/* 80124D80 00121CE0 EF C2 F7 FA */ fmadds f30, f2, f31, f30 -/* 80124D84 00121CE4 EC 04 01 3A */ fmadds f0, f4, f4, f0 -/* 80124D88 00121CE8 EC 01 01 3A */ fmadds f0, f1, f4, f0 -/* 80124D8C 00121CEC EF DE 00 2A */ fadds f30, f30, f0 -/* 80124D90 00121CF0 FC 1E E8 40 */ fcmpo cr0, f30, f29 -/* 80124D94 00121CF4 40 80 00 BC */ bge lbl_80124E50 -/* 80124D98 00121CF8 D0 A1 00 B8 */ stfs f5, 0xb8(r1) -/* 80124D9C 00121CFC 7F 43 D3 78 */ mr r3, r26 -/* 80124DA0 00121D00 D1 61 00 BC */ stfs f11, 0xbc(r1) -/* 80124DA4 00121D04 D1 81 00 C0 */ stfs f12, 0xc0(r1) -/* 80124DA8 00121D08 D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 80124DAC 00121D0C D1 01 00 C8 */ stfs f8, 0xc8(r1) -/* 80124DB0 00121D10 D1 21 00 CC */ stfs f9, 0xcc(r1) -/* 80124DB4 00121D14 81 9A 00 00 */ lwz r12, 0(r26) -/* 80124DB8 00121D18 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80124DBC 00121D1C 7D 89 03 A6 */ mtctr r12 -/* 80124DC0 00121D20 4E 80 04 21 */ bctrl -/* 80124DC4 00121D24 38 81 00 C4 */ addi r4, r1, 0xc4 -/* 80124DC8 00121D28 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 80124DCC 00121D2C 48 0A 1E FD */ bl PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f -/* 80124DD0 00121D30 2C 03 00 00 */ cmpwi r3, 0 -/* 80124DD4 00121D34 40 82 00 7C */ bne lbl_80124E50 -/* 80124DD8 00121D38 C0 59 00 60 */ lfs f2, 0x60(r25) -/* 80124DDC 00121D3C 7F 43 D3 78 */ mr r3, r26 -/* 80124DE0 00121D40 C0 39 00 50 */ lfs f1, 0x50(r25) -/* 80124DE4 00121D44 3B 00 00 00 */ li r24, 0 -/* 80124DE8 00121D48 C0 19 00 40 */ lfs f0, 0x40(r25) -/* 80124DEC 00121D4C D0 01 00 AC */ stfs f0, 0xac(r1) -/* 80124DF0 00121D50 D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 80124DF4 00121D54 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 80124DF8 00121D58 81 9A 00 00 */ lwz r12, 0(r26) -/* 80124DFC 00121D5C 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80124E00 00121D60 7D 89 03 A6 */ mtctr r12 -/* 80124E04 00121D64 4E 80 04 21 */ bctrl -/* 80124E08 00121D68 38 81 00 AC */ addi r4, r1, 0xac -/* 80124E0C 00121D6C 38 BA 02 E0 */ addi r5, r26, 0x2e0 -/* 80124E10 00121D70 48 0A 1E B9 */ bl PathExists__15CPathFindSearchCFRC9CVector3fRC9CVector3f -/* 80124E14 00121D74 7C 03 00 D0 */ neg r0, r3 -/* 80124E18 00121D78 7C 00 1B 78 */ or r0, r0, r3 -/* 80124E1C 00121D7C 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 80124E20 00121D80 41 82 00 0C */ beq lbl_80124E2C -/* 80124E24 00121D84 C0 02 98 18 */ lfs f0, lbl_805AB538@sda21(r2) -/* 80124E28 00121D88 EF DE 00 2A */ fadds f30, f30, f0 -lbl_80124E2C: -/* 80124E2C 00121D8C 28 00 00 00 */ cmplwi r0, 0 -/* 80124E30 00121D90 40 82 00 08 */ bne lbl_80124E38 -/* 80124E34 00121D94 3B 00 00 01 */ li r24, 1 -lbl_80124E38: -/* 80124E38 00121D98 FC 1E E8 40 */ fcmpo cr0, f30, f29 -/* 80124E3C 00121D9C 40 80 00 14 */ bge lbl_80124E50 -/* 80124E40 00121DA0 57 00 06 3F */ clrlwi. r0, r24, 0x18 -/* 80124E44 00121DA4 FF A0 F0 90 */ fmr f29, f30 -/* 80124E48 00121DA8 7F DD F3 78 */ mr r29, r30 -/* 80124E4C 00121DAC 40 82 00 28 */ bne lbl_80124E74 -lbl_80124E50: -/* 80124E50 00121DB0 2C 1C FF FF */ cmpwi r28, -1 -/* 80124E54 00121DB4 41 82 00 14 */ beq lbl_80124E68 -/* 80124E58 00121DB8 57 83 18 38 */ slwi r3, r28, 3 -/* 80124E5C 00121DBC 38 03 00 08 */ addi r0, r3, 8 -/* 80124E60 00121DC0 7F 9F 02 AE */ lhax r28, r31, r0 -/* 80124E64 00121DC4 48 00 00 08 */ b lbl_80124E6C -lbl_80124E68: -/* 80124E68 00121DC8 3B 80 FF FF */ li r28, -1 -lbl_80124E6C: -/* 80124E6C 00121DCC 2C 1C FF FF */ cmpwi r28, -1 -/* 80124E70 00121DD0 40 82 FD 70 */ bne lbl_80124BE0 -lbl_80124E74: -/* 80124E74 00121DD4 28 1D 00 00 */ cmplwi r29, 0 -/* 80124E78 00121DD8 41 82 01 8C */ beq lbl_80125004 -/* 80124E7C 00121DDC C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80124E80 00121DE0 7F 43 D3 78 */ mr r3, r26 -/* 80124E84 00121DE4 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80124E88 00121DE8 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80124E8C 00121DEC D0 1A 02 E0 */ stfs f0, 0x2e0(r26) -/* 80124E90 00121DF0 D0 3A 02 E4 */ stfs f1, 0x2e4(r26) -/* 80124E94 00121DF4 D0 5A 02 E8 */ stfs f2, 0x2e8(r26) -/* 80124E98 00121DF8 C0 5A 00 60 */ lfs f2, 0x60(r26) -/* 80124E9C 00121DFC C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80124EA0 00121E00 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 80124EA4 00121E04 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 80124EA8 00121E08 D0 21 00 A4 */ stfs f1, 0xa4(r1) -/* 80124EAC 00121E0C D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 80124EB0 00121E10 81 9A 00 00 */ lwz r12, 0(r26) -/* 80124EB4 00121E14 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80124EB8 00121E18 7D 89 03 A6 */ mtctr r12 -/* 80124EBC 00121E1C 4E 80 04 21 */ bctrl -/* 80124EC0 00121E20 38 81 00 A0 */ addi r4, r1, 0xa0 -/* 80124EC4 00121E24 38 BA 02 E0 */ addi r5, r26, 0x2e0 -/* 80124EC8 00121E28 48 0A 2D A5 */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f -/* 80124ECC 00121E2C 2C 03 00 00 */ cmpwi r3, 0 -/* 80124ED0 00121E30 40 82 01 34 */ bne lbl_80125004 -/* 80124ED4 00121E34 C0 5A 00 60 */ lfs f2, 0x60(r26) -/* 80124ED8 00121E38 7F 43 D3 78 */ mr r3, r26 -/* 80124EDC 00121E3C C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80124EE0 00121E40 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 80124EE4 00121E44 D0 1A 02 EC */ stfs f0, 0x2ec(r26) -/* 80124EE8 00121E48 D0 3A 02 F0 */ stfs f1, 0x2f0(r26) -/* 80124EEC 00121E4C D0 5A 02 F4 */ stfs f2, 0x2f4(r26) -/* 80124EF0 00121E50 81 9A 00 00 */ lwz r12, 0(r26) -/* 80124EF4 00121E54 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80124EF8 00121E58 7D 89 03 A6 */ mtctr r12 -/* 80124EFC 00121E5C 4E 80 04 21 */ bctrl -/* 80124F00 00121E60 80 A3 00 C8 */ lwz r5, 0xc8(r3) -/* 80124F04 00121E64 80 03 00 04 */ lwz r0, 4(r3) -/* 80124F08 00121E68 38 85 00 01 */ addi r4, r5, 1 -/* 80124F0C 00121E6C 7C 04 00 00 */ cmpw r4, r0 -/* 80124F10 00121E70 40 80 00 14 */ bge lbl_80124F24 -/* 80124F14 00121E74 1C 04 00 0C */ mulli r0, r4, 0xc -/* 80124F18 00121E78 7C C3 02 14 */ add r6, r3, r0 -/* 80124F1C 00121E7C 38 C6 00 08 */ addi r6, r6, 8 -/* 80124F20 00121E80 48 00 00 10 */ b lbl_80124F30 -lbl_80124F24: -/* 80124F24 00121E84 1C 05 00 0C */ mulli r0, r5, 0xc -/* 80124F28 00121E88 7C C3 02 14 */ add r6, r3, r0 -/* 80124F2C 00121E8C 38 C6 00 08 */ addi r6, r6, 8 -lbl_80124F30: -/* 80124F30 00121E90 C0 06 00 00 */ lfs f0, 0(r6) -/* 80124F34 00121E94 38 A0 00 00 */ li r5, 0 -/* 80124F38 00121E98 7F 63 DB 78 */ mr r3, r27 -/* 80124F3C 00121E9C 38 81 00 14 */ addi r4, r1, 0x14 -/* 80124F40 00121EA0 D0 1A 02 E0 */ stfs f0, 0x2e0(r26) -/* 80124F44 00121EA4 C0 06 00 04 */ lfs f0, 4(r6) -/* 80124F48 00121EA8 D0 1A 02 E4 */ stfs f0, 0x2e4(r26) -/* 80124F4C 00121EAC C0 06 00 08 */ lfs f0, 8(r6) -/* 80124F50 00121EB0 D0 1A 02 E8 */ stfs f0, 0x2e8(r26) -/* 80124F54 00121EB4 88 1A 03 28 */ lbz r0, 0x328(r26) -/* 80124F58 00121EB8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80124F5C 00121EBC 98 1A 03 28 */ stb r0, 0x328(r26) -/* 80124F60 00121EC0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80124F64 00121EC4 B0 1A 08 40 */ sth r0, 0x840(r26) -/* 80124F68 00121EC8 C0 1D 00 E8 */ lfs f0, 0xe8(r29) -/* 80124F6C 00121ECC D0 1A 08 24 */ stfs f0, 0x824(r26) -/* 80124F70 00121ED0 A0 1D 01 0C */ lhz r0, 0x10c(r29) -/* 80124F74 00121ED4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80124F78 00121ED8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80124F7C 00121EDC 4B F2 76 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80124F80 00121EE0 7C 64 1B 78 */ mr r4, r3 -/* 80124F84 00121EE4 38 61 00 2C */ addi r3, r1, 0x2c -/* 80124F88 00121EE8 4B F8 15 C5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80124F8C 00121EEC 80 83 00 04 */ lwz r4, 4(r3) -/* 80124F90 00121EF0 28 04 00 00 */ cmplwi r4, 0 -/* 80124F94 00121EF4 41 82 00 70 */ beq lbl_80125004 -/* 80124F98 00121EF8 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 80124F9C 00121EFC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80124FA0 00121F00 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 80124FA4 00121F04 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 80124FA8 00121F08 38 81 01 18 */ addi r4, r1, 0x118 -/* 80124FAC 00121F0C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80124FB0 00121F10 D0 3A 08 28 */ stfs f1, 0x828(r26) -/* 80124FB4 00121F14 D0 5A 08 2C */ stfs f2, 0x82c(r26) -/* 80124FB8 00121F18 D0 7A 08 30 */ stfs f3, 0x830(r26) -/* 80124FBC 00121F1C C0 3A 02 E0 */ lfs f1, 0x2e0(r26) -/* 80124FC0 00121F20 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 80124FC4 00121F24 D0 21 01 18 */ stfs f1, 0x118(r1) -/* 80124FC8 00121F28 C0 43 00 04 */ lfs f2, 4(r3) -/* 80124FCC 00121F2C C0 9A 02 E4 */ lfs f4, 0x2e4(r26) -/* 80124FD0 00121F30 C0 23 00 08 */ lfs f1, 8(r3) -/* 80124FD4 00121F34 D0 81 01 1C */ stfs f4, 0x11c(r1) -/* 80124FD8 00121F38 C0 9A 02 E8 */ lfs f4, 0x2e8(r26) -/* 80124FDC 00121F3C D0 81 01 20 */ stfs f4, 0x120(r1) -/* 80124FE0 00121F40 D0 61 01 24 */ stfs f3, 0x124(r1) -/* 80124FE4 00121F44 D0 41 01 28 */ stfs f2, 0x128(r1) -/* 80124FE8 00121F48 D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 80124FEC 00121F4C D0 01 01 30 */ stfs f0, 0x130(r1) -/* 80124FF0 00121F50 80 7A 04 50 */ lwz r3, 0x450(r26) -/* 80124FF4 00121F54 38 63 00 04 */ addi r3, r3, 4 -/* 80124FF8 00121F58 48 00 C7 21 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 80124FFC 00121F5C 38 00 00 00 */ li r0, 0 -/* 80125000 00121F60 90 1A 03 0C */ stw r0, 0x30c(r26) -lbl_80125004: -/* 80125004 00121F64 80 7A 04 50 */ lwz r3, 0x450(r26) -/* 80125008 00121F68 38 00 00 01 */ li r0, 1 -/* 8012500C 00121F6C 90 03 00 34 */ stw r0, 0x34(r3) -/* 80125010 00121F70 88 1A 06 37 */ lbz r0, 0x637(r26) -/* 80125014 00121F74 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80125018 00121F78 41 82 00 0C */ beq lbl_80125024 -/* 8012501C 00121F7C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80125020 00121F80 D0 1A 06 44 */ stfs f0, 0x644(r26) -lbl_80125024: -/* 80125024 00121F84 88 1A 06 39 */ lbz r0, 0x639(r26) -/* 80125028 00121F88 38 60 00 00 */ li r3, 0 -/* 8012502C 00121F8C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80125030 00121F90 38 60 00 01 */ li r3, 1 -/* 80125034 00121F94 98 1A 06 39 */ stb r0, 0x639(r26) -/* 80125038 00121F98 88 1A 06 3A */ lbz r0, 0x63a(r26) -/* 8012503C 00121F9C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80125040 00121FA0 98 1A 06 3A */ stb r0, 0x63a(r26) -/* 80125044 00121FA4 48 00 02 74 */ b lbl_801252B8 -lbl_80125048: -/* 80125048 00121FA8 48 0D 16 85 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8012504C 00121FAC A0 7A 08 40 */ lhz r3, 0x840(r26) -/* 80125050 00121FB0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80125054 00121FB4 7C 03 00 40 */ cmplw r3, r0 -/* 80125058 00121FB8 41 82 01 0C */ beq lbl_80125164 -/* 8012505C 00121FBC A0 1A 08 40 */ lhz r0, 0x840(r26) -/* 80125060 00121FC0 7F 63 DB 78 */ mr r3, r27 -/* 80125064 00121FC4 38 81 00 0C */ addi r4, r1, 0xc -/* 80125068 00121FC8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8012506C 00121FCC 4B F2 75 09 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80125070 00121FD0 7C 64 1B 78 */ mr r4, r3 -/* 80125074 00121FD4 38 61 00 3C */ addi r3, r1, 0x3c -/* 80125078 00121FD8 4B F8 66 69 */ bl "__ct__32TCastToPtr<18CScriptAiJumpPoint>FP7CEntity" -/* 8012507C 00121FDC 83 23 00 04 */ lwz r25, 4(r3) -/* 80125080 00121FE0 28 19 00 00 */ cmplwi r25, 0 -/* 80125084 00121FE4 41 82 00 E0 */ beq lbl_80125164 -/* 80125088 00121FE8 80 7A 04 50 */ lwz r3, 0x450(r26) -/* 8012508C 00121FEC 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 80125090 00121FF0 48 00 EE 1D */ bl GetMaxSpeed__14CBodyStateInfoCFv -/* 80125094 00121FF4 C1 BA 00 50 */ lfs f13, 0x50(r26) -/* 80125098 00121FF8 80 7A 00 64 */ lwz r3, 0x64(r26) -/* 8012509C 00121FFC C0 19 00 50 */ lfs f0, 0x50(r25) -/* 801250A0 00122000 C0 BA 00 40 */ lfs f5, 0x40(r26) -/* 801250A4 00122004 ED 8D 00 28 */ fsubs f12, f13, f0 -/* 801250A8 00122008 C0 19 00 40 */ lfs f0, 0x40(r25) -/* 801250AC 0012200C C1 23 00 04 */ lfs f9, 4(r3) -/* 801250B0 00122010 EC 85 00 28 */ fsubs f4, f5, f0 -/* 801250B4 00122014 C3 DA 00 60 */ lfs f30, 0x60(r26) -/* 801250B8 00122018 C0 59 00 60 */ lfs f2, 0x60(r25) -/* 801250BC 0012201C C0 E2 98 0C */ lfs f7, lbl_805AB52C@sda21(r2) -/* 801250C0 00122020 EC 0C 03 32 */ fmuls f0, f12, f12 -/* 801250C4 00122024 ED 7E 10 28 */ fsubs f11, f30, f2 -/* 801250C8 00122028 C0 62 98 08 */ lfs f3, lbl_805AB528@sda21(r2) -/* 801250CC 0012202C EC 44 01 32 */ fmuls f2, f4, f4 -/* 801250D0 00122030 C0 DA 07 A4 */ lfs f6, 0x7a4(r26) -/* 801250D4 00122034 EC E7 1F 7A */ fmadds f7, f7, f29, f3 -/* 801250D8 00122038 C1 43 00 00 */ lfs f10, 0(r3) -/* 801250DC 0012203C C1 03 00 08 */ lfs f8, 8(r3) -/* 801250E0 00122040 EC 6B 02 F2 */ fmuls f3, f11, f11 -/* 801250E4 00122044 EC 02 00 2A */ fadds f0, f2, f0 -/* 801250E8 00122048 D1 41 00 94 */ stfs f10, 0x94(r1) -/* 801250EC 0012204C EC 47 02 72 */ fmuls f2, f7, f9 -/* 801250F0 00122050 D1 21 00 98 */ stfs f9, 0x98(r1) -/* 801250F4 00122054 EC 63 00 2A */ fadds f3, f3, f0 -/* 801250F8 00122058 D1 01 00 9C */ stfs f8, 0x9c(r1) -/* 801250FC 0012205C EC 01 30 BA */ fmadds f0, f1, f2, f6 -/* 80125100 00122060 D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 80125104 00122064 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80125108 00122068 D1 A1 00 80 */ stfs f13, 0x80(r1) -/* 8012510C 0012206C D3 C1 00 84 */ stfs f30, 0x84(r1) -/* 80125110 00122070 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80125114 00122074 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 80125118 00122078 D1 81 00 8C */ stfs f12, 0x8c(r1) -/* 8012511C 0012207C D1 61 00 90 */ stfs f11, 0x90(r1) -/* 80125120 00122080 40 80 00 44 */ bge lbl_80125164 -/* 80125124 00122084 38 00 00 01 */ li r0, 1 -/* 80125128 00122088 3C 60 80 3E */ lis r3, lbl_803E0794@ha -/* 8012512C 0012208C 90 1A 03 2C */ stw r0, 0x32c(r26) -/* 80125130 00122090 38 E3 07 94 */ addi r7, r3, lbl_803E0794@l -/* 80125134 00122094 7F 43 D3 78 */ mr r3, r26 -/* 80125138 00122098 7F 64 DB 78 */ mr r4, r27 -/* 8012513C 0012209C 81 27 00 00 */ lwz r9, 0(r7) -/* 80125140 001220A0 38 C1 00 70 */ addi r6, r1, 0x70 -/* 80125144 001220A4 81 07 00 04 */ lwz r8, 4(r7) -/* 80125148 001220A8 38 A0 00 0D */ li r5, 0xd -/* 8012514C 001220AC 80 07 00 08 */ lwz r0, 8(r7) -/* 80125150 001220B0 38 E0 00 00 */ li r7, 0 -/* 80125154 001220B4 91 21 00 70 */ stw r9, 0x70(r1) -/* 80125158 001220B8 91 01 00 74 */ stw r8, 0x74(r1) -/* 8012515C 001220BC 90 01 00 78 */ stw r0, 0x78(r1) -/* 80125160 001220C0 4B F5 76 55 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -lbl_80125164: -/* 80125164 001220C4 7F 43 D3 78 */ mr r3, r26 -/* 80125168 001220C8 7F 64 DB 78 */ mr r4, r27 -/* 8012516C 001220CC 48 00 3A 65 */ bl AvoidActors__12CSpacePirateFR13CStateManager -/* 80125170 001220D0 88 1A 06 39 */ lbz r0, 0x639(r26) -/* 80125174 001220D4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80125178 001220D8 40 82 00 F0 */ bne lbl_80125268 -/* 8012517C 001220DC A0 1A 06 40 */ lhz r0, 0x640(r26) -/* 80125180 001220E0 7F 43 D3 78 */ mr r3, r26 -/* 80125184 001220E4 7F 64 DB 78 */ mr r4, r27 -/* 80125188 001220E8 38 A1 00 08 */ addi r5, r1, 8 -/* 8012518C 001220EC B0 01 00 08 */ sth r0, 8(r1) -/* 80125190 001220F0 4B F5 77 1D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80125194 001220F4 7C 78 1B 79 */ or. r24, r3, r3 -/* 80125198 001220F8 41 82 00 D0 */ beq lbl_80125268 -/* 8012519C 001220FC 80 7A 04 50 */ lwz r3, 0x450(r26) -/* 801251A0 00122100 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 801251A4 00122104 48 00 ED 09 */ bl GetMaxSpeed__14CBodyStateInfoCFv -/* 801251A8 00122108 C0 42 98 0C */ lfs f2, lbl_805AB52C@sda21(r2) -/* 801251AC 0012210C 7F 03 C3 78 */ mr r3, r24 -/* 801251B0 00122110 80 9A 00 64 */ lwz r4, 0x64(r26) -/* 801251B4 00122114 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) -/* 801251B8 00122118 C0 64 00 04 */ lfs f3, 4(r4) -/* 801251BC 0012211C EC 02 07 7A */ fmadds f0, f2, f29, f0 -/* 801251C0 00122120 C0 84 00 00 */ lfs f4, 0(r4) -/* 801251C4 00122124 C0 44 00 08 */ lfs f2, 8(r4) -/* 801251C8 00122128 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 801251CC 0012212C EC 00 00 F2 */ fmuls f0, f0, f3 -/* 801251D0 00122130 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 801251D4 00122134 EC 01 00 32 */ fmuls f0, f1, f0 -/* 801251D8 00122138 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 801251DC 0012213C D0 1A 07 54 */ stfs f0, 0x754(r26) -/* 801251E0 00122140 48 00 84 21 */ bl ShouldWallHang__17CScriptCoverPointCFv -/* 801251E4 00122144 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801251E8 00122148 41 82 00 14 */ beq lbl_801251FC -/* 801251EC 0012214C C0 3A 07 54 */ lfs f1, 0x754(r26) -/* 801251F0 00122150 C0 1A 07 A4 */ lfs f0, 0x7a4(r26) -/* 801251F4 00122154 EC 01 00 2A */ fadds f0, f1, f0 -/* 801251F8 00122158 D0 1A 07 54 */ stfs f0, 0x754(r26) -lbl_801251FC: -/* 801251FC 0012215C C0 FA 00 50 */ lfs f7, 0x50(r26) -/* 80125200 00122160 C0 18 00 50 */ lfs f0, 0x50(r24) -/* 80125204 00122164 C0 7A 00 40 */ lfs f3, 0x40(r26) -/* 80125208 00122168 EC C7 00 28 */ fsubs f6, f7, f0 -/* 8012520C 0012216C C0 18 00 40 */ lfs f0, 0x40(r24) -/* 80125210 00122170 C1 1A 00 60 */ lfs f8, 0x60(r26) -/* 80125214 00122174 EC 83 00 28 */ fsubs f4, f3, f0 -/* 80125218 00122178 C0 18 00 60 */ lfs f0, 0x60(r24) -/* 8012521C 0012217C EC 26 01 B2 */ fmuls f1, f6, f6 -/* 80125220 00122180 EC A8 00 28 */ fsubs f5, f8, f0 -/* 80125224 00122184 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 80125228 00122188 EC 44 01 32 */ fmuls f2, f4, f4 -/* 8012522C 0012218C C0 1A 07 54 */ lfs f0, 0x754(r26) -/* 80125230 00122190 EC 65 01 72 */ fmuls f3, f5, f5 -/* 80125234 00122194 D0 E1 00 50 */ stfs f7, 0x50(r1) -/* 80125238 00122198 EC 22 08 2A */ fadds f1, f2, f1 -/* 8012523C 0012219C EC 00 00 32 */ fmuls f0, f0, f0 -/* 80125240 001221A0 D1 01 00 54 */ stfs f8, 0x54(r1) -/* 80125244 001221A4 EC 23 08 2A */ fadds f1, f3, f1 -/* 80125248 001221A8 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8012524C 001221AC D0 C1 00 5C */ stfs f6, 0x5c(r1) -/* 80125250 001221B0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80125254 001221B4 D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 80125258 001221B8 7C 60 00 26 */ mfcr r3 -/* 8012525C 001221BC 88 1A 06 39 */ lbz r0, 0x639(r26) -/* 80125260 001221C0 50 60 2E F6 */ rlwimi r0, r3, 5, 0x1b, 0x1b -/* 80125264 001221C4 98 1A 06 39 */ stb r0, 0x639(r26) -lbl_80125268: -/* 80125268 001221C8 7F 43 D3 78 */ mr r3, r26 -/* 8012526C 001221CC 7F 64 DB 78 */ mr r4, r27 -/* 80125270 001221D0 48 00 3D 2D */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager -/* 80125274 001221D4 FC 20 E8 90 */ fmr f1, f29 -/* 80125278 001221D8 7F 43 D3 78 */ mr r3, r26 -/* 8012527C 001221DC 7F 64 DB 78 */ mr r4, r27 -/* 80125280 001221E0 48 00 3C 61 */ bl UpdateHeldPosition__12CSpacePirateFR13CStateManagerf -/* 80125284 001221E4 48 00 00 34 */ b lbl_801252B8 -lbl_80125288: -/* 80125288 001221E8 48 0D 14 45 */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 8012528C 001221EC 38 80 00 00 */ li r4, 0 -/* 80125290 001221F0 38 00 00 01 */ li r0, 1 -/* 80125294 001221F4 90 9A 03 2C */ stw r4, 0x32c(r26) -/* 80125298 001221F8 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 8012529C 001221FC B0 7A 08 40 */ sth r3, 0x840(r26) -/* 801252A0 00122200 90 1A 03 0C */ stw r0, 0x30c(r26) -/* 801252A4 00122204 88 1A 06 39 */ lbz r0, 0x639(r26) -/* 801252A8 00122208 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 801252AC 0012220C 98 1A 06 39 */ stb r0, 0x639(r26) -/* 801252B0 00122210 80 7A 04 50 */ lwz r3, 0x450(r26) -/* 801252B4 00122214 90 83 00 34 */ stw r4, 0x34(r3) -lbl_801252B8: -/* 801252B8 00122218 E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 -/* 801252BC 0012221C CB E1 01 90 */ lfd f31, 0x190(r1) -/* 801252C0 00122220 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 -/* 801252C4 00122224 CB C1 01 80 */ lfd f30, 0x180(r1) -/* 801252C8 00122228 E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 -/* 801252CC 0012222C CB A1 01 70 */ lfd f29, 0x170(r1) -/* 801252D0 00122230 BB 01 01 50 */ lmw r24, 0x150(r1) -/* 801252D4 00122234 80 01 01 A4 */ lwz r0, 0x1a4(r1) -/* 801252D8 00122238 7C 08 03 A6 */ mtlr r0 -/* 801252DC 0012223C 38 21 01 A0 */ addi r1, r1, 0x1a0 -/* 801252E0 00122240 4E 80 00 20 */ blr - -.global LineOfSight__12CSpacePirateFR13CStateManagerf -LineOfSight__12CSpacePirateFR13CStateManagerf: -/* 801252E4 00122244 88 03 06 37 */ lbz r0, 0x637(r3) -/* 801252E8 00122248 54 00 EF FE */ rlwinm r0, r0, 0x1d, 0x1f, 0x1f -/* 801252EC 0012224C 7C 00 00 34 */ cntlzw r0, r0 -/* 801252F0 00122250 54 03 D9 7E */ srwi r3, r0, 5 -/* 801252F4 00122254 4E 80 00 20 */ blr - -.global SpotPlayer__12CSpacePirateFR13CStateManagerf -SpotPlayer__12CSpacePirateFR13CStateManagerf: -/* 801252F8 00122258 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801252FC 0012225C 7C 08 02 A6 */ mflr r0 -/* 80125300 00122260 90 01 00 34 */ stw r0, 0x34(r1) -/* 80125304 00122264 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80125308 00122268 7C 7F 1B 78 */ mr r31, r3 -/* 8012530C 0012226C 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80125310 00122270 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 80125314 00122274 38 61 00 14 */ addi r3, r1, 0x14 -/* 80125318 00122278 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8012531C 0012227C C0 64 00 60 */ lfs f3, 0x60(r4) -/* 80125320 00122280 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80125324 00122284 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80125328 00122288 C0 24 00 40 */ lfs f1, 0x40(r4) -/* 8012532C 0012228C C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80125330 00122290 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80125334 00122294 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80125338 00122298 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8012533C 0012229C D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80125340 001222A0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80125344 001222A4 48 1E F5 75 */ bl Magnitude__9CVector3fCFv -/* 80125348 001222A8 C0 BF 00 48 */ lfs f5, 0x48(r31) -/* 8012534C 001222AC C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80125350 001222B0 C0 9F 00 38 */ lfs f4, 0x38(r31) -/* 80125354 001222B4 EC 00 01 72 */ fmuls f0, f0, f5 -/* 80125358 001222B8 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8012535C 001222BC C0 FF 03 C4 */ lfs f7, 0x3c4(r31) -/* 80125360 001222C0 C0 DF 00 58 */ lfs f6, 0x58(r31) -/* 80125364 001222C4 EC 42 01 3A */ fmadds f2, f2, f4, f0 -/* 80125368 001222C8 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 8012536C 001222CC EC 01 01 F2 */ fmuls f0, f1, f7 -/* 80125370 001222D0 D0 81 00 08 */ stfs f4, 8(r1) -/* 80125374 001222D4 EC 23 11 BA */ fmadds f1, f3, f6, f2 -/* 80125378 001222D8 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 8012537C 001222DC D0 C1 00 10 */ stfs f6, 0x10(r1) -/* 80125380 001222E0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80125384 001222E4 7C 00 00 26 */ mfcr r0 -/* 80125388 001222E8 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 8012538C 001222EC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80125390 001222F0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80125394 001222F4 7C 08 03 A6 */ mtlr r0 -/* 80125398 001222F8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8012539C 001222FC 4E 80 00 20 */ blr - -.global Approach__12CSpacePirateFR13CStateManager9EStateMsgf -Approach__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801253A0 00122300 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801253A4 00122304 7C 08 02 A6 */ mflr r0 -/* 801253A8 00122308 2C 05 00 01 */ cmpwi r5, 1 -/* 801253AC 0012230C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801253B0 00122310 41 82 00 34 */ beq lbl_801253E4 -/* 801253B4 00122314 40 80 00 34 */ bge lbl_801253E8 -/* 801253B8 00122318 2C 05 00 00 */ cmpwi r5, 0 -/* 801253BC 0012231C 40 80 00 0C */ bge lbl_801253C8 -/* 801253C0 00122320 48 00 00 28 */ b lbl_801253E8 -/* 801253C4 00122324 48 00 00 24 */ b lbl_801253E8 -lbl_801253C8: -/* 801253C8 00122328 80 83 04 50 */ lwz r4, 0x450(r3) -/* 801253CC 0012232C 38 00 00 00 */ li r0, 0 -/* 801253D0 00122330 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 801253D4 00122334 90 04 00 34 */ stw r0, 0x34(r4) -/* 801253D8 00122338 90 03 03 0C */ stw r0, 0x30c(r3) -/* 801253DC 0012233C D0 03 06 44 */ stfs f0, 0x644(r3) -/* 801253E0 00122340 48 00 00 08 */ b lbl_801253E8 -lbl_801253E4: -/* 801253E4 00122344 48 00 37 ED */ bl AvoidActors__12CSpacePirateFR13CStateManager -lbl_801253E8: -/* 801253E8 00122348 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801253EC 0012234C 7C 08 03 A6 */ mtlr r0 -/* 801253F0 00122350 38 21 00 10 */ addi r1, r1, 0x10 -/* 801253F4 00122354 4E 80 00 20 */ blr - -.global Flee__12CSpacePirateFR13CStateManager9EStateMsgf -Flee__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801253F8 00122358 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 801253FC 0012235C 7C 08 02 A6 */ mflr r0 -/* 80125400 00122360 2C 05 00 01 */ cmpwi r5, 1 -/* 80125404 00122364 90 01 00 54 */ stw r0, 0x54(r1) -/* 80125408 00122368 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8012540C 0012236C 7C 7F 1B 78 */ mr r31, r3 -/* 80125410 00122370 41 82 00 DC */ beq lbl_801254EC -/* 80125414 00122374 40 80 00 DC */ bge lbl_801254F0 -/* 80125418 00122378 2C 05 00 00 */ cmpwi r5, 0 -/* 8012541C 0012237C 40 80 00 0C */ bge lbl_80125428 -/* 80125420 00122380 48 00 00 D0 */ b lbl_801254F0 -/* 80125424 00122384 48 00 00 CC */ b lbl_801254F0 -lbl_80125428: -/* 80125428 00122388 80 BF 04 50 */ lwz r5, 0x450(r31) -/* 8012542C 0012238C 38 00 00 00 */ li r0, 0 -/* 80125430 00122390 38 61 00 08 */ addi r3, r1, 8 -/* 80125434 00122394 90 05 00 34 */ stw r0, 0x34(r5) -/* 80125438 00122398 80 A4 08 4C */ lwz r5, 0x84c(r4) -/* 8012543C 0012239C 38 81 00 38 */ addi r4, r1, 0x38 -/* 80125440 001223A0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80125444 001223A4 C0 05 00 50 */ lfs f0, 0x50(r5) -/* 80125448 001223A8 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 8012544C 001223AC C0 45 00 60 */ lfs f2, 0x60(r5) -/* 80125450 001223B0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80125454 001223B4 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80125458 001223B8 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8012545C 001223BC EC 43 10 28 */ fsubs f2, f3, f2 -/* 80125460 001223C0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80125464 001223C4 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 80125468 001223C8 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8012546C 001223CC D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80125470 001223D0 48 1E F3 E1 */ bl AsNormalized__9CVector3fCFv -/* 80125474 001223D4 C0 82 98 3C */ lfs f4, lbl_805AB55C@sda21(r2) -/* 80125478 001223D8 7F E3 FB 78 */ mr r3, r31 -/* 8012547C 001223DC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80125480 001223E0 38 81 00 2C */ addi r4, r1, 0x2c -/* 80125484 001223E4 C0 21 00 08 */ lfs f1, 8(r1) -/* 80125488 001223E8 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8012548C 001223EC EC A4 00 B2 */ fmuls f5, f4, f2 -/* 80125490 001223F0 C1 1F 00 60 */ lfs f8, 0x60(r31) -/* 80125494 001223F4 EC 64 00 72 */ fmuls f3, f4, f1 -/* 80125498 001223F8 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 8012549C 001223FC EC 44 00 32 */ fmuls f2, f4, f0 -/* 801254A0 00122400 C0 FF 00 50 */ lfs f7, 0x50(r31) -/* 801254A4 00122404 EC 88 28 2A */ fadds f4, f8, f5 -/* 801254A8 00122408 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 801254AC 0012240C EC C7 10 2A */ fadds f6, f7, f2 -/* 801254B0 00122410 EC 01 18 2A */ fadds f0, f1, f3 -/* 801254B4 00122414 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 801254B8 00122418 D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 801254BC 0012241C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 801254C0 00122420 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 801254C4 00122424 D1 01 00 28 */ stfs f8, 0x28(r1) -/* 801254C8 00122428 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 801254CC 0012242C D0 C1 00 30 */ stfs f6, 0x30(r1) -/* 801254D0 00122430 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 801254D4 00122434 4B F5 76 89 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 801254D8 00122438 38 00 00 00 */ li r0, 0 -/* 801254DC 0012243C C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 801254E0 00122440 90 1F 03 0C */ stw r0, 0x30c(r31) -/* 801254E4 00122444 D0 1F 06 44 */ stfs f0, 0x644(r31) -/* 801254E8 00122448 48 00 00 08 */ b lbl_801254F0 -lbl_801254EC: -/* 801254EC 0012244C 48 00 36 E5 */ bl AvoidActors__12CSpacePirateFR13CStateManager -lbl_801254F0: -/* 801254F0 00122450 80 01 00 54 */ lwz r0, 0x54(r1) -/* 801254F4 00122454 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 801254F8 00122458 7C 08 03 A6 */ mtlr r0 -/* 801254FC 0012245C 38 21 00 50 */ addi r1, r1, 0x50 -/* 80125500 00122460 4E 80 00 20 */ blr - -.global Skid__12CSpacePirateFR13CStateManager9EStateMsgf -Skid__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80125504 00122464 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80125508 00122468 7C 08 02 A6 */ mflr r0 -/* 8012550C 0012246C 2C 05 00 01 */ cmpwi r5, 1 -/* 80125510 00122470 90 01 00 24 */ stw r0, 0x24(r1) -/* 80125514 00122474 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80125518 00122478 41 82 00 3C */ beq lbl_80125554 -/* 8012551C 0012247C 40 80 00 10 */ bge lbl_8012552C -/* 80125520 00122480 2C 05 00 00 */ cmpwi r5, 0 -/* 80125524 00122484 40 80 00 14 */ bge lbl_80125538 -/* 80125528 00122488 48 00 00 C0 */ b lbl_801255E8 -lbl_8012552C: -/* 8012552C 0012248C 2C 05 00 03 */ cmpwi r5, 3 -/* 80125530 00122490 40 80 00 B8 */ bge lbl_801255E8 -/* 80125534 00122494 48 00 00 A4 */ b lbl_801255D8 -lbl_80125538: -/* 80125538 00122498 C0 02 98 28 */ lfs f0, lbl_805AB548@sda21(r2) -/* 8012553C 0012249C 38 80 00 01 */ li r4, 1 -/* 80125540 001224A0 D0 03 08 38 */ stfs f0, 0x838(r3) -/* 80125544 001224A4 88 03 06 36 */ lbz r0, 0x636(r3) -/* 80125548 001224A8 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 8012554C 001224AC 98 03 06 36 */ stb r0, 0x636(r3) -/* 80125550 001224B0 48 00 00 98 */ b lbl_801255E8 -lbl_80125554: -/* 80125554 001224B4 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 80125558 001224B8 80 06 02 B8 */ lwz r0, 0x2b8(r6) -/* 8012555C 001224BC 2C 00 00 03 */ cmpwi r0, 3 -/* 80125560 001224C0 41 82 00 88 */ beq lbl_801255E8 -/* 80125564 001224C4 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 80125568 001224C8 80 E3 08 34 */ lwz r7, 0x834(r3) -/* 8012556C 001224CC 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 80125570 001224D0 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 80125574 001224D4 90 01 00 08 */ stw r0, 8(r1) -/* 80125578 001224D8 38 A3 A9 E4 */ addi r5, r3, lbl_803DA9E4@l -/* 8012557C 001224DC 38 60 00 01 */ li r3, 1 -/* 80125580 001224E0 38 00 00 00 */ li r0, 0 -/* 80125584 001224E4 3B E6 00 04 */ addi r31, r6, 4 -/* 80125588 001224E8 90 61 00 0C */ stw r3, 0xc(r1) -/* 8012558C 001224EC 7F E3 FB 78 */ mr r3, r31 -/* 80125590 001224F0 38 80 00 01 */ li r4, 1 -/* 80125594 001224F4 90 A1 00 08 */ stw r5, 8(r1) -/* 80125598 001224F8 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8012559C 001224FC 90 01 00 14 */ stw r0, 0x14(r1) -/* 801255A0 00122500 48 00 BE 99 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801255A4 00122504 80 01 00 0C */ lwz r0, 0xc(r1) -/* 801255A8 00122508 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 801255AC 0012250C 38 83 A9 E4 */ addi r4, r3, lbl_803DA9E4@l -/* 801255B0 00122510 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801255B4 00122514 90 1F 00 C8 */ stw r0, 0xc8(r31) -/* 801255B8 00122518 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801255BC 0012251C 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 801255C0 00122520 90 81 00 08 */ stw r4, 8(r1) -/* 801255C4 00122524 80 61 00 14 */ lwz r3, 0x14(r1) -/* 801255C8 00122528 90 BF 00 CC */ stw r5, 0xcc(r31) -/* 801255CC 0012252C 90 7F 00 D0 */ stw r3, 0xd0(r31) -/* 801255D0 00122530 90 01 00 08 */ stw r0, 8(r1) -/* 801255D4 00122534 48 00 00 14 */ b lbl_801255E8 -lbl_801255D8: -/* 801255D8 00122538 88 03 06 36 */ lbz r0, 0x636(r3) -/* 801255DC 0012253C 38 80 00 00 */ li r4, 0 -/* 801255E0 00122540 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 801255E4 00122544 98 03 06 36 */ stb r0, 0x636(r3) -lbl_801255E8: -/* 801255E8 00122548 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801255EC 0012254C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801255F0 00122550 7C 08 03 A6 */ mtlr r0 -/* 801255F4 00122554 38 21 00 20 */ addi r1, r1, 0x20 -/* 801255F8 00122558 4E 80 00 20 */ blr - -.global ShouldStrafe__12CSpacePirateFR13CStateManagerf -ShouldStrafe__12CSpacePirateFR13CStateManagerf: -/* 801255FC 0012255C 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 80125600 00122560 7C 08 02 A6 */ mflr r0 -/* 80125604 00122564 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 80125608 00122568 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 8012560C 0012256C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 80125610 00122570 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 80125614 00122574 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 80125618 00122578 DB A1 00 A0 */ stfd f29, 0xa0(r1) -/* 8012561C 0012257C F3 A1 00 A8 */ psq_st f29, 168(r1), 0, qr0 -/* 80125620 00122580 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 80125624 00122584 93 C1 00 98 */ stw r30, 0x98(r1) -/* 80125628 00122588 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8012562C 0012258C 93 81 00 90 */ stw r28, 0x90(r1) -/* 80125630 00122590 38 00 FF FF */ li r0, -1 -/* 80125634 00122594 7C 7C 1B 78 */ mr r28, r3 -/* 80125638 00122598 90 03 08 34 */ stw r0, 0x834(r3) -/* 8012563C 0012259C 7C 9D 23 78 */ mr r29, r4 -/* 80125640 001225A0 3B E0 00 00 */ li r31, 0 -/* 80125644 001225A4 3B C0 00 00 */ li r30, 0 -/* 80125648 001225A8 88 03 06 34 */ lbz r0, 0x634(r3) -/* 8012564C 001225AC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80125650 001225B0 40 82 02 14 */ bne lbl_80125864 -/* 80125654 001225B4 C3 BC 00 60 */ lfs f29, 0x60(r28) -/* 80125658 001225B8 7F 84 E3 78 */ mr r4, r28 -/* 8012565C 001225BC C3 DC 00 50 */ lfs f30, 0x50(r28) -/* 80125660 001225C0 7F A5 EB 78 */ mr r5, r29 -/* 80125664 001225C4 C3 FC 00 40 */ lfs f31, 0x40(r28) -/* 80125668 001225C8 38 61 00 68 */ addi r3, r1, 0x68 -/* 8012566C 001225CC 48 00 2D D9 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 80125670 001225D0 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80125674 001225D4 C0 21 00 68 */ lfs f1, 0x68(r1) -/* 80125678 001225D8 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 8012567C 001225DC C0 BC 00 48 */ lfs f5, 0x48(r28) -/* 80125680 001225E0 C0 01 00 70 */ lfs f0, 0x70(r1) -/* 80125684 001225E4 EC 81 F8 28 */ fsubs f4, f1, f31 -/* 80125688 001225E8 C0 5C 00 38 */ lfs f2, 0x38(r28) -/* 8012568C 001225EC EC 23 01 72 */ fmuls f1, f3, f5 -/* 80125690 001225F0 C0 DC 00 58 */ lfs f6, 0x58(r28) -/* 80125694 001225F4 EC 60 E8 28 */ fsubs f3, f0, f29 -/* 80125698 001225F8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012569C 001225FC EC 24 08 BA */ fmadds f1, f4, f2, f1 -/* 801256A0 00122600 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 801256A4 00122604 D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 801256A8 00122608 EC 23 09 BA */ fmadds f1, f3, f6, f1 -/* 801256AC 0012260C D0 C1 00 64 */ stfs f6, 0x64(r1) -/* 801256B0 00122610 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801256B4 00122614 40 81 01 B0 */ ble lbl_80125864 -/* 801256B8 00122618 C0 1C 08 54 */ lfs f0, 0x854(r28) -/* 801256BC 0012261C C0 22 98 40 */ lfs f1, lbl_805AB560@sda21(r2) -/* 801256C0 00122620 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801256C4 00122624 41 80 00 10 */ blt lbl_801256D4 -/* 801256C8 00122628 C0 1C 08 50 */ lfs f0, 0x850(r28) -/* 801256CC 0012262C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801256D0 00122630 40 80 00 E0 */ bge lbl_801257B0 -lbl_801256D4: -/* 801256D4 00122634 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 801256D8 00122638 C0 1C 08 38 */ lfs f0, 0x838(r28) -/* 801256DC 0012263C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 801256E0 00122640 40 82 00 D0 */ bne lbl_801257B0 -/* 801256E4 00122644 7F 84 E3 78 */ mr r4, r28 -/* 801256E8 00122648 38 61 00 74 */ addi r3, r1, 0x74 -/* 801256EC 0012264C 4B FF 52 41 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 801256F0 00122650 38 61 00 50 */ addi r3, r1, 0x50 -/* 801256F4 00122654 38 81 00 74 */ addi r4, r1, 0x74 -/* 801256F8 00122658 48 21 1F 15 */ bl GetCenterPoint__6CAABoxCFv -/* 801256FC 0012265C C3 A1 00 50 */ lfs f29, 0x50(r1) -/* 80125700 00122660 7F 84 E3 78 */ mr r4, r28 -/* 80125704 00122664 C3 C1 00 54 */ lfs f30, 0x54(r1) -/* 80125708 00122668 7F A5 EB 78 */ mr r5, r29 -/* 8012570C 0012266C C3 E1 00 58 */ lfs f31, 0x58(r1) -/* 80125710 00122670 38 61 00 2C */ addi r3, r1, 0x2c -/* 80125714 00122674 48 00 2D 31 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 80125718 00122678 C0 41 00 2C */ lfs f2, 0x2c(r1) -/* 8012571C 0012267C 38 61 00 44 */ addi r3, r1, 0x44 -/* 80125720 00122680 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80125724 00122684 38 81 00 38 */ addi r4, r1, 0x38 -/* 80125728 00122688 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8012572C 0012268C EC 42 E8 28 */ fsubs f2, f2, f29 -/* 80125730 00122690 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80125734 00122694 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80125738 00122698 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8012573C 0012269C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80125740 001226A0 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80125744 001226A4 48 1E F1 0D */ bl AsNormalized__9CVector3fCFv -/* 80125748 001226A8 C0 9C 00 48 */ lfs f4, 0x48(r28) -/* 8012574C 001226AC C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80125750 001226B0 C0 7C 00 38 */ lfs f3, 0x38(r28) -/* 80125754 001226B4 EC 00 01 32 */ fmuls f0, f0, f4 -/* 80125758 001226B8 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 8012575C 001226BC C0 BC 00 58 */ lfs f5, 0x58(r28) -/* 80125760 001226C0 C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 80125764 001226C4 EC 21 00 FA */ fmadds f1, f1, f3, f0 -/* 80125768 001226C8 C0 02 98 00 */ lfs f0, lbl_805AB520@sda21(r2) -/* 8012576C 001226CC D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80125770 001226D0 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 80125774 001226D4 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 80125778 001226D8 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 8012577C 001226DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80125780 001226E0 40 81 00 30 */ ble lbl_801257B0 -/* 80125784 001226E4 C0 22 98 20 */ lfs f1, lbl_805AB540@sda21(r2) -/* 80125788 001226E8 7F 83 E3 78 */ mr r3, r28 -/* 8012578C 001226EC 7F A4 EB 78 */ mr r4, r29 -/* 80125790 001226F0 48 00 2F 4D */ bl GetStrafeDir__12CSpacePirateCFR13CStateManagerf -/* 80125794 001226F4 90 7C 08 34 */ stw r3, 0x834(r28) -/* 80125798 001226F8 80 1C 08 34 */ lwz r0, 0x834(r28) -/* 8012579C 001226FC 2C 00 FF FF */ cmpwi r0, -1 -/* 801257A0 00122700 41 82 00 0C */ beq lbl_801257AC -/* 801257A4 00122704 3B E0 00 01 */ li r31, 1 -/* 801257A8 00122708 48 00 00 08 */ b lbl_801257B0 -lbl_801257AC: -/* 801257AC 0012270C 3B C0 00 01 */ li r30, 1 -lbl_801257B0: -/* 801257B0 00122710 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 801257B4 00122714 40 82 00 B0 */ bne lbl_80125864 -/* 801257B8 00122718 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 801257BC 0012271C 40 82 00 A8 */ bne lbl_80125864 -/* 801257C0 00122720 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 801257C4 00122724 A0 7C 07 C0 */ lhz r3, 0x7c0(r28) -/* 801257C8 00122728 A0 04 00 08 */ lhz r0, 8(r4) -/* 801257CC 0012272C 7C 03 00 40 */ cmplw r3, r0 -/* 801257D0 00122730 40 82 00 94 */ bne lbl_80125864 -/* 801257D4 00122734 C0 3C 07 AC */ lfs f1, 0x7ac(r28) -/* 801257D8 00122738 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 801257DC 0012273C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801257E0 00122740 40 81 00 84 */ ble lbl_80125864 -/* 801257E4 00122744 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 801257E8 00122748 38 61 00 14 */ addi r3, r1, 0x14 -/* 801257EC 0012274C C0 1C 00 60 */ lfs f0, 0x60(r28) -/* 801257F0 00122750 C0 84 00 50 */ lfs f4, 0x50(r4) -/* 801257F4 00122754 C0 5C 00 50 */ lfs f2, 0x50(r28) -/* 801257F8 00122758 EC 25 00 28 */ fsubs f1, f5, f0 -/* 801257FC 0012275C C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80125800 00122760 C0 7C 00 40 */ lfs f3, 0x40(r28) -/* 80125804 00122764 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80125808 00122768 D0 01 00 08 */ stfs f0, 8(r1) -/* 8012580C 0012276C EC 00 18 28 */ fsubs f0, f0, f3 -/* 80125810 00122770 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80125814 00122774 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 80125818 00122778 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8012581C 0012277C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80125820 00122780 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80125824 00122784 48 1E F0 95 */ bl Magnitude__9CVector3fCFv -/* 80125828 00122788 C0 02 98 3C */ lfs f0, lbl_805AB55C@sda21(r2) -/* 8012582C 0012278C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80125830 00122790 40 80 00 34 */ bge lbl_80125864 -/* 80125834 00122794 80 1C 08 34 */ lwz r0, 0x834(r28) -/* 80125838 00122798 2C 00 FF FF */ cmpwi r0, -1 -/* 8012583C 0012279C 40 82 00 28 */ bne lbl_80125864 -/* 80125840 001227A0 C0 22 98 1C */ lfs f1, lbl_805AB53C@sda21(r2) -/* 80125844 001227A4 7F 83 E3 78 */ mr r3, r28 -/* 80125848 001227A8 7F A4 EB 78 */ mr r4, r29 -/* 8012584C 001227AC 48 00 2E 91 */ bl GetStrafeDir__12CSpacePirateCFR13CStateManagerf -/* 80125850 001227B0 90 7C 08 34 */ stw r3, 0x834(r28) -/* 80125854 001227B4 80 1C 08 34 */ lwz r0, 0x834(r28) -/* 80125858 001227B8 2C 00 FF FF */ cmpwi r0, -1 -/* 8012585C 001227BC 41 82 00 08 */ beq lbl_80125864 -/* 80125860 001227C0 3B E0 00 01 */ li r31, 1 -lbl_80125864: -/* 80125864 001227C4 7F E3 FB 78 */ mr r3, r31 -/* 80125868 001227C8 E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 8012586C 001227CC CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80125870 001227D0 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80125874 001227D4 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 80125878 001227D8 E3 A1 00 A8 */ psq_l f29, 168(r1), 0, qr0 -/* 8012587C 001227DC CB A1 00 A0 */ lfd f29, 0xa0(r1) -/* 80125880 001227E0 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 80125884 001227E4 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 80125888 001227E8 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8012588C 001227EC 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80125890 001227F0 83 81 00 90 */ lwz r28, 0x90(r1) -/* 80125894 001227F4 7C 08 03 A6 */ mtlr r0 -/* 80125898 001227F8 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8012589C 001227FC 4E 80 00 20 */ blr - -.global Crouch__12CSpacePirateFR13CStateManager9EStateMsgf -Crouch__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801258A0 00122800 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801258A4 00122804 7C 08 02 A6 */ mflr r0 -/* 801258A8 00122808 90 01 00 34 */ stw r0, 0x34(r1) -/* 801258AC 0012280C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 801258B0 00122810 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 801258B4 00122814 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801258B8 00122818 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801258BC 0012281C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801258C0 00122820 7C BF 2B 78 */ mr r31, r5 -/* 801258C4 00122824 FF E0 08 90 */ fmr f31, f1 -/* 801258C8 00122828 2C 1F 00 01 */ cmpwi r31, 1 -/* 801258CC 0012282C 7C 7D 1B 78 */ mr r29, r3 -/* 801258D0 00122830 7C 9E 23 78 */ mr r30, r4 -/* 801258D4 00122834 41 82 00 90 */ beq lbl_80125964 -/* 801258D8 00122838 40 80 00 AC */ bge lbl_80125984 -/* 801258DC 0012283C 2C 1F 00 00 */ cmpwi r31, 0 -/* 801258E0 00122840 40 80 00 0C */ bge lbl_801258EC -/* 801258E4 00122844 48 00 00 A0 */ b lbl_80125984 -/* 801258E8 00122848 48 00 00 9C */ b lbl_80125984 -lbl_801258EC: -/* 801258EC 0012284C 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 801258F0 00122850 38 80 00 00 */ li r4, 0 -/* 801258F4 00122854 48 01 50 E5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 801258F8 00122858 A0 1D 06 40 */ lhz r0, 0x640(r29) -/* 801258FC 0012285C 7F A3 EB 78 */ mr r3, r29 -/* 80125900 00122860 7F C4 F3 78 */ mr r4, r30 -/* 80125904 00122864 38 A1 00 08 */ addi r5, r1, 8 -/* 80125908 00122868 B0 01 00 08 */ sth r0, 8(r1) -/* 8012590C 0012286C 4B F5 6F A1 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80125910 00122870 28 03 00 00 */ cmplwi r3, 0 -/* 80125914 00122874 41 82 00 1C */ beq lbl_80125930 -/* 80125918 00122878 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 8012591C 0012287C C0 23 00 48 */ lfs f1, 0x48(r3) -/* 80125920 00122880 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 80125924 00122884 D0 1D 06 48 */ stfs f0, 0x648(r29) -/* 80125928 00122888 D0 3D 06 4C */ stfs f1, 0x64c(r29) -/* 8012592C 0012288C D0 5D 06 50 */ stfs f2, 0x650(r29) -lbl_80125930: -/* 80125930 00122890 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80125934 00122894 7F A3 EB 78 */ mr r3, r29 -/* 80125938 00122898 FC 20 F8 90 */ fmr f1, f31 -/* 8012593C 0012289C 7F C4 F3 78 */ mr r4, r30 -/* 80125940 001228A0 D0 1D 06 44 */ stfs f0, 0x644(r29) -/* 80125944 001228A4 7F E5 FB 78 */ mr r5, r31 -/* 80125948 001228A8 81 9D 00 00 */ lwz r12, 0(r29) -/* 8012594C 001228AC 81 8C 00 C0 */ lwz r12, 0xc0(r12) -/* 80125950 001228B0 7D 89 03 A6 */ mtctr r12 -/* 80125954 001228B4 4E 80 04 21 */ bctrl -/* 80125958 001228B8 38 00 FF FF */ li r0, -1 -/* 8012595C 001228BC 90 1D 07 9C */ stw r0, 0x79c(r29) -/* 80125960 001228C0 48 00 00 24 */ b lbl_80125984 -lbl_80125964: -/* 80125964 001228C4 80 BD 04 50 */ lwz r5, 0x450(r29) -/* 80125968 001228C8 C0 1D 06 48 */ lfs f0, 0x648(r29) -/* 8012596C 001228CC D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 80125970 001228D0 C0 1D 06 4C */ lfs f0, 0x64c(r29) -/* 80125974 001228D4 D0 05 00 20 */ stfs f0, 0x20(r5) -/* 80125978 001228D8 C0 1D 06 50 */ lfs f0, 0x650(r29) -/* 8012597C 001228DC D0 05 00 24 */ stfs f0, 0x24(r5) -/* 80125980 001228E0 48 00 36 1D */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager -lbl_80125984: -/* 80125984 001228E4 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80125988 001228E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8012598C 001228EC CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80125990 001228F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80125994 001228F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80125998 001228F8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8012599C 001228FC 7C 08 03 A6 */ mtlr r0 -/* 801259A0 00122900 38 21 00 30 */ addi r1, r1, 0x30 -/* 801259A4 00122904 4E 80 00 20 */ blr - -.global ShouldCrouch__12CSpacePirateFR13CStateManagerf -ShouldCrouch__12CSpacePirateFR13CStateManagerf: -/* 801259A8 00122908 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801259AC 0012290C 7C 08 02 A6 */ mflr r0 -/* 801259B0 00122910 90 01 00 24 */ stw r0, 0x24(r1) -/* 801259B4 00122914 38 A1 00 08 */ addi r5, r1, 8 -/* 801259B8 00122918 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801259BC 0012291C 3B E0 00 00 */ li r31, 0 -/* 801259C0 00122920 A0 03 06 40 */ lhz r0, 0x640(r3) -/* 801259C4 00122924 B0 01 00 08 */ sth r0, 8(r1) -/* 801259C8 00122928 4B F5 6E E5 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 801259CC 0012292C 28 03 00 00 */ cmplwi r3, 0 -/* 801259D0 00122930 41 82 00 0C */ beq lbl_801259DC -/* 801259D4 00122934 48 00 7C 45 */ bl ShouldCrouch__17CScriptCoverPointCFv -/* 801259D8 00122938 7C 7F 1B 78 */ mr r31, r3 -lbl_801259DC: -/* 801259DC 0012293C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801259E0 00122940 7F E3 FB 78 */ mr r3, r31 -/* 801259E4 00122944 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801259E8 00122948 7C 08 03 A6 */ mtlr r0 -/* 801259EC 0012294C 38 21 00 20 */ addi r1, r1, 0x20 -/* 801259F0 00122950 4E 80 00 20 */ blr - -.global DoubleSnap__12CSpacePirateFR13CStateManager9EStateMsgf -DoubleSnap__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801259F4 00122954 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 801259F8 00122958 7C 08 02 A6 */ mflr r0 -/* 801259FC 0012295C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80125A00 00122960 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80125A04 00122964 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 80125A08 00122968 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 80125A0C 0012296C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 80125A10 00122970 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 80125A14 00122974 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 80125A18 00122978 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 80125A1C 0012297C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 80125A20 00122980 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80125A24 00122984 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80125A28 00122988 FF E0 08 90 */ fmr f31, f1 -/* 80125A2C 0012298C 2C 05 00 01 */ cmpwi r5, 1 -/* 80125A30 00122990 7C 7E 1B 78 */ mr r30, r3 -/* 80125A34 00122994 7C 9F 23 78 */ mr r31, r4 -/* 80125A38 00122998 41 82 00 EC */ beq lbl_80125B24 -/* 80125A3C 0012299C 40 80 00 10 */ bge lbl_80125A4C -/* 80125A40 001229A0 2C 05 00 00 */ cmpwi r5, 0 -/* 80125A44 001229A4 40 80 00 14 */ bge lbl_80125A58 -/* 80125A48 001229A8 48 00 03 08 */ b lbl_80125D50 -lbl_80125A4C: -/* 80125A4C 001229AC 2C 05 00 03 */ cmpwi r5, 3 -/* 80125A50 001229B0 40 80 03 00 */ bge lbl_80125D50 -/* 80125A54 001229B4 48 00 02 DC */ b lbl_80125D30 -lbl_80125A58: -/* 80125A58 001229B8 88 1E 06 35 */ lbz r0, 0x635(r30) -/* 80125A5C 001229BC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80125A60 001229C0 40 82 00 0C */ bne lbl_80125A6C -/* 80125A64 001229C4 38 00 00 01 */ li r0, 1 -/* 80125A68 001229C8 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_80125A6C: -/* 80125A6C 001229CC 7F C4 F3 78 */ mr r4, r30 -/* 80125A70 001229D0 7F E5 FB 78 */ mr r5, r31 -/* 80125A74 001229D4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80125A78 001229D8 48 00 29 CD */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 80125A7C 001229DC C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80125A80 001229E0 3C 60 80 57 */ lis r3, lbl_8056F85C@ha -/* 80125A84 001229E4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80125A88 001229E8 38 C0 00 01 */ li r6, 1 -/* 80125A8C 001229EC D0 3E 02 E0 */ stfs f1, 0x2e0(r30) -/* 80125A90 001229F0 38 A0 00 00 */ li r5, 0 -/* 80125A94 001229F4 38 63 F8 5C */ addi r3, r3, lbl_8056F85C@l -/* 80125A98 001229F8 38 81 00 08 */ addi r4, r1, 8 -/* 80125A9C 001229FC C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 80125AA0 00122A00 D0 3E 02 E4 */ stfs f1, 0x2e4(r30) -/* 80125AA4 00122A04 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80125AA8 00122A08 D0 3E 02 E8 */ stfs f1, 0x2e8(r30) -/* 80125AAC 00122A0C C0 5E 02 E0 */ lfs f2, 0x2e0(r30) -/* 80125AB0 00122A10 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80125AB4 00122A14 C0 BE 02 E4 */ lfs f5, 0x2e4(r30) -/* 80125AB8 00122A18 C0 9E 00 50 */ lfs f4, 0x50(r30) -/* 80125ABC 00122A1C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80125AC0 00122A20 C0 7E 02 E8 */ lfs f3, 0x2e8(r30) -/* 80125AC4 00122A24 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80125AC8 00122A28 EC 85 20 28 */ fsubs f4, f5, f4 -/* 80125ACC 00122A2C D0 3E 06 48 */ stfs f1, 0x648(r30) -/* 80125AD0 00122A30 EC 23 10 28 */ fsubs f1, f3, f2 -/* 80125AD4 00122A34 D0 9E 06 4C */ stfs f4, 0x64c(r30) -/* 80125AD8 00122A38 D0 3E 06 50 */ stfs f1, 0x650(r30) -/* 80125ADC 00122A3C D0 1E 06 44 */ stfs f0, 0x644(r30) -/* 80125AE0 00122A40 88 1E 06 36 */ lbz r0, 0x636(r30) -/* 80125AE4 00122A44 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 80125AE8 00122A48 98 1E 06 36 */ stb r0, 0x636(r30) -/* 80125AEC 00122A4C 90 DE 08 3C */ stw r6, 0x83c(r30) -/* 80125AF0 00122A50 88 1E 06 38 */ lbz r0, 0x638(r30) -/* 80125AF4 00122A54 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80125AF8 00122A58 98 1E 06 38 */ stb r0, 0x638(r30) -/* 80125AFC 00122A5C 88 1E 06 36 */ lbz r0, 0x636(r30) -/* 80125B00 00122A60 50 C0 07 FE */ rlwimi r0, r6, 0, 0x1f, 0x1f -/* 80125B04 00122A64 98 1E 06 36 */ stb r0, 0x636(r30) -/* 80125B08 00122A68 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 80125B0C 00122A6C 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 80125B10 00122A70 98 1E 06 39 */ stb r0, 0x639(r30) -/* 80125B14 00122A74 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80125B18 00122A78 B0 01 00 08 */ sth r0, 8(r1) -/* 80125B1C 00122A7C 48 00 02 6D */ bl "remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId" -/* 80125B20 00122A80 48 00 02 30 */ b lbl_80125D50 -lbl_80125B24: -/* 80125B24 00122A84 3C A0 80 3E */ lis r5, lbl_803E0788@ha -/* 80125B28 00122A88 38 C1 00 3C */ addi r6, r1, 0x3c -/* 80125B2C 00122A8C 39 25 07 88 */ addi r9, r5, lbl_803E0788@l -/* 80125B30 00122A90 38 A0 00 07 */ li r5, 7 -/* 80125B34 00122A94 81 09 00 00 */ lwz r8, 0(r9) -/* 80125B38 00122A98 80 E9 00 04 */ lwz r7, 4(r9) -/* 80125B3C 00122A9C 80 09 00 08 */ lwz r0, 8(r9) -/* 80125B40 00122AA0 91 01 00 3C */ stw r8, 0x3c(r1) -/* 80125B44 00122AA4 90 E1 00 40 */ stw r7, 0x40(r1) -/* 80125B48 00122AA8 90 01 00 44 */ stw r0, 0x44(r1) -/* 80125B4C 00122AAC 80 FE 08 3C */ lwz r7, 0x83c(r30) -/* 80125B50 00122AB0 4B F5 6C 65 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80125B54 00122AB4 80 1E 08 3C */ lwz r0, 0x83c(r30) -/* 80125B58 00122AB8 2C 00 00 01 */ cmpwi r0, 1 -/* 80125B5C 00122ABC 40 82 01 0C */ bne lbl_80125C68 -/* 80125B60 00122AC0 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80125B64 00122AC4 2C 00 00 03 */ cmpwi r0, 3 -/* 80125B68 00122AC8 40 82 01 00 */ bne lbl_80125C68 -/* 80125B6C 00122ACC C3 9E 00 60 */ lfs f28, 0x60(r30) -/* 80125B70 00122AD0 7F C4 F3 78 */ mr r4, r30 -/* 80125B74 00122AD4 C3 BE 00 50 */ lfs f29, 0x50(r30) -/* 80125B78 00122AD8 7F E5 FB 78 */ mr r5, r31 -/* 80125B7C 00122ADC C3 DE 00 40 */ lfs f30, 0x40(r30) -/* 80125B80 00122AE0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80125B84 00122AE4 48 00 28 C1 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 80125B88 00122AE8 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80125B8C 00122AEC C0 01 00 34 */ lfs f0, 0x34(r1) -/* 80125B90 00122AF0 EC 61 F0 28 */ fsubs f3, f1, f30 -/* 80125B94 00122AF4 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80125B98 00122AF8 EC 40 E8 28 */ fsubs f2, f0, f29 -/* 80125B9C 00122AFC EC 81 E0 28 */ fsubs f4, f1, f28 -/* 80125BA0 00122B00 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 80125BA4 00122B04 D0 61 00 54 */ stfs f3, 0x54(r1) -/* 80125BA8 00122B08 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 80125BAC 00122B0C D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80125BB0 00122B10 EC 44 01 32 */ fmuls f2, f4, f4 -/* 80125BB4 00122B14 D0 81 00 5C */ stfs f4, 0x5c(r1) -/* 80125BB8 00122B18 EC 01 00 2A */ fadds f0, f1, f0 -/* 80125BBC 00122B1C C0 7E 02 FC */ lfs f3, 0x2fc(r30) -/* 80125BC0 00122B20 EC 22 00 2A */ fadds f1, f2, f0 -/* 80125BC4 00122B24 EC 03 00 F2 */ fmuls f0, f3, f3 -/* 80125BC8 00122B28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80125BCC 00122B2C 40 80 00 9C */ bge lbl_80125C68 -/* 80125BD0 00122B30 C0 5E 00 58 */ lfs f2, 0x58(r30) -/* 80125BD4 00122B34 38 61 00 24 */ addi r3, r1, 0x24 -/* 80125BD8 00122B38 C0 3E 00 48 */ lfs f1, 0x48(r30) -/* 80125BDC 00122B3C 38 81 00 54 */ addi r4, r1, 0x54 -/* 80125BE0 00122B40 C0 1E 00 38 */ lfs f0, 0x38(r30) -/* 80125BE4 00122B44 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80125BE8 00122B48 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80125BEC 00122B4C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80125BF0 00122B50 48 1E EC 61 */ bl AsNormalized__9CVector3fCFv -/* 80125BF4 00122B54 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80125BF8 00122B58 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80125BFC 00122B5C C0 41 00 24 */ lfs f2, 0x24(r1) -/* 80125C00 00122B60 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80125C04 00122B64 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80125C08 00122B68 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 80125C0C 00122B6C C0 61 00 20 */ lfs f3, 0x20(r1) -/* 80125C10 00122B70 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80125C14 00122B74 C0 02 98 44 */ lfs f0, lbl_805AB564@sda21(r2) -/* 80125C18 00122B78 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80125C1C 00122B7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80125C20 00122B80 40 81 00 48 */ ble lbl_80125C68 -/* 80125C24 00122B84 38 80 00 01 */ li r4, 1 -/* 80125C28 00122B88 38 00 00 02 */ li r0, 2 -/* 80125C2C 00122B8C 90 9E 03 2C */ stw r4, 0x32c(r30) -/* 80125C30 00122B90 38 60 00 00 */ li r3, 0 -/* 80125C34 00122B94 90 1E 08 3C */ stw r0, 0x83c(r30) -/* 80125C38 00122B98 88 1E 06 38 */ lbz r0, 0x638(r30) -/* 80125C3C 00122B9C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80125C40 00122BA0 98 1E 06 38 */ stb r0, 0x638(r30) -/* 80125C44 00122BA4 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 80125C48 00122BA8 D0 1E 06 48 */ stfs f0, 0x648(r30) -/* 80125C4C 00122BAC C0 01 00 58 */ lfs f0, 0x58(r1) -/* 80125C50 00122BB0 D0 1E 06 4C */ stfs f0, 0x64c(r30) -/* 80125C54 00122BB4 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 80125C58 00122BB8 D0 1E 06 50 */ stfs f0, 0x650(r30) -/* 80125C5C 00122BBC 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 80125C60 00122BC0 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e -/* 80125C64 00122BC4 98 1E 06 39 */ stb r0, 0x639(r30) -lbl_80125C68: -/* 80125C68 00122BC8 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 80125C6C 00122BCC 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80125C70 00122BD0 41 82 00 44 */ beq lbl_80125CB4 -/* 80125C74 00122BD4 C3 DE 00 60 */ lfs f30, 0x60(r30) -/* 80125C78 00122BD8 7F C4 F3 78 */ mr r4, r30 -/* 80125C7C 00122BDC C3 BE 00 50 */ lfs f29, 0x50(r30) -/* 80125C80 00122BE0 7F E5 FB 78 */ mr r5, r31 -/* 80125C84 00122BE4 C3 9E 00 40 */ lfs f28, 0x40(r30) -/* 80125C88 00122BE8 38 61 00 0C */ addi r3, r1, 0xc -/* 80125C8C 00122BEC 48 00 27 B9 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 80125C90 00122BF0 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80125C94 00122BF4 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80125C98 00122BF8 EC 00 E0 28 */ fsubs f0, f0, f28 -/* 80125C9C 00122BFC C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80125CA0 00122C00 EC 42 E8 28 */ fsubs f2, f2, f29 -/* 80125CA4 00122C04 EC 21 F0 28 */ fsubs f1, f1, f30 -/* 80125CA8 00122C08 D0 1E 06 48 */ stfs f0, 0x648(r30) -/* 80125CAC 00122C0C D0 5E 06 4C */ stfs f2, 0x64c(r30) -/* 80125CB0 00122C10 D0 3E 06 50 */ stfs f1, 0x650(r30) -lbl_80125CB4: -/* 80125CB4 00122C14 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80125CB8 00122C18 C0 1E 06 48 */ lfs f0, 0x648(r30) -/* 80125CBC 00122C1C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80125CC0 00122C20 C0 1E 06 4C */ lfs f0, 0x64c(r30) -/* 80125CC4 00122C24 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80125CC8 00122C28 C0 1E 06 50 */ lfs f0, 0x650(r30) -/* 80125CCC 00122C2C D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80125CD0 00122C30 88 1E 06 35 */ lbz r0, 0x635(r30) -/* 80125CD4 00122C34 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80125CD8 00122C38 41 82 00 2C */ beq lbl_80125D04 -/* 80125CDC 00122C3C 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80125CE0 00122C40 2C 00 00 03 */ cmpwi r0, 3 -/* 80125CE4 00122C44 40 82 00 10 */ bne lbl_80125CF4 -/* 80125CE8 00122C48 C0 02 97 D4 */ lfs f0, lbl_805AB4F4@sda21(r2) -/* 80125CEC 00122C4C D0 1E 03 E8 */ stfs f0, 0x3e8(r30) -/* 80125CF0 00122C50 48 00 00 14 */ b lbl_80125D04 -lbl_80125CF4: -/* 80125CF4 00122C54 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) -/* 80125CF8 00122C58 C0 02 98 48 */ lfs f0, lbl_805AB568@sda21(r2) -/* 80125CFC 00122C5C D0 3E 03 E8 */ stfs f1, 0x3e8(r30) -/* 80125D00 00122C60 D0 1E 08 BC */ stfs f0, 0x8bc(r30) -lbl_80125D04: -/* 80125D04 00122C64 7F C3 F3 78 */ mr r3, r30 -/* 80125D08 00122C68 7F E4 FB 78 */ mr r4, r31 -/* 80125D0C 00122C6C 48 00 32 91 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager -/* 80125D10 00122C70 FC 20 F8 90 */ fmr f1, f31 -/* 80125D14 00122C74 7F C3 F3 78 */ mr r3, r30 -/* 80125D18 00122C78 7F E4 FB 78 */ mr r4, r31 -/* 80125D1C 00122C7C 48 00 31 C5 */ bl UpdateHeldPosition__12CSpacePirateFR13CStateManagerf -/* 80125D20 00122C80 7F C3 F3 78 */ mr r3, r30 -/* 80125D24 00122C84 7F E4 FB 78 */ mr r4, r31 -/* 80125D28 00122C88 48 00 28 09 */ bl CheckBlade__12CSpacePirateFR13CStateManager -/* 80125D2C 00122C8C 48 00 00 24 */ b lbl_80125D50 -lbl_80125D30: -/* 80125D30 00122C90 88 1E 06 36 */ lbz r0, 0x636(r30) -/* 80125D34 00122C94 38 60 00 00 */ li r3, 0 -/* 80125D38 00122C98 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80125D3C 00122C9C 98 1E 06 36 */ stb r0, 0x636(r30) -/* 80125D40 00122CA0 88 1E 06 36 */ lbz r0, 0x636(r30) -/* 80125D44 00122CA4 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80125D48 00122CA8 98 1E 06 36 */ stb r0, 0x636(r30) -/* 80125D4C 00122CAC 90 7E 03 2C */ stw r3, 0x32c(r30) -lbl_80125D50: -/* 80125D50 00122CB0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80125D54 00122CB4 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80125D58 00122CB8 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 80125D5C 00122CBC CB C1 00 90 */ lfd f30, 0x90(r1) -/* 80125D60 00122CC0 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 80125D64 00122CC4 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 80125D68 00122CC8 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 80125D6C 00122CCC CB 81 00 70 */ lfd f28, 0x70(r1) -/* 80125D70 00122CD0 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80125D74 00122CD4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80125D78 00122CD8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80125D7C 00122CDC 7C 08 03 A6 */ mtlr r0 -/* 80125D80 00122CE0 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80125D84 00122CE4 4E 80 00 20 */ blr - -.global "remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId" -"remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId": -/* 80125D88 00122CE8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80125D8C 00122CEC 7C 08 02 A6 */ mflr r0 -/* 80125D90 00122CF0 7C 85 23 78 */ mr r5, r4 -/* 80125D94 00122CF4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80125D98 00122CF8 38 81 00 08 */ addi r4, r1, 8 -/* 80125D9C 00122CFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80125DA0 00122D00 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80125DA4 00122D04 7C 7E 1B 78 */ mr r30, r3 -/* 80125DA8 00122D08 38 61 00 0C */ addi r3, r1, 0xc -/* 80125DAC 00122D0C 48 00 6D 05 */ bl sub_8012cab0 -/* 80125DB0 00122D10 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80125DB4 00122D14 80 9E 00 04 */ lwz r4, 4(r30) -/* 80125DB8 00122D18 90 01 00 10 */ stw r0, 0x10(r1) -/* 80125DBC 00122D1C A3 E1 00 12 */ lhz r31, 0x12(r1) -/* 80125DC0 00122D20 48 00 00 24 */ b lbl_80125DE4 -lbl_80125DC4: -/* 80125DC4 00122D24 A0 04 00 08 */ lhz r0, 8(r4) -/* 80125DC8 00122D28 7C 1F 00 40 */ cmplw r31, r0 -/* 80125DCC 00122D2C 40 82 00 14 */ bne lbl_80125DE0 -/* 80125DD0 00122D30 7F C3 F3 78 */ mr r3, r30 -/* 80125DD4 00122D34 48 00 70 9D */ bl "erase__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRCQ34rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>8iterator" -/* 80125DD8 00122D38 7C 64 1B 78 */ mr r4, r3 -/* 80125DDC 00122D3C 48 00 00 08 */ b lbl_80125DE4 -lbl_80125DE0: -/* 80125DE0 00122D40 80 84 00 04 */ lwz r4, 4(r4) -lbl_80125DE4: -/* 80125DE4 00122D44 80 1E 00 08 */ lwz r0, 8(r30) -/* 80125DE8 00122D48 7C 04 00 40 */ cmplw r4, r0 -/* 80125DEC 00122D4C 40 82 FF D8 */ bne lbl_80125DC4 -/* 80125DF0 00122D50 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80125DF4 00122D54 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80125DF8 00122D58 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80125DFC 00122D5C 7C 08 03 A6 */ mtlr r0 -/* 80125E00 00122D60 38 21 00 20 */ addi r1, r1, 0x20 -/* 80125E04 00122D64 4E 80 00 20 */ blr - -.global Attack__12CSpacePirateFR13CStateManager9EStateMsgf -Attack__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80125E08 00122D68 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80125E0C 00122D6C 7C 08 02 A6 */ mflr r0 -/* 80125E10 00122D70 90 01 00 94 */ stw r0, 0x94(r1) -/* 80125E14 00122D74 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80125E18 00122D78 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80125E1C 00122D7C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80125E20 00122D80 93 C1 00 78 */ stw r30, 0x78(r1) -/* 80125E24 00122D84 FF E0 08 90 */ fmr f31, f1 -/* 80125E28 00122D88 2C 05 00 01 */ cmpwi r5, 1 -/* 80125E2C 00122D8C 7C 7F 1B 78 */ mr r31, r3 -/* 80125E30 00122D90 7C 9E 23 78 */ mr r30, r4 -/* 80125E34 00122D94 41 82 01 DC */ beq lbl_80126010 -/* 80125E38 00122D98 40 80 00 10 */ bge lbl_80125E48 -/* 80125E3C 00122D9C 2C 05 00 00 */ cmpwi r5, 0 -/* 80125E40 00122DA0 40 80 00 14 */ bge lbl_80125E54 -/* 80125E44 00122DA4 48 00 02 A4 */ b lbl_801260E8 -lbl_80125E48: -/* 80125E48 00122DA8 2C 05 00 03 */ cmpwi r5, 3 -/* 80125E4C 00122DAC 40 80 02 9C */ bge lbl_801260E8 -/* 80125E50 00122DB0 48 00 02 78 */ b lbl_801260C8 -lbl_80125E54: -/* 80125E54 00122DB4 38 00 00 01 */ li r0, 1 -/* 80125E58 00122DB8 38 80 00 03 */ li r4, 3 -/* 80125E5C 00122DBC 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 80125E60 00122DC0 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80125E64 00122DC4 48 01 4B 75 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80125E68 00122DC8 7F E4 FB 78 */ mr r4, r31 -/* 80125E6C 00122DCC 7F C5 F3 78 */ mr r5, r30 -/* 80125E70 00122DD0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80125E74 00122DD4 48 00 25 D1 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 80125E78 00122DD8 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 80125E7C 00122DDC 7F E4 FB 78 */ mr r4, r31 -/* 80125E80 00122DE0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80125E84 00122DE4 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) -/* 80125E88 00122DE8 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 80125E8C 00122DEC D0 1F 02 E4 */ stfs f0, 0x2e4(r31) -/* 80125E90 00122DF0 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 80125E94 00122DF4 D0 1F 02 E8 */ stfs f0, 0x2e8(r31) -/* 80125E98 00122DF8 4B FF 4A 95 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80125E9C 00122DFC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80125EA0 00122E00 38 81 00 60 */ addi r4, r1, 0x60 -/* 80125EA4 00122E04 48 21 17 69 */ bl GetCenterPoint__6CAABoxCFv -/* 80125EA8 00122E08 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) -/* 80125EAC 00122E0C 38 80 00 00 */ li r4, 0 -/* 80125EB0 00122E10 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80125EB4 00122E14 C0 BF 02 E4 */ lfs f5, 0x2e4(r31) -/* 80125EB8 00122E18 C0 81 00 30 */ lfs f4, 0x30(r1) -/* 80125EBC 00122E1C EC 21 00 28 */ fsubs f1, f1, f0 -/* 80125EC0 00122E20 C0 7F 02 E8 */ lfs f3, 0x2e8(r31) -/* 80125EC4 00122E24 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80125EC8 00122E28 EC 85 20 28 */ fsubs f4, f5, f4 -/* 80125ECC 00122E2C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80125ED0 00122E30 D0 3F 06 48 */ stfs f1, 0x648(r31) -/* 80125ED4 00122E34 EC 23 10 28 */ fsubs f1, f3, f2 -/* 80125ED8 00122E38 D0 9F 06 4C */ stfs f4, 0x64c(r31) -/* 80125EDC 00122E3C D0 3F 06 50 */ stfs f1, 0x650(r31) -/* 80125EE0 00122E40 D0 1F 06 44 */ stfs f0, 0x644(r31) -/* 80125EE4 00122E44 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 80125EE8 00122E48 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80125EEC 00122E4C 98 1F 06 36 */ stb r0, 0x636(r31) -/* 80125EF0 00122E50 88 1F 06 35 */ lbz r0, 0x635(r31) -/* 80125EF4 00122E54 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80125EF8 00122E58 40 82 00 68 */ bne lbl_80125F60 -/* 80125EFC 00122E5C C0 3F 06 48 */ lfs f1, 0x648(r31) -/* 80125F00 00122E60 C0 1F 06 4C */ lfs f0, 0x64c(r31) -/* 80125F04 00122E64 EC 41 00 72 */ fmuls f2, f1, f1 -/* 80125F08 00122E68 C0 7F 06 50 */ lfs f3, 0x650(r31) -/* 80125F0C 00122E6C EC 20 00 32 */ fmuls f1, f0, f0 -/* 80125F10 00122E70 C0 1F 02 FC */ lfs f0, 0x2fc(r31) -/* 80125F14 00122E74 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80125F18 00122E78 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80125F1C 00122E7C EC 22 08 2A */ fadds f1, f2, f1 -/* 80125F20 00122E80 EC 23 08 2A */ fadds f1, f3, f1 -/* 80125F24 00122E84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80125F28 00122E88 40 80 00 38 */ bge lbl_80125F60 -/* 80125F2C 00122E8C C0 3F 06 50 */ lfs f1, 0x650(r31) -/* 80125F30 00122E90 C0 02 98 28 */ lfs f0, lbl_805AB548@sda21(r2) -/* 80125F34 00122E94 EC 21 00 72 */ fmuls f1, f1, f1 -/* 80125F38 00122E98 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80125F3C 00122E9C 40 80 00 24 */ bge lbl_80125F60 -/* 80125F40 00122EA0 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 80125F44 00122EA4 38 60 00 01 */ li r3, 1 -/* 80125F48 00122EA8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80125F4C 00122EAC 98 1F 06 36 */ stb r0, 0x636(r31) -/* 80125F50 00122EB0 88 1F 06 38 */ lbz r0, 0x638(r31) -/* 80125F54 00122EB4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80125F58 00122EB8 98 1F 06 38 */ stb r0, 0x638(r31) -/* 80125F5C 00122EBC 48 00 00 98 */ b lbl_80125FF4 -lbl_80125F60: -/* 80125F60 00122EC0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80125F64 00122EC4 38 9F 06 48 */ addi r4, r31, 0x648 -/* 80125F68 00122EC8 48 1E E8 E9 */ bl AsNormalized__9CVector3fCFv -/* 80125F6C 00122ECC C0 9F 00 48 */ lfs f4, 0x48(r31) -/* 80125F70 00122ED0 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80125F74 00122ED4 C0 7F 00 38 */ lfs f3, 0x38(r31) -/* 80125F78 00122ED8 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80125F7C 00122EDC C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80125F80 00122EE0 C0 BF 00 58 */ lfs f5, 0x58(r31) -/* 80125F84 00122EE4 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80125F88 00122EE8 EC 23 00 7A */ fmadds f1, f3, f1, f0 -/* 80125F8C 00122EEC C0 02 98 34 */ lfs f0, lbl_805AB554@sda21(r2) -/* 80125F90 00122EF0 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80125F94 00122EF4 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 80125F98 00122EF8 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 80125F9C 00122EFC D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 80125FA0 00122F00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80125FA4 00122F04 40 80 00 50 */ bge lbl_80125FF4 -/* 80125FA8 00122F08 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80125FAC 00122F0C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 80125FB0 00122F10 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80125FB4 00122F14 38 81 00 44 */ addi r4, r1, 0x44 -/* 80125FB8 00122F18 C0 43 00 04 */ lfs f2, 4(r3) -/* 80125FBC 00122F1C C0 23 00 08 */ lfs f1, 8(r3) -/* 80125FC0 00122F20 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 80125FC4 00122F24 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80125FC8 00122F28 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80125FCC 00122F2C C0 3F 06 48 */ lfs f1, 0x648(r31) -/* 80125FD0 00122F30 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80125FD4 00122F34 C0 3F 06 4C */ lfs f1, 0x64c(r31) -/* 80125FD8 00122F38 D0 21 00 54 */ stfs f1, 0x54(r1) -/* 80125FDC 00122F3C C0 3F 06 50 */ lfs f1, 0x650(r31) -/* 80125FE0 00122F40 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80125FE4 00122F44 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80125FE8 00122F48 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80125FEC 00122F4C 38 63 00 04 */ addi r3, r3, 4 -/* 80125FF0 00122F50 48 00 B7 29 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_80125FF4: -/* 80125FF4 00122F54 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 80125FF8 00122F58 38 60 00 01 */ li r3, 1 -/* 80125FFC 00122F5C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80126000 00122F60 C0 02 98 48 */ lfs f0, lbl_805AB568@sda21(r2) -/* 80126004 00122F64 98 1F 06 36 */ stb r0, 0x636(r31) -/* 80126008 00122F68 D0 1F 08 BC */ stfs f0, 0x8bc(r31) -/* 8012600C 00122F6C 48 00 00 DC */ b lbl_801260E8 -lbl_80126010: -/* 80126010 00122F70 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 80126014 00122F74 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80126018 00122F78 41 82 00 90 */ beq lbl_801260A8 -/* 8012601C 00122F7C 3C A0 80 3E */ lis r5, lbl_803E077C@ha -/* 80126020 00122F80 38 C1 00 08 */ addi r6, r1, 8 -/* 80126024 00122F84 39 45 07 7C */ addi r10, r5, lbl_803E077C@l -/* 80126028 00122F88 38 A0 00 07 */ li r5, 7 -/* 8012602C 00122F8C 81 2A 00 00 */ lwz r9, 0(r10) -/* 80126030 00122F90 38 E0 00 01 */ li r7, 1 -/* 80126034 00122F94 81 0A 00 04 */ lwz r8, 4(r10) -/* 80126038 00122F98 80 0A 00 08 */ lwz r0, 8(r10) -/* 8012603C 00122F9C 91 21 00 08 */ stw r9, 8(r1) -/* 80126040 00122FA0 91 01 00 0C */ stw r8, 0xc(r1) -/* 80126044 00122FA4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80126048 00122FA8 4B F5 67 6D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8012604C 00122FAC 80 BF 04 50 */ lwz r5, 0x450(r31) -/* 80126050 00122FB0 7F E3 FB 78 */ mr r3, r31 -/* 80126054 00122FB4 C0 1F 06 48 */ lfs f0, 0x648(r31) -/* 80126058 00122FB8 7F C4 F3 78 */ mr r4, r30 -/* 8012605C 00122FBC D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 80126060 00122FC0 C0 1F 06 4C */ lfs f0, 0x64c(r31) -/* 80126064 00122FC4 D0 05 00 20 */ stfs f0, 0x20(r5) -/* 80126068 00122FC8 C0 1F 06 50 */ lfs f0, 0x650(r31) -/* 8012606C 00122FCC D0 05 00 24 */ stfs f0, 0x24(r5) -/* 80126070 00122FD0 48 00 24 C1 */ bl CheckBlade__12CSpacePirateFR13CStateManager -/* 80126074 00122FD4 88 1F 06 35 */ lbz r0, 0x635(r31) -/* 80126078 00122FD8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8012607C 00122FDC 41 82 00 2C */ beq lbl_801260A8 -/* 80126080 00122FE0 80 1F 03 2C */ lwz r0, 0x32c(r31) -/* 80126084 00122FE4 2C 00 00 03 */ cmpwi r0, 3 -/* 80126088 00122FE8 40 82 00 10 */ bne lbl_80126098 -/* 8012608C 00122FEC C0 02 97 D4 */ lfs f0, lbl_805AB4F4@sda21(r2) -/* 80126090 00122FF0 D0 1F 03 E8 */ stfs f0, 0x3e8(r31) -/* 80126094 00122FF4 48 00 00 14 */ b lbl_801260A8 -lbl_80126098: -/* 80126098 00122FF8 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) -/* 8012609C 00122FFC C0 02 98 48 */ lfs f0, lbl_805AB568@sda21(r2) -/* 801260A0 00123000 D0 3F 03 E8 */ stfs f1, 0x3e8(r31) -/* 801260A4 00123004 D0 1F 08 BC */ stfs f0, 0x8bc(r31) -lbl_801260A8: -/* 801260A8 00123008 7F E3 FB 78 */ mr r3, r31 -/* 801260AC 0012300C 7F C4 F3 78 */ mr r4, r30 -/* 801260B0 00123010 48 00 2E ED */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager -/* 801260B4 00123014 FC 20 F8 90 */ fmr f1, f31 -/* 801260B8 00123018 7F E3 FB 78 */ mr r3, r31 -/* 801260BC 0012301C 7F C4 F3 78 */ mr r4, r30 -/* 801260C0 00123020 48 00 2E 21 */ bl UpdateHeldPosition__12CSpacePirateFR13CStateManagerf -/* 801260C4 00123024 48 00 00 24 */ b lbl_801260E8 -lbl_801260C8: -/* 801260C8 00123028 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 801260CC 0012302C 38 60 00 00 */ li r3, 0 -/* 801260D0 00123030 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 801260D4 00123034 98 1F 06 36 */ stb r0, 0x636(r31) -/* 801260D8 00123038 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 801260DC 0012303C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 801260E0 00123040 98 1F 06 36 */ stb r0, 0x636(r31) -/* 801260E4 00123044 90 7F 03 2C */ stw r3, 0x32c(r31) -lbl_801260E8: -/* 801260E8 00123048 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 801260EC 0012304C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 801260F0 00123050 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 801260F4 00123054 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 801260F8 00123058 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 801260FC 0012305C 7C 08 03 A6 */ mtlr r0 -/* 80126100 00123060 38 21 00 90 */ addi r1, r1, 0x90 -/* 80126104 00123064 4E 80 00 20 */ blr - -.global Enraged__12CSpacePirateFR13CStateManager9EStateMsgf -Enraged__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80126108 00123068 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012610C 0012306C 7C 08 02 A6 */ mflr r0 -/* 80126110 00123070 2C 05 00 00 */ cmpwi r5, 0 -/* 80126114 00123074 90 01 00 14 */ stw r0, 0x14(r1) -/* 80126118 00123078 41 82 00 08 */ beq lbl_80126120 -/* 8012611C 0012307C 48 00 00 34 */ b lbl_80126150 -lbl_80126120: -/* 80126120 00123080 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 80126124 00123084 38 00 00 0A */ li r0, 0xa -/* 80126128 00123088 38 A4 AA 68 */ addi r5, r4, lbl_803DAA68@l -/* 8012612C 0012308C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80126130 00123090 38 81 00 08 */ addi r4, r1, 8 -/* 80126134 00123094 90 A1 00 08 */ stw r5, 8(r1) -/* 80126138 00123098 80 63 04 50 */ lwz r3, 0x450(r3) -/* 8012613C 0012309C 38 63 00 04 */ addi r3, r3, 4 -/* 80126140 001230A0 48 00 B6 79 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 80126144 001230A4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80126148 001230A8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8012614C 001230AC 90 01 00 08 */ stw r0, 8(r1) -lbl_80126150: -/* 80126150 001230B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80126154 001230B4 7C 08 03 A6 */ mtlr r0 -/* 80126158 001230B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012615C 001230BC 4E 80 00 20 */ blr - -.global CoverAttack__12CSpacePirateFR13CStateManager9EStateMsgf -CoverAttack__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80126160 001230C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80126164 001230C4 7C 08 02 A6 */ mflr r0 -/* 80126168 001230C8 2C 05 00 01 */ cmpwi r5, 1 -/* 8012616C 001230CC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80126170 001230D0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80126174 001230D4 7C 7F 1B 78 */ mr r31, r3 -/* 80126178 001230D8 41 82 00 6C */ beq lbl_801261E4 -/* 8012617C 001230DC 40 80 00 10 */ bge lbl_8012618C -/* 80126180 001230E0 2C 05 00 00 */ cmpwi r5, 0 -/* 80126184 001230E4 40 80 00 14 */ bge lbl_80126198 -/* 80126188 001230E8 48 00 00 74 */ b lbl_801261FC -lbl_8012618C: -/* 8012618C 001230EC 2C 05 00 03 */ cmpwi r5, 3 -/* 80126190 001230F0 40 80 00 6C */ bge lbl_801261FC -/* 80126194 001230F4 48 00 00 58 */ b lbl_801261EC -lbl_80126198: -/* 80126198 001230F8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8012619C 001230FC 38 00 00 0B */ li r0, 0xb -/* 801261A0 00123100 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 801261A4 00123104 90 01 00 0C */ stw r0, 0xc(r1) -/* 801261A8 00123108 38 81 00 08 */ addi r4, r1, 8 -/* 801261AC 0012310C 90 61 00 08 */ stw r3, 8(r1) -/* 801261B0 00123110 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 801261B4 00123114 38 63 00 04 */ addi r3, r3, 4 -/* 801261B8 00123118 48 00 B6 01 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 801261BC 0012311C 34 01 00 08 */ addic. r0, r1, 8 -/* 801261C0 00123120 41 82 00 10 */ beq lbl_801261D0 -/* 801261C4 00123124 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801261C8 00123128 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801261CC 0012312C 90 01 00 08 */ stw r0, 8(r1) -lbl_801261D0: -/* 801261D0 00123130 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 801261D4 00123134 38 60 00 01 */ li r3, 1 -/* 801261D8 00123138 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 801261DC 0012313C 98 1F 06 36 */ stb r0, 0x636(r31) -/* 801261E0 00123140 48 00 00 1C */ b lbl_801261FC -lbl_801261E4: -/* 801261E4 00123144 48 00 2D B9 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager -/* 801261E8 00123148 48 00 00 14 */ b lbl_801261FC -lbl_801261EC: -/* 801261EC 0012314C 88 1F 06 36 */ lbz r0, 0x636(r31) -/* 801261F0 00123150 38 60 00 00 */ li r3, 0 -/* 801261F4 00123154 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 801261F8 00123158 98 1F 06 36 */ stb r0, 0x636(r31) -lbl_801261FC: -/* 801261FC 0012315C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80126200 00123160 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80126204 00123164 7C 08 03 A6 */ mtlr r0 -/* 80126208 00123168 38 21 00 20 */ addi r1, r1, 0x20 -/* 8012620C 0012316C 4E 80 00 20 */ blr - -.global Cover__12CSpacePirateFR13CStateManager9EStateMsgf -Cover__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80126210 00123170 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80126214 00123174 7C 08 02 A6 */ mflr r0 -/* 80126218 00123178 2C 05 00 01 */ cmpwi r5, 1 -/* 8012621C 0012317C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80126220 00123180 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80126224 00123184 7C 7F 1B 78 */ mr r31, r3 -/* 80126228 00123188 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8012622C 0012318C 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80126230 00123190 7C 9D 23 78 */ mr r29, r4 -/* 80126234 00123194 41 82 00 B0 */ beq lbl_801262E4 -/* 80126238 00123198 40 80 00 10 */ bge lbl_80126248 -/* 8012623C 0012319C 2C 05 00 00 */ cmpwi r5, 0 -/* 80126240 001231A0 40 80 00 14 */ bge lbl_80126254 -/* 80126244 001231A4 48 00 01 30 */ b lbl_80126374 -lbl_80126248: -/* 80126248 001231A8 2C 05 00 03 */ cmpwi r5, 3 -/* 8012624C 001231AC 40 80 01 28 */ bge lbl_80126374 -/* 80126250 001231B0 48 00 01 1C */ b lbl_8012636C -lbl_80126254: -/* 80126254 001231B4 80 BF 04 50 */ lwz r5, 0x450(r31) -/* 80126258 001231B8 80 05 02 B8 */ lwz r0, 0x2b8(r5) -/* 8012625C 001231BC 2C 00 00 13 */ cmpwi r0, 0x13 -/* 80126260 001231C0 41 82 01 14 */ beq lbl_80126374 -/* 80126264 001231C4 A0 1F 06 40 */ lhz r0, 0x640(r31) -/* 80126268 001231C8 38 A1 00 0C */ addi r5, r1, 0xc -/* 8012626C 001231CC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80126270 001231D0 4B F5 66 3D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80126274 001231D4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80126278 001231D8 41 82 00 FC */ beq lbl_80126374 -/* 8012627C 001231DC 48 00 73 A9 */ bl GetAttackDirection__17CScriptCoverPointCFv -/* 80126280 001231E0 54 60 FF FE */ rlwinm r0, r3, 0x1f, 0x1f, 0x1f -/* 80126284 001231E4 3C 60 80 3E */ lis r3, lbl_803E0764@ha -/* 80126288 001231E8 90 1F 07 9C */ stw r0, 0x79c(r31) -/* 8012628C 001231EC 38 00 00 01 */ li r0, 1 -/* 80126290 001231F0 39 23 07 64 */ addi r9, r3, lbl_803E0764@l -/* 80126294 001231F4 7F E3 FB 78 */ mr r3, r31 -/* 80126298 001231F8 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8012629C 001231FC 7F A4 EB 78 */ mr r4, r29 -/* 801262A0 00123200 38 C1 00 1C */ addi r6, r1, 0x1c -/* 801262A4 00123204 38 A0 00 13 */ li r5, 0x13 -/* 801262A8 00123208 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 801262AC 0012320C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 801262B0 00123210 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 801262B4 00123214 D0 1F 02 E0 */ stfs f0, 0x2e0(r31) -/* 801262B8 00123218 D0 3F 02 E4 */ stfs f1, 0x2e4(r31) -/* 801262BC 0012321C D0 5F 02 E8 */ stfs f2, 0x2e8(r31) -/* 801262C0 00123220 81 09 00 00 */ lwz r8, 0(r9) -/* 801262C4 00123224 80 E9 00 04 */ lwz r7, 4(r9) -/* 801262C8 00123228 80 09 00 08 */ lwz r0, 8(r9) -/* 801262CC 0012322C 91 01 00 1C */ stw r8, 0x1c(r1) -/* 801262D0 00123230 90 E1 00 20 */ stw r7, 0x20(r1) -/* 801262D4 00123234 90 01 00 24 */ stw r0, 0x24(r1) -/* 801262D8 00123238 80 FF 07 9C */ lwz r7, 0x79c(r31) -/* 801262DC 0012323C 4B F5 64 D9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 801262E0 00123240 48 00 00 94 */ b lbl_80126374 -lbl_801262E4: -/* 801262E4 00123244 3C A0 80 3E */ lis r5, lbl_803E0770@ha -/* 801262E8 00123248 38 C1 00 10 */ addi r6, r1, 0x10 -/* 801262EC 0012324C 39 25 07 70 */ addi r9, r5, lbl_803E0770@l -/* 801262F0 00123250 38 A0 00 13 */ li r5, 0x13 -/* 801262F4 00123254 81 09 00 00 */ lwz r8, 0(r9) -/* 801262F8 00123258 80 E9 00 04 */ lwz r7, 4(r9) -/* 801262FC 0012325C 80 09 00 08 */ lwz r0, 8(r9) -/* 80126300 00123260 91 01 00 10 */ stw r8, 0x10(r1) -/* 80126304 00123264 90 E1 00 14 */ stw r7, 0x14(r1) -/* 80126308 00123268 90 01 00 18 */ stw r0, 0x18(r1) -/* 8012630C 0012326C 80 FF 07 9C */ lwz r7, 0x79c(r31) -/* 80126310 00123270 4B F5 64 A5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80126314 00123274 A0 1F 06 40 */ lhz r0, 0x640(r31) -/* 80126318 00123278 7F E3 FB 78 */ mr r3, r31 -/* 8012631C 0012327C 7F A4 EB 78 */ mr r4, r29 -/* 80126320 00123280 38 A1 00 08 */ addi r5, r1, 8 -/* 80126324 00123284 B0 01 00 08 */ sth r0, 8(r1) -/* 80126328 00123288 4B F5 65 85 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 8012632C 0012328C 28 03 00 00 */ cmplwi r3, 0 -/* 80126330 00123290 41 82 00 2C */ beq lbl_8012635C -/* 80126334 00123294 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 80126338 00123298 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 8012633C 0012329C FC 00 00 50 */ fneg f0, f0 -/* 80126340 001232A0 C0 43 00 58 */ lfs f2, 0x58(r3) -/* 80126344 001232A4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80126348 001232A8 FC 20 08 50 */ fneg f1, f1 -/* 8012634C 001232AC FC 40 10 50 */ fneg f2, f2 -/* 80126350 001232B0 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80126354 001232B4 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 80126358 001232B8 D0 43 00 24 */ stfs f2, 0x24(r3) -lbl_8012635C: -/* 8012635C 001232BC 7F E3 FB 78 */ mr r3, r31 -/* 80126360 001232C0 7F A4 EB 78 */ mr r4, r29 -/* 80126364 001232C4 48 00 2C 39 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager -/* 80126368 001232C8 48 00 00 0C */ b lbl_80126374 -lbl_8012636C: -/* 8012636C 001232CC 38 00 00 00 */ li r0, 0 -/* 80126370 001232D0 90 1F 03 2C */ stw r0, 0x32c(r31) -lbl_80126374: -/* 80126374 001232D4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80126378 001232D8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8012637C 001232DC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80126380 001232E0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80126384 001232E4 7C 08 03 A6 */ mtlr r0 -/* 80126388 001232E8 38 21 00 40 */ addi r1, r1, 0x40 -/* 8012638C 001232EC 4E 80 00 20 */ blr - -.global ShouldAttack__12CSpacePirateFR13CStateManagerf -ShouldAttack__12CSpacePirateFR13CStateManagerf: -/* 80126390 001232F0 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80126394 001232F4 7C 08 02 A6 */ mflr r0 -/* 80126398 001232F8 90 01 00 94 */ stw r0, 0x94(r1) -/* 8012639C 001232FC DB E1 00 80 */ stfd f31, 0x80(r1) -/* 801263A0 00123300 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 801263A4 00123304 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 801263A8 00123308 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 801263AC 0012330C DB A1 00 60 */ stfd f29, 0x60(r1) -/* 801263B0 00123310 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 801263B4 00123314 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 801263B8 00123318 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 801263BC 0012331C BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 801263C0 00123320 7C 9B 23 78 */ mr r27, r4 -/* 801263C4 00123324 7C 7F 1B 78 */ mr r31, r3 -/* 801263C8 00123328 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 801263CC 0012332C 3B A0 00 01 */ li r29, 1 -/* 801263D0 00123330 A0 9F 07 C0 */ lhz r4, 0x7c0(r31) -/* 801263D4 00123334 A0 03 00 08 */ lhz r0, 8(r3) -/* 801263D8 00123338 7C 04 00 40 */ cmplw r4, r0 -/* 801263DC 0012333C 40 82 01 30 */ bne lbl_8012650C -/* 801263E0 00123340 7F E4 FB 78 */ mr r4, r31 -/* 801263E4 00123344 7F 65 DB 78 */ mr r5, r27 -/* 801263E8 00123348 38 61 00 24 */ addi r3, r1, 0x24 -/* 801263EC 0012334C 48 00 20 59 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 801263F0 00123350 C3 A1 00 24 */ lfs f29, 0x24(r1) -/* 801263F4 00123354 3B 80 00 00 */ li r28, 0 -/* 801263F8 00123358 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 801263FC 0012335C C3 E1 00 28 */ lfs f31, 0x28(r1) -/* 80126400 00123360 EC 40 E8 28 */ fsubs f2, f0, f29 -/* 80126404 00123364 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80126408 00123368 83 DB 08 38 */ lwz r30, 0x838(r27) -/* 8012640C 0012336C EC 80 F8 28 */ fsubs f4, f0, f31 -/* 80126410 00123370 C3 C1 00 2C */ lfs f30, 0x2c(r1) -/* 80126414 00123374 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 80126418 00123378 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 8012641C 0012337C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80126420 00123380 EC 60 F0 28 */ fsubs f3, f0, f30 -/* 80126424 00123384 EC 04 01 32 */ fmuls f0, f4, f4 -/* 80126428 00123388 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 8012642C 0012338C AB 7E 20 08 */ lha r27, 0x2008(r30) -/* 80126430 00123390 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 80126434 00123394 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80126438 00123398 EC 01 00 2A */ fadds f0, f1, f0 -/* 8012643C 0012339C EF 82 00 2A */ fadds f28, f2, f0 -/* 80126440 001233A0 48 00 00 C4 */ b lbl_80126504 -lbl_80126444: -/* 80126444 001233A4 7F C3 F3 78 */ mr r3, r30 -/* 80126448 001233A8 7F 64 DB 78 */ mr r4, r27 -/* 8012644C 001233AC 4B EE 98 91 */ bl __vc__11CObjectListCFi -/* 80126450 001233B0 7C 64 1B 78 */ mr r4, r3 -/* 80126454 001233B4 38 61 00 08 */ addi r3, r1, 8 -/* 80126458 001233B8 4B F7 EF 79 */ bl sub_800a53d0 -/* 8012645C 001233BC 4B F7 EF 49 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" -/* 80126460 001233C0 28 03 00 00 */ cmplwi r3, 0 -/* 80126464 001233C4 41 82 00 84 */ beq lbl_801264E8 -/* 80126468 001233C8 7C 03 F8 40 */ cmplw r3, r31 -/* 8012646C 001233CC 41 82 00 7C */ beq lbl_801264E8 -/* 80126470 001233D0 88 03 06 36 */ lbz r0, 0x636(r3) -/* 80126474 001233D4 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 80126478 001233D8 41 82 00 70 */ beq lbl_801264E8 -/* 8012647C 001233DC 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80126480 001233E0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80126484 001233E4 41 82 00 64 */ beq lbl_801264E8 -/* 80126488 001233E8 80 83 00 04 */ lwz r4, 4(r3) -/* 8012648C 001233EC 80 1F 00 04 */ lwz r0, 4(r31) -/* 80126490 001233F0 7C 04 00 00 */ cmpw r4, r0 -/* 80126494 001233F4 40 82 00 54 */ bne lbl_801264E8 -/* 80126498 001233F8 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8012649C 001233FC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 801264A0 00123400 EC 41 F8 28 */ fsubs f2, f1, f31 -/* 801264A4 00123404 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 801264A8 00123408 EC 60 E8 28 */ fsubs f3, f0, f29 -/* 801264AC 0012340C EC 81 F0 28 */ fsubs f4, f1, f30 -/* 801264B0 00123410 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 801264B4 00123414 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 801264B8 00123418 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 801264BC 0012341C EC 44 01 32 */ fmuls f2, f4, f4 -/* 801264C0 00123420 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 801264C4 00123424 EC 01 00 2A */ fadds f0, f1, f0 -/* 801264C8 00123428 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 801264CC 0012342C EC 02 00 2A */ fadds f0, f2, f0 -/* 801264D0 00123430 FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 801264D4 00123434 40 80 00 14 */ bge lbl_801264E8 -/* 801264D8 00123438 3B 9C 00 01 */ addi r28, r28, 1 -/* 801264DC 0012343C 2C 1C 00 03 */ cmpwi r28, 3 -/* 801264E0 00123440 40 81 00 08 */ ble lbl_801264E8 -/* 801264E4 00123444 3B A0 00 00 */ li r29, 0 -lbl_801264E8: -/* 801264E8 00123448 2C 1B FF FF */ cmpwi r27, -1 -/* 801264EC 0012344C 41 82 00 14 */ beq lbl_80126500 -/* 801264F0 00123450 57 63 18 38 */ slwi r3, r27, 3 -/* 801264F4 00123454 38 03 00 08 */ addi r0, r3, 8 -/* 801264F8 00123458 7F 7E 02 AE */ lhax r27, r30, r0 -/* 801264FC 0012345C 48 00 00 08 */ b lbl_80126504 -lbl_80126500: -/* 80126500 00123460 3B 60 FF FF */ li r27, -1 -lbl_80126504: -/* 80126504 00123464 2C 1B FF FF */ cmpwi r27, -1 -/* 80126508 00123468 40 82 FF 3C */ bne lbl_80126444 -lbl_8012650C: -/* 8012650C 0012346C 7F A3 EB 78 */ mr r3, r29 -/* 80126510 00123470 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80126514 00123474 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80126518 00123478 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8012651C 0012347C CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80126520 00123480 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80126524 00123484 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80126528 00123488 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 8012652C 0012348C CB 81 00 50 */ lfd f28, 0x50(r1) -/* 80126530 00123490 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 80126534 00123494 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80126538 00123498 7C 08 03 A6 */ mtlr r0 -/* 8012653C 0012349C 38 21 00 90 */ addi r1, r1, 0x90 -/* 80126540 001234A0 4E 80 00 20 */ blr - -.global CoveringFire__12CSpacePirateFR13CStateManagerf -CoveringFire__12CSpacePirateFR13CStateManagerf: -/* 80126544 001234A4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80126548 001234A8 7C 08 02 A6 */ mflr r0 -/* 8012654C 001234AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 80126550 001234B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80126554 001234B4 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80126558 001234B8 3B C0 00 00 */ li r30, 0 -/* 8012655C 001234BC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80126560 001234C0 93 81 00 10 */ stw r28, 0x10(r1) -/* 80126564 001234C4 7C 7C 1B 78 */ mr r28, r3 -/* 80126568 001234C8 83 E4 08 38 */ lwz r31, 0x838(r4) -/* 8012656C 001234CC AB BF 20 08 */ lha r29, 0x2008(r31) -/* 80126570 001234D0 48 00 00 6C */ b lbl_801265DC -lbl_80126574: -/* 80126574 001234D4 7F E3 FB 78 */ mr r3, r31 -/* 80126578 001234D8 7F A4 EB 78 */ mr r4, r29 -/* 8012657C 001234DC 4B EE 97 61 */ bl __vc__11CObjectListCFi -/* 80126580 001234E0 7C 64 1B 78 */ mr r4, r3 -/* 80126584 001234E4 38 61 00 08 */ addi r3, r1, 8 -/* 80126588 001234E8 4B F7 EE 49 */ bl sub_800a53d0 -/* 8012658C 001234EC 4B F7 EE 19 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" -/* 80126590 001234F0 28 03 00 00 */ cmplwi r3, 0 -/* 80126594 001234F4 41 82 00 2C */ beq lbl_801265C0 -/* 80126598 001234F8 7C 03 E0 40 */ cmplw r3, r28 -/* 8012659C 001234FC 41 82 00 24 */ beq lbl_801265C0 -/* 801265A0 00123500 88 03 06 36 */ lbz r0, 0x636(r3) -/* 801265A4 00123504 54 00 07 FF */ clrlwi. r0, r0, 0x1f -/* 801265A8 00123508 41 82 00 18 */ beq lbl_801265C0 -/* 801265AC 0012350C 80 63 00 04 */ lwz r3, 4(r3) -/* 801265B0 00123510 80 1C 00 04 */ lwz r0, 4(r28) -/* 801265B4 00123514 7C 03 00 00 */ cmpw r3, r0 -/* 801265B8 00123518 40 82 00 08 */ bne lbl_801265C0 -/* 801265BC 0012351C 3B C0 00 01 */ li r30, 1 -lbl_801265C0: -/* 801265C0 00123520 2C 1D FF FF */ cmpwi r29, -1 -/* 801265C4 00123524 41 82 00 14 */ beq lbl_801265D8 -/* 801265C8 00123528 57 A3 18 38 */ slwi r3, r29, 3 -/* 801265CC 0012352C 38 03 00 08 */ addi r0, r3, 8 -/* 801265D0 00123530 7F BF 02 AE */ lhax r29, r31, r0 -/* 801265D4 00123534 48 00 00 08 */ b lbl_801265DC -lbl_801265D8: -/* 801265D8 00123538 3B A0 FF FF */ li r29, -1 -lbl_801265DC: -/* 801265DC 0012353C 2C 1D FF FF */ cmpwi r29, -1 -/* 801265E0 00123540 40 82 FF 94 */ bne lbl_80126574 -/* 801265E4 00123544 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801265E8 00123548 7F C3 F3 78 */ mr r3, r30 -/* 801265EC 0012354C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801265F0 00123550 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801265F4 00123554 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 801265F8 00123558 83 81 00 10 */ lwz r28, 0x10(r1) -/* 801265FC 0012355C 7C 08 03 A6 */ mtlr r0 -/* 80126600 00123560 38 21 00 20 */ addi r1, r1, 0x20 -/* 80126604 00123564 4E 80 00 20 */ blr - -.global CoverNearlyBlown__12CSpacePirateFR13CStateManagerf -CoverNearlyBlown__12CSpacePirateFR13CStateManagerf: -/* 80126608 00123568 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8012660C 0012356C 7C 08 02 A6 */ mflr r0 -/* 80126610 00123570 90 01 00 24 */ stw r0, 0x24(r1) -/* 80126614 00123574 38 A1 00 08 */ addi r5, r1, 8 -/* 80126618 00123578 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8012661C 0012357C 3B E0 00 01 */ li r31, 1 -/* 80126620 00123580 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80126624 00123584 7C 9E 23 78 */ mr r30, r4 -/* 80126628 00123588 A0 03 06 40 */ lhz r0, 0x640(r3) -/* 8012662C 0012358C B0 01 00 08 */ sth r0, 8(r1) -/* 80126630 00123590 4B F5 62 7D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80126634 00123594 28 03 00 00 */ cmplwi r3, 0 -/* 80126638 00123598 41 82 00 54 */ beq lbl_8012668C -/* 8012663C 0012359C 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 80126640 001235A0 38 81 00 0C */ addi r4, r1, 0xc -/* 80126644 001235A4 C0 A2 97 D8 */ lfs f5, lbl_805AB4F8@sda21(r2) -/* 80126648 001235A8 C0 45 01 3C */ lfs f2, 0x13c(r5) -/* 8012664C 001235AC C0 25 01 40 */ lfs f1, 0x140(r5) -/* 80126650 001235B0 C0 05 01 38 */ lfs f0, 0x138(r5) -/* 80126654 001235B4 EC 85 00 B2 */ fmuls f4, f5, f2 -/* 80126658 001235B8 C0 C5 00 50 */ lfs f6, 0x50(r5) -/* 8012665C 001235BC EC 45 00 72 */ fmuls f2, f5, f1 -/* 80126660 001235C0 C0 65 00 60 */ lfs f3, 0x60(r5) -/* 80126664 001235C4 EC 05 00 32 */ fmuls f0, f5, f0 -/* 80126668 001235C8 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 8012666C 001235CC EC 86 20 2A */ fadds f4, f6, f4 -/* 80126670 001235D0 EC 43 10 2A */ fadds f2, f3, f2 -/* 80126674 001235D4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80126678 001235D8 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8012667C 001235DC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80126680 001235E0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80126684 001235E4 48 00 6D E1 */ bl Blown__17CScriptCoverPointCFRC9CVector3f -/* 80126688 001235E8 7C 7F 1B 78 */ mr r31, r3 -lbl_8012668C: -/* 8012668C 001235EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80126690 001235F0 7F E3 FB 78 */ mr r3, r31 -/* 80126694 001235F4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80126698 001235F8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8012669C 001235FC 7C 08 03 A6 */ mtlr r0 -/* 801266A0 00123600 38 21 00 20 */ addi r1, r1, 0x20 -/* 801266A4 00123604 4E 80 00 20 */ blr - -.global CoverBlown__12CSpacePirateFR13CStateManagerf -CoverBlown__12CSpacePirateFR13CStateManagerf: -/* 801266A8 00123608 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 801266AC 0012360C 7C 08 02 A6 */ mflr r0 -/* 801266B0 00123610 90 01 00 44 */ stw r0, 0x44(r1) -/* 801266B4 00123614 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 801266B8 00123618 93 C1 00 38 */ stw r30, 0x38(r1) -/* 801266BC 0012361C 3B C0 00 01 */ li r30, 1 -/* 801266C0 00123620 93 A1 00 34 */ stw r29, 0x34(r1) -/* 801266C4 00123624 7C 9D 23 78 */ mr r29, r4 -/* 801266C8 00123628 93 81 00 30 */ stw r28, 0x30(r1) -/* 801266CC 0012362C 7C 7C 1B 78 */ mr r28, r3 -/* 801266D0 00123630 80 A4 08 4C */ lwz r5, 0x84c(r4) -/* 801266D4 00123634 C0 03 02 FC */ lfs f0, 0x2fc(r3) -/* 801266D8 00123638 C0 45 00 50 */ lfs f2, 0x50(r5) -/* 801266DC 0012363C C0 23 00 50 */ lfs f1, 0x50(r3) -/* 801266E0 00123640 EC 00 00 32 */ fmuls f0, f0, f0 -/* 801266E4 00123644 C0 85 00 40 */ lfs f4, 0x40(r5) -/* 801266E8 00123648 EC A2 08 28 */ fsubs f5, f2, f1 -/* 801266EC 0012364C C0 23 00 40 */ lfs f1, 0x40(r3) -/* 801266F0 00123650 C0 65 00 60 */ lfs f3, 0x60(r5) -/* 801266F4 00123654 EC 84 08 28 */ fsubs f4, f4, f1 -/* 801266F8 00123658 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 801266FC 0012365C EC 25 01 72 */ fmuls f1, f5, f5 -/* 80126700 00123660 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80126704 00123664 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 80126708 00123668 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8012670C 0012366C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80126710 00123670 40 81 00 CC */ ble lbl_801267DC -/* 80126714 00123674 A0 1C 06 40 */ lhz r0, 0x640(r28) -/* 80126718 00123678 38 A1 00 08 */ addi r5, r1, 8 -/* 8012671C 0012367C B0 01 00 08 */ sth r0, 8(r1) -/* 80126720 00123680 4B F5 61 8D */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80126724 00123684 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80126728 00123688 41 82 00 B4 */ beq lbl_801267DC -/* 8012672C 0012368C 80 BD 08 4C */ lwz r5, 0x84c(r29) -/* 80126730 00123690 38 81 00 18 */ addi r4, r1, 0x18 -/* 80126734 00123694 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 80126738 00123698 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8012673C 0012369C C0 05 00 40 */ lfs f0, 0x40(r5) -/* 80126740 001236A0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80126744 001236A4 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80126748 001236A8 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8012674C 001236AC 48 00 6D 19 */ bl Blown__17CScriptCoverPointCFRC9CVector3f -/* 80126750 001236B0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80126754 001236B4 7C 7E 1B 78 */ mr r30, r3 -/* 80126758 001236B8 40 82 00 84 */ bne lbl_801267DC -/* 8012675C 001236BC C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80126760 001236C0 C0 1C 06 44 */ lfs f0, 0x644(r28) -/* 80126764 001236C4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80126768 001236C8 40 82 00 74 */ bne lbl_801267DC -/* 8012676C 001236CC 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 80126770 001236D0 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80126774 001236D4 2C 00 00 03 */ cmpwi r0, 3 -/* 80126778 001236D8 41 82 00 64 */ beq lbl_801267DC -/* 8012677C 001236DC C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80126780 001236E0 C0 1C 00 50 */ lfs f0, 0x50(r28) -/* 80126784 001236E4 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 80126788 001236E8 EC 41 00 28 */ fsubs f2, f1, f0 -/* 8012678C 001236EC C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80126790 001236F0 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 80126794 001236F4 C0 63 00 04 */ lfs f3, 4(r3) -/* 80126798 001236F8 EC C1 00 28 */ fsubs f6, f1, f0 -/* 8012679C 001236FC C0 9F 00 60 */ lfs f4, 0x60(r31) -/* 801267A0 00123700 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 801267A4 00123704 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 801267A8 00123708 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) -/* 801267AC 0012370C EC A4 10 28 */ fsubs f5, f4, f2 -/* 801267B0 00123710 EC 26 09 BA */ fmadds f1, f6, f6, f1 -/* 801267B4 00123714 C0 83 00 00 */ lfs f4, 0(r3) -/* 801267B8 00123718 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 801267BC 0012371C C0 43 00 08 */ lfs f2, 8(r3) -/* 801267C0 00123720 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 801267C4 00123724 EC 25 09 7A */ fmadds f1, f5, f5, f1 -/* 801267C8 00123728 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 801267CC 0012372C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801267D0 00123730 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 801267D4 00123734 40 81 00 08 */ ble lbl_801267DC -/* 801267D8 00123738 3B C0 00 01 */ li r30, 1 -lbl_801267DC: -/* 801267DC 0012373C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 801267E0 00123740 7F C3 F3 78 */ mr r3, r30 -/* 801267E4 00123744 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 801267E8 00123748 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 801267EC 0012374C 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 801267F0 00123750 83 81 00 30 */ lwz r28, 0x30(r1) -/* 801267F4 00123754 7C 08 03 A6 */ mtlr r0 -/* 801267F8 00123758 38 21 00 40 */ addi r1, r1, 0x40 -/* 801267FC 0012375C 4E 80 00 20 */ blr - -.global CoverFind__12CSpacePirateFR13CStateManagerf -CoverFind__12CSpacePirateFR13CStateManagerf: -/* 80126800 00123760 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80126804 00123764 7C 08 02 A6 */ mflr r0 -/* 80126808 00123768 90 01 00 94 */ stw r0, 0x94(r1) -/* 8012680C 0012376C DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80126810 00123770 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80126814 00123774 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80126818 00123778 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8012681C 0012377C BF 21 00 54 */ stmw r25, 0x54(r1) -/* 80126820 00123780 C0 03 05 70 */ lfs f0, 0x570(r3) -/* 80126824 00123784 7C 7A 1B 78 */ mr r26, r3 -/* 80126828 00123788 83 E4 08 40 */ lwz r31, 0x840(r4) -/* 8012682C 0012378C 7C 9B 23 78 */ mr r27, r4 -/* 80126830 00123790 EF C0 00 32 */ fmuls f30, f0, f0 -/* 80126834 00123794 3B C0 00 00 */ li r30, 0 -/* 80126838 00123798 AB 9F 20 08 */ lha r28, 0x2008(r31) -/* 8012683C 0012379C 3B A0 00 00 */ li r29, 0 -/* 80126840 001237A0 48 00 01 30 */ b lbl_80126970 -lbl_80126844: -/* 80126844 001237A4 7F E3 FB 78 */ mr r3, r31 -/* 80126848 001237A8 7F 84 E3 78 */ mr r4, r28 -/* 8012684C 001237AC 4B EE 94 91 */ bl __vc__11CObjectListCFi -/* 80126850 001237B0 7C 64 1B 78 */ mr r4, r3 -/* 80126854 001237B4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80126858 001237B8 4B F8 41 D5 */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" -/* 8012685C 001237BC 83 23 00 04 */ lwz r25, 4(r3) -/* 80126860 001237C0 28 19 00 00 */ cmplwi r25, 0 -/* 80126864 001237C4 41 82 00 F0 */ beq lbl_80126954 -/* 80126868 001237C8 88 19 00 30 */ lbz r0, 0x30(r25) -/* 8012686C 001237CC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80126870 001237D0 41 82 00 E4 */ beq lbl_80126954 -/* 80126874 001237D4 7F 23 CB 78 */ mr r3, r25 -/* 80126878 001237D8 48 00 6D 7D */ bl ShouldLandHere__17CScriptCoverPointCFv -/* 8012687C 001237DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80126880 001237E0 40 82 00 D4 */ bne lbl_80126954 -/* 80126884 001237E4 A0 1A 00 08 */ lhz r0, 8(r26) -/* 80126888 001237E8 7F 23 CB 78 */ mr r3, r25 -/* 8012688C 001237EC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80126890 001237F0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80126894 001237F4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80126898 001237F8 48 00 6B 7D */ bl GetInUse__17CScriptCoverPointCF9TUniqueId -/* 8012689C 001237FC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801268A0 00123800 40 82 00 B4 */ bne lbl_80126954 -/* 801268A4 00123804 80 79 00 04 */ lwz r3, 4(r25) -/* 801268A8 00123808 80 1A 00 04 */ lwz r0, 4(r26) -/* 801268AC 0012380C 7C 03 00 00 */ cmpw r3, r0 -/* 801268B0 00123810 40 82 00 A4 */ bne lbl_80126954 -/* 801268B4 00123814 A0 79 00 08 */ lhz r3, 8(r25) -/* 801268B8 00123818 A0 1A 06 42 */ lhz r0, 0x642(r26) -/* 801268BC 0012381C 7C 03 00 40 */ cmplw r3, r0 -/* 801268C0 00123820 41 82 00 94 */ beq lbl_80126954 -/* 801268C4 00123824 C0 DA 00 50 */ lfs f6, 0x50(r26) -/* 801268C8 00123828 C0 19 00 50 */ lfs f0, 0x50(r25) -/* 801268CC 0012382C C0 3A 00 40 */ lfs f1, 0x40(r26) -/* 801268D0 00123830 EC A6 00 28 */ fsubs f5, f6, f0 -/* 801268D4 00123834 C0 19 00 40 */ lfs f0, 0x40(r25) -/* 801268D8 00123838 C0 FA 00 60 */ lfs f7, 0x60(r26) -/* 801268DC 0012383C EC 61 00 28 */ fsubs f3, f1, f0 -/* 801268E0 00123840 C0 59 00 60 */ lfs f2, 0x60(r25) -/* 801268E4 00123844 EC 05 01 72 */ fmuls f0, f5, f5 -/* 801268E8 00123848 EC 87 10 28 */ fsubs f4, f7, f2 -/* 801268EC 0012384C D0 21 00 34 */ stfs f1, 0x34(r1) -/* 801268F0 00123850 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 801268F4 00123854 D0 C1 00 38 */ stfs f6, 0x38(r1) -/* 801268F8 00123858 EC 44 01 32 */ fmuls f2, f4, f4 -/* 801268FC 0012385C EC 01 00 2A */ fadds f0, f1, f0 -/* 80126900 00123860 D0 E1 00 3C */ stfs f7, 0x3c(r1) -/* 80126904 00123864 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 80126908 00123868 EF E2 00 2A */ fadds f31, f2, f0 -/* 8012690C 0012386C D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 80126910 00123870 FC 1F F0 40 */ fcmpo cr0, f31, f30 -/* 80126914 00123874 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 80126918 00123878 40 80 00 3C */ bge lbl_80126954 -/* 8012691C 0012387C 80 BB 08 4C */ lwz r5, 0x84c(r27) -/* 80126920 00123880 7F 23 CB 78 */ mr r3, r25 -/* 80126924 00123884 38 81 00 28 */ addi r4, r1, 0x28 -/* 80126928 00123888 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8012692C 0012388C C0 25 00 50 */ lfs f1, 0x50(r5) -/* 80126930 00123890 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 80126934 00123894 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80126938 00123898 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8012693C 0012389C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80126940 001238A0 48 00 6B 25 */ bl Blown__17CScriptCoverPointCFRC9CVector3f -/* 80126944 001238A4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80126948 001238A8 40 82 00 0C */ bne lbl_80126954 -/* 8012694C 001238AC FF C0 F8 90 */ fmr f30, f31 -/* 80126950 001238B0 7F 3D CB 78 */ mr r29, r25 -lbl_80126954: -/* 80126954 001238B4 2C 1C FF FF */ cmpwi r28, -1 -/* 80126958 001238B8 41 82 00 14 */ beq lbl_8012696C -/* 8012695C 001238BC 57 83 18 38 */ slwi r3, r28, 3 -/* 80126960 001238C0 38 03 00 08 */ addi r0, r3, 8 -/* 80126964 001238C4 7F 9F 02 AE */ lhax r28, r31, r0 -/* 80126968 001238C8 48 00 00 08 */ b lbl_80126970 -lbl_8012696C: -/* 8012696C 001238CC 3B 80 FF FF */ li r28, -1 -lbl_80126970: -/* 80126970 001238D0 2C 1C FF FF */ cmpwi r28, -1 -/* 80126974 001238D4 40 82 FE D0 */ bne lbl_80126844 -/* 80126978 001238D8 28 1D 00 00 */ cmplwi r29, 0 -/* 8012697C 001238DC 41 82 00 88 */ beq lbl_80126A04 -/* 80126980 001238E0 7F 43 D3 78 */ mr r3, r26 -/* 80126984 001238E4 7F 64 DB 78 */ mr r4, r27 -/* 80126988 001238E8 38 BA 06 40 */ addi r5, r26, 0x640 -/* 8012698C 001238EC 4B F5 5E D1 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId -/* 80126990 001238F0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80126994 001238F4 7F 63 DB 78 */ mr r3, r27 -/* 80126998 001238F8 38 81 00 0C */ addi r4, r1, 0xc -/* 8012699C 001238FC B0 01 00 08 */ sth r0, 8(r1) -/* 801269A0 00123900 B0 01 00 0C */ sth r0, 0xc(r1) -/* 801269A4 00123904 4B F2 5B D1 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 801269A8 00123908 7C 64 1B 78 */ mr r4, r3 -/* 801269AC 0012390C 38 61 00 20 */ addi r3, r1, 0x20 -/* 801269B0 00123910 4B F8 40 7D */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" -/* 801269B4 00123914 80 83 00 04 */ lwz r4, 4(r3) -/* 801269B8 00123918 28 04 00 00 */ cmplwi r4, 0 -/* 801269BC 0012391C 41 82 00 48 */ beq lbl_80126A04 -/* 801269C0 00123920 7F 43 D3 78 */ mr r3, r26 -/* 801269C4 00123924 38 BA 06 40 */ addi r5, r26, 0x640 -/* 801269C8 00123928 4B F5 5E 4D */ bl SetCoverPoint__10CPatternedFP17CScriptCoverPointR9TUniqueId -/* 801269CC 0012392C A0 7A 06 40 */ lhz r3, 0x640(r26) -/* 801269D0 00123930 38 00 00 00 */ li r0, 0 -/* 801269D4 00123934 3B C0 00 01 */ li r30, 1 -/* 801269D8 00123938 B0 7A 06 42 */ sth r3, 0x642(r26) -/* 801269DC 0012393C C0 1D 00 38 */ lfs f0, 0x38(r29) -/* 801269E0 00123940 C0 3D 00 48 */ lfs f1, 0x48(r29) -/* 801269E4 00123944 FC 00 00 50 */ fneg f0, f0 -/* 801269E8 00123948 C0 5D 00 58 */ lfs f2, 0x58(r29) -/* 801269EC 0012394C FC 20 08 50 */ fneg f1, f1 -/* 801269F0 00123950 FC 40 10 50 */ fneg f2, f2 -/* 801269F4 00123954 D0 1A 06 54 */ stfs f0, 0x654(r26) -/* 801269F8 00123958 D0 3A 06 58 */ stfs f1, 0x658(r26) -/* 801269FC 0012395C D0 5A 06 5C */ stfs f2, 0x65c(r26) -/* 80126A00 00123960 90 1A 03 0C */ stw r0, 0x30c(r26) -lbl_80126A04: -/* 80126A04 00123964 7F C3 F3 78 */ mr r3, r30 -/* 80126A08 00123968 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80126A0C 0012396C CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80126A10 00123970 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 80126A14 00123974 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80126A18 00123978 BB 21 00 54 */ lmw r25, 0x54(r1) -/* 80126A1C 0012397C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80126A20 00123980 7C 08 03 A6 */ mtlr r0 -/* 80126A24 00123984 38 21 00 90 */ addi r1, r1, 0x90 -/* 80126A28 00123988 4E 80 00 20 */ blr - -.global CoverCheck__12CSpacePirateFR13CStateManagerf -CoverCheck__12CSpacePirateFR13CStateManagerf: -/* 80126A2C 0012398C 88 03 06 38 */ lbz r0, 0x638(r3) -/* 80126A30 00123990 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 80126A34 00123994 4E 80 00 20 */ blr - -.global AggressionCheck__12CSpacePirateFR13CStateManagerf -AggressionCheck__12CSpacePirateFR13CStateManagerf: -/* 80126A38 00123998 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80126A3C 0012399C 7C 08 02 A6 */ mflr r0 -/* 80126A40 001239A0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80126A44 001239A4 BF 61 00 2C */ stmw r27, 0x2c(r1) -/* 80126A48 001239A8 3B E0 00 00 */ li r31, 0 -/* 80126A4C 001239AC 88 03 06 34 */ lbz r0, 0x634(r3) -/* 80126A50 001239B0 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80126A54 001239B4 40 82 01 20 */ bne lbl_80126B74 -/* 80126A58 001239B8 88 03 06 38 */ lbz r0, 0x638(r3) -/* 80126A5C 001239BC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80126A60 001239C0 41 82 00 0C */ beq lbl_80126A6C -/* 80126A64 001239C4 3B E0 00 01 */ li r31, 1 -/* 80126A68 001239C8 48 00 00 2C */ b lbl_80126A94 -lbl_80126A6C: -/* 80126A6C 001239CC 3C 80 80 57 */ lis r4, lbl_8056F85C@ha -/* 80126A70 001239D0 38 84 F8 5C */ addi r4, r4, lbl_8056F85C@l -/* 80126A74 001239D4 80 04 00 14 */ lwz r0, 0x14(r4) -/* 80126A78 001239D8 2C 00 00 00 */ cmpwi r0, 0 -/* 80126A7C 001239DC 40 82 00 18 */ bne lbl_80126A94 -/* 80126A80 001239E0 C0 23 07 AC */ lfs f1, 0x7ac(r3) -/* 80126A84 001239E4 C0 02 98 20 */ lfs f0, lbl_805AB540@sda21(r2) -/* 80126A88 001239E8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80126A8C 001239EC 40 81 00 08 */ ble lbl_80126A94 -/* 80126A90 001239F0 3B E0 00 01 */ li r31, 1 -lbl_80126A94: -/* 80126A94 001239F4 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80126A98 001239F8 41 82 00 DC */ beq lbl_80126B74 -/* 80126A9C 001239FC 38 00 00 00 */ li r0, 0 -/* 80126AA0 00123A00 3C 80 80 57 */ lis r4, lbl_8056F85C@ha -/* 80126AA4 00123A04 90 03 03 0C */ stw r0, 0x30c(r3) -/* 80126AA8 00123A08 3B C4 F8 5C */ addi r30, r4, lbl_8056F85C@l -/* 80126AAC 00123A0C 83 9E 00 08 */ lwz r28, 8(r30) -/* 80126AB0 00123A10 80 1E 00 04 */ lwz r0, 4(r30) -/* 80126AB4 00123A14 93 81 00 08 */ stw r28, 8(r1) -/* 80126AB8 00123A18 A3 63 00 08 */ lhz r27, 8(r3) -/* 80126ABC 00123A1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80126AC0 00123A20 90 01 00 18 */ stw r0, 0x18(r1) -/* 80126AC4 00123A24 93 81 00 0C */ stw r28, 0xc(r1) -/* 80126AC8 00123A28 93 81 00 10 */ stw r28, 0x10(r1) -/* 80126ACC 00123A2C 48 00 00 10 */ b lbl_80126ADC -lbl_80126AD0: -/* 80126AD0 00123A30 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80126AD4 00123A34 80 03 00 04 */ lwz r0, 4(r3) -/* 80126AD8 00123A38 90 01 00 18 */ stw r0, 0x18(r1) -lbl_80126ADC: -/* 80126ADC 00123A3C 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80126AE0 00123A40 7C 00 E0 40 */ cmplw r0, r28 -/* 80126AE4 00123A44 41 82 00 14 */ beq lbl_80126AF8 -/* 80126AE8 00123A48 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80126AEC 00123A4C A0 03 00 08 */ lhz r0, 8(r3) -/* 80126AF0 00123A50 7C 00 D8 40 */ cmplw r0, r27 -/* 80126AF4 00123A54 40 82 FF DC */ bne lbl_80126AD0 -lbl_80126AF8: -/* 80126AF8 00123A58 80 61 00 18 */ lwz r3, 0x18(r1) -/* 80126AFC 00123A5C 80 01 00 08 */ lwz r0, 8(r1) -/* 80126B00 00123A60 7C 03 00 40 */ cmplw r3, r0 -/* 80126B04 00123A64 40 82 00 70 */ bne lbl_80126B74 -/* 80126B08 00123A68 3C 60 80 3D */ lis r3, lbl_803CFF70@ha -/* 80126B0C 00123A6C 83 BC 00 00 */ lwz r29, 0(r28) -/* 80126B10 00123A70 38 83 FF 70 */ addi r4, r3, lbl_803CFF70@l -/* 80126B14 00123A74 38 60 00 0A */ li r3, 0xa -/* 80126B18 00123A78 38 84 00 0A */ addi r4, r4, 0xa -/* 80126B1C 00123A7C 38 A0 00 00 */ li r5, 0 -/* 80126B20 00123A80 48 1E EC F9 */ bl __nwa__FUlPCcPCc -/* 80126B24 00123A84 28 03 00 00 */ cmplwi r3, 0 -/* 80126B28 00123A88 41 82 00 0C */ beq lbl_80126B34 -/* 80126B2C 00123A8C 93 A3 00 00 */ stw r29, 0(r3) -/* 80126B30 00123A90 93 83 00 04 */ stw r28, 4(r3) -lbl_80126B34: -/* 80126B34 00123A94 34 83 00 08 */ addic. r4, r3, 8 -/* 80126B38 00123A98 41 82 00 08 */ beq lbl_80126B40 -/* 80126B3C 00123A9C B3 64 00 00 */ sth r27, 0(r4) -lbl_80126B40: -/* 80126B40 00123AA0 80 1E 00 04 */ lwz r0, 4(r30) -/* 80126B44 00123AA4 7C 1C 00 40 */ cmplw r28, r0 -/* 80126B48 00123AA8 40 82 00 08 */ bne lbl_80126B50 -/* 80126B4C 00123AAC 90 7E 00 04 */ stw r3, 4(r30) -lbl_80126B50: -/* 80126B50 00123AB0 80 A3 00 00 */ lwz r5, 0(r3) -/* 80126B54 00123AB4 3C 80 80 57 */ lis r4, lbl_8056F85C@ha -/* 80126B58 00123AB8 38 84 F8 5C */ addi r4, r4, lbl_8056F85C@l -/* 80126B5C 00123ABC 90 65 00 04 */ stw r3, 4(r5) -/* 80126B60 00123AC0 80 A3 00 04 */ lwz r5, 4(r3) -/* 80126B64 00123AC4 90 65 00 00 */ stw r3, 0(r5) -/* 80126B68 00123AC8 80 64 00 14 */ lwz r3, 0x14(r4) -/* 80126B6C 00123ACC 38 03 00 01 */ addi r0, r3, 1 -/* 80126B70 00123AD0 90 04 00 14 */ stw r0, 0x14(r4) -lbl_80126B74: -/* 80126B74 00123AD4 7F E3 FB 78 */ mr r3, r31 -/* 80126B78 00123AD8 BB 61 00 2C */ lmw r27, 0x2c(r1) -/* 80126B7C 00123ADC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80126B80 00123AE0 7C 08 03 A6 */ mtlr r0 -/* 80126B84 00123AE4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80126B88 00123AE8 4E 80 00 20 */ blr - -.global Lurk__12CSpacePirateFR13CStateManager9EStateMsgf -Lurk__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80126B8C 00123AEC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80126B90 00123AF0 7C 08 02 A6 */ mflr r0 -/* 80126B94 00123AF4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80126B98 00123AF8 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80126B9C 00123AFC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80126BA0 00123B00 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80126BA4 00123B04 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80126BA8 00123B08 FF E0 08 90 */ fmr f31, f1 -/* 80126BAC 00123B0C 2C 05 00 01 */ cmpwi r5, 1 -/* 80126BB0 00123B10 7C 7E 1B 78 */ mr r30, r3 -/* 80126BB4 00123B14 7C 9F 23 78 */ mr r31, r4 -/* 80126BB8 00123B18 41 82 01 34 */ beq lbl_80126CEC -/* 80126BBC 00123B1C 40 80 00 10 */ bge lbl_80126BCC -/* 80126BC0 00123B20 2C 05 00 00 */ cmpwi r5, 0 -/* 80126BC4 00123B24 40 80 00 14 */ bge lbl_80126BD8 -/* 80126BC8 00123B28 48 00 02 E4 */ b lbl_80126EAC -lbl_80126BCC: -/* 80126BCC 00123B2C 2C 05 00 03 */ cmpwi r5, 3 -/* 80126BD0 00123B30 40 80 02 DC */ bge lbl_80126EAC -/* 80126BD4 00123B34 48 00 02 B8 */ b lbl_80126E8C -lbl_80126BD8: -/* 80126BD8 00123B38 38 BE 06 40 */ addi r5, r30, 0x640 -/* 80126BDC 00123B3C 4B F5 5C 81 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId -/* 80126BE0 00123B40 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80126BE4 00123B44 38 80 00 03 */ li r4, 3 -/* 80126BE8 00123B48 D0 1E 06 44 */ stfs f0, 0x644(r30) -/* 80126BEC 00123B4C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80126BF0 00123B50 48 01 3D E9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80126BF4 00123B54 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80126BF8 00123B58 38 60 00 01 */ li r3, 1 -/* 80126BFC 00123B5C 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80126C00 00123B60 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80126C04 00123B64 98 1E 06 37 */ stb r0, 0x637(r30) -/* 80126C08 00123B68 C0 42 98 4C */ lfs f2, lbl_805AB56C@sda21(r2) -/* 80126C0C 00123B6C D0 3E 07 AC */ stfs f1, 0x7ac(r30) -/* 80126C10 00123B70 C3 FE 05 68 */ lfs f31, 0x568(r30) -/* 80126C14 00123B74 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80126C18 00123B78 48 1E B9 2D */ bl Range__9CRandom16Fff -/* 80126C1C 00123B7C FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80126C20 00123B80 7C 60 00 26 */ mfcr r3 -/* 80126C24 00123B84 88 1E 06 38 */ lbz r0, 0x638(r30) -/* 80126C28 00123B88 50 60 36 B4 */ rlwimi r0, r3, 6, 0x1a, 0x1a -/* 80126C2C 00123B8C C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80126C30 00123B90 98 1E 06 38 */ stb r0, 0x638(r30) -/* 80126C34 00123B94 C0 42 98 4C */ lfs f2, lbl_805AB56C@sda21(r2) -/* 80126C38 00123B98 C3 FE 05 6C */ lfs f31, 0x56c(r30) -/* 80126C3C 00123B9C 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80126C40 00123BA0 48 1E B9 05 */ bl Range__9CRandom16Fff -/* 80126C44 00123BA4 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80126C48 00123BA8 7C 60 00 26 */ mfcr r3 -/* 80126C4C 00123BAC 88 1E 06 38 */ lbz r0, 0x638(r30) -/* 80126C50 00123BB0 50 60 2E F6 */ rlwimi r0, r3, 5, 0x1b, 0x1b -/* 80126C54 00123BB4 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80126C58 00123BB8 98 1E 06 38 */ stb r0, 0x638(r30) -/* 80126C5C 00123BBC C0 42 98 4C */ lfs f2, lbl_805AB56C@sda21(r2) -/* 80126C60 00123BC0 C3 FE 05 FC */ lfs f31, 0x5fc(r30) -/* 80126C64 00123BC4 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80126C68 00123BC8 48 1E B8 DD */ bl Range__9CRandom16Fff -/* 80126C6C 00123BCC FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80126C70 00123BD0 7C 60 00 26 */ mfcr r3 -/* 80126C74 00123BD4 88 1E 06 38 */ lbz r0, 0x638(r30) -/* 80126C78 00123BD8 50 60 27 38 */ rlwimi r0, r3, 4, 0x1c, 0x1c -/* 80126C7C 00123BDC 38 A0 00 01 */ li r5, 1 -/* 80126C80 00123BE0 98 1E 06 38 */ stb r0, 0x638(r30) -/* 80126C84 00123BE4 38 7E 07 64 */ addi r3, r30, 0x764 -/* 80126C88 00123BE8 38 80 00 01 */ li r4, 1 -/* 80126C8C 00123BEC 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80126C90 00123BF0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80126C94 00123BF4 98 1E 06 37 */ stb r0, 0x637(r30) -/* 80126C98 00123BF8 48 04 E5 8D */ bl SetActive__13CBoneTrackingFb -/* 80126C9C 00123BFC 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 80126CA0 00123C00 38 7E 07 64 */ addi r3, r30, 0x764 -/* 80126CA4 00123C04 38 81 00 0C */ addi r4, r1, 0xc -/* 80126CA8 00123C08 A0 05 00 08 */ lhz r0, 8(r5) -/* 80126CAC 00123C0C B0 01 00 08 */ sth r0, 8(r1) -/* 80126CB0 00123C10 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80126CB4 00123C14 48 04 E5 65 */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 80126CB8 00123C18 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 80126CBC 00123C1C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80126CC0 00123C20 41 82 00 18 */ beq lbl_80126CD8 -/* 80126CC4 00123C24 38 00 00 04 */ li r0, 4 -/* 80126CC8 00123C28 38 80 00 03 */ li r4, 3 -/* 80126CCC 00123C2C 90 1E 07 C4 */ stw r0, 0x7c4(r30) -/* 80126CD0 00123C30 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80126CD4 00123C34 48 01 3D 05 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_80126CD8: -/* 80126CD8 00123C38 88 1E 06 3A */ lbz r0, 0x63a(r30) -/* 80126CDC 00123C3C 38 60 00 00 */ li r3, 0 -/* 80126CE0 00123C40 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80126CE4 00123C44 98 1E 06 3A */ stb r0, 0x63a(r30) -/* 80126CE8 00123C48 48 00 01 C4 */ b lbl_80126EAC -lbl_80126CEC: -/* 80126CEC 00123C4C 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80126CF0 00123C50 38 80 00 08 */ li r4, 8 -/* 80126CF4 00123C54 48 01 3E C1 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState -/* 80126CF8 00123C58 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80126CFC 00123C5C 41 82 01 04 */ beq lbl_80126E00 -/* 80126D00 00123C60 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80126D04 00123C64 2C 00 00 00 */ cmpwi r0, 0 -/* 80126D08 00123C68 41 82 00 3C */ beq lbl_80126D44 -/* 80126D0C 00123C6C 3C 80 80 3E */ lis r4, lbl_803E0758@ha -/* 80126D10 00123C70 7F C3 F3 78 */ mr r3, r30 -/* 80126D14 00123C74 38 E4 07 58 */ addi r7, r4, lbl_803E0758@l -/* 80126D18 00123C78 7F E4 FB 78 */ mr r4, r31 -/* 80126D1C 00123C7C 81 27 00 00 */ lwz r9, 0(r7) -/* 80126D20 00123C80 38 C1 00 34 */ addi r6, r1, 0x34 -/* 80126D24 00123C84 81 07 00 04 */ lwz r8, 4(r7) -/* 80126D28 00123C88 38 A0 00 08 */ li r5, 8 -/* 80126D2C 00123C8C 80 07 00 08 */ lwz r0, 8(r7) -/* 80126D30 00123C90 38 E0 00 00 */ li r7, 0 -/* 80126D34 00123C94 91 21 00 34 */ stw r9, 0x34(r1) -/* 80126D38 00123C98 91 01 00 38 */ stw r8, 0x38(r1) -/* 80126D3C 00123C9C 90 01 00 3C */ stw r0, 0x3c(r1) -/* 80126D40 00123CA0 4B F5 5A 75 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -lbl_80126D44: -/* 80126D44 00123CA4 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80126D48 00123CA8 2C 00 00 02 */ cmpwi r0, 2 -/* 80126D4C 00123CAC 41 82 00 B4 */ beq lbl_80126E00 -/* 80126D50 00123CB0 7F C4 F3 78 */ mr r4, r30 -/* 80126D54 00123CB4 7F E5 FB 78 */ mr r5, r31 -/* 80126D58 00123CB8 38 61 00 28 */ addi r3, r1, 0x28 -/* 80126D5C 00123CBC 48 00 16 E9 */ bl GetTargetPos__12CSpacePirateFR13CStateManager -/* 80126D60 00123CC0 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80126D64 00123CC4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80126D68 00123CC8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80126D6C 00123CCC 38 81 00 40 */ addi r4, r1, 0x40 -/* 80126D70 00123CD0 D0 3E 02 E0 */ stfs f1, 0x2e0(r30) -/* 80126D74 00123CD4 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 80126D78 00123CD8 D0 3E 02 E4 */ stfs f1, 0x2e4(r30) -/* 80126D7C 00123CDC C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80126D80 00123CE0 D0 3E 02 E8 */ stfs f1, 0x2e8(r30) -/* 80126D84 00123CE4 C0 5E 02 E8 */ lfs f2, 0x2e8(r30) -/* 80126D88 00123CE8 C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 80126D8C 00123CEC C0 9E 02 E4 */ lfs f4, 0x2e4(r30) -/* 80126D90 00123CF0 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 80126D94 00123CF4 EC A2 08 28 */ fsubs f5, f2, f1 -/* 80126D98 00123CF8 C0 5E 02 E0 */ lfs f2, 0x2e0(r30) -/* 80126D9C 00123CFC C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 80126DA0 00123D00 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80126DA4 00123D04 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80126DA8 00123D08 D0 A1 00 48 */ stfs f5, 0x48(r1) -/* 80126DAC 00123D0C D0 61 00 44 */ stfs f3, 0x44(r1) -/* 80126DB0 00123D10 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80126DB4 00123D14 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80126DB8 00123D18 48 1E DA 99 */ bl AsNormalized__9CVector3fCFv -/* 80126DBC 00123D1C C0 9E 00 48 */ lfs f4, 0x48(r30) -/* 80126DC0 00123D20 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80126DC4 00123D24 C0 7E 00 38 */ lfs f3, 0x38(r30) -/* 80126DC8 00123D28 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80126DCC 00123D2C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80126DD0 00123D30 C0 BE 00 58 */ lfs f5, 0x58(r30) -/* 80126DD4 00123D34 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80126DD8 00123D38 EC 23 00 7A */ fmadds f1, f3, f1, f0 -/* 80126DDC 00123D3C C0 02 97 C8 */ lfs f0, lbl_805AB4E8@sda21(r2) -/* 80126DE0 00123D40 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80126DE4 00123D44 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 80126DE8 00123D48 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 80126DEC 00123D4C D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80126DF0 00123D50 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80126DF4 00123D54 40 80 00 0C */ bge lbl_80126E00 -/* 80126DF8 00123D58 38 00 00 01 */ li r0, 1 -/* 80126DFC 00123D5C 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_80126E00: -/* 80126E00 00123D60 88 1E 06 35 */ lbz r0, 0x635(r30) -/* 80126E04 00123D64 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80126E08 00123D68 41 82 00 64 */ beq lbl_80126E6C -/* 80126E0C 00123D6C 88 1E 06 39 */ lbz r0, 0x639(r30) -/* 80126E10 00123D70 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80126E14 00123D74 41 82 00 58 */ beq lbl_80126E6C -/* 80126E18 00123D78 C0 5E 07 BC */ lfs f2, 0x7bc(r30) -/* 80126E1C 00123D7C C0 3E 03 04 */ lfs f1, 0x304(r30) -/* 80126E20 00123D80 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 80126E24 00123D84 40 81 00 20 */ ble lbl_80126E44 -/* 80126E28 00123D88 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80126E2C 00123D8C 80 03 02 EC */ lwz r0, 0x2ec(r3) -/* 80126E30 00123D90 2C 00 00 03 */ cmpwi r0, 3 -/* 80126E34 00123D94 40 82 00 10 */ bne lbl_80126E44 -/* 80126E38 00123D98 38 80 00 05 */ li r4, 5 -/* 80126E3C 00123D9C 48 01 3B 9D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80126E40 00123DA0 48 00 00 2C */ b lbl_80126E6C -lbl_80126E44: -/* 80126E44 00123DA4 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80126E48 00123DA8 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80126E4C 00123DAC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80126E50 00123DB0 40 80 00 1C */ bge lbl_80126E6C -/* 80126E54 00123DB4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80126E58 00123DB8 80 03 02 EC */ lwz r0, 0x2ec(r3) -/* 80126E5C 00123DBC 2C 00 00 05 */ cmpwi r0, 5 -/* 80126E60 00123DC0 40 82 00 0C */ bne lbl_80126E6C -/* 80126E64 00123DC4 38 80 00 03 */ li r4, 3 -/* 80126E68 00123DC8 48 01 3B 71 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_80126E6C: -/* 80126E6C 00123DCC 7F C3 F3 78 */ mr r3, r30 -/* 80126E70 00123DD0 7F E4 FB 78 */ mr r4, r31 -/* 80126E74 00123DD4 48 00 21 29 */ bl UpdateCantSeePlayer__12CSpacePirateFR13CStateManager -/* 80126E78 00123DD8 FC 20 F8 90 */ fmr f1, f31 -/* 80126E7C 00123DDC 7F C3 F3 78 */ mr r3, r30 -/* 80126E80 00123DE0 7F E4 FB 78 */ mr r4, r31 -/* 80126E84 00123DE4 48 00 20 5D */ bl UpdateHeldPosition__12CSpacePirateFR13CStateManagerf -/* 80126E88 00123DE8 48 00 00 24 */ b lbl_80126EAC -lbl_80126E8C: -/* 80126E8C 00123DEC 88 1E 06 38 */ lbz r0, 0x638(r30) -/* 80126E90 00123DF0 38 60 00 00 */ li r3, 0 -/* 80126E94 00123DF4 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80126E98 00123DF8 98 1E 06 38 */ stb r0, 0x638(r30) -/* 80126E9C 00123DFC 88 1E 06 38 */ lbz r0, 0x638(r30) -/* 80126EA0 00123E00 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80126EA4 00123E04 98 1E 06 38 */ stb r0, 0x638(r30) -/* 80126EA8 00123E08 90 7E 03 2C */ stw r3, 0x32c(r30) -lbl_80126EAC: -/* 80126EAC 00123E0C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80126EB0 00123E10 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80126EB4 00123E14 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80126EB8 00123E18 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80126EBC 00123E1C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80126EC0 00123E20 7C 08 03 A6 */ mtlr r0 -/* 80126EC4 00123E24 38 21 00 70 */ addi r1, r1, 0x70 -/* 80126EC8 00123E28 4E 80 00 20 */ blr - -.global GetUp__12CSpacePirateFR13CStateManager9EStateMsgf -GetUp__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80126ECC 00123E2C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80126ED0 00123E30 7C 08 02 A6 */ mflr r0 -/* 80126ED4 00123E34 90 01 00 54 */ stw r0, 0x54(r1) -/* 80126ED8 00123E38 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80126EDC 00123E3C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80126EE0 00123E40 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80126EE4 00123E44 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80126EE8 00123E48 FF E0 08 90 */ fmr f31, f1 -/* 80126EEC 00123E4C 2C 05 00 01 */ cmpwi r5, 1 -/* 80126EF0 00123E50 7C 7E 1B 78 */ mr r30, r3 -/* 80126EF4 00123E54 7C 9F 23 78 */ mr r31, r4 -/* 80126EF8 00123E58 41 82 00 38 */ beq lbl_80126F30 -/* 80126EFC 00123E5C 40 80 00 10 */ bge lbl_80126F0C -/* 80126F00 00123E60 2C 05 00 00 */ cmpwi r5, 0 -/* 80126F04 00123E64 40 80 00 14 */ bge lbl_80126F18 -/* 80126F08 00123E68 48 00 00 D8 */ b lbl_80126FE0 -lbl_80126F0C: -/* 80126F0C 00123E6C 2C 05 00 03 */ cmpwi r5, 3 -/* 80126F10 00123E70 40 80 00 D0 */ bge lbl_80126FE0 -/* 80126F14 00123E74 48 00 00 C4 */ b lbl_80126FD8 -lbl_80126F18: -/* 80126F18 00123E78 38 00 00 01 */ li r0, 1 -/* 80126F1C 00123E7C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80126F20 00123E80 48 00 27 19 */ bl SquadReset__12CSpacePirateFR13CStateManager -/* 80126F24 00123E84 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80126F28 00123E88 D0 1E 08 DC */ stfs f0, 0x8dc(r30) -/* 80126F2C 00123E8C 48 00 00 B4 */ b lbl_80126FE0 -lbl_80126F30: -/* 80126F30 00123E90 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80126F34 00123E94 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80126F38 00123E98 2C 00 00 02 */ cmpwi r0, 2 -/* 80126F3C 00123E9C 40 82 00 54 */ bne lbl_80126F90 -/* 80126F40 00123EA0 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80126F44 00123EA4 38 7E 06 60 */ addi r3, r30, 0x660 -/* 80126F48 00123EA8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80126F4C 00123EAC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80126F50 00123EB0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80126F54 00123EB4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80126F58 00123EB8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80126F5C 00123EBC D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80126F60 00123EC0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80126F64 00123EC4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80126F68 00123EC8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80126F6C 00123ECC D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80126F70 00123ED0 48 0A 0C FD */ bl Search__15CPathFindSearchFRC9CVector3fRC9CVector3f -/* 80126F74 00123ED4 2C 03 00 02 */ cmpwi r3, 2 -/* 80126F78 00123ED8 40 82 00 18 */ bne lbl_80126F90 -/* 80126F7C 00123EDC 88 1E 04 01 */ lbz r0, 0x401(r30) -/* 80126F80 00123EE0 38 60 00 01 */ li r3, 1 -/* 80126F84 00123EE4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80126F88 00123EE8 98 1E 04 01 */ stb r0, 0x401(r30) -/* 80126F8C 00123EEC 48 00 00 3C */ b lbl_80126FC8 -lbl_80126F90: -/* 80126F90 00123EF0 3C 80 80 3E */ lis r4, lbl_803E074C@ha -/* 80126F94 00123EF4 7F C3 F3 78 */ mr r3, r30 -/* 80126F98 00123EF8 38 E4 07 4C */ addi r7, r4, lbl_803E074C@l -/* 80126F9C 00123EFC 7F E4 FB 78 */ mr r4, r31 -/* 80126FA0 00123F00 81 27 00 00 */ lwz r9, 0(r7) -/* 80126FA4 00123F04 38 C1 00 08 */ addi r6, r1, 8 -/* 80126FA8 00123F08 81 07 00 04 */ lwz r8, 4(r7) -/* 80126FAC 00123F0C 38 A0 00 01 */ li r5, 1 -/* 80126FB0 00123F10 80 07 00 08 */ lwz r0, 8(r7) -/* 80126FB4 00123F14 38 E0 00 00 */ li r7, 0 -/* 80126FB8 00123F18 91 21 00 08 */ stw r9, 8(r1) -/* 80126FBC 00123F1C 91 01 00 0C */ stw r8, 0xc(r1) -/* 80126FC0 00123F20 90 01 00 10 */ stw r0, 0x10(r1) -/* 80126FC4 00123F24 4B F5 57 F1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -lbl_80126FC8: -/* 80126FC8 00123F28 FC 20 F8 90 */ fmr f1, f31 -/* 80126FCC 00123F2C 7F C3 F3 78 */ mr r3, r30 -/* 80126FD0 00123F30 4B FF B7 21 */ bl UpdateLeashTimer__12CSpacePirateFf -/* 80126FD4 00123F34 48 00 00 0C */ b lbl_80126FE0 -lbl_80126FD8: -/* 80126FD8 00123F38 38 00 00 00 */ li r0, 0 -/* 80126FDC 00123F3C 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_80126FE0: -/* 80126FE0 00123F40 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80126FE4 00123F44 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80126FE8 00123F48 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80126FEC 00123F4C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80126FF0 00123F50 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80126FF4 00123F54 7C 08 03 A6 */ mtlr r0 -/* 80126FF8 00123F58 38 21 00 50 */ addi r1, r1, 0x50 -/* 80126FFC 00123F5C 4E 80 00 20 */ blr - -.global Taunt__12CSpacePirateFR13CStateManager9EStateMsgf -Taunt__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80127000 00123F60 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80127004 00123F64 7C 08 02 A6 */ mflr r0 -/* 80127008 00123F68 2C 05 00 01 */ cmpwi r5, 1 -/* 8012700C 00123F6C 90 01 01 04 */ stw r0, 0x104(r1) -/* 80127010 00123F70 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 80127014 00123F74 7C 9F 23 78 */ mr r31, r4 -/* 80127018 00123F78 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 8012701C 00123F7C 7C 7E 1B 78 */ mr r30, r3 -/* 80127020 00123F80 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 80127024 00123F84 93 81 00 F0 */ stw r28, 0xf0(r1) -/* 80127028 00123F88 41 82 03 20 */ beq lbl_80127348 -/* 8012702C 00123F8C 40 80 00 10 */ bge lbl_8012703C -/* 80127030 00123F90 2C 05 00 00 */ cmpwi r5, 0 -/* 80127034 00123F94 40 80 00 14 */ bge lbl_80127048 -/* 80127038 00123F98 48 00 03 80 */ b lbl_801273B8 -lbl_8012703C: -/* 8012703C 00123F9C 2C 05 00 03 */ cmpwi r5, 3 -/* 80127040 00123FA0 40 80 03 78 */ bge lbl_801273B8 -/* 80127044 00123FA4 48 00 03 38 */ b lbl_8012737C -lbl_80127048: -/* 80127048 00123FA8 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 8012704C 00123FAC 38 60 00 01 */ li r3, 1 -/* 80127050 00123FB0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80127054 00123FB4 38 7E 07 64 */ addi r3, r30, 0x764 -/* 80127058 00123FB8 98 1E 06 37 */ stb r0, 0x637(r30) -/* 8012705C 00123FBC 38 80 00 01 */ li r4, 1 -/* 80127060 00123FC0 48 04 E1 C5 */ bl SetActive__13CBoneTrackingFb -/* 80127064 00123FC4 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 80127068 00123FC8 38 7E 07 64 */ addi r3, r30, 0x764 -/* 8012706C 00123FCC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80127070 00123FD0 A0 05 00 08 */ lhz r0, 8(r5) -/* 80127074 00123FD4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80127078 00123FD8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8012707C 00123FDC 48 04 E1 9D */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 80127080 00123FE0 A0 7E 07 C0 */ lhz r3, 0x7c0(r30) -/* 80127084 00123FE4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80127088 00123FE8 7C 03 00 40 */ cmplw r3, r0 -/* 8012708C 00123FEC 40 82 00 10 */ bne lbl_8012709C -/* 80127090 00123FF0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80127094 00123FF4 A0 03 00 08 */ lhz r0, 8(r3) -/* 80127098 00123FF8 B0 1E 07 C0 */ sth r0, 0x7c0(r30) -lbl_8012709C: -/* 8012709C 00123FFC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 801270A0 00124000 38 80 00 10 */ li r4, 0x10 -/* 801270A4 00124004 48 01 3B 11 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState -/* 801270A8 00124008 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801270AC 0012400C 41 82 02 58 */ beq lbl_80127304 -/* 801270B0 00124010 88 7E 06 35 */ lbz r3, 0x635(r30) -/* 801270B4 00124014 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 801270B8 00124018 40 82 02 2C */ bne lbl_801272E4 -/* 801270BC 0012401C 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 801270C0 00124020 3B A0 00 01 */ li r29, 1 -/* 801270C4 00124024 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 801270C8 00124028 41 82 01 14 */ beq lbl_801271DC -/* 801270CC 0012402C 38 61 00 28 */ addi r3, r1, 0x28 -/* 801270D0 00124030 48 1B BF AD */ bl NoParameter__12CPASAnimParmFv -/* 801270D4 00124034 38 61 00 30 */ addi r3, r1, 0x30 -/* 801270D8 00124038 48 1B BF A5 */ bl NoParameter__12CPASAnimParmFv -/* 801270DC 0012403C 38 61 00 38 */ addi r3, r1, 0x38 -/* 801270E0 00124040 48 1B BF 9D */ bl NoParameter__12CPASAnimParmFv -/* 801270E4 00124044 38 61 00 40 */ addi r3, r1, 0x40 -/* 801270E8 00124048 48 1B BF 95 */ bl NoParameter__12CPASAnimParmFv -/* 801270EC 0012404C 38 61 00 48 */ addi r3, r1, 0x48 -/* 801270F0 00124050 48 1B BF 8D */ bl NoParameter__12CPASAnimParmFv -/* 801270F4 00124054 38 61 00 50 */ addi r3, r1, 0x50 -/* 801270F8 00124058 48 1B BF 85 */ bl NoParameter__12CPASAnimParmFv -/* 801270FC 0012405C 38 61 00 58 */ addi r3, r1, 0x58 -/* 80127100 00124060 48 1B BF 7D */ bl NoParameter__12CPASAnimParmFv -/* 80127104 00124064 38 61 00 60 */ addi r3, r1, 0x60 -/* 80127108 00124068 38 80 00 02 */ li r4, 2 -/* 8012710C 0012406C 48 1B BE 79 */ bl FromEnum__12CPASAnimParmFi -/* 80127110 00124070 38 61 00 30 */ addi r3, r1, 0x30 -/* 80127114 00124074 38 01 00 28 */ addi r0, r1, 0x28 -/* 80127118 00124078 90 61 00 08 */ stw r3, 8(r1) -/* 8012711C 0012407C 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80127120 00124080 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80127124 00124084 38 C1 00 58 */ addi r6, r1, 0x58 -/* 80127128 00124088 90 01 00 0C */ stw r0, 0xc(r1) -/* 8012712C 0012408C 38 E1 00 50 */ addi r7, r1, 0x50 -/* 80127130 00124090 39 01 00 48 */ addi r8, r1, 0x48 -/* 80127134 00124094 39 21 00 40 */ addi r9, r1, 0x40 -/* 80127138 00124098 39 41 00 38 */ addi r10, r1, 0x38 -/* 8012713C 0012409C 38 80 00 10 */ li r4, 0x10 -/* 80127140 001240A0 4B F5 61 85 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80127144 001240A4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80127148 001240A8 48 01 33 0D */ bl GetPASDatabase__15CBodyControllerCFv -/* 8012714C 001240AC 80 DF 09 00 */ lwz r6, 0x900(r31) -/* 80127150 001240B0 7C 64 1B 78 */ mr r4, r3 -/* 80127154 001240B4 38 61 00 20 */ addi r3, r1, 0x20 -/* 80127158 001240B8 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 8012715C 001240BC 38 E0 FF FF */ li r7, -1 -/* 80127160 001240C0 48 1B DF 01 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 80127164 001240C4 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80127168 001240C8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012716C 001240CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80127170 001240D0 40 81 00 10 */ ble lbl_80127180 -/* 80127174 001240D4 38 00 00 02 */ li r0, 2 -/* 80127178 001240D8 3B A0 00 00 */ li r29, 0 -/* 8012717C 001240DC 90 1E 07 60 */ stw r0, 0x760(r30) -lbl_80127180: -/* 80127180 001240E0 34 A1 00 A8 */ addic. r5, r1, 0xa8 -/* 80127184 001240E4 41 82 00 58 */ beq lbl_801271DC -/* 80127188 001240E8 80 C5 00 00 */ lwz r6, 0(r5) -/* 8012718C 001240EC 38 60 00 00 */ li r3, 0 -/* 80127190 001240F0 2C 06 00 00 */ cmpwi r6, 0 -/* 80127194 001240F4 40 81 00 40 */ ble lbl_801271D4 -/* 80127198 001240F8 2C 06 00 08 */ cmpwi r6, 8 -/* 8012719C 001240FC 38 86 FF F8 */ addi r4, r6, -8 -/* 801271A0 00124100 40 81 00 20 */ ble lbl_801271C0 -/* 801271A4 00124104 38 04 00 07 */ addi r0, r4, 7 -/* 801271A8 00124108 54 00 E8 FE */ srwi r0, r0, 3 -/* 801271AC 0012410C 7C 09 03 A6 */ mtctr r0 -/* 801271B0 00124110 2C 04 00 00 */ cmpwi r4, 0 -/* 801271B4 00124114 40 81 00 0C */ ble lbl_801271C0 -lbl_801271B8: -/* 801271B8 00124118 38 63 00 08 */ addi r3, r3, 8 -/* 801271BC 0012411C 42 00 FF FC */ bdnz lbl_801271B8 -lbl_801271C0: -/* 801271C0 00124120 7C 03 30 50 */ subf r0, r3, r6 -/* 801271C4 00124124 7C 09 03 A6 */ mtctr r0 -/* 801271C8 00124128 7C 03 30 00 */ cmpw r3, r6 -/* 801271CC 0012412C 40 80 00 08 */ bge lbl_801271D4 -lbl_801271D0: -/* 801271D0 00124130 42 00 00 00 */ bdnz lbl_801271D0 -lbl_801271D4: -/* 801271D4 00124134 38 00 00 00 */ li r0, 0 -/* 801271D8 00124138 90 05 00 00 */ stw r0, 0(r5) -lbl_801271DC: -/* 801271DC 0012413C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 801271E0 00124140 41 82 01 18 */ beq lbl_801272F8 -/* 801271E4 00124144 83 FF 08 38 */ lwz r31, 0x838(r31) -/* 801271E8 00124148 3B A0 00 00 */ li r29, 0 -/* 801271EC 0012414C AB 9F 20 08 */ lha r28, 0x2008(r31) -/* 801271F0 00124150 48 00 00 D8 */ b lbl_801272C8 -lbl_801271F4: -/* 801271F4 00124154 7F E3 FB 78 */ mr r3, r31 -/* 801271F8 00124158 7F 84 E3 78 */ mr r4, r28 -/* 801271FC 0012415C 4B EE 8A E1 */ bl __vc__11CObjectListCFi -/* 80127200 00124160 7C 64 1B 78 */ mr r4, r3 -/* 80127204 00124164 38 61 00 18 */ addi r3, r1, 0x18 -/* 80127208 00124168 4B F7 E1 C9 */ bl sub_800a53d0 -/* 8012720C 0012416C 4B F7 E1 99 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" -/* 80127210 00124170 28 03 00 00 */ cmplwi r3, 0 -/* 80127214 00124174 41 82 00 98 */ beq lbl_801272AC -/* 80127218 00124178 7C 03 F0 40 */ cmplw r3, r30 -/* 8012721C 0012417C 41 82 00 90 */ beq lbl_801272AC -/* 80127220 00124180 88 03 06 37 */ lbz r0, 0x637(r3) -/* 80127224 00124184 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80127228 00124188 40 82 00 84 */ bne lbl_801272AC -/* 8012722C 0012418C 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80127230 00124190 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80127234 00124194 41 82 00 78 */ beq lbl_801272AC -/* 80127238 00124198 80 83 00 04 */ lwz r4, 4(r3) -/* 8012723C 0012419C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80127240 001241A0 7C 04 00 00 */ cmpw r4, r0 -/* 80127244 001241A4 40 82 00 68 */ bne lbl_801272AC -/* 80127248 001241A8 C0 E3 00 50 */ lfs f7, 0x50(r3) -/* 8012724C 001241AC C0 1E 00 50 */ lfs f0, 0x50(r30) -/* 80127250 001241B0 C0 63 00 40 */ lfs f3, 0x40(r3) -/* 80127254 001241B4 EC C7 00 28 */ fsubs f6, f7, f0 -/* 80127258 001241B8 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8012725C 001241BC C1 03 00 60 */ lfs f8, 0x60(r3) -/* 80127260 001241C0 EC 83 00 28 */ fsubs f4, f3, f0 -/* 80127264 001241C4 C0 1E 00 60 */ lfs f0, 0x60(r30) -/* 80127268 001241C8 EC 26 01 B2 */ fmuls f1, f6, f6 -/* 8012726C 001241CC EC A8 00 28 */ fsubs f5, f8, f0 -/* 80127270 001241D0 C0 1E 05 7C */ lfs f0, 0x57c(r30) -/* 80127274 001241D4 EC 44 01 32 */ fmuls f2, f4, f4 -/* 80127278 001241D8 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8012727C 001241DC D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 80127280 001241E0 EC 65 01 72 */ fmuls f3, f5, f5 -/* 80127284 001241E4 EC 22 08 2A */ fadds f1, f2, f1 -/* 80127288 001241E8 D0 E1 00 90 */ stfs f7, 0x90(r1) -/* 8012728C 001241EC D1 01 00 94 */ stfs f8, 0x94(r1) -/* 80127290 001241F0 EC 23 08 2A */ fadds f1, f3, f1 -/* 80127294 001241F4 D0 81 00 98 */ stfs f4, 0x98(r1) -/* 80127298 001241F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012729C 001241FC D0 C1 00 9C */ stfs f6, 0x9c(r1) -/* 801272A0 00124200 D0 A1 00 A0 */ stfs f5, 0xa0(r1) -/* 801272A4 00124204 40 80 00 08 */ bge lbl_801272AC -/* 801272A8 00124208 3B A0 00 01 */ li r29, 1 -lbl_801272AC: -/* 801272AC 0012420C 2C 1C FF FF */ cmpwi r28, -1 -/* 801272B0 00124210 41 82 00 14 */ beq lbl_801272C4 -/* 801272B4 00124214 57 83 18 38 */ slwi r3, r28, 3 -/* 801272B8 00124218 38 03 00 08 */ addi r0, r3, 8 -/* 801272BC 0012421C 7F 9F 02 AE */ lhax r28, r31, r0 -/* 801272C0 00124220 48 00 00 08 */ b lbl_801272C8 -lbl_801272C4: -/* 801272C4 00124224 3B 80 FF FF */ li r28, -1 -lbl_801272C8: -/* 801272C8 00124228 2C 1C FF FF */ cmpwi r28, -1 -/* 801272CC 0012422C 40 82 FF 28 */ bne lbl_801271F4 -/* 801272D0 00124230 57 A0 06 3E */ clrlwi r0, r29, 0x18 -/* 801272D4 00124234 7C 00 00 34 */ cntlzw r0, r0 -/* 801272D8 00124238 54 00 D9 7E */ srwi r0, r0, 5 -/* 801272DC 0012423C 90 1E 07 60 */ stw r0, 0x760(r30) -/* 801272E0 00124240 48 00 00 18 */ b lbl_801272F8 -lbl_801272E4: -/* 801272E4 00124244 54 63 EF FE */ rlwinm r3, r3, 0x1d, 0x1f, 0x1f -/* 801272E8 00124248 7C 03 00 D0 */ neg r0, r3 -/* 801272EC 0012424C 7C 00 1B 78 */ or r0, r0, r3 -/* 801272F0 00124250 54 00 0F FE */ srwi r0, r0, 0x1f -/* 801272F4 00124254 90 1E 07 60 */ stw r0, 0x760(r30) -lbl_801272F8: -/* 801272F8 00124258 38 00 00 01 */ li r0, 1 -/* 801272FC 0012425C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80127300 00124260 48 00 00 B8 */ b lbl_801273B8 -lbl_80127304: -/* 80127304 00124264 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80127308 00124268 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8012730C 0012426C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80127310 00124270 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80127314 00124274 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80127318 00124278 38 61 00 1C */ addi r3, r1, 0x1c -/* 8012731C 0012427C A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 80127320 00124280 38 A1 00 80 */ addi r5, r1, 0x80 -/* 80127324 00124284 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 80127328 00124288 38 E0 00 01 */ li r7, 1 -/* 8012732C 0012428C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 80127330 00124290 39 00 00 00 */ li r8, 0 -/* 80127334 00124294 D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80127338 00124298 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 8012733C 0012429C A0 9E 06 0C */ lhz r4, 0x60c(r30) -/* 80127340 001242A0 48 1C 2F 71 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -/* 80127344 001242A4 48 00 00 74 */ b lbl_801273B8 -lbl_80127348: -/* 80127348 001242A8 3C A0 80 3E */ lis r5, lbl_803E0740@ha -/* 8012734C 001242AC 38 C1 00 74 */ addi r6, r1, 0x74 -/* 80127350 001242B0 39 25 07 40 */ addi r9, r5, lbl_803E0740@l -/* 80127354 001242B4 38 A0 00 10 */ li r5, 0x10 -/* 80127358 001242B8 81 09 00 00 */ lwz r8, 0(r9) -/* 8012735C 001242BC 80 E9 00 04 */ lwz r7, 4(r9) -/* 80127360 001242C0 80 09 00 08 */ lwz r0, 8(r9) -/* 80127364 001242C4 91 01 00 74 */ stw r8, 0x74(r1) -/* 80127368 001242C8 90 E1 00 78 */ stw r7, 0x78(r1) -/* 8012736C 001242CC 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80127370 001242D0 80 FE 07 60 */ lwz r7, 0x760(r30) -/* 80127374 001242D4 4B F5 54 41 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80127378 001242D8 48 00 00 40 */ b lbl_801273B8 -lbl_8012737C: -/* 8012737C 001242DC 80 1E 07 60 */ lwz r0, 0x760(r30) -/* 80127380 001242E0 2C 00 00 00 */ cmpwi r0, 0 -/* 80127384 001242E4 40 82 00 2C */ bne lbl_801273B0 -/* 80127388 001242E8 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8012738C 001242EC 7F E3 FB 78 */ mr r3, r31 -/* 80127390 001242F0 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80127394 001242F4 38 81 00 68 */ addi r4, r1, 0x68 -/* 80127398 001242F8 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8012739C 001242FC 38 A0 00 00 */ li r5, 0 -/* 801273A0 00124300 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 801273A4 00124304 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 801273A8 00124308 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 801273AC 0012430C 4B F2 13 D9 */ bl InformListeners__13CStateManagerFRC9CVector3f16EListenNoiseType -lbl_801273B0: -/* 801273B0 00124310 38 00 00 00 */ li r0, 0 -/* 801273B4 00124314 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_801273B8: -/* 801273B8 00124318 80 01 01 04 */ lwz r0, 0x104(r1) -/* 801273BC 0012431C 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 801273C0 00124320 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 801273C4 00124324 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 801273C8 00124328 83 81 00 F0 */ lwz r28, 0xf0(r1) -/* 801273CC 0012432C 7C 08 03 A6 */ mtlr r0 -/* 801273D0 00124330 38 21 01 00 */ addi r1, r1, 0x100 -/* 801273D4 00124334 4E 80 00 20 */ blr - -.global Run__12CSpacePirateFR13CStateManager9EStateMsgf -Run__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801273D8 00124338 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 801273DC 0012433C D0 03 06 44 */ stfs f0, 0x644(r3) -/* 801273E0 00124340 4E 80 00 20 */ blr - -.global Halt__12CSpacePirateFR13CStateManager9EStateMsgf -Halt__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801273E4 00124344 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801273E8 00124348 D0 03 06 44 */ stfs f0, 0x644(r3) -/* 801273EC 0012434C 4E 80 00 20 */ blr - -.global HearPlayer__12CSpacePirateFR13CStateManagerf -HearPlayer__12CSpacePirateFR13CStateManagerf: -/* 801273F0 00124350 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 801273F4 00124354 38 00 00 00 */ li r0, 0 -/* 801273F8 00124358 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) -/* 801273FC 0012435C C0 44 01 38 */ lfs f2, 0x138(r4) -/* 80127400 00124360 C0 24 01 3C */ lfs f1, 0x13c(r4) -/* 80127404 00124364 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80127408 00124368 C0 64 01 40 */ lfs f3, 0x140(r4) -/* 8012740C 0012436C EC 21 00 72 */ fmuls f1, f1, f1 -/* 80127410 00124370 EC 63 00 F2 */ fmuls f3, f3, f3 -/* 80127414 00124374 EC 22 08 2A */ fadds f1, f2, f1 -/* 80127418 00124378 EC 23 08 2A */ fadds f1, f3, f1 -/* 8012741C 0012437C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80127420 00124380 40 81 00 48 */ ble lbl_80127468 -/* 80127424 00124384 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 80127428 00124388 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 8012742C 0012438C C0 43 05 7C */ lfs f2, 0x57c(r3) -/* 80127430 00124390 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80127434 00124394 C0 84 00 40 */ lfs f4, 0x40(r4) -/* 80127438 00124398 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 8012743C 0012439C EC 02 00 B2 */ fmuls f0, f2, f2 -/* 80127440 001243A0 C0 64 00 60 */ lfs f3, 0x60(r4) -/* 80127444 001243A4 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80127448 001243A8 EC 84 08 28 */ fsubs f4, f4, f1 -/* 8012744C 001243AC EC 25 01 72 */ fmuls f1, f5, f5 -/* 80127450 001243B0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80127454 001243B4 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 80127458 001243B8 EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8012745C 001243BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80127460 001243C0 40 80 00 08 */ bge lbl_80127468 -/* 80127464 001243C4 38 00 00 01 */ li r0, 1 -lbl_80127468: -/* 80127468 001243C8 7C 03 03 78 */ mr r3, r0 -/* 8012746C 001243CC 4E 80 00 20 */ blr - -.global HearShot__12CSpacePirateFR13CStateManagerf -HearShot__12CSpacePirateFR13CStateManagerf: -/* 80127470 001243D0 88 A3 06 36 */ lbz r5, 0x636(r3) -/* 80127474 001243D4 38 00 00 00 */ li r0, 0 -/* 80127478 001243D8 54 A4 D7 FE */ rlwinm r4, r5, 0x1a, 0x1f, 0x1f -/* 8012747C 001243DC 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 -/* 80127480 001243E0 98 A3 06 36 */ stb r5, 0x636(r3) -/* 80127484 001243E4 7C 83 23 78 */ mr r3, r4 -/* 80127488 001243E8 4E 80 00 20 */ blr - -.global PatternOver__12CSpacePirateFR13CStateManagerf -PatternOver__12CSpacePirateFR13CStateManagerf: -/* 8012748C 001243EC A0 63 02 DC */ lhz r3, 0x2dc(r3) -/* 80127490 001243F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80127494 001243F4 7C 03 00 50 */ subf r0, r3, r0 -/* 80127498 001243F8 7C 00 00 34 */ cntlzw r0, r0 -/* 8012749C 001243FC 54 03 D9 7E */ srwi r3, r0, 5 -/* 801274A0 00124400 4E 80 00 20 */ blr - -.global TargetPatrol__12CSpacePirateFR13CStateManager9EStateMsgf -TargetPatrol__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 801274A4 00124404 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 801274A8 00124408 7C 08 02 A6 */ mflr r0 -/* 801274AC 0012440C 90 01 00 84 */ stw r0, 0x84(r1) -/* 801274B0 00124410 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 801274B4 00124414 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 801274B8 00124418 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 801274BC 0012441C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 801274C0 00124420 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 801274C4 00124424 93 C1 00 58 */ stw r30, 0x58(r1) -/* 801274C8 00124428 93 A1 00 54 */ stw r29, 0x54(r1) -/* 801274CC 0012442C 93 81 00 50 */ stw r28, 0x50(r1) -/* 801274D0 00124430 FF C0 08 90 */ fmr f30, f1 -/* 801274D4 00124434 7C 7E 1B 78 */ mr r30, r3 -/* 801274D8 00124438 7C 9F 23 78 */ mr r31, r4 -/* 801274DC 0012443C 7C BC 2B 78 */ mr r28, r5 -/* 801274E0 00124440 48 0C F9 95 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 801274E4 00124444 2C 1C 00 01 */ cmpwi r28, 1 -/* 801274E8 00124448 41 82 00 58 */ beq lbl_80127540 -/* 801274EC 0012444C 40 80 00 10 */ bge lbl_801274FC -/* 801274F0 00124450 2C 1C 00 00 */ cmpwi r28, 0 -/* 801274F4 00124454 40 80 00 14 */ bge lbl_80127508 -/* 801274F8 00124458 48 00 02 38 */ b lbl_80127730 -lbl_801274FC: -/* 801274FC 0012445C 2C 1C 00 03 */ cmpwi r28, 3 -/* 80127500 00124460 40 80 02 30 */ bge lbl_80127730 -/* 80127504 00124464 48 00 02 20 */ b lbl_80127724 -lbl_80127508: -/* 80127508 00124468 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 8012750C 0012446C 38 00 00 01 */ li r0, 1 -/* 80127510 00124470 7F C4 F3 78 */ mr r4, r30 -/* 80127514 00124474 7F E5 FB 78 */ mr r5, r31 -/* 80127518 00124478 D0 1E 06 44 */ stfs f0, 0x644(r30) -/* 8012751C 0012447C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80127520 00124480 38 C0 00 0A */ li r6, 0xa -/* 80127524 00124484 38 E0 00 06 */ li r7, 6 -/* 80127528 00124488 81 1E 04 50 */ lwz r8, 0x450(r30) -/* 8012752C 0012448C 90 08 00 34 */ stw r0, 0x34(r8) -/* 80127530 00124490 48 0C DA 69 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 80127534 00124494 A0 01 00 10 */ lhz r0, 0x10(r1) -/* 80127538 00124498 B0 1E 02 DC */ sth r0, 0x2dc(r30) -/* 8012753C 0012449C 48 00 01 F4 */ b lbl_80127730 -lbl_80127540: -/* 80127540 001244A0 A0 1E 02 DC */ lhz r0, 0x2dc(r30) -/* 80127544 001244A4 7F E3 FB 78 */ mr r3, r31 -/* 80127548 001244A8 38 81 00 0C */ addi r4, r1, 0xc -/* 8012754C 001244AC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80127550 001244B0 4B F2 50 25 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80127554 001244B4 7C 64 1B 78 */ mr r4, r3 -/* 80127558 001244B8 38 61 00 1C */ addi r3, r1, 0x1c -/* 8012755C 001244BC 4B F7 EF F1 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 80127560 001244C0 83 A3 00 04 */ lwz r29, 4(r3) -/* 80127564 001244C4 28 1D 00 00 */ cmplwi r29, 0 -/* 80127568 001244C8 41 82 00 E0 */ beq lbl_80127648 -/* 8012756C 001244CC A0 1D 00 FA */ lhz r0, 0xfa(r29) -/* 80127570 001244D0 54 1C FF FF */ rlwinm. r28, r0, 0x1f, 0x1f, 0x1f -/* 80127574 001244D4 54 00 F7 FE */ rlwinm r0, r0, 0x1e, 0x1f, 0x1f -/* 80127578 001244D8 40 82 00 0C */ bne lbl_80127584 -/* 8012757C 001244DC 28 00 00 00 */ cmplwi r0, 0 -/* 80127580 001244E0 41 82 00 C8 */ beq lbl_80127648 -lbl_80127584: -/* 80127584 001244E4 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80127588 001244E8 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 8012758C 001244EC 48 00 C9 21 */ bl GetMaxSpeed__14CBodyStateInfoCFv -/* 80127590 001244F0 C1 BE 00 50 */ lfs f13, 0x50(r30) -/* 80127594 001244F4 80 7E 00 64 */ lwz r3, 0x64(r30) -/* 80127598 001244F8 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 8012759C 001244FC C0 BE 00 40 */ lfs f5, 0x40(r30) -/* 801275A0 00124500 ED 8D 00 28 */ fsubs f12, f13, f0 -/* 801275A4 00124504 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 801275A8 00124508 C1 23 00 04 */ lfs f9, 4(r3) -/* 801275AC 0012450C EC 85 00 28 */ fsubs f4, f5, f0 -/* 801275B0 00124510 C3 FE 00 60 */ lfs f31, 0x60(r30) -/* 801275B4 00124514 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 801275B8 00124518 C0 E2 98 0C */ lfs f7, lbl_805AB52C@sda21(r2) -/* 801275BC 0012451C EC 0C 03 32 */ fmuls f0, f12, f12 -/* 801275C0 00124520 ED 7F 10 28 */ fsubs f11, f31, f2 -/* 801275C4 00124524 C0 62 98 08 */ lfs f3, lbl_805AB528@sda21(r2) -/* 801275C8 00124528 EC 44 01 32 */ fmuls f2, f4, f4 -/* 801275CC 0012452C C0 DE 07 A4 */ lfs f6, 0x7a4(r30) -/* 801275D0 00124530 EC E7 1F BA */ fmadds f7, f7, f30, f3 -/* 801275D4 00124534 C1 43 00 00 */ lfs f10, 0(r3) -/* 801275D8 00124538 C1 03 00 08 */ lfs f8, 8(r3) -/* 801275DC 0012453C EC 6B 02 F2 */ fmuls f3, f11, f11 -/* 801275E0 00124540 EC 02 00 2A */ fadds f0, f2, f0 -/* 801275E4 00124544 D1 41 00 3C */ stfs f10, 0x3c(r1) -/* 801275E8 00124548 EC 47 02 72 */ fmuls f2, f7, f9 -/* 801275EC 0012454C D1 21 00 40 */ stfs f9, 0x40(r1) -/* 801275F0 00124550 EC 63 00 2A */ fadds f3, f3, f0 -/* 801275F4 00124554 D1 01 00 44 */ stfs f8, 0x44(r1) -/* 801275F8 00124558 EC 01 30 BA */ fmadds f0, f1, f2, f6 -/* 801275FC 0012455C D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80127600 00124560 EC 00 00 32 */ fmuls f0, f0, f0 -/* 80127604 00124564 D1 A1 00 28 */ stfs f13, 0x28(r1) -/* 80127608 00124568 D3 E1 00 2C */ stfs f31, 0x2c(r1) -/* 8012760C 0012456C FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 80127610 00124570 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 80127614 00124574 D1 81 00 34 */ stfs f12, 0x34(r1) -/* 80127618 00124578 D1 61 00 38 */ stfs f11, 0x38(r1) -/* 8012761C 0012457C 40 80 00 2C */ bge lbl_80127648 -/* 80127620 00124580 88 1E 03 28 */ lbz r0, 0x328(r30) -/* 80127624 00124584 38 60 00 01 */ li r3, 1 -/* 80127628 00124588 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8012762C 0012458C 28 1C 00 00 */ cmplwi r28, 0 -/* 80127630 00124590 98 1E 03 28 */ stb r0, 0x328(r30) -/* 80127634 00124594 41 82 00 0C */ beq lbl_80127640 -/* 80127638 00124598 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) -/* 8012763C 0012459C 48 00 00 08 */ b lbl_80127644 -lbl_80127640: -/* 80127640 001245A0 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -lbl_80127644: -/* 80127644 001245A4 D0 1E 08 24 */ stfs f0, 0x824(r30) -lbl_80127648: -/* 80127648 001245A8 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8012764C 001245AC 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80127650 001245B0 2C 00 00 0D */ cmpwi r0, 0xd -/* 80127654 001245B4 40 82 00 B4 */ bne lbl_80127708 -/* 80127658 001245B8 A0 1E 02 DC */ lhz r0, 0x2dc(r30) -/* 8012765C 001245BC 7F E3 FB 78 */ mr r3, r31 -/* 80127660 001245C0 38 81 00 08 */ addi r4, r1, 8 -/* 80127664 001245C4 3B 80 00 01 */ li r28, 1 -/* 80127668 001245C8 B0 01 00 08 */ sth r0, 8(r1) -/* 8012766C 001245CC 4B F2 4F 09 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80127670 001245D0 7C 64 1B 78 */ mr r4, r3 -/* 80127674 001245D4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80127678 001245D8 4B F7 EE D5 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 8012767C 001245DC 80 83 00 04 */ lwz r4, 4(r3) -/* 80127680 001245E0 28 04 00 00 */ cmplwi r4, 0 -/* 80127684 001245E4 41 82 00 44 */ beq lbl_801276C8 -/* 80127688 001245E8 80 A4 00 2C */ lwz r5, 0x2c(r4) -/* 8012768C 001245EC 48 00 00 24 */ b lbl_801276B0 -lbl_80127690: -/* 80127690 001245F0 80 05 00 00 */ lwz r0, 0(r5) -/* 80127694 001245F4 2C 00 00 01 */ cmpwi r0, 1 -/* 80127698 001245F8 40 82 00 14 */ bne lbl_801276AC -/* 8012769C 001245FC 80 05 00 04 */ lwz r0, 4(r5) -/* 801276A0 00124600 2C 00 00 08 */ cmpwi r0, 8 -/* 801276A4 00124604 40 82 00 08 */ bne lbl_801276AC -/* 801276A8 00124608 3B 80 00 00 */ li r28, 0 -lbl_801276AC: -/* 801276AC 0012460C 38 A5 00 0C */ addi r5, r5, 0xc -lbl_801276B0: -/* 801276B0 00124610 80 04 00 24 */ lwz r0, 0x24(r4) -/* 801276B4 00124614 80 64 00 2C */ lwz r3, 0x2c(r4) -/* 801276B8 00124618 1C 00 00 0C */ mulli r0, r0, 0xc -/* 801276BC 0012461C 7C 03 02 14 */ add r0, r3, r0 -/* 801276C0 00124620 7C 05 00 40 */ cmplw r5, r0 -/* 801276C4 00124624 40 82 FF CC */ bne lbl_80127690 -lbl_801276C8: -/* 801276C8 00124628 57 80 06 3F */ clrlwi. r0, r28, 0x18 -/* 801276CC 0012462C 41 82 00 3C */ beq lbl_80127708 -/* 801276D0 00124630 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 801276D4 00124634 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 801276D8 00124638 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 801276DC 0012463C C0 83 00 50 */ lfs f4, 0x50(r3) -/* 801276E0 00124640 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 801276E4 00124644 EC 01 00 28 */ fsubs f0, f1, f0 -/* 801276E8 00124648 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 801276EC 0012464C C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 801276F0 00124650 EC 64 18 28 */ fsubs f3, f4, f3 -/* 801276F4 00124654 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 801276F8 00124658 EC 22 08 28 */ fsubs f1, f2, f1 -/* 801276FC 0012465C D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80127700 00124660 D0 63 00 20 */ stfs f3, 0x20(r3) -/* 80127704 00124664 D0 23 00 24 */ stfs f1, 0x24(r3) -lbl_80127708: -/* 80127708 00124668 C0 1E 02 E0 */ lfs f0, 0x2e0(r30) -/* 8012770C 0012466C D0 1E 08 28 */ stfs f0, 0x828(r30) -/* 80127710 00124670 C0 1E 02 E4 */ lfs f0, 0x2e4(r30) -/* 80127714 00124674 D0 1E 08 2C */ stfs f0, 0x82c(r30) -/* 80127718 00124678 C0 1E 02 E8 */ lfs f0, 0x2e8(r30) -/* 8012771C 0012467C D0 1E 08 30 */ stfs f0, 0x830(r30) -/* 80127720 00124680 48 00 00 10 */ b lbl_80127730 -lbl_80127724: -/* 80127724 00124684 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80127728 00124688 38 00 00 00 */ li r0, 0 -/* 8012772C 0012468C 90 03 00 34 */ stw r0, 0x34(r3) -lbl_80127730: -/* 80127730 00124690 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80127734 00124694 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80127738 00124698 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8012773C 0012469C CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80127740 001246A0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80127744 001246A4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80127748 001246A8 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 8012774C 001246AC 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80127750 001246B0 83 81 00 50 */ lwz r28, 0x50(r1) -/* 80127754 001246B4 7C 08 03 A6 */ mtlr r0 -/* 80127758 001246B8 38 21 00 80 */ addi r1, r1, 0x80 -/* 8012775C 001246BC 4E 80 00 20 */ blr - -.global Patrol__12CSpacePirateFR13CStateManager9EStateMsgf -Patrol__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80127760 001246C0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80127764 001246C4 7C 08 02 A6 */ mflr r0 -/* 80127768 001246C8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8012776C 001246CC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80127770 001246D0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80127774 001246D4 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80127778 001246D8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8012777C 001246DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80127780 001246E0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80127784 001246E4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80127788 001246E8 93 81 00 10 */ stw r28, 0x10(r1) -/* 8012778C 001246EC 7C BE 2B 78 */ mr r30, r5 -/* 80127790 001246F0 FF C0 08 90 */ fmr f30, f1 -/* 80127794 001246F4 2C 1E 00 01 */ cmpwi r30, 1 -/* 80127798 001246F8 7C 7C 1B 78 */ mr r28, r3 -/* 8012779C 001246FC 7C 9D 23 78 */ mr r29, r4 -/* 801277A0 00124700 41 82 00 90 */ beq lbl_80127830 -/* 801277A4 00124704 40 80 00 10 */ bge lbl_801277B4 -/* 801277A8 00124708 2C 1E 00 00 */ cmpwi r30, 0 -/* 801277AC 0012470C 40 80 00 14 */ bge lbl_801277C0 -/* 801277B0 00124710 48 00 00 80 */ b lbl_80127830 -lbl_801277B4: -/* 801277B4 00124714 2C 1E 00 03 */ cmpwi r30, 3 -/* 801277B8 00124718 40 80 00 78 */ bge lbl_80127830 -/* 801277BC 0012471C 48 00 00 3C */ b lbl_801277F8 -lbl_801277C0: -/* 801277C0 00124720 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 801277C4 00124724 38 80 00 01 */ li r4, 1 -/* 801277C8 00124728 48 01 32 11 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 801277CC 0012472C 83 FC 04 50 */ lwz r31, 0x450(r28) -/* 801277D0 00124730 38 80 00 02 */ li r4, 2 -/* 801277D4 00124734 38 7F 02 A4 */ addi r3, r31, 0x2a4 -/* 801277D8 00124738 48 00 C5 FD */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim -/* 801277DC 0012473C FF E0 08 90 */ fmr f31, f1 -/* 801277E0 00124740 38 7F 02 A4 */ addi r3, r31, 0x2a4 -/* 801277E4 00124744 38 80 00 01 */ li r4, 1 -/* 801277E8 00124748 48 00 C5 ED */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim -/* 801277EC 0012474C EC 01 F8 24 */ fdivs f0, f1, f31 -/* 801277F0 00124750 D0 1C 06 44 */ stfs f0, 0x644(r28) -/* 801277F4 00124754 48 00 00 3C */ b lbl_80127830 -lbl_801277F8: -/* 801277F8 00124758 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 801277FC 0012475C 38 80 00 03 */ li r4, 3 -/* 80127800 00124760 48 01 31 D9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80127804 00124764 88 9C 06 39 */ lbz r4, 0x639(r28) -/* 80127808 00124768 54 80 07 FF */ clrlwi. r0, r4, 0x1f -/* 8012780C 0012476C 40 82 00 24 */ bne lbl_80127830 -/* 80127810 00124770 38 00 00 01 */ li r0, 1 -/* 80127814 00124774 7F 83 E3 78 */ mr r3, r28 -/* 80127818 00124778 50 04 07 FE */ rlwimi r4, r0, 0, 0x1f, 0x1f -/* 8012781C 0012477C 7F A5 EB 78 */ mr r5, r29 -/* 80127820 00124780 98 9C 06 39 */ stb r4, 0x639(r28) -/* 80127824 00124784 38 80 00 0A */ li r4, 0xa -/* 80127828 00124788 38 C0 FF FF */ li r6, -1 -/* 8012782C 0012478C 4B F2 98 95 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_80127830: -/* 80127830 00124790 88 1C 06 37 */ lbz r0, 0x637(r28) -/* 80127834 00124794 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80127838 00124798 41 82 00 A8 */ beq lbl_801278E0 -/* 8012783C 0012479C FC 20 F0 90 */ fmr f1, f30 -/* 80127840 001247A0 7F 83 E3 78 */ mr r3, r28 -/* 80127844 001247A4 7F A4 EB 78 */ mr r4, r29 -/* 80127848 001247A8 7F C5 F3 78 */ mr r5, r30 -/* 8012784C 001247AC 48 0C F6 29 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 80127850 001247B0 2C 1E 00 01 */ cmpwi r30, 1 -/* 80127854 001247B4 41 82 00 44 */ beq lbl_80127898 -/* 80127858 001247B8 40 80 00 10 */ bge lbl_80127868 -/* 8012785C 001247BC 2C 1E 00 00 */ cmpwi r30, 0 -/* 80127860 001247C0 40 80 00 14 */ bge lbl_80127874 -/* 80127864 001247C4 48 00 00 7C */ b lbl_801278E0 -lbl_80127868: -/* 80127868 001247C8 2C 1E 00 03 */ cmpwi r30, 3 -/* 8012786C 001247CC 40 80 00 74 */ bge lbl_801278E0 -/* 80127870 001247D0 48 00 00 50 */ b lbl_801278C0 -lbl_80127874: -/* 80127874 001247D4 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 80127878 001247D8 38 00 00 01 */ li r0, 1 -/* 8012787C 001247DC C0 02 98 50 */ lfs f0, lbl_805AB570@sda21(r2) -/* 80127880 001247E0 90 03 00 34 */ stw r0, 0x34(r3) -/* 80127884 001247E4 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 80127888 001247E8 C0 23 02 FC */ lfs f1, 0x2fc(r3) -/* 8012788C 001247EC EC 21 00 24 */ fdivs f1, f1, f0 -/* 80127890 001247F0 48 01 31 15 */ bl SetTurnSpeed__15CBodyControllerFf -/* 80127894 001247F4 48 00 00 4C */ b lbl_801278E0 -lbl_80127898: -/* 80127898 001247F8 7F 83 E3 78 */ mr r3, r28 -/* 8012789C 001247FC 7F A4 EB 78 */ mr r4, r29 -/* 801278A0 00124800 48 00 13 31 */ bl AvoidActors__12CSpacePirateFR13CStateManager -/* 801278A4 00124804 C0 1C 02 E0 */ lfs f0, 0x2e0(r28) -/* 801278A8 00124808 D0 1C 08 28 */ stfs f0, 0x828(r28) -/* 801278AC 0012480C C0 1C 02 E4 */ lfs f0, 0x2e4(r28) -/* 801278B0 00124810 D0 1C 08 2C */ stfs f0, 0x82c(r28) -/* 801278B4 00124814 C0 1C 02 E8 */ lfs f0, 0x2e8(r28) -/* 801278B8 00124818 D0 1C 08 30 */ stfs f0, 0x830(r28) -/* 801278BC 0012481C 48 00 00 24 */ b lbl_801278E0 -lbl_801278C0: -/* 801278C0 00124820 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 801278C4 00124824 38 00 00 00 */ li r0, 0 -/* 801278C8 00124828 C0 22 98 50 */ lfs f1, lbl_805AB570@sda21(r2) -/* 801278CC 0012482C 90 03 00 34 */ stw r0, 0x34(r3) -/* 801278D0 00124830 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 801278D4 00124834 C0 03 02 FC */ lfs f0, 0x2fc(r3) -/* 801278D8 00124838 EC 21 00 32 */ fmuls f1, f1, f0 -/* 801278DC 0012483C 48 01 30 C9 */ bl SetTurnSpeed__15CBodyControllerFf -lbl_801278E0: -/* 801278E0 00124840 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 801278E4 00124844 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 801278E8 00124848 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 801278EC 0012484C CB C1 00 20 */ lfd f30, 0x20(r1) -/* 801278F0 00124850 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801278F4 00124854 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801278F8 00124858 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 801278FC 0012485C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80127900 00124860 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80127904 00124864 7C 08 03 A6 */ mtlr r0 -/* 80127908 00124868 38 21 00 40 */ addi r1, r1, 0x40 -/* 8012790C 0012486C 4E 80 00 20 */ blr - -.global Generate__12CSpacePirateFR13CStateManager9EStateMsgf -Generate__12CSpacePirateFR13CStateManager9EStateMsgf: -/* 80127910 00124870 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80127914 00124874 7C 08 02 A6 */ mflr r0 -/* 80127918 00124878 2C 05 00 01 */ cmpwi r5, 1 -/* 8012791C 0012487C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80127920 00124880 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80127924 00124884 7C 9F 23 78 */ mr r31, r4 -/* 80127928 00124888 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8012792C 0012488C 7C 7E 1B 78 */ mr r30, r3 -/* 80127930 00124890 41 82 01 50 */ beq lbl_80127A80 -/* 80127934 00124894 40 80 00 10 */ bge lbl_80127944 -/* 80127938 00124898 2C 05 00 00 */ cmpwi r5, 0 -/* 8012793C 0012489C 40 80 00 14 */ bge lbl_80127950 -/* 80127940 001248A0 48 00 02 28 */ b lbl_80127B68 -lbl_80127944: -/* 80127944 001248A4 2C 05 00 03 */ cmpwi r5, 3 -/* 80127948 001248A8 40 80 02 20 */ bge lbl_80127B68 -/* 8012794C 001248AC 48 00 01 C8 */ b lbl_80127B14 -lbl_80127950: -/* 80127950 001248B0 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80127954 001248B4 38 80 00 01 */ li r4, 1 -/* 80127958 001248B8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8012795C 001248BC 98 1E 06 37 */ stb r0, 0x637(r30) -/* 80127960 001248C0 88 DE 06 39 */ lbz r6, 0x639(r30) -/* 80127964 001248C4 54 C0 07 FF */ clrlwi. r0, r6, 0x1f -/* 80127968 001248C8 40 82 00 1C */ bne lbl_80127984 -/* 8012796C 001248CC 50 86 07 FE */ rlwimi r6, r4, 0, 0x1f, 0x1f -/* 80127970 001248D0 7F E5 FB 78 */ mr r5, r31 -/* 80127974 001248D4 98 DE 06 39 */ stb r6, 0x639(r30) -/* 80127978 001248D8 38 80 00 0A */ li r4, 0xa -/* 8012797C 001248DC 38 C0 FF FF */ li r6, -1 -/* 80127980 001248E0 4B F2 97 41 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_80127984: -/* 80127984 001248E4 38 00 00 01 */ li r0, 1 -/* 80127988 001248E8 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 8012798C 001248EC 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 80127990 001248F0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80127994 001248F4 41 82 00 5C */ beq lbl_801279F0 -/* 80127998 001248F8 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 8012799C 001248FC C4 03 67 00 */ lfsu f0, lbl_805A6700@l(r3) -/* 801279A0 00124900 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 801279A4 00124904 C0 BE 00 50 */ lfs f5, 0x50(r30) -/* 801279A8 00124908 C0 83 00 04 */ lfs f4, 4(r3) -/* 801279AC 0012490C EC 21 00 2A */ fadds f1, f1, f0 -/* 801279B0 00124910 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 801279B4 00124914 C0 43 00 08 */ lfs f2, 8(r3) -/* 801279B8 00124918 EC 85 20 2A */ fadds f4, f5, f4 -/* 801279BC 0012491C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801279C0 00124920 D0 3E 02 E0 */ stfs f1, 0x2e0(r30) -/* 801279C4 00124924 EC 23 10 2A */ fadds f1, f3, f2 -/* 801279C8 00124928 D0 9E 02 E4 */ stfs f4, 0x2e4(r30) -/* 801279CC 0012492C D0 3E 02 E8 */ stfs f1, 0x2e8(r30) -/* 801279D0 00124930 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) -/* 801279D4 00124934 D0 3E 08 28 */ stfs f1, 0x828(r30) -/* 801279D8 00124938 C0 3E 02 E4 */ lfs f1, 0x2e4(r30) -/* 801279DC 0012493C D0 3E 08 2C */ stfs f1, 0x82c(r30) -/* 801279E0 00124940 C0 3E 02 E8 */ lfs f1, 0x2e8(r30) -/* 801279E4 00124944 D0 3E 08 30 */ stfs f1, 0x830(r30) -/* 801279E8 00124948 D0 1E 08 24 */ stfs f0, 0x824(r30) -/* 801279EC 0012494C 48 00 01 7C */ b lbl_80127B68 -lbl_801279F0: -/* 801279F0 00124950 7F C4 F3 78 */ mr r4, r30 -/* 801279F4 00124954 7F E5 FB 78 */ mr r5, r31 -/* 801279F8 00124958 38 61 00 14 */ addi r3, r1, 0x14 -/* 801279FC 0012495C 38 C0 00 0A */ li r6, 0xa -/* 80127A00 00124960 38 E0 00 06 */ li r7, 6 -/* 80127A04 00124964 48 0C D5 95 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 80127A08 00124968 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 80127A0C 0012496C 7F E3 FB 78 */ mr r3, r31 -/* 80127A10 00124970 38 81 00 10 */ addi r4, r1, 0x10 -/* 80127A14 00124974 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80127A18 00124978 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80127A1C 0012497C 4B F2 4B 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80127A20 00124980 7C 64 1B 78 */ mr r4, r3 -/* 80127A24 00124984 38 61 00 1C */ addi r3, r1, 0x1c -/* 80127A28 00124988 4B F8 82 69 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80127A2C 0012498C 80 63 00 04 */ lwz r3, 4(r3) -/* 80127A30 00124990 28 03 00 00 */ cmplwi r3, 0 -/* 80127A34 00124994 41 82 00 3C */ beq lbl_80127A70 -/* 80127A38 00124998 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 80127A3C 0012499C C0 43 00 50 */ lfs f2, 0x50(r3) -/* 80127A40 001249A0 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 80127A44 001249A4 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) -/* 80127A48 001249A8 D0 3E 02 E0 */ stfs f1, 0x2e0(r30) -/* 80127A4C 001249AC D0 5E 02 E4 */ stfs f2, 0x2e4(r30) -/* 80127A50 001249B0 D0 7E 02 E8 */ stfs f3, 0x2e8(r30) -/* 80127A54 001249B4 C0 3E 02 E0 */ lfs f1, 0x2e0(r30) -/* 80127A58 001249B8 D0 3E 08 28 */ stfs f1, 0x828(r30) -/* 80127A5C 001249BC C0 3E 02 E4 */ lfs f1, 0x2e4(r30) -/* 80127A60 001249C0 D0 3E 08 2C */ stfs f1, 0x82c(r30) -/* 80127A64 001249C4 C0 3E 02 E8 */ lfs f1, 0x2e8(r30) -/* 80127A68 001249C8 D0 3E 08 30 */ stfs f1, 0x830(r30) -/* 80127A6C 001249CC D0 1E 08 24 */ stfs f0, 0x824(r30) -lbl_80127A70: -/* 80127A70 001249D0 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80127A74 001249D4 38 80 00 03 */ li r4, 3 -/* 80127A78 001249D8 48 01 2F 61 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80127A7C 001249DC 48 00 00 EC */ b lbl_80127B68 -lbl_80127A80: -/* 80127A80 001249E0 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 80127A84 001249E4 38 E0 00 00 */ li r7, 0 -/* 80127A88 001249E8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80127A8C 001249EC 41 82 00 08 */ beq lbl_80127A94 -/* 80127A90 001249F0 38 E0 00 02 */ li r7, 2 -lbl_80127A94: -/* 80127A94 001249F4 3C 80 80 3E */ lis r4, lbl_803E0734@ha -/* 80127A98 001249F8 7F C3 F3 78 */ mr r3, r30 -/* 80127A9C 001249FC 38 A4 07 34 */ addi r5, r4, lbl_803E0734@l -/* 80127AA0 00124A00 38 C1 00 24 */ addi r6, r1, 0x24 -/* 80127AA4 00124A04 81 25 00 00 */ lwz r9, 0(r5) -/* 80127AA8 00124A08 7F E4 FB 78 */ mr r4, r31 -/* 80127AAC 00124A0C 81 05 00 04 */ lwz r8, 4(r5) -/* 80127AB0 00124A10 80 05 00 08 */ lwz r0, 8(r5) -/* 80127AB4 00124A14 38 A0 00 0D */ li r5, 0xd -/* 80127AB8 00124A18 91 21 00 24 */ stw r9, 0x24(r1) -/* 80127ABC 00124A1C 91 01 00 28 */ stw r8, 0x28(r1) -/* 80127AC0 00124A20 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80127AC4 00124A24 4B F5 4C F1 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80127AC8 00124A28 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80127ACC 00124A2C 2C 00 00 02 */ cmpwi r0, 2 -/* 80127AD0 00124A30 40 82 00 10 */ bne lbl_80127AE0 -/* 80127AD4 00124A34 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80127AD8 00124A38 38 80 00 03 */ li r4, 3 -/* 80127ADC 00124A3C 48 01 2E FD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_80127AE0: -/* 80127AE0 00124A40 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80127AE4 00124A44 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80127AE8 00124A48 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 80127AEC 00124A4C C0 63 00 50 */ lfs f3, 0x50(r3) -/* 80127AF0 00124A50 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80127AF4 00124A54 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80127AF8 00124A58 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80127AFC 00124A5C EC 43 10 28 */ fsubs f2, f3, f2 -/* 80127B00 00124A60 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80127B04 00124A64 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 80127B08 00124A68 D0 43 00 20 */ stfs f2, 0x20(r3) -/* 80127B0C 00124A6C D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80127B10 00124A70 48 00 00 58 */ b lbl_80127B68 -lbl_80127B14: -/* 80127B14 00124A74 38 00 00 00 */ li r0, 0 -/* 80127B18 00124A78 38 80 00 03 */ li r4, 3 -/* 80127B1C 00124A7C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80127B20 00124A80 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80127B24 00124A84 48 01 2E B5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80127B28 00124A88 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) -/* 80127B2C 00124A8C 38 A0 00 00 */ li r5, 0 -/* 80127B30 00124A90 38 7E 07 64 */ addi r3, r30, 0x764 -/* 80127B34 00124A94 38 80 00 01 */ li r4, 1 -/* 80127B38 00124A98 D0 1E 08 24 */ stfs f0, 0x824(r30) -/* 80127B3C 00124A9C 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 80127B40 00124AA0 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80127B44 00124AA4 98 1E 06 34 */ stb r0, 0x634(r30) -/* 80127B48 00124AA8 48 04 D6 DD */ bl SetActive__13CBoneTrackingFb -/* 80127B4C 00124AAC 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 80127B50 00124AB0 38 7E 07 64 */ addi r3, r30, 0x764 -/* 80127B54 00124AB4 38 81 00 0C */ addi r4, r1, 0xc -/* 80127B58 00124AB8 A0 05 00 08 */ lhz r0, 8(r5) -/* 80127B5C 00124ABC B0 01 00 08 */ sth r0, 8(r1) -/* 80127B60 00124AC0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80127B64 00124AC4 48 04 D6 B5 */ bl SetTarget__13CBoneTrackingF9TUniqueId -lbl_80127B68: -/* 80127B68 00124AC8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80127B6C 00124ACC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80127B70 00124AD0 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80127B74 00124AD4 7C 08 03 A6 */ mtlr r0 -/* 80127B78 00124AD8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80127B7C 00124ADC 4E 80 00 20 */ blr - -.global PatternShagged__12CSpacePirateFR13CStateManagerf -PatternShagged__12CSpacePirateFR13CStateManagerf: -/* 80127B80 00124AE0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80127B84 00124AE4 7C 08 02 A6 */ mflr r0 -/* 80127B88 00124AE8 90 01 00 24 */ stw r0, 0x24(r1) -/* 80127B8C 00124AEC DB E1 00 18 */ stfd f31, 0x18(r1) -/* 80127B90 00124AF0 FF E0 08 90 */ fmr f31, f1 -/* 80127B94 00124AF4 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80127B98 00124AF8 3B E0 00 00 */ li r31, 0 -/* 80127B9C 00124AFC 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80127BA0 00124B00 7C 9E 23 78 */ mr r30, r4 -/* 80127BA4 00124B04 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80127BA8 00124B08 7C 7D 1B 78 */ mr r29, r3 -/* 80127BAC 00124B0C 48 0C DF B1 */ bl Stuck__10CPatternedFR13CStateManagerf -/* 80127BB0 00124B10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80127BB4 00124B14 40 82 00 1C */ bne lbl_80127BD0 -/* 80127BB8 00124B18 FC 20 F8 90 */ fmr f1, f31 -/* 80127BBC 00124B1C 7F A3 EB 78 */ mr r3, r29 -/* 80127BC0 00124B20 7F C4 F3 78 */ mr r4, r30 -/* 80127BC4 00124B24 48 0C E0 35 */ bl PatternShagged__10CPatternedFR13CStateManagerf -/* 80127BC8 00124B28 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80127BCC 00124B2C 41 82 00 08 */ beq lbl_80127BD4 -lbl_80127BD0: -/* 80127BD0 00124B30 3B E0 00 01 */ li r31, 1 -lbl_80127BD4: -/* 80127BD4 00124B34 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80127BD8 00124B38 7F E3 FB 78 */ mr r3, r31 -/* 80127BDC 00124B3C CB E1 00 18 */ lfd f31, 0x18(r1) -/* 80127BE0 00124B40 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80127BE4 00124B44 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 80127BE8 00124B48 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 80127BEC 00124B4C 7C 08 03 A6 */ mtlr r0 -/* 80127BF0 00124B50 38 21 00 20 */ addi r1, r1, 0x20 -/* 80127BF4 00124B54 4E 80 00 20 */ blr - -.global Stuck__12CSpacePirateFR13CStateManagerf -Stuck__12CSpacePirateFR13CStateManagerf: -/* 80127BF8 00124B58 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80127BFC 00124B5C 7C 08 02 A6 */ mflr r0 -/* 80127C00 00124B60 90 01 00 34 */ stw r0, 0x34(r1) -/* 80127C04 00124B64 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80127C08 00124B68 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80127C0C 00124B6C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80127C10 00124B70 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80127C14 00124B74 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80127C18 00124B78 7C 7D 1B 78 */ mr r29, r3 -/* 80127C1C 00124B7C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80127C20 00124B80 C0 43 03 38 */ lfs f2, 0x338(r3) -/* 80127C24 00124B84 FF E0 08 90 */ fmr f31, f1 -/* 80127C28 00124B88 7C 9E 23 78 */ mr r30, r4 -/* 80127C2C 00124B8C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80127C30 00124B90 40 81 00 34 */ ble lbl_80127C64 -/* 80127C34 00124B94 3B E0 00 00 */ li r31, 0 -/* 80127C38 00124B98 48 0C DF 25 */ bl Stuck__10CPatternedFR13CStateManagerf -/* 80127C3C 00124B9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80127C40 00124BA0 40 82 00 1C */ bne lbl_80127C5C -/* 80127C44 00124BA4 FC 20 F8 90 */ fmr f1, f31 -/* 80127C48 00124BA8 7F A3 EB 78 */ mr r3, r29 -/* 80127C4C 00124BAC 7F C4 F3 78 */ mr r4, r30 -/* 80127C50 00124BB0 48 0C E0 FD */ bl PathShagged__10CPatternedFR13CStateManagerf -/* 80127C54 00124BB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80127C58 00124BB8 41 82 00 10 */ beq lbl_80127C68 -lbl_80127C5C: -/* 80127C5C 00124BBC 3B E0 00 01 */ li r31, 1 -/* 80127C60 00124BC0 48 00 00 08 */ b lbl_80127C68 -lbl_80127C64: -/* 80127C64 00124BC4 3B E0 00 00 */ li r31, 0 -lbl_80127C68: -/* 80127C68 00124BC8 7F E3 FB 78 */ mr r3, r31 -/* 80127C6C 00124BCC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80127C70 00124BD0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80127C74 00124BD4 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80127C78 00124BD8 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80127C7C 00124BDC 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80127C80 00124BE0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80127C84 00124BE4 7C 08 03 A6 */ mtlr r0 -/* 80127C88 00124BE8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80127C8C 00124BEC 4E 80 00 20 */ blr - -.global Death__12CSpacePirateFRC9CVector3fR13CStateManager -Death__12CSpacePirateFRC9CVector3fR13CStateManager: -/* 80127C90 00124BF0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80127C94 00124BF4 7C 08 02 A6 */ mflr r0 -/* 80127C98 00124BF8 90 01 00 34 */ stw r0, 0x34(r1) -/* 80127C9C 00124BFC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80127CA0 00124C00 7C 7F 1B 78 */ mr r31, r3 -/* 80127CA4 00124C04 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80127CA8 00124C08 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80127CAC 00124C0C 41 82 00 AC */ beq lbl_80127D58 -/* 80127CB0 00124C10 4B F5 36 F5 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -/* 80127CB4 00124C14 A0 7F 07 B4 */ lhz r3, 0x7b4(r31) -/* 80127CB8 00124C18 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80127CBC 00124C1C 7C 03 00 40 */ cmplw r3, r0 -/* 80127CC0 00124C20 41 82 00 98 */ beq lbl_80127D58 -/* 80127CC4 00124C24 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80127CC8 00124C28 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80127CCC 00124C2C 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 80127CD0 00124C30 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 80127CD4 00124C34 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80127CD8 00124C38 3C 80 80 3E */ lis r4, lbl_803DAA50@ha -/* 80127CDC 00124C3C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80127CE0 00124C40 38 C0 00 03 */ li r6, 3 -/* 80127CE4 00124C44 38 00 00 02 */ li r0, 2 -/* 80127CE8 00124C48 90 A1 00 08 */ stw r5, 8(r1) -/* 80127CEC 00124C4C 38 A4 AA 50 */ addi r5, r4, lbl_803DAA50@l -/* 80127CF0 00124C50 3B E3 00 04 */ addi r31, r3, 4 -/* 80127CF4 00124C54 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80127CF8 00124C58 7F E3 FB 78 */ mr r3, r31 -/* 80127CFC 00124C5C 38 80 00 03 */ li r4, 3 -/* 80127D00 00124C60 90 A1 00 08 */ stw r5, 8(r1) -/* 80127D04 00124C64 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80127D08 00124C68 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80127D0C 00124C6C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80127D10 00124C70 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80127D14 00124C74 48 00 97 25 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80127D18 00124C78 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80127D1C 00124C7C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha -/* 80127D20 00124C80 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l -/* 80127D24 00124C84 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80127D28 00124C88 90 1F 00 E0 */ stw r0, 0xe0(r31) -/* 80127D2C 00124C8C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80127D30 00124C90 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80127D34 00124C94 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80127D38 00124C98 90 BF 00 E4 */ stw r5, 0xe4(r31) -/* 80127D3C 00124C9C 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80127D40 00124CA0 90 7F 00 E8 */ stw r3, 0xe8(r31) -/* 80127D44 00124CA4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80127D48 00124CA8 90 BF 00 EC */ stw r5, 0xec(r31) -/* 80127D4C 00124CAC 90 81 00 08 */ stw r4, 8(r1) -/* 80127D50 00124CB0 90 7F 00 F0 */ stw r3, 0xf0(r31) -/* 80127D54 00124CB4 90 01 00 08 */ stw r0, 8(r1) -lbl_80127D58: -/* 80127D58 00124CB8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80127D5C 00124CBC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80127D60 00124CC0 7C 08 03 A6 */ mtlr r0 -/* 80127D64 00124CC4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80127D68 00124CC8 4E 80 00 20 */ blr - -.global KnockBack__12CSpacePirateFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef -KnockBack__12CSpacePirateFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: -/* 80127D6C 00124CCC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80127D70 00124CD0 7C 08 02 A6 */ mflr r0 -/* 80127D74 00124CD4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80127D78 00124CD8 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80127D7C 00124CDC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80127D80 00124CE0 BF 41 00 48 */ stmw r26, 0x48(r1) -/* 80127D84 00124CE4 88 03 06 34 */ lbz r0, 0x634(r3) -/* 80127D88 00124CE8 FF E0 08 90 */ fmr f31, f1 -/* 80127D8C 00124CEC 7C 7A 1B 78 */ mr r26, r3 -/* 80127D90 00124CF0 7C 9B 23 78 */ mr r27, r4 -/* 80127D94 00124CF4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80127D98 00124CF8 7C BC 2B 78 */ mr r28, r5 -/* 80127D9C 00124CFC 7C DD 33 78 */ mr r29, r6 -/* 80127DA0 00124D00 7C FE 3B 78 */ mr r30, r7 -/* 80127DA4 00124D04 7D 1F 43 78 */ mr r31, r8 -/* 80127DA8 00124D08 41 82 00 18 */ beq lbl_80127DC0 -/* 80127DAC 00124D0C 88 1A 04 00 */ lbz r0, 0x400(r26) -/* 80127DB0 00124D10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80127DB4 00124D14 41 82 00 0C */ beq lbl_80127DC0 -/* 80127DB8 00124D18 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80127DBC 00124D1C 41 82 02 C4 */ beq lbl_80128080 -lbl_80127DC0: -/* 80127DC0 00124D20 88 1A 06 34 */ lbz r0, 0x634(r26) -/* 80127DC4 00124D24 38 7A 04 60 */ addi r3, r26, 0x460 -/* 80127DC8 00124D28 54 00 07 FE */ clrlwi r0, r0, 0x1f -/* 80127DCC 00124D2C 7C 00 00 34 */ cntlzw r0, r0 -/* 80127DD0 00124D30 54 04 D9 7E */ srwi r4, r0, 5 -/* 80127DD4 00124D34 48 10 BF 91 */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 80127DD8 00124D38 7F 43 D3 78 */ mr r3, r26 -/* 80127DDC 00124D3C 81 9A 00 00 */ lwz r12, 0(r26) -/* 80127DE0 00124D40 81 8C 02 B8 */ lwz r12, 0x2b8(r12) -/* 80127DE4 00124D44 7D 89 03 A6 */ mtctr r12 -/* 80127DE8 00124D48 4E 80 04 21 */ bctrl -/* 80127DEC 00124D4C 7C 65 1B 78 */ mr r5, r3 -/* 80127DF0 00124D50 38 7A 04 60 */ addi r3, r26, 0x460 -/* 80127DF4 00124D54 38 80 00 02 */ li r4, 2 -/* 80127DF8 00124D58 48 10 BF CD */ bl SetAvailableState__20CKnockBackControllerFib -/* 80127DFC 00124D5C 88 1A 06 36 */ lbz r0, 0x636(r26) -/* 80127E00 00124D60 38 80 00 01 */ li r4, 1 -/* 80127E04 00124D64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80127E08 00124D68 40 82 00 10 */ bne lbl_80127E18 -/* 80127E0C 00124D6C 88 1A 06 35 */ lbz r0, 0x635(r26) -/* 80127E10 00124D70 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80127E14 00124D74 41 82 00 1C */ beq lbl_80127E30 -lbl_80127E18: -/* 80127E18 00124D78 88 7D 00 04 */ lbz r3, 4(r29) -/* 80127E1C 00124D7C 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 80127E20 00124D80 40 82 00 10 */ bne lbl_80127E30 -/* 80127E24 00124D84 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80127E28 00124D88 40 82 00 08 */ bne lbl_80127E30 -/* 80127E2C 00124D8C 38 80 00 00 */ li r4, 0 -lbl_80127E30: -/* 80127E30 00124D90 88 1A 04 E1 */ lbz r0, 0x4e1(r26) -/* 80127E34 00124D94 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80127E38 00124D98 FC 20 F8 90 */ fmr f1, f31 -/* 80127E3C 00124D9C 7F 43 D3 78 */ mr r3, r26 -/* 80127E40 00124DA0 98 1A 04 E1 */ stb r0, 0x4e1(r26) -/* 80127E44 00124DA4 7F 64 DB 78 */ mr r4, r27 -/* 80127E48 00124DA8 7F 85 E3 78 */ mr r5, r28 -/* 80127E4C 00124DAC 7F A6 EB 78 */ mr r6, r29 -/* 80127E50 00124DB0 7F C7 F3 78 */ mr r7, r30 -/* 80127E54 00124DB4 7F E8 FB 78 */ mr r8, r31 -/* 80127E58 00124DB8 4B F5 29 25 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef -/* 80127E5C 00124DBC 88 1A 06 35 */ lbz r0, 0x635(r26) -/* 80127E60 00124DC0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80127E64 00124DC4 41 82 00 B0 */ beq lbl_80127F14 -/* 80127E68 00124DC8 88 1A 04 00 */ lbz r0, 0x400(r26) -/* 80127E6C 00124DCC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80127E70 00124DD0 41 82 00 7C */ beq lbl_80127EEC -/* 80127E74 00124DD4 C0 02 98 28 */ lfs f0, lbl_805AB548@sda21(r2) -/* 80127E78 00124DD8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80127E7C 00124DDC 4C 41 13 82 */ cror 2, 1, 2 -/* 80127E80 00124DE0 40 82 00 94 */ bne lbl_80127F14 -/* 80127E84 00124DE4 80 7A 04 50 */ lwz r3, 0x450(r26) -/* 80127E88 00124DE8 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80127E8C 00124DEC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80127E90 00124DF0 40 82 00 84 */ bne lbl_80127F14 -/* 80127E94 00124DF4 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80127E98 00124DF8 38 9A 08 A8 */ addi r4, r26, 0x8a8 -/* 80127E9C 00124DFC C0 22 98 08 */ lfs f1, lbl_805AB528@sda21(r2) -/* 80127EA0 00124E00 38 6D 8A BC */ addi r3, r13, lbl_805A767C@sda21 -/* 80127EA4 00124E04 D0 1A 03 E8 */ stfs f0, 0x3e8(r26) -/* 80127EA8 00124E08 38 AD 8A C0 */ addi r5, r13, lbl_805A7680@sda21 -/* 80127EAC 00124E0C C0 1A 08 A8 */ lfs f0, 0x8a8(r26) -/* 80127EB0 00124E10 EC 01 07 FA */ fmadds f0, f1, f31, f0 -/* 80127EB4 00124E14 D0 1A 08 A8 */ stfs f0, 0x8a8(r26) -/* 80127EB8 00124E18 4B EE 43 FD */ bl "Clamp__5CMathFRCfRCfRCf" -/* 80127EBC 00124E1C C0 23 00 00 */ lfs f1, 0(r3) -/* 80127EC0 00124E20 7F 44 D3 78 */ mr r4, r26 -/* 80127EC4 00124E24 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80127EC8 00124E28 D0 3A 08 A8 */ stfs f1, 0x8a8(r26) -/* 80127ECC 00124E2C D0 1A 08 BC */ stfs f0, 0x8bc(r26) -/* 80127ED0 00124E30 80 7C 08 84 */ lwz r3, 0x884(r28) -/* 80127ED4 00124E34 48 0B D2 FD */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor -/* 80127ED8 00124E38 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) -/* 80127EDC 00124E3C C0 1A 08 A8 */ lfs f0, 0x8a8(r26) -/* 80127EE0 00124E40 EC 01 00 2A */ fadds f0, f1, f0 -/* 80127EE4 00124E44 D0 1A 08 AC */ stfs f0, 0x8ac(r26) -/* 80127EE8 00124E48 48 00 00 2C */ b lbl_80127F14 -lbl_80127EEC: -/* 80127EEC 00124E4C C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) -/* 80127EF0 00124E50 7F 44 D3 78 */ mr r4, r26 -/* 80127EF4 00124E54 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80127EF8 00124E58 D0 3A 03 E8 */ stfs f1, 0x3e8(r26) -/* 80127EFC 00124E5C D0 3A 08 BC */ stfs f1, 0x8bc(r26) -/* 80127F00 00124E60 D0 1A 08 B8 */ stfs f0, 0x8b8(r26) -/* 80127F04 00124E64 80 7C 08 84 */ lwz r3, 0x884(r28) -/* 80127F08 00124E68 48 0B D2 C9 */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor -/* 80127F0C 00124E6C C0 02 97 DC */ lfs f0, lbl_805AB4FC@sda21(r2) -/* 80127F10 00124E70 D0 1A 08 AC */ stfs f0, 0x8ac(r26) -lbl_80127F14: -/* 80127F14 00124E74 88 1A 06 35 */ lbz r0, 0x635(r26) -/* 80127F18 00124E78 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80127F1C 00124E7C 41 82 00 54 */ beq lbl_80127F70 -/* 80127F20 00124E80 80 7A 08 5C */ lwz r3, 0x85c(r26) -/* 80127F24 00124E84 28 03 00 00 */ cmplwi r3, 0 -/* 80127F28 00124E88 41 82 00 48 */ beq lbl_80127F70 -/* 80127F2C 00124E8C C0 02 98 54 */ lfs f0, lbl_805AB574@sda21(r2) -/* 80127F30 00124E90 C0 7B 00 00 */ lfs f3, 0(r27) -/* 80127F34 00124E94 EC 80 07 F2 */ fmuls f4, f0, f31 -/* 80127F38 00124E98 C0 5B 00 04 */ lfs f2, 4(r27) -/* 80127F3C 00124E9C C0 3B 00 08 */ lfs f1, 8(r27) -/* 80127F40 00124EA0 C0 03 00 84 */ lfs f0, 0x84(r3) -/* 80127F44 00124EA4 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80127F48 00124EA8 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80127F4C 00124EAC EC 24 00 72 */ fmuls f1, f4, f1 -/* 80127F50 00124EB0 EC 00 18 2A */ fadds f0, f0, f3 -/* 80127F54 00124EB4 D0 03 00 84 */ stfs f0, 0x84(r3) -/* 80127F58 00124EB8 C0 03 00 88 */ lfs f0, 0x88(r3) -/* 80127F5C 00124EBC EC 00 10 2A */ fadds f0, f0, f2 -/* 80127F60 00124EC0 D0 03 00 88 */ stfs f0, 0x88(r3) -/* 80127F64 00124EC4 C0 03 00 8C */ lfs f0, 0x8c(r3) -/* 80127F68 00124EC8 EC 00 08 2A */ fadds f0, f0, f1 -/* 80127F6C 00124ECC D0 03 00 8C */ stfs f0, 0x8c(r3) -lbl_80127F70: -/* 80127F70 00124ED0 88 1A 04 00 */ lbz r0, 0x400(r26) -/* 80127F74 00124ED4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80127F78 00124ED8 41 82 00 9C */ beq lbl_80128014 -/* 80127F7C 00124EDC 80 1A 04 64 */ lwz r0, 0x464(r26) -/* 80127F80 00124EE0 2C 00 00 03 */ cmpwi r0, 3 -/* 80127F84 00124EE4 41 82 00 08 */ beq lbl_80127F8C -/* 80127F88 00124EE8 48 00 00 F8 */ b lbl_80128080 -lbl_80127F8C: -/* 80127F8C 00124EEC 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 80127F90 00124EF0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80127F94 00124EF4 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 80127F98 00124EF8 38 84 00 11 */ addi r4, r4, 0x11 -/* 80127F9C 00124EFC 4B ED CD 1D */ bl string_l__4rstlFPCc -/* 80127FA0 00124F00 7F 43 D3 78 */ mr r3, r26 -/* 80127FA4 00124F04 4B F7 A9 55 */ bl GetStateMachine__3CAiFv -/* 80127FA8 00124F08 7C 66 1B 78 */ mr r6, r3 -/* 80127FAC 00124F0C 7F 84 E3 78 */ mr r4, r28 -/* 80127FB0 00124F10 7F 45 D3 78 */ mr r5, r26 -/* 80127FB4 00124F14 38 7A 03 30 */ addi r3, r26, 0x330 -/* 80127FB8 00124F18 38 E1 00 30 */ addi r7, r1, 0x30 -/* 80127FBC 00124F1C 4B F5 7C 49 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80127FC0 00124F20 38 61 00 30 */ addi r3, r1, 0x30 -/* 80127FC4 00124F24 48 21 5B 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80127FC8 00124F28 C0 5A 00 60 */ lfs f2, 0x60(r26) -/* 80127FCC 00124F2C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80127FD0 00124F30 C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80127FD4 00124F34 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80127FD8 00124F38 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 80127FDC 00124F3C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80127FE0 00124F40 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) -/* 80127FE4 00124F44 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80127FE8 00124F48 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80127FEC 00124F4C 38 E0 00 7F */ li r7, 0x7f -/* 80127FF0 00124F50 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) -/* 80127FF4 00124F54 39 00 00 01 */ li r8, 1 -/* 80127FF8 00124F58 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80127FFC 00124F5C 39 20 00 00 */ li r9, 0 -/* 80128000 00124F60 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80128004 00124F64 90 01 00 08 */ stw r0, 8(r1) -/* 80128008 00124F68 A0 9A 06 28 */ lhz r4, 0x628(r26) -/* 8012800C 00124F6C 48 1C 21 AD */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi -/* 80128010 00124F70 48 00 00 70 */ b lbl_80128080 -lbl_80128014: -/* 80128014 00124F74 80 1A 04 64 */ lwz r0, 0x464(r26) -/* 80128018 00124F78 2C 00 00 03 */ cmpwi r0, 3 -/* 8012801C 00124F7C 41 82 00 08 */ beq lbl_80128024 -/* 80128020 00124F80 48 00 00 60 */ b lbl_80128080 -lbl_80128024: -/* 80128024 00124F84 80 1A 04 68 */ lwz r0, 0x468(r26) -/* 80128028 00124F88 2C 00 00 09 */ cmpwi r0, 9 -/* 8012802C 00124F8C 41 82 00 54 */ beq lbl_80128080 -/* 80128030 00124F90 2C 00 00 08 */ cmpwi r0, 8 -/* 80128034 00124F94 41 82 00 4C */ beq lbl_80128080 -/* 80128038 00124F98 C0 5A 00 60 */ lfs f2, 0x60(r26) -/* 8012803C 00124F9C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80128040 00124FA0 C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80128044 00124FA4 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80128048 00124FA8 C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 8012804C 00124FAC 38 61 00 10 */ addi r3, r1, 0x10 -/* 80128050 00124FB0 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) -/* 80128054 00124FB4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80128058 00124FB8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8012805C 00124FBC 38 E0 00 7F */ li r7, 0x7f -/* 80128060 00124FC0 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) -/* 80128064 00124FC4 39 00 00 01 */ li r8, 1 -/* 80128068 00124FC8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8012806C 00124FCC 39 20 00 00 */ li r9, 0 -/* 80128070 00124FD0 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80128074 00124FD4 90 01 00 08 */ stw r0, 8(r1) -/* 80128078 00124FD8 A0 9A 06 2A */ lhz r4, 0x62a(r26) -/* 8012807C 00124FDC 48 1C 21 3D */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi -lbl_80128080: -/* 80128080 00124FE0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80128084 00124FE4 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80128088 00124FE8 BB 41 00 48 */ lmw r26, 0x48(r1) -/* 8012808C 00124FEC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80128090 00124FF0 7C 08 03 A6 */ mtlr r0 -/* 80128094 00124FF4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80128098 00124FF8 4E 80 00 20 */ blr - -.global TryWallHang__10CPatternedFR13CStateManageri -TryWallHang__10CPatternedFR13CStateManageri: -/* 8012809C 00124FFC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801280A0 00125000 7C 08 02 A6 */ mflr r0 -/* 801280A4 00125004 38 A0 00 15 */ li r5, 0x15 -/* 801280A8 00125008 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 801280AC 0012500C 90 01 00 24 */ stw r0, 0x24(r1) -/* 801280B0 00125010 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 801280B4 00125014 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801280B8 00125018 A0 C3 02 DC */ lhz r6, 0x2dc(r3) -/* 801280BC 0012501C 80 83 04 50 */ lwz r4, 0x450(r3) -/* 801280C0 00125020 3C 60 80 3E */ lis r3, lbl_803E0B98@ha -/* 801280C4 00125024 90 01 00 0C */ stw r0, 0xc(r1) -/* 801280C8 00125028 38 03 0B 98 */ addi r0, r3, lbl_803E0B98@l -/* 801280CC 0012502C 3B E4 00 04 */ addi r31, r4, 4 -/* 801280D0 00125030 38 80 00 15 */ li r4, 0x15 -/* 801280D4 00125034 B0 C1 00 08 */ sth r6, 8(r1) -/* 801280D8 00125038 7F E3 FB 78 */ mr r3, r31 -/* 801280DC 0012503C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 801280E0 00125040 90 01 00 0C */ stw r0, 0xc(r1) -/* 801280E4 00125044 B0 C1 00 14 */ sth r6, 0x14(r1) -/* 801280E8 00125048 48 00 93 51 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801280EC 0012504C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 801280F0 00125050 3C 60 80 3E */ lis r3, lbl_803E0B98@ha -/* 801280F4 00125054 38 83 0B 98 */ addi r4, r3, lbl_803E0B98@l -/* 801280F8 00125058 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801280FC 0012505C 90 1F 02 58 */ stw r0, 0x258(r31) -/* 80128100 00125060 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80128104 00125064 A0 61 00 14 */ lhz r3, 0x14(r1) -/* 80128108 00125068 90 81 00 0C */ stw r4, 0xc(r1) -/* 8012810C 0012506C B0 7F 02 5C */ sth r3, 0x25c(r31) -/* 80128110 00125070 90 01 00 0C */ stw r0, 0xc(r1) -/* 80128114 00125074 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80128118 00125078 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8012811C 0012507C 7C 08 03 A6 */ mtlr r0 -/* 80128120 00125080 38 21 00 20 */ addi r1, r1, 0x20 -/* 80128124 00125084 4E 80 00 20 */ blr - -.global __dt__14CBCWallHangCmdFv -__dt__14CBCWallHangCmdFv: -/* 80128128 00125088 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012812C 0012508C 7C 08 02 A6 */ mflr r0 -/* 80128130 00125090 90 01 00 14 */ stw r0, 0x14(r1) -/* 80128134 00125094 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80128138 00125098 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8012813C 0012509C 41 82 00 30 */ beq lbl_8012816C -/* 80128140 001250A0 3C 60 80 3E */ lis r3, lbl_803E0B98@ha -/* 80128144 001250A4 38 03 0B 98 */ addi r0, r3, lbl_803E0B98@l -/* 80128148 001250A8 90 1F 00 00 */ stw r0, 0(r31) -/* 8012814C 001250AC 41 82 00 10 */ beq lbl_8012815C -/* 80128150 001250B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80128154 001250B4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80128158 001250B8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8012815C: -/* 8012815C 001250BC 7C 80 07 35 */ extsh. r0, r4 -/* 80128160 001250C0 40 81 00 0C */ ble lbl_8012816C -/* 80128164 001250C4 7F E3 FB 78 */ mr r3, r31 -/* 80128168 001250C8 48 1E D7 C9 */ bl Free__7CMemoryFPCv -lbl_8012816C: -/* 8012816C 001250CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80128170 001250D0 7F E3 FB 78 */ mr r3, r31 -/* 80128174 001250D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80128178 001250D8 7C 08 03 A6 */ mtlr r0 -/* 8012817C 001250DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80128180 001250E0 4E 80 00 20 */ blr - -.global TryCover__10CPatternedFR13CStateManageri -TryCover__10CPatternedFR13CStateManageri: -/* 80128184 001250E4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80128188 001250E8 7C 08 02 A6 */ mflr r0 -/* 8012818C 001250EC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80128190 001250F0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80128194 001250F4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80128198 001250F8 7C BE 2B 78 */ mr r30, r5 -/* 8012819C 001250FC 38 A1 00 08 */ addi r5, r1, 8 -/* 801281A0 00125100 80 C3 04 50 */ lwz r6, 0x450(r3) -/* 801281A4 00125104 A0 03 02 DC */ lhz r0, 0x2dc(r3) -/* 801281A8 00125108 3B E6 00 04 */ addi r31, r6, 4 -/* 801281AC 0012510C B0 01 00 08 */ sth r0, 8(r1) -/* 801281B0 00125110 4B F5 46 FD */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 801281B4 00125114 28 03 00 00 */ cmplwi r3, 0 -/* 801281B8 00125118 41 82 00 C8 */ beq lbl_80128280 -/* 801281BC 0012511C C0 43 00 58 */ lfs f2, 0x58(r3) -/* 801281C0 00125120 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 801281C4 00125124 C0 23 00 48 */ lfs f1, 0x48(r3) -/* 801281C8 00125128 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 801281CC 0012512C C0 03 00 38 */ lfs f0, 0x38(r3) -/* 801281D0 00125130 FC 40 10 50 */ fneg f2, f2 -/* 801281D4 00125134 FC 20 08 50 */ fneg f1, f1 -/* 801281D8 00125138 C0 A3 00 60 */ lfs f5, 0x60(r3) -/* 801281DC 0012513C FC 00 00 50 */ fneg f0, f0 -/* 801281E0 00125140 C0 83 00 50 */ lfs f4, 0x50(r3) -/* 801281E4 00125144 C0 63 00 40 */ lfs f3, 0x40(r3) -/* 801281E8 00125148 3C 60 80 3E */ lis r3, lbl_803E0B8C@ha -/* 801281EC 0012514C 38 80 00 14 */ li r4, 0x14 -/* 801281F0 00125150 90 01 00 0C */ stw r0, 0xc(r1) -/* 801281F4 00125154 38 03 0B 8C */ addi r0, r3, lbl_803E0B8C@l -/* 801281F8 00125158 7F E3 FB 78 */ mr r3, r31 -/* 801281FC 0012515C 90 81 00 10 */ stw r4, 0x10(r1) -/* 80128200 00125160 38 80 00 14 */ li r4, 0x14 -/* 80128204 00125164 90 01 00 0C */ stw r0, 0xc(r1) -/* 80128208 00125168 93 C1 00 14 */ stw r30, 0x14(r1) -/* 8012820C 0012516C D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80128210 00125170 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80128214 00125174 D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 80128218 00125178 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8012821C 0012517C D0 21 00 28 */ stfs f1, 0x28(r1) -/* 80128220 00125180 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 80128224 00125184 48 00 92 15 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80128228 00125188 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8012822C 0012518C 3C 60 80 3E */ lis r3, lbl_803E0B8C@ha -/* 80128230 00125190 38 83 0B 8C */ addi r4, r3, lbl_803E0B8C@l -/* 80128234 00125194 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80128238 00125198 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8012823C 0012519C 90 1F 02 34 */ stw r0, 0x234(r31) -/* 80128240 001251A0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80128244 001251A4 7F C3 F3 78 */ mr r3, r30 -/* 80128248 001251A8 90 81 00 0C */ stw r4, 0xc(r1) -/* 8012824C 001251AC 90 7F 02 38 */ stw r3, 0x238(r31) -/* 80128250 001251B0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80128254 001251B4 90 BF 02 3C */ stw r5, 0x23c(r31) -/* 80128258 001251B8 80 A1 00 20 */ lwz r5, 0x20(r1) -/* 8012825C 001251BC 90 7F 02 40 */ stw r3, 0x240(r31) -/* 80128260 001251C0 80 61 00 24 */ lwz r3, 0x24(r1) -/* 80128264 001251C4 90 BF 02 44 */ stw r5, 0x244(r31) -/* 80128268 001251C8 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8012826C 001251CC 90 7F 02 48 */ stw r3, 0x248(r31) -/* 80128270 001251D0 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80128274 001251D4 90 BF 02 4C */ stw r5, 0x24c(r31) -/* 80128278 001251D8 90 7F 02 50 */ stw r3, 0x250(r31) -/* 8012827C 001251DC 90 01 00 0C */ stw r0, 0xc(r1) -lbl_80128280: -/* 80128280 001251E0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80128284 001251E4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80128288 001251E8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8012828C 001251EC 7C 08 03 A6 */ mtlr r0 -/* 80128290 001251F0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80128294 001251F4 4E 80 00 20 */ blr - -.global __dt__11CBCCoverCmdFv -__dt__11CBCCoverCmdFv: -/* 80128298 001251F8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012829C 001251FC 7C 08 02 A6 */ mflr r0 -/* 801282A0 00125200 90 01 00 14 */ stw r0, 0x14(r1) -/* 801282A4 00125204 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801282A8 00125208 7C 7F 1B 79 */ or. r31, r3, r3 -/* 801282AC 0012520C 41 82 00 30 */ beq lbl_801282DC -/* 801282B0 00125210 3C 60 80 3E */ lis r3, lbl_803E0B8C@ha -/* 801282B4 00125214 38 03 0B 8C */ addi r0, r3, lbl_803E0B8C@l -/* 801282B8 00125218 90 1F 00 00 */ stw r0, 0(r31) -/* 801282BC 0012521C 41 82 00 10 */ beq lbl_801282CC -/* 801282C0 00125220 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801282C4 00125224 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801282C8 00125228 90 1F 00 00 */ stw r0, 0(r31) -lbl_801282CC: -/* 801282CC 0012522C 7C 80 07 35 */ extsh. r0, r4 -/* 801282D0 00125230 40 81 00 0C */ ble lbl_801282DC -/* 801282D4 00125234 7F E3 FB 78 */ mr r3, r31 -/* 801282D8 00125238 48 1E D6 59 */ bl Free__7CMemoryFPCv -lbl_801282DC: -/* 801282DC 0012523C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801282E0 00125240 7F E3 FB 78 */ mr r3, r31 -/* 801282E4 00125244 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801282E8 00125248 7C 08 03 A6 */ mtlr r0 -/* 801282EC 0012524C 38 21 00 10 */ addi r1, r1, 0x10 -/* 801282F0 00125250 4E 80 00 20 */ blr - -.global SetNonCinematicCollision__12CSpacePirateFR13CStateManager -SetNonCinematicCollision__12CSpacePirateFR13CStateManager: -/* 801282F4 00125254 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801282F8 00125258 7C 08 02 A6 */ mflr r0 -/* 801282FC 0012525C 7C 85 23 78 */ mr r5, r4 -/* 80128300 00125260 38 80 00 30 */ li r4, 0x30 -/* 80128304 00125264 90 01 00 34 */ stw r0, 0x34(r1) -/* 80128308 00125268 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8012830C 0012526C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80128310 00125270 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80128314 00125274 93 81 00 20 */ stw r28, 0x20(r1) -/* 80128318 00125278 7C 7C 1B 78 */ mr r28, r3 -/* 8012831C 0012527C 4B F2 C0 35 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80128320 00125280 7F 83 E3 78 */ mr r3, r28 -/* 80128324 00125284 4B F2 B5 99 */ bl GetMaterialFilter__6CActorCFv -/* 80128328 00125288 80 AD 8A B8 */ lwz r5, lbl_805A7678@sda21(r13) -/* 8012832C 0012528C 7C 7F 1B 78 */ mr r31, r3 -/* 80128330 00125290 38 60 00 00 */ li r3, 0 -/* 80128334 00125294 38 80 00 01 */ li r4, 1 -/* 80128338 00125298 48 26 1B BD */ bl __shl2i -/* 8012833C 0012529C 7C 7E 1B 78 */ mr r30, r3 -/* 80128340 001252A0 7C 9D 23 78 */ mr r29, r4 -/* 80128344 001252A4 7F 83 E3 78 */ mr r3, r28 -/* 80128348 001252A8 4B F2 B5 75 */ bl GetMaterialFilter__6CActorCFv -/* 8012834C 001252AC 80 83 00 00 */ lwz r4, 0(r3) -/* 80128350 001252B0 38 00 00 03 */ li r0, 3 -/* 80128354 001252B4 80 C3 00 04 */ lwz r6, 4(r3) -/* 80128358 001252B8 7F 83 E3 78 */ mr r3, r28 -/* 8012835C 001252BC 7C 85 F3 78 */ or r5, r4, r30 -/* 80128360 001252C0 38 81 00 08 */ addi r4, r1, 8 -/* 80128364 001252C4 7C C6 EB 78 */ or r6, r6, r29 -/* 80128368 001252C8 90 A1 00 08 */ stw r5, 8(r1) -/* 8012836C 001252CC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80128370 001252D0 80 BF 00 08 */ lwz r5, 8(r31) -/* 80128374 001252D4 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 80128378 001252D8 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8012837C 001252DC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80128380 001252E0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80128384 001252E4 4B F2 B5 1D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80128388 001252E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8012838C 001252EC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80128390 001252F0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80128394 001252F4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80128398 001252F8 83 81 00 20 */ lwz r28, 0x20(r1) -/* 8012839C 001252FC 7C 08 03 A6 */ mtlr r0 -/* 801283A0 00125300 38 21 00 30 */ addi r1, r1, 0x30 -/* 801283A4 00125304 4E 80 00 20 */ blr - -.global SetCinematicCollision__12CSpacePirateFR13CStateManager -SetCinematicCollision__12CSpacePirateFR13CStateManager: -/* 801283A8 00125308 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801283AC 0012530C 7C 08 02 A6 */ mflr r0 -/* 801283B0 00125310 7C 85 23 78 */ mr r5, r4 -/* 801283B4 00125314 38 80 00 30 */ li r4, 0x30 -/* 801283B8 00125318 90 01 00 34 */ stw r0, 0x34(r1) -/* 801283BC 0012531C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801283C0 00125320 93 C1 00 28 */ stw r30, 0x28(r1) -/* 801283C4 00125324 93 A1 00 24 */ stw r29, 0x24(r1) -/* 801283C8 00125328 7C 7D 1B 78 */ mr r29, r3 -/* 801283CC 0012532C 4B F2 BB B5 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 801283D0 00125330 7F A3 EB 78 */ mr r3, r29 -/* 801283D4 00125334 4B F2 B4 E9 */ bl GetMaterialFilter__6CActorCFv -/* 801283D8 00125338 83 E3 00 00 */ lwz r31, 0(r3) -/* 801283DC 0012533C 83 C3 00 04 */ lwz r30, 4(r3) -/* 801283E0 00125340 7F A3 EB 78 */ mr r3, r29 -/* 801283E4 00125344 4B F2 B4 D9 */ bl GetMaterialFilter__6CActorCFv -/* 801283E8 00125348 3C 80 FF FF */ lis r4, 0xFFFEFFFF@ha -/* 801283EC 0012534C 38 C0 FF FF */ li r6, -1 -/* 801283F0 00125350 38 A4 FF FF */ addi r5, r4, 0xFFFEFFFF@l -/* 801283F4 00125354 38 00 00 03 */ li r0, 3 -/* 801283F8 00125358 7F C6 30 38 */ and r6, r30, r6 -/* 801283FC 0012535C 38 81 00 08 */ addi r4, r1, 8 -/* 80128400 00125360 7F E5 28 38 */ and r5, r31, r5 -/* 80128404 00125364 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80128408 00125368 90 A1 00 08 */ stw r5, 8(r1) -/* 8012840C 0012536C 80 A3 00 08 */ lwz r5, 8(r3) -/* 80128410 00125370 80 C3 00 0C */ lwz r6, 0xc(r3) -/* 80128414 00125374 7F A3 EB 78 */ mr r3, r29 -/* 80128418 00125378 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8012841C 0012537C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80128420 00125380 90 01 00 18 */ stw r0, 0x18(r1) -/* 80128424 00125384 4B F2 B4 7D */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80128428 00125388 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8012842C 0012538C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80128430 00125390 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80128434 00125394 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80128438 00125398 7C 08 03 A6 */ mtlr r0 -/* 8012843C 0012539C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80128440 001253A0 4E 80 00 20 */ blr - -.global GetTargetPos__12CSpacePirateFR13CStateManager -GetTargetPos__12CSpacePirateFR13CStateManager: -/* 80128444 001253A4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80128448 001253A8 7C 08 02 A6 */ mflr r0 -/* 8012844C 001253AC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80128450 001253B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80128454 001253B4 7C BF 2B 78 */ mr r31, r5 -/* 80128458 001253B8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8012845C 001253BC 7C 9E 23 78 */ mr r30, r4 -/* 80128460 001253C0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80128464 001253C4 7C 7D 1B 78 */ mr r29, r3 -/* 80128468 001253C8 80 85 08 4C */ lwz r4, 0x84c(r5) -/* 8012846C 001253CC A0 7E 07 C0 */ lhz r3, 0x7c0(r30) -/* 80128470 001253D0 A0 04 00 08 */ lhz r0, 8(r4) -/* 80128474 001253D4 7C 03 00 40 */ cmplw r3, r0 -/* 80128478 001253D8 41 82 00 80 */ beq lbl_801284F8 -/* 8012847C 001253DC A0 1E 07 C0 */ lhz r0, 0x7c0(r30) -/* 80128480 001253E0 7F E3 FB 78 */ mr r3, r31 -/* 80128484 001253E4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80128488 001253E8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8012848C 001253EC 4B F2 41 19 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80128490 001253F0 7C 64 1B 78 */ mr r4, r3 -/* 80128494 001253F4 38 61 00 14 */ addi r3, r1, 0x14 -/* 80128498 001253F8 4B F8 77 F9 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8012849C 001253FC 80 63 00 04 */ lwz r3, 4(r3) -/* 801284A0 00125400 28 03 00 00 */ cmplwi r3, 0 -/* 801284A4 00125404 41 82 00 2C */ beq lbl_801284D0 -/* 801284A8 00125408 88 03 00 30 */ lbz r0, 0x30(r3) -/* 801284AC 0012540C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801284B0 00125410 41 82 00 20 */ beq lbl_801284D0 -/* 801284B4 00125414 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 801284B8 00125418 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 801284BC 0012541C C0 03 00 40 */ lfs f0, 0x40(r3) -/* 801284C0 00125420 D0 1D 00 00 */ stfs f0, 0(r29) -/* 801284C4 00125424 D0 3D 00 04 */ stfs f1, 4(r29) -/* 801284C8 00125428 D0 5D 00 08 */ stfs f2, 8(r29) -/* 801284CC 0012542C 48 00 00 48 */ b lbl_80128514 -lbl_801284D0: -/* 801284D0 00125430 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 801284D4 00125434 38 7E 07 64 */ addi r3, r30, 0x764 -/* 801284D8 00125438 38 81 00 0C */ addi r4, r1, 0xc -/* 801284DC 0012543C A0 05 00 08 */ lhz r0, 8(r5) -/* 801284E0 00125440 B0 01 00 08 */ sth r0, 8(r1) -/* 801284E4 00125444 B0 01 00 0C */ sth r0, 0xc(r1) -/* 801284E8 00125448 48 04 CD 31 */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 801284EC 0012544C 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 801284F0 00125450 A0 03 00 08 */ lhz r0, 8(r3) -/* 801284F4 00125454 B0 1E 07 C0 */ sth r0, 0x7c0(r30) -lbl_801284F8: -/* 801284F8 00125458 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 801284FC 0012545C C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80128500 00125460 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80128504 00125464 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80128508 00125468 D0 1D 00 00 */ stfs f0, 0(r29) -/* 8012850C 0012546C D0 3D 00 04 */ stfs f1, 4(r29) -/* 80128510 00125470 D0 5D 00 08 */ stfs f2, 8(r29) -lbl_80128514: -/* 80128514 00125474 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80128518 00125478 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8012851C 0012547C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80128520 00125480 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80128524 00125484 7C 08 03 A6 */ mtlr r0 -/* 80128528 00125488 38 21 00 30 */ addi r1, r1, 0x30 -/* 8012852C 0012548C 4E 80 00 20 */ blr - -.global CheckBlade__12CSpacePirateFR13CStateManager -CheckBlade__12CSpacePirateFR13CStateManager: -/* 80128530 00125490 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80128534 00125494 7C 08 02 A6 */ mflr r0 -/* 80128538 00125498 90 01 01 04 */ stw r0, 0x104(r1) -/* 8012853C 0012549C 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 80128540 001254A0 7C 7F 1B 78 */ mr r31, r3 -/* 80128544 001254A4 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 80128548 001254A8 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 8012854C 001254AC 7C 9D 23 78 */ mr r29, r4 -/* 80128550 001254B0 88 03 06 38 */ lbz r0, 0x638(r3) -/* 80128554 001254B4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80128558 001254B8 40 82 01 68 */ bne lbl_801286C0 -/* 8012855C 001254BC 88 1F 07 B9 */ lbz r0, 0x7b9(r31) -/* 80128560 001254C0 28 00 00 FF */ cmplwi r0, 0xff -/* 80128564 001254C4 41 82 01 5C */ beq lbl_801286C0 -/* 80128568 001254C8 A0 1F 07 C0 */ lhz r0, 0x7c0(r31) -/* 8012856C 001254CC 7F A3 EB 78 */ mr r3, r29 -/* 80128570 001254D0 38 81 00 20 */ addi r4, r1, 0x20 -/* 80128574 001254D4 B0 01 00 20 */ sth r0, 0x20(r1) -/* 80128578 001254D8 4B F2 3F FD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8012857C 001254DC 7C 64 1B 78 */ mr r4, r3 -/* 80128580 001254E0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80128584 001254E4 4B F8 41 61 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80128588 001254E8 83 C3 00 04 */ lwz r30, 4(r3) -/* 8012858C 001254EC 28 1E 00 00 */ cmplwi r30, 0 -/* 80128590 001254F0 41 82 01 30 */ beq lbl_801286C0 -/* 80128594 001254F4 7F E4 FB 78 */ mr r4, r31 -/* 80128598 001254F8 38 61 00 90 */ addi r3, r1, 0x90 -/* 8012859C 001254FC 38 BF 07 B9 */ addi r5, r31, 0x7b9 -/* 801285A0 00125500 4B F5 03 19 */ bl GetLctrTransform__10CPatternedCFRC6CSegId -/* 801285A4 00125504 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 801285A8 00125508 38 81 00 90 */ addi r4, r1, 0x90 -/* 801285AC 0012550C 48 1E A5 C9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801285B0 00125510 80 DF 00 64 */ lwz r6, 0x64(r31) -/* 801285B4 00125514 38 61 00 78 */ addi r3, r1, 0x78 -/* 801285B8 00125518 C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) -/* 801285BC 0012551C 38 81 00 38 */ addi r4, r1, 0x38 -/* 801285C0 00125520 C0 66 00 08 */ lfs f3, 8(r6) -/* 801285C4 00125524 38 A1 00 2C */ addi r5, r1, 0x2c -/* 801285C8 00125528 C0 26 00 04 */ lfs f1, 4(r6) -/* 801285CC 0012552C C0 06 00 00 */ lfs f0, 0(r6) -/* 801285D0 00125530 EC C3 00 B2 */ fmuls f6, f3, f2 -/* 801285D4 00125534 C0 E1 00 EC */ lfs f7, 0xec(r1) -/* 801285D8 00125538 EC A1 00 B2 */ fmuls f5, f1, f2 -/* 801285DC 0012553C C1 01 00 DC */ lfs f8, 0xdc(r1) -/* 801285E0 00125540 EC 20 00 B2 */ fmuls f1, f0, f2 -/* 801285E4 00125544 C0 41 00 CC */ lfs f2, 0xcc(r1) -/* 801285E8 00125548 EC 08 28 2A */ fadds f0, f8, f5 -/* 801285EC 0012554C EC 82 08 2A */ fadds f4, f2, f1 -/* 801285F0 00125550 EC 67 30 2A */ fadds f3, f7, f6 -/* 801285F4 00125554 EC 42 08 28 */ fsubs f2, f2, f1 -/* 801285F8 00125558 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 801285FC 0012555C EC 28 28 28 */ fsubs f1, f8, f5 -/* 80128600 00125560 EC 07 30 28 */ fsubs f0, f7, f6 -/* 80128604 00125564 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 80128608 00125568 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8012860C 0012556C D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80128610 00125570 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80128614 00125574 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80128618 00125578 48 20 FE F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8012861C 0012557C 7F C4 F3 78 */ mr r4, r30 -/* 80128620 00125580 38 61 00 60 */ addi r3, r1, 0x60 -/* 80128624 00125584 4B FF 23 09 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80128628 00125588 38 61 00 78 */ addi r3, r1, 0x78 -/* 8012862C 0012558C 38 81 00 60 */ addi r4, r1, 0x60 -/* 80128630 00125590 48 20 F5 55 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 80128634 00125594 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80128638 00125598 41 82 00 88 */ beq lbl_801286C0 -/* 8012863C 0012559C 80 AD 8A 90 */ lwz r5, lbl_805A7650@sda21(r13) -/* 80128640 001255A0 38 60 00 00 */ li r3, 0 -/* 80128644 001255A4 38 80 00 01 */ li r4, 1 -/* 80128648 001255A8 48 26 18 AD */ bl __shl2i -/* 8012864C 001255AC 39 40 00 00 */ li r10, 0 -/* 80128650 001255B0 38 00 00 03 */ li r0, 3 -/* 80128654 001255B4 90 81 00 4C */ stw r4, 0x4c(r1) -/* 80128658 001255B8 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8012865C 001255BC 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80128660 001255C0 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80128664 001255C4 90 61 00 48 */ stw r3, 0x48(r1) -/* 80128668 001255C8 38 81 00 1C */ addi r4, r1, 0x1c -/* 8012866C 001255CC 7F A3 EB 78 */ mr r3, r29 -/* 80128670 001255D0 38 C1 00 0C */ addi r6, r1, 0xc -/* 80128674 001255D4 91 41 00 54 */ stw r10, 0x54(r1) -/* 80128678 001255D8 38 FF 05 B4 */ addi r7, r31, 0x5b4 -/* 8012867C 001255DC 39 01 00 48 */ addi r8, r1, 0x48 -/* 80128680 001255E0 91 41 00 50 */ stw r10, 0x50(r1) -/* 80128684 001255E4 90 01 00 58 */ stw r0, 0x58(r1) -/* 80128688 001255E8 A0 1F 00 08 */ lhz r0, 8(r31) -/* 8012868C 001255EC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80128690 001255F0 A1 5E 00 08 */ lhz r10, 8(r30) -/* 80128694 001255F4 B0 01 00 08 */ sth r0, 8(r1) -/* 80128698 001255F8 B1 41 00 14 */ sth r10, 0x14(r1) -/* 8012869C 001255FC A0 1F 00 08 */ lhz r0, 8(r31) -/* 801286A0 00125600 B1 41 00 10 */ sth r10, 0x10(r1) -/* 801286A4 00125604 B0 01 00 18 */ sth r0, 0x18(r1) -/* 801286A8 00125608 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 801286AC 0012560C 4B F2 19 F5 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 801286B0 00125610 88 1F 06 38 */ lbz r0, 0x638(r31) -/* 801286B4 00125614 38 60 00 01 */ li r3, 1 -/* 801286B8 00125618 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 801286BC 0012561C 98 1F 06 38 */ stb r0, 0x638(r31) -lbl_801286C0: -/* 801286C0 00125620 80 01 01 04 */ lwz r0, 0x104(r1) -/* 801286C4 00125624 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 801286C8 00125628 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 801286CC 0012562C 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 801286D0 00125630 7C 08 03 A6 */ mtlr r0 -/* 801286D4 00125634 38 21 01 00 */ addi r1, r1, 0x100 -/* 801286D8 00125638 4E 80 00 20 */ blr - -.global GetStrafeDir__12CSpacePirateCFR13CStateManagerf -GetStrafeDir__12CSpacePirateCFR13CStateManagerf: -/* 801286DC 0012563C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 801286E0 00125640 7C 08 02 A6 */ mflr r0 -/* 801286E4 00125644 90 01 00 84 */ stw r0, 0x84(r1) -/* 801286E8 00125648 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 801286EC 0012564C F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 801286F0 00125650 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 801286F4 00125654 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 801286F8 00125658 BF 21 00 44 */ stmw r25, 0x44(r1) -/* 801286FC 0012565C FF C0 08 90 */ fmr f30, f1 -/* 80128700 00125660 83 64 08 38 */ lwz r27, 0x838(r4) -/* 80128704 00125664 7C 9C 23 78 */ mr r28, r4 -/* 80128708 00125668 7C 79 1B 78 */ mr r25, r3 -/* 8012870C 0012566C AB 5B 20 08 */ lha r26, 0x2008(r27) -/* 80128710 00125670 3B E0 00 01 */ li r31, 1 -/* 80128714 00125674 EF FE 07 B2 */ fmuls f31, f30, f30 -/* 80128718 00125678 3B C0 00 01 */ li r30, 1 -/* 8012871C 0012567C 3B A0 FF FF */ li r29, -1 -/* 80128720 00125680 48 00 01 18 */ b lbl_80128838 -lbl_80128724: -/* 80128724 00125684 7F 63 DB 78 */ mr r3, r27 -/* 80128728 00125688 7F 44 D3 78 */ mr r4, r26 -/* 8012872C 0012568C 4B EE 75 B1 */ bl __vc__11CObjectListCFi -/* 80128730 00125690 7C 64 1B 78 */ mr r4, r3 -/* 80128734 00125694 38 61 00 08 */ addi r3, r1, 8 -/* 80128738 00125698 4B F7 CC 99 */ bl sub_800a53d0 -/* 8012873C 0012569C 4B F7 CC 69 */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" -/* 80128740 001256A0 28 03 00 00 */ cmplwi r3, 0 -/* 80128744 001256A4 41 82 00 D8 */ beq lbl_8012881C -/* 80128748 001256A8 7C 03 C8 40 */ cmplw r3, r25 -/* 8012874C 001256AC 41 82 00 D0 */ beq lbl_8012881C -/* 80128750 001256B0 80 83 00 04 */ lwz r4, 4(r3) -/* 80128754 001256B4 80 19 00 04 */ lwz r0, 4(r25) -/* 80128758 001256B8 7C 04 00 00 */ cmpw r4, r0 -/* 8012875C 001256BC 40 82 00 C0 */ bne lbl_8012881C -/* 80128760 001256C0 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80128764 001256C4 C0 19 00 50 */ lfs f0, 0x50(r25) -/* 80128768 001256C8 C0 63 00 40 */ lfs f3, 0x40(r3) -/* 8012876C 001256CC EC 81 00 28 */ fsubs f4, f1, f0 -/* 80128770 001256D0 C0 19 00 40 */ lfs f0, 0x40(r25) -/* 80128774 001256D4 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80128778 001256D8 EC A3 00 28 */ fsubs f5, f3, f0 -/* 8012877C 001256DC C0 39 00 60 */ lfs f1, 0x60(r25) -/* 80128780 001256E0 EC 04 01 32 */ fmuls f0, f4, f4 -/* 80128784 001256E4 EC 62 08 28 */ fsubs f3, f2, f1 -/* 80128788 001256E8 EC 05 01 7A */ fmadds f0, f5, f5, f0 -/* 8012878C 001256EC EC E3 00 FA */ fmadds f7, f3, f3, f0 -/* 80128790 001256F0 FC 07 F8 40 */ fcmpo cr0, f7, f31 -/* 80128794 001256F4 40 80 00 88 */ bge lbl_8012881C -/* 80128798 001256F8 C0 D9 00 44 */ lfs f6, 0x44(r25) -/* 8012879C 001256FC C0 59 00 34 */ lfs f2, 0x34(r25) -/* 801287A0 00125700 EC 24 01 B2 */ fmuls f1, f4, f6 -/* 801287A4 00125704 C0 99 00 54 */ lfs f4, 0x54(r25) -/* 801287A8 00125708 C0 02 98 58 */ lfs f0, lbl_805AB578@sda21(r2) -/* 801287AC 0012570C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 801287B0 00125710 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 801287B4 00125714 EC 00 01 F2 */ fmuls f0, f0, f7 -/* 801287B8 00125718 D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 801287BC 0012571C EC 43 09 3A */ fmadds f2, f3, f4, f1 -/* 801287C0 00125720 D0 81 00 38 */ stfs f4, 0x38(r1) -/* 801287C4 00125724 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801287C8 00125728 41 81 00 1C */ bgt lbl_801287E4 -/* 801287CC 0012572C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801287D0 00125730 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801287D4 00125734 40 81 00 18 */ ble lbl_801287EC -/* 801287D8 00125738 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) -/* 801287DC 0012573C FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 801287E0 00125740 40 80 00 0C */ bge lbl_801287EC -lbl_801287E4: -/* 801287E4 00125744 3B C0 00 00 */ li r30, 0 -/* 801287E8 00125748 48 00 00 34 */ b lbl_8012881C -lbl_801287EC: -/* 801287EC 0012574C FC 00 38 50 */ fneg f0, f7 -/* 801287F0 00125750 C0 22 98 58 */ lfs f1, lbl_805AB578@sda21(r2) -/* 801287F4 00125754 EC 01 00 32 */ fmuls f0, f1, f0 -/* 801287F8 00125758 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801287FC 0012575C 41 80 00 1C */ blt lbl_80128818 -/* 80128800 00125760 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80128804 00125764 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80128808 00125768 40 80 00 14 */ bge lbl_8012881C -/* 8012880C 0012576C C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) -/* 80128810 00125770 FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 80128814 00125774 40 80 00 08 */ bge lbl_8012881C -lbl_80128818: -/* 80128818 00125778 3B E0 00 00 */ li r31, 0 -lbl_8012881C: -/* 8012881C 0012577C 2C 1A FF FF */ cmpwi r26, -1 -/* 80128820 00125780 41 82 00 14 */ beq lbl_80128834 -/* 80128824 00125784 57 43 18 38 */ slwi r3, r26, 3 -/* 80128828 00125788 38 03 00 08 */ addi r0, r3, 8 -/* 8012882C 0012578C 7F 5B 02 AE */ lhax r26, r27, r0 -/* 80128830 00125790 48 00 00 08 */ b lbl_80128838 -lbl_80128834: -/* 80128834 00125794 3B 40 FF FF */ li r26, -1 -lbl_80128838: -/* 80128838 00125798 2C 1A FF FF */ cmpwi r26, -1 -/* 8012883C 0012579C 40 82 FE E8 */ bne lbl_80128724 -/* 80128840 001257A0 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80128844 001257A4 41 82 00 34 */ beq lbl_80128878 -/* 80128848 001257A8 C0 79 00 54 */ lfs f3, 0x54(r25) -/* 8012884C 001257AC FC 20 F0 90 */ fmr f1, f30 -/* 80128850 001257B0 C0 59 00 44 */ lfs f2, 0x44(r25) -/* 80128854 001257B4 7F 23 CB 78 */ mr r3, r25 -/* 80128858 001257B8 C0 19 00 34 */ lfs f0, 0x34(r25) -/* 8012885C 001257BC 7F 84 E3 78 */ mr r4, r28 -/* 80128860 001257C0 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80128864 001257C4 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80128868 001257C8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8012886C 001257CC D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 80128870 001257D0 48 00 00 C9 */ bl CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff -/* 80128874 001257D4 7C 7E 1B 78 */ mr r30, r3 -lbl_80128878: -/* 80128878 001257D8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8012887C 001257DC 41 82 00 4C */ beq lbl_801288C8 -/* 80128880 001257E0 C0 D9 00 54 */ lfs f6, 0x54(r25) -/* 80128884 001257E4 FC 20 F0 90 */ fmr f1, f30 -/* 80128888 001257E8 C0 B9 00 44 */ lfs f5, 0x44(r25) -/* 8012888C 001257EC 7F 23 CB 78 */ mr r3, r25 -/* 80128890 001257F0 C0 99 00 34 */ lfs f4, 0x34(r25) -/* 80128894 001257F4 FC 00 30 50 */ fneg f0, f6 -/* 80128898 001257F8 FC 40 28 50 */ fneg f2, f5 -/* 8012889C 001257FC FC 60 20 50 */ fneg f3, f4 -/* 801288A0 00125800 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 801288A4 00125804 7F 84 E3 78 */ mr r4, r28 -/* 801288A8 00125808 38 A1 00 18 */ addi r5, r1, 0x18 -/* 801288AC 0012580C D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 801288B0 00125810 D0 C1 00 14 */ stfs f6, 0x14(r1) -/* 801288B4 00125814 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 801288B8 00125818 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 801288BC 0012581C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 801288C0 00125820 48 00 00 79 */ bl CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff -/* 801288C4 00125824 7C 7F 1B 78 */ mr r31, r3 -lbl_801288C8: -/* 801288C8 00125828 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 801288CC 0012582C 41 82 00 28 */ beq lbl_801288F4 -/* 801288D0 00125830 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 801288D4 00125834 41 82 00 20 */ beq lbl_801288F4 -/* 801288D8 00125838 80 7C 09 00 */ lwz r3, 0x900(r28) -/* 801288DC 0012583C 48 1E 9C 45 */ bl Next__9CRandom16Fv -/* 801288E0 00125840 54 60 04 63 */ rlwinm. r0, r3, 0, 0x11, 0x11 -/* 801288E4 00125844 41 82 00 0C */ beq lbl_801288F0 -/* 801288E8 00125848 3B E0 00 00 */ li r31, 0 -/* 801288EC 0012584C 48 00 00 08 */ b lbl_801288F4 -lbl_801288F0: -/* 801288F0 00125850 3B C0 00 00 */ li r30, 0 -lbl_801288F4: -/* 801288F4 00125854 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 801288F8 00125858 41 82 00 0C */ beq lbl_80128904 -/* 801288FC 0012585C 3B A0 00 02 */ li r29, 2 -/* 80128900 00125860 48 00 00 10 */ b lbl_80128910 -lbl_80128904: -/* 80128904 00125864 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80128908 00125868 41 82 00 08 */ beq lbl_80128910 -/* 8012890C 0012586C 3B A0 00 03 */ li r29, 3 -lbl_80128910: -/* 80128910 00125870 7F A3 EB 78 */ mr r3, r29 -/* 80128914 00125874 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80128918 00125878 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8012891C 0012587C E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80128920 00125880 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80128924 00125884 BB 21 00 44 */ lmw r25, 0x44(r1) -/* 80128928 00125888 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8012892C 0012588C 7C 08 03 A6 */ mtlr r0 -/* 80128930 00125890 38 21 00 80 */ addi r1, r1, 0x80 -/* 80128934 00125894 4E 80 00 20 */ blr - -.global CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff -CantJumpBack__12CSpacePirateFR13CStateManagerR9CVector3ff: -/* 80128938 00125898 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 8012893C 0012589C 7C 08 02 A6 */ mflr r0 -/* 80128940 001258A0 90 01 01 24 */ stw r0, 0x124(r1) -/* 80128944 001258A4 DB E1 01 10 */ stfd f31, 0x110(r1) -/* 80128948 001258A8 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 -/* 8012894C 001258AC BF 61 00 FC */ stmw r27, 0xfc(r1) -/* 80128950 001258B0 FF E0 08 90 */ fmr f31, f1 -/* 80128954 001258B4 7C 7B 1B 78 */ mr r27, r3 -/* 80128958 001258B8 7C 9C 23 78 */ mr r28, r4 -/* 8012895C 001258BC 7C BD 2B 78 */ mr r29, r5 -/* 80128960 001258C0 7F 64 DB 78 */ mr r4, r27 -/* 80128964 001258C4 38 61 00 E0 */ addi r3, r1, 0xe0 -/* 80128968 001258C8 4B FF 1F C5 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8012896C 001258CC 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 80128970 001258D0 38 81 00 E0 */ addi r4, r1, 0xe0 -/* 80128974 001258D4 48 20 EC 99 */ bl GetCenterPoint__6CAABoxCFv -/* 80128978 001258D8 C0 5D 00 04 */ lfs f2, 4(r29) -/* 8012897C 001258DC 38 00 00 00 */ li r0, 0 -/* 80128980 001258E0 C0 3D 00 08 */ lfs f1, 8(r29) -/* 80128984 001258E4 7F 63 DB 78 */ mr r3, r27 -/* 80128988 001258E8 C0 1D 00 00 */ lfs f0, 0(r29) -/* 8012898C 001258EC EC DF 00 B2 */ fmuls f6, f31, f2 -/* 80128990 001258F0 C0 61 00 CC */ lfs f3, 0xcc(r1) -/* 80128994 001258F4 EC BF 00 72 */ fmuls f5, f31, f1 -/* 80128998 001258F8 C0 41 00 D0 */ lfs f2, 0xd0(r1) -/* 8012899C 001258FC EC 3F 00 32 */ fmuls f1, f31, f0 -/* 801289A0 00125900 C0 81 00 C8 */ lfs f4, 0xc8(r1) -/* 801289A4 00125904 EC E3 30 2A */ fadds f7, f3, f6 -/* 801289A8 00125908 D0 61 00 D8 */ stfs f3, 0xd8(r1) -/* 801289AC 0012590C EC 62 28 2A */ fadds f3, f2, f5 -/* 801289B0 00125910 7F 84 E3 78 */ mr r4, r28 -/* 801289B4 00125914 EC 04 08 2A */ fadds f0, f4, f1 -/* 801289B8 00125918 D0 81 00 D4 */ stfs f4, 0xd4(r1) -/* 801289BC 0012591C D0 41 00 DC */ stfs f2, 0xdc(r1) -/* 801289C0 00125920 38 A1 00 D4 */ addi r5, r1, 0xd4 -/* 801289C4 00125924 38 C1 00 BC */ addi r6, r1, 0xbc -/* 801289C8 00125928 38 E1 00 18 */ addi r7, r1, 0x18 -/* 801289CC 0012592C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 801289D0 00125930 3B C0 00 01 */ li r30, 1 -/* 801289D4 00125934 90 01 00 18 */ stw r0, 0x18(r1) -/* 801289D8 00125938 D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 801289DC 0012593C D0 C1 00 B4 */ stfs f6, 0xb4(r1) -/* 801289E0 00125940 D0 A1 00 B8 */ stfs f5, 0xb8(r1) -/* 801289E4 00125944 D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 801289E8 00125948 D0 E1 00 C0 */ stfs f7, 0xc0(r1) -/* 801289EC 0012594C D0 61 00 C4 */ stfs f3, 0xc4(r1) -/* 801289F0 00125950 48 00 08 A1 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList -/* 801289F4 00125954 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801289F8 00125958 41 82 01 B4 */ beq lbl_80128BAC -/* 801289FC 0012595C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80128A00 00125960 38 00 00 00 */ li r0, 0 -/* 80128A04 00125964 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 80128A08 00125968 C0 5D 00 00 */ lfs f2, 0(r29) -/* 80128A0C 0012596C EC 60 07 F2 */ fmuls f3, f0, f31 -/* 80128A10 00125970 3B E3 67 00 */ addi r31, r3, lbl_805A6700@l -/* 80128A14 00125974 C0 3D 00 04 */ lfs f1, 4(r29) -/* 80128A18 00125978 7F 63 DB 78 */ mr r3, r27 -/* 80128A1C 0012597C C0 1D 00 08 */ lfs f0, 8(r29) -/* 80128A20 00125980 7F 84 E3 78 */ mr r4, r28 -/* 80128A24 00125984 EC A3 00 B2 */ fmuls f5, f3, f2 -/* 80128A28 00125988 C0 41 00 D4 */ lfs f2, 0xd4(r1) -/* 80128A2C 0012598C EC 83 00 72 */ fmuls f4, f3, f1 -/* 80128A30 00125990 C0 21 00 D8 */ lfs f1, 0xd8(r1) -/* 80128A34 00125994 EC 63 00 32 */ fmuls f3, f3, f0 -/* 80128A38 00125998 C0 C1 00 DC */ lfs f6, 0xdc(r1) -/* 80128A3C 0012599C ED 02 28 2A */ fadds f8, f2, f5 -/* 80128A40 001259A0 C0 42 98 1C */ lfs f2, lbl_805AB53C@sda21(r2) -/* 80128A44 001259A4 EC E1 20 2A */ fadds f7, f1, f4 -/* 80128A48 001259A8 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80128A4C 001259AC EC C6 18 2A */ fadds f6, f6, f3 -/* 80128A50 001259B0 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80128A54 001259B4 ED 42 00 32 */ fmuls f10, f2, f0 -/* 80128A58 001259B8 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80128A5C 001259BC ED 22 00 72 */ fmuls f9, f2, f1 -/* 80128A60 001259C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80128A64 001259C4 EC 22 00 32 */ fmuls f1, f2, f0 -/* 80128A68 001259C8 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 80128A6C 001259CC ED 67 50 2A */ fadds f11, f7, f10 -/* 80128A70 001259D0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80128A74 001259D4 EC 46 48 2A */ fadds f2, f6, f9 -/* 80128A78 001259D8 38 C1 00 8C */ addi r6, r1, 0x8c -/* 80128A7C 001259DC EC 08 08 2A */ fadds f0, f8, f1 -/* 80128A80 001259E0 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 80128A84 001259E4 D1 41 00 6C */ stfs f10, 0x6c(r1) -/* 80128A88 001259E8 38 E1 00 10 */ addi r7, r1, 0x10 -/* 80128A8C 001259EC D1 21 00 70 */ stfs f9, 0x70(r1) -/* 80128A90 001259F0 D0 A1 00 74 */ stfs f5, 0x74(r1) -/* 80128A94 001259F4 D0 81 00 78 */ stfs f4, 0x78(r1) -/* 80128A98 001259F8 D0 61 00 7C */ stfs f3, 0x7c(r1) -/* 80128A9C 001259FC D1 01 00 80 */ stfs f8, 0x80(r1) -/* 80128AA0 00125A00 D0 E1 00 84 */ stfs f7, 0x84(r1) -/* 80128AA4 00125A04 D0 C1 00 88 */ stfs f6, 0x88(r1) -/* 80128AA8 00125A08 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80128AAC 00125A0C D1 61 00 90 */ stfs f11, 0x90(r1) -/* 80128AB0 00125A10 D0 41 00 94 */ stfs f2, 0x94(r1) -/* 80128AB4 00125A14 D0 A1 00 98 */ stfs f5, 0x98(r1) -/* 80128AB8 00125A18 D0 81 00 9C */ stfs f4, 0x9c(r1) -/* 80128ABC 00125A1C D0 61 00 A0 */ stfs f3, 0xa0(r1) -/* 80128AC0 00125A20 D1 01 00 A4 */ stfs f8, 0xa4(r1) -/* 80128AC4 00125A24 D0 E1 00 A8 */ stfs f7, 0xa8(r1) -/* 80128AC8 00125A28 D0 C1 00 AC */ stfs f6, 0xac(r1) -/* 80128ACC 00125A2C 48 00 07 C5 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList -/* 80128AD0 00125A30 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80128AD4 00125A34 40 82 00 D8 */ bne lbl_80128BAC -/* 80128AD8 00125A38 C0 1D 00 04 */ lfs f0, 4(r29) -/* 80128ADC 00125A3C 38 00 00 00 */ li r0, 0 -/* 80128AE0 00125A40 C0 3D 00 08 */ lfs f1, 8(r29) -/* 80128AE4 00125A44 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 80128AE8 00125A48 EC BF 00 32 */ fmuls f5, f31, f0 -/* 80128AEC 00125A4C C0 1D 00 00 */ lfs f0, 0(r29) -/* 80128AF0 00125A50 EC 9F 00 72 */ fmuls f4, f31, f1 -/* 80128AF4 00125A54 38 83 67 00 */ addi r4, r3, lbl_805A6700@l -/* 80128AF8 00125A58 EC 3F 00 32 */ fmuls f1, f31, f0 -/* 80128AFC 00125A5C C0 01 00 D4 */ lfs f0, 0xd4(r1) -/* 80128B00 00125A60 C0 41 00 D8 */ lfs f2, 0xd8(r1) -/* 80128B04 00125A64 7F 63 DB 78 */ mr r3, r27 -/* 80128B08 00125A68 ED 00 08 2A */ fadds f8, f0, f1 -/* 80128B0C 00125A6C C0 01 00 DC */ lfs f0, 0xdc(r1) -/* 80128B10 00125A70 EC E2 28 2A */ fadds f7, f2, f5 -/* 80128B14 00125A74 C0 62 98 1C */ lfs f3, lbl_805AB53C@sda21(r2) -/* 80128B18 00125A78 EC C0 20 2A */ fadds f6, f0, f4 -/* 80128B1C 00125A7C C0 1F 00 04 */ lfs f0, 4(r31) -/* 80128B20 00125A80 ED 43 00 32 */ fmuls f10, f3, f0 -/* 80128B24 00125A84 C0 5F 00 08 */ lfs f2, 8(r31) -/* 80128B28 00125A88 C0 04 00 00 */ lfs f0, 0(r4) -/* 80128B2C 00125A8C 7F 84 E3 78 */ mr r4, r28 -/* 80128B30 00125A90 ED 23 00 B2 */ fmuls f9, f3, f2 -/* 80128B34 00125A94 90 01 00 0C */ stw r0, 0xc(r1) -/* 80128B38 00125A98 EC 43 00 32 */ fmuls f2, f3, f0 -/* 80128B3C 00125A9C 90 01 00 08 */ stw r0, 8(r1) -/* 80128B40 00125AA0 ED 67 50 2A */ fadds f11, f7, f10 -/* 80128B44 00125AA4 38 A1 00 5C */ addi r5, r1, 0x5c -/* 80128B48 00125AA8 EC 66 48 2A */ fadds f3, f6, f9 -/* 80128B4C 00125AAC D1 41 00 24 */ stfs f10, 0x24(r1) -/* 80128B50 00125AB0 EC 08 10 2A */ fadds f0, f8, f2 -/* 80128B54 00125AB4 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80128B58 00125AB8 38 C1 00 44 */ addi r6, r1, 0x44 -/* 80128B5C 00125ABC 38 E1 00 08 */ addi r7, r1, 8 -/* 80128B60 00125AC0 D1 21 00 28 */ stfs f9, 0x28(r1) -/* 80128B64 00125AC4 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80128B68 00125AC8 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 80128B6C 00125ACC D0 81 00 34 */ stfs f4, 0x34(r1) -/* 80128B70 00125AD0 D1 01 00 38 */ stfs f8, 0x38(r1) -/* 80128B74 00125AD4 D0 E1 00 3C */ stfs f7, 0x3c(r1) -/* 80128B78 00125AD8 D0 C1 00 40 */ stfs f6, 0x40(r1) -/* 80128B7C 00125ADC D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80128B80 00125AE0 D1 61 00 48 */ stfs f11, 0x48(r1) -/* 80128B84 00125AE4 D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 80128B88 00125AE8 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80128B8C 00125AEC D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 80128B90 00125AF0 D0 81 00 58 */ stfs f4, 0x58(r1) -/* 80128B94 00125AF4 D1 01 00 5C */ stfs f8, 0x5c(r1) -/* 80128B98 00125AF8 D0 E1 00 60 */ stfs f7, 0x60(r1) -/* 80128B9C 00125AFC D0 C1 00 64 */ stfs f6, 0x64(r1) -/* 80128BA0 00125B00 48 00 06 F1 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList -/* 80128BA4 00125B04 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80128BA8 00125B08 41 82 00 08 */ beq lbl_80128BB0 -lbl_80128BAC: -/* 80128BAC 00125B0C 3B C0 00 00 */ li r30, 0 -lbl_80128BB0: -/* 80128BB0 00125B10 57 C3 06 3E */ clrlwi r3, r30, 0x18 -/* 80128BB4 00125B14 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 -/* 80128BB8 00125B18 CB E1 01 10 */ lfd f31, 0x110(r1) -/* 80128BBC 00125B1C BB 61 00 FC */ lmw r27, 0xfc(r1) -/* 80128BC0 00125B20 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80128BC4 00125B24 7C 08 03 A6 */ mtlr r0 -/* 80128BC8 00125B28 38 21 01 20 */ addi r1, r1, 0x120 -/* 80128BCC 00125B2C 4E 80 00 20 */ blr - -.global AvoidActors__12CSpacePirateFR13CStateManager -AvoidActors__12CSpacePirateFR13CStateManager: -/* 80128BD0 00125B30 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80128BD4 00125B34 7C 08 02 A6 */ mflr r0 -/* 80128BD8 00125B38 90 01 00 84 */ stw r0, 0x84(r1) -/* 80128BDC 00125B3C BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 80128BE0 00125B40 7C 7F 1B 78 */ mr r31, r3 -/* 80128BE4 00125B44 83 A4 08 38 */ lwz r29, 0x838(r4) -/* 80128BE8 00125B48 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80128BEC 00125B4C 3B C4 66 A0 */ addi r30, r4, skZero3f@l -/* 80128BF0 00125B50 AB 7D 20 08 */ lha r27, 0x2008(r29) -/* 80128BF4 00125B54 48 00 01 CC */ b lbl_80128DC0 -lbl_80128BF8: -/* 80128BF8 00125B58 7F A3 EB 78 */ mr r3, r29 -/* 80128BFC 00125B5C 7F 64 DB 78 */ mr r4, r27 -/* 80128C00 00125B60 4B EE 70 DD */ bl __vc__11CObjectListCFi -/* 80128C04 00125B64 7C 64 1B 78 */ mr r4, r3 -/* 80128C08 00125B68 38 61 00 0C */ addi r3, r1, 0xc -/* 80128C0C 00125B6C 4B F8 3E 51 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 80128C10 00125B70 83 83 00 04 */ lwz r28, 4(r3) -/* 80128C14 00125B74 28 1C 00 00 */ cmplwi r28, 0 -/* 80128C18 00125B78 41 82 01 8C */ beq lbl_80128DA4 -/* 80128C1C 00125B7C 7C 1C F8 40 */ cmplw r28, r31 -/* 80128C20 00125B80 41 82 01 84 */ beq lbl_80128DA4 -/* 80128C24 00125B84 80 7C 00 04 */ lwz r3, 4(r28) -/* 80128C28 00125B88 80 1F 00 04 */ lwz r0, 4(r31) -/* 80128C2C 00125B8C 7C 03 00 00 */ cmpw r3, r0 -/* 80128C30 00125B90 40 82 01 74 */ bne lbl_80128DA4 -/* 80128C34 00125B94 C0 3F 06 30 */ lfs f1, 0x630(r31) -/* 80128C38 00125B98 7F E5 FB 78 */ mr r5, r31 -/* 80128C3C 00125B9C C0 7C 00 60 */ lfs f3, 0x60(r28) -/* 80128C40 00125BA0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80128C44 00125BA4 C0 5C 00 50 */ lfs f2, 0x50(r28) -/* 80128C48 00125BA8 38 9F 04 5C */ addi r4, r31, 0x45c -/* 80128C4C 00125BAC C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 80128C50 00125BB0 38 C1 00 2C */ addi r6, r1, 0x2c -/* 80128C54 00125BB4 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80128C58 00125BB8 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80128C5C 00125BBC D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80128C60 00125BC0 48 01 5C 91 */ bl Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 80128C64 00125BC4 C0 C1 00 38 */ lfs f6, 0x38(r1) -/* 80128C68 00125BC8 38 00 00 00 */ li r0, 0 -/* 80128C6C 00125BCC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80128C70 00125BD0 C0 81 00 3C */ lfs f4, 0x3c(r1) -/* 80128C74 00125BD4 FC 00 30 00 */ fcmpu cr0, f0, f6 -/* 80128C78 00125BD8 C0 A1 00 40 */ lfs f5, 0x40(r1) -/* 80128C7C 00125BDC 40 82 00 14 */ bne lbl_80128C90 -/* 80128C80 00125BE0 FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 80128C84 00125BE4 40 82 00 0C */ bne lbl_80128C90 -/* 80128C88 00125BE8 FC 00 28 00 */ fcmpu cr0, f0, f5 -/* 80128C8C 00125BEC 41 82 00 08 */ beq lbl_80128C94 -lbl_80128C90: -/* 80128C90 00125BF0 38 00 00 01 */ li r0, 1 -lbl_80128C94: -/* 80128C94 00125BF4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80128C98 00125BF8 41 82 01 0C */ beq lbl_80128DA4 -/* 80128C9C 00125BFC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80128CA0 00125C00 C0 5E 00 04 */ lfs f2, 4(r30) -/* 80128CA4 00125C04 C0 3E 00 08 */ lfs f1, 8(r30) -/* 80128CA8 00125C08 38 81 00 44 */ addi r4, r1, 0x44 -/* 80128CAC 00125C0C C0 63 66 A0 */ lfs f3, skZero3f@l(r3) -/* 80128CB0 00125C10 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80128CB4 00125C14 D0 C1 00 44 */ stfs f6, 0x44(r1) -/* 80128CB8 00125C18 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 80128CBC 00125C1C D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 80128CC0 00125C20 D0 61 00 50 */ stfs f3, 0x50(r1) -/* 80128CC4 00125C24 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 80128CC8 00125C28 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80128CCC 00125C2C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 80128CD0 00125C30 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80128CD4 00125C34 38 63 00 04 */ addi r3, r3, 4 -/* 80128CD8 00125C38 48 00 8A 41 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 80128CDC 00125C3C C0 3F 07 48 */ lfs f1, 0x748(r31) -/* 80128CE0 00125C40 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80128CE4 00125C44 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80128CE8 00125C48 40 82 00 BC */ bne lbl_80128DA4 -/* 80128CEC 00125C4C 7F 84 E3 78 */ mr r4, r28 -/* 80128CF0 00125C50 38 61 00 08 */ addi r3, r1, 8 -/* 80128CF4 00125C54 4B F7 C6 DD */ bl sub_800a53d0 -/* 80128CF8 00125C58 4B F7 C6 AD */ bl "CastTo<12CSpacePirate>__10CPatternedFP7CEntity" -/* 80128CFC 00125C5C 28 03 00 00 */ cmplwi r3, 0 -/* 80128D00 00125C60 41 82 00 A4 */ beq lbl_80128DA4 -/* 80128D04 00125C64 C0 03 07 48 */ lfs f0, 0x748(r3) -/* 80128D08 00125C68 C0 82 97 BC */ lfs f4, lbl_805AB4DC@sda21(r2) -/* 80128D0C 00125C6C FC 00 20 00 */ fcmpu cr0, f0, f4 -/* 80128D10 00125C70 40 82 00 94 */ bne lbl_80128DA4 -/* 80128D14 00125C74 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80128D18 00125C78 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80128D1C 00125C7C C0 FF 00 48 */ lfs f7, 0x48(r31) -/* 80128D20 00125C80 EC A1 00 28 */ fsubs f5, f1, f0 -/* 80128D24 00125C84 C0 43 00 40 */ lfs f2, 0x40(r3) -/* 80128D28 00125C88 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80128D2C 00125C8C C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 80128D30 00125C90 EC C2 00 28 */ fsubs f6, f2, f0 -/* 80128D34 00125C94 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 80128D38 00125C98 EC 07 01 72 */ fmuls f0, f7, f5 -/* 80128D3C 00125C9C C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80128D40 00125CA0 C0 BF 00 58 */ lfs f5, 0x58(r31) -/* 80128D44 00125CA4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80128D48 00125CA8 EC 01 01 BA */ fmadds f0, f1, f6, f0 -/* 80128D4C 00125CAC D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80128D50 00125CB0 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 80128D54 00125CB4 EC 05 00 BA */ fmadds f0, f5, f2, f0 -/* 80128D58 00125CB8 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 80128D5C 00125CBC FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 80128D60 00125CC0 40 81 00 44 */ ble lbl_80128DA4 -/* 80128D64 00125CC4 C0 A3 00 48 */ lfs f5, 0x48(r3) -/* 80128D68 00125CC8 C0 03 01 3C */ lfs f0, 0x13c(r3) -/* 80128D6C 00125CCC C0 63 00 38 */ lfs f3, 0x38(r3) -/* 80128D70 00125CD0 EC 00 01 72 */ fmuls f0, f0, f5 -/* 80128D74 00125CD4 C0 23 01 38 */ lfs f1, 0x138(r3) -/* 80128D78 00125CD8 C0 C3 00 58 */ lfs f6, 0x58(r3) -/* 80128D7C 00125CDC C0 43 01 40 */ lfs f2, 0x140(r3) -/* 80128D80 00125CE0 EC 01 00 FA */ fmadds f0, f1, f3, f0 -/* 80128D84 00125CE4 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 80128D88 00125CE8 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 80128D8C 00125CEC EC 02 01 BA */ fmadds f0, f2, f6, f0 -/* 80128D90 00125CF0 D0 C1 00 1C */ stfs f6, 0x1c(r1) -/* 80128D94 00125CF4 FC 00 20 40 */ fcmpo cr0, f0, f4 -/* 80128D98 00125CF8 40 81 00 0C */ ble lbl_80128DA4 -/* 80128D9C 00125CFC C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80128DA0 00125D00 D0 1F 07 48 */ stfs f0, 0x748(r31) -lbl_80128DA4: -/* 80128DA4 00125D04 2C 1B FF FF */ cmpwi r27, -1 -/* 80128DA8 00125D08 41 82 00 14 */ beq lbl_80128DBC -/* 80128DAC 00125D0C 57 63 18 38 */ slwi r3, r27, 3 -/* 80128DB0 00125D10 38 03 00 08 */ addi r0, r3, 8 -/* 80128DB4 00125D14 7F 7D 02 AE */ lhax r27, r29, r0 -/* 80128DB8 00125D18 48 00 00 08 */ b lbl_80128DC0 -lbl_80128DBC: -/* 80128DBC 00125D1C 3B 60 FF FF */ li r27, -1 -lbl_80128DC0: -/* 80128DC0 00125D20 2C 1B FF FF */ cmpwi r27, -1 -/* 80128DC4 00125D24 40 82 FE 34 */ bne lbl_80128BF8 -/* 80128DC8 00125D28 BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 80128DCC 00125D2C 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80128DD0 00125D30 7C 08 03 A6 */ mtlr r0 -/* 80128DD4 00125D34 38 21 00 80 */ addi r1, r1, 0x80 -/* 80128DD8 00125D38 4E 80 00 20 */ blr - -.global Random2f__FR13CStateManagerff -Random2f__FR13CStateManagerff: -/* 80128DDC 00125D3C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80128DE0 00125D40 7C 08 02 A6 */ mflr r0 -/* 80128DE4 00125D44 90 01 00 54 */ stw r0, 0x54(r1) -/* 80128DE8 00125D48 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80128DEC 00125D4C F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80128DF0 00125D50 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80128DF4 00125D54 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80128DF8 00125D58 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 80128DFC 00125D5C F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 80128E00 00125D60 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80128E04 00125D64 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80128E08 00125D68 7C 9F 23 78 */ mr r31, r4 -/* 80128E0C 00125D6C FF A0 08 90 */ fmr f29, f1 -/* 80128E10 00125D70 7C 7E 1B 78 */ mr r30, r3 -/* 80128E14 00125D74 FF C0 10 90 */ fmr f30, f2 -/* 80128E18 00125D78 80 64 09 00 */ lwz r3, 0x900(r4) -/* 80128E1C 00125D7C 48 1E 96 C1 */ bl Float__9CRandom16Fv -/* 80128E20 00125D80 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80128E24 00125D84 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80128E28 00125D88 EF E1 00 28 */ fsubs f31, f1, f0 -/* 80128E2C 00125D8C 48 1E 96 B1 */ bl Float__9CRandom16Fv -/* 80128E30 00125D90 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 80128E34 00125D94 C0 42 97 BC */ lfs f2, lbl_805AB4DC@sda21(r2) -/* 80128E38 00125D98 EC 21 00 28 */ fsubs f1, f1, f0 -/* 80128E3C 00125D9C C0 02 97 F4 */ lfs f0, lbl_805AB514@sda21(r2) -/* 80128E40 00125DA0 D3 E1 00 0C */ stfs f31, 0xc(r1) -/* 80128E44 00125DA4 FC 60 0A 10 */ fabs f3, f1 -/* 80128E48 00125DA8 D0 21 00 08 */ stfs f1, 8(r1) -/* 80128E4C 00125DAC D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80128E50 00125DB0 FC 20 18 18 */ frsp f1, f3 -/* 80128E54 00125DB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80128E58 00125DB8 40 80 00 08 */ bge lbl_80128E60 -/* 80128E5C 00125DBC D0 01 00 08 */ stfs f0, 8(r1) -lbl_80128E60: -/* 80128E60 00125DC0 38 61 00 08 */ addi r3, r1, 8 -/* 80128E64 00125DC4 48 1E BA 95 */ bl Normalize__9CVector3fFv -/* 80128E68 00125DC8 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80128E6C 00125DCC 48 1E 96 71 */ bl Float__9CRandom16Fv -/* 80128E70 00125DD0 EC 9E E8 28 */ fsubs f4, f30, f29 -/* 80128E74 00125DD4 C0 61 00 08 */ lfs f3, 8(r1) -/* 80128E78 00125DD8 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 80128E7C 00125DDC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80128E80 00125DE0 EC 84 E8 7A */ fmadds f4, f4, f1, f29 -/* 80128E84 00125DE4 EC 63 01 32 */ fmuls f3, f3, f4 -/* 80128E88 00125DE8 EC 22 01 32 */ fmuls f1, f2, f4 -/* 80128E8C 00125DEC EC 00 01 32 */ fmuls f0, f0, f4 -/* 80128E90 00125DF0 D0 61 00 08 */ stfs f3, 8(r1) -/* 80128E94 00125DF4 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80128E98 00125DF8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80128E9C 00125DFC D0 7E 00 00 */ stfs f3, 0(r30) -/* 80128EA0 00125E00 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80128EA4 00125E04 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80128EA8 00125E08 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80128EAC 00125E0C D0 1E 00 08 */ stfs f0, 8(r30) -/* 80128EB0 00125E10 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80128EB4 00125E14 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80128EB8 00125E18 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80128EBC 00125E1C CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80128EC0 00125E20 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 80128EC4 00125E24 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 80128EC8 00125E28 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80128ECC 00125E2C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80128ED0 00125E30 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80128ED4 00125E34 7C 08 03 A6 */ mtlr r0 -/* 80128ED8 00125E38 38 21 00 50 */ addi r1, r1, 0x50 -/* 80128EDC 00125E3C 4E 80 00 20 */ blr - -.global UpdateHeldPosition__12CSpacePirateFR13CStateManagerf -UpdateHeldPosition__12CSpacePirateFR13CStateManagerf: -/* 80128EE0 00125E40 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80128EE4 00125E44 7C 08 02 A6 */ mflr r0 -/* 80128EE8 00125E48 90 01 00 54 */ stw r0, 0x54(r1) -/* 80128EEC 00125E4C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80128EF0 00125E50 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80128EF4 00125E54 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80128EF8 00125E58 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80128EFC 00125E5C FF E0 08 90 */ fmr f31, f1 -/* 80128F00 00125E60 7C 7F 1B 78 */ mr r31, r3 -/* 80128F04 00125E64 38 61 00 10 */ addi r3, r1, 0x10 -/* 80128F08 00125E68 C0 44 00 50 */ lfs f2, 0x50(r4) -/* 80128F0C 00125E6C C0 24 00 40 */ lfs f1, 0x40(r4) -/* 80128F10 00125E70 C0 04 00 60 */ lfs f0, 0x60(r4) -/* 80128F14 00125E74 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 80128F18 00125E78 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 80128F1C 00125E7C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80128F20 00125E80 48 1E B2 E1 */ bl __ct__9CVector2fFff -/* 80128F24 00125E84 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 80128F28 00125E88 38 61 00 08 */ addi r3, r1, 8 -/* 80128F2C 00125E8C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80128F30 00125E90 38 81 00 18 */ addi r4, r1, 0x18 -/* 80128F34 00125E94 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80128F38 00125E98 38 BF 08 D0 */ addi r5, r31, 0x8d0 -/* 80128F3C 00125E9C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80128F40 00125EA0 48 1E AF F9 */ bl __mi__FRC9CVector2fRC9CVector2f -/* 80128F44 00125EA4 38 61 00 08 */ addi r3, r1, 8 -/* 80128F48 00125EA8 48 1E B1 95 */ bl MagSquared__9CVector2fCFv -/* 80128F4C 00125EAC C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) -/* 80128F50 00125EB0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80128F54 00125EB4 40 80 00 14 */ bge lbl_80128F68 -/* 80128F58 00125EB8 C0 1F 08 D8 */ lfs f0, 0x8d8(r31) -/* 80128F5C 00125EBC EC 00 F8 2A */ fadds f0, f0, f31 -/* 80128F60 00125EC0 D0 1F 08 D8 */ stfs f0, 0x8d8(r31) -/* 80128F64 00125EC4 48 00 00 1C */ b lbl_80128F80 -lbl_80128F68: -/* 80128F68 00125EC8 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80128F6C 00125ECC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80128F70 00125ED0 D0 3F 08 D0 */ stfs f1, 0x8d0(r31) -/* 80128F74 00125ED4 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 80128F78 00125ED8 D0 3F 08 D4 */ stfs f1, 0x8d4(r31) -/* 80128F7C 00125EDC D0 1F 08 D8 */ stfs f0, 0x8d8(r31) -lbl_80128F80: -/* 80128F80 00125EE0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80128F84 00125EE4 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80128F88 00125EE8 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80128F8C 00125EEC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80128F90 00125EF0 7C 08 03 A6 */ mtlr r0 -/* 80128F94 00125EF4 38 21 00 50 */ addi r1, r1, 0x50 -/* 80128F98 00125EF8 4E 80 00 20 */ blr - -.global UpdateCantSeePlayer__12CSpacePirateFR13CStateManager -UpdateCantSeePlayer__12CSpacePirateFR13CStateManager: -/* 80128F9C 00125EFC 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80128FA0 00125F00 7C 08 02 A6 */ mflr r0 -/* 80128FA4 00125F04 90 01 00 94 */ stw r0, 0x94(r1) -/* 80128FA8 00125F08 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80128FAC 00125F0C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80128FB0 00125F10 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80128FB4 00125F14 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 80128FB8 00125F18 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 80128FBC 00125F1C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 80128FC0 00125F20 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80128FC4 00125F24 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80128FC8 00125F28 7C 7E 1B 78 */ mr r30, r3 -/* 80128FCC 00125F2C 3C 60 92 49 */ lis r3, 0x92492493@ha -/* 80128FD0 00125F30 80 BE 07 B0 */ lwz r5, 0x7b0(r30) -/* 80128FD4 00125F34 38 03 24 93 */ addi r0, r3, 0x92492493@l -/* 80128FD8 00125F38 7C 9F 23 78 */ mr r31, r4 -/* 80128FDC 00125F3C 38 85 00 01 */ addi r4, r5, 1 -/* 80128FE0 00125F40 7C 00 20 96 */ mulhw r0, r0, r4 -/* 80128FE4 00125F44 90 9E 07 B0 */ stw r4, 0x7b0(r30) -/* 80128FE8 00125F48 7C 00 22 14 */ add r0, r0, r4 -/* 80128FEC 00125F4C 7C 00 16 70 */ srawi r0, r0, 2 -/* 80128FF0 00125F50 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80128FF4 00125F54 7C 00 1A 14 */ add r0, r0, r3 -/* 80128FF8 00125F58 1C 00 00 07 */ mulli r0, r0, 7 -/* 80128FFC 00125F5C 7C 00 20 51 */ subf. r0, r0, r4 -/* 80129000 00125F60 40 82 02 60 */ bne lbl_80129260 -/* 80129004 00125F64 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80129008 00125F68 7F E5 FB 78 */ mr r5, r31 -/* 8012900C 00125F6C C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80129010 00125F70 38 61 00 3C */ addi r3, r1, 0x3c -/* 80129014 00125F74 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80129018 00125F78 EC 82 08 2A */ fadds f4, f2, f1 -/* 8012901C 00125F7C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80129020 00125F80 C0 5E 07 A8 */ lfs f2, 0x7a8(r30) -/* 80129024 00125F84 EC 00 08 2A */ fadds f0, f0, f1 -/* 80129028 00125F88 EC 43 10 2A */ fadds f2, f3, f2 -/* 8012902C 00125F8C D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 80129030 00125F90 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80129034 00125F94 D0 41 00 50 */ stfs f2, 0x50(r1) -/* 80129038 00125F98 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 8012903C 00125F9C 81 84 00 00 */ lwz r12, 0(r4) -/* 80129040 00125FA0 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80129044 00125FA4 7D 89 03 A6 */ mtctr r12 -/* 80129048 00125FA8 4E 80 04 21 */ bctrl -/* 8012904C 00125FAC A0 1E 06 40 */ lhz r0, 0x640(r30) -/* 80129050 00125FB0 7F C3 F3 78 */ mr r3, r30 -/* 80129054 00125FB4 C3 E1 00 3C */ lfs f31, 0x3c(r1) -/* 80129058 00125FB8 7F E4 FB 78 */ mr r4, r31 -/* 8012905C 00125FBC B0 01 00 08 */ sth r0, 8(r1) -/* 80129060 00125FC0 38 A1 00 08 */ addi r5, r1, 8 -/* 80129064 00125FC4 C3 C1 00 40 */ lfs f30, 0x40(r1) -/* 80129068 00125FC8 C3 A1 00 44 */ lfs f29, 0x44(r1) -/* 8012906C 00125FCC 4B F5 38 41 */ bl GetCoverPoint__10CPatternedCFR13CStateManager9TUniqueId -/* 80129070 00125FD0 28 03 00 00 */ cmplwi r3, 0 -/* 80129074 00125FD4 41 82 00 A8 */ beq lbl_8012911C -/* 80129078 00125FD8 80 1E 07 9C */ lwz r0, 0x79c(r30) -/* 8012907C 00125FDC 2C 00 00 01 */ cmpwi r0, 1 -/* 80129080 00125FE0 41 82 00 58 */ beq lbl_801290D8 -/* 80129084 00125FE4 40 80 01 34 */ bge lbl_801291B8 -/* 80129088 00125FE8 2C 00 00 00 */ cmpwi r0, 0 -/* 8012908C 00125FEC 40 80 00 08 */ bge lbl_80129094 -/* 80129090 00125FF0 48 00 01 28 */ b lbl_801291B8 -lbl_80129094: -/* 80129094 00125FF4 C0 62 97 DC */ lfs f3, lbl_805AB4FC@sda21(r2) -/* 80129098 00125FF8 C0 3E 00 44 */ lfs f1, 0x44(r30) -/* 8012909C 00125FFC C0 1E 00 54 */ lfs f0, 0x54(r30) -/* 801290A0 00126000 C0 5E 00 34 */ lfs f2, 0x34(r30) -/* 801290A4 00126004 EC A3 00 72 */ fmuls f5, f3, f1 -/* 801290A8 00126008 C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 801290AC 0012600C EC 83 00 32 */ fmuls f4, f3, f0 -/* 801290B0 00126010 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 801290B4 00126014 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 801290B8 00126018 C0 61 00 48 */ lfs f3, 0x48(r1) -/* 801290BC 0012601C EC 21 28 28 */ fsubs f1, f1, f5 -/* 801290C0 00126020 EC 43 10 28 */ fsubs f2, f3, f2 -/* 801290C4 00126024 EC 00 20 28 */ fsubs f0, f0, f4 -/* 801290C8 00126028 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 801290CC 0012602C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 801290D0 00126030 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 801290D4 00126034 48 00 00 E4 */ b lbl_801291B8 -lbl_801290D8: -/* 801290D8 00126038 C0 62 97 DC */ lfs f3, lbl_805AB4FC@sda21(r2) -/* 801290DC 0012603C C0 3E 00 44 */ lfs f1, 0x44(r30) -/* 801290E0 00126040 C0 1E 00 54 */ lfs f0, 0x54(r30) -/* 801290E4 00126044 C0 5E 00 34 */ lfs f2, 0x34(r30) -/* 801290E8 00126048 EC A3 00 72 */ fmuls f5, f3, f1 -/* 801290EC 0012604C C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 801290F0 00126050 EC 83 00 32 */ fmuls f4, f3, f0 -/* 801290F4 00126054 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 801290F8 00126058 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 801290FC 0012605C C0 61 00 48 */ lfs f3, 0x48(r1) -/* 80129100 00126060 EC 21 28 2A */ fadds f1, f1, f5 -/* 80129104 00126064 EC 43 10 2A */ fadds f2, f3, f2 -/* 80129108 00126068 EC 00 20 2A */ fadds f0, f0, f4 -/* 8012910C 0012606C D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80129110 00126070 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80129114 00126074 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80129118 00126078 48 00 00 A0 */ b lbl_801291B8 -lbl_8012911C: -/* 8012911C 0012607C C0 41 00 4C */ lfs f2, 0x4c(r1) -/* 80129120 00126080 38 61 00 30 */ addi r3, r1, 0x30 -/* 80129124 00126084 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80129128 00126088 38 81 00 24 */ addi r4, r1, 0x24 -/* 8012912C 0012608C C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80129130 00126090 EC 5E 10 28 */ fsubs f2, f30, f2 -/* 80129134 00126094 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 80129138 00126098 EC 1F 00 28 */ fsubs f0, f31, f0 -/* 8012913C 0012609C D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80129140 001260A0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80129144 001260A4 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80129148 001260A8 48 1E B7 09 */ bl AsNormalized__9CVector3fCFv -/* 8012914C 001260AC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80129150 001260B0 C1 01 00 34 */ lfs f8, 0x34(r1) -/* 80129154 001260B4 38 63 66 F4 */ addi r3, r3, lbl_805A66F4@l -/* 80129158 001260B8 C1 21 00 38 */ lfs f9, 0x38(r1) -/* 8012915C 001260BC C0 63 00 04 */ lfs f3, 4(r3) -/* 80129160 001260C0 C1 43 00 00 */ lfs f10, 0(r3) -/* 80129164 001260C4 C0 83 00 08 */ lfs f4, 8(r3) -/* 80129168 001260C8 EC 23 02 72 */ fmuls f1, f3, f9 -/* 8012916C 001260CC C0 E1 00 30 */ lfs f7, 0x30(r1) -/* 80129170 001260D0 EC 4A 02 32 */ fmuls f2, f10, f8 -/* 80129174 001260D4 C0 A2 98 5C */ lfs f5, lbl_805AB57C@sda21(r2) -/* 80129178 001260D8 EC 04 01 F2 */ fmuls f0, f4, f7 -/* 8012917C 001260DC C0 C1 00 48 */ lfs f6, 0x48(r1) -/* 80129180 001260E0 EC E7 10 F8 */ fmsubs f7, f7, f3, f2 -/* 80129184 001260E4 C0 61 00 4C */ lfs f3, 0x4c(r1) -/* 80129188 001260E8 EC 88 09 38 */ fmsubs f4, f8, f4, f1 -/* 8012918C 001260EC C0 21 00 50 */ lfs f1, 0x50(r1) -/* 80129190 001260F0 EC 49 02 B8 */ fmsubs f2, f9, f10, f0 -/* 80129194 001260F4 EC 85 01 32 */ fmuls f4, f5, f4 -/* 80129198 001260F8 EC 05 01 F2 */ fmuls f0, f5, f7 -/* 8012919C 001260FC EC 45 00 B2 */ fmuls f2, f5, f2 -/* 801291A0 00126100 EC 86 20 2A */ fadds f4, f6, f4 -/* 801291A4 00126104 EC 01 00 2A */ fadds f0, f1, f0 -/* 801291A8 00126108 EC 23 10 2A */ fadds f1, f3, f2 -/* 801291AC 0012610C D0 81 00 48 */ stfs f4, 0x48(r1) -/* 801291B0 00126110 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 801291B4 00126114 D0 01 00 50 */ stfs f0, 0x50(r1) -lbl_801291B8: -/* 801291B8 00126118 38 00 00 00 */ li r0, 0 -/* 801291BC 0012611C 80 AD 8A B0 */ lwz r5, lbl_805A7670@sda21(r13) -/* 801291C0 00126120 90 01 00 14 */ stw r0, 0x14(r1) -/* 801291C4 00126124 38 60 00 00 */ li r3, 0 -/* 801291C8 00126128 38 80 00 01 */ li r4, 1 -/* 801291CC 0012612C 90 01 00 10 */ stw r0, 0x10(r1) -/* 801291D0 00126130 48 26 0D 25 */ bl __shl2i -/* 801291D4 00126134 80 01 00 10 */ lwz r0, 0x10(r1) -/* 801291D8 00126138 80 C1 00 14 */ lwz r6, 0x14(r1) -/* 801291DC 0012613C 7C 00 1B 78 */ or r0, r0, r3 -/* 801291E0 00126140 80 AD 8A B4 */ lwz r5, lbl_805A7674@sda21(r13) -/* 801291E4 00126144 7C C4 23 78 */ or r4, r6, r4 -/* 801291E8 00126148 90 01 00 10 */ stw r0, 0x10(r1) -/* 801291EC 0012614C 38 60 00 00 */ li r3, 0 -/* 801291F0 00126150 90 81 00 14 */ stw r4, 0x14(r1) -/* 801291F4 00126154 38 80 00 01 */ li r4, 1 -/* 801291F8 00126158 48 26 0C FD */ bl __shl2i -/* 801291FC 0012615C 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80129200 00126160 7F E5 FB 78 */ mr r5, r31 -/* 80129204 00126164 80 C1 00 14 */ lwz r6, 0x14(r1) -/* 80129208 00126168 7C 00 1B 78 */ or r0, r0, r3 -/* 8012920C 0012616C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80129210 00126170 7C C4 23 78 */ or r4, r6, r4 -/* 80129214 00126174 90 01 00 10 */ stw r0, 0x10(r1) -/* 80129218 00126178 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 8012921C 0012617C 90 81 00 14 */ stw r4, 0x14(r1) -/* 80129220 00126180 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80129224 00126184 81 84 00 00 */ lwz r12, 0(r4) -/* 80129228 00126188 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8012922C 0012618C 7D 89 03 A6 */ mtctr r12 -/* 80129230 00126190 4E 80 04 21 */ bctrl -/* 80129234 00126194 7F C3 F3 78 */ mr r3, r30 -/* 80129238 00126198 7F E4 FB 78 */ mr r4, r31 -/* 8012923C 0012619C 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80129240 001261A0 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80129244 001261A4 38 E1 00 10 */ addi r7, r1, 0x10 -/* 80129248 001261A8 48 00 00 49 */ bl LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList -/* 8012924C 001261AC 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 80129250 001261B0 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80129254 001261B4 7C 63 00 34 */ cntlzw r3, r3 -/* 80129258 001261B8 50 60 F7 38 */ rlwimi r0, r3, 0x1e, 0x1c, 0x1c -/* 8012925C 001261BC 98 1E 06 37 */ stb r0, 0x637(r30) -lbl_80129260: -/* 80129260 001261C0 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80129264 001261C4 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80129268 001261C8 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8012926C 001261CC CB C1 00 70 */ lfd f30, 0x70(r1) -/* 80129270 001261D0 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 80129274 001261D4 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 80129278 001261D8 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8012927C 001261DC 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80129280 001261E0 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80129284 001261E4 7C 08 03 A6 */ mtlr r0 -/* 80129288 001261E8 38 21 00 90 */ addi r1, r1, 0x90 -/* 8012928C 001261EC 4E 80 00 20 */ blr - -.global LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList -LineOfSightTest__12CSpacePirateFR13CStateManagerRC9CVector3fRC9CVector3fRC13CMaterialList: -/* 80129290 001261F0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80129294 001261F4 7C 08 02 A6 */ mflr r0 -/* 80129298 001261F8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8012929C 001261FC BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 801292A0 00126200 7C 7B 1B 78 */ mr r27, r3 -/* 801292A4 00126204 7C 9C 23 78 */ mr r28, r4 -/* 801292A8 00126208 7C BD 2B 78 */ mr r29, r5 -/* 801292AC 0012620C 7C DE 33 78 */ mr r30, r6 -/* 801292B0 00126210 7C FF 3B 78 */ mr r31, r7 -/* 801292B4 00126214 38 60 00 00 */ li r3, 0 -/* 801292B8 00126218 38 80 00 01 */ li r4, 1 -/* 801292BC 0012621C 80 0D 8A AC */ lwz r0, lbl_805A766C@sda21(r13) -/* 801292C0 00126220 7C 05 03 78 */ mr r5, r0 -/* 801292C4 00126224 48 26 0C 31 */ bl __shl2i -/* 801292C8 00126228 81 1F 00 00 */ lwz r8, 0(r31) -/* 801292CC 0012622C 38 00 00 03 */ li r0, 3 -/* 801292D0 00126230 81 3F 00 04 */ lwz r9, 4(r31) -/* 801292D4 00126234 7F C5 F3 78 */ mr r5, r30 -/* 801292D8 00126238 90 81 00 24 */ stw r4, 0x24(r1) -/* 801292DC 0012623C 7F A4 EB 78 */ mr r4, r29 -/* 801292E0 00126240 7F 67 DB 78 */ mr r7, r27 -/* 801292E4 00126244 38 C1 00 20 */ addi r6, r1, 0x20 -/* 801292E8 00126248 90 61 00 20 */ stw r3, 0x20(r1) -/* 801292EC 0012624C 7F 83 E3 78 */ mr r3, r28 -/* 801292F0 00126250 90 01 00 18 */ stw r0, 0x18(r1) -/* 801292F4 00126254 91 21 00 2C */ stw r9, 0x2c(r1) -/* 801292F8 00126258 91 01 00 28 */ stw r8, 0x28(r1) -/* 801292FC 0012625C 90 01 00 30 */ stw r0, 0x30(r1) -/* 80129300 00126260 4B F2 3B 3D */ bl RayCollideWorld__13CStateManagerFRC9CVector3fRC9CVector3fRC15CMaterialFilterPC6CActor -/* 80129304 00126264 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 80129308 00126268 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8012930C 0012626C 7C 08 03 A6 */ mtlr r0 -/* 80129310 00126270 38 21 00 50 */ addi r1, r1, 0x50 -/* 80129314 00126274 4E 80 00 20 */ blr - -.global CheckForProjectiles__12CSpacePirateFR13CStateManager -CheckForProjectiles__12CSpacePirateFR13CStateManager: -/* 80129318 00126278 94 21 F7 00 */ stwu r1, -0x900(r1) -/* 8012931C 0012627C 7C 08 02 A6 */ mflr r0 -/* 80129320 00126280 90 01 09 04 */ stw r0, 0x904(r1) -/* 80129324 00126284 DB E1 08 F0 */ stfd f31, 0x8f0(r1) -/* 80129328 00126288 F3 E1 08 F8 */ psq_st f31, -1800(r1), 0, qr0 -/* 8012932C 0012628C DB C1 08 E0 */ stfd f30, 0x8e0(r1) -/* 80129330 00126290 F3 C1 08 E8 */ psq_st f30, -1816(r1), 0, qr0 -/* 80129334 00126294 DB A1 08 D0 */ stfd f29, 0x8d0(r1) -/* 80129338 00126298 F3 A1 08 D8 */ psq_st f29, -1832(r1), 0, qr0 -/* 8012933C 0012629C BF 61 08 BC */ stmw r27, 0x8bc(r1) -/* 80129340 001262A0 88 03 06 37 */ lbz r0, 0x637(r3) -/* 80129344 001262A4 7C 7E 1B 78 */ mr r30, r3 -/* 80129348 001262A8 7C 9F 23 78 */ mr r31, r4 -/* 8012934C 001262AC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80129350 001262B0 41 82 02 BC */ beq lbl_8012960C -/* 80129354 001262B4 80 9F 08 4C */ lwz r4, 0x84c(r31) -/* 80129358 001262B8 7F E5 FB 78 */ mr r5, r31 -/* 8012935C 001262BC 38 61 00 44 */ addi r3, r1, 0x44 -/* 80129360 001262C0 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 80129364 001262C4 81 84 00 00 */ lwz r12, 0(r4) -/* 80129368 001262C8 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8012936C 001262CC 7D 89 03 A6 */ mtctr r12 -/* 80129370 001262D0 4E 80 04 21 */ bctrl -/* 80129374 001262D4 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80129378 001262D8 38 61 00 98 */ addi r3, r1, 0x98 -/* 8012937C 001262DC C0 82 98 1C */ lfs f4, lbl_805AB53C@sda21(r2) -/* 80129380 001262E0 38 81 00 38 */ addi r4, r1, 0x38 -/* 80129384 001262E4 C0 C1 00 4C */ lfs f6, 0x4c(r1) -/* 80129388 001262E8 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8012938C 001262EC C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80129390 001262F0 EC 01 20 2A */ fadds f0, f1, f4 -/* 80129394 001262F4 EC 66 20 2A */ fadds f3, f6, f4 -/* 80129398 001262F8 EC A2 20 2A */ fadds f5, f2, f4 -/* 8012939C 001262FC EC 42 20 28 */ fsubs f2, f2, f4 -/* 801293A0 00126300 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 801293A4 00126304 EC 21 20 28 */ fsubs f1, f1, f4 -/* 801293A8 00126308 EC 06 20 28 */ fsubs f0, f6, f4 -/* 801293AC 0012630C D0 A1 00 2C */ stfs f5, 0x2c(r1) -/* 801293B0 00126310 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 801293B4 00126314 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 801293B8 00126318 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 801293BC 0012631C D0 01 00 40 */ stfs f0, 0x40(r1) -/* 801293C0 00126320 48 20 F1 49 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 801293C4 00126324 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 801293C8 00126328 38 C0 00 00 */ li r6, 0 -/* 801293CC 0012632C 50 C0 26 F6 */ rlwimi r0, r6, 4, 0x1b, 0x1b -/* 801293D0 00126330 38 60 00 00 */ li r3, 0 -/* 801293D4 00126334 98 1E 06 37 */ stb r0, 0x637(r30) -/* 801293D8 00126338 38 80 00 01 */ li r4, 1 -/* 801293DC 0012633C 80 AD 8A A8 */ lwz r5, lbl_805A7668@sda21(r13) -/* 801293E0 00126340 90 C1 00 B0 */ stw r6, 0xb0(r1) -/* 801293E4 00126344 48 26 0B 11 */ bl __shl2i -/* 801293E8 00126348 39 00 00 00 */ li r8, 0 -/* 801293EC 0012634C 38 00 00 01 */ li r0, 1 -/* 801293F0 00126350 90 81 00 84 */ stw r4, 0x84(r1) -/* 801293F4 00126354 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 801293F8 00126358 38 A1 00 98 */ addi r5, r1, 0x98 -/* 801293FC 0012635C 38 C1 00 80 */ addi r6, r1, 0x80 -/* 80129400 00126360 90 61 00 80 */ stw r3, 0x80(r1) -/* 80129404 00126364 7F E3 FB 78 */ mr r3, r31 -/* 80129408 00126368 38 E0 00 00 */ li r7, 0 -/* 8012940C 0012636C 91 01 00 8C */ stw r8, 0x8c(r1) -/* 80129410 00126370 91 01 00 88 */ stw r8, 0x88(r1) -/* 80129414 00126374 90 01 00 90 */ stw r0, 0x90(r1) -/* 80129418 00126378 4B F2 33 09 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 8012941C 0012637C 3B A1 00 B4 */ addi r29, r1, 0xb4 -/* 80129420 00126380 3B 80 00 00 */ li r28, 0 -/* 80129424 00126384 48 00 01 7C */ b lbl_801295A0 -lbl_80129428: -/* 80129428 00126388 A0 1D 00 00 */ lhz r0, 0(r29) -/* 8012942C 0012638C 7F E3 FB 78 */ mr r3, r31 -/* 80129430 00126390 38 81 00 08 */ addi r4, r1, 8 -/* 80129434 00126394 B0 01 00 08 */ sth r0, 8(r1) -/* 80129438 00126398 4B F2 31 6D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8012943C 0012639C 7C 64 1B 78 */ mr r4, r3 -/* 80129440 001263A0 38 61 00 0C */ addi r3, r1, 0xc -/* 80129444 001263A4 4B F8 42 C9 */ bl "__ct__29TCastToPtr<15CGameProjectile>FP7CEntity" -/* 80129448 001263A8 83 63 00 04 */ lwz r27, 4(r3) -/* 8012944C 001263AC 28 1B 00 00 */ cmplwi r27, 0 -/* 80129450 001263B0 41 82 01 48 */ beq lbl_80129598 -/* 80129454 001263B4 C3 BB 00 60 */ lfs f29, 0x60(r27) -/* 80129458 001263B8 7F C4 F3 78 */ mr r4, r30 -/* 8012945C 001263BC C3 DB 00 50 */ lfs f30, 0x50(r27) -/* 80129460 001263C0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80129464 001263C4 C3 FB 00 40 */ lfs f31, 0x40(r27) -/* 80129468 001263C8 4B FF 14 C5 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8012946C 001263CC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80129470 001263D0 38 81 00 68 */ addi r4, r1, 0x68 -/* 80129474 001263D4 48 20 E1 99 */ bl GetCenterPoint__6CAABoxCFv -/* 80129478 001263D8 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 8012947C 001263DC 38 61 00 5C */ addi r3, r1, 0x5c -/* 80129480 001263E0 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80129484 001263E4 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80129488 001263E8 EC 42 F0 28 */ fsubs f2, f2, f30 -/* 8012948C 001263EC EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80129490 001263F0 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80129494 001263F4 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80129498 001263F8 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8012949C 001263FC D0 21 00 64 */ stfs f1, 0x64(r1) -/* 801294A0 00126400 48 1E B2 ED */ bl IsMagnitudeSafe__9CVector3fCFv -/* 801294A4 00126404 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801294A8 00126408 41 82 00 D4 */ beq lbl_8012957C -/* 801294AC 0012640C C0 9E 00 48 */ lfs f4, 0x48(r30) -/* 801294B0 00126410 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 801294B4 00126414 C0 7E 00 38 */ lfs f3, 0x38(r30) -/* 801294B8 00126418 EC 04 00 32 */ fmuls f0, f4, f0 -/* 801294BC 0012641C C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 801294C0 00126420 C0 BE 00 58 */ lfs f5, 0x58(r30) -/* 801294C4 00126424 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 801294C8 00126428 EC 23 00 7A */ fmadds f1, f3, f1, f0 -/* 801294CC 0012642C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 801294D0 00126430 D0 61 00 14 */ stfs f3, 0x14(r1) -/* 801294D4 00126434 EC 25 08 BA */ fmadds f1, f5, f2, f1 -/* 801294D8 00126438 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 801294DC 0012643C D0 A1 00 1C */ stfs f5, 0x1c(r1) -/* 801294E0 00126440 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801294E4 00126444 40 80 00 A8 */ bge lbl_8012958C -/* 801294E8 00126448 38 61 00 5C */ addi r3, r1, 0x5c -/* 801294EC 0012644C 48 1E B4 0D */ bl Normalize__9CVector3fFv -/* 801294F0 00126450 C0 3B 00 50 */ lfs f1, 0x50(r27) -/* 801294F4 00126454 38 61 00 50 */ addi r3, r1, 0x50 -/* 801294F8 00126458 C0 1B 02 9C */ lfs f0, 0x29c(r27) -/* 801294FC 0012645C C0 7B 00 60 */ lfs f3, 0x60(r27) -/* 80129500 00126460 C0 5B 02 A0 */ lfs f2, 0x2a0(r27) -/* 80129504 00126464 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80129508 00126468 C0 3B 00 40 */ lfs f1, 0x40(r27) -/* 8012950C 0012646C C0 1B 02 98 */ lfs f0, 0x298(r27) -/* 80129510 00126470 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80129514 00126474 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80129518 00126478 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 8012951C 0012647C D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80129520 00126480 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80129524 00126484 48 1E B2 69 */ bl IsMagnitudeSafe__9CVector3fCFv -/* 80129528 00126488 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012952C 0012648C 41 82 00 60 */ beq lbl_8012958C -/* 80129530 00126490 38 61 00 50 */ addi r3, r1, 0x50 -/* 80129534 00126494 48 1E B3 C5 */ bl Normalize__9CVector3fFv -/* 80129538 00126498 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 8012953C 0012649C C0 01 00 60 */ lfs f0, 0x60(r1) -/* 80129540 001264A0 C0 41 00 50 */ lfs f2, 0x50(r1) -/* 80129544 001264A4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80129548 001264A8 C0 21 00 5C */ lfs f1, 0x5c(r1) -/* 8012954C 001264AC C0 81 00 58 */ lfs f4, 0x58(r1) -/* 80129550 001264B0 C0 61 00 64 */ lfs f3, 0x64(r1) -/* 80129554 001264B4 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80129558 001264B8 C0 02 98 60 */ lfs f0, lbl_805AB580@sda21(r2) -/* 8012955C 001264BC EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80129560 001264C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80129564 001264C4 40 81 00 28 */ ble lbl_8012958C -/* 80129568 001264C8 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 8012956C 001264CC 38 60 00 01 */ li r3, 1 -/* 80129570 001264D0 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80129574 001264D4 98 1E 06 37 */ stb r0, 0x637(r30) -/* 80129578 001264D8 48 00 00 14 */ b lbl_8012958C -lbl_8012957C: -/* 8012957C 001264DC 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80129580 001264E0 38 60 00 01 */ li r3, 1 -/* 80129584 001264E4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80129588 001264E8 98 1E 06 37 */ stb r0, 0x637(r30) -lbl_8012958C: -/* 8012958C 001264EC 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 80129590 001264F0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80129594 001264F4 40 82 00 18 */ bne lbl_801295AC -lbl_80129598: -/* 80129598 001264F8 3B BD 00 02 */ addi r29, r29, 2 -/* 8012959C 001264FC 3B 9C 00 01 */ addi r28, r28, 1 -lbl_801295A0: -/* 801295A0 00126500 80 01 00 B0 */ lwz r0, 0xb0(r1) -/* 801295A4 00126504 7C 1C 00 00 */ cmpw r28, r0 -/* 801295A8 00126508 41 80 FE 80 */ blt lbl_80129428 -lbl_801295AC: -/* 801295AC 0012650C 38 60 00 00 */ li r3, 0 -/* 801295B0 00126510 88 1E 06 37 */ lbz r0, 0x637(r30) -/* 801295B4 00126514 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 801295B8 00126518 98 1E 06 37 */ stb r0, 0x637(r30) -/* 801295BC 0012651C 80 A1 00 B0 */ lwz r5, 0xb0(r1) -/* 801295C0 00126520 2C 05 00 00 */ cmpwi r5, 0 -/* 801295C4 00126524 40 81 00 40 */ ble lbl_80129604 -/* 801295C8 00126528 2C 05 00 08 */ cmpwi r5, 8 -/* 801295CC 0012652C 38 85 FF F8 */ addi r4, r5, -8 -/* 801295D0 00126530 40 81 00 20 */ ble lbl_801295F0 -/* 801295D4 00126534 38 04 00 07 */ addi r0, r4, 7 -/* 801295D8 00126538 54 00 E8 FE */ srwi r0, r0, 3 -/* 801295DC 0012653C 7C 09 03 A6 */ mtctr r0 -/* 801295E0 00126540 2C 04 00 00 */ cmpwi r4, 0 -/* 801295E4 00126544 40 81 00 0C */ ble lbl_801295F0 -lbl_801295E8: -/* 801295E8 00126548 38 63 00 08 */ addi r3, r3, 8 -/* 801295EC 0012654C 42 00 FF FC */ bdnz lbl_801295E8 -lbl_801295F0: -/* 801295F0 00126550 7C 03 28 50 */ subf r0, r3, r5 -/* 801295F4 00126554 7C 09 03 A6 */ mtctr r0 -/* 801295F8 00126558 7C 03 28 00 */ cmpw r3, r5 -/* 801295FC 0012655C 40 80 00 08 */ bge lbl_80129604 -lbl_80129600: -/* 80129600 00126560 42 00 00 00 */ bdnz lbl_80129600 -lbl_80129604: -/* 80129604 00126564 38 00 00 00 */ li r0, 0 -/* 80129608 00126568 90 01 00 B0 */ stw r0, 0xb0(r1) -lbl_8012960C: -/* 8012960C 0012656C E3 E1 08 F8 */ psq_l f31, -1800(r1), 0, qr0 -/* 80129610 00126570 CB E1 08 F0 */ lfd f31, 0x8f0(r1) -/* 80129614 00126574 E3 C1 08 E8 */ psq_l f30, -1816(r1), 0, qr0 -/* 80129618 00126578 CB C1 08 E0 */ lfd f30, 0x8e0(r1) -/* 8012961C 0012657C E3 A1 08 D8 */ psq_l f29, -1832(r1), 0, qr0 -/* 80129620 00126580 CB A1 08 D0 */ lfd f29, 0x8d0(r1) -/* 80129624 00126584 BB 61 08 BC */ lmw r27, 0x8bc(r1) -/* 80129628 00126588 80 01 09 04 */ lwz r0, 0x904(r1) -/* 8012962C 0012658C 7C 08 03 A6 */ mtlr r0 -/* 80129630 00126590 38 21 09 00 */ addi r1, r1, 0x900 -/* 80129634 00126594 4E 80 00 20 */ blr - -.global SquadReset__12CSpacePirateFR13CStateManager -SquadReset__12CSpacePirateFR13CStateManager: -/* 80129638 00126598 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8012963C 0012659C 7C 08 02 A6 */ mflr r0 -/* 80129640 001265A0 38 E0 00 01 */ li r7, 1 -/* 80129644 001265A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80129648 001265A8 38 C1 00 0C */ addi r6, r1, 0xc -/* 8012964C 001265AC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80129650 001265B0 A1 03 00 08 */ lhz r8, 8(r3) -/* 80129654 001265B4 B1 01 00 0C */ sth r8, 0xc(r1) -/* 80129658 001265B8 A0 03 08 C8 */ lhz r0, 0x8c8(r3) -/* 8012965C 001265BC B1 01 00 08 */ sth r8, 8(r1) -/* 80129660 001265C0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80129664 001265C4 88 03 06 34 */ lbz r0, 0x634(r3) -/* 80129668 001265C8 54 00 E7 FE */ rlwinm r0, r0, 0x1c, 0x1f, 0x1f -/* 8012966C 001265CC 7C 00 00 34 */ cntlzw r0, r0 -/* 80129670 001265D0 54 03 D9 7E */ srwi r3, r0, 5 -/* 80129674 001265D4 48 11 08 5D */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb -/* 80129678 001265D8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8012967C 001265DC 7C 08 03 A6 */ mtlr r0 -/* 80129680 001265E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80129684 001265E4 4E 80 00 20 */ blr - -.global SquadRemove__12CSpacePirateFR13CStateManager -SquadRemove__12CSpacePirateFR13CStateManager: -/* 80129688 001265E8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8012968C 001265EC 7C 08 02 A6 */ mflr r0 -/* 80129690 001265F0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80129694 001265F4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80129698 001265F8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8012969C 001265FC 7C 7E 1B 78 */ mr r30, r3 -/* 801296A0 00126600 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801296A4 00126604 A0 63 08 C8 */ lhz r3, 0x8c8(r3) -/* 801296A8 00126608 7C 03 00 40 */ cmplw r3, r0 -/* 801296AC 0012660C 41 82 00 70 */ beq lbl_8012971C -/* 801296B0 00126610 A0 1E 08 C8 */ lhz r0, 0x8c8(r30) -/* 801296B4 00126614 7C 83 23 78 */ mr r3, r4 -/* 801296B8 00126618 38 81 00 18 */ addi r4, r1, 0x18 -/* 801296BC 0012661C B0 01 00 18 */ sth r0, 0x18(r1) -/* 801296C0 00126620 4B F2 2E B5 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 801296C4 00126624 7C 64 1B 78 */ mr r4, r3 -/* 801296C8 00126628 38 61 00 1C */ addi r3, r1, 0x1c -/* 801296CC 0012662C 4B F7 DE A9 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 801296D0 00126630 83 E3 00 04 */ lwz r31, 4(r3) -/* 801296D4 00126634 28 1F 00 00 */ cmplwi r31, 0 -/* 801296D8 00126638 41 82 00 44 */ beq lbl_8012971C -/* 801296DC 0012663C A0 1E 00 08 */ lhz r0, 8(r30) -/* 801296E0 00126640 7F E3 FB 78 */ mr r3, r31 -/* 801296E4 00126644 38 81 00 14 */ addi r4, r1, 0x14 -/* 801296E8 00126648 B0 01 00 10 */ sth r0, 0x10(r1) -/* 801296EC 0012664C B0 01 00 14 */ sth r0, 0x14(r1) -/* 801296F0 00126650 48 10 F9 01 */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId -/* 801296F4 00126654 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801296F8 00126658 41 82 00 24 */ beq lbl_8012971C -/* 801296FC 0012665C A0 1E 00 08 */ lhz r0, 8(r30) -/* 80129700 00126660 7F E3 FB 78 */ mr r3, r31 -/* 80129704 00126664 38 81 00 0C */ addi r4, r1, 0xc -/* 80129708 00126668 B0 01 00 08 */ sth r0, 8(r1) -/* 8012970C 0012666C B0 01 00 0C */ sth r0, 0xc(r1) -/* 80129710 00126670 48 10 FD E5 */ bl RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId -/* 80129714 00126674 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80129718 00126678 B0 1E 08 C8 */ sth r0, 0x8c8(r30) -lbl_8012971C: -/* 8012971C 0012667C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80129720 00126680 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80129724 00126684 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80129728 00126688 7C 08 03 A6 */ mtlr r0 -/* 8012972C 0012668C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80129730 00126690 4E 80 00 20 */ blr - -.global SquadAdd__12CSpacePirateFR13CStateManager -SquadAdd__12CSpacePirateFR13CStateManager: -/* 80129734 00126694 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80129738 00126698 7C 08 02 A6 */ mflr r0 -/* 8012973C 0012669C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80129740 001266A0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80129744 001266A4 7C 9F 23 78 */ mr r31, r4 -/* 80129748 001266A8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8012974C 001266AC 7C 7E 1B 78 */ mr r30, r3 -/* 80129750 001266B0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80129754 001266B4 A0 63 08 C8 */ lhz r3, 0x8c8(r3) -/* 80129758 001266B8 7C 03 00 40 */ cmplw r3, r0 -/* 8012975C 001266BC 40 82 00 1C */ bne lbl_80129778 -/* 80129760 001266C0 7F C4 F3 78 */ mr r4, r30 -/* 80129764 001266C4 7F E5 FB 78 */ mr r5, r31 -/* 80129768 001266C8 38 61 00 0C */ addi r3, r1, 0xc -/* 8012976C 001266CC 48 11 0A 7D */ bl GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager -/* 80129770 001266D0 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80129774 001266D4 B0 1E 08 C8 */ sth r0, 0x8c8(r30) -lbl_80129778: -/* 80129778 001266D8 A0 7E 08 C8 */ lhz r3, 0x8c8(r30) -/* 8012977C 001266DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80129780 001266E0 7C 03 00 40 */ cmplw r3, r0 -/* 80129784 001266E4 41 82 00 54 */ beq lbl_801297D8 -/* 80129788 001266E8 A0 1E 08 C8 */ lhz r0, 0x8c8(r30) -/* 8012978C 001266EC 7F E3 FB 78 */ mr r3, r31 -/* 80129790 001266F0 38 81 00 08 */ addi r4, r1, 8 -/* 80129794 001266F4 B0 01 00 08 */ sth r0, 8(r1) -/* 80129798 001266F8 4B F2 2D DD */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8012979C 001266FC 7C 64 1B 78 */ mr r4, r3 -/* 801297A0 00126700 38 61 00 10 */ addi r3, r1, 0x10 -/* 801297A4 00126704 4B F7 DD D1 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 801297A8 00126708 80 63 00 04 */ lwz r3, 4(r3) -/* 801297AC 0012670C 28 03 00 00 */ cmplwi r3, 0 -/* 801297B0 00126710 41 82 00 28 */ beq lbl_801297D8 -/* 801297B4 00126714 88 1E 06 34 */ lbz r0, 0x634(r30) -/* 801297B8 00126718 7F C4 F3 78 */ mr r4, r30 -/* 801297BC 0012671C 38 A0 00 02 */ li r5, 2 -/* 801297C0 00126720 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 801297C4 00126724 41 82 00 08 */ beq lbl_801297CC -/* 801297C8 00126728 38 A0 00 01 */ li r5, 1 -lbl_801297CC: -/* 801297CC 0012672C 38 C0 00 03 */ li r6, 3 -/* 801297D0 00126730 38 E0 FF FF */ li r7, -1 -/* 801297D4 00126734 48 10 FF D9 */ bl AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii -lbl_801297D8: -/* 801297D8 00126738 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801297DC 0012673C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801297E0 00126740 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801297E4 00126744 7C 08 03 A6 */ mtlr r0 -/* 801297E8 00126748 38 21 00 20 */ addi r1, r1, 0x20 -/* 801297EC 0012674C 4E 80 00 20 */ blr - -.global GetOrigin__12CSpacePirateCFv -GetOrigin__12CSpacePirateCFv: -/* 801297F0 00126750 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 801297F4 00126754 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 801297F8 00126758 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 801297FC 0012675C D0 03 00 00 */ stfs f0, 0(r3) -/* 80129800 00126760 D0 23 00 04 */ stfs f1, 4(r3) -/* 80129804 00126764 D0 43 00 08 */ stfs f2, 8(r3) -/* 80129808 00126768 4E 80 00 20 */ blr - -.global DetachActorFromPirate__12CSpacePirateFv -DetachActorFromPirate__12CSpacePirateFv: -/* 8012980C 0012676C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80129810 00126770 B0 03 07 B4 */ sth r0, 0x7b4(r3) -/* 80129814 00126774 4E 80 00 20 */ blr - -.global AttachActorToPirate__12CSpacePirateF9TUniqueId -AttachActorToPirate__12CSpacePirateF9TUniqueId: -/* 80129818 00126778 A0 A3 07 B4 */ lhz r5, 0x7b4(r3) -/* 8012981C 0012677C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80129820 00126780 7C 05 00 40 */ cmplw r5, r0 -/* 80129824 00126784 40 82 00 14 */ bne lbl_80129838 -/* 80129828 00126788 A0 04 00 00 */ lhz r0, 0(r4) -/* 8012982C 0012678C B0 03 07 B4 */ sth r0, 0x7b4(r3) -/* 80129830 00126790 38 60 00 01 */ li r3, 1 -/* 80129834 00126794 4E 80 00 20 */ blr -lbl_80129838: -/* 80129838 00126798 38 60 00 00 */ li r3, 0 -/* 8012983C 0012679C 4E 80 00 20 */ blr - -.global SetAttackTarget__12CSpacePirateF9TUniqueId -SetAttackTarget__12CSpacePirateF9TUniqueId: -/* 80129840 001267A0 A0 84 00 00 */ lhz r4, 0(r4) -/* 80129844 001267A4 38 00 00 01 */ li r0, 1 -/* 80129848 001267A8 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012984C 001267AC B0 83 07 C0 */ sth r4, 0x7c0(r3) -/* 80129850 001267B0 90 03 07 C4 */ stw r0, 0x7c4(r3) -/* 80129854 001267B4 D0 03 07 BC */ stfs f0, 0x7bc(r3) -/* 80129858 001267B8 4E 80 00 20 */ blr - -.global SetVelocityForJump__12CSpacePirateFv -SetVelocityForJump__12CSpacePirateFv: -/* 8012985C 001267BC 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80129860 001267C0 7C 08 02 A6 */ mflr r0 -/* 80129864 001267C4 90 01 00 84 */ stw r0, 0x84(r1) -/* 80129868 001267C8 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8012986C 001267CC F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80129870 001267D0 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80129874 001267D4 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80129878 001267D8 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 8012987C 001267DC F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80129880 001267E0 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 80129884 001267E4 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 80129888 001267E8 DB 61 00 30 */ stfd f27, 0x30(r1) -/* 8012988C 001267EC F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 -/* 80129890 001267F0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80129894 001267F4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80129898 001267F8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8012989C 001267FC 88 03 06 37 */ lbz r0, 0x637(r3) -/* 801298A0 00126800 7C 7D 1B 78 */ mr r29, r3 -/* 801298A4 00126804 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 801298A8 00126808 40 82 00 F0 */ bne lbl_80129998 -/* 801298AC 0012680C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 801298B0 00126810 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) -/* 801298B4 00126814 3B E1 00 10 */ addi r31, r1, 0x10 -/* 801298B8 00126818 C0 24 00 04 */ lfs f1, 4(r4) -/* 801298BC 0012681C C0 04 00 08 */ lfs f0, 8(r4) -/* 801298C0 00126820 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 801298C4 00126824 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 801298C8 00126828 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 801298CC 0012682C C0 1D 00 60 */ lfs f0, 0x60(r29) -/* 801298D0 00126830 C0 7D 00 50 */ lfs f3, 0x50(r29) -/* 801298D4 00126834 C0 5D 00 40 */ lfs f2, 0x40(r29) -/* 801298D8 00126838 D0 41 00 08 */ stfs f2, 8(r1) -/* 801298DC 0012683C D0 61 00 0C */ stfs f3, 0xc(r1) -/* 801298E0 00126840 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 801298E4 00126844 81 83 00 00 */ lwz r12, 0(r3) -/* 801298E8 00126848 C0 3D 08 28 */ lfs f1, 0x828(r29) -/* 801298EC 0012684C C0 1D 08 2C */ lfs f0, 0x82c(r29) -/* 801298F0 00126850 81 8C 02 BC */ lwz r12, 0x2bc(r12) -/* 801298F4 00126854 EF A1 10 28 */ fsubs f29, f1, f2 -/* 801298F8 00126858 EF C0 18 28 */ fsubs f30, f0, f3 -/* 801298FC 0012685C 7D 89 03 A6 */ mtctr r12 -/* 80129900 00126860 4E 80 04 21 */ bctrl -/* 80129904 00126864 FF E0 08 90 */ fmr f31, f1 -/* 80129908 00126868 3B DD 08 30 */ addi r30, r29, 0x830 -/* 8012990C 0012686C 7F C3 F3 78 */ mr r3, r30 -/* 80129910 00126870 7F E4 FB 78 */ mr r4, r31 -/* 80129914 00126874 4B F2 5E 1D */ bl "Max__5CMathFRCfRCf" -/* 80129918 00126878 C0 43 00 00 */ lfs f2, 0(r3) -/* 8012991C 0012687C C0 1D 08 24 */ lfs f0, 0x824(r29) -/* 80129920 00126880 C0 22 97 DC */ lfs f1, lbl_805AB4FC@sda21(r2) -/* 80129924 00126884 EF 80 10 2A */ fadds f28, f0, f2 -/* 80129928 00126888 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8012992C 0012688C EC 21 07 F2 */ fmuls f1, f1, f31 -/* 80129930 00126890 EC 1C 00 28 */ fsubs f0, f28, f0 -/* 80129934 00126894 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80129938 00126898 48 1E BB C9 */ bl SqrtF__5CMathFf -/* 8012993C 0012689C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80129940 001268A0 FC 40 08 18 */ frsp f2, f1 -/* 80129944 001268A4 C0 22 97 DC */ lfs f1, lbl_805AB4FC@sda21(r2) -/* 80129948 001268A8 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8012994C 001268AC EF 62 F8 24 */ fdivs f27, f2, f31 -/* 80129950 001268B0 EC 1C 00 28 */ fsubs f0, f28, f0 -/* 80129954 001268B4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80129958 001268B8 EC 20 F8 24 */ fdivs f1, f0, f31 -/* 8012995C 001268BC 48 1E BB A5 */ bl SqrtF__5CMathFf -/* 80129960 001268C0 EF 7B 08 2A */ fadds f27, f27, f1 -/* 80129964 001268C4 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 80129968 001268C8 7F A3 EB 78 */ mr r3, r29 -/* 8012996C 001268CC 38 81 00 14 */ addi r4, r1, 0x14 -/* 80129970 001268D0 EC 00 D8 24 */ fdivs f0, f0, f27 -/* 80129974 001268D4 EC 20 07 72 */ fmuls f1, f0, f29 -/* 80129978 001268D8 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 8012997C 001268DC D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80129980 001268E0 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80129984 001268E4 4B FF 13 1D */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 80129988 001268E8 88 1D 06 37 */ lbz r0, 0x637(r29) -/* 8012998C 001268EC 38 60 00 01 */ li r3, 1 -/* 80129990 001268F0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 80129994 001268F4 98 1D 06 37 */ stb r0, 0x637(r29) -lbl_80129998: -/* 80129998 001268F8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8012999C 001268FC CB E1 00 70 */ lfd f31, 0x70(r1) -/* 801299A0 00126900 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 801299A4 00126904 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 801299A8 00126908 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 801299AC 0012690C CB A1 00 50 */ lfd f29, 0x50(r1) -/* 801299B0 00126910 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 801299B4 00126914 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 801299B8 00126918 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 -/* 801299BC 0012691C CB 61 00 30 */ lfd f27, 0x30(r1) -/* 801299C0 00126920 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 801299C4 00126924 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 801299C8 00126928 80 01 00 84 */ lwz r0, 0x84(r1) -/* 801299CC 0012692C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 801299D0 00126930 7C 08 03 A6 */ mtlr r0 -/* 801299D4 00126934 38 21 00 80 */ addi r1, r1, 0x80 -/* 801299D8 00126938 4E 80 00 20 */ blr - -.global CheckTargetable__12CSpacePirateFR13CStateManager -CheckTargetable__12CSpacePirateFR13CStateManager: -/* 801299DC 0012693C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801299E0 00126940 7C 08 02 A6 */ mflr r0 -/* 801299E4 00126944 90 01 00 14 */ stw r0, 0x14(r1) -/* 801299E8 00126948 81 83 00 00 */ lwz r12, 0(r3) -/* 801299EC 0012694C 81 8C 02 B4 */ lwz r12, 0x2b4(r12) -/* 801299F0 00126950 7D 89 03 A6 */ mtctr r12 -/* 801299F4 00126954 4E 80 04 21 */ bctrl -/* 801299F8 00126958 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 801299FC 0012695C 20 00 00 7F */ subfic r0, r0, 0x7f -/* 80129A00 00126960 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80129A04 00126964 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80129A08 00126968 7C 08 03 A6 */ mtlr r0 -/* 80129A0C 0012696C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80129A10 00126970 4E 80 00 20 */ blr - -.global SetEyeParticleActive__12CSpacePirateFR13CStateManagerb -SetEyeParticleActive__12CSpacePirateFR13CStateManagerb: -/* 80129A14 00126974 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80129A18 00126978 7C 08 02 A6 */ mflr r0 -/* 80129A1C 0012697C 7C 86 23 78 */ mr r6, r4 -/* 80129A20 00126980 90 01 00 14 */ stw r0, 0x14(r1) -/* 80129A24 00126984 88 03 06 36 */ lbz r0, 0x636(r3) -/* 80129A28 00126988 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80129A2C 0012698C 40 82 00 54 */ bne lbl_80129A80 -/* 80129A30 00126990 88 03 06 34 */ lbz r0, 0x634(r3) -/* 80129A34 00126994 80 83 00 64 */ lwz r4, 0x64(r3) -/* 80129A38 00126998 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80129A3C 0012699C 80 E4 00 10 */ lwz r7, 0x10(r4) -/* 80129A40 001269A0 41 82 00 10 */ beq lbl_80129A50 -/* 80129A44 001269A4 88 03 06 35 */ lbz r0, 0x635(r3) -/* 80129A48 001269A8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80129A4C 001269AC 41 82 00 24 */ beq lbl_80129A70 -lbl_80129A50: -/* 80129A50 001269B0 88 03 06 35 */ lbz r0, 0x635(r3) -/* 80129A54 001269B4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80129A58 001269B8 40 82 00 28 */ bne lbl_80129A80 -/* 80129A5C 001269BC 3C 80 80 57 */ lis r4, lbl_8056F8A4@ha -/* 80129A60 001269C0 7C E3 3B 78 */ mr r3, r7 -/* 80129A64 001269C4 38 84 F8 A4 */ addi r4, r4, lbl_8056F8A4@l -/* 80129A68 001269C8 4B F0 13 59 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 80129A6C 001269CC 48 00 00 14 */ b lbl_80129A80 -lbl_80129A70: -/* 80129A70 001269D0 3C 80 80 57 */ lis r4, lbl_8056F894@ha -/* 80129A74 001269D4 7C E3 3B 78 */ mr r3, r7 -/* 80129A78 001269D8 38 84 F8 94 */ addi r4, r4, lbl_8056F894@l -/* 80129A7C 001269DC 4B F0 13 45 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -lbl_80129A80: -/* 80129A80 001269E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80129A84 001269E4 7C 08 03 A6 */ mtlr r0 -/* 80129A88 001269E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80129A8C 001269EC 4E 80 00 20 */ blr - -.global Listen__12CSpacePirateFRC9CVector3f16EListenNoiseType -Listen__12CSpacePirateFRC9CVector3f16EListenNoiseType: -/* 80129A90 001269F0 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80129A94 001269F4 38 C0 00 00 */ li r6, 0 -/* 80129A98 001269F8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80129A9C 001269FC 41 82 00 90 */ beq lbl_80129B2C -/* 80129AA0 00126A00 C0 24 00 04 */ lfs f1, 4(r4) -/* 80129AA4 00126A04 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 80129AA8 00126A08 C0 43 05 7C */ lfs f2, 0x57c(r3) -/* 80129AAC 00126A0C EC A1 00 28 */ fsubs f5, f1, f0 -/* 80129AB0 00126A10 C0 84 00 00 */ lfs f4, 0(r4) -/* 80129AB4 00126A14 C0 63 00 40 */ lfs f3, 0x40(r3) -/* 80129AB8 00126A18 EC 02 00 B2 */ fmuls f0, f2, f2 -/* 80129ABC 00126A1C C0 44 00 08 */ lfs f2, 8(r4) -/* 80129AC0 00126A20 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 80129AC4 00126A24 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80129AC8 00126A28 EC 42 08 28 */ fsubs f2, f2, f1 -/* 80129ACC 00126A2C EC 25 01 72 */ fmuls f1, f5, f5 -/* 80129AD0 00126A30 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 80129AD4 00126A34 EC 23 08 FA */ fmadds f1, f3, f3, f1 -/* 80129AD8 00126A38 EC 22 08 2A */ fadds f1, f2, f1 -/* 80129ADC 00126A3C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80129AE0 00126A40 40 80 00 34 */ bge lbl_80129B14 -/* 80129AE4 00126A44 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80129AE8 00126A48 C0 23 03 C0 */ lfs f1, 0x3c0(r3) -/* 80129AEC 00126A4C FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 80129AF0 00126A50 41 82 00 10 */ beq lbl_80129B00 -/* 80129AF4 00126A54 EC 01 00 72 */ fmuls f0, f1, f1 -/* 80129AF8 00126A58 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80129AFC 00126A5C 40 80 00 18 */ bge lbl_80129B14 -lbl_80129B00: -/* 80129B00 00126A60 88 03 06 36 */ lbz r0, 0x636(r3) -/* 80129B04 00126A64 38 80 00 01 */ li r4, 1 -/* 80129B08 00126A68 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80129B0C 00126A6C 38 C0 00 01 */ li r6, 1 -/* 80129B10 00126A70 98 03 06 36 */ stb r0, 0x636(r3) -lbl_80129B14: -/* 80129B14 00126A74 2C 05 00 00 */ cmpwi r5, 0 -/* 80129B18 00126A78 40 82 00 14 */ bne lbl_80129B2C -/* 80129B1C 00126A7C 88 03 06 37 */ lbz r0, 0x637(r3) -/* 80129B20 00126A80 38 80 00 01 */ li r4, 1 -/* 80129B24 00126A84 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80129B28 00126A88 98 03 06 37 */ stb r0, 0x637(r3) -lbl_80129B2C: -/* 80129B2C 00126A8C 54 C3 06 3E */ clrlwi r3, r6, 0x18 -/* 80129B30 00126A90 4E 80 00 20 */ blr - -.global Touch__12CSpacePirateFR6CActorR13CStateManager -Touch__12CSpacePirateFR6CActorR13CStateManager: -/* 80129B34 00126A94 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80129B38 00126A98 7C 08 02 A6 */ mflr r0 -/* 80129B3C 00126A9C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80129B40 00126AA0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80129B44 00126AA4 7C 9F 23 78 */ mr r31, r4 -/* 80129B48 00126AA8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80129B4C 00126AAC 7C 7E 1B 78 */ mr r30, r3 -/* 80129B50 00126AB0 4B F4 FF 51 */ bl Touch__10CPatternedFR6CActorR13CStateManager -/* 80129B54 00126AB4 80 7E 08 5C */ lwz r3, 0x85c(r30) -/* 80129B58 00126AB8 28 03 00 00 */ cmplwi r3, 0 -/* 80129B5C 00126ABC 41 82 00 84 */ beq lbl_80129BE0 -/* 80129B60 00126AC0 88 03 00 68 */ lbz r0, 0x68(r3) -/* 80129B64 00126AC4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80129B68 00126AC8 41 82 00 78 */ beq lbl_80129BE0 -/* 80129B6C 00126ACC 7F E4 FB 78 */ mr r4, r31 -/* 80129B70 00126AD0 38 61 00 08 */ addi r3, r1, 8 -/* 80129B74 00126AD4 4B F7 D3 E1 */ bl "__ct__28TCastToPtr<14CScriptTrigger>FR7CEntity" -/* 80129B78 00126AD8 80 63 00 04 */ lwz r3, 4(r3) -/* 80129B7C 00126ADC 28 03 00 00 */ cmplwi r3, 0 -/* 80129B80 00126AE0 41 82 00 60 */ beq lbl_80129BE0 -/* 80129B84 00126AE4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80129B88 00126AE8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80129B8C 00126AEC 41 82 00 54 */ beq lbl_80129BE0 -/* 80129B90 00126AF0 80 03 01 2C */ lwz r0, 0x12c(r3) -/* 80129B94 00126AF4 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 80129B98 00126AF8 41 82 00 48 */ beq lbl_80129BE0 -/* 80129B9C 00126AFC C0 23 01 28 */ lfs f1, 0x128(r3) -/* 80129BA0 00126B00 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 80129BA4 00126B04 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80129BA8 00126B08 40 81 00 38 */ ble lbl_80129BE0 -/* 80129BAC 00126B0C 80 9E 08 5C */ lwz r4, 0x85c(r30) -/* 80129BB0 00126B10 C0 03 01 1C */ lfs f0, 0x11c(r3) -/* 80129BB4 00126B14 C0 24 00 84 */ lfs f1, 0x84(r4) -/* 80129BB8 00126B18 EC 01 00 2A */ fadds f0, f1, f0 -/* 80129BBC 00126B1C D0 04 00 84 */ stfs f0, 0x84(r4) -/* 80129BC0 00126B20 C0 24 00 88 */ lfs f1, 0x88(r4) -/* 80129BC4 00126B24 C0 03 01 20 */ lfs f0, 0x120(r3) -/* 80129BC8 00126B28 EC 01 00 2A */ fadds f0, f1, f0 -/* 80129BCC 00126B2C D0 04 00 88 */ stfs f0, 0x88(r4) -/* 80129BD0 00126B30 C0 24 00 8C */ lfs f1, 0x8c(r4) -/* 80129BD4 00126B34 C0 03 01 24 */ lfs f0, 0x124(r3) -/* 80129BD8 00126B38 EC 01 00 2A */ fadds f0, f1, f0 -/* 80129BDC 00126B3C D0 04 00 8C */ stfs f0, 0x8c(r4) -lbl_80129BE0: -/* 80129BE0 00126B40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80129BE4 00126B44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80129BE8 00126B48 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80129BEC 00126B4C 7C 08 03 A6 */ mtlr r0 -/* 80129BF0 00126B50 38 21 00 20 */ addi r1, r1, 0x20 -/* 80129BF4 00126B54 4E 80 00 20 */ blr - -.global AcceptScriptMsg__12CSpacePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__12CSpacePirateF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80129BF8 00126B58 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80129BFC 00126B5C 7C 08 02 A6 */ mflr r0 -/* 80129C00 00126B60 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80129C04 00126B64 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80129C08 00126B68 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 80129C0C 00126B6C BF 61 00 8C */ stmw r27, 0x8c(r1) -/* 80129C10 00126B70 88 03 06 37 */ lbz r0, 0x637(r3) -/* 80129C14 00126B74 7C 7C 1B 78 */ mr r28, r3 -/* 80129C18 00126B78 7C 9D 23 78 */ mr r29, r4 -/* 80129C1C 00126B7C 7C BE 2B 78 */ mr r30, r5 -/* 80129C20 00126B80 54 03 F7 FF */ rlwinm. r3, r0, 0x1e, 0x1f, 0x1f -/* 80129C24 00126B84 7C DF 33 78 */ mr r31, r6 -/* 80129C28 00126B88 40 82 00 10 */ bne lbl_80129C38 -/* 80129C2C 00126B8C 88 1C 06 34 */ lbz r0, 0x634(r28) -/* 80129C30 00126B90 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80129C34 00126B94 41 82 00 D0 */ beq lbl_80129D04 -lbl_80129C38: -/* 80129C38 00126B98 2C 1D 00 1A */ cmpwi r29, 0x1a -/* 80129C3C 00126B9C 41 82 00 14 */ beq lbl_80129C50 -/* 80129C40 00126BA0 40 80 00 C4 */ bge lbl_80129D04 -/* 80129C44 00126BA4 2C 1D 00 17 */ cmpwi r29, 0x17 -/* 80129C48 00126BA8 41 82 00 B4 */ beq lbl_80129CFC -/* 80129C4C 00126BAC 48 00 00 B8 */ b lbl_80129D04 -lbl_80129C50: -/* 80129C50 00126BB0 28 03 00 00 */ cmplwi r3, 0 -/* 80129C54 00126BB4 41 82 00 34 */ beq lbl_80129C88 -/* 80129C58 00126BB8 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 80129C5C 00126BBC 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80129C60 00126BC0 2C 00 00 14 */ cmpwi r0, 0x14 -/* 80129C64 00126BC4 40 82 00 24 */ bne lbl_80129C88 -/* 80129C68 00126BC8 38 63 02 A4 */ addi r3, r3, 0x2a4 -/* 80129C6C 00126BCC 48 00 A4 0D */ bl GetCurrentState__14CBodyStateInfoCFv -/* 80129C70 00126BD0 81 83 00 00 */ lwz r12, 0(r3) -/* 80129C74 00126BD4 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 80129C78 00126BD8 7D 89 03 A6 */ mtctr r12 -/* 80129C7C 00126BDC 4E 80 04 21 */ bctrl -/* 80129C80 00126BE0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80129C84 00126BE4 41 82 00 50 */ beq lbl_80129CD4 -lbl_80129C88: -/* 80129C88 00126BE8 88 1C 06 34 */ lbz r0, 0x634(r28) -/* 80129C8C 00126BEC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80129C90 00126BF0 41 82 00 74 */ beq lbl_80129D04 -/* 80129C94 00126BF4 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 80129C98 00126BF8 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80129C9C 00126BFC 2C 00 00 05 */ cmpwi r0, 5 -/* 80129CA0 00126C00 41 82 00 34 */ beq lbl_80129CD4 -/* 80129CA4 00126C04 2C 00 00 0D */ cmpwi r0, 0xd -/* 80129CA8 00126C08 40 82 00 5C */ bne lbl_80129D04 -/* 80129CAC 00126C0C 3B 63 02 A4 */ addi r27, r3, 0x2a4 -/* 80129CB0 00126C10 7F 63 DB 78 */ mr r3, r27 -/* 80129CB4 00126C14 48 00 A3 C5 */ bl GetCurrentState__14CBodyStateInfoCFv -/* 80129CB8 00126C18 81 83 00 00 */ lwz r12, 0(r3) -/* 80129CBC 00126C1C 80 9B 00 18 */ lwz r4, 0x18(r27) -/* 80129CC0 00126C20 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80129CC4 00126C24 7D 89 03 A6 */ mtctr r12 -/* 80129CC8 00126C28 4E 80 04 21 */ bctrl -/* 80129CCC 00126C2C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80129CD0 00126C30 40 82 00 34 */ bne lbl_80129D04 -lbl_80129CD4: -/* 80129CD4 00126C34 7F 83 E3 78 */ mr r3, r28 -/* 80129CD8 00126C38 4B FF 16 A1 */ bl Stop__13CPhysicsActorFv -/* 80129CDC 00126C3C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80129CE0 00126C40 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 80129CE4 00126C44 D0 1C 01 50 */ stfs f0, 0x150(r28) -/* 80129CE8 00126C48 C0 03 00 04 */ lfs f0, 4(r3) -/* 80129CEC 00126C4C D0 1C 01 54 */ stfs f0, 0x154(r28) -/* 80129CF0 00126C50 C0 03 00 08 */ lfs f0, 8(r3) -/* 80129CF4 00126C54 D0 1C 01 58 */ stfs f0, 0x158(r28) -/* 80129CF8 00126C58 48 00 05 EC */ b lbl_8012A2E4 -lbl_80129CFC: -/* 80129CFC 00126C5C C0 02 98 10 */ lfs f0, lbl_805AB530@sda21(r2) -/* 80129D00 00126C60 D0 1C 08 50 */ stfs f0, 0x850(r28) -lbl_80129D04: -/* 80129D04 00126C64 2C 1D 00 15 */ cmpwi r29, 0x15 -/* 80129D08 00126C68 41 82 00 14 */ beq lbl_80129D1C -/* 80129D0C 00126C6C 40 80 00 88 */ bge lbl_80129D94 -/* 80129D10 00126C70 2C 1D 00 01 */ cmpwi r29, 1 -/* 80129D14 00126C74 41 82 00 08 */ beq lbl_80129D1C -/* 80129D18 00126C78 48 00 00 7C */ b lbl_80129D94 -lbl_80129D1C: -/* 80129D1C 00126C7C 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80129D20 00126C80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80129D24 00126C84 41 82 00 44 */ beq lbl_80129D68 -/* 80129D28 00126C88 88 1C 06 34 */ lbz r0, 0x634(r28) -/* 80129D2C 00126C8C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 80129D30 00126C90 41 82 00 18 */ beq lbl_80129D48 -/* 80129D34 00126C94 88 1C 06 38 */ lbz r0, 0x638(r28) -/* 80129D38 00126C98 38 60 00 01 */ li r3, 1 -/* 80129D3C 00126C9C 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80129D40 00126CA0 98 1C 06 38 */ stb r0, 0x638(r28) -/* 80129D44 00126CA4 48 00 00 14 */ b lbl_80129D58 -lbl_80129D48: -/* 80129D48 00126CA8 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 80129D4C 00126CAC 38 60 00 01 */ li r3, 1 -/* 80129D50 00126CB0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80129D54 00126CB4 98 1C 04 00 */ stb r0, 0x400(r28) -lbl_80129D58: -/* 80129D58 00126CB8 7F 83 E3 78 */ mr r3, r28 -/* 80129D5C 00126CBC 7F E4 FB 78 */ mr r4, r31 -/* 80129D60 00126CC0 4B FF F9 D5 */ bl SquadAdd__12CSpacePirateFR13CStateManager -/* 80129D64 00126CC4 48 00 00 30 */ b lbl_80129D94 -lbl_80129D68: -/* 80129D68 00126CC8 88 1C 06 34 */ lbz r0, 0x634(r28) -/* 80129D6C 00126CCC 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80129D70 00126CD0 41 82 00 24 */ beq lbl_80129D94 -/* 80129D74 00126CD4 7F 83 E3 78 */ mr r3, r28 -/* 80129D78 00126CD8 7F E5 FB 78 */ mr r5, r31 -/* 80129D7C 00126CDC 38 80 00 25 */ li r4, 0x25 -/* 80129D80 00126CE0 4B F2 A2 01 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80129D84 00126CE4 88 1C 03 28 */ lbz r0, 0x328(r28) -/* 80129D88 00126CE8 38 60 00 00 */ li r3, 0 -/* 80129D8C 00126CEC 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80129D90 00126CF0 98 1C 03 28 */ stb r0, 0x328(r28) -lbl_80129D94: -/* 80129D94 00126CF4 A0 1E 00 00 */ lhz r0, 0(r30) -/* 80129D98 00126CF8 7F 83 E3 78 */ mr r3, r28 -/* 80129D9C 00126CFC 7F A4 EB 78 */ mr r4, r29 -/* 80129DA0 00126D00 7F E6 FB 78 */ mr r6, r31 -/* 80129DA4 00126D04 B0 01 00 34 */ sth r0, 0x34(r1) -/* 80129DA8 00126D08 38 A1 00 34 */ addi r5, r1, 0x34 -/* 80129DAC 00126D0C 4B F5 2D CD */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80129DB0 00126D10 38 1D FF FC */ addi r0, r29, -4 -/* 80129DB4 00126D14 28 00 00 24 */ cmplwi r0, 0x24 -/* 80129DB8 00126D18 41 81 05 2C */ bgt lbl_8012A2E4 -/* 80129DBC 00126D1C 3C 60 80 3E */ lis r3, lbl_803E0AF8@ha -/* 80129DC0 00126D20 54 00 10 3A */ slwi r0, r0, 2 -/* 80129DC4 00126D24 38 63 0A F8 */ addi r3, r3, lbl_803E0AF8@l -/* 80129DC8 00126D28 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80129DCC 00126D2C 7C 09 03 A6 */ mtctr r0 -/* 80129DD0 00126D30 4E 80 04 20 */ bctr -/* 80129DD4 00126D34 83 7C 00 2C */ lwz r27, 0x2c(r28) -/* 80129DD8 00126D38 48 00 00 A0 */ b lbl_80129E78 -lbl_80129DDC: -/* 80129DDC 00126D3C 80 7B 00 00 */ lwz r3, 0(r27) -/* 80129DE0 00126D40 2C 03 00 0C */ cmpwi r3, 0xc -/* 80129DE4 00126D44 40 82 00 6C */ bne lbl_80129E50 -/* 80129DE8 00126D48 80 1B 00 04 */ lwz r0, 4(r27) -/* 80129DEC 00126D4C 2C 00 00 08 */ cmpwi r0, 8 -/* 80129DF0 00126D50 40 82 00 60 */ bne lbl_80129E50 -/* 80129DF4 00126D54 80 1B 00 08 */ lwz r0, 8(r27) -/* 80129DF8 00126D58 7F E4 FB 78 */ mr r4, r31 -/* 80129DFC 00126D5C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80129E00 00126D60 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80129E04 00126D64 90 01 00 44 */ stw r0, 0x44(r1) -/* 80129E08 00126D68 4B F1 E1 15 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 80129E0C 00126D6C A0 01 00 30 */ lhz r0, 0x30(r1) -/* 80129E10 00126D70 7F E3 FB 78 */ mr r3, r31 -/* 80129E14 00126D74 38 81 00 2C */ addi r4, r1, 0x2c -/* 80129E18 00126D78 B0 01 00 38 */ sth r0, 0x38(r1) -/* 80129E1C 00126D7C B0 01 00 2C */ sth r0, 0x2c(r1) -/* 80129E20 00126D80 4B F2 27 55 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80129E24 00126D84 7C 64 1B 78 */ mr r4, r3 -/* 80129E28 00126D88 38 61 00 50 */ addi r3, r1, 0x50 -/* 80129E2C 00126D8C 4B F8 0C 01 */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" -/* 80129E30 00126D90 80 63 00 04 */ lwz r3, 4(r3) -/* 80129E34 00126D94 28 03 00 00 */ cmplwi r3, 0 -/* 80129E38 00126D98 41 82 00 3C */ beq lbl_80129E74 -/* 80129E3C 00126D9C A0 1C 00 08 */ lhz r0, 8(r28) -/* 80129E40 00126DA0 B0 01 00 24 */ sth r0, 0x24(r1) -/* 80129E44 00126DA4 B0 01 00 28 */ sth r0, 0x28(r1) -/* 80129E48 00126DA8 B0 03 00 FA */ sth r0, 0xfa(r3) -/* 80129E4C 00126DAC 48 00 00 28 */ b lbl_80129E74 -lbl_80129E50: -/* 80129E50 00126DB0 2C 03 00 0D */ cmpwi r3, 0xd -/* 80129E54 00126DB4 40 82 00 20 */ bne lbl_80129E74 -/* 80129E58 00126DB8 80 1B 00 04 */ lwz r0, 4(r27) -/* 80129E5C 00126DBC 2C 00 00 06 */ cmpwi r0, 6 -/* 80129E60 00126DC0 40 82 00 14 */ bne lbl_80129E74 -/* 80129E64 00126DC4 88 1C 06 37 */ lbz r0, 0x637(r28) -/* 80129E68 00126DC8 38 60 00 01 */ li r3, 1 -/* 80129E6C 00126DCC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80129E70 00126DD0 98 1C 06 37 */ stb r0, 0x637(r28) -lbl_80129E74: -/* 80129E74 00126DD4 3B 7B 00 0C */ addi r27, r27, 0xc -lbl_80129E78: -/* 80129E78 00126DD8 80 1C 00 24 */ lwz r0, 0x24(r28) -/* 80129E7C 00126DDC 80 7C 00 2C */ lwz r3, 0x2c(r28) -/* 80129E80 00126DE0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80129E84 00126DE4 7C 03 02 14 */ add r0, r3, r0 -/* 80129E88 00126DE8 7C 1B 00 40 */ cmplw r27, r0 -/* 80129E8C 00126DEC 40 82 FF 50 */ bne lbl_80129DDC -/* 80129E90 00126DF0 80 BC 00 04 */ lwz r5, 4(r28) -/* 80129E94 00126DF4 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 80129E98 00126DF8 54 A3 18 38 */ slwi r3, r5, 3 -/* 80129E9C 00126DFC 90 A1 00 3C */ stw r5, 0x3c(r1) -/* 80129EA0 00126E00 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80129EA4 00126E04 38 03 00 04 */ addi r0, r3, 4 -/* 80129EA8 00126E08 90 A1 00 40 */ stw r5, 0x40(r1) -/* 80129EAC 00126E0C 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80129EB0 00126E10 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 80129EB4 00126E14 80 03 10 BC */ lwz r0, 0x10bc(r3) -/* 80129EB8 00126E18 90 1C 06 60 */ stw r0, 0x660(r28) -/* 80129EBC 00126E1C 88 1C 06 35 */ lbz r0, 0x635(r28) -/* 80129EC0 00126E20 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 80129EC4 00126E24 41 82 00 5C */ beq lbl_80129F20 -/* 80129EC8 00126E28 C0 02 98 64 */ lfs f0, lbl_805AB584@sda21(r2) -/* 80129ECC 00126E2C 7F 83 E3 78 */ mr r3, r28 -/* 80129ED0 00126E30 7F E8 FB 78 */ mr r8, r31 -/* 80129ED4 00126E34 38 80 00 21 */ li r4, 0x21 -/* 80129ED8 00126E38 D0 1C 08 58 */ stfs f0, 0x858(r28) -/* 80129EDC 00126E3C 38 A0 00 13 */ li r5, 0x13 -/* 80129EE0 00126E40 38 C0 00 28 */ li r6, 0x28 -/* 80129EE4 00126E44 38 E0 00 29 */ li r7, 0x29 -/* 80129EE8 00126E48 4B F2 9E 01 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -/* 80129EEC 00126E4C 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 80129EF0 00126E50 38 60 00 00 */ li r3, 0 -/* 80129EF4 00126E54 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 80129EF8 00126E58 7F 83 E3 78 */ mr r3, r28 -/* 80129EFC 00126E5C 98 1C 04 00 */ stb r0, 0x400(r28) -/* 80129F00 00126E60 7F E4 FB 78 */ mr r4, r31 -/* 80129F04 00126E64 81 9C 00 00 */ lwz r12, 0(r28) -/* 80129F08 00126E68 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80129F0C 00126E6C 7D 89 03 A6 */ mtctr r12 -/* 80129F10 00126E70 4E 80 04 21 */ bctrl -/* 80129F14 00126E74 C0 02 98 68 */ lfs f0, lbl_805AB588@sda21(r2) -/* 80129F18 00126E78 D0 03 00 00 */ stfs f0, 0(r3) -/* 80129F1C 00126E7C 48 00 03 C8 */ b lbl_8012A2E4 -lbl_80129F20: -/* 80129F20 00126E80 7F 83 E3 78 */ mr r3, r28 -/* 80129F24 00126E84 7F E4 FB 78 */ mr r4, r31 -/* 80129F28 00126E88 38 A0 00 01 */ li r5, 1 -/* 80129F2C 00126E8C 4B FF FA E9 */ bl SetEyeParticleActive__12CSpacePirateFR13CStateManagerb -/* 80129F30 00126E90 48 00 03 B4 */ b lbl_8012A2E4 -/* 80129F34 00126E94 80 7C 08 5C */ lwz r3, 0x85c(r28) -/* 80129F38 00126E98 28 03 00 00 */ cmplwi r3, 0 -/* 80129F3C 00126E9C 41 82 03 A8 */ beq lbl_8012A2E4 -/* 80129F40 00126EA0 88 03 00 68 */ lbz r0, 0x68(r3) -/* 80129F44 00126EA4 38 80 00 00 */ li r4, 0 -/* 80129F48 00126EA8 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 80129F4C 00126EAC 98 03 00 68 */ stb r0, 0x68(r3) -/* 80129F50 00126EB0 80 7C 08 5C */ lwz r3, 0x85c(r28) -/* 80129F54 00126EB4 88 03 00 68 */ lbz r0, 0x68(r3) -/* 80129F58 00126EB8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80129F5C 00126EBC 98 03 00 68 */ stb r0, 0x68(r3) -/* 80129F60 00126EC0 48 00 03 84 */ b lbl_8012A2E4 -/* 80129F64 00126EC4 88 7C 06 34 */ lbz r3, 0x634(r28) -/* 80129F68 00126EC8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80129F6C 00126ECC 41 82 00 3C */ beq lbl_80129FA8 -/* 80129F70 00126ED0 38 00 00 01 */ li r0, 1 -/* 80129F74 00126ED4 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 80129F78 00126ED8 98 7C 06 34 */ stb r3, 0x634(r28) -/* 80129F7C 00126EDC 88 1C 06 35 */ lbz r0, 0x635(r28) -/* 80129F80 00126EE0 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80129F84 00126EE4 41 82 00 24 */ beq lbl_80129FA8 -/* 80129F88 00126EE8 C0 22 97 E4 */ lfs f1, lbl_805AB504@sda21(r2) -/* 80129F8C 00126EEC C0 1C 06 18 */ lfs f0, 0x618(r28) -/* 80129F90 00126EF0 EF E1 00 32 */ fmuls f31, f1, f0 -/* 80129F94 00126EF4 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80129F98 00126EF8 C0 02 98 68 */ lfs f0, lbl_805AB588@sda21(r2) -/* 80129F9C 00126EFC 88 01 00 08 */ lbz r0, 8(r1) -/* 80129FA0 00126F00 98 1C 04 2F */ stb r0, 0x42f(r28) -/* 80129FA4 00126F04 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) -lbl_80129FA8: -/* 80129FA8 00126F08 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 80129FAC 00126F0C 48 1E 85 75 */ bl Next__9CRandom16Fv -/* 80129FB0 00126F10 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha -/* 80129FB4 00126F14 38 04 AA AB */ addi r0, r4, 0x2AAAAAAB@l -/* 80129FB8 00126F18 7C 80 18 96 */ mulhw r4, r0, r3 -/* 80129FBC 00126F1C 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80129FC0 00126F20 7C 04 02 14 */ add r0, r4, r0 -/* 80129FC4 00126F24 1C 00 00 06 */ mulli r0, r0, 6 -/* 80129FC8 00126F28 7C 00 18 50 */ subf r0, r0, r3 -/* 80129FCC 00126F2C 7F 83 E3 78 */ mr r3, r28 -/* 80129FD0 00126F30 90 1C 07 5C */ stw r0, 0x75c(r28) -/* 80129FD4 00126F34 4B F2 98 E9 */ bl GetMaterialFilter__6CActorCFv -/* 80129FD8 00126F38 83 63 00 00 */ lwz r27, 0(r3) -/* 80129FDC 00126F3C 83 A3 00 04 */ lwz r29, 4(r3) -/* 80129FE0 00126F40 7F 83 E3 78 */ mr r3, r28 -/* 80129FE4 00126F44 4B F2 98 D9 */ bl GetMaterialFilter__6CActorCFv -/* 80129FE8 00126F48 80 AD 8A 9C */ lwz r5, lbl_805A765C@sda21(r13) -/* 80129FEC 00126F4C 38 80 00 01 */ li r4, 1 -/* 80129FF0 00126F50 83 C3 00 08 */ lwz r30, 8(r3) -/* 80129FF4 00126F54 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 80129FF8 00126F58 38 60 00 00 */ li r3, 0 -/* 80129FFC 00126F5C 48 25 FE F9 */ bl __shl2i -/* 8012A000 00126F60 7C 85 20 F8 */ nor r5, r4, r4 -/* 8012A004 00126F64 7C 60 18 F8 */ nor r0, r3, r3 -/* 8012A008 00126F68 7F FF 23 78 */ or r31, r31, r4 -/* 8012A00C 00126F6C 7F DE 1B 78 */ or r30, r30, r3 -/* 8012A010 00126F70 7F BD 28 38 */ and r29, r29, r5 -/* 8012A014 00126F74 7F 7B 00 38 */ and r27, r27, r0 -/* 8012A018 00126F78 38 00 00 03 */ li r0, 3 -/* 8012A01C 00126F7C 93 A1 00 6C */ stw r29, 0x6c(r1) -/* 8012A020 00126F80 7F 83 E3 78 */ mr r3, r28 -/* 8012A024 00126F84 38 81 00 68 */ addi r4, r1, 0x68 -/* 8012A028 00126F88 93 61 00 68 */ stw r27, 0x68(r1) -/* 8012A02C 00126F8C 93 E1 00 74 */ stw r31, 0x74(r1) -/* 8012A030 00126F90 93 C1 00 70 */ stw r30, 0x70(r1) -/* 8012A034 00126F94 90 01 00 78 */ stw r0, 0x78(r1) -/* 8012A038 00126F98 4B F2 98 69 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 8012A03C 00126F9C 48 00 02 A8 */ b lbl_8012A2E4 -/* 8012A040 00126FA0 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 8012A044 00126FA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012A048 00126FA8 41 82 02 9C */ beq lbl_8012A2E4 -/* 8012A04C 00126FAC 88 1C 06 36 */ lbz r0, 0x636(r28) -/* 8012A050 00126FB0 38 60 00 01 */ li r3, 1 -/* 8012A054 00126FB4 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8012A058 00126FB8 98 1C 06 36 */ stb r0, 0x636(r28) -/* 8012A05C 00126FBC 48 00 02 88 */ b lbl_8012A2E4 -/* 8012A060 00126FC0 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8012A064 00126FC4 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8012A068 00126FC8 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8012A06C 00126FCC 40 82 00 48 */ bne lbl_8012A0B4 -/* 8012A070 00126FD0 7F 83 E3 78 */ mr r3, r28 -/* 8012A074 00126FD4 C3 FC 00 E8 */ lfs f31, 0xe8(r28) -/* 8012A078 00126FD8 81 9C 00 00 */ lwz r12, 0(r28) -/* 8012A07C 00126FDC 81 8C 02 BC */ lwz r12, 0x2bc(r12) -/* 8012A080 00126FE0 7D 89 03 A6 */ mtctr r12 -/* 8012A084 00126FE4 4E 80 04 21 */ bctrl -/* 8012A088 00126FE8 88 1C 06 34 */ lbz r0, 0x634(r28) -/* 8012A08C 00126FEC EC 41 07 F2 */ fmuls f2, f1, f31 -/* 8012A090 00126FF0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8012A094 00126FF4 41 82 00 0C */ beq lbl_8012A0A0 -/* 8012A098 00126FF8 C0 02 98 24 */ lfs f0, lbl_805AB544@sda21(r2) -/* 8012A09C 00126FFC EC 42 00 32 */ fmuls f2, f2, f0 -lbl_8012A0A0: -/* 8012A0A0 00127000 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 8012A0A4 00127004 FC 00 10 50 */ fneg f0, f2 -/* 8012A0A8 00127008 D0 3C 01 50 */ stfs f1, 0x150(r28) -/* 8012A0AC 0012700C D0 3C 01 54 */ stfs f1, 0x154(r28) -/* 8012A0B0 00127010 D0 1C 01 58 */ stfs f0, 0x158(r28) -lbl_8012A0B4: -/* 8012A0B4 00127014 80 7C 04 50 */ lwz r3, 0x450(r28) -/* 8012A0B8 00127018 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 8012A0BC 0012701C 2C 00 00 03 */ cmpwi r0, 3 -/* 8012A0C0 00127020 40 82 00 24 */ bne lbl_8012A0E4 -/* 8012A0C4 00127024 C0 3C 01 40 */ lfs f1, 0x140(r28) -/* 8012A0C8 00127028 7F 83 E3 78 */ mr r3, r28 -/* 8012A0CC 0012702C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012A0D0 00127030 38 81 00 58 */ addi r4, r1, 0x58 -/* 8012A0D4 00127034 D0 21 00 60 */ stfs f1, 0x60(r1) -/* 8012A0D8 00127038 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8012A0DC 0012703C D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8012A0E0 00127040 4B FF 0B C1 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_8012A0E4: -/* 8012A0E4 00127044 38 00 00 03 */ li r0, 3 -/* 8012A0E8 00127048 90 1C 07 C4 */ stw r0, 0x7c4(r28) -/* 8012A0EC 0012704C 48 00 01 F8 */ b lbl_8012A2E4 -/* 8012A0F0 00127050 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8012A0F4 00127054 7F 83 E3 78 */ mr r3, r28 -/* 8012A0F8 00127058 7F E6 FB 78 */ mr r6, r31 -/* 8012A0FC 0012705C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8012A100 00127060 B0 01 00 20 */ sth r0, 0x20(r1) -/* 8012A104 00127064 38 80 00 1A */ li r4, 0x1a -/* 8012A108 00127068 4B F5 2A 71 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8012A10C 0012706C 7F 83 E3 78 */ mr r3, r28 -/* 8012A110 00127070 C3 FC 00 E8 */ lfs f31, 0xe8(r28) -/* 8012A114 00127074 81 9C 00 00 */ lwz r12, 0(r28) -/* 8012A118 00127078 81 8C 02 BC */ lwz r12, 0x2bc(r12) -/* 8012A11C 0012707C 7D 89 03 A6 */ mtctr r12 -/* 8012A120 00127080 4E 80 04 21 */ bctrl -/* 8012A124 00127084 FC 20 08 50 */ fneg f1, f1 -/* 8012A128 00127088 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012A12C 0012708C 7F 83 E3 78 */ mr r3, r28 -/* 8012A130 00127090 D0 1C 01 50 */ stfs f0, 0x150(r28) -/* 8012A134 00127094 EC 21 07 F2 */ fmuls f1, f1, f31 -/* 8012A138 00127098 D0 1C 01 54 */ stfs f0, 0x154(r28) -/* 8012A13C 0012709C D0 3C 01 58 */ stfs f1, 0x158(r28) -/* 8012A140 001270A0 4B FF F7 1D */ bl SetVelocityForJump__12CSpacePirateFv -/* 8012A144 001270A4 48 00 01 A0 */ b lbl_8012A2E4 -/* 8012A148 001270A8 88 1C 06 34 */ lbz r0, 0x634(r28) -/* 8012A14C 001270AC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8012A150 001270B0 40 82 00 10 */ bne lbl_8012A160 -/* 8012A154 001270B4 38 00 00 01 */ li r0, 1 -/* 8012A158 001270B8 90 1C 07 C4 */ stw r0, 0x7c4(r28) -/* 8012A15C 001270BC 48 00 00 0C */ b lbl_8012A168 -lbl_8012A160: -/* 8012A160 001270C0 38 00 00 04 */ li r0, 4 -/* 8012A164 001270C4 90 1C 07 C4 */ stw r0, 0x7c4(r28) -lbl_8012A168: -/* 8012A168 001270C8 88 1C 06 37 */ lbz r0, 0x637(r28) -/* 8012A16C 001270CC 38 60 00 00 */ li r3, 0 -/* 8012A170 001270D0 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8012A174 001270D4 98 1C 06 37 */ stb r0, 0x637(r28) -/* 8012A178 001270D8 88 1C 06 35 */ lbz r0, 0x635(r28) -/* 8012A17C 001270DC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8012A180 001270E0 41 82 01 64 */ beq lbl_8012A2E4 -/* 8012A184 001270E4 C0 3C 01 40 */ lfs f1, 0x140(r28) -/* 8012A188 001270E8 C0 02 98 68 */ lfs f0, lbl_805AB588@sda21(r2) -/* 8012A18C 001270EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012A190 001270F0 40 80 01 54 */ bge lbl_8012A2E4 -/* 8012A194 001270F4 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 8012A198 001270F8 38 9C 08 A8 */ addi r4, r28, 0x8a8 -/* 8012A19C 001270FC C0 42 98 6C */ lfs f2, lbl_805AB58C@sda21(r2) -/* 8012A1A0 00127100 38 6D 8A A0 */ addi r3, r13, lbl_805A7660@sda21 -/* 8012A1A4 00127104 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) -/* 8012A1A8 00127108 38 AD 8A A4 */ addi r5, r13, lbl_805A7664@sda21 -/* 8012A1AC 0012710C C0 3C 01 40 */ lfs f1, 0x140(r28) -/* 8012A1B0 00127110 C0 1C 08 A8 */ lfs f0, 0x8a8(r28) -/* 8012A1B4 00127114 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8012A1B8 00127118 D0 1C 08 A8 */ stfs f0, 0x8a8(r28) -/* 8012A1BC 0012711C 4B EE 20 F9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8012A1C0 00127120 C0 23 00 00 */ lfs f1, 0(r3) -/* 8012A1C4 00127124 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 8012A1C8 00127128 D0 3C 08 A8 */ stfs f1, 0x8a8(r28) -/* 8012A1CC 0012712C D0 1C 08 BC */ stfs f0, 0x8bc(r28) -/* 8012A1D0 00127130 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 8012A1D4 00127134 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8012A1D8 00127138 41 82 01 0C */ beq lbl_8012A2E4 -/* 8012A1DC 0012713C 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 8012A1E0 00127140 7F 84 E3 78 */ mr r4, r28 -/* 8012A1E4 00127144 48 0B AF ED */ bl LoadAndStartElectric__20CActorModelParticlesFR6CActor -/* 8012A1E8 00127148 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) -/* 8012A1EC 0012714C C0 1C 08 A8 */ lfs f0, 0x8a8(r28) -/* 8012A1F0 00127150 EC 01 00 2A */ fadds f0, f1, f0 -/* 8012A1F4 00127154 D0 1C 08 AC */ stfs f0, 0x8ac(r28) -/* 8012A1F8 00127158 48 00 00 EC */ b lbl_8012A2E4 -/* 8012A1FC 0012715C A0 1E 00 00 */ lhz r0, 0(r30) -/* 8012A200 00127160 7F E3 FB 78 */ mr r3, r31 -/* 8012A204 00127164 38 81 00 1C */ addi r4, r1, 0x1c -/* 8012A208 00127168 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8012A20C 0012716C 4B F2 23 69 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 8012A210 00127170 7C 64 1B 78 */ mr r4, r3 -/* 8012A214 00127174 38 61 00 48 */ addi r3, r1, 0x48 -/* 8012A218 00127178 4B F7 D6 71 */ bl "__ct__35TCastToPtr<21CScriptTargetingPoint>FP7CEntity" -/* 8012A21C 0012717C 80 63 00 04 */ lwz r3, 4(r3) -/* 8012A220 00127180 28 03 00 00 */ cmplwi r3, 0 -/* 8012A224 00127184 41 82 00 C0 */ beq lbl_8012A2E4 -/* 8012A228 00127188 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8012A22C 0012718C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012A230 00127190 41 82 00 34 */ beq lbl_8012A264 -/* 8012A234 00127194 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8012A238 00127198 38 7C 07 64 */ addi r3, r28, 0x764 -/* 8012A23C 0012719C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8012A240 001271A0 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8012A244 001271A4 48 04 AF D5 */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 8012A248 001271A8 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8012A24C 001271AC 38 60 00 01 */ li r3, 1 -/* 8012A250 001271B0 B0 1C 07 C0 */ sth r0, 0x7c0(r28) -/* 8012A254 001271B4 88 1C 04 00 */ lbz r0, 0x400(r28) -/* 8012A258 001271B8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8012A25C 001271BC 98 1C 04 00 */ stb r0, 0x400(r28) -/* 8012A260 001271C0 48 00 00 2C */ b lbl_8012A28C -lbl_8012A264: -/* 8012A264 001271C4 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8012A268 001271C8 38 7C 07 64 */ addi r3, r28, 0x764 -/* 8012A26C 001271CC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8012A270 001271D0 A0 05 00 08 */ lhz r0, 8(r5) -/* 8012A274 001271D4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8012A278 001271D8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8012A27C 001271DC 48 04 AF 9D */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 8012A280 001271E0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8012A284 001271E4 A0 03 00 08 */ lhz r0, 8(r3) -/* 8012A288 001271E8 B0 1C 07 C0 */ sth r0, 0x7c0(r28) -lbl_8012A28C: -/* 8012A28C 001271EC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012A290 001271F0 D0 1C 07 BC */ stfs f0, 0x7bc(r28) -/* 8012A294 001271F4 48 00 00 50 */ b lbl_8012A2E4 -/* 8012A298 001271F8 7F 83 E3 78 */ mr r3, r28 -/* 8012A29C 001271FC 7F E4 FB 78 */ mr r4, r31 -/* 8012A2A0 00127200 4B FF F3 E9 */ bl SquadRemove__12CSpacePirateFR13CStateManager -/* 8012A2A4 00127204 A0 1C 00 08 */ lhz r0, 8(r28) -/* 8012A2A8 00127208 3C 60 80 57 */ lis r3, lbl_8056F85C@ha -/* 8012A2AC 0012720C 38 63 F8 5C */ addi r3, r3, lbl_8056F85C@l -/* 8012A2B0 00127210 38 81 00 0C */ addi r4, r1, 0xc -/* 8012A2B4 00127214 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8012A2B8 00127218 4B FF BA D1 */ bl "remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId" -/* 8012A2BC 0012721C 48 00 00 28 */ b lbl_8012A2E4 -/* 8012A2C0 00127220 88 1C 06 39 */ lbz r0, 0x639(r28) -/* 8012A2C4 00127224 38 60 00 00 */ li r3, 0 -/* 8012A2C8 00127228 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8012A2CC 0012722C 98 1C 06 39 */ stb r0, 0x639(r28) -/* 8012A2D0 00127230 48 00 00 14 */ b lbl_8012A2E4 -/* 8012A2D4 00127234 88 1C 06 39 */ lbz r0, 0x639(r28) -/* 8012A2D8 00127238 38 60 00 01 */ li r3, 1 -/* 8012A2DC 0012723C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8012A2E0 00127240 98 1C 06 39 */ stb r0, 0x639(r28) -lbl_8012A2E4: -/* 8012A2E4 00127244 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8012A2E8 00127248 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8012A2EC 0012724C BB 61 00 8C */ lmw r27, 0x8c(r1) -/* 8012A2F0 00127250 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8012A2F4 00127254 7C 08 03 A6 */ mtlr r0 -/* 8012A2F8 00127258 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8012A2FC 0012725C 4E 80 00 20 */ blr - -.global IsInAir__10CBodyStateCFRC15CBodyController -IsInAir__10CBodyStateCFRC15CBodyController: -/* 8012A300 00127260 38 60 00 00 */ li r3, 0 -/* 8012A304 00127264 4E 80 00 20 */ blr - -.global ApplyGravity__10CBodyStateCFv -ApplyGravity__10CBodyStateCFv: -/* 8012A308 00127268 38 60 00 01 */ li r3, 1 -/* 8012A30C 0012726C 4E 80 00 20 */ blr - -.global Accept__12CSpacePirateFR8IVisitor -Accept__12CSpacePirateFR8IVisitor: -/* 8012A310 00127270 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012A314 00127274 7C 08 02 A6 */ mflr r0 -/* 8012A318 00127278 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012A31C 0012727C 7C 60 1B 78 */ mr r0, r3 -/* 8012A320 00127280 7C 83 23 78 */ mr r3, r4 -/* 8012A324 00127284 81 84 00 00 */ lwz r12, 0(r4) -/* 8012A328 00127288 7C 04 03 78 */ mr r4, r0 -/* 8012A32C 0012728C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8012A330 00127290 7D 89 03 A6 */ mtctr r12 -/* 8012A334 00127294 4E 80 04 21 */ bctrl -/* 8012A338 00127298 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012A33C 0012729C 7C 08 03 A6 */ mtlr r0 -/* 8012A340 001272A0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012A344 001272A4 4E 80 00 20 */ blr - -.global "__ct__12CSpacePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoiififfUiUiRC11CDamageInfoUsRC11CDamageInfoiUi11CDamageInfoiUsffUsfi" -"__ct__12CSpacePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoiififfUiUiRC11CDamageInfoUsRC11CDamageInfoiUi11CDamageInfoiUsffUsfi": -/* 8012A348 001272A8 94 21 FD 80 */ stwu r1, -0x280(r1) -/* 8012A34C 001272AC 7C 08 02 A6 */ mflr r0 -/* 8012A350 001272B0 7C CC 33 78 */ mr r12, r6 -/* 8012A354 001272B4 7C EB 3B 78 */ mr r11, r7 -/* 8012A358 001272B8 90 01 02 84 */ stw r0, 0x284(r1) -/* 8012A35C 001272BC 7C A6 2B 78 */ mr r6, r5 -/* 8012A360 001272C0 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8012A364 001272C4 38 E0 00 00 */ li r7, 0 -/* 8012A368 001272C8 93 E1 02 7C */ stw r31, 0x27c(r1) -/* 8012A36C 001272CC 83 E1 02 8C */ lwz r31, 0x28c(r1) -/* 8012A370 001272D0 93 C1 02 78 */ stw r30, 0x278(r1) -/* 8012A374 001272D4 7D 5E 53 78 */ mr r30, r10 -/* 8012A378 001272D8 7D 0A 43 78 */ mr r10, r8 -/* 8012A37C 001272DC 7D 88 63 78 */ mr r8, r12 -/* 8012A380 001272E0 93 A1 02 74 */ stw r29, 0x274(r1) -/* 8012A384 001272E4 7C 7D 1B 78 */ mr r29, r3 -/* 8012A388 001272E8 93 81 02 70 */ stw r28, 0x270(r1) -/* 8012A38C 001272EC 83 81 02 88 */ lwz r28, 0x288(r1) -/* 8012A390 001272F0 A0 04 00 00 */ lhz r0, 0(r4) -/* 8012A394 001272F4 38 80 00 00 */ li r4, 0 -/* 8012A398 001272F8 B0 01 00 34 */ sth r0, 0x34(r1) -/* 8012A39C 001272FC 38 00 00 01 */ li r0, 1 -/* 8012A3A0 00127300 93 C1 00 08 */ stw r30, 8(r1) -/* 8012A3A4 00127304 90 81 00 0C */ stw r4, 0xc(r1) -/* 8012A3A8 00127308 38 80 00 22 */ li r4, 0x22 -/* 8012A3AC 0012730C 90 01 00 10 */ stw r0, 0x10(r1) -/* 8012A3B0 00127310 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012A3B4 00127314 91 21 00 18 */ stw r9, 0x18(r1) -/* 8012A3B8 00127318 7D 69 5B 78 */ mr r9, r11 -/* 8012A3BC 0012731C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8012A3C0 00127320 4B F5 30 91 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 8012A3C4 00127324 3C 60 80 3E */ lis r3, lbl_803E0800@ha -/* 8012A3C8 00127328 7F 84 E3 78 */ mr r4, r28 -/* 8012A3CC 0012732C 38 03 08 00 */ addi r0, r3, lbl_803E0800@l -/* 8012A3D0 00127330 7F E5 FB 78 */ mr r5, r31 -/* 8012A3D4 00127334 90 1D 00 00 */ stw r0, 0(r29) -/* 8012A3D8 00127338 38 7D 05 68 */ addi r3, r29, 0x568 -/* 8012A3DC 0012733C 48 00 0C 79 */ bl __ct__Q212CSpacePirate16CSpacePirateDataFR12CInputStreamUi -/* 8012A3E0 00127340 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A3E4 00127344 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012A3E8 00127348 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8012A3EC 0012734C 98 1D 06 34 */ stb r0, 0x634(r29) -/* 8012A3F0 00127350 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A3F4 00127354 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012A3F8 00127358 50 60 2E 72 */ rlwimi r0, r3, 5, 0x19, 0x19 -/* 8012A3FC 0012735C 98 1D 06 34 */ stb r0, 0x634(r29) -/* 8012A400 00127360 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A404 00127364 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012A408 00127368 50 60 1E B4 */ rlwimi r0, r3, 3, 0x1a, 0x1a -/* 8012A40C 0012736C 98 1D 06 34 */ stb r0, 0x634(r29) -/* 8012A410 00127370 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A414 00127374 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012A418 00127378 50 60 0E F6 */ rlwimi r0, r3, 1, 0x1b, 0x1b -/* 8012A41C 0012737C 98 1D 06 34 */ stb r0, 0x634(r29) -/* 8012A420 00127380 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A424 00127384 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012A428 00127388 50 60 FF 38 */ rlwimi r0, r3, 0x1f, 0x1c, 0x1c -/* 8012A42C 0012738C 98 1D 06 34 */ stb r0, 0x634(r29) -/* 8012A430 00127390 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A434 00127394 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012A438 00127398 50 60 EF 7A */ rlwimi r0, r3, 0x1d, 0x1d, 0x1d -/* 8012A43C 0012739C 98 1D 06 34 */ stb r0, 0x634(r29) -/* 8012A440 001273A0 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A444 001273A4 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012A448 001273A8 50 60 DF BC */ rlwimi r0, r3, 0x1b, 0x1e, 0x1e -/* 8012A44C 001273AC 98 1D 06 34 */ stb r0, 0x634(r29) -/* 8012A450 001273B0 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A454 001273B4 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012A458 001273B8 50 60 CF FE */ rlwimi r0, r3, 0x19, 0x1f, 0x1f -/* 8012A45C 001273BC 98 1D 06 34 */ stb r0, 0x634(r29) -/* 8012A460 001273C0 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A464 001273C4 88 1D 06 35 */ lbz r0, 0x635(r29) -/* 8012A468 001273C8 50 60 F6 30 */ rlwimi r0, r3, 0x1e, 0x18, 0x18 -/* 8012A46C 001273CC 98 1D 06 35 */ stb r0, 0x635(r29) -/* 8012A470 001273D0 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A474 001273D4 88 1D 06 35 */ lbz r0, 0x635(r29) -/* 8012A478 001273D8 50 60 E6 72 */ rlwimi r0, r3, 0x1c, 0x19, 0x19 -/* 8012A47C 001273DC 98 1D 06 35 */ stb r0, 0x635(r29) -/* 8012A480 001273E0 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A484 001273E4 88 1D 06 35 */ lbz r0, 0x635(r29) -/* 8012A488 001273E8 50 60 CE B4 */ rlwimi r0, r3, 0x19, 0x1a, 0x1a -/* 8012A48C 001273EC 98 1D 06 35 */ stb r0, 0x635(r29) -/* 8012A490 001273F0 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A494 001273F4 88 1D 06 35 */ lbz r0, 0x635(r29) -/* 8012A498 001273F8 50 60 BE F6 */ rlwimi r0, r3, 0x17, 0x1b, 0x1b -/* 8012A49C 001273FC 98 1D 06 35 */ stb r0, 0x635(r29) -/* 8012A4A0 00127400 80 7D 05 80 */ lwz r3, 0x580(r29) -/* 8012A4A4 00127404 88 1D 06 35 */ lbz r0, 0x635(r29) -/* 8012A4A8 00127408 50 60 AF 38 */ rlwimi r0, r3, 0x15, 0x1c, 0x1c -/* 8012A4AC 0012740C 98 1D 06 35 */ stb r0, 0x635(r29) -/* 8012A4B0 00127410 80 9D 05 80 */ lwz r4, 0x580(r29) -/* 8012A4B4 00127414 38 00 00 00 */ li r0, 0 -/* 8012A4B8 00127418 88 7D 06 35 */ lbz r3, 0x635(r29) -/* 8012A4BC 0012741C 50 83 9F 7A */ rlwimi r3, r4, 0x13, 0x1d, 0x1d -/* 8012A4C0 00127420 98 7D 06 35 */ stb r3, 0x635(r29) -/* 8012A4C4 00127424 80 9D 05 80 */ lwz r4, 0x580(r29) -/* 8012A4C8 00127428 88 7D 06 35 */ lbz r3, 0x635(r29) -/* 8012A4CC 0012742C 50 83 8F BC */ rlwimi r3, r4, 0x11, 0x1e, 0x1e -/* 8012A4D0 00127430 98 7D 06 35 */ stb r3, 0x635(r29) -/* 8012A4D4 00127434 80 9D 05 80 */ lwz r4, 0x580(r29) -/* 8012A4D8 00127438 88 7D 06 35 */ lbz r3, 0x635(r29) -/* 8012A4DC 0012743C 50 83 7F FE */ rlwimi r3, r4, 0xf, 0x1f, 0x1f -/* 8012A4E0 00127440 98 7D 06 35 */ stb r3, 0x635(r29) -/* 8012A4E4 00127444 80 9D 05 80 */ lwz r4, 0x580(r29) -/* 8012A4E8 00127448 88 7D 06 36 */ lbz r3, 0x636(r29) -/* 8012A4EC 0012744C 50 83 AE 30 */ rlwimi r3, r4, 0x15, 0x18, 0x18 -/* 8012A4F0 00127450 98 7D 06 36 */ stb r3, 0x636(r29) -/* 8012A4F4 00127454 88 7D 06 36 */ lbz r3, 0x636(r29) -/* 8012A4F8 00127458 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 -/* 8012A4FC 0012745C 98 7D 06 36 */ stb r3, 0x636(r29) -/* 8012A500 00127460 88 7D 06 36 */ lbz r3, 0x636(r29) -/* 8012A504 00127464 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a -/* 8012A508 00127468 98 7D 06 36 */ stb r3, 0x636(r29) -/* 8012A50C 0012746C 88 7D 06 36 */ lbz r3, 0x636(r29) -/* 8012A510 00127470 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 8012A514 00127474 98 7D 06 36 */ stb r3, 0x636(r29) -/* 8012A518 00127478 88 7D 06 36 */ lbz r3, 0x636(r29) -/* 8012A51C 0012747C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 8012A520 00127480 98 7D 06 36 */ stb r3, 0x636(r29) -/* 8012A524 00127484 88 7D 06 36 */ lbz r3, 0x636(r29) -/* 8012A528 00127488 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d -/* 8012A52C 0012748C 98 7D 06 36 */ stb r3, 0x636(r29) -/* 8012A530 00127490 88 7D 06 36 */ lbz r3, 0x636(r29) -/* 8012A534 00127494 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e -/* 8012A538 00127498 98 7D 06 36 */ stb r3, 0x636(r29) -/* 8012A53C 0012749C 88 7D 06 37 */ lbz r3, 0x637(r29) -/* 8012A540 001274A0 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 8012A544 001274A4 98 7D 06 37 */ stb r3, 0x637(r29) -/* 8012A548 001274A8 88 7D 06 37 */ lbz r3, 0x637(r29) -/* 8012A54C 001274AC 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 -/* 8012A550 001274B0 98 7D 06 37 */ stb r3, 0x637(r29) -/* 8012A554 001274B4 88 7D 06 37 */ lbz r3, 0x637(r29) -/* 8012A558 001274B8 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a -/* 8012A55C 001274BC 98 7D 06 37 */ stb r3, 0x637(r29) -/* 8012A560 001274C0 88 7D 06 37 */ lbz r3, 0x637(r29) -/* 8012A564 001274C4 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 8012A568 001274C8 98 7D 06 37 */ stb r3, 0x637(r29) -/* 8012A56C 001274CC 88 7D 06 37 */ lbz r3, 0x637(r29) -/* 8012A570 001274D0 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 8012A574 001274D4 98 7D 06 37 */ stb r3, 0x637(r29) -/* 8012A578 001274D8 88 7D 06 37 */ lbz r3, 0x637(r29) -/* 8012A57C 001274DC 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d -/* 8012A580 001274E0 98 7D 06 37 */ stb r3, 0x637(r29) -/* 8012A584 001274E4 88 7D 06 37 */ lbz r3, 0x637(r29) -/* 8012A588 001274E8 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e -/* 8012A58C 001274EC 98 7D 06 37 */ stb r3, 0x637(r29) -/* 8012A590 001274F0 88 7D 06 37 */ lbz r3, 0x637(r29) -/* 8012A594 001274F4 50 03 07 FE */ rlwimi r3, r0, 0, 0x1f, 0x1f -/* 8012A598 001274F8 98 7D 06 37 */ stb r3, 0x637(r29) -/* 8012A59C 001274FC 88 7D 06 38 */ lbz r3, 0x638(r29) -/* 8012A5A0 00127500 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 8012A5A4 00127504 98 7D 06 38 */ stb r3, 0x638(r29) -/* 8012A5A8 00127508 88 7D 06 38 */ lbz r3, 0x638(r29) -/* 8012A5AC 0012750C 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 -/* 8012A5B0 00127510 98 7D 06 38 */ stb r3, 0x638(r29) -/* 8012A5B4 00127514 88 7D 06 38 */ lbz r3, 0x638(r29) -/* 8012A5B8 00127518 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a -/* 8012A5BC 0012751C 98 7D 06 38 */ stb r3, 0x638(r29) -/* 8012A5C0 00127520 88 7D 06 38 */ lbz r3, 0x638(r29) -/* 8012A5C4 00127524 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 8012A5C8 00127528 98 7D 06 38 */ stb r3, 0x638(r29) -/* 8012A5CC 0012752C 88 7D 06 38 */ lbz r3, 0x638(r29) -/* 8012A5D0 00127530 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 8012A5D4 00127534 3C 80 80 5A */ lis r4, lbl_805A6724@ha -/* 8012A5D8 00127538 C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) -/* 8012A5DC 0012753C 98 7D 06 38 */ stb r3, 0x638(r29) -/* 8012A5E0 00127540 38 C4 67 24 */ addi r6, r4, lbl_805A6724@l -/* 8012A5E4 00127544 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8012A5E8 00127548 FC 40 08 90 */ fmr f2, f1 -/* 8012A5EC 0012754C 88 9D 06 38 */ lbz r4, 0x638(r29) -/* 8012A5F0 00127550 50 04 17 7A */ rlwimi r4, r0, 2, 0x1d, 0x1d -/* 8012A5F4 00127554 3B E3 66 A0 */ addi r31, r3, skZero3f@l -/* 8012A5F8 00127558 38 7D 06 60 */ addi r3, r29, 0x660 -/* 8012A5FC 0012755C 98 9D 06 38 */ stb r4, 0x638(r29) -/* 8012A600 00127560 38 80 00 00 */ li r4, 0 -/* 8012A604 00127564 38 A0 00 01 */ li r5, 1 -/* 8012A608 00127568 88 FD 06 38 */ lbz r7, 0x638(r29) -/* 8012A60C 0012756C 50 07 0F BC */ rlwimi r7, r0, 1, 0x1e, 0x1e -/* 8012A610 00127570 98 FD 06 38 */ stb r7, 0x638(r29) -/* 8012A614 00127574 88 FD 06 38 */ lbz r7, 0x638(r29) -/* 8012A618 00127578 50 07 07 FE */ rlwimi r7, r0, 0, 0x1f, 0x1f -/* 8012A61C 0012757C 98 FD 06 38 */ stb r7, 0x638(r29) -/* 8012A620 00127580 88 FD 06 39 */ lbz r7, 0x639(r29) -/* 8012A624 00127584 50 07 3E 30 */ rlwimi r7, r0, 7, 0x18, 0x18 -/* 8012A628 00127588 98 FD 06 39 */ stb r7, 0x639(r29) -/* 8012A62C 0012758C 88 FD 06 39 */ lbz r7, 0x639(r29) -/* 8012A630 00127590 50 07 36 72 */ rlwimi r7, r0, 6, 0x19, 0x19 -/* 8012A634 00127594 98 FD 06 39 */ stb r7, 0x639(r29) -/* 8012A638 00127598 88 FD 06 39 */ lbz r7, 0x639(r29) -/* 8012A63C 0012759C 50 07 2E B4 */ rlwimi r7, r0, 5, 0x1a, 0x1a -/* 8012A640 001275A0 98 FD 06 39 */ stb r7, 0x639(r29) -/* 8012A644 001275A4 88 FD 06 39 */ lbz r7, 0x639(r29) -/* 8012A648 001275A8 50 07 26 F6 */ rlwimi r7, r0, 4, 0x1b, 0x1b -/* 8012A64C 001275AC 98 FD 06 39 */ stb r7, 0x639(r29) -/* 8012A650 001275B0 88 FD 06 39 */ lbz r7, 0x639(r29) -/* 8012A654 001275B4 50 07 1F 38 */ rlwimi r7, r0, 3, 0x1c, 0x1c -/* 8012A658 001275B8 98 FD 06 39 */ stb r7, 0x639(r29) -/* 8012A65C 001275BC 88 FD 06 39 */ lbz r7, 0x639(r29) -/* 8012A660 001275C0 50 07 0F BC */ rlwimi r7, r0, 1, 0x1e, 0x1e -/* 8012A664 001275C4 98 FD 06 39 */ stb r7, 0x639(r29) -/* 8012A668 001275C8 88 FD 06 39 */ lbz r7, 0x639(r29) -/* 8012A66C 001275CC 50 07 07 FE */ rlwimi r7, r0, 0, 0x1f, 0x1f -/* 8012A670 001275D0 98 FD 06 39 */ stb r7, 0x639(r29) -/* 8012A674 001275D4 88 FD 06 3A */ lbz r7, 0x63a(r29) -/* 8012A678 001275D8 50 07 3E 30 */ rlwimi r7, r0, 7, 0x18, 0x18 -/* 8012A67C 001275DC 98 FD 06 3A */ stb r7, 0x63a(r29) -/* 8012A680 001275E0 90 1D 06 3C */ stw r0, 0x63c(r29) -/* 8012A684 001275E4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8012A688 001275E8 B0 1D 06 40 */ sth r0, 0x640(r29) -/* 8012A68C 001275EC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8012A690 001275F0 B0 1D 06 42 */ sth r0, 0x642(r29) -/* 8012A694 001275F4 D0 3D 06 44 */ stfs f1, 0x644(r29) -/* 8012A698 001275F8 C0 06 00 00 */ lfs f0, 0(r6) -/* 8012A69C 001275FC D0 1D 06 48 */ stfs f0, 0x648(r29) -/* 8012A6A0 00127600 C0 06 00 04 */ lfs f0, 4(r6) -/* 8012A6A4 00127604 D0 1D 06 4C */ stfs f0, 0x64c(r29) -/* 8012A6A8 00127608 C0 06 00 08 */ lfs f0, 8(r6) -/* 8012A6AC 0012760C D0 1D 06 50 */ stfs f0, 0x650(r29) -/* 8012A6B0 00127610 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8012A6B4 00127614 D0 1D 06 54 */ stfs f0, 0x654(r29) -/* 8012A6B8 00127618 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8012A6BC 0012761C D0 1D 06 58 */ stfs f0, 0x658(r29) -/* 8012A6C0 00127620 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8012A6C4 00127624 D0 1D 06 5C */ stfs f0, 0x65c(r29) -/* 8012A6C8 00127628 80 DE 01 0C */ lwz r6, 0x10c(r30) -/* 8012A6CC 0012762C 48 09 E6 C9 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff -/* 8012A6D0 00127630 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 8012A6D4 00127634 3C 60 80 3D */ lis r3, lbl_803CFF70@ha -/* 8012A6D8 00127638 38 83 FF 70 */ addi r4, r3, lbl_803CFF70@l -/* 8012A6DC 0012763C 38 C0 00 00 */ li r6, 0 -/* 8012A6E0 00127640 D0 3D 07 48 */ stfs f1, 0x748(r29) -/* 8012A6E4 00127644 38 A0 00 FF */ li r5, 0xff -/* 8012A6E8 00127648 38 00 FF FF */ li r0, -1 -/* 8012A6EC 0012764C 38 61 01 88 */ addi r3, r1, 0x188 -/* 8012A6F0 00127650 90 DD 07 4C */ stw r6, 0x74c(r29) -/* 8012A6F4 00127654 38 84 00 1A */ addi r4, r4, 0x1a -/* 8012A6F8 00127658 C0 1E 00 54 */ lfs f0, 0x54(r30) -/* 8012A6FC 0012765C D0 1D 07 50 */ stfs f0, 0x750(r29) -/* 8012A700 00127660 D0 3D 07 54 */ stfs f1, 0x754(r29) -/* 8012A704 00127664 98 BD 07 58 */ stb r5, 0x758(r29) -/* 8012A708 00127668 90 DD 07 5C */ stw r6, 0x75c(r29) -/* 8012A70C 0012766C 90 1D 07 60 */ stw r0, 0x760(r29) -/* 8012A710 00127670 4B ED A5 A9 */ bl string_l__4rstlFPCc -/* 8012A714 00127674 80 9D 00 64 */ lwz r4, 0x64(r29) -/* 8012A718 00127678 38 7D 07 64 */ addi r3, r29, 0x764 -/* 8012A71C 0012767C C0 22 98 70 */ lfs f1, lbl_805AB590@sda21(r2) -/* 8012A720 00127680 38 A1 01 88 */ addi r5, r1, 0x188 -/* 8012A724 00127684 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8012A728 00127688 38 C0 00 00 */ li r6, 0 -/* 8012A72C 0012768C C0 42 98 74 */ lfs f2, lbl_805AB594@sda21(r2) -/* 8012A730 00127690 48 04 B2 89 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" -/* 8012A734 00127694 38 61 01 88 */ addi r3, r1, 0x188 -/* 8012A738 00127698 48 21 33 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012A73C 0012769C 38 00 FF FF */ li r0, -1 -/* 8012A740 001276A0 3C 60 80 3E */ lis r3, lbl_803E0700@ha -/* 8012A744 001276A4 90 1D 07 9C */ stw r0, 0x79c(r29) -/* 8012A748 001276A8 38 83 07 00 */ addi r4, r3, lbl_803E0700@l -/* 8012A74C 001276AC C0 42 97 D8 */ lfs f2, lbl_805AB4F8@sda21(r2) -/* 8012A750 001276B0 38 A0 00 00 */ li r5, 0 -/* 8012A754 001276B4 C0 22 97 DC */ lfs f1, lbl_805AB4FC@sda21(r2) -/* 8012A758 001276B8 38 00 00 FF */ li r0, 0xff -/* 8012A75C 001276BC D0 5D 07 A4 */ stfs f2, 0x7a4(r29) -/* 8012A760 001276C0 38 7D 07 C4 */ addi r3, r29, 0x7c4 -/* 8012A764 001276C4 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012A768 001276C8 D0 3D 07 A8 */ stfs f1, 0x7a8(r29) -/* 8012A76C 001276CC D0 1D 07 AC */ stfs f0, 0x7ac(r29) -/* 8012A770 001276D0 90 BD 07 B0 */ stw r5, 0x7b0(r29) -/* 8012A774 001276D4 A0 AD A3 8C */ lhz r5, lbl_805A8F4C@sda21(r13) -/* 8012A778 001276D8 B0 BD 07 B4 */ sth r5, 0x7b4(r29) -/* 8012A77C 001276DC 98 1D 07 B6 */ stb r0, 0x7b6(r29) -/* 8012A780 001276E0 98 1D 07 B7 */ stb r0, 0x7b7(r29) -/* 8012A784 001276E4 98 1D 07 B8 */ stb r0, 0x7b8(r29) -/* 8012A788 001276E8 98 1D 07 B9 */ stb r0, 0x7b9(r29) -/* 8012A78C 001276EC D0 5D 07 BC */ stfs f2, 0x7bc(r29) -/* 8012A790 001276F0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8012A794 001276F4 B0 1D 07 C0 */ sth r0, 0x7c0(r29) -/* 8012A798 001276F8 80 BD 06 14 */ lwz r5, 0x614(r29) -/* 8012A79C 001276FC 48 08 2D 69 */ bl __ct__10CBurstFireFPPC6SBursti -/* 8012A7A0 00127700 C0 62 98 24 */ lfs f3, lbl_805AB544@sda21(r2) -/* 8012A7A4 00127704 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8012A7A8 00127708 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8012A7AC 0012770C 38 A0 FF FF */ li r5, -1 -/* 8012A7B0 00127710 D0 7D 08 24 */ stfs f3, 0x824(r29) -/* 8012A7B4 00127714 38 00 00 00 */ li r0, 0 -/* 8012A7B8 00127718 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 8012A7BC 0012771C 38 7D 08 60 */ addi r3, r29, 0x860 -/* 8012A7C0 00127720 C0 44 00 00 */ lfs f2, 0(r4) -/* 8012A7C4 00127724 C0 02 98 10 */ lfs f0, lbl_805AB530@sda21(r2) -/* 8012A7C8 00127728 D0 5D 08 28 */ stfs f2, 0x828(r29) -/* 8012A7CC 0012772C C0 5F 00 04 */ lfs f2, 4(r31) -/* 8012A7D0 00127730 D0 5D 08 2C */ stfs f2, 0x82c(r29) -/* 8012A7D4 00127734 C0 5F 00 08 */ lfs f2, 8(r31) -/* 8012A7D8 00127738 D0 5D 08 30 */ stfs f2, 0x830(r29) -/* 8012A7DC 0012773C 90 BD 08 34 */ stw r5, 0x834(r29) -/* 8012A7E0 00127740 D0 3D 08 38 */ stfs f1, 0x838(r29) -/* 8012A7E4 00127744 90 BD 08 3C */ stw r5, 0x83c(r29) -/* 8012A7E8 00127748 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8012A7EC 0012774C B0 9D 08 40 */ sth r4, 0x840(r29) -/* 8012A7F0 00127750 90 BD 08 44 */ stw r5, 0x844(r29) -/* 8012A7F4 00127754 D0 7D 08 48 */ stfs f3, 0x848(r29) -/* 8012A7F8 00127758 D0 7D 08 4C */ stfs f3, 0x84c(r29) -/* 8012A7FC 0012775C D0 1D 08 50 */ stfs f0, 0x850(r29) -/* 8012A800 00127760 D0 1D 08 54 */ stfs f0, 0x854(r29) -/* 8012A804 00127764 D0 3D 08 58 */ stfs f1, 0x858(r29) -/* 8012A808 00127768 90 1D 08 5C */ stw r0, 0x85c(r29) -/* 8012A80C 0012776C 48 00 07 91 */ bl __ct__8CIkChainFv -/* 8012A810 00127770 C0 22 97 BC */ lfs f1, lbl_805AB4DC@sda21(r2) -/* 8012A814 00127774 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 8012A818 00127778 D0 3D 08 A8 */ stfs f1, 0x8a8(r29) -/* 8012A81C 0012777C D0 3D 08 AC */ stfs f1, 0x8ac(r29) -/* 8012A820 00127780 D0 3D 08 B0 */ stfs f1, 0x8b0(r29) -/* 8012A824 00127784 D0 1D 08 B4 */ stfs f0, 0x8b4(r29) -/* 8012A828 00127788 C0 1D 06 18 */ lfs f0, 0x618(r29) -/* 8012A82C 0012778C D0 1D 08 B8 */ stfs f0, 0x8b8(r29) -/* 8012A830 00127790 C0 1D 06 1C */ lfs f0, 0x61c(r29) -/* 8012A834 00127794 D0 1D 08 BC */ stfs f0, 0x8bc(r29) -/* 8012A838 00127798 C0 1D 06 20 */ lfs f0, 0x620(r29) -/* 8012A83C 0012779C D0 1D 08 C0 */ stfs f0, 0x8c0(r29) -/* 8012A840 001277A0 C0 1D 06 10 */ lfs f0, 0x610(r29) -/* 8012A844 001277A4 D0 1D 08 C4 */ stfs f0, 0x8c4(r29) -/* 8012A848 001277A8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8012A84C 001277AC B0 1D 08 C8 */ sth r0, 0x8c8(r29) -/* 8012A850 001277B0 48 21 F7 5D */ bl White__6CColorFv -/* 8012A854 001277B4 80 03 00 00 */ lwz r0, 0(r3) -/* 8012A858 001277B8 3C 60 80 3D */ lis r3, lbl_803CFF70@ha -/* 8012A85C 001277BC 38 83 FF 70 */ addi r4, r3, lbl_803CFF70@l -/* 8012A860 001277C0 38 AD A8 98 */ addi r5, r13, lbl_805A9458@sda21 -/* 8012A864 001277C4 90 1D 08 CC */ stw r0, 0x8cc(r29) -/* 8012A868 001277C8 38 61 01 78 */ addi r3, r1, 0x178 -/* 8012A86C 001277CC C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012A870 001277D0 38 84 00 1A */ addi r4, r4, 0x1a -/* 8012A874 001277D4 C0 2D A8 98 */ lfs f1, lbl_805A9458@sda21(r13) -/* 8012A878 001277D8 D0 3D 08 D0 */ stfs f1, 0x8d0(r29) -/* 8012A87C 001277DC C0 25 00 04 */ lfs f1, 4(r5) -/* 8012A880 001277E0 D0 3D 08 D4 */ stfs f1, 0x8d4(r29) -/* 8012A884 001277E4 D0 1D 08 D8 */ stfs f0, 0x8d8(r29) -/* 8012A888 001277E8 D0 1D 08 DC */ stfs f0, 0x8dc(r29) -/* 8012A88C 001277EC 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 8012A890 001277F0 83 C5 00 10 */ lwz r30, 0x10(r5) -/* 8012A894 001277F4 4B ED A4 25 */ bl string_l__4rstlFPCc -/* 8012A898 001277F8 7F C4 F3 78 */ mr r4, r30 -/* 8012A89C 001277FC 38 61 00 30 */ addi r3, r1, 0x30 -/* 8012A8A0 00127800 38 A1 01 78 */ addi r5, r1, 0x178 -/* 8012A8A4 00127804 4B F0 3F 95 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012A8A8 00127808 88 01 00 30 */ lbz r0, 0x30(r1) -/* 8012A8AC 0012780C 38 61 01 78 */ addi r3, r1, 0x178 -/* 8012A8B0 00127810 98 1D 07 58 */ stb r0, 0x758(r29) -/* 8012A8B4 00127814 48 21 32 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012A8B8 00127818 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012A8BC 0012781C 38 61 01 68 */ addi r3, r1, 0x168 -/* 8012A8C0 00127820 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012A8C4 00127824 38 84 00 21 */ addi r4, r4, 0x21 -/* 8012A8C8 00127828 4B ED A3 F1 */ bl string_l__4rstlFPCc -/* 8012A8CC 0012782C 7F C4 F3 78 */ mr r4, r30 -/* 8012A8D0 00127830 38 61 00 2C */ addi r3, r1, 0x2c -/* 8012A8D4 00127834 38 A1 01 68 */ addi r5, r1, 0x168 -/* 8012A8D8 00127838 4B F0 3F 61 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012A8DC 0012783C 88 01 00 2C */ lbz r0, 0x2c(r1) -/* 8012A8E0 00127840 38 61 01 68 */ addi r3, r1, 0x168 -/* 8012A8E4 00127844 98 1D 07 B6 */ stb r0, 0x7b6(r29) -/* 8012A8E8 00127848 48 21 31 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012A8EC 0012784C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012A8F0 00127850 38 61 01 58 */ addi r3, r1, 0x158 -/* 8012A8F4 00127854 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012A8F8 00127858 38 84 00 2C */ addi r4, r4, 0x2c -/* 8012A8FC 0012785C 4B ED A3 BD */ bl string_l__4rstlFPCc -/* 8012A900 00127860 7F C4 F3 78 */ mr r4, r30 -/* 8012A904 00127864 38 61 00 28 */ addi r3, r1, 0x28 -/* 8012A908 00127868 38 A1 01 58 */ addi r5, r1, 0x158 -/* 8012A90C 0012786C 4B F0 3F 2D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012A910 00127870 88 01 00 28 */ lbz r0, 0x28(r1) -/* 8012A914 00127874 38 61 01 58 */ addi r3, r1, 0x158 -/* 8012A918 00127878 98 1D 07 B7 */ stb r0, 0x7b7(r29) -/* 8012A91C 0012787C 48 21 31 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012A920 00127880 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012A924 00127884 38 61 01 48 */ addi r3, r1, 0x148 -/* 8012A928 00127888 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012A92C 0012788C 38 84 00 34 */ addi r4, r4, 0x34 -/* 8012A930 00127890 4B ED A3 89 */ bl string_l__4rstlFPCc -/* 8012A934 00127894 7F C4 F3 78 */ mr r4, r30 -/* 8012A938 00127898 38 61 00 24 */ addi r3, r1, 0x24 -/* 8012A93C 0012789C 38 A1 01 48 */ addi r5, r1, 0x148 -/* 8012A940 001278A0 4B F0 3E F9 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012A944 001278A4 88 01 00 24 */ lbz r0, 0x24(r1) -/* 8012A948 001278A8 38 61 01 48 */ addi r3, r1, 0x148 -/* 8012A94C 001278AC 98 1D 07 B8 */ stb r0, 0x7b8(r29) -/* 8012A950 001278B0 48 21 31 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012A954 001278B4 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012A958 001278B8 38 61 01 38 */ addi r3, r1, 0x138 -/* 8012A95C 001278BC 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012A960 001278C0 38 84 00 3C */ addi r4, r4, 0x3c -/* 8012A964 001278C4 4B ED A3 55 */ bl string_l__4rstlFPCc -/* 8012A968 001278C8 7F C4 F3 78 */ mr r4, r30 -/* 8012A96C 001278CC 38 61 00 20 */ addi r3, r1, 0x20 -/* 8012A970 001278D0 38 A1 01 38 */ addi r5, r1, 0x138 -/* 8012A974 001278D4 4B F0 3E C5 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012A978 001278D8 88 01 00 20 */ lbz r0, 0x20(r1) -/* 8012A97C 001278DC 38 61 01 38 */ addi r3, r1, 0x138 -/* 8012A980 001278E0 98 1D 07 B9 */ stb r0, 0x7b9(r29) -/* 8012A984 001278E4 48 21 31 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012A988 001278E8 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012A98C 001278EC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8012A990 001278F0 40 82 02 FC */ bne lbl_8012AC8C -/* 8012A994 001278F4 38 61 00 EC */ addi r3, r1, 0xec -/* 8012A998 001278F8 48 1B 86 E5 */ bl NoParameter__12CPASAnimParmFv -/* 8012A99C 001278FC 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 8012A9A0 00127900 48 1B 86 DD */ bl NoParameter__12CPASAnimParmFv -/* 8012A9A4 00127904 38 61 00 FC */ addi r3, r1, 0xfc -/* 8012A9A8 00127908 48 1B 86 D5 */ bl NoParameter__12CPASAnimParmFv -/* 8012A9AC 0012790C 38 61 01 04 */ addi r3, r1, 0x104 -/* 8012A9B0 00127910 48 1B 86 CD */ bl NoParameter__12CPASAnimParmFv -/* 8012A9B4 00127914 38 61 01 0C */ addi r3, r1, 0x10c -/* 8012A9B8 00127918 48 1B 86 C5 */ bl NoParameter__12CPASAnimParmFv -/* 8012A9BC 0012791C 38 61 01 14 */ addi r3, r1, 0x114 -/* 8012A9C0 00127920 48 1B 86 BD */ bl NoParameter__12CPASAnimParmFv -/* 8012A9C4 00127924 38 61 01 1C */ addi r3, r1, 0x11c -/* 8012A9C8 00127928 38 80 00 00 */ li r4, 0 -/* 8012A9CC 0012792C 48 1B 85 B9 */ bl FromEnum__12CPASAnimParmFi -/* 8012A9D0 00127930 38 61 01 24 */ addi r3, r1, 0x124 -/* 8012A9D4 00127934 38 80 00 00 */ li r4, 0 -/* 8012A9D8 00127938 48 1B 85 AD */ bl FromEnum__12CPASAnimParmFi -/* 8012A9DC 0012793C 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 8012A9E0 00127940 38 01 00 EC */ addi r0, r1, 0xec -/* 8012A9E4 00127944 90 61 00 08 */ stw r3, 8(r1) -/* 8012A9E8 00127948 38 61 02 28 */ addi r3, r1, 0x228 -/* 8012A9EC 0012794C 38 A1 01 24 */ addi r5, r1, 0x124 -/* 8012A9F0 00127950 38 C1 01 1C */ addi r6, r1, 0x11c -/* 8012A9F4 00127954 90 01 00 0C */ stw r0, 0xc(r1) -/* 8012A9F8 00127958 38 E1 01 14 */ addi r7, r1, 0x114 -/* 8012A9FC 0012795C 39 01 01 0C */ addi r8, r1, 0x10c -/* 8012AA00 00127960 39 21 01 04 */ addi r9, r1, 0x104 -/* 8012AA04 00127964 39 41 00 FC */ addi r10, r1, 0xfc -/* 8012AA08 00127968 38 80 00 0D */ li r4, 0xd -/* 8012AA0C 0012796C 4B F5 28 B9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8012AA10 00127970 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 8012AA14 00127974 7F A3 EB 78 */ mr r3, r29 -/* 8012AA18 00127978 38 81 02 28 */ addi r4, r1, 0x228 -/* 8012AA1C 0012797C C0 45 00 00 */ lfs f2, 0(r5) -/* 8012AA20 00127980 C0 25 00 04 */ lfs f1, 4(r5) -/* 8012AA24 00127984 C0 05 00 08 */ lfs f0, 8(r5) -/* 8012AA28 00127988 D0 41 01 2C */ stfs f2, 0x12c(r1) -/* 8012AA2C 0012798C D0 21 01 30 */ stfs f1, 0x130(r1) -/* 8012AA30 00127990 D0 01 01 34 */ stfs f0, 0x134(r1) -/* 8012AA34 00127994 4B F5 1F CD */ bl func_8007CA00 -/* 8012AA38 00127998 C0 01 01 30 */ lfs f0, 0x130(r1) -/* 8012AA3C 0012799C 38 61 00 AC */ addi r3, r1, 0xac -/* 8012AA40 001279A0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8012AA44 001279A4 D0 1D 07 A4 */ stfs f0, 0x7a4(r29) -/* 8012AA48 001279A8 48 1B 86 35 */ bl NoParameter__12CPASAnimParmFv -/* 8012AA4C 001279AC 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8012AA50 001279B0 48 1B 86 2D */ bl NoParameter__12CPASAnimParmFv -/* 8012AA54 001279B4 38 61 00 BC */ addi r3, r1, 0xbc -/* 8012AA58 001279B8 48 1B 86 25 */ bl NoParameter__12CPASAnimParmFv -/* 8012AA5C 001279BC 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8012AA60 001279C0 48 1B 86 1D */ bl NoParameter__12CPASAnimParmFv -/* 8012AA64 001279C4 38 61 00 CC */ addi r3, r1, 0xcc -/* 8012AA68 001279C8 48 1B 86 15 */ bl NoParameter__12CPASAnimParmFv -/* 8012AA6C 001279CC 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8012AA70 001279D0 48 1B 86 0D */ bl NoParameter__12CPASAnimParmFv -/* 8012AA74 001279D4 38 61 00 DC */ addi r3, r1, 0xdc -/* 8012AA78 001279D8 38 80 00 01 */ li r4, 1 -/* 8012AA7C 001279DC 48 1B 85 09 */ bl FromEnum__12CPASAnimParmFi -/* 8012AA80 001279E0 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8012AA84 001279E4 38 80 00 03 */ li r4, 3 -/* 8012AA88 001279E8 48 1B 84 FD */ bl FromEnum__12CPASAnimParmFi -/* 8012AA8C 001279EC 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8012AA90 001279F0 38 01 00 AC */ addi r0, r1, 0xac -/* 8012AA94 001279F4 90 61 00 08 */ stw r3, 8(r1) -/* 8012AA98 001279F8 38 61 01 E0 */ addi r3, r1, 0x1e0 -/* 8012AA9C 001279FC 38 A1 00 E4 */ addi r5, r1, 0xe4 -/* 8012AAA0 00127A00 38 C1 00 DC */ addi r6, r1, 0xdc -/* 8012AAA4 00127A04 90 01 00 0C */ stw r0, 0xc(r1) -/* 8012AAA8 00127A08 38 E1 00 D4 */ addi r7, r1, 0xd4 -/* 8012AAAC 00127A0C 39 01 00 CC */ addi r8, r1, 0xcc -/* 8012AAB0 00127A10 39 21 00 C4 */ addi r9, r1, 0xc4 -/* 8012AAB4 00127A14 39 41 00 BC */ addi r10, r1, 0xbc -/* 8012AAB8 00127A18 38 80 00 03 */ li r4, 3 -/* 8012AABC 00127A1C 4B F5 28 09 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8012AAC0 00127A20 83 DD 00 64 */ lwz r30, 0x64(r29) -/* 8012AAC4 00127A24 7F A3 EB 78 */ mr r3, r29 -/* 8012AAC8 00127A28 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 8012AACC 00127A2C 4B F5 1F 35 */ bl func_8007CA00 -/* 8012AAD0 00127A30 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8012AAD4 00127A34 38 61 00 6C */ addi r3, r1, 0x6c -/* 8012AAD8 00127A38 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8012AADC 00127A3C D0 1D 08 48 */ stfs f0, 0x848(r29) -/* 8012AAE0 00127A40 48 1B 85 9D */ bl NoParameter__12CPASAnimParmFv -/* 8012AAE4 00127A44 38 61 00 74 */ addi r3, r1, 0x74 -/* 8012AAE8 00127A48 48 1B 85 95 */ bl NoParameter__12CPASAnimParmFv -/* 8012AAEC 00127A4C 38 61 00 7C */ addi r3, r1, 0x7c -/* 8012AAF0 00127A50 48 1B 85 8D */ bl NoParameter__12CPASAnimParmFv -/* 8012AAF4 00127A54 38 61 00 84 */ addi r3, r1, 0x84 -/* 8012AAF8 00127A58 48 1B 85 85 */ bl NoParameter__12CPASAnimParmFv -/* 8012AAFC 00127A5C 38 61 00 8C */ addi r3, r1, 0x8c -/* 8012AB00 00127A60 48 1B 85 7D */ bl NoParameter__12CPASAnimParmFv -/* 8012AB04 00127A64 38 61 00 94 */ addi r3, r1, 0x94 -/* 8012AB08 00127A68 48 1B 85 75 */ bl NoParameter__12CPASAnimParmFv -/* 8012AB0C 00127A6C 38 61 00 9C */ addi r3, r1, 0x9c -/* 8012AB10 00127A70 38 80 00 02 */ li r4, 2 -/* 8012AB14 00127A74 48 1B 84 71 */ bl FromEnum__12CPASAnimParmFi -/* 8012AB18 00127A78 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 8012AB1C 00127A7C 38 80 00 03 */ li r4, 3 -/* 8012AB20 00127A80 48 1B 84 65 */ bl FromEnum__12CPASAnimParmFi -/* 8012AB24 00127A84 38 61 00 74 */ addi r3, r1, 0x74 -/* 8012AB28 00127A88 38 01 00 6C */ addi r0, r1, 0x6c -/* 8012AB2C 00127A8C 90 61 00 08 */ stw r3, 8(r1) -/* 8012AB30 00127A90 38 61 01 98 */ addi r3, r1, 0x198 -/* 8012AB34 00127A94 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 8012AB38 00127A98 38 C1 00 9C */ addi r6, r1, 0x9c -/* 8012AB3C 00127A9C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8012AB40 00127AA0 38 E1 00 94 */ addi r7, r1, 0x94 -/* 8012AB44 00127AA4 39 01 00 8C */ addi r8, r1, 0x8c -/* 8012AB48 00127AA8 39 21 00 84 */ addi r9, r1, 0x84 -/* 8012AB4C 00127AAC 39 41 00 7C */ addi r10, r1, 0x7c -/* 8012AB50 00127AB0 38 80 00 03 */ li r4, 3 -/* 8012AB54 00127AB4 4B F5 27 71 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8012AB58 00127AB8 83 DD 00 64 */ lwz r30, 0x64(r29) -/* 8012AB5C 00127ABC 7F A3 EB 78 */ mr r3, r29 -/* 8012AB60 00127AC0 38 81 01 98 */ addi r4, r1, 0x198 -/* 8012AB64 00127AC4 4B F5 1E 9D */ bl func_8007CA00 -/* 8012AB68 00127AC8 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8012AB6C 00127ACC 34 A1 01 9C */ addic. r5, r1, 0x19c -/* 8012AB70 00127AD0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8012AB74 00127AD4 D0 1D 08 4C */ stfs f0, 0x84c(r29) -/* 8012AB78 00127AD8 41 82 00 58 */ beq lbl_8012ABD0 -/* 8012AB7C 00127ADC 80 C5 00 00 */ lwz r6, 0(r5) -/* 8012AB80 00127AE0 38 60 00 00 */ li r3, 0 -/* 8012AB84 00127AE4 2C 06 00 00 */ cmpwi r6, 0 -/* 8012AB88 00127AE8 40 81 00 40 */ ble lbl_8012ABC8 -/* 8012AB8C 00127AEC 2C 06 00 08 */ cmpwi r6, 8 -/* 8012AB90 00127AF0 38 86 FF F8 */ addi r4, r6, -8 -/* 8012AB94 00127AF4 40 81 00 20 */ ble lbl_8012ABB4 -/* 8012AB98 00127AF8 38 04 00 07 */ addi r0, r4, 7 -/* 8012AB9C 00127AFC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8012ABA0 00127B00 7C 09 03 A6 */ mtctr r0 -/* 8012ABA4 00127B04 2C 04 00 00 */ cmpwi r4, 0 -/* 8012ABA8 00127B08 40 81 00 0C */ ble lbl_8012ABB4 -lbl_8012ABAC: -/* 8012ABAC 00127B0C 38 63 00 08 */ addi r3, r3, 8 -/* 8012ABB0 00127B10 42 00 FF FC */ bdnz lbl_8012ABAC -lbl_8012ABB4: -/* 8012ABB4 00127B14 7C 03 30 50 */ subf r0, r3, r6 -/* 8012ABB8 00127B18 7C 09 03 A6 */ mtctr r0 -/* 8012ABBC 00127B1C 7C 03 30 00 */ cmpw r3, r6 -/* 8012ABC0 00127B20 40 80 00 08 */ bge lbl_8012ABC8 -lbl_8012ABC4: -/* 8012ABC4 00127B24 42 00 00 00 */ bdnz lbl_8012ABC4 -lbl_8012ABC8: -/* 8012ABC8 00127B28 38 00 00 00 */ li r0, 0 -/* 8012ABCC 00127B2C 90 05 00 00 */ stw r0, 0(r5) -lbl_8012ABD0: -/* 8012ABD0 00127B30 34 A1 01 E4 */ addic. r5, r1, 0x1e4 -/* 8012ABD4 00127B34 41 82 00 58 */ beq lbl_8012AC2C -/* 8012ABD8 00127B38 80 C5 00 00 */ lwz r6, 0(r5) -/* 8012ABDC 00127B3C 38 60 00 00 */ li r3, 0 -/* 8012ABE0 00127B40 2C 06 00 00 */ cmpwi r6, 0 -/* 8012ABE4 00127B44 40 81 00 40 */ ble lbl_8012AC24 -/* 8012ABE8 00127B48 2C 06 00 08 */ cmpwi r6, 8 -/* 8012ABEC 00127B4C 38 86 FF F8 */ addi r4, r6, -8 -/* 8012ABF0 00127B50 40 81 00 20 */ ble lbl_8012AC10 -/* 8012ABF4 00127B54 38 04 00 07 */ addi r0, r4, 7 -/* 8012ABF8 00127B58 54 00 E8 FE */ srwi r0, r0, 3 -/* 8012ABFC 00127B5C 7C 09 03 A6 */ mtctr r0 -/* 8012AC00 00127B60 2C 04 00 00 */ cmpwi r4, 0 -/* 8012AC04 00127B64 40 81 00 0C */ ble lbl_8012AC10 -lbl_8012AC08: -/* 8012AC08 00127B68 38 63 00 08 */ addi r3, r3, 8 -/* 8012AC0C 00127B6C 42 00 FF FC */ bdnz lbl_8012AC08 -lbl_8012AC10: -/* 8012AC10 00127B70 7C 03 30 50 */ subf r0, r3, r6 -/* 8012AC14 00127B74 7C 09 03 A6 */ mtctr r0 -/* 8012AC18 00127B78 7C 03 30 00 */ cmpw r3, r6 -/* 8012AC1C 00127B7C 40 80 00 08 */ bge lbl_8012AC24 -lbl_8012AC20: -/* 8012AC20 00127B80 42 00 00 00 */ bdnz lbl_8012AC20 -lbl_8012AC24: -/* 8012AC24 00127B84 38 00 00 00 */ li r0, 0 -/* 8012AC28 00127B88 90 05 00 00 */ stw r0, 0(r5) -lbl_8012AC2C: -/* 8012AC2C 00127B8C 34 A1 02 2C */ addic. r5, r1, 0x22c -/* 8012AC30 00127B90 41 82 00 70 */ beq lbl_8012ACA0 -/* 8012AC34 00127B94 80 C5 00 00 */ lwz r6, 0(r5) -/* 8012AC38 00127B98 38 60 00 00 */ li r3, 0 -/* 8012AC3C 00127B9C 2C 06 00 00 */ cmpwi r6, 0 -/* 8012AC40 00127BA0 40 81 00 40 */ ble lbl_8012AC80 -/* 8012AC44 00127BA4 2C 06 00 08 */ cmpwi r6, 8 -/* 8012AC48 00127BA8 38 86 FF F8 */ addi r4, r6, -8 -/* 8012AC4C 00127BAC 40 81 00 20 */ ble lbl_8012AC6C -/* 8012AC50 00127BB0 38 04 00 07 */ addi r0, r4, 7 -/* 8012AC54 00127BB4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8012AC58 00127BB8 7C 09 03 A6 */ mtctr r0 -/* 8012AC5C 00127BBC 2C 04 00 00 */ cmpwi r4, 0 -/* 8012AC60 00127BC0 40 81 00 0C */ ble lbl_8012AC6C -lbl_8012AC64: -/* 8012AC64 00127BC4 38 63 00 08 */ addi r3, r3, 8 -/* 8012AC68 00127BC8 42 00 FF FC */ bdnz lbl_8012AC64 -lbl_8012AC6C: -/* 8012AC6C 00127BCC 7C 03 30 50 */ subf r0, r3, r6 -/* 8012AC70 00127BD0 7C 09 03 A6 */ mtctr r0 -/* 8012AC74 00127BD4 7C 03 30 00 */ cmpw r3, r6 -/* 8012AC78 00127BD8 40 80 00 08 */ bge lbl_8012AC80 -lbl_8012AC7C: -/* 8012AC7C 00127BDC 42 00 00 00 */ bdnz lbl_8012AC7C -lbl_8012AC80: -/* 8012AC80 00127BE0 38 00 00 00 */ li r0, 0 -/* 8012AC84 00127BE4 90 05 00 00 */ stw r0, 0(r5) -/* 8012AC88 00127BE8 48 00 00 18 */ b lbl_8012ACA0 -lbl_8012AC8C: -/* 8012AC8C 00127BEC 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8012AC90 00127BF0 38 80 00 01 */ li r4, 1 -/* 8012AC94 00127BF4 88 03 02 D8 */ lbz r0, 0x2d8(r3) -/* 8012AC98 00127BF8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8012AC9C 00127BFC 98 03 02 D8 */ stb r0, 0x2d8(r3) -lbl_8012ACA0: -/* 8012ACA0 00127C00 7F A3 EB 78 */ mr r3, r29 -/* 8012ACA4 00127C04 4B FE FD 1D */ bl GetBaseBoundingBox__13CPhysicsActorCFv -/* 8012ACA8 00127C08 C0 23 00 14 */ lfs f1, 0x14(r3) -/* 8012ACAC 00127C0C C0 03 00 08 */ lfs f0, 8(r3) -/* 8012ACB0 00127C10 C0 42 98 78 */ lfs f2, lbl_805AB598@sda21(r2) -/* 8012ACB4 00127C14 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012ACB8 00127C18 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8012ACBC 00127C1C D0 1D 07 A8 */ stfs f0, 0x7a8(r29) -/* 8012ACC0 00127C20 80 9D 00 90 */ lwz r4, 0x90(r29) -/* 8012ACC4 00127C24 28 04 00 00 */ cmplwi r4, 0 -/* 8012ACC8 00127C28 41 82 00 14 */ beq lbl_8012ACDC -/* 8012ACCC 00127C2C 88 04 02 98 */ lbz r0, 0x298(r4) -/* 8012ACD0 00127C30 38 60 00 00 */ li r3, 0 -/* 8012ACD4 00127C34 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8012ACD8 00127C38 98 04 02 98 */ stb r0, 0x298(r4) -lbl_8012ACDC: -/* 8012ACDC 00127C3C C0 22 98 24 */ lfs f1, lbl_805AB544@sda21(r2) -/* 8012ACE0 00127C40 38 7D 04 60 */ addi r3, r29, 0x460 -/* 8012ACE4 00127C44 C0 42 98 10 */ lfs f2, lbl_805AB530@sda21(r2) -/* 8012ACE8 00127C48 38 80 00 03 */ li r4, 3 -/* 8012ACEC 00127C4C 48 10 90 55 */ bl sub_80233d40 -/* 8012ACF0 00127C50 88 1D 04 E2 */ lbz r0, 0x4e2(r29) -/* 8012ACF4 00127C54 38 60 00 01 */ li r3, 1 -/* 8012ACF8 00127C58 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8012ACFC 00127C5C 98 1D 04 E2 */ stb r0, 0x4e2(r29) -/* 8012AD00 00127C60 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012AD04 00127C64 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8012AD08 00127C68 41 82 00 14 */ beq lbl_8012AD1C -/* 8012AD0C 00127C6C 38 7D 04 60 */ addi r3, r29, 0x460 -/* 8012AD10 00127C70 38 80 00 00 */ li r4, 0 -/* 8012AD14 00127C74 48 10 90 15 */ bl SetKnockBackVariant__20CKnockBackControllerF17EKnockBackVariant -/* 8012AD18 00127C78 48 00 00 74 */ b lbl_8012AD8C -lbl_8012AD1C: -/* 8012AD1C 00127C7C 88 1D 06 36 */ lbz r0, 0x636(r29) -/* 8012AD20 00127C80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012AD24 00127C84 41 82 00 68 */ beq lbl_8012AD8C -/* 8012AD28 00127C88 88 01 00 68 */ lbz r0, 0x68(r1) -/* 8012AD2C 00127C8C 38 80 00 00 */ li r4, 0 -/* 8012AD30 00127C90 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8012AD34 00127C94 38 A0 00 03 */ li r5, 3 -/* 8012AD38 00127C98 98 01 00 68 */ stb r0, 0x68(r1) -/* 8012AD3C 00127C9C 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8012AD40 00127CA0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8012AD44 00127CA4 7F A3 EB 78 */ mr r3, r29 -/* 8012AD48 00127CA8 98 01 00 68 */ stb r0, 0x68(r1) -/* 8012AD4C 00127CAC 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8012AD50 00127CB0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8012AD54 00127CB4 90 A1 00 64 */ stw r5, 0x64(r1) -/* 8012AD58 00127CB8 98 01 00 68 */ stb r0, 0x68(r1) -/* 8012AD5C 00127CBC 81 9D 00 00 */ lwz r12, 0(r29) -/* 8012AD60 00127CC0 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8012AD64 00127CC4 7D 89 03 A6 */ mtctr r12 -/* 8012AD68 00127CC8 4E 80 04 21 */ bctrl -/* 8012AD6C 00127CCC 38 81 00 64 */ addi r4, r1, 0x64 -/* 8012AD70 00127CD0 38 A0 00 00 */ li r5, 0 -/* 8012AD74 00127CD4 4B FD 79 95 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 8012AD78 00127CD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012AD7C 00127CDC 41 82 00 10 */ beq lbl_8012AD8C -/* 8012AD80 00127CE0 38 7D 04 60 */ addi r3, r29, 0x460 -/* 8012AD84 00127CE4 38 80 00 02 */ li r4, 2 -/* 8012AD88 00127CE8 48 10 8F A1 */ bl SetKnockBackVariant__20CKnockBackControllerF17EKnockBackVariant -lbl_8012AD8C: -/* 8012AD8C 00127CEC 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 8012AD90 00127CF0 38 80 00 16 */ li r4, 0x16 -/* 8012AD94 00127CF4 48 00 FE 21 */ bl HasBodyState__15CBodyControllerCFQ23pas15EAnimationState -/* 8012AD98 00127CF8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012AD9C 00127CFC 40 82 00 14 */ bne lbl_8012ADB0 -/* 8012ADA0 00127D00 88 1D 06 34 */ lbz r0, 0x634(r29) -/* 8012ADA4 00127D04 38 60 00 01 */ li r3, 1 -/* 8012ADA8 00127D08 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8012ADAC 00127D0C 98 1D 06 34 */ stb r0, 0x634(r29) -lbl_8012ADB0: -/* 8012ADB0 00127D10 88 1D 06 36 */ lbz r0, 0x636(r29) -/* 8012ADB4 00127D14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012ADB8 00127D18 41 82 01 C0 */ beq lbl_8012AF78 -/* 8012ADBC 00127D1C 7F A3 EB 78 */ mr r3, r29 -/* 8012ADC0 00127D20 81 9D 00 00 */ lwz r12, 0(r29) -/* 8012ADC4 00127D24 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8012ADC8 00127D28 7D 89 03 A6 */ mtctr r12 -/* 8012ADCC 00127D2C 4E 80 04 21 */ bctrl -/* 8012ADD0 00127D30 88 01 00 60 */ lbz r0, 0x60(r1) -/* 8012ADD4 00127D34 38 80 00 00 */ li r4, 0 -/* 8012ADD8 00127D38 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8012ADDC 00127D3C 38 A0 00 03 */ li r5, 3 -/* 8012ADE0 00127D40 98 01 00 60 */ stb r0, 0x60(r1) -/* 8012ADE4 00127D44 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8012ADE8 00127D48 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8012ADEC 00127D4C 7C 7F 1B 78 */ mr r31, r3 -/* 8012ADF0 00127D50 98 01 00 60 */ stb r0, 0x60(r1) -/* 8012ADF4 00127D54 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8012ADF8 00127D58 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8012ADFC 00127D5C 38 81 00 5C */ addi r4, r1, 0x5c -/* 8012AE00 00127D60 90 A1 00 5C */ stw r5, 0x5c(r1) -/* 8012AE04 00127D64 38 A0 00 00 */ li r5, 0 -/* 8012AE08 00127D68 98 01 00 60 */ stb r0, 0x60(r1) -/* 8012AE0C 00127D6C 4B FD 78 FD */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 8012AE10 00127D70 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012AE14 00127D74 41 82 00 30 */ beq lbl_8012AE44 -/* 8012AE18 00127D78 38 A0 00 FE */ li r5, 0xfe -/* 8012AE1C 00127D7C 38 80 00 00 */ li r4, 0 -/* 8012AE20 00127D80 38 60 00 28 */ li r3, 0x28 -/* 8012AE24 00127D84 38 00 00 FF */ li r0, 0xff -/* 8012AE28 00127D88 98 A1 00 40 */ stb r5, 0x40(r1) -/* 8012AE2C 00127D8C 98 81 00 41 */ stb r4, 0x41(r1) -/* 8012AE30 00127D90 98 61 00 42 */ stb r3, 0x42(r1) -/* 8012AE34 00127D94 98 01 00 43 */ stb r0, 0x43(r1) -/* 8012AE38 00127D98 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8012AE3C 00127D9C 90 1D 08 CC */ stw r0, 0x8cc(r29) -/* 8012AE40 00127DA0 48 00 01 38 */ b lbl_8012AF78 -lbl_8012AE44: -/* 8012AE44 00127DA4 88 01 00 58 */ lbz r0, 0x58(r1) -/* 8012AE48 00127DA8 38 80 00 00 */ li r4, 0 -/* 8012AE4C 00127DAC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8012AE50 00127DB0 38 A0 00 01 */ li r5, 1 -/* 8012AE54 00127DB4 98 01 00 58 */ stb r0, 0x58(r1) -/* 8012AE58 00127DB8 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8012AE5C 00127DBC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8012AE60 00127DC0 7F E3 FB 78 */ mr r3, r31 -/* 8012AE64 00127DC4 98 01 00 58 */ stb r0, 0x58(r1) -/* 8012AE68 00127DC8 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8012AE6C 00127DCC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8012AE70 00127DD0 38 81 00 54 */ addi r4, r1, 0x54 -/* 8012AE74 00127DD4 90 A1 00 54 */ stw r5, 0x54(r1) -/* 8012AE78 00127DD8 38 A0 00 00 */ li r5, 0 -/* 8012AE7C 00127DDC 98 01 00 58 */ stb r0, 0x58(r1) -/* 8012AE80 00127DE0 4B FD 78 89 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 8012AE84 00127DE4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012AE88 00127DE8 41 82 00 14 */ beq lbl_8012AE9C -/* 8012AE8C 00127DEC 48 21 F1 21 */ bl White__6CColorFv -/* 8012AE90 00127DF0 80 03 00 00 */ lwz r0, 0(r3) -/* 8012AE94 00127DF4 90 1D 08 CC */ stw r0, 0x8cc(r29) -/* 8012AE98 00127DF8 48 00 00 E0 */ b lbl_8012AF78 -lbl_8012AE9C: -/* 8012AE9C 00127DFC 38 C0 00 00 */ li r6, 0 -/* 8012AEA0 00127E00 88 01 00 50 */ lbz r0, 0x50(r1) -/* 8012AEA4 00127E04 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 8012AEA8 00127E08 90 C1 00 4C */ stw r6, 0x4c(r1) -/* 8012AEAC 00127E0C 54 05 06 3E */ clrlwi r5, r0, 0x18 -/* 8012AEB0 00127E10 7F E3 FB 78 */ mr r3, r31 -/* 8012AEB4 00127E14 50 C5 36 72 */ rlwimi r5, r6, 6, 0x19, 0x19 -/* 8012AEB8 00127E18 98 01 00 50 */ stb r0, 0x50(r1) -/* 8012AEBC 00127E1C 54 A0 06 3E */ clrlwi r0, r5, 0x18 -/* 8012AEC0 00127E20 38 81 00 4C */ addi r4, r1, 0x4c -/* 8012AEC4 00127E24 98 A1 00 50 */ stb r5, 0x50(r1) -/* 8012AEC8 00127E28 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 8012AECC 00127E2C 38 A0 00 00 */ li r5, 0 -/* 8012AED0 00127E30 98 01 00 50 */ stb r0, 0x50(r1) -/* 8012AED4 00127E34 4B FD 78 35 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 8012AED8 00127E38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012AEDC 00127E3C 41 82 00 30 */ beq lbl_8012AF0C -/* 8012AEE0 00127E40 38 A0 00 FD */ li r5, 0xfd -/* 8012AEE4 00127E44 38 80 00 EF */ li r4, 0xef -/* 8012AEE8 00127E48 38 60 00 56 */ li r3, 0x56 -/* 8012AEEC 00127E4C 38 00 00 FF */ li r0, 0xff -/* 8012AEF0 00127E50 98 A1 00 3C */ stb r5, 0x3c(r1) -/* 8012AEF4 00127E54 98 81 00 3D */ stb r4, 0x3d(r1) -/* 8012AEF8 00127E58 98 61 00 3E */ stb r3, 0x3e(r1) -/* 8012AEFC 00127E5C 98 01 00 3F */ stb r0, 0x3f(r1) -/* 8012AF00 00127E60 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8012AF04 00127E64 90 1D 08 CC */ stw r0, 0x8cc(r29) -/* 8012AF08 00127E68 48 00 00 70 */ b lbl_8012AF78 -lbl_8012AF0C: -/* 8012AF0C 00127E6C 88 01 00 48 */ lbz r0, 0x48(r1) -/* 8012AF10 00127E70 38 80 00 00 */ li r4, 0 -/* 8012AF14 00127E74 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8012AF18 00127E78 38 A0 00 02 */ li r5, 2 -/* 8012AF1C 00127E7C 98 01 00 48 */ stb r0, 0x48(r1) -/* 8012AF20 00127E80 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8012AF24 00127E84 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8012AF28 00127E88 7F E3 FB 78 */ mr r3, r31 -/* 8012AF2C 00127E8C 98 01 00 48 */ stb r0, 0x48(r1) -/* 8012AF30 00127E90 54 00 06 3E */ clrlwi r0, r0, 0x18 -/* 8012AF34 00127E94 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8012AF38 00127E98 38 81 00 44 */ addi r4, r1, 0x44 -/* 8012AF3C 00127E9C 90 A1 00 44 */ stw r5, 0x44(r1) -/* 8012AF40 00127EA0 38 A0 00 00 */ li r5, 0 -/* 8012AF44 00127EA4 98 01 00 48 */ stb r0, 0x48(r1) -/* 8012AF48 00127EA8 4B FD 77 C1 */ bl WeaponHurts__20CDamageVulnerabilityCFRC11CWeaponMode -/* 8012AF4C 00127EAC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012AF50 00127EB0 41 82 00 28 */ beq lbl_8012AF78 -/* 8012AF54 00127EB4 38 00 00 FF */ li r0, 0xff -/* 8012AF58 00127EB8 38 80 00 C6 */ li r4, 0xc6 -/* 8012AF5C 00127EBC 38 60 00 0E */ li r3, 0xe -/* 8012AF60 00127EC0 98 81 00 38 */ stb r4, 0x38(r1) -/* 8012AF64 00127EC4 98 61 00 39 */ stb r3, 0x39(r1) -/* 8012AF68 00127EC8 98 01 00 3A */ stb r0, 0x3a(r1) -/* 8012AF6C 00127ECC 98 01 00 3B */ stb r0, 0x3b(r1) -/* 8012AF70 00127ED0 80 01 00 38 */ lwz r0, 0x38(r1) -/* 8012AF74 00127ED4 90 1D 08 CC */ stw r0, 0x8cc(r29) -lbl_8012AF78: -/* 8012AF78 00127ED8 80 01 02 84 */ lwz r0, 0x284(r1) -/* 8012AF7C 00127EDC 7F A3 EB 78 */ mr r3, r29 -/* 8012AF80 00127EE0 83 E1 02 7C */ lwz r31, 0x27c(r1) -/* 8012AF84 00127EE4 83 C1 02 78 */ lwz r30, 0x278(r1) -/* 8012AF88 00127EE8 83 A1 02 74 */ lwz r29, 0x274(r1) -/* 8012AF8C 00127EEC 83 81 02 70 */ lwz r28, 0x270(r1) -/* 8012AF90 00127EF0 7C 08 03 A6 */ mtlr r0 -/* 8012AF94 00127EF4 38 21 02 80 */ addi r1, r1, 0x280 -/* 8012AF98 00127EF8 4E 80 00 20 */ blr - -.global __ct__8CIkChainFv -__ct__8CIkChainFv: -/* 8012AF9C 00127EFC 38 00 00 FF */ li r0, 0xff -/* 8012AFA0 00127F00 3C C0 80 5A */ lis r6, lbl_805A6724@ha -/* 8012AFA4 00127F04 98 03 00 00 */ stb r0, 0(r3) -/* 8012AFA8 00127F08 3C A0 80 5A */ lis r5, lbl_805A6660@ha -/* 8012AFAC 00127F0C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8012AFB0 00127F10 38 E6 67 24 */ addi r7, r6, lbl_805A6724@l -/* 8012AFB4 00127F14 98 03 00 01 */ stb r0, 1(r3) -/* 8012AFB8 00127F18 38 C5 66 60 */ addi r6, r5, lbl_805A6660@l -/* 8012AFBC 00127F1C C0 22 97 D8 */ lfs f1, lbl_805AB4F8@sda21(r2) -/* 8012AFC0 00127F20 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8012AFC4 00127F24 98 03 00 02 */ stb r0, 2(r3) -/* 8012AFC8 00127F28 38 80 00 00 */ li r4, 0 -/* 8012AFCC 00127F2C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012AFD0 00127F30 C0 47 00 00 */ lfs f2, 0(r7) -/* 8012AFD4 00127F34 D0 43 00 04 */ stfs f2, 4(r3) -/* 8012AFD8 00127F38 C0 47 00 04 */ lfs f2, 4(r7) -/* 8012AFDC 00127F3C D0 43 00 08 */ stfs f2, 8(r3) -/* 8012AFE0 00127F40 C0 47 00 08 */ lfs f2, 8(r7) -/* 8012AFE4 00127F44 D0 43 00 0C */ stfs f2, 0xc(r3) -/* 8012AFE8 00127F48 C0 47 00 00 */ lfs f2, 0(r7) -/* 8012AFEC 00127F4C D0 43 00 10 */ stfs f2, 0x10(r3) -/* 8012AFF0 00127F50 C0 47 00 04 */ lfs f2, 4(r7) -/* 8012AFF4 00127F54 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 8012AFF8 00127F58 C0 47 00 08 */ lfs f2, 8(r7) -/* 8012AFFC 00127F5C D0 43 00 18 */ stfs f2, 0x18(r3) -/* 8012B000 00127F60 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 8012B004 00127F64 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 8012B008 00127F68 C0 26 00 00 */ lfs f1, 0(r6) -/* 8012B00C 00127F6C D0 23 00 24 */ stfs f1, 0x24(r3) -/* 8012B010 00127F70 C0 26 00 04 */ lfs f1, 4(r6) -/* 8012B014 00127F74 D0 23 00 28 */ stfs f1, 0x28(r3) -/* 8012B018 00127F78 C0 26 00 08 */ lfs f1, 8(r6) -/* 8012B01C 00127F7C D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 8012B020 00127F80 C0 26 00 0C */ lfs f1, 0xc(r6) -/* 8012B024 00127F84 D0 23 00 30 */ stfs f1, 0x30(r3) -/* 8012B028 00127F88 C0 25 00 00 */ lfs f1, 0(r5) -/* 8012B02C 00127F8C D0 23 00 34 */ stfs f1, 0x34(r3) -/* 8012B030 00127F90 C0 25 00 04 */ lfs f1, 4(r5) -/* 8012B034 00127F94 D0 23 00 38 */ stfs f1, 0x38(r3) -/* 8012B038 00127F98 C0 25 00 08 */ lfs f1, 8(r5) -/* 8012B03C 00127F9C D0 23 00 3C */ stfs f1, 0x3c(r3) -/* 8012B040 00127FA0 D0 03 00 40 */ stfs f0, 0x40(r3) -/* 8012B044 00127FA4 88 03 00 44 */ lbz r0, 0x44(r3) -/* 8012B048 00127FA8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8012B04C 00127FAC 98 03 00 44 */ stb r0, 0x44(r3) -/* 8012B050 00127FB0 4E 80 00 20 */ blr - -.global __ct__Q212CSpacePirate16CSpacePirateDataFR12CInputStreamUi -__ct__Q212CSpacePirate16CSpacePirateDataFR12CInputStreamUi: -/* 8012B054 00127FB4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8012B058 00127FB8 7C 08 02 A6 */ mflr r0 -/* 8012B05C 00127FBC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8012B060 00127FC0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8012B064 00127FC4 7C BF 2B 78 */ mr r31, r5 -/* 8012B068 00127FC8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8012B06C 00127FCC 7C 9E 23 78 */ mr r30, r4 -/* 8012B070 00127FD0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8012B074 00127FD4 7C 7D 1B 78 */ mr r29, r3 -/* 8012B078 00127FD8 7F C3 F3 78 */ mr r3, r30 -/* 8012B07C 00127FDC 48 21 3B AD */ bl ReadFloat__12CInputStreamFv -/* 8012B080 00127FE0 D0 3D 00 00 */ stfs f1, 0(r29) -/* 8012B084 00127FE4 7F C3 F3 78 */ mr r3, r30 -/* 8012B088 00127FE8 48 21 3B A1 */ bl ReadFloat__12CInputStreamFv -/* 8012B08C 00127FEC D0 3D 00 04 */ stfs f1, 4(r29) -/* 8012B090 00127FF0 7F C3 F3 78 */ mr r3, r30 -/* 8012B094 00127FF4 48 21 3B 95 */ bl ReadFloat__12CInputStreamFv -/* 8012B098 00127FF8 D0 3D 00 08 */ stfs f1, 8(r29) -/* 8012B09C 00127FFC 7F C3 F3 78 */ mr r3, r30 -/* 8012B0A0 00128000 48 21 3B 89 */ bl ReadFloat__12CInputStreamFv -/* 8012B0A4 00128004 D0 3D 00 0C */ stfs f1, 0xc(r29) -/* 8012B0A8 00128008 7F C3 F3 78 */ mr r3, r30 -/* 8012B0AC 0012800C 48 21 3B 7D */ bl ReadFloat__12CInputStreamFv -/* 8012B0B0 00128010 D0 3D 00 10 */ stfs f1, 0x10(r29) -/* 8012B0B4 00128014 7F C3 F3 78 */ mr r3, r30 -/* 8012B0B8 00128018 48 21 3B 71 */ bl ReadFloat__12CInputStreamFv -/* 8012B0BC 0012801C D0 3D 00 14 */ stfs f1, 0x14(r29) -/* 8012B0C0 00128020 7F C3 F3 78 */ mr r3, r30 -/* 8012B0C4 00128024 48 21 3B C1 */ bl ReadLong__12CInputStreamFv -/* 8012B0C8 00128028 90 7D 00 18 */ stw r3, 0x18(r29) -/* 8012B0CC 0012802C 7F C3 F3 78 */ mr r3, r30 -/* 8012B0D0 00128030 48 21 3C 0D */ bl ReadBool__12CInputStreamFv -/* 8012B0D4 00128034 98 7D 00 1C */ stb r3, 0x1c(r29) -/* 8012B0D8 00128038 7F C4 F3 78 */ mr r4, r30 -/* 8012B0DC 0012803C 38 7D 00 20 */ addi r3, r29, 0x20 -/* 8012B0E0 00128040 48 0F 0F 31 */ bl sub_8021c010 -/* 8012B0E4 00128044 7F C3 F3 78 */ mr r3, r30 -/* 8012B0E8 00128048 48 21 3B 9D */ bl ReadLong__12CInputStreamFv -/* 8012B0EC 0012804C 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8012B0F0 00128050 48 1B D8 C1 */ bl TranslateSFXID__11CSfxManagerFUs -/* 8012B0F4 00128054 B0 7D 00 48 */ sth r3, 0x48(r29) -/* 8012B0F8 00128058 7F C4 F3 78 */ mr r4, r30 -/* 8012B0FC 0012805C 38 7D 00 4C */ addi r3, r29, 0x4c -/* 8012B100 00128060 4B F9 84 61 */ bl __ct__11CDamageInfoFR12CInputStream -/* 8012B104 00128064 7F C3 F3 78 */ mr r3, r30 -/* 8012B108 00128068 48 21 3B 21 */ bl ReadFloat__12CInputStreamFv -/* 8012B10C 0012806C D0 3D 00 68 */ stfs f1, 0x68(r29) -/* 8012B110 00128070 7F C4 F3 78 */ mr r4, r30 -/* 8012B114 00128074 38 7D 00 6C */ addi r3, r29, 0x6c -/* 8012B118 00128078 48 0F 0E F9 */ bl sub_8021c010 -/* 8012B11C 0012807C 7F C3 F3 78 */ mr r3, r30 -/* 8012B120 00128080 48 21 3B 09 */ bl ReadFloat__12CInputStreamFv -/* 8012B124 00128084 D0 3D 00 94 */ stfs f1, 0x94(r29) -/* 8012B128 00128088 7F C3 F3 78 */ mr r3, r30 -/* 8012B12C 0012808C 48 21 3B 59 */ bl ReadLong__12CInputStreamFv -/* 8012B130 00128090 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8012B134 00128094 48 1B D8 7D */ bl TranslateSFXID__11CSfxManagerFUs -/* 8012B138 00128098 B0 7D 00 98 */ sth r3, 0x98(r29) -/* 8012B13C 0012809C 7F C3 F3 78 */ mr r3, r30 -/* 8012B140 001280A0 48 21 3A E9 */ bl ReadFloat__12CInputStreamFv -/* 8012B144 001280A4 D0 3D 00 9C */ stfs f1, 0x9c(r29) -/* 8012B148 001280A8 7F C3 F3 78 */ mr r3, r30 -/* 8012B14C 001280AC 48 21 3A DD */ bl ReadFloat__12CInputStreamFv -/* 8012B150 001280B0 D0 3D 00 A0 */ stfs f1, 0xa0(r29) -/* 8012B154 001280B4 7F C3 F3 78 */ mr r3, r30 -/* 8012B158 001280B8 48 21 3B 2D */ bl ReadLong__12CInputStreamFv -/* 8012B15C 001280BC 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8012B160 001280C0 48 1B D8 51 */ bl TranslateSFXID__11CSfxManagerFUs -/* 8012B164 001280C4 B0 7D 00 A4 */ sth r3, 0xa4(r29) -/* 8012B168 001280C8 7F C3 F3 78 */ mr r3, r30 -/* 8012B16C 001280CC 48 21 3A BD */ bl ReadFloat__12CInputStreamFv -/* 8012B170 001280D0 D0 3D 00 A8 */ stfs f1, 0xa8(r29) -/* 8012B174 001280D4 7F C3 F3 78 */ mr r3, r30 -/* 8012B178 001280D8 48 21 3B 0D */ bl ReadLong__12CInputStreamFv -/* 8012B17C 001280DC 90 7D 00 AC */ stw r3, 0xac(r29) -/* 8012B180 001280E0 7F C3 F3 78 */ mr r3, r30 -/* 8012B184 001280E4 48 21 3A A5 */ bl ReadFloat__12CInputStreamFv -/* 8012B188 001280E8 D0 3D 00 B0 */ stfs f1, 0xb0(r29) -/* 8012B18C 001280EC 7F C3 F3 78 */ mr r3, r30 -/* 8012B190 001280F0 48 21 3A 99 */ bl ReadFloat__12CInputStreamFv -/* 8012B194 001280F4 D0 3D 00 B4 */ stfs f1, 0xb4(r29) -/* 8012B198 001280F8 7F C3 F3 78 */ mr r3, r30 -/* 8012B19C 001280FC 48 21 3A 8D */ bl ReadFloat__12CInputStreamFv -/* 8012B1A0 00128100 D0 3D 00 B8 */ stfs f1, 0xb8(r29) -/* 8012B1A4 00128104 7F C3 F3 78 */ mr r3, r30 -/* 8012B1A8 00128108 48 21 3A 81 */ bl ReadFloat__12CInputStreamFv -/* 8012B1AC 0012810C D0 3D 00 BC */ stfs f1, 0xbc(r29) -/* 8012B1B0 00128110 7F C3 F3 78 */ mr r3, r30 -/* 8012B1B4 00128114 48 21 3A D1 */ bl ReadLong__12CInputStreamFv -/* 8012B1B8 00128118 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8012B1BC 0012811C 48 1B D7 F5 */ bl TranslateSFXID__11CSfxManagerFUs -/* 8012B1C0 00128120 B0 7D 00 C0 */ sth r3, 0xc0(r29) -/* 8012B1C4 00128124 7F C3 F3 78 */ mr r3, r30 -/* 8012B1C8 00128128 48 21 3A BD */ bl ReadLong__12CInputStreamFv -/* 8012B1CC 0012812C 54 63 04 3E */ clrlwi r3, r3, 0x10 -/* 8012B1D0 00128130 48 1B D7 E1 */ bl TranslateSFXID__11CSfxManagerFUs -/* 8012B1D4 00128134 2C 1F 00 23 */ cmpwi r31, 0x23 -/* 8012B1D8 00128138 B0 7D 00 C2 */ sth r3, 0xc2(r29) -/* 8012B1DC 0012813C 41 80 00 10 */ blt lbl_8012B1EC -/* 8012B1E0 00128140 7F C3 F3 78 */ mr r3, r30 -/* 8012B1E4 00128144 48 21 3A 45 */ bl ReadFloat__12CInputStreamFv -/* 8012B1E8 00128148 48 00 00 08 */ b lbl_8012B1F0 -lbl_8012B1EC: -/* 8012B1EC 0012814C C0 22 97 CC */ lfs f1, lbl_805AB4EC@sda21(r2) -lbl_8012B1F0: -/* 8012B1F0 00128150 2C 1F 00 24 */ cmpwi r31, 0x24 -/* 8012B1F4 00128154 D0 3D 00 C4 */ stfs f1, 0xc4(r29) -/* 8012B1F8 00128158 41 80 00 10 */ blt lbl_8012B208 -/* 8012B1FC 0012815C 7F C3 F3 78 */ mr r3, r30 -/* 8012B200 00128160 48 21 3A 29 */ bl ReadFloat__12CInputStreamFv -/* 8012B204 00128164 48 00 00 08 */ b lbl_8012B20C -lbl_8012B208: -/* 8012B208 00128168 C0 22 98 7C */ lfs f1, lbl_805AB59C@sda21(r2) -lbl_8012B20C: -/* 8012B20C 0012816C D0 3D 00 C8 */ stfs f1, 0xc8(r29) -/* 8012B210 00128170 38 7D 00 20 */ addi r3, r29, 0x20 -/* 8012B214 00128174 48 21 5B 71 */ bl Lock__6CTokenFv -/* 8012B218 00128178 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8012B21C 0012817C 7F A3 EB 78 */ mr r3, r29 -/* 8012B220 00128180 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8012B224 00128184 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8012B228 00128188 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8012B22C 0012818C 7C 08 03 A6 */ mtlr r0 -/* 8012B230 00128190 38 21 00 20 */ addi r1, r1, 0x20 -/* 8012B234 00128194 4E 80 00 20 */ blr - -.global PreRender__14CPirateRagDollFRC9CVector3fR10CModelData -PreRender__14CPirateRagDollFRC9CVector3fR10CModelData: -/* 8012B238 00128198 94 21 FD 70 */ stwu r1, -0x290(r1) -/* 8012B23C 0012819C 7C 08 02 A6 */ mflr r0 -/* 8012B240 001281A0 90 01 02 94 */ stw r0, 0x294(r1) -/* 8012B244 001281A4 BF 21 02 74 */ stmw r25, 0x274(r1) -/* 8012B248 001281A8 7C 7A 1B 78 */ mr r26, r3 -/* 8012B24C 001281AC 7C 9B 23 78 */ mr r27, r4 -/* 8012B250 001281B0 7C BD 2B 78 */ mr r29, r5 -/* 8012B254 001281B4 88 63 00 68 */ lbz r3, 0x68(r3) -/* 8012B258 001281B8 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8012B25C 001281BC 41 82 00 0C */ beq lbl_8012B268 -/* 8012B260 001281C0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8012B264 001281C4 41 82 07 28 */ beq lbl_8012B98C -lbl_8012B268: -/* 8012B268 001281C8 83 FD 00 10 */ lwz r31, 0x10(r29) -/* 8012B26C 001281CC 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 8012B270 001281D0 38 63 66 60 */ addi r3, r3, lbl_805A6660@l -/* 8012B274 001281D4 80 9F 00 D4 */ lwz r4, 0xd4(r31) -/* 8012B278 001281D8 3B DF 02 FC */ addi r30, r31, 0x2fc -/* 8012B27C 001281DC 3B 9E 00 40 */ addi r28, r30, 0x40 -/* 8012B280 001281E0 80 A4 00 14 */ lwz r5, 0x14(r4) -/* 8012B284 001281E4 48 00 00 70 */ b lbl_8012B2F4 -lbl_8012B288: -/* 8012B288 001281E8 80 DF 00 D4 */ lwz r6, 0xd4(r31) -/* 8012B28C 001281EC 88 05 00 00 */ lbz r0, 0(r5) -/* 8012B290 001281F0 81 06 00 00 */ lwz r8, 0(r6) -/* 8012B294 001281F4 54 07 0D FC */ rlwinm r7, r0, 1, 0x17, 0x1e -/* 8012B298 001281F8 7C C8 3A 14 */ add r6, r8, r7 -/* 8012B29C 001281FC 81 08 00 D0 */ lwz r8, 0xd0(r8) -/* 8012B2A0 00128200 88 06 00 09 */ lbz r0, 9(r6) -/* 8012B2A4 00128204 54 06 2C F4 */ rlwinm r6, r0, 5, 0x13, 0x1a -/* 8012B2A8 00128208 38 06 00 14 */ addi r0, r6, 0x14 -/* 8012B2AC 0012820C 7C 08 00 2E */ lwzx r0, r8, r0 -/* 8012B2B0 00128210 2C 00 00 01 */ cmpwi r0, 1 -/* 8012B2B4 00128214 40 81 00 3C */ ble lbl_8012B2F0 -/* 8012B2B8 00128218 38 07 00 01 */ addi r0, r7, 1 -/* 8012B2BC 0012821C 3C C0 80 5A */ lis r6, lbl_805A6660@ha -/* 8012B2C0 00128220 7C 1C 00 AE */ lbzx r0, r28, r0 -/* 8012B2C4 00128224 80 FE 01 08 */ lwz r7, 0x108(r30) -/* 8012B2C8 00128228 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a -/* 8012B2CC 0012822C C0 06 66 60 */ lfs f0, lbl_805A6660@l(r6) -/* 8012B2D0 00128230 7C E7 02 14 */ add r7, r7, r0 -/* 8012B2D4 00128234 D0 07 00 04 */ stfs f0, 4(r7) -/* 8012B2D8 00128238 80 C3 00 04 */ lwz r6, 4(r3) -/* 8012B2DC 0012823C 80 03 00 08 */ lwz r0, 8(r3) -/* 8012B2E0 00128240 90 C7 00 08 */ stw r6, 8(r7) -/* 8012B2E4 00128244 90 07 00 0C */ stw r0, 0xc(r7) -/* 8012B2E8 00128248 80 03 00 0C */ lwz r0, 0xc(r3) -/* 8012B2EC 0012824C 90 07 00 10 */ stw r0, 0x10(r7) -lbl_8012B2F0: -/* 8012B2F0 00128250 38 A5 00 01 */ addi r5, r5, 1 -lbl_8012B2F4: -/* 8012B2F4 00128254 80 C4 00 14 */ lwz r6, 0x14(r4) -/* 8012B2F8 00128258 80 04 00 0C */ lwz r0, 0xc(r4) -/* 8012B2FC 0012825C 7C 06 02 14 */ add r0, r6, r0 -/* 8012B300 00128260 7C 05 00 40 */ cmplw r5, r0 -/* 8012B304 00128264 40 82 FF 84 */ bne lbl_8012B288 -/* 8012B308 00128268 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012B30C 0012826C 38 61 01 94 */ addi r3, r1, 0x194 -/* 8012B310 00128270 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012B314 00128274 38 84 00 48 */ addi r4, r4, 0x48 -/* 8012B318 00128278 4B ED 99 A1 */ bl string_l__4rstlFPCc -/* 8012B31C 0012827C 7F E4 FB 78 */ mr r4, r31 -/* 8012B320 00128280 38 61 00 08 */ addi r3, r1, 8 -/* 8012B324 00128284 38 A1 01 94 */ addi r5, r1, 0x194 -/* 8012B328 00128288 4B F0 35 11 */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012B32C 0012828C 8B 21 00 08 */ lbz r25, 8(r1) -/* 8012B330 00128290 38 61 01 94 */ addi r3, r1, 0x194 -/* 8012B334 00128294 48 21 27 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012B338 00128298 80 BA 00 10 */ lwz r5, 0x10(r26) -/* 8012B33C 0012829C 57 20 0D FC */ rlwinm r0, r25, 1, 0x17, 0x1e -/* 8012B340 001282A0 C0 7D 00 00 */ lfs f3, 0(r29) -/* 8012B344 001282A4 7F 3C 02 14 */ add r25, r28, r0 -/* 8012B348 001282A8 C0 85 02 04 */ lfs f4, 0x204(r5) -/* 8012B34C 001282AC 38 61 01 70 */ addi r3, r1, 0x170 -/* 8012B350 001282B0 C0 45 02 C4 */ lfs f2, 0x2c4(r5) -/* 8012B354 001282B4 38 81 01 64 */ addi r4, r1, 0x164 -/* 8012B358 001282B8 88 19 00 01 */ lbz r0, 1(r25) -/* 8012B35C 001282BC EC A4 10 2A */ fadds f5, f4, f2 -/* 8012B360 001282C0 C0 C2 97 D0 */ lfs f6, lbl_805AB4F0@sda21(r2) -/* 8012B364 001282C4 C0 25 02 08 */ lfs f1, 0x208(r5) -/* 8012B368 001282C8 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a -/* 8012B36C 001282CC C0 05 02 C8 */ lfs f0, 0x2c8(r5) -/* 8012B370 001282D0 EC A6 01 72 */ fmuls f5, f6, f5 -/* 8012B374 001282D4 EC 81 00 2A */ fadds f4, f1, f0 -/* 8012B378 001282D8 C0 1B 00 00 */ lfs f0, 0(r27) -/* 8012B37C 001282DC C0 45 02 0C */ lfs f2, 0x20c(r5) -/* 8012B380 001282E0 EC A5 00 28 */ fsubs f5, f5, f0 -/* 8012B384 001282E4 C0 1B 00 04 */ lfs f0, 4(r27) -/* 8012B388 001282E8 EC E6 01 32 */ fmuls f7, f6, f4 -/* 8012B38C 001282EC C0 25 02 CC */ lfs f1, 0x2cc(r5) -/* 8012B390 001282F0 80 BE 01 08 */ lwz r5, 0x108(r30) -/* 8012B394 001282F4 EC E7 00 28 */ fsubs f7, f7, f0 -/* 8012B398 001282F8 C0 9B 00 08 */ lfs f4, 8(r27) -/* 8012B39C 001282FC EC 05 18 24 */ fdivs f0, f5, f3 -/* 8012B3A0 00128300 7C A5 02 14 */ add r5, r5, r0 -/* 8012B3A4 00128304 D0 61 01 7C */ stfs f3, 0x17c(r1) -/* 8012B3A8 00128308 D0 61 01 88 */ stfs f3, 0x188(r1) -/* 8012B3AC 0012830C EC 22 08 2A */ fadds f1, f2, f1 -/* 8012B3B0 00128310 C0 5D 00 04 */ lfs f2, 4(r29) -/* 8012B3B4 00128314 D0 41 01 80 */ stfs f2, 0x180(r1) -/* 8012B3B8 00128318 ED 06 00 72 */ fmuls f8, f6, f1 -/* 8012B3BC 0012831C C0 3D 00 08 */ lfs f1, 8(r29) -/* 8012B3C0 00128320 D0 41 01 8C */ stfs f2, 0x18c(r1) -/* 8012B3C4 00128324 ED 08 20 28 */ fsubs f8, f8, f4 -/* 8012B3C8 00128328 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8012B3CC 0012832C EC 87 10 24 */ fdivs f4, f7, f2 -/* 8012B3D0 00128330 D0 21 01 84 */ stfs f1, 0x184(r1) -/* 8012B3D4 00128334 D0 21 01 90 */ stfs f1, 0x190(r1) -/* 8012B3D8 00128338 EC 08 08 24 */ fdivs f0, f8, f1 -/* 8012B3DC 0012833C D0 85 00 18 */ stfs f4, 0x18(r5) -/* 8012B3E0 00128340 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 8012B3E4 00128344 80 BA 00 10 */ lwz r5, 0x10(r26) -/* 8012B3E8 00128348 C0 25 00 88 */ lfs f1, 0x88(r5) -/* 8012B3EC 0012834C C0 05 01 48 */ lfs f0, 0x148(r5) -/* 8012B3F0 00128350 C0 65 00 8C */ lfs f3, 0x8c(r5) -/* 8012B3F4 00128354 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8012B3F8 00128358 C0 45 01 4C */ lfs f2, 0x14c(r5) -/* 8012B3FC 0012835C C0 25 00 84 */ lfs f1, 0x84(r5) -/* 8012B400 00128360 C0 05 01 44 */ lfs f0, 0x144(r5) -/* 8012B404 00128364 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8012B408 00128368 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012B40C 0012836C D0 81 02 18 */ stfs f4, 0x218(r1) -/* 8012B410 00128370 D0 41 02 1C */ stfs f2, 0x21c(r1) -/* 8012B414 00128374 D0 01 02 14 */ stfs f0, 0x214(r1) -/* 8012B418 00128378 C0 25 02 08 */ lfs f1, 0x208(r5) -/* 8012B41C 0012837C C0 05 02 C8 */ lfs f0, 0x2c8(r5) -/* 8012B420 00128380 C0 45 02 0C */ lfs f2, 0x20c(r5) -/* 8012B424 00128384 EC A1 00 2A */ fadds f5, f1, f0 -/* 8012B428 00128388 C0 05 02 CC */ lfs f0, 0x2cc(r5) -/* 8012B42C 0012838C C0 25 02 04 */ lfs f1, 0x204(r5) -/* 8012B430 00128390 EC 82 00 2A */ fadds f4, f2, f0 -/* 8012B434 00128394 C0 05 02 C4 */ lfs f0, 0x2c4(r5) -/* 8012B438 00128398 ED 06 01 72 */ fmuls f8, f6, f5 -/* 8012B43C 0012839C EC 61 00 2A */ fadds f3, f1, f0 -/* 8012B440 001283A0 C0 05 00 08 */ lfs f0, 8(r5) -/* 8012B444 001283A4 EC E6 01 32 */ fmuls f7, f6, f4 -/* 8012B448 001283A8 C0 25 00 0C */ lfs f1, 0xc(r5) -/* 8012B44C 001283AC ED 20 40 28 */ fsubs f9, f0, f8 -/* 8012B450 001283B0 EC 46 00 F2 */ fmuls f2, f6, f3 -/* 8012B454 001283B4 C0 05 00 04 */ lfs f0, 4(r5) -/* 8012B458 001283B8 EC 21 38 28 */ fsubs f1, f1, f7 -/* 8012B45C 001283BC D0 61 01 4C */ stfs f3, 0x14c(r1) -/* 8012B460 001283C0 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8012B464 001283C4 D0 A1 01 50 */ stfs f5, 0x150(r1) -/* 8012B468 001283C8 D0 81 01 54 */ stfs f4, 0x154(r1) -/* 8012B46C 001283CC D0 41 01 58 */ stfs f2, 0x158(r1) -/* 8012B470 001283D0 D1 01 01 5C */ stfs f8, 0x15c(r1) -/* 8012B474 001283D4 D0 E1 01 60 */ stfs f7, 0x160(r1) -/* 8012B478 001283D8 D0 01 01 64 */ stfs f0, 0x164(r1) -/* 8012B47C 001283DC D1 21 01 68 */ stfs f9, 0x168(r1) -/* 8012B480 001283E0 D0 21 01 6C */ stfs f1, 0x16c(r1) -/* 8012B484 001283E4 48 1E 93 CD */ bl AsNormalized__9CVector3fCFv -/* 8012B488 001283E8 C0 A1 01 70 */ lfs f5, 0x170(r1) -/* 8012B48C 001283EC 38 61 01 40 */ addi r3, r1, 0x140 -/* 8012B490 001283F0 C0 81 01 74 */ lfs f4, 0x174(r1) -/* 8012B494 001283F4 38 81 01 34 */ addi r4, r1, 0x134 -/* 8012B498 001283F8 C0 61 01 78 */ lfs f3, 0x178(r1) -/* 8012B49C 001283FC C0 C1 02 18 */ lfs f6, 0x218(r1) -/* 8012B4A0 00128400 C0 E1 02 1C */ lfs f7, 0x21c(r1) -/* 8012B4A4 00128404 C1 01 02 14 */ lfs f8, 0x214(r1) -/* 8012B4A8 00128408 EC 46 00 F2 */ fmuls f2, f6, f3 -/* 8012B4AC 0012840C EC 27 01 72 */ fmuls f1, f7, f5 -/* 8012B4B0 00128410 D0 A1 02 08 */ stfs f5, 0x208(r1) -/* 8012B4B4 00128414 EC 08 01 32 */ fmuls f0, f8, f4 -/* 8012B4B8 00128418 EC 44 11 F8 */ fmsubs f2, f4, f7, f2 -/* 8012B4BC 0012841C D0 81 02 0C */ stfs f4, 0x20c(r1) -/* 8012B4C0 00128420 EC 23 0A 38 */ fmsubs f1, f3, f8, f1 -/* 8012B4C4 00128424 EC 05 01 B8 */ fmsubs f0, f5, f6, f0 -/* 8012B4C8 00128428 D0 61 02 10 */ stfs f3, 0x210(r1) -/* 8012B4CC 0012842C D0 41 01 34 */ stfs f2, 0x134(r1) -/* 8012B4D0 00128430 D0 21 01 38 */ stfs f1, 0x138(r1) -/* 8012B4D4 00128434 D0 01 01 3C */ stfs f0, 0x13c(r1) -/* 8012B4D8 00128438 48 1E 93 79 */ bl AsNormalized__9CVector3fCFv -/* 8012B4DC 0012843C C0 A1 01 40 */ lfs f5, 0x140(r1) -/* 8012B4E0 00128440 38 61 02 44 */ addi r3, r1, 0x244 -/* 8012B4E4 00128444 C0 81 01 44 */ lfs f4, 0x144(r1) -/* 8012B4E8 00128448 38 81 02 14 */ addi r4, r1, 0x214 -/* 8012B4EC 0012844C C0 61 01 48 */ lfs f3, 0x148(r1) -/* 8012B4F0 00128450 38 A1 01 FC */ addi r5, r1, 0x1fc -/* 8012B4F4 00128454 C0 C1 02 0C */ lfs f6, 0x20c(r1) -/* 8012B4F8 00128458 38 C1 02 08 */ addi r6, r1, 0x208 -/* 8012B4FC 0012845C C0 E1 02 10 */ lfs f7, 0x210(r1) -/* 8012B500 00128460 C1 01 02 08 */ lfs f8, 0x208(r1) -/* 8012B504 00128464 EC 26 00 F2 */ fmuls f1, f6, f3 -/* 8012B508 00128468 EC 07 01 72 */ fmuls f0, f7, f5 -/* 8012B50C 0012846C D0 A1 01 FC */ stfs f5, 0x1fc(r1) -/* 8012B510 00128470 EC 48 01 32 */ fmuls f2, f8, f4 -/* 8012B514 00128474 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 -/* 8012B518 00128478 D0 81 02 00 */ stfs f4, 0x200(r1) -/* 8012B51C 0012847C EC 03 02 38 */ fmsubs f0, f3, f8, f0 -/* 8012B520 00128480 EC 45 11 B8 */ fmsubs f2, f5, f6, f2 -/* 8012B524 00128484 D0 61 02 04 */ stfs f3, 0x204(r1) -/* 8012B528 00128488 D0 21 02 14 */ stfs f1, 0x214(r1) -/* 8012B52C 0012848C D0 01 02 18 */ stfs f0, 0x218(r1) -/* 8012B530 00128490 D0 41 02 1C */ stfs f2, 0x21c(r1) -/* 8012B534 00128494 48 1E 51 49 */ bl __ct__9CMatrix3fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8012B538 00128498 C1 01 02 44 */ lfs f8, 0x244(r1) -/* 8012B53C 0012849C 38 61 01 24 */ addi r3, r1, 0x124 -/* 8012B540 001284A0 C0 E1 02 50 */ lfs f7, 0x250(r1) -/* 8012B544 001284A4 38 81 02 20 */ addi r4, r1, 0x220 -/* 8012B548 001284A8 C0 C1 02 5C */ lfs f6, 0x25c(r1) -/* 8012B54C 001284AC C0 A1 02 48 */ lfs f5, 0x248(r1) -/* 8012B550 001284B0 C0 81 02 54 */ lfs f4, 0x254(r1) -/* 8012B554 001284B4 C0 61 02 60 */ lfs f3, 0x260(r1) -/* 8012B558 001284B8 C0 41 02 4C */ lfs f2, 0x24c(r1) -/* 8012B55C 001284BC C0 21 02 58 */ lfs f1, 0x258(r1) -/* 8012B560 001284C0 C0 01 02 64 */ lfs f0, 0x264(r1) -/* 8012B564 001284C4 D1 01 02 20 */ stfs f8, 0x220(r1) -/* 8012B568 001284C8 D0 E1 02 24 */ stfs f7, 0x224(r1) -/* 8012B56C 001284CC D0 C1 02 28 */ stfs f6, 0x228(r1) -/* 8012B570 001284D0 D0 A1 02 2C */ stfs f5, 0x22c(r1) -/* 8012B574 001284D4 D0 81 02 30 */ stfs f4, 0x230(r1) -/* 8012B578 001284D8 D0 61 02 34 */ stfs f3, 0x234(r1) -/* 8012B57C 001284DC D0 41 02 38 */ stfs f2, 0x238(r1) -/* 8012B580 001284E0 D0 21 02 3C */ stfs f1, 0x23c(r1) -/* 8012B584 001284E4 D0 01 02 40 */ stfs f0, 0x240(r1) -/* 8012B588 001284E8 48 1E 6B F9 */ bl FromMatrix__11CQuaternionFRC9CMatrix3f -/* 8012B58C 001284EC C0 61 01 24 */ lfs f3, 0x124(r1) -/* 8012B590 001284F0 C0 41 01 28 */ lfs f2, 0x128(r1) -/* 8012B594 001284F4 C0 21 01 2C */ lfs f1, 0x12c(r1) -/* 8012B598 001284F8 C0 01 01 30 */ lfs f0, 0x130(r1) -/* 8012B59C 001284FC D0 61 01 EC */ stfs f3, 0x1ec(r1) -/* 8012B5A0 00128500 D0 41 01 F0 */ stfs f2, 0x1f0(r1) -/* 8012B5A4 00128504 D0 21 01 F4 */ stfs f1, 0x1f4(r1) -/* 8012B5A8 00128508 D0 01 01 F8 */ stfs f0, 0x1f8(r1) -/* 8012B5AC 0012850C 88 19 00 01 */ lbz r0, 1(r25) -/* 8012B5B0 00128510 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 8012B5B4 00128514 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a -/* 8012B5B8 00128518 7C 83 02 14 */ add r4, r3, r0 -/* 8012B5BC 0012851C D0 64 00 04 */ stfs f3, 4(r4) -/* 8012B5C0 00128520 80 61 01 F0 */ lwz r3, 0x1f0(r1) -/* 8012B5C4 00128524 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 8012B5C8 00128528 90 64 00 08 */ stw r3, 8(r4) -/* 8012B5CC 0012852C 90 04 00 0C */ stw r0, 0xc(r4) -/* 8012B5D0 00128530 80 01 01 F8 */ lwz r0, 0x1f8(r1) -/* 8012B5D4 00128534 90 04 00 10 */ stw r0, 0x10(r4) -/* 8012B5D8 00128538 80 7A 00 6C */ lwz r3, 0x6c(r26) -/* 8012B5DC 0012853C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8012B5E0 00128540 A0 63 07 B4 */ lhz r3, 0x7b4(r3) -/* 8012B5E4 00128544 83 BF 00 D4 */ lwz r29, 0xd4(r31) -/* 8012B5E8 00128548 7C 03 00 40 */ cmplw r3, r0 -/* 8012B5EC 0012854C 40 82 01 24 */ bne lbl_8012B710 -/* 8012B5F0 00128550 80 BA 00 10 */ lwz r5, 0x10(r26) -/* 8012B5F4 00128554 7F A4 EB 78 */ mr r4, r29 -/* 8012B5F8 00128558 38 61 01 18 */ addi r3, r1, 0x118 -/* 8012B5FC 0012855C 38 A5 00 40 */ addi r5, r5, 0x40 -/* 8012B600 00128560 48 00 03 A1 */ bl GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId -/* 8012B604 00128564 C0 01 01 18 */ lfs f0, 0x118(r1) -/* 8012B608 00128568 38 61 01 0C */ addi r3, r1, 0x10c -/* 8012B60C 0012856C C0 21 01 1C */ lfs f1, 0x11c(r1) -/* 8012B610 00128570 38 81 00 FC */ addi r4, r1, 0xfc -/* 8012B614 00128574 C0 41 01 20 */ lfs f2, 0x120(r1) -/* 8012B618 00128578 38 A1 01 D4 */ addi r5, r1, 0x1d4 -/* 8012B61C 0012857C D0 01 01 E0 */ stfs f0, 0x1e0(r1) -/* 8012B620 00128580 C0 01 01 F8 */ lfs f0, 0x1f8(r1) -/* 8012B624 00128584 D0 21 01 E4 */ stfs f1, 0x1e4(r1) -/* 8012B628 00128588 C0 21 01 F4 */ lfs f1, 0x1f4(r1) -/* 8012B62C 0012858C FD 00 00 50 */ fneg f8, f0 -/* 8012B630 00128590 D0 41 01 E8 */ stfs f2, 0x1e8(r1) -/* 8012B634 00128594 C0 01 01 F0 */ lfs f0, 0x1f0(r1) -/* 8012B638 00128598 FC E0 08 50 */ fneg f7, f1 -/* 8012B63C 0012859C 80 DA 00 10 */ lwz r6, 0x10(r26) -/* 8012B640 001285A0 FC C0 00 50 */ fneg f6, f0 -/* 8012B644 001285A4 C0 01 01 EC */ lfs f0, 0x1ec(r1) -/* 8012B648 001285A8 C0 46 00 48 */ lfs f2, 0x48(r6) -/* 8012B64C 001285AC C0 26 00 08 */ lfs f1, 8(r6) -/* 8012B650 001285B0 C0 86 00 4C */ lfs f4, 0x4c(r6) -/* 8012B654 001285B4 C0 66 00 0C */ lfs f3, 0xc(r6) -/* 8012B658 001285B8 EC A2 08 28 */ fsubs f5, f2, f1 -/* 8012B65C 001285BC C0 46 00 44 */ lfs f2, 0x44(r6) -/* 8012B660 001285C0 C0 26 00 04 */ lfs f1, 4(r6) -/* 8012B664 001285C4 EC 64 18 28 */ fsubs f3, f4, f3 -/* 8012B668 001285C8 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8012B66C 001285CC D0 A1 01 D8 */ stfs f5, 0x1d8(r1) -/* 8012B670 001285D0 D0 61 01 DC */ stfs f3, 0x1dc(r1) -/* 8012B674 001285D4 D0 21 01 D4 */ stfs f1, 0x1d4(r1) -/* 8012B678 001285D8 D0 01 00 FC */ stfs f0, 0xfc(r1) -/* 8012B67C 001285DC D0 C1 01 00 */ stfs f6, 0x100(r1) -/* 8012B680 001285E0 D0 E1 01 04 */ stfs f7, 0x104(r1) -/* 8012B684 001285E4 D1 01 01 08 */ stfs f8, 0x108(r1) -/* 8012B688 001285E8 48 1E 5B DD */ bl Transform__11CQuaternionCFRC9CVector3f -/* 8012B68C 001285EC C0 41 01 0C */ lfs f2, 0x10c(r1) -/* 8012B690 001285F0 38 61 00 EC */ addi r3, r1, 0xec -/* 8012B694 001285F4 C0 21 01 10 */ lfs f1, 0x110(r1) -/* 8012B698 001285F8 38 81 01 E0 */ addi r4, r1, 0x1e0 -/* 8012B69C 001285FC C0 01 01 14 */ lfs f0, 0x114(r1) -/* 8012B6A0 00128600 38 A1 01 D4 */ addi r5, r1, 0x1d4 -/* 8012B6A4 00128604 D0 41 01 D4 */ stfs f2, 0x1d4(r1) -/* 8012B6A8 00128608 D0 21 01 D8 */ stfs f1, 0x1d8(r1) -/* 8012B6AC 0012860C D0 01 01 DC */ stfs f0, 0x1dc(r1) -/* 8012B6B0 00128610 48 1E 64 09 */ bl ShortestRotationArc__11CQuaternionFRC9CVector3fRC9CVector3f -/* 8012B6B4 00128614 80 7A 00 10 */ lwz r3, 0x10(r26) -/* 8012B6B8 00128618 C0 01 00 F0 */ lfs f0, 0xf0(r1) -/* 8012B6BC 0012861C 88 03 00 40 */ lbz r0, 0x40(r3) -/* 8012B6C0 00128620 D0 01 01 C8 */ stfs f0, 0x1c8(r1) -/* 8012B6C4 00128624 54 03 08 3C */ slwi r3, r0, 1 -/* 8012B6C8 00128628 C0 41 00 EC */ lfs f2, 0xec(r1) -/* 8012B6CC 0012862C 38 03 00 01 */ addi r0, r3, 1 -/* 8012B6D0 00128630 C0 21 00 F4 */ lfs f1, 0xf4(r1) -/* 8012B6D4 00128634 7C 1C 00 AE */ lbzx r0, r28, r0 -/* 8012B6D8 00128638 80 7E 01 08 */ lwz r3, 0x108(r30) -/* 8012B6DC 0012863C C0 01 00 F8 */ lfs f0, 0xf8(r1) -/* 8012B6E0 00128640 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a -/* 8012B6E4 00128644 7C 83 02 14 */ add r4, r3, r0 -/* 8012B6E8 00128648 D0 21 01 CC */ stfs f1, 0x1cc(r1) -/* 8012B6EC 0012864C 80 01 01 C8 */ lwz r0, 0x1c8(r1) -/* 8012B6F0 00128650 D0 44 00 04 */ stfs f2, 4(r4) -/* 8012B6F4 00128654 80 61 01 CC */ lwz r3, 0x1cc(r1) -/* 8012B6F8 00128658 90 04 00 08 */ stw r0, 8(r4) -/* 8012B6FC 0012865C D0 01 01 D0 */ stfs f0, 0x1d0(r1) -/* 8012B700 00128660 80 01 01 D0 */ lwz r0, 0x1d0(r1) -/* 8012B704 00128664 90 64 00 0C */ stw r3, 0xc(r4) -/* 8012B708 00128668 D0 41 01 C4 */ stfs f2, 0x1c4(r1) -/* 8012B70C 0012866C 90 04 00 10 */ stw r0, 0x10(r4) -lbl_8012B710: -/* 8012B710 00128670 7F 44 D3 78 */ mr r4, r26 -/* 8012B714 00128674 7F C5 F3 78 */ mr r5, r30 -/* 8012B718 00128678 7F A6 EB 78 */ mr r6, r29 -/* 8012B71C 0012867C 38 61 00 DC */ addi r3, r1, 0xdc -/* 8012B720 00128680 39 21 01 EC */ addi r9, r1, 0x1ec -/* 8012B724 00128684 38 E0 00 02 */ li r7, 2 -/* 8012B728 00128688 39 00 00 03 */ li r8, 3 -/* 8012B72C 0012868C 48 0E 12 31 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion -/* 8012B730 00128690 C0 61 00 DC */ lfs f3, 0xdc(r1) -/* 8012B734 00128694 38 61 00 BC */ addi r3, r1, 0xbc -/* 8012B738 00128698 C0 41 00 E0 */ lfs f2, 0xe0(r1) -/* 8012B73C 0012869C 38 81 01 EC */ addi r4, r1, 0x1ec -/* 8012B740 001286A0 C0 21 00 E4 */ lfs f1, 0xe4(r1) -/* 8012B744 001286A4 38 A1 01 B4 */ addi r5, r1, 0x1b4 -/* 8012B748 001286A8 C0 01 00 E8 */ lfs f0, 0xe8(r1) -/* 8012B74C 001286AC D0 61 01 B4 */ stfs f3, 0x1b4(r1) -/* 8012B750 001286B0 D0 41 01 B8 */ stfs f2, 0x1b8(r1) -/* 8012B754 001286B4 D0 21 01 BC */ stfs f1, 0x1bc(r1) -/* 8012B758 001286B8 D0 01 01 C0 */ stfs f0, 0x1c0(r1) -/* 8012B75C 001286BC 48 1E 5A 45 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8012B760 001286C0 7F 44 D3 78 */ mr r4, r26 -/* 8012B764 001286C4 7F C5 F3 78 */ mr r5, r30 -/* 8012B768 001286C8 7F A6 EB 78 */ mr r6, r29 -/* 8012B76C 001286CC 38 61 00 CC */ addi r3, r1, 0xcc -/* 8012B770 001286D0 39 21 00 BC */ addi r9, r1, 0xbc -/* 8012B774 001286D4 38 E0 00 03 */ li r7, 3 -/* 8012B778 001286D8 39 00 00 04 */ li r8, 4 -/* 8012B77C 001286DC 48 0E 11 E1 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion -/* 8012B780 001286E0 7F 44 D3 78 */ mr r4, r26 -/* 8012B784 001286E4 7F C5 F3 78 */ mr r5, r30 -/* 8012B788 001286E8 7F A6 EB 78 */ mr r6, r29 -/* 8012B78C 001286EC 38 61 00 AC */ addi r3, r1, 0xac -/* 8012B790 001286F0 39 21 01 EC */ addi r9, r1, 0x1ec -/* 8012B794 001286F4 38 E0 00 05 */ li r7, 5 -/* 8012B798 001286F8 39 00 00 06 */ li r8, 6 -/* 8012B79C 001286FC 48 0E 11 C1 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion -/* 8012B7A0 00128700 C0 01 00 AC */ lfs f0, 0xac(r1) -/* 8012B7A4 00128704 38 61 00 8C */ addi r3, r1, 0x8c -/* 8012B7A8 00128708 80 E1 00 B0 */ lwz r7, 0xb0(r1) -/* 8012B7AC 0012870C 38 81 01 EC */ addi r4, r1, 0x1ec -/* 8012B7B0 00128710 80 C1 00 B4 */ lwz r6, 0xb4(r1) -/* 8012B7B4 00128714 38 A1 01 B4 */ addi r5, r1, 0x1b4 -/* 8012B7B8 00128718 80 01 00 B8 */ lwz r0, 0xb8(r1) -/* 8012B7BC 0012871C D0 01 01 B4 */ stfs f0, 0x1b4(r1) -/* 8012B7C0 00128720 90 E1 01 B8 */ stw r7, 0x1b8(r1) -/* 8012B7C4 00128724 90 C1 01 BC */ stw r6, 0x1bc(r1) -/* 8012B7C8 00128728 90 01 01 C0 */ stw r0, 0x1c0(r1) -/* 8012B7CC 0012872C 48 1E 59 D5 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8012B7D0 00128730 7F 44 D3 78 */ mr r4, r26 -/* 8012B7D4 00128734 7F C5 F3 78 */ mr r5, r30 -/* 8012B7D8 00128738 7F A6 EB 78 */ mr r6, r29 -/* 8012B7DC 0012873C 38 61 00 9C */ addi r3, r1, 0x9c -/* 8012B7E0 00128740 39 21 00 8C */ addi r9, r1, 0x8c -/* 8012B7E4 00128744 38 E0 00 06 */ li r7, 6 -/* 8012B7E8 00128748 39 00 00 07 */ li r8, 7 -/* 8012B7EC 0012874C 48 0E 11 71 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion -/* 8012B7F0 00128750 7F 44 D3 78 */ mr r4, r26 -/* 8012B7F4 00128754 7F C5 F3 78 */ mr r5, r30 -/* 8012B7F8 00128758 7F A6 EB 78 */ mr r6, r29 -/* 8012B7FC 0012875C 38 61 00 7C */ addi r3, r1, 0x7c -/* 8012B800 00128760 39 21 01 EC */ addi r9, r1, 0x1ec -/* 8012B804 00128764 38 E0 00 08 */ li r7, 8 -/* 8012B808 00128768 39 00 00 09 */ li r8, 9 -/* 8012B80C 0012876C 48 0E 11 51 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion -/* 8012B810 00128770 C0 01 00 7C */ lfs f0, 0x7c(r1) -/* 8012B814 00128774 38 61 00 5C */ addi r3, r1, 0x5c -/* 8012B818 00128778 80 E1 00 80 */ lwz r7, 0x80(r1) -/* 8012B81C 0012877C 38 81 01 EC */ addi r4, r1, 0x1ec -/* 8012B820 00128780 80 C1 00 84 */ lwz r6, 0x84(r1) -/* 8012B824 00128784 38 A1 01 B4 */ addi r5, r1, 0x1b4 -/* 8012B828 00128788 80 01 00 88 */ lwz r0, 0x88(r1) -/* 8012B82C 0012878C D0 01 01 B4 */ stfs f0, 0x1b4(r1) -/* 8012B830 00128790 90 E1 01 B8 */ stw r7, 0x1b8(r1) -/* 8012B834 00128794 90 C1 01 BC */ stw r6, 0x1bc(r1) -/* 8012B838 00128798 90 01 01 C0 */ stw r0, 0x1c0(r1) -/* 8012B83C 0012879C 48 1E 59 65 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8012B840 001287A0 7F 44 D3 78 */ mr r4, r26 -/* 8012B844 001287A4 7F C5 F3 78 */ mr r5, r30 -/* 8012B848 001287A8 7F A6 EB 78 */ mr r6, r29 -/* 8012B84C 001287AC 38 61 00 6C */ addi r3, r1, 0x6c -/* 8012B850 001287B0 39 21 00 5C */ addi r9, r1, 0x5c -/* 8012B854 001287B4 38 E0 00 09 */ li r7, 9 -/* 8012B858 001287B8 39 00 00 0A */ li r8, 0xa -/* 8012B85C 001287BC 48 0E 11 01 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion -/* 8012B860 001287C0 7F 44 D3 78 */ mr r4, r26 -/* 8012B864 001287C4 7F C5 F3 78 */ mr r5, r30 -/* 8012B868 001287C8 7F A6 EB 78 */ mr r6, r29 -/* 8012B86C 001287CC 38 61 00 4C */ addi r3, r1, 0x4c -/* 8012B870 001287D0 39 21 01 EC */ addi r9, r1, 0x1ec -/* 8012B874 001287D4 38 E0 00 0B */ li r7, 0xb -/* 8012B878 001287D8 39 00 00 0C */ li r8, 0xc -/* 8012B87C 001287DC 48 0E 10 E1 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion -/* 8012B880 001287E0 C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8012B884 001287E4 38 61 00 2C */ addi r3, r1, 0x2c -/* 8012B888 001287E8 80 E1 00 50 */ lwz r7, 0x50(r1) -/* 8012B88C 001287EC 38 81 01 EC */ addi r4, r1, 0x1ec -/* 8012B890 001287F0 80 C1 00 54 */ lwz r6, 0x54(r1) -/* 8012B894 001287F4 38 A1 01 B4 */ addi r5, r1, 0x1b4 -/* 8012B898 001287F8 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8012B89C 001287FC D0 01 01 B4 */ stfs f0, 0x1b4(r1) -/* 8012B8A0 00128800 90 E1 01 B8 */ stw r7, 0x1b8(r1) -/* 8012B8A4 00128804 90 C1 01 BC */ stw r6, 0x1bc(r1) -/* 8012B8A8 00128808 90 01 01 C0 */ stw r0, 0x1c0(r1) -/* 8012B8AC 0012880C 48 1E 58 F5 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8012B8B0 00128810 7F 44 D3 78 */ mr r4, r26 -/* 8012B8B4 00128814 7F C5 F3 78 */ mr r5, r30 -/* 8012B8B8 00128818 7F A6 EB 78 */ mr r6, r29 -/* 8012B8BC 0012881C 38 61 00 3C */ addi r3, r1, 0x3c -/* 8012B8C0 00128820 39 21 00 2C */ addi r9, r1, 0x2c -/* 8012B8C4 00128824 38 E0 00 0C */ li r7, 0xc -/* 8012B8C8 00128828 39 00 00 0D */ li r8, 0xd -/* 8012B8CC 0012882C 48 0E 10 91 */ bl BoneAlign__8CRagDollFR21CHierarchyPoseBuilderRC15CCharLayoutInfoiiRC11CQuaternion -/* 8012B8D0 00128830 C0 02 98 80 */ lfs f0, lbl_805AB5A0@sda21(r2) -/* 8012B8D4 00128834 38 61 00 1C */ addi r3, r1, 0x1c -/* 8012B8D8 00128838 38 81 00 0C */ addi r4, r1, 0xc -/* 8012B8DC 0012883C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8012B8E0 00128840 48 1E 58 89 */ bl XRotation__11CQuaternionFRC9CRelAngle -/* 8012B8E4 00128844 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8012B8E8 00128848 38 60 00 00 */ li r3, 0 -/* 8012B8EC 0012884C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8012B8F0 00128850 88 04 02 80 */ lbz r0, 0x280(r4) -/* 8012B8F4 00128854 D0 01 01 A8 */ stfs f0, 0x1a8(r1) -/* 8012B8F8 00128858 54 04 08 3C */ slwi r4, r0, 1 -/* 8012B8FC 0012885C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8012B900 00128860 38 04 00 01 */ addi r0, r4, 1 -/* 8012B904 00128864 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8012B908 00128868 7C 1C 00 AE */ lbzx r0, r28, r0 -/* 8012B90C 0012886C 80 9E 01 08 */ lwz r4, 0x108(r30) -/* 8012B910 00128870 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8012B914 00128874 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a -/* 8012B918 00128878 7C 84 02 14 */ add r4, r4, r0 -/* 8012B91C 0012887C D0 21 01 AC */ stfs f1, 0x1ac(r1) -/* 8012B920 00128880 81 01 01 A8 */ lwz r8, 0x1a8(r1) -/* 8012B924 00128884 D0 44 00 04 */ stfs f2, 4(r4) -/* 8012B928 00128888 80 E1 01 AC */ lwz r7, 0x1ac(r1) -/* 8012B92C 0012888C D0 01 01 B0 */ stfs f0, 0x1b0(r1) -/* 8012B930 00128890 91 04 00 08 */ stw r8, 8(r4) -/* 8012B934 00128894 80 C1 01 B0 */ lwz r6, 0x1b0(r1) -/* 8012B938 00128898 90 E4 00 0C */ stw r7, 0xc(r4) -/* 8012B93C 0012889C 90 C4 00 10 */ stw r6, 0x10(r4) -/* 8012B940 001288A0 80 9A 00 10 */ lwz r4, 0x10(r26) -/* 8012B944 001288A4 80 BE 01 08 */ lwz r5, 0x108(r30) -/* 8012B948 001288A8 88 04 03 40 */ lbz r0, 0x340(r4) -/* 8012B94C 001288AC D0 41 01 A4 */ stfs f2, 0x1a4(r1) -/* 8012B950 001288B0 54 04 08 3C */ slwi r4, r0, 1 -/* 8012B954 001288B4 38 04 00 01 */ addi r0, r4, 1 -/* 8012B958 001288B8 91 01 00 10 */ stw r8, 0x10(r1) -/* 8012B95C 001288BC 7C 1C 00 AE */ lbzx r0, r28, r0 -/* 8012B960 001288C0 90 E1 00 14 */ stw r7, 0x14(r1) -/* 8012B964 001288C4 54 00 2C F4 */ rlwinm r0, r0, 5, 0x13, 0x1a -/* 8012B968 001288C8 7C 85 02 14 */ add r4, r5, r0 -/* 8012B96C 001288CC 90 C1 00 18 */ stw r6, 0x18(r1) -/* 8012B970 001288D0 D0 44 00 04 */ stfs f2, 4(r4) -/* 8012B974 001288D4 91 04 00 08 */ stw r8, 8(r4) -/* 8012B978 001288D8 90 E4 00 0C */ stw r7, 0xc(r4) -/* 8012B97C 001288DC 90 C4 00 10 */ stw r6, 0x10(r4) -/* 8012B980 001288E0 88 1F 02 20 */ lbz r0, 0x220(r31) -/* 8012B984 001288E4 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8012B988 001288E8 98 1F 02 20 */ stb r0, 0x220(r31) -lbl_8012B98C: -/* 8012B98C 001288EC BB 21 02 74 */ lmw r25, 0x274(r1) -/* 8012B990 001288F0 80 01 02 94 */ lwz r0, 0x294(r1) -/* 8012B994 001288F4 7C 08 03 A6 */ mtlr r0 -/* 8012B998 001288F8 38 21 02 90 */ addi r1, r1, 0x290 -/* 8012B99C 001288FC 4E 80 00 20 */ blr - -.global GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId -GetFromParentUnrotated__15CCharLayoutInfoCFRC6CSegId: -/* 8012B9A0 00128900 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8012B9A4 00128904 88 05 00 00 */ lbz r0, 0(r5) -/* 8012B9A8 00128908 38 A0 00 00 */ li r5, 0 -/* 8012B9AC 0012890C 81 24 00 00 */ lwz r9, 0(r4) -/* 8012B9B0 00128910 54 04 08 3C */ slwi r4, r0, 1 -/* 8012B9B4 00128914 88 0D 8A 94 */ lbz r0, lbl_805A7654@sda21(r13) -/* 8012B9B8 00128918 7C C9 22 14 */ add r6, r9, r4 -/* 8012B9BC 0012891C 88 8D 8A 95 */ lbz r4, lbl_805A7655@sda21(r13) -/* 8012B9C0 00128920 88 C6 00 09 */ lbz r6, 9(r6) -/* 8012B9C4 00128924 7C 00 07 74 */ extsb r0, r0 -/* 8012B9C8 00128928 80 E9 00 D0 */ lwz r7, 0xd0(r9) -/* 8012B9CC 0012892C 7C 88 07 74 */ extsb r8, r4 -/* 8012B9D0 00128930 54 C4 2C F4 */ rlwinm r4, r6, 5, 0x13, 0x1a -/* 8012B9D4 00128934 7C C7 22 14 */ add r6, r7, r4 -/* 8012B9D8 00128938 89 46 00 00 */ lbz r10, 0(r6) -/* 8012B9DC 0012893C 55 44 0D FC */ rlwinm r4, r10, 1, 0x17, 0x1e -/* 8012B9E0 00128940 7C E9 22 14 */ add r7, r9, r4 -/* 8012B9E4 00128944 88 87 00 08 */ lbz r4, 8(r7) -/* 8012B9E8 00128948 7C 84 07 74 */ extsb r4, r4 -/* 8012B9EC 0012894C 7C 04 00 00 */ cmpw r4, r0 -/* 8012B9F0 00128950 40 82 00 14 */ bne lbl_8012BA04 -/* 8012B9F4 00128954 88 07 00 09 */ lbz r0, 9(r7) -/* 8012B9F8 00128958 7C 00 07 74 */ extsb r0, r0 -/* 8012B9FC 0012895C 7C 00 40 00 */ cmpw r0, r8 -/* 8012BA00 00128960 41 82 00 08 */ beq lbl_8012BA08 -lbl_8012BA04: -/* 8012BA04 00128964 38 A0 00 01 */ li r5, 1 -lbl_8012BA08: -/* 8012BA08 00128968 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 8012BA0C 0012896C 40 82 00 0C */ bne lbl_8012BA18 -/* 8012BA10 00128970 38 E6 00 04 */ addi r7, r6, 4 -/* 8012BA14 00128974 48 00 00 54 */ b lbl_8012BA68 -lbl_8012BA18: -/* 8012BA18 00128978 55 40 0D FC */ rlwinm r0, r10, 1, 0x17, 0x1e -/* 8012BA1C 0012897C 80 A9 00 D0 */ lwz r5, 0xd0(r9) -/* 8012BA20 00128980 7C 89 02 14 */ add r4, r9, r0 -/* 8012BA24 00128984 C0 A6 00 08 */ lfs f5, 8(r6) -/* 8012BA28 00128988 88 04 00 09 */ lbz r0, 9(r4) -/* 8012BA2C 0012898C 38 E1 00 08 */ addi r7, r1, 8 -/* 8012BA30 00128990 C0 66 00 0C */ lfs f3, 0xc(r6) -/* 8012BA34 00128994 54 04 2C F4 */ rlwinm r4, r0, 5, 0x13, 0x1a -/* 8012BA38 00128998 C0 26 00 04 */ lfs f1, 4(r6) -/* 8012BA3C 0012899C 38 84 00 04 */ addi r4, r4, 4 -/* 8012BA40 001289A0 7C 85 22 14 */ add r4, r5, r4 -/* 8012BA44 001289A4 C0 84 00 04 */ lfs f4, 4(r4) -/* 8012BA48 001289A8 C0 44 00 08 */ lfs f2, 8(r4) -/* 8012BA4C 001289AC C0 04 00 00 */ lfs f0, 0(r4) -/* 8012BA50 001289B0 EC 85 20 28 */ fsubs f4, f5, f4 -/* 8012BA54 001289B4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8012BA58 001289B8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012BA5C 001289BC D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8012BA60 001289C0 D0 01 00 08 */ stfs f0, 8(r1) -/* 8012BA64 001289C4 D0 41 00 10 */ stfs f2, 0x10(r1) -lbl_8012BA68: -/* 8012BA68 001289C8 C0 07 00 00 */ lfs f0, 0(r7) -/* 8012BA6C 001289CC D0 03 00 00 */ stfs f0, 0(r3) -/* 8012BA70 001289D0 C0 07 00 04 */ lfs f0, 4(r7) -/* 8012BA74 001289D4 D0 03 00 04 */ stfs f0, 4(r3) -/* 8012BA78 001289D8 C0 07 00 08 */ lfs f0, 8(r7) -/* 8012BA7C 001289DC D0 03 00 08 */ stfs f0, 8(r3) -/* 8012BA80 001289E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8012BA84 001289E4 4E 80 00 20 */ blr - -.global Update__14CPirateRagDollFR13CStateManagerf -Update__14CPirateRagDollFR13CStateManagerf: -/* 8012BA88 001289E8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8012BA8C 001289EC 7C 08 02 A6 */ mflr r0 -/* 8012BA90 001289F0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8012BA94 001289F4 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8012BA98 001289F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8012BA9C 001289FC DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8012BAA0 00128A00 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8012BAA4 00128A04 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8012BAA8 00128A08 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8012BAAC 00128A0C BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 8012BAB0 00128A10 7C 7E 1B 78 */ mr r30, r3 -/* 8012BAB4 00128A14 88 63 00 68 */ lbz r3, 0x68(r3) -/* 8012BAB8 00128A18 FF A0 08 90 */ fmr f29, f1 -/* 8012BABC 00128A1C 7C 9F 23 78 */ mr r31, r4 -/* 8012BAC0 00128A20 FF C0 10 90 */ fmr f30, f2 -/* 8012BAC4 00128A24 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8012BAC8 00128A28 41 82 00 0C */ beq lbl_8012BAD4 -/* 8012BACC 00128A2C 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 8012BAD0 00128A30 41 82 06 88 */ beq lbl_8012C158 -lbl_8012BAD4: -/* 8012BAD4 00128A34 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8012BAD8 00128A38 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8012BADC 00128A3C A0 63 07 B4 */ lhz r3, 0x7b4(r3) -/* 8012BAE0 00128A40 7C 03 00 40 */ cmplw r3, r0 -/* 8012BAE4 00128A44 41 82 01 70 */ beq lbl_8012BC54 -/* 8012BAE8 00128A48 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8012BAEC 00128A4C C0 02 98 84 */ lfs f0, lbl_805AB5A4@sda21(r2) -/* 8012BAF0 00128A50 C0 43 00 8C */ lfs f2, 0x8c(r3) -/* 8012BAF4 00128A54 C0 23 01 4C */ lfs f1, 0x14c(r3) -/* 8012BAF8 00128A58 EC 42 08 28 */ fsubs f2, f2, f1 -/* 8012BAFC 00128A5C EC 22 00 B2 */ fmuls f1, f2, f2 -/* 8012BB00 00128A60 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012BB04 00128A64 40 81 00 7C */ ble lbl_8012BB80 -/* 8012BB08 00128A68 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012BB0C 00128A6C C0 22 98 08 */ lfs f1, lbl_805AB528@sda21(r2) -/* 8012BB10 00128A70 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8012BB14 00128A74 40 81 00 10 */ ble lbl_8012BB24 -/* 8012BB18 00128A78 C0 02 97 F0 */ lfs f0, lbl_805AB510@sda21(r2) -/* 8012BB1C 00128A7C EC 02 00 28 */ fsubs f0, f2, f0 -/* 8012BB20 00128A80 48 00 00 0C */ b lbl_8012BB2C -lbl_8012BB24: -/* 8012BB24 00128A84 C0 02 97 F0 */ lfs f0, lbl_805AB510@sda21(r2) -/* 8012BB28 00128A88 EC 00 10 2A */ fadds f0, f0, f2 -lbl_8012BB2C: -/* 8012BB2C 00128A8C C0 62 97 BC */ lfs f3, lbl_805AB4DC@sda21(r2) -/* 8012BB30 00128A90 EC 81 00 32 */ fmuls f4, f1, f0 -/* 8012BB34 00128A94 C0 03 00 84 */ lfs f0, 0x84(r3) -/* 8012BB38 00128A98 C0 43 00 88 */ lfs f2, 0x88(r3) -/* 8012BB3C 00128A9C C0 23 00 8C */ lfs f1, 0x8c(r3) -/* 8012BB40 00128AA0 EC 00 18 28 */ fsubs f0, f0, f3 -/* 8012BB44 00128AA4 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8012BB48 00128AA8 EC 21 20 28 */ fsubs f1, f1, f4 -/* 8012BB4C 00128AAC D0 03 00 84 */ stfs f0, 0x84(r3) -/* 8012BB50 00128AB0 D0 43 00 88 */ stfs f2, 0x88(r3) -/* 8012BB54 00128AB4 D0 23 00 8C */ stfs f1, 0x8c(r3) -/* 8012BB58 00128AB8 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8012BB5C 00128ABC C0 03 01 44 */ lfs f0, 0x144(r3) -/* 8012BB60 00128AC0 C0 43 01 48 */ lfs f2, 0x148(r3) -/* 8012BB64 00128AC4 C0 23 01 4C */ lfs f1, 0x14c(r3) -/* 8012BB68 00128AC8 EC 00 18 2A */ fadds f0, f0, f3 -/* 8012BB6C 00128ACC EC 42 18 2A */ fadds f2, f2, f3 -/* 8012BB70 00128AD0 EC 21 20 2A */ fadds f1, f1, f4 -/* 8012BB74 00128AD4 D0 03 01 44 */ stfs f0, 0x144(r3) -/* 8012BB78 00128AD8 D0 43 01 48 */ stfs f2, 0x148(r3) -/* 8012BB7C 00128ADC D0 23 01 4C */ stfs f1, 0x14c(r3) -lbl_8012BB80: -/* 8012BB80 00128AE0 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8012BB84 00128AE4 C0 62 97 D0 */ lfs f3, lbl_805AB4F0@sda21(r2) -/* 8012BB88 00128AE8 C0 43 02 0C */ lfs f2, 0x20c(r3) -/* 8012BB8C 00128AEC C0 03 02 CC */ lfs f0, 0x2cc(r3) -/* 8012BB90 00128AF0 C0 23 00 0C */ lfs f1, 0xc(r3) -/* 8012BB94 00128AF4 EC 42 00 2A */ fadds f2, f2, f0 -/* 8012BB98 00128AF8 C0 02 98 84 */ lfs f0, lbl_805AB5A4@sda21(r2) -/* 8012BB9C 00128AFC EC 43 08 BC */ fnmsubs f2, f3, f2, f1 -/* 8012BBA0 00128B00 EC 22 00 B2 */ fmuls f1, f2, f2 -/* 8012BBA4 00128B04 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012BBA8 00128B08 40 81 00 AC */ ble lbl_8012BC54 -/* 8012BBAC 00128B0C C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012BBB0 00128B10 C0 22 98 08 */ lfs f1, lbl_805AB528@sda21(r2) -/* 8012BBB4 00128B14 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8012BBB8 00128B18 40 81 00 10 */ ble lbl_8012BBC8 -/* 8012BBBC 00128B1C C0 02 97 F0 */ lfs f0, lbl_805AB510@sda21(r2) -/* 8012BBC0 00128B20 EC 02 00 28 */ fsubs f0, f2, f0 -/* 8012BBC4 00128B24 48 00 00 0C */ b lbl_8012BBD0 -lbl_8012BBC8: -/* 8012BBC8 00128B28 C0 02 97 F0 */ lfs f0, lbl_805AB510@sda21(r2) -/* 8012BBCC 00128B2C EC 00 10 2A */ fadds f0, f0, f2 -lbl_8012BBD0: -/* 8012BBD0 00128B30 C0 62 97 BC */ lfs f3, lbl_805AB4DC@sda21(r2) -/* 8012BBD4 00128B34 EC A1 00 32 */ fmuls f5, f1, f0 -/* 8012BBD8 00128B38 C0 03 00 04 */ lfs f0, 4(r3) -/* 8012BBDC 00128B3C C0 83 00 08 */ lfs f4, 8(r3) -/* 8012BBE0 00128B40 C0 43 00 0C */ lfs f2, 0xc(r3) -/* 8012BBE4 00128B44 EC 20 18 28 */ fsubs f1, f0, f3 -/* 8012BBE8 00128B48 EC 84 18 28 */ fsubs f4, f4, f3 -/* 8012BBEC 00128B4C C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 8012BBF0 00128B50 EC 42 28 28 */ fsubs f2, f2, f5 -/* 8012BBF4 00128B54 D0 23 00 04 */ stfs f1, 4(r3) -/* 8012BBF8 00128B58 EC A0 01 72 */ fmuls f5, f0, f5 -/* 8012BBFC 00128B5C D0 83 00 08 */ stfs f4, 8(r3) -/* 8012BC00 00128B60 D0 43 00 0C */ stfs f2, 0xc(r3) -/* 8012BC04 00128B64 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8012BC08 00128B68 C0 03 02 04 */ lfs f0, 0x204(r3) -/* 8012BC0C 00128B6C C0 43 02 08 */ lfs f2, 0x208(r3) -/* 8012BC10 00128B70 C0 23 02 0C */ lfs f1, 0x20c(r3) -/* 8012BC14 00128B74 EC 00 18 2A */ fadds f0, f0, f3 -/* 8012BC18 00128B78 EC 42 18 2A */ fadds f2, f2, f3 -/* 8012BC1C 00128B7C EC 21 28 2A */ fadds f1, f1, f5 -/* 8012BC20 00128B80 D0 03 02 04 */ stfs f0, 0x204(r3) -/* 8012BC24 00128B84 D0 43 02 08 */ stfs f2, 0x208(r3) -/* 8012BC28 00128B88 D0 23 02 0C */ stfs f1, 0x20c(r3) -/* 8012BC2C 00128B8C 80 7E 00 10 */ lwz r3, 0x10(r30) -/* 8012BC30 00128B90 C0 03 02 C4 */ lfs f0, 0x2c4(r3) -/* 8012BC34 00128B94 C0 43 02 C8 */ lfs f2, 0x2c8(r3) -/* 8012BC38 00128B98 C0 23 02 CC */ lfs f1, 0x2cc(r3) -/* 8012BC3C 00128B9C EC 00 18 2A */ fadds f0, f0, f3 -/* 8012BC40 00128BA0 EC 42 18 2A */ fadds f2, f2, f3 -/* 8012BC44 00128BA4 EC 21 28 2A */ fadds f1, f1, f5 -/* 8012BC48 00128BA8 D0 03 02 C4 */ stfs f0, 0x2c4(r3) -/* 8012BC4C 00128BAC D0 43 02 C8 */ stfs f2, 0x2c8(r3) -/* 8012BC50 00128BB0 D0 23 02 CC */ stfs f1, 0x2cc(r3) -lbl_8012BC54: -/* 8012BC54 00128BB4 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 8012BC58 00128BB8 3B 81 00 64 */ addi r28, r1, 0x64 -/* 8012BC5C 00128BBC C0 62 97 F0 */ lfs f3, lbl_805AB510@sda21(r2) -/* 8012BC60 00128BC0 38 61 00 34 */ addi r3, r1, 0x34 -/* 8012BC64 00128BC4 C0 45 02 08 */ lfs f2, 0x208(r5) -/* 8012BC68 00128BC8 38 81 00 30 */ addi r4, r1, 0x30 -/* 8012BC6C 00128BCC C0 25 02 C8 */ lfs f1, 0x2c8(r5) -/* 8012BC70 00128BD0 C0 05 02 0C */ lfs f0, 0x20c(r5) -/* 8012BC74 00128BD4 ED 43 00 B2 */ fmuls f10, f3, f2 -/* 8012BC78 00128BD8 C0 A5 02 CC */ lfs f5, 0x2cc(r5) -/* 8012BC7C 00128BDC ED 23 00 72 */ fmuls f9, f3, f1 -/* 8012BC80 00128BE0 C0 25 02 04 */ lfs f1, 0x204(r5) -/* 8012BC84 00128BE4 EC C3 00 32 */ fmuls f6, f3, f0 -/* 8012BC88 00128BE8 C0 05 02 C4 */ lfs f0, 0x2c4(r5) -/* 8012BC8C 00128BEC EC 83 01 72 */ fmuls f4, f3, f5 -/* 8012BC90 00128BF0 C1 02 97 D0 */ lfs f8, lbl_805AB4F0@sda21(r2) -/* 8012BC94 00128BF4 C0 E5 00 08 */ lfs f7, 8(r5) -/* 8012BC98 00128BF8 EC 43 00 72 */ fmuls f2, f3, f1 -/* 8012BC9C 00128BFC EC 23 00 32 */ fmuls f1, f3, f0 -/* 8012BCA0 00128C00 C0 65 00 0C */ lfs f3, 0xc(r5) -/* 8012BCA4 00128C04 C0 05 00 04 */ lfs f0, 4(r5) -/* 8012BCA8 00128C08 ED 2A 48 2A */ fadds f9, f10, f9 -/* 8012BCAC 00128C0C EC E8 01 F2 */ fmuls f7, f8, f7 -/* 8012BCB0 00128C10 EC 86 20 2A */ fadds f4, f6, f4 -/* 8012BCB4 00128C14 EC 68 00 F2 */ fmuls f3, f8, f3 -/* 8012BCB8 00128C18 EC C9 38 2A */ fadds f6, f9, f7 -/* 8012BCBC 00128C1C EC 22 08 2A */ fadds f1, f2, f1 -/* 8012BCC0 00128C20 EC 08 00 32 */ fmuls f0, f8, f0 -/* 8012BCC4 00128C24 EC 44 18 2A */ fadds f2, f4, f3 -/* 8012BCC8 00128C28 D0 C1 00 60 */ stfs f6, 0x60(r1) -/* 8012BCCC 00128C2C EC 01 00 2A */ fadds f0, f1, f0 -/* 8012BCD0 00128C30 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8012BCD4 00128C34 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8012BCD8 00128C38 C0 05 02 D0 */ lfs f0, 0x2d0(r5) -/* 8012BCDC 00128C3C EC 05 00 28 */ fsubs f0, f5, f0 -/* 8012BCE0 00128C40 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8012BCE4 00128C44 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 8012BCE8 00128C48 C0 25 02 0C */ lfs f1, 0x20c(r5) -/* 8012BCEC 00128C4C C0 05 02 10 */ lfs f0, 0x210(r5) -/* 8012BCF0 00128C50 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012BCF4 00128C54 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8012BCF8 00128C58 4B F5 20 E9 */ bl "Min__5CMathFRCfRCf" -/* 8012BCFC 00128C5C C0 03 00 00 */ lfs f0, 0(r3) -/* 8012BD00 00128C60 7F 84 E3 78 */ mr r4, r28 -/* 8012BD04 00128C64 38 61 00 2C */ addi r3, r1, 0x2c -/* 8012BD08 00128C68 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8012BD0C 00128C6C 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 8012BD10 00128C70 C0 25 00 0C */ lfs f1, 0xc(r5) -/* 8012BD14 00128C74 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8012BD18 00128C78 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012BD1C 00128C7C D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8012BD20 00128C80 4B F5 20 C1 */ bl "Min__5CMathFRCfRCf" -/* 8012BD24 00128C84 C0 02 97 D0 */ lfs f0, lbl_805AB4F0@sda21(r2) -/* 8012BD28 00128C88 C0 23 00 00 */ lfs f1, 0(r3) -/* 8012BD2C 00128C8C EC 00 F0 2A */ fadds f0, f0, f30 -/* 8012BD30 00128C90 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 8012BD34 00128C94 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012BD38 00128C98 40 80 00 2C */ bge lbl_8012BD64 -/* 8012BD3C 00128C9C C0 1E 00 84 */ lfs f0, 0x84(r30) -/* 8012BD40 00128CA0 C0 22 98 18 */ lfs f1, lbl_805AB538@sda21(r2) -/* 8012BD44 00128CA4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8012BD48 00128CA8 D0 1E 00 84 */ stfs f0, 0x84(r30) -/* 8012BD4C 00128CAC C0 1E 00 88 */ lfs f0, 0x88(r30) -/* 8012BD50 00128CB0 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8012BD54 00128CB4 D0 1E 00 88 */ stfs f0, 0x88(r30) -/* 8012BD58 00128CB8 C0 1E 00 8C */ lfs f0, 0x8c(r30) -/* 8012BD5C 00128CBC EC 00 00 72 */ fmuls f0, f0, f1 -/* 8012BD60 00128CC0 D0 1E 00 8C */ stfs f0, 0x8c(r30) -lbl_8012BD64: -/* 8012BD64 00128CC4 80 9E 00 6C */ lwz r4, 0x6c(r30) -/* 8012BD68 00128CC8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8012BD6C 00128CCC 80 DE 00 10 */ lwz r6, 0x10(r30) -/* 8012BD70 00128CD0 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 8012BD74 00128CD4 C0 62 97 D8 */ lfs f3, lbl_805AB4F8@sda21(r2) -/* 8012BD78 00128CD8 FC 20 E8 90 */ fmr f1, f29 -/* 8012BD7C 00128CDC C0 04 00 E8 */ lfs f0, 0xe8(r4) -/* 8012BD80 00128CE0 FC 40 F0 90 */ fmr f2, f30 -/* 8012BD84 00128CE4 C0 C2 98 88 */ lfs f6, lbl_805AB5A8@sda21(r2) -/* 8012BD88 00128CE8 7F C3 F3 78 */ mr r3, r30 -/* 8012BD8C 00128CEC EC E3 00 24 */ fdivs f7, f3, f0 -/* 8012BD90 00128CF0 C0 BE 00 84 */ lfs f5, 0x84(r30) -/* 8012BD94 00128CF4 7F E4 FB 78 */ mr r4, r31 -/* 8012BD98 00128CF8 C0 9E 00 88 */ lfs f4, 0x88(r30) -/* 8012BD9C 00128CFC C0 7E 00 8C */ lfs f3, 0x8c(r30) -/* 8012BDA0 00128D00 C0 06 02 E0 */ lfs f0, 0x2e0(r6) -/* 8012BDA4 00128D04 EC A6 01 72 */ fmuls f5, f6, f5 -/* 8012BDA8 00128D08 EC 86 01 32 */ fmuls f4, f6, f4 -/* 8012BDAC 00128D0C EC 66 00 F2 */ fmuls f3, f6, f3 -/* 8012BDB0 00128D10 EC A7 01 72 */ fmuls f5, f7, f5 -/* 8012BDB4 00128D14 EC 87 01 32 */ fmuls f4, f7, f4 -/* 8012BDB8 00128D18 EC 67 00 F2 */ fmuls f3, f7, f3 -/* 8012BDBC 00128D1C EC 00 28 2A */ fadds f0, f0, f5 -/* 8012BDC0 00128D20 D0 06 02 E0 */ stfs f0, 0x2e0(r6) -/* 8012BDC4 00128D24 C0 06 02 E4 */ lfs f0, 0x2e4(r6) -/* 8012BDC8 00128D28 EC 00 20 2A */ fadds f0, f0, f4 -/* 8012BDCC 00128D2C D0 06 02 E4 */ stfs f0, 0x2e4(r6) -/* 8012BDD0 00128D30 C0 06 02 E8 */ lfs f0, 0x2e8(r6) -/* 8012BDD4 00128D34 EC 00 18 2A */ fadds f0, f0, f3 -/* 8012BDD8 00128D38 D0 06 02 E8 */ stfs f0, 0x2e8(r6) -/* 8012BDDC 00128D3C 80 DE 00 10 */ lwz r6, 0x10(r30) -/* 8012BDE0 00128D40 C0 06 02 20 */ lfs f0, 0x220(r6) -/* 8012BDE4 00128D44 EC 00 28 2A */ fadds f0, f0, f5 -/* 8012BDE8 00128D48 D0 06 02 20 */ stfs f0, 0x220(r6) -/* 8012BDEC 00128D4C C0 06 02 24 */ lfs f0, 0x224(r6) -/* 8012BDF0 00128D50 EC 00 20 2A */ fadds f0, f0, f4 -/* 8012BDF4 00128D54 D0 06 02 24 */ stfs f0, 0x224(r6) -/* 8012BDF8 00128D58 C0 06 02 28 */ lfs f0, 0x228(r6) -/* 8012BDFC 00128D5C EC 00 18 2A */ fadds f0, f0, f3 -/* 8012BE00 00128D60 D0 06 02 28 */ stfs f0, 0x228(r6) -/* 8012BE04 00128D64 80 DE 00 10 */ lwz r6, 0x10(r30) -/* 8012BE08 00128D68 C0 06 00 20 */ lfs f0, 0x20(r6) -/* 8012BE0C 00128D6C EC 00 28 2A */ fadds f0, f0, f5 -/* 8012BE10 00128D70 D0 06 00 20 */ stfs f0, 0x20(r6) -/* 8012BE14 00128D74 C0 06 00 24 */ lfs f0, 0x24(r6) -/* 8012BE18 00128D78 EC 00 20 2A */ fadds f0, f0, f4 -/* 8012BE1C 00128D7C D0 06 00 24 */ stfs f0, 0x24(r6) -/* 8012BE20 00128D80 C0 06 00 28 */ lfs f0, 0x28(r6) -/* 8012BE24 00128D84 EC 00 18 2A */ fadds f0, f0, f3 -/* 8012BE28 00128D88 D0 06 00 28 */ stfs f0, 0x28(r6) -/* 8012BE2C 00128D8C C0 05 00 00 */ lfs f0, 0(r5) -/* 8012BE30 00128D90 D0 1E 00 84 */ stfs f0, 0x84(r30) -/* 8012BE34 00128D94 C0 05 00 04 */ lfs f0, 4(r5) -/* 8012BE38 00128D98 D0 1E 00 88 */ stfs f0, 0x88(r30) -/* 8012BE3C 00128D9C C0 05 00 08 */ lfs f0, 8(r5) -/* 8012BE40 00128DA0 D0 1E 00 8C */ stfs f0, 0x8c(r30) -/* 8012BE44 00128DA4 48 0E 15 91 */ bl Update__8CRagDollFR13CStateManagerff -/* 8012BE48 00128DA8 3B BE 00 94 */ addi r29, r30, 0x94 -/* 8012BE4C 00128DAC 3B 9E 00 A0 */ addi r28, r30, 0xa0 -/* 8012BE50 00128DB0 3B 60 00 00 */ li r27, 0 -/* 8012BE54 00128DB4 48 00 00 64 */ b lbl_8012BEB8 -lbl_8012BE58: -/* 8012BE58 00128DB8 A0 1D 00 00 */ lhz r0, 0(r29) -/* 8012BE5C 00128DBC 7F E3 FB 78 */ mr r3, r31 -/* 8012BE60 00128DC0 38 81 00 14 */ addi r4, r1, 0x14 -/* 8012BE64 00128DC4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8012BE68 00128DC8 4B F2 07 3D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8012BE6C 00128DCC 28 03 00 00 */ cmplwi r3, 0 -/* 8012BE70 00128DD0 41 82 00 3C */ beq lbl_8012BEAC -/* 8012BE74 00128DD4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8012BE78 00128DD8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012BE7C 00128DDC 41 82 00 30 */ beq lbl_8012BEAC -/* 8012BE80 00128DE0 80 1C 00 00 */ lwz r0, 0(r28) -/* 8012BE84 00128DE4 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 8012BE88 00128DE8 54 04 30 32 */ slwi r4, r0, 6 -/* 8012BE8C 00128DEC C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8012BE90 00128DF0 38 84 00 04 */ addi r4, r4, 4 -/* 8012BE94 00128DF4 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8012BE98 00128DF8 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8012BE9C 00128DFC 7C 85 22 14 */ add r4, r5, r4 -/* 8012BEA0 00128E00 D0 04 00 00 */ stfs f0, 0(r4) -/* 8012BEA4 00128E04 D0 24 00 04 */ stfs f1, 4(r4) -/* 8012BEA8 00128E08 D0 44 00 08 */ stfs f2, 8(r4) -lbl_8012BEAC: -/* 8012BEAC 00128E0C 3B BD 00 02 */ addi r29, r29, 2 -/* 8012BEB0 00128E10 3B 9C 00 04 */ addi r28, r28, 4 -/* 8012BEB4 00128E14 3B 7B 00 01 */ addi r27, r27, 1 -lbl_8012BEB8: -/* 8012BEB8 00128E18 80 1E 00 90 */ lwz r0, 0x90(r30) -/* 8012BEBC 00128E1C 7C 1B 00 00 */ cmpw r27, r0 -/* 8012BEC0 00128E20 41 80 FF 98 */ blt lbl_8012BE58 -/* 8012BEC4 00128E24 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 8012BEC8 00128E28 3B 81 00 58 */ addi r28, r1, 0x58 -/* 8012BECC 00128E2C C0 62 97 F0 */ lfs f3, lbl_805AB510@sda21(r2) -/* 8012BED0 00128E30 38 61 00 28 */ addi r3, r1, 0x28 -/* 8012BED4 00128E34 C0 45 02 08 */ lfs f2, 0x208(r5) -/* 8012BED8 00128E38 38 81 00 24 */ addi r4, r1, 0x24 -/* 8012BEDC 00128E3C C0 25 02 C8 */ lfs f1, 0x2c8(r5) -/* 8012BEE0 00128E40 C0 05 02 0C */ lfs f0, 0x20c(r5) -/* 8012BEE4 00128E44 ED 43 00 B2 */ fmuls f10, f3, f2 -/* 8012BEE8 00128E48 C0 A5 02 CC */ lfs f5, 0x2cc(r5) -/* 8012BEEC 00128E4C ED 23 00 72 */ fmuls f9, f3, f1 -/* 8012BEF0 00128E50 C0 25 02 04 */ lfs f1, 0x204(r5) -/* 8012BEF4 00128E54 EC C3 00 32 */ fmuls f6, f3, f0 -/* 8012BEF8 00128E58 C0 05 02 C4 */ lfs f0, 0x2c4(r5) -/* 8012BEFC 00128E5C EC 83 01 72 */ fmuls f4, f3, f5 -/* 8012BF00 00128E60 C1 02 97 D0 */ lfs f8, lbl_805AB4F0@sda21(r2) -/* 8012BF04 00128E64 C0 E5 00 08 */ lfs f7, 8(r5) -/* 8012BF08 00128E68 EC 43 00 72 */ fmuls f2, f3, f1 -/* 8012BF0C 00128E6C EC 23 00 32 */ fmuls f1, f3, f0 -/* 8012BF10 00128E70 C0 65 00 0C */ lfs f3, 0xc(r5) -/* 8012BF14 00128E74 C0 05 00 04 */ lfs f0, 4(r5) -/* 8012BF18 00128E78 ED 2A 48 2A */ fadds f9, f10, f9 -/* 8012BF1C 00128E7C EC E8 01 F2 */ fmuls f7, f8, f7 -/* 8012BF20 00128E80 EC 86 20 2A */ fadds f4, f6, f4 -/* 8012BF24 00128E84 EC 68 00 F2 */ fmuls f3, f8, f3 -/* 8012BF28 00128E88 EC C9 38 2A */ fadds f6, f9, f7 -/* 8012BF2C 00128E8C EC 22 08 2A */ fadds f1, f2, f1 -/* 8012BF30 00128E90 EC 08 00 32 */ fmuls f0, f8, f0 -/* 8012BF34 00128E94 EC 44 18 2A */ fadds f2, f4, f3 -/* 8012BF38 00128E98 D0 C1 00 54 */ stfs f6, 0x54(r1) -/* 8012BF3C 00128E9C EC 01 00 2A */ fadds f0, f1, f0 -/* 8012BF40 00128EA0 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 8012BF44 00128EA4 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8012BF48 00128EA8 C0 05 02 D0 */ lfs f0, 0x2d0(r5) -/* 8012BF4C 00128EAC EC 05 00 28 */ fsubs f0, f5, f0 -/* 8012BF50 00128EB0 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8012BF54 00128EB4 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 8012BF58 00128EB8 C0 25 02 0C */ lfs f1, 0x20c(r5) -/* 8012BF5C 00128EBC C0 05 02 10 */ lfs f0, 0x210(r5) -/* 8012BF60 00128EC0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012BF64 00128EC4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8012BF68 00128EC8 4B F5 1E 79 */ bl "Min__5CMathFRCfRCf" -/* 8012BF6C 00128ECC C0 03 00 00 */ lfs f0, 0(r3) -/* 8012BF70 00128ED0 7F 84 E3 78 */ mr r4, r28 -/* 8012BF74 00128ED4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8012BF78 00128ED8 D0 01 00 58 */ stfs f0, 0x58(r1) -/* 8012BF7C 00128EDC 80 BE 00 10 */ lwz r5, 0x10(r30) -/* 8012BF80 00128EE0 C0 25 00 0C */ lfs f1, 0xc(r5) -/* 8012BF84 00128EE4 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8012BF88 00128EE8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012BF8C 00128EEC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8012BF90 00128EF0 4B F5 1E 51 */ bl "Min__5CMathFRCfRCf" -/* 8012BF94 00128EF4 C0 02 97 D8 */ lfs f0, lbl_805AB4F8@sda21(r2) -/* 8012BF98 00128EF8 3C 80 80 5A */ lis r4, skIdentity4f@ha -/* 8012BF9C 00128EFC C0 A3 00 00 */ lfs f5, 0(r3) -/* 8012BFA0 00128F00 38 84 66 70 */ addi r4, r4, skIdentity4f@l -/* 8012BFA4 00128F04 EC C0 E8 24 */ fdivs f6, f0, f29 -/* 8012BFA8 00128F08 C0 41 00 64 */ lfs f2, 0x64(r1) -/* 8012BFAC 00128F0C C0 81 00 54 */ lfs f4, 0x54(r1) -/* 8012BFB0 00128F10 C0 61 00 60 */ lfs f3, 0x60(r1) -/* 8012BFB4 00128F14 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 8012BFB8 00128F18 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8012BFBC 00128F1C EC 64 18 28 */ fsubs f3, f4, f3 -/* 8012BFC0 00128F20 D0 A1 00 58 */ stfs f5, 0x58(r1) -/* 8012BFC4 00128F24 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012BFC8 00128F28 EC 45 10 28 */ fsubs f2, f5, f2 -/* 8012BFCC 00128F2C EC 66 00 F2 */ fmuls f3, f6, f3 -/* 8012BFD0 00128F30 EC 06 00 32 */ fmuls f0, f6, f0 -/* 8012BFD4 00128F34 EC 26 00 B2 */ fmuls f1, f6, f2 -/* 8012BFD8 00128F38 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8012BFDC 00128F3C D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8012BFE0 00128F40 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8012BFE4 00128F44 83 BE 00 6C */ lwz r29, 0x6c(r30) -/* 8012BFE8 00128F48 38 7D 00 34 */ addi r3, r29, 0x34 -/* 8012BFEC 00128F4C 48 1E 6B 55 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8012BFF0 00128F50 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8012BFF4 00128F54 38 60 00 01 */ li r3, 1 -/* 8012BFF8 00128F58 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8012BFFC 00128F5C 38 81 00 50 */ addi r4, r1, 0x50 -/* 8012C000 00128F60 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8012C004 00128F64 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8012C008 00128F68 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8012C00C 00128F6C 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8012C010 00128F70 88 1D 00 E4 */ lbz r0, 0xe4(r29) -/* 8012C014 00128F74 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8012C018 00128F78 98 1D 00 E4 */ stb r0, 0xe4(r29) -/* 8012C01C 00128F7C 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8012C020 00128F80 4B F2 6E 6D */ bl SetTranslation__6CActorFRC9CVector3f -/* 8012C024 00128F84 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8012C028 00128F88 38 81 00 44 */ addi r4, r1, 0x44 -/* 8012C02C 00128F8C 4B FE EC 75 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 8012C030 00128F90 C0 3E 00 74 */ lfs f1, 0x74(r30) -/* 8012C034 00128F94 C0 02 98 8C */ lfs f0, lbl_805AB5AC@sda21(r2) -/* 8012C038 00128F98 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 8012C03C 00128F9C D0 3E 00 74 */ stfs f1, 0x74(r30) -/* 8012C040 00128FA0 C0 BE 00 54 */ lfs f5, 0x54(r30) -/* 8012C044 00128FA4 FC 05 00 40 */ fcmpo cr0, f5, f0 -/* 8012C048 00128FA8 40 81 01 38 */ ble lbl_8012C180 -/* 8012C04C 00128FAC C0 3E 00 74 */ lfs f1, 0x74(r30) -/* 8012C050 00128FB0 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012C054 00128FB4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012C058 00128FB8 40 80 01 28 */ bge lbl_8012C180 -/* 8012C05C 00128FBC 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8012C060 00128FC0 88 1E 00 B0 */ lbz r0, 0xb0(r30) -/* 8012C064 00128FC4 C0 23 00 40 */ lfs f1, 0x40(r3) -/* 8012C068 00128FC8 C0 1E 00 78 */ lfs f0, 0x78(r30) -/* 8012C06C 00128FCC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012C070 00128FD0 C0 63 00 50 */ lfs f3, 0x50(r3) -/* 8012C074 00128FD4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8012C078 00128FD8 C0 5E 00 7C */ lfs f2, 0x7c(r30) -/* 8012C07C 00128FDC C0 23 00 60 */ lfs f1, 0x60(r3) -/* 8012C080 00128FE0 C0 1E 00 80 */ lfs f0, 0x80(r30) -/* 8012C084 00128FE4 EC 63 10 28 */ fsubs f3, f3, f2 -/* 8012C088 00128FE8 EC 41 00 28 */ fsubs f2, f1, f0 -/* 8012C08C 00128FEC 40 82 00 1C */ bne lbl_8012C0A8 -/* 8012C090 00128FF0 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 8012C094 00128FF4 C0 02 98 08 */ lfs f0, lbl_805AB528@sda21(r2) -/* 8012C098 00128FF8 EC 24 09 3A */ fmadds f1, f4, f4, f1 -/* 8012C09C 00128FFC EC 22 08 BA */ fmadds f1, f2, f2, f1 -/* 8012C0A0 00129000 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012C0A4 00129004 40 81 00 DC */ ble lbl_8012C180 -lbl_8012C0A8: -/* 8012C0A8 00129008 C0 02 98 38 */ lfs f0, lbl_805AB558@sda21(r2) -/* 8012C0AC 0012900C 38 61 00 1C */ addi r3, r1, 0x1c -/* 8012C0B0 00129010 38 8D 8A 98 */ addi r4, r13, lbl_805A7658@sda21 -/* 8012C0B4 00129014 EC 00 01 72 */ fmuls f0, f0, f5 -/* 8012C0B8 00129018 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8012C0BC 0012901C 4B F5 1D 25 */ bl "Min__5CMathFRCfRCf" -/* 8012C0C0 00129020 80 9E 00 6C */ lwz r4, 0x6c(r30) -/* 8012C0C4 00129024 C3 E3 00 00 */ lfs f31, 0(r3) -/* 8012C0C8 00129028 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 8012C0CC 0012902C C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8012C0D0 00129030 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8012C0D4 00129034 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8012C0D8 00129038 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8012C0DC 0012903C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8012C0E0 00129040 F3 E1 A0 10 */ psq_st f31, 16(r1), 1, qr2 -/* 8012C0E4 00129044 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8012C0E8 00129048 80 02 C6 00 */ lwz r0, lbl_805AE320@sda21(r2) -/* 8012C0EC 0012904C 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8012C0F0 00129050 88 E1 00 10 */ lbz r7, 0x10(r1) -/* 8012C0F4 00129054 38 61 00 18 */ addi r3, r1, 0x18 -/* 8012C0F8 00129058 90 01 00 08 */ stw r0, 8(r1) -/* 8012C0FC 0012905C 38 A1 00 38 */ addi r5, r1, 0x38 -/* 8012C100 00129060 A9 42 C5 FA */ lha r10, lbl_805AE31A@sda21(r2) -/* 8012C104 00129064 39 00 00 01 */ li r8, 1 -/* 8012C108 00129068 A0 9E 00 70 */ lhz r4, 0x70(r30) -/* 8012C10C 0012906C 39 20 00 00 */ li r9, 0 -/* 8012C110 00129070 48 1B E0 A9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fUcbbsi -/* 8012C114 00129074 80 7F 09 00 */ lwz r3, 0x900(r31) -/* 8012C118 00129078 48 1E 63 C5 */ bl Float__9CRandom16Fv -/* 8012C11C 0012907C C0 02 98 90 */ lfs f0, lbl_805AB5B0@sda21(r2) -/* 8012C120 00129080 38 60 00 00 */ li r3, 0 -/* 8012C124 00129084 EC 00 00 7A */ fmadds f0, f0, f1, f0 -/* 8012C128 00129088 D0 1E 00 74 */ stfs f0, 0x74(r30) -/* 8012C12C 0012908C 88 1E 00 B0 */ lbz r0, 0xb0(r30) -/* 8012C130 00129090 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8012C134 00129094 98 1E 00 B0 */ stb r0, 0xb0(r30) -/* 8012C138 00129098 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8012C13C 0012909C C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8012C140 001290A0 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8012C144 001290A4 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8012C148 001290A8 D0 1E 00 78 */ stfs f0, 0x78(r30) -/* 8012C14C 001290AC D0 3E 00 7C */ stfs f1, 0x7c(r30) -/* 8012C150 001290B0 D0 5E 00 80 */ stfs f2, 0x80(r30) -/* 8012C154 001290B4 48 00 00 2C */ b lbl_8012C180 -lbl_8012C158: -/* 8012C158 001290B8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8012C15C 001290BC 80 9E 00 6C */ lwz r4, 0x6c(r30) -/* 8012C160 001290C0 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8012C164 001290C4 D0 04 01 50 */ stfs f0, 0x150(r4) -/* 8012C168 001290C8 C0 03 00 04 */ lfs f0, 4(r3) -/* 8012C16C 001290CC D0 04 01 54 */ stfs f0, 0x154(r4) -/* 8012C170 001290D0 C0 03 00 08 */ lfs f0, 8(r3) -/* 8012C174 001290D4 D0 04 01 58 */ stfs f0, 0x158(r4) -/* 8012C178 001290D8 80 7E 00 6C */ lwz r3, 0x6c(r30) -/* 8012C17C 001290DC 4B FE F1 FD */ bl Stop__13CPhysicsActorFv -lbl_8012C180: -/* 8012C180 001290E0 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8012C184 001290E4 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8012C188 001290E8 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8012C18C 001290EC CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8012C190 001290F0 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8012C194 001290F4 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8012C198 001290F8 BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 8012C19C 001290FC 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8012C1A0 00129100 7C 08 03 A6 */ mtlr r0 -/* 8012C1A4 00129104 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8012C1A8 00129108 4E 80 00 20 */ blr - -.global Prime__14CPirateRagDollFR13CStateManagerRC12CTransform4fR10CModelData -Prime__14CPirateRagDollFR13CStateManagerRC12CTransform4fR10CModelData: -/* 8012C1AC 0012910C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8012C1B0 00129110 7C 08 02 A6 */ mflr r0 -/* 8012C1B4 00129114 90 01 00 44 */ stw r0, 0x44(r1) -/* 8012C1B8 00129118 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8012C1BC 0012911C 7C DF 33 78 */ mr r31, r6 -/* 8012C1C0 00129120 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8012C1C4 00129124 7C BE 2B 78 */ mr r30, r5 -/* 8012C1C8 00129128 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8012C1CC 0012912C 7C 9D 23 78 */ mr r29, r4 -/* 8012C1D0 00129130 93 81 00 30 */ stw r28, 0x30(r1) -/* 8012C1D4 00129134 7C 7C 1B 78 */ mr r28, r3 -/* 8012C1D8 00129138 80 63 00 6C */ lwz r3, 0x6c(r3) -/* 8012C1DC 0012913C 4B FE E7 E5 */ bl GetBaseBoundingBox__13CPhysicsActorCFv -/* 8012C1E0 00129140 7C 64 1B 78 */ mr r4, r3 -/* 8012C1E4 00129144 C0 22 97 D0 */ lfs f1, lbl_805AB4F0@sda21(r2) -/* 8012C1E8 00129148 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8012C1EC 0012914C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8012C1F0 00129150 38 A1 00 08 */ addi r5, r1, 8 -/* 8012C1F4 00129154 D0 01 00 08 */ stfs f0, 8(r1) -/* 8012C1F8 00129158 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8012C1FC 0012915C D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8012C200 00129160 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8012C204 00129164 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8012C208 00129168 C0 44 00 08 */ lfs f2, 8(r4) -/* 8012C20C 0012916C EC 00 10 28 */ fsubs f0, f0, f2 -/* 8012C210 00129170 EC 01 10 3A */ fmadds f0, f1, f0, f2 -/* 8012C214 00129174 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8012C218 00129178 48 20 C2 F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8012C21C 0012917C 7C 64 1B 78 */ mr r4, r3 -/* 8012C220 00129180 80 7C 00 6C */ lwz r3, 0x6c(r28) -/* 8012C224 00129184 4B FE E4 35 */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox -/* 8012C228 00129188 7F 83 E3 78 */ mr r3, r28 -/* 8012C22C 0012918C 7F A4 EB 78 */ mr r4, r29 -/* 8012C230 00129190 7F C5 F3 78 */ mr r5, r30 -/* 8012C234 00129194 7F E6 FB 78 */ mr r6, r31 -/* 8012C238 00129198 48 0E 24 9D */ bl Prime__8CRagDollFR13CStateManagerRC12CTransform4fR10CModelData -/* 8012C23C 0012919C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8012C240 001291A0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8012C244 001291A4 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8012C248 001291A8 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 8012C24C 001291AC 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8012C250 001291B0 7C 08 03 A6 */ mtlr r0 -/* 8012C254 001291B4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8012C258 001291B8 4E 80 00 20 */ blr - -.global __ct__14CPirateRagDollFR13CStateManagerP12CSpacePiratefUsUi -__ct__14CPirateRagDollFR13CStateManagerP12CSpacePiratefUsUi: -/* 8012C25C 001291BC 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8012C260 001291C0 7C 08 02 A6 */ mflr r0 -/* 8012C264 001291C4 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8012C268 001291C8 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8012C26C 001291CC F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8012C270 001291D0 DB C1 00 C0 */ stfd f30, 0xc0(r1) -/* 8012C274 001291D4 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 -/* 8012C278 001291D8 DB A1 00 B0 */ stfd f29, 0xb0(r1) -/* 8012C27C 001291DC F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 -/* 8012C280 001291E0 BF 21 00 94 */ stmw r25, 0x94(r1) -/* 8012C284 001291E4 7C BB 2B 78 */ mr r27, r5 -/* 8012C288 001291E8 7C 7D 1B 78 */ mr r29, r3 -/* 8012C28C 001291EC 7F 63 DB 78 */ mr r3, r27 -/* 8012C290 001291F0 7C 9E 23 78 */ mr r30, r4 -/* 8012C294 001291F4 81 9B 00 00 */ lwz r12, 0(r27) -/* 8012C298 001291F8 7C DA 33 78 */ mr r26, r6 -/* 8012C29C 001291FC 7C F9 3B 78 */ mr r25, r7 -/* 8012C2A0 00129200 C3 A2 97 B4 */ lfs f29, lbl_805AB4D4@sda21(r2) -/* 8012C2A4 00129204 81 8C 02 BC */ lwz r12, 0x2bc(r12) -/* 8012C2A8 00129208 7D 89 03 A6 */ mtctr r12 -/* 8012C2AC 0012920C 4E 80 04 21 */ bctrl -/* 8012C2B0 00129210 FC 20 08 50 */ fneg f1, f1 -/* 8012C2B4 00129214 C0 62 98 7C */ lfs f3, lbl_805AB59C@sda21(r2) -/* 8012C2B8 00129218 FC 40 E8 50 */ fneg f2, f29 -/* 8012C2BC 0012921C 7F A3 EB 78 */ mr r3, r29 -/* 8012C2C0 00129220 7F 24 CB 78 */ mr r4, r25 -/* 8012C2C4 00129224 48 0E 26 0D */ bl __ct__8CRagDollFfffUi -/* 8012C2C8 00129228 3C 80 80 3E */ lis r4, lbl_803E0BE0@ha -/* 8012C2CC 0012922C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8012C2D0 00129230 38 04 0B E0 */ addi r0, r4, lbl_803E0BE0@l -/* 8012C2D4 00129234 C0 02 97 BC */ lfs f0, lbl_805AB4DC@sda21(r2) -/* 8012C2D8 00129238 90 1D 00 00 */ stw r0, 0(r29) -/* 8012C2DC 0012923C 39 03 66 A0 */ addi r8, r3, skZero3f@l -/* 8012C2E0 00129240 38 00 00 00 */ li r0, 0 -/* 8012C2E4 00129244 38 60 00 01 */ li r3, 1 -/* 8012C2E8 00129248 93 7D 00 6C */ stw r27, 0x6c(r29) -/* 8012C2EC 0012924C 7F C7 F3 78 */ mr r7, r30 -/* 8012C2F0 00129250 38 80 00 13 */ li r4, 0x13 -/* 8012C2F4 00129254 38 A0 00 30 */ li r5, 0x30 -/* 8012C2F8 00129258 B3 5D 00 70 */ sth r26, 0x70(r29) -/* 8012C2FC 0012925C 38 C0 00 25 */ li r6, 0x25 -/* 8012C300 00129260 D0 1D 00 74 */ stfs f0, 0x74(r29) -/* 8012C304 00129264 C0 08 00 00 */ lfs f0, 0(r8) -/* 8012C308 00129268 D0 1D 00 78 */ stfs f0, 0x78(r29) -/* 8012C30C 0012926C C0 08 00 04 */ lfs f0, 4(r8) -/* 8012C310 00129270 D0 1D 00 7C */ stfs f0, 0x7c(r29) -/* 8012C314 00129274 C0 08 00 08 */ lfs f0, 8(r8) -/* 8012C318 00129278 D0 1D 00 80 */ stfs f0, 0x80(r29) -/* 8012C31C 0012927C C0 08 00 00 */ lfs f0, 0(r8) -/* 8012C320 00129280 D0 1D 00 84 */ stfs f0, 0x84(r29) -/* 8012C324 00129284 C0 08 00 04 */ lfs f0, 4(r8) -/* 8012C328 00129288 D0 1D 00 88 */ stfs f0, 0x88(r29) -/* 8012C32C 0012928C C0 08 00 08 */ lfs f0, 8(r8) -/* 8012C330 00129290 D0 1D 00 8C */ stfs f0, 0x8c(r29) -/* 8012C334 00129294 90 1D 00 90 */ stw r0, 0x90(r29) -/* 8012C338 00129298 90 1D 00 9C */ stw r0, 0x9c(r29) -/* 8012C33C 0012929C 88 1D 00 B0 */ lbz r0, 0xb0(r29) -/* 8012C340 001292A0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8012C344 001292A4 98 1D 00 B0 */ stb r0, 0xb0(r29) -/* 8012C348 001292A8 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8012C34C 001292AC 4B F2 7A A1 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypes14EMaterialTypesR13CStateManager -/* 8012C350 001292B0 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8012C354 001292B4 7F C4 F3 78 */ mr r4, r30 -/* 8012C358 001292B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8012C35C 001292BC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8012C360 001292C0 7D 89 03 A6 */ mtctr r12 -/* 8012C364 001292C4 4E 80 04 21 */ bctrl -/* 8012C368 001292C8 C0 02 98 68 */ lfs f0, lbl_805AB588@sda21(r2) -/* 8012C36C 001292CC 38 80 00 0E */ li r4, 0xe -/* 8012C370 001292D0 D0 03 00 00 */ stfs f0, 0(r3) -/* 8012C374 001292D4 38 7D 00 04 */ addi r3, r29, 4 -/* 8012C378 001292D8 48 00 07 4D */ bl "reserve__Q24rstl64vectorFi" -/* 8012C37C 001292DC 38 7D 00 14 */ addi r3, r29, 0x14 -/* 8012C380 001292E0 38 80 00 2F */ li r4, 0x2f -/* 8012C384 001292E4 48 00 08 C9 */ bl "reserve__Q24rstl72vectorFi" -/* 8012C388 001292E8 38 7D 00 24 */ addi r3, r29, 0x24 -/* 8012C38C 001292EC 38 80 00 04 */ li r4, 4 -/* 8012C390 001292F0 48 00 09 C5 */ bl "reserve__Q24rstl71vectorFi" -/* 8012C394 001292F4 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 8012C398 001292F8 3B FB 00 34 */ addi r31, r27, 0x34 -/* 8012C39C 001292FC C0 43 00 00 */ lfs f2, 0(r3) -/* 8012C3A0 00129300 C0 23 00 04 */ lfs f1, 4(r3) -/* 8012C3A4 00129304 C0 03 00 08 */ lfs f0, 8(r3) -/* 8012C3A8 00129308 83 83 00 10 */ lwz r28, 0x10(r3) -/* 8012C3AC 0012930C D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8012C3B0 00129310 7F 83 E3 78 */ mr r3, r28 -/* 8012C3B4 00129314 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8012C3B8 00129318 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8012C3BC 0012931C 4B F0 06 A5 */ bl BuildPose__9CAnimDataFv -/* 8012C3C0 00129320 7F 64 DB 78 */ mr r4, r27 -/* 8012C3C4 00129324 38 61 00 70 */ addi r3, r1, 0x70 -/* 8012C3C8 00129328 4B FE E5 65 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8012C3CC 0012932C 38 61 00 40 */ addi r3, r1, 0x40 -/* 8012C3D0 00129330 38 81 00 70 */ addi r4, r1, 0x70 -/* 8012C3D4 00129334 48 20 B2 39 */ bl GetCenterPoint__6CAABoxCFv -/* 8012C3D8 00129338 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 8012C3DC 0012933C 3C 80 80 47 */ lis r4, lbl_8046C618@ha -/* 8012C3E0 00129340 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 8012C3E4 00129344 3C 60 80 3D */ lis r3, lbl_803CF438@ha -/* 8012C3E8 00129348 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8012C3EC 0012934C 3B 64 C6 18 */ addi r27, r4, lbl_8046C618@l -/* 8012C3F0 00129350 D0 41 00 64 */ stfs f2, 0x64(r1) -/* 8012C3F4 00129354 3B 43 F4 38 */ addi r26, r3, lbl_803CF438@l -/* 8012C3F8 00129358 C3 A1 00 54 */ lfs f29, 0x54(r1) -/* 8012C3FC 0012935C 3B 20 00 00 */ li r25, 0 -/* 8012C400 00129360 D0 21 00 68 */ stfs f1, 0x68(r1) -/* 8012C404 00129364 C3 C1 00 50 */ lfs f30, 0x50(r1) -/* 8012C408 00129368 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8012C40C 0012936C C3 E1 00 4C */ lfs f31, 0x4c(r1) -lbl_8012C410: -/* 8012C410 00129370 7F 84 E3 78 */ mr r4, r28 -/* 8012C414 00129374 7F 65 DB 78 */ mr r5, r27 -/* 8012C418 00129378 38 61 00 08 */ addi r3, r1, 8 -/* 8012C41C 0012937C 4B F0 24 1D */ bl "GetLocatorSegId__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012C420 00129380 88 01 00 08 */ lbz r0, 8(r1) -/* 8012C424 00129384 38 7C 02 24 */ addi r3, r28, 0x224 -/* 8012C428 00129388 38 81 00 0C */ addi r4, r1, 0xc -/* 8012C42C 0012938C 98 01 00 0C */ stb r0, 0xc(r1) -/* 8012C430 00129390 48 23 CB 29 */ bl GetOffset__17CPoseAsTransformsCFRC6CSegId -/* 8012C434 00129394 C0 43 00 08 */ lfs f2, 8(r3) -/* 8012C438 00129398 7F E4 FB 78 */ mr r4, r31 -/* 8012C43C 0012939C C0 23 00 04 */ lfs f1, 4(r3) -/* 8012C440 001293A0 38 A1 00 28 */ addi r5, r1, 0x28 -/* 8012C444 001293A4 C0 03 00 00 */ lfs f0, 0(r3) -/* 8012C448 001293A8 EC 5D 00 B2 */ fmuls f2, f29, f2 -/* 8012C44C 001293AC EC 3E 00 72 */ fmuls f1, f30, f1 -/* 8012C450 001293B0 38 61 00 34 */ addi r3, r1, 0x34 -/* 8012C454 001293B4 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8012C458 001293B8 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8012C45C 001293BC D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8012C460 001293C0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8012C464 001293C4 48 1E 66 85 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8012C468 001293C8 C0 1A 00 00 */ lfs f0, 0(r26) -/* 8012C46C 001293CC 7F A3 EB 78 */ mr r3, r29 -/* 8012C470 001293D0 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 8012C474 001293D4 38 81 00 0C */ addi r4, r1, 0xc -/* 8012C478 001293D8 C0 41 00 38 */ lfs f2, 0x38(r1) -/* 8012C47C 001293DC EC 20 07 72 */ fmuls f1, f0, f29 -/* 8012C480 001293E0 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8012C484 001293E4 38 A1 00 64 */ addi r5, r1, 0x64 -/* 8012C488 001293E8 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 8012C48C 001293EC 38 C1 00 58 */ addi r6, r1, 0x58 -/* 8012C490 001293F0 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 8012C494 001293F4 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8012C498 001293F8 48 0E 09 85 */ bl AddParticle__8CRagDollFRC6CSegIdRC9CVector3fRC9CVector3ff -/* 8012C49C 001293FC 3B 39 00 01 */ addi r25, r25, 1 -/* 8012C4A0 00129400 3B 5A 00 04 */ addi r26, r26, 4 -/* 8012C4A4 00129404 2C 19 00 0E */ cmpwi r25, 0xe -/* 8012C4A8 00129408 3B 7B 00 10 */ addi r27, r27, 0x10 -/* 8012C4AC 0012940C 41 80 FF 64 */ blt lbl_8012C410 -/* 8012C4B0 00129410 7F A3 EB 78 */ mr r3, r29 -/* 8012C4B4 00129414 7F C4 F3 78 */ mr r4, r30 -/* 8012C4B8 00129418 48 0E 23 6D */ bl SatisfyWorldConstraintsOnConstruction__8CRagDollFR13CStateManager -/* 8012C4BC 0012941C 7F A3 EB 78 */ mr r3, r29 -/* 8012C4C0 00129420 38 80 00 00 */ li r4, 0 -/* 8012C4C4 00129424 38 A0 00 01 */ li r5, 1 -/* 8012C4C8 00129428 48 0E 08 4D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C4CC 0012942C 7F A3 EB 78 */ mr r3, r29 -/* 8012C4D0 00129430 38 80 00 00 */ li r4, 0 -/* 8012C4D4 00129434 38 A0 00 02 */ li r5, 2 -/* 8012C4D8 00129438 48 0E 08 3D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C4DC 0012943C 7F A3 EB 78 */ mr r3, r29 -/* 8012C4E0 00129440 38 80 00 00 */ li r4, 0 -/* 8012C4E4 00129444 38 A0 00 08 */ li r5, 8 -/* 8012C4E8 00129448 48 0E 08 2D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C4EC 0012944C 7F A3 EB 78 */ mr r3, r29 -/* 8012C4F0 00129450 38 80 00 00 */ li r4, 0 -/* 8012C4F4 00129454 38 A0 00 0B */ li r5, 0xb -/* 8012C4F8 00129458 48 0E 08 1D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C4FC 0012945C 7F A3 EB 78 */ mr r3, r29 -/* 8012C500 00129460 38 80 00 00 */ li r4, 0 -/* 8012C504 00129464 38 A0 00 05 */ li r5, 5 -/* 8012C508 00129468 48 0E 08 0D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C50C 0012946C 7F A3 EB 78 */ mr r3, r29 -/* 8012C510 00129470 38 80 00 02 */ li r4, 2 -/* 8012C514 00129474 38 A0 00 03 */ li r5, 3 -/* 8012C518 00129478 48 0E 07 FD */ bl AddLengthConstraint__8CRagDollFii -/* 8012C51C 0012947C 7F A3 EB 78 */ mr r3, r29 -/* 8012C520 00129480 38 80 00 03 */ li r4, 3 -/* 8012C524 00129484 38 A0 00 04 */ li r5, 4 -/* 8012C528 00129488 48 0E 07 ED */ bl AddLengthConstraint__8CRagDollFii -/* 8012C52C 0012948C 7F A3 EB 78 */ mr r3, r29 -/* 8012C530 00129490 38 80 00 05 */ li r4, 5 -/* 8012C534 00129494 38 A0 00 06 */ li r5, 6 -/* 8012C538 00129498 48 0E 07 DD */ bl AddLengthConstraint__8CRagDollFii -/* 8012C53C 0012949C 7F A3 EB 78 */ mr r3, r29 -/* 8012C540 001294A0 38 80 00 06 */ li r4, 6 -/* 8012C544 001294A4 38 A0 00 07 */ li r5, 7 -/* 8012C548 001294A8 48 0E 07 CD */ bl AddLengthConstraint__8CRagDollFii -/* 8012C54C 001294AC 7F A3 EB 78 */ mr r3, r29 -/* 8012C550 001294B0 38 80 00 02 */ li r4, 2 -/* 8012C554 001294B4 38 A0 00 05 */ li r5, 5 -/* 8012C558 001294B8 48 0E 07 BD */ bl AddLengthConstraint__8CRagDollFii -/* 8012C55C 001294BC 7F A3 EB 78 */ mr r3, r29 -/* 8012C560 001294C0 38 80 00 02 */ li r4, 2 -/* 8012C564 001294C4 38 A0 00 08 */ li r5, 8 -/* 8012C568 001294C8 48 0E 07 AD */ bl AddLengthConstraint__8CRagDollFii -/* 8012C56C 001294CC 7F A3 EB 78 */ mr r3, r29 -/* 8012C570 001294D0 38 80 00 02 */ li r4, 2 -/* 8012C574 001294D4 38 A0 00 0B */ li r5, 0xb -/* 8012C578 001294D8 48 0E 07 9D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C57C 001294DC 7F A3 EB 78 */ mr r3, r29 -/* 8012C580 001294E0 38 80 00 05 */ li r4, 5 -/* 8012C584 001294E4 38 A0 00 08 */ li r5, 8 -/* 8012C588 001294E8 48 0E 07 8D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C58C 001294EC 7F A3 EB 78 */ mr r3, r29 -/* 8012C590 001294F0 38 80 00 05 */ li r4, 5 -/* 8012C594 001294F4 38 A0 00 0B */ li r5, 0xb -/* 8012C598 001294F8 48 0E 07 7D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C59C 001294FC 7F A3 EB 78 */ mr r3, r29 -/* 8012C5A0 00129500 38 80 00 08 */ li r4, 8 -/* 8012C5A4 00129504 38 A0 00 0B */ li r5, 0xb -/* 8012C5A8 00129508 48 0E 07 6D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C5AC 0012950C 7F A3 EB 78 */ mr r3, r29 -/* 8012C5B0 00129510 38 80 00 08 */ li r4, 8 -/* 8012C5B4 00129514 38 A0 00 09 */ li r5, 9 -/* 8012C5B8 00129518 48 0E 07 5D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C5BC 0012951C 7F A3 EB 78 */ mr r3, r29 -/* 8012C5C0 00129520 38 80 00 09 */ li r4, 9 -/* 8012C5C4 00129524 38 A0 00 0A */ li r5, 0xa -/* 8012C5C8 00129528 48 0E 07 4D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C5CC 0012952C 7F A3 EB 78 */ mr r3, r29 -/* 8012C5D0 00129530 38 80 00 0B */ li r4, 0xb -/* 8012C5D4 00129534 38 A0 00 0C */ li r5, 0xc -/* 8012C5D8 00129538 48 0E 07 3D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C5DC 0012953C 7F A3 EB 78 */ mr r3, r29 -/* 8012C5E0 00129540 38 80 00 0C */ li r4, 0xc -/* 8012C5E4 00129544 38 A0 00 0D */ li r5, 0xd -/* 8012C5E8 00129548 48 0E 07 2D */ bl AddLengthConstraint__8CRagDollFii -/* 8012C5EC 0012954C 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C5F0 00129550 7F A3 EB 78 */ mr r3, r29 -/* 8012C5F4 00129554 38 80 00 01 */ li r4, 1 -/* 8012C5F8 00129558 38 A0 00 08 */ li r5, 8 -/* 8012C5FC 0012955C C0 26 00 28 */ lfs f1, 0x28(r6) -/* 8012C600 00129560 48 0E 06 61 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C604 00129564 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C608 00129568 7F A3 EB 78 */ mr r3, r29 -/* 8012C60C 0012956C 38 80 00 01 */ li r4, 1 -/* 8012C610 00129570 38 A0 00 0B */ li r5, 0xb -/* 8012C614 00129574 C0 26 00 38 */ lfs f1, 0x38(r6) -/* 8012C618 00129578 48 0E 06 49 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C61C 0012957C 80 BD 00 20 */ lwz r5, 0x20(r29) -/* 8012C620 00129580 7F A3 EB 78 */ mr r3, r29 -/* 8012C624 00129584 C0 22 97 C8 */ lfs f1, lbl_805AB4E8@sda21(r2) -/* 8012C628 00129588 38 80 00 01 */ li r4, 1 -/* 8012C62C 0012958C C0 05 00 18 */ lfs f0, 0x18(r5) -/* 8012C630 00129590 38 A0 00 02 */ li r5, 2 -/* 8012C634 00129594 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8012C638 00129598 48 0E 06 29 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C63C 0012959C 80 BD 00 20 */ lwz r5, 0x20(r29) -/* 8012C640 001295A0 7F A3 EB 78 */ mr r3, r29 -/* 8012C644 001295A4 C0 22 97 C8 */ lfs f1, lbl_805AB4E8@sda21(r2) -/* 8012C648 001295A8 38 80 00 01 */ li r4, 1 -/* 8012C64C 001295AC C0 05 00 48 */ lfs f0, 0x48(r5) -/* 8012C650 001295B0 38 A0 00 05 */ li r5, 5 -/* 8012C654 001295B4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8012C658 001295B8 48 0E 06 09 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C65C 001295BC 80 BD 00 20 */ lwz r5, 0x20(r29) -/* 8012C660 001295C0 7F A3 EB 78 */ mr r3, r29 -/* 8012C664 001295C4 C0 22 98 8C */ lfs f1, lbl_805AB5AC@sda21(r2) -/* 8012C668 001295C8 38 80 00 01 */ li r4, 1 -/* 8012C66C 001295CC C0 05 00 08 */ lfs f0, 8(r5) -/* 8012C670 001295D0 38 A0 00 04 */ li r5, 4 -/* 8012C674 001295D4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8012C678 001295D8 48 0E 05 E9 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C67C 001295DC 80 BD 00 20 */ lwz r5, 0x20(r29) -/* 8012C680 001295E0 7F A3 EB 78 */ mr r3, r29 -/* 8012C684 001295E4 C0 22 98 8C */ lfs f1, lbl_805AB5AC@sda21(r2) -/* 8012C688 001295E8 38 80 00 01 */ li r4, 1 -/* 8012C68C 001295EC C0 05 00 08 */ lfs f0, 8(r5) -/* 8012C690 001295F0 38 A0 00 07 */ li r5, 7 -/* 8012C694 001295F4 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8012C698 001295F8 48 0E 05 C9 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C69C 001295FC 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C6A0 00129600 7F A3 EB 78 */ mr r3, r29 -/* 8012C6A4 00129604 38 80 00 04 */ li r4, 4 -/* 8012C6A8 00129608 38 A0 00 02 */ li r5, 2 -/* 8012C6AC 0012960C C0 26 00 58 */ lfs f1, 0x58(r6) -/* 8012C6B0 00129610 48 0E 05 B1 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C6B4 00129614 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C6B8 00129618 7F A3 EB 78 */ mr r3, r29 -/* 8012C6BC 0012961C 38 80 00 07 */ li r4, 7 -/* 8012C6C0 00129620 38 A0 00 05 */ li r5, 5 -/* 8012C6C4 00129624 C0 26 00 78 */ lfs f1, 0x78(r6) -/* 8012C6C8 00129628 48 0E 05 99 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C6CC 0012962C 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C6D0 00129630 7F A3 EB 78 */ mr r3, r29 -/* 8012C6D4 00129634 C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) -/* 8012C6D8 00129638 38 80 00 03 */ li r4, 3 -/* 8012C6DC 0012963C C0 26 00 58 */ lfs f1, 0x58(r6) -/* 8012C6E0 00129640 38 A0 00 05 */ li r5, 5 -/* 8012C6E4 00129644 C0 06 00 98 */ lfs f0, 0x98(r6) -/* 8012C6E8 00129648 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8012C6EC 0012964C 48 0E 05 75 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C6F0 00129650 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C6F4 00129654 7F A3 EB 78 */ mr r3, r29 -/* 8012C6F8 00129658 C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) -/* 8012C6FC 0012965C 38 80 00 06 */ li r4, 6 -/* 8012C700 00129660 C0 26 00 78 */ lfs f1, 0x78(r6) -/* 8012C704 00129664 38 A0 00 02 */ li r5, 2 -/* 8012C708 00129668 C0 06 00 98 */ lfs f0, 0x98(r6) -/* 8012C70C 0012966C EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8012C710 00129670 48 0E 05 51 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C714 00129674 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C718 00129678 7F A3 EB 78 */ mr r3, r29 -/* 8012C71C 0012967C C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) -/* 8012C720 00129680 38 80 00 04 */ li r4, 4 -/* 8012C724 00129684 C0 26 00 58 */ lfs f1, 0x58(r6) -/* 8012C728 00129688 38 A0 00 05 */ li r5, 5 -/* 8012C72C 0012968C C0 06 00 98 */ lfs f0, 0x98(r6) -/* 8012C730 00129690 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8012C734 00129694 48 0E 05 2D */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C738 00129698 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C73C 0012969C 7F A3 EB 78 */ mr r3, r29 -/* 8012C740 001296A0 C0 42 97 D0 */ lfs f2, lbl_805AB4F0@sda21(r2) -/* 8012C744 001296A4 38 80 00 07 */ li r4, 7 -/* 8012C748 001296A8 C0 26 00 78 */ lfs f1, 0x78(r6) -/* 8012C74C 001296AC 38 A0 00 02 */ li r5, 2 -/* 8012C750 001296B0 C0 06 00 98 */ lfs f0, 0x98(r6) -/* 8012C754 001296B4 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8012C758 001296B8 48 0E 05 09 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C75C 001296BC 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C760 001296C0 7F A3 EB 78 */ mr r3, r29 -/* 8012C764 001296C4 38 80 00 04 */ li r4, 4 -/* 8012C768 001296C8 38 A0 00 07 */ li r5, 7 -/* 8012C76C 001296CC C0 26 00 98 */ lfs f1, 0x98(r6) -/* 8012C770 001296D0 48 0E 04 F1 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C774 001296D4 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C778 001296D8 7F A3 EB 78 */ mr r3, r29 -/* 8012C77C 001296DC 38 80 00 04 */ li r4, 4 -/* 8012C780 001296E0 38 A0 00 08 */ li r5, 8 -/* 8012C784 001296E4 C0 26 00 E8 */ lfs f1, 0xe8(r6) -/* 8012C788 001296E8 48 0E 04 D9 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C78C 001296EC 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C790 001296F0 7F A3 EB 78 */ mr r3, r29 -/* 8012C794 001296F4 38 80 00 07 */ li r4, 7 -/* 8012C798 001296F8 38 A0 00 0B */ li r5, 0xb -/* 8012C79C 001296FC C0 26 00 E8 */ lfs f1, 0xe8(r6) -/* 8012C7A0 00129700 48 0E 04 C1 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C7A4 00129704 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C7A8 00129708 7F A3 EB 78 */ mr r3, r29 -/* 8012C7AC 0012970C 38 80 00 0A */ li r4, 0xa -/* 8012C7B0 00129710 38 A0 00 08 */ li r5, 8 -/* 8012C7B4 00129714 C0 26 00 F8 */ lfs f1, 0xf8(r6) -/* 8012C7B8 00129718 48 0E 04 A9 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C7BC 0012971C 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C7C0 00129720 7F A3 EB 78 */ mr r3, r29 -/* 8012C7C4 00129724 38 80 00 0D */ li r4, 0xd -/* 8012C7C8 00129728 38 A0 00 0B */ li r5, 0xb -/* 8012C7CC 0012972C C0 26 01 18 */ lfs f1, 0x118(r6) -/* 8012C7D0 00129730 48 0E 04 91 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C7D4 00129734 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C7D8 00129738 7F A3 EB 78 */ mr r3, r29 -/* 8012C7DC 0012973C C0 42 98 00 */ lfs f2, lbl_805AB520@sda21(r2) -/* 8012C7E0 00129740 38 80 00 09 */ li r4, 9 -/* 8012C7E4 00129744 C0 26 00 F8 */ lfs f1, 0xf8(r6) -/* 8012C7E8 00129748 38 A0 00 02 */ li r5, 2 -/* 8012C7EC 0012974C C0 06 00 A8 */ lfs f0, 0xa8(r6) -/* 8012C7F0 00129750 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8012C7F4 00129754 48 0E 04 6D */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C7F8 00129758 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C7FC 0012975C 7F A3 EB 78 */ mr r3, r29 -/* 8012C800 00129760 C0 42 98 00 */ lfs f2, lbl_805AB520@sda21(r2) -/* 8012C804 00129764 38 80 00 0C */ li r4, 0xc -/* 8012C808 00129768 C0 26 01 18 */ lfs f1, 0x118(r6) -/* 8012C80C 0012976C 38 A0 00 05 */ li r5, 5 -/* 8012C810 00129770 C0 06 00 D8 */ lfs f0, 0xd8(r6) -/* 8012C814 00129774 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 8012C818 00129778 48 0E 04 49 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C81C 0012977C 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C820 00129780 7F A3 EB 78 */ mr r3, r29 -/* 8012C824 00129784 38 80 00 09 */ li r4, 9 -/* 8012C828 00129788 38 A0 00 0B */ li r5, 0xb -/* 8012C82C 0012978C C0 26 00 F8 */ lfs f1, 0xf8(r6) -/* 8012C830 00129790 48 0E 04 31 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C834 00129794 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C838 00129798 7F A3 EB 78 */ mr r3, r29 -/* 8012C83C 0012979C 38 80 00 0C */ li r4, 0xc -/* 8012C840 001297A0 38 A0 00 08 */ li r5, 8 -/* 8012C844 001297A4 C0 26 01 18 */ lfs f1, 0x118(r6) -/* 8012C848 001297A8 48 0E 04 19 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C84C 001297AC 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C850 001297B0 7F A3 EB 78 */ mr r3, r29 -/* 8012C854 001297B4 38 80 00 0A */ li r4, 0xa -/* 8012C858 001297B8 38 A0 00 00 */ li r5, 0 -/* 8012C85C 001297BC C0 26 00 28 */ lfs f1, 0x28(r6) -/* 8012C860 001297C0 C0 06 00 F8 */ lfs f0, 0xf8(r6) -/* 8012C864 001297C4 EC 21 00 2A */ fadds f1, f1, f0 -/* 8012C868 001297C8 48 0E 03 F9 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C86C 001297CC 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C870 001297D0 7F A3 EB 78 */ mr r3, r29 -/* 8012C874 001297D4 38 80 00 0D */ li r4, 0xd -/* 8012C878 001297D8 38 A0 00 00 */ li r5, 0 -/* 8012C87C 001297DC C0 26 00 38 */ lfs f1, 0x38(r6) -/* 8012C880 001297E0 C0 06 01 18 */ lfs f0, 0x118(r6) -/* 8012C884 001297E4 EC 21 00 2A */ fadds f1, f1, f0 -/* 8012C888 001297E8 48 0E 03 D9 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C88C 001297EC 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C890 001297F0 7F A3 EB 78 */ mr r3, r29 -/* 8012C894 001297F4 38 80 00 0A */ li r4, 0xa -/* 8012C898 001297F8 38 A0 00 0D */ li r5, 0xd -/* 8012C89C 001297FC C0 26 00 E8 */ lfs f1, 0xe8(r6) -/* 8012C8A0 00129800 48 0E 03 C1 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C8A4 00129804 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C8A8 00129808 7F A3 EB 78 */ mr r3, r29 -/* 8012C8AC 0012980C 38 80 00 09 */ li r4, 9 -/* 8012C8B0 00129810 38 A0 00 0C */ li r5, 0xc -/* 8012C8B4 00129814 C0 26 00 E8 */ lfs f1, 0xe8(r6) -/* 8012C8B8 00129818 48 0E 03 A9 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C8BC 0012981C 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C8C0 00129820 7F A3 EB 78 */ mr r3, r29 -/* 8012C8C4 00129824 38 80 00 0A */ li r4, 0xa -/* 8012C8C8 00129828 38 A0 00 0C */ li r5, 0xc -/* 8012C8CC 0012982C C0 26 00 E8 */ lfs f1, 0xe8(r6) -/* 8012C8D0 00129830 48 0E 03 91 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C8D4 00129834 80 DD 00 20 */ lwz r6, 0x20(r29) -/* 8012C8D8 00129838 7F A3 EB 78 */ mr r3, r29 -/* 8012C8DC 0012983C 38 80 00 0D */ li r4, 0xd -/* 8012C8E0 00129840 38 A0 00 09 */ li r5, 9 -/* 8012C8E4 00129844 C0 26 00 E8 */ lfs f1, 0xe8(r6) -/* 8012C8E8 00129848 48 0E 03 79 */ bl AddMinLengthConstraint__8CRagDollFiif -/* 8012C8EC 0012984C 80 BD 00 20 */ lwz r5, 0x20(r29) -/* 8012C8F0 00129850 7F A3 EB 78 */ mr r3, r29 -/* 8012C8F4 00129854 C0 22 98 1C */ lfs f1, lbl_805AB53C@sda21(r2) -/* 8012C8F8 00129858 38 80 00 0A */ li r4, 0xa -/* 8012C8FC 0012985C C0 05 00 E8 */ lfs f0, 0xe8(r5) -/* 8012C900 00129860 38 A0 00 0D */ li r5, 0xd -/* 8012C904 00129864 EC 21 00 32 */ fmuls f1, f1, f0 -/* 8012C908 00129868 48 0E 02 A5 */ bl AddMaxLengthConstraint__8CRagDollFiif -/* 8012C90C 0012986C 7F A3 EB 78 */ mr r3, r29 -/* 8012C910 00129870 38 80 00 08 */ li r4, 8 -/* 8012C914 00129874 38 A0 00 02 */ li r5, 2 -/* 8012C918 00129878 38 C0 00 05 */ li r6, 5 -/* 8012C91C 0012987C 38 E0 00 08 */ li r7, 8 -/* 8012C920 00129880 39 00 00 09 */ li r8, 9 -/* 8012C924 00129884 39 20 00 0A */ li r9, 0xa -/* 8012C928 00129888 48 0E 01 C9 */ bl AddJointConstraint__8CRagDollFiiiiii -/* 8012C92C 0012988C 7F A3 EB 78 */ mr r3, r29 -/* 8012C930 00129890 38 80 00 0B */ li r4, 0xb -/* 8012C934 00129894 38 A0 00 02 */ li r5, 2 -/* 8012C938 00129898 38 C0 00 05 */ li r6, 5 -/* 8012C93C 0012989C 38 E0 00 0B */ li r7, 0xb -/* 8012C940 001298A0 39 00 00 0C */ li r8, 0xc -/* 8012C944 001298A4 39 20 00 0D */ li r9, 0xd -/* 8012C948 001298A8 48 0E 01 A9 */ bl AddJointConstraint__8CRagDollFiiiiii -/* 8012C94C 001298AC 7F A3 EB 78 */ mr r3, r29 -/* 8012C950 001298B0 38 80 00 02 */ li r4, 2 -/* 8012C954 001298B4 38 A0 00 0B */ li r5, 0xb -/* 8012C958 001298B8 38 C0 00 05 */ li r6, 5 -/* 8012C95C 001298BC 38 E0 00 02 */ li r7, 2 -/* 8012C960 001298C0 39 00 00 03 */ li r8, 3 -/* 8012C964 001298C4 39 20 00 04 */ li r9, 4 -/* 8012C968 001298C8 48 0E 01 89 */ bl AddJointConstraint__8CRagDollFiiiiii -/* 8012C96C 001298CC 7F A3 EB 78 */ mr r3, r29 -/* 8012C970 001298D0 38 80 00 05 */ li r4, 5 -/* 8012C974 001298D4 38 A0 00 02 */ li r5, 2 -/* 8012C978 001298D8 38 C0 00 08 */ li r6, 8 -/* 8012C97C 001298DC 38 E0 00 05 */ li r7, 5 -/* 8012C980 001298E0 39 00 00 06 */ li r8, 6 -/* 8012C984 001298E4 39 20 00 07 */ li r9, 7 -/* 8012C988 001298E8 48 0E 01 69 */ bl AddJointConstraint__8CRagDollFiiiiii -/* 8012C98C 001298EC 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8012C990 001298F0 83 E3 00 2C */ lwz r31, 0x2c(r3) -/* 8012C994 001298F4 48 00 00 D0 */ b lbl_8012CA64 -lbl_8012C998: -/* 8012C998 001298F8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8012C99C 001298FC 2C 00 00 19 */ cmpwi r0, 0x19 -/* 8012C9A0 00129900 40 82 00 C0 */ bne lbl_8012CA60 -/* 8012C9A4 00129904 80 1F 00 04 */ lwz r0, 4(r31) -/* 8012C9A8 00129908 2C 00 00 06 */ cmpwi r0, 6 -/* 8012C9AC 0012990C 40 82 00 B4 */ bne lbl_8012CA60 -/* 8012C9B0 00129910 80 1F 00 08 */ lwz r0, 8(r31) -/* 8012C9B4 00129914 7F C4 F3 78 */ mr r4, r30 -/* 8012C9B8 00129918 38 61 00 14 */ addi r3, r1, 0x14 -/* 8012C9BC 0012991C 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8012C9C0 00129920 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8012C9C4 00129924 4B F1 B5 59 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8012C9C8 00129928 A0 01 00 14 */ lhz r0, 0x14(r1) -/* 8012C9CC 0012992C 7F C3 F3 78 */ mr r3, r30 -/* 8012C9D0 00129930 38 81 00 10 */ addi r4, r1, 0x10 -/* 8012C9D4 00129934 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8012C9D8 00129938 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8012C9DC 0012993C 4B F1 FB C9 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8012C9E0 00129940 7C 64 1B 78 */ mr r4, r3 -/* 8012C9E4 00129944 38 61 00 20 */ addi r3, r1, 0x20 -/* 8012C9E8 00129948 4B F7 9B 65 */ bl "__ct__29TCastToPtr<15CScriptWaypoint>FP7CEntity" -/* 8012C9EC 0012994C 80 83 00 04 */ lwz r4, 4(r3) -/* 8012C9F0 00129950 28 04 00 00 */ cmplwi r4, 0 -/* 8012C9F4 00129954 41 82 00 6C */ beq lbl_8012CA60 -/* 8012C9F8 00129958 38 7D 00 90 */ addi r3, r29, 0x90 -/* 8012C9FC 0012995C 80 1D 00 90 */ lwz r0, 0x90(r29) -/* 8012CA00 00129960 54 00 08 3C */ slwi r0, r0, 1 -/* 8012CA04 00129964 7C 63 02 14 */ add r3, r3, r0 -/* 8012CA08 00129968 34 63 00 04 */ addic. r3, r3, 4 -/* 8012CA0C 0012996C 41 82 00 0C */ beq lbl_8012CA18 -/* 8012CA10 00129970 A0 01 00 18 */ lhz r0, 0x18(r1) -/* 8012CA14 00129974 B0 03 00 00 */ sth r0, 0(r3) -lbl_8012CA18: -/* 8012CA18 00129978 80 7D 00 90 */ lwz r3, 0x90(r29) -/* 8012CA1C 0012997C 38 BD 00 9C */ addi r5, r29, 0x9c -/* 8012CA20 00129980 38 03 00 01 */ addi r0, r3, 1 -/* 8012CA24 00129984 90 1D 00 90 */ stw r0, 0x90(r29) -/* 8012CA28 00129988 80 1D 00 9C */ lwz r0, 0x9c(r29) -/* 8012CA2C 0012998C 80 64 00 EC */ lwz r3, 0xec(r4) -/* 8012CA30 00129990 54 00 10 3A */ slwi r0, r0, 2 -/* 8012CA34 00129994 7C 85 02 14 */ add r4, r5, r0 -/* 8012CA38 00129998 34 84 00 04 */ addic. r4, r4, 4 -/* 8012CA3C 0012999C 41 82 00 08 */ beq lbl_8012CA44 -/* 8012CA40 001299A0 90 64 00 00 */ stw r3, 0(r4) -lbl_8012CA44: -/* 8012CA44 001299A4 80 7D 00 9C */ lwz r3, 0x9c(r29) -/* 8012CA48 001299A8 38 03 00 01 */ addi r0, r3, 1 -/* 8012CA4C 001299AC 90 1D 00 9C */ stw r0, 0x9c(r29) -/* 8012CA50 001299B0 80 1D 00 90 */ lwz r0, 0x90(r29) -/* 8012CA54 001299B4 20 00 00 04 */ subfic r0, r0, 4 -/* 8012CA58 001299B8 2C 00 00 00 */ cmpwi r0, 0 -/* 8012CA5C 001299BC 40 81 00 24 */ ble lbl_8012CA80 -lbl_8012CA60: -/* 8012CA60 001299C0 3B FF 00 0C */ addi r31, r31, 0xc -lbl_8012CA64: -/* 8012CA64 001299C4 80 7D 00 6C */ lwz r3, 0x6c(r29) -/* 8012CA68 001299C8 80 03 00 24 */ lwz r0, 0x24(r3) -/* 8012CA6C 001299CC 80 63 00 2C */ lwz r3, 0x2c(r3) -/* 8012CA70 001299D0 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8012CA74 001299D4 7C 03 02 14 */ add r0, r3, r0 -/* 8012CA78 001299D8 7C 1F 00 40 */ cmplw r31, r0 -/* 8012CA7C 001299DC 40 82 FF 1C */ bne lbl_8012C998 -lbl_8012CA80: -/* 8012CA80 001299E0 7F A3 EB 78 */ mr r3, r29 -/* 8012CA84 001299E4 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8012CA88 001299E8 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8012CA8C 001299EC E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 -/* 8012CA90 001299F0 CB C1 00 C0 */ lfd f30, 0xc0(r1) -/* 8012CA94 001299F4 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 -/* 8012CA98 001299F8 CB A1 00 B0 */ lfd f29, 0xb0(r1) -/* 8012CA9C 001299FC BB 21 00 94 */ lmw r25, 0x94(r1) -/* 8012CAA0 00129A00 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8012CAA4 00129A04 7C 08 03 A6 */ mtlr r0 -/* 8012CAA8 00129A08 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8012CAAC 00129A0C 4E 80 00 20 */ blr - -.global sub_8012cab0 -sub_8012cab0: -/* 8012CAB0 00129A10 A0 A5 00 00 */ lhz r5, 0(r5) -/* 8012CAB4 00129A14 88 04 00 00 */ lbz r0, 0(r4) -/* 8012CAB8 00129A18 98 03 00 00 */ stb r0, 0(r3) -/* 8012CABC 00129A1C B0 A3 00 02 */ sth r5, 2(r3) -/* 8012CAC0 00129A20 4E 80 00 20 */ blr - -.global "reserve__Q24rstl64vectorFi" -"reserve__Q24rstl64vectorFi": -/* 8012CAC4 00129A24 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8012CAC8 00129A28 7C 08 02 A6 */ mflr r0 -/* 8012CACC 00129A2C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8012CAD0 00129A30 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8012CAD4 00129A34 7C 9F 23 78 */ mr r31, r4 -/* 8012CAD8 00129A38 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8012CADC 00129A3C 7C 7E 1B 78 */ mr r30, r3 -/* 8012CAE0 00129A40 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8012CAE4 00129A44 80 03 00 08 */ lwz r0, 8(r3) -/* 8012CAE8 00129A48 7C 1F 00 00 */ cmpw r31, r0 -/* 8012CAEC 00129A4C 40 81 00 98 */ ble lbl_8012CB84 -/* 8012CAF0 00129A50 57 E3 30 33 */ rlwinm. r3, r31, 6, 0, 0x19 -/* 8012CAF4 00129A54 40 82 00 0C */ bne lbl_8012CB00 -/* 8012CAF8 00129A58 3B A0 00 00 */ li r29, 0 -/* 8012CAFC 00129A5C 48 00 00 1C */ b lbl_8012CB18 -lbl_8012CB00: -/* 8012CB00 00129A60 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012CB04 00129A64 38 A0 00 00 */ li r5, 0 -/* 8012CB08 00129A68 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012CB0C 00129A6C 38 84 00 0A */ addi r4, r4, 0xa -/* 8012CB10 00129A70 48 1E 8D 09 */ bl __nwa__FUlPCcPCc -/* 8012CB14 00129A74 7C 7D 1B 78 */ mr r29, r3 -lbl_8012CB18: -/* 8012CB18 00129A78 80 1E 00 04 */ lwz r0, 4(r30) -/* 8012CB1C 00129A7C 7F A5 EB 78 */ mr r5, r29 -/* 8012CB20 00129A80 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 8012CB24 00129A84 38 61 00 14 */ addi r3, r1, 0x14 -/* 8012CB28 00129A88 54 00 30 32 */ slwi r0, r0, 6 -/* 8012CB2C 00129A8C 38 81 00 0C */ addi r4, r1, 0xc -/* 8012CB30 00129A90 7C C6 02 14 */ add r6, r6, r0 -/* 8012CB34 00129A94 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8012CB38 00129A98 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 8012CB3C 00129A9C 90 C1 00 08 */ stw r6, 8(r1) -/* 8012CB40 00129AA0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8012CB44 00129AA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012CB48 00129AA8 48 00 00 59 */ bl sub_8012cba0 -/* 8012CB4C 00129AAC 80 1E 00 04 */ lwz r0, 4(r30) -/* 8012CB50 00129AB0 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8012CB54 00129AB4 54 00 30 32 */ slwi r0, r0, 6 -/* 8012CB58 00129AB8 7C 64 1B 78 */ mr r4, r3 -/* 8012CB5C 00129ABC 7C 03 02 14 */ add r0, r3, r0 -/* 8012CB60 00129AC0 48 00 00 08 */ b lbl_8012CB68 -lbl_8012CB64: -/* 8012CB64 00129AC4 38 84 00 40 */ addi r4, r4, 0x40 -lbl_8012CB68: -/* 8012CB68 00129AC8 7C 04 00 40 */ cmplw r4, r0 -/* 8012CB6C 00129ACC 40 82 FF F8 */ bne lbl_8012CB64 -/* 8012CB70 00129AD0 28 03 00 00 */ cmplwi r3, 0 -/* 8012CB74 00129AD4 41 82 00 08 */ beq lbl_8012CB7C -/* 8012CB78 00129AD8 48 1E 8D B9 */ bl Free__7CMemoryFPCv -lbl_8012CB7C: -/* 8012CB7C 00129ADC 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8012CB80 00129AE0 93 FE 00 08 */ stw r31, 8(r30) -lbl_8012CB84: -/* 8012CB84 00129AE4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8012CB88 00129AE8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8012CB8C 00129AEC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8012CB90 00129AF0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8012CB94 00129AF4 7C 08 03 A6 */ mtlr r0 -/* 8012CB98 00129AF8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8012CB9C 00129AFC 4E 80 00 20 */ blr - -.global sub_8012cba0 -sub_8012cba0: -/* 8012CBA0 00129B00 80 63 00 00 */ lwz r3, 0(r3) -/* 8012CBA4 00129B04 48 00 00 94 */ b lbl_8012CC38 -lbl_8012CBA8: -/* 8012CBA8 00129B08 28 05 00 00 */ cmplwi r5, 0 -/* 8012CBAC 00129B0C 41 82 00 84 */ beq lbl_8012CC30 -/* 8012CBB0 00129B10 88 03 00 00 */ lbz r0, 0(r3) -/* 8012CBB4 00129B14 98 05 00 00 */ stb r0, 0(r5) -/* 8012CBB8 00129B18 C0 03 00 04 */ lfs f0, 4(r3) -/* 8012CBBC 00129B1C D0 05 00 04 */ stfs f0, 4(r5) -/* 8012CBC0 00129B20 C0 03 00 08 */ lfs f0, 8(r3) -/* 8012CBC4 00129B24 D0 05 00 08 */ stfs f0, 8(r5) -/* 8012CBC8 00129B28 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 8012CBCC 00129B2C D0 05 00 0C */ stfs f0, 0xc(r5) -/* 8012CBD0 00129B30 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 8012CBD4 00129B34 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 8012CBD8 00129B38 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 8012CBDC 00129B3C D0 05 00 14 */ stfs f0, 0x14(r5) -/* 8012CBE0 00129B40 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 8012CBE4 00129B44 D0 05 00 18 */ stfs f0, 0x18(r5) -/* 8012CBE8 00129B48 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 8012CBEC 00129B4C D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 8012CBF0 00129B50 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 8012CBF4 00129B54 D0 05 00 20 */ stfs f0, 0x20(r5) -/* 8012CBF8 00129B58 C0 03 00 24 */ lfs f0, 0x24(r3) -/* 8012CBFC 00129B5C D0 05 00 24 */ stfs f0, 0x24(r5) -/* 8012CC00 00129B60 C0 03 00 28 */ lfs f0, 0x28(r3) -/* 8012CC04 00129B64 D0 05 00 28 */ stfs f0, 0x28(r5) -/* 8012CC08 00129B68 C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 8012CC0C 00129B6C D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 8012CC10 00129B70 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 8012CC14 00129B74 D0 05 00 30 */ stfs f0, 0x30(r5) -/* 8012CC18 00129B78 C0 03 00 34 */ lfs f0, 0x34(r3) -/* 8012CC1C 00129B7C D0 05 00 34 */ stfs f0, 0x34(r5) -/* 8012CC20 00129B80 C0 03 00 38 */ lfs f0, 0x38(r3) -/* 8012CC24 00129B84 D0 05 00 38 */ stfs f0, 0x38(r5) -/* 8012CC28 00129B88 88 03 00 3C */ lbz r0, 0x3c(r3) -/* 8012CC2C 00129B8C 98 05 00 3C */ stb r0, 0x3c(r5) -lbl_8012CC30: -/* 8012CC30 00129B90 38 A5 00 40 */ addi r5, r5, 0x40 -/* 8012CC34 00129B94 38 63 00 40 */ addi r3, r3, 0x40 -lbl_8012CC38: -/* 8012CC38 00129B98 80 04 00 00 */ lwz r0, 0(r4) -/* 8012CC3C 00129B9C 7C 03 00 40 */ cmplw r3, r0 -/* 8012CC40 00129BA0 40 82 FF 68 */ bne lbl_8012CBA8 -/* 8012CC44 00129BA4 7C A3 2B 78 */ mr r3, r5 -/* 8012CC48 00129BA8 4E 80 00 20 */ blr - -.global "reserve__Q24rstl72vectorFi" -"reserve__Q24rstl72vectorFi": -/* 8012CC4C 00129BAC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8012CC50 00129BB0 7C 08 02 A6 */ mflr r0 -/* 8012CC54 00129BB4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8012CC58 00129BB8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8012CC5C 00129BBC 7C 9F 23 78 */ mr r31, r4 -/* 8012CC60 00129BC0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8012CC64 00129BC4 7C 7E 1B 78 */ mr r30, r3 -/* 8012CC68 00129BC8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8012CC6C 00129BCC 80 03 00 08 */ lwz r0, 8(r3) -/* 8012CC70 00129BD0 7C 1F 00 00 */ cmpw r31, r0 -/* 8012CC74 00129BD4 40 81 00 C4 */ ble lbl_8012CD38 -/* 8012CC78 00129BD8 57 E3 20 37 */ rlwinm. r3, r31, 4, 0, 0x1b -/* 8012CC7C 00129BDC 40 82 00 0C */ bne lbl_8012CC88 -/* 8012CC80 00129BE0 3B A0 00 00 */ li r29, 0 -/* 8012CC84 00129BE4 48 00 00 1C */ b lbl_8012CCA0 -lbl_8012CC88: -/* 8012CC88 00129BE8 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012CC8C 00129BEC 38 A0 00 00 */ li r5, 0 -/* 8012CC90 00129BF0 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012CC94 00129BF4 38 84 00 0A */ addi r4, r4, 0xa -/* 8012CC98 00129BF8 48 1E 8B 81 */ bl __nwa__FUlPCcPCc -/* 8012CC9C 00129BFC 7C 7D 1B 78 */ mr r29, r3 -lbl_8012CCA0: -/* 8012CCA0 00129C00 80 1E 00 04 */ lwz r0, 4(r30) -/* 8012CCA4 00129C04 7F A4 EB 78 */ mr r4, r29 -/* 8012CCA8 00129C08 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8012CCAC 00129C0C 54 00 20 36 */ slwi r0, r0, 4 -/* 8012CCB0 00129C10 7C 65 02 14 */ add r3, r5, r0 -/* 8012CCB4 00129C14 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8012CCB8 00129C18 90 61 00 08 */ stw r3, 8(r1) -/* 8012CCBC 00129C1C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8012CCC0 00129C20 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8012CCC4 00129C24 48 00 00 34 */ b lbl_8012CCF8 -lbl_8012CCC8: -/* 8012CCC8 00129C28 28 04 00 00 */ cmplwi r4, 0 -/* 8012CCCC 00129C2C 41 82 00 24 */ beq lbl_8012CCF0 -/* 8012CCD0 00129C30 80 05 00 00 */ lwz r0, 0(r5) -/* 8012CCD4 00129C34 90 04 00 00 */ stw r0, 0(r4) -/* 8012CCD8 00129C38 80 05 00 04 */ lwz r0, 4(r5) -/* 8012CCDC 00129C3C 90 04 00 04 */ stw r0, 4(r4) -/* 8012CCE0 00129C40 C0 05 00 08 */ lfs f0, 8(r5) -/* 8012CCE4 00129C44 D0 04 00 08 */ stfs f0, 8(r4) -/* 8012CCE8 00129C48 80 05 00 0C */ lwz r0, 0xc(r5) -/* 8012CCEC 00129C4C 90 04 00 0C */ stw r0, 0xc(r4) -lbl_8012CCF0: -/* 8012CCF0 00129C50 38 84 00 10 */ addi r4, r4, 0x10 -/* 8012CCF4 00129C54 38 A5 00 10 */ addi r5, r5, 0x10 -lbl_8012CCF8: -/* 8012CCF8 00129C58 7C 05 18 40 */ cmplw r5, r3 -/* 8012CCFC 00129C5C 40 82 FF CC */ bne lbl_8012CCC8 -/* 8012CD00 00129C60 80 1E 00 04 */ lwz r0, 4(r30) -/* 8012CD04 00129C64 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8012CD08 00129C68 54 00 20 36 */ slwi r0, r0, 4 -/* 8012CD0C 00129C6C 7C 64 1B 78 */ mr r4, r3 -/* 8012CD10 00129C70 7C 03 02 14 */ add r0, r3, r0 -/* 8012CD14 00129C74 48 00 00 08 */ b lbl_8012CD1C -lbl_8012CD18: -/* 8012CD18 00129C78 38 84 00 10 */ addi r4, r4, 0x10 -lbl_8012CD1C: -/* 8012CD1C 00129C7C 7C 04 00 40 */ cmplw r4, r0 -/* 8012CD20 00129C80 40 82 FF F8 */ bne lbl_8012CD18 -/* 8012CD24 00129C84 28 03 00 00 */ cmplwi r3, 0 -/* 8012CD28 00129C88 41 82 00 08 */ beq lbl_8012CD30 -/* 8012CD2C 00129C8C 48 1E 8C 05 */ bl Free__7CMemoryFPCv -lbl_8012CD30: -/* 8012CD30 00129C90 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8012CD34 00129C94 93 FE 00 08 */ stw r31, 8(r30) -lbl_8012CD38: -/* 8012CD38 00129C98 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8012CD3C 00129C9C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8012CD40 00129CA0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8012CD44 00129CA4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8012CD48 00129CA8 7C 08 03 A6 */ mtlr r0 -/* 8012CD4C 00129CAC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8012CD50 00129CB0 4E 80 00 20 */ blr - -.global "reserve__Q24rstl71vectorFi" -"reserve__Q24rstl71vectorFi": -/* 8012CD54 00129CB4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8012CD58 00129CB8 7C 08 02 A6 */ mflr r0 -/* 8012CD5C 00129CBC 90 01 00 34 */ stw r0, 0x34(r1) -/* 8012CD60 00129CC0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8012CD64 00129CC4 7C 9F 23 78 */ mr r31, r4 -/* 8012CD68 00129CC8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8012CD6C 00129CCC 7C 7E 1B 78 */ mr r30, r3 -/* 8012CD70 00129CD0 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8012CD74 00129CD4 80 03 00 08 */ lwz r0, 8(r3) -/* 8012CD78 00129CD8 7C 1F 00 00 */ cmpw r31, r0 -/* 8012CD7C 00129CDC 40 81 00 D8 */ ble lbl_8012CE54 -/* 8012CD80 00129CE0 1C 7F 00 18 */ mulli r3, r31, 0x18 -/* 8012CD84 00129CE4 2C 03 00 00 */ cmpwi r3, 0 -/* 8012CD88 00129CE8 40 82 00 0C */ bne lbl_8012CD94 -/* 8012CD8C 00129CEC 3B A0 00 00 */ li r29, 0 -/* 8012CD90 00129CF0 48 00 00 1C */ b lbl_8012CDAC -lbl_8012CD94: -/* 8012CD94 00129CF4 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012CD98 00129CF8 38 A0 00 00 */ li r5, 0 -/* 8012CD9C 00129CFC 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012CDA0 00129D00 38 84 00 0A */ addi r4, r4, 0xa -/* 8012CDA4 00129D04 48 1E 8A 75 */ bl __nwa__FUlPCcPCc -/* 8012CDA8 00129D08 7C 7D 1B 78 */ mr r29, r3 -lbl_8012CDAC: -/* 8012CDAC 00129D0C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8012CDB0 00129D10 7F A4 EB 78 */ mr r4, r29 -/* 8012CDB4 00129D14 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 8012CDB8 00129D18 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 8012CDBC 00129D1C 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8012CDC0 00129D20 7C 65 02 14 */ add r3, r5, r0 -/* 8012CDC4 00129D24 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8012CDC8 00129D28 90 61 00 08 */ stw r3, 8(r1) -/* 8012CDCC 00129D2C 90 61 00 0C */ stw r3, 0xc(r1) -/* 8012CDD0 00129D30 48 00 00 44 */ b lbl_8012CE14 -lbl_8012CDD4: -/* 8012CDD4 00129D34 28 04 00 00 */ cmplwi r4, 0 -/* 8012CDD8 00129D38 41 82 00 34 */ beq lbl_8012CE0C -/* 8012CDDC 00129D3C 80 05 00 00 */ lwz r0, 0(r5) -/* 8012CDE0 00129D40 90 04 00 00 */ stw r0, 0(r4) -/* 8012CDE4 00129D44 80 05 00 04 */ lwz r0, 4(r5) -/* 8012CDE8 00129D48 90 04 00 04 */ stw r0, 4(r4) -/* 8012CDEC 00129D4C 80 05 00 08 */ lwz r0, 8(r5) -/* 8012CDF0 00129D50 90 04 00 08 */ stw r0, 8(r4) -/* 8012CDF4 00129D54 80 05 00 0C */ lwz r0, 0xc(r5) -/* 8012CDF8 00129D58 90 04 00 0C */ stw r0, 0xc(r4) -/* 8012CDFC 00129D5C 80 05 00 10 */ lwz r0, 0x10(r5) -/* 8012CE00 00129D60 90 04 00 10 */ stw r0, 0x10(r4) -/* 8012CE04 00129D64 80 05 00 14 */ lwz r0, 0x14(r5) -/* 8012CE08 00129D68 90 04 00 14 */ stw r0, 0x14(r4) -lbl_8012CE0C: -/* 8012CE0C 00129D6C 38 84 00 18 */ addi r4, r4, 0x18 -/* 8012CE10 00129D70 38 A5 00 18 */ addi r5, r5, 0x18 -lbl_8012CE14: -/* 8012CE14 00129D74 7C 05 18 40 */ cmplw r5, r3 -/* 8012CE18 00129D78 40 82 FF BC */ bne lbl_8012CDD4 -/* 8012CE1C 00129D7C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8012CE20 00129D80 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 8012CE24 00129D84 1C 00 00 18 */ mulli r0, r0, 0x18 -/* 8012CE28 00129D88 7C 64 1B 78 */ mr r4, r3 -/* 8012CE2C 00129D8C 7C 03 02 14 */ add r0, r3, r0 -/* 8012CE30 00129D90 48 00 00 08 */ b lbl_8012CE38 -lbl_8012CE34: -/* 8012CE34 00129D94 38 84 00 18 */ addi r4, r4, 0x18 -lbl_8012CE38: -/* 8012CE38 00129D98 7C 04 00 40 */ cmplw r4, r0 -/* 8012CE3C 00129D9C 40 82 FF F8 */ bne lbl_8012CE34 -/* 8012CE40 00129DA0 28 03 00 00 */ cmplwi r3, 0 -/* 8012CE44 00129DA4 41 82 00 08 */ beq lbl_8012CE4C -/* 8012CE48 00129DA8 48 1E 8A E9 */ bl Free__7CMemoryFPCv -lbl_8012CE4C: -/* 8012CE4C 00129DAC 93 BE 00 0C */ stw r29, 0xc(r30) -/* 8012CE50 00129DB0 93 FE 00 08 */ stw r31, 8(r30) -lbl_8012CE54: -/* 8012CE54 00129DB4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8012CE58 00129DB8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8012CE5C 00129DBC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8012CE60 00129DC0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8012CE64 00129DC4 7C 08 03 A6 */ mtlr r0 -/* 8012CE68 00129DC8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8012CE6C 00129DCC 4E 80 00 20 */ blr - -.global "erase__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRCQ34rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>8iterator" -"erase__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRCQ34rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>8iterator": -/* 8012CE70 00129DD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012CE74 00129DD4 7C 08 02 A6 */ mflr r0 -/* 8012CE78 00129DD8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012CE7C 00129DDC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012CE80 00129DE0 93 C1 00 08 */ stw r30, 8(r1) -/* 8012CE84 00129DE4 7C 7E 1B 78 */ mr r30, r3 -/* 8012CE88 00129DE8 80 03 00 04 */ lwz r0, 4(r3) -/* 8012CE8C 00129DEC 83 E4 00 04 */ lwz r31, 4(r4) -/* 8012CE90 00129DF0 7C 04 00 40 */ cmplw r4, r0 -/* 8012CE94 00129DF4 40 82 00 08 */ bne lbl_8012CE9C -/* 8012CE98 00129DF8 93 FE 00 04 */ stw r31, 4(r30) -lbl_8012CE9C: -/* 8012CE9C 00129DFC 80 04 00 04 */ lwz r0, 4(r4) -/* 8012CEA0 00129E00 28 04 00 00 */ cmplwi r4, 0 -/* 8012CEA4 00129E04 80 64 00 00 */ lwz r3, 0(r4) -/* 8012CEA8 00129E08 90 03 00 04 */ stw r0, 4(r3) -/* 8012CEAC 00129E0C 80 04 00 00 */ lwz r0, 0(r4) -/* 8012CEB0 00129E10 80 64 00 04 */ lwz r3, 4(r4) -/* 8012CEB4 00129E14 90 03 00 00 */ stw r0, 0(r3) -/* 8012CEB8 00129E18 41 82 00 0C */ beq lbl_8012CEC4 -/* 8012CEBC 00129E1C 7C 83 23 78 */ mr r3, r4 -/* 8012CEC0 00129E20 48 1E 8A 71 */ bl Free__7CMemoryFPCv -lbl_8012CEC4: -/* 8012CEC4 00129E24 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 8012CEC8 00129E28 7F E3 FB 78 */ mr r3, r31 -/* 8012CECC 00129E2C 38 04 FF FF */ addi r0, r4, -1 -/* 8012CED0 00129E30 90 1E 00 14 */ stw r0, 0x14(r30) -/* 8012CED4 00129E34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012CED8 00129E38 83 C1 00 08 */ lwz r30, 8(r1) -/* 8012CEDC 00129E3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012CEE0 00129E40 7C 08 03 A6 */ mtlr r0 -/* 8012CEE4 00129E44 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012CEE8 00129E48 4E 80 00 20 */ blr - -.global __sinit_CSpacePirate_cpp -__sinit_CSpacePirate_cpp: -/* 8012CEEC 00129E4C 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8012CEF0 00129E50 7C 08 02 A6 */ mflr r0 -/* 8012CEF4 00129E54 3C 60 80 3D */ lis r3, lbl_803CFF70@ha -/* 8012CEF8 00129E58 3C A0 80 47 */ lis r5, lbl_8046C570@ha -/* 8012CEFC 00129E5C 90 01 01 14 */ stw r0, 0x114(r1) -/* 8012CF00 00129E60 38 83 FF 70 */ addi r4, r3, lbl_803CFF70@l -/* 8012CF04 00129E64 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8012CF08 00129E68 93 E1 01 0C */ stw r31, 0x10c(r1) -/* 8012CF0C 00129E6C 3B E5 C5 70 */ addi r31, r5, lbl_8046C570@l -/* 8012CF10 00129E70 38 84 00 56 */ addi r4, r4, 0x56 -/* 8012CF14 00129E74 4B ED 7D A5 */ bl string_l__4rstlFPCc -/* 8012CF18 00129E78 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012CF1C 00129E7C 38 81 00 F8 */ addi r4, r1, 0xf8 -/* 8012CF20 00129E80 48 21 12 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012CF24 00129E84 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012CF28 00129E88 38 BF 00 00 */ addi r5, r31, 0 -/* 8012CF2C 00129E8C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012CF30 00129E90 48 25 C7 5D */ bl __register_global_object -/* 8012CF34 00129E94 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8012CF38 00129E98 48 21 0B A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012CF3C 00129E9C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012CF40 00129EA0 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 8012CF44 00129EA4 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012CF48 00129EA8 38 84 00 5D */ addi r4, r4, 0x5d -/* 8012CF4C 00129EAC 4B ED 7D 6D */ bl string_l__4rstlFPCc -/* 8012CF50 00129EB0 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012CF54 00129EB4 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 8012CF58 00129EB8 38 63 00 10 */ addi r3, r3, 0x10 -/* 8012CF5C 00129EBC 48 21 12 05 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012CF60 00129EC0 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012CF64 00129EC4 38 BF 00 0C */ addi r5, r31, 0xc -/* 8012CF68 00129EC8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012CF6C 00129ECC 48 25 C7 21 */ bl __register_global_object -/* 8012CF70 00129ED0 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 8012CF74 00129ED4 48 21 0B 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012CF78 00129ED8 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012CF7C 00129EDC 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8012CF80 00129EE0 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012CF84 00129EE4 38 84 00 64 */ addi r4, r4, 0x64 -/* 8012CF88 00129EE8 4B ED 7D 31 */ bl string_l__4rstlFPCc -/* 8012CF8C 00129EEC 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012CF90 00129EF0 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8012CF94 00129EF4 38 63 00 20 */ addi r3, r3, 0x20 -/* 8012CF98 00129EF8 48 21 11 C9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012CF9C 00129EFC 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012CFA0 00129F00 38 BF 00 18 */ addi r5, r31, 0x18 -/* 8012CFA4 00129F04 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012CFA8 00129F08 48 25 C6 E5 */ bl __register_global_object -/* 8012CFAC 00129F0C 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8012CFB0 00129F10 48 21 0B 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012CFB4 00129F14 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012CFB8 00129F18 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8012CFBC 00129F1C 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012CFC0 00129F20 38 84 00 2C */ addi r4, r4, 0x2c -/* 8012CFC4 00129F24 4B ED 7C F5 */ bl string_l__4rstlFPCc -/* 8012CFC8 00129F28 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012CFCC 00129F2C 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8012CFD0 00129F30 38 63 00 30 */ addi r3, r3, 0x30 -/* 8012CFD4 00129F34 48 21 11 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012CFD8 00129F38 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012CFDC 00129F3C 38 BF 00 24 */ addi r5, r31, 0x24 -/* 8012CFE0 00129F40 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012CFE4 00129F44 48 25 C6 A9 */ bl __register_global_object -/* 8012CFE8 00129F48 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8012CFEC 00129F4C 48 21 0A F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012CFF0 00129F50 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012CFF4 00129F54 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8012CFF8 00129F58 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012CFFC 00129F5C 38 84 00 34 */ addi r4, r4, 0x34 -/* 8012D000 00129F60 4B ED 7C B9 */ bl string_l__4rstlFPCc -/* 8012D004 00129F64 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D008 00129F68 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 8012D00C 00129F6C 38 63 00 40 */ addi r3, r3, 0x40 -/* 8012D010 00129F70 48 21 11 51 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D014 00129F74 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D018 00129F78 38 BF 00 30 */ addi r5, r31, 0x30 -/* 8012D01C 00129F7C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D020 00129F80 48 25 C6 6D */ bl __register_global_object -/* 8012D024 00129F84 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8012D028 00129F88 48 21 0A B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D02C 00129F8C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D030 00129F90 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8012D034 00129F94 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D038 00129F98 38 84 00 6F */ addi r4, r4, 0x6f -/* 8012D03C 00129F9C 4B ED 7C 7D */ bl string_l__4rstlFPCc -/* 8012D040 00129FA0 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D044 00129FA4 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 8012D048 00129FA8 38 63 00 50 */ addi r3, r3, 0x50 -/* 8012D04C 00129FAC 48 21 11 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D050 00129FB0 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D054 00129FB4 38 BF 00 3C */ addi r5, r31, 0x3c -/* 8012D058 00129FB8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D05C 00129FBC 48 25 C6 31 */ bl __register_global_object -/* 8012D060 00129FC0 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8012D064 00129FC4 48 21 0A 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D068 00129FC8 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D06C 00129FCC 38 61 00 98 */ addi r3, r1, 0x98 -/* 8012D070 00129FD0 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D074 00129FD4 38 84 00 7A */ addi r4, r4, 0x7a -/* 8012D078 00129FD8 4B ED 7C 41 */ bl string_l__4rstlFPCc -/* 8012D07C 00129FDC 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D080 00129FE0 38 81 00 98 */ addi r4, r1, 0x98 -/* 8012D084 00129FE4 38 63 00 60 */ addi r3, r3, 0x60 -/* 8012D088 00129FE8 48 21 10 D9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D08C 00129FEC 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D090 00129FF0 38 BF 00 48 */ addi r5, r31, 0x48 -/* 8012D094 00129FF4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D098 00129FF8 48 25 C5 F5 */ bl __register_global_object -/* 8012D09C 00129FFC 38 61 00 98 */ addi r3, r1, 0x98 -/* 8012D0A0 0012A000 48 21 0A 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D0A4 0012A004 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D0A8 0012A008 38 61 00 88 */ addi r3, r1, 0x88 -/* 8012D0AC 0012A00C 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D0B0 0012A010 38 84 00 82 */ addi r4, r4, 0x82 -/* 8012D0B4 0012A014 4B ED 7C 05 */ bl string_l__4rstlFPCc -/* 8012D0B8 0012A018 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D0BC 0012A01C 38 81 00 88 */ addi r4, r1, 0x88 -/* 8012D0C0 0012A020 38 63 00 70 */ addi r3, r3, 0x70 -/* 8012D0C4 0012A024 48 21 10 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D0C8 0012A028 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D0CC 0012A02C 38 BF 00 54 */ addi r5, r31, 0x54 -/* 8012D0D0 0012A030 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D0D4 0012A034 48 25 C5 B9 */ bl __register_global_object -/* 8012D0D8 0012A038 38 61 00 88 */ addi r3, r1, 0x88 -/* 8012D0DC 0012A03C 48 21 0A 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D0E0 0012A040 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D0E4 0012A044 38 61 00 78 */ addi r3, r1, 0x78 -/* 8012D0E8 0012A048 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D0EC 0012A04C 38 84 00 8A */ addi r4, r4, 0x8a -/* 8012D0F0 0012A050 4B ED 7B C9 */ bl string_l__4rstlFPCc -/* 8012D0F4 0012A054 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D0F8 0012A058 38 81 00 78 */ addi r4, r1, 0x78 -/* 8012D0FC 0012A05C 38 63 00 80 */ addi r3, r3, 0x80 -/* 8012D100 0012A060 48 21 10 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D104 0012A064 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D108 0012A068 38 BF 00 60 */ addi r5, r31, 0x60 -/* 8012D10C 0012A06C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D110 0012A070 48 25 C5 7D */ bl __register_global_object -/* 8012D114 0012A074 38 61 00 78 */ addi r3, r1, 0x78 -/* 8012D118 0012A078 48 21 09 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D11C 0012A07C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D120 0012A080 38 61 00 68 */ addi r3, r1, 0x68 -/* 8012D124 0012A084 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D128 0012A088 38 84 00 90 */ addi r4, r4, 0x90 -/* 8012D12C 0012A08C 4B ED 7B 8D */ bl string_l__4rstlFPCc -/* 8012D130 0012A090 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D134 0012A094 38 81 00 68 */ addi r4, r1, 0x68 -/* 8012D138 0012A098 38 63 00 90 */ addi r3, r3, 0x90 -/* 8012D13C 0012A09C 48 21 10 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D140 0012A0A0 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D144 0012A0A4 38 BF 00 6C */ addi r5, r31, 0x6c -/* 8012D148 0012A0A8 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D14C 0012A0AC 48 25 C5 41 */ bl __register_global_object -/* 8012D150 0012A0B0 38 61 00 68 */ addi r3, r1, 0x68 -/* 8012D154 0012A0B4 48 21 09 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D158 0012A0B8 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D15C 0012A0BC 38 61 00 58 */ addi r3, r1, 0x58 -/* 8012D160 0012A0C0 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D164 0012A0C4 38 84 00 97 */ addi r4, r4, 0x97 -/* 8012D168 0012A0C8 4B ED 7B 51 */ bl string_l__4rstlFPCc -/* 8012D16C 0012A0CC 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D170 0012A0D0 38 81 00 58 */ addi r4, r1, 0x58 -/* 8012D174 0012A0D4 38 63 00 A0 */ addi r3, r3, 0xa0 -/* 8012D178 0012A0D8 48 21 0F E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D17C 0012A0DC 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D180 0012A0E0 38 BF 00 78 */ addi r5, r31, 0x78 -/* 8012D184 0012A0E4 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D188 0012A0E8 48 25 C5 05 */ bl __register_global_object -/* 8012D18C 0012A0EC 38 61 00 58 */ addi r3, r1, 0x58 -/* 8012D190 0012A0F0 48 21 09 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D194 0012A0F4 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D198 0012A0F8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8012D19C 0012A0FC 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D1A0 0012A100 38 84 00 9F */ addi r4, r4, 0x9f -/* 8012D1A4 0012A104 4B ED 7B 15 */ bl string_l__4rstlFPCc -/* 8012D1A8 0012A108 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D1AC 0012A10C 38 81 00 48 */ addi r4, r1, 0x48 -/* 8012D1B0 0012A110 38 63 00 B0 */ addi r3, r3, 0xb0 -/* 8012D1B4 0012A114 48 21 0F AD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D1B8 0012A118 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D1BC 0012A11C 38 BF 00 84 */ addi r5, r31, 0x84 -/* 8012D1C0 0012A120 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D1C4 0012A124 48 25 C4 C9 */ bl __register_global_object -/* 8012D1C8 0012A128 38 61 00 48 */ addi r3, r1, 0x48 -/* 8012D1CC 0012A12C 48 21 09 15 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D1D0 0012A130 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D1D4 0012A134 38 61 00 38 */ addi r3, r1, 0x38 -/* 8012D1D8 0012A138 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D1DC 0012A13C 38 84 00 A5 */ addi r4, r4, 0xa5 -/* 8012D1E0 0012A140 4B ED 7A D9 */ bl string_l__4rstlFPCc -/* 8012D1E4 0012A144 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D1E8 0012A148 38 81 00 38 */ addi r4, r1, 0x38 -/* 8012D1EC 0012A14C 38 63 00 C0 */ addi r3, r3, 0xc0 -/* 8012D1F0 0012A150 48 21 0F 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D1F4 0012A154 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D1F8 0012A158 38 BF 00 90 */ addi r5, r31, 0x90 -/* 8012D1FC 0012A15C 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D200 0012A160 48 25 C4 8D */ bl __register_global_object -/* 8012D204 0012A164 38 61 00 38 */ addi r3, r1, 0x38 -/* 8012D208 0012A168 48 21 08 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D20C 0012A16C 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D210 0012A170 38 61 00 28 */ addi r3, r1, 0x28 -/* 8012D214 0012A174 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D218 0012A178 38 84 00 AC */ addi r4, r4, 0xac -/* 8012D21C 0012A17C 4B ED 7A 9D */ bl string_l__4rstlFPCc -/* 8012D220 0012A180 38 7F 00 A8 */ addi r3, r31, 0xa8 -/* 8012D224 0012A184 38 81 00 28 */ addi r4, r1, 0x28 -/* 8012D228 0012A188 38 63 00 D0 */ addi r3, r3, 0xd0 -/* 8012D22C 0012A18C 48 21 0F 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D230 0012A190 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D234 0012A194 38 BF 00 9C */ addi r5, r31, 0x9c -/* 8012D238 0012A198 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D23C 0012A19C 48 25 C4 51 */ bl __register_global_object -/* 8012D240 0012A1A0 38 61 00 28 */ addi r3, r1, 0x28 -/* 8012D244 0012A1A4 48 21 08 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D248 0012A1A8 3C 60 80 57 */ lis r3, lbl_8056F85C@ha -/* 8012D24C 0012A1AC 3C 80 80 05 */ lis r4, sub_80050534@ha -/* 8012D250 0012A1B0 38 63 F8 5C */ addi r3, r3, lbl_8056F85C@l -/* 8012D254 0012A1B4 38 00 00 00 */ li r0, 0 -/* 8012D258 0012A1B8 38 C3 00 0C */ addi r6, r3, 0xc -/* 8012D25C 0012A1BC 90 03 00 14 */ stw r0, 0x14(r3) -/* 8012D260 0012A1C0 38 84 05 34 */ addi r4, r4, sub_80050534@l -/* 8012D264 0012A1C4 38 BF 01 88 */ addi r5, r31, 0x188 -/* 8012D268 0012A1C8 90 C3 00 04 */ stw r6, 4(r3) -/* 8012D26C 0012A1CC 90 C3 00 08 */ stw r6, 8(r3) -/* 8012D270 0012A1D0 90 C6 00 00 */ stw r6, 0(r6) -/* 8012D274 0012A1D4 90 C3 00 10 */ stw r6, 0x10(r3) -/* 8012D278 0012A1D8 48 25 C4 15 */ bl __register_global_object -/* 8012D27C 0012A1DC 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D280 0012A1E0 38 61 00 18 */ addi r3, r1, 0x18 -/* 8012D284 0012A1E4 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D288 0012A1E8 38 84 00 B4 */ addi r4, r4, 0xb4 -/* 8012D28C 0012A1EC 4B ED 7A 2D */ bl string_l__4rstlFPCc -/* 8012D290 0012A1F0 3C 60 80 57 */ lis r3, lbl_8056F894@ha -/* 8012D294 0012A1F4 38 81 00 18 */ addi r4, r1, 0x18 -/* 8012D298 0012A1F8 38 63 F8 94 */ addi r3, r3, lbl_8056F894@l -/* 8012D29C 0012A1FC 48 21 0E C5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D2A0 0012A200 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D2A4 0012A204 38 BF 01 94 */ addi r5, r31, 0x194 -/* 8012D2A8 0012A208 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D2AC 0012A20C 48 25 C3 E1 */ bl __register_global_object -/* 8012D2B0 0012A210 38 61 00 18 */ addi r3, r1, 0x18 -/* 8012D2B4 0012A214 48 21 08 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D2B8 0012A218 3C 80 80 3D */ lis r4, lbl_803CFF70@ha -/* 8012D2BC 0012A21C 38 61 00 08 */ addi r3, r1, 8 -/* 8012D2C0 0012A220 38 84 FF 70 */ addi r4, r4, lbl_803CFF70@l -/* 8012D2C4 0012A224 38 84 00 BB */ addi r4, r4, 0xbb -/* 8012D2C8 0012A228 4B ED 79 F1 */ bl string_l__4rstlFPCc -/* 8012D2CC 0012A22C 3C 60 80 57 */ lis r3, lbl_8056F8A4@ha -/* 8012D2D0 0012A230 38 81 00 08 */ addi r4, r1, 8 -/* 8012D2D4 0012A234 38 63 F8 A4 */ addi r3, r3, lbl_8056F8A4@l -/* 8012D2D8 0012A238 48 21 0E 89 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8012D2DC 0012A23C 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8012D2E0 0012A240 38 BF 01 A0 */ addi r5, r31, 0x1a0 -/* 8012D2E4 0012A244 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 8012D2E8 0012A248 48 25 C3 A5 */ bl __register_global_object -/* 8012D2EC 0012A24C 38 61 00 08 */ addi r3, r1, 8 -/* 8012D2F0 0012A250 48 21 07 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8012D2F4 0012A254 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8012D2F8 0012A258 83 E1 01 0C */ lwz r31, 0x10c(r1) -/* 8012D2FC 0012A25C 7C 08 03 A6 */ mtlr r0 -/* 8012D300 0012A260 38 21 01 10 */ addi r1, r1, 0x110 -/* 8012D304 0012A264 4E 80 00 20 */ blr - -.global __dt__17CScriptCoverPointFv -__dt__17CScriptCoverPointFv: -/* 8012D308 0012A268 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012D30C 0012A26C 7C 08 02 A6 */ mflr r0 -/* 8012D310 0012A270 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012D314 0012A274 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012D318 0012A278 7C 9F 23 78 */ mr r31, r4 -/* 8012D31C 0012A27C 93 C1 00 08 */ stw r30, 8(r1) -/* 8012D320 0012A280 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8012D324 0012A284 41 82 00 3C */ beq lbl_8012D360 -/* 8012D328 0012A288 3C 60 80 3E */ lis r3, lbl_803E0BF8@ha -/* 8012D32C 0012A28C 34 1E 01 00 */ addic. r0, r30, 0x100 -/* 8012D330 0012A290 38 03 0B F8 */ addi r0, r3, lbl_803E0BF8@l -/* 8012D334 0012A294 90 1E 00 00 */ stw r0, 0(r30) -/* 8012D338 0012A298 41 82 00 0C */ beq lbl_8012D344 -/* 8012D33C 0012A29C 38 00 00 00 */ li r0, 0 -/* 8012D340 0012A2A0 98 1E 01 18 */ stb r0, 0x118(r30) -lbl_8012D344: -/* 8012D344 0012A2A4 7F C3 F3 78 */ mr r3, r30 -/* 8012D348 0012A2A8 38 80 00 00 */ li r4, 0 -/* 8012D34C 0012A2AC 4B F2 83 A5 */ bl __dt__6CActorFv -/* 8012D350 0012A2B0 7F E0 07 35 */ extsh. r0, r31 -/* 8012D354 0012A2B4 40 81 00 0C */ ble lbl_8012D360 -/* 8012D358 0012A2B8 7F C3 F3 78 */ mr r3, r30 -/* 8012D35C 0012A2BC 48 1E 85 D5 */ bl Free__7CMemoryFPCv -lbl_8012D360: -/* 8012D360 0012A2C0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012D364 0012A2C4 7F C3 F3 78 */ mr r3, r30 -/* 8012D368 0012A2C8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012D36C 0012A2CC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8012D370 0012A2D0 7C 08 03 A6 */ mtlr r0 -/* 8012D374 0012A2D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012D378 0012A2D8 4E 80 00 20 */ blr - -.global GetTouchBounds__17CScriptCoverPointCFv -GetTouchBounds__17CScriptCoverPointCFv: -/* 8012D37C 0012A2DC 88 04 01 18 */ lbz r0, 0x118(r4) -/* 8012D380 0012A2E0 98 03 00 18 */ stb r0, 0x18(r3) -/* 8012D384 0012A2E4 88 04 01 18 */ lbz r0, 0x118(r4) -/* 8012D388 0012A2E8 28 00 00 00 */ cmplwi r0, 0 -/* 8012D38C 0012A2EC 4D 82 00 20 */ beqlr -/* 8012D390 0012A2F0 28 03 00 00 */ cmplwi r3, 0 -/* 8012D394 0012A2F4 4D 82 00 20 */ beqlr -/* 8012D398 0012A2F8 C0 04 01 00 */ lfs f0, 0x100(r4) -/* 8012D39C 0012A2FC D0 03 00 00 */ stfs f0, 0(r3) -/* 8012D3A0 0012A300 C0 04 01 04 */ lfs f0, 0x104(r4) -/* 8012D3A4 0012A304 D0 03 00 04 */ stfs f0, 4(r3) -/* 8012D3A8 0012A308 C0 04 01 08 */ lfs f0, 0x108(r4) -/* 8012D3AC 0012A30C D0 03 00 08 */ stfs f0, 8(r3) -/* 8012D3B0 0012A310 C0 04 01 0C */ lfs f0, 0x10c(r4) -/* 8012D3B4 0012A314 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8012D3B8 0012A318 C0 04 01 10 */ lfs f0, 0x110(r4) -/* 8012D3BC 0012A31C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8012D3C0 0012A320 C0 04 01 14 */ lfs f0, 0x114(r4) -/* 8012D3C4 0012A324 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8012D3C8 0012A328 4E 80 00 20 */ blr - -.global Render__17CScriptCoverPointCFRC13CStateManager -Render__17CScriptCoverPointCFRC13CStateManager: -/* 8012D3CC 0012A32C 4E 80 00 20 */ blr - -.global AddToRenderer__17CScriptCoverPointCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__17CScriptCoverPointCFRC14CFrustumPlanesRC13CStateManager: -/* 8012D3D0 0012A330 4E 80 00 20 */ blr - -.global Think__17CScriptCoverPointFfR13CStateManager -Think__17CScriptCoverPointFfR13CStateManager: -/* 8012D3D4 0012A334 C0 43 01 1C */ lfs f2, 0x11c(r3) -/* 8012D3D8 0012A338 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) -/* 8012D3DC 0012A33C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8012D3E0 0012A340 4C 81 00 20 */ blelr -/* 8012D3E4 0012A344 EC 02 08 28 */ fsubs f0, f2, f1 -/* 8012D3E8 0012A348 D0 03 01 1C */ stfs f0, 0x11c(r3) -/* 8012D3EC 0012A34C 4E 80 00 20 */ blr - -.global SetInUse__17CScriptCoverPointFb -SetInUse__17CScriptCoverPointFb: -/* 8012D3F0 0012A350 88 03 00 F8 */ lbz r0, 0xf8(r3) -/* 8012D3F4 0012A354 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8012D3F8 0012A358 98 03 00 F8 */ stb r0, 0xf8(r3) -/* 8012D3FC 0012A35C 88 03 00 F8 */ lbz r0, 0xf8(r3) -/* 8012D400 0012A360 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8012D404 0012A364 4C 82 00 20 */ bnelr -/* 8012D408 0012A368 C0 03 00 F4 */ lfs f0, 0xf4(r3) -/* 8012D40C 0012A36C D0 03 01 1C */ stfs f0, 0x11c(r3) -/* 8012D410 0012A370 4E 80 00 20 */ blr - -.global GetInUse__17CScriptCoverPointCF9TUniqueId -GetInUse__17CScriptCoverPointCF9TUniqueId: -/* 8012D414 0012A374 88 03 00 F8 */ lbz r0, 0xf8(r3) -/* 8012D418 0012A378 38 A0 00 00 */ li r5, 0 -/* 8012D41C 0012A37C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8012D420 0012A380 40 82 00 38 */ bne lbl_8012D458 -/* 8012D424 0012A384 C0 23 01 1C */ lfs f1, 0x11c(r3) -/* 8012D428 0012A388 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) -/* 8012D42C 0012A38C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012D430 0012A390 41 81 00 28 */ bgt lbl_8012D458 -/* 8012D434 0012A394 A0 C3 00 FA */ lhz r6, 0xfa(r3) -/* 8012D438 0012A398 A0 6D A3 8C */ lhz r3, lbl_805A8F4C@sda21(r13) -/* 8012D43C 0012A39C 7C 06 18 40 */ cmplw r6, r3 -/* 8012D440 0012A3A0 41 82 00 1C */ beq lbl_8012D45C -/* 8012D444 0012A3A4 A0 04 00 00 */ lhz r0, 0(r4) -/* 8012D448 0012A3A8 7C 00 18 40 */ cmplw r0, r3 -/* 8012D44C 0012A3AC 41 82 00 10 */ beq lbl_8012D45C -/* 8012D450 0012A3B0 7C 00 30 40 */ cmplw r0, r6 -/* 8012D454 0012A3B4 41 82 00 08 */ beq lbl_8012D45C -lbl_8012D458: -/* 8012D458 0012A3B8 38 A0 00 01 */ li r5, 1 -lbl_8012D45C: -/* 8012D45C 0012A3BC 7C A3 2B 78 */ mr r3, r5 -/* 8012D460 0012A3C0 4E 80 00 20 */ blr - -.global Blown__17CScriptCoverPointCFRC9CVector3f -Blown__17CScriptCoverPointCFRC9CVector3f: -/* 8012D464 0012A3C4 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8012D468 0012A3C8 7C 08 02 A6 */ mflr r0 -/* 8012D46C 0012A3CC 90 01 00 64 */ stw r0, 0x64(r1) -/* 8012D470 0012A3D0 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 8012D474 0012A3D4 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8012D478 0012A3D8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8012D47C 0012A3DC 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8012D480 0012A3E0 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8012D484 0012A3E4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8012D488 0012A3E8 7C 7D 1B 78 */ mr r29, r3 -/* 8012D48C 0012A3EC 7C 9E 23 78 */ mr r30, r4 -/* 8012D490 0012A3F0 3B E0 00 01 */ li r31, 1 -/* 8012D494 0012A3F4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012D498 0012A3F8 41 82 01 20 */ beq lbl_8012D5B8 -/* 8012D49C 0012A3FC 48 00 01 65 */ bl ShouldWallHang__17CScriptCoverPointCFv -/* 8012D4A0 0012A400 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012D4A4 0012A404 41 82 00 0C */ beq lbl_8012D4B0 -/* 8012D4A8 0012A408 3B E0 00 00 */ li r31, 0 -/* 8012D4AC 0012A40C 48 00 01 0C */ b lbl_8012D5B8 -lbl_8012D4B0: -/* 8012D4B0 0012A410 C0 3E 00 04 */ lfs f1, 4(r30) -/* 8012D4B4 0012A414 38 61 00 2C */ addi r3, r1, 0x2c -/* 8012D4B8 0012A418 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 8012D4BC 0012A41C C0 7E 00 08 */ lfs f3, 8(r30) -/* 8012D4C0 0012A420 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 8012D4C4 0012A424 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8012D4C8 0012A428 C0 3E 00 00 */ lfs f1, 0(r30) -/* 8012D4CC 0012A42C C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 8012D4D0 0012A430 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8012D4D4 0012A434 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8012D4D8 0012A438 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012D4DC 0012A43C D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8012D4E0 0012A440 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8012D4E4 0012A444 48 1E 73 D5 */ bl Magnitude__9CVector3fCFv -/* 8012D4E8 0012A448 C0 42 98 9C */ lfs f2, lbl_805AB5BC@sda21(r2) -/* 8012D4EC 0012A44C C0 02 98 A0 */ lfs f0, lbl_805AB5C0@sda21(r2) -/* 8012D4F0 0012A450 EC A2 08 24 */ fdivs f5, f2, f1 -/* 8012D4F4 0012A454 C0 81 00 2C */ lfs f4, 0x2c(r1) -/* 8012D4F8 0012A458 C0 61 00 30 */ lfs f3, 0x30(r1) -/* 8012D4FC 0012A45C C0 41 00 34 */ lfs f2, 0x34(r1) -/* 8012D500 0012A460 EC 84 01 72 */ fmuls f4, f4, f5 -/* 8012D504 0012A464 EC 63 01 72 */ fmuls f3, f3, f5 -/* 8012D508 0012A468 EC 42 01 72 */ fmuls f2, f2, f5 -/* 8012D50C 0012A46C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012D510 0012A470 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 8012D514 0012A474 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 8012D518 0012A478 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8012D51C 0012A47C 40 81 00 9C */ ble lbl_8012D5B8 -/* 8012D520 0012A480 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) -/* 8012D524 0012A484 38 61 00 20 */ addi r3, r1, 0x20 -/* 8012D528 0012A488 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8012D52C 0012A48C D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8012D530 0012A490 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8012D534 0012A494 48 1E 73 C5 */ bl Normalize__9CVector3fFv -/* 8012D538 0012A498 C0 5D 00 48 */ lfs f2, 0x48(r29) -/* 8012D53C 0012A49C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8012D540 0012A4A0 C0 3D 00 38 */ lfs f1, 0x38(r29) -/* 8012D544 0012A4A4 C0 7D 00 58 */ lfs f3, 0x58(r29) -/* 8012D548 0012A4A8 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) -/* 8012D54C 0012A4AC D0 21 00 08 */ stfs f1, 8(r1) -/* 8012D550 0012A4B0 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8012D554 0012A4B4 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8012D558 0012A4B8 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 8012D55C 0012A4BC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8012D560 0012A4C0 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8012D564 0012A4C4 48 1E 73 95 */ bl Normalize__9CVector3fFv -/* 8012D568 0012A4C8 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8012D56C 0012A4CC 7F A3 EB 78 */ mr r3, r29 -/* 8012D570 0012A4D0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8012D574 0012A4D4 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8012D578 0012A4D8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8012D57C 0012A4DC C0 21 00 20 */ lfs f1, 0x20(r1) -/* 8012D580 0012A4E0 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 8012D584 0012A4E4 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 8012D588 0012A4E8 EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8012D58C 0012A4EC EF E4 00 FA */ fmadds f31, f4, f3, f0 -/* 8012D590 0012A4F0 48 00 00 5D */ bl GetCosHorizontalAngle__17CScriptCoverPointCFv -/* 8012D594 0012A4F4 FC 1F 08 40 */ fcmpo cr0, f31, f1 -/* 8012D598 0012A4F8 40 81 00 20 */ ble lbl_8012D5B8 -/* 8012D59C 0012A4FC C3 E1 00 34 */ lfs f31, 0x34(r1) -/* 8012D5A0 0012A500 7F A3 EB 78 */ mr r3, r29 -/* 8012D5A4 0012A504 48 00 00 3D */ bl GetSinSqVerticalAngle__17CScriptCoverPointCFv -/* 8012D5A8 0012A508 EC 1F 07 F2 */ fmuls f0, f31, f31 -/* 8012D5AC 0012A50C FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8012D5B0 0012A510 40 80 00 08 */ bge lbl_8012D5B8 -/* 8012D5B4 0012A514 3B E0 00 00 */ li r31, 0 -lbl_8012D5B8: -/* 8012D5B8 0012A518 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 8012D5BC 0012A51C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 8012D5C0 0012A520 80 01 00 64 */ lwz r0, 0x64(r1) -/* 8012D5C4 0012A524 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 8012D5C8 0012A528 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8012D5CC 0012A52C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8012D5D0 0012A530 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8012D5D4 0012A534 7C 08 03 A6 */ mtlr r0 -/* 8012D5D8 0012A538 38 21 00 60 */ addi r1, r1, 0x60 -/* 8012D5DC 0012A53C 4E 80 00 20 */ blr - -.global GetSinSqVerticalAngle__17CScriptCoverPointCFv -GetSinSqVerticalAngle__17CScriptCoverPointCFv: -/* 8012D5E0 0012A540 C0 03 00 F0 */ lfs f0, 0xf0(r3) -/* 8012D5E4 0012A544 EC 20 00 32 */ fmuls f1, f0, f0 -/* 8012D5E8 0012A548 4E 80 00 20 */ blr - -.global GetCosHorizontalAngle__17CScriptCoverPointCFv -GetCosHorizontalAngle__17CScriptCoverPointCFv: -/* 8012D5EC 0012A54C C0 23 00 EC */ lfs f1, 0xec(r3) -/* 8012D5F0 0012A550 4E 80 00 20 */ blr - -.global ShouldLandHere__17CScriptCoverPointCFv -ShouldLandHere__17CScriptCoverPointCFv: -/* 8012D5F4 0012A554 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 8012D5F8 0012A558 54 03 DF FE */ rlwinm r3, r0, 0x1b, 0x1f, 0x1f -/* 8012D5FC 0012A55C 4E 80 00 20 */ blr - -.global ShouldWallHang__17CScriptCoverPointCFv -ShouldWallHang__17CScriptCoverPointCFv: -/* 8012D600 0012A560 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 8012D604 0012A564 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 8012D608 0012A568 4E 80 00 20 */ blr - -.global ShouldStay__17CScriptCoverPointCFv -ShouldStay__17CScriptCoverPointCFv: -/* 8012D60C 0012A56C 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 8012D610 0012A570 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f -/* 8012D614 0012A574 4E 80 00 20 */ blr - -.global ShouldCrouch__17CScriptCoverPointCFv -ShouldCrouch__17CScriptCoverPointCFv: -/* 8012D618 0012A578 88 03 00 F8 */ lbz r0, 0xf8(r3) -/* 8012D61C 0012A57C 54 03 CF FE */ rlwinm r3, r0, 0x19, 0x1f, 0x1f -/* 8012D620 0012A580 4E 80 00 20 */ blr - -.global GetAttackDirection__17CScriptCoverPointCFv -GetAttackDirection__17CScriptCoverPointCFv: -/* 8012D624 0012A584 80 63 00 E8 */ lwz r3, 0xe8(r3) -/* 8012D628 0012A588 4E 80 00 20 */ blr - -.global AcceptScriptMsg__17CScriptCoverPointF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__17CScriptCoverPointF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8012D62C 0012A58C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8012D630 0012A590 7C 08 02 A6 */ mflr r0 -/* 8012D634 0012A594 90 01 00 34 */ stw r0, 0x34(r1) -/* 8012D638 0012A598 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8012D63C 0012A59C 7C DF 33 78 */ mr r31, r6 -/* 8012D640 0012A5A0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8012D644 0012A5A4 7C 9E 23 78 */ mr r30, r4 -/* 8012D648 0012A5A8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8012D64C 0012A5AC 7C 7D 1B 78 */ mr r29, r3 -/* 8012D650 0012A5B0 A0 05 00 00 */ lhz r0, 0(r5) -/* 8012D654 0012A5B4 38 A1 00 0C */ addi r5, r1, 0xc -/* 8012D658 0012A5B8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8012D65C 0012A5BC 4B F2 5F B9 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8012D660 0012A5C0 2C 1E 00 23 */ cmpwi r30, 0x23 -/* 8012D664 0012A5C4 41 82 00 08 */ beq lbl_8012D66C -/* 8012D668 0012A5C8 48 00 00 58 */ b lbl_8012D6C0 -lbl_8012D66C: -/* 8012D66C 0012A5CC 80 9D 00 2C */ lwz r4, 0x2c(r29) -/* 8012D670 0012A5D0 48 00 00 38 */ b lbl_8012D6A8 -lbl_8012D674: -/* 8012D674 0012A5D4 80 04 00 00 */ lwz r0, 0(r4) -/* 8012D678 0012A5D8 2C 00 00 0C */ cmpwi r0, 0xc -/* 8012D67C 0012A5DC 40 82 00 28 */ bne lbl_8012D6A4 -/* 8012D680 0012A5E0 80 04 00 08 */ lwz r0, 8(r4) -/* 8012D684 0012A5E4 7F E4 FB 78 */ mr r4, r31 -/* 8012D688 0012A5E8 38 61 00 08 */ addi r3, r1, 8 -/* 8012D68C 0012A5EC 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8012D690 0012A5F0 90 01 00 10 */ stw r0, 0x10(r1) -/* 8012D694 0012A5F4 4B F1 A8 89 */ bl GetIdForScript__13CStateManagerCF9TEditorId -/* 8012D698 0012A5F8 A0 01 00 08 */ lhz r0, 8(r1) -/* 8012D69C 0012A5FC B0 1D 00 FC */ sth r0, 0xfc(r29) -/* 8012D6A0 0012A600 48 00 00 20 */ b lbl_8012D6C0 -lbl_8012D6A4: -/* 8012D6A4 0012A604 38 84 00 0C */ addi r4, r4, 0xc -lbl_8012D6A8: -/* 8012D6A8 0012A608 80 1D 00 24 */ lwz r0, 0x24(r29) -/* 8012D6AC 0012A60C 80 7D 00 2C */ lwz r3, 0x2c(r29) -/* 8012D6B0 0012A610 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8012D6B4 0012A614 7C 03 02 14 */ add r0, r3, r0 -/* 8012D6B8 0012A618 7C 04 00 40 */ cmplw r4, r0 -/* 8012D6BC 0012A61C 40 82 FF B8 */ bne lbl_8012D674 -lbl_8012D6C0: -/* 8012D6C0 0012A620 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8012D6C4 0012A624 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8012D6C8 0012A628 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8012D6CC 0012A62C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8012D6D0 0012A630 7C 08 03 A6 */ mtlr r0 -/* 8012D6D4 0012A634 38 21 00 30 */ addi r1, r1, 0x30 -/* 8012D6D8 0012A638 4E 80 00 20 */ blr - -.global Accept__17CScriptCoverPointFR8IVisitor -Accept__17CScriptCoverPointFR8IVisitor: -/* 8012D6DC 0012A63C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012D6E0 0012A640 7C 08 02 A6 */ mflr r0 -/* 8012D6E4 0012A644 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012D6E8 0012A648 7C 60 1B 78 */ mr r0, r3 -/* 8012D6EC 0012A64C 7C 83 23 78 */ mr r3, r4 -/* 8012D6F0 0012A650 81 84 00 00 */ lwz r12, 0(r4) -/* 8012D6F4 0012A654 7C 04 03 78 */ mr r4, r0 -/* 8012D6F8 0012A658 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8012D6FC 0012A65C 7D 89 03 A6 */ mtctr r12 -/* 8012D700 0012A660 4E 80 04 21 */ bctrl -/* 8012D704 0012A664 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012D708 0012A668 7C 08 03 A6 */ mtlr r0 -/* 8012D70C 0012A66C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012D710 0012A670 4E 80 00 20 */ blr - -.global "__ct__17CScriptCoverPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUibfff" -"__ct__17CScriptCoverPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUibfff": -/* 8012D714 0012A674 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 8012D718 0012A678 7C 08 02 A6 */ mflr r0 -/* 8012D71C 0012A67C 90 01 01 64 */ stw r0, 0x164(r1) -/* 8012D720 0012A680 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 8012D724 0012A684 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 8012D728 0012A688 DB C1 01 40 */ stfd f30, 0x140(r1) -/* 8012D72C 0012A68C F3 C1 01 48 */ psq_st f30, 328(r1), 0, qr0 -/* 8012D730 0012A690 DB A1 01 30 */ stfd f29, 0x130(r1) -/* 8012D734 0012A694 F3 A1 01 38 */ psq_st f29, 312(r1), 0, qr0 -/* 8012D738 0012A698 BF 01 01 10 */ stmw r24, 0x110(r1) -/* 8012D73C 0012A69C FF A0 08 90 */ fmr f29, f1 -/* 8012D740 0012A6A0 7C 7E 1B 78 */ mr r30, r3 -/* 8012D744 0012A6A4 FF C0 10 90 */ fmr f30, f2 -/* 8012D748 0012A6A8 7C 98 23 78 */ mr r24, r4 -/* 8012D74C 0012A6AC FF E0 18 90 */ fmr f31, f3 -/* 8012D750 0012A6B0 7C B9 2B 78 */ mr r25, r5 -/* 8012D754 0012A6B4 7C DA 33 78 */ mr r26, r6 -/* 8012D758 0012A6B8 7C FF 3B 78 */ mr r31, r7 -/* 8012D75C 0012A6BC 7D 1B 43 78 */ mr r27, r8 -/* 8012D760 0012A6C0 7D 3C 4B 78 */ mr r28, r9 -/* 8012D764 0012A6C4 7D 5D 53 78 */ mr r29, r10 -/* 8012D768 0012A6C8 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8012D76C 0012A6CC 4B F0 D0 39 */ bl CModelDataNull__10CModelDataFv -/* 8012D770 0012A6D0 38 61 00 50 */ addi r3, r1, 0x50 -/* 8012D774 0012A6D4 4B EE D6 C5 */ bl None__16CActorParametersFv -/* 8012D778 0012A6D8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8012D77C 0012A6DC 38 00 00 00 */ li r0, 0 -/* 8012D780 0012A6E0 80 AD 8A E8 */ lwz r5, lbl_805A76A8@sda21(r13) -/* 8012D784 0012A6E4 38 60 00 00 */ li r3, 0 -/* 8012D788 0012A6E8 B0 81 00 10 */ sth r4, 0x10(r1) -/* 8012D78C 0012A6EC 38 80 00 01 */ li r4, 1 -/* 8012D790 0012A6F0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8012D794 0012A6F4 90 01 00 18 */ stw r0, 0x18(r1) -/* 8012D798 0012A6F8 48 25 C7 5D */ bl __shl2i -/* 8012D79C 0012A6FC 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8012D7A0 0012A700 39 61 00 50 */ addi r11, r1, 0x50 -/* 8012D7A4 0012A704 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8012D7A8 0012A708 38 01 00 10 */ addi r0, r1, 0x10 -/* 8012D7AC 0012A70C 7C A3 1B 78 */ or r3, r5, r3 -/* 8012D7B0 0012A710 A1 38 00 00 */ lhz r9, 0(r24) -/* 8012D7B4 0012A714 7C C4 23 78 */ or r4, r6, r4 -/* 8012D7B8 0012A718 90 61 00 18 */ stw r3, 0x18(r1) -/* 8012D7BC 0012A71C 7F C3 F3 78 */ mr r3, r30 -/* 8012D7C0 0012A720 7F 65 DB 78 */ mr r5, r27 -/* 8012D7C4 0012A724 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8012D7C8 0012A728 7F 26 CB 78 */ mr r6, r25 -/* 8012D7CC 0012A72C 7F 47 D3 78 */ mr r7, r26 -/* 8012D7D0 0012A730 7F E8 FB 78 */ mr r8, r31 -/* 8012D7D4 0012A734 B1 21 00 14 */ sth r9, 0x14(r1) -/* 8012D7D8 0012A738 38 81 00 14 */ addi r4, r1, 0x14 -/* 8012D7DC 0012A73C 39 21 00 B8 */ addi r9, r1, 0xb8 -/* 8012D7E0 0012A740 39 41 00 18 */ addi r10, r1, 0x18 -/* 8012D7E4 0012A744 91 61 00 08 */ stw r11, 8(r1) -/* 8012D7E8 0012A748 90 01 00 0C */ stw r0, 0xc(r1) -/* 8012D7EC 0012A74C 4B F2 80 35 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8012D7F0 0012A750 38 61 00 50 */ addi r3, r1, 0x50 -/* 8012D7F4 0012A754 38 80 FF FF */ li r4, -1 -/* 8012D7F8 0012A758 4B FD 8E 11 */ bl __dt__16CActorParametersFv -/* 8012D7FC 0012A75C 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8012D800 0012A760 38 80 FF FF */ li r4, -1 -/* 8012D804 0012A764 4B FE 92 49 */ bl __dt__10CModelDataFv -/* 8012D808 0012A768 3C 60 80 3E */ lis r3, lbl_803E0BF8@ha -/* 8012D80C 0012A76C C0 02 98 A4 */ lfs f0, lbl_805AB5C4@sda21(r2) -/* 8012D810 0012A770 38 03 0B F8 */ addi r0, r3, lbl_803E0BF8@l -/* 8012D814 0012A774 90 1E 00 00 */ stw r0, 0(r30) -/* 8012D818 0012A778 EC 20 07 72 */ fmuls f1, f0, f29 -/* 8012D81C 0012A77C 93 9E 00 E8 */ stw r28, 0xe8(r30) -/* 8012D820 0012A780 48 26 6B D1 */ bl cos -/* 8012D824 0012A784 FC 40 08 18 */ frsp f2, f1 -/* 8012D828 0012A788 C0 02 98 A4 */ lfs f0, lbl_805AB5C4@sda21(r2) -/* 8012D82C 0012A78C EC 20 07 B2 */ fmuls f1, f0, f30 -/* 8012D830 0012A790 D0 5E 00 EC */ stfs f2, 0xec(r30) -/* 8012D834 0012A794 48 26 72 A9 */ bl sin -/* 8012D838 0012A798 FC 00 08 18 */ frsp f0, f1 -/* 8012D83C 0012A79C 38 C0 00 00 */ li r6, 0 -/* 8012D840 0012A7A0 38 61 00 38 */ addi r3, r1, 0x38 -/* 8012D844 0012A7A4 38 81 00 2C */ addi r4, r1, 0x2c -/* 8012D848 0012A7A8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8012D84C 0012A7AC D0 1E 00 F0 */ stfs f0, 0xf0(r30) -/* 8012D850 0012A7B0 D3 FE 00 F4 */ stfs f31, 0xf4(r30) -/* 8012D854 0012A7B4 88 1E 00 F8 */ lbz r0, 0xf8(r30) -/* 8012D858 0012A7B8 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 -/* 8012D85C 0012A7BC 98 1E 00 F8 */ stb r0, 0xf8(r30) -/* 8012D860 0012A7C0 88 1E 00 F8 */ lbz r0, 0xf8(r30) -/* 8012D864 0012A7C4 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 -/* 8012D868 0012A7C8 98 1E 00 F8 */ stb r0, 0xf8(r30) -/* 8012D86C 0012A7CC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8012D870 0012A7D0 B0 1E 00 FA */ sth r0, 0xfa(r30) -/* 8012D874 0012A7D4 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8012D878 0012A7D8 B0 1E 00 FC */ sth r0, 0xfc(r30) -/* 8012D87C 0012A7DC C0 5F 00 2C */ lfs f2, 0x2c(r31) -/* 8012D880 0012A7E0 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 8012D884 0012A7E4 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8012D888 0012A7E8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8012D88C 0012A7EC D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8012D890 0012A7F0 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8012D894 0012A7F4 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8012D898 0012A7F8 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 8012D89C 0012A7FC D0 41 00 34 */ stfs f2, 0x34(r1) -/* 8012D8A0 0012A800 48 20 AC 69 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8012D8A4 0012A804 38 00 00 01 */ li r0, 1 -/* 8012D8A8 0012A808 34 7E 01 00 */ addic. r3, r30, 0x100 -/* 8012D8AC 0012A80C 98 1E 01 18 */ stb r0, 0x118(r30) -/* 8012D8B0 0012A810 41 82 00 34 */ beq lbl_8012D8E4 -/* 8012D8B4 0012A814 C0 01 00 38 */ lfs f0, 0x38(r1) -/* 8012D8B8 0012A818 D0 03 00 00 */ stfs f0, 0(r3) -/* 8012D8BC 0012A81C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8012D8C0 0012A820 D0 03 00 04 */ stfs f0, 4(r3) -/* 8012D8C4 0012A824 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 8012D8C8 0012A828 D0 03 00 08 */ stfs f0, 8(r3) -/* 8012D8CC 0012A82C C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8012D8D0 0012A830 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8012D8D4 0012A834 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 8012D8D8 0012A838 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8012D8DC 0012A83C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 8012D8E0 0012A840 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8012D8E4: -/* 8012D8E4 0012A844 C0 02 98 98 */ lfs f0, lbl_805AB5B8@sda21(r2) -/* 8012D8E8 0012A848 7F C3 F3 78 */ mr r3, r30 -/* 8012D8EC 0012A84C D0 1E 01 1C */ stfs f0, 0x11c(r30) -/* 8012D8F0 0012A850 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 8012D8F4 0012A854 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 8012D8F8 0012A858 E3 C1 01 48 */ psq_l f30, 328(r1), 0, qr0 -/* 8012D8FC 0012A85C CB C1 01 40 */ lfd f30, 0x140(r1) -/* 8012D900 0012A860 E3 A1 01 38 */ psq_l f29, 312(r1), 0, qr0 -/* 8012D904 0012A864 CB A1 01 30 */ lfd f29, 0x130(r1) -/* 8012D908 0012A868 BB 01 01 10 */ lmw r24, 0x110(r1) -/* 8012D90C 0012A86C 80 01 01 64 */ lwz r0, 0x164(r1) -/* 8012D910 0012A870 7C 08 03 A6 */ mtlr r0 -/* 8012D914 0012A874 38 21 01 60 */ addi r1, r1, 0x160 -/* 8012D918 0012A878 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CPathCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CPathCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8012D91C 0012A87C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8012D920 0012A880 7C 08 02 A6 */ mflr r0 -/* 8012D924 0012A884 90 01 00 34 */ stw r0, 0x34(r1) -/* 8012D928 0012A888 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8012D92C 0012A88C 7C DF 33 78 */ mr r31, r6 -/* 8012D930 0012A890 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8012D934 0012A894 7C 9E 23 78 */ mr r30, r4 -/* 8012D938 0012A898 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8012D93C 0012A89C 7C 7D 1B 78 */ mr r29, r3 -/* 8012D940 0012A8A0 A0 05 00 00 */ lhz r0, 0(r5) -/* 8012D944 0012A8A4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8012D948 0012A8A8 B0 01 00 10 */ sth r0, 0x10(r1) -/* 8012D94C 0012A8AC 4B F2 D9 FD */ bl AcceptScriptMsg__11CGameCameraF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8012D950 0012A8B0 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 8012D954 0012A8B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012D958 0012A8B8 41 82 00 30 */ beq lbl_8012D988 -/* 8012D95C 0012A8BC 2C 1E 00 23 */ cmpwi r30, 0x23 -/* 8012D960 0012A8C0 41 82 00 08 */ beq lbl_8012D968 -/* 8012D964 0012A8C4 48 00 00 24 */ b lbl_8012D988 -lbl_8012D968: -/* 8012D968 0012A8C8 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8012D96C 0012A8CC 7F E6 FB 78 */ mr r6, r31 -/* 8012D970 0012A8D0 38 7D 01 88 */ addi r3, r29, 0x188 -/* 8012D974 0012A8D4 38 81 00 0C */ addi r4, r1, 0xc -/* 8012D978 0012A8D8 B0 01 00 08 */ sth r0, 8(r1) -/* 8012D97C 0012A8DC 38 BD 00 20 */ addi r5, r29, 0x20 -/* 8012D980 0012A8E0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8012D984 0012A8E4 4B F2 FC 21 */ bl "Initialise__13CCameraSplineFRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>R13CStateManager" -lbl_8012D988: -/* 8012D988 0012A8E8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8012D98C 0012A8EC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8012D990 0012A8F0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8012D994 0012A8F4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8012D998 0012A8F8 7C 08 03 A6 */ mtlr r0 -/* 8012D99C 0012A8FC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8012D9A0 0012A900 4E 80 00 20 */ blr - -.global Render__11CPathCameraCFRC13CStateManager -Render__11CPathCameraCFRC13CStateManager: -/* 8012D9A4 0012A904 4E 80 00 20 */ blr - -.global Accept__11CPathCameraFR8IVisitor -Accept__11CPathCameraFR8IVisitor: -/* 8012D9A8 0012A908 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012D9AC 0012A90C 7C 08 02 A6 */ mflr r0 -/* 8012D9B0 0012A910 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012D9B4 0012A914 7C 60 1B 78 */ mr r0, r3 -/* 8012D9B8 0012A918 7C 83 23 78 */ mr r3, r4 -/* 8012D9BC 0012A91C 81 84 00 00 */ lwz r12, 0(r4) -/* 8012D9C0 0012A920 7C 04 03 78 */ mr r4, r0 -/* 8012D9C4 0012A924 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 8012D9C8 0012A928 7D 89 03 A6 */ mtctr r12 -/* 8012D9CC 0012A92C 4E 80 04 21 */ bctrl -/* 8012D9D0 0012A930 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012D9D4 0012A934 7C 08 03 A6 */ mtlr r0 -/* 8012D9D8 0012A938 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012D9DC 0012A93C 4E 80 00 20 */ blr - -.global ProcessInput__11CPathCameraFRC11CFinalInputR13CStateManager -ProcessInput__11CPathCameraFRC11CFinalInputR13CStateManager: -/* 8012D9E0 0012A940 4E 80 00 20 */ blr - -.global Think__11CPathCameraFfR13CStateManager -Think__11CPathCameraFfR13CStateManager: -/* 8012D9E4 0012A944 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 8012D9E8 0012A948 7C 08 02 A6 */ mflr r0 -/* 8012D9EC 0012A94C 90 01 01 84 */ stw r0, 0x184(r1) -/* 8012D9F0 0012A950 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 8012D9F4 0012A954 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 8012D9F8 0012A958 93 E1 01 6C */ stw r31, 0x16c(r1) -/* 8012D9FC 0012A95C 93 C1 01 68 */ stw r30, 0x168(r1) -/* 8012DA00 0012A960 93 A1 01 64 */ stw r29, 0x164(r1) -/* 8012DA04 0012A964 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8012DA08 0012A968 FF E0 08 90 */ fmr f31, f1 -/* 8012DA0C 0012A96C 7C 7F 1B 78 */ mr r31, r3 -/* 8012DA10 0012A970 7C 9D 23 78 */ mr r29, r4 -/* 8012DA14 0012A974 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012DA18 0012A978 41 82 03 00 */ beq lbl_8012DD18 -/* 8012DA1C 0012A97C A3 DF 00 08 */ lhz r30, 8(r31) -/* 8012DA20 0012A980 38 61 00 08 */ addi r3, r1, 8 -/* 8012DA24 0012A984 80 9D 08 70 */ lwz r4, 0x870(r29) -/* 8012DA28 0012A988 4B ED B8 95 */ bl GetPathCameraId__14CCameraManagerCFv -/* 8012DA2C 0012A98C A0 01 00 08 */ lhz r0, 8(r1) -/* 8012DA30 0012A990 7C 00 F0 40 */ cmplw r0, r30 -/* 8012DA34 0012A994 40 82 02 E4 */ bne lbl_8012DD18 -/* 8012DA38 0012A998 38 61 01 2C */ addi r3, r1, 0x12c -/* 8012DA3C 0012A99C 38 9F 00 34 */ addi r4, r31, 0x34 -/* 8012DA40 0012A9A0 48 1E 51 35 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8012DA44 0012A9A4 80 1F 01 90 */ lwz r0, 0x190(r31) -/* 8012DA48 0012A9A8 2C 00 00 00 */ cmpwi r0, 0 -/* 8012DA4C 0012A9AC 40 81 02 CC */ ble lbl_8012DD18 -/* 8012DA50 0012A9B0 80 7D 08 70 */ lwz r3, 0x870(r29) -/* 8012DA54 0012A9B4 80 83 00 80 */ lwz r4, 0x80(r3) -/* 8012DA58 0012A9B8 C0 04 01 D8 */ lfs f0, 0x1d8(r4) -/* 8012DA5C 0012A9BC D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8012DA60 0012A9C0 C0 04 01 DC */ lfs f0, 0x1dc(r4) -/* 8012DA64 0012A9C4 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8012DA68 0012A9C8 C0 04 01 E0 */ lfs f0, 0x1e0(r4) -/* 8012DA6C 0012A9CC D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8012DA70 0012A9D0 80 1F 01 EC */ lwz r0, 0x1ec(r31) -/* 8012DA74 0012A9D4 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b -/* 8012DA78 0012A9D8 41 82 00 30 */ beq lbl_8012DAA8 -/* 8012DA7C 0012A9DC 7F A4 EB 78 */ mr r4, r29 -/* 8012DA80 0012A9E0 4B ED B9 51 */ bl GetCameraHint__14CCameraManagerCFR13CStateManager -/* 8012DA84 0012A9E4 28 03 00 00 */ cmplwi r3, 0 -/* 8012DA88 0012A9E8 41 82 00 20 */ beq lbl_8012DAA8 -/* 8012DA8C 0012A9EC C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8012DA90 0012A9F0 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8012DA94 0012A9F4 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8012DA98 0012A9F8 D0 21 00 34 */ stfs f1, 0x34(r1) -/* 8012DA9C 0012A9FC D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8012DAA0 0012AA00 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8012DAA4 0012AA04 D0 41 00 68 */ stfs f2, 0x68(r1) -lbl_8012DAA8: -/* 8012DAA8 0012AA08 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8012DAAC 0012AA0C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8012DAB0 0012AA10 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8012DAB4 0012AA14 C0 7F 00 60 */ lfs f3, 0x60(r31) -/* 8012DAB8 0012AA18 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 8012DABC 0012AA1C EC 81 00 28 */ fsubs f4, f1, f0 -/* 8012DAC0 0012AA20 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 8012DAC4 0012AA24 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8012DAC8 0012AA28 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8012DACC 0012AA2C D0 81 00 58 */ stfs f4, 0x58(r1) -/* 8012DAD0 0012AA30 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8012DAD4 0012AA34 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 8012DAD8 0012AA38 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8012DADC 0012AA3C 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 8012DAE0 0012AA40 C0 04 01 38 */ lfs f0, 0x138(r4) -/* 8012DAE4 0012AA44 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8012DAE8 0012AA48 C0 04 01 3C */ lfs f0, 0x13c(r4) -/* 8012DAEC 0012AA4C D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8012DAF0 0012AA50 C0 04 01 40 */ lfs f0, 0x140(r4) -/* 8012DAF4 0012AA54 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8012DAF8 0012AA58 48 1E 6C 01 */ bl CanBeNormalized__9CVector3fCFv -/* 8012DAFC 0012AA5C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012DB00 0012AA60 40 82 00 D0 */ bne lbl_8012DBD0 -/* 8012DB04 0012AA64 38 61 00 54 */ addi r3, r1, 0x54 -/* 8012DB08 0012AA68 48 1E 6B F1 */ bl CanBeNormalized__9CVector3fCFv -/* 8012DB0C 0012AA6C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012DB10 0012AA70 41 82 00 C0 */ beq lbl_8012DBD0 -/* 8012DB14 0012AA74 80 1F 01 EC */ lwz r0, 0x1ec(r31) -/* 8012DB18 0012AA78 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 8012DB1C 0012AA7C 41 82 00 4C */ beq lbl_8012DB68 -/* 8012DB20 0012AA80 C0 3F 01 D4 */ lfs f1, 0x1d4(r31) -/* 8012DB24 0012AA84 38 61 00 FC */ addi r3, r1, 0xfc -/* 8012DB28 0012AA88 38 9F 01 88 */ addi r4, r31, 0x188 -/* 8012DB2C 0012AA8C 4B F2 DF 55 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf -/* 8012DB30 0012AA90 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8012DB34 0012AA94 38 81 00 FC */ addi r4, r1, 0xfc -/* 8012DB38 0012AA98 48 1E 50 09 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8012DB3C 0012AA9C 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DB40 0012AAA0 38 60 00 01 */ li r3, 1 -/* 8012DB44 0012AAA4 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8012DB48 0012AAA8 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DB4C 0012AAAC 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DB50 0012AAB0 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8012DB54 0012AAB4 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DB58 0012AAB8 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DB5C 0012AABC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8012DB60 0012AAC0 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DB64 0012AAC4 48 00 01 B4 */ b lbl_8012DD18 -lbl_8012DB68: -/* 8012DB68 0012AAC8 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8012DB6C 0012AACC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8012DB70 0012AAD0 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8012DB74 0012AAD4 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8012DB78 0012AAD8 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8012DB7C 0012AADC 38 61 00 CC */ addi r3, r1, 0xcc -/* 8012DB80 0012AAE0 38 81 00 24 */ addi r4, r1, 0x24 -/* 8012DB84 0012AAE4 38 A1 00 60 */ addi r5, r1, 0x60 -/* 8012DB88 0012AAE8 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8012DB8C 0012AAEC D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8012DB90 0012AAF0 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8012DB94 0012AAF4 48 1E 5F 7D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8012DB98 0012AAF8 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8012DB9C 0012AAFC 38 81 00 CC */ addi r4, r1, 0xcc -/* 8012DBA0 0012AB00 48 1E 4F A1 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8012DBA4 0012AB04 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DBA8 0012AB08 38 60 00 01 */ li r3, 1 -/* 8012DBAC 0012AB0C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8012DBB0 0012AB10 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DBB4 0012AB14 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DBB8 0012AB18 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8012DBBC 0012AB1C 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DBC0 0012AB20 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DBC4 0012AB24 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8012DBC8 0012AB28 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DBCC 0012AB2C 48 00 01 4C */ b lbl_8012DD18 -lbl_8012DBD0: -/* 8012DBD0 0012AB30 FC 20 F8 90 */ fmr f1, f31 -/* 8012DBD4 0012AB34 7F E4 FB 78 */ mr r4, r31 -/* 8012DBD8 0012AB38 7F A5 EB 78 */ mr r5, r29 -/* 8012DBDC 0012AB3C 38 61 00 9C */ addi r3, r1, 0x9c -/* 8012DBE0 0012AB40 48 00 02 51 */ bl MoveAlongSpline__11CPathCameraFfR13CStateManager -/* 8012DBE4 0012AB44 38 61 01 2C */ addi r3, r1, 0x12c -/* 8012DBE8 0012AB48 38 81 00 9C */ addi r4, r1, 0x9c -/* 8012DBEC 0012AB4C 48 1E 4F 55 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8012DBF0 0012AB50 C0 41 01 38 */ lfs f2, 0x138(r1) -/* 8012DBF4 0012AB54 7F E3 FB 78 */ mr r3, r31 -/* 8012DBF8 0012AB58 C0 21 01 48 */ lfs f1, 0x148(r1) -/* 8012DBFC 0012AB5C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8012DC00 0012AB60 C0 01 01 58 */ lfs f0, 0x158(r1) -/* 8012DC04 0012AB64 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8012DC08 0012AB68 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8012DC0C 0012AB6C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8012DC10 0012AB70 4B F2 52 7D */ bl SetTranslation__6CActorFRC9CVector3f -/* 8012DC14 0012AB74 80 1F 01 EC */ lwz r0, 0x1ec(r31) -/* 8012DC18 0012AB78 54 00 06 B5 */ rlwinm. r0, r0, 0, 0x1a, 0x1a -/* 8012DC1C 0012AB7C 41 82 00 10 */ beq lbl_8012DC2C -/* 8012DC20 0012AB80 7F E3 FB 78 */ mr r3, r31 -/* 8012DC24 0012AB84 7F A4 EB 78 */ mr r4, r29 -/* 8012DC28 0012AB88 48 00 01 15 */ bl ClampToClosedDoor__11CPathCameraFR13CStateManager -lbl_8012DC2C: -/* 8012DC2C 0012AB8C C0 21 00 68 */ lfs f1, 0x68(r1) -/* 8012DC30 0012AB90 38 61 00 3C */ addi r3, r1, 0x3c -/* 8012DC34 0012AB94 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 8012DC38 0012AB98 C0 61 00 64 */ lfs f3, 0x64(r1) -/* 8012DC3C 0012AB9C C0 5F 00 50 */ lfs f2, 0x50(r31) -/* 8012DC40 0012ABA0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8012DC44 0012ABA4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8012DC48 0012ABA8 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8012DC4C 0012ABAC EC 43 10 28 */ fsubs f2, f3, f2 -/* 8012DC50 0012ABB0 D0 81 00 44 */ stfs f4, 0x44(r1) -/* 8012DC54 0012ABB4 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8012DC58 0012ABB8 C0 02 98 A8 */ lfs f0, lbl_805AB5C8@sda21(r2) -/* 8012DC5C 0012ABBC D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8012DC60 0012ABC0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8012DC64 0012ABC4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8012DC68 0012ABC8 48 1E 6A 91 */ bl CanBeNormalized__9CVector3fCFv -/* 8012DC6C 0012ABCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012DC70 0012ABD0 41 82 00 68 */ beq lbl_8012DCD8 -/* 8012DC74 0012ABD4 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 8012DC78 0012ABD8 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8012DC7C 0012ABDC C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 8012DC80 0012ABE0 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8012DC84 0012ABE4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 8012DC88 0012ABE8 38 61 00 6C */ addi r3, r1, 0x6c -/* 8012DC8C 0012ABEC 38 81 00 0C */ addi r4, r1, 0xc -/* 8012DC90 0012ABF0 38 A1 00 60 */ addi r5, r1, 0x60 -/* 8012DC94 0012ABF4 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8012DC98 0012ABF8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8012DC9C 0012ABFC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8012DCA0 0012AC00 48 1E 5E 71 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8012DCA4 0012AC04 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8012DCA8 0012AC08 38 81 00 6C */ addi r4, r1, 0x6c -/* 8012DCAC 0012AC0C 48 1E 4E 95 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8012DCB0 0012AC10 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DCB4 0012AC14 38 60 00 01 */ li r3, 1 -/* 8012DCB8 0012AC18 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8012DCBC 0012AC1C 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DCC0 0012AC20 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DCC4 0012AC24 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8012DCC8 0012AC28 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DCCC 0012AC2C 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DCD0 0012AC30 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8012DCD4 0012AC34 98 1F 00 E4 */ stb r0, 0xe4(r31) -lbl_8012DCD8: -/* 8012DCD8 0012AC38 80 1F 01 EC */ lwz r0, 0x1ec(r31) -/* 8012DCDC 0012AC3C 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d -/* 8012DCE0 0012AC40 41 82 00 38 */ beq lbl_8012DD18 -/* 8012DCE4 0012AC44 38 7F 00 34 */ addi r3, r31, 0x34 -/* 8012DCE8 0012AC48 38 81 01 2C */ addi r4, r1, 0x12c -/* 8012DCEC 0012AC4C 48 1E 4E 55 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8012DCF0 0012AC50 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DCF4 0012AC54 38 60 00 01 */ li r3, 1 -/* 8012DCF8 0012AC58 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8012DCFC 0012AC5C 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DD00 0012AC60 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DD04 0012AC64 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8012DD08 0012AC68 98 1F 00 E4 */ stb r0, 0xe4(r31) -/* 8012DD0C 0012AC6C 88 1F 00 E4 */ lbz r0, 0xe4(r31) -/* 8012DD10 0012AC70 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8012DD14 0012AC74 98 1F 00 E4 */ stb r0, 0xe4(r31) -lbl_8012DD18: -/* 8012DD18 0012AC78 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 8012DD1C 0012AC7C 80 01 01 84 */ lwz r0, 0x184(r1) -/* 8012DD20 0012AC80 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 8012DD24 0012AC84 83 E1 01 6C */ lwz r31, 0x16c(r1) -/* 8012DD28 0012AC88 83 C1 01 68 */ lwz r30, 0x168(r1) -/* 8012DD2C 0012AC8C 83 A1 01 64 */ lwz r29, 0x164(r1) -/* 8012DD30 0012AC90 7C 08 03 A6 */ mtlr r0 -/* 8012DD34 0012AC94 38 21 01 80 */ addi r1, r1, 0x180 -/* 8012DD38 0012AC98 4E 80 00 20 */ blr - -.global ClampToClosedDoor__11CPathCameraFR13CStateManager -ClampToClosedDoor__11CPathCameraFR13CStateManager: -/* 8012DD3C 0012AC9C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8012DD40 0012ACA0 7C 08 02 A6 */ mflr r0 -/* 8012DD44 0012ACA4 90 01 00 74 */ stw r0, 0x74(r1) -/* 8012DD48 0012ACA8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8012DD4C 0012ACAC 7C 9F 23 78 */ mr r31, r4 -/* 8012DD50 0012ACB0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8012DD54 0012ACB4 7C 7E 1B 78 */ mr r30, r3 -/* 8012DD58 0012ACB8 7F E3 FB 78 */ mr r3, r31 -/* 8012DD5C 0012ACBC 80 A4 08 70 */ lwz r5, 0x870(r4) -/* 8012DD60 0012ACC0 38 81 00 0C */ addi r4, r1, 0xc -/* 8012DD64 0012ACC4 80 A5 00 80 */ lwz r5, 0x80(r5) -/* 8012DD68 0012ACC8 A0 05 03 DC */ lhz r0, 0x3dc(r5) -/* 8012DD6C 0012ACCC B0 01 00 08 */ sth r0, 8(r1) -/* 8012DD70 0012ACD0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8012DD74 0012ACD4 4B F1 E8 31 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8012DD78 0012ACD8 7C 64 1B 78 */ mr r4, r3 -/* 8012DD7C 0012ACDC 38 61 00 10 */ addi r3, r1, 0x10 -/* 8012DD80 0012ACE0 4B F7 C3 71 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" -/* 8012DD84 0012ACE4 80 63 00 04 */ lwz r3, 4(r3) -/* 8012DD88 0012ACE8 28 03 00 00 */ cmplwi r3, 0 -/* 8012DD8C 0012ACEC 41 82 00 8C */ beq lbl_8012DE18 -/* 8012DD90 0012ACF0 88 03 02 A8 */ lbz r0, 0x2a8(r3) -/* 8012DD94 0012ACF4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8012DD98 0012ACF8 40 82 00 80 */ bne lbl_8012DE18 -/* 8012DD9C 0012ACFC C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8012DDA0 0012AD00 7F E4 FB 78 */ mr r4, r31 -/* 8012DDA4 0012AD04 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 8012DDA8 0012AD08 38 61 00 18 */ addi r3, r1, 0x18 -/* 8012DDAC 0012AD0C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8012DDB0 0012AD10 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8012DDB4 0012AD14 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8012DDB8 0012AD18 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8012DDBC 0012AD1C 4B F5 53 81 */ bl IsBallNearDoor__11CBallCameraCFRC9CVector3fR13CStateManager -/* 8012DDC0 0012AD20 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012DDC4 0012AD24 41 82 00 54 */ beq lbl_8012DE18 -/* 8012DDC8 0012AD28 C0 5E 01 D8 */ lfs f2, 0x1d8(r30) -/* 8012DDCC 0012AD2C C0 7E 01 DC */ lfs f3, 0x1dc(r30) -/* 8012DDD0 0012AD30 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) -/* 8012DDD4 0012AD34 EC 22 18 2A */ fadds f1, f2, f3 -/* 8012DDD8 0012AD38 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8012DDDC 0012AD3C 40 81 00 08 */ ble lbl_8012DDE4 -/* 8012DDE0 0012AD40 EC 22 18 28 */ fsubs f1, f2, f3 -lbl_8012DDE4: -/* 8012DDE4 0012AD44 D0 3E 01 D4 */ stfs f1, 0x1d4(r30) -/* 8012DDE8 0012AD48 38 61 00 30 */ addi r3, r1, 0x30 -/* 8012DDEC 0012AD4C 38 9E 01 88 */ addi r4, r30, 0x188 -/* 8012DDF0 0012AD50 4B F2 DC 91 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf -/* 8012DDF4 0012AD54 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 8012DDF8 0012AD58 7F C3 F3 78 */ mr r3, r30 -/* 8012DDFC 0012AD5C C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 8012DE00 0012AD60 38 81 00 24 */ addi r4, r1, 0x24 -/* 8012DE04 0012AD64 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8012DE08 0012AD68 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8012DE0C 0012AD6C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8012DE10 0012AD70 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8012DE14 0012AD74 4B F2 50 79 */ bl SetTranslation__6CActorFRC9CVector3f -lbl_8012DE18: -/* 8012DE18 0012AD78 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8012DE1C 0012AD7C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8012DE20 0012AD80 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8012DE24 0012AD84 7C 08 03 A6 */ mtlr r0 -/* 8012DE28 0012AD88 38 21 00 70 */ addi r1, r1, 0x70 -/* 8012DE2C 0012AD8C 4E 80 00 20 */ blr - -.global MoveAlongSpline__11CPathCameraFfR13CStateManager -MoveAlongSpline__11CPathCameraFfR13CStateManager: -/* 8012DE30 0012AD90 94 21 FE C0 */ stwu r1, -0x140(r1) -/* 8012DE34 0012AD94 7C 08 02 A6 */ mflr r0 -/* 8012DE38 0012AD98 90 01 01 44 */ stw r0, 0x144(r1) -/* 8012DE3C 0012AD9C DB E1 01 30 */ stfd f31, 0x130(r1) -/* 8012DE40 0012ADA0 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 -/* 8012DE44 0012ADA4 DB C1 01 20 */ stfd f30, 0x120(r1) -/* 8012DE48 0012ADA8 F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 -/* 8012DE4C 0012ADAC DB A1 01 10 */ stfd f29, 0x110(r1) -/* 8012DE50 0012ADB0 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 -/* 8012DE54 0012ADB4 DB 81 01 00 */ stfd f28, 0x100(r1) -/* 8012DE58 0012ADB8 F3 81 01 08 */ psq_st f28, 264(r1), 0, qr0 -/* 8012DE5C 0012ADBC 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 8012DE60 0012ADC0 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 8012DE64 0012ADC4 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 8012DE68 0012ADC8 FF A0 08 90 */ fmr f29, f1 -/* 8012DE6C 0012ADCC 7C 9E 23 78 */ mr r30, r4 -/* 8012DE70 0012ADD0 7C 7D 1B 78 */ mr r29, r3 -/* 8012DE74 0012ADD4 7C BF 2B 78 */ mr r31, r5 -/* 8012DE78 0012ADD8 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8012DE7C 0012ADDC 38 9E 00 34 */ addi r4, r30, 0x34 -/* 8012DE80 0012ADE0 48 1E 4C F5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8012DE84 0012ADE4 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 8012DE88 0012ADE8 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012DE8C 0012ADEC 38 81 00 0C */ addi r4, r1, 0xc -/* 8012DE90 0012ADF0 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8012DE94 0012ADF4 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8012DE98 0012ADF8 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8012DE9C 0012ADFC D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8012DEA0 0012AE00 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8012DEA4 0012AE04 80 A1 00 28 */ lwz r5, 0x28(r1) -/* 8012DEA8 0012AE08 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8012DEAC 0012AE0C 80 C1 00 24 */ lwz r6, 0x24(r1) -/* 8012DEB0 0012AE10 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8012DEB4 0012AE14 90 C1 00 0C */ stw r6, 0xc(r1) -/* 8012DEB8 0012AE18 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8012DEBC 0012AE1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012DEC0 0012AE20 C0 3E 01 D8 */ lfs f1, 0x1d8(r30) -/* 8012DEC4 0012AE24 4B F2 D5 0D */ bl FindClosestLengthOnSpline__13CCameraSplineCFf9CVector3f -/* 8012DEC8 0012AE28 FF E0 08 90 */ fmr f31, f1 -/* 8012DECC 0012AE2C D3 FE 01 D8 */ stfs f31, 0x1d8(r30) -/* 8012DED0 0012AE30 80 1E 01 EC */ lwz r0, 0x1ec(r30) -/* 8012DED4 0012AE34 C3 DE 01 DC */ lfs f30, 0x1dc(r30) -/* 8012DED8 0012AE38 54 00 07 39 */ rlwinm. r0, r0, 0, 0x1c, 0x1c -/* 8012DEDC 0012AE3C 41 82 00 E0 */ beq lbl_8012DFBC -/* 8012DEE0 0012AE40 C3 82 98 A8 */ lfs f28, lbl_805AB5C8@sda21(r2) -/* 8012DEE4 0012AE44 38 61 00 90 */ addi r3, r1, 0x90 -/* 8012DEE8 0012AE48 38 9E 01 88 */ addi r4, r30, 0x188 -/* 8012DEEC 0012AE4C 4B F2 DB 95 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf -/* 8012DEF0 0012AE50 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8012DEF4 0012AE54 38 61 00 18 */ addi r3, r1, 0x18 -/* 8012DEF8 0012AE58 C0 01 00 BC */ lfs f0, 0xbc(r1) -/* 8012DEFC 0012AE5C C0 61 00 28 */ lfs f3, 0x28(r1) -/* 8012DF00 0012AE60 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8012DF04 0012AE64 C0 41 00 AC */ lfs f2, 0xac(r1) -/* 8012DF08 0012AE68 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8012DF0C 0012AE6C C0 01 00 9C */ lfs f0, 0x9c(r1) -/* 8012DF10 0012AE70 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8012DF14 0012AE74 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 8012DF18 0012AE78 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8012DF1C 0012AE7C C0 02 98 A8 */ lfs f0, lbl_805AB5C8@sda21(r2) -/* 8012DF20 0012AE80 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8012DF24 0012AE84 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8012DF28 0012AE88 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8012DF2C 0012AE8C 48 1E 67 CD */ bl CanBeNormalized__9CVector3fCFv -/* 8012DF30 0012AE90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012DF34 0012AE94 41 82 00 10 */ beq lbl_8012DF44 -/* 8012DF38 0012AE98 38 61 00 18 */ addi r3, r1, 0x18 -/* 8012DF3C 0012AE9C 48 1E 69 7D */ bl Magnitude__9CVector3fCFv -/* 8012DF40 0012AEA0 FF 80 08 90 */ fmr f28, f1 -lbl_8012DF44: -/* 8012DF44 0012AEA4 C0 5E 01 F0 */ lfs f2, 0x1f0(r30) -/* 8012DF48 0012AEA8 38 81 00 08 */ addi r4, r1, 8 -/* 8012DF4C 0012AEAC C0 1E 01 F4 */ lfs f0, 0x1f4(r30) -/* 8012DF50 0012AEB0 38 6D 8A FC */ addi r3, r13, lbl_805A76BC@sda21 -/* 8012DF54 0012AEB4 EC 3C 10 28 */ fsubs f1, f28, f2 -/* 8012DF58 0012AEB8 38 AD 8B 00 */ addi r5, r13, lbl_805A76C0@sda21 -/* 8012DF5C 0012AEBC EC 00 10 28 */ fsubs f0, f0, f2 -/* 8012DF60 0012AEC0 EC 01 00 24 */ fdivs f0, f1, f0 -/* 8012DF64 0012AEC4 D0 01 00 08 */ stfs f0, 8(r1) -/* 8012DF68 0012AEC8 4B ED E3 4D */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8012DF6C 0012AECC C0 43 00 00 */ lfs f2, 0(r3) -/* 8012DF70 0012AED0 C0 02 98 B0 */ lfs f0, lbl_805AB5D0@sda21(r2) -/* 8012DF74 0012AED4 C0 22 98 AC */ lfs f1, lbl_805AB5CC@sda21(r2) -/* 8012DF78 0012AED8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8012DF7C 0012AEDC EC 21 00 32 */ fmuls f1, f1, f0 -/* 8012DF80 0012AEE0 48 26 6B 5D */ bl sin -/* 8012DF84 0012AEE4 FC 20 08 18 */ frsp f1, f1 -/* 8012DF88 0012AEE8 C8 02 98 B8 */ lfd f0, lbl_805AB5D8@sda21(r2) -/* 8012DF8C 0012AEEC FC 20 0A 10 */ fabs f1, f1 -/* 8012DF90 0012AEF0 FC 40 08 18 */ frsp f2, f1 -/* 8012DF94 0012AEF4 FC 20 12 10 */ fabs f1, f2 -/* 8012DF98 0012AEF8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012DF9C 0012AEFC 40 81 00 14 */ ble lbl_8012DFB0 -/* 8012DFA0 0012AF00 C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) -/* 8012DFA4 0012AF04 C0 22 98 C4 */ lfs f1, lbl_805AB5E4@sda21(r2) -/* 8012DFA8 0012AF08 FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 8012DFAC 0012AF0C EC 41 00 32 */ fmuls f2, f1, f0 -lbl_8012DFB0: -/* 8012DFB0 0012AF10 C0 02 98 C4 */ lfs f0, lbl_805AB5E4@sda21(r2) -/* 8012DFB4 0012AF14 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8012DFB8 0012AF18 EF DE 00 32 */ fmuls f30, f30, f0 -lbl_8012DFBC: -/* 8012DFBC 0012AF1C 88 1E 01 D0 */ lbz r0, 0x1d0(r30) -/* 8012DFC0 0012AF20 28 00 00 00 */ cmplwi r0, 0 -/* 8012DFC4 0012AF24 41 82 00 74 */ beq lbl_8012E038 -/* 8012DFC8 0012AF28 EC 3F F0 2A */ fadds f1, f31, f30 -/* 8012DFCC 0012AF2C 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012DFD0 0012AF30 4B F2 E2 59 */ bl ValidateLength__13CCameraSplineCFf -/* 8012DFD4 0012AF34 FC 00 08 90 */ fmr f0, f1 -/* 8012DFD8 0012AF38 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012DFDC 0012AF3C EC 3F F0 28 */ fsubs f1, f31, f30 -/* 8012DFE0 0012AF40 FF 80 00 90 */ fmr f28, f0 -/* 8012DFE4 0012AF44 4B F2 E2 45 */ bl ValidateLength__13CCameraSplineCFf -/* 8012DFE8 0012AF48 C0 7E 01 D4 */ lfs f3, 0x1d4(r30) -/* 8012DFEC 0012AF4C C0 1E 01 CC */ lfs f0, 0x1cc(r30) -/* 8012DFF0 0012AF50 EC 43 F8 28 */ fsubs f2, f3, f31 -/* 8012DFF4 0012AF54 FC 03 F8 40 */ fcmpo cr0, f3, f31 -/* 8012DFF8 0012AF58 FC 40 12 10 */ fabs f2, f2 -/* 8012DFFC 0012AF5C FC 40 10 18 */ frsp f2, f2 -/* 8012E000 0012AF60 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8012E004 0012AF64 40 81 00 1C */ ble lbl_8012E020 -/* 8012E008 0012AF68 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8012E00C 0012AF6C 4C 40 13 82 */ cror 2, 0, 2 -/* 8012E010 0012AF70 40 82 00 50 */ bne lbl_8012E060 -/* 8012E014 0012AF74 FC 20 E0 90 */ fmr f1, f28 -/* 8012E018 0012AF78 48 00 00 48 */ b lbl_8012E060 -/* 8012E01C 0012AF7C 48 00 00 44 */ b lbl_8012E060 -lbl_8012E020: -/* 8012E020 0012AF80 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8012E024 0012AF84 4C 40 13 82 */ cror 2, 0, 2 -/* 8012E028 0012AF88 40 82 00 08 */ bne lbl_8012E030 -/* 8012E02C 0012AF8C 48 00 00 34 */ b lbl_8012E060 -lbl_8012E030: -/* 8012E030 0012AF90 FC 20 E0 90 */ fmr f1, f28 -/* 8012E034 0012AF94 48 00 00 2C */ b lbl_8012E060 -lbl_8012E038: -/* 8012E038 0012AF98 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) -/* 8012E03C 0012AF9C FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 8012E040 0012AFA0 40 81 00 14 */ ble lbl_8012E054 -/* 8012E044 0012AFA4 EC 3F F0 2A */ fadds f1, f31, f30 -/* 8012E048 0012AFA8 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012E04C 0012AFAC 4B F2 E1 DD */ bl ValidateLength__13CCameraSplineCFf -/* 8012E050 0012AFB0 48 00 00 10 */ b lbl_8012E060 -lbl_8012E054: -/* 8012E054 0012AFB4 EC 3F F0 28 */ fsubs f1, f31, f30 -/* 8012E058 0012AFB8 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012E05C 0012AFBC 4B F2 E1 CD */ bl ValidateLength__13CCameraSplineCFf -lbl_8012E060: -/* 8012E060 0012AFC0 80 1E 01 EC */ lwz r0, 0x1ec(r30) -/* 8012E064 0012AFC4 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e -/* 8012E068 0012AFC8 41 82 00 28 */ beq lbl_8012E090 -/* 8012E06C 0012AFCC D0 3E 01 D4 */ stfs f1, 0x1d4(r30) -/* 8012E070 0012AFD0 38 61 00 60 */ addi r3, r1, 0x60 -/* 8012E074 0012AFD4 38 9E 01 88 */ addi r4, r30, 0x188 -/* 8012E078 0012AFD8 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) -/* 8012E07C 0012AFDC 4B F2 DA 05 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf -/* 8012E080 0012AFE0 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8012E084 0012AFE4 38 81 00 60 */ addi r4, r1, 0x60 -/* 8012E088 0012AFE8 48 1E 4A B9 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8012E08C 0012AFEC 48 00 01 34 */ b lbl_8012E1C0 -lbl_8012E090: -/* 8012E090 0012AFF0 88 1E 01 D0 */ lbz r0, 0x1d0(r30) -/* 8012E094 0012AFF4 28 00 00 00 */ cmplwi r0, 0 -/* 8012E098 0012AFF8 41 82 00 BC */ beq lbl_8012E154 -/* 8012E09C 0012AFFC C0 5E 01 D4 */ lfs f2, 0x1d4(r30) -/* 8012E0A0 0012B000 C0 1E 01 CC */ lfs f0, 0x1cc(r30) -/* 8012E0A4 0012B004 EC 41 10 28 */ fsubs f2, f1, f2 -/* 8012E0A8 0012B008 FC 40 12 10 */ fabs f2, f2 -/* 8012E0AC 0012B00C FC 40 10 18 */ frsp f2, f2 -/* 8012E0B0 0012B010 EC 00 10 28 */ fsubs f0, f0, f2 -/* 8012E0B4 0012B014 FC 60 10 90 */ fmr f3, f2 -/* 8012E0B8 0012B018 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8012E0BC 0012B01C 40 81 00 08 */ ble lbl_8012E0C4 -/* 8012E0C0 0012B020 FC 60 00 90 */ fmr f3, f0 -lbl_8012E0C4: -/* 8012E0C4 0012B024 C0 5E 01 E4 */ lfs f2, 0x1e4(r30) -/* 8012E0C8 0012B028 C8 02 98 B8 */ lfd f0, lbl_805AB5D8@sda21(r2) -/* 8012E0CC 0012B02C EC A3 10 24 */ fdivs f5, f3, f2 -/* 8012E0D0 0012B030 FC 40 2A 10 */ fabs f2, f5 -/* 8012E0D4 0012B034 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8012E0D8 0012B038 40 81 00 14 */ ble lbl_8012E0EC -/* 8012E0DC 0012B03C C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) -/* 8012E0E0 0012B040 C0 42 98 C4 */ lfs f2, lbl_805AB5E4@sda21(r2) -/* 8012E0E4 0012B044 FC 05 00 AE */ fsel f0, f5, f2, f0 -/* 8012E0E8 0012B048 EC A2 00 32 */ fmuls f5, f2, f0 -lbl_8012E0EC: -/* 8012E0EC 0012B04C C0 7E 01 D4 */ lfs f3, 0x1d4(r30) -/* 8012E0F0 0012B050 C0 9E 01 E0 */ lfs f4, 0x1e0(r30) -/* 8012E0F4 0012B054 EC 43 08 28 */ fsubs f2, f3, f1 -/* 8012E0F8 0012B058 C0 1E 01 CC */ lfs f0, 0x1cc(r30) -/* 8012E0FC 0012B05C EC 84 07 72 */ fmuls f4, f4, f29 -/* 8012E100 0012B060 FC 03 08 40 */ fcmpo cr0, f3, f1 -/* 8012E104 0012B064 FC 20 12 10 */ fabs f1, f2 -/* 8012E108 0012B068 EC 45 01 32 */ fmuls f2, f5, f4 -/* 8012E10C 0012B06C FC 20 08 18 */ frsp f1, f1 -/* 8012E110 0012B070 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8012E114 0012B074 40 81 00 1C */ ble lbl_8012E130 -/* 8012E118 0012B078 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012E11C 0012B07C 4C 40 13 82 */ cror 2, 0, 2 -/* 8012E120 0012B080 40 82 00 20 */ bne lbl_8012E140 -/* 8012E124 0012B084 C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) -/* 8012E128 0012B088 EC 42 00 32 */ fmuls f2, f2, f0 -/* 8012E12C 0012B08C 48 00 00 14 */ b lbl_8012E140 -lbl_8012E130: -/* 8012E130 0012B090 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012E134 0012B094 40 81 00 0C */ ble lbl_8012E140 -/* 8012E138 0012B098 C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) -/* 8012E13C 0012B09C EC 42 00 32 */ fmuls f2, f2, f0 -lbl_8012E140: -/* 8012E140 0012B0A0 EC 23 10 2A */ fadds f1, f3, f2 -/* 8012E144 0012B0A4 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012E148 0012B0A8 4B F2 E0 E1 */ bl ValidateLength__13CCameraSplineCFf -/* 8012E14C 0012B0AC D0 3E 01 D4 */ stfs f1, 0x1d4(r30) -/* 8012E150 0012B0B0 48 00 00 54 */ b lbl_8012E1A4 -lbl_8012E154: -/* 8012E154 0012B0B4 C0 1E 01 D4 */ lfs f0, 0x1d4(r30) -/* 8012E158 0012B0B8 C0 5E 01 E4 */ lfs f2, 0x1e4(r30) -/* 8012E15C 0012B0BC EC 21 00 28 */ fsubs f1, f1, f0 -/* 8012E160 0012B0C0 C8 02 98 B8 */ lfd f0, lbl_805AB5D8@sda21(r2) -/* 8012E164 0012B0C4 EC 41 10 24 */ fdivs f2, f1, f2 -/* 8012E168 0012B0C8 FC 20 12 10 */ fabs f1, f2 -/* 8012E16C 0012B0CC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012E170 0012B0D0 40 81 00 14 */ ble lbl_8012E184 -/* 8012E174 0012B0D4 C0 02 98 C0 */ lfs f0, lbl_805AB5E0@sda21(r2) -/* 8012E178 0012B0D8 C0 22 98 C4 */ lfs f1, lbl_805AB5E4@sda21(r2) -/* 8012E17C 0012B0DC FC 02 00 6E */ fsel f0, f2, f1, f0 -/* 8012E180 0012B0E0 EC 41 00 32 */ fmuls f2, f1, f0 -lbl_8012E184: -/* 8012E184 0012B0E4 C0 1E 01 E0 */ lfs f0, 0x1e0(r30) -/* 8012E188 0012B0E8 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012E18C 0012B0EC C0 3E 01 D4 */ lfs f1, 0x1d4(r30) -/* 8012E190 0012B0F0 EC 00 07 72 */ fmuls f0, f0, f29 -/* 8012E194 0012B0F4 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8012E198 0012B0F8 EC 21 00 2A */ fadds f1, f1, f0 -/* 8012E19C 0012B0FC 4B F2 E0 8D */ bl ValidateLength__13CCameraSplineCFf -/* 8012E1A0 0012B100 D0 3E 01 D4 */ stfs f1, 0x1d4(r30) -lbl_8012E1A4: -/* 8012E1A4 0012B104 C0 3E 01 D4 */ lfs f1, 0x1d4(r30) -/* 8012E1A8 0012B108 38 61 00 30 */ addi r3, r1, 0x30 -/* 8012E1AC 0012B10C 38 9E 01 88 */ addi r4, r30, 0x188 -/* 8012E1B0 0012B110 4B F2 D8 D1 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf -/* 8012E1B4 0012B114 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8012E1B8 0012B118 38 81 00 30 */ addi r4, r1, 0x30 -/* 8012E1BC 0012B11C 48 1E 49 85 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_8012E1C0: -/* 8012E1C0 0012B120 7F A3 EB 78 */ mr r3, r29 -/* 8012E1C4 0012B124 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 8012E1C8 0012B128 48 1E 49 AD */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8012E1CC 0012B12C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 -/* 8012E1D0 0012B130 CB E1 01 30 */ lfd f31, 0x130(r1) -/* 8012E1D4 0012B134 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 -/* 8012E1D8 0012B138 CB C1 01 20 */ lfd f30, 0x120(r1) -/* 8012E1DC 0012B13C E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 -/* 8012E1E0 0012B140 CB A1 01 10 */ lfd f29, 0x110(r1) -/* 8012E1E4 0012B144 E3 81 01 08 */ psq_l f28, 264(r1), 0, qr0 -/* 8012E1E8 0012B148 CB 81 01 00 */ lfd f28, 0x100(r1) -/* 8012E1EC 0012B14C 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8012E1F0 0012B150 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 8012E1F4 0012B154 80 01 01 44 */ lwz r0, 0x144(r1) -/* 8012E1F8 0012B158 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 8012E1FC 0012B15C 7C 08 03 A6 */ mtlr r0 -/* 8012E200 0012B160 38 21 01 40 */ addi r1, r1, 0x140 -/* 8012E204 0012B164 4E 80 00 20 */ blr - -.global Reset__11CPathCameraFRC12CTransform4fR13CStateManager -Reset__11CPathCameraFRC12CTransform4fR13CStateManager: -/* 8012E208 0012B168 94 21 FD 40 */ stwu r1, -0x2c0(r1) -/* 8012E20C 0012B16C 7C 08 02 A6 */ mflr r0 -/* 8012E210 0012B170 90 01 02 C4 */ stw r0, 0x2c4(r1) -/* 8012E214 0012B174 DB E1 02 B0 */ stfd f31, 0x2b0(r1) -/* 8012E218 0012B178 F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 -/* 8012E21C 0012B17C DB C1 02 A0 */ stfd f30, 0x2a0(r1) -/* 8012E220 0012B180 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 -/* 8012E224 0012B184 DB A1 02 90 */ stfd f29, 0x290(r1) -/* 8012E228 0012B188 F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 -/* 8012E22C 0012B18C DB 81 02 80 */ stfd f28, 0x280(r1) -/* 8012E230 0012B190 F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 -/* 8012E234 0012B194 DB 61 02 70 */ stfd f27, 0x270(r1) -/* 8012E238 0012B198 F3 61 02 78 */ psq_st f27, 632(r1), 0, qr0 -/* 8012E23C 0012B19C DB 41 02 60 */ stfd f26, 0x260(r1) -/* 8012E240 0012B1A0 F3 41 02 68 */ psq_st f26, 616(r1), 0, qr0 -/* 8012E244 0012B1A4 DB 21 02 50 */ stfd f25, 0x250(r1) -/* 8012E248 0012B1A8 F3 21 02 58 */ psq_st f25, 600(r1), 0, qr0 -/* 8012E24C 0012B1AC DB 01 02 40 */ stfd f24, 0x240(r1) -/* 8012E250 0012B1B0 F3 01 02 48 */ psq_st f24, 584(r1), 0, qr0 -/* 8012E254 0012B1B4 DA E1 02 30 */ stfd f23, 0x230(r1) -/* 8012E258 0012B1B8 F2 E1 02 38 */ psq_st f23, 568(r1), 0, qr0 -/* 8012E25C 0012B1BC 93 E1 02 2C */ stw r31, 0x22c(r1) -/* 8012E260 0012B1C0 93 C1 02 28 */ stw r30, 0x228(r1) -/* 8012E264 0012B1C4 93 A1 02 24 */ stw r29, 0x224(r1) -/* 8012E268 0012B1C8 7C BF 2B 78 */ mr r31, r5 -/* 8012E26C 0012B1CC 80 8D A1 18 */ lwz r4, gpTweakPlayer@sda21(r13) -/* 8012E270 0012B1D0 80 A5 08 4C */ lwz r5, 0x84c(r5) -/* 8012E274 0012B1D4 7C 7E 1B 78 */ mr r30, r3 -/* 8012E278 0012B1D8 C0 04 02 7C */ lfs f0, 0x27c(r4) -/* 8012E27C 0012B1DC 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012E280 0012B1E0 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8012E284 0012B1E4 38 81 00 50 */ addi r4, r1, 0x50 -/* 8012E288 0012B1E8 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8012E28C 0012B1EC EC 02 00 2A */ fadds f0, f2, f0 -/* 8012E290 0012B1F0 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 8012E294 0012B1F4 C0 45 00 40 */ lfs f2, 0x40(r5) -/* 8012E298 0012B1F8 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 8012E29C 0012B1FC C0 22 98 A8 */ lfs f1, lbl_805AB5C8@sda21(r2) -/* 8012E2A0 0012B200 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 8012E2A4 0012B204 80 A1 00 A8 */ lwz r5, 0xa8(r1) -/* 8012E2A8 0012B208 D0 01 00 AC */ stfs f0, 0xac(r1) -/* 8012E2AC 0012B20C 80 C1 00 A4 */ lwz r6, 0xa4(r1) -/* 8012E2B0 0012B210 80 01 00 AC */ lwz r0, 0xac(r1) -/* 8012E2B4 0012B214 90 C1 00 50 */ stw r6, 0x50(r1) -/* 8012E2B8 0012B218 90 A1 00 54 */ stw r5, 0x54(r1) -/* 8012E2BC 0012B21C 90 01 00 58 */ stw r0, 0x58(r1) -/* 8012E2C0 0012B220 4B F2 D1 11 */ bl FindClosestLengthOnSpline__13CCameraSplineCFf9CVector3f -/* 8012E2C4 0012B224 FE E0 08 90 */ fmr f23, f1 -/* 8012E2C8 0012B228 C0 3E 01 DC */ lfs f1, 0x1dc(r30) -/* 8012E2CC 0012B22C C0 0D 8A F8 */ lfs f0, lbl_805A76B8@sda21(r13) -/* 8012E2D0 0012B230 EC 37 08 28 */ fsubs f1, f23, f1 -/* 8012E2D4 0012B234 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8012E2D8 0012B238 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8012E2DC 0012B23C 40 80 00 0C */ bge lbl_8012E2E8 -/* 8012E2E0 0012B240 38 61 00 10 */ addi r3, r1, 0x10 -/* 8012E2E4 0012B244 48 00 00 08 */ b lbl_8012E2EC -lbl_8012E2E8: -/* 8012E2E8 0012B248 38 6D 8A F8 */ addi r3, r13, lbl_805A76B8@sda21 -lbl_8012E2EC: -/* 8012E2EC 0012B24C C3 23 00 00 */ lfs f25, 0(r3) -/* 8012E2F0 0012B250 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 8012E2F4 0012B254 38 9E 01 88 */ addi r4, r30, 0x188 -/* 8012E2F8 0012B258 FC 20 C8 90 */ fmr f1, f25 -/* 8012E2FC 0012B25C 4B F2 D7 85 */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf -/* 8012E300 0012B260 C0 3E 01 CC */ lfs f1, 0x1cc(r30) -/* 8012E304 0012B264 C3 A1 01 E4 */ lfs f29, 0x1e4(r1) -/* 8012E308 0012B268 D0 21 00 08 */ stfs f1, 8(r1) -/* 8012E30C 0012B26C C3 C1 01 D4 */ lfs f30, 0x1d4(r1) -/* 8012E310 0012B270 C0 1E 01 DC */ lfs f0, 0x1dc(r30) -/* 8012E314 0012B274 C3 E1 01 C4 */ lfs f31, 0x1c4(r1) -/* 8012E318 0012B278 EC 17 00 2A */ fadds f0, f23, f0 -/* 8012E31C 0012B27C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012E320 0012B280 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8012E324 0012B284 40 80 00 0C */ bge lbl_8012E330 -/* 8012E328 0012B288 38 61 00 08 */ addi r3, r1, 8 -/* 8012E32C 0012B28C 48 00 00 08 */ b lbl_8012E334 -lbl_8012E330: -/* 8012E330 0012B290 38 61 00 0C */ addi r3, r1, 0xc -lbl_8012E334: -/* 8012E334 0012B294 C3 03 00 00 */ lfs f24, 0(r3) -/* 8012E338 0012B298 38 61 01 88 */ addi r3, r1, 0x188 -/* 8012E33C 0012B29C 38 9E 01 88 */ addi r4, r30, 0x188 -/* 8012E340 0012B2A0 FC 20 C0 90 */ fmr f1, f24 -/* 8012E344 0012B2A4 4B F2 D7 3D */ bl GetInterpolatedSplinePointByLength__13CCameraSplineCFf -/* 8012E348 0012B2A8 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 8012E34C 0012B2AC 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 8012E350 0012B2B0 C3 41 01 B4 */ lfs f26, 0x1b4(r1) -/* 8012E354 0012B2B4 80 84 00 80 */ lwz r4, 0x80(r4) -/* 8012E358 0012B2B8 C3 61 01 A4 */ lfs f27, 0x1a4(r1) -/* 8012E35C 0012B2BC C3 81 01 94 */ lfs f28, 0x194(r1) -/* 8012E360 0012B2C0 38 84 00 34 */ addi r4, r4, 0x34 -/* 8012E364 0012B2C4 48 1E 48 11 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8012E368 0012B2C8 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 8012E36C 0012B2CC 80 03 02 F8 */ lwz r0, 0x2f8(r3) -/* 8012E370 0012B2D0 2C 00 00 01 */ cmpwi r0, 1 -/* 8012E374 0012B2D4 41 82 00 20 */ beq lbl_8012E394 -/* 8012E378 0012B2D8 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 8012E37C 0012B2DC 7F E5 FB 78 */ mr r5, r31 -/* 8012E380 0012B2E0 38 61 01 58 */ addi r3, r1, 0x158 -/* 8012E384 0012B2E4 4B ED C5 E5 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 8012E388 0012B2E8 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 8012E38C 0012B2EC 38 81 01 58 */ addi r4, r1, 0x158 -/* 8012E390 0012B2F0 48 1E 47 B1 */ bl __as__12CTransform4fFRC12CTransform4f -lbl_8012E394: -/* 8012E394 0012B2F4 C0 41 02 14 */ lfs f2, 0x214(r1) -/* 8012E398 0012B2F8 3B A0 00 00 */ li r29, 0 -/* 8012E39C 0012B2FC C0 21 01 F4 */ lfs f1, 0x1f4(r1) -/* 8012E3A0 0012B300 C0 01 02 04 */ lfs f0, 0x204(r1) -/* 8012E3A4 0012B304 D0 21 00 98 */ stfs f1, 0x98(r1) -/* 8012E3A8 0012B308 D0 01 00 9C */ stfs f0, 0x9c(r1) -/* 8012E3AC 0012B30C D0 41 00 A0 */ stfs f2, 0xa0(r1) -/* 8012E3B0 0012B310 80 1E 01 E8 */ lwz r0, 0x1e8(r30) -/* 8012E3B4 0012B314 2C 00 00 00 */ cmpwi r0, 0 -/* 8012E3B8 0012B318 40 82 00 88 */ bne lbl_8012E440 -/* 8012E3BC 0012B31C C0 41 00 A8 */ lfs f2, 0xa8(r1) -/* 8012E3C0 0012B320 38 61 00 8C */ addi r3, r1, 0x8c -/* 8012E3C4 0012B324 C0 21 00 AC */ lfs f1, 0xac(r1) -/* 8012E3C8 0012B328 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 8012E3CC 0012B32C EC 42 F0 28 */ fsubs f2, f2, f30 -/* 8012E3D0 0012B330 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 8012E3D4 0012B334 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8012E3D8 0012B338 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8012E3DC 0012B33C D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 8012E3E0 0012B340 D0 21 00 94 */ stfs f1, 0x94(r1) -/* 8012E3E4 0012B344 48 1E 63 15 */ bl CanBeNormalized__9CVector3fCFv -/* 8012E3E8 0012B348 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012E3EC 0012B34C 41 82 00 60 */ beq lbl_8012E44C -/* 8012E3F0 0012B350 38 61 00 38 */ addi r3, r1, 0x38 -/* 8012E3F4 0012B354 38 81 00 8C */ addi r4, r1, 0x8c -/* 8012E3F8 0012B358 48 1E 64 59 */ bl AsNormalized__9CVector3fCFv -/* 8012E3FC 0012B35C C0 81 01 FC */ lfs f4, 0x1fc(r1) -/* 8012E400 0012B360 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8012E404 0012B364 C0 A1 01 EC */ lfs f5, 0x1ec(r1) -/* 8012E408 0012B368 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8012E40C 0012B36C C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8012E410 0012B370 C0 61 02 0C */ lfs f3, 0x20c(r1) -/* 8012E414 0012B374 C0 41 00 40 */ lfs f2, 0x40(r1) -/* 8012E418 0012B378 EC 25 00 7A */ fmadds f1, f5, f1, f0 -/* 8012E41C 0012B37C C0 02 98 A8 */ lfs f0, lbl_805AB5C8@sda21(r2) -/* 8012E420 0012B380 D0 A1 00 44 */ stfs f5, 0x44(r1) -/* 8012E424 0012B384 EC 23 08 BA */ fmadds f1, f3, f2, f1 -/* 8012E428 0012B388 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 8012E42C 0012B38C D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 8012E430 0012B390 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012E434 0012B394 40 81 00 18 */ ble lbl_8012E44C -/* 8012E438 0012B398 3B A0 00 01 */ li r29, 1 -/* 8012E43C 0012B39C 48 00 00 10 */ b lbl_8012E44C -lbl_8012E440: -/* 8012E440 0012B3A0 20 00 00 01 */ subfic r0, r0, 1 -/* 8012E444 0012B3A4 7C 00 00 34 */ cntlzw r0, r0 -/* 8012E448 0012B3A8 54 1D D9 7E */ srwi r29, r0, 5 -lbl_8012E44C: -/* 8012E44C 0012B3AC C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 8012E450 0012B3B0 38 61 00 80 */ addi r3, r1, 0x80 -/* 8012E454 0012B3B4 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 8012E458 0012B3B8 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 8012E45C 0012B3BC EC 5E 10 28 */ fsubs f2, f30, f2 -/* 8012E460 0012B3C0 EC 3D 08 28 */ fsubs f1, f29, f1 -/* 8012E464 0012B3C4 EC 1F 00 28 */ fsubs f0, f31, f0 -/* 8012E468 0012B3C8 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 8012E46C 0012B3CC D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8012E470 0012B3D0 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 8012E474 0012B3D4 48 1E 64 45 */ bl Magnitude__9CVector3fCFv -/* 8012E478 0012B3D8 FE E0 08 90 */ fmr f23, f1 -/* 8012E47C 0012B3DC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8012E480 0012B3E0 38 81 00 80 */ addi r4, r1, 0x80 -/* 8012E484 0012B3E4 48 1E 63 CD */ bl AsNormalized__9CVector3fCFv -/* 8012E488 0012B3E8 FC 20 B8 90 */ fmr f1, f23 -/* 8012E48C 0012B3EC 3C 60 80 47 */ lis r3, lbl_8046C720@ha -/* 8012E490 0012B3F0 38 E3 C7 20 */ addi r7, r3, lbl_8046C720@l -/* 8012E494 0012B3F4 7F E4 FB 78 */ mr r4, r31 -/* 8012E498 0012B3F8 38 61 01 28 */ addi r3, r1, 0x128 -/* 8012E49C 0012B3FC 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8012E4A0 0012B400 38 C1 00 2C */ addi r6, r1, 0x2c -/* 8012E4A4 0012B404 4B F1 EA F5 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8012E4A8 0012B408 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 8012E4AC 0012B40C 38 61 00 74 */ addi r3, r1, 0x74 -/* 8012E4B0 0012B410 C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 8012E4B4 0012B414 C0 01 00 98 */ lfs f0, 0x98(r1) -/* 8012E4B8 0012B418 EC 5B 10 28 */ fsubs f2, f27, f2 -/* 8012E4BC 0012B41C EC 3A 08 28 */ fsubs f1, f26, f1 -/* 8012E4C0 0012B420 EC 1C 00 28 */ fsubs f0, f28, f0 -/* 8012E4C4 0012B424 D0 41 00 78 */ stfs f2, 0x78(r1) -/* 8012E4C8 0012B428 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8012E4CC 0012B42C D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 8012E4D0 0012B430 48 1E 63 E9 */ bl Magnitude__9CVector3fCFv -/* 8012E4D4 0012B434 FE E0 08 90 */ fmr f23, f1 -/* 8012E4D8 0012B438 38 61 00 20 */ addi r3, r1, 0x20 -/* 8012E4DC 0012B43C 38 81 00 74 */ addi r4, r1, 0x74 -/* 8012E4E0 0012B440 48 1E 63 71 */ bl AsNormalized__9CVector3fCFv -/* 8012E4E4 0012B444 FC 20 B8 90 */ fmr f1, f23 -/* 8012E4E8 0012B448 3C 60 80 47 */ lis r3, lbl_8046C720@ha -/* 8012E4EC 0012B44C 38 E3 C7 20 */ addi r7, r3, lbl_8046C720@l -/* 8012E4F0 0012B450 7F E4 FB 78 */ mr r4, r31 -/* 8012E4F4 0012B454 38 61 00 F8 */ addi r3, r1, 0xf8 -/* 8012E4F8 0012B458 38 A1 00 98 */ addi r5, r1, 0x98 -/* 8012E4FC 0012B45C 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8012E500 0012B460 4B F1 EA 99 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8012E504 0012B464 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8012E508 0012B468 C4 43 66 A0 */ lfsu f2, skZero3f@l(r3) -/* 8012E50C 0012B46C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 8012E510 0012B470 C0 23 00 04 */ lfs f1, 4(r3) -/* 8012E514 0012B474 C0 03 00 08 */ lfs f0, 8(r3) -/* 8012E518 0012B478 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 8012E51C 0012B47C D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 8012E520 0012B480 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8012E524 0012B484 41 82 00 18 */ beq lbl_8012E53C -/* 8012E528 0012B488 D3 3E 01 D4 */ stfs f25, 0x1d4(r30) -/* 8012E52C 0012B48C D3 E1 00 68 */ stfs f31, 0x68(r1) -/* 8012E530 0012B490 D3 C1 00 6C */ stfs f30, 0x6c(r1) -/* 8012E534 0012B494 D3 A1 00 70 */ stfs f29, 0x70(r1) -/* 8012E538 0012B498 48 00 00 14 */ b lbl_8012E54C -lbl_8012E53C: -/* 8012E53C 0012B49C D3 1E 01 D4 */ stfs f24, 0x1d4(r30) -/* 8012E540 0012B4A0 D3 81 00 68 */ stfs f28, 0x68(r1) -/* 8012E544 0012B4A4 D3 61 00 6C */ stfs f27, 0x6c(r1) -/* 8012E548 0012B4A8 D3 41 00 70 */ stfs f26, 0x70(r1) -lbl_8012E54C: -/* 8012E54C 0012B4AC 80 1E 01 E8 */ lwz r0, 0x1e8(r30) -/* 8012E550 0012B4B0 2C 00 00 03 */ cmpwi r0, 3 -/* 8012E554 0012B4B4 40 82 00 84 */ bne lbl_8012E5D8 -/* 8012E558 0012B4B8 3C 60 80 47 */ lis r3, lbl_8046C720@ha -/* 8012E55C 0012B4BC 81 21 00 A4 */ lwz r9, 0xa4(r1) -/* 8012E560 0012B4C0 38 83 C7 20 */ addi r4, r3, lbl_8046C720@l -/* 8012E564 0012B4C4 81 01 00 A8 */ lwz r8, 0xa8(r1) -/* 8012E568 0012B4C8 C8 44 00 00 */ lfd f2, 0(r4) -/* 8012E56C 0012B4CC 7F E7 FB 78 */ mr r7, r31 -/* 8012E570 0012B4D0 C8 24 00 08 */ lfd f1, 8(r4) -/* 8012E574 0012B4D4 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012E578 0012B4D8 C8 04 00 10 */ lfd f0, 0x10(r4) -/* 8012E57C 0012B4DC 38 81 00 14 */ addi r4, r1, 0x14 -/* 8012E580 0012B4E0 80 01 00 AC */ lwz r0, 0xac(r1) -/* 8012E584 0012B4E4 38 C1 00 B0 */ addi r6, r1, 0xb0 -/* 8012E588 0012B4E8 D8 41 00 B0 */ stfd f2, 0xb0(r1) -/* 8012E58C 0012B4EC 38 A0 00 00 */ li r5, 0 -/* 8012E590 0012B4F0 D8 21 00 B8 */ stfd f1, 0xb8(r1) -/* 8012E594 0012B4F4 D8 01 00 C0 */ stfd f0, 0xc0(r1) -/* 8012E598 0012B4F8 91 21 00 14 */ stw r9, 0x14(r1) -/* 8012E59C 0012B4FC 91 01 00 18 */ stw r8, 0x18(r1) -/* 8012E5A0 0012B500 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8012E5A4 0012B504 4B F2 E0 51 */ bl ClampLength__13CCameraSplineCFRC9CVector3fbRC15CMaterialFilterRC13CStateManager -/* 8012E5A8 0012B508 FC 01 C8 40 */ fcmpo cr0, f1, f25 -/* 8012E5AC 0012B50C 4C 40 13 82 */ cror 2, 0, 2 -/* 8012E5B0 0012B510 40 82 00 18 */ bne lbl_8012E5C8 -/* 8012E5B4 0012B514 D3 3E 01 D4 */ stfs f25, 0x1d4(r30) -/* 8012E5B8 0012B518 D3 E1 00 68 */ stfs f31, 0x68(r1) -/* 8012E5BC 0012B51C D3 C1 00 6C */ stfs f30, 0x6c(r1) -/* 8012E5C0 0012B520 D3 A1 00 70 */ stfs f29, 0x70(r1) -/* 8012E5C4 0012B524 48 00 00 14 */ b lbl_8012E5D8 -lbl_8012E5C8: -/* 8012E5C8 0012B528 D3 1E 01 D4 */ stfs f24, 0x1d4(r30) -/* 8012E5CC 0012B52C D3 81 00 68 */ stfs f28, 0x68(r1) -/* 8012E5D0 0012B530 D3 61 00 6C */ stfs f27, 0x6c(r1) -/* 8012E5D4 0012B534 D3 41 00 70 */ stfs f26, 0x70(r1) -lbl_8012E5D8: -/* 8012E5D8 0012B538 80 9F 08 70 */ lwz r4, 0x870(r31) -/* 8012E5DC 0012B53C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8012E5E0 0012B540 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8012E5E4 0012B544 38 A1 00 5C */ addi r5, r1, 0x5c -/* 8012E5E8 0012B548 80 E4 00 80 */ lwz r7, 0x80(r4) -/* 8012E5EC 0012B54C 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8012E5F0 0012B550 38 81 00 68 */ addi r4, r1, 0x68 -/* 8012E5F4 0012B554 C0 07 01 CC */ lfs f0, 0x1cc(r7) -/* 8012E5F8 0012B558 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8012E5FC 0012B55C C0 07 01 D0 */ lfs f0, 0x1d0(r7) -/* 8012E600 0012B560 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8012E604 0012B564 C0 07 01 D4 */ lfs f0, 0x1d4(r7) -/* 8012E608 0012B568 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8012E60C 0012B56C 48 1E 55 05 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8012E610 0012B570 38 7E 00 34 */ addi r3, r30, 0x34 -/* 8012E614 0012B574 38 81 00 C8 */ addi r4, r1, 0xc8 -/* 8012E618 0012B578 48 1E 45 29 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8012E61C 0012B57C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8012E620 0012B580 38 60 00 01 */ li r3, 1 -/* 8012E624 0012B584 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8012E628 0012B588 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8012E62C 0012B58C 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8012E630 0012B590 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 8012E634 0012B594 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8012E638 0012B598 88 1E 00 E4 */ lbz r0, 0xe4(r30) -/* 8012E63C 0012B59C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8012E640 0012B5A0 98 1E 00 E4 */ stb r0, 0xe4(r30) -/* 8012E644 0012B5A4 E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 -/* 8012E648 0012B5A8 CB E1 02 B0 */ lfd f31, 0x2b0(r1) -/* 8012E64C 0012B5AC E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 -/* 8012E650 0012B5B0 CB C1 02 A0 */ lfd f30, 0x2a0(r1) -/* 8012E654 0012B5B4 E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 -/* 8012E658 0012B5B8 CB A1 02 90 */ lfd f29, 0x290(r1) -/* 8012E65C 0012B5BC E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 -/* 8012E660 0012B5C0 CB 81 02 80 */ lfd f28, 0x280(r1) -/* 8012E664 0012B5C4 E3 61 02 78 */ psq_l f27, 632(r1), 0, qr0 -/* 8012E668 0012B5C8 CB 61 02 70 */ lfd f27, 0x270(r1) -/* 8012E66C 0012B5CC E3 41 02 68 */ psq_l f26, 616(r1), 0, qr0 -/* 8012E670 0012B5D0 CB 41 02 60 */ lfd f26, 0x260(r1) -/* 8012E674 0012B5D4 E3 21 02 58 */ psq_l f25, 600(r1), 0, qr0 -/* 8012E678 0012B5D8 CB 21 02 50 */ lfd f25, 0x250(r1) -/* 8012E67C 0012B5DC E3 01 02 48 */ psq_l f24, 584(r1), 0, qr0 -/* 8012E680 0012B5E0 CB 01 02 40 */ lfd f24, 0x240(r1) -/* 8012E684 0012B5E4 E2 E1 02 38 */ psq_l f23, 568(r1), 0, qr0 -/* 8012E688 0012B5E8 CA E1 02 30 */ lfd f23, 0x230(r1) -/* 8012E68C 0012B5EC 83 E1 02 2C */ lwz r31, 0x22c(r1) -/* 8012E690 0012B5F0 83 C1 02 28 */ lwz r30, 0x228(r1) -/* 8012E694 0012B5F4 80 01 02 C4 */ lwz r0, 0x2c4(r1) -/* 8012E698 0012B5F8 83 A1 02 24 */ lwz r29, 0x224(r1) -/* 8012E69C 0012B5FC 7C 08 03 A6 */ mtlr r0 -/* 8012E6A0 0012B600 38 21 02 C0 */ addi r1, r1, 0x2c0 -/* 8012E6A4 0012B604 4E 80 00 20 */ blr - -.global __dt__11CPathCameraFv -__dt__11CPathCameraFv: -/* 8012E6A8 0012B608 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012E6AC 0012B60C 7C 08 02 A6 */ mflr r0 -/* 8012E6B0 0012B610 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012E6B4 0012B614 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012E6B8 0012B618 7C 9F 23 78 */ mr r31, r4 -/* 8012E6BC 0012B61C 93 C1 00 08 */ stw r30, 8(r1) -/* 8012E6C0 0012B620 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8012E6C4 0012B624 41 82 00 38 */ beq lbl_8012E6FC -/* 8012E6C8 0012B628 3C 80 80 3E */ lis r4, lbl_803E0C68@ha -/* 8012E6CC 0012B62C 38 7E 01 88 */ addi r3, r30, 0x188 -/* 8012E6D0 0012B630 38 04 0C 68 */ addi r0, r4, lbl_803E0C68@l -/* 8012E6D4 0012B634 38 80 FF FF */ li r4, -1 -/* 8012E6D8 0012B638 90 1E 00 00 */ stw r0, 0(r30) -/* 8012E6DC 0012B63C 4B F2 EF 0D */ bl __dt__13CCameraSplineFv -/* 8012E6E0 0012B640 7F C3 F3 78 */ mr r3, r30 -/* 8012E6E4 0012B644 38 80 00 00 */ li r4, 0 -/* 8012E6E8 0012B648 4B F2 F3 75 */ bl __dt__11CGameCameraFv -/* 8012E6EC 0012B64C 7F E0 07 35 */ extsh. r0, r31 -/* 8012E6F0 0012B650 40 81 00 0C */ ble lbl_8012E6FC -/* 8012E6F4 0012B654 7F C3 F3 78 */ mr r3, r30 -/* 8012E6F8 0012B658 48 1E 72 39 */ bl Free__7CMemoryFPCv -lbl_8012E6FC: -/* 8012E6FC 0012B65C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012E700 0012B660 7F C3 F3 78 */ mr r3, r30 -/* 8012E704 0012B664 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012E708 0012B668 83 C1 00 08 */ lwz r30, 8(r1) -/* 8012E70C 0012B66C 7C 08 03 A6 */ mtlr r0 -/* 8012E710 0012B670 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012E714 0012B674 4E 80 00 20 */ blr - -.global "__ct__11CPathCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbbbbbfffffffQ211CPathCamera22EInitialSplinePosition" -"__ct__11CPathCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbbbbbfffffffQ211CPathCamera22EInitialSplinePosition": -/* 8012E718 0012B678 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8012E71C 0012B67C 7C 08 02 A6 */ mflr r0 -/* 8012E720 0012B680 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8012E724 0012B684 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8012E728 0012B688 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8012E72C 0012B68C DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 8012E730 0012B690 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 8012E734 0012B694 DB A1 00 90 */ stfd f29, 0x90(r1) -/* 8012E738 0012B698 F3 A1 00 98 */ psq_st f29, 152(r1), 0, qr0 -/* 8012E73C 0012B69C DB 81 00 80 */ stfd f28, 0x80(r1) -/* 8012E740 0012B6A0 F3 81 00 88 */ psq_st f28, 136(r1), 0, qr0 -/* 8012E744 0012B6A4 DB 61 00 70 */ stfd f27, 0x70(r1) -/* 8012E748 0012B6A8 F3 61 00 78 */ psq_st f27, 120(r1), 0, qr0 -/* 8012E74C 0012B6AC DB 41 00 60 */ stfd f26, 0x60(r1) -/* 8012E750 0012B6B0 F3 41 00 68 */ psq_st f26, 104(r1), 0, qr0 -/* 8012E754 0012B6B4 DB 21 00 50 */ stfd f25, 0x50(r1) -/* 8012E758 0012B6B8 F3 21 00 58 */ psq_st f25, 88(r1), 0, qr0 -/* 8012E75C 0012B6BC DB 01 00 40 */ stfd f24, 0x40(r1) -/* 8012E760 0012B6C0 F3 01 00 48 */ psq_st f24, 72(r1), 0, qr0 -/* 8012E764 0012B6C4 BF 21 00 24 */ stmw r25, 0x24(r1) -/* 8012E768 0012B6C8 A1 6D A3 8C */ lhz r11, lbl_805A8F4C@sda21(r13) -/* 8012E76C 0012B6CC FF 00 08 90 */ fmr f24, f1 -/* 8012E770 0012B6D0 A0 04 00 00 */ lhz r0, 0(r4) -/* 8012E774 0012B6D4 FF 20 10 90 */ fmr f25, f2 -/* 8012E778 0012B6D8 FF 40 18 90 */ fmr f26, f3 -/* 8012E77C 0012B6DC B1 61 00 10 */ sth r11, 0x10(r1) -/* 8012E780 0012B6E0 FF 60 20 90 */ fmr f27, f4 -/* 8012E784 0012B6E4 FF 80 28 90 */ fmr f28, f5 -/* 8012E788 0012B6E8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8012E78C 0012B6EC 7C 79 1B 78 */ mr r25, r3 -/* 8012E790 0012B6F0 7C BA 2B 78 */ mr r26, r5 -/* 8012E794 0012B6F4 7C DB 33 78 */ mr r27, r6 -/* 8012E798 0012B6F8 7C FC 3B 78 */ mr r28, r7 -/* 8012E79C 0012B6FC 7D 1D 43 78 */ mr r29, r8 -/* 8012E7A0 0012B700 7D 3E 4B 78 */ mr r30, r9 -/* 8012E7A4 0012B704 7D 5F 53 78 */ mr r31, r10 -/* 8012E7A8 0012B708 4B ED D9 11 */ bl DefaultAspect__14CCameraManagerFv -/* 8012E7AC 0012B70C FF A0 08 90 */ fmr f29, f1 -/* 8012E7B0 0012B710 4B ED D9 11 */ bl DefaultFarPlane__14CCameraManagerFv -/* 8012E7B4 0012B714 FF C0 08 90 */ fmr f30, f1 -/* 8012E7B8 0012B718 4B ED D9 11 */ bl DefaultNearPlane__14CCameraManagerFv -/* 8012E7BC 0012B71C FF E0 08 90 */ fmr f31, f1 -/* 8012E7C0 0012B720 4B ED D9 19 */ bl DefaultThirdPersonFov__14CCameraManagerFv -/* 8012E7C4 0012B724 38 00 00 00 */ li r0, 0 -/* 8012E7C8 0012B728 FC 40 F8 90 */ fmr f2, f31 -/* 8012E7CC 0012B72C FC 60 F0 90 */ fmr f3, f30 -/* 8012E7D0 0012B730 90 01 00 08 */ stw r0, 8(r1) -/* 8012E7D4 0012B734 FC 80 E8 90 */ fmr f4, f29 -/* 8012E7D8 0012B738 7F 23 CB 78 */ mr r3, r25 -/* 8012E7DC 0012B73C 7F A5 EB 78 */ mr r5, r29 -/* 8012E7E0 0012B740 7F 46 D3 78 */ mr r6, r26 -/* 8012E7E4 0012B744 7F 67 DB 78 */ mr r7, r27 -/* 8012E7E8 0012B748 7F 88 E3 78 */ mr r8, r28 -/* 8012E7EC 0012B74C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8012E7F0 0012B750 39 21 00 10 */ addi r9, r1, 0x10 -/* 8012E7F4 0012B754 39 40 00 00 */ li r10, 0 -/* 8012E7F8 0012B758 4B F2 F2 C5 */ bl "__ct__11CGameCameraF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fffff9TUniqueIdbi" -/* 8012E7FC 0012B75C 3C 60 80 3E */ lis r3, lbl_803E0C68@ha -/* 8012E800 0012B760 57 C4 07 FE */ clrlwi r4, r30, 0x1f -/* 8012E804 0012B764 38 03 0C 68 */ addi r0, r3, lbl_803E0C68@l -/* 8012E808 0012B768 90 19 00 00 */ stw r0, 0(r25) -/* 8012E80C 0012B76C 38 79 01 88 */ addi r3, r25, 0x188 -/* 8012E810 0012B770 4B F2 EF 51 */ bl __ct__13CCameraSplineFb -/* 8012E814 0012B774 C0 02 98 A8 */ lfs f0, lbl_805AB5C8@sda21(r2) -/* 8012E818 0012B778 7F 23 CB 78 */ mr r3, r25 -/* 8012E81C 0012B77C D0 19 01 D4 */ stfs f0, 0x1d4(r25) -/* 8012E820 0012B780 D0 19 01 D8 */ stfs f0, 0x1d8(r25) -/* 8012E824 0012B784 D3 19 01 DC */ stfs f24, 0x1dc(r25) -/* 8012E828 0012B788 D3 39 01 E0 */ stfs f25, 0x1e0(r25) -/* 8012E82C 0012B78C D3 59 01 E4 */ stfs f26, 0x1e4(r25) -/* 8012E830 0012B790 93 F9 01 E8 */ stw r31, 0x1e8(r25) -/* 8012E834 0012B794 93 D9 01 EC */ stw r30, 0x1ec(r25) -/* 8012E838 0012B798 D3 79 01 F0 */ stfs f27, 0x1f0(r25) -/* 8012E83C 0012B79C D3 99 01 F4 */ stfs f28, 0x1f4(r25) -/* 8012E840 0012B7A0 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8012E844 0012B7A4 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8012E848 0012B7A8 E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 8012E84C 0012B7AC CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 8012E850 0012B7B0 E3 A1 00 98 */ psq_l f29, 152(r1), 0, qr0 -/* 8012E854 0012B7B4 CB A1 00 90 */ lfd f29, 0x90(r1) -/* 8012E858 0012B7B8 E3 81 00 88 */ psq_l f28, 136(r1), 0, qr0 -/* 8012E85C 0012B7BC CB 81 00 80 */ lfd f28, 0x80(r1) -/* 8012E860 0012B7C0 E3 61 00 78 */ psq_l f27, 120(r1), 0, qr0 -/* 8012E864 0012B7C4 CB 61 00 70 */ lfd f27, 0x70(r1) -/* 8012E868 0012B7C8 E3 41 00 68 */ psq_l f26, 104(r1), 0, qr0 -/* 8012E86C 0012B7CC CB 41 00 60 */ lfd f26, 0x60(r1) -/* 8012E870 0012B7D0 E3 21 00 58 */ psq_l f25, 88(r1), 0, qr0 -/* 8012E874 0012B7D4 CB 21 00 50 */ lfd f25, 0x50(r1) -/* 8012E878 0012B7D8 E3 01 00 48 */ psq_l f24, 72(r1), 0, qr0 -/* 8012E87C 0012B7DC CB 01 00 40 */ lfd f24, 0x40(r1) -/* 8012E880 0012B7E0 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 8012E884 0012B7E4 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8012E888 0012B7E8 7C 08 03 A6 */ mtlr r0 -/* 8012E88C 0012B7EC 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8012E890 0012B7F0 4E 80 00 20 */ blr - -.global __sinit_CPathCamera_cpp -__sinit_CPathCamera_cpp: -/* 8012E894 0012B7F4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8012E898 0012B7F8 7C 08 02 A6 */ mflr r0 -/* 8012E89C 0012B7FC 38 60 00 00 */ li r3, 0 -/* 8012E8A0 0012B800 38 80 00 01 */ li r4, 1 -/* 8012E8A4 0012B804 90 01 00 24 */ stw r0, 0x24(r1) -/* 8012E8A8 0012B808 80 AD 8A F0 */ lwz r5, lbl_805A76B0@sda21(r13) -/* 8012E8AC 0012B80C 48 25 B6 49 */ bl __shl2i -/* 8012E8B0 0012B810 90 8D A3 A4 */ stw r4, lbl_805A8F64@sda21(r13) -/* 8012E8B4 0012B814 38 80 00 01 */ li r4, 1 -/* 8012E8B8 0012B818 80 AD 8A F4 */ lwz r5, lbl_805A76B4@sda21(r13) -/* 8012E8BC 0012B81C 90 6D A3 A0 */ stw r3, lbl_805A8F60@sda21(r13) -/* 8012E8C0 0012B820 38 60 00 00 */ li r3, 0 -/* 8012E8C4 0012B824 48 25 B6 31 */ bl __shl2i -/* 8012E8C8 0012B828 3C A0 80 47 */ lis r5, lbl_8046C720@ha -/* 8012E8CC 0012B82C 80 0D A3 A0 */ lwz r0, lbl_805A8F60@sda21(r13) -/* 8012E8D0 0012B830 38 A5 C7 20 */ addi r5, r5, lbl_8046C720@l -/* 8012E8D4 0012B834 38 E0 00 03 */ li r7, 3 -/* 8012E8D8 0012B838 80 CD A3 A4 */ lwz r6, lbl_805A8F64@sda21(r13) -/* 8012E8DC 0012B83C 90 8D A3 AC */ stw r4, lbl_805A8F6C@sda21(r13) -/* 8012E8E0 0012B840 90 6D A3 A8 */ stw r3, lbl_805A8F68@sda21(r13) -/* 8012E8E4 0012B844 90 E1 00 18 */ stw r7, 0x18(r1) -/* 8012E8E8 0012B848 90 C5 00 04 */ stw r6, 4(r5) -/* 8012E8EC 0012B84C 90 05 00 00 */ stw r0, 0(r5) -/* 8012E8F0 0012B850 90 85 00 0C */ stw r4, 0xc(r5) -/* 8012E8F4 0012B854 90 65 00 08 */ stw r3, 8(r5) -/* 8012E8F8 0012B858 90 E5 00 10 */ stw r7, 0x10(r5) -/* 8012E8FC 0012B85C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8012E900 0012B860 7C 08 03 A6 */ mtlr r0 -/* 8012E904 0012B864 38 21 00 20 */ addi r1, r1, 0x20 -/* 8012E908 0012B868 4E 80 00 20 */ blr - -.global nullsub_209 -nullsub_209: -/* 8012E90C 0012B86C 4E 80 00 20 */ blr - -.global AddRipple__11CFluidPlaneFRC7CRippleRC12CScriptWaterR13CStateManager -AddRipple__11CFluidPlaneFRC7CRippleRC12CScriptWaterR13CStateManager: -/* 8012E910 0012B870 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012E914 0012B874 7C 08 02 A6 */ mflr r0 -/* 8012E918 0012B878 7C A3 2B 78 */ mr r3, r5 -/* 8012E91C 0012B87C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012E920 0012B880 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012E924 0012B884 7C DF 33 78 */ mr r31, r6 -/* 8012E928 0012B888 93 C1 00 08 */ stw r30, 8(r1) -/* 8012E92C 0012B88C 7C 9E 23 78 */ mr r30, r4 -/* 8012E930 0012B890 38 9E 00 08 */ addi r4, r30, 8 -/* 8012E934 0012B894 4B FD 03 7D */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f -/* 8012E938 0012B898 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012E93C 0012B89C 41 82 00 10 */ beq lbl_8012E94C -/* 8012E940 0012B8A0 80 7F 08 7C */ lwz r3, 0x87c(r31) -/* 8012E944 0012B8A4 7F C4 F3 78 */ mr r4, r30 -/* 8012E948 0012B8A8 4B FE E6 05 */ bl AddRipple__14CRippleManagerFRC7CRipple -lbl_8012E94C: -/* 8012E94C 0012B8AC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012E950 0012B8B0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012E954 0012B8B4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8012E958 0012B8B8 7C 08 03 A6 */ mtlr r0 -/* 8012E95C 0012B8BC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012E960 0012B8C0 4E 80 00 20 */ blr - -.global AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fRC9CVector3fRC12CScriptWaterR13CStateManagerRC9CVector3f -AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fRC9CVector3fRC12CScriptWaterR13CStateManagerRC9CVector3f: -/* 8012E964 0012B8C4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8012E968 0012B8C8 7C 08 02 A6 */ mflr r0 -/* 8012E96C 0012B8CC 90 01 00 84 */ stw r0, 0x84(r1) -/* 8012E970 0012B8D0 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8012E974 0012B8D4 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8012E978 0012B8D8 BF 41 00 58 */ stmw r26, 0x58(r1) -/* 8012E97C 0012B8DC FF E0 08 90 */ fmr f31, f1 -/* 8012E980 0012B8E0 7C 7A 1B 78 */ mr r26, r3 -/* 8012E984 0012B8E4 7C BC 2B 78 */ mr r28, r5 -/* 8012E988 0012B8E8 7C 9B 23 78 */ mr r27, r4 -/* 8012E98C 0012B8EC 7C DD 33 78 */ mr r29, r6 -/* 8012E990 0012B8F0 7D 1E 43 78 */ mr r30, r8 -/* 8012E994 0012B8F4 7D 3F 4B 78 */ mr r31, r9 -/* 8012E998 0012B8F8 7C E3 3B 78 */ mr r3, r7 -/* 8012E99C 0012B8FC 7F 84 E3 78 */ mr r4, r28 -/* 8012E9A0 0012B900 4B FD 03 11 */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f -/* 8012E9A4 0012B904 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012E9A8 0012B908 41 82 00 64 */ beq lbl_8012EA0C -/* 8012E9AC 0012B90C C0 5F 00 04 */ lfs f2, 4(r31) -/* 8012E9B0 0012B910 FC 20 F8 90 */ fmr f1, f31 -/* 8012E9B4 0012B914 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8012E9B8 0012B918 7F 43 D3 78 */ mr r3, r26 -/* 8012E9BC 0012B91C C0 7F 00 00 */ lfs f3, 0(r31) -/* 8012E9C0 0012B920 EC 02 00 32 */ fmuls f0, f2, f0 -/* 8012E9C4 0012B924 C0 5D 00 00 */ lfs f2, 0(r29) -/* 8012E9C8 0012B928 C0 BF 00 08 */ lfs f5, 8(r31) -/* 8012E9CC 0012B92C C0 9D 00 08 */ lfs f4, 8(r29) -/* 8012E9D0 0012B930 EC 03 00 BA */ fmadds f0, f3, f2, f0 -/* 8012E9D4 0012B934 EC 45 01 3A */ fmadds f2, f5, f4, f0 -/* 8012E9D8 0012B938 48 00 00 F1 */ bl ProjectRippleVelocity__11CFluidPlaneCFff -/* 8012E9DC 0012B93C 7F 43 D3 78 */ mr r3, r26 -/* 8012E9E0 0012B940 48 00 01 39 */ bl CalculateRippleIntensity__11CFluidPlaneCFf -/* 8012E9E4 0012B944 A0 1B 00 00 */ lhz r0, 0(r27) -/* 8012E9E8 0012B948 7F 85 E3 78 */ mr r5, r28 -/* 8012E9EC 0012B94C 38 61 00 0C */ addi r3, r1, 0xc -/* 8012E9F0 0012B950 38 81 00 08 */ addi r4, r1, 8 -/* 8012E9F4 0012B954 B0 01 00 08 */ sth r0, 8(r1) -/* 8012E9F8 0012B958 83 FE 08 7C */ lwz r31, 0x87c(r30) -/* 8012E9FC 0012B95C 4B FE DF 21 */ bl __ct__7CRippleF9TUniqueIdRC9CVector3ff -/* 8012EA00 0012B960 7C 64 1B 78 */ mr r4, r3 -/* 8012EA04 0012B964 7F E3 FB 78 */ mr r3, r31 -/* 8012EA08 0012B968 4B FE E5 45 */ bl AddRipple__14CRippleManagerFRC7CRipple -lbl_8012EA0C: -/* 8012EA0C 0012B96C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8012EA10 0012B970 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8012EA14 0012B974 BB 41 00 58 */ lmw r26, 0x58(r1) -/* 8012EA18 0012B978 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8012EA1C 0012B97C 7C 08 03 A6 */ mtlr r0 -/* 8012EA20 0012B980 38 21 00 80 */ addi r1, r1, 0x80 -/* 8012EA24 0012B984 4E 80 00 20 */ blr - -.global AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fR13CStateManager -AddRipple__11CFluidPlaneFf9TUniqueIdRC9CVector3fR13CStateManager: -/* 8012EA28 0012B988 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8012EA2C 0012B98C 7C 08 02 A6 */ mflr r0 -/* 8012EA30 0012B990 90 01 00 74 */ stw r0, 0x74(r1) -/* 8012EA34 0012B994 DB E1 00 68 */ stfd f31, 0x68(r1) -/* 8012EA38 0012B998 FF E0 08 90 */ fmr f31, f1 -/* 8012EA3C 0012B99C 93 E1 00 64 */ stw r31, 0x64(r1) -/* 8012EA40 0012B9A0 7C FF 3B 78 */ mr r31, r7 -/* 8012EA44 0012B9A4 93 C1 00 60 */ stw r30, 0x60(r1) -/* 8012EA48 0012B9A8 7C BE 2B 78 */ mr r30, r5 -/* 8012EA4C 0012B9AC 93 A1 00 5C */ stw r29, 0x5c(r1) -/* 8012EA50 0012B9B0 7C 9D 23 78 */ mr r29, r4 -/* 8012EA54 0012B9B4 7F C4 F3 78 */ mr r4, r30 -/* 8012EA58 0012B9B8 93 81 00 58 */ stw r28, 0x58(r1) -/* 8012EA5C 0012B9BC 7C 7C 1B 78 */ mr r28, r3 -/* 8012EA60 0012B9C0 7C C3 33 78 */ mr r3, r6 -/* 8012EA64 0012B9C4 4B FD 02 4D */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f -/* 8012EA68 0012B9C8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012EA6C 0012B9CC 41 82 00 38 */ beq lbl_8012EAA4 -/* 8012EA70 0012B9D0 FC 20 F8 90 */ fmr f1, f31 -/* 8012EA74 0012B9D4 7F 83 E3 78 */ mr r3, r28 -/* 8012EA78 0012B9D8 48 00 00 A1 */ bl CalculateRippleIntensity__11CFluidPlaneCFf -/* 8012EA7C 0012B9DC A0 1D 00 00 */ lhz r0, 0(r29) -/* 8012EA80 0012B9E0 7F C5 F3 78 */ mr r5, r30 -/* 8012EA84 0012B9E4 38 61 00 0C */ addi r3, r1, 0xc -/* 8012EA88 0012B9E8 38 81 00 08 */ addi r4, r1, 8 -/* 8012EA8C 0012B9EC B0 01 00 08 */ sth r0, 8(r1) -/* 8012EA90 0012B9F0 83 FF 08 7C */ lwz r31, 0x87c(r31) -/* 8012EA94 0012B9F4 4B FE DE 89 */ bl __ct__7CRippleF9TUniqueIdRC9CVector3ff -/* 8012EA98 0012B9F8 7C 64 1B 78 */ mr r4, r3 -/* 8012EA9C 0012B9FC 7F E3 FB 78 */ mr r3, r31 -/* 8012EAA0 0012BA00 4B FE E4 AD */ bl AddRipple__14CRippleManagerFRC7CRipple -lbl_8012EAA4: -/* 8012EAA4 0012BA04 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8012EAA8 0012BA08 CB E1 00 68 */ lfd f31, 0x68(r1) -/* 8012EAAC 0012BA0C 83 E1 00 64 */ lwz r31, 0x64(r1) -/* 8012EAB0 0012BA10 83 C1 00 60 */ lwz r30, 0x60(r1) -/* 8012EAB4 0012BA14 83 A1 00 5C */ lwz r29, 0x5c(r1) -/* 8012EAB8 0012BA18 83 81 00 58 */ lwz r28, 0x58(r1) -/* 8012EABC 0012BA1C 7C 08 03 A6 */ mtlr r0 -/* 8012EAC0 0012BA20 38 21 00 70 */ addi r1, r1, 0x70 -/* 8012EAC4 0012BA24 4E 80 00 20 */ blr - -.global ProjectRippleVelocity__11CFluidPlaneCFff -ProjectRippleVelocity__11CFluidPlaneCFff: -/* 8012EAC8 0012BA28 C0 02 98 CC */ lfs f0, lbl_805AB5EC@sda21(r2) -/* 8012EACC 0012BA2C C0 62 98 D0 */ lfs f3, lbl_805AB5F0@sda21(r2) -/* 8012EAD0 0012BA30 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8012EAD4 0012BA34 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8012EAD8 0012BA38 EC 22 00 32 */ fmuls f1, f2, f0 -/* 8012EADC 0012BA3C FC 03 08 00 */ fcmpu cr0, f3, f1 -/* 8012EAE0 0012BA40 40 82 00 08 */ bne lbl_8012EAE8 -/* 8012EAE4 0012BA44 48 00 00 10 */ b lbl_8012EAF4 -lbl_8012EAE8: -/* 8012EAE8 0012BA48 FC 00 08 34 */ frsqrte f0, f1 -/* 8012EAEC 0012BA4C FC 61 00 32 */ fmul f3, f1, f0 -/* 8012EAF0 0012BA50 FC 60 18 18 */ frsp f3, f3 -lbl_8012EAF4: -/* 8012EAF4 0012BA54 C0 02 98 DC */ lfs f0, lbl_805AB5FC@sda21(r2) -/* 8012EAF8 0012BA58 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8012EAFC 0012BA5C 4C 41 13 82 */ cror 2, 1, 2 -/* 8012EB00 0012BA60 40 82 00 0C */ bne lbl_8012EB0C -/* 8012EB04 0012BA64 C0 22 98 D4 */ lfs f1, lbl_805AB5F4@sda21(r2) -/* 8012EB08 0012BA68 4E 80 00 20 */ blr -lbl_8012EB0C: -/* 8012EB0C 0012BA6C C0 02 98 D8 */ lfs f0, lbl_805AB5F8@sda21(r2) -/* 8012EB10 0012BA70 EC 20 00 F2 */ fmuls f1, f0, f3 -/* 8012EB14 0012BA74 4E 80 00 20 */ blr - -.global CalculateRippleIntensity__11CFluidPlaneCFf -CalculateRippleIntensity__11CFluidPlaneCFf: -/* 8012EB18 0012BA78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012EB1C 0012BA7C 80 03 00 44 */ lwz r0, 0x44(r3) -/* 8012EB20 0012BA80 2C 00 00 02 */ cmpwi r0, 2 -/* 8012EB24 0012BA84 41 82 00 3C */ beq lbl_8012EB60 -/* 8012EB28 0012BA88 40 80 00 14 */ bge lbl_8012EB3C -/* 8012EB2C 0012BA8C 2C 00 00 00 */ cmpwi r0, 0 -/* 8012EB30 0012BA90 41 82 00 18 */ beq lbl_8012EB48 -/* 8012EB34 0012BA94 40 80 00 20 */ bge lbl_8012EB54 -/* 8012EB38 0012BA98 48 00 00 3C */ b lbl_8012EB74 -lbl_8012EB3C: -/* 8012EB3C 0012BA9C 2C 00 00 05 */ cmpwi r0, 5 -/* 8012EB40 0012BAA0 40 80 00 34 */ bge lbl_8012EB74 -/* 8012EB44 0012BAA4 48 00 00 28 */ b lbl_8012EB6C -lbl_8012EB48: -/* 8012EB48 0012BAA8 80 8D A1 20 */ lwz r4, gpTweakGame@sda21(r13) -/* 8012EB4C 0012BAAC C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8012EB50 0012BAB0 48 00 00 28 */ b lbl_8012EB78 -lbl_8012EB54: -/* 8012EB54 0012BAB4 80 8D A1 20 */ lwz r4, gpTweakGame@sda21(r13) -/* 8012EB58 0012BAB8 C0 04 00 44 */ lfs f0, 0x44(r4) -/* 8012EB5C 0012BABC 48 00 00 1C */ b lbl_8012EB78 -lbl_8012EB60: -/* 8012EB60 0012BAC0 80 8D A1 20 */ lwz r4, gpTweakGame@sda21(r13) -/* 8012EB64 0012BAC4 C0 04 00 48 */ lfs f0, 0x48(r4) -/* 8012EB68 0012BAC8 48 00 00 10 */ b lbl_8012EB78 -lbl_8012EB6C: -/* 8012EB6C 0012BACC C0 02 98 E0 */ lfs f0, lbl_805AB600@sda21(r2) -/* 8012EB70 0012BAD0 48 00 00 08 */ b lbl_8012EB78 -lbl_8012EB74: -/* 8012EB74 0012BAD4 C0 02 98 D4 */ lfs f0, lbl_805AB5F4@sda21(r2) -lbl_8012EB78: -/* 8012EB78 0012BAD8 C0 42 98 D4 */ lfs f2, lbl_805AB5F4@sda21(r2) -/* 8012EB7C 0012BADC EC 81 00 32 */ fmuls f4, f1, f0 -/* 8012EB80 0012BAE0 C0 03 00 48 */ lfs f0, 0x48(r3) -/* 8012EB84 0012BAE4 C0 AD 8B 08 */ lfs f5, lbl_805A76C8@sda21(r13) -/* 8012EB88 0012BAE8 EC 22 00 28 */ fsubs f1, f2, f0 -/* 8012EB8C 0012BAEC C0 62 98 CC */ lfs f3, lbl_805AB5EC@sda21(r2) -/* 8012EB90 0012BAF0 C0 0D 8B 0C */ lfs f0, lbl_805A76CC@sda21(r13) -/* 8012EB94 0012BAF4 EC 25 10 7A */ fmadds f1, f5, f1, f2 -/* 8012EB98 0012BAF8 EC 23 09 7C */ fnmsubs f1, f3, f5, f1 -/* 8012EB9C 0012BAFC EC 24 00 72 */ fmuls f1, f4, f1 -/* 8012EBA0 0012BB00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012EBA4 0012BB04 D0 21 00 08 */ stfs f1, 8(r1) -/* 8012EBA8 0012BB08 40 80 00 0C */ bge lbl_8012EBB4 -/* 8012EBAC 0012BB0C 38 6D 8B 0C */ addi r3, r13, lbl_805A76CC@sda21 -/* 8012EBB0 0012BB10 48 00 00 08 */ b lbl_8012EBB8 -lbl_8012EBB4: -/* 8012EBB4 0012BB14 38 61 00 08 */ addi r3, r1, 8 -lbl_8012EBB8: -/* 8012EBB8 0012BB18 C0 2D 8B 10 */ lfs f1, lbl_805A76D0@sda21(r13) -/* 8012EBBC 0012BB1C C0 03 00 00 */ lfs f0, 0(r3) -/* 8012EBC0 0012BB20 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012EBC4 0012BB24 40 80 00 08 */ bge lbl_8012EBCC -/* 8012EBC8 0012BB28 38 6D 8B 10 */ addi r3, r13, lbl_805A76D0@sda21 -lbl_8012EBCC: -/* 8012EBCC 0012BB2C C0 23 00 00 */ lfs f1, 0(r3) -/* 8012EBD0 0012BB30 D0 21 00 08 */ stfs f1, 8(r1) -/* 8012EBD4 0012BB34 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012EBD8 0012BB38 4E 80 00 20 */ blr - -.global __dt__11CFluidPlaneFv -__dt__11CFluidPlaneFv: -/* 8012EBDC 0012BB3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012EBE0 0012BB40 7C 08 02 A6 */ mflr r0 -/* 8012EBE4 0012BB44 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012EBE8 0012BB48 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012EBEC 0012BB4C 7C 9F 23 78 */ mr r31, r4 -/* 8012EBF0 0012BB50 93 C1 00 08 */ stw r30, 8(r1) -/* 8012EBF4 0012BB54 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8012EBF8 0012BB58 41 82 01 20 */ beq lbl_8012ED18 -/* 8012EBFC 0012BB5C 3C 60 80 3E */ lis r3, lbl_803E0CE0@ha -/* 8012EC00 0012BB60 34 1E 00 4C */ addic. r0, r30, 0x4c -/* 8012EC04 0012BB64 38 03 0C E0 */ addi r0, r3, lbl_803E0CE0@l -/* 8012EC08 0012BB68 90 1E 00 00 */ stw r0, 0(r30) -/* 8012EC0C 0012BB6C 41 82 00 60 */ beq lbl_8012EC6C -/* 8012EC10 0012BB70 34 1E 00 4C */ addic. r0, r30, 0x4c -/* 8012EC14 0012BB74 41 82 00 58 */ beq lbl_8012EC6C -/* 8012EC18 0012BB78 80 BE 00 4C */ lwz r5, 0x4c(r30) -/* 8012EC1C 0012BB7C 38 60 00 00 */ li r3, 0 -/* 8012EC20 0012BB80 2C 05 00 00 */ cmpwi r5, 0 -/* 8012EC24 0012BB84 40 81 00 40 */ ble lbl_8012EC64 -/* 8012EC28 0012BB88 2C 05 00 08 */ cmpwi r5, 8 -/* 8012EC2C 0012BB8C 38 85 FF F8 */ addi r4, r5, -8 -/* 8012EC30 0012BB90 40 81 00 20 */ ble lbl_8012EC50 -/* 8012EC34 0012BB94 38 04 00 07 */ addi r0, r4, 7 -/* 8012EC38 0012BB98 54 00 E8 FE */ srwi r0, r0, 3 -/* 8012EC3C 0012BB9C 7C 09 03 A6 */ mtctr r0 -/* 8012EC40 0012BBA0 2C 04 00 00 */ cmpwi r4, 0 -/* 8012EC44 0012BBA4 40 81 00 0C */ ble lbl_8012EC50 -lbl_8012EC48: -/* 8012EC48 0012BBA8 38 63 00 08 */ addi r3, r3, 8 -/* 8012EC4C 0012BBAC 42 00 FF FC */ bdnz lbl_8012EC48 -lbl_8012EC50: -/* 8012EC50 0012BBB0 7C 03 28 50 */ subf r0, r3, r5 -/* 8012EC54 0012BBB4 7C 09 03 A6 */ mtctr r0 -/* 8012EC58 0012BBB8 7C 03 28 00 */ cmpw r3, r5 -/* 8012EC5C 0012BBBC 40 80 00 08 */ bge lbl_8012EC64 -lbl_8012EC60: -/* 8012EC60 0012BBC0 42 00 00 00 */ bdnz lbl_8012EC60 -lbl_8012EC64: -/* 8012EC64 0012BBC4 38 00 00 00 */ li r0, 0 -/* 8012EC68 0012BBC8 90 1E 00 4C */ stw r0, 0x4c(r30) -lbl_8012EC6C: -/* 8012EC6C 0012BBCC 34 1E 00 30 */ addic. r0, r30, 0x30 -/* 8012EC70 0012BBD0 41 82 00 30 */ beq lbl_8012ECA0 -/* 8012EC74 0012BBD4 88 1E 00 3C */ lbz r0, 0x3c(r30) -/* 8012EC78 0012BBD8 28 00 00 00 */ cmplwi r0, 0 -/* 8012EC7C 0012BBDC 41 82 00 1C */ beq lbl_8012EC98 -/* 8012EC80 0012BBE0 34 7E 00 30 */ addic. r3, r30, 0x30 -/* 8012EC84 0012BBE4 41 82 00 14 */ beq lbl_8012EC98 -/* 8012EC88 0012BBE8 28 03 00 00 */ cmplwi r3, 0 -/* 8012EC8C 0012BBEC 41 82 00 0C */ beq lbl_8012EC98 -/* 8012EC90 0012BBF0 38 80 00 00 */ li r4, 0 -/* 8012EC94 0012BBF4 48 21 21 AD */ bl __dt__6CTokenFv -lbl_8012EC98: -/* 8012EC98 0012BBF8 38 00 00 00 */ li r0, 0 -/* 8012EC9C 0012BBFC 98 1E 00 3C */ stb r0, 0x3c(r30) -lbl_8012ECA0: -/* 8012ECA0 0012BC00 34 1E 00 20 */ addic. r0, r30, 0x20 -/* 8012ECA4 0012BC04 41 82 00 30 */ beq lbl_8012ECD4 -/* 8012ECA8 0012BC08 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 8012ECAC 0012BC0C 28 00 00 00 */ cmplwi r0, 0 -/* 8012ECB0 0012BC10 41 82 00 1C */ beq lbl_8012ECCC -/* 8012ECB4 0012BC14 34 7E 00 20 */ addic. r3, r30, 0x20 -/* 8012ECB8 0012BC18 41 82 00 14 */ beq lbl_8012ECCC -/* 8012ECBC 0012BC1C 28 03 00 00 */ cmplwi r3, 0 -/* 8012ECC0 0012BC20 41 82 00 0C */ beq lbl_8012ECCC -/* 8012ECC4 0012BC24 38 80 00 00 */ li r4, 0 -/* 8012ECC8 0012BC28 48 21 21 79 */ bl __dt__6CTokenFv -lbl_8012ECCC: -/* 8012ECCC 0012BC2C 38 00 00 00 */ li r0, 0 -/* 8012ECD0 0012BC30 98 1E 00 2C */ stb r0, 0x2c(r30) -lbl_8012ECD4: -/* 8012ECD4 0012BC34 34 1E 00 10 */ addic. r0, r30, 0x10 -/* 8012ECD8 0012BC38 41 82 00 30 */ beq lbl_8012ED08 -/* 8012ECDC 0012BC3C 88 1E 00 1C */ lbz r0, 0x1c(r30) -/* 8012ECE0 0012BC40 28 00 00 00 */ cmplwi r0, 0 -/* 8012ECE4 0012BC44 41 82 00 1C */ beq lbl_8012ED00 -/* 8012ECE8 0012BC48 34 7E 00 10 */ addic. r3, r30, 0x10 -/* 8012ECEC 0012BC4C 41 82 00 14 */ beq lbl_8012ED00 -/* 8012ECF0 0012BC50 28 03 00 00 */ cmplwi r3, 0 -/* 8012ECF4 0012BC54 41 82 00 0C */ beq lbl_8012ED00 -/* 8012ECF8 0012BC58 38 80 00 00 */ li r4, 0 -/* 8012ECFC 0012BC5C 48 21 21 45 */ bl __dt__6CTokenFv -lbl_8012ED00: -/* 8012ED00 0012BC60 38 00 00 00 */ li r0, 0 -/* 8012ED04 0012BC64 98 1E 00 1C */ stb r0, 0x1c(r30) -lbl_8012ED08: -/* 8012ED08 0012BC68 7F E0 07 35 */ extsh. r0, r31 -/* 8012ED0C 0012BC6C 40 81 00 0C */ ble lbl_8012ED18 -/* 8012ED10 0012BC70 7F C3 F3 78 */ mr r3, r30 -/* 8012ED14 0012BC74 48 1E 6C 1D */ bl Free__7CMemoryFPCv -lbl_8012ED18: -/* 8012ED18 0012BC78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012ED1C 0012BC7C 7F C3 F3 78 */ mr r3, r30 -/* 8012ED20 0012BC80 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012ED24 0012BC84 83 C1 00 08 */ lwz r30, 8(r1) -/* 8012ED28 0012BC88 7C 08 03 A6 */ mtlr r0 -/* 8012ED2C 0012BC8C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012ED30 0012BC90 4E 80 00 20 */ blr - -.global __ct__11CFluidPlaneFUiUiUifQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion -__ct__11CFluidPlaneFUiUiUifQ211CFluidPlane10EFluidTypefRC14CFluidUVMotion: -/* 8012ED34 0012BC94 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8012ED38 0012BC98 7C 08 02 A6 */ mflr r0 -/* 8012ED3C 0012BC9C 3D 20 80 3E */ lis r9, lbl_803E0CE0@ha -/* 8012ED40 0012BCA0 90 01 00 74 */ stw r0, 0x74(r1) -/* 8012ED44 0012BCA4 38 00 00 00 */ li r0, 0 -/* 8012ED48 0012BCA8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8012ED4C 0012BCAC 7C 7F 1B 78 */ mr r31, r3 -/* 8012ED50 0012BCB0 38 69 0C E0 */ addi r3, r9, lbl_803E0CE0@l -/* 8012ED54 0012BCB4 39 28 00 04 */ addi r9, r8, 4 -/* 8012ED58 0012BCB8 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8012ED5C 0012BCBC 90 7F 00 00 */ stw r3, 0(r31) -/* 8012ED60 0012BCC0 38 7F 00 50 */ addi r3, r31, 0x50 -/* 8012ED64 0012BCC4 90 9F 00 04 */ stw r4, 4(r31) -/* 8012ED68 0012BCC8 90 BF 00 08 */ stw r5, 8(r31) -/* 8012ED6C 0012BCCC 90 DF 00 0C */ stw r6, 0xc(r31) -/* 8012ED70 0012BCD0 98 1F 00 1C */ stb r0, 0x1c(r31) -/* 8012ED74 0012BCD4 98 1F 00 2C */ stb r0, 0x2c(r31) -/* 8012ED78 0012BCD8 98 1F 00 3C */ stb r0, 0x3c(r31) -/* 8012ED7C 0012BCDC D0 3F 00 40 */ stfs f1, 0x40(r31) -/* 8012ED80 0012BCE0 90 FF 00 44 */ stw r7, 0x44(r31) -/* 8012ED84 0012BCE4 D0 5F 00 48 */ stfs f2, 0x48(r31) -/* 8012ED88 0012BCE8 80 08 00 00 */ lwz r0, 0(r8) -/* 8012ED8C 0012BCEC 90 1F 00 4C */ stw r0, 0x4c(r31) -/* 8012ED90 0012BCF0 80 1F 00 4C */ lwz r0, 0x4c(r31) -/* 8012ED94 0012BCF4 7C 09 03 A6 */ mtctr r0 -/* 8012ED98 0012BCF8 2C 00 00 00 */ cmpwi r0, 0 -/* 8012ED9C 0012BCFC 40 81 00 48 */ ble lbl_8012EDE4 -lbl_8012EDA0: -/* 8012EDA0 0012BD00 28 03 00 00 */ cmplwi r3, 0 -/* 8012EDA4 0012BD04 41 82 00 34 */ beq lbl_8012EDD8 -/* 8012EDA8 0012BD08 80 09 00 00 */ lwz r0, 0(r9) -/* 8012EDAC 0012BD0C 90 03 00 00 */ stw r0, 0(r3) -/* 8012EDB0 0012BD10 C0 09 00 04 */ lfs f0, 4(r9) -/* 8012EDB4 0012BD14 D0 03 00 04 */ stfs f0, 4(r3) -/* 8012EDB8 0012BD18 C0 09 00 08 */ lfs f0, 8(r9) -/* 8012EDBC 0012BD1C D0 03 00 08 */ stfs f0, 8(r3) -/* 8012EDC0 0012BD20 C0 09 00 0C */ lfs f0, 0xc(r9) -/* 8012EDC4 0012BD24 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8012EDC8 0012BD28 C0 09 00 10 */ lfs f0, 0x10(r9) -/* 8012EDCC 0012BD2C D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8012EDD0 0012BD30 C0 09 00 14 */ lfs f0, 0x14(r9) -/* 8012EDD4 0012BD34 D0 03 00 14 */ stfs f0, 0x14(r3) -lbl_8012EDD8: -/* 8012EDD8 0012BD38 38 63 00 18 */ addi r3, r3, 0x18 -/* 8012EDDC 0012BD3C 39 29 00 18 */ addi r9, r9, 0x18 -/* 8012EDE0 0012BD40 42 00 FF C0 */ bdnz lbl_8012EDA0 -lbl_8012EDE4: -/* 8012EDE4 0012BD44 C0 08 00 4C */ lfs f0, 0x4c(r8) -/* 8012EDE8 0012BD48 D0 1F 00 98 */ stfs f0, 0x98(r31) -/* 8012EDEC 0012BD4C C0 08 00 50 */ lfs f0, 0x50(r8) -/* 8012EDF0 0012BD50 D0 1F 00 9C */ stfs f0, 0x9c(r31) -/* 8012EDF4 0012BD54 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8012EDF8 0012BD58 80 9F 00 04 */ lwz r4, 4(r31) -/* 8012EDFC 0012BD5C 38 63 00 04 */ addi r3, r3, 4 -/* 8012EE00 0012BD60 48 20 CE CD */ bl GetResourceTypeById__10CResLoaderCFUi -/* 8012EE04 0012BD64 3C 03 AB A8 */ addis r0, r3, 0xaba8 -/* 8012EE08 0012BD68 28 00 54 52 */ cmplwi r0, 0x5452 -/* 8012EE0C 0012BD6C 40 82 00 C0 */ bne lbl_8012EECC -/* 8012EE10 0012BD70 80 DF 00 04 */ lwz r6, 4(r31) -/* 8012EE14 0012BD74 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8012EE18 0012BD78 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8012EE1C 0012BD7C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8012EE20 0012BD80 90 01 00 30 */ stw r0, 0x30(r1) -/* 8012EE24 0012BD84 38 61 00 28 */ addi r3, r1, 0x28 -/* 8012EE28 0012BD88 38 A1 00 30 */ addi r5, r1, 0x30 -/* 8012EE2C 0012BD8C 90 C1 00 34 */ stw r6, 0x34(r1) -/* 8012EE30 0012BD90 81 84 00 00 */ lwz r12, 0(r4) -/* 8012EE34 0012BD94 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8012EE38 0012BD98 7D 89 03 A6 */ mtctr r12 -/* 8012EE3C 0012BD9C 4E 80 04 21 */ bctrl -/* 8012EE40 0012BDA0 3B C1 00 50 */ addi r30, r1, 0x50 -/* 8012EE44 0012BDA4 38 81 00 28 */ addi r4, r1, 0x28 -/* 8012EE48 0012BDA8 7F C3 F3 78 */ mr r3, r30 -/* 8012EE4C 0012BDAC 48 21 20 5D */ bl __ct__6CTokenFRC6CToken -/* 8012EE50 0012BDB0 7F C3 F3 78 */ mr r3, r30 -/* 8012EE54 0012BDB4 48 21 1F B9 */ bl GetObj__6CTokenFv -/* 8012EE58 0012BDB8 80 03 00 04 */ lwz r0, 4(r3) -/* 8012EE5C 0012BDBC 90 01 00 58 */ stw r0, 0x58(r1) -/* 8012EE60 0012BDC0 88 1F 00 1C */ lbz r0, 0x1c(r31) -/* 8012EE64 0012BDC4 28 00 00 00 */ cmplwi r0, 0 -/* 8012EE68 0012BDC8 40 82 00 34 */ bne lbl_8012EE9C -/* 8012EE6C 0012BDCC 37 DF 00 10 */ addic. r30, r31, 0x10 -/* 8012EE70 0012BDD0 41 82 00 20 */ beq lbl_8012EE90 -/* 8012EE74 0012BDD4 7F C3 F3 78 */ mr r3, r30 -/* 8012EE78 0012BDD8 38 81 00 50 */ addi r4, r1, 0x50 -/* 8012EE7C 0012BDDC 48 21 20 2D */ bl __ct__6CTokenFRC6CToken -/* 8012EE80 0012BDE0 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8012EE84 0012BDE4 7F C3 F3 78 */ mr r3, r30 -/* 8012EE88 0012BDE8 90 1E 00 08 */ stw r0, 8(r30) -/* 8012EE8C 0012BDEC 48 21 1E F9 */ bl Lock__6CTokenFv -lbl_8012EE90: -/* 8012EE90 0012BDF0 38 00 00 01 */ li r0, 1 -/* 8012EE94 0012BDF4 98 1F 00 1C */ stb r0, 0x1c(r31) -/* 8012EE98 0012BDF8 48 00 00 1C */ b lbl_8012EEB4 -lbl_8012EE9C: -/* 8012EE9C 0012BDFC 3B DF 00 10 */ addi r30, r31, 0x10 -/* 8012EEA0 0012BE00 38 81 00 50 */ addi r4, r1, 0x50 -/* 8012EEA4 0012BE04 7F C3 F3 78 */ mr r3, r30 -/* 8012EEA8 0012BE08 48 21 1E 1D */ bl __as__6CTokenFRC6CToken -/* 8012EEAC 0012BE0C 80 01 00 58 */ lwz r0, 0x58(r1) -/* 8012EEB0 0012BE10 90 1E 00 08 */ stw r0, 8(r30) -lbl_8012EEB4: -/* 8012EEB4 0012BE14 38 61 00 50 */ addi r3, r1, 0x50 -/* 8012EEB8 0012BE18 38 80 00 00 */ li r4, 0 -/* 8012EEBC 0012BE1C 48 21 1F 85 */ bl __dt__6CTokenFv -/* 8012EEC0 0012BE20 38 61 00 28 */ addi r3, r1, 0x28 -/* 8012EEC4 0012BE24 38 80 FF FF */ li r4, -1 -/* 8012EEC8 0012BE28 48 21 1F 79 */ bl __dt__6CTokenFv -lbl_8012EECC: -/* 8012EECC 0012BE2C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8012EED0 0012BE30 80 9F 00 08 */ lwz r4, 8(r31) -/* 8012EED4 0012BE34 38 63 00 04 */ addi r3, r3, 4 -/* 8012EED8 0012BE38 48 20 CD F5 */ bl GetResourceTypeById__10CResLoaderCFUi -/* 8012EEDC 0012BE3C 3C 03 AB A8 */ addis r0, r3, 0xaba8 -/* 8012EEE0 0012BE40 28 00 54 52 */ cmplwi r0, 0x5452 -/* 8012EEE4 0012BE44 40 82 00 C0 */ bne lbl_8012EFA4 -/* 8012EEE8 0012BE48 80 DF 00 08 */ lwz r6, 8(r31) -/* 8012EEEC 0012BE4C 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8012EEF0 0012BE50 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8012EEF4 0012BE54 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8012EEF8 0012BE58 90 01 00 20 */ stw r0, 0x20(r1) -/* 8012EEFC 0012BE5C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8012EF00 0012BE60 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8012EF04 0012BE64 90 C1 00 24 */ stw r6, 0x24(r1) -/* 8012EF08 0012BE68 81 84 00 00 */ lwz r12, 0(r4) -/* 8012EF0C 0012BE6C 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8012EF10 0012BE70 7D 89 03 A6 */ mtctr r12 -/* 8012EF14 0012BE74 4E 80 04 21 */ bctrl -/* 8012EF18 0012BE78 3B C1 00 44 */ addi r30, r1, 0x44 -/* 8012EF1C 0012BE7C 38 81 00 18 */ addi r4, r1, 0x18 -/* 8012EF20 0012BE80 7F C3 F3 78 */ mr r3, r30 -/* 8012EF24 0012BE84 48 21 1F 85 */ bl __ct__6CTokenFRC6CToken -/* 8012EF28 0012BE88 7F C3 F3 78 */ mr r3, r30 -/* 8012EF2C 0012BE8C 48 21 1E E1 */ bl GetObj__6CTokenFv -/* 8012EF30 0012BE90 80 03 00 04 */ lwz r0, 4(r3) -/* 8012EF34 0012BE94 90 01 00 4C */ stw r0, 0x4c(r1) -/* 8012EF38 0012BE98 88 1F 00 2C */ lbz r0, 0x2c(r31) -/* 8012EF3C 0012BE9C 28 00 00 00 */ cmplwi r0, 0 -/* 8012EF40 0012BEA0 40 82 00 34 */ bne lbl_8012EF74 -/* 8012EF44 0012BEA4 37 DF 00 20 */ addic. r30, r31, 0x20 -/* 8012EF48 0012BEA8 41 82 00 20 */ beq lbl_8012EF68 -/* 8012EF4C 0012BEAC 7F C3 F3 78 */ mr r3, r30 -/* 8012EF50 0012BEB0 38 81 00 44 */ addi r4, r1, 0x44 -/* 8012EF54 0012BEB4 48 21 1F 55 */ bl __ct__6CTokenFRC6CToken -/* 8012EF58 0012BEB8 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8012EF5C 0012BEBC 7F C3 F3 78 */ mr r3, r30 -/* 8012EF60 0012BEC0 90 1E 00 08 */ stw r0, 8(r30) -/* 8012EF64 0012BEC4 48 21 1E 21 */ bl Lock__6CTokenFv -lbl_8012EF68: -/* 8012EF68 0012BEC8 38 00 00 01 */ li r0, 1 -/* 8012EF6C 0012BECC 98 1F 00 2C */ stb r0, 0x2c(r31) -/* 8012EF70 0012BED0 48 00 00 1C */ b lbl_8012EF8C -lbl_8012EF74: -/* 8012EF74 0012BED4 3B DF 00 20 */ addi r30, r31, 0x20 -/* 8012EF78 0012BED8 38 81 00 44 */ addi r4, r1, 0x44 -/* 8012EF7C 0012BEDC 7F C3 F3 78 */ mr r3, r30 -/* 8012EF80 0012BEE0 48 21 1D 45 */ bl __as__6CTokenFRC6CToken -/* 8012EF84 0012BEE4 80 01 00 4C */ lwz r0, 0x4c(r1) -/* 8012EF88 0012BEE8 90 1E 00 08 */ stw r0, 8(r30) -lbl_8012EF8C: -/* 8012EF8C 0012BEEC 38 61 00 44 */ addi r3, r1, 0x44 -/* 8012EF90 0012BEF0 38 80 00 00 */ li r4, 0 -/* 8012EF94 0012BEF4 48 21 1E AD */ bl __dt__6CTokenFv -/* 8012EF98 0012BEF8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8012EF9C 0012BEFC 38 80 FF FF */ li r4, -1 -/* 8012EFA0 0012BF00 48 21 1E A1 */ bl __dt__6CTokenFv -lbl_8012EFA4: -/* 8012EFA4 0012BF04 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) -/* 8012EFA8 0012BF08 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 8012EFAC 0012BF0C 38 63 00 04 */ addi r3, r3, 4 -/* 8012EFB0 0012BF10 48 20 CD 1D */ bl GetResourceTypeById__10CResLoaderCFUi -/* 8012EFB4 0012BF14 3C 03 AB A8 */ addis r0, r3, 0xaba8 -/* 8012EFB8 0012BF18 28 00 54 52 */ cmplwi r0, 0x5452 -/* 8012EFBC 0012BF1C 40 82 00 C0 */ bne lbl_8012F07C -/* 8012EFC0 0012BF20 80 DF 00 0C */ lwz r6, 0xc(r31) -/* 8012EFC4 0012BF24 3C 60 54 58 */ lis r3, 0x54585452@ha -/* 8012EFC8 0012BF28 38 03 54 52 */ addi r0, r3, 0x54585452@l -/* 8012EFCC 0012BF2C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8012EFD0 0012BF30 90 01 00 10 */ stw r0, 0x10(r1) -/* 8012EFD4 0012BF34 38 61 00 08 */ addi r3, r1, 8 -/* 8012EFD8 0012BF38 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8012EFDC 0012BF3C 90 C1 00 14 */ stw r6, 0x14(r1) -/* 8012EFE0 0012BF40 81 84 00 00 */ lwz r12, 0(r4) -/* 8012EFE4 0012BF44 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8012EFE8 0012BF48 7D 89 03 A6 */ mtctr r12 -/* 8012EFEC 0012BF4C 4E 80 04 21 */ bctrl -/* 8012EFF0 0012BF50 3B C1 00 38 */ addi r30, r1, 0x38 -/* 8012EFF4 0012BF54 38 81 00 08 */ addi r4, r1, 8 -/* 8012EFF8 0012BF58 7F C3 F3 78 */ mr r3, r30 -/* 8012EFFC 0012BF5C 48 21 1E AD */ bl __ct__6CTokenFRC6CToken -/* 8012F000 0012BF60 7F C3 F3 78 */ mr r3, r30 -/* 8012F004 0012BF64 48 21 1E 09 */ bl GetObj__6CTokenFv -/* 8012F008 0012BF68 80 03 00 04 */ lwz r0, 4(r3) -/* 8012F00C 0012BF6C 90 01 00 40 */ stw r0, 0x40(r1) -/* 8012F010 0012BF70 88 1F 00 3C */ lbz r0, 0x3c(r31) -/* 8012F014 0012BF74 28 00 00 00 */ cmplwi r0, 0 -/* 8012F018 0012BF78 40 82 00 34 */ bne lbl_8012F04C -/* 8012F01C 0012BF7C 37 DF 00 30 */ addic. r30, r31, 0x30 -/* 8012F020 0012BF80 41 82 00 20 */ beq lbl_8012F040 -/* 8012F024 0012BF84 7F C3 F3 78 */ mr r3, r30 -/* 8012F028 0012BF88 38 81 00 38 */ addi r4, r1, 0x38 -/* 8012F02C 0012BF8C 48 21 1E 7D */ bl __ct__6CTokenFRC6CToken -/* 8012F030 0012BF90 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8012F034 0012BF94 7F C3 F3 78 */ mr r3, r30 -/* 8012F038 0012BF98 90 1E 00 08 */ stw r0, 8(r30) -/* 8012F03C 0012BF9C 48 21 1D 49 */ bl Lock__6CTokenFv -lbl_8012F040: -/* 8012F040 0012BFA0 38 00 00 01 */ li r0, 1 -/* 8012F044 0012BFA4 98 1F 00 3C */ stb r0, 0x3c(r31) -/* 8012F048 0012BFA8 48 00 00 1C */ b lbl_8012F064 -lbl_8012F04C: -/* 8012F04C 0012BFAC 3B DF 00 30 */ addi r30, r31, 0x30 -/* 8012F050 0012BFB0 38 81 00 38 */ addi r4, r1, 0x38 -/* 8012F054 0012BFB4 7F C3 F3 78 */ mr r3, r30 -/* 8012F058 0012BFB8 48 21 1C 6D */ bl __as__6CTokenFRC6CToken -/* 8012F05C 0012BFBC 80 01 00 40 */ lwz r0, 0x40(r1) -/* 8012F060 0012BFC0 90 1E 00 08 */ stw r0, 8(r30) -lbl_8012F064: -/* 8012F064 0012BFC4 38 61 00 38 */ addi r3, r1, 0x38 -/* 8012F068 0012BFC8 38 80 00 00 */ li r4, 0 -/* 8012F06C 0012BFCC 48 21 1D D5 */ bl __dt__6CTokenFv -/* 8012F070 0012BFD0 38 61 00 08 */ addi r3, r1, 8 -/* 8012F074 0012BFD4 38 80 FF FF */ li r4, -1 -/* 8012F078 0012BFD8 48 21 1D C9 */ bl __dt__6CTokenFv -lbl_8012F07C: -/* 8012F07C 0012BFDC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8012F080 0012BFE0 7F E3 FB 78 */ mr r3, r31 -/* 8012F084 0012BFE4 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8012F088 0012BFE8 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8012F08C 0012BFEC 7C 08 03 A6 */ mtlr r0 -/* 8012F090 0012BFF0 38 21 00 70 */ addi r1, r1, 0x70 -/* 8012F094 0012BFF4 4E 80 00 20 */ blr - -.global sub_8012f098 -sub_8012f098: -/* 8012F098 0012BFF8 38 60 00 00 */ li r3, 0 -/* 8012F09C 0012BFFC 4E 80 00 20 */ blr - -.global SetupRippleMap__18CFluidPlaneManagerFv -SetupRippleMap__18CFluidPlaneManagerFv: -/* 8012F0A0 0012C000 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8012F0A4 0012C004 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 8012F0A8 0012C008 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 8012F0AC 0012C00C DB C1 00 60 */ stfd f30, 0x60(r1) -/* 8012F0B0 0012C010 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 8012F0B4 0012C014 DB A1 00 50 */ stfd f29, 0x50(r1) -/* 8012F0B8 0012C018 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 8012F0BC 0012C01C DB 81 00 40 */ stfd f28, 0x40(r1) -/* 8012F0C0 0012C020 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 8012F0C4 0012C024 DB 61 00 30 */ stfd f27, 0x30(r1) -/* 8012F0C8 0012C028 F3 61 00 38 */ psq_st f27, 56(r1), 0, qr0 -/* 8012F0CC 0012C02C DB 41 00 20 */ stfd f26, 0x20(r1) -/* 8012F0D0 0012C030 F3 41 00 28 */ psq_st f26, 40(r1), 0, qr0 -/* 8012F0D4 0012C034 C3 A2 98 F8 */ lfs f29, lbl_805AB618@sda21(r2) -/* 8012F0D8 0012C038 3C 60 80 57 */ lis r3, lbl_8057198C@ha -/* 8012F0DC 0012C03C 3C A0 80 57 */ lis r5, lbl_8057094C@ha -/* 8012F0E0 0012C040 3C 80 80 57 */ lis r4, lbl_8057194C@ha -/* 8012F0E4 0012C044 FC A0 E8 90 */ fmr f5, f29 -/* 8012F0E8 0012C048 39 23 19 8C */ addi r9, r3, lbl_8057198C@l -/* 8012F0EC 0012C04C C1 22 99 00 */ lfs f9, lbl_805AB620@sda21(r2) -/* 8012F0F0 0012C050 38 E5 09 4C */ addi r7, r5, lbl_8057094C@l -/* 8012F0F4 0012C054 C1 02 99 08 */ lfs f8, lbl_805AB628@sda21(r2) -/* 8012F0F8 0012C058 39 04 19 4C */ addi r8, r4, lbl_8057194C@l -/* 8012F0FC 0012C05C C0 E2 98 FC */ lfs f7, lbl_805AB61C@sda21(r2) -/* 8012F100 0012C060 39 40 00 00 */ li r10, 0 -/* 8012F104 0012C064 C0 C2 99 04 */ lfs f6, lbl_805AB624@sda21(r2) -/* 8012F108 0012C068 C0 42 99 1C */ lfs f2, lbl_805AB63C@sda21(r2) -/* 8012F10C 0012C06C C0 02 99 20 */ lfs f0, lbl_805AB640@sda21(r2) -/* 8012F110 0012C070 80 CD 8B 18 */ lwz r6, lbl_805A76D8@sda21(r13) -/* 8012F114 0012C074 80 6D 8B 1C */ lwz r3, lbl_805A76DC@sda21(r13) -lbl_8012F118: -/* 8012F118 0012C078 C3 82 98 F8 */ lfs f28, lbl_805AB618@sda21(r2) -/* 8012F11C 0012C07C 38 00 00 40 */ li r0, 0x40 -/* 8012F120 0012C080 7C E5 3B 78 */ mr r5, r7 -/* 8012F124 0012C084 C3 62 98 FC */ lfs f27, lbl_805AB61C@sda21(r2) -/* 8012F128 0012C088 FF 40 E0 90 */ fmr f26, f28 -/* 8012F12C 0012C08C 7C 09 03 A6 */ mtctr r0 -lbl_8012F130: -/* 8012F130 0012C090 EF C7 E0 28 */ fsubs f30, f7, f28 -/* 8012F134 0012C094 FD 60 E0 90 */ fmr f11, f28 -/* 8012F138 0012C098 FC 1C 28 40 */ fcmpo cr0, f28, f5 -/* 8012F13C 0012C09C EC 28 37 BA */ fmadds f1, f8, f30, f6 -/* 8012F140 0012C0A0 ED 49 E0 7A */ fmadds f10, f9, f1, f28 -/* 8012F144 0012C0A4 40 80 00 0C */ bge lbl_8012F150 -/* 8012F148 0012C0A8 FD 60 28 90 */ fmr f11, f5 -/* 8012F14C 0012C0AC 48 00 00 10 */ b lbl_8012F15C -lbl_8012F150: -/* 8012F150 0012C0B0 FC 0A 38 40 */ fcmpo cr0, f10, f7 -/* 8012F154 0012C0B4 40 81 00 08 */ ble lbl_8012F15C -/* 8012F158 0012C0B8 FD 40 38 90 */ fmr f10, f7 -lbl_8012F15C: -/* 8012F15C 0012C0BC FC 1D 58 40 */ fcmpo cr0, f29, f11 -/* 8012F160 0012C0C0 C0 62 98 F8 */ lfs f3, lbl_805AB618@sda21(r2) -/* 8012F164 0012C0C4 4C 41 13 82 */ cror 2, 1, 2 -/* 8012F168 0012C0C8 40 82 00 58 */ bne lbl_8012F1C0 -/* 8012F16C 0012C0CC FC 1D 50 40 */ fcmpo cr0, f29, f10 -/* 8012F170 0012C0D0 4C 40 13 82 */ cror 2, 0, 2 -/* 8012F174 0012C0D4 40 82 00 4C */ bne lbl_8012F1C0 -/* 8012F178 0012C0D8 EC 9D 58 28 */ fsubs f4, f29, f11 -/* 8012F17C 0012C0DC C0 22 99 0C */ lfs f1, lbl_805AB62C@sda21(r2) -/* 8012F180 0012C0E0 EC 6A 58 28 */ fsubs f3, f10, f11 -/* 8012F184 0012C0E4 EC 84 18 24 */ fdivs f4, f4, f3 -/* 8012F188 0012C0E8 FC 04 08 40 */ fcmpo cr0, f4, f1 -/* 8012F18C 0012C0EC 40 80 00 10 */ bge lbl_8012F19C -/* 8012F190 0012C0F0 C0 22 99 10 */ lfs f1, lbl_805AB630@sda21(r2) -/* 8012F194 0012C0F4 EC 61 01 32 */ fmuls f3, f1, f4 -/* 8012F198 0012C0F8 48 00 00 28 */ b lbl_8012F1C0 -lbl_8012F19C: -/* 8012F19C 0012C0FC C0 22 99 14 */ lfs f1, lbl_805AB634@sda21(r2) -/* 8012F1A0 0012C100 FC 04 08 40 */ fcmpo cr0, f4, f1 -/* 8012F1A4 0012C104 40 81 00 18 */ ble lbl_8012F1BC -/* 8012F1A8 0012C108 C0 22 98 FC */ lfs f1, lbl_805AB61C@sda21(r2) -/* 8012F1AC 0012C10C C0 62 99 18 */ lfs f3, lbl_805AB638@sda21(r2) -/* 8012F1B0 0012C110 EC 21 20 28 */ fsubs f1, f1, f4 -/* 8012F1B4 0012C114 EC 63 00 72 */ fmuls f3, f3, f1 -/* 8012F1B8 0012C118 48 00 00 08 */ b lbl_8012F1C0 -lbl_8012F1BC: -/* 8012F1BC 0012C11C C0 62 98 FC */ lfs f3, lbl_805AB61C@sda21(r2) -lbl_8012F1C0: -/* 8012F1C0 0012C120 EC 3E 07 B2 */ fmuls f1, f30, f30 -/* 8012F1C4 0012C124 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8012F1C8 0012C128 ED 82 00 72 */ fmuls f12, f2, f1 -/* 8012F1CC 0012C12C F1 81 A0 0A */ psq_st f12, 10(r1), 1, qr2 -/* 8012F1D0 0012C130 88 81 00 0A */ lbz r4, 0xa(r1) -/* 8012F1D4 0012C134 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8012F1D8 0012C138 98 85 00 00 */ stb r4, 0(r5) -/* 8012F1DC 0012C13C 41 82 00 10 */ beq lbl_8012F1EC -/* 8012F1E0 0012C140 FC 1C D8 40 */ fcmpo cr0, f28, f27 -/* 8012F1E4 0012C144 40 80 00 08 */ bge lbl_8012F1EC -/* 8012F1E8 0012C148 FF 60 E0 90 */ fmr f27, f28 -lbl_8012F1EC: -/* 8012F1EC 0012C14C 28 00 00 00 */ cmplwi r0, 0 -/* 8012F1F0 0012C150 41 82 00 10 */ beq lbl_8012F200 -/* 8012F1F4 0012C154 FC 1C D0 40 */ fcmpo cr0, f28, f26 -/* 8012F1F8 0012C158 40 81 00 08 */ ble lbl_8012F200 -/* 8012F1FC 0012C15C FF 40 E0 90 */ fmr f26, f28 -lbl_8012F200: -/* 8012F200 0012C160 EF 9C 00 2A */ fadds f28, f28, f0 -/* 8012F204 0012C164 38 A5 00 01 */ addi r5, r5, 1 -/* 8012F208 0012C168 42 00 FF 28 */ bdnz lbl_8012F130 -/* 8012F20C 0012C16C ED A2 06 F2 */ fmuls f13, f2, f27 -/* 8012F210 0012C170 F1 A1 A0 09 */ psq_st f13, 9(r1), 1, qr2 -/* 8012F214 0012C174 38 8D 8B 18 */ addi r4, r13, lbl_805A76D8@sda21 -/* 8012F218 0012C178 88 A1 00 09 */ lbz r5, 9(r1) -/* 8012F21C 0012C17C 38 05 FF FF */ addi r0, r5, -1 -/* 8012F220 0012C180 7C 06 00 00 */ cmpw r6, r0 -/* 8012F224 0012C184 90 01 00 10 */ stw r0, 0x10(r1) -/* 8012F228 0012C188 40 80 00 08 */ bge lbl_8012F230 -/* 8012F22C 0012C18C 38 81 00 10 */ addi r4, r1, 0x10 -lbl_8012F230: -/* 8012F230 0012C190 EF E2 06 B2 */ fmuls f31, f2, f26 -/* 8012F234 0012C194 80 04 00 00 */ lwz r0, 0(r4) -/* 8012F238 0012C198 98 08 00 00 */ stb r0, 0(r8) -/* 8012F23C 0012C19C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 8012F240 0012C1A0 38 8D 8B 1C */ addi r4, r13, lbl_805A76DC@sda21 -/* 8012F244 0012C1A4 88 A1 00 08 */ lbz r5, 8(r1) -/* 8012F248 0012C1A8 38 05 00 01 */ addi r0, r5, 1 -/* 8012F24C 0012C1AC 7C 00 18 00 */ cmpw r0, r3 -/* 8012F250 0012C1B0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8012F254 0012C1B4 40 80 00 08 */ bge lbl_8012F25C -/* 8012F258 0012C1B8 38 81 00 0C */ addi r4, r1, 0xc -lbl_8012F25C: -/* 8012F25C 0012C1BC 80 04 00 00 */ lwz r0, 0(r4) -/* 8012F260 0012C1C0 39 4A 00 01 */ addi r10, r10, 1 -/* 8012F264 0012C1C4 2C 0A 00 40 */ cmpwi r10, 0x40 -/* 8012F268 0012C1C8 EF BD 00 2A */ fadds f29, f29, f0 -/* 8012F26C 0012C1CC 98 09 00 00 */ stb r0, 0(r9) -/* 8012F270 0012C1D0 39 08 00 01 */ addi r8, r8, 1 -/* 8012F274 0012C1D4 39 29 00 01 */ addi r9, r9, 1 -/* 8012F278 0012C1D8 38 E7 00 40 */ addi r7, r7, 0x40 -/* 8012F27C 0012C1DC 41 80 FE 9C */ blt lbl_8012F118 -/* 8012F280 0012C1E0 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8012F284 0012C1E4 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 8012F288 0012C1E8 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 8012F28C 0012C1EC CB C1 00 60 */ lfd f30, 0x60(r1) -/* 8012F290 0012C1F0 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8012F294 0012C1F4 CB A1 00 50 */ lfd f29, 0x50(r1) -/* 8012F298 0012C1F8 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 8012F29C 0012C1FC CB 81 00 40 */ lfd f28, 0x40(r1) -/* 8012F2A0 0012C200 E3 61 00 38 */ psq_l f27, 56(r1), 0, qr0 -/* 8012F2A4 0012C204 CB 61 00 30 */ lfd f27, 0x30(r1) -/* 8012F2A8 0012C208 E3 41 00 28 */ psq_l f26, 40(r1), 0, qr0 -/* 8012F2AC 0012C20C CB 41 00 20 */ lfd f26, 0x20(r1) -/* 8012F2B0 0012C210 38 21 00 80 */ addi r1, r1, 0x80 -/* 8012F2B4 0012C214 4E 80 00 20 */ blr - -.global CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb -CreateSplash__18CFluidPlaneManagerF9TUniqueIdR13CStateManagerRC12CScriptWaterRC9CVector3ffb: -/* 8012F2B8 0012C218 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 8012F2BC 0012C21C 7C 08 02 A6 */ mflr r0 -/* 8012F2C0 0012C220 90 01 01 04 */ stw r0, 0x104(r1) -/* 8012F2C4 0012C224 DB E1 00 F0 */ stfd f31, 0xf0(r1) -/* 8012F2C8 0012C228 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 -/* 8012F2CC 0012C22C DB C1 00 E0 */ stfd f30, 0xe0(r1) -/* 8012F2D0 0012C230 F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 -/* 8012F2D4 0012C234 BF 01 00 C0 */ stmw r24, 0xc0(r1) -/* 8012F2D8 0012C238 FF C0 08 90 */ fmr f30, f1 -/* 8012F2DC 0012C23C 7C DC 33 78 */ mr r28, r6 -/* 8012F2E0 0012C240 7C FD 3B 78 */ mr r29, r7 -/* 8012F2E4 0012C244 7C 79 1B 78 */ mr r25, r3 -/* 8012F2E8 0012C248 7C 98 23 78 */ mr r24, r4 -/* 8012F2EC 0012C24C 7C BB 2B 78 */ mr r27, r5 -/* 8012F2F0 0012C250 7D 1E 43 78 */ mr r30, r8 -/* 8012F2F4 0012C254 7F 83 E3 78 */ mr r3, r28 -/* 8012F2F8 0012C258 7F A4 EB 78 */ mr r4, r29 -/* 8012F2FC 0012C25C 4B FC F9 B5 */ bl CanRippleAtPoint__12CScriptWaterCFRC9CVector3f -/* 8012F300 0012C260 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012F304 0012C264 41 82 02 58 */ beq lbl_8012F55C -/* 8012F308 0012C268 C0 22 98 F8 */ lfs f1, lbl_805AB618@sda21(r2) -/* 8012F30C 0012C26C 38 D9 00 1C */ addi r6, r25, 0x1c -/* 8012F310 0012C270 38 99 00 18 */ addi r4, r25, 0x18 -/* 8012F314 0012C274 38 A0 00 00 */ li r5, 0 -/* 8012F318 0012C278 48 00 00 1C */ b lbl_8012F334 -lbl_8012F31C: -/* 8012F31C 0012C27C C0 06 00 00 */ lfs f0, 0(r6) -/* 8012F320 0012C280 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8012F324 0012C284 40 81 00 0C */ ble lbl_8012F330 -/* 8012F328 0012C288 7C C5 33 78 */ mr r5, r6 -/* 8012F32C 0012C28C FC 20 00 90 */ fmr f1, f0 -lbl_8012F330: -/* 8012F330 0012C290 38 C6 00 08 */ addi r6, r6, 8 -lbl_8012F334: -/* 8012F334 0012C294 80 04 00 00 */ lwz r0, 0(r4) -/* 8012F338 0012C298 54 00 18 38 */ slwi r0, r0, 3 -/* 8012F33C 0012C29C 7C 64 02 14 */ add r3, r4, r0 -/* 8012F340 0012C2A0 38 03 00 04 */ addi r0, r3, 4 -/* 8012F344 0012C2A4 7C 06 00 40 */ cmplw r6, r0 -/* 8012F348 0012C2A8 40 82 FF D4 */ bne lbl_8012F31C -/* 8012F34C 0012C2AC A0 18 00 00 */ lhz r0, 0(r24) -/* 8012F350 0012C2B0 28 05 00 00 */ cmplwi r5, 0 -/* 8012F354 0012C2B4 C0 02 98 F8 */ lfs f0, lbl_805AB618@sda21(r2) -/* 8012F358 0012C2B8 B0 01 00 18 */ sth r0, 0x18(r1) -/* 8012F35C 0012C2BC D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8012F360 0012C2C0 B0 01 00 40 */ sth r0, 0x40(r1) -/* 8012F364 0012C2C4 41 82 00 10 */ beq lbl_8012F374 -/* 8012F368 0012C2C8 D0 05 00 00 */ stfs f0, 0(r5) -/* 8012F36C 0012C2CC B0 05 00 04 */ sth r0, 4(r5) -/* 8012F370 0012C2D0 48 00 00 20 */ b lbl_8012F390 -lbl_8012F374: -/* 8012F374 0012C2D4 34 63 00 04 */ addic. r3, r3, 4 -/* 8012F378 0012C2D8 41 82 00 0C */ beq lbl_8012F384 -/* 8012F37C 0012C2DC D0 03 00 00 */ stfs f0, 0(r3) -/* 8012F380 0012C2E0 B0 03 00 04 */ sth r0, 4(r3) -lbl_8012F384: -/* 8012F384 0012C2E4 80 64 00 00 */ lwz r3, 0(r4) -/* 8012F388 0012C2E8 38 03 00 01 */ addi r0, r3, 1 -/* 8012F38C 0012C2EC 90 04 00 00 */ stw r0, 0(r4) -lbl_8012F390: -/* 8012F390 0012C2F0 FC 20 F0 90 */ fmr f1, f30 -/* 8012F394 0012C2F4 7F 83 E3 78 */ mr r3, r28 -/* 8012F398 0012C2F8 4B FD 02 89 */ bl GetSplashEffectScale__12CScriptWaterCFf -/* 8012F39C 0012C2FC FF E0 08 90 */ fmr f31, f1 -/* 8012F3A0 0012C300 7F 83 E3 78 */ mr r3, r28 -/* 8012F3A4 0012C304 FC 20 F0 90 */ fmr f1, f30 -/* 8012F3A8 0012C308 4B FD 03 55 */ bl GetSplashEffect__12CScriptWaterCFf -/* 8012F3AC 0012C30C 88 03 00 0C */ lbz r0, 0xc(r3) -/* 8012F3B0 0012C310 28 00 00 00 */ cmplwi r0, 0 -/* 8012F3B4 0012C314 41 82 01 5C */ beq lbl_8012F510 -/* 8012F3B8 0012C318 3C 60 80 3D */ lis r3, lbl_803D0038@ha -/* 8012F3BC 0012C31C 3B 40 00 00 */ li r26, 0 -/* 8012F3C0 0012C320 38 83 00 38 */ addi r4, r3, lbl_803D0038@l -/* 8012F3C4 0012C324 3B 20 00 00 */ li r25, 0 -/* 8012F3C8 0012C328 38 60 01 00 */ li r3, 0x100 -/* 8012F3CC 0012C32C 38 A0 00 00 */ li r5, 0 -/* 8012F3D0 0012C330 48 1E 64 9D */ bl __nw__FUlPCcPCc -/* 8012F3D4 0012C334 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8012F3D8 0012C338 41 82 00 C8 */ beq lbl_8012F4A0 -/* 8012F3DC 0012C33C 3C 60 80 3D */ lis r3, lbl_803D0038@ha -/* 8012F3E0 0012C340 D3 E1 00 60 */ stfs f31, 0x60(r1) -/* 8012F3E4 0012C344 38 83 00 38 */ addi r4, r3, lbl_803D0038@l -/* 8012F3E8 0012C348 38 61 00 50 */ addi r3, r1, 0x50 -/* 8012F3EC 0012C34C D3 E1 00 64 */ stfs f31, 0x64(r1) -/* 8012F3F0 0012C350 38 84 00 07 */ addi r4, r4, 7 -/* 8012F3F4 0012C354 D3 E1 00 68 */ stfs f31, 0x68(r1) -/* 8012F3F8 0012C358 4B ED 58 C1 */ bl string_l__4rstlFPCc -/* 8012F3FC 0012C35C 80 1C 00 04 */ lwz r0, 4(r28) -/* 8012F400 0012C360 3C 60 80 57 */ lis r3, lbl_8056D410@ha -/* 8012F404 0012C364 80 CD A3 88 */ lwz r6, lbl_805A8F48@sda21(r13) -/* 8012F408 0012C368 38 A3 D4 10 */ addi r5, r3, lbl_8056D410@l -/* 8012F40C 0012C36C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8012F410 0012C370 38 61 00 6C */ addi r3, r1, 0x6c -/* 8012F414 0012C374 38 81 00 34 */ addi r4, r1, 0x34 -/* 8012F418 0012C378 3B 40 00 01 */ li r26, 1 -/* 8012F41C 0012C37C 90 C1 00 38 */ stw r6, 0x38(r1) -/* 8012F420 0012C380 38 C1 00 38 */ addi r6, r1, 0x38 -/* 8012F424 0012C384 90 01 00 34 */ stw r0, 0x34(r1) -/* 8012F428 0012C388 4B F2 20 5D */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8012F42C 0012C38C 7F 64 DB 78 */ mr r4, r27 -/* 8012F430 0012C390 38 61 00 10 */ addi r3, r1, 0x10 -/* 8012F434 0012C394 3B 20 00 01 */ li r25, 1 -/* 8012F438 0012C398 4B F1 DC A5 */ bl AllocateUniqueId__13CStateManagerFv -/* 8012F43C 0012C39C A0 01 00 10 */ lhz r0, 0x10(r1) -/* 8012F440 0012C3A0 FC 20 F0 90 */ fmr f1, f30 -/* 8012F444 0012C3A4 7F 83 E3 78 */ mr r3, r28 -/* 8012F448 0012C3A8 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8012F44C 0012C3AC 4B FD 02 B1 */ bl GetSplashEffect__12CScriptWaterCFf -/* 8012F450 0012C3B0 3C 80 80 5A */ lis r4, lbl_805A65FC@ha -/* 8012F454 0012C3B4 7C 78 1B 78 */ mr r24, r3 -/* 8012F458 0012C3B8 38 84 65 FC */ addi r4, r4, lbl_805A65FC@l -/* 8012F45C 0012C3BC 7F A5 EB 78 */ mr r5, r29 -/* 8012F460 0012C3C0 38 61 00 84 */ addi r3, r1, 0x84 -/* 8012F464 0012C3C4 48 1E 3E 15 */ bl __ct__12CTransform4fFRC9CMatrix3fRC9CVector3f -/* 8012F468 0012C3C8 38 01 00 60 */ addi r0, r1, 0x60 -/* 8012F46C 0012C3CC 7C 69 1B 78 */ mr r9, r3 -/* 8012F470 0012C3D0 90 01 00 08 */ stw r0, 8(r1) -/* 8012F474 0012C3D4 38 1C 02 A4 */ addi r0, r28, 0x2a4 -/* 8012F478 0012C3D8 7F E3 FB 78 */ mr r3, r31 -/* 8012F47C 0012C3DC 7F 04 C3 78 */ mr r4, r24 -/* 8012F480 0012C3E0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8012F484 0012C3E4 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8012F488 0012C3E8 38 E1 00 6C */ addi r7, r1, 0x6c -/* 8012F48C 0012C3EC 39 01 00 50 */ addi r8, r1, 0x50 -/* 8012F490 0012C3F0 38 C0 00 01 */ li r6, 1 -/* 8012F494 0012C3F4 39 40 00 01 */ li r10, 1 -/* 8012F498 0012C3F8 4B F2 B6 61 */ bl "__ct__10CExplosionFRC31TLockedToken<15CGenDescription>9TUniqueIdbRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4fUiRC9CVector3fRC6CColor" -/* 8012F49C 0012C3FC 7C 7F 1B 78 */ mr r31, r3 -lbl_8012F4A0: -/* 8012F4A0 0012C400 7F 20 07 75 */ extsb. r0, r25 -/* 8012F4A4 0012C404 7F F8 FB 78 */ mr r24, r31 -/* 8012F4A8 0012C408 41 82 00 44 */ beq lbl_8012F4EC -/* 8012F4AC 0012C40C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8012F4B0 0012C410 80 61 00 7C */ lwz r3, 0x7c(r1) -/* 8012F4B4 0012C414 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8012F4B8 0012C418 90 61 00 20 */ stw r3, 0x20(r1) -/* 8012F4BC 0012C41C 7C 64 1B 78 */ mr r4, r3 -/* 8012F4C0 0012C420 7C 03 02 14 */ add r0, r3, r0 -/* 8012F4C4 0012C424 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8012F4C8 0012C428 90 01 00 28 */ stw r0, 0x28(r1) -/* 8012F4CC 0012C42C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8012F4D0 0012C430 48 00 00 08 */ b lbl_8012F4D8 -lbl_8012F4D4: -/* 8012F4D4 0012C434 38 84 00 0C */ addi r4, r4, 0xc -lbl_8012F4D8: -/* 8012F4D8 0012C438 7C 04 00 40 */ cmplw r4, r0 -/* 8012F4DC 0012C43C 40 82 FF F8 */ bne lbl_8012F4D4 -/* 8012F4E0 0012C440 28 03 00 00 */ cmplwi r3, 0 -/* 8012F4E4 0012C444 41 82 00 08 */ beq lbl_8012F4EC -/* 8012F4E8 0012C448 48 1E 64 49 */ bl Free__7CMemoryFPCv -lbl_8012F4EC: -/* 8012F4EC 0012C44C 7F 40 07 75 */ extsb. r0, r26 -/* 8012F4F0 0012C450 41 82 00 0C */ beq lbl_8012F4FC -/* 8012F4F4 0012C454 38 61 00 50 */ addi r3, r1, 0x50 -/* 8012F4F8 0012C458 48 20 E5 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_8012F4FC: -/* 8012F4FC 0012C45C 28 18 00 00 */ cmplwi r24, 0 -/* 8012F500 0012C460 41 82 00 10 */ beq lbl_8012F510 -/* 8012F504 0012C464 7F 63 DB 78 */ mr r3, r27 -/* 8012F508 0012C468 7F 04 C3 78 */ mr r4, r24 -/* 8012F50C 0012C46C 4B F1 D6 09 */ bl AddObject__13CStateManagerFR7CEntity -lbl_8012F510: -/* 8012F510 0012C470 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 8012F514 0012C474 41 82 00 48 */ beq lbl_8012F55C -/* 8012F518 0012C478 C0 42 98 F8 */ lfs f2, lbl_805AB618@sda21(r2) -/* 8012F51C 0012C47C FC 20 F0 90 */ fmr f1, f30 -/* 8012F520 0012C480 C0 02 98 FC */ lfs f0, lbl_805AB61C@sda21(r2) -/* 8012F524 0012C484 7F 83 E3 78 */ mr r3, r28 -/* 8012F528 0012C488 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 8012F52C 0012C48C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8012F530 0012C490 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8012F534 0012C494 4B FD 01 91 */ bl GetSplashSound__12CScriptWaterCFf -/* 8012F538 0012C498 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8012F53C 0012C49C 7C 64 1B 78 */ mr r4, r3 -/* 8012F540 0012C4A0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8012F544 0012C4A4 7F A5 EB 78 */ mr r5, r29 -/* 8012F548 0012C4A8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8012F54C 0012C4AC 38 C1 00 44 */ addi r6, r1, 0x44 -/* 8012F550 0012C4B0 38 E0 00 01 */ li r7, 1 -/* 8012F554 0012C4B4 39 00 00 00 */ li r8, 0 -/* 8012F558 0012C4B8 48 1B AD 59 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -lbl_8012F55C: -/* 8012F55C 0012C4BC E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 -/* 8012F560 0012C4C0 CB E1 00 F0 */ lfd f31, 0xf0(r1) -/* 8012F564 0012C4C4 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 -/* 8012F568 0012C4C8 CB C1 00 E0 */ lfd f30, 0xe0(r1) -/* 8012F56C 0012C4CC BB 01 00 C0 */ lmw r24, 0xc0(r1) -/* 8012F570 0012C4D0 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8012F574 0012C4D4 7C 08 03 A6 */ mtlr r0 -/* 8012F578 0012C4D8 38 21 01 00 */ addi r1, r1, 0x100 -/* 8012F57C 0012C4DC 4E 80 00 20 */ blr - -.global GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId -GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId: -/* 8012F580 0012C4E0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012F584 0012C4E4 7C 08 02 A6 */ mflr r0 -/* 8012F588 0012C4E8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012F58C 0012C4EC A0 04 00 00 */ lhz r0, 0(r4) -/* 8012F590 0012C4F0 38 81 00 08 */ addi r4, r1, 8 -/* 8012F594 0012C4F4 B0 01 00 08 */ sth r0, 8(r1) -/* 8012F598 0012C4F8 4B FE DA E9 */ bl GetLastRippleDeltaTime__14CRippleManagerCF9TUniqueId -/* 8012F59C 0012C4FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012F5A0 0012C500 7C 08 03 A6 */ mtlr r0 -/* 8012F5A4 0012C504 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012F5A8 0012C508 4E 80 00 20 */ blr - -.global GetLastSplashDeltaTime__18CFluidPlaneManagerCF9TUniqueId -GetLastSplashDeltaTime__18CFluidPlaneManagerCF9TUniqueId: -/* 8012F5AC 0012C50C C0 22 99 24 */ lfs f1, lbl_805AB644@sda21(r2) -/* 8012F5B0 0012C510 38 C3 00 1C */ addi r6, r3, 0x1c -/* 8012F5B4 0012C514 38 A3 00 18 */ addi r5, r3, 0x18 -/* 8012F5B8 0012C518 48 00 00 28 */ b lbl_8012F5E0 -lbl_8012F5BC: -/* 8012F5BC 0012C51C A0 64 00 00 */ lhz r3, 0(r4) -/* 8012F5C0 0012C520 A0 06 00 04 */ lhz r0, 4(r6) -/* 8012F5C4 0012C524 7C 03 00 40 */ cmplw r3, r0 -/* 8012F5C8 0012C528 40 82 00 14 */ bne lbl_8012F5DC -/* 8012F5CC 0012C52C C0 06 00 00 */ lfs f0, 0(r6) -/* 8012F5D0 0012C530 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012F5D4 0012C534 40 81 00 08 */ ble lbl_8012F5DC -/* 8012F5D8 0012C538 FC 20 00 90 */ fmr f1, f0 -lbl_8012F5DC: -/* 8012F5DC 0012C53C 38 C6 00 08 */ addi r6, r6, 8 -lbl_8012F5E0: -/* 8012F5E0 0012C540 80 05 00 00 */ lwz r0, 0(r5) -/* 8012F5E4 0012C544 54 00 18 38 */ slwi r0, r0, 3 -/* 8012F5E8 0012C548 7C 65 02 14 */ add r3, r5, r0 -/* 8012F5EC 0012C54C 38 03 00 04 */ addi r0, r3, 4 -/* 8012F5F0 0012C550 7C 06 00 40 */ cmplw r6, r0 -/* 8012F5F4 0012C554 40 82 FF C8 */ bne lbl_8012F5BC - -.global sub_8012f5f8 -sub_8012f5f8: -/* 8012F5F8 0012C558 4E 80 00 20 */ blr - -.global EndFrame__18CFluidPlaneManagerCFv -EndFrame__18CFluidPlaneManagerCFv: -/* 8012F5FC 0012C55C 38 00 00 00 */ li r0, 0 -/* 8012F600 0012C560 98 03 01 21 */ stb r0, 0x121(r3) -/* 8012F604 0012C564 4E 80 00 20 */ blr - -.global StartFrame__18CFluidPlaneManagerCFb -StartFrame__18CFluidPlaneManagerCFb: -/* 8012F608 0012C568 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012F60C 0012C56C 7C 08 02 A6 */ mflr r0 -/* 8012F610 0012C570 3C A0 80 57 */ lis r5, lbl_8056F8B4@ha -/* 8012F614 0012C574 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012F618 0012C578 98 83 01 21 */ stb r4, 0x121(r3) -/* 8012F61C 0012C57C 38 65 F8 B4 */ addi r3, r5, lbl_8056F8B4@l -/* 8012F620 0012C580 48 00 01 39 */ bl Clear__Q218CFluidPlaneManager13CFluidProfileFv -/* 8012F624 0012C584 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012F628 0012C588 7C 08 03 A6 */ mtlr r0 -/* 8012F62C 0012C58C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012F630 0012C590 4E 80 00 20 */ blr - -.global Update__18CFluidPlaneManagerFf -Update__18CFluidPlaneManagerFf: -/* 8012F634 0012C594 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8012F638 0012C598 7C 08 02 A6 */ mflr r0 -/* 8012F63C 0012C59C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8012F640 0012C5A0 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 8012F644 0012C5A4 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 8012F648 0012C5A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012F64C 0012C5AC 7C 7F 1B 78 */ mr r31, r3 -/* 8012F650 0012C5B0 FF E0 08 90 */ fmr f31, f1 -/* 8012F654 0012C5B4 C0 03 01 1C */ lfs f0, 0x11c(r3) -/* 8012F658 0012C5B8 EC 1F 00 2A */ fadds f0, f31, f0 -/* 8012F65C 0012C5BC D0 03 01 1C */ stfs f0, 0x11c(r3) -/* 8012F660 0012C5C0 4B FE DA 6D */ bl Update__14CRippleManagerFf -/* 8012F664 0012C5C4 C0 02 99 24 */ lfs f0, lbl_805AB644@sda21(r2) -/* 8012F668 0012C5C8 38 BF 00 1C */ addi r5, r31, 0x1c -/* 8012F66C 0012C5CC 38 9F 00 18 */ addi r4, r31, 0x18 -/* 8012F670 0012C5D0 48 00 00 24 */ b lbl_8012F694 -lbl_8012F674: -/* 8012F674 0012C5D4 C0 25 00 00 */ lfs f1, 0(r5) -/* 8012F678 0012C5D8 EC 3F 08 2A */ fadds f1, f31, f1 -/* 8012F67C 0012C5DC D0 25 00 00 */ stfs f1, 0(r5) -/* 8012F680 0012C5E0 C0 25 00 00 */ lfs f1, 0(r5) -/* 8012F684 0012C5E4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012F688 0012C5E8 40 81 00 08 */ ble lbl_8012F690 -/* 8012F68C 0012C5EC D0 05 00 00 */ stfs f0, 0(r5) -lbl_8012F690: -/* 8012F690 0012C5F0 38 A5 00 08 */ addi r5, r5, 8 -lbl_8012F694: -/* 8012F694 0012C5F4 80 04 00 00 */ lwz r0, 0(r4) -/* 8012F698 0012C5F8 54 00 18 38 */ slwi r0, r0, 3 -/* 8012F69C 0012C5FC 7C 64 02 14 */ add r3, r4, r0 -/* 8012F6A0 0012C600 38 03 00 04 */ addi r0, r3, 4 -/* 8012F6A4 0012C604 7C 05 00 40 */ cmplw r5, r0 -/* 8012F6A8 0012C608 40 82 FF CC */ bne lbl_8012F674 -/* 8012F6AC 0012C60C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8012F6B0 0012C610 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8012F6B4 0012C614 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 8012F6B8 0012C618 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012F6BC 0012C61C 7C 08 03 A6 */ mtlr r0 -/* 8012F6C0 0012C620 38 21 00 20 */ addi r1, r1, 0x20 -/* 8012F6C4 0012C624 4E 80 00 20 */ blr - -.global __ct__18CFluidPlaneManagerFv -__ct__18CFluidPlaneManagerFv: -/* 8012F6C8 0012C628 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012F6CC 0012C62C 7C 08 02 A6 */ mflr r0 -/* 8012F6D0 0012C630 C0 22 99 28 */ lfs f1, lbl_805AB648@sda21(r2) -/* 8012F6D4 0012C634 38 80 00 14 */ li r4, 0x14 -/* 8012F6D8 0012C638 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012F6DC 0012C63C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012F6E0 0012C640 7C 7F 1B 78 */ mr r31, r3 -/* 8012F6E4 0012C644 4B FE DC 01 */ bl __ct__14CRippleManagerFif -/* 8012F6E8 0012C648 38 00 00 00 */ li r0, 0 -/* 8012F6EC 0012C64C 3C 60 80 57 */ lis r3, lbl_8056F8B4@ha -/* 8012F6F0 0012C650 90 1F 00 18 */ stw r0, 0x18(r31) -/* 8012F6F4 0012C654 38 63 F8 B4 */ addi r3, r3, lbl_8056F8B4@l -/* 8012F6F8 0012C658 C0 02 98 F8 */ lfs f0, lbl_805AB618@sda21(r2) -/* 8012F6FC 0012C65C D0 1F 01 1C */ stfs f0, 0x11c(r31) -/* 8012F700 0012C660 98 1F 01 20 */ stb r0, 0x120(r31) -/* 8012F704 0012C664 98 1F 01 21 */ stb r0, 0x121(r31) -/* 8012F708 0012C668 48 00 00 51 */ bl Clear__Q218CFluidPlaneManager13CFluidProfileFv -/* 8012F70C 0012C66C C0 02 99 24 */ lfs f0, lbl_805AB644@sda21(r2) -/* 8012F710 0012C670 38 BF 00 1C */ addi r5, r31, 0x1c -/* 8012F714 0012C674 38 9F 00 18 */ addi r4, r31, 0x18 -/* 8012F718 0012C678 48 00 00 0C */ b lbl_8012F724 -lbl_8012F71C: -/* 8012F71C 0012C67C D0 05 00 00 */ stfs f0, 0(r5) -/* 8012F720 0012C680 38 A5 00 08 */ addi r5, r5, 8 -lbl_8012F724: -/* 8012F724 0012C684 80 04 00 00 */ lwz r0, 0(r4) -/* 8012F728 0012C688 54 00 18 38 */ slwi r0, r0, 3 -/* 8012F72C 0012C68C 7C 64 02 14 */ add r3, r4, r0 -/* 8012F730 0012C690 38 03 00 04 */ addi r0, r3, 4 -/* 8012F734 0012C694 7C 05 00 40 */ cmplw r5, r0 -/* 8012F738 0012C698 40 82 FF E4 */ bne lbl_8012F71C -/* 8012F73C 0012C69C 4B FF F9 65 */ bl SetupRippleMap__18CFluidPlaneManagerFv -/* 8012F740 0012C6A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012F744 0012C6A4 7F E3 FB 78 */ mr r3, r31 -/* 8012F748 0012C6A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012F74C 0012C6AC 7C 08 03 A6 */ mtlr r0 -/* 8012F750 0012C6B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012F754 0012C6B4 4E 80 00 20 */ blr - -.global Clear__Q218CFluidPlaneManager13CFluidProfileFv -Clear__Q218CFluidPlaneManager13CFluidProfileFv: -/* 8012F758 0012C6B8 C0 02 98 F8 */ lfs f0, lbl_805AB618@sda21(r2) -/* 8012F75C 0012C6BC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8012F760 0012C6C0 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8012F764 0012C6C4 D0 03 00 08 */ stfs f0, 8(r3) -/* 8012F768 0012C6C8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8012F76C 0012C6CC D0 03 00 00 */ stfs f0, 0(r3) -/* 8012F770 0012C6D0 4E 80 00 20 */ blr - -.global Accept__19CScriptGrapplePointFR8IVisitor -Accept__19CScriptGrapplePointFR8IVisitor: -/* 8012F774 0012C6D4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012F778 0012C6D8 7C 08 02 A6 */ mflr r0 -/* 8012F77C 0012C6DC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012F780 0012C6E0 7C 60 1B 78 */ mr r0, r3 -/* 8012F784 0012C6E4 7C 83 23 78 */ mr r3, r4 -/* 8012F788 0012C6E8 81 84 00 00 */ lwz r12, 0(r4) -/* 8012F78C 0012C6EC 7C 04 03 78 */ mr r4, r0 -/* 8012F790 0012C6F0 81 8C 00 8C */ lwz r12, 0x8c(r12) -/* 8012F794 0012C6F4 7D 89 03 A6 */ mtctr r12 -/* 8012F798 0012C6F8 4E 80 04 21 */ bctrl -/* 8012F79C 0012C6FC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012F7A0 0012C700 7C 08 03 A6 */ mtlr r0 -/* 8012F7A4 0012C704 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012F7A8 0012C708 4E 80 00 20 */ blr - -.global AcceptScriptMsg__19CScriptGrapplePointF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__19CScriptGrapplePointF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8012F7AC 0012C70C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012F7B0 0012C710 7C 08 02 A6 */ mflr r0 -/* 8012F7B4 0012C714 2C 04 00 04 */ cmpwi r4, 4 -/* 8012F7B8 0012C718 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012F7BC 0012C71C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012F7C0 0012C720 7C 7F 1B 78 */ mr r31, r3 -/* 8012F7C4 0012C724 41 82 00 48 */ beq lbl_8012F80C -/* 8012F7C8 0012C728 40 80 00 74 */ bge lbl_8012F83C -/* 8012F7CC 0012C72C 2C 04 00 01 */ cmpwi r4, 1 -/* 8012F7D0 0012C730 41 82 00 08 */ beq lbl_8012F7D8 -/* 8012F7D4 0012C734 48 00 00 68 */ b lbl_8012F83C -lbl_8012F7D8: -/* 8012F7D8 0012C738 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8012F7DC 0012C73C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012F7E0 0012C740 40 82 00 5C */ bne lbl_8012F83C -/* 8012F7E4 0012C744 7C C5 33 78 */ mr r5, r6 -/* 8012F7E8 0012C748 38 80 00 29 */ li r4, 0x29 -/* 8012F7EC 0012C74C 4B F2 4B 65 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8012F7F0 0012C750 7F E3 FB 78 */ mr r3, r31 -/* 8012F7F4 0012C754 38 80 00 01 */ li r4, 1 -/* 8012F7F8 0012C758 81 9F 00 00 */ lwz r12, 0(r31) -/* 8012F7FC 0012C75C 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8012F800 0012C760 7D 89 03 A6 */ mtctr r12 -/* 8012F804 0012C764 4E 80 04 21 */ bctrl -/* 8012F808 0012C768 48 00 00 34 */ b lbl_8012F83C -lbl_8012F80C: -/* 8012F80C 0012C76C 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 8012F810 0012C770 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012F814 0012C774 41 82 00 28 */ beq lbl_8012F83C -/* 8012F818 0012C778 7C C5 33 78 */ mr r5, r6 -/* 8012F81C 0012C77C 38 80 00 29 */ li r4, 0x29 -/* 8012F820 0012C780 4B F2 47 61 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8012F824 0012C784 7F E3 FB 78 */ mr r3, r31 -/* 8012F828 0012C788 38 80 00 00 */ li r4, 0 -/* 8012F82C 0012C78C 81 9F 00 00 */ lwz r12, 0(r31) -/* 8012F830 0012C790 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8012F834 0012C794 7D 89 03 A6 */ mtctr r12 -/* 8012F838 0012C798 4E 80 04 21 */ bctrl -lbl_8012F83C: -/* 8012F83C 0012C79C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012F840 0012C7A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012F844 0012C7A4 7C 08 03 A6 */ mtlr r0 -/* 8012F848 0012C7A8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012F84C 0012C7AC 4E 80 00 20 */ blr - -.global Think__19CScriptGrapplePointFfR13CStateManager -Think__19CScriptGrapplePointFfR13CStateManager: -/* 8012F850 0012C7B0 4E 80 00 20 */ blr - -.global Render__19CScriptGrapplePointCFRC13CStateManager -Render__19CScriptGrapplePointCFRC13CStateManager: -/* 8012F854 0012C7B4 4E 80 00 20 */ blr - -.global GetTouchBounds__19CScriptGrapplePointCFv -GetTouchBounds__19CScriptGrapplePointCFv: -/* 8012F858 0012C7B8 38 00 00 01 */ li r0, 1 -/* 8012F85C 0012C7BC 28 03 00 00 */ cmplwi r3, 0 -/* 8012F860 0012C7C0 98 03 00 18 */ stb r0, 0x18(r3) -/* 8012F864 0012C7C4 4D 82 00 20 */ beqlr -/* 8012F868 0012C7C8 C0 04 00 E8 */ lfs f0, 0xe8(r4) -/* 8012F86C 0012C7CC D0 03 00 00 */ stfs f0, 0(r3) -/* 8012F870 0012C7D0 C0 04 00 EC */ lfs f0, 0xec(r4) -/* 8012F874 0012C7D4 D0 03 00 04 */ stfs f0, 4(r3) -/* 8012F878 0012C7D8 C0 04 00 F0 */ lfs f0, 0xf0(r4) -/* 8012F87C 0012C7DC D0 03 00 08 */ stfs f0, 8(r3) -/* 8012F880 0012C7E0 C0 04 00 F4 */ lfs f0, 0xf4(r4) -/* 8012F884 0012C7E4 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8012F888 0012C7E8 C0 04 00 F8 */ lfs f0, 0xf8(r4) -/* 8012F88C 0012C7EC D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8012F890 0012C7F0 C0 04 00 FC */ lfs f0, 0xfc(r4) -/* 8012F894 0012C7F4 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8012F898 0012C7F8 4E 80 00 20 */ blr - -.global AddToRenderer__19CScriptGrapplePointCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__19CScriptGrapplePointCFRC14CFrustumPlanesRC13CStateManager: -/* 8012F89C 0012C7FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012F8A0 0012C800 7C 08 02 A6 */ mflr r0 -/* 8012F8A4 0012C804 7C A4 2B 78 */ mr r4, r5 -/* 8012F8A8 0012C808 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012F8AC 0012C80C 4B F2 51 21 */ bl EnsureRendered__6CActorCFRC13CStateManager -/* 8012F8B0 0012C810 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012F8B4 0012C814 7C 08 03 A6 */ mtlr r0 -/* 8012F8B8 0012C818 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012F8BC 0012C81C 4E 80 00 20 */ blr - -.global __dt__19CScriptGrapplePointFv -__dt__19CScriptGrapplePointFv: -/* 8012F8C0 0012C820 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012F8C4 0012C824 7C 08 02 A6 */ mflr r0 -/* 8012F8C8 0012C828 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012F8CC 0012C82C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012F8D0 0012C830 7C 9F 23 78 */ mr r31, r4 -/* 8012F8D4 0012C834 93 C1 00 08 */ stw r30, 8(r1) -/* 8012F8D8 0012C838 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8012F8DC 0012C83C 41 82 00 28 */ beq lbl_8012F904 -/* 8012F8E0 0012C840 3C A0 80 3E */ lis r5, lbl_803E0D00@ha -/* 8012F8E4 0012C844 38 80 00 00 */ li r4, 0 -/* 8012F8E8 0012C848 38 05 0D 00 */ addi r0, r5, lbl_803E0D00@l -/* 8012F8EC 0012C84C 90 1E 00 00 */ stw r0, 0(r30) -/* 8012F8F0 0012C850 4B F2 5E 01 */ bl __dt__6CActorFv -/* 8012F8F4 0012C854 7F E0 07 35 */ extsh. r0, r31 -/* 8012F8F8 0012C858 40 81 00 0C */ ble lbl_8012F904 -/* 8012F8FC 0012C85C 7F C3 F3 78 */ mr r3, r30 -/* 8012F900 0012C860 48 1E 60 31 */ bl Free__7CMemoryFPCv -lbl_8012F904: -/* 8012F904 0012C864 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012F908 0012C868 7F C3 F3 78 */ mr r3, r30 -/* 8012F90C 0012C86C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012F910 0012C870 83 C1 00 08 */ lwz r30, 8(r1) -/* 8012F914 0012C874 7C 08 03 A6 */ mtlr r0 -/* 8012F918 0012C878 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012F91C 0012C87C 4E 80 00 20 */ blr - -.global "__ct__19CScriptGrapplePointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC18CGrappleParameters" -"__ct__19CScriptGrapplePointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC18CGrappleParameters": -/* 8012F920 0012C880 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8012F924 0012C884 7C 08 02 A6 */ mflr r0 -/* 8012F928 0012C888 90 01 01 34 */ stw r0, 0x134(r1) -/* 8012F92C 0012C88C BF 21 01 14 */ stmw r25, 0x114(r1) -/* 8012F930 0012C890 7C 7F 1B 78 */ mr r31, r3 -/* 8012F934 0012C894 7C 99 23 78 */ mr r25, r4 -/* 8012F938 0012C898 7C BA 2B 78 */ mr r26, r5 -/* 8012F93C 0012C89C 7C DB 33 78 */ mr r27, r6 -/* 8012F940 0012C8A0 7C FC 3B 78 */ mr r28, r7 -/* 8012F944 0012C8A4 7D 1D 43 78 */ mr r29, r8 -/* 8012F948 0012C8A8 7D 3E 4B 78 */ mr r30, r9 -/* 8012F94C 0012C8AC 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8012F950 0012C8B0 4B F0 AE 55 */ bl CModelDataNull__10CModelDataFv -/* 8012F954 0012C8B4 38 61 00 50 */ addi r3, r1, 0x50 -/* 8012F958 0012C8B8 4B EE B4 E1 */ bl None__16CActorParametersFv -/* 8012F95C 0012C8BC A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8012F960 0012C8C0 38 00 00 00 */ li r0, 0 -/* 8012F964 0012C8C4 80 AD 8B 20 */ lwz r5, lbl_805A76E0@sda21(r13) -/* 8012F968 0012C8C8 38 60 00 00 */ li r3, 0 -/* 8012F96C 0012C8CC B0 81 00 10 */ sth r4, 0x10(r1) -/* 8012F970 0012C8D0 38 80 00 01 */ li r4, 1 -/* 8012F974 0012C8D4 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8012F978 0012C8D8 90 01 00 18 */ stw r0, 0x18(r1) -/* 8012F97C 0012C8DC 48 25 A5 79 */ bl __shl2i -/* 8012F980 0012C8E0 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8012F984 0012C8E4 39 61 00 50 */ addi r11, r1, 0x50 -/* 8012F988 0012C8E8 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8012F98C 0012C8EC 38 01 00 10 */ addi r0, r1, 0x10 -/* 8012F990 0012C8F0 7C A3 1B 78 */ or r3, r5, r3 -/* 8012F994 0012C8F4 A1 39 00 00 */ lhz r9, 0(r25) -/* 8012F998 0012C8F8 7C C4 23 78 */ or r4, r6, r4 -/* 8012F99C 0012C8FC 90 61 00 18 */ stw r3, 0x18(r1) -/* 8012F9A0 0012C900 7F E3 FB 78 */ mr r3, r31 -/* 8012F9A4 0012C904 7F A5 EB 78 */ mr r5, r29 -/* 8012F9A8 0012C908 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8012F9AC 0012C90C 7F 46 D3 78 */ mr r6, r26 -/* 8012F9B0 0012C910 7F 67 DB 78 */ mr r7, r27 -/* 8012F9B4 0012C914 7F 88 E3 78 */ mr r8, r28 -/* 8012F9B8 0012C918 B1 21 00 14 */ sth r9, 0x14(r1) -/* 8012F9BC 0012C91C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8012F9C0 0012C920 39 21 00 B8 */ addi r9, r1, 0xb8 -/* 8012F9C4 0012C924 39 41 00 18 */ addi r10, r1, 0x18 -/* 8012F9C8 0012C928 91 61 00 08 */ stw r11, 8(r1) -/* 8012F9CC 0012C92C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8012F9D0 0012C930 4B F2 5E 51 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8012F9D4 0012C934 38 61 00 50 */ addi r3, r1, 0x50 -/* 8012F9D8 0012C938 38 80 FF FF */ li r4, -1 -/* 8012F9DC 0012C93C 4B FD 6C 2D */ bl __dt__16CActorParametersFv -/* 8012F9E0 0012C940 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8012F9E4 0012C944 38 80 FF FF */ li r4, -1 -/* 8012F9E8 0012C948 4B FE 70 65 */ bl __dt__10CModelDataFv -/* 8012F9EC 0012C94C 3C 60 80 3E */ lis r3, lbl_803E0D00@ha -/* 8012F9F0 0012C950 C0 02 99 30 */ lfs f0, lbl_805AB650@sda21(r2) -/* 8012F9F4 0012C954 38 03 0D 00 */ addi r0, r3, lbl_803E0D00@l -/* 8012F9F8 0012C958 38 7F 00 E8 */ addi r3, r31, 0xe8 -/* 8012F9FC 0012C95C 90 1F 00 00 */ stw r0, 0(r31) -/* 8012FA00 0012C960 38 81 00 44 */ addi r4, r1, 0x44 -/* 8012FA04 0012C964 38 A1 00 2C */ addi r5, r1, 0x2c -/* 8012FA08 0012C968 C1 1F 00 60 */ lfs f8, 0x60(r31) -/* 8012FA0C 0012C96C C0 FF 00 50 */ lfs f7, 0x50(r31) -/* 8012FA10 0012C970 C0 DF 00 40 */ lfs f6, 0x40(r31) -/* 8012FA14 0012C974 EC 88 00 2A */ fadds f4, f8, f0 -/* 8012FA18 0012C978 EC A7 00 2A */ fadds f5, f7, f0 -/* 8012FA1C 0012C97C D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 8012FA20 0012C980 EC 26 00 2A */ fadds f1, f6, f0 -/* 8012FA24 0012C984 EC 67 00 28 */ fsubs f3, f7, f0 -/* 8012FA28 0012C988 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 8012FA2C 0012C98C EC 48 00 28 */ fsubs f2, f8, f0 -/* 8012FA30 0012C990 EC 06 00 28 */ fsubs f0, f6, f0 -/* 8012FA34 0012C994 D1 01 00 28 */ stfs f8, 0x28(r1) -/* 8012FA38 0012C998 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8012FA3C 0012C99C D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 8012FA40 0012C9A0 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 8012FA44 0012C9A4 D0 C1 00 38 */ stfs f6, 0x38(r1) -/* 8012FA48 0012C9A8 D0 E1 00 3C */ stfs f7, 0x3c(r1) -/* 8012FA4C 0012C9AC D1 01 00 40 */ stfs f8, 0x40(r1) -/* 8012FA50 0012C9B0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8012FA54 0012C9B4 D0 61 00 48 */ stfs f3, 0x48(r1) -/* 8012FA58 0012C9B8 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8012FA5C 0012C9BC 48 20 8A AD */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8012FA60 0012C9C0 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8012FA64 0012C9C4 7F E3 FB 78 */ mr r3, r31 -/* 8012FA68 0012C9C8 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 8012FA6C 0012C9CC C0 1E 00 04 */ lfs f0, 4(r30) -/* 8012FA70 0012C9D0 D0 1F 01 04 */ stfs f0, 0x104(r31) -/* 8012FA74 0012C9D4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8012FA78 0012C9D8 D0 1F 01 08 */ stfs f0, 0x108(r31) -/* 8012FA7C 0012C9DC C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8012FA80 0012C9E0 D0 1F 01 0C */ stfs f0, 0x10c(r31) -/* 8012FA84 0012C9E4 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 8012FA88 0012C9E8 D0 1F 01 10 */ stfs f0, 0x110(r31) -/* 8012FA8C 0012C9EC C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 8012FA90 0012C9F0 D0 1F 01 14 */ stfs f0, 0x114(r31) -/* 8012FA94 0012C9F4 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 8012FA98 0012C9F8 D0 1F 01 18 */ stfs f0, 0x118(r31) -/* 8012FA9C 0012C9FC C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 8012FAA0 0012CA00 D0 1F 01 1C */ stfs f0, 0x11c(r31) -/* 8012FAA4 0012CA04 C0 1E 00 20 */ lfs f0, 0x20(r30) -/* 8012FAA8 0012CA08 D0 1F 01 20 */ stfs f0, 0x120(r31) -/* 8012FAAC 0012CA0C C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 8012FAB0 0012CA10 D0 1F 01 24 */ stfs f0, 0x124(r31) -/* 8012FAB4 0012CA14 C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 8012FAB8 0012CA18 D0 1F 01 28 */ stfs f0, 0x128(r31) -/* 8012FABC 0012CA1C 88 1E 00 2C */ lbz r0, 0x2c(r30) -/* 8012FAC0 0012CA20 98 1F 01 2C */ stb r0, 0x12c(r31) -/* 8012FAC4 0012CA24 BB 21 01 14 */ lmw r25, 0x114(r1) -/* 8012FAC8 0012CA28 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8012FACC 0012CA2C 7C 08 03 A6 */ mtlr r0 -/* 8012FAD0 0012CA30 38 21 01 30 */ addi r1, r1, 0x130 -/* 8012FAD4 0012CA34 4E 80 00 20 */ blr - -.global Accept__19CHUDBillboardEffectFR8IVisitor -Accept__19CHUDBillboardEffectFR8IVisitor: -/* 8012FAD8 0012CA38 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012FADC 0012CA3C 7C 08 02 A6 */ mflr r0 -/* 8012FAE0 0012CA40 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012FAE4 0012CA44 7C 60 1B 78 */ mr r0, r3 -/* 8012FAE8 0012CA48 7C 83 23 78 */ mr r3, r4 -/* 8012FAEC 0012CA4C 81 84 00 00 */ lwz r12, 0(r4) -/* 8012FAF0 0012CA50 7C 04 03 78 */ mr r4, r0 -/* 8012FAF4 0012CA54 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 8012FAF8 0012CA58 7D 89 03 A6 */ mtctr r12 -/* 8012FAFC 0012CA5C 4E 80 04 21 */ bctrl -/* 8012FB00 0012CA60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012FB04 0012CA64 7C 08 03 A6 */ mtlr r0 -/* 8012FB08 0012CA68 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012FB0C 0012CA6C 4E 80 00 20 */ blr - -.global Think__19CHUDBillboardEffectFfR13CStateManager -Think__19CHUDBillboardEffectFfR13CStateManager: -/* 8012FB10 0012CA70 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8012FB14 0012CA74 7C 08 02 A6 */ mflr r0 -/* 8012FB18 0012CA78 90 01 00 54 */ stw r0, 0x54(r1) -/* 8012FB1C 0012CA7C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8012FB20 0012CA80 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8012FB24 0012CA84 DB C1 00 30 */ stfd f30, 0x30(r1) -/* 8012FB28 0012CA88 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 8012FB2C 0012CA8C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8012FB30 0012CA90 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8012FB34 0012CA94 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8012FB38 0012CA98 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8012FB3C 0012CA9C FF C0 08 90 */ fmr f30, f1 -/* 8012FB40 0012CAA0 7C 7D 1B 78 */ mr r29, r3 -/* 8012FB44 0012CAA4 7C 9E 23 78 */ mr r30, r4 -/* 8012FB48 0012CAA8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8012FB4C 0012CAAC 41 82 01 04 */ beq lbl_8012FC50 -/* 8012FB50 0012CAB0 80 DE 08 50 */ lwz r6, 0x850(r30) -/* 8012FB54 0012CAB4 7F C3 F3 78 */ mr r3, r30 -/* 8012FB58 0012CAB8 7F A4 EB 78 */ mr r4, r29 -/* 8012FB5C 0012CABC 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8012FB60 0012CAC0 80 06 00 68 */ lwz r0, 0x68(r6) -/* 8012FB64 0012CAC4 90 01 00 18 */ stw r0, 0x18(r1) -/* 8012FB68 0012CAC8 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8012FB6C 0012CACC 4B F1 57 0D */ bl SetActorAreaId__13CStateManagerFR6CActor7TAreaId -/* 8012FB70 0012CAD0 80 7D 00 E8 */ lwz r3, 0xe8(r29) -/* 8012FB74 0012CAD4 81 83 00 00 */ lwz r12, 0(r3) -/* 8012FB78 0012CAD8 81 8C 00 54 */ lwz r12, 0x54(r12) -/* 8012FB7C 0012CADC 7D 89 03 A6 */ mtctr r12 -/* 8012FB80 0012CAE0 4E 80 04 21 */ bctrl -/* 8012FB84 0012CAE4 FF E0 08 90 */ fmr f31, f1 -/* 8012FB88 0012CAE8 83 FD 00 E8 */ lwz r31, 0xe8(r29) -/* 8012FB8C 0012CAEC 48 00 06 D9 */ bl CalcGenRate__19CHudBillboardEffectFv -/* 8012FB90 0012CAF0 81 9F 00 00 */ lwz r12, 0(r31) -/* 8012FB94 0012CAF4 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8012FB98 0012CAF8 7F E3 FB 78 */ mr r3, r31 -/* 8012FB9C 0012CAFC 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8012FBA0 0012CB00 7D 89 03 A6 */ mtctr r12 -/* 8012FBA4 0012CB04 4E 80 04 21 */ bctrl -/* 8012FBA8 0012CB08 80 7D 00 E8 */ lwz r3, 0xe8(r29) -/* 8012FBAC 0012CB0C FC 20 F0 90 */ fmr f1, f30 -/* 8012FBB0 0012CB10 81 83 00 00 */ lwz r12, 0(r3) -/* 8012FBB4 0012CB14 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8012FBB8 0012CB18 7D 89 03 A6 */ mtctr r12 -/* 8012FBBC 0012CB1C 4E 80 04 21 */ bctrl -/* 8012FBC0 0012CB20 80 7D 00 E8 */ lwz r3, 0xe8(r29) -/* 8012FBC4 0012CB24 FC 20 F8 90 */ fmr f1, f31 -/* 8012FBC8 0012CB28 81 83 00 00 */ lwz r12, 0(r3) -/* 8012FBCC 0012CB2C 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8012FBD0 0012CB30 7D 89 03 A6 */ mtctr r12 -/* 8012FBD4 0012CB34 4E 80 04 21 */ bctrl -/* 8012FBD8 0012CB38 88 1D 01 04 */ lbz r0, 0x104(r29) -/* 8012FBDC 0012CB3C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8012FBE0 0012CB40 40 82 00 3C */ bne lbl_8012FC1C -/* 8012FBE4 0012CB44 C0 3D 01 08 */ lfs f1, 0x108(r29) -/* 8012FBE8 0012CB48 C0 02 99 38 */ lfs f0, lbl_805AB658@sda21(r2) -/* 8012FBEC 0012CB4C EC 21 F0 2A */ fadds f1, f1, f30 -/* 8012FBF0 0012CB50 D0 3D 01 08 */ stfs f1, 0x108(r29) -/* 8012FBF4 0012CB54 C0 3D 01 08 */ lfs f1, 0x108(r29) -/* 8012FBF8 0012CB58 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8012FBFC 0012CB5C 40 81 00 20 */ ble lbl_8012FC1C -/* 8012FC00 0012CB60 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8012FC04 0012CB64 7F C3 F3 78 */ mr r3, r30 -/* 8012FC08 0012CB68 38 81 00 14 */ addi r4, r1, 0x14 -/* 8012FC0C 0012CB6C B0 01 00 10 */ sth r0, 0x10(r1) -/* 8012FC10 0012CB70 B0 01 00 14 */ sth r0, 0x14(r1) -/* 8012FC14 0012CB74 4B F1 C6 59 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 8012FC18 0012CB78 48 00 00 38 */ b lbl_8012FC50 -lbl_8012FC1C: -/* 8012FC1C 0012CB7C 80 7D 00 E8 */ lwz r3, 0xe8(r29) -/* 8012FC20 0012CB80 81 83 00 00 */ lwz r12, 0(r3) -/* 8012FC24 0012CB84 81 8C 00 58 */ lwz r12, 0x58(r12) -/* 8012FC28 0012CB88 7D 89 03 A6 */ mtctr r12 -/* 8012FC2C 0012CB8C 4E 80 04 21 */ bctrl -/* 8012FC30 0012CB90 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012FC34 0012CB94 41 82 00 1C */ beq lbl_8012FC50 -/* 8012FC38 0012CB98 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8012FC3C 0012CB9C 7F C3 F3 78 */ mr r3, r30 -/* 8012FC40 0012CBA0 38 81 00 0C */ addi r4, r1, 0xc -/* 8012FC44 0012CBA4 B0 01 00 08 */ sth r0, 8(r1) -/* 8012FC48 0012CBA8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8012FC4C 0012CBAC 4B F1 C6 21 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_8012FC50: -/* 8012FC50 0012CBB0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8012FC54 0012CBB4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8012FC58 0012CBB8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 8012FC5C 0012CBBC CB C1 00 30 */ lfd f30, 0x30(r1) -/* 8012FC60 0012CBC0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8012FC64 0012CBC4 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8012FC68 0012CBC8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8012FC6C 0012CBCC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8012FC70 0012CBD0 7C 08 03 A6 */ mtlr r0 -/* 8012FC74 0012CBD4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8012FC78 0012CBD8 4E 80 00 20 */ blr - -.global SetGeneratorRate__12CParticleGenFf -SetGeneratorRate__12CParticleGenFf: -/* 8012FC7C 0012CBDC 4E 80 00 20 */ blr - -.global GetGeneratorRate__12CParticleGenCFv -GetGeneratorRate__12CParticleGenCFv: -/* 8012FC80 0012CBE0 C0 22 99 3C */ lfs f1, lbl_805AB65C@sda21(r2) -/* 8012FC84 0012CBE4 4E 80 00 20 */ blr - -.global Render__19CHUDBillboardEffectCFRC13CStateManager -Render__19CHUDBillboardEffectCFRC13CStateManager: -/* 8012FC88 0012CBE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012FC8C 0012CBEC 7C 08 02 A6 */ mflr r0 -/* 8012FC90 0012CBF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012FC94 0012CBF4 88 83 01 04 */ lbz r4, 0x104(r3) -/* 8012FC98 0012CBF8 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 8012FC9C 0012CBFC 41 82 00 20 */ beq lbl_8012FCBC -/* 8012FCA0 0012CC00 54 80 CF FF */ rlwinm. r0, r4, 0x19, 0x1f, 0x1f -/* 8012FCA4 0012CC04 40 82 00 18 */ bne lbl_8012FCBC -/* 8012FCA8 0012CC08 80 63 00 E8 */ lwz r3, 0xe8(r3) -/* 8012FCAC 0012CC0C 81 83 00 00 */ lwz r12, 0(r3) -/* 8012FCB0 0012CC10 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 8012FCB4 0012CC14 7D 89 03 A6 */ mtctr r12 -/* 8012FCB8 0012CC18 4E 80 04 21 */ bctrl -lbl_8012FCBC: -/* 8012FCBC 0012CC1C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012FCC0 0012CC20 7C 08 03 A6 */ mtlr r0 -/* 8012FCC4 0012CC24 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012FCC8 0012CC28 4E 80 00 20 */ blr - -.global PreRender__19CHUDBillboardEffectFR13CStateManagerRC14CFrustumPlanes -PreRender__19CHUDBillboardEffectFR13CStateManagerRC14CFrustumPlanes: -/* 8012FCCC 0012CC2C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8012FCD0 0012CC30 7C 08 02 A6 */ mflr r0 -/* 8012FCD4 0012CC34 90 01 00 94 */ stw r0, 0x94(r1) -/* 8012FCD8 0012CC38 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8012FCDC 0012CC3C 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8012FCE0 0012CC40 7C 9E 23 78 */ mr r30, r4 -/* 8012FCE4 0012CC44 93 A1 00 84 */ stw r29, 0x84(r1) -/* 8012FCE8 0012CC48 7C 7D 1B 78 */ mr r29, r3 -/* 8012FCEC 0012CC4C 80 64 08 4C */ lwz r3, 0x84c(r4) -/* 8012FCF0 0012CC50 80 03 02 F4 */ lwz r0, 0x2f4(r3) -/* 8012FCF4 0012CC54 2C 00 00 00 */ cmpwi r0, 0 -/* 8012FCF8 0012CC58 40 82 00 78 */ bne lbl_8012FD70 -/* 8012FCFC 0012CC5C 80 9E 08 70 */ lwz r4, 0x870(r30) -/* 8012FD00 0012CC60 7F C5 F3 78 */ mr r5, r30 -/* 8012FD04 0012CC64 38 61 00 18 */ addi r3, r1, 0x18 -/* 8012FD08 0012CC68 4B ED AC 61 */ bl GetCurrentCameraTransform__14CCameraManagerCFRC13CStateManager -/* 8012FD0C 0012CC6C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8012FD10 0012CC70 38 81 00 18 */ addi r4, r1, 0x18 -/* 8012FD14 0012CC74 48 1E 2E 61 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8012FD18 0012CC78 83 FD 00 E8 */ lwz r31, 0xe8(r29) -/* 8012FD1C 0012CC7C 38 61 00 0C */ addi r3, r1, 0xc -/* 8012FD20 0012CC80 38 81 00 48 */ addi r4, r1, 0x48 -/* 8012FD24 0012CC84 38 BD 00 EC */ addi r5, r29, 0xec -/* 8012FD28 0012CC88 48 1E 2D C1 */ bl __ml__12CTransform4fCFRC9CVector3f -/* 8012FD2C 0012CC8C 7F E3 FB 78 */ mr r3, r31 -/* 8012FD30 0012CC90 38 81 00 0C */ addi r4, r1, 0xc -/* 8012FD34 0012CC94 81 9F 00 00 */ lwz r12, 0(r31) -/* 8012FD38 0012CC98 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8012FD3C 0012CC9C 7D 89 03 A6 */ mtctr r12 -/* 8012FD40 0012CCA0 4E 80 04 21 */ bctrl -/* 8012FD44 0012CCA4 80 7D 00 E8 */ lwz r3, 0xe8(r29) -/* 8012FD48 0012CCA8 38 81 00 48 */ addi r4, r1, 0x48 -/* 8012FD4C 0012CCAC 81 83 00 00 */ lwz r12, 0(r3) -/* 8012FD50 0012CCB0 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8012FD54 0012CCB4 7D 89 03 A6 */ mtctr r12 -/* 8012FD58 0012CCB8 4E 80 04 21 */ bctrl -/* 8012FD5C 0012CCBC 88 1D 01 04 */ lbz r0, 0x104(r29) -/* 8012FD60 0012CCC0 38 60 00 01 */ li r3, 1 -/* 8012FD64 0012CCC4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8012FD68 0012CCC8 98 1D 01 04 */ stb r0, 0x104(r29) -/* 8012FD6C 0012CCCC 48 00 00 14 */ b lbl_8012FD80 -lbl_8012FD70: -/* 8012FD70 0012CCD0 88 1D 01 04 */ lbz r0, 0x104(r29) -/* 8012FD74 0012CCD4 38 60 00 00 */ li r3, 0 -/* 8012FD78 0012CCD8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8012FD7C 0012CCDC 98 1D 01 04 */ stb r0, 0x104(r29) -lbl_8012FD80: -/* 8012FD80 0012CCE0 A0 1D 00 08 */ lhz r0, 8(r29) -/* 8012FD84 0012CCE4 7F C3 F3 78 */ mr r3, r30 -/* 8012FD88 0012CCE8 38 81 00 08 */ addi r4, r1, 8 -/* 8012FD8C 0012CCEC B0 01 00 08 */ sth r0, 8(r1) -/* 8012FD90 0012CCF0 4B F1 4B 49 */ bl RenderLast__13CStateManagerFRC9TUniqueId -/* 8012FD94 0012CCF4 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8012FD98 0012CCF8 88 1D 01 04 */ lbz r0, 0x104(r29) -/* 8012FD9C 0012CCFC 7C 63 00 34 */ cntlzw r3, r3 -/* 8012FDA0 0012CD00 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18 -/* 8012FDA4 0012CD04 98 1D 01 04 */ stb r0, 0x104(r29) -/* 8012FDA8 0012CD08 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8012FDAC 0012CD0C 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8012FDB0 0012CD10 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8012FDB4 0012CD14 83 A1 00 84 */ lwz r29, 0x84(r1) -/* 8012FDB8 0012CD18 7C 08 03 A6 */ mtlr r0 -/* 8012FDBC 0012CD1C 38 21 00 90 */ addi r1, r1, 0x90 -/* 8012FDC0 0012CD20 4E 80 00 20 */ blr - -.global AddToRenderer__19CHUDBillboardEffectCFRC14CFrustumPlanesRC13CStateManager -AddToRenderer__19CHUDBillboardEffectCFRC14CFrustumPlanesRC13CStateManager: -/* 8012FDC4 0012CD24 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012FDC8 0012CD28 7C 08 02 A6 */ mflr r0 -/* 8012FDCC 0012CD2C 7C 64 1B 78 */ mr r4, r3 -/* 8012FDD0 0012CD30 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012FDD4 0012CD34 88 63 01 04 */ lbz r3, 0x104(r3) -/* 8012FDD8 0012CD38 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8012FDDC 0012CD3C 41 82 00 24 */ beq lbl_8012FE00 -/* 8012FDE0 0012CD40 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8012FDE4 0012CD44 41 82 00 1C */ beq lbl_8012FE00 -/* 8012FDE8 0012CD48 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) -/* 8012FDEC 0012CD4C 80 84 00 E8 */ lwz r4, 0xe8(r4) -/* 8012FDF0 0012CD50 81 83 00 00 */ lwz r12, 0(r3) -/* 8012FDF4 0012CD54 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8012FDF8 0012CD58 7D 89 03 A6 */ mtctr r12 -/* 8012FDFC 0012CD5C 4E 80 04 21 */ bctrl -lbl_8012FE00: -/* 8012FE00 0012CD60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012FE04 0012CD64 7C 08 03 A6 */ mtlr r0 -/* 8012FE08 0012CD68 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012FE0C 0012CD6C 4E 80 00 20 */ blr - -.global __dt__19CHUDBillboardEffectFv -__dt__19CHUDBillboardEffectFv: -/* 8012FE10 0012CD70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8012FE14 0012CD74 7C 08 02 A6 */ mflr r0 -/* 8012FE18 0012CD78 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012FE1C 0012CD7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8012FE20 0012CD80 7C 9F 23 78 */ mr r31, r4 -/* 8012FE24 0012CD84 93 C1 00 08 */ stw r30, 8(r1) -/* 8012FE28 0012CD88 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8012FE2C 0012CD8C 41 82 00 B0 */ beq lbl_8012FEDC -/* 8012FE30 0012CD90 3C 60 80 3E */ lis r3, lbl_803E0D70@ha -/* 8012FE34 0012CD94 38 03 0D 70 */ addi r0, r3, lbl_803E0D70@l -/* 8012FE38 0012CD98 90 1E 00 00 */ stw r0, 0(r30) -/* 8012FE3C 0012CD9C 80 6D A3 B0 */ lwz r3, lbl_805A8F70@sda21(r13) -/* 8012FE40 0012CDA0 38 03 FF FF */ addi r0, r3, -1 -/* 8012FE44 0012CDA4 90 0D A3 B0 */ stw r0, lbl_805A8F70@sda21(r13) -/* 8012FE48 0012CDA8 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8012FE4C 0012CDAC 81 83 00 00 */ lwz r12, 0(r3) -/* 8012FE50 0012CDB0 81 8C 00 74 */ lwz r12, 0x74(r12) -/* 8012FE54 0012CDB4 7D 89 03 A6 */ mtctr r12 -/* 8012FE58 0012CDB8 4E 80 04 21 */ bctrl -/* 8012FE5C 0012CDBC 3C 03 AF BF */ addis r0, r3, 0xafbf -/* 8012FE60 0012CDC0 28 00 52 54 */ cmplwi r0, 0x5254 -/* 8012FE64 0012CDC4 40 82 00 20 */ bne lbl_8012FE84 -/* 8012FE68 0012CDC8 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8012FE6C 0012CDCC 48 1E 77 D9 */ bl IsIndirectTextured__11CElementGenCFv -/* 8012FE70 0012CDD0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8012FE74 0012CDD4 41 82 00 10 */ beq lbl_8012FE84 -/* 8012FE78 0012CDD8 80 6D A3 B4 */ lwz r3, lbl_805A8F74@sda21(r13) -/* 8012FE7C 0012CDDC 38 03 FF FF */ addi r0, r3, -1 -/* 8012FE80 0012CDE0 90 0D A3 B4 */ stw r0, lbl_805A8F74@sda21(r13) -lbl_8012FE84: -/* 8012FE84 0012CDE4 34 1E 00 E8 */ addic. r0, r30, 0xe8 -/* 8012FE88 0012CDE8 41 82 00 24 */ beq lbl_8012FEAC -/* 8012FE8C 0012CDEC 80 7E 00 E8 */ lwz r3, 0xe8(r30) -/* 8012FE90 0012CDF0 28 03 00 00 */ cmplwi r3, 0 -/* 8012FE94 0012CDF4 41 82 00 18 */ beq lbl_8012FEAC -/* 8012FE98 0012CDF8 81 83 00 00 */ lwz r12, 0(r3) -/* 8012FE9C 0012CDFC 38 80 00 01 */ li r4, 1 -/* 8012FEA0 0012CE00 81 8C 00 08 */ lwz r12, 8(r12) -/* 8012FEA4 0012CE04 7D 89 03 A6 */ mtctr r12 -/* 8012FEA8 0012CE08 4E 80 04 21 */ bctrl -lbl_8012FEAC: -/* 8012FEAC 0012CE0C 28 1E 00 00 */ cmplwi r30, 0 -/* 8012FEB0 0012CE10 41 82 00 1C */ beq lbl_8012FECC -/* 8012FEB4 0012CE14 3C 80 80 3E */ lis r4, lbl_803DA118@ha -/* 8012FEB8 0012CE18 7F C3 F3 78 */ mr r3, r30 -/* 8012FEBC 0012CE1C 38 04 A1 18 */ addi r0, r4, lbl_803DA118@l -/* 8012FEC0 0012CE20 38 80 00 00 */ li r4, 0 -/* 8012FEC4 0012CE24 90 1E 00 00 */ stw r0, 0(r30) -/* 8012FEC8 0012CE28 4B F2 58 29 */ bl __dt__6CActorFv -lbl_8012FECC: -/* 8012FECC 0012CE2C 7F E0 07 35 */ extsh. r0, r31 -/* 8012FED0 0012CE30 40 81 00 0C */ ble lbl_8012FEDC -/* 8012FED4 0012CE34 7F C3 F3 78 */ mr r3, r30 -/* 8012FED8 0012CE38 48 1E 5A 59 */ bl Free__7CMemoryFPCv -lbl_8012FEDC: -/* 8012FEDC 0012CE3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8012FEE0 0012CE40 7F C3 F3 78 */ mr r3, r30 -/* 8012FEE4 0012CE44 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8012FEE8 0012CE48 83 C1 00 08 */ lwz r30, 8(r1) -/* 8012FEEC 0012CE4C 7C 08 03 A6 */ mtlr r0 -/* 8012FEF0 0012CE50 38 21 00 10 */ addi r1, r1, 0x10 -/* 8012FEF4 0012CE54 4E 80 00 20 */ blr - -.global "__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f" -"__ct__19CHUDBillboardEffectFRCQ24rstl44optional_object<25TToken<15CGenDescription>>RCQ24rstl49optional_object<30TToken<20CElectricDescription>>9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>fRC9CVector3fRC6CColorRC9CVector3fRC9CVector3f": -/* 8012FEF8 0012CE58 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8012FEFC 0012CE5C 7C 08 02 A6 */ mflr r0 -/* 8012FF00 0012CE60 90 01 00 94 */ stw r0, 0x94(r1) -/* 8012FF04 0012CE64 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8012FF08 0012CE68 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8012FF0C 0012CE6C BE C1 00 58 */ stmw r22, 0x58(r1) -/* 8012FF10 0012CE70 80 0D A3 88 */ lwz r0, lbl_805A8F48@sda21(r13) -/* 8012FF14 0012CE74 3D 60 80 57 */ lis r11, lbl_8056D410@ha -/* 8012FF18 0012CE78 81 8D A3 90 */ lwz r12, lbl_805A8F50@sda21(r13) -/* 8012FF1C 0012CE7C FF E0 08 90 */ fmr f31, f1 -/* 8012FF20 0012CE80 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8012FF24 0012CE84 38 0B D4 10 */ addi r0, r11, lbl_8056D410@l -/* 8012FF28 0012CE88 7C 7F 1B 78 */ mr r31, r3 -/* 8012FF2C 0012CE8C 7C 99 23 78 */ mr r25, r4 -/* 8012FF30 0012CE90 7C BA 2B 78 */ mr r26, r5 -/* 8012FF34 0012CE94 7C D6 33 78 */ mr r22, r6 -/* 8012FF38 0012CE98 91 81 00 20 */ stw r12, 0x20(r1) -/* 8012FF3C 0012CE9C 83 A1 00 98 */ lwz r29, 0x98(r1) -/* 8012FF40 0012CEA0 7C F7 3B 78 */ mr r23, r7 -/* 8012FF44 0012CEA4 83 C1 00 9C */ lwz r30, 0x9c(r1) -/* 8012FF48 0012CEA8 7D 18 43 78 */ mr r24, r8 -/* 8012FF4C 0012CEAC 7D 3B 4B 78 */ mr r27, r9 -/* 8012FF50 0012CEB0 7D 5C 53 78 */ mr r28, r10 -/* 8012FF54 0012CEB4 7C 05 03 78 */ mr r5, r0 -/* 8012FF58 0012CEB8 38 61 00 34 */ addi r3, r1, 0x34 -/* 8012FF5C 0012CEBC 38 81 00 20 */ addi r4, r1, 0x20 -/* 8012FF60 0012CEC0 38 C1 00 1C */ addi r6, r1, 0x1c -/* 8012FF64 0012CEC4 4B F2 15 21 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 8012FF68 0012CEC8 A0 16 00 00 */ lhz r0, 0(r22) -/* 8012FF6C 0012CECC 3C 60 80 5A */ lis r3, skIdentity4f@ha -/* 8012FF70 0012CED0 39 03 66 70 */ addi r8, r3, skIdentity4f@l -/* 8012FF74 0012CED4 7E E6 BB 78 */ mr r6, r23 -/* 8012FF78 0012CED8 B0 01 00 08 */ sth r0, 8(r1) -/* 8012FF7C 0012CEDC 7F E3 FB 78 */ mr r3, r31 -/* 8012FF80 0012CEE0 7F 07 C3 78 */ mr r7, r24 -/* 8012FF84 0012CEE4 38 81 00 08 */ addi r4, r1, 8 -/* 8012FF88 0012CEE8 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8012FF8C 0012CEEC 4B F2 AD C5 */ bl "__ct__7CEffectF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC12CTransform4f" -/* 8012FF90 0012CEF0 80 01 00 3C */ lwz r0, 0x3c(r1) -/* 8012FF94 0012CEF4 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8012FF98 0012CEF8 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8012FF9C 0012CEFC 90 61 00 10 */ stw r3, 0x10(r1) -/* 8012FFA0 0012CF00 7C 64 1B 78 */ mr r4, r3 -/* 8012FFA4 0012CF04 7C 03 02 14 */ add r0, r3, r0 -/* 8012FFA8 0012CF08 90 61 00 0C */ stw r3, 0xc(r1) -/* 8012FFAC 0012CF0C 90 01 00 18 */ stw r0, 0x18(r1) -/* 8012FFB0 0012CF10 90 01 00 14 */ stw r0, 0x14(r1) -/* 8012FFB4 0012CF14 48 00 00 08 */ b lbl_8012FFBC -lbl_8012FFB8: -/* 8012FFB8 0012CF18 38 84 00 0C */ addi r4, r4, 0xc -lbl_8012FFBC: -/* 8012FFBC 0012CF1C 7C 04 00 40 */ cmplw r4, r0 -/* 8012FFC0 0012CF20 40 82 FF F8 */ bne lbl_8012FFB8 -/* 8012FFC4 0012CF24 28 03 00 00 */ cmplwi r3, 0 -/* 8012FFC8 0012CF28 41 82 00 08 */ beq lbl_8012FFD0 -/* 8012FFCC 0012CF2C 48 1E 59 65 */ bl Free__7CMemoryFPCv -lbl_8012FFD0: -/* 8012FFD0 0012CF30 3C 60 80 3E */ lis r3, lbl_803E0D70@ha -/* 8012FFD4 0012CF34 38 80 00 00 */ li r4, 0 -/* 8012FFD8 0012CF38 38 03 0D 70 */ addi r0, r3, lbl_803E0D70@l -/* 8012FFDC 0012CF3C 38 60 00 01 */ li r3, 1 -/* 8012FFE0 0012CF40 90 1F 00 00 */ stw r0, 0(r31) -/* 8012FFE4 0012CF44 C0 02 99 40 */ lfs f0, lbl_805AB660@sda21(r2) -/* 8012FFE8 0012CF48 90 9F 00 E8 */ stw r4, 0xe8(r31) -/* 8012FFEC 0012CF4C C0 5E 00 04 */ lfs f2, 4(r30) -/* 8012FFF0 0012CF50 C0 7E 00 08 */ lfs f3, 8(r30) -/* 8012FFF4 0012CF54 C0 3E 00 00 */ lfs f1, 0(r30) -/* 8012FFF8 0012CF58 EC 5F 10 2A */ fadds f2, f31, f2 -/* 8012FFFC 0012CF5C D0 3F 00 EC */ stfs f1, 0xec(r31) -/* 80130000 0012CF60 D0 5F 00 F0 */ stfs f2, 0xf0(r31) -/* 80130004 0012CF64 D0 7F 00 F4 */ stfs f3, 0xf4(r31) -/* 80130008 0012CF68 C0 5D 00 00 */ lfs f2, 0(r29) -/* 8013000C 0012CF6C C0 3B 00 00 */ lfs f1, 0(r27) -/* 80130010 0012CF70 C0 9D 00 04 */ lfs f4, 4(r29) -/* 80130014 0012CF74 C0 7B 00 04 */ lfs f3, 4(r27) -/* 80130018 0012CF78 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8013001C 0012CF7C C0 BD 00 08 */ lfs f5, 8(r29) -/* 80130020 0012CF80 C0 5B 00 08 */ lfs f2, 8(r27) -/* 80130024 0012CF84 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80130028 0012CF88 D0 3F 00 F8 */ stfs f1, 0xf8(r31) -/* 8013002C 0012CF8C EC 25 00 B2 */ fmuls f1, f5, f2 -/* 80130030 0012CF90 D0 7F 00 FC */ stfs f3, 0xfc(r31) -/* 80130034 0012CF94 D0 3F 01 00 */ stfs f1, 0x100(r31) -/* 80130038 0012CF98 88 1F 01 04 */ lbz r0, 0x104(r31) -/* 8013003C 0012CF9C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80130040 0012CFA0 98 1F 01 04 */ stb r0, 0x104(r31) -/* 80130044 0012CFA4 88 1F 01 04 */ lbz r0, 0x104(r31) -/* 80130048 0012CFA8 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8013004C 0012CFAC 98 1F 01 04 */ stb r0, 0x104(r31) -/* 80130050 0012CFB0 88 1F 01 04 */ lbz r0, 0x104(r31) -/* 80130054 0012CFB4 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80130058 0012CFB8 98 1F 01 04 */ stb r0, 0x104(r31) -/* 8013005C 0012CFBC 88 1F 01 04 */ lbz r0, 0x104(r31) -/* 80130060 0012CFC0 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80130064 0012CFC4 98 1F 01 04 */ stb r0, 0x104(r31) -/* 80130068 0012CFC8 D0 1F 01 08 */ stfs f0, 0x108(r31) -/* 8013006C 0012CFCC 88 19 00 08 */ lbz r0, 8(r25) -/* 80130070 0012CFD0 28 00 00 00 */ cmplwi r0, 0 -/* 80130074 0012CFD4 41 82 00 B0 */ beq lbl_80130124 -/* 80130078 0012CFD8 88 1F 01 04 */ lbz r0, 0x104(r31) -/* 8013007C 0012CFDC 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80130080 0012CFE0 3C 60 80 3D */ lis r3, lbl_803D0048@ha -/* 80130084 0012CFE4 3A C0 00 00 */ li r22, 0 -/* 80130088 0012CFE8 98 1F 01 04 */ stb r0, 0x104(r31) -/* 8013008C 0012CFEC 38 83 00 48 */ addi r4, r3, lbl_803D0048@l -/* 80130090 0012CFF0 38 60 03 40 */ li r3, 0x340 -/* 80130094 0012CFF4 38 A0 00 00 */ li r5, 0 -/* 80130098 0012CFF8 48 1E 57 D5 */ bl __nw__FUlPCcPCc -/* 8013009C 0012CFFC 7C 7A 1B 79 */ or. r26, r3, r3 -/* 801300A0 0012D000 41 82 00 2C */ beq lbl_801300CC -/* 801300A4 0012D004 7F 24 CB 78 */ mr r4, r25 -/* 801300A8 0012D008 38 61 00 2C */ addi r3, r1, 0x2c -/* 801300AC 0012D00C 48 21 0D FD */ bl __ct__6CTokenFRC6CToken -/* 801300B0 0012D010 7F 43 D3 78 */ mr r3, r26 -/* 801300B4 0012D014 38 81 00 2C */ addi r4, r1, 0x2c -/* 801300B8 0012D018 3A C0 00 01 */ li r22, 1 -/* 801300BC 0012D01C 38 A0 00 00 */ li r5, 0 -/* 801300C0 0012D020 38 C0 00 01 */ li r6, 1 -/* 801300C4 0012D024 48 1E F3 1D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 801300C8 0012D028 7C 7A 1B 78 */ mr r26, r3 -lbl_801300CC: -/* 801300CC 0012D02C 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 801300D0 0012D030 28 03 00 00 */ cmplwi r3, 0 -/* 801300D4 0012D034 41 82 00 18 */ beq lbl_801300EC -/* 801300D8 0012D038 81 83 00 00 */ lwz r12, 0(r3) -/* 801300DC 0012D03C 38 80 00 01 */ li r4, 1 -/* 801300E0 0012D040 81 8C 00 08 */ lwz r12, 8(r12) -/* 801300E4 0012D044 7D 89 03 A6 */ mtctr r12 -/* 801300E8 0012D048 4E 80 04 21 */ bctrl -lbl_801300EC: -/* 801300EC 0012D04C 7E C0 07 75 */ extsb. r0, r22 -/* 801300F0 0012D050 93 5F 00 E8 */ stw r26, 0xe8(r31) -/* 801300F4 0012D054 41 82 00 10 */ beq lbl_80130104 -/* 801300F8 0012D058 38 61 00 2C */ addi r3, r1, 0x2c -/* 801300FC 0012D05C 38 80 00 00 */ li r4, 0 -/* 80130100 0012D060 48 21 0D 41 */ bl __dt__6CTokenFv -lbl_80130104: -/* 80130104 0012D064 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 80130108 0012D068 48 1E 75 3D */ bl IsIndirectTextured__11CElementGenCFv -/* 8013010C 0012D06C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80130110 0012D070 41 82 00 8C */ beq lbl_8013019C -/* 80130114 0012D074 80 6D A3 B4 */ lwz r3, lbl_805A8F74@sda21(r13) -/* 80130118 0012D078 38 03 00 01 */ addi r0, r3, 1 -/* 8013011C 0012D07C 90 0D A3 B4 */ stw r0, lbl_805A8F74@sda21(r13) -/* 80130120 0012D080 48 00 00 7C */ b lbl_8013019C -lbl_80130124: -/* 80130124 0012D084 3C 60 80 3D */ lis r3, lbl_803D0048@ha -/* 80130128 0012D088 3A C0 00 00 */ li r22, 0 -/* 8013012C 0012D08C 38 83 00 48 */ addi r4, r3, lbl_803D0048@l -/* 80130130 0012D090 38 A0 00 00 */ li r5, 0 -/* 80130134 0012D094 38 60 04 58 */ li r3, 0x458 -/* 80130138 0012D098 48 1E 57 35 */ bl __nw__FUlPCcPCc -/* 8013013C 0012D09C 7C 79 1B 79 */ or. r25, r3, r3 -/* 80130140 0012D0A0 41 82 00 24 */ beq lbl_80130164 -/* 80130144 0012D0A4 7F 44 D3 78 */ mr r4, r26 -/* 80130148 0012D0A8 38 61 00 24 */ addi r3, r1, 0x24 -/* 8013014C 0012D0AC 48 21 0D 5D */ bl __ct__6CTokenFRC6CToken -/* 80130150 0012D0B0 7F 23 CB 78 */ mr r3, r25 -/* 80130154 0012D0B4 38 81 00 24 */ addi r4, r1, 0x24 -/* 80130158 0012D0B8 3A C0 00 01 */ li r22, 1 -/* 8013015C 0012D0BC 48 23 20 15 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" -/* 80130160 0012D0C0 7C 79 1B 78 */ mr r25, r3 -lbl_80130164: -/* 80130164 0012D0C4 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 80130168 0012D0C8 28 03 00 00 */ cmplwi r3, 0 -/* 8013016C 0012D0CC 41 82 00 18 */ beq lbl_80130184 -/* 80130170 0012D0D0 81 83 00 00 */ lwz r12, 0(r3) -/* 80130174 0012D0D4 38 80 00 01 */ li r4, 1 -/* 80130178 0012D0D8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8013017C 0012D0DC 7D 89 03 A6 */ mtctr r12 -/* 80130180 0012D0E0 4E 80 04 21 */ bctrl -lbl_80130184: -/* 80130184 0012D0E4 7E C0 07 75 */ extsb. r0, r22 -/* 80130188 0012D0E8 93 3F 00 E8 */ stw r25, 0xe8(r31) -/* 8013018C 0012D0EC 41 82 00 10 */ beq lbl_8013019C -/* 80130190 0012D0F0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80130194 0012D0F4 38 80 00 00 */ li r4, 0 -/* 80130198 0012D0F8 48 21 0C A9 */ bl __dt__6CTokenFv -lbl_8013019C: -/* 8013019C 0012D0FC 80 6D A3 B0 */ lwz r3, lbl_805A8F70@sda21(r13) -/* 801301A0 0012D100 7F 84 E3 78 */ mr r4, r28 -/* 801301A4 0012D104 38 03 00 01 */ addi r0, r3, 1 -/* 801301A8 0012D108 90 0D A3 B0 */ stw r0, lbl_805A8F70@sda21(r13) -/* 801301AC 0012D10C 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 801301B0 0012D110 81 83 00 00 */ lwz r12, 0(r3) -/* 801301B4 0012D114 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801301B8 0012D118 7D 89 03 A6 */ mtctr r12 -/* 801301BC 0012D11C 4E 80 04 21 */ bctrl -/* 801301C0 0012D120 80 7F 00 E8 */ lwz r3, 0xe8(r31) -/* 801301C4 0012D124 38 9F 00 F8 */ addi r4, r31, 0xf8 -/* 801301C8 0012D128 81 83 00 00 */ lwz r12, 0(r3) -/* 801301CC 0012D12C 81 8C 00 28 */ lwz r12, 0x28(r12) -/* 801301D0 0012D130 7D 89 03 A6 */ mtctr r12 -/* 801301D4 0012D134 4E 80 04 21 */ bctrl -/* 801301D8 0012D138 7F E3 FB 78 */ mr r3, r31 -/* 801301DC 0012D13C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 801301E0 0012D140 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 801301E4 0012D144 BA C1 00 58 */ lmw r22, 0x58(r1) -/* 801301E8 0012D148 80 01 00 94 */ lwz r0, 0x94(r1) -/* 801301EC 0012D14C 7C 08 03 A6 */ mtlr r0 -/* 801301F0 0012D150 38 21 00 90 */ addi r1, r1, 0x90 -/* 801301F4 0012D154 4E 80 00 20 */ blr - -.global GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager -GetNearClipDistance__19CHUDBillboardEffectFRC13CStateManager: -/* 801301F8 0012D158 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801301FC 0012D15C 7C 08 02 A6 */ mflr r0 -/* 80130200 0012D160 7C 64 1B 78 */ mr r4, r3 -/* 80130204 0012D164 90 01 00 14 */ stw r0, 0x14(r1) -/* 80130208 0012D168 80 63 08 70 */ lwz r3, 0x870(r3) -/* 8013020C 0012D16C 4B ED B9 0D */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80130210 0012D170 C0 22 99 44 */ lfs f1, lbl_805AB664@sda21(r2) -/* 80130214 0012D174 C0 03 01 60 */ lfs f0, 0x160(r3) -/* 80130218 0012D178 EC 21 00 2A */ fadds f1, f1, f0 -/* 8013021C 0012D17C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80130220 0012D180 7C 08 03 A6 */ mtlr r0 -/* 80130224 0012D184 38 21 00 10 */ addi r1, r1, 0x10 -/* 80130228 0012D188 4E 80 00 20 */ blr - -.global GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager -GetScaleForPOV__19CHUDBillboardEffectFRC13CStateManager: -/* 8013022C 0012D18C 88 0D A3 B8 */ lbz r0, lbl_805A8F78@sda21(r13) -/* 80130230 0012D190 7C 00 07 75 */ extsb. r0, r0 -/* 80130234 0012D194 40 82 00 24 */ bne lbl_80130258 -/* 80130238 0012D198 C0 22 99 48 */ lfs f1, lbl_805AB668@sda21(r2) -/* 8013023C 0012D19C 3C 60 80 47 */ lis r3, lbl_8046C738@ha -/* 80130240 0012D1A0 38 00 00 01 */ li r0, 1 -/* 80130244 0012D1A4 C0 02 99 3C */ lfs f0, lbl_805AB65C@sda21(r2) -/* 80130248 0012D1A8 D4 23 C7 38 */ stfsu f1, lbl_8046C738@l(r3) -/* 8013024C 0012D1AC D0 03 00 04 */ stfs f0, 4(r3) -/* 80130250 0012D1B0 D0 23 00 08 */ stfs f1, 8(r3) -/* 80130254 0012D1B4 98 0D A3 B8 */ stb r0, lbl_805A8F78@sda21(r13) -lbl_80130258: -/* 80130258 0012D1B8 3C 60 80 47 */ lis r3, lbl_8046C738@ha -/* 8013025C 0012D1BC 38 63 C7 38 */ addi r3, r3, lbl_8046C738@l -/* 80130260 0012D1C0 4E 80 00 20 */ blr - -.global CalcGenRate__19CHudBillboardEffectFv -CalcGenRate__19CHudBillboardEffectFv: -/* 80130264 0012D1C4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80130268 0012D1C8 80 AD A3 B0 */ lwz r5, lbl_805A8F70@sda21(r13) -/* 8013026C 0012D1CC 80 8D A3 B4 */ lwz r4, lbl_805A8F74@sda21(r13) -/* 80130270 0012D1D0 7C 05 22 14 */ add r0, r5, r4 -/* 80130274 0012D1D4 2C 00 00 04 */ cmpwi r0, 4 -/* 80130278 0012D1D8 41 81 00 0C */ bgt lbl_80130284 -/* 8013027C 0012D1DC C0 22 99 40 */ lfs f1, lbl_805AB660@sda21(r2) -/* 80130280 0012D1E0 48 00 00 44 */ b lbl_801302C4 -lbl_80130284: -/* 80130284 0012D1E4 3C 60 43 30 */ lis r3, 0x4330 -/* 80130288 0012D1E8 6C 80 80 00 */ xoris r0, r4, 0x8000 -/* 8013028C 0012D1EC 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80130290 0012D1F0 6C A0 80 00 */ xoris r0, r5, 0x8000 -/* 80130294 0012D1F4 C8 62 99 58 */ lfd f3, lbl_805AB678@sda21(r2) -/* 80130298 0012D1F8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8013029C 0012D1FC C0 22 99 50 */ lfs f1, lbl_805AB670@sda21(r2) -/* 801302A0 0012D200 C8 01 00 18 */ lfd f0, 0x18(r1) -/* 801302A4 0012D204 90 01 00 14 */ stw r0, 0x14(r1) -/* 801302A8 0012D208 EC 00 18 28 */ fsubs f0, f0, f3 -/* 801302AC 0012D20C C0 82 99 4C */ lfs f4, lbl_805AB66C@sda21(r2) -/* 801302B0 0012D210 90 61 00 10 */ stw r3, 0x10(r1) -/* 801302B4 0012D214 C8 41 00 10 */ lfd f2, 0x10(r1) -/* 801302B8 0012D218 EC 01 00 32 */ fmuls f0, f1, f0 -/* 801302BC 0012D21C EC 22 18 28 */ fsubs f1, f2, f3 -/* 801302C0 0012D220 EC 24 00 7A */ fmadds f1, f4, f1, f0 -lbl_801302C4: -/* 801302C4 0012D224 C0 0D 8B 28 */ lfs f0, lbl_805A76E8@sda21(r13) -/* 801302C8 0012D228 D0 21 00 08 */ stfs f1, 8(r1) -/* 801302CC 0012D22C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801302D0 0012D230 40 80 00 0C */ bge lbl_801302DC -/* 801302D4 0012D234 38 61 00 08 */ addi r3, r1, 8 -/* 801302D8 0012D238 48 00 00 08 */ b lbl_801302E0 -lbl_801302DC: -/* 801302DC 0012D23C 38 6D 8B 28 */ addi r3, r13, lbl_805A76E8@sda21 -lbl_801302E0: -/* 801302E0 0012D240 C0 22 99 3C */ lfs f1, lbl_805AB65C@sda21(r2) -/* 801302E4 0012D244 C0 03 00 00 */ lfs f0, 0(r3) -/* 801302E8 0012D248 EC 21 00 28 */ fsubs f1, f1, f0 -/* 801302EC 0012D24C 38 21 00 20 */ addi r1, r1, 0x20 -/* 801302F0 0012D250 4E 80 00 20 */ blr - -.global Attack__11CFlickerBatFR13CStateManager9EStateMsgf -Attack__11CFlickerBatFR13CStateManager9EStateMsgf: -/* 801302F4 0012D254 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 801302F8 0012D258 7C 08 02 A6 */ mflr r0 -/* 801302FC 0012D25C 2C 05 00 01 */ cmpwi r5, 1 -/* 80130300 0012D260 90 01 00 54 */ stw r0, 0x54(r1) -/* 80130304 0012D264 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80130308 0012D268 7C 7F 1B 78 */ mr r31, r3 -/* 8013030C 0012D26C 7C 83 23 78 */ mr r3, r4 -/* 80130310 0012D270 41 82 00 10 */ beq lbl_80130320 -/* 80130314 0012D274 40 80 00 B4 */ bge lbl_801303C8 -/* 80130318 0012D278 48 00 00 B0 */ b lbl_801303C8 -/* 8013031C 0012D27C 48 00 00 AC */ b lbl_801303C8 -lbl_80130320: -/* 80130320 0012D280 80 83 08 4C */ lwz r4, 0x84c(r3) -/* 80130324 0012D284 7C 65 1B 78 */ mr r5, r3 -/* 80130328 0012D288 38 61 00 14 */ addi r3, r1, 0x14 -/* 8013032C 0012D28C C0 22 99 60 */ lfs f1, lbl_805AB680@sda21(r2) -/* 80130330 0012D290 81 84 00 00 */ lwz r12, 0(r4) -/* 80130334 0012D294 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80130338 0012D298 7D 89 03 A6 */ mtctr r12 -/* 8013033C 0012D29C 4E 80 04 21 */ bctrl -/* 80130340 0012D2A0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80130344 0012D2A4 38 61 00 08 */ addi r3, r1, 8 -/* 80130348 0012D2A8 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 8013034C 0012D2AC 38 81 00 20 */ addi r4, r1, 0x20 -/* 80130350 0012D2B0 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80130354 0012D2B4 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80130358 0012D2B8 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8013035C 0012D2BC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80130360 0012D2C0 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80130364 0012D2C4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80130368 0012D2C8 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 8013036C 0012D2CC EC 01 00 28 */ fsubs f0, f1, f0 -/* 80130370 0012D2D0 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80130374 0012D2D4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80130378 0012D2D8 48 1E 44 D9 */ bl AsNormalized__9CVector3fCFv -/* 8013037C 0012D2DC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80130380 0012D2E0 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 80130384 0012D2E4 C0 C1 00 08 */ lfs f6, 8(r1) -/* 80130388 0012D2E8 38 81 00 2C */ addi r4, r1, 0x2c -/* 8013038C 0012D2EC C0 A1 00 0C */ lfs f5, 0xc(r1) -/* 80130390 0012D2F0 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 80130394 0012D2F4 C0 43 00 04 */ lfs f2, 4(r3) -/* 80130398 0012D2F8 C0 23 00 08 */ lfs f1, 8(r3) -/* 8013039C 0012D2FC C0 02 99 64 */ lfs f0, lbl_805AB684@sda21(r2) -/* 801303A0 0012D300 D0 C1 00 2C */ stfs f6, 0x2c(r1) -/* 801303A4 0012D304 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 801303A8 0012D308 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 801303AC 0012D30C D0 61 00 38 */ stfs f3, 0x38(r1) -/* 801303B0 0012D310 D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 801303B4 0012D314 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 801303B8 0012D318 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 801303BC 0012D31C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 801303C0 0012D320 38 63 00 04 */ addi r3, r3, 4 -/* 801303C4 0012D324 48 00 13 55 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_801303C8: -/* 801303C8 0012D328 80 01 00 54 */ lwz r0, 0x54(r1) -/* 801303CC 0012D32C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 801303D0 0012D330 7C 08 03 A6 */ mtlr r0 -/* 801303D4 0012D334 38 21 00 50 */ addi r1, r1, 0x50 -/* 801303D8 0012D338 4E 80 00 20 */ blr - -.global InPosition__11CFlickerBatFR13CStateManagerf -InPosition__11CFlickerBatFR13CStateManagerf: -/* 801303DC 0012D33C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801303E0 0012D340 7C 08 02 A6 */ mflr r0 -/* 801303E4 0012D344 7C 85 23 78 */ mr r5, r4 -/* 801303E8 0012D348 C0 22 99 60 */ lfs f1, lbl_805AB680@sda21(r2) -/* 801303EC 0012D34C 90 01 00 34 */ stw r0, 0x34(r1) -/* 801303F0 0012D350 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801303F4 0012D354 7C 7F 1B 78 */ mr r31, r3 -/* 801303F8 0012D358 38 61 00 14 */ addi r3, r1, 0x14 -/* 801303FC 0012D35C 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80130400 0012D360 81 84 00 00 */ lwz r12, 0(r4) -/* 80130404 0012D364 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80130408 0012D368 7D 89 03 A6 */ mtctr r12 -/* 8013040C 0012D36C 4E 80 04 21 */ bctrl -/* 80130410 0012D370 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80130414 0012D374 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 80130418 0012D378 C0 DF 00 48 */ lfs f6, 0x48(r31) -/* 8013041C 0012D37C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80130420 0012D380 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80130424 0012D384 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80130428 0012D388 C0 5F 00 38 */ lfs f2, 0x38(r31) -/* 8013042C 0012D38C EC A1 00 28 */ fsubs f5, f1, f0 -/* 80130430 0012D390 C0 61 00 1C */ lfs f3, 0x1c(r1) -/* 80130434 0012D394 EC 06 01 32 */ fmuls f0, f6, f4 -/* 80130438 0012D398 C0 3F 00 60 */ lfs f1, 0x60(r31) -/* 8013043C 0012D39C C0 9F 00 58 */ lfs f4, 0x58(r31) -/* 80130440 0012D3A0 EC 63 08 28 */ fsubs f3, f3, f1 -/* 80130444 0012D3A4 EC 22 01 7A */ fmadds f1, f2, f5, f0 -/* 80130448 0012D3A8 C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) -/* 8013044C 0012D3AC D0 41 00 08 */ stfs f2, 8(r1) -/* 80130450 0012D3B0 EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80130454 0012D3B4 D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 80130458 0012D3B8 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 8013045C 0012D3BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80130460 0012D3C0 7C 00 00 26 */ mfcr r0 -/* 80130464 0012D3C4 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 80130468 0012D3C8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8013046C 0012D3CC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80130470 0012D3D0 7C 08 03 A6 */ mtlr r0 -/* 80130474 0012D3D4 38 21 00 30 */ addi r1, r1, 0x30 -/* 80130478 0012D3D8 4E 80 00 20 */ blr - -.global Render__11CFlickerBatCFRC13CStateManager -Render__11CFlickerBatCFRC13CStateManager: -/* 8013047C 0012D3DC 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80130480 0012D3E0 7C 08 02 A6 */ mflr r0 -/* 80130484 0012D3E4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80130488 0012D3E8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8013048C 0012D3EC 7C 9F 23 78 */ mr r31, r4 -/* 80130490 0012D3F0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80130494 0012D3F4 7C 7E 1B 78 */ mr r30, r3 -/* 80130498 0012D3F8 88 63 05 80 */ lbz r3, 0x580(r3) -/* 8013049C 0012D3FC 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 801304A0 0012D400 40 82 00 B0 */ bne lbl_80130550 -/* 801304A4 0012D404 54 60 DF FF */ rlwinm. r0, r3, 0x1b, 0x1f, 0x1f -/* 801304A8 0012D408 41 82 00 A8 */ beq lbl_80130550 -/* 801304AC 0012D40C 80 1E 05 74 */ lwz r0, 0x574(r30) -/* 801304B0 0012D410 2C 00 00 02 */ cmpwi r0, 2 -/* 801304B4 0012D414 41 82 00 0C */ beq lbl_801304C0 -/* 801304B8 0012D418 2C 00 00 03 */ cmpwi r0, 3 -/* 801304BC 0012D41C 40 82 00 94 */ bne lbl_80130550 -lbl_801304C0: -/* 801304C0 0012D420 2C 00 00 03 */ cmpwi r0, 3 -/* 801304C4 0012D424 C0 22 99 60 */ lfs f1, lbl_805AB680@sda21(r2) -/* 801304C8 0012D428 41 82 00 2C */ beq lbl_801304F4 -/* 801304CC 0012D42C 40 80 00 34 */ bge lbl_80130500 -/* 801304D0 0012D430 2C 00 00 02 */ cmpwi r0, 2 -/* 801304D4 0012D434 40 80 00 08 */ bge lbl_801304DC -/* 801304D8 0012D438 48 00 00 28 */ b lbl_80130500 -lbl_801304DC: -/* 801304DC 0012D43C C0 3E 05 78 */ lfs f1, 0x578(r30) -/* 801304E0 0012D440 C0 02 99 6C */ lfs f0, lbl_805AB68C@sda21(r2) -/* 801304E4 0012D444 C0 42 99 68 */ lfs f2, lbl_805AB688@sda21(r2) -/* 801304E8 0012D448 EC 01 00 28 */ fsubs f0, f1, f0 -/* 801304EC 0012D44C EC 22 00 32 */ fmuls f1, f2, f0 -/* 801304F0 0012D450 48 00 00 10 */ b lbl_80130500 -lbl_801304F4: -/* 801304F4 0012D454 C0 22 99 68 */ lfs f1, lbl_805AB688@sda21(r2) -/* 801304F8 0012D458 C0 1E 05 78 */ lfs f0, 0x578(r30) -/* 801304FC 0012D45C EC 21 00 32 */ fmuls f1, f1, f0 -lbl_80130500: -/* 80130500 0012D460 C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) -/* 80130504 0012D464 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80130508 0012D468 40 81 00 48 */ ble lbl_80130550 -/* 8013050C 0012D46C C0 02 99 64 */ lfs f0, lbl_805AB684@sda21(r2) -/* 80130510 0012D470 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80130514 0012D474 40 80 00 3C */ bge lbl_80130550 -/* 80130518 0012D478 C0 02 99 74 */ lfs f0, lbl_805AB694@sda21(r2) -/* 8013051C 0012D47C EC 20 00 72 */ fmuls f1, f0, f1 -/* 80130520 0012D480 48 1E 48 D1 */ bl FastSinR__5CMathFf -/* 80130524 0012D484 C0 02 99 70 */ lfs f0, lbl_805AB690@sda21(r2) -/* 80130528 0012D488 7F E3 FB 78 */ mr r3, r31 -/* 8013052C 0012D48C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80130530 0012D490 38 81 00 14 */ addi r4, r1, 0x14 -/* 80130534 0012D494 EC 20 00 72 */ fmuls f1, f0, f1 -/* 80130538 0012D498 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 8013053C 0012D49C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80130540 0012D4A0 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80130544 0012D4A4 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80130548 0012D4A8 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8013054C 0012D4AC 4B F1 4E B1 */ bl DrawSpaceWarp__13CStateManagerCFRC9CVector3ff -lbl_80130550: -/* 80130550 0012D4B0 88 1E 05 80 */ lbz r0, 0x580(r30) -/* 80130554 0012D4B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80130558 0012D4B8 41 82 00 40 */ beq lbl_80130598 -/* 8013055C 0012D4BC 80 1E 00 04 */ lwz r0, 4(r30) -/* 80130560 0012D4C0 7F E3 FB 78 */ mr r3, r31 -/* 80130564 0012D4C4 38 81 00 0C */ addi r4, r1, 0xc -/* 80130568 0012D4C8 90 01 00 10 */ stw r0, 0x10(r1) -/* 8013056C 0012D4CC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80130570 0012D4D0 4B F1 67 A9 */ bl sub_80046d18 -/* 80130574 0012D4D4 7F C3 F3 78 */ mr r3, r30 -/* 80130578 0012D4D8 7F E4 FB 78 */ mr r4, r31 -/* 8013057C 0012D4DC 4B F4 7A B1 */ bl Render__10CPatternedCFRC13CStateManager -/* 80130580 0012D4E0 80 01 00 10 */ lwz r0, 0x10(r1) -/* 80130584 0012D4E4 7F E3 FB 78 */ mr r3, r31 -/* 80130588 0012D4E8 38 81 00 08 */ addi r4, r1, 8 -/* 8013058C 0012D4EC 90 01 00 08 */ stw r0, 8(r1) -/* 80130590 0012D4F0 4B F1 67 F1 */ bl SetupFogForArea__13CStateManagerCF7TAreaId -/* 80130594 0012D4F4 48 00 00 10 */ b lbl_801305A4 -lbl_80130598: -/* 80130598 0012D4F8 7F C3 F3 78 */ mr r3, r30 -/* 8013059C 0012D4FC 7F E4 FB 78 */ mr r4, r31 -/* 801305A0 0012D500 4B F4 7A 8D */ bl Render__10CPatternedCFRC13CStateManager -lbl_801305A4: -/* 801305A4 0012D504 80 01 00 34 */ lwz r0, 0x34(r1) -/* 801305A8 0012D508 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 801305AC 0012D50C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 801305B0 0012D510 7C 08 03 A6 */ mtlr r0 -/* 801305B4 0012D514 38 21 00 30 */ addi r1, r1, 0x30 -/* 801305B8 0012D518 4E 80 00 20 */ blr - -.global Patrol__11CFlickerBatFR13CStateManager9EStateMsgf -Patrol__11CFlickerBatFR13CStateManager9EStateMsgf: -/* 801305BC 0012D51C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801305C0 0012D520 7C 08 02 A6 */ mflr r0 -/* 801305C4 0012D524 90 01 00 34 */ stw r0, 0x34(r1) -/* 801305C8 0012D528 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801305CC 0012D52C 7C 7F 1B 78 */ mr r31, r3 -/* 801305D0 0012D530 48 0C 68 A5 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 801305D4 0012D534 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 801305D8 0012D538 38 61 00 14 */ addi r3, r1, 0x14 -/* 801305DC 0012D53C C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 801305E0 0012D540 38 81 00 08 */ addi r4, r1, 8 -/* 801305E4 0012D544 C0 7F 02 E8 */ lfs f3, 0x2e8(r31) -/* 801305E8 0012D548 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 801305EC 0012D54C EC 81 00 28 */ fsubs f4, f1, f0 -/* 801305F0 0012D550 C0 3F 02 E0 */ lfs f1, 0x2e0(r31) -/* 801305F4 0012D554 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 801305F8 0012D558 EC 43 10 28 */ fsubs f2, f3, f2 -/* 801305FC 0012D55C EC 01 00 28 */ fsubs f0, f1, f0 -/* 80130600 0012D560 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80130604 0012D564 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80130608 0012D568 D0 01 00 08 */ stfs f0, 8(r1) -/* 8013060C 0012D56C 48 1E 42 45 */ bl AsNormalized__9CVector3fCFv -/* 80130610 0012D570 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80130614 0012D574 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80130618 0012D578 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 8013061C 0012D57C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 80130620 0012D580 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 80130624 0012D584 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80130628 0012D588 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 8013062C 0012D58C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80130630 0012D590 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80130634 0012D594 7C 08 03 A6 */ mtlr r0 -/* 80130638 0012D598 38 21 00 30 */ addi r1, r1, 0x30 -/* 8013063C 0012D59C 4E 80 00 20 */ blr - -.global Shuffle__11CFlickerBatFR13CStateManager9EStateMsgf -Shuffle__11CFlickerBatFR13CStateManager9EStateMsgf: -/* 80130640 0012D5A0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80130644 0012D5A4 7C 08 02 A6 */ mflr r0 -/* 80130648 0012D5A8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8013064C 0012D5AC DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80130650 0012D5B0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80130654 0012D5B4 DB C1 00 20 */ stfd f30, 0x20(r1) -/* 80130658 0012D5B8 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 8013065C 0012D5BC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80130660 0012D5C0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80130664 0012D5C4 2C 05 00 01 */ cmpwi r5, 1 -/* 80130668 0012D5C8 7C 7E 1B 78 */ mr r30, r3 -/* 8013066C 0012D5CC 41 82 00 8C */ beq lbl_801306F8 -/* 80130670 0012D5D0 40 80 00 8C */ bge lbl_801306FC -/* 80130674 0012D5D4 2C 05 00 00 */ cmpwi r5, 0 -/* 80130678 0012D5D8 40 80 00 0C */ bge lbl_80130684 -/* 8013067C 0012D5DC 48 00 00 80 */ b lbl_801306FC -/* 80130680 0012D5E0 48 00 00 7C */ b lbl_801306FC -lbl_80130684: -/* 80130684 0012D5E4 83 E4 09 00 */ lwz r31, 0x900(r4) -/* 80130688 0012D5E8 7F E3 FB 78 */ mr r3, r31 -/* 8013068C 0012D5EC 48 1E 1E 51 */ bl Float__9CRandom16Fv -/* 80130690 0012D5F0 C0 42 99 78 */ lfs f2, lbl_805AB698@sda21(r2) -/* 80130694 0012D5F4 7F E3 FB 78 */ mr r3, r31 -/* 80130698 0012D5F8 C0 02 99 7C */ lfs f0, lbl_805AB69C@sda21(r2) -/* 8013069C 0012D5FC EF C2 00 78 */ fmsubs f30, f2, f1, f0 -/* 801306A0 0012D600 48 1E 1E 3D */ bl Float__9CRandom16Fv -/* 801306A4 0012D604 C0 42 99 78 */ lfs f2, lbl_805AB698@sda21(r2) -/* 801306A8 0012D608 7F E3 FB 78 */ mr r3, r31 -/* 801306AC 0012D60C C0 02 99 7C */ lfs f0, lbl_805AB69C@sda21(r2) -/* 801306B0 0012D610 EF E2 00 78 */ fmsubs f31, f2, f1, f0 -/* 801306B4 0012D614 48 1E 1E 29 */ bl Float__9CRandom16Fv -/* 801306B8 0012D618 C0 82 99 78 */ lfs f4, lbl_805AB698@sda21(r2) -/* 801306BC 0012D61C 7F C3 F3 78 */ mr r3, r30 -/* 801306C0 0012D620 C0 02 99 7C */ lfs f0, lbl_805AB69C@sda21(r2) -/* 801306C4 0012D624 38 81 00 08 */ addi r4, r1, 8 -/* 801306C8 0012D628 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 801306CC 0012D62C C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 801306D0 0012D630 EC 84 00 78 */ fmsubs f4, f4, f1, f0 -/* 801306D4 0012D634 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 801306D8 0012D638 EC 63 F8 2A */ fadds f3, f3, f31 -/* 801306DC 0012D63C EC 22 F0 2A */ fadds f1, f2, f30 -/* 801306E0 0012D640 EC 00 20 2A */ fadds f0, f0, f4 -/* 801306E4 0012D644 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 801306E8 0012D648 D0 01 00 08 */ stfs f0, 8(r1) -/* 801306EC 0012D64C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 801306F0 0012D650 4B F4 C4 6D */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 801306F4 0012D654 48 00 00 08 */ b lbl_801306FC -lbl_801306F8: -/* 801306F8 0012D658 48 0C 4F 59 */ bl ApproachDest__10CPatternedFR13CStateManager -lbl_801306FC: -/* 801306FC 0012D65C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80130700 0012D660 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80130704 0012D664 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 80130708 0012D668 CB C1 00 20 */ lfd f30, 0x20(r1) -/* 8013070C 0012D66C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80130710 0012D670 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80130714 0012D674 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80130718 0012D678 7C 08 03 A6 */ mtlr r0 -/* 8013071C 0012D67C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80130720 0012D680 4E 80 00 20 */ blr - -.global Taunt__11CFlickerBatFR13CStateManager9EStateMsgf -Taunt__11CFlickerBatFR13CStateManager9EStateMsgf: -/* 80130724 0012D684 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80130728 0012D688 7C 08 02 A6 */ mflr r0 -/* 8013072C 0012D68C 2C 05 00 00 */ cmpwi r5, 0 -/* 80130730 0012D690 90 01 00 14 */ stw r0, 0x14(r1) -/* 80130734 0012D694 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80130738 0012D698 7C 7F 1B 78 */ mr r31, r3 -/* 8013073C 0012D69C 41 82 00 0C */ beq lbl_80130748 -/* 80130740 0012D6A0 41 80 00 1C */ blt lbl_8013075C -/* 80130744 0012D6A4 48 00 00 18 */ b lbl_8013075C -lbl_80130748: -/* 80130748 0012D6A8 48 00 00 61 */ bl NotifyNeighbors__11CFlickerBatFR13CStateManager -/* 8013074C 0012D6AC 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 80130750 0012D6B0 38 60 00 00 */ li r3, 0 -/* 80130754 0012D6B4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80130758 0012D6B8 98 1F 04 00 */ stb r0, 0x400(r31) -lbl_8013075C: -/* 8013075C 0012D6BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80130760 0012D6C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80130764 0012D6C4 7C 08 03 A6 */ mtlr r0 -/* 80130768 0012D6C8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013076C 0012D6CC 4E 80 00 20 */ blr - -.global HearShot__11CFlickerBatFR13CStateManagerf -HearShot__11CFlickerBatFR13CStateManagerf: -/* 80130770 0012D6D0 88 83 05 80 */ lbz r4, 0x580(r3) -/* 80130774 0012D6D4 54 80 D7 FF */ rlwinm. r0, r4, 0x1a, 0x1f, 0x1f -/* 80130778 0012D6D8 41 82 00 18 */ beq lbl_80130790 -/* 8013077C 0012D6DC 38 00 00 00 */ li r0, 0 -/* 80130780 0012D6E0 50 04 36 72 */ rlwimi r4, r0, 6, 0x19, 0x19 -/* 80130784 0012D6E4 98 83 05 80 */ stb r4, 0x580(r3) -/* 80130788 0012D6E8 38 60 00 01 */ li r3, 1 -/* 8013078C 0012D6EC 4E 80 00 20 */ blr -lbl_80130790: -/* 80130790 0012D6F0 38 60 00 00 */ li r3, 0 -/* 80130794 0012D6F4 4E 80 00 20 */ blr - -.global SetHeardShot__11CFlickerBatFb -SetHeardShot__11CFlickerBatFb: -/* 80130798 0012D6F8 88 03 05 80 */ lbz r0, 0x580(r3) -/* 8013079C 0012D6FC 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 801307A0 0012D700 98 03 05 80 */ stb r0, 0x580(r3) -/* 801307A4 0012D704 4E 80 00 20 */ blr - -.global NotifyNeighbors__11CFlickerBatFR13CStateManager -NotifyNeighbors__11CFlickerBatFR13CStateManager: -/* 801307A8 0012D708 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 801307AC 0012D70C 7C 08 02 A6 */ mflr r0 -/* 801307B0 0012D710 90 01 00 64 */ stw r0, 0x64(r1) -/* 801307B4 0012D714 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 801307B8 0012D718 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 801307BC 0012D71C DB C1 00 40 */ stfd f30, 0x40(r1) -/* 801307C0 0012D720 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 801307C4 0012D724 DB A1 00 30 */ stfd f29, 0x30(r1) -/* 801307C8 0012D728 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 801307CC 0012D72C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801307D0 0012D730 93 C1 00 28 */ stw r30, 0x28(r1) -/* 801307D4 0012D734 93 A1 00 24 */ stw r29, 0x24(r1) -/* 801307D8 0012D738 7C 9D 23 78 */ mr r29, r4 -/* 801307DC 0012D73C C3 E3 00 40 */ lfs f31, 0x40(r3) -/* 801307E0 0012D740 3B FD 0F 3C */ addi r31, r29, 0xf3c -/* 801307E4 0012D744 C3 C3 00 50 */ lfs f30, 0x50(r3) -/* 801307E8 0012D748 C3 A3 00 60 */ lfs f29, 0x60(r3) -/* 801307EC 0012D74C 83 C4 0F 40 */ lwz r30, 0xf40(r4) -/* 801307F0 0012D750 48 00 00 94 */ b lbl_80130884 -lbl_801307F4: -/* 801307F4 0012D754 A0 1E 00 08 */ lhz r0, 8(r30) -/* 801307F8 0012D758 7F A3 EB 78 */ mr r3, r29 -/* 801307FC 0012D75C 38 81 00 08 */ addi r4, r1, 8 -/* 80130800 0012D760 B0 01 00 08 */ sth r0, 8(r1) -/* 80130804 0012D764 4B F1 BD 71 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80130808 0012D768 7C 64 1B 78 */ mr r4, r3 -/* 8013080C 0012D76C 38 61 00 0C */ addi r3, r1, 0xc -/* 80130810 0012D770 4B F7 4D 61 */ bl sub_800a5570 -/* 80130814 0012D774 4B F7 4D 31 */ bl "CastTo<11CFlickerBat>__10CPatternedFP7CEntity" -/* 80130818 0012D778 28 03 00 00 */ cmplwi r3, 0 -/* 8013081C 0012D77C 40 82 00 18 */ bne lbl_80130834 -/* 80130820 0012D780 7F E3 FB 78 */ mr r3, r31 -/* 80130824 0012D784 7F C4 F3 78 */ mr r4, r30 -/* 80130828 0012D788 4B FF C6 49 */ bl "erase__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRCQ34rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>8iterator" -/* 8013082C 0012D78C 7C 7E 1B 78 */ mr r30, r3 -/* 80130830 0012D790 48 00 00 54 */ b lbl_80130884 -lbl_80130834: -/* 80130834 0012D794 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80130838 0012D798 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8013083C 0012D79C EC BE 08 28 */ fsubs f5, f30, f1 -/* 80130840 0012D7A0 C0 23 00 60 */ lfs f1, 0x60(r3) -/* 80130844 0012D7A4 EC 7F 00 28 */ fsubs f3, f31, f0 -/* 80130848 0012D7A8 C0 02 99 78 */ lfs f0, lbl_805AB698@sda21(r2) -/* 8013084C 0012D7AC EC 9D 08 28 */ fsubs f4, f29, f1 -/* 80130850 0012D7B0 EC 25 01 72 */ fmuls f1, f5, f5 -/* 80130854 0012D7B4 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 80130858 0012D7B8 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 8013085C 0012D7BC EC 64 01 32 */ fmuls f3, f4, f4 -/* 80130860 0012D7C0 D0 A1 00 14 */ stfs f5, 0x14(r1) -/* 80130864 0012D7C4 EC 22 08 2A */ fadds f1, f2, f1 -/* 80130868 0012D7C8 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8013086C 0012D7CC EC 23 08 2A */ fadds f1, f3, f1 -/* 80130870 0012D7D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80130874 0012D7D4 40 80 00 0C */ bge lbl_80130880 -/* 80130878 0012D7D8 38 80 00 01 */ li r4, 1 -/* 8013087C 0012D7DC 4B FF FF 1D */ bl SetHeardShot__11CFlickerBatFb -lbl_80130880: -/* 80130880 0012D7E0 83 DE 00 04 */ lwz r30, 4(r30) -lbl_80130884: -/* 80130884 0012D7E4 80 1F 00 08 */ lwz r0, 8(r31) -/* 80130888 0012D7E8 7C 1E 00 40 */ cmplw r30, r0 -/* 8013088C 0012D7EC 40 82 FF 68 */ bne lbl_801307F4 -/* 80130890 0012D7F0 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80130894 0012D7F4 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80130898 0012D7F8 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 8013089C 0012D7FC CB C1 00 40 */ lfd f30, 0x40(r1) -/* 801308A0 0012D800 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 801308A4 0012D804 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 801308A8 0012D808 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 801308AC 0012D80C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 801308B0 0012D810 80 01 00 64 */ lwz r0, 0x64(r1) -/* 801308B4 0012D814 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 801308B8 0012D818 7C 08 03 A6 */ mtlr r0 -/* 801308BC 0012D81C 38 21 00 60 */ addi r1, r1, 0x60 -/* 801308C0 0012D820 4E 80 00 20 */ blr - -.global CanBeShot__11CFlickerBatFRC13CStateManageri -CanBeShot__11CFlickerBatFRC13CStateManageri: -/* 801308C4 0012D824 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801308C8 0012D828 7C 08 02 A6 */ mflr r0 -/* 801308CC 0012D82C 90 01 00 24 */ stw r0, 0x24(r1) -/* 801308D0 0012D830 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801308D4 0012D834 3B E0 00 00 */ li r31, 0 -/* 801308D8 0012D838 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801308DC 0012D83C 3B C0 00 01 */ li r30, 1 -/* 801308E0 0012D840 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801308E4 0012D844 7C 9D 23 78 */ mr r29, r4 -/* 801308E8 0012D848 93 81 00 10 */ stw r28, 0x10(r1) -/* 801308EC 0012D84C 7C 7C 1B 78 */ mr r28, r3 -/* 801308F0 0012D850 48 00 07 25 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 801308F4 0012D854 2C 03 00 00 */ cmpwi r3, 0 -/* 801308F8 0012D858 41 82 00 14 */ beq lbl_8013090C -/* 801308FC 0012D85C 7F 83 E3 78 */ mr r3, r28 -/* 80130900 0012D860 48 00 07 15 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130904 0012D864 2C 03 00 02 */ cmpwi r3, 2 -/* 80130908 0012D868 40 82 00 08 */ bne lbl_80130910 -lbl_8013090C: -/* 8013090C 0012D86C 3B E0 00 01 */ li r31, 1 -lbl_80130910: -/* 80130910 0012D870 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80130914 0012D874 40 82 00 1C */ bne lbl_80130930 -/* 80130918 0012D878 80 7D 08 B8 */ lwz r3, 0x8b8(r29) -/* 8013091C 0012D87C 80 63 00 00 */ lwz r3, 0(r3) -/* 80130920 0012D880 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80130924 0012D884 2C 00 00 01 */ cmpwi r0, 1 -/* 80130928 0012D888 41 82 00 08 */ beq lbl_80130930 -/* 8013092C 0012D88C 3B C0 00 00 */ li r30, 0 -lbl_80130930: -/* 80130930 0012D890 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80130934 0012D894 7F C3 F3 78 */ mr r3, r30 -/* 80130938 0012D898 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013093C 0012D89C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80130940 0012D8A0 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80130944 0012D8A4 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80130948 0012D8A8 7C 08 03 A6 */ mtlr r0 -/* 8013094C 0012D8AC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80130950 0012D8B0 4E 80 00 20 */ blr - -.global Touch__11CFlickerBatFR6CActorR13CStateManager -Touch__11CFlickerBatFR6CActorR13CStateManager: -/* 80130954 0012D8B4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80130958 0012D8B8 7C 08 02 A6 */ mflr r0 -/* 8013095C 0012D8BC 90 01 00 74 */ stw r0, 0x74(r1) -/* 80130960 0012D8C0 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80130964 0012D8C4 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80130968 0012D8C8 7C BE 2B 78 */ mr r30, r5 -/* 8013096C 0012D8CC 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80130970 0012D8D0 7C 9D 23 78 */ mr r29, r4 -/* 80130974 0012D8D4 93 81 00 60 */ stw r28, 0x60(r1) -/* 80130978 0012D8D8 7C 7C 1B 78 */ mr r28, r3 -/* 8013097C 0012D8DC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80130980 0012D8E0 4B F7 BA 81 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -/* 80130984 0012D8E4 83 E3 00 04 */ lwz r31, 4(r3) -/* 80130988 0012D8E8 28 1F 00 00 */ cmplwi r31, 0 -/* 8013098C 0012D8EC 41 82 00 AC */ beq lbl_80130A38 -/* 80130990 0012D8F0 C0 3C 04 20 */ lfs f1, 0x420(r28) -/* 80130994 0012D8F4 C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) -/* 80130998 0012D8F8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013099C 0012D8FC 4C 40 13 82 */ cror 2, 0, 2 -/* 801309A0 0012D900 40 82 00 98 */ bne lbl_80130A38 -/* 801309A4 0012D904 80 AD 8B 30 */ lwz r5, lbl_805A76F0@sda21(r13) -/* 801309A8 0012D908 38 60 00 00 */ li r3, 0 -/* 801309AC 0012D90C 38 80 00 01 */ li r4, 1 -/* 801309B0 0012D910 48 25 95 45 */ bl __shl2i -/* 801309B4 0012D914 38 A0 00 00 */ li r5, 0 -/* 801309B8 0012D918 38 00 00 03 */ li r0, 3 -/* 801309BC 0012D91C 90 81 00 2C */ stw r4, 0x2c(r1) -/* 801309C0 0012D920 7F 84 E3 78 */ mr r4, r28 -/* 801309C4 0012D924 90 61 00 28 */ stw r3, 0x28(r1) -/* 801309C8 0012D928 38 61 00 40 */ addi r3, r1, 0x40 -/* 801309CC 0012D92C 90 A1 00 34 */ stw r5, 0x34(r1) -/* 801309D0 0012D930 90 A1 00 30 */ stw r5, 0x30(r1) -/* 801309D4 0012D934 90 01 00 38 */ stw r0, 0x38(r1) -/* 801309D8 0012D938 A0 1C 00 08 */ lhz r0, 8(r28) -/* 801309DC 0012D93C B0 01 00 0C */ sth r0, 0xc(r1) -/* 801309E0 0012D940 A0 BF 00 08 */ lhz r5, 8(r31) -/* 801309E4 0012D944 B0 01 00 08 */ sth r0, 8(r1) -/* 801309E8 0012D948 B0 A1 00 14 */ sth r5, 0x14(r1) -/* 801309EC 0012D94C A0 1C 00 08 */ lhz r0, 8(r28) -/* 801309F0 0012D950 B0 A1 00 10 */ sth r5, 0x10(r1) -/* 801309F4 0012D954 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 801309F8 0012D958 81 9C 00 00 */ lwz r12, 0(r28) -/* 801309FC 0012D95C B0 01 00 18 */ sth r0, 0x18(r1) -/* 80130A00 0012D960 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 80130A04 0012D964 7D 89 03 A6 */ mtctr r12 -/* 80130A08 0012D968 4E 80 04 21 */ bctrl -/* 80130A0C 0012D96C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80130A10 0012D970 7F C3 F3 78 */ mr r3, r30 -/* 80130A14 0012D974 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80130A18 0012D978 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80130A1C 0012D97C 38 81 00 1C */ addi r4, r1, 0x1c -/* 80130A20 0012D980 38 C1 00 0C */ addi r6, r1, 0xc -/* 80130A24 0012D984 38 E1 00 40 */ addi r7, r1, 0x40 -/* 80130A28 0012D988 39 01 00 28 */ addi r8, r1, 0x28 -/* 80130A2C 0012D98C 4B F1 96 75 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80130A30 0012D990 C0 1C 04 24 */ lfs f0, 0x424(r28) -/* 80130A34 0012D994 D0 1C 04 20 */ stfs f0, 0x420(r28) -lbl_80130A38: -/* 80130A38 0012D998 7F 83 E3 78 */ mr r3, r28 -/* 80130A3C 0012D99C 7F A4 EB 78 */ mr r4, r29 -/* 80130A40 0012D9A0 7F C5 F3 78 */ mr r5, r30 -/* 80130A44 0012D9A4 4B F4 90 5D */ bl Touch__10CPatternedFR6CActorR13CStateManager -/* 80130A48 0012D9A8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80130A4C 0012D9AC 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80130A50 0012D9B0 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80130A54 0012D9B4 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80130A58 0012D9B8 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80130A5C 0012D9BC 7C 08 03 A6 */ mtlr r0 -/* 80130A60 0012D9C0 38 21 00 70 */ addi r1, r1, 0x70 -/* 80130A64 0012D9C4 4E 80 00 20 */ blr - -.global Think__11CFlickerBatFfR13CStateManager -Think__11CFlickerBatFfR13CStateManager: -/* 80130A68 0012D9C8 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80130A6C 0012D9CC 7C 08 02 A6 */ mflr r0 -/* 80130A70 0012D9D0 90 01 00 54 */ stw r0, 0x54(r1) -/* 80130A74 0012D9D4 DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80130A78 0012D9D8 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80130A7C 0012D9DC DB C1 00 30 */ stfd f30, 0x30(r1) -/* 80130A80 0012D9E0 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0 -/* 80130A84 0012D9E4 DB A1 00 20 */ stfd f29, 0x20(r1) -/* 80130A88 0012D9E8 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0 -/* 80130A8C 0012D9EC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80130A90 0012D9F0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80130A94 0012D9F4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80130A98 0012D9F8 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80130A9C 0012D9FC FF A0 08 90 */ fmr f29, f1 -/* 80130AA0 0012DA00 7C 7E 1B 78 */ mr r30, r3 -/* 80130AA4 0012DA04 7C 9F 23 78 */ mr r31, r4 -/* 80130AA8 0012DA08 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80130AAC 0012DA0C 41 82 02 48 */ beq lbl_80130CF4 -/* 80130AB0 0012DA10 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80130AB4 0012DA14 80 63 00 00 */ lwz r3, 0(r3) -/* 80130AB8 0012DA18 4B F6 0A A1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80130ABC 0012DA1C 20 83 00 01 */ subfic r4, r3, 1 -/* 80130AC0 0012DA20 38 03 FF FF */ addi r0, r3, -1 -/* 80130AC4 0012DA24 7C 83 03 78 */ or r3, r4, r0 -/* 80130AC8 0012DA28 88 1E 04 02 */ lbz r0, 0x402(r30) -/* 80130ACC 0012DA2C 54 64 0F FE */ srwi r4, r3, 0x1f -/* 80130AD0 0012DA30 7F C3 F3 78 */ mr r3, r30 -/* 80130AD4 0012DA34 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d -/* 80130AD8 0012DA38 98 1E 04 02 */ stb r0, 0x402(r30) -/* 80130ADC 0012DA3C 48 00 05 39 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130AE0 0012DA40 2C 03 00 02 */ cmpwi r3, 2 -/* 80130AE4 0012DA44 41 82 00 14 */ beq lbl_80130AF8 -/* 80130AE8 0012DA48 7F C3 F3 78 */ mr r3, r30 -/* 80130AEC 0012DA4C 48 00 05 29 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130AF0 0012DA50 2C 03 00 03 */ cmpwi r3, 3 -/* 80130AF4 0012DA54 40 82 00 58 */ bne lbl_80130B4C -lbl_80130AF8: -/* 80130AF8 0012DA58 C0 3E 05 78 */ lfs f1, 0x578(r30) -/* 80130AFC 0012DA5C C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) -/* 80130B00 0012DA60 EC 21 E8 28 */ fsubs f1, f1, f29 -/* 80130B04 0012DA64 D0 3E 05 78 */ stfs f1, 0x578(r30) -/* 80130B08 0012DA68 C0 3E 05 78 */ lfs f1, 0x578(r30) -/* 80130B0C 0012DA6C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80130B10 0012DA70 4C 40 13 82 */ cror 2, 0, 2 -/* 80130B14 0012DA74 40 82 00 38 */ bne lbl_80130B4C -/* 80130B18 0012DA78 7F C3 F3 78 */ mr r3, r30 -/* 80130B1C 0012DA7C 48 00 04 F9 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130B20 0012DA80 2C 03 00 02 */ cmpwi r3, 2 -/* 80130B24 0012DA84 40 82 00 18 */ bne lbl_80130B3C -/* 80130B28 0012DA88 7F C3 F3 78 */ mr r3, r30 -/* 80130B2C 0012DA8C 7F E5 FB 78 */ mr r5, r31 -/* 80130B30 0012DA90 38 80 00 00 */ li r4, 0 -/* 80130B34 0012DA94 48 00 04 E9 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager -/* 80130B38 0012DA98 48 00 00 14 */ b lbl_80130B4C -lbl_80130B3C: -/* 80130B3C 0012DA9C 7F C3 F3 78 */ mr r3, r30 -/* 80130B40 0012DAA0 7F E5 FB 78 */ mr r5, r31 -/* 80130B44 0012DAA4 38 80 00 01 */ li r4, 1 -/* 80130B48 0012DAA8 48 00 04 D5 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager -lbl_80130B4C: -/* 80130B4C 0012DAAC 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80130B50 0012DAB0 88 1E 05 80 */ lbz r0, 0x580(r30) -/* 80130B54 0012DAB4 80 63 00 00 */ lwz r3, 0(r3) -/* 80130B58 0012DAB8 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f -/* 80130B5C 0012DABC 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80130B60 0012DAC0 20 63 00 01 */ subfic r3, r3, 1 -/* 80130B64 0012DAC4 7C 64 00 34 */ cntlzw r4, r3 -/* 80130B68 0012DAC8 54 83 DE 3E */ rlwinm r3, r4, 0x1b, 0x18, 0x1f -/* 80130B6C 0012DACC 7C 03 00 40 */ cmplw r3, r0 -/* 80130B70 0012DAD0 54 9D D9 7E */ srwi r29, r4, 5 -/* 80130B74 0012DAD4 41 82 00 98 */ beq lbl_80130C0C -/* 80130B78 0012DAD8 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80130B7C 0012DADC 41 82 00 44 */ beq lbl_80130BC0 -/* 80130B80 0012DAE0 7F C3 F3 78 */ mr r3, r30 -/* 80130B84 0012DAE4 48 00 04 91 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130B88 0012DAE8 2C 03 00 01 */ cmpwi r3, 1 -/* 80130B8C 0012DAEC 40 82 00 24 */ bne lbl_80130BB0 -/* 80130B90 0012DAF0 7F C3 F3 78 */ mr r3, r30 -/* 80130B94 0012DAF4 7F E6 FB 78 */ mr r6, r31 -/* 80130B98 0012DAF8 38 80 00 28 */ li r4, 0x28 -/* 80130B9C 0012DAFC 38 A0 00 29 */ li r5, 0x29 -/* 80130BA0 0012DB00 4B F2 37 15 */ bl AddMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 80130BA4 0012DB04 7F C3 F3 78 */ mr r3, r30 -/* 80130BA8 0012DB08 38 80 00 00 */ li r4, 0 -/* 80130BAC 0012DB0C 4B F2 28 41 */ bl SetMuted__6CActorFb -lbl_80130BB0: -/* 80130BB0 0012DB10 7F C3 F3 78 */ mr r3, r30 -/* 80130BB4 0012DB14 38 80 00 00 */ li r4, 0 -/* 80130BB8 0012DB18 4B F2 21 B5 */ bl CreateShadow__6CActorFb -/* 80130BBC 0012DB1C 48 00 00 44 */ b lbl_80130C00 -lbl_80130BC0: -/* 80130BC0 0012DB20 7F C3 F3 78 */ mr r3, r30 -/* 80130BC4 0012DB24 48 00 04 51 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130BC8 0012DB28 2C 03 00 01 */ cmpwi r3, 1 -/* 80130BCC 0012DB2C 40 82 00 28 */ bne lbl_80130BF4 -/* 80130BD0 0012DB30 7F C3 F3 78 */ mr r3, r30 -/* 80130BD4 0012DB34 7F E6 FB 78 */ mr r6, r31 -/* 80130BD8 0012DB38 38 80 00 28 */ li r4, 0x28 -/* 80130BDC 0012DB3C 38 A0 00 29 */ li r5, 0x29 -/* 80130BE0 0012DB40 4B F2 32 F5 */ bl RemoveMaterial__6CActorF14EMaterialTypes14EMaterialTypesR13CStateManager -/* 80130BE4 0012DB44 7F C3 F3 78 */ mr r3, r30 -/* 80130BE8 0012DB48 38 80 00 01 */ li r4, 1 -/* 80130BEC 0012DB4C 4B F2 28 01 */ bl SetMuted__6CActorFb -/* 80130BF0 0012DB50 48 00 00 10 */ b lbl_80130C00 -lbl_80130BF4: -/* 80130BF4 0012DB54 7F C3 F3 78 */ mr r3, r30 -/* 80130BF8 0012DB58 38 80 00 01 */ li r4, 1 -/* 80130BFC 0012DB5C 4B F2 21 71 */ bl CreateShadow__6CActorFb -lbl_80130C00: -/* 80130C00 0012DB60 88 1E 05 80 */ lbz r0, 0x580(r30) -/* 80130C04 0012DB64 53 A0 3E 30 */ rlwimi r0, r29, 7, 0x18, 0x18 -/* 80130C08 0012DB68 98 1E 05 80 */ stb r0, 0x580(r30) -lbl_80130C0C: -/* 80130C0C 0012DB6C 88 1E 05 80 */ lbz r0, 0x580(r30) -/* 80130C10 0012DB70 C3 C2 99 60 */ lfs f30, lbl_805AB680@sda21(r2) -/* 80130C14 0012DB74 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80130C18 0012DB78 40 82 00 14 */ bne lbl_80130C2C -/* 80130C1C 0012DB7C 7F C3 F3 78 */ mr r3, r30 -/* 80130C20 0012DB80 48 00 03 F5 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130C24 0012DB84 2C 03 00 00 */ cmpwi r3, 0 -/* 80130C28 0012DB88 40 82 00 0C */ bne lbl_80130C34 -lbl_80130C2C: -/* 80130C2C 0012DB8C C3 C2 99 64 */ lfs f30, lbl_805AB684@sda21(r2) -/* 80130C30 0012DB90 48 00 00 48 */ b lbl_80130C78 -lbl_80130C34: -/* 80130C34 0012DB94 7F C3 F3 78 */ mr r3, r30 -/* 80130C38 0012DB98 48 00 03 DD */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130C3C 0012DB9C 2C 03 00 02 */ cmpwi r3, 2 -/* 80130C40 0012DBA0 41 82 00 14 */ beq lbl_80130C54 -/* 80130C44 0012DBA4 7F C3 F3 78 */ mr r3, r30 -/* 80130C48 0012DBA8 48 00 03 CD */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130C4C 0012DBAC 2C 03 00 03 */ cmpwi r3, 3 -/* 80130C50 0012DBB0 40 82 00 28 */ bne lbl_80130C78 -lbl_80130C54: -/* 80130C54 0012DBB4 C0 3E 05 78 */ lfs f1, 0x578(r30) -/* 80130C58 0012DBB8 7F C3 F3 78 */ mr r3, r30 -/* 80130C5C 0012DBBC C0 1E 05 7C */ lfs f0, 0x57c(r30) -/* 80130C60 0012DBC0 EF C1 00 32 */ fmuls f30, f1, f0 -/* 80130C64 0012DBC4 48 00 03 B1 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80130C68 0012DBC8 2C 03 00 02 */ cmpwi r3, 2 -/* 80130C6C 0012DBCC 40 82 00 0C */ bne lbl_80130C78 -/* 80130C70 0012DBD0 C0 02 99 64 */ lfs f0, lbl_805AB684@sda21(r2) -/* 80130C74 0012DBD4 EF C0 F0 28 */ fsubs f30, f0, f30 -lbl_80130C78: -/* 80130C78 0012DBD8 C0 02 99 80 */ lfs f0, lbl_805AB6A0@sda21(r2) -/* 80130C7C 0012DBDC EF E0 07 B2 */ fmuls f31, f0, f30 -/* 80130C80 0012DBE0 F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80130C84 0012DBE4 FC 20 F0 90 */ fmr f1, f30 -/* 80130C88 0012DBE8 88 01 00 08 */ lbz r0, 8(r1) -/* 80130C8C 0012DBEC 98 1E 04 2F */ stb r0, 0x42f(r30) -/* 80130C90 0012DBF0 80 7E 00 94 */ lwz r3, 0x94(r30) -/* 80130C94 0012DBF4 4B FD 50 75 */ bl SetUserAlpha__13CSimpleShadowFf -/* 80130C98 0012DBF8 80 7F 08 B8 */ lwz r3, 0x8b8(r31) -/* 80130C9C 0012DBFC 38 80 00 01 */ li r4, 1 -/* 80130CA0 0012DC00 80 63 00 00 */ lwz r3, 0(r3) -/* 80130CA4 0012DC04 80 63 00 14 */ lwz r3, 0x14(r3) -/* 80130CA8 0012DC08 2C 03 00 01 */ cmpwi r3, 1 -/* 80130CAC 0012DC0C 41 82 00 2C */ beq lbl_80130CD8 -/* 80130CB0 0012DC10 80 1E 05 74 */ lwz r0, 0x574(r30) -/* 80130CB4 0012DC14 38 A0 00 00 */ li r5, 0 -/* 80130CB8 0012DC18 2C 00 00 00 */ cmpwi r0, 0 -/* 80130CBC 0012DC1C 40 82 00 10 */ bne lbl_80130CCC -/* 80130CC0 0012DC20 2C 03 00 02 */ cmpwi r3, 2 -/* 80130CC4 0012DC24 40 82 00 08 */ bne lbl_80130CCC -/* 80130CC8 0012DC28 7C 85 23 78 */ mr r5, r4 -lbl_80130CCC: -/* 80130CCC 0012DC2C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80130CD0 0012DC30 40 82 00 08 */ bne lbl_80130CD8 -/* 80130CD4 0012DC34 38 80 00 00 */ li r4, 0 -lbl_80130CD8: -/* 80130CD8 0012DC38 88 1E 00 E7 */ lbz r0, 0xe7(r30) -/* 80130CDC 0012DC3C 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f -/* 80130CE0 0012DC40 FC 20 E8 90 */ fmr f1, f29 -/* 80130CE4 0012DC44 7F C3 F3 78 */ mr r3, r30 -/* 80130CE8 0012DC48 98 1E 00 E7 */ stb r0, 0xe7(r30) -/* 80130CEC 0012DC4C 7F E4 FB 78 */ mr r4, r31 -/* 80130CF0 0012DC50 4B F4 8E 29 */ bl Think__10CPatternedFfR13CStateManager -lbl_80130CF4: -/* 80130CF4 0012DC54 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 80130CF8 0012DC58 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80130CFC 0012DC5C E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0 -/* 80130D00 0012DC60 CB C1 00 30 */ lfd f30, 0x30(r1) -/* 80130D04 0012DC64 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0 -/* 80130D08 0012DC68 CB A1 00 20 */ lfd f29, 0x20(r1) -/* 80130D0C 0012DC6C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80130D10 0012DC70 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80130D14 0012DC74 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80130D18 0012DC78 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80130D1C 0012DC7C 7C 08 03 A6 */ mtlr r0 -/* 80130D20 0012DC80 38 21 00 50 */ addi r1, r1, 0x50 -/* 80130D24 0012DC84 4E 80 00 20 */ blr - -.global Death__11CFlickerBatFRC9CVector3fR13CStateManager -Death__11CFlickerBatFRC9CVector3fR13CStateManager: -/* 80130D28 0012DC88 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80130D2C 0012DC8C 7C 08 02 A6 */ mflr r0 -/* 80130D30 0012DC90 90 01 00 24 */ stw r0, 0x24(r1) -/* 80130D34 0012DC94 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80130D38 0012DC98 7C DF 33 78 */ mr r31, r6 -/* 80130D3C 0012DC9C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80130D40 0012DCA0 7C BE 2B 78 */ mr r30, r5 -/* 80130D44 0012DCA4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80130D48 0012DCA8 7C 9D 23 78 */ mr r29, r4 -/* 80130D4C 0012DCAC 7F A5 EB 78 */ mr r5, r29 -/* 80130D50 0012DCB0 38 80 00 00 */ li r4, 0 -/* 80130D54 0012DCB4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80130D58 0012DCB8 7C 7C 1B 78 */ mr r28, r3 -/* 80130D5C 0012DCBC 48 00 02 C1 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager -/* 80130D60 0012DCC0 7F 83 E3 78 */ mr r3, r28 -/* 80130D64 0012DCC4 38 80 00 00 */ li r4, 0 -/* 80130D68 0012DCC8 4B F2 26 85 */ bl SetMuted__6CActorFb -/* 80130D6C 0012DCCC 7F 83 E3 78 */ mr r3, r28 -/* 80130D70 0012DCD0 7F A4 EB 78 */ mr r4, r29 -/* 80130D74 0012DCD4 7F C5 F3 78 */ mr r5, r30 -/* 80130D78 0012DCD8 7F E6 FB 78 */ mr r6, r31 -/* 80130D7C 0012DCDC 4B F4 A6 29 */ bl Death__10CPatternedFR13CStateManagerRC9CVector3f18EScriptObjectState -/* 80130D80 0012DCE0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80130D84 0012DCE4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80130D88 0012DCE8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80130D8C 0012DCEC 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80130D90 0012DCF0 83 81 00 10 */ lwz r28, 0x10(r1) -/* 80130D94 0012DCF4 7C 08 03 A6 */ mtlr r0 -/* 80130D98 0012DCF8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80130D9C 0012DCFC 4E 80 00 20 */ blr - -.global sub_80130da0 -sub_80130da0: -/* 80130DA0 0012DD00 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80130DA4 0012DD04 7C 08 02 A6 */ mflr r0 -/* 80130DA8 0012DD08 90 01 00 84 */ stw r0, 0x84(r1) -/* 80130DAC 0012DD0C DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80130DB0 0012DD10 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80130DB4 0012DD14 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80130DB8 0012DD18 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80130DBC 0012DD1C 7C 7E 1B 78 */ mr r30, r3 -/* 80130DC0 0012DD20 88 63 05 80 */ lbz r3, 0x580(r3) -/* 80130DC4 0012DD24 7C 9F 23 78 */ mr r31, r4 -/* 80130DC8 0012DD28 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80130DCC 0012DD2C 40 82 00 14 */ bne lbl_80130DE0 -/* 80130DD0 0012DD30 38 00 00 00 */ li r0, 0 -/* 80130DD4 0012DD34 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a -/* 80130DD8 0012DD38 98 7E 05 80 */ stb r3, 0x580(r30) -/* 80130DDC 0012DD3C 48 00 00 F8 */ b lbl_80130ED4 -lbl_80130DE0: -/* 80130DE0 0012DD40 80 7F 08 70 */ lwz r3, 0x870(r31) -/* 80130DE4 0012DD44 4B ED AD 35 */ bl GetCurrentCamera__14CCameraManagerCFR13CStateManager -/* 80130DE8 0012DD48 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80130DEC 0012DD4C 7F C4 F3 78 */ mr r4, r30 -/* 80130DF0 0012DD50 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80130DF4 0012DD54 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80130DF8 0012DD58 38 61 00 48 */ addi r3, r1, 0x48 -/* 80130DFC 0012DD5C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80130E00 0012DD60 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80130E04 0012DD64 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80130E08 0012DD68 4B FE 9B 25 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80130E0C 0012DD6C 38 61 00 08 */ addi r3, r1, 8 -/* 80130E10 0012DD70 38 81 00 48 */ addi r4, r1, 0x48 -/* 80130E14 0012DD74 48 20 67 F9 */ bl GetCenterPoint__6CAABoxCFv -/* 80130E18 0012DD78 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80130E1C 0012DD7C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80130E20 0012DD80 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80130E24 0012DD84 C0 61 00 10 */ lfs f3, 0x10(r1) -/* 80130E28 0012DD88 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80130E2C 0012DD8C EC 81 00 28 */ fsubs f4, f1, f0 -/* 80130E30 0012DD90 C0 21 00 08 */ lfs f1, 8(r1) -/* 80130E34 0012DD94 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 80130E38 0012DD98 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80130E3C 0012DD9C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80130E40 0012DDA0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80130E44 0012DDA4 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80130E48 0012DDA8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80130E4C 0012DDAC 48 1E 3A 6D */ bl Magnitude__9CVector3fCFv -/* 80130E50 0012DDB0 FF E0 08 90 */ fmr f31, f1 -/* 80130E54 0012DDB4 C0 62 99 64 */ lfs f3, lbl_805AB684@sda21(r2) -/* 80130E58 0012DDB8 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 80130E5C 0012DDBC 38 60 00 00 */ li r3, 0 -/* 80130E60 0012DDC0 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80130E64 0012DDC4 38 80 00 01 */ li r4, 1 -/* 80130E68 0012DDC8 EC 63 F8 24 */ fdivs f3, f3, f31 -/* 80130E6C 0012DDCC C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80130E70 0012DDD0 80 AD 8B 34 */ lwz r5, lbl_805A76F4@sda21(r13) -/* 80130E74 0012DDD4 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 80130E78 0012DDD8 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 80130E7C 0012DDDC EC 00 00 F2 */ fmuls f0, f0, f3 -/* 80130E80 0012DDE0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80130E84 0012DDE4 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80130E88 0012DDE8 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80130E8C 0012DDEC 48 25 90 69 */ bl __shl2i -/* 80130E90 0012DDF0 39 00 FF FF */ li r8, -1 -/* 80130E94 0012DDF4 38 E0 00 00 */ li r7, 0 -/* 80130E98 0012DDF8 38 00 00 02 */ li r0, 2 -/* 80130E9C 0012DDFC 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80130EA0 0012DE00 FC 20 F8 90 */ fmr f1, f31 -/* 80130EA4 0012DE04 38 81 00 20 */ addi r4, r1, 0x20 -/* 80130EA8 0012DE08 90 61 00 38 */ stw r3, 0x38(r1) -/* 80130EAC 0012DE0C 7F E3 FB 78 */ mr r3, r31 -/* 80130EB0 0012DE10 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80130EB4 0012DE14 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80130EB8 0012DE18 91 01 00 34 */ stw r8, 0x34(r1) -/* 80130EBC 0012DE1C 90 E1 00 30 */ stw r7, 0x30(r1) -/* 80130EC0 0012DE20 90 01 00 40 */ stw r0, 0x40(r1) -/* 80130EC4 0012DE24 48 05 3D 35 */ bl RayStaticIntersectionBool__14CGameCollisionFRC13CStateManagerRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80130EC8 0012DE28 88 1E 05 80 */ lbz r0, 0x580(r30) -/* 80130ECC 0012DE2C 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 80130ED0 0012DE30 98 1E 05 80 */ stb r0, 0x580(r30) -lbl_80130ED4: -/* 80130ED4 0012DE34 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80130ED8 0012DE38 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80130EDC 0012DE3C CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80130EE0 0012DE40 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80130EE4 0012DE44 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80130EE8 0012DE48 7C 08 03 A6 */ mtlr r0 -/* 80130EEC 0012DE4C 38 21 00 80 */ addi r1, r1, 0x80 -/* 80130EF0 0012DE50 4E 80 00 20 */ blr - -.global FlickerBatStateChanged__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager -FlickerBatStateChanged__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager: -/* 80130EF4 0012DE54 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80130EF8 0012DE58 7C 08 02 A6 */ mflr r0 -/* 80130EFC 0012DE5C 2C 04 00 02 */ cmpwi r4, 2 -/* 80130F00 0012DE60 90 01 00 14 */ stw r0, 0x14(r1) -/* 80130F04 0012DE64 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80130F08 0012DE68 7C BF 2B 78 */ mr r31, r5 -/* 80130F0C 0012DE6C 93 C1 00 08 */ stw r30, 8(r1) -/* 80130F10 0012DE70 7C 7E 1B 78 */ mr r30, r3 -/* 80130F14 0012DE74 41 82 00 70 */ beq lbl_80130F84 -/* 80130F18 0012DE78 40 80 00 14 */ bge lbl_80130F2C -/* 80130F1C 0012DE7C 2C 04 00 00 */ cmpwi r4, 0 -/* 80130F20 0012DE80 41 82 00 18 */ beq lbl_80130F38 -/* 80130F24 0012DE84 40 80 00 44 */ bge lbl_80130F68 -/* 80130F28 0012DE88 48 00 00 D4 */ b lbl_80130FFC -lbl_80130F2C: -/* 80130F2C 0012DE8C 2C 04 00 04 */ cmpwi r4, 4 -/* 80130F30 0012DE90 40 80 00 CC */ bge lbl_80130FFC -/* 80130F34 0012DE94 48 00 00 94 */ b lbl_80130FC8 -lbl_80130F38: -/* 80130F38 0012DE98 80 9F 08 B8 */ lwz r4, 0x8b8(r31) -/* 80130F3C 0012DE9C 80 84 00 00 */ lwz r4, 0(r4) -/* 80130F40 0012DEA0 80 04 00 14 */ lwz r0, 0x14(r4) -/* 80130F44 0012DEA4 2C 00 00 01 */ cmpwi r0, 1 -/* 80130F48 0012DEA8 41 82 00 0C */ beq lbl_80130F54 -/* 80130F4C 0012DEAC 38 80 00 01 */ li r4, 1 -/* 80130F50 0012DEB0 4B F2 1E 1D */ bl CreateShadow__6CActorFb -lbl_80130F54: -/* 80130F54 0012DEB4 7F C3 F3 78 */ mr r3, r30 -/* 80130F58 0012DEB8 7F E5 FB 78 */ mr r5, r31 -/* 80130F5C 0012DEBC 38 80 00 28 */ li r4, 0x28 -/* 80130F60 0012DEC0 4B F2 33 F1 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80130F64 0012DEC4 48 00 00 98 */ b lbl_80130FFC -lbl_80130F68: -/* 80130F68 0012DEC8 38 80 00 01 */ li r4, 1 -/* 80130F6C 0012DECC 4B F2 24 81 */ bl SetMuted__6CActorFb -/* 80130F70 0012DED0 7F C3 F3 78 */ mr r3, r30 -/* 80130F74 0012DED4 7F E5 FB 78 */ mr r5, r31 -/* 80130F78 0012DED8 38 80 00 28 */ li r4, 0x28 -/* 80130F7C 0012DEDC 4B F2 30 05 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80130F80 0012DEE0 48 00 00 7C */ b lbl_80130FFC -lbl_80130F84: -/* 80130F84 0012DEE4 80 9F 08 B8 */ lwz r4, 0x8b8(r31) -/* 80130F88 0012DEE8 80 84 00 00 */ lwz r4, 0(r4) -/* 80130F8C 0012DEEC 80 04 00 14 */ lwz r0, 0x14(r4) -/* 80130F90 0012DEF0 2C 00 00 01 */ cmpwi r0, 1 -/* 80130F94 0012DEF4 41 82 00 18 */ beq lbl_80130FAC -/* 80130F98 0012DEF8 38 80 00 01 */ li r4, 1 -/* 80130F9C 0012DEFC 4B F2 1D D1 */ bl CreateShadow__6CActorFb -/* 80130FA0 0012DF00 7F C3 F3 78 */ mr r3, r30 -/* 80130FA4 0012DF04 38 80 00 00 */ li r4, 0 -/* 80130FA8 0012DF08 4B F2 24 45 */ bl SetMuted__6CActorFb -lbl_80130FAC: -/* 80130FAC 0012DF0C 7F C3 F3 78 */ mr r3, r30 -/* 80130FB0 0012DF10 7F E4 FB 78 */ mr r4, r31 -/* 80130FB4 0012DF14 4B FF FD ED */ bl sub_80130da0 -/* 80130FB8 0012DF18 7F C3 F3 78 */ mr r3, r30 -/* 80130FBC 0012DF1C 38 80 00 01 */ li r4, 1 -/* 80130FC0 0012DF20 4B F4 B9 3D */ bl SetupPlayerCollision__10CPatternedFb -/* 80130FC4 0012DF24 48 00 00 38 */ b lbl_80130FFC -lbl_80130FC8: -/* 80130FC8 0012DF28 80 9F 08 B8 */ lwz r4, 0x8b8(r31) -/* 80130FCC 0012DF2C 80 84 00 00 */ lwz r4, 0(r4) -/* 80130FD0 0012DF30 80 04 00 14 */ lwz r0, 0x14(r4) -/* 80130FD4 0012DF34 2C 00 00 01 */ cmpwi r0, 1 -/* 80130FD8 0012DF38 41 82 00 0C */ beq lbl_80130FE4 -/* 80130FDC 0012DF3C 38 80 00 00 */ li r4, 0 -/* 80130FE0 0012DF40 4B F2 1D 8D */ bl CreateShadow__6CActorFb -lbl_80130FE4: -/* 80130FE4 0012DF44 7F C3 F3 78 */ mr r3, r30 -/* 80130FE8 0012DF48 7F E4 FB 78 */ mr r4, r31 -/* 80130FEC 0012DF4C 4B FF FD B5 */ bl sub_80130da0 -/* 80130FF0 0012DF50 7F C3 F3 78 */ mr r3, r30 -/* 80130FF4 0012DF54 38 80 00 00 */ li r4, 0 -/* 80130FF8 0012DF58 4B F4 B9 05 */ bl SetupPlayerCollision__10CPatternedFb -lbl_80130FFC: -/* 80130FFC 0012DF5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80131000 0012DF60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80131004 0012DF64 83 C1 00 08 */ lwz r30, 8(r1) -/* 80131008 0012DF68 7C 08 03 A6 */ mtlr r0 -/* 8013100C 0012DF6C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80131010 0012DF70 4E 80 00 20 */ blr - -.global GetFlickerBatState__11CFlickerBatCFv -GetFlickerBatState__11CFlickerBatCFv: -/* 80131014 0012DF74 80 63 05 74 */ lwz r3, 0x574(r3) -/* 80131018 0012DF78 4E 80 00 20 */ blr - -.global SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager -SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager: -/* 8013101C 0012DF7C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80131020 0012DF80 7C 08 02 A6 */ mflr r0 -/* 80131024 0012DF84 90 01 00 14 */ stw r0, 0x14(r1) -/* 80131028 0012DF88 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013102C 0012DF8C 7C 9F 23 78 */ mr r31, r4 -/* 80131030 0012DF90 93 C1 00 08 */ stw r30, 8(r1) -/* 80131034 0012DF94 7C 7E 1B 78 */ mr r30, r3 -/* 80131038 0012DF98 80 03 05 74 */ lwz r0, 0x574(r3) -/* 8013103C 0012DF9C 7C 1F 00 00 */ cmpw r31, r0 -/* 80131040 0012DFA0 41 82 00 0C */ beq lbl_8013104C -/* 80131044 0012DFA4 4B FF FE B1 */ bl FlickerBatStateChanged__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager -/* 80131048 0012DFA8 93 FE 05 74 */ stw r31, 0x574(r30) -lbl_8013104C: -/* 8013104C 0012DFAC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80131050 0012DFB0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80131054 0012DFB4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80131058 0012DFB8 7C 08 03 A6 */ mtlr r0 -/* 8013105C 0012DFBC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80131060 0012DFC0 4E 80 00 20 */ blr - -.global sub_80131064 -sub_80131064: -/* 80131064 0012DFC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80131068 0012DFC8 7C 08 02 A6 */ mflr r0 -/* 8013106C 0012DFCC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80131070 0012DFD0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80131074 0012DFD4 7C 9F 23 78 */ mr r31, r4 -/* 80131078 0012DFD8 93 C1 00 08 */ stw r30, 8(r1) -/* 8013107C 0012DFDC 7C 7E 1B 78 */ mr r30, r3 -/* 80131080 0012DFE0 4B FF FF 95 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80131084 0012DFE4 2C 03 00 00 */ cmpwi r3, 0 -/* 80131088 0012DFE8 41 82 00 14 */ beq lbl_8013109C -/* 8013108C 0012DFEC 7F C3 F3 78 */ mr r3, r30 -/* 80131090 0012DFF0 4B FF FF 85 */ bl GetFlickerBatState__11CFlickerBatCFv -/* 80131094 0012DFF4 2C 03 00 02 */ cmpwi r3, 2 -/* 80131098 0012DFF8 40 82 00 18 */ bne lbl_801310B0 -lbl_8013109C: -/* 8013109C 0012DFFC 7F C3 F3 78 */ mr r3, r30 -/* 801310A0 0012E000 7F E5 FB 78 */ mr r5, r31 -/* 801310A4 0012E004 38 80 00 03 */ li r4, 3 -/* 801310A8 0012E008 4B FF FF 75 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager -/* 801310AC 0012E00C 48 00 00 14 */ b lbl_801310C0 -lbl_801310B0: -/* 801310B0 0012E010 7F C3 F3 78 */ mr r3, r30 -/* 801310B4 0012E014 7F E5 FB 78 */ mr r5, r31 -/* 801310B8 0012E018 38 80 00 02 */ li r4, 2 -/* 801310BC 0012E01C 4B FF FF 61 */ bl SetFlickerBatState__11CFlickerBatFQ211CFlickerBat16EFlickerBatStateR13CStateManager -lbl_801310C0: -/* 801310C0 0012E020 C0 22 99 64 */ lfs f1, lbl_805AB684@sda21(r2) -/* 801310C4 0012E024 D0 3E 05 78 */ stfs f1, 0x578(r30) -/* 801310C8 0012E028 C0 1E 05 78 */ lfs f0, 0x578(r30) -/* 801310CC 0012E02C EC 01 00 24 */ fdivs f0, f1, f0 -/* 801310D0 0012E030 D0 1E 05 7C */ stfs f0, 0x57c(r30) -/* 801310D4 0012E034 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801310D8 0012E038 83 C1 00 08 */ lwz r30, 8(r1) -/* 801310DC 0012E03C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801310E0 0012E040 7C 08 03 A6 */ mtlr r0 -/* 801310E4 0012E044 38 21 00 10 */ addi r1, r1, 0x10 -/* 801310E8 0012E048 4E 80 00 20 */ blr - -.global DoUserAnimEvent__11CFlickerBatFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__11CFlickerBatFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 801310EC 0012E04C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801310F0 0012E050 7C 08 02 A6 */ mflr r0 -/* 801310F4 0012E054 90 01 00 34 */ stw r0, 0x34(r1) -/* 801310F8 0012E058 DB E1 00 28 */ stfd f31, 0x28(r1) -/* 801310FC 0012E05C FF E0 08 90 */ fmr f31, f1 -/* 80131100 0012E060 BF 61 00 14 */ stmw r27, 0x14(r1) -/* 80131104 0012E064 7C DE 33 78 */ mr r30, r6 -/* 80131108 0012E068 2C 1E 00 0E */ cmpwi r30, 0xe -/* 8013110C 0012E06C 7C 7B 1B 78 */ mr r27, r3 -/* 80131110 0012E070 7C 9C 23 78 */ mr r28, r4 -/* 80131114 0012E074 7C BD 2B 78 */ mr r29, r5 -/* 80131118 0012E078 3B E0 00 00 */ li r31, 0 -/* 8013111C 0012E07C 41 82 00 08 */ beq lbl_80131124 -/* 80131120 0012E080 48 00 00 0C */ b lbl_8013112C -lbl_80131124: -/* 80131124 0012E084 3B E0 00 01 */ li r31, 1 -/* 80131128 0012E088 4B FF FF 3D */ bl sub_80131064 -lbl_8013112C: -/* 8013112C 0012E08C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80131130 0012E090 40 82 00 1C */ bne lbl_8013114C -/* 80131134 0012E094 FC 20 F8 90 */ fmr f1, f31 -/* 80131138 0012E098 7F 63 DB 78 */ mr r3, r27 -/* 8013113C 0012E09C 7F 84 E3 78 */ mr r4, r28 -/* 80131140 0012E0A0 7F A5 EB 78 */ mr r5, r29 -/* 80131144 0012E0A4 7F C6 F3 78 */ mr r6, r30 -/* 80131148 0012E0A8 4B F4 7D 69 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_8013114C: -/* 8013114C 0012E0AC CB E1 00 28 */ lfd f31, 0x28(r1) -/* 80131150 0012E0B0 BB 61 00 14 */ lmw r27, 0x14(r1) -/* 80131154 0012E0B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80131158 0012E0B8 7C 08 03 A6 */ mtlr r0 -/* 8013115C 0012E0BC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80131160 0012E0C0 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CFlickerBatF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CFlickerBatF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80131164 0012E0C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80131168 0012E0C8 7C 08 02 A6 */ mflr r0 -/* 8013116C 0012E0CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80131170 0012E0D0 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80131174 0012E0D4 7C 7B 1B 78 */ mr r27, r3 -/* 80131178 0012E0D8 7C 9D 23 78 */ mr r29, r4 -/* 8013117C 0012E0DC 7C DC 33 78 */ mr r28, r6 -/* 80131180 0012E0E0 A0 05 00 00 */ lhz r0, 0(r5) -/* 80131184 0012E0E4 38 A1 00 0C */ addi r5, r1, 0xc -/* 80131188 0012E0E8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 8013118C 0012E0EC 4B F4 B9 ED */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80131190 0012E0F0 2C 1D 00 22 */ cmpwi r29, 0x22 -/* 80131194 0012E0F4 41 82 00 A8 */ beq lbl_8013123C -/* 80131198 0012E0F8 40 80 00 B8 */ bge lbl_80131250 -/* 8013119C 0012E0FC 2C 1D 00 21 */ cmpwi r29, 0x21 -/* 801311A0 0012E100 40 80 00 08 */ bge lbl_801311A8 -/* 801311A4 0012E104 48 00 00 AC */ b lbl_80131250 -lbl_801311A8: -/* 801311A8 0012E108 7F 63 DB 78 */ mr r3, r27 -/* 801311AC 0012E10C 7F 85 E3 78 */ mr r5, r28 -/* 801311B0 0012E110 38 80 00 13 */ li r4, 0x13 -/* 801311B4 0012E114 4B F2 2D CD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 801311B8 0012E118 83 FC 0F 44 */ lwz r31, 0xf44(r28) -/* 801311BC 0012E11C 3C 60 80 3D */ lis r3, lbl_803D0050@ha -/* 801311C0 0012E120 38 83 00 50 */ addi r4, r3, lbl_803D0050@l -/* 801311C4 0012E124 A3 BB 00 08 */ lhz r29, 8(r27) -/* 801311C8 0012E128 83 DF 00 00 */ lwz r30, 0(r31) -/* 801311CC 0012E12C 38 60 00 0A */ li r3, 0xa -/* 801311D0 0012E130 38 A0 00 00 */ li r5, 0 -/* 801311D4 0012E134 48 1E 46 45 */ bl __nwa__FUlPCcPCc -/* 801311D8 0012E138 28 03 00 00 */ cmplwi r3, 0 -/* 801311DC 0012E13C 41 82 00 0C */ beq lbl_801311E8 -/* 801311E0 0012E140 93 C3 00 00 */ stw r30, 0(r3) -/* 801311E4 0012E144 93 E3 00 04 */ stw r31, 4(r3) -lbl_801311E8: -/* 801311E8 0012E148 34 83 00 08 */ addic. r4, r3, 8 -/* 801311EC 0012E14C 41 82 00 08 */ beq lbl_801311F4 -/* 801311F0 0012E150 B3 A4 00 00 */ sth r29, 0(r4) -lbl_801311F4: -/* 801311F4 0012E154 80 1C 0F 40 */ lwz r0, 0xf40(r28) -/* 801311F8 0012E158 7C 1F 00 40 */ cmplw r31, r0 -/* 801311FC 0012E15C 40 82 00 08 */ bne lbl_80131204 -/* 80131200 0012E160 90 7C 0F 40 */ stw r3, 0xf40(r28) -lbl_80131204: -/* 80131204 0012E164 80 A3 00 00 */ lwz r5, 0(r3) -/* 80131208 0012E168 7F 84 E3 78 */ mr r4, r28 -/* 8013120C 0012E16C 90 65 00 04 */ stw r3, 4(r5) -/* 80131210 0012E170 80 A3 00 04 */ lwz r5, 4(r3) -/* 80131214 0012E174 90 65 00 00 */ stw r3, 0(r5) -/* 80131218 0012E178 80 7C 0F 50 */ lwz r3, 0xf50(r28) -/* 8013121C 0012E17C 38 03 00 01 */ addi r0, r3, 1 -/* 80131220 0012E180 90 1C 0F 50 */ stw r0, 0xf50(r28) -/* 80131224 0012E184 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 80131228 0012E188 48 00 9A C9 */ bl Activate__15CBodyControllerFR13CStateManager -/* 8013122C 0012E18C C0 02 99 84 */ lfs f0, lbl_805AB6A4@sda21(r2) -/* 80131230 0012E190 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 80131234 0012E194 D0 03 02 D4 */ stfs f0, 0x2d4(r3) -/* 80131238 0012E198 48 00 00 18 */ b lbl_80131250 -lbl_8013123C: -/* 8013123C 0012E19C A0 1B 00 08 */ lhz r0, 8(r27) -/* 80131240 0012E1A0 38 7C 0F 3C */ addi r3, r28, 0xf3c -/* 80131244 0012E1A4 38 81 00 08 */ addi r4, r1, 8 -/* 80131248 0012E1A8 B0 01 00 08 */ sth r0, 8(r1) -/* 8013124C 0012E1AC 4B FF 4B 3D */ bl "remove__Q24rstl43list<9TUniqueId,Q24rstl17rmemory_allocator>FRC9TUniqueId" -lbl_80131250: -/* 80131250 0012E1B0 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80131254 0012E1B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80131258 0012E1B8 7C 08 03 A6 */ mtlr r0 -/* 8013125C 0012E1BC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80131260 0012E1C0 4E 80 00 20 */ blr - -.global Accept__11CFlickerBatFR8IVisitor -Accept__11CFlickerBatFR8IVisitor: -/* 80131264 0012E1C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80131268 0012E1C8 7C 08 02 A6 */ mflr r0 -/* 8013126C 0012E1CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80131270 0012E1D0 7C 60 1B 78 */ mr r0, r3 -/* 80131274 0012E1D4 7C 83 23 78 */ mr r3, r4 -/* 80131278 0012E1D8 81 84 00 00 */ lwz r12, 0(r4) -/* 8013127C 0012E1DC 7C 04 03 78 */ mr r4, r0 -/* 80131280 0012E1E0 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80131284 0012E1E4 7D 89 03 A6 */ mtctr r12 -/* 80131288 0012E1E8 4E 80 04 21 */ bctrl -/* 8013128C 0012E1EC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80131290 0012E1F0 7C 08 03 A6 */ mtlr r0 -/* 80131294 0012E1F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80131298 0012E1F8 4E 80 00 20 */ blr - -.global __dt__11CFlickerBatFv -__dt__11CFlickerBatFv: -/* 8013129C 0012E1FC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801312A0 0012E200 7C 08 02 A6 */ mflr r0 -/* 801312A4 0012E204 90 01 00 14 */ stw r0, 0x14(r1) -/* 801312A8 0012E208 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801312AC 0012E20C 7C 9F 23 78 */ mr r31, r4 -/* 801312B0 0012E210 93 C1 00 08 */ stw r30, 8(r1) -/* 801312B4 0012E214 7C 7E 1B 79 */ or. r30, r3, r3 -/* 801312B8 0012E218 41 82 00 28 */ beq lbl_801312E0 -/* 801312BC 0012E21C 3C A0 80 3E */ lis r5, lbl_803E0DE0@ha -/* 801312C0 0012E220 38 80 00 00 */ li r4, 0 -/* 801312C4 0012E224 38 05 0D E0 */ addi r0, r5, lbl_803E0DE0@l -/* 801312C8 0012E228 90 1E 00 00 */ stw r0, 0(r30) -/* 801312CC 0012E22C 4B F4 62 A5 */ bl __dt__10CPatternedFv -/* 801312D0 0012E230 7F E0 07 35 */ extsh. r0, r31 -/* 801312D4 0012E234 40 81 00 0C */ ble lbl_801312E0 -/* 801312D8 0012E238 7F C3 F3 78 */ mr r3, r30 -/* 801312DC 0012E23C 48 1E 46 55 */ bl Free__7CMemoryFPCv -lbl_801312E0: -/* 801312E0 0012E240 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801312E4 0012E244 7F C3 F3 78 */ mr r3, r30 -/* 801312E8 0012E248 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801312EC 0012E24C 83 C1 00 08 */ lwz r30, 8(r1) -/* 801312F0 0012E250 7C 08 03 A6 */ mtlr r0 -/* 801312F4 0012E254 38 21 00 10 */ addi r1, r1, 0x10 -/* 801312F8 0012E258 4E 80 00 20 */ blr - -.global "__ct__11CFlickerBatF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypebRC16CActorParameters" -"__ct__11CFlickerBatF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypebRC16CActorParameters": -/* 801312FC 0012E25C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80131300 0012E260 7C 08 02 A6 */ mflr r0 -/* 80131304 0012E264 7D 2C 4B 78 */ mr r12, r9 -/* 80131308 0012E268 90 01 00 44 */ stw r0, 0x44(r1) -/* 8013130C 0012E26C 81 61 00 50 */ lwz r11, 0x50(r1) -/* 80131310 0012E270 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80131314 0012E274 7C 7F 1B 78 */ mr r31, r3 -/* 80131318 0012E278 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8013131C 0012E27C 7D 1E 43 78 */ mr r30, r8 -/* 80131320 0012E280 7F C9 F3 78 */ mr r9, r30 -/* 80131324 0012E284 8B C1 00 57 */ lbz r30, 0x57(r1) -/* 80131328 0012E288 93 A1 00 34 */ stw r29, 0x34(r1) -/* 8013132C 0012E28C 7C DD 33 78 */ mr r29, r6 -/* 80131330 0012E290 38 C0 00 01 */ li r6, 1 -/* 80131334 0012E294 93 81 00 30 */ stw r28, 0x30(r1) -/* 80131338 0012E298 7C FC 3B 78 */ mr r28, r7 -/* 8013133C 0012E29C 80 E1 00 48 */ lwz r7, 0x48(r1) -/* 80131340 0012E2A0 7F 88 E3 78 */ mr r8, r28 -/* 80131344 0012E2A4 A0 04 00 00 */ lhz r0, 0(r4) -/* 80131348 0012E2A8 38 80 00 04 */ li r4, 4 -/* 8013134C 0012E2AC B0 01 00 20 */ sth r0, 0x20(r1) -/* 80131350 0012E2B0 38 00 00 00 */ li r0, 0 -/* 80131354 0012E2B4 91 41 00 08 */ stw r10, 8(r1) -/* 80131358 0012E2B8 7D 8A 63 78 */ mr r10, r12 -/* 8013135C 0012E2BC 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80131360 0012E2C0 7C A6 2B 78 */ mr r6, r5 -/* 80131364 0012E2C4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80131368 0012E2C8 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8013136C 0012E2CC 7F A7 EB 78 */ mr r7, r29 -/* 80131370 0012E2D0 8B A1 00 4F */ lbz r29, 0x4f(r1) -/* 80131374 0012E2D4 90 81 00 14 */ stw r4, 0x14(r1) -/* 80131378 0012E2D8 38 80 00 0D */ li r4, 0xd -/* 8013137C 0012E2DC 91 61 00 18 */ stw r11, 0x18(r1) -/* 80131380 0012E2E0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80131384 0012E2E4 4B F4 C0 CD */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 80131388 0012E2E8 3C 60 80 3E */ lis r3, lbl_803E0DE0@ha -/* 8013138C 0012E2EC 7F A0 00 34 */ cntlzw r0, r29 -/* 80131390 0012E2F0 38 63 0D E0 */ addi r3, r3, lbl_803E0DE0@l -/* 80131394 0012E2F4 C0 22 99 60 */ lfs f1, lbl_805AB680@sda21(r2) -/* 80131398 0012E2F8 90 7F 00 00 */ stw r3, 0(r31) -/* 8013139C 0012E2FC 54 00 D9 7E */ srwi r0, r0, 5 -/* 801313A0 0012E300 C0 02 99 64 */ lfs f0, lbl_805AB684@sda21(r2) -/* 801313A4 0012E304 38 A0 00 00 */ li r5, 0 -/* 801313A8 0012E308 D0 3F 05 68 */ stfs f1, 0x568(r31) -/* 801313AC 0012E30C 7F E3 FB 78 */ mr r3, r31 -/* 801313B0 0012E310 7F A4 EB 78 */ mr r4, r29 -/* 801313B4 0012E314 D0 3F 05 6C */ stfs f1, 0x56c(r31) -/* 801313B8 0012E318 D0 3F 05 70 */ stfs f1, 0x570(r31) -/* 801313BC 0012E31C 90 1F 05 74 */ stw r0, 0x574(r31) -/* 801313C0 0012E320 D0 1F 05 78 */ stfs f0, 0x578(r31) -/* 801313C4 0012E324 D0 3F 05 7C */ stfs f1, 0x57c(r31) -/* 801313C8 0012E328 88 1F 05 80 */ lbz r0, 0x580(r31) -/* 801313CC 0012E32C 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 801313D0 0012E330 98 1F 05 80 */ stb r0, 0x580(r31) -/* 801313D4 0012E334 88 1F 05 80 */ lbz r0, 0x580(r31) -/* 801313D8 0012E338 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 801313DC 0012E33C 98 1F 05 80 */ stb r0, 0x580(r31) -/* 801313E0 0012E340 88 1F 05 80 */ lbz r0, 0x580(r31) -/* 801313E4 0012E344 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 801313E8 0012E348 98 1F 05 80 */ stb r0, 0x580(r31) -/* 801313EC 0012E34C 88 1F 05 80 */ lbz r0, 0x580(r31) -/* 801313F0 0012E350 53 C0 26 F6 */ rlwimi r0, r30, 4, 0x1b, 0x1b -/* 801313F4 0012E354 98 1F 05 80 */ stb r0, 0x580(r31) -/* 801313F8 0012E358 4B F4 B5 05 */ bl SetupPlayerCollision__10CPatternedFb -/* 801313FC 0012E35C C0 02 99 60 */ lfs f0, lbl_805AB680@sda21(r2) -/* 80131400 0012E360 38 80 00 00 */ li r4, 0 -/* 80131404 0012E364 7F E3 FB 78 */ mr r3, r31 -/* 80131408 0012E368 D0 1F 03 D8 */ stfs f0, 0x3d8(r31) -/* 8013140C 0012E36C 88 1F 04 02 */ lbz r0, 0x402(r31) -/* 80131410 0012E370 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 80131414 0012E374 98 1F 04 02 */ stb r0, 0x402(r31) -/* 80131418 0012E378 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8013141C 0012E37C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80131420 0012E380 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80131424 0012E384 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80131428 0012E388 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8013142C 0012E38C 7C 08 03 A6 */ mtlr r0 -/* 80131430 0012E390 38 21 00 40 */ addi r1, r1, 0x40 -/* 80131434 0012E394 4E 80 00 20 */ blr - -.global DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd: -/* 80131438 0012E398 38 00 00 01 */ li r0, 1 -/* 8013143C 0012E39C 80 A3 00 B4 */ lwz r5, 0xb4(r3) -/* 80131440 0012E3A0 7C 00 20 30 */ slw r0, r0, r4 -/* 80131444 0012E3A4 7C A0 03 78 */ or r0, r5, r0 -/* 80131448 0012E3A8 90 03 00 B4 */ stw r0, 0xb4(r3) -/* 8013144C 0012E3AC 4E 80 00 20 */ blr - -.global GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd: -/* 80131450 0012E3B0 38 00 00 01 */ li r0, 1 -/* 80131454 0012E3B4 80 A3 00 B4 */ lwz r5, 0xb4(r3) -/* 80131458 0012E3B8 7C 00 20 30 */ slw r0, r0, r4 -/* 8013145C 0012E3BC 7C A0 00 39 */ and. r0, r5, r0 -/* 80131460 0012E3C0 41 82 00 14 */ beq lbl_80131474 -/* 80131464 0012E3C4 54 80 10 3A */ slwi r0, r4, 2 -/* 80131468 0012E3C8 7C 63 02 14 */ add r3, r3, r0 -/* 8013146C 0012E3CC 80 63 00 44 */ lwz r3, 0x44(r3) -/* 80131470 0012E3D0 4E 80 00 20 */ blr -lbl_80131474: -/* 80131474 0012E3D4 38 60 00 00 */ li r3, 0 -/* 80131478 0012E3D8 4E 80 00 20 */ blr - -.global GetCmd__16CBodyStateCmdMgrCF13EBodyStateCmd -GetCmd__16CBodyStateCmdMgrCF13EBodyStateCmd: -/* 8013147C 0012E3DC 38 00 00 01 */ li r0, 1 -/* 80131480 0012E3E0 80 A3 00 B4 */ lwz r5, 0xb4(r3) -/* 80131484 0012E3E4 7C 00 20 30 */ slw r0, r0, r4 -/* 80131488 0012E3E8 7C A0 00 39 */ and. r0, r5, r0 -/* 8013148C 0012E3EC 41 82 00 14 */ beq lbl_801314A0 -/* 80131490 0012E3F0 54 80 10 3A */ slwi r0, r4, 2 -/* 80131494 0012E3F4 7C 63 02 14 */ add r3, r3, r0 -/* 80131498 0012E3F8 80 63 00 44 */ lwz r3, 0x44(r3) -/* 8013149C 0012E3FC 4E 80 00 20 */ blr -lbl_801314A0: -/* 801314A0 0012E400 38 60 00 00 */ li r3, 0 -/* 801314A4 0012E404 4E 80 00 20 */ blr - -.global ClearLocomotionCmds__16CBodyStateCmdMgrFv -ClearLocomotionCmds__16CBodyStateCmdMgrFv: -/* 801314A8 0012E408 3C 80 80 5A */ lis r4, skZero3f@ha -/* 801314AC 0012E40C C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) -/* 801314B0 0012E410 C0 02 99 88 */ lfs f0, lbl_805AB6A8@sda21(r2) -/* 801314B4 0012E414 D0 23 00 00 */ stfs f1, 0(r3) -/* 801314B8 0012E418 C0 24 00 04 */ lfs f1, 4(r4) -/* 801314BC 0012E41C D0 23 00 04 */ stfs f1, 4(r3) -/* 801314C0 0012E420 C0 24 00 08 */ lfs f1, 8(r4) -/* 801314C4 0012E424 D0 23 00 08 */ stfs f1, 8(r3) -/* 801314C8 0012E428 C0 24 00 00 */ lfs f1, 0(r4) -/* 801314CC 0012E42C D0 23 00 0C */ stfs f1, 0xc(r3) -/* 801314D0 0012E430 C0 24 00 04 */ lfs f1, 4(r4) -/* 801314D4 0012E434 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 801314D8 0012E438 C0 24 00 08 */ lfs f1, 8(r4) -/* 801314DC 0012E43C D0 23 00 14 */ stfs f1, 0x14(r3) -/* 801314E0 0012E440 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 801314E4 0012E444 4E 80 00 20 */ blr - -.global Reset__16CBodyStateCmdMgrFv -Reset__16CBodyStateCmdMgrFv: -/* 801314E8 0012E448 3C 80 80 5A */ lis r4, skZero3f@ha -/* 801314EC 0012E44C C4 24 66 A0 */ lfsu f1, skZero3f@l(r4) -/* 801314F0 0012E450 C0 02 99 88 */ lfs f0, lbl_805AB6A8@sda21(r2) -/* 801314F4 0012E454 38 00 00 00 */ li r0, 0 -/* 801314F8 0012E458 D0 23 00 00 */ stfs f1, 0(r3) -/* 801314FC 0012E45C C0 24 00 04 */ lfs f1, 4(r4) -/* 80131500 0012E460 D0 23 00 04 */ stfs f1, 4(r3) -/* 80131504 0012E464 C0 24 00 08 */ lfs f1, 8(r4) -/* 80131508 0012E468 D0 23 00 08 */ stfs f1, 8(r3) -/* 8013150C 0012E46C C0 24 00 00 */ lfs f1, 0(r4) -/* 80131510 0012E470 D0 23 00 0C */ stfs f1, 0xc(r3) -/* 80131514 0012E474 C0 24 00 04 */ lfs f1, 4(r4) -/* 80131518 0012E478 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 8013151C 0012E47C C0 24 00 08 */ lfs f1, 8(r4) -/* 80131520 0012E480 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 80131524 0012E484 C0 24 00 00 */ lfs f1, 0(r4) -/* 80131528 0012E488 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 8013152C 0012E48C C0 24 00 04 */ lfs f1, 4(r4) -/* 80131530 0012E490 D0 23 00 1C */ stfs f1, 0x1c(r3) -/* 80131534 0012E494 C0 24 00 08 */ lfs f1, 8(r4) -/* 80131538 0012E498 D0 23 00 20 */ stfs f1, 0x20(r3) -/* 8013153C 0012E49C D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 80131540 0012E4A0 90 03 00 B4 */ stw r0, 0xb4(r3) -/* 80131544 0012E4A4 4E 80 00 20 */ blr - -.global BlendSteeringCmds__16CBodyStateCmdMgrFv -BlendSteeringCmds__16CBodyStateCmdMgrFv: -/* 80131548 0012E4A8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8013154C 0012E4AC 7C 08 02 A6 */ mflr r0 -/* 80131550 0012E4B0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80131554 0012E4B4 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80131558 0012E4B8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8013155C 0012E4BC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80131560 0012E4C0 7C 7F 1B 78 */ mr r31, r3 -/* 80131564 0012E4C4 C0 02 99 8C */ lfs f0, lbl_805AB6AC@sda21(r2) -/* 80131568 0012E4C8 C0 43 00 3C */ lfs f2, 0x3c(r3) -/* 8013156C 0012E4CC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80131570 0012E4D0 40 81 01 8C */ ble lbl_801316FC -/* 80131574 0012E4D4 C0 22 99 90 */ lfs f1, lbl_805AB6B0@sda21(r2) -/* 80131578 0012E4D8 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8013157C 0012E4DC EC 41 10 24 */ fdivs f2, f1, f2 -/* 80131580 0012E4E0 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80131584 0012E4E4 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80131588 0012E4E8 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8013158C 0012E4EC EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80131590 0012E4F0 D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 80131594 0012E4F4 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 80131598 0012E4F8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8013159C 0012E4FC D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 801315A0 0012E500 80 1F 00 30 */ lwz r0, 0x30(r31) -/* 801315A4 0012E504 2C 00 00 01 */ cmpwi r0, 1 -/* 801315A8 0012E508 41 82 00 48 */ beq lbl_801315F0 -/* 801315AC 0012E50C 40 80 00 10 */ bge lbl_801315BC -/* 801315B0 0012E510 2C 00 00 00 */ cmpwi r0, 0 -/* 801315B4 0012E514 40 80 00 14 */ bge lbl_801315C8 -/* 801315B8 0012E518 48 00 01 44 */ b lbl_801316FC -lbl_801315BC: -/* 801315BC 0012E51C 2C 00 00 03 */ cmpwi r0, 3 -/* 801315C0 0012E520 40 80 01 3C */ bge lbl_801316FC -/* 801315C4 0012E524 48 00 00 78 */ b lbl_8013163C -lbl_801315C8: -/* 801315C8 0012E528 C0 1F 00 00 */ lfs f0, 0(r31) -/* 801315CC 0012E52C EC 00 00 B2 */ fmuls f0, f0, f2 -/* 801315D0 0012E530 D0 1F 00 00 */ stfs f0, 0(r31) -/* 801315D4 0012E534 C0 1F 00 04 */ lfs f0, 4(r31) -/* 801315D8 0012E538 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 801315DC 0012E53C D0 1F 00 04 */ stfs f0, 4(r31) -/* 801315E0 0012E540 C0 1F 00 08 */ lfs f0, 8(r31) -/* 801315E4 0012E544 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 801315E8 0012E548 D0 1F 00 08 */ stfs f0, 8(r31) -/* 801315EC 0012E54C 48 00 01 10 */ b lbl_801316FC -lbl_801315F0: -/* 801315F0 0012E550 3C 80 80 5A */ lis r4, skZero3f@ha -/* 801315F4 0012E554 C0 22 99 94 */ lfs f1, lbl_805AB6B4@sda21(r2) -/* 801315F8 0012E558 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 801315FC 0012E55C 48 1D E9 69 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80131600 0012E560 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80131604 0012E564 40 82 00 F8 */ bne lbl_801316FC -/* 80131608 0012E568 7F E3 FB 78 */ mr r3, r31 -/* 8013160C 0012E56C 48 1E 32 ED */ bl Normalize__9CVector3fFv -/* 80131610 0012E570 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 80131614 0012E574 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80131618 0012E578 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8013161C 0012E57C D0 1F 00 00 */ stfs f0, 0(r31) -/* 80131620 0012E580 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80131624 0012E584 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80131628 0012E588 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8013162C 0012E58C C0 1F 00 08 */ lfs f0, 8(r31) -/* 80131630 0012E590 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80131634 0012E594 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80131638 0012E598 48 00 00 C4 */ b lbl_801316FC -lbl_8013163C: -/* 8013163C 0012E59C C0 1F 00 00 */ lfs f0, 0(r31) -/* 80131640 0012E5A0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80131644 0012E5A4 C0 22 99 94 */ lfs f1, lbl_805AB6B4@sda21(r2) -/* 80131648 0012E5A8 38 84 66 A0 */ addi r4, r4, skZero3f@l -/* 8013164C 0012E5AC EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80131650 0012E5B0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 80131654 0012E5B4 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80131658 0012E5B8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8013165C 0012E5BC D0 1F 00 04 */ stfs f0, 4(r31) -/* 80131660 0012E5C0 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80131664 0012E5C4 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80131668 0012E5C8 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8013166C 0012E5CC 48 1D E8 F9 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80131670 0012E5D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80131674 0012E5D4 40 82 00 88 */ bne lbl_801316FC -/* 80131678 0012E5D8 7F E3 FB 78 */ mr r3, r31 -/* 8013167C 0012E5DC 48 1E 32 3D */ bl Magnitude__9CVector3fCFv -/* 80131680 0012E5E0 C3 FF 00 34 */ lfs f31, 0x34(r31) -/* 80131684 0012E5E4 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80131688 0012E5E8 40 80 00 38 */ bge lbl_801316C0 -/* 8013168C 0012E5EC 7F E4 FB 78 */ mr r4, r31 -/* 80131690 0012E5F0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80131694 0012E5F4 48 1E 31 BD */ bl AsNormalized__9CVector3fCFv -/* 80131698 0012E5F8 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8013169C 0012E5FC C0 41 00 18 */ lfs f2, 0x18(r1) -/* 801316A0 0012E600 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 801316A4 0012E604 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 801316A8 0012E608 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 801316AC 0012E60C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 801316B0 0012E610 D0 1F 00 00 */ stfs f0, 0(r31) -/* 801316B4 0012E614 D0 5F 00 04 */ stfs f2, 4(r31) -/* 801316B8 0012E618 D0 3F 00 08 */ stfs f1, 8(r31) -/* 801316BC 0012E61C 48 00 00 40 */ b lbl_801316FC -lbl_801316C0: -/* 801316C0 0012E620 C3 FF 00 38 */ lfs f31, 0x38(r31) -/* 801316C4 0012E624 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 801316C8 0012E628 40 81 00 34 */ ble lbl_801316FC -/* 801316CC 0012E62C 7F E4 FB 78 */ mr r4, r31 -/* 801316D0 0012E630 38 61 00 08 */ addi r3, r1, 8 -/* 801316D4 0012E634 48 1E 31 7D */ bl AsNormalized__9CVector3fCFv -/* 801316D8 0012E638 C0 01 00 08 */ lfs f0, 8(r1) -/* 801316DC 0012E63C C0 41 00 0C */ lfs f2, 0xc(r1) -/* 801316E0 0012E640 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 801316E4 0012E644 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 801316E8 0012E648 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 801316EC 0012E64C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 801316F0 0012E650 D0 1F 00 00 */ stfs f0, 0(r31) -/* 801316F4 0012E654 D0 5F 00 04 */ stfs f2, 4(r31) -/* 801316F8 0012E658 D0 3F 00 08 */ stfs f1, 8(r31) -lbl_801316FC: -/* 801316FC 0012E65C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80131700 0012E660 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80131704 0012E664 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80131708 0012E668 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8013170C 0012E66C 7C 08 03 A6 */ mtlr r0 -/* 80131710 0012E670 38 21 00 40 */ addi r1, r1, 0x40 -/* 80131714 0012E674 4E 80 00 20 */ blr - -.global DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd: -/* 80131718 0012E678 C0 24 00 18 */ lfs f1, 0x18(r4) -/* 8013171C 0012E67C C0 02 99 8C */ lfs f0, lbl_805AB6AC@sda21(r2) -/* 80131720 0012E680 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80131724 0012E684 4C 81 00 20 */ blelr -/* 80131728 0012E688 C0 03 00 3C */ lfs f0, 0x3c(r3) -/* 8013172C 0012E68C EC 00 08 2A */ fadds f0, f0, f1 -/* 80131730 0012E690 D0 03 00 3C */ stfs f0, 0x3c(r3) -/* 80131734 0012E694 C0 84 00 18 */ lfs f4, 0x18(r4) -/* 80131738 0012E698 C0 04 00 00 */ lfs f0, 0(r4) -/* 8013173C 0012E69C C0 64 00 04 */ lfs f3, 4(r4) -/* 80131740 0012E6A0 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80131744 0012E6A4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80131748 0012E6A8 C0 44 00 08 */ lfs f2, 8(r4) -/* 8013174C 0012E6AC EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80131750 0012E6B0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80131754 0012E6B4 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 80131758 0012E6B8 D0 03 00 00 */ stfs f0, 0(r3) -/* 8013175C 0012E6BC C0 03 00 04 */ lfs f0, 4(r3) -/* 80131760 0012E6C0 EC 00 18 2A */ fadds f0, f0, f3 -/* 80131764 0012E6C4 D0 03 00 04 */ stfs f0, 4(r3) -/* 80131768 0012E6C8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8013176C 0012E6CC EC 00 08 2A */ fadds f0, f0, f1 -/* 80131770 0012E6D0 D0 03 00 08 */ stfs f0, 8(r3) -/* 80131774 0012E6D4 C0 84 00 18 */ lfs f4, 0x18(r4) -/* 80131778 0012E6D8 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8013177C 0012E6DC C0 23 00 0C */ lfs f1, 0xc(r3) -/* 80131780 0012E6E0 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80131784 0012E6E4 C0 64 00 10 */ lfs f3, 0x10(r4) -/* 80131788 0012E6E8 C0 44 00 14 */ lfs f2, 0x14(r4) -/* 8013178C 0012E6EC EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80131790 0012E6F0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80131794 0012E6F4 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 80131798 0012E6F8 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8013179C 0012E6FC C0 03 00 10 */ lfs f0, 0x10(r3) -/* 801317A0 0012E700 EC 00 18 2A */ fadds f0, f0, f3 -/* 801317A4 0012E704 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 801317A8 0012E708 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 801317AC 0012E70C EC 00 08 2A */ fadds f0, f0, f1 -/* 801317B0 0012E710 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 801317B4 0012E714 4E 80 00 20 */ blr - -.global DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd: -/* 801317B8 0012E718 80 C4 00 04 */ lwz r6, 4(r4) -/* 801317BC 0012E71C 38 00 00 01 */ li r0, 1 -/* 801317C0 0012E720 80 A3 00 B4 */ lwz r5, 0xb4(r3) -/* 801317C4 0012E724 7C 00 30 30 */ slw r0, r0, r6 -/* 801317C8 0012E728 7C A0 03 78 */ or r0, r5, r0 -/* 801317CC 0012E72C 90 03 00 B4 */ stw r0, 0xb4(r3) -/* 801317D0 0012E730 80 84 00 04 */ lwz r4, 4(r4) -/* 801317D4 0012E734 54 80 10 3A */ slwi r0, r4, 2 -/* 801317D8 0012E738 7C 63 02 14 */ add r3, r3, r0 -/* 801317DC 0012E73C 80 63 00 44 */ lwz r3, 0x44(r3) -/* 801317E0 0012E740 90 83 00 04 */ stw r4, 4(r3) -/* 801317E4 0012E744 4E 80 00 20 */ blr - -.global SetSteeringSpeedRange__16CBodyStateCmdMgrFff -SetSteeringSpeedRange__16CBodyStateCmdMgrFff: -/* 801317E8 0012E748 D0 23 00 34 */ stfs f1, 0x34(r3) -/* 801317EC 0012E74C D0 43 00 38 */ stfs f2, 0x38(r3) -/* 801317F0 0012E750 4E 80 00 20 */ blr - -.global __dt__16CBodyStateCmdMgrFv -__dt__16CBodyStateCmdMgrFv: -/* 801317F4 0012E754 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801317F8 0012E758 7C 08 02 A6 */ mflr r0 -/* 801317FC 0012E75C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80131800 0012E760 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80131804 0012E764 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80131808 0012E768 41 82 04 8C */ beq lbl_80131C94 -/* 8013180C 0012E76C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80131810 0012E770 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) -/* 80131814 0012E774 34 1F 02 98 */ addic. r0, r31, 0x298 -/* 80131818 0012E778 C0 02 99 88 */ lfs f0, lbl_805AB6A8@sda21(r2) -/* 8013181C 0012E77C D0 3F 00 00 */ stfs f1, 0(r31) -/* 80131820 0012E780 38 00 00 00 */ li r0, 0 -/* 80131824 0012E784 C0 23 00 04 */ lfs f1, 4(r3) -/* 80131828 0012E788 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8013182C 0012E78C C0 23 00 08 */ lfs f1, 8(r3) -/* 80131830 0012E790 D0 3F 00 08 */ stfs f1, 8(r31) -/* 80131834 0012E794 C0 23 00 00 */ lfs f1, 0(r3) -/* 80131838 0012E798 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 8013183C 0012E79C C0 23 00 04 */ lfs f1, 4(r3) -/* 80131840 0012E7A0 D0 3F 00 10 */ stfs f1, 0x10(r31) -/* 80131844 0012E7A4 C0 23 00 08 */ lfs f1, 8(r3) -/* 80131848 0012E7A8 D0 3F 00 14 */ stfs f1, 0x14(r31) -/* 8013184C 0012E7AC C0 23 00 00 */ lfs f1, 0(r3) -/* 80131850 0012E7B0 D0 3F 00 18 */ stfs f1, 0x18(r31) -/* 80131854 0012E7B4 C0 23 00 04 */ lfs f1, 4(r3) -/* 80131858 0012E7B8 D0 3F 00 1C */ stfs f1, 0x1c(r31) -/* 8013185C 0012E7BC C0 23 00 08 */ lfs f1, 8(r3) -/* 80131860 0012E7C0 D0 3F 00 20 */ stfs f1, 0x20(r31) -/* 80131864 0012E7C4 D0 1F 00 3C */ stfs f0, 0x3c(r31) -/* 80131868 0012E7C8 90 1F 00 B4 */ stw r0, 0xb4(r31) -/* 8013186C 0012E7CC 41 82 00 10 */ beq lbl_8013187C -/* 80131870 0012E7D0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131874 0012E7D4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131878 0012E7D8 90 1F 02 98 */ stw r0, 0x298(r31) -lbl_8013187C: -/* 8013187C 0012E7DC 34 1F 02 84 */ addic. r0, r31, 0x284 -/* 80131880 0012E7E0 41 82 00 24 */ beq lbl_801318A4 -/* 80131884 0012E7E4 3C 60 80 3E */ lis r3, lbl_803E10C8@ha -/* 80131888 0012E7E8 34 1F 02 84 */ addic. r0, r31, 0x284 -/* 8013188C 0012E7EC 38 03 10 C8 */ addi r0, r3, lbl_803E10C8@l -/* 80131890 0012E7F0 90 1F 02 84 */ stw r0, 0x284(r31) -/* 80131894 0012E7F4 41 82 00 10 */ beq lbl_801318A4 -/* 80131898 0012E7F8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8013189C 0012E7FC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801318A0 0012E800 90 1F 02 84 */ stw r0, 0x284(r31) -lbl_801318A4: -/* 801318A4 0012E804 34 1F 02 78 */ addic. r0, r31, 0x278 -/* 801318A8 0012E808 41 82 00 24 */ beq lbl_801318CC -/* 801318AC 0012E80C 3C 60 80 3E */ lis r3, lbl_803E10BC@ha -/* 801318B0 0012E810 34 1F 02 78 */ addic. r0, r31, 0x278 -/* 801318B4 0012E814 38 03 10 BC */ addi r0, r3, lbl_803E10BC@l -/* 801318B8 0012E818 90 1F 02 78 */ stw r0, 0x278(r31) -/* 801318BC 0012E81C 41 82 00 10 */ beq lbl_801318CC -/* 801318C0 0012E820 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801318C4 0012E824 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801318C8 0012E828 90 1F 02 78 */ stw r0, 0x278(r31) -lbl_801318CC: -/* 801318CC 0012E82C 34 1F 02 70 */ addic. r0, r31, 0x270 -/* 801318D0 0012E830 41 82 00 24 */ beq lbl_801318F4 -/* 801318D4 0012E834 3C 60 80 3E */ lis r3, lbl_803E061C@ha -/* 801318D8 0012E838 34 1F 02 70 */ addic. r0, r31, 0x270 -/* 801318DC 0012E83C 38 03 06 1C */ addi r0, r3, lbl_803E061C@l -/* 801318E0 0012E840 90 1F 02 70 */ stw r0, 0x270(r31) -/* 801318E4 0012E844 41 82 00 10 */ beq lbl_801318F4 -/* 801318E8 0012E848 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801318EC 0012E84C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801318F0 0012E850 90 1F 02 70 */ stw r0, 0x270(r31) -lbl_801318F4: -/* 801318F4 0012E854 34 1F 02 68 */ addic. r0, r31, 0x268 -/* 801318F8 0012E858 41 82 00 10 */ beq lbl_80131908 -/* 801318FC 0012E85C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131900 0012E860 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131904 0012E864 90 1F 02 68 */ stw r0, 0x268(r31) -lbl_80131908: -/* 80131908 0012E868 34 1F 02 60 */ addic. r0, r31, 0x260 -/* 8013190C 0012E86C 41 82 00 10 */ beq lbl_8013191C -/* 80131910 0012E870 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131914 0012E874 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131918 0012E878 90 1F 02 60 */ stw r0, 0x260(r31) -lbl_8013191C: -/* 8013191C 0012E87C 34 1F 02 54 */ addic. r0, r31, 0x254 -/* 80131920 0012E880 41 82 00 24 */ beq lbl_80131944 -/* 80131924 0012E884 3C 60 80 3E */ lis r3, lbl_803E0B98@ha -/* 80131928 0012E888 34 1F 02 54 */ addic. r0, r31, 0x254 -/* 8013192C 0012E88C 38 03 0B 98 */ addi r0, r3, lbl_803E0B98@l -/* 80131930 0012E890 90 1F 02 54 */ stw r0, 0x254(r31) -/* 80131934 0012E894 41 82 00 10 */ beq lbl_80131944 -/* 80131938 0012E898 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8013193C 0012E89C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131940 0012E8A0 90 1F 02 54 */ stw r0, 0x254(r31) -lbl_80131944: -/* 80131944 0012E8A4 34 1F 02 30 */ addic. r0, r31, 0x230 -/* 80131948 0012E8A8 41 82 00 24 */ beq lbl_8013196C -/* 8013194C 0012E8AC 3C 60 80 3E */ lis r3, lbl_803E0B8C@ha -/* 80131950 0012E8B0 34 1F 02 30 */ addic. r0, r31, 0x230 -/* 80131954 0012E8B4 38 03 0B 8C */ addi r0, r3, lbl_803E0B8C@l -/* 80131958 0012E8B8 90 1F 02 30 */ stw r0, 0x230(r31) -/* 8013195C 0012E8BC 41 82 00 10 */ beq lbl_8013196C -/* 80131960 0012E8C0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131964 0012E8C4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131968 0012E8C8 90 1F 02 30 */ stw r0, 0x230(r31) -lbl_8013196C: -/* 8013196C 0012E8CC 34 1F 02 1C */ addic. r0, r31, 0x21c -/* 80131970 0012E8D0 41 82 00 24 */ beq lbl_80131994 -/* 80131974 0012E8D4 3C 60 80 3E */ lis r3, lbl_803DFE40@ha -/* 80131978 0012E8D8 34 1F 02 1C */ addic. r0, r31, 0x21c -/* 8013197C 0012E8DC 38 03 FE 40 */ addi r0, r3, lbl_803DFE40@l -/* 80131980 0012E8E0 90 1F 02 1C */ stw r0, 0x21c(r31) -/* 80131984 0012E8E4 41 82 00 10 */ beq lbl_80131994 -/* 80131988 0012E8E8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8013198C 0012E8EC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131990 0012E8F0 90 1F 02 1C */ stw r0, 0x21c(r31) -lbl_80131994: -/* 80131994 0012E8F4 34 1F 02 10 */ addic. r0, r31, 0x210 -/* 80131998 0012E8F8 41 82 00 24 */ beq lbl_801319BC -/* 8013199C 0012E8FC 3C 60 80 3E */ lis r3, lbl_803DAA14@ha -/* 801319A0 0012E900 34 1F 02 10 */ addic. r0, r31, 0x210 -/* 801319A4 0012E904 38 03 AA 14 */ addi r0, r3, lbl_803DAA14@l -/* 801319A8 0012E908 90 1F 02 10 */ stw r0, 0x210(r31) -/* 801319AC 0012E90C 41 82 00 10 */ beq lbl_801319BC -/* 801319B0 0012E910 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801319B4 0012E914 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801319B8 0012E918 90 1F 02 10 */ stw r0, 0x210(r31) -lbl_801319BC: -/* 801319BC 0012E91C 34 1F 01 F8 */ addic. r0, r31, 0x1f8 -/* 801319C0 0012E920 41 82 00 24 */ beq lbl_801319E4 -/* 801319C4 0012E924 3C 60 80 3E */ lis r3, lbl_803DAA08@ha -/* 801319C8 0012E928 34 1F 01 F8 */ addic. r0, r31, 0x1f8 -/* 801319CC 0012E92C 38 03 AA 08 */ addi r0, r3, lbl_803DAA08@l -/* 801319D0 0012E930 90 1F 01 F8 */ stw r0, 0x1f8(r31) -/* 801319D4 0012E934 41 82 00 10 */ beq lbl_801319E4 -/* 801319D8 0012E938 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801319DC 0012E93C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801319E0 0012E940 90 1F 01 F8 */ stw r0, 0x1f8(r31) -lbl_801319E4: -/* 801319E4 0012E944 34 1F 01 D0 */ addic. r0, r31, 0x1d0 -/* 801319E8 0012E948 41 82 00 24 */ beq lbl_80131A0C -/* 801319EC 0012E94C 3C 60 80 3E */ lis r3, lbl_803DA9FC@ha -/* 801319F0 0012E950 34 1F 01 D0 */ addic. r0, r31, 0x1d0 -/* 801319F4 0012E954 38 03 A9 FC */ addi r0, r3, lbl_803DA9FC@l -/* 801319F8 0012E958 90 1F 01 D0 */ stw r0, 0x1d0(r31) -/* 801319FC 0012E95C 41 82 00 10 */ beq lbl_80131A0C -/* 80131A00 0012E960 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131A04 0012E964 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131A08 0012E968 90 1F 01 D0 */ stw r0, 0x1d0(r31) -lbl_80131A0C: -/* 80131A0C 0012E96C 34 1F 01 AC */ addic. r0, r31, 0x1ac -/* 80131A10 0012E970 41 82 00 24 */ beq lbl_80131A34 -/* 80131A14 0012E974 3C 60 80 3E */ lis r3, lbl_803DAA5C@ha -/* 80131A18 0012E978 34 1F 01 AC */ addic. r0, r31, 0x1ac -/* 80131A1C 0012E97C 38 03 AA 5C */ addi r0, r3, lbl_803DAA5C@l -/* 80131A20 0012E980 90 1F 01 AC */ stw r0, 0x1ac(r31) -/* 80131A24 0012E984 41 82 00 10 */ beq lbl_80131A34 -/* 80131A28 0012E988 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131A2C 0012E98C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131A30 0012E990 90 1F 01 AC */ stw r0, 0x1ac(r31) -lbl_80131A34: -/* 80131A34 0012E994 34 1F 01 8C */ addic. r0, r31, 0x18c -/* 80131A38 0012E998 41 82 00 24 */ beq lbl_80131A5C -/* 80131A3C 0012E99C 3C 60 80 3E */ lis r3, lbl_803DA9F0@ha -/* 80131A40 0012E9A0 34 1F 01 8C */ addic. r0, r31, 0x18c -/* 80131A44 0012E9A4 38 03 A9 F0 */ addi r0, r3, lbl_803DA9F0@l -/* 80131A48 0012E9A8 90 1F 01 8C */ stw r0, 0x18c(r31) -/* 80131A4C 0012E9AC 41 82 00 10 */ beq lbl_80131A5C -/* 80131A50 0012E9B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131A54 0012E9B4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131A58 0012E9B8 90 1F 01 8C */ stw r0, 0x18c(r31) -lbl_80131A5C: -/* 80131A5C 0012E9BC 34 1F 01 84 */ addic. r0, r31, 0x184 -/* 80131A60 0012E9C0 41 82 00 10 */ beq lbl_80131A70 -/* 80131A64 0012E9C4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131A68 0012E9C8 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131A6C 0012E9CC 90 1F 01 84 */ stw r0, 0x184(r31) -lbl_80131A70: -/* 80131A70 0012E9D0 34 1F 01 7C */ addic. r0, r31, 0x17c -/* 80131A74 0012E9D4 41 82 00 10 */ beq lbl_80131A84 -/* 80131A78 0012E9D8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131A7C 0012E9DC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131A80 0012E9E0 90 1F 01 7C */ stw r0, 0x17c(r31) -lbl_80131A84: -/* 80131A84 0012E9E4 34 1F 01 74 */ addic. r0, r31, 0x174 -/* 80131A88 0012E9E8 41 82 00 10 */ beq lbl_80131A98 -/* 80131A8C 0012E9EC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131A90 0012E9F0 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131A94 0012E9F4 90 1F 01 74 */ stw r0, 0x174(r31) -lbl_80131A98: -/* 80131A98 0012E9F8 34 1F 01 6C */ addic. r0, r31, 0x16c -/* 80131A9C 0012E9FC 41 82 00 10 */ beq lbl_80131AAC -/* 80131AA0 0012EA00 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131AA4 0012EA04 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131AA8 0012EA08 90 1F 01 6C */ stw r0, 0x16c(r31) -lbl_80131AAC: -/* 80131AAC 0012EA0C 34 1F 01 60 */ addic. r0, r31, 0x160 -/* 80131AB0 0012EA10 41 82 00 24 */ beq lbl_80131AD4 -/* 80131AB4 0012EA14 3C 60 80 3E */ lis r3, lbl_803DAA38@ha -/* 80131AB8 0012EA18 34 1F 01 60 */ addic. r0, r31, 0x160 -/* 80131ABC 0012EA1C 38 03 AA 38 */ addi r0, r3, lbl_803DAA38@l -/* 80131AC0 0012EA20 90 1F 01 60 */ stw r0, 0x160(r31) -/* 80131AC4 0012EA24 41 82 00 10 */ beq lbl_80131AD4 -/* 80131AC8 0012EA28 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131ACC 0012EA2C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131AD0 0012EA30 90 1F 01 60 */ stw r0, 0x160(r31) -lbl_80131AD4: -/* 80131AD4 0012EA34 34 1F 01 54 */ addic. r0, r31, 0x154 -/* 80131AD8 0012EA38 41 82 00 24 */ beq lbl_80131AFC -/* 80131ADC 0012EA3C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 80131AE0 0012EA40 34 1F 01 54 */ addic. r0, r31, 0x154 -/* 80131AE4 0012EA44 38 03 AA 2C */ addi r0, r3, lbl_803DAA2C@l -/* 80131AE8 0012EA48 90 1F 01 54 */ stw r0, 0x154(r31) -/* 80131AEC 0012EA4C 41 82 00 10 */ beq lbl_80131AFC -/* 80131AF0 0012EA50 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131AF4 0012EA54 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131AF8 0012EA58 90 1F 01 54 */ stw r0, 0x154(r31) -lbl_80131AFC: -/* 80131AFC 0012EA5C 34 1F 01 44 */ addic. r0, r31, 0x144 -/* 80131B00 0012EA60 41 82 00 24 */ beq lbl_80131B24 -/* 80131B04 0012EA64 3C 60 80 3E */ lis r3, lbl_803E10B0@ha -/* 80131B08 0012EA68 34 1F 01 44 */ addic. r0, r31, 0x144 -/* 80131B0C 0012EA6C 38 03 10 B0 */ addi r0, r3, lbl_803E10B0@l -/* 80131B10 0012EA70 90 1F 01 44 */ stw r0, 0x144(r31) -/* 80131B14 0012EA74 41 82 00 10 */ beq lbl_80131B24 -/* 80131B18 0012EA78 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131B1C 0012EA7C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131B20 0012EA80 90 1F 01 44 */ stw r0, 0x144(r31) -lbl_80131B24: -/* 80131B24 0012EA84 34 1F 01 28 */ addic. r0, r31, 0x128 -/* 80131B28 0012EA88 41 82 00 24 */ beq lbl_80131B4C -/* 80131B2C 0012EA8C 3C 60 80 3E */ lis r3, lbl_803DA9CC@ha -/* 80131B30 0012EA90 34 1F 01 28 */ addic. r0, r31, 0x128 -/* 80131B34 0012EA94 38 03 A9 CC */ addi r0, r3, lbl_803DA9CC@l -/* 80131B38 0012EA98 90 1F 01 28 */ stw r0, 0x128(r31) -/* 80131B3C 0012EA9C 41 82 00 10 */ beq lbl_80131B4C -/* 80131B40 0012EAA0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131B44 0012EAA4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131B48 0012EAA8 90 1F 01 28 */ stw r0, 0x128(r31) -lbl_80131B4C: -/* 80131B4C 0012EAAC 34 1F 01 0C */ addic. r0, r31, 0x10c -/* 80131B50 0012EAB0 41 82 00 24 */ beq lbl_80131B74 -/* 80131B54 0012EAB4 3C 60 80 3E */ lis r3, lbl_803DA9D8@ha -/* 80131B58 0012EAB8 34 1F 01 0C */ addic. r0, r31, 0x10c -/* 80131B5C 0012EABC 38 03 A9 D8 */ addi r0, r3, lbl_803DA9D8@l -/* 80131B60 0012EAC0 90 1F 01 0C */ stw r0, 0x10c(r31) -/* 80131B64 0012EAC4 41 82 00 10 */ beq lbl_80131B74 -/* 80131B68 0012EAC8 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131B6C 0012EACC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131B70 0012EAD0 90 1F 01 0C */ stw r0, 0x10c(r31) -lbl_80131B74: -/* 80131B74 0012EAD4 34 1F 00 F4 */ addic. r0, r31, 0xf4 -/* 80131B78 0012EAD8 41 82 00 24 */ beq lbl_80131B9C -/* 80131B7C 0012EADC 3C 60 80 3E */ lis r3, lbl_803DAA44@ha -/* 80131B80 0012EAE0 34 1F 00 F4 */ addic. r0, r31, 0xf4 -/* 80131B84 0012EAE4 38 03 AA 44 */ addi r0, r3, lbl_803DAA44@l -/* 80131B88 0012EAE8 90 1F 00 F4 */ stw r0, 0xf4(r31) -/* 80131B8C 0012EAEC 41 82 00 10 */ beq lbl_80131B9C -/* 80131B90 0012EAF0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131B94 0012EAF4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131B98 0012EAF8 90 1F 00 F4 */ stw r0, 0xf4(r31) -lbl_80131B9C: -/* 80131B9C 0012EAFC 34 1F 00 DC */ addic. r0, r31, 0xdc -/* 80131BA0 0012EB00 41 82 00 24 */ beq lbl_80131BC4 -/* 80131BA4 0012EB04 3C 60 80 3E */ lis r3, lbl_803DAA50@ha -/* 80131BA8 0012EB08 34 1F 00 DC */ addic. r0, r31, 0xdc -/* 80131BAC 0012EB0C 38 03 AA 50 */ addi r0, r3, lbl_803DAA50@l -/* 80131BB0 0012EB10 90 1F 00 DC */ stw r0, 0xdc(r31) -/* 80131BB4 0012EB14 41 82 00 10 */ beq lbl_80131BC4 -/* 80131BB8 0012EB18 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131BBC 0012EB1C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131BC0 0012EB20 90 1F 00 DC */ stw r0, 0xdc(r31) -lbl_80131BC4: -/* 80131BC4 0012EB24 34 1F 00 D4 */ addic. r0, r31, 0xd4 -/* 80131BC8 0012EB28 41 82 00 10 */ beq lbl_80131BD8 -/* 80131BCC 0012EB2C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131BD0 0012EB30 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131BD4 0012EB34 90 1F 00 D4 */ stw r0, 0xd4(r31) -lbl_80131BD8: -/* 80131BD8 0012EB38 34 1F 00 C4 */ addic. r0, r31, 0xc4 -/* 80131BDC 0012EB3C 41 82 00 24 */ beq lbl_80131C00 -/* 80131BE0 0012EB40 3C 60 80 3E */ lis r3, lbl_803DA9E4@ha -/* 80131BE4 0012EB44 34 1F 00 C4 */ addic. r0, r31, 0xc4 -/* 80131BE8 0012EB48 38 03 A9 E4 */ addi r0, r3, lbl_803DA9E4@l -/* 80131BEC 0012EB4C 90 1F 00 C4 */ stw r0, 0xc4(r31) -/* 80131BF0 0012EB50 41 82 00 10 */ beq lbl_80131C00 -/* 80131BF4 0012EB54 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131BF8 0012EB58 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131BFC 0012EB5C 90 1F 00 C4 */ stw r0, 0xc4(r31) -lbl_80131C00: -/* 80131C00 0012EB60 34 1F 00 B8 */ addic. r0, r31, 0xb8 -/* 80131C04 0012EB64 41 82 00 24 */ beq lbl_80131C28 -/* 80131C08 0012EB68 3C 60 80 3E */ lis r3, lbl_803DAA20@ha -/* 80131C0C 0012EB6C 34 1F 00 B8 */ addic. r0, r31, 0xb8 -/* 80131C10 0012EB70 38 03 AA 20 */ addi r0, r3, lbl_803DAA20@l -/* 80131C14 0012EB74 90 1F 00 B8 */ stw r0, 0xb8(r31) -/* 80131C18 0012EB78 41 82 00 10 */ beq lbl_80131C28 -/* 80131C1C 0012EB7C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80131C20 0012EB80 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80131C24 0012EB84 90 1F 00 B8 */ stw r0, 0xb8(r31) -lbl_80131C28: -/* 80131C28 0012EB88 34 1F 00 40 */ addic. r0, r31, 0x40 -/* 80131C2C 0012EB8C 41 82 00 58 */ beq lbl_80131C84 -/* 80131C30 0012EB90 80 DF 00 40 */ lwz r6, 0x40(r31) -/* 80131C34 0012EB94 38 60 00 00 */ li r3, 0 -/* 80131C38 0012EB98 2C 06 00 00 */ cmpwi r6, 0 -/* 80131C3C 0012EB9C 40 81 00 40 */ ble lbl_80131C7C -/* 80131C40 0012EBA0 2C 06 00 08 */ cmpwi r6, 8 -/* 80131C44 0012EBA4 38 A6 FF F8 */ addi r5, r6, -8 -/* 80131C48 0012EBA8 40 81 00 20 */ ble lbl_80131C68 -/* 80131C4C 0012EBAC 38 05 00 07 */ addi r0, r5, 7 -/* 80131C50 0012EBB0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80131C54 0012EBB4 7C 09 03 A6 */ mtctr r0 -/* 80131C58 0012EBB8 2C 05 00 00 */ cmpwi r5, 0 -/* 80131C5C 0012EBBC 40 81 00 0C */ ble lbl_80131C68 -lbl_80131C60: -/* 80131C60 0012EBC0 38 63 00 08 */ addi r3, r3, 8 -/* 80131C64 0012EBC4 42 00 FF FC */ bdnz lbl_80131C60 -lbl_80131C68: -/* 80131C68 0012EBC8 7C 03 30 50 */ subf r0, r3, r6 -/* 80131C6C 0012EBCC 7C 09 03 A6 */ mtctr r0 -/* 80131C70 0012EBD0 7C 03 30 00 */ cmpw r3, r6 -/* 80131C74 0012EBD4 40 80 00 08 */ bge lbl_80131C7C -lbl_80131C78: -/* 80131C78 0012EBD8 42 00 00 00 */ bdnz lbl_80131C78 -lbl_80131C7C: -/* 80131C7C 0012EBDC 38 00 00 00 */ li r0, 0 -/* 80131C80 0012EBE0 90 1F 00 40 */ stw r0, 0x40(r31) -lbl_80131C84: -/* 80131C84 0012EBE4 7C 80 07 35 */ extsh. r0, r4 -/* 80131C88 0012EBE8 40 81 00 0C */ ble lbl_80131C94 -/* 80131C8C 0012EBEC 7F E3 FB 78 */ mr r3, r31 -/* 80131C90 0012EBF0 48 1E 3C A1 */ bl Free__7CMemoryFPCv -lbl_80131C94: -/* 80131C94 0012EBF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80131C98 0012EBF8 7F E3 FB 78 */ mr r3, r31 -/* 80131C9C 0012EBFC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80131CA0 0012EC00 7C 08 03 A6 */ mtlr r0 -/* 80131CA4 0012EC04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80131CA8 0012EC08 4E 80 00 20 */ blr - -.global __ct__16CBodyStateCmdMgrFv -__ct__16CBodyStateCmdMgrFv: -/* 80131CAC 0012EC0C 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80131CB0 0012EC10 38 A0 00 00 */ li r5, 0 -/* 80131CB4 0012EC14 39 03 00 44 */ addi r8, r3, 0x44 -/* 80131CB8 0012EC18 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80131CBC 0012EC1C BD C1 00 38 */ stmw r14, 0x38(r1) -/* 80131CC0 0012EC20 39 C4 66 A0 */ addi r14, r4, skZero3f@l -/* 80131CC4 0012EC24 C0 22 99 88 */ lfs f1, lbl_805AB6A8@sda21(r2) -/* 80131CC8 0012EC28 38 80 00 1C */ li r4, 0x1c -/* 80131CCC 0012EC2C 38 00 00 04 */ li r0, 4 -/* 80131CD0 0012EC30 7D 07 43 78 */ mr r7, r8 -/* 80131CD4 0012EC34 7C A6 2B 78 */ mr r6, r5 -/* 80131CD8 0012EC38 C0 0E 00 00 */ lfs f0, 0(r14) -/* 80131CDC 0012EC3C D0 03 00 00 */ stfs f0, 0(r3) -/* 80131CE0 0012EC40 C0 02 99 90 */ lfs f0, lbl_805AB6B0@sda21(r2) -/* 80131CE4 0012EC44 C0 4E 00 04 */ lfs f2, 4(r14) -/* 80131CE8 0012EC48 D0 43 00 04 */ stfs f2, 4(r3) -/* 80131CEC 0012EC4C C0 4E 00 08 */ lfs f2, 8(r14) -/* 80131CF0 0012EC50 D0 43 00 08 */ stfs f2, 8(r3) -/* 80131CF4 0012EC54 C0 4E 00 00 */ lfs f2, 0(r14) -/* 80131CF8 0012EC58 D0 43 00 0C */ stfs f2, 0xc(r3) -/* 80131CFC 0012EC5C C0 4E 00 04 */ lfs f2, 4(r14) -/* 80131D00 0012EC60 D0 43 00 10 */ stfs f2, 0x10(r3) -/* 80131D04 0012EC64 C0 4E 00 08 */ lfs f2, 8(r14) -/* 80131D08 0012EC68 D0 43 00 14 */ stfs f2, 0x14(r3) -/* 80131D0C 0012EC6C C0 4E 00 00 */ lfs f2, 0(r14) -/* 80131D10 0012EC70 D0 43 00 18 */ stfs f2, 0x18(r3) -/* 80131D14 0012EC74 C0 4E 00 04 */ lfs f2, 4(r14) -/* 80131D18 0012EC78 D0 43 00 1C */ stfs f2, 0x1c(r3) -/* 80131D1C 0012EC7C C0 4E 00 08 */ lfs f2, 8(r14) -/* 80131D20 0012EC80 D0 43 00 20 */ stfs f2, 0x20(r3) -/* 80131D24 0012EC84 C0 4E 00 00 */ lfs f2, 0(r14) -/* 80131D28 0012EC88 D0 43 00 24 */ stfs f2, 0x24(r3) -/* 80131D2C 0012EC8C C0 4E 00 04 */ lfs f2, 4(r14) -/* 80131D30 0012EC90 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 80131D34 0012EC94 C0 4E 00 08 */ lfs f2, 8(r14) -/* 80131D38 0012EC98 D0 43 00 2C */ stfs f2, 0x2c(r3) -/* 80131D3C 0012EC9C 90 A3 00 30 */ stw r5, 0x30(r3) -/* 80131D40 0012ECA0 D0 23 00 34 */ stfs f1, 0x34(r3) -/* 80131D44 0012ECA4 D0 03 00 38 */ stfs f0, 0x38(r3) -/* 80131D48 0012ECA8 D0 23 00 3C */ stfs f1, 0x3c(r3) -/* 80131D4C 0012ECAC 90 83 00 40 */ stw r4, 0x40(r3) -/* 80131D50 0012ECB0 7C 09 03 A6 */ mtctr r0 -lbl_80131D54: -/* 80131D54 0012ECB4 28 07 00 00 */ cmplwi r7, 0 -/* 80131D58 0012ECB8 41 82 00 08 */ beq lbl_80131D60 -/* 80131D5C 0012ECBC 90 A7 00 00 */ stw r5, 0(r7) -lbl_80131D60: -/* 80131D60 0012ECC0 34 E7 00 04 */ addic. r7, r7, 4 -/* 80131D64 0012ECC4 41 82 00 08 */ beq lbl_80131D6C -/* 80131D68 0012ECC8 90 A7 00 00 */ stw r5, 0(r7) -lbl_80131D6C: -/* 80131D6C 0012ECCC 34 E7 00 04 */ addic. r7, r7, 4 -/* 80131D70 0012ECD0 41 82 00 08 */ beq lbl_80131D78 -/* 80131D74 0012ECD4 90 A7 00 00 */ stw r5, 0(r7) -lbl_80131D78: -/* 80131D78 0012ECD8 34 E7 00 04 */ addic. r7, r7, 4 -/* 80131D7C 0012ECDC 41 82 00 08 */ beq lbl_80131D84 -/* 80131D80 0012ECE0 90 A7 00 00 */ stw r5, 0(r7) -lbl_80131D84: -/* 80131D84 0012ECE4 34 E7 00 04 */ addic. r7, r7, 4 -/* 80131D88 0012ECE8 41 82 00 08 */ beq lbl_80131D90 -/* 80131D8C 0012ECEC 90 A7 00 00 */ stw r5, 0(r7) -lbl_80131D90: -/* 80131D90 0012ECF0 34 E7 00 04 */ addic. r7, r7, 4 -/* 80131D94 0012ECF4 41 82 00 08 */ beq lbl_80131D9C -/* 80131D98 0012ECF8 90 A7 00 00 */ stw r5, 0(r7) -lbl_80131D9C: -/* 80131D9C 0012ECFC 34 E7 00 04 */ addic. r7, r7, 4 -/* 80131DA0 0012ED00 41 82 00 08 */ beq lbl_80131DA8 -/* 80131DA4 0012ED04 90 A7 00 00 */ stw r5, 0(r7) -lbl_80131DA8: -/* 80131DA8 0012ED08 38 C6 00 06 */ addi r6, r6, 6 -/* 80131DAC 0012ED0C 38 E7 00 04 */ addi r7, r7, 4 -/* 80131DB0 0012ED10 42 00 FF A4 */ bdnz lbl_80131D54 -/* 80131DB4 0012ED14 38 E0 00 00 */ li r7, 0 -/* 80131DB8 0012ED18 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 80131DBC 0012ED1C 90 E3 00 B4 */ stw r7, 0xb4(r3) -/* 80131DC0 0012ED20 38 C4 AA 68 */ addi r6, r4, lbl_803DAA68@l -/* 80131DC4 0012ED24 3C A0 80 3E */ lis r5, lbl_803DAA20@ha -/* 80131DC8 0012ED28 3D 80 80 3E */ lis r12, lbl_803DAA50@ha -/* 80131DCC 0012ED2C 90 C3 00 B8 */ stw r6, 0xb8(r3) -/* 80131DD0 0012ED30 38 05 AA 20 */ addi r0, r5, lbl_803DAA20@l -/* 80131DD4 0012ED34 3A 6C AA 50 */ addi r19, r12, lbl_803DAA50@l -/* 80131DD8 0012ED38 38 A0 FF FF */ li r5, -1 -/* 80131DDC 0012ED3C 90 E3 00 BC */ stw r7, 0xbc(r3) -/* 80131DE0 0012ED40 3A 20 00 01 */ li r17, 1 -/* 80131DE4 0012ED44 3D 60 80 3E */ lis r11, lbl_803DA9E4@ha -/* 80131DE8 0012ED48 3A A0 00 02 */ li r21, 2 -/* 80131DEC 0012ED4C 90 03 00 B8 */ stw r0, 0xb8(r3) -/* 80131DF0 0012ED50 38 0B A9 E4 */ addi r0, r11, lbl_803DA9E4@l -/* 80131DF4 0012ED54 3A 80 00 03 */ li r20, 3 -/* 80131DF8 0012ED58 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80131DFC 0012ED5C 90 A3 00 C0 */ stw r5, 0xc0(r3) -/* 80131E00 0012ED60 3A 40 00 04 */ li r18, 4 -/* 80131E04 0012ED64 3E 00 80 3E */ lis r16, lbl_803DAA44@ha -/* 80131E08 0012ED68 3D E0 80 3E */ lis r15, lbl_803DA9D8@ha -/* 80131E0C 0012ED6C 90 C3 00 C4 */ stw r6, 0xc4(r3) -/* 80131E10 0012ED70 39 23 00 B8 */ addi r9, r3, 0xb8 -/* 80131E14 0012ED74 39 43 00 C4 */ addi r10, r3, 0xc4 -/* 80131E18 0012ED78 39 63 00 DC */ addi r11, r3, 0xdc -/* 80131E1C 0012ED7C 92 23 00 C8 */ stw r17, 0xc8(r3) -/* 80131E20 0012ED80 3A 30 AA 44 */ addi r17, r16, lbl_803DAA44@l -/* 80131E24 0012ED84 3A 00 00 05 */ li r16, 5 -/* 80131E28 0012ED88 39 83 00 F4 */ addi r12, r3, 0xf4 -/* 80131E2C 0012ED8C 90 03 00 C4 */ stw r0, 0xc4(r3) -/* 80131E30 0012ED90 38 0F A9 D8 */ addi r0, r15, lbl_803DA9D8@l -/* 80131E34 0012ED94 3B E3 01 0C */ addi r31, r3, 0x10c -/* 80131E38 0012ED98 90 A3 00 CC */ stw r5, 0xcc(r3) -/* 80131E3C 0012ED9C 90 E3 00 D0 */ stw r7, 0xd0(r3) -/* 80131E40 0012EDA0 90 C3 00 D4 */ stw r6, 0xd4(r3) -/* 80131E44 0012EDA4 92 A3 00 D8 */ stw r21, 0xd8(r3) -/* 80131E48 0012EDA8 90 C3 00 DC */ stw r6, 0xdc(r3) -/* 80131E4C 0012EDAC 92 83 00 E0 */ stw r20, 0xe0(r3) -/* 80131E50 0012EDB0 92 63 00 DC */ stw r19, 0xdc(r3) -/* 80131E54 0012EDB4 C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) -/* 80131E58 0012EDB8 D0 03 00 E4 */ stfs f0, 0xe4(r3) -/* 80131E5C 0012EDBC C0 0E 00 04 */ lfs f0, 4(r14) -/* 80131E60 0012EDC0 D0 03 00 E8 */ stfs f0, 0xe8(r3) -/* 80131E64 0012EDC4 C0 0E 00 08 */ lfs f0, 8(r14) -/* 80131E68 0012EDC8 D0 03 00 EC */ stfs f0, 0xec(r3) -/* 80131E6C 0012EDCC 90 A3 00 F0 */ stw r5, 0xf0(r3) -/* 80131E70 0012EDD0 90 C3 00 F4 */ stw r6, 0xf4(r3) -/* 80131E74 0012EDD4 92 43 00 F8 */ stw r18, 0xf8(r3) -/* 80131E78 0012EDD8 92 23 00 F4 */ stw r17, 0xf4(r3) -/* 80131E7C 0012EDDC C0 04 00 00 */ lfs f0, 0(r4) -/* 80131E80 0012EDE0 D0 03 00 FC */ stfs f0, 0xfc(r3) -/* 80131E84 0012EDE4 C0 0E 00 04 */ lfs f0, 4(r14) -/* 80131E88 0012EDE8 D0 03 01 00 */ stfs f0, 0x100(r3) -/* 80131E8C 0012EDEC C0 0E 00 08 */ lfs f0, 8(r14) -/* 80131E90 0012EDF0 D0 03 01 04 */ stfs f0, 0x104(r3) -/* 80131E94 0012EDF4 90 A3 01 08 */ stw r5, 0x108(r3) -/* 80131E98 0012EDF8 90 C3 01 0C */ stw r6, 0x10c(r3) -/* 80131E9C 0012EDFC 92 03 01 10 */ stw r16, 0x110(r3) -/* 80131EA0 0012EE00 90 03 01 0C */ stw r0, 0x10c(r3) -/* 80131EA4 0012EE04 90 A3 01 14 */ stw r5, 0x114(r3) -/* 80131EA8 0012EE08 C0 04 00 00 */ lfs f0, 0(r4) -/* 80131EAC 0012EE0C D0 03 01 18 */ stfs f0, 0x118(r3) -/* 80131EB0 0012EE10 C0 0E 00 04 */ lfs f0, 4(r14) -/* 80131EB4 0012EE14 D0 03 01 1C */ stfs f0, 0x11c(r3) -/* 80131EB8 0012EE18 C0 0E 00 08 */ lfs f0, 8(r14) -/* 80131EBC 0012EE1C D0 03 01 20 */ stfs f0, 0x120(r3) -/* 80131EC0 0012EE20 98 E3 01 24 */ stb r7, 0x124(r3) -/* 80131EC4 0012EE24 90 C3 01 28 */ stw r6, 0x128(r3) -/* 80131EC8 0012EE28 38 00 00 06 */ li r0, 6 -/* 80131ECC 0012EE2C 3E 20 80 3E */ lis r17, lbl_803E10B0@ha -/* 80131ED0 0012EE30 3E 00 80 3E */ lis r16, lbl_803DAA2C@ha -/* 80131ED4 0012EE34 3D E0 80 3E */ lis r15, lbl_803DA9CC@ha -/* 80131ED8 0012EE38 90 03 01 2C */ stw r0, 0x12c(r3) -/* 80131EDC 0012EE3C 38 0F A9 CC */ addi r0, r15, lbl_803DA9CC@l -/* 80131EE0 0012EE40 3A F1 10 B0 */ addi r23, r17, lbl_803E10B0@l -/* 80131EE4 0012EE44 90 03 01 28 */ stw r0, 0x128(r3) -/* 80131EE8 0012EE48 3A B0 AA 2C */ addi r21, r16, lbl_803DAA2C@l -/* 80131EEC 0012EE4C 3D E0 80 3E */ lis r15, lbl_803DAA38@ha -/* 80131EF0 0012EE50 3B 00 00 07 */ li r24, 7 -/* 80131EF4 0012EE54 90 A3 01 30 */ stw r5, 0x130(r3) -/* 80131EF8 0012EE58 3A 6F AA 38 */ addi r19, r15, lbl_803DAA38@l -/* 80131EFC 0012EE5C 3D E0 80 3E */ lis r15, lbl_803DA9F0@ha -/* 80131F00 0012EE60 3A C0 00 08 */ li r22, 8 -/* 80131F04 0012EE64 C0 04 00 00 */ lfs f0, 0(r4) -/* 80131F08 0012EE68 3A 80 00 09 */ li r20, 9 -/* 80131F0C 0012EE6C 3A 40 00 0A */ li r18, 0xa -/* 80131F10 0012EE70 3A 20 00 0B */ li r17, 0xb -/* 80131F14 0012EE74 D0 03 01 34 */ stfs f0, 0x134(r3) -/* 80131F18 0012EE78 3A 00 00 0C */ li r16, 0xc -/* 80131F1C 0012EE7C 38 00 00 0D */ li r0, 0xd -/* 80131F20 0012EE80 3B 20 00 0E */ li r25, 0xe -/* 80131F24 0012EE84 C0 0E 00 04 */ lfs f0, 4(r14) -/* 80131F28 0012EE88 39 EF A9 F0 */ addi r15, r15, lbl_803DA9F0@l -/* 80131F2C 0012EE8C 3B C3 01 28 */ addi r30, r3, 0x128 -/* 80131F30 0012EE90 3B A3 01 44 */ addi r29, r3, 0x144 -/* 80131F34 0012EE94 D0 03 01 38 */ stfs f0, 0x138(r3) -/* 80131F38 0012EE98 3B 83 01 54 */ addi r28, r3, 0x154 -/* 80131F3C 0012EE9C 3B 63 01 60 */ addi r27, r3, 0x160 -/* 80131F40 0012EEA0 3B 43 01 8C */ addi r26, r3, 0x18c -/* 80131F44 0012EEA4 C0 0E 00 08 */ lfs f0, 8(r14) -/* 80131F48 0012EEA8 D0 03 01 3C */ stfs f0, 0x13c(r3) -/* 80131F4C 0012EEAC 98 E3 01 40 */ stb r7, 0x140(r3) -/* 80131F50 0012EEB0 90 C3 01 44 */ stw r6, 0x144(r3) -/* 80131F54 0012EEB4 93 03 01 48 */ stw r24, 0x148(r3) -/* 80131F58 0012EEB8 92 E3 01 44 */ stw r23, 0x144(r3) -/* 80131F5C 0012EEBC 90 A3 01 4C */ stw r5, 0x14c(r3) -/* 80131F60 0012EEC0 90 E3 01 50 */ stw r7, 0x150(r3) -/* 80131F64 0012EEC4 90 C3 01 54 */ stw r6, 0x154(r3) -/* 80131F68 0012EEC8 92 C3 01 58 */ stw r22, 0x158(r3) -/* 80131F6C 0012EECC 92 A3 01 54 */ stw r21, 0x154(r3) -/* 80131F70 0012EED0 90 A3 01 5C */ stw r5, 0x15c(r3) -/* 80131F74 0012EED4 90 C3 01 60 */ stw r6, 0x160(r3) -/* 80131F78 0012EED8 92 83 01 64 */ stw r20, 0x164(r3) -/* 80131F7C 0012EEDC 92 63 01 60 */ stw r19, 0x160(r3) -/* 80131F80 0012EEE0 90 A3 01 68 */ stw r5, 0x168(r3) -/* 80131F84 0012EEE4 90 C3 01 6C */ stw r6, 0x16c(r3) -/* 80131F88 0012EEE8 92 43 01 70 */ stw r18, 0x170(r3) -/* 80131F8C 0012EEEC 90 C3 01 74 */ stw r6, 0x174(r3) -/* 80131F90 0012EEF0 92 23 01 78 */ stw r17, 0x178(r3) -/* 80131F94 0012EEF4 90 C3 01 7C */ stw r6, 0x17c(r3) -/* 80131F98 0012EEF8 92 03 01 80 */ stw r16, 0x180(r3) -/* 80131F9C 0012EEFC 90 C3 01 84 */ stw r6, 0x184(r3) -/* 80131FA0 0012EF00 90 03 01 88 */ stw r0, 0x188(r3) -/* 80131FA4 0012EF04 90 C3 01 8C */ stw r6, 0x18c(r3) -/* 80131FA8 0012EF08 93 23 01 90 */ stw r25, 0x190(r3) -/* 80131FAC 0012EF0C 91 E3 01 8C */ stw r15, 0x18c(r3) -/* 80131FB0 0012EF10 90 A3 01 94 */ stw r5, 0x194(r3) -/* 80131FB4 0012EF14 C0 04 00 00 */ lfs f0, 0(r4) -/* 80131FB8 0012EF18 3E 20 80 3E */ lis r17, lbl_803DAA5C@ha -/* 80131FBC 0012EF1C 3E 00 80 3E */ lis r16, lbl_803DA9FC@ha -/* 80131FC0 0012EF20 3D E0 80 3E */ lis r15, lbl_803DAA08@ha -/* 80131FC4 0012EF24 D0 1A 00 0C */ stfs f0, 0xc(r26) -/* 80131FC8 0012EF28 3B 23 01 AC */ addi r25, r3, 0x1ac -/* 80131FCC 0012EF2C 38 00 00 0F */ li r0, 0xf -/* 80131FD0 0012EF30 3A 71 AA 5C */ addi r19, r17, lbl_803DAA5C@l -/* 80131FD4 0012EF34 C0 0E 00 04 */ lfs f0, 4(r14) -/* 80131FD8 0012EF38 3B 03 01 D0 */ addi r24, r3, 0x1d0 -/* 80131FDC 0012EF3C 3A 40 00 10 */ li r18, 0x10 -/* 80131FE0 0012EF40 3A 30 A9 FC */ addi r17, r16, lbl_803DA9FC@l -/* 80131FE4 0012EF44 D0 1A 00 10 */ stfs f0, 0x10(r26) -/* 80131FE8 0012EF48 3A E3 01 F8 */ addi r23, r3, 0x1f8 -/* 80131FEC 0012EF4C 3A 00 00 11 */ li r16, 0x11 -/* 80131FF0 0012EF50 39 EF AA 08 */ addi r15, r15, lbl_803DAA08@l -/* 80131FF4 0012EF54 C0 0E 00 08 */ lfs f0, 8(r14) -/* 80131FF8 0012EF58 D0 1A 00 14 */ stfs f0, 0x14(r26) -/* 80131FFC 0012EF5C 90 BA 00 18 */ stw r5, 0x18(r26) -/* 80132000 0012EF60 82 9A 00 1C */ lwz r20, 0x1c(r26) -/* 80132004 0012EF64 50 F4 F8 00 */ rlwimi r20, r7, 0x1f, 0, 0 -/* 80132008 0012EF68 92 9A 00 1C */ stw r20, 0x1c(r26) -/* 8013200C 0012EF6C 82 9A 00 1C */ lwz r20, 0x1c(r26) -/* 80132010 0012EF70 50 F4 F0 42 */ rlwimi r20, r7, 0x1e, 1, 1 -/* 80132014 0012EF74 92 9A 00 1C */ stw r20, 0x1c(r26) -/* 80132018 0012EF78 90 C3 01 AC */ stw r6, 0x1ac(r3) -/* 8013201C 0012EF7C 90 03 01 B0 */ stw r0, 0x1b0(r3) -/* 80132020 0012EF80 92 63 01 AC */ stw r19, 0x1ac(r3) -/* 80132024 0012EF84 C0 04 00 00 */ lfs f0, 0(r4) -/* 80132028 0012EF88 D0 03 01 B4 */ stfs f0, 0x1b4(r3) -/* 8013202C 0012EF8C C0 0E 00 04 */ lfs f0, 4(r14) -/* 80132030 0012EF90 D0 03 01 B8 */ stfs f0, 0x1b8(r3) -/* 80132034 0012EF94 C0 0E 00 08 */ lfs f0, 8(r14) -/* 80132038 0012EF98 D0 03 01 BC */ stfs f0, 0x1bc(r3) -/* 8013203C 0012EF9C C0 04 00 00 */ lfs f0, 0(r4) -/* 80132040 0012EFA0 D0 03 01 C0 */ stfs f0, 0x1c0(r3) -/* 80132044 0012EFA4 C0 0E 00 04 */ lfs f0, 4(r14) -/* 80132048 0012EFA8 D0 03 01 C4 */ stfs f0, 0x1c4(r3) -/* 8013204C 0012EFAC C0 0E 00 08 */ lfs f0, 8(r14) -/* 80132050 0012EFB0 D0 03 01 C8 */ stfs f0, 0x1c8(r3) -/* 80132054 0012EFB4 98 E3 01 CC */ stb r7, 0x1cc(r3) -/* 80132058 0012EFB8 90 C3 01 D0 */ stw r6, 0x1d0(r3) -/* 8013205C 0012EFBC 92 43 01 D4 */ stw r18, 0x1d4(r3) -/* 80132060 0012EFC0 92 23 01 D0 */ stw r17, 0x1d0(r3) -/* 80132064 0012EFC4 90 E3 01 D8 */ stw r7, 0x1d8(r3) -/* 80132068 0012EFC8 C0 04 00 00 */ lfs f0, 0(r4) -/* 8013206C 0012EFCC D0 03 01 DC */ stfs f0, 0x1dc(r3) -/* 80132070 0012EFD0 C0 0E 00 04 */ lfs f0, 4(r14) -/* 80132074 0012EFD4 D0 03 01 E0 */ stfs f0, 0x1e0(r3) -/* 80132078 0012EFD8 C0 0E 00 08 */ lfs f0, 8(r14) -/* 8013207C 0012EFDC D0 03 01 E4 */ stfs f0, 0x1e4(r3) -/* 80132080 0012EFE0 C0 04 00 00 */ lfs f0, 0(r4) -/* 80132084 0012EFE4 D0 03 01 E8 */ stfs f0, 0x1e8(r3) -/* 80132088 0012EFE8 C0 0E 00 04 */ lfs f0, 4(r14) -/* 8013208C 0012EFEC D0 03 01 EC */ stfs f0, 0x1ec(r3) -/* 80132090 0012EFF0 C0 0E 00 08 */ lfs f0, 8(r14) -/* 80132094 0012EFF4 D0 03 01 F0 */ stfs f0, 0x1f0(r3) -/* 80132098 0012EFF8 88 03 01 F4 */ lbz r0, 0x1f4(r3) -/* 8013209C 0012EFFC 50 E0 3E 30 */ rlwimi r0, r7, 7, 0x18, 0x18 -/* 801320A0 0012F000 98 03 01 F4 */ stb r0, 0x1f4(r3) -/* 801320A4 0012F004 88 03 01 F4 */ lbz r0, 0x1f4(r3) -/* 801320A8 0012F008 50 E0 36 72 */ rlwimi r0, r7, 6, 0x19, 0x19 -/* 801320AC 0012F00C 98 03 01 F4 */ stb r0, 0x1f4(r3) -/* 801320B0 0012F010 82 44 00 00 */ lwz r18, 0(r4) -/* 801320B4 0012F014 82 24 00 04 */ lwz r17, 4(r4) -/* 801320B8 0012F018 80 04 00 08 */ lwz r0, 8(r4) -/* 801320BC 0012F01C 92 41 00 0C */ stw r18, 0xc(r1) -/* 801320C0 0012F020 90 C3 01 F8 */ stw r6, 0x1f8(r3) -/* 801320C4 0012F024 92 03 01 FC */ stw r16, 0x1fc(r3) -/* 801320C8 0012F028 92 21 00 10 */ stw r17, 0x10(r1) -/* 801320CC 0012F02C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801320D0 0012F030 91 E3 01 F8 */ stw r15, 0x1f8(r3) -/* 801320D4 0012F034 90 B7 00 08 */ stw r5, 8(r23) -/* 801320D8 0012F038 3D E0 80 3E */ lis r15, lbl_803DAA14@ha -/* 801320DC 0012F03C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 801320E0 0012F040 3E 20 80 3E */ lis r17, lbl_803DFE40@ha -/* 801320E4 0012F044 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 801320E8 0012F048 38 00 00 12 */ li r0, 0x12 -/* 801320EC 0012F04C D0 17 00 0C */ stfs f0, 0xc(r23) -/* 801320F0 0012F050 39 EF AA 14 */ addi r15, r15, lbl_803DAA14@l -/* 801320F4 0012F054 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 801320F8 0012F058 3A 40 00 13 */ li r18, 0x13 -/* 801320FC 0012F05C D0 37 00 10 */ stfs f1, 0x10(r23) -/* 80132100 0012F060 3A 31 FE 40 */ addi r17, r17, lbl_803DFE40@l -/* 80132104 0012F064 C0 22 99 88 */ lfs f1, lbl_805AB6A8@sda21(r2) -/* 80132108 0012F068 3E 00 80 3E */ lis r16, lbl_803E0B8C@ha -/* 8013210C 0012F06C D0 17 00 14 */ stfs f0, 0x14(r23) -/* 80132110 0012F070 3E 60 80 5A */ lis r19, lbl_805A6724@ha -/* 80132114 0012F074 3A C3 02 10 */ addi r22, r3, 0x210 -/* 80132118 0012F078 3A A3 02 1C */ addi r21, r3, 0x21c -/* 8013211C 0012F07C 90 C3 02 10 */ stw r6, 0x210(r3) -/* 80132120 0012F080 3A 83 02 30 */ addi r20, r3, 0x230 -/* 80132124 0012F084 90 03 02 14 */ stw r0, 0x214(r3) -/* 80132128 0012F088 38 10 0B 8C */ addi r0, r16, lbl_803E0B8C@l -/* 8013212C 0012F08C 3A 13 67 24 */ addi r16, r19, lbl_805A6724@l -/* 80132130 0012F090 3A 63 02 54 */ addi r19, r3, 0x254 -/* 80132134 0012F094 91 E3 02 10 */ stw r15, 0x210(r3) -/* 80132138 0012F098 3D E0 80 3E */ lis r15, lbl_803E0B98@ha -/* 8013213C 0012F09C 39 EF 0B 98 */ addi r15, r15, lbl_803E0B98@l -/* 80132140 0012F0A0 90 A3 02 18 */ stw r5, 0x218(r3) -/* 80132144 0012F0A4 90 C3 02 1C */ stw r6, 0x21c(r3) -/* 80132148 0012F0A8 92 43 02 20 */ stw r18, 0x220(r3) -/* 8013214C 0012F0AC 92 23 02 1C */ stw r17, 0x21c(r3) -/* 80132150 0012F0B0 90 A3 02 24 */ stw r5, 0x224(r3) -/* 80132154 0012F0B4 8A 23 02 28 */ lbz r17, 0x228(r3) -/* 80132158 0012F0B8 50 F1 3E 30 */ rlwimi r17, r7, 7, 0x18, 0x18 -/* 8013215C 0012F0BC 9A 23 02 28 */ stb r17, 0x228(r3) -/* 80132160 0012F0C0 8A 23 02 28 */ lbz r17, 0x228(r3) -/* 80132164 0012F0C4 50 F1 36 72 */ rlwimi r17, r7, 6, 0x19, 0x19 -/* 80132168 0012F0C8 9A 23 02 28 */ stb r17, 0x228(r3) -/* 8013216C 0012F0CC 3A 20 00 14 */ li r17, 0x14 -/* 80132170 0012F0D0 D0 23 02 2C */ stfs f1, 0x22c(r3) -/* 80132174 0012F0D4 90 C3 02 30 */ stw r6, 0x230(r3) -/* 80132178 0012F0D8 92 23 02 34 */ stw r17, 0x234(r3) -/* 8013217C 0012F0DC 90 03 02 30 */ stw r0, 0x230(r3) -/* 80132180 0012F0E0 38 00 00 15 */ li r0, 0x15 -/* 80132184 0012F0E4 90 A3 02 38 */ stw r5, 0x238(r3) -/* 80132188 0012F0E8 C0 04 00 00 */ lfs f0, 0(r4) -/* 8013218C 0012F0EC D0 03 02 3C */ stfs f0, 0x23c(r3) -/* 80132190 0012F0F0 C0 0E 00 04 */ lfs f0, 4(r14) -/* 80132194 0012F0F4 D0 03 02 40 */ stfs f0, 0x240(r3) -/* 80132198 0012F0F8 C0 0E 00 08 */ lfs f0, 8(r14) -/* 8013219C 0012F0FC D0 03 02 44 */ stfs f0, 0x244(r3) -/* 801321A0 0012F100 C0 10 00 00 */ lfs f0, 0(r16) -/* 801321A4 0012F104 D0 03 02 48 */ stfs f0, 0x248(r3) -/* 801321A8 0012F108 C0 10 00 04 */ lfs f0, 4(r16) -/* 801321AC 0012F10C D0 03 02 4C */ stfs f0, 0x24c(r3) -/* 801321B0 0012F110 C0 10 00 08 */ lfs f0, 8(r16) -/* 801321B4 0012F114 D0 03 02 50 */ stfs f0, 0x250(r3) -/* 801321B8 0012F118 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 801321BC 0012F11C 90 C3 02 54 */ stw r6, 0x254(r3) -/* 801321C0 0012F120 90 03 02 58 */ stw r0, 0x258(r3) -/* 801321C4 0012F124 38 00 00 16 */ li r0, 0x16 -/* 801321C8 0012F128 91 E3 02 54 */ stw r15, 0x254(r3) -/* 801321CC 0012F12C B0 83 02 5C */ sth r4, 0x25c(r3) -/* 801321D0 0012F130 90 C3 02 60 */ stw r6, 0x260(r3) -/* 801321D4 0012F134 90 03 02 64 */ stw r0, 0x264(r3) -/* 801321D8 0012F138 B0 81 00 08 */ sth r4, 8(r1) -/* 801321DC 0012F13C 90 C3 02 68 */ stw r6, 0x268(r3) -/* 801321E0 0012F140 38 00 00 17 */ li r0, 0x17 -/* 801321E4 0012F144 3D C0 80 3E */ lis r14, lbl_803E061C@ha -/* 801321E8 0012F148 90 03 02 6C */ stw r0, 0x26c(r3) -/* 801321EC 0012F14C 38 00 00 18 */ li r0, 0x18 -/* 801321F0 0012F150 39 CE 06 1C */ addi r14, r14, lbl_803E061C@l -/* 801321F4 0012F154 39 E0 00 19 */ li r15, 0x19 -/* 801321F8 0012F158 90 C3 02 70 */ stw r6, 0x270(r3) -/* 801321FC 0012F15C 3C 80 80 3E */ lis r4, lbl_803E10BC@ha -/* 80132200 0012F160 C0 02 99 90 */ lfs f0, lbl_805AB6B0@sda21(r2) -/* 80132204 0012F164 3A 43 02 70 */ addi r18, r3, 0x270 -/* 80132208 0012F168 90 03 02 74 */ stw r0, 0x274(r3) -/* 8013220C 0012F16C 38 04 10 BC */ addi r0, r4, lbl_803E10BC@l -/* 80132210 0012F170 3C 80 80 3E */ lis r4, lbl_803E10C8@ha -/* 80132214 0012F174 3A 23 02 78 */ addi r17, r3, 0x278 -/* 80132218 0012F178 91 C3 02 70 */ stw r14, 0x270(r3) -/* 8013221C 0012F17C 39 C3 00 D4 */ addi r14, r3, 0xd4 -/* 80132220 0012F180 38 84 10 C8 */ addi r4, r4, lbl_803E10C8@l -/* 80132224 0012F184 3A 03 02 84 */ addi r16, r3, 0x284 -/* 80132228 0012F188 90 C3 02 78 */ stw r6, 0x278(r3) -/* 8013222C 0012F18C 91 E3 02 7C */ stw r15, 0x27c(r3) -/* 80132230 0012F190 39 E3 02 98 */ addi r15, r3, 0x298 -/* 80132234 0012F194 90 03 02 78 */ stw r0, 0x278(r3) -/* 80132238 0012F198 38 03 02 60 */ addi r0, r3, 0x260 -/* 8013223C 0012F19C D0 03 02 80 */ stfs f0, 0x280(r3) -/* 80132240 0012F1A0 90 C3 02 84 */ stw r6, 0x284(r3) -/* 80132244 0012F1A4 91 E1 00 28 */ stw r15, 0x28(r1) -/* 80132248 0012F1A8 39 E0 00 1A */ li r15, 0x1a -/* 8013224C 0012F1AC 91 E3 02 88 */ stw r15, 0x288(r3) -/* 80132250 0012F1B0 90 83 02 84 */ stw r4, 0x284(r3) -/* 80132254 0012F1B4 38 80 00 1B */ li r4, 0x1b -/* 80132258 0012F1B8 D0 23 02 8C */ stfs f1, 0x28c(r3) -/* 8013225C 0012F1BC 90 A3 02 90 */ stw r5, 0x290(r3) -/* 80132260 0012F1C0 98 E3 02 94 */ stb r7, 0x294(r3) -/* 80132264 0012F1C4 90 C3 02 98 */ stw r6, 0x298(r3) -/* 80132268 0012F1C8 90 83 02 9C */ stw r4, 0x29c(r3) -/* 8013226C 0012F1CC 91 C1 00 2C */ stw r14, 0x2c(r1) -/* 80132270 0012F1D0 39 C3 01 6C */ addi r14, r3, 0x16c -/* 80132274 0012F1D4 91 28 00 00 */ stw r9, 0(r8) -/* 80132278 0012F1D8 80 81 00 2C */ lwz r4, 0x2c(r1) -/* 8013227C 0012F1DC 91 48 00 04 */ stw r10, 4(r8) -/* 80132280 0012F1E0 90 88 00 08 */ stw r4, 8(r8) -/* 80132284 0012F1E4 91 68 00 0C */ stw r11, 0xc(r8) -/* 80132288 0012F1E8 91 88 00 10 */ stw r12, 0x10(r8) -/* 8013228C 0012F1EC 93 E8 00 14 */ stw r31, 0x14(r8) -/* 80132290 0012F1F0 91 C1 00 18 */ stw r14, 0x18(r1) -/* 80132294 0012F1F4 39 C3 01 74 */ addi r14, r3, 0x174 -/* 80132298 0012F1F8 93 C8 00 18 */ stw r30, 0x18(r8) -/* 8013229C 0012F1FC 80 81 00 18 */ lwz r4, 0x18(r1) -/* 801322A0 0012F200 93 A8 00 1C */ stw r29, 0x1c(r8) -/* 801322A4 0012F204 93 88 00 20 */ stw r28, 0x20(r8) -/* 801322A8 0012F208 91 C1 00 1C */ stw r14, 0x1c(r1) -/* 801322AC 0012F20C 39 C3 01 7C */ addi r14, r3, 0x17c -/* 801322B0 0012F210 93 68 00 24 */ stw r27, 0x24(r8) -/* 801322B4 0012F214 91 C1 00 20 */ stw r14, 0x20(r1) -/* 801322B8 0012F218 39 C3 01 84 */ addi r14, r3, 0x184 -/* 801322BC 0012F21C 90 88 00 28 */ stw r4, 0x28(r8) -/* 801322C0 0012F220 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 801322C4 0012F224 91 C1 00 24 */ stw r14, 0x24(r1) -/* 801322C8 0012F228 39 C3 02 68 */ addi r14, r3, 0x268 -/* 801322CC 0012F22C 90 88 00 2C */ stw r4, 0x2c(r8) -/* 801322D0 0012F230 80 81 00 20 */ lwz r4, 0x20(r1) -/* 801322D4 0012F234 90 88 00 30 */ stw r4, 0x30(r8) -/* 801322D8 0012F238 80 81 00 24 */ lwz r4, 0x24(r1) -/* 801322DC 0012F23C 90 88 00 34 */ stw r4, 0x34(r8) -/* 801322E0 0012F240 93 48 00 38 */ stw r26, 0x38(r8) -/* 801322E4 0012F244 93 28 00 3C */ stw r25, 0x3c(r8) -/* 801322E8 0012F248 93 08 00 40 */ stw r24, 0x40(r8) -/* 801322EC 0012F24C 92 E8 00 44 */ stw r23, 0x44(r8) -/* 801322F0 0012F250 92 C8 00 48 */ stw r22, 0x48(r8) -/* 801322F4 0012F254 92 A8 00 4C */ stw r21, 0x4c(r8) -/* 801322F8 0012F258 92 88 00 50 */ stw r20, 0x50(r8) -/* 801322FC 0012F25C 92 68 00 54 */ stw r19, 0x54(r8) -/* 80132300 0012F260 90 08 00 58 */ stw r0, 0x58(r8) -/* 80132304 0012F264 80 01 00 28 */ lwz r0, 0x28(r1) -/* 80132308 0012F268 91 C8 00 5C */ stw r14, 0x5c(r8) -/* 8013230C 0012F26C 92 48 00 60 */ stw r18, 0x60(r8) -/* 80132310 0012F270 92 28 00 64 */ stw r17, 0x64(r8) -/* 80132314 0012F274 92 08 00 68 */ stw r16, 0x68(r8) -/* 80132318 0012F278 90 08 00 6C */ stw r0, 0x6c(r8) -/* 8013231C 0012F27C B9 C1 00 38 */ lmw r14, 0x38(r1) -/* 80132320 0012F280 38 21 00 80 */ addi r1, r1, 0x80 -/* 80132324 0012F284 4E 80 00 20 */ blr - -.global __dt__22CBCAdditiveReactionCmdFv -__dt__22CBCAdditiveReactionCmdFv: -/* 80132328 0012F288 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013232C 0012F28C 7C 08 02 A6 */ mflr r0 -/* 80132330 0012F290 90 01 00 14 */ stw r0, 0x14(r1) -/* 80132334 0012F294 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80132338 0012F298 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8013233C 0012F29C 41 82 00 30 */ beq lbl_8013236C -/* 80132340 0012F2A0 3C 60 80 3E */ lis r3, lbl_803E10C8@ha -/* 80132344 0012F2A4 38 03 10 C8 */ addi r0, r3, lbl_803E10C8@l -/* 80132348 0012F2A8 90 1F 00 00 */ stw r0, 0(r31) -/* 8013234C 0012F2AC 41 82 00 10 */ beq lbl_8013235C -/* 80132350 0012F2B0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80132354 0012F2B4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80132358 0012F2B8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013235C: -/* 8013235C 0012F2BC 7C 80 07 35 */ extsh. r0, r4 -/* 80132360 0012F2C0 40 81 00 0C */ ble lbl_8013236C -/* 80132364 0012F2C4 7F E3 FB 78 */ mr r3, r31 -/* 80132368 0012F2C8 48 1E 35 C9 */ bl Free__7CMemoryFPCv -lbl_8013236C: -/* 8013236C 0012F2CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80132370 0012F2D0 7F E3 FB 78 */ mr r3, r31 -/* 80132374 0012F2D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80132378 0012F2D8 7C 08 03 A6 */ mtlr r0 -/* 8013237C 0012F2DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80132380 0012F2E0 4E 80 00 20 */ blr - -.global __dt__20CBCAdditiveFlinchCmdFv -__dt__20CBCAdditiveFlinchCmdFv: -/* 80132384 0012F2E4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80132388 0012F2E8 7C 08 02 A6 */ mflr r0 -/* 8013238C 0012F2EC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80132390 0012F2F0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80132394 0012F2F4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80132398 0012F2F8 41 82 00 30 */ beq lbl_801323C8 -/* 8013239C 0012F2FC 3C 60 80 3E */ lis r3, lbl_803E10BC@ha -/* 801323A0 0012F300 38 03 10 BC */ addi r0, r3, lbl_803E10BC@l -/* 801323A4 0012F304 90 1F 00 00 */ stw r0, 0(r31) -/* 801323A8 0012F308 41 82 00 10 */ beq lbl_801323B8 -/* 801323AC 0012F30C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801323B0 0012F310 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801323B4 0012F314 90 1F 00 00 */ stw r0, 0(r31) -lbl_801323B8: -/* 801323B8 0012F318 7C 80 07 35 */ extsh. r0, r4 -/* 801323BC 0012F31C 40 81 00 0C */ ble lbl_801323C8 -/* 801323C0 0012F320 7F E3 FB 78 */ mr r3, r31 -/* 801323C4 0012F324 48 1E 35 6D */ bl Free__7CMemoryFPCv -lbl_801323C8: -/* 801323C8 0012F328 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801323CC 0012F32C 7F E3 FB 78 */ mr r3, r31 -/* 801323D0 0012F330 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801323D4 0012F334 7C 08 03 A6 */ mtlr r0 -/* 801323D8 0012F338 38 21 00 10 */ addi r1, r1, 0x10 -/* 801323DC 0012F33C 4E 80 00 20 */ blr - -.global __dt__16CBCLoopAttackCmdFv -__dt__16CBCLoopAttackCmdFv: -/* 801323E0 0012F340 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801323E4 0012F344 7C 08 02 A6 */ mflr r0 -/* 801323E8 0012F348 90 01 00 14 */ stw r0, 0x14(r1) -/* 801323EC 0012F34C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801323F0 0012F350 7C 7F 1B 79 */ or. r31, r3, r3 -/* 801323F4 0012F354 41 82 00 30 */ beq lbl_80132424 -/* 801323F8 0012F358 3C 60 80 3E */ lis r3, lbl_803E10B0@ha -/* 801323FC 0012F35C 38 03 10 B0 */ addi r0, r3, lbl_803E10B0@l -/* 80132400 0012F360 90 1F 00 00 */ stw r0, 0(r31) -/* 80132404 0012F364 41 82 00 10 */ beq lbl_80132414 -/* 80132408 0012F368 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8013240C 0012F36C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80132410 0012F370 90 1F 00 00 */ stw r0, 0(r31) -lbl_80132414: -/* 80132414 0012F374 7C 80 07 35 */ extsh. r0, r4 -/* 80132418 0012F378 40 81 00 0C */ ble lbl_80132424 -/* 8013241C 0012F37C 7F E3 FB 78 */ mr r3, r31 -/* 80132420 0012F380 48 1E 35 11 */ bl Free__7CMemoryFPCv -lbl_80132424: -/* 80132424 0012F384 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80132428 0012F388 7F E3 FB 78 */ mr r3, r31 -/* 8013242C 0012F38C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80132430 0012F390 7C 08 03 A6 */ mtlr r0 -/* 80132434 0012F394 38 21 00 10 */ addi r1, r1, 0x10 -/* 80132438 0012F398 4E 80 00 20 */ blr - -.global SetupRestrictedFlyerBodyStates__14CBodyStateInfoFiR6CActor -SetupRestrictedFlyerBodyStates__14CBodyStateInfoFiR6CActor: -/* 8013243C 0012F39C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80132440 0012F3A0 7C 08 02 A6 */ mflr r0 -/* 80132444 0012F3A4 28 04 00 12 */ cmplwi r4, 0x12 -/* 80132448 0012F3A8 38 60 00 00 */ li r3, 0 -/* 8013244C 0012F3AC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80132450 0012F3B0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80132454 0012F3B4 7C BF 2B 78 */ mr r31, r5 -/* 80132458 0012F3B8 41 81 03 64 */ bgt lbl_801327BC -/* 8013245C 0012F3BC 3C A0 80 3E */ lis r5, lbl_803E10D8@ha -/* 80132460 0012F3C0 54 80 10 3A */ slwi r0, r4, 2 -/* 80132464 0012F3C4 38 85 10 D8 */ addi r4, r5, lbl_803E10D8@l -/* 80132468 0012F3C8 7C 04 00 2E */ lwzx r0, r4, r0 -/* 8013246C 0012F3CC 7C 09 03 A6 */ mtctr r0 -/* 80132470 0012F3D0 4E 80 04 20 */ bctr -/* 80132474 0012F3D4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132478 0012F3D8 38 60 00 10 */ li r3, 0x10 -/* 8013247C 0012F3DC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132480 0012F3E0 38 A0 00 00 */ li r5, 0 -/* 80132484 0012F3E4 48 1E 33 E9 */ bl __nw__FUlPCcPCc -/* 80132488 0012F3E8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013248C 0012F3EC 41 82 00 0C */ beq lbl_80132498 -/* 80132490 0012F3F0 48 00 39 C9 */ bl __ct__7CBSFallFv -/* 80132494 0012F3F4 7C 60 1B 78 */ mr r0, r3 -lbl_80132498: -/* 80132498 0012F3F8 7C 03 03 78 */ mr r3, r0 -/* 8013249C 0012F3FC 48 00 03 20 */ b lbl_801327BC -/* 801324A0 0012F400 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801324A4 0012F404 38 60 00 08 */ li r3, 8 -/* 801324A8 0012F408 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801324AC 0012F40C 38 A0 00 00 */ li r5, 0 -/* 801324B0 0012F410 48 1E 33 BD */ bl __nw__FUlPCcPCc -/* 801324B4 0012F414 7C 60 1B 79 */ or. r0, r3, r3 -/* 801324B8 0012F418 41 82 00 0C */ beq lbl_801324C4 -/* 801324BC 0012F41C 48 00 3D 1D */ bl __ct__8CBSGetupFv -/* 801324C0 0012F420 7C 60 1B 78 */ mr r0, r3 -lbl_801324C4: -/* 801324C4 0012F424 7C 03 03 78 */ mr r3, r0 -/* 801324C8 0012F428 48 00 02 F4 */ b lbl_801327BC -/* 801324CC 0012F42C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801324D0 0012F430 38 60 00 08 */ li r3, 8 -/* 801324D4 0012F434 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801324D8 0012F438 38 A0 00 00 */ li r5, 0 -/* 801324DC 0012F43C 48 1E 33 91 */ bl __nw__FUlPCcPCc -/* 801324E0 0012F440 7C 60 1B 79 */ or. r0, r3, r3 -/* 801324E4 0012F444 41 82 00 10 */ beq lbl_801324F4 -/* 801324E8 0012F448 7F E4 FB 78 */ mr r4, r31 -/* 801324EC 0012F44C 48 00 45 F1 */ bl __ct__14CBSLieOnGroundFRC6CActor -/* 801324F0 0012F450 7C 60 1B 78 */ mr r0, r3 -lbl_801324F4: -/* 801324F4 0012F454 7C 03 03 78 */ mr r3, r0 -/* 801324F8 0012F458 48 00 02 C4 */ b lbl_801327BC -/* 801324FC 0012F45C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132500 0012F460 38 60 00 04 */ li r3, 4 -/* 80132504 0012F464 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132508 0012F468 38 A0 00 00 */ li r5, 0 -/* 8013250C 0012F46C 48 1E 33 61 */ bl __nw__FUlPCcPCc -/* 80132510 0012F470 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132514 0012F474 41 82 00 0C */ beq lbl_80132520 -/* 80132518 0012F478 48 00 6C 91 */ bl __ct__7CBSStepFv -/* 8013251C 0012F47C 7C 60 1B 78 */ mr r0, r3 -lbl_80132520: -/* 80132520 0012F480 7C 03 03 78 */ mr r3, r0 -/* 80132524 0012F484 48 00 02 98 */ b lbl_801327BC -/* 80132528 0012F488 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013252C 0012F48C 38 60 00 0C */ li r3, 0xc -/* 80132530 0012F490 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132534 0012F494 38 A0 00 00 */ li r5, 0 -/* 80132538 0012F498 48 1E 33 35 */ bl __nw__FUlPCcPCc -/* 8013253C 0012F49C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132540 0012F4A0 41 82 00 0C */ beq lbl_8013254C -/* 80132544 0012F4A4 48 00 33 C9 */ bl __ct__6CBSDieFv -/* 80132548 0012F4A8 7C 60 1B 78 */ mr r0, r3 -lbl_8013254C: -/* 8013254C 0012F4AC 7C 03 03 78 */ mr r3, r0 -/* 80132550 0012F4B0 48 00 02 6C */ b lbl_801327BC -/* 80132554 0012F4B4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132558 0012F4B8 38 60 00 48 */ li r3, 0x48 -/* 8013255C 0012F4BC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132560 0012F4C0 38 A0 00 00 */ li r5, 0 -/* 80132564 0012F4C4 48 1E 33 09 */ bl __nw__FUlPCcPCc -/* 80132568 0012F4C8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013256C 0012F4CC 41 82 00 10 */ beq lbl_8013257C -/* 80132570 0012F4D0 7F E4 FB 78 */ mr r4, r31 -/* 80132574 0012F4D4 48 00 47 95 */ bl __ct__28CBSRestrictedFlyerLocomotionFR6CActor -/* 80132578 0012F4D8 7C 60 1B 78 */ mr r0, r3 -lbl_8013257C: -/* 8013257C 0012F4DC 7C 03 03 78 */ mr r3, r0 -/* 80132580 0012F4E0 48 00 02 3C */ b lbl_801327BC -/* 80132584 0012F4E4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132588 0012F4E8 38 60 00 10 */ li r3, 0x10 -/* 8013258C 0012F4EC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132590 0012F4F0 38 A0 00 00 */ li r5, 0 -/* 80132594 0012F4F4 48 1E 32 D9 */ bl __nw__FUlPCcPCc -/* 80132598 0012F4F8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013259C 0012F4FC 41 82 00 0C */ beq lbl_801325A8 -/* 801325A0 0012F500 48 00 42 01 */ bl __ct__12CBSKnockBackFv -/* 801325A4 0012F504 7C 60 1B 78 */ mr r0, r3 -lbl_801325A8: -/* 801325A8 0012F508 7C 03 03 78 */ mr r3, r0 -/* 801325AC 0012F50C 48 00 02 10 */ b lbl_801327BC -/* 801325B0 0012F510 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801325B4 0012F514 38 60 00 38 */ li r3, 0x38 -/* 801325B8 0012F518 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801325BC 0012F51C 38 A0 00 00 */ li r5, 0 -/* 801325C0 0012F520 48 1E 32 AD */ bl __nw__FUlPCcPCc -/* 801325C4 0012F524 7C 60 1B 79 */ or. r0, r3, r3 -/* 801325C8 0012F528 41 82 00 0C */ beq lbl_801325D4 -/* 801325CC 0012F52C 48 00 2F CD */ bl __ct__9CBSAttackFv -/* 801325D0 0012F530 7C 60 1B 78 */ mr r0, r3 -lbl_801325D4: -/* 801325D4 0012F534 7C 03 03 78 */ mr r3, r0 -/* 801325D8 0012F538 48 00 01 E4 */ b lbl_801327BC -/* 801325DC 0012F53C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801325E0 0012F540 38 60 00 04 */ li r3, 4 -/* 801325E4 0012F544 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801325E8 0012F548 38 A0 00 00 */ li r5, 0 -/* 801325EC 0012F54C 48 1E 32 81 */ bl __nw__FUlPCcPCc -/* 801325F0 0012F550 7C 60 1B 79 */ or. r0, r3, r3 -/* 801325F4 0012F554 41 82 00 0C */ beq lbl_80132600 -/* 801325F8 0012F558 48 01 B3 35 */ bl __ct__19CBSProjectileAttackFv -/* 801325FC 0012F55C 7C 60 1B 78 */ mr r0, r3 -lbl_80132600: -/* 80132600 0012F560 7C 03 03 78 */ mr r3, r0 -/* 80132604 0012F564 48 00 01 B8 */ b lbl_801327BC -/* 80132608 0012F568 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013260C 0012F56C 38 60 00 10 */ li r3, 0x10 -/* 80132610 0012F570 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132614 0012F574 38 A0 00 00 */ li r5, 0 -/* 80132618 0012F578 48 1E 32 55 */ bl __nw__FUlPCcPCc -/* 8013261C 0012F57C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132620 0012F580 41 82 00 0C */ beq lbl_8013262C -/* 80132624 0012F584 48 00 92 15 */ bl __ct__13CBSLoopAttackFv -/* 80132628 0012F588 7C 60 1B 78 */ mr r0, r3 -lbl_8013262C: -/* 8013262C 0012F58C 7C 03 03 78 */ mr r3, r0 -/* 80132630 0012F590 48 00 01 8C */ b lbl_801327BC -/* 80132634 0012F594 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132638 0012F598 38 60 00 14 */ li r3, 0x14 -/* 8013263C 0012F59C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132640 0012F5A0 38 A0 00 00 */ li r5, 0 -/* 80132644 0012F5A4 48 1E 32 29 */ bl __nw__FUlPCcPCc -/* 80132648 0012F5A8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013264C 0012F5AC 41 82 00 0C */ beq lbl_80132658 -/* 80132650 0012F5B0 48 00 76 91 */ bl __ct__7CBSTurnFv -/* 80132654 0012F5B4 7C 60 1B 78 */ mr r0, r3 -lbl_80132658: -/* 80132658 0012F5B8 7C 03 03 78 */ mr r3, r0 -/* 8013265C 0012F5BC 48 00 01 60 */ b lbl_801327BC -/* 80132660 0012F5C0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132664 0012F5C4 38 60 00 10 */ li r3, 0x10 -/* 80132668 0012F5C8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013266C 0012F5CC 38 A0 00 00 */ li r5, 0 -/* 80132670 0012F5D0 48 1E 31 FD */ bl __nw__FUlPCcPCc -/* 80132674 0012F5D4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132678 0012F5D8 41 82 00 0C */ beq lbl_80132684 -/* 8013267C 0012F5DC 48 00 A3 A5 */ bl __ct__15CBSLoopReactionFv -/* 80132680 0012F5E0 7C 60 1B 78 */ mr r0, r3 -lbl_80132684: -/* 80132684 0012F5E4 7C 03 03 78 */ mr r3, r0 -/* 80132688 0012F5E8 48 00 01 34 */ b lbl_801327BC -/* 8013268C 0012F5EC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132690 0012F5F0 38 60 00 10 */ li r3, 0x10 -/* 80132694 0012F5F4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132698 0012F5F8 38 A0 00 00 */ li r5, 0 -/* 8013269C 0012F5FC 48 1E 31 D1 */ bl __nw__FUlPCcPCc -/* 801326A0 0012F600 7C 60 1B 79 */ or. r0, r3, r3 -/* 801326A4 0012F604 41 82 00 0C */ beq lbl_801326B0 -/* 801326A8 0012F608 48 00 CC 19 */ bl __ct__12CBSGroundHitFv -/* 801326AC 0012F60C 7C 60 1B 78 */ mr r0, r3 -lbl_801326B0: -/* 801326B0 0012F610 7C 03 03 78 */ mr r3, r0 -/* 801326B4 0012F614 48 00 01 08 */ b lbl_801327BC -/* 801326B8 0012F618 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801326BC 0012F61C 38 60 00 04 */ li r3, 4 -/* 801326C0 0012F620 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801326C4 0012F624 38 A0 00 00 */ li r5, 0 -/* 801326C8 0012F628 48 1E 31 A5 */ bl __nw__FUlPCcPCc -/* 801326CC 0012F62C 7C 60 1B 79 */ or. r0, r3, r3 -/* 801326D0 0012F630 41 82 00 0C */ beq lbl_801326DC -/* 801326D4 0012F634 48 01 43 BD */ bl __ct__11CBSGenerateFv -/* 801326D8 0012F638 7C 60 1B 78 */ mr r0, r3 -lbl_801326DC: -/* 801326DC 0012F63C 7C 03 03 78 */ mr r3, r0 -/* 801326E0 0012F640 48 00 00 DC */ b lbl_801327BC -/* 801326E4 0012F644 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801326E8 0012F648 38 60 00 34 */ li r3, 0x34 -/* 801326EC 0012F64C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801326F0 0012F650 38 A0 00 00 */ li r5, 0 -/* 801326F4 0012F654 48 1E 31 79 */ bl __nw__FUlPCcPCc -/* 801326F8 0012F658 7C 60 1B 79 */ or. r0, r3, r3 -/* 801326FC 0012F65C 41 82 00 0C */ beq lbl_80132708 -/* 80132700 0012F660 48 01 3F 01 */ bl __ct__7CBSJumpFv -/* 80132704 0012F664 7C 60 1B 78 */ mr r0, r3 -lbl_80132708: -/* 80132708 0012F668 7C 03 03 78 */ mr r3, r0 -/* 8013270C 0012F66C 48 00 00 B0 */ b lbl_801327BC -/* 80132710 0012F670 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132714 0012F674 38 60 00 30 */ li r3, 0x30 -/* 80132718 0012F678 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013271C 0012F67C 38 A0 00 00 */ li r5, 0 -/* 80132720 0012F680 48 1E 31 4D */ bl __nw__FUlPCcPCc -/* 80132724 0012F684 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132728 0012F688 41 82 00 0C */ beq lbl_80132734 -/* 8013272C 0012F68C 48 01 2E 75 */ bl __ct__9CBSHurledFv -/* 80132730 0012F690 7C 60 1B 78 */ mr r0, r3 -lbl_80132734: -/* 80132734 0012F694 7C 03 03 78 */ mr r3, r0 -/* 80132738 0012F698 48 00 00 84 */ b lbl_801327BC -/* 8013273C 0012F69C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132740 0012F6A0 38 60 00 08 */ li r3, 8 -/* 80132744 0012F6A4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132748 0012F6A8 38 A0 00 00 */ li r5, 0 -/* 8013274C 0012F6AC 48 1E 31 21 */ bl __nw__FUlPCcPCc -/* 80132750 0012F6B0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132754 0012F6B4 41 82 00 0C */ beq lbl_80132760 -/* 80132758 0012F6B8 48 01 1C 91 */ bl __ct__8CBSSlideFv -/* 8013275C 0012F6BC 7C 60 1B 78 */ mr r0, r3 -lbl_80132760: -/* 80132760 0012F6C0 7C 03 03 78 */ mr r3, r0 -/* 80132764 0012F6C4 48 00 00 58 */ b lbl_801327BC -/* 80132768 0012F6C8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013276C 0012F6CC 38 60 00 04 */ li r3, 4 -/* 80132770 0012F6D0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132774 0012F6D4 38 A0 00 00 */ li r5, 0 -/* 80132778 0012F6D8 48 1E 30 F5 */ bl __nw__FUlPCcPCc -/* 8013277C 0012F6DC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132780 0012F6E0 41 82 00 0C */ beq lbl_8013278C -/* 80132784 0012F6E4 48 01 6E 35 */ bl __ct__8CBSTauntFv -/* 80132788 0012F6E8 7C 60 1B 78 */ mr r0, r3 -lbl_8013278C: -/* 8013278C 0012F6EC 7C 03 03 78 */ mr r3, r0 -/* 80132790 0012F6F0 48 00 00 2C */ b lbl_801327BC -/* 80132794 0012F6F4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132798 0012F6F8 38 60 00 0C */ li r3, 0xc -/* 8013279C 0012F6FC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801327A0 0012F700 38 A0 00 00 */ li r5, 0 -/* 801327A4 0012F704 48 1E 30 C9 */ bl __nw__FUlPCcPCc -/* 801327A8 0012F708 7C 60 1B 79 */ or. r0, r3, r3 -/* 801327AC 0012F70C 41 82 00 0C */ beq lbl_801327B8 -/* 801327B0 0012F710 48 01 8C 31 */ bl __ct__11CBSScriptedFv -/* 801327B4 0012F714 7C 60 1B 78 */ mr r0, r3 -lbl_801327B8: -/* 801327B8 0012F718 7C 03 03 78 */ mr r3, r0 -lbl_801327BC: -/* 801327BC 0012F71C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801327C0 0012F720 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801327C4 0012F724 7C 08 03 A6 */ mtlr r0 -/* 801327C8 0012F728 38 21 00 10 */ addi r1, r1, 0x10 -/* 801327CC 0012F72C 4E 80 00 20 */ blr - -.global SetupNewFlyerBodyStates__14CBodyStateInfoFiR6CActor -SetupNewFlyerBodyStates__14CBodyStateInfoFiR6CActor: -/* 801327D0 0012F730 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801327D4 0012F734 7C 08 02 A6 */ mflr r0 -/* 801327D8 0012F738 28 04 00 12 */ cmplwi r4, 0x12 -/* 801327DC 0012F73C 38 60 00 00 */ li r3, 0 -/* 801327E0 0012F740 90 01 00 14 */ stw r0, 0x14(r1) -/* 801327E4 0012F744 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801327E8 0012F748 7C BF 2B 78 */ mr r31, r5 -/* 801327EC 0012F74C 41 81 03 64 */ bgt lbl_80132B50 -/* 801327F0 0012F750 3C A0 80 3E */ lis r5, lbl_803E1124@ha -/* 801327F4 0012F754 54 80 10 3A */ slwi r0, r4, 2 -/* 801327F8 0012F758 38 85 11 24 */ addi r4, r5, lbl_803E1124@l -/* 801327FC 0012F75C 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80132800 0012F760 7C 09 03 A6 */ mtctr r0 -/* 80132804 0012F764 4E 80 04 20 */ bctr -/* 80132808 0012F768 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013280C 0012F76C 38 60 00 10 */ li r3, 0x10 -/* 80132810 0012F770 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132814 0012F774 38 A0 00 00 */ li r5, 0 -/* 80132818 0012F778 48 1E 30 55 */ bl __nw__FUlPCcPCc -/* 8013281C 0012F77C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132820 0012F780 41 82 00 0C */ beq lbl_8013282C -/* 80132824 0012F784 48 00 36 35 */ bl __ct__7CBSFallFv -/* 80132828 0012F788 7C 60 1B 78 */ mr r0, r3 -lbl_8013282C: -/* 8013282C 0012F78C 7C 03 03 78 */ mr r3, r0 -/* 80132830 0012F790 48 00 03 20 */ b lbl_80132B50 -/* 80132834 0012F794 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132838 0012F798 38 60 00 08 */ li r3, 8 -/* 8013283C 0012F79C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132840 0012F7A0 38 A0 00 00 */ li r5, 0 -/* 80132844 0012F7A4 48 1E 30 29 */ bl __nw__FUlPCcPCc -/* 80132848 0012F7A8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013284C 0012F7AC 41 82 00 0C */ beq lbl_80132858 -/* 80132850 0012F7B0 48 00 39 89 */ bl __ct__8CBSGetupFv -/* 80132854 0012F7B4 7C 60 1B 78 */ mr r0, r3 -lbl_80132858: -/* 80132858 0012F7B8 7C 03 03 78 */ mr r3, r0 -/* 8013285C 0012F7BC 48 00 02 F4 */ b lbl_80132B50 -/* 80132860 0012F7C0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132864 0012F7C4 38 60 00 08 */ li r3, 8 -/* 80132868 0012F7C8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013286C 0012F7CC 38 A0 00 00 */ li r5, 0 -/* 80132870 0012F7D0 48 1E 2F FD */ bl __nw__FUlPCcPCc -/* 80132874 0012F7D4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132878 0012F7D8 41 82 00 10 */ beq lbl_80132888 -/* 8013287C 0012F7DC 7F E4 FB 78 */ mr r4, r31 -/* 80132880 0012F7E0 48 00 42 5D */ bl __ct__14CBSLieOnGroundFRC6CActor -/* 80132884 0012F7E4 7C 60 1B 78 */ mr r0, r3 -lbl_80132888: -/* 80132888 0012F7E8 7C 03 03 78 */ mr r3, r0 -/* 8013288C 0012F7EC 48 00 02 C4 */ b lbl_80132B50 -/* 80132890 0012F7F0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132894 0012F7F4 38 60 00 04 */ li r3, 4 -/* 80132898 0012F7F8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013289C 0012F7FC 38 A0 00 00 */ li r5, 0 -/* 801328A0 0012F800 48 1E 2F CD */ bl __nw__FUlPCcPCc -/* 801328A4 0012F804 7C 60 1B 79 */ or. r0, r3, r3 -/* 801328A8 0012F808 41 82 00 0C */ beq lbl_801328B4 -/* 801328AC 0012F80C 48 00 68 FD */ bl __ct__7CBSStepFv -/* 801328B0 0012F810 7C 60 1B 78 */ mr r0, r3 -lbl_801328B4: -/* 801328B4 0012F814 7C 03 03 78 */ mr r3, r0 -/* 801328B8 0012F818 48 00 02 98 */ b lbl_80132B50 -/* 801328BC 0012F81C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801328C0 0012F820 38 60 00 0C */ li r3, 0xc -/* 801328C4 0012F824 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801328C8 0012F828 38 A0 00 00 */ li r5, 0 -/* 801328CC 0012F82C 48 1E 2F A1 */ bl __nw__FUlPCcPCc -/* 801328D0 0012F830 7C 60 1B 79 */ or. r0, r3, r3 -/* 801328D4 0012F834 41 82 00 0C */ beq lbl_801328E0 -/* 801328D8 0012F838 48 00 30 35 */ bl __ct__6CBSDieFv -/* 801328DC 0012F83C 7C 60 1B 78 */ mr r0, r3 -lbl_801328E0: -/* 801328E0 0012F840 7C 03 03 78 */ mr r3, r0 -/* 801328E4 0012F844 48 00 02 6C */ b lbl_80132B50 -/* 801328E8 0012F848 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801328EC 0012F84C 38 60 03 CC */ li r3, 0x3cc -/* 801328F0 0012F850 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801328F4 0012F854 38 A0 00 00 */ li r5, 0 -/* 801328F8 0012F858 48 1E 2F 75 */ bl __nw__FUlPCcPCc -/* 801328FC 0012F85C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132900 0012F860 41 82 00 10 */ beq lbl_80132910 -/* 80132904 0012F864 7F E4 FB 78 */ mr r4, r31 -/* 80132908 0012F868 48 00 47 39 */ bl __ct__21CBSNewFlyerLocomotionFR6CActor -/* 8013290C 0012F86C 7C 60 1B 78 */ mr r0, r3 -lbl_80132910: -/* 80132910 0012F870 7C 03 03 78 */ mr r3, r0 -/* 80132914 0012F874 48 00 02 3C */ b lbl_80132B50 -/* 80132918 0012F878 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013291C 0012F87C 38 60 00 10 */ li r3, 0x10 -/* 80132920 0012F880 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132924 0012F884 38 A0 00 00 */ li r5, 0 -/* 80132928 0012F888 48 1E 2F 45 */ bl __nw__FUlPCcPCc -/* 8013292C 0012F88C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132930 0012F890 41 82 00 0C */ beq lbl_8013293C -/* 80132934 0012F894 48 00 3E 6D */ bl __ct__12CBSKnockBackFv -/* 80132938 0012F898 7C 60 1B 78 */ mr r0, r3 -lbl_8013293C: -/* 8013293C 0012F89C 7C 03 03 78 */ mr r3, r0 -/* 80132940 0012F8A0 48 00 02 10 */ b lbl_80132B50 -/* 80132944 0012F8A4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132948 0012F8A8 38 60 00 38 */ li r3, 0x38 -/* 8013294C 0012F8AC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132950 0012F8B0 38 A0 00 00 */ li r5, 0 -/* 80132954 0012F8B4 48 1E 2F 19 */ bl __nw__FUlPCcPCc -/* 80132958 0012F8B8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013295C 0012F8BC 41 82 00 0C */ beq lbl_80132968 -/* 80132960 0012F8C0 48 00 2C 39 */ bl __ct__9CBSAttackFv -/* 80132964 0012F8C4 7C 60 1B 78 */ mr r0, r3 -lbl_80132968: -/* 80132968 0012F8C8 7C 03 03 78 */ mr r3, r0 -/* 8013296C 0012F8CC 48 00 01 E4 */ b lbl_80132B50 -/* 80132970 0012F8D0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132974 0012F8D4 38 60 00 04 */ li r3, 4 -/* 80132978 0012F8D8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013297C 0012F8DC 38 A0 00 00 */ li r5, 0 -/* 80132980 0012F8E0 48 1E 2E ED */ bl __nw__FUlPCcPCc -/* 80132984 0012F8E4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132988 0012F8E8 41 82 00 0C */ beq lbl_80132994 -/* 8013298C 0012F8EC 48 01 AF A1 */ bl __ct__19CBSProjectileAttackFv -/* 80132990 0012F8F0 7C 60 1B 78 */ mr r0, r3 -lbl_80132994: -/* 80132994 0012F8F4 7C 03 03 78 */ mr r3, r0 -/* 80132998 0012F8F8 48 00 01 B8 */ b lbl_80132B50 -/* 8013299C 0012F8FC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801329A0 0012F900 38 60 00 10 */ li r3, 0x10 -/* 801329A4 0012F904 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801329A8 0012F908 38 A0 00 00 */ li r5, 0 -/* 801329AC 0012F90C 48 1E 2E C1 */ bl __nw__FUlPCcPCc -/* 801329B0 0012F910 7C 60 1B 79 */ or. r0, r3, r3 -/* 801329B4 0012F914 41 82 00 0C */ beq lbl_801329C0 -/* 801329B8 0012F918 48 00 8E 81 */ bl __ct__13CBSLoopAttackFv -/* 801329BC 0012F91C 7C 60 1B 78 */ mr r0, r3 -lbl_801329C0: -/* 801329C0 0012F920 7C 03 03 78 */ mr r3, r0 -/* 801329C4 0012F924 48 00 01 8C */ b lbl_80132B50 -/* 801329C8 0012F928 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801329CC 0012F92C 38 60 00 14 */ li r3, 0x14 -/* 801329D0 0012F930 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801329D4 0012F934 38 A0 00 00 */ li r5, 0 -/* 801329D8 0012F938 48 1E 2E 95 */ bl __nw__FUlPCcPCc -/* 801329DC 0012F93C 7C 60 1B 79 */ or. r0, r3, r3 -/* 801329E0 0012F940 41 82 00 0C */ beq lbl_801329EC -/* 801329E4 0012F944 48 00 72 FD */ bl __ct__7CBSTurnFv -/* 801329E8 0012F948 7C 60 1B 78 */ mr r0, r3 -lbl_801329EC: -/* 801329EC 0012F94C 7C 03 03 78 */ mr r3, r0 -/* 801329F0 0012F950 48 00 01 60 */ b lbl_80132B50 -/* 801329F4 0012F954 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801329F8 0012F958 38 60 00 10 */ li r3, 0x10 -/* 801329FC 0012F95C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132A00 0012F960 38 A0 00 00 */ li r5, 0 -/* 80132A04 0012F964 48 1E 2E 69 */ bl __nw__FUlPCcPCc -/* 80132A08 0012F968 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132A0C 0012F96C 41 82 00 0C */ beq lbl_80132A18 -/* 80132A10 0012F970 48 00 A0 11 */ bl __ct__15CBSLoopReactionFv -/* 80132A14 0012F974 7C 60 1B 78 */ mr r0, r3 -lbl_80132A18: -/* 80132A18 0012F978 7C 03 03 78 */ mr r3, r0 -/* 80132A1C 0012F97C 48 00 01 34 */ b lbl_80132B50 -/* 80132A20 0012F980 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132A24 0012F984 38 60 00 10 */ li r3, 0x10 -/* 80132A28 0012F988 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132A2C 0012F98C 38 A0 00 00 */ li r5, 0 -/* 80132A30 0012F990 48 1E 2E 3D */ bl __nw__FUlPCcPCc -/* 80132A34 0012F994 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132A38 0012F998 41 82 00 0C */ beq lbl_80132A44 -/* 80132A3C 0012F99C 48 00 C8 85 */ bl __ct__12CBSGroundHitFv -/* 80132A40 0012F9A0 7C 60 1B 78 */ mr r0, r3 -lbl_80132A44: -/* 80132A44 0012F9A4 7C 03 03 78 */ mr r3, r0 -/* 80132A48 0012F9A8 48 00 01 08 */ b lbl_80132B50 -/* 80132A4C 0012F9AC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132A50 0012F9B0 38 60 00 04 */ li r3, 4 -/* 80132A54 0012F9B4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132A58 0012F9B8 38 A0 00 00 */ li r5, 0 -/* 80132A5C 0012F9BC 48 1E 2E 11 */ bl __nw__FUlPCcPCc -/* 80132A60 0012F9C0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132A64 0012F9C4 41 82 00 0C */ beq lbl_80132A70 -/* 80132A68 0012F9C8 48 01 40 29 */ bl __ct__11CBSGenerateFv -/* 80132A6C 0012F9CC 7C 60 1B 78 */ mr r0, r3 -lbl_80132A70: -/* 80132A70 0012F9D0 7C 03 03 78 */ mr r3, r0 -/* 80132A74 0012F9D4 48 00 00 DC */ b lbl_80132B50 -/* 80132A78 0012F9D8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132A7C 0012F9DC 38 60 00 34 */ li r3, 0x34 -/* 80132A80 0012F9E0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132A84 0012F9E4 38 A0 00 00 */ li r5, 0 -/* 80132A88 0012F9E8 48 1E 2D E5 */ bl __nw__FUlPCcPCc -/* 80132A8C 0012F9EC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132A90 0012F9F0 41 82 00 0C */ beq lbl_80132A9C -/* 80132A94 0012F9F4 48 01 3B 6D */ bl __ct__7CBSJumpFv -/* 80132A98 0012F9F8 7C 60 1B 78 */ mr r0, r3 -lbl_80132A9C: -/* 80132A9C 0012F9FC 7C 03 03 78 */ mr r3, r0 -/* 80132AA0 0012FA00 48 00 00 B0 */ b lbl_80132B50 -/* 80132AA4 0012FA04 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132AA8 0012FA08 38 60 00 30 */ li r3, 0x30 -/* 80132AAC 0012FA0C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132AB0 0012FA10 38 A0 00 00 */ li r5, 0 -/* 80132AB4 0012FA14 48 1E 2D B9 */ bl __nw__FUlPCcPCc -/* 80132AB8 0012FA18 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132ABC 0012FA1C 41 82 00 0C */ beq lbl_80132AC8 -/* 80132AC0 0012FA20 48 01 2A E1 */ bl __ct__9CBSHurledFv -/* 80132AC4 0012FA24 7C 60 1B 78 */ mr r0, r3 -lbl_80132AC8: -/* 80132AC8 0012FA28 7C 03 03 78 */ mr r3, r0 -/* 80132ACC 0012FA2C 48 00 00 84 */ b lbl_80132B50 -/* 80132AD0 0012FA30 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132AD4 0012FA34 38 60 00 08 */ li r3, 8 -/* 80132AD8 0012FA38 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132ADC 0012FA3C 38 A0 00 00 */ li r5, 0 -/* 80132AE0 0012FA40 48 1E 2D 8D */ bl __nw__FUlPCcPCc -/* 80132AE4 0012FA44 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132AE8 0012FA48 41 82 00 0C */ beq lbl_80132AF4 -/* 80132AEC 0012FA4C 48 01 18 FD */ bl __ct__8CBSSlideFv -/* 80132AF0 0012FA50 7C 60 1B 78 */ mr r0, r3 -lbl_80132AF4: -/* 80132AF4 0012FA54 7C 03 03 78 */ mr r3, r0 -/* 80132AF8 0012FA58 48 00 00 58 */ b lbl_80132B50 -/* 80132AFC 0012FA5C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132B00 0012FA60 38 60 00 04 */ li r3, 4 -/* 80132B04 0012FA64 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132B08 0012FA68 38 A0 00 00 */ li r5, 0 -/* 80132B0C 0012FA6C 48 1E 2D 61 */ bl __nw__FUlPCcPCc -/* 80132B10 0012FA70 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132B14 0012FA74 41 82 00 0C */ beq lbl_80132B20 -/* 80132B18 0012FA78 48 01 6A A1 */ bl __ct__8CBSTauntFv -/* 80132B1C 0012FA7C 7C 60 1B 78 */ mr r0, r3 -lbl_80132B20: -/* 80132B20 0012FA80 7C 03 03 78 */ mr r3, r0 -/* 80132B24 0012FA84 48 00 00 2C */ b lbl_80132B50 -/* 80132B28 0012FA88 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132B2C 0012FA8C 38 60 00 0C */ li r3, 0xc -/* 80132B30 0012FA90 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132B34 0012FA94 38 A0 00 00 */ li r5, 0 -/* 80132B38 0012FA98 48 1E 2D 35 */ bl __nw__FUlPCcPCc -/* 80132B3C 0012FA9C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132B40 0012FAA0 41 82 00 0C */ beq lbl_80132B4C -/* 80132B44 0012FAA4 48 01 88 9D */ bl __ct__11CBSScriptedFv -/* 80132B48 0012FAA8 7C 60 1B 78 */ mr r0, r3 -lbl_80132B4C: -/* 80132B4C 0012FAAC 7C 03 03 78 */ mr r3, r0 -lbl_80132B50: -/* 80132B50 0012FAB0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80132B54 0012FAB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80132B58 0012FAB8 7C 08 03 A6 */ mtlr r0 -/* 80132B5C 0012FABC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80132B60 0012FAC0 4E 80 00 20 */ blr - -.global SetupWallWalkerBodyStates__14CBodyStateInfoFiR6CActor -SetupWallWalkerBodyStates__14CBodyStateInfoFiR6CActor: -/* 80132B64 0012FAC4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80132B68 0012FAC8 7C 08 02 A6 */ mflr r0 -/* 80132B6C 0012FACC 28 04 00 12 */ cmplwi r4, 0x12 -/* 80132B70 0012FAD0 38 60 00 00 */ li r3, 0 -/* 80132B74 0012FAD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80132B78 0012FAD8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80132B7C 0012FADC 7C BF 2B 78 */ mr r31, r5 -/* 80132B80 0012FAE0 41 81 03 64 */ bgt lbl_80132EE4 -/* 80132B84 0012FAE4 3C A0 80 3E */ lis r5, lbl_803E1170@ha -/* 80132B88 0012FAE8 54 80 10 3A */ slwi r0, r4, 2 -/* 80132B8C 0012FAEC 38 85 11 70 */ addi r4, r5, lbl_803E1170@l -/* 80132B90 0012FAF0 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80132B94 0012FAF4 7C 09 03 A6 */ mtctr r0 -/* 80132B98 0012FAF8 4E 80 04 20 */ bctr -/* 80132B9C 0012FAFC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132BA0 0012FB00 38 60 00 10 */ li r3, 0x10 -/* 80132BA4 0012FB04 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132BA8 0012FB08 38 A0 00 00 */ li r5, 0 -/* 80132BAC 0012FB0C 48 1E 2C C1 */ bl __nw__FUlPCcPCc -/* 80132BB0 0012FB10 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132BB4 0012FB14 41 82 00 0C */ beq lbl_80132BC0 -/* 80132BB8 0012FB18 48 00 32 A1 */ bl __ct__7CBSFallFv -/* 80132BBC 0012FB1C 7C 60 1B 78 */ mr r0, r3 -lbl_80132BC0: -/* 80132BC0 0012FB20 7C 03 03 78 */ mr r3, r0 -/* 80132BC4 0012FB24 48 00 03 20 */ b lbl_80132EE4 -/* 80132BC8 0012FB28 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132BCC 0012FB2C 38 60 00 08 */ li r3, 8 -/* 80132BD0 0012FB30 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132BD4 0012FB34 38 A0 00 00 */ li r5, 0 -/* 80132BD8 0012FB38 48 1E 2C 95 */ bl __nw__FUlPCcPCc -/* 80132BDC 0012FB3C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132BE0 0012FB40 41 82 00 0C */ beq lbl_80132BEC -/* 80132BE4 0012FB44 48 00 35 F5 */ bl __ct__8CBSGetupFv -/* 80132BE8 0012FB48 7C 60 1B 78 */ mr r0, r3 -lbl_80132BEC: -/* 80132BEC 0012FB4C 7C 03 03 78 */ mr r3, r0 -/* 80132BF0 0012FB50 48 00 02 F4 */ b lbl_80132EE4 -/* 80132BF4 0012FB54 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132BF8 0012FB58 38 60 00 08 */ li r3, 8 -/* 80132BFC 0012FB5C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132C00 0012FB60 38 A0 00 00 */ li r5, 0 -/* 80132C04 0012FB64 48 1E 2C 69 */ bl __nw__FUlPCcPCc -/* 80132C08 0012FB68 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132C0C 0012FB6C 41 82 00 10 */ beq lbl_80132C1C -/* 80132C10 0012FB70 7F E4 FB 78 */ mr r4, r31 -/* 80132C14 0012FB74 48 00 3E C9 */ bl __ct__14CBSLieOnGroundFRC6CActor -/* 80132C18 0012FB78 7C 60 1B 78 */ mr r0, r3 -lbl_80132C1C: -/* 80132C1C 0012FB7C 7C 03 03 78 */ mr r3, r0 -/* 80132C20 0012FB80 48 00 02 C4 */ b lbl_80132EE4 -/* 80132C24 0012FB84 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132C28 0012FB88 38 60 00 04 */ li r3, 4 -/* 80132C2C 0012FB8C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132C30 0012FB90 38 A0 00 00 */ li r5, 0 -/* 80132C34 0012FB94 48 1E 2C 39 */ bl __nw__FUlPCcPCc -/* 80132C38 0012FB98 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132C3C 0012FB9C 41 82 00 0C */ beq lbl_80132C48 -/* 80132C40 0012FBA0 48 00 65 69 */ bl __ct__7CBSStepFv -/* 80132C44 0012FBA4 7C 60 1B 78 */ mr r0, r3 -lbl_80132C48: -/* 80132C48 0012FBA8 7C 03 03 78 */ mr r3, r0 -/* 80132C4C 0012FBAC 48 00 02 98 */ b lbl_80132EE4 -/* 80132C50 0012FBB0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132C54 0012FBB4 38 60 00 0C */ li r3, 0xc -/* 80132C58 0012FBB8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132C5C 0012FBBC 38 A0 00 00 */ li r5, 0 -/* 80132C60 0012FBC0 48 1E 2C 0D */ bl __nw__FUlPCcPCc -/* 80132C64 0012FBC4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132C68 0012FBC8 41 82 00 0C */ beq lbl_80132C74 -/* 80132C6C 0012FBCC 48 00 2C A1 */ bl __ct__6CBSDieFv -/* 80132C70 0012FBD0 7C 60 1B 78 */ mr r0, r3 -lbl_80132C74: -/* 80132C74 0012FBD4 7C 03 03 78 */ mr r3, r0 -/* 80132C78 0012FBD8 48 00 02 6C */ b lbl_80132EE4 -/* 80132C7C 0012FBDC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132C80 0012FBE0 38 60 03 CC */ li r3, 0x3cc -/* 80132C84 0012FBE4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132C88 0012FBE8 38 A0 00 00 */ li r5, 0 -/* 80132C8C 0012FBEC 48 1E 2B E1 */ bl __nw__FUlPCcPCc -/* 80132C90 0012FBF0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132C94 0012FBF4 41 82 00 10 */ beq lbl_80132CA4 -/* 80132C98 0012FBF8 7F E4 FB 78 */ mr r4, r31 -/* 80132C9C 0012FBFC 48 00 47 05 */ bl __ct__23CBSWallWalkerLocomotionFR6CActor -/* 80132CA0 0012FC00 7C 60 1B 78 */ mr r0, r3 -lbl_80132CA4: -/* 80132CA4 0012FC04 7C 03 03 78 */ mr r3, r0 -/* 80132CA8 0012FC08 48 00 02 3C */ b lbl_80132EE4 -/* 80132CAC 0012FC0C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132CB0 0012FC10 38 60 00 10 */ li r3, 0x10 -/* 80132CB4 0012FC14 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132CB8 0012FC18 38 A0 00 00 */ li r5, 0 -/* 80132CBC 0012FC1C 48 1E 2B B1 */ bl __nw__FUlPCcPCc -/* 80132CC0 0012FC20 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132CC4 0012FC24 41 82 00 0C */ beq lbl_80132CD0 -/* 80132CC8 0012FC28 48 00 3A D9 */ bl __ct__12CBSKnockBackFv -/* 80132CCC 0012FC2C 7C 60 1B 78 */ mr r0, r3 -lbl_80132CD0: -/* 80132CD0 0012FC30 7C 03 03 78 */ mr r3, r0 -/* 80132CD4 0012FC34 48 00 02 10 */ b lbl_80132EE4 -/* 80132CD8 0012FC38 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132CDC 0012FC3C 38 60 00 38 */ li r3, 0x38 -/* 80132CE0 0012FC40 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132CE4 0012FC44 38 A0 00 00 */ li r5, 0 -/* 80132CE8 0012FC48 48 1E 2B 85 */ bl __nw__FUlPCcPCc -/* 80132CEC 0012FC4C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132CF0 0012FC50 41 82 00 0C */ beq lbl_80132CFC -/* 80132CF4 0012FC54 48 00 28 A5 */ bl __ct__9CBSAttackFv -/* 80132CF8 0012FC58 7C 60 1B 78 */ mr r0, r3 -lbl_80132CFC: -/* 80132CFC 0012FC5C 7C 03 03 78 */ mr r3, r0 -/* 80132D00 0012FC60 48 00 01 E4 */ b lbl_80132EE4 -/* 80132D04 0012FC64 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132D08 0012FC68 38 60 00 04 */ li r3, 4 -/* 80132D0C 0012FC6C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132D10 0012FC70 38 A0 00 00 */ li r5, 0 -/* 80132D14 0012FC74 48 1E 2B 59 */ bl __nw__FUlPCcPCc -/* 80132D18 0012FC78 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132D1C 0012FC7C 41 82 00 0C */ beq lbl_80132D28 -/* 80132D20 0012FC80 48 01 AC 0D */ bl __ct__19CBSProjectileAttackFv -/* 80132D24 0012FC84 7C 60 1B 78 */ mr r0, r3 -lbl_80132D28: -/* 80132D28 0012FC88 7C 03 03 78 */ mr r3, r0 -/* 80132D2C 0012FC8C 48 00 01 B8 */ b lbl_80132EE4 -/* 80132D30 0012FC90 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132D34 0012FC94 38 60 00 10 */ li r3, 0x10 -/* 80132D38 0012FC98 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132D3C 0012FC9C 38 A0 00 00 */ li r5, 0 -/* 80132D40 0012FCA0 48 1E 2B 2D */ bl __nw__FUlPCcPCc -/* 80132D44 0012FCA4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132D48 0012FCA8 41 82 00 0C */ beq lbl_80132D54 -/* 80132D4C 0012FCAC 48 00 8A ED */ bl __ct__13CBSLoopAttackFv -/* 80132D50 0012FCB0 7C 60 1B 78 */ mr r0, r3 -lbl_80132D54: -/* 80132D54 0012FCB4 7C 03 03 78 */ mr r3, r0 -/* 80132D58 0012FCB8 48 00 01 8C */ b lbl_80132EE4 -/* 80132D5C 0012FCBC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132D60 0012FCC0 38 60 00 14 */ li r3, 0x14 -/* 80132D64 0012FCC4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132D68 0012FCC8 38 A0 00 00 */ li r5, 0 -/* 80132D6C 0012FCCC 48 1E 2B 01 */ bl __nw__FUlPCcPCc -/* 80132D70 0012FCD0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132D74 0012FCD4 41 82 00 0C */ beq lbl_80132D80 -/* 80132D78 0012FCD8 48 00 68 AD */ bl __ct__12CBSFlyerTurnFv -/* 80132D7C 0012FCDC 7C 60 1B 78 */ mr r0, r3 -lbl_80132D80: -/* 80132D80 0012FCE0 7C 03 03 78 */ mr r3, r0 -/* 80132D84 0012FCE4 48 00 01 60 */ b lbl_80132EE4 -/* 80132D88 0012FCE8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132D8C 0012FCEC 38 60 00 10 */ li r3, 0x10 -/* 80132D90 0012FCF0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132D94 0012FCF4 38 A0 00 00 */ li r5, 0 -/* 80132D98 0012FCF8 48 1E 2A D5 */ bl __nw__FUlPCcPCc -/* 80132D9C 0012FCFC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132DA0 0012FD00 41 82 00 0C */ beq lbl_80132DAC -/* 80132DA4 0012FD04 48 00 9C 7D */ bl __ct__15CBSLoopReactionFv -/* 80132DA8 0012FD08 7C 60 1B 78 */ mr r0, r3 -lbl_80132DAC: -/* 80132DAC 0012FD0C 7C 03 03 78 */ mr r3, r0 -/* 80132DB0 0012FD10 48 00 01 34 */ b lbl_80132EE4 -/* 80132DB4 0012FD14 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132DB8 0012FD18 38 60 00 10 */ li r3, 0x10 -/* 80132DBC 0012FD1C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132DC0 0012FD20 38 A0 00 00 */ li r5, 0 -/* 80132DC4 0012FD24 48 1E 2A A9 */ bl __nw__FUlPCcPCc -/* 80132DC8 0012FD28 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132DCC 0012FD2C 41 82 00 0C */ beq lbl_80132DD8 -/* 80132DD0 0012FD30 48 00 C4 F1 */ bl __ct__12CBSGroundHitFv -/* 80132DD4 0012FD34 7C 60 1B 78 */ mr r0, r3 -lbl_80132DD8: -/* 80132DD8 0012FD38 7C 03 03 78 */ mr r3, r0 -/* 80132DDC 0012FD3C 48 00 01 08 */ b lbl_80132EE4 -/* 80132DE0 0012FD40 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132DE4 0012FD44 38 60 00 04 */ li r3, 4 -/* 80132DE8 0012FD48 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132DEC 0012FD4C 38 A0 00 00 */ li r5, 0 -/* 80132DF0 0012FD50 48 1E 2A 7D */ bl __nw__FUlPCcPCc -/* 80132DF4 0012FD54 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132DF8 0012FD58 41 82 00 0C */ beq lbl_80132E04 -/* 80132DFC 0012FD5C 48 01 3C 95 */ bl __ct__11CBSGenerateFv -/* 80132E00 0012FD60 7C 60 1B 78 */ mr r0, r3 -lbl_80132E04: -/* 80132E04 0012FD64 7C 03 03 78 */ mr r3, r0 -/* 80132E08 0012FD68 48 00 00 DC */ b lbl_80132EE4 -/* 80132E0C 0012FD6C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132E10 0012FD70 38 60 00 34 */ li r3, 0x34 -/* 80132E14 0012FD74 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132E18 0012FD78 38 A0 00 00 */ li r5, 0 -/* 80132E1C 0012FD7C 48 1E 2A 51 */ bl __nw__FUlPCcPCc -/* 80132E20 0012FD80 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132E24 0012FD84 41 82 00 0C */ beq lbl_80132E30 -/* 80132E28 0012FD88 48 01 37 D9 */ bl __ct__7CBSJumpFv -/* 80132E2C 0012FD8C 7C 60 1B 78 */ mr r0, r3 -lbl_80132E30: -/* 80132E30 0012FD90 7C 03 03 78 */ mr r3, r0 -/* 80132E34 0012FD94 48 00 00 B0 */ b lbl_80132EE4 -/* 80132E38 0012FD98 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132E3C 0012FD9C 38 60 00 30 */ li r3, 0x30 -/* 80132E40 0012FDA0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132E44 0012FDA4 38 A0 00 00 */ li r5, 0 -/* 80132E48 0012FDA8 48 1E 2A 25 */ bl __nw__FUlPCcPCc -/* 80132E4C 0012FDAC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132E50 0012FDB0 41 82 00 0C */ beq lbl_80132E5C -/* 80132E54 0012FDB4 48 01 27 4D */ bl __ct__9CBSHurledFv -/* 80132E58 0012FDB8 7C 60 1B 78 */ mr r0, r3 -lbl_80132E5C: -/* 80132E5C 0012FDBC 7C 03 03 78 */ mr r3, r0 -/* 80132E60 0012FDC0 48 00 00 84 */ b lbl_80132EE4 -/* 80132E64 0012FDC4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132E68 0012FDC8 38 60 00 08 */ li r3, 8 -/* 80132E6C 0012FDCC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132E70 0012FDD0 38 A0 00 00 */ li r5, 0 -/* 80132E74 0012FDD4 48 1E 29 F9 */ bl __nw__FUlPCcPCc -/* 80132E78 0012FDD8 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132E7C 0012FDDC 41 82 00 0C */ beq lbl_80132E88 -/* 80132E80 0012FDE0 48 01 15 69 */ bl __ct__8CBSSlideFv -/* 80132E84 0012FDE4 7C 60 1B 78 */ mr r0, r3 -lbl_80132E88: -/* 80132E88 0012FDE8 7C 03 03 78 */ mr r3, r0 -/* 80132E8C 0012FDEC 48 00 00 58 */ b lbl_80132EE4 -/* 80132E90 0012FDF0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132E94 0012FDF4 38 60 00 04 */ li r3, 4 -/* 80132E98 0012FDF8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132E9C 0012FDFC 38 A0 00 00 */ li r5, 0 -/* 80132EA0 0012FE00 48 1E 29 CD */ bl __nw__FUlPCcPCc -/* 80132EA4 0012FE04 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132EA8 0012FE08 41 82 00 0C */ beq lbl_80132EB4 -/* 80132EAC 0012FE0C 48 01 67 0D */ bl __ct__8CBSTauntFv -/* 80132EB0 0012FE10 7C 60 1B 78 */ mr r0, r3 -lbl_80132EB4: -/* 80132EB4 0012FE14 7C 03 03 78 */ mr r3, r0 -/* 80132EB8 0012FE18 48 00 00 2C */ b lbl_80132EE4 -/* 80132EBC 0012FE1C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132EC0 0012FE20 38 60 00 0C */ li r3, 0xc -/* 80132EC4 0012FE24 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132EC8 0012FE28 38 A0 00 00 */ li r5, 0 -/* 80132ECC 0012FE2C 48 1E 29 A1 */ bl __nw__FUlPCcPCc -/* 80132ED0 0012FE30 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132ED4 0012FE34 41 82 00 0C */ beq lbl_80132EE0 -/* 80132ED8 0012FE38 48 01 85 09 */ bl __ct__11CBSScriptedFv -/* 80132EDC 0012FE3C 7C 60 1B 78 */ mr r0, r3 -lbl_80132EE0: -/* 80132EE0 0012FE40 7C 03 03 78 */ mr r3, r0 -lbl_80132EE4: -/* 80132EE4 0012FE44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80132EE8 0012FE48 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80132EEC 0012FE4C 7C 08 03 A6 */ mtlr r0 -/* 80132EF0 0012FE50 38 21 00 10 */ addi r1, r1, 0x10 -/* 80132EF4 0012FE54 4E 80 00 20 */ blr - -.global SetupPitchableFlyerBodyStates__14CBodyStateInfoFiR6CActor -SetupPitchableFlyerBodyStates__14CBodyStateInfoFiR6CActor: -/* 80132EF8 0012FE58 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80132EFC 0012FE5C 7C 08 02 A6 */ mflr r0 -/* 80132F00 0012FE60 28 04 00 12 */ cmplwi r4, 0x12 -/* 80132F04 0012FE64 38 60 00 00 */ li r3, 0 -/* 80132F08 0012FE68 90 01 00 14 */ stw r0, 0x14(r1) -/* 80132F0C 0012FE6C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80132F10 0012FE70 7C BF 2B 78 */ mr r31, r5 -/* 80132F14 0012FE74 41 81 03 68 */ bgt lbl_8013327C -/* 80132F18 0012FE78 3C A0 80 3E */ lis r5, lbl_803E11BC@ha -/* 80132F1C 0012FE7C 54 80 10 3A */ slwi r0, r4, 2 -/* 80132F20 0012FE80 38 85 11 BC */ addi r4, r5, lbl_803E11BC@l -/* 80132F24 0012FE84 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80132F28 0012FE88 7C 09 03 A6 */ mtctr r0 -/* 80132F2C 0012FE8C 4E 80 04 20 */ bctr -/* 80132F30 0012FE90 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132F34 0012FE94 38 60 00 10 */ li r3, 0x10 -/* 80132F38 0012FE98 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132F3C 0012FE9C 38 A0 00 00 */ li r5, 0 -/* 80132F40 0012FEA0 48 1E 29 2D */ bl __nw__FUlPCcPCc -/* 80132F44 0012FEA4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132F48 0012FEA8 41 82 00 0C */ beq lbl_80132F54 -/* 80132F4C 0012FEAC 48 00 2F 0D */ bl __ct__7CBSFallFv -/* 80132F50 0012FEB0 7C 60 1B 78 */ mr r0, r3 -lbl_80132F54: -/* 80132F54 0012FEB4 7C 03 03 78 */ mr r3, r0 -/* 80132F58 0012FEB8 48 00 03 24 */ b lbl_8013327C -/* 80132F5C 0012FEBC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132F60 0012FEC0 38 60 00 08 */ li r3, 8 -/* 80132F64 0012FEC4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132F68 0012FEC8 38 A0 00 00 */ li r5, 0 -/* 80132F6C 0012FECC 48 1E 29 01 */ bl __nw__FUlPCcPCc -/* 80132F70 0012FED0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132F74 0012FED4 41 82 00 0C */ beq lbl_80132F80 -/* 80132F78 0012FED8 48 00 32 61 */ bl __ct__8CBSGetupFv -/* 80132F7C 0012FEDC 7C 60 1B 78 */ mr r0, r3 -lbl_80132F80: -/* 80132F80 0012FEE0 7C 03 03 78 */ mr r3, r0 -/* 80132F84 0012FEE4 48 00 02 F8 */ b lbl_8013327C -/* 80132F88 0012FEE8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132F8C 0012FEEC 38 60 00 08 */ li r3, 8 -/* 80132F90 0012FEF0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132F94 0012FEF4 38 A0 00 00 */ li r5, 0 -/* 80132F98 0012FEF8 48 1E 28 D5 */ bl __nw__FUlPCcPCc -/* 80132F9C 0012FEFC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132FA0 0012FF00 41 82 00 10 */ beq lbl_80132FB0 -/* 80132FA4 0012FF04 7F E4 FB 78 */ mr r4, r31 -/* 80132FA8 0012FF08 48 00 3B 35 */ bl __ct__14CBSLieOnGroundFRC6CActor -/* 80132FAC 0012FF0C 7C 60 1B 78 */ mr r0, r3 -lbl_80132FB0: -/* 80132FB0 0012FF10 7C 03 03 78 */ mr r3, r0 -/* 80132FB4 0012FF14 48 00 02 C8 */ b lbl_8013327C -/* 80132FB8 0012FF18 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132FBC 0012FF1C 38 60 00 04 */ li r3, 4 -/* 80132FC0 0012FF20 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132FC4 0012FF24 38 A0 00 00 */ li r5, 0 -/* 80132FC8 0012FF28 48 1E 28 A5 */ bl __nw__FUlPCcPCc -/* 80132FCC 0012FF2C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132FD0 0012FF30 41 82 00 0C */ beq lbl_80132FDC -/* 80132FD4 0012FF34 48 00 61 D5 */ bl __ct__7CBSStepFv -/* 80132FD8 0012FF38 7C 60 1B 78 */ mr r0, r3 -lbl_80132FDC: -/* 80132FDC 0012FF3C 7C 03 03 78 */ mr r3, r0 -/* 80132FE0 0012FF40 48 00 02 9C */ b lbl_8013327C -/* 80132FE4 0012FF44 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80132FE8 0012FF48 38 60 00 0C */ li r3, 0xc -/* 80132FEC 0012FF4C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80132FF0 0012FF50 38 A0 00 00 */ li r5, 0 -/* 80132FF4 0012FF54 48 1E 28 79 */ bl __nw__FUlPCcPCc -/* 80132FF8 0012FF58 7C 60 1B 79 */ or. r0, r3, r3 -/* 80132FFC 0012FF5C 41 82 00 0C */ beq lbl_80133008 -/* 80133000 0012FF60 48 00 29 0D */ bl __ct__6CBSDieFv -/* 80133004 0012FF64 7C 60 1B 78 */ mr r0, r3 -lbl_80133008: -/* 80133008 0012FF68 7C 03 03 78 */ mr r3, r0 -/* 8013300C 0012FF6C 48 00 02 70 */ b lbl_8013327C -/* 80133010 0012FF70 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133014 0012FF74 38 60 03 D0 */ li r3, 0x3d0 -/* 80133018 0012FF78 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013301C 0012FF7C 38 A0 00 00 */ li r5, 0 -/* 80133020 0012FF80 48 1E 28 4D */ bl __nw__FUlPCcPCc -/* 80133024 0012FF84 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133028 0012FF88 41 82 00 14 */ beq lbl_8013303C -/* 8013302C 0012FF8C 7F E4 FB 78 */ mr r4, r31 -/* 80133030 0012FF90 38 A0 00 01 */ li r5, 1 -/* 80133034 0012FF94 48 00 44 C5 */ bl __ct__18CBSFlyerLocomotionFR6CActorb -/* 80133038 0012FF98 7C 60 1B 78 */ mr r0, r3 -lbl_8013303C: -/* 8013303C 0012FF9C 7C 03 03 78 */ mr r3, r0 -/* 80133040 0012FFA0 48 00 02 3C */ b lbl_8013327C -/* 80133044 0012FFA4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133048 0012FFA8 38 60 00 10 */ li r3, 0x10 -/* 8013304C 0012FFAC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133050 0012FFB0 38 A0 00 00 */ li r5, 0 -/* 80133054 0012FFB4 48 1E 28 19 */ bl __nw__FUlPCcPCc -/* 80133058 0012FFB8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013305C 0012FFBC 41 82 00 0C */ beq lbl_80133068 -/* 80133060 0012FFC0 48 00 37 41 */ bl __ct__12CBSKnockBackFv -/* 80133064 0012FFC4 7C 60 1B 78 */ mr r0, r3 -lbl_80133068: -/* 80133068 0012FFC8 7C 03 03 78 */ mr r3, r0 -/* 8013306C 0012FFCC 48 00 02 10 */ b lbl_8013327C -/* 80133070 0012FFD0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133074 0012FFD4 38 60 00 38 */ li r3, 0x38 -/* 80133078 0012FFD8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013307C 0012FFDC 38 A0 00 00 */ li r5, 0 -/* 80133080 0012FFE0 48 1E 27 ED */ bl __nw__FUlPCcPCc -/* 80133084 0012FFE4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133088 0012FFE8 41 82 00 0C */ beq lbl_80133094 -/* 8013308C 0012FFEC 48 00 25 0D */ bl __ct__9CBSAttackFv -/* 80133090 0012FFF0 7C 60 1B 78 */ mr r0, r3 -lbl_80133094: -/* 80133094 0012FFF4 7C 03 03 78 */ mr r3, r0 -/* 80133098 0012FFF8 48 00 01 E4 */ b lbl_8013327C -/* 8013309C 0012FFFC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801330A0 00130000 38 60 00 04 */ li r3, 4 -/* 801330A4 00130004 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801330A8 00130008 38 A0 00 00 */ li r5, 0 -/* 801330AC 0013000C 48 1E 27 C1 */ bl __nw__FUlPCcPCc -/* 801330B0 00130010 7C 60 1B 79 */ or. r0, r3, r3 -/* 801330B4 00130014 41 82 00 0C */ beq lbl_801330C0 -/* 801330B8 00130018 48 01 A8 75 */ bl __ct__19CBSProjectileAttackFv -/* 801330BC 0013001C 7C 60 1B 78 */ mr r0, r3 -lbl_801330C0: -/* 801330C0 00130020 7C 03 03 78 */ mr r3, r0 -/* 801330C4 00130024 48 00 01 B8 */ b lbl_8013327C -/* 801330C8 00130028 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801330CC 0013002C 38 60 00 10 */ li r3, 0x10 -/* 801330D0 00130030 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801330D4 00130034 38 A0 00 00 */ li r5, 0 -/* 801330D8 00130038 48 1E 27 95 */ bl __nw__FUlPCcPCc -/* 801330DC 0013003C 7C 60 1B 79 */ or. r0, r3, r3 -/* 801330E0 00130040 41 82 00 0C */ beq lbl_801330EC -/* 801330E4 00130044 48 00 87 55 */ bl __ct__13CBSLoopAttackFv -/* 801330E8 00130048 7C 60 1B 78 */ mr r0, r3 -lbl_801330EC: -/* 801330EC 0013004C 7C 03 03 78 */ mr r3, r0 -/* 801330F0 00130050 48 00 01 8C */ b lbl_8013327C -/* 801330F4 00130054 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801330F8 00130058 38 60 00 14 */ li r3, 0x14 -/* 801330FC 0013005C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133100 00130060 38 A0 00 00 */ li r5, 0 -/* 80133104 00130064 48 1E 27 69 */ bl __nw__FUlPCcPCc -/* 80133108 00130068 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013310C 0013006C 41 82 00 0C */ beq lbl_80133118 -/* 80133110 00130070 48 00 65 15 */ bl __ct__12CBSFlyerTurnFv -/* 80133114 00130074 7C 60 1B 78 */ mr r0, r3 -lbl_80133118: -/* 80133118 00130078 7C 03 03 78 */ mr r3, r0 -/* 8013311C 0013007C 48 00 01 60 */ b lbl_8013327C -/* 80133120 00130080 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133124 00130084 38 60 00 10 */ li r3, 0x10 -/* 80133128 00130088 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013312C 0013008C 38 A0 00 00 */ li r5, 0 -/* 80133130 00130090 48 1E 27 3D */ bl __nw__FUlPCcPCc -/* 80133134 00130094 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133138 00130098 41 82 00 0C */ beq lbl_80133144 -/* 8013313C 0013009C 48 00 98 E5 */ bl __ct__15CBSLoopReactionFv -/* 80133140 001300A0 7C 60 1B 78 */ mr r0, r3 -lbl_80133144: -/* 80133144 001300A4 7C 03 03 78 */ mr r3, r0 -/* 80133148 001300A8 48 00 01 34 */ b lbl_8013327C -/* 8013314C 001300AC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133150 001300B0 38 60 00 10 */ li r3, 0x10 -/* 80133154 001300B4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133158 001300B8 38 A0 00 00 */ li r5, 0 -/* 8013315C 001300BC 48 1E 27 11 */ bl __nw__FUlPCcPCc -/* 80133160 001300C0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133164 001300C4 41 82 00 0C */ beq lbl_80133170 -/* 80133168 001300C8 48 00 C1 59 */ bl __ct__12CBSGroundHitFv -/* 8013316C 001300CC 7C 60 1B 78 */ mr r0, r3 -lbl_80133170: -/* 80133170 001300D0 7C 03 03 78 */ mr r3, r0 -/* 80133174 001300D4 48 00 01 08 */ b lbl_8013327C -/* 80133178 001300D8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013317C 001300DC 38 60 00 04 */ li r3, 4 -/* 80133180 001300E0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133184 001300E4 38 A0 00 00 */ li r5, 0 -/* 80133188 001300E8 48 1E 26 E5 */ bl __nw__FUlPCcPCc -/* 8013318C 001300EC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133190 001300F0 41 82 00 0C */ beq lbl_8013319C -/* 80133194 001300F4 48 01 38 FD */ bl __ct__11CBSGenerateFv -/* 80133198 001300F8 7C 60 1B 78 */ mr r0, r3 -lbl_8013319C: -/* 8013319C 001300FC 7C 03 03 78 */ mr r3, r0 -/* 801331A0 00130100 48 00 00 DC */ b lbl_8013327C -/* 801331A4 00130104 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801331A8 00130108 38 60 00 34 */ li r3, 0x34 -/* 801331AC 0013010C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801331B0 00130110 38 A0 00 00 */ li r5, 0 -/* 801331B4 00130114 48 1E 26 B9 */ bl __nw__FUlPCcPCc -/* 801331B8 00130118 7C 60 1B 79 */ or. r0, r3, r3 -/* 801331BC 0013011C 41 82 00 0C */ beq lbl_801331C8 -/* 801331C0 00130120 48 01 34 41 */ bl __ct__7CBSJumpFv -/* 801331C4 00130124 7C 60 1B 78 */ mr r0, r3 -lbl_801331C8: -/* 801331C8 00130128 7C 03 03 78 */ mr r3, r0 -/* 801331CC 0013012C 48 00 00 B0 */ b lbl_8013327C -/* 801331D0 00130130 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801331D4 00130134 38 60 00 30 */ li r3, 0x30 -/* 801331D8 00130138 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801331DC 0013013C 38 A0 00 00 */ li r5, 0 -/* 801331E0 00130140 48 1E 26 8D */ bl __nw__FUlPCcPCc -/* 801331E4 00130144 7C 60 1B 79 */ or. r0, r3, r3 -/* 801331E8 00130148 41 82 00 0C */ beq lbl_801331F4 -/* 801331EC 0013014C 48 01 23 B5 */ bl __ct__9CBSHurledFv -/* 801331F0 00130150 7C 60 1B 78 */ mr r0, r3 -lbl_801331F4: -/* 801331F4 00130154 7C 03 03 78 */ mr r3, r0 -/* 801331F8 00130158 48 00 00 84 */ b lbl_8013327C -/* 801331FC 0013015C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133200 00130160 38 60 00 08 */ li r3, 8 -/* 80133204 00130164 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133208 00130168 38 A0 00 00 */ li r5, 0 -/* 8013320C 0013016C 48 1E 26 61 */ bl __nw__FUlPCcPCc -/* 80133210 00130170 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133214 00130174 41 82 00 0C */ beq lbl_80133220 -/* 80133218 00130178 48 01 11 D1 */ bl __ct__8CBSSlideFv -/* 8013321C 0013017C 7C 60 1B 78 */ mr r0, r3 -lbl_80133220: -/* 80133220 00130180 7C 03 03 78 */ mr r3, r0 -/* 80133224 00130184 48 00 00 58 */ b lbl_8013327C -/* 80133228 00130188 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013322C 0013018C 38 60 00 04 */ li r3, 4 -/* 80133230 00130190 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133234 00130194 38 A0 00 00 */ li r5, 0 -/* 80133238 00130198 48 1E 26 35 */ bl __nw__FUlPCcPCc -/* 8013323C 0013019C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133240 001301A0 41 82 00 0C */ beq lbl_8013324C -/* 80133244 001301A4 48 01 63 75 */ bl __ct__8CBSTauntFv -/* 80133248 001301A8 7C 60 1B 78 */ mr r0, r3 -lbl_8013324C: -/* 8013324C 001301AC 7C 03 03 78 */ mr r3, r0 -/* 80133250 001301B0 48 00 00 2C */ b lbl_8013327C -/* 80133254 001301B4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133258 001301B8 38 60 00 0C */ li r3, 0xc -/* 8013325C 001301BC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133260 001301C0 38 A0 00 00 */ li r5, 0 -/* 80133264 001301C4 48 1E 26 09 */ bl __nw__FUlPCcPCc -/* 80133268 001301C8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013326C 001301CC 41 82 00 0C */ beq lbl_80133278 -/* 80133270 001301D0 48 01 81 71 */ bl __ct__11CBSScriptedFv -/* 80133274 001301D4 7C 60 1B 78 */ mr r0, r3 -lbl_80133278: -/* 80133278 001301D8 7C 03 03 78 */ mr r3, r0 -lbl_8013327C: -/* 8013327C 001301DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80133280 001301E0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80133284 001301E4 7C 08 03 A6 */ mtlr r0 -/* 80133288 001301E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013328C 001301EC 4E 80 00 20 */ blr - -.global SetupFlyerBodyStates__14CBodyStateInfoFiR6CActor -SetupFlyerBodyStates__14CBodyStateInfoFiR6CActor: -/* 80133290 001301F0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80133294 001301F4 7C 08 02 A6 */ mflr r0 -/* 80133298 001301F8 28 04 00 12 */ cmplwi r4, 0x12 -/* 8013329C 001301FC 38 60 00 00 */ li r3, 0 -/* 801332A0 00130200 90 01 00 14 */ stw r0, 0x14(r1) -/* 801332A4 00130204 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801332A8 00130208 7C BF 2B 78 */ mr r31, r5 -/* 801332AC 0013020C 41 81 03 68 */ bgt lbl_80133614 -/* 801332B0 00130210 3C A0 80 3E */ lis r5, lbl_803E1208@ha -/* 801332B4 00130214 54 80 10 3A */ slwi r0, r4, 2 -/* 801332B8 00130218 38 85 12 08 */ addi r4, r5, lbl_803E1208@l -/* 801332BC 0013021C 7C 04 00 2E */ lwzx r0, r4, r0 -/* 801332C0 00130220 7C 09 03 A6 */ mtctr r0 -/* 801332C4 00130224 4E 80 04 20 */ bctr -/* 801332C8 00130228 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801332CC 0013022C 38 60 00 10 */ li r3, 0x10 -/* 801332D0 00130230 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801332D4 00130234 38 A0 00 00 */ li r5, 0 -/* 801332D8 00130238 48 1E 25 95 */ bl __nw__FUlPCcPCc -/* 801332DC 0013023C 7C 60 1B 79 */ or. r0, r3, r3 -/* 801332E0 00130240 41 82 00 0C */ beq lbl_801332EC -/* 801332E4 00130244 48 00 2B 75 */ bl __ct__7CBSFallFv -/* 801332E8 00130248 7C 60 1B 78 */ mr r0, r3 -lbl_801332EC: -/* 801332EC 0013024C 7C 03 03 78 */ mr r3, r0 -/* 801332F0 00130250 48 00 03 24 */ b lbl_80133614 -/* 801332F4 00130254 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801332F8 00130258 38 60 00 08 */ li r3, 8 -/* 801332FC 0013025C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133300 00130260 38 A0 00 00 */ li r5, 0 -/* 80133304 00130264 48 1E 25 69 */ bl __nw__FUlPCcPCc -/* 80133308 00130268 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013330C 0013026C 41 82 00 0C */ beq lbl_80133318 -/* 80133310 00130270 48 00 2E C9 */ bl __ct__8CBSGetupFv -/* 80133314 00130274 7C 60 1B 78 */ mr r0, r3 -lbl_80133318: -/* 80133318 00130278 7C 03 03 78 */ mr r3, r0 -/* 8013331C 0013027C 48 00 02 F8 */ b lbl_80133614 -/* 80133320 00130280 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133324 00130284 38 60 00 08 */ li r3, 8 -/* 80133328 00130288 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013332C 0013028C 38 A0 00 00 */ li r5, 0 -/* 80133330 00130290 48 1E 25 3D */ bl __nw__FUlPCcPCc -/* 80133334 00130294 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133338 00130298 41 82 00 10 */ beq lbl_80133348 -/* 8013333C 0013029C 7F E4 FB 78 */ mr r4, r31 -/* 80133340 001302A0 48 00 37 9D */ bl __ct__14CBSLieOnGroundFRC6CActor -/* 80133344 001302A4 7C 60 1B 78 */ mr r0, r3 -lbl_80133348: -/* 80133348 001302A8 7C 03 03 78 */ mr r3, r0 -/* 8013334C 001302AC 48 00 02 C8 */ b lbl_80133614 -/* 80133350 001302B0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133354 001302B4 38 60 00 04 */ li r3, 4 -/* 80133358 001302B8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013335C 001302BC 38 A0 00 00 */ li r5, 0 -/* 80133360 001302C0 48 1E 25 0D */ bl __nw__FUlPCcPCc -/* 80133364 001302C4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133368 001302C8 41 82 00 0C */ beq lbl_80133374 -/* 8013336C 001302CC 48 00 5E 3D */ bl __ct__7CBSStepFv -/* 80133370 001302D0 7C 60 1B 78 */ mr r0, r3 -lbl_80133374: -/* 80133374 001302D4 7C 03 03 78 */ mr r3, r0 -/* 80133378 001302D8 48 00 02 9C */ b lbl_80133614 -/* 8013337C 001302DC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133380 001302E0 38 60 00 0C */ li r3, 0xc -/* 80133384 001302E4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133388 001302E8 38 A0 00 00 */ li r5, 0 -/* 8013338C 001302EC 48 1E 24 E1 */ bl __nw__FUlPCcPCc -/* 80133390 001302F0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133394 001302F4 41 82 00 0C */ beq lbl_801333A0 -/* 80133398 001302F8 48 00 25 75 */ bl __ct__6CBSDieFv -/* 8013339C 001302FC 7C 60 1B 78 */ mr r0, r3 -lbl_801333A0: -/* 801333A0 00130300 7C 03 03 78 */ mr r3, r0 -/* 801333A4 00130304 48 00 02 70 */ b lbl_80133614 -/* 801333A8 00130308 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801333AC 0013030C 38 60 03 D0 */ li r3, 0x3d0 -/* 801333B0 00130310 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801333B4 00130314 38 A0 00 00 */ li r5, 0 -/* 801333B8 00130318 48 1E 24 B5 */ bl __nw__FUlPCcPCc -/* 801333BC 0013031C 7C 60 1B 79 */ or. r0, r3, r3 -/* 801333C0 00130320 41 82 00 14 */ beq lbl_801333D4 -/* 801333C4 00130324 7F E4 FB 78 */ mr r4, r31 -/* 801333C8 00130328 38 A0 00 00 */ li r5, 0 -/* 801333CC 0013032C 48 00 41 2D */ bl __ct__18CBSFlyerLocomotionFR6CActorb -/* 801333D0 00130330 7C 60 1B 78 */ mr r0, r3 -lbl_801333D4: -/* 801333D4 00130334 7C 03 03 78 */ mr r3, r0 -/* 801333D8 00130338 48 00 02 3C */ b lbl_80133614 -/* 801333DC 0013033C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801333E0 00130340 38 60 00 10 */ li r3, 0x10 -/* 801333E4 00130344 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801333E8 00130348 38 A0 00 00 */ li r5, 0 -/* 801333EC 0013034C 48 1E 24 81 */ bl __nw__FUlPCcPCc -/* 801333F0 00130350 7C 60 1B 79 */ or. r0, r3, r3 -/* 801333F4 00130354 41 82 00 0C */ beq lbl_80133400 -/* 801333F8 00130358 48 00 33 A9 */ bl __ct__12CBSKnockBackFv -/* 801333FC 0013035C 7C 60 1B 78 */ mr r0, r3 -lbl_80133400: -/* 80133400 00130360 7C 03 03 78 */ mr r3, r0 -/* 80133404 00130364 48 00 02 10 */ b lbl_80133614 -/* 80133408 00130368 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013340C 0013036C 38 60 00 38 */ li r3, 0x38 -/* 80133410 00130370 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133414 00130374 38 A0 00 00 */ li r5, 0 -/* 80133418 00130378 48 1E 24 55 */ bl __nw__FUlPCcPCc -/* 8013341C 0013037C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133420 00130380 41 82 00 0C */ beq lbl_8013342C -/* 80133424 00130384 48 00 21 75 */ bl __ct__9CBSAttackFv -/* 80133428 00130388 7C 60 1B 78 */ mr r0, r3 -lbl_8013342C: -/* 8013342C 0013038C 7C 03 03 78 */ mr r3, r0 -/* 80133430 00130390 48 00 01 E4 */ b lbl_80133614 -/* 80133434 00130394 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133438 00130398 38 60 00 04 */ li r3, 4 -/* 8013343C 0013039C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133440 001303A0 38 A0 00 00 */ li r5, 0 -/* 80133444 001303A4 48 1E 24 29 */ bl __nw__FUlPCcPCc -/* 80133448 001303A8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013344C 001303AC 41 82 00 0C */ beq lbl_80133458 -/* 80133450 001303B0 48 01 A4 DD */ bl __ct__19CBSProjectileAttackFv -/* 80133454 001303B4 7C 60 1B 78 */ mr r0, r3 -lbl_80133458: -/* 80133458 001303B8 7C 03 03 78 */ mr r3, r0 -/* 8013345C 001303BC 48 00 01 B8 */ b lbl_80133614 -/* 80133460 001303C0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133464 001303C4 38 60 00 10 */ li r3, 0x10 -/* 80133468 001303C8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013346C 001303CC 38 A0 00 00 */ li r5, 0 -/* 80133470 001303D0 48 1E 23 FD */ bl __nw__FUlPCcPCc -/* 80133474 001303D4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133478 001303D8 41 82 00 0C */ beq lbl_80133484 -/* 8013347C 001303DC 48 00 83 BD */ bl __ct__13CBSLoopAttackFv -/* 80133480 001303E0 7C 60 1B 78 */ mr r0, r3 -lbl_80133484: -/* 80133484 001303E4 7C 03 03 78 */ mr r3, r0 -/* 80133488 001303E8 48 00 01 8C */ b lbl_80133614 -/* 8013348C 001303EC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133490 001303F0 38 60 00 14 */ li r3, 0x14 -/* 80133494 001303F4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133498 001303F8 38 A0 00 00 */ li r5, 0 -/* 8013349C 001303FC 48 1E 23 D1 */ bl __nw__FUlPCcPCc -/* 801334A0 00130400 7C 60 1B 79 */ or. r0, r3, r3 -/* 801334A4 00130404 41 82 00 0C */ beq lbl_801334B0 -/* 801334A8 00130408 48 00 61 7D */ bl __ct__12CBSFlyerTurnFv -/* 801334AC 0013040C 7C 60 1B 78 */ mr r0, r3 -lbl_801334B0: -/* 801334B0 00130410 7C 03 03 78 */ mr r3, r0 -/* 801334B4 00130414 48 00 01 60 */ b lbl_80133614 -/* 801334B8 00130418 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801334BC 0013041C 38 60 00 10 */ li r3, 0x10 -/* 801334C0 00130420 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801334C4 00130424 38 A0 00 00 */ li r5, 0 -/* 801334C8 00130428 48 1E 23 A5 */ bl __nw__FUlPCcPCc -/* 801334CC 0013042C 7C 60 1B 79 */ or. r0, r3, r3 -/* 801334D0 00130430 41 82 00 0C */ beq lbl_801334DC -/* 801334D4 00130434 48 00 95 4D */ bl __ct__15CBSLoopReactionFv -/* 801334D8 00130438 7C 60 1B 78 */ mr r0, r3 -lbl_801334DC: -/* 801334DC 0013043C 7C 03 03 78 */ mr r3, r0 -/* 801334E0 00130440 48 00 01 34 */ b lbl_80133614 -/* 801334E4 00130444 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801334E8 00130448 38 60 00 10 */ li r3, 0x10 -/* 801334EC 0013044C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801334F0 00130450 38 A0 00 00 */ li r5, 0 -/* 801334F4 00130454 48 1E 23 79 */ bl __nw__FUlPCcPCc -/* 801334F8 00130458 7C 60 1B 79 */ or. r0, r3, r3 -/* 801334FC 0013045C 41 82 00 0C */ beq lbl_80133508 -/* 80133500 00130460 48 00 BD C1 */ bl __ct__12CBSGroundHitFv -/* 80133504 00130464 7C 60 1B 78 */ mr r0, r3 -lbl_80133508: -/* 80133508 00130468 7C 03 03 78 */ mr r3, r0 -/* 8013350C 0013046C 48 00 01 08 */ b lbl_80133614 -/* 80133510 00130470 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133514 00130474 38 60 00 04 */ li r3, 4 -/* 80133518 00130478 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013351C 0013047C 38 A0 00 00 */ li r5, 0 -/* 80133520 00130480 48 1E 23 4D */ bl __nw__FUlPCcPCc -/* 80133524 00130484 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133528 00130488 41 82 00 0C */ beq lbl_80133534 -/* 8013352C 0013048C 48 01 35 65 */ bl __ct__11CBSGenerateFv -/* 80133530 00130490 7C 60 1B 78 */ mr r0, r3 -lbl_80133534: -/* 80133534 00130494 7C 03 03 78 */ mr r3, r0 -/* 80133538 00130498 48 00 00 DC */ b lbl_80133614 -/* 8013353C 0013049C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133540 001304A0 38 60 00 34 */ li r3, 0x34 -/* 80133544 001304A4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133548 001304A8 38 A0 00 00 */ li r5, 0 -/* 8013354C 001304AC 48 1E 23 21 */ bl __nw__FUlPCcPCc -/* 80133550 001304B0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133554 001304B4 41 82 00 0C */ beq lbl_80133560 -/* 80133558 001304B8 48 01 30 A9 */ bl __ct__7CBSJumpFv -/* 8013355C 001304BC 7C 60 1B 78 */ mr r0, r3 -lbl_80133560: -/* 80133560 001304C0 7C 03 03 78 */ mr r3, r0 -/* 80133564 001304C4 48 00 00 B0 */ b lbl_80133614 -/* 80133568 001304C8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013356C 001304CC 38 60 00 30 */ li r3, 0x30 -/* 80133570 001304D0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133574 001304D4 38 A0 00 00 */ li r5, 0 -/* 80133578 001304D8 48 1E 22 F5 */ bl __nw__FUlPCcPCc -/* 8013357C 001304DC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133580 001304E0 41 82 00 0C */ beq lbl_8013358C -/* 80133584 001304E4 48 01 20 1D */ bl __ct__9CBSHurledFv -/* 80133588 001304E8 7C 60 1B 78 */ mr r0, r3 -lbl_8013358C: -/* 8013358C 001304EC 7C 03 03 78 */ mr r3, r0 -/* 80133590 001304F0 48 00 00 84 */ b lbl_80133614 -/* 80133594 001304F4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133598 001304F8 38 60 00 08 */ li r3, 8 -/* 8013359C 001304FC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801335A0 00130500 38 A0 00 00 */ li r5, 0 -/* 801335A4 00130504 48 1E 22 C9 */ bl __nw__FUlPCcPCc -/* 801335A8 00130508 7C 60 1B 79 */ or. r0, r3, r3 -/* 801335AC 0013050C 41 82 00 0C */ beq lbl_801335B8 -/* 801335B0 00130510 48 01 0E 39 */ bl __ct__8CBSSlideFv -/* 801335B4 00130514 7C 60 1B 78 */ mr r0, r3 -lbl_801335B8: -/* 801335B8 00130518 7C 03 03 78 */ mr r3, r0 -/* 801335BC 0013051C 48 00 00 58 */ b lbl_80133614 -/* 801335C0 00130520 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801335C4 00130524 38 60 00 04 */ li r3, 4 -/* 801335C8 00130528 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801335CC 0013052C 38 A0 00 00 */ li r5, 0 -/* 801335D0 00130530 48 1E 22 9D */ bl __nw__FUlPCcPCc -/* 801335D4 00130534 7C 60 1B 79 */ or. r0, r3, r3 -/* 801335D8 00130538 41 82 00 0C */ beq lbl_801335E4 -/* 801335DC 0013053C 48 01 5F DD */ bl __ct__8CBSTauntFv -/* 801335E0 00130540 7C 60 1B 78 */ mr r0, r3 -lbl_801335E4: -/* 801335E4 00130544 7C 03 03 78 */ mr r3, r0 -/* 801335E8 00130548 48 00 00 2C */ b lbl_80133614 -/* 801335EC 0013054C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801335F0 00130550 38 60 00 0C */ li r3, 0xc -/* 801335F4 00130554 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801335F8 00130558 38 A0 00 00 */ li r5, 0 -/* 801335FC 0013055C 48 1E 22 71 */ bl __nw__FUlPCcPCc -/* 80133600 00130560 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133604 00130564 41 82 00 0C */ beq lbl_80133610 -/* 80133608 00130568 48 01 7D D9 */ bl __ct__11CBSScriptedFv -/* 8013360C 0013056C 7C 60 1B 78 */ mr r0, r3 -lbl_80133610: -/* 80133610 00130570 7C 03 03 78 */ mr r3, r0 -lbl_80133614: -/* 80133614 00130574 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80133618 00130578 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013361C 0013057C 7C 08 03 A6 */ mtlr r0 -/* 80133620 00130580 38 21 00 10 */ addi r1, r1, 0x10 -/* 80133624 00130584 4E 80 00 20 */ blr - -.global SetupRestrictedBodyStates__14CBodyStateInfoFiR6CActor -SetupRestrictedBodyStates__14CBodyStateInfoFiR6CActor: -/* 80133628 00130588 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013362C 0013058C 7C 08 02 A6 */ mflr r0 -/* 80133630 00130590 28 04 00 13 */ cmplwi r4, 0x13 -/* 80133634 00130594 38 60 00 00 */ li r3, 0 -/* 80133638 00130598 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013363C 0013059C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80133640 001305A0 7C BF 2B 78 */ mr r31, r5 -/* 80133644 001305A4 41 81 03 90 */ bgt lbl_801339D4 -/* 80133648 001305A8 3C A0 80 3E */ lis r5, lbl_803E1254@ha -/* 8013364C 001305AC 54 80 10 3A */ slwi r0, r4, 2 -/* 80133650 001305B0 38 85 12 54 */ addi r4, r5, lbl_803E1254@l -/* 80133654 001305B4 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80133658 001305B8 7C 09 03 A6 */ mtctr r0 -/* 8013365C 001305BC 4E 80 04 20 */ bctr -/* 80133660 001305C0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133664 001305C4 38 60 00 10 */ li r3, 0x10 -/* 80133668 001305C8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013366C 001305CC 38 A0 00 00 */ li r5, 0 -/* 80133670 001305D0 48 1E 21 FD */ bl __nw__FUlPCcPCc -/* 80133674 001305D4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133678 001305D8 41 82 00 0C */ beq lbl_80133684 -/* 8013367C 001305DC 48 00 27 DD */ bl __ct__7CBSFallFv -/* 80133680 001305E0 7C 60 1B 78 */ mr r0, r3 -lbl_80133684: -/* 80133684 001305E4 7C 03 03 78 */ mr r3, r0 -/* 80133688 001305E8 48 00 03 4C */ b lbl_801339D4 -/* 8013368C 001305EC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133690 001305F0 38 60 00 08 */ li r3, 8 -/* 80133694 001305F4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133698 001305F8 38 A0 00 00 */ li r5, 0 -/* 8013369C 001305FC 48 1E 21 D1 */ bl __nw__FUlPCcPCc -/* 801336A0 00130600 7C 60 1B 79 */ or. r0, r3, r3 -/* 801336A4 00130604 41 82 00 0C */ beq lbl_801336B0 -/* 801336A8 00130608 48 00 2B 31 */ bl __ct__8CBSGetupFv -/* 801336AC 0013060C 7C 60 1B 78 */ mr r0, r3 -lbl_801336B0: -/* 801336B0 00130610 7C 03 03 78 */ mr r3, r0 -/* 801336B4 00130614 48 00 03 20 */ b lbl_801339D4 -/* 801336B8 00130618 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801336BC 0013061C 38 60 00 08 */ li r3, 8 -/* 801336C0 00130620 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801336C4 00130624 38 A0 00 00 */ li r5, 0 -/* 801336C8 00130628 48 1E 21 A5 */ bl __nw__FUlPCcPCc -/* 801336CC 0013062C 7C 60 1B 79 */ or. r0, r3, r3 -/* 801336D0 00130630 41 82 00 10 */ beq lbl_801336E0 -/* 801336D4 00130634 7F E4 FB 78 */ mr r4, r31 -/* 801336D8 00130638 48 00 34 05 */ bl __ct__14CBSLieOnGroundFRC6CActor -/* 801336DC 0013063C 7C 60 1B 78 */ mr r0, r3 -lbl_801336E0: -/* 801336E0 00130640 7C 03 03 78 */ mr r3, r0 -/* 801336E4 00130644 48 00 02 F0 */ b lbl_801339D4 -/* 801336E8 00130648 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801336EC 0013064C 38 60 00 04 */ li r3, 4 -/* 801336F0 00130650 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801336F4 00130654 38 A0 00 00 */ li r5, 0 -/* 801336F8 00130658 48 1E 21 75 */ bl __nw__FUlPCcPCc -/* 801336FC 0013065C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133700 00130660 41 82 00 0C */ beq lbl_8013370C -/* 80133704 00130664 48 00 5A A5 */ bl __ct__7CBSStepFv -/* 80133708 00130668 7C 60 1B 78 */ mr r0, r3 -lbl_8013370C: -/* 8013370C 0013066C 7C 03 03 78 */ mr r3, r0 -/* 80133710 00130670 48 00 02 C4 */ b lbl_801339D4 -/* 80133714 00130674 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133718 00130678 38 60 00 0C */ li r3, 0xc -/* 8013371C 0013067C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133720 00130680 38 A0 00 00 */ li r5, 0 -/* 80133724 00130684 48 1E 21 49 */ bl __nw__FUlPCcPCc -/* 80133728 00130688 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013372C 0013068C 41 82 00 0C */ beq lbl_80133738 -/* 80133730 00130690 48 00 21 DD */ bl __ct__6CBSDieFv -/* 80133734 00130694 7C 60 1B 78 */ mr r0, r3 -lbl_80133738: -/* 80133738 00130698 7C 03 03 78 */ mr r3, r0 -/* 8013373C 0013069C 48 00 02 98 */ b lbl_801339D4 -/* 80133740 001306A0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133744 001306A4 38 60 00 48 */ li r3, 0x48 -/* 80133748 001306A8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013374C 001306AC 38 A0 00 00 */ li r5, 0 -/* 80133750 001306B0 48 1E 21 1D */ bl __nw__FUlPCcPCc -/* 80133754 001306B4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133758 001306B8 41 82 00 10 */ beq lbl_80133768 -/* 8013375C 001306BC 7F E4 FB 78 */ mr r4, r31 -/* 80133760 001306C0 48 00 3E 9D */ bl __ct__23CBSRestrictedLocomotionFR6CActor -/* 80133764 001306C4 7C 60 1B 78 */ mr r0, r3 -lbl_80133768: -/* 80133768 001306C8 7C 03 03 78 */ mr r3, r0 -/* 8013376C 001306CC 48 00 02 68 */ b lbl_801339D4 -/* 80133770 001306D0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133774 001306D4 38 60 00 10 */ li r3, 0x10 -/* 80133778 001306D8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013377C 001306DC 38 A0 00 00 */ li r5, 0 -/* 80133780 001306E0 48 1E 20 ED */ bl __nw__FUlPCcPCc -/* 80133784 001306E4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133788 001306E8 41 82 00 0C */ beq lbl_80133794 -/* 8013378C 001306EC 48 00 30 15 */ bl __ct__12CBSKnockBackFv -/* 80133790 001306F0 7C 60 1B 78 */ mr r0, r3 -lbl_80133794: -/* 80133794 001306F4 7C 03 03 78 */ mr r3, r0 -/* 80133798 001306F8 48 00 02 3C */ b lbl_801339D4 -/* 8013379C 001306FC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801337A0 00130700 38 60 00 38 */ li r3, 0x38 -/* 801337A4 00130704 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801337A8 00130708 38 A0 00 00 */ li r5, 0 -/* 801337AC 0013070C 48 1E 20 C1 */ bl __nw__FUlPCcPCc -/* 801337B0 00130710 7C 60 1B 79 */ or. r0, r3, r3 -/* 801337B4 00130714 41 82 00 0C */ beq lbl_801337C0 -/* 801337B8 00130718 48 00 1D E1 */ bl __ct__9CBSAttackFv -/* 801337BC 0013071C 7C 60 1B 78 */ mr r0, r3 -lbl_801337C0: -/* 801337C0 00130720 7C 03 03 78 */ mr r3, r0 -/* 801337C4 00130724 48 00 02 10 */ b lbl_801339D4 -/* 801337C8 00130728 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801337CC 0013072C 38 60 00 04 */ li r3, 4 -/* 801337D0 00130730 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801337D4 00130734 38 A0 00 00 */ li r5, 0 -/* 801337D8 00130738 48 1E 20 95 */ bl __nw__FUlPCcPCc -/* 801337DC 0013073C 7C 60 1B 79 */ or. r0, r3, r3 -/* 801337E0 00130740 41 82 00 0C */ beq lbl_801337EC -/* 801337E4 00130744 48 01 A1 49 */ bl __ct__19CBSProjectileAttackFv -/* 801337E8 00130748 7C 60 1B 78 */ mr r0, r3 -lbl_801337EC: -/* 801337EC 0013074C 7C 03 03 78 */ mr r3, r0 -/* 801337F0 00130750 48 00 01 E4 */ b lbl_801339D4 -/* 801337F4 00130754 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801337F8 00130758 38 60 00 10 */ li r3, 0x10 -/* 801337FC 0013075C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133800 00130760 38 A0 00 00 */ li r5, 0 -/* 80133804 00130764 48 1E 20 69 */ bl __nw__FUlPCcPCc -/* 80133808 00130768 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013380C 0013076C 41 82 00 0C */ beq lbl_80133818 -/* 80133810 00130770 48 00 80 29 */ bl __ct__13CBSLoopAttackFv -/* 80133814 00130774 7C 60 1B 78 */ mr r0, r3 -lbl_80133818: -/* 80133818 00130778 7C 03 03 78 */ mr r3, r0 -/* 8013381C 0013077C 48 00 01 B8 */ b lbl_801339D4 -/* 80133820 00130780 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133824 00130784 38 60 00 14 */ li r3, 0x14 -/* 80133828 00130788 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013382C 0013078C 38 A0 00 00 */ li r5, 0 -/* 80133830 00130790 48 1E 20 3D */ bl __nw__FUlPCcPCc -/* 80133834 00130794 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133838 00130798 41 82 00 0C */ beq lbl_80133844 -/* 8013383C 0013079C 48 00 64 A5 */ bl __ct__7CBSTurnFv -/* 80133840 001307A0 7C 60 1B 78 */ mr r0, r3 -lbl_80133844: -/* 80133844 001307A4 7C 03 03 78 */ mr r3, r0 -/* 80133848 001307A8 48 00 01 8C */ b lbl_801339D4 -/* 8013384C 001307AC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133850 001307B0 38 60 00 10 */ li r3, 0x10 -/* 80133854 001307B4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133858 001307B8 38 A0 00 00 */ li r5, 0 -/* 8013385C 001307BC 48 1E 20 11 */ bl __nw__FUlPCcPCc -/* 80133860 001307C0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133864 001307C4 41 82 00 0C */ beq lbl_80133870 -/* 80133868 001307C8 48 00 91 B9 */ bl __ct__15CBSLoopReactionFv -/* 8013386C 001307CC 7C 60 1B 78 */ mr r0, r3 -lbl_80133870: -/* 80133870 001307D0 7C 03 03 78 */ mr r3, r0 -/* 80133874 001307D4 48 00 01 60 */ b lbl_801339D4 -/* 80133878 001307D8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013387C 001307DC 38 60 00 10 */ li r3, 0x10 -/* 80133880 001307E0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133884 001307E4 38 A0 00 00 */ li r5, 0 -/* 80133888 001307E8 48 1E 1F E5 */ bl __nw__FUlPCcPCc -/* 8013388C 001307EC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133890 001307F0 41 82 00 0C */ beq lbl_8013389C -/* 80133894 001307F4 48 00 BA 2D */ bl __ct__12CBSGroundHitFv -/* 80133898 001307F8 7C 60 1B 78 */ mr r0, r3 -lbl_8013389C: -/* 8013389C 001307FC 7C 03 03 78 */ mr r3, r0 -/* 801338A0 00130800 48 00 01 34 */ b lbl_801339D4 -/* 801338A4 00130804 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801338A8 00130808 38 60 00 04 */ li r3, 4 -/* 801338AC 0013080C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801338B0 00130810 38 A0 00 00 */ li r5, 0 -/* 801338B4 00130814 48 1E 1F B9 */ bl __nw__FUlPCcPCc -/* 801338B8 00130818 7C 60 1B 79 */ or. r0, r3, r3 -/* 801338BC 0013081C 41 82 00 0C */ beq lbl_801338C8 -/* 801338C0 00130820 48 01 31 D1 */ bl __ct__11CBSGenerateFv -/* 801338C4 00130824 7C 60 1B 78 */ mr r0, r3 -lbl_801338C8: -/* 801338C8 00130828 7C 03 03 78 */ mr r3, r0 -/* 801338CC 0013082C 48 00 01 08 */ b lbl_801339D4 -/* 801338D0 00130830 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801338D4 00130834 38 60 00 34 */ li r3, 0x34 -/* 801338D8 00130838 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801338DC 0013083C 38 A0 00 00 */ li r5, 0 -/* 801338E0 00130840 48 1E 1F 8D */ bl __nw__FUlPCcPCc -/* 801338E4 00130844 7C 60 1B 79 */ or. r0, r3, r3 -/* 801338E8 00130848 41 82 00 0C */ beq lbl_801338F4 -/* 801338EC 0013084C 48 01 2D 15 */ bl __ct__7CBSJumpFv -/* 801338F0 00130850 7C 60 1B 78 */ mr r0, r3 -lbl_801338F4: -/* 801338F4 00130854 7C 03 03 78 */ mr r3, r0 -/* 801338F8 00130858 48 00 00 DC */ b lbl_801339D4 -/* 801338FC 0013085C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133900 00130860 38 60 00 30 */ li r3, 0x30 -/* 80133904 00130864 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133908 00130868 38 A0 00 00 */ li r5, 0 -/* 8013390C 0013086C 48 1E 1F 61 */ bl __nw__FUlPCcPCc -/* 80133910 00130870 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133914 00130874 41 82 00 0C */ beq lbl_80133920 -/* 80133918 00130878 48 01 1C 89 */ bl __ct__9CBSHurledFv -/* 8013391C 0013087C 7C 60 1B 78 */ mr r0, r3 -lbl_80133920: -/* 80133920 00130880 7C 03 03 78 */ mr r3, r0 -/* 80133924 00130884 48 00 00 B0 */ b lbl_801339D4 -/* 80133928 00130888 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013392C 0013088C 38 60 00 08 */ li r3, 8 -/* 80133930 00130890 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133934 00130894 38 A0 00 00 */ li r5, 0 -/* 80133938 00130898 48 1E 1F 35 */ bl __nw__FUlPCcPCc -/* 8013393C 0013089C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133940 001308A0 41 82 00 0C */ beq lbl_8013394C -/* 80133944 001308A4 48 01 0A A5 */ bl __ct__8CBSSlideFv -/* 80133948 001308A8 7C 60 1B 78 */ mr r0, r3 -lbl_8013394C: -/* 8013394C 001308AC 7C 03 03 78 */ mr r3, r0 -/* 80133950 001308B0 48 00 00 84 */ b lbl_801339D4 -/* 80133954 001308B4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133958 001308B8 38 60 00 04 */ li r3, 4 -/* 8013395C 001308BC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133960 001308C0 38 A0 00 00 */ li r5, 0 -/* 80133964 001308C4 48 1E 1F 09 */ bl __nw__FUlPCcPCc -/* 80133968 001308C8 7C 60 1B 79 */ or. r0, r3, r3 -/* 8013396C 001308CC 41 82 00 0C */ beq lbl_80133978 -/* 80133970 001308D0 48 01 5C 49 */ bl __ct__8CBSTauntFv -/* 80133974 001308D4 7C 60 1B 78 */ mr r0, r3 -lbl_80133978: -/* 80133978 001308D8 7C 03 03 78 */ mr r3, r0 -/* 8013397C 001308DC 48 00 00 58 */ b lbl_801339D4 -/* 80133980 001308E0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133984 001308E4 38 60 00 0C */ li r3, 0xc -/* 80133988 001308E8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013398C 001308EC 38 A0 00 00 */ li r5, 0 -/* 80133990 001308F0 48 1E 1E DD */ bl __nw__FUlPCcPCc -/* 80133994 001308F4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133998 001308F8 41 82 00 0C */ beq lbl_801339A4 -/* 8013399C 001308FC 48 01 7A 45 */ bl __ct__11CBSScriptedFv -/* 801339A0 00130900 7C 60 1B 78 */ mr r0, r3 -lbl_801339A4: -/* 801339A4 00130904 7C 03 03 78 */ mr r3, r0 -/* 801339A8 00130908 48 00 00 2C */ b lbl_801339D4 -/* 801339AC 0013090C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801339B0 00130910 38 60 00 10 */ li r3, 0x10 -/* 801339B4 00130914 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801339B8 00130918 38 A0 00 00 */ li r5, 0 -/* 801339BC 0013091C 48 1E 1E B1 */ bl __nw__FUlPCcPCc -/* 801339C0 00130920 7C 60 1B 79 */ or. r0, r3, r3 -/* 801339C4 00130924 41 82 00 0C */ beq lbl_801339D0 -/* 801339C8 00130928 48 04 2A D1 */ bl __ct__8CBSCoverFv -/* 801339CC 0013092C 7C 60 1B 78 */ mr r0, r3 -lbl_801339D0: -/* 801339D0 00130930 7C 03 03 78 */ mr r3, r0 -lbl_801339D4: -/* 801339D4 00130934 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801339D8 00130938 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801339DC 0013093C 7C 08 03 A6 */ mtlr r0 -/* 801339E0 00130940 38 21 00 10 */ addi r1, r1, 0x10 -/* 801339E4 00130944 4E 80 00 20 */ blr - -.global SetupBiPedalBodyStates__14CBodyStateInfoFiR6CActor -SetupBiPedalBodyStates__14CBodyStateInfoFiR6CActor: -/* 801339E8 00130948 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801339EC 0013094C 7C 08 02 A6 */ mflr r0 -/* 801339F0 00130950 28 04 00 14 */ cmplwi r4, 0x14 -/* 801339F4 00130954 38 60 00 00 */ li r3, 0 -/* 801339F8 00130958 90 01 00 14 */ stw r0, 0x14(r1) -/* 801339FC 0013095C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80133A00 00130960 7C BF 2B 78 */ mr r31, r5 -/* 80133A04 00130964 41 81 03 BC */ bgt lbl_80133DC0 -/* 80133A08 00130968 3C A0 80 3E */ lis r5, lbl_803E12A4@ha -/* 80133A0C 0013096C 54 80 10 3A */ slwi r0, r4, 2 -/* 80133A10 00130970 38 85 12 A4 */ addi r4, r5, lbl_803E12A4@l -/* 80133A14 00130974 7C 04 00 2E */ lwzx r0, r4, r0 -/* 80133A18 00130978 7C 09 03 A6 */ mtctr r0 -/* 80133A1C 0013097C 4E 80 04 20 */ bctr -/* 80133A20 00130980 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133A24 00130984 38 60 00 10 */ li r3, 0x10 -/* 80133A28 00130988 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133A2C 0013098C 38 A0 00 00 */ li r5, 0 -/* 80133A30 00130990 48 1E 1E 3D */ bl __nw__FUlPCcPCc -/* 80133A34 00130994 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133A38 00130998 41 82 00 0C */ beq lbl_80133A44 -/* 80133A3C 0013099C 48 00 24 1D */ bl __ct__7CBSFallFv -/* 80133A40 001309A0 7C 60 1B 78 */ mr r0, r3 -lbl_80133A44: -/* 80133A44 001309A4 7C 03 03 78 */ mr r3, r0 -/* 80133A48 001309A8 48 00 03 78 */ b lbl_80133DC0 -/* 80133A4C 001309AC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133A50 001309B0 38 60 00 08 */ li r3, 8 -/* 80133A54 001309B4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133A58 001309B8 38 A0 00 00 */ li r5, 0 -/* 80133A5C 001309BC 48 1E 1E 11 */ bl __nw__FUlPCcPCc -/* 80133A60 001309C0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133A64 001309C4 41 82 00 0C */ beq lbl_80133A70 -/* 80133A68 001309C8 48 00 27 71 */ bl __ct__8CBSGetupFv -/* 80133A6C 001309CC 7C 60 1B 78 */ mr r0, r3 -lbl_80133A70: -/* 80133A70 001309D0 7C 03 03 78 */ mr r3, r0 -/* 80133A74 001309D4 48 00 03 4C */ b lbl_80133DC0 -/* 80133A78 001309D8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133A7C 001309DC 38 60 00 08 */ li r3, 8 -/* 80133A80 001309E0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133A84 001309E4 38 A0 00 00 */ li r5, 0 -/* 80133A88 001309E8 48 1E 1D E5 */ bl __nw__FUlPCcPCc -/* 80133A8C 001309EC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133A90 001309F0 41 82 00 10 */ beq lbl_80133AA0 -/* 80133A94 001309F4 7F E4 FB 78 */ mr r4, r31 -/* 80133A98 001309F8 48 00 30 45 */ bl __ct__14CBSLieOnGroundFRC6CActor -/* 80133A9C 001309FC 7C 60 1B 78 */ mr r0, r3 -lbl_80133AA0: -/* 80133AA0 00130A00 7C 03 03 78 */ mr r3, r0 -/* 80133AA4 00130A04 48 00 03 1C */ b lbl_80133DC0 -/* 80133AA8 00130A08 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133AAC 00130A0C 38 60 00 04 */ li r3, 4 -/* 80133AB0 00130A10 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133AB4 00130A14 38 A0 00 00 */ li r5, 0 -/* 80133AB8 00130A18 48 1E 1D B5 */ bl __nw__FUlPCcPCc -/* 80133ABC 00130A1C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133AC0 00130A20 41 82 00 0C */ beq lbl_80133ACC -/* 80133AC4 00130A24 48 00 56 E5 */ bl __ct__7CBSStepFv -/* 80133AC8 00130A28 7C 60 1B 78 */ mr r0, r3 -lbl_80133ACC: -/* 80133ACC 00130A2C 7C 03 03 78 */ mr r3, r0 -/* 80133AD0 00130A30 48 00 02 F0 */ b lbl_80133DC0 -/* 80133AD4 00130A34 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133AD8 00130A38 38 60 00 0C */ li r3, 0xc -/* 80133ADC 00130A3C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133AE0 00130A40 38 A0 00 00 */ li r5, 0 -/* 80133AE4 00130A44 48 1E 1D 89 */ bl __nw__FUlPCcPCc -/* 80133AE8 00130A48 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133AEC 00130A4C 41 82 00 0C */ beq lbl_80133AF8 -/* 80133AF0 00130A50 48 00 1E 1D */ bl __ct__6CBSDieFv -/* 80133AF4 00130A54 7C 60 1B 78 */ mr r0, r3 -lbl_80133AF8: -/* 80133AF8 00130A58 7C 03 03 78 */ mr r3, r0 -/* 80133AFC 00130A5C 48 00 02 C4 */ b lbl_80133DC0 -/* 80133B00 00130A60 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133B04 00130A64 38 60 03 CC */ li r3, 0x3cc -/* 80133B08 00130A68 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133B0C 00130A6C 38 A0 00 00 */ li r5, 0 -/* 80133B10 00130A70 48 1E 1D 5D */ bl __nw__FUlPCcPCc -/* 80133B14 00130A74 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133B18 00130A78 41 82 00 10 */ beq lbl_80133B28 -/* 80133B1C 00130A7C 7F E4 FB 78 */ mr r4, r31 -/* 80133B20 00130A80 48 00 46 0D */ bl __ct__18CBSBiPedLocomotionFR6CActor -/* 80133B24 00130A84 7C 60 1B 78 */ mr r0, r3 -lbl_80133B28: -/* 80133B28 00130A88 7C 03 03 78 */ mr r3, r0 -/* 80133B2C 00130A8C 48 00 02 94 */ b lbl_80133DC0 -/* 80133B30 00130A90 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133B34 00130A94 38 60 00 10 */ li r3, 0x10 -/* 80133B38 00130A98 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133B3C 00130A9C 38 A0 00 00 */ li r5, 0 -/* 80133B40 00130AA0 48 1E 1D 2D */ bl __nw__FUlPCcPCc -/* 80133B44 00130AA4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133B48 00130AA8 41 82 00 0C */ beq lbl_80133B54 -/* 80133B4C 00130AAC 48 00 2C 55 */ bl __ct__12CBSKnockBackFv -/* 80133B50 00130AB0 7C 60 1B 78 */ mr r0, r3 -lbl_80133B54: -/* 80133B54 00130AB4 7C 03 03 78 */ mr r3, r0 -/* 80133B58 00130AB8 48 00 02 68 */ b lbl_80133DC0 -/* 80133B5C 00130ABC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133B60 00130AC0 38 60 00 38 */ li r3, 0x38 -/* 80133B64 00130AC4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133B68 00130AC8 38 A0 00 00 */ li r5, 0 -/* 80133B6C 00130ACC 48 1E 1D 01 */ bl __nw__FUlPCcPCc -/* 80133B70 00130AD0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133B74 00130AD4 41 82 00 0C */ beq lbl_80133B80 -/* 80133B78 00130AD8 48 00 1A 21 */ bl __ct__9CBSAttackFv -/* 80133B7C 00130ADC 7C 60 1B 78 */ mr r0, r3 -lbl_80133B80: -/* 80133B80 00130AE0 7C 03 03 78 */ mr r3, r0 -/* 80133B84 00130AE4 48 00 02 3C */ b lbl_80133DC0 -/* 80133B88 00130AE8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133B8C 00130AEC 38 60 00 04 */ li r3, 4 -/* 80133B90 00130AF0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133B94 00130AF4 38 A0 00 00 */ li r5, 0 -/* 80133B98 00130AF8 48 1E 1C D5 */ bl __nw__FUlPCcPCc -/* 80133B9C 00130AFC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133BA0 00130B00 41 82 00 0C */ beq lbl_80133BAC -/* 80133BA4 00130B04 48 01 9D 89 */ bl __ct__19CBSProjectileAttackFv -/* 80133BA8 00130B08 7C 60 1B 78 */ mr r0, r3 -lbl_80133BAC: -/* 80133BAC 00130B0C 7C 03 03 78 */ mr r3, r0 -/* 80133BB0 00130B10 48 00 02 10 */ b lbl_80133DC0 -/* 80133BB4 00130B14 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133BB8 00130B18 38 60 00 10 */ li r3, 0x10 -/* 80133BBC 00130B1C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133BC0 00130B20 38 A0 00 00 */ li r5, 0 -/* 80133BC4 00130B24 48 1E 1C A9 */ bl __nw__FUlPCcPCc -/* 80133BC8 00130B28 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133BCC 00130B2C 41 82 00 0C */ beq lbl_80133BD8 -/* 80133BD0 00130B30 48 00 7C 69 */ bl __ct__13CBSLoopAttackFv -/* 80133BD4 00130B34 7C 60 1B 78 */ mr r0, r3 -lbl_80133BD8: -/* 80133BD8 00130B38 7C 03 03 78 */ mr r3, r0 -/* 80133BDC 00130B3C 48 00 01 E4 */ b lbl_80133DC0 -/* 80133BE0 00130B40 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133BE4 00130B44 38 60 00 14 */ li r3, 0x14 -/* 80133BE8 00130B48 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133BEC 00130B4C 38 A0 00 00 */ li r5, 0 -/* 80133BF0 00130B50 48 1E 1C 7D */ bl __nw__FUlPCcPCc -/* 80133BF4 00130B54 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133BF8 00130B58 41 82 00 0C */ beq lbl_80133C04 -/* 80133BFC 00130B5C 48 00 60 E5 */ bl __ct__7CBSTurnFv -/* 80133C00 00130B60 7C 60 1B 78 */ mr r0, r3 -lbl_80133C04: -/* 80133C04 00130B64 7C 03 03 78 */ mr r3, r0 -/* 80133C08 00130B68 48 00 01 B8 */ b lbl_80133DC0 -/* 80133C0C 00130B6C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133C10 00130B70 38 60 00 10 */ li r3, 0x10 -/* 80133C14 00130B74 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133C18 00130B78 38 A0 00 00 */ li r5, 0 -/* 80133C1C 00130B7C 48 1E 1C 51 */ bl __nw__FUlPCcPCc -/* 80133C20 00130B80 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133C24 00130B84 41 82 00 0C */ beq lbl_80133C30 -/* 80133C28 00130B88 48 00 8D F9 */ bl __ct__15CBSLoopReactionFv -/* 80133C2C 00130B8C 7C 60 1B 78 */ mr r0, r3 -lbl_80133C30: -/* 80133C30 00130B90 7C 03 03 78 */ mr r3, r0 -/* 80133C34 00130B94 48 00 01 8C */ b lbl_80133DC0 -/* 80133C38 00130B98 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133C3C 00130B9C 38 60 00 10 */ li r3, 0x10 -/* 80133C40 00130BA0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133C44 00130BA4 38 A0 00 00 */ li r5, 0 -/* 80133C48 00130BA8 48 1E 1C 25 */ bl __nw__FUlPCcPCc -/* 80133C4C 00130BAC 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133C50 00130BB0 41 82 00 0C */ beq lbl_80133C5C -/* 80133C54 00130BB4 48 00 B6 6D */ bl __ct__12CBSGroundHitFv -/* 80133C58 00130BB8 7C 60 1B 78 */ mr r0, r3 -lbl_80133C5C: -/* 80133C5C 00130BBC 7C 03 03 78 */ mr r3, r0 -/* 80133C60 00130BC0 48 00 01 60 */ b lbl_80133DC0 -/* 80133C64 00130BC4 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133C68 00130BC8 38 60 00 04 */ li r3, 4 -/* 80133C6C 00130BCC 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133C70 00130BD0 38 A0 00 00 */ li r5, 0 -/* 80133C74 00130BD4 48 1E 1B F9 */ bl __nw__FUlPCcPCc -/* 80133C78 00130BD8 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133C7C 00130BDC 41 82 00 0C */ beq lbl_80133C88 -/* 80133C80 00130BE0 48 01 2E 11 */ bl __ct__11CBSGenerateFv -/* 80133C84 00130BE4 7C 60 1B 78 */ mr r0, r3 -lbl_80133C88: -/* 80133C88 00130BE8 7C 03 03 78 */ mr r3, r0 -/* 80133C8C 00130BEC 48 00 01 34 */ b lbl_80133DC0 -/* 80133C90 00130BF0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133C94 00130BF4 38 60 00 34 */ li r3, 0x34 -/* 80133C98 00130BF8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133C9C 00130BFC 38 A0 00 00 */ li r5, 0 -/* 80133CA0 00130C00 48 1E 1B CD */ bl __nw__FUlPCcPCc -/* 80133CA4 00130C04 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133CA8 00130C08 41 82 00 0C */ beq lbl_80133CB4 -/* 80133CAC 00130C0C 48 01 29 55 */ bl __ct__7CBSJumpFv -/* 80133CB0 00130C10 7C 60 1B 78 */ mr r0, r3 -lbl_80133CB4: -/* 80133CB4 00130C14 7C 03 03 78 */ mr r3, r0 -/* 80133CB8 00130C18 48 00 01 08 */ b lbl_80133DC0 -/* 80133CBC 00130C1C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133CC0 00130C20 38 60 00 30 */ li r3, 0x30 -/* 80133CC4 00130C24 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133CC8 00130C28 38 A0 00 00 */ li r5, 0 -/* 80133CCC 00130C2C 48 1E 1B A1 */ bl __nw__FUlPCcPCc -/* 80133CD0 00130C30 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133CD4 00130C34 41 82 00 0C */ beq lbl_80133CE0 -/* 80133CD8 00130C38 48 01 18 C9 */ bl __ct__9CBSHurledFv -/* 80133CDC 00130C3C 7C 60 1B 78 */ mr r0, r3 -lbl_80133CE0: -/* 80133CE0 00130C40 7C 03 03 78 */ mr r3, r0 -/* 80133CE4 00130C44 48 00 00 DC */ b lbl_80133DC0 -/* 80133CE8 00130C48 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133CEC 00130C4C 38 60 00 08 */ li r3, 8 -/* 80133CF0 00130C50 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133CF4 00130C54 38 A0 00 00 */ li r5, 0 -/* 80133CF8 00130C58 48 1E 1B 75 */ bl __nw__FUlPCcPCc -/* 80133CFC 00130C5C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133D00 00130C60 41 82 00 0C */ beq lbl_80133D0C -/* 80133D04 00130C64 48 01 06 E5 */ bl __ct__8CBSSlideFv -/* 80133D08 00130C68 7C 60 1B 78 */ mr r0, r3 -lbl_80133D0C: -/* 80133D0C 00130C6C 7C 03 03 78 */ mr r3, r0 -/* 80133D10 00130C70 48 00 00 B0 */ b lbl_80133DC0 -/* 80133D14 00130C74 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133D18 00130C78 38 60 00 04 */ li r3, 4 -/* 80133D1C 00130C7C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133D20 00130C80 38 A0 00 00 */ li r5, 0 -/* 80133D24 00130C84 48 1E 1B 49 */ bl __nw__FUlPCcPCc -/* 80133D28 00130C88 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133D2C 00130C8C 41 82 00 0C */ beq lbl_80133D38 -/* 80133D30 00130C90 48 01 58 89 */ bl __ct__8CBSTauntFv -/* 80133D34 00130C94 7C 60 1B 78 */ mr r0, r3 -lbl_80133D38: -/* 80133D38 00130C98 7C 03 03 78 */ mr r3, r0 -/* 80133D3C 00130C9C 48 00 00 84 */ b lbl_80133DC0 -/* 80133D40 00130CA0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133D44 00130CA4 38 60 00 0C */ li r3, 0xc -/* 80133D48 00130CA8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133D4C 00130CAC 38 A0 00 00 */ li r5, 0 -/* 80133D50 00130CB0 48 1E 1B 1D */ bl __nw__FUlPCcPCc -/* 80133D54 00130CB4 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133D58 00130CB8 41 82 00 0C */ beq lbl_80133D64 -/* 80133D5C 00130CBC 48 01 76 85 */ bl __ct__11CBSScriptedFv -/* 80133D60 00130CC0 7C 60 1B 78 */ mr r0, r3 -lbl_80133D64: -/* 80133D64 00130CC4 7C 03 03 78 */ mr r3, r0 -/* 80133D68 00130CC8 48 00 00 58 */ b lbl_80133DC0 -/* 80133D6C 00130CCC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133D70 00130CD0 38 60 00 10 */ li r3, 0x10 -/* 80133D74 00130CD4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133D78 00130CD8 38 A0 00 00 */ li r5, 0 -/* 80133D7C 00130CDC 48 1E 1A F1 */ bl __nw__FUlPCcPCc -/* 80133D80 00130CE0 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133D84 00130CE4 41 82 00 0C */ beq lbl_80133D90 -/* 80133D88 00130CE8 48 04 27 11 */ bl __ct__8CBSCoverFv -/* 80133D8C 00130CEC 7C 60 1B 78 */ mr r0, r3 -lbl_80133D90: -/* 80133D90 00130CF0 7C 03 03 78 */ mr r3, r0 -/* 80133D94 00130CF4 48 00 00 2C */ b lbl_80133DC0 -/* 80133D98 00130CF8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80133D9C 00130CFC 38 60 00 1C */ li r3, 0x1c -/* 80133DA0 00130D00 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80133DA4 00130D04 38 A0 00 00 */ li r5, 0 -/* 80133DA8 00130D08 48 1E 1A C5 */ bl __nw__FUlPCcPCc -/* 80133DAC 00130D0C 7C 60 1B 79 */ or. r0, r3, r3 -/* 80133DB0 00130D10 41 82 00 0C */ beq lbl_80133DBC -/* 80133DB4 00130D14 48 05 AD 99 */ bl __ct__11CBSWallHangFv -/* 80133DB8 00130D18 7C 60 1B 78 */ mr r0, r3 -lbl_80133DBC: -/* 80133DBC 00130D1C 7C 03 03 78 */ mr r3, r0 -lbl_80133DC0: -/* 80133DC0 00130D20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80133DC4 00130D24 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80133DC8 00130D28 7C 08 03 A6 */ mtlr r0 -/* 80133DCC 00130D2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80133DD0 00130D30 4E 80 00 20 */ blr - -.global GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim -GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim: -/* 80133DD4 00130D34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80133DD8 00130D38 7C 08 02 A6 */ mflr r0 -/* 80133DDC 00130D3C 38 C0 00 00 */ li r6, 0 -/* 80133DE0 00130D40 90 01 00 14 */ stw r0, 0x14(r1) -/* 80133DE4 00130D44 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 80133DE8 00130D48 80 ED 8B 48 */ lwz r7, lbl_805A7708@sda21(r13) -/* 80133DEC 00130D4C 48 00 00 20 */ b lbl_80133E0C -lbl_80133DF0: -/* 80133DF0 00130D50 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80133DF4 00130D54 7C 00 38 00 */ cmpw r0, r7 -/* 80133DF8 00130D58 41 80 00 10 */ blt lbl_80133E08 -/* 80133DFC 00130D5C 7C A6 2B 78 */ mr r6, r5 -/* 80133E00 00130D60 80 A5 00 00 */ lwz r5, 0(r5) -/* 80133E04 00130D64 48 00 00 08 */ b lbl_80133E0C -lbl_80133E08: -/* 80133E08 00130D68 80 A5 00 04 */ lwz r5, 4(r5) -lbl_80133E0C: -/* 80133E0C 00130D6C 28 05 00 00 */ cmplwi r5, 0 -/* 80133E10 00130D70 40 82 FF E0 */ bne lbl_80133DF0 -/* 80133E14 00130D74 28 06 00 00 */ cmplwi r6, 0 -/* 80133E18 00130D78 38 A0 00 00 */ li r5, 0 -/* 80133E1C 00130D7C 41 82 00 10 */ beq lbl_80133E2C -/* 80133E20 00130D80 80 06 00 10 */ lwz r0, 0x10(r6) -/* 80133E24 00130D84 7C 07 00 00 */ cmpw r7, r0 -/* 80133E28 00130D88 40 80 00 08 */ bge lbl_80133E30 -lbl_80133E2C: -/* 80133E2C 00130D8C 38 A0 00 01 */ li r5, 1 -lbl_80133E30: -/* 80133E30 00130D90 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80133E34 00130D94 41 82 00 08 */ beq lbl_80133E3C -/* 80133E38 00130D98 38 C0 00 00 */ li r6, 0 -lbl_80133E3C: -/* 80133E3C 00130D9C 28 06 00 00 */ cmplwi r6, 0 -/* 80133E40 00130DA0 38 A3 00 08 */ addi r5, r3, 8 -/* 80133E44 00130DA4 38 00 00 00 */ li r0, 0 -/* 80133E48 00130DA8 40 82 00 0C */ bne lbl_80133E54 -/* 80133E4C 00130DAC 7C 05 28 40 */ cmplw r5, r5 -/* 80133E50 00130DB0 41 82 00 08 */ beq lbl_80133E58 -lbl_80133E54: -/* 80133E54 00130DB4 38 00 00 01 */ li r0, 1 -lbl_80133E58: -/* 80133E58 00130DB8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80133E5C 00130DBC 41 82 00 3C */ beq lbl_80133E98 -/* 80133E60 00130DC0 80 06 00 14 */ lwz r0, 0x14(r6) -/* 80133E64 00130DC4 28 00 00 00 */ cmplwi r0, 0 -/* 80133E68 00130DC8 41 82 00 30 */ beq lbl_80133E98 -/* 80133E6C 00130DCC 80 C3 00 18 */ lwz r6, 0x18(r3) -/* 80133E70 00130DD0 28 06 00 00 */ cmplwi r6, 0 -/* 80133E74 00130DD4 41 82 00 24 */ beq lbl_80133E98 -/* 80133E78 00130DD8 7C 03 03 78 */ mr r3, r0 -/* 80133E7C 00130DDC 7C 85 23 78 */ mr r5, r4 -/* 80133E80 00130DE0 81 83 00 00 */ lwz r12, 0(r3) -/* 80133E84 00130DE4 80 86 02 EC */ lwz r4, 0x2ec(r6) -/* 80133E88 00130DE8 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80133E8C 00130DEC 7D 89 03 A6 */ mtctr r12 -/* 80133E90 00130DF0 4E 80 04 21 */ bctrl -/* 80133E94 00130DF4 48 00 00 08 */ b lbl_80133E9C -lbl_80133E98: -/* 80133E98 00130DF8 C0 22 99 98 */ lfs f1, lbl_805AB6B8@sda21(r2) -lbl_80133E9C: -/* 80133E9C 00130DFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80133EA0 00130E00 7C 08 03 A6 */ mtlr r0 -/* 80133EA4 00130E04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80133EA8 00130E08 4E 80 00 20 */ blr - -.global GetMaxSpeed__14CBodyStateInfoCFv -GetMaxSpeed__14CBodyStateInfoCFv: -/* 80133EAC 00130E0C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80133EB0 00130E10 7C 08 02 A6 */ mflr r0 -/* 80133EB4 00130E14 90 01 00 24 */ stw r0, 0x24(r1) -/* 80133EB8 00130E18 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80133EBC 00130E1C F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80133EC0 00130E20 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80133EC4 00130E24 93 C1 00 08 */ stw r30, 8(r1) -/* 80133EC8 00130E28 7C 7E 1B 78 */ mr r30, r3 -/* 80133ECC 00130E2C 38 80 00 02 */ li r4, 2 -/* 80133ED0 00130E30 4B FF FF 05 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim -/* 80133ED4 00130E34 FF E0 08 90 */ fmr f31, f1 -/* 80133ED8 00130E38 C0 42 99 98 */ lfs f2, lbl_805AB6B8@sda21(r2) -/* 80133EDC 00130E3C C0 02 99 9C */ lfs f0, lbl_805AB6BC@sda21(r2) -/* 80133EE0 00130E40 EC 3F 10 28 */ fsubs f1, f31, f2 -/* 80133EE4 00130E44 FC 20 0A 10 */ fabs f1, f1 -/* 80133EE8 00130E48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80133EEC 00130E4C 40 80 00 2C */ bge lbl_80133F18 -/* 80133EF0 00130E50 3B E0 00 00 */ li r31, 0 -lbl_80133EF4: -/* 80133EF4 00130E54 7F C3 F3 78 */ mr r3, r30 -/* 80133EF8 00130E58 7F E4 FB 78 */ mr r4, r31 -/* 80133EFC 00130E5C 4B FF FE D9 */ bl GetLocomotionSpeed__14CBodyStateInfoCFQ23pas15ELocomotionAnim -/* 80133F00 00130E60 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80133F04 00130E64 40 81 00 08 */ ble lbl_80133F0C -/* 80133F08 00130E68 FF E0 08 90 */ fmr f31, f1 -lbl_80133F0C: -/* 80133F0C 00130E6C 3B FF 00 01 */ addi r31, r31, 1 -/* 80133F10 00130E70 2C 1F 00 07 */ cmpwi r31, 7 -/* 80133F14 00130E74 40 81 FF E0 */ ble lbl_80133EF4 -lbl_80133F18: -/* 80133F18 00130E78 FC 20 F8 90 */ fmr f1, f31 -/* 80133F1C 00130E7C E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80133F20 00130E80 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80133F24 00130E84 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80133F28 00130E88 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80133F2C 00130E8C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80133F30 00130E90 7C 08 03 A6 */ mtlr r0 -/* 80133F34 00130E94 38 21 00 20 */ addi r1, r1, 0x20 -/* 80133F38 00130E98 4E 80 00 20 */ blr - -.global GetCurrentAdditiveState__14CBodyStateInfoFv -GetCurrentAdditiveState__14CBodyStateInfoFv: -/* 80133F3C 00130E9C 80 03 00 20 */ lwz r0, 0x20(r3) -/* 80133F40 00130EA0 38 E0 00 00 */ li r7, 0 -/* 80133F44 00130EA4 39 00 00 00 */ li r8, 0 -/* 80133F48 00130EA8 38 A0 00 00 */ li r5, 0 -/* 80133F4C 00130EAC 7C 09 03 A6 */ mtctr r0 -/* 80133F50 00130EB0 2C 00 00 00 */ cmpwi r0, 0 -/* 80133F54 00130EB4 40 81 00 34 */ ble lbl_80133F88 -lbl_80133F58: -/* 80133F58 00130EB8 80 C3 00 28 */ lwz r6, 0x28(r3) -/* 80133F5C 00130EBC 80 83 00 2C */ lwz r4, 0x2c(r3) -/* 80133F60 00130EC0 7C 06 28 2E */ lwzx r0, r6, r5 -/* 80133F64 00130EC4 7C 04 00 00 */ cmpw r4, r0 -/* 80133F68 00130EC8 40 82 00 14 */ bne lbl_80133F7C -/* 80133F6C 00130ECC 1C 68 00 0C */ mulli r3, r8, 0xc -/* 80133F70 00130ED0 38 03 00 08 */ addi r0, r3, 8 -/* 80133F74 00130ED4 7C E6 00 2E */ lwzx r7, r6, r0 -/* 80133F78 00130ED8 48 00 00 10 */ b lbl_80133F88 -lbl_80133F7C: -/* 80133F7C 00130EDC 38 A5 00 0C */ addi r5, r5, 0xc -/* 80133F80 00130EE0 39 08 00 01 */ addi r8, r8, 1 -/* 80133F84 00130EE4 42 00 FF D4 */ bdnz lbl_80133F58 -lbl_80133F88: -/* 80133F88 00130EE8 7C E3 3B 78 */ mr r3, r7 -/* 80133F8C 00130EEC 4E 80 00 20 */ blr - -.global SetAdditiveState__14CBodyStateInfoFQ23pas15EAnimationState -SetAdditiveState__14CBodyStateInfoFQ23pas15EAnimationState: -/* 80133F90 00130EF0 80 03 00 20 */ lwz r0, 0x20(r3) -/* 80133F94 00130EF4 38 C0 00 00 */ li r6, 0 -/* 80133F98 00130EF8 7C 09 03 A6 */ mtctr r0 -/* 80133F9C 00130EFC 2C 00 00 00 */ cmpwi r0, 0 -/* 80133FA0 00130F00 4C 81 00 20 */ blelr -lbl_80133FA4: -/* 80133FA4 00130F04 80 A3 00 28 */ lwz r5, 0x28(r3) -/* 80133FA8 00130F08 7C 05 30 2E */ lwzx r0, r5, r6 -/* 80133FAC 00130F0C 7C 04 00 00 */ cmpw r4, r0 -/* 80133FB0 00130F10 40 82 00 0C */ bne lbl_80133FBC -/* 80133FB4 00130F14 90 83 00 2C */ stw r4, 0x2c(r3) -/* 80133FB8 00130F18 4E 80 00 20 */ blr -lbl_80133FBC: -/* 80133FBC 00130F1C 38 C6 00 0C */ addi r6, r6, 0xc -/* 80133FC0 00130F20 42 00 FF E4 */ bdnz lbl_80133FA4 - -.global sub_80133fc4 -sub_80133fc4: -/* 80133FC4 00130F24 4E 80 00 20 */ blr - -.global ApplyHeadTracking__14CBodyStateInfoCFv -ApplyHeadTracking__14CBodyStateInfoCFv: -/* 80133FC8 00130F28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80133FCC 00130F2C 7C 08 02 A6 */ mflr r0 -/* 80133FD0 00130F30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80133FD4 00130F34 80 03 00 14 */ lwz r0, 0x14(r3) -/* 80133FD8 00130F38 2C 00 FF FF */ cmpwi r0, -1 -/* 80133FDC 00130F3C 41 82 00 1C */ beq lbl_80133FF8 -/* 80133FE0 00130F40 48 00 00 99 */ bl GetCurrentState__14CBodyStateInfoCFv -/* 80133FE4 00130F44 81 83 00 00 */ lwz r12, 0(r3) -/* 80133FE8 00130F48 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80133FEC 00130F4C 7D 89 03 A6 */ mtctr r12 -/* 80133FF0 00130F50 4E 80 04 21 */ bctrl -/* 80133FF4 00130F54 48 00 00 08 */ b lbl_80133FFC -lbl_80133FF8: -/* 80133FF8 00130F58 38 60 00 00 */ li r3, 0 -lbl_80133FFC: -/* 80133FFC 00130F5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80134000 00130F60 7C 08 03 A6 */ mtlr r0 -/* 80134004 00130F64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80134008 00130F68 4E 80 00 20 */ blr - -.global ApplyHeadTracking__10CBodyStateCFv -ApplyHeadTracking__10CBodyStateCFv: -/* 8013400C 00130F6C 38 60 00 01 */ li r3, 1 -/* 80134010 00130F70 4E 80 00 20 */ blr - -.global GetCurrentState__14CBodyStateInfoFv -GetCurrentState__14CBodyStateInfoFv: -/* 80134014 00130F74 80 83 00 14 */ lwz r4, 0x14(r3) -/* 80134018 00130F78 38 A0 00 00 */ li r5, 0 -/* 8013401C 00130F7C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80134020 00130F80 48 00 00 20 */ b lbl_80134040 -lbl_80134024: -/* 80134024 00130F84 80 03 00 10 */ lwz r0, 0x10(r3) -/* 80134028 00130F88 7C 00 20 00 */ cmpw r0, r4 -/* 8013402C 00130F8C 41 80 00 10 */ blt lbl_8013403C -/* 80134030 00130F90 7C 65 1B 78 */ mr r5, r3 -/* 80134034 00130F94 80 63 00 00 */ lwz r3, 0(r3) -/* 80134038 00130F98 48 00 00 08 */ b lbl_80134040 -lbl_8013403C: -/* 8013403C 00130F9C 80 63 00 04 */ lwz r3, 4(r3) -lbl_80134040: -/* 80134040 00130FA0 28 03 00 00 */ cmplwi r3, 0 -/* 80134044 00130FA4 40 82 FF E0 */ bne lbl_80134024 -/* 80134048 00130FA8 28 05 00 00 */ cmplwi r5, 0 -/* 8013404C 00130FAC 38 60 00 00 */ li r3, 0 -/* 80134050 00130FB0 41 82 00 10 */ beq lbl_80134060 -/* 80134054 00130FB4 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80134058 00130FB8 7C 04 00 00 */ cmpw r4, r0 -/* 8013405C 00130FBC 40 80 00 08 */ bge lbl_80134064 -lbl_80134060: -/* 80134060 00130FC0 38 60 00 01 */ li r3, 1 -lbl_80134064: -/* 80134064 00130FC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80134068 00130FC8 41 82 00 08 */ beq lbl_80134070 -/* 8013406C 00130FCC 38 A0 00 00 */ li r5, 0 -lbl_80134070: -/* 80134070 00130FD0 80 65 00 14 */ lwz r3, 0x14(r5) -/* 80134074 00130FD4 4E 80 00 20 */ blr - -.global GetCurrentState__14CBodyStateInfoCFv -GetCurrentState__14CBodyStateInfoCFv: -/* 80134078 00130FD8 80 83 00 14 */ lwz r4, 0x14(r3) -/* 8013407C 00130FDC 38 A0 00 00 */ li r5, 0 -/* 80134080 00130FE0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80134084 00130FE4 48 00 00 20 */ b lbl_801340A4 -lbl_80134088: -/* 80134088 00130FE8 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8013408C 00130FEC 7C 00 20 00 */ cmpw r0, r4 -/* 80134090 00130FF0 41 80 00 10 */ blt lbl_801340A0 -/* 80134094 00130FF4 7C 65 1B 78 */ mr r5, r3 -/* 80134098 00130FF8 80 63 00 00 */ lwz r3, 0(r3) -/* 8013409C 00130FFC 48 00 00 08 */ b lbl_801340A4 -lbl_801340A0: -/* 801340A0 00131000 80 63 00 04 */ lwz r3, 4(r3) -lbl_801340A4: -/* 801340A4 00131004 28 03 00 00 */ cmplwi r3, 0 -/* 801340A8 00131008 40 82 FF E0 */ bne lbl_80134088 -/* 801340AC 0013100C 28 05 00 00 */ cmplwi r5, 0 -/* 801340B0 00131010 38 60 00 00 */ li r3, 0 -/* 801340B4 00131014 41 82 00 10 */ beq lbl_801340C4 -/* 801340B8 00131018 80 05 00 10 */ lwz r0, 0x10(r5) -/* 801340BC 0013101C 7C 04 00 00 */ cmpw r4, r0 -/* 801340C0 00131020 40 80 00 08 */ bge lbl_801340C8 -lbl_801340C4: -/* 801340C4 00131024 38 60 00 01 */ li r3, 1 -lbl_801340C8: -/* 801340C8 00131028 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801340CC 0013102C 41 82 00 08 */ beq lbl_801340D4 -/* 801340D0 00131030 38 A0 00 00 */ li r5, 0 -lbl_801340D4: -/* 801340D4 00131034 80 65 00 14 */ lwz r3, 0x14(r5) -/* 801340D8 00131038 4E 80 00 20 */ blr - -.global SetState__14CBodyStateInfoFQ23pas15EAnimationState -SetState__14CBodyStateInfoFQ23pas15EAnimationState: -/* 801340DC 0013103C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801340E0 00131040 38 C0 00 00 */ li r6, 0 -/* 801340E4 00131044 80 A3 00 10 */ lwz r5, 0x10(r3) -/* 801340E8 00131048 48 00 00 20 */ b lbl_80134108 -lbl_801340EC: -/* 801340EC 0013104C 80 05 00 10 */ lwz r0, 0x10(r5) -/* 801340F0 00131050 7C 00 20 00 */ cmpw r0, r4 -/* 801340F4 00131054 41 80 00 10 */ blt lbl_80134104 -/* 801340F8 00131058 7C A6 2B 78 */ mr r6, r5 -/* 801340FC 0013105C 80 A5 00 00 */ lwz r5, 0(r5) -/* 80134100 00131060 48 00 00 08 */ b lbl_80134108 -lbl_80134104: -/* 80134104 00131064 80 A5 00 04 */ lwz r5, 4(r5) -lbl_80134108: -/* 80134108 00131068 28 05 00 00 */ cmplwi r5, 0 -/* 8013410C 0013106C 40 82 FF E0 */ bne lbl_801340EC -/* 80134110 00131070 28 06 00 00 */ cmplwi r6, 0 -/* 80134114 00131074 38 A0 00 00 */ li r5, 0 -/* 80134118 00131078 41 82 00 10 */ beq lbl_80134128 -/* 8013411C 0013107C 80 06 00 10 */ lwz r0, 0x10(r6) -/* 80134120 00131080 7C 04 00 00 */ cmpw r4, r0 -/* 80134124 00131084 40 80 00 08 */ bge lbl_8013412C -lbl_80134128: -/* 80134128 00131088 38 A0 00 01 */ li r5, 1 -lbl_8013412C: -/* 8013412C 0013108C 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80134130 00131090 41 82 00 08 */ beq lbl_80134138 -/* 80134134 00131094 38 C0 00 00 */ li r6, 0 -lbl_80134138: -/* 80134138 00131098 38 00 00 00 */ li r0, 0 -/* 8013413C 0013109C 38 A3 00 08 */ addi r5, r3, 8 -/* 80134140 001310A0 7C 06 00 40 */ cmplw r6, r0 -/* 80134144 001310A4 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80134148 001310A8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8013414C 001310AC 90 01 00 08 */ stw r0, 8(r1) -/* 80134150 001310B0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80134154 001310B4 40 82 00 0C */ bne lbl_80134160 -/* 80134158 001310B8 7C 05 28 40 */ cmplw r5, r5 -/* 8013415C 001310BC 41 82 00 08 */ beq lbl_80134164 -lbl_80134160: -/* 80134160 001310C0 38 00 00 01 */ li r0, 1 -lbl_80134164: -/* 80134164 001310C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80134168 001310C8 41 82 00 08 */ beq lbl_80134170 -/* 8013416C 001310CC 90 83 00 14 */ stw r4, 0x14(r3) -lbl_80134170: -/* 80134170 001310D0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80134174 001310D4 4E 80 00 20 */ blr - -.global __dt__14CBodyStateInfoFv -__dt__14CBodyStateInfoFv: -/* 80134178 001310D8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8013417C 001310DC 7C 08 02 A6 */ mflr r0 -/* 80134180 001310E0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80134184 001310E4 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80134188 001310E8 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8013418C 001310EC 7C 9C 23 78 */ mr r28, r4 -/* 80134190 001310F0 41 82 00 BC */ beq lbl_8013424C -/* 80134194 001310F4 3B DB 00 08 */ addi r30, r27, 8 -/* 80134198 001310F8 3B E0 00 00 */ li r31, 0 -/* 8013419C 001310FC 93 C1 00 0C */ stw r30, 0xc(r1) -/* 801341A0 00131100 83 BB 00 08 */ lwz r29, 8(r27) -/* 801341A4 00131104 93 E1 00 08 */ stw r31, 8(r1) -/* 801341A8 00131108 48 00 00 34 */ b lbl_801341DC -lbl_801341AC: -/* 801341AC 0013110C 80 7D 00 14 */ lwz r3, 0x14(r29) -/* 801341B0 00131110 28 03 00 00 */ cmplwi r3, 0 -/* 801341B4 00131114 41 82 00 18 */ beq lbl_801341CC -/* 801341B8 00131118 81 83 00 00 */ lwz r12, 0(r3) -/* 801341BC 0013111C 38 80 00 01 */ li r4, 1 -/* 801341C0 00131120 81 8C 00 08 */ lwz r12, 8(r12) -/* 801341C4 00131124 7D 89 03 A6 */ mtctr r12 -/* 801341C8 00131128 4E 80 04 21 */ bctrl -lbl_801341CC: -/* 801341CC 0013112C 7F C3 F3 78 */ mr r3, r30 -/* 801341D0 00131130 7F A4 EB 78 */ mr r4, r29 -/* 801341D4 00131134 48 20 84 0D */ bl rbtree_traverse_forward__4rstlFPCvPv -/* 801341D8 00131138 7C 7D 1B 78 */ mr r29, r3 -lbl_801341DC: -/* 801341DC 0013113C 7C 1D F8 40 */ cmplw r29, r31 -/* 801341E0 00131140 7F E0 FB 78 */ mr r0, r31 -/* 801341E4 00131144 40 82 00 0C */ bne lbl_801341F0 -/* 801341E8 00131148 7C 1E F0 40 */ cmplw r30, r30 -/* 801341EC 0013114C 41 82 00 08 */ beq lbl_801341F4 -lbl_801341F0: -/* 801341F0 00131150 38 00 00 01 */ li r0, 1 -lbl_801341F4: -/* 801341F4 00131154 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 801341F8 00131158 40 82 FF B4 */ bne lbl_801341AC -/* 801341FC 0013115C 38 7B 00 1C */ addi r3, r27, 0x1c -/* 80134200 00131160 38 80 FF FF */ li r4, -1 -/* 80134204 00131164 48 00 00 61 */ bl sub_80134264 -/* 80134208 00131168 28 1B 00 00 */ cmplwi r27, 0 -/* 8013420C 0013116C 41 82 00 30 */ beq lbl_8013423C -/* 80134210 00131170 41 82 00 2C */ beq lbl_8013423C -/* 80134214 00131174 80 9B 00 10 */ lwz r4, 0x10(r27) -/* 80134218 00131178 28 04 00 00 */ cmplwi r4, 0 -/* 8013421C 0013117C 41 82 00 0C */ beq lbl_80134228 -/* 80134220 00131180 7F 63 DB 78 */ mr r3, r27 -/* 80134224 00131184 48 00 07 DD */ bl sub_80134a00 -lbl_80134228: -/* 80134228 00131188 38 00 00 00 */ li r0, 0 -/* 8013422C 0013118C 90 1B 00 10 */ stw r0, 0x10(r27) -/* 80134230 00131190 90 1B 00 08 */ stw r0, 8(r27) -/* 80134234 00131194 90 1B 00 0C */ stw r0, 0xc(r27) -/* 80134238 00131198 90 1B 00 04 */ stw r0, 4(r27) -lbl_8013423C: -/* 8013423C 0013119C 7F 80 07 35 */ extsh. r0, r28 -/* 80134240 001311A0 40 81 00 0C */ ble lbl_8013424C -/* 80134244 001311A4 7F 63 DB 78 */ mr r3, r27 -/* 80134248 001311A8 48 1E 16 E9 */ bl Free__7CMemoryFPCv -lbl_8013424C: -/* 8013424C 001311AC 7F 63 DB 78 */ mr r3, r27 -/* 80134250 001311B0 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80134254 001311B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80134258 001311B8 7C 08 03 A6 */ mtlr r0 -/* 8013425C 001311BC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80134260 001311C0 4E 80 00 20 */ blr - -.global sub_80134264 -sub_80134264: -/* 80134264 001311C4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80134268 001311C8 7C 08 02 A6 */ mflr r0 -/* 8013426C 001311CC 90 01 00 34 */ stw r0, 0x34(r1) -/* 80134270 001311D0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80134274 001311D4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80134278 001311D8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8013427C 001311DC 7C 9D 23 78 */ mr r29, r4 -/* 80134280 001311E0 93 81 00 20 */ stw r28, 0x20(r1) -/* 80134284 001311E4 7C 7C 1B 79 */ or. r28, r3, r3 -/* 80134288 001311E8 41 82 00 90 */ beq lbl_80134318 -/* 8013428C 001311EC 80 1C 00 04 */ lwz r0, 4(r28) -/* 80134290 001311F0 83 DC 00 0C */ lwz r30, 0xc(r28) -/* 80134294 001311F4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80134298 001311F8 93 C1 00 10 */ stw r30, 0x10(r1) -/* 8013429C 001311FC 7F FE 02 14 */ add r31, r30, r0 -/* 801342A0 00131200 93 C1 00 14 */ stw r30, 0x14(r1) -/* 801342A4 00131204 93 E1 00 08 */ stw r31, 8(r1) -/* 801342A8 00131208 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801342AC 0013120C 48 00 00 44 */ b lbl_801342F0 -lbl_801342B0: -/* 801342B0 00131210 28 1E 00 00 */ cmplwi r30, 0 -/* 801342B4 00131214 41 82 00 38 */ beq lbl_801342EC -/* 801342B8 00131218 34 1E 00 04 */ addic. r0, r30, 4 -/* 801342BC 0013121C 41 82 00 30 */ beq lbl_801342EC -/* 801342C0 00131220 88 1E 00 04 */ lbz r0, 4(r30) -/* 801342C4 00131224 28 00 00 00 */ cmplwi r0, 0 -/* 801342C8 00131228 41 82 00 24 */ beq lbl_801342EC -/* 801342CC 0013122C 80 7E 00 08 */ lwz r3, 8(r30) -/* 801342D0 00131230 28 03 00 00 */ cmplwi r3, 0 -/* 801342D4 00131234 41 82 00 18 */ beq lbl_801342EC -/* 801342D8 00131238 81 83 00 00 */ lwz r12, 0(r3) -/* 801342DC 0013123C 38 80 00 01 */ li r4, 1 -/* 801342E0 00131240 81 8C 00 08 */ lwz r12, 8(r12) -/* 801342E4 00131244 7D 89 03 A6 */ mtctr r12 -/* 801342E8 00131248 4E 80 04 21 */ bctrl -lbl_801342EC: -/* 801342EC 0013124C 3B DE 00 0C */ addi r30, r30, 0xc -lbl_801342F0: -/* 801342F0 00131250 7C 1E F8 40 */ cmplw r30, r31 -/* 801342F4 00131254 40 82 FF BC */ bne lbl_801342B0 -/* 801342F8 00131258 80 7C 00 0C */ lwz r3, 0xc(r28) -/* 801342FC 0013125C 28 03 00 00 */ cmplwi r3, 0 -/* 80134300 00131260 41 82 00 08 */ beq lbl_80134308 -/* 80134304 00131264 48 1E 16 2D */ bl Free__7CMemoryFPCv -lbl_80134308: -/* 80134308 00131268 7F A0 07 35 */ extsh. r0, r29 -/* 8013430C 0013126C 40 81 00 0C */ ble lbl_80134318 -/* 80134310 00131270 7F 83 E3 78 */ mr r3, r28 -/* 80134314 00131274 48 1E 16 1D */ bl Free__7CMemoryFPCv -lbl_80134318: -/* 80134318 00131278 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8013431C 0013127C 7F 83 E3 78 */ mr r3, r28 -/* 80134320 00131280 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80134324 00131284 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80134328 00131288 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8013432C 0013128C 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80134330 00131290 7C 08 03 A6 */ mtlr r0 -/* 80134334 00131294 38 21 00 30 */ addi r1, r1, 0x30 -/* 80134338 00131298 4E 80 00 20 */ blr - -.global __dt__18CAdditiveBodyStateFv -__dt__18CAdditiveBodyStateFv: -/* 8013433C 0013129C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80134340 001312A0 7C 08 02 A6 */ mflr r0 -/* 80134344 001312A4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80134348 001312A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013434C 001312AC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80134350 001312B0 41 82 00 1C */ beq lbl_8013436C -/* 80134354 001312B4 3C A0 80 3E */ lis r5, lbl_803E1350@ha -/* 80134358 001312B8 7C 80 07 35 */ extsh. r0, r4 -/* 8013435C 001312BC 38 05 13 50 */ addi r0, r5, lbl_803E1350@l -/* 80134360 001312C0 90 1F 00 00 */ stw r0, 0(r31) -/* 80134364 001312C4 40 81 00 08 */ ble lbl_8013436C -/* 80134368 001312C8 48 1E 15 C9 */ bl Free__7CMemoryFPCv -lbl_8013436C: -/* 8013436C 001312CC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80134370 001312D0 7F E3 FB 78 */ mr r3, r31 -/* 80134374 001312D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80134378 001312D8 7C 08 03 A6 */ mtlr r0 -/* 8013437C 001312DC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80134380 001312E0 4E 80 00 20 */ blr - -.global __ct__14CBodyStateInfoFR6CActor9EBodyType -__ct__14CBodyStateInfoFR6CActor9EBodyType: -/* 80134384 001312E4 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80134388 001312E8 7C 08 02 A6 */ mflr r0 -/* 8013438C 001312EC 38 C0 00 00 */ li r6, 0 -/* 80134390 001312F0 C0 02 99 98 */ lfs f0, lbl_805AB6B8@sda21(r2) -/* 80134394 001312F4 90 01 00 94 */ stw r0, 0x94(r1) -/* 80134398 001312F8 88 01 00 08 */ lbz r0, 8(r1) -/* 8013439C 001312FC BF 41 00 78 */ stmw r26, 0x78(r1) -/* 801343A0 00131300 7C 7F 1B 78 */ mr r31, r3 -/* 801343A4 00131304 88 E1 00 0C */ lbz r7, 0xc(r1) -/* 801343A8 00131308 7C 9A 23 78 */ mr r26, r4 -/* 801343AC 0013130C 7C BB 2B 78 */ mr r27, r5 -/* 801343B0 00131310 3B 80 00 00 */ li r28, 0 -/* 801343B4 00131314 98 03 00 00 */ stb r0, 0(r3) -/* 801343B8 00131318 38 60 FF FF */ li r3, -1 -/* 801343BC 0013131C 38 00 00 15 */ li r0, 0x15 -/* 801343C0 00131320 98 FF 00 01 */ stb r7, 1(r31) -/* 801343C4 00131324 90 DF 00 04 */ stw r6, 4(r31) -/* 801343C8 00131328 90 DF 00 08 */ stw r6, 8(r31) -/* 801343CC 0013132C 90 DF 00 0C */ stw r6, 0xc(r31) -/* 801343D0 00131330 90 DF 00 10 */ stw r6, 0x10(r31) -/* 801343D4 00131334 90 7F 00 14 */ stw r3, 0x14(r31) -/* 801343D8 00131338 90 DF 00 18 */ stw r6, 0x18(r31) -/* 801343DC 0013133C 90 DF 00 20 */ stw r6, 0x20(r31) -/* 801343E0 00131340 90 DF 00 24 */ stw r6, 0x24(r31) -/* 801343E4 00131344 90 DF 00 28 */ stw r6, 0x28(r31) -/* 801343E8 00131348 90 1F 00 2C */ stw r0, 0x2c(r31) -/* 801343EC 0013134C D0 1F 00 30 */ stfs f0, 0x30(r31) -/* 801343F0 00131350 88 1F 00 34 */ lbz r0, 0x34(r31) -/* 801343F4 00131354 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 -/* 801343F8 00131358 98 1F 00 34 */ stb r0, 0x34(r31) -/* 801343FC 0013135C 80 64 00 64 */ lwz r3, 0x64(r4) -/* 80134400 00131360 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80134404 00131364 3B A3 00 3C */ addi r29, r3, 0x3c -/* 80134408 00131368 48 00 01 1C */ b lbl_80134524 -lbl_8013440C: -/* 8013440C 0013136C 7F A3 EB 78 */ mr r3, r29 -/* 80134410 00131370 7F 84 E3 78 */ mr r4, r28 -/* 80134414 00131374 48 1B 0A A1 */ bl GetAnimStateByIndex__12CPASDatabaseCFi -/* 80134418 00131378 28 1B 00 07 */ cmplwi r27, 7 -/* 8013441C 0013137C 7C 7E 1B 78 */ mr r30, r3 -/* 80134420 00131380 41 81 00 C4 */ bgt lbl_801344E4 -/* 80134424 00131384 3C 60 80 3E */ lis r3, lbl_803E12F8@ha -/* 80134428 00131388 57 60 10 3A */ slwi r0, r27, 2 -/* 8013442C 0013138C 38 63 12 F8 */ addi r3, r3, lbl_803E12F8@l -/* 80134430 00131390 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80134434 00131394 7C 09 03 A6 */ mtctr r0 -/* 80134438 00131398 4E 80 04 20 */ bctr -/* 8013443C 0013139C 80 9E 00 00 */ lwz r4, 0(r30) -/* 80134440 001313A0 7F E3 FB 78 */ mr r3, r31 -/* 80134444 001313A4 7F 45 D3 78 */ mr r5, r26 -/* 80134448 001313A8 4B FF F5 A1 */ bl SetupBiPedalBodyStates__14CBodyStateInfoFiR6CActor -/* 8013444C 001313AC 7C 65 1B 78 */ mr r5, r3 -/* 80134450 001313B0 48 00 00 A8 */ b lbl_801344F8 -/* 80134454 001313B4 80 9E 00 00 */ lwz r4, 0(r30) -/* 80134458 001313B8 7F E3 FB 78 */ mr r3, r31 -/* 8013445C 001313BC 7F 45 D3 78 */ mr r5, r26 -/* 80134460 001313C0 4B FF F1 C9 */ bl SetupRestrictedBodyStates__14CBodyStateInfoFiR6CActor -/* 80134464 001313C4 7C 65 1B 78 */ mr r5, r3 -/* 80134468 001313C8 48 00 00 90 */ b lbl_801344F8 -/* 8013446C 001313CC 80 9E 00 00 */ lwz r4, 0(r30) -/* 80134470 001313D0 7F E3 FB 78 */ mr r3, r31 -/* 80134474 001313D4 7F 45 D3 78 */ mr r5, r26 -/* 80134478 001313D8 4B FF EE 19 */ bl SetupFlyerBodyStates__14CBodyStateInfoFiR6CActor -/* 8013447C 001313DC 7C 65 1B 78 */ mr r5, r3 -/* 80134480 001313E0 48 00 00 78 */ b lbl_801344F8 -/* 80134484 001313E4 80 9E 00 00 */ lwz r4, 0(r30) -/* 80134488 001313E8 7F E3 FB 78 */ mr r3, r31 -/* 8013448C 001313EC 7F 45 D3 78 */ mr r5, r26 -/* 80134490 001313F0 4B FF EA 69 */ bl SetupPitchableFlyerBodyStates__14CBodyStateInfoFiR6CActor -/* 80134494 001313F4 7C 65 1B 78 */ mr r5, r3 -/* 80134498 001313F8 48 00 00 60 */ b lbl_801344F8 -/* 8013449C 001313FC 80 9E 00 00 */ lwz r4, 0(r30) -/* 801344A0 00131400 7F E3 FB 78 */ mr r3, r31 -/* 801344A4 00131404 7F 45 D3 78 */ mr r5, r26 -/* 801344A8 00131408 4B FF E6 BD */ bl SetupWallWalkerBodyStates__14CBodyStateInfoFiR6CActor -/* 801344AC 0013140C 7C 65 1B 78 */ mr r5, r3 -/* 801344B0 00131410 48 00 00 48 */ b lbl_801344F8 -/* 801344B4 00131414 80 9E 00 00 */ lwz r4, 0(r30) -/* 801344B8 00131418 7F E3 FB 78 */ mr r3, r31 -/* 801344BC 0013141C 7F 45 D3 78 */ mr r5, r26 -/* 801344C0 00131420 4B FF E3 11 */ bl SetupNewFlyerBodyStates__14CBodyStateInfoFiR6CActor -/* 801344C4 00131424 7C 65 1B 78 */ mr r5, r3 -/* 801344C8 00131428 48 00 00 30 */ b lbl_801344F8 -/* 801344CC 0013142C 80 9E 00 00 */ lwz r4, 0(r30) -/* 801344D0 00131430 7F E3 FB 78 */ mr r3, r31 -/* 801344D4 00131434 7F 45 D3 78 */ mr r5, r26 -/* 801344D8 00131438 4B FF DF 65 */ bl SetupRestrictedFlyerBodyStates__14CBodyStateInfoFiR6CActor -/* 801344DC 0013143C 7C 65 1B 78 */ mr r5, r3 -/* 801344E0 00131440 48 00 00 18 */ b lbl_801344F8 -lbl_801344E4: -/* 801344E4 00131444 80 9E 00 00 */ lwz r4, 0(r30) -/* 801344E8 00131448 7F E3 FB 78 */ mr r3, r31 -/* 801344EC 0013144C 7F 45 D3 78 */ mr r5, r26 -/* 801344F0 00131450 4B FF F1 39 */ bl SetupRestrictedBodyStates__14CBodyStateInfoFiR6CActor -/* 801344F4 00131454 7C 65 1B 78 */ mr r5, r3 -lbl_801344F8: -/* 801344F8 00131458 28 05 00 00 */ cmplwi r5, 0 -/* 801344FC 0013145C 41 82 00 24 */ beq lbl_80134520 -/* 80134500 00131460 80 1E 00 00 */ lwz r0, 0(r30) -/* 80134504 00131464 7F E4 FB 78 */ mr r4, r31 -/* 80134508 00131468 38 61 00 68 */ addi r3, r1, 0x68 -/* 8013450C 0013146C 38 C1 00 30 */ addi r6, r1, 0x30 -/* 80134510 00131470 90 01 00 30 */ stw r0, 0x30(r1) -/* 80134514 00131474 90 A1 00 34 */ stw r5, 0x34(r1) -/* 80134518 00131478 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 8013451C 0013147C 48 00 05 4D */ bl "insert_into__Q24rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>FPQ34rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>4nodeRCQ24rstl21pair" -lbl_80134520: -/* 80134520 00131480 3B 9C 00 01 */ addi r28, r28, 1 -lbl_80134524: -/* 80134524 00131484 7F A3 EB 78 */ mr r3, r29 -/* 80134528 00131488 48 1B 0B 31 */ bl GetNumAnimStates__12CPASDatabaseCFv -/* 8013452C 0013148C 7C 1C 18 40 */ cmplw r28, r3 -/* 80134530 00131490 41 80 FE DC */ blt lbl_8013440C -/* 80134534 00131494 38 7F 00 1C */ addi r3, r31, 0x1c -/* 80134538 00131498 38 80 00 04 */ li r4, 4 -/* 8013453C 0013149C 48 00 07 65 */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" -/* 80134540 001314A0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80134544 001314A4 38 60 00 04 */ li r3, 4 -/* 80134548 001314A8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 8013454C 001314AC 38 A0 00 00 */ li r5, 0 -/* 80134550 001314B0 48 1E 13 1D */ bl __nw__FUlPCcPCc -/* 80134554 001314B4 28 03 00 00 */ cmplwi r3, 0 -/* 80134558 001314B8 41 82 00 1C */ beq lbl_80134574 -/* 8013455C 001314BC 3C A0 80 3E */ lis r5, lbl_803E1350@ha -/* 80134560 001314C0 3C 80 80 3E */ lis r4, lbl_803E5C60@ha -/* 80134564 001314C4 38 05 13 50 */ addi r0, r5, lbl_803E1350@l -/* 80134568 001314C8 90 03 00 00 */ stw r0, 0(r3) -/* 8013456C 001314CC 38 04 5C 60 */ addi r0, r4, lbl_803E5C60@l -/* 80134570 001314D0 90 03 00 00 */ stw r0, 0(r3) -lbl_80134574: -/* 80134574 001314D4 7C 83 00 D0 */ neg r4, r3 -/* 80134578 001314D8 80 0D 8B 38 */ lwz r0, lbl_805A76F8@sda21(r13) -/* 8013457C 001314DC 7C 84 1B 78 */ or r4, r4, r3 -/* 80134580 001314E0 90 61 00 64 */ stw r3, 0x64(r1) -/* 80134584 001314E4 54 85 0F FE */ srwi r5, r4, 0x1f -/* 80134588 001314E8 38 80 00 00 */ li r4, 0 -/* 8013458C 001314EC 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80134590 001314F0 3B 41 00 60 */ addi r26, r1, 0x60 -/* 80134594 001314F4 98 A1 00 60 */ stb r5, 0x60(r1) -/* 80134598 001314F8 98 A1 00 28 */ stb r5, 0x28(r1) -/* 8013459C 001314FC 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 801345A0 00131500 80 BF 00 24 */ lwz r5, 0x24(r31) -/* 801345A4 00131504 90 61 00 2C */ stw r3, 0x2c(r1) -/* 801345A8 00131508 7C 00 28 00 */ cmpw r0, r5 -/* 801345AC 0013150C 98 81 00 28 */ stb r4, 0x28(r1) -/* 801345B0 00131510 41 80 00 1C */ blt lbl_801345CC -/* 801345B4 00131514 2C 05 00 00 */ cmpwi r5, 0 -/* 801345B8 00131518 38 7F 00 1C */ addi r3, r31, 0x1c -/* 801345BC 0013151C 38 80 00 04 */ li r4, 4 -/* 801345C0 00131520 41 82 00 08 */ beq lbl_801345C8 -/* 801345C4 00131524 54 A4 08 3C */ slwi r4, r5, 1 -lbl_801345C8: -/* 801345C8 00131528 48 00 06 D9 */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" -lbl_801345CC: -/* 801345CC 0013152C 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 801345D0 00131530 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 801345D4 00131534 1C 00 00 0C */ mulli r0, r0, 0xc -/* 801345D8 00131538 7C 83 02 15 */ add. r4, r3, r0 -/* 801345DC 0013153C 41 82 00 24 */ beq lbl_80134600 -/* 801345E0 00131540 80 61 00 5C */ lwz r3, 0x5c(r1) -/* 801345E4 00131544 38 00 00 00 */ li r0, 0 -/* 801345E8 00131548 90 64 00 00 */ stw r3, 0(r4) -/* 801345EC 0013154C 88 61 00 60 */ lbz r3, 0x60(r1) -/* 801345F0 00131550 98 64 00 04 */ stb r3, 4(r4) -/* 801345F4 00131554 80 61 00 64 */ lwz r3, 0x64(r1) -/* 801345F8 00131558 90 64 00 08 */ stw r3, 8(r4) -/* 801345FC 0013155C 98 01 00 60 */ stb r0, 0x60(r1) -lbl_80134600: -/* 80134600 00131560 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80134604 00131564 28 1A 00 00 */ cmplwi r26, 0 -/* 80134608 00131568 38 03 00 01 */ addi r0, r3, 1 -/* 8013460C 0013156C 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80134610 00131570 41 82 00 30 */ beq lbl_80134640 -/* 80134614 00131574 88 01 00 60 */ lbz r0, 0x60(r1) -/* 80134618 00131578 28 00 00 00 */ cmplwi r0, 0 -/* 8013461C 0013157C 41 82 00 24 */ beq lbl_80134640 -/* 80134620 00131580 80 61 00 64 */ lwz r3, 0x64(r1) -/* 80134624 00131584 28 03 00 00 */ cmplwi r3, 0 -/* 80134628 00131588 41 82 00 18 */ beq lbl_80134640 -/* 8013462C 0013158C 81 83 00 00 */ lwz r12, 0(r3) -/* 80134630 00131590 38 80 00 01 */ li r4, 1 -/* 80134634 00131594 81 8C 00 08 */ lwz r12, 8(r12) -/* 80134638 00131598 7D 89 03 A6 */ mtctr r12 -/* 8013463C 0013159C 4E 80 04 21 */ bctrl -lbl_80134640: -/* 80134640 001315A0 88 01 00 28 */ lbz r0, 0x28(r1) -/* 80134644 001315A4 28 00 00 00 */ cmplwi r0, 0 -/* 80134648 001315A8 41 82 00 24 */ beq lbl_8013466C -/* 8013464C 001315AC 80 61 00 2C */ lwz r3, 0x2c(r1) -/* 80134650 001315B0 28 03 00 00 */ cmplwi r3, 0 -/* 80134654 001315B4 41 82 00 18 */ beq lbl_8013466C -/* 80134658 001315B8 81 83 00 00 */ lwz r12, 0(r3) -/* 8013465C 001315BC 38 80 00 01 */ li r4, 1 -/* 80134660 001315C0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80134664 001315C4 7D 89 03 A6 */ mtctr r12 -/* 80134668 001315C8 4E 80 04 21 */ bctrl -lbl_8013466C: -/* 8013466C 001315CC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80134670 001315D0 38 60 00 38 */ li r3, 0x38 -/* 80134674 001315D4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80134678 001315D8 38 A0 00 00 */ li r5, 0 -/* 8013467C 001315DC 48 1E 11 F1 */ bl __nw__FUlPCcPCc -/* 80134680 001315E0 7C 65 1B 79 */ or. r5, r3, r3 -/* 80134684 001315E4 41 82 00 0C */ beq lbl_80134690 -/* 80134688 001315E8 48 0A 5D E1 */ bl __ct__7CABSAimFv -/* 8013468C 001315EC 7C 65 1B 78 */ mr r5, r3 -lbl_80134690: -/* 80134690 001315F0 7C 65 00 D0 */ neg r3, r5 -/* 80134694 001315F4 80 0D 8B 3C */ lwz r0, lbl_805A76FC@sda21(r13) -/* 80134698 001315F8 7C 63 2B 78 */ or r3, r3, r5 -/* 8013469C 001315FC 90 A1 00 58 */ stw r5, 0x58(r1) -/* 801346A0 00131600 54 64 0F FE */ srwi r4, r3, 0x1f -/* 801346A4 00131604 38 60 00 00 */ li r3, 0 -/* 801346A8 00131608 90 01 00 50 */ stw r0, 0x50(r1) -/* 801346AC 0013160C 3B 41 00 54 */ addi r26, r1, 0x54 -/* 801346B0 00131610 98 81 00 54 */ stb r4, 0x54(r1) -/* 801346B4 00131614 98 81 00 20 */ stb r4, 0x20(r1) -/* 801346B8 00131618 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 801346BC 0013161C 80 DF 00 24 */ lwz r6, 0x24(r31) -/* 801346C0 00131620 90 A1 00 24 */ stw r5, 0x24(r1) -/* 801346C4 00131624 7C 00 30 00 */ cmpw r0, r6 -/* 801346C8 00131628 98 61 00 20 */ stb r3, 0x20(r1) -/* 801346CC 0013162C 41 80 00 1C */ blt lbl_801346E8 -/* 801346D0 00131630 2C 06 00 00 */ cmpwi r6, 0 -/* 801346D4 00131634 38 7F 00 1C */ addi r3, r31, 0x1c -/* 801346D8 00131638 38 80 00 04 */ li r4, 4 -/* 801346DC 0013163C 41 82 00 08 */ beq lbl_801346E4 -/* 801346E0 00131640 54 C4 08 3C */ slwi r4, r6, 1 -lbl_801346E4: -/* 801346E4 00131644 48 00 05 BD */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" -lbl_801346E8: -/* 801346E8 00131648 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 801346EC 0013164C 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 801346F0 00131650 1C 00 00 0C */ mulli r0, r0, 0xc -/* 801346F4 00131654 7C 83 02 15 */ add. r4, r3, r0 -/* 801346F8 00131658 41 82 00 24 */ beq lbl_8013471C -/* 801346FC 0013165C 80 61 00 50 */ lwz r3, 0x50(r1) -/* 80134700 00131660 38 00 00 00 */ li r0, 0 -/* 80134704 00131664 90 64 00 00 */ stw r3, 0(r4) -/* 80134708 00131668 88 61 00 54 */ lbz r3, 0x54(r1) -/* 8013470C 0013166C 98 64 00 04 */ stb r3, 4(r4) -/* 80134710 00131670 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80134714 00131674 90 64 00 08 */ stw r3, 8(r4) -/* 80134718 00131678 98 01 00 54 */ stb r0, 0x54(r1) -lbl_8013471C: -/* 8013471C 0013167C 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80134720 00131680 28 1A 00 00 */ cmplwi r26, 0 -/* 80134724 00131684 38 03 00 01 */ addi r0, r3, 1 -/* 80134728 00131688 90 1F 00 20 */ stw r0, 0x20(r31) -/* 8013472C 0013168C 41 82 00 30 */ beq lbl_8013475C -/* 80134730 00131690 88 01 00 54 */ lbz r0, 0x54(r1) -/* 80134734 00131694 28 00 00 00 */ cmplwi r0, 0 -/* 80134738 00131698 41 82 00 24 */ beq lbl_8013475C -/* 8013473C 0013169C 80 61 00 58 */ lwz r3, 0x58(r1) -/* 80134740 001316A0 28 03 00 00 */ cmplwi r3, 0 -/* 80134744 001316A4 41 82 00 18 */ beq lbl_8013475C -/* 80134748 001316A8 81 83 00 00 */ lwz r12, 0(r3) -/* 8013474C 001316AC 38 80 00 01 */ li r4, 1 -/* 80134750 001316B0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80134754 001316B4 7D 89 03 A6 */ mtctr r12 -/* 80134758 001316B8 4E 80 04 21 */ bctrl -lbl_8013475C: -/* 8013475C 001316BC 88 01 00 20 */ lbz r0, 0x20(r1) -/* 80134760 001316C0 28 00 00 00 */ cmplwi r0, 0 -/* 80134764 001316C4 41 82 00 24 */ beq lbl_80134788 -/* 80134768 001316C8 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8013476C 001316CC 28 03 00 00 */ cmplwi r3, 0 -/* 80134770 001316D0 41 82 00 18 */ beq lbl_80134788 -/* 80134774 001316D4 81 83 00 00 */ lwz r12, 0(r3) -/* 80134778 001316D8 38 80 00 01 */ li r4, 1 -/* 8013477C 001316DC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80134780 001316E0 7D 89 03 A6 */ mtctr r12 -/* 80134784 001316E4 4E 80 04 21 */ bctrl -lbl_80134788: -/* 80134788 001316E8 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 8013478C 001316EC 38 60 00 0C */ li r3, 0xc -/* 80134790 001316F0 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80134794 001316F4 38 A0 00 00 */ li r5, 0 -/* 80134798 001316F8 48 1E 10 D5 */ bl __nw__FUlPCcPCc -/* 8013479C 001316FC 7C 65 1B 79 */ or. r5, r3, r3 -/* 801347A0 00131700 41 82 00 0C */ beq lbl_801347AC -/* 801347A4 00131704 48 0A 55 49 */ bl __ct__10CABSFlinchFv -/* 801347A8 00131708 7C 65 1B 78 */ mr r5, r3 -lbl_801347AC: -/* 801347AC 0013170C 7C 65 00 D0 */ neg r3, r5 -/* 801347B0 00131710 80 0D 8B 40 */ lwz r0, lbl_805A7700@sda21(r13) -/* 801347B4 00131714 7C 63 2B 78 */ or r3, r3, r5 -/* 801347B8 00131718 90 A1 00 4C */ stw r5, 0x4c(r1) -/* 801347BC 0013171C 54 64 0F FE */ srwi r4, r3, 0x1f -/* 801347C0 00131720 38 60 00 00 */ li r3, 0 -/* 801347C4 00131724 90 01 00 44 */ stw r0, 0x44(r1) -/* 801347C8 00131728 3B 41 00 48 */ addi r26, r1, 0x48 -/* 801347CC 0013172C 98 81 00 48 */ stb r4, 0x48(r1) -/* 801347D0 00131730 98 81 00 18 */ stb r4, 0x18(r1) -/* 801347D4 00131734 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 801347D8 00131738 80 DF 00 24 */ lwz r6, 0x24(r31) -/* 801347DC 0013173C 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 801347E0 00131740 7C 00 30 00 */ cmpw r0, r6 -/* 801347E4 00131744 98 61 00 18 */ stb r3, 0x18(r1) -/* 801347E8 00131748 41 80 00 1C */ blt lbl_80134804 -/* 801347EC 0013174C 2C 06 00 00 */ cmpwi r6, 0 -/* 801347F0 00131750 38 7F 00 1C */ addi r3, r31, 0x1c -/* 801347F4 00131754 38 80 00 04 */ li r4, 4 -/* 801347F8 00131758 41 82 00 08 */ beq lbl_80134800 -/* 801347FC 0013175C 54 C4 08 3C */ slwi r4, r6, 1 -lbl_80134800: -/* 80134800 00131760 48 00 04 A1 */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" -lbl_80134804: -/* 80134804 00131764 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80134808 00131768 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 8013480C 0013176C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80134810 00131770 7C 83 02 15 */ add. r4, r3, r0 -/* 80134814 00131774 41 82 00 24 */ beq lbl_80134838 -/* 80134818 00131778 80 61 00 44 */ lwz r3, 0x44(r1) -/* 8013481C 0013177C 38 00 00 00 */ li r0, 0 -/* 80134820 00131780 90 64 00 00 */ stw r3, 0(r4) -/* 80134824 00131784 88 61 00 48 */ lbz r3, 0x48(r1) -/* 80134828 00131788 98 64 00 04 */ stb r3, 4(r4) -/* 8013482C 0013178C 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 80134830 00131790 90 64 00 08 */ stw r3, 8(r4) -/* 80134834 00131794 98 01 00 48 */ stb r0, 0x48(r1) -lbl_80134838: -/* 80134838 00131798 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 8013483C 0013179C 28 1A 00 00 */ cmplwi r26, 0 -/* 80134840 001317A0 38 03 00 01 */ addi r0, r3, 1 -/* 80134844 001317A4 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80134848 001317A8 41 82 00 30 */ beq lbl_80134878 -/* 8013484C 001317AC 88 01 00 48 */ lbz r0, 0x48(r1) -/* 80134850 001317B0 28 00 00 00 */ cmplwi r0, 0 -/* 80134854 001317B4 41 82 00 24 */ beq lbl_80134878 -/* 80134858 001317B8 80 61 00 4C */ lwz r3, 0x4c(r1) -/* 8013485C 001317BC 28 03 00 00 */ cmplwi r3, 0 -/* 80134860 001317C0 41 82 00 18 */ beq lbl_80134878 -/* 80134864 001317C4 81 83 00 00 */ lwz r12, 0(r3) -/* 80134868 001317C8 38 80 00 01 */ li r4, 1 -/* 8013486C 001317CC 81 8C 00 08 */ lwz r12, 8(r12) -/* 80134870 001317D0 7D 89 03 A6 */ mtctr r12 -/* 80134874 001317D4 4E 80 04 21 */ bctrl -lbl_80134878: -/* 80134878 001317D8 88 01 00 18 */ lbz r0, 0x18(r1) -/* 8013487C 001317DC 28 00 00 00 */ cmplwi r0, 0 -/* 80134880 001317E0 41 82 00 24 */ beq lbl_801348A4 -/* 80134884 001317E4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80134888 001317E8 28 03 00 00 */ cmplwi r3, 0 -/* 8013488C 001317EC 41 82 00 18 */ beq lbl_801348A4 -/* 80134890 001317F0 81 83 00 00 */ lwz r12, 0(r3) -/* 80134894 001317F4 38 80 00 01 */ li r4, 1 -/* 80134898 001317F8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8013489C 001317FC 7D 89 03 A6 */ mtctr r12 -/* 801348A0 00131800 4E 80 04 21 */ bctrl -lbl_801348A4: -/* 801348A4 00131804 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 801348A8 00131808 38 60 00 14 */ li r3, 0x14 -/* 801348AC 0013180C 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 801348B0 00131810 38 A0 00 00 */ li r5, 0 -/* 801348B4 00131814 48 1E 0F B9 */ bl __nw__FUlPCcPCc -/* 801348B8 00131818 7C 65 1B 79 */ or. r5, r3, r3 -/* 801348BC 0013181C 41 82 00 0C */ beq lbl_801348C8 -/* 801348C0 00131820 48 0B D1 71 */ bl __ct__12CABSReactionFv -/* 801348C4 00131824 7C 65 1B 78 */ mr r5, r3 -lbl_801348C8: -/* 801348C8 00131828 7C 65 00 D0 */ neg r3, r5 -/* 801348CC 0013182C 80 0D 8B 44 */ lwz r0, lbl_805A7704@sda21(r13) -/* 801348D0 00131830 7C 63 2B 78 */ or r3, r3, r5 -/* 801348D4 00131834 90 A1 00 40 */ stw r5, 0x40(r1) -/* 801348D8 00131838 54 64 0F FE */ srwi r4, r3, 0x1f -/* 801348DC 0013183C 38 60 00 00 */ li r3, 0 -/* 801348E0 00131840 90 01 00 38 */ stw r0, 0x38(r1) -/* 801348E4 00131844 3B 41 00 3C */ addi r26, r1, 0x3c -/* 801348E8 00131848 98 81 00 3C */ stb r4, 0x3c(r1) -/* 801348EC 0013184C 98 81 00 10 */ stb r4, 0x10(r1) -/* 801348F0 00131850 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 801348F4 00131854 80 DF 00 24 */ lwz r6, 0x24(r31) -/* 801348F8 00131858 90 A1 00 14 */ stw r5, 0x14(r1) -/* 801348FC 0013185C 7C 00 30 00 */ cmpw r0, r6 -/* 80134900 00131860 98 61 00 10 */ stb r3, 0x10(r1) -/* 80134904 00131864 41 80 00 1C */ blt lbl_80134920 -/* 80134908 00131868 2C 06 00 00 */ cmpwi r6, 0 -/* 8013490C 0013186C 38 7F 00 1C */ addi r3, r31, 0x1c -/* 80134910 00131870 38 80 00 04 */ li r4, 4 -/* 80134914 00131874 41 82 00 08 */ beq lbl_8013491C -/* 80134918 00131878 54 C4 08 3C */ slwi r4, r6, 1 -lbl_8013491C: -/* 8013491C 0013187C 48 00 03 85 */ bl "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" -lbl_80134920: -/* 80134920 00131880 80 1F 00 20 */ lwz r0, 0x20(r31) -/* 80134924 00131884 80 7F 00 28 */ lwz r3, 0x28(r31) -/* 80134928 00131888 1C 00 00 0C */ mulli r0, r0, 0xc -/* 8013492C 0013188C 7C 83 02 15 */ add. r4, r3, r0 -/* 80134930 00131890 41 82 00 24 */ beq lbl_80134954 -/* 80134934 00131894 80 61 00 38 */ lwz r3, 0x38(r1) -/* 80134938 00131898 38 00 00 00 */ li r0, 0 -/* 8013493C 0013189C 90 64 00 00 */ stw r3, 0(r4) -/* 80134940 001318A0 88 61 00 3C */ lbz r3, 0x3c(r1) -/* 80134944 001318A4 98 64 00 04 */ stb r3, 4(r4) -/* 80134948 001318A8 80 61 00 40 */ lwz r3, 0x40(r1) -/* 8013494C 001318AC 90 64 00 08 */ stw r3, 8(r4) -/* 80134950 001318B0 98 01 00 3C */ stb r0, 0x3c(r1) -lbl_80134954: -/* 80134954 001318B4 80 7F 00 20 */ lwz r3, 0x20(r31) -/* 80134958 001318B8 28 1A 00 00 */ cmplwi r26, 0 -/* 8013495C 001318BC 38 03 00 01 */ addi r0, r3, 1 -/* 80134960 001318C0 90 1F 00 20 */ stw r0, 0x20(r31) -/* 80134964 001318C4 41 82 00 30 */ beq lbl_80134994 -/* 80134968 001318C8 88 01 00 3C */ lbz r0, 0x3c(r1) -/* 8013496C 001318CC 28 00 00 00 */ cmplwi r0, 0 -/* 80134970 001318D0 41 82 00 24 */ beq lbl_80134994 -/* 80134974 001318D4 80 61 00 40 */ lwz r3, 0x40(r1) -/* 80134978 001318D8 28 03 00 00 */ cmplwi r3, 0 -/* 8013497C 001318DC 41 82 00 18 */ beq lbl_80134994 -/* 80134980 001318E0 81 83 00 00 */ lwz r12, 0(r3) -/* 80134984 001318E4 38 80 00 01 */ li r4, 1 -/* 80134988 001318E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8013498C 001318EC 7D 89 03 A6 */ mtctr r12 -/* 80134990 001318F0 4E 80 04 21 */ bctrl -lbl_80134994: -/* 80134994 001318F4 88 01 00 10 */ lbz r0, 0x10(r1) -/* 80134998 001318F8 28 00 00 00 */ cmplwi r0, 0 -/* 8013499C 001318FC 41 82 00 24 */ beq lbl_801349C0 -/* 801349A0 00131900 80 61 00 14 */ lwz r3, 0x14(r1) -/* 801349A4 00131904 28 03 00 00 */ cmplwi r3, 0 -/* 801349A8 00131908 41 82 00 18 */ beq lbl_801349C0 -/* 801349AC 0013190C 81 83 00 00 */ lwz r12, 0(r3) -/* 801349B0 00131910 38 80 00 01 */ li r4, 1 -/* 801349B4 00131914 81 8C 00 08 */ lwz r12, 8(r12) -/* 801349B8 00131918 7D 89 03 A6 */ mtctr r12 -/* 801349BC 0013191C 4E 80 04 21 */ bctrl -lbl_801349C0: -/* 801349C0 00131920 7F E3 FB 78 */ mr r3, r31 -/* 801349C4 00131924 BB 41 00 78 */ lmw r26, 0x78(r1) -/* 801349C8 00131928 80 01 00 94 */ lwz r0, 0x94(r1) -/* 801349CC 0013192C 7C 08 03 A6 */ mtlr r0 -/* 801349D0 00131930 38 21 00 90 */ addi r1, r1, 0x90 -/* 801349D4 00131934 4E 80 00 20 */ blr - -.global IsDead__10CBodyStateCFv -IsDead__10CBodyStateCFv: -/* 801349D8 00131938 38 60 00 00 */ li r3, 0 -/* 801349DC 0013193C 4E 80 00 20 */ blr - -.global IsDying__10CBodyStateCFv -IsDying__10CBodyStateCFv: -/* 801349E0 00131940 38 60 00 00 */ li r3, 0 -/* 801349E4 00131944 4E 80 00 20 */ blr - -.global IsMoving__10CBodyStateCFv -IsMoving__10CBodyStateCFv: -/* 801349E8 00131948 38 60 00 00 */ li r3, 0 -/* 801349EC 0013194C 4E 80 00 20 */ blr - -.global ApplyHeadTracking__18CAdditiveBodyStateCFv -ApplyHeadTracking__18CAdditiveBodyStateCFv: -/* 801349F0 00131950 38 60 00 01 */ li r3, 1 -/* 801349F4 00131954 4E 80 00 20 */ blr - -.global CanShoot__18CAdditiveBodyStateCFv -CanShoot__18CAdditiveBodyStateCFv: -/* 801349F8 00131958 38 60 00 01 */ li r3, 1 -/* 801349FC 0013195C 4E 80 00 20 */ blr - -.global sub_80134a00 -sub_80134a00: -/* 80134A00 00131960 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80134A04 00131964 7C 08 02 A6 */ mflr r0 -/* 80134A08 00131968 90 01 00 14 */ stw r0, 0x14(r1) -/* 80134A0C 0013196C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80134A10 00131970 7C 9F 23 78 */ mr r31, r4 -/* 80134A14 00131974 93 C1 00 08 */ stw r30, 8(r1) -/* 80134A18 00131978 7C 7E 1B 78 */ mr r30, r3 -/* 80134A1C 0013197C 80 84 00 00 */ lwz r4, 0(r4) -/* 80134A20 00131980 28 04 00 00 */ cmplwi r4, 0 -/* 80134A24 00131984 41 82 00 08 */ beq lbl_80134A2C -/* 80134A28 00131988 4B FF FF D9 */ bl sub_80134a00 -lbl_80134A2C: -/* 80134A2C 0013198C 80 9F 00 04 */ lwz r4, 4(r31) -/* 80134A30 00131990 28 04 00 00 */ cmplwi r4, 0 -/* 80134A34 00131994 41 82 00 0C */ beq lbl_80134A40 -/* 80134A38 00131998 7F C3 F3 78 */ mr r3, r30 -/* 80134A3C 0013199C 4B FF FF C5 */ bl sub_80134a00 -lbl_80134A40: -/* 80134A40 001319A0 28 1F 00 00 */ cmplwi r31, 0 -/* 80134A44 001319A4 41 82 00 0C */ beq lbl_80134A50 -/* 80134A48 001319A8 7F E3 FB 78 */ mr r3, r31 -/* 80134A4C 001319AC 48 1E 0E E5 */ bl Free__7CMemoryFPCv -lbl_80134A50: -/* 80134A50 001319B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80134A54 001319B4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80134A58 001319B8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80134A5C 001319BC 7C 08 03 A6 */ mtlr r0 -/* 80134A60 001319C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80134A64 001319C4 4E 80 00 20 */ blr - -.global "insert_into__Q24rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>FPQ34rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>4nodeRCQ24rstl21pair" -"insert_into__Q24rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>FPQ34rstl144red_black_tree,0,Q24rstl41select1st>,Q24rstl7less,Q24rstl17rmemory_allocator>4nodeRCQ24rstl21pair": -/* 80134A68 001319C8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80134A6C 001319CC 7C 08 02 A6 */ mflr r0 -/* 80134A70 001319D0 28 05 00 00 */ cmplwi r5, 0 -/* 80134A74 001319D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80134A78 001319D8 BF 61 00 0C */ stmw r27, 0xc(r1) -/* 80134A7C 001319DC 7C 7C 1B 78 */ mr r28, r3 -/* 80134A80 001319E0 7C 9D 23 78 */ mr r29, r4 -/* 80134A84 001319E4 7C DE 33 78 */ mr r30, r6 -/* 80134A88 001319E8 40 82 00 88 */ bne lbl_80134B10 -/* 80134A8C 001319EC 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80134A90 001319F0 38 60 00 18 */ li r3, 0x18 -/* 80134A94 001319F4 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80134A98 001319F8 38 A0 00 00 */ li r5, 0 -/* 80134A9C 001319FC 48 1E 0D 7D */ bl __nwa__FUlPCcPCc -/* 80134AA0 00131A00 28 03 00 00 */ cmplwi r3, 0 -/* 80134AA4 00131A04 41 82 00 30 */ beq lbl_80134AD4 -/* 80134AA8 00131A08 38 00 00 00 */ li r0, 0 -/* 80134AAC 00131A0C 34 83 00 10 */ addic. r4, r3, 0x10 -/* 80134AB0 00131A10 90 03 00 00 */ stw r0, 0(r3) -/* 80134AB4 00131A14 90 03 00 04 */ stw r0, 4(r3) -/* 80134AB8 00131A18 90 03 00 08 */ stw r0, 8(r3) -/* 80134ABC 00131A1C 90 03 00 0C */ stw r0, 0xc(r3) -/* 80134AC0 00131A20 41 82 00 14 */ beq lbl_80134AD4 -/* 80134AC4 00131A24 80 1E 00 00 */ lwz r0, 0(r30) -/* 80134AC8 00131A28 90 04 00 00 */ stw r0, 0(r4) -/* 80134ACC 00131A2C 80 1E 00 04 */ lwz r0, 4(r30) -/* 80134AD0 00131A30 90 04 00 04 */ stw r0, 4(r4) -lbl_80134AD4: -/* 80134AD4 00131A34 90 7D 00 10 */ stw r3, 0x10(r29) -/* 80134AD8 00131A38 38 1D 00 08 */ addi r0, r29, 8 -/* 80134ADC 00131A3C 80 7D 00 04 */ lwz r3, 4(r29) -/* 80134AE0 00131A40 38 63 00 01 */ addi r3, r3, 1 -/* 80134AE4 00131A44 90 7D 00 04 */ stw r3, 4(r29) -/* 80134AE8 00131A48 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80134AEC 00131A4C 90 7D 00 08 */ stw r3, 8(r29) -/* 80134AF0 00131A50 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80134AF4 00131A54 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80134AF8 00131A58 80 7D 00 10 */ lwz r3, 0x10(r29) -/* 80134AFC 00131A5C 90 7C 00 00 */ stw r3, 0(r28) -/* 80134B00 00131A60 90 1C 00 04 */ stw r0, 4(r28) -/* 80134B04 00131A64 88 0D 8B 4C */ lbz r0, lbl_805A770C@sda21(r13) -/* 80134B08 00131A68 98 1C 00 08 */ stb r0, 8(r28) -/* 80134B0C 00131A6C 48 00 01 80 */ b lbl_80134C8C -lbl_80134B10: -/* 80134B10 00131A70 7C BF 2B 78 */ mr r31, r5 -/* 80134B14 00131A74 3B 60 00 00 */ li r27, 0 -/* 80134B18 00131A78 48 00 01 40 */ b lbl_80134C58 -lbl_80134B1C: -/* 80134B1C 00131A7C 80 9E 00 00 */ lwz r4, 0(r30) -/* 80134B20 00131A80 80 BF 00 10 */ lwz r5, 0x10(r31) -/* 80134B24 00131A84 7C A0 22 78 */ xor r0, r5, r4 -/* 80134B28 00131A88 7C 03 0E 70 */ srawi r3, r0, 1 -/* 80134B2C 00131A8C 7C 00 28 38 */ and r0, r0, r5 -/* 80134B30 00131A90 7C 00 18 50 */ subf r0, r0, r3 -/* 80134B34 00131A94 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f -/* 80134B38 00131A98 40 82 00 24 */ bne lbl_80134B5C -/* 80134B3C 00131A9C 7C 05 20 00 */ cmpw r5, r4 -/* 80134B40 00131AA0 41 80 00 1C */ blt lbl_80134B5C -/* 80134B44 00131AA4 93 FC 00 00 */ stw r31, 0(r28) -/* 80134B48 00131AA8 38 1D 00 08 */ addi r0, r29, 8 -/* 80134B4C 00131AAC 90 1C 00 04 */ stw r0, 4(r28) -/* 80134B50 00131AB0 88 0D 8B 4D */ lbz r0, lbl_805A770D@sda21(r13) -/* 80134B54 00131AB4 98 1C 00 08 */ stb r0, 8(r28) -/* 80134B58 00131AB8 48 00 01 34 */ b lbl_80134C8C -lbl_80134B5C: -/* 80134B5C 00131ABC 28 00 00 00 */ cmplwi r0, 0 -/* 80134B60 00131AC0 41 82 00 80 */ beq lbl_80134BE0 -/* 80134B64 00131AC4 80 1F 00 00 */ lwz r0, 0(r31) -/* 80134B68 00131AC8 28 00 00 00 */ cmplwi r0, 0 -/* 80134B6C 00131ACC 40 82 00 6C */ bne lbl_80134BD8 -/* 80134B70 00131AD0 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80134B74 00131AD4 38 60 00 18 */ li r3, 0x18 -/* 80134B78 00131AD8 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80134B7C 00131ADC 38 A0 00 00 */ li r5, 0 -/* 80134B80 00131AE0 48 1E 0C 99 */ bl __nwa__FUlPCcPCc -/* 80134B84 00131AE4 28 03 00 00 */ cmplwi r3, 0 -/* 80134B88 00131AE8 41 82 00 34 */ beq lbl_80134BBC -/* 80134B8C 00131AEC 38 80 00 00 */ li r4, 0 -/* 80134B90 00131AF0 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 80134B94 00131AF4 90 83 00 00 */ stw r4, 0(r3) -/* 80134B98 00131AF8 38 00 00 01 */ li r0, 1 -/* 80134B9C 00131AFC 90 83 00 04 */ stw r4, 4(r3) -/* 80134BA0 00131B00 93 E3 00 08 */ stw r31, 8(r3) -/* 80134BA4 00131B04 90 03 00 0C */ stw r0, 0xc(r3) -/* 80134BA8 00131B08 41 82 00 14 */ beq lbl_80134BBC -/* 80134BAC 00131B0C 80 1E 00 00 */ lwz r0, 0(r30) -/* 80134BB0 00131B10 90 05 00 00 */ stw r0, 0(r5) -/* 80134BB4 00131B14 80 1E 00 04 */ lwz r0, 4(r30) -/* 80134BB8 00131B18 90 05 00 04 */ stw r0, 4(r5) -lbl_80134BBC: -/* 80134BBC 00131B1C 90 7F 00 00 */ stw r3, 0(r31) -/* 80134BC0 00131B20 7C 7B 1B 78 */ mr r27, r3 -/* 80134BC4 00131B24 80 1D 00 08 */ lwz r0, 8(r29) -/* 80134BC8 00131B28 7C 1F 00 40 */ cmplw r31, r0 -/* 80134BCC 00131B2C 40 82 00 8C */ bne lbl_80134C58 -/* 80134BD0 00131B30 90 7D 00 08 */ stw r3, 8(r29) -/* 80134BD4 00131B34 48 00 00 84 */ b lbl_80134C58 -lbl_80134BD8: -/* 80134BD8 00131B38 7C 1F 03 78 */ mr r31, r0 -/* 80134BDC 00131B3C 48 00 00 7C */ b lbl_80134C58 -lbl_80134BE0: -/* 80134BE0 00131B40 80 1F 00 04 */ lwz r0, 4(r31) -/* 80134BE4 00131B44 28 00 00 00 */ cmplwi r0, 0 -/* 80134BE8 00131B48 40 82 00 6C */ bne lbl_80134C54 -/* 80134BEC 00131B4C 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80134BF0 00131B50 38 60 00 18 */ li r3, 0x18 -/* 80134BF4 00131B54 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80134BF8 00131B58 38 A0 00 00 */ li r5, 0 -/* 80134BFC 00131B5C 48 1E 0C 1D */ bl __nwa__FUlPCcPCc -/* 80134C00 00131B60 28 03 00 00 */ cmplwi r3, 0 -/* 80134C04 00131B64 41 82 00 34 */ beq lbl_80134C38 -/* 80134C08 00131B68 38 80 00 00 */ li r4, 0 -/* 80134C0C 00131B6C 34 A3 00 10 */ addic. r5, r3, 0x10 -/* 80134C10 00131B70 90 83 00 00 */ stw r4, 0(r3) -/* 80134C14 00131B74 38 00 00 01 */ li r0, 1 -/* 80134C18 00131B78 90 83 00 04 */ stw r4, 4(r3) -/* 80134C1C 00131B7C 93 E3 00 08 */ stw r31, 8(r3) -/* 80134C20 00131B80 90 03 00 0C */ stw r0, 0xc(r3) -/* 80134C24 00131B84 41 82 00 14 */ beq lbl_80134C38 -/* 80134C28 00131B88 80 1E 00 00 */ lwz r0, 0(r30) -/* 80134C2C 00131B8C 90 05 00 00 */ stw r0, 0(r5) -/* 80134C30 00131B90 80 1E 00 04 */ lwz r0, 4(r30) -/* 80134C34 00131B94 90 05 00 04 */ stw r0, 4(r5) -lbl_80134C38: -/* 80134C38 00131B98 90 7F 00 04 */ stw r3, 4(r31) -/* 80134C3C 00131B9C 7C 7B 1B 78 */ mr r27, r3 -/* 80134C40 00131BA0 80 1D 00 0C */ lwz r0, 0xc(r29) -/* 80134C44 00131BA4 7C 1F 00 40 */ cmplw r31, r0 -/* 80134C48 00131BA8 40 82 00 10 */ bne lbl_80134C58 -/* 80134C4C 00131BAC 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80134C50 00131BB0 48 00 00 08 */ b lbl_80134C58 -lbl_80134C54: -/* 80134C54 00131BB4 7C 1F 03 78 */ mr r31, r0 -lbl_80134C58: -/* 80134C58 00131BB8 28 1B 00 00 */ cmplwi r27, 0 -/* 80134C5C 00131BBC 41 82 FE C0 */ beq lbl_80134B1C -/* 80134C60 00131BC0 80 BD 00 04 */ lwz r5, 4(r29) -/* 80134C64 00131BC4 7F 64 DB 78 */ mr r4, r27 -/* 80134C68 00131BC8 38 7D 00 08 */ addi r3, r29, 8 -/* 80134C6C 00131BCC 38 05 00 01 */ addi r0, r5, 1 -/* 80134C70 00131BD0 90 1D 00 04 */ stw r0, 4(r29) -/* 80134C74 00131BD4 48 20 7E 25 */ bl rbtree_rebalance__4rstlFPvPv -/* 80134C78 00131BD8 93 7C 00 00 */ stw r27, 0(r28) -/* 80134C7C 00131BDC 38 1D 00 08 */ addi r0, r29, 8 -/* 80134C80 00131BE0 90 1C 00 04 */ stw r0, 4(r28) -/* 80134C84 00131BE4 88 0D 8B 4E */ lbz r0, lbl_805A770E@sda21(r13) -/* 80134C88 00131BE8 98 1C 00 08 */ stb r0, 8(r28) -lbl_80134C8C: -/* 80134C8C 00131BEC BB 61 00 0C */ lmw r27, 0xc(r1) -/* 80134C90 00131BF0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80134C94 00131BF4 7C 08 03 A6 */ mtlr r0 -/* 80134C98 00131BF8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80134C9C 00131BFC 4E 80 00 20 */ blr - -.global "reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi" -"reserve__Q24rstl91vector>,Q24rstl17rmemory_allocator>Fi": -/* 80134CA0 00131C00 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80134CA4 00131C04 7C 08 02 A6 */ mflr r0 -/* 80134CA8 00131C08 90 01 00 34 */ stw r0, 0x34(r1) -/* 80134CAC 00131C0C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80134CB0 00131C10 7C 9E 23 78 */ mr r30, r4 -/* 80134CB4 00131C14 7C 7D 1B 78 */ mr r29, r3 -/* 80134CB8 00131C18 80 03 00 08 */ lwz r0, 8(r3) -/* 80134CBC 00131C1C 7C 1E 00 00 */ cmpw r30, r0 -/* 80134CC0 00131C20 40 81 01 00 */ ble lbl_80134DC0 -/* 80134CC4 00131C24 1C 7E 00 0C */ mulli r3, r30, 0xc -/* 80134CC8 00131C28 2C 03 00 00 */ cmpwi r3, 0 -/* 80134CCC 00131C2C 40 82 00 0C */ bne lbl_80134CD8 -/* 80134CD0 00131C30 3B E0 00 00 */ li r31, 0 -/* 80134CD4 00131C34 48 00 00 18 */ b lbl_80134CEC -lbl_80134CD8: -/* 80134CD8 00131C38 3C 80 80 3D */ lis r4, lbl_803D0058@ha -/* 80134CDC 00131C3C 38 A0 00 00 */ li r5, 0 -/* 80134CE0 00131C40 38 84 00 58 */ addi r4, r4, lbl_803D0058@l -/* 80134CE4 00131C44 48 1E 0B 35 */ bl __nwa__FUlPCcPCc -/* 80134CE8 00131C48 7C 7F 1B 78 */ mr r31, r3 -lbl_80134CEC: -/* 80134CEC 00131C4C 80 7D 00 04 */ lwz r3, 4(r29) -/* 80134CF0 00131C50 7F E5 FB 78 */ mr r5, r31 -/* 80134CF4 00131C54 80 DD 00 0C */ lwz r6, 0xc(r29) -/* 80134CF8 00131C58 38 00 00 00 */ li r0, 0 -/* 80134CFC 00131C5C 1C 63 00 0C */ mulli r3, r3, 0xc -/* 80134D00 00131C60 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80134D04 00131C64 7C 86 1A 14 */ add r4, r6, r3 -/* 80134D08 00131C68 90 C1 00 14 */ stw r6, 0x14(r1) -/* 80134D0C 00131C6C 90 81 00 08 */ stw r4, 8(r1) -/* 80134D10 00131C70 90 81 00 0C */ stw r4, 0xc(r1) -/* 80134D14 00131C74 48 00 00 30 */ b lbl_80134D44 -lbl_80134D18: -/* 80134D18 00131C78 28 05 00 00 */ cmplwi r5, 0 -/* 80134D1C 00131C7C 41 82 00 20 */ beq lbl_80134D3C -/* 80134D20 00131C80 80 66 00 00 */ lwz r3, 0(r6) -/* 80134D24 00131C84 90 65 00 00 */ stw r3, 0(r5) -/* 80134D28 00131C88 88 66 00 04 */ lbz r3, 4(r6) -/* 80134D2C 00131C8C 98 65 00 04 */ stb r3, 4(r5) -/* 80134D30 00131C90 80 66 00 08 */ lwz r3, 8(r6) -/* 80134D34 00131C94 90 65 00 08 */ stw r3, 8(r5) -/* 80134D38 00131C98 98 06 00 04 */ stb r0, 4(r6) -lbl_80134D3C: -/* 80134D3C 00131C9C 38 A5 00 0C */ addi r5, r5, 0xc -/* 80134D40 00131CA0 38 C6 00 0C */ addi r6, r6, 0xc -lbl_80134D44: -/* 80134D44 00131CA4 7C 06 20 40 */ cmplw r6, r4 -/* 80134D48 00131CA8 40 82 FF D0 */ bne lbl_80134D18 -/* 80134D4C 00131CAC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80134D50 00131CB0 83 7D 00 0C */ lwz r27, 0xc(r29) -/* 80134D54 00131CB4 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80134D58 00131CB8 7F 9B 02 14 */ add r28, r27, r0 -/* 80134D5C 00131CBC 48 00 00 44 */ b lbl_80134DA0 -lbl_80134D60: -/* 80134D60 00131CC0 28 1B 00 00 */ cmplwi r27, 0 -/* 80134D64 00131CC4 41 82 00 38 */ beq lbl_80134D9C -/* 80134D68 00131CC8 34 1B 00 04 */ addic. r0, r27, 4 -/* 80134D6C 00131CCC 41 82 00 30 */ beq lbl_80134D9C -/* 80134D70 00131CD0 88 1B 00 04 */ lbz r0, 4(r27) -/* 80134D74 00131CD4 28 00 00 00 */ cmplwi r0, 0 -/* 80134D78 00131CD8 41 82 00 24 */ beq lbl_80134D9C -/* 80134D7C 00131CDC 80 7B 00 08 */ lwz r3, 8(r27) -/* 80134D80 00131CE0 28 03 00 00 */ cmplwi r3, 0 -/* 80134D84 00131CE4 41 82 00 18 */ beq lbl_80134D9C -/* 80134D88 00131CE8 81 83 00 00 */ lwz r12, 0(r3) -/* 80134D8C 00131CEC 38 80 00 01 */ li r4, 1 -/* 80134D90 00131CF0 81 8C 00 08 */ lwz r12, 8(r12) -/* 80134D94 00131CF4 7D 89 03 A6 */ mtctr r12 -/* 80134D98 00131CF8 4E 80 04 21 */ bctrl -lbl_80134D9C: -/* 80134D9C 00131CFC 3B 7B 00 0C */ addi r27, r27, 0xc -lbl_80134DA0: -/* 80134DA0 00131D00 7C 1B E0 40 */ cmplw r27, r28 -/* 80134DA4 00131D04 40 82 FF BC */ bne lbl_80134D60 -/* 80134DA8 00131D08 80 7D 00 0C */ lwz r3, 0xc(r29) -/* 80134DAC 00131D0C 28 03 00 00 */ cmplwi r3, 0 -/* 80134DB0 00131D10 41 82 00 08 */ beq lbl_80134DB8 -/* 80134DB4 00131D14 48 1E 0B 7D */ bl Free__7CMemoryFPCv -lbl_80134DB8: -/* 80134DB8 00131D18 93 FD 00 0C */ stw r31, 0xc(r29) -/* 80134DBC 00131D1C 93 DD 00 08 */ stw r30, 8(r29) -lbl_80134DC0: -/* 80134DC0 00131D20 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80134DC4 00131D24 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80134DC8 00131D28 7C 08 03 A6 */ mtlr r0 -/* 80134DCC 00131D2C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80134DD0 00131D30 4E 80 00 20 */ blr - -.global __dt__9CBSAttackFv -__dt__9CBSAttackFv: -/* 80134DD4 00131D34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80134DD8 00131D38 7C 08 02 A6 */ mflr r0 -/* 80134DDC 00131D3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80134DE0 00131D40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80134DE4 00131D44 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80134DE8 00131D48 41 82 00 5C */ beq lbl_80134E44 -/* 80134DEC 00131D4C 3C 60 80 3E */ lis r3, lbl_803E1370@ha -/* 80134DF0 00131D50 34 1F 00 08 */ addic. r0, r31, 8 -/* 80134DF4 00131D54 38 03 13 70 */ addi r0, r3, lbl_803E1370@l -/* 80134DF8 00131D58 90 1F 00 00 */ stw r0, 0(r31) -/* 80134DFC 00131D5C 41 82 00 24 */ beq lbl_80134E20 -/* 80134E00 00131D60 3C 60 80 3E */ lis r3, lbl_803DAA08@ha -/* 80134E04 00131D64 34 1F 00 08 */ addic. r0, r31, 8 -/* 80134E08 00131D68 38 03 AA 08 */ addi r0, r3, lbl_803DAA08@l -/* 80134E0C 00131D6C 90 1F 00 08 */ stw r0, 8(r31) -/* 80134E10 00131D70 41 82 00 10 */ beq lbl_80134E20 -/* 80134E14 00131D74 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80134E18 00131D78 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80134E1C 00131D7C 90 1F 00 08 */ stw r0, 8(r31) -lbl_80134E20: -/* 80134E20 00131D80 28 1F 00 00 */ cmplwi r31, 0 -/* 80134E24 00131D84 41 82 00 10 */ beq lbl_80134E34 -/* 80134E28 00131D88 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80134E2C 00131D8C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80134E30 00131D90 90 1F 00 00 */ stw r0, 0(r31) -lbl_80134E34: -/* 80134E34 00131D94 7C 80 07 35 */ extsh. r0, r4 -/* 80134E38 00131D98 40 81 00 0C */ ble lbl_80134E44 -/* 80134E3C 00131D9C 7F E3 FB 78 */ mr r3, r31 -/* 80134E40 00131DA0 48 1E 0A F1 */ bl Free__7CMemoryFPCv -lbl_80134E44: -/* 80134E44 00131DA4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80134E48 00131DA8 7F E3 FB 78 */ mr r3, r31 -/* 80134E4C 00131DAC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80134E50 00131DB0 7C 08 03 A6 */ mtlr r0 -/* 80134E54 00131DB4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80134E58 00131DB8 4E 80 00 20 */ blr - -.global CanShoot__9CBSAttackCFv -CanShoot__9CBSAttackCFv: -/* 80134E5C 00131DBC 38 60 00 00 */ li r3, 0 -/* 80134E60 00131DC0 4E 80 00 20 */ blr - -.global UpdatePhysicsActor__9CBSAttackFR15CBodyControllerf -UpdatePhysicsActor__9CBSAttackFR15CBodyControllerf: -/* 80134E64 00131DC4 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80134E68 00131DC8 7C 08 02 A6 */ mflr r0 -/* 80134E6C 00131DCC 90 01 00 74 */ stw r0, 0x74(r1) -/* 80134E70 00131DD0 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80134E74 00131DD4 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 80134E78 00131DD8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80134E7C 00131DDC 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80134E80 00131DE0 C0 42 99 A0 */ lfs f2, lbl_805AB6C0@sda21(r2) -/* 80134E84 00131DE4 FF E0 08 90 */ fmr f31, f1 -/* 80134E88 00131DE8 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 80134E8C 00131DEC 7C 7E 1B 78 */ mr r30, r3 -/* 80134E90 00131DF0 38 00 00 00 */ li r0, 0 -/* 80134E94 00131DF4 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 80134E98 00131DF8 40 82 00 1C */ bne lbl_80134EB4 -/* 80134E9C 00131DFC C0 1E 00 24 */ lfs f0, 0x24(r30) -/* 80134EA0 00131E00 FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 80134EA4 00131E04 40 82 00 10 */ bne lbl_80134EB4 -/* 80134EA8 00131E08 C0 1E 00 28 */ lfs f0, 0x28(r30) -/* 80134EAC 00131E0C FC 02 00 00 */ fcmpu cr0, f2, f0 -/* 80134EB0 00131E10 41 82 00 08 */ beq lbl_80134EB8 -lbl_80134EB4: -/* 80134EB4 00131E14 38 00 00 01 */ li r0, 1 -lbl_80134EB8: -/* 80134EB8 00131E18 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80134EBC 00131E1C 41 82 01 18 */ beq lbl_80134FD4 -/* 80134EC0 00131E20 C0 3E 00 34 */ lfs f1, 0x34(r30) -/* 80134EC4 00131E24 C0 1E 00 2C */ lfs f0, 0x2c(r30) -/* 80134EC8 00131E28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80134ECC 00131E2C 4C 41 13 82 */ cror 2, 1, 2 -/* 80134ED0 00131E30 40 82 01 04 */ bne lbl_80134FD4 -/* 80134ED4 00131E34 C0 1E 00 30 */ lfs f0, 0x30(r30) -/* 80134ED8 00131E38 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80134EDC 00131E3C 4C 40 13 82 */ cror 2, 0, 2 -/* 80134EE0 00131E40 40 82 00 F4 */ bne lbl_80134FD4 -/* 80134EE4 00131E44 80 84 00 00 */ lwz r4, 0(r4) -/* 80134EE8 00131E48 38 61 00 08 */ addi r3, r1, 8 -/* 80134EEC 00131E4C 4B F7 77 F9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80134EF0 00131E50 83 E3 00 04 */ lwz r31, 4(r3) -/* 80134EF4 00131E54 28 1F 00 00 */ cmplwi r31, 0 -/* 80134EF8 00131E58 41 82 00 DC */ beq lbl_80134FD4 -/* 80134EFC 00131E5C C0 5E 00 24 */ lfs f2, 0x24(r30) -/* 80134F00 00131E60 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80134F04 00131E64 C0 7E 00 28 */ lfs f3, 0x28(r30) -/* 80134F08 00131E68 C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 80134F0C 00131E6C EC A2 08 28 */ fsubs f5, f2, f1 -/* 80134F10 00131E70 C0 5E 00 20 */ lfs f2, 0x20(r30) -/* 80134F14 00131E74 C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80134F18 00131E78 EC 83 00 28 */ fsubs f4, f3, f0 -/* 80134F1C 00131E7C C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2) -/* 80134F20 00131E80 EC 62 08 28 */ fsubs f3, f2, f1 -/* 80134F24 00131E84 D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 80134F28 00131E88 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 80134F2C 00131E8C D0 61 00 4C */ stfs f3, 0x4c(r1) -/* 80134F30 00131E90 C0 5E 00 30 */ lfs f2, 0x30(r30) -/* 80134F34 00131E94 C0 3E 00 2C */ lfs f1, 0x2c(r30) -/* 80134F38 00131E98 EC 22 08 28 */ fsubs f1, f2, f1 -/* 80134F3C 00131E9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80134F40 00131EA0 40 81 00 28 */ ble lbl_80134F68 -/* 80134F44 00131EA4 EC 1F 08 24 */ fdivs f0, f31, f1 -/* 80134F48 00131EA8 38 C1 00 28 */ addi r6, r1, 0x28 -/* 80134F4C 00131EAC EC 40 00 F2 */ fmuls f2, f0, f3 -/* 80134F50 00131EB0 EC 20 01 72 */ fmuls f1, f0, f5 -/* 80134F54 00131EB4 EC 00 01 32 */ fmuls f0, f0, f4 -/* 80134F58 00131EB8 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80134F5C 00131EBC D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80134F60 00131EC0 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80134F64 00131EC4 48 00 00 08 */ b lbl_80134F6C -lbl_80134F68: -/* 80134F68 00131EC8 38 C1 00 4C */ addi r6, r1, 0x4c -lbl_80134F6C: -/* 80134F6C 00131ECC C0 06 00 00 */ lfs f0, 0(r6) -/* 80134F70 00131ED0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80134F74 00131ED4 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80134F78 00131ED8 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80134F7C 00131EDC D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80134F80 00131EE0 C0 06 00 04 */ lfs f0, 4(r6) -/* 80134F84 00131EE4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80134F88 00131EE8 C0 06 00 08 */ lfs f0, 8(r6) -/* 80134F8C 00131EEC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80134F90 00131EF0 48 1D DA 95 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80134F94 00131EF4 FC 20 F8 90 */ fmr f1, f31 -/* 80134F98 00131EF8 7F E4 FB 78 */ mr r4, r31 -/* 80134F9C 00131EFC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80134FA0 00131F00 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80134FA4 00131F04 4B FE 60 65 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff -/* 80134FA8 00131F08 C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80134FAC 00131F0C C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80134FB0 00131F10 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80134FB4 00131F14 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80134FB8 00131F18 D0 21 00 38 */ stfs f1, 0x38(r1) -/* 80134FBC 00131F1C D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80134FC0 00131F20 4B EE 65 75 */ bl Identity__10CAxisAngleFv -/* 80134FC4 00131F24 7C 65 1B 78 */ mr r5, r3 -/* 80134FC8 00131F28 7F E3 FB 78 */ mr r3, r31 -/* 80134FCC 00131F2C 38 81 00 34 */ addi r4, r1, 0x34 -/* 80134FD0 00131F30 4B FE 73 C9 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_80134FD4: -/* 80134FD4 00131F34 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80134FD8 00131F38 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80134FDC 00131F3C CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80134FE0 00131F40 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80134FE4 00131F44 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80134FE8 00131F48 7C 08 03 A6 */ mtlr r0 -/* 80134FEC 00131F4C 38 21 00 70 */ addi r1, r1, 0x70 -/* 80134FF0 00131F50 4E 80 00 20 */ blr - -.global GetBodyStateTransition__9CBSAttackFfR15CBodyController -GetBodyStateTransition__9CBSAttackFfR15CBodyController: -/* 80134FF4 00131F54 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80134FF8 00131F58 7C 08 02 A6 */ mflr r0 -/* 80134FFC 00131F5C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80135000 00131F60 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80135004 00131F64 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80135008 00131F68 7C 9E 23 78 */ mr r30, r4 -/* 8013500C 00131F6C 3B FE 00 04 */ addi r31, r30, 4 -/* 80135010 00131F70 38 80 00 0F */ li r4, 0xf -/* 80135014 00131F74 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80135018 00131F78 7C 7D 1B 78 */ mr r29, r3 -/* 8013501C 00131F7C 7F E3 FB 78 */ mr r3, r31 -/* 80135020 00131F80 4B FF C4 31 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135024 00131F84 28 03 00 00 */ cmplwi r3, 0 -/* 80135028 00131F88 41 82 00 0C */ beq lbl_80135034 -/* 8013502C 00131F8C 38 60 00 0E */ li r3, 0xe -/* 80135030 00131F90 48 00 01 5C */ b lbl_8013518C -lbl_80135034: -/* 80135034 00131F94 7F E3 FB 78 */ mr r3, r31 -/* 80135038 00131F98 38 80 00 03 */ li r4, 3 -/* 8013503C 00131F9C 4B FF C4 15 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135040 00131FA0 28 03 00 00 */ cmplwi r3, 0 -/* 80135044 00131FA4 41 82 00 0C */ beq lbl_80135050 -/* 80135048 00131FA8 38 60 00 00 */ li r3, 0 -/* 8013504C 00131FAC 48 00 01 40 */ b lbl_8013518C -lbl_80135050: -/* 80135050 00131FB0 7F E3 FB 78 */ mr r3, r31 -/* 80135054 00131FB4 38 80 00 09 */ li r4, 9 -/* 80135058 00131FB8 4B FF C3 F9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013505C 00131FBC 28 03 00 00 */ cmplwi r3, 0 -/* 80135060 00131FC0 41 82 00 0C */ beq lbl_8013506C -/* 80135064 00131FC4 38 60 00 0A */ li r3, 0xa -/* 80135068 00131FC8 48 00 01 24 */ b lbl_8013518C -lbl_8013506C: -/* 8013506C 00131FCC 7F E3 FB 78 */ mr r3, r31 -/* 80135070 00131FD0 38 80 00 04 */ li r4, 4 -/* 80135074 00131FD4 4B FF C3 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135078 00131FD8 28 03 00 00 */ cmplwi r3, 0 -/* 8013507C 00131FDC 41 82 00 0C */ beq lbl_80135088 -/* 80135080 00131FE0 38 60 00 06 */ li r3, 6 -/* 80135084 00131FE4 48 00 01 08 */ b lbl_8013518C -lbl_80135088: -/* 80135088 00131FE8 7F E3 FB 78 */ mr r3, r31 -/* 8013508C 00131FEC 38 80 00 16 */ li r4, 0x16 -/* 80135090 00131FF0 4B FF C3 C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135094 00131FF4 28 03 00 00 */ cmplwi r3, 0 -/* 80135098 00131FF8 41 82 00 0C */ beq lbl_801350A4 -/* 8013509C 00131FFC 38 60 00 05 */ li r3, 5 -/* 801350A0 00132000 48 00 00 EC */ b lbl_8013518C -lbl_801350A4: -/* 801350A4 00132004 7F E3 FB 78 */ mr r3, r31 -/* 801350A8 00132008 38 80 00 11 */ li r4, 0x11 -/* 801350AC 0013200C 4B FF C3 A5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801350B0 00132010 28 03 00 00 */ cmplwi r3, 0 -/* 801350B4 00132014 41 82 00 34 */ beq lbl_801350E8 -/* 801350B8 00132018 80 83 00 04 */ lwz r4, 4(r3) -/* 801350BC 0013201C 38 00 00 0F */ li r0, 0xf -/* 801350C0 00132020 90 9D 00 0C */ stw r4, 0xc(r29) -/* 801350C4 00132024 80 83 00 08 */ lwz r4, 8(r3) -/* 801350C8 00132028 90 9D 00 10 */ stw r4, 0x10(r29) -/* 801350CC 0013202C 80 A3 00 0C */ lwz r5, 0xc(r3) -/* 801350D0 00132030 80 83 00 10 */ lwz r4, 0x10(r3) -/* 801350D4 00132034 90 BD 00 14 */ stw r5, 0x14(r29) -/* 801350D8 00132038 90 9D 00 18 */ stw r4, 0x18(r29) -/* 801350DC 0013203C 80 63 00 14 */ lwz r3, 0x14(r3) -/* 801350E0 00132040 90 7D 00 1C */ stw r3, 0x1c(r29) -/* 801350E4 00132044 90 1D 00 04 */ stw r0, 4(r29) -lbl_801350E8: -/* 801350E8 00132048 7F E3 FB 78 */ mr r3, r31 -/* 801350EC 0013204C 38 80 00 0E */ li r4, 0xe -/* 801350F0 00132050 4B FF C3 61 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801350F4 00132054 28 03 00 00 */ cmplwi r3, 0 -/* 801350F8 00132058 41 82 00 0C */ beq lbl_80135104 -/* 801350FC 0013205C 38 60 00 0C */ li r3, 0xc -/* 80135100 00132060 48 00 00 8C */ b lbl_8013518C -lbl_80135104: -/* 80135104 00132064 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 80135108 00132068 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013510C 0013206C 41 82 00 60 */ beq lbl_8013516C -/* 80135110 00132070 7F E3 FB 78 */ mr r3, r31 -/* 80135114 00132074 38 80 00 05 */ li r4, 5 -/* 80135118 00132078 4B FF C3 39 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013511C 0013207C 28 03 00 00 */ cmplwi r3, 0 -/* 80135120 00132080 41 82 00 0C */ beq lbl_8013512C -/* 80135124 00132084 38 60 00 07 */ li r3, 7 -/* 80135128 00132088 48 00 00 64 */ b lbl_8013518C -lbl_8013512C: -/* 8013512C 0013208C 7F E3 FB 78 */ mr r3, r31 -/* 80135130 00132090 38 80 00 06 */ li r4, 6 -/* 80135134 00132094 4B FF C3 1D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135138 00132098 28 03 00 00 */ cmplwi r3, 0 -/* 8013513C 0013209C 41 82 00 0C */ beq lbl_80135148 -/* 80135140 001320A0 38 60 00 12 */ li r3, 0x12 -/* 80135144 001320A4 48 00 00 48 */ b lbl_8013518C -lbl_80135148: -/* 80135148 001320A8 7F E3 FB 78 */ mr r3, r31 -/* 8013514C 001320AC 38 80 00 07 */ li r4, 7 -/* 80135150 001320B0 4B FF C3 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135154 001320B4 28 03 00 00 */ cmplwi r3, 0 -/* 80135158 001320B8 41 82 00 0C */ beq lbl_80135164 -/* 8013515C 001320BC 38 60 00 09 */ li r3, 9 -/* 80135160 001320C0 48 00 00 2C */ b lbl_8013518C -lbl_80135164: -/* 80135164 001320C4 80 7D 00 04 */ lwz r3, 4(r29) -/* 80135168 001320C8 48 00 00 24 */ b lbl_8013518C -lbl_8013516C: -/* 8013516C 001320CC 7F E3 FB 78 */ mr r3, r31 -/* 80135170 001320D0 38 80 00 0C */ li r4, 0xc -/* 80135174 001320D4 4B FF C2 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135178 001320D8 28 03 00 00 */ cmplwi r3, 0 -/* 8013517C 001320DC 41 82 00 0C */ beq lbl_80135188 -/* 80135180 001320E0 80 7D 00 04 */ lwz r3, 4(r29) -/* 80135184 001320E4 48 00 00 08 */ b lbl_8013518C -lbl_80135188: -/* 80135188 001320E8 38 60 FF FF */ li r3, -1 -lbl_8013518C: -/* 8013518C 001320EC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80135190 001320F0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80135194 001320F4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80135198 001320F8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8013519C 001320FC 7C 08 03 A6 */ mtlr r0 -/* 801351A0 00132100 38 21 00 20 */ addi r1, r1, 0x20 -/* 801351A4 00132104 4E 80 00 20 */ blr - -.global Shutdown__9CBSAttackFR15CBodyController -Shutdown__9CBSAttackFR15CBodyController: -/* 801351A8 00132108 4E 80 00 20 */ blr - -.global UpdateBody__9CBSAttackFfR15CBodyControllerR13CStateManager -UpdateBody__9CBSAttackFfR15CBodyControllerR13CStateManager: -/* 801351AC 0013210C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801351B0 00132110 7C 08 02 A6 */ mflr r0 -/* 801351B4 00132114 90 01 00 34 */ stw r0, 0x34(r1) -/* 801351B8 00132118 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 801351BC 0013211C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 801351C0 00132120 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801351C4 00132124 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801351C8 00132128 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801351CC 0013212C 93 81 00 10 */ stw r28, 0x10(r1) -/* 801351D0 00132130 7C 7C 1B 78 */ mr r28, r3 -/* 801351D4 00132134 FF E0 08 90 */ fmr f31, f1 -/* 801351D8 00132138 C0 03 00 34 */ lfs f0, 0x34(r3) -/* 801351DC 0013213C 7C 9D 23 78 */ mr r29, r4 -/* 801351E0 00132140 EC 00 F8 2A */ fadds f0, f0, f31 -/* 801351E4 00132144 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 801351E8 00132148 4B FF FE 0D */ bl GetBodyStateTransition__9CBSAttackFfR15CBodyController -/* 801351EC 0013214C 7C 7E 1B 78 */ mr r30, r3 -/* 801351F0 00132150 3B FD 00 04 */ addi r31, r29, 4 -/* 801351F4 00132154 2C 1E FF FF */ cmpwi r30, -1 -/* 801351F8 00132158 40 82 00 60 */ bne lbl_80135258 -/* 801351FC 0013215C C0 22 99 A0 */ lfs f1, lbl_805AB6C0@sda21(r2) -/* 80135200 00132160 38 00 00 00 */ li r0, 0 -/* 80135204 00132164 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 80135208 00132168 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013520C 0013216C 40 82 00 1C */ bne lbl_80135228 -/* 80135210 00132170 C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 80135214 00132174 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80135218 00132178 40 82 00 10 */ bne lbl_80135228 -/* 8013521C 0013217C C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 80135220 00132180 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80135224 00132184 41 82 00 08 */ beq lbl_8013522C -lbl_80135228: -/* 80135228 00132188 38 00 00 01 */ li r0, 1 -lbl_8013522C: -/* 8013522C 0013218C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80135230 00132190 41 82 00 14 */ beq lbl_80135244 -/* 80135234 00132194 FC 20 F8 90 */ fmr f1, f31 -/* 80135238 00132198 7F A3 EB 78 */ mr r3, r29 -/* 8013523C 0013219C 38 9F 00 18 */ addi r4, r31, 0x18 -/* 80135240 001321A0 48 00 54 65 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_80135244: -/* 80135244 001321A4 FC 20 F8 90 */ fmr f1, f31 -/* 80135248 001321A8 7F 83 E3 78 */ mr r3, r28 -/* 8013524C 001321AC 7F A4 EB 78 */ mr r4, r29 -/* 80135250 001321B0 4B FF FC 15 */ bl UpdatePhysicsActor__9CBSAttackFR15CBodyControllerf -/* 80135254 001321B4 48 00 00 40 */ b lbl_80135294 -lbl_80135258: -/* 80135258 001321B8 2C 1E 00 0F */ cmpwi r30, 0xf -/* 8013525C 001321BC 40 82 00 38 */ bne lbl_80135294 -/* 80135260 001321C0 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 80135264 001321C4 7F E3 FB 78 */ mr r3, r31 -/* 80135268 001321C8 4B FF C1 D1 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013526C 001321CC 80 1C 00 0C */ lwz r0, 0xc(r28) -/* 80135270 001321D0 90 1F 01 FC */ stw r0, 0x1fc(r31) -/* 80135274 001321D4 80 1C 00 10 */ lwz r0, 0x10(r28) -/* 80135278 001321D8 90 1F 02 00 */ stw r0, 0x200(r31) -/* 8013527C 001321DC 80 7C 00 14 */ lwz r3, 0x14(r28) -/* 80135280 001321E0 80 1C 00 18 */ lwz r0, 0x18(r28) -/* 80135284 001321E4 90 7F 02 04 */ stw r3, 0x204(r31) -/* 80135288 001321E8 90 1F 02 08 */ stw r0, 0x208(r31) -/* 8013528C 001321EC 80 1C 00 1C */ lwz r0, 0x1c(r28) -/* 80135290 001321F0 90 1F 02 0C */ stw r0, 0x20c(r31) -lbl_80135294: -/* 80135294 001321F4 7F C3 F3 78 */ mr r3, r30 -/* 80135298 001321F8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8013529C 001321FC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 801352A0 00132200 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 801352A4 00132204 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801352A8 00132208 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801352AC 0013220C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 801352B0 00132210 83 81 00 10 */ lwz r28, 0x10(r1) -/* 801352B4 00132214 7C 08 03 A6 */ mtlr r0 -/* 801352B8 00132218 38 21 00 30 */ addi r1, r1, 0x30 -/* 801352BC 0013221C 4E 80 00 20 */ blr - -.global Start__9CBSAttackFR15CBodyControllerR13CStateManager -Start__9CBSAttackFR15CBodyControllerR13CStateManager: -/* 801352C0 00132220 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 801352C4 00132224 7C 08 02 A6 */ mflr r0 -/* 801352C8 00132228 90 01 01 34 */ stw r0, 0x134(r1) -/* 801352CC 0013222C BF 21 01 14 */ stmw r25, 0x114(r1) -/* 801352D0 00132230 7C 9F 23 78 */ mr r31, r4 -/* 801352D4 00132234 7C 7E 1B 78 */ mr r30, r3 -/* 801352D8 00132238 7C B9 2B 78 */ mr r25, r5 -/* 801352DC 0013223C 38 80 00 05 */ li r4, 5 -/* 801352E0 00132240 38 7F 00 04 */ addi r3, r31, 4 -/* 801352E4 00132244 4B FF C1 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801352E8 00132248 7C 7D 1B 78 */ mr r29, r3 -/* 801352EC 0013224C 7F E3 FB 78 */ mr r3, r31 -/* 801352F0 00132250 48 00 51 65 */ bl GetPASDatabase__15CBodyControllerCFv -/* 801352F4 00132254 83 9F 02 EC */ lwz r28, 0x2ec(r31) -/* 801352F8 00132258 7C 7A 1B 78 */ mr r26, r3 -/* 801352FC 0013225C 83 7D 00 08 */ lwz r27, 8(r29) -/* 80135300 00132260 38 61 00 48 */ addi r3, r1, 0x48 -/* 80135304 00132264 48 1A DD 79 */ bl NoParameter__12CPASAnimParmFv -/* 80135308 00132268 38 61 00 50 */ addi r3, r1, 0x50 -/* 8013530C 0013226C 48 1A DD 71 */ bl NoParameter__12CPASAnimParmFv -/* 80135310 00132270 38 61 00 58 */ addi r3, r1, 0x58 -/* 80135314 00132274 48 1A DD 69 */ bl NoParameter__12CPASAnimParmFv -/* 80135318 00132278 38 61 00 60 */ addi r3, r1, 0x60 -/* 8013531C 0013227C 48 1A DD 61 */ bl NoParameter__12CPASAnimParmFv -/* 80135320 00132280 38 61 00 68 */ addi r3, r1, 0x68 -/* 80135324 00132284 48 1A DD 59 */ bl NoParameter__12CPASAnimParmFv -/* 80135328 00132288 38 61 00 70 */ addi r3, r1, 0x70 -/* 8013532C 0013228C 48 1A DD 51 */ bl NoParameter__12CPASAnimParmFv -/* 80135330 00132290 7F 84 E3 78 */ mr r4, r28 -/* 80135334 00132294 38 61 00 78 */ addi r3, r1, 0x78 -/* 80135338 00132298 48 1A DC 4D */ bl FromEnum__12CPASAnimParmFi -/* 8013533C 0013229C 7F 64 DB 78 */ mr r4, r27 -/* 80135340 001322A0 38 61 00 80 */ addi r3, r1, 0x80 -/* 80135344 001322A4 48 1A DC 41 */ bl FromEnum__12CPASAnimParmFi -/* 80135348 001322A8 38 61 00 50 */ addi r3, r1, 0x50 -/* 8013534C 001322AC 38 01 00 48 */ addi r0, r1, 0x48 -/* 80135350 001322B0 90 61 00 08 */ stw r3, 8(r1) -/* 80135354 001322B4 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80135358 001322B8 38 A1 00 80 */ addi r5, r1, 0x80 -/* 8013535C 001322BC 38 C1 00 78 */ addi r6, r1, 0x78 -/* 80135360 001322C0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80135364 001322C4 38 E1 00 70 */ addi r7, r1, 0x70 -/* 80135368 001322C8 39 01 00 68 */ addi r8, r1, 0x68 -/* 8013536C 001322CC 39 21 00 60 */ addi r9, r1, 0x60 -/* 80135370 001322D0 39 41 00 58 */ addi r10, r1, 0x58 -/* 80135374 001322D4 38 80 00 07 */ li r4, 7 -/* 80135378 001322D8 4B F4 7F 4D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013537C 001322DC 80 D9 09 00 */ lwz r6, 0x900(r25) -/* 80135380 001322E0 7F 44 D3 78 */ mr r4, r26 -/* 80135384 001322E4 38 61 00 40 */ addi r3, r1, 0x40 -/* 80135388 001322E8 38 A1 00 C0 */ addi r5, r1, 0xc0 -/* 8013538C 001322EC 38 E0 FF FF */ li r7, -1 -/* 80135390 001322F0 48 1A FC D1 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 80135394 001322F4 80 61 00 44 */ lwz r3, 0x44(r1) -/* 80135398 001322F8 38 00 00 00 */ li r0, 0 -/* 8013539C 001322FC C0 02 99 A4 */ lfs f0, lbl_805AB6C4@sda21(r2) -/* 801353A0 00132300 38 A0 FF FF */ li r5, -1 -/* 801353A4 00132304 38 E0 00 01 */ li r7, 1 -/* 801353A8 00132308 90 61 00 98 */ stw r3, 0x98(r1) -/* 801353AC 0013230C 7F E3 FB 78 */ mr r3, r31 -/* 801353B0 00132310 38 81 00 98 */ addi r4, r1, 0x98 -/* 801353B4 00132314 90 A1 00 9C */ stw r5, 0x9c(r1) -/* 801353B8 00132318 38 A0 00 00 */ li r5, 0 -/* 801353BC 0013231C 38 C0 00 00 */ li r6, 0 -/* 801353C0 00132320 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 801353C4 00132324 98 E1 00 A4 */ stb r7, 0xa4(r1) -/* 801353C8 00132328 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 801353CC 0013232C 90 01 00 AC */ stw r0, 0xac(r1) -/* 801353D0 00132330 98 01 00 B0 */ stb r0, 0xb0(r1) -/* 801353D4 00132334 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 801353D8 00132338 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 801353DC 0013233C 90 01 00 BC */ stw r0, 0xbc(r1) -/* 801353E0 00132340 48 00 55 3D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 801353E4 00132344 88 1D 00 18 */ lbz r0, 0x18(r29) -/* 801353E8 00132348 28 00 00 00 */ cmplwi r0, 0 -/* 801353EC 0013234C 41 82 01 04 */ beq lbl_801354F0 -/* 801353F0 00132350 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 801353F4 00132354 38 61 00 38 */ addi r3, r1, 0x38 -/* 801353F8 00132358 38 C1 00 30 */ addi r6, r1, 0x30 -/* 801353FC 0013235C 38 A0 00 0A */ li r5, 0xa -/* 80135400 00132360 D0 1E 00 20 */ stfs f0, 0x20(r30) -/* 80135404 00132364 C0 1D 00 10 */ lfs f0, 0x10(r29) -/* 80135408 00132368 D0 1E 00 24 */ stfs f0, 0x24(r30) -/* 8013540C 0013236C C0 1D 00 14 */ lfs f0, 0x14(r29) -/* 80135410 00132370 D0 1E 00 28 */ stfs f0, 0x28(r30) -/* 80135414 00132374 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13) -/* 80135418 00132378 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13) -/* 8013541C 0013237C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80135420 00132380 90 01 00 34 */ stw r0, 0x34(r1) -/* 80135424 00132384 80 9F 00 00 */ lwz r4, 0(r31) -/* 80135428 00132388 80 84 00 64 */ lwz r4, 0x64(r4) -/* 8013542C 0013238C 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80135430 00132390 4B EF 5B A9 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime -/* 80135434 00132394 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80135438 00132398 38 61 00 90 */ addi r3, r1, 0x90 -/* 8013543C 0013239C 80 A1 00 3C */ lwz r5, 0x3c(r1) -/* 80135440 001323A0 38 81 00 28 */ addi r4, r1, 0x28 -/* 80135444 001323A4 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13) -/* 80135448 001323A8 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13) -/* 8013544C 001323AC D0 21 00 90 */ stfs f1, 0x90(r1) -/* 80135450 001323B0 90 A1 00 94 */ stw r5, 0x94(r1) -/* 80135454 001323B4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80135458 001323B8 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8013545C 001323BC 48 21 36 79 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime -/* 80135460 001323C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80135464 001323C4 41 82 00 0C */ beq lbl_80135470 -/* 80135468 001323C8 C0 01 00 90 */ lfs f0, 0x90(r1) -/* 8013546C 001323CC 48 00 00 08 */ b lbl_80135474 -lbl_80135470: -/* 80135470 001323D0 C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2) -lbl_80135474: -/* 80135474 001323D4 D0 1E 00 2C */ stfs f0, 0x2c(r30) -/* 80135478 001323D8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013547C 001323DC 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80135480 001323E0 38 A0 00 03 */ li r5, 3 -/* 80135484 001323E4 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13) -/* 80135488 001323E8 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13) -/* 8013548C 001323EC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80135490 001323F0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80135494 001323F4 80 9F 00 00 */ lwz r4, 0(r31) -/* 80135498 001323F8 80 84 00 64 */ lwz r4, 0x64(r4) -/* 8013549C 001323FC 80 84 00 10 */ lwz r4, 0x10(r4) -/* 801354A0 00132400 4B EF 5B 39 */ bl GetTimeOfUserEvent__9CAnimDataCF14EUserEventTypeRC13CCharAnimTime -/* 801354A4 00132404 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 801354A8 00132408 38 61 00 88 */ addi r3, r1, 0x88 -/* 801354AC 0013240C 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 801354B0 00132410 38 81 00 10 */ addi r4, r1, 0x10 -/* 801354B4 00132414 C0 0D 8B 54 */ lfs f0, lbl_805A7714@sda21(r13) -/* 801354B8 00132418 80 0D 8B 50 */ lwz r0, lbl_805A7710@sda21(r13) -/* 801354BC 0013241C D0 21 00 88 */ stfs f1, 0x88(r1) -/* 801354C0 00132420 90 A1 00 8C */ stw r5, 0x8c(r1) -/* 801354C4 00132424 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 801354C8 00132428 90 01 00 14 */ stw r0, 0x14(r1) -/* 801354CC 0013242C 48 21 36 09 */ bl __ne__13CCharAnimTimeCFRC13CCharAnimTime -/* 801354D0 00132430 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801354D4 00132434 41 82 00 0C */ beq lbl_801354E0 -/* 801354D8 00132438 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 801354DC 0013243C 48 00 00 0C */ b lbl_801354E8 -lbl_801354E0: -/* 801354E0 00132440 7F E3 FB 78 */ mr r3, r31 -/* 801354E4 00132444 48 00 53 D5 */ bl GetAnimTimeRemaining__15CBodyControllerCFv -lbl_801354E8: -/* 801354E8 00132448 D0 3E 00 30 */ stfs f1, 0x30(r30) -/* 801354EC 0013244C 48 00 00 2C */ b lbl_80135518 -lbl_801354F0: -/* 801354F0 00132450 3C 60 80 5A */ lis r3, skZero3f@ha -/* 801354F4 00132454 C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) -/* 801354F8 00132458 C0 02 99 A8 */ lfs f0, lbl_805AB6C8@sda21(r2) -/* 801354FC 0013245C D0 3E 00 20 */ stfs f1, 0x20(r30) -/* 80135500 00132460 C0 23 00 04 */ lfs f1, 4(r3) -/* 80135504 00132464 D0 3E 00 24 */ stfs f1, 0x24(r30) -/* 80135508 00132468 C0 23 00 08 */ lfs f1, 8(r3) -/* 8013550C 0013246C D0 3E 00 28 */ stfs f1, 0x28(r30) -/* 80135510 00132470 D0 1E 00 30 */ stfs f0, 0x30(r30) -/* 80135514 00132474 D0 1E 00 2C */ stfs f0, 0x2c(r30) -lbl_80135518: -/* 80135518 00132478 38 00 00 05 */ li r0, 5 -/* 8013551C 0013247C C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2) -/* 80135520 00132480 90 1E 00 04 */ stw r0, 4(r30) -/* 80135524 00132484 34 A1 00 C4 */ addic. r5, r1, 0xc4 -/* 80135528 00132488 D0 1E 00 34 */ stfs f0, 0x34(r30) -/* 8013552C 0013248C 41 82 00 58 */ beq lbl_80135584 -/* 80135530 00132490 80 C5 00 00 */ lwz r6, 0(r5) -/* 80135534 00132494 38 60 00 00 */ li r3, 0 -/* 80135538 00132498 2C 06 00 00 */ cmpwi r6, 0 -/* 8013553C 0013249C 40 81 00 40 */ ble lbl_8013557C -/* 80135540 001324A0 2C 06 00 08 */ cmpwi r6, 8 -/* 80135544 001324A4 38 86 FF F8 */ addi r4, r6, -8 -/* 80135548 001324A8 40 81 00 20 */ ble lbl_80135568 -/* 8013554C 001324AC 38 04 00 07 */ addi r0, r4, 7 -/* 80135550 001324B0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80135554 001324B4 7C 09 03 A6 */ mtctr r0 -/* 80135558 001324B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8013555C 001324BC 40 81 00 0C */ ble lbl_80135568 -lbl_80135560: -/* 80135560 001324C0 38 63 00 08 */ addi r3, r3, 8 -/* 80135564 001324C4 42 00 FF FC */ bdnz lbl_80135560 -lbl_80135568: -/* 80135568 001324C8 7C 03 30 50 */ subf r0, r3, r6 -/* 8013556C 001324CC 7C 09 03 A6 */ mtctr r0 -/* 80135570 001324D0 7C 03 30 00 */ cmpw r3, r6 -/* 80135574 001324D4 40 80 00 08 */ bge lbl_8013557C -lbl_80135578: -/* 80135578 001324D8 42 00 00 00 */ bdnz lbl_80135578 -lbl_8013557C: -/* 8013557C 001324DC 38 00 00 00 */ li r0, 0 -/* 80135580 001324E0 90 05 00 00 */ stw r0, 0(r5) -lbl_80135584: -/* 80135584 001324E4 BB 21 01 14 */ lmw r25, 0x114(r1) -/* 80135588 001324E8 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8013558C 001324EC 7C 08 03 A6 */ mtlr r0 -/* 80135590 001324F0 38 21 01 30 */ addi r1, r1, 0x130 -/* 80135594 001324F4 4E 80 00 20 */ blr - -.global __ct__9CBSAttackFv -__ct__9CBSAttackFv: -/* 80135598 001324F8 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 8013559C 001324FC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801355A0 00132500 38 05 13 18 */ addi r0, r5, lbl_803E1318@l -/* 801355A4 00132504 3C C0 80 5A */ lis r6, skZero3f@ha -/* 801355A8 00132508 3C 80 80 3E */ lis r4, lbl_803E1370@ha -/* 801355AC 0013250C 90 03 00 00 */ stw r0, 0(r3) -/* 801355B0 00132510 38 04 13 70 */ addi r0, r4, lbl_803E1370@l -/* 801355B4 00132514 39 40 FF FF */ li r10, -1 -/* 801355B8 00132518 90 03 00 00 */ stw r0, 0(r3) -/* 801355BC 0013251C 3C 80 80 3E */ lis r4, lbl_803DAA08@ha -/* 801355C0 00132520 39 26 66 A0 */ addi r9, r6, skZero3f@l -/* 801355C4 00132524 3C A0 80 3E */ lis r5, lbl_803DAA68@ha -/* 801355C8 00132528 91 43 00 04 */ stw r10, 4(r3) -/* 801355CC 0013252C 38 04 AA 08 */ addi r0, r4, lbl_803DAA08@l -/* 801355D0 00132530 38 C5 AA 68 */ addi r6, r5, lbl_803DAA68@l -/* 801355D4 00132534 38 A0 00 11 */ li r5, 0x11 -/* 801355D8 00132538 81 09 00 00 */ lwz r8, 0(r9) -/* 801355DC 0013253C 80 E9 00 04 */ lwz r7, 4(r9) -/* 801355E0 00132540 80 89 00 08 */ lwz r4, 8(r9) -/* 801355E4 00132544 91 01 00 08 */ stw r8, 8(r1) -/* 801355E8 00132548 C0 22 99 A8 */ lfs f1, lbl_805AB6C8@sda21(r2) -/* 801355EC 0013254C 90 C3 00 08 */ stw r6, 8(r3) -/* 801355F0 00132550 C0 41 00 08 */ lfs f2, 8(r1) -/* 801355F4 00132554 90 A3 00 0C */ stw r5, 0xc(r3) -/* 801355F8 00132558 C0 02 99 A0 */ lfs f0, lbl_805AB6C0@sda21(r2) -/* 801355FC 0013255C 90 03 00 08 */ stw r0, 8(r3) -/* 80135600 00132560 90 E1 00 0C */ stw r7, 0xc(r1) -/* 80135604 00132564 91 43 00 10 */ stw r10, 0x10(r3) -/* 80135608 00132568 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 8013560C 0013256C D0 43 00 14 */ stfs f2, 0x14(r3) -/* 80135610 00132570 90 81 00 10 */ stw r4, 0x10(r1) -/* 80135614 00132574 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80135618 00132578 D0 63 00 18 */ stfs f3, 0x18(r3) -/* 8013561C 0013257C D0 43 00 1C */ stfs f2, 0x1c(r3) -/* 80135620 00132580 C0 49 00 00 */ lfs f2, 0(r9) -/* 80135624 00132584 D0 43 00 20 */ stfs f2, 0x20(r3) -/* 80135628 00132588 C0 49 00 04 */ lfs f2, 4(r9) -/* 8013562C 0013258C D0 43 00 24 */ stfs f2, 0x24(r3) -/* 80135630 00132590 C0 49 00 08 */ lfs f2, 8(r9) -/* 80135634 00132594 D0 43 00 28 */ stfs f2, 0x28(r3) -/* 80135638 00132598 D0 23 00 2C */ stfs f1, 0x2c(r3) -/* 8013563C 0013259C D0 23 00 30 */ stfs f1, 0x30(r3) -/* 80135640 001325A0 D0 03 00 34 */ stfs f0, 0x34(r3) -/* 80135644 001325A4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80135648 001325A8 4E 80 00 20 */ blr - -.global __dt__6CBSDieFv -__dt__6CBSDieFv: -/* 8013564C 001325AC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80135650 001325B0 7C 08 02 A6 */ mflr r0 -/* 80135654 001325B4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80135658 001325B8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013565C 001325BC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80135660 001325C0 41 82 00 30 */ beq lbl_80135690 -/* 80135664 001325C4 3C 60 80 3E */ lis r3, lbl_803E13A8@ha -/* 80135668 001325C8 38 03 13 A8 */ addi r0, r3, lbl_803E13A8@l -/* 8013566C 001325CC 90 1F 00 00 */ stw r0, 0(r31) -/* 80135670 001325D0 41 82 00 10 */ beq lbl_80135680 -/* 80135674 001325D4 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80135678 001325D8 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 8013567C 001325DC 90 1F 00 00 */ stw r0, 0(r31) -lbl_80135680: -/* 80135680 001325E0 7C 80 07 35 */ extsh. r0, r4 -/* 80135684 001325E4 40 81 00 0C */ ble lbl_80135690 -/* 80135688 001325E8 7F E3 FB 78 */ mr r3, r31 -/* 8013568C 001325EC 48 1E 02 A5 */ bl Free__7CMemoryFPCv -lbl_80135690: -/* 80135690 001325F0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80135694 001325F4 7F E3 FB 78 */ mr r3, r31 -/* 80135698 001325F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013569C 001325FC 7C 08 03 A6 */ mtlr r0 -/* 801356A0 00132600 38 21 00 10 */ addi r1, r1, 0x10 -/* 801356A4 00132604 4E 80 00 20 */ blr - -.global IsDead__6CBSDieCFv -IsDead__6CBSDieCFv: -/* 801356A8 00132608 88 63 00 08 */ lbz r3, 8(r3) -/* 801356AC 0013260C 4E 80 00 20 */ blr - -.global IsDying__6CBSDieCFv -IsDying__6CBSDieCFv: -/* 801356B0 00132610 38 60 00 01 */ li r3, 1 -/* 801356B4 00132614 4E 80 00 20 */ blr - -.global Shutdown__6CBSDieFR15CBodyController -Shutdown__6CBSDieFR15CBodyController: -/* 801356B8 00132618 4E 80 00 20 */ blr - -.global UpdateBody__6CBSDieFfR15CBodyControllerR13CStateManager -UpdateBody__6CBSDieFfR15CBodyControllerR13CStateManager: -/* 801356BC 0013261C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801356C0 00132620 7C 08 02 A6 */ mflr r0 -/* 801356C4 00132624 C0 02 99 B0 */ lfs f0, lbl_805AB6D0@sda21(r2) -/* 801356C8 00132628 90 01 00 14 */ stw r0, 0x14(r1) -/* 801356CC 0013262C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801356D0 00132630 7C 7F 1B 78 */ mr r31, r3 -/* 801356D4 00132634 C0 43 00 04 */ lfs f2, 4(r3) -/* 801356D8 00132638 EC 22 08 28 */ fsubs f1, f2, f1 -/* 801356DC 0013263C D0 23 00 04 */ stfs f1, 4(r3) -/* 801356E0 00132640 C0 23 00 04 */ lfs f1, 4(r3) -/* 801356E4 00132644 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801356E8 00132648 4C 40 13 82 */ cror 2, 0, 2 -/* 801356EC 0013264C 40 82 00 18 */ bne lbl_80135704 -/* 801356F0 00132650 7C 83 23 78 */ mr r3, r4 -/* 801356F4 00132654 38 80 00 00 */ li r4, 0 -/* 801356F8 00132658 48 00 52 91 */ bl EnableAnimation__15CBodyControllerFb -/* 801356FC 0013265C 38 00 00 01 */ li r0, 1 -/* 80135700 00132660 98 1F 00 08 */ stb r0, 8(r31) -lbl_80135704: -/* 80135704 00132664 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80135708 00132668 38 60 FF FF */ li r3, -1 -/* 8013570C 0013266C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80135710 00132670 7C 08 03 A6 */ mtlr r0 -/* 80135714 00132674 38 21 00 10 */ addi r1, r1, 0x10 -/* 80135718 00132678 4E 80 00 20 */ blr - -.global Start__6CBSDieFR15CBodyControllerR13CStateManager -Start__6CBSDieFR15CBodyControllerR13CStateManager: -/* 8013571C 0013267C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80135720 00132680 7C 08 02 A6 */ mflr r0 -/* 80135724 00132684 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80135728 00132688 BF 41 00 C8 */ stmw r26, 0xc8(r1) -/* 8013572C 0013268C 7C 9F 23 78 */ mr r31, r4 -/* 80135730 00132690 7C 7E 1B 78 */ mr r30, r3 -/* 80135734 00132694 7C BA 2B 78 */ mr r26, r5 -/* 80135738 00132698 7F E3 FB 78 */ mr r3, r31 -/* 8013573C 0013269C 48 00 4D 19 */ bl GetPASDatabase__15CBodyControllerCFv -/* 80135740 001326A0 7C 60 1B 78 */ mr r0, r3 -/* 80135744 001326A4 7F E3 FB 78 */ mr r3, r31 -/* 80135748 001326A8 7C 1D 03 78 */ mr r29, r0 -/* 8013574C 001326AC 48 00 54 61 */ bl GetFallState__15CBodyControllerCFv -/* 80135750 001326B0 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 80135754 001326B4 7C 7C 1B 78 */ mr r28, r3 -/* 80135758 001326B8 3B 60 00 01 */ li r27, 1 -/* 8013575C 001326BC 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 80135760 001326C0 41 82 01 60 */ beq lbl_801358C0 -/* 80135764 001326C4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80135768 001326C8 48 1A D9 15 */ bl NoParameter__12CPASAnimParmFv -/* 8013576C 001326CC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80135770 001326D0 48 1A D9 0D */ bl NoParameter__12CPASAnimParmFv -/* 80135774 001326D4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80135778 001326D8 48 1A D9 05 */ bl NoParameter__12CPASAnimParmFv -/* 8013577C 001326DC 38 61 00 30 */ addi r3, r1, 0x30 -/* 80135780 001326E0 48 1A D8 FD */ bl NoParameter__12CPASAnimParmFv -/* 80135784 001326E4 38 61 00 38 */ addi r3, r1, 0x38 -/* 80135788 001326E8 48 1A D8 F5 */ bl NoParameter__12CPASAnimParmFv -/* 8013578C 001326EC 38 61 00 40 */ addi r3, r1, 0x40 -/* 80135790 001326F0 48 1A D8 ED */ bl NoParameter__12CPASAnimParmFv -/* 80135794 001326F4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80135798 001326F8 48 1A D8 E5 */ bl NoParameter__12CPASAnimParmFv -/* 8013579C 001326FC 7F 84 E3 78 */ mr r4, r28 -/* 801357A0 00132700 38 61 00 50 */ addi r3, r1, 0x50 -/* 801357A4 00132704 48 1A D7 E1 */ bl FromEnum__12CPASAnimParmFi -/* 801357A8 00132708 38 61 00 20 */ addi r3, r1, 0x20 -/* 801357AC 0013270C 38 01 00 18 */ addi r0, r1, 0x18 -/* 801357B0 00132710 90 61 00 08 */ stw r3, 8(r1) -/* 801357B4 00132714 38 61 00 80 */ addi r3, r1, 0x80 -/* 801357B8 00132718 38 A1 00 50 */ addi r5, r1, 0x50 -/* 801357BC 0013271C 38 C1 00 48 */ addi r6, r1, 0x48 -/* 801357C0 00132720 90 01 00 0C */ stw r0, 0xc(r1) -/* 801357C4 00132724 38 E1 00 40 */ addi r7, r1, 0x40 -/* 801357C8 00132728 39 01 00 38 */ addi r8, r1, 0x38 -/* 801357CC 0013272C 39 21 00 30 */ addi r9, r1, 0x30 -/* 801357D0 00132730 39 41 00 28 */ addi r10, r1, 0x28 -/* 801357D4 00132734 38 80 00 04 */ li r4, 4 -/* 801357D8 00132738 4B F4 7A ED */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 801357DC 0013273C 80 DA 09 00 */ lwz r6, 0x900(r26) -/* 801357E0 00132740 7F A4 EB 78 */ mr r4, r29 -/* 801357E4 00132744 38 61 00 10 */ addi r3, r1, 0x10 -/* 801357E8 00132748 38 A1 00 80 */ addi r5, r1, 0x80 -/* 801357EC 0013274C 38 E0 FF FF */ li r7, -1 -/* 801357F0 00132750 48 1A F8 71 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 801357F4 00132754 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 801357F8 00132758 C0 02 99 B0 */ lfs f0, lbl_805AB6D0@sda21(r2) -/* 801357FC 0013275C 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80135800 00132760 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80135804 00132764 40 81 00 60 */ ble lbl_80135864 -/* 80135808 00132768 C0 02 99 B4 */ lfs f0, lbl_805AB6D4@sda21(r2) -/* 8013580C 0013276C 38 00 00 00 */ li r0, 0 -/* 80135810 00132770 38 C0 FF FF */ li r6, -1 -/* 80135814 00132774 38 E0 00 01 */ li r7, 1 -/* 80135818 00132778 90 61 00 58 */ stw r3, 0x58(r1) -/* 8013581C 0013277C 7F E3 FB 78 */ mr r3, r31 -/* 80135820 00132780 38 81 00 58 */ addi r4, r1, 0x58 -/* 80135824 00132784 38 A0 00 00 */ li r5, 0 -/* 80135828 00132788 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 8013582C 0013278C 38 C0 00 00 */ li r6, 0 -/* 80135830 00132790 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80135834 00132794 98 E1 00 64 */ stb r7, 0x64(r1) -/* 80135838 00132798 90 01 00 68 */ stw r0, 0x68(r1) -/* 8013583C 0013279C 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80135840 001327A0 98 01 00 70 */ stb r0, 0x70(r1) -/* 80135844 001327A4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80135848 001327A8 90 01 00 78 */ stw r0, 0x78(r1) -/* 8013584C 001327AC 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80135850 001327B0 48 00 50 CD */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80135854 001327B4 7F E3 FB 78 */ mr r3, r31 -/* 80135858 001327B8 48 00 50 61 */ bl GetAnimTimeRemaining__15CBodyControllerCFv -/* 8013585C 001327BC D0 3E 00 04 */ stfs f1, 4(r30) -/* 80135860 001327C0 3B 60 00 00 */ li r27, 0 -lbl_80135864: -/* 80135864 001327C4 34 A1 00 84 */ addic. r5, r1, 0x84 -/* 80135868 001327C8 41 82 00 58 */ beq lbl_801358C0 -/* 8013586C 001327CC 80 C5 00 00 */ lwz r6, 0(r5) -/* 80135870 001327D0 38 60 00 00 */ li r3, 0 -/* 80135874 001327D4 2C 06 00 00 */ cmpwi r6, 0 -/* 80135878 001327D8 40 81 00 40 */ ble lbl_801358B8 -/* 8013587C 001327DC 2C 06 00 08 */ cmpwi r6, 8 -/* 80135880 001327E0 38 86 FF F8 */ addi r4, r6, -8 -/* 80135884 001327E4 40 81 00 20 */ ble lbl_801358A4 -/* 80135888 001327E8 38 04 00 07 */ addi r0, r4, 7 -/* 8013588C 001327EC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80135890 001327F0 7C 09 03 A6 */ mtctr r0 -/* 80135894 001327F4 2C 04 00 00 */ cmpwi r4, 0 -/* 80135898 001327F8 40 81 00 0C */ ble lbl_801358A4 -lbl_8013589C: -/* 8013589C 001327FC 38 63 00 08 */ addi r3, r3, 8 -/* 801358A0 00132800 42 00 FF FC */ bdnz lbl_8013589C -lbl_801358A4: -/* 801358A4 00132804 7C 03 30 50 */ subf r0, r3, r6 -/* 801358A8 00132808 7C 09 03 A6 */ mtctr r0 -/* 801358AC 0013280C 7C 03 30 00 */ cmpw r3, r6 -/* 801358B0 00132810 40 80 00 08 */ bge lbl_801358B8 -lbl_801358B4: -/* 801358B4 00132814 42 00 00 00 */ bdnz lbl_801358B4 -lbl_801358B8: -/* 801358B8 00132818 38 00 00 00 */ li r0, 0 -/* 801358BC 0013281C 90 05 00 00 */ stw r0, 0(r5) -lbl_801358C0: -/* 801358C0 00132820 57 60 06 3F */ clrlwi. r0, r27, 0x18 -/* 801358C4 00132824 41 82 00 2C */ beq lbl_801358F0 -/* 801358C8 00132828 7F E3 FB 78 */ mr r3, r31 -/* 801358CC 0013282C 38 80 00 00 */ li r4, 0 -/* 801358D0 00132830 48 00 50 B9 */ bl EnableAnimation__15CBodyControllerFb -/* 801358D4 00132834 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 801358D8 00132838 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 801358DC 0013283C 41 82 00 0C */ beq lbl_801358E8 -/* 801358E0 00132840 C0 02 99 B8 */ lfs f0, lbl_805AB6D8@sda21(r2) -/* 801358E4 00132844 48 00 00 08 */ b lbl_801358EC -lbl_801358E8: -/* 801358E8 00132848 C0 02 99 BC */ lfs f0, lbl_805AB6DC@sda21(r2) -lbl_801358EC: -/* 801358EC 0013284C D0 1E 00 04 */ stfs f0, 4(r30) -lbl_801358F0: -/* 801358F0 00132850 38 00 00 00 */ li r0, 0 -/* 801358F4 00132854 98 1E 00 08 */ stb r0, 8(r30) -/* 801358F8 00132858 BB 41 00 C8 */ lmw r26, 0xc8(r1) -/* 801358FC 0013285C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80135900 00132860 7C 08 03 A6 */ mtlr r0 -/* 80135904 00132864 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80135908 00132868 4E 80 00 20 */ blr - -.global __ct__6CBSDieFv -__ct__6CBSDieFv: -/* 8013590C 0013286C 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 80135910 00132870 3C 80 80 3E */ lis r4, lbl_803E13A8@ha -/* 80135914 00132874 38 05 13 18 */ addi r0, r5, lbl_803E1318@l -/* 80135918 00132878 C0 02 99 B0 */ lfs f0, lbl_805AB6D0@sda21(r2) -/* 8013591C 0013287C 90 03 00 00 */ stw r0, 0(r3) -/* 80135920 00132880 38 84 13 A8 */ addi r4, r4, lbl_803E13A8@l -/* 80135924 00132884 38 00 00 00 */ li r0, 0 -/* 80135928 00132888 90 83 00 00 */ stw r4, 0(r3) -/* 8013592C 0013288C D0 03 00 04 */ stfs f0, 4(r3) -/* 80135930 00132890 98 03 00 08 */ stb r0, 8(r3) -/* 80135934 00132894 4E 80 00 20 */ blr - -.global __dt__7CBSFallFv -__dt__7CBSFallFv: -/* 80135938 00132898 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013593C 0013289C 7C 08 02 A6 */ mflr r0 -/* 80135940 001328A0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80135944 001328A4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80135948 001328A8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8013594C 001328AC 41 82 00 30 */ beq lbl_8013597C -/* 80135950 001328B0 3C 60 80 3E */ lis r3, lbl_803E13E0@ha -/* 80135954 001328B4 38 03 13 E0 */ addi r0, r3, lbl_803E13E0@l -/* 80135958 001328B8 90 1F 00 00 */ stw r0, 0(r31) -/* 8013595C 001328BC 41 82 00 10 */ beq lbl_8013596C -/* 80135960 001328C0 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80135964 001328C4 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80135968 001328C8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013596C: -/* 8013596C 001328CC 7C 80 07 35 */ extsh. r0, r4 -/* 80135970 001328D0 40 81 00 0C */ ble lbl_8013597C -/* 80135974 001328D4 7F E3 FB 78 */ mr r3, r31 -/* 80135978 001328D8 48 1D FF B9 */ bl Free__7CMemoryFPCv -lbl_8013597C: -/* 8013597C 001328DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80135980 001328E0 7F E3 FB 78 */ mr r3, r31 -/* 80135984 001328E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80135988 001328E8 7C 08 03 A6 */ mtlr r0 -/* 8013598C 001328EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80135990 001328F0 4E 80 00 20 */ blr - -.global GetBodyStateTransition__7CBSFallFfR15CBodyController -GetBodyStateTransition__7CBSFallFfR15CBodyController: -/* 80135994 001328F4 88 04 03 00 */ lbz r0, 0x300(r4) -/* 80135998 001328F8 38 60 FF FF */ li r3, -1 -/* 8013599C 001328FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801359A0 00132900 4D 82 00 20 */ beqlr -/* 801359A4 00132904 38 60 00 02 */ li r3, 2 -/* 801359A8 00132908 4E 80 00 20 */ blr - -.global Shutdown__7CBSFallFR15CBodyController -Shutdown__7CBSFallFR15CBodyController: -/* 801359AC 0013290C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801359B0 00132910 7C 08 02 A6 */ mflr r0 -/* 801359B4 00132914 90 01 00 14 */ stw r0, 0x14(r1) -/* 801359B8 00132918 7C 80 23 78 */ mr r0, r4 -/* 801359BC 0013291C 80 83 00 0C */ lwz r4, 0xc(r3) -/* 801359C0 00132920 7C 03 03 78 */ mr r3, r0 -/* 801359C4 00132924 48 00 51 E1 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState -/* 801359C8 00132928 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801359CC 0013292C 7C 08 03 A6 */ mtlr r0 -/* 801359D0 00132930 38 21 00 10 */ addi r1, r1, 0x10 -/* 801359D4 00132934 4E 80 00 20 */ blr - -.global UpdateBody__7CBSFallFfR15CBodyControllerR13CStateManager -UpdateBody__7CBSFallFfR15CBodyControllerR13CStateManager: -/* 801359D8 00132938 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 801359DC 0013293C 7C 08 02 A6 */ mflr r0 -/* 801359E0 00132940 90 01 00 44 */ stw r0, 0x44(r1) -/* 801359E4 00132944 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 801359E8 00132948 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 801359EC 0013294C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801359F0 00132950 93 C1 00 28 */ stw r30, 0x28(r1) -/* 801359F4 00132954 93 A1 00 24 */ stw r29, 0x24(r1) -/* 801359F8 00132958 FF E0 08 90 */ fmr f31, f1 -/* 801359FC 0013295C 7C 7D 1B 78 */ mr r29, r3 -/* 80135A00 00132960 7C 9E 23 78 */ mr r30, r4 -/* 80135A04 00132964 4B FF FF 91 */ bl GetBodyStateTransition__7CBSFallFfR15CBodyController -/* 80135A08 00132968 7C 7F 1B 78 */ mr r31, r3 -/* 80135A0C 0013296C 2C 1F FF FF */ cmpwi r31, -1 -/* 80135A10 00132970 40 82 00 44 */ bne lbl_80135A54 -/* 80135A14 00132974 C0 3D 00 08 */ lfs f1, 8(r29) -/* 80135A18 00132978 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) -/* 80135A1C 0013297C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80135A20 00132980 40 81 00 34 */ ble lbl_80135A54 -/* 80135A24 00132984 C0 1D 00 04 */ lfs f0, 4(r29) -/* 80135A28 00132988 38 61 00 0C */ addi r3, r1, 0xc -/* 80135A2C 0013298C 38 81 00 08 */ addi r4, r1, 8 -/* 80135A30 00132990 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80135A34 00132994 D0 01 00 08 */ stfs f0, 8(r1) -/* 80135A38 00132998 48 1D B6 C1 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 80135A3C 0013299C 7F C3 F3 78 */ mr r3, r30 -/* 80135A40 001329A0 38 81 00 0C */ addi r4, r1, 0xc -/* 80135A44 001329A4 48 00 4D C5 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion -/* 80135A48 001329A8 C0 1D 00 08 */ lfs f0, 8(r29) -/* 80135A4C 001329AC EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80135A50 001329B0 D0 1D 00 08 */ stfs f0, 8(r29) -lbl_80135A54: -/* 80135A54 001329B4 7F E3 FB 78 */ mr r3, r31 -/* 80135A58 001329B8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80135A5C 001329BC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80135A60 001329C0 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80135A64 001329C4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80135A68 001329C8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80135A6C 001329CC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80135A70 001329D0 7C 08 03 A6 */ mtlr r0 -/* 80135A74 001329D4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80135A78 001329D8 4E 80 00 20 */ blr - -.global Start__7CBSFallFR15CBodyControllerR13CStateManager -Start__7CBSFallFR15CBodyControllerR13CStateManager: -/* 80135A7C 001329DC 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 80135A80 001329E0 7C 08 02 A6 */ mflr r0 -/* 80135A84 001329E4 90 01 01 64 */ stw r0, 0x164(r1) -/* 80135A88 001329E8 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 80135A8C 001329EC F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 80135A90 001329F0 BF 61 01 3C */ stmw r27, 0x13c(r1) -/* 80135A94 001329F4 7C 9E 23 78 */ mr r30, r4 -/* 80135A98 001329F8 7C 7D 1B 78 */ mr r29, r3 -/* 80135A9C 001329FC 7C BB 2B 78 */ mr r27, r5 -/* 80135AA0 00132A00 38 80 00 03 */ li r4, 3 -/* 80135AA4 00132A04 38 7E 00 04 */ addi r3, r30, 4 -/* 80135AA8 00132A08 4B FF B9 A9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135AAC 00132A0C 80 9E 00 00 */ lwz r4, 0(r30) -/* 80135AB0 00132A10 7C 7F 1B 78 */ mr r31, r3 -/* 80135AB4 00132A14 38 61 00 90 */ addi r3, r1, 0x90 -/* 80135AB8 00132A18 38 84 00 34 */ addi r4, r4, 0x34 -/* 80135ABC 00132A1C 38 BF 00 08 */ addi r5, r31, 8 -/* 80135AC0 00132A20 48 1D CF 65 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80135AC4 00132A24 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 80135AC8 00132A28 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 80135ACC 00132A2C 48 25 F1 A1 */ bl atan2 -/* 80135AD0 00132A30 FC 80 08 18 */ frsp f4, f1 -/* 80135AD4 00132A34 C0 02 99 C4 */ lfs f0, lbl_805AB6E4@sda21(r2) -/* 80135AD8 00132A38 3C 00 43 30 */ lis r0, 0x4330 -/* 80135ADC 00132A3C C8 62 99 E8 */ lfd f3, lbl_805AB708@sda21(r2) -/* 80135AE0 00132A40 90 01 01 18 */ stw r0, 0x118(r1) -/* 80135AE4 00132A44 EC 44 00 32 */ fmuls f2, f4, f0 -/* 80135AE8 00132A48 C0 22 99 C8 */ lfs f1, lbl_805AB6E8@sda21(r2) -/* 80135AEC 00132A4C C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) -/* 80135AF0 00132A50 FC 40 10 1E */ fctiwz f2, f2 -/* 80135AF4 00132A54 D8 41 01 10 */ stfd f2, 0x110(r1) -/* 80135AF8 00132A58 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80135AFC 00132A5C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80135B00 00132A60 90 01 01 1C */ stw r0, 0x11c(r1) -/* 80135B04 00132A64 C8 41 01 18 */ lfd f2, 0x118(r1) -/* 80135B08 00132A68 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80135B0C 00132A6C EF E2 20 7C */ fnmsubs f31, f2, f1, f4 -/* 80135B10 00132A70 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80135B14 00132A74 40 80 00 08 */ bge lbl_80135B1C -/* 80135B18 00132A78 EF FF 08 2A */ fadds f31, f31, f1 -lbl_80135B1C: -/* 80135B1C 00132A7C 7F C3 F3 78 */ mr r3, r30 -/* 80135B20 00132A80 48 00 49 35 */ bl GetPASDatabase__15CBodyControllerCFv -/* 80135B24 00132A84 83 FF 00 14 */ lwz r31, 0x14(r31) -/* 80135B28 00132A88 7C 7C 1B 78 */ mr r28, r3 -/* 80135B2C 00132A8C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80135B30 00132A90 48 1A D5 4D */ bl NoParameter__12CPASAnimParmFv -/* 80135B34 00132A94 38 61 00 40 */ addi r3, r1, 0x40 -/* 80135B38 00132A98 48 1A D5 45 */ bl NoParameter__12CPASAnimParmFv -/* 80135B3C 00132A9C 38 61 00 48 */ addi r3, r1, 0x48 -/* 80135B40 00132AA0 48 1A D5 3D */ bl NoParameter__12CPASAnimParmFv -/* 80135B44 00132AA4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80135B48 00132AA8 48 1A D5 35 */ bl NoParameter__12CPASAnimParmFv -/* 80135B4C 00132AAC 38 61 00 58 */ addi r3, r1, 0x58 -/* 80135B50 00132AB0 48 1A D5 2D */ bl NoParameter__12CPASAnimParmFv -/* 80135B54 00132AB4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80135B58 00132AB8 48 1A D5 25 */ bl NoParameter__12CPASAnimParmFv -/* 80135B5C 00132ABC 7F E4 FB 78 */ mr r4, r31 -/* 80135B60 00132AC0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80135B64 00132AC4 48 1A D4 21 */ bl FromEnum__12CPASAnimParmFi -/* 80135B68 00132AC8 C0 02 99 CC */ lfs f0, lbl_805AB6EC@sda21(r2) -/* 80135B6C 00132ACC 38 61 00 70 */ addi r3, r1, 0x70 -/* 80135B70 00132AD0 EC 20 07 F2 */ fmuls f1, f0, f31 -/* 80135B74 00132AD4 48 1A D4 75 */ bl FromReal32__12CPASAnimParmFf -/* 80135B78 00132AD8 38 61 00 40 */ addi r3, r1, 0x40 -/* 80135B7C 00132ADC 38 01 00 38 */ addi r0, r1, 0x38 -/* 80135B80 00132AE0 90 61 00 08 */ stw r3, 8(r1) -/* 80135B84 00132AE4 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 80135B88 00132AE8 38 A1 00 70 */ addi r5, r1, 0x70 -/* 80135B8C 00132AEC 38 C1 00 68 */ addi r6, r1, 0x68 -/* 80135B90 00132AF0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80135B94 00132AF4 38 E1 00 60 */ addi r7, r1, 0x60 -/* 80135B98 00132AF8 39 01 00 58 */ addi r8, r1, 0x58 -/* 80135B9C 00132AFC 39 21 00 50 */ addi r9, r1, 0x50 -/* 80135BA0 00132B00 39 41 00 48 */ addi r10, r1, 0x48 -/* 80135BA4 00132B04 38 80 00 00 */ li r4, 0 -/* 80135BA8 00132B08 4B F4 77 1D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80135BAC 00132B0C 80 DB 09 00 */ lwz r6, 0x900(r27) -/* 80135BB0 00132B10 7F 84 E3 78 */ mr r4, r28 -/* 80135BB4 00132B14 38 61 00 30 */ addi r3, r1, 0x30 -/* 80135BB8 00132B18 38 A1 00 C4 */ addi r5, r1, 0xc4 -/* 80135BBC 00132B1C 38 E0 FF FF */ li r7, -1 -/* 80135BC0 00132B20 48 1A F4 A1 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 80135BC4 00132B24 83 E1 00 34 */ lwz r31, 0x34(r1) -/* 80135BC8 00132B28 38 00 00 00 */ li r0, 0 -/* 80135BCC 00132B2C C0 02 99 D0 */ lfs f0, lbl_805AB6F0@sda21(r2) -/* 80135BD0 00132B30 38 A0 FF FF */ li r5, -1 -/* 80135BD4 00132B34 38 E0 00 01 */ li r7, 1 -/* 80135BD8 00132B38 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 80135BDC 00132B3C 7F C3 F3 78 */ mr r3, r30 -/* 80135BE0 00132B40 38 81 00 9C */ addi r4, r1, 0x9c -/* 80135BE4 00132B44 90 A1 00 A0 */ stw r5, 0xa0(r1) -/* 80135BE8 00132B48 38 A0 00 00 */ li r5, 0 -/* 80135BEC 00132B4C 38 C0 00 00 */ li r6, 0 -/* 80135BF0 00132B50 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80135BF4 00132B54 98 E1 00 A8 */ stb r7, 0xa8(r1) -/* 80135BF8 00132B58 90 01 00 AC */ stw r0, 0xac(r1) -/* 80135BFC 00132B5C 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80135C00 00132B60 98 01 00 B4 */ stb r0, 0xb4(r1) -/* 80135C04 00132B64 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 80135C08 00132B68 90 01 00 BC */ stw r0, 0xbc(r1) -/* 80135C0C 00132B6C 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 80135C10 00132B70 48 00 4D 0D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80135C14 00132B74 7F 83 E3 78 */ mr r3, r28 -/* 80135C18 00132B78 38 80 00 00 */ li r4, 0 -/* 80135C1C 00132B7C 48 1A F2 A9 */ bl GetAnimState__12CPASDatabaseCFi -/* 80135C20 00132B80 7C 7C 1B 78 */ mr r28, r3 -/* 80135C24 00132B84 7F E5 FB 78 */ mr r5, r31 -/* 80135C28 00132B88 38 61 00 28 */ addi r3, r1, 0x28 -/* 80135C2C 00132B8C 38 C0 00 02 */ li r6, 2 -/* 80135C30 00132B90 7F 84 E3 78 */ mr r4, r28 -/* 80135C34 00132B94 48 1A E3 C1 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 80135C38 00132B98 80 81 00 28 */ lwz r4, 0x28(r1) -/* 80135C3C 00132B9C 38 61 00 88 */ addi r3, r1, 0x88 -/* 80135C40 00132BA0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80135C44 00132BA4 90 81 00 88 */ stw r4, 0x88(r1) -/* 80135C48 00132BA8 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80135C4C 00132BAC 48 1A D3 19 */ bl GetBoolValue__12CPASAnimParmCFv -/* 80135C50 00132BB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80135C54 00132BB4 40 82 01 50 */ bne lbl_80135DA4 -/* 80135C58 00132BB8 7F 84 E3 78 */ mr r4, r28 -/* 80135C5C 00132BBC 7F E5 FB 78 */ mr r5, r31 -/* 80135C60 00132BC0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80135C64 00132BC4 38 C0 00 00 */ li r6, 0 -/* 80135C68 00132BC8 48 1A E3 8D */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 80135C6C 00132BCC 80 81 00 20 */ lwz r4, 0x20(r1) -/* 80135C70 00132BD0 38 61 00 80 */ addi r3, r1, 0x80 -/* 80135C74 00132BD4 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80135C78 00132BD8 90 81 00 80 */ stw r4, 0x80(r1) -/* 80135C7C 00132BDC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80135C80 00132BE0 48 1A D2 ED */ bl GetReal32Value__12CPASAnimParmCFv -/* 80135C84 00132BE4 C0 02 99 D4 */ lfs f0, lbl_805AB6F4@sda21(r2) -/* 80135C88 00132BE8 3C 00 43 30 */ lis r0, 0x4330 -/* 80135C8C 00132BEC C0 42 99 C4 */ lfs f2, lbl_805AB6E4@sda21(r2) -/* 80135C90 00132BF0 EC A0 00 72 */ fmuls f5, f0, f1 -/* 80135C94 00132BF4 90 01 01 10 */ stw r0, 0x110(r1) -/* 80135C98 00132BF8 C8 62 99 E8 */ lfd f3, lbl_805AB708@sda21(r2) -/* 80135C9C 00132BFC C0 22 99 C8 */ lfs f1, lbl_805AB6E8@sda21(r2) -/* 80135CA0 00132C00 EC 9F 28 28 */ fsubs f4, f31, f5 -/* 80135CA4 00132C04 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) -/* 80135CA8 00132C08 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80135CAC 00132C0C FC 40 10 1E */ fctiwz f2, f2 -/* 80135CB0 00132C10 D8 41 01 18 */ stfd f2, 0x118(r1) -/* 80135CB4 00132C14 80 01 01 1C */ lwz r0, 0x11c(r1) -/* 80135CB8 00132C18 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80135CBC 00132C1C 90 01 01 14 */ stw r0, 0x114(r1) -/* 80135CC0 00132C20 C8 41 01 10 */ lfd f2, 0x110(r1) -/* 80135CC4 00132C24 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80135CC8 00132C28 EC C2 20 7C */ fnmsubs f6, f2, f1, f4 -/* 80135CCC 00132C2C FC 80 30 90 */ fmr f4, f6 -/* 80135CD0 00132C30 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 80135CD4 00132C34 40 80 00 08 */ bge lbl_80135CDC -/* 80135CD8 00132C38 EC 86 08 2A */ fadds f4, f6, f1 -lbl_80135CDC: -/* 80135CDC 00132C3C EC A5 F8 28 */ fsubs f5, f5, f31 -/* 80135CE0 00132C40 C0 02 99 C4 */ lfs f0, lbl_805AB6E4@sda21(r2) -/* 80135CE4 00132C44 3C 00 43 30 */ lis r0, 0x4330 -/* 80135CE8 00132C48 C8 62 99 E8 */ lfd f3, lbl_805AB708@sda21(r2) -/* 80135CEC 00132C4C 90 01 01 28 */ stw r0, 0x128(r1) -/* 80135CF0 00132C50 EC 45 00 32 */ fmuls f2, f5, f0 -/* 80135CF4 00132C54 C0 22 99 C8 */ lfs f1, lbl_805AB6E8@sda21(r2) -/* 80135CF8 00132C58 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) -/* 80135CFC 00132C5C FC 40 10 1E */ fctiwz f2, f2 -/* 80135D00 00132C60 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 80135D04 00132C64 D8 41 01 20 */ stfd f2, 0x120(r1) -/* 80135D08 00132C68 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80135D0C 00132C6C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80135D10 00132C70 90 01 01 2C */ stw r0, 0x12c(r1) -/* 80135D14 00132C74 C8 41 01 28 */ lfd f2, 0x128(r1) -/* 80135D18 00132C78 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80135D1C 00132C7C EC 42 28 7C */ fnmsubs f2, f2, f1, f5 -/* 80135D20 00132C80 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80135D24 00132C84 40 80 00 08 */ bge lbl_80135D2C -/* 80135D28 00132C88 EC 42 08 2A */ fadds f2, f2, f1 -lbl_80135D2C: -/* 80135D2C 00132C8C FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 80135D30 00132C90 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80135D34 00132C94 40 80 00 0C */ bge lbl_80135D40 -/* 80135D38 00132C98 38 61 00 10 */ addi r3, r1, 0x10 -/* 80135D3C 00132C9C 48 00 00 08 */ b lbl_80135D44 -lbl_80135D40: -/* 80135D40 00132CA0 38 61 00 14 */ addi r3, r1, 0x14 -lbl_80135D44: -/* 80135D44 00132CA4 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) -/* 80135D48 00132CA8 C0 23 00 00 */ lfs f1, 0(r3) -/* 80135D4C 00132CAC FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 80135D50 00132CB0 40 80 00 0C */ bge lbl_80135D5C -/* 80135D54 00132CB4 C0 02 99 C8 */ lfs f0, lbl_805AB6E8@sda21(r2) -/* 80135D58 00132CB8 EC C6 00 2A */ fadds f6, f6, f0 -lbl_80135D5C: -/* 80135D5C 00132CBC C0 02 99 D8 */ lfs f0, lbl_805AB6F8@sda21(r2) -/* 80135D60 00132CC0 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 80135D64 00132CC4 40 81 00 0C */ ble lbl_80135D70 -/* 80135D68 00132CC8 FF E0 08 50 */ fneg f31, f1 -/* 80135D6C 00132CCC 48 00 00 08 */ b lbl_80135D74 -lbl_80135D70: -/* 80135D70 00132CD0 FF E0 08 90 */ fmr f31, f1 -lbl_80135D74: -/* 80135D74 00132CD4 7F C3 F3 78 */ mr r3, r30 -/* 80135D78 00132CD8 48 00 4B 41 */ bl GetAnimTimeRemaining__15CBodyControllerCFv -/* 80135D7C 00132CDC C0 42 99 DC */ lfs f2, lbl_805AB6FC@sda21(r2) -/* 80135D80 00132CE0 C0 02 99 E0 */ lfs f0, lbl_805AB700@sda21(r2) -/* 80135D84 00132CE4 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80135D88 00132CE8 D0 3D 00 08 */ stfs f1, 8(r29) -/* 80135D8C 00132CEC C0 3D 00 08 */ lfs f1, 8(r29) -/* 80135D90 00132CF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80135D94 00132CF4 40 81 00 08 */ ble lbl_80135D9C -/* 80135D98 00132CF8 EF FF 08 24 */ fdivs f31, f31, f1 -lbl_80135D9C: -/* 80135D9C 00132CFC D3 FD 00 04 */ stfs f31, 4(r29) -/* 80135DA0 00132D00 48 00 00 10 */ b lbl_80135DB0 -lbl_80135DA4: -/* 80135DA4 00132D04 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) -/* 80135DA8 00132D08 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80135DAC 00132D0C D0 1D 00 04 */ stfs f0, 4(r29) -lbl_80135DB0: -/* 80135DB0 00132D10 7F 84 E3 78 */ mr r4, r28 -/* 80135DB4 00132D14 7F E5 FB 78 */ mr r5, r31 -/* 80135DB8 00132D18 38 61 00 18 */ addi r3, r1, 0x18 -/* 80135DBC 00132D1C 38 C0 00 03 */ li r6, 3 -/* 80135DC0 00132D20 48 1A E2 35 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 80135DC4 00132D24 80 81 00 18 */ lwz r4, 0x18(r1) -/* 80135DC8 00132D28 38 61 00 78 */ addi r3, r1, 0x78 -/* 80135DCC 00132D2C 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80135DD0 00132D30 90 81 00 78 */ stw r4, 0x78(r1) -/* 80135DD4 00132D34 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80135DD8 00132D38 48 1A D1 85 */ bl GetEnumValue__12CPASAnimParmCFv -/* 80135DDC 00132D3C 34 A1 00 C8 */ addic. r5, r1, 0xc8 -/* 80135DE0 00132D40 90 7D 00 0C */ stw r3, 0xc(r29) -/* 80135DE4 00132D44 41 82 00 58 */ beq lbl_80135E3C -/* 80135DE8 00132D48 80 C5 00 00 */ lwz r6, 0(r5) -/* 80135DEC 00132D4C 38 60 00 00 */ li r3, 0 -/* 80135DF0 00132D50 2C 06 00 00 */ cmpwi r6, 0 -/* 80135DF4 00132D54 40 81 00 40 */ ble lbl_80135E34 -/* 80135DF8 00132D58 2C 06 00 08 */ cmpwi r6, 8 -/* 80135DFC 00132D5C 38 86 FF F8 */ addi r4, r6, -8 -/* 80135E00 00132D60 40 81 00 20 */ ble lbl_80135E20 -/* 80135E04 00132D64 38 04 00 07 */ addi r0, r4, 7 -/* 80135E08 00132D68 54 00 E8 FE */ srwi r0, r0, 3 -/* 80135E0C 00132D6C 7C 09 03 A6 */ mtctr r0 -/* 80135E10 00132D70 2C 04 00 00 */ cmpwi r4, 0 -/* 80135E14 00132D74 40 81 00 0C */ ble lbl_80135E20 -lbl_80135E18: -/* 80135E18 00132D78 38 63 00 08 */ addi r3, r3, 8 -/* 80135E1C 00132D7C 42 00 FF FC */ bdnz lbl_80135E18 -lbl_80135E20: -/* 80135E20 00132D80 7C 03 30 50 */ subf r0, r3, r6 -/* 80135E24 00132D84 7C 09 03 A6 */ mtctr r0 -/* 80135E28 00132D88 7C 03 30 00 */ cmpw r3, r6 -/* 80135E2C 00132D8C 40 80 00 08 */ bge lbl_80135E34 -lbl_80135E30: -/* 80135E30 00132D90 42 00 00 00 */ bdnz lbl_80135E30 -lbl_80135E34: -/* 80135E34 00132D94 38 00 00 00 */ li r0, 0 -/* 80135E38 00132D98 90 05 00 00 */ stw r0, 0(r5) -lbl_80135E3C: -/* 80135E3C 00132D9C E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 80135E40 00132DA0 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 80135E44 00132DA4 BB 61 01 3C */ lmw r27, 0x13c(r1) -/* 80135E48 00132DA8 80 01 01 64 */ lwz r0, 0x164(r1) -/* 80135E4C 00132DAC 7C 08 03 A6 */ mtlr r0 -/* 80135E50 00132DB0 38 21 01 60 */ addi r1, r1, 0x160 -/* 80135E54 00132DB4 4E 80 00 20 */ blr - -.global __ct__7CBSFallFv -__ct__7CBSFallFv: -/* 80135E58 00132DB8 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 80135E5C 00132DBC 3C 80 80 3E */ lis r4, lbl_803E13E0@ha -/* 80135E60 00132DC0 38 05 13 18 */ addi r0, r5, lbl_803E1318@l -/* 80135E64 00132DC4 C0 02 99 C0 */ lfs f0, lbl_805AB6E0@sda21(r2) -/* 80135E68 00132DC8 90 03 00 00 */ stw r0, 0(r3) -/* 80135E6C 00132DCC 38 84 13 E0 */ addi r4, r4, lbl_803E13E0@l -/* 80135E70 00132DD0 38 00 FF FF */ li r0, -1 -/* 80135E74 00132DD4 90 83 00 00 */ stw r4, 0(r3) -/* 80135E78 00132DD8 D0 03 00 04 */ stfs f0, 4(r3) -/* 80135E7C 00132DDC D0 03 00 08 */ stfs f0, 8(r3) -/* 80135E80 00132DE0 90 03 00 0C */ stw r0, 0xc(r3) -/* 80135E84 00132DE4 4E 80 00 20 */ blr - -.global __dt__8CBSGetupFv -__dt__8CBSGetupFv: -/* 80135E88 00132DE8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80135E8C 00132DEC 7C 08 02 A6 */ mflr r0 -/* 80135E90 00132DF0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80135E94 00132DF4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80135E98 00132DF8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80135E9C 00132DFC 41 82 00 30 */ beq lbl_80135ECC -/* 80135EA0 00132E00 3C 60 80 3E */ lis r3, lbl_803E1418@ha -/* 80135EA4 00132E04 38 03 14 18 */ addi r0, r3, lbl_803E1418@l -/* 80135EA8 00132E08 90 1F 00 00 */ stw r0, 0(r31) -/* 80135EAC 00132E0C 41 82 00 10 */ beq lbl_80135EBC -/* 80135EB0 00132E10 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80135EB4 00132E14 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80135EB8 00132E18 90 1F 00 00 */ stw r0, 0(r31) -lbl_80135EBC: -/* 80135EBC 00132E1C 7C 80 07 35 */ extsh. r0, r4 -/* 80135EC0 00132E20 40 81 00 0C */ ble lbl_80135ECC -/* 80135EC4 00132E24 7F E3 FB 78 */ mr r3, r31 -/* 80135EC8 00132E28 48 1D FA 69 */ bl Free__7CMemoryFPCv -lbl_80135ECC: -/* 80135ECC 00132E2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80135ED0 00132E30 7F E3 FB 78 */ mr r3, r31 -/* 80135ED4 00132E34 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80135ED8 00132E38 7C 08 03 A6 */ mtlr r0 -/* 80135EDC 00132E3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80135EE0 00132E40 4E 80 00 20 */ blr - -.global GetBodyStateTransition__8CBSGetupFfR15CBodyController -GetBodyStateTransition__8CBSGetupFfR15CBodyController: -/* 80135EE4 00132E44 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80135EE8 00132E48 7C 08 02 A6 */ mflr r0 -/* 80135EEC 00132E4C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80135EF0 00132E50 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80135EF4 00132E54 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80135EF8 00132E58 7C 9E 23 78 */ mr r30, r4 -/* 80135EFC 00132E5C 3B FE 00 04 */ addi r31, r30, 4 -/* 80135F00 00132E60 38 80 00 0F */ li r4, 0xf -/* 80135F04 00132E64 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80135F08 00132E68 7C 7D 1B 78 */ mr r29, r3 -/* 80135F0C 00132E6C 7F E3 FB 78 */ mr r3, r31 -/* 80135F10 00132E70 4B FF B5 41 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135F14 00132E74 28 03 00 00 */ cmplwi r3, 0 -/* 80135F18 00132E78 41 82 00 0C */ beq lbl_80135F24 -/* 80135F1C 00132E7C 38 60 00 0E */ li r3, 0xe -/* 80135F20 00132E80 48 00 00 48 */ b lbl_80135F68 -lbl_80135F24: -/* 80135F24 00132E84 7F E3 FB 78 */ mr r3, r31 -/* 80135F28 00132E88 38 80 00 03 */ li r4, 3 -/* 80135F2C 00132E8C 4B FF B5 25 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135F30 00132E90 28 03 00 00 */ cmplwi r3, 0 -/* 80135F34 00132E94 41 82 00 0C */ beq lbl_80135F40 -/* 80135F38 00132E98 38 60 00 00 */ li r3, 0 -/* 80135F3C 00132E9C 48 00 00 2C */ b lbl_80135F68 -lbl_80135F40: -/* 80135F40 00132EA0 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 80135F44 00132EA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80135F48 00132EA8 41 82 00 1C */ beq lbl_80135F64 -/* 80135F4C 00132EAC 80 1D 00 04 */ lwz r0, 4(r29) -/* 80135F50 00132EB0 38 60 00 01 */ li r3, 1 -/* 80135F54 00132EB4 2C 00 00 00 */ cmpwi r0, 0 -/* 80135F58 00132EB8 40 82 00 10 */ bne lbl_80135F68 -/* 80135F5C 00132EBC 38 60 00 05 */ li r3, 5 -/* 80135F60 00132EC0 48 00 00 08 */ b lbl_80135F68 -lbl_80135F64: -/* 80135F64 00132EC4 38 60 FF FF */ li r3, -1 -lbl_80135F68: -/* 80135F68 00132EC8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80135F6C 00132ECC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80135F70 00132ED0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80135F74 00132ED4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80135F78 00132ED8 7C 08 03 A6 */ mtlr r0 -/* 80135F7C 00132EDC 38 21 00 20 */ addi r1, r1, 0x20 -/* 80135F80 00132EE0 4E 80 00 20 */ blr - -.global Shutdown__8CBSGetupFR15CBodyController -Shutdown__8CBSGetupFR15CBodyController: -/* 80135F84 00132EE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80135F88 00132EE8 7C 08 02 A6 */ mflr r0 -/* 80135F8C 00132EEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80135F90 00132EF0 7C 80 23 78 */ mr r0, r4 -/* 80135F94 00132EF4 80 83 00 04 */ lwz r4, 4(r3) -/* 80135F98 00132EF8 7C 03 03 78 */ mr r3, r0 -/* 80135F9C 00132EFC 48 00 4C 09 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState -/* 80135FA0 00132F00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80135FA4 00132F04 7C 08 03 A6 */ mtlr r0 -/* 80135FA8 00132F08 38 21 00 10 */ addi r1, r1, 0x10 -/* 80135FAC 00132F0C 4E 80 00 20 */ blr - -.global UpdateBody__8CBSGetupFfR15CBodyControllerR13CStateManager -UpdateBody__8CBSGetupFfR15CBodyControllerR13CStateManager: -/* 80135FB0 00132F10 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80135FB4 00132F14 7C 08 02 A6 */ mflr r0 -/* 80135FB8 00132F18 90 01 00 14 */ stw r0, 0x14(r1) -/* 80135FBC 00132F1C 4B FF FF 29 */ bl GetBodyStateTransition__8CBSGetupFfR15CBodyController -/* 80135FC0 00132F20 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80135FC4 00132F24 7C 08 03 A6 */ mtlr r0 -/* 80135FC8 00132F28 38 21 00 10 */ addi r1, r1, 0x10 -/* 80135FCC 00132F2C 4E 80 00 20 */ blr - -.global Start__8CBSGetupFR15CBodyControllerR13CStateManager -Start__8CBSGetupFR15CBodyControllerR13CStateManager: -/* 80135FD0 00132F30 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 80135FD4 00132F34 7C 08 02 A6 */ mflr r0 -/* 80135FD8 00132F38 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 80135FDC 00132F3C BF 41 00 D8 */ stmw r26, 0xd8(r1) -/* 80135FE0 00132F40 7C 9A 23 78 */ mr r26, r4 -/* 80135FE4 00132F44 7C 7F 1B 78 */ mr r31, r3 -/* 80135FE8 00132F48 7C BB 2B 78 */ mr r27, r5 -/* 80135FEC 00132F4C 38 80 00 00 */ li r4, 0 -/* 80135FF0 00132F50 38 7A 00 04 */ addi r3, r26, 4 -/* 80135FF4 00132F54 4B FF B4 5D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80135FF8 00132F58 7C 7E 1B 78 */ mr r30, r3 -/* 80135FFC 00132F5C 7F 43 D3 78 */ mr r3, r26 -/* 80136000 00132F60 48 00 4B AD */ bl GetFallState__15CBodyControllerCFv -/* 80136004 00132F64 7C 60 1B 78 */ mr r0, r3 -/* 80136008 00132F68 7F 43 D3 78 */ mr r3, r26 -/* 8013600C 00132F6C 7C 1D 03 78 */ mr r29, r0 -/* 80136010 00132F70 48 00 44 45 */ bl GetPASDatabase__15CBodyControllerCFv -/* 80136014 00132F74 83 DE 00 08 */ lwz r30, 8(r30) -/* 80136018 00132F78 7C 7C 1B 78 */ mr r28, r3 -/* 8013601C 00132F7C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80136020 00132F80 48 1A D0 5D */ bl NoParameter__12CPASAnimParmFv -/* 80136024 00132F84 38 61 00 28 */ addi r3, r1, 0x28 -/* 80136028 00132F88 48 1A D0 55 */ bl NoParameter__12CPASAnimParmFv -/* 8013602C 00132F8C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80136030 00132F90 48 1A D0 4D */ bl NoParameter__12CPASAnimParmFv -/* 80136034 00132F94 38 61 00 38 */ addi r3, r1, 0x38 -/* 80136038 00132F98 48 1A D0 45 */ bl NoParameter__12CPASAnimParmFv -/* 8013603C 00132F9C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80136040 00132FA0 48 1A D0 3D */ bl NoParameter__12CPASAnimParmFv -/* 80136044 00132FA4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80136048 00132FA8 48 1A D0 35 */ bl NoParameter__12CPASAnimParmFv -/* 8013604C 00132FAC 7F C4 F3 78 */ mr r4, r30 -/* 80136050 00132FB0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80136054 00132FB4 48 1A CF 31 */ bl FromEnum__12CPASAnimParmFi -/* 80136058 00132FB8 7F A4 EB 78 */ mr r4, r29 -/* 8013605C 00132FBC 38 61 00 58 */ addi r3, r1, 0x58 -/* 80136060 00132FC0 48 1A CF 25 */ bl FromEnum__12CPASAnimParmFi -/* 80136064 00132FC4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80136068 00132FC8 38 01 00 20 */ addi r0, r1, 0x20 -/* 8013606C 00132FCC 90 61 00 08 */ stw r3, 8(r1) -/* 80136070 00132FD0 38 61 00 90 */ addi r3, r1, 0x90 -/* 80136074 00132FD4 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80136078 00132FD8 38 C1 00 50 */ addi r6, r1, 0x50 -/* 8013607C 00132FDC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80136080 00132FE0 38 E1 00 48 */ addi r7, r1, 0x48 -/* 80136084 00132FE4 39 01 00 40 */ addi r8, r1, 0x40 -/* 80136088 00132FE8 39 21 00 38 */ addi r9, r1, 0x38 -/* 8013608C 00132FEC 39 41 00 30 */ addi r10, r1, 0x30 -/* 80136090 00132FF0 38 80 00 01 */ li r4, 1 -/* 80136094 00132FF4 4B F4 72 31 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80136098 00132FF8 80 DB 09 00 */ lwz r6, 0x900(r27) -/* 8013609C 00132FFC 7F 84 E3 78 */ mr r4, r28 -/* 801360A0 00133000 38 61 00 18 */ addi r3, r1, 0x18 -/* 801360A4 00133004 38 A1 00 90 */ addi r5, r1, 0x90 -/* 801360A8 00133008 38 E0 FF FF */ li r7, -1 -/* 801360AC 0013300C 48 1A EF B5 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 801360B0 00133010 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 801360B4 00133014 C0 02 99 F0 */ lfs f0, lbl_805AB710@sda21(r2) -/* 801360B8 00133018 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 801360BC 0013301C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801360C0 00133020 40 81 00 A0 */ ble lbl_80136160 -/* 801360C4 00133024 80 1A 02 F8 */ lwz r0, 0x2f8(r26) -/* 801360C8 00133028 7C 7D 1B 78 */ mr r29, r3 -/* 801360CC 0013302C 7C 03 00 00 */ cmpw r3, r0 -/* 801360D0 00133030 41 82 00 50 */ beq lbl_80136120 -/* 801360D4 00133034 C0 02 99 F4 */ lfs f0, lbl_805AB714@sda21(r2) -/* 801360D8 00133038 38 00 00 00 */ li r0, 0 -/* 801360DC 0013303C 38 C0 FF FF */ li r6, -1 -/* 801360E0 00133040 38 E0 00 01 */ li r7, 1 -/* 801360E4 00133044 90 61 00 68 */ stw r3, 0x68(r1) -/* 801360E8 00133048 7F 43 D3 78 */ mr r3, r26 -/* 801360EC 0013304C 38 81 00 68 */ addi r4, r1, 0x68 -/* 801360F0 00133050 38 A0 00 00 */ li r5, 0 -/* 801360F4 00133054 90 C1 00 6C */ stw r6, 0x6c(r1) -/* 801360F8 00133058 38 C0 00 00 */ li r6, 0 -/* 801360FC 0013305C D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80136100 00133060 98 E1 00 74 */ stb r7, 0x74(r1) -/* 80136104 00133064 90 01 00 78 */ stw r0, 0x78(r1) -/* 80136108 00133068 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8013610C 0013306C 98 01 00 80 */ stb r0, 0x80(r1) -/* 80136110 00133070 90 01 00 84 */ stw r0, 0x84(r1) -/* 80136114 00133074 90 01 00 88 */ stw r0, 0x88(r1) -/* 80136118 00133078 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8013611C 0013307C 48 00 48 01 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -lbl_80136120: -/* 80136120 00133080 7F 83 E3 78 */ mr r3, r28 -/* 80136124 00133084 38 80 00 01 */ li r4, 1 -/* 80136128 00133088 48 1A ED 9D */ bl GetAnimState__12CPASDatabaseCFi -/* 8013612C 0013308C 7C 64 1B 78 */ mr r4, r3 -/* 80136130 00133090 7F A5 EB 78 */ mr r5, r29 -/* 80136134 00133094 38 61 00 10 */ addi r3, r1, 0x10 -/* 80136138 00133098 38 C0 00 02 */ li r6, 2 -/* 8013613C 0013309C 48 1A DE B9 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 80136140 001330A0 80 81 00 10 */ lwz r4, 0x10(r1) -/* 80136144 001330A4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80136148 001330A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013614C 001330AC 90 81 00 60 */ stw r4, 0x60(r1) -/* 80136150 001330B0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80136154 001330B4 48 1A CE 09 */ bl GetEnumValue__12CPASAnimParmCFv -/* 80136158 001330B8 90 7F 00 04 */ stw r3, 4(r31) -/* 8013615C 001330BC 48 00 00 0C */ b lbl_80136168 -lbl_80136160: -/* 80136160 001330C0 38 00 00 00 */ li r0, 0 -/* 80136164 001330C4 90 1F 00 04 */ stw r0, 4(r31) -lbl_80136168: -/* 80136168 001330C8 34 A1 00 94 */ addic. r5, r1, 0x94 -/* 8013616C 001330CC 41 82 00 58 */ beq lbl_801361C4 -/* 80136170 001330D0 80 C5 00 00 */ lwz r6, 0(r5) -/* 80136174 001330D4 38 60 00 00 */ li r3, 0 -/* 80136178 001330D8 2C 06 00 00 */ cmpwi r6, 0 -/* 8013617C 001330DC 40 81 00 40 */ ble lbl_801361BC -/* 80136180 001330E0 2C 06 00 08 */ cmpwi r6, 8 -/* 80136184 001330E4 38 86 FF F8 */ addi r4, r6, -8 -/* 80136188 001330E8 40 81 00 20 */ ble lbl_801361A8 -/* 8013618C 001330EC 38 04 00 07 */ addi r0, r4, 7 -/* 80136190 001330F0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80136194 001330F4 7C 09 03 A6 */ mtctr r0 -/* 80136198 001330F8 2C 04 00 00 */ cmpwi r4, 0 -/* 8013619C 001330FC 40 81 00 0C */ ble lbl_801361A8 -lbl_801361A0: -/* 801361A0 00133100 38 63 00 08 */ addi r3, r3, 8 -/* 801361A4 00133104 42 00 FF FC */ bdnz lbl_801361A0 -lbl_801361A8: -/* 801361A8 00133108 7C 03 30 50 */ subf r0, r3, r6 -/* 801361AC 0013310C 7C 09 03 A6 */ mtctr r0 -/* 801361B0 00133110 7C 03 30 00 */ cmpw r3, r6 -/* 801361B4 00133114 40 80 00 08 */ bge lbl_801361BC -lbl_801361B8: -/* 801361B8 00133118 42 00 00 00 */ bdnz lbl_801361B8 -lbl_801361BC: -/* 801361BC 0013311C 38 00 00 00 */ li r0, 0 -/* 801361C0 00133120 90 05 00 00 */ stw r0, 0(r5) -lbl_801361C4: -/* 801361C4 00133124 BB 41 00 D8 */ lmw r26, 0xd8(r1) -/* 801361C8 00133128 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 801361CC 0013312C 7C 08 03 A6 */ mtlr r0 -/* 801361D0 00133130 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 801361D4 00133134 4E 80 00 20 */ blr - -.global __ct__8CBSGetupFv -__ct__8CBSGetupFv: -/* 801361D8 00133138 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 801361DC 0013313C 3C 80 80 3E */ lis r4, lbl_803E1418@ha -/* 801361E0 00133140 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l -/* 801361E4 00133144 38 00 FF FF */ li r0, -1 -/* 801361E8 00133148 90 A3 00 00 */ stw r5, 0(r3) -/* 801361EC 0013314C 38 84 14 18 */ addi r4, r4, lbl_803E1418@l -/* 801361F0 00133150 90 83 00 00 */ stw r4, 0(r3) -/* 801361F4 00133154 90 03 00 04 */ stw r0, 4(r3) -/* 801361F8 00133158 4E 80 00 20 */ blr - -.global __dt__12CBSKnockBackFv -__dt__12CBSKnockBackFv: -/* 801361FC 0013315C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80136200 00133160 7C 08 02 A6 */ mflr r0 -/* 80136204 00133164 90 01 00 14 */ stw r0, 0x14(r1) -/* 80136208 00133168 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013620C 0013316C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80136210 00133170 41 82 00 30 */ beq lbl_80136240 -/* 80136214 00133174 3C 60 80 3E */ lis r3, lbl_803E1450@ha -/* 80136218 00133178 38 03 14 50 */ addi r0, r3, lbl_803E1450@l -/* 8013621C 0013317C 90 1F 00 00 */ stw r0, 0(r31) -/* 80136220 00133180 41 82 00 10 */ beq lbl_80136230 -/* 80136224 00133184 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80136228 00133188 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 8013622C 0013318C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80136230: -/* 80136230 00133190 7C 80 07 35 */ extsh. r0, r4 -/* 80136234 00133194 40 81 00 0C */ ble lbl_80136240 -/* 80136238 00133198 7F E3 FB 78 */ mr r3, r31 -/* 8013623C 0013319C 48 1D F6 F5 */ bl Free__7CMemoryFPCv -lbl_80136240: -/* 80136240 001331A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80136244 001331A4 7F E3 FB 78 */ mr r3, r31 -/* 80136248 001331A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013624C 001331AC 7C 08 03 A6 */ mtlr r0 -/* 80136250 001331B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80136254 001331B4 4E 80 00 20 */ blr - -.global IsMoving__12CBSKnockBackCFv -IsMoving__12CBSKnockBackCFv: -/* 80136258 001331B8 38 60 00 01 */ li r3, 1 -/* 8013625C 001331BC 4E 80 00 20 */ blr - -.global GetBodyStateTransition__12CBSKnockBackFfR15CBodyController -GetBodyStateTransition__12CBSKnockBackFfR15CBodyController: -/* 80136260 001331C0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80136264 001331C4 7C 08 02 A6 */ mflr r0 -/* 80136268 001331C8 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013626C 001331CC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80136270 001331D0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80136274 001331D4 7C 9E 23 78 */ mr r30, r4 -/* 80136278 001331D8 3B FE 00 04 */ addi r31, r30, 4 -/* 8013627C 001331DC 38 80 00 0F */ li r4, 0xf -/* 80136280 001331E0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80136284 001331E4 7C 7D 1B 78 */ mr r29, r3 -/* 80136288 001331E8 7F E3 FB 78 */ mr r3, r31 -/* 8013628C 001331EC 4B FF B1 C5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80136290 001331F0 28 03 00 00 */ cmplwi r3, 0 -/* 80136294 001331F4 41 82 00 0C */ beq lbl_801362A0 -/* 80136298 001331F8 38 60 00 0E */ li r3, 0xe -/* 8013629C 001331FC 48 00 00 80 */ b lbl_8013631C -lbl_801362A0: -/* 801362A0 00133200 7F E3 FB 78 */ mr r3, r31 -/* 801362A4 00133204 38 80 00 03 */ li r4, 3 -/* 801362A8 00133208 4B FF B1 A9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801362AC 0013320C 28 03 00 00 */ cmplwi r3, 0 -/* 801362B0 00133210 41 82 00 0C */ beq lbl_801362BC -/* 801362B4 00133214 38 60 00 00 */ li r3, 0 -/* 801362B8 00133218 48 00 00 64 */ b lbl_8013631C -lbl_801362BC: -/* 801362BC 0013321C 7F E3 FB 78 */ mr r3, r31 -/* 801362C0 00133220 38 80 00 09 */ li r4, 9 -/* 801362C4 00133224 4B FF B1 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801362C8 00133228 28 03 00 00 */ cmplwi r3, 0 -/* 801362CC 0013322C 41 82 00 0C */ beq lbl_801362D8 -/* 801362D0 00133230 38 60 00 0A */ li r3, 0xa -/* 801362D4 00133234 48 00 00 48 */ b lbl_8013631C -lbl_801362D8: -/* 801362D8 00133238 7F E3 FB 78 */ mr r3, r31 -/* 801362DC 0013323C 38 80 00 04 */ li r4, 4 -/* 801362E0 00133240 4B FF B1 71 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801362E4 00133244 28 03 00 00 */ cmplwi r3, 0 -/* 801362E8 00133248 41 82 00 1C */ beq lbl_80136304 -/* 801362EC 0013324C C0 3D 00 04 */ lfs f1, 4(r29) -/* 801362F0 00133250 C0 02 99 F8 */ lfs f0, lbl_805AB718@sda21(r2) -/* 801362F4 00133254 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801362F8 00133258 40 81 00 0C */ ble lbl_80136304 -/* 801362FC 0013325C 38 60 00 06 */ li r3, 6 -/* 80136300 00133260 48 00 00 1C */ b lbl_8013631C -lbl_80136304: -/* 80136304 00133264 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 80136308 00133268 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013630C 0013326C 41 82 00 0C */ beq lbl_80136318 -/* 80136310 00133270 38 60 00 05 */ li r3, 5 -/* 80136314 00133274 48 00 00 08 */ b lbl_8013631C -lbl_80136318: -/* 80136318 00133278 38 60 FF FF */ li r3, -1 -lbl_8013631C: -/* 8013631C 0013327C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80136320 00133280 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80136324 00133284 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80136328 00133288 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8013632C 0013328C 7C 08 03 A6 */ mtlr r0 -/* 80136330 00133290 38 21 00 20 */ addi r1, r1, 0x20 -/* 80136334 00133294 4E 80 00 20 */ blr - -.global Shutdown__12CBSKnockBackFR15CBodyController -Shutdown__12CBSKnockBackFR15CBodyController: -/* 80136338 00133298 4E 80 00 20 */ blr - -.global UpdateBody__12CBSKnockBackFfR15CBodyControllerR13CStateManager -UpdateBody__12CBSKnockBackFfR15CBodyControllerR13CStateManager: -/* 8013633C 0013329C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80136340 001332A0 7C 08 02 A6 */ mflr r0 -/* 80136344 001332A4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80136348 001332A8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8013634C 001332AC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80136350 001332B0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80136354 001332B4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80136358 001332B8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8013635C 001332BC FF E0 08 90 */ fmr f31, f1 -/* 80136360 001332C0 7C 7D 1B 78 */ mr r29, r3 -/* 80136364 001332C4 7C 9E 23 78 */ mr r30, r4 -/* 80136368 001332C8 4B FF FE F9 */ bl GetBodyStateTransition__12CBSKnockBackFfR15CBodyController -/* 8013636C 001332CC 7C 7F 1B 78 */ mr r31, r3 -/* 80136370 001332D0 2C 1F FF FF */ cmpwi r31, -1 -/* 80136374 001332D4 40 82 00 50 */ bne lbl_801363C4 -/* 80136378 001332D8 C0 3D 00 04 */ lfs f1, 4(r29) -/* 8013637C 001332DC C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) -/* 80136380 001332E0 EC 21 F8 2A */ fadds f1, f1, f31 -/* 80136384 001332E4 D0 3D 00 04 */ stfs f1, 4(r29) -/* 80136388 001332E8 C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 8013638C 001332EC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80136390 001332F0 40 81 00 34 */ ble lbl_801363C4 -/* 80136394 001332F4 C0 1D 00 08 */ lfs f0, 8(r29) -/* 80136398 001332F8 38 61 00 0C */ addi r3, r1, 0xc -/* 8013639C 001332FC 38 81 00 08 */ addi r4, r1, 8 -/* 801363A0 00133300 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 801363A4 00133304 D0 01 00 08 */ stfs f0, 8(r1) -/* 801363A8 00133308 48 1D AD 51 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 801363AC 0013330C 7F C3 F3 78 */ mr r3, r30 -/* 801363B0 00133310 38 81 00 0C */ addi r4, r1, 0xc -/* 801363B4 00133314 48 00 44 55 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion -/* 801363B8 00133318 C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 801363BC 0013331C EC 00 F8 28 */ fsubs f0, f0, f31 -/* 801363C0 00133320 D0 1D 00 0C */ stfs f0, 0xc(r29) -lbl_801363C4: -/* 801363C4 00133324 7F E3 FB 78 */ mr r3, r31 -/* 801363C8 00133328 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 801363CC 0013332C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 801363D0 00133330 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 801363D4 00133334 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 801363D8 00133338 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 801363DC 0013333C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 801363E0 00133340 7C 08 03 A6 */ mtlr r0 -/* 801363E4 00133344 38 21 00 40 */ addi r1, r1, 0x40 -/* 801363E8 00133348 4E 80 00 20 */ blr - -.global Start__12CBSKnockBackFR15CBodyControllerR13CStateManager -Start__12CBSKnockBackFR15CBodyControllerR13CStateManager: -/* 801363EC 0013334C 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 801363F0 00133350 7C 08 02 A6 */ mflr r0 -/* 801363F4 00133354 90 01 01 54 */ stw r0, 0x154(r1) -/* 801363F8 00133358 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 801363FC 0013335C F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 80136400 00133360 BF 61 01 2C */ stmw r27, 0x12c(r1) -/* 80136404 00133364 7C 9F 23 78 */ mr r31, r4 -/* 80136408 00133368 7C 7E 1B 78 */ mr r30, r3 -/* 8013640C 0013336C 7C BB 2B 78 */ mr r27, r5 -/* 80136410 00133370 38 80 00 04 */ li r4, 4 -/* 80136414 00133374 38 7F 00 04 */ addi r3, r31, 4 -/* 80136418 00133378 4B FF B0 39 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013641C 0013337C 80 9F 00 00 */ lwz r4, 0(r31) -/* 80136420 00133380 7C 7D 1B 78 */ mr r29, r3 -/* 80136424 00133384 38 61 00 80 */ addi r3, r1, 0x80 -/* 80136428 00133388 38 84 00 34 */ addi r4, r4, 0x34 -/* 8013642C 0013338C 38 BD 00 08 */ addi r5, r29, 8 -/* 80136430 00133390 48 1D C5 F5 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80136434 00133394 C0 21 00 84 */ lfs f1, 0x84(r1) -/* 80136438 00133398 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 8013643C 0013339C 48 25 E8 31 */ bl atan2 -/* 80136440 001333A0 FC 80 08 18 */ frsp f4, f1 -/* 80136444 001333A4 C0 02 9A 00 */ lfs f0, lbl_805AB720@sda21(r2) -/* 80136448 001333A8 3C 00 43 30 */ lis r0, 0x4330 -/* 8013644C 001333AC C8 62 9A 20 */ lfd f3, lbl_805AB740@sda21(r2) -/* 80136450 001333B0 90 01 01 08 */ stw r0, 0x108(r1) -/* 80136454 001333B4 EC 44 00 32 */ fmuls f2, f4, f0 -/* 80136458 001333B8 C0 22 9A 04 */ lfs f1, lbl_805AB724@sda21(r2) -/* 8013645C 001333BC C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) -/* 80136460 001333C0 FC 40 10 1E */ fctiwz f2, f2 -/* 80136464 001333C4 D8 41 01 00 */ stfd f2, 0x100(r1) -/* 80136468 001333C8 80 01 01 04 */ lwz r0, 0x104(r1) -/* 8013646C 001333CC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80136470 001333D0 90 01 01 0C */ stw r0, 0x10c(r1) -/* 80136474 001333D4 C8 41 01 08 */ lfd f2, 0x108(r1) -/* 80136478 001333D8 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8013647C 001333DC EF E2 20 7C */ fnmsubs f31, f2, f1, f4 -/* 80136480 001333E0 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80136484 001333E4 40 80 00 08 */ bge lbl_8013648C -/* 80136488 001333E8 EF FF 08 2A */ fadds f31, f31, f1 -lbl_8013648C: -/* 8013648C 001333EC 7F E3 FB 78 */ mr r3, r31 -/* 80136490 001333F0 48 00 3F C5 */ bl GetPASDatabase__15CBodyControllerCFv -/* 80136494 001333F4 83 BD 00 14 */ lwz r29, 0x14(r29) -/* 80136498 001333F8 7C 7C 1B 78 */ mr r28, r3 -/* 8013649C 001333FC 38 61 00 30 */ addi r3, r1, 0x30 -/* 801364A0 00133400 48 1A CB DD */ bl NoParameter__12CPASAnimParmFv -/* 801364A4 00133404 38 61 00 38 */ addi r3, r1, 0x38 -/* 801364A8 00133408 48 1A CB D5 */ bl NoParameter__12CPASAnimParmFv -/* 801364AC 0013340C 38 61 00 40 */ addi r3, r1, 0x40 -/* 801364B0 00133410 48 1A CB CD */ bl NoParameter__12CPASAnimParmFv -/* 801364B4 00133414 38 61 00 48 */ addi r3, r1, 0x48 -/* 801364B8 00133418 48 1A CB C5 */ bl NoParameter__12CPASAnimParmFv -/* 801364BC 0013341C 38 61 00 50 */ addi r3, r1, 0x50 -/* 801364C0 00133420 48 1A CB BD */ bl NoParameter__12CPASAnimParmFv -/* 801364C4 00133424 38 61 00 58 */ addi r3, r1, 0x58 -/* 801364C8 00133428 48 1A CB B5 */ bl NoParameter__12CPASAnimParmFv -/* 801364CC 0013342C 7F A4 EB 78 */ mr r4, r29 -/* 801364D0 00133430 38 61 00 60 */ addi r3, r1, 0x60 -/* 801364D4 00133434 48 1A CA B1 */ bl FromEnum__12CPASAnimParmFi -/* 801364D8 00133438 C0 02 9A 08 */ lfs f0, lbl_805AB728@sda21(r2) -/* 801364DC 0013343C 38 61 00 68 */ addi r3, r1, 0x68 -/* 801364E0 00133440 EC 20 07 F2 */ fmuls f1, f0, f31 -/* 801364E4 00133444 48 1A CB 05 */ bl FromReal32__12CPASAnimParmFf -/* 801364E8 00133448 38 61 00 38 */ addi r3, r1, 0x38 -/* 801364EC 0013344C 38 01 00 30 */ addi r0, r1, 0x30 -/* 801364F0 00133450 90 61 00 08 */ stw r3, 8(r1) -/* 801364F4 00133454 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 801364F8 00133458 38 A1 00 68 */ addi r5, r1, 0x68 -/* 801364FC 0013345C 38 C1 00 60 */ addi r6, r1, 0x60 -/* 80136500 00133460 90 01 00 0C */ stw r0, 0xc(r1) -/* 80136504 00133464 38 E1 00 58 */ addi r7, r1, 0x58 -/* 80136508 00133468 39 01 00 50 */ addi r8, r1, 0x50 -/* 8013650C 0013346C 39 21 00 48 */ addi r9, r1, 0x48 -/* 80136510 00133470 39 41 00 40 */ addi r10, r1, 0x40 -/* 80136514 00133474 38 80 00 06 */ li r4, 6 -/* 80136518 00133478 4B F4 6D AD */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013651C 0013347C 80 DB 09 00 */ lwz r6, 0x900(r27) -/* 80136520 00133480 7F 84 E3 78 */ mr r4, r28 -/* 80136524 00133484 38 61 00 28 */ addi r3, r1, 0x28 -/* 80136528 00133488 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 8013652C 0013348C 38 E0 FF FF */ li r7, -1 -/* 80136530 00133490 48 1A EB 31 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 80136534 00133494 83 A1 00 2C */ lwz r29, 0x2c(r1) -/* 80136538 00133498 38 00 00 00 */ li r0, 0 -/* 8013653C 0013349C C0 02 9A 0C */ lfs f0, lbl_805AB72C@sda21(r2) -/* 80136540 001334A0 38 A0 FF FF */ li r5, -1 -/* 80136544 001334A4 38 E0 00 01 */ li r7, 1 -/* 80136548 001334A8 93 A1 00 8C */ stw r29, 0x8c(r1) -/* 8013654C 001334AC 7F E3 FB 78 */ mr r3, r31 -/* 80136550 001334B0 38 81 00 8C */ addi r4, r1, 0x8c -/* 80136554 001334B4 90 A1 00 90 */ stw r5, 0x90(r1) -/* 80136558 001334B8 38 A0 00 00 */ li r5, 0 -/* 8013655C 001334BC 38 C0 00 00 */ li r6, 0 -/* 80136560 001334C0 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80136564 001334C4 98 E1 00 98 */ stb r7, 0x98(r1) -/* 80136568 001334C8 90 01 00 9C */ stw r0, 0x9c(r1) -/* 8013656C 001334CC 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 80136570 001334D0 98 01 00 A4 */ stb r0, 0xa4(r1) -/* 80136574 001334D4 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 80136578 001334D8 90 01 00 AC */ stw r0, 0xac(r1) -/* 8013657C 001334DC 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80136580 001334E0 48 00 43 9D */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80136584 001334E4 7F 83 E3 78 */ mr r3, r28 -/* 80136588 001334E8 38 80 00 06 */ li r4, 6 -/* 8013658C 001334EC 48 1A E9 39 */ bl GetAnimState__12CPASDatabaseCFi -/* 80136590 001334F0 7C 7C 1B 78 */ mr r28, r3 -/* 80136594 001334F4 7F A5 EB 78 */ mr r5, r29 -/* 80136598 001334F8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013659C 001334FC 38 C0 00 02 */ li r6, 2 -/* 801365A0 00133500 7F 84 E3 78 */ mr r4, r28 -/* 801365A4 00133504 48 1A DA 51 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 801365A8 00133508 80 81 00 20 */ lwz r4, 0x20(r1) -/* 801365AC 0013350C 38 61 00 78 */ addi r3, r1, 0x78 -/* 801365B0 00133510 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801365B4 00133514 90 81 00 78 */ stw r4, 0x78(r1) -/* 801365B8 00133518 90 01 00 7C */ stw r0, 0x7c(r1) -/* 801365BC 0013351C 48 1A C9 A9 */ bl GetBoolValue__12CPASAnimParmCFv -/* 801365C0 00133520 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801365C4 00133524 40 82 01 50 */ bne lbl_80136714 -/* 801365C8 00133528 7F 84 E3 78 */ mr r4, r28 -/* 801365CC 0013352C 7F A5 EB 78 */ mr r5, r29 -/* 801365D0 00133530 38 61 00 18 */ addi r3, r1, 0x18 -/* 801365D4 00133534 38 C0 00 00 */ li r6, 0 -/* 801365D8 00133538 48 1A DA 1D */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 801365DC 0013353C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 801365E0 00133540 38 61 00 70 */ addi r3, r1, 0x70 -/* 801365E4 00133544 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 801365E8 00133548 90 81 00 70 */ stw r4, 0x70(r1) -/* 801365EC 0013354C 90 01 00 74 */ stw r0, 0x74(r1) -/* 801365F0 00133550 48 1A C9 7D */ bl GetReal32Value__12CPASAnimParmCFv -/* 801365F4 00133554 C0 02 9A 10 */ lfs f0, lbl_805AB730@sda21(r2) -/* 801365F8 00133558 3C 00 43 30 */ lis r0, 0x4330 -/* 801365FC 0013355C C0 42 9A 00 */ lfs f2, lbl_805AB720@sda21(r2) -/* 80136600 00133560 EC A0 00 72 */ fmuls f5, f0, f1 -/* 80136604 00133564 90 01 01 00 */ stw r0, 0x100(r1) -/* 80136608 00133568 C8 62 9A 20 */ lfd f3, lbl_805AB740@sda21(r2) -/* 8013660C 0013356C C0 22 9A 04 */ lfs f1, lbl_805AB724@sda21(r2) -/* 80136610 00133570 EC 9F 28 28 */ fsubs f4, f31, f5 -/* 80136614 00133574 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) -/* 80136618 00133578 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8013661C 0013357C FC 40 10 1E */ fctiwz f2, f2 -/* 80136620 00133580 D8 41 01 08 */ stfd f2, 0x108(r1) -/* 80136624 00133584 80 01 01 0C */ lwz r0, 0x10c(r1) -/* 80136628 00133588 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8013662C 0013358C 90 01 01 04 */ stw r0, 0x104(r1) -/* 80136630 00133590 C8 41 01 00 */ lfd f2, 0x100(r1) -/* 80136634 00133594 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80136638 00133598 EC C2 20 7C */ fnmsubs f6, f2, f1, f4 -/* 8013663C 0013359C FC 80 30 90 */ fmr f4, f6 -/* 80136640 001335A0 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 80136644 001335A4 40 80 00 08 */ bge lbl_8013664C -/* 80136648 001335A8 EC 86 08 2A */ fadds f4, f6, f1 -lbl_8013664C: -/* 8013664C 001335AC EC A5 F8 28 */ fsubs f5, f5, f31 -/* 80136650 001335B0 C0 02 9A 00 */ lfs f0, lbl_805AB720@sda21(r2) -/* 80136654 001335B4 3C 00 43 30 */ lis r0, 0x4330 -/* 80136658 001335B8 C8 62 9A 20 */ lfd f3, lbl_805AB740@sda21(r2) -/* 8013665C 001335BC 90 01 01 18 */ stw r0, 0x118(r1) -/* 80136660 001335C0 EC 45 00 32 */ fmuls f2, f5, f0 -/* 80136664 001335C4 C0 22 9A 04 */ lfs f1, lbl_805AB724@sda21(r2) -/* 80136668 001335C8 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) -/* 8013666C 001335CC FC 40 10 1E */ fctiwz f2, f2 -/* 80136670 001335D0 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 80136674 001335D4 D8 41 01 10 */ stfd f2, 0x110(r1) -/* 80136678 001335D8 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8013667C 001335DC 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80136680 001335E0 90 01 01 1C */ stw r0, 0x11c(r1) -/* 80136684 001335E4 C8 41 01 18 */ lfd f2, 0x118(r1) -/* 80136688 001335E8 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8013668C 001335EC EC 42 28 7C */ fnmsubs f2, f2, f1, f5 -/* 80136690 001335F0 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80136694 001335F4 40 80 00 08 */ bge lbl_8013669C -/* 80136698 001335F8 EC 42 08 2A */ fadds f2, f2, f1 -lbl_8013669C: -/* 8013669C 001335FC FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 801366A0 00133600 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 801366A4 00133604 40 80 00 0C */ bge lbl_801366B0 -/* 801366A8 00133608 38 61 00 10 */ addi r3, r1, 0x10 -/* 801366AC 0013360C 48 00 00 08 */ b lbl_801366B4 -lbl_801366B0: -/* 801366B0 00133610 38 61 00 14 */ addi r3, r1, 0x14 -lbl_801366B4: -/* 801366B4 00133614 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) -/* 801366B8 00133618 C0 23 00 00 */ lfs f1, 0(r3) -/* 801366BC 0013361C FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 801366C0 00133620 40 80 00 0C */ bge lbl_801366CC -/* 801366C4 00133624 C0 02 9A 04 */ lfs f0, lbl_805AB724@sda21(r2) -/* 801366C8 00133628 EC C6 00 2A */ fadds f6, f6, f0 -lbl_801366CC: -/* 801366CC 0013362C C0 02 9A 14 */ lfs f0, lbl_805AB734@sda21(r2) -/* 801366D0 00133630 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 801366D4 00133634 40 81 00 0C */ ble lbl_801366E0 -/* 801366D8 00133638 FF E0 08 50 */ fneg f31, f1 -/* 801366DC 0013363C 48 00 00 08 */ b lbl_801366E4 -lbl_801366E0: -/* 801366E0 00133640 FF E0 08 90 */ fmr f31, f1 -lbl_801366E4: -/* 801366E4 00133644 7F E3 FB 78 */ mr r3, r31 -/* 801366E8 00133648 48 00 41 D1 */ bl GetAnimTimeRemaining__15CBodyControllerCFv -/* 801366EC 0013364C C0 42 9A 18 */ lfs f2, lbl_805AB738@sda21(r2) -/* 801366F0 00133650 C0 02 9A 1C */ lfs f0, lbl_805AB73C@sda21(r2) -/* 801366F4 00133654 EC 22 00 72 */ fmuls f1, f2, f1 -/* 801366F8 00133658 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 801366FC 0013365C C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 80136700 00133660 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80136704 00133664 40 81 00 08 */ ble lbl_8013670C -/* 80136708 00133668 EF FF 08 24 */ fdivs f31, f31, f1 -lbl_8013670C: -/* 8013670C 0013366C D3 FE 00 08 */ stfs f31, 8(r30) -/* 80136710 00133670 48 00 00 10 */ b lbl_80136720 -lbl_80136714: -/* 80136714 00133674 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) -/* 80136718 00133678 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8013671C 0013367C D0 1E 00 08 */ stfs f0, 8(r30) -lbl_80136720: -/* 80136720 00133680 C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) -/* 80136724 00133684 34 A1 00 B8 */ addic. r5, r1, 0xb8 -/* 80136728 00133688 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8013672C 0013368C 41 82 00 58 */ beq lbl_80136784 -/* 80136730 00133690 80 C5 00 00 */ lwz r6, 0(r5) -/* 80136734 00133694 38 60 00 00 */ li r3, 0 -/* 80136738 00133698 2C 06 00 00 */ cmpwi r6, 0 -/* 8013673C 0013369C 40 81 00 40 */ ble lbl_8013677C -/* 80136740 001336A0 2C 06 00 08 */ cmpwi r6, 8 -/* 80136744 001336A4 38 86 FF F8 */ addi r4, r6, -8 -/* 80136748 001336A8 40 81 00 20 */ ble lbl_80136768 -/* 8013674C 001336AC 38 04 00 07 */ addi r0, r4, 7 -/* 80136750 001336B0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80136754 001336B4 7C 09 03 A6 */ mtctr r0 -/* 80136758 001336B8 2C 04 00 00 */ cmpwi r4, 0 -/* 8013675C 001336BC 40 81 00 0C */ ble lbl_80136768 -lbl_80136760: -/* 80136760 001336C0 38 63 00 08 */ addi r3, r3, 8 -/* 80136764 001336C4 42 00 FF FC */ bdnz lbl_80136760 -lbl_80136768: -/* 80136768 001336C8 7C 03 30 50 */ subf r0, r3, r6 -/* 8013676C 001336CC 7C 09 03 A6 */ mtctr r0 -/* 80136770 001336D0 7C 03 30 00 */ cmpw r3, r6 -/* 80136774 001336D4 40 80 00 08 */ bge lbl_8013677C -lbl_80136778: -/* 80136778 001336D8 42 00 00 00 */ bdnz lbl_80136778 -lbl_8013677C: -/* 8013677C 001336DC 38 00 00 00 */ li r0, 0 -/* 80136780 001336E0 90 05 00 00 */ stw r0, 0(r5) -lbl_80136784: -/* 80136784 001336E4 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 80136788 001336E8 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 8013678C 001336EC BB 61 01 2C */ lmw r27, 0x12c(r1) -/* 80136790 001336F0 80 01 01 54 */ lwz r0, 0x154(r1) -/* 80136794 001336F4 7C 08 03 A6 */ mtlr r0 -/* 80136798 001336F8 38 21 01 50 */ addi r1, r1, 0x150 -/* 8013679C 001336FC 4E 80 00 20 */ blr - -.global __ct__12CBSKnockBackFv -__ct__12CBSKnockBackFv: -/* 801367A0 00133700 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 801367A4 00133704 3C 80 80 3E */ lis r4, lbl_803E1450@ha -/* 801367A8 00133708 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l -/* 801367AC 0013370C C0 02 99 FC */ lfs f0, lbl_805AB71C@sda21(r2) -/* 801367B0 00133710 90 A3 00 00 */ stw r5, 0(r3) -/* 801367B4 00133714 38 04 14 50 */ addi r0, r4, lbl_803E1450@l -/* 801367B8 00133718 90 03 00 00 */ stw r0, 0(r3) -/* 801367BC 0013371C D0 03 00 04 */ stfs f0, 4(r3) -/* 801367C0 00133720 D0 03 00 08 */ stfs f0, 8(r3) -/* 801367C4 00133724 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 801367C8 00133728 4E 80 00 20 */ blr - -.global __dt__14CBSLieOnGroundFv -__dt__14CBSLieOnGroundFv: -/* 801367CC 0013372C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801367D0 00133730 7C 08 02 A6 */ mflr r0 -/* 801367D4 00133734 90 01 00 14 */ stw r0, 0x14(r1) -/* 801367D8 00133738 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801367DC 0013373C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 801367E0 00133740 41 82 00 30 */ beq lbl_80136810 -/* 801367E4 00133744 3C 60 80 3E */ lis r3, lbl_803E1488@ha -/* 801367E8 00133748 38 03 14 88 */ addi r0, r3, lbl_803E1488@l -/* 801367EC 0013374C 90 1F 00 00 */ stw r0, 0(r31) -/* 801367F0 00133750 41 82 00 10 */ beq lbl_80136800 -/* 801367F4 00133754 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 801367F8 00133758 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 801367FC 0013375C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80136800: -/* 80136800 00133760 7C 80 07 35 */ extsh. r0, r4 -/* 80136804 00133764 40 81 00 0C */ ble lbl_80136810 -/* 80136808 00133768 7F E3 FB 78 */ mr r3, r31 -/* 8013680C 0013376C 48 1D F1 25 */ bl Free__7CMemoryFPCv -lbl_80136810: -/* 80136810 00133770 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80136814 00133774 7F E3 FB 78 */ mr r3, r31 -/* 80136818 00133778 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013681C 0013377C 7C 08 03 A6 */ mtlr r0 -/* 80136820 00133780 38 21 00 10 */ addi r1, r1, 0x10 -/* 80136824 00133784 4E 80 00 20 */ blr - -.global GetBodyStateTransition__14CBSLieOnGroundFfR15CBodyController -GetBodyStateTransition__14CBSLieOnGroundFfR15CBodyController: -/* 80136828 00133788 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013682C 0013378C 7C 08 02 A6 */ mflr r0 -/* 80136830 00133790 90 01 00 14 */ stw r0, 0x14(r1) -/* 80136834 00133794 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80136838 00133798 3B E4 00 04 */ addi r31, r4, 4 -/* 8013683C 0013379C 38 80 00 02 */ li r4, 2 -/* 80136840 001337A0 93 C1 00 08 */ stw r30, 8(r1) -/* 80136844 001337A4 7C 7E 1B 78 */ mr r30, r3 -/* 80136848 001337A8 7F E3 FB 78 */ mr r3, r31 -/* 8013684C 001337AC 4B FF AC 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80136850 001337B0 28 03 00 00 */ cmplwi r3, 0 -/* 80136854 001337B4 41 82 00 0C */ beq lbl_80136860 -/* 80136858 001337B8 38 60 00 04 */ li r3, 4 -/* 8013685C 001337BC 48 00 00 60 */ b lbl_801368BC -lbl_80136860: -/* 80136860 001337C0 88 1E 00 04 */ lbz r0, 4(r30) -/* 80136864 001337C4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80136868 001337C8 41 82 00 20 */ beq lbl_80136888 -/* 8013686C 001337CC 7F E3 FB 78 */ mr r3, r31 -/* 80136870 001337D0 38 80 00 04 */ li r4, 4 -/* 80136874 001337D4 4B FF AB DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80136878 001337D8 28 03 00 00 */ cmplwi r3, 0 -/* 8013687C 001337DC 41 82 00 0C */ beq lbl_80136888 -/* 80136880 001337E0 38 60 00 0B */ li r3, 0xb -/* 80136884 001337E4 48 00 00 38 */ b lbl_801368BC -lbl_80136888: -/* 80136888 001337E8 7F E3 FB 78 */ mr r3, r31 -/* 8013688C 001337EC 38 80 00 16 */ li r4, 0x16 -/* 80136890 001337F0 4B FF AB C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80136894 001337F4 28 03 00 00 */ cmplwi r3, 0 -/* 80136898 001337F8 40 82 00 20 */ bne lbl_801368B8 -/* 8013689C 001337FC 7F E3 FB 78 */ mr r3, r31 -/* 801368A0 00133800 38 80 00 00 */ li r4, 0 -/* 801368A4 00133804 4B FF AB AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801368A8 00133808 28 03 00 00 */ cmplwi r3, 0 -/* 801368AC 0013380C 41 82 00 0C */ beq lbl_801368B8 -/* 801368B0 00133810 38 60 00 01 */ li r3, 1 -/* 801368B4 00133814 48 00 00 08 */ b lbl_801368BC -lbl_801368B8: -/* 801368B8 00133818 38 60 FF FF */ li r3, -1 -lbl_801368BC: -/* 801368BC 0013381C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801368C0 00133820 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801368C4 00133824 83 C1 00 08 */ lwz r30, 8(r1) -/* 801368C8 00133828 7C 08 03 A6 */ mtlr r0 -/* 801368CC 0013382C 38 21 00 10 */ addi r1, r1, 0x10 -/* 801368D0 00133830 4E 80 00 20 */ blr - -.global Shutdown__14CBSLieOnGroundFR15CBodyController -Shutdown__14CBSLieOnGroundFR15CBodyController: -/* 801368D4 00133834 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801368D8 00133838 7C 08 02 A6 */ mflr r0 -/* 801368DC 0013383C 7C 83 23 78 */ mr r3, r4 -/* 801368E0 00133840 38 80 00 01 */ li r4, 1 -/* 801368E4 00133844 90 01 00 14 */ stw r0, 0x14(r1) -/* 801368E8 00133848 48 00 40 A1 */ bl EnableAnimation__15CBodyControllerFb -/* 801368EC 0013384C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801368F0 00133850 7C 08 03 A6 */ mtlr r0 -/* 801368F4 00133854 38 21 00 10 */ addi r1, r1, 0x10 -/* 801368F8 00133858 4E 80 00 20 */ blr - -.global UpdateBody__14CBSLieOnGroundFfR15CBodyControllerR13CStateManager -UpdateBody__14CBSLieOnGroundFfR15CBodyControllerR13CStateManager: -/* 801368FC 0013385C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80136900 00133860 7C 08 02 A6 */ mflr r0 -/* 80136904 00133864 90 01 00 14 */ stw r0, 0x14(r1) -/* 80136908 00133868 4B FF FF 21 */ bl GetBodyStateTransition__14CBSLieOnGroundFfR15CBodyController -/* 8013690C 0013386C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80136910 00133870 7C 08 03 A6 */ mtlr r0 -/* 80136914 00133874 38 21 00 10 */ addi r1, r1, 0x10 -/* 80136918 00133878 4E 80 00 20 */ blr - -.global Start__14CBSLieOnGroundFR15CBodyControllerR13CStateManager -Start__14CBSLieOnGroundFR15CBodyControllerR13CStateManager: -/* 8013691C 0013387C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 80136920 00133880 7C 08 02 A6 */ mflr r0 -/* 80136924 00133884 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 80136928 00133888 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 8013692C 0013388C 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80136930 00133890 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 80136934 00133894 7C BD 2B 78 */ mr r29, r5 -/* 80136938 00133898 93 81 00 D0 */ stw r28, 0xd0(r1) -/* 8013693C 0013389C 7C 9C 23 78 */ mr r28, r4 -/* 80136940 001338A0 7F 83 E3 78 */ mr r3, r28 -/* 80136944 001338A4 48 00 42 69 */ bl GetFallState__15CBodyControllerCFv -/* 80136948 001338A8 7C 60 1B 78 */ mr r0, r3 -/* 8013694C 001338AC 7F 83 E3 78 */ mr r3, r28 -/* 80136950 001338B0 7C 1F 03 78 */ mr r31, r0 -/* 80136954 001338B4 48 00 3B 01 */ bl GetPASDatabase__15CBodyControllerCFv -/* 80136958 001338B8 7C 60 1B 78 */ mr r0, r3 -/* 8013695C 001338BC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80136960 001338C0 7C 1E 03 78 */ mr r30, r0 -/* 80136964 001338C4 48 1A C7 19 */ bl NoParameter__12CPASAnimParmFv -/* 80136968 001338C8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013696C 001338CC 48 1A C7 11 */ bl NoParameter__12CPASAnimParmFv -/* 80136970 001338D0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80136974 001338D4 48 1A C7 09 */ bl NoParameter__12CPASAnimParmFv -/* 80136978 001338D8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013697C 001338DC 48 1A C7 01 */ bl NoParameter__12CPASAnimParmFv -/* 80136980 001338E0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80136984 001338E4 48 1A C6 F9 */ bl NoParameter__12CPASAnimParmFv -/* 80136988 001338E8 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013698C 001338EC 48 1A C6 F1 */ bl NoParameter__12CPASAnimParmFv -/* 80136990 001338F0 38 61 00 48 */ addi r3, r1, 0x48 -/* 80136994 001338F4 48 1A C6 E9 */ bl NoParameter__12CPASAnimParmFv -/* 80136998 001338F8 7F E4 FB 78 */ mr r4, r31 -/* 8013699C 001338FC 38 61 00 50 */ addi r3, r1, 0x50 -/* 801369A0 00133900 48 1A C5 E5 */ bl FromEnum__12CPASAnimParmFi -/* 801369A4 00133904 38 61 00 20 */ addi r3, r1, 0x20 -/* 801369A8 00133908 38 01 00 18 */ addi r0, r1, 0x18 -/* 801369AC 0013390C 90 61 00 08 */ stw r3, 8(r1) -/* 801369B0 00133910 38 61 00 80 */ addi r3, r1, 0x80 -/* 801369B4 00133914 38 A1 00 50 */ addi r5, r1, 0x50 -/* 801369B8 00133918 38 C1 00 48 */ addi r6, r1, 0x48 -/* 801369BC 0013391C 90 01 00 0C */ stw r0, 0xc(r1) -/* 801369C0 00133920 38 E1 00 40 */ addi r7, r1, 0x40 -/* 801369C4 00133924 39 01 00 38 */ addi r8, r1, 0x38 -/* 801369C8 00133928 39 21 00 30 */ addi r9, r1, 0x30 -/* 801369CC 0013392C 39 41 00 28 */ addi r10, r1, 0x28 -/* 801369D0 00133930 38 80 00 02 */ li r4, 2 -/* 801369D4 00133934 4B F4 68 F1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 801369D8 00133938 80 DD 09 00 */ lwz r6, 0x900(r29) -/* 801369DC 0013393C 7F C4 F3 78 */ mr r4, r30 -/* 801369E0 00133940 38 61 00 10 */ addi r3, r1, 0x10 -/* 801369E4 00133944 38 A1 00 80 */ addi r5, r1, 0x80 -/* 801369E8 00133948 38 E0 FF FF */ li r7, -1 -/* 801369EC 0013394C 48 1A E6 75 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 801369F0 00133950 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 801369F4 00133954 C0 02 9A 28 */ lfs f0, lbl_805AB748@sda21(r2) -/* 801369F8 00133958 80 61 00 14 */ lwz r3, 0x14(r1) -/* 801369FC 0013395C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80136A00 00133960 40 81 00 54 */ ble lbl_80136A54 -/* 80136A04 00133964 C0 02 9A 2C */ lfs f0, lbl_805AB74C@sda21(r2) -/* 80136A08 00133968 38 00 00 00 */ li r0, 0 -/* 80136A0C 0013396C 38 C0 FF FF */ li r6, -1 -/* 80136A10 00133970 38 E0 00 01 */ li r7, 1 -/* 80136A14 00133974 90 61 00 58 */ stw r3, 0x58(r1) -/* 80136A18 00133978 7F 83 E3 78 */ mr r3, r28 -/* 80136A1C 0013397C 38 81 00 58 */ addi r4, r1, 0x58 -/* 80136A20 00133980 38 A0 00 01 */ li r5, 1 -/* 80136A24 00133984 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 80136A28 00133988 38 C0 00 00 */ li r6, 0 -/* 80136A2C 0013398C D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80136A30 00133990 98 E1 00 64 */ stb r7, 0x64(r1) -/* 80136A34 00133994 90 01 00 68 */ stw r0, 0x68(r1) -/* 80136A38 00133998 90 01 00 6C */ stw r0, 0x6c(r1) -/* 80136A3C 0013399C 98 01 00 70 */ stb r0, 0x70(r1) -/* 80136A40 001339A0 90 01 00 74 */ stw r0, 0x74(r1) -/* 80136A44 001339A4 90 01 00 78 */ stw r0, 0x78(r1) -/* 80136A48 001339A8 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80136A4C 001339AC 48 00 3E D1 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80136A50 001339B0 48 00 00 10 */ b lbl_80136A60 -lbl_80136A54: -/* 80136A54 001339B4 7F 83 E3 78 */ mr r3, r28 -/* 80136A58 001339B8 38 80 00 00 */ li r4, 0 -/* 80136A5C 001339BC 48 00 3F 2D */ bl EnableAnimation__15CBodyControllerFb -lbl_80136A60: -/* 80136A60 001339C0 34 A1 00 84 */ addic. r5, r1, 0x84 -/* 80136A64 001339C4 41 82 00 58 */ beq lbl_80136ABC -/* 80136A68 001339C8 80 C5 00 00 */ lwz r6, 0(r5) -/* 80136A6C 001339CC 38 60 00 00 */ li r3, 0 -/* 80136A70 001339D0 2C 06 00 00 */ cmpwi r6, 0 -/* 80136A74 001339D4 40 81 00 40 */ ble lbl_80136AB4 -/* 80136A78 001339D8 2C 06 00 08 */ cmpwi r6, 8 -/* 80136A7C 001339DC 38 86 FF F8 */ addi r4, r6, -8 -/* 80136A80 001339E0 40 81 00 20 */ ble lbl_80136AA0 -/* 80136A84 001339E4 38 04 00 07 */ addi r0, r4, 7 -/* 80136A88 001339E8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80136A8C 001339EC 7C 09 03 A6 */ mtctr r0 -/* 80136A90 001339F0 2C 04 00 00 */ cmpwi r4, 0 -/* 80136A94 001339F4 40 81 00 0C */ ble lbl_80136AA0 -lbl_80136A98: -/* 80136A98 001339F8 38 63 00 08 */ addi r3, r3, 8 -/* 80136A9C 001339FC 42 00 FF FC */ bdnz lbl_80136A98 -lbl_80136AA0: -/* 80136AA0 00133A00 7C 03 30 50 */ subf r0, r3, r6 -/* 80136AA4 00133A04 7C 09 03 A6 */ mtctr r0 -/* 80136AA8 00133A08 7C 03 30 00 */ cmpw r3, r6 -/* 80136AAC 00133A0C 40 80 00 08 */ bge lbl_80136AB4 -lbl_80136AB0: -/* 80136AB0 00133A10 42 00 00 00 */ bdnz lbl_80136AB0 -lbl_80136AB4: -/* 80136AB4 00133A14 38 00 00 00 */ li r0, 0 -/* 80136AB8 00133A18 90 05 00 00 */ stw r0, 0(r5) -lbl_80136ABC: -/* 80136ABC 00133A1C 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80136AC0 00133A20 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 80136AC4 00133A24 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 80136AC8 00133A28 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 80136ACC 00133A2C 83 81 00 D0 */ lwz r28, 0xd0(r1) -/* 80136AD0 00133A30 7C 08 03 A6 */ mtlr r0 -/* 80136AD4 00133A34 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 80136AD8 00133A38 4E 80 00 20 */ blr - -.global __ct__14CBSLieOnGroundFRC6CActor -__ct__14CBSLieOnGroundFRC6CActor: -/* 80136ADC 00133A3C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80136AE0 00133A40 7C 08 02 A6 */ mflr r0 -/* 80136AE4 00133A44 3C C0 80 3E */ lis r6, lbl_803E1318@ha -/* 80136AE8 00133A48 3C A0 80 3E */ lis r5, lbl_803E1488@ha -/* 80136AEC 00133A4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80136AF0 00133A50 38 C6 13 18 */ addi r6, r6, lbl_803E1318@l -/* 80136AF4 00133A54 38 05 14 88 */ addi r0, r5, lbl_803E1488@l -/* 80136AF8 00133A58 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80136AFC 00133A5C 7C 7F 1B 78 */ mr r31, r3 -/* 80136B00 00133A60 38 60 00 00 */ li r3, 0 -/* 80136B04 00133A64 90 DF 00 00 */ stw r6, 0(r31) -/* 80136B08 00133A68 90 1F 00 00 */ stw r0, 0(r31) -/* 80136B0C 00133A6C 80 1F 00 04 */ lwz r0, 4(r31) -/* 80136B10 00133A70 50 60 F8 00 */ rlwimi r0, r3, 0x1f, 0, 0 -/* 80136B14 00133A74 90 1F 00 04 */ stw r0, 4(r31) -/* 80136B18 00133A78 80 64 00 64 */ lwz r3, 0x64(r4) -/* 80136B1C 00133A7C 38 80 00 0B */ li r4, 0xb -/* 80136B20 00133A80 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80136B24 00133A84 38 63 00 3C */ addi r3, r3, 0x3c -/* 80136B28 00133A88 48 1A E4 55 */ bl HasState__12CPASDatabaseCFi -/* 80136B2C 00133A8C 88 1F 00 04 */ lbz r0, 4(r31) -/* 80136B30 00133A90 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80136B34 00133A94 7F E3 FB 78 */ mr r3, r31 -/* 80136B38 00133A98 98 1F 00 04 */ stb r0, 4(r31) -/* 80136B3C 00133A9C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80136B40 00133AA0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80136B44 00133AA4 7C 08 03 A6 */ mtlr r0 -/* 80136B48 00133AA8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80136B4C 00133AAC 4E 80 00 20 */ blr - -.global __dt__28CBSRestrictedFlyerLocomotionFv -__dt__28CBSRestrictedFlyerLocomotionFv: -/* 80136B50 00133AB0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80136B54 00133AB4 7C 08 02 A6 */ mflr r0 -/* 80136B58 00133AB8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80136B5C 00133ABC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80136B60 00133AC0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80136B64 00133AC4 41 82 00 B0 */ beq lbl_80136C14 -/* 80136B68 00133AC8 3C 60 80 3E */ lis r3, lbl_803E14F0@ha -/* 80136B6C 00133ACC 38 03 14 F0 */ addi r0, r3, lbl_803E14F0@l -/* 80136B70 00133AD0 90 1F 00 00 */ stw r0, 0(r31) -/* 80136B74 00133AD4 41 82 00 90 */ beq lbl_80136C04 -/* 80136B78 00133AD8 3C 60 80 3E */ lis r3, lbl_803E1630@ha -/* 80136B7C 00133ADC 34 1F 00 08 */ addic. r0, r31, 8 -/* 80136B80 00133AE0 38 03 16 30 */ addi r0, r3, lbl_803E1630@l -/* 80136B84 00133AE4 90 1F 00 00 */ stw r0, 0(r31) -/* 80136B88 00133AE8 41 82 00 58 */ beq lbl_80136BE0 -/* 80136B8C 00133AEC 80 DF 00 08 */ lwz r6, 8(r31) -/* 80136B90 00133AF0 38 60 00 00 */ li r3, 0 -/* 80136B94 00133AF4 2C 06 00 00 */ cmpwi r6, 0 -/* 80136B98 00133AF8 40 81 00 40 */ ble lbl_80136BD8 -/* 80136B9C 00133AFC 2C 06 00 08 */ cmpwi r6, 8 -/* 80136BA0 00133B00 38 A6 FF F8 */ addi r5, r6, -8 -/* 80136BA4 00133B04 40 81 00 20 */ ble lbl_80136BC4 -/* 80136BA8 00133B08 38 05 00 07 */ addi r0, r5, 7 -/* 80136BAC 00133B0C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80136BB0 00133B10 7C 09 03 A6 */ mtctr r0 -/* 80136BB4 00133B14 2C 05 00 00 */ cmpwi r5, 0 -/* 80136BB8 00133B18 40 81 00 0C */ ble lbl_80136BC4 -lbl_80136BBC: -/* 80136BBC 00133B1C 38 63 00 08 */ addi r3, r3, 8 -/* 80136BC0 00133B20 42 00 FF FC */ bdnz lbl_80136BBC -lbl_80136BC4: -/* 80136BC4 00133B24 7C 03 30 50 */ subf r0, r3, r6 -/* 80136BC8 00133B28 7C 09 03 A6 */ mtctr r0 -/* 80136BCC 00133B2C 7C 03 30 00 */ cmpw r3, r6 -/* 80136BD0 00133B30 40 80 00 08 */ bge lbl_80136BD8 -lbl_80136BD4: -/* 80136BD4 00133B34 42 00 00 00 */ bdnz lbl_80136BD4 -lbl_80136BD8: -/* 80136BD8 00133B38 38 00 00 00 */ li r0, 0 -/* 80136BDC 00133B3C 90 1F 00 08 */ stw r0, 8(r31) -lbl_80136BE0: -/* 80136BE0 00133B40 28 1F 00 00 */ cmplwi r31, 0 -/* 80136BE4 00133B44 41 82 00 20 */ beq lbl_80136C04 -/* 80136BE8 00133B48 3C 60 80 3E */ lis r3, lbl_803E16CC@ha -/* 80136BEC 00133B4C 38 03 16 CC */ addi r0, r3, lbl_803E16CC@l -/* 80136BF0 00133B50 90 1F 00 00 */ stw r0, 0(r31) -/* 80136BF4 00133B54 41 82 00 10 */ beq lbl_80136C04 -/* 80136BF8 00133B58 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80136BFC 00133B5C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80136C00 00133B60 90 1F 00 00 */ stw r0, 0(r31) -lbl_80136C04: -/* 80136C04 00133B64 7C 80 07 35 */ extsh. r0, r4 -/* 80136C08 00133B68 40 81 00 0C */ ble lbl_80136C14 -/* 80136C0C 00133B6C 7F E3 FB 78 */ mr r3, r31 -/* 80136C10 00133B70 48 1D ED 21 */ bl Free__7CMemoryFPCv -lbl_80136C14: -/* 80136C14 00133B74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80136C18 00133B78 7F E3 FB 78 */ mr r3, r31 -/* 80136C1C 00133B7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80136C20 00133B80 7C 08 03 A6 */ mtlr r0 -/* 80136C24 00133B84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80136C28 00133B88 4E 80 00 20 */ blr - -.global IsMoving__23CBSRestrictedLocomotionCFv -IsMoving__23CBSRestrictedLocomotionCFv: -/* 80136C2C 00133B8C 38 60 00 00 */ li r3, 0 -/* 80136C30 00133B90 4E 80 00 20 */ blr - -.global GetLocomotionSpeed__23CBSRestrictedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -GetLocomotionSpeed__23CBSRestrictedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim: -/* 80136C34 00133B94 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -/* 80136C38 00133B98 4E 80 00 20 */ blr - -.global CanShoot__13CBSLocomotionCFv -CanShoot__13CBSLocomotionCFv: -/* 80136C3C 00133B9C 38 60 00 01 */ li r3, 1 -/* 80136C40 00133BA0 4E 80 00 20 */ blr - -.global IsPitchable__13CBSLocomotionCFv -IsPitchable__13CBSLocomotionCFv: -/* 80136C44 00133BA4 38 60 00 00 */ li r3, 0 -/* 80136C48 00133BA8 4E 80 00 20 */ blr - -.global ApplyLocomotionPhysics__28CBSRestrictedFlyerLocomotionFfR15CBodyController -ApplyLocomotionPhysics__28CBSRestrictedFlyerLocomotionFfR15CBodyController: -/* 80136C4C 00133BAC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80136C50 00133BB0 7C 08 02 A6 */ mflr r0 -/* 80136C54 00133BB4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80136C58 00133BB8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80136C5C 00133BBC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80136C60 00133BC0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80136C64 00133BC4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80136C68 00133BC8 7C 9E 23 78 */ mr r30, r4 -/* 80136C6C 00133BCC FF E0 08 90 */ fmr f31, f1 -/* 80136C70 00133BD0 80 84 00 00 */ lwz r4, 0(r4) -/* 80136C74 00133BD4 38 61 00 08 */ addi r3, r1, 8 -/* 80136C78 00133BD8 4B F7 5A D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" -/* 80136C7C 00133BDC 83 E3 00 04 */ lwz r31, 4(r3) -/* 80136C80 00133BE0 28 1F 00 00 */ cmplwi r31, 0 -/* 80136C84 00133BE4 41 82 00 60 */ beq lbl_80136CE4 -/* 80136C88 00133BE8 FC 20 F8 90 */ fmr f1, f31 -/* 80136C8C 00133BEC 7F C3 F3 78 */ mr r3, r30 -/* 80136C90 00133BF0 38 9E 00 10 */ addi r4, r30, 0x10 -/* 80136C94 00133BF4 48 00 3A 11 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -/* 80136C98 00133BF8 C0 7E 03 30 */ lfs f3, 0x330(r30) -/* 80136C9C 00133BFC C0 5E 00 08 */ lfs f2, 8(r30) -/* 80136CA0 00133C00 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 80136CA4 00133C04 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80136CA8 00133C08 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80136CAC 00133C0C C0 9F 00 E8 */ lfs f4, 0xe8(r31) -/* 80136CB0 00133C10 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80136CB4 00133C14 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80136CB8 00133C18 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80136CBC 00133C1C EC 24 00 72 */ fmuls f1, f4, f1 -/* 80136CC0 00133C20 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80136CC4 00133C24 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80136CC8 00133C28 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80136CCC 00133C2C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80136CD0 00133C30 4B EE 48 65 */ bl Identity__10CAxisAngleFv -/* 80136CD4 00133C34 7C 65 1B 78 */ mr r5, r3 -/* 80136CD8 00133C38 7F E3 FB 78 */ mr r3, r31 -/* 80136CDC 00133C3C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80136CE0 00133C40 4B FE 56 B9 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_80136CE4: -/* 80136CE4 00133C44 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -/* 80136CE8 00133C48 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80136CEC 00133C4C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80136CF0 00133C50 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80136CF4 00133C54 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80136CF8 00133C58 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80136CFC 00133C5C 7C 08 03 A6 */ mtlr r0 -/* 80136D00 00133C60 38 21 00 40 */ addi r1, r1, 0x40 -/* 80136D04 00133C64 4E 80 00 20 */ blr - -.global __ct__28CBSRestrictedFlyerLocomotionFR6CActor -__ct__28CBSRestrictedFlyerLocomotionFR6CActor: -/* 80136D08 00133C68 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80136D0C 00133C6C 7C 08 02 A6 */ mflr r0 -/* 80136D10 00133C70 90 01 00 14 */ stw r0, 0x14(r1) -/* 80136D14 00133C74 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80136D18 00133C78 7C 7F 1B 78 */ mr r31, r3 -/* 80136D1C 00133C7C 48 00 08 E1 */ bl __ct__23CBSRestrictedLocomotionFR6CActor -/* 80136D20 00133C80 3C 80 80 3E */ lis r4, lbl_803E14F0@ha -/* 80136D24 00133C84 7F E3 FB 78 */ mr r3, r31 -/* 80136D28 00133C88 38 04 14 F0 */ addi r0, r4, lbl_803E14F0@l -/* 80136D2C 00133C8C 90 1F 00 00 */ stw r0, 0(r31) -/* 80136D30 00133C90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80136D34 00133C94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80136D38 00133C98 7C 08 03 A6 */ mtlr r0 -/* 80136D3C 00133C9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80136D40 00133CA0 4E 80 00 20 */ blr - -.global __dt__23CBSRestrictedLocomotionFv -__dt__23CBSRestrictedLocomotionFv: -/* 80136D44 00133CA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80136D48 00133CA8 7C 08 02 A6 */ mflr r0 -/* 80136D4C 00133CAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80136D50 00133CB0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80136D54 00133CB4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80136D58 00133CB8 41 82 00 A0 */ beq lbl_80136DF8 -/* 80136D5C 00133CBC 3C 60 80 3E */ lis r3, lbl_803E1630@ha -/* 80136D60 00133CC0 34 1F 00 08 */ addic. r0, r31, 8 -/* 80136D64 00133CC4 38 03 16 30 */ addi r0, r3, lbl_803E1630@l -/* 80136D68 00133CC8 90 1F 00 00 */ stw r0, 0(r31) -/* 80136D6C 00133CCC 41 82 00 58 */ beq lbl_80136DC4 -/* 80136D70 00133CD0 80 DF 00 08 */ lwz r6, 8(r31) -/* 80136D74 00133CD4 38 60 00 00 */ li r3, 0 -/* 80136D78 00133CD8 2C 06 00 00 */ cmpwi r6, 0 -/* 80136D7C 00133CDC 40 81 00 40 */ ble lbl_80136DBC -/* 80136D80 00133CE0 2C 06 00 08 */ cmpwi r6, 8 -/* 80136D84 00133CE4 38 A6 FF F8 */ addi r5, r6, -8 -/* 80136D88 00133CE8 40 81 00 20 */ ble lbl_80136DA8 -/* 80136D8C 00133CEC 38 05 00 07 */ addi r0, r5, 7 -/* 80136D90 00133CF0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80136D94 00133CF4 7C 09 03 A6 */ mtctr r0 -/* 80136D98 00133CF8 2C 05 00 00 */ cmpwi r5, 0 -/* 80136D9C 00133CFC 40 81 00 0C */ ble lbl_80136DA8 -lbl_80136DA0: -/* 80136DA0 00133D00 38 63 00 08 */ addi r3, r3, 8 -/* 80136DA4 00133D04 42 00 FF FC */ bdnz lbl_80136DA0 -lbl_80136DA8: -/* 80136DA8 00133D08 7C 03 30 50 */ subf r0, r3, r6 -/* 80136DAC 00133D0C 7C 09 03 A6 */ mtctr r0 -/* 80136DB0 00133D10 7C 03 30 00 */ cmpw r3, r6 -/* 80136DB4 00133D14 40 80 00 08 */ bge lbl_80136DBC -lbl_80136DB8: -/* 80136DB8 00133D18 42 00 00 00 */ bdnz lbl_80136DB8 -lbl_80136DBC: -/* 80136DBC 00133D1C 38 00 00 00 */ li r0, 0 -/* 80136DC0 00133D20 90 1F 00 08 */ stw r0, 8(r31) -lbl_80136DC4: -/* 80136DC4 00133D24 28 1F 00 00 */ cmplwi r31, 0 -/* 80136DC8 00133D28 41 82 00 20 */ beq lbl_80136DE8 -/* 80136DCC 00133D2C 3C 60 80 3E */ lis r3, lbl_803E16CC@ha -/* 80136DD0 00133D30 38 03 16 CC */ addi r0, r3, lbl_803E16CC@l -/* 80136DD4 00133D34 90 1F 00 00 */ stw r0, 0(r31) -/* 80136DD8 00133D38 41 82 00 10 */ beq lbl_80136DE8 -/* 80136DDC 00133D3C 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80136DE0 00133D40 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80136DE4 00133D44 90 1F 00 00 */ stw r0, 0(r31) -lbl_80136DE8: -/* 80136DE8 00133D48 7C 80 07 35 */ extsh. r0, r4 -/* 80136DEC 00133D4C 40 81 00 0C */ ble lbl_80136DF8 -/* 80136DF0 00133D50 7F E3 FB 78 */ mr r3, r31 -/* 80136DF4 00133D54 48 1D EB 3D */ bl Free__7CMemoryFPCv -lbl_80136DF8: -/* 80136DF8 00133D58 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80136DFC 00133D5C 7F E3 FB 78 */ mr r3, r31 -/* 80136E00 00133D60 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80136E04 00133D64 7C 08 03 A6 */ mtlr r0 -/* 80136E08 00133D68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80136E0C 00133D6C 4E 80 00 20 */ blr - -.global UpdateLocomotionAnimation__21CBSNewFlyerLocomotionFffR15CBodyControllerb -UpdateLocomotionAnimation__21CBSNewFlyerLocomotionFffR15CBodyControllerb: -/* 80136E10 00133D70 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80136E14 00133D74 7C 08 02 A6 */ mflr r0 -/* 80136E18 00133D78 90 01 00 84 */ stw r0, 0x84(r1) -/* 80136E1C 00133D7C BF 41 00 68 */ stmw r26, 0x68(r1) -/* 80136E20 00133D80 7C 9E 23 78 */ mr r30, r4 -/* 80136E24 00133D84 7C 7D 1B 78 */ mr r29, r3 -/* 80136E28 00133D88 7C BF 2B 78 */ mr r31, r5 -/* 80136E2C 00133D8C 38 61 00 08 */ addi r3, r1, 8 -/* 80136E30 00133D90 80 84 00 00 */ lwz r4, 0(r4) -/* 80136E34 00133D94 4B F7 58 B1 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80136E38 00133D98 83 83 00 04 */ lwz r28, 4(r3) -/* 80136E3C 00133D9C 28 1C 00 00 */ cmplwi r28, 0 -/* 80136E40 00133DA0 41 82 01 80 */ beq lbl_80136FC0 -/* 80136E44 00133DA4 3B 7E 00 04 */ addi r27, r30, 4 -/* 80136E48 00133DA8 3B 40 00 00 */ li r26, 0 -/* 80136E4C 00133DAC 7F 63 DB 78 */ mr r3, r27 -/* 80136E50 00133DB0 48 1D D8 A9 */ bl CanBeNormalized__9CVector3fCFv -/* 80136E54 00133DB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80136E58 00133DB8 41 82 00 DC */ beq lbl_80136F34 -/* 80136E5C 00133DBC 7F 65 DB 78 */ mr r5, r27 -/* 80136E60 00133DC0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80136E64 00133DC4 38 9C 00 34 */ addi r4, r28, 0x34 -/* 80136E68 00133DC8 48 1D BB BD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80136E6C 00133DCC C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80136E70 00133DD0 38 A0 00 00 */ li r5, 0 -/* 80136E74 00133DD4 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 80136E78 00133DD8 38 61 00 1C */ addi r3, r1, 0x1c -/* 80136E7C 00133DDC C0 41 00 18 */ lfs f2, 0x18(r1) -/* 80136E80 00133DE0 EC 80 00 32 */ fmuls f4, f0, f0 -/* 80136E84 00133DE4 EC A3 00 F2 */ fmuls f5, f3, f3 -/* 80136E88 00133DE8 54 A0 10 3A */ slwi r0, r5, 2 -/* 80136E8C 00133DEC EC C2 00 B2 */ fmuls f6, f2, f2 -/* 80136E90 00133DF0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80136E94 00133DF4 FC 20 20 18 */ frsp f1, f4 -/* 80136E98 00133DF8 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80136E9C 00133DFC D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 80136EA0 00133E00 D0 C1 00 24 */ stfs f6, 0x24(r1) -/* 80136EA4 00133E04 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80136EA8 00133E08 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 80136EAC 00133E0C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80136EB0 00133E10 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80136EB4 00133E14 4C 41 13 82 */ cror 2, 1, 2 -/* 80136EB8 00133E18 40 82 00 08 */ bne lbl_80136EC0 -/* 80136EBC 00133E1C 38 A0 00 00 */ li r5, 0 -lbl_80136EC0: -/* 80136EC0 00133E20 54 A0 10 3A */ slwi r0, r5, 2 -/* 80136EC4 00133E24 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80136EC8 00133E28 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80136ECC 00133E2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80136ED0 00133E30 4C 41 13 82 */ cror 2, 1, 2 -/* 80136ED4 00133E34 40 82 00 08 */ bne lbl_80136EDC -/* 80136ED8 00133E38 38 A0 00 01 */ li r5, 1 -lbl_80136EDC: -/* 80136EDC 00133E3C 54 A0 10 3A */ slwi r0, r5, 2 -/* 80136EE0 00133E40 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80136EE4 00133E44 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80136EE8 00133E48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80136EEC 00133E4C 4C 41 13 82 */ cror 2, 1, 2 -/* 80136EF0 00133E50 40 82 00 08 */ bne lbl_80136EF8 -/* 80136EF4 00133E54 38 A0 00 02 */ li r5, 2 -lbl_80136EF8: -/* 80136EF8 00133E58 54 A0 10 3A */ slwi r0, r5, 2 -/* 80136EFC 00133E5C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80136F00 00133E60 7C 23 04 2E */ lfsx f1, r3, r0 -/* 80136F04 00133E64 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 80136F08 00133E68 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80136F0C 00133E6C 40 81 00 0C */ ble lbl_80136F18 -/* 80136F10 00133E70 38 80 00 00 */ li r4, 0 -/* 80136F14 00133E74 48 00 00 08 */ b lbl_80136F1C -lbl_80136F18: -/* 80136F18 00133E78 38 80 00 01 */ li r4, 1 -lbl_80136F1C: -/* 80136F1C 00133E7C 54 A0 08 3C */ slwi r0, r5, 1 -/* 80136F20 00133E80 3C 60 80 3E */ lis r3, lbl_803E14D8@ha -/* 80136F24 00133E84 7C 04 02 14 */ add r0, r4, r0 -/* 80136F28 00133E88 54 00 10 3A */ slwi r0, r0, 2 -/* 80136F2C 00133E8C 38 63 14 D8 */ addi r3, r3, lbl_803E14D8@l -/* 80136F30 00133E90 7F 43 00 2E */ lwzx r26, r3, r0 -lbl_80136F34: -/* 80136F34 00133E94 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80136F38 00133E98 40 82 00 10 */ bne lbl_80136F48 -/* 80136F3C 00133E9C 80 1D 03 C4 */ lwz r0, 0x3c4(r29) -/* 80136F40 00133EA0 7C 1A 00 00 */ cmpw r26, r0 -/* 80136F44 00133EA4 41 82 00 7C */ beq lbl_80136FC0 -lbl_80136F48: -/* 80136F48 00133EA8 80 9D 00 04 */ lwz r4, 4(r29) -/* 80136F4C 00133EAC 7F A3 EB 78 */ mr r3, r29 -/* 80136F50 00133EB0 7F 45 D3 78 */ mr r5, r26 -/* 80136F54 00133EB4 48 00 0E F5 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80136F58 00133EB8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80136F5C 00133EBC 80 63 00 00 */ lwz r3, 0(r3) -/* 80136F60 00133EC0 40 82 00 10 */ bne lbl_80136F70 -/* 80136F64 00133EC4 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 80136F68 00133EC8 7C 03 00 00 */ cmpw r3, r0 -/* 80136F6C 00133ECC 41 82 00 50 */ beq lbl_80136FBC -lbl_80136F70: -/* 80136F70 00133ED0 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) -/* 80136F74 00133ED4 38 00 00 00 */ li r0, 0 -/* 80136F78 00133ED8 38 C0 FF FF */ li r6, -1 -/* 80136F7C 00133EDC 38 E0 00 01 */ li r7, 1 -/* 80136F80 00133EE0 90 61 00 34 */ stw r3, 0x34(r1) -/* 80136F84 00133EE4 7F C3 F3 78 */ mr r3, r30 -/* 80136F88 00133EE8 38 81 00 34 */ addi r4, r1, 0x34 -/* 80136F8C 00133EEC 38 A0 00 01 */ li r5, 1 -/* 80136F90 00133EF0 90 C1 00 38 */ stw r6, 0x38(r1) -/* 80136F94 00133EF4 38 C0 00 00 */ li r6, 0 -/* 80136F98 00133EF8 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80136F9C 00133EFC 98 E1 00 40 */ stb r7, 0x40(r1) -/* 80136FA0 00133F00 90 01 00 44 */ stw r0, 0x44(r1) -/* 80136FA4 00133F04 90 01 00 48 */ stw r0, 0x48(r1) -/* 80136FA8 00133F08 98 01 00 4C */ stb r0, 0x4c(r1) -/* 80136FAC 00133F0C 90 01 00 50 */ stw r0, 0x50(r1) -/* 80136FB0 00133F10 90 01 00 54 */ stw r0, 0x54(r1) -/* 80136FB4 00133F14 90 01 00 58 */ stw r0, 0x58(r1) -/* 80136FB8 00133F18 48 00 39 65 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -lbl_80136FBC: -/* 80136FBC 00133F1C 93 5D 03 C4 */ stw r26, 0x3c4(r29) -lbl_80136FC0: -/* 80136FC0 00133F20 BB 41 00 68 */ lmw r26, 0x68(r1) -/* 80136FC4 00133F24 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80136FC8 00133F28 C0 22 9A 38 */ lfs f1, lbl_805AB758@sda21(r2) -/* 80136FCC 00133F2C 7C 08 03 A6 */ mtlr r0 -/* 80136FD0 00133F30 38 21 00 80 */ addi r1, r1, 0x80 -/* 80136FD4 00133F34 4E 80 00 20 */ blr - -.global ApplyLocomotionPhysics__21CBSNewFlyerLocomotionFfR15CBodyController -ApplyLocomotionPhysics__21CBSNewFlyerLocomotionFfR15CBodyController: -/* 80136FD8 00133F38 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80136FDC 00133F3C 7C 08 02 A6 */ mflr r0 -/* 80136FE0 00133F40 90 01 00 34 */ stw r0, 0x34(r1) -/* 80136FE4 00133F44 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80136FE8 00133F48 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80136FEC 00133F4C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80136FF0 00133F50 7C 9F 23 78 */ mr r31, r4 -/* 80136FF4 00133F54 FF E0 08 90 */ fmr f31, f1 -/* 80136FF8 00133F58 80 84 00 00 */ lwz r4, 0(r4) -/* 80136FFC 00133F5C 38 61 00 08 */ addi r3, r1, 8 -/* 80137000 00133F60 4B F7 56 E5 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80137004 00133F64 80 03 00 04 */ lwz r0, 4(r3) -/* 80137008 00133F68 28 00 00 00 */ cmplwi r0, 0 -/* 8013700C 00133F6C 41 82 00 14 */ beq lbl_80137020 -/* 80137010 00133F70 FC 20 F8 90 */ fmr f1, f31 -/* 80137014 00133F74 7F E3 FB 78 */ mr r3, r31 -/* 80137018 00133F78 38 9F 00 10 */ addi r4, r31, 0x10 -/* 8013701C 00133F7C 48 00 36 89 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_80137020: -/* 80137020 00133F80 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -/* 80137024 00133F84 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80137028 00133F88 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8013702C 00133F8C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80137030 00133F90 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80137034 00133F94 7C 08 03 A6 */ mtlr r0 -/* 80137038 00133F98 38 21 00 30 */ addi r1, r1, 0x30 -/* 8013703C 00133F9C 4E 80 00 20 */ blr - -.global __ct__21CBSNewFlyerLocomotionFR6CActor -__ct__21CBSNewFlyerLocomotionFR6CActor: -/* 80137040 00133FA0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80137044 00133FA4 7C 08 02 A6 */ mflr r0 -/* 80137048 00133FA8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013704C 00133FAC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80137050 00133FB0 7C 7F 1B 78 */ mr r31, r3 -/* 80137054 00133FB4 48 00 10 D9 */ bl __ct__18CBSBiPedLocomotionFR6CActor -/* 80137058 00133FB8 3C 80 80 3E */ lis r4, lbl_803E153C@ha -/* 8013705C 00133FBC 7F E3 FB 78 */ mr r3, r31 -/* 80137060 00133FC0 38 04 15 3C */ addi r0, r4, lbl_803E153C@l -/* 80137064 00133FC4 90 1F 00 00 */ stw r0, 0(r31) -/* 80137068 00133FC8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013706C 00133FCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80137070 00133FD0 7C 08 03 A6 */ mtlr r0 -/* 80137074 00133FD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80137078 00133FD8 4E 80 00 20 */ blr - -.global __dt__18CBSBiPedLocomotionFv -__dt__18CBSBiPedLocomotionFv: -/* 8013707C 00133FDC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80137080 00133FE0 7C 08 02 A6 */ mflr r0 -/* 80137084 00133FE4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80137088 00133FE8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013708C 00133FEC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80137090 00133FF0 41 82 00 D4 */ beq lbl_80137164 -/* 80137094 00133FF4 3C 60 80 3E */ lis r3, lbl_803E167C@ha -/* 80137098 00133FF8 34 1F 00 08 */ addic. r0, r31, 8 -/* 8013709C 00133FFC 38 03 16 7C */ addi r0, r3, lbl_803E167C@l -/* 801370A0 00134000 90 1F 00 00 */ stw r0, 0(r31) -/* 801370A4 00134004 41 82 00 8C */ beq lbl_80137130 -/* 801370A8 00134008 38 FF 00 0C */ addi r7, r31, 0xc -/* 801370AC 0013400C 38 60 00 00 */ li r3, 0 -/* 801370B0 00134010 48 00 00 6C */ b lbl_8013711C -lbl_801370B4: -/* 801370B4 00134014 28 07 00 00 */ cmplwi r7, 0 -/* 801370B8 00134018 41 82 00 5C */ beq lbl_80137114 -/* 801370BC 0013401C 81 07 00 00 */ lwz r8, 0(r7) -/* 801370C0 00134020 38 A0 00 00 */ li r5, 0 -/* 801370C4 00134024 2C 08 00 00 */ cmpwi r8, 0 -/* 801370C8 00134028 40 81 00 44 */ ble lbl_8013710C -/* 801370CC 0013402C 2C 08 00 08 */ cmpwi r8, 8 -/* 801370D0 00134030 38 C8 FF F8 */ addi r6, r8, -8 -/* 801370D4 00134034 40 81 00 20 */ ble lbl_801370F4 -/* 801370D8 00134038 38 06 00 07 */ addi r0, r6, 7 -/* 801370DC 0013403C 54 00 E8 FE */ srwi r0, r0, 3 -/* 801370E0 00134040 7C 09 03 A6 */ mtctr r0 -/* 801370E4 00134044 2C 06 00 00 */ cmpwi r6, 0 -/* 801370E8 00134048 40 81 00 0C */ ble lbl_801370F4 -lbl_801370EC: -/* 801370EC 0013404C 38 A5 00 08 */ addi r5, r5, 8 -/* 801370F0 00134050 42 00 FF FC */ bdnz lbl_801370EC -lbl_801370F4: -/* 801370F4 00134054 7C 05 40 50 */ subf r0, r5, r8 -/* 801370F8 00134058 7C 09 03 A6 */ mtctr r0 -/* 801370FC 0013405C 7C 05 40 00 */ cmpw r5, r8 -/* 80137100 00134060 40 80 00 0C */ bge lbl_8013710C -lbl_80137104: -/* 80137104 00134064 38 A5 00 01 */ addi r5, r5, 1 -/* 80137108 00134068 42 00 FF FC */ bdnz lbl_80137104 -lbl_8013710C: -/* 8013710C 0013406C 38 00 00 00 */ li r0, 0 -/* 80137110 00134070 90 07 00 00 */ stw r0, 0(r7) -lbl_80137114: -/* 80137114 00134074 38 E7 00 44 */ addi r7, r7, 0x44 -/* 80137118 00134078 38 63 00 01 */ addi r3, r3, 1 -lbl_8013711C: -/* 8013711C 0013407C 80 1F 00 08 */ lwz r0, 8(r31) -/* 80137120 00134080 7C 03 00 00 */ cmpw r3, r0 -/* 80137124 00134084 41 80 FF 90 */ blt lbl_801370B4 -/* 80137128 00134088 38 00 00 00 */ li r0, 0 -/* 8013712C 0013408C 90 1F 00 08 */ stw r0, 8(r31) -lbl_80137130: -/* 80137130 00134090 28 1F 00 00 */ cmplwi r31, 0 -/* 80137134 00134094 41 82 00 20 */ beq lbl_80137154 -/* 80137138 00134098 3C 60 80 3E */ lis r3, lbl_803E16CC@ha -/* 8013713C 0013409C 38 03 16 CC */ addi r0, r3, lbl_803E16CC@l -/* 80137140 001340A0 90 1F 00 00 */ stw r0, 0(r31) -/* 80137144 001340A4 41 82 00 10 */ beq lbl_80137154 -/* 80137148 001340A8 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 8013714C 001340AC 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80137150 001340B0 90 1F 00 00 */ stw r0, 0(r31) -lbl_80137154: -/* 80137154 001340B4 7C 80 07 35 */ extsh. r0, r4 -/* 80137158 001340B8 40 81 00 0C */ ble lbl_80137164 -/* 8013715C 001340BC 7F E3 FB 78 */ mr r3, r31 -/* 80137160 001340C0 48 1D E7 D1 */ bl Free__7CMemoryFPCv -lbl_80137164: -/* 80137164 001340C4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80137168 001340C8 7F E3 FB 78 */ mr r3, r31 -/* 8013716C 001340CC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80137170 001340D0 7C 08 03 A6 */ mtlr r0 -/* 80137174 001340D4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80137178 001340D8 4E 80 00 20 */ blr - -.global ApplyLocomotionPhysics__23CBSWallWalkerLocomotionFfR15CBodyController -ApplyLocomotionPhysics__23CBSWallWalkerLocomotionFfR15CBodyController: -/* 8013717C 001340DC 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80137180 001340E0 7C 08 02 A6 */ mflr r0 -/* 80137184 001340E4 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80137188 001340E8 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8013718C 001340EC F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 80137190 001340F0 DB C1 00 A0 */ stfd f30, 0xa0(r1) -/* 80137194 001340F4 F3 C1 00 A8 */ psq_st f30, 168(r1), 0, qr0 -/* 80137198 001340F8 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8013719C 001340FC 93 C1 00 98 */ stw r30, 0x98(r1) -/* 801371A0 00134100 93 A1 00 94 */ stw r29, 0x94(r1) -/* 801371A4 00134104 7C 9D 23 78 */ mr r29, r4 -/* 801371A8 00134108 FF C0 08 90 */ fmr f30, f1 -/* 801371AC 0013410C 80 84 00 00 */ lwz r4, 0(r4) -/* 801371B0 00134110 38 61 00 0C */ addi r3, r1, 0xc -/* 801371B4 00134114 4B F7 55 31 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 801371B8 00134118 83 E3 00 04 */ lwz r31, 4(r3) -/* 801371BC 0013411C 28 1F 00 00 */ cmplwi r31, 0 -/* 801371C0 00134120 41 82 01 B0 */ beq lbl_80137370 -/* 801371C4 00134124 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 801371C8 00134128 4B FF CC E5 */ bl GetMaxSpeed__14CBodyStateInfoCFv -/* 801371CC 0013412C FF E0 08 90 */ fmr f31, f1 -/* 801371D0 00134130 C0 5D 00 08 */ lfs f2, 8(r29) -/* 801371D4 00134134 C0 3D 00 0C */ lfs f1, 0xc(r29) -/* 801371D8 00134138 3B DD 00 10 */ addi r30, r29, 0x10 -/* 801371DC 0013413C C0 1D 00 04 */ lfs f0, 4(r29) -/* 801371E0 00134140 7F C3 F3 78 */ mr r3, r30 -/* 801371E4 00134144 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 801371E8 00134148 38 81 00 80 */ addi r4, r1, 0x80 -/* 801371EC 0013414C EC 3F 00 72 */ fmuls f1, f31, f1 -/* 801371F0 00134150 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 801371F4 00134154 D0 41 00 84 */ stfs f2, 0x84(r1) -/* 801371F8 00134158 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 801371FC 0013415C D0 21 00 88 */ stfs f1, 0x88(r1) -/* 80137200 00134160 48 1D D4 31 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -/* 80137204 00134164 C0 02 9A 3C */ lfs f0, lbl_805AB75C@sda21(r2) -/* 80137208 00134168 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013720C 0013416C 40 80 00 08 */ bge lbl_80137214 -/* 80137210 00134170 3B C1 00 80 */ addi r30, r1, 0x80 -lbl_80137214: -/* 80137214 00134174 C0 1E 00 00 */ lfs f0, 0(r30) -/* 80137218 00134178 38 61 00 74 */ addi r3, r1, 0x74 -/* 8013721C 0013417C D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80137220 00134180 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80137224 00134184 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80137228 00134188 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8013722C 0013418C D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80137230 00134190 48 1D D4 C9 */ bl CanBeNormalized__9CVector3fCFv -/* 80137234 00134194 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80137238 00134198 41 82 00 3C */ beq lbl_80137274 -/* 8013723C 0013419C C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 80137240 001341A0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80137244 001341A4 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 80137248 001341A8 38 81 00 80 */ addi r4, r1, 0x80 -/* 8013724C 001341AC C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 80137250 001341B0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80137254 001341B4 D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80137258 001341B8 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8013725C 001341BC 48 1D D5 F5 */ bl AsNormalized__9CVector3fCFv -/* 80137260 001341C0 FC 20 F0 90 */ fmr f1, f30 -/* 80137264 001341C4 7F A3 EB 78 */ mr r3, r29 -/* 80137268 001341C8 38 81 00 50 */ addi r4, r1, 0x50 -/* 8013726C 001341CC 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80137270 001341D0 48 00 31 F9 */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff -lbl_80137274: -/* 80137274 001341D4 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 80137278 001341D8 38 61 00 2C */ addi r3, r1, 0x2c -/* 8013727C 001341DC C0 21 00 88 */ lfs f1, 0x88(r1) -/* 80137280 001341E0 38 9F 00 34 */ addi r4, r31, 0x34 -/* 80137284 001341E4 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 80137288 001341E8 EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 8013728C 001341EC EC 3E 00 72 */ fmuls f1, f30, f1 -/* 80137290 001341F0 38 A1 00 68 */ addi r5, r1, 0x68 -/* 80137294 001341F4 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 80137298 001341F8 D0 41 00 6C */ stfs f2, 0x6c(r1) -/* 8013729C 001341FC D0 01 00 68 */ stfs f0, 0x68(r1) -/* 801372A0 00134200 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 801372A4 00134204 48 1D B7 81 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 801372A8 00134208 FC 20 F0 90 */ fmr f1, f30 -/* 801372AC 0013420C 7F E4 FB 78 */ mr r4, r31 -/* 801372B0 00134210 38 61 00 38 */ addi r3, r1, 0x38 -/* 801372B4 00134214 38 A1 00 2C */ addi r5, r1, 0x2c -/* 801372B8 00134218 4B FE 3D 51 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff -/* 801372BC 0013421C C0 5F 00 E8 */ lfs f2, 0xe8(r31) -/* 801372C0 00134220 C0 02 9A 40 */ lfs f0, lbl_805AB760@sda21(r2) -/* 801372C4 00134224 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 801372C8 00134228 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801372CC 0013422C C0 61 00 3C */ lfs f3, 0x3c(r1) -/* 801372D0 00134230 C0 81 00 40 */ lfs f4, 0x40(r1) -/* 801372D4 00134234 40 81 00 2C */ ble lbl_80137300 -/* 801372D8 00134238 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) -/* 801372DC 0013423C 38 61 00 20 */ addi r3, r1, 0x20 -/* 801372E0 00134240 EC 00 10 24 */ fdivs f0, f0, f2 -/* 801372E4 00134244 EC 40 00 72 */ fmuls f2, f0, f1 -/* 801372E8 00134248 EC 20 00 F2 */ fmuls f1, f0, f3 -/* 801372EC 0013424C EC 00 01 32 */ fmuls f0, f0, f4 -/* 801372F0 00134250 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 801372F4 00134254 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 801372F8 00134258 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 801372FC 0013425C 48 00 00 20 */ b lbl_8013731C -lbl_80137300: -/* 80137300 00134260 38 7F 01 38 */ addi r3, r31, 0x138 -/* 80137304 00134264 48 1D D5 B5 */ bl Magnitude__9CVector3fCFv -/* 80137308 00134268 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 8013730C 0013426C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80137310 00134270 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80137314 00134274 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80137318 00134278 D0 01 00 1C */ stfs f0, 0x1c(r1) -lbl_8013731C: -/* 8013731C 0013427C C0 23 00 00 */ lfs f1, 0(r3) -/* 80137320 00134280 C0 02 9A 40 */ lfs f0, lbl_805AB760@sda21(r2) -/* 80137324 00134284 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 80137328 00134288 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8013732C 0013428C C0 03 00 04 */ lfs f0, 4(r3) -/* 80137330 00134290 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80137334 00134294 C0 03 00 08 */ lfs f0, 8(r3) -/* 80137338 00134298 D0 01 00 64 */ stfs f0, 0x64(r1) -/* 8013733C 0013429C 40 81 00 34 */ ble lbl_80137370 -/* 80137340 001342A0 38 61 00 5C */ addi r3, r1, 0x5c -/* 80137344 001342A4 48 1D D5 75 */ bl Magnitude__9CVector3fCFv -/* 80137348 001342A8 EC 21 F8 24 */ fdivs f1, f1, f31 -/* 8013734C 001342AC C0 0D 8B 78 */ lfs f0, lbl_805A7738@sda21(r13) -/* 80137350 001342B0 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80137354 001342B4 D0 21 00 08 */ stfs f1, 8(r1) -/* 80137358 001342B8 40 80 00 0C */ bge lbl_80137364 -/* 8013735C 001342BC 38 6D 8B 78 */ addi r3, r13, lbl_805A7738@sda21 -/* 80137360 001342C0 48 00 00 08 */ b lbl_80137368 -lbl_80137364: -/* 80137364 001342C4 38 61 00 08 */ addi r3, r1, 8 -lbl_80137368: -/* 80137368 001342C8 C0 23 00 00 */ lfs f1, 0(r3) -/* 8013736C 001342CC 48 00 00 08 */ b lbl_80137374 -lbl_80137370: -/* 80137370 001342D0 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -lbl_80137374: -/* 80137374 001342D4 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 80137378 001342D8 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8013737C 001342DC E3 C1 00 A8 */ psq_l f30, 168(r1), 0, qr0 -/* 80137380 001342E0 CB C1 00 A0 */ lfd f30, 0xa0(r1) -/* 80137384 001342E4 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 80137388 001342E8 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8013738C 001342EC 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80137390 001342F0 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 80137394 001342F4 7C 08 03 A6 */ mtlr r0 -/* 80137398 001342F8 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8013739C 001342FC 4E 80 00 20 */ blr - -.global __ct__23CBSWallWalkerLocomotionFR6CActor -__ct__23CBSWallWalkerLocomotionFR6CActor: -/* 801373A0 00134300 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801373A4 00134304 7C 08 02 A6 */ mflr r0 -/* 801373A8 00134308 90 01 00 14 */ stw r0, 0x14(r1) -/* 801373AC 0013430C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801373B0 00134310 7C 7F 1B 78 */ mr r31, r3 -/* 801373B4 00134314 48 00 0D 79 */ bl __ct__18CBSBiPedLocomotionFR6CActor -/* 801373B8 00134318 3C 80 80 3E */ lis r4, lbl_803E158C@ha -/* 801373BC 0013431C 7F E3 FB 78 */ mr r3, r31 -/* 801373C0 00134320 38 04 15 8C */ addi r0, r4, lbl_803E158C@l -/* 801373C4 00134324 90 1F 00 00 */ stw r0, 0(r31) -/* 801373C8 00134328 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801373CC 0013432C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801373D0 00134330 7C 08 03 A6 */ mtlr r0 -/* 801373D4 00134334 38 21 00 10 */ addi r1, r1, 0x10 -/* 801373D8 00134338 4E 80 00 20 */ blr - -.global ApplyLocomotionPhysics__18CBSFlyerLocomotionFfR15CBodyController -ApplyLocomotionPhysics__18CBSFlyerLocomotionFfR15CBodyController: -/* 801373DC 0013433C 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 801373E0 00134340 7C 08 02 A6 */ mflr r0 -/* 801373E4 00134344 90 01 00 74 */ stw r0, 0x74(r1) -/* 801373E8 00134348 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 801373EC 0013434C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 801373F0 00134350 DB C1 00 50 */ stfd f30, 0x50(r1) -/* 801373F4 00134354 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 -/* 801373F8 00134358 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 801373FC 0013435C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80137400 00134360 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80137404 00134364 FF C0 08 90 */ fmr f30, f1 -/* 80137408 00134368 7C 7D 1B 78 */ mr r29, r3 -/* 8013740C 0013436C 7C 9E 23 78 */ mr r30, r4 -/* 80137410 00134370 48 00 14 65 */ bl ApplyLocomotionPhysics__13CBSLocomotionFfR15CBodyController -/* 80137414 00134374 FF E0 08 90 */ fmr f31, f1 -/* 80137418 00134378 80 9E 00 00 */ lwz r4, 0(r30) -/* 8013741C 0013437C 38 61 00 08 */ addi r3, r1, 8 -/* 80137420 00134380 4B F7 52 C5 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80137424 00134384 83 E3 00 04 */ lwz r31, 4(r3) -/* 80137428 00134388 28 1F 00 00 */ cmplwi r31, 0 -/* 8013742C 0013438C 41 82 00 9C */ beq lbl_801374C8 -/* 80137430 00134390 C0 3E 00 0C */ lfs f1, 0xc(r30) -/* 80137434 00134394 C0 02 9A 44 */ lfs f0, lbl_805AB764@sda21(r2) -/* 80137438 00134398 FC 20 0A 10 */ fabs f1, f1 -/* 8013743C 0013439C FC 20 08 18 */ frsp f1, f1 -/* 80137440 001343A0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80137444 001343A4 40 81 00 84 */ ble lbl_801374C8 -/* 80137448 001343A8 88 1D 03 CC */ lbz r0, 0x3cc(r29) -/* 8013744C 001343AC 28 00 00 00 */ cmplwi r0, 0 -/* 80137450 001343B0 41 82 00 14 */ beq lbl_80137464 -/* 80137454 001343B4 C0 3E 02 D4 */ lfs f1, 0x2d4(r30) -/* 80137458 001343B8 C0 0D A3 C0 */ lfs f0, lbl_805A8F80@sda21(r13) -/* 8013745C 001343BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80137460 001343C0 40 80 00 68 */ bge lbl_801374C8 -lbl_80137464: -/* 80137464 001343C4 38 7E 02 A4 */ addi r3, r30, 0x2a4 -/* 80137468 001343C8 4B FF CA 45 */ bl GetMaxSpeed__14CBodyStateInfoCFv -/* 8013746C 001343CC C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 80137470 001343D0 7F E4 FB 78 */ mr r4, r31 -/* 80137474 001343D4 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 80137478 001343D8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013747C 001343DC EC 41 00 B2 */ fmuls f2, f1, f2 -/* 80137480 001343E0 38 A1 00 28 */ addi r5, r1, 0x28 -/* 80137484 001343E4 FC 20 F0 90 */ fmr f1, f30 -/* 80137488 001343E8 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8013748C 001343EC EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 80137490 001343F0 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80137494 001343F4 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80137498 001343F8 4B FE 3B 71 */ bl GetMoveToORImpulseWR__13CPhysicsActorCFRC9CVector3ff -/* 8013749C 001343FC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 801374A0 00134400 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 801374A4 00134404 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 801374A8 00134408 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 801374AC 0013440C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 801374B0 00134410 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 801374B4 00134414 4B EE 40 81 */ bl Identity__10CAxisAngleFv -/* 801374B8 00134418 7C 65 1B 78 */ mr r5, r3 -/* 801374BC 0013441C 7F E3 FB 78 */ mr r3, r31 -/* 801374C0 00134420 38 81 00 1C */ addi r4, r1, 0x1c -/* 801374C4 00134424 4B FE 4E D5 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -lbl_801374C8: -/* 801374C8 00134428 FC 20 F8 90 */ fmr f1, f31 -/* 801374CC 0013442C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 801374D0 00134430 CB E1 00 60 */ lfd f31, 0x60(r1) -/* 801374D4 00134434 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 -/* 801374D8 00134438 CB C1 00 50 */ lfd f30, 0x50(r1) -/* 801374DC 0013443C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 801374E0 00134440 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 801374E4 00134444 80 01 00 74 */ lwz r0, 0x74(r1) -/* 801374E8 00134448 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 801374EC 0013444C 7C 08 03 A6 */ mtlr r0 -/* 801374F0 00134450 38 21 00 70 */ addi r1, r1, 0x70 -/* 801374F4 00134454 4E 80 00 20 */ blr - -.global __ct__18CBSFlyerLocomotionFR6CActorb -__ct__18CBSFlyerLocomotionFR6CActorb: -/* 801374F8 00134458 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801374FC 0013445C 7C 08 02 A6 */ mflr r0 -/* 80137500 00134460 90 01 00 14 */ stw r0, 0x14(r1) -/* 80137504 00134464 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80137508 00134468 7C BF 2B 78 */ mr r31, r5 -/* 8013750C 0013446C 93 C1 00 08 */ stw r30, 8(r1) -/* 80137510 00134470 7C 7E 1B 78 */ mr r30, r3 -/* 80137514 00134474 48 00 0C 19 */ bl __ct__18CBSBiPedLocomotionFR6CActor -/* 80137518 00134478 3C 80 80 3E */ lis r4, lbl_803E15DC@ha -/* 8013751C 0013447C 7F C3 F3 78 */ mr r3, r30 -/* 80137520 00134480 38 04 15 DC */ addi r0, r4, lbl_803E15DC@l -/* 80137524 00134484 90 1E 00 00 */ stw r0, 0(r30) -/* 80137528 00134488 9B FE 03 CC */ stb r31, 0x3cc(r30) -/* 8013752C 0013448C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80137530 00134490 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80137534 00134494 83 C1 00 08 */ lwz r30, 8(r1) -/* 80137538 00134498 7C 08 03 A6 */ mtlr r0 -/* 8013753C 0013449C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80137540 001344A0 4E 80 00 20 */ blr - -.global UpdateLocomotionAnimation__23CBSRestrictedLocomotionFffR15CBodyControllerb -UpdateLocomotionAnimation__23CBSRestrictedLocomotionFffR15CBodyControllerb: -/* 80137544 001344A4 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80137548 001344A8 7C 08 02 A6 */ mflr r0 -/* 8013754C 001344AC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80137550 001344B0 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80137554 001344B4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80137558 001344B8 7C 7F 1B 78 */ mr r31, r3 -/* 8013755C 001344BC 41 82 00 0C */ beq lbl_80137568 -/* 80137560 001344C0 38 00 FF FF */ li r0, -1 -/* 80137564 001344C4 48 00 00 08 */ b lbl_8013756C -lbl_80137568: -/* 80137568 001344C8 80 1F 00 44 */ lwz r0, 0x44(r31) -lbl_8013756C: -/* 8013756C 001344CC 2C 00 00 00 */ cmpwi r0, 0 -/* 80137570 001344D0 41 82 00 74 */ beq lbl_801375E4 -/* 80137574 001344D4 80 7F 00 04 */ lwz r3, 4(r31) -/* 80137578 001344D8 80 04 02 F8 */ lwz r0, 0x2f8(r4) -/* 8013757C 001344DC 54 63 10 3A */ slwi r3, r3, 2 -/* 80137580 001344E0 7C 7F 1A 14 */ add r3, r31, r3 -/* 80137584 001344E4 80 63 00 0C */ lwz r3, 0xc(r3) -/* 80137588 001344E8 7C 03 00 00 */ cmpw r3, r0 -/* 8013758C 001344EC 41 82 00 50 */ beq lbl_801375DC -/* 80137590 001344F0 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) -/* 80137594 001344F4 38 00 00 00 */ li r0, 0 -/* 80137598 001344F8 38 C0 FF FF */ li r6, -1 -/* 8013759C 001344FC 38 E0 00 01 */ li r7, 1 -/* 801375A0 00134500 90 61 00 08 */ stw r3, 8(r1) -/* 801375A4 00134504 7C 83 23 78 */ mr r3, r4 -/* 801375A8 00134508 38 81 00 08 */ addi r4, r1, 8 -/* 801375AC 0013450C 38 A0 00 01 */ li r5, 1 -/* 801375B0 00134510 90 C1 00 0C */ stw r6, 0xc(r1) -/* 801375B4 00134514 38 C0 00 00 */ li r6, 0 -/* 801375B8 00134518 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 801375BC 0013451C 98 E1 00 14 */ stb r7, 0x14(r1) -/* 801375C0 00134520 90 01 00 18 */ stw r0, 0x18(r1) -/* 801375C4 00134524 90 01 00 1C */ stw r0, 0x1c(r1) -/* 801375C8 00134528 98 01 00 20 */ stb r0, 0x20(r1) -/* 801375CC 0013452C 90 01 00 24 */ stw r0, 0x24(r1) -/* 801375D0 00134530 90 01 00 28 */ stw r0, 0x28(r1) -/* 801375D4 00134534 90 01 00 2C */ stw r0, 0x2c(r1) -/* 801375D8 00134538 48 00 33 45 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -lbl_801375DC: -/* 801375DC 0013453C 38 00 00 00 */ li r0, 0 -/* 801375E0 00134540 90 1F 00 44 */ stw r0, 0x44(r31) -lbl_801375E4: -/* 801375E4 00134544 80 01 00 44 */ lwz r0, 0x44(r1) -/* 801375E8 00134548 C0 22 9A 38 */ lfs f1, lbl_805AB758@sda21(r2) -/* 801375EC 0013454C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 801375F0 00134550 7C 08 03 A6 */ mtlr r0 -/* 801375F4 00134554 38 21 00 40 */ addi r1, r1, 0x40 -/* 801375F8 00134558 4E 80 00 20 */ blr - -.global __ct__23CBSRestrictedLocomotionFR6CActor -__ct__23CBSRestrictedLocomotionFR6CActor: -/* 801375FC 0013455C 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 80137600 00134560 7C 08 02 A6 */ mflr r0 -/* 80137604 00134564 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80137608 00134568 BF 21 00 A4 */ stmw r25, 0xa4(r1) -/* 8013760C 0013456C 7C 7F 1B 78 */ mr r31, r3 -/* 80137610 00134570 7C 9B 23 78 */ mr r27, r4 -/* 80137614 00134574 48 00 16 1D */ bl __ct__13CBSLocomotionFv -/* 80137618 00134578 3C 80 80 3E */ lis r4, lbl_803E1630@ha -/* 8013761C 0013457C 38 60 00 0E */ li r3, 0xe -/* 80137620 00134580 38 84 16 30 */ addi r4, r4, lbl_803E1630@l -/* 80137624 00134584 38 00 00 02 */ li r0, 2 -/* 80137628 00134588 90 9F 00 00 */ stw r4, 0(r31) -/* 8013762C 0013458C 38 BF 00 0C */ addi r5, r31, 0xc -/* 80137630 00134590 38 80 00 00 */ li r4, 0 -/* 80137634 00134594 90 7F 00 08 */ stw r3, 8(r31) -/* 80137638 00134598 7C 09 03 A6 */ mtctr r0 -lbl_8013763C: -/* 8013763C 0013459C 28 05 00 00 */ cmplwi r5, 0 -/* 80137640 001345A0 41 82 00 0C */ beq lbl_8013764C -/* 80137644 001345A4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) -/* 80137648 001345A8 90 05 00 00 */ stw r0, 0(r5) -lbl_8013764C: -/* 8013764C 001345AC 34 A5 00 04 */ addic. r5, r5, 4 -/* 80137650 001345B0 41 82 00 0C */ beq lbl_8013765C -/* 80137654 001345B4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) -/* 80137658 001345B8 90 05 00 00 */ stw r0, 0(r5) -lbl_8013765C: -/* 8013765C 001345BC 34 A5 00 04 */ addic. r5, r5, 4 -/* 80137660 001345C0 41 82 00 0C */ beq lbl_8013766C -/* 80137664 001345C4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) -/* 80137668 001345C8 90 05 00 00 */ stw r0, 0(r5) -lbl_8013766C: -/* 8013766C 001345CC 34 A5 00 04 */ addic. r5, r5, 4 -/* 80137670 001345D0 41 82 00 0C */ beq lbl_8013767C -/* 80137674 001345D4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) -/* 80137678 001345D8 90 05 00 00 */ stw r0, 0(r5) -lbl_8013767C: -/* 8013767C 001345DC 34 A5 00 04 */ addic. r5, r5, 4 -/* 80137680 001345E0 41 82 00 0C */ beq lbl_8013768C -/* 80137684 001345E4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) -/* 80137688 001345E8 90 05 00 00 */ stw r0, 0(r5) -lbl_8013768C: -/* 8013768C 001345EC 34 A5 00 04 */ addic. r5, r5, 4 -/* 80137690 001345F0 41 82 00 0C */ beq lbl_8013769C -/* 80137694 001345F4 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) -/* 80137698 001345F8 90 05 00 00 */ stw r0, 0(r5) -lbl_8013769C: -/* 8013769C 001345FC 34 A5 00 04 */ addic. r5, r5, 4 -/* 801376A0 00134600 41 82 00 0C */ beq lbl_801376AC -/* 801376A4 00134604 80 0D 8B 74 */ lwz r0, lbl_805A7734@sda21(r13) -/* 801376A8 00134608 90 05 00 00 */ stw r0, 0(r5) -lbl_801376AC: -/* 801376AC 0013460C 38 84 00 06 */ addi r4, r4, 6 -/* 801376B0 00134610 38 A5 00 04 */ addi r5, r5, 4 -/* 801376B4 00134614 42 00 FF 88 */ bdnz lbl_8013763C -/* 801376B8 00134618 38 00 FF FF */ li r0, -1 -/* 801376BC 0013461C 3B 41 00 5C */ addi r26, r1, 0x5c -/* 801376C0 00134620 90 1F 00 44 */ stw r0, 0x44(r31) -/* 801376C4 00134624 3B 81 00 20 */ addi r28, r1, 0x20 -/* 801376C8 00134628 3B A1 00 18 */ addi r29, r1, 0x18 -/* 801376CC 0013462C 3B 20 00 00 */ li r25, 0 -/* 801376D0 00134630 80 7B 00 64 */ lwz r3, 0x64(r27) -/* 801376D4 00134634 3B C0 00 00 */ li r30, 0 -/* 801376D8 00134638 80 63 00 10 */ lwz r3, 0x10(r3) -/* 801376DC 0013463C 3B 63 00 3C */ addi r27, r3, 0x3c -lbl_801376E0: -/* 801376E0 00134640 38 61 00 18 */ addi r3, r1, 0x18 -/* 801376E4 00134644 48 1A B9 99 */ bl NoParameter__12CPASAnimParmFv -/* 801376E8 00134648 38 61 00 20 */ addi r3, r1, 0x20 -/* 801376EC 0013464C 48 1A B9 91 */ bl NoParameter__12CPASAnimParmFv -/* 801376F0 00134650 38 61 00 28 */ addi r3, r1, 0x28 -/* 801376F4 00134654 48 1A B9 89 */ bl NoParameter__12CPASAnimParmFv -/* 801376F8 00134658 38 61 00 30 */ addi r3, r1, 0x30 -/* 801376FC 0013465C 48 1A B9 81 */ bl NoParameter__12CPASAnimParmFv -/* 80137700 00134660 38 61 00 38 */ addi r3, r1, 0x38 -/* 80137704 00134664 48 1A B9 79 */ bl NoParameter__12CPASAnimParmFv -/* 80137708 00134668 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013770C 0013466C 48 1A B9 71 */ bl NoParameter__12CPASAnimParmFv -/* 80137710 00134670 7F 24 CB 78 */ mr r4, r25 -/* 80137714 00134674 38 61 00 48 */ addi r3, r1, 0x48 -/* 80137718 00134678 48 1A B8 6D */ bl FromEnum__12CPASAnimParmFi -/* 8013771C 0013467C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80137720 00134680 38 80 00 00 */ li r4, 0 -/* 80137724 00134684 48 1A B8 61 */ bl FromEnum__12CPASAnimParmFi -/* 80137728 00134688 93 81 00 08 */ stw r28, 8(r1) -/* 8013772C 0013468C 38 61 00 58 */ addi r3, r1, 0x58 -/* 80137730 00134690 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80137734 00134694 38 C1 00 48 */ addi r6, r1, 0x48 -/* 80137738 00134698 93 A1 00 0C */ stw r29, 0xc(r1) -/* 8013773C 0013469C 38 E1 00 40 */ addi r7, r1, 0x40 -/* 80137740 001346A0 39 01 00 38 */ addi r8, r1, 0x38 -/* 80137744 001346A4 39 21 00 30 */ addi r9, r1, 0x30 -/* 80137748 001346A8 39 41 00 28 */ addi r10, r1, 0x28 -/* 8013774C 001346AC 38 80 00 05 */ li r4, 5 -/* 80137750 001346B0 4B F4 5B 75 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80137754 001346B4 7F 64 DB 78 */ mr r4, r27 -/* 80137758 001346B8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013775C 001346BC 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80137760 001346C0 38 C0 FF FF */ li r6, -1 -/* 80137764 001346C4 48 1A DA 09 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai -/* 80137768 001346C8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013776C 001346CC 7C 7F F2 14 */ add r3, r31, r30 -/* 80137770 001346D0 28 1A 00 00 */ cmplwi r26, 0 -/* 80137774 001346D4 90 03 00 0C */ stw r0, 0xc(r3) -/* 80137778 001346D8 41 82 00 5C */ beq lbl_801377D4 -/* 8013777C 001346DC 80 A1 00 5C */ lwz r5, 0x5c(r1) -/* 80137780 001346E0 38 60 00 00 */ li r3, 0 -/* 80137784 001346E4 2C 05 00 00 */ cmpwi r5, 0 -/* 80137788 001346E8 40 81 00 44 */ ble lbl_801377CC -/* 8013778C 001346EC 2C 05 00 08 */ cmpwi r5, 8 -/* 80137790 001346F0 38 85 FF F8 */ addi r4, r5, -8 -/* 80137794 001346F4 40 81 00 20 */ ble lbl_801377B4 -/* 80137798 001346F8 38 04 00 07 */ addi r0, r4, 7 -/* 8013779C 001346FC 54 00 E8 FE */ srwi r0, r0, 3 -/* 801377A0 00134700 7C 09 03 A6 */ mtctr r0 -/* 801377A4 00134704 2C 04 00 00 */ cmpwi r4, 0 -/* 801377A8 00134708 40 81 00 0C */ ble lbl_801377B4 -lbl_801377AC: -/* 801377AC 0013470C 38 63 00 08 */ addi r3, r3, 8 -/* 801377B0 00134710 42 00 FF FC */ bdnz lbl_801377AC -lbl_801377B4: -/* 801377B4 00134714 7C 03 28 50 */ subf r0, r3, r5 -/* 801377B8 00134718 7C 09 03 A6 */ mtctr r0 -/* 801377BC 0013471C 7C 03 28 00 */ cmpw r3, r5 -/* 801377C0 00134720 40 80 00 0C */ bge lbl_801377CC -lbl_801377C4: -/* 801377C4 00134724 38 63 00 01 */ addi r3, r3, 1 -/* 801377C8 00134728 42 00 FF FC */ bdnz lbl_801377C4 -lbl_801377CC: -/* 801377CC 0013472C 38 00 00 00 */ li r0, 0 -/* 801377D0 00134730 90 01 00 5C */ stw r0, 0x5c(r1) -lbl_801377D4: -/* 801377D4 00134734 3B 39 00 01 */ addi r25, r25, 1 -/* 801377D8 00134738 3B DE 00 04 */ addi r30, r30, 4 -/* 801377DC 0013473C 2C 19 00 0E */ cmpwi r25, 0xe -/* 801377E0 00134740 41 80 FF 00 */ blt lbl_801376E0 -/* 801377E4 00134744 7F E3 FB 78 */ mr r3, r31 -/* 801377E8 00134748 BB 21 00 A4 */ lmw r25, 0xa4(r1) -/* 801377EC 0013474C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 801377F0 00134750 7C 08 03 A6 */ mtlr r0 -/* 801377F4 00134754 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 801377F8 00134758 4E 80 00 20 */ blr - -.global __dt__13CBSLocomotionFv -__dt__13CBSLocomotionFv: -/* 801377FC 0013475C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80137800 00134760 7C 08 02 A6 */ mflr r0 -/* 80137804 00134764 90 01 00 14 */ stw r0, 0x14(r1) -/* 80137808 00134768 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013780C 0013476C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80137810 00134770 41 82 00 30 */ beq lbl_80137840 -/* 80137814 00134774 3C 60 80 3E */ lis r3, lbl_803E16CC@ha -/* 80137818 00134778 38 03 16 CC */ addi r0, r3, lbl_803E16CC@l -/* 8013781C 0013477C 90 1F 00 00 */ stw r0, 0(r31) -/* 80137820 00134780 41 82 00 10 */ beq lbl_80137830 -/* 80137824 00134784 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80137828 00134788 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 8013782C 0013478C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80137830: -/* 80137830 00134790 7C 80 07 35 */ extsh. r0, r4 -/* 80137834 00134794 40 81 00 0C */ ble lbl_80137840 -/* 80137838 00134798 7F E3 FB 78 */ mr r3, r31 -/* 8013783C 0013479C 48 1D E0 F5 */ bl Free__7CMemoryFPCv -lbl_80137840: -/* 80137840 001347A0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80137844 001347A4 7F E3 FB 78 */ mr r3, r31 -/* 80137848 001347A8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013784C 001347AC 7C 08 03 A6 */ mtlr r0 -/* 80137850 001347B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80137854 001347B4 4E 80 00 20 */ blr - -.global UpdateRun__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim -UpdateRun__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim: -/* 80137858 001347B8 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8013785C 001347BC 7C 08 02 A6 */ mflr r0 -/* 80137860 001347C0 90 01 00 94 */ stw r0, 0x94(r1) -/* 80137864 001347C4 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80137868 001347C8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8013786C 001347CC BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 80137870 001347D0 7C 7E 1B 78 */ mr r30, r3 -/* 80137874 001347D4 FF E0 08 90 */ fmr f31, f1 -/* 80137878 001347D8 7C 9F 23 78 */ mr r31, r4 -/* 8013787C 001347DC 80 83 00 04 */ lwz r4, 4(r3) -/* 80137880 001347E0 7C BB 2B 78 */ mr r27, r5 -/* 80137884 001347E4 38 A0 00 01 */ li r5, 1 -/* 80137888 001347E8 48 00 05 C1 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 8013788C 001347EC 80 9E 00 04 */ lwz r4, 4(r30) -/* 80137890 001347F0 7C 7D 1B 78 */ mr r29, r3 -/* 80137894 001347F4 7F C3 F3 78 */ mr r3, r30 -/* 80137898 001347F8 38 A0 00 02 */ li r5, 2 -/* 8013789C 001347FC 48 00 05 AD */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 801378A0 00134800 FC 20 F8 90 */ fmr f1, f31 -/* 801378A4 00134804 7C 7C 1B 78 */ mr r28, r3 -/* 801378A8 00134808 7F C3 F3 78 */ mr r3, r30 -/* 801378AC 0013480C 7F A4 EB 78 */ mr r4, r29 -/* 801378B0 00134810 7F 85 E3 78 */ mr r5, r28 -/* 801378B4 00134814 48 00 0E 4D */ bl "ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf" -/* 801378B8 00134818 C0 02 9A 48 */ lfs f0, lbl_805AB768@sda21(r2) -/* 801378BC 0013481C 80 7D 00 00 */ lwz r3, 0(r29) -/* 801378C0 00134820 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801378C4 00134824 80 9C 00 00 */ lwz r4, 0(r28) -/* 801378C8 00134828 40 80 00 A0 */ bge lbl_80137968 -/* 801378CC 0013482C C0 3D 00 04 */ lfs f1, 4(r29) -/* 801378D0 00134830 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 801378D4 00134834 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801378D8 00134838 40 81 00 0C */ ble lbl_801378E4 -/* 801378DC 0013483C EF FF 08 24 */ fdivs f31, f31, f1 -/* 801378E0 00134840 48 00 00 08 */ b lbl_801378E8 -lbl_801378E4: -/* 801378E4 00134844 C3 E2 9A 38 */ lfs f31, lbl_805AB758@sda21(r2) -lbl_801378E8: -/* 801378E8 00134848 2C 1B 00 01 */ cmpwi r27, 1 -/* 801378EC 0013484C 41 82 00 64 */ beq lbl_80137950 -/* 801378F0 00134850 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 801378F4 00134854 7C 03 00 00 */ cmpw r3, r0 -/* 801378F8 00134858 41 82 00 58 */ beq lbl_80137950 -/* 801378FC 0013485C C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) -/* 80137900 00134860 38 00 00 00 */ li r0, 0 -/* 80137904 00134864 38 C0 FF FF */ li r6, -1 -/* 80137908 00134868 38 E0 00 01 */ li r7, 1 -/* 8013790C 0013486C 90 61 00 34 */ stw r3, 0x34(r1) -/* 80137910 00134870 7F E3 FB 78 */ mr r3, r31 -/* 80137914 00134874 38 81 00 34 */ addi r4, r1, 0x34 -/* 80137918 00134878 38 A0 00 01 */ li r5, 1 -/* 8013791C 0013487C 90 C1 00 38 */ stw r6, 0x38(r1) -/* 80137920 00134880 38 C0 00 00 */ li r6, 0 -/* 80137924 00134884 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80137928 00134888 98 E1 00 40 */ stb r7, 0x40(r1) -/* 8013792C 0013488C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80137930 00134890 90 01 00 48 */ stw r0, 0x48(r1) -/* 80137934 00134894 98 01 00 4C */ stb r0, 0x4c(r1) -/* 80137938 00134898 90 01 00 50 */ stw r0, 0x50(r1) -/* 8013793C 0013489C 90 01 00 54 */ stw r0, 0x54(r1) -/* 80137940 001348A0 90 01 00 58 */ stw r0, 0x58(r1) -/* 80137944 001348A4 48 00 2F D9 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80137948 001348A8 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 8013794C 001348AC D0 1E 03 C8 */ stfs f0, 0x3c8(r30) -lbl_80137950: -/* 80137950 001348B0 FC 20 F8 90 */ fmr f1, f31 -/* 80137954 001348B4 7F E3 FB 78 */ mr r3, r31 -/* 80137958 001348B8 48 00 2F 09 */ bl MultiplyPlaybackRate__15CBodyControllerFf -/* 8013795C 001348BC 38 00 00 01 */ li r0, 1 -/* 80137960 001348C0 90 1E 03 C4 */ stw r0, 0x3c4(r30) -/* 80137964 001348C4 48 00 00 A8 */ b lbl_80137A0C -lbl_80137968: -/* 80137968 001348C8 C0 3C 00 04 */ lfs f1, 4(r28) -/* 8013796C 001348CC C0 0D 8B 70 */ lfs f0, lbl_805A7730@sda21(r13) -/* 80137970 001348D0 EC 3F 08 24 */ fdivs f1, f31, f1 -/* 80137974 001348D4 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 80137978 001348D8 D0 21 00 08 */ stfs f1, 8(r1) -/* 8013797C 001348DC 40 80 00 0C */ bge lbl_80137988 -/* 80137980 001348E0 38 6D 8B 70 */ addi r3, r13, lbl_805A7730@sda21 -/* 80137984 001348E4 48 00 00 08 */ b lbl_8013798C -lbl_80137988: -/* 80137988 001348E8 38 61 00 08 */ addi r3, r1, 8 -lbl_8013798C: -/* 8013798C 001348EC 2C 1B 00 02 */ cmpwi r27, 2 -/* 80137990 001348F0 C3 E3 00 00 */ lfs f31, 0(r3) -/* 80137994 001348F4 41 82 00 64 */ beq lbl_801379F8 -/* 80137998 001348F8 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 8013799C 001348FC 7C 04 00 00 */ cmpw r4, r0 -/* 801379A0 00134900 41 82 00 58 */ beq lbl_801379F8 -/* 801379A4 00134904 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) -/* 801379A8 00134908 38 00 00 00 */ li r0, 0 -/* 801379AC 0013490C 38 C0 FF FF */ li r6, -1 -/* 801379B0 00134910 38 E0 00 01 */ li r7, 1 -/* 801379B4 00134914 90 81 00 0C */ stw r4, 0xc(r1) -/* 801379B8 00134918 7F E3 FB 78 */ mr r3, r31 -/* 801379BC 0013491C 38 81 00 0C */ addi r4, r1, 0xc -/* 801379C0 00134920 38 A0 00 01 */ li r5, 1 -/* 801379C4 00134924 90 C1 00 10 */ stw r6, 0x10(r1) -/* 801379C8 00134928 38 C0 00 00 */ li r6, 0 -/* 801379CC 0013492C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 801379D0 00134930 98 E1 00 18 */ stb r7, 0x18(r1) -/* 801379D4 00134934 90 01 00 1C */ stw r0, 0x1c(r1) -/* 801379D8 00134938 90 01 00 20 */ stw r0, 0x20(r1) -/* 801379DC 0013493C 98 01 00 24 */ stb r0, 0x24(r1) -/* 801379E0 00134940 90 01 00 28 */ stw r0, 0x28(r1) -/* 801379E4 00134944 90 01 00 2C */ stw r0, 0x2c(r1) -/* 801379E8 00134948 90 01 00 30 */ stw r0, 0x30(r1) -/* 801379EC 0013494C 48 00 2F 31 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 801379F0 00134950 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 801379F4 00134954 D0 1E 03 C8 */ stfs f0, 0x3c8(r30) -lbl_801379F8: -/* 801379F8 00134958 FC 20 F8 90 */ fmr f1, f31 -/* 801379FC 0013495C 7F E3 FB 78 */ mr r3, r31 -/* 80137A00 00134960 48 00 2E 61 */ bl MultiplyPlaybackRate__15CBodyControllerFf -/* 80137A04 00134964 38 00 00 02 */ li r0, 2 -/* 80137A08 00134968 90 1E 03 C4 */ stw r0, 0x3c4(r30) -lbl_80137A0C: -/* 80137A0C 0013496C FC 20 F8 90 */ fmr f1, f31 -/* 80137A10 00134970 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 80137A14 00134974 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 80137A18 00134978 BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 80137A1C 0013497C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 80137A20 00134980 7C 08 03 A6 */ mtlr r0 -/* 80137A24 00134984 38 21 00 90 */ addi r1, r1, 0x90 -/* 80137A28 00134988 4E 80 00 20 */ blr - -.global UpdateWalk__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim -UpdateWalk__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim: -/* 80137A2C 0013498C 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80137A30 00134990 7C 08 02 A6 */ mflr r0 -/* 80137A34 00134994 90 01 00 64 */ stw r0, 0x64(r1) -/* 80137A38 00134998 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80137A3C 0013499C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80137A40 001349A0 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80137A44 001349A4 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80137A48 001349A8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80137A4C 001349AC FF E0 08 90 */ fmr f31, f1 -/* 80137A50 001349B0 2C 05 00 01 */ cmpwi r5, 1 -/* 80137A54 001349B4 7C 7D 1B 78 */ mr r29, r3 -/* 80137A58 001349B8 7C 9E 23 78 */ mr r30, r4 -/* 80137A5C 001349BC 41 82 00 7C */ beq lbl_80137AD8 -/* 80137A60 001349C0 80 9D 00 04 */ lwz r4, 4(r29) -/* 80137A64 001349C4 38 A0 00 01 */ li r5, 1 -/* 80137A68 001349C8 48 00 03 E1 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80137A6C 001349CC 80 63 00 00 */ lwz r3, 0(r3) -/* 80137A70 001349D0 80 1E 02 F8 */ lwz r0, 0x2f8(r30) -/* 80137A74 001349D4 7C 03 00 00 */ cmpw r3, r0 -/* 80137A78 001349D8 41 82 00 58 */ beq lbl_80137AD0 -/* 80137A7C 001349DC C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) -/* 80137A80 001349E0 38 00 00 00 */ li r0, 0 -/* 80137A84 001349E4 38 C0 FF FF */ li r6, -1 -/* 80137A88 001349E8 38 E0 00 01 */ li r7, 1 -/* 80137A8C 001349EC 90 61 00 0C */ stw r3, 0xc(r1) -/* 80137A90 001349F0 7F C3 F3 78 */ mr r3, r30 -/* 80137A94 001349F4 38 81 00 0C */ addi r4, r1, 0xc -/* 80137A98 001349F8 38 A0 00 01 */ li r5, 1 -/* 80137A9C 001349FC 90 C1 00 10 */ stw r6, 0x10(r1) -/* 80137AA0 00134A00 38 C0 00 00 */ li r6, 0 -/* 80137AA4 00134A04 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80137AA8 00134A08 98 E1 00 18 */ stb r7, 0x18(r1) -/* 80137AAC 00134A0C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80137AB0 00134A10 90 01 00 20 */ stw r0, 0x20(r1) -/* 80137AB4 00134A14 98 01 00 24 */ stb r0, 0x24(r1) -/* 80137AB8 00134A18 90 01 00 28 */ stw r0, 0x28(r1) -/* 80137ABC 00134A1C 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80137AC0 00134A20 90 01 00 30 */ stw r0, 0x30(r1) -/* 80137AC4 00134A24 48 00 2E 59 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80137AC8 00134A28 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 80137ACC 00134A2C D0 1D 03 C8 */ stfs f0, 0x3c8(r29) -lbl_80137AD0: -/* 80137AD0 00134A30 38 00 00 01 */ li r0, 1 -/* 80137AD4 00134A34 90 1D 03 C4 */ stw r0, 0x3c4(r29) -lbl_80137AD8: -/* 80137AD8 00134A38 80 9D 00 04 */ lwz r4, 4(r29) -/* 80137ADC 00134A3C 7F A3 EB 78 */ mr r3, r29 -/* 80137AE0 00134A40 38 A0 00 00 */ li r5, 0 -/* 80137AE4 00134A44 48 00 03 65 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80137AE8 00134A48 80 9D 00 04 */ lwz r4, 4(r29) -/* 80137AEC 00134A4C 7C 7F 1B 78 */ mr r31, r3 -/* 80137AF0 00134A50 7F A3 EB 78 */ mr r3, r29 -/* 80137AF4 00134A54 38 A0 00 01 */ li r5, 1 -/* 80137AF8 00134A58 48 00 03 51 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80137AFC 00134A5C FC 20 F8 90 */ fmr f1, f31 -/* 80137B00 00134A60 7C 65 1B 78 */ mr r5, r3 -/* 80137B04 00134A64 7F A3 EB 78 */ mr r3, r29 -/* 80137B08 00134A68 7F E4 FB 78 */ mr r4, r31 -/* 80137B0C 00134A6C 48 00 0B F5 */ bl "ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf" -/* 80137B10 00134A70 FC 00 08 18 */ frsp f0, f1 -/* 80137B14 00134A74 C0 42 9A 30 */ lfs f2, lbl_805AB750@sda21(r2) -/* 80137B18 00134A78 D0 21 00 08 */ stfs f1, 8(r1) -/* 80137B1C 00134A7C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80137B20 00134A80 40 80 00 0C */ bge lbl_80137B2C -/* 80137B24 00134A84 38 61 00 08 */ addi r3, r1, 8 -/* 80137B28 00134A88 48 00 00 08 */ b lbl_80137B30 -lbl_80137B2C: -/* 80137B2C 00134A8C 38 62 9A 30 */ addi r3, r2, lbl_805AB750@sda21 -lbl_80137B30: -/* 80137B30 00134A90 C3 E3 00 00 */ lfs f31, 0(r3) -/* 80137B34 00134A94 7F C3 F3 78 */ mr r3, r30 -/* 80137B38 00134A98 FC 20 F8 90 */ fmr f1, f31 -/* 80137B3C 00134A9C 48 00 2D 25 */ bl MultiplyPlaybackRate__15CBodyControllerFf -/* 80137B40 00134AA0 FC 20 F8 90 */ fmr f1, f31 -/* 80137B44 00134AA4 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80137B48 00134AA8 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80137B4C 00134AAC CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80137B50 00134AB0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80137B54 00134AB4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80137B58 00134AB8 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80137B5C 00134ABC 7C 08 03 A6 */ mtlr r0 -/* 80137B60 00134AC0 38 21 00 60 */ addi r1, r1, 0x60 -/* 80137B64 00134AC4 4E 80 00 20 */ blr - -.global UpdateStrafe__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim -UpdateStrafe__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim: -/* 80137B68 00134AC8 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80137B6C 00134ACC 7C 08 02 A6 */ mflr r0 -/* 80137B70 00134AD0 90 01 00 84 */ stw r0, 0x84(r1) -/* 80137B74 00134AD4 DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80137B78 00134AD8 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80137B7C 00134ADC 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80137B80 00134AE0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80137B84 00134AE4 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80137B88 00134AE8 93 81 00 60 */ stw r28, 0x60(r1) -/* 80137B8C 00134AEC 7C 9F 23 78 */ mr r31, r4 -/* 80137B90 00134AF0 FF E0 08 90 */ fmr f31, f1 -/* 80137B94 00134AF4 80 84 00 00 */ lwz r4, 0(r4) -/* 80137B98 00134AF8 7C 7E 1B 78 */ mr r30, r3 -/* 80137B9C 00134AFC 7C BC 2B 78 */ mr r28, r5 -/* 80137BA0 00134B00 38 61 00 0C */ addi r3, r1, 0xc -/* 80137BA4 00134B04 4B F7 4B 41 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80137BA8 00134B08 80 83 00 04 */ lwz r4, 4(r3) -/* 80137BAC 00134B0C 28 04 00 00 */ cmplwi r4, 0 -/* 80137BB0 00134B10 41 82 01 F8 */ beq lbl_80137DA8 -/* 80137BB4 00134B14 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80137BB8 00134B18 38 61 00 14 */ addi r3, r1, 0x14 -/* 80137BBC 00134B1C 38 84 00 34 */ addi r4, r4, 0x34 -/* 80137BC0 00134B20 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80137BC4 00134B24 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80137BC8 00134B28 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80137BCC 00134B2C D0 01 00 30 */ stfs f0, 0x30(r1) -/* 80137BD0 00134B30 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80137BD4 00134B34 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 80137BD8 00134B38 48 1D AE 4D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80137BDC 00134B3C C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80137BE0 00134B40 38 A0 00 00 */ li r5, 0 -/* 80137BE4 00134B44 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 80137BE8 00134B48 38 61 00 20 */ addi r3, r1, 0x20 -/* 80137BEC 00134B4C C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 80137BF0 00134B50 EC 80 00 32 */ fmuls f4, f0, f0 -/* 80137BF4 00134B54 EC A3 00 F2 */ fmuls f5, f3, f3 -/* 80137BF8 00134B58 54 A0 10 3A */ slwi r0, r5, 2 -/* 80137BFC 00134B5C EC C2 00 B2 */ fmuls f6, f2, f2 -/* 80137C00 00134B60 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80137C04 00134B64 FC 20 20 18 */ frsp f1, f4 -/* 80137C08 00134B68 D0 81 00 20 */ stfs f4, 0x20(r1) -/* 80137C0C 00134B6C D0 A1 00 24 */ stfs f5, 0x24(r1) -/* 80137C10 00134B70 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 80137C14 00134B74 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80137C18 00134B78 D0 61 00 30 */ stfs f3, 0x30(r1) -/* 80137C1C 00134B7C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80137C20 00134B80 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80137C24 00134B84 4C 41 13 82 */ cror 2, 1, 2 -/* 80137C28 00134B88 40 82 00 08 */ bne lbl_80137C30 -/* 80137C2C 00134B8C 38 A0 00 00 */ li r5, 0 -lbl_80137C30: -/* 80137C30 00134B90 54 A0 10 3A */ slwi r0, r5, 2 -/* 80137C34 00134B94 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80137C38 00134B98 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80137C3C 00134B9C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80137C40 00134BA0 4C 41 13 82 */ cror 2, 1, 2 -/* 80137C44 00134BA4 40 82 00 08 */ bne lbl_80137C4C -/* 80137C48 00134BA8 38 A0 00 01 */ li r5, 1 -lbl_80137C4C: -/* 80137C4C 00134BAC 54 A0 10 3A */ slwi r0, r5, 2 -/* 80137C50 00134BB0 C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80137C54 00134BB4 7C 03 04 2E */ lfsx f0, r3, r0 -/* 80137C58 00134BB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80137C5C 00134BBC 4C 41 13 82 */ cror 2, 1, 2 -/* 80137C60 00134BC0 40 82 00 08 */ bne lbl_80137C68 -/* 80137C64 00134BC4 38 A0 00 02 */ li r5, 2 -lbl_80137C68: -/* 80137C68 00134BC8 54 A0 10 3A */ slwi r0, r5, 2 -/* 80137C6C 00134BCC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80137C70 00134BD0 7C 23 04 2E */ lfsx f1, r3, r0 -/* 80137C74 00134BD4 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 80137C78 00134BD8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80137C7C 00134BDC 40 81 00 0C */ ble lbl_80137C88 -/* 80137C80 00134BE0 38 80 00 00 */ li r4, 0 -/* 80137C84 00134BE4 48 00 00 08 */ b lbl_80137C8C -lbl_80137C88: -/* 80137C88 00134BE8 38 80 00 01 */ li r4, 1 -lbl_80137C8C: -/* 80137C8C 00134BEC 7F C3 F3 78 */ mr r3, r30 -/* 80137C90 00134BF0 54 A0 08 3C */ slwi r0, r5, 1 -/* 80137C94 00134BF4 7C 04 02 14 */ add r0, r4, r0 -/* 80137C98 00134BF8 81 9E 00 00 */ lwz r12, 0(r30) -/* 80137C9C 00134BFC 3C A0 80 3E */ lis r5, lbl_803E14C0@ha -/* 80137CA0 00134C00 80 9E 00 04 */ lwz r4, 4(r30) -/* 80137CA4 00134C04 54 00 10 3A */ slwi r0, r0, 2 -/* 80137CA8 00134C08 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80137CAC 00134C0C 38 A5 14 C0 */ addi r5, r5, lbl_803E14C0@l -/* 80137CB0 00134C10 7F A5 00 2E */ lwzx r29, r5, r0 -/* 80137CB4 00134C14 7F A5 EB 78 */ mr r5, r29 -/* 80137CB8 00134C18 7D 89 03 A6 */ mtctr r12 -/* 80137CBC 00134C1C 4E 80 04 21 */ bctrl -/* 80137CC0 00134C20 7C 1C E8 00 */ cmpw r28, r29 -/* 80137CC4 00134C24 EF FF 00 72 */ fmuls f31, f31, f1 -/* 80137CC8 00134C28 41 82 00 7C */ beq lbl_80137D44 -/* 80137CCC 00134C2C 80 9E 00 04 */ lwz r4, 4(r30) -/* 80137CD0 00134C30 7F C3 F3 78 */ mr r3, r30 -/* 80137CD4 00134C34 7F A5 EB 78 */ mr r5, r29 -/* 80137CD8 00134C38 48 00 01 71 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80137CDC 00134C3C 80 63 00 00 */ lwz r3, 0(r3) -/* 80137CE0 00134C40 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80137CE4 00134C44 7C 03 00 00 */ cmpw r3, r0 -/* 80137CE8 00134C48 41 82 00 58 */ beq lbl_80137D40 -/* 80137CEC 00134C4C C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) -/* 80137CF0 00134C50 38 00 00 00 */ li r0, 0 -/* 80137CF4 00134C54 38 C0 FF FF */ li r6, -1 -/* 80137CF8 00134C58 38 E0 00 01 */ li r7, 1 -/* 80137CFC 00134C5C 90 61 00 38 */ stw r3, 0x38(r1) -/* 80137D00 00134C60 7F E3 FB 78 */ mr r3, r31 -/* 80137D04 00134C64 38 81 00 38 */ addi r4, r1, 0x38 -/* 80137D08 00134C68 38 A0 00 01 */ li r5, 1 -/* 80137D0C 00134C6C 90 C1 00 3C */ stw r6, 0x3c(r1) -/* 80137D10 00134C70 38 C0 00 00 */ li r6, 0 -/* 80137D14 00134C74 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80137D18 00134C78 98 E1 00 44 */ stb r7, 0x44(r1) -/* 80137D1C 00134C7C 90 01 00 48 */ stw r0, 0x48(r1) -/* 80137D20 00134C80 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80137D24 00134C84 98 01 00 50 */ stb r0, 0x50(r1) -/* 80137D28 00134C88 90 01 00 54 */ stw r0, 0x54(r1) -/* 80137D2C 00134C8C 90 01 00 58 */ stw r0, 0x58(r1) -/* 80137D30 00134C90 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80137D34 00134C94 48 00 2B E9 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80137D38 00134C98 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 80137D3C 00134C9C D0 1E 03 C8 */ stfs f0, 0x3c8(r30) -lbl_80137D40: -/* 80137D40 00134CA0 93 BE 03 C4 */ stw r29, 0x3c4(r30) -lbl_80137D44: -/* 80137D44 00134CA4 80 9E 00 04 */ lwz r4, 4(r30) -/* 80137D48 00134CA8 7F C3 F3 78 */ mr r3, r30 -/* 80137D4C 00134CAC 38 A0 00 00 */ li r5, 0 -/* 80137D50 00134CB0 48 00 00 F9 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80137D54 00134CB4 80 9E 00 04 */ lwz r4, 4(r30) -/* 80137D58 00134CB8 7C 7C 1B 78 */ mr r28, r3 -/* 80137D5C 00134CBC 7F C3 F3 78 */ mr r3, r30 -/* 80137D60 00134CC0 7F A5 EB 78 */ mr r5, r29 -/* 80137D64 00134CC4 48 00 00 E5 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80137D68 00134CC8 FC 20 F8 90 */ fmr f1, f31 -/* 80137D6C 00134CCC 7C 65 1B 78 */ mr r5, r3 -/* 80137D70 00134CD0 7F C3 F3 78 */ mr r3, r30 -/* 80137D74 00134CD4 7F 84 E3 78 */ mr r4, r28 -/* 80137D78 00134CD8 48 00 09 89 */ bl "ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf" -/* 80137D7C 00134CDC FC 00 08 18 */ frsp f0, f1 -/* 80137D80 00134CE0 C0 42 9A 30 */ lfs f2, lbl_805AB750@sda21(r2) -/* 80137D84 00134CE4 D0 21 00 08 */ stfs f1, 8(r1) -/* 80137D88 00134CE8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80137D8C 00134CEC 40 80 00 0C */ bge lbl_80137D98 -/* 80137D90 00134CF0 38 61 00 08 */ addi r3, r1, 8 -/* 80137D94 00134CF4 48 00 00 08 */ b lbl_80137D9C -lbl_80137D98: -/* 80137D98 00134CF8 38 62 9A 30 */ addi r3, r2, lbl_805AB750@sda21 -lbl_80137D9C: -/* 80137D9C 00134CFC C0 23 00 00 */ lfs f1, 0(r3) -/* 80137DA0 00134D00 7F E3 FB 78 */ mr r3, r31 -/* 80137DA4 00134D04 48 00 2A BD */ bl MultiplyPlaybackRate__15CBodyControllerFf -lbl_80137DA8: -/* 80137DA8 00134D08 C0 22 9A 38 */ lfs f1, lbl_805AB758@sda21(r2) -/* 80137DAC 00134D0C E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 80137DB0 00134D10 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80137DB4 00134D14 CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80137DB8 00134D18 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80137DBC 00134D1C 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80137DC0 00134D20 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80137DC4 00134D24 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80137DC8 00134D28 7C 08 03 A6 */ mtlr r0 -/* 80137DCC 00134D2C 38 21 00 80 */ addi r1, r1, 0x80 -/* 80137DD0 00134D30 4E 80 00 20 */ blr - -.global IsStrafing__18CBSBiPedLocomotionCFR15CBodyController -IsStrafing__18CBSBiPedLocomotionCFR15CBodyController: -/* 80137DD4 00134D34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80137DD8 00134D38 7C 08 02 A6 */ mflr r0 -/* 80137DDC 00134D3C 3C A0 80 5A */ lis r5, skZero3f@ha -/* 80137DE0 00134D40 38 64 00 04 */ addi r3, r4, 4 -/* 80137DE4 00134D44 90 01 00 14 */ stw r0, 0x14(r1) -/* 80137DE8 00134D48 38 85 66 A0 */ addi r4, r5, skZero3f@l -/* 80137DEC 00134D4C C0 22 9A 4C */ lfs f1, lbl_805AB76C@sda21(r2) -/* 80137DF0 00134D50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80137DF4 00134D54 3B E0 00 00 */ li r31, 0 -/* 80137DF8 00134D58 93 C1 00 08 */ stw r30, 8(r1) -/* 80137DFC 00134D5C 3B C3 00 0C */ addi r30, r3, 0xc -/* 80137E00 00134D60 48 1D 81 65 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80137E04 00134D64 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80137E08 00134D68 40 82 00 24 */ bne lbl_80137E2C -/* 80137E0C 00134D6C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80137E10 00134D70 C0 22 9A 4C */ lfs f1, lbl_805AB76C@sda21(r2) -/* 80137E14 00134D74 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80137E18 00134D78 7F C3 F3 78 */ mr r3, r30 -/* 80137E1C 00134D7C 48 1D 81 49 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80137E20 00134D80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80137E24 00134D84 40 82 00 08 */ bne lbl_80137E2C -/* 80137E28 00134D88 3B E0 00 01 */ li r31, 1 -lbl_80137E2C: -/* 80137E2C 00134D8C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80137E30 00134D90 7F E3 FB 78 */ mr r3, r31 -/* 80137E34 00134D94 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80137E38 00134D98 83 C1 00 08 */ lwz r30, 8(r1) -/* 80137E3C 00134D9C 7C 08 03 A6 */ mtlr r0 -/* 80137E40 00134DA0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80137E44 00134DA4 4E 80 00 20 */ blr - -.global GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim: -/* 80137E48 00134DA8 1C 84 00 44 */ mulli r4, r4, 0x44 -/* 80137E4C 00134DAC 54 A0 18 38 */ slwi r0, r5, 3 -/* 80137E50 00134DB0 7C 63 22 14 */ add r3, r3, r4 -/* 80137E54 00134DB4 7C 63 02 14 */ add r3, r3, r0 -/* 80137E58 00134DB8 38 63 00 10 */ addi r3, r3, 0x10 -/* 80137E5C 00134DBC 4E 80 00 20 */ blr - -.global UpdateLocomotionAnimation__18CBSBiPedLocomotionFffR15CBodyControllerb -UpdateLocomotionAnimation__18CBSBiPedLocomotionFffR15CBodyControllerb: -/* 80137E60 00134DC0 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80137E64 00134DC4 7C 08 02 A6 */ mflr r0 -/* 80137E68 00134DC8 90 01 00 84 */ stw r0, 0x84(r1) -/* 80137E6C 00134DCC DB E1 00 70 */ stfd f31, 0x70(r1) -/* 80137E70 00134DD0 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 -/* 80137E74 00134DD4 DB C1 00 60 */ stfd f30, 0x60(r1) -/* 80137E78 00134DD8 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 -/* 80137E7C 00134DDC DB A1 00 50 */ stfd f29, 0x50(r1) -/* 80137E80 00134DE0 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0 -/* 80137E84 00134DE4 DB 81 00 40 */ stfd f28, 0x40(r1) -/* 80137E88 00134DE8 F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0 -/* 80137E8C 00134DEC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80137E90 00134DF0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80137E94 00134DF4 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80137E98 00134DF8 93 81 00 30 */ stw r28, 0x30(r1) -/* 80137E9C 00134DFC FF 80 08 90 */ fmr f28, f1 -/* 80137EA0 00134E00 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80137EA4 00134E04 FF A0 10 90 */ fmr f29, f2 -/* 80137EA8 00134E08 C3 E2 9A 38 */ lfs f31, lbl_805AB758@sda21(r2) -/* 80137EAC 00134E0C 7C BE 2B 78 */ mr r30, r5 -/* 80137EB0 00134E10 7C 7C 1B 78 */ mr r28, r3 -/* 80137EB4 00134E14 7C 9D 23 78 */ mr r29, r4 -/* 80137EB8 00134E18 40 82 00 18 */ bne lbl_80137ED0 -/* 80137EBC 00134E1C C0 3C 03 C8 */ lfs f1, 0x3c8(r28) -/* 80137EC0 00134E20 C0 02 9A 50 */ lfs f0, lbl_805AB770@sda21(r2) -/* 80137EC4 00134E24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80137EC8 00134E28 4C 41 13 82 */ cror 2, 1, 2 -/* 80137ECC 00134E2C 40 82 01 98 */ bne lbl_80138064 -lbl_80137ED0: -/* 80137ED0 00134E30 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80137ED4 00134E34 41 82 00 0C */ beq lbl_80137EE0 -/* 80137ED8 00134E38 3B E0 FF FF */ li r31, -1 -/* 80137EDC 00134E3C 48 00 00 08 */ b lbl_80137EE4 -lbl_80137EE0: -/* 80137EE0 00134E40 83 FC 03 C4 */ lwz r31, 0x3c4(r28) -lbl_80137EE4: -/* 80137EE4 00134E44 7F 83 E3 78 */ mr r3, r28 -/* 80137EE8 00134E48 80 9C 00 04 */ lwz r4, 4(r28) -/* 80137EEC 00134E4C 81 9C 00 00 */ lwz r12, 0(r28) -/* 80137EF0 00134E50 38 A0 00 02 */ li r5, 2 -/* 80137EF4 00134E54 81 8C 00 3C */ lwz r12, 0x3c(r12) -/* 80137EF8 00134E58 7D 89 03 A6 */ mtctr r12 -/* 80137EFC 00134E5C 4E 80 04 21 */ bctrl -/* 80137F00 00134E60 7F 83 E3 78 */ mr r3, r28 -/* 80137F04 00134E64 EF DD 00 72 */ fmuls f30, f29, f1 -/* 80137F08 00134E68 81 9C 00 00 */ lwz r12, 0(r28) -/* 80137F0C 00134E6C 7F A4 EB 78 */ mr r4, r29 -/* 80137F10 00134E70 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80137F14 00134E74 7D 89 03 A6 */ mtctr r12 -/* 80137F18 00134E78 4E 80 04 21 */ bctrl -/* 80137F1C 00134E7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80137F20 00134E80 41 82 00 30 */ beq lbl_80137F50 -/* 80137F24 00134E84 C0 02 9A 44 */ lfs f0, lbl_805AB764@sda21(r2) -/* 80137F28 00134E88 FC 1D 00 40 */ fcmpo cr0, f29, f0 -/* 80137F2C 00134E8C 4C 41 13 82 */ cror 2, 1, 2 -/* 80137F30 00134E90 40 82 00 20 */ bne lbl_80137F50 -/* 80137F34 00134E94 FC 20 E8 90 */ fmr f1, f29 -/* 80137F38 00134E98 7F 83 E3 78 */ mr r3, r28 -/* 80137F3C 00134E9C 7F A4 EB 78 */ mr r4, r29 -/* 80137F40 00134EA0 7F E5 FB 78 */ mr r5, r31 -/* 80137F44 00134EA4 4B FF FC 25 */ bl UpdateStrafe__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim -/* 80137F48 00134EA8 FF E0 08 90 */ fmr f31, f1 -/* 80137F4C 00134EAC 48 00 01 18 */ b lbl_80138064 -lbl_80137F50: -/* 80137F50 00134EB0 C0 02 9A 44 */ lfs f0, lbl_805AB764@sda21(r2) -/* 80137F54 00134EB4 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 80137F58 00134EB8 40 80 00 BC */ bge lbl_80138014 -/* 80137F5C 00134EBC 2C 1F 00 00 */ cmpwi r31, 0 -/* 80137F60 00134EC0 40 82 00 0C */ bne lbl_80137F6C -/* 80137F64 00134EC4 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80137F68 00134EC8 41 82 00 FC */ beq lbl_80138064 -lbl_80137F6C: -/* 80137F6C 00134ECC 88 1D 02 D8 */ lbz r0, 0x2d8(r29) -/* 80137F70 00134ED0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80137F74 00134ED4 41 82 00 20 */ beq lbl_80137F94 -/* 80137F78 00134ED8 7F A3 EB 78 */ mr r3, r29 -/* 80137F7C 00134EDC 48 00 29 3D */ bl GetAnimTimeRemaining__15CBodyControllerCFv -/* 80137F80 00134EE0 FC 01 E0 40 */ fcmpo cr0, f1, f28 -/* 80137F84 00134EE4 4C 40 13 82 */ cror 2, 0, 2 -/* 80137F88 00134EE8 41 82 00 0C */ beq lbl_80137F94 -/* 80137F8C 00134EEC 57 C0 06 3F */ clrlwi. r0, r30, 0x18 -/* 80137F90 00134EF0 41 82 00 D4 */ beq lbl_80138064 -lbl_80137F94: -/* 80137F94 00134EF4 80 9C 00 04 */ lwz r4, 4(r28) -/* 80137F98 00134EF8 7F 83 E3 78 */ mr r3, r28 -/* 80137F9C 00134EFC 38 A0 00 00 */ li r5, 0 -/* 80137FA0 00134F00 4B FF FE A9 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80137FA4 00134F04 80 63 00 00 */ lwz r3, 0(r3) -/* 80137FA8 00134F08 80 1D 02 F8 */ lwz r0, 0x2f8(r29) -/* 80137FAC 00134F0C 7C 03 00 00 */ cmpw r3, r0 -/* 80137FB0 00134F10 41 82 00 58 */ beq lbl_80138008 -/* 80137FB4 00134F14 C0 02 9A 38 */ lfs f0, lbl_805AB758@sda21(r2) -/* 80137FB8 00134F18 38 00 00 00 */ li r0, 0 -/* 80137FBC 00134F1C 38 C0 FF FF */ li r6, -1 -/* 80137FC0 00134F20 38 E0 00 01 */ li r7, 1 -/* 80137FC4 00134F24 90 61 00 08 */ stw r3, 8(r1) -/* 80137FC8 00134F28 7F A3 EB 78 */ mr r3, r29 -/* 80137FCC 00134F2C 38 81 00 08 */ addi r4, r1, 8 -/* 80137FD0 00134F30 38 A0 00 01 */ li r5, 1 -/* 80137FD4 00134F34 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80137FD8 00134F38 38 C0 00 00 */ li r6, 0 -/* 80137FDC 00134F3C D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80137FE0 00134F40 98 E1 00 14 */ stb r7, 0x14(r1) -/* 80137FE4 00134F44 90 01 00 18 */ stw r0, 0x18(r1) -/* 80137FE8 00134F48 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80137FEC 00134F4C 98 01 00 20 */ stb r0, 0x20(r1) -/* 80137FF0 00134F50 90 01 00 24 */ stw r0, 0x24(r1) -/* 80137FF4 00134F54 90 01 00 28 */ stw r0, 0x28(r1) -/* 80137FF8 00134F58 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80137FFC 00134F5C 48 00 29 21 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80138000 00134F60 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 80138004 00134F64 D0 1C 03 C8 */ stfs f0, 0x3c8(r28) -lbl_80138008: -/* 80138008 00134F68 38 00 00 00 */ li r0, 0 -/* 8013800C 00134F6C 90 1C 03 C4 */ stw r0, 0x3c4(r28) -/* 80138010 00134F70 48 00 00 54 */ b lbl_80138064 -lbl_80138014: -/* 80138014 00134F74 80 9C 00 04 */ lwz r4, 4(r28) -/* 80138018 00134F78 7F 83 E3 78 */ mr r3, r28 -/* 8013801C 00134F7C 38 A0 00 01 */ li r5, 1 -/* 80138020 00134F80 4B FF FE 29 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80138024 00134F84 C0 03 00 04 */ lfs f0, 4(r3) -/* 80138028 00134F88 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8013802C 00134F8C 40 80 00 20 */ bge lbl_8013804C -/* 80138030 00134F90 FC 20 F0 90 */ fmr f1, f30 -/* 80138034 00134F94 7F 83 E3 78 */ mr r3, r28 -/* 80138038 00134F98 7F A4 EB 78 */ mr r4, r29 -/* 8013803C 00134F9C 7F E5 FB 78 */ mr r5, r31 -/* 80138040 00134FA0 4B FF F9 ED */ bl UpdateWalk__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim -/* 80138044 00134FA4 FF E0 08 90 */ fmr f31, f1 -/* 80138048 00134FA8 48 00 00 1C */ b lbl_80138064 -lbl_8013804C: -/* 8013804C 00134FAC FC 20 F0 90 */ fmr f1, f30 -/* 80138050 00134FB0 7F 83 E3 78 */ mr r3, r28 -/* 80138054 00134FB4 7F A4 EB 78 */ mr r4, r29 -/* 80138058 00134FB8 7F E5 FB 78 */ mr r5, r31 -/* 8013805C 00134FBC 4B FF F7 FD */ bl UpdateRun__18CBSBiPedLocomotionFfR15CBodyControllerQ23pas15ELocomotionAnim -/* 80138060 00134FC0 FF E0 08 90 */ fmr f31, f1 -lbl_80138064: -/* 80138064 00134FC4 FC 20 F8 90 */ fmr f1, f31 -/* 80138068 00134FC8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 -/* 8013806C 00134FCC CB E1 00 70 */ lfd f31, 0x70(r1) -/* 80138070 00134FD0 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 -/* 80138074 00134FD4 CB C1 00 60 */ lfd f30, 0x60(r1) -/* 80138078 00134FD8 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0 -/* 8013807C 00134FDC CB A1 00 50 */ lfd f29, 0x50(r1) -/* 80138080 00134FE0 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0 -/* 80138084 00134FE4 CB 81 00 40 */ lfd f28, 0x40(r1) -/* 80138088 00134FE8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8013808C 00134FEC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80138090 00134FF0 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80138094 00134FF4 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80138098 00134FF8 83 81 00 30 */ lwz r28, 0x30(r1) -/* 8013809C 00134FFC 7C 08 03 A6 */ mtlr r0 -/* 801380A0 00135000 38 21 00 80 */ addi r1, r1, 0x80 -/* 801380A4 00135004 4E 80 00 20 */ blr - -.global UpdateBody__18CBSBiPedLocomotionFfR15CBodyControllerR13CStateManager -UpdateBody__18CBSBiPedLocomotionFfR15CBodyControllerR13CStateManager: -/* 801380A8 00135008 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801380AC 0013500C 7C 08 02 A6 */ mflr r0 -/* 801380B0 00135010 C0 02 9A 50 */ lfs f0, lbl_805AB770@sda21(r2) -/* 801380B4 00135014 90 01 00 14 */ stw r0, 0x14(r1) -/* 801380B8 00135018 C0 43 03 C8 */ lfs f2, 0x3c8(r3) -/* 801380BC 0013501C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801380C0 00135020 40 80 00 0C */ bge lbl_801380CC -/* 801380C4 00135024 EC 02 08 2A */ fadds f0, f2, f1 -/* 801380C8 00135028 D0 03 03 C8 */ stfs f0, 0x3c8(r3) -lbl_801380CC: -/* 801380CC 0013502C 48 00 0A 45 */ bl UpdateBody__13CBSLocomotionFfR15CBodyControllerR13CStateManager -/* 801380D0 00135030 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801380D4 00135034 7C 08 03 A6 */ mtlr r0 -/* 801380D8 00135038 38 21 00 10 */ addi r1, r1, 0x10 -/* 801380DC 0013503C 4E 80 00 20 */ blr - -.global Start__18CBSBiPedLocomotionFR15CBodyControllerR13CStateManager -Start__18CBSBiPedLocomotionFR15CBodyControllerR13CStateManager: -/* 801380E0 00135040 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801380E4 00135044 7C 08 02 A6 */ mflr r0 -/* 801380E8 00135048 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 801380EC 0013504C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801380F0 00135050 D0 03 03 C8 */ stfs f0, 0x3c8(r3) -/* 801380F4 00135054 48 00 0A C9 */ bl Start__13CBSLocomotionFR15CBodyControllerR13CStateManager -/* 801380F8 00135058 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801380FC 0013505C 7C 08 03 A6 */ mtlr r0 -/* 80138100 00135060 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138104 00135064 4E 80 00 20 */ blr - -.global GetLocomotionSpeed__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -GetLocomotionSpeed__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim: -/* 80138108 00135068 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013810C 0013506C 7C 08 02 A6 */ mflr r0 -/* 80138110 00135070 90 01 00 14 */ stw r0, 0x14(r1) -/* 80138114 00135074 4B FF FD 35 */ bl GetLocoAnimation__18CBSBiPedLocomotionCFQ23pas15ELocomotionTypeQ23pas15ELocomotionAnim -/* 80138118 00135078 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013811C 0013507C C0 23 00 04 */ lfs f1, 4(r3) -/* 80138120 00135080 7C 08 03 A6 */ mtlr r0 -/* 80138124 00135084 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138128 00135088 4E 80 00 20 */ blr - -.global __ct__18CBSBiPedLocomotionFR6CActor -__ct__18CBSBiPedLocomotionFR6CActor: -/* 8013812C 0013508C 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80138130 00135090 7C 08 02 A6 */ mflr r0 -/* 80138134 00135094 90 01 01 24 */ stw r0, 0x124(r1) -/* 80138138 00135098 BE 81 00 F0 */ stmw r20, 0xf0(r1) -/* 8013813C 0013509C 7C 7B 1B 78 */ mr r27, r3 -/* 80138140 001350A0 7C 9C 23 78 */ mr r28, r4 -/* 80138144 001350A4 48 00 0A ED */ bl __ct__13CBSLocomotionFv -/* 80138148 001350A8 3C 60 80 3E */ lis r3, lbl_803E167C@ha -/* 8013814C 001350AC 34 E1 00 5C */ addic. r7, r1, 0x5c -/* 80138150 001350B0 38 63 16 7C */ addi r3, r3, lbl_803E167C@l -/* 80138154 001350B4 38 00 00 08 */ li r0, 8 -/* 80138158 001350B8 90 7B 00 00 */ stw r3, 0(r27) -/* 8013815C 001350BC 90 01 00 58 */ stw r0, 0x58(r1) -/* 80138160 001350C0 80 0D 8B 68 */ lwz r0, lbl_805A7728@sda21(r13) -/* 80138164 001350C4 C0 0D 8B 6C */ lfs f0, lbl_805A772C@sda21(r13) -/* 80138168 001350C8 41 82 00 0C */ beq lbl_80138174 -/* 8013816C 001350CC 90 01 00 5C */ stw r0, 0x5c(r1) -/* 80138170 001350D0 D0 01 00 60 */ stfs f0, 0x60(r1) -lbl_80138174: -/* 80138174 001350D4 34 67 00 08 */ addic. r3, r7, 8 -/* 80138178 001350D8 41 82 00 0C */ beq lbl_80138184 -/* 8013817C 001350DC 90 03 00 00 */ stw r0, 0(r3) -/* 80138180 001350E0 D0 03 00 04 */ stfs f0, 4(r3) -lbl_80138184: -/* 80138184 001350E4 34 63 00 08 */ addic. r3, r3, 8 -/* 80138188 001350E8 41 82 00 0C */ beq lbl_80138194 -/* 8013818C 001350EC 90 03 00 00 */ stw r0, 0(r3) -/* 80138190 001350F0 D0 03 00 04 */ stfs f0, 4(r3) -lbl_80138194: -/* 80138194 001350F4 34 63 00 08 */ addic. r3, r3, 8 -/* 80138198 001350F8 41 82 00 0C */ beq lbl_801381A4 -/* 8013819C 001350FC 90 03 00 00 */ stw r0, 0(r3) -/* 801381A0 00135100 D0 03 00 04 */ stfs f0, 4(r3) -lbl_801381A4: -/* 801381A4 00135104 34 63 00 08 */ addic. r3, r3, 8 -/* 801381A8 00135108 41 82 00 0C */ beq lbl_801381B4 -/* 801381AC 0013510C 90 03 00 00 */ stw r0, 0(r3) -/* 801381B0 00135110 D0 03 00 04 */ stfs f0, 4(r3) -lbl_801381B4: -/* 801381B4 00135114 34 63 00 08 */ addic. r3, r3, 8 -/* 801381B8 00135118 41 82 00 0C */ beq lbl_801381C4 -/* 801381BC 0013511C 90 03 00 00 */ stw r0, 0(r3) -/* 801381C0 00135120 D0 03 00 04 */ stfs f0, 4(r3) -lbl_801381C4: -/* 801381C4 00135124 34 63 00 08 */ addic. r3, r3, 8 -/* 801381C8 00135128 41 82 00 0C */ beq lbl_801381D4 -/* 801381CC 0013512C 90 03 00 00 */ stw r0, 0(r3) -/* 801381D0 00135130 D0 03 00 04 */ stfs f0, 4(r3) -lbl_801381D4: -/* 801381D4 00135134 34 63 00 08 */ addic. r3, r3, 8 -/* 801381D8 00135138 41 82 00 0C */ beq lbl_801381E4 -/* 801381DC 0013513C 90 03 00 00 */ stw r0, 0(r3) -/* 801381E0 00135140 D0 03 00 04 */ stfs f0, 4(r3) -lbl_801381E4: -/* 801381E4 00135144 38 00 00 0E */ li r0, 0xe -/* 801381E8 00135148 38 9B 00 0C */ addi r4, r27, 0xc -/* 801381EC 0013514C 90 1B 00 08 */ stw r0, 8(r27) -/* 801381F0 00135150 38 60 00 00 */ li r3, 0 -lbl_801381F4: -/* 801381F4 00135154 28 04 00 00 */ cmplwi r4, 0 -/* 801381F8 00135158 41 82 00 48 */ beq lbl_80138240 -/* 801381FC 0013515C 80 01 00 58 */ lwz r0, 0x58(r1) -/* 80138200 00135160 7C E6 3B 78 */ mr r6, r7 -/* 80138204 00135164 38 A4 00 04 */ addi r5, r4, 4 -/* 80138208 00135168 90 04 00 00 */ stw r0, 0(r4) -/* 8013820C 0013516C 80 04 00 00 */ lwz r0, 0(r4) -/* 80138210 00135170 7C 09 03 A6 */ mtctr r0 -/* 80138214 00135174 2C 00 00 00 */ cmpwi r0, 0 -/* 80138218 00135178 40 81 00 28 */ ble lbl_80138240 -lbl_8013821C: -/* 8013821C 0013517C 28 05 00 00 */ cmplwi r5, 0 -/* 80138220 00135180 41 82 00 14 */ beq lbl_80138234 -/* 80138224 00135184 80 06 00 00 */ lwz r0, 0(r6) -/* 80138228 00135188 90 05 00 00 */ stw r0, 0(r5) -/* 8013822C 0013518C C0 06 00 04 */ lfs f0, 4(r6) -/* 80138230 00135190 D0 05 00 04 */ stfs f0, 4(r5) -lbl_80138234: -/* 80138234 00135194 38 A5 00 08 */ addi r5, r5, 8 -/* 80138238 00135198 38 C6 00 08 */ addi r6, r6, 8 -/* 8013823C 0013519C 42 00 FF E0 */ bdnz lbl_8013821C -lbl_80138240: -/* 80138240 001351A0 38 63 00 01 */ addi r3, r3, 1 -/* 80138244 001351A4 38 84 00 44 */ addi r4, r4, 0x44 -/* 80138248 001351A8 2C 03 00 0E */ cmpwi r3, 0xe -/* 8013824C 001351AC 41 80 FF A8 */ blt lbl_801381F4 -/* 80138250 001351B0 80 A1 00 58 */ lwz r5, 0x58(r1) -/* 80138254 001351B4 38 60 00 00 */ li r3, 0 -/* 80138258 001351B8 2C 05 00 00 */ cmpwi r5, 0 -/* 8013825C 001351BC 40 81 00 40 */ ble lbl_8013829C -/* 80138260 001351C0 2C 05 00 08 */ cmpwi r5, 8 -/* 80138264 001351C4 38 85 FF F8 */ addi r4, r5, -8 -/* 80138268 001351C8 40 81 00 20 */ ble lbl_80138288 -/* 8013826C 001351CC 38 04 00 07 */ addi r0, r4, 7 -/* 80138270 001351D0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80138274 001351D4 7C 09 03 A6 */ mtctr r0 -/* 80138278 001351D8 2C 04 00 00 */ cmpwi r4, 0 -/* 8013827C 001351DC 40 81 00 0C */ ble lbl_80138288 -lbl_80138280: -/* 80138280 001351E0 38 63 00 08 */ addi r3, r3, 8 -/* 80138284 001351E4 42 00 FF FC */ bdnz lbl_80138280 -lbl_80138288: -/* 80138288 001351E8 7C 03 28 50 */ subf r0, r3, r5 -/* 8013828C 001351EC 7C 09 03 A6 */ mtctr r0 -/* 80138290 001351F0 7C 03 28 00 */ cmpw r3, r5 -/* 80138294 001351F4 40 80 00 08 */ bge lbl_8013829C -lbl_80138298: -/* 80138298 001351F8 42 00 00 00 */ bdnz lbl_80138298 -lbl_8013829C: -/* 8013829C 001351FC 38 60 00 00 */ li r3, 0 -/* 801382A0 00135200 38 00 FF FF */ li r0, -1 -/* 801382A4 00135204 90 61 00 58 */ stw r3, 0x58(r1) -/* 801382A8 00135208 3B E1 00 A0 */ addi r31, r1, 0xa0 -/* 801382AC 0013520C 3A C1 00 20 */ addi r22, r1, 0x20 -/* 801382B0 00135210 3A E1 00 18 */ addi r23, r1, 0x18 -/* 801382B4 00135214 90 1B 03 C4 */ stw r0, 0x3c4(r27) -/* 801382B8 00135218 3B C0 00 00 */ li r30, 0 -/* 801382BC 0013521C 3B 40 00 00 */ li r26, 0 -/* 801382C0 00135220 80 7C 00 64 */ lwz r3, 0x64(r28) -/* 801382C4 00135224 80 63 00 10 */ lwz r3, 0x10(r3) -/* 801382C8 00135228 3A A3 00 3C */ addi r21, r3, 0x3c -lbl_801382CC: -/* 801382CC 0013522C 7F 1B D2 14 */ add r24, r27, r26 -/* 801382D0 00135230 3B A0 00 00 */ li r29, 0 -/* 801382D4 00135234 3B 20 00 00 */ li r25, 0 -lbl_801382D8: -/* 801382D8 00135238 38 61 00 18 */ addi r3, r1, 0x18 -/* 801382DC 0013523C 48 1A AD A1 */ bl NoParameter__12CPASAnimParmFv -/* 801382E0 00135240 38 61 00 20 */ addi r3, r1, 0x20 -/* 801382E4 00135244 48 1A AD 99 */ bl NoParameter__12CPASAnimParmFv -/* 801382E8 00135248 38 61 00 28 */ addi r3, r1, 0x28 -/* 801382EC 0013524C 48 1A AD 91 */ bl NoParameter__12CPASAnimParmFv -/* 801382F0 00135250 38 61 00 30 */ addi r3, r1, 0x30 -/* 801382F4 00135254 48 1A AD 89 */ bl NoParameter__12CPASAnimParmFv -/* 801382F8 00135258 38 61 00 38 */ addi r3, r1, 0x38 -/* 801382FC 0013525C 48 1A AD 81 */ bl NoParameter__12CPASAnimParmFv -/* 80138300 00135260 38 61 00 40 */ addi r3, r1, 0x40 -/* 80138304 00135264 48 1A AD 79 */ bl NoParameter__12CPASAnimParmFv -/* 80138308 00135268 7F C4 F3 78 */ mr r4, r30 -/* 8013830C 0013526C 38 61 00 48 */ addi r3, r1, 0x48 -/* 80138310 00135270 48 1A AC 75 */ bl FromEnum__12CPASAnimParmFi -/* 80138314 00135274 7F A4 EB 78 */ mr r4, r29 -/* 80138318 00135278 38 61 00 50 */ addi r3, r1, 0x50 -/* 8013831C 0013527C 48 1A AC 69 */ bl FromEnum__12CPASAnimParmFi -/* 80138320 00135280 92 C1 00 08 */ stw r22, 8(r1) -/* 80138324 00135284 38 61 00 9C */ addi r3, r1, 0x9c -/* 80138328 00135288 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8013832C 0013528C 38 C1 00 48 */ addi r6, r1, 0x48 -/* 80138330 00135290 92 E1 00 0C */ stw r23, 0xc(r1) -/* 80138334 00135294 38 E1 00 40 */ addi r7, r1, 0x40 -/* 80138338 00135298 39 01 00 38 */ addi r8, r1, 0x38 -/* 8013833C 0013529C 39 21 00 30 */ addi r9, r1, 0x30 -/* 80138340 001352A0 39 41 00 28 */ addi r10, r1, 0x28 -/* 80138344 001352A4 38 80 00 05 */ li r4, 5 -/* 80138348 001352A8 4B F4 4F 7D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013834C 001352AC 7E A4 AB 78 */ mr r4, r21 -/* 80138350 001352B0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80138354 001352B4 38 A1 00 9C */ addi r5, r1, 0x9c -/* 80138358 001352B8 38 C0 FF FF */ li r6, -1 -/* 8013835C 001352BC 48 1A CE 11 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDatai -/* 80138360 001352C0 82 81 00 14 */ lwz r20, 0x14(r1) -/* 80138364 001352C4 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -/* 80138368 001352C8 2C 14 FF FF */ cmpwi r20, -1 -/* 8013836C 001352CC 41 82 00 20 */ beq lbl_8013838C -/* 80138370 001352D0 7F 83 E3 78 */ mr r3, r28 -/* 80138374 001352D4 7E 84 A3 78 */ mr r4, r20 -/* 80138378 001352D8 4B F1 CE 51 */ bl GetAverageAnimVelocity__6CActorFi -/* 8013837C 001352DC 2C 1D 00 00 */ cmpwi r29, 0 -/* 80138380 001352E0 41 82 00 08 */ beq lbl_80138388 -/* 80138384 001352E4 48 00 00 08 */ b lbl_8013838C -lbl_80138388: -/* 80138388 001352E8 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -lbl_8013838C: -/* 8013838C 001352EC 7C 78 CA 14 */ add r3, r24, r25 -/* 80138390 001352F0 28 1F 00 00 */ cmplwi r31, 0 -/* 80138394 001352F4 92 83 00 10 */ stw r20, 0x10(r3) -/* 80138398 001352F8 D0 23 00 14 */ stfs f1, 0x14(r3) -/* 8013839C 001352FC 41 82 00 5C */ beq lbl_801383F8 -/* 801383A0 00135300 80 A1 00 A0 */ lwz r5, 0xa0(r1) -/* 801383A4 00135304 38 60 00 00 */ li r3, 0 -/* 801383A8 00135308 2C 05 00 00 */ cmpwi r5, 0 -/* 801383AC 0013530C 40 81 00 44 */ ble lbl_801383F0 -/* 801383B0 00135310 2C 05 00 08 */ cmpwi r5, 8 -/* 801383B4 00135314 38 85 FF F8 */ addi r4, r5, -8 -/* 801383B8 00135318 40 81 00 20 */ ble lbl_801383D8 -/* 801383BC 0013531C 38 04 00 07 */ addi r0, r4, 7 -/* 801383C0 00135320 54 00 E8 FE */ srwi r0, r0, 3 -/* 801383C4 00135324 7C 09 03 A6 */ mtctr r0 -/* 801383C8 00135328 2C 04 00 00 */ cmpwi r4, 0 -/* 801383CC 0013532C 40 81 00 0C */ ble lbl_801383D8 -lbl_801383D0: -/* 801383D0 00135330 38 63 00 08 */ addi r3, r3, 8 -/* 801383D4 00135334 42 00 FF FC */ bdnz lbl_801383D0 -lbl_801383D8: -/* 801383D8 00135338 7C 03 28 50 */ subf r0, r3, r5 -/* 801383DC 0013533C 7C 09 03 A6 */ mtctr r0 -/* 801383E0 00135340 7C 03 28 00 */ cmpw r3, r5 -/* 801383E4 00135344 40 80 00 0C */ bge lbl_801383F0 -lbl_801383E8: -/* 801383E8 00135348 38 63 00 01 */ addi r3, r3, 1 -/* 801383EC 0013534C 42 00 FF FC */ bdnz lbl_801383E8 -lbl_801383F0: -/* 801383F0 00135350 38 00 00 00 */ li r0, 0 -/* 801383F4 00135354 90 01 00 A0 */ stw r0, 0xa0(r1) -lbl_801383F8: -/* 801383F8 00135358 3B BD 00 01 */ addi r29, r29, 1 -/* 801383FC 0013535C 3B 39 00 08 */ addi r25, r25, 8 -/* 80138400 00135360 2C 1D 00 08 */ cmpwi r29, 8 -/* 80138404 00135364 41 80 FE D4 */ blt lbl_801382D8 -/* 80138408 00135368 3B DE 00 01 */ addi r30, r30, 1 -/* 8013840C 0013536C 3B 5A 00 44 */ addi r26, r26, 0x44 -/* 80138410 00135370 2C 1E 00 0E */ cmpwi r30, 0xe -/* 80138414 00135374 41 80 FE B8 */ blt lbl_801382CC -/* 80138418 00135378 7F 63 DB 78 */ mr r3, r27 -/* 8013841C 0013537C BA 81 00 F0 */ lmw r20, 0xf0(r1) -/* 80138420 00135380 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80138424 00135384 7C 08 03 A6 */ mtlr r0 -/* 80138428 00135388 38 21 01 20 */ addi r1, r1, 0x120 -/* 8013842C 0013538C 4E 80 00 20 */ blr - -.global GetBodyStateTransition__13CBSLocomotionFfR15CBodyController -GetBodyStateTransition__13CBSLocomotionFfR15CBodyController: -/* 80138430 00135390 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80138434 00135394 7C 08 02 A6 */ mflr r0 -/* 80138438 00135398 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013843C 0013539C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80138440 001353A0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80138444 001353A4 7C 9E 23 78 */ mr r30, r4 -/* 80138448 001353A8 3B FE 00 04 */ addi r31, r30, 4 -/* 8013844C 001353AC 38 80 00 0F */ li r4, 0xf -/* 80138450 001353B0 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80138454 001353B4 7C 7D 1B 78 */ mr r29, r3 -/* 80138458 001353B8 7F E3 FB 78 */ mr r3, r31 -/* 8013845C 001353BC 4B FF 8F F5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138460 001353C0 28 03 00 00 */ cmplwi r3, 0 -/* 80138464 001353C4 41 82 00 0C */ beq lbl_80138470 -/* 80138468 001353C8 38 60 00 0E */ li r3, 0xe -/* 8013846C 001353CC 48 00 02 78 */ b lbl_801386E4 -lbl_80138470: -/* 80138470 001353D0 7F E3 FB 78 */ mr r3, r31 -/* 80138474 001353D4 38 80 00 03 */ li r4, 3 -/* 80138478 001353D8 4B FF 8F D9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013847C 001353DC 28 03 00 00 */ cmplwi r3, 0 -/* 80138480 001353E0 41 82 00 0C */ beq lbl_8013848C -/* 80138484 001353E4 38 60 00 00 */ li r3, 0 -/* 80138488 001353E8 48 00 02 5C */ b lbl_801386E4 -lbl_8013848C: -/* 8013848C 001353EC 7F E3 FB 78 */ mr r3, r31 -/* 80138490 001353F0 38 80 00 09 */ li r4, 9 -/* 80138494 001353F4 4B FF 8F BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138498 001353F8 28 03 00 00 */ cmplwi r3, 0 -/* 8013849C 001353FC 41 82 00 0C */ beq lbl_801384A8 -/* 801384A0 00135400 38 60 00 0A */ li r3, 0xa -/* 801384A4 00135404 48 00 02 40 */ b lbl_801386E4 -lbl_801384A8: -/* 801384A8 00135408 7F E3 FB 78 */ mr r3, r31 -/* 801384AC 0013540C 38 80 00 04 */ li r4, 4 -/* 801384B0 00135410 4B FF 8F A1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801384B4 00135414 28 03 00 00 */ cmplwi r3, 0 -/* 801384B8 00135418 41 82 00 0C */ beq lbl_801384C4 -/* 801384BC 0013541C 38 60 00 06 */ li r3, 6 -/* 801384C0 00135420 48 00 02 24 */ b lbl_801386E4 -lbl_801384C4: -/* 801384C4 00135424 7F E3 FB 78 */ mr r3, r31 -/* 801384C8 00135428 38 80 00 16 */ li r4, 0x16 -/* 801384CC 0013542C 4B FF 8F 85 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801384D0 00135430 28 03 00 00 */ cmplwi r3, 0 -/* 801384D4 00135434 41 82 00 10 */ beq lbl_801384E4 -/* 801384D8 00135438 7F E3 FB 78 */ mr r3, r31 -/* 801384DC 0013543C 4B FF 8F CD */ bl ClearLocomotionCmds__16CBodyStateCmdMgrFv -/* 801384E0 00135440 48 00 02 00 */ b lbl_801386E0 -lbl_801384E4: -/* 801384E4 00135444 7F E3 FB 78 */ mr r3, r31 -/* 801384E8 00135448 38 80 00 11 */ li r4, 0x11 -/* 801384EC 0013544C 4B FF 8F 65 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801384F0 00135450 28 03 00 00 */ cmplwi r3, 0 -/* 801384F4 00135454 41 82 00 0C */ beq lbl_80138500 -/* 801384F8 00135458 38 60 00 0F */ li r3, 0xf -/* 801384FC 0013545C 48 00 01 E8 */ b lbl_801386E4 -lbl_80138500: -/* 80138500 00135460 7F E3 FB 78 */ mr r3, r31 -/* 80138504 00135464 38 80 00 0E */ li r4, 0xe -/* 80138508 00135468 4B FF 8F 49 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013850C 0013546C 28 03 00 00 */ cmplwi r3, 0 -/* 80138510 00135470 41 82 00 0C */ beq lbl_8013851C -/* 80138514 00135474 38 60 00 0C */ li r3, 0xc -/* 80138518 00135478 48 00 01 CC */ b lbl_801386E4 -lbl_8013851C: -/* 8013851C 0013547C 7F E3 FB 78 */ mr r3, r31 -/* 80138520 00135480 38 80 00 05 */ li r4, 5 -/* 80138524 00135484 4B FF 8F 2D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138528 00135488 28 03 00 00 */ cmplwi r3, 0 -/* 8013852C 0013548C 41 82 00 0C */ beq lbl_80138538 -/* 80138530 00135490 38 60 00 07 */ li r3, 7 -/* 80138534 00135494 48 00 01 B0 */ b lbl_801386E4 -lbl_80138538: -/* 80138538 00135498 7F E3 FB 78 */ mr r3, r31 -/* 8013853C 0013549C 38 80 00 06 */ li r4, 6 -/* 80138540 001354A0 4B FF 8F 11 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138544 001354A4 28 03 00 00 */ cmplwi r3, 0 -/* 80138548 001354A8 41 82 00 0C */ beq lbl_80138554 -/* 8013854C 001354AC 38 60 00 12 */ li r3, 0x12 -/* 80138550 001354B0 48 00 01 94 */ b lbl_801386E4 -lbl_80138554: -/* 80138554 001354B4 7F E3 FB 78 */ mr r3, r31 -/* 80138558 001354B8 38 80 00 07 */ li r4, 7 -/* 8013855C 001354BC 4B FF 8E F5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138560 001354C0 28 03 00 00 */ cmplwi r3, 0 -/* 80138564 001354C4 41 82 00 0C */ beq lbl_80138570 -/* 80138568 001354C8 38 60 00 09 */ li r3, 9 -/* 8013856C 001354CC 48 00 01 78 */ b lbl_801386E4 -lbl_80138570: -/* 80138570 001354D0 7F E3 FB 78 */ mr r3, r31 -/* 80138574 001354D4 38 80 00 08 */ li r4, 8 -/* 80138578 001354D8 4B FF 8E D9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013857C 001354DC 28 03 00 00 */ cmplwi r3, 0 -/* 80138580 001354E0 41 82 00 0C */ beq lbl_8013858C -/* 80138584 001354E4 38 60 00 0A */ li r3, 0xa -/* 80138588 001354E8 48 00 01 5C */ b lbl_801386E4 -lbl_8013858C: -/* 8013858C 001354EC 7F E3 FB 78 */ mr r3, r31 -/* 80138590 001354F0 38 80 00 10 */ li r4, 0x10 -/* 80138594 001354F4 4B FF 8E BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138598 001354F8 28 03 00 00 */ cmplwi r3, 0 -/* 8013859C 001354FC 41 82 00 0C */ beq lbl_801385A8 -/* 801385A0 00135500 38 60 00 0D */ li r3, 0xd -/* 801385A4 00135504 48 00 01 40 */ b lbl_801386E4 -lbl_801385A8: -/* 801385A8 00135508 7F E3 FB 78 */ mr r3, r31 -/* 801385AC 0013550C 38 80 00 12 */ li r4, 0x12 -/* 801385B0 00135510 4B FF 8E A1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801385B4 00135514 28 03 00 00 */ cmplwi r3, 0 -/* 801385B8 00135518 41 82 00 0C */ beq lbl_801385C4 -/* 801385BC 0013551C 38 60 00 10 */ li r3, 0x10 -/* 801385C0 00135520 48 00 01 24 */ b lbl_801386E4 -lbl_801385C4: -/* 801385C4 00135524 7F E3 FB 78 */ mr r3, r31 -/* 801385C8 00135528 38 80 00 01 */ li r4, 1 -/* 801385CC 0013552C 4B FF 8E 85 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801385D0 00135530 28 03 00 00 */ cmplwi r3, 0 -/* 801385D4 00135534 41 82 00 0C */ beq lbl_801385E0 -/* 801385D8 00135538 38 60 00 03 */ li r3, 3 -/* 801385DC 0013553C 48 00 01 08 */ b lbl_801386E4 -lbl_801385E0: -/* 801385E0 00135540 7F E3 FB 78 */ mr r3, r31 -/* 801385E4 00135544 38 80 00 14 */ li r4, 0x14 -/* 801385E8 00135548 4B FF 8E 69 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801385EC 0013554C 28 03 00 00 */ cmplwi r3, 0 -/* 801385F0 00135550 41 82 00 0C */ beq lbl_801385FC -/* 801385F4 00135554 38 60 00 13 */ li r3, 0x13 -/* 801385F8 00135558 48 00 00 EC */ b lbl_801386E4 -lbl_801385FC: -/* 801385FC 0013555C 7F E3 FB 78 */ mr r3, r31 -/* 80138600 00135560 38 80 00 15 */ li r4, 0x15 -/* 80138604 00135564 4B FF 8E 4D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138608 00135568 28 03 00 00 */ cmplwi r3, 0 -/* 8013860C 0013556C 41 82 00 0C */ beq lbl_80138618 -/* 80138610 00135570 38 60 00 14 */ li r3, 0x14 -/* 80138614 00135574 48 00 00 D0 */ b lbl_801386E4 -lbl_80138618: -/* 80138618 00135578 7F E3 FB 78 */ mr r3, r31 -/* 8013861C 0013557C 38 80 00 13 */ li r4, 0x13 -/* 80138620 00135580 4B FF 8E 31 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138624 00135584 28 03 00 00 */ cmplwi r3, 0 -/* 80138628 00135588 41 82 00 0C */ beq lbl_80138634 -/* 8013862C 0013558C 38 60 00 11 */ li r3, 0x11 -/* 80138630 00135590 48 00 00 B4 */ b lbl_801386E4 -lbl_80138634: -/* 80138634 00135594 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -/* 80138638 00135598 38 00 00 00 */ li r0, 0 -/* 8013863C 0013559C C0 1F 00 00 */ lfs f0, 0(r31) -/* 80138640 001355A0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80138644 001355A4 40 82 00 1C */ bne lbl_80138660 -/* 80138648 001355A8 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8013864C 001355AC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80138650 001355B0 40 82 00 10 */ bne lbl_80138660 -/* 80138654 001355B4 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80138658 001355B8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013865C 001355BC 41 82 00 08 */ beq lbl_80138664 -lbl_80138660: -/* 80138660 001355C0 38 00 00 01 */ li r0, 1 -lbl_80138664: -/* 80138664 001355C4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80138668 001355C8 40 82 00 60 */ bne lbl_801386C8 -/* 8013866C 001355CC C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -/* 80138670 001355D0 38 00 00 00 */ li r0, 0 -/* 80138674 001355D4 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80138678 001355D8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013867C 001355DC 40 82 00 1C */ bne lbl_80138698 -/* 80138680 001355E0 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 80138684 001355E4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80138688 001355E8 40 82 00 10 */ bne lbl_80138698 -/* 8013868C 001355EC C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 80138690 001355F0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80138694 001355F4 41 82 00 08 */ beq lbl_8013869C -lbl_80138698: -/* 80138698 001355F8 38 00 00 01 */ li r0, 1 -lbl_8013869C: -/* 8013869C 001355FC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 801386A0 00135600 41 82 00 28 */ beq lbl_801386C8 -/* 801386A4 00135604 7F A3 EB 78 */ mr r3, r29 -/* 801386A8 00135608 81 9D 00 00 */ lwz r12, 0(r29) -/* 801386AC 0013560C 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 801386B0 00135610 7D 89 03 A6 */ mtctr r12 -/* 801386B4 00135614 4E 80 04 21 */ bctrl -/* 801386B8 00135618 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801386BC 0013561C 40 82 00 0C */ bne lbl_801386C8 -/* 801386C0 00135620 38 60 00 08 */ li r3, 8 -/* 801386C4 00135624 48 00 00 20 */ b lbl_801386E4 -lbl_801386C8: -/* 801386C8 00135628 80 7D 00 04 */ lwz r3, 4(r29) -/* 801386CC 0013562C 80 1E 02 EC */ lwz r0, 0x2ec(r30) -/* 801386D0 00135630 7C 03 00 00 */ cmpw r3, r0 -/* 801386D4 00135634 41 82 00 0C */ beq lbl_801386E0 -/* 801386D8 00135638 38 60 00 05 */ li r3, 5 -/* 801386DC 0013563C 48 00 00 08 */ b lbl_801386E4 -lbl_801386E0: -/* 801386E0 00135640 38 60 FF FF */ li r3, -1 -lbl_801386E4: -/* 801386E4 00135644 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801386E8 00135648 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801386EC 0013564C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801386F0 00135650 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 801386F4 00135654 7C 08 03 A6 */ mtlr r0 -/* 801386F8 00135658 38 21 00 20 */ addi r1, r1, 0x20 -/* 801386FC 0013565C 4E 80 00 20 */ blr - -.global "ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf" -"ComputeWeightPercentage__13CBSLocomotionCFRCQ24rstl9pairRCQ24rstl9pairf": -/* 80138700 00135660 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80138704 00135664 C0 02 9A 40 */ lfs f0, lbl_805AB760@sda21(r2) -/* 80138708 00135668 C0 45 00 04 */ lfs f2, 4(r5) -/* 8013870C 0013566C C0 64 00 04 */ lfs f3, 4(r4) -/* 80138710 00135670 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80138714 00135674 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80138718 00135678 40 81 00 44 */ ble lbl_8013875C -/* 8013871C 0013567C EC 21 18 28 */ fsubs f1, f1, f3 -/* 80138720 00135680 C0 0D 8B 60 */ lfs f0, lbl_805A7720@sda21(r13) -/* 80138724 00135684 EC 21 10 24 */ fdivs f1, f1, f2 -/* 80138728 00135688 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8013872C 0013568C D0 21 00 08 */ stfs f1, 8(r1) -/* 80138730 00135690 40 80 00 0C */ bge lbl_8013873C -/* 80138734 00135694 38 6D 8B 60 */ addi r3, r13, lbl_805A7720@sda21 -/* 80138738 00135698 48 00 00 08 */ b lbl_80138740 -lbl_8013873C: -/* 8013873C 0013569C 38 61 00 08 */ addi r3, r1, 8 -lbl_80138740: -/* 80138740 001356A0 C0 23 00 00 */ lfs f1, 0(r3) -/* 80138744 001356A4 C0 0D 8B 64 */ lfs f0, lbl_805A7724@sda21(r13) -/* 80138748 001356A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013874C 001356AC 40 80 00 08 */ bge lbl_80138754 -/* 80138750 001356B0 38 6D 8B 64 */ addi r3, r13, lbl_805A7724@sda21 -lbl_80138754: -/* 80138754 001356B4 C0 23 00 00 */ lfs f1, 0(r3) -/* 80138758 001356B8 48 00 00 08 */ b lbl_80138760 -lbl_8013875C: -/* 8013875C 001356BC C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -lbl_80138760: -/* 80138760 001356C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138764 001356C4 4E 80 00 20 */ blr - -.global GetStartVelocityMagnitude__13CBSLocomotionCFR15CBodyController -GetStartVelocityMagnitude__13CBSLocomotionCFR15CBodyController: -/* 80138768 001356C8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8013876C 001356CC 7C 08 02 A6 */ mflr r0 -/* 80138770 001356D0 90 01 00 34 */ stw r0, 0x34(r1) -/* 80138774 001356D4 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80138778 001356D8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8013877C 001356DC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80138780 001356E0 7C 9F 23 78 */ mr r31, r4 -/* 80138784 001356E4 38 61 00 0C */ addi r3, r1, 0xc -/* 80138788 001356E8 80 84 00 00 */ lwz r4, 0(r4) -/* 8013878C 001356EC 4B F7 3F 59 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80138790 001356F0 80 63 00 04 */ lwz r3, 4(r3) -/* 80138794 001356F4 28 03 00 00 */ cmplwi r3, 0 -/* 80138798 001356F8 41 82 00 50 */ beq lbl_801387E8 -/* 8013879C 001356FC 38 63 01 38 */ addi r3, r3, 0x138 -/* 801387A0 00135700 48 1D C1 19 */ bl Magnitude__9CVector3fCFv -/* 801387A4 00135704 FF E0 08 90 */ fmr f31, f1 -/* 801387A8 00135708 38 7F 02 A4 */ addi r3, r31, 0x2a4 -/* 801387AC 0013570C 4B FF B7 01 */ bl GetMaxSpeed__14CBodyStateInfoCFv -/* 801387B0 00135710 C0 42 9A 34 */ lfs f2, lbl_805AB754@sda21(r2) -/* 801387B4 00135714 FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 801387B8 00135718 40 81 00 08 */ ble lbl_801387C0 -/* 801387BC 0013571C EC 5F 08 24 */ fdivs f2, f31, f1 -lbl_801387C0: -/* 801387C0 00135720 C0 0D 8B 5C */ lfs f0, lbl_805A771C@sda21(r13) -/* 801387C4 00135724 D0 41 00 08 */ stfs f2, 8(r1) -/* 801387C8 00135728 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 801387CC 0013572C 40 80 00 0C */ bge lbl_801387D8 -/* 801387D0 00135730 38 6D 8B 5C */ addi r3, r13, lbl_805A771C@sda21 -/* 801387D4 00135734 48 00 00 08 */ b lbl_801387DC -lbl_801387D8: -/* 801387D8 00135738 38 61 00 08 */ addi r3, r1, 8 -lbl_801387DC: -/* 801387DC 0013573C C0 23 00 00 */ lfs f1, 0(r3) -/* 801387E0 00135740 D0 21 00 08 */ stfs f1, 8(r1) -/* 801387E4 00135744 48 00 00 08 */ b lbl_801387EC -lbl_801387E8: -/* 801387E8 00135748 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -lbl_801387EC: -/* 801387EC 0013574C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 801387F0 00135750 80 01 00 34 */ lwz r0, 0x34(r1) -/* 801387F4 00135754 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 801387F8 00135758 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801387FC 0013575C 7C 08 03 A6 */ mtlr r0 -/* 80138800 00135760 38 21 00 30 */ addi r1, r1, 0x30 -/* 80138804 00135764 4E 80 00 20 */ blr - -.global ReStartBodyState__13CBSLocomotionFR15CBodyControllerb -ReStartBodyState__13CBSLocomotionFR15CBodyControllerb: -/* 80138808 00135768 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013880C 0013576C 7C 08 02 A6 */ mflr r0 -/* 80138810 00135770 90 01 00 14 */ stw r0, 0x14(r1) -/* 80138814 00135774 54 A0 06 3F */ clrlwi. r0, r5, 0x18 -/* 80138818 00135778 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013881C 0013577C 7C 9F 23 78 */ mr r31, r4 -/* 80138820 00135780 93 C1 00 08 */ stw r30, 8(r1) -/* 80138824 00135784 7C 7E 1B 78 */ mr r30, r3 -/* 80138828 00135788 41 82 00 0C */ beq lbl_80138834 -/* 8013882C 0013578C 4B FF FF 3D */ bl GetStartVelocityMagnitude__13CBSLocomotionCFR15CBodyController -/* 80138830 00135790 48 00 00 08 */ b lbl_80138838 -lbl_80138834: -/* 80138834 00135794 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -lbl_80138838: -/* 80138838 00135798 7F C3 F3 78 */ mr r3, r30 -/* 8013883C 0013579C FC 40 08 90 */ fmr f2, f1 -/* 80138840 001357A0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80138844 001357A4 7F E4 FB 78 */ mr r4, r31 -/* 80138848 001357A8 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -/* 8013884C 001357AC 38 A0 00 01 */ li r5, 1 -/* 80138850 001357B0 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80138854 001357B4 7D 89 03 A6 */ mtctr r12 -/* 80138858 001357B8 4E 80 04 21 */ bctrl -/* 8013885C 001357BC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80138860 001357C0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80138864 001357C4 83 C1 00 08 */ lwz r30, 8(r1) -/* 80138868 001357C8 7C 08 03 A6 */ mtlr r0 -/* 8013886C 001357CC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138870 001357D0 4E 80 00 20 */ blr - -.global ApplyLocomotionPhysics__13CBSLocomotionFfR15CBodyController -ApplyLocomotionPhysics__13CBSLocomotionFfR15CBodyController: -/* 80138874 001357D4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80138878 001357D8 7C 08 02 A6 */ mflr r0 -/* 8013887C 001357DC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80138880 001357E0 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80138884 001357E4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 80138888 001357E8 BF 61 00 8C */ stmw r27, 0x8c(r1) -/* 8013888C 001357EC 7C 9C 23 78 */ mr r28, r4 -/* 80138890 001357F0 FF E0 08 90 */ fmr f31, f1 -/* 80138894 001357F4 80 84 00 00 */ lwz r4, 0(r4) -/* 80138898 001357F8 7C 7B 1B 78 */ mr r27, r3 -/* 8013889C 001357FC 38 61 00 14 */ addi r3, r1, 0x14 -/* 801388A0 00135800 4B F7 3E 45 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 801388A4 00135804 83 E3 00 04 */ lwz r31, 4(r3) -/* 801388A8 00135808 28 1F 00 00 */ cmplwi r31, 0 -/* 801388AC 0013580C 41 82 02 1C */ beq lbl_80138AC8 -/* 801388B0 00135810 3B DC 00 04 */ addi r30, r28, 4 -/* 801388B4 00135814 3C 60 80 5A */ lis r3, skZero3f@ha -/* 801388B8 00135818 3B BE 00 0C */ addi r29, r30, 0xc -/* 801388BC 0013581C C0 22 9A 4C */ lfs f1, lbl_805AB76C@sda21(r2) -/* 801388C0 00135820 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 801388C4 00135824 7F A3 EB 78 */ mr r3, r29 -/* 801388C8 00135828 48 1D 76 9D */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 801388CC 0013582C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801388D0 00135830 41 82 00 08 */ beq lbl_801388D8 -/* 801388D4 00135834 7F DD F3 78 */ mr r29, r30 -lbl_801388D8: -/* 801388D8 00135838 C0 1D 00 00 */ lfs f0, 0(r29) -/* 801388DC 0013583C 38 61 00 7C */ addi r3, r1, 0x7c -/* 801388E0 00135840 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 801388E4 00135844 C0 1D 00 04 */ lfs f0, 4(r29) -/* 801388E8 00135848 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 801388EC 0013584C C0 1D 00 08 */ lfs f0, 8(r29) -/* 801388F0 00135850 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 801388F4 00135854 48 1D BE 05 */ bl CanBeNormalized__9CVector3fCFv -/* 801388F8 00135858 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801388FC 0013585C 41 82 01 9C */ beq lbl_80138A98 -/* 80138900 00135860 7F 63 DB 78 */ mr r3, r27 -/* 80138904 00135864 81 9B 00 00 */ lwz r12, 0(r27) -/* 80138908 00135868 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 8013890C 0013586C 7D 89 03 A6 */ mtctr r12 -/* 80138910 00135870 4E 80 04 21 */ bctrl -/* 80138914 00135874 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80138918 00135878 41 82 01 64 */ beq lbl_80138A7C -/* 8013891C 0013587C C0 7F 00 58 */ lfs f3, 0x58(r31) -/* 80138920 00135880 38 61 00 64 */ addi r3, r1, 0x64 -/* 80138924 00135884 C0 5F 00 48 */ lfs f2, 0x48(r31) -/* 80138928 00135888 C0 3F 00 38 */ lfs f1, 0x38(r31) -/* 8013892C 0013588C C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 80138930 00135890 D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 80138934 00135894 D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80138938 00135898 D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8013893C 0013589C D0 61 00 78 */ stfs f3, 0x78(r1) -/* 80138940 001358A0 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80138944 001358A4 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 80138948 001358A8 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8013894C 001358AC 48 1D BF AD */ bl Normalize__9CVector3fFv -/* 80138950 001358B0 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80138954 001358B4 FC 20 F8 90 */ fmr f1, f31 -/* 80138958 001358B8 C0 61 00 7C */ lfs f3, 0x7c(r1) -/* 8013895C 001358BC 7F 83 E3 78 */ mr r3, r28 -/* 80138960 001358C0 C0 41 00 80 */ lfs f2, 0x80(r1) -/* 80138964 001358C4 38 81 00 58 */ addi r4, r1, 0x58 -/* 80138968 001358C8 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8013896C 001358CC C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 80138970 001358D0 38 A1 00 64 */ addi r5, r1, 0x64 -/* 80138974 001358D4 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 80138978 001358D8 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 8013897C 001358DC D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80138980 001358E0 48 00 1A E9 */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff -/* 80138984 001358E4 C0 01 00 78 */ lfs f0, 0x78(r1) -/* 80138988 001358E8 38 61 00 4C */ addi r3, r1, 0x4c -/* 8013898C 001358EC C0 41 00 70 */ lfs f2, 0x70(r1) -/* 80138990 001358F0 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 80138994 001358F4 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 80138998 001358F8 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 8013899C 001358FC D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 801389A0 00135900 D0 21 00 50 */ stfs f1, 0x50(r1) -/* 801389A4 00135904 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 801389A8 00135908 48 1D BF 51 */ bl Normalize__9CVector3fFv -/* 801389AC 0013590C C0 22 9A 4C */ lfs f1, lbl_805AB76C@sda21(r2) -/* 801389B0 00135910 38 61 00 64 */ addi r3, r1, 0x64 -/* 801389B4 00135914 38 81 00 4C */ addi r4, r1, 0x4c -/* 801389B8 00135918 48 1D 75 AD */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 801389BC 0013591C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801389C0 00135920 40 82 00 64 */ bne lbl_80138A24 -/* 801389C4 00135924 3B BC 02 D4 */ addi r29, r28, 0x2d4 -/* 801389C8 00135928 38 61 00 7C */ addi r3, r1, 0x7c -/* 801389CC 0013592C 38 81 00 58 */ addi r4, r1, 0x58 -/* 801389D0 00135930 48 1D BC 61 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -/* 801389D4 00135934 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 801389D8 00135938 FC 00 08 18 */ frsp f0, f1 -/* 801389DC 0013593C C0 3D 00 00 */ lfs f1, 0(r29) -/* 801389E0 00135940 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801389E4 00135944 40 80 00 08 */ bge lbl_801389EC -/* 801389E8 00135948 48 00 00 08 */ b lbl_801389F0 -lbl_801389EC: -/* 801389EC 0013594C 3B A1 00 0C */ addi r29, r1, 0xc -lbl_801389F0: -/* 801389F0 00135950 C0 1D 00 00 */ lfs f0, 0(r29) -/* 801389F4 00135954 38 61 00 28 */ addi r3, r1, 0x28 -/* 801389F8 00135958 38 81 00 64 */ addi r4, r1, 0x64 -/* 801389FC 0013595C 38 A1 00 4C */ addi r5, r1, 0x4c -/* 80138A00 00135960 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80138A04 00135964 38 C1 00 10 */ addi r6, r1, 0x10 -/* 80138A08 00135968 48 1D BF 4D */ bl Slerp__9CVector3fFRC9CVector3fRC9CVector3fRC9CRelAngle -/* 80138A0C 0013596C C0 41 00 28 */ lfs f2, 0x28(r1) -/* 80138A10 00135970 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 80138A14 00135974 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80138A18 00135978 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 80138A1C 0013597C D0 21 00 50 */ stfs f1, 0x50(r1) -/* 80138A20 00135980 D0 01 00 54 */ stfs f0, 0x54(r1) -lbl_80138A24: -/* 80138A24 00135984 FC 20 F8 90 */ fmr f1, f31 -/* 80138A28 00135988 7F 83 E3 78 */ mr r3, r28 -/* 80138A2C 0013598C 38 81 00 4C */ addi r4, r1, 0x4c -/* 80138A30 00135990 38 A1 00 70 */ addi r5, r1, 0x70 -/* 80138A34 00135994 48 00 1A 35 */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff -/* 80138A38 00135998 C0 9F 00 54 */ lfs f4, 0x54(r31) -/* 80138A3C 0013599C FC 20 F8 90 */ fmr f1, f31 -/* 80138A40 001359A0 C0 7F 00 44 */ lfs f3, 0x44(r31) -/* 80138A44 001359A4 7F 83 E3 78 */ mr r3, r28 -/* 80138A48 001359A8 C0 5F 00 34 */ lfs f2, 0x34(r31) -/* 80138A4C 001359AC 38 81 00 34 */ addi r4, r1, 0x34 -/* 80138A50 001359B0 C0 02 9A 34 */ lfs f0, lbl_805AB754@sda21(r2) -/* 80138A54 001359B4 D0 81 00 3C */ stfs f4, 0x3c(r1) -/* 80138A58 001359B8 38 A1 00 40 */ addi r5, r1, 0x40 -/* 80138A5C 001359BC D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80138A60 001359C0 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 80138A64 001359C4 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 80138A68 001359C8 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80138A6C 001359CC D0 61 00 38 */ stfs f3, 0x38(r1) -/* 80138A70 001359D0 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80138A74 001359D4 48 00 19 F5 */ bl FaceDirection3D__15CBodyControllerFRC9CVector3ff -/* 80138A78 001359D8 48 00 00 20 */ b lbl_80138A98 -lbl_80138A7C: -/* 80138A7C 001359DC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80138A80 001359E0 38 81 00 7C */ addi r4, r1, 0x7c -/* 80138A84 001359E4 48 1D BD CD */ bl AsNormalized__9CVector3fCFv -/* 80138A88 001359E8 FC 20 F8 90 */ fmr f1, f31 -/* 80138A8C 001359EC 7F 83 E3 78 */ mr r3, r28 -/* 80138A90 001359F0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80138A94 001359F4 48 00 1C 11 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_80138A98: -/* 80138A98 001359F8 7F C3 F3 78 */ mr r3, r30 -/* 80138A9C 001359FC 48 1D BE 1D */ bl Magnitude__9CVector3fCFv -/* 80138AA0 00135A00 FC 00 08 18 */ frsp f0, f1 -/* 80138AA4 00135A04 C0 4D 8B 58 */ lfs f2, lbl_805A7718@sda21(r13) -/* 80138AA8 00135A08 D0 21 00 08 */ stfs f1, 8(r1) -/* 80138AAC 00135A0C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80138AB0 00135A10 40 80 00 0C */ bge lbl_80138ABC -/* 80138AB4 00135A14 38 6D 8B 58 */ addi r3, r13, lbl_805A7718@sda21 -/* 80138AB8 00135A18 48 00 00 08 */ b lbl_80138AC0 -lbl_80138ABC: -/* 80138ABC 00135A1C 38 61 00 08 */ addi r3, r1, 8 -lbl_80138AC0: -/* 80138AC0 00135A20 C0 23 00 00 */ lfs f1, 0(r3) -/* 80138AC4 00135A24 48 00 00 08 */ b lbl_80138ACC -lbl_80138AC8: -/* 80138AC8 00135A28 C0 22 9A 34 */ lfs f1, lbl_805AB754@sda21(r2) -lbl_80138ACC: -/* 80138ACC 00135A2C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80138AD0 00135A30 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80138AD4 00135A34 BB 61 00 8C */ lmw r27, 0x8c(r1) -/* 80138AD8 00135A38 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80138ADC 00135A3C 7C 08 03 A6 */ mtlr r0 -/* 80138AE0 00135A40 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80138AE4 00135A44 4E 80 00 20 */ blr - -.global Shutdown__13CBSLocomotionFR15CBodyController -Shutdown__13CBSLocomotionFR15CBodyController: -/* 80138AE8 00135A48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80138AEC 00135A4C 7C 08 02 A6 */ mflr r0 -/* 80138AF0 00135A50 C0 22 9A 38 */ lfs f1, lbl_805AB758@sda21(r2) -/* 80138AF4 00135A54 7C 83 23 78 */ mr r3, r4 -/* 80138AF8 00135A58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80138AFC 00135A5C 48 00 1D 65 */ bl MultiplyPlaybackRate__15CBodyControllerFf -/* 80138B00 00135A60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80138B04 00135A64 7C 08 03 A6 */ mtlr r0 -/* 80138B08 00135A68 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138B0C 00135A6C 4E 80 00 20 */ blr - -.global UpdateBody__13CBSLocomotionFfR15CBodyControllerR13CStateManager -UpdateBody__13CBSLocomotionFfR15CBodyControllerR13CStateManager: -/* 80138B10 00135A70 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80138B14 00135A74 7C 08 02 A6 */ mflr r0 -/* 80138B18 00135A78 90 01 00 24 */ stw r0, 0x24(r1) -/* 80138B1C 00135A7C DB E1 00 18 */ stfd f31, 0x18(r1) -/* 80138B20 00135A80 FF E0 08 90 */ fmr f31, f1 -/* 80138B24 00135A84 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80138B28 00135A88 93 C1 00 10 */ stw r30, 0x10(r1) -/* 80138B2C 00135A8C 7C 9E 23 78 */ mr r30, r4 -/* 80138B30 00135A90 93 A1 00 0C */ stw r29, 0xc(r1) -/* 80138B34 00135A94 7C 7D 1B 78 */ mr r29, r3 -/* 80138B38 00135A98 81 83 00 00 */ lwz r12, 0(r3) -/* 80138B3C 00135A9C 81 8C 00 48 */ lwz r12, 0x48(r12) -/* 80138B40 00135AA0 7D 89 03 A6 */ mtctr r12 -/* 80138B44 00135AA4 4E 80 04 21 */ bctrl -/* 80138B48 00135AA8 7C 7F 1B 78 */ mr r31, r3 -/* 80138B4C 00135AAC 2C 1F FF FF */ cmpwi r31, -1 -/* 80138B50 00135AB0 40 82 00 48 */ bne lbl_80138B98 -/* 80138B54 00135AB4 7F A3 EB 78 */ mr r3, r29 -/* 80138B58 00135AB8 FC 20 F8 90 */ fmr f1, f31 -/* 80138B5C 00135ABC 81 9D 00 00 */ lwz r12, 0(r29) -/* 80138B60 00135AC0 7F C4 F3 78 */ mr r4, r30 -/* 80138B64 00135AC4 81 8C 00 40 */ lwz r12, 0x40(r12) -/* 80138B68 00135AC8 7D 89 03 A6 */ mtctr r12 -/* 80138B6C 00135ACC 4E 80 04 21 */ bctrl -/* 80138B70 00135AD0 FC 00 08 90 */ fmr f0, f1 -/* 80138B74 00135AD4 81 9D 00 00 */ lwz r12, 0(r29) -/* 80138B78 00135AD8 FC 20 F8 90 */ fmr f1, f31 -/* 80138B7C 00135ADC 7F A3 EB 78 */ mr r3, r29 -/* 80138B80 00135AE0 81 8C 00 44 */ lwz r12, 0x44(r12) -/* 80138B84 00135AE4 7F C4 F3 78 */ mr r4, r30 -/* 80138B88 00135AE8 FC 40 00 90 */ fmr f2, f0 -/* 80138B8C 00135AEC 38 A0 00 00 */ li r5, 0 -/* 80138B90 00135AF0 7D 89 03 A6 */ mtctr r12 -/* 80138B94 00135AF4 4E 80 04 21 */ bctrl -lbl_80138B98: -/* 80138B98 00135AF8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80138B9C 00135AFC 7F E3 FB 78 */ mr r3, r31 -/* 80138BA0 00135B00 CB E1 00 18 */ lfd f31, 0x18(r1) -/* 80138BA4 00135B04 83 E1 00 14 */ lwz r31, 0x14(r1) -/* 80138BA8 00135B08 83 C1 00 10 */ lwz r30, 0x10(r1) -/* 80138BAC 00135B0C 83 A1 00 0C */ lwz r29, 0xc(r1) -/* 80138BB0 00135B10 7C 08 03 A6 */ mtlr r0 -/* 80138BB4 00135B14 38 21 00 20 */ addi r1, r1, 0x20 -/* 80138BB8 00135B18 4E 80 00 20 */ blr - -.global Start__13CBSLocomotionFR15CBodyControllerR13CStateManager -Start__13CBSLocomotionFR15CBodyControllerR13CStateManager: -/* 80138BBC 00135B1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80138BC0 00135B20 7C 08 02 A6 */ mflr r0 -/* 80138BC4 00135B24 90 01 00 14 */ stw r0, 0x14(r1) -/* 80138BC8 00135B28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80138BCC 00135B2C 7C 9F 23 78 */ mr r31, r4 -/* 80138BD0 00135B30 93 C1 00 08 */ stw r30, 8(r1) -/* 80138BD4 00135B34 7C 7E 1B 78 */ mr r30, r3 -/* 80138BD8 00135B38 38 7F 00 04 */ addi r3, r31, 4 -/* 80138BDC 00135B3C 80 04 02 EC */ lwz r0, 0x2ec(r4) -/* 80138BE0 00135B40 38 80 00 0D */ li r4, 0xd -/* 80138BE4 00135B44 90 1E 00 04 */ stw r0, 4(r30) -/* 80138BE8 00135B48 4B FF 88 69 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138BEC 00135B4C 28 03 00 00 */ cmplwi r3, 0 -/* 80138BF0 00135B50 41 82 00 18 */ beq lbl_80138C08 -/* 80138BF4 00135B54 7F C3 F3 78 */ mr r3, r30 -/* 80138BF8 00135B58 7F E4 FB 78 */ mr r4, r31 -/* 80138BFC 00135B5C 38 A0 00 01 */ li r5, 1 -/* 80138C00 00135B60 4B FF FC 09 */ bl ReStartBodyState__13CBSLocomotionFR15CBodyControllerb -/* 80138C04 00135B64 48 00 00 14 */ b lbl_80138C18 -lbl_80138C08: -/* 80138C08 00135B68 7F C3 F3 78 */ mr r3, r30 -/* 80138C0C 00135B6C 7F E4 FB 78 */ mr r4, r31 -/* 80138C10 00135B70 38 A0 00 00 */ li r5, 0 -/* 80138C14 00135B74 4B FF FB F5 */ bl ReStartBodyState__13CBSLocomotionFR15CBodyControllerb -lbl_80138C18: -/* 80138C18 00135B78 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80138C1C 00135B7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80138C20 00135B80 83 C1 00 08 */ lwz r30, 8(r1) -/* 80138C24 00135B84 7C 08 03 A6 */ mtlr r0 -/* 80138C28 00135B88 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138C2C 00135B8C 4E 80 00 20 */ blr - -.global __ct__13CBSLocomotionFv -__ct__13CBSLocomotionFv: -/* 80138C30 00135B90 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 80138C34 00135B94 3C 80 80 3E */ lis r4, lbl_803E16CC@ha -/* 80138C38 00135B98 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l -/* 80138C3C 00135B9C 38 00 FF FF */ li r0, -1 -/* 80138C40 00135BA0 90 A3 00 00 */ stw r5, 0(r3) -/* 80138C44 00135BA4 38 84 16 CC */ addi r4, r4, lbl_803E16CC@l -/* 80138C48 00135BA8 90 83 00 00 */ stw r4, 0(r3) -/* 80138C4C 00135BAC 90 03 00 04 */ stw r0, 4(r3) -/* 80138C50 00135BB0 4E 80 00 20 */ blr - -.global __dt__21CBSNewFlyerLocomotion -__dt__21CBSNewFlyerLocomotion: -/* 80138C54 00135BB4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80138C58 00135BB8 7C 08 02 A6 */ mflr r0 -/* 80138C5C 00135BBC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80138C60 00135BC0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80138C64 00135BC4 7C 9F 23 78 */ mr r31, r4 -/* 80138C68 00135BC8 93 C1 00 08 */ stw r30, 8(r1) -/* 80138C6C 00135BCC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80138C70 00135BD0 41 82 00 28 */ beq lbl_80138C98 -/* 80138C74 00135BD4 3C A0 80 3E */ lis r5, lbl_803E153C@ha -/* 80138C78 00135BD8 38 80 00 00 */ li r4, 0 -/* 80138C7C 00135BDC 38 05 15 3C */ addi r0, r5, lbl_803E153C@l -/* 80138C80 00135BE0 90 1E 00 00 */ stw r0, 0(r30) -/* 80138C84 00135BE4 4B FF E3 F9 */ bl __dt__18CBSBiPedLocomotionFv -/* 80138C88 00135BE8 7F E0 07 35 */ extsh. r0, r31 -/* 80138C8C 00135BEC 40 81 00 0C */ ble lbl_80138C98 -/* 80138C90 00135BF0 7F C3 F3 78 */ mr r3, r30 -/* 80138C94 00135BF4 48 1D CC 9D */ bl Free__7CMemoryFPCv -lbl_80138C98: -/* 80138C98 00135BF8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80138C9C 00135BFC 7F C3 F3 78 */ mr r3, r30 -/* 80138CA0 00135C00 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80138CA4 00135C04 83 C1 00 08 */ lwz r30, 8(r1) -/* 80138CA8 00135C08 7C 08 03 A6 */ mtlr r0 -/* 80138CAC 00135C0C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138CB0 00135C10 4E 80 00 20 */ blr - -.global IsMoving__18CBSBiPedLocomotionCFv -IsMoving__18CBSBiPedLocomotionCFv: -/* 80138CB4 00135C14 80 63 03 C4 */ lwz r3, 0x3c4(r3) -/* 80138CB8 00135C18 7C 03 00 D0 */ neg r0, r3 -/* 80138CBC 00135C1C 7C 00 1B 78 */ or r0, r0, r3 -/* 80138CC0 00135C20 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80138CC4 00135C24 4E 80 00 20 */ blr - -.global __dt__23CBSWallWalkerLocomotion -__dt__23CBSWallWalkerLocomotion: -/* 80138CC8 00135C28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80138CCC 00135C2C 7C 08 02 A6 */ mflr r0 -/* 80138CD0 00135C30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80138CD4 00135C34 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80138CD8 00135C38 7C 9F 23 78 */ mr r31, r4 -/* 80138CDC 00135C3C 93 C1 00 08 */ stw r30, 8(r1) -/* 80138CE0 00135C40 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80138CE4 00135C44 41 82 00 28 */ beq lbl_80138D0C -/* 80138CE8 00135C48 3C A0 80 3E */ lis r5, lbl_803E158C@ha -/* 80138CEC 00135C4C 38 80 00 00 */ li r4, 0 -/* 80138CF0 00135C50 38 05 15 8C */ addi r0, r5, lbl_803E158C@l -/* 80138CF4 00135C54 90 1E 00 00 */ stw r0, 0(r30) -/* 80138CF8 00135C58 4B FF E3 85 */ bl __dt__18CBSBiPedLocomotionFv -/* 80138CFC 00135C5C 7F E0 07 35 */ extsh. r0, r31 -/* 80138D00 00135C60 40 81 00 0C */ ble lbl_80138D0C -/* 80138D04 00135C64 7F C3 F3 78 */ mr r3, r30 -/* 80138D08 00135C68 48 1D CC 29 */ bl Free__7CMemoryFPCv -lbl_80138D0C: -/* 80138D0C 00135C6C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80138D10 00135C70 7F C3 F3 78 */ mr r3, r30 -/* 80138D14 00135C74 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80138D18 00135C78 83 C1 00 08 */ lwz r30, 8(r1) -/* 80138D1C 00135C7C 7C 08 03 A6 */ mtlr r0 -/* 80138D20 00135C80 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138D24 00135C84 4E 80 00 20 */ blr - -.global __dt__18CBSFlyerLocomotion -__dt__18CBSFlyerLocomotion: -/* 80138D28 00135C88 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80138D2C 00135C8C 7C 08 02 A6 */ mflr r0 -/* 80138D30 00135C90 90 01 00 14 */ stw r0, 0x14(r1) -/* 80138D34 00135C94 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80138D38 00135C98 7C 9F 23 78 */ mr r31, r4 -/* 80138D3C 00135C9C 93 C1 00 08 */ stw r30, 8(r1) -/* 80138D40 00135CA0 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80138D44 00135CA4 41 82 00 28 */ beq lbl_80138D6C -/* 80138D48 00135CA8 3C A0 80 3E */ lis r5, lbl_803E15DC@ha -/* 80138D4C 00135CAC 38 80 00 00 */ li r4, 0 -/* 80138D50 00135CB0 38 05 15 DC */ addi r0, r5, lbl_803E15DC@l -/* 80138D54 00135CB4 90 1E 00 00 */ stw r0, 0(r30) -/* 80138D58 00135CB8 4B FF E3 25 */ bl __dt__18CBSBiPedLocomotionFv -/* 80138D5C 00135CBC 7F E0 07 35 */ extsh. r0, r31 -/* 80138D60 00135CC0 40 81 00 0C */ ble lbl_80138D6C -/* 80138D64 00135CC4 7F C3 F3 78 */ mr r3, r30 -/* 80138D68 00135CC8 48 1D CB C9 */ bl Free__7CMemoryFPCv -lbl_80138D6C: -/* 80138D6C 00135CCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80138D70 00135CD0 7F C3 F3 78 */ mr r3, r30 -/* 80138D74 00135CD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80138D78 00135CD8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80138D7C 00135CDC 7C 08 03 A6 */ mtlr r0 -/* 80138D80 00135CE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138D84 00135CE4 4E 80 00 20 */ blr - -.global IsBackPedal__18CBSFlyerLocomotionCFR15CBodyController -IsBackPedal__18CBSFlyerLocomotionCFR15CBodyController: -/* 80138D88 00135CE8 38 60 00 00 */ li r3, 0 -/* 80138D8C 00135CEC 4E 80 00 20 */ blr - -.global IsPitchable__18CBSFlyerLocomotionCFv -IsPitchable__18CBSFlyerLocomotionCFv: -/* 80138D90 00135CF0 88 63 03 CC */ lbz r3, 0x3cc(r3) -/* 80138D94 00135CF4 4E 80 00 20 */ blr - -.global __sinit_CBSFlyerLocomotion_cpp -__sinit_CBSFlyerLocomotion_cpp: -/* 80138D98 00135CF8 C0 02 9A 54 */ lfs f0, lbl_805AB774@sda21(r2) -/* 80138D9C 00135CFC D0 0D A3 C0 */ stfs f0, lbl_805A8F80@sda21(r13) -/* 80138DA0 00135D00 4E 80 00 20 */ blr - -.global __dt__7CBSStepFv -__dt__7CBSStepFv: -/* 80138DA4 00135D04 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80138DA8 00135D08 7C 08 02 A6 */ mflr r0 -/* 80138DAC 00135D0C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80138DB0 00135D10 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80138DB4 00135D14 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80138DB8 00135D18 41 82 00 30 */ beq lbl_80138DE8 -/* 80138DBC 00135D1C 3C 60 80 3E */ lis r3, lbl_803E1718@ha -/* 80138DC0 00135D20 38 03 17 18 */ addi r0, r3, lbl_803E1718@l -/* 80138DC4 00135D24 90 1F 00 00 */ stw r0, 0(r31) -/* 80138DC8 00135D28 41 82 00 10 */ beq lbl_80138DD8 -/* 80138DCC 00135D2C 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80138DD0 00135D30 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80138DD4 00135D34 90 1F 00 00 */ stw r0, 0(r31) -lbl_80138DD8: -/* 80138DD8 00135D38 7C 80 07 35 */ extsh. r0, r4 -/* 80138DDC 00135D3C 40 81 00 0C */ ble lbl_80138DE8 -/* 80138DE0 00135D40 7F E3 FB 78 */ mr r3, r31 -/* 80138DE4 00135D44 48 1D CB 4D */ bl Free__7CMemoryFPCv -lbl_80138DE8: -/* 80138DE8 00135D48 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80138DEC 00135D4C 7F E3 FB 78 */ mr r3, r31 -/* 80138DF0 00135D50 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80138DF4 00135D54 7C 08 03 A6 */ mtlr r0 -/* 80138DF8 00135D58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138DFC 00135D5C 4E 80 00 20 */ blr - -.global IsMoving__7CBSStepCFv -IsMoving__7CBSStepCFv: -/* 80138E00 00135D60 38 60 00 01 */ li r3, 1 -/* 80138E04 00135D64 4E 80 00 20 */ blr - -.global CanShoot__7CBSStepCFv -CanShoot__7CBSStepCFv: -/* 80138E08 00135D68 38 60 00 01 */ li r3, 1 -/* 80138E0C 00135D6C 4E 80 00 20 */ blr - -.global GetBodyStateTransition__7CBSStepFfR15CBodyController -GetBodyStateTransition__7CBSStepFfR15CBodyController: -/* 80138E10 00135D70 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80138E14 00135D74 7C 08 02 A6 */ mflr r0 -/* 80138E18 00135D78 90 01 00 14 */ stw r0, 0x14(r1) -/* 80138E1C 00135D7C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80138E20 00135D80 93 C1 00 08 */ stw r30, 8(r1) -/* 80138E24 00135D84 7C 9E 23 78 */ mr r30, r4 -/* 80138E28 00135D88 3B FE 00 04 */ addi r31, r30, 4 -/* 80138E2C 00135D8C 38 80 00 0F */ li r4, 0xf -/* 80138E30 00135D90 7F E3 FB 78 */ mr r3, r31 -/* 80138E34 00135D94 4B FF 86 1D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138E38 00135D98 28 03 00 00 */ cmplwi r3, 0 -/* 80138E3C 00135D9C 41 82 00 0C */ beq lbl_80138E48 -/* 80138E40 00135DA0 38 60 00 0E */ li r3, 0xe -/* 80138E44 00135DA4 48 00 01 64 */ b lbl_80138FA8 -lbl_80138E48: -/* 80138E48 00135DA8 7F E3 FB 78 */ mr r3, r31 -/* 80138E4C 00135DAC 38 80 00 03 */ li r4, 3 -/* 80138E50 00135DB0 4B FF 86 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138E54 00135DB4 28 03 00 00 */ cmplwi r3, 0 -/* 80138E58 00135DB8 41 82 00 0C */ beq lbl_80138E64 -/* 80138E5C 00135DBC 38 60 00 00 */ li r3, 0 -/* 80138E60 00135DC0 48 00 01 48 */ b lbl_80138FA8 -lbl_80138E64: -/* 80138E64 00135DC4 7F E3 FB 78 */ mr r3, r31 -/* 80138E68 00135DC8 38 80 00 09 */ li r4, 9 -/* 80138E6C 00135DCC 4B FF 85 E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138E70 00135DD0 28 03 00 00 */ cmplwi r3, 0 -/* 80138E74 00135DD4 41 82 00 0C */ beq lbl_80138E80 -/* 80138E78 00135DD8 38 60 00 0A */ li r3, 0xa -/* 80138E7C 00135DDC 48 00 01 2C */ b lbl_80138FA8 -lbl_80138E80: -/* 80138E80 00135DE0 7F E3 FB 78 */ mr r3, r31 -/* 80138E84 00135DE4 38 80 00 04 */ li r4, 4 -/* 80138E88 00135DE8 4B FF 85 C9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138E8C 00135DEC 28 03 00 00 */ cmplwi r3, 0 -/* 80138E90 00135DF0 41 82 00 0C */ beq lbl_80138E9C -/* 80138E94 00135DF4 38 60 00 06 */ li r3, 6 -/* 80138E98 00135DF8 48 00 01 10 */ b lbl_80138FA8 -lbl_80138E9C: -/* 80138E9C 00135DFC 7F E3 FB 78 */ mr r3, r31 -/* 80138EA0 00135E00 38 80 00 16 */ li r4, 0x16 -/* 80138EA4 00135E04 4B FF 85 AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138EA8 00135E08 28 03 00 00 */ cmplwi r3, 0 -/* 80138EAC 00135E0C 41 82 00 0C */ beq lbl_80138EB8 -/* 80138EB0 00135E10 38 60 00 05 */ li r3, 5 -/* 80138EB4 00135E14 48 00 00 F4 */ b lbl_80138FA8 -lbl_80138EB8: -/* 80138EB8 00135E18 7F E3 FB 78 */ mr r3, r31 -/* 80138EBC 00135E1C 38 80 00 0E */ li r4, 0xe -/* 80138EC0 00135E20 4B FF 85 91 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138EC4 00135E24 28 03 00 00 */ cmplwi r3, 0 -/* 80138EC8 00135E28 41 82 00 0C */ beq lbl_80138ED4 -/* 80138ECC 00135E2C 38 60 00 0C */ li r3, 0xc -/* 80138ED0 00135E30 48 00 00 D8 */ b lbl_80138FA8 -lbl_80138ED4: -/* 80138ED4 00135E34 7F E3 FB 78 */ mr r3, r31 -/* 80138ED8 00135E38 38 80 00 05 */ li r4, 5 -/* 80138EDC 00135E3C 4B FF 85 75 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138EE0 00135E40 28 03 00 00 */ cmplwi r3, 0 -/* 80138EE4 00135E44 41 82 00 0C */ beq lbl_80138EF0 -/* 80138EE8 00135E48 38 60 00 07 */ li r3, 7 -/* 80138EEC 00135E4C 48 00 00 BC */ b lbl_80138FA8 -lbl_80138EF0: -/* 80138EF0 00135E50 7F E3 FB 78 */ mr r3, r31 -/* 80138EF4 00135E54 38 80 00 06 */ li r4, 6 -/* 80138EF8 00135E58 4B FF 85 59 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138EFC 00135E5C 28 03 00 00 */ cmplwi r3, 0 -/* 80138F00 00135E60 41 82 00 0C */ beq lbl_80138F0C -/* 80138F04 00135E64 38 60 00 12 */ li r3, 0x12 -/* 80138F08 00135E68 48 00 00 A0 */ b lbl_80138FA8 -lbl_80138F0C: -/* 80138F0C 00135E6C 7F E3 FB 78 */ mr r3, r31 -/* 80138F10 00135E70 38 80 00 07 */ li r4, 7 -/* 80138F14 00135E74 4B FF 85 3D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138F18 00135E78 28 03 00 00 */ cmplwi r3, 0 -/* 80138F1C 00135E7C 41 82 00 0C */ beq lbl_80138F28 -/* 80138F20 00135E80 38 60 00 09 */ li r3, 9 -/* 80138F24 00135E84 48 00 00 84 */ b lbl_80138FA8 -lbl_80138F28: -/* 80138F28 00135E88 7F E3 FB 78 */ mr r3, r31 -/* 80138F2C 00135E8C 38 80 00 10 */ li r4, 0x10 -/* 80138F30 00135E90 4B FF 85 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138F34 00135E94 28 03 00 00 */ cmplwi r3, 0 -/* 80138F38 00135E98 41 82 00 0C */ beq lbl_80138F44 -/* 80138F3C 00135E9C 38 60 00 0D */ li r3, 0xd -/* 80138F40 00135EA0 48 00 00 68 */ b lbl_80138FA8 -lbl_80138F44: -/* 80138F44 00135EA4 7F E3 FB 78 */ mr r3, r31 -/* 80138F48 00135EA8 38 80 00 08 */ li r4, 8 -/* 80138F4C 00135EAC 4B FF 85 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138F50 00135EB0 28 03 00 00 */ cmplwi r3, 0 -/* 80138F54 00135EB4 41 82 00 0C */ beq lbl_80138F60 -/* 80138F58 00135EB8 38 60 00 0A */ li r3, 0xa -/* 80138F5C 00135EBC 48 00 00 4C */ b lbl_80138FA8 -lbl_80138F60: -/* 80138F60 00135EC0 7F E3 FB 78 */ mr r3, r31 -/* 80138F64 00135EC4 38 80 00 13 */ li r4, 0x13 -/* 80138F68 00135EC8 4B FF 84 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138F6C 00135ECC 28 03 00 00 */ cmplwi r3, 0 -/* 80138F70 00135ED0 41 82 00 0C */ beq lbl_80138F7C -/* 80138F74 00135ED4 38 60 00 11 */ li r3, 0x11 -/* 80138F78 00135ED8 48 00 00 30 */ b lbl_80138FA8 -lbl_80138F7C: -/* 80138F7C 00135EDC 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 80138F80 00135EE0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80138F84 00135EE4 40 82 00 18 */ bne lbl_80138F9C -/* 80138F88 00135EE8 7F E3 FB 78 */ mr r3, r31 -/* 80138F8C 00135EEC 38 80 00 0C */ li r4, 0xc -/* 80138F90 00135EF0 4B FF 84 C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80138F94 00135EF4 28 03 00 00 */ cmplwi r3, 0 -/* 80138F98 00135EF8 41 82 00 0C */ beq lbl_80138FA4 -lbl_80138F9C: -/* 80138F9C 00135EFC 38 60 00 05 */ li r3, 5 -/* 80138FA0 00135F00 48 00 00 08 */ b lbl_80138FA8 -lbl_80138FA4: -/* 80138FA4 00135F04 38 60 FF FF */ li r3, -1 -lbl_80138FA8: -/* 80138FA8 00135F08 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80138FAC 00135F0C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80138FB0 00135F10 83 C1 00 08 */ lwz r30, 8(r1) -/* 80138FB4 00135F14 7C 08 03 A6 */ mtlr r0 -/* 80138FB8 00135F18 38 21 00 10 */ addi r1, r1, 0x10 -/* 80138FBC 00135F1C 4E 80 00 20 */ blr - -.global Shutdown__7CBSStepFR15CBodyController -Shutdown__7CBSStepFR15CBodyController: -/* 80138FC0 00135F20 4E 80 00 20 */ blr - -.global UpdateBody__7CBSStepFfR15CBodyControllerR13CStateManager -UpdateBody__7CBSStepFfR15CBodyControllerR13CStateManager: -/* 80138FC4 00135F24 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80138FC8 00135F28 7C 08 02 A6 */ mflr r0 -/* 80138FCC 00135F2C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80138FD0 00135F30 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 80138FD4 00135F34 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 80138FD8 00135F38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80138FDC 00135F3C 93 C1 00 08 */ stw r30, 8(r1) -/* 80138FE0 00135F40 FF E0 08 90 */ fmr f31, f1 -/* 80138FE4 00135F44 7C 9E 23 78 */ mr r30, r4 -/* 80138FE8 00135F48 4B FF FE 29 */ bl GetBodyStateTransition__7CBSStepFfR15CBodyController -/* 80138FEC 00135F4C 7C 7F 1B 78 */ mr r31, r3 -/* 80138FF0 00135F50 2C 1F FF FF */ cmpwi r31, -1 -/* 80138FF4 00135F54 40 82 00 50 */ bne lbl_80139044 -/* 80138FF8 00135F58 38 7E 00 1C */ addi r3, r30, 0x1c -/* 80138FFC 00135F5C C0 22 9A 58 */ lfs f1, lbl_805AB778@sda21(r2) -/* 80139000 00135F60 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80139004 00135F64 38 00 00 00 */ li r0, 0 -/* 80139008 00135F68 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013900C 00135F6C 40 82 00 1C */ bne lbl_80139028 -/* 80139010 00135F70 C0 03 00 04 */ lfs f0, 4(r3) -/* 80139014 00135F74 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80139018 00135F78 40 82 00 10 */ bne lbl_80139028 -/* 8013901C 00135F7C C0 03 00 08 */ lfs f0, 8(r3) -/* 80139020 00135F80 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80139024 00135F84 41 82 00 08 */ beq lbl_8013902C -lbl_80139028: -/* 80139028 00135F88 38 00 00 01 */ li r0, 1 -lbl_8013902C: -/* 8013902C 00135F8C 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80139030 00135F90 41 82 00 14 */ beq lbl_80139044 -/* 80139034 00135F94 FC 20 F8 90 */ fmr f1, f31 -/* 80139038 00135F98 7F C3 F3 78 */ mr r3, r30 -/* 8013903C 00135F9C 38 9E 00 1C */ addi r4, r30, 0x1c -/* 80139040 00135FA0 48 00 16 65 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_80139044: -/* 80139044 00135FA4 7F E3 FB 78 */ mr r3, r31 -/* 80139048 00135FA8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8013904C 00135FAC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80139050 00135FB0 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80139054 00135FB4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80139058 00135FB8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8013905C 00135FBC 7C 08 03 A6 */ mtlr r0 -/* 80139060 00135FC0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80139064 00135FC4 4E 80 00 20 */ blr - -.global Start__7CBSStepFR15CBodyControllerR13CStateManager -Start__7CBSStepFR15CBodyControllerR13CStateManager: -/* 80139068 00135FC8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8013906C 00135FCC 7C 08 02 A6 */ mflr r0 -/* 80139070 00135FD0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80139074 00135FD4 93 E1 00 AC */ stw r31, 0xac(r1) -/* 80139078 00135FD8 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8013907C 00135FDC 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 80139080 00135FE0 7C BD 2B 78 */ mr r29, r5 -/* 80139084 00135FE4 93 81 00 A0 */ stw r28, 0xa0(r1) -/* 80139088 00135FE8 7C 9C 23 78 */ mr r28, r4 -/* 8013908C 00135FEC 38 7C 00 04 */ addi r3, r28, 4 -/* 80139090 00135FF0 38 80 00 01 */ li r4, 1 -/* 80139094 00135FF4 4B FF 83 BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139098 00135FF8 83 E3 00 0C */ lwz r31, 0xc(r3) -/* 8013909C 00135FFC 83 C3 00 08 */ lwz r30, 8(r3) -/* 801390A0 00136000 38 61 00 10 */ addi r3, r1, 0x10 -/* 801390A4 00136004 48 1A 9F D9 */ bl NoParameter__12CPASAnimParmFv -/* 801390A8 00136008 38 61 00 18 */ addi r3, r1, 0x18 -/* 801390AC 0013600C 48 1A 9F D1 */ bl NoParameter__12CPASAnimParmFv -/* 801390B0 00136010 38 61 00 20 */ addi r3, r1, 0x20 -/* 801390B4 00136014 48 1A 9F C9 */ bl NoParameter__12CPASAnimParmFv -/* 801390B8 00136018 38 61 00 28 */ addi r3, r1, 0x28 -/* 801390BC 0013601C 48 1A 9F C1 */ bl NoParameter__12CPASAnimParmFv -/* 801390C0 00136020 38 61 00 30 */ addi r3, r1, 0x30 -/* 801390C4 00136024 48 1A 9F B9 */ bl NoParameter__12CPASAnimParmFv -/* 801390C8 00136028 38 61 00 38 */ addi r3, r1, 0x38 -/* 801390CC 0013602C 48 1A 9F B1 */ bl NoParameter__12CPASAnimParmFv -/* 801390D0 00136030 7F E4 FB 78 */ mr r4, r31 -/* 801390D4 00136034 38 61 00 40 */ addi r3, r1, 0x40 -/* 801390D8 00136038 48 1A 9E AD */ bl FromEnum__12CPASAnimParmFi -/* 801390DC 0013603C 7F C4 F3 78 */ mr r4, r30 -/* 801390E0 00136040 38 61 00 48 */ addi r3, r1, 0x48 -/* 801390E4 00136044 48 1A 9E A1 */ bl FromEnum__12CPASAnimParmFi -/* 801390E8 00136048 38 61 00 18 */ addi r3, r1, 0x18 -/* 801390EC 0013604C 38 01 00 10 */ addi r0, r1, 0x10 -/* 801390F0 00136050 90 61 00 08 */ stw r3, 8(r1) -/* 801390F4 00136054 38 61 00 50 */ addi r3, r1, 0x50 -/* 801390F8 00136058 38 A1 00 48 */ addi r5, r1, 0x48 -/* 801390FC 0013605C 38 C1 00 40 */ addi r6, r1, 0x40 -/* 80139100 00136060 90 01 00 0C */ stw r0, 0xc(r1) -/* 80139104 00136064 38 E1 00 38 */ addi r7, r1, 0x38 -/* 80139108 00136068 39 01 00 30 */ addi r8, r1, 0x30 -/* 8013910C 0013606C 39 21 00 28 */ addi r9, r1, 0x28 -/* 80139110 00136070 39 41 00 20 */ addi r10, r1, 0x20 -/* 80139114 00136074 38 80 00 03 */ li r4, 3 -/* 80139118 00136078 4B F4 41 AD */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013911C 0013607C 80 BD 09 00 */ lwz r5, 0x900(r29) -/* 80139120 00136080 7F 83 E3 78 */ mr r3, r28 -/* 80139124 00136084 38 81 00 50 */ addi r4, r1, 0x50 -/* 80139128 00136088 48 00 12 81 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 8013912C 0013608C 34 A1 00 54 */ addic. r5, r1, 0x54 -/* 80139130 00136090 41 82 00 58 */ beq lbl_80139188 -/* 80139134 00136094 80 C5 00 00 */ lwz r6, 0(r5) -/* 80139138 00136098 38 60 00 00 */ li r3, 0 -/* 8013913C 0013609C 2C 06 00 00 */ cmpwi r6, 0 -/* 80139140 001360A0 40 81 00 40 */ ble lbl_80139180 -/* 80139144 001360A4 2C 06 00 08 */ cmpwi r6, 8 -/* 80139148 001360A8 38 86 FF F8 */ addi r4, r6, -8 -/* 8013914C 001360AC 40 81 00 20 */ ble lbl_8013916C -/* 80139150 001360B0 38 04 00 07 */ addi r0, r4, 7 -/* 80139154 001360B4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80139158 001360B8 7C 09 03 A6 */ mtctr r0 -/* 8013915C 001360BC 2C 04 00 00 */ cmpwi r4, 0 -/* 80139160 001360C0 40 81 00 0C */ ble lbl_8013916C -lbl_80139164: -/* 80139164 001360C4 38 63 00 08 */ addi r3, r3, 8 -/* 80139168 001360C8 42 00 FF FC */ bdnz lbl_80139164 -lbl_8013916C: -/* 8013916C 001360CC 7C 03 30 50 */ subf r0, r3, r6 -/* 80139170 001360D0 7C 09 03 A6 */ mtctr r0 -/* 80139174 001360D4 7C 03 30 00 */ cmpw r3, r6 -/* 80139178 001360D8 40 80 00 08 */ bge lbl_80139180 -lbl_8013917C: -/* 8013917C 001360DC 42 00 00 00 */ bdnz lbl_8013917C -lbl_80139180: -/* 80139180 001360E0 38 00 00 00 */ li r0, 0 -/* 80139184 001360E4 90 05 00 00 */ stw r0, 0(r5) -lbl_80139188: -/* 80139188 001360E8 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8013918C 001360EC 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 80139190 001360F0 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80139194 001360F4 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80139198 001360F8 83 81 00 A0 */ lwz r28, 0xa0(r1) -/* 8013919C 001360FC 7C 08 03 A6 */ mtlr r0 -/* 801391A0 00136100 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 801391A4 00136104 4E 80 00 20 */ blr - -.global __ct__7CBSStepFv -__ct__7CBSStepFv: -/* 801391A8 00136108 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 801391AC 0013610C 3C 80 80 3E */ lis r4, lbl_803E1718@ha -/* 801391B0 00136110 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l -/* 801391B4 00136114 90 A3 00 00 */ stw r5, 0(r3) -/* 801391B8 00136118 38 04 17 18 */ addi r0, r4, lbl_803E1718@l -/* 801391BC 0013611C 90 03 00 00 */ stw r0, 0(r3) -/* 801391C0 00136120 4E 80 00 20 */ blr - -.global __dt__12CBSFlyerTurnFv -__dt__12CBSFlyerTurnFv: -/* 801391C4 00136124 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801391C8 00136128 7C 08 02 A6 */ mflr r0 -/* 801391CC 0013612C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801391D0 00136130 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801391D4 00136134 7C 7F 1B 79 */ or. r31, r3, r3 -/* 801391D8 00136138 41 82 00 40 */ beq lbl_80139218 -/* 801391DC 0013613C 3C 60 80 3E */ lis r3, lbl_803E1750@ha -/* 801391E0 00136140 38 03 17 50 */ addi r0, r3, lbl_803E1750@l -/* 801391E4 00136144 90 1F 00 00 */ stw r0, 0(r31) -/* 801391E8 00136148 41 82 00 20 */ beq lbl_80139208 -/* 801391EC 0013614C 3C 60 80 3E */ lis r3, lbl_803E178C@ha -/* 801391F0 00136150 38 03 17 8C */ addi r0, r3, lbl_803E178C@l -/* 801391F4 00136154 90 1F 00 00 */ stw r0, 0(r31) -/* 801391F8 00136158 41 82 00 10 */ beq lbl_80139208 -/* 801391FC 0013615C 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80139200 00136160 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80139204 00136164 90 1F 00 00 */ stw r0, 0(r31) -lbl_80139208: -/* 80139208 00136168 7C 80 07 35 */ extsh. r0, r4 -/* 8013920C 0013616C 40 81 00 0C */ ble lbl_80139218 -/* 80139210 00136170 7F E3 FB 78 */ mr r3, r31 -/* 80139214 00136174 48 1D C7 1D */ bl Free__7CMemoryFPCv -lbl_80139218: -/* 80139218 00136178 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013921C 0013617C 7F E3 FB 78 */ mr r3, r31 -/* 80139220 00136180 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80139224 00136184 7C 08 03 A6 */ mtlr r0 -/* 80139228 00136188 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013922C 0013618C 4E 80 00 20 */ blr - -.global CanShoot__7CBSTurnCFv -CanShoot__7CBSTurnCFv: -/* 80139230 00136190 38 60 00 01 */ li r3, 1 -/* 80139234 00136194 4E 80 00 20 */ blr - -.global UpdateBody__12CBSFlyerTurnFfR15CBodyControllerR13CStateManager -UpdateBody__12CBSFlyerTurnFfR15CBodyControllerR13CStateManager: -/* 80139238 00136198 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 8013923C 0013619C 7C 08 02 A6 */ mflr r0 -/* 80139240 001361A0 90 01 00 64 */ stw r0, 0x64(r1) -/* 80139244 001361A4 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80139248 001361A8 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 8013924C 001361AC 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80139250 001361B0 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80139254 001361B4 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80139258 001361B8 FF E0 08 90 */ fmr f31, f1 -/* 8013925C 001361BC 7C 9E 23 78 */ mr r30, r4 -/* 80139260 001361C0 7C 7D 1B 78 */ mr r29, r3 -/* 80139264 001361C4 7C BF 2B 78 */ mr r31, r5 -/* 80139268 001361C8 7F C3 F3 78 */ mr r3, r30 -/* 8013926C 001361CC 48 00 11 E9 */ bl GetPASDatabase__15CBodyControllerCFv -/* 80139270 001361D0 38 80 00 08 */ li r4, 8 -/* 80139274 001361D4 48 1A BC 51 */ bl GetAnimState__12CPASDatabaseCFi -/* 80139278 001361D8 80 03 00 18 */ lwz r0, 0x18(r3) -/* 8013927C 001361DC 28 00 00 00 */ cmplwi r0, 0 -/* 80139280 001361E0 41 82 00 20 */ beq lbl_801392A0 -/* 80139284 001361E4 FC 20 F8 90 */ fmr f1, f31 -/* 80139288 001361E8 7F A3 EB 78 */ mr r3, r29 -/* 8013928C 001361EC 7F C4 F3 78 */ mr r4, r30 -/* 80139290 001361F0 7F E5 FB 78 */ mr r5, r31 -/* 80139294 001361F4 48 00 06 F5 */ bl UpdateBody__7CBSTurnFfR15CBodyControllerR13CStateManager -/* 80139298 001361F8 7C 7F 1B 78 */ mr r31, r3 -/* 8013929C 001361FC 48 00 01 0C */ b lbl_801393A8 -lbl_801392A0: -/* 801392A0 00136200 7F A3 EB 78 */ mr r3, r29 -/* 801392A4 00136204 FC 20 F8 90 */ fmr f1, f31 -/* 801392A8 00136208 81 9D 00 00 */ lwz r12, 0(r29) -/* 801392AC 0013620C 7F C4 F3 78 */ mr r4, r30 -/* 801392B0 00136210 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 801392B4 00136214 7D 89 03 A6 */ mtctr r12 -/* 801392B8 00136218 4E 80 04 21 */ bctrl -/* 801392BC 0013621C 7C 7F 1B 78 */ mr r31, r3 -/* 801392C0 00136220 2C 1F FF FF */ cmpwi r31, -1 -/* 801392C4 00136224 40 82 00 E4 */ bne lbl_801393A8 -/* 801392C8 00136228 C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 801392CC 0013622C 38 00 00 00 */ li r0, 0 -/* 801392D0 00136230 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) -/* 801392D4 00136234 C0 5E 00 14 */ lfs f2, 0x14(r30) -/* 801392D8 00136238 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 801392DC 0013623C C0 7E 00 18 */ lfs f3, 0x18(r30) -/* 801392E0 00136240 40 82 00 14 */ bne lbl_801392F4 -/* 801392E4 00136244 FC 00 10 00 */ fcmpu cr0, f0, f2 -/* 801392E8 00136248 40 82 00 0C */ bne lbl_801392F4 -/* 801392EC 0013624C FC 00 18 00 */ fcmpu cr0, f0, f3 -/* 801392F0 00136250 41 82 00 08 */ beq lbl_801392F8 -lbl_801392F4: -/* 801392F4 00136254 38 00 00 01 */ li r0, 1 -lbl_801392F8: -/* 801392F8 00136258 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 801392FC 0013625C 41 82 00 84 */ beq lbl_80139380 -/* 80139300 00136260 38 61 00 18 */ addi r3, r1, 0x18 -/* 80139304 00136264 48 1D AE FD */ bl __ct__9CVector2fFff -/* 80139308 00136268 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8013930C 0013626C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80139310 00136270 D0 1D 00 08 */ stfs f0, 8(r29) -/* 80139314 00136274 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 80139318 00136278 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8013931C 0013627C 80 9E 00 00 */ lwz r4, 0(r30) -/* 80139320 00136280 C0 24 00 38 */ lfs f1, 0x38(r4) -/* 80139324 00136284 C0 44 00 48 */ lfs f2, 0x48(r4) -/* 80139328 00136288 48 1D AE D9 */ bl __ct__9CVector2fFff -/* 8013932C 0013628C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80139330 00136290 38 61 00 08 */ addi r3, r1, 8 -/* 80139334 00136294 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80139338 00136298 FC 40 00 50 */ fneg f2, f0 -/* 8013933C 0013629C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80139340 001362A0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80139344 001362A4 48 1D AE BD */ bl __ct__9CVector2fFff -/* 80139348 001362A8 C0 21 00 08 */ lfs f1, 8(r1) -/* 8013934C 001362AC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80139350 001362B0 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80139354 001362B4 38 9D 00 08 */ addi r4, r29, 8 -/* 80139358 001362B8 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8013935C 001362BC D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80139360 001362C0 48 1D AC 49 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 80139364 001362C4 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) -/* 80139368 001362C8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013936C 001362CC 40 81 00 0C */ ble lbl_80139378 -/* 80139370 001362D0 38 00 00 01 */ li r0, 1 -/* 80139374 001362D4 48 00 00 08 */ b lbl_8013937C -lbl_80139378: -/* 80139378 001362D8 38 00 00 00 */ li r0, 0 -lbl_8013937C: -/* 8013937C 001362DC 90 1D 00 10 */ stw r0, 0x10(r29) -lbl_80139380: -/* 80139380 001362E0 C0 5D 00 08 */ lfs f2, 8(r29) -/* 80139384 001362E4 FC 20 F8 90 */ fmr f1, f31 -/* 80139388 001362E8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) -/* 8013938C 001362EC 7F C3 F3 78 */ mr r3, r30 -/* 80139390 001362F0 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 80139394 001362F4 38 81 00 30 */ addi r4, r1, 0x30 -/* 80139398 001362F8 C0 5D 00 0C */ lfs f2, 0xc(r29) -/* 8013939C 001362FC D0 41 00 34 */ stfs f2, 0x34(r1) -/* 801393A0 00136300 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 801393A4 00136304 48 00 13 01 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_801393A8: -/* 801393A8 00136308 7F E3 FB 78 */ mr r3, r31 -/* 801393AC 0013630C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 801393B0 00136310 80 01 00 64 */ lwz r0, 0x64(r1) -/* 801393B4 00136314 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 801393B8 00136318 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 801393BC 0013631C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 801393C0 00136320 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 801393C4 00136324 7C 08 03 A6 */ mtlr r0 -/* 801393C8 00136328 38 21 00 60 */ addi r1, r1, 0x60 -/* 801393CC 0013632C 4E 80 00 20 */ blr - -.global Start__12CBSFlyerTurnFR15CBodyControllerR13CStateManager -Start__12CBSFlyerTurnFR15CBodyControllerR13CStateManager: -/* 801393D0 00136330 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 801393D4 00136334 7C 08 02 A6 */ mflr r0 -/* 801393D8 00136338 90 01 01 04 */ stw r0, 0x104(r1) -/* 801393DC 0013633C 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 801393E0 00136340 7C 7F 1B 78 */ mr r31, r3 -/* 801393E4 00136344 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 801393E8 00136348 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 801393EC 0013634C 7C BD 2B 78 */ mr r29, r5 -/* 801393F0 00136350 93 81 00 F0 */ stw r28, 0xf0(r1) -/* 801393F4 00136354 7C 9C 23 78 */ mr r28, r4 -/* 801393F8 00136358 7F 83 E3 78 */ mr r3, r28 -/* 801393FC 0013635C 48 00 10 59 */ bl GetPASDatabase__15CBodyControllerCFv -/* 80139400 00136360 38 80 00 08 */ li r4, 8 -/* 80139404 00136364 7C 7E 1B 78 */ mr r30, r3 -/* 80139408 00136368 48 1A BA BD */ bl GetAnimState__12CPASDatabaseCFi -/* 8013940C 0013636C 80 03 00 18 */ lwz r0, 0x18(r3) -/* 80139410 00136370 28 00 00 00 */ cmplwi r0, 0 -/* 80139414 00136374 41 82 00 18 */ beq lbl_8013942C -/* 80139418 00136378 7F E3 FB 78 */ mr r3, r31 -/* 8013941C 0013637C 7F 84 E3 78 */ mr r4, r28 -/* 80139420 00136380 7F A5 EB 78 */ mr r5, r29 -/* 80139424 00136384 48 00 05 F9 */ bl Start__7CBSTurnFR15CBodyControllerR13CStateManager -/* 80139428 00136388 48 00 01 DC */ b lbl_80139604 -lbl_8013942C: -/* 8013942C 0013638C C0 3C 00 10 */ lfs f1, 0x10(r28) -/* 80139430 00136390 38 61 00 68 */ addi r3, r1, 0x68 -/* 80139434 00136394 C0 5C 00 14 */ lfs f2, 0x14(r28) -/* 80139438 00136398 48 1D AD C9 */ bl __ct__9CVector2fFff -/* 8013943C 0013639C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80139440 001363A0 38 61 00 60 */ addi r3, r1, 0x60 -/* 80139444 001363A4 D0 1F 00 08 */ stfs f0, 8(r31) -/* 80139448 001363A8 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 8013944C 001363AC D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 80139450 001363B0 80 9C 00 00 */ lwz r4, 0(r28) -/* 80139454 001363B4 C0 24 00 38 */ lfs f1, 0x38(r4) -/* 80139458 001363B8 C0 44 00 48 */ lfs f2, 0x48(r4) -/* 8013945C 001363BC 48 1D AD A5 */ bl __ct__9CVector2fFff -/* 80139460 001363C0 C0 01 00 60 */ lfs f0, 0x60(r1) -/* 80139464 001363C4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80139468 001363C8 C0 21 00 64 */ lfs f1, 0x64(r1) -/* 8013946C 001363CC FC 40 00 50 */ fneg f2, f0 -/* 80139470 001363D0 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 80139474 001363D4 D0 21 00 7C */ stfs f1, 0x7c(r1) -/* 80139478 001363D8 48 1D AD 89 */ bl __ct__9CVector2fFff -/* 8013947C 001363DC C0 21 00 58 */ lfs f1, 0x58(r1) -/* 80139480 001363E0 38 61 00 70 */ addi r3, r1, 0x70 -/* 80139484 001363E4 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 80139488 001363E8 38 9F 00 08 */ addi r4, r31, 8 -/* 8013948C 001363EC D0 21 00 70 */ stfs f1, 0x70(r1) -/* 80139490 001363F0 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80139494 001363F4 48 1D AB 15 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 80139498 001363F8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) -/* 8013949C 001363FC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801394A0 00136400 40 81 00 0C */ ble lbl_801394AC -/* 801394A4 00136404 38 00 00 01 */ li r0, 1 -/* 801394A8 00136408 48 00 00 08 */ b lbl_801394B0 -lbl_801394AC: -/* 801394AC 0013640C 38 00 00 00 */ li r0, 0 -lbl_801394B0: -/* 801394B0 00136410 90 1F 00 10 */ stw r0, 0x10(r31) -/* 801394B4 00136414 38 61 00 18 */ addi r3, r1, 0x18 -/* 801394B8 00136418 83 FC 02 EC */ lwz r31, 0x2ec(r28) -/* 801394BC 0013641C 48 1A 9B C1 */ bl NoParameter__12CPASAnimParmFv -/* 801394C0 00136420 38 61 00 20 */ addi r3, r1, 0x20 -/* 801394C4 00136424 48 1A 9B B9 */ bl NoParameter__12CPASAnimParmFv -/* 801394C8 00136428 38 61 00 28 */ addi r3, r1, 0x28 -/* 801394CC 0013642C 48 1A 9B B1 */ bl NoParameter__12CPASAnimParmFv -/* 801394D0 00136430 38 61 00 30 */ addi r3, r1, 0x30 -/* 801394D4 00136434 48 1A 9B A9 */ bl NoParameter__12CPASAnimParmFv -/* 801394D8 00136438 38 61 00 38 */ addi r3, r1, 0x38 -/* 801394DC 0013643C 48 1A 9B A1 */ bl NoParameter__12CPASAnimParmFv -/* 801394E0 00136440 38 61 00 40 */ addi r3, r1, 0x40 -/* 801394E4 00136444 48 1A 9B 99 */ bl NoParameter__12CPASAnimParmFv -/* 801394E8 00136448 7F E4 FB 78 */ mr r4, r31 -/* 801394EC 0013644C 38 61 00 48 */ addi r3, r1, 0x48 -/* 801394F0 00136450 48 1A 9A 95 */ bl FromEnum__12CPASAnimParmFi -/* 801394F4 00136454 38 61 00 50 */ addi r3, r1, 0x50 -/* 801394F8 00136458 38 80 00 00 */ li r4, 0 -/* 801394FC 0013645C 48 1A 9A 89 */ bl FromEnum__12CPASAnimParmFi -/* 80139500 00136460 38 61 00 20 */ addi r3, r1, 0x20 -/* 80139504 00136464 38 01 00 18 */ addi r0, r1, 0x18 -/* 80139508 00136468 90 61 00 08 */ stw r3, 8(r1) -/* 8013950C 0013646C 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80139510 00136470 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80139514 00136474 38 C1 00 48 */ addi r6, r1, 0x48 -/* 80139518 00136478 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013951C 0013647C 38 E1 00 40 */ addi r7, r1, 0x40 -/* 80139520 00136480 39 01 00 38 */ addi r8, r1, 0x38 -/* 80139524 00136484 39 21 00 30 */ addi r9, r1, 0x30 -/* 80139528 00136488 39 41 00 28 */ addi r10, r1, 0x28 -/* 8013952C 0013648C 38 80 00 05 */ li r4, 5 -/* 80139530 00136490 4B F4 3D 95 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80139534 00136494 80 DD 09 00 */ lwz r6, 0x900(r29) -/* 80139538 00136498 7F C4 F3 78 */ mr r4, r30 -/* 8013953C 0013649C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80139540 001364A0 38 A1 00 A8 */ addi r5, r1, 0xa8 -/* 80139544 001364A4 38 E0 FF FF */ li r7, -1 -/* 80139548 001364A8 48 1A BB 19 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 8013954C 001364AC 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80139550 001364B0 80 1C 02 F8 */ lwz r0, 0x2f8(r28) -/* 80139554 001364B4 7C 03 00 00 */ cmpw r3, r0 -/* 80139558 001364B8 41 82 00 50 */ beq lbl_801395A8 -/* 8013955C 001364BC C0 02 9A 64 */ lfs f0, lbl_805AB784@sda21(r2) -/* 80139560 001364C0 38 00 00 00 */ li r0, 0 -/* 80139564 001364C4 38 C0 FF FF */ li r6, -1 -/* 80139568 001364C8 38 E0 00 01 */ li r7, 1 -/* 8013956C 001364CC 90 61 00 80 */ stw r3, 0x80(r1) -/* 80139570 001364D0 7F 83 E3 78 */ mr r3, r28 -/* 80139574 001364D4 38 81 00 80 */ addi r4, r1, 0x80 -/* 80139578 001364D8 38 A0 00 01 */ li r5, 1 -/* 8013957C 001364DC 90 C1 00 84 */ stw r6, 0x84(r1) -/* 80139580 001364E0 38 C0 00 00 */ li r6, 0 -/* 80139584 001364E4 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 80139588 001364E8 98 E1 00 8C */ stb r7, 0x8c(r1) -/* 8013958C 001364EC 90 01 00 90 */ stw r0, 0x90(r1) -/* 80139590 001364F0 90 01 00 94 */ stw r0, 0x94(r1) -/* 80139594 001364F4 98 01 00 98 */ stb r0, 0x98(r1) -/* 80139598 001364F8 90 01 00 9C */ stw r0, 0x9c(r1) -/* 8013959C 001364FC 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 801395A0 00136500 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 801395A4 00136504 48 00 13 79 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -lbl_801395A8: -/* 801395A8 00136508 34 A1 00 AC */ addic. r5, r1, 0xac -/* 801395AC 0013650C 41 82 00 58 */ beq lbl_80139604 -/* 801395B0 00136510 80 C5 00 00 */ lwz r6, 0(r5) -/* 801395B4 00136514 38 60 00 00 */ li r3, 0 -/* 801395B8 00136518 2C 06 00 00 */ cmpwi r6, 0 -/* 801395BC 0013651C 40 81 00 40 */ ble lbl_801395FC -/* 801395C0 00136520 2C 06 00 08 */ cmpwi r6, 8 -/* 801395C4 00136524 38 86 FF F8 */ addi r4, r6, -8 -/* 801395C8 00136528 40 81 00 20 */ ble lbl_801395E8 -/* 801395CC 0013652C 38 04 00 07 */ addi r0, r4, 7 -/* 801395D0 00136530 54 00 E8 FE */ srwi r0, r0, 3 -/* 801395D4 00136534 7C 09 03 A6 */ mtctr r0 -/* 801395D8 00136538 2C 04 00 00 */ cmpwi r4, 0 -/* 801395DC 0013653C 40 81 00 0C */ ble lbl_801395E8 -lbl_801395E0: -/* 801395E0 00136540 38 63 00 08 */ addi r3, r3, 8 -/* 801395E4 00136544 42 00 FF FC */ bdnz lbl_801395E0 -lbl_801395E8: -/* 801395E8 00136548 7C 03 30 50 */ subf r0, r3, r6 -/* 801395EC 0013654C 7C 09 03 A6 */ mtctr r0 -/* 801395F0 00136550 7C 03 30 00 */ cmpw r3, r6 -/* 801395F4 00136554 40 80 00 08 */ bge lbl_801395FC -lbl_801395F8: -/* 801395F8 00136558 42 00 00 00 */ bdnz lbl_801395F8 -lbl_801395FC: -/* 801395FC 0013655C 38 00 00 00 */ li r0, 0 -/* 80139600 00136560 90 05 00 00 */ stw r0, 0(r5) -lbl_80139604: -/* 80139604 00136564 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80139608 00136568 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 8013960C 0013656C 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 80139610 00136570 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 80139614 00136574 83 81 00 F0 */ lwz r28, 0xf0(r1) -/* 80139618 00136578 7C 08 03 A6 */ mtlr r0 -/* 8013961C 0013657C 38 21 01 00 */ addi r1, r1, 0x100 -/* 80139620 00136580 4E 80 00 20 */ blr - -.global __ct__12CBSFlyerTurnFv -__ct__12CBSFlyerTurnFv: -/* 80139624 00136584 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80139628 00136588 7C 08 02 A6 */ mflr r0 -/* 8013962C 0013658C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80139630 00136590 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80139634 00136594 7C 7F 1B 78 */ mr r31, r3 -/* 80139638 00136598 48 00 06 A9 */ bl __ct__7CBSTurnFv -/* 8013963C 0013659C 3C 80 80 3E */ lis r4, lbl_803E1750@ha -/* 80139640 001365A0 7F E3 FB 78 */ mr r3, r31 -/* 80139644 001365A4 38 04 17 50 */ addi r0, r4, lbl_803E1750@l -/* 80139648 001365A8 90 1F 00 00 */ stw r0, 0(r31) -/* 8013964C 001365AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80139650 001365B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80139654 001365B4 7C 08 03 A6 */ mtlr r0 -/* 80139658 001365B8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013965C 001365BC 4E 80 00 20 */ blr - -.global __dt__7CBSTurnFv -__dt__7CBSTurnFv: -/* 80139660 001365C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80139664 001365C4 7C 08 02 A6 */ mflr r0 -/* 80139668 001365C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013966C 001365CC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80139670 001365D0 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80139674 001365D4 41 82 00 30 */ beq lbl_801396A4 -/* 80139678 001365D8 3C 60 80 3E */ lis r3, lbl_803E178C@ha -/* 8013967C 001365DC 38 03 17 8C */ addi r0, r3, lbl_803E178C@l -/* 80139680 001365E0 90 1F 00 00 */ stw r0, 0(r31) -/* 80139684 001365E4 41 82 00 10 */ beq lbl_80139694 -/* 80139688 001365E8 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 8013968C 001365EC 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80139690 001365F0 90 1F 00 00 */ stw r0, 0(r31) -lbl_80139694: -/* 80139694 001365F4 7C 80 07 35 */ extsh. r0, r4 -/* 80139698 001365F8 40 81 00 0C */ ble lbl_801396A4 -/* 8013969C 001365FC 7F E3 FB 78 */ mr r3, r31 -/* 801396A0 00136600 48 1D C2 91 */ bl Free__7CMemoryFPCv -lbl_801396A4: -/* 801396A4 00136604 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801396A8 00136608 7F E3 FB 78 */ mr r3, r31 -/* 801396AC 0013660C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801396B0 00136610 7C 08 03 A6 */ mtlr r0 -/* 801396B4 00136614 38 21 00 10 */ addi r1, r1, 0x10 -/* 801396B8 00136618 4E 80 00 20 */ blr - -.global GetBodyStateTransition__7CBSTurnFfR15CBodyController -GetBodyStateTransition__7CBSTurnFfR15CBodyController: -/* 801396BC 0013661C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801396C0 00136620 7C 08 02 A6 */ mflr r0 -/* 801396C4 00136624 90 01 00 24 */ stw r0, 0x24(r1) -/* 801396C8 00136628 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801396CC 0013662C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801396D0 00136630 7C 9E 23 78 */ mr r30, r4 -/* 801396D4 00136634 3B FE 00 04 */ addi r31, r30, 4 -/* 801396D8 00136638 38 80 00 0F */ li r4, 0xf -/* 801396DC 0013663C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801396E0 00136640 7C 7D 1B 78 */ mr r29, r3 -/* 801396E4 00136644 7F E3 FB 78 */ mr r3, r31 -/* 801396E8 00136648 4B FF 7D 69 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801396EC 0013664C 28 03 00 00 */ cmplwi r3, 0 -/* 801396F0 00136650 41 82 00 0C */ beq lbl_801396FC -/* 801396F4 00136654 38 60 00 0E */ li r3, 0xe -/* 801396F8 00136658 48 00 01 B8 */ b lbl_801398B0 -lbl_801396FC: -/* 801396FC 0013665C 7F E3 FB 78 */ mr r3, r31 -/* 80139700 00136660 38 80 00 03 */ li r4, 3 -/* 80139704 00136664 4B FF 7D 4D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139708 00136668 28 03 00 00 */ cmplwi r3, 0 -/* 8013970C 0013666C 41 82 00 0C */ beq lbl_80139718 -/* 80139710 00136670 38 60 00 00 */ li r3, 0 -/* 80139714 00136674 48 00 01 9C */ b lbl_801398B0 -lbl_80139718: -/* 80139718 00136678 7F E3 FB 78 */ mr r3, r31 -/* 8013971C 0013667C 38 80 00 09 */ li r4, 9 -/* 80139720 00136680 4B FF 7D 31 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139724 00136684 28 03 00 00 */ cmplwi r3, 0 -/* 80139728 00136688 41 82 00 0C */ beq lbl_80139734 -/* 8013972C 0013668C 38 60 00 0A */ li r3, 0xa -/* 80139730 00136690 48 00 01 80 */ b lbl_801398B0 -lbl_80139734: -/* 80139734 00136694 7F E3 FB 78 */ mr r3, r31 -/* 80139738 00136698 38 80 00 04 */ li r4, 4 -/* 8013973C 0013669C 4B FF 7D 15 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139740 001366A0 28 03 00 00 */ cmplwi r3, 0 -/* 80139744 001366A4 41 82 00 0C */ beq lbl_80139750 -/* 80139748 001366A8 38 60 00 06 */ li r3, 6 -/* 8013974C 001366AC 48 00 01 64 */ b lbl_801398B0 -lbl_80139750: -/* 80139750 001366B0 7F E3 FB 78 */ mr r3, r31 -/* 80139754 001366B4 38 80 00 16 */ li r4, 0x16 -/* 80139758 001366B8 4B FF 7C F9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013975C 001366BC 28 03 00 00 */ cmplwi r3, 0 -/* 80139760 001366C0 41 82 00 0C */ beq lbl_8013976C -/* 80139764 001366C4 38 60 00 05 */ li r3, 5 -/* 80139768 001366C8 48 00 01 48 */ b lbl_801398B0 -lbl_8013976C: -/* 8013976C 001366CC 7F E3 FB 78 */ mr r3, r31 -/* 80139770 001366D0 38 80 00 0E */ li r4, 0xe -/* 80139774 001366D4 4B FF 7C DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139778 001366D8 28 03 00 00 */ cmplwi r3, 0 -/* 8013977C 001366DC 41 82 00 0C */ beq lbl_80139788 -/* 80139780 001366E0 38 60 00 0C */ li r3, 0xc -/* 80139784 001366E4 48 00 01 2C */ b lbl_801398B0 -lbl_80139788: -/* 80139788 001366E8 7F E3 FB 78 */ mr r3, r31 -/* 8013978C 001366EC 38 80 00 05 */ li r4, 5 -/* 80139790 001366F0 4B FF 7C C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139794 001366F4 28 03 00 00 */ cmplwi r3, 0 -/* 80139798 001366F8 41 82 00 0C */ beq lbl_801397A4 -/* 8013979C 001366FC 38 60 00 07 */ li r3, 7 -/* 801397A0 00136700 48 00 01 10 */ b lbl_801398B0 -lbl_801397A4: -/* 801397A4 00136704 7F E3 FB 78 */ mr r3, r31 -/* 801397A8 00136708 38 80 00 06 */ li r4, 6 -/* 801397AC 0013670C 4B FF 7C A5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801397B0 00136710 28 03 00 00 */ cmplwi r3, 0 -/* 801397B4 00136714 41 82 00 0C */ beq lbl_801397C0 -/* 801397B8 00136718 38 60 00 12 */ li r3, 0x12 -/* 801397BC 0013671C 48 00 00 F4 */ b lbl_801398B0 -lbl_801397C0: -/* 801397C0 00136720 7F E3 FB 78 */ mr r3, r31 -/* 801397C4 00136724 38 80 00 07 */ li r4, 7 -/* 801397C8 00136728 4B FF 7C 89 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801397CC 0013672C 28 03 00 00 */ cmplwi r3, 0 -/* 801397D0 00136730 41 82 00 0C */ beq lbl_801397DC -/* 801397D4 00136734 38 60 00 09 */ li r3, 9 -/* 801397D8 00136738 48 00 00 D8 */ b lbl_801398B0 -lbl_801397DC: -/* 801397DC 0013673C 7F E3 FB 78 */ mr r3, r31 -/* 801397E0 00136740 38 80 00 08 */ li r4, 8 -/* 801397E4 00136744 4B FF 7C 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801397E8 00136748 28 03 00 00 */ cmplwi r3, 0 -/* 801397EC 0013674C 41 82 00 0C */ beq lbl_801397F8 -/* 801397F0 00136750 38 60 00 0A */ li r3, 0xa -/* 801397F4 00136754 48 00 00 BC */ b lbl_801398B0 -lbl_801397F8: -/* 801397F8 00136758 7F E3 FB 78 */ mr r3, r31 -/* 801397FC 0013675C 38 80 00 10 */ li r4, 0x10 -/* 80139800 00136760 4B FF 7C 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139804 00136764 28 03 00 00 */ cmplwi r3, 0 -/* 80139808 00136768 41 82 00 0C */ beq lbl_80139814 -/* 8013980C 0013676C 38 60 00 0D */ li r3, 0xd -/* 80139810 00136770 48 00 00 A0 */ b lbl_801398B0 -lbl_80139814: -/* 80139814 00136774 7F E3 FB 78 */ mr r3, r31 -/* 80139818 00136778 38 80 00 01 */ li r4, 1 -/* 8013981C 0013677C 4B FF 7C 35 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139820 00136780 28 03 00 00 */ cmplwi r3, 0 -/* 80139824 00136784 41 82 00 0C */ beq lbl_80139830 -/* 80139828 00136788 38 60 00 03 */ li r3, 3 -/* 8013982C 0013678C 48 00 00 84 */ b lbl_801398B0 -lbl_80139830: -/* 80139830 00136790 7F E3 FB 78 */ mr r3, r31 -/* 80139834 00136794 38 80 00 13 */ li r4, 0x13 -/* 80139838 00136798 4B FF 7C 19 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013983C 0013679C 28 03 00 00 */ cmplwi r3, 0 -/* 80139840 001367A0 41 82 00 0C */ beq lbl_8013984C -/* 80139844 001367A4 38 60 00 11 */ li r3, 0x11 -/* 80139848 001367A8 48 00 00 68 */ b lbl_801398B0 -lbl_8013984C: -/* 8013984C 001367AC 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 80139850 001367B0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80139854 001367B4 40 82 00 50 */ bne lbl_801398A4 -/* 80139858 001367B8 7F A3 EB 78 */ mr r3, r29 -/* 8013985C 001367BC 7F C4 F3 78 */ mr r4, r30 -/* 80139860 001367C0 48 00 00 6D */ bl FacingDest__7CBSTurnCFR15CBodyController -/* 80139864 001367C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80139868 001367C8 40 82 00 3C */ bne lbl_801398A4 -/* 8013986C 001367CC C0 22 9A 60 */ lfs f1, lbl_805AB780@sda21(r2) -/* 80139870 001367D0 38 00 00 00 */ li r0, 0 -/* 80139874 001367D4 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80139878 001367D8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013987C 001367DC 40 82 00 1C */ bne lbl_80139898 -/* 80139880 001367E0 C0 1F 00 04 */ lfs f0, 4(r31) -/* 80139884 001367E4 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80139888 001367E8 40 82 00 10 */ bne lbl_80139898 -/* 8013988C 001367EC C0 1F 00 08 */ lfs f0, 8(r31) -/* 80139890 001367F0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80139894 001367F4 41 82 00 08 */ beq lbl_8013989C -lbl_80139898: -/* 80139898 001367F8 38 00 00 01 */ li r0, 1 -lbl_8013989C: -/* 8013989C 001367FC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 801398A0 00136800 41 82 00 0C */ beq lbl_801398AC -lbl_801398A4: -/* 801398A4 00136804 38 60 00 05 */ li r3, 5 -/* 801398A8 00136808 48 00 00 08 */ b lbl_801398B0 -lbl_801398AC: -/* 801398AC 0013680C 38 60 FF FF */ li r3, -1 -lbl_801398B0: -/* 801398B0 00136810 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801398B4 00136814 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801398B8 00136818 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801398BC 0013681C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 801398C0 00136820 7C 08 03 A6 */ mtlr r0 -/* 801398C4 00136824 38 21 00 20 */ addi r1, r1, 0x20 -/* 801398C8 00136828 4E 80 00 20 */ blr - -.global FacingDest__7CBSTurnCFR15CBodyController -FacingDest__7CBSTurnCFR15CBodyController: -/* 801398CC 0013682C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801398D0 00136830 7C 08 02 A6 */ mflr r0 -/* 801398D4 00136834 90 01 00 34 */ stw r0, 0x34(r1) -/* 801398D8 00136838 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801398DC 0013683C 7C 7F 1B 78 */ mr r31, r3 -/* 801398E0 00136840 38 61 00 10 */ addi r3, r1, 0x10 -/* 801398E4 00136844 80 84 00 00 */ lwz r4, 0(r4) -/* 801398E8 00136848 C0 24 00 38 */ lfs f1, 0x38(r4) -/* 801398EC 0013684C C0 44 00 48 */ lfs f2, 0x48(r4) -/* 801398F0 00136850 48 1D A9 11 */ bl __ct__9CVector2fFff -/* 801398F4 00136854 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 801398F8 00136858 38 61 00 08 */ addi r3, r1, 8 -/* 801398FC 0013685C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80139900 00136860 FC 40 00 50 */ fneg f2, f0 -/* 80139904 00136864 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80139908 00136868 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8013990C 0013686C 48 1D A8 F5 */ bl __ct__9CVector2fFff -/* 80139910 00136870 80 1F 00 10 */ lwz r0, 0x10(r31) -/* 80139914 00136874 C0 21 00 08 */ lfs f1, 8(r1) -/* 80139918 00136878 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 8013991C 0013687C 2C 00 00 01 */ cmpwi r0, 1 -/* 80139920 00136880 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80139924 00136884 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80139928 00136888 40 82 00 24 */ bne lbl_8013994C -/* 8013992C 0013688C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80139930 00136890 38 9F 00 08 */ addi r4, r31, 8 -/* 80139934 00136894 48 1D A6 75 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 80139938 00136898 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) -/* 8013993C 0013689C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80139940 001368A0 40 80 00 2C */ bge lbl_8013996C -/* 80139944 001368A4 38 60 00 01 */ li r3, 1 -/* 80139948 001368A8 48 00 00 28 */ b lbl_80139970 -lbl_8013994C: -/* 8013994C 001368AC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80139950 001368B0 38 9F 00 08 */ addi r4, r31, 8 -/* 80139954 001368B4 48 1D A6 55 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 80139958 001368B8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) -/* 8013995C 001368BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80139960 001368C0 40 81 00 0C */ ble lbl_8013996C -/* 80139964 001368C4 38 60 00 01 */ li r3, 1 -/* 80139968 001368C8 48 00 00 08 */ b lbl_80139970 -lbl_8013996C: -/* 8013996C 001368CC 38 60 00 00 */ li r3, 0 -lbl_80139970: -/* 80139970 001368D0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80139974 001368D4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80139978 001368D8 7C 08 03 A6 */ mtlr r0 -/* 8013997C 001368DC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80139980 001368E0 4E 80 00 20 */ blr - -.global Shutdown__7CBSTurnFR15CBodyController -Shutdown__7CBSTurnFR15CBodyController: -/* 80139984 001368E4 4E 80 00 20 */ blr - -.global UpdateBody__7CBSTurnFfR15CBodyControllerR13CStateManager -UpdateBody__7CBSTurnFfR15CBodyControllerR13CStateManager: -/* 80139988 001368E8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8013998C 001368EC 7C 08 02 A6 */ mflr r0 -/* 80139990 001368F0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80139994 001368F4 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80139998 001368F8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8013999C 001368FC 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801399A0 00136900 93 C1 00 28 */ stw r30, 0x28(r1) -/* 801399A4 00136904 93 A1 00 24 */ stw r29, 0x24(r1) -/* 801399A8 00136908 81 83 00 00 */ lwz r12, 0(r3) -/* 801399AC 0013690C FF E0 08 90 */ fmr f31, f1 -/* 801399B0 00136910 7C 7D 1B 78 */ mr r29, r3 -/* 801399B4 00136914 7C 9E 23 78 */ mr r30, r4 -/* 801399B8 00136918 81 8C 00 38 */ lwz r12, 0x38(r12) -/* 801399BC 0013691C 7D 89 03 A6 */ mtctr r12 -/* 801399C0 00136920 4E 80 04 21 */ bctrl -/* 801399C4 00136924 7C 7F 1B 78 */ mr r31, r3 -/* 801399C8 00136928 2C 1F FF FF */ cmpwi r31, -1 -/* 801399CC 0013692C 40 82 00 28 */ bne lbl_801399F4 -/* 801399D0 00136930 C0 1D 00 04 */ lfs f0, 4(r29) -/* 801399D4 00136934 38 61 00 0C */ addi r3, r1, 0xc -/* 801399D8 00136938 38 81 00 08 */ addi r4, r1, 8 -/* 801399DC 0013693C EC 00 07 F2 */ fmuls f0, f0, f31 -/* 801399E0 00136940 D0 01 00 08 */ stfs f0, 8(r1) -/* 801399E4 00136944 48 1D 77 15 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 801399E8 00136948 7F C3 F3 78 */ mr r3, r30 -/* 801399EC 0013694C 38 81 00 0C */ addi r4, r1, 0xc -/* 801399F0 00136950 48 00 0E 19 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion -lbl_801399F4: -/* 801399F4 00136954 7F E3 FB 78 */ mr r3, r31 -/* 801399F8 00136958 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 801399FC 0013695C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80139A00 00136960 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80139A04 00136964 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80139A08 00136968 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80139A0C 0013696C 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80139A10 00136970 7C 08 03 A6 */ mtlr r0 -/* 80139A14 00136974 38 21 00 40 */ addi r1, r1, 0x40 -/* 80139A18 00136978 4E 80 00 20 */ blr - -.global Start__7CBSTurnFR15CBodyControllerR13CStateManager -Start__7CBSTurnFR15CBodyControllerR13CStateManager: -/* 80139A1C 0013697C 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80139A20 00136980 7C 08 02 A6 */ mflr r0 -/* 80139A24 00136984 90 01 01 34 */ stw r0, 0x134(r1) -/* 80139A28 00136988 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 80139A2C 0013698C F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 80139A30 00136990 BF 61 01 0C */ stmw r27, 0x10c(r1) -/* 80139A34 00136994 7C 9F 23 78 */ mr r31, r4 -/* 80139A38 00136998 7C 7E 1B 78 */ mr r30, r3 -/* 80139A3C 0013699C 80 84 00 00 */ lwz r4, 0(r4) -/* 80139A40 001369A0 7C BB 2B 78 */ mr r27, r5 -/* 80139A44 001369A4 38 61 00 70 */ addi r3, r1, 0x70 -/* 80139A48 001369A8 C0 24 00 38 */ lfs f1, 0x38(r4) -/* 80139A4C 001369AC C0 44 00 48 */ lfs f2, 0x48(r4) -/* 80139A50 001369B0 48 1D A7 B1 */ bl __ct__9CVector2fFff -/* 80139A54 001369B4 C0 21 00 70 */ lfs f1, 0x70(r1) -/* 80139A58 001369B8 38 61 00 68 */ addi r3, r1, 0x68 -/* 80139A5C 001369BC C0 01 00 74 */ lfs f0, 0x74(r1) -/* 80139A60 001369C0 D0 21 00 88 */ stfs f1, 0x88(r1) -/* 80139A64 001369C4 D0 01 00 8C */ stfs f0, 0x8c(r1) -/* 80139A68 001369C8 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 80139A6C 001369CC C0 5F 00 14 */ lfs f2, 0x14(r31) -/* 80139A70 001369D0 48 1D A7 91 */ bl __ct__9CVector2fFff -/* 80139A74 001369D4 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 80139A78 001369D8 38 61 00 88 */ addi r3, r1, 0x88 -/* 80139A7C 001369DC 38 9E 00 08 */ addi r4, r30, 8 -/* 80139A80 001369E0 D0 1E 00 08 */ stfs f0, 8(r30) -/* 80139A84 001369E4 C0 01 00 6C */ lfs f0, 0x6c(r1) -/* 80139A88 001369E8 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 80139A8C 001369EC 48 1D A5 39 */ bl GetAngleDiff__9CVector2fFRC9CVector2fRC9CVector2f -/* 80139A90 001369F0 C0 42 9A 68 */ lfs f2, lbl_805AB788@sda21(r2) -/* 80139A94 001369F4 38 61 00 60 */ addi r3, r1, 0x60 -/* 80139A98 001369F8 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 80139A9C 001369FC EF E2 00 72 */ fmuls f31, f2, f1 -/* 80139AA0 00136A00 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 80139AA4 00136A04 FC 40 00 50 */ fneg f2, f0 -/* 80139AA8 00136A08 48 1D A7 59 */ bl __ct__9CVector2fFff -/* 80139AAC 00136A0C C0 21 00 60 */ lfs f1, 0x60(r1) -/* 80139AB0 00136A10 38 61 00 80 */ addi r3, r1, 0x80 -/* 80139AB4 00136A14 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 80139AB8 00136A18 38 9E 00 08 */ addi r4, r30, 8 -/* 80139ABC 00136A1C D0 21 00 80 */ stfs f1, 0x80(r1) -/* 80139AC0 00136A20 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 80139AC4 00136A24 48 1D A4 E5 */ bl Dot__9CVector2fFRC9CVector2fRC9CVector2f -/* 80139AC8 00136A28 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) -/* 80139ACC 00136A2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80139AD0 00136A30 40 81 00 0C */ ble lbl_80139ADC -/* 80139AD4 00136A34 38 00 00 01 */ li r0, 1 -/* 80139AD8 00136A38 48 00 00 08 */ b lbl_80139AE0 -lbl_80139ADC: -/* 80139ADC 00136A3C 38 00 00 00 */ li r0, 0 -lbl_80139AE0: -/* 80139AE0 00136A40 90 1E 00 10 */ stw r0, 0x10(r30) -/* 80139AE4 00136A44 7F E3 FB 78 */ mr r3, r31 -/* 80139AE8 00136A48 48 00 09 6D */ bl GetPASDatabase__15CBodyControllerCFv -/* 80139AEC 00136A4C 83 BF 02 EC */ lwz r29, 0x2ec(r31) -/* 80139AF0 00136A50 7C 7C 1B 78 */ mr r28, r3 -/* 80139AF4 00136A54 38 61 00 20 */ addi r3, r1, 0x20 -/* 80139AF8 00136A58 48 1A 95 85 */ bl NoParameter__12CPASAnimParmFv -/* 80139AFC 00136A5C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80139B00 00136A60 48 1A 95 7D */ bl NoParameter__12CPASAnimParmFv -/* 80139B04 00136A64 38 61 00 30 */ addi r3, r1, 0x30 -/* 80139B08 00136A68 48 1A 95 75 */ bl NoParameter__12CPASAnimParmFv -/* 80139B0C 00136A6C 38 61 00 38 */ addi r3, r1, 0x38 -/* 80139B10 00136A70 48 1A 95 6D */ bl NoParameter__12CPASAnimParmFv -/* 80139B14 00136A74 38 61 00 40 */ addi r3, r1, 0x40 -/* 80139B18 00136A78 48 1A 95 65 */ bl NoParameter__12CPASAnimParmFv -/* 80139B1C 00136A7C 7F A4 EB 78 */ mr r4, r29 -/* 80139B20 00136A80 38 61 00 48 */ addi r3, r1, 0x48 -/* 80139B24 00136A84 48 1A 94 61 */ bl FromEnum__12CPASAnimParmFi -/* 80139B28 00136A88 FC 20 F8 90 */ fmr f1, f31 -/* 80139B2C 00136A8C 38 61 00 50 */ addi r3, r1, 0x50 -/* 80139B30 00136A90 48 1A 94 B9 */ bl FromReal32__12CPASAnimParmFf -/* 80139B34 00136A94 80 9E 00 10 */ lwz r4, 0x10(r30) -/* 80139B38 00136A98 38 61 00 58 */ addi r3, r1, 0x58 -/* 80139B3C 00136A9C 48 1A 94 49 */ bl FromEnum__12CPASAnimParmFi -/* 80139B40 00136AA0 38 61 00 28 */ addi r3, r1, 0x28 -/* 80139B44 00136AA4 38 01 00 20 */ addi r0, r1, 0x20 -/* 80139B48 00136AA8 90 61 00 08 */ stw r3, 8(r1) -/* 80139B4C 00136AAC 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80139B50 00136AB0 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80139B54 00136AB4 38 C1 00 50 */ addi r6, r1, 0x50 -/* 80139B58 00136AB8 90 01 00 0C */ stw r0, 0xc(r1) -/* 80139B5C 00136ABC 38 E1 00 48 */ addi r7, r1, 0x48 -/* 80139B60 00136AC0 39 01 00 40 */ addi r8, r1, 0x40 -/* 80139B64 00136AC4 39 21 00 38 */ addi r9, r1, 0x38 -/* 80139B68 00136AC8 39 41 00 30 */ addi r10, r1, 0x30 -/* 80139B6C 00136ACC 38 80 00 08 */ li r4, 8 -/* 80139B70 00136AD0 4B F4 37 55 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80139B74 00136AD4 80 DB 09 00 */ lwz r6, 0x900(r27) -/* 80139B78 00136AD8 7F 84 E3 78 */ mr r4, r28 -/* 80139B7C 00136ADC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80139B80 00136AE0 38 A1 00 B8 */ addi r5, r1, 0xb8 -/* 80139B84 00136AE4 38 E0 FF FF */ li r7, -1 -/* 80139B88 00136AE8 48 1A B4 D9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 80139B8C 00136AEC 83 A1 00 1C */ lwz r29, 0x1c(r1) -/* 80139B90 00136AF0 38 00 00 00 */ li r0, 0 -/* 80139B94 00136AF4 C0 02 9A 64 */ lfs f0, lbl_805AB784@sda21(r2) -/* 80139B98 00136AF8 38 A0 FF FF */ li r5, -1 -/* 80139B9C 00136AFC 38 E0 00 01 */ li r7, 1 -/* 80139BA0 00136B00 93 A1 00 90 */ stw r29, 0x90(r1) -/* 80139BA4 00136B04 7F E3 FB 78 */ mr r3, r31 -/* 80139BA8 00136B08 38 81 00 90 */ addi r4, r1, 0x90 -/* 80139BAC 00136B0C 90 A1 00 94 */ stw r5, 0x94(r1) -/* 80139BB0 00136B10 38 A0 00 00 */ li r5, 0 -/* 80139BB4 00136B14 38 C0 00 00 */ li r6, 0 -/* 80139BB8 00136B18 D0 01 00 98 */ stfs f0, 0x98(r1) -/* 80139BBC 00136B1C 98 E1 00 9C */ stb r7, 0x9c(r1) -/* 80139BC0 00136B20 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 80139BC4 00136B24 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80139BC8 00136B28 98 01 00 A8 */ stb r0, 0xa8(r1) -/* 80139BCC 00136B2C 90 01 00 AC */ stw r0, 0xac(r1) -/* 80139BD0 00136B30 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80139BD4 00136B34 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80139BD8 00136B38 48 00 0D 45 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80139BDC 00136B3C 7F 83 E3 78 */ mr r3, r28 -/* 80139BE0 00136B40 38 80 00 08 */ li r4, 8 -/* 80139BE4 00136B44 48 1A B2 E1 */ bl GetAnimState__12CPASDatabaseCFi -/* 80139BE8 00136B48 7C 64 1B 78 */ mr r4, r3 -/* 80139BEC 00136B4C 7F A5 EB 78 */ mr r5, r29 -/* 80139BF0 00136B50 38 61 00 10 */ addi r3, r1, 0x10 -/* 80139BF4 00136B54 38 C0 00 01 */ li r6, 1 -/* 80139BF8 00136B58 48 1A A3 FD */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 80139BFC 00136B5C 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80139C00 00136B60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80139C04 00136B64 90 61 00 78 */ stw r3, 0x78(r1) -/* 80139C08 00136B68 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80139C0C 00136B6C 80 1E 00 10 */ lwz r0, 0x10(r30) -/* 80139C10 00136B70 2C 00 00 01 */ cmpwi r0, 1 -/* 80139C14 00136B74 40 82 00 14 */ bne lbl_80139C28 -/* 80139C18 00136B78 38 61 00 78 */ addi r3, r1, 0x78 -/* 80139C1C 00136B7C 48 1A 93 51 */ bl GetReal32Value__12CPASAnimParmCFv -/* 80139C20 00136B80 EC 21 F8 28 */ fsubs f1, f1, f31 -/* 80139C24 00136B84 48 00 00 10 */ b lbl_80139C34 -lbl_80139C28: -/* 80139C28 00136B88 38 61 00 78 */ addi r3, r1, 0x78 -/* 80139C2C 00136B8C 48 1A 93 41 */ bl GetReal32Value__12CPASAnimParmCFv -/* 80139C30 00136B90 EC 3F 08 28 */ fsubs f1, f31, f1 -lbl_80139C34: -/* 80139C34 00136B94 C0 02 9A 6C */ lfs f0, lbl_805AB78C@sda21(r2) -/* 80139C38 00136B98 7F E3 FB 78 */ mr r3, r31 -/* 80139C3C 00136B9C EC 00 00 72 */ fmuls f0, f0, f1 -/* 80139C40 00136BA0 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80139C44 00136BA4 48 00 0C 75 */ bl GetAnimTimeRemaining__15CBodyControllerCFv -/* 80139C48 00136BA8 C0 02 9A 60 */ lfs f0, lbl_805AB780@sda21(r2) -/* 80139C4C 00136BAC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80139C50 00136BB0 40 81 00 10 */ ble lbl_80139C60 -/* 80139C54 00136BB4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 80139C58 00136BB8 EC 00 08 24 */ fdivs f0, f0, f1 -/* 80139C5C 00136BBC 48 00 00 08 */ b lbl_80139C64 -lbl_80139C60: -/* 80139C60 00136BC0 C0 1E 00 04 */ lfs f0, 4(r30) -lbl_80139C64: -/* 80139C64 00136BC4 34 A1 00 BC */ addic. r5, r1, 0xbc -/* 80139C68 00136BC8 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80139C6C 00136BCC 41 82 00 58 */ beq lbl_80139CC4 -/* 80139C70 00136BD0 80 C5 00 00 */ lwz r6, 0(r5) -/* 80139C74 00136BD4 38 60 00 00 */ li r3, 0 -/* 80139C78 00136BD8 2C 06 00 00 */ cmpwi r6, 0 -/* 80139C7C 00136BDC 40 81 00 40 */ ble lbl_80139CBC -/* 80139C80 00136BE0 2C 06 00 08 */ cmpwi r6, 8 -/* 80139C84 00136BE4 38 86 FF F8 */ addi r4, r6, -8 -/* 80139C88 00136BE8 40 81 00 20 */ ble lbl_80139CA8 -/* 80139C8C 00136BEC 38 04 00 07 */ addi r0, r4, 7 -/* 80139C90 00136BF0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80139C94 00136BF4 7C 09 03 A6 */ mtctr r0 -/* 80139C98 00136BF8 2C 04 00 00 */ cmpwi r4, 0 -/* 80139C9C 00136BFC 40 81 00 0C */ ble lbl_80139CA8 -lbl_80139CA0: -/* 80139CA0 00136C00 38 63 00 08 */ addi r3, r3, 8 -/* 80139CA4 00136C04 42 00 FF FC */ bdnz lbl_80139CA0 -lbl_80139CA8: -/* 80139CA8 00136C08 7C 03 30 50 */ subf r0, r3, r6 -/* 80139CAC 00136C0C 7C 09 03 A6 */ mtctr r0 -/* 80139CB0 00136C10 7C 03 30 00 */ cmpw r3, r6 -/* 80139CB4 00136C14 40 80 00 08 */ bge lbl_80139CBC -lbl_80139CB8: -/* 80139CB8 00136C18 42 00 00 00 */ bdnz lbl_80139CB8 -lbl_80139CBC: -/* 80139CBC 00136C1C 38 00 00 00 */ li r0, 0 -/* 80139CC0 00136C20 90 05 00 00 */ stw r0, 0(r5) -lbl_80139CC4: -/* 80139CC4 00136C24 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 80139CC8 00136C28 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 80139CCC 00136C2C BB 61 01 0C */ lmw r27, 0x10c(r1) -/* 80139CD0 00136C30 80 01 01 34 */ lwz r0, 0x134(r1) -/* 80139CD4 00136C34 7C 08 03 A6 */ mtlr r0 -/* 80139CD8 00136C38 38 21 01 30 */ addi r1, r1, 0x130 -/* 80139CDC 00136C3C 4E 80 00 20 */ blr - -.global __ct__7CBSTurnFv -__ct__7CBSTurnFv: -/* 80139CE0 00136C40 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80139CE4 00136C44 7C 08 02 A6 */ mflr r0 -/* 80139CE8 00136C48 C0 22 9A 60 */ lfs f1, lbl_805AB780@sda21(r2) -/* 80139CEC 00136C4C 3C 80 80 3E */ lis r4, lbl_803E1318@ha -/* 80139CF0 00136C50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80139CF4 00136C54 38 04 13 18 */ addi r0, r4, lbl_803E1318@l -/* 80139CF8 00136C58 FC 40 08 90 */ fmr f2, f1 -/* 80139CFC 00136C5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80139D00 00136C60 7C 7F 1B 78 */ mr r31, r3 -/* 80139D04 00136C64 3C 60 80 3E */ lis r3, lbl_803E178C@ha -/* 80139D08 00136C68 90 1F 00 00 */ stw r0, 0(r31) -/* 80139D0C 00136C6C 38 03 17 8C */ addi r0, r3, lbl_803E178C@l -/* 80139D10 00136C70 38 7F 00 08 */ addi r3, r31, 8 -/* 80139D14 00136C74 90 1F 00 00 */ stw r0, 0(r31) -/* 80139D18 00136C78 D0 3F 00 04 */ stfs f1, 4(r31) -/* 80139D1C 00136C7C 48 1D A4 E5 */ bl __ct__9CVector2fFff -/* 80139D20 00136C80 38 00 FF FF */ li r0, -1 -/* 80139D24 00136C84 7F E3 FB 78 */ mr r3, r31 -/* 80139D28 00136C88 90 1F 00 10 */ stw r0, 0x10(r31) -/* 80139D2C 00136C8C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80139D30 00136C90 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80139D34 00136C94 7C 08 03 A6 */ mtlr r0 -/* 80139D38 00136C98 38 21 00 10 */ addi r1, r1, 0x10 -/* 80139D3C 00136C9C 4E 80 00 20 */ blr - -.global UpdateFrozenInfo__15CBodyControllerFfR13CStateManager -UpdateFrozenInfo__15CBodyControllerFfR13CStateManager: -/* 80139D40 00136CA0 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80139D44 00136CA4 7C 08 02 A6 */ mflr r0 -/* 80139D48 00136CA8 90 01 00 64 */ stw r0, 0x64(r1) -/* 80139D4C 00136CAC DB E1 00 50 */ stfd f31, 0x50(r1) -/* 80139D50 00136CB0 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 80139D54 00136CB4 DB C1 00 40 */ stfd f30, 0x40(r1) -/* 80139D58 00136CB8 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0 -/* 80139D5C 00136CBC DB A1 00 30 */ stfd f29, 0x30(r1) -/* 80139D60 00136CC0 F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0 -/* 80139D64 00136CC4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80139D68 00136CC8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80139D6C 00136CCC 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80139D70 00136CD0 FF A0 08 90 */ fmr f29, f1 -/* 80139D74 00136CD4 7C 7E 1B 78 */ mr r30, r3 -/* 80139D78 00136CD8 7C 9F 23 78 */ mr r31, r4 -/* 80139D7C 00136CDC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80139D80 00136CE0 41 82 01 5C */ beq lbl_80139EDC -/* 80139D84 00136CE4 C0 3E 03 04 */ lfs f1, 0x304(r30) -/* 80139D88 00136CE8 C0 1E 03 08 */ lfs f0, 0x308(r30) -/* 80139D8C 00136CEC C0 5E 03 0C */ lfs f2, 0x30c(r30) -/* 80139D90 00136CF0 EC 01 00 2A */ fadds f0, f1, f0 -/* 80139D94 00136CF4 C0 3E 03 10 */ lfs f1, 0x310(r30) -/* 80139D98 00136CF8 EF E2 00 2A */ fadds f31, f2, f0 -/* 80139D9C 00136CFC FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80139DA0 00136D00 40 81 00 40 */ ble lbl_80139DE0 -/* 80139DA4 00136D04 80 1E 02 D0 */ lwz r0, 0x2d0(r30) -/* 80139DA8 00136D08 2C 00 00 18 */ cmpwi r0, 0x18 -/* 80139DAC 00136D0C 41 82 00 34 */ beq lbl_80139DE0 -/* 80139DB0 00136D10 48 00 03 A5 */ bl UnFreeze__15CBodyControllerFv -/* 80139DB4 00136D14 80 7E 00 00 */ lwz r3, 0(r30) -/* 80139DB8 00136D18 28 03 00 00 */ cmplwi r3, 0 -/* 80139DBC 00136D1C 41 82 00 14 */ beq lbl_80139DD0 -/* 80139DC0 00136D20 7F E5 FB 78 */ mr r5, r31 -/* 80139DC4 00136D24 38 80 00 1D */ li r4, 0x1d -/* 80139DC8 00136D28 38 C0 FF FF */ li r6, -1 -/* 80139DCC 00136D2C 4B F1 72 F5 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -lbl_80139DD0: -/* 80139DD0 00136D30 80 7F 08 84 */ lwz r3, 0x884(r31) -/* 80139DD4 00136D34 80 9E 00 00 */ lwz r4, 0(r30) -/* 80139DD8 00136D38 48 0A B4 81 */ bl StartIce__20CActorModelParticlesFR6CActorR13CStateManager -/* 80139DDC 00136D3C 48 00 01 00 */ b lbl_80139EDC -lbl_80139DE0: -/* 80139DE0 00136D40 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80139DE4 00136D44 4C 40 13 82 */ cror 2, 0, 2 -/* 80139DE8 00136D48 40 82 00 F4 */ bne lbl_80139EDC -/* 80139DEC 00136D4C EC 1F 10 28 */ fsubs f0, f31, f2 -/* 80139DF0 00136D50 C3 C2 9A 70 */ lfs f30, lbl_805AB790@sda21(r2) -/* 80139DF4 00136D54 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80139DF8 00136D58 40 80 00 14 */ bge lbl_80139E0C -/* 80139DFC 00136D5C 7F C3 F3 78 */ mr r3, r30 -/* 80139E00 00136D60 48 00 02 CD */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 80139E04 00136D64 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) -/* 80139E08 00136D68 EF C0 08 28 */ fsubs f30, f0, f1 -lbl_80139E0C: -/* 80139E0C 00136D6C FC 20 F0 90 */ fmr f1, f30 -/* 80139E10 00136D70 7F C3 F3 78 */ mr r3, r30 -/* 80139E14 00136D74 48 00 0A 4D */ bl MultiplyPlaybackRate__15CBodyControllerFf -/* 80139E18 00136D78 C0 02 9A 74 */ lfs f0, lbl_805AB794@sda21(r2) -/* 80139E1C 00136D7C C0 3E 03 10 */ lfs f1, 0x310(r30) -/* 80139E20 00136D80 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 80139E24 00136D84 EC 21 E8 2A */ fadds f1, f1, f29 -/* 80139E28 00136D88 FC 00 00 1E */ fctiwz f0, f0 -/* 80139E2C 00136D8C D0 3E 03 10 */ stfs f1, 0x310(r30) -/* 80139E30 00136D90 D8 01 00 20 */ stfd f0, 0x20(r1) -/* 80139E34 00136D94 80 7E 00 00 */ lwz r3, 0(r30) -/* 80139E38 00136D98 80 81 00 24 */ lwz r4, 0x24(r1) -/* 80139E3C 00136D9C 4B F1 95 35 */ bl SetVolume__6CActorFUc -/* 80139E40 00136DA0 C0 1E 03 10 */ lfs f0, 0x310(r30) -/* 80139E44 00136DA4 FC 00 F8 40 */ fcmpo cr0, f0, f31 -/* 80139E48 00136DA8 40 81 00 94 */ ble lbl_80139EDC -/* 80139E4C 00136DAC 7F C3 F3 78 */ mr r3, r30 -/* 80139E50 00136DB0 48 0B 77 E5 */ bl HasIceBreakoutState__15CBodyControllerFv -/* 80139E54 00136DB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80139E58 00136DB8 41 82 00 84 */ beq lbl_80139EDC -/* 80139E5C 00136DBC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80139E60 00136DC0 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) -/* 80139E64 00136DC4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80139E68 00136DC8 3C 60 80 3E */ lis r3, lbl_803E10C8@ha -/* 80139E6C 00136DCC 90 01 00 08 */ stw r0, 8(r1) -/* 80139E70 00136DD0 38 C3 10 C8 */ addi r6, r3, lbl_803E10C8@l -/* 80139E74 00136DD4 38 60 00 1A */ li r3, 0x1a -/* 80139E78 00136DD8 38 A0 00 03 */ li r5, 3 -/* 80139E7C 00136DDC 38 00 00 00 */ li r0, 0 -/* 80139E80 00136DE0 3B FE 00 04 */ addi r31, r30, 4 -/* 80139E84 00136DE4 90 61 00 0C */ stw r3, 0xc(r1) -/* 80139E88 00136DE8 7F E3 FB 78 */ mr r3, r31 -/* 80139E8C 00136DEC 38 80 00 1A */ li r4, 0x1a -/* 80139E90 00136DF0 90 C1 00 08 */ stw r6, 8(r1) -/* 80139E94 00136DF4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80139E98 00136DF8 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80139E9C 00136DFC 98 01 00 18 */ stb r0, 0x18(r1) -/* 80139EA0 00136E00 4B FF 75 99 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139EA4 00136E04 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80139EA8 00136E08 3C 60 80 3E */ lis r3, lbl_803E10C8@ha -/* 80139EAC 00136E0C 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l -/* 80139EB0 00136E10 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80139EB4 00136E14 90 1F 02 88 */ stw r0, 0x288(r31) -/* 80139EB8 00136E18 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80139EBC 00136E1C C0 01 00 10 */ lfs f0, 0x10(r1) -/* 80139EC0 00136E20 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 80139EC4 00136E24 D0 1F 02 8C */ stfs f0, 0x28c(r31) -/* 80139EC8 00136E28 88 61 00 18 */ lbz r3, 0x18(r1) -/* 80139ECC 00136E2C 90 BF 02 90 */ stw r5, 0x290(r31) -/* 80139ED0 00136E30 90 81 00 08 */ stw r4, 8(r1) -/* 80139ED4 00136E34 98 7F 02 94 */ stb r3, 0x294(r31) -/* 80139ED8 00136E38 90 01 00 08 */ stw r0, 8(r1) -lbl_80139EDC: -/* 80139EDC 00136E3C E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80139EE0 00136E40 CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80139EE4 00136E44 E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0 -/* 80139EE8 00136E48 CB C1 00 40 */ lfd f30, 0x40(r1) -/* 80139EEC 00136E4C E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0 -/* 80139EF0 00136E50 CB A1 00 30 */ lfd f29, 0x30(r1) -/* 80139EF4 00136E54 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80139EF8 00136E58 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80139EFC 00136E5C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80139F00 00136E60 7C 08 03 A6 */ mtlr r0 -/* 80139F04 00136E64 38 21 00 60 */ addi r1, r1, 0x60 -/* 80139F08 00136E68 4E 80 00 20 */ blr - -.global StopElectrocution__15CBodyControllerFv -StopElectrocution__15CBodyControllerFv: -/* 80139F0C 00136E6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80139F10 00136E70 7C 08 02 A6 */ mflr r0 -/* 80139F14 00136E74 7C 66 1B 78 */ mr r6, r3 -/* 80139F18 00136E78 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80139F1C 00136E7C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80139F20 00136E80 38 A3 AA 68 */ addi r5, r3, lbl_803DAA68@l -/* 80139F24 00136E84 C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) -/* 80139F28 00136E88 38 00 00 1B */ li r0, 0x1b -/* 80139F2C 00136E8C 38 66 00 04 */ addi r3, r6, 4 -/* 80139F30 00136E90 38 81 00 08 */ addi r4, r1, 8 -/* 80139F34 00136E94 D0 06 03 24 */ stfs f0, 0x324(r6) -/* 80139F38 00136E98 D0 06 03 2C */ stfs f0, 0x32c(r6) -/* 80139F3C 00136E9C 90 A1 00 08 */ stw r5, 8(r1) -/* 80139F40 00136EA0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80139F44 00136EA4 4B FF 78 75 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 80139F48 00136EA8 34 01 00 08 */ addic. r0, r1, 8 -/* 80139F4C 00136EAC 41 82 00 10 */ beq lbl_80139F5C -/* 80139F50 00136EB0 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80139F54 00136EB4 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80139F58 00136EB8 90 01 00 08 */ stw r0, 8(r1) -lbl_80139F5C: -/* 80139F5C 00136EBC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80139F60 00136EC0 7C 08 03 A6 */ mtlr r0 -/* 80139F64 00136EC4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80139F68 00136EC8 4E 80 00 20 */ blr - -.global SetElectrocuting__15CBodyControllerFf -SetElectrocuting__15CBodyControllerFf: -/* 80139F6C 00136ECC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80139F70 00136ED0 7C 08 02 A6 */ mflr r0 -/* 80139F74 00136ED4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80139F78 00136ED8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80139F7C 00136EDC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80139F80 00136EE0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80139F84 00136EE4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80139F88 00136EE8 7C 7F 1B 78 */ mr r31, r3 -/* 80139F8C 00136EEC C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) -/* 80139F90 00136EF0 C0 43 03 24 */ lfs f2, 0x324(r3) -/* 80139F94 00136EF4 FF E0 08 90 */ fmr f31, f1 -/* 80139F98 00136EF8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80139F9C 00136EFC 41 81 00 84 */ bgt lbl_8013A020 -/* 80139FA0 00136F00 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80139FA4 00136F04 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) -/* 80139FA8 00136F08 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80139FAC 00136F0C 3C 60 80 3E */ lis r3, lbl_803E10C8@ha -/* 80139FB0 00136F10 90 01 00 08 */ stw r0, 8(r1) -/* 80139FB4 00136F14 38 C3 10 C8 */ addi r6, r3, lbl_803E10C8@l -/* 80139FB8 00136F18 38 60 00 1A */ li r3, 0x1a -/* 80139FBC 00136F1C 38 A0 00 00 */ li r5, 0 -/* 80139FC0 00136F20 38 00 00 01 */ li r0, 1 -/* 80139FC4 00136F24 3B DF 00 04 */ addi r30, r31, 4 -/* 80139FC8 00136F28 90 61 00 0C */ stw r3, 0xc(r1) -/* 80139FCC 00136F2C 7F C3 F3 78 */ mr r3, r30 -/* 80139FD0 00136F30 38 80 00 1A */ li r4, 0x1a -/* 80139FD4 00136F34 90 C1 00 08 */ stw r6, 8(r1) -/* 80139FD8 00136F38 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80139FDC 00136F3C 90 A1 00 14 */ stw r5, 0x14(r1) -/* 80139FE0 00136F40 98 01 00 18 */ stb r0, 0x18(r1) -/* 80139FE4 00136F44 4B FF 74 55 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80139FE8 00136F48 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80139FEC 00136F4C 3C 60 80 3E */ lis r3, lbl_803E10C8@ha -/* 80139FF0 00136F50 38 83 10 C8 */ addi r4, r3, lbl_803E10C8@l -/* 80139FF4 00136F54 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80139FF8 00136F58 90 1E 02 88 */ stw r0, 0x288(r30) -/* 80139FFC 00136F5C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8013A000 00136F60 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8013A004 00136F64 80 A1 00 14 */ lwz r5, 0x14(r1) -/* 8013A008 00136F68 D0 1E 02 8C */ stfs f0, 0x28c(r30) -/* 8013A00C 00136F6C 88 61 00 18 */ lbz r3, 0x18(r1) -/* 8013A010 00136F70 90 BE 02 90 */ stw r5, 0x290(r30) -/* 8013A014 00136F74 90 81 00 08 */ stw r4, 8(r1) -/* 8013A018 00136F78 98 7E 02 94 */ stb r3, 0x294(r30) -/* 8013A01C 00136F7C 90 01 00 08 */ stw r0, 8(r1) -lbl_8013A020: -/* 8013A020 00136F80 D3 FF 03 24 */ stfs f31, 0x324(r31) -/* 8013A024 00136F84 C0 22 9A 78 */ lfs f1, lbl_805AB798@sda21(r2) -/* 8013A028 00136F88 D0 3F 03 2C */ stfs f1, 0x32c(r31) -/* 8013A02C 00136F8C 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 8013A030 00136F90 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8013A034 00136F94 41 82 00 10 */ beq lbl_8013A044 -/* 8013A038 00136F98 7F E3 FB 78 */ mr r3, r31 -/* 8013A03C 00136F9C 48 00 01 19 */ bl UnFreeze__15CBodyControllerFv -/* 8013A040 00136FA0 48 00 00 18 */ b lbl_8013A058 -lbl_8013A044: -/* 8013A044 00136FA4 C0 1F 03 20 */ lfs f0, 0x320(r31) -/* 8013A048 00136FA8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8013A04C 00136FAC 40 81 00 0C */ ble lbl_8013A058 -/* 8013A050 00136FB0 7F E3 FB 78 */ mr r3, r31 -/* 8013A054 00136FB4 48 00 00 25 */ bl DouseFlames__15CBodyControllerFv -lbl_8013A058: -/* 8013A058 00136FB8 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8013A05C 00136FBC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8013A060 00136FC0 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8013A064 00136FC4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8013A068 00136FC8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8013A06C 00136FCC 7C 08 03 A6 */ mtlr r0 -/* 8013A070 00136FD0 38 21 00 40 */ addi r1, r1, 0x40 -/* 8013A074 00136FD4 4E 80 00 20 */ blr - -.global DouseFlames__15CBodyControllerFv -DouseFlames__15CBodyControllerFv: -/* 8013A078 00136FD8 C0 23 03 20 */ lfs f1, 0x320(r3) -/* 8013A07C 00136FDC C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) -/* 8013A080 00136FE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013A084 00136FE4 4C 81 00 20 */ blelr -/* 8013A088 00136FE8 D0 03 03 20 */ stfs f0, 0x320(r3) -/* 8013A08C 00136FEC D0 03 03 28 */ stfs f0, 0x328(r3) -/* 8013A090 00136FF0 4E 80 00 20 */ blr - -.global SetOnFire__15CBodyControllerFf -SetOnFire__15CBodyControllerFf: -/* 8013A094 00136FF4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013A098 00136FF8 7C 08 02 A6 */ mflr r0 -/* 8013A09C 00136FFC C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) -/* 8013A0A0 00137000 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013A0A4 00137004 D0 23 03 20 */ stfs f1, 0x320(r3) -/* 8013A0A8 00137008 D0 03 03 28 */ stfs f0, 0x328(r3) -/* 8013A0AC 0013700C 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8013A0B0 00137010 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8013A0B4 00137014 41 82 00 08 */ beq lbl_8013A0BC -/* 8013A0B8 00137018 48 00 00 9D */ bl UnFreeze__15CBodyControllerFv -lbl_8013A0BC: -/* 8013A0BC 0013701C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013A0C0 00137020 7C 08 03 A6 */ mtlr r0 -/* 8013A0C4 00137024 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013A0C8 00137028 4E 80 00 20 */ blr - -.global GetPercentageFrozen__15CBodyControllerCFv -GetPercentageFrozen__15CBodyControllerCFv: -/* 8013A0CC 0013702C C0 43 03 04 */ lfs f2, 0x304(r3) -/* 8013A0D0 00137030 C0 A3 03 08 */ lfs f5, 0x308(r3) -/* 8013A0D4 00137034 C0 83 03 0C */ lfs f4, 0x30c(r3) -/* 8013A0D8 00137038 EC 22 28 2A */ fadds f1, f2, f5 -/* 8013A0DC 0013703C C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) -/* 8013A0E0 00137040 C0 63 03 10 */ lfs f3, 0x310(r3) -/* 8013A0E4 00137044 FC 00 18 00 */ fcmpu cr0, f0, f3 -/* 8013A0E8 00137048 EC C4 08 2A */ fadds f6, f4, f1 -/* 8013A0EC 0013704C 41 82 00 0C */ beq lbl_8013A0F8 -/* 8013A0F0 00137050 FC 00 30 00 */ fcmpu cr0, f0, f6 -/* 8013A0F4 00137054 40 82 00 0C */ bne lbl_8013A100 -lbl_8013A0F8: -/* 8013A0F8 00137058 C0 22 9A 78 */ lfs f1, lbl_805AB798@sda21(r2) -/* 8013A0FC 0013705C 4E 80 00 20 */ blr -lbl_8013A100: -/* 8013A100 00137060 FC 03 10 40 */ fcmpo cr0, f3, f2 -/* 8013A104 00137064 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) -/* 8013A108 00137068 4C 40 13 82 */ cror 2, 0, 2 -/* 8013A10C 0013706C 40 82 00 14 */ bne lbl_8013A120 -/* 8013A110 00137070 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8013A114 00137074 40 81 00 0C */ ble lbl_8013A120 -/* 8013A118 00137078 EC 23 10 24 */ fdivs f1, f3, f2 -/* 8013A11C 0013707C 4E 80 00 20 */ blr -lbl_8013A120: -/* 8013A120 00137080 EC 06 20 28 */ fsubs f0, f6, f4 -/* 8013A124 00137084 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 8013A128 00137088 4C 41 13 82 */ cror 2, 1, 2 -/* 8013A12C 0013708C 4C 82 00 20 */ bnelr -/* 8013A130 00137090 C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) -/* 8013A134 00137094 FC 04 00 40 */ fcmpo cr0, f4, f0 -/* 8013A138 00137098 4C 81 00 20 */ blelr -/* 8013A13C 0013709C EC 05 10 2A */ fadds f0, f5, f2 -/* 8013A140 001370A0 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) -/* 8013A144 001370A4 EC 03 00 28 */ fsubs f0, f3, f0 -/* 8013A148 001370A8 EC 00 20 24 */ fdivs f0, f0, f4 -/* 8013A14C 001370AC EC 21 00 28 */ fsubs f1, f1, f0 -/* 8013A150 001370B0 4E 80 00 20 */ blr - -.global UnFreeze__15CBodyControllerFv -UnFreeze__15CBodyControllerFv: -/* 8013A154 001370B4 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8013A158 001370B8 7C 08 02 A6 */ mflr r0 -/* 8013A15C 001370BC C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) -/* 8013A160 001370C0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8013A164 001370C4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8013A168 001370C8 7C 7F 1B 78 */ mr r31, r3 -/* 8013A16C 001370CC 48 00 07 21 */ bl SetPlaybackRate__15CBodyControllerFf -/* 8013A170 001370D0 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 8013A174 001370D4 38 60 00 00 */ li r3, 0 -/* 8013A178 001370D8 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8013A17C 001370DC C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) -/* 8013A180 001370E0 98 1F 03 00 */ stb r0, 0x300(r31) -/* 8013A184 001370E4 38 80 00 7F */ li r4, 0x7f -/* 8013A188 001370E8 D0 1F 03 04 */ stfs f0, 0x304(r31) -/* 8013A18C 001370EC D0 1F 03 08 */ stfs f0, 0x308(r31) -/* 8013A190 001370F0 D0 1F 03 0C */ stfs f0, 0x30c(r31) -/* 8013A194 001370F4 D0 1F 03 10 */ stfs f0, 0x310(r31) -/* 8013A198 001370F8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013A19C 001370FC 4B F1 91 D5 */ bl SetVolume__6CActorFUc -/* 8013A1A0 00137100 80 9F 00 00 */ lwz r4, 0(r31) -/* 8013A1A4 00137104 38 61 00 08 */ addi r3, r1, 8 -/* 8013A1A8 00137108 4B F7 25 A9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" -/* 8013A1AC 0013710C 80 63 00 04 */ lwz r3, 4(r3) -/* 8013A1B0 00137110 38 81 00 10 */ addi r4, r1, 0x10 -/* 8013A1B4 00137114 C0 1F 03 14 */ lfs f0, 0x314(r31) -/* 8013A1B8 00137118 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) -/* 8013A1BC 0013711C D0 03 00 FC */ stfs f0, 0xfc(r3) -/* 8013A1C0 00137120 C0 1F 03 18 */ lfs f0, 0x318(r31) -/* 8013A1C4 00137124 D0 03 01 00 */ stfs f0, 0x100(r3) -/* 8013A1C8 00137128 C0 1F 03 1C */ lfs f0, 0x31c(r31) -/* 8013A1CC 0013712C D0 03 01 04 */ stfs f0, 0x104(r3) -/* 8013A1D0 00137130 C0 03 00 E8 */ lfs f0, 0xe8(r3) -/* 8013A1D4 00137134 C0 5F 03 18 */ lfs f2, 0x318(r31) -/* 8013A1D8 00137138 EC 61 00 24 */ fdivs f3, f1, f0 -/* 8013A1DC 0013713C C0 3F 03 1C */ lfs f1, 0x31c(r31) -/* 8013A1E0 00137140 C0 1F 03 14 */ lfs f0, 0x314(r31) -/* 8013A1E4 00137144 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 8013A1E8 00137148 EC 23 00 72 */ fmuls f1, f3, f1 -/* 8013A1EC 0013714C EC 03 00 32 */ fmuls f0, f3, f0 -/* 8013A1F0 00137150 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8013A1F4 00137154 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 8013A1F8 00137158 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8013A1FC 0013715C 4B FE 0A A5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 8013A200 00137160 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8013A204 00137164 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8013A208 00137168 7C 08 03 A6 */ mtlr r0 -/* 8013A20C 0013716C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8013A210 00137170 4E 80 00 20 */ blr - -.global FrozenBreakout__15CBodyControllerFv -FrozenBreakout__15CBodyControllerFv: -/* 8013A214 00137174 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8013A218 00137178 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8013A21C 0013717C 4D 82 00 20 */ beqlr -/* 8013A220 00137180 C0 43 03 04 */ lfs f2, 0x304(r3) -/* 8013A224 00137184 C0 23 03 08 */ lfs f1, 0x308(r3) -/* 8013A228 00137188 C0 03 03 10 */ lfs f0, 0x310(r3) -/* 8013A22C 0013718C EC 22 08 2A */ fadds f1, f2, f1 -/* 8013A230 00137190 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8013A234 00137194 4C 80 00 20 */ bgelr -/* 8013A238 00137198 D0 23 03 10 */ stfs f1, 0x310(r3) -/* 8013A23C 0013719C 4E 80 00 20 */ blr - -.global Freeze__15CBodyControllerFfff -Freeze__15CBodyControllerFfff: -/* 8013A240 001371A0 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8013A244 001371A4 7C 08 02 A6 */ mflr r0 -/* 8013A248 001371A8 38 80 00 01 */ li r4, 1 -/* 8013A24C 001371AC 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013A250 001371B0 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013A254 001371B4 7C 7F 1B 78 */ mr r31, r3 -/* 8013A258 001371B8 D0 23 03 04 */ stfs f1, 0x304(r3) -/* 8013A25C 001371BC 38 61 00 08 */ addi r3, r1, 8 -/* 8013A260 001371C0 D0 5F 03 08 */ stfs f2, 0x308(r31) -/* 8013A264 001371C4 D0 7F 03 0C */ stfs f3, 0x30c(r31) -/* 8013A268 001371C8 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 8013A26C 001371CC 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 8013A270 001371D0 98 1F 03 00 */ stb r0, 0x300(r31) -/* 8013A274 001371D4 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 8013A278 001371D8 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8013A27C 001371DC 98 1F 03 00 */ stb r0, 0x300(r31) -/* 8013A280 001371E0 80 9F 00 00 */ lwz r4, 0(r31) -/* 8013A284 001371E4 4B F7 24 CD */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" -/* 8013A288 001371E8 80 83 00 04 */ lwz r4, 4(r3) -/* 8013A28C 001371EC 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013A290 001371F0 C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) -/* 8013A294 001371F4 C0 24 00 FC */ lfs f1, 0xfc(r4) -/* 8013A298 001371F8 D0 3F 03 14 */ stfs f1, 0x314(r31) -/* 8013A29C 001371FC C0 24 01 00 */ lfs f1, 0x100(r4) -/* 8013A2A0 00137200 D0 3F 03 18 */ stfs f1, 0x318(r31) -/* 8013A2A4 00137204 C0 24 01 04 */ lfs f1, 0x104(r4) -/* 8013A2A8 00137208 D0 3F 03 1C */ stfs f1, 0x31c(r31) -/* 8013A2AC 0013720C C4 23 66 A0 */ lfsu f1, skZero3f@l(r3) -/* 8013A2B0 00137210 D0 24 00 FC */ stfs f1, 0xfc(r4) -/* 8013A2B4 00137214 C0 23 00 04 */ lfs f1, 4(r3) -/* 8013A2B8 00137218 D0 24 01 00 */ stfs f1, 0x100(r4) -/* 8013A2BC 0013721C C0 23 00 08 */ lfs f1, 8(r3) -/* 8013A2C0 00137220 D0 24 01 04 */ stfs f1, 0x104(r4) -/* 8013A2C4 00137224 C0 23 00 00 */ lfs f1, 0(r3) -/* 8013A2C8 00137228 D0 24 01 50 */ stfs f1, 0x150(r4) -/* 8013A2CC 0013722C C0 23 00 04 */ lfs f1, 4(r3) -/* 8013A2D0 00137230 D0 24 01 54 */ stfs f1, 0x154(r4) -/* 8013A2D4 00137234 C0 23 00 08 */ lfs f1, 8(r3) -/* 8013A2D8 00137238 D0 24 01 58 */ stfs f1, 0x158(r4) -/* 8013A2DC 0013723C D0 1F 03 20 */ stfs f0, 0x320(r31) -/* 8013A2E0 00137240 D0 1F 03 28 */ stfs f0, 0x328(r31) -/* 8013A2E4 00137244 D0 1F 03 10 */ stfs f0, 0x310(r31) -/* 8013A2E8 00137248 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8013A2EC 0013724C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013A2F0 00137250 7C 08 03 A6 */ mtlr r0 -/* 8013A2F4 00137254 38 21 00 20 */ addi r1, r1, 0x20 -/* 8013A2F8 00137258 4E 80 00 20 */ blr - -.global LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16: -/* 8013A2FC 0013725C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8013A300 00137260 7C 08 02 A6 */ mflr r0 -/* 8013A304 00137264 90 01 00 54 */ stw r0, 0x54(r1) -/* 8013A308 00137268 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8013A30C 0013726C 7C BF 2B 78 */ mr r31, r5 -/* 8013A310 00137270 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8013A314 00137274 7C 9E 23 78 */ mr r30, r4 -/* 8013A318 00137278 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8013A31C 0013727C 7C 7D 1B 78 */ mr r29, r3 -/* 8013A320 00137280 48 00 01 35 */ bl GetPASDatabase__15CBodyControllerCFv -/* 8013A324 00137284 7C 64 1B 78 */ mr r4, r3 -/* 8013A328 00137288 7F C5 F3 78 */ mr r5, r30 -/* 8013A32C 0013728C 7F E6 FB 78 */ mr r6, r31 -/* 8013A330 00137290 38 61 00 08 */ addi r3, r1, 8 -/* 8013A334 00137294 38 E0 FF FF */ li r7, -1 -/* 8013A338 00137298 48 1A AD 29 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 8013A33C 0013729C 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8013A340 001372A0 38 00 00 00 */ li r0, 0 -/* 8013A344 001372A4 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) -/* 8013A348 001372A8 38 A0 FF FF */ li r5, -1 -/* 8013A34C 001372AC 38 E0 00 01 */ li r7, 1 -/* 8013A350 001372B0 90 61 00 10 */ stw r3, 0x10(r1) -/* 8013A354 001372B4 7F A3 EB 78 */ mr r3, r29 -/* 8013A358 001372B8 38 81 00 10 */ addi r4, r1, 0x10 -/* 8013A35C 001372BC 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8013A360 001372C0 38 A0 00 01 */ li r5, 1 -/* 8013A364 001372C4 38 C0 00 00 */ li r6, 0 -/* 8013A368 001372C8 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8013A36C 001372CC 98 E1 00 1C */ stb r7, 0x1c(r1) -/* 8013A370 001372D0 90 01 00 20 */ stw r0, 0x20(r1) -/* 8013A374 001372D4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013A378 001372D8 98 01 00 28 */ stb r0, 0x28(r1) -/* 8013A37C 001372DC 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8013A380 001372E0 90 01 00 30 */ stw r0, 0x30(r1) -/* 8013A384 001372E4 90 01 00 34 */ stw r0, 0x34(r1) -/* 8013A388 001372E8 48 00 05 95 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 8013A38C 001372EC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8013A390 001372F0 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8013A394 001372F4 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8013A398 001372F8 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8013A39C 001372FC 7C 08 03 A6 */ mtlr r0 -/* 8013A3A0 00137300 38 21 00 50 */ addi r1, r1, 0x50 -/* 8013A3A4 00137304 4E 80 00 20 */ blr - -.global PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16: -/* 8013A3A8 00137308 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8013A3AC 0013730C 7C 08 02 A6 */ mflr r0 -/* 8013A3B0 00137310 90 01 00 54 */ stw r0, 0x54(r1) -/* 8013A3B4 00137314 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8013A3B8 00137318 7C BF 2B 78 */ mr r31, r5 -/* 8013A3BC 0013731C 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8013A3C0 00137320 7C 9E 23 78 */ mr r30, r4 -/* 8013A3C4 00137324 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8013A3C8 00137328 7C 7D 1B 78 */ mr r29, r3 -/* 8013A3CC 0013732C 48 00 00 89 */ bl GetPASDatabase__15CBodyControllerCFv -/* 8013A3D0 00137330 7C 64 1B 78 */ mr r4, r3 -/* 8013A3D4 00137334 7F C5 F3 78 */ mr r5, r30 -/* 8013A3D8 00137338 7F E6 FB 78 */ mr r6, r31 -/* 8013A3DC 0013733C 38 61 00 08 */ addi r3, r1, 8 -/* 8013A3E0 00137340 38 E0 FF FF */ li r7, -1 -/* 8013A3E4 00137344 48 1A AC 7D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 8013A3E8 00137348 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8013A3EC 0013734C 38 00 00 00 */ li r0, 0 -/* 8013A3F0 00137350 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) -/* 8013A3F4 00137354 38 A0 FF FF */ li r5, -1 -/* 8013A3F8 00137358 38 E0 00 01 */ li r7, 1 -/* 8013A3FC 0013735C 90 61 00 10 */ stw r3, 0x10(r1) -/* 8013A400 00137360 7F A3 EB 78 */ mr r3, r29 -/* 8013A404 00137364 38 81 00 10 */ addi r4, r1, 0x10 -/* 8013A408 00137368 90 A1 00 14 */ stw r5, 0x14(r1) -/* 8013A40C 0013736C 38 A0 00 00 */ li r5, 0 -/* 8013A410 00137370 38 C0 00 00 */ li r6, 0 -/* 8013A414 00137374 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8013A418 00137378 98 E1 00 1C */ stb r7, 0x1c(r1) -/* 8013A41C 0013737C 90 01 00 20 */ stw r0, 0x20(r1) -/* 8013A420 00137380 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013A424 00137384 98 01 00 28 */ stb r0, 0x28(r1) -/* 8013A428 00137388 90 01 00 2C */ stw r0, 0x2c(r1) -/* 8013A42C 0013738C 90 01 00 30 */ stw r0, 0x30(r1) -/* 8013A430 00137390 90 01 00 34 */ stw r0, 0x34(r1) -/* 8013A434 00137394 48 00 04 E9 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 8013A438 00137398 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8013A43C 0013739C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8013A440 001373A0 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8013A444 001373A4 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8013A448 001373A8 7C 08 03 A6 */ mtlr r0 -/* 8013A44C 001373AC 38 21 00 50 */ addi r1, r1, 0x50 -/* 8013A450 001373B0 4E 80 00 20 */ blr - -.global GetPASDatabase__15CBodyControllerCFv -GetPASDatabase__15CBodyControllerCFv: -/* 8013A454 001373B4 80 63 00 00 */ lwz r3, 0(r3) -/* 8013A458 001373B8 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8013A45C 001373BC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8013A460 001373C0 38 63 00 3C */ addi r3, r3, 0x3c -/* 8013A464 001373C4 4E 80 00 20 */ blr - -.global FaceDirection3D__15CBodyControllerFRC9CVector3ff -FaceDirection3D__15CBodyControllerFRC9CVector3ff: -/* 8013A468 001373C8 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8013A46C 001373CC 7C 08 02 A6 */ mflr r0 -/* 8013A470 001373D0 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8013A474 001373D4 DB E1 00 D0 */ stfd f31, 0xd0(r1) -/* 8013A478 001373D8 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 -/* 8013A47C 001373DC 93 E1 00 CC */ stw r31, 0xcc(r1) -/* 8013A480 001373E0 93 C1 00 C8 */ stw r30, 0xc8(r1) -/* 8013A484 001373E4 93 A1 00 C4 */ stw r29, 0xc4(r1) -/* 8013A488 001373E8 93 81 00 C0 */ stw r28, 0xc0(r1) -/* 8013A48C 001373EC 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8013A490 001373F0 FF E0 08 90 */ fmr f31, f1 -/* 8013A494 001373F4 7C 7C 1B 78 */ mr r28, r3 -/* 8013A498 001373F8 7C 9D 23 78 */ mr r29, r4 -/* 8013A49C 001373FC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8013A4A0 00137400 7C BE 2B 78 */ mr r30, r5 -/* 8013A4A4 00137404 40 82 01 D8 */ bne lbl_8013A67C -/* 8013A4A8 00137408 7F A3 EB 78 */ mr r3, r29 -/* 8013A4AC 0013740C 48 1D A2 4D */ bl CanBeNormalized__9CVector3fCFv -/* 8013A4B0 00137410 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013A4B4 00137414 41 82 01 C8 */ beq lbl_8013A67C -/* 8013A4B8 00137418 7F C3 F3 78 */ mr r3, r30 -/* 8013A4BC 0013741C 48 1D A2 3D */ bl CanBeNormalized__9CVector3fCFv -/* 8013A4C0 00137420 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013A4C4 00137424 41 82 01 B8 */ beq lbl_8013A67C -/* 8013A4C8 00137428 80 9C 00 00 */ lwz r4, 0(r28) -/* 8013A4CC 0013742C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013A4D0 00137430 4B F7 22 15 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 8013A4D4 00137434 83 E3 00 04 */ lwz r31, 4(r3) -/* 8013A4D8 00137438 28 1F 00 00 */ cmplwi r31, 0 -/* 8013A4DC 0013743C 41 82 01 A0 */ beq lbl_8013A67C -/* 8013A4E0 00137440 7F A4 EB 78 */ mr r4, r29 -/* 8013A4E4 00137444 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8013A4E8 00137448 48 1D 98 E9 */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8013A4EC 0013744C 7F C4 F3 78 */ mr r4, r30 -/* 8013A4F0 00137450 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8013A4F4 00137454 48 1D 98 DD */ bl __ct__11CUnitVectorFRC9CVector3f -/* 8013A4F8 00137458 C0 21 00 B8 */ lfs f1, 0xb8(r1) -/* 8013A4FC 0013745C C0 01 00 AC */ lfs f0, 0xac(r1) -/* 8013A500 00137460 C0 41 00 B4 */ lfs f2, 0xb4(r1) -/* 8013A504 00137464 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8013A508 00137468 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 8013A50C 0013746C C0 81 00 BC */ lfs f4, 0xbc(r1) -/* 8013A510 00137470 C0 61 00 B0 */ lfs f3, 0xb0(r1) -/* 8013A514 00137474 EC 42 00 7A */ fmadds f2, f2, f1, f0 -/* 8013A518 00137478 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) -/* 8013A51C 0013747C C0 02 9A 7C */ lfs f0, lbl_805AB79C@sda21(r2) -/* 8013A520 00137480 EC 44 10 FA */ fmadds f2, f4, f3, f2 -/* 8013A524 00137484 EC 22 08 28 */ fsubs f1, f2, f1 -/* 8013A528 00137488 FC 20 0A 10 */ fabs f1, f1 -/* 8013A52C 0013748C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013A530 00137490 41 80 01 4C */ blt lbl_8013A67C -/* 8013A534 00137494 C0 02 9A 80 */ lfs f0, lbl_805AB7A0@sda21(r2) -/* 8013A538 00137498 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8013A53C 0013749C 40 80 00 B4 */ bge lbl_8013A5F0 -/* 8013A540 001374A0 C0 1C 02 FC */ lfs f0, 0x2fc(r28) -/* 8013A544 001374A4 38 61 00 58 */ addi r3, r1, 0x58 -/* 8013A548 001374A8 C0 22 9A 84 */ lfs f1, lbl_805AB7A4@sda21(r2) -/* 8013A54C 001374AC 38 81 00 4C */ addi r4, r1, 0x4c -/* 8013A550 001374B0 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8013A554 001374B4 38 A1 00 0C */ addi r5, r1, 0xc -/* 8013A558 001374B8 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8013A55C 001374BC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8013A560 001374C0 C0 5F 00 5C */ lfs f2, 0x5c(r31) -/* 8013A564 001374C4 C0 3F 00 4C */ lfs f1, 0x4c(r31) -/* 8013A568 001374C8 C0 1F 00 3C */ lfs f0, 0x3c(r31) -/* 8013A56C 001374CC D0 21 00 44 */ stfs f1, 0x44(r1) -/* 8013A570 001374D0 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8013A574 001374D4 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8013A578 001374D8 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 8013A57C 001374DC D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8013A580 001374E0 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8013A584 001374E4 48 1D 6D 71 */ bl AxisAngle__11CQuaternionFRC13CUnitVector3fRC9CRelAngle -/* 8013A588 001374E8 C0 61 00 58 */ lfs f3, 0x58(r1) -/* 8013A58C 001374EC 38 A1 00 9C */ addi r5, r1, 0x9c -/* 8013A590 001374F0 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 8013A594 001374F4 38 61 00 34 */ addi r3, r1, 0x34 -/* 8013A598 001374F8 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 8013A59C 001374FC C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8013A5A0 00137500 D0 61 00 98 */ stfs f3, 0x98(r1) -/* 8013A5A4 00137504 D0 41 00 9C */ stfs f2, 0x9c(r1) -/* 8013A5A8 00137508 D0 21 00 A0 */ stfs f1, 0xa0(r1) -/* 8013A5AC 0013750C D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8013A5B0 00137510 80 9C 00 00 */ lwz r4, 0(r28) -/* 8013A5B4 00137514 38 84 00 34 */ addi r4, r4, 0x34 -/* 8013A5B8 00137518 48 1D 84 6D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 8013A5BC 0013751C C0 81 00 98 */ lfs f4, 0x98(r1) -/* 8013A5C0 00137520 FC 20 F8 90 */ fmr f1, f31 -/* 8013A5C4 00137524 C0 61 00 34 */ lfs f3, 0x34(r1) -/* 8013A5C8 00137528 7F E3 FB 78 */ mr r3, r31 -/* 8013A5CC 0013752C C0 41 00 38 */ lfs f2, 0x38(r1) -/* 8013A5D0 00137530 38 81 00 88 */ addi r4, r1, 0x88 -/* 8013A5D4 00137534 C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 8013A5D8 00137538 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 8013A5DC 0013753C D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 8013A5E0 00137540 D0 41 00 90 */ stfs f2, 0x90(r1) -/* 8013A5E4 00137544 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 8013A5E8 00137548 4B FE 07 75 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf -/* 8013A5EC 0013754C 48 00 00 90 */ b lbl_8013A67C -lbl_8013A5F0: -/* 8013A5F0 00137550 C0 1C 02 FC */ lfs f0, 0x2fc(r28) -/* 8013A5F4 00137554 38 61 00 24 */ addi r3, r1, 0x24 -/* 8013A5F8 00137558 C0 22 9A 84 */ lfs f1, lbl_805AB7A4@sda21(r2) -/* 8013A5FC 0013755C 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 8013A600 00137560 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8013A604 00137564 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 8013A608 00137568 38 C1 00 08 */ addi r6, r1, 8 -/* 8013A60C 0013756C EC 01 00 32 */ fmuls f0, f1, f0 -/* 8013A610 00137570 D0 01 00 08 */ stfs f0, 8(r1) -/* 8013A614 00137574 48 1D 6A 0D */ bl ClampedRotateTo__11CQuaternionFRC10UnitVectorRC10UnitVectorRC9CRelAngle -/* 8013A618 00137578 C0 61 00 24 */ lfs f3, 0x24(r1) -/* 8013A61C 0013757C 38 A1 00 7C */ addi r5, r1, 0x7c -/* 8013A620 00137580 C0 41 00 28 */ lfs f2, 0x28(r1) -/* 8013A624 00137584 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013A628 00137588 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 8013A62C 0013758C C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8013A630 00137590 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 8013A634 00137594 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 8013A638 00137598 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 8013A63C 0013759C D0 01 00 84 */ stfs f0, 0x84(r1) -/* 8013A640 001375A0 80 9C 00 00 */ lwz r4, 0(r28) -/* 8013A644 001375A4 38 84 00 34 */ addi r4, r4, 0x34 -/* 8013A648 001375A8 48 1D 83 DD */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 8013A64C 001375AC C0 81 00 78 */ lfs f4, 0x78(r1) -/* 8013A650 001375B0 FC 20 F8 90 */ fmr f1, f31 -/* 8013A654 001375B4 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8013A658 001375B8 7F E3 FB 78 */ mr r3, r31 -/* 8013A65C 001375BC C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8013A660 001375C0 38 81 00 68 */ addi r4, r1, 0x68 -/* 8013A664 001375C4 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8013A668 001375C8 D0 81 00 68 */ stfs f4, 0x68(r1) -/* 8013A66C 001375CC D0 61 00 6C */ stfs f3, 0x6c(r1) -/* 8013A670 001375D0 D0 41 00 70 */ stfs f2, 0x70(r1) -/* 8013A674 001375D4 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 8013A678 001375D8 4B FE 06 E5 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf -lbl_8013A67C: -/* 8013A67C 001375DC E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 -/* 8013A680 001375E0 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8013A684 001375E4 CB E1 00 D0 */ lfd f31, 0xd0(r1) -/* 8013A688 001375E8 83 E1 00 CC */ lwz r31, 0xcc(r1) -/* 8013A68C 001375EC 83 C1 00 C8 */ lwz r30, 0xc8(r1) -/* 8013A690 001375F0 83 A1 00 C4 */ lwz r29, 0xc4(r1) -/* 8013A694 001375F4 83 81 00 C0 */ lwz r28, 0xc0(r1) -/* 8013A698 001375F8 7C 08 03 A6 */ mtlr r0 -/* 8013A69C 001375FC 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8013A6A0 00137600 4E 80 00 20 */ blr - -.global FaceDirection__15CBodyControllerFRC9CVector3ff -FaceDirection__15CBodyControllerFRC9CVector3ff: -/* 8013A6A4 00137604 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8013A6A8 00137608 7C 08 02 A6 */ mflr r0 -/* 8013A6AC 0013760C 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8013A6B0 00137610 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 8013A6B4 00137614 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 8013A6B8 00137618 93 E1 00 8C */ stw r31, 0x8c(r1) -/* 8013A6BC 0013761C 93 C1 00 88 */ stw r30, 0x88(r1) -/* 8013A6C0 00137620 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8013A6C4 00137624 FF E0 08 90 */ fmr f31, f1 -/* 8013A6C8 00137628 7C 7E 1B 78 */ mr r30, r3 -/* 8013A6CC 0013762C 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8013A6D0 00137630 40 82 01 18 */ bne lbl_8013A7E8 -/* 8013A6D4 00137634 C0 04 00 08 */ lfs f0, 8(r4) -/* 8013A6D8 00137638 38 61 00 74 */ addi r3, r1, 0x74 -/* 8013A6DC 0013763C C0 44 00 00 */ lfs f2, 0(r4) -/* 8013A6E0 00137640 C0 24 00 04 */ lfs f1, 4(r4) -/* 8013A6E4 00137644 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8013A6E8 00137648 C0 02 9A 78 */ lfs f0, lbl_805AB798@sda21(r2) -/* 8013A6EC 0013764C D0 41 00 74 */ stfs f2, 0x74(r1) -/* 8013A6F0 00137650 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 8013A6F4 00137654 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 8013A6F8 00137658 48 1D A0 01 */ bl CanBeNormalized__9CVector3fCFv -/* 8013A6FC 0013765C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013A700 00137660 41 82 00 E8 */ beq lbl_8013A7E8 -/* 8013A704 00137664 80 9E 00 00 */ lwz r4, 0(r30) -/* 8013A708 00137668 38 61 00 0C */ addi r3, r1, 0xc -/* 8013A70C 0013766C 4B F7 1F D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 8013A710 00137670 83 E3 00 04 */ lwz r31, 4(r3) -/* 8013A714 00137674 28 1F 00 00 */ cmplwi r31, 0 -/* 8013A718 00137678 41 82 00 D0 */ beq lbl_8013A7E8 -/* 8013A71C 0013767C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013A720 00137680 38 81 00 74 */ addi r4, r1, 0x74 -/* 8013A724 00137684 48 1D A1 2D */ bl AsNormalized__9CVector3fCFv -/* 8013A728 00137688 C0 1E 02 FC */ lfs f0, 0x2fc(r30) -/* 8013A72C 0013768C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8013A730 00137690 80 FE 00 00 */ lwz r7, 0(r30) -/* 8013A734 00137694 38 81 00 2C */ addi r4, r1, 0x2c -/* 8013A738 00137698 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8013A73C 0013769C C0 22 9A 84 */ lfs f1, lbl_805AB7A4@sda21(r2) -/* 8013A740 001376A0 C0 C7 00 58 */ lfs f6, 0x58(r7) -/* 8013A744 001376A4 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8013A748 001376A8 C0 A7 00 48 */ lfs f5, 0x48(r7) -/* 8013A74C 001376AC 38 C1 00 08 */ addi r6, r1, 8 -/* 8013A750 001376B0 C0 87 00 38 */ lfs f4, 0x38(r7) -/* 8013A754 001376B4 EC 61 00 32 */ fmuls f3, f1, f0 -/* 8013A758 001376B8 C0 41 00 48 */ lfs f2, 0x48(r1) -/* 8013A75C 001376BC C0 21 00 4C */ lfs f1, 0x4c(r1) -/* 8013A760 001376C0 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8013A764 001376C4 D0 61 00 08 */ stfs f3, 8(r1) -/* 8013A768 001376C8 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8013A76C 001376CC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8013A770 001376D0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8013A774 001376D4 D0 81 00 2C */ stfs f4, 0x2c(r1) -/* 8013A778 001376D8 D0 A1 00 30 */ stfs f5, 0x30(r1) -/* 8013A77C 001376DC D0 C1 00 34 */ stfs f6, 0x34(r1) -/* 8013A780 001376E0 48 1D 6F 15 */ bl LookAt__11CQuaternionFRC13CUnitVector3fRC13CUnitVector3fRC9CRelAngle -/* 8013A784 001376E4 C0 61 00 38 */ lfs f3, 0x38(r1) -/* 8013A788 001376E8 38 A1 00 68 */ addi r5, r1, 0x68 -/* 8013A78C 001376EC C0 41 00 3C */ lfs f2, 0x3c(r1) -/* 8013A790 001376F0 38 61 00 14 */ addi r3, r1, 0x14 -/* 8013A794 001376F4 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 8013A798 001376F8 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 8013A79C 001376FC D0 61 00 64 */ stfs f3, 0x64(r1) -/* 8013A7A0 00137700 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 8013A7A4 00137704 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 8013A7A8 00137708 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 8013A7AC 0013770C 80 9E 00 00 */ lwz r4, 0(r30) -/* 8013A7B0 00137710 38 84 00 34 */ addi r4, r4, 0x34 -/* 8013A7B4 00137714 48 1D 82 71 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 8013A7B8 00137718 C0 81 00 64 */ lfs f4, 0x64(r1) -/* 8013A7BC 0013771C FC 20 F8 90 */ fmr f1, f31 -/* 8013A7C0 00137720 C0 61 00 14 */ lfs f3, 0x14(r1) -/* 8013A7C4 00137724 7F E3 FB 78 */ mr r3, r31 -/* 8013A7C8 00137728 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8013A7CC 0013772C 38 81 00 54 */ addi r4, r1, 0x54 -/* 8013A7D0 00137730 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8013A7D4 00137734 D0 81 00 54 */ stfs f4, 0x54(r1) -/* 8013A7D8 00137738 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 8013A7DC 0013773C D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 8013A7E0 00137740 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8013A7E4 00137744 4B FE 05 79 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf -lbl_8013A7E8: -/* 8013A7E8 00137748 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8013A7EC 0013774C 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8013A7F0 00137750 CB E1 00 90 */ lfd f31, 0x90(r1) -/* 8013A7F4 00137754 83 E1 00 8C */ lwz r31, 0x8c(r1) -/* 8013A7F8 00137758 83 C1 00 88 */ lwz r30, 0x88(r1) -/* 8013A7FC 0013775C 7C 08 03 A6 */ mtlr r0 -/* 8013A800 00137760 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8013A804 00137764 4E 80 00 20 */ blr - -.global SetDeltaRotation__15CBodyControllerFRC11CQuaternion -SetDeltaRotation__15CBodyControllerFRC11CQuaternion: -/* 8013A808 00137768 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8013A80C 0013776C 7C 08 02 A6 */ mflr r0 -/* 8013A810 00137770 7C 85 23 78 */ mr r5, r4 -/* 8013A814 00137774 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013A818 00137778 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013A81C 0013777C 7C 7F 1B 78 */ mr r31, r3 -/* 8013A820 00137780 38 61 00 08 */ addi r3, r1, 8 -/* 8013A824 00137784 38 9F 02 DC */ addi r4, r31, 0x2dc -/* 8013A828 00137788 48 1D 69 79 */ bl __ml__11CQuaternionCFRC11CQuaternion -/* 8013A82C 0013778C C0 01 00 08 */ lfs f0, 8(r1) -/* 8013A830 00137790 D0 1F 02 DC */ stfs f0, 0x2dc(r31) -/* 8013A834 00137794 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8013A838 00137798 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8013A83C 0013779C 90 7F 02 E0 */ stw r3, 0x2e0(r31) -/* 8013A840 001377A0 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8013A844 001377A4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013A848 001377A8 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8013A84C 001377AC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013A850 001377B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8013A854 001377B4 7C 08 03 A6 */ mtlr r0 -/* 8013A858 001377B8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8013A85C 001377BC 4E 80 00 20 */ blr - -.global MultiplyPlaybackRate__15CBodyControllerFf -MultiplyPlaybackRate__15CBodyControllerFf: -/* 8013A860 001377C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013A864 001377C4 7C 08 02 A6 */ mflr r0 -/* 8013A868 001377C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013A86C 001377CC 80 63 00 00 */ lwz r3, 0(r3) -/* 8013A870 001377D0 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8013A874 001377D4 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8013A878 001377D8 4B EF 0B E1 */ bl MultiplyPlaybackRate__9CAnimDataFf -/* 8013A87C 001377DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013A880 001377E0 7C 08 03 A6 */ mtlr r0 -/* 8013A884 001377E4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013A888 001377E8 4E 80 00 20 */ blr - -.global SetPlaybackRate__15CBodyControllerFf -SetPlaybackRate__15CBodyControllerFf: -/* 8013A88C 001377EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013A890 001377F0 7C 08 02 A6 */ mflr r0 -/* 8013A894 001377F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013A898 001377F8 80 63 00 00 */ lwz r3, 0(r3) -/* 8013A89C 001377FC 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8013A8A0 00137800 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8013A8A4 00137804 4B EF 0B C5 */ bl SetPlaybackRate__9CAnimDataFf -/* 8013A8A8 00137808 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013A8AC 0013780C 7C 08 03 A6 */ mtlr r0 -/* 8013A8B0 00137810 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013A8B4 00137814 4E 80 00 20 */ blr - -.global GetAnimTimeRemaining__15CBodyControllerCFv -GetAnimTimeRemaining__15CBodyControllerCFv: -/* 8013A8B8 00137818 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8013A8BC 0013781C 7C 08 02 A6 */ mflr r0 -/* 8013A8C0 00137820 3C 80 80 3D */ lis r4, lbl_803D0060@ha -/* 8013A8C4 00137824 90 01 00 34 */ stw r0, 0x34(r1) -/* 8013A8C8 00137828 38 84 00 60 */ addi r4, r4, lbl_803D0060@l -/* 8013A8CC 0013782C DB E1 00 28 */ stfd f31, 0x28(r1) -/* 8013A8D0 00137830 93 E1 00 24 */ stw r31, 0x24(r1) -/* 8013A8D4 00137834 7C 7F 1B 78 */ mr r31, r3 -/* 8013A8D8 00137838 38 61 00 08 */ addi r3, r1, 8 -/* 8013A8DC 0013783C 4B EC A3 DD */ bl string_l__4rstlFPCc -/* 8013A8E0 00137840 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013A8E4 00137844 38 81 00 08 */ addi r4, r1, 8 -/* 8013A8E8 00137848 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8013A8EC 0013784C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8013A8F0 00137850 4B EF 1B 7D */ bl "GetAnimTimeRemaining__9CAnimDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8013A8F4 00137854 FF E0 08 90 */ fmr f31, f1 -/* 8013A8F8 00137858 38 61 00 08 */ addi r3, r1, 8 -/* 8013A8FC 0013785C 48 20 31 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8013A900 00137860 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8013A904 00137864 FC 20 F8 90 */ fmr f1, f31 -/* 8013A908 00137868 CB E1 00 28 */ lfd f31, 0x28(r1) -/* 8013A90C 0013786C 83 E1 00 24 */ lwz r31, 0x24(r1) -/* 8013A910 00137870 7C 08 03 A6 */ mtlr r0 -/* 8013A914 00137874 38 21 00 30 */ addi r1, r1, 0x30 -/* 8013A918 00137878 4E 80 00 20 */ blr - -.global SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb: -/* 8013A91C 0013787C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8013A920 00137880 7C 08 02 A6 */ mflr r0 -/* 8013A924 00137884 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013A928 00137888 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013A92C 0013788C 7C BF 2B 78 */ mr r31, r5 -/* 8013A930 00137890 7C C5 33 78 */ mr r5, r6 -/* 8013A934 00137894 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8013A938 00137898 7C 9E 23 78 */ mr r30, r4 -/* 8013A93C 0013789C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8013A940 001378A0 7C 7D 1B 78 */ mr r29, r3 -/* 8013A944 001378A4 80 63 00 00 */ lwz r3, 0(r3) -/* 8013A948 001378A8 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8013A94C 001378AC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8013A950 001378B0 4B EF 24 2D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb -/* 8013A954 001378B4 80 7D 00 00 */ lwz r3, 0(r29) -/* 8013A958 001378B8 7F E4 FB 78 */ mr r4, r31 -/* 8013A95C 001378BC 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8013A960 001378C0 4B FD AC 01 */ bl EnableLooping__10CModelDataFb -/* 8013A964 001378C4 80 1E 00 00 */ lwz r0, 0(r30) -/* 8013A968 001378C8 90 1D 02 F8 */ stw r0, 0x2f8(r29) -/* 8013A96C 001378CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8013A970 001378D0 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013A974 001378D4 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8013A978 001378D8 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8013A97C 001378DC 7C 08 03 A6 */ mtlr r0 -/* 8013A980 001378E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 8013A984 001378E4 4E 80 00 20 */ blr - -.global EnableAnimation__15CBodyControllerFb -EnableAnimation__15CBodyControllerFb: -/* 8013A988 001378E8 80 63 00 00 */ lwz r3, 0(r3) -/* 8013A98C 001378EC 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8013A990 001378F0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8013A994 001378F4 88 03 02 20 */ lbz r0, 0x220(r3) -/* 8013A998 001378F8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8013A99C 001378FC 98 03 02 20 */ stb r0, 0x220(r3) -/* 8013A9A0 00137900 4E 80 00 20 */ blr - -.global SetTurnSpeed__15CBodyControllerFf -SetTurnSpeed__15CBodyControllerFf: -/* 8013A9A4 00137904 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013A9A8 00137908 FC 00 08 18 */ frsp f0, f1 -/* 8013A9AC 0013790C C0 4D 8B 80 */ lfs f2, lbl_805A7740@sda21(r13) -/* 8013A9B0 00137910 D0 21 00 08 */ stfs f1, 8(r1) -/* 8013A9B4 00137914 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8013A9B8 00137918 40 80 00 0C */ bge lbl_8013A9C4 -/* 8013A9BC 0013791C 38 81 00 08 */ addi r4, r1, 8 -/* 8013A9C0 00137920 48 00 00 08 */ b lbl_8013A9C8 -lbl_8013A9C4: -/* 8013A9C4 00137924 38 8D 8B 80 */ addi r4, r13, lbl_805A7740@sda21 -lbl_8013A9C8: -/* 8013A9C8 00137928 C0 04 00 00 */ lfs f0, 0(r4) -/* 8013A9CC 0013792C D0 03 02 FC */ stfs f0, 0x2fc(r3) -/* 8013A9D0 00137930 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013A9D4 00137934 4E 80 00 20 */ blr - -.global SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType: -/* 8013A9D8 00137938 90 83 02 EC */ stw r4, 0x2ec(r3) -/* 8013A9DC 0013793C 4E 80 00 20 */ blr - -.global UpdateBody__15CBodyControllerFfR13CStateManager -UpdateBody__15CBodyControllerFfR13CStateManager: -/* 8013A9E0 00137940 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8013A9E4 00137944 7C 08 02 A6 */ mflr r0 -/* 8013A9E8 00137948 90 01 00 34 */ stw r0, 0x34(r1) -/* 8013A9EC 0013794C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8013A9F0 00137950 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8013A9F4 00137954 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013A9F8 00137958 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8013A9FC 0013795C 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8013AA00 00137960 FF E0 08 90 */ fmr f31, f1 -/* 8013AA04 00137964 7C 7D 1B 78 */ mr r29, r3 -/* 8013AA08 00137968 7C 9E 23 78 */ mr r30, r4 -/* 8013AA0C 0013796C 4B FF F3 35 */ bl UpdateFrozenInfo__15CBodyControllerFfR13CStateManager -/* 8013AA10 00137970 C0 5D 03 20 */ lfs f2, 0x320(r29) -/* 8013AA14 00137974 C0 22 9A 78 */ lfs f1, lbl_805AB798@sda21(r2) -/* 8013AA18 00137978 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8013AA1C 0013797C 40 81 00 28 */ ble lbl_8013AA44 -/* 8013AA20 00137980 C0 1D 03 28 */ lfs f0, 0x328(r29) -/* 8013AA24 00137984 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8013AA28 00137988 40 81 00 10 */ ble lbl_8013AA38 -/* 8013AA2C 0013798C D0 3D 03 28 */ stfs f1, 0x328(r29) -/* 8013AA30 00137990 D0 3D 03 20 */ stfs f1, 0x320(r29) -/* 8013AA34 00137994 48 00 00 3C */ b lbl_8013AA70 -lbl_8013AA38: -/* 8013AA38 00137998 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8013AA3C 0013799C D0 1D 03 28 */ stfs f0, 0x328(r29) -/* 8013AA40 001379A0 48 00 00 30 */ b lbl_8013AA70 -lbl_8013AA44: -/* 8013AA44 001379A4 C0 5D 03 24 */ lfs f2, 0x324(r29) -/* 8013AA48 001379A8 FC 02 08 40 */ fcmpo cr0, f2, f1 -/* 8013AA4C 001379AC 40 81 00 24 */ ble lbl_8013AA70 -/* 8013AA50 001379B0 C0 1D 03 2C */ lfs f0, 0x32c(r29) -/* 8013AA54 001379B4 FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8013AA58 001379B8 40 81 00 10 */ ble lbl_8013AA68 -/* 8013AA5C 001379BC D0 3D 03 2C */ stfs f1, 0x32c(r29) -/* 8013AA60 001379C0 D0 3D 03 24 */ stfs f1, 0x324(r29) -/* 8013AA64 001379C4 48 00 00 0C */ b lbl_8013AA70 -lbl_8013AA68: -/* 8013AA68 001379C8 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8013AA6C 001379CC D0 1D 03 2C */ stfs f0, 0x32c(r29) -lbl_8013AA70: -/* 8013AA70 001379D0 7F A3 EB 78 */ mr r3, r29 -/* 8013AA74 001379D4 4B FF F6 59 */ bl GetPercentageFrozen__15CBodyControllerCFv -/* 8013AA78 001379D8 C0 02 9A 70 */ lfs f0, lbl_805AB790@sda21(r2) -/* 8013AA7C 001379DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013AA80 001379E0 40 80 01 00 */ bge lbl_8013AB80 -/* 8013AA84 001379E4 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 8013AA88 001379E8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8013AA8C 001379EC 41 82 00 F4 */ beq lbl_8013AB80 -/* 8013AA90 001379F0 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 8013AA94 001379F4 4B FF 95 81 */ bl GetCurrentState__14CBodyStateInfoFv -/* 8013AA98 001379F8 81 83 00 00 */ lwz r12, 0(r3) -/* 8013AA9C 001379FC FC 20 F8 90 */ fmr f1, f31 -/* 8013AAA0 00137A00 7F A4 EB 78 */ mr r4, r29 -/* 8013AAA4 00137A04 7F C5 F3 78 */ mr r5, r30 -/* 8013AAA8 00137A08 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 8013AAAC 00137A0C 7D 89 03 A6 */ mtctr r12 -/* 8013AAB0 00137A10 4E 80 04 21 */ bctrl -/* 8013AAB4 00137A14 7C 7F 1B 78 */ mr r31, r3 -/* 8013AAB8 00137A18 2C 1F FF FF */ cmpwi r31, -1 -/* 8013AABC 00137A1C 41 82 00 4C */ beq lbl_8013AB08 -/* 8013AAC0 00137A20 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 8013AAC4 00137A24 4B FF 95 51 */ bl GetCurrentState__14CBodyStateInfoFv -/* 8013AAC8 00137A28 81 83 00 00 */ lwz r12, 0(r3) -/* 8013AACC 00137A2C 7F A4 EB 78 */ mr r4, r29 -/* 8013AAD0 00137A30 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 8013AAD4 00137A34 7D 89 03 A6 */ mtctr r12 -/* 8013AAD8 00137A38 4E 80 04 21 */ bctrl -/* 8013AADC 00137A3C 7F E4 FB 78 */ mr r4, r31 -/* 8013AAE0 00137A40 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 8013AAE4 00137A44 4B FF 95 F9 */ bl SetState__14CBodyStateInfoFQ23pas15EAnimationState -/* 8013AAE8 00137A48 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 8013AAEC 00137A4C 4B FF 95 29 */ bl GetCurrentState__14CBodyStateInfoFv -/* 8013AAF0 00137A50 81 83 00 00 */ lwz r12, 0(r3) -/* 8013AAF4 00137A54 7F A4 EB 78 */ mr r4, r29 -/* 8013AAF8 00137A58 7F C5 F3 78 */ mr r5, r30 -/* 8013AAFC 00137A5C 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8013AB00 00137A60 7D 89 03 A6 */ mtctr r12 -/* 8013AB04 00137A64 4E 80 04 21 */ bctrl -lbl_8013AB08: -/* 8013AB08 00137A68 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 8013AB0C 00137A6C 4B FF 94 31 */ bl GetCurrentAdditiveState__14CBodyStateInfoFv -/* 8013AB10 00137A70 81 83 00 00 */ lwz r12, 0(r3) -/* 8013AB14 00137A74 FC 20 F8 90 */ fmr f1, f31 -/* 8013AB18 00137A78 7F A4 EB 78 */ mr r4, r29 -/* 8013AB1C 00137A7C 7F C5 F3 78 */ mr r5, r30 -/* 8013AB20 00137A80 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8013AB24 00137A84 7D 89 03 A6 */ mtctr r12 -/* 8013AB28 00137A88 4E 80 04 21 */ bctrl -/* 8013AB2C 00137A8C 7C 7F 1B 78 */ mr r31, r3 -/* 8013AB30 00137A90 2C 1F FF FF */ cmpwi r31, -1 -/* 8013AB34 00137A94 41 82 00 4C */ beq lbl_8013AB80 -/* 8013AB38 00137A98 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 8013AB3C 00137A9C 4B FF 94 01 */ bl GetCurrentAdditiveState__14CBodyStateInfoFv -/* 8013AB40 00137AA0 81 83 00 00 */ lwz r12, 0(r3) -/* 8013AB44 00137AA4 7F A4 EB 78 */ mr r4, r29 -/* 8013AB48 00137AA8 81 8C 00 1C */ lwz r12, 0x1c(r12) -/* 8013AB4C 00137AAC 7D 89 03 A6 */ mtctr r12 -/* 8013AB50 00137AB0 4E 80 04 21 */ bctrl -/* 8013AB54 00137AB4 7F E4 FB 78 */ mr r4, r31 -/* 8013AB58 00137AB8 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 8013AB5C 00137ABC 4B FF 94 35 */ bl SetAdditiveState__14CBodyStateInfoFQ23pas15EAnimationState -/* 8013AB60 00137AC0 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 8013AB64 00137AC4 4B FF 93 D9 */ bl GetCurrentAdditiveState__14CBodyStateInfoFv -/* 8013AB68 00137AC8 81 83 00 00 */ lwz r12, 0(r3) -/* 8013AB6C 00137ACC 7F A4 EB 78 */ mr r4, r29 -/* 8013AB70 00137AD0 7F C5 F3 78 */ mr r5, r30 -/* 8013AB74 00137AD4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8013AB78 00137AD8 7D 89 03 A6 */ mtctr r12 -/* 8013AB7C 00137ADC 4E 80 04 21 */ bctrl -lbl_8013AB80: -/* 8013AB80 00137AE0 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8013AB84 00137AE4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8013AB88 00137AE8 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8013AB8C 00137AEC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013AB90 00137AF0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8013AB94 00137AF4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8013AB98 00137AF8 7C 08 03 A6 */ mtlr r0 -/* 8013AB9C 00137AFC 38 21 00 30 */ addi r1, r1, 0x30 -/* 8013ABA0 00137B00 4E 80 00 20 */ blr - -.global SetFallState__15CBodyControllerFQ23pas10EFallState -SetFallState__15CBodyControllerFQ23pas10EFallState: -/* 8013ABA4 00137B04 90 83 02 F0 */ stw r4, 0x2f0(r3) -/* 8013ABA8 00137B08 4E 80 00 20 */ blr - -.global GetFallState__15CBodyControllerCFv -GetFallState__15CBodyControllerCFv: -/* 8013ABAC 00137B0C 80 63 02 F0 */ lwz r3, 0x2f0(r3) -/* 8013ABB0 00137B10 4E 80 00 20 */ blr - -.global HasBodyState__15CBodyControllerCFQ23pas15EAnimationState -HasBodyState__15CBodyControllerCFQ23pas15EAnimationState: -/* 8013ABB4 00137B14 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013ABB8 00137B18 7C 08 02 A6 */ mflr r0 -/* 8013ABBC 00137B1C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013ABC0 00137B20 80 63 00 00 */ lwz r3, 0(r3) -/* 8013ABC4 00137B24 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8013ABC8 00137B28 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8013ABCC 00137B2C 38 63 00 3C */ addi r3, r3, 0x3c -/* 8013ABD0 00137B30 48 1A A3 AD */ bl HasState__12CPASDatabaseCFi -/* 8013ABD4 00137B34 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013ABD8 00137B38 7C 08 03 A6 */ mtlr r0 -/* 8013ABDC 00137B3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013ABE0 00137B40 4E 80 00 20 */ blr - -.global Update__15CBodyControllerFfR13CStateManager -Update__15CBodyControllerFfR13CStateManager: -/* 8013ABE4 00137B44 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8013ABE8 00137B48 7C 08 02 A6 */ mflr r0 -/* 8013ABEC 00137B4C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8013ABF0 00137B50 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8013ABF4 00137B54 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8013ABF8 00137B58 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8013ABFC 00137B5C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8013AC00 00137B60 FF E0 08 90 */ fmr f31, f1 -/* 8013AC04 00137B64 C0 22 9A 70 */ lfs f1, lbl_805AB790@sda21(r2) -/* 8013AC08 00137B68 7C 7F 1B 78 */ mr r31, r3 -/* 8013AC0C 00137B6C 7C 9E 23 78 */ mr r30, r4 -/* 8013AC10 00137B70 4B FF FC 7D */ bl SetPlaybackRate__15CBodyControllerFf -/* 8013AC14 00137B74 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 8013AC18 00137B78 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8013AC1C 00137B7C 41 82 00 B4 */ beq lbl_8013ACD0 -/* 8013AC20 00137B80 3C 80 80 3D */ lis r4, lbl_803D0060@ha -/* 8013AC24 00137B84 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013AC28 00137B88 38 84 00 60 */ addi r4, r4, lbl_803D0060@l -/* 8013AC2C 00137B8C 4B EC A0 8D */ bl string_l__4rstlFPCc -/* 8013AC30 00137B90 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013AC34 00137B94 FC 20 F8 90 */ fmr f1, f31 -/* 8013AC38 00137B98 38 81 00 10 */ addi r4, r1, 0x10 -/* 8013AC3C 00137B9C 80 63 00 64 */ lwz r3, 0x64(r3) -/* 8013AC40 00137BA0 80 63 00 10 */ lwz r3, 0x10(r3) -/* 8013AC44 00137BA4 4B EF 17 A9 */ bl "IsAnimTimeRemaining__9CAnimDataCFfRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8013AC48 00137BA8 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 8013AC4C 00137BAC 88 1F 03 00 */ lbz r0, 0x300(r31) -/* 8013AC50 00137BB0 7C 64 00 34 */ cntlzw r4, r3 -/* 8013AC54 00137BB4 50 80 16 30 */ rlwimi r0, r4, 2, 0x18, 0x18 -/* 8013AC58 00137BB8 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013AC5C 00137BBC 98 1F 03 00 */ stb r0, 0x300(r31) -/* 8013AC60 00137BC0 48 20 2E 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8013AC64 00137BC4 38 7F 00 04 */ addi r3, r31, 4 -/* 8013AC68 00137BC8 4B FF 68 E1 */ bl BlendSteeringCmds__16CBodyStateCmdMgrFv -/* 8013AC6C 00137BCC 3C 60 80 5A */ lis r3, lbl_805A6660@ha -/* 8013AC70 00137BD0 FC 20 F8 90 */ fmr f1, f31 -/* 8013AC74 00137BD4 38 C3 66 60 */ addi r6, r3, lbl_805A6660@l -/* 8013AC78 00137BD8 7F E3 FB 78 */ mr r3, r31 -/* 8013AC7C 00137BDC C0 06 00 00 */ lfs f0, 0(r6) -/* 8013AC80 00137BE0 7F C4 F3 78 */ mr r4, r30 -/* 8013AC84 00137BE4 D0 1F 02 DC */ stfs f0, 0x2dc(r31) -/* 8013AC88 00137BE8 80 A6 00 04 */ lwz r5, 4(r6) -/* 8013AC8C 00137BEC 80 06 00 08 */ lwz r0, 8(r6) -/* 8013AC90 00137BF0 90 BF 02 E0 */ stw r5, 0x2e0(r31) -/* 8013AC94 00137BF4 90 1F 02 E4 */ stw r0, 0x2e4(r31) -/* 8013AC98 00137BF8 80 06 00 0C */ lwz r0, 0xc(r6) -/* 8013AC9C 00137BFC 90 1F 02 E8 */ stw r0, 0x2e8(r31) -/* 8013ACA0 00137C00 4B FF FD 41 */ bl UpdateBody__15CBodyControllerFfR13CStateManager -/* 8013ACA4 00137C04 80 9F 00 00 */ lwz r4, 0(r31) -/* 8013ACA8 00137C08 38 61 00 08 */ addi r3, r1, 8 -/* 8013ACAC 00137C0C 4B F7 1A 39 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 8013ACB0 00137C10 80 63 00 04 */ lwz r3, 4(r3) -/* 8013ACB4 00137C14 28 03 00 00 */ cmplwi r3, 0 -/* 8013ACB8 00137C18 41 82 00 10 */ beq lbl_8013ACC8 -/* 8013ACBC 00137C1C FC 20 F8 90 */ fmr f1, f31 -/* 8013ACC0 00137C20 38 9F 02 DC */ addi r4, r31, 0x2dc -/* 8013ACC4 00137C24 4B FE 00 99 */ bl RotateInOneFrameOR__13CPhysicsActorFRC11CQuaternionf -lbl_8013ACC8: -/* 8013ACC8 00137C28 38 7F 00 04 */ addi r3, r31, 4 -/* 8013ACCC 00137C2C 4B FF 68 1D */ bl Reset__16CBodyStateCmdMgrFv -lbl_8013ACD0: -/* 8013ACD0 00137C30 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8013ACD4 00137C34 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8013ACD8 00137C38 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8013ACDC 00137C3C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8013ACE0 00137C40 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8013ACE4 00137C44 7C 08 03 A6 */ mtlr r0 -/* 8013ACE8 00137C48 38 21 00 40 */ addi r1, r1, 0x40 -/* 8013ACEC 00137C4C 4E 80 00 20 */ blr - -.global Activate__15CBodyControllerFR13CStateManager -Activate__15CBodyControllerFR13CStateManager: -/* 8013ACF0 00137C50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013ACF4 00137C54 7C 08 02 A6 */ mflr r0 -/* 8013ACF8 00137C58 38 A0 00 01 */ li r5, 1 -/* 8013ACFC 00137C5C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013AD00 00137C60 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013AD04 00137C64 7C 9F 23 78 */ mr r31, r4 -/* 8013AD08 00137C68 93 C1 00 08 */ stw r30, 8(r1) -/* 8013AD0C 00137C6C 7C 7E 1B 78 */ mr r30, r3 -/* 8013AD10 00137C70 88 03 03 00 */ lbz r0, 0x300(r3) -/* 8013AD14 00137C74 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8013AD18 00137C78 98 03 03 00 */ stb r0, 0x300(r3) -/* 8013AD1C 00137C7C 4B FF F7 39 */ bl GetPASDatabase__15CBodyControllerCFv -/* 8013AD20 00137C80 7C 64 1B 78 */ mr r4, r3 -/* 8013AD24 00137C84 38 7E 02 A4 */ addi r3, r30, 0x2a4 -/* 8013AD28 00137C88 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8013AD2C 00137C8C 4B FF 93 B1 */ bl SetState__14CBodyStateInfoFQ23pas15EAnimationState -/* 8013AD30 00137C90 38 7E 02 A4 */ addi r3, r30, 0x2a4 -/* 8013AD34 00137C94 4B FF 92 E1 */ bl GetCurrentState__14CBodyStateInfoFv -/* 8013AD38 00137C98 81 83 00 00 */ lwz r12, 0(r3) -/* 8013AD3C 00137C9C 7F C4 F3 78 */ mr r4, r30 -/* 8013AD40 00137CA0 7F E5 FB 78 */ mr r5, r31 -/* 8013AD44 00137CA4 81 8C 00 2C */ lwz r12, 0x2c(r12) -/* 8013AD48 00137CA8 7D 89 03 A6 */ mtctr r12 -/* 8013AD4C 00137CAC 4E 80 04 21 */ bctrl -/* 8013AD50 00137CB0 38 7E 02 A4 */ addi r3, r30, 0x2a4 -/* 8013AD54 00137CB4 4B FF 91 E9 */ bl GetCurrentAdditiveState__14CBodyStateInfoFv -/* 8013AD58 00137CB8 81 83 00 00 */ lwz r12, 0(r3) -/* 8013AD5C 00137CBC 7F C4 F3 78 */ mr r4, r30 -/* 8013AD60 00137CC0 7F E5 FB 78 */ mr r5, r31 -/* 8013AD64 00137CC4 81 8C 00 14 */ lwz r12, 0x14(r12) -/* 8013AD68 00137CC8 7D 89 03 A6 */ mtctr r12 -/* 8013AD6C 00137CCC 4E 80 04 21 */ bctrl -/* 8013AD70 00137CD0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013AD74 00137CD4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013AD78 00137CD8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8013AD7C 00137CDC 7C 08 03 A6 */ mtlr r0 -/* 8013AD80 00137CE0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013AD84 00137CE4 4E 80 00 20 */ blr - -.global __ct__15CBodyControllerFR6CActorf9EBodyType -__ct__15CBodyControllerFR6CActorf9EBodyType: -/* 8013AD88 00137CE8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8013AD8C 00137CEC 7C 08 02 A6 */ mflr r0 -/* 8013AD90 00137CF0 90 01 00 34 */ stw r0, 0x34(r1) -/* 8013AD94 00137CF4 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8013AD98 00137CF8 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8013AD9C 00137CFC 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013ADA0 00137D00 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8013ADA4 00137D04 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8013ADA8 00137D08 7C 7D 1B 78 */ mr r29, r3 -/* 8013ADAC 00137D0C 7C 9E 23 78 */ mr r30, r4 -/* 8013ADB0 00137D10 FF E0 08 90 */ fmr f31, f1 -/* 8013ADB4 00137D14 93 C3 00 00 */ stw r30, 0(r3) -/* 8013ADB8 00137D18 7C BF 2B 78 */ mr r31, r5 -/* 8013ADBC 00137D1C 38 7D 00 04 */ addi r3, r29, 4 -/* 8013ADC0 00137D20 4B FF 6E ED */ bl __ct__16CBodyStateCmdMgrFv -/* 8013ADC4 00137D24 7F C4 F3 78 */ mr r4, r30 -/* 8013ADC8 00137D28 7F E5 FB 78 */ mr r5, r31 -/* 8013ADCC 00137D2C 38 7D 02 A4 */ addi r3, r29, 0x2a4 -/* 8013ADD0 00137D30 4B FF 95 B5 */ bl __ct__14CBodyStateInfoFR6CActor9EBodyType -/* 8013ADD4 00137D34 3C 80 80 5A */ lis r4, lbl_805A6660@ha -/* 8013ADD8 00137D38 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013ADDC 00137D3C 38 E4 66 60 */ addi r7, r4, lbl_805A6660@l -/* 8013ADE0 00137D40 38 C0 00 01 */ li r6, 1 -/* 8013ADE4 00137D44 C0 07 00 00 */ lfs f0, 0(r7) -/* 8013ADE8 00137D48 38 A0 00 00 */ li r5, 0 -/* 8013ADEC 00137D4C 38 00 FF FF */ li r0, -1 -/* 8013ADF0 00137D50 C0 22 9A 78 */ lfs f1, lbl_805AB798@sda21(r2) -/* 8013ADF4 00137D54 D0 1D 02 DC */ stfs f0, 0x2dc(r29) -/* 8013ADF8 00137D58 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 8013ADFC 00137D5C 7F A3 EB 78 */ mr r3, r29 -/* 8013AE00 00137D60 C0 07 00 04 */ lfs f0, 4(r7) -/* 8013AE04 00137D64 D0 1D 02 E0 */ stfs f0, 0x2e0(r29) -/* 8013AE08 00137D68 C0 07 00 08 */ lfs f0, 8(r7) -/* 8013AE0C 00137D6C D0 1D 02 E4 */ stfs f0, 0x2e4(r29) -/* 8013AE10 00137D70 C0 07 00 0C */ lfs f0, 0xc(r7) -/* 8013AE14 00137D74 D0 1D 02 E8 */ stfs f0, 0x2e8(r29) -/* 8013AE18 00137D78 90 DD 02 EC */ stw r6, 0x2ec(r29) -/* 8013AE1C 00137D7C 90 BD 02 F0 */ stw r5, 0x2f0(r29) -/* 8013AE20 00137D80 93 FD 02 F4 */ stw r31, 0x2f4(r29) -/* 8013AE24 00137D84 90 1D 02 F8 */ stw r0, 0x2f8(r29) -/* 8013AE28 00137D88 D3 FD 02 FC */ stfs f31, 0x2fc(r29) -/* 8013AE2C 00137D8C 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 8013AE30 00137D90 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 8013AE34 00137D94 98 1D 03 00 */ stb r0, 0x300(r29) -/* 8013AE38 00137D98 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 8013AE3C 00137D9C 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 8013AE40 00137DA0 98 1D 03 00 */ stb r0, 0x300(r29) -/* 8013AE44 00137DA4 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 8013AE48 00137DA8 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 8013AE4C 00137DAC 98 1D 03 00 */ stb r0, 0x300(r29) -/* 8013AE50 00137DB0 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 8013AE54 00137DB4 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 8013AE58 00137DB8 98 1D 03 00 */ stb r0, 0x300(r29) -/* 8013AE5C 00137DBC 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 8013AE60 00137DC0 50 C0 1F 38 */ rlwimi r0, r6, 3, 0x1c, 0x1c -/* 8013AE64 00137DC4 98 1D 03 00 */ stb r0, 0x300(r29) -/* 8013AE68 00137DC8 D0 3D 03 04 */ stfs f1, 0x304(r29) -/* 8013AE6C 00137DCC D0 3D 03 08 */ stfs f1, 0x308(r29) -/* 8013AE70 00137DD0 D0 3D 03 0C */ stfs f1, 0x30c(r29) -/* 8013AE74 00137DD4 D0 3D 03 10 */ stfs f1, 0x310(r29) -/* 8013AE78 00137DD8 C0 04 00 00 */ lfs f0, 0(r4) -/* 8013AE7C 00137DDC D0 1D 03 14 */ stfs f0, 0x314(r29) -/* 8013AE80 00137DE0 C0 04 00 04 */ lfs f0, 4(r4) -/* 8013AE84 00137DE4 D0 1D 03 18 */ stfs f0, 0x318(r29) -/* 8013AE88 00137DE8 C0 04 00 08 */ lfs f0, 8(r4) -/* 8013AE8C 00137DEC D0 1D 03 1C */ stfs f0, 0x31c(r29) -/* 8013AE90 00137DF0 D0 3D 03 20 */ stfs f1, 0x320(r29) -/* 8013AE94 00137DF4 D0 3D 03 24 */ stfs f1, 0x324(r29) -/* 8013AE98 00137DF8 D0 3D 03 28 */ stfs f1, 0x328(r29) -/* 8013AE9C 00137DFC D0 3D 03 2C */ stfs f1, 0x32c(r29) -/* 8013AEA0 00137E00 D0 3D 03 30 */ stfs f1, 0x330(r29) -/* 8013AEA4 00137E04 93 BD 02 BC */ stw r29, 0x2bc(r29) -/* 8013AEA8 00137E08 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8013AEAC 00137E0C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8013AEB0 00137E10 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8013AEB4 00137E14 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013AEB8 00137E18 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8013AEBC 00137E1C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8013AEC0 00137E20 7C 08 03 A6 */ mtlr r0 -/* 8013AEC4 00137E24 38 21 00 30 */ addi r1, r1, 0x30 -/* 8013AEC8 00137E28 4E 80 00 20 */ blr - -.global __dt__13CBSLoopAttackFv -__dt__13CBSLoopAttackFv: -/* 8013AECC 00137E2C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013AED0 00137E30 7C 08 02 A6 */ mflr r0 -/* 8013AED4 00137E34 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013AED8 00137E38 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013AEDC 00137E3C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8013AEE0 00137E40 41 82 00 30 */ beq lbl_8013AF10 -/* 8013AEE4 00137E44 3C 60 80 3E */ lis r3, lbl_803E17C8@ha -/* 8013AEE8 00137E48 38 03 17 C8 */ addi r0, r3, lbl_803E17C8@l -/* 8013AEEC 00137E4C 90 1F 00 00 */ stw r0, 0(r31) -/* 8013AEF0 00137E50 41 82 00 10 */ beq lbl_8013AF00 -/* 8013AEF4 00137E54 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 8013AEF8 00137E58 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 8013AEFC 00137E5C 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013AF00: -/* 8013AF00 00137E60 7C 80 07 35 */ extsh. r0, r4 -/* 8013AF04 00137E64 40 81 00 0C */ ble lbl_8013AF10 -/* 8013AF08 00137E68 7F E3 FB 78 */ mr r3, r31 -/* 8013AF0C 00137E6C 48 1D AA 25 */ bl Free__7CMemoryFPCv -lbl_8013AF10: -/* 8013AF10 00137E70 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013AF14 00137E74 7F E3 FB 78 */ mr r3, r31 -/* 8013AF18 00137E78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013AF1C 00137E7C 7C 08 03 A6 */ mtlr r0 -/* 8013AF20 00137E80 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013AF24 00137E84 4E 80 00 20 */ blr - -.global CanShoot__13CBSLoopAttackCFv -CanShoot__13CBSLoopAttackCFv: -/* 8013AF28 00137E88 38 60 00 01 */ li r3, 1 -/* 8013AF2C 00137E8C 4E 80 00 20 */ blr - -.global GetBodyStateTransition__13CBSLoopAttackFfR15CBodyController -GetBodyStateTransition__13CBSLoopAttackFfR15CBodyController: -/* 8013AF30 00137E90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013AF34 00137E94 7C 08 02 A6 */ mflr r0 -/* 8013AF38 00137E98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013AF3C 00137E9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013AF40 00137EA0 3B E4 00 04 */ addi r31, r4, 4 -/* 8013AF44 00137EA4 38 80 00 0F */ li r4, 0xf -/* 8013AF48 00137EA8 93 C1 00 08 */ stw r30, 8(r1) -/* 8013AF4C 00137EAC 7C 7E 1B 78 */ mr r30, r3 -/* 8013AF50 00137EB0 7F E3 FB 78 */ mr r3, r31 -/* 8013AF54 00137EB4 4B FF 64 FD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013AF58 00137EB8 28 03 00 00 */ cmplwi r3, 0 -/* 8013AF5C 00137EBC 41 82 00 0C */ beq lbl_8013AF68 -/* 8013AF60 00137EC0 38 60 00 0E */ li r3, 0xe -/* 8013AF64 00137EC4 48 00 01 74 */ b lbl_8013B0D8 -lbl_8013AF68: -/* 8013AF68 00137EC8 7F E3 FB 78 */ mr r3, r31 -/* 8013AF6C 00137ECC 38 80 00 03 */ li r4, 3 -/* 8013AF70 00137ED0 4B FF 64 E1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013AF74 00137ED4 28 03 00 00 */ cmplwi r3, 0 -/* 8013AF78 00137ED8 41 82 00 0C */ beq lbl_8013AF84 -/* 8013AF7C 00137EDC 38 60 00 00 */ li r3, 0 -/* 8013AF80 00137EE0 48 00 01 58 */ b lbl_8013B0D8 -lbl_8013AF84: -/* 8013AF84 00137EE4 7F E3 FB 78 */ mr r3, r31 -/* 8013AF88 00137EE8 38 80 00 09 */ li r4, 9 -/* 8013AF8C 00137EEC 4B FF 64 C5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013AF90 00137EF0 28 03 00 00 */ cmplwi r3, 0 -/* 8013AF94 00137EF4 41 82 00 0C */ beq lbl_8013AFA0 -/* 8013AF98 00137EF8 38 60 00 0A */ li r3, 0xa -/* 8013AF9C 00137EFC 48 00 01 3C */ b lbl_8013B0D8 -lbl_8013AFA0: -/* 8013AFA0 00137F00 7F E3 FB 78 */ mr r3, r31 -/* 8013AFA4 00137F04 38 80 00 04 */ li r4, 4 -/* 8013AFA8 00137F08 4B FF 64 A9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013AFAC 00137F0C 28 03 00 00 */ cmplwi r3, 0 -/* 8013AFB0 00137F10 41 82 00 0C */ beq lbl_8013AFBC -/* 8013AFB4 00137F14 38 60 00 06 */ li r3, 6 -/* 8013AFB8 00137F18 48 00 01 20 */ b lbl_8013B0D8 -lbl_8013AFBC: -/* 8013AFBC 00137F1C 7F E3 FB 78 */ mr r3, r31 -/* 8013AFC0 00137F20 38 80 00 16 */ li r4, 0x16 -/* 8013AFC4 00137F24 4B FF 64 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013AFC8 00137F28 28 03 00 00 */ cmplwi r3, 0 -/* 8013AFCC 00137F2C 41 82 00 0C */ beq lbl_8013AFD8 -/* 8013AFD0 00137F30 38 60 00 05 */ li r3, 5 -/* 8013AFD4 00137F34 48 00 01 04 */ b lbl_8013B0D8 -lbl_8013AFD8: -/* 8013AFD8 00137F38 80 1E 00 04 */ lwz r0, 4(r30) -/* 8013AFDC 00137F3C 2C 00 00 02 */ cmpwi r0, 2 -/* 8013AFE0 00137F40 40 82 00 F4 */ bne lbl_8013B0D4 -/* 8013AFE4 00137F44 7F E3 FB 78 */ mr r3, r31 -/* 8013AFE8 00137F48 38 80 00 05 */ li r4, 5 -/* 8013AFEC 00137F4C 4B FF 64 65 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013AFF0 00137F50 28 03 00 00 */ cmplwi r3, 0 -/* 8013AFF4 00137F54 41 82 00 0C */ beq lbl_8013B000 -/* 8013AFF8 00137F58 38 60 00 07 */ li r3, 7 -/* 8013AFFC 00137F5C 48 00 00 DC */ b lbl_8013B0D8 -lbl_8013B000: -/* 8013B000 00137F60 7F E3 FB 78 */ mr r3, r31 -/* 8013B004 00137F64 38 80 00 06 */ li r4, 6 -/* 8013B008 00137F68 4B FF 64 49 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013B00C 00137F6C 28 03 00 00 */ cmplwi r3, 0 -/* 8013B010 00137F70 41 82 00 0C */ beq lbl_8013B01C -/* 8013B014 00137F74 38 60 00 12 */ li r3, 0x12 -/* 8013B018 00137F78 48 00 00 C0 */ b lbl_8013B0D8 -lbl_8013B01C: -/* 8013B01C 00137F7C 7F E3 FB 78 */ mr r3, r31 -/* 8013B020 00137F80 38 80 00 07 */ li r4, 7 -/* 8013B024 00137F84 4B FF 64 2D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013B028 00137F88 28 03 00 00 */ cmplwi r3, 0 -/* 8013B02C 00137F8C 41 82 00 0C */ beq lbl_8013B038 -/* 8013B030 00137F90 38 60 00 09 */ li r3, 9 -/* 8013B034 00137F94 48 00 00 A4 */ b lbl_8013B0D8 -lbl_8013B038: -/* 8013B038 00137F98 7F E3 FB 78 */ mr r3, r31 -/* 8013B03C 00137F9C 38 80 00 01 */ li r4, 1 -/* 8013B040 00137FA0 4B FF 64 11 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013B044 00137FA4 28 03 00 00 */ cmplwi r3, 0 -/* 8013B048 00137FA8 41 82 00 0C */ beq lbl_8013B054 -/* 8013B04C 00137FAC 38 60 00 03 */ li r3, 3 -/* 8013B050 00137FB0 48 00 00 88 */ b lbl_8013B0D8 -lbl_8013B054: -/* 8013B054 00137FB4 C0 22 9A 88 */ lfs f1, lbl_805AB7A8@sda21(r2) -/* 8013B058 00137FB8 38 00 00 00 */ li r0, 0 -/* 8013B05C 00137FBC C0 1F 00 00 */ lfs f0, 0(r31) -/* 8013B060 00137FC0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013B064 00137FC4 40 82 00 1C */ bne lbl_8013B080 -/* 8013B068 00137FC8 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8013B06C 00137FCC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013B070 00137FD0 40 82 00 10 */ bne lbl_8013B080 -/* 8013B074 00137FD4 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8013B078 00137FD8 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013B07C 00137FDC 41 82 00 08 */ beq lbl_8013B084 -lbl_8013B080: -/* 8013B080 00137FE0 38 00 00 01 */ li r0, 1 -lbl_8013B084: -/* 8013B084 00137FE4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8013B088 00137FE8 41 82 00 0C */ beq lbl_8013B094 -/* 8013B08C 00137FEC 38 60 00 05 */ li r3, 5 -/* 8013B090 00137FF0 48 00 00 48 */ b lbl_8013B0D8 -lbl_8013B094: -/* 8013B094 00137FF4 C0 22 9A 88 */ lfs f1, lbl_805AB7A8@sda21(r2) -/* 8013B098 00137FF8 38 00 00 00 */ li r0, 0 -/* 8013B09C 00137FFC C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8013B0A0 00138000 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013B0A4 00138004 40 82 00 1C */ bne lbl_8013B0C0 -/* 8013B0A8 00138008 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8013B0AC 0013800C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013B0B0 00138010 40 82 00 10 */ bne lbl_8013B0C0 -/* 8013B0B4 00138014 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8013B0B8 00138018 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013B0BC 0013801C 41 82 00 08 */ beq lbl_8013B0C4 -lbl_8013B0C0: -/* 8013B0C0 00138020 38 00 00 01 */ li r0, 1 -lbl_8013B0C4: -/* 8013B0C4 00138024 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8013B0C8 00138028 41 82 00 0C */ beq lbl_8013B0D4 -/* 8013B0CC 0013802C 38 60 00 08 */ li r3, 8 -/* 8013B0D0 00138030 48 00 00 08 */ b lbl_8013B0D8 -lbl_8013B0D4: -/* 8013B0D4 00138034 38 60 FF FF */ li r3, -1 -lbl_8013B0D8: -/* 8013B0D8 00138038 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013B0DC 0013803C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013B0E0 00138040 83 C1 00 08 */ lwz r30, 8(r1) -/* 8013B0E4 00138044 7C 08 03 A6 */ mtlr r0 -/* 8013B0E8 00138048 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013B0EC 0013804C 4E 80 00 20 */ blr - -.global Shutdown__13CBSLoopAttackFR15CBodyController -Shutdown__13CBSLoopAttackFR15CBodyController: -/* 8013B0F0 00138050 4E 80 00 20 */ blr - -.global UpdateBody__13CBSLoopAttackFfR15CBodyControllerR13CStateManager -UpdateBody__13CBSLoopAttackFfR15CBodyControllerR13CStateManager: -/* 8013B0F4 00138054 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 8013B0F8 00138058 7C 08 02 A6 */ mflr r0 -/* 8013B0FC 0013805C 90 01 01 54 */ stw r0, 0x154(r1) -/* 8013B100 00138060 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 8013B104 00138064 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 8013B108 00138068 BF 61 01 2C */ stmw r27, 0x12c(r1) -/* 8013B10C 0013806C FF E0 08 90 */ fmr f31, f1 -/* 8013B110 00138070 7C 7B 1B 78 */ mr r27, r3 -/* 8013B114 00138074 7C 9C 23 78 */ mr r28, r4 -/* 8013B118 00138078 7C BD 2B 78 */ mr r29, r5 -/* 8013B11C 0013807C 4B FF FE 15 */ bl GetBodyStateTransition__13CBSLoopAttackFfR15CBodyController -/* 8013B120 00138080 7C 7E 1B 78 */ mr r30, r3 -/* 8013B124 00138084 2C 1E FF FF */ cmpwi r30, -1 -/* 8013B128 00138088 40 82 03 24 */ bne lbl_8013B44C -/* 8013B12C 0013808C 3B FC 00 04 */ addi r31, r28, 4 -/* 8013B130 00138090 38 80 00 0A */ li r4, 0xa -/* 8013B134 00138094 7F E3 FB 78 */ mr r3, r31 -/* 8013B138 00138098 4B FF 63 19 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013B13C 0013809C 7C 03 00 D0 */ neg r0, r3 -/* 8013B140 001380A0 88 9B 00 0C */ lbz r4, 0xc(r27) -/* 8013B144 001380A4 7C 03 1B 78 */ or r3, r0, r3 -/* 8013B148 001380A8 88 1B 00 0C */ lbz r0, 0xc(r27) -/* 8013B14C 001380AC 54 65 0F FE */ srwi r5, r3, 0x1f -/* 8013B150 001380B0 54 83 D7 FE */ rlwinm r3, r4, 0x1a, 0x1f, 0x1f -/* 8013B154 001380B4 7C 63 2B 78 */ or r3, r3, r5 -/* 8013B158 001380B8 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8013B15C 001380BC 98 1B 00 0C */ stb r0, 0xc(r27) -/* 8013B160 001380C0 80 1B 00 04 */ lwz r0, 4(r27) -/* 8013B164 001380C4 2C 00 00 01 */ cmpwi r0, 1 -/* 8013B168 001380C8 41 82 01 9C */ beq lbl_8013B304 -/* 8013B16C 001380CC 40 80 00 10 */ bge lbl_8013B17C -/* 8013B170 001380D0 2C 00 00 00 */ cmpwi r0, 0 -/* 8013B174 001380D4 40 80 00 14 */ bge lbl_8013B188 -/* 8013B178 001380D8 48 00 02 D4 */ b lbl_8013B44C -lbl_8013B17C: -/* 8013B17C 001380DC 2C 00 00 03 */ cmpwi r0, 3 -/* 8013B180 001380E0 40 80 02 CC */ bge lbl_8013B44C -/* 8013B184 001380E4 48 00 02 B0 */ b lbl_8013B434 -lbl_8013B188: -/* 8013B188 001380E8 88 7B 00 0C */ lbz r3, 0xc(r27) -/* 8013B18C 001380EC 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8013B190 001380F0 41 82 00 28 */ beq lbl_8013B1B8 -/* 8013B194 001380F4 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8013B198 001380F8 41 82 00 10 */ beq lbl_8013B1A8 -/* 8013B19C 001380FC 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 8013B1A0 00138100 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013B1A4 00138104 41 82 00 14 */ beq lbl_8013B1B8 -lbl_8013B1A8: -/* 8013B1A8 00138108 38 00 FF FF */ li r0, -1 -/* 8013B1AC 0013810C 3B C0 00 05 */ li r30, 5 -/* 8013B1B0 00138110 90 1B 00 04 */ stw r0, 4(r27) -/* 8013B1B4 00138114 48 00 02 98 */ b lbl_8013B44C -lbl_8013B1B8: -/* 8013B1B8 00138118 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 8013B1BC 0013811C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013B1C0 00138120 41 82 00 F8 */ beq lbl_8013B2B8 -/* 8013B1C4 00138124 38 61 00 50 */ addi r3, r1, 0x50 -/* 8013B1C8 00138128 48 1A 7E B5 */ bl NoParameter__12CPASAnimParmFv -/* 8013B1CC 0013812C 38 61 00 58 */ addi r3, r1, 0x58 -/* 8013B1D0 00138130 48 1A 7E AD */ bl NoParameter__12CPASAnimParmFv -/* 8013B1D4 00138134 38 61 00 60 */ addi r3, r1, 0x60 -/* 8013B1D8 00138138 48 1A 7E A5 */ bl NoParameter__12CPASAnimParmFv -/* 8013B1DC 0013813C 38 61 00 68 */ addi r3, r1, 0x68 -/* 8013B1E0 00138140 48 1A 7E 9D */ bl NoParameter__12CPASAnimParmFv -/* 8013B1E4 00138144 38 61 00 70 */ addi r3, r1, 0x70 -/* 8013B1E8 00138148 48 1A 7E 95 */ bl NoParameter__12CPASAnimParmFv -/* 8013B1EC 0013814C 38 61 00 78 */ addi r3, r1, 0x78 -/* 8013B1F0 00138150 48 1A 7E 8D */ bl NoParameter__12CPASAnimParmFv -/* 8013B1F4 00138154 80 9B 00 08 */ lwz r4, 8(r27) -/* 8013B1F8 00138158 38 61 00 80 */ addi r3, r1, 0x80 -/* 8013B1FC 0013815C 48 1A 7D 89 */ bl FromEnum__12CPASAnimParmFi -/* 8013B200 00138160 38 61 00 88 */ addi r3, r1, 0x88 -/* 8013B204 00138164 38 80 00 01 */ li r4, 1 -/* 8013B208 00138168 48 1A 7D 7D */ bl FromEnum__12CPASAnimParmFi -/* 8013B20C 0013816C 38 61 00 58 */ addi r3, r1, 0x58 -/* 8013B210 00138170 38 01 00 50 */ addi r0, r1, 0x50 -/* 8013B214 00138174 90 61 00 08 */ stw r3, 8(r1) -/* 8013B218 00138178 38 61 00 D8 */ addi r3, r1, 0xd8 -/* 8013B21C 0013817C 38 A1 00 88 */ addi r5, r1, 0x88 -/* 8013B220 00138180 38 C1 00 80 */ addi r6, r1, 0x80 -/* 8013B224 00138184 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013B228 00138188 38 E1 00 78 */ addi r7, r1, 0x78 -/* 8013B22C 0013818C 39 01 00 70 */ addi r8, r1, 0x70 -/* 8013B230 00138190 39 21 00 68 */ addi r9, r1, 0x68 -/* 8013B234 00138194 39 41 00 60 */ addi r10, r1, 0x60 -/* 8013B238 00138198 38 80 00 09 */ li r4, 9 -/* 8013B23C 0013819C 4B F4 20 89 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013B240 001381A0 80 BD 09 00 */ lwz r5, 0x900(r29) -/* 8013B244 001381A4 7F 83 E3 78 */ mr r3, r28 -/* 8013B248 001381A8 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8013B24C 001381AC 4B FF F0 B1 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 8013B250 001381B0 38 00 00 01 */ li r0, 1 -/* 8013B254 001381B4 34 A1 00 DC */ addic. r5, r1, 0xdc -/* 8013B258 001381B8 90 1B 00 04 */ stw r0, 4(r27) -/* 8013B25C 001381BC 41 82 01 F0 */ beq lbl_8013B44C -/* 8013B260 001381C0 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013B264 001381C4 38 60 00 00 */ li r3, 0 -/* 8013B268 001381C8 2C 06 00 00 */ cmpwi r6, 0 -/* 8013B26C 001381CC 40 81 00 40 */ ble lbl_8013B2AC -/* 8013B270 001381D0 2C 06 00 08 */ cmpwi r6, 8 -/* 8013B274 001381D4 38 86 FF F8 */ addi r4, r6, -8 -/* 8013B278 001381D8 40 81 00 20 */ ble lbl_8013B298 -/* 8013B27C 001381DC 38 04 00 07 */ addi r0, r4, 7 -/* 8013B280 001381E0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013B284 001381E4 7C 09 03 A6 */ mtctr r0 -/* 8013B288 001381E8 2C 04 00 00 */ cmpwi r4, 0 -/* 8013B28C 001381EC 40 81 00 0C */ ble lbl_8013B298 -lbl_8013B290: -/* 8013B290 001381F0 38 63 00 08 */ addi r3, r3, 8 -/* 8013B294 001381F4 42 00 FF FC */ bdnz lbl_8013B290 -lbl_8013B298: -/* 8013B298 001381F8 7C 03 30 50 */ subf r0, r3, r6 -/* 8013B29C 001381FC 7C 09 03 A6 */ mtctr r0 -/* 8013B2A0 00138200 7C 03 30 00 */ cmpw r3, r6 -/* 8013B2A4 00138204 40 80 00 08 */ bge lbl_8013B2AC -lbl_8013B2A8: -/* 8013B2A8 00138208 42 00 00 00 */ bdnz lbl_8013B2A8 -lbl_8013B2AC: -/* 8013B2AC 0013820C 38 00 00 00 */ li r0, 0 -/* 8013B2B0 00138210 90 05 00 00 */ stw r0, 0(r5) -/* 8013B2B4 00138214 48 00 01 98 */ b lbl_8013B44C -lbl_8013B2B8: -/* 8013B2B8 00138218 C0 22 9A 88 */ lfs f1, lbl_805AB7A8@sda21(r2) -/* 8013B2BC 0013821C 38 00 00 00 */ li r0, 0 -/* 8013B2C0 00138220 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 8013B2C4 00138224 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013B2C8 00138228 40 82 00 1C */ bne lbl_8013B2E4 -/* 8013B2CC 0013822C C0 1F 00 1C */ lfs f0, 0x1c(r31) -/* 8013B2D0 00138230 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013B2D4 00138234 40 82 00 10 */ bne lbl_8013B2E4 -/* 8013B2D8 00138238 C0 1F 00 20 */ lfs f0, 0x20(r31) -/* 8013B2DC 0013823C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013B2E0 00138240 41 82 00 08 */ beq lbl_8013B2E8 -lbl_8013B2E4: -/* 8013B2E4 00138244 38 00 00 01 */ li r0, 1 -lbl_8013B2E8: -/* 8013B2E8 00138248 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8013B2EC 0013824C 41 82 01 60 */ beq lbl_8013B44C -/* 8013B2F0 00138250 FC 20 F8 90 */ fmr f1, f31 -/* 8013B2F4 00138254 7F 83 E3 78 */ mr r3, r28 -/* 8013B2F8 00138258 38 9F 00 18 */ addi r4, r31, 0x18 -/* 8013B2FC 0013825C 4B FF F3 A9 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -/* 8013B300 00138260 48 00 01 4C */ b lbl_8013B44C -lbl_8013B304: -/* 8013B304 00138264 88 7B 00 0C */ lbz r3, 0xc(r27) -/* 8013B308 00138268 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 8013B30C 0013826C 41 82 01 40 */ beq lbl_8013B44C -/* 8013B310 00138270 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f -/* 8013B314 00138274 41 82 00 10 */ beq lbl_8013B324 -/* 8013B318 00138278 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 8013B31C 0013827C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013B320 00138280 41 82 01 2C */ beq lbl_8013B44C -lbl_8013B324: -/* 8013B324 00138284 80 1C 02 EC */ lwz r0, 0x2ec(r28) -/* 8013B328 00138288 2C 00 00 00 */ cmpwi r0, 0 -/* 8013B32C 0013828C 41 82 00 F8 */ beq lbl_8013B424 -/* 8013B330 00138290 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013B334 00138294 48 1A 7D 49 */ bl NoParameter__12CPASAnimParmFv -/* 8013B338 00138298 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013B33C 0013829C 48 1A 7D 41 */ bl NoParameter__12CPASAnimParmFv -/* 8013B340 001382A0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013B344 001382A4 48 1A 7D 39 */ bl NoParameter__12CPASAnimParmFv -/* 8013B348 001382A8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8013B34C 001382AC 48 1A 7D 31 */ bl NoParameter__12CPASAnimParmFv -/* 8013B350 001382B0 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013B354 001382B4 48 1A 7D 29 */ bl NoParameter__12CPASAnimParmFv -/* 8013B358 001382B8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8013B35C 001382BC 48 1A 7D 21 */ bl NoParameter__12CPASAnimParmFv -/* 8013B360 001382C0 80 9B 00 08 */ lwz r4, 8(r27) -/* 8013B364 001382C4 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013B368 001382C8 48 1A 7C 1D */ bl FromEnum__12CPASAnimParmFi -/* 8013B36C 001382CC 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013B370 001382D0 38 80 00 02 */ li r4, 2 -/* 8013B374 001382D4 48 1A 7C 11 */ bl FromEnum__12CPASAnimParmFi -/* 8013B378 001382D8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013B37C 001382DC 38 01 00 10 */ addi r0, r1, 0x10 -/* 8013B380 001382E0 90 61 00 08 */ stw r3, 8(r1) -/* 8013B384 001382E4 38 61 00 90 */ addi r3, r1, 0x90 -/* 8013B388 001382E8 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8013B38C 001382EC 38 C1 00 40 */ addi r6, r1, 0x40 -/* 8013B390 001382F0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013B394 001382F4 38 E1 00 38 */ addi r7, r1, 0x38 -/* 8013B398 001382F8 39 01 00 30 */ addi r8, r1, 0x30 -/* 8013B39C 001382FC 39 21 00 28 */ addi r9, r1, 0x28 -/* 8013B3A0 00138300 39 41 00 20 */ addi r10, r1, 0x20 -/* 8013B3A4 00138304 38 80 00 09 */ li r4, 9 -/* 8013B3A8 00138308 4B F4 1F 1D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013B3AC 0013830C 80 BD 09 00 */ lwz r5, 0x900(r29) -/* 8013B3B0 00138310 7F 83 E3 78 */ mr r3, r28 -/* 8013B3B4 00138314 38 81 00 90 */ addi r4, r1, 0x90 -/* 8013B3B8 00138318 4B FF EF F1 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 8013B3BC 0013831C 38 00 00 02 */ li r0, 2 -/* 8013B3C0 00138320 34 A1 00 94 */ addic. r5, r1, 0x94 -/* 8013B3C4 00138324 90 1B 00 04 */ stw r0, 4(r27) -/* 8013B3C8 00138328 41 82 00 84 */ beq lbl_8013B44C -/* 8013B3CC 0013832C 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013B3D0 00138330 38 60 00 00 */ li r3, 0 -/* 8013B3D4 00138334 2C 06 00 00 */ cmpwi r6, 0 -/* 8013B3D8 00138338 40 81 00 40 */ ble lbl_8013B418 -/* 8013B3DC 0013833C 2C 06 00 08 */ cmpwi r6, 8 -/* 8013B3E0 00138340 38 86 FF F8 */ addi r4, r6, -8 -/* 8013B3E4 00138344 40 81 00 20 */ ble lbl_8013B404 -/* 8013B3E8 00138348 38 04 00 07 */ addi r0, r4, 7 -/* 8013B3EC 0013834C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013B3F0 00138350 7C 09 03 A6 */ mtctr r0 -/* 8013B3F4 00138354 2C 04 00 00 */ cmpwi r4, 0 -/* 8013B3F8 00138358 40 81 00 0C */ ble lbl_8013B404 -lbl_8013B3FC: -/* 8013B3FC 0013835C 38 63 00 08 */ addi r3, r3, 8 -/* 8013B400 00138360 42 00 FF FC */ bdnz lbl_8013B3FC -lbl_8013B404: -/* 8013B404 00138364 7C 03 30 50 */ subf r0, r3, r6 -/* 8013B408 00138368 7C 09 03 A6 */ mtctr r0 -/* 8013B40C 0013836C 7C 03 30 00 */ cmpw r3, r6 -/* 8013B410 00138370 40 80 00 08 */ bge lbl_8013B418 -lbl_8013B414: -/* 8013B414 00138374 42 00 00 00 */ bdnz lbl_8013B414 -lbl_8013B418: -/* 8013B418 00138378 38 00 00 00 */ li r0, 0 -/* 8013B41C 0013837C 90 05 00 00 */ stw r0, 0(r5) -/* 8013B420 00138380 48 00 00 2C */ b lbl_8013B44C -lbl_8013B424: -/* 8013B424 00138384 38 00 FF FF */ li r0, -1 -/* 8013B428 00138388 3B C0 00 05 */ li r30, 5 -/* 8013B42C 0013838C 90 1B 00 04 */ stw r0, 4(r27) -/* 8013B430 00138390 48 00 00 1C */ b lbl_8013B44C -lbl_8013B434: -/* 8013B434 00138394 88 1C 03 00 */ lbz r0, 0x300(r28) -/* 8013B438 00138398 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013B43C 0013839C 41 82 00 10 */ beq lbl_8013B44C -/* 8013B440 001383A0 38 00 FF FF */ li r0, -1 -/* 8013B444 001383A4 3B C0 00 05 */ li r30, 5 -/* 8013B448 001383A8 90 1B 00 04 */ stw r0, 4(r27) -lbl_8013B44C: -/* 8013B44C 001383AC 7F C3 F3 78 */ mr r3, r30 -/* 8013B450 001383B0 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 8013B454 001383B4 CB E1 01 40 */ lfd f31, 0x140(r1) -/* 8013B458 001383B8 BB 61 01 2C */ lmw r27, 0x12c(r1) -/* 8013B45C 001383BC 80 01 01 54 */ lwz r0, 0x154(r1) -/* 8013B460 001383C0 7C 08 03 A6 */ mtlr r0 -/* 8013B464 001383C4 38 21 01 50 */ addi r1, r1, 0x150 -/* 8013B468 001383C8 4E 80 00 20 */ blr - -.global Start__13CBSLoopAttackFR15CBodyControllerR13CStateManager -Start__13CBSLoopAttackFR15CBodyControllerR13CStateManager: -/* 8013B46C 001383CC 94 21 FE 10 */ stwu r1, -0x1f0(r1) -/* 8013B470 001383D0 7C 08 02 A6 */ mflr r0 -/* 8013B474 001383D4 90 01 01 F4 */ stw r0, 0x1f4(r1) -/* 8013B478 001383D8 93 E1 01 EC */ stw r31, 0x1ec(r1) -/* 8013B47C 001383DC 7C BF 2B 78 */ mr r31, r5 -/* 8013B480 001383E0 93 C1 01 E8 */ stw r30, 0x1e8(r1) -/* 8013B484 001383E4 7C 9E 23 78 */ mr r30, r4 -/* 8013B488 001383E8 38 80 00 07 */ li r4, 7 -/* 8013B48C 001383EC 93 A1 01 E4 */ stw r29, 0x1e4(r1) -/* 8013B490 001383F0 7C 7D 1B 78 */ mr r29, r3 -/* 8013B494 001383F4 38 7E 00 04 */ addi r3, r30, 4 -/* 8013B498 001383F8 4B FF 5F B9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013B49C 001383FC 80 03 00 08 */ lwz r0, 8(r3) -/* 8013B4A0 00138400 38 80 00 00 */ li r4, 0 -/* 8013B4A4 00138404 90 1D 00 08 */ stw r0, 8(r29) -/* 8013B4A8 00138408 80 63 00 0C */ lwz r3, 0xc(r3) -/* 8013B4AC 0013840C 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 8013B4B0 00138410 20 63 00 01 */ subfic r3, r3, 1 -/* 8013B4B4 00138414 7C 63 00 34 */ cntlzw r3, r3 -/* 8013B4B8 00138418 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18 -/* 8013B4BC 0013841C 98 1D 00 0C */ stb r0, 0xc(r29) -/* 8013B4C0 00138420 88 1D 00 0C */ lbz r0, 0xc(r29) -/* 8013B4C4 00138424 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8013B4C8 00138428 98 1D 00 0C */ stb r0, 0xc(r29) -/* 8013B4CC 0013842C 80 1E 02 EC */ lwz r0, 0x2ec(r30) -/* 8013B4D0 00138430 2C 00 00 00 */ cmpwi r0, 0 -/* 8013B4D4 00138434 40 82 00 F8 */ bne lbl_8013B5CC -/* 8013B4D8 00138438 38 00 00 01 */ li r0, 1 -/* 8013B4DC 0013843C 38 61 00 98 */ addi r3, r1, 0x98 -/* 8013B4E0 00138440 90 1D 00 04 */ stw r0, 4(r29) -/* 8013B4E4 00138444 48 1A 7B 99 */ bl NoParameter__12CPASAnimParmFv -/* 8013B4E8 00138448 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8013B4EC 0013844C 48 1A 7B 91 */ bl NoParameter__12CPASAnimParmFv -/* 8013B4F0 00138450 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 8013B4F4 00138454 48 1A 7B 89 */ bl NoParameter__12CPASAnimParmFv -/* 8013B4F8 00138458 38 61 00 B0 */ addi r3, r1, 0xb0 -/* 8013B4FC 0013845C 48 1A 7B 81 */ bl NoParameter__12CPASAnimParmFv -/* 8013B500 00138460 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8013B504 00138464 48 1A 7B 79 */ bl NoParameter__12CPASAnimParmFv -/* 8013B508 00138468 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8013B50C 0013846C 48 1A 7B 71 */ bl NoParameter__12CPASAnimParmFv -/* 8013B510 00138470 80 9D 00 08 */ lwz r4, 8(r29) -/* 8013B514 00138474 38 61 00 C8 */ addi r3, r1, 0xc8 -/* 8013B518 00138478 48 1A 7A 6D */ bl FromEnum__12CPASAnimParmFi -/* 8013B51C 0013847C 80 9D 00 04 */ lwz r4, 4(r29) -/* 8013B520 00138480 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 8013B524 00138484 48 1A 7A 61 */ bl FromEnum__12CPASAnimParmFi -/* 8013B528 00138488 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 8013B52C 0013848C 38 01 00 98 */ addi r0, r1, 0x98 -/* 8013B530 00138490 90 61 00 08 */ stw r3, 8(r1) -/* 8013B534 00138494 38 61 01 90 */ addi r3, r1, 0x190 -/* 8013B538 00138498 38 A1 00 D0 */ addi r5, r1, 0xd0 -/* 8013B53C 0013849C 38 C1 00 C8 */ addi r6, r1, 0xc8 -/* 8013B540 001384A0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013B544 001384A4 38 E1 00 C0 */ addi r7, r1, 0xc0 -/* 8013B548 001384A8 39 01 00 B8 */ addi r8, r1, 0xb8 -/* 8013B54C 001384AC 39 21 00 B0 */ addi r9, r1, 0xb0 -/* 8013B550 001384B0 39 41 00 A8 */ addi r10, r1, 0xa8 -/* 8013B554 001384B4 38 80 00 09 */ li r4, 9 -/* 8013B558 001384B8 4B F4 1D 6D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013B55C 001384BC 80 BF 09 00 */ lwz r5, 0x900(r31) -/* 8013B560 001384C0 7F C3 F3 78 */ mr r3, r30 -/* 8013B564 001384C4 38 81 01 90 */ addi r4, r1, 0x190 -/* 8013B568 001384C8 4B FF ED 95 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 8013B56C 001384CC 34 A1 01 94 */ addic. r5, r1, 0x194 -/* 8013B570 001384D0 41 82 02 AC */ beq lbl_8013B81C -/* 8013B574 001384D4 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013B578 001384D8 38 60 00 00 */ li r3, 0 -/* 8013B57C 001384DC 2C 06 00 00 */ cmpwi r6, 0 -/* 8013B580 001384E0 40 81 00 40 */ ble lbl_8013B5C0 -/* 8013B584 001384E4 2C 06 00 08 */ cmpwi r6, 8 -/* 8013B588 001384E8 38 86 FF F8 */ addi r4, r6, -8 -/* 8013B58C 001384EC 40 81 00 20 */ ble lbl_8013B5AC -/* 8013B590 001384F0 38 04 00 07 */ addi r0, r4, 7 -/* 8013B594 001384F4 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013B598 001384F8 7C 09 03 A6 */ mtctr r0 -/* 8013B59C 001384FC 2C 04 00 00 */ cmpwi r4, 0 -/* 8013B5A0 00138500 40 81 00 0C */ ble lbl_8013B5AC -lbl_8013B5A4: -/* 8013B5A4 00138504 38 63 00 08 */ addi r3, r3, 8 -/* 8013B5A8 00138508 42 00 FF FC */ bdnz lbl_8013B5A4 -lbl_8013B5AC: -/* 8013B5AC 0013850C 7C 03 30 50 */ subf r0, r3, r6 -/* 8013B5B0 00138510 7C 09 03 A6 */ mtctr r0 -/* 8013B5B4 00138514 7C 03 30 00 */ cmpw r3, r6 -/* 8013B5B8 00138518 40 80 00 08 */ bge lbl_8013B5C0 -lbl_8013B5BC: -/* 8013B5BC 0013851C 42 00 00 00 */ bdnz lbl_8013B5BC -lbl_8013B5C0: -/* 8013B5C0 00138520 38 00 00 00 */ li r0, 0 -/* 8013B5C4 00138524 90 05 00 00 */ stw r0, 0(r5) -/* 8013B5C8 00138528 48 00 02 54 */ b lbl_8013B81C -lbl_8013B5CC: -/* 8013B5CC 0013852C 90 9D 00 04 */ stw r4, 4(r29) -/* 8013B5D0 00138530 38 61 00 58 */ addi r3, r1, 0x58 -/* 8013B5D4 00138534 48 1A 7A A9 */ bl NoParameter__12CPASAnimParmFv -/* 8013B5D8 00138538 38 61 00 60 */ addi r3, r1, 0x60 -/* 8013B5DC 0013853C 48 1A 7A A1 */ bl NoParameter__12CPASAnimParmFv -/* 8013B5E0 00138540 38 61 00 68 */ addi r3, r1, 0x68 -/* 8013B5E4 00138544 48 1A 7A 99 */ bl NoParameter__12CPASAnimParmFv -/* 8013B5E8 00138548 38 61 00 70 */ addi r3, r1, 0x70 -/* 8013B5EC 0013854C 48 1A 7A 91 */ bl NoParameter__12CPASAnimParmFv -/* 8013B5F0 00138550 38 61 00 78 */ addi r3, r1, 0x78 -/* 8013B5F4 00138554 48 1A 7A 89 */ bl NoParameter__12CPASAnimParmFv -/* 8013B5F8 00138558 38 61 00 80 */ addi r3, r1, 0x80 -/* 8013B5FC 0013855C 48 1A 7A 81 */ bl NoParameter__12CPASAnimParmFv -/* 8013B600 00138560 80 9D 00 08 */ lwz r4, 8(r29) -/* 8013B604 00138564 38 61 00 88 */ addi r3, r1, 0x88 -/* 8013B608 00138568 48 1A 79 7D */ bl FromEnum__12CPASAnimParmFi -/* 8013B60C 0013856C 80 9D 00 04 */ lwz r4, 4(r29) -/* 8013B610 00138570 38 61 00 90 */ addi r3, r1, 0x90 -/* 8013B614 00138574 48 1A 79 71 */ bl FromEnum__12CPASAnimParmFi -/* 8013B618 00138578 38 61 00 60 */ addi r3, r1, 0x60 -/* 8013B61C 0013857C 38 01 00 58 */ addi r0, r1, 0x58 -/* 8013B620 00138580 90 61 00 08 */ stw r3, 8(r1) -/* 8013B624 00138584 38 61 01 48 */ addi r3, r1, 0x148 -/* 8013B628 00138588 38 A1 00 90 */ addi r5, r1, 0x90 -/* 8013B62C 0013858C 38 C1 00 88 */ addi r6, r1, 0x88 -/* 8013B630 00138590 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013B634 00138594 38 E1 00 80 */ addi r7, r1, 0x80 -/* 8013B638 00138598 39 01 00 78 */ addi r8, r1, 0x78 -/* 8013B63C 0013859C 39 21 00 70 */ addi r9, r1, 0x70 -/* 8013B640 001385A0 39 41 00 68 */ addi r10, r1, 0x68 -/* 8013B644 001385A4 38 80 00 09 */ li r4, 9 -/* 8013B648 001385A8 4B F4 1C 7D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013B64C 001385AC 7F C3 F3 78 */ mr r3, r30 -/* 8013B650 001385B0 4B FF EE 05 */ bl GetPASDatabase__15CBodyControllerCFv -/* 8013B654 001385B4 80 DF 09 00 */ lwz r6, 0x900(r31) -/* 8013B658 001385B8 7C 64 1B 78 */ mr r4, r3 -/* 8013B65C 001385BC 38 61 00 50 */ addi r3, r1, 0x50 -/* 8013B660 001385C0 38 A1 01 48 */ addi r5, r1, 0x148 -/* 8013B664 001385C4 38 E0 FF FF */ li r7, -1 -/* 8013B668 001385C8 48 1A 99 F9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 8013B66C 001385CC C0 21 00 50 */ lfs f1, 0x50(r1) -/* 8013B670 001385D0 C0 02 9A 8C */ lfs f0, lbl_805AB7AC@sda21(r2) -/* 8013B674 001385D4 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8013B678 001385D8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013B67C 001385DC 40 81 00 54 */ ble lbl_8013B6D0 -/* 8013B680 001385E0 C0 02 9A 90 */ lfs f0, lbl_805AB7B0@sda21(r2) -/* 8013B684 001385E4 38 00 00 00 */ li r0, 0 -/* 8013B688 001385E8 38 C0 FF FF */ li r6, -1 -/* 8013B68C 001385EC 38 E0 00 01 */ li r7, 1 -/* 8013B690 001385F0 90 61 00 D8 */ stw r3, 0xd8(r1) -/* 8013B694 001385F4 7F C3 F3 78 */ mr r3, r30 -/* 8013B698 001385F8 38 81 00 D8 */ addi r4, r1, 0xd8 -/* 8013B69C 001385FC 38 A0 00 00 */ li r5, 0 -/* 8013B6A0 00138600 90 C1 00 DC */ stw r6, 0xdc(r1) -/* 8013B6A4 00138604 38 C0 00 00 */ li r6, 0 -/* 8013B6A8 00138608 D0 01 00 E0 */ stfs f0, 0xe0(r1) -/* 8013B6AC 0013860C 98 E1 00 E4 */ stb r7, 0xe4(r1) -/* 8013B6B0 00138610 90 01 00 E8 */ stw r0, 0xe8(r1) -/* 8013B6B4 00138614 90 01 00 EC */ stw r0, 0xec(r1) -/* 8013B6B8 00138618 98 01 00 F0 */ stb r0, 0xf0(r1) -/* 8013B6BC 0013861C 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8013B6C0 00138620 90 01 00 F8 */ stw r0, 0xf8(r1) -/* 8013B6C4 00138624 90 01 00 FC */ stw r0, 0xfc(r1) -/* 8013B6C8 00138628 4B FF F2 55 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 8013B6CC 0013862C 48 00 00 F4 */ b lbl_8013B7C0 -lbl_8013B6D0: -/* 8013B6D0 00138630 38 00 00 01 */ li r0, 1 -/* 8013B6D4 00138634 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013B6D8 00138638 90 1D 00 04 */ stw r0, 4(r29) -/* 8013B6DC 0013863C 48 1A 79 A1 */ bl NoParameter__12CPASAnimParmFv -/* 8013B6E0 00138640 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013B6E4 00138644 48 1A 79 99 */ bl NoParameter__12CPASAnimParmFv -/* 8013B6E8 00138648 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013B6EC 0013864C 48 1A 79 91 */ bl NoParameter__12CPASAnimParmFv -/* 8013B6F0 00138650 38 61 00 28 */ addi r3, r1, 0x28 -/* 8013B6F4 00138654 48 1A 79 89 */ bl NoParameter__12CPASAnimParmFv -/* 8013B6F8 00138658 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013B6FC 0013865C 48 1A 79 81 */ bl NoParameter__12CPASAnimParmFv -/* 8013B700 00138660 38 61 00 38 */ addi r3, r1, 0x38 -/* 8013B704 00138664 48 1A 79 79 */ bl NoParameter__12CPASAnimParmFv -/* 8013B708 00138668 80 9D 00 08 */ lwz r4, 8(r29) -/* 8013B70C 0013866C 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013B710 00138670 48 1A 78 75 */ bl FromEnum__12CPASAnimParmFi -/* 8013B714 00138674 80 9D 00 04 */ lwz r4, 4(r29) -/* 8013B718 00138678 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013B71C 0013867C 48 1A 78 69 */ bl FromEnum__12CPASAnimParmFi -/* 8013B720 00138680 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013B724 00138684 38 01 00 10 */ addi r0, r1, 0x10 -/* 8013B728 00138688 90 61 00 08 */ stw r3, 8(r1) -/* 8013B72C 0013868C 38 61 01 00 */ addi r3, r1, 0x100 -/* 8013B730 00138690 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8013B734 00138694 38 C1 00 40 */ addi r6, r1, 0x40 -/* 8013B738 00138698 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013B73C 0013869C 38 E1 00 38 */ addi r7, r1, 0x38 -/* 8013B740 001386A0 39 01 00 30 */ addi r8, r1, 0x30 -/* 8013B744 001386A4 39 21 00 28 */ addi r9, r1, 0x28 -/* 8013B748 001386A8 39 41 00 20 */ addi r10, r1, 0x20 -/* 8013B74C 001386AC 38 80 00 09 */ li r4, 9 -/* 8013B750 001386B0 4B F4 1B 75 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013B754 001386B4 80 BF 09 00 */ lwz r5, 0x900(r31) -/* 8013B758 001386B8 7F C3 F3 78 */ mr r3, r30 -/* 8013B75C 001386BC 38 81 01 00 */ addi r4, r1, 0x100 -/* 8013B760 001386C0 4B FF EB 9D */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 8013B764 001386C4 34 A1 01 04 */ addic. r5, r1, 0x104 -/* 8013B768 001386C8 41 82 00 58 */ beq lbl_8013B7C0 -/* 8013B76C 001386CC 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013B770 001386D0 38 60 00 00 */ li r3, 0 -/* 8013B774 001386D4 2C 06 00 00 */ cmpwi r6, 0 -/* 8013B778 001386D8 40 81 00 40 */ ble lbl_8013B7B8 -/* 8013B77C 001386DC 2C 06 00 08 */ cmpwi r6, 8 -/* 8013B780 001386E0 38 86 FF F8 */ addi r4, r6, -8 -/* 8013B784 001386E4 40 81 00 20 */ ble lbl_8013B7A4 -/* 8013B788 001386E8 38 04 00 07 */ addi r0, r4, 7 -/* 8013B78C 001386EC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013B790 001386F0 7C 09 03 A6 */ mtctr r0 -/* 8013B794 001386F4 2C 04 00 00 */ cmpwi r4, 0 -/* 8013B798 001386F8 40 81 00 0C */ ble lbl_8013B7A4 -lbl_8013B79C: -/* 8013B79C 001386FC 38 63 00 08 */ addi r3, r3, 8 -/* 8013B7A0 00138700 42 00 FF FC */ bdnz lbl_8013B79C -lbl_8013B7A4: -/* 8013B7A4 00138704 7C 03 30 50 */ subf r0, r3, r6 -/* 8013B7A8 00138708 7C 09 03 A6 */ mtctr r0 -/* 8013B7AC 0013870C 7C 03 30 00 */ cmpw r3, r6 -/* 8013B7B0 00138710 40 80 00 08 */ bge lbl_8013B7B8 -lbl_8013B7B4: -/* 8013B7B4 00138714 42 00 00 00 */ bdnz lbl_8013B7B4 -lbl_8013B7B8: -/* 8013B7B8 00138718 38 00 00 00 */ li r0, 0 -/* 8013B7BC 0013871C 90 05 00 00 */ stw r0, 0(r5) -lbl_8013B7C0: -/* 8013B7C0 00138720 34 A1 01 4C */ addic. r5, r1, 0x14c -/* 8013B7C4 00138724 41 82 00 58 */ beq lbl_8013B81C -/* 8013B7C8 00138728 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013B7CC 0013872C 38 60 00 00 */ li r3, 0 -/* 8013B7D0 00138730 2C 06 00 00 */ cmpwi r6, 0 -/* 8013B7D4 00138734 40 81 00 40 */ ble lbl_8013B814 -/* 8013B7D8 00138738 2C 06 00 08 */ cmpwi r6, 8 -/* 8013B7DC 0013873C 38 86 FF F8 */ addi r4, r6, -8 -/* 8013B7E0 00138740 40 81 00 20 */ ble lbl_8013B800 -/* 8013B7E4 00138744 38 04 00 07 */ addi r0, r4, 7 -/* 8013B7E8 00138748 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013B7EC 0013874C 7C 09 03 A6 */ mtctr r0 -/* 8013B7F0 00138750 2C 04 00 00 */ cmpwi r4, 0 -/* 8013B7F4 00138754 40 81 00 0C */ ble lbl_8013B800 -lbl_8013B7F8: -/* 8013B7F8 00138758 38 63 00 08 */ addi r3, r3, 8 -/* 8013B7FC 0013875C 42 00 FF FC */ bdnz lbl_8013B7F8 -lbl_8013B800: -/* 8013B800 00138760 7C 03 30 50 */ subf r0, r3, r6 -/* 8013B804 00138764 7C 09 03 A6 */ mtctr r0 -/* 8013B808 00138768 7C 03 30 00 */ cmpw r3, r6 -/* 8013B80C 0013876C 40 80 00 08 */ bge lbl_8013B814 -lbl_8013B810: -/* 8013B810 00138770 42 00 00 00 */ bdnz lbl_8013B810 -lbl_8013B814: -/* 8013B814 00138774 38 00 00 00 */ li r0, 0 -/* 8013B818 00138778 90 05 00 00 */ stw r0, 0(r5) -lbl_8013B81C: -/* 8013B81C 0013877C 80 01 01 F4 */ lwz r0, 0x1f4(r1) -/* 8013B820 00138780 83 E1 01 EC */ lwz r31, 0x1ec(r1) -/* 8013B824 00138784 83 C1 01 E8 */ lwz r30, 0x1e8(r1) -/* 8013B828 00138788 83 A1 01 E4 */ lwz r29, 0x1e4(r1) -/* 8013B82C 0013878C 7C 08 03 A6 */ mtlr r0 -/* 8013B830 00138790 38 21 01 F0 */ addi r1, r1, 0x1f0 -/* 8013B834 00138794 4E 80 00 20 */ blr - -.global __ct__13CBSLoopAttackFv -__ct__13CBSLoopAttackFv: -/* 8013B838 00138798 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 8013B83C 0013879C 3C 80 80 3E */ lis r4, lbl_803E17C8@ha -/* 8013B840 001387A0 38 C5 13 18 */ addi r6, r5, lbl_803E1318@l -/* 8013B844 001387A4 38 00 FF FF */ li r0, -1 -/* 8013B848 001387A8 90 C3 00 00 */ stw r6, 0(r3) -/* 8013B84C 001387AC 38 A4 17 C8 */ addi r5, r4, lbl_803E17C8@l -/* 8013B850 001387B0 38 80 00 00 */ li r4, 0 -/* 8013B854 001387B4 90 A3 00 00 */ stw r5, 0(r3) -/* 8013B858 001387B8 90 03 00 04 */ stw r0, 4(r3) -/* 8013B85C 001387BC 90 03 00 08 */ stw r0, 8(r3) -/* 8013B860 001387C0 88 03 00 0C */ lbz r0, 0xc(r3) -/* 8013B864 001387C4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8013B868 001387C8 98 03 00 0C */ stb r0, 0xc(r3) -/* 8013B86C 001387CC 88 03 00 0C */ lbz r0, 0xc(r3) -/* 8013B870 001387D0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8013B874 001387D4 98 03 00 0C */ stb r0, 0xc(r3) -/* 8013B878 001387D8 4E 80 00 20 */ blr - -.global __dt__21CTargetableProjectileFv -__dt__21CTargetableProjectileFv: -/* 8013B87C 001387DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013B880 001387E0 7C 08 02 A6 */ mflr r0 -/* 8013B884 001387E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013B888 001387E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013B88C 001387EC 7C 9F 23 78 */ mr r31, r4 -/* 8013B890 001387F0 93 C1 00 08 */ stw r30, 8(r1) -/* 8013B894 001387F4 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8013B898 001387F8 41 82 00 40 */ beq lbl_8013B8D8 -/* 8013B89C 001387FC 3C 60 80 3E */ lis r3, lbl_803E1800@ha -/* 8013B8A0 00138800 34 1E 03 D8 */ addic. r0, r30, 0x3d8 -/* 8013B8A4 00138804 38 03 18 00 */ addi r0, r3, lbl_803E1800@l -/* 8013B8A8 00138808 90 1E 00 00 */ stw r0, 0(r30) -/* 8013B8AC 0013880C 41 82 00 10 */ beq lbl_8013B8BC -/* 8013B8B0 00138810 38 7E 03 D8 */ addi r3, r30, 0x3d8 -/* 8013B8B4 00138814 38 80 00 00 */ li r4, 0 -/* 8013B8B8 00138818 48 20 55 89 */ bl __dt__6CTokenFv -lbl_8013B8BC: -/* 8013B8BC 0013881C 7F C3 F3 78 */ mr r3, r30 -/* 8013B8C0 00138820 38 80 00 00 */ li r4, 0 -/* 8013B8C4 00138824 48 00 00 31 */ bl __dt__17CEnergyProjectileFv -/* 8013B8C8 00138828 7F E0 07 35 */ extsh. r0, r31 -/* 8013B8CC 0013882C 40 81 00 0C */ ble lbl_8013B8D8 -/* 8013B8D0 00138830 7F C3 F3 78 */ mr r3, r30 -/* 8013B8D4 00138834 48 1D A0 5D */ bl Free__7CMemoryFPCv -lbl_8013B8D8: -/* 8013B8D8 00138838 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013B8DC 0013883C 7F C3 F3 78 */ mr r3, r30 -/* 8013B8E0 00138840 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013B8E4 00138844 83 C1 00 08 */ lwz r30, 8(r1) -/* 8013B8E8 00138848 7C 08 03 A6 */ mtlr r0 -/* 8013B8EC 0013884C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013B8F0 00138850 4E 80 00 20 */ blr - -.global __dt__17CEnergyProjectileFv -__dt__17CEnergyProjectileFv: -/* 8013B8F4 00138854 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013B8F8 00138858 7C 08 02 A6 */ mflr r0 -/* 8013B8FC 0013885C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013B900 00138860 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013B904 00138864 7C 9F 23 78 */ mr r31, r4 -/* 8013B908 00138868 93 C1 00 08 */ stw r30, 8(r1) -/* 8013B90C 0013886C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8013B910 00138870 41 82 00 70 */ beq lbl_8013B980 -/* 8013B914 00138874 3C 60 80 3E */ lis r3, lbl_803E7158@ha -/* 8013B918 00138878 34 1E 02 FC */ addic. r0, r30, 0x2fc -/* 8013B91C 0013887C 38 03 71 58 */ addi r0, r3, lbl_803E7158@l -/* 8013B920 00138880 90 1E 00 00 */ stw r0, 0(r30) -/* 8013B924 00138884 41 82 00 40 */ beq lbl_8013B964 -/* 8013B928 00138888 34 1E 03 7C */ addic. r0, r30, 0x37c -/* 8013B92C 0013888C 41 82 00 10 */ beq lbl_8013B93C -/* 8013B930 00138890 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8013B934 00138894 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8013B938 00138898 90 1E 03 7C */ stw r0, 0x37c(r30) -lbl_8013B93C: -/* 8013B93C 0013889C 34 1E 03 40 */ addic. r0, r30, 0x340 -/* 8013B940 001388A0 41 82 00 10 */ beq lbl_8013B950 -/* 8013B944 001388A4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8013B948 001388A8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8013B94C 001388AC 90 1E 03 40 */ stw r0, 0x340(r30) -lbl_8013B950: -/* 8013B950 001388B0 34 1E 03 04 */ addic. r0, r30, 0x304 -/* 8013B954 001388B4 41 82 00 10 */ beq lbl_8013B964 -/* 8013B958 001388B8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha -/* 8013B95C 001388BC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l -/* 8013B960 001388C0 90 1E 03 04 */ stw r0, 0x304(r30) -lbl_8013B964: -/* 8013B964 001388C4 7F C3 F3 78 */ mr r3, r30 -/* 8013B968 001388C8 38 80 00 00 */ li r4, 0 -/* 8013B96C 001388CC 4B EF BA 95 */ bl __dt__15CGameProjectileFv -/* 8013B970 001388D0 7F E0 07 35 */ extsh. r0, r31 -/* 8013B974 001388D4 40 81 00 0C */ ble lbl_8013B980 -/* 8013B978 001388D8 7F C3 F3 78 */ mr r3, r30 -/* 8013B97C 001388DC 48 1D 9F B5 */ bl Free__7CMemoryFPCv -lbl_8013B980: -/* 8013B980 001388E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013B984 001388E4 7F C3 F3 78 */ mr r3, r30 -/* 8013B988 001388E8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013B98C 001388EC 83 C1 00 08 */ lwz r30, 8(r1) -/* 8013B990 001388F0 7C 08 03 A6 */ mtlr r0 -/* 8013B994 001388F4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013B998 001388F8 4E 80 00 20 */ blr - -.global ResolveCollisionWithActor__21CTargetableProjectileFRC14CRayCastResultR6CActorR13CStateManager -ResolveCollisionWithActor__21CTargetableProjectileFRC14CRayCastResultR6CActorR13CStateManager: -/* 8013B99C 001388FC 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 8013B9A0 00138900 7C 08 02 A6 */ mflr r0 -/* 8013B9A4 00138904 C0 22 9A 98 */ lfs f1, lbl_805AB7B8@sda21(r2) -/* 8013B9A8 00138908 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 8013B9AC 0013890C 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8013B9B0 00138910 7C DF 33 78 */ mr r31, r6 -/* 8013B9B4 00138914 93 C1 00 98 */ stw r30, 0x98(r1) -/* 8013B9B8 00138918 7C BE 2B 78 */ mr r30, r5 -/* 8013B9BC 0013891C 7F E5 FB 78 */ mr r5, r31 -/* 8013B9C0 00138920 93 A1 00 94 */ stw r29, 0x94(r1) -/* 8013B9C4 00138924 7C 9D 23 78 */ mr r29, r4 -/* 8013B9C8 00138928 93 81 00 90 */ stw r28, 0x90(r1) -/* 8013B9CC 0013892C 7C 7C 1B 78 */ mr r28, r3 -/* 8013B9D0 00138930 7F 84 E3 78 */ mr r4, r28 -/* 8013B9D4 00138934 38 61 00 14 */ addi r3, r1, 0x14 -/* 8013B9D8 00138938 81 9C 00 00 */ lwz r12, 0(r28) -/* 8013B9DC 0013893C 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8013B9E0 00138940 7D 89 03 A6 */ mtctr r12 -/* 8013B9E4 00138944 4E 80 04 21 */ bctrl -/* 8013B9E8 00138948 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 8013B9EC 0013894C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8013B9F0 00138950 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 8013B9F4 00138954 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8013B9F8 00138958 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8013B9FC 0013895C 38 61 00 2C */ addi r3, r1, 0x2c -/* 8013BA00 00138960 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8013BA04 00138964 38 81 00 08 */ addi r4, r1, 8 -/* 8013BA08 00138968 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8013BA0C 0013896C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8013BA10 00138970 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8013BA14 00138974 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 8013BA18 00138978 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 8013BA1C 0013897C C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 8013BA20 00138980 D0 01 00 08 */ stfs f0, 8(r1) -/* 8013BA24 00138984 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8013BA28 00138988 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8013BA2C 0013898C 48 1D 80 E5 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8013BA30 00138990 38 61 00 5C */ addi r3, r1, 0x5c -/* 8013BA34 00138994 38 81 00 2C */ addi r4, r1, 0x2c -/* 8013BA38 00138998 48 1D 71 3D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8013BA3C 0013899C C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 8013BA40 001389A0 38 7C 00 34 */ addi r3, r28, 0x34 -/* 8013BA44 001389A4 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 8013BA48 001389A8 38 81 00 5C */ addi r4, r1, 0x5c -/* 8013BA4C 001389AC C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 8013BA50 001389B0 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 8013BA54 001389B4 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 8013BA58 001389B8 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 8013BA5C 001389BC 48 1D 70 E5 */ bl __as__12CTransform4fFRC12CTransform4f -/* 8013BA60 001389C0 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 8013BA64 001389C4 38 E0 00 01 */ li r7, 1 -/* 8013BA68 001389C8 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b -/* 8013BA6C 001389CC 7F 83 E3 78 */ mr r3, r28 -/* 8013BA70 001389D0 98 1C 00 E4 */ stb r0, 0xe4(r28) -/* 8013BA74 001389D4 7F A4 EB 78 */ mr r4, r29 -/* 8013BA78 001389D8 7F C5 F3 78 */ mr r5, r30 -/* 8013BA7C 001389DC 7F E6 FB 78 */ mr r6, r31 -/* 8013BA80 001389E0 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 8013BA84 001389E4 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c -/* 8013BA88 001389E8 98 1C 00 E4 */ stb r0, 0xe4(r28) -/* 8013BA8C 001389EC 88 1C 00 E4 */ lbz r0, 0xe4(r28) -/* 8013BA90 001389F0 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d -/* 8013BA94 001389F4 98 1C 00 E4 */ stb r0, 0xe4(r28) -/* 8013BA98 001389F8 48 0D 88 E9 */ bl ResolveCollisionWithActor__17CEnergyProjectileFRC14CRayCastResultR6CActorR13CStateManager -/* 8013BA9C 001389FC 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 8013BAA0 00138A00 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 8013BAA4 00138A04 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 8013BAA8 00138A08 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 8013BAAC 00138A0C 83 81 00 90 */ lwz r28, 0x90(r1) -/* 8013BAB0 00138A10 7C 08 03 A6 */ mtlr r0 -/* 8013BAB4 00138A14 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 8013BAB8 00138A18 4E 80 00 20 */ blr - -.global GetAimPosition__21CTargetableProjectileCFRC13CStateManagerf -GetAimPosition__21CTargetableProjectileCFRC13CStateManagerf: -/* 8013BABC 00138A1C 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8013BAC0 00138A20 7C 08 02 A6 */ mflr r0 -/* 8013BAC4 00138A24 90 01 00 94 */ stw r0, 0x94(r1) -/* 8013BAC8 00138A28 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8013BACC 00138A2C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8013BAD0 00138A30 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 8013BAD4 00138A34 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8013BAD8 00138A38 DB A1 00 60 */ stfd f29, 0x60(r1) -/* 8013BADC 00138A3C F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 -/* 8013BAE0 00138A40 DB 81 00 50 */ stfd f28, 0x50(r1) -/* 8013BAE4 00138A44 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0 -/* 8013BAE8 00138A48 DB 61 00 40 */ stfd f27, 0x40(r1) -/* 8013BAEC 00138A4C F3 61 00 48 */ psq_st f27, 72(r1), 0, qr0 -/* 8013BAF0 00138A50 DB 41 00 30 */ stfd f26, 0x30(r1) -/* 8013BAF4 00138A54 F3 41 00 38 */ psq_st f26, 56(r1), 0, qr0 -/* 8013BAF8 00138A58 DB 21 00 20 */ stfd f25, 0x20(r1) -/* 8013BAFC 00138A5C F3 21 00 28 */ psq_st f25, 40(r1), 0, qr0 -/* 8013BB00 00138A60 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013BB04 00138A64 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8013BB08 00138A68 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8013BB0C 00138A6C 88 0D A3 CC */ lbz r0, lbl_805A8F8C@sda21(r13) -/* 8013BB10 00138A70 FF 80 08 90 */ fmr f28, f1 -/* 8013BB14 00138A74 7C 7D 1B 78 */ mr r29, r3 -/* 8013BB18 00138A78 7C 9E 23 78 */ mr r30, r4 -/* 8013BB1C 00138A7C 7C 00 07 75 */ extsb. r0, r0 -/* 8013BB20 00138A80 40 82 00 1C */ bne lbl_8013BB3C -/* 8013BB24 00138A84 48 17 56 19 */ bl GetTickPeriod__17CProjectileWeaponFv -/* 8013BB28 00138A88 C0 02 9A 9C */ lfs f0, lbl_805AB7BC@sda21(r2) -/* 8013BB2C 00138A8C 38 00 00 01 */ li r0, 1 -/* 8013BB30 00138A90 98 0D A3 CC */ stb r0, lbl_805A8F8C@sda21(r13) -/* 8013BB34 00138A94 EC 00 08 24 */ fdivs f0, f0, f1 -/* 8013BB38 00138A98 D0 0D A3 C8 */ stfs f0, lbl_805A8F88@sda21(r13) -lbl_8013BB3C: -/* 8013BB3C 00138A9C 3B FE 01 70 */ addi r31, r30, 0x170 -/* 8013BB40 00138AA0 C3 BE 00 60 */ lfs f29, 0x60(r30) -/* 8013BB44 00138AA4 C3 DE 00 50 */ lfs f30, 0x50(r30) -/* 8013BB48 00138AA8 7F E3 FB 78 */ mr r3, r31 -/* 8013BB4C 00138AAC C3 FE 00 40 */ lfs f31, 0x40(r30) -/* 8013BB50 00138AB0 48 17 35 E5 */ bl GetVelocity__17CProjectileWeaponCFv -/* 8013BB54 00138AB4 C0 6D A3 C8 */ lfs f3, lbl_805A8F88@sda21(r13) -/* 8013BB58 00138AB8 C0 43 00 00 */ lfs f2, 0(r3) -/* 8013BB5C 00138ABC C0 23 00 04 */ lfs f1, 4(r3) -/* 8013BB60 00138AC0 C0 03 00 08 */ lfs f0, 8(r3) -/* 8013BB64 00138AC4 EF 23 00 B2 */ fmuls f25, f3, f2 -/* 8013BB68 00138AC8 EF 43 00 72 */ fmuls f26, f3, f1 -/* 8013BB6C 00138ACC 7F E3 FB 78 */ mr r3, r31 -/* 8013BB70 00138AD0 EF 63 00 32 */ fmuls f27, f3, f0 -/* 8013BB74 00138AD4 48 17 35 9D */ bl sub_802af110 -/* 8013BB78 00138AD8 C1 0D A3 C8 */ lfs f8, lbl_805A8F88@sda21(r13) -/* 8013BB7C 00138ADC EC 1C 06 72 */ fmuls f0, f28, f25 -/* 8013BB80 00138AE0 C0 63 00 00 */ lfs f3, 0(r3) -/* 8013BB84 00138AE4 EC 9C 06 B2 */ fmuls f4, f28, f26 -/* 8013BB88 00138AE8 C0 23 00 04 */ lfs f1, 4(r3) -/* 8013BB8C 00138AEC EC 5C 06 F2 */ fmuls f2, f28, f27 -/* 8013BB90 00138AF0 EC E8 00 F2 */ fmuls f7, f8, f3 -/* 8013BB94 00138AF4 C0 C2 9A A0 */ lfs f6, lbl_805AB7C0@sda21(r2) -/* 8013BB98 00138AF8 EC A8 00 72 */ fmuls f5, f8, f1 -/* 8013BB9C 00138AFC C0 63 00 08 */ lfs f3, 8(r3) -/* 8013BBA0 00138B00 EC 26 01 F2 */ fmuls f1, f6, f7 -/* 8013BBA4 00138B04 EC 68 00 F2 */ fmuls f3, f8, f3 -/* 8013BBA8 00138B08 EC A6 01 72 */ fmuls f5, f6, f5 -/* 8013BBAC 00138B0C EC 3C 00 72 */ fmuls f1, f28, f1 -/* 8013BBB0 00138B10 EC 66 00 F2 */ fmuls f3, f6, f3 -/* 8013BBB4 00138B14 EC BC 01 72 */ fmuls f5, f28, f5 -/* 8013BBB8 00138B18 EC 3C 00 72 */ fmuls f1, f28, f1 -/* 8013BBBC 00138B1C EC 7C 00 F2 */ fmuls f3, f28, f3 -/* 8013BBC0 00138B20 EC BC 01 72 */ fmuls f5, f28, f5 -/* 8013BBC4 00138B24 EC 01 00 2A */ fadds f0, f1, f0 -/* 8013BBC8 00138B28 EC 3C 00 F2 */ fmuls f1, f28, f3 -/* 8013BBCC 00138B2C EC 65 20 2A */ fadds f3, f5, f4 -/* 8013BBD0 00138B30 EC 00 F8 2A */ fadds f0, f0, f31 -/* 8013BBD4 00138B34 EC 21 10 2A */ fadds f1, f1, f2 -/* 8013BBD8 00138B38 EC 43 F0 2A */ fadds f2, f3, f30 -/* 8013BBDC 00138B3C D0 1D 00 00 */ stfs f0, 0(r29) -/* 8013BBE0 00138B40 EC 01 E8 2A */ fadds f0, f1, f29 -/* 8013BBE4 00138B44 D0 5D 00 04 */ stfs f2, 4(r29) -/* 8013BBE8 00138B48 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8013BBEC 00138B4C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8013BBF0 00138B50 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8013BBF4 00138B54 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 8013BBF8 00138B58 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 8013BBFC 00138B5C E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 -/* 8013BC00 00138B60 CB A1 00 60 */ lfd f29, 0x60(r1) -/* 8013BC04 00138B64 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0 -/* 8013BC08 00138B68 CB 81 00 50 */ lfd f28, 0x50(r1) -/* 8013BC0C 00138B6C E3 61 00 48 */ psq_l f27, 72(r1), 0, qr0 -/* 8013BC10 00138B70 CB 61 00 40 */ lfd f27, 0x40(r1) -/* 8013BC14 00138B74 E3 41 00 38 */ psq_l f26, 56(r1), 0, qr0 -/* 8013BC18 00138B78 CB 41 00 30 */ lfd f26, 0x30(r1) -/* 8013BC1C 00138B7C E3 21 00 28 */ psq_l f25, 40(r1), 0, qr0 -/* 8013BC20 00138B80 CB 21 00 20 */ lfd f25, 0x20(r1) -/* 8013BC24 00138B84 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013BC28 00138B88 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8013BC2C 00138B8C 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8013BC30 00138B90 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8013BC34 00138B94 7C 08 03 A6 */ mtlr r0 -/* 8013BC38 00138B98 38 21 00 90 */ addi r1, r1, 0x90 -/* 8013BC3C 00138B9C 4E 80 00 20 */ blr - -.global Think__21CTargetableProjectileFfR13CStateManager -Think__21CTargetableProjectileFfR13CStateManager: -/* 8013BC40 00138BA0 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 8013BC44 00138BA4 7C 08 02 A6 */ mflr r0 -/* 8013BC48 00138BA8 90 01 01 14 */ stw r0, 0x114(r1) -/* 8013BC4C 00138BAC BF 21 00 F4 */ stmw r25, 0xf4(r1) -/* 8013BC50 00138BB0 7C 7C 1B 78 */ mr r28, r3 -/* 8013BC54 00138BB4 7C FD 3B 78 */ mr r29, r7 -/* 8013BC58 00138BB8 A0 09 00 00 */ lhz r0, 0(r9) -/* 8013BC5C 00138BBC 39 21 00 58 */ addi r9, r1, 0x58 -/* 8013BC60 00138BC0 B0 01 00 58 */ sth r0, 0x58(r1) -/* 8013BC64 00138BC4 48 0D 8F 95 */ bl Explode__17CEnergyProjectileFRC9CVector3fRC9CVector3f29EWeaponCollisionResponseTypesR13CStateManagerRC20CDamageVulnerability9TUniqueId -/* 8013BC68 00138BC8 88 1C 02 E4 */ lbz r0, 0x2e4(r28) -/* 8013BC6C 00138BCC 7C 7E 1B 78 */ mr r30, r3 -/* 8013BC70 00138BD0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013BC74 00138BD4 40 82 02 30 */ bne lbl_8013BEA4 -/* 8013BC78 00138BD8 A0 7C 02 C4 */ lhz r3, 0x2c4(r28) -/* 8013BC7C 00138BDC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8013BC80 00138BE0 54 64 04 3E */ clrlwi r4, r3, 0x10 -/* 8013BC84 00138BE4 B0 61 00 60 */ sth r3, 0x60(r1) -/* 8013BC88 00138BE8 7C 04 00 40 */ cmplw r4, r0 -/* 8013BC8C 00138BEC 41 82 02 18 */ beq lbl_8013BEA4 -/* 8013BC90 00138BF0 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8013BC94 00138BF4 A0 03 00 08 */ lhz r0, 8(r3) -/* 8013BC98 00138BF8 7C 04 00 40 */ cmplw r4, r0 -/* 8013BC9C 00138BFC 40 82 02 08 */ bne lbl_8013BEA4 -/* 8013BCA0 00138C00 A0 1C 00 EC */ lhz r0, 0xec(r28) -/* 8013BCA4 00138C04 7F A3 EB 78 */ mr r3, r29 -/* 8013BCA8 00138C08 38 81 00 54 */ addi r4, r1, 0x54 -/* 8013BCAC 00138C0C B0 01 00 50 */ sth r0, 0x50(r1) -/* 8013BCB0 00138C10 B0 01 00 54 */ sth r0, 0x54(r1) -/* 8013BCB4 00138C14 4B F1 08 F1 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8013BCB8 00138C18 7C 64 1B 78 */ mr r4, r3 -/* 8013BCBC 00138C1C 38 61 00 6C */ addi r3, r1, 0x6c -/* 8013BCC0 00138C20 4B F7 3F D1 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 8013BCC4 00138C24 83 23 00 04 */ lwz r25, 4(r3) -/* 8013BCC8 00138C28 28 19 00 00 */ cmplwi r25, 0 -/* 8013BCCC 00138C2C 41 82 01 D8 */ beq lbl_8013BEA4 -/* 8013BCD0 00138C30 7F A4 EB 78 */ mr r4, r29 -/* 8013BCD4 00138C34 38 61 00 4C */ addi r3, r1, 0x4c -/* 8013BCD8 00138C38 4B F1 14 05 */ bl AllocateUniqueId__13CStateManagerFv -/* 8013BCDC 00138C3C 7F 24 CB 78 */ mr r4, r25 -/* 8013BCE0 00138C40 A0 01 00 4C */ lhz r0, 0x4c(r1) -/* 8013BCE4 00138C44 81 99 00 00 */ lwz r12, 0(r25) -/* 8013BCE8 00138C48 7F A5 EB 78 */ mr r5, r29 -/* 8013BCEC 00138C4C B0 01 00 5C */ sth r0, 0x5c(r1) -/* 8013BCF0 00138C50 38 61 00 9C */ addi r3, r1, 0x9c -/* 8013BCF4 00138C54 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8013BCF8 00138C58 C0 22 9A A4 */ lfs f1, lbl_805AB7C4@sda21(r2) -/* 8013BCFC 00138C5C 7D 89 03 A6 */ mtctr r12 -/* 8013BD00 00138C60 4E 80 04 21 */ bctrl -/* 8013BD04 00138C64 C0 41 00 9C */ lfs f2, 0x9c(r1) -/* 8013BD08 00138C68 3C 60 80 3D */ lis r3, lbl_803D0070@ha -/* 8013BD0C 00138C6C C0 21 00 A0 */ lfs f1, 0xa0(r1) -/* 8013BD10 00138C70 38 83 00 70 */ addi r4, r3, lbl_803D0070@l -/* 8013BD14 00138C74 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 8013BD18 00138C78 3B 60 00 00 */ li r27, 0 -/* 8013BD1C 00138C7C D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 8013BD20 00138C80 38 60 03 D8 */ li r3, 0x3d8 -/* 8013BD24 00138C84 38 A0 00 00 */ li r5, 0 -/* 8013BD28 00138C88 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 8013BD2C 00138C8C D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 8013BD30 00138C90 48 1D 9B 3D */ bl __nw__FUlPCcPCc -/* 8013BD34 00138C94 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8013BD38 00138C98 41 82 00 E4 */ beq lbl_8013BE1C -/* 8013BD3C 00138C9C C0 02 9A 9C */ lfs f0, lbl_805AB7BC@sda21(r2) -/* 8013BD40 00138CA0 38 00 00 00 */ li r0, 0 -/* 8013BD44 00138CA4 98 01 00 98 */ stb r0, 0x98(r1) -/* 8013BD48 00138CA8 38 9C 01 70 */ addi r4, r28, 0x170 -/* 8013BD4C 00138CAC A0 A1 00 60 */ lhz r5, 0x60(r1) -/* 8013BD50 00138CB0 38 61 00 74 */ addi r3, r1, 0x74 -/* 8013BD54 00138CB4 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8013BD58 00138CB8 3B 60 00 01 */ li r27, 1 -/* 8013BD5C 00138CBC A0 01 00 5C */ lhz r0, 0x5c(r1) -/* 8013BD60 00138CC0 D0 01 00 84 */ stfs f0, 0x84(r1) -/* 8013BD64 00138CC4 D0 01 00 88 */ stfs f0, 0x88(r1) -/* 8013BD68 00138CC8 A0 DC 00 EC */ lhz r6, 0xec(r28) -/* 8013BD6C 00138CCC B0 C1 00 48 */ sth r6, 0x48(r1) -/* 8013BD70 00138CD0 B0 A1 00 40 */ sth r5, 0x40(r1) -/* 8013BD74 00138CD4 80 BC 00 04 */ lwz r5, 4(r28) -/* 8013BD78 00138CD8 B0 C1 00 44 */ sth r6, 0x44(r1) -/* 8013BD7C 00138CDC 90 A1 00 68 */ stw r5, 0x68(r1) -/* 8013BD80 00138CE0 B0 01 00 3C */ sth r0, 0x3c(r1) -/* 8013BD84 00138CE4 81 9C 01 70 */ lwz r12, 0x170(r28) -/* 8013BD88 00138CE8 90 A1 00 64 */ stw r5, 0x64(r1) -/* 8013BD8C 00138CEC 81 8C 00 18 */ lwz r12, 0x18(r12) -/* 8013BD90 00138CF0 83 3C 00 F0 */ lwz r25, 0xf0(r28) -/* 8013BD94 00138CF4 7D 89 03 A6 */ mtctr r12 -/* 8013BD98 00138CF8 4E 80 04 21 */ bctrl -/* 8013BD9C 00138CFC 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 8013BDA0 00138D00 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 8013BDA4 00138D04 38 C4 66 F4 */ addi r6, r4, lbl_805A66F4@l -/* 8013BDA8 00138D08 38 A1 00 A8 */ addi r5, r1, 0xa8 -/* 8013BDAC 00138D0C 38 81 00 74 */ addi r4, r1, 0x74 -/* 8013BDB0 00138D10 48 1D 7D 61 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8013BDB4 00138D14 38 61 00 68 */ addi r3, r1, 0x68 -/* 8013BDB8 00138D18 38 01 00 40 */ addi r0, r1, 0x40 -/* 8013BDBC 00138D1C 90 61 00 08 */ stw r3, 8(r1) -/* 8013BDC0 00138D20 38 81 00 48 */ addi r4, r1, 0x48 -/* 8013BDC4 00138D24 3B 40 00 00 */ li r26, 0 -/* 8013BDC8 00138D28 39 81 00 80 */ addi r12, r1, 0x80 -/* 8013BDCC 00138D2C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013BDD0 00138D30 39 61 00 8C */ addi r11, r1, 0x8c -/* 8013BDD4 00138D34 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) -/* 8013BDD8 00138D38 7F E3 FB 78 */ mr r3, r31 -/* 8013BDDC 00138D3C 90 81 00 10 */ stw r4, 0x10(r1) -/* 8013BDE0 00138D40 7F 26 CB 78 */ mr r6, r25 -/* 8013BDE4 00138D44 38 BC 03 D8 */ addi r5, r28, 0x3d8 -/* 8013BDE8 00138D48 38 E1 00 B4 */ addi r7, r1, 0xb4 -/* 8013BDEC 00138D4C 93 41 00 14 */ stw r26, 0x14(r1) -/* 8013BDF0 00138D50 39 3C 03 E0 */ addi r9, r28, 0x3e0 -/* 8013BDF4 00138D54 39 41 00 3C */ addi r10, r1, 0x3c -/* 8013BDF8 00138D58 38 80 00 01 */ li r4, 1 -/* 8013BDFC 00138D5C 93 41 00 18 */ stw r26, 0x18(r1) -/* 8013BE00 00138D60 39 00 00 20 */ li r8, 0x20 -/* 8013BE04 00138D64 91 81 00 1C */ stw r12, 0x1c(r1) -/* 8013BE08 00138D68 91 61 00 20 */ stw r11, 0x20(r1) -/* 8013BE0C 00138D6C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013BE10 00138D70 93 41 00 28 */ stw r26, 0x28(r1) -/* 8013BE14 00138D74 48 0D 98 85 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 8013BE18 00138D78 7C 7F 1B 78 */ mr r31, r3 -lbl_8013BE1C: -/* 8013BE1C 00138D7C 7F 60 07 75 */ extsb. r0, r27 -/* 8013BE20 00138D80 41 82 00 30 */ beq lbl_8013BE50 -/* 8013BE24 00138D84 88 01 00 98 */ lbz r0, 0x98(r1) -/* 8013BE28 00138D88 28 00 00 00 */ cmplwi r0, 0 -/* 8013BE2C 00138D8C 41 82 00 1C */ beq lbl_8013BE48 -/* 8013BE30 00138D90 34 61 00 8C */ addic. r3, r1, 0x8c -/* 8013BE34 00138D94 41 82 00 14 */ beq lbl_8013BE48 -/* 8013BE38 00138D98 28 03 00 00 */ cmplwi r3, 0 -/* 8013BE3C 00138D9C 41 82 00 0C */ beq lbl_8013BE48 -/* 8013BE40 00138DA0 38 80 00 00 */ li r4, 0 -/* 8013BE44 00138DA4 48 20 4F FD */ bl __dt__6CTokenFv -lbl_8013BE48: -/* 8013BE48 00138DA8 38 00 00 00 */ li r0, 0 -/* 8013BE4C 00138DAC 98 01 00 98 */ stb r0, 0x98(r1) -lbl_8013BE50: -/* 8013BE50 00138DB0 7F A3 EB 78 */ mr r3, r29 -/* 8013BE54 00138DB4 7F E4 FB 78 */ mr r4, r31 -/* 8013BE58 00138DB8 4B F1 0C BD */ bl AddObject__13CStateManagerFR7CEntity -/* 8013BE5C 00138DBC 7F E3 FB 78 */ mr r3, r31 -/* 8013BE60 00138DC0 7F A5 EB 78 */ mr r5, r29 -/* 8013BE64 00138DC4 38 80 00 29 */ li r4, 0x29 -/* 8013BE68 00138DC8 4B F1 84 E9 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8013BE6C 00138DCC A0 01 00 5C */ lhz r0, 0x5c(r1) -/* 8013BE70 00138DD0 38 81 00 38 */ addi r4, r1, 0x38 -/* 8013BE74 00138DD4 B0 01 00 38 */ sth r0, 0x38(r1) -/* 8013BE78 00138DD8 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8013BE7C 00138DDC 4B ED DF 29 */ bl ResetAimTargetPrediction__7CPlayerF9TUniqueId -/* 8013BE80 00138DE0 A0 01 00 5C */ lhz r0, 0x5c(r1) -/* 8013BE84 00138DE4 7F A5 EB 78 */ mr r5, r29 -/* 8013BE88 00138DE8 38 81 00 34 */ addi r4, r1, 0x34 -/* 8013BE8C 00138DEC B0 01 00 34 */ sth r0, 0x34(r1) -/* 8013BE90 00138DF0 80 7D 08 4C */ lwz r3, 0x84c(r29) -/* 8013BE94 00138DF4 48 03 F7 59 */ bl SetOrbitTargetId__7CPlayerF9TUniqueIdR13CStateManager -/* 8013BE98 00138DF8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8013BE9C 00138DFC B0 01 00 30 */ sth r0, 0x30(r1) -/* 8013BEA0 00138E00 B0 1C 02 C4 */ sth r0, 0x2c4(r28) -lbl_8013BEA4: -/* 8013BEA4 00138E04 7F C3 F3 78 */ mr r3, r30 -/* 8013BEA8 00138E08 BB 21 00 F4 */ lmw r25, 0xf4(r1) -/* 8013BEAC 00138E0C 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8013BEB0 00138E10 7C 08 03 A6 */ mtlr r0 -/* 8013BEB4 00138E14 38 21 01 10 */ addi r1, r1, 0x110 -/* 8013BEB8 00138E18 4E 80 00 20 */ blr - -.global Accept__21CTargetableProjectileFR8IVisitor -Accept__21CTargetableProjectileFR8IVisitor: -/* 8013BEBC 00138E1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013BEC0 00138E20 7C 08 02 A6 */ mflr r0 -/* 8013BEC4 00138E24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013BEC8 00138E28 7C 60 1B 78 */ mr r0, r3 -/* 8013BECC 00138E2C 7C 83 23 78 */ mr r3, r4 -/* 8013BED0 00138E30 81 84 00 00 */ lwz r12, 0(r4) -/* 8013BED4 00138E34 7C 04 03 78 */ mr r4, r0 -/* 8013BED8 00138E38 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 8013BEDC 00138E3C 7D 89 03 A6 */ mtctr r12 -/* 8013BEE0 00138E40 4E 80 04 21 */ bctrl -/* 8013BEE4 00138E44 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013BEE8 00138E48 7C 08 03 A6 */ mtlr r0 -/* 8013BEEC 00138E4C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013BEF0 00138E50 4E 80 00 20 */ blr - -.global "__ct__21CTargetableProjectileFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfoRC11CDamageInfo9TUniqueId9TUniqueIdRC28TToken<18CWeaponDescription>9TUniqueIdUi" -"__ct__21CTargetableProjectileFRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfoRC11CDamageInfo9TUniqueId9TUniqueIdRC28TToken<18CWeaponDescription>9TUniqueIdUi": -/* 8013BEF4 00138E54 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 8013BEF8 00138E58 7C 08 02 A6 */ mflr r0 -/* 8013BEFC 00138E5C 7C EC 3B 78 */ mr r12, r7 -/* 8013BF00 00138E60 C0 02 9A 9C */ lfs f0, lbl_805AB7BC@sda21(r2) -/* 8013BF04 00138E64 90 01 00 84 */ stw r0, 0x84(r1) -/* 8013BF08 00138E68 80 E1 00 8C */ lwz r7, 0x8c(r1) -/* 8013BF0C 00138E6C BE A1 00 54 */ stmw r21, 0x54(r1) -/* 8013BF10 00138E70 7C DE 33 78 */ mr r30, r6 -/* 8013BF14 00138E74 7C BD 2B 78 */ mr r29, r5 -/* 8013BF18 00138E78 80 A1 00 98 */ lwz r5, 0x98(r1) -/* 8013BF1C 00138E7C 80 C1 00 94 */ lwz r6, 0x94(r1) -/* 8013BF20 00138E80 3A C1 00 3C */ addi r22, r1, 0x3c -/* 8013BF24 00138E84 60 B9 04 03 */ ori r25, r5, 0x403 -/* 8013BF28 00138E88 7C 85 23 78 */ mr r5, r4 -/* 8013BF2C 00138E8C 3A E1 00 34 */ addi r23, r1, 0x34 -/* 8013BF30 00138E90 3B 01 00 30 */ addi r24, r1, 0x30 -/* 8013BF34 00138E94 3B 40 00 00 */ li r26, 0 -/* 8013BF38 00138E98 3B 61 00 40 */ addi r27, r1, 0x40 -/* 8013BF3C 00138E9C 81 61 00 9C */ lwz r11, 0x9c(r1) -/* 8013BF40 00138EA0 7D 3F 4B 78 */ mr r31, r9 -/* 8013BF44 00138EA4 7C 7C 1B 78 */ mr r28, r3 -/* 8013BF48 00138EA8 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8013BF4C 00138EAC A2 AA 00 00 */ lhz r21, 0(r10) -/* 8013BF50 00138EB0 7D 0A 43 78 */ mr r10, r8 -/* 8013BF54 00138EB4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8013BF58 00138EB8 7D 49 53 78 */ mr r9, r10 -/* 8013BF5C 00138EBC 81 01 00 88 */ lwz r8, 0x88(r1) -/* 8013BF60 00138EC0 39 41 00 38 */ addi r10, r1, 0x38 -/* 8013BF64 00138EC4 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8013BF68 00138EC8 A0 06 00 00 */ lhz r0, 0(r6) -/* 8013BF6C 00138ECC B0 01 00 30 */ sth r0, 0x30(r1) -/* 8013BF70 00138ED0 A0 01 00 A2 */ lhz r0, 0xa2(r1) -/* 8013BF74 00138ED4 A0 C7 00 00 */ lhz r6, 0(r7) -/* 8013BF78 00138ED8 7F C7 F3 78 */ mr r7, r30 -/* 8013BF7C 00138EDC 83 C1 00 90 */ lwz r30, 0x90(r1) -/* 8013BF80 00138EE0 B0 C1 00 34 */ sth r6, 0x34(r1) -/* 8013BF84 00138EE4 7F A6 EB 78 */ mr r6, r29 -/* 8013BF88 00138EE8 8B A1 00 A7 */ lbz r29, 0xa7(r1) -/* 8013BF8C 00138EEC 80 88 00 00 */ lwz r4, 0(r8) -/* 8013BF90 00138EF0 7D 88 63 78 */ mr r8, r12 -/* 8013BF94 00138EF4 90 81 00 3C */ stw r4, 0x3c(r1) -/* 8013BF98 00138EF8 38 80 00 01 */ li r4, 1 -/* 8013BF9C 00138EFC B2 A1 00 38 */ sth r21, 0x38(r1) -/* 8013BFA0 00138F00 92 C1 00 08 */ stw r22, 8(r1) -/* 8013BFA4 00138F04 92 E1 00 0C */ stw r23, 0xc(r1) -/* 8013BFA8 00138F08 93 01 00 10 */ stw r24, 0x10(r1) -/* 8013BFAC 00138F0C 93 21 00 14 */ stw r25, 0x14(r1) -/* 8013BFB0 00138F10 93 41 00 18 */ stw r26, 0x18(r1) -/* 8013BFB4 00138F14 93 61 00 1C */ stw r27, 0x1c(r1) -/* 8013BFB8 00138F18 91 61 00 20 */ stw r11, 0x20(r1) -/* 8013BFBC 00138F1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013BFC0 00138F20 93 A1 00 28 */ stw r29, 0x28(r1) -/* 8013BFC4 00138F24 48 0D 96 D5 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 8013BFC8 00138F28 3C 60 80 3E */ lis r3, lbl_803E1800@ha -/* 8013BFCC 00138F2C 7F C4 F3 78 */ mr r4, r30 -/* 8013BFD0 00138F30 38 03 18 00 */ addi r0, r3, lbl_803E1800@l -/* 8013BFD4 00138F34 38 7C 03 D8 */ addi r3, r28, 0x3d8 -/* 8013BFD8 00138F38 90 1C 00 00 */ stw r0, 0(r28) -/* 8013BFDC 00138F3C 48 20 4E CD */ bl __ct__6CTokenFRC6CToken -/* 8013BFE0 00138F40 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013BFE4 00138F44 7F 83 E3 78 */ mr r3, r28 -/* 8013BFE8 00138F48 90 1C 03 E0 */ stw r0, 0x3e0(r28) -/* 8013BFEC 00138F4C 88 1F 00 04 */ lbz r0, 4(r31) -/* 8013BFF0 00138F50 98 1C 03 E4 */ stb r0, 0x3e4(r28) -/* 8013BFF4 00138F54 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8013BFF8 00138F58 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) -/* 8013BFFC 00138F5C C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8013C000 00138F60 D0 1C 03 EC */ stfs f0, 0x3ec(r28) -/* 8013C004 00138F64 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8013C008 00138F68 D0 1C 03 F0 */ stfs f0, 0x3f0(r28) -/* 8013C00C 00138F6C C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8013C010 00138F70 D0 1C 03 F4 */ stfs f0, 0x3f4(r28) -/* 8013C014 00138F74 88 1F 00 18 */ lbz r0, 0x18(r31) -/* 8013C018 00138F78 98 1C 03 F8 */ stb r0, 0x3f8(r28) -/* 8013C01C 00138F7C 80 1C 00 68 */ lwz r0, 0x68(r28) -/* 8013C020 00138F80 60 00 01 00 */ ori r0, r0, 0x100 -/* 8013C024 00138F84 90 1C 00 68 */ stw r0, 0x68(r28) -/* 8013C028 00138F88 80 1C 00 68 */ lwz r0, 0x68(r28) -/* 8013C02C 00138F8C 60 00 02 00 */ ori r0, r0, 0x200 -/* 8013C030 00138F90 90 1C 00 68 */ stw r0, 0x68(r28) -/* 8013C034 00138F94 BA A1 00 54 */ lmw r21, 0x54(r1) -/* 8013C038 00138F98 80 01 00 84 */ lwz r0, 0x84(r1) -/* 8013C03C 00138F9C 7C 08 03 A6 */ mtlr r0 -/* 8013C040 00138FA0 38 21 00 80 */ addi r1, r1, 0x80 -/* 8013C044 00138FA4 4E 80 00 20 */ blr - -.global __dt__15CBSLoopReactionFv -__dt__15CBSLoopReactionFv: -/* 8013C048 00138FA8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013C04C 00138FAC 7C 08 02 A6 */ mflr r0 -/* 8013C050 00138FB0 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013C054 00138FB4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013C058 00138FB8 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8013C05C 00138FBC 41 82 00 30 */ beq lbl_8013C08C -/* 8013C060 00138FC0 3C 60 80 3E */ lis r3, lbl_803E1878@ha -/* 8013C064 00138FC4 38 03 18 78 */ addi r0, r3, lbl_803E1878@l -/* 8013C068 00138FC8 90 1F 00 00 */ stw r0, 0(r31) -/* 8013C06C 00138FCC 41 82 00 10 */ beq lbl_8013C07C -/* 8013C070 00138FD0 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 8013C074 00138FD4 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 8013C078 00138FD8 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013C07C: -/* 8013C07C 00138FDC 7C 80 07 35 */ extsh. r0, r4 -/* 8013C080 00138FE0 40 81 00 0C */ ble lbl_8013C08C -/* 8013C084 00138FE4 7F E3 FB 78 */ mr r3, r31 -/* 8013C088 00138FE8 48 1D 98 A9 */ bl Free__7CMemoryFPCv -lbl_8013C08C: -/* 8013C08C 00138FEC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013C090 00138FF0 7F E3 FB 78 */ mr r3, r31 -/* 8013C094 00138FF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013C098 00138FF8 7C 08 03 A6 */ mtlr r0 -/* 8013C09C 00138FFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013C0A0 00139000 4E 80 00 20 */ blr - -.global GetBodyStateTransition__15CBSLoopReactionFfR15CBodyController -GetBodyStateTransition__15CBSLoopReactionFfR15CBodyController: -/* 8013C0A4 00139004 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013C0A8 00139008 7C 08 02 A6 */ mflr r0 -/* 8013C0AC 0013900C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013C0B0 00139010 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013C0B4 00139014 3B E4 00 04 */ addi r31, r4, 4 -/* 8013C0B8 00139018 38 80 00 0F */ li r4, 0xf -/* 8013C0BC 0013901C 93 C1 00 08 */ stw r30, 8(r1) -/* 8013C0C0 00139020 7C 7E 1B 78 */ mr r30, r3 -/* 8013C0C4 00139024 7F E3 FB 78 */ mr r3, r31 -/* 8013C0C8 00139028 4B FF 53 89 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C0CC 0013902C 28 03 00 00 */ cmplwi r3, 0 -/* 8013C0D0 00139030 41 82 00 0C */ beq lbl_8013C0DC -/* 8013C0D4 00139034 38 60 00 0E */ li r3, 0xe -/* 8013C0D8 00139038 48 00 01 64 */ b lbl_8013C23C -lbl_8013C0DC: -/* 8013C0DC 0013903C 7F E3 FB 78 */ mr r3, r31 -/* 8013C0E0 00139040 38 80 00 03 */ li r4, 3 -/* 8013C0E4 00139044 4B FF 53 6D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C0E8 00139048 28 03 00 00 */ cmplwi r3, 0 -/* 8013C0EC 0013904C 41 82 00 0C */ beq lbl_8013C0F8 -/* 8013C0F0 00139050 38 60 00 00 */ li r3, 0 -/* 8013C0F4 00139054 48 00 01 48 */ b lbl_8013C23C -lbl_8013C0F8: -/* 8013C0F8 00139058 7F E3 FB 78 */ mr r3, r31 -/* 8013C0FC 0013905C 38 80 00 04 */ li r4, 4 -/* 8013C100 00139060 4B FF 53 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C104 00139064 28 03 00 00 */ cmplwi r3, 0 -/* 8013C108 00139068 41 82 00 0C */ beq lbl_8013C114 -/* 8013C10C 0013906C 38 60 00 06 */ li r3, 6 -/* 8013C110 00139070 48 00 01 2C */ b lbl_8013C23C -lbl_8013C114: -/* 8013C114 00139074 88 1E 00 0C */ lbz r0, 0xc(r30) -/* 8013C118 00139078 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013C11C 0013907C 40 82 00 20 */ bne lbl_8013C13C -/* 8013C120 00139080 7F E3 FB 78 */ mr r3, r31 -/* 8013C124 00139084 38 80 00 16 */ li r4, 0x16 -/* 8013C128 00139088 4B FF 53 29 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C12C 0013908C 28 03 00 00 */ cmplwi r3, 0 -/* 8013C130 00139090 41 82 00 0C */ beq lbl_8013C13C -/* 8013C134 00139094 38 60 00 05 */ li r3, 5 -/* 8013C138 00139098 48 00 01 04 */ b lbl_8013C23C -lbl_8013C13C: -/* 8013C13C 0013909C 80 1E 00 04 */ lwz r0, 4(r30) -/* 8013C140 001390A0 2C 00 00 02 */ cmpwi r0, 2 -/* 8013C144 001390A4 40 82 00 F4 */ bne lbl_8013C238 -/* 8013C148 001390A8 7F E3 FB 78 */ mr r3, r31 -/* 8013C14C 001390AC 38 80 00 05 */ li r4, 5 -/* 8013C150 001390B0 4B FF 53 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C154 001390B4 28 03 00 00 */ cmplwi r3, 0 -/* 8013C158 001390B8 41 82 00 0C */ beq lbl_8013C164 -/* 8013C15C 001390BC 38 60 00 07 */ li r3, 7 -/* 8013C160 001390C0 48 00 00 DC */ b lbl_8013C23C -lbl_8013C164: -/* 8013C164 001390C4 7F E3 FB 78 */ mr r3, r31 -/* 8013C168 001390C8 38 80 00 06 */ li r4, 6 -/* 8013C16C 001390CC 4B FF 52 E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C170 001390D0 28 03 00 00 */ cmplwi r3, 0 -/* 8013C174 001390D4 41 82 00 0C */ beq lbl_8013C180 -/* 8013C178 001390D8 38 60 00 12 */ li r3, 0x12 -/* 8013C17C 001390DC 48 00 00 C0 */ b lbl_8013C23C -lbl_8013C180: -/* 8013C180 001390E0 7F E3 FB 78 */ mr r3, r31 -/* 8013C184 001390E4 38 80 00 07 */ li r4, 7 -/* 8013C188 001390E8 4B FF 52 C9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C18C 001390EC 28 03 00 00 */ cmplwi r3, 0 -/* 8013C190 001390F0 41 82 00 0C */ beq lbl_8013C19C -/* 8013C194 001390F4 38 60 00 09 */ li r3, 9 -/* 8013C198 001390F8 48 00 00 A4 */ b lbl_8013C23C -lbl_8013C19C: -/* 8013C19C 001390FC 7F E3 FB 78 */ mr r3, r31 -/* 8013C1A0 00139100 38 80 00 01 */ li r4, 1 -/* 8013C1A4 00139104 4B FF 52 AD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C1A8 00139108 28 03 00 00 */ cmplwi r3, 0 -/* 8013C1AC 0013910C 41 82 00 0C */ beq lbl_8013C1B8 -/* 8013C1B0 00139110 38 60 00 03 */ li r3, 3 -/* 8013C1B4 00139114 48 00 00 88 */ b lbl_8013C23C -lbl_8013C1B8: -/* 8013C1B8 00139118 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2) -/* 8013C1BC 0013911C 38 00 00 00 */ li r0, 0 -/* 8013C1C0 00139120 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8013C1C4 00139124 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C1C8 00139128 40 82 00 1C */ bne lbl_8013C1E4 -/* 8013C1CC 0013912C C0 1F 00 04 */ lfs f0, 4(r31) -/* 8013C1D0 00139130 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C1D4 00139134 40 82 00 10 */ bne lbl_8013C1E4 -/* 8013C1D8 00139138 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8013C1DC 0013913C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C1E0 00139140 41 82 00 08 */ beq lbl_8013C1E8 -lbl_8013C1E4: -/* 8013C1E4 00139144 38 00 00 01 */ li r0, 1 -lbl_8013C1E8: -/* 8013C1E8 00139148 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8013C1EC 0013914C 41 82 00 0C */ beq lbl_8013C1F8 -/* 8013C1F0 00139150 38 60 00 05 */ li r3, 5 -/* 8013C1F4 00139154 48 00 00 48 */ b lbl_8013C23C -lbl_8013C1F8: -/* 8013C1F8 00139158 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2) -/* 8013C1FC 0013915C 38 00 00 00 */ li r0, 0 -/* 8013C200 00139160 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8013C204 00139164 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C208 00139168 40 82 00 1C */ bne lbl_8013C224 -/* 8013C20C 0013916C C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 8013C210 00139170 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C214 00139174 40 82 00 10 */ bne lbl_8013C224 -/* 8013C218 00139178 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 8013C21C 0013917C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C220 00139180 41 82 00 08 */ beq lbl_8013C228 -lbl_8013C224: -/* 8013C224 00139184 38 00 00 01 */ li r0, 1 -lbl_8013C228: -/* 8013C228 00139188 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8013C22C 0013918C 41 82 00 0C */ beq lbl_8013C238 -/* 8013C230 00139190 38 60 00 08 */ li r3, 8 -/* 8013C234 00139194 48 00 00 08 */ b lbl_8013C23C -lbl_8013C238: -/* 8013C238 00139198 38 60 FF FF */ li r3, -1 -lbl_8013C23C: -/* 8013C23C 0013919C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013C240 001391A0 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013C244 001391A4 83 C1 00 08 */ lwz r30, 8(r1) -/* 8013C248 001391A8 7C 08 03 A6 */ mtlr r0 -/* 8013C24C 001391AC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013C250 001391B0 4E 80 00 20 */ blr - -.global PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager -PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager: -/* 8013C254 001391B4 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 8013C258 001391B8 7C 08 02 A6 */ mflr r0 -/* 8013C25C 001391BC 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 8013C260 001391C0 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 8013C264 001391C4 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 8013C268 001391C8 7C BE 2B 78 */ mr r30, r5 -/* 8013C26C 001391CC 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 8013C270 001391D0 7C 9D 23 78 */ mr r29, r4 -/* 8013C274 001391D4 93 81 00 D0 */ stw r28, 0xd0(r1) -/* 8013C278 001391D8 7C 7C 1B 78 */ mr r28, r3 -/* 8013C27C 001391DC 7F A3 EB 78 */ mr r3, r29 -/* 8013C280 001391E0 4B FF E1 D5 */ bl GetPASDatabase__15CBodyControllerCFv -/* 8013C284 001391E4 7C 60 1B 78 */ mr r0, r3 -/* 8013C288 001391E8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013C28C 001391EC 7C 1F 03 78 */ mr r31, r0 -/* 8013C290 001391F0 48 1A 6D ED */ bl NoParameter__12CPASAnimParmFv -/* 8013C294 001391F4 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013C298 001391F8 48 1A 6D E5 */ bl NoParameter__12CPASAnimParmFv -/* 8013C29C 001391FC 38 61 00 28 */ addi r3, r1, 0x28 -/* 8013C2A0 00139200 48 1A 6D DD */ bl NoParameter__12CPASAnimParmFv -/* 8013C2A4 00139204 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013C2A8 00139208 48 1A 6D D5 */ bl NoParameter__12CPASAnimParmFv -/* 8013C2AC 0013920C 38 61 00 38 */ addi r3, r1, 0x38 -/* 8013C2B0 00139210 48 1A 6D CD */ bl NoParameter__12CPASAnimParmFv -/* 8013C2B4 00139214 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013C2B8 00139218 48 1A 6D C5 */ bl NoParameter__12CPASAnimParmFv -/* 8013C2BC 0013921C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013C2C0 00139220 38 80 00 02 */ li r4, 2 -/* 8013C2C4 00139224 48 1A 6C C1 */ bl FromEnum__12CPASAnimParmFi -/* 8013C2C8 00139228 80 9C 00 08 */ lwz r4, 8(r28) -/* 8013C2CC 0013922C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8013C2D0 00139230 48 1A 6C B5 */ bl FromEnum__12CPASAnimParmFi -/* 8013C2D4 00139234 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013C2D8 00139238 38 01 00 18 */ addi r0, r1, 0x18 -/* 8013C2DC 0013923C 90 61 00 08 */ stw r3, 8(r1) -/* 8013C2E0 00139240 38 61 00 80 */ addi r3, r1, 0x80 -/* 8013C2E4 00139244 38 A1 00 50 */ addi r5, r1, 0x50 -/* 8013C2E8 00139248 38 C1 00 48 */ addi r6, r1, 0x48 -/* 8013C2EC 0013924C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013C2F0 00139250 38 E1 00 40 */ addi r7, r1, 0x40 -/* 8013C2F4 00139254 39 01 00 38 */ addi r8, r1, 0x38 -/* 8013C2F8 00139258 39 21 00 30 */ addi r9, r1, 0x30 -/* 8013C2FC 0013925C 39 41 00 28 */ addi r10, r1, 0x28 -/* 8013C300 00139260 38 80 00 0A */ li r4, 0xa -/* 8013C304 00139264 4B F4 0F C1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013C308 00139268 80 DE 09 00 */ lwz r6, 0x900(r30) -/* 8013C30C 0013926C 7F E4 FB 78 */ mr r4, r31 -/* 8013C310 00139270 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013C314 00139274 38 A1 00 80 */ addi r5, r1, 0x80 -/* 8013C318 00139278 38 E0 FF FF */ li r7, -1 -/* 8013C31C 0013927C 48 1A 8D 45 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 8013C320 00139280 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8013C324 00139284 C0 02 9A A8 */ lfs f0, lbl_805AB7C8@sda21(r2) -/* 8013C328 00139288 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8013C32C 0013928C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013C330 00139290 40 81 00 B4 */ ble lbl_8013C3E4 -/* 8013C334 00139294 C0 02 9A AC */ lfs f0, lbl_805AB7CC@sda21(r2) -/* 8013C338 00139298 38 00 00 00 */ li r0, 0 -/* 8013C33C 0013929C 38 C0 FF FF */ li r6, -1 -/* 8013C340 001392A0 38 E0 00 01 */ li r7, 1 -/* 8013C344 001392A4 90 61 00 58 */ stw r3, 0x58(r1) -/* 8013C348 001392A8 7F A3 EB 78 */ mr r3, r29 -/* 8013C34C 001392AC 38 81 00 58 */ addi r4, r1, 0x58 -/* 8013C350 001392B0 38 A0 00 00 */ li r5, 0 -/* 8013C354 001392B4 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 8013C358 001392B8 38 C0 00 00 */ li r6, 0 -/* 8013C35C 001392BC D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8013C360 001392C0 98 E1 00 64 */ stb r7, 0x64(r1) -/* 8013C364 001392C4 90 01 00 68 */ stw r0, 0x68(r1) -/* 8013C368 001392C8 90 01 00 6C */ stw r0, 0x6c(r1) -/* 8013C36C 001392CC 98 01 00 70 */ stb r0, 0x70(r1) -/* 8013C370 001392D0 90 01 00 74 */ stw r0, 0x74(r1) -/* 8013C374 001392D4 90 01 00 78 */ stw r0, 0x78(r1) -/* 8013C378 001392D8 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8013C37C 001392DC 4B FF E5 A1 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 8013C380 001392E0 34 A1 00 84 */ addic. r5, r1, 0x84 -/* 8013C384 001392E4 41 82 00 58 */ beq lbl_8013C3DC -/* 8013C388 001392E8 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013C38C 001392EC 38 60 00 00 */ li r3, 0 -/* 8013C390 001392F0 2C 06 00 00 */ cmpwi r6, 0 -/* 8013C394 001392F4 40 81 00 40 */ ble lbl_8013C3D4 -/* 8013C398 001392F8 2C 06 00 08 */ cmpwi r6, 8 -/* 8013C39C 001392FC 38 86 FF F8 */ addi r4, r6, -8 -/* 8013C3A0 00139300 40 81 00 20 */ ble lbl_8013C3C0 -/* 8013C3A4 00139304 38 04 00 07 */ addi r0, r4, 7 -/* 8013C3A8 00139308 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013C3AC 0013930C 7C 09 03 A6 */ mtctr r0 -/* 8013C3B0 00139310 2C 04 00 00 */ cmpwi r4, 0 -/* 8013C3B4 00139314 40 81 00 0C */ ble lbl_8013C3C0 -lbl_8013C3B8: -/* 8013C3B8 00139318 38 63 00 08 */ addi r3, r3, 8 -/* 8013C3BC 0013931C 42 00 FF FC */ bdnz lbl_8013C3B8 -lbl_8013C3C0: -/* 8013C3C0 00139320 7C 03 30 50 */ subf r0, r3, r6 -/* 8013C3C4 00139324 7C 09 03 A6 */ mtctr r0 -/* 8013C3C8 00139328 7C 03 30 00 */ cmpw r3, r6 -/* 8013C3CC 0013932C 40 80 00 08 */ bge lbl_8013C3D4 -lbl_8013C3D0: -/* 8013C3D0 00139330 42 00 00 00 */ bdnz lbl_8013C3D0 -lbl_8013C3D4: -/* 8013C3D4 00139334 38 00 00 00 */ li r0, 0 -/* 8013C3D8 00139338 90 05 00 00 */ stw r0, 0(r5) -lbl_8013C3DC: -/* 8013C3DC 0013933C 38 60 00 01 */ li r3, 1 -/* 8013C3E0 00139340 48 00 00 64 */ b lbl_8013C444 -lbl_8013C3E4: -/* 8013C3E4 00139344 34 A1 00 84 */ addic. r5, r1, 0x84 -/* 8013C3E8 00139348 41 82 00 58 */ beq lbl_8013C440 -/* 8013C3EC 0013934C 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013C3F0 00139350 38 60 00 00 */ li r3, 0 -/* 8013C3F4 00139354 2C 06 00 00 */ cmpwi r6, 0 -/* 8013C3F8 00139358 40 81 00 40 */ ble lbl_8013C438 -/* 8013C3FC 0013935C 2C 06 00 08 */ cmpwi r6, 8 -/* 8013C400 00139360 38 86 FF F8 */ addi r4, r6, -8 -/* 8013C404 00139364 40 81 00 20 */ ble lbl_8013C424 -/* 8013C408 00139368 38 04 00 07 */ addi r0, r4, 7 -/* 8013C40C 0013936C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013C410 00139370 7C 09 03 A6 */ mtctr r0 -/* 8013C414 00139374 2C 04 00 00 */ cmpwi r4, 0 -/* 8013C418 00139378 40 81 00 0C */ ble lbl_8013C424 -lbl_8013C41C: -/* 8013C41C 0013937C 38 63 00 08 */ addi r3, r3, 8 -/* 8013C420 00139380 42 00 FF FC */ bdnz lbl_8013C41C -lbl_8013C424: -/* 8013C424 00139384 7C 03 30 50 */ subf r0, r3, r6 -/* 8013C428 00139388 7C 09 03 A6 */ mtctr r0 -/* 8013C42C 0013938C 7C 03 30 00 */ cmpw r3, r6 -/* 8013C430 00139390 40 80 00 08 */ bge lbl_8013C438 -lbl_8013C434: -/* 8013C434 00139394 42 00 00 00 */ bdnz lbl_8013C434 -lbl_8013C438: -/* 8013C438 00139398 38 00 00 00 */ li r0, 0 -/* 8013C43C 0013939C 90 05 00 00 */ stw r0, 0(r5) -lbl_8013C440: -/* 8013C440 001393A0 38 60 00 00 */ li r3, 0 -lbl_8013C444: -/* 8013C444 001393A4 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 8013C448 001393A8 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 8013C44C 001393AC 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 8013C450 001393B0 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 8013C454 001393B4 83 81 00 D0 */ lwz r28, 0xd0(r1) -/* 8013C458 001393B8 7C 08 03 A6 */ mtlr r0 -/* 8013C45C 001393BC 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8013C460 001393C0 4E 80 00 20 */ blr - -.global Shutdown__15CBSLoopReactionFR15CBodyController -Shutdown__15CBSLoopReactionFR15CBodyController: -/* 8013C464 001393C4 4E 80 00 20 */ blr - -.global UpdateBody__15CBSLoopReactionFfR15CBodyControllerR13CStateManager -UpdateBody__15CBSLoopReactionFfR15CBodyControllerR13CStateManager: -/* 8013C468 001393C8 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8013C46C 001393CC 7C 08 02 A6 */ mflr r0 -/* 8013C470 001393D0 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 8013C474 001393D4 DB E1 00 B0 */ stfd f31, 0xb0(r1) -/* 8013C478 001393D8 F3 E1 00 B8 */ psq_st f31, 184(r1), 0, qr0 -/* 8013C47C 001393DC BF 61 00 9C */ stmw r27, 0x9c(r1) -/* 8013C480 001393E0 FF E0 08 90 */ fmr f31, f1 -/* 8013C484 001393E4 7C 7E 1B 78 */ mr r30, r3 -/* 8013C488 001393E8 7C 9B 23 78 */ mr r27, r4 -/* 8013C48C 001393EC 7C BC 2B 78 */ mr r28, r5 -/* 8013C490 001393F0 4B FF FC 15 */ bl GetBodyStateTransition__15CBSLoopReactionFfR15CBodyController -/* 8013C494 001393F4 7C 7F 1B 78 */ mr r31, r3 -/* 8013C498 001393F8 2C 1F FF FF */ cmpwi r31, -1 -/* 8013C49C 001393FC 40 82 02 70 */ bne lbl_8013C70C -/* 8013C4A0 00139400 80 1E 00 04 */ lwz r0, 4(r30) -/* 8013C4A4 00139404 3B BB 00 04 */ addi r29, r27, 4 -/* 8013C4A8 00139408 2C 00 00 01 */ cmpwi r0, 1 -/* 8013C4AC 0013940C 41 82 01 B4 */ beq lbl_8013C660 -/* 8013C4B0 00139410 40 80 00 10 */ bge lbl_8013C4C0 -/* 8013C4B4 00139414 2C 00 00 00 */ cmpwi r0, 0 -/* 8013C4B8 00139418 40 80 00 14 */ bge lbl_8013C4CC -/* 8013C4BC 0013941C 48 00 02 50 */ b lbl_8013C70C -lbl_8013C4C0: -/* 8013C4C0 00139420 2C 00 00 03 */ cmpwi r0, 3 -/* 8013C4C4 00139424 40 80 02 48 */ bge lbl_8013C70C -/* 8013C4C8 00139428 48 00 02 2C */ b lbl_8013C6F4 -lbl_8013C4CC: -/* 8013C4CC 0013942C 7F A3 EB 78 */ mr r3, r29 -/* 8013C4D0 00139430 38 80 00 0A */ li r4, 0xa -/* 8013C4D4 00139434 4B FF 4F 7D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C4D8 00139438 28 03 00 00 */ cmplwi r3, 0 -/* 8013C4DC 0013943C 41 82 00 38 */ beq lbl_8013C514 -/* 8013C4E0 00139440 7F C3 F3 78 */ mr r3, r30 -/* 8013C4E4 00139444 7F 64 DB 78 */ mr r4, r27 -/* 8013C4E8 00139448 7F 85 E3 78 */ mr r5, r28 -/* 8013C4EC 0013944C 4B FF FD 69 */ bl PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager -/* 8013C4F0 00139450 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013C4F4 00139454 41 82 00 10 */ beq lbl_8013C504 -/* 8013C4F8 00139458 38 00 00 02 */ li r0, 2 -/* 8013C4FC 0013945C 90 1E 00 04 */ stw r0, 4(r30) -/* 8013C500 00139460 48 00 02 0C */ b lbl_8013C70C -lbl_8013C504: -/* 8013C504 00139464 38 00 FF FF */ li r0, -1 -/* 8013C508 00139468 3B E0 00 05 */ li r31, 5 -/* 8013C50C 0013946C 90 1E 00 04 */ stw r0, 4(r30) -/* 8013C510 00139470 48 00 01 FC */ b lbl_8013C70C -lbl_8013C514: -/* 8013C514 00139474 88 1B 03 00 */ lbz r0, 0x300(r27) -/* 8013C518 00139478 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013C51C 0013947C 41 82 00 F8 */ beq lbl_8013C614 -/* 8013C520 00139480 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013C524 00139484 48 1A 6B 59 */ bl NoParameter__12CPASAnimParmFv -/* 8013C528 00139488 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013C52C 0013948C 48 1A 6B 51 */ bl NoParameter__12CPASAnimParmFv -/* 8013C530 00139490 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013C534 00139494 48 1A 6B 49 */ bl NoParameter__12CPASAnimParmFv -/* 8013C538 00139498 38 61 00 28 */ addi r3, r1, 0x28 -/* 8013C53C 0013949C 48 1A 6B 41 */ bl NoParameter__12CPASAnimParmFv -/* 8013C540 001394A0 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013C544 001394A4 48 1A 6B 39 */ bl NoParameter__12CPASAnimParmFv -/* 8013C548 001394A8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8013C54C 001394AC 48 1A 6B 31 */ bl NoParameter__12CPASAnimParmFv -/* 8013C550 001394B0 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013C554 001394B4 38 80 00 01 */ li r4, 1 -/* 8013C558 001394B8 48 1A 6A 2D */ bl FromEnum__12CPASAnimParmFi -/* 8013C55C 001394BC 80 9E 00 08 */ lwz r4, 8(r30) -/* 8013C560 001394C0 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013C564 001394C4 48 1A 6A 21 */ bl FromEnum__12CPASAnimParmFi -/* 8013C568 001394C8 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013C56C 001394CC 38 01 00 10 */ addi r0, r1, 0x10 -/* 8013C570 001394D0 90 61 00 08 */ stw r3, 8(r1) -/* 8013C574 001394D4 38 61 00 50 */ addi r3, r1, 0x50 -/* 8013C578 001394D8 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8013C57C 001394DC 38 C1 00 40 */ addi r6, r1, 0x40 -/* 8013C580 001394E0 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013C584 001394E4 38 E1 00 38 */ addi r7, r1, 0x38 -/* 8013C588 001394E8 39 01 00 30 */ addi r8, r1, 0x30 -/* 8013C58C 001394EC 39 21 00 28 */ addi r9, r1, 0x28 -/* 8013C590 001394F0 39 41 00 20 */ addi r10, r1, 0x20 -/* 8013C594 001394F4 38 80 00 0A */ li r4, 0xa -/* 8013C598 001394F8 4B F4 0D 2D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013C59C 001394FC 80 BC 09 00 */ lwz r5, 0x900(r28) -/* 8013C5A0 00139500 7F 63 DB 78 */ mr r3, r27 -/* 8013C5A4 00139504 38 81 00 50 */ addi r4, r1, 0x50 -/* 8013C5A8 00139508 4B FF DD 55 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 8013C5AC 0013950C 38 00 00 01 */ li r0, 1 -/* 8013C5B0 00139510 34 A1 00 54 */ addic. r5, r1, 0x54 -/* 8013C5B4 00139514 90 1E 00 04 */ stw r0, 4(r30) -/* 8013C5B8 00139518 41 82 01 54 */ beq lbl_8013C70C -/* 8013C5BC 0013951C 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013C5C0 00139520 38 60 00 00 */ li r3, 0 -/* 8013C5C4 00139524 2C 06 00 00 */ cmpwi r6, 0 -/* 8013C5C8 00139528 40 81 00 40 */ ble lbl_8013C608 -/* 8013C5CC 0013952C 2C 06 00 08 */ cmpwi r6, 8 -/* 8013C5D0 00139530 38 86 FF F8 */ addi r4, r6, -8 -/* 8013C5D4 00139534 40 81 00 20 */ ble lbl_8013C5F4 -/* 8013C5D8 00139538 38 04 00 07 */ addi r0, r4, 7 -/* 8013C5DC 0013953C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013C5E0 00139540 7C 09 03 A6 */ mtctr r0 -/* 8013C5E4 00139544 2C 04 00 00 */ cmpwi r4, 0 -/* 8013C5E8 00139548 40 81 00 0C */ ble lbl_8013C5F4 -lbl_8013C5EC: -/* 8013C5EC 0013954C 38 63 00 08 */ addi r3, r3, 8 -/* 8013C5F0 00139550 42 00 FF FC */ bdnz lbl_8013C5EC -lbl_8013C5F4: -/* 8013C5F4 00139554 7C 03 30 50 */ subf r0, r3, r6 -/* 8013C5F8 00139558 7C 09 03 A6 */ mtctr r0 -/* 8013C5FC 0013955C 7C 03 30 00 */ cmpw r3, r6 -/* 8013C600 00139560 40 80 00 08 */ bge lbl_8013C608 -lbl_8013C604: -/* 8013C604 00139564 42 00 00 00 */ bdnz lbl_8013C604 -lbl_8013C608: -/* 8013C608 00139568 38 00 00 00 */ li r0, 0 -/* 8013C60C 0013956C 90 05 00 00 */ stw r0, 0(r5) -/* 8013C610 00139570 48 00 00 FC */ b lbl_8013C70C -lbl_8013C614: -/* 8013C614 00139574 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2) -/* 8013C618 00139578 38 00 00 00 */ li r0, 0 -/* 8013C61C 0013957C C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 8013C620 00139580 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C624 00139584 40 82 00 1C */ bne lbl_8013C640 -/* 8013C628 00139588 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 8013C62C 0013958C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C630 00139590 40 82 00 10 */ bne lbl_8013C640 -/* 8013C634 00139594 C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 8013C638 00139598 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C63C 0013959C 41 82 00 08 */ beq lbl_8013C644 -lbl_8013C640: -/* 8013C640 001395A0 38 00 00 01 */ li r0, 1 -lbl_8013C644: -/* 8013C644 001395A4 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8013C648 001395A8 41 82 00 C4 */ beq lbl_8013C70C -/* 8013C64C 001395AC FC 20 F8 90 */ fmr f1, f31 -/* 8013C650 001395B0 7F 63 DB 78 */ mr r3, r27 -/* 8013C654 001395B4 38 9D 00 18 */ addi r4, r29, 0x18 -/* 8013C658 001395B8 4B FF E0 4D */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -/* 8013C65C 001395BC 48 00 00 B0 */ b lbl_8013C70C -lbl_8013C660: -/* 8013C660 001395C0 7F A3 EB 78 */ mr r3, r29 -/* 8013C664 001395C4 38 80 00 0A */ li r4, 0xa -/* 8013C668 001395C8 4B FF 4D E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C66C 001395CC 28 03 00 00 */ cmplwi r3, 0 -/* 8013C670 001395D0 41 82 00 38 */ beq lbl_8013C6A8 -/* 8013C674 001395D4 7F C3 F3 78 */ mr r3, r30 -/* 8013C678 001395D8 7F 64 DB 78 */ mr r4, r27 -/* 8013C67C 001395DC 7F 85 E3 78 */ mr r5, r28 -/* 8013C680 001395E0 4B FF FB D5 */ bl PlayExitAnimation__15CBSLoopReactionCFR15CBodyControllerR13CStateManager -/* 8013C684 001395E4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013C688 001395E8 41 82 00 10 */ beq lbl_8013C698 -/* 8013C68C 001395EC 38 00 00 02 */ li r0, 2 -/* 8013C690 001395F0 90 1E 00 04 */ stw r0, 4(r30) -/* 8013C694 001395F4 48 00 00 78 */ b lbl_8013C70C -lbl_8013C698: -/* 8013C698 001395F8 38 00 FF FF */ li r0, -1 -/* 8013C69C 001395FC 3B E0 00 05 */ li r31, 5 -/* 8013C6A0 00139600 90 1E 00 04 */ stw r0, 4(r30) -/* 8013C6A4 00139604 48 00 00 68 */ b lbl_8013C70C -lbl_8013C6A8: -/* 8013C6A8 00139608 C0 22 9A A8 */ lfs f1, lbl_805AB7C8@sda21(r2) -/* 8013C6AC 0013960C 38 00 00 00 */ li r0, 0 -/* 8013C6B0 00139610 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 8013C6B4 00139614 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C6B8 00139618 40 82 00 1C */ bne lbl_8013C6D4 -/* 8013C6BC 0013961C C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 8013C6C0 00139620 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C6C4 00139624 40 82 00 10 */ bne lbl_8013C6D4 -/* 8013C6C8 00139628 C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 8013C6CC 0013962C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8013C6D0 00139630 41 82 00 08 */ beq lbl_8013C6D8 -lbl_8013C6D4: -/* 8013C6D4 00139634 38 00 00 01 */ li r0, 1 -lbl_8013C6D8: -/* 8013C6D8 00139638 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 8013C6DC 0013963C 41 82 00 30 */ beq lbl_8013C70C -/* 8013C6E0 00139640 FC 20 F8 90 */ fmr f1, f31 -/* 8013C6E4 00139644 7F 63 DB 78 */ mr r3, r27 -/* 8013C6E8 00139648 38 9D 00 18 */ addi r4, r29, 0x18 -/* 8013C6EC 0013964C 4B FF DF B9 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -/* 8013C6F0 00139650 48 00 00 1C */ b lbl_8013C70C -lbl_8013C6F4: -/* 8013C6F4 00139654 88 1B 03 00 */ lbz r0, 0x300(r27) -/* 8013C6F8 00139658 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013C6FC 0013965C 41 82 00 10 */ beq lbl_8013C70C -/* 8013C700 00139660 38 00 FF FF */ li r0, -1 -/* 8013C704 00139664 3B E0 00 05 */ li r31, 5 -/* 8013C708 00139668 90 1E 00 04 */ stw r0, 4(r30) -lbl_8013C70C: -/* 8013C70C 0013966C 7F E3 FB 78 */ mr r3, r31 -/* 8013C710 00139670 E3 E1 00 B8 */ psq_l f31, 184(r1), 0, qr0 -/* 8013C714 00139674 CB E1 00 B0 */ lfd f31, 0xb0(r1) -/* 8013C718 00139678 BB 61 00 9C */ lmw r27, 0x9c(r1) -/* 8013C71C 0013967C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 8013C720 00139680 7C 08 03 A6 */ mtlr r0 -/* 8013C724 00139684 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 8013C728 00139688 4E 80 00 20 */ blr - -.global Start__15CBSLoopReactionFR15CBodyControllerR13CStateManager -Start__15CBSLoopReactionFR15CBodyControllerR13CStateManager: -/* 8013C72C 0013968C 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 8013C730 00139690 7C 08 02 A6 */ mflr r0 -/* 8013C734 00139694 90 01 01 64 */ stw r0, 0x164(r1) -/* 8013C738 00139698 93 E1 01 5C */ stw r31, 0x15c(r1) -/* 8013C73C 0013969C 7C BF 2B 78 */ mr r31, r5 -/* 8013C740 001396A0 93 C1 01 58 */ stw r30, 0x158(r1) -/* 8013C744 001396A4 7C 9E 23 78 */ mr r30, r4 -/* 8013C748 001396A8 38 80 00 08 */ li r4, 8 -/* 8013C74C 001396AC 93 A1 01 54 */ stw r29, 0x154(r1) -/* 8013C750 001396B0 3B BE 00 04 */ addi r29, r30, 4 -/* 8013C754 001396B4 93 81 01 50 */ stw r28, 0x150(r1) -/* 8013C758 001396B8 7C 7C 1B 78 */ mr r28, r3 -/* 8013C75C 001396BC 7F A3 EB 78 */ mr r3, r29 -/* 8013C760 001396C0 4B FF 4C F1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C764 001396C4 28 03 00 00 */ cmplwi r3, 0 -/* 8013C768 001396C8 41 82 00 20 */ beq lbl_8013C788 -/* 8013C76C 001396CC 80 03 00 08 */ lwz r0, 8(r3) -/* 8013C770 001396D0 38 60 00 00 */ li r3, 0 -/* 8013C774 001396D4 90 1C 00 08 */ stw r0, 8(r28) -/* 8013C778 001396D8 88 1C 00 0C */ lbz r0, 0xc(r28) -/* 8013C77C 001396DC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8013C780 001396E0 98 1C 00 0C */ stb r0, 0xc(r28) -/* 8013C784 001396E4 48 00 00 28 */ b lbl_8013C7AC -lbl_8013C788: -/* 8013C788 001396E8 7F A3 EB 78 */ mr r3, r29 -/* 8013C78C 001396EC 38 80 00 09 */ li r4, 9 -/* 8013C790 001396F0 4B FF 4C C1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013C794 001396F4 80 03 00 08 */ lwz r0, 8(r3) -/* 8013C798 001396F8 38 60 00 01 */ li r3, 1 -/* 8013C79C 001396FC 90 1C 00 08 */ stw r0, 8(r28) -/* 8013C7A0 00139700 88 1C 00 0C */ lbz r0, 0xc(r28) -/* 8013C7A4 00139704 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8013C7A8 00139708 98 1C 00 0C */ stb r0, 0xc(r28) -lbl_8013C7AC: -/* 8013C7AC 0013970C 38 00 00 00 */ li r0, 0 -/* 8013C7B0 00139710 38 61 00 58 */ addi r3, r1, 0x58 -/* 8013C7B4 00139714 90 1C 00 04 */ stw r0, 4(r28) -/* 8013C7B8 00139718 48 1A 68 C5 */ bl NoParameter__12CPASAnimParmFv -/* 8013C7BC 0013971C 38 61 00 60 */ addi r3, r1, 0x60 -/* 8013C7C0 00139720 48 1A 68 BD */ bl NoParameter__12CPASAnimParmFv -/* 8013C7C4 00139724 38 61 00 68 */ addi r3, r1, 0x68 -/* 8013C7C8 00139728 48 1A 68 B5 */ bl NoParameter__12CPASAnimParmFv -/* 8013C7CC 0013972C 38 61 00 70 */ addi r3, r1, 0x70 -/* 8013C7D0 00139730 48 1A 68 AD */ bl NoParameter__12CPASAnimParmFv -/* 8013C7D4 00139734 38 61 00 78 */ addi r3, r1, 0x78 -/* 8013C7D8 00139738 48 1A 68 A5 */ bl NoParameter__12CPASAnimParmFv -/* 8013C7DC 0013973C 38 61 00 80 */ addi r3, r1, 0x80 -/* 8013C7E0 00139740 48 1A 68 9D */ bl NoParameter__12CPASAnimParmFv -/* 8013C7E4 00139744 80 9C 00 04 */ lwz r4, 4(r28) -/* 8013C7E8 00139748 38 61 00 88 */ addi r3, r1, 0x88 -/* 8013C7EC 0013974C 48 1A 67 99 */ bl FromEnum__12CPASAnimParmFi -/* 8013C7F0 00139750 80 9C 00 08 */ lwz r4, 8(r28) -/* 8013C7F4 00139754 38 61 00 90 */ addi r3, r1, 0x90 -/* 8013C7F8 00139758 48 1A 67 8D */ bl FromEnum__12CPASAnimParmFi -/* 8013C7FC 0013975C 38 61 00 60 */ addi r3, r1, 0x60 -/* 8013C800 00139760 38 01 00 58 */ addi r0, r1, 0x58 -/* 8013C804 00139764 90 61 00 08 */ stw r3, 8(r1) -/* 8013C808 00139768 38 61 01 08 */ addi r3, r1, 0x108 -/* 8013C80C 0013976C 38 A1 00 90 */ addi r5, r1, 0x90 -/* 8013C810 00139770 38 C1 00 88 */ addi r6, r1, 0x88 -/* 8013C814 00139774 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013C818 00139778 38 E1 00 80 */ addi r7, r1, 0x80 -/* 8013C81C 0013977C 39 01 00 78 */ addi r8, r1, 0x78 -/* 8013C820 00139780 39 21 00 70 */ addi r9, r1, 0x70 -/* 8013C824 00139784 39 41 00 68 */ addi r10, r1, 0x68 -/* 8013C828 00139788 38 80 00 0A */ li r4, 0xa -/* 8013C82C 0013978C 4B F4 0A 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013C830 00139790 7F C3 F3 78 */ mr r3, r30 -/* 8013C834 00139794 4B FF DC 21 */ bl GetPASDatabase__15CBodyControllerCFv -/* 8013C838 00139798 80 DF 09 00 */ lwz r6, 0x900(r31) -/* 8013C83C 0013979C 7C 64 1B 78 */ mr r4, r3 -/* 8013C840 001397A0 38 61 00 50 */ addi r3, r1, 0x50 -/* 8013C844 001397A4 38 A1 01 08 */ addi r5, r1, 0x108 -/* 8013C848 001397A8 38 E0 FF FF */ li r7, -1 -/* 8013C84C 001397AC 48 1A 88 15 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 8013C850 001397B0 C0 21 00 50 */ lfs f1, 0x50(r1) -/* 8013C854 001397B4 C0 02 9A B0 */ lfs f0, lbl_805AB7D0@sda21(r2) -/* 8013C858 001397B8 80 61 00 54 */ lwz r3, 0x54(r1) -/* 8013C85C 001397BC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013C860 001397C0 40 81 00 54 */ ble lbl_8013C8B4 -/* 8013C864 001397C4 C0 02 9A AC */ lfs f0, lbl_805AB7CC@sda21(r2) -/* 8013C868 001397C8 38 00 00 00 */ li r0, 0 -/* 8013C86C 001397CC 38 C0 FF FF */ li r6, -1 -/* 8013C870 001397D0 38 E0 00 01 */ li r7, 1 -/* 8013C874 001397D4 90 61 00 98 */ stw r3, 0x98(r1) -/* 8013C878 001397D8 7F C3 F3 78 */ mr r3, r30 -/* 8013C87C 001397DC 38 81 00 98 */ addi r4, r1, 0x98 -/* 8013C880 001397E0 38 A0 00 00 */ li r5, 0 -/* 8013C884 001397E4 90 C1 00 9C */ stw r6, 0x9c(r1) -/* 8013C888 001397E8 38 C0 00 00 */ li r6, 0 -/* 8013C88C 001397EC D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 8013C890 001397F0 98 E1 00 A4 */ stb r7, 0xa4(r1) -/* 8013C894 001397F4 90 01 00 A8 */ stw r0, 0xa8(r1) -/* 8013C898 001397F8 90 01 00 AC */ stw r0, 0xac(r1) -/* 8013C89C 001397FC 98 01 00 B0 */ stb r0, 0xb0(r1) -/* 8013C8A0 00139800 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8013C8A4 00139804 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 8013C8A8 00139808 90 01 00 BC */ stw r0, 0xbc(r1) -/* 8013C8AC 0013980C 4B FF E0 71 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 8013C8B0 00139810 48 00 00 F4 */ b lbl_8013C9A4 -lbl_8013C8B4: -/* 8013C8B4 00139814 38 00 00 01 */ li r0, 1 -/* 8013C8B8 00139818 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013C8BC 0013981C 90 1C 00 04 */ stw r0, 4(r28) -/* 8013C8C0 00139820 48 1A 67 BD */ bl NoParameter__12CPASAnimParmFv -/* 8013C8C4 00139824 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013C8C8 00139828 48 1A 67 B5 */ bl NoParameter__12CPASAnimParmFv -/* 8013C8CC 0013982C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013C8D0 00139830 48 1A 67 AD */ bl NoParameter__12CPASAnimParmFv -/* 8013C8D4 00139834 38 61 00 28 */ addi r3, r1, 0x28 -/* 8013C8D8 00139838 48 1A 67 A5 */ bl NoParameter__12CPASAnimParmFv -/* 8013C8DC 0013983C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013C8E0 00139840 48 1A 67 9D */ bl NoParameter__12CPASAnimParmFv -/* 8013C8E4 00139844 38 61 00 38 */ addi r3, r1, 0x38 -/* 8013C8E8 00139848 48 1A 67 95 */ bl NoParameter__12CPASAnimParmFv -/* 8013C8EC 0013984C 80 9C 00 04 */ lwz r4, 4(r28) -/* 8013C8F0 00139850 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013C8F4 00139854 48 1A 66 91 */ bl FromEnum__12CPASAnimParmFi -/* 8013C8F8 00139858 80 9C 00 08 */ lwz r4, 8(r28) -/* 8013C8FC 0013985C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013C900 00139860 48 1A 66 85 */ bl FromEnum__12CPASAnimParmFi -/* 8013C904 00139864 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013C908 00139868 38 01 00 10 */ addi r0, r1, 0x10 -/* 8013C90C 0013986C 90 61 00 08 */ stw r3, 8(r1) -/* 8013C910 00139870 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 8013C914 00139874 38 A1 00 48 */ addi r5, r1, 0x48 -/* 8013C918 00139878 38 C1 00 40 */ addi r6, r1, 0x40 -/* 8013C91C 0013987C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013C920 00139880 38 E1 00 38 */ addi r7, r1, 0x38 -/* 8013C924 00139884 39 01 00 30 */ addi r8, r1, 0x30 -/* 8013C928 00139888 39 21 00 28 */ addi r9, r1, 0x28 -/* 8013C92C 0013988C 39 41 00 20 */ addi r10, r1, 0x20 -/* 8013C930 00139890 38 80 00 0A */ li r4, 0xa -/* 8013C934 00139894 4B F4 09 91 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013C938 00139898 80 BF 09 00 */ lwz r5, 0x900(r31) -/* 8013C93C 0013989C 7F C3 F3 78 */ mr r3, r30 -/* 8013C940 001398A0 38 81 01 08 */ addi r4, r1, 0x108 -/* 8013C944 001398A4 4B FF D9 B9 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 8013C948 001398A8 34 A1 00 C4 */ addic. r5, r1, 0xc4 -/* 8013C94C 001398AC 41 82 00 58 */ beq lbl_8013C9A4 -/* 8013C950 001398B0 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013C954 001398B4 38 60 00 00 */ li r3, 0 -/* 8013C958 001398B8 2C 06 00 00 */ cmpwi r6, 0 -/* 8013C95C 001398BC 40 81 00 40 */ ble lbl_8013C99C -/* 8013C960 001398C0 2C 06 00 08 */ cmpwi r6, 8 -/* 8013C964 001398C4 38 86 FF F8 */ addi r4, r6, -8 -/* 8013C968 001398C8 40 81 00 20 */ ble lbl_8013C988 -/* 8013C96C 001398CC 38 04 00 07 */ addi r0, r4, 7 -/* 8013C970 001398D0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013C974 001398D4 7C 09 03 A6 */ mtctr r0 -/* 8013C978 001398D8 2C 04 00 00 */ cmpwi r4, 0 -/* 8013C97C 001398DC 40 81 00 0C */ ble lbl_8013C988 -lbl_8013C980: -/* 8013C980 001398E0 38 63 00 08 */ addi r3, r3, 8 -/* 8013C984 001398E4 42 00 FF FC */ bdnz lbl_8013C980 -lbl_8013C988: -/* 8013C988 001398E8 7C 03 30 50 */ subf r0, r3, r6 -/* 8013C98C 001398EC 7C 09 03 A6 */ mtctr r0 -/* 8013C990 001398F0 7C 03 30 00 */ cmpw r3, r6 -/* 8013C994 001398F4 40 80 00 08 */ bge lbl_8013C99C -lbl_8013C998: -/* 8013C998 001398F8 42 00 00 00 */ bdnz lbl_8013C998 -lbl_8013C99C: -/* 8013C99C 001398FC 38 00 00 00 */ li r0, 0 -/* 8013C9A0 00139900 90 05 00 00 */ stw r0, 0(r5) -lbl_8013C9A4: -/* 8013C9A4 00139904 34 A1 01 0C */ addic. r5, r1, 0x10c -/* 8013C9A8 00139908 41 82 00 58 */ beq lbl_8013CA00 -/* 8013C9AC 0013990C 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013C9B0 00139910 38 60 00 00 */ li r3, 0 -/* 8013C9B4 00139914 2C 06 00 00 */ cmpwi r6, 0 -/* 8013C9B8 00139918 40 81 00 40 */ ble lbl_8013C9F8 -/* 8013C9BC 0013991C 2C 06 00 08 */ cmpwi r6, 8 -/* 8013C9C0 00139920 38 86 FF F8 */ addi r4, r6, -8 -/* 8013C9C4 00139924 40 81 00 20 */ ble lbl_8013C9E4 -/* 8013C9C8 00139928 38 04 00 07 */ addi r0, r4, 7 -/* 8013C9CC 0013992C 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013C9D0 00139930 7C 09 03 A6 */ mtctr r0 -/* 8013C9D4 00139934 2C 04 00 00 */ cmpwi r4, 0 -/* 8013C9D8 00139938 40 81 00 0C */ ble lbl_8013C9E4 -lbl_8013C9DC: -/* 8013C9DC 0013993C 38 63 00 08 */ addi r3, r3, 8 -/* 8013C9E0 00139940 42 00 FF FC */ bdnz lbl_8013C9DC -lbl_8013C9E4: -/* 8013C9E4 00139944 7C 03 30 50 */ subf r0, r3, r6 -/* 8013C9E8 00139948 7C 09 03 A6 */ mtctr r0 -/* 8013C9EC 0013994C 7C 03 30 00 */ cmpw r3, r6 -/* 8013C9F0 00139950 40 80 00 08 */ bge lbl_8013C9F8 -lbl_8013C9F4: -/* 8013C9F4 00139954 42 00 00 00 */ bdnz lbl_8013C9F4 -lbl_8013C9F8: -/* 8013C9F8 00139958 38 00 00 00 */ li r0, 0 -/* 8013C9FC 0013995C 90 05 00 00 */ stw r0, 0(r5) -lbl_8013CA00: -/* 8013CA00 00139960 80 01 01 64 */ lwz r0, 0x164(r1) -/* 8013CA04 00139964 83 E1 01 5C */ lwz r31, 0x15c(r1) -/* 8013CA08 00139968 83 C1 01 58 */ lwz r30, 0x158(r1) -/* 8013CA0C 0013996C 83 A1 01 54 */ lwz r29, 0x154(r1) -/* 8013CA10 00139970 83 81 01 50 */ lwz r28, 0x150(r1) -/* 8013CA14 00139974 7C 08 03 A6 */ mtlr r0 -/* 8013CA18 00139978 38 21 01 60 */ addi r1, r1, 0x160 -/* 8013CA1C 0013997C 4E 80 00 20 */ blr - -.global __ct__15CBSLoopReactionFv -__ct__15CBSLoopReactionFv: -/* 8013CA20 00139980 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 8013CA24 00139984 3C 80 80 3E */ lis r4, lbl_803E1878@ha -/* 8013CA28 00139988 38 C5 13 18 */ addi r6, r5, lbl_803E1318@l -/* 8013CA2C 0013998C 38 00 FF FF */ li r0, -1 -/* 8013CA30 00139990 90 C3 00 00 */ stw r6, 0(r3) -/* 8013CA34 00139994 38 A4 18 78 */ addi r5, r4, lbl_803E1878@l -/* 8013CA38 00139998 38 80 00 00 */ li r4, 0 -/* 8013CA3C 0013999C 90 A3 00 00 */ stw r5, 0(r3) -/* 8013CA40 001399A0 90 03 00 04 */ stw r0, 4(r3) -/* 8013CA44 001399A4 90 03 00 08 */ stw r0, 8(r3) -/* 8013CA48 001399A8 88 03 00 0C */ lbz r0, 0xc(r3) -/* 8013CA4C 001399AC 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8013CA50 001399B0 98 03 00 0C */ stb r0, 0xc(r3) -/* 8013CA54 001399B4 4E 80 00 20 */ blr - -.global ProjectOrbitalPosition__18CSteeringBehaviorsFRC9CVector3fRC9CVector3fRC9CVector3ff -ProjectOrbitalPosition__18CSteeringBehaviorsFRC9CVector3fRC9CVector3fRC9CVector3ff: -/* 8013CA58 001399B8 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 8013CA5C 001399BC 7C 08 02 A6 */ mflr r0 -/* 8013CA60 001399C0 90 01 01 34 */ stw r0, 0x134(r1) -/* 8013CA64 001399C4 DB E1 01 20 */ stfd f31, 0x120(r1) -/* 8013CA68 001399C8 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 8013CA6C 001399CC DB C1 01 10 */ stfd f30, 0x110(r1) -/* 8013CA70 001399D0 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 8013CA74 001399D4 DB A1 01 00 */ stfd f29, 0x100(r1) -/* 8013CA78 001399D8 F3 A1 01 08 */ psq_st f29, 264(r1), 0, qr0 -/* 8013CA7C 001399DC DB 81 00 F0 */ stfd f28, 0xf0(r1) -/* 8013CA80 001399E0 F3 81 00 F8 */ psq_st f28, 248(r1), 0, qr0 -/* 8013CA84 001399E4 DB 61 00 E0 */ stfd f27, 0xe0(r1) -/* 8013CA88 001399E8 F3 61 00 E8 */ psq_st f27, 232(r1), 0, qr0 -/* 8013CA8C 001399EC DB 41 00 D0 */ stfd f26, 0xd0(r1) -/* 8013CA90 001399F0 F3 41 00 D8 */ psq_st f26, 216(r1), 0, qr0 -/* 8013CA94 001399F4 DB 21 00 C0 */ stfd f25, 0xc0(r1) -/* 8013CA98 001399F8 F3 21 00 C8 */ psq_st f25, 200(r1), 0, qr0 -/* 8013CA9C 001399FC DB 01 00 B0 */ stfd f24, 0xb0(r1) -/* 8013CAA0 00139A00 F3 01 00 B8 */ psq_st f24, 184(r1), 0, qr0 -/* 8013CAA4 00139A04 DA E1 00 A0 */ stfd f23, 0xa0(r1) -/* 8013CAA8 00139A08 F2 E1 00 A8 */ psq_st f23, 168(r1), 0, qr0 -/* 8013CAAC 00139A0C DA C1 00 90 */ stfd f22, 0x90(r1) -/* 8013CAB0 00139A10 F2 C1 00 98 */ psq_st f22, 152(r1), 0, qr0 -/* 8013CAB4 00139A14 DA A1 00 80 */ stfd f21, 0x80(r1) -/* 8013CAB8 00139A18 F2 A1 00 88 */ psq_st f21, 136(r1), 0, qr0 -/* 8013CABC 00139A1C DA 81 00 70 */ stfd f20, 0x70(r1) -/* 8013CAC0 00139A20 F2 81 00 78 */ psq_st f20, 120(r1), 0, qr0 -/* 8013CAC4 00139A24 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8013CAC8 00139A28 93 C1 00 68 */ stw r30, 0x68(r1) -/* 8013CACC 00139A2C 93 A1 00 64 */ stw r29, 0x64(r1) -/* 8013CAD0 00139A30 93 81 00 60 */ stw r28, 0x60(r1) -/* 8013CAD4 00139A34 7C 9D 23 78 */ mr r29, r4 -/* 8013CAD8 00139A38 FE 80 08 90 */ fmr f20, f1 -/* 8013CADC 00139A3C FE A0 10 90 */ fmr f21, f2 -/* 8013CAE0 00139A40 7C BF 2B 78 */ mr r31, r5 -/* 8013CAE4 00139A44 7C 7C 1B 78 */ mr r28, r3 -/* 8013CAE8 00139A48 C3 84 00 00 */ lfs f28, 0(r4) -/* 8013CAEC 00139A4C C3 64 00 04 */ lfs f27, 4(r4) -/* 8013CAF0 00139A50 C3 44 00 08 */ lfs f26, 8(r4) -/* 8013CAF4 00139A54 7C DE 33 78 */ mr r30, r6 -/* 8013CAF8 00139A58 7F E3 FB 78 */ mr r3, r31 -/* 8013CAFC 00139A5C 48 1D 7B FD */ bl CanBeNormalized__9CVector3fCFv -/* 8013CB00 00139A60 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013CB04 00139A64 41 82 01 C0 */ beq lbl_8013CCC4 -/* 8013CB08 00139A68 C0 5D 00 04 */ lfs f2, 4(r29) -/* 8013CB0C 00139A6C 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013CB10 00139A70 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8013CB14 00139A74 C0 3D 00 00 */ lfs f1, 0(r29) -/* 8013CB18 00139A78 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8013CB1C 00139A7C C0 1E 00 00 */ lfs f0, 0(r30) -/* 8013CB20 00139A80 C0 7D 00 08 */ lfs f3, 8(r29) -/* 8013CB24 00139A84 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8013CB28 00139A88 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8013CB2C 00139A8C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8013CB30 00139A90 EC 03 00 28 */ fsubs f0, f3, f0 -/* 8013CB34 00139A94 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8013CB38 00139A98 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8013CB3C 00139A9C 48 1D 76 C5 */ bl __ct__9CVector2fFff -/* 8013CB40 00139AA0 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8013CB44 00139AA4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013CB48 00139AA8 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8013CB4C 00139AAC C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013CB50 00139AB0 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8013CB54 00139AB4 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8013CB58 00139AB8 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8013CB5C 00139ABC 48 1D 7B 9D */ bl CanBeNormalized__9CVector3fCFv -/* 8013CB60 00139AC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013CB64 00139AC4 41 82 01 60 */ beq lbl_8013CCC4 -/* 8013CB68 00139AC8 C3 3F 00 00 */ lfs f25, 0(r31) -/* 8013CB6C 00139ACC 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013CB70 00139AD0 C3 1F 00 04 */ lfs f24, 4(r31) -/* 8013CB74 00139AD4 38 81 00 48 */ addi r4, r1, 0x48 -/* 8013CB78 00139AD8 C2 FF 00 08 */ lfs f23, 8(r31) -/* 8013CB7C 00139ADC C2 C2 9A B8 */ lfs f22, lbl_805AB7D8@sda21(r2) -/* 8013CB80 00139AE0 48 1D 7C D1 */ bl AsNormalized__9CVector3fCFv -/* 8013CB84 00139AE4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8013CB88 00139AE8 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 8013CB8C 00139AEC 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l -/* 8013CB90 00139AF0 C1 01 00 30 */ lfs f8, 0x30(r1) -/* 8013CB94 00139AF4 C0 BF 00 08 */ lfs f5, 8(r31) -/* 8013CB98 00139AF8 EC 18 01 B2 */ fmuls f0, f24, f6 -/* 8013CB9C 00139AFC C1 3F 00 00 */ lfs f9, 0(r31) -/* 8013CBA0 00139B00 EC 25 02 32 */ fmuls f1, f5, f8 -/* 8013CBA4 00139B04 C0 E1 00 38 */ lfs f7, 0x38(r1) -/* 8013CBA8 00139B08 C0 9F 00 04 */ lfs f4, 4(r31) -/* 8013CBAC 00139B0C EC 69 01 B2 */ fmuls f3, f9, f6 -/* 8013CBB0 00139B10 EC 19 02 3A */ fmadds f0, f25, f8, f0 -/* 8013CBB4 00139B14 C3 E2 9A B8 */ lfs f31, lbl_805AB7D8@sda21(r2) -/* 8013CBB8 00139B18 EC 44 01 F2 */ fmuls f2, f4, f7 -/* 8013CBBC 00139B1C EC 27 0A 78 */ fmsubs f1, f7, f9, f1 -/* 8013CBC0 00139B20 EC 68 19 38 */ fmsubs f3, f8, f4, f3 -/* 8013CBC4 00139B24 EC 46 11 78 */ fmsubs f2, f6, f5, f2 -/* 8013CBC8 00139B28 EC 38 00 72 */ fmuls f1, f24, f1 -/* 8013CBCC 00139B2C EF B7 01 FA */ fmadds f29, f23, f7, f0 -/* 8013CBD0 00139B30 EC 19 08 BA */ fmadds f0, f25, f2, f1 -/* 8013CBD4 00139B34 EF D7 00 FA */ fmadds f30, f23, f3, f0 -/* 8013CBD8 00139B38 48 00 00 E4 */ b lbl_8013CCBC -lbl_8013CBDC: -/* 8013CBDC 00139B3C EC B5 06 72 */ fmuls f5, f21, f25 -/* 8013CBE0 00139B40 C0 5E 00 04 */ lfs f2, 4(r30) -/* 8013CBE4 00139B44 EC 95 06 32 */ fmuls f4, f21, f24 -/* 8013CBE8 00139B48 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8013CBEC 00139B4C EC 35 05 F2 */ fmuls f1, f21, f23 -/* 8013CBF0 00139B50 C0 7E 00 08 */ lfs f3, 8(r30) -/* 8013CBF4 00139B54 EF 7B 20 2A */ fadds f27, f27, f4 -/* 8013CBF8 00139B58 38 61 00 08 */ addi r3, r1, 8 -/* 8013CBFC 00139B5C EF 9C 28 2A */ fadds f28, f28, f5 -/* 8013CC00 00139B60 EF 5A 08 2A */ fadds f26, f26, f1 -/* 8013CC04 00139B64 EC 5B 10 28 */ fsubs f2, f27, f2 -/* 8013CC08 00139B68 EC 3C 00 28 */ fsubs f1, f28, f0 -/* 8013CC0C 00139B6C EC 1A 18 28 */ fsubs f0, f26, f3 -/* 8013CC10 00139B70 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8013CC14 00139B74 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8013CC18 00139B78 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8013CC1C 00139B7C 48 1D 75 E5 */ bl __ct__9CVector2fFff -/* 8013CC20 00139B80 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8013CC24 00139B84 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013CC28 00139B88 C0 01 00 08 */ lfs f0, 8(r1) -/* 8013CC2C 00139B8C D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8013CC30 00139B90 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8013CC34 00139B94 D3 E1 00 50 */ stfs f31, 0x50(r1) -/* 8013CC38 00139B98 48 1D 7A C1 */ bl CanBeNormalized__9CVector3fCFv -/* 8013CC3C 00139B9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013CC40 00139BA0 41 82 00 68 */ beq lbl_8013CCA8 -/* 8013CC44 00139BA4 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013CC48 00139BA8 38 81 00 48 */ addi r4, r1, 0x48 -/* 8013CC4C 00139BAC 48 1D 7C 05 */ bl AsNormalized__9CVector3fCFv -/* 8013CC50 00139BB0 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8013CC54 00139BB4 C1 21 00 1C */ lfs f9, 0x1c(r1) -/* 8013CC58 00139BB8 C1 41 00 20 */ lfs f10, 0x20(r1) -/* 8013CC5C 00139BBC C0 BF 00 04 */ lfs f5, 4(r31) -/* 8013CC60 00139BC0 EC 5D 02 72 */ fmuls f2, f29, f9 -/* 8013CC64 00139BC4 C1 03 66 F4 */ lfs f8, lbl_805A66F4@l(r3) -/* 8013CC68 00139BC8 EC 1D 02 B2 */ fmuls f0, f29, f10 -/* 8013CC6C 00139BCC C0 E1 00 18 */ lfs f7, 0x18(r1) -/* 8013CC70 00139BD0 EC 65 02 B2 */ fmuls f3, f5, f10 -/* 8013CC74 00139BD4 C0 DF 00 08 */ lfs f6, 8(r31) -/* 8013CC78 00139BD8 EC 88 02 72 */ fmuls f4, f8, f9 -/* 8013CC7C 00139BDC EC 26 01 F2 */ fmuls f1, f6, f7 -/* 8013CC80 00139BE0 EC 69 19 B8 */ fmsubs f3, f9, f6, f3 -/* 8013CC84 00139BE4 EC C7 21 78 */ fmsubs f6, f7, f5, f4 -/* 8013CC88 00139BE8 EC 2A 0A 38 */ fmsubs f1, f10, f8, f1 -/* 8013CC8C 00139BEC EC BE 00 F2 */ fmuls f5, f30, f3 -/* 8013CC90 00139BF0 EC 9D 01 F2 */ fmuls f4, f29, f7 -/* 8013CC94 00139BF4 EC 7E 00 72 */ fmuls f3, f30, f1 -/* 8013CC98 00139BF8 EC 3E 01 B2 */ fmuls f1, f30, f6 -/* 8013CC9C 00139BFC EF 25 20 2A */ fadds f25, f5, f4 -/* 8013CCA0 00139C00 EF 03 10 2A */ fadds f24, f3, f2 -/* 8013CCA4 00139C04 EE E1 00 2A */ fadds f23, f1, f0 -lbl_8013CCA8: -/* 8013CCA8 00139C08 EC 14 B0 28 */ fsubs f0, f20, f22 -/* 8013CCAC 00139C0C FC 00 A8 40 */ fcmpo cr0, f0, f21 -/* 8013CCB0 00139C10 40 81 00 08 */ ble lbl_8013CCB8 -/* 8013CCB4 00139C14 FC 00 A8 90 */ fmr f0, f21 -lbl_8013CCB8: -/* 8013CCB8 00139C18 EE D6 00 2A */ fadds f22, f22, f0 -lbl_8013CCBC: -/* 8013CCBC 00139C1C FC 16 A0 40 */ fcmpo cr0, f22, f20 -/* 8013CCC0 00139C20 41 80 FF 1C */ blt lbl_8013CBDC -lbl_8013CCC4: -/* 8013CCC4 00139C24 D3 9C 00 00 */ stfs f28, 0(r28) -/* 8013CCC8 00139C28 D3 7C 00 04 */ stfs f27, 4(r28) -/* 8013CCCC 00139C2C D3 5C 00 08 */ stfs f26, 8(r28) -/* 8013CCD0 00139C30 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 8013CCD4 00139C34 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 8013CCD8 00139C38 E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 8013CCDC 00139C3C CB C1 01 10 */ lfd f30, 0x110(r1) -/* 8013CCE0 00139C40 E3 A1 01 08 */ psq_l f29, 264(r1), 0, qr0 -/* 8013CCE4 00139C44 CB A1 01 00 */ lfd f29, 0x100(r1) -/* 8013CCE8 00139C48 E3 81 00 F8 */ psq_l f28, 248(r1), 0, qr0 -/* 8013CCEC 00139C4C CB 81 00 F0 */ lfd f28, 0xf0(r1) -/* 8013CCF0 00139C50 E3 61 00 E8 */ psq_l f27, 232(r1), 0, qr0 -/* 8013CCF4 00139C54 CB 61 00 E0 */ lfd f27, 0xe0(r1) -/* 8013CCF8 00139C58 E3 41 00 D8 */ psq_l f26, 216(r1), 0, qr0 -/* 8013CCFC 00139C5C CB 41 00 D0 */ lfd f26, 0xd0(r1) -/* 8013CD00 00139C60 E3 21 00 C8 */ psq_l f25, 200(r1), 0, qr0 -/* 8013CD04 00139C64 CB 21 00 C0 */ lfd f25, 0xc0(r1) -/* 8013CD08 00139C68 E3 01 00 B8 */ psq_l f24, 184(r1), 0, qr0 -/* 8013CD0C 00139C6C CB 01 00 B0 */ lfd f24, 0xb0(r1) -/* 8013CD10 00139C70 E2 E1 00 A8 */ psq_l f23, 168(r1), 0, qr0 -/* 8013CD14 00139C74 CA E1 00 A0 */ lfd f23, 0xa0(r1) -/* 8013CD18 00139C78 E2 C1 00 98 */ psq_l f22, 152(r1), 0, qr0 -/* 8013CD1C 00139C7C CA C1 00 90 */ lfd f22, 0x90(r1) -/* 8013CD20 00139C80 E2 A1 00 88 */ psq_l f21, 136(r1), 0, qr0 -/* 8013CD24 00139C84 CA A1 00 80 */ lfd f21, 0x80(r1) -/* 8013CD28 00139C88 E2 81 00 78 */ psq_l f20, 120(r1), 0, qr0 -/* 8013CD2C 00139C8C CA 81 00 70 */ lfd f20, 0x70(r1) -/* 8013CD30 00139C90 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8013CD34 00139C94 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 8013CD38 00139C98 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 8013CD3C 00139C9C 80 01 01 34 */ lwz r0, 0x134(r1) -/* 8013CD40 00139CA0 83 81 00 60 */ lwz r28, 0x60(r1) -/* 8013CD44 00139CA4 7C 08 03 A6 */ mtlr r0 -/* 8013CD48 00139CA8 38 21 01 30 */ addi r1, r1, 0x130 -/* 8013CD4C 00139CAC 4E 80 00 20 */ blr - -.global ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f -ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f: -/* 8013CD50 00139CB0 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 8013CD54 00139CB4 7C 08 02 A6 */ mflr r0 -/* 8013CD58 00139CB8 90 01 01 84 */ stw r0, 0x184(r1) -/* 8013CD5C 00139CBC DB E1 01 70 */ stfd f31, 0x170(r1) -/* 8013CD60 00139CC0 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 8013CD64 00139CC4 DB C1 01 60 */ stfd f30, 0x160(r1) -/* 8013CD68 00139CC8 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 8013CD6C 00139CCC DB A1 01 50 */ stfd f29, 0x150(r1) -/* 8013CD70 00139CD0 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 8013CD74 00139CD4 DB 81 01 40 */ stfd f28, 0x140(r1) -/* 8013CD78 00139CD8 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 8013CD7C 00139CDC DB 61 01 30 */ stfd f27, 0x130(r1) -/* 8013CD80 00139CE0 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 -/* 8013CD84 00139CE4 DB 41 01 20 */ stfd f26, 0x120(r1) -/* 8013CD88 00139CE8 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 -/* 8013CD8C 00139CEC DB 21 01 10 */ stfd f25, 0x110(r1) -/* 8013CD90 00139CF0 F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 -/* 8013CD94 00139CF4 DB 01 01 00 */ stfd f24, 0x100(r1) -/* 8013CD98 00139CF8 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0 -/* 8013CD9C 00139CFC DA E1 00 F0 */ stfd f23, 0xf0(r1) -/* 8013CDA0 00139D00 F2 E1 00 F8 */ psq_st f23, 248(r1), 0, qr0 -/* 8013CDA4 00139D04 DA C1 00 E0 */ stfd f22, 0xe0(r1) -/* 8013CDA8 00139D08 F2 C1 00 E8 */ psq_st f22, 232(r1), 0, qr0 -/* 8013CDAC 00139D0C DA A1 00 D0 */ stfd f21, 0xd0(r1) -/* 8013CDB0 00139D10 F2 A1 00 D8 */ psq_st f21, 216(r1), 0, qr0 -/* 8013CDB4 00139D14 DA 81 00 C0 */ stfd f20, 0xc0(r1) -/* 8013CDB8 00139D18 F2 81 00 C8 */ psq_st f20, 200(r1), 0, qr0 -/* 8013CDBC 00139D1C DA 61 00 B0 */ stfd f19, 0xb0(r1) -/* 8013CDC0 00139D20 F2 61 00 B8 */ psq_st f19, 184(r1), 0, qr0 -/* 8013CDC4 00139D24 DA 41 00 A0 */ stfd f18, 0xa0(r1) -/* 8013CDC8 00139D28 F2 41 00 A8 */ psq_st f18, 168(r1), 0, qr0 -/* 8013CDCC 00139D2C DA 21 00 90 */ stfd f17, 0x90(r1) -/* 8013CDD0 00139D30 F2 21 00 98 */ psq_st f17, 152(r1), 0, qr0 -/* 8013CDD4 00139D34 DA 01 00 80 */ stfd f16, 0x80(r1) -/* 8013CDD8 00139D38 F2 01 00 88 */ psq_st f16, 136(r1), 0, qr0 -/* 8013CDDC 00139D3C BF 21 00 64 */ stmw r25, 0x64(r1) -/* 8013CDE0 00139D40 FF C0 08 90 */ fmr f30, f1 -/* 8013CDE4 00139D44 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013CDE8 00139D48 FF E0 10 90 */ fmr f31, f2 -/* 8013CDEC 00139D4C 7C 79 1B 78 */ mr r25, r3 -/* 8013CDF0 00139D50 7C 9A 23 78 */ mr r26, r4 -/* 8013CDF4 00139D54 7C BF 2B 78 */ mr r31, r5 -/* 8013CDF8 00139D58 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8013CDFC 00139D5C 7C DB 33 78 */ mr r27, r6 -/* 8013CE00 00139D60 7C FC 3B 78 */ mr r28, r7 -/* 8013CE04 00139D64 7D 1D 43 78 */ mr r29, r8 -/* 8013CE08 00139D68 3B C0 00 00 */ li r30, 0 -/* 8013CE0C 00139D6C 40 81 02 C8 */ ble lbl_8013D0D4 -/* 8013CE10 00139D70 C0 5A 00 04 */ lfs f2, 4(r26) -/* 8013CE14 00139D74 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013CE18 00139D78 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8013CE1C 00139D7C C0 3A 00 00 */ lfs f1, 0(r26) -/* 8013CE20 00139D80 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8013CE24 00139D84 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8013CE28 00139D88 C0 7A 00 08 */ lfs f3, 8(r26) -/* 8013CE2C 00139D8C EC 21 00 28 */ fsubs f1, f1, f0 -/* 8013CE30 00139D90 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8013CE34 00139D94 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8013CE38 00139D98 EC 03 00 28 */ fsubs f0, f3, f0 -/* 8013CE3C 00139D9C D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8013CE40 00139DA0 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8013CE44 00139DA4 48 1D 73 BD */ bl __ct__9CVector2fFff -/* 8013CE48 00139DA8 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8013CE4C 00139DAC 7F E3 FB 78 */ mr r3, r31 -/* 8013CE50 00139DB0 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8013CE54 00139DB4 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013CE58 00139DB8 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8013CE5C 00139DBC D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8013CE60 00139DC0 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8013CE64 00139DC4 48 1D 78 95 */ bl CanBeNormalized__9CVector3fCFv -/* 8013CE68 00139DC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013CE6C 00139DCC 41 82 02 48 */ beq lbl_8013D0B4 -/* 8013CE70 00139DD0 38 61 00 54 */ addi r3, r1, 0x54 -/* 8013CE74 00139DD4 48 1D 78 85 */ bl CanBeNormalized__9CVector3fCFv -/* 8013CE78 00139DD8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013CE7C 00139DDC 41 82 02 38 */ beq lbl_8013D0B4 -/* 8013CE80 00139DE0 C3 1A 00 00 */ lfs f24, 0(r26) -/* 8013CE84 00139DE4 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013CE88 00139DE8 C0 19 00 00 */ lfs f0, 0(r25) -/* 8013CE8C 00139DEC C2 FA 00 04 */ lfs f23, 4(r26) -/* 8013CE90 00139DF0 C0 59 00 04 */ lfs f2, 4(r25) -/* 8013CE94 00139DF4 EC 18 00 28 */ fsubs f0, f24, f0 -/* 8013CE98 00139DF8 C2 DA 00 08 */ lfs f22, 8(r26) -/* 8013CE9C 00139DFC C0 39 00 08 */ lfs f1, 8(r25) -/* 8013CEA0 00139E00 EC 57 10 28 */ fsubs f2, f23, f2 -/* 8013CEA4 00139E04 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8013CEA8 00139E08 EC 16 08 28 */ fsubs f0, f22, f1 -/* 8013CEAC 00139E0C C2 BF 00 00 */ lfs f21, 0(r31) -/* 8013CEB0 00139E10 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8013CEB4 00139E14 C2 9F 00 04 */ lfs f20, 4(r31) -/* 8013CEB8 00139E18 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8013CEBC 00139E1C C2 7F 00 08 */ lfs f19, 8(r31) -/* 8013CEC0 00139E20 48 1D 79 F9 */ bl Magnitude__9CVector3fCFv -/* 8013CEC4 00139E24 EC 01 F0 24 */ fdivs f0, f1, f30 -/* 8013CEC8 00139E28 C2 42 9A B8 */ lfs f18, lbl_805AB7D8@sda21(r2) -/* 8013CECC 00139E2C C2 22 9A BC */ lfs f17, lbl_805AB7DC@sda21(r2) -/* 8013CED0 00139E30 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013CED4 00139E34 38 81 00 54 */ addi r4, r1, 0x54 -/* 8013CED8 00139E38 EE 00 90 28 */ fsubs f16, f0, f18 -/* 8013CEDC 00139E3C 48 1D 79 75 */ bl AsNormalized__9CVector3fCFv -/* 8013CEE0 00139E40 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8013CEE4 00139E44 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 8013CEE8 00139E48 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l -/* 8013CEEC 00139E4C C1 01 00 30 */ lfs f8, 0x30(r1) -/* 8013CEF0 00139E50 C0 BF 00 08 */ lfs f5, 8(r31) -/* 8013CEF4 00139E54 EC 14 01 B2 */ fmuls f0, f20, f6 -/* 8013CEF8 00139E58 C1 3F 00 00 */ lfs f9, 0(r31) -/* 8013CEFC 00139E5C EC 25 02 32 */ fmuls f1, f5, f8 -/* 8013CF00 00139E60 C0 E1 00 38 */ lfs f7, 0x38(r1) -/* 8013CF04 00139E64 C0 9F 00 04 */ lfs f4, 4(r31) -/* 8013CF08 00139E68 EC 69 01 B2 */ fmuls f3, f9, f6 -/* 8013CF0C 00139E6C EC 15 02 3A */ fmadds f0, f21, f8, f0 -/* 8013CF10 00139E70 C3 A2 9A C4 */ lfs f29, lbl_805AB7E4@sda21(r2) -/* 8013CF14 00139E74 EC 44 01 F2 */ fmuls f2, f4, f7 -/* 8013CF18 00139E78 C3 62 9A C0 */ lfs f27, lbl_805AB7E0@sda21(r2) -/* 8013CF1C 00139E7C EC 27 0A 78 */ fmsubs f1, f7, f9, f1 -/* 8013CF20 00139E80 C3 82 9A B8 */ lfs f28, lbl_805AB7D8@sda21(r2) -/* 8013CF24 00139E84 EC 68 19 38 */ fmsubs f3, f8, f4, f3 -/* 8013CF28 00139E88 EC 46 11 78 */ fmsubs f2, f6, f5, f2 -/* 8013CF2C 00139E8C EC 34 00 72 */ fmuls f1, f20, f1 -/* 8013CF30 00139E90 EF 33 01 FA */ fmadds f25, f19, f7, f0 -/* 8013CF34 00139E94 EC 15 08 BA */ fmadds f0, f21, f2, f1 -/* 8013CF38 00139E98 EF 53 00 FA */ fmadds f26, f19, f3, f0 -/* 8013CF3C 00139E9C 48 00 01 64 */ b lbl_8013D0A0 -lbl_8013CF40: -/* 8013CF40 00139EA0 EC 10 F8 28 */ fsubs f0, f16, f31 -/* 8013CF44 00139EA4 FC 00 02 10 */ fabs f0, f0 -/* 8013CF48 00139EA8 FC 00 D8 40 */ fcmpo cr0, f0, f27 -/* 8013CF4C 00139EAC 41 80 00 0C */ blt lbl_8013CF58 -/* 8013CF50 00139EB0 FC 10 E0 40 */ fcmpo cr0, f16, f28 -/* 8013CF54 00139EB4 40 80 00 18 */ bge lbl_8013CF6C -lbl_8013CF58: -/* 8013CF58 00139EB8 D3 1D 00 00 */ stfs f24, 0(r29) -/* 8013CF5C 00139EBC 3B C0 00 01 */ li r30, 1 -/* 8013CF60 00139EC0 D2 FD 00 04 */ stfs f23, 4(r29) -/* 8013CF64 00139EC4 D2 DD 00 08 */ stfs f22, 8(r29) -/* 8013CF68 00139EC8 48 00 01 6C */ b lbl_8013D0D4 -lbl_8013CF6C: -/* 8013CF6C 00139ECC EC BF 05 72 */ fmuls f5, f31, f21 -/* 8013CF70 00139ED0 C0 59 00 04 */ lfs f2, 4(r25) -/* 8013CF74 00139ED4 EC 9F 05 32 */ fmuls f4, f31, f20 -/* 8013CF78 00139ED8 C0 39 00 08 */ lfs f1, 8(r25) -/* 8013CF7C 00139EDC EC 7F 04 F2 */ fmuls f3, f31, f19 -/* 8013CF80 00139EE0 C0 19 00 00 */ lfs f0, 0(r25) -/* 8013CF84 00139EE4 EF 18 28 2A */ fadds f24, f24, f5 -/* 8013CF88 00139EE8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013CF8C 00139EEC EE F7 20 2A */ fadds f23, f23, f4 -/* 8013CF90 00139EF0 EE D6 18 2A */ fadds f22, f22, f3 -/* 8013CF94 00139EF4 EC 18 00 28 */ fsubs f0, f24, f0 -/* 8013CF98 00139EF8 EC 57 10 28 */ fsubs f2, f23, f2 -/* 8013CF9C 00139EFC EC 36 08 28 */ fsubs f1, f22, f1 -/* 8013CFA0 00139F00 FE 20 80 90 */ fmr f17, f16 -/* 8013CFA4 00139F04 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8013CFA8 00139F08 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8013CFAC 00139F0C D0 21 00 50 */ stfs f1, 0x50(r1) -/* 8013CFB0 00139F10 48 1D 79 09 */ bl Magnitude__9CVector3fCFv -/* 8013CFB4 00139F14 EC 81 F0 24 */ fdivs f4, f1, f30 -/* 8013CFB8 00139F18 C0 3C 00 04 */ lfs f1, 4(r28) -/* 8013CFBC 00139F1C C0 1C 00 00 */ lfs f0, 0(r28) -/* 8013CFC0 00139F20 38 61 00 08 */ addi r3, r1, 8 -/* 8013CFC4 00139F24 C0 7C 00 08 */ lfs f3, 8(r28) -/* 8013CFC8 00139F28 EC 57 08 28 */ fsubs f2, f23, f1 -/* 8013CFCC 00139F2C EC 38 00 28 */ fsubs f1, f24, f0 -/* 8013CFD0 00139F30 EE 52 F8 2A */ fadds f18, f18, f31 -/* 8013CFD4 00139F34 EC 16 18 28 */ fsubs f0, f22, f3 -/* 8013CFD8 00139F38 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8013CFDC 00139F3C EE 04 90 28 */ fsubs f16, f4, f18 -/* 8013CFE0 00139F40 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8013CFE4 00139F44 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8013CFE8 00139F48 48 1D 72 19 */ bl __ct__9CVector2fFff -/* 8013CFEC 00139F4C C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8013CFF0 00139F50 38 61 00 54 */ addi r3, r1, 0x54 -/* 8013CFF4 00139F54 C0 01 00 08 */ lfs f0, 8(r1) -/* 8013CFF8 00139F58 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8013CFFC 00139F5C D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8013D000 00139F60 D3 81 00 5C */ stfs f28, 0x5c(r1) -/* 8013D004 00139F64 48 1D 76 F5 */ bl CanBeNormalized__9CVector3fCFv -/* 8013D008 00139F68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013D00C 00139F6C 41 82 00 C8 */ beq lbl_8013D0D4 -/* 8013D010 00139F70 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013D014 00139F74 38 81 00 54 */ addi r4, r1, 0x54 -/* 8013D018 00139F78 48 1D 78 39 */ bl AsNormalized__9CVector3fCFv -/* 8013D01C 00139F7C C1 61 00 1C */ lfs f11, 0x1c(r1) -/* 8013D020 00139F80 C1 81 00 20 */ lfs f12, 0x20(r1) -/* 8013D024 00139F84 C1 3F 00 04 */ lfs f9, 4(r31) -/* 8013D028 00139F88 EC 79 02 F2 */ fmuls f3, f25, f11 -/* 8013D02C 00139F8C C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8013D030 00139F90 EC 39 03 32 */ fmuls f1, f25, f12 -/* 8013D034 00139F94 C0 BF 00 08 */ lfs f5, 8(r31) -/* 8013D038 00139F98 EC 89 03 32 */ fmuls f4, f9, f12 -/* 8013D03C 00139F9C C1 5F 00 00 */ lfs f10, 0(r31) -/* 8013D040 00139FA0 EC 45 00 32 */ fmuls f2, f5, f0 -/* 8013D044 00139FA4 C0 FB 00 00 */ lfs f7, 0(r27) -/* 8013D048 00139FA8 ED 0A 02 F2 */ fmuls f8, f10, f11 -/* 8013D04C 00139FAC C0 DB 00 04 */ lfs f6, 4(r27) -/* 8013D050 00139FB0 EC AB 21 78 */ fmsubs f5, f11, f5, f4 -/* 8013D054 00139FB4 C0 9B 00 08 */ lfs f4, 8(r27) -/* 8013D058 00139FB8 ED 20 42 78 */ fmsubs f9, f0, f9, f8 -/* 8013D05C 00139FBC EC 4C 12 B8 */ fmsubs f2, f12, f10, f2 -/* 8013D060 00139FC0 ED 1F 01 F2 */ fmuls f8, f31, f7 -/* 8013D064 00139FC4 EC FF 01 B2 */ fmuls f7, f31, f6 -/* 8013D068 00139FC8 EC DF 01 32 */ fmuls f6, f31, f4 -/* 8013D06C 00139FCC EC 9A 00 B2 */ fmuls f4, f26, f2 -/* 8013D070 00139FD0 EC 5A 02 72 */ fmuls f2, f26, f9 -/* 8013D074 00139FD4 EC BA 01 72 */ fmuls f5, f26, f5 -/* 8013D078 00139FD8 EC 19 00 32 */ fmuls f0, f25, f0 -/* 8013D07C 00139FDC EE BC 40 2A */ fadds f21, f28, f8 -/* 8013D080 00139FE0 EE 9C 38 2A */ fadds f20, f28, f7 -/* 8013D084 00139FE4 EC A5 00 2A */ fadds f5, f5, f0 -/* 8013D088 00139FE8 EC 64 18 2A */ fadds f3, f4, f3 -/* 8013D08C 00139FEC EE 73 30 2A */ fadds f19, f19, f6 -/* 8013D090 00139FF0 EC 02 08 2A */ fadds f0, f2, f1 -/* 8013D094 00139FF4 EE B5 28 2A */ fadds f21, f21, f5 -/* 8013D098 00139FF8 EE 94 18 2A */ fadds f20, f20, f3 -/* 8013D09C 00139FFC EE 73 00 2A */ fadds f19, f19, f0 -lbl_8013D0A0: -/* 8013D0A0 0013A000 FC 10 88 40 */ fcmpo cr0, f16, f17 -/* 8013D0A4 0013A004 40 80 00 30 */ bge lbl_8013D0D4 -/* 8013D0A8 0013A008 FC 12 E8 40 */ fcmpo cr0, f18, f29 -/* 8013D0AC 0013A00C 41 80 FE 94 */ blt lbl_8013CF40 -/* 8013D0B0 0013A010 48 00 00 24 */ b lbl_8013D0D4 -lbl_8013D0B4: -/* 8013D0B4 0013A014 FC 20 F0 90 */ fmr f1, f30 -/* 8013D0B8 0013A018 7F 23 CB 78 */ mr r3, r25 -/* 8013D0BC 0013A01C 7F 44 D3 78 */ mr r4, r26 -/* 8013D0C0 0013A020 7F E5 FB 78 */ mr r5, r31 -/* 8013D0C4 0013A024 7F 66 DB 78 */ mr r6, r27 -/* 8013D0C8 0013A028 7F A7 EB 78 */ mr r7, r29 -/* 8013D0CC 0013A02C 48 00 04 A1 */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f -/* 8013D0D0 0013A030 48 00 00 08 */ b lbl_8013D0D8 -lbl_8013D0D4: -/* 8013D0D4 0013A034 57 C3 06 3E */ clrlwi r3, r30, 0x18 -lbl_8013D0D8: -/* 8013D0D8 0013A038 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 8013D0DC 0013A03C CB E1 01 70 */ lfd f31, 0x170(r1) -/* 8013D0E0 0013A040 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 8013D0E4 0013A044 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 8013D0E8 0013A048 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 8013D0EC 0013A04C CB A1 01 50 */ lfd f29, 0x150(r1) -/* 8013D0F0 0013A050 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 8013D0F4 0013A054 CB 81 01 40 */ lfd f28, 0x140(r1) -/* 8013D0F8 0013A058 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 -/* 8013D0FC 0013A05C CB 61 01 30 */ lfd f27, 0x130(r1) -/* 8013D100 0013A060 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 -/* 8013D104 0013A064 CB 41 01 20 */ lfd f26, 0x120(r1) -/* 8013D108 0013A068 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 -/* 8013D10C 0013A06C CB 21 01 10 */ lfd f25, 0x110(r1) -/* 8013D110 0013A070 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0 -/* 8013D114 0013A074 CB 01 01 00 */ lfd f24, 0x100(r1) -/* 8013D118 0013A078 E2 E1 00 F8 */ psq_l f23, 248(r1), 0, qr0 -/* 8013D11C 0013A07C CA E1 00 F0 */ lfd f23, 0xf0(r1) -/* 8013D120 0013A080 E2 C1 00 E8 */ psq_l f22, 232(r1), 0, qr0 -/* 8013D124 0013A084 CA C1 00 E0 */ lfd f22, 0xe0(r1) -/* 8013D128 0013A088 E2 A1 00 D8 */ psq_l f21, 216(r1), 0, qr0 -/* 8013D12C 0013A08C CA A1 00 D0 */ lfd f21, 0xd0(r1) -/* 8013D130 0013A090 E2 81 00 C8 */ psq_l f20, 200(r1), 0, qr0 -/* 8013D134 0013A094 CA 81 00 C0 */ lfd f20, 0xc0(r1) -/* 8013D138 0013A098 E2 61 00 B8 */ psq_l f19, 184(r1), 0, qr0 -/* 8013D13C 0013A09C CA 61 00 B0 */ lfd f19, 0xb0(r1) -/* 8013D140 0013A0A0 E2 41 00 A8 */ psq_l f18, 168(r1), 0, qr0 -/* 8013D144 0013A0A4 CA 41 00 A0 */ lfd f18, 0xa0(r1) -/* 8013D148 0013A0A8 E2 21 00 98 */ psq_l f17, 152(r1), 0, qr0 -/* 8013D14C 0013A0AC CA 21 00 90 */ lfd f17, 0x90(r1) -/* 8013D150 0013A0B0 E2 01 00 88 */ psq_l f16, 136(r1), 0, qr0 -/* 8013D154 0013A0B4 CA 01 00 80 */ lfd f16, 0x80(r1) -/* 8013D158 0013A0B8 BB 21 00 64 */ lmw r25, 0x64(r1) -/* 8013D15C 0013A0BC 80 01 01 84 */ lwz r0, 0x184(r1) -/* 8013D160 0013A0C0 7C 08 03 A6 */ mtlr r0 -/* 8013D164 0013A0C4 38 21 01 80 */ addi r1, r1, 0x180 -/* 8013D168 0013A0C8 4E 80 00 20 */ blr - -.global ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f -ProjectOrbitalIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f: -/* 8013D16C 0013A0CC 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 8013D170 0013A0D0 7C 08 02 A6 */ mflr r0 -/* 8013D174 0013A0D4 90 01 01 84 */ stw r0, 0x184(r1) -/* 8013D178 0013A0D8 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 8013D17C 0013A0DC F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 8013D180 0013A0E0 DB C1 01 60 */ stfd f30, 0x160(r1) -/* 8013D184 0013A0E4 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 8013D188 0013A0E8 DB A1 01 50 */ stfd f29, 0x150(r1) -/* 8013D18C 0013A0EC F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 8013D190 0013A0F0 DB 81 01 40 */ stfd f28, 0x140(r1) -/* 8013D194 0013A0F4 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 8013D198 0013A0F8 DB 61 01 30 */ stfd f27, 0x130(r1) -/* 8013D19C 0013A0FC F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 -/* 8013D1A0 0013A100 DB 41 01 20 */ stfd f26, 0x120(r1) -/* 8013D1A4 0013A104 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 -/* 8013D1A8 0013A108 DB 21 01 10 */ stfd f25, 0x110(r1) -/* 8013D1AC 0013A10C F3 21 01 18 */ psq_st f25, 280(r1), 0, qr0 -/* 8013D1B0 0013A110 DB 01 01 00 */ stfd f24, 0x100(r1) -/* 8013D1B4 0013A114 F3 01 01 08 */ psq_st f24, 264(r1), 0, qr0 -/* 8013D1B8 0013A118 DA E1 00 F0 */ stfd f23, 0xf0(r1) -/* 8013D1BC 0013A11C F2 E1 00 F8 */ psq_st f23, 248(r1), 0, qr0 -/* 8013D1C0 0013A120 DA C1 00 E0 */ stfd f22, 0xe0(r1) -/* 8013D1C4 0013A124 F2 C1 00 E8 */ psq_st f22, 232(r1), 0, qr0 -/* 8013D1C8 0013A128 DA A1 00 D0 */ stfd f21, 0xd0(r1) -/* 8013D1CC 0013A12C F2 A1 00 D8 */ psq_st f21, 216(r1), 0, qr0 -/* 8013D1D0 0013A130 DA 81 00 C0 */ stfd f20, 0xc0(r1) -/* 8013D1D4 0013A134 F2 81 00 C8 */ psq_st f20, 200(r1), 0, qr0 -/* 8013D1D8 0013A138 DA 61 00 B0 */ stfd f19, 0xb0(r1) -/* 8013D1DC 0013A13C F2 61 00 B8 */ psq_st f19, 184(r1), 0, qr0 -/* 8013D1E0 0013A140 DA 41 00 A0 */ stfd f18, 0xa0(r1) -/* 8013D1E4 0013A144 F2 41 00 A8 */ psq_st f18, 168(r1), 0, qr0 -/* 8013D1E8 0013A148 DA 21 00 90 */ stfd f17, 0x90(r1) -/* 8013D1EC 0013A14C F2 21 00 98 */ psq_st f17, 152(r1), 0, qr0 -/* 8013D1F0 0013A150 DA 01 00 80 */ stfd f16, 0x80(r1) -/* 8013D1F4 0013A154 F2 01 00 88 */ psq_st f16, 136(r1), 0, qr0 -/* 8013D1F8 0013A158 BF 61 00 6C */ stmw r27, 0x6c(r1) -/* 8013D1FC 0013A15C FF C0 08 90 */ fmr f30, f1 -/* 8013D200 0013A160 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013D204 0013A164 FF E0 10 90 */ fmr f31, f2 -/* 8013D208 0013A168 7C 7B 1B 78 */ mr r27, r3 -/* 8013D20C 0013A16C 7C 9C 23 78 */ mr r28, r4 -/* 8013D210 0013A170 7C BF 2B 78 */ mr r31, r5 -/* 8013D214 0013A174 FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 8013D218 0013A178 7C DD 33 78 */ mr r29, r6 -/* 8013D21C 0013A17C 7C FE 3B 78 */ mr r30, r7 -/* 8013D220 0013A180 40 81 02 B4 */ ble lbl_8013D4D4 -/* 8013D224 0013A184 7F E3 FB 78 */ mr r3, r31 -/* 8013D228 0013A188 48 1D 74 D1 */ bl CanBeNormalized__9CVector3fCFv -/* 8013D22C 0013A18C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013D230 0013A190 41 82 02 84 */ beq lbl_8013D4B4 -/* 8013D234 0013A194 C0 5C 00 04 */ lfs f2, 4(r28) -/* 8013D238 0013A198 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013D23C 0013A19C C0 1D 00 04 */ lfs f0, 4(r29) -/* 8013D240 0013A1A0 C0 3C 00 00 */ lfs f1, 0(r28) -/* 8013D244 0013A1A4 EC 42 00 28 */ fsubs f2, f2, f0 -/* 8013D248 0013A1A8 C0 1D 00 00 */ lfs f0, 0(r29) -/* 8013D24C 0013A1AC C0 7C 00 08 */ lfs f3, 8(r28) -/* 8013D250 0013A1B0 EC 21 00 28 */ fsubs f1, f1, f0 -/* 8013D254 0013A1B4 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8013D258 0013A1B8 D0 41 00 40 */ stfs f2, 0x40(r1) -/* 8013D25C 0013A1BC EC 03 00 28 */ fsubs f0, f3, f0 -/* 8013D260 0013A1C0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8013D264 0013A1C4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8013D268 0013A1C8 48 1D 6F 99 */ bl __ct__9CVector2fFff -/* 8013D26C 0013A1CC C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8013D270 0013A1D0 38 61 00 54 */ addi r3, r1, 0x54 -/* 8013D274 0013A1D4 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8013D278 0013A1D8 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013D27C 0013A1DC D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8013D280 0013A1E0 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8013D284 0013A1E4 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 8013D288 0013A1E8 48 1D 74 71 */ bl CanBeNormalized__9CVector3fCFv -/* 8013D28C 0013A1EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013D290 0013A1F0 41 82 02 08 */ beq lbl_8013D498 -/* 8013D294 0013A1F4 C3 3C 00 00 */ lfs f25, 0(r28) -/* 8013D298 0013A1F8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013D29C 0013A1FC C0 1B 00 00 */ lfs f0, 0(r27) -/* 8013D2A0 0013A200 C3 1C 00 04 */ lfs f24, 4(r28) -/* 8013D2A4 0013A204 C0 5B 00 04 */ lfs f2, 4(r27) -/* 8013D2A8 0013A208 EC 19 00 28 */ fsubs f0, f25, f0 -/* 8013D2AC 0013A20C C2 FC 00 08 */ lfs f23, 8(r28) -/* 8013D2B0 0013A210 C0 3B 00 08 */ lfs f1, 8(r27) -/* 8013D2B4 0013A214 EC 58 10 28 */ fsubs f2, f24, f2 -/* 8013D2B8 0013A218 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8013D2BC 0013A21C EC 17 08 28 */ fsubs f0, f23, f1 -/* 8013D2C0 0013A220 C2 DF 00 00 */ lfs f22, 0(r31) -/* 8013D2C4 0013A224 D0 41 00 4C */ stfs f2, 0x4c(r1) -/* 8013D2C8 0013A228 C2 BF 00 04 */ lfs f21, 4(r31) -/* 8013D2CC 0013A22C D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8013D2D0 0013A230 C2 9F 00 08 */ lfs f20, 8(r31) -/* 8013D2D4 0013A234 48 1D 75 E5 */ bl Magnitude__9CVector3fCFv -/* 8013D2D8 0013A238 EC 01 F0 24 */ fdivs f0, f1, f30 -/* 8013D2DC 0013A23C C2 62 9A B8 */ lfs f19, lbl_805AB7D8@sda21(r2) -/* 8013D2E0 0013A240 C2 42 9A BC */ lfs f18, lbl_805AB7DC@sda21(r2) -/* 8013D2E4 0013A244 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013D2E8 0013A248 38 81 00 54 */ addi r4, r1, 0x54 -/* 8013D2EC 0013A24C EE 20 98 28 */ fsubs f17, f0, f19 -/* 8013D2F0 0013A250 48 1D 75 61 */ bl AsNormalized__9CVector3fCFv -/* 8013D2F4 0013A254 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8013D2F8 0013A258 C0 C1 00 34 */ lfs f6, 0x34(r1) -/* 8013D2FC 0013A25C 3B E3 66 F4 */ addi r31, r3, lbl_805A66F4@l -/* 8013D300 0013A260 C1 01 00 30 */ lfs f8, 0x30(r1) -/* 8013D304 0013A264 C0 BF 00 08 */ lfs f5, 8(r31) -/* 8013D308 0013A268 EC 15 01 B2 */ fmuls f0, f21, f6 -/* 8013D30C 0013A26C C1 3F 00 00 */ lfs f9, 0(r31) -/* 8013D310 0013A270 EC 25 02 32 */ fmuls f1, f5, f8 -/* 8013D314 0013A274 C0 E1 00 38 */ lfs f7, 0x38(r1) -/* 8013D318 0013A278 C0 9F 00 04 */ lfs f4, 4(r31) -/* 8013D31C 0013A27C EC 69 01 B2 */ fmuls f3, f9, f6 -/* 8013D320 0013A280 EC 16 02 3A */ fmadds f0, f22, f8, f0 -/* 8013D324 0013A284 C2 02 9A C4 */ lfs f16, lbl_805AB7E4@sda21(r2) -/* 8013D328 0013A288 EC 44 01 F2 */ fmuls f2, f4, f7 -/* 8013D32C 0013A28C C3 82 9A C0 */ lfs f28, lbl_805AB7E0@sda21(r2) -/* 8013D330 0013A290 EC 27 0A 78 */ fmsubs f1, f7, f9, f1 -/* 8013D334 0013A294 C3 A2 9A B8 */ lfs f29, lbl_805AB7D8@sda21(r2) -/* 8013D338 0013A298 EC 68 19 38 */ fmsubs f3, f8, f4, f3 -/* 8013D33C 0013A29C EC 46 11 78 */ fmsubs f2, f6, f5, f2 -/* 8013D340 0013A2A0 EC 35 00 72 */ fmuls f1, f21, f1 -/* 8013D344 0013A2A4 EF 54 01 FA */ fmadds f26, f20, f7, f0 -/* 8013D348 0013A2A8 EC 16 08 BA */ fmadds f0, f22, f2, f1 -/* 8013D34C 0013A2AC EF 74 00 FA */ fmadds f27, f20, f3, f0 -/* 8013D350 0013A2B0 48 00 01 34 */ b lbl_8013D484 -lbl_8013D354: -/* 8013D354 0013A2B4 EC 11 F8 28 */ fsubs f0, f17, f31 -/* 8013D358 0013A2B8 FC 00 02 10 */ fabs f0, f0 -/* 8013D35C 0013A2BC FC 00 E0 40 */ fcmpo cr0, f0, f28 -/* 8013D360 0013A2C0 41 80 00 0C */ blt lbl_8013D36C -/* 8013D364 0013A2C4 FC 11 E8 40 */ fcmpo cr0, f17, f29 -/* 8013D368 0013A2C8 40 80 00 18 */ bge lbl_8013D380 -lbl_8013D36C: -/* 8013D36C 0013A2CC D3 3E 00 00 */ stfs f25, 0(r30) -/* 8013D370 0013A2D0 38 60 00 01 */ li r3, 1 -/* 8013D374 0013A2D4 D3 1E 00 04 */ stfs f24, 4(r30) -/* 8013D378 0013A2D8 D2 FE 00 08 */ stfs f23, 8(r30) -/* 8013D37C 0013A2DC 48 00 01 5C */ b lbl_8013D4D8 -lbl_8013D380: -/* 8013D380 0013A2E0 EC BF 05 B2 */ fmuls f5, f31, f22 -/* 8013D384 0013A2E4 C0 5D 00 04 */ lfs f2, 4(r29) -/* 8013D388 0013A2E8 EC 9F 05 72 */ fmuls f4, f31, f21 -/* 8013D38C 0013A2EC C0 1D 00 00 */ lfs f0, 0(r29) -/* 8013D390 0013A2F0 EC 3F 05 32 */ fmuls f1, f31, f20 -/* 8013D394 0013A2F4 C0 7D 00 08 */ lfs f3, 8(r29) -/* 8013D398 0013A2F8 EF 18 20 2A */ fadds f24, f24, f4 -/* 8013D39C 0013A2FC 38 61 00 08 */ addi r3, r1, 8 -/* 8013D3A0 0013A300 EF 39 28 2A */ fadds f25, f25, f5 -/* 8013D3A4 0013A304 EE F7 08 2A */ fadds f23, f23, f1 -/* 8013D3A8 0013A308 EC 58 10 28 */ fsubs f2, f24, f2 -/* 8013D3AC 0013A30C EC 39 00 28 */ fsubs f1, f25, f0 -/* 8013D3B0 0013A310 EC 17 18 28 */ fsubs f0, f23, f3 -/* 8013D3B4 0013A314 FE 40 88 90 */ fmr f18, f17 -/* 8013D3B8 0013A318 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 8013D3BC 0013A31C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8013D3C0 0013A320 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8013D3C4 0013A324 48 1D 6E 3D */ bl __ct__9CVector2fFff -/* 8013D3C8 0013A328 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8013D3CC 0013A32C 38 61 00 54 */ addi r3, r1, 0x54 -/* 8013D3D0 0013A330 C0 01 00 08 */ lfs f0, 8(r1) -/* 8013D3D4 0013A334 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 8013D3D8 0013A338 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8013D3DC 0013A33C D3 A1 00 5C */ stfs f29, 0x5c(r1) -/* 8013D3E0 0013A340 48 1D 73 19 */ bl CanBeNormalized__9CVector3fCFv -/* 8013D3E4 0013A344 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013D3E8 0013A348 41 82 00 EC */ beq lbl_8013D4D4 -/* 8013D3EC 0013A34C 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013D3F0 0013A350 38 81 00 54 */ addi r4, r1, 0x54 -/* 8013D3F4 0013A354 48 1D 74 5D */ bl AsNormalized__9CVector3fCFv -/* 8013D3F8 0013A358 C1 61 00 1C */ lfs f11, 0x1c(r1) -/* 8013D3FC 0013A35C 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013D400 0013A360 C1 81 00 20 */ lfs f12, 0x20(r1) -/* 8013D404 0013A364 C1 1F 00 04 */ lfs f8, 4(r31) -/* 8013D408 0013A368 EC 9A 02 F2 */ fmuls f4, f26, f11 -/* 8013D40C 0013A36C C1 21 00 18 */ lfs f9, 0x18(r1) -/* 8013D410 0013A370 EC 7A 03 32 */ fmuls f3, f26, f12 -/* 8013D414 0013A374 C0 DF 00 08 */ lfs f6, 8(r31) -/* 8013D418 0013A378 EC 08 03 32 */ fmuls f0, f8, f12 -/* 8013D41C 0013A37C C1 5F 00 00 */ lfs f10, 0(r31) -/* 8013D420 0013A380 EC A6 02 72 */ fmuls f5, f6, f9 -/* 8013D424 0013A384 C0 5B 00 04 */ lfs f2, 4(r27) -/* 8013D428 0013A388 EC EA 02 F2 */ fmuls f7, f10, f11 -/* 8013D42C 0013A38C C0 3B 00 08 */ lfs f1, 8(r27) -/* 8013D430 0013A390 EC CB 01 B8 */ fmsubs f6, f11, f6, f0 -/* 8013D434 0013A394 C0 1B 00 00 */ lfs f0, 0(r27) -/* 8013D438 0013A398 EC E9 3A 38 */ fmsubs f7, f9, f8, f7 -/* 8013D43C 0013A39C EC AC 2A B8 */ fmsubs f5, f12, f10, f5 -/* 8013D440 0013A3A0 ED 18 10 28 */ fsubs f8, f24, f2 -/* 8013D444 0013A3A4 EC 5B 01 F2 */ fmuls f2, f27, f7 -/* 8013D448 0013A3A8 EC BB 01 72 */ fmuls f5, f27, f5 -/* 8013D44C 0013A3AC EC F7 08 28 */ fsubs f7, f23, f1 -/* 8013D450 0013A3B0 D1 01 00 4C */ stfs f8, 0x4c(r1) -/* 8013D454 0013A3B4 EC 19 00 28 */ fsubs f0, f25, f0 -/* 8013D458 0013A3B8 EC DB 01 B2 */ fmuls f6, f27, f6 -/* 8013D45C 0013A3BC EC 3A 02 72 */ fmuls f1, f26, f9 -/* 8013D460 0013A3C0 D0 E1 00 50 */ stfs f7, 0x50(r1) -/* 8013D464 0013A3C4 EE A5 20 2A */ fadds f21, f5, f4 -/* 8013D468 0013A3C8 EE 82 18 2A */ fadds f20, f2, f3 -/* 8013D46C 0013A3CC D0 01 00 48 */ stfs f0, 0x48(r1) -/* 8013D470 0013A3D0 EE C6 08 2A */ fadds f22, f6, f1 -/* 8013D474 0013A3D4 48 1D 74 45 */ bl Magnitude__9CVector3fCFv -/* 8013D478 0013A3D8 EC 01 F0 24 */ fdivs f0, f1, f30 -/* 8013D47C 0013A3DC EE 73 F8 2A */ fadds f19, f19, f31 -/* 8013D480 0013A3E0 EE 20 98 28 */ fsubs f17, f0, f19 -lbl_8013D484: -/* 8013D484 0013A3E4 FC 11 90 40 */ fcmpo cr0, f17, f18 -/* 8013D488 0013A3E8 40 80 00 4C */ bge lbl_8013D4D4 -/* 8013D48C 0013A3EC FC 13 80 40 */ fcmpo cr0, f19, f16 -/* 8013D490 0013A3F0 41 80 FE C4 */ blt lbl_8013D354 -/* 8013D494 0013A3F4 48 00 00 40 */ b lbl_8013D4D4 -lbl_8013D498: -/* 8013D498 0013A3F8 FC 20 F0 90 */ fmr f1, f30 -/* 8013D49C 0013A3FC 7F 63 DB 78 */ mr r3, r27 -/* 8013D4A0 0013A400 7F 84 E3 78 */ mr r4, r28 -/* 8013D4A4 0013A404 7F E5 FB 78 */ mr r5, r31 -/* 8013D4A8 0013A408 7F C6 F3 78 */ mr r6, r30 -/* 8013D4AC 0013A40C 48 00 03 CD */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f -/* 8013D4B0 0013A410 48 00 00 28 */ b lbl_8013D4D8 -lbl_8013D4B4: -/* 8013D4B4 0013A414 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8013D4B8 0013A418 38 60 00 01 */ li r3, 1 -/* 8013D4BC 0013A41C D0 1E 00 00 */ stfs f0, 0(r30) -/* 8013D4C0 0013A420 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8013D4C4 0013A424 D0 1E 00 04 */ stfs f0, 4(r30) -/* 8013D4C8 0013A428 C0 1C 00 08 */ lfs f0, 8(r28) -/* 8013D4CC 0013A42C D0 1E 00 08 */ stfs f0, 8(r30) -/* 8013D4D0 0013A430 48 00 00 08 */ b lbl_8013D4D8 -lbl_8013D4D4: -/* 8013D4D4 0013A434 38 60 00 00 */ li r3, 0 -lbl_8013D4D8: -/* 8013D4D8 0013A438 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 8013D4DC 0013A43C CB E1 01 70 */ lfd f31, 0x170(r1) -/* 8013D4E0 0013A440 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 8013D4E4 0013A444 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 8013D4E8 0013A448 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 8013D4EC 0013A44C CB A1 01 50 */ lfd f29, 0x150(r1) -/* 8013D4F0 0013A450 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 8013D4F4 0013A454 CB 81 01 40 */ lfd f28, 0x140(r1) -/* 8013D4F8 0013A458 E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 -/* 8013D4FC 0013A45C CB 61 01 30 */ lfd f27, 0x130(r1) -/* 8013D500 0013A460 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 -/* 8013D504 0013A464 CB 41 01 20 */ lfd f26, 0x120(r1) -/* 8013D508 0013A468 E3 21 01 18 */ psq_l f25, 280(r1), 0, qr0 -/* 8013D50C 0013A46C CB 21 01 10 */ lfd f25, 0x110(r1) -/* 8013D510 0013A470 E3 01 01 08 */ psq_l f24, 264(r1), 0, qr0 -/* 8013D514 0013A474 CB 01 01 00 */ lfd f24, 0x100(r1) -/* 8013D518 0013A478 E2 E1 00 F8 */ psq_l f23, 248(r1), 0, qr0 -/* 8013D51C 0013A47C CA E1 00 F0 */ lfd f23, 0xf0(r1) -/* 8013D520 0013A480 E2 C1 00 E8 */ psq_l f22, 232(r1), 0, qr0 -/* 8013D524 0013A484 CA C1 00 E0 */ lfd f22, 0xe0(r1) -/* 8013D528 0013A488 E2 A1 00 D8 */ psq_l f21, 216(r1), 0, qr0 -/* 8013D52C 0013A48C CA A1 00 D0 */ lfd f21, 0xd0(r1) -/* 8013D530 0013A490 E2 81 00 C8 */ psq_l f20, 200(r1), 0, qr0 -/* 8013D534 0013A494 CA 81 00 C0 */ lfd f20, 0xc0(r1) -/* 8013D538 0013A498 E2 61 00 B8 */ psq_l f19, 184(r1), 0, qr0 -/* 8013D53C 0013A49C CA 61 00 B0 */ lfd f19, 0xb0(r1) -/* 8013D540 0013A4A0 E2 41 00 A8 */ psq_l f18, 168(r1), 0, qr0 -/* 8013D544 0013A4A4 CA 41 00 A0 */ lfd f18, 0xa0(r1) -/* 8013D548 0013A4A8 E2 21 00 98 */ psq_l f17, 152(r1), 0, qr0 -/* 8013D54C 0013A4AC CA 21 00 90 */ lfd f17, 0x90(r1) -/* 8013D550 0013A4B0 E2 01 00 88 */ psq_l f16, 136(r1), 0, qr0 -/* 8013D554 0013A4B4 CA 01 00 80 */ lfd f16, 0x80(r1) -/* 8013D558 0013A4B8 BB 61 00 6C */ lmw r27, 0x6c(r1) -/* 8013D55C 0013A4BC 80 01 01 84 */ lwz r0, 0x184(r1) -/* 8013D560 0013A4C0 7C 08 03 A6 */ mtlr r0 -/* 8013D564 0013A4C4 38 21 01 80 */ addi r1, r1, 0x180 -/* 8013D568 0013A4C8 4E 80 00 20 */ blr - -.global ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f -ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fRC9CVector3fR9CVector3f: -/* 8013D56C 0013A4CC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8013D570 0013A4D0 7C 08 02 A6 */ mflr r0 -/* 8013D574 0013A4D4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8013D578 0013A4D8 39 21 00 20 */ addi r9, r1, 0x20 -/* 8013D57C 0013A4DC BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8013D580 0013A4E0 7C 9B 23 78 */ mr r27, r4 -/* 8013D584 0013A4E4 38 80 00 00 */ li r4, 0 -/* 8013D588 0013A4E8 7C BC 2B 78 */ mr r28, r5 -/* 8013D58C 0013A4EC 54 80 10 3A */ slwi r0, r4, 2 -/* 8013D590 0013A4F0 7C DD 33 78 */ mr r29, r6 -/* 8013D594 0013A4F4 7D 09 02 15 */ add. r8, r9, r0 -/* 8013D598 0013A4F8 7C FE 3B 78 */ mr r30, r7 -/* 8013D59C 0013A4FC 3B E0 00 00 */ li r31, 0 -/* 8013D5A0 0013A500 C0 5B 00 04 */ lfs f2, 4(r27) -/* 8013D5A4 0013A504 C0 03 00 04 */ lfs f0, 4(r3) -/* 8013D5A8 0013A508 C0 9B 00 00 */ lfs f4, 0(r27) -/* 8013D5AC 0013A50C EC A2 00 28 */ fsubs f5, f2, f0 -/* 8013D5B0 0013A510 C0 03 00 00 */ lfs f0, 0(r3) -/* 8013D5B4 0013A514 C0 7B 00 08 */ lfs f3, 8(r27) -/* 8013D5B8 0013A518 EC E4 00 28 */ fsubs f7, f4, f0 -/* 8013D5BC 0013A51C C0 43 00 08 */ lfs f2, 8(r3) -/* 8013D5C0 0013A520 EC 05 01 72 */ fmuls f0, f5, f5 -/* 8013D5C4 0013A524 EC C3 10 28 */ fsubs f6, f3, f2 -/* 8013D5C8 0013A528 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8013D5CC 0013A52C EC 07 01 FA */ fmadds f0, f7, f7, f0 -/* 8013D5D0 0013A530 90 81 00 08 */ stw r4, 8(r1) -/* 8013D5D4 0013A534 EC 06 01 BA */ fmadds f0, f6, f6, f0 -/* 8013D5D8 0013A538 41 82 00 08 */ beq lbl_8013D5E0 -/* 8013D5DC 0013A53C D0 08 00 00 */ stfs f0, 0(r8) -lbl_8013D5E0: -/* 8013D5E0 0013A540 C0 1C 00 04 */ lfs f0, 4(r28) -/* 8013D5E4 0013A544 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8013D5E8 0013A548 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8013D5EC 0013A54C C0 5C 00 00 */ lfs f2, 0(r28) -/* 8013D5F0 0013A550 38 63 00 01 */ addi r3, r3, 1 -/* 8013D5F4 0013A554 C0 7C 00 08 */ lfs f3, 8(r28) -/* 8013D5F8 0013A558 54 60 10 3A */ slwi r0, r3, 2 -/* 8013D5FC 0013A55C C0 82 9A C8 */ lfs f4, lbl_805AB7E8@sda21(r2) -/* 8013D600 0013A560 EC 07 00 BA */ fmadds f0, f7, f2, f0 -/* 8013D604 0013A564 7C 89 02 15 */ add. r4, r9, r0 -/* 8013D608 0013A568 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8013D60C 0013A56C EC 06 00 FA */ fmadds f0, f6, f3, f0 -/* 8013D610 0013A570 EC 04 00 32 */ fmuls f0, f4, f0 -/* 8013D614 0013A574 41 82 00 08 */ beq lbl_8013D61C -/* 8013D618 0013A578 D0 04 00 00 */ stfs f0, 0(r4) -lbl_8013D61C: -/* 8013D61C 0013A57C C0 7C 00 00 */ lfs f3, 0(r28) -/* 8013D620 0013A580 C0 5C 00 04 */ lfs f2, 4(r28) -/* 8013D624 0013A584 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8013D628 0013A588 EC 83 00 F2 */ fmuls f4, f3, f3 -/* 8013D62C 0013A58C EC 62 00 B2 */ fmuls f3, f2, f2 -/* 8013D630 0013A590 C1 1C 00 08 */ lfs f8, 8(r28) -/* 8013D634 0013A594 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8013D638 0013A598 C0 5D 00 00 */ lfs f2, 0(r29) -/* 8013D63C 0013A59C EC A8 02 32 */ fmuls f5, f8, f8 -/* 8013D640 0013A5A0 EC 64 18 2A */ fadds f3, f4, f3 -/* 8013D644 0013A5A4 EC 07 00 BA */ fmadds f0, f7, f2, f0 -/* 8013D648 0013A5A8 C0 5D 00 08 */ lfs f2, 8(r29) -/* 8013D64C 0013A5AC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8013D650 0013A5B0 EC 65 18 2A */ fadds f3, f5, f3 -/* 8013D654 0013A5B4 EC 06 00 BA */ fmadds f0, f6, f2, f0 -/* 8013D658 0013A5B8 38 63 00 01 */ addi r3, r3, 1 -/* 8013D65C 0013A5BC 54 60 10 3A */ slwi r0, r3, 2 -/* 8013D660 0013A5C0 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8013D664 0013A5C4 7C 69 02 15 */ add. r3, r9, r0 -/* 8013D668 0013A5C8 EC 03 00 2A */ fadds f0, f3, f0 -/* 8013D66C 0013A5CC EC 01 00 7C */ fnmsubs f0, f1, f1, f0 -/* 8013D670 0013A5D0 41 82 00 08 */ beq lbl_8013D678 -/* 8013D674 0013A5D4 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013D678: -/* 8013D678 0013A5D8 C0 3C 00 04 */ lfs f1, 4(r28) -/* 8013D67C 0013A5DC C0 1D 00 04 */ lfs f0, 4(r29) -/* 8013D680 0013A5E0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8013D684 0013A5E4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 8013D688 0013A5E8 C0 5C 00 00 */ lfs f2, 0(r28) -/* 8013D68C 0013A5EC C0 3D 00 00 */ lfs f1, 0(r29) -/* 8013D690 0013A5F0 38 63 00 01 */ addi r3, r3, 1 -/* 8013D694 0013A5F4 54 60 10 3A */ slwi r0, r3, 2 -/* 8013D698 0013A5F8 C0 7C 00 08 */ lfs f3, 8(r28) -/* 8013D69C 0013A5FC EC 02 00 7A */ fmadds f0, f2, f1, f0 -/* 8013D6A0 0013A600 C0 3D 00 08 */ lfs f1, 8(r29) -/* 8013D6A4 0013A604 7C 89 02 15 */ add. r4, r9, r0 -/* 8013D6A8 0013A608 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8013D6AC 0013A60C EC 03 00 7A */ fmadds f0, f3, f1, f0 -/* 8013D6B0 0013A610 41 82 00 08 */ beq lbl_8013D6B8 -/* 8013D6B4 0013A614 D0 04 00 00 */ stfs f0, 0(r4) -lbl_8013D6B8: -/* 8013D6B8 0013A618 C0 3D 00 00 */ lfs f1, 0(r29) -/* 8013D6BC 0013A61C C0 1D 00 04 */ lfs f0, 4(r29) -/* 8013D6C0 0013A620 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8013D6C4 0013A624 C0 5D 00 08 */ lfs f2, 8(r29) -/* 8013D6C8 0013A628 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8013D6CC 0013A62C 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8013D6D0 0013A630 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8013D6D4 0013A634 C0 62 9A CC */ lfs f3, lbl_805AB7EC@sda21(r2) -/* 8013D6D8 0013A638 EC 01 00 2A */ fadds f0, f1, f0 -/* 8013D6DC 0013A63C 38 63 00 01 */ addi r3, r3, 1 -/* 8013D6E0 0013A640 54 60 10 3A */ slwi r0, r3, 2 -/* 8013D6E4 0013A644 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8013D6E8 0013A648 7C 69 02 15 */ add. r3, r9, r0 -/* 8013D6EC 0013A64C EC 02 00 2A */ fadds f0, f2, f0 -/* 8013D6F0 0013A650 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8013D6F4 0013A654 41 82 00 08 */ beq lbl_8013D6FC -/* 8013D6F8 0013A658 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013D6FC: -/* 8013D6FC 0013A65C 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8013D700 0013A660 38 61 00 1C */ addi r3, r1, 0x1c -/* 8013D704 0013A664 38 81 00 08 */ addi r4, r1, 8 -/* 8013D708 0013A668 38 05 00 01 */ addi r0, r5, 1 -/* 8013D70C 0013A66C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8013D710 0013A670 48 00 02 75 */ bl "SolveQuartic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" -/* 8013D714 0013A674 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013D718 0013A678 41 82 00 A4 */ beq lbl_8013D7BC -/* 8013D71C 0013A67C C0 E2 9A B8 */ lfs f7, lbl_805AB7D8@sda21(r2) -/* 8013D720 0013A680 38 61 00 0C */ addi r3, r1, 0xc -/* 8013D724 0013A684 38 80 00 00 */ li r4, 0 -/* 8013D728 0013A688 48 00 00 88 */ b lbl_8013D7B0 -lbl_8013D72C: -/* 8013D72C 0013A68C C1 03 00 00 */ lfs f8, 0(r3) -/* 8013D730 0013A690 FC 08 38 40 */ fcmpo cr0, f8, f7 -/* 8013D734 0013A694 40 81 00 74 */ ble lbl_8013D7A8 -/* 8013D738 0013A698 C0 22 9A D0 */ lfs f1, lbl_805AB7F0@sda21(r2) -/* 8013D73C 0013A69C 3B E0 00 01 */ li r31, 1 -/* 8013D740 0013A6A0 C0 1C 00 00 */ lfs f0, 0(r28) -/* 8013D744 0013A6A4 EC 81 02 32 */ fmuls f4, f1, f8 -/* 8013D748 0013A6A8 C0 7C 00 04 */ lfs f3, 4(r28) -/* 8013D74C 0013A6AC C0 5C 00 08 */ lfs f2, 8(r28) -/* 8013D750 0013A6B0 EC 08 00 32 */ fmuls f0, f8, f0 -/* 8013D754 0013A6B4 C0 3B 00 00 */ lfs f1, 0(r27) -/* 8013D758 0013A6B8 EC A8 00 F2 */ fmuls f5, f8, f3 -/* 8013D75C 0013A6BC ED 24 02 32 */ fmuls f9, f4, f8 -/* 8013D760 0013A6C0 C0 7D 00 00 */ lfs f3, 0(r29) -/* 8013D764 0013A6C4 C0 DB 00 04 */ lfs f6, 4(r27) -/* 8013D768 0013A6C8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8013D76C 0013A6CC C0 9D 00 04 */ lfs f4, 4(r29) -/* 8013D770 0013A6D0 EC 48 00 B2 */ fmuls f2, f8, f2 -/* 8013D774 0013A6D4 ED 09 00 F2 */ fmuls f8, f9, f3 -/* 8013D778 0013A6D8 C0 7B 00 08 */ lfs f3, 8(r27) -/* 8013D77C 0013A6DC C0 3D 00 08 */ lfs f1, 8(r29) -/* 8013D780 0013A6E0 EC A6 28 2A */ fadds f5, f6, f5 -/* 8013D784 0013A6E4 EC 89 01 32 */ fmuls f4, f9, f4 -/* 8013D788 0013A6E8 EC 00 40 2A */ fadds f0, f0, f8 -/* 8013D78C 0013A6EC EC 43 10 2A */ fadds f2, f3, f2 -/* 8013D790 0013A6F0 EC 29 00 72 */ fmuls f1, f9, f1 -/* 8013D794 0013A6F4 EC 65 20 2A */ fadds f3, f5, f4 -/* 8013D798 0013A6F8 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8013D79C 0013A6FC EC 02 08 2A */ fadds f0, f2, f1 -/* 8013D7A0 0013A700 D0 7E 00 04 */ stfs f3, 4(r30) -/* 8013D7A4 0013A704 D0 1E 00 08 */ stfs f0, 8(r30) -lbl_8013D7A8: -/* 8013D7A8 0013A708 38 63 00 04 */ addi r3, r3, 4 -/* 8013D7AC 0013A70C 38 84 00 01 */ addi r4, r4, 1 -lbl_8013D7B0: -/* 8013D7B0 0013A710 80 01 00 08 */ lwz r0, 8(r1) -/* 8013D7B4 0013A714 7C 04 00 00 */ cmpw r4, r0 -/* 8013D7B8 0013A718 41 80 FF 74 */ blt lbl_8013D72C -lbl_8013D7BC: -/* 8013D7BC 0013A71C 80 C1 00 08 */ lwz r6, 8(r1) -/* 8013D7C0 0013A720 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 8013D7C4 0013A724 38 80 00 00 */ li r4, 0 -/* 8013D7C8 0013A728 2C 06 00 00 */ cmpwi r6, 0 -/* 8013D7CC 0013A72C 40 81 00 40 */ ble lbl_8013D80C -/* 8013D7D0 0013A730 2C 06 00 08 */ cmpwi r6, 8 -/* 8013D7D4 0013A734 38 A6 FF F8 */ addi r5, r6, -8 -/* 8013D7D8 0013A738 40 81 00 20 */ ble lbl_8013D7F8 -/* 8013D7DC 0013A73C 38 05 00 07 */ addi r0, r5, 7 -/* 8013D7E0 0013A740 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013D7E4 0013A744 7C 09 03 A6 */ mtctr r0 -/* 8013D7E8 0013A748 2C 05 00 00 */ cmpwi r5, 0 -/* 8013D7EC 0013A74C 40 81 00 0C */ ble lbl_8013D7F8 -lbl_8013D7F0: -/* 8013D7F0 0013A750 38 84 00 08 */ addi r4, r4, 8 -/* 8013D7F4 0013A754 42 00 FF FC */ bdnz lbl_8013D7F0 -lbl_8013D7F8: -/* 8013D7F8 0013A758 7C 04 30 50 */ subf r0, r4, r6 -/* 8013D7FC 0013A75C 7C 09 03 A6 */ mtctr r0 -/* 8013D800 0013A760 7C 04 30 00 */ cmpw r4, r6 -/* 8013D804 0013A764 40 80 00 08 */ bge lbl_8013D80C -lbl_8013D808: -/* 8013D808 0013A768 42 00 00 00 */ bdnz lbl_8013D808 -lbl_8013D80C: -/* 8013D80C 0013A76C 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8013D810 0013A770 38 80 00 00 */ li r4, 0 -/* 8013D814 0013A774 90 81 00 08 */ stw r4, 8(r1) -/* 8013D818 0013A778 2C 06 00 00 */ cmpwi r6, 0 -/* 8013D81C 0013A77C 40 81 00 40 */ ble lbl_8013D85C -/* 8013D820 0013A780 2C 06 00 08 */ cmpwi r6, 8 -/* 8013D824 0013A784 38 A6 FF F8 */ addi r5, r6, -8 -/* 8013D828 0013A788 40 81 00 20 */ ble lbl_8013D848 -/* 8013D82C 0013A78C 38 05 00 07 */ addi r0, r5, 7 -/* 8013D830 0013A790 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013D834 0013A794 7C 09 03 A6 */ mtctr r0 -/* 8013D838 0013A798 2C 05 00 00 */ cmpwi r5, 0 -/* 8013D83C 0013A79C 40 81 00 0C */ ble lbl_8013D848 -lbl_8013D840: -/* 8013D840 0013A7A0 38 84 00 08 */ addi r4, r4, 8 -/* 8013D844 0013A7A4 42 00 FF FC */ bdnz lbl_8013D840 -lbl_8013D848: -/* 8013D848 0013A7A8 7C 04 30 50 */ subf r0, r4, r6 -/* 8013D84C 0013A7AC 7C 09 03 A6 */ mtctr r0 -/* 8013D850 0013A7B0 7C 04 30 00 */ cmpw r4, r6 -/* 8013D854 0013A7B4 40 80 00 08 */ bge lbl_8013D85C -lbl_8013D858: -/* 8013D858 0013A7B8 42 00 00 00 */ bdnz lbl_8013D858 -lbl_8013D85C: -/* 8013D85C 0013A7BC 38 00 00 00 */ li r0, 0 -/* 8013D860 0013A7C0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8013D864 0013A7C4 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8013D868 0013A7C8 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8013D86C 0013A7CC 7C 08 03 A6 */ mtlr r0 -/* 8013D870 0013A7D0 38 21 00 50 */ addi r1, r1, 0x50 -/* 8013D874 0013A7D4 4E 80 00 20 */ blr - -.global ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f -ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f: -/* 8013D878 0013A7D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8013D87C 0013A7DC 7C 08 02 A6 */ mflr r0 -/* 8013D880 0013A7E0 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013D884 0013A7E4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013D888 0013A7E8 7C DF 33 78 */ mr r31, r6 -/* 8013D88C 0013A7EC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8013D890 0013A7F0 7C BE 2B 78 */ mr r30, r5 -/* 8013D894 0013A7F4 93 A1 00 14 */ stw r29, 0x14(r1) -/* 8013D898 0013A7F8 7C 9D 23 78 */ mr r29, r4 -/* 8013D89C 0013A7FC C0 44 00 04 */ lfs f2, 4(r4) -/* 8013D8A0 0013A800 38 81 00 08 */ addi r4, r1, 8 -/* 8013D8A4 0013A804 C0 03 00 04 */ lfs f0, 4(r3) -/* 8013D8A8 0013A808 C0 A5 00 04 */ lfs f5, 4(r5) -/* 8013D8AC 0013A80C EC E2 00 28 */ fsubs f7, f2, f0 -/* 8013D8B0 0013A810 C0 DD 00 00 */ lfs f6, 0(r29) -/* 8013D8B4 0013A814 C0 03 00 00 */ lfs f0, 0(r3) -/* 8013D8B8 0013A818 EC 65 01 72 */ fmuls f3, f5, f5 -/* 8013D8BC 0013A81C C0 83 00 08 */ lfs f4, 8(r3) -/* 8013D8C0 0013A820 38 61 00 0C */ addi r3, r1, 0xc -/* 8013D8C4 0013A824 EC 45 01 F2 */ fmuls f2, f5, f7 -/* 8013D8C8 0013A828 C1 25 00 00 */ lfs f9, 0(r5) -/* 8013D8CC 0013A82C ED 06 00 28 */ fsubs f8, f6, f0 -/* 8013D8D0 0013A830 C0 BD 00 08 */ lfs f5, 8(r29) -/* 8013D8D4 0013A834 EC 07 01 F2 */ fmuls f0, f7, f7 -/* 8013D8D8 0013A838 C0 E5 00 08 */ lfs f7, 8(r5) -/* 8013D8DC 0013A83C EC C5 20 28 */ fsubs f6, f5, f4 -/* 8013D8E0 0013A840 C0 82 9A C8 */ lfs f4, lbl_805AB7E8@sda21(r2) -/* 8013D8E4 0013A844 EC 69 1A 7A */ fmadds f3, f9, f9, f3 -/* 8013D8E8 0013A848 EC 49 12 3A */ fmadds f2, f9, f8, f2 -/* 8013D8EC 0013A84C EC 08 02 3A */ fmadds f0, f8, f8, f0 -/* 8013D8F0 0013A850 EC A7 19 FA */ fmadds f5, f7, f7, f3 -/* 8013D8F4 0013A854 EC 47 11 BA */ fmadds f2, f7, f6, f2 -/* 8013D8F8 0013A858 EC 66 01 BA */ fmadds f3, f6, f6, f0 -/* 8013D8FC 0013A85C EC 21 28 7C */ fnmsubs f1, f1, f1, f5 -/* 8013D900 0013A860 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8013D904 0013A864 48 00 0A F1 */ bl SolveQuadratic__18CSteeringBehaviorsFfffRfRf -/* 8013D908 0013A868 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013D90C 0013A86C 41 82 00 58 */ beq lbl_8013D964 -/* 8013D910 0013A870 C0 C1 00 08 */ lfs f6, 8(r1) -/* 8013D914 0013A874 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013D918 0013A878 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 8013D91C 0013A87C 40 81 00 48 */ ble lbl_8013D964 -/* 8013D920 0013A880 C0 1E 00 00 */ lfs f0, 0(r30) -/* 8013D924 0013A884 38 60 00 01 */ li r3, 1 -/* 8013D928 0013A888 C0 7E 00 04 */ lfs f3, 4(r30) -/* 8013D92C 0013A88C EC 06 00 32 */ fmuls f0, f6, f0 -/* 8013D930 0013A890 C0 3D 00 00 */ lfs f1, 0(r29) -/* 8013D934 0013A894 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8013D938 0013A898 EC 86 00 F2 */ fmuls f4, f6, f3 -/* 8013D93C 0013A89C C0 BD 00 04 */ lfs f5, 4(r29) -/* 8013D940 0013A8A0 EC 01 00 2A */ fadds f0, f1, f0 -/* 8013D944 0013A8A4 C0 7D 00 08 */ lfs f3, 8(r29) -/* 8013D948 0013A8A8 EC 26 00 B2 */ fmuls f1, f6, f2 -/* 8013D94C 0013A8AC EC 45 20 2A */ fadds f2, f5, f4 -/* 8013D950 0013A8B0 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8013D954 0013A8B4 EC 03 08 2A */ fadds f0, f3, f1 -/* 8013D958 0013A8B8 D0 5F 00 04 */ stfs f2, 4(r31) -/* 8013D95C 0013A8BC D0 1F 00 08 */ stfs f0, 8(r31) -/* 8013D960 0013A8C0 48 00 00 08 */ b lbl_8013D968 -lbl_8013D964: -/* 8013D964 0013A8C4 38 60 00 00 */ li r3, 0 -lbl_8013D968: -/* 8013D968 0013A8C8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8013D96C 0013A8CC 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013D970 0013A8D0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8013D974 0013A8D4 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 8013D978 0013A8D8 7C 08 03 A6 */ mtlr r0 -/* 8013D97C 0013A8DC 38 21 00 20 */ addi r1, r1, 0x20 -/* 8013D980 0013A8E0 4E 80 00 20 */ blr - -.global "SolveQuartic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" -"SolveQuartic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector": -/* 8013D984 0013A8E4 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8013D988 0013A8E8 7C 08 02 A6 */ mflr r0 -/* 8013D98C 0013A8EC 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8013D990 0013A8F0 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8013D994 0013A8F4 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8013D998 0013A8F8 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8013D99C 0013A8FC F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8013D9A0 0013A900 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8013D9A4 0013A904 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8013D9A8 0013A908 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8013D9AC 0013A90C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 8013D9B0 0013A910 DB 61 00 60 */ stfd f27, 0x60(r1) -/* 8013D9B4 0013A914 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 8013D9B8 0013A918 DB 41 00 50 */ stfd f26, 0x50(r1) -/* 8013D9BC 0013A91C F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 -/* 8013D9C0 0013A920 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8013D9C4 0013A924 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8013D9C8 0013A928 7C 7E 1B 78 */ mr r30, r3 -/* 8013D9CC 0013A92C C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013D9D0 0013A930 C1 63 00 14 */ lfs f11, 0x14(r3) -/* 8013D9D4 0013A934 7C 9F 23 78 */ mr r31, r4 -/* 8013D9D8 0013A938 FC 00 58 00 */ fcmpu cr0, f0, f11 -/* 8013D9DC 0013A93C 40 82 00 F4 */ bne lbl_8013DAD0 -/* 8013D9E0 0013A940 38 60 00 00 */ li r3, 0 -/* 8013D9E4 0013A944 38 81 00 34 */ addi r4, r1, 0x34 -/* 8013D9E8 0013A948 54 60 10 3A */ slwi r0, r3, 2 -/* 8013D9EC 0013A94C 90 61 00 30 */ stw r3, 0x30(r1) -/* 8013D9F0 0013A950 7C 64 02 15 */ add. r3, r4, r0 -/* 8013D9F4 0013A954 41 82 00 0C */ beq lbl_8013DA00 -/* 8013D9F8 0013A958 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8013D9FC 0013A95C D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DA00: -/* 8013DA00 0013A960 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8013DA04 0013A964 38 63 00 01 */ addi r3, r3, 1 -/* 8013DA08 0013A968 54 60 10 3A */ slwi r0, r3, 2 -/* 8013DA0C 0013A96C 90 61 00 30 */ stw r3, 0x30(r1) -/* 8013DA10 0013A970 7C 64 02 15 */ add. r3, r4, r0 -/* 8013DA14 0013A974 41 82 00 0C */ beq lbl_8013DA20 -/* 8013DA18 0013A978 C0 1E 00 08 */ lfs f0, 8(r30) -/* 8013DA1C 0013A97C D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DA20: -/* 8013DA20 0013A980 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8013DA24 0013A984 38 63 00 01 */ addi r3, r3, 1 -/* 8013DA28 0013A988 54 60 10 3A */ slwi r0, r3, 2 -/* 8013DA2C 0013A98C 90 61 00 30 */ stw r3, 0x30(r1) -/* 8013DA30 0013A990 7C 64 02 15 */ add. r3, r4, r0 -/* 8013DA34 0013A994 41 82 00 0C */ beq lbl_8013DA40 -/* 8013DA38 0013A998 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 8013DA3C 0013A99C D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DA40: -/* 8013DA40 0013A9A0 80 61 00 30 */ lwz r3, 0x30(r1) -/* 8013DA44 0013A9A4 38 63 00 01 */ addi r3, r3, 1 -/* 8013DA48 0013A9A8 54 60 10 3A */ slwi r0, r3, 2 -/* 8013DA4C 0013A9AC 90 61 00 30 */ stw r3, 0x30(r1) -/* 8013DA50 0013A9B0 7C 64 02 15 */ add. r3, r4, r0 -/* 8013DA54 0013A9B4 41 82 00 0C */ beq lbl_8013DA60 -/* 8013DA58 0013A9B8 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 8013DA5C 0013A9BC D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DA60: -/* 8013DA60 0013A9C0 80 A1 00 30 */ lwz r5, 0x30(r1) -/* 8013DA64 0013A9C4 7F E4 FB 78 */ mr r4, r31 -/* 8013DA68 0013A9C8 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013DA6C 0013A9CC 38 05 00 01 */ addi r0, r5, 1 -/* 8013DA70 0013A9D0 90 01 00 30 */ stw r0, 0x30(r1) -/* 8013DA74 0013A9D4 48 00 05 81 */ bl "SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" -/* 8013DA78 0013A9D8 80 C1 00 30 */ lwz r6, 0x30(r1) -/* 8013DA7C 0013A9DC 38 80 00 00 */ li r4, 0 -/* 8013DA80 0013A9E0 2C 06 00 00 */ cmpwi r6, 0 -/* 8013DA84 0013A9E4 40 81 00 40 */ ble lbl_8013DAC4 -/* 8013DA88 0013A9E8 2C 06 00 08 */ cmpwi r6, 8 -/* 8013DA8C 0013A9EC 38 A6 FF F8 */ addi r5, r6, -8 -/* 8013DA90 0013A9F0 40 81 00 20 */ ble lbl_8013DAB0 -/* 8013DA94 0013A9F4 38 05 00 07 */ addi r0, r5, 7 -/* 8013DA98 0013A9F8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013DA9C 0013A9FC 7C 09 03 A6 */ mtctr r0 -/* 8013DAA0 0013AA00 2C 05 00 00 */ cmpwi r5, 0 -/* 8013DAA4 0013AA04 40 81 00 0C */ ble lbl_8013DAB0 -lbl_8013DAA8: -/* 8013DAA8 0013AA08 38 84 00 08 */ addi r4, r4, 8 -/* 8013DAAC 0013AA0C 42 00 FF FC */ bdnz lbl_8013DAA8 -lbl_8013DAB0: -/* 8013DAB0 0013AA10 7C 04 30 50 */ subf r0, r4, r6 -/* 8013DAB4 0013AA14 7C 09 03 A6 */ mtctr r0 -/* 8013DAB8 0013AA18 7C 04 30 00 */ cmpw r4, r6 -/* 8013DABC 0013AA1C 40 80 00 08 */ bge lbl_8013DAC4 -lbl_8013DAC0: -/* 8013DAC0 0013AA20 42 00 00 00 */ bdnz lbl_8013DAC0 -lbl_8013DAC4: -/* 8013DAC4 0013AA24 38 00 00 00 */ li r0, 0 -/* 8013DAC8 0013AA28 90 01 00 30 */ stw r0, 0x30(r1) -/* 8013DACC 0013AA2C 48 00 04 E0 */ b lbl_8013DFAC -lbl_8013DAD0: -/* 8013DAD0 0013AA30 C1 22 9A C4 */ lfs f9, lbl_805AB7E4@sda21(r2) -/* 8013DAD4 0013AA34 38 60 00 00 */ li r3, 0 -/* 8013DAD8 0013AA38 C0 DE 00 0C */ lfs f6, 0xc(r30) -/* 8013DADC 0013AA3C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8013DAE0 0013AA40 ED 09 02 F2 */ fmuls f8, f9, f11 -/* 8013DAE4 0013AA44 C1 5E 00 10 */ lfs f10, 0x10(r30) -/* 8013DAE8 0013AA48 C0 62 9A C8 */ lfs f3, lbl_805AB7E8@sda21(r2) -/* 8013DAEC 0013AA4C 54 60 10 3A */ slwi r0, r3, 2 -/* 8013DAF0 0013AA50 C0 5E 00 08 */ lfs f2, 8(r30) -/* 8013DAF4 0013AA54 EC A6 58 24 */ fdivs f5, f6, f11 -/* 8013DAF8 0013AA58 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8013DAFC 0013AA5C 7C 85 02 15 */ add. r4, r5, r0 -/* 8013DB00 0013AA60 C0 22 9A DC */ lfs f1, lbl_805AB7FC@sda21(r2) -/* 8013DB04 0013AA64 C0 82 9A D8 */ lfs f4, lbl_805AB7F8@sda21(r2) -/* 8013DB08 0013AA68 C0 E2 9A D4 */ lfs f7, lbl_805AB7F4@sda21(r2) -/* 8013DB0C 0013AA6C EF CA 40 24 */ fdivs f30, f10, f8 -/* 8013DB10 0013AA70 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8013DB14 0013AA74 EC 63 01 B2 */ fmuls f3, f3, f6 -/* 8013DB18 0013AA78 EC 21 07 B2 */ fmuls f1, f1, f30 -/* 8013DB1C 0013AA7C EC C7 07 B2 */ fmuls f6, f7, f30 -/* 8013DB20 0013AA80 EC 63 58 24 */ fdivs f3, f3, f11 -/* 8013DB24 0013AA84 EC 84 07 B2 */ fmuls f4, f4, f30 -/* 8013DB28 0013AA88 EC 42 58 24 */ fdivs f2, f2, f11 -/* 8013DB2C 0013AA8C EC 21 2F BA */ fmadds f1, f1, f30, f5 -/* 8013DB30 0013AA90 EC 64 1F B8 */ fmsubs f3, f4, f30, f3 -/* 8013DB34 0013AA94 EC 00 58 24 */ fdivs f0, f0, f11 -/* 8013DB38 0013AA98 EC 3E 10 78 */ fmsubs f1, f30, f1, f2 -/* 8013DB3C 0013AA9C EF BE 10 FA */ fmadds f29, f30, f3, f2 -/* 8013DB40 0013AAA0 EF E6 2F BA */ fmadds f31, f6, f30, f5 -/* 8013DB44 0013AAA4 EF 9E 00 7A */ fmadds f28, f30, f1, f0 -/* 8013DB48 0013AAA8 EC 1D 07 72 */ fmuls f0, f29, f29 -/* 8013DB4C 0013AAAC EC 29 07 32 */ fmuls f1, f9, f28 -/* 8013DB50 0013AAB0 EC 01 07 F8 */ fmsubs f0, f1, f31, f0 -/* 8013DB54 0013AAB4 41 82 00 08 */ beq lbl_8013DB5C -/* 8013DB58 0013AAB8 D0 04 00 00 */ stfs f0, 0(r4) -lbl_8013DB5C: -/* 8013DB5C 0013AABC 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8013DB60 0013AAC0 C0 02 9A E0 */ lfs f0, lbl_805AB800@sda21(r2) -/* 8013DB64 0013AAC4 38 63 00 01 */ addi r3, r3, 1 -/* 8013DB68 0013AAC8 54 60 10 3A */ slwi r0, r3, 2 -/* 8013DB6C 0013AACC EC 00 07 32 */ fmuls f0, f0, f28 -/* 8013DB70 0013AAD0 7C 85 02 15 */ add. r4, r5, r0 -/* 8013DB74 0013AAD4 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8013DB78 0013AAD8 41 82 00 08 */ beq lbl_8013DB80 -/* 8013DB7C 0013AADC D0 04 00 00 */ stfs f0, 0(r4) -lbl_8013DB80: -/* 8013DB80 0013AAE0 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8013DB84 0013AAE4 C0 02 9A E4 */ lfs f0, lbl_805AB804@sda21(r2) -/* 8013DB88 0013AAE8 38 63 00 01 */ addi r3, r3, 1 -/* 8013DB8C 0013AAEC 54 60 10 3A */ slwi r0, r3, 2 -/* 8013DB90 0013AAF0 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8013DB94 0013AAF4 7C 85 02 15 */ add. r4, r5, r0 -/* 8013DB98 0013AAF8 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8013DB9C 0013AAFC 41 82 00 08 */ beq lbl_8013DBA4 -/* 8013DBA0 0013AB00 D0 04 00 00 */ stfs f0, 0(r4) -lbl_8013DBA4: -/* 8013DBA4 0013AB04 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8013DBA8 0013AB08 38 63 00 01 */ addi r3, r3, 1 -/* 8013DBAC 0013AB0C 54 60 10 3A */ slwi r0, r3, 2 -/* 8013DBB0 0013AB10 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8013DBB4 0013AB14 7C 65 02 15 */ add. r3, r5, r0 -/* 8013DBB8 0013AB18 41 82 00 0C */ beq lbl_8013DBC4 -/* 8013DBBC 0013AB1C C0 0D 8B 90 */ lfs f0, lbl_805A7750@sda21(r13) -/* 8013DBC0 0013AB20 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DBC4: -/* 8013DBC4 0013AB24 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8013DBC8 0013AB28 38 00 00 00 */ li r0, 0 -/* 8013DBCC 0013AB2C 90 01 00 08 */ stw r0, 8(r1) -/* 8013DBD0 0013AB30 38 61 00 1C */ addi r3, r1, 0x1c -/* 8013DBD4 0013AB34 38 04 00 01 */ addi r0, r4, 1 -/* 8013DBD8 0013AB38 38 81 00 08 */ addi r4, r1, 8 -/* 8013DBDC 0013AB3C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8013DBE0 0013AB40 48 00 04 15 */ bl "SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" -/* 8013DBE4 0013AB44 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013DBE8 0013AB48 41 82 03 10 */ beq lbl_8013DEF8 -/* 8013DBEC 0013AB4C 80 81 00 08 */ lwz r4, 8(r1) -/* 8013DBF0 0013AB50 38 61 00 0C */ addi r3, r1, 0xc -/* 8013DBF4 0013AB54 C0 02 9A C8 */ lfs f0, lbl_805AB7E8@sda21(r2) -/* 8013DBF8 0013AB58 38 04 FF FF */ addi r0, r4, -1 -/* 8013DBFC 0013AB5C 54 00 10 3A */ slwi r0, r0, 2 -/* 8013DC00 0013AB60 7F 63 04 2E */ lfsx f27, r3, r0 -/* 8013DC04 0013AB64 EF 40 FE F8 */ fmsubs f26, f0, f27, f31 -/* 8013DC08 0013AB68 FC 20 D0 90 */ fmr f1, f26 -/* 8013DC0C 0013AB6C 48 1D 78 F5 */ bl SqrtF__5CMathFf -/* 8013DC10 0013AB70 FF E0 08 90 */ fmr f31, f1 -/* 8013DC14 0013AB74 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013DC18 0013AB78 FC 00 F8 00 */ fcmpu cr0, f0, f31 -/* 8013DC1C 0013AB7C 40 82 00 C4 */ bne lbl_8013DCE0 -/* 8013DC20 0013AB80 EC 3B E6 F8 */ fmsubs f1, f27, f27, f28 -/* 8013DC24 0013AB84 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013DC28 0013AB88 40 80 00 B0 */ bge lbl_8013DCD8 -/* 8013DC2C 0013AB8C 80 A1 00 08 */ lwz r5, 8(r1) -/* 8013DC30 0013AB90 38 60 00 00 */ li r3, 0 -/* 8013DC34 0013AB94 2C 05 00 00 */ cmpwi r5, 0 -/* 8013DC38 0013AB98 40 81 00 40 */ ble lbl_8013DC78 -/* 8013DC3C 0013AB9C 2C 05 00 08 */ cmpwi r5, 8 -/* 8013DC40 0013ABA0 38 85 FF F8 */ addi r4, r5, -8 -/* 8013DC44 0013ABA4 40 81 00 20 */ ble lbl_8013DC64 -/* 8013DC48 0013ABA8 38 04 00 07 */ addi r0, r4, 7 -/* 8013DC4C 0013ABAC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013DC50 0013ABB0 7C 09 03 A6 */ mtctr r0 -/* 8013DC54 0013ABB4 2C 04 00 00 */ cmpwi r4, 0 -/* 8013DC58 0013ABB8 40 81 00 0C */ ble lbl_8013DC64 -lbl_8013DC5C: -/* 8013DC5C 0013ABBC 38 63 00 08 */ addi r3, r3, 8 -/* 8013DC60 0013ABC0 42 00 FF FC */ bdnz lbl_8013DC5C -lbl_8013DC64: -/* 8013DC64 0013ABC4 7C 03 28 50 */ subf r0, r3, r5 -/* 8013DC68 0013ABC8 7C 09 03 A6 */ mtctr r0 -/* 8013DC6C 0013ABCC 7C 03 28 00 */ cmpw r3, r5 -/* 8013DC70 0013ABD0 40 80 00 08 */ bge lbl_8013DC78 -lbl_8013DC74: -/* 8013DC74 0013ABD4 42 00 00 00 */ bdnz lbl_8013DC74 -lbl_8013DC78: -/* 8013DC78 0013ABD8 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 8013DC7C 0013ABDC 38 60 00 00 */ li r3, 0 -/* 8013DC80 0013ABE0 90 61 00 08 */ stw r3, 8(r1) -/* 8013DC84 0013ABE4 2C 05 00 00 */ cmpwi r5, 0 -/* 8013DC88 0013ABE8 40 81 00 40 */ ble lbl_8013DCC8 -/* 8013DC8C 0013ABEC 2C 05 00 08 */ cmpwi r5, 8 -/* 8013DC90 0013ABF0 38 85 FF F8 */ addi r4, r5, -8 -/* 8013DC94 0013ABF4 40 81 00 20 */ ble lbl_8013DCB4 -/* 8013DC98 0013ABF8 38 04 00 07 */ addi r0, r4, 7 -/* 8013DC9C 0013ABFC 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013DCA0 0013AC00 7C 09 03 A6 */ mtctr r0 -/* 8013DCA4 0013AC04 2C 04 00 00 */ cmpwi r4, 0 -/* 8013DCA8 0013AC08 40 81 00 0C */ ble lbl_8013DCB4 -lbl_8013DCAC: -/* 8013DCAC 0013AC0C 38 63 00 08 */ addi r3, r3, 8 -/* 8013DCB0 0013AC10 42 00 FF FC */ bdnz lbl_8013DCAC -lbl_8013DCB4: -/* 8013DCB4 0013AC14 7C 03 28 50 */ subf r0, r3, r5 -/* 8013DCB8 0013AC18 7C 09 03 A6 */ mtctr r0 -/* 8013DCBC 0013AC1C 7C 03 28 00 */ cmpw r3, r5 -/* 8013DCC0 0013AC20 40 80 00 08 */ bge lbl_8013DCC8 -lbl_8013DCC4: -/* 8013DCC4 0013AC24 42 00 00 00 */ bdnz lbl_8013DCC4 -lbl_8013DCC8: -/* 8013DCC8 0013AC28 38 00 00 00 */ li r0, 0 -/* 8013DCCC 0013AC2C 38 60 00 00 */ li r3, 0 -/* 8013DCD0 0013AC30 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8013DCD4 0013AC34 48 00 02 D8 */ b lbl_8013DFAC -lbl_8013DCD8: -/* 8013DCD8 0013AC38 48 1D 78 29 */ bl SqrtF__5CMathFf -/* 8013DCDC 0013AC3C 48 00 00 10 */ b lbl_8013DCEC -lbl_8013DCE0: -/* 8013DCE0 0013AC40 C0 02 9A C8 */ lfs f0, lbl_805AB7E8@sda21(r2) -/* 8013DCE4 0013AC44 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8013DCE8 0013AC48 EC 3D 00 24 */ fdivs f1, f29, f0 -lbl_8013DCEC: -/* 8013DCEC 0013AC4C EC 7B 08 2A */ fadds f3, f27, f1 -/* 8013DCF0 0013AC50 C0 82 9A C4 */ lfs f4, lbl_805AB7E4@sda21(r2) -/* 8013DCF4 0013AC54 EC 5B 08 28 */ fsubs f2, f27, f1 -/* 8013DCF8 0013AC58 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013DCFC 0013AC5C EC 24 D0 FC */ fnmsubs f1, f4, f3, f26 -/* 8013DD00 0013AC60 EF 44 D0 BC */ fnmsubs f26, f4, f2, f26 -/* 8013DD04 0013AC64 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013DD08 0013AC68 4C 41 13 82 */ cror 2, 1, 2 -/* 8013DD0C 0013AC6C 40 82 00 68 */ bne lbl_8013DD74 -/* 8013DD10 0013AC70 48 1D 77 F1 */ bl SqrtF__5CMathFf -/* 8013DD14 0013AC74 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013DD18 0013AC78 EC 1F 08 28 */ fsubs f0, f31, f1 -/* 8013DD1C 0013AC7C C0 42 9A D0 */ lfs f2, lbl_805AB7F0@sda21(r2) -/* 8013DD20 0013AC80 54 00 10 3A */ slwi r0, r0, 2 -/* 8013DD24 0013AC84 7C 7F 02 14 */ add r3, r31, r0 -/* 8013DD28 0013AC88 EC 02 F0 38 */ fmsubs f0, f2, f0, f30 -/* 8013DD2C 0013AC8C 34 63 00 04 */ addic. r3, r3, 4 -/* 8013DD30 0013AC90 41 82 00 08 */ beq lbl_8013DD38 -/* 8013DD34 0013AC94 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DD38: -/* 8013DD38 0013AC98 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013DD3C 0013AC9C EC 1F 08 2A */ fadds f0, f31, f1 -/* 8013DD40 0013ACA0 C0 22 9A D0 */ lfs f1, lbl_805AB7F0@sda21(r2) -/* 8013DD44 0013ACA4 38 03 00 01 */ addi r0, r3, 1 -/* 8013DD48 0013ACA8 90 1F 00 00 */ stw r0, 0(r31) -/* 8013DD4C 0013ACAC EC 01 F0 38 */ fmsubs f0, f1, f0, f30 -/* 8013DD50 0013ACB0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013DD54 0013ACB4 54 00 10 3A */ slwi r0, r0, 2 -/* 8013DD58 0013ACB8 7C 7F 02 14 */ add r3, r31, r0 -/* 8013DD5C 0013ACBC 34 63 00 04 */ addic. r3, r3, 4 -/* 8013DD60 0013ACC0 41 82 00 08 */ beq lbl_8013DD68 -/* 8013DD64 0013ACC4 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DD68: -/* 8013DD68 0013ACC8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013DD6C 0013ACCC 38 03 00 01 */ addi r0, r3, 1 -/* 8013DD70 0013ACD0 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013DD74: -/* 8013DD74 0013ACD4 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013DD78 0013ACD8 FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 8013DD7C 0013ACDC 4C 41 13 82 */ cror 2, 1, 2 -/* 8013DD80 0013ACE0 40 82 00 70 */ bne lbl_8013DDF0 -/* 8013DD84 0013ACE4 FC 20 D0 90 */ fmr f1, f26 -/* 8013DD88 0013ACE8 48 1D 77 79 */ bl SqrtF__5CMathFf -/* 8013DD8C 0013ACEC FC 60 F8 50 */ fneg f3, f31 -/* 8013DD90 0013ACF0 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013DD94 0013ACF4 C0 42 9A D0 */ lfs f2, lbl_805AB7F0@sda21(r2) -/* 8013DD98 0013ACF8 54 00 10 3A */ slwi r0, r0, 2 -/* 8013DD9C 0013ACFC EC 03 08 28 */ fsubs f0, f3, f1 -/* 8013DDA0 0013AD00 7C 7F 02 14 */ add r3, r31, r0 -/* 8013DDA4 0013AD04 34 63 00 04 */ addic. r3, r3, 4 -/* 8013DDA8 0013AD08 EC 02 F0 38 */ fmsubs f0, f2, f0, f30 -/* 8013DDAC 0013AD0C 41 82 00 08 */ beq lbl_8013DDB4 -/* 8013DDB0 0013AD10 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DDB4: -/* 8013DDB4 0013AD14 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013DDB8 0013AD18 EC 03 08 2A */ fadds f0, f3, f1 -/* 8013DDBC 0013AD1C C0 22 9A D0 */ lfs f1, lbl_805AB7F0@sda21(r2) -/* 8013DDC0 0013AD20 38 03 00 01 */ addi r0, r3, 1 -/* 8013DDC4 0013AD24 90 1F 00 00 */ stw r0, 0(r31) -/* 8013DDC8 0013AD28 EC 01 F0 38 */ fmsubs f0, f1, f0, f30 -/* 8013DDCC 0013AD2C 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013DDD0 0013AD30 54 00 10 3A */ slwi r0, r0, 2 -/* 8013DDD4 0013AD34 7C 7F 02 14 */ add r3, r31, r0 -/* 8013DDD8 0013AD38 34 63 00 04 */ addic. r3, r3, 4 -/* 8013DDDC 0013AD3C 41 82 00 08 */ beq lbl_8013DDE4 -/* 8013DDE0 0013AD40 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DDE4: -/* 8013DDE4 0013AD44 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013DDE8 0013AD48 38 03 00 01 */ addi r0, r3, 1 -/* 8013DDEC 0013AD4C 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013DDF0: -/* 8013DDF0 0013AD50 C0 A2 9A C8 */ lfs f5, lbl_805AB7E8@sda21(r2) -/* 8013DDF4 0013AD54 38 7F 00 04 */ addi r3, r31, 4 -/* 8013DDF8 0013AD58 C0 82 9A E8 */ lfs f4, lbl_805AB808@sda21(r2) -/* 8013DDFC 0013AD5C 38 80 00 00 */ li r4, 0 -/* 8013DE00 0013AD60 C0 62 9A C4 */ lfs f3, lbl_805AB7E4@sda21(r2) -/* 8013DE04 0013AD64 C0 42 9A B8 */ lfs f2, lbl_805AB7D8@sda21(r2) -/* 8013DE08 0013AD68 48 00 00 64 */ b lbl_8013DE6C -lbl_8013DE0C: -/* 8013DE0C 0013AD6C C0 C3 00 00 */ lfs f6, 0(r3) -/* 8013DE10 0013AD70 C0 3E 00 14 */ lfs f1, 0x14(r30) -/* 8013DE14 0013AD74 EC 03 01 B2 */ fmuls f0, f3, f6 -/* 8013DE18 0013AD78 C0 FE 00 10 */ lfs f7, 0x10(r30) -/* 8013DE1C 0013AD7C C1 1E 00 0C */ lfs f8, 0xc(r30) -/* 8013DE20 0013AD80 C1 3E 00 08 */ lfs f9, 8(r30) -/* 8013DE24 0013AD84 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8013DE28 0013AD88 EC 04 01 FA */ fmadds f0, f4, f7, f0 -/* 8013DE2C 0013AD8C EC 06 00 32 */ fmuls f0, f6, f0 -/* 8013DE30 0013AD90 EC 05 02 3A */ fmadds f0, f5, f8, f0 -/* 8013DE34 0013AD94 EC 06 00 32 */ fmuls f0, f6, f0 -/* 8013DE38 0013AD98 ED 49 00 2A */ fadds f10, f9, f0 -/* 8013DE3C 0013AD9C FC 02 50 00 */ fcmpu cr0, f2, f10 -/* 8013DE40 0013ADA0 41 82 00 24 */ beq lbl_8013DE64 -/* 8013DE44 0013ADA4 EC 26 38 7A */ fmadds f1, f6, f1, f7 -/* 8013DE48 0013ADA8 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8013DE4C 0013ADAC EC 26 40 7A */ fmadds f1, f6, f1, f8 -/* 8013DE50 0013ADB0 EC 26 48 7A */ fmadds f1, f6, f1, f9 -/* 8013DE54 0013ADB4 EC 06 00 7A */ fmadds f0, f6, f1, f0 -/* 8013DE58 0013ADB8 EC 00 50 24 */ fdivs f0, f0, f10 -/* 8013DE5C 0013ADBC EC 06 00 28 */ fsubs f0, f6, f0 -/* 8013DE60 0013ADC0 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013DE64: -/* 8013DE64 0013ADC4 38 63 00 04 */ addi r3, r3, 4 -/* 8013DE68 0013ADC8 38 84 00 01 */ addi r4, r4, 1 -lbl_8013DE6C: -/* 8013DE6C 0013ADCC 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013DE70 0013ADD0 7C 04 00 00 */ cmpw r4, r0 -/* 8013DE74 0013ADD4 41 80 FF 98 */ blt lbl_8013DE0C -/* 8013DE78 0013ADD8 2C 00 00 02 */ cmpwi r0, 2 -/* 8013DE7C 0013ADDC 40 81 00 7C */ ble lbl_8013DEF8 -/* 8013DE80 0013ADE0 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 8013DE84 0013ADE4 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8013DE88 0013ADE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013DE8C 0013ADEC 40 80 00 0C */ bge lbl_8013DE98 -/* 8013DE90 0013ADF0 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8013DE94 0013ADF4 D0 1F 00 0C */ stfs f0, 0xc(r31) -lbl_8013DE98: -/* 8013DE98 0013ADF8 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 8013DE9C 0013ADFC C0 1F 00 08 */ lfs f0, 8(r31) -/* 8013DEA0 0013AE00 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013DEA4 0013AE04 40 80 00 0C */ bge lbl_8013DEB0 -/* 8013DEA8 0013AE08 D0 3F 00 08 */ stfs f1, 8(r31) -/* 8013DEAC 0013AE0C D0 1F 00 10 */ stfs f0, 0x10(r31) -lbl_8013DEB0: -/* 8013DEB0 0013AE10 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8013DEB4 0013AE14 C0 1F 00 04 */ lfs f0, 4(r31) -/* 8013DEB8 0013AE18 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013DEBC 0013AE1C 40 80 00 0C */ bge lbl_8013DEC8 -/* 8013DEC0 0013AE20 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8013DEC4 0013AE24 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_8013DEC8: -/* 8013DEC8 0013AE28 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 8013DECC 0013AE2C C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8013DED0 0013AE30 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013DED4 0013AE34 40 80 00 0C */ bge lbl_8013DEE0 -/* 8013DED8 0013AE38 D0 3F 00 0C */ stfs f1, 0xc(r31) -/* 8013DEDC 0013AE3C D0 1F 00 10 */ stfs f0, 0x10(r31) -lbl_8013DEE0: -/* 8013DEE0 0013AE40 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 8013DEE4 0013AE44 C0 1F 00 08 */ lfs f0, 8(r31) -/* 8013DEE8 0013AE48 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013DEEC 0013AE4C 40 80 00 0C */ bge lbl_8013DEF8 -/* 8013DEF0 0013AE50 D0 3F 00 08 */ stfs f1, 8(r31) -/* 8013DEF4 0013AE54 D0 1F 00 0C */ stfs f0, 0xc(r31) -lbl_8013DEF8: -/* 8013DEF8 0013AE58 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013DEFC 0013AE5C 38 80 00 00 */ li r4, 0 -/* 8013DF00 0013AE60 80 C1 00 08 */ lwz r6, 8(r1) -/* 8013DF04 0013AE64 7C 03 00 D0 */ neg r0, r3 -/* 8013DF08 0013AE68 7C 00 18 78 */ andc r0, r0, r3 -/* 8013DF0C 0013AE6C 2C 06 00 00 */ cmpwi r6, 0 -/* 8013DF10 0013AE70 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8013DF14 0013AE74 40 81 00 40 */ ble lbl_8013DF54 -/* 8013DF18 0013AE78 2C 06 00 08 */ cmpwi r6, 8 -/* 8013DF1C 0013AE7C 38 A6 FF F8 */ addi r5, r6, -8 -/* 8013DF20 0013AE80 40 81 00 20 */ ble lbl_8013DF40 -/* 8013DF24 0013AE84 38 05 00 07 */ addi r0, r5, 7 -/* 8013DF28 0013AE88 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013DF2C 0013AE8C 7C 09 03 A6 */ mtctr r0 -/* 8013DF30 0013AE90 2C 05 00 00 */ cmpwi r5, 0 -/* 8013DF34 0013AE94 40 81 00 0C */ ble lbl_8013DF40 -lbl_8013DF38: -/* 8013DF38 0013AE98 38 84 00 08 */ addi r4, r4, 8 -/* 8013DF3C 0013AE9C 42 00 FF FC */ bdnz lbl_8013DF38 -lbl_8013DF40: -/* 8013DF40 0013AEA0 7C 04 30 50 */ subf r0, r4, r6 -/* 8013DF44 0013AEA4 7C 09 03 A6 */ mtctr r0 -/* 8013DF48 0013AEA8 7C 04 30 00 */ cmpw r4, r6 -/* 8013DF4C 0013AEAC 40 80 00 08 */ bge lbl_8013DF54 -lbl_8013DF50: -/* 8013DF50 0013AEB0 42 00 00 00 */ bdnz lbl_8013DF50 -lbl_8013DF54: -/* 8013DF54 0013AEB4 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8013DF58 0013AEB8 38 80 00 00 */ li r4, 0 -/* 8013DF5C 0013AEBC 90 81 00 08 */ stw r4, 8(r1) -/* 8013DF60 0013AEC0 2C 06 00 00 */ cmpwi r6, 0 -/* 8013DF64 0013AEC4 40 81 00 40 */ ble lbl_8013DFA4 -/* 8013DF68 0013AEC8 2C 06 00 08 */ cmpwi r6, 8 -/* 8013DF6C 0013AECC 38 A6 FF F8 */ addi r5, r6, -8 -/* 8013DF70 0013AED0 40 81 00 20 */ ble lbl_8013DF90 -/* 8013DF74 0013AED4 38 05 00 07 */ addi r0, r5, 7 -/* 8013DF78 0013AED8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013DF7C 0013AEDC 7C 09 03 A6 */ mtctr r0 -/* 8013DF80 0013AEE0 2C 05 00 00 */ cmpwi r5, 0 -/* 8013DF84 0013AEE4 40 81 00 0C */ ble lbl_8013DF90 -lbl_8013DF88: -/* 8013DF88 0013AEE8 38 84 00 08 */ addi r4, r4, 8 -/* 8013DF8C 0013AEEC 42 00 FF FC */ bdnz lbl_8013DF88 -lbl_8013DF90: -/* 8013DF90 0013AEF0 7C 04 30 50 */ subf r0, r4, r6 -/* 8013DF94 0013AEF4 7C 09 03 A6 */ mtctr r0 -/* 8013DF98 0013AEF8 7C 04 30 00 */ cmpw r4, r6 -/* 8013DF9C 0013AEFC 40 80 00 08 */ bge lbl_8013DFA4 -lbl_8013DFA0: -/* 8013DFA0 0013AF00 42 00 00 00 */ bdnz lbl_8013DFA0 -lbl_8013DFA4: -/* 8013DFA4 0013AF04 38 00 00 00 */ li r0, 0 -/* 8013DFA8 0013AF08 90 01 00 1C */ stw r0, 0x1c(r1) -lbl_8013DFAC: -/* 8013DFAC 0013AF0C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8013DFB0 0013AF10 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8013DFB4 0013AF14 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8013DFB8 0013AF18 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8013DFBC 0013AF1C E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8013DFC0 0013AF20 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8013DFC4 0013AF24 E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 8013DFC8 0013AF28 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 8013DFCC 0013AF2C E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 8013DFD0 0013AF30 CB 61 00 60 */ lfd f27, 0x60(r1) -/* 8013DFD4 0013AF34 E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 -/* 8013DFD8 0013AF38 CB 41 00 50 */ lfd f26, 0x50(r1) -/* 8013DFDC 0013AF3C 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8013DFE0 0013AF40 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8013DFE4 0013AF44 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8013DFE8 0013AF48 7C 08 03 A6 */ mtlr r0 -/* 8013DFEC 0013AF4C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8013DFF0 0013AF50 4E 80 00 20 */ blr - -.global "SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector" -"SolveCubic__18CSteeringBehaviorsFRCQ24rstl20reserved_vectorRQ24rstl20reserved_vector": -/* 8013DFF4 0013AF54 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8013DFF8 0013AF58 7C 08 02 A6 */ mflr r0 -/* 8013DFFC 0013AF5C 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 8013E000 0013AF60 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 8013E004 0013AF64 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8013E008 0013AF68 DB C1 00 90 */ stfd f30, 0x90(r1) -/* 8013E00C 0013AF6C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 -/* 8013E010 0013AF70 DB A1 00 80 */ stfd f29, 0x80(r1) -/* 8013E014 0013AF74 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 -/* 8013E018 0013AF78 DB 81 00 70 */ stfd f28, 0x70(r1) -/* 8013E01C 0013AF7C F3 81 00 78 */ psq_st f28, 120(r1), 0, qr0 -/* 8013E020 0013AF80 DB 61 00 60 */ stfd f27, 0x60(r1) -/* 8013E024 0013AF84 F3 61 00 68 */ psq_st f27, 104(r1), 0, qr0 -/* 8013E028 0013AF88 DB 41 00 50 */ stfd f26, 0x50(r1) -/* 8013E02C 0013AF8C F3 41 00 58 */ psq_st f26, 88(r1), 0, qr0 -/* 8013E030 0013AF90 DB 21 00 40 */ stfd f25, 0x40(r1) -/* 8013E034 0013AF94 F3 21 00 48 */ psq_st f25, 72(r1), 0, qr0 -/* 8013E038 0013AF98 DB 01 00 30 */ stfd f24, 0x30(r1) -/* 8013E03C 0013AF9C F3 01 00 38 */ psq_st f24, 56(r1), 0, qr0 -/* 8013E040 0013AFA0 DA E1 00 20 */ stfd f23, 0x20(r1) -/* 8013E044 0013AFA4 F2 E1 00 28 */ psq_st f23, 40(r1), 0, qr0 -/* 8013E048 0013AFA8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013E04C 0013AFAC 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8013E050 0013AFB0 7C 7E 1B 78 */ mr r30, r3 -/* 8013E054 0013AFB4 C0 C2 9A B8 */ lfs f6, lbl_805AB7D8@sda21(r2) -/* 8013E058 0013AFB8 C0 A3 00 10 */ lfs f5, 0x10(r3) -/* 8013E05C 0013AFBC 7C 9F 23 78 */ mr r31, r4 -/* 8013E060 0013AFC0 FC 06 28 00 */ fcmpu cr0, f6, f5 -/* 8013E064 0013AFC4 41 82 02 54 */ beq lbl_8013E2B8 -/* 8013E068 0013AFC8 C0 02 9A E8 */ lfs f0, lbl_805AB808@sda21(r2) -/* 8013E06C 0013AFCC C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 8013E070 0013AFD0 EC 60 01 72 */ fmuls f3, f0, f5 -/* 8013E074 0013AFD4 C0 9E 00 08 */ lfs f4, 8(r30) -/* 8013E078 0013AFD8 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8013E07C 0013AFDC C0 22 9A C8 */ lfs f1, lbl_805AB7E8@sda21(r2) -/* 8013E080 0013AFE0 EF E2 18 24 */ fdivs f31, f2, f3 -/* 8013E084 0013AFE4 C0 42 9A EC */ lfs f2, lbl_805AB80C@sda21(r2) -/* 8013E088 0013AFE8 EC 64 18 24 */ fdivs f3, f4, f3 -/* 8013E08C 0013AFEC EC 1F 01 38 */ fmsubs f0, f31, f4, f0 -/* 8013E090 0013AFF0 EC 21 07 F2 */ fmuls f1, f1, f31 -/* 8013E094 0013AFF4 EC 9F 1F FC */ fnmsubs f4, f31, f31, f3 -/* 8013E098 0013AFF8 EC 00 28 24 */ fdivs f0, f0, f5 -/* 8013E09C 0013AFFC EC 21 07 F2 */ fmuls f1, f1, f31 -/* 8013E0A0 0013B000 EC 64 01 32 */ fmuls f3, f4, f4 -/* 8013E0A4 0013B004 EC 1F 00 78 */ fmsubs f0, f31, f1, f0 -/* 8013E0A8 0013B008 EC 64 00 F2 */ fmuls f3, f4, f3 -/* 8013E0AC 0013B00C EF 02 00 32 */ fmuls f24, f2, f0 -/* 8013E0B0 0013B010 EC 38 1E 3A */ fmadds f1, f24, f24, f3 -/* 8013E0B4 0013B014 FC 01 30 40 */ fcmpo cr0, f1, f6 -/* 8013E0B8 0013B018 40 80 00 FC */ bge lbl_8013E1B4 -/* 8013E0BC 0013B01C FF 40 18 50 */ fneg f26, f3 -/* 8013E0C0 0013B020 FC 20 D0 90 */ fmr f1, f26 -/* 8013E0C4 0013B024 48 1D 74 3D */ bl SqrtF__5CMathFf -/* 8013E0C8 0013B028 EC 18 08 24 */ fdivs f0, f24, f1 -/* 8013E0CC 0013B02C 38 81 00 08 */ addi r4, r1, 8 -/* 8013E0D0 0013B030 38 6D 8B 88 */ addi r3, r13, lbl_805A7748@sda21 -/* 8013E0D4 0013B034 38 AD 8B 8C */ addi r5, r13, lbl_805A774C@sda21 -/* 8013E0D8 0013B038 D0 01 00 08 */ stfs f0, 8(r1) -/* 8013E0DC 0013B03C 4B EC E1 D9 */ bl "Clamp__5CMathFRCfRCfRCf" -/* 8013E0E0 0013B040 C0 23 00 00 */ lfs f1, 0(r3) -/* 8013E0E4 0013B044 D0 21 00 08 */ stfs f1, 8(r1) -/* 8013E0E8 0013B048 48 25 6B 45 */ bl acos -/* 8013E0EC 0013B04C FF 20 08 18 */ frsp f25, f1 -/* 8013E0F0 0013B050 C8 42 9A F0 */ lfd f2, lbl_805AB810@sda21(r2) -/* 8013E0F4 0013B054 FC 20 D0 90 */ fmr f1, f26 -/* 8013E0F8 0013B058 48 25 6B F5 */ bl pow -/* 8013E0FC 0013B05C FC 00 08 18 */ frsp f0, f1 -/* 8013E100 0013B060 C3 42 9A C8 */ lfs f26, lbl_805AB7E8@sda21(r2) -/* 8013E104 0013B064 C2 E2 9A B8 */ lfs f23, lbl_805AB7D8@sda21(r2) -/* 8013E108 0013B068 C3 62 9A F8 */ lfs f27, lbl_805AB818@sda21(r2) -/* 8013E10C 0013B06C EF 1A 00 32 */ fmuls f24, f26, f0 -/* 8013E110 0013B070 C3 82 9A E8 */ lfs f28, lbl_805AB808@sda21(r2) -/* 8013E114 0013B074 C3 A2 9A FC */ lfs f29, lbl_805AB81C@sda21(r2) -/* 8013E118 0013B078 C3 C2 9B 00 */ lfs f30, lbl_805AB820@sda21(r2) -/* 8013E11C 0013B07C 48 00 00 44 */ b lbl_8013E160 -lbl_8013E120: -/* 8013E120 0013B080 EC 1A 05 F2 */ fmuls f0, f26, f23 -/* 8013E124 0013B084 EC 1B C8 3A */ fmadds f0, f27, f0, f25 -/* 8013E128 0013B088 EC 20 E0 24 */ fdivs f1, f0, f28 -/* 8013E12C 0013B08C 48 25 62 C5 */ bl cos -/* 8013E130 0013B090 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013E134 0013B094 FC 00 08 18 */ frsp f0, f1 -/* 8013E138 0013B098 54 00 10 3A */ slwi r0, r0, 2 -/* 8013E13C 0013B09C 7C 7F 02 14 */ add r3, r31, r0 -/* 8013E140 0013B0A0 EC 18 F8 38 */ fmsubs f0, f24, f0, f31 -/* 8013E144 0013B0A4 34 63 00 04 */ addic. r3, r3, 4 -/* 8013E148 0013B0A8 41 82 00 08 */ beq lbl_8013E150 -/* 8013E14C 0013B0AC D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013E150: -/* 8013E150 0013B0B0 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013E154 0013B0B4 EE F7 E8 2A */ fadds f23, f23, f29 -/* 8013E158 0013B0B8 38 03 00 01 */ addi r0, r3, 1 -/* 8013E15C 0013B0BC 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013E160: -/* 8013E160 0013B0C0 FC 17 F0 40 */ fcmpo cr0, f23, f30 -/* 8013E164 0013B0C4 41 80 FF BC */ blt lbl_8013E120 -/* 8013E168 0013B0C8 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8013E16C 0013B0CC C0 1F 00 04 */ lfs f0, 4(r31) -/* 8013E170 0013B0D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013E174 0013B0D4 40 80 00 0C */ bge lbl_8013E180 -/* 8013E178 0013B0D8 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8013E17C 0013B0DC D0 1F 00 08 */ stfs f0, 8(r31) -lbl_8013E180: -/* 8013E180 0013B0E0 C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 8013E184 0013B0E4 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8013E188 0013B0E8 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8013E18C 0013B0EC 40 80 00 0C */ bge lbl_8013E198 -/* 8013E190 0013B0F0 D0 1F 00 08 */ stfs f0, 8(r31) -/* 8013E194 0013B0F4 D0 3F 00 0C */ stfs f1, 0xc(r31) -lbl_8013E198: -/* 8013E198 0013B0F8 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8013E19C 0013B0FC C0 1F 00 04 */ lfs f0, 4(r31) -/* 8013E1A0 0013B100 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013E1A4 0013B104 40 80 00 9C */ bge lbl_8013E240 -/* 8013E1A8 0013B108 D0 3F 00 04 */ stfs f1, 4(r31) -/* 8013E1AC 0013B10C D0 1F 00 08 */ stfs f0, 8(r31) -/* 8013E1B0 0013B110 48 00 00 90 */ b lbl_8013E240 -lbl_8013E1B4: -/* 8013E1B4 0013B114 48 1D 73 4D */ bl SqrtF__5CMathFf -/* 8013E1B8 0013B118 FF C0 08 90 */ fmr f30, f1 -/* 8013E1BC 0013B11C C8 42 9B 08 */ lfd f2, lbl_805AB828@sda21(r2) -/* 8013E1C0 0013B120 EF 78 F0 2A */ fadds f27, f24, f30 -/* 8013E1C4 0013B124 FC 00 DA 10 */ fabs f0, f27 -/* 8013E1C8 0013B128 FC 20 00 18 */ frsp f1, f0 -/* 8013E1CC 0013B12C 48 25 6B 21 */ bl pow -/* 8013E1D0 0013B130 EF 58 F0 28 */ fsubs f26, f24, f30 -/* 8013E1D4 0013B134 C8 42 9B 08 */ lfd f2, lbl_805AB828@sda21(r2) -/* 8013E1D8 0013B138 FF 20 08 18 */ frsp f25, f1 -/* 8013E1DC 0013B13C FC 00 D2 10 */ fabs f0, f26 -/* 8013E1E0 0013B140 FC 20 00 18 */ frsp f1, f0 -/* 8013E1E4 0013B144 48 25 6B 09 */ bl pow -/* 8013E1E8 0013B148 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013E1EC 0013B14C FC 20 08 18 */ frsp f1, f1 -/* 8013E1F0 0013B150 FC 1A 00 40 */ fcmpo cr0, f26, f0 -/* 8013E1F4 0013B154 40 81 00 08 */ ble lbl_8013E1FC -/* 8013E1F8 0013B158 48 00 00 08 */ b lbl_8013E200 -lbl_8013E1FC: -/* 8013E1FC 0013B15C FC 20 08 50 */ fneg f1, f1 -lbl_8013E200: -/* 8013E200 0013B160 C0 02 9A B8 */ lfs f0, lbl_805AB7D8@sda21(r2) -/* 8013E204 0013B164 FC 1B 00 40 */ fcmpo cr0, f27, f0 -/* 8013E208 0013B168 40 81 00 08 */ ble lbl_8013E210 -/* 8013E20C 0013B16C 48 00 00 08 */ b lbl_8013E214 -lbl_8013E210: -/* 8013E210 0013B170 FF 20 C8 50 */ fneg f25, f25 -lbl_8013E214: -/* 8013E214 0013B174 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013E218 0013B178 EC 19 08 2A */ fadds f0, f25, f1 -/* 8013E21C 0013B17C 54 00 10 3A */ slwi r0, r0, 2 -/* 8013E220 0013B180 7C 7F 02 14 */ add r3, r31, r0 -/* 8013E224 0013B184 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8013E228 0013B188 34 63 00 04 */ addic. r3, r3, 4 -/* 8013E22C 0013B18C 41 82 00 08 */ beq lbl_8013E234 -/* 8013E230 0013B190 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013E234: -/* 8013E234 0013B194 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013E238 0013B198 38 03 00 01 */ addi r0, r3, 1 -/* 8013E23C 0013B19C 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013E240: -/* 8013E240 0013B1A0 C0 82 9A C8 */ lfs f4, lbl_805AB7E8@sda21(r2) -/* 8013E244 0013B1A4 38 7F 00 04 */ addi r3, r31, 4 -/* 8013E248 0013B1A8 C0 62 9A E8 */ lfs f3, lbl_805AB808@sda21(r2) -/* 8013E24C 0013B1AC 38 80 00 00 */ li r4, 0 -/* 8013E250 0013B1B0 C0 42 9A B8 */ lfs f2, lbl_805AB7D8@sda21(r2) -/* 8013E254 0013B1B4 48 00 00 54 */ b lbl_8013E2A8 -lbl_8013E258: -/* 8013E258 0013B1B8 C0 A3 00 00 */ lfs f5, 0(r3) -/* 8013E25C 0013B1BC C0 3E 00 10 */ lfs f1, 0x10(r30) -/* 8013E260 0013B1C0 EC 03 01 72 */ fmuls f0, f3, f5 -/* 8013E264 0013B1C4 C0 DE 00 0C */ lfs f6, 0xc(r30) -/* 8013E268 0013B1C8 C0 FE 00 08 */ lfs f7, 8(r30) -/* 8013E26C 0013B1CC EC 00 00 72 */ fmuls f0, f0, f1 -/* 8013E270 0013B1D0 EC 04 01 BA */ fmadds f0, f4, f6, f0 -/* 8013E274 0013B1D4 EC 05 00 32 */ fmuls f0, f5, f0 -/* 8013E278 0013B1D8 ED 07 00 2A */ fadds f8, f7, f0 -/* 8013E27C 0013B1DC FC 02 40 00 */ fcmpu cr0, f2, f8 -/* 8013E280 0013B1E0 41 82 00 20 */ beq lbl_8013E2A0 -/* 8013E284 0013B1E4 EC 25 30 7A */ fmadds f1, f5, f1, f6 -/* 8013E288 0013B1E8 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8013E28C 0013B1EC EC 25 38 7A */ fmadds f1, f5, f1, f7 -/* 8013E290 0013B1F0 EC 05 00 7A */ fmadds f0, f5, f1, f0 -/* 8013E294 0013B1F4 EC 00 40 24 */ fdivs f0, f0, f8 -/* 8013E298 0013B1F8 EC 05 00 28 */ fsubs f0, f5, f0 -/* 8013E29C 0013B1FC D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013E2A0: -/* 8013E2A0 0013B200 38 63 00 04 */ addi r3, r3, 4 -/* 8013E2A4 0013B204 38 84 00 01 */ addi r4, r4, 1 -lbl_8013E2A8: -/* 8013E2A8 0013B208 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013E2AC 0013B20C 7C 04 00 00 */ cmpw r4, r0 -/* 8013E2B0 0013B210 41 80 FF A8 */ blt lbl_8013E258 -/* 8013E2B4 0013B214 48 00 00 D0 */ b lbl_8013E384 -lbl_8013E2B8: -/* 8013E2B8 0013B218 C0 7E 00 0C */ lfs f3, 0xc(r30) -/* 8013E2BC 0013B21C FC 06 18 00 */ fcmpu cr0, f6, f3 -/* 8013E2C0 0013B220 41 82 00 88 */ beq lbl_8013E348 -/* 8013E2C4 0013B224 C0 42 9A D0 */ lfs f2, lbl_805AB7F0@sda21(r2) -/* 8013E2C8 0013B228 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8013E2CC 0013B22C C0 1E 00 04 */ lfs f0, 4(r30) -/* 8013E2D0 0013B230 EC 22 00 72 */ fmuls f1, f2, f1 -/* 8013E2D4 0013B234 EC 00 18 24 */ fdivs f0, f0, f3 -/* 8013E2D8 0013B238 EE E1 18 24 */ fdivs f23, f1, f3 -/* 8013E2DC 0013B23C EC 37 05 F8 */ fmsubs f1, f23, f23, f0 -/* 8013E2E0 0013B240 FC 01 30 40 */ fcmpo cr0, f1, f6 -/* 8013E2E4 0013B244 4C 41 13 82 */ cror 2, 1, 2 -/* 8013E2E8 0013B248 40 82 00 9C */ bne lbl_8013E384 -/* 8013E2EC 0013B24C 48 1D 72 15 */ bl SqrtF__5CMathFf -/* 8013E2F0 0013B250 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013E2F4 0013B254 FC 40 B8 50 */ fneg f2, f23 -/* 8013E2F8 0013B258 54 00 10 3A */ slwi r0, r0, 2 -/* 8013E2FC 0013B25C 7C 7F 02 14 */ add r3, r31, r0 -/* 8013E300 0013B260 EC 02 08 28 */ fsubs f0, f2, f1 -/* 8013E304 0013B264 34 63 00 04 */ addic. r3, r3, 4 -/* 8013E308 0013B268 41 82 00 08 */ beq lbl_8013E310 -/* 8013E30C 0013B26C D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013E310: -/* 8013E310 0013B270 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013E314 0013B274 EC 02 08 2A */ fadds f0, f2, f1 -/* 8013E318 0013B278 38 03 00 01 */ addi r0, r3, 1 -/* 8013E31C 0013B27C 90 1F 00 00 */ stw r0, 0(r31) -/* 8013E320 0013B280 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013E324 0013B284 54 00 10 3A */ slwi r0, r0, 2 -/* 8013E328 0013B288 7C 7F 02 14 */ add r3, r31, r0 -/* 8013E32C 0013B28C 34 63 00 04 */ addic. r3, r3, 4 -/* 8013E330 0013B290 41 82 00 08 */ beq lbl_8013E338 -/* 8013E334 0013B294 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013E338: -/* 8013E338 0013B298 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013E33C 0013B29C 38 03 00 01 */ addi r0, r3, 1 -/* 8013E340 0013B2A0 90 1F 00 00 */ stw r0, 0(r31) -/* 8013E344 0013B2A4 48 00 00 40 */ b lbl_8013E384 -lbl_8013E348: -/* 8013E348 0013B2A8 C0 3E 00 08 */ lfs f1, 8(r30) -/* 8013E34C 0013B2AC FC 06 08 00 */ fcmpu cr0, f6, f1 -/* 8013E350 0013B2B0 41 82 00 34 */ beq lbl_8013E384 -/* 8013E354 0013B2B4 C0 1E 00 04 */ lfs f0, 4(r30) -/* 8013E358 0013B2B8 80 1F 00 00 */ lwz r0, 0(r31) -/* 8013E35C 0013B2BC FC 00 00 50 */ fneg f0, f0 -/* 8013E360 0013B2C0 54 00 10 3A */ slwi r0, r0, 2 -/* 8013E364 0013B2C4 7C 7F 02 14 */ add r3, r31, r0 -/* 8013E368 0013B2C8 EC 00 08 24 */ fdivs f0, f0, f1 -/* 8013E36C 0013B2CC 34 63 00 04 */ addic. r3, r3, 4 -/* 8013E370 0013B2D0 41 82 00 08 */ beq lbl_8013E378 -/* 8013E374 0013B2D4 D0 03 00 00 */ stfs f0, 0(r3) -lbl_8013E378: -/* 8013E378 0013B2D8 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013E37C 0013B2DC 38 03 00 01 */ addi r0, r3, 1 -/* 8013E380 0013B2E0 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013E384: -/* 8013E384 0013B2E4 80 7F 00 00 */ lwz r3, 0(r31) -/* 8013E388 0013B2E8 7C 03 00 D0 */ neg r0, r3 -/* 8013E38C 0013B2EC 7C 00 18 78 */ andc r0, r0, r3 -/* 8013E390 0013B2F0 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8013E394 0013B2F4 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 8013E398 0013B2F8 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 8013E39C 0013B2FC E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 -/* 8013E3A0 0013B300 CB C1 00 90 */ lfd f30, 0x90(r1) -/* 8013E3A4 0013B304 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 -/* 8013E3A8 0013B308 CB A1 00 80 */ lfd f29, 0x80(r1) -/* 8013E3AC 0013B30C E3 81 00 78 */ psq_l f28, 120(r1), 0, qr0 -/* 8013E3B0 0013B310 CB 81 00 70 */ lfd f28, 0x70(r1) -/* 8013E3B4 0013B314 E3 61 00 68 */ psq_l f27, 104(r1), 0, qr0 -/* 8013E3B8 0013B318 CB 61 00 60 */ lfd f27, 0x60(r1) -/* 8013E3BC 0013B31C E3 41 00 58 */ psq_l f26, 88(r1), 0, qr0 -/* 8013E3C0 0013B320 CB 41 00 50 */ lfd f26, 0x50(r1) -/* 8013E3C4 0013B324 E3 21 00 48 */ psq_l f25, 72(r1), 0, qr0 -/* 8013E3C8 0013B328 CB 21 00 40 */ lfd f25, 0x40(r1) -/* 8013E3CC 0013B32C E3 01 00 38 */ psq_l f24, 56(r1), 0, qr0 -/* 8013E3D0 0013B330 CB 01 00 30 */ lfd f24, 0x30(r1) -/* 8013E3D4 0013B334 E2 E1 00 28 */ psq_l f23, 40(r1), 0, qr0 -/* 8013E3D8 0013B338 CA E1 00 20 */ lfd f23, 0x20(r1) -/* 8013E3DC 0013B33C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013E3E0 0013B340 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 8013E3E4 0013B344 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8013E3E8 0013B348 7C 08 03 A6 */ mtlr r0 -/* 8013E3EC 0013B34C 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8013E3F0 0013B350 4E 80 00 20 */ blr - -.global SolveQuadratic__18CSteeringBehaviorsFfffRfRf -SolveQuadratic__18CSteeringBehaviorsFfffRfRf: -/* 8013E3F4 0013B354 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8013E3F8 0013B358 7C 08 02 A6 */ mflr r0 -/* 8013E3FC 0013B35C 90 01 00 34 */ stw r0, 0x34(r1) -/* 8013E400 0013B360 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8013E404 0013B364 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8013E408 0013B368 DB C1 00 10 */ stfd f30, 0x10(r1) -/* 8013E40C 0013B36C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0 -/* 8013E410 0013B370 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013E414 0013B374 93 C1 00 08 */ stw r30, 8(r1) -/* 8013E418 0013B378 FF C0 08 90 */ fmr f30, f1 -/* 8013E41C 0013B37C C0 02 9A C4 */ lfs f0, lbl_805AB7E4@sda21(r2) -/* 8013E420 0013B380 FF E0 10 90 */ fmr f31, f2 -/* 8013E424 0013B384 C0 42 9B 10 */ lfs f2, lbl_805AB830@sda21(r2) -/* 8013E428 0013B388 7C 7E 1B 78 */ mr r30, r3 -/* 8013E42C 0013B38C 7C 9F 23 78 */ mr r31, r4 -/* 8013E430 0013B390 EC 00 07 B2 */ fmuls f0, f0, f30 -/* 8013E434 0013B394 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8013E438 0013B398 EC 3F 07 F8 */ fmsubs f1, f31, f31, f0 -/* 8013E43C 0013B39C FC 01 10 40 */ fcmpo cr0, f1, f2 -/* 8013E440 0013B3A0 41 80 00 14 */ blt lbl_8013E454 -/* 8013E444 0013B3A4 FC 00 F2 10 */ fabs f0, f30 -/* 8013E448 0013B3A8 FC 00 00 18 */ frsp f0, f0 -/* 8013E44C 0013B3AC FC 00 10 40 */ fcmpo cr0, f0, f2 -/* 8013E450 0013B3B0 40 80 00 0C */ bge lbl_8013E45C -lbl_8013E454: -/* 8013E454 0013B3B4 38 60 00 00 */ li r3, 0 -/* 8013E458 0013B3B8 48 00 00 30 */ b lbl_8013E488 -lbl_8013E45C: -/* 8013E45C 0013B3BC 48 1D 70 A5 */ bl SqrtF__5CMathFf -/* 8013E460 0013B3C0 FC 60 F8 50 */ fneg f3, f31 -/* 8013E464 0013B3C4 C0 02 9A C8 */ lfs f0, lbl_805AB7E8@sda21(r2) -/* 8013E468 0013B3C8 38 60 00 01 */ li r3, 1 -/* 8013E46C 0013B3CC EC 80 07 B2 */ fmuls f4, f0, f30 -/* 8013E470 0013B3D0 EC 43 08 2A */ fadds f2, f3, f1 -/* 8013E474 0013B3D4 EC 03 08 28 */ fsubs f0, f3, f1 -/* 8013E478 0013B3D8 EC 22 20 24 */ fdivs f1, f2, f4 -/* 8013E47C 0013B3DC EC 00 20 24 */ fdivs f0, f0, f4 -/* 8013E480 0013B3E0 D0 3E 00 00 */ stfs f1, 0(r30) -/* 8013E484 0013B3E4 D0 1F 00 00 */ stfs f0, 0(r31) -lbl_8013E488: -/* 8013E488 0013B3E8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8013E48C 0013B3EC CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8013E490 0013B3F0 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0 -/* 8013E494 0013B3F4 CB C1 00 10 */ lfd f30, 0x10(r1) -/* 8013E498 0013B3F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013E49C 0013B3FC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8013E4A0 0013B400 83 C1 00 08 */ lwz r30, 8(r1) -/* 8013E4A4 0013B404 7C 08 03 A6 */ mtlr r0 -/* 8013E4A8 0013B408 38 21 00 30 */ addi r1, r1, 0x30 -/* 8013E4AC 0013B40C 4E 80 00 20 */ blr - -.global Arrival2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2ff -Arrival2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2ff: -/* 8013E4B0 0013B410 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8013E4B4 0013B414 7C 08 02 A6 */ mflr r0 -/* 8013E4B8 0013B418 90 01 00 44 */ stw r0, 0x44(r1) -/* 8013E4BC 0013B41C 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8013E4C0 0013B420 7C DF 33 78 */ mr r31, r6 -/* 8013E4C4 0013B424 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8013E4C8 0013B428 7C 7E 1B 78 */ mr r30, r3 -/* 8013E4CC 0013B42C 38 61 00 08 */ addi r3, r1, 8 -/* 8013E4D0 0013B430 C0 45 00 50 */ lfs f2, 0x50(r5) -/* 8013E4D4 0013B434 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 8013E4D8 0013B438 C0 05 00 60 */ lfs f0, 0x60(r5) -/* 8013E4DC 0013B43C D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8013E4E0 0013B440 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8013E4E4 0013B444 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8013E4E8 0013B448 48 1D 5D 19 */ bl __ct__9CVector2fFff -/* 8013E4EC 0013B44C 7F E4 FB 78 */ mr r4, r31 -/* 8013E4F0 0013B450 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013E4F4 0013B454 38 A1 00 08 */ addi r5, r1, 8 -/* 8013E4F8 0013B458 48 1D 5A 41 */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8013E4FC 0013B45C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8013E500 0013B460 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013E504 0013B464 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8013E508 0013B468 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8013E50C 0013B46C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8013E510 0013B470 48 1D 5B CD */ bl MagSquared__9CVector2fCFv -/* 8013E514 0013B474 C0 02 9B 10 */ lfs f0, lbl_805AB830@sda21(r2) -/* 8013E518 0013B478 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013E51C 0013B47C 40 81 00 14 */ ble lbl_8013E530 -/* 8013E520 0013B480 7F C3 F3 78 */ mr r3, r30 -/* 8013E524 0013B484 38 81 00 18 */ addi r4, r1, 0x18 -/* 8013E528 0013B488 48 1D 5B 59 */ bl AsNormalized__9CVector2fCFv -/* 8013E52C 0013B48C 48 00 00 18 */ b lbl_8013E544 -lbl_8013E530: -/* 8013E530 0013B490 C0 0D A8 98 */ lfs f0, lbl_805A9458@sda21(r13) -/* 8013E534 0013B494 38 6D A8 98 */ addi r3, r13, lbl_805A9458@sda21 -/* 8013E538 0013B498 D0 1E 00 00 */ stfs f0, 0(r30) -/* 8013E53C 0013B49C C0 03 00 04 */ lfs f0, 4(r3) -/* 8013E540 0013B4A0 D0 1E 00 04 */ stfs f0, 4(r30) -lbl_8013E544: -/* 8013E544 0013B4A4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8013E548 0013B4A8 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8013E54C 0013B4AC 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8013E550 0013B4B0 7C 08 03 A6 */ mtlr r0 -/* 8013E554 0013B4B4 38 21 00 40 */ addi r1, r1, 0x40 -/* 8013E558 0013B4B8 4E 80 00 20 */ blr - -.global Flee2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2f -Flee2D__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector2f: -/* 8013E55C 0013B4BC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8013E560 0013B4C0 7C 08 02 A6 */ mflr r0 -/* 8013E564 0013B4C4 90 01 00 54 */ stw r0, 0x54(r1) -/* 8013E568 0013B4C8 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 8013E56C 0013B4CC 7C DF 33 78 */ mr r31, r6 -/* 8013E570 0013B4D0 93 C1 00 48 */ stw r30, 0x48(r1) -/* 8013E574 0013B4D4 7C BE 2B 78 */ mr r30, r5 -/* 8013E578 0013B4D8 93 A1 00 44 */ stw r29, 0x44(r1) -/* 8013E57C 0013B4DC 7C 7D 1B 78 */ mr r29, r3 -/* 8013E580 0013B4E0 38 61 00 08 */ addi r3, r1, 8 -/* 8013E584 0013B4E4 C0 45 00 50 */ lfs f2, 0x50(r5) -/* 8013E588 0013B4E8 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 8013E58C 0013B4EC C0 05 00 60 */ lfs f0, 0x60(r5) -/* 8013E590 0013B4F0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8013E594 0013B4F4 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8013E598 0013B4F8 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8013E59C 0013B4FC 48 1D 5C 65 */ bl __ct__9CVector2fFff -/* 8013E5A0 0013B500 7F E5 FB 78 */ mr r5, r31 -/* 8013E5A4 0013B504 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013E5A8 0013B508 38 81 00 08 */ addi r4, r1, 8 -/* 8013E5AC 0013B50C 48 1D 59 8D */ bl __mi__FRC9CVector2fRC9CVector2f -/* 8013E5B0 0013B510 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8013E5B4 0013B514 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013E5B8 0013B518 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8013E5BC 0013B51C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8013E5C0 0013B520 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8013E5C4 0013B524 48 1D 5B 19 */ bl MagSquared__9CVector2fCFv -/* 8013E5C8 0013B528 C0 02 9B 10 */ lfs f0, lbl_805AB830@sda21(r2) -/* 8013E5CC 0013B52C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013E5D0 0013B530 40 81 00 14 */ ble lbl_8013E5E4 -/* 8013E5D4 0013B534 7F A3 EB 78 */ mr r3, r29 -/* 8013E5D8 0013B538 38 81 00 18 */ addi r4, r1, 0x18 -/* 8013E5DC 0013B53C 48 1D 5A A5 */ bl AsNormalized__9CVector2fCFv -/* 8013E5E0 0013B540 48 00 00 24 */ b lbl_8013E604 -lbl_8013E5E4: -/* 8013E5E4 0013B544 C0 5E 00 48 */ lfs f2, 0x48(r30) -/* 8013E5E8 0013B548 7F A3 EB 78 */ mr r3, r29 -/* 8013E5EC 0013B54C C0 3E 00 38 */ lfs f1, 0x38(r30) -/* 8013E5F0 0013B550 C0 1E 00 58 */ lfs f0, 0x58(r30) -/* 8013E5F4 0013B554 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8013E5F8 0013B558 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8013E5FC 0013B55C D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8013E600 0013B560 48 1D 5C 01 */ bl __ct__9CVector2fFff -lbl_8013E604: -/* 8013E604 0013B564 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8013E608 0013B568 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 8013E60C 0013B56C 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 8013E610 0013B570 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 8013E614 0013B574 7C 08 03 A6 */ mtlr r0 -/* 8013E618 0013B578 38 21 00 50 */ addi r1, r1, 0x50 -/* 8013E61C 0013B57C 4E 80 00 20 */ blr - -.global "Cohesion__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>fRC13CStateManager" -"Cohesion__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>fRC13CStateManager": -/* 8013E620 0013B580 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8013E624 0013B584 7C 08 02 A6 */ mflr r0 -/* 8013E628 0013B588 90 01 00 54 */ stw r0, 0x54(r1) -/* 8013E62C 0013B58C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8013E630 0013B590 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8013E634 0013B594 BF 21 00 24 */ stmw r25, 0x24(r1) -/* 8013E638 0013B598 3D 00 80 5A */ lis r8, skZero3f@ha -/* 8013E63C 0013B59C 7C DC 33 78 */ mr r28, r6 -/* 8013E640 0013B5A0 38 C8 66 A0 */ addi r6, r8, skZero3f@l -/* 8013E644 0013B5A4 FF E0 08 90 */ fmr f31, f1 -/* 8013E648 0013B5A8 C0 46 00 00 */ lfs f2, 0(r6) -/* 8013E64C 0013B5AC 7C 79 1B 78 */ mr r25, r3 -/* 8013E650 0013B5B0 C0 26 00 04 */ lfs f1, 4(r6) -/* 8013E654 0013B5B4 7C 9A 23 78 */ mr r26, r4 -/* 8013E658 0013B5B8 C0 06 00 08 */ lfs f0, 8(r6) -/* 8013E65C 0013B5BC D0 41 00 0C */ stfs f2, 0xc(r1) -/* 8013E660 0013B5C0 7C BB 2B 78 */ mr r27, r5 -/* 8013E664 0013B5C4 7C FD 3B 78 */ mr r29, r7 -/* 8013E668 0013B5C8 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8013E66C 0013B5CC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8013E670 0013B5D0 80 1C 00 00 */ lwz r0, 0(r28) -/* 8013E674 0013B5D4 2C 00 00 00 */ cmpwi r0, 0 -/* 8013E678 0013B5D8 41 82 00 D4 */ beq lbl_8013E74C -/* 8013E67C 0013B5DC 3B FC 00 04 */ addi r31, r28, 4 -/* 8013E680 0013B5E0 3B C0 00 00 */ li r30, 0 -/* 8013E684 0013B5E4 48 00 00 58 */ b lbl_8013E6DC -lbl_8013E688: -/* 8013E688 0013B5E8 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8013E68C 0013B5EC 7F A3 EB 78 */ mr r3, r29 -/* 8013E690 0013B5F0 38 81 00 08 */ addi r4, r1, 8 -/* 8013E694 0013B5F4 B0 01 00 08 */ sth r0, 8(r1) -/* 8013E698 0013B5F8 4B F0 DF 0D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8013E69C 0013B5FC 28 03 00 00 */ cmplwi r3, 0 -/* 8013E6A0 0013B600 41 82 00 34 */ beq lbl_8013E6D4 -/* 8013E6A4 0013B604 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 8013E6A8 0013B608 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8013E6AC 0013B60C C0 83 00 50 */ lfs f4, 0x50(r3) -/* 8013E6B0 0013B610 C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8013E6B4 0013B614 EC 00 10 2A */ fadds f0, f0, f2 -/* 8013E6B8 0013B618 C0 43 00 40 */ lfs f2, 0x40(r3) -/* 8013E6BC 0013B61C C0 61 00 0C */ lfs f3, 0xc(r1) -/* 8013E6C0 0013B620 EC 21 20 2A */ fadds f1, f1, f4 -/* 8013E6C4 0013B624 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8013E6C8 0013B628 EC 03 10 2A */ fadds f0, f3, f2 -/* 8013E6CC 0013B62C D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8013E6D0 0013B630 D0 01 00 0C */ stfs f0, 0xc(r1) -lbl_8013E6D4: -/* 8013E6D4 0013B634 3B FF 00 02 */ addi r31, r31, 2 -/* 8013E6D8 0013B638 3B DE 00 01 */ addi r30, r30, 1 -lbl_8013E6DC: -/* 8013E6DC 0013B63C 80 1C 00 00 */ lwz r0, 0(r28) -/* 8013E6E0 0013B640 7C 1E 00 00 */ cmpw r30, r0 -/* 8013E6E4 0013B644 41 80 FF A4 */ blt lbl_8013E688 -/* 8013E6E8 0013B648 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 8013E6EC 0013B64C 3C 00 43 30 */ lis r0, 0x4330 -/* 8013E6F0 0013B650 90 61 00 1C */ stw r3, 0x1c(r1) -/* 8013E6F4 0013B654 FC 20 F8 90 */ fmr f1, f31 -/* 8013E6F8 0013B658 C8 42 9B 18 */ lfd f2, lbl_805AB838@sda21(r2) -/* 8013E6FC 0013B65C 7F 23 CB 78 */ mr r3, r25 -/* 8013E700 0013B660 90 01 00 18 */ stw r0, 0x18(r1) -/* 8013E704 0013B664 7F 44 D3 78 */ mr r4, r26 -/* 8013E708 0013B668 C0 A2 9A FC */ lfs f5, lbl_805AB81C@sda21(r2) -/* 8013E70C 0013B66C C8 01 00 18 */ lfd f0, 0x18(r1) -/* 8013E710 0013B670 7F 65 DB 78 */ mr r5, r27 -/* 8013E714 0013B674 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 8013E718 0013B678 38 C1 00 0C */ addi r6, r1, 0xc -/* 8013E71C 0013B67C EC 80 10 28 */ fsubs f4, f0, f2 -/* 8013E720 0013B680 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8013E724 0013B684 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8013E728 0013B688 EC 85 20 24 */ fdivs f4, f5, f4 -/* 8013E72C 0013B68C EC 63 01 32 */ fmuls f3, f3, f4 -/* 8013E730 0013B690 EC 42 01 32 */ fmuls f2, f2, f4 -/* 8013E734 0013B694 EC 00 01 32 */ fmuls f0, f0, f4 -/* 8013E738 0013B698 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8013E73C 0013B69C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8013E740 0013B6A0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8013E744 0013B6A4 48 00 03 D9 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 8013E748 0013B6A8 48 00 00 18 */ b lbl_8013E760 -lbl_8013E74C: -/* 8013E74C 0013B6AC D0 59 00 00 */ stfs f2, 0(r25) -/* 8013E750 0013B6B0 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8013E754 0013B6B4 D0 19 00 04 */ stfs f0, 4(r25) -/* 8013E758 0013B6B8 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 8013E75C 0013B6BC D0 19 00 08 */ stfs f0, 8(r25) -lbl_8013E760: -/* 8013E760 0013B6C0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8013E764 0013B6C4 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8013E768 0013B6C8 BB 21 00 24 */ lmw r25, 0x24(r1) -/* 8013E76C 0013B6CC 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8013E770 0013B6D0 7C 08 03 A6 */ mtlr r0 -/* 8013E774 0013B6D4 38 21 00 50 */ addi r1, r1, 0x50 -/* 8013E778 0013B6D8 4E 80 00 20 */ blr - -.global "Alignment__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager" -"Alignment__18CSteeringBehaviorsCFRC13CPhysicsActorRQ24rstl32reserved_vector<9TUniqueId,1024>RC13CStateManager": -/* 8013E77C 0013B6DC 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8013E780 0013B6E0 7C 08 02 A6 */ mflr r0 -/* 8013E784 0013B6E4 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8013E788 0013B6E8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8013E78C 0013B6EC BF 41 00 38 */ stmw r26, 0x38(r1) -/* 8013E790 0013B6F0 7C DC 33 78 */ mr r28, r6 -/* 8013E794 0013B6F4 7C 7A 1B 78 */ mr r26, r3 -/* 8013E798 0013B6F8 7C BB 2B 78 */ mr r27, r5 -/* 8013E79C 0013B6FC 7C FD 3B 78 */ mr r29, r7 -/* 8013E7A0 0013B700 C4 44 66 A0 */ lfsu f2, skZero3f@l(r4) -/* 8013E7A4 0013B704 C0 24 00 04 */ lfs f1, 4(r4) -/* 8013E7A8 0013B708 C0 04 00 08 */ lfs f0, 8(r4) -/* 8013E7AC 0013B70C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8013E7B0 0013B710 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8013E7B4 0013B714 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8013E7B8 0013B718 80 06 00 00 */ lwz r0, 0(r6) -/* 8013E7BC 0013B71C 2C 00 00 00 */ cmpwi r0, 0 -/* 8013E7C0 0013B720 41 82 00 B8 */ beq lbl_8013E878 -/* 8013E7C4 0013B724 3B FC 00 04 */ addi r31, r28, 4 -/* 8013E7C8 0013B728 3B C0 00 00 */ li r30, 0 -/* 8013E7CC 0013B72C 48 00 00 58 */ b lbl_8013E824 -lbl_8013E7D0: -/* 8013E7D0 0013B730 A0 1F 00 00 */ lhz r0, 0(r31) -/* 8013E7D4 0013B734 7F A3 EB 78 */ mr r3, r29 -/* 8013E7D8 0013B738 38 81 00 08 */ addi r4, r1, 8 -/* 8013E7DC 0013B73C B0 01 00 08 */ sth r0, 8(r1) -/* 8013E7E0 0013B740 4B F0 DD C5 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8013E7E4 0013B744 28 03 00 00 */ cmplwi r3, 0 -/* 8013E7E8 0013B748 41 82 00 34 */ beq lbl_8013E81C -/* 8013E7EC 0013B74C C0 43 00 58 */ lfs f2, 0x58(r3) -/* 8013E7F0 0013B750 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8013E7F4 0013B754 C0 83 00 48 */ lfs f4, 0x48(r3) -/* 8013E7F8 0013B758 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8013E7FC 0013B75C EC 00 10 2A */ fadds f0, f0, f2 -/* 8013E800 0013B760 C0 43 00 38 */ lfs f2, 0x38(r3) -/* 8013E804 0013B764 C0 61 00 18 */ lfs f3, 0x18(r1) -/* 8013E808 0013B768 EC 21 20 2A */ fadds f1, f1, f4 -/* 8013E80C 0013B76C D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8013E810 0013B770 EC 03 10 2A */ fadds f0, f3, f2 -/* 8013E814 0013B774 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8013E818 0013B778 D0 01 00 18 */ stfs f0, 0x18(r1) -lbl_8013E81C: -/* 8013E81C 0013B77C 3B FF 00 02 */ addi r31, r31, 2 -/* 8013E820 0013B780 3B DE 00 01 */ addi r30, r30, 1 -lbl_8013E824: -/* 8013E824 0013B784 80 1C 00 00 */ lwz r0, 0(r28) -/* 8013E828 0013B788 7C 1E 00 00 */ cmpw r30, r0 -/* 8013E82C 0013B78C 41 80 FF A4 */ blt lbl_8013E7D0 -/* 8013E830 0013B790 6C 03 80 00 */ xoris r3, r0, 0x8000 -/* 8013E834 0013B794 3C 00 43 30 */ lis r0, 0x4330 -/* 8013E838 0013B798 90 61 00 2C */ stw r3, 0x2c(r1) -/* 8013E83C 0013B79C C8 22 9B 18 */ lfd f1, lbl_805AB838@sda21(r2) -/* 8013E840 0013B7A0 90 01 00 28 */ stw r0, 0x28(r1) -/* 8013E844 0013B7A4 C0 82 9A FC */ lfs f4, lbl_805AB81C@sda21(r2) -/* 8013E848 0013B7A8 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 8013E84C 0013B7AC C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8013E850 0013B7B0 EC 60 08 28 */ fsubs f3, f0, f1 -/* 8013E854 0013B7B4 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8013E858 0013B7B8 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8013E85C 0013B7BC EC 64 18 24 */ fdivs f3, f4, f3 -/* 8013E860 0013B7C0 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8013E864 0013B7C4 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 8013E868 0013B7C8 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8013E86C 0013B7CC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8013E870 0013B7D0 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8013E874 0013B7D4 D0 01 00 20 */ stfs f0, 0x20(r1) -lbl_8013E878: -/* 8013E878 0013B7D8 C0 5B 00 58 */ lfs f2, 0x58(r27) -/* 8013E87C 0013B7DC 38 61 00 0C */ addi r3, r1, 0xc -/* 8013E880 0013B7E0 C0 3B 00 48 */ lfs f1, 0x48(r27) -/* 8013E884 0013B7E4 38 81 00 18 */ addi r4, r1, 0x18 -/* 8013E888 0013B7E8 C0 1B 00 38 */ lfs f0, 0x38(r27) -/* 8013E88C 0013B7EC D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8013E890 0013B7F0 D0 01 00 0C */ stfs f0, 0xc(r1) -/* 8013E894 0013B7F4 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8013E898 0013B7F8 48 1D 5D 99 */ bl GetAngleDiff__9CVector3fFRC9CVector3fRC9CVector3f -/* 8013E89C 0013B7FC C0 02 9A F8 */ lfs f0, lbl_805AB818@sda21(r2) -/* 8013E8A0 0013B800 C0 41 00 18 */ lfs f2, 0x18(r1) -/* 8013E8A4 0013B804 EC 61 00 24 */ fdivs f3, f1, f0 -/* 8013E8A8 0013B808 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 8013E8AC 0013B80C C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8013E8B0 0013B810 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 8013E8B4 0013B814 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 8013E8B8 0013B818 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 8013E8BC 0013B81C D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8013E8C0 0013B820 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8013E8C4 0013B824 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8013E8C8 0013B828 D0 5A 00 00 */ stfs f2, 0(r26) -/* 8013E8CC 0013B82C C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 8013E8D0 0013B830 D0 1A 00 04 */ stfs f0, 4(r26) -/* 8013E8D4 0013B834 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8013E8D8 0013B838 D0 1A 00 08 */ stfs f0, 8(r26) -/* 8013E8DC 0013B83C BB 41 00 38 */ lmw r26, 0x38(r1) -/* 8013E8E0 0013B840 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8013E8E4 0013B844 7C 08 03 A6 */ mtlr r0 -/* 8013E8E8 0013B848 38 21 00 50 */ addi r1, r1, 0x50 -/* 8013E8EC 0013B84C 4E 80 00 20 */ blr - -.global Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -Separation__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff: -/* 8013E8F0 0013B850 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8013E8F4 0013B854 7C 08 02 A6 */ mflr r0 -/* 8013E8F8 0013B858 90 01 00 54 */ stw r0, 0x54(r1) -/* 8013E8FC 0013B85C DB E1 00 40 */ stfd f31, 0x40(r1) -/* 8013E900 0013B860 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 8013E904 0013B864 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8013E908 0013B868 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8013E90C 0013B86C C0 45 00 50 */ lfs f2, 0x50(r5) -/* 8013E910 0013B870 EC A1 00 72 */ fmuls f5, f1, f1 -/* 8013E914 0013B874 C0 06 00 04 */ lfs f0, 4(r6) -/* 8013E918 0013B878 3C 80 80 5A */ lis r4, skZero3f@ha -/* 8013E91C 0013B87C C0 25 00 40 */ lfs f1, 0x40(r5) -/* 8013E920 0013B880 7C BF 2B 78 */ mr r31, r5 -/* 8013E924 0013B884 EC 82 00 28 */ fsubs f4, f2, f0 -/* 8013E928 0013B888 C0 06 00 00 */ lfs f0, 0(r6) -/* 8013E92C 0013B88C 7C 7E 1B 78 */ mr r30, r3 -/* 8013E930 0013B890 C0 65 00 60 */ lfs f3, 0x60(r5) -/* 8013E934 0013B894 EC 41 00 28 */ fsubs f2, f1, f0 -/* 8013E938 0013B898 C0 26 00 08 */ lfs f1, 8(r6) -/* 8013E93C 0013B89C EC 04 01 32 */ fmuls f0, f4, f4 -/* 8013E940 0013B8A0 D0 81 00 30 */ stfs f4, 0x30(r1) -/* 8013E944 0013B8A4 EC 63 08 28 */ fsubs f3, f3, f1 -/* 8013E948 0013B8A8 C4 84 66 A0 */ lfsu f4, skZero3f@l(r4) -/* 8013E94C 0013B8AC EC 22 00 B2 */ fmuls f1, f2, f2 -/* 8013E950 0013B8B0 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8013E954 0013B8B4 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 8013E958 0013B8B8 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8013E95C 0013B8BC EC 01 00 2A */ fadds f0, f1, f0 -/* 8013E960 0013B8C0 C0 24 00 04 */ lfs f1, 4(r4) -/* 8013E964 0013B8C4 C0 64 00 08 */ lfs f3, 8(r4) -/* 8013E968 0013B8C8 EC 02 00 2A */ fadds f0, f2, f0 -/* 8013E96C 0013B8CC FC 00 28 40 */ fcmpo cr0, f0, f5 -/* 8013E970 0013B8D0 40 80 00 80 */ bge lbl_8013E9F0 -/* 8013E974 0013B8D4 EC 00 28 24 */ fdivs f0, f0, f5 -/* 8013E978 0013B8D8 C0 22 9A FC */ lfs f1, lbl_805AB81C@sda21(r2) -/* 8013E97C 0013B8DC 38 61 00 2C */ addi r3, r1, 0x2c -/* 8013E980 0013B8E0 EF E1 00 28 */ fsubs f31, f1, f0 -/* 8013E984 0013B8E4 48 1D 5D 75 */ bl CanBeNormalized__9CVector3fCFv -/* 8013E988 0013B8E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013E98C 0013B8EC 41 82 00 3C */ beq lbl_8013E9C8 -/* 8013E990 0013B8F0 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013E994 0013B8F4 38 81 00 2C */ addi r4, r1, 0x2c -/* 8013E998 0013B8F8 48 1D 5E B9 */ bl AsNormalized__9CVector3fCFv -/* 8013E99C 0013B8FC C0 41 00 20 */ lfs f2, 0x20(r1) -/* 8013E9A0 0013B900 38 61 00 14 */ addi r3, r1, 0x14 -/* 8013E9A4 0013B904 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 8013E9A8 0013B908 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8013E9AC 0013B90C EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8013E9B0 0013B910 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8013E9B4 0013B914 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8013E9B8 0013B918 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8013E9BC 0013B91C D0 21 00 18 */ stfs f1, 0x18(r1) -/* 8013E9C0 0013B920 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8013E9C4 0013B924 48 00 00 20 */ b lbl_8013E9E4 -lbl_8013E9C8: -/* 8013E9C8 0013B928 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 8013E9CC 0013B92C 38 61 00 08 */ addi r3, r1, 8 -/* 8013E9D0 0013B930 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 8013E9D4 0013B934 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8013E9D8 0013B938 D0 21 00 0C */ stfs f1, 0xc(r1) -/* 8013E9DC 0013B93C D0 01 00 08 */ stfs f0, 8(r1) -/* 8013E9E0 0013B940 D0 41 00 10 */ stfs f2, 0x10(r1) -lbl_8013E9E4: -/* 8013E9E4 0013B944 C0 83 00 00 */ lfs f4, 0(r3) -/* 8013E9E8 0013B948 C0 23 00 04 */ lfs f1, 4(r3) -/* 8013E9EC 0013B94C C0 63 00 08 */ lfs f3, 8(r3) -lbl_8013E9F0: -/* 8013E9F0 0013B950 D0 9E 00 00 */ stfs f4, 0(r30) -/* 8013E9F4 0013B954 D0 3E 00 04 */ stfs f1, 4(r30) -/* 8013E9F8 0013B958 D0 7E 00 08 */ stfs f3, 8(r30) -/* 8013E9FC 0013B95C E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8013EA00 0013B960 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8013EA04 0013B964 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 8013EA08 0013B968 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8013EA0C 0013B96C 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8013EA10 0013B970 7C 08 03 A6 */ mtlr r0 -/* 8013EA14 0013B974 38 21 00 50 */ addi r1, r1, 0x50 -/* 8013EA18 0013B978 4E 80 00 20 */ blr - -.global Pursuit__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3fRC9CVector3f -Pursuit__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3fRC9CVector3f: -/* 8013EA1C 0013B97C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 8013EA20 0013B980 7C 08 02 A6 */ mflr r0 -/* 8013EA24 0013B984 3D 00 80 5A */ lis r8, skZero3f@ha -/* 8013EA28 0013B988 90 01 00 54 */ stw r0, 0x54(r1) -/* 8013EA2C 0013B98C BF 61 00 3C */ stmw r27, 0x3c(r1) -/* 8013EA30 0013B990 7C BD 2B 78 */ mr r29, r5 -/* 8013EA34 0013B994 38 A8 66 A0 */ addi r5, r8, skZero3f@l -/* 8013EA38 0013B998 7C 7B 1B 78 */ mr r27, r3 -/* 8013EA3C 0013B99C 7C 9C 23 78 */ mr r28, r4 -/* 8013EA40 0013B9A0 7C DE 33 78 */ mr r30, r6 -/* 8013EA44 0013B9A4 7C FF 3B 78 */ mr r31, r7 -/* 8013EA48 0013B9A8 38 7D 01 38 */ addi r3, r29, 0x138 -/* 8013EA4C 0013B9AC C0 45 00 00 */ lfs f2, 0(r5) -/* 8013EA50 0013B9B0 C0 25 00 04 */ lfs f1, 4(r5) -/* 8013EA54 0013B9B4 C0 05 00 08 */ lfs f0, 8(r5) -/* 8013EA58 0013B9B8 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8013EA5C 0013B9BC D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8013EA60 0013B9C0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 8013EA64 0013B9C4 48 1D 5E 55 */ bl Magnitude__9CVector3fCFv -/* 8013EA68 0013B9C8 C0 7D 00 60 */ lfs f3, 0x60(r29) -/* 8013EA6C 0013B9CC 7F C4 F3 78 */ mr r4, r30 -/* 8013EA70 0013B9D0 C0 5D 00 50 */ lfs f2, 0x50(r29) -/* 8013EA74 0013B9D4 7F E5 FB 78 */ mr r5, r31 -/* 8013EA78 0013B9D8 C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 8013EA7C 0013B9DC 38 61 00 14 */ addi r3, r1, 0x14 -/* 8013EA80 0013B9E0 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 8013EA84 0013B9E4 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8013EA88 0013B9E8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8013EA8C 0013B9EC D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8013EA90 0013B9F0 4B FF ED E9 */ bl ProjectLinearIntersection__18CSteeringBehaviorsFRC9CVector3ffRC9CVector3fRC9CVector3fR9CVector3f -/* 8013EA94 0013B9F4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013EA98 0013B9F8 40 82 00 44 */ bne lbl_8013EADC -/* 8013EA9C 0013B9FC C0 A2 9A FC */ lfs f5, lbl_805AB81C@sda21(r2) -/* 8013EAA0 0013BA00 C0 5F 00 04 */ lfs f2, 4(r31) -/* 8013EAA4 0013BA04 C0 3F 00 08 */ lfs f1, 8(r31) -/* 8013EAA8 0013BA08 C0 1F 00 00 */ lfs f0, 0(r31) -/* 8013EAAC 0013BA0C EC 85 00 B2 */ fmuls f4, f5, f2 -/* 8013EAB0 0013BA10 C0 DE 00 04 */ lfs f6, 4(r30) -/* 8013EAB4 0013BA14 EC 45 00 72 */ fmuls f2, f5, f1 -/* 8013EAB8 0013BA18 C0 7E 00 08 */ lfs f3, 8(r30) -/* 8013EABC 0013BA1C EC 05 00 32 */ fmuls f0, f5, f0 -/* 8013EAC0 0013BA20 C0 3E 00 00 */ lfs f1, 0(r30) -/* 8013EAC4 0013BA24 EC 86 20 2A */ fadds f4, f6, f4 -/* 8013EAC8 0013BA28 EC 43 10 2A */ fadds f2, f3, f2 -/* 8013EACC 0013BA2C EC 01 00 2A */ fadds f0, f1, f0 -/* 8013EAD0 0013BA30 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 8013EAD4 0013BA34 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 8013EAD8 0013BA38 D0 41 00 28 */ stfs f2, 0x28(r1) -lbl_8013EADC: -/* 8013EADC 0013BA3C 7F 84 E3 78 */ mr r4, r28 -/* 8013EAE0 0013BA40 7F A5 EB 78 */ mr r5, r29 -/* 8013EAE4 0013BA44 38 61 00 08 */ addi r3, r1, 8 -/* 8013EAE8 0013BA48 38 C1 00 20 */ addi r6, r1, 0x20 -/* 8013EAEC 0013BA4C 48 00 01 35 */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f -/* 8013EAF0 0013BA50 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 8013EAF4 0013BA54 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 8013EAF8 0013BA58 C0 01 00 08 */ lfs f0, 8(r1) -/* 8013EAFC 0013BA5C D0 1B 00 00 */ stfs f0, 0(r27) -/* 8013EB00 0013BA60 D0 3B 00 04 */ stfs f1, 4(r27) -/* 8013EB04 0013BA64 D0 5B 00 08 */ stfs f2, 8(r27) -/* 8013EB08 0013BA68 BB 61 00 3C */ lmw r27, 0x3c(r1) -/* 8013EB0C 0013BA6C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 8013EB10 0013BA70 7C 08 03 A6 */ mtlr r0 -/* 8013EB14 0013BA74 38 21 00 50 */ addi r1, r1, 0x50 -/* 8013EB18 0013BA78 4E 80 00 20 */ blr - -.global Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff: -/* 8013EB1C 0013BA7C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8013EB20 0013BA80 7C 08 02 A6 */ mflr r0 -/* 8013EB24 0013BA84 90 01 00 44 */ stw r0, 0x44(r1) -/* 8013EB28 0013BA88 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8013EB2C 0013BA8C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8013EB30 0013BA90 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8013EB34 0013BA94 C0 86 00 04 */ lfs f4, 4(r6) -/* 8013EB38 0013BA98 7C 7F 1B 78 */ mr r31, r3 -/* 8013EB3C 0013BA9C C0 05 00 50 */ lfs f0, 0x50(r5) -/* 8013EB40 0013BAA0 FF E0 08 90 */ fmr f31, f1 -/* 8013EB44 0013BAA4 C0 66 00 08 */ lfs f3, 8(r6) -/* 8013EB48 0013BAA8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8013EB4C 0013BAAC C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8013EB50 0013BAB0 EC 84 00 28 */ fsubs f4, f4, f0 -/* 8013EB54 0013BAB4 C0 26 00 00 */ lfs f1, 0(r6) -/* 8013EB58 0013BAB8 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8013EB5C 0013BABC EC 43 10 28 */ fsubs f2, f3, f2 -/* 8013EB60 0013BAC0 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8013EB64 0013BAC4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8013EB68 0013BAC8 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 8013EB6C 0013BACC D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8013EB70 0013BAD0 48 1D 5B 89 */ bl CanBeNormalized__9CVector3fCFv -/* 8013EB74 0013BAD4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013EB78 0013BAD8 41 82 00 70 */ beq lbl_8013EBE8 -/* 8013EB7C 0013BADC C0 21 00 14 */ lfs f1, 0x14(r1) -/* 8013EB80 0013BAE0 EC 7F 07 F2 */ fmuls f3, f31, f31 -/* 8013EB84 0013BAE4 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8013EB88 0013BAE8 EC 21 00 72 */ fmuls f1, f1, f1 -/* 8013EB8C 0013BAEC C0 41 00 1C */ lfs f2, 0x1c(r1) -/* 8013EB90 0013BAF0 EC 00 00 32 */ fmuls f0, f0, f0 -/* 8013EB94 0013BAF4 EC 42 00 B2 */ fmuls f2, f2, f2 -/* 8013EB98 0013BAF8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8013EB9C 0013BAFC EC 02 00 2A */ fadds f0, f2, f0 -/* 8013EBA0 0013BB00 FC 00 18 40 */ fcmpo cr0, f0, f3 -/* 8013EBA4 0013BB04 40 80 00 0C */ bge lbl_8013EBB0 -/* 8013EBA8 0013BB08 EF E0 18 24 */ fdivs f31, f0, f3 -/* 8013EBAC 0013BB0C 48 00 00 08 */ b lbl_8013EBB4 -lbl_8013EBB0: -/* 8013EBB0 0013BB10 C3 E2 9A FC */ lfs f31, lbl_805AB81C@sda21(r2) -lbl_8013EBB4: -/* 8013EBB4 0013BB14 38 61 00 08 */ addi r3, r1, 8 -/* 8013EBB8 0013BB18 38 81 00 14 */ addi r4, r1, 0x14 -/* 8013EBBC 0013BB1C 48 1D 5C 95 */ bl AsNormalized__9CVector3fCFv -/* 8013EBC0 0013BB20 C0 01 00 08 */ lfs f0, 8(r1) -/* 8013EBC4 0013BB24 C0 41 00 0C */ lfs f2, 0xc(r1) -/* 8013EBC8 0013BB28 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 8013EBCC 0013BB2C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 8013EBD0 0013BB30 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 8013EBD4 0013BB34 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8013EBD8 0013BB38 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8013EBDC 0013BB3C D0 5F 00 04 */ stfs f2, 4(r31) -/* 8013EBE0 0013BB40 D0 3F 00 08 */ stfs f1, 8(r31) -/* 8013EBE4 0013BB44 48 00 00 20 */ b lbl_8013EC04 -lbl_8013EBE8: -/* 8013EBE8 0013BB48 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013EBEC 0013BB4C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8013EBF0 0013BB50 D0 1F 00 00 */ stfs f0, 0(r31) -/* 8013EBF4 0013BB54 C0 03 00 04 */ lfs f0, 4(r3) -/* 8013EBF8 0013BB58 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8013EBFC 0013BB5C C0 03 00 08 */ lfs f0, 8(r3) -/* 8013EC00 0013BB60 D0 1F 00 08 */ stfs f0, 8(r31) -lbl_8013EC04: -/* 8013EC04 0013BB64 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8013EC08 0013BB68 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8013EC0C 0013BB6C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8013EC10 0013BB70 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8013EC14 0013BB74 7C 08 03 A6 */ mtlr r0 -/* 8013EC18 0013BB78 38 21 00 40 */ addi r1, r1, 0x40 -/* 8013EC1C 0013BB7C 4E 80 00 20 */ blr - -.global Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f -Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f: -/* 8013EC20 0013BB80 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8013EC24 0013BB84 7C 08 02 A6 */ mflr r0 -/* 8013EC28 0013BB88 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013EC2C 0013BB8C 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013EC30 0013BB90 7C 7F 1B 78 */ mr r31, r3 -/* 8013EC34 0013BB94 38 61 00 08 */ addi r3, r1, 8 -/* 8013EC38 0013BB98 C0 26 00 04 */ lfs f1, 4(r6) -/* 8013EC3C 0013BB9C C0 05 00 50 */ lfs f0, 0x50(r5) -/* 8013EC40 0013BBA0 C0 66 00 08 */ lfs f3, 8(r6) -/* 8013EC44 0013BBA4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8013EC48 0013BBA8 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 8013EC4C 0013BBAC C0 26 00 00 */ lfs f1, 0(r6) -/* 8013EC50 0013BBB0 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 8013EC54 0013BBB4 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8013EC58 0013BBB8 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8013EC5C 0013BBBC EC 01 00 28 */ fsubs f0, f1, f0 -/* 8013EC60 0013BBC0 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8013EC64 0013BBC4 D0 01 00 08 */ stfs f0, 8(r1) -/* 8013EC68 0013BBC8 48 1D 5A 91 */ bl CanBeNormalized__9CVector3fCFv -/* 8013EC6C 0013BBCC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013EC70 0013BBD0 41 82 00 14 */ beq lbl_8013EC84 -/* 8013EC74 0013BBD4 7F E3 FB 78 */ mr r3, r31 -/* 8013EC78 0013BBD8 38 81 00 08 */ addi r4, r1, 8 -/* 8013EC7C 0013BBDC 48 1D 5B D5 */ bl AsNormalized__9CVector3fCFv -/* 8013EC80 0013BBE0 48 00 00 20 */ b lbl_8013ECA0 -lbl_8013EC84: -/* 8013EC84 0013BBE4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013EC88 0013BBE8 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8013EC8C 0013BBEC D0 1F 00 00 */ stfs f0, 0(r31) -/* 8013EC90 0013BBF0 C0 03 00 04 */ lfs f0, 4(r3) -/* 8013EC94 0013BBF4 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8013EC98 0013BBF8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8013EC9C 0013BBFC D0 1F 00 08 */ stfs f0, 8(r31) -lbl_8013ECA0: -/* 8013ECA0 0013BC00 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8013ECA4 0013BC04 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013ECA8 0013BC08 7C 08 03 A6 */ mtlr r0 -/* 8013ECAC 0013BC0C 38 21 00 20 */ addi r1, r1, 0x20 -/* 8013ECB0 0013BC10 4E 80 00 20 */ blr - -.global Flee__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f -Flee__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f: -/* 8013ECB4 0013BC14 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8013ECB8 0013BC18 7C 08 02 A6 */ mflr r0 -/* 8013ECBC 0013BC1C 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013ECC0 0013BC20 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013ECC4 0013BC24 7C BF 2B 78 */ mr r31, r5 -/* 8013ECC8 0013BC28 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8013ECCC 0013BC2C 7C 7E 1B 78 */ mr r30, r3 -/* 8013ECD0 0013BC30 38 61 00 08 */ addi r3, r1, 8 -/* 8013ECD4 0013BC34 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 8013ECD8 0013BC38 C0 06 00 04 */ lfs f0, 4(r6) -/* 8013ECDC 0013BC3C C0 65 00 60 */ lfs f3, 0x60(r5) -/* 8013ECE0 0013BC40 EC 81 00 28 */ fsubs f4, f1, f0 -/* 8013ECE4 0013BC44 C0 46 00 08 */ lfs f2, 8(r6) -/* 8013ECE8 0013BC48 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 8013ECEC 0013BC4C C0 06 00 00 */ lfs f0, 0(r6) -/* 8013ECF0 0013BC50 EC 43 10 28 */ fsubs f2, f3, f2 -/* 8013ECF4 0013BC54 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 8013ECF8 0013BC58 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8013ECFC 0013BC5C D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8013ED00 0013BC60 D0 01 00 08 */ stfs f0, 8(r1) -/* 8013ED04 0013BC64 48 1D 59 F5 */ bl CanBeNormalized__9CVector3fCFv -/* 8013ED08 0013BC68 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013ED0C 0013BC6C 41 82 00 14 */ beq lbl_8013ED20 -/* 8013ED10 0013BC70 7F C3 F3 78 */ mr r3, r30 -/* 8013ED14 0013BC74 38 81 00 08 */ addi r4, r1, 8 -/* 8013ED18 0013BC78 48 1D 5B 39 */ bl AsNormalized__9CVector3fCFv -/* 8013ED1C 0013BC7C 48 00 00 1C */ b lbl_8013ED38 -lbl_8013ED20: -/* 8013ED20 0013BC80 C0 5F 00 58 */ lfs f2, 0x58(r31) -/* 8013ED24 0013BC84 C0 3F 00 48 */ lfs f1, 0x48(r31) -/* 8013ED28 0013BC88 C0 1F 00 38 */ lfs f0, 0x38(r31) -/* 8013ED2C 0013BC8C D0 1E 00 00 */ stfs f0, 0(r30) -/* 8013ED30 0013BC90 D0 3E 00 04 */ stfs f1, 4(r30) -/* 8013ED34 0013BC94 D0 5E 00 08 */ stfs f2, 8(r30) -lbl_8013ED38: -/* 8013ED38 0013BC98 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8013ED3C 0013BC9C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013ED40 0013BCA0 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8013ED44 0013BCA4 7C 08 03 A6 */ mtlr r0 -/* 8013ED48 0013BCA8 38 21 00 20 */ addi r1, r1, 0x20 -/* 8013ED4C 0013BCAC 4E 80 00 20 */ blr - -.global __ct__18CSteeringBehaviorsFv -__ct__18CSteeringBehaviorsFv: -/* 8013ED50 0013BCB0 C0 02 9B 20 */ lfs f0, lbl_805AB840@sda21(r2) -/* 8013ED54 0013BCB4 D0 03 00 00 */ stfs f0, 0(r3) -/* 8013ED58 0013BCB8 4E 80 00 20 */ blr - -.global __dt__12CBSGroundHitFv -__dt__12CBSGroundHitFv: -/* 8013ED5C 0013BCBC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013ED60 0013BCC0 7C 08 02 A6 */ mflr r0 -/* 8013ED64 0013BCC4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013ED68 0013BCC8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013ED6C 0013BCCC 7C 7F 1B 79 */ or. r31, r3, r3 -/* 8013ED70 0013BCD0 41 82 00 30 */ beq lbl_8013EDA0 -/* 8013ED74 0013BCD4 3C 60 80 3E */ lis r3, lbl_803E18B0@ha -/* 8013ED78 0013BCD8 38 03 18 B0 */ addi r0, r3, lbl_803E18B0@l -/* 8013ED7C 0013BCDC 90 1F 00 00 */ stw r0, 0(r31) -/* 8013ED80 0013BCE0 41 82 00 10 */ beq lbl_8013ED90 -/* 8013ED84 0013BCE4 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 8013ED88 0013BCE8 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 8013ED8C 0013BCEC 90 1F 00 00 */ stw r0, 0(r31) -lbl_8013ED90: -/* 8013ED90 0013BCF0 7C 80 07 35 */ extsh. r0, r4 -/* 8013ED94 0013BCF4 40 81 00 0C */ ble lbl_8013EDA0 -/* 8013ED98 0013BCF8 7F E3 FB 78 */ mr r3, r31 -/* 8013ED9C 0013BCFC 48 1D 6B 95 */ bl Free__7CMemoryFPCv -lbl_8013EDA0: -/* 8013EDA0 0013BD00 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013EDA4 0013BD04 7F E3 FB 78 */ mr r3, r31 -/* 8013EDA8 0013BD08 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013EDAC 0013BD0C 7C 08 03 A6 */ mtlr r0 -/* 8013EDB0 0013BD10 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013EDB4 0013BD14 4E 80 00 20 */ blr - -.global GetBodyStateTransition__12CBSGroundHitFfR15CBodyController -GetBodyStateTransition__12CBSGroundHitFfR15CBodyController: -/* 8013EDB8 0013BD18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013EDBC 0013BD1C 7C 08 02 A6 */ mflr r0 -/* 8013EDC0 0013BD20 38 64 00 04 */ addi r3, r4, 4 -/* 8013EDC4 0013BD24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013EDC8 0013BD28 88 04 03 00 */ lbz r0, 0x300(r4) -/* 8013EDCC 0013BD2C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013EDD0 0013BD30 41 82 00 20 */ beq lbl_8013EDF0 -/* 8013EDD4 0013BD34 38 80 00 02 */ li r4, 2 -/* 8013EDD8 0013BD38 4B FF 26 79 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013EDDC 0013BD3C 28 03 00 00 */ cmplwi r3, 0 -/* 8013EDE0 0013BD40 38 60 00 02 */ li r3, 2 -/* 8013EDE4 0013BD44 41 82 00 10 */ beq lbl_8013EDF4 -/* 8013EDE8 0013BD48 38 60 00 04 */ li r3, 4 -/* 8013EDEC 0013BD4C 48 00 00 08 */ b lbl_8013EDF4 -lbl_8013EDF0: -/* 8013EDF0 0013BD50 38 60 FF FF */ li r3, -1 -lbl_8013EDF4: -/* 8013EDF4 0013BD54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013EDF8 0013BD58 7C 08 03 A6 */ mtlr r0 -/* 8013EDFC 0013BD5C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013EE00 0013BD60 4E 80 00 20 */ blr - -.global Shutdown__12CBSGroundHitFR15CBodyController -Shutdown__12CBSGroundHitFR15CBodyController: -/* 8013EE04 0013BD64 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013EE08 0013BD68 7C 08 02 A6 */ mflr r0 -/* 8013EE0C 0013BD6C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013EE10 0013BD70 7C 80 23 78 */ mr r0, r4 -/* 8013EE14 0013BD74 80 83 00 0C */ lwz r4, 0xc(r3) -/* 8013EE18 0013BD78 7C 03 03 78 */ mr r3, r0 -/* 8013EE1C 0013BD7C 4B FF BD 89 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState -/* 8013EE20 0013BD80 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013EE24 0013BD84 7C 08 03 A6 */ mtlr r0 -/* 8013EE28 0013BD88 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013EE2C 0013BD8C 4E 80 00 20 */ blr - -.global UpdateBody__12CBSGroundHitFfR15CBodyControllerR13CStateManager -UpdateBody__12CBSGroundHitFfR15CBodyControllerR13CStateManager: -/* 8013EE30 0013BD90 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8013EE34 0013BD94 7C 08 02 A6 */ mflr r0 -/* 8013EE38 0013BD98 90 01 00 44 */ stw r0, 0x44(r1) -/* 8013EE3C 0013BD9C DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8013EE40 0013BDA0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8013EE44 0013BDA4 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8013EE48 0013BDA8 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8013EE4C 0013BDAC 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8013EE50 0013BDB0 FF E0 08 90 */ fmr f31, f1 -/* 8013EE54 0013BDB4 7C 7D 1B 78 */ mr r29, r3 -/* 8013EE58 0013BDB8 7C 9E 23 78 */ mr r30, r4 -/* 8013EE5C 0013BDBC 4B FF FF 5D */ bl GetBodyStateTransition__12CBSGroundHitFfR15CBodyController -/* 8013EE60 0013BDC0 7C 7F 1B 78 */ mr r31, r3 -/* 8013EE64 0013BDC4 2C 1F FF FF */ cmpwi r31, -1 -/* 8013EE68 0013BDC8 40 82 00 44 */ bne lbl_8013EEAC -/* 8013EE6C 0013BDCC C0 3D 00 08 */ lfs f1, 8(r29) -/* 8013EE70 0013BDD0 C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) -/* 8013EE74 0013BDD4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013EE78 0013BDD8 40 81 00 34 */ ble lbl_8013EEAC -/* 8013EE7C 0013BDDC C0 1D 00 04 */ lfs f0, 4(r29) -/* 8013EE80 0013BDE0 38 61 00 0C */ addi r3, r1, 0xc -/* 8013EE84 0013BDE4 38 81 00 08 */ addi r4, r1, 8 -/* 8013EE88 0013BDE8 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 8013EE8C 0013BDEC D0 01 00 08 */ stfs f0, 8(r1) -/* 8013EE90 0013BDF0 48 1D 22 69 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8013EE94 0013BDF4 7F C3 F3 78 */ mr r3, r30 -/* 8013EE98 0013BDF8 38 81 00 0C */ addi r4, r1, 0xc -/* 8013EE9C 0013BDFC 4B FF B9 6D */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion -/* 8013EEA0 0013BE00 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8013EEA4 0013BE04 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8013EEA8 0013BE08 D0 1D 00 08 */ stfs f0, 8(r29) -lbl_8013EEAC: -/* 8013EEAC 0013BE0C 7F E3 FB 78 */ mr r3, r31 -/* 8013EEB0 0013BE10 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8013EEB4 0013BE14 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8013EEB8 0013BE18 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8013EEBC 0013BE1C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8013EEC0 0013BE20 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8013EEC4 0013BE24 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 8013EEC8 0013BE28 7C 08 03 A6 */ mtlr r0 -/* 8013EECC 0013BE2C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8013EED0 0013BE30 4E 80 00 20 */ blr - -.global Start__12CBSGroundHitFR15CBodyControllerR13CStateManager -Start__12CBSGroundHitFR15CBodyControllerR13CStateManager: -/* 8013EED4 0013BE34 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 8013EED8 0013BE38 7C 08 02 A6 */ mflr r0 -/* 8013EEDC 0013BE3C 90 01 01 64 */ stw r0, 0x164(r1) -/* 8013EEE0 0013BE40 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 8013EEE4 0013BE44 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 8013EEE8 0013BE48 BF 61 01 3C */ stmw r27, 0x13c(r1) -/* 8013EEEC 0013BE4C 7C 9E 23 78 */ mr r30, r4 -/* 8013EEF0 0013BE50 7C 7D 1B 78 */ mr r29, r3 -/* 8013EEF4 0013BE54 7C BB 2B 78 */ mr r27, r5 -/* 8013EEF8 0013BE58 38 80 00 04 */ li r4, 4 -/* 8013EEFC 0013BE5C 38 7E 00 04 */ addi r3, r30, 4 -/* 8013EF00 0013BE60 4B FF 25 51 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8013EF04 0013BE64 80 9E 00 00 */ lwz r4, 0(r30) -/* 8013EF08 0013BE68 7C 65 1B 78 */ mr r5, r3 -/* 8013EF0C 0013BE6C 38 61 00 90 */ addi r3, r1, 0x90 -/* 8013EF10 0013BE70 38 84 00 34 */ addi r4, r4, 0x34 -/* 8013EF14 0013BE74 38 A5 00 08 */ addi r5, r5, 8 -/* 8013EF18 0013BE78 48 1D 3B 0D */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 8013EF1C 0013BE7C C0 21 00 94 */ lfs f1, 0x94(r1) -/* 8013EF20 0013BE80 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 8013EF24 0013BE84 48 25 5D 49 */ bl atan2 -/* 8013EF28 0013BE88 FC 80 08 18 */ frsp f4, f1 -/* 8013EF2C 0013BE8C C0 02 9B 2C */ lfs f0, lbl_805AB84C@sda21(r2) -/* 8013EF30 0013BE90 3C 00 43 30 */ lis r0, 0x4330 -/* 8013EF34 0013BE94 C8 62 9B 50 */ lfd f3, lbl_805AB870@sda21(r2) -/* 8013EF38 0013BE98 90 01 01 18 */ stw r0, 0x118(r1) -/* 8013EF3C 0013BE9C EC 44 00 32 */ fmuls f2, f4, f0 -/* 8013EF40 0013BEA0 C0 22 9B 30 */ lfs f1, lbl_805AB850@sda21(r2) -/* 8013EF44 0013BEA4 C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) -/* 8013EF48 0013BEA8 FC 40 10 1E */ fctiwz f2, f2 -/* 8013EF4C 0013BEAC D8 41 01 10 */ stfd f2, 0x110(r1) -/* 8013EF50 0013BEB0 80 01 01 14 */ lwz r0, 0x114(r1) -/* 8013EF54 0013BEB4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8013EF58 0013BEB8 90 01 01 1C */ stw r0, 0x11c(r1) -/* 8013EF5C 0013BEBC C8 41 01 18 */ lfd f2, 0x118(r1) -/* 8013EF60 0013BEC0 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8013EF64 0013BEC4 EF E2 20 7C */ fnmsubs f31, f2, f1, f4 -/* 8013EF68 0013BEC8 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8013EF6C 0013BECC 40 80 00 08 */ bge lbl_8013EF74 -/* 8013EF70 0013BED0 EF FF 08 2A */ fadds f31, f31, f1 -lbl_8013EF74: -/* 8013EF74 0013BED4 7F C3 F3 78 */ mr r3, r30 -/* 8013EF78 0013BED8 4B FF BC 35 */ bl GetFallState__15CBodyControllerCFv -/* 8013EF7C 0013BEDC 7C 60 1B 78 */ mr r0, r3 -/* 8013EF80 0013BEE0 7F C3 F3 78 */ mr r3, r30 -/* 8013EF84 0013BEE4 7C 1F 03 78 */ mr r31, r0 -/* 8013EF88 0013BEE8 4B FF B4 CD */ bl GetPASDatabase__15CBodyControllerCFv -/* 8013EF8C 0013BEEC 7C 60 1B 78 */ mr r0, r3 -/* 8013EF90 0013BEF0 38 61 00 38 */ addi r3, r1, 0x38 -/* 8013EF94 0013BEF4 7C 1C 03 78 */ mr r28, r0 -/* 8013EF98 0013BEF8 48 1A 40 E5 */ bl NoParameter__12CPASAnimParmFv -/* 8013EF9C 0013BEFC 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013EFA0 0013BF00 48 1A 40 DD */ bl NoParameter__12CPASAnimParmFv -/* 8013EFA4 0013BF04 38 61 00 48 */ addi r3, r1, 0x48 -/* 8013EFA8 0013BF08 48 1A 40 D5 */ bl NoParameter__12CPASAnimParmFv -/* 8013EFAC 0013BF0C 38 61 00 50 */ addi r3, r1, 0x50 -/* 8013EFB0 0013BF10 48 1A 40 CD */ bl NoParameter__12CPASAnimParmFv -/* 8013EFB4 0013BF14 38 61 00 58 */ addi r3, r1, 0x58 -/* 8013EFB8 0013BF18 48 1A 40 C5 */ bl NoParameter__12CPASAnimParmFv -/* 8013EFBC 0013BF1C 38 61 00 60 */ addi r3, r1, 0x60 -/* 8013EFC0 0013BF20 48 1A 40 BD */ bl NoParameter__12CPASAnimParmFv -/* 8013EFC4 0013BF24 C0 02 9B 34 */ lfs f0, lbl_805AB854@sda21(r2) -/* 8013EFC8 0013BF28 38 61 00 68 */ addi r3, r1, 0x68 -/* 8013EFCC 0013BF2C EC 20 07 F2 */ fmuls f1, f0, f31 -/* 8013EFD0 0013BF30 48 1A 40 19 */ bl FromReal32__12CPASAnimParmFf -/* 8013EFD4 0013BF34 7F E4 FB 78 */ mr r4, r31 -/* 8013EFD8 0013BF38 38 61 00 70 */ addi r3, r1, 0x70 -/* 8013EFDC 0013BF3C 48 1A 3F A9 */ bl FromEnum__12CPASAnimParmFi -/* 8013EFE0 0013BF40 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013EFE4 0013BF44 38 01 00 38 */ addi r0, r1, 0x38 -/* 8013EFE8 0013BF48 90 61 00 08 */ stw r3, 8(r1) -/* 8013EFEC 0013BF4C 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8013EFF0 0013BF50 38 A1 00 70 */ addi r5, r1, 0x70 -/* 8013EFF4 0013BF54 38 C1 00 68 */ addi r6, r1, 0x68 -/* 8013EFF8 0013BF58 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013EFFC 0013BF5C 38 E1 00 60 */ addi r7, r1, 0x60 -/* 8013F000 0013BF60 39 01 00 58 */ addi r8, r1, 0x58 -/* 8013F004 0013BF64 39 21 00 50 */ addi r9, r1, 0x50 -/* 8013F008 0013BF68 39 41 00 48 */ addi r10, r1, 0x48 -/* 8013F00C 0013BF6C 38 80 00 0B */ li r4, 0xb -/* 8013F010 0013BF70 4B F3 E2 B5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8013F014 0013BF74 80 DB 09 00 */ lwz r6, 0x900(r27) -/* 8013F018 0013BF78 7F 84 E3 78 */ mr r4, r28 -/* 8013F01C 0013BF7C 38 61 00 30 */ addi r3, r1, 0x30 -/* 8013F020 0013BF80 38 A1 00 C4 */ addi r5, r1, 0xc4 -/* 8013F024 0013BF84 38 E0 FF FF */ li r7, -1 -/* 8013F028 0013BF88 48 1A 60 39 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 8013F02C 0013BF8C 83 E1 00 34 */ lwz r31, 0x34(r1) -/* 8013F030 0013BF90 38 00 00 00 */ li r0, 0 -/* 8013F034 0013BF94 C0 02 9B 38 */ lfs f0, lbl_805AB858@sda21(r2) -/* 8013F038 0013BF98 38 A0 FF FF */ li r5, -1 -/* 8013F03C 0013BF9C 38 E0 00 01 */ li r7, 1 -/* 8013F040 0013BFA0 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 8013F044 0013BFA4 7F C3 F3 78 */ mr r3, r30 -/* 8013F048 0013BFA8 38 81 00 9C */ addi r4, r1, 0x9c -/* 8013F04C 0013BFAC 90 A1 00 A0 */ stw r5, 0xa0(r1) -/* 8013F050 0013BFB0 38 A0 00 00 */ li r5, 0 -/* 8013F054 0013BFB4 38 C0 00 00 */ li r6, 0 -/* 8013F058 0013BFB8 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 8013F05C 0013BFBC 98 E1 00 A8 */ stb r7, 0xa8(r1) -/* 8013F060 0013BFC0 90 01 00 AC */ stw r0, 0xac(r1) -/* 8013F064 0013BFC4 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 8013F068 0013BFC8 98 01 00 B4 */ stb r0, 0xb4(r1) -/* 8013F06C 0013BFCC 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 8013F070 0013BFD0 90 01 00 BC */ stw r0, 0xbc(r1) -/* 8013F074 0013BFD4 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 8013F078 0013BFD8 4B FF B8 A5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 8013F07C 0013BFDC 7F 83 E3 78 */ mr r3, r28 -/* 8013F080 0013BFE0 38 80 00 0B */ li r4, 0xb -/* 8013F084 0013BFE4 48 1A 5E 41 */ bl GetAnimState__12CPASDatabaseCFi -/* 8013F088 0013BFE8 7C 7C 1B 78 */ mr r28, r3 -/* 8013F08C 0013BFEC 7F E5 FB 78 */ mr r5, r31 -/* 8013F090 0013BFF0 38 61 00 28 */ addi r3, r1, 0x28 -/* 8013F094 0013BFF4 38 C0 00 02 */ li r6, 2 -/* 8013F098 0013BFF8 7F 84 E3 78 */ mr r4, r28 -/* 8013F09C 0013BFFC 48 1A 4F 59 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 8013F0A0 0013C000 80 81 00 28 */ lwz r4, 0x28(r1) -/* 8013F0A4 0013C004 38 61 00 88 */ addi r3, r1, 0x88 -/* 8013F0A8 0013C008 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8013F0AC 0013C00C 90 81 00 88 */ stw r4, 0x88(r1) -/* 8013F0B0 0013C010 90 01 00 8C */ stw r0, 0x8c(r1) -/* 8013F0B4 0013C014 48 1A 3E B1 */ bl GetBoolValue__12CPASAnimParmCFv -/* 8013F0B8 0013C018 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013F0BC 0013C01C 40 82 01 50 */ bne lbl_8013F20C -/* 8013F0C0 0013C020 7F 84 E3 78 */ mr r4, r28 -/* 8013F0C4 0013C024 7F E5 FB 78 */ mr r5, r31 -/* 8013F0C8 0013C028 38 61 00 20 */ addi r3, r1, 0x20 -/* 8013F0CC 0013C02C 38 C0 00 01 */ li r6, 1 -/* 8013F0D0 0013C030 48 1A 4F 25 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 8013F0D4 0013C034 80 81 00 20 */ lwz r4, 0x20(r1) -/* 8013F0D8 0013C038 38 61 00 80 */ addi r3, r1, 0x80 -/* 8013F0DC 0013C03C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8013F0E0 0013C040 90 81 00 80 */ stw r4, 0x80(r1) -/* 8013F0E4 0013C044 90 01 00 84 */ stw r0, 0x84(r1) -/* 8013F0E8 0013C048 48 1A 3E 85 */ bl GetReal32Value__12CPASAnimParmCFv -/* 8013F0EC 0013C04C C0 02 9B 3C */ lfs f0, lbl_805AB85C@sda21(r2) -/* 8013F0F0 0013C050 3C 00 43 30 */ lis r0, 0x4330 -/* 8013F0F4 0013C054 C0 42 9B 2C */ lfs f2, lbl_805AB84C@sda21(r2) -/* 8013F0F8 0013C058 EC A0 00 72 */ fmuls f5, f0, f1 -/* 8013F0FC 0013C05C 90 01 01 10 */ stw r0, 0x110(r1) -/* 8013F100 0013C060 C8 62 9B 50 */ lfd f3, lbl_805AB870@sda21(r2) -/* 8013F104 0013C064 C0 22 9B 30 */ lfs f1, lbl_805AB850@sda21(r2) -/* 8013F108 0013C068 EC 9F 28 28 */ fsubs f4, f31, f5 -/* 8013F10C 0013C06C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) -/* 8013F110 0013C070 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 8013F114 0013C074 FC 40 10 1E */ fctiwz f2, f2 -/* 8013F118 0013C078 D8 41 01 18 */ stfd f2, 0x118(r1) -/* 8013F11C 0013C07C 80 01 01 1C */ lwz r0, 0x11c(r1) -/* 8013F120 0013C080 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8013F124 0013C084 90 01 01 14 */ stw r0, 0x114(r1) -/* 8013F128 0013C088 C8 41 01 10 */ lfd f2, 0x110(r1) -/* 8013F12C 0013C08C EC 42 18 28 */ fsubs f2, f2, f3 -/* 8013F130 0013C090 EC C2 20 7C */ fnmsubs f6, f2, f1, f4 -/* 8013F134 0013C094 FC 80 30 90 */ fmr f4, f6 -/* 8013F138 0013C098 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 8013F13C 0013C09C 40 80 00 08 */ bge lbl_8013F144 -/* 8013F140 0013C0A0 EC 86 08 2A */ fadds f4, f6, f1 -lbl_8013F144: -/* 8013F144 0013C0A4 EC A5 F8 28 */ fsubs f5, f5, f31 -/* 8013F148 0013C0A8 C0 02 9B 2C */ lfs f0, lbl_805AB84C@sda21(r2) -/* 8013F14C 0013C0AC 3C 00 43 30 */ lis r0, 0x4330 -/* 8013F150 0013C0B0 C8 62 9B 50 */ lfd f3, lbl_805AB870@sda21(r2) -/* 8013F154 0013C0B4 90 01 01 28 */ stw r0, 0x128(r1) -/* 8013F158 0013C0B8 EC 45 00 32 */ fmuls f2, f5, f0 -/* 8013F15C 0013C0BC C0 22 9B 30 */ lfs f1, lbl_805AB850@sda21(r2) -/* 8013F160 0013C0C0 C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) -/* 8013F164 0013C0C4 FC 40 10 1E */ fctiwz f2, f2 -/* 8013F168 0013C0C8 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 8013F16C 0013C0CC D8 41 01 20 */ stfd f2, 0x120(r1) -/* 8013F170 0013C0D0 80 01 01 24 */ lwz r0, 0x124(r1) -/* 8013F174 0013C0D4 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8013F178 0013C0D8 90 01 01 2C */ stw r0, 0x12c(r1) -/* 8013F17C 0013C0DC C8 41 01 28 */ lfd f2, 0x128(r1) -/* 8013F180 0013C0E0 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8013F184 0013C0E4 EC 42 28 7C */ fnmsubs f2, f2, f1, f5 -/* 8013F188 0013C0E8 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 8013F18C 0013C0EC 40 80 00 08 */ bge lbl_8013F194 -/* 8013F190 0013C0F0 EC 42 08 2A */ fadds f2, f2, f1 -lbl_8013F194: -/* 8013F194 0013C0F4 FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 8013F198 0013C0F8 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 8013F19C 0013C0FC 40 80 00 0C */ bge lbl_8013F1A8 -/* 8013F1A0 0013C100 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013F1A4 0013C104 48 00 00 08 */ b lbl_8013F1AC -lbl_8013F1A8: -/* 8013F1A8 0013C108 38 61 00 14 */ addi r3, r1, 0x14 -lbl_8013F1AC: -/* 8013F1AC 0013C10C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) -/* 8013F1B0 0013C110 C0 23 00 00 */ lfs f1, 0(r3) -/* 8013F1B4 0013C114 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 8013F1B8 0013C118 40 80 00 0C */ bge lbl_8013F1C4 -/* 8013F1BC 0013C11C C0 02 9B 30 */ lfs f0, lbl_805AB850@sda21(r2) -/* 8013F1C0 0013C120 EC C6 00 2A */ fadds f6, f6, f0 -lbl_8013F1C4: -/* 8013F1C4 0013C124 C0 02 9B 40 */ lfs f0, lbl_805AB860@sda21(r2) -/* 8013F1C8 0013C128 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 8013F1CC 0013C12C 40 81 00 0C */ ble lbl_8013F1D8 -/* 8013F1D0 0013C130 FF E0 08 50 */ fneg f31, f1 -/* 8013F1D4 0013C134 48 00 00 08 */ b lbl_8013F1DC -lbl_8013F1D8: -/* 8013F1D8 0013C138 FF E0 08 90 */ fmr f31, f1 -lbl_8013F1DC: -/* 8013F1DC 0013C13C 7F C3 F3 78 */ mr r3, r30 -/* 8013F1E0 0013C140 4B FF B6 D9 */ bl GetAnimTimeRemaining__15CBodyControllerCFv -/* 8013F1E4 0013C144 C0 42 9B 44 */ lfs f2, lbl_805AB864@sda21(r2) -/* 8013F1E8 0013C148 C0 02 9B 48 */ lfs f0, lbl_805AB868@sda21(r2) -/* 8013F1EC 0013C14C EC 22 00 72 */ fmuls f1, f2, f1 -/* 8013F1F0 0013C150 D0 3D 00 08 */ stfs f1, 8(r29) -/* 8013F1F4 0013C154 C0 3D 00 08 */ lfs f1, 8(r29) -/* 8013F1F8 0013C158 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013F1FC 0013C15C 40 81 00 08 */ ble lbl_8013F204 -/* 8013F200 0013C160 EF FF 08 24 */ fdivs f31, f31, f1 -lbl_8013F204: -/* 8013F204 0013C164 D3 FD 00 04 */ stfs f31, 4(r29) -/* 8013F208 0013C168 48 00 00 10 */ b lbl_8013F218 -lbl_8013F20C: -/* 8013F20C 0013C16C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) -/* 8013F210 0013C170 D0 1D 00 08 */ stfs f0, 8(r29) -/* 8013F214 0013C174 D0 1D 00 04 */ stfs f0, 4(r29) -lbl_8013F218: -/* 8013F218 0013C178 7F 84 E3 78 */ mr r4, r28 -/* 8013F21C 0013C17C 7F E5 FB 78 */ mr r5, r31 -/* 8013F220 0013C180 38 61 00 18 */ addi r3, r1, 0x18 -/* 8013F224 0013C184 38 C0 00 03 */ li r6, 3 -/* 8013F228 0013C188 48 1A 4D CD */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 8013F22C 0013C18C 80 81 00 18 */ lwz r4, 0x18(r1) -/* 8013F230 0013C190 38 61 00 78 */ addi r3, r1, 0x78 -/* 8013F234 0013C194 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 8013F238 0013C198 90 81 00 78 */ stw r4, 0x78(r1) -/* 8013F23C 0013C19C 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8013F240 0013C1A0 48 1A 3D 1D */ bl GetEnumValue__12CPASAnimParmCFv -/* 8013F244 0013C1A4 34 A1 00 C8 */ addic. r5, r1, 0xc8 -/* 8013F248 0013C1A8 90 7D 00 0C */ stw r3, 0xc(r29) -/* 8013F24C 0013C1AC 41 82 00 58 */ beq lbl_8013F2A4 -/* 8013F250 0013C1B0 80 C5 00 00 */ lwz r6, 0(r5) -/* 8013F254 0013C1B4 38 60 00 00 */ li r3, 0 -/* 8013F258 0013C1B8 2C 06 00 00 */ cmpwi r6, 0 -/* 8013F25C 0013C1BC 40 81 00 40 */ ble lbl_8013F29C -/* 8013F260 0013C1C0 2C 06 00 08 */ cmpwi r6, 8 -/* 8013F264 0013C1C4 38 86 FF F8 */ addi r4, r6, -8 -/* 8013F268 0013C1C8 40 81 00 20 */ ble lbl_8013F288 -/* 8013F26C 0013C1CC 38 04 00 07 */ addi r0, r4, 7 -/* 8013F270 0013C1D0 54 00 E8 FE */ srwi r0, r0, 3 -/* 8013F274 0013C1D4 7C 09 03 A6 */ mtctr r0 -/* 8013F278 0013C1D8 2C 04 00 00 */ cmpwi r4, 0 -/* 8013F27C 0013C1DC 40 81 00 0C */ ble lbl_8013F288 -lbl_8013F280: -/* 8013F280 0013C1E0 38 63 00 08 */ addi r3, r3, 8 -/* 8013F284 0013C1E4 42 00 FF FC */ bdnz lbl_8013F280 -lbl_8013F288: -/* 8013F288 0013C1E8 7C 03 30 50 */ subf r0, r3, r6 -/* 8013F28C 0013C1EC 7C 09 03 A6 */ mtctr r0 -/* 8013F290 0013C1F0 7C 03 30 00 */ cmpw r3, r6 -/* 8013F294 0013C1F4 40 80 00 08 */ bge lbl_8013F29C -lbl_8013F298: -/* 8013F298 0013C1F8 42 00 00 00 */ bdnz lbl_8013F298 -lbl_8013F29C: -/* 8013F29C 0013C1FC 38 00 00 00 */ li r0, 0 -/* 8013F2A0 0013C200 90 05 00 00 */ stw r0, 0(r5) -lbl_8013F2A4: -/* 8013F2A4 0013C204 E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 8013F2A8 0013C208 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 8013F2AC 0013C20C BB 61 01 3C */ lmw r27, 0x13c(r1) -/* 8013F2B0 0013C210 80 01 01 64 */ lwz r0, 0x164(r1) -/* 8013F2B4 0013C214 7C 08 03 A6 */ mtlr r0 -/* 8013F2B8 0013C218 38 21 01 60 */ addi r1, r1, 0x160 -/* 8013F2BC 0013C21C 4E 80 00 20 */ blr - -.global __ct__12CBSGroundHitFv -__ct__12CBSGroundHitFv: -/* 8013F2C0 0013C220 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 8013F2C4 0013C224 3C 80 80 3E */ lis r4, lbl_803E18B0@ha -/* 8013F2C8 0013C228 38 05 13 18 */ addi r0, r5, lbl_803E1318@l -/* 8013F2CC 0013C22C C0 02 9B 28 */ lfs f0, lbl_805AB848@sda21(r2) -/* 8013F2D0 0013C230 90 03 00 00 */ stw r0, 0(r3) -/* 8013F2D4 0013C234 38 84 18 B0 */ addi r4, r4, lbl_803E18B0@l -/* 8013F2D8 0013C238 38 00 FF FF */ li r0, -1 -/* 8013F2DC 0013C23C 90 83 00 00 */ stw r4, 0(r3) -/* 8013F2E0 0013C240 D0 03 00 04 */ stfs f0, 4(r3) -/* 8013F2E4 0013C244 D0 03 00 08 */ stfs f0, 8(r3) -/* 8013F2E8 0013C248 90 03 00 0C */ stw r0, 0xc(r3) -/* 8013F2EC 0013C24C 4E 80 00 20 */ blr - -.global __dt__11CChozoGhostFv -__dt__11CChozoGhostFv: -/* 8013F2F0 0013C250 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013F2F4 0013C254 7C 08 02 A6 */ mflr r0 -/* 8013F2F8 0013C258 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013F2FC 0013C25C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013F300 0013C260 7C 9F 23 78 */ mr r31, r4 -/* 8013F304 0013C264 93 C1 00 08 */ stw r30, 8(r1) -/* 8013F308 0013C268 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8013F30C 0013C26C 41 82 00 C0 */ beq lbl_8013F3CC -/* 8013F310 0013C270 3C 60 80 3E */ lis r3, lbl_803E1918@ha -/* 8013F314 0013C274 34 1E 06 8C */ addic. r0, r30, 0x68c -/* 8013F318 0013C278 38 03 19 18 */ addi r0, r3, lbl_803E1918@l -/* 8013F31C 0013C27C 90 1E 00 00 */ stw r0, 0(r30) -/* 8013F320 0013C280 41 82 00 14 */ beq lbl_8013F334 -/* 8013F324 0013C284 34 1E 06 B0 */ addic. r0, r30, 0x6b0 -/* 8013F328 0013C288 41 82 00 0C */ beq lbl_8013F334 -/* 8013F32C 0013C28C 38 00 00 00 */ li r0, 0 -/* 8013F330 0013C290 98 1E 06 BC */ stb r0, 0x6bc(r30) -lbl_8013F334: -/* 8013F334 0013C294 34 1E 06 40 */ addic. r0, r30, 0x640 -/* 8013F338 0013C298 41 82 00 30 */ beq lbl_8013F368 -/* 8013F33C 0013C29C 88 1E 06 4C */ lbz r0, 0x64c(r30) -/* 8013F340 0013C2A0 28 00 00 00 */ cmplwi r0, 0 -/* 8013F344 0013C2A4 41 82 00 1C */ beq lbl_8013F360 -/* 8013F348 0013C2A8 34 7E 06 40 */ addic. r3, r30, 0x640 -/* 8013F34C 0013C2AC 41 82 00 14 */ beq lbl_8013F360 -/* 8013F350 0013C2B0 28 03 00 00 */ cmplwi r3, 0 -/* 8013F354 0013C2B4 41 82 00 0C */ beq lbl_8013F360 -/* 8013F358 0013C2B8 38 80 00 00 */ li r4, 0 -/* 8013F35C 0013C2BC 48 20 1A E5 */ bl __dt__6CTokenFv -lbl_8013F360: -/* 8013F360 0013C2C0 38 00 00 00 */ li r0, 0 -/* 8013F364 0013C2C4 98 1E 06 4C */ stb r0, 0x64c(r30) -lbl_8013F368: -/* 8013F368 0013C2C8 34 1E 05 A0 */ addic. r0, r30, 0x5a0 -/* 8013F36C 0013C2CC 41 82 00 20 */ beq lbl_8013F38C -/* 8013F370 0013C2D0 34 1E 05 A0 */ addic. r0, r30, 0x5a0 -/* 8013F374 0013C2D4 41 82 00 18 */ beq lbl_8013F38C -/* 8013F378 0013C2D8 34 1E 05 A0 */ addic. r0, r30, 0x5a0 -/* 8013F37C 0013C2DC 41 82 00 10 */ beq lbl_8013F38C -/* 8013F380 0013C2E0 38 7E 05 A0 */ addi r3, r30, 0x5a0 -/* 8013F384 0013C2E4 38 80 00 00 */ li r4, 0 -/* 8013F388 0013C2E8 48 20 1A B9 */ bl __dt__6CTokenFv -lbl_8013F38C: -/* 8013F38C 0013C2EC 34 1E 05 78 */ addic. r0, r30, 0x578 -/* 8013F390 0013C2F0 41 82 00 20 */ beq lbl_8013F3B0 -/* 8013F394 0013C2F4 34 1E 05 78 */ addic. r0, r30, 0x578 -/* 8013F398 0013C2F8 41 82 00 18 */ beq lbl_8013F3B0 -/* 8013F39C 0013C2FC 34 1E 05 78 */ addic. r0, r30, 0x578 -/* 8013F3A0 0013C300 41 82 00 10 */ beq lbl_8013F3B0 -/* 8013F3A4 0013C304 38 7E 05 78 */ addi r3, r30, 0x578 -/* 8013F3A8 0013C308 38 80 00 00 */ li r4, 0 -/* 8013F3AC 0013C30C 48 20 1A 95 */ bl __dt__6CTokenFv -lbl_8013F3B0: -/* 8013F3B0 0013C310 7F C3 F3 78 */ mr r3, r30 -/* 8013F3B4 0013C314 38 80 00 00 */ li r4, 0 -/* 8013F3B8 0013C318 4B F3 81 B9 */ bl __dt__10CPatternedFv -/* 8013F3BC 0013C31C 7F E0 07 35 */ extsh. r0, r31 -/* 8013F3C0 0013C320 40 81 00 0C */ ble lbl_8013F3CC -/* 8013F3C4 0013C324 7F C3 F3 78 */ mr r3, r30 -/* 8013F3C8 0013C328 48 1D 65 69 */ bl Free__7CMemoryFPCv -lbl_8013F3CC: -/* 8013F3CC 0013C32C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013F3D0 0013C330 7F C3 F3 78 */ mr r3, r30 -/* 8013F3D4 0013C334 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013F3D8 0013C338 83 C1 00 08 */ lwz r30, 8(r1) -/* 8013F3DC 0013C33C 7C 08 03 A6 */ mtlr r0 -/* 8013F3E0 0013C340 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013F3E4 0013C344 4E 80 00 20 */ blr - -.global GetGravityConstant__11CChozoGhostCFv -GetGravityConstant__11CChozoGhostCFv: -/* 8013F3E8 0013C348 C0 22 9B 58 */ lfs f1, lbl_805AB878@sda21(r2) -/* 8013F3EC 0013C34C 4E 80 00 20 */ blr - -.global Think__11CChozoGhostFfR13CStateManager -Think__11CChozoGhostFfR13CStateManager: -/* 8013F3F0 0013C350 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8013F3F4 0013C354 7C 08 02 A6 */ mflr r0 -/* 8013F3F8 0013C358 90 01 00 34 */ stw r0, 0x34(r1) -/* 8013F3FC 0013C35C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8013F400 0013C360 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8013F404 0013C364 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013F408 0013C368 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8013F40C 0013C36C 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8013F410 0013C370 FF E0 08 90 */ fmr f31, f1 -/* 8013F414 0013C374 7C 7E 1B 78 */ mr r30, r3 -/* 8013F418 0013C378 7C 9F 23 78 */ mr r31, r4 -/* 8013F41C 0013C37C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013F420 0013C380 41 82 00 58 */ beq lbl_8013F478 -/* 8013F424 0013C384 4B F3 A6 F5 */ bl Think__10CPatternedFfR13CStateManager -/* 8013F428 0013C388 7F C3 F3 78 */ mr r3, r30 -/* 8013F42C 0013C38C 38 80 00 00 */ li r4, 0 -/* 8013F430 0013C390 4B F3 84 25 */ bl UpdateThermalFrozenState__10CPatternedFb -/* 8013F434 0013C394 FC 20 F8 90 */ fmr f1, f31 -/* 8013F438 0013C398 38 7E 06 8C */ addi r3, r30, 0x68c -/* 8013F43C 0013C39C 48 03 65 6D */ bl Update__13CBoneTrackingFf -/* 8013F440 0013C3A0 C0 1E 06 C8 */ lfs f0, 0x6c8(r30) -/* 8013F444 0013C3A4 38 81 00 08 */ addi r4, r1, 8 -/* 8013F448 0013C3A8 38 6D 8B B8 */ addi r3, r13, lbl_805A7778@sda21 -/* 8013F44C 0013C3AC EC 00 F8 28 */ fsubs f0, f0, f31 -/* 8013F450 0013C3B0 D0 01 00 08 */ stfs f0, 8(r1) -/* 8013F454 0013C3B4 4B F1 02 DD */ bl "Max__5CMathFRCfRCf" -/* 8013F458 0013C3B8 C0 03 00 00 */ lfs f0, 0(r3) -/* 8013F45C 0013C3BC 7F C3 F3 78 */ mr r3, r30 -/* 8013F460 0013C3C0 7F E4 FB 78 */ mr r4, r31 -/* 8013F464 0013C3C4 D0 1E 06 C8 */ stfs f0, 0x6c8(r30) -/* 8013F468 0013C3C8 48 00 22 F9 */ bl sub_80141760 -/* 8013F46C 0013C3CC 88 1E 00 E7 */ lbz r0, 0xe7(r30) -/* 8013F470 0013C3D0 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 8013F474 0013C3D4 98 1E 00 E7 */ stb r0, 0xe7(r30) -lbl_8013F478: -/* 8013F478 0013C3D8 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8013F47C 0013C3DC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8013F480 0013C3E0 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8013F484 0013C3E4 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013F488 0013C3E8 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8013F48C 0013C3EC 7C 08 03 A6 */ mtlr r0 -/* 8013F490 0013C3F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 8013F494 0013C3F4 4E 80 00 20 */ blr - -.global KnockBack__11CChozoGhostFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef -KnockBack__11CChozoGhostFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: -/* 8013F498 0013C3F8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8013F49C 0013C3FC 7C 08 02 A6 */ mflr r0 -/* 8013F4A0 0013C400 90 01 00 44 */ stw r0, 0x44(r1) -/* 8013F4A4 0013C404 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8013F4A8 0013C408 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8013F4AC 0013C40C BF 41 00 18 */ stmw r26, 0x18(r1) -/* 8013F4B0 0013C410 88 03 04 00 */ lbz r0, 0x400(r3) -/* 8013F4B4 0013C414 FF E0 08 90 */ fmr f31, f1 -/* 8013F4B8 0013C418 7C 7F 1B 78 */ mr r31, r3 -/* 8013F4BC 0013C41C 7C 9A 23 78 */ mr r26, r4 -/* 8013F4C0 0013C420 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8013F4C4 0013C424 7C BB 2B 78 */ mr r27, r5 -/* 8013F4C8 0013C428 7C DC 33 78 */ mr r28, r6 -/* 8013F4CC 0013C42C 7C FD 3B 78 */ mr r29, r7 -/* 8013F4D0 0013C430 7D 1E 43 78 */ mr r30, r8 -/* 8013F4D4 0013C434 40 82 00 18 */ bne lbl_8013F4EC -/* 8013F4D8 0013C438 38 7F 04 60 */ addi r3, r31, 0x460 -/* 8013F4DC 0013C43C 38 80 00 03 */ li r4, 3 -/* 8013F4E0 0013C440 38 A0 00 00 */ li r5, 0 -/* 8013F4E4 0013C444 48 0F 48 E1 */ bl SetAvailableState__20CKnockBackControllerFib -/* 8013F4E8 0013C448 48 00 00 34 */ b lbl_8013F51C -lbl_8013F4EC: -/* 8013F4EC 0013C44C 38 7F 04 60 */ addi r3, r31, 0x460 -/* 8013F4F0 0013C450 38 80 00 02 */ li r4, 2 -/* 8013F4F4 0013C454 48 0F 48 AD */ bl TestAvailableState__20CKnockBackControllerCFi -/* 8013F4F8 0013C458 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013F4FC 0013C45C 40 82 00 20 */ bne lbl_8013F51C -/* 8013F500 0013C460 88 1C 00 04 */ lbz r0, 4(r28) -/* 8013F504 0013C464 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8013F508 0013C468 41 82 00 14 */ beq lbl_8013F51C -/* 8013F50C 0013C46C 38 7F 04 60 */ addi r3, r31, 0x460 -/* 8013F510 0013C470 38 80 00 03 */ li r4, 3 -/* 8013F514 0013C474 38 A0 00 04 */ li r5, 4 -/* 8013F518 0013C478 48 0F 48 7D */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState -lbl_8013F51C: -/* 8013F51C 0013C47C FC 20 F8 90 */ fmr f1, f31 -/* 8013F520 0013C480 7F E3 FB 78 */ mr r3, r31 -/* 8013F524 0013C484 7F 44 D3 78 */ mr r4, r26 -/* 8013F528 0013C488 7F 65 DB 78 */ mr r5, r27 -/* 8013F52C 0013C48C 7F 86 E3 78 */ mr r6, r28 -/* 8013F530 0013C490 7F A7 EB 78 */ mr r7, r29 -/* 8013F534 0013C494 7F C8 F3 78 */ mr r8, r30 -/* 8013F538 0013C498 4B F3 B2 45 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef -/* 8013F53C 0013C49C 38 7F 04 60 */ addi r3, r31, 0x460 -/* 8013F540 0013C4A0 38 80 00 01 */ li r4, 1 -/* 8013F544 0013C4A4 38 A0 00 04 */ li r5, 4 -/* 8013F548 0013C4A8 48 0F 48 4D */ bl SetAnimationStateRange__20CKnockBackControllerF24EKnockBackAnimationState24EKnockBackAnimationState -/* 8013F54C 0013C4AC 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 8013F550 0013C4B0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8013F554 0013C4B4 41 82 00 4C */ beq lbl_8013F5A0 -/* 8013F558 0013C4B8 80 1F 04 64 */ lwz r0, 0x464(r31) -/* 8013F55C 0013C4BC 2C 00 00 03 */ cmpwi r0, 3 -/* 8013F560 0013C4C0 40 82 00 64 */ bne lbl_8013F5C4 -/* 8013F564 0013C4C4 3C 80 80 3D */ lis r4, lbl_803D0078@ha -/* 8013F568 0013C4C8 38 61 00 08 */ addi r3, r1, 8 -/* 8013F56C 0013C4CC 38 84 00 78 */ addi r4, r4, lbl_803D0078@l -/* 8013F570 0013C4D0 4B EC 57 49 */ bl string_l__4rstlFPCc -/* 8013F574 0013C4D4 7F E3 FB 78 */ mr r3, r31 -/* 8013F578 0013C4D8 4B F6 33 81 */ bl GetStateMachine__3CAiFv -/* 8013F57C 0013C4DC 7C 66 1B 78 */ mr r6, r3 -/* 8013F580 0013C4E0 7F 64 DB 78 */ mr r4, r27 -/* 8013F584 0013C4E4 7F E5 FB 78 */ mr r5, r31 -/* 8013F588 0013C4E8 38 7F 03 30 */ addi r3, r31, 0x330 -/* 8013F58C 0013C4EC 38 E1 00 08 */ addi r7, r1, 8 -/* 8013F590 0013C4F0 4B F4 06 75 */ bl "SetState__18CStateMachineStateFR13CStateManagerR3CAiPC13CStateMachineRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8013F594 0013C4F4 38 61 00 08 */ addi r3, r1, 8 -/* 8013F598 0013C4F8 48 1F E5 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 8013F59C 0013C4FC 48 00 00 28 */ b lbl_8013F5C4 -lbl_8013F5A0: -/* 8013F5A0 0013C500 7F E3 FB 78 */ mr r3, r31 -/* 8013F5A4 0013C504 4B FD BD D5 */ bl Stop__13CPhysicsActorFv -/* 8013F5A8 0013C508 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013F5AC 0013C50C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8013F5B0 0013C510 D0 1F 01 50 */ stfs f0, 0x150(r31) -/* 8013F5B4 0013C514 C0 03 00 04 */ lfs f0, 4(r3) -/* 8013F5B8 0013C518 D0 1F 01 54 */ stfs f0, 0x154(r31) -/* 8013F5BC 0013C51C C0 03 00 08 */ lfs f0, 8(r3) -/* 8013F5C0 0013C520 D0 1F 01 58 */ stfs f0, 0x158(r31) -lbl_8013F5C4: -/* 8013F5C4 0013C524 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8013F5C8 0013C528 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8013F5CC 0013C52C BB 41 00 18 */ lmw r26, 0x18(r1) -/* 8013F5D0 0013C530 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8013F5D4 0013C534 7C 08 03 A6 */ mtlr r0 -/* 8013F5D8 0013C538 38 21 00 40 */ addi r1, r1, 0x40 -/* 8013F5DC 0013C53C 4E 80 00 20 */ blr - -.global DoUserAnimEvent__11CChozoGhostFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__11CChozoGhostFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 8013F5E0 0013C540 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 8013F5E4 0013C544 7C 08 02 A6 */ mflr r0 -/* 8013F5E8 0013C548 90 01 01 64 */ stw r0, 0x164(r1) -/* 8013F5EC 0013C54C DB E1 01 50 */ stfd f31, 0x150(r1) -/* 8013F5F0 0013C550 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 8013F5F4 0013C554 BF 61 01 3C */ stmw r27, 0x13c(r1) -/* 8013F5F8 0013C558 7C DF 33 78 */ mr r31, r6 -/* 8013F5FC 0013C55C FF E0 08 90 */ fmr f31, f1 -/* 8013F600 0013C560 2C 1F 00 0E */ cmpwi r31, 0xe -/* 8013F604 0013C564 7C 7C 1B 78 */ mr r28, r3 -/* 8013F608 0013C568 7C 9D 23 78 */ mr r29, r4 -/* 8013F60C 0013C56C 7C BE 2B 78 */ mr r30, r5 -/* 8013F610 0013C570 38 80 00 00 */ li r4, 0 -/* 8013F614 0013C574 41 82 01 F8 */ beq lbl_8013F80C -/* 8013F618 0013C578 40 80 00 10 */ bge lbl_8013F628 -/* 8013F61C 0013C57C 2C 1F 00 00 */ cmpwi r31, 0 -/* 8013F620 0013C580 41 82 00 14 */ beq lbl_8013F634 -/* 8013F624 0013C584 48 00 03 08 */ b lbl_8013F92C -lbl_8013F628: -/* 8013F628 0013C588 2C 1F 00 10 */ cmpwi r31, 0x10 -/* 8013F62C 0013C58C 40 80 03 00 */ bge lbl_8013F92C -/* 8013F630 0013C590 48 00 02 68 */ b lbl_8013F898 -lbl_8013F634: -/* 8013F634 0013C594 7F 84 E3 78 */ mr r4, r28 -/* 8013F638 0013C598 38 61 00 9C */ addi r3, r1, 0x9c -/* 8013F63C 0013C59C 38 BE 00 3C */ addi r5, r30, 0x3c -/* 8013F640 0013C5A0 4B F3 93 39 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 8013F644 0013C5A4 38 61 00 FC */ addi r3, r1, 0xfc -/* 8013F648 0013C5A8 38 81 00 9C */ addi r4, r1, 0x9c -/* 8013F64C 0013C5AC 48 1D 35 29 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8013F650 0013C5B0 80 9D 08 4C */ lwz r4, 0x84c(r29) -/* 8013F654 0013C5B4 7F A5 EB 78 */ mr r5, r29 -/* 8013F658 0013C5B8 38 61 00 54 */ addi r3, r1, 0x54 -/* 8013F65C 0013C5BC C0 22 9B 5C */ lfs f1, lbl_805AB87C@sda21(r2) -/* 8013F660 0013C5C0 81 84 00 00 */ lwz r12, 0(r4) -/* 8013F664 0013C5C4 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 8013F668 0013C5C8 7D 89 03 A6 */ mtctr r12 -/* 8013F66C 0013C5CC 4E 80 04 21 */ bctrl -/* 8013F670 0013C5D0 C0 A1 00 54 */ lfs f5, 0x54(r1) -/* 8013F674 0013C5D4 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 8013F678 0013C5D8 C0 81 00 58 */ lfs f4, 0x58(r1) -/* 8013F67C 0013C5DC 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l -/* 8013F680 0013C5E0 C0 61 00 5C */ lfs f3, 0x5c(r1) -/* 8013F684 0013C5E4 38 61 00 6C */ addi r3, r1, 0x6c -/* 8013F688 0013C5E8 C0 41 01 08 */ lfs f2, 0x108(r1) -/* 8013F68C 0013C5EC 38 81 00 48 */ addi r4, r1, 0x48 -/* 8013F690 0013C5F0 C0 21 01 18 */ lfs f1, 0x118(r1) -/* 8013F694 0013C5F4 38 A1 00 60 */ addi r5, r1, 0x60 -/* 8013F698 0013C5F8 C0 01 01 28 */ lfs f0, 0x128(r1) -/* 8013F69C 0013C5FC D0 A1 00 60 */ stfs f5, 0x60(r1) -/* 8013F6A0 0013C600 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 8013F6A4 0013C604 D0 61 00 68 */ stfs f3, 0x68(r1) -/* 8013F6A8 0013C608 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 8013F6AC 0013C60C D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 8013F6B0 0013C610 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8013F6B4 0013C614 48 1D 44 5D */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f -/* 8013F6B8 0013C618 38 61 00 CC */ addi r3, r1, 0xcc -/* 8013F6BC 0013C61C 38 81 00 6C */ addi r4, r1, 0x6c -/* 8013F6C0 0013C620 48 1D 34 B5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 8013F6C4 0013C624 80 1C 06 7C */ lwz r0, 0x67c(r28) -/* 8013F6C8 0013C628 2C 00 00 02 */ cmpwi r0, 2 -/* 8013F6CC 0013C62C 41 82 00 08 */ beq lbl_8013F6D4 -/* 8013F6D0 0013C630 48 00 00 84 */ b lbl_8013F754 -lbl_8013F6D4: -/* 8013F6D4 0013C634 C0 02 9B 60 */ lfs f0, lbl_805AB880@sda21(r2) -/* 8013F6D8 0013C638 39 40 00 00 */ li r10, 0 -/* 8013F6DC 0013C63C 38 01 00 3C */ addi r0, r1, 0x3c -/* 8013F6E0 0013C640 7F 83 E3 78 */ mr r3, r28 -/* 8013F6E4 0013C644 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 8013F6E8 0013C648 7F A5 EB 78 */ mr r5, r29 -/* 8013F6EC 0013C64C 38 81 00 CC */ addi r4, r1, 0xcc -/* 8013F6F0 0013C650 39 3C 06 40 */ addi r9, r28, 0x640 -/* 8013F6F4 0013C654 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 8013F6F8 0013C658 38 C0 00 02 */ li r6, 2 -/* 8013F6FC 0013C65C 38 E0 50 00 */ li r7, 0x5000 -/* 8013F700 0013C660 39 00 00 01 */ li r8, 1 -/* 8013F704 0013C664 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 8013F708 0013C668 91 41 00 08 */ stw r10, 8(r1) -/* 8013F70C 0013C66C 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013F710 0013C670 A1 5C 06 50 */ lhz r10, 0x650(r28) -/* 8013F714 0013C674 4B F3 82 E5 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -/* 8013F718 0013C678 28 03 00 00 */ cmplwi r3, 0 -/* 8013F71C 0013C67C 41 82 00 E8 */ beq lbl_8013F804 -/* 8013F720 0013C680 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 8013F724 0013C684 C0 1C 06 2C */ lfs f0, 0x62c(r28) -/* 8013F728 0013C688 60 00 10 00 */ ori r0, r0, 0x1000 -/* 8013F72C 0013C68C 90 03 00 E8 */ stw r0, 0xe8(r3) -/* 8013F730 0013C690 D0 03 01 50 */ stfs f0, 0x150(r3) -/* 8013F734 0013C694 80 03 00 E8 */ lwz r0, 0xe8(r3) -/* 8013F738 0013C698 C0 1C 06 2C */ lfs f0, 0x62c(r28) -/* 8013F73C 0013C69C 60 00 40 00 */ ori r0, r0, 0x4000 -/* 8013F740 0013C6A0 90 03 00 E8 */ stw r0, 0xe8(r3) -/* 8013F744 0013C6A4 D0 03 01 54 */ stfs f0, 0x154(r3) -/* 8013F748 0013C6A8 C0 1C 06 34 */ lfs f0, 0x634(r28) -/* 8013F74C 0013C6AC D0 03 02 E0 */ stfs f0, 0x2e0(r3) -/* 8013F750 0013C6B0 48 00 00 B4 */ b lbl_8013F804 -lbl_8013F754: -/* 8013F754 0013C6B4 C0 02 9B 60 */ lfs f0, lbl_805AB880@sda21(r2) -/* 8013F758 0013C6B8 39 40 00 00 */ li r10, 0 -/* 8013F75C 0013C6BC 38 01 00 30 */ addi r0, r1, 0x30 -/* 8013F760 0013C6C0 7F 83 E3 78 */ mr r3, r28 -/* 8013F764 0013C6C4 D0 01 00 30 */ stfs f0, 0x30(r1) -/* 8013F768 0013C6C8 7F A5 EB 78 */ mr r5, r29 -/* 8013F76C 0013C6CC 38 81 00 CC */ addi r4, r1, 0xcc -/* 8013F770 0013C6D0 39 3C 06 40 */ addi r9, r28, 0x640 -/* 8013F774 0013C6D4 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8013F778 0013C6D8 38 C0 00 05 */ li r6, 5 -/* 8013F77C 0013C6DC 38 E0 60 00 */ li r7, 0x6000 -/* 8013F780 0013C6E0 39 00 00 01 */ li r8, 1 -/* 8013F784 0013C6E4 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 8013F788 0013C6E8 91 41 00 08 */ stw r10, 8(r1) -/* 8013F78C 0013C6EC 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013F790 0013C6F0 A1 5C 06 50 */ lhz r10, 0x650(r28) -/* 8013F794 0013C6F4 4B F3 82 65 */ bl "LaunchProjectile__10CPatternedFRC12CTransform4fR13CStateManageriQ27CWeapon17EProjectileAttribbRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sbRC9CVector3f" -/* 8013F798 0013C6F8 7C 7B 1B 79 */ or. r27, r3, r3 -/* 8013F79C 0013C6FC 41 82 00 68 */ beq lbl_8013F804 -/* 8013F7A0 0013C700 7F 83 E3 78 */ mr r3, r28 -/* 8013F7A4 0013C704 81 9C 00 00 */ lwz r12, 0(r28) -/* 8013F7A8 0013C708 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 8013F7AC 0013C70C 7D 89 03 A6 */ mtctr r12 -/* 8013F7B0 0013C710 4E 80 04 21 */ bctrl -/* 8013F7B4 0013C714 48 0D C7 A1 */ bl GetProjectileSpeed__15CProjectileInfoCFv -/* 8013F7B8 0013C718 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 8013F7BC 0013C71C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013F7C0 0013C720 40 81 00 14 */ ble lbl_8013F7D4 -/* 8013F7C4 0013C724 C0 02 9B 64 */ lfs f0, lbl_805AB884@sda21(r2) -/* 8013F7C8 0013C728 7F 63 DB 78 */ mr r3, r27 -/* 8013F7CC 0013C72C EC 20 08 24 */ fdivs f1, f0, f1 -/* 8013F7D0 0013C730 4B FC 2A 49 */ bl sub_80102218 -lbl_8013F7D4: -/* 8013F7D4 0013C734 80 1B 00 E8 */ lwz r0, 0xe8(r27) -/* 8013F7D8 0013C738 C0 1C 06 2C */ lfs f0, 0x62c(r28) -/* 8013F7DC 0013C73C 60 00 10 00 */ ori r0, r0, 0x1000 -/* 8013F7E0 0013C740 90 1B 00 E8 */ stw r0, 0xe8(r27) -/* 8013F7E4 0013C744 D0 1B 01 50 */ stfs f0, 0x150(r27) -/* 8013F7E8 0013C748 80 1B 00 E8 */ lwz r0, 0xe8(r27) -/* 8013F7EC 0013C74C C0 1C 06 2C */ lfs f0, 0x62c(r28) -/* 8013F7F0 0013C750 60 00 40 00 */ ori r0, r0, 0x4000 -/* 8013F7F4 0013C754 90 1B 00 E8 */ stw r0, 0xe8(r27) -/* 8013F7F8 0013C758 D0 1B 01 54 */ stfs f0, 0x154(r27) -/* 8013F7FC 0013C75C C0 1C 06 34 */ lfs f0, 0x634(r28) -/* 8013F800 0013C760 D0 1B 02 E0 */ stfs f0, 0x2e0(r27) -lbl_8013F804: -/* 8013F804 0013C764 38 80 00 01 */ li r4, 1 -/* 8013F808 0013C768 48 00 01 24 */ b lbl_8013F92C -lbl_8013F80C: -/* 8013F80C 0013C76C 88 1C 06 64 */ lbz r0, 0x664(r28) -/* 8013F810 0013C770 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f -/* 8013F814 0013C774 41 82 00 4C */ beq lbl_8013F860 -/* 8013F818 0013C778 C0 02 9B 68 */ lfs f0, lbl_805AB888@sda21(r2) -/* 8013F81C 0013C77C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013F820 0013C780 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8013F824 0013C784 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8013F828 0013C788 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) -/* 8013F82C 0013C78C 38 61 00 14 */ addi r3, r1, 0x14 -/* 8013F830 0013C790 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8013F834 0013C794 38 A1 00 24 */ addi r5, r1, 0x24 -/* 8013F838 0013C798 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 8013F83C 0013C79C 38 E0 00 00 */ li r7, 0 -/* 8013F840 0013C7A0 C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 8013F844 0013C7A4 39 00 00 00 */ li r8, 0 -/* 8013F848 0013C7A8 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 8013F84C 0013C7AC D0 01 00 24 */ stfs f0, 0x24(r1) -/* 8013F850 0013C7B0 D0 21 00 28 */ stfs f1, 0x28(r1) -/* 8013F854 0013C7B4 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 8013F858 0013C7B8 A0 9C 06 30 */ lhz r4, 0x630(r28) -/* 8013F85C 0013C7BC 48 1A AA 55 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -lbl_8013F860: -/* 8013F860 0013C7C0 7F 83 E3 78 */ mr r3, r28 -/* 8013F864 0013C7C4 7F A5 EB 78 */ mr r5, r29 -/* 8013F868 0013C7C8 38 80 00 28 */ li r4, 0x28 -/* 8013F86C 0013C7CC 4B F1 4A E5 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8013F870 0013C7D0 88 1C 06 64 */ lbz r0, 0x664(r28) -/* 8013F874 0013C7D4 38 60 00 00 */ li r3, 0 -/* 8013F878 0013C7D8 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8013F87C 0013C7DC 38 60 00 01 */ li r3, 1 -/* 8013F880 0013C7E0 98 1C 06 64 */ stb r0, 0x664(r28) -/* 8013F884 0013C7E4 38 80 00 01 */ li r4, 1 -/* 8013F888 0013C7E8 88 1C 06 64 */ lbz r0, 0x664(r28) -/* 8013F88C 0013C7EC 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8013F890 0013C7F0 98 1C 06 64 */ stb r0, 0x664(r28) -/* 8013F894 0013C7F4 48 00 00 98 */ b lbl_8013F92C -lbl_8013F898: -/* 8013F898 0013C7F8 88 1C 06 64 */ lbz r0, 0x664(r28) -/* 8013F89C 0013C7FC 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f -/* 8013F8A0 0013C800 41 82 00 4C */ beq lbl_8013F8EC -/* 8013F8A4 0013C804 C0 02 9B 6C */ lfs f0, lbl_805AB88C@sda21(r2) -/* 8013F8A8 0013C808 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013F8AC 0013C80C 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 8013F8B0 0013C810 A9 22 C5 FA */ lha r9, lbl_805AE31A@sda21(r2) -/* 8013F8B4 0013C814 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) -/* 8013F8B8 0013C818 38 61 00 10 */ addi r3, r1, 0x10 -/* 8013F8BC 0013C81C 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) -/* 8013F8C0 0013C820 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8013F8C4 0013C824 C0 5C 00 60 */ lfs f2, 0x60(r28) -/* 8013F8C8 0013C828 38 E0 00 00 */ li r7, 0 -/* 8013F8CC 0013C82C C0 3C 00 50 */ lfs f1, 0x50(r28) -/* 8013F8D0 0013C830 39 00 00 00 */ li r8, 0 -/* 8013F8D4 0013C834 C0 1C 00 40 */ lfs f0, 0x40(r28) -/* 8013F8D8 0013C838 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8013F8DC 0013C83C D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 8013F8E0 0013C840 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 8013F8E4 0013C844 A0 9C 06 32 */ lhz r4, 0x632(r28) -/* 8013F8E8 0013C848 48 1A A9 C9 */ bl AddEmitter__11CSfxManagerFUsRC9CVector3fRC9CVector3fbbsi -lbl_8013F8EC: -/* 8013F8EC 0013C84C 7F 83 E3 78 */ mr r3, r28 -/* 8013F8F0 0013C850 7F A5 EB 78 */ mr r5, r29 -/* 8013F8F4 0013C854 38 80 00 28 */ li r4, 0x28 -/* 8013F8F8 0013C858 4B F1 46 89 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 8013F8FC 0013C85C 88 1C 06 64 */ lbz r0, 0x664(r28) -/* 8013F900 0013C860 38 60 00 00 */ li r3, 0 -/* 8013F904 0013C864 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 8013F908 0013C868 38 60 00 01 */ li r3, 1 -/* 8013F90C 0013C86C 98 1C 06 64 */ stb r0, 0x664(r28) -/* 8013F910 0013C870 38 80 00 01 */ li r4, 1 -/* 8013F914 0013C874 88 1C 06 64 */ lbz r0, 0x664(r28) -/* 8013F918 0013C878 50 60 0F BC */ rlwimi r0, r3, 1, 0x1e, 0x1e -/* 8013F91C 0013C87C 98 1C 06 64 */ stb r0, 0x664(r28) -/* 8013F920 0013C880 88 1C 06 65 */ lbz r0, 0x665(r28) -/* 8013F924 0013C884 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8013F928 0013C888 98 1C 06 65 */ stb r0, 0x665(r28) -lbl_8013F92C: -/* 8013F92C 0013C88C 54 80 06 3F */ clrlwi. r0, r4, 0x18 -/* 8013F930 0013C890 40 82 00 1C */ bne lbl_8013F94C -/* 8013F934 0013C894 FC 20 F8 90 */ fmr f1, f31 -/* 8013F938 0013C898 7F 83 E3 78 */ mr r3, r28 -/* 8013F93C 0013C89C 7F A4 EB 78 */ mr r4, r29 -/* 8013F940 0013C8A0 7F C5 F3 78 */ mr r5, r30 -/* 8013F944 0013C8A4 7F E6 FB 78 */ mr r6, r31 -/* 8013F948 0013C8A8 4B F3 95 69 */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_8013F94C: -/* 8013F94C 0013C8AC 2C 1F 00 06 */ cmpwi r31, 6 -/* 8013F950 0013C8B0 40 82 00 0C */ bne lbl_8013F95C -/* 8013F954 0013C8B4 C0 02 9B 70 */ lfs f0, lbl_805AB890@sda21(r2) -/* 8013F958 0013C8B8 D0 1C 03 E8 */ stfs f0, 0x3e8(r28) -lbl_8013F95C: -/* 8013F95C 0013C8BC E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 8013F960 0013C8C0 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 8013F964 0013C8C4 BB 61 01 3C */ lmw r27, 0x13c(r1) -/* 8013F968 0013C8C8 80 01 01 64 */ lwz r0, 0x164(r1) -/* 8013F96C 0013C8CC 7C 08 03 A6 */ mtlr r0 -/* 8013F970 0013C8D0 38 21 01 60 */ addi r1, r1, 0x160 -/* 8013F974 0013C8D4 4E 80 00 20 */ blr - -.global ProjectileInfo__11CChozoGhostFv -ProjectileInfo__11CChozoGhostFv: -/* 8013F978 0013C8D8 80 03 06 7C */ lwz r0, 0x67c(r3) -/* 8013F97C 0013C8DC 2C 00 00 02 */ cmpwi r0, 2 -/* 8013F980 0013C8E0 40 82 00 0C */ bne lbl_8013F98C -/* 8013F984 0013C8E4 38 63 05 78 */ addi r3, r3, 0x578 -/* 8013F988 0013C8E8 4E 80 00 20 */ blr -lbl_8013F98C: -/* 8013F98C 0013C8EC 38 63 05 A0 */ addi r3, r3, 0x5a0 -/* 8013F990 0013C8F0 4E 80 00 20 */ blr - -.global Dead__11CChozoGhostFR13CStateManager9EStateMsgf -Dead__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 8013F994 0013C8F4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013F998 0013C8F8 7C 08 02 A6 */ mflr r0 -/* 8013F99C 0013C8FC 2C 05 00 01 */ cmpwi r5, 1 -/* 8013F9A0 0013C900 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013F9A4 0013C904 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013F9A8 0013C908 7C 7F 1B 78 */ mr r31, r3 -/* 8013F9AC 0013C90C 41 82 00 58 */ beq lbl_8013FA04 -/* 8013F9B0 0013C910 40 80 00 74 */ bge lbl_8013FA24 -/* 8013F9B4 0013C914 2C 05 00 00 */ cmpwi r5, 0 -/* 8013F9B8 0013C918 40 80 00 08 */ bge lbl_8013F9C0 -/* 8013F9BC 0013C91C 48 00 00 68 */ b lbl_8013FA24 -lbl_8013F9C0: -/* 8013F9C0 0013C920 38 BF 06 74 */ addi r5, r31, 0x674 -/* 8013F9C4 0013C924 4B F3 CE 99 */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId -/* 8013F9C8 0013C928 C0 02 9B 74 */ lfs f0, lbl_805AB894@sda21(r2) -/* 8013F9CC 0013C92C 38 A0 00 00 */ li r5, 0 -/* 8013F9D0 0013C930 38 7F 06 8C */ addi r3, r31, 0x68c -/* 8013F9D4 0013C934 38 80 00 00 */ li r4, 0 -/* 8013F9D8 0013C938 D0 1F 03 E8 */ stfs f0, 0x3e8(r31) -/* 8013F9DC 0013C93C 88 1F 06 64 */ lbz r0, 0x664(r31) -/* 8013F9E0 0013C940 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 8013F9E4 0013C944 98 1F 06 64 */ stb r0, 0x664(r31) -/* 8013F9E8 0013C948 88 1F 06 64 */ lbz r0, 0x664(r31) -/* 8013F9EC 0013C94C 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 8013F9F0 0013C950 98 1F 06 64 */ stb r0, 0x664(r31) -/* 8013F9F4 0013C954 48 03 58 31 */ bl SetActive__13CBoneTrackingFb -/* 8013F9F8 0013C958 7F E3 FB 78 */ mr r3, r31 -/* 8013F9FC 0013C95C 4B FD B9 7D */ bl Stop__13CPhysicsActorFv -/* 8013FA00 0013C960 48 00 00 24 */ b lbl_8013FA24 -lbl_8013FA04: -/* 8013FA04 0013C964 4B FD B9 75 */ bl Stop__13CPhysicsActorFv -/* 8013FA08 0013C968 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013FA0C 0013C96C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8013FA10 0013C970 D0 1F 01 50 */ stfs f0, 0x150(r31) -/* 8013FA14 0013C974 C0 03 00 04 */ lfs f0, 4(r3) -/* 8013FA18 0013C978 D0 1F 01 54 */ stfs f0, 0x154(r31) -/* 8013FA1C 0013C97C C0 03 00 08 */ lfs f0, 8(r3) -/* 8013FA20 0013C980 D0 1F 01 58 */ stfs f0, 0x158(r31) -lbl_8013FA24: -/* 8013FA24 0013C984 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013FA28 0013C988 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013FA2C 0013C98C 7C 08 03 A6 */ mtlr r0 -/* 8013FA30 0013C990 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013FA34 0013C994 4E 80 00 20 */ blr - -.global Deactivate__11CChozoGhostFR13CStateManager9EStateMsgf -Deactivate__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 8013FA38 0013C998 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8013FA3C 0013C99C 7C 08 02 A6 */ mflr r0 -/* 8013FA40 0013C9A0 2C 05 00 01 */ cmpwi r5, 1 -/* 8013FA44 0013C9A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 8013FA48 0013C9A8 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013FA4C 0013C9AC 7C 9F 23 78 */ mr r31, r4 -/* 8013FA50 0013C9B0 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8013FA54 0013C9B4 7C 7E 1B 78 */ mr r30, r3 -/* 8013FA58 0013C9B8 41 82 00 54 */ beq lbl_8013FAAC -/* 8013FA5C 0013C9BC 40 80 00 10 */ bge lbl_8013FA6C -/* 8013FA60 0013C9C0 2C 05 00 00 */ cmpwi r5, 0 -/* 8013FA64 0013C9C4 40 80 00 14 */ bge lbl_8013FA78 -/* 8013FA68 0013C9C8 48 00 00 98 */ b lbl_8013FB00 -lbl_8013FA6C: -/* 8013FA6C 0013C9CC 2C 05 00 03 */ cmpwi r5, 3 -/* 8013FA70 0013C9D0 40 80 00 90 */ bge lbl_8013FB00 -/* 8013FA74 0013C9D4 48 00 00 84 */ b lbl_8013FAF8 -lbl_8013FA78: -/* 8013FA78 0013C9D8 38 7E 06 8C */ addi r3, r30, 0x68c -/* 8013FA7C 0013C9DC 38 80 00 00 */ li r4, 0 -/* 8013FA80 0013C9E0 48 03 57 A5 */ bl SetActive__13CBoneTrackingFb -/* 8013FA84 0013C9E4 7F C3 F3 78 */ mr r3, r30 -/* 8013FA88 0013C9E8 7F E4 FB 78 */ mr r4, r31 -/* 8013FA8C 0013C9EC 38 BE 06 74 */ addi r5, r30, 0x674 -/* 8013FA90 0013C9F0 4B F3 CD CD */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId -/* 8013FA94 0013C9F4 38 60 00 01 */ li r3, 1 -/* 8013FA98 0013C9F8 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 8013FA9C 0013C9FC 88 1E 06 65 */ lbz r0, 0x665(r30) -/* 8013FAA0 0013CA00 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8013FAA4 0013CA04 98 1E 06 65 */ stb r0, 0x665(r30) -/* 8013FAA8 0013CA08 48 00 00 58 */ b lbl_8013FB00 -lbl_8013FAAC: -/* 8013FAAC 0013CA0C 3C A0 80 3E */ lis r5, lbl_803E190C@ha -/* 8013FAB0 0013CA10 38 C1 00 08 */ addi r6, r1, 8 -/* 8013FAB4 0013CA14 39 45 19 0C */ addi r10, r5, lbl_803E190C@l -/* 8013FAB8 0013CA18 38 A0 00 0C */ li r5, 0xc -/* 8013FABC 0013CA1C 81 2A 00 00 */ lwz r9, 0(r10) -/* 8013FAC0 0013CA20 38 E0 00 01 */ li r7, 1 -/* 8013FAC4 0013CA24 81 0A 00 04 */ lwz r8, 4(r10) -/* 8013FAC8 0013CA28 80 0A 00 08 */ lwz r0, 8(r10) -/* 8013FACC 0013CA2C 91 21 00 08 */ stw r9, 8(r1) -/* 8013FAD0 0013CA30 91 01 00 0C */ stw r8, 0xc(r1) -/* 8013FAD4 0013CA34 90 01 00 10 */ stw r0, 0x10(r1) -/* 8013FAD8 0013CA38 4B F3 CC DD */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8013FADC 0013CA3C 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 8013FAE0 0013CA40 2C 00 00 02 */ cmpwi r0, 2 -/* 8013FAE4 0013CA44 40 82 00 1C */ bne lbl_8013FB00 -/* 8013FAE8 0013CA48 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8013FAEC 0013CA4C 38 80 00 01 */ li r4, 1 -/* 8013FAF0 0013CA50 4B FF AE E9 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8013FAF4 0013CA54 48 00 00 0C */ b lbl_8013FB00 -lbl_8013FAF8: -/* 8013FAF8 0013CA58 38 00 00 00 */ li r0, 0 -/* 8013FAFC 0013CA5C 90 1E 03 2C */ stw r0, 0x32c(r30) -lbl_8013FB00: -/* 8013FB00 0013CA60 80 01 00 24 */ lwz r0, 0x24(r1) -/* 8013FB04 0013CA64 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013FB08 0013CA68 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 8013FB0C 0013CA6C 7C 08 03 A6 */ mtlr r0 -/* 8013FB10 0013CA70 38 21 00 20 */ addi r1, r1, 0x20 -/* 8013FB14 0013CA74 4E 80 00 20 */ blr - -.global AggressionCheck__11CChozoGhostFR13CStateManagerf -AggressionCheck__11CChozoGhostFR13CStateManagerf: -/* 8013FB18 0013CA78 88 03 06 65 */ lbz r0, 0x665(r3) -/* 8013FB1C 0013CA7C 54 03 F7 FE */ rlwinm r3, r0, 0x1e, 0x1f, 0x1f -/* 8013FB20 0013CA80 4E 80 00 20 */ blr - -.global ShouldFlinch__11CChozoGhostFR13CStateManagerf -ShouldFlinch__11CChozoGhostFR13CStateManagerf: -/* 8013FB24 0013CA84 88 03 06 64 */ lbz r0, 0x664(r3) -/* 8013FB28 0013CA88 54 03 D7 FE */ rlwinm r3, r0, 0x1a, 0x1f, 0x1f -/* 8013FB2C 0013CA8C 4E 80 00 20 */ blr - -.global Leash__11CChozoGhostFR13CStateManagerf -Leash__11CChozoGhostFR13CStateManagerf: -/* 8013FB30 0013CA90 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013FB34 0013CA94 7C 08 02 A6 */ mflr r0 -/* 8013FB38 0013CA98 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013FB3C 0013CA9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8013FB40 0013CAA0 3B E0 00 00 */ li r31, 0 -/* 8013FB44 0013CAA4 88 03 06 65 */ lbz r0, 0x665(r3) -/* 8013FB48 0013CAA8 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8013FB4C 0013CAAC 40 82 00 10 */ bne lbl_8013FB5C -/* 8013FB50 0013CAB0 48 0B 67 95 */ bl Leash__10CPatternedFR13CStateManagerf -/* 8013FB54 0013CAB4 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013FB58 0013CAB8 41 82 00 08 */ beq lbl_8013FB60 -lbl_8013FB5C: -/* 8013FB5C 0013CABC 3B E0 00 01 */ li r31, 1 -lbl_8013FB60: -/* 8013FB60 0013CAC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013FB64 0013CAC4 7F E3 FB 78 */ mr r3, r31 -/* 8013FB68 0013CAC8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8013FB6C 0013CACC 7C 08 03 A6 */ mtlr r0 -/* 8013FB70 0013CAD0 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013FB74 0013CAD4 4E 80 00 20 */ blr - -.global sub_8013fb78 -sub_8013fb78: -/* 8013FB78 0013CAD8 80 03 06 80 */ lwz r0, 0x680(r3) -/* 8013FB7C 0013CADC 20 00 00 03 */ subfic r0, r0, 3 -/* 8013FB80 0013CAE0 7C 00 00 34 */ cntlzw r0, r0 -/* 8013FB84 0013CAE4 54 03 D9 7E */ srwi r3, r0, 5 -/* 8013FB88 0013CAE8 4E 80 00 20 */ blr - -.global Lurk__11CChozoGhostFR13CStateManager9EStateMsgf -Lurk__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 8013FB8C 0013CAEC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8013FB90 0013CAF0 7C 08 02 A6 */ mflr r0 -/* 8013FB94 0013CAF4 2C 05 00 01 */ cmpwi r5, 1 -/* 8013FB98 0013CAF8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8013FB9C 0013CAFC 41 82 00 20 */ beq lbl_8013FBBC -/* 8013FBA0 0013CB00 40 80 00 28 */ bge lbl_8013FBC8 -/* 8013FBA4 0013CB04 2C 05 00 00 */ cmpwi r5, 0 -/* 8013FBA8 0013CB08 40 80 00 08 */ bge lbl_8013FBB0 -/* 8013FBAC 0013CB0C 48 00 00 1C */ b lbl_8013FBC8 -lbl_8013FBB0: -/* 8013FBB0 0013CB10 C0 03 06 84 */ lfs f0, 0x684(r3) -/* 8013FBB4 0013CB14 D0 03 03 40 */ stfs f0, 0x340(r3) -/* 8013FBB8 0013CB18 48 00 00 10 */ b lbl_8013FBC8 -lbl_8013FBBC: -/* 8013FBBC 0013CB1C FC 40 08 90 */ fmr f2, f1 -/* 8013FBC0 0013CB20 C0 23 06 78 */ lfs f1, 0x678(r3) -/* 8013FBC4 0013CB24 48 00 19 D9 */ bl sub_8014159c -lbl_8013FBC8: -/* 8013FBC8 0013CB28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8013FBCC 0013CB2C 7C 08 03 A6 */ mtlr r0 -/* 8013FBD0 0013CB30 38 21 00 10 */ addi r1, r1, 0x10 -/* 8013FBD4 0013CB34 4E 80 00 20 */ blr - -.global Hurled__11CChozoGhostFR13CStateManager9EStateMsgf -Hurled__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 8013FBD8 0013CB38 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 8013FBDC 0013CB3C 7C 08 02 A6 */ mflr r0 -/* 8013FBE0 0013CB40 90 01 00 94 */ stw r0, 0x94(r1) -/* 8013FBE4 0013CB44 DB E1 00 80 */ stfd f31, 0x80(r1) -/* 8013FBE8 0013CB48 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 8013FBEC 0013CB4C 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 8013FBF0 0013CB50 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8013FBF4 0013CB54 2C 05 00 01 */ cmpwi r5, 1 -/* 8013FBF8 0013CB58 7C 7F 1B 78 */ mr r31, r3 -/* 8013FBFC 0013CB5C 7C 9E 23 78 */ mr r30, r4 -/* 8013FC00 0013CB60 41 82 00 50 */ beq lbl_8013FC50 -/* 8013FC04 0013CB64 40 80 00 10 */ bge lbl_8013FC14 -/* 8013FC08 0013CB68 2C 05 00 00 */ cmpwi r5, 0 -/* 8013FC0C 0013CB6C 40 80 00 14 */ bge lbl_8013FC20 -/* 8013FC10 0013CB70 48 00 02 10 */ b lbl_8013FE20 -lbl_8013FC14: -/* 8013FC14 0013CB74 2C 05 00 03 */ cmpwi r5, 3 -/* 8013FC18 0013CB78 40 80 02 08 */ bge lbl_8013FE20 -/* 8013FC1C 0013CB7C 48 00 01 D8 */ b lbl_8013FDF4 -lbl_8013FC20: -/* 8013FC20 0013CB80 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8013FC24 0013CB84 38 80 00 00 */ li r4, 0 -/* 8013FC28 0013CB88 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 8013FC2C 0013CB8C 38 60 00 01 */ li r3, 1 -/* 8013FC30 0013CB90 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8013FC34 0013CB94 88 1F 06 64 */ lbz r0, 0x664(r31) -/* 8013FC38 0013CB98 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 8013FC3C 0013CB9C 98 1F 06 64 */ stb r0, 0x664(r31) -/* 8013FC40 0013CBA0 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 8013FC44 0013CBA4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8013FC48 0013CBA8 98 1F 06 65 */ stb r0, 0x665(r31) -/* 8013FC4C 0013CBAC 48 00 01 D4 */ b lbl_8013FE20 -lbl_8013FC50: -/* 8013FC50 0013CBB0 C0 02 9B 68 */ lfs f0, lbl_805AB888@sda21(r2) -/* 8013FC54 0013CBB4 D0 1F 03 E8 */ stfs f0, 0x3e8(r31) -/* 8013FC58 0013CBB8 88 1F 06 64 */ lbz r0, 0x664(r31) -/* 8013FC5C 0013CBBC 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8013FC60 0013CBC0 40 82 01 C0 */ bne lbl_8013FE20 -/* 8013FC64 0013CBC4 C0 3F 01 40 */ lfs f1, 0x140(r31) -/* 8013FC68 0013CBC8 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 8013FC6C 0013CBCC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013FC70 0013CBD0 40 80 01 10 */ bge lbl_8013FD80 -/* 8013FC74 0013CBD4 80 AD 8B B4 */ lwz r5, lbl_805A7774@sda21(r13) -/* 8013FC78 0013CBD8 38 60 00 00 */ li r3, 0 -/* 8013FC7C 0013CBDC 38 80 00 01 */ li r4, 1 -/* 8013FC80 0013CBE0 48 24 A2 75 */ bl __shl2i -/* 8013FC84 0013CBE4 38 A0 00 00 */ li r5, 0 -/* 8013FC88 0013CBE8 38 00 00 01 */ li r0, 1 -/* 8013FC8C 0013CBEC 90 81 00 2C */ stw r4, 0x2c(r1) -/* 8013FC90 0013CBF0 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 8013FC94 0013CBF4 38 E4 66 F4 */ addi r7, r4, lbl_805A66F4@l -/* 8013FC98 0013CBF8 C0 22 9B 68 */ lfs f1, lbl_805AB888@sda21(r2) -/* 8013FC9C 0013CBFC 90 61 00 28 */ stw r3, 0x28(r1) -/* 8013FCA0 0013CC00 3C 80 80 5A */ lis r4, lbl_805A6700@ha -/* 8013FCA4 0013CC04 C0 A7 00 04 */ lfs f5, 4(r7) -/* 8013FCA8 0013CC08 38 C4 67 00 */ addi r6, r4, lbl_805A6700@l -/* 8013FCAC 0013CC0C 90 A1 00 34 */ stw r5, 0x34(r1) -/* 8013FCB0 0013CC10 7F C4 F3 78 */ mr r4, r30 -/* 8013FCB4 0013CC14 C0 67 00 08 */ lfs f3, 8(r7) -/* 8013FCB8 0013CC18 38 61 00 40 */ addi r3, r1, 0x40 -/* 8013FCBC 0013CC1C 90 A1 00 30 */ stw r5, 0x30(r1) -/* 8013FCC0 0013CC20 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8013FCC4 0013CC24 C0 07 00 00 */ lfs f0, 0(r7) -/* 8013FCC8 0013CC28 38 E1 00 28 */ addi r7, r1, 0x28 -/* 8013FCCC 0013CC2C 90 01 00 38 */ stw r0, 0x38(r1) -/* 8013FCD0 0013CC30 C0 DF 00 50 */ lfs f6, 0x50(r31) -/* 8013FCD4 0013CC34 C0 9F 00 60 */ lfs f4, 0x60(r31) -/* 8013FCD8 0013CC38 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 8013FCDC 0013CC3C EC A6 28 2A */ fadds f5, f6, f5 -/* 8013FCE0 0013CC40 EC 64 18 2A */ fadds f3, f4, f3 -/* 8013FCE4 0013CC44 EC 02 00 2A */ fadds f0, f2, f0 -/* 8013FCE8 0013CC48 D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 8013FCEC 0013CC4C D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 8013FCF0 0013CC50 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 8013FCF4 0013CC54 4B F0 D2 A5 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8013FCF8 0013CC58 88 01 00 60 */ lbz r0, 0x60(r1) -/* 8013FCFC 0013CC5C C0 21 00 40 */ lfs f1, 0x40(r1) -/* 8013FD00 0013CC60 28 00 00 00 */ cmplwi r0, 0 -/* 8013FD04 0013CC64 C3 E1 00 4C */ lfs f31, 0x4c(r1) -/* 8013FD08 0013CC68 41 82 00 78 */ beq lbl_8013FD80 -/* 8013FD0C 0013CC6C C0 02 9B 78 */ lfs f0, lbl_805AB898@sda21(r2) -/* 8013FD10 0013CC70 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013FD14 0013CC74 40 80 00 6C */ bge lbl_8013FD80 -/* 8013FD18 0013CC78 88 1F 06 64 */ lbz r0, 0x664(r31) -/* 8013FD1C 0013CC7C 38 60 00 01 */ li r3, 1 -/* 8013FD20 0013CC80 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8013FD24 0013CC84 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013FD28 0013CC88 98 1F 06 64 */ stb r0, 0x664(r31) -/* 8013FD2C 0013CC8C 38 A3 66 A0 */ addi r5, r3, skZero3f@l -/* 8013FD30 0013CC90 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 8013FD34 0013CC94 7F E3 FB 78 */ mr r3, r31 -/* 8013FD38 0013CC98 C0 25 00 00 */ lfs f1, 0(r5) -/* 8013FD3C 0013CC9C 38 81 00 10 */ addi r4, r1, 0x10 -/* 8013FD40 0013CCA0 D0 3F 01 50 */ stfs f1, 0x150(r31) -/* 8013FD44 0013CCA4 C0 25 00 04 */ lfs f1, 4(r5) -/* 8013FD48 0013CCA8 D0 3F 01 54 */ stfs f1, 0x154(r31) -/* 8013FD4C 0013CCAC C0 25 00 08 */ lfs f1, 8(r5) -/* 8013FD50 0013CCB0 D0 3F 01 58 */ stfs f1, 0x158(r31) -/* 8013FD54 0013CCB4 C0 5F 01 3C */ lfs f2, 0x13c(r31) -/* 8013FD58 0013CCB8 C0 3F 01 38 */ lfs f1, 0x138(r31) -/* 8013FD5C 0013CCBC D0 21 00 10 */ stfs f1, 0x10(r1) -/* 8013FD60 0013CCC0 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 8013FD64 0013CCC4 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 8013FD68 0013CCC8 4B FD AF 39 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 8013FD6C 0013CCCC D3 FF 06 78 */ stfs f31, 0x678(r31) -/* 8013FD70 0013CCD0 38 60 00 01 */ li r3, 1 -/* 8013FD74 0013CCD4 88 1F 03 48 */ lbz r0, 0x348(r31) -/* 8013FD78 0013CCD8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8013FD7C 0013CCDC 98 1F 03 48 */ stb r0, 0x348(r31) -lbl_8013FD80: -/* 8013FD80 0013CCE0 88 1F 06 64 */ lbz r0, 0x664(r31) -/* 8013FD84 0013CCE4 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 8013FD88 0013CCE8 40 82 00 98 */ bne lbl_8013FE20 -/* 8013FD8C 0013CCEC C0 3F 03 38 */ lfs f1, 0x338(r31) -/* 8013FD90 0013CCF0 C0 1F 06 38 */ lfs f0, 0x638(r31) -/* 8013FD94 0013CCF4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8013FD98 0013CCF8 40 81 00 88 */ ble lbl_8013FE20 -/* 8013FD9C 0013CCFC 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8013FDA0 0013CD00 38 00 00 0A */ li r0, 0xa -/* 8013FDA4 0013CD04 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 8013FDA8 0013CD08 90 01 00 0C */ stw r0, 0xc(r1) -/* 8013FDAC 0013CD0C 38 81 00 08 */ addi r4, r1, 8 -/* 8013FDB0 0013CD10 90 61 00 08 */ stw r3, 8(r1) -/* 8013FDB4 0013CD14 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8013FDB8 0013CD18 38 63 00 04 */ addi r3, r3, 4 -/* 8013FDBC 0013CD1C 4B FF 19 FD */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 8013FDC0 0013CD20 34 01 00 08 */ addic. r0, r1, 8 -/* 8013FDC4 0013CD24 41 82 00 10 */ beq lbl_8013FDD4 -/* 8013FDC8 0013CD28 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 8013FDCC 0013CD2C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 8013FDD0 0013CD30 90 01 00 08 */ stw r0, 8(r1) -lbl_8013FDD4: -/* 8013FDD4 0013CD34 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8013FDD8 0013CD38 38 80 00 02 */ li r4, 2 -/* 8013FDDC 0013CD3C 4B FF AB FD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8013FDE0 0013CD40 88 1F 03 48 */ lbz r0, 0x348(r31) -/* 8013FDE4 0013CD44 38 60 00 01 */ li r3, 1 -/* 8013FDE8 0013CD48 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8013FDEC 0013CD4C 98 1F 03 48 */ stb r0, 0x348(r31) -/* 8013FDF0 0013CD50 48 00 00 30 */ b lbl_8013FE20 -lbl_8013FDF4: -/* 8013FDF4 0013CD54 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8013FDF8 0013CD58 38 60 00 01 */ li r3, 1 -/* 8013FDFC 0013CD5C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 8013FE00 0013CD60 98 1F 03 28 */ stb r0, 0x328(r31) -/* 8013FE04 0013CD64 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8013FE08 0013CD68 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8013FE0C 0013CD6C D0 1F 01 50 */ stfs f0, 0x150(r31) -/* 8013FE10 0013CD70 C0 03 00 04 */ lfs f0, 4(r3) -/* 8013FE14 0013CD74 D0 1F 01 54 */ stfs f0, 0x154(r31) -/* 8013FE18 0013CD78 C0 03 00 08 */ lfs f0, 8(r3) -/* 8013FE1C 0013CD7C D0 1F 01 58 */ stfs f0, 0x158(r31) -lbl_8013FE20: -/* 8013FE20 0013CD80 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 8013FE24 0013CD84 80 01 00 94 */ lwz r0, 0x94(r1) -/* 8013FE28 0013CD88 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 8013FE2C 0013CD8C 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 8013FE30 0013CD90 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 8013FE34 0013CD94 7C 08 03 A6 */ mtlr r0 -/* 8013FE38 0013CD98 38 21 00 90 */ addi r1, r1, 0x90 -/* 8013FE3C 0013CD9C 4E 80 00 20 */ blr - -.global Taunt__11CChozoGhostFR13CStateManager9EStateMsgf -Taunt__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 8013FE40 0013CDA0 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8013FE44 0013CDA4 7C 08 02 A6 */ mflr r0 -/* 8013FE48 0013CDA8 90 01 00 34 */ stw r0, 0x34(r1) -/* 8013FE4C 0013CDAC DB E1 00 20 */ stfd f31, 0x20(r1) -/* 8013FE50 0013CDB0 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 8013FE54 0013CDB4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 8013FE58 0013CDB8 FF E0 08 90 */ fmr f31, f1 -/* 8013FE5C 0013CDBC 2C 05 00 01 */ cmpwi r5, 1 -/* 8013FE60 0013CDC0 7C 7F 1B 78 */ mr r31, r3 -/* 8013FE64 0013CDC4 41 82 00 2C */ beq lbl_8013FE90 -/* 8013FE68 0013CDC8 40 80 00 10 */ bge lbl_8013FE78 -/* 8013FE6C 0013CDCC 2C 05 00 00 */ cmpwi r5, 0 -/* 8013FE70 0013CDD0 40 80 00 14 */ bge lbl_8013FE84 -/* 8013FE74 0013CDD4 48 00 00 74 */ b lbl_8013FEE8 -lbl_8013FE78: -/* 8013FE78 0013CDD8 2C 05 00 03 */ cmpwi r5, 3 -/* 8013FE7C 0013CDDC 40 80 00 6C */ bge lbl_8013FEE8 -/* 8013FE80 0013CDE0 48 00 00 54 */ b lbl_8013FED4 -lbl_8013FE84: -/* 8013FE84 0013CDE4 38 00 00 01 */ li r0, 1 -/* 8013FE88 0013CDE8 90 1F 03 2C */ stw r0, 0x32c(r31) -/* 8013FE8C 0013CDEC 48 00 00 5C */ b lbl_8013FEE8 -lbl_8013FE90: -/* 8013FE90 0013CDF0 3C A0 80 3E */ lis r5, lbl_803E1900@ha -/* 8013FE94 0013CDF4 38 C1 00 08 */ addi r6, r1, 8 -/* 8013FE98 0013CDF8 39 45 19 00 */ addi r10, r5, lbl_803E1900@l -/* 8013FE9C 0013CDFC 38 A0 00 10 */ li r5, 0x10 -/* 8013FEA0 0013CE00 81 2A 00 00 */ lwz r9, 0(r10) -/* 8013FEA4 0013CE04 38 E0 00 00 */ li r7, 0 -/* 8013FEA8 0013CE08 81 0A 00 04 */ lwz r8, 4(r10) -/* 8013FEAC 0013CE0C 80 0A 00 08 */ lwz r0, 8(r10) -/* 8013FEB0 0013CE10 91 21 00 08 */ stw r9, 8(r1) -/* 8013FEB4 0013CE14 91 01 00 0C */ stw r8, 0xc(r1) -/* 8013FEB8 0013CE18 90 01 00 10 */ stw r0, 0x10(r1) -/* 8013FEBC 0013CE1C 4B F3 C8 F9 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 8013FEC0 0013CE20 FC 40 F8 90 */ fmr f2, f31 -/* 8013FEC4 0013CE24 C0 3F 06 78 */ lfs f1, 0x678(r31) -/* 8013FEC8 0013CE28 7F E3 FB 78 */ mr r3, r31 -/* 8013FECC 0013CE2C 48 00 16 D1 */ bl sub_8014159c -/* 8013FED0 0013CE30 48 00 00 18 */ b lbl_8013FEE8 -lbl_8013FED4: -/* 8013FED4 0013CE34 38 60 00 00 */ li r3, 0 -/* 8013FED8 0013CE38 90 7F 03 2C */ stw r3, 0x32c(r31) -/* 8013FEDC 0013CE3C 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 8013FEE0 0013CE40 50 60 2E B4 */ rlwimi r0, r3, 5, 0x1a, 0x1a -/* 8013FEE4 0013CE44 98 1F 06 65 */ stb r0, 0x665(r31) -lbl_8013FEE8: -/* 8013FEE8 0013CE48 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 8013FEEC 0013CE4C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8013FEF0 0013CE50 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 8013FEF4 0013CE54 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8013FEF8 0013CE58 7C 08 03 A6 */ mtlr r0 -/* 8013FEFC 0013CE5C 38 21 00 30 */ addi r1, r1, 0x30 -/* 8013FF00 0013CE60 4E 80 00 20 */ blr - -.global sub_8013ff04 -sub_8013ff04: -/* 8013FF04 0013CE64 80 03 06 80 */ lwz r0, 0x680(r3) -/* 8013FF08 0013CE68 20 00 00 01 */ subfic r0, r0, 1 -/* 8013FF0C 0013CE6C 7C 00 00 34 */ cntlzw r0, r0 -/* 8013FF10 0013CE70 54 03 D9 7E */ srwi r3, r0, 5 -/* 8013FF14 0013CE74 4E 80 00 20 */ blr - -.global Shuffle__11CChozoGhostFR13CStateManager9EStateMsgf -Shuffle__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 8013FF18 0013CE78 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8013FF1C 0013CE7C 7C 08 02 A6 */ mflr r0 -/* 8013FF20 0013CE80 90 01 00 44 */ stw r0, 0x44(r1) -/* 8013FF24 0013CE84 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8013FF28 0013CE88 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8013FF2C 0013CE8C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 8013FF30 0013CE90 93 C1 00 28 */ stw r30, 0x28(r1) -/* 8013FF34 0013CE94 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8013FF38 0013CE98 2C 05 00 00 */ cmpwi r5, 0 -/* 8013FF3C 0013CE9C 7C 7F 1B 78 */ mr r31, r3 -/* 8013FF40 0013CEA0 7C 9D 23 78 */ mr r29, r4 -/* 8013FF44 0013CEA4 41 82 00 08 */ beq lbl_8013FF4C -/* 8013FF48 0013CEA8 48 00 01 28 */ b lbl_80140070 -lbl_8013FF4C: -/* 8013FF4C 0013CEAC 48 00 0F 8D */ bl sub_80140ed8 -/* 8013FF50 0013CEB0 A0 DF 00 08 */ lhz r6, 8(r31) -/* 8013FF54 0013CEB4 7C 7E 1B 78 */ mr r30, r3 -/* 8013FF58 0013CEB8 7F A3 EB 78 */ mr r3, r29 -/* 8013FF5C 0013CEBC 38 81 00 1C */ addi r4, r1, 0x1c -/* 8013FF60 0013CEC0 B0 C1 00 18 */ sth r6, 0x18(r1) -/* 8013FF64 0013CEC4 38 A1 00 18 */ addi r5, r1, 0x18 -/* 8013FF68 0013CEC8 A0 1F 06 C4 */ lhz r0, 0x6c4(r31) -/* 8013FF6C 0013CECC B0 C1 00 14 */ sth r6, 0x14(r1) -/* 8013FF70 0013CED0 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 8013FF74 0013CED4 48 0F A2 0D */ bl GetTeamAiRole__10CTeamAiMgrCFRC13CStateManager9TUniqueId9TUniqueId -/* 8013FF78 0013CED8 28 03 00 00 */ cmplwi r3, 0 -/* 8013FF7C 0013CEDC 41 82 00 48 */ beq lbl_8013FFC4 -/* 8013FF80 0013CEE0 80 03 00 10 */ lwz r0, 0x10(r3) -/* 8013FF84 0013CEE4 2C 00 00 02 */ cmpwi r0, 2 -/* 8013FF88 0013CEE8 40 82 00 34 */ bne lbl_8013FFBC -/* 8013FF8C 0013CEEC A0 FF 00 08 */ lhz r7, 8(r31) -/* 8013FF90 0013CEF0 7F A4 EB 78 */ mr r4, r29 -/* 8013FF94 0013CEF4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8013FF98 0013CEF8 38 C1 00 0C */ addi r6, r1, 0xc -/* 8013FF9C 0013CEFC B0 E1 00 0C */ sth r7, 0xc(r1) -/* 8013FFA0 0013CF00 38 60 00 01 */ li r3, 1 -/* 8013FFA4 0013CF04 A0 1F 06 C4 */ lhz r0, 0x6c4(r31) -/* 8013FFA8 0013CF08 B0 E1 00 08 */ sth r7, 8(r1) -/* 8013FFAC 0013CF0C B0 01 00 10 */ sth r0, 0x10(r1) -/* 8013FFB0 0013CF10 48 0F A1 09 */ bl CanAcceptAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId -/* 8013FFB4 0013CF14 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8013FFB8 0013CF18 40 82 00 0C */ bne lbl_8013FFC4 -lbl_8013FFBC: -/* 8013FFBC 0013CF1C 38 00 00 02 */ li r0, 2 -/* 8013FFC0 0013CF20 90 1F 06 80 */ stw r0, 0x680(r31) -lbl_8013FFC4: -/* 8013FFC4 0013CF24 7F E3 FB 78 */ mr r3, r31 -/* 8013FFC8 0013CF28 7F A4 EB 78 */ mr r4, r29 -/* 8013FFCC 0013CF2C 48 00 0F 0D */ bl sub_80140ed8 -/* 8013FFD0 0013CF30 80 9F 06 80 */ lwz r4, 0x680(r31) -/* 8013FFD4 0013CF34 7F A5 EB 78 */ mr r5, r29 -/* 8013FFD8 0013CF38 48 00 26 B1 */ bl GetBehave__Q211CChozoGhost13CBehaveChanceCFQ211CChozoGhost11EBehaveTypeR13CStateManager -/* 8013FFDC 0013CF3C 90 7F 06 80 */ stw r3, 0x680(r31) -/* 8013FFE0 0013CF40 80 1F 06 80 */ lwz r0, 0x680(r31) -/* 8013FFE4 0013CF44 2C 00 00 01 */ cmpwi r0, 1 -/* 8013FFE8 0013CF48 41 82 00 6C */ beq lbl_80140054 -/* 8013FFEC 0013CF4C 40 80 00 10 */ bge lbl_8013FFFC -/* 8013FFF0 0013CF50 2C 00 00 00 */ cmpwi r0, 0 -/* 8013FFF4 0013CF54 40 80 00 14 */ bge lbl_80140008 -/* 8013FFF8 0013CF58 48 00 00 5C */ b lbl_80140054 -lbl_8013FFFC: -/* 8013FFFC 0013CF5C 2C 00 00 03 */ cmpwi r0, 3 -/* 80140000 0013CF60 40 80 00 54 */ bge lbl_80140054 -/* 80140004 0013CF64 48 00 00 10 */ b lbl_80140014 -lbl_80140008: -/* 80140008 0013CF68 C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 8014000C 0013CF6C D0 1F 06 84 */ stfs f0, 0x684(r31) -/* 80140010 0013CF70 48 00 00 44 */ b lbl_80140054 -lbl_80140014: -/* 80140014 0013CF74 C3 FE 00 18 */ lfs f31, 0x18(r30) -/* 80140018 0013CF78 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 8014001C 0013CF7C 48 1D 24 C1 */ bl Float__9CRandom16Fv -/* 80140020 0013CF80 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 80140024 0013CF84 7C 60 00 26 */ mfcr r3 -/* 80140028 0013CF88 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 8014002C 0013CF8C 50 60 3E 72 */ rlwimi r0, r3, 7, 0x19, 0x19 -/* 80140030 0013CF90 98 1F 06 65 */ stb r0, 0x665(r31) -/* 80140034 0013CF94 83 DE 00 1C */ lwz r30, 0x1c(r30) -/* 80140038 0013CF98 80 7D 09 00 */ lwz r3, 0x900(r29) -/* 8014003C 0013CF9C 48 1D 24 E5 */ bl Next__9CRandom16Fv -/* 80140040 0013CFA0 7C 03 F3 96 */ divwu r0, r3, r30 -/* 80140044 0013CFA4 7C 00 F1 D6 */ mullw r0, r0, r30 -/* 80140048 0013CFA8 7C 60 18 50 */ subf r3, r0, r3 -/* 8014004C 0013CFAC 38 03 00 01 */ addi r0, r3, 1 -/* 80140050 0013CFB0 90 1F 06 D8 */ stw r0, 0x6d8(r31) -lbl_80140054: -/* 80140054 0013CFB4 88 1F 06 64 */ lbz r0, 0x664(r31) -/* 80140058 0013CFB8 38 60 00 00 */ li r3, 0 -/* 8014005C 0013CFBC 50 60 07 FE */ rlwimi r0, r3, 0, 0x1f, 0x1f -/* 80140060 0013CFC0 98 1F 06 64 */ stb r0, 0x664(r31) -/* 80140064 0013CFC4 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 80140068 0013CFC8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 8014006C 0013CFCC 98 1F 06 65 */ stb r0, 0x665(r31) -lbl_80140070: -/* 80140070 0013CFD0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80140074 0013CFD4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80140078 0013CFD8 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 8014007C 0013CFDC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80140080 0013CFE0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80140084 0013CFE4 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80140088 0013CFE8 7C 08 03 A6 */ mtlr r0 -/* 8014008C 0013CFEC 38 21 00 40 */ addi r1, r1, 0x40 -/* 80140090 0013CFF0 4E 80 00 20 */ blr - -.global Land__11CChozoGhostFR13CStateManager9EStateMsgf -Land__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 80140094 0013CFF4 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80140098 0013CFF8 7C 08 02 A6 */ mflr r0 -/* 8014009C 0013CFFC 2C 05 00 01 */ cmpwi r5, 1 -/* 801400A0 0013D000 90 01 00 24 */ stw r0, 0x24(r1) -/* 801400A4 0013D004 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801400A8 0013D008 7C 7F 1B 78 */ mr r31, r3 -/* 801400AC 0013D00C 41 82 00 08 */ beq lbl_801400B4 -/* 801400B0 0013D010 48 00 00 54 */ b lbl_80140104 -lbl_801400B4: -/* 801400B4 0013D014 FC 40 08 90 */ fmr f2, f1 -/* 801400B8 0013D018 C0 3F 06 78 */ lfs f1, 0x678(r31) -/* 801400BC 0013D01C 48 00 14 E1 */ bl sub_8014159c -/* 801400C0 0013D020 C0 9F 00 60 */ lfs f4, 0x60(r31) -/* 801400C4 0013D024 C0 1F 06 78 */ lfs f0, 0x678(r31) -/* 801400C8 0013D028 C0 7F 00 50 */ lfs f3, 0x50(r31) -/* 801400CC 0013D02C EC 20 20 28 */ fsubs f1, f0, f4 -/* 801400D0 0013D030 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 801400D4 0013D034 C0 02 9B 7C */ lfs f0, lbl_805AB89C@sda21(r2) -/* 801400D8 0013D038 D0 41 00 08 */ stfs f2, 8(r1) -/* 801400DC 0013D03C FC 20 0A 10 */ fabs f1, f1 -/* 801400E0 0013D040 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 801400E4 0013D044 FC 20 08 18 */ frsp f1, f1 -/* 801400E8 0013D048 D0 81 00 10 */ stfs f4, 0x10(r1) -/* 801400EC 0013D04C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801400F0 0013D050 40 80 00 14 */ bge lbl_80140104 -/* 801400F4 0013D054 88 1F 03 48 */ lbz r0, 0x348(r31) -/* 801400F8 0013D058 38 60 00 01 */ li r3, 1 -/* 801400FC 0013D05C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80140100 0013D060 98 1F 03 48 */ stb r0, 0x348(r31) -lbl_80140104: -/* 80140104 0013D064 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80140108 0013D068 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 8014010C 0013D06C 7C 08 03 A6 */ mtlr r0 -/* 80140110 0013D070 38 21 00 20 */ addi r1, r1, 0x20 -/* 80140114 0013D074 4E 80 00 20 */ blr - -.global Attack__11CChozoGhostFR13CStateManager9EStateMsgf -Attack__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 80140118 0013D078 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8014011C 0013D07C 7C 08 02 A6 */ mflr r0 -/* 80140120 0013D080 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80140124 0013D084 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80140128 0013D088 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8014012C 0013D08C 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 80140130 0013D090 93 C1 00 98 */ stw r30, 0x98(r1) -/* 80140134 0013D094 FF E0 08 90 */ fmr f31, f1 -/* 80140138 0013D098 2C 05 00 01 */ cmpwi r5, 1 -/* 8014013C 0013D09C 7C 7E 1B 78 */ mr r30, r3 -/* 80140140 0013D0A0 7C 9F 23 78 */ mr r31, r4 -/* 80140144 0013D0A4 41 82 01 A0 */ beq lbl_801402E4 -/* 80140148 0013D0A8 40 80 00 10 */ bge lbl_80140158 -/* 8014014C 0013D0AC 2C 05 00 00 */ cmpwi r5, 0 -/* 80140150 0013D0B0 40 80 00 14 */ bge lbl_80140164 -/* 80140154 0013D0B4 48 00 02 68 */ b lbl_801403BC -lbl_80140158: -/* 80140158 0013D0B8 2C 05 00 03 */ cmpwi r5, 3 -/* 8014015C 0013D0BC 40 80 02 60 */ bge lbl_801403BC -/* 80140160 0013D0C0 48 00 02 0C */ b lbl_8014036C -lbl_80140164: -/* 80140164 0013D0C4 A0 FE 00 08 */ lhz r7, 8(r30) -/* 80140168 0013D0C8 38 A1 00 1C */ addi r5, r1, 0x1c -/* 8014016C 0013D0CC 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80140170 0013D0D0 38 60 00 01 */ li r3, 1 -/* 80140174 0013D0D4 B0 E1 00 18 */ sth r7, 0x18(r1) -/* 80140178 0013D0D8 A0 1E 06 C4 */ lhz r0, 0x6c4(r30) -/* 8014017C 0013D0DC B0 E1 00 14 */ sth r7, 0x14(r1) -/* 80140180 0013D0E0 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80140184 0013D0E4 48 0F 9E 6D */ bl AddAttacker__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueId -/* 80140188 0013D0E8 38 00 00 01 */ li r0, 1 -/* 8014018C 0013D0EC 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80140190 0013D0F0 80 1E 06 D8 */ lwz r0, 0x6d8(r30) -/* 80140194 0013D0F4 2C 00 00 02 */ cmpwi r0, 2 -/* 80140198 0013D0F8 41 82 00 2C */ beq lbl_801401C4 -/* 8014019C 0013D0FC 40 80 00 10 */ bge lbl_801401AC -/* 801401A0 0013D100 2C 00 00 01 */ cmpwi r0, 1 -/* 801401A4 0013D104 40 80 00 14 */ bge lbl_801401B8 -/* 801401A8 0013D108 48 00 00 30 */ b lbl_801401D8 -lbl_801401AC: -/* 801401AC 0013D10C 2C 00 00 04 */ cmpwi r0, 4 -/* 801401B0 0013D110 40 80 00 28 */ bge lbl_801401D8 -/* 801401B4 0013D114 48 00 00 1C */ b lbl_801401D0 -lbl_801401B8: -/* 801401B8 0013D118 38 00 00 03 */ li r0, 3 -/* 801401BC 0013D11C 90 1E 06 7C */ stw r0, 0x67c(r30) -/* 801401C0 0013D120 48 00 00 18 */ b lbl_801401D8 -lbl_801401C4: -/* 801401C4 0013D124 38 00 00 04 */ li r0, 4 -/* 801401C8 0013D128 90 1E 06 7C */ stw r0, 0x67c(r30) -/* 801401CC 0013D12C 48 00 00 0C */ b lbl_801401D8 -lbl_801401D0: -/* 801401D0 0013D130 38 00 00 05 */ li r0, 5 -/* 801401D4 0013D134 90 1E 06 7C */ stw r0, 0x67c(r30) -lbl_801401D8: -/* 801401D8 0013D138 88 1E 06 65 */ lbz r0, 0x665(r30) -/* 801401DC 0013D13C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801401E0 0013D140 41 82 00 CC */ beq lbl_801402AC -/* 801401E4 0013D144 80 AD 8B B0 */ lwz r5, lbl_805A7770@sda21(r13) -/* 801401E8 0013D148 38 60 00 00 */ li r3, 0 -/* 801401EC 0013D14C 38 80 00 01 */ li r4, 1 -/* 801401F0 0013D150 48 24 9D 05 */ bl __shl2i -/* 801401F4 0013D154 3C A0 80 5A */ lis r5, lbl_805A66F4@ha -/* 801401F8 0013D158 39 00 00 00 */ li r8, 0 -/* 801401FC 0013D15C 38 C5 66 F4 */ addi r6, r5, lbl_805A66F4@l -/* 80140200 0013D160 38 00 00 01 */ li r0, 1 -/* 80140204 0013D164 C0 82 9B 80 */ lfs f4, lbl_805AB8A0@sda21(r2) -/* 80140208 0013D168 38 A1 00 44 */ addi r5, r1, 0x44 -/* 8014020C 0013D16C C0 46 00 08 */ lfs f2, 8(r6) -/* 80140210 0013D170 38 E1 00 50 */ addi r7, r1, 0x50 -/* 80140214 0013D174 C0 26 00 00 */ lfs f1, 0(r6) -/* 80140218 0013D178 90 81 00 54 */ stw r4, 0x54(r1) -/* 8014021C 0013D17C EC A4 00 B2 */ fmuls f5, f4, f2 -/* 80140220 0013D180 EC 64 00 72 */ fmuls f3, f4, f1 -/* 80140224 0013D184 C0 06 00 04 */ lfs f0, 4(r6) -/* 80140228 0013D188 90 61 00 50 */ stw r3, 0x50(r1) -/* 8014022C 0013D18C 7F E4 FB 78 */ mr r4, r31 -/* 80140230 0013D190 EC 24 00 32 */ fmuls f1, f4, f0 -/* 80140234 0013D194 91 01 00 5C */ stw r8, 0x5c(r1) -/* 80140238 0013D198 38 61 00 68 */ addi r3, r1, 0x68 -/* 8014023C 0013D19C 91 01 00 58 */ stw r8, 0x58(r1) -/* 80140240 0013D1A0 90 01 00 60 */ stw r0, 0x60(r1) -/* 80140244 0013D1A4 C1 1E 00 60 */ lfs f8, 0x60(r30) -/* 80140248 0013D1A8 C0 FE 00 50 */ lfs f7, 0x50(r30) -/* 8014024C 0013D1AC C0 5E 00 40 */ lfs f2, 0x40(r30) -/* 80140250 0013D1B0 EC 88 28 2A */ fadds f4, f8, f5 -/* 80140254 0013D1B4 EC C7 08 2A */ fadds f6, f7, f1 -/* 80140258 0013D1B8 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 8014025C 0013D1BC EC 02 18 2A */ fadds f0, f2, f3 -/* 80140260 0013D1C0 D0 81 00 4C */ stfs f4, 0x4c(r1) -/* 80140264 0013D1C4 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80140268 0013D1C8 D0 C1 00 48 */ stfs f6, 0x48(r1) -/* 8014026C 0013D1CC D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80140270 0013D1D0 C0 3E 06 70 */ lfs f1, 0x670(r30) -/* 80140274 0013D1D4 D0 A1 00 34 */ stfs f5, 0x34(r1) -/* 80140278 0013D1D8 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 8014027C 0013D1DC D0 E1 00 3C */ stfs f7, 0x3c(r1) -/* 80140280 0013D1E0 D1 01 00 40 */ stfs f8, 0x40(r1) -/* 80140284 0013D1E4 4B F0 CD 15 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80140288 0013D1E8 88 01 00 88 */ lbz r0, 0x88(r1) -/* 8014028C 0013D1EC 28 00 00 00 */ cmplwi r0, 0 -/* 80140290 0013D1F0 40 82 00 1C */ bne lbl_801402AC -/* 80140294 0013D1F4 38 00 00 02 */ li r0, 2 -/* 80140298 0013D1F8 38 7E 04 60 */ addi r3, r30, 0x460 -/* 8014029C 0013D1FC 90 1E 06 7C */ stw r0, 0x67c(r30) -/* 801402A0 0013D200 38 80 00 02 */ li r4, 2 -/* 801402A4 0013D204 38 A0 00 00 */ li r5, 0 -/* 801402A8 0013D208 48 0F 3B 1D */ bl SetAvailableState__20CKnockBackControllerFib -lbl_801402AC: -/* 801402AC 0013D20C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 801402B0 0013D210 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 801402B4 0013D214 D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 801402B8 0013D218 C0 03 00 04 */ lfs f0, 4(r3) -/* 801402BC 0013D21C D0 1E 01 54 */ stfs f0, 0x154(r30) -/* 801402C0 0013D220 C0 03 00 08 */ lfs f0, 8(r3) -/* 801402C4 0013D224 D0 1E 01 58 */ stfs f0, 0x158(r30) -/* 801402C8 0013D228 C0 03 00 00 */ lfs f0, 0(r3) -/* 801402CC 0013D22C D0 1E 00 FC */ stfs f0, 0xfc(r30) -/* 801402D0 0013D230 C0 03 00 04 */ lfs f0, 4(r3) -/* 801402D4 0013D234 D0 1E 01 00 */ stfs f0, 0x100(r30) -/* 801402D8 0013D238 C0 03 00 08 */ lfs f0, 8(r3) -/* 801402DC 0013D23C D0 1E 01 04 */ stfs f0, 0x104(r30) -/* 801402E0 0013D240 48 00 00 DC */ b lbl_801403BC -lbl_801402E4: -/* 801402E4 0013D244 3C A0 80 3E */ lis r5, lbl_803E18F4@ha -/* 801402E8 0013D248 38 C1 00 20 */ addi r6, r1, 0x20 -/* 801402EC 0013D24C 39 25 18 F4 */ addi r9, r5, lbl_803E18F4@l -/* 801402F0 0013D250 38 A0 00 07 */ li r5, 7 -/* 801402F4 0013D254 81 09 00 00 */ lwz r8, 0(r9) -/* 801402F8 0013D258 80 E9 00 04 */ lwz r7, 4(r9) -/* 801402FC 0013D25C 80 09 00 08 */ lwz r0, 8(r9) -/* 80140300 0013D260 91 01 00 20 */ stw r8, 0x20(r1) -/* 80140304 0013D264 90 E1 00 24 */ stw r7, 0x24(r1) -/* 80140308 0013D268 90 01 00 28 */ stw r0, 0x28(r1) -/* 8014030C 0013D26C 80 FE 06 7C */ lwz r7, 0x67c(r30) -/* 80140310 0013D270 4B F3 C4 A5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80140314 0013D274 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80140318 0013D278 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 8014031C 0013D27C C0 23 00 40 */ lfs f1, 0x40(r3) -/* 80140320 0013D280 C0 83 00 50 */ lfs f4, 0x50(r3) -/* 80140324 0013D284 C0 7E 00 50 */ lfs f3, 0x50(r30) -/* 80140328 0013D288 EC 01 00 28 */ fsubs f0, f1, f0 -/* 8014032C 0013D28C C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80140330 0013D290 C0 3E 00 60 */ lfs f1, 0x60(r30) -/* 80140334 0013D294 EC 64 18 28 */ fsubs f3, f4, f3 -/* 80140338 0013D298 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 8014033C 0013D29C EC 22 08 28 */ fsubs f1, f2, f1 -/* 80140340 0013D2A0 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80140344 0013D2A4 D0 63 00 20 */ stfs f3, 0x20(r3) -/* 80140348 0013D2A8 D0 23 00 24 */ stfs f1, 0x24(r3) -/* 8014034C 0013D2AC 80 1E 06 7C */ lwz r0, 0x67c(r30) -/* 80140350 0013D2B0 2C 00 00 02 */ cmpwi r0, 2 -/* 80140354 0013D2B4 41 82 00 68 */ beq lbl_801403BC -/* 80140358 0013D2B8 FC 40 F8 90 */ fmr f2, f31 -/* 8014035C 0013D2BC C0 3E 06 78 */ lfs f1, 0x678(r30) -/* 80140360 0013D2C0 7F C3 F3 78 */ mr r3, r30 -/* 80140364 0013D2C4 48 00 12 39 */ bl sub_8014159c -/* 80140368 0013D2C8 48 00 00 54 */ b lbl_801403BC -lbl_8014036C: -/* 8014036C 0013D2CC 38 C0 00 00 */ li r6, 0 -/* 80140370 0013D2D0 38 7E 04 60 */ addi r3, r30, 0x460 -/* 80140374 0013D2D4 90 DE 03 2C */ stw r6, 0x32c(r30) -/* 80140378 0013D2D8 38 80 00 02 */ li r4, 2 -/* 8014037C 0013D2DC 38 A0 00 01 */ li r5, 1 -/* 80140380 0013D2E0 88 1E 06 65 */ lbz r0, 0x665(r30) -/* 80140384 0013D2E4 50 C0 2E B4 */ rlwimi r0, r6, 5, 0x1a, 0x1a -/* 80140388 0013D2E8 98 1E 06 65 */ stb r0, 0x665(r30) -/* 8014038C 0013D2EC 48 0F 3A 39 */ bl SetAvailableState__20CKnockBackControllerFib -/* 80140390 0013D2F0 A1 1E 00 08 */ lhz r8, 8(r30) -/* 80140394 0013D2F4 7F E4 FB 78 */ mr r4, r31 -/* 80140398 0013D2F8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8014039C 0013D2FC 38 C1 00 0C */ addi r6, r1, 0xc -/* 801403A0 0013D300 B1 01 00 0C */ sth r8, 0xc(r1) -/* 801403A4 0013D304 38 60 00 01 */ li r3, 1 -/* 801403A8 0013D308 38 E0 00 01 */ li r7, 1 -/* 801403AC 0013D30C A0 1E 06 C4 */ lhz r0, 0x6c4(r30) -/* 801403B0 0013D310 B1 01 00 08 */ sth r8, 8(r1) -/* 801403B4 0013D314 B0 01 00 10 */ sth r0, 0x10(r1) -/* 801403B8 0013D318 48 0F 9B 19 */ bl ResetTeamAiRole__10CTeamAiMgrF11EAttackTypeR13CStateManager9TUniqueId9TUniqueIdb -lbl_801403BC: -/* 801403BC 0013D31C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 801403C0 0013D320 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 801403C4 0013D324 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 801403C8 0013D328 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 801403CC 0013D32C 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 801403D0 0013D330 7C 08 03 A6 */ mtlr r0 -/* 801403D4 0013D334 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 801403D8 0013D338 4E 80 00 20 */ blr - -.global sub_801403dc -sub_801403dc: -/* 801403DC 0013D33C 80 03 06 80 */ lwz r0, 0x680(r3) -/* 801403E0 0013D340 20 00 00 02 */ subfic r0, r0, 2 -/* 801403E4 0013D344 7C 00 00 34 */ cntlzw r0, r0 -/* 801403E8 0013D348 54 03 D9 7E */ srwi r3, r0, 5 -/* 801403EC 0013D34C 4E 80 00 20 */ blr - -.global SelectTarget__11CChozoGhostFR13CStateManager9EStateMsgf -SelectTarget__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 801403F0 0013D350 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801403F4 0013D354 7C 08 02 A6 */ mflr r0 -/* 801403F8 0013D358 2C 05 00 00 */ cmpwi r5, 0 -/* 801403FC 0013D35C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80140400 0013D360 41 82 00 08 */ beq lbl_80140408 -/* 80140404 0013D364 48 00 00 08 */ b lbl_8014040C -lbl_80140408: -/* 80140408 0013D368 48 00 0B 79 */ bl sub_80140f80 -lbl_8014040C: -/* 8014040C 0013D36C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80140410 0013D370 7C 08 03 A6 */ mtlr r0 -/* 80140414 0013D374 38 21 00 10 */ addi r1, r1, 0x10 -/* 80140418 0013D378 4E 80 00 20 */ blr - -.global InRange__11CChozoGhostFR13CStateManagerf -InRange__11CChozoGhostFR13CStateManagerf: -/* 8014041C 0013D37C 88 03 06 65 */ lbz r0, 0x665(r3) -/* 80140420 0013D380 54 03 EF FE */ rlwinm r3, r0, 0x1d, 0x1f, 0x1f -/* 80140424 0013D384 4E 80 00 20 */ blr - -.global Run__11CChozoGhostFR13CStateManager9EStateMsgf -Run__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 80140428 0013D388 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 8014042C 0013D38C 7C 08 02 A6 */ mflr r0 -/* 80140430 0013D390 90 01 00 74 */ stw r0, 0x74(r1) -/* 80140434 0013D394 DB E1 00 60 */ stfd f31, 0x60(r1) -/* 80140438 0013D398 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 -/* 8014043C 0013D39C 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80140440 0013D3A0 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80140444 0013D3A4 FF E0 08 90 */ fmr f31, f1 -/* 80140448 0013D3A8 2C 05 00 01 */ cmpwi r5, 1 -/* 8014044C 0013D3AC 7C 7F 1B 78 */ mr r31, r3 -/* 80140450 0013D3B0 7C 9E 23 78 */ mr r30, r4 -/* 80140454 0013D3B4 41 82 00 60 */ beq lbl_801404B4 -/* 80140458 0013D3B8 40 80 00 10 */ bge lbl_80140468 -/* 8014045C 0013D3BC 2C 05 00 00 */ cmpwi r5, 0 -/* 80140460 0013D3C0 40 80 00 14 */ bge lbl_80140474 -/* 80140464 0013D3C4 48 00 02 00 */ b lbl_80140664 -lbl_80140468: -/* 80140468 0013D3C8 2C 05 00 03 */ cmpwi r5, 3 -/* 8014046C 0013D3CC 40 80 01 F8 */ bge lbl_80140664 -/* 80140470 0013D3D0 48 00 01 84 */ b lbl_801405F4 -lbl_80140474: -/* 80140474 0013D3D4 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80140478 0013D3D8 38 80 00 02 */ li r4, 2 -/* 8014047C 0013D3DC 4B FF A5 5D */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80140480 0013D3E0 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 80140484 0013D3E4 38 60 00 00 */ li r3, 0 -/* 80140488 0013D3E8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8014048C 0013D3EC 38 7F 04 60 */ addi r3, r31, 0x460 -/* 80140490 0013D3F0 98 1F 04 00 */ stb r0, 0x400(r31) -/* 80140494 0013D3F4 38 80 00 02 */ li r4, 2 -/* 80140498 0013D3F8 38 A0 00 00 */ li r5, 0 -/* 8014049C 0013D3FC 48 0F 39 29 */ bl SetAvailableState__20CKnockBackControllerFib -/* 801404A0 0013D400 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 801404A4 0013D404 38 60 00 00 */ li r3, 0 -/* 801404A8 0013D408 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 801404AC 0013D40C 98 1F 06 65 */ stb r0, 0x665(r31) -/* 801404B0 0013D410 48 00 01 B4 */ b lbl_80140664 -lbl_801404B4: -/* 801404B4 0013D414 7F E5 FB 78 */ mr r5, r31 -/* 801404B8 0013D418 38 61 00 2C */ addi r3, r1, 0x2c -/* 801404BC 0013D41C 38 9F 06 88 */ addi r4, r31, 0x688 -/* 801404C0 0013D420 38 DF 02 E0 */ addi r6, r31, 0x2e0 -/* 801404C4 0013D424 4B FF E7 5D */ bl Seek__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f -/* 801404C8 0013D428 3C 60 80 5A */ lis r3, skZero3f@ha -/* 801404CC 0013D42C C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 801404D0 0013D430 C0 C1 00 2C */ lfs f6, 0x2c(r1) -/* 801404D4 0013D434 38 81 00 38 */ addi r4, r1, 0x38 -/* 801404D8 0013D438 C0 A1 00 30 */ lfs f5, 0x30(r1) -/* 801404DC 0013D43C C0 81 00 34 */ lfs f4, 0x34(r1) -/* 801404E0 0013D440 C0 43 00 04 */ lfs f2, 4(r3) -/* 801404E4 0013D444 C0 23 00 08 */ lfs f1, 8(r3) -/* 801404E8 0013D448 C0 02 9B 60 */ lfs f0, lbl_805AB880@sda21(r2) -/* 801404EC 0013D44C D0 C1 00 38 */ stfs f6, 0x38(r1) -/* 801404F0 0013D450 D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 801404F4 0013D454 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 801404F8 0013D458 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 801404FC 0013D45C D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80140500 0013D460 D0 21 00 4C */ stfs f1, 0x4c(r1) -/* 80140504 0013D464 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 80140508 0013D468 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8014050C 0013D46C 38 63 00 04 */ addi r3, r3, 4 -/* 80140510 0013D470 4B FF 12 09 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 80140514 0013D474 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 80140518 0013D478 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 8014051C 0013D47C 41 82 01 48 */ beq lbl_80140664 -/* 80140520 0013D480 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) -/* 80140524 0013D484 FC 40 F8 90 */ fmr f2, f31 -/* 80140528 0013D488 7F E3 FB 78 */ mr r3, r31 -/* 8014052C 0013D48C D0 1F 06 78 */ stfs f0, 0x678(r31) -/* 80140530 0013D490 C0 3F 06 78 */ lfs f1, 0x678(r31) -/* 80140534 0013D494 48 00 10 69 */ bl sub_8014159c -/* 80140538 0013D498 80 BF 00 64 */ lwz r5, 0x64(r31) -/* 8014053C 0013D49C 3C 60 80 57 */ lis r3, lbl_805719CC@ha -/* 80140540 0013D4A0 38 83 19 CC */ addi r4, r3, lbl_805719CC@l -/* 80140544 0013D4A4 7F C6 F3 78 */ mr r6, r30 -/* 80140548 0013D4A8 80 65 00 10 */ lwz r3, 0x10(r5) -/* 8014054C 0013D4AC 38 A0 00 01 */ li r5, 1 -/* 80140550 0013D4B0 4B EE A8 71 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 80140554 0013D4B4 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 80140558 0013D4B8 38 60 00 00 */ li r3, 0 -/* 8014055C 0013D4BC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80140560 0013D4C0 98 1F 06 65 */ stb r0, 0x665(r31) -/* 80140564 0013D4C4 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 80140568 0013D4C8 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f -/* 8014056C 0013D4CC 40 82 00 F8 */ bne lbl_80140664 -/* 80140570 0013D4D0 38 7F 01 38 */ addi r3, r31, 0x138 -/* 80140574 0013D4D4 48 1D 43 45 */ bl Magnitude__9CVector3fCFv -/* 80140578 0013D4D8 C1 1F 00 50 */ lfs f8, 0x50(r31) -/* 8014057C 0013D4DC ED 5F 00 72 */ fmuls f10, f31, f1 -/* 80140580 0013D4E0 C0 5F 00 40 */ lfs f2, 0x40(r31) -/* 80140584 0013D4E4 C0 3F 02 E4 */ lfs f1, 0x2e4(r31) -/* 80140588 0013D4E8 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) -/* 8014058C 0013D4EC EC E8 08 28 */ fsubs f7, f8, f1 -/* 80140590 0013D4F0 C1 3F 00 60 */ lfs f9, 0x60(r31) -/* 80140594 0013D4F4 EC 62 00 28 */ fsubs f3, f2, f0 -/* 80140598 0013D4F8 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) -/* 8014059C 0013D4FC C0 A2 9B 84 */ lfs f5, lbl_805AB8A4@sda21(r2) -/* 801405A0 0013D500 EC C9 00 28 */ fsubs f6, f9, f0 -/* 801405A4 0013D504 C0 9F 06 6C */ lfs f4, 0x66c(r31) -/* 801405A8 0013D508 EC 23 00 F2 */ fmuls f1, f3, f3 -/* 801405AC 0013D50C EC 07 01 F2 */ fmuls f0, f7, f7 -/* 801405B0 0013D510 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 801405B4 0013D514 EC 85 22 BA */ fmadds f4, f5, f10, f4 -/* 801405B8 0013D518 EC 46 01 B2 */ fmuls f2, f6, f6 -/* 801405BC 0013D51C D1 01 00 18 */ stfs f8, 0x18(r1) -/* 801405C0 0013D520 EC 21 00 2A */ fadds f1, f1, f0 -/* 801405C4 0013D524 EC 04 01 32 */ fmuls f0, f4, f4 -/* 801405C8 0013D528 D1 21 00 1C */ stfs f9, 0x1c(r1) -/* 801405CC 0013D52C EC 22 08 2A */ fadds f1, f2, f1 -/* 801405D0 0013D530 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 801405D4 0013D534 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 801405D8 0013D538 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801405DC 0013D53C D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 801405E0 0013D540 7C 60 00 26 */ mfcr r3 -/* 801405E4 0013D544 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 801405E8 0013D548 50 60 27 38 */ rlwimi r0, r3, 4, 0x1c, 0x1c -/* 801405EC 0013D54C 98 1F 06 65 */ stb r0, 0x665(r31) -/* 801405F0 0013D550 48 00 00 74 */ b lbl_80140664 -lbl_801405F4: -/* 801405F4 0013D554 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 801405F8 0013D558 38 80 00 00 */ li r4, 0 -/* 801405FC 0013D55C 4B FF A3 DD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80140600 0013D560 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 80140604 0013D564 7F E3 FB 78 */ mr r3, r31 -/* 80140608 0013D568 38 81 00 08 */ addi r4, r1, 8 -/* 8014060C 0013D56C C0 45 00 60 */ lfs f2, 0x60(r5) -/* 80140610 0013D570 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 80140614 0013D574 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 80140618 0013D578 D0 01 00 08 */ stfs f0, 8(r1) -/* 8014061C 0013D57C D0 21 00 0C */ stfs f1, 0xc(r1) -/* 80140620 0013D580 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 80140624 0013D584 4B F3 C5 39 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80140628 0013D588 80 BF 00 64 */ lwz r5, 0x64(r31) -/* 8014062C 0013D58C 3C 60 80 57 */ lis r3, lbl_805719CC@ha -/* 80140630 0013D590 38 83 19 CC */ addi r4, r3, lbl_805719CC@l -/* 80140634 0013D594 7F C6 F3 78 */ mr r6, r30 -/* 80140638 0013D598 80 65 00 10 */ lwz r3, 0x10(r5) -/* 8014063C 0013D59C 38 A0 00 00 */ li r5, 0 -/* 80140640 0013D5A0 4B EE A7 81 */ bl SetParticleEffectState__9CAnimDataFQ24rstl6stringbR13CStateManager -/* 80140644 0013D5A4 38 7F 04 60 */ addi r3, r31, 0x460 -/* 80140648 0013D5A8 38 80 00 02 */ li r4, 2 -/* 8014064C 0013D5AC 38 A0 00 01 */ li r5, 1 -/* 80140650 0013D5B0 48 0F 37 75 */ bl SetAvailableState__20CKnockBackControllerFib -/* 80140654 0013D5B4 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 80140658 0013D5B8 38 60 00 00 */ li r3, 0 -/* 8014065C 0013D5BC 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c -/* 80140660 0013D5C0 98 1F 06 65 */ stb r0, 0x665(r31) -lbl_80140664: -/* 80140664 0013D5C4 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 -/* 80140668 0013D5C8 80 01 00 74 */ lwz r0, 0x74(r1) -/* 8014066C 0013D5CC CB E1 00 60 */ lfd f31, 0x60(r1) -/* 80140670 0013D5D0 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 80140674 0013D5D4 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80140678 0013D5D8 7C 08 03 A6 */ mtlr r0 -/* 8014067C 0013D5DC 38 21 00 70 */ addi r1, r1, 0x70 -/* 80140680 0013D5E0 4E 80 00 20 */ blr - -.global WallDetach__11CChozoGhostFR13CStateManager9EStateMsgf -WallDetach__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 80140684 0013D5E4 94 21 FF 80 */ stwu r1, -0x80(r1) -/* 80140688 0013D5E8 7C 08 02 A6 */ mflr r0 -/* 8014068C 0013D5EC 2C 05 00 01 */ cmpwi r5, 1 -/* 80140690 0013D5F0 90 01 00 84 */ stw r0, 0x84(r1) -/* 80140694 0013D5F4 93 E1 00 7C */ stw r31, 0x7c(r1) -/* 80140698 0013D5F8 93 C1 00 78 */ stw r30, 0x78(r1) -/* 8014069C 0013D5FC 7C 9E 23 78 */ mr r30, r4 -/* 801406A0 0013D600 93 A1 00 74 */ stw r29, 0x74(r1) -/* 801406A4 0013D604 7C 7D 1B 78 */ mr r29, r3 -/* 801406A8 0013D608 41 82 01 C4 */ beq lbl_8014086C -/* 801406AC 0013D60C 40 80 00 10 */ bge lbl_801406BC -/* 801406B0 0013D610 2C 05 00 00 */ cmpwi r5, 0 -/* 801406B4 0013D614 40 80 00 14 */ bge lbl_801406C8 -/* 801406B8 0013D618 48 00 01 B4 */ b lbl_8014086C -lbl_801406BC: -/* 801406BC 0013D61C 2C 05 00 03 */ cmpwi r5, 3 -/* 801406C0 0013D620 40 80 01 AC */ bge lbl_8014086C -/* 801406C4 0013D624 48 00 01 68 */ b lbl_8014082C -lbl_801406C8: -/* 801406C8 0013D628 C0 1D 05 6C */ lfs f0, 0x56c(r29) -/* 801406CC 0013D62C 38 A0 00 00 */ li r5, 0 -/* 801406D0 0013D630 C0 22 9B 60 */ lfs f1, lbl_805AB880@sda21(r2) -/* 801406D4 0013D634 D0 1D 03 40 */ stfs f0, 0x340(r29) -/* 801406D8 0013D638 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 801406DC 0013D63C D0 3D 03 E8 */ stfs f1, 0x3e8(r29) -/* 801406E0 0013D640 88 1D 06 64 */ lbz r0, 0x664(r29) -/* 801406E4 0013D644 50 A0 17 7A */ rlwimi r0, r5, 2, 0x1d, 0x1d -/* 801406E8 0013D648 98 1D 06 64 */ stb r0, 0x664(r29) -/* 801406EC 0013D64C C0 3D 05 6C */ lfs f1, 0x56c(r29) -/* 801406F0 0013D650 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801406F4 0013D654 40 81 00 28 */ ble lbl_8014071C -/* 801406F8 0013D658 D0 3D 06 C8 */ stfs f1, 0x6c8(r29) -/* 801406FC 0013D65C 38 A1 00 60 */ addi r5, r1, 0x60 -/* 80140700 0013D660 C0 5D 00 58 */ lfs f2, 0x58(r29) -/* 80140704 0013D664 C0 3D 00 48 */ lfs f1, 0x48(r29) -/* 80140708 0013D668 C0 1D 00 38 */ lfs f0, 0x38(r29) -/* 8014070C 0013D66C D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80140710 0013D670 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80140714 0013D674 D0 41 00 68 */ stfs f2, 0x68(r1) -/* 80140718 0013D678 48 00 05 FD */ bl sub_80140d14 -lbl_8014071C: -/* 8014071C 0013D67C 7F A4 EB 78 */ mr r4, r29 -/* 80140720 0013D680 7F C5 F3 78 */ mr r5, r30 -/* 80140724 0013D684 38 61 00 14 */ addi r3, r1, 0x14 -/* 80140728 0013D688 3B E0 00 00 */ li r31, 0 -/* 8014072C 0013D68C 38 C0 00 0A */ li r6, 0xa -/* 80140730 0013D690 38 E0 00 06 */ li r7, 6 -/* 80140734 0013D694 48 0B 48 65 */ bl GetWaypointForState__10CPatternedFR13CStateManager18EScriptObjectState -/* 80140738 0013D698 A0 61 00 14 */ lhz r3, 0x14(r1) -/* 8014073C 0013D69C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80140740 0013D6A0 B0 61 00 18 */ sth r3, 0x18(r1) -/* 80140744 0013D6A4 7C 03 00 40 */ cmplw r3, r0 -/* 80140748 0013D6A8 41 82 00 24 */ beq lbl_8014076C -/* 8014074C 0013D6AC B0 61 00 10 */ sth r3, 0x10(r1) -/* 80140750 0013D6B0 7F C3 F3 78 */ mr r3, r30 -/* 80140754 0013D6B4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80140758 0013D6B8 4B F0 BE 4D */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 8014075C 0013D6BC 7C 64 1B 78 */ mr r4, r3 -/* 80140760 0013D6C0 38 61 00 1C */ addi r3, r1, 0x1c -/* 80140764 0013D6C4 4B F6 F5 2D */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" -/* 80140768 0013D6C8 83 E3 00 04 */ lwz r31, 4(r3) -lbl_8014076C: -/* 8014076C 0013D6CC 28 1F 00 00 */ cmplwi r31, 0 -/* 80140770 0013D6D0 41 82 00 2C */ beq lbl_8014079C -/* 80140774 0013D6D4 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80140778 0013D6D8 7F A3 EB 78 */ mr r3, r29 -/* 8014077C 0013D6DC C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80140780 0013D6E0 38 81 00 54 */ addi r4, r1, 0x54 -/* 80140784 0013D6E4 C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80140788 0013D6E8 D0 01 00 54 */ stfs f0, 0x54(r1) -/* 8014078C 0013D6EC D0 21 00 58 */ stfs f1, 0x58(r1) -/* 80140790 0013D6F0 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 80140794 0013D6F4 4B F3 C3 C9 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80140798 0013D6F8 48 00 00 7C */ b lbl_80140814 -lbl_8014079C: -/* 8014079C 0013D6FC C0 22 9B 68 */ lfs f1, lbl_805AB888@sda21(r2) -/* 801407A0 0013D700 7F A3 EB 78 */ mr r3, r29 -/* 801407A4 0013D704 C0 1D 06 6C */ lfs f0, 0x66c(r29) -/* 801407A8 0013D708 38 81 00 48 */ addi r4, r1, 0x48 -/* 801407AC 0013D70C C0 FD 00 58 */ lfs f7, 0x58(r29) -/* 801407B0 0013D710 EC 41 00 32 */ fmuls f2, f1, f0 -/* 801407B4 0013D714 C0 BD 00 48 */ lfs f5, 0x48(r29) -/* 801407B8 0013D718 C0 1D 00 38 */ lfs f0, 0x38(r29) -/* 801407BC 0013D71C C1 3D 00 60 */ lfs f9, 0x60(r29) -/* 801407C0 0013D720 EC 62 01 F2 */ fmuls f3, f2, f7 -/* 801407C4 0013D724 C1 1D 00 50 */ lfs f8, 0x50(r29) -/* 801407C8 0013D728 EC 82 01 72 */ fmuls f4, f2, f5 -/* 801407CC 0013D72C C0 3D 00 40 */ lfs f1, 0x40(r29) -/* 801407D0 0013D730 EC 42 00 32 */ fmuls f2, f2, f0 -/* 801407D4 0013D734 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 801407D8 0013D738 EC C8 20 2A */ fadds f6, f8, f4 -/* 801407DC 0013D73C D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 801407E0 0013D740 EC A9 18 2A */ fadds f5, f9, f3 -/* 801407E4 0013D744 EC 01 10 2A */ fadds f0, f1, f2 -/* 801407E8 0013D748 D0 E1 00 2C */ stfs f7, 0x2c(r1) -/* 801407EC 0013D74C D0 41 00 30 */ stfs f2, 0x30(r1) -/* 801407F0 0013D750 D0 81 00 34 */ stfs f4, 0x34(r1) -/* 801407F4 0013D754 D0 61 00 38 */ stfs f3, 0x38(r1) -/* 801407F8 0013D758 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 801407FC 0013D75C D1 01 00 40 */ stfs f8, 0x40(r1) -/* 80140800 0013D760 D1 21 00 44 */ stfs f9, 0x44(r1) -/* 80140804 0013D764 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80140808 0013D768 D0 C1 00 4C */ stfs f6, 0x4c(r1) -/* 8014080C 0013D76C D0 A1 00 50 */ stfs f5, 0x50(r1) -/* 80140810 0013D770 4B F3 C3 4D */ bl SetDestPos__10CPatternedFRC9CVector3f -lbl_80140814: -/* 80140814 0013D774 7F A3 EB 78 */ mr r3, r29 -/* 80140818 0013D778 7F C5 F3 78 */ mr r5, r30 -/* 8014081C 0013D77C 38 80 00 0A */ li r4, 0xa -/* 80140820 0013D780 38 C0 00 06 */ li r6, 6 -/* 80140824 0013D784 4B F1 08 9D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage -/* 80140828 0013D788 48 00 00 44 */ b lbl_8014086C -lbl_8014082C: -/* 8014082C 0013D78C 38 7D 06 8C */ addi r3, r29, 0x68c -/* 80140830 0013D790 38 80 00 01 */ li r4, 1 -/* 80140834 0013D794 48 03 49 F1 */ bl SetActive__13CBoneTrackingFb -/* 80140838 0013D798 80 BE 08 4C */ lwz r5, 0x84c(r30) -/* 8014083C 0013D79C 38 7D 06 8C */ addi r3, r29, 0x68c -/* 80140840 0013D7A0 38 81 00 0C */ addi r4, r1, 0xc -/* 80140844 0013D7A4 A0 05 00 08 */ lhz r0, 8(r5) -/* 80140848 0013D7A8 B0 01 00 08 */ sth r0, 8(r1) -/* 8014084C 0013D7AC B0 01 00 0C */ sth r0, 0xc(r1) -/* 80140850 0013D7B0 48 03 49 C9 */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 80140854 0013D7B4 88 7D 06 65 */ lbz r3, 0x665(r29) -/* 80140858 0013D7B8 38 00 00 00 */ li r0, 0 -/* 8014085C 0013D7BC 50 03 3E 30 */ rlwimi r3, r0, 7, 0x18, 0x18 -/* 80140860 0013D7C0 38 00 00 03 */ li r0, 3 -/* 80140864 0013D7C4 98 7D 06 65 */ stb r3, 0x665(r29) -/* 80140868 0013D7C8 90 1D 06 80 */ stw r0, 0x680(r29) -lbl_8014086C: -/* 8014086C 0013D7CC 80 01 00 84 */ lwz r0, 0x84(r1) -/* 80140870 0013D7D0 83 E1 00 7C */ lwz r31, 0x7c(r1) -/* 80140874 0013D7D4 83 C1 00 78 */ lwz r30, 0x78(r1) -/* 80140878 0013D7D8 83 A1 00 74 */ lwz r29, 0x74(r1) -/* 8014087C 0013D7DC 7C 08 03 A6 */ mtlr r0 -/* 80140880 0013D7E0 38 21 00 80 */ addi r1, r1, 0x80 -/* 80140884 0013D7E4 4E 80 00 20 */ blr - -.global Generate__11CChozoGhostFR13CStateManager9EStateMsgf -Generate__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 80140888 0013D7E8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8014088C 0013D7EC 7C 08 02 A6 */ mflr r0 -/* 80140890 0013D7F0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80140894 0013D7F4 DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80140898 0013D7F8 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 8014089C 0013D7FC 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 801408A0 0013D800 93 C1 00 98 */ stw r30, 0x98(r1) -/* 801408A4 0013D804 FF E0 08 90 */ fmr f31, f1 -/* 801408A8 0013D808 2C 05 00 01 */ cmpwi r5, 1 -/* 801408AC 0013D80C 7C 7E 1B 78 */ mr r30, r3 -/* 801408B0 0013D810 7C 9F 23 78 */ mr r31, r4 -/* 801408B4 0013D814 41 82 01 20 */ beq lbl_801409D4 -/* 801408B8 0013D818 40 80 00 10 */ bge lbl_801408C8 -/* 801408BC 0013D81C 2C 05 00 00 */ cmpwi r5, 0 -/* 801408C0 0013D820 40 80 00 14 */ bge lbl_801408D4 -/* 801408C4 0013D824 48 00 02 2C */ b lbl_80140AF0 -lbl_801408C8: -/* 801408C8 0013D828 2C 05 00 03 */ cmpwi r5, 3 -/* 801408CC 0013D82C 40 80 02 24 */ bge lbl_80140AF0 -/* 801408D0 0013D830 48 00 02 00 */ b lbl_80140AD0 -lbl_801408D4: -/* 801408D4 0013D834 C0 1E 05 6C */ lfs f0, 0x56c(r30) -/* 801408D8 0013D838 38 00 00 01 */ li r0, 1 -/* 801408DC 0013D83C 38 A0 00 00 */ li r5, 0 -/* 801408E0 0013D840 38 60 00 00 */ li r3, 0 -/* 801408E4 0013D844 D0 1E 03 40 */ stfs f0, 0x340(r30) -/* 801408E8 0013D848 38 80 00 01 */ li r4, 1 -/* 801408EC 0013D84C 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 801408F0 0013D850 88 1E 06 64 */ lbz r0, 0x664(r30) -/* 801408F4 0013D854 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 801408F8 0013D858 98 1E 06 64 */ stb r0, 0x664(r30) -/* 801408FC 0013D85C 80 AD 8B AC */ lwz r5, lbl_805A776C@sda21(r13) -/* 80140900 0013D860 48 24 95 F5 */ bl __shl2i -/* 80140904 0013D864 39 00 00 00 */ li r8, 0 -/* 80140908 0013D868 38 00 00 01 */ li r0, 1 -/* 8014090C 0013D86C 90 81 00 54 */ stw r4, 0x54(r1) -/* 80140910 0013D870 3C 80 80 5A */ lis r4, lbl_805A6700@ha -/* 80140914 0013D874 38 C4 67 00 */ addi r6, r4, lbl_805A6700@l -/* 80140918 0013D878 C0 22 9B 88 */ lfs f1, lbl_805AB8A8@sda21(r2) -/* 8014091C 0013D87C 90 61 00 50 */ stw r3, 0x50(r1) -/* 80140920 0013D880 7F E4 FB 78 */ mr r4, r31 -/* 80140924 0013D884 38 61 00 68 */ addi r3, r1, 0x68 -/* 80140928 0013D888 38 A1 00 34 */ addi r5, r1, 0x34 -/* 8014092C 0013D88C 91 01 00 5C */ stw r8, 0x5c(r1) -/* 80140930 0013D890 38 E1 00 50 */ addi r7, r1, 0x50 -/* 80140934 0013D894 91 01 00 58 */ stw r8, 0x58(r1) -/* 80140938 0013D898 90 01 00 60 */ stw r0, 0x60(r1) -/* 8014093C 0013D89C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80140940 0013D8A0 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80140944 0013D8A4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80140948 0013D8A8 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 8014094C 0013D8AC D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80140950 0013D8B0 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 80140954 0013D8B4 4B F0 C6 45 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80140958 0013D8B8 88 01 00 88 */ lbz r0, 0x88(r1) -/* 8014095C 0013D8BC C0 01 00 74 */ lfs f0, 0x74(r1) -/* 80140960 0013D8C0 28 00 00 00 */ cmplwi r0, 0 -/* 80140964 0013D8C4 41 82 00 0C */ beq lbl_80140970 -/* 80140968 0013D8C8 D0 1E 06 78 */ stfs f0, 0x678(r30) -/* 8014096C 0013D8CC 48 00 00 24 */ b lbl_80140990 -lbl_80140970: -/* 80140970 0013D8D0 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80140974 0013D8D4 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80140978 0013D8D8 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 8014097C 0013D8DC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80140980 0013D8E0 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 80140984 0013D8E4 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80140988 0013D8E8 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8014098C 0013D8EC D0 5E 06 78 */ stfs f2, 0x678(r30) -lbl_80140990: -/* 80140990 0013D8F0 C0 22 9B 60 */ lfs f1, lbl_805AB880@sda21(r2) -/* 80140994 0013D8F4 38 60 00 01 */ li r3, 1 -/* 80140998 0013D8F8 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 8014099C 0013D8FC D0 3E 03 E8 */ stfs f1, 0x3e8(r30) -/* 801409A0 0013D900 88 1E 06 64 */ lbz r0, 0x664(r30) -/* 801409A4 0013D904 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 801409A8 0013D908 98 1E 06 64 */ stb r0, 0x664(r30) -/* 801409AC 0013D90C C0 3E 05 6C */ lfs f1, 0x56c(r30) -/* 801409B0 0013D910 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801409B4 0013D914 40 81 01 3C */ ble lbl_80140AF0 -/* 801409B8 0013D918 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 801409BC 0013D91C D0 3E 06 C8 */ stfs f1, 0x6c8(r30) -/* 801409C0 0013D920 38 A3 67 00 */ addi r5, r3, lbl_805A6700@l -/* 801409C4 0013D924 7F E4 FB 78 */ mr r4, r31 -/* 801409C8 0013D928 7F C3 F3 78 */ mr r3, r30 -/* 801409CC 0013D92C 48 00 03 49 */ bl sub_80140d14 -/* 801409D0 0013D930 48 00 01 20 */ b lbl_80140AF0 -lbl_801409D4: -/* 801409D4 0013D934 3C A0 80 3E */ lis r5, lbl_803E18E8@ha -/* 801409D8 0013D938 38 C1 00 1C */ addi r6, r1, 0x1c -/* 801409DC 0013D93C 39 45 18 E8 */ addi r10, r5, lbl_803E18E8@l -/* 801409E0 0013D940 38 A0 00 0D */ li r5, 0xd -/* 801409E4 0013D944 81 2A 00 00 */ lwz r9, 0(r10) -/* 801409E8 0013D948 38 E0 00 00 */ li r7, 0 -/* 801409EC 0013D94C 81 0A 00 04 */ lwz r8, 4(r10) -/* 801409F0 0013D950 80 0A 00 08 */ lwz r0, 8(r10) -/* 801409F4 0013D954 91 21 00 1C */ stw r9, 0x1c(r1) -/* 801409F8 0013D958 91 01 00 20 */ stw r8, 0x20(r1) -/* 801409FC 0013D95C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80140A00 0013D960 4B F3 BD B5 */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80140A04 0013D964 80 1E 03 2C */ lwz r0, 0x32c(r30) -/* 80140A08 0013D968 2C 00 00 03 */ cmpwi r0, 3 -/* 80140A0C 0013D96C 41 82 00 88 */ beq lbl_80140A94 -/* 80140A10 0013D970 40 80 00 E0 */ bge lbl_80140AF0 -/* 80140A14 0013D974 2C 00 00 02 */ cmpwi r0, 2 -/* 80140A18 0013D978 40 80 00 08 */ bge lbl_80140A20 -/* 80140A1C 0013D97C 48 00 00 D4 */ b lbl_80140AF0 -lbl_80140A20: -/* 80140A20 0013D980 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80140A24 0013D984 38 80 00 00 */ li r4, 0 -/* 80140A28 0013D988 4B FF 9F B1 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80140A2C 0013D98C 88 1E 06 64 */ lbz r0, 0x664(r30) -/* 80140A30 0013D990 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f -/* 80140A34 0013D994 40 82 00 BC */ bne lbl_80140AF0 -/* 80140A38 0013D998 C0 3E 06 78 */ lfs f1, 0x678(r30) -/* 80140A3C 0013D99C C0 1E 06 68 */ lfs f0, 0x668(r30) -/* 80140A40 0013D9A0 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80140A44 0013D9A4 EC 01 00 2A */ fadds f0, f1, f0 -/* 80140A48 0013D9A8 C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80140A4C 0013D9AC C0 7E 00 40 */ lfs f3, 0x40(r30) -/* 80140A50 0013D9B0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80140A54 0013D9B4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80140A58 0013D9B8 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 80140A5C 0013D9BC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80140A60 0013D9C0 40 80 00 90 */ bge lbl_80140AF0 -/* 80140A64 0013D9C4 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 80140A68 0013D9C8 7F C3 F3 78 */ mr r3, r30 -/* 80140A6C 0013D9CC 38 81 00 40 */ addi r4, r1, 0x40 -/* 80140A70 0013D9D0 D0 61 00 40 */ stfs f3, 0x40(r1) -/* 80140A74 0013D9D4 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80140A78 0013D9D8 D0 01 00 48 */ stfs f0, 0x48(r1) -/* 80140A7C 0013D9DC 4B F1 24 11 */ bl SetTranslation__6CActorFRC9CVector3f -/* 80140A80 0013D9E0 88 1E 06 64 */ lbz r0, 0x664(r30) -/* 80140A84 0013D9E4 38 60 00 01 */ li r3, 1 -/* 80140A88 0013D9E8 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80140A8C 0013D9EC 98 1E 06 64 */ stb r0, 0x664(r30) -/* 80140A90 0013D9F0 48 00 00 60 */ b lbl_80140AF0 -lbl_80140A94: -/* 80140A94 0013D9F4 38 7E 06 8C */ addi r3, r30, 0x68c -/* 80140A98 0013D9F8 38 80 00 01 */ li r4, 1 -/* 80140A9C 0013D9FC 48 03 47 89 */ bl SetActive__13CBoneTrackingFb -/* 80140AA0 0013DA00 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 80140AA4 0013DA04 38 7E 06 8C */ addi r3, r30, 0x68c -/* 80140AA8 0013DA08 38 81 00 0C */ addi r4, r1, 0xc -/* 80140AAC 0013DA0C A0 05 00 08 */ lhz r0, 8(r5) -/* 80140AB0 0013DA10 B0 01 00 08 */ sth r0, 8(r1) -/* 80140AB4 0013DA14 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80140AB8 0013DA18 48 03 47 61 */ bl SetTarget__13CBoneTrackingF9TUniqueId -/* 80140ABC 0013DA1C FC 40 F8 90 */ fmr f2, f31 -/* 80140AC0 0013DA20 C0 3E 06 78 */ lfs f1, 0x678(r30) -/* 80140AC4 0013DA24 7F C3 F3 78 */ mr r3, r30 -/* 80140AC8 0013DA28 48 00 0A D5 */ bl sub_8014159c -/* 80140ACC 0013DA2C 48 00 00 24 */ b lbl_80140AF0 -lbl_80140AD0: -/* 80140AD0 0013DA30 38 60 00 00 */ li r3, 0 -/* 80140AD4 0013DA34 90 7E 03 2C */ stw r3, 0x32c(r30) -/* 80140AD8 0013DA38 88 1E 06 65 */ lbz r0, 0x665(r30) -/* 80140ADC 0013DA3C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80140AE0 0013DA40 98 1E 06 65 */ stb r0, 0x665(r30) -/* 80140AE4 0013DA44 88 1E 06 64 */ lbz r0, 0x664(r30) -/* 80140AE8 0013DA48 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80140AEC 0013DA4C 98 1E 06 64 */ stb r0, 0x664(r30) -lbl_80140AF0: -/* 80140AF0 0013DA50 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80140AF4 0013DA54 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80140AF8 0013DA58 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80140AFC 0013DA5C 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 80140B00 0013DA60 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 80140B04 0013DA64 7C 08 03 A6 */ mtlr r0 -/* 80140B08 0013DA68 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80140B0C 0013DA6C 4E 80 00 20 */ blr - -.global Growth__11CChozoGhostFR13CStateManager9EStateMsgf -Growth__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 80140B10 0013DA70 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80140B14 0013DA74 7C 08 02 A6 */ mflr r0 -/* 80140B18 0013DA78 2C 05 00 01 */ cmpwi r5, 1 -/* 80140B1C 0013DA7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80140B20 0013DA80 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80140B24 0013DA84 7C 9F 23 78 */ mr r31, r4 -/* 80140B28 0013DA88 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80140B2C 0013DA8C 7C 7E 1B 78 */ mr r30, r3 -/* 80140B30 0013DA90 41 82 00 B0 */ beq lbl_80140BE0 -/* 80140B34 0013DA94 40 80 00 10 */ bge lbl_80140B44 -/* 80140B38 0013DA98 2C 05 00 00 */ cmpwi r5, 0 -/* 80140B3C 0013DA9C 40 80 00 14 */ bge lbl_80140B50 -/* 80140B40 0013DAA0 48 00 00 A0 */ b lbl_80140BE0 -lbl_80140B44: -/* 80140B44 0013DAA4 2C 05 00 03 */ cmpwi r5, 3 -/* 80140B48 0013DAA8 40 80 00 98 */ bge lbl_80140BE0 -/* 80140B4C 0013DAAC 48 00 00 5C */ b lbl_80140BA8 -lbl_80140B50: -/* 80140B50 0013DAB0 C0 1E 05 6C */ lfs f0, 0x56c(r30) -/* 80140B54 0013DAB4 38 80 00 00 */ li r4, 0 -/* 80140B58 0013DAB8 D0 1E 03 40 */ stfs f0, 0x340(r30) -/* 80140B5C 0013DABC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80140B60 0013DAC0 4B FF 9E 79 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80140B64 0013DAC4 C0 22 9B 60 */ lfs f1, lbl_805AB880@sda21(r2) -/* 80140B68 0013DAC8 38 60 00 01 */ li r3, 1 -/* 80140B6C 0013DACC C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 80140B70 0013DAD0 D0 3E 03 E8 */ stfs f1, 0x3e8(r30) -/* 80140B74 0013DAD4 88 1E 06 64 */ lbz r0, 0x664(r30) -/* 80140B78 0013DAD8 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80140B7C 0013DADC 98 1E 06 64 */ stb r0, 0x664(r30) -/* 80140B80 0013DAE0 C0 3E 05 6C */ lfs f1, 0x56c(r30) -/* 80140B84 0013DAE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80140B88 0013DAE8 40 81 00 58 */ ble lbl_80140BE0 -/* 80140B8C 0013DAEC 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80140B90 0013DAF0 D0 3E 06 C8 */ stfs f1, 0x6c8(r30) -/* 80140B94 0013DAF4 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l -/* 80140B98 0013DAF8 7F E4 FB 78 */ mr r4, r31 -/* 80140B9C 0013DAFC 7F C3 F3 78 */ mr r3, r30 -/* 80140BA0 0013DB00 48 00 01 75 */ bl sub_80140d14 -/* 80140BA4 0013DB04 48 00 00 3C */ b lbl_80140BE0 -lbl_80140BA8: -/* 80140BA8 0013DB08 88 1E 06 65 */ lbz r0, 0x665(r30) -/* 80140BAC 0013DB0C 38 60 00 00 */ li r3, 0 -/* 80140BB0 0013DB10 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80140BB4 0013DB14 38 7E 06 8C */ addi r3, r30, 0x68c -/* 80140BB8 0013DB18 98 1E 06 65 */ stb r0, 0x665(r30) -/* 80140BBC 0013DB1C 38 80 00 01 */ li r4, 1 -/* 80140BC0 0013DB20 48 03 46 65 */ bl SetActive__13CBoneTrackingFb -/* 80140BC4 0013DB24 80 BF 08 4C */ lwz r5, 0x84c(r31) -/* 80140BC8 0013DB28 38 7E 06 8C */ addi r3, r30, 0x68c -/* 80140BCC 0013DB2C 38 81 00 0C */ addi r4, r1, 0xc -/* 80140BD0 0013DB30 A0 05 00 08 */ lhz r0, 8(r5) -/* 80140BD4 0013DB34 B0 01 00 08 */ sth r0, 8(r1) -/* 80140BD8 0013DB38 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80140BDC 0013DB3C 48 03 46 3D */ bl SetTarget__13CBoneTrackingF9TUniqueId -lbl_80140BE0: -/* 80140BE0 0013DB40 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80140BE4 0013DB44 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80140BE8 0013DB48 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80140BEC 0013DB4C 7C 08 03 A6 */ mtlr r0 -/* 80140BF0 0013DB50 38 21 00 20 */ addi r1, r1, 0x20 -/* 80140BF4 0013DB54 4E 80 00 20 */ blr - -.global AIStage__11CChozoGhostFR13CStateManagerf -AIStage__11CChozoGhostFR13CStateManagerf: -/* 80140BF8 0013DB58 FC 00 08 1E */ fctiwz f0, f1 -/* 80140BFC 0013DB5C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80140C00 0013DB60 80 03 06 3C */ lwz r0, 0x63c(r3) -/* 80140C04 0013DB64 D8 01 00 08 */ stfd f0, 8(r1) -/* 80140C08 0013DB68 80 61 00 0C */ lwz r3, 0xc(r1) -/* 80140C0C 0013DB6C 7C 00 18 50 */ subf r0, r0, r3 -/* 80140C10 0013DB70 7C 00 00 34 */ cntlzw r0, r0 -/* 80140C14 0013DB74 54 03 D9 7E */ srwi r3, r0, 5 -/* 80140C18 0013DB78 38 21 00 10 */ addi r1, r1, 0x10 -/* 80140C1C 0013DB7C 4E 80 00 20 */ blr - -.global InActive__11CChozoGhostFR13CStateManager9EStateMsgf -InActive__11CChozoGhostFR13CStateManager9EStateMsgf: -/* 80140C20 0013DB80 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80140C24 0013DB84 7C 08 02 A6 */ mflr r0 -/* 80140C28 0013DB88 90 01 00 34 */ stw r0, 0x34(r1) -/* 80140C2C 0013DB8C DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80140C30 0013DB90 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80140C34 0013DB94 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80140C38 0013DB98 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80140C3C 0013DB9C 2C 05 00 01 */ cmpwi r5, 1 -/* 80140C40 0013DBA0 7C 7E 1B 78 */ mr r30, r3 -/* 80140C44 0013DBA4 7C 9F 23 78 */ mr r31, r4 -/* 80140C48 0013DBA8 41 82 00 AC */ beq lbl_80140CF4 -/* 80140C4C 0013DBAC 40 80 00 A8 */ bge lbl_80140CF4 -/* 80140C50 0013DBB0 2C 05 00 00 */ cmpwi r5, 0 -/* 80140C54 0013DBB4 40 80 00 08 */ bge lbl_80140C5C -/* 80140C58 0013DBB8 48 00 00 9C */ b lbl_80140CF4 -lbl_80140C5C: -/* 80140C5C 0013DBBC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80140C60 0013DBC0 88 03 03 00 */ lbz r0, 0x300(r3) -/* 80140C64 0013DBC4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80140C68 0013DBC8 40 82 00 08 */ bne lbl_80140C70 -/* 80140C6C 0013DBCC 4B FF A0 85 */ bl Activate__15CBodyControllerFR13CStateManager -lbl_80140C70: -/* 80140C70 0013DBD0 80 1E 06 3C */ lwz r0, 0x63c(r30) -/* 80140C74 0013DBD4 2C 00 00 03 */ cmpwi r0, 3 -/* 80140C78 0013DBD8 40 82 00 24 */ bne lbl_80140C9C -/* 80140C7C 0013DBDC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80140C80 0013DBE0 38 80 00 00 */ li r4, 0 -/* 80140C84 0013DBE4 4B FF 9D 55 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80140C88 0013DBE8 C3 E2 9B 8C */ lfs f31, lbl_805AB8AC@sda21(r2) -/* 80140C8C 0013DBEC F3 E1 A0 09 */ psq_st f31, 9(r1), 1, qr2 -/* 80140C90 0013DBF0 88 01 00 09 */ lbz r0, 9(r1) -/* 80140C94 0013DBF4 98 1E 04 2F */ stb r0, 0x42f(r30) -/* 80140C98 0013DBF8 48 00 00 20 */ b lbl_80140CB8 -lbl_80140C9C: -/* 80140C9C 0013DBFC 80 7E 04 50 */ lwz r3, 0x450(r30) -/* 80140CA0 0013DC00 38 80 00 01 */ li r4, 1 -/* 80140CA4 0013DC04 4B FF 9D 35 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80140CA8 0013DC08 C3 E2 9B 5C */ lfs f31, lbl_805AB87C@sda21(r2) -/* 80140CAC 0013DC0C F3 E1 A0 08 */ psq_st f31, 8(r1), 1, qr2 -/* 80140CB0 0013DC10 88 01 00 08 */ lbz r0, 8(r1) -/* 80140CB4 0013DC14 98 1E 04 2F */ stb r0, 0x42f(r30) -lbl_80140CB8: -/* 80140CB8 0013DC18 7F C3 F3 78 */ mr r3, r30 -/* 80140CBC 0013DC1C 7F E5 FB 78 */ mr r5, r31 -/* 80140CC0 0013DC20 38 80 00 13 */ li r4, 0x13 -/* 80140CC4 0013DC24 4B F1 32 BD */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80140CC8 0013DC28 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80140CCC 0013DC2C C4 04 66 A0 */ lfsu f0, skZero3f@l(r4) -/* 80140CD0 0013DC30 38 60 00 01 */ li r3, 1 -/* 80140CD4 0013DC34 D0 1E 01 50 */ stfs f0, 0x150(r30) -/* 80140CD8 0013DC38 C0 04 00 04 */ lfs f0, 4(r4) -/* 80140CDC 0013DC3C D0 1E 01 54 */ stfs f0, 0x154(r30) -/* 80140CE0 0013DC40 C0 04 00 08 */ lfs f0, 8(r4) -/* 80140CE4 0013DC44 D0 1E 01 58 */ stfs f0, 0x158(r30) -/* 80140CE8 0013DC48 88 1E 06 65 */ lbz r0, 0x665(r30) -/* 80140CEC 0013DC4C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80140CF0 0013DC50 98 1E 06 65 */ stb r0, 0x665(r30) -lbl_80140CF4: -/* 80140CF4 0013DC54 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80140CF8 0013DC58 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80140CFC 0013DC5C CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80140D00 0013DC60 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80140D04 0013DC64 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80140D08 0013DC68 7C 08 03 A6 */ mtlr r0 -/* 80140D0C 0013DC6C 38 21 00 30 */ addi r1, r1, 0x30 -/* 80140D10 0013DC70 4E 80 00 20 */ blr - -.global sub_80140d14 -sub_80140d14: -/* 80140D14 0013DC74 94 21 FE F0 */ stwu r1, -0x110(r1) -/* 80140D18 0013DC78 7C 08 02 A6 */ mflr r0 -/* 80140D1C 0013DC7C 90 01 01 14 */ stw r0, 0x114(r1) -/* 80140D20 0013DC80 DB E1 01 00 */ stfd f31, 0x100(r1) -/* 80140D24 0013DC84 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 -/* 80140D28 0013DC88 DB C1 00 F0 */ stfd f30, 0xf0(r1) -/* 80140D2C 0013DC8C F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 -/* 80140D30 0013DC90 DB A1 00 E0 */ stfd f29, 0xe0(r1) -/* 80140D34 0013DC94 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 -/* 80140D38 0013DC98 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 80140D3C 0013DC9C 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 80140D40 0013DCA0 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 80140D44 0013DCA4 7C 7D 1B 78 */ mr r29, r3 -/* 80140D48 0013DCA8 7C 9E 23 78 */ mr r30, r4 -/* 80140D4C 0013DCAC 7C BF 2B 78 */ mr r31, r5 -/* 80140D50 0013DCB0 38 61 00 50 */ addi r3, r1, 0x50 -/* 80140D54 0013DCB4 7F A4 EB 78 */ mr r4, r29 -/* 80140D58 0013DCB8 4B FD 9B D5 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80140D5C 0013DCBC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80140D60 0013DCC0 38 81 00 50 */ addi r4, r1, 0x50 -/* 80140D64 0013DCC4 48 1F 68 A9 */ bl GetCenterPoint__6CAABoxCFv -/* 80140D68 0013DCC8 80 AD 8B A8 */ lwz r5, lbl_805A7768@sda21(r13) -/* 80140D6C 0013DCCC 38 60 00 00 */ li r3, 0 -/* 80140D70 0013DCD0 C3 A1 00 2C */ lfs f29, 0x2c(r1) -/* 80140D74 0013DCD4 38 80 00 01 */ li r4, 1 -/* 80140D78 0013DCD8 C3 E1 00 30 */ lfs f31, 0x30(r1) -/* 80140D7C 0013DCDC C3 C1 00 34 */ lfs f30, 0x34(r1) -/* 80140D80 0013DCE0 48 24 91 75 */ bl __shl2i -/* 80140D84 0013DCE4 C0 5F 00 08 */ lfs f2, 8(r31) -/* 80140D88 0013DCE8 38 A0 00 00 */ li r5, 0 -/* 80140D8C 0013DCEC C0 22 9B 90 */ lfs f1, lbl_805AB8B0@sda21(r2) -/* 80140D90 0013DCF0 38 00 00 01 */ li r0, 1 -/* 80140D94 0013DCF4 C0 7F 00 04 */ lfs f3, 4(r31) -/* 80140D98 0013DCF8 FD 20 10 50 */ fneg f9, f2 -/* 80140D9C 0013DCFC EC 81 00 B2 */ fmuls f4, f1, f2 -/* 80140DA0 0013DD00 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80140DA4 0013DD04 EC A1 00 F2 */ fmuls f5, f1, f3 -/* 80140DA8 0013DD08 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80140DAC 0013DD0C FD 00 18 50 */ fneg f8, f3 -/* 80140DB0 0013DD10 EC 41 00 32 */ fmuls f2, f1, f0 -/* 80140DB4 0013DD14 FC 60 00 50 */ fneg f3, f0 -/* 80140DB8 0013DD18 90 61 00 38 */ stw r3, 0x38(r1) -/* 80140DBC 0013DD1C EC FF 28 2A */ fadds f7, f31, f5 -/* 80140DC0 0013DD20 7F C4 F3 78 */ mr r4, r30 -/* 80140DC4 0013DD24 EC DE 20 2A */ fadds f6, f30, f4 -/* 80140DC8 0013DD28 EC 1D 10 2A */ fadds f0, f29, f2 -/* 80140DCC 0013DD2C 90 A1 00 44 */ stw r5, 0x44(r1) -/* 80140DD0 0013DD30 38 61 00 68 */ addi r3, r1, 0x68 -/* 80140DD4 0013DD34 38 C1 00 08 */ addi r6, r1, 8 -/* 80140DD8 0013DD38 38 E1 00 38 */ addi r7, r1, 0x38 -/* 80140DDC 0013DD3C 90 A1 00 40 */ stw r5, 0x40(r1) -/* 80140DE0 0013DD40 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80140DE4 0013DD44 90 01 00 48 */ stw r0, 0x48(r1) -/* 80140DE8 0013DD48 D0 61 00 08 */ stfs f3, 8(r1) -/* 80140DEC 0013DD4C D1 01 00 0C */ stfs f8, 0xc(r1) -/* 80140DF0 0013DD50 D1 21 00 10 */ stfs f9, 0x10(r1) -/* 80140DF4 0013DD54 D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80140DF8 0013DD58 D0 A1 00 18 */ stfs f5, 0x18(r1) -/* 80140DFC 0013DD5C D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80140E00 0013DD60 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80140E04 0013DD64 D0 E1 00 24 */ stfs f7, 0x24(r1) -/* 80140E08 0013DD68 D0 C1 00 28 */ stfs f6, 0x28(r1) -/* 80140E0C 0013DD6C 4B F0 C1 8D */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80140E10 0013DD70 88 81 00 88 */ lbz r4, 0x88(r1) -/* 80140E14 0013DD74 C0 E1 00 68 */ lfs f7, 0x68(r1) -/* 80140E18 0013DD78 C0 C1 00 6C */ lfs f6, 0x6c(r1) -/* 80140E1C 0013DD7C 28 04 00 00 */ cmplwi r4, 0 -/* 80140E20 0013DD80 C0 A1 00 70 */ lfs f5, 0x70(r1) -/* 80140E24 0013DD84 C0 81 00 74 */ lfs f4, 0x74(r1) -/* 80140E28 0013DD88 C0 61 00 78 */ lfs f3, 0x78(r1) -/* 80140E2C 0013DD8C C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 80140E30 0013DD90 C0 21 00 80 */ lfs f1, 0x80(r1) -/* 80140E34 0013DD94 C0 01 00 84 */ lfs f0, 0x84(r1) -/* 80140E38 0013DD98 80 01 00 90 */ lwz r0, 0x90(r1) -/* 80140E3C 0013DD9C 80 61 00 94 */ lwz r3, 0x94(r1) -/* 80140E40 0013DDA0 D0 E1 00 98 */ stfs f7, 0x98(r1) -/* 80140E44 0013DDA4 D0 C1 00 9C */ stfs f6, 0x9c(r1) -/* 80140E48 0013DDA8 D0 A1 00 A0 */ stfs f5, 0xa0(r1) -/* 80140E4C 0013DDAC D0 81 00 A4 */ stfs f4, 0xa4(r1) -/* 80140E50 0013DDB0 D0 61 00 A8 */ stfs f3, 0xa8(r1) -/* 80140E54 0013DDB4 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 80140E58 0013DDB8 D0 21 00 B0 */ stfs f1, 0xb0(r1) -/* 80140E5C 0013DDBC D0 01 00 B4 */ stfs f0, 0xb4(r1) -/* 80140E60 0013DDC0 98 81 00 B8 */ stb r4, 0xb8(r1) -/* 80140E64 0013DDC4 90 61 00 C4 */ stw r3, 0xc4(r1) -/* 80140E68 0013DDC8 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 80140E6C 0013DDCC 41 82 00 14 */ beq lbl_80140E80 -/* 80140E70 0013DDD0 D0 DD 06 CC */ stfs f6, 0x6cc(r29) -/* 80140E74 0013DDD4 D0 BD 06 D0 */ stfs f5, 0x6d0(r29) -/* 80140E78 0013DDD8 D0 9D 06 D4 */ stfs f4, 0x6d4(r29) -/* 80140E7C 0013DDDC 48 00 00 28 */ b lbl_80140EA4 -lbl_80140E80: -/* 80140E80 0013DDE0 C0 1F 00 00 */ lfs f0, 0(r31) -/* 80140E84 0013DDE4 C0 5F 00 04 */ lfs f2, 4(r31) -/* 80140E88 0013DDE8 EC 1D 00 2A */ fadds f0, f29, f0 -/* 80140E8C 0013DDEC C0 3F 00 08 */ lfs f1, 8(r31) -/* 80140E90 0013DDF0 EC 5F 10 2A */ fadds f2, f31, f2 -/* 80140E94 0013DDF4 EC 3E 08 2A */ fadds f1, f30, f1 -/* 80140E98 0013DDF8 D0 1D 06 CC */ stfs f0, 0x6cc(r29) -/* 80140E9C 0013DDFC D0 5D 06 D0 */ stfs f2, 0x6d0(r29) -/* 80140EA0 0013DE00 D0 3D 06 D4 */ stfs f1, 0x6d4(r29) -lbl_80140EA4: -/* 80140EA4 0013DE04 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 -/* 80140EA8 0013DE08 CB E1 01 00 */ lfd f31, 0x100(r1) -/* 80140EAC 0013DE0C E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 -/* 80140EB0 0013DE10 CB C1 00 F0 */ lfd f30, 0xf0(r1) -/* 80140EB4 0013DE14 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 -/* 80140EB8 0013DE18 CB A1 00 E0 */ lfd f29, 0xe0(r1) -/* 80140EBC 0013DE1C 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 80140EC0 0013DE20 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 80140EC4 0013DE24 80 01 01 14 */ lwz r0, 0x114(r1) -/* 80140EC8 0013DE28 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 80140ECC 0013DE2C 7C 08 03 A6 */ mtlr r0 -/* 80140ED0 0013DE30 38 21 01 10 */ addi r1, r1, 0x110 -/* 80140ED4 0013DE34 4E 80 00 20 */ blr - -.global sub_80140ed8 -sub_80140ed8: -/* 80140ED8 0013DE38 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80140EDC 0013DE3C 7C 08 02 A6 */ mflr r0 -/* 80140EE0 0013DE40 90 01 00 44 */ stw r0, 0x44(r1) -/* 80140EE4 0013DE44 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80140EE8 0013DE48 7C 7F 1B 78 */ mr r31, r3 -/* 80140EEC 0013DE4C 80 84 08 4C */ lwz r4, 0x84c(r4) -/* 80140EF0 0013DE50 C0 E3 00 60 */ lfs f7, 0x60(r3) -/* 80140EF4 0013DE54 38 61 00 20 */ addi r3, r1, 0x20 -/* 80140EF8 0013DE58 C0 A4 00 60 */ lfs f5, 0x60(r4) -/* 80140EFC 0013DE5C C0 84 00 50 */ lfs f4, 0x50(r4) -/* 80140F00 0013DE60 C0 DF 00 50 */ lfs f6, 0x50(r31) -/* 80140F04 0013DE64 EC 47 28 28 */ fsubs f2, f7, f5 -/* 80140F08 0013DE68 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80140F0C 0013DE6C C0 3F 00 40 */ lfs f1, 0x40(r31) -/* 80140F10 0013DE70 EC 66 20 28 */ fsubs f3, f6, f4 -/* 80140F14 0013DE74 D0 01 00 08 */ stfs f0, 8(r1) -/* 80140F18 0013DE78 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80140F1C 0013DE7C D0 81 00 0C */ stfs f4, 0xc(r1) -/* 80140F20 0013DE80 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 80140F24 0013DE84 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80140F28 0013DE88 D0 C1 00 18 */ stfs f6, 0x18(r1) -/* 80140F2C 0013DE8C D0 E1 00 1C */ stfs f7, 0x1c(r1) -/* 80140F30 0013DE90 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80140F34 0013DE94 D0 61 00 24 */ stfs f3, 0x24(r1) -/* 80140F38 0013DE98 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80140F3C 0013DE9C 48 1D 39 7D */ bl Magnitude__9CVector3fCFv -/* 80140F40 0013DEA0 C0 1F 06 54 */ lfs f0, 0x654(r31) -/* 80140F44 0013DEA4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80140F48 0013DEA8 40 80 00 0C */ bge lbl_80140F54 -/* 80140F4C 0013DEAC 38 7F 05 C8 */ addi r3, r31, 0x5c8 -/* 80140F50 0013DEB0 48 00 00 1C */ b lbl_80140F6C -lbl_80140F54: -/* 80140F54 0013DEB4 C0 1F 06 58 */ lfs f0, 0x658(r31) -/* 80140F58 0013DEB8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80140F5C 0013DEBC 40 80 00 0C */ bge lbl_80140F68 -/* 80140F60 0013DEC0 38 7F 05 E8 */ addi r3, r31, 0x5e8 -/* 80140F64 0013DEC4 48 00 00 08 */ b lbl_80140F6C -lbl_80140F68: -/* 80140F68 0013DEC8 38 7F 06 08 */ addi r3, r31, 0x608 -lbl_80140F6C: -/* 80140F6C 0013DECC 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80140F70 0013DED0 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80140F74 0013DED4 7C 08 03 A6 */ mtlr r0 -/* 80140F78 0013DED8 38 21 00 40 */ addi r1, r1, 0x40 -/* 80140F7C 0013DEDC 4E 80 00 20 */ blr - -.global sub_80140f80 -sub_80140f80: -/* 80140F80 0013DEE0 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 80140F84 0013DEE4 7C 08 02 A6 */ mflr r0 -/* 80140F88 0013DEE8 90 01 01 84 */ stw r0, 0x184(r1) -/* 80140F8C 0013DEEC DB E1 01 70 */ stfd f31, 0x170(r1) -/* 80140F90 0013DEF0 F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 80140F94 0013DEF4 DB C1 01 60 */ stfd f30, 0x160(r1) -/* 80140F98 0013DEF8 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 -/* 80140F9C 0013DEFC DB A1 01 50 */ stfd f29, 0x150(r1) -/* 80140FA0 0013DF00 F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 -/* 80140FA4 0013DF04 DB 81 01 40 */ stfd f28, 0x140(r1) -/* 80140FA8 0013DF08 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 -/* 80140FAC 0013DF0C DB 61 01 30 */ stfd f27, 0x130(r1) -/* 80140FB0 0013DF10 F3 61 01 38 */ psq_st f27, 312(r1), 0, qr0 -/* 80140FB4 0013DF14 DB 41 01 20 */ stfd f26, 0x120(r1) -/* 80140FB8 0013DF18 F3 41 01 28 */ psq_st f26, 296(r1), 0, qr0 -/* 80140FBC 0013DF1C BF 41 01 08 */ stmw r26, 0x108(r1) -/* 80140FC0 0013DF20 7C 7B 1B 78 */ mr r27, r3 -/* 80140FC4 0013DF24 38 60 00 00 */ li r3, 0 -/* 80140FC8 0013DF28 88 1B 06 65 */ lbz r0, 0x665(r27) -/* 80140FCC 0013DF2C 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80140FD0 0013DF30 C3 C2 9B 94 */ lfs f30, lbl_805AB8B4@sda21(r2) -/* 80140FD4 0013DF34 7C 9C 23 78 */ mr r28, r4 -/* 80140FD8 0013DF38 98 1B 06 65 */ stb r0, 0x665(r27) -/* 80140FDC 0013DF3C 3B C0 00 00 */ li r30, 0 -/* 80140FE0 0013DF40 83 E4 08 40 */ lwz r31, 0x840(r4) -/* 80140FE4 0013DF44 80 64 09 00 */ lwz r3, 0x900(r4) -/* 80140FE8 0013DF48 48 1D 15 39 */ bl Next__9CRandom16Fv -/* 80140FEC 0013DF4C 3C 80 51 EC */ lis r4, 0x51EB851F@ha -/* 80140FF0 0013DF50 80 BB 06 5C */ lwz r5, 0x65c(r27) -/* 80140FF4 0013DF54 38 04 85 1F */ addi r0, r4, 0x51EB851F@l -/* 80140FF8 0013DF58 7C 00 18 96 */ mulhw r0, r0, r3 -/* 80140FFC 0013DF5C 7C 00 2E 70 */ srawi r0, r0, 5 -/* 80141000 0013DF60 54 04 0F FE */ srwi r4, r0, 0x1f -/* 80141004 0013DF64 7C 00 22 14 */ add r0, r0, r4 -/* 80141008 0013DF68 1C 00 00 64 */ mulli r0, r0, 0x64 -/* 8014100C 0013DF6C 7C C0 18 50 */ subf r6, r0, r3 -/* 80141010 0013DF70 7C 06 28 00 */ cmpw r6, r5 -/* 80141014 0013DF74 40 80 00 0C */ bge lbl_80141020 -/* 80141018 0013DF78 38 00 00 00 */ li r0, 0 -/* 8014101C 0013DF7C 48 00 00 20 */ b lbl_8014103C -lbl_80141020: -/* 80141020 0013DF80 80 7B 06 60 */ lwz r3, 0x660(r27) -/* 80141024 0013DF84 54 C0 0F FE */ srwi r0, r6, 0x1f -/* 80141028 0013DF88 7C 85 1A 14 */ add r4, r5, r3 -/* 8014102C 0013DF8C 7C 64 30 10 */ subfc r3, r4, r6 -/* 80141030 0013DF90 54 83 0F FE */ srwi r3, r4, 0x1f -/* 80141034 0013DF94 7C 60 19 10 */ subfe r3, r0, r3 -/* 80141038 0013DF98 38 03 00 02 */ addi r0, r3, 2 -lbl_8014103C: -/* 8014103C 0013DF9C C0 22 9B 98 */ lfs f1, lbl_805AB8B8@sda21(r2) -/* 80141040 0013DFA0 2C 00 00 01 */ cmpwi r0, 1 -/* 80141044 0013DFA4 C0 1B 06 58 */ lfs f0, 0x658(r27) -/* 80141048 0013DFA8 EF A1 00 32 */ fmuls f29, f1, f0 -/* 8014104C 0013DFAC FF 80 E8 90 */ fmr f28, f29 -/* 80141050 0013DFB0 FF 60 E8 90 */ fmr f27, f29 -/* 80141054 0013DFB4 41 82 00 30 */ beq lbl_80141084 -/* 80141058 0013DFB8 40 80 00 10 */ bge lbl_80141068 -/* 8014105C 0013DFBC 2C 00 00 00 */ cmpwi r0, 0 -/* 80141060 0013DFC0 40 80 00 14 */ bge lbl_80141074 -/* 80141064 0013DFC4 48 00 00 3C */ b lbl_801410A0 -lbl_80141068: -/* 80141068 0013DFC8 2C 00 00 03 */ cmpwi r0, 3 -/* 8014106C 0013DFCC 40 80 00 34 */ bge lbl_801410A0 -/* 80141070 0013DFD0 48 00 00 24 */ b lbl_80141094 -lbl_80141074: -/* 80141074 0013DFD4 C0 02 9B 9C */ lfs f0, lbl_805AB8BC@sda21(r2) -/* 80141078 0013DFD8 EF 7D 00 72 */ fmuls f27, f29, f1 -/* 8014107C 0013DFDC EF 9D 00 32 */ fmuls f28, f29, f0 -/* 80141080 0013DFE0 48 00 00 20 */ b lbl_801410A0 -lbl_80141084: -/* 80141084 0013DFE4 C0 02 9B 9C */ lfs f0, lbl_805AB8BC@sda21(r2) -/* 80141088 0013DFE8 EF BD 00 72 */ fmuls f29, f29, f1 -/* 8014108C 0013DFEC EF 7B 00 32 */ fmuls f27, f27, f0 -/* 80141090 0013DFF0 48 00 00 10 */ b lbl_801410A0 -lbl_80141094: -/* 80141094 0013DFF4 C0 02 9B 9C */ lfs f0, lbl_805AB8BC@sda21(r2) -/* 80141098 0013DFF8 EF BD 00 72 */ fmuls f29, f29, f1 -/* 8014109C 0013DFFC EF 9C 00 32 */ fmuls f28, f28, f0 -lbl_801410A0: -/* 801410A0 0013E000 AB BF 20 08 */ lha r29, 0x2008(r31) -/* 801410A4 0013E004 48 00 02 B4 */ b lbl_80141358 -lbl_801410A8: -/* 801410A8 0013E008 7F E3 FB 78 */ mr r3, r31 -/* 801410AC 0013E00C 7F A4 EB 78 */ mr r4, r29 -/* 801410B0 0013E010 4B EC EC 65 */ bl __vc__11CObjectListFi -/* 801410B4 0013E014 7C 64 1B 78 */ mr r4, r3 -/* 801410B8 0013E018 38 61 00 10 */ addi r3, r1, 0x10 -/* 801410BC 0013E01C 4B F6 99 71 */ bl "__ct__31TCastToPtr<17CScriptCoverPoint>FP7CEntity" -/* 801410C0 0013E020 83 43 00 04 */ lwz r26, 4(r3) -/* 801410C4 0013E024 28 1A 00 00 */ cmplwi r26, 0 -/* 801410C8 0013E028 41 82 02 74 */ beq lbl_8014133C -/* 801410CC 0013E02C 88 1A 00 30 */ lbz r0, 0x30(r26) -/* 801410D0 0013E030 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801410D4 0013E034 41 82 02 68 */ beq lbl_8014133C -/* 801410D8 0013E038 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801410DC 0013E03C 7F 43 D3 78 */ mr r3, r26 -/* 801410E0 0013E040 38 81 00 08 */ addi r4, r1, 8 -/* 801410E4 0013E044 B0 01 00 08 */ sth r0, 8(r1) -/* 801410E8 0013E048 4B FE C3 2D */ bl GetInUse__17CScriptCoverPointCF9TUniqueId -/* 801410EC 0013E04C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801410F0 0013E050 40 82 02 4C */ bne lbl_8014133C -/* 801410F4 0013E054 80 7A 00 04 */ lwz r3, 4(r26) -/* 801410F8 0013E058 80 1B 00 04 */ lwz r0, 4(r27) -/* 801410FC 0013E05C 7C 03 00 00 */ cmpw r3, r0 -/* 80141100 0013E060 40 82 02 3C */ bne lbl_8014133C -/* 80141104 0013E064 C0 BA 00 60 */ lfs f5, 0x60(r26) -/* 80141108 0013E068 38 61 00 6C */ addi r3, r1, 0x6c -/* 8014110C 0013E06C C0 1B 00 60 */ lfs f0, 0x60(r27) -/* 80141110 0013E070 C0 9A 00 50 */ lfs f4, 0x50(r26) -/* 80141114 0013E074 C0 5B 00 50 */ lfs f2, 0x50(r27) -/* 80141118 0013E078 EC 25 00 28 */ fsubs f1, f5, f0 -/* 8014111C 0013E07C C0 1A 00 40 */ lfs f0, 0x40(r26) -/* 80141120 0013E080 C0 7B 00 40 */ lfs f3, 0x40(r27) -/* 80141124 0013E084 EC 44 10 28 */ fsubs f2, f4, f2 -/* 80141128 0013E088 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 8014112C 0013E08C EC 00 18 28 */ fsubs f0, f0, f3 -/* 80141130 0013E090 D0 81 00 64 */ stfs f4, 0x64(r1) -/* 80141134 0013E094 D0 A1 00 68 */ stfs f5, 0x68(r1) -/* 80141138 0013E098 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 8014113C 0013E09C D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80141140 0013E0A0 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 80141144 0013E0A4 48 1D 37 75 */ bl Magnitude__9CVector3fCFv -/* 80141148 0013E0A8 C0 42 9B 68 */ lfs f2, lbl_805AB888@sda21(r2) -/* 8014114C 0013E0AC C0 1B 06 6C */ lfs f0, 0x66c(r27) -/* 80141150 0013E0B0 EC 02 00 32 */ fmuls f0, f2, f0 -/* 80141154 0013E0B4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80141158 0013E0B8 41 80 01 E4 */ blt lbl_8014133C -/* 8014115C 0013E0BC C0 1B 06 54 */ lfs f0, 0x654(r27) -/* 80141160 0013E0C0 38 81 00 0C */ addi r4, r1, 0xc -/* 80141164 0013E0C4 38 6D 8B A0 */ addi r3, r13, lbl_805A7760@sda21 -/* 80141168 0013E0C8 EC 00 08 28 */ fsubs f0, f0, f1 -/* 8014116C 0013E0CC D0 01 00 0C */ stfs f0, 0xc(r1) -/* 80141170 0013E0D0 4B F0 E5 C1 */ bl "Max__5CMathFRCfRCf" -/* 80141174 0013E0D4 80 9C 08 4C */ lwz r4, 0x84c(r28) -/* 80141178 0013E0D8 C3 43 00 00 */ lfs f26, 0(r3) -/* 8014117C 0013E0DC 38 61 00 84 */ addi r3, r1, 0x84 -/* 80141180 0013E0E0 C0 3A 00 50 */ lfs f1, 0x50(r26) -/* 80141184 0013E0E4 C0 04 00 50 */ lfs f0, 0x50(r4) -/* 80141188 0013E0E8 C0 7A 00 60 */ lfs f3, 0x60(r26) -/* 8014118C 0013E0EC C0 44 00 60 */ lfs f2, 0x60(r4) -/* 80141190 0013E0F0 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80141194 0013E0F4 C0 3A 00 40 */ lfs f1, 0x40(r26) -/* 80141198 0013E0F8 C0 04 00 40 */ lfs f0, 0x40(r4) -/* 8014119C 0013E0FC EC 43 10 28 */ fsubs f2, f3, f2 -/* 801411A0 0013E100 EC 01 00 28 */ fsubs f0, f1, f0 -/* 801411A4 0013E104 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 801411A8 0013E108 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 801411AC 0013E10C D0 01 00 84 */ stfs f0, 0x84(r1) -/* 801411B0 0013E110 48 1D 37 09 */ bl Magnitude__9CVector3fCFv -/* 801411B4 0013E114 FF E0 08 90 */ fmr f31, f1 -/* 801411B8 0013E118 C0 1B 02 FC */ lfs f0, 0x2fc(r27) -/* 801411BC 0013E11C FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 801411C0 0013E120 41 80 01 7C */ blt lbl_8014133C -/* 801411C4 0013E124 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 801411C8 0013E128 C0 02 9B A4 */ lfs f0, lbl_805AB8C4@sda21(r2) -/* 801411CC 0013E12C FC 20 0A 10 */ fabs f1, f1 -/* 801411D0 0013E130 FC 20 08 18 */ frsp f1, f1 -/* 801411D4 0013E134 EC 21 F8 24 */ fdivs f1, f1, f31 -/* 801411D8 0013E138 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801411DC 0013E13C 40 81 00 18 */ ble lbl_801411F4 -/* 801411E0 0013E140 C0 42 9B A0 */ lfs f2, lbl_805AB8C0@sda21(r2) -/* 801411E4 0013E144 EC 01 00 28 */ fsubs f0, f1, f0 -/* 801411E8 0013E148 C0 3B 06 58 */ lfs f1, 0x658(r27) -/* 801411EC 0013E14C EC 22 00 72 */ fmuls f1, f2, f1 -/* 801411F0 0013E150 EF 41 D0 3A */ fmadds f26, f1, f0, f26 -lbl_801411F4: -/* 801411F4 0013E154 C0 1B 06 54 */ lfs f0, 0x654(r27) -/* 801411F8 0013E158 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 801411FC 0013E15C 40 80 00 7C */ bge lbl_80141278 -/* 80141200 0013E160 EF 5A E8 2A */ fadds f26, f26, f29 -/* 80141204 0013E164 FC 1A F0 40 */ fcmpo cr0, f26, f30 -/* 80141208 0013E168 40 80 00 F4 */ bge lbl_801412FC -/* 8014120C 0013E16C C0 C2 9B 60 */ lfs f6, lbl_805AB880@sda21(r2) -/* 80141210 0013E170 C0 61 00 84 */ lfs f3, 0x84(r1) -/* 80141214 0013E174 EC E6 F8 24 */ fdivs f7, f6, f31 -/* 80141218 0013E178 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 8014121C 0013E17C C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 80141220 0013E180 C0 22 9B 98 */ lfs f1, lbl_805AB8B8@sda21(r2) -/* 80141224 0013E184 EC A3 01 F2 */ fmuls f5, f3, f7 -/* 80141228 0013E188 EC 82 01 F2 */ fmuls f4, f2, f7 -/* 8014122C 0013E18C EC 60 01 F2 */ fmuls f3, f0, f7 -/* 80141230 0013E190 D0 A1 00 84 */ stfs f5, 0x84(r1) -/* 80141234 0013E194 D0 81 00 88 */ stfs f4, 0x88(r1) -/* 80141238 0013E198 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 8014123C 0013E19C 80 7C 08 4C */ lwz r3, 0x84c(r28) -/* 80141240 0013E1A0 C0 1B 06 58 */ lfs f0, 0x658(r27) -/* 80141244 0013E1A4 C0 E3 00 48 */ lfs f7, 0x48(r3) -/* 80141248 0013E1A8 C0 43 00 38 */ lfs f2, 0x38(r3) -/* 8014124C 0013E1AC EC 21 00 32 */ fmuls f1, f1, f0 -/* 80141250 0013E1B0 EC 07 01 32 */ fmuls f0, f7, f4 -/* 80141254 0013E1B4 C0 83 00 58 */ lfs f4, 0x58(r3) -/* 80141258 0013E1B8 D0 41 00 54 */ stfs f2, 0x54(r1) -/* 8014125C 0013E1BC EC 02 01 7A */ fmadds f0, f2, f5, f0 -/* 80141260 0013E1C0 D0 E1 00 58 */ stfs f7, 0x58(r1) -/* 80141264 0013E1C4 D0 81 00 5C */ stfs f4, 0x5c(r1) -/* 80141268 0013E1C8 EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 8014126C 0013E1CC EC 06 00 28 */ fsubs f0, f6, f0 -/* 80141270 0013E1D0 EF 41 D0 3A */ fmadds f26, f1, f0, f26 -/* 80141274 0013E1D4 48 00 00 88 */ b lbl_801412FC -lbl_80141278: -/* 80141278 0013E1D8 C0 FB 06 58 */ lfs f7, 0x658(r27) -/* 8014127C 0013E1DC FC 1F 38 40 */ fcmpo cr0, f31, f7 -/* 80141280 0013E1E0 40 80 00 78 */ bge lbl_801412F8 -/* 80141284 0013E1E4 EF 5A E0 2A */ fadds f26, f26, f28 -/* 80141288 0013E1E8 FC 1A F0 40 */ fcmpo cr0, f26, f30 -/* 8014128C 0013E1EC 40 80 00 70 */ bge lbl_801412FC -/* 80141290 0013E1F0 C0 C2 9B 60 */ lfs f6, lbl_805AB880@sda21(r2) -/* 80141294 0013E1F4 C0 02 9B 98 */ lfs f0, lbl_805AB8B8@sda21(r2) -/* 80141298 0013E1F8 ED 06 F8 24 */ fdivs f8, f6, f31 -/* 8014129C 0013E1FC C0 61 00 84 */ lfs f3, 0x84(r1) -/* 801412A0 0013E200 C0 41 00 88 */ lfs f2, 0x88(r1) -/* 801412A4 0013E204 C0 21 00 8C */ lfs f1, 0x8c(r1) -/* 801412A8 0013E208 EC A3 02 32 */ fmuls f5, f3, f8 -/* 801412AC 0013E20C EC 82 02 32 */ fmuls f4, f2, f8 -/* 801412B0 0013E210 EC 61 02 32 */ fmuls f3, f1, f8 -/* 801412B4 0013E214 D0 A1 00 84 */ stfs f5, 0x84(r1) -/* 801412B8 0013E218 EC 20 01 F2 */ fmuls f1, f0, f7 -/* 801412BC 0013E21C D0 81 00 88 */ stfs f4, 0x88(r1) -/* 801412C0 0013E220 D0 61 00 8C */ stfs f3, 0x8c(r1) -/* 801412C4 0013E224 80 7C 08 4C */ lwz r3, 0x84c(r28) -/* 801412C8 0013E228 C0 E3 00 48 */ lfs f7, 0x48(r3) -/* 801412CC 0013E22C C0 43 00 38 */ lfs f2, 0x38(r3) -/* 801412D0 0013E230 EC 07 01 32 */ fmuls f0, f7, f4 -/* 801412D4 0013E234 C0 83 00 58 */ lfs f4, 0x58(r3) -/* 801412D8 0013E238 D0 41 00 48 */ stfs f2, 0x48(r1) -/* 801412DC 0013E23C EC 02 01 7A */ fmadds f0, f2, f5, f0 -/* 801412E0 0013E240 D0 E1 00 4C */ stfs f7, 0x4c(r1) -/* 801412E4 0013E244 D0 81 00 50 */ stfs f4, 0x50(r1) -/* 801412E8 0013E248 EC 04 00 FA */ fmadds f0, f4, f3, f0 -/* 801412EC 0013E24C EC 06 00 28 */ fsubs f0, f6, f0 -/* 801412F0 0013E250 EF 41 D0 3A */ fmadds f26, f1, f0, f26 -/* 801412F4 0013E254 48 00 00 08 */ b lbl_801412FC -lbl_801412F8: -/* 801412F8 0013E258 EF 5A D8 2A */ fadds f26, f26, f27 -lbl_801412FC: -/* 801412FC 0013E25C FC 1A F0 40 */ fcmpo cr0, f26, f30 -/* 80141300 0013E260 40 80 00 3C */ bge lbl_8014133C -/* 80141304 0013E264 80 7C 09 00 */ lwz r3, 0x900(r28) -/* 80141308 0013E268 48 1D 11 D5 */ bl Float__9CRandom16Fv -/* 8014130C 0013E26C C0 1B 06 58 */ lfs f0, 0x658(r27) -/* 80141310 0013E270 EF 40 D0 7A */ fmadds f26, f0, f1, f26 -/* 80141314 0013E274 FC 1A F0 40 */ fcmpo cr0, f26, f30 -/* 80141318 0013E278 40 80 00 24 */ bge lbl_8014133C -/* 8014131C 0013E27C C0 1B 03 C8 */ lfs f0, 0x3c8(r27) -/* 80141320 0013E280 FF C0 D0 90 */ fmr f30, f26 -/* 80141324 0013E284 7F 5E D3 78 */ mr r30, r26 -/* 80141328 0013E288 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 8014132C 0013E28C 7C 60 00 26 */ mfcr r3 -/* 80141330 0013E290 88 1B 06 65 */ lbz r0, 0x665(r27) -/* 80141334 0013E294 50 60 36 F6 */ rlwimi r0, r3, 6, 0x1b, 0x1b -/* 80141338 0013E298 98 1B 06 65 */ stb r0, 0x665(r27) -lbl_8014133C: -/* 8014133C 0013E29C 2C 1D FF FF */ cmpwi r29, -1 -/* 80141340 0013E2A0 41 82 00 14 */ beq lbl_80141354 -/* 80141344 0013E2A4 57 A3 18 38 */ slwi r3, r29, 3 -/* 80141348 0013E2A8 38 03 00 08 */ addi r0, r3, 8 -/* 8014134C 0013E2AC 7F BF 02 AE */ lhax r29, r31, r0 -/* 80141350 0013E2B0 48 00 00 08 */ b lbl_80141358 -lbl_80141354: -/* 80141354 0013E2B4 3B A0 FF FF */ li r29, -1 -lbl_80141358: -/* 80141358 0013E2B8 2C 1D FF FF */ cmpwi r29, -1 -/* 8014135C 0013E2BC 40 82 FD 4C */ bne lbl_801410A8 -/* 80141360 0013E2C0 28 1E 00 00 */ cmplwi r30, 0 -/* 80141364 0013E2C4 41 82 00 54 */ beq lbl_801413B8 -/* 80141368 0013E2C8 A0 1E 00 08 */ lhz r0, 8(r30) -/* 8014136C 0013E2CC 7F 63 DB 78 */ mr r3, r27 -/* 80141370 0013E2D0 38 81 00 3C */ addi r4, r1, 0x3c -/* 80141374 0013E2D4 B0 1B 02 DC */ sth r0, 0x2dc(r27) -/* 80141378 0013E2D8 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 8014137C 0013E2DC C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80141380 0013E2E0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80141384 0013E2E4 D0 01 00 3C */ stfs f0, 0x3c(r1) -/* 80141388 0013E2E8 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 8014138C 0013E2EC D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80141390 0013E2F0 4B F3 B7 CD */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80141394 0013E2F4 7F 63 DB 78 */ mr r3, r27 -/* 80141398 0013E2F8 7F 84 E3 78 */ mr r4, r28 -/* 8014139C 0013E2FC 38 BB 06 74 */ addi r5, r27, 0x674 -/* 801413A0 0013E300 4B F3 B4 BD */ bl ReleaseCoverPoint__10CPatternedFR13CStateManagerR9TUniqueId -/* 801413A4 0013E304 7F 63 DB 78 */ mr r3, r27 -/* 801413A8 0013E308 7F C4 F3 78 */ mr r4, r30 -/* 801413AC 0013E30C 38 BB 06 74 */ addi r5, r27, 0x674 -/* 801413B0 0013E310 4B F3 B4 65 */ bl SetCoverPoint__10CPatternedFP17CScriptCoverPointR9TUniqueId -/* 801413B4 0013E314 48 00 01 98 */ b lbl_8014154C -lbl_801413B8: -/* 801413B8 0013E318 80 9C 08 4C */ lwz r4, 0x84c(r28) -/* 801413BC 0013E31C 80 1B 00 04 */ lwz r0, 4(r27) -/* 801413C0 0013E320 80 64 00 04 */ lwz r3, 4(r4) -/* 801413C4 0013E324 7C 03 00 00 */ cmpw r3, r0 -/* 801413C8 0013E328 40 82 01 64 */ bne lbl_8014152C -/* 801413CC 0013E32C A0 04 00 08 */ lhz r0, 8(r4) -/* 801413D0 0013E330 38 61 00 30 */ addi r3, r1, 0x30 -/* 801413D4 0013E334 38 81 00 24 */ addi r4, r1, 0x24 -/* 801413D8 0013E338 B0 1B 02 DC */ sth r0, 0x2dc(r27) -/* 801413DC 0013E33C 80 BC 08 4C */ lwz r5, 0x84c(r28) -/* 801413E0 0013E340 C0 1B 00 60 */ lfs f0, 0x60(r27) -/* 801413E4 0013E344 C0 A5 00 60 */ lfs f5, 0x60(r5) -/* 801413E8 0013E348 C0 85 00 50 */ lfs f4, 0x50(r5) -/* 801413EC 0013E34C C0 5B 00 50 */ lfs f2, 0x50(r27) -/* 801413F0 0013E350 EC 25 00 28 */ fsubs f1, f5, f0 -/* 801413F4 0013E354 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 801413F8 0013E358 C0 7B 00 40 */ lfs f3, 0x40(r27) -/* 801413FC 0013E35C EC 44 10 28 */ fsubs f2, f4, f2 -/* 80141400 0013E360 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80141404 0013E364 EC 00 18 28 */ fsubs f0, f0, f3 -/* 80141408 0013E368 D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 8014140C 0013E36C D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 80141410 0013E370 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80141414 0013E374 D0 41 00 28 */ stfs f2, 0x28(r1) -/* 80141418 0013E378 D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 8014141C 0013E37C 48 1D 34 35 */ bl AsNormalized__9CVector3fCFv -/* 80141420 0013E380 C0 DB 06 54 */ lfs f6, 0x654(r27) -/* 80141424 0013E384 38 60 00 00 */ li r3, 0 -/* 80141428 0013E388 80 BC 08 4C */ lwz r5, 0x84c(r28) -/* 8014142C 0013E38C 38 80 00 01 */ li r4, 1 -/* 80141430 0013E390 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 80141434 0013E394 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 80141438 0013E398 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 8014143C 0013E39C EC 86 00 B2 */ fmuls f4, f6, f2 -/* 80141440 0013E3A0 C0 A5 00 50 */ lfs f5, 0x50(r5) -/* 80141444 0013E3A4 EC 06 00 32 */ fmuls f0, f6, f0 -/* 80141448 0013E3A8 EC 46 00 72 */ fmuls f2, f6, f1 -/* 8014144C 0013E3AC C0 65 00 60 */ lfs f3, 0x60(r5) -/* 80141450 0013E3B0 C0 25 00 40 */ lfs f1, 0x40(r5) -/* 80141454 0013E3B4 EC 85 20 28 */ fsubs f4, f5, f4 -/* 80141458 0013E3B8 80 AD 8B A4 */ lwz r5, lbl_805A7764@sda21(r13) -/* 8014145C 0013E3BC EC 43 10 28 */ fsubs f2, f3, f2 -/* 80141460 0013E3C0 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80141464 0013E3C4 D0 81 00 7C */ stfs f4, 0x7c(r1) -/* 80141468 0013E3C8 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 8014146C 0013E3CC D0 41 00 80 */ stfs f2, 0x80(r1) -/* 80141470 0013E3D0 48 24 8A 85 */ bl __shl2i -/* 80141474 0013E3D4 39 00 00 00 */ li r8, 0 -/* 80141478 0013E3D8 38 00 00 01 */ li r0, 1 -/* 8014147C 0013E3DC 3C A0 80 5A */ lis r5, lbl_805A6700@ha -/* 80141480 0013E3E0 90 81 00 94 */ stw r4, 0x94(r1) -/* 80141484 0013E3E4 38 C5 67 00 */ addi r6, r5, lbl_805A6700@l -/* 80141488 0013E3E8 C0 22 9B 90 */ lfs f1, lbl_805AB8B0@sda21(r2) -/* 8014148C 0013E3EC 90 61 00 90 */ stw r3, 0x90(r1) -/* 80141490 0013E3F0 7F 84 E3 78 */ mr r4, r28 -/* 80141494 0013E3F4 38 61 00 A8 */ addi r3, r1, 0xa8 -/* 80141498 0013E3F8 38 A1 00 78 */ addi r5, r1, 0x78 -/* 8014149C 0013E3FC 91 01 00 9C */ stw r8, 0x9c(r1) -/* 801414A0 0013E400 38 E1 00 90 */ addi r7, r1, 0x90 -/* 801414A4 0013E404 91 01 00 98 */ stw r8, 0x98(r1) -/* 801414A8 0013E408 90 01 00 A0 */ stw r0, 0xa0(r1) -/* 801414AC 0013E40C 4B F0 BA ED */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 801414B0 0013E410 88 81 00 C8 */ lbz r4, 0xc8(r1) -/* 801414B4 0013E414 C0 E1 00 A8 */ lfs f7, 0xa8(r1) -/* 801414B8 0013E418 C0 C1 00 AC */ lfs f6, 0xac(r1) -/* 801414BC 0013E41C 28 04 00 00 */ cmplwi r4, 0 -/* 801414C0 0013E420 C0 A1 00 B0 */ lfs f5, 0xb0(r1) -/* 801414C4 0013E424 C0 81 00 B4 */ lfs f4, 0xb4(r1) -/* 801414C8 0013E428 C0 61 00 B8 */ lfs f3, 0xb8(r1) -/* 801414CC 0013E42C C0 41 00 BC */ lfs f2, 0xbc(r1) -/* 801414D0 0013E430 C0 21 00 C0 */ lfs f1, 0xc0(r1) -/* 801414D4 0013E434 C0 01 00 C4 */ lfs f0, 0xc4(r1) -/* 801414D8 0013E438 80 01 00 D0 */ lwz r0, 0xd0(r1) -/* 801414DC 0013E43C 80 61 00 D4 */ lwz r3, 0xd4(r1) -/* 801414E0 0013E440 D0 E1 00 D8 */ stfs f7, 0xd8(r1) -/* 801414E4 0013E444 D0 C1 00 DC */ stfs f6, 0xdc(r1) -/* 801414E8 0013E448 D0 A1 00 E0 */ stfs f5, 0xe0(r1) -/* 801414EC 0013E44C D0 81 00 E4 */ stfs f4, 0xe4(r1) -/* 801414F0 0013E450 D0 61 00 E8 */ stfs f3, 0xe8(r1) -/* 801414F4 0013E454 D0 41 00 EC */ stfs f2, 0xec(r1) -/* 801414F8 0013E458 D0 21 00 F0 */ stfs f1, 0xf0(r1) -/* 801414FC 0013E45C D0 01 00 F4 */ stfs f0, 0xf4(r1) -/* 80141500 0013E460 98 81 00 F8 */ stb r4, 0xf8(r1) -/* 80141504 0013E464 90 61 01 04 */ stw r3, 0x104(r1) -/* 80141508 0013E468 90 01 01 00 */ stw r0, 0x100(r1) -/* 8014150C 0013E46C 41 82 00 10 */ beq lbl_8014151C -/* 80141510 0013E470 D0 C1 00 78 */ stfs f6, 0x78(r1) -/* 80141514 0013E474 D0 A1 00 7C */ stfs f5, 0x7c(r1) -/* 80141518 0013E478 D0 81 00 80 */ stfs f4, 0x80(r1) -lbl_8014151C: -/* 8014151C 0013E47C 7F 63 DB 78 */ mr r3, r27 -/* 80141520 0013E480 38 81 00 78 */ addi r4, r1, 0x78 -/* 80141524 0013E484 4B F3 B6 39 */ bl SetDestPos__10CPatternedFRC9CVector3f -/* 80141528 0013E488 48 00 00 24 */ b lbl_8014154C -lbl_8014152C: -/* 8014152C 0013E48C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80141530 0013E490 B0 1B 02 DC */ sth r0, 0x2dc(r27) -/* 80141534 0013E494 C0 5B 00 60 */ lfs f2, 0x60(r27) -/* 80141538 0013E498 C0 3B 00 50 */ lfs f1, 0x50(r27) -/* 8014153C 0013E49C C0 1B 00 40 */ lfs f0, 0x40(r27) -/* 80141540 0013E4A0 D0 1B 02 E0 */ stfs f0, 0x2e0(r27) -/* 80141544 0013E4A4 D0 3B 02 E4 */ stfs f1, 0x2e4(r27) -/* 80141548 0013E4A8 D0 5B 02 E8 */ stfs f2, 0x2e8(r27) -lbl_8014154C: -/* 8014154C 0013E4AC E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 80141550 0013E4B0 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 80141554 0013E4B4 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 -/* 80141558 0013E4B8 CB C1 01 60 */ lfd f30, 0x160(r1) -/* 8014155C 0013E4BC E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 -/* 80141560 0013E4C0 CB A1 01 50 */ lfd f29, 0x150(r1) -/* 80141564 0013E4C4 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 -/* 80141568 0013E4C8 CB 81 01 40 */ lfd f28, 0x140(r1) -/* 8014156C 0013E4CC E3 61 01 38 */ psq_l f27, 312(r1), 0, qr0 -/* 80141570 0013E4D0 CB 61 01 30 */ lfd f27, 0x130(r1) -/* 80141574 0013E4D4 E3 41 01 28 */ psq_l f26, 296(r1), 0, qr0 -/* 80141578 0013E4D8 CB 41 01 20 */ lfd f26, 0x120(r1) -/* 8014157C 0013E4DC BB 41 01 08 */ lmw r26, 0x108(r1) -/* 80141580 0013E4E0 80 01 01 84 */ lwz r0, 0x184(r1) -/* 80141584 0013E4E4 7C 08 03 A6 */ mtlr r0 -/* 80141588 0013E4E8 38 21 01 80 */ addi r1, r1, 0x180 -/* 8014158C 0013E4EC 4E 80 00 20 */ blr - -.global sub_80141590 -sub_80141590: -/* 80141590 0013E4F0 88 03 06 64 */ lbz r0, 0x664(r3) -/* 80141594 0013E4F4 54 03 E7 FE */ rlwinm r3, r0, 0x1c, 0x1f, 0x1f -/* 80141598 0013E4F8 4E 80 00 20 */ blr - -.global sub_8014159c -sub_8014159c: -/* 8014159C 0013E4FC 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801415A0 0013E500 7C 08 02 A6 */ mflr r0 -/* 801415A4 0013E504 C0 62 9B 74 */ lfs f3, lbl_805AB894@sda21(r2) -/* 801415A8 0013E508 90 01 00 24 */ stw r0, 0x24(r1) -/* 801415AC 0013E50C 38 81 00 08 */ addi r4, r1, 8 -/* 801415B0 0013E510 C0 A3 00 60 */ lfs f5, 0x60(r3) -/* 801415B4 0013E514 C0 83 00 50 */ lfs f4, 0x50(r3) -/* 801415B8 0013E518 EC 01 28 28 */ fsubs f0, f1, f5 -/* 801415BC 0013E51C C0 23 00 40 */ lfs f1, 0x40(r3) -/* 801415C0 0013E520 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 801415C4 0013E524 EC 03 00 32 */ fmuls f0, f3, f0 -/* 801415C8 0013E528 D0 21 00 08 */ stfs f1, 8(r1) -/* 801415CC 0013E52C EC 00 28 BA */ fmadds f0, f0, f2, f5 -/* 801415D0 0013E530 D0 81 00 0C */ stfs f4, 0xc(r1) -/* 801415D4 0013E534 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 801415D8 0013E538 4B F1 18 B5 */ bl SetTranslation__6CActorFRC9CVector3f -/* 801415DC 0013E53C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801415E0 0013E540 7C 08 03 A6 */ mtlr r0 -/* 801415E4 0013E544 38 21 00 20 */ addi r1, r1, 0x20 -/* 801415E8 0013E548 4E 80 00 20 */ blr - -.global sub_801415ec -sub_801415ec: -/* 801415EC 0013E54C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801415F0 0013E550 7C 08 02 A6 */ mflr r0 -/* 801415F4 0013E554 90 01 00 34 */ stw r0, 0x34(r1) -/* 801415F8 0013E558 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801415FC 0013E55C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80141600 0013E560 7C 7E 1B 78 */ mr r30, r3 -/* 80141604 0013E564 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80141608 0013E568 A0 63 06 C4 */ lhz r3, 0x6c4(r3) -/* 8014160C 0013E56C 7C 03 00 40 */ cmplw r3, r0 -/* 80141610 0013E570 41 82 00 70 */ beq lbl_80141680 -/* 80141614 0013E574 A0 1E 06 C4 */ lhz r0, 0x6c4(r30) -/* 80141618 0013E578 7C 83 23 78 */ mr r3, r4 -/* 8014161C 0013E57C 38 81 00 18 */ addi r4, r1, 0x18 -/* 80141620 0013E580 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80141624 0013E584 4B F0 AF 51 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80141628 0013E588 7C 64 1B 78 */ mr r4, r3 -/* 8014162C 0013E58C 38 61 00 1C */ addi r3, r1, 0x1c -/* 80141630 0013E590 4B F6 5F 45 */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 80141634 0013E594 83 E3 00 04 */ lwz r31, 4(r3) -/* 80141638 0013E598 28 1F 00 00 */ cmplwi r31, 0 -/* 8014163C 0013E59C 41 82 00 44 */ beq lbl_80141680 -/* 80141640 0013E5A0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80141644 0013E5A4 7F E3 FB 78 */ mr r3, r31 -/* 80141648 0013E5A8 38 81 00 14 */ addi r4, r1, 0x14 -/* 8014164C 0013E5AC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80141650 0013E5B0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80141654 0013E5B4 48 0F 79 9D */ bl IsPartOfTeam__10CTeamAiMgrCF9TUniqueId -/* 80141658 0013E5B8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8014165C 0013E5BC 41 82 00 24 */ beq lbl_80141680 -/* 80141660 0013E5C0 A0 1E 00 08 */ lhz r0, 8(r30) -/* 80141664 0013E5C4 7F E3 FB 78 */ mr r3, r31 -/* 80141668 0013E5C8 38 81 00 0C */ addi r4, r1, 0xc -/* 8014166C 0013E5CC B0 01 00 08 */ sth r0, 8(r1) -/* 80141670 0013E5D0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80141674 0013E5D4 48 0F 7E 81 */ bl RemoveTeamAiRole__10CTeamAiMgrF9TUniqueId -/* 80141678 0013E5D8 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 8014167C 0013E5DC B0 1E 06 C4 */ sth r0, 0x6c4(r30) -lbl_80141680: -/* 80141680 0013E5E0 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80141684 0013E5E4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80141688 0013E5E8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8014168C 0013E5EC 7C 08 03 A6 */ mtlr r0 -/* 80141690 0013E5F0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80141694 0013E5F4 4E 80 00 20 */ blr - -.global sub_80141698 -sub_80141698: -/* 80141698 0013E5F8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8014169C 0013E5FC 7C 08 02 A6 */ mflr r0 -/* 801416A0 0013E600 90 01 00 24 */ stw r0, 0x24(r1) -/* 801416A4 0013E604 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801416A8 0013E608 7C 9F 23 78 */ mr r31, r4 -/* 801416AC 0013E60C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801416B0 0013E610 7C 7E 1B 78 */ mr r30, r3 -/* 801416B4 0013E614 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801416B8 0013E618 A0 63 06 C4 */ lhz r3, 0x6c4(r3) -/* 801416BC 0013E61C 7C 03 00 40 */ cmplw r3, r0 -/* 801416C0 0013E620 40 82 00 1C */ bne lbl_801416DC -/* 801416C4 0013E624 7F C4 F3 78 */ mr r4, r30 -/* 801416C8 0013E628 7F E5 FB 78 */ mr r5, r31 -/* 801416CC 0013E62C 38 61 00 0C */ addi r3, r1, 0xc -/* 801416D0 0013E630 48 0F 8B 19 */ bl GetTeamAiMgr__10CTeamAiMgrF3CAiRC13CStateManager -/* 801416D4 0013E634 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 801416D8 0013E638 B0 1E 06 C4 */ sth r0, 0x6c4(r30) -lbl_801416DC: -/* 801416DC 0013E63C A0 7E 06 C4 */ lhz r3, 0x6c4(r30) -/* 801416E0 0013E640 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801416E4 0013E644 7C 03 00 40 */ cmplw r3, r0 -/* 801416E8 0013E648 41 82 00 44 */ beq lbl_8014172C -/* 801416EC 0013E64C A0 1E 06 C4 */ lhz r0, 0x6c4(r30) -/* 801416F0 0013E650 7F E3 FB 78 */ mr r3, r31 -/* 801416F4 0013E654 38 81 00 08 */ addi r4, r1, 8 -/* 801416F8 0013E658 B0 01 00 08 */ sth r0, 8(r1) -/* 801416FC 0013E65C 4B F0 AE 79 */ bl ObjectById__13CStateManagerF9TUniqueId -/* 80141700 0013E660 7C 64 1B 78 */ mr r4, r3 -/* 80141704 0013E664 38 61 00 10 */ addi r3, r1, 0x10 -/* 80141708 0013E668 4B F6 5E 6D */ bl "__ct__24TCastToPtr<10CTeamAiMgr>FP7CEntity" -/* 8014170C 0013E66C 80 63 00 04 */ lwz r3, 4(r3) -/* 80141710 0013E670 28 03 00 00 */ cmplwi r3, 0 -/* 80141714 0013E674 41 82 00 18 */ beq lbl_8014172C -/* 80141718 0013E678 7F C4 F3 78 */ mr r4, r30 -/* 8014171C 0013E67C 38 A0 00 02 */ li r5, 2 -/* 80141720 0013E680 38 C0 00 03 */ li r6, 3 -/* 80141724 0013E684 38 E0 FF FF */ li r7, -1 -/* 80141728 0013E688 48 0F 80 85 */ bl AssignTeamAiRole__10CTeamAiMgrFRC3CAiiii -lbl_8014172C: -/* 8014172C 0013E68C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80141730 0013E690 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80141734 0013E694 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80141738 0013E698 7C 08 03 A6 */ mtlr r0 -/* 8014173C 0013E69C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80141740 0013E6A0 4E 80 00 20 */ blr - -.global GetOrigin__11CChozoGhostCFv -GetOrigin__11CChozoGhostCFv: -/* 80141744 0013E6A4 C0 44 00 60 */ lfs f2, 0x60(r4) -/* 80141748 0013E6A8 C0 24 00 50 */ lfs f1, 0x50(r4) -/* 8014174C 0013E6AC C0 04 00 40 */ lfs f0, 0x40(r4) -/* 80141750 0013E6B0 D0 03 00 00 */ stfs f0, 0(r3) -/* 80141754 0013E6B4 D0 23 00 04 */ stfs f1, 4(r3) -/* 80141758 0013E6B8 D0 43 00 08 */ stfs f2, 8(r3) -/* 8014175C 0013E6BC 4E 80 00 20 */ blr - -.global sub_80141760 -sub_80141760: -/* 80141760 0013E6C0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80141764 0013E6C4 7C 08 02 A6 */ mflr r0 -/* 80141768 0013E6C8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014176C 0013E6CC 81 83 00 00 */ lwz r12, 0(r3) -/* 80141770 0013E6D0 81 8C 02 B4 */ lwz r12, 0x2b4(r12) -/* 80141774 0013E6D4 7D 89 03 A6 */ mtctr r12 -/* 80141778 0013E6D8 4E 80 04 21 */ bctrl -/* 8014177C 0013E6DC 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80141780 0013E6E0 20 00 00 1F */ subfic r0, r0, 0x1f -/* 80141784 0013E6E4 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80141788 0013E6E8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8014178C 0013E6EC 7C 08 03 A6 */ mtlr r0 -/* 80141790 0013E6F0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80141794 0013E6F4 4E 80 00 20 */ blr - -.global Render__11CChozoGhostCFRC13CStateManager -Render__11CChozoGhostCFRC13CStateManager: -/* 80141798 0013E6F8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 8014179C 0013E6FC 7C 08 02 A6 */ mflr r0 -/* 801417A0 0013E700 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 801417A4 0013E704 90 01 00 34 */ stw r0, 0x34(r1) -/* 801417A8 0013E708 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801417AC 0013E70C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 801417B0 0013E710 7C 9E 23 78 */ mr r30, r4 -/* 801417B4 0013E714 93 A1 00 24 */ stw r29, 0x24(r1) -/* 801417B8 0013E718 7C 7D 1B 78 */ mr r29, r3 -/* 801417BC 0013E71C C0 43 06 C8 */ lfs f2, 0x6c8(r3) -/* 801417C0 0013E720 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801417C4 0013E724 40 81 00 24 */ ble lbl_801417E8 -/* 801417C8 0013E728 C0 22 9B A8 */ lfs f1, lbl_805AB8C8@sda21(r2) -/* 801417CC 0013E72C C0 1D 05 6C */ lfs f0, 0x56c(r29) -/* 801417D0 0013E730 EC 21 00 B2 */ fmuls f1, f1, f2 -/* 801417D4 0013E734 EC 21 00 24 */ fdivs f1, f1, f0 -/* 801417D8 0013E738 48 1D 36 19 */ bl FastSinR__5CMathFf -/* 801417DC 0013E73C 7F C3 F3 78 */ mr r3, r30 -/* 801417E0 0013E740 38 9D 06 CC */ addi r4, r29, 0x6cc -/* 801417E4 0013E744 4B F0 3C 19 */ bl DrawSpaceWarp__13CStateManagerCFRC9CVector3ff -lbl_801417E8: -/* 801417E8 0013E748 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 801417EC 0013E74C 7F C4 F3 78 */ mr r4, r30 -/* 801417F0 0013E750 80 63 00 00 */ lwz r3, 0(r3) -/* 801417F4 0013E754 4B F4 FD 65 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 801417F8 0013E758 20 03 00 01 */ subfic r0, r3, 1 -/* 801417FC 0013E75C 80 7D 00 04 */ lwz r3, 4(r29) -/* 80141800 0013E760 7C 04 00 34 */ cntlzw r4, r0 -/* 80141804 0013E764 54 80 DE 3F */ rlwinm. r0, r4, 0x1b, 0x18, 0x1f -/* 80141808 0013E768 90 61 00 10 */ stw r3, 0x10(r1) -/* 8014180C 0013E76C 54 9F D9 7E */ srwi r31, r4, 5 -/* 80141810 0013E770 41 82 00 4C */ beq lbl_8014185C -/* 80141814 0013E774 38 00 00 01 */ li r0, 1 -/* 80141818 0013E778 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) -/* 8014181C 0013E77C 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) -/* 80141820 0013E780 48 20 87 95 */ bl Black__6CColorFv -/* 80141824 0013E784 C0 22 9B 5C */ lfs f1, lbl_805AB87C@sda21(r2) -/* 80141828 0013E788 7C 64 1B 78 */ mr r4, r3 -/* 8014182C 0013E78C C0 42 9B AC */ lfs f2, lbl_805AB8CC@sda21(r2) -/* 80141830 0013E790 38 60 00 02 */ li r3, 2 -/* 80141834 0013E794 48 1C 8A 55 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor -/* 80141838 0013E798 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 8014183C 0013E79C 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80141840 0013E7A0 38 63 01 20 */ addi r3, r3, 0x120 -/* 80141844 0013E7A4 4B F7 67 71 */ bl RenderSystemsToBeDrawnFirst__17CParticleDatabaseCFv -/* 80141848 0013E7A8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014184C 0013E7AC 7F C3 F3 78 */ mr r3, r30 -/* 80141850 0013E7B0 38 81 00 0C */ addi r4, r1, 0xc -/* 80141854 0013E7B4 90 01 00 0C */ stw r0, 0xc(r1) -/* 80141858 0013E7B8 4B F0 54 C1 */ bl sub_80046d18 -lbl_8014185C: -/* 8014185C 0013E7BC 7F A3 EB 78 */ mr r3, r29 -/* 80141860 0013E7C0 7F C4 F3 78 */ mr r4, r30 -/* 80141864 0013E7C4 4B F3 67 C9 */ bl Render__10CPatternedCFRC13CStateManager -/* 80141868 0013E7C8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 8014186C 0013E7CC 41 82 00 4C */ beq lbl_801418B8 -/* 80141870 0013E7D0 48 20 87 45 */ bl Black__6CColorFv -/* 80141874 0013E7D4 C0 22 9B 5C */ lfs f1, lbl_805AB87C@sda21(r2) -/* 80141878 0013E7D8 7C 64 1B 78 */ mr r4, r3 -/* 8014187C 0013E7DC C0 42 9B AC */ lfs f2, lbl_805AB8CC@sda21(r2) -/* 80141880 0013E7E0 38 60 00 02 */ li r3, 2 -/* 80141884 0013E7E4 48 1C 8A 05 */ bl SetFog__9CGraphicsF11ERglFogModeffRC6CColor -/* 80141888 0013E7E8 80 7D 00 64 */ lwz r3, 0x64(r29) -/* 8014188C 0013E7EC 80 63 00 10 */ lwz r3, 0x10(r3) -/* 80141890 0013E7F0 38 63 01 20 */ addi r3, r3, 0x120 -/* 80141894 0013E7F4 4B F7 66 91 */ bl RenderSystemsToBeDrawnLast__17CParticleDatabaseCFv -/* 80141898 0013E7F8 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014189C 0013E7FC 7F C3 F3 78 */ mr r3, r30 -/* 801418A0 0013E800 38 81 00 08 */ addi r4, r1, 8 -/* 801418A4 0013E804 90 01 00 08 */ stw r0, 8(r1) -/* 801418A8 0013E808 4B F0 54 D9 */ bl SetupFogForArea__13CStateManagerCF7TAreaId -/* 801418AC 0013E80C 38 00 00 00 */ li r0, 0 -/* 801418B0 0013E810 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) -/* 801418B4 0013E814 98 0D A8 B8 */ stb r0, lbl_805A9478@sda21(r13) -lbl_801418B8: -/* 801418B8 0013E818 80 01 00 34 */ lwz r0, 0x34(r1) -/* 801418BC 0013E81C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 801418C0 0013E820 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 801418C4 0013E824 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 801418C8 0013E828 7C 08 03 A6 */ mtlr r0 -/* 801418CC 0013E82C 38 21 00 30 */ addi r1, r1, 0x30 -/* 801418D0 0013E830 4E 80 00 20 */ blr - -.global PreRender__11CChozoGhostFR13CStateManagerRC14CFrustumPlanes -PreRender__11CChozoGhostFR13CStateManagerRC14CFrustumPlanes: -/* 801418D4 0013E834 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 801418D8 0013E838 7C 08 02 A6 */ mflr r0 -/* 801418DC 0013E83C 90 01 00 44 */ stw r0, 0x44(r1) -/* 801418E0 0013E840 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 801418E4 0013E844 7C BF 2B 78 */ mr r31, r5 -/* 801418E8 0013E848 93 C1 00 38 */ stw r30, 0x38(r1) -/* 801418EC 0013E84C 7C 9E 23 78 */ mr r30, r4 -/* 801418F0 0013E850 93 A1 00 34 */ stw r29, 0x34(r1) -/* 801418F4 0013E854 7C 7D 1B 78 */ mr r29, r3 -/* 801418F8 0013E858 93 81 00 30 */ stw r28, 0x30(r1) -/* 801418FC 0013E85C 80 64 08 B8 */ lwz r3, 0x8b8(r4) -/* 80141900 0013E860 80 63 00 00 */ lwz r3, 0(r3) -/* 80141904 0013E864 4B F4 FC 55 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80141908 0013E868 20 63 00 01 */ subfic r3, r3, 1 -/* 8014190C 0013E86C 88 1D 04 02 */ lbz r0, 0x402(r29) -/* 80141910 0013E870 7C 63 00 34 */ cntlzw r3, r3 -/* 80141914 0013E874 7F C4 F3 78 */ mr r4, r30 -/* 80141918 0013E878 54 63 DE 3E */ rlwinm r3, r3, 0x1b, 0x18, 0x1f -/* 8014191C 0013E87C 7C 63 00 34 */ cntlzw r3, r3 -/* 80141920 0013E880 50 60 EF 7A */ rlwimi r0, r3, 0x1d, 0x1d, 0x1d -/* 80141924 0013E884 98 1D 04 02 */ stb r0, 0x402(r29) -/* 80141928 0013E888 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 8014192C 0013E88C 80 63 00 00 */ lwz r3, 0(r3) -/* 80141930 0013E890 4B F4 FC 29 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80141934 0013E894 2C 03 00 03 */ cmpwi r3, 3 -/* 80141938 0013E898 40 82 00 28 */ bne lbl_80141960 -/* 8014193C 0013E89C 7F A3 EB 78 */ mr r3, r29 -/* 80141940 0013E8A0 38 80 00 00 */ li r4, 0 -/* 80141944 0013E8A4 4B F1 1F DD */ bl SetCalculateLighting__6CActorFb -/* 80141948 0013E8A8 83 9D 00 90 */ lwz r28, 0x90(r29) -/* 8014194C 0013E8AC 48 20 86 61 */ bl White__6CColorFv -/* 80141950 0013E8B0 7C 64 1B 78 */ mr r4, r3 -/* 80141954 0013E8B4 7F 83 E3 78 */ mr r3, r28 -/* 80141958 0013E8B8 4B FC 17 59 */ bl BuildConstantAmbientLighting__12CActorLightsFRC6CColor -/* 8014195C 0013E8BC 48 00 00 10 */ b lbl_8014196C -lbl_80141960: -/* 80141960 0013E8C0 7F A3 EB 78 */ mr r3, r29 -/* 80141964 0013E8C4 38 80 00 01 */ li r4, 1 -/* 80141968 0013E8C8 4B F1 1F B9 */ bl SetCalculateLighting__6CActorFb -lbl_8014196C: -/* 8014196C 0013E8CC 7F A3 EB 78 */ mr r3, r29 -/* 80141970 0013E8D0 80 1D 04 2C */ lwz r0, 0x42c(r29) -/* 80141974 0013E8D4 81 9D 00 00 */ lwz r12, 0(r29) -/* 80141978 0013E8D8 7F C4 F3 78 */ mr r4, r30 -/* 8014197C 0013E8DC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80141980 0013E8E0 81 8C 02 B4 */ lwz r12, 0x2b4(r12) -/* 80141984 0013E8E4 7D 89 03 A6 */ mtctr r12 -/* 80141988 0013E8E8 4E 80 04 21 */ bctrl -/* 8014198C 0013E8EC 7C 7C 1B 78 */ mr r28, r3 -/* 80141990 0013E8F0 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80141994 0013E8F4 28 00 00 FF */ cmplwi r0, 0xff -/* 80141998 0013E8F8 41 80 00 10 */ blt lbl_801419A8 -/* 8014199C 0013E8FC 88 01 00 10 */ lbz r0, 0x10(r1) -/* 801419A0 0013E900 28 00 00 00 */ cmplwi r0, 0 -/* 801419A4 0013E904 41 82 00 8C */ beq lbl_80141A30 -lbl_801419A8: -/* 801419A8 0013E908 88 01 00 10 */ lbz r0, 0x10(r1) -/* 801419AC 0013E90C 28 00 00 00 */ cmplwi r0, 0 -/* 801419B0 0013E910 41 82 00 34 */ beq lbl_801419E4 -/* 801419B4 0013E914 54 00 08 3C */ slwi r0, r0, 1 -/* 801419B8 0013E918 38 81 00 0C */ addi r4, r1, 0xc -/* 801419BC 0013E91C 20 00 00 FF */ subfic r0, r0, 0xff -/* 801419C0 0013E920 38 6D 8B 9C */ addi r3, r13, lbl_805A775C@sda21 -/* 801419C4 0013E924 90 01 00 0C */ stw r0, 0xc(r1) -/* 801419C8 0013E928 48 00 0E F9 */ bl sub_801428c0 -/* 801419CC 0013E92C 80 63 00 00 */ lwz r3, 0(r3) -/* 801419D0 0013E930 38 00 00 FF */ li r0, 0xff -/* 801419D4 0013E934 98 01 00 10 */ stb r0, 0x10(r1) -/* 801419D8 0013E938 98 61 00 11 */ stb r3, 0x11(r1) -/* 801419DC 0013E93C 98 61 00 12 */ stb r3, 0x12(r1) -/* 801419E0 0013E940 48 00 00 10 */ b lbl_801419F0 -lbl_801419E4: -/* 801419E4 0013E944 48 20 85 C9 */ bl White__6CColorFv -/* 801419E8 0013E948 80 03 00 00 */ lwz r0, 0(r3) -/* 801419EC 0013E94C 90 01 00 10 */ stw r0, 0x10(r1) -lbl_801419F0: -/* 801419F0 0013E950 38 00 00 05 */ li r0, 5 -/* 801419F4 0013E954 88 C1 00 10 */ lbz r6, 0x10(r1) -/* 801419F8 0013E958 88 A1 00 11 */ lbz r5, 0x11(r1) -/* 801419FC 0013E95C 38 60 00 00 */ li r3, 0 -/* 80141A00 0013E960 98 1D 00 B4 */ stb r0, 0xb4(r29) -/* 80141A04 0013E964 38 00 00 03 */ li r0, 3 -/* 80141A08 0013E968 88 81 00 12 */ lbz r4, 0x12(r1) -/* 80141A0C 0013E96C 98 7D 00 B5 */ stb r3, 0xb5(r29) -/* 80141A10 0013E970 98 C1 00 08 */ stb r6, 8(r1) -/* 80141A14 0013E974 98 A1 00 09 */ stb r5, 9(r1) -/* 80141A18 0013E978 98 81 00 0A */ stb r4, 0xa(r1) -/* 80141A1C 0013E97C 9B 81 00 0B */ stb r28, 0xb(r1) -/* 80141A20 0013E980 B0 1D 00 B6 */ sth r0, 0xb6(r29) -/* 80141A24 0013E984 80 01 00 08 */ lwz r0, 8(r1) -/* 80141A28 0013E988 90 1D 00 B8 */ stw r0, 0xb8(r29) -/* 80141A2C 0013E98C 48 00 00 50 */ b lbl_80141A7C -lbl_80141A30: -/* 80141A30 0013E990 C0 22 9B 60 */ lfs f1, lbl_805AB880@sda21(r2) -/* 80141A34 0013E994 38 80 00 00 */ li r4, 0 -/* 80141A38 0013E998 38 00 00 03 */ li r0, 3 -/* 80141A3C 0013E99C 98 81 00 14 */ stb r4, 0x14(r1) -/* 80141A40 0013E9A0 FC 40 08 90 */ fmr f2, f1 -/* 80141A44 0013E9A4 38 61 00 18 */ addi r3, r1, 0x18 -/* 80141A48 0013E9A8 FC 60 08 90 */ fmr f3, f1 -/* 80141A4C 0013E9AC 98 81 00 15 */ stb r4, 0x15(r1) -/* 80141A50 0013E9B0 FC 80 08 90 */ fmr f4, f1 -/* 80141A54 0013E9B4 B0 01 00 16 */ sth r0, 0x16(r1) -/* 80141A58 0013E9B8 48 22 19 95 */ bl __ct__6CColorFffff -/* 80141A5C 0013E9BC 88 01 00 14 */ lbz r0, 0x14(r1) -/* 80141A60 0013E9C0 98 1D 00 B4 */ stb r0, 0xb4(r29) -/* 80141A64 0013E9C4 88 01 00 15 */ lbz r0, 0x15(r1) -/* 80141A68 0013E9C8 98 1D 00 B5 */ stb r0, 0xb5(r29) -/* 80141A6C 0013E9CC A0 01 00 16 */ lhz r0, 0x16(r1) -/* 80141A70 0013E9D0 B0 1D 00 B6 */ sth r0, 0xb6(r29) -/* 80141A74 0013E9D4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80141A78 0013E9D8 90 1D 00 B8 */ stw r0, 0xb8(r29) -lbl_80141A7C: -/* 80141A7C 0013E9DC 7F A3 EB 78 */ mr r3, r29 -/* 80141A80 0013E9E0 7F C4 F3 78 */ mr r4, r30 -/* 80141A84 0013E9E4 7F E5 FB 78 */ mr r5, r31 -/* 80141A88 0013E9E8 4B F1 32 59 */ bl PreRender__6CActorFR13CStateManagerRC14CFrustumPlanes -/* 80141A8C 0013E9EC 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 80141A90 0013E9F0 7F C4 F3 78 */ mr r4, r30 -/* 80141A94 0013E9F4 81 1D 04 50 */ lwz r8, 0x450(r29) -/* 80141A98 0013E9F8 38 7D 06 8C */ addi r3, r29, 0x68c -/* 80141A9C 0013E9FC C0 05 00 00 */ lfs f0, 0(r5) -/* 80141AA0 0013EA00 38 DD 00 34 */ addi r6, r29, 0x34 -/* 80141AA4 0013EA04 38 E1 00 1C */ addi r7, r1, 0x1c -/* 80141AA8 0013EA08 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80141AAC 0013EA0C C0 05 00 04 */ lfs f0, 4(r5) -/* 80141AB0 0013EA10 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80141AB4 0013EA14 C0 05 00 08 */ lfs f0, 8(r5) -/* 80141AB8 0013EA18 D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80141ABC 0013EA1C 80 BD 00 64 */ lwz r5, 0x64(r29) -/* 80141AC0 0013EA20 80 A5 00 10 */ lwz r5, 0x10(r5) -/* 80141AC4 0013EA24 48 03 3E 4D */ bl PreRender__13CBoneTrackingFRC13CStateManagerR9CAnimDataRC12CTransform4fRC9CVector3fRC15CBodyController -/* 80141AC8 0013EA28 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80141ACC 0013EA2C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80141AD0 0013EA30 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80141AD4 0013EA34 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80141AD8 0013EA38 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80141ADC 0013EA3C 7C 08 03 A6 */ mtlr r0 -/* 80141AE0 0013EA40 38 21 00 40 */ addi r1, r1, 0x40 -/* 80141AE4 0013EA44 4E 80 00 20 */ blr - -.global GetModelAlphau8__11CChozoGhostCFRC13CStateManager -GetModelAlphau8__11CChozoGhostCFRC13CStateManager: -/* 80141AE8 0013EA48 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80141AEC 0013EA4C 7C 08 02 A6 */ mflr r0 -/* 80141AF0 0013EA50 90 01 00 14 */ stw r0, 0x14(r1) -/* 80141AF4 0013EA54 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80141AF8 0013EA58 3B E0 00 FF */ li r31, 0xff -/* 80141AFC 0013EA5C 93 C1 00 08 */ stw r30, 8(r1) -/* 80141B00 0013EA60 7C 7E 1B 78 */ mr r30, r3 -/* 80141B04 0013EA64 80 A4 08 B8 */ lwz r5, 0x8b8(r4) -/* 80141B08 0013EA68 80 65 00 00 */ lwz r3, 0(r5) -/* 80141B0C 0013EA6C 4B F4 FA 4D */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80141B10 0013EA70 2C 03 00 01 */ cmpwi r3, 1 -/* 80141B14 0013EA74 40 82 00 10 */ bne lbl_80141B24 -/* 80141B18 0013EA78 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80141B1C 0013EA7C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80141B20 0013EA80 40 82 00 08 */ bne lbl_80141B28 -lbl_80141B24: -/* 80141B24 0013EA84 8B FE 04 2F */ lbz r31, 0x42f(r30) -lbl_80141B28: -/* 80141B28 0013EA88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80141B2C 0013EA8C 57 E3 06 3E */ clrlwi r3, r31, 0x18 -/* 80141B30 0013EA90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80141B34 0013EA94 83 C1 00 08 */ lwz r30, 8(r1) -/* 80141B38 0013EA98 7C 08 03 A6 */ mtlr r0 -/* 80141B3C 0013EA9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80141B40 0013EAA0 4E 80 00 20 */ blr - -.global GetDamageVulnerability__11CChozoGhostCFv -GetDamageVulnerability__11CChozoGhostCFv: -/* 80141B44 0013EAA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80141B48 0013EAA8 7C 08 02 A6 */ mflr r0 -/* 80141B4C 0013EAAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80141B50 0013EAB0 88 03 06 65 */ lbz r0, 0x665(r3) -/* 80141B54 0013EAB4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80141B58 0013EAB8 41 82 00 10 */ beq lbl_80141B68 -/* 80141B5C 0013EABC 3C 60 80 57 */ lis r3, lbl_8056D7E8@ha -/* 80141B60 0013EAC0 38 63 D7 E8 */ addi r3, r3, lbl_8056D7E8@l -/* 80141B64 0013EAC4 48 00 00 08 */ b lbl_80141B6C -lbl_80141B68: -/* 80141B68 0013EAC8 4B F6 12 09 */ bl GetDamageVulnerability__3CAiCFv -lbl_80141B6C: -/* 80141B6C 0013EACC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80141B70 0013EAD0 7C 08 03 A6 */ mtlr r0 -/* 80141B74 0013EAD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80141B78 0013EAD8 4E 80 00 20 */ blr - -.global GetCollisionResponseType__11CChozoGhostCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__11CChozoGhostCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 80141B7C 0013EADC 38 60 00 26 */ li r3, 0x26 -/* 80141B80 0013EAE0 4E 80 00 20 */ blr - -.global CanBeShot__11CChozoGhostFRC13CStateManageri -CanBeShot__11CChozoGhostFRC13CStateManageri: -/* 80141B84 0013EAE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80141B88 0013EAE8 7C 08 02 A6 */ mflr r0 -/* 80141B8C 0013EAEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80141B90 0013EAF0 4B FF FB D1 */ bl sub_80141760 -/* 80141B94 0013EAF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80141B98 0013EAF8 7C 08 03 A6 */ mtlr r0 -/* 80141B9C 0013EAFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80141BA0 0013EB00 4E 80 00 20 */ blr - -.global Touch__11CChozoGhostFR6CActorR13CStateManager -Touch__11CChozoGhostFR6CActorR13CStateManager: -/* 80141BA4 0013EB04 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80141BA8 0013EB08 7C 08 02 A6 */ mflr r0 -/* 80141BAC 0013EB0C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80141BB0 0013EB10 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80141BB4 0013EB14 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80141BB8 0013EB18 7C BE 2B 78 */ mr r30, r5 -/* 80141BBC 0013EB1C 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80141BC0 0013EB20 7C 9D 23 78 */ mr r29, r4 -/* 80141BC4 0013EB24 7F C4 F3 78 */ mr r4, r30 -/* 80141BC8 0013EB28 93 81 00 60 */ stw r28, 0x60(r1) -/* 80141BCC 0013EB2C 7C 7C 1B 78 */ mr r28, r3 -/* 80141BD0 0013EB30 4B FF FB 91 */ bl sub_80141760 -/* 80141BD4 0013EB34 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80141BD8 0013EB38 41 82 00 C4 */ beq lbl_80141C9C -/* 80141BDC 0013EB3C 7F A4 EB 78 */ mr r4, r29 -/* 80141BE0 0013EB40 38 61 00 20 */ addi r3, r1, 0x20 -/* 80141BE4 0013EB44 4B F6 A8 1D */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" -/* 80141BE8 0013EB48 83 E3 00 04 */ lwz r31, 4(r3) -/* 80141BEC 0013EB4C 28 1F 00 00 */ cmplwi r31, 0 -/* 80141BF0 0013EB50 41 82 00 AC */ beq lbl_80141C9C -/* 80141BF4 0013EB54 C0 3C 04 20 */ lfs f1, 0x420(r28) -/* 80141BF8 0013EB58 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 80141BFC 0013EB5C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80141C00 0013EB60 4C 40 13 82 */ cror 2, 0, 2 -/* 80141C04 0013EB64 40 82 00 98 */ bne lbl_80141C9C -/* 80141C08 0013EB68 80 AD 8B 98 */ lwz r5, lbl_805A7758@sda21(r13) -/* 80141C0C 0013EB6C 38 60 00 00 */ li r3, 0 -/* 80141C10 0013EB70 38 80 00 01 */ li r4, 1 -/* 80141C14 0013EB74 48 24 82 E1 */ bl __shl2i -/* 80141C18 0013EB78 38 A0 00 00 */ li r5, 0 -/* 80141C1C 0013EB7C 38 00 00 03 */ li r0, 3 -/* 80141C20 0013EB80 90 81 00 2C */ stw r4, 0x2c(r1) -/* 80141C24 0013EB84 7F 84 E3 78 */ mr r4, r28 -/* 80141C28 0013EB88 90 61 00 28 */ stw r3, 0x28(r1) -/* 80141C2C 0013EB8C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80141C30 0013EB90 90 A1 00 34 */ stw r5, 0x34(r1) -/* 80141C34 0013EB94 90 A1 00 30 */ stw r5, 0x30(r1) -/* 80141C38 0013EB98 90 01 00 38 */ stw r0, 0x38(r1) -/* 80141C3C 0013EB9C A0 1C 00 08 */ lhz r0, 8(r28) -/* 80141C40 0013EBA0 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80141C44 0013EBA4 A0 BF 00 08 */ lhz r5, 8(r31) -/* 80141C48 0013EBA8 B0 01 00 08 */ sth r0, 8(r1) -/* 80141C4C 0013EBAC B0 A1 00 14 */ sth r5, 0x14(r1) -/* 80141C50 0013EBB0 A0 1C 00 08 */ lhz r0, 8(r28) -/* 80141C54 0013EBB4 B0 A1 00 10 */ sth r5, 0x10(r1) -/* 80141C58 0013EBB8 B0 01 00 1C */ sth r0, 0x1c(r1) -/* 80141C5C 0013EBBC 81 9C 00 00 */ lwz r12, 0(r28) -/* 80141C60 0013EBC0 B0 01 00 18 */ sth r0, 0x18(r1) -/* 80141C64 0013EBC4 81 8C 02 B0 */ lwz r12, 0x2b0(r12) -/* 80141C68 0013EBC8 7D 89 03 A6 */ mtctr r12 -/* 80141C6C 0013EBCC 4E 80 04 21 */ bctrl -/* 80141C70 0013EBD0 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80141C74 0013EBD4 7F C3 F3 78 */ mr r3, r30 -/* 80141C78 0013EBD8 39 24 66 A0 */ addi r9, r4, skZero3f@l -/* 80141C7C 0013EBDC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80141C80 0013EBE0 38 81 00 1C */ addi r4, r1, 0x1c -/* 80141C84 0013EBE4 38 C1 00 0C */ addi r6, r1, 0xc -/* 80141C88 0013EBE8 38 E1 00 40 */ addi r7, r1, 0x40 -/* 80141C8C 0013EBEC 39 01 00 28 */ addi r8, r1, 0x28 -/* 80141C90 0013EBF0 4B F0 84 11 */ bl ApplyDamage__13CStateManagerF9TUniqueId9TUniqueId9TUniqueIdRC11CDamageInfoRC15CMaterialFilterRC9CVector3f -/* 80141C94 0013EBF4 C0 1C 04 24 */ lfs f0, 0x424(r28) -/* 80141C98 0013EBF8 D0 1C 04 20 */ stfs f0, 0x420(r28) -lbl_80141C9C: -/* 80141C9C 0013EBFC 7F 83 E3 78 */ mr r3, r28 -/* 80141CA0 0013EC00 7F A4 EB 78 */ mr r4, r29 -/* 80141CA4 0013EC04 7F C5 F3 78 */ mr r5, r30 -/* 80141CA8 0013EC08 4B F3 7D F9 */ bl Touch__10CPatternedFR6CActorR13CStateManager -/* 80141CAC 0013EC0C 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80141CB0 0013EC10 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 80141CB4 0013EC14 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80141CB8 0013EC18 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 80141CBC 0013EC1C 83 81 00 60 */ lwz r28, 0x60(r1) -/* 80141CC0 0013EC20 7C 08 03 A6 */ mtlr r0 -/* 80141CC4 0013EC24 38 21 00 70 */ addi r1, r1, 0x70 -/* 80141CC8 0013EC28 4E 80 00 20 */ blr - -.global AcceptScriptMsg__11CChozoGhostF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__11CChozoGhostF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80141CCC 0013EC2C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80141CD0 0013EC30 7C 08 02 A6 */ mflr r0 -/* 80141CD4 0013EC34 90 01 00 34 */ stw r0, 0x34(r1) -/* 80141CD8 0013EC38 DB E1 00 20 */ stfd f31, 0x20(r1) -/* 80141CDC 0013EC3C F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 -/* 80141CE0 0013EC40 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80141CE4 0013EC44 93 C1 00 18 */ stw r30, 0x18(r1) -/* 80141CE8 0013EC48 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80141CEC 0013EC4C A0 05 00 00 */ lhz r0, 0(r5) -/* 80141CF0 0013EC50 7C 7F 1B 78 */ mr r31, r3 -/* 80141CF4 0013EC54 7C 9D 23 78 */ mr r29, r4 -/* 80141CF8 0013EC58 7C DE 33 78 */ mr r30, r6 -/* 80141CFC 0013EC5C B0 01 00 08 */ sth r0, 8(r1) -/* 80141D00 0013EC60 38 A1 00 08 */ addi r5, r1, 8 -/* 80141D04 0013EC64 4B F3 AE 75 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 80141D08 0013EC68 28 1D 00 28 */ cmplwi r29, 0x28 -/* 80141D0C 0013EC6C 41 81 00 DC */ bgt lbl_80141DE8 -/* 80141D10 0013EC70 3C 60 80 3E */ lis r3, lbl_803E1BE4@ha -/* 80141D14 0013EC74 57 A0 10 3A */ slwi r0, r29, 2 -/* 80141D18 0013EC78 38 63 1B E4 */ addi r3, r3, lbl_803E1BE4@l -/* 80141D1C 0013EC7C 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80141D20 0013EC80 7C 09 03 A6 */ mtctr r0 -/* 80141D24 0013EC84 4E 80 04 20 */ bctr -/* 80141D28 0013EC88 88 1F 00 30 */ lbz r0, 0x30(r31) -/* 80141D2C 0013EC8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80141D30 0013EC90 41 82 00 B8 */ beq lbl_80141DE8 -/* 80141D34 0013EC94 7F E3 FB 78 */ mr r3, r31 -/* 80141D38 0013EC98 7F C4 F3 78 */ mr r4, r30 -/* 80141D3C 0013EC9C 4B FF F9 5D */ bl sub_80141698 -/* 80141D40 0013ECA0 48 00 00 A8 */ b lbl_80141DE8 -/* 80141D44 0013ECA4 7F E3 FB 78 */ mr r3, r31 -/* 80141D48 0013ECA8 7F C4 F3 78 */ mr r4, r30 -/* 80141D4C 0013ECAC 4B FF F9 4D */ bl sub_80141698 -/* 80141D50 0013ECB0 48 00 00 98 */ b lbl_80141DE8 -/* 80141D54 0013ECB4 88 9F 06 64 */ lbz r4, 0x664(r31) -/* 80141D58 0013ECB8 54 80 DF FF */ rlwinm. r0, r4, 0x1b, 0x1f, 0x1f -/* 80141D5C 0013ECBC 40 82 00 8C */ bne lbl_80141DE8 -/* 80141D60 0013ECC0 38 60 00 01 */ li r3, 1 -/* 80141D64 0013ECC4 50 64 2E B4 */ rlwimi r4, r3, 5, 0x1a, 0x1a -/* 80141D68 0013ECC8 98 9F 06 64 */ stb r4, 0x664(r31) -/* 80141D6C 0013ECCC 88 1F 04 00 */ lbz r0, 0x400(r31) -/* 80141D70 0013ECD0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80141D74 0013ECD4 98 1F 04 00 */ stb r0, 0x400(r31) -/* 80141D78 0013ECD8 48 00 00 70 */ b lbl_80141DE8 -/* 80141D7C 0013ECDC 88 1F 06 64 */ lbz r0, 0x664(r31) -/* 80141D80 0013ECE0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80141D84 0013ECE4 41 82 00 64 */ beq lbl_80141DE8 -/* 80141D88 0013ECE8 88 1F 06 65 */ lbz r0, 0x665(r31) -/* 80141D8C 0013ECEC 38 60 00 01 */ li r3, 1 -/* 80141D90 0013ECF0 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d -/* 80141D94 0013ECF4 98 1F 06 65 */ stb r0, 0x665(r31) -/* 80141D98 0013ECF8 48 00 00 50 */ b lbl_80141DE8 -/* 80141D9C 0013ECFC 7F E3 FB 78 */ mr r3, r31 -/* 80141DA0 0013ED00 7F C4 F3 78 */ mr r4, r30 -/* 80141DA4 0013ED04 4B FF F8 49 */ bl sub_801415ec -/* 80141DA8 0013ED08 48 00 00 40 */ b lbl_80141DE8 -/* 80141DAC 0013ED0C 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 80141DB0 0013ED10 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80141DB4 0013ED14 40 82 00 34 */ bne lbl_80141DE8 -/* 80141DB8 0013ED18 7F E3 FB 78 */ mr r3, r31 -/* 80141DBC 0013ED1C C3 FF 00 E8 */ lfs f31, 0xe8(r31) -/* 80141DC0 0013ED20 81 9F 00 00 */ lwz r12, 0(r31) -/* 80141DC4 0013ED24 81 8C 02 BC */ lwz r12, 0x2bc(r12) -/* 80141DC8 0013ED28 7D 89 03 A6 */ mtctr r12 -/* 80141DCC 0013ED2C 4E 80 04 21 */ bctrl -/* 80141DD0 0013ED30 FC 20 08 50 */ fneg f1, f1 -/* 80141DD4 0013ED34 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 80141DD8 0013ED38 D0 1F 01 50 */ stfs f0, 0x150(r31) -/* 80141DDC 0013ED3C EC 21 07 F2 */ fmuls f1, f1, f31 -/* 80141DE0 0013ED40 D0 1F 01 54 */ stfs f0, 0x154(r31) -/* 80141DE4 0013ED44 D0 3F 01 58 */ stfs f1, 0x158(r31) -lbl_80141DE8: -/* 80141DE8 0013ED48 E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 -/* 80141DEC 0013ED4C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80141DF0 0013ED50 CB E1 00 20 */ lfd f31, 0x20(r1) -/* 80141DF4 0013ED54 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80141DF8 0013ED58 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80141DFC 0013ED5C 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80141E00 0013ED60 7C 08 03 A6 */ mtlr r0 -/* 80141E04 0013ED64 38 21 00 30 */ addi r1, r1, 0x30 -/* 80141E08 0013ED68 4E 80 00 20 */ blr - -.global Accept__11CChozoGhostFR8IVisitor -Accept__11CChozoGhostFR8IVisitor: -/* 80141E0C 0013ED6C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80141E10 0013ED70 7C 08 02 A6 */ mflr r0 -/* 80141E14 0013ED74 90 01 00 14 */ stw r0, 0x14(r1) -/* 80141E18 0013ED78 7C 60 1B 78 */ mr r0, r3 -/* 80141E1C 0013ED7C 7C 83 23 78 */ mr r3, r4 -/* 80141E20 0013ED80 81 84 00 00 */ lwz r12, 0(r4) -/* 80141E24 0013ED84 7C 04 03 78 */ mr r4, r0 -/* 80141E28 0013ED88 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80141E2C 0013ED8C 7D 89 03 A6 */ mtctr r12 -/* 80141E30 0013ED90 4E 80 04 21 */ bctrl -/* 80141E34 0013ED94 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80141E38 0013ED98 7C 08 03 A6 */ mtlr r0 -/* 80141E3C 0013ED9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80141E40 0013EDA0 4E 80 00 20 */ blr - -.global "__ct__11CChozoGhostF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffffUiRC11CDamageInfoUiRC11CDamageInfoRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChance" -"__ct__11CChozoGhostF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffffUiRC11CDamageInfoUiRC11CDamageInfoRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChance": -/* 80141E44 0013EDA4 94 21 FD 10 */ stwu r1, -0x2f0(r1) -/* 80141E48 0013EDA8 7C 08 02 A6 */ mflr r0 -/* 80141E4C 0013EDAC 90 01 02 F4 */ stw r0, 0x2f4(r1) -/* 80141E50 0013EDB0 DB E1 02 E0 */ stfd f31, 0x2e0(r1) -/* 80141E54 0013EDB4 F3 E1 02 E8 */ psq_st f31, 744(r1), 0, qr0 -/* 80141E58 0013EDB8 DB C1 02 D0 */ stfd f30, 0x2d0(r1) -/* 80141E5C 0013EDBC F3 C1 02 D8 */ psq_st f30, 728(r1), 0, qr0 -/* 80141E60 0013EDC0 DB A1 02 C0 */ stfd f29, 0x2c0(r1) -/* 80141E64 0013EDC4 F3 A1 02 C8 */ psq_st f29, 712(r1), 0, qr0 -/* 80141E68 0013EDC8 DB 81 02 B0 */ stfd f28, 0x2b0(r1) -/* 80141E6C 0013EDCC F3 81 02 B8 */ psq_st f28, 696(r1), 0, qr0 -/* 80141E70 0013EDD0 DB 61 02 A0 */ stfd f27, 0x2a0(r1) -/* 80141E74 0013EDD4 F3 61 02 A8 */ psq_st f27, 680(r1), 0, qr0 -/* 80141E78 0013EDD8 DB 41 02 90 */ stfd f26, 0x290(r1) -/* 80141E7C 0013EDDC F3 41 02 98 */ psq_st f26, 664(r1), 0, qr0 -/* 80141E80 0013EDE0 DB 21 02 80 */ stfd f25, 0x280(r1) -/* 80141E84 0013EDE4 F3 21 02 88 */ psq_st f25, 648(r1), 0, qr0 -/* 80141E88 0013EDE8 DB 01 02 70 */ stfd f24, 0x270(r1) -/* 80141E8C 0013EDEC F3 01 02 78 */ psq_st f24, 632(r1), 0, qr0 -/* 80141E90 0013EDF0 DA E1 02 60 */ stfd f23, 0x260(r1) -/* 80141E94 0013EDF4 F2 E1 02 68 */ psq_st f23, 616(r1), 0, qr0 -/* 80141E98 0013EDF8 BD E1 02 1C */ stmw r15, 0x21c(r1) -/* 80141E9C 0013EDFC A0 04 00 00 */ lhz r0, 0(r4) -/* 80141EA0 0013EE00 7C CC 33 78 */ mr r12, r6 -/* 80141EA4 0013EE04 7D 0B 43 78 */ mr r11, r8 -/* 80141EA8 0013EE08 7C A6 2B 78 */ mr r6, r5 -/* 80141EAC 0013EE0C B0 01 00 20 */ sth r0, 0x20(r1) -/* 80141EB0 0013EE10 38 80 00 01 */ li r4, 1 -/* 80141EB4 0013EE14 38 00 00 00 */ li r0, 0 -/* 80141EB8 0013EE18 FE E0 08 90 */ fmr f23, f1 -/* 80141EBC 0013EE1C 91 41 00 08 */ stw r10, 8(r1) -/* 80141EC0 0013EE20 FF 00 10 90 */ fmr f24, f2 -/* 80141EC4 0013EE24 FF 20 18 90 */ fmr f25, f3 -/* 80141EC8 0013EE28 83 21 02 F8 */ lwz r25, 0x2f8(r1) -/* 80141ECC 0013EE2C 90 81 00 0C */ stw r4, 0xc(r1) -/* 80141ED0 0013EE30 FF 40 20 90 */ fmr f26, f4 -/* 80141ED4 0013EE34 83 41 02 FC */ lwz r26, 0x2fc(r1) -/* 80141ED8 0013EE38 90 01 00 10 */ stw r0, 0x10(r1) -/* 80141EDC 0013EE3C FF 60 28 90 */ fmr f27, f5 -/* 80141EE0 0013EE40 83 61 03 00 */ lwz r27, 0x300(r1) -/* 80141EE4 0013EE44 90 81 00 14 */ stw r4, 0x14(r1) -/* 80141EE8 0013EE48 FF 80 30 90 */ fmr f28, f6 -/* 80141EEC 0013EE4C 83 81 03 04 */ lwz r28, 0x304(r1) -/* 80141EF0 0013EE50 91 21 00 18 */ stw r9, 0x18(r1) -/* 80141EF4 0013EE54 FF A0 38 90 */ fmr f29, f7 -/* 80141EF8 0013EE58 7C E9 3B 78 */ mr r9, r7 -/* 80141EFC 0013EE5C 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80141F00 0013EE60 FF C0 40 90 */ fmr f30, f8 -/* 80141F04 0013EE64 83 A1 03 08 */ lwz r29, 0x308(r1) -/* 80141F08 0013EE68 83 C1 03 0C */ lwz r30, 0x30c(r1) -/* 80141F0C 0013EE6C 83 E1 03 10 */ lwz r31, 0x310(r1) -/* 80141F10 0013EE70 7C 78 1B 78 */ mr r24, r3 -/* 80141F14 0013EE74 A2 01 03 16 */ lhz r16, 0x316(r1) -/* 80141F18 0013EE78 A2 21 03 1A */ lhz r17, 0x31a(r1) -/* 80141F1C 0013EE7C 7D 88 63 78 */ mr r8, r12 -/* 80141F20 0013EE80 A2 41 03 1E */ lhz r18, 0x31e(r1) -/* 80141F24 0013EE84 7D 6A 5B 78 */ mr r10, r11 -/* 80141F28 0013EE88 82 61 03 20 */ lwz r19, 0x320(r1) -/* 80141F2C 0013EE8C 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80141F30 0013EE90 82 81 03 24 */ lwz r20, 0x324(r1) -/* 80141F34 0013EE94 38 80 00 06 */ li r4, 6 -/* 80141F38 0013EE98 82 A1 03 28 */ lwz r21, 0x328(r1) -/* 80141F3C 0013EE9C 38 E0 00 00 */ li r7, 0 -/* 80141F40 0013EEA0 A2 C1 03 2E */ lhz r22, 0x32e(r1) -/* 80141F44 0013EEA4 C3 E1 03 30 */ lfs f31, 0x330(r1) -/* 80141F48 0013EEA8 82 E1 03 34 */ lwz r23, 0x334(r1) -/* 80141F4C 0013EEAC 81 E1 03 38 */ lwz r15, 0x338(r1) -/* 80141F50 0013EEB0 4B F3 B5 01 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 80141F54 0013EEB4 3C 60 80 3E */ lis r3, lbl_803E1918@ha -/* 80141F58 0013EEB8 7F 24 CB 78 */ mr r4, r25 -/* 80141F5C 0013EEBC 38 03 19 18 */ addi r0, r3, lbl_803E1918@l -/* 80141F60 0013EEC0 7F 45 D3 78 */ mr r5, r26 -/* 80141F64 0013EEC4 90 18 00 00 */ stw r0, 0(r24) -/* 80141F68 0013EEC8 38 78 05 78 */ addi r3, r24, 0x578 -/* 80141F6C 0013EECC D2 F8 05 68 */ stfs f23, 0x568(r24) -/* 80141F70 0013EED0 D3 18 05 6C */ stfs f24, 0x56c(r24) -/* 80141F74 0013EED4 D3 38 05 70 */ stfs f25, 0x570(r24) -/* 80141F78 0013EED8 D3 58 05 74 */ stfs f26, 0x574(r24) -/* 80141F7C 0013EEDC 48 0D A1 2D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 80141F80 0013EEE0 7F 64 DB 78 */ mr r4, r27 -/* 80141F84 0013EEE4 7F 85 E3 78 */ mr r5, r28 -/* 80141F88 0013EEE8 38 78 05 A0 */ addi r3, r24, 0x5a0 -/* 80141F8C 0013EEEC 48 0D A1 1D */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 80141F90 0013EEF0 80 7D 00 00 */ lwz r3, 0(r29) -/* 80141F94 0013EEF4 38 00 00 00 */ li r0, 0 -/* 80141F98 0013EEF8 90 78 05 C8 */ stw r3, 0x5c8(r24) -/* 80141F9C 0013EEFC C0 1D 00 04 */ lfs f0, 4(r29) -/* 80141FA0 0013EF00 D0 18 05 CC */ stfs f0, 0x5cc(r24) -/* 80141FA4 0013EF04 C0 1D 00 08 */ lfs f0, 8(r29) -/* 80141FA8 0013EF08 D0 18 05 D0 */ stfs f0, 0x5d0(r24) -/* 80141FAC 0013EF0C C0 1D 00 0C */ lfs f0, 0xc(r29) -/* 80141FB0 0013EF10 D0 18 05 D4 */ stfs f0, 0x5d4(r24) -/* 80141FB4 0013EF14 C0 1D 00 10 */ lfs f0, 0x10(r29) -/* 80141FB8 0013EF18 D0 18 05 D8 */ stfs f0, 0x5d8(r24) -/* 80141FBC 0013EF1C C0 1D 00 14 */ lfs f0, 0x14(r29) -/* 80141FC0 0013EF20 D0 18 05 DC */ stfs f0, 0x5dc(r24) -/* 80141FC4 0013EF24 C0 1D 00 18 */ lfs f0, 0x18(r29) -/* 80141FC8 0013EF28 D0 18 05 E0 */ stfs f0, 0x5e0(r24) -/* 80141FCC 0013EF2C 80 7D 00 1C */ lwz r3, 0x1c(r29) -/* 80141FD0 0013EF30 90 78 05 E4 */ stw r3, 0x5e4(r24) -/* 80141FD4 0013EF34 80 7E 00 00 */ lwz r3, 0(r30) -/* 80141FD8 0013EF38 90 78 05 E8 */ stw r3, 0x5e8(r24) -/* 80141FDC 0013EF3C C0 1E 00 04 */ lfs f0, 4(r30) -/* 80141FE0 0013EF40 D0 18 05 EC */ stfs f0, 0x5ec(r24) -/* 80141FE4 0013EF44 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80141FE8 0013EF48 D0 18 05 F0 */ stfs f0, 0x5f0(r24) -/* 80141FEC 0013EF4C C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 80141FF0 0013EF50 D0 18 05 F4 */ stfs f0, 0x5f4(r24) -/* 80141FF4 0013EF54 C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 80141FF8 0013EF58 D0 18 05 F8 */ stfs f0, 0x5f8(r24) -/* 80141FFC 0013EF5C C0 1E 00 14 */ lfs f0, 0x14(r30) -/* 80142000 0013EF60 D0 18 05 FC */ stfs f0, 0x5fc(r24) -/* 80142004 0013EF64 C0 1E 00 18 */ lfs f0, 0x18(r30) -/* 80142008 0013EF68 D0 18 06 00 */ stfs f0, 0x600(r24) -/* 8014200C 0013EF6C 80 7E 00 1C */ lwz r3, 0x1c(r30) -/* 80142010 0013EF70 90 78 06 04 */ stw r3, 0x604(r24) -/* 80142014 0013EF74 80 7F 00 00 */ lwz r3, 0(r31) -/* 80142018 0013EF78 90 78 06 08 */ stw r3, 0x608(r24) -/* 8014201C 0013EF7C C0 1F 00 04 */ lfs f0, 4(r31) -/* 80142020 0013EF80 D0 18 06 0C */ stfs f0, 0x60c(r24) -/* 80142024 0013EF84 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80142028 0013EF88 D0 18 06 10 */ stfs f0, 0x610(r24) -/* 8014202C 0013EF8C C0 1F 00 0C */ lfs f0, 0xc(r31) -/* 80142030 0013EF90 D0 18 06 14 */ stfs f0, 0x614(r24) -/* 80142034 0013EF94 C0 1F 00 10 */ lfs f0, 0x10(r31) -/* 80142038 0013EF98 D0 18 06 18 */ stfs f0, 0x618(r24) -/* 8014203C 0013EF9C C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 80142040 0013EFA0 D0 18 06 1C */ stfs f0, 0x61c(r24) -/* 80142044 0013EFA4 C0 1F 00 18 */ lfs f0, 0x18(r31) -/* 80142048 0013EFA8 D0 18 06 20 */ stfs f0, 0x620(r24) -/* 8014204C 0013EFAC 80 7F 00 1C */ lwz r3, 0x1c(r31) -/* 80142050 0013EFB0 90 78 06 24 */ stw r3, 0x624(r24) -/* 80142054 0013EFB4 B2 18 06 28 */ sth r16, 0x628(r24) -/* 80142058 0013EFB8 D3 78 06 2C */ stfs f27, 0x62c(r24) -/* 8014205C 0013EFBC B2 38 06 30 */ sth r17, 0x630(r24) -/* 80142060 0013EFC0 B2 58 06 32 */ sth r18, 0x632(r24) -/* 80142064 0013EFC4 D3 98 06 34 */ stfs f28, 0x634(r24) -/* 80142068 0013EFC8 D3 B8 06 38 */ stfs f29, 0x638(r24) -/* 8014206C 0013EFCC 92 98 06 3C */ stw r20, 0x63c(r24) -/* 80142070 0013EFD0 98 18 06 4C */ stb r0, 0x64c(r24) -/* 80142074 0013EFD4 B2 D8 06 50 */ sth r22, 0x650(r24) -/* 80142078 0013EFD8 D3 D8 06 54 */ stfs f30, 0x654(r24) -/* 8014207C 0013EFDC D3 F8 06 58 */ stfs f31, 0x658(r24) -/* 80142080 0013EFE0 92 F8 06 5C */ stw r23, 0x65c(r24) -/* 80142084 0013EFE4 91 F8 06 60 */ stw r15, 0x660(r24) -/* 80142088 0013EFE8 88 78 06 64 */ lbz r3, 0x664(r24) -/* 8014208C 0013EFEC 52 63 3E 30 */ rlwimi r3, r19, 7, 0x18, 0x18 -/* 80142090 0013EFF0 98 78 06 64 */ stb r3, 0x664(r24) -/* 80142094 0013EFF4 88 78 06 64 */ lbz r3, 0x664(r24) -/* 80142098 0013EFF8 52 63 2E 72 */ rlwimi r3, r19, 5, 0x19, 0x19 -/* 8014209C 0013EFFC 98 78 06 64 */ stb r3, 0x664(r24) -/* 801420A0 0013F000 88 78 06 64 */ lbz r3, 0x664(r24) -/* 801420A4 0013F004 50 03 2E B4 */ rlwimi r3, r0, 5, 0x1a, 0x1a -/* 801420A8 0013F008 98 78 06 64 */ stb r3, 0x664(r24) -/* 801420AC 0013F00C 88 78 06 64 */ lbz r3, 0x664(r24) -/* 801420B0 0013F010 50 03 26 F6 */ rlwimi r3, r0, 4, 0x1b, 0x1b -/* 801420B4 0013F014 98 78 06 64 */ stb r3, 0x664(r24) -/* 801420B8 0013F018 88 78 06 64 */ lbz r3, 0x664(r24) -/* 801420BC 0013F01C 50 03 1F 38 */ rlwimi r3, r0, 3, 0x1c, 0x1c -/* 801420C0 0013F020 98 78 06 64 */ stb r3, 0x664(r24) -/* 801420C4 0013F024 88 78 06 64 */ lbz r3, 0x664(r24) -/* 801420C8 0013F028 50 03 17 7A */ rlwimi r3, r0, 2, 0x1d, 0x1d -/* 801420CC 0013F02C 98 78 06 64 */ stb r3, 0x664(r24) -/* 801420D0 0013F030 88 78 06 64 */ lbz r3, 0x664(r24) -/* 801420D4 0013F034 50 03 0F BC */ rlwimi r3, r0, 1, 0x1e, 0x1e -/* 801420D8 0013F038 98 78 06 64 */ stb r3, 0x664(r24) -/* 801420DC 0013F03C 88 78 06 64 */ lbz r3, 0x664(r24) -/* 801420E0 0013F040 50 03 07 FE */ rlwimi r3, r0, 0, 0x1f, 0x1f -/* 801420E4 0013F044 98 78 06 64 */ stb r3, 0x664(r24) -/* 801420E8 0013F048 88 78 06 65 */ lbz r3, 0x665(r24) -/* 801420EC 0013F04C 38 80 00 01 */ li r4, 1 -/* 801420F0 0013F050 50 83 3E 30 */ rlwimi r3, r4, 7, 0x18, 0x18 -/* 801420F4 0013F054 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 801420F8 0013F058 98 78 06 65 */ stb r3, 0x665(r24) -/* 801420FC 0013F05C 38 80 FF FF */ li r4, -1 -/* 80142100 0013F060 38 60 00 04 */ li r3, 4 -/* 80142104 0013F064 88 B8 06 65 */ lbz r5, 0x665(r24) -/* 80142108 0013F068 50 05 36 72 */ rlwimi r5, r0, 6, 0x19, 0x19 -/* 8014210C 0013F06C 98 B8 06 65 */ stb r5, 0x665(r24) -/* 80142110 0013F070 88 B8 06 65 */ lbz r5, 0x665(r24) -/* 80142114 0013F074 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a -/* 80142118 0013F078 98 B8 06 65 */ stb r5, 0x665(r24) -/* 8014211C 0013F07C 88 B8 06 65 */ lbz r5, 0x665(r24) -/* 80142120 0013F080 50 05 1F 38 */ rlwimi r5, r0, 3, 0x1c, 0x1c -/* 80142124 0013F084 98 B8 06 65 */ stb r5, 0x665(r24) -/* 80142128 0013F088 88 B8 06 65 */ lbz r5, 0x665(r24) -/* 8014212C 0013F08C 50 05 17 7A */ rlwimi r5, r0, 2, 0x1d, 0x1d -/* 80142130 0013F090 98 B8 06 65 */ stb r5, 0x665(r24) -/* 80142134 0013F094 D0 18 06 68 */ stfs f0, 0x668(r24) -/* 80142138 0013F098 D0 18 06 6C */ stfs f0, 0x66c(r24) -/* 8014213C 0013F09C D0 18 06 70 */ stfs f0, 0x670(r24) -/* 80142140 0013F0A0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80142144 0013F0A4 B0 18 06 74 */ sth r0, 0x674(r24) -/* 80142148 0013F0A8 D0 18 06 78 */ stfs f0, 0x678(r24) -/* 8014214C 0013F0AC 90 98 06 7C */ stw r4, 0x67c(r24) -/* 80142150 0013F0B0 88 18 06 64 */ lbz r0, 0x664(r24) -/* 80142154 0013F0B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80142158 0013F0B8 41 82 00 08 */ beq lbl_80142160 -/* 8014215C 0013F0BC 38 60 00 02 */ li r3, 2 -lbl_80142160: -/* 80142160 0013F0C0 90 78 06 80 */ stw r3, 0x680(r24) -/* 80142164 0013F0C4 38 78 06 88 */ addi r3, r24, 0x688 -/* 80142168 0013F0C8 C0 02 9B 60 */ lfs f0, lbl_805AB880@sda21(r2) -/* 8014216C 0013F0CC D0 18 06 84 */ stfs f0, 0x684(r24) -/* 80142170 0013F0D0 4B FF CB E1 */ bl __ct__18CSteeringBehaviorsFv -/* 80142174 0013F0D4 3C 80 80 3D */ lis r4, lbl_803D0078@ha -/* 80142178 0013F0D8 38 61 01 24 */ addi r3, r1, 0x124 -/* 8014217C 0013F0DC 38 84 00 78 */ addi r4, r4, lbl_803D0078@l -/* 80142180 0013F0E0 38 84 00 07 */ addi r4, r4, 7 -/* 80142184 0013F0E4 4B EC 2B 35 */ bl string_l__4rstlFPCc -/* 80142188 0013F0E8 80 98 00 64 */ lwz r4, 0x64(r24) -/* 8014218C 0013F0EC 38 78 06 8C */ addi r3, r24, 0x68c -/* 80142190 0013F0F0 C0 22 9B B0 */ lfs f1, lbl_805AB8D0@sda21(r2) -/* 80142194 0013F0F4 38 A1 01 24 */ addi r5, r1, 0x124 -/* 80142198 0013F0F8 80 84 00 10 */ lwz r4, 0x10(r4) -/* 8014219C 0013F0FC 38 C0 00 00 */ li r6, 0 -/* 801421A0 0013F100 C0 42 9B A8 */ lfs f2, lbl_805AB8C8@sda21(r2) -/* 801421A4 0013F104 48 03 38 15 */ bl "__ct__13CBoneTrackingFRC9CAnimDataRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffb" -/* 801421A8 0013F108 38 61 01 24 */ addi r3, r1, 0x124 -/* 801421AC 0013F10C 48 1F B9 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 801421B0 0013F110 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801421B4 0013F114 3C 60 80 5A */ lis r3, skZero3f@ha -/* 801421B8 0013F118 C0 02 9B 5C */ lfs f0, lbl_805AB87C@sda21(r2) -/* 801421BC 0013F11C 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 801421C0 0013F120 B0 18 06 C4 */ sth r0, 0x6c4(r24) -/* 801421C4 0013F124 38 00 00 01 */ li r0, 1 -/* 801421C8 0013F128 38 78 05 78 */ addi r3, r24, 0x578 -/* 801421CC 0013F12C D0 18 06 C8 */ stfs f0, 0x6c8(r24) -/* 801421D0 0013F130 C0 04 00 00 */ lfs f0, 0(r4) -/* 801421D4 0013F134 D0 18 06 CC */ stfs f0, 0x6cc(r24) -/* 801421D8 0013F138 C0 04 00 04 */ lfs f0, 4(r4) -/* 801421DC 0013F13C D0 18 06 D0 */ stfs f0, 0x6d0(r24) -/* 801421E0 0013F140 C0 04 00 08 */ lfs f0, 8(r4) -/* 801421E4 0013F144 D0 18 06 D4 */ stfs f0, 0x6d4(r24) -/* 801421E8 0013F148 90 18 06 D8 */ stw r0, 0x6d8(r24) -/* 801421EC 0013F14C 48 1F EB 99 */ bl Lock__6CTokenFv -/* 801421F0 0013F150 38 78 05 A0 */ addi r3, r24, 0x5a0 -/* 801421F4 0013F154 48 1F EB 91 */ bl Lock__6CTokenFv -/* 801421F8 0013F158 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 801421FC 0013F15C 48 1A 0E 81 */ bl NoParameter__12CPASAnimParmFv -/* 80142200 0013F160 38 61 00 BC */ addi r3, r1, 0xbc -/* 80142204 0013F164 48 1A 0E 79 */ bl NoParameter__12CPASAnimParmFv -/* 80142208 0013F168 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 8014220C 0013F16C 48 1A 0E 71 */ bl NoParameter__12CPASAnimParmFv -/* 80142210 0013F170 38 61 00 CC */ addi r3, r1, 0xcc -/* 80142214 0013F174 48 1A 0E 69 */ bl NoParameter__12CPASAnimParmFv -/* 80142218 0013F178 38 61 00 D4 */ addi r3, r1, 0xd4 -/* 8014221C 0013F17C 48 1A 0E 61 */ bl NoParameter__12CPASAnimParmFv -/* 80142220 0013F180 38 61 00 DC */ addi r3, r1, 0xdc -/* 80142224 0013F184 48 1A 0E 59 */ bl NoParameter__12CPASAnimParmFv -/* 80142228 0013F188 38 61 00 E4 */ addi r3, r1, 0xe4 -/* 8014222C 0013F18C 38 80 00 00 */ li r4, 0 -/* 80142230 0013F190 48 1A 0D 55 */ bl FromEnum__12CPASAnimParmFi -/* 80142234 0013F194 38 61 00 EC */ addi r3, r1, 0xec -/* 80142238 0013F198 38 80 00 03 */ li r4, 3 -/* 8014223C 0013F19C 48 1A 0D 49 */ bl FromEnum__12CPASAnimParmFi -/* 80142240 0013F1A0 38 61 00 BC */ addi r3, r1, 0xbc -/* 80142244 0013F1A4 38 01 00 B4 */ addi r0, r1, 0xb4 -/* 80142248 0013F1A8 90 61 00 08 */ stw r3, 8(r1) -/* 8014224C 0013F1AC 38 61 01 C4 */ addi r3, r1, 0x1c4 -/* 80142250 0013F1B0 38 A1 00 EC */ addi r5, r1, 0xec -/* 80142254 0013F1B4 38 C1 00 E4 */ addi r6, r1, 0xe4 -/* 80142258 0013F1B8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8014225C 0013F1BC 38 E1 00 DC */ addi r7, r1, 0xdc -/* 80142260 0013F1C0 39 01 00 D4 */ addi r8, r1, 0xd4 -/* 80142264 0013F1C4 39 21 00 CC */ addi r9, r1, 0xcc -/* 80142268 0013F1C8 39 41 00 C4 */ addi r10, r1, 0xc4 -/* 8014226C 0013F1CC 38 80 00 0D */ li r4, 0xd -/* 80142270 0013F1D0 4B F3 B0 55 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80142274 0013F1D4 80 B8 00 64 */ lwz r5, 0x64(r24) -/* 80142278 0013F1D8 7F 03 C3 78 */ mr r3, r24 -/* 8014227C 0013F1DC 38 81 01 C4 */ addi r4, r1, 0x1c4 -/* 80142280 0013F1E0 C0 45 00 00 */ lfs f2, 0(r5) -/* 80142284 0013F1E4 C0 25 00 04 */ lfs f1, 4(r5) -/* 80142288 0013F1E8 C0 05 00 08 */ lfs f0, 8(r5) -/* 8014228C 0013F1EC D0 41 01 18 */ stfs f2, 0x118(r1) -/* 80142290 0013F1F0 D0 21 01 1C */ stfs f1, 0x11c(r1) -/* 80142294 0013F1F4 D0 01 01 20 */ stfs f0, 0x120(r1) -/* 80142298 0013F1F8 4B F3 A7 69 */ bl func_8007CA00 -/* 8014229C 0013F1FC C0 01 01 20 */ lfs f0, 0x120(r1) -/* 801422A0 0013F200 38 61 00 74 */ addi r3, r1, 0x74 -/* 801422A4 0013F204 EC 00 00 72 */ fmuls f0, f0, f1 -/* 801422A8 0013F208 D0 18 06 68 */ stfs f0, 0x668(r24) -/* 801422AC 0013F20C 48 1A 0D D1 */ bl NoParameter__12CPASAnimParmFv -/* 801422B0 0013F210 38 61 00 7C */ addi r3, r1, 0x7c -/* 801422B4 0013F214 48 1A 0D C9 */ bl NoParameter__12CPASAnimParmFv -/* 801422B8 0013F218 38 61 00 84 */ addi r3, r1, 0x84 -/* 801422BC 0013F21C 48 1A 0D C1 */ bl NoParameter__12CPASAnimParmFv -/* 801422C0 0013F220 38 61 00 8C */ addi r3, r1, 0x8c -/* 801422C4 0013F224 48 1A 0D B9 */ bl NoParameter__12CPASAnimParmFv -/* 801422C8 0013F228 38 61 00 94 */ addi r3, r1, 0x94 -/* 801422CC 0013F22C 48 1A 0D B1 */ bl NoParameter__12CPASAnimParmFv -/* 801422D0 0013F230 38 61 00 9C */ addi r3, r1, 0x9c -/* 801422D4 0013F234 48 1A 0D A9 */ bl NoParameter__12CPASAnimParmFv -/* 801422D8 0013F238 C0 22 9B B4 */ lfs f1, lbl_805AB8D4@sda21(r2) -/* 801422DC 0013F23C 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 801422E0 0013F240 48 1A 0D 09 */ bl FromReal32__12CPASAnimParmFf -/* 801422E4 0013F244 38 61 00 AC */ addi r3, r1, 0xac -/* 801422E8 0013F248 38 80 00 01 */ li r4, 1 -/* 801422EC 0013F24C 48 1A 0C 99 */ bl FromEnum__12CPASAnimParmFi -/* 801422F0 0013F250 38 61 00 7C */ addi r3, r1, 0x7c -/* 801422F4 0013F254 38 01 00 74 */ addi r0, r1, 0x74 -/* 801422F8 0013F258 90 61 00 08 */ stw r3, 8(r1) -/* 801422FC 0013F25C 38 61 01 7C */ addi r3, r1, 0x17c -/* 80142300 0013F260 38 A1 00 AC */ addi r5, r1, 0xac -/* 80142304 0013F264 38 C1 00 A4 */ addi r6, r1, 0xa4 -/* 80142308 0013F268 90 01 00 0C */ stw r0, 0xc(r1) -/* 8014230C 0013F26C 38 E1 00 9C */ addi r7, r1, 0x9c -/* 80142310 0013F270 39 01 00 94 */ addi r8, r1, 0x94 -/* 80142314 0013F274 39 21 00 8C */ addi r9, r1, 0x8c -/* 80142318 0013F278 39 41 00 84 */ addi r10, r1, 0x84 -/* 8014231C 0013F27C 38 80 00 0F */ li r4, 0xf -/* 80142320 0013F280 4B F3 AF A5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80142324 0013F284 80 B8 00 64 */ lwz r5, 0x64(r24) -/* 80142328 0013F288 7F 03 C3 78 */ mr r3, r24 -/* 8014232C 0013F28C 38 81 01 7C */ addi r4, r1, 0x17c -/* 80142330 0013F290 C0 45 00 00 */ lfs f2, 0(r5) -/* 80142334 0013F294 C0 25 00 04 */ lfs f1, 4(r5) -/* 80142338 0013F298 C0 05 00 08 */ lfs f0, 8(r5) -/* 8014233C 0013F29C D0 41 01 0C */ stfs f2, 0x10c(r1) -/* 80142340 0013F2A0 D0 21 01 10 */ stfs f1, 0x110(r1) -/* 80142344 0013F2A4 D0 01 01 14 */ stfs f0, 0x114(r1) -/* 80142348 0013F2A8 4B F3 A6 B9 */ bl func_8007CA00 -/* 8014234C 0013F2AC C0 01 01 10 */ lfs f0, 0x110(r1) -/* 80142350 0013F2B0 38 61 00 34 */ addi r3, r1, 0x34 -/* 80142354 0013F2B4 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80142358 0013F2B8 D0 18 06 6C */ stfs f0, 0x66c(r24) -/* 8014235C 0013F2BC 48 1A 0D 21 */ bl NoParameter__12CPASAnimParmFv -/* 80142360 0013F2C0 38 61 00 3C */ addi r3, r1, 0x3c -/* 80142364 0013F2C4 48 1A 0D 19 */ bl NoParameter__12CPASAnimParmFv -/* 80142368 0013F2C8 38 61 00 44 */ addi r3, r1, 0x44 -/* 8014236C 0013F2CC 48 1A 0D 11 */ bl NoParameter__12CPASAnimParmFv -/* 80142370 0013F2D0 38 61 00 4C */ addi r3, r1, 0x4c -/* 80142374 0013F2D4 48 1A 0D 09 */ bl NoParameter__12CPASAnimParmFv -/* 80142378 0013F2D8 38 61 00 54 */ addi r3, r1, 0x54 -/* 8014237C 0013F2DC 48 1A 0D 01 */ bl NoParameter__12CPASAnimParmFv -/* 80142380 0013F2E0 38 61 00 5C */ addi r3, r1, 0x5c -/* 80142384 0013F2E4 48 1A 0C F9 */ bl NoParameter__12CPASAnimParmFv -/* 80142388 0013F2E8 38 61 00 64 */ addi r3, r1, 0x64 -/* 8014238C 0013F2EC 38 80 00 01 */ li r4, 1 -/* 80142390 0013F2F0 48 1A 0B F5 */ bl FromEnum__12CPASAnimParmFi -/* 80142394 0013F2F4 38 61 00 6C */ addi r3, r1, 0x6c -/* 80142398 0013F2F8 38 80 00 02 */ li r4, 2 -/* 8014239C 0013F2FC 48 1A 0B E9 */ bl FromEnum__12CPASAnimParmFi -/* 801423A0 0013F300 38 61 00 3C */ addi r3, r1, 0x3c -/* 801423A4 0013F304 38 01 00 34 */ addi r0, r1, 0x34 -/* 801423A8 0013F308 90 61 00 08 */ stw r3, 8(r1) -/* 801423AC 0013F30C 38 61 01 34 */ addi r3, r1, 0x134 -/* 801423B0 0013F310 38 A1 00 6C */ addi r5, r1, 0x6c -/* 801423B4 0013F314 38 C1 00 64 */ addi r6, r1, 0x64 -/* 801423B8 0013F318 90 01 00 0C */ stw r0, 0xc(r1) -/* 801423BC 0013F31C 38 E1 00 5C */ addi r7, r1, 0x5c -/* 801423C0 0013F320 39 01 00 54 */ addi r8, r1, 0x54 -/* 801423C4 0013F324 39 21 00 4C */ addi r9, r1, 0x4c -/* 801423C8 0013F328 39 41 00 44 */ addi r10, r1, 0x44 -/* 801423CC 0013F32C 38 80 00 07 */ li r4, 7 -/* 801423D0 0013F330 4B F3 AE F5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 801423D4 0013F334 80 B8 00 64 */ lwz r5, 0x64(r24) -/* 801423D8 0013F338 7F 03 C3 78 */ mr r3, r24 -/* 801423DC 0013F33C 38 81 01 34 */ addi r4, r1, 0x134 -/* 801423E0 0013F340 C0 45 00 00 */ lfs f2, 0(r5) -/* 801423E4 0013F344 C0 25 00 04 */ lfs f1, 4(r5) -/* 801423E8 0013F348 C0 05 00 08 */ lfs f0, 8(r5) -/* 801423EC 0013F34C D0 41 01 00 */ stfs f2, 0x100(r1) -/* 801423F0 0013F350 D0 21 01 04 */ stfs f1, 0x104(r1) -/* 801423F4 0013F354 D0 01 01 08 */ stfs f0, 0x108(r1) -/* 801423F8 0013F358 4B F3 A6 09 */ bl func_8007CA00 -/* 801423FC 0013F35C C0 01 01 08 */ lfs f0, 0x108(r1) -/* 80142400 0013F360 3C 15 00 01 */ addis r0, r21, 1 -/* 80142404 0013F364 28 00 FF FF */ cmplwi r0, 0xffff -/* 80142408 0013F368 EC 00 00 72 */ fmuls f0, f0, f1 -/* 8014240C 0013F36C D0 18 06 70 */ stfs f0, 0x670(r24) -/* 80142410 0013F370 41 82 00 BC */ beq lbl_801424CC -/* 80142414 0013F374 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 80142418 0013F378 92 A1 00 30 */ stw r21, 0x30(r1) -/* 8014241C 0013F37C 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 80142420 0013F380 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 80142424 0013F384 90 01 00 2C */ stw r0, 0x2c(r1) -/* 80142428 0013F388 38 61 00 24 */ addi r3, r1, 0x24 -/* 8014242C 0013F38C 38 A1 00 2C */ addi r5, r1, 0x2c -/* 80142430 0013F390 81 84 00 00 */ lwz r12, 0(r4) -/* 80142434 0013F394 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80142438 0013F398 7D 89 03 A6 */ mtctr r12 -/* 8014243C 0013F39C 4E 80 04 21 */ bctrl -/* 80142440 0013F3A0 39 E1 00 F4 */ addi r15, r1, 0xf4 -/* 80142444 0013F3A4 38 81 00 24 */ addi r4, r1, 0x24 -/* 80142448 0013F3A8 7D E3 7B 78 */ mr r3, r15 -/* 8014244C 0013F3AC 48 1F EA 5D */ bl __ct__6CTokenFRC6CToken -/* 80142450 0013F3B0 7D E3 7B 78 */ mr r3, r15 -/* 80142454 0013F3B4 48 1F E9 B9 */ bl GetObj__6CTokenFv -/* 80142458 0013F3B8 80 03 00 04 */ lwz r0, 4(r3) -/* 8014245C 0013F3BC 90 01 00 FC */ stw r0, 0xfc(r1) -/* 80142460 0013F3C0 88 18 06 4C */ lbz r0, 0x64c(r24) -/* 80142464 0013F3C4 28 00 00 00 */ cmplwi r0, 0 -/* 80142468 0013F3C8 40 82 00 34 */ bne lbl_8014249C -/* 8014246C 0013F3CC 35 F8 06 40 */ addic. r15, r24, 0x640 -/* 80142470 0013F3D0 41 82 00 20 */ beq lbl_80142490 -/* 80142474 0013F3D4 7D E3 7B 78 */ mr r3, r15 -/* 80142478 0013F3D8 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 8014247C 0013F3DC 48 1F EA 2D */ bl __ct__6CTokenFRC6CToken -/* 80142480 0013F3E0 80 01 00 FC */ lwz r0, 0xfc(r1) -/* 80142484 0013F3E4 7D E3 7B 78 */ mr r3, r15 -/* 80142488 0013F3E8 90 0F 00 08 */ stw r0, 8(r15) -/* 8014248C 0013F3EC 48 1F E8 F9 */ bl Lock__6CTokenFv -lbl_80142490: -/* 80142490 0013F3F0 38 00 00 01 */ li r0, 1 -/* 80142494 0013F3F4 98 18 06 4C */ stb r0, 0x64c(r24) -/* 80142498 0013F3F8 48 00 00 1C */ b lbl_801424B4 -lbl_8014249C: -/* 8014249C 0013F3FC 39 F8 06 40 */ addi r15, r24, 0x640 -/* 801424A0 0013F400 38 81 00 F4 */ addi r4, r1, 0xf4 -/* 801424A4 0013F404 7D E3 7B 78 */ mr r3, r15 -/* 801424A8 0013F408 48 1F E8 1D */ bl __as__6CTokenFRC6CToken -/* 801424AC 0013F40C 80 01 00 FC */ lwz r0, 0xfc(r1) -/* 801424B0 0013F410 90 0F 00 08 */ stw r0, 8(r15) -lbl_801424B4: -/* 801424B4 0013F414 38 61 00 F4 */ addi r3, r1, 0xf4 -/* 801424B8 0013F418 38 80 00 00 */ li r4, 0 -/* 801424BC 0013F41C 48 1F E9 85 */ bl __dt__6CTokenFv -/* 801424C0 0013F420 38 61 00 24 */ addi r3, r1, 0x24 -/* 801424C4 0013F424 38 80 FF FF */ li r4, -1 -/* 801424C8 0013F428 48 1F E9 79 */ bl __dt__6CTokenFv -lbl_801424CC: -/* 801424CC 0013F42C 88 18 04 E1 */ lbz r0, 0x4e1(r24) -/* 801424D0 0013F430 38 A0 00 00 */ li r5, 0 -/* 801424D4 0013F434 50 A0 26 F6 */ rlwimi r0, r5, 4, 0x1b, 0x1b -/* 801424D8 0013F438 7F 03 C3 78 */ mr r3, r24 -/* 801424DC 0013F43C 98 18 04 E1 */ stb r0, 0x4e1(r24) -/* 801424E0 0013F440 38 80 00 00 */ li r4, 0 -/* 801424E4 0013F444 88 18 04 E1 */ lbz r0, 0x4e1(r24) -/* 801424E8 0013F448 50 A0 0F BC */ rlwimi r0, r5, 1, 0x1e, 0x1e -/* 801424EC 0013F44C 98 18 04 E1 */ stb r0, 0x4e1(r24) -/* 801424F0 0013F450 88 18 04 E1 */ lbz r0, 0x4e1(r24) -/* 801424F4 0013F454 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a -/* 801424F8 0013F458 98 18 04 E1 */ stb r0, 0x4e1(r24) -/* 801424FC 0013F45C 88 18 04 E1 */ lbz r0, 0x4e1(r24) -/* 80142500 0013F460 50 A0 36 72 */ rlwimi r0, r5, 6, 0x19, 0x19 -/* 80142504 0013F464 98 18 04 E1 */ stb r0, 0x4e1(r24) -/* 80142508 0013F468 4B F1 08 65 */ bl CreateShadow__6CActorFb -/* 8014250C 0013F46C 7F 03 C3 78 */ mr r3, r24 -/* 80142510 0013F470 4B F3 53 85 */ bl MakeThermalColdAndHot__10CPatternedFv -/* 80142514 0013F474 34 A1 01 38 */ addic. r5, r1, 0x138 -/* 80142518 0013F478 41 82 00 58 */ beq lbl_80142570 -/* 8014251C 0013F47C 80 C5 00 00 */ lwz r6, 0(r5) -/* 80142520 0013F480 38 60 00 00 */ li r3, 0 -/* 80142524 0013F484 2C 06 00 00 */ cmpwi r6, 0 -/* 80142528 0013F488 40 81 00 40 */ ble lbl_80142568 -/* 8014252C 0013F48C 2C 06 00 08 */ cmpwi r6, 8 -/* 80142530 0013F490 38 86 FF F8 */ addi r4, r6, -8 -/* 80142534 0013F494 40 81 00 20 */ ble lbl_80142554 -/* 80142538 0013F498 38 04 00 07 */ addi r0, r4, 7 -/* 8014253C 0013F49C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80142540 0013F4A0 7C 09 03 A6 */ mtctr r0 -/* 80142544 0013F4A4 2C 04 00 00 */ cmpwi r4, 0 -/* 80142548 0013F4A8 40 81 00 0C */ ble lbl_80142554 -lbl_8014254C: -/* 8014254C 0013F4AC 38 63 00 08 */ addi r3, r3, 8 -/* 80142550 0013F4B0 42 00 FF FC */ bdnz lbl_8014254C -lbl_80142554: -/* 80142554 0013F4B4 7C 03 30 50 */ subf r0, r3, r6 -/* 80142558 0013F4B8 7C 09 03 A6 */ mtctr r0 -/* 8014255C 0013F4BC 7C 03 30 00 */ cmpw r3, r6 -/* 80142560 0013F4C0 40 80 00 08 */ bge lbl_80142568 -lbl_80142564: -/* 80142564 0013F4C4 42 00 00 00 */ bdnz lbl_80142564 -lbl_80142568: -/* 80142568 0013F4C8 38 00 00 00 */ li r0, 0 -/* 8014256C 0013F4CC 90 05 00 00 */ stw r0, 0(r5) -lbl_80142570: -/* 80142570 0013F4D0 34 A1 01 80 */ addic. r5, r1, 0x180 -/* 80142574 0013F4D4 41 82 00 58 */ beq lbl_801425CC -/* 80142578 0013F4D8 80 C5 00 00 */ lwz r6, 0(r5) -/* 8014257C 0013F4DC 38 60 00 00 */ li r3, 0 -/* 80142580 0013F4E0 2C 06 00 00 */ cmpwi r6, 0 -/* 80142584 0013F4E4 40 81 00 40 */ ble lbl_801425C4 -/* 80142588 0013F4E8 2C 06 00 08 */ cmpwi r6, 8 -/* 8014258C 0013F4EC 38 86 FF F8 */ addi r4, r6, -8 -/* 80142590 0013F4F0 40 81 00 20 */ ble lbl_801425B0 -/* 80142594 0013F4F4 38 04 00 07 */ addi r0, r4, 7 -/* 80142598 0013F4F8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8014259C 0013F4FC 7C 09 03 A6 */ mtctr r0 -/* 801425A0 0013F500 2C 04 00 00 */ cmpwi r4, 0 -/* 801425A4 0013F504 40 81 00 0C */ ble lbl_801425B0 -lbl_801425A8: -/* 801425A8 0013F508 38 63 00 08 */ addi r3, r3, 8 -/* 801425AC 0013F50C 42 00 FF FC */ bdnz lbl_801425A8 -lbl_801425B0: -/* 801425B0 0013F510 7C 03 30 50 */ subf r0, r3, r6 -/* 801425B4 0013F514 7C 09 03 A6 */ mtctr r0 -/* 801425B8 0013F518 7C 03 30 00 */ cmpw r3, r6 -/* 801425BC 0013F51C 40 80 00 08 */ bge lbl_801425C4 -lbl_801425C0: -/* 801425C0 0013F520 42 00 00 00 */ bdnz lbl_801425C0 -lbl_801425C4: -/* 801425C4 0013F524 38 00 00 00 */ li r0, 0 -/* 801425C8 0013F528 90 05 00 00 */ stw r0, 0(r5) -lbl_801425CC: -/* 801425CC 0013F52C 34 A1 01 C8 */ addic. r5, r1, 0x1c8 -/* 801425D0 0013F530 41 82 00 58 */ beq lbl_80142628 -/* 801425D4 0013F534 80 C5 00 00 */ lwz r6, 0(r5) -/* 801425D8 0013F538 38 60 00 00 */ li r3, 0 -/* 801425DC 0013F53C 2C 06 00 00 */ cmpwi r6, 0 -/* 801425E0 0013F540 40 81 00 40 */ ble lbl_80142620 -/* 801425E4 0013F544 2C 06 00 08 */ cmpwi r6, 8 -/* 801425E8 0013F548 38 86 FF F8 */ addi r4, r6, -8 -/* 801425EC 0013F54C 40 81 00 20 */ ble lbl_8014260C -/* 801425F0 0013F550 38 04 00 07 */ addi r0, r4, 7 -/* 801425F4 0013F554 54 00 E8 FE */ srwi r0, r0, 3 -/* 801425F8 0013F558 7C 09 03 A6 */ mtctr r0 -/* 801425FC 0013F55C 2C 04 00 00 */ cmpwi r4, 0 -/* 80142600 0013F560 40 81 00 0C */ ble lbl_8014260C -lbl_80142604: -/* 80142604 0013F564 38 63 00 08 */ addi r3, r3, 8 -/* 80142608 0013F568 42 00 FF FC */ bdnz lbl_80142604 -lbl_8014260C: -/* 8014260C 0013F56C 7C 03 30 50 */ subf r0, r3, r6 -/* 80142610 0013F570 7C 09 03 A6 */ mtctr r0 -/* 80142614 0013F574 7C 03 30 00 */ cmpw r3, r6 -/* 80142618 0013F578 40 80 00 08 */ bge lbl_80142620 -lbl_8014261C: -/* 8014261C 0013F57C 42 00 00 00 */ bdnz lbl_8014261C -lbl_80142620: -/* 80142620 0013F580 38 00 00 00 */ li r0, 0 -/* 80142624 0013F584 90 05 00 00 */ stw r0, 0(r5) -lbl_80142628: -/* 80142628 0013F588 7F 03 C3 78 */ mr r3, r24 -/* 8014262C 0013F58C E3 E1 02 E8 */ psq_l f31, 744(r1), 0, qr0 -/* 80142630 0013F590 CB E1 02 E0 */ lfd f31, 0x2e0(r1) -/* 80142634 0013F594 E3 C1 02 D8 */ psq_l f30, 728(r1), 0, qr0 -/* 80142638 0013F598 CB C1 02 D0 */ lfd f30, 0x2d0(r1) -/* 8014263C 0013F59C E3 A1 02 C8 */ psq_l f29, 712(r1), 0, qr0 -/* 80142640 0013F5A0 CB A1 02 C0 */ lfd f29, 0x2c0(r1) -/* 80142644 0013F5A4 E3 81 02 B8 */ psq_l f28, 696(r1), 0, qr0 -/* 80142648 0013F5A8 CB 81 02 B0 */ lfd f28, 0x2b0(r1) -/* 8014264C 0013F5AC E3 61 02 A8 */ psq_l f27, 680(r1), 0, qr0 -/* 80142650 0013F5B0 CB 61 02 A0 */ lfd f27, 0x2a0(r1) -/* 80142654 0013F5B4 E3 41 02 98 */ psq_l f26, 664(r1), 0, qr0 -/* 80142658 0013F5B8 CB 41 02 90 */ lfd f26, 0x290(r1) -/* 8014265C 0013F5BC E3 21 02 88 */ psq_l f25, 648(r1), 0, qr0 -/* 80142660 0013F5C0 CB 21 02 80 */ lfd f25, 0x280(r1) -/* 80142664 0013F5C4 E3 01 02 78 */ psq_l f24, 632(r1), 0, qr0 -/* 80142668 0013F5C8 CB 01 02 70 */ lfd f24, 0x270(r1) -/* 8014266C 0013F5CC E2 E1 02 68 */ psq_l f23, 616(r1), 0, qr0 -/* 80142670 0013F5D0 CA E1 02 60 */ lfd f23, 0x260(r1) -/* 80142674 0013F5D4 B9 E1 02 1C */ lmw r15, 0x21c(r1) -/* 80142678 0013F5D8 80 01 02 F4 */ lwz r0, 0x2f4(r1) -/* 8014267C 0013F5DC 7C 08 03 A6 */ mtlr r0 -/* 80142680 0013F5E0 38 21 02 F0 */ addi r1, r1, 0x2f0 -/* 80142684 0013F5E4 4E 80 00 20 */ blr - -.global GetBehave__Q211CChozoGhost13CBehaveChanceCFQ211CChozoGhost11EBehaveTypeR13CStateManager -GetBehave__Q211CChozoGhost13CBehaveChanceCFQ211CChozoGhost11EBehaveTypeR13CStateManager: -/* 80142688 0013F5E8 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8014268C 0013F5EC 7C 08 02 A6 */ mflr r0 -/* 80142690 0013F5F0 90 01 00 44 */ stw r0, 0x44(r1) -/* 80142694 0013F5F4 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80142698 0013F5F8 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 8014269C 0013F5FC DB C1 00 20 */ stfd f30, 0x20(r1) -/* 801426A0 0013F600 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 -/* 801426A4 0013F604 DB A1 00 10 */ stfd f29, 0x10(r1) -/* 801426A8 0013F608 F3 A1 00 18 */ psq_st f29, 24(r1), 0, qr0 -/* 801426AC 0013F60C 2C 04 00 02 */ cmpwi r4, 2 -/* 801426B0 0013F610 C3 E3 00 04 */ lfs f31, 4(r3) -/* 801426B4 0013F614 C3 C3 00 08 */ lfs f30, 8(r3) -/* 801426B8 0013F618 C3 A3 00 0C */ lfs f29, 0xc(r3) -/* 801426BC 0013F61C 41 82 00 54 */ beq lbl_80142710 -/* 801426C0 0013F620 40 80 00 14 */ bge lbl_801426D4 -/* 801426C4 0013F624 2C 04 00 00 */ cmpwi r4, 0 -/* 801426C8 0013F628 41 82 00 18 */ beq lbl_801426E0 -/* 801426CC 0013F62C 40 80 00 2C */ bge lbl_801426F8 -/* 801426D0 0013F630 48 00 00 70 */ b lbl_80142740 -lbl_801426D4: -/* 801426D4 0013F634 2C 04 00 04 */ cmpwi r4, 4 -/* 801426D8 0013F638 40 80 00 68 */ bge lbl_80142740 -/* 801426DC 0013F63C 48 00 00 4C */ b lbl_80142728 -lbl_801426E0: -/* 801426E0 0013F640 C0 02 9B B8 */ lfs f0, lbl_805AB8D8@sda21(r2) -/* 801426E4 0013F644 EC 1F 00 24 */ fdivs f0, f31, f0 -/* 801426E8 0013F648 C3 E2 9B 5C */ lfs f31, lbl_805AB87C@sda21(r2) -/* 801426EC 0013F64C EF DE 00 2A */ fadds f30, f30, f0 -/* 801426F0 0013F650 EF BD 00 2A */ fadds f29, f29, f0 -/* 801426F4 0013F654 48 00 00 4C */ b lbl_80142740 -lbl_801426F8: -/* 801426F8 0013F658 C0 02 9B B8 */ lfs f0, lbl_805AB8D8@sda21(r2) -/* 801426FC 0013F65C EC 1E 00 24 */ fdivs f0, f30, f0 -/* 80142700 0013F660 C3 C2 9B 5C */ lfs f30, lbl_805AB87C@sda21(r2) -/* 80142704 0013F664 EF FF 00 2A */ fadds f31, f31, f0 -/* 80142708 0013F668 EF BD 00 2A */ fadds f29, f29, f0 -/* 8014270C 0013F66C 48 00 00 34 */ b lbl_80142740 -lbl_80142710: -/* 80142710 0013F670 C0 02 9B B8 */ lfs f0, lbl_805AB8D8@sda21(r2) -/* 80142714 0013F674 EC 1D 00 24 */ fdivs f0, f29, f0 -/* 80142718 0013F678 C3 A2 9B 5C */ lfs f29, lbl_805AB87C@sda21(r2) -/* 8014271C 0013F67C EF FF 00 2A */ fadds f31, f31, f0 -/* 80142720 0013F680 EF DE 00 2A */ fadds f30, f30, f0 -/* 80142724 0013F684 48 00 00 1C */ b lbl_80142740 -lbl_80142728: -/* 80142728 0013F688 C0 23 00 10 */ lfs f1, 0x10(r3) -/* 8014272C 0013F68C C0 02 9B B8 */ lfs f0, lbl_805AB8D8@sda21(r2) -/* 80142730 0013F690 EC 01 00 24 */ fdivs f0, f1, f0 -/* 80142734 0013F694 EF FF 00 2A */ fadds f31, f31, f0 -/* 80142738 0013F698 EF DE 00 2A */ fadds f30, f30, f0 -/* 8014273C 0013F69C EF BD 00 2A */ fadds f29, f29, f0 -lbl_80142740: -/* 80142740 0013F6A0 80 65 09 00 */ lwz r3, 0x900(r5) -/* 80142744 0013F6A4 48 1C FD 99 */ bl Float__9CRandom16Fv -/* 80142748 0013F6A8 FC 01 F8 40 */ fcmpo cr0, f1, f31 -/* 8014274C 0013F6AC 38 60 00 03 */ li r3, 3 -/* 80142750 0013F6B0 40 80 00 0C */ bge lbl_8014275C -/* 80142754 0013F6B4 38 60 00 00 */ li r3, 0 -/* 80142758 0013F6B8 48 00 00 28 */ b lbl_80142780 -lbl_8014275C: -/* 8014275C 0013F6BC EC 01 F8 28 */ fsubs f0, f1, f31 -/* 80142760 0013F6C0 FC 00 F0 40 */ fcmpo cr0, f0, f30 -/* 80142764 0013F6C4 40 80 00 0C */ bge lbl_80142770 -/* 80142768 0013F6C8 38 60 00 01 */ li r3, 1 -/* 8014276C 0013F6CC 48 00 00 14 */ b lbl_80142780 -lbl_80142770: -/* 80142770 0013F6D0 EC 00 F0 28 */ fsubs f0, f0, f30 -/* 80142774 0013F6D4 FC 00 E8 40 */ fcmpo cr0, f0, f29 -/* 80142778 0013F6D8 40 80 00 08 */ bge lbl_80142780 -/* 8014277C 0013F6DC 38 60 00 02 */ li r3, 2 -lbl_80142780: -/* 80142780 0013F6E0 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80142784 0013F6E4 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80142788 0013F6E8 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 -/* 8014278C 0013F6EC CB C1 00 20 */ lfd f30, 0x20(r1) -/* 80142790 0013F6F0 E3 A1 00 18 */ psq_l f29, 24(r1), 0, qr0 -/* 80142794 0013F6F4 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80142798 0013F6F8 CB A1 00 10 */ lfd f29, 0x10(r1) -/* 8014279C 0013F6FC 7C 08 03 A6 */ mtlr r0 -/* 801427A0 0013F700 38 21 00 40 */ addi r1, r1, 0x40 -/* 801427A4 0013F704 4E 80 00 20 */ blr - -.global __ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream -__ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream: -/* 801427A8 0013F708 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801427AC 0013F70C 7C 08 02 A6 */ mflr r0 -/* 801427B0 0013F710 90 01 00 14 */ stw r0, 0x14(r1) -/* 801427B4 0013F714 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801427B8 0013F718 7C 9F 23 78 */ mr r31, r4 -/* 801427BC 0013F71C 93 C1 00 08 */ stw r30, 8(r1) -/* 801427C0 0013F720 7C 7E 1B 78 */ mr r30, r3 -/* 801427C4 0013F724 7F E3 FB 78 */ mr r3, r31 -/* 801427C8 0013F728 48 1F C4 BD */ bl ReadLong__12CInputStreamFv -/* 801427CC 0013F72C 90 7E 00 00 */ stw r3, 0(r30) -/* 801427D0 0013F730 7F E3 FB 78 */ mr r3, r31 -/* 801427D4 0013F734 48 1F C4 55 */ bl ReadFloat__12CInputStreamFv -/* 801427D8 0013F738 D0 3E 00 04 */ stfs f1, 4(r30) -/* 801427DC 0013F73C 7F E3 FB 78 */ mr r3, r31 -/* 801427E0 0013F740 48 1F C4 49 */ bl ReadFloat__12CInputStreamFv -/* 801427E4 0013F744 D0 3E 00 08 */ stfs f1, 8(r30) -/* 801427E8 0013F748 7F E3 FB 78 */ mr r3, r31 -/* 801427EC 0013F74C 48 1F C4 3D */ bl ReadFloat__12CInputStreamFv -/* 801427F0 0013F750 D0 3E 00 0C */ stfs f1, 0xc(r30) -/* 801427F4 0013F754 7F E3 FB 78 */ mr r3, r31 -/* 801427F8 0013F758 48 1F C4 31 */ bl ReadFloat__12CInputStreamFv -/* 801427FC 0013F75C D0 3E 00 10 */ stfs f1, 0x10(r30) -/* 80142800 0013F760 7F E3 FB 78 */ mr r3, r31 -/* 80142804 0013F764 48 1F C4 25 */ bl ReadFloat__12CInputStreamFv -/* 80142808 0013F768 D0 3E 00 14 */ stfs f1, 0x14(r30) -/* 8014280C 0013F76C 80 1E 00 00 */ lwz r0, 0(r30) -/* 80142810 0013F770 2C 00 00 05 */ cmpwi r0, 5 -/* 80142814 0013F774 40 81 00 18 */ ble lbl_8014282C -/* 80142818 0013F778 7F E3 FB 78 */ mr r3, r31 -/* 8014281C 0013F77C 48 1F C4 0D */ bl ReadFloat__12CInputStreamFv -/* 80142820 0013F780 C0 02 9B BC */ lfs f0, lbl_805AB8DC@sda21(r2) -/* 80142824 0013F784 EC 00 00 72 */ fmuls f0, f0, f1 -/* 80142828 0013F788 48 00 00 08 */ b lbl_80142830 -lbl_8014282C: -/* 8014282C 0013F78C C0 02 9B 80 */ lfs f0, lbl_805AB8A0@sda21(r2) -lbl_80142830: -/* 80142830 0013F790 D0 1E 00 18 */ stfs f0, 0x18(r30) -/* 80142834 0013F794 80 1E 00 00 */ lwz r0, 0(r30) -/* 80142838 0013F798 2C 00 00 06 */ cmpwi r0, 6 -/* 8014283C 0013F79C 40 81 00 10 */ ble lbl_8014284C -/* 80142840 0013F7A0 7F E3 FB 78 */ mr r3, r31 -/* 80142844 0013F7A4 48 1F C4 41 */ bl ReadLong__12CInputStreamFv -/* 80142848 0013F7A8 48 00 00 08 */ b lbl_80142850 -lbl_8014284C: -/* 8014284C 0013F7AC 38 60 00 02 */ li r3, 2 -lbl_80142850: -/* 80142850 0013F7B0 90 7E 00 1C */ stw r3, 0x1c(r30) -/* 80142854 0013F7B4 7F C3 F3 78 */ mr r3, r30 -/* 80142858 0013F7B8 C0 82 9B 60 */ lfs f4, lbl_805AB880@sda21(r2) -/* 8014285C 0013F7BC C0 3E 00 04 */ lfs f1, 4(r30) -/* 80142860 0013F7C0 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80142864 0013F7C4 C0 5E 00 0C */ lfs f2, 0xc(r30) -/* 80142868 0013F7C8 EC 01 00 2A */ fadds f0, f1, f0 -/* 8014286C 0013F7CC C0 7E 00 10 */ lfs f3, 0x10(r30) -/* 80142870 0013F7D0 EC 02 00 2A */ fadds f0, f2, f0 -/* 80142874 0013F7D4 EC 03 00 2A */ fadds f0, f3, f0 -/* 80142878 0013F7D8 EC 44 00 24 */ fdivs f2, f4, f0 -/* 8014287C 0013F7DC EC 01 00 B2 */ fmuls f0, f1, f2 -/* 80142880 0013F7E0 D0 1E 00 04 */ stfs f0, 4(r30) -/* 80142884 0013F7E4 C0 1E 00 08 */ lfs f0, 8(r30) -/* 80142888 0013F7E8 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 8014288C 0013F7EC D0 1E 00 08 */ stfs f0, 8(r30) -/* 80142890 0013F7F0 C0 1E 00 0C */ lfs f0, 0xc(r30) -/* 80142894 0013F7F4 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 80142898 0013F7F8 D0 1E 00 0C */ stfs f0, 0xc(r30) -/* 8014289C 0013F7FC C0 1E 00 10 */ lfs f0, 0x10(r30) -/* 801428A0 0013F800 EC 00 00 B2 */ fmuls f0, f0, f2 -/* 801428A4 0013F804 D0 1E 00 10 */ stfs f0, 0x10(r30) -/* 801428A8 0013F808 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801428AC 0013F80C 83 C1 00 08 */ lwz r30, 8(r1) -/* 801428B0 0013F810 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801428B4 0013F814 7C 08 03 A6 */ mtlr r0 -/* 801428B8 0013F818 38 21 00 10 */ addi r1, r1, 0x10 -/* 801428BC 0013F81C 4E 80 00 20 */ blr - -.global sub_801428c0 -sub_801428c0: -/* 801428C0 0013F820 80 A3 00 00 */ lwz r5, 0(r3) -/* 801428C4 0013F824 80 04 00 00 */ lwz r0, 0(r4) -/* 801428C8 0013F828 7C 05 00 00 */ cmpw r5, r0 -/* 801428CC 0013F82C 4D 81 00 20 */ bgtlr -/* 801428D0 0013F830 7C 83 23 78 */ mr r3, r4 -/* 801428D4 0013F834 4E 80 00 20 */ blr - -.global __sinit_CChozoGhost_cpp -__sinit_CChozoGhost_cpp: -/* 801428D8 0013F838 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801428DC 0013F83C 7C 08 02 A6 */ mflr r0 -/* 801428E0 0013F840 3C 80 80 3D */ lis r4, lbl_803D0078@ha -/* 801428E4 0013F844 38 84 00 78 */ addi r4, r4, lbl_803D0078@l -/* 801428E8 0013F848 90 01 00 24 */ stw r0, 0x24(r1) -/* 801428EC 0013F84C 38 61 00 08 */ addi r3, r1, 8 -/* 801428F0 0013F850 38 84 00 0E */ addi r4, r4, 0xe -/* 801428F4 0013F854 4B EC 23 C5 */ bl string_l__4rstlFPCc -/* 801428F8 0013F858 3C 60 80 57 */ lis r3, lbl_805719CC@ha -/* 801428FC 0013F85C 38 81 00 08 */ addi r4, r1, 8 -/* 80142900 0013F860 38 63 19 CC */ addi r3, r3, lbl_805719CC@l -/* 80142904 0013F864 48 1F B8 5D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80142908 0013F868 3C 80 80 00 */ lis r4, sub_80004a9c@ha -/* 8014290C 0013F86C 3C A0 80 47 */ lis r5, lbl_8046C748@ha -/* 80142910 0013F870 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l -/* 80142914 0013F874 38 A5 C7 48 */ addi r5, r5, lbl_8046C748@l -/* 80142918 0013F878 48 24 6D 75 */ bl __register_global_object -/* 8014291C 0013F87C 38 61 00 08 */ addi r3, r1, 8 -/* 80142920 0013F880 48 1F B1 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 80142924 0013F884 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80142928 0013F888 7C 08 03 A6 */ mtlr r0 -/* 8014292C 0013F88C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80142930 0013F890 4E 80 00 20 */ blr - -.global __dt__9CFireFleaFv -__dt__9CFireFleaFv: -/* 80142934 0013F894 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80142938 0013F898 7C 08 02 A6 */ mflr r0 -/* 8014293C 0013F89C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80142940 0013F8A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80142944 0013F8A4 7C 9F 23 78 */ mr r31, r4 -/* 80142948 0013F8A8 93 C1 00 08 */ stw r30, 8(r1) -/* 8014294C 0013F8AC 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80142950 0013F8B0 41 82 00 EC */ beq lbl_80142A3C -/* 80142954 0013F8B4 3C 60 80 3E */ lis r3, lbl_803E1C88@ha -/* 80142958 0013F8B8 34 1E 0D 8C */ addic. r0, r30, 0xd8c -/* 8014295C 0013F8BC 38 03 1C 88 */ addi r0, r3, lbl_803E1C88@l -/* 80142960 0013F8C0 90 1E 00 00 */ stw r0, 0(r30) -/* 80142964 0013F8C4 41 82 00 60 */ beq lbl_801429C4 -/* 80142968 0013F8C8 34 1E 0D 90 */ addic. r0, r30, 0xd90 -/* 8014296C 0013F8CC 41 82 00 58 */ beq lbl_801429C4 -/* 80142970 0013F8D0 80 BE 0D 90 */ lwz r5, 0xd90(r30) -/* 80142974 0013F8D4 38 60 00 00 */ li r3, 0 -/* 80142978 0013F8D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8014297C 0013F8DC 40 81 00 40 */ ble lbl_801429BC -/* 80142980 0013F8E0 2C 05 00 08 */ cmpwi r5, 8 -/* 80142984 0013F8E4 38 85 FF F8 */ addi r4, r5, -8 -/* 80142988 0013F8E8 40 81 00 20 */ ble lbl_801429A8 -/* 8014298C 0013F8EC 38 04 00 07 */ addi r0, r4, 7 -/* 80142990 0013F8F0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80142994 0013F8F4 7C 09 03 A6 */ mtctr r0 -/* 80142998 0013F8F8 2C 04 00 00 */ cmpwi r4, 0 -/* 8014299C 0013F8FC 40 81 00 0C */ ble lbl_801429A8 -lbl_801429A0: -/* 801429A0 0013F900 38 63 00 08 */ addi r3, r3, 8 -/* 801429A4 0013F904 42 00 FF FC */ bdnz lbl_801429A0 -lbl_801429A8: -/* 801429A8 0013F908 7C 03 28 50 */ subf r0, r3, r5 -/* 801429AC 0013F90C 7C 09 03 A6 */ mtctr r0 -/* 801429B0 0013F910 7C 03 28 00 */ cmpw r3, r5 -/* 801429B4 0013F914 40 80 00 08 */ bge lbl_801429BC -lbl_801429B8: -/* 801429B8 0013F918 42 00 00 00 */ bdnz lbl_801429B8 -lbl_801429BC: -/* 801429BC 0013F91C 38 00 00 00 */ li r0, 0 -/* 801429C0 0013F920 90 1E 0D 90 */ stw r0, 0xd90(r30) -lbl_801429C4: -/* 801429C4 0013F924 34 1E 05 70 */ addic. r0, r30, 0x570 -/* 801429C8 0013F928 41 82 00 58 */ beq lbl_80142A20 -/* 801429CC 0013F92C 80 BE 05 70 */ lwz r5, 0x570(r30) -/* 801429D0 0013F930 38 60 00 00 */ li r3, 0 -/* 801429D4 0013F934 2C 05 00 00 */ cmpwi r5, 0 -/* 801429D8 0013F938 40 81 00 40 */ ble lbl_80142A18 -/* 801429DC 0013F93C 2C 05 00 08 */ cmpwi r5, 8 -/* 801429E0 0013F940 38 85 FF F8 */ addi r4, r5, -8 -/* 801429E4 0013F944 40 81 00 20 */ ble lbl_80142A04 -/* 801429E8 0013F948 38 04 00 07 */ addi r0, r4, 7 -/* 801429EC 0013F94C 54 00 E8 FE */ srwi r0, r0, 3 -/* 801429F0 0013F950 7C 09 03 A6 */ mtctr r0 -/* 801429F4 0013F954 2C 04 00 00 */ cmpwi r4, 0 -/* 801429F8 0013F958 40 81 00 0C */ ble lbl_80142A04 -lbl_801429FC: -/* 801429FC 0013F95C 38 63 00 08 */ addi r3, r3, 8 -/* 80142A00 0013F960 42 00 FF FC */ bdnz lbl_801429FC -lbl_80142A04: -/* 80142A04 0013F964 7C 03 28 50 */ subf r0, r3, r5 -/* 80142A08 0013F968 7C 09 03 A6 */ mtctr r0 -/* 80142A0C 0013F96C 7C 03 28 00 */ cmpw r3, r5 -/* 80142A10 0013F970 40 80 00 08 */ bge lbl_80142A18 -lbl_80142A14: -/* 80142A14 0013F974 42 00 00 00 */ bdnz lbl_80142A14 -lbl_80142A18: -/* 80142A18 0013F978 38 00 00 00 */ li r0, 0 -/* 80142A1C 0013F97C 90 1E 05 70 */ stw r0, 0x570(r30) -lbl_80142A20: -/* 80142A20 0013F980 7F C3 F3 78 */ mr r3, r30 -/* 80142A24 0013F984 38 80 00 00 */ li r4, 0 -/* 80142A28 0013F988 4B F3 4B 49 */ bl __dt__10CPatternedFv -/* 80142A2C 0013F98C 7F E0 07 35 */ extsh. r0, r31 -/* 80142A30 0013F990 40 81 00 0C */ ble lbl_80142A3C -/* 80142A34 0013F994 7F C3 F3 78 */ mr r3, r30 -/* 80142A38 0013F998 48 1D 2E F9 */ bl Free__7CMemoryFPCv -lbl_80142A3C: -/* 80142A3C 0013F99C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80142A40 0013F9A0 7F C3 F3 78 */ mr r3, r30 -/* 80142A44 0013F9A4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80142A48 0013F9A8 83 C1 00 08 */ lwz r30, 8(r1) -/* 80142A4C 0013F9AC 7C 08 03 A6 */ mtlr r0 -/* 80142A50 0013F9B0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80142A54 0013F9B4 4E 80 00 20 */ blr - -.global Delay__9CFireFleaFR13CStateManagerf -Delay__9CFireFleaFR13CStateManagerf: -/* 80142A58 0013F9B8 C0 23 03 38 */ lfs f1, 0x338(r3) -/* 80142A5C 0013F9BC C0 02 9B C0 */ lfs f0, lbl_805AB8E0@sda21(r2) -/* 80142A60 0013F9C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80142A64 0013F9C4 7C 00 00 26 */ mfcr r0 -/* 80142A68 0013F9C8 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f -/* 80142A6C 0013F9CC 4E 80 00 20 */ blr - -.global GetSearchPath__9CFireFleaFv -GetSearchPath__9CFireFleaFv: -/* 80142A70 0013F9D0 38 63 0D 8C */ addi r3, r3, 0xd8c -/* 80142A74 0013F9D4 4E 80 00 20 */ blr - -.global InPosition__9CFireFleaFR13CStateManagerf -InPosition__9CFireFleaFR13CStateManagerf: -/* 80142A78 0013F9D8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80142A7C 0013F9DC A0 83 02 DC */ lhz r4, 0x2dc(r3) -/* 80142A80 0013F9E0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80142A84 0013F9E4 7C 04 00 40 */ cmplw r4, r0 -/* 80142A88 0013F9E8 41 82 00 5C */ beq lbl_80142AE4 -/* 80142A8C 0013F9EC C0 43 0D 84 */ lfs f2, 0xd84(r3) -/* 80142A90 0013F9F0 C0 03 00 50 */ lfs f0, 0x50(r3) -/* 80142A94 0013F9F4 C0 23 0D 80 */ lfs f1, 0xd80(r3) -/* 80142A98 0013F9F8 EC A2 00 28 */ fsubs f5, f2, f0 -/* 80142A9C 0013F9FC C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80142AA0 0013FA00 C0 43 0D 88 */ lfs f2, 0xd88(r3) -/* 80142AA4 0013FA04 EC 61 00 28 */ fsubs f3, f1, f0 -/* 80142AA8 0013FA08 C0 03 00 60 */ lfs f0, 0x60(r3) -/* 80142AAC 0013FA0C EC 25 01 72 */ fmuls f1, f5, f5 -/* 80142AB0 0013FA10 EC 82 00 28 */ fsubs f4, f2, f0 -/* 80142AB4 0013FA14 C0 02 9B C4 */ lfs f0, lbl_805AB8E4@sda21(r2) -/* 80142AB8 0013FA18 EC 43 00 F2 */ fmuls f2, f3, f3 -/* 80142ABC 0013FA1C D0 61 00 08 */ stfs f3, 8(r1) -/* 80142AC0 0013FA20 EC 64 01 32 */ fmuls f3, f4, f4 -/* 80142AC4 0013FA24 EC 22 08 2A */ fadds f1, f2, f1 -/* 80142AC8 0013FA28 D0 A1 00 0C */ stfs f5, 0xc(r1) -/* 80142ACC 0013FA2C D0 81 00 10 */ stfs f4, 0x10(r1) -/* 80142AD0 0013FA30 EC 23 08 2A */ fadds f1, f3, f1 -/* 80142AD4 0013FA34 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80142AD8 0013FA38 7C 00 00 26 */ mfcr r0 -/* 80142ADC 0013FA3C 54 03 0F FE */ srwi r3, r0, 0x1f -/* 80142AE0 0013FA40 48 00 00 08 */ b lbl_80142AE8 -lbl_80142AE4: -/* 80142AE4 0013FA44 38 60 00 00 */ li r3, 0 -lbl_80142AE8: -/* 80142AE8 0013FA48 38 21 00 20 */ addi r1, r1, 0x20 -/* 80142AEC 0013FA4C 4E 80 00 20 */ blr - -.global TargetPatrol__9CFireFleaFR13CStateManager9EStateMsgf -TargetPatrol__9CFireFleaFR13CStateManager9EStateMsgf: -/* 80142AF0 0013FA50 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 80142AF4 0013FA54 7C 08 02 A6 */ mflr r0 -/* 80142AF8 0013FA58 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80142AFC 0013FA5C DB E1 00 A0 */ stfd f31, 0xa0(r1) -/* 80142B00 0013FA60 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 -/* 80142B04 0013FA64 93 E1 00 9C */ stw r31, 0x9c(r1) -/* 80142B08 0013FA68 93 C1 00 98 */ stw r30, 0x98(r1) -/* 80142B0C 0013FA6C 93 A1 00 94 */ stw r29, 0x94(r1) -/* 80142B10 0013FA70 7C BF 2B 78 */ mr r31, r5 -/* 80142B14 0013FA74 FF E0 08 90 */ fmr f31, f1 -/* 80142B18 0013FA78 2C 1F 00 01 */ cmpwi r31, 1 -/* 80142B1C 0013FA7C 7C 7D 1B 78 */ mr r29, r3 -/* 80142B20 0013FA80 7C 9E 23 78 */ mr r30, r4 -/* 80142B24 0013FA84 41 82 00 44 */ beq lbl_80142B68 -/* 80142B28 0013FA88 40 80 01 F4 */ bge lbl_80142D1C -/* 80142B2C 0013FA8C 2C 1F 00 00 */ cmpwi r31, 0 -/* 80142B30 0013FA90 40 80 00 0C */ bge lbl_80142B3C -/* 80142B34 0013FA94 48 00 01 E8 */ b lbl_80142D1C -/* 80142B38 0013FA98 48 00 01 E4 */ b lbl_80142D1C -lbl_80142B3C: -/* 80142B3C 0013FA9C 48 0B 43 39 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 80142B40 0013FAA0 7F A3 EB 78 */ mr r3, r29 -/* 80142B44 0013FAA4 7F C4 F3 78 */ mr r4, r30 -/* 80142B48 0013FAA8 48 0B 27 49 */ bl UpdateDest__10CPatternedFR13CStateManager -/* 80142B4C 0013FAAC C0 1D 02 E0 */ lfs f0, 0x2e0(r29) -/* 80142B50 0013FAB0 D0 1D 0D 80 */ stfs f0, 0xd80(r29) -/* 80142B54 0013FAB4 C0 1D 02 E4 */ lfs f0, 0x2e4(r29) -/* 80142B58 0013FAB8 D0 1D 0D 84 */ stfs f0, 0xd84(r29) -/* 80142B5C 0013FABC C0 1D 02 E8 */ lfs f0, 0x2e8(r29) -/* 80142B60 0013FAC0 D0 1D 0D 88 */ stfs f0, 0xd88(r29) -/* 80142B64 0013FAC4 48 00 01 B8 */ b lbl_80142D1C -lbl_80142B68: -/* 80142B68 0013FAC8 81 83 00 00 */ lwz r12, 0(r3) -/* 80142B6C 0013FACC 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80142B70 0013FAD0 7D 89 03 A6 */ mtctr r12 -/* 80142B74 0013FAD4 4E 80 04 21 */ bctrl -/* 80142B78 0013FAD8 28 03 00 00 */ cmplwi r3, 0 -/* 80142B7C 0013FADC 41 82 01 3C */ beq lbl_80142CB8 -/* 80142B80 0013FAE0 7F A3 EB 78 */ mr r3, r29 -/* 80142B84 0013FAE4 81 9D 00 00 */ lwz r12, 0(r29) -/* 80142B88 0013FAE8 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80142B8C 0013FAEC 7D 89 03 A6 */ mtctr r12 -/* 80142B90 0013FAF0 4E 80 04 21 */ bctrl -/* 80142B94 0013FAF4 80 03 00 CC */ lwz r0, 0xcc(r3) -/* 80142B98 0013FAF8 2C 00 00 00 */ cmpwi r0, 0 -/* 80142B9C 0013FAFC 41 82 01 04 */ beq lbl_80142CA0 -/* 80142BA0 0013FB00 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80142BA4 0013FB04 7F A3 EB 78 */ mr r3, r29 -/* 80142BA8 0013FB08 3B E4 66 A0 */ addi r31, r4, skZero3f@l -/* 80142BAC 0013FB0C C0 5F 00 00 */ lfs f2, 0(r31) -/* 80142BB0 0013FB10 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80142BB4 0013FB14 C0 1F 00 08 */ lfs f0, 8(r31) -/* 80142BB8 0013FB18 D0 41 00 44 */ stfs f2, 0x44(r1) -/* 80142BBC 0013FB1C D0 21 00 48 */ stfs f1, 0x48(r1) -/* 80142BC0 0013FB20 D0 01 00 4C */ stfs f0, 0x4c(r1) -/* 80142BC4 0013FB24 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80142BC8 0013FB28 C0 3D 00 50 */ lfs f1, 0x50(r29) -/* 80142BCC 0013FB2C C0 1D 00 40 */ lfs f0, 0x40(r29) -/* 80142BD0 0013FB30 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 80142BD4 0013FB34 D0 21 00 30 */ stfs f1, 0x30(r1) -/* 80142BD8 0013FB38 D0 41 00 34 */ stfs f2, 0x34(r1) -/* 80142BDC 0013FB3C 81 9D 00 00 */ lwz r12, 0(r29) -/* 80142BE0 0013FB40 81 8C 02 AC */ lwz r12, 0x2ac(r12) -/* 80142BE4 0013FB44 7D 89 03 A6 */ mtctr r12 -/* 80142BE8 0013FB48 4E 80 04 21 */ bctrl -/* 80142BEC 0013FB4C 38 81 00 2C */ addi r4, r1, 0x2c -/* 80142BF0 0013FB50 38 A1 00 44 */ addi r5, r1, 0x44 -/* 80142BF4 0013FB54 48 08 45 09 */ bl FindClosestReachablePoint__15CPathFindSearchCFRC9CVector3fR9CVector3f -/* 80142BF8 0013FB58 2C 03 00 00 */ cmpwi r3, 0 -/* 80142BFC 0013FB5C 40 82 01 20 */ bne lbl_80142D1C -/* 80142C00 0013FB60 C0 22 9B C8 */ lfs f1, lbl_805AB8E8@sda21(r2) -/* 80142C04 0013FB64 7F A5 EB 78 */ mr r5, r29 -/* 80142C08 0013FB68 38 61 00 20 */ addi r3, r1, 0x20 -/* 80142C0C 0013FB6C 38 9D 04 5C */ addi r4, r29, 0x45c -/* 80142C10 0013FB70 38 DD 0D 80 */ addi r6, r29, 0xd80 -/* 80142C14 0013FB74 4B FF BF 09 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 80142C18 0013FB78 C0 41 00 20 */ lfs f2, 0x20(r1) -/* 80142C1C 0013FB7C 7F A4 EB 78 */ mr r4, r29 -/* 80142C20 0013FB80 C0 21 00 24 */ lfs f1, 0x24(r1) -/* 80142C24 0013FB84 7F C5 F3 78 */ mr r5, r30 -/* 80142C28 0013FB88 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 80142C2C 0013FB8C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80142C30 0013FB90 D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80142C34 0013FB94 38 C1 00 38 */ addi r6, r1, 0x38 -/* 80142C38 0013FB98 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80142C3C 0013FB9C D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80142C40 0013FBA0 48 00 03 F5 */ bl sub_80143034 -/* 80142C44 0013FBA4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80142C48 0013FBA8 C0 C1 00 14 */ lfs f6, 0x14(r1) -/* 80142C4C 0013FBAC C0 A1 00 18 */ lfs f5, 0x18(r1) -/* 80142C50 0013FBB0 38 81 00 6C */ addi r4, r1, 0x6c -/* 80142C54 0013FBB4 C0 81 00 1C */ lfs f4, 0x1c(r1) -/* 80142C58 0013FBB8 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) -/* 80142C5C 0013FBBC C0 5F 00 04 */ lfs f2, 4(r31) -/* 80142C60 0013FBC0 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80142C64 0013FBC4 C0 02 9B CC */ lfs f0, lbl_805AB8EC@sda21(r2) -/* 80142C68 0013FBC8 D0 C1 00 38 */ stfs f6, 0x38(r1) -/* 80142C6C 0013FBCC D0 A1 00 3C */ stfs f5, 0x3c(r1) -/* 80142C70 0013FBD0 D0 81 00 40 */ stfs f4, 0x40(r1) -/* 80142C74 0013FBD4 D0 C1 00 6C */ stfs f6, 0x6c(r1) -/* 80142C78 0013FBD8 D0 A1 00 70 */ stfs f5, 0x70(r1) -/* 80142C7C 0013FBDC D0 81 00 74 */ stfs f4, 0x74(r1) -/* 80142C80 0013FBE0 D0 61 00 78 */ stfs f3, 0x78(r1) -/* 80142C84 0013FBE4 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 80142C88 0013FBE8 D0 21 00 80 */ stfs f1, 0x80(r1) -/* 80142C8C 0013FBEC D0 01 00 84 */ stfs f0, 0x84(r1) -/* 80142C90 0013FBF0 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80142C94 0013FBF4 38 63 00 04 */ addi r3, r3, 4 -/* 80142C98 0013FBF8 4B FE EA 81 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 80142C9C 0013FBFC 48 00 00 80 */ b lbl_80142D1C -lbl_80142CA0: -/* 80142CA0 0013FC00 FC 20 F8 90 */ fmr f1, f31 -/* 80142CA4 0013FC04 7F A3 EB 78 */ mr r3, r29 -/* 80142CA8 0013FC08 7F C4 F3 78 */ mr r4, r30 -/* 80142CAC 0013FC0C 7F E5 FB 78 */ mr r5, r31 -/* 80142CB0 0013FC10 48 0B 3A 1D */ bl PathFind__10CPatternedFR13CStateManager9EStateMsgf -/* 80142CB4 0013FC14 48 00 00 68 */ b lbl_80142D1C -lbl_80142CB8: -/* 80142CB8 0013FC18 C0 22 9B C8 */ lfs f1, lbl_805AB8E8@sda21(r2) -/* 80142CBC 0013FC1C 7F A5 EB 78 */ mr r5, r29 -/* 80142CC0 0013FC20 38 61 00 08 */ addi r3, r1, 8 -/* 80142CC4 0013FC24 38 9D 04 5C */ addi r4, r29, 0x45c -/* 80142CC8 0013FC28 38 DD 0D 80 */ addi r6, r29, 0xd80 -/* 80142CCC 0013FC2C 4B FF BE 51 */ bl Arrival__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3ff -/* 80142CD0 0013FC30 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80142CD4 0013FC34 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 80142CD8 0013FC38 C0 C1 00 08 */ lfs f6, 8(r1) -/* 80142CDC 0013FC3C 38 81 00 50 */ addi r4, r1, 0x50 -/* 80142CE0 0013FC40 C0 A1 00 0C */ lfs f5, 0xc(r1) -/* 80142CE4 0013FC44 C0 81 00 10 */ lfs f4, 0x10(r1) -/* 80142CE8 0013FC48 C0 43 00 04 */ lfs f2, 4(r3) -/* 80142CEC 0013FC4C C0 23 00 08 */ lfs f1, 8(r3) -/* 80142CF0 0013FC50 C0 02 9B CC */ lfs f0, lbl_805AB8EC@sda21(r2) -/* 80142CF4 0013FC54 D0 C1 00 50 */ stfs f6, 0x50(r1) -/* 80142CF8 0013FC58 D0 A1 00 54 */ stfs f5, 0x54(r1) -/* 80142CFC 0013FC5C D0 81 00 58 */ stfs f4, 0x58(r1) -/* 80142D00 0013FC60 D0 61 00 5C */ stfs f3, 0x5c(r1) -/* 80142D04 0013FC64 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80142D08 0013FC68 D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80142D0C 0013FC6C D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80142D10 0013FC70 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80142D14 0013FC74 38 63 00 04 */ addi r3, r3, 4 -/* 80142D18 0013FC78 4B FE EA 01 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_80142D1C: -/* 80142D1C 0013FC7C E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 -/* 80142D20 0013FC80 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80142D24 0013FC84 CB E1 00 A0 */ lfd f31, 0xa0(r1) -/* 80142D28 0013FC88 83 E1 00 9C */ lwz r31, 0x9c(r1) -/* 80142D2C 0013FC8C 83 C1 00 98 */ lwz r30, 0x98(r1) -/* 80142D30 0013FC90 83 A1 00 94 */ lwz r29, 0x94(r1) -/* 80142D34 0013FC94 7C 08 03 A6 */ mtlr r0 -/* 80142D38 0013FC98 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 80142D3C 0013FC9C 4E 80 00 20 */ blr - -.global Dead__9CFireFleaFR13CStateManager9EStateMsgf -Dead__9CFireFleaFR13CStateManager9EStateMsgf: -/* 80142D40 0013FCA0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80142D44 0013FCA4 7C 08 02 A6 */ mflr r0 -/* 80142D48 0013FCA8 2C 05 00 00 */ cmpwi r5, 0 -/* 80142D4C 0013FCAC 90 01 00 44 */ stw r0, 0x44(r1) -/* 80142D50 0013FCB0 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80142D54 0013FCB4 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80142D58 0013FCB8 7C 9E 23 78 */ mr r30, r4 -/* 80142D5C 0013FCBC 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80142D60 0013FCC0 7C 7D 1B 78 */ mr r29, r3 -/* 80142D64 0013FCC4 41 82 00 0C */ beq lbl_80142D70 -/* 80142D68 0013FCC8 41 80 00 A0 */ blt lbl_80142E08 -/* 80142D6C 0013FCCC 48 00 00 9C */ b lbl_80142E08 -lbl_80142D70: -/* 80142D70 0013FCD0 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80142D74 0013FCD4 80 63 00 00 */ lwz r3, 0(r3) -/* 80142D78 0013FCD8 4B F4 E7 E1 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80142D7C 0013FCDC 2C 03 00 03 */ cmpwi r3, 3 -/* 80142D80 0013FCE0 40 82 00 88 */ bne lbl_80142E08 -/* 80142D84 0013FCE4 3C 80 80 3D */ lis r4, lbl_803D0098@ha -/* 80142D88 0013FCE8 38 61 00 1C */ addi r3, r1, 0x1c -/* 80142D8C 0013FCEC 38 84 00 98 */ addi r4, r4, lbl_803D0098@l -/* 80142D90 0013FCF0 38 C1 00 08 */ addi r6, r1, 8 -/* 80142D94 0013FCF4 38 A0 FF FF */ li r5, -1 -/* 80142D98 0013FCF8 48 1F B3 FD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 80142D9C 0013FCFC 3C 80 80 3D */ lis r4, lbl_803D0098@ha -/* 80142DA0 0013FD00 38 60 00 48 */ li r3, 0x48 -/* 80142DA4 0013FD04 38 84 00 98 */ addi r4, r4, lbl_803D0098@l -/* 80142DA8 0013FD08 38 A0 00 00 */ li r5, 0 -/* 80142DAC 0013FD0C 38 84 00 01 */ addi r4, r4, 1 -/* 80142DB0 0013FD10 48 1D 2A BD */ bl __nw__FUlPCcPCc -/* 80142DB4 0013FD14 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80142DB8 0013FD18 41 82 00 3C */ beq lbl_80142DF4 -/* 80142DBC 0013FD1C 80 1D 00 04 */ lwz r0, 4(r29) -/* 80142DC0 0013FD20 7F C4 F3 78 */ mr r4, r30 -/* 80142DC4 0013FD24 38 61 00 0C */ addi r3, r1, 0xc -/* 80142DC8 0013FD28 90 01 00 14 */ stw r0, 0x14(r1) -/* 80142DCC 0013FD2C 90 01 00 18 */ stw r0, 0x18(r1) -/* 80142DD0 0013FD30 4B F0 A3 0D */ bl AllocateUniqueId__13CStateManagerFv -/* 80142DD4 0013FD34 A0 01 00 0C */ lhz r0, 0xc(r1) -/* 80142DD8 0013FD38 7F E3 FB 78 */ mr r3, r31 -/* 80142DDC 0013FD3C 38 81 00 10 */ addi r4, r1, 0x10 -/* 80142DE0 0013FD40 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80142DE4 0013FD44 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80142DE8 0013FD48 38 C1 00 1C */ addi r6, r1, 0x1c -/* 80142DEC 0013FD4C 48 00 0F CD */ bl "__ct__Q29CFireFlea18CDeathCameraEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80142DF0 0013FD50 7C 7F 1B 78 */ mr r31, r3 -lbl_80142DF4: -/* 80142DF4 0013FD54 7F C3 F3 78 */ mr r3, r30 -/* 80142DF8 0013FD58 7F E4 FB 78 */ mr r4, r31 -/* 80142DFC 0013FD5C 4B F0 9E F9 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -/* 80142E00 0013FD60 38 61 00 1C */ addi r3, r1, 0x1c -/* 80142E04 0013FD64 48 1F AC DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -lbl_80142E08: -/* 80142E08 0013FD68 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80142E0C 0013FD6C 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80142E10 0013FD70 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80142E14 0013FD74 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80142E18 0013FD78 7C 08 03 A6 */ mtlr r0 -/* 80142E1C 0013FD7C 38 21 00 40 */ addi r1, r1, 0x40 -/* 80142E20 0013FD80 4E 80 00 20 */ blr - -.global Flee__9CFireFleaFR13CStateManager9EStateMsgf -Flee__9CFireFleaFR13CStateManager9EStateMsgf: -/* 80142E24 0013FD84 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 80142E28 0013FD88 7C 08 02 A6 */ mflr r0 -/* 80142E2C 0013FD8C 2C 05 00 01 */ cmpwi r5, 1 -/* 80142E30 0013FD90 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 80142E34 0013FD94 BF 61 00 8C */ stmw r27, 0x8c(r1) -/* 80142E38 0013FD98 7C 7B 1B 78 */ mr r27, r3 -/* 80142E3C 0013FD9C 7C 9C 23 78 */ mr r28, r4 -/* 80142E40 0013FDA0 41 82 00 30 */ beq lbl_80142E70 -/* 80142E44 0013FDA4 40 80 00 10 */ bge lbl_80142E54 -/* 80142E48 0013FDA8 2C 05 00 00 */ cmpwi r5, 0 -/* 80142E4C 0013FDAC 40 80 00 14 */ bge lbl_80142E60 -/* 80142E50 0013FDB0 48 00 01 D0 */ b lbl_80143020 -lbl_80142E54: -/* 80142E54 0013FDB4 2C 05 00 03 */ cmpwi r5, 3 -/* 80142E58 0013FDB8 40 80 01 C8 */ bge lbl_80143020 -/* 80142E5C 0013FDBC 48 00 01 B8 */ b lbl_80143014 -lbl_80142E60: -/* 80142E60 0013FDC0 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 80142E64 0013FDC4 38 80 00 02 */ li r4, 2 -/* 80142E68 0013FDC8 4B FF 7B 71 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80142E6C 0013FDCC 48 00 01 B4 */ b lbl_80143020 -lbl_80142E70: -/* 80142E70 0013FDD0 80 1B 05 70 */ lwz r0, 0x570(r27) -/* 80142E74 0013FDD4 2C 00 00 00 */ cmpwi r0, 0 -/* 80142E78 0013FDD8 40 82 00 80 */ bne lbl_80142EF8 -/* 80142E7C 0013FDDC 7F 64 DB 78 */ mr r4, r27 -/* 80142E80 0013FDE0 7F 85 E3 78 */ mr r5, r28 -/* 80142E84 0013FDE4 38 61 00 30 */ addi r3, r1, 0x30 -/* 80142E88 0013FDE8 38 DB 0D 74 */ addi r6, r27, 0xd74 -/* 80142E8C 0013FDEC 48 00 01 A9 */ bl sub_80143034 -/* 80142E90 0013FDF0 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 80142E94 0013FDF4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80142E98 0013FDF8 C0 02 9B CC */ lfs f0, lbl_805AB8EC@sda21(r2) -/* 80142E9C 0013FDFC 38 81 00 64 */ addi r4, r1, 0x64 -/* 80142EA0 0013FE00 D0 3B 0D 74 */ stfs f1, 0xd74(r27) -/* 80142EA4 0013FE04 C0 21 00 34 */ lfs f1, 0x34(r1) -/* 80142EA8 0013FE08 D0 3B 0D 78 */ stfs f1, 0xd78(r27) -/* 80142EAC 0013FE0C C0 21 00 38 */ lfs f1, 0x38(r1) -/* 80142EB0 0013FE10 D0 3B 0D 7C */ stfs f1, 0xd7c(r27) -/* 80142EB4 0013FE14 C0 3B 0D 74 */ lfs f1, 0xd74(r27) -/* 80142EB8 0013FE18 C4 63 66 A0 */ lfsu f3, skZero3f@l(r3) -/* 80142EBC 0013FE1C D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80142EC0 0013FE20 C0 43 00 04 */ lfs f2, 4(r3) -/* 80142EC4 0013FE24 C0 9B 0D 78 */ lfs f4, 0xd78(r27) -/* 80142EC8 0013FE28 C0 23 00 08 */ lfs f1, 8(r3) -/* 80142ECC 0013FE2C D0 81 00 68 */ stfs f4, 0x68(r1) -/* 80142ED0 0013FE30 C0 9B 0D 7C */ lfs f4, 0xd7c(r27) -/* 80142ED4 0013FE34 D0 81 00 6C */ stfs f4, 0x6c(r1) -/* 80142ED8 0013FE38 D0 61 00 70 */ stfs f3, 0x70(r1) -/* 80142EDC 0013FE3C D0 41 00 74 */ stfs f2, 0x74(r1) -/* 80142EE0 0013FE40 D0 21 00 78 */ stfs f1, 0x78(r1) -/* 80142EE4 0013FE44 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80142EE8 0013FE48 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 80142EEC 0013FE4C 38 63 00 04 */ addi r3, r3, 4 -/* 80142EF0 0013FE50 4B FE E8 29 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -/* 80142EF4 0013FE54 48 00 01 2C */ b lbl_80143020 -lbl_80142EF8: -/* 80142EF8 0013FE58 3B DB 05 74 */ addi r30, r27, 0x574 -/* 80142EFC 0013FE5C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80142F00 0013FE60 7F DD F3 78 */ mr r29, r30 -/* 80142F04 0013FE64 3B E3 66 A0 */ addi r31, r3, skZero3f@l -/* 80142F08 0013FE68 48 00 00 F4 */ b lbl_80142FFC -lbl_80142F0C: -/* 80142F0C 0013FE6C A0 1D 00 00 */ lhz r0, 0(r29) -/* 80142F10 0013FE70 7F 83 E3 78 */ mr r3, r28 -/* 80142F14 0013FE74 38 81 00 08 */ addi r4, r1, 8 -/* 80142F18 0013FE78 B0 01 00 08 */ sth r0, 8(r1) -/* 80142F1C 0013FE7C 4B F0 96 89 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80142F20 0013FE80 28 03 00 00 */ cmplwi r3, 0 -/* 80142F24 0013FE84 41 82 00 D4 */ beq lbl_80142FF8 -/* 80142F28 0013FE88 C0 43 00 60 */ lfs f2, 0x60(r3) -/* 80142F2C 0013FE8C 7F 65 DB 78 */ mr r5, r27 -/* 80142F30 0013FE90 C0 23 00 50 */ lfs f1, 0x50(r3) -/* 80142F34 0013FE94 38 9B 04 5C */ addi r4, r27, 0x45c -/* 80142F38 0013FE98 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 80142F3C 0013FE9C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80142F40 0013FEA0 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80142F44 0013FEA4 D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80142F48 0013FEA8 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80142F4C 0013FEAC D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80142F50 0013FEB0 4B FF BD 65 */ bl Flee__18CSteeringBehaviorsCFRC13CPhysicsActorRC9CVector3f -/* 80142F54 0013FEB4 C0 41 00 24 */ lfs f2, 0x24(r1) -/* 80142F58 0013FEB8 7F 64 DB 78 */ mr r4, r27 -/* 80142F5C 0013FEBC C0 21 00 28 */ lfs f1, 0x28(r1) -/* 80142F60 0013FEC0 7F 85 E3 78 */ mr r5, r28 -/* 80142F64 0013FEC4 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 80142F68 0013FEC8 38 61 00 0C */ addi r3, r1, 0xc -/* 80142F6C 0013FECC D0 41 00 3C */ stfs f2, 0x3c(r1) -/* 80142F70 0013FED0 38 C1 00 3C */ addi r6, r1, 0x3c -/* 80142F74 0013FED4 D0 21 00 40 */ stfs f1, 0x40(r1) -/* 80142F78 0013FED8 D0 01 00 44 */ stfs f0, 0x44(r1) -/* 80142F7C 0013FEDC 48 00 00 B9 */ bl sub_80143034 -/* 80142F80 0013FEE0 C0 61 00 0C */ lfs f3, 0xc(r1) -/* 80142F84 0013FEE4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80142F88 0013FEE8 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80142F8C 0013FEEC 38 81 00 48 */ addi r4, r1, 0x48 -/* 80142F90 0013FEF0 C0 21 00 14 */ lfs f1, 0x14(r1) -/* 80142F94 0013FEF4 D0 61 00 3C */ stfs f3, 0x3c(r1) -/* 80142F98 0013FEF8 C0 02 9B CC */ lfs f0, lbl_805AB8EC@sda21(r2) -/* 80142F9C 0013FEFC D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80142FA0 0013FF00 D0 21 00 44 */ stfs f1, 0x44(r1) -/* 80142FA4 0013FF04 D0 7B 0D 74 */ stfs f3, 0xd74(r27) -/* 80142FA8 0013FF08 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 80142FAC 0013FF0C D0 3B 0D 78 */ stfs f1, 0xd78(r27) -/* 80142FB0 0013FF10 C0 21 00 44 */ lfs f1, 0x44(r1) -/* 80142FB4 0013FF14 D0 3B 0D 7C */ stfs f1, 0xd7c(r27) -/* 80142FB8 0013FF18 C0 C1 00 3C */ lfs f6, 0x3c(r1) -/* 80142FBC 0013FF1C C0 A1 00 40 */ lfs f5, 0x40(r1) -/* 80142FC0 0013FF20 C0 81 00 44 */ lfs f4, 0x44(r1) -/* 80142FC4 0013FF24 C0 63 66 A0 */ lfs f3, skZero3f@l(r3) -/* 80142FC8 0013FF28 C0 5F 00 04 */ lfs f2, 4(r31) -/* 80142FCC 0013FF2C C0 3F 00 08 */ lfs f1, 8(r31) -/* 80142FD0 0013FF30 D0 C1 00 48 */ stfs f6, 0x48(r1) -/* 80142FD4 0013FF34 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 80142FD8 0013FF38 D0 81 00 50 */ stfs f4, 0x50(r1) -/* 80142FDC 0013FF3C D0 61 00 54 */ stfs f3, 0x54(r1) -/* 80142FE0 0013FF40 D0 41 00 58 */ stfs f2, 0x58(r1) -/* 80142FE4 0013FF44 D0 21 00 5C */ stfs f1, 0x5c(r1) -/* 80142FE8 0013FF48 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 80142FEC 0013FF4C 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 80142FF0 0013FF50 38 63 00 04 */ addi r3, r3, 4 -/* 80142FF4 0013FF54 4B FE E7 25 */ bl DeliverCmd__16CBodyStateCmdMgrFRC16CBCLocomotionCmd -lbl_80142FF8: -/* 80142FF8 0013FF58 3B BD 00 02 */ addi r29, r29, 2 -lbl_80142FFC: -/* 80142FFC 0013FF5C 80 1B 05 70 */ lwz r0, 0x570(r27) -/* 80143000 0013FF60 54 00 08 3C */ slwi r0, r0, 1 -/* 80143004 0013FF64 7C 1E 02 14 */ add r0, r30, r0 -/* 80143008 0013FF68 7C 1D 00 40 */ cmplw r29, r0 -/* 8014300C 0013FF6C 40 82 FF 00 */ bne lbl_80142F0C -/* 80143010 0013FF70 48 00 00 10 */ b lbl_80143020 -lbl_80143014: -/* 80143014 0013FF74 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 80143018 0013FF78 38 80 00 01 */ li r4, 1 -/* 8014301C 0013FF7C 4B FF 79 BD */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -lbl_80143020: -/* 80143020 0013FF80 BB 61 00 8C */ lmw r27, 0x8c(r1) -/* 80143024 0013FF84 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80143028 0013FF88 7C 08 03 A6 */ mtlr r0 -/* 8014302C 0013FF8C 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80143030 0013FF90 4E 80 00 20 */ blr - -.global sub_80143034 -sub_80143034: -/* 80143034 0013FF94 94 21 FD C0 */ stwu r1, -0x240(r1) -/* 80143038 0013FF98 7C 08 02 A6 */ mflr r0 -/* 8014303C 0013FF9C 90 01 02 44 */ stw r0, 0x244(r1) -/* 80143040 0013FFA0 DB E1 02 30 */ stfd f31, 0x230(r1) -/* 80143044 0013FFA4 F3 E1 02 38 */ psq_st f31, 568(r1), 0, qr0 -/* 80143048 0013FFA8 93 E1 02 2C */ stw r31, 0x22c(r1) -/* 8014304C 0013FFAC 93 C1 02 28 */ stw r30, 0x228(r1) -/* 80143050 0013FFB0 93 A1 02 24 */ stw r29, 0x224(r1) -/* 80143054 0013FFB4 93 81 02 20 */ stw r28, 0x220(r1) -/* 80143058 0013FFB8 C0 46 00 00 */ lfs f2, 0(r6) -/* 8014305C 0013FFBC 7C 7D 1B 78 */ mr r29, r3 -/* 80143060 0013FFC0 C0 26 00 04 */ lfs f1, 4(r6) -/* 80143064 0013FFC4 7C 9E 23 78 */ mr r30, r4 -/* 80143068 0013FFC8 C0 06 00 08 */ lfs f0, 8(r6) -/* 8014306C 0013FFCC 7C BF 2B 78 */ mr r31, r5 -/* 80143070 0013FFD0 D0 41 00 A4 */ stfs f2, 0xa4(r1) -/* 80143074 0013FFD4 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80143078 0013FFD8 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 8014307C 0013FFDC D0 01 00 AC */ stfs f0, 0xac(r1) -/* 80143080 0013FFE0 48 1D 18 39 */ bl Magnitude__9CVector3fCFv -/* 80143084 0013FFE4 FF E0 08 90 */ fmr f31, f1 -/* 80143088 0013FFE8 C0 02 9B D0 */ lfs f0, lbl_805AB8F0@sda21(r2) -/* 8014308C 0013FFEC FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 80143090 0013FFF0 40 81 04 28 */ ble lbl_801434B8 -/* 80143094 0013FFF4 38 61 00 5C */ addi r3, r1, 0x5c -/* 80143098 0013FFF8 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 8014309C 0013FFFC 48 1D 17 B5 */ bl AsNormalized__9CVector3fCFv -/* 801430A0 00140000 C0 41 00 5C */ lfs f2, 0x5c(r1) -/* 801430A4 00140004 38 60 00 00 */ li r3, 0 -/* 801430A8 00140008 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 801430AC 0014000C 38 80 00 01 */ li r4, 1 -/* 801430B0 00140010 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 801430B4 00140014 80 AD 8B C8 */ lwz r5, lbl_805A7788@sda21(r13) -/* 801430B8 00140018 D0 41 00 98 */ stfs f2, 0x98(r1) -/* 801430BC 0014001C D0 21 00 9C */ stfs f1, 0x9c(r1) -/* 801430C0 00140020 D0 01 00 A0 */ stfs f0, 0xa0(r1) -/* 801430C4 00140024 48 24 6E 31 */ bl __shl2i -/* 801430C8 00140028 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 801430CC 0014002C 39 00 00 00 */ li r8, 0 -/* 801430D0 00140030 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 801430D4 00140034 38 00 00 01 */ li r0, 1 -/* 801430D8 00140038 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 801430DC 0014003C 38 A1 00 50 */ addi r5, r1, 0x50 -/* 801430E0 00140040 90 81 01 14 */ stw r4, 0x114(r1) -/* 801430E4 00140044 7F E4 FB 78 */ mr r4, r31 -/* 801430E8 00140048 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) -/* 801430EC 0014004C 38 C1 00 98 */ addi r6, r1, 0x98 -/* 801430F0 00140050 90 61 01 10 */ stw r3, 0x110(r1) -/* 801430F4 00140054 38 61 01 E8 */ addi r3, r1, 0x1e8 -/* 801430F8 00140058 38 E1 01 10 */ addi r7, r1, 0x110 -/* 801430FC 0014005C 91 01 01 1C */ stw r8, 0x11c(r1) -/* 80143100 00140060 91 01 01 18 */ stw r8, 0x118(r1) -/* 80143104 00140064 90 01 01 20 */ stw r0, 0x120(r1) -/* 80143108 00140068 D0 01 00 50 */ stfs f0, 0x50(r1) -/* 8014310C 0014006C D0 41 00 54 */ stfs f2, 0x54(r1) -/* 80143110 00140070 D0 61 00 58 */ stfs f3, 0x58(r1) -/* 80143114 00140074 4B F0 9E 85 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80143118 00140078 8B 81 02 08 */ lbz r28, 0x208(r1) -/* 8014311C 0014007C 7F C3 F3 78 */ mr r3, r30 -/* 80143120 00140080 7F E4 FB 78 */ mr r4, r31 -/* 80143124 00140084 38 A1 00 98 */ addi r5, r1, 0x98 -/* 80143128 00140088 48 00 03 D5 */ bl sub_801434fc -/* 8014312C 0014008C 28 1C 00 00 */ cmplwi r28, 0 -/* 80143130 00140090 40 82 00 0C */ bne lbl_8014313C -/* 80143134 00140094 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80143138 00140098 41 82 03 64 */ beq lbl_8014349C -lbl_8014313C: -/* 8014313C 0014009C 3C 60 80 5A */ lis r3, lbl_805A66F4@ha -/* 80143140 001400A0 C0 A1 00 9C */ lfs f5, 0x9c(r1) -/* 80143144 001400A4 38 A3 66 F4 */ addi r5, r3, lbl_805A66F4@l -/* 80143148 001400A8 C0 C1 00 A0 */ lfs f6, 0xa0(r1) -/* 8014314C 001400AC C0 85 00 08 */ lfs f4, 8(r5) -/* 80143150 001400B0 38 61 00 44 */ addi r3, r1, 0x44 -/* 80143154 001400B4 C1 05 00 00 */ lfs f8, 0(r5) -/* 80143158 001400B8 38 81 00 38 */ addi r4, r1, 0x38 -/* 8014315C 001400BC C0 65 00 04 */ lfs f3, 4(r5) -/* 80143160 001400C0 EC 45 01 32 */ fmuls f2, f5, f4 -/* 80143164 001400C4 C0 E1 00 98 */ lfs f7, 0x98(r1) -/* 80143168 001400C8 EC 26 02 32 */ fmuls f1, f6, f8 -/* 8014316C 001400CC EC 07 00 F2 */ fmuls f0, f7, f3 -/* 80143170 001400D0 EC 43 11 B8 */ fmsubs f2, f3, f6, f2 -/* 80143174 001400D4 EC 24 09 F8 */ fmsubs f1, f4, f7, f1 -/* 80143178 001400D8 EC 08 01 78 */ fmsubs f0, f8, f5, f0 -/* 8014317C 001400DC D0 41 00 38 */ stfs f2, 0x38(r1) -/* 80143180 001400E0 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 80143184 001400E4 D0 01 00 40 */ stfs f0, 0x40(r1) -/* 80143188 001400E8 48 1D 16 C9 */ bl AsNormalized__9CVector3fCFv -/* 8014318C 001400EC C0 41 00 44 */ lfs f2, 0x44(r1) -/* 80143190 001400F0 38 60 00 00 */ li r3, 0 -/* 80143194 001400F4 C0 21 00 48 */ lfs f1, 0x48(r1) -/* 80143198 001400F8 38 80 00 01 */ li r4, 1 -/* 8014319C 001400FC C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 801431A0 00140100 80 AD 8B CC */ lwz r5, lbl_805A778C@sda21(r13) -/* 801431A4 00140104 D0 41 00 8C */ stfs f2, 0x8c(r1) -/* 801431A8 00140108 D0 21 00 90 */ stfs f1, 0x90(r1) -/* 801431AC 0014010C D0 01 00 94 */ stfs f0, 0x94(r1) -/* 801431B0 00140110 48 24 6D 45 */ bl __shl2i -/* 801431B4 00140114 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 801431B8 00140118 39 00 00 00 */ li r8, 0 -/* 801431BC 0014011C C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 801431C0 00140120 38 00 00 01 */ li r0, 1 -/* 801431C4 00140124 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 801431C8 00140128 38 A1 00 2C */ addi r5, r1, 0x2c -/* 801431CC 0014012C 90 81 00 FC */ stw r4, 0xfc(r1) -/* 801431D0 00140130 7F E4 FB 78 */ mr r4, r31 -/* 801431D4 00140134 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) -/* 801431D8 00140138 38 C1 00 8C */ addi r6, r1, 0x8c -/* 801431DC 0014013C 90 61 00 F8 */ stw r3, 0xf8(r1) -/* 801431E0 00140140 38 61 01 B8 */ addi r3, r1, 0x1b8 -/* 801431E4 00140144 38 E1 00 F8 */ addi r7, r1, 0xf8 -/* 801431E8 00140148 91 01 01 04 */ stw r8, 0x104(r1) -/* 801431EC 0014014C 91 01 01 00 */ stw r8, 0x100(r1) -/* 801431F0 00140150 90 01 01 08 */ stw r0, 0x108(r1) -/* 801431F4 00140154 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 801431F8 00140158 D0 41 00 30 */ stfs f2, 0x30(r1) -/* 801431FC 0014015C D0 61 00 34 */ stfs f3, 0x34(r1) -/* 80143200 00140160 4B F0 9D 99 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80143204 00140164 88 01 01 D8 */ lbz r0, 0x1d8(r1) -/* 80143208 00140168 28 00 00 00 */ cmplwi r0, 0 -/* 8014320C 0014016C 41 82 02 6C */ beq lbl_80143478 -/* 80143210 00140170 C0 41 00 94 */ lfs f2, 0x94(r1) -/* 80143214 00140174 38 60 00 00 */ li r3, 0 -/* 80143218 00140178 C0 21 00 90 */ lfs f1, 0x90(r1) -/* 8014321C 0014017C 38 80 00 01 */ li r4, 1 -/* 80143220 00140180 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 80143224 00140184 FC 40 10 50 */ fneg f2, f2 -/* 80143228 00140188 FC 20 08 50 */ fneg f1, f1 -/* 8014322C 0014018C 80 AD 8B D0 */ lwz r5, lbl_805A7790@sda21(r13) -/* 80143230 00140190 FC 00 00 50 */ fneg f0, f0 -/* 80143234 00140194 D0 41 00 88 */ stfs f2, 0x88(r1) -/* 80143238 00140198 D0 01 00 80 */ stfs f0, 0x80(r1) -/* 8014323C 0014019C D0 21 00 84 */ stfs f1, 0x84(r1) -/* 80143240 001401A0 48 24 6C B5 */ bl __shl2i -/* 80143244 001401A4 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80143248 001401A8 39 00 00 00 */ li r8, 0 -/* 8014324C 001401AC C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80143250 001401B0 38 00 00 01 */ li r0, 1 -/* 80143254 001401B4 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80143258 001401B8 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8014325C 001401BC 90 81 00 E4 */ stw r4, 0xe4(r1) -/* 80143260 001401C0 7F E4 FB 78 */ mr r4, r31 -/* 80143264 001401C4 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) -/* 80143268 001401C8 38 C1 00 80 */ addi r6, r1, 0x80 -/* 8014326C 001401CC 90 61 00 E0 */ stw r3, 0xe0(r1) -/* 80143270 001401D0 38 61 01 88 */ addi r3, r1, 0x188 -/* 80143274 001401D4 38 E1 00 E0 */ addi r7, r1, 0xe0 -/* 80143278 001401D8 91 01 00 EC */ stw r8, 0xec(r1) -/* 8014327C 001401DC 91 01 00 E8 */ stw r8, 0xe8(r1) -/* 80143280 001401E0 90 01 00 F0 */ stw r0, 0xf0(r1) -/* 80143284 001401E4 D0 01 00 20 */ stfs f0, 0x20(r1) -/* 80143288 001401E8 D0 41 00 24 */ stfs f2, 0x24(r1) -/* 8014328C 001401EC D0 61 00 28 */ stfs f3, 0x28(r1) -/* 80143290 001401F0 4B F0 9D 09 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 80143294 001401F4 88 01 01 A8 */ lbz r0, 0x1a8(r1) -/* 80143298 001401F8 28 00 00 00 */ cmplwi r0, 0 -/* 8014329C 001401FC 41 82 01 B4 */ beq lbl_80143450 -/* 801432A0 00140200 C0 61 00 9C */ lfs f3, 0x9c(r1) -/* 801432A4 00140204 38 60 00 00 */ li r3, 0 -/* 801432A8 00140208 C0 E1 00 8C */ lfs f7, 0x8c(r1) -/* 801432AC 0014020C 38 80 00 01 */ li r4, 1 -/* 801432B0 00140210 C0 81 00 A0 */ lfs f4, 0xa0(r1) -/* 801432B4 00140214 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 801432B8 00140218 EC 07 00 F2 */ fmuls f0, f7, f3 -/* 801432BC 0014021C C0 C1 00 98 */ lfs f6, 0x98(r1) -/* 801432C0 00140220 EC 22 01 32 */ fmuls f1, f2, f4 -/* 801432C4 00140224 C0 A1 00 94 */ lfs f5, 0x94(r1) -/* 801432C8 00140228 EC 46 00 B8 */ fmsubs f2, f6, f2, f0 -/* 801432CC 0014022C 80 AD 8B D4 */ lwz r5, lbl_805A7794@sda21(r13) -/* 801432D0 00140230 EC 05 01 B2 */ fmuls f0, f5, f6 -/* 801432D4 00140234 EC 23 09 78 */ fmsubs f1, f3, f5, f1 -/* 801432D8 00140238 D0 41 00 7C */ stfs f2, 0x7c(r1) -/* 801432DC 0014023C EC 04 01 F8 */ fmsubs f0, f4, f7, f0 -/* 801432E0 00140240 D0 21 00 74 */ stfs f1, 0x74(r1) -/* 801432E4 00140244 D0 01 00 78 */ stfs f0, 0x78(r1) -/* 801432E8 00140248 48 24 6C 0D */ bl __shl2i -/* 801432EC 0014024C C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 801432F0 00140250 39 00 00 00 */ li r8, 0 -/* 801432F4 00140254 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 801432F8 00140258 38 00 00 01 */ li r0, 1 -/* 801432FC 0014025C C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80143300 00140260 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80143304 00140264 90 81 00 CC */ stw r4, 0xcc(r1) -/* 80143308 00140268 7F E4 FB 78 */ mr r4, r31 -/* 8014330C 0014026C C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) -/* 80143310 00140270 38 C1 00 74 */ addi r6, r1, 0x74 -/* 80143314 00140274 90 61 00 C8 */ stw r3, 0xc8(r1) -/* 80143318 00140278 38 61 01 58 */ addi r3, r1, 0x158 -/* 8014331C 0014027C 38 E1 00 C8 */ addi r7, r1, 0xc8 -/* 80143320 00140280 91 01 00 D4 */ stw r8, 0xd4(r1) -/* 80143324 00140284 91 01 00 D0 */ stw r8, 0xd0(r1) -/* 80143328 00140288 90 01 00 D8 */ stw r0, 0xd8(r1) -/* 8014332C 0014028C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80143330 00140290 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80143334 00140294 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 80143338 00140298 4B F0 9C 61 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 8014333C 0014029C 88 01 01 78 */ lbz r0, 0x178(r1) -/* 80143340 001402A0 28 00 00 00 */ cmplwi r0, 0 -/* 80143344 001402A4 41 82 00 E4 */ beq lbl_80143428 -/* 80143348 001402A8 C0 41 00 7C */ lfs f2, 0x7c(r1) -/* 8014334C 001402AC 38 60 00 00 */ li r3, 0 -/* 80143350 001402B0 C0 21 00 78 */ lfs f1, 0x78(r1) -/* 80143354 001402B4 38 80 00 01 */ li r4, 1 -/* 80143358 001402B8 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 8014335C 001402BC FC 40 10 50 */ fneg f2, f2 -/* 80143360 001402C0 FC 20 08 50 */ fneg f1, f1 -/* 80143364 001402C4 80 AD 8B D8 */ lwz r5, lbl_805A7798@sda21(r13) -/* 80143368 001402C8 FC 00 00 50 */ fneg f0, f0 -/* 8014336C 001402CC D0 41 00 70 */ stfs f2, 0x70(r1) -/* 80143370 001402D0 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80143374 001402D4 D0 21 00 6C */ stfs f1, 0x6c(r1) -/* 80143378 001402D8 48 24 6B 7D */ bl __shl2i -/* 8014337C 001402DC C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80143380 001402E0 39 00 00 00 */ li r8, 0 -/* 80143384 001402E4 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80143388 001402E8 38 00 00 01 */ li r0, 1 -/* 8014338C 001402EC C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80143390 001402F0 38 A1 00 08 */ addi r5, r1, 8 -/* 80143394 001402F4 90 81 00 B4 */ stw r4, 0xb4(r1) -/* 80143398 001402F8 7F E4 FB 78 */ mr r4, r31 -/* 8014339C 001402FC C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) -/* 801433A0 00140300 38 C1 00 68 */ addi r6, r1, 0x68 -/* 801433A4 00140304 90 61 00 B0 */ stw r3, 0xb0(r1) -/* 801433A8 00140308 38 61 01 28 */ addi r3, r1, 0x128 -/* 801433AC 0014030C 38 E1 00 B0 */ addi r7, r1, 0xb0 -/* 801433B0 00140310 91 01 00 BC */ stw r8, 0xbc(r1) -/* 801433B4 00140314 91 01 00 B8 */ stw r8, 0xb8(r1) -/* 801433B8 00140318 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 801433BC 0014031C D0 01 00 08 */ stfs f0, 8(r1) -/* 801433C0 00140320 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 801433C4 00140324 D0 61 00 10 */ stfs f3, 0x10(r1) -/* 801433C8 00140328 4B F0 9B D1 */ bl RayStaticIntersection__13CStateManagerCFRC9CVector3fRC9CVector3ffRC15CMaterialFilter -/* 801433CC 0014032C 88 01 01 48 */ lbz r0, 0x148(r1) -/* 801433D0 00140330 28 00 00 00 */ cmplwi r0, 0 -/* 801433D4 00140334 40 82 00 2C */ bne lbl_80143400 -/* 801433D8 00140338 C0 41 00 6C */ lfs f2, 0x6c(r1) -/* 801433DC 0014033C C0 21 00 70 */ lfs f1, 0x70(r1) -/* 801433E0 00140340 C0 01 00 68 */ lfs f0, 0x68(r1) -/* 801433E4 00140344 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 801433E8 00140348 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 801433EC 0014034C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 801433F0 00140350 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 801433F4 00140354 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 801433F8 00140358 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 801433FC 0014035C 48 00 00 A0 */ b lbl_8014349C -lbl_80143400: -/* 80143400 00140360 C0 41 00 AC */ lfs f2, 0xac(r1) -/* 80143404 00140364 C0 21 00 A8 */ lfs f1, 0xa8(r1) -/* 80143408 00140368 C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 8014340C 0014036C FC 40 10 50 */ fneg f2, f2 -/* 80143410 00140370 FC 20 08 50 */ fneg f1, f1 -/* 80143414 00140374 FC 00 00 50 */ fneg f0, f0 -/* 80143418 00140378 D0 41 00 AC */ stfs f2, 0xac(r1) -/* 8014341C 0014037C D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80143420 00140380 D0 21 00 A8 */ stfs f1, 0xa8(r1) -/* 80143424 00140384 48 00 00 78 */ b lbl_8014349C -lbl_80143428: -/* 80143428 00140388 C0 41 00 78 */ lfs f2, 0x78(r1) -/* 8014342C 0014038C C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 80143430 00140390 C0 01 00 74 */ lfs f0, 0x74(r1) -/* 80143434 00140394 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80143438 00140398 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8014343C 0014039C EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80143440 001403A0 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 80143444 001403A4 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80143448 001403A8 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 8014344C 001403AC 48 00 00 50 */ b lbl_8014349C -lbl_80143450: -/* 80143450 001403B0 C0 41 00 84 */ lfs f2, 0x84(r1) -/* 80143454 001403B4 C0 21 00 88 */ lfs f1, 0x88(r1) -/* 80143458 001403B8 C0 01 00 80 */ lfs f0, 0x80(r1) -/* 8014345C 001403BC EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80143460 001403C0 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 80143464 001403C4 EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80143468 001403C8 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 8014346C 001403CC D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80143470 001403D0 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 80143474 001403D4 48 00 00 28 */ b lbl_8014349C -lbl_80143478: -/* 80143478 001403D8 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 8014347C 001403DC C0 21 00 94 */ lfs f1, 0x94(r1) -/* 80143480 001403E0 C0 01 00 8C */ lfs f0, 0x8c(r1) -/* 80143484 001403E4 EC 5F 00 B2 */ fmuls f2, f31, f2 -/* 80143488 001403E8 EC 3F 00 72 */ fmuls f1, f31, f1 -/* 8014348C 001403EC EC 1F 00 32 */ fmuls f0, f31, f0 -/* 80143490 001403F0 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 80143494 001403F4 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 80143498 001403F8 D0 21 00 AC */ stfs f1, 0xac(r1) -lbl_8014349C: -/* 8014349C 001403FC C0 01 00 A4 */ lfs f0, 0xa4(r1) -/* 801434A0 00140400 D0 1D 00 00 */ stfs f0, 0(r29) -/* 801434A4 00140404 C0 01 00 A8 */ lfs f0, 0xa8(r1) -/* 801434A8 00140408 D0 1D 00 04 */ stfs f0, 4(r29) -/* 801434AC 0014040C C0 01 00 AC */ lfs f0, 0xac(r1) -/* 801434B0 00140410 D0 1D 00 08 */ stfs f0, 8(r29) -/* 801434B4 00140414 48 00 00 20 */ b lbl_801434D4 -lbl_801434B8: -/* 801434B8 00140418 3C 60 80 5A */ lis r3, skZero3f@ha -/* 801434BC 0014041C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 801434C0 00140420 D0 1D 00 00 */ stfs f0, 0(r29) -/* 801434C4 00140424 C0 03 00 04 */ lfs f0, 4(r3) -/* 801434C8 00140428 D0 1D 00 04 */ stfs f0, 4(r29) -/* 801434CC 0014042C C0 03 00 08 */ lfs f0, 8(r3) -/* 801434D0 00140430 D0 1D 00 08 */ stfs f0, 8(r29) -lbl_801434D4: -/* 801434D4 00140434 E3 E1 02 38 */ psq_l f31, 568(r1), 0, qr0 -/* 801434D8 00140438 80 01 02 44 */ lwz r0, 0x244(r1) -/* 801434DC 0014043C CB E1 02 30 */ lfd f31, 0x230(r1) -/* 801434E0 00140440 83 E1 02 2C */ lwz r31, 0x22c(r1) -/* 801434E4 00140444 83 C1 02 28 */ lwz r30, 0x228(r1) -/* 801434E8 00140448 83 A1 02 24 */ lwz r29, 0x224(r1) -/* 801434EC 0014044C 83 81 02 20 */ lwz r28, 0x220(r1) -/* 801434F0 00140450 7C 08 03 A6 */ mtlr r0 -/* 801434F4 00140454 38 21 02 40 */ addi r1, r1, 0x240 -/* 801434F8 00140458 4E 80 00 20 */ blr - -.global sub_801434fc -sub_801434fc: -/* 801434FC 0014045C 94 21 F7 C0 */ stwu r1, -0x840(r1) -/* 80143500 00140460 7C 08 02 A6 */ mflr r0 -/* 80143504 00140464 7C A6 2B 78 */ mr r6, r5 -/* 80143508 00140468 C0 22 9B D4 */ lfs f1, lbl_805AB8F4@sda21(r2) -/* 8014350C 0014046C 90 01 08 44 */ stw r0, 0x844(r1) -/* 80143510 00140470 38 00 00 00 */ li r0, 0 -/* 80143514 00140474 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80143518 00140478 39 00 00 00 */ li r8, 0 -/* 8014351C 0014047C 93 E1 08 3C */ stw r31, 0x83c(r1) -/* 80143520 00140480 93 C1 08 38 */ stw r30, 0x838(r1) -/* 80143524 00140484 93 A1 08 34 */ stw r29, 0x834(r1) -/* 80143528 00140488 7C 9D 23 78 */ mr r29, r4 -/* 8014352C 0014048C 38 81 00 24 */ addi r4, r1, 0x24 -/* 80143530 00140490 C0 63 00 60 */ lfs f3, 0x60(r3) -/* 80143534 00140494 C0 43 00 50 */ lfs f2, 0x50(r3) -/* 80143538 00140498 C0 03 00 40 */ lfs f0, 0x40(r3) -/* 8014353C 0014049C 3C 60 80 5A */ lis r3, lbl_8059FD18@ha -/* 80143540 001404A0 38 E3 FD 18 */ addi r7, r3, lbl_8059FD18@l -/* 80143544 001404A4 90 01 00 24 */ stw r0, 0x24(r1) -/* 80143548 001404A8 7F A3 EB 78 */ mr r3, r29 -/* 8014354C 001404AC D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80143550 001404B0 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80143554 001404B4 D0 61 00 20 */ stfs f3, 0x20(r1) -/* 80143558 001404B8 4B F0 91 81 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" -/* 8014355C 001404BC 3B E1 00 28 */ addi r31, r1, 0x28 -/* 80143560 001404C0 7F FE FB 78 */ mr r30, r31 -/* 80143564 001404C4 48 00 00 94 */ b lbl_801435F8 -lbl_80143568: -/* 80143568 001404C8 A0 1E 00 00 */ lhz r0, 0(r30) -/* 8014356C 001404CC 7F A3 EB 78 */ mr r3, r29 -/* 80143570 001404D0 38 81 00 08 */ addi r4, r1, 8 -/* 80143574 001404D4 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80143578 001404D8 B0 01 00 08 */ sth r0, 8(r1) -/* 8014357C 001404DC 4B F0 90 29 */ bl GetObjectById__13CStateManagerCF9TUniqueId -/* 80143580 001404E0 7C 64 1B 78 */ mr r4, r3 -/* 80143584 001404E4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80143588 001404E8 4B F6 32 D9 */ bl "__ct__26TCastToPtr<12CScriptWater>FP7CEntity" -/* 8014358C 001404EC 80 03 00 04 */ lwz r0, 4(r3) -/* 80143590 001404F0 28 00 00 00 */ cmplwi r0, 0 -/* 80143594 001404F4 41 82 00 60 */ beq lbl_801435F4 -/* 80143598 001404F8 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 8014359C 001404FC 38 60 00 00 */ li r3, 0 -/* 801435A0 00140500 2C 05 00 00 */ cmpwi r5, 0 -/* 801435A4 00140504 40 81 00 40 */ ble lbl_801435E4 -/* 801435A8 00140508 2C 05 00 08 */ cmpwi r5, 8 -/* 801435AC 0014050C 38 85 FF F8 */ addi r4, r5, -8 -/* 801435B0 00140510 40 81 00 20 */ ble lbl_801435D0 -/* 801435B4 00140514 38 04 00 07 */ addi r0, r4, 7 -/* 801435B8 00140518 54 00 E8 FE */ srwi r0, r0, 3 -/* 801435BC 0014051C 7C 09 03 A6 */ mtctr r0 -/* 801435C0 00140520 2C 04 00 00 */ cmpwi r4, 0 -/* 801435C4 00140524 40 81 00 0C */ ble lbl_801435D0 -lbl_801435C8: -/* 801435C8 00140528 38 63 00 08 */ addi r3, r3, 8 -/* 801435CC 0014052C 42 00 FF FC */ bdnz lbl_801435C8 -lbl_801435D0: -/* 801435D0 00140530 7C 03 28 50 */ subf r0, r3, r5 -/* 801435D4 00140534 7C 09 03 A6 */ mtctr r0 -/* 801435D8 00140538 7C 03 28 00 */ cmpw r3, r5 -/* 801435DC 0014053C 40 80 00 08 */ bge lbl_801435E4 -lbl_801435E0: -/* 801435E0 00140540 42 00 00 00 */ bdnz lbl_801435E0 -lbl_801435E4: -/* 801435E4 00140544 38 00 00 00 */ li r0, 0 -/* 801435E8 00140548 38 60 00 01 */ li r3, 1 -/* 801435EC 0014054C 90 01 00 24 */ stw r0, 0x24(r1) -/* 801435F0 00140550 48 00 00 70 */ b lbl_80143660 -lbl_801435F4: -/* 801435F4 00140554 3B DE 00 02 */ addi r30, r30, 2 -lbl_801435F8: -/* 801435F8 00140558 80 A1 00 24 */ lwz r5, 0x24(r1) -/* 801435FC 0014055C 54 A0 08 3C */ slwi r0, r5, 1 -/* 80143600 00140560 7C 1F 02 14 */ add r0, r31, r0 -/* 80143604 00140564 7C 1E 00 40 */ cmplw r30, r0 -/* 80143608 00140568 40 82 FF 60 */ bne lbl_80143568 -/* 8014360C 0014056C 2C 05 00 00 */ cmpwi r5, 0 -/* 80143610 00140570 38 60 00 00 */ li r3, 0 -/* 80143614 00140574 40 81 00 40 */ ble lbl_80143654 -/* 80143618 00140578 2C 05 00 08 */ cmpwi r5, 8 -/* 8014361C 0014057C 38 85 FF F8 */ addi r4, r5, -8 -/* 80143620 00140580 40 81 00 20 */ ble lbl_80143640 -/* 80143624 00140584 38 04 00 07 */ addi r0, r4, 7 -/* 80143628 00140588 54 00 E8 FE */ srwi r0, r0, 3 -/* 8014362C 0014058C 7C 09 03 A6 */ mtctr r0 -/* 80143630 00140590 2C 04 00 00 */ cmpwi r4, 0 -/* 80143634 00140594 40 81 00 0C */ ble lbl_80143640 -lbl_80143638: -/* 80143638 00140598 38 63 00 08 */ addi r3, r3, 8 -/* 8014363C 0014059C 42 00 FF FC */ bdnz lbl_80143638 -lbl_80143640: -/* 80143640 001405A0 7C 03 28 50 */ subf r0, r3, r5 -/* 80143644 001405A4 7C 09 03 A6 */ mtctr r0 -/* 80143648 001405A8 7C 03 28 00 */ cmpw r3, r5 -/* 8014364C 001405AC 40 80 00 08 */ bge lbl_80143654 -lbl_80143650: -/* 80143650 001405B0 42 00 00 00 */ bdnz lbl_80143650 -lbl_80143654: -/* 80143654 001405B4 38 00 00 00 */ li r0, 0 -/* 80143658 001405B8 38 60 00 00 */ li r3, 0 -/* 8014365C 001405BC 90 01 00 24 */ stw r0, 0x24(r1) -lbl_80143660: -/* 80143660 001405C0 80 01 08 44 */ lwz r0, 0x844(r1) -/* 80143664 001405C4 83 E1 08 3C */ lwz r31, 0x83c(r1) -/* 80143668 001405C8 83 C1 08 38 */ lwz r30, 0x838(r1) -/* 8014366C 001405CC 83 A1 08 34 */ lwz r29, 0x834(r1) -/* 80143670 001405D0 7C 08 03 A6 */ mtlr r0 -/* 80143674 001405D4 38 21 08 40 */ addi r1, r1, 0x840 -/* 80143678 001405D8 4E 80 00 20 */ blr - -.global Patrol__9CFireFleaFR13CStateManager9EStateMsgf -Patrol__9CFireFleaFR13CStateManager9EStateMsgf: -/* 8014367C 001405DC 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80143680 001405E0 7C 08 02 A6 */ mflr r0 -/* 80143684 001405E4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80143688 001405E8 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 8014368C 001405EC F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80143690 001405F0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80143694 001405F4 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80143698 001405F8 93 A1 00 24 */ stw r29, 0x24(r1) -/* 8014369C 001405FC FF E0 08 90 */ fmr f31, f1 -/* 801436A0 00140600 3C C0 80 5A */ lis r6, skZero3f@ha -/* 801436A4 00140604 7C 7D 1B 78 */ mr r29, r3 -/* 801436A8 00140608 C0 22 9B D8 */ lfs f1, lbl_805AB8F8@sda21(r2) -/* 801436AC 0014060C 38 06 66 A0 */ addi r0, r6, skZero3f@l -/* 801436B0 00140610 7C 9E 23 78 */ mr r30, r4 -/* 801436B4 00140614 7C BF 2B 78 */ mr r31, r5 -/* 801436B8 00140618 7C 04 03 78 */ mr r4, r0 -/* 801436BC 0014061C 38 7D 03 10 */ addi r3, r29, 0x310 -/* 801436C0 00140620 48 1C C8 A5 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 801436C4 00140624 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801436C8 00140628 40 82 00 0C */ bne lbl_801436D4 -/* 801436CC 0014062C 38 7D 03 10 */ addi r3, r29, 0x310 -/* 801436D0 00140630 48 1D 12 29 */ bl Normalize__9CVector3fFv -lbl_801436D4: -/* 801436D4 00140634 7F A4 EB 78 */ mr r4, r29 -/* 801436D8 00140638 7F C5 F3 78 */ mr r5, r30 -/* 801436DC 0014063C 38 61 00 10 */ addi r3, r1, 0x10 -/* 801436E0 00140640 38 DD 03 10 */ addi r6, r29, 0x310 -/* 801436E4 00140644 4B FF F9 51 */ bl sub_80143034 -/* 801436E8 00140648 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 801436EC 0014064C FC 20 F8 90 */ fmr f1, f31 -/* 801436F0 00140650 7F A3 EB 78 */ mr r3, r29 -/* 801436F4 00140654 7F C4 F3 78 */ mr r4, r30 -/* 801436F8 00140658 D0 1D 03 10 */ stfs f0, 0x310(r29) -/* 801436FC 0014065C 7F E5 FB 78 */ mr r5, r31 -/* 80143700 00140660 C0 01 00 14 */ lfs f0, 0x14(r1) -/* 80143704 00140664 D0 1D 03 14 */ stfs f0, 0x314(r29) -/* 80143708 00140668 C0 01 00 18 */ lfs f0, 0x18(r1) -/* 8014370C 0014066C D0 1D 03 18 */ stfs f0, 0x318(r29) -/* 80143710 00140670 48 0B 37 65 */ bl Patrol__10CPatternedFR13CStateManager9EStateMsgf -/* 80143714 00140674 80 1D 02 D8 */ lwz r0, 0x2d8(r29) -/* 80143718 00140678 2C 00 00 02 */ cmpwi r0, 2 -/* 8014371C 0014067C 40 82 00 1C */ bne lbl_80143738 -/* 80143720 00140680 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80143724 00140684 7F C3 F3 78 */ mr r3, r30 -/* 80143728 00140688 38 81 00 0C */ addi r4, r1, 0xc -/* 8014372C 0014068C B0 01 00 08 */ sth r0, 8(r1) -/* 80143730 00140690 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80143734 00140694 4B F0 8B 39 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -lbl_80143738: -/* 80143738 00140698 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 8014373C 0014069C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80143740 001406A0 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80143744 001406A4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80143748 001406A8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8014374C 001406AC 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80143750 001406B0 7C 08 03 A6 */ mtlr r0 -/* 80143754 001406B4 38 21 00 40 */ addi r1, r1, 0x40 -/* 80143758 001406B8 4E 80 00 20 */ blr - -.global HearShot__9CFireFleaFR13CStateManagerf -HearShot__9CFireFleaFR13CStateManagerf: -/* 8014375C 001406BC 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 80143760 001406C0 7C 08 02 A6 */ mflr r0 -/* 80143764 001406C4 90 01 00 74 */ stw r0, 0x74(r1) -/* 80143768 001406C8 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 8014376C 001406CC 7C 9F 23 78 */ mr r31, r4 -/* 80143770 001406D0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80143774 001406D4 7C 7E 1B 78 */ mr r30, r3 -/* 80143778 001406D8 80 A3 05 70 */ lwz r5, 0x570(r3) -/* 8014377C 001406DC 38 60 00 00 */ li r3, 0 -/* 80143780 001406E0 2C 05 00 00 */ cmpwi r5, 0 -/* 80143784 001406E4 40 81 00 40 */ ble lbl_801437C4 -/* 80143788 001406E8 2C 05 00 08 */ cmpwi r5, 8 -/* 8014378C 001406EC 38 85 FF F8 */ addi r4, r5, -8 -/* 80143790 001406F0 40 81 00 20 */ ble lbl_801437B0 -/* 80143794 001406F4 38 04 00 07 */ addi r0, r4, 7 -/* 80143798 001406F8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8014379C 001406FC 7C 09 03 A6 */ mtctr r0 -/* 801437A0 00140700 2C 04 00 00 */ cmpwi r4, 0 -/* 801437A4 00140704 40 81 00 0C */ ble lbl_801437B0 -lbl_801437A8: -/* 801437A8 00140708 38 63 00 08 */ addi r3, r3, 8 -/* 801437AC 0014070C 42 00 FF FC */ bdnz lbl_801437A8 -lbl_801437B0: -/* 801437B0 00140710 7C 03 28 50 */ subf r0, r3, r5 -/* 801437B4 00140714 7C 09 03 A6 */ mtctr r0 -/* 801437B8 00140718 7C 03 28 00 */ cmpw r3, r5 -/* 801437BC 0014071C 40 80 00 08 */ bge lbl_801437C4 -lbl_801437C0: -/* 801437C0 00140720 42 00 00 00 */ bdnz lbl_801437C0 -lbl_801437C4: -/* 801437C4 00140724 38 00 00 00 */ li r0, 0 -/* 801437C8 00140728 C0 A2 9B DC */ lfs f5, lbl_805AB8FC@sda21(r2) -/* 801437CC 0014072C 90 1E 05 70 */ stw r0, 0x570(r30) -/* 801437D0 00140730 38 61 00 50 */ addi r3, r1, 0x50 -/* 801437D4 00140734 38 81 00 14 */ addi r4, r1, 0x14 -/* 801437D8 00140738 38 A1 00 08 */ addi r5, r1, 8 -/* 801437DC 0014073C C0 FE 00 60 */ lfs f7, 0x60(r30) -/* 801437E0 00140740 C0 DE 00 50 */ lfs f6, 0x50(r30) -/* 801437E4 00140744 C0 3E 00 40 */ lfs f1, 0x40(r30) -/* 801437E8 00140748 EC 07 28 2A */ fadds f0, f7, f5 -/* 801437EC 0014074C EC 66 28 2A */ fadds f3, f6, f5 -/* 801437F0 00140750 EC 81 28 2A */ fadds f4, f1, f5 -/* 801437F4 00140754 EC 41 28 28 */ fsubs f2, f1, f5 -/* 801437F8 00140758 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 801437FC 0014075C EC 26 28 28 */ fsubs f1, f6, f5 -/* 80143800 00140760 EC 07 28 28 */ fsubs f0, f7, f5 -/* 80143804 00140764 D0 81 00 08 */ stfs f4, 8(r1) -/* 80143808 00140768 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 8014380C 0014076C D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80143810 00140770 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80143814 00140774 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80143818 00140778 48 1F 4C F1 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8014381C 0014077C 80 AD 8B C4 */ lwz r5, lbl_805A7784@sda21(r13) -/* 80143820 00140780 38 60 00 00 */ li r3, 0 -/* 80143824 00140784 38 80 00 01 */ li r4, 1 -/* 80143828 00140788 48 24 66 CD */ bl __shl2i -/* 8014382C 0014078C 39 00 00 01 */ li r8, 1 -/* 80143830 00140790 38 00 00 00 */ li r0, 0 -/* 80143834 00140794 90 81 00 3C */ stw r4, 0x3c(r1) -/* 80143838 00140798 38 9E 05 70 */ addi r4, r30, 0x570 -/* 8014383C 0014079C 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80143840 001407A0 38 C1 00 38 */ addi r6, r1, 0x38 -/* 80143844 001407A4 90 61 00 38 */ stw r3, 0x38(r1) -/* 80143848 001407A8 7F E3 FB 78 */ mr r3, r31 -/* 8014384C 001407AC 38 E0 00 00 */ li r7, 0 -/* 80143850 001407B0 91 01 00 30 */ stw r8, 0x30(r1) -/* 80143854 001407B4 90 01 00 44 */ stw r0, 0x44(r1) -/* 80143858 001407B8 90 01 00 40 */ stw r0, 0x40(r1) -/* 8014385C 001407BC 91 01 00 48 */ stw r8, 0x48(r1) -/* 80143860 001407C0 4B F0 8E C1 */ bl "BuildNearList__13CStateManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80143864 001407C4 80 7E 05 70 */ lwz r3, 0x570(r30) -/* 80143868 001407C8 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 8014386C 001407CC 7C 03 00 D0 */ neg r0, r3 -/* 80143870 001407D0 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 80143874 001407D4 7C 00 18 78 */ andc r0, r0, r3 -/* 80143878 001407D8 54 03 0F FE */ srwi r3, r0, 0x1f -/* 8014387C 001407DC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80143880 001407E0 7C 08 03 A6 */ mtlr r0 -/* 80143884 001407E4 38 21 00 70 */ addi r1, r1, 0x70 -/* 80143888 001407E8 4E 80 00 20 */ blr - -.global Think__9CFireFleaFfR13CStateManager -Think__9CFireFleaFfR13CStateManager: -/* 8014388C 001407EC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80143890 001407F0 7C 08 02 A6 */ mflr r0 -/* 80143894 001407F4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80143898 001407F8 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8014389C 001407FC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801438A0 00140800 41 82 00 08 */ beq lbl_801438A8 -/* 801438A4 00140804 4B F3 62 75 */ bl Think__10CPatternedFfR13CStateManager -lbl_801438A8: -/* 801438A8 00140808 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801438AC 0014080C 7C 08 03 A6 */ mtlr r0 -/* 801438B0 00140810 38 21 00 10 */ addi r1, r1, 0x10 -/* 801438B4 00140814 4E 80 00 20 */ blr - -.global AcceptScriptMsg__9CFireFleaF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__9CFireFleaF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 801438B8 00140818 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801438BC 0014081C 7C 08 02 A6 */ mflr r0 -/* 801438C0 00140820 90 01 00 34 */ stw r0, 0x34(r1) -/* 801438C4 00140824 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801438C8 00140828 7C DF 33 78 */ mr r31, r6 -/* 801438CC 0014082C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 801438D0 00140830 7C 9E 23 78 */ mr r30, r4 -/* 801438D4 00140834 93 A1 00 24 */ stw r29, 0x24(r1) -/* 801438D8 00140838 7C 7D 1B 78 */ mr r29, r3 -/* 801438DC 0014083C A0 05 00 00 */ lhz r0, 0(r5) -/* 801438E0 00140840 38 A1 00 08 */ addi r5, r1, 8 -/* 801438E4 00140844 B0 01 00 08 */ sth r0, 8(r1) -/* 801438E8 00140848 4B F3 92 91 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 801438EC 0014084C 2C 1E 00 22 */ cmpwi r30, 0x22 -/* 801438F0 00140850 41 82 00 64 */ beq lbl_80143954 -/* 801438F4 00140854 40 80 00 10 */ bge lbl_80143904 -/* 801438F8 00140858 2C 1E 00 21 */ cmpwi r30, 0x21 -/* 801438FC 0014085C 40 80 00 14 */ bge lbl_80143910 -/* 80143900 00140860 48 00 00 54 */ b lbl_80143954 -lbl_80143904: -/* 80143904 00140864 2C 1E 00 24 */ cmpwi r30, 0x24 -/* 80143908 00140868 40 80 00 4C */ bge lbl_80143954 -/* 8014390C 0014086C 48 00 00 14 */ b lbl_80143920 -lbl_80143910: -/* 80143910 00140870 80 7D 04 50 */ lwz r3, 0x450(r29) -/* 80143914 00140874 7F E4 FB 78 */ mr r4, r31 -/* 80143918 00140878 4B FF 73 D9 */ bl Activate__15CBodyControllerFR13CStateManager -/* 8014391C 0014087C 48 00 00 38 */ b lbl_80143954 -lbl_80143920: -/* 80143920 00140880 80 BD 00 04 */ lwz r5, 4(r29) -/* 80143924 00140884 80 9F 08 50 */ lwz r4, 0x850(r31) -/* 80143928 00140888 54 A3 18 38 */ slwi r3, r5, 3 -/* 8014392C 0014088C C0 02 9B E0 */ lfs f0, lbl_805AB900@sda21(r2) -/* 80143930 00140890 80 84 00 20 */ lwz r4, 0x20(r4) -/* 80143934 00140894 38 03 00 04 */ addi r0, r3, 4 -/* 80143938 00140898 90 A1 00 10 */ stw r5, 0x10(r1) -/* 8014393C 0014089C 7C 64 00 2E */ lwzx r3, r4, r0 -/* 80143940 001408A0 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80143944 001408A4 80 63 01 2C */ lwz r3, 0x12c(r3) -/* 80143948 001408A8 80 03 10 BC */ lwz r0, 0x10bc(r3) -/* 8014394C 001408AC 90 1D 0D 8C */ stw r0, 0xd8c(r29) -/* 80143950 001408B0 D0 1D 0E 64 */ stfs f0, 0xe64(r29) -lbl_80143954: -/* 80143954 001408B4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80143958 001408B8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8014395C 001408BC 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80143960 001408C0 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80143964 001408C4 7C 08 03 A6 */ mtlr r0 -/* 80143968 001408C8 38 21 00 30 */ addi r1, r1, 0x30 -/* 8014396C 001408CC 4E 80 00 20 */ blr - -.global Accept__9CFireFleaFR8IVisitor -Accept__9CFireFleaFR8IVisitor: -/* 80143970 001408D0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80143974 001408D4 7C 08 02 A6 */ mflr r0 -/* 80143978 001408D8 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014397C 001408DC 7C 60 1B 78 */ mr r0, r3 -/* 80143980 001408E0 7C 83 23 78 */ mr r3, r4 -/* 80143984 001408E4 81 84 00 00 */ lwz r12, 0(r4) -/* 80143988 001408E8 7C 04 03 78 */ mr r4, r0 -/* 8014398C 001408EC 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80143990 001408F0 7D 89 03 A6 */ mtctr r12 -/* 80143994 001408F4 4E 80 04 21 */ bctrl -/* 80143998 001408F8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8014399C 001408FC 7C 08 03 A6 */ mtlr r0 -/* 801439A0 00140900 38 21 00 10 */ addi r1, r1, 0x10 -/* 801439A4 00140904 4E 80 00 20 */ blr - -.global "__ct__9CFireFleaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfof" -"__ct__9CFireFleaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfof": -/* 801439A8 00140908 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 801439AC 0014090C 7C 08 02 A6 */ mflr r0 -/* 801439B0 00140910 90 01 00 64 */ stw r0, 0x64(r1) -/* 801439B4 00140914 DB E1 00 50 */ stfd f31, 0x50(r1) -/* 801439B8 00140918 F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0 -/* 801439BC 0014091C 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 801439C0 00140920 93 C1 00 48 */ stw r30, 0x48(r1) -/* 801439C4 00140924 93 A1 00 44 */ stw r29, 0x44(r1) -/* 801439C8 00140928 A0 04 00 00 */ lhz r0, 0(r4) -/* 801439CC 0014092C 7D 5D 53 78 */ mr r29, r10 -/* 801439D0 00140930 7C EB 3B 78 */ mr r11, r7 -/* 801439D4 00140934 7C CC 33 78 */ mr r12, r6 -/* 801439D8 00140938 B0 01 00 20 */ sth r0, 0x20(r1) -/* 801439DC 0014093C 7D 0A 43 78 */ mr r10, r8 -/* 801439E0 00140940 7C A6 2B 78 */ mr r6, r5 -/* 801439E4 00140944 38 80 00 01 */ li r4, 1 -/* 801439E8 00140948 93 A1 00 08 */ stw r29, 8(r1) -/* 801439EC 0014094C 38 E0 00 03 */ li r7, 3 -/* 801439F0 00140950 FF E0 08 90 */ fmr f31, f1 -/* 801439F4 00140954 38 00 00 00 */ li r0, 0 -/* 801439F8 00140958 90 81 00 0C */ stw r4, 0xc(r1) -/* 801439FC 0014095C 7C 7F 1B 78 */ mr r31, r3 -/* 80143A00 00140960 7D 88 63 78 */ mr r8, r12 -/* 80143A04 00140964 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80143A08 00140968 90 81 00 10 */ stw r4, 0x10(r1) -/* 80143A0C 0014096C 38 80 00 0A */ li r4, 0xa -/* 80143A10 00140970 90 E1 00 14 */ stw r7, 0x14(r1) -/* 80143A14 00140974 38 E0 00 00 */ li r7, 0 -/* 80143A18 00140978 91 21 00 18 */ stw r9, 0x18(r1) -/* 80143A1C 0014097C 7D 69 5B 78 */ mr r9, r11 -/* 80143A20 00140980 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80143A24 00140984 4B F3 9A 2D */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 80143A28 00140988 3C 60 80 3E */ lis r3, lbl_803E1C88@ha -/* 80143A2C 0014098C C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) -/* 80143A30 00140990 38 03 1C 88 */ addi r0, r3, lbl_803E1C88@l -/* 80143A34 00140994 38 80 00 00 */ li r4, 0 -/* 80143A38 00140998 90 1F 00 00 */ stw r0, 0(r31) -/* 80143A3C 0014099C 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80143A40 001409A0 38 C3 66 A0 */ addi r6, r3, skZero3f@l -/* 80143A44 001409A4 38 00 00 00 */ li r0, 0 -/* 80143A48 001409A8 D0 3F 05 68 */ stfs f1, 0x568(r31) -/* 80143A4C 001409AC FC 40 08 90 */ fmr f2, f1 -/* 80143A50 001409B0 38 7F 0D 8C */ addi r3, r31, 0xd8c -/* 80143A54 001409B4 38 A0 00 03 */ li r5, 3 -/* 80143A58 001409B8 D3 FF 05 6C */ stfs f31, 0x56c(r31) -/* 80143A5C 001409BC 90 1F 05 70 */ stw r0, 0x570(r31) -/* 80143A60 001409C0 C0 06 00 00 */ lfs f0, 0(r6) -/* 80143A64 001409C4 D0 1F 0D 74 */ stfs f0, 0xd74(r31) -/* 80143A68 001409C8 C0 06 00 04 */ lfs f0, 4(r6) -/* 80143A6C 001409CC D0 1F 0D 78 */ stfs f0, 0xd78(r31) -/* 80143A70 001409D0 C0 06 00 08 */ lfs f0, 8(r6) -/* 80143A74 001409D4 D0 1F 0D 7C */ stfs f0, 0xd7c(r31) -/* 80143A78 001409D8 C0 06 00 00 */ lfs f0, 0(r6) -/* 80143A7C 001409DC D0 1F 0D 80 */ stfs f0, 0xd80(r31) -/* 80143A80 001409E0 C0 06 00 04 */ lfs f0, 4(r6) -/* 80143A84 001409E4 D0 1F 0D 84 */ stfs f0, 0xd84(r31) -/* 80143A88 001409E8 C0 06 00 08 */ lfs f0, 8(r6) -/* 80143A8C 001409EC D0 1F 0D 88 */ stfs f0, 0xd88(r31) -/* 80143A90 001409F0 80 DD 01 0C */ lwz r6, 0x10c(r29) -/* 80143A94 001409F4 48 08 53 01 */ bl __ct__15CPathFindSearchFP7CPFAreaUiff -/* 80143A98 001409F8 7F E3 FB 78 */ mr r3, r31 -/* 80143A9C 001409FC 4B F0 FE 21 */ bl GetMaterialFilter__6CActorCFv -/* 80143AA0 00140A00 80 AD 8B C0 */ lwz r5, lbl_805A7780@sda21(r13) -/* 80143AA4 00140A04 38 80 00 01 */ li r4, 1 -/* 80143AA8 00140A08 83 C3 00 08 */ lwz r30, 8(r3) -/* 80143AAC 00140A0C 83 A3 00 0C */ lwz r29, 0xc(r3) -/* 80143AB0 00140A10 38 60 00 00 */ li r3, 0 -/* 80143AB4 00140A14 48 24 64 41 */ bl __shl2i -/* 80143AB8 00140A18 7F DE 1B 78 */ or r30, r30, r3 -/* 80143ABC 00140A1C 7F E3 FB 78 */ mr r3, r31 -/* 80143AC0 00140A20 7F BD 23 78 */ or r29, r29, r4 -/* 80143AC4 00140A24 4B F0 FD F9 */ bl GetMaterialFilter__6CActorCFv -/* 80143AC8 00140A28 80 A3 00 00 */ lwz r5, 0(r3) -/* 80143ACC 00140A2C 38 00 00 03 */ li r0, 3 -/* 80143AD0 00140A30 80 C3 00 04 */ lwz r6, 4(r3) -/* 80143AD4 00140A34 7F E3 FB 78 */ mr r3, r31 -/* 80143AD8 00140A38 38 81 00 28 */ addi r4, r1, 0x28 -/* 80143ADC 00140A3C 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 80143AE0 00140A40 90 A1 00 28 */ stw r5, 0x28(r1) -/* 80143AE4 00140A44 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80143AE8 00140A48 93 C1 00 30 */ stw r30, 0x30(r1) -/* 80143AEC 00140A4C 90 01 00 38 */ stw r0, 0x38(r1) -/* 80143AF0 00140A50 4B F0 FD B1 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter -/* 80143AF4 00140A54 80 9F 00 64 */ lwz r4, 0x64(r31) -/* 80143AF8 00140A58 7F E3 FB 78 */ mr r3, r31 -/* 80143AFC 00140A5C 80 0D A3 DC */ lwz r0, lbl_805A8F9C@sda21(r13) -/* 80143B00 00140A60 80 84 00 10 */ lwz r4, 0x10(r4) -/* 80143B04 00140A64 90 04 02 1C */ stw r0, 0x21c(r4) -/* 80143B08 00140A68 80 8D A3 DC */ lwz r4, lbl_805A8F9C@sda21(r13) -/* 80143B0C 00140A6C 38 04 00 01 */ addi r0, r4, 1 -/* 80143B10 00140A70 90 0D A3 DC */ stw r0, lbl_805A8F9C@sda21(r13) -/* 80143B14 00140A74 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0 -/* 80143B18 00140A78 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80143B1C 00140A7C CB E1 00 50 */ lfd f31, 0x50(r1) -/* 80143B20 00140A80 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80143B24 00140A84 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80143B28 00140A88 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80143B2C 00140A8C 7C 08 03 A6 */ mtlr r0 -/* 80143B30 00140A90 38 21 00 60 */ addi r1, r1, 0x60 -/* 80143B34 00140A94 4E 80 00 20 */ blr - -.global Accept__Q29CFireFlea18CDeathCameraEffectFR8IVisitor -Accept__Q29CFireFlea18CDeathCameraEffectFR8IVisitor: -/* 80143B38 00140A98 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80143B3C 00140A9C 7C 08 02 A6 */ mflr r0 -/* 80143B40 00140AA0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80143B44 00140AA4 7C 60 1B 78 */ mr r0, r3 -/* 80143B48 00140AA8 7C 83 23 78 */ mr r3, r4 -/* 80143B4C 00140AAC 81 84 00 00 */ lwz r12, 0(r4) -/* 80143B50 00140AB0 7C 04 03 78 */ mr r4, r0 -/* 80143B54 00140AB4 81 8C 00 24 */ lwz r12, 0x24(r12) -/* 80143B58 00140AB8 7D 89 03 A6 */ mtctr r12 -/* 80143B5C 00140ABC 4E 80 04 21 */ bctrl -/* 80143B60 00140AC0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80143B64 00140AC4 7C 08 03 A6 */ mtlr r0 -/* 80143B68 00140AC8 38 21 00 10 */ addi r1, r1, 0x10 -/* 80143B6C 00140ACC 4E 80 00 20 */ blr - -.global Think__Q29CFireFlea18CDeathCameraEffectFfR13CStateManager -Think__Q29CFireFlea18CDeathCameraEffectFfR13CStateManager: -/* 80143B70 00140AD0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80143B74 00140AD4 7C 08 02 A6 */ mflr r0 -/* 80143B78 00140AD8 C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) -/* 80143B7C 00140ADC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80143B80 00140AE0 38 61 00 08 */ addi r3, r1, 8 -/* 80143B84 00140AE4 FC 40 08 90 */ fmr f2, f1 -/* 80143B88 00140AE8 FC 60 08 90 */ fmr f3, f1 -/* 80143B8C 00140AEC FC 80 08 90 */ fmr f4, f1 -/* 80143B90 00140AF0 48 21 F8 5D */ bl __ct__6CColorFffff -/* 80143B94 00140AF4 80 01 00 08 */ lwz r0, 8(r1) -/* 80143B98 00140AF8 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) -/* 80143B9C 00140AFC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80143BA0 00140B00 7C 08 03 A6 */ mtlr r0 -/* 80143BA4 00140B04 38 21 00 10 */ addi r1, r1, 0x10 -/* 80143BA8 00140B08 4E 80 00 20 */ blr - -.global PreThink__Q29CFireFlea18CDeathCameraEffectFfR13CStateManager -PreThink__Q29CFireFlea18CDeathCameraEffectFfR13CStateManager: -/* 80143BAC 00140B0C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80143BB0 00140B10 7C 08 02 A6 */ mflr r0 -/* 80143BB4 00140B14 90 01 00 44 */ stw r0, 0x44(r1) -/* 80143BB8 00140B18 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80143BBC 00140B1C 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80143BC0 00140B20 7C 9E 23 78 */ mr r30, r4 -/* 80143BC4 00140B24 93 A1 00 34 */ stw r29, 0x34(r1) -/* 80143BC8 00140B28 7C 7D 1B 78 */ mr r29, r3 -/* 80143BCC 00140B2C 93 81 00 30 */ stw r28, 0x30(r1) -/* 80143BD0 00140B30 3B 9E 0C 64 */ addi r28, r30, 0xc64 -/* 80143BD4 00140B34 80 63 00 34 */ lwz r3, 0x34(r3) -/* 80143BD8 00140B38 80 DD 00 38 */ lwz r6, 0x38(r29) -/* 80143BDC 00140B3C 80 9D 00 44 */ lwz r4, 0x44(r29) -/* 80143BE0 00140B40 80 1D 00 3C */ lwz r0, 0x3c(r29) -/* 80143BE4 00140B44 7C A3 32 14 */ add r5, r3, r6 -/* 80143BE8 00140B48 7C 04 18 40 */ cmplw r4, r3 -/* 80143BEC 00140B4C 80 FD 00 40 */ lwz r7, 0x40(r29) -/* 80143BF0 00140B50 7D 05 02 14 */ add r8, r5, r0 -/* 80143BF4 00140B54 7F E8 3A 14 */ add r31, r8, r7 -/* 80143BF8 00140B58 41 80 00 84 */ blt lbl_80143C7C -/* 80143BFC 00140B5C 7C 04 28 40 */ cmplw r4, r5 -/* 80143C00 00140B60 41 81 00 7C */ bgt lbl_80143C7C -/* 80143C04 00140B64 3C 00 43 30 */ lis r0, 0x4330 -/* 80143C08 00140B68 7C 63 20 50 */ subf r3, r3, r4 -/* 80143C0C 00140B6C 90 61 00 24 */ stw r3, 0x24(r1) -/* 80143C10 00140B70 38 61 00 18 */ addi r3, r1, 0x18 -/* 80143C14 00140B74 C8 42 9B E8 */ lfd f2, lbl_805AB908@sda21(r2) -/* 80143C18 00140B78 38 8D A3 D4 */ addi r4, r13, lbl_805A8F94@sda21 -/* 80143C1C 00140B7C 90 01 00 20 */ stw r0, 0x20(r1) -/* 80143C20 00140B80 38 AD A3 D0 */ addi r5, r13, lbl_805A8F90@sda21 -/* 80143C24 00140B84 C8 01 00 20 */ lfd f0, 0x20(r1) -/* 80143C28 00140B88 90 C1 00 2C */ stw r6, 0x2c(r1) -/* 80143C2C 00140B8C EC 20 10 28 */ fsubs f1, f0, f2 -/* 80143C30 00140B90 90 01 00 28 */ stw r0, 0x28(r1) -/* 80143C34 00140B94 C8 01 00 28 */ lfd f0, 0x28(r1) -/* 80143C38 00140B98 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80143C3C 00140B9C EC 21 00 24 */ fdivs f1, f1, f0 -/* 80143C40 00140BA0 48 21 F6 6D */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80143C44 00140BA4 38 61 00 1C */ addi r3, r1, 0x1c -/* 80143C48 00140BA8 38 A1 00 18 */ addi r5, r1, 0x18 -/* 80143C4C 00140BAC 38 8D A3 D8 */ addi r4, r13, lbl_805A8F98@sda21 -/* 80143C50 00140BB0 48 21 F4 61 */ bl Add__6CColorFRC6CColorRC6CColor -/* 80143C54 00140BB4 80 01 00 1C */ lwz r0, 0x1c(r1) -/* 80143C58 00140BB8 7F 83 E3 78 */ mr r3, r28 -/* 80143C5C 00140BBC C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) -/* 80143C60 00140BC0 38 80 00 05 */ li r4, 5 -/* 80143C64 00140BC4 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) -/* 80143C68 00140BC8 38 A0 00 00 */ li r5, 0 -/* 80143C6C 00140BCC 38 CD A3 D8 */ addi r6, r13, lbl_805A8F98@sda21 -/* 80143C70 00140BD0 38 E0 FF FF */ li r7, -1 -/* 80143C74 00140BD4 4B FA 97 2D */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -/* 80143C78 00140BD8 48 00 00 B8 */ b lbl_80143D30 -lbl_80143C7C: -/* 80143C7C 00140BDC 7C 04 40 40 */ cmplw r4, r8 -/* 80143C80 00140BE0 41 80 00 84 */ blt lbl_80143D04 -/* 80143C84 00140BE4 7C 04 F8 40 */ cmplw r4, r31 -/* 80143C88 00140BE8 41 81 00 7C */ bgt lbl_80143D04 -/* 80143C8C 00140BEC 3C 00 43 30 */ lis r0, 0x4330 -/* 80143C90 00140BF0 7C 68 20 50 */ subf r3, r8, r4 -/* 80143C94 00140BF4 90 61 00 2C */ stw r3, 0x2c(r1) -/* 80143C98 00140BF8 38 61 00 10 */ addi r3, r1, 0x10 -/* 80143C9C 00140BFC C8 42 9B E8 */ lfd f2, lbl_805AB908@sda21(r2) -/* 80143CA0 00140C00 38 8D A3 D0 */ addi r4, r13, lbl_805A8F90@sda21 -/* 80143CA4 00140C04 90 01 00 28 */ stw r0, 0x28(r1) -/* 80143CA8 00140C08 38 AD A3 D4 */ addi r5, r13, lbl_805A8F94@sda21 -/* 80143CAC 00140C0C C8 01 00 28 */ lfd f0, 0x28(r1) -/* 80143CB0 00140C10 90 E1 00 24 */ stw r7, 0x24(r1) -/* 80143CB4 00140C14 EC 20 10 28 */ fsubs f1, f0, f2 -/* 80143CB8 00140C18 90 01 00 20 */ stw r0, 0x20(r1) -/* 80143CBC 00140C1C C8 01 00 20 */ lfd f0, 0x20(r1) -/* 80143CC0 00140C20 EC 00 10 28 */ fsubs f0, f0, f2 -/* 80143CC4 00140C24 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80143CC8 00140C28 48 21 F5 E5 */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80143CCC 00140C2C 38 61 00 14 */ addi r3, r1, 0x14 -/* 80143CD0 00140C30 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80143CD4 00140C34 38 8D A3 D8 */ addi r4, r13, lbl_805A8F98@sda21 -/* 80143CD8 00140C38 48 21 F3 D9 */ bl Add__6CColorFRC6CColorRC6CColor -/* 80143CDC 00140C3C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80143CE0 00140C40 7F 83 E3 78 */ mr r3, r28 -/* 80143CE4 00140C44 C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) -/* 80143CE8 00140C48 38 80 00 05 */ li r4, 5 -/* 80143CEC 00140C4C 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) -/* 80143CF0 00140C50 38 A0 00 00 */ li r5, 0 -/* 80143CF4 00140C54 38 CD A3 D8 */ addi r6, r13, lbl_805A8F98@sda21 -/* 80143CF8 00140C58 38 E0 FF FF */ li r7, -1 -/* 80143CFC 00140C5C 4B FA 96 A5 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -/* 80143D00 00140C60 48 00 00 30 */ b lbl_80143D30 -lbl_80143D04: -/* 80143D04 00140C64 7C 04 28 40 */ cmplw r4, r5 -/* 80143D08 00140C68 41 80 00 28 */ blt lbl_80143D30 -/* 80143D0C 00140C6C 80 0D A3 D0 */ lwz r0, lbl_805A8F90@sda21(r13) -/* 80143D10 00140C70 7F 83 E3 78 */ mr r3, r28 -/* 80143D14 00140C74 C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) -/* 80143D18 00140C78 38 80 00 05 */ li r4, 5 -/* 80143D1C 00140C7C 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) -/* 80143D20 00140C80 38 A0 00 00 */ li r5, 0 -/* 80143D24 00140C84 38 CD A3 D8 */ addi r6, r13, lbl_805A8F98@sda21 -/* 80143D28 00140C88 38 E0 FF FF */ li r7, -1 -/* 80143D2C 00140C8C 4B FA 96 75 */ bl SetFilter__17CCameraFilterPassFQ217CCameraFilterPass11EFilterTypeQ217CCameraFilterPass12EFilterShapefRC6CColorUi -lbl_80143D30: -/* 80143D30 00140C90 80 7D 00 44 */ lwz r3, 0x44(r29) -/* 80143D34 00140C94 7C 03 F8 40 */ cmplw r3, r31 -/* 80143D38 00140C98 40 82 00 34 */ bne lbl_80143D6C -/* 80143D3C 00140C9C C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) -/* 80143D40 00140CA0 7F 83 E3 78 */ mr r3, r28 -/* 80143D44 00140CA4 4B FA 96 25 */ bl DisableFilter__17CCameraFilterPassFf -/* 80143D48 00140CA8 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80143D4C 00140CAC 7F C3 F3 78 */ mr r3, r30 -/* 80143D50 00140CB0 38 81 00 0C */ addi r4, r1, 0xc -/* 80143D54 00140CB4 B0 01 00 08 */ sth r0, 8(r1) -/* 80143D58 00140CB8 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80143D5C 00140CBC 4B F0 85 11 */ bl FreeScriptObject__13CStateManagerF9TUniqueId -/* 80143D60 00140CC0 38 00 00 00 */ li r0, 0 -/* 80143D64 00140CC4 90 1D 00 44 */ stw r0, 0x44(r29) -/* 80143D68 00140CC8 48 00 00 0C */ b lbl_80143D74 -lbl_80143D6C: -/* 80143D6C 00140CCC 38 03 00 01 */ addi r0, r3, 1 -/* 80143D70 00140CD0 90 1D 00 44 */ stw r0, 0x44(r29) -lbl_80143D74: -/* 80143D74 00140CD4 80 7E 08 B8 */ lwz r3, 0x8b8(r30) -/* 80143D78 00140CD8 7F C4 F3 78 */ mr r4, r30 -/* 80143D7C 00140CDC 80 63 00 00 */ lwz r3, 0(r3) -/* 80143D80 00140CE0 4B F4 D7 D9 */ bl GetActiveVisor__12CPlayerStateCFRC13CStateManager -/* 80143D84 00140CE4 2C 03 00 03 */ cmpwi r3, 3 -/* 80143D88 00140CE8 41 82 00 10 */ beq lbl_80143D98 -/* 80143D8C 00140CEC C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) -/* 80143D90 00140CF0 7F 83 E3 78 */ mr r3, r28 -/* 80143D94 00140CF4 4B FA 95 D5 */ bl DisableFilter__17CCameraFilterPassFf -lbl_80143D98: -/* 80143D98 00140CF8 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80143D9C 00140CFC 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80143DA0 00140D00 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 80143DA4 00140D04 83 A1 00 34 */ lwz r29, 0x34(r1) -/* 80143DA8 00140D08 83 81 00 30 */ lwz r28, 0x30(r1) -/* 80143DAC 00140D0C 7C 08 03 A6 */ mtlr r0 -/* 80143DB0 00140D10 38 21 00 40 */ addi r1, r1, 0x40 -/* 80143DB4 00140D14 4E 80 00 20 */ blr - -.global "__ct__Q29CFireFlea18CDeathCameraEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -"__ct__Q29CFireFlea18CDeathCameraEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>": -/* 80143DB8 00140D18 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80143DBC 00140D1C 7C 08 02 A6 */ mflr r0 -/* 80143DC0 00140D20 3C E0 80 57 */ lis r7, lbl_8056D410@ha -/* 80143DC4 00140D24 90 01 00 54 */ stw r0, 0x54(r1) -/* 80143DC8 00140D28 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80143DCC 00140D2C 7C 7F 1B 78 */ mr r31, r3 -/* 80143DD0 00140D30 38 61 00 24 */ addi r3, r1, 0x24 -/* 80143DD4 00140D34 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80143DD8 00140D38 7C DE 33 78 */ mr r30, r6 -/* 80143DDC 00140D3C 38 C1 00 1C */ addi r6, r1, 0x1c -/* 80143DE0 00140D40 93 A1 00 44 */ stw r29, 0x44(r1) -/* 80143DE4 00140D44 7C 9D 23 78 */ mr r29, r4 -/* 80143DE8 00140D48 38 81 00 20 */ addi r4, r1, 0x20 -/* 80143DEC 00140D4C 80 05 00 00 */ lwz r0, 0(r5) -/* 80143DF0 00140D50 38 A7 D4 10 */ addi r5, r7, lbl_8056D410@l -/* 80143DF4 00140D54 81 0D A3 88 */ lwz r8, lbl_805A8F48@sda21(r13) -/* 80143DF8 00140D58 90 01 00 20 */ stw r0, 0x20(r1) -/* 80143DFC 00140D5C 91 01 00 1C */ stw r8, 0x1c(r1) -/* 80143E00 00140D60 4B F0 D6 85 */ bl "__ct__11CEntityInfoF7TAreaIdRCQ24rstl48vector<11SConnection,Q24rstl17rmemory_allocator>9TEditorId" -/* 80143E04 00140D64 A0 1D 00 00 */ lhz r0, 0(r29) -/* 80143E08 00140D68 7F E3 FB 78 */ mr r3, r31 -/* 80143E0C 00140D6C 7F C7 F3 78 */ mr r7, r30 -/* 80143E10 00140D70 38 81 00 08 */ addi r4, r1, 8 -/* 80143E14 00140D74 B0 01 00 08 */ sth r0, 8(r1) -/* 80143E18 00140D78 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80143E1C 00140D7C 38 C0 00 01 */ li r6, 1 -/* 80143E20 00140D80 4B F0 D5 05 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80143E24 00140D84 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 80143E28 00140D88 80 61 00 34 */ lwz r3, 0x34(r1) -/* 80143E2C 00140D8C 1C 00 00 0C */ mulli r0, r0, 0xc -/* 80143E30 00140D90 90 61 00 10 */ stw r3, 0x10(r1) -/* 80143E34 00140D94 7C 64 1B 78 */ mr r4, r3 -/* 80143E38 00140D98 7C 03 02 14 */ add r0, r3, r0 -/* 80143E3C 00140D9C 90 61 00 0C */ stw r3, 0xc(r1) -/* 80143E40 00140DA0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80143E44 00140DA4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80143E48 00140DA8 48 00 00 08 */ b lbl_80143E50 -lbl_80143E4C: -/* 80143E4C 00140DAC 38 84 00 0C */ addi r4, r4, 0xc -lbl_80143E50: -/* 80143E50 00140DB0 7C 04 00 40 */ cmplw r4, r0 -/* 80143E54 00140DB4 40 82 FF F8 */ bne lbl_80143E4C -/* 80143E58 00140DB8 28 03 00 00 */ cmplwi r3, 0 -/* 80143E5C 00140DBC 41 82 00 08 */ beq lbl_80143E64 -/* 80143E60 00140DC0 48 1D 1A D1 */ bl Free__7CMemoryFPCv -lbl_80143E64: -/* 80143E64 00140DC4 3C 80 80 3E */ lis r4, lbl_803E1F54@ha -/* 80143E68 00140DC8 38 60 00 0D */ li r3, 0xd -/* 80143E6C 00140DCC 38 04 1F 54 */ addi r0, r4, lbl_803E1F54@l -/* 80143E70 00140DD0 38 C0 00 05 */ li r6, 5 -/* 80143E74 00140DD4 90 1F 00 00 */ stw r0, 0(r31) -/* 80143E78 00140DD8 38 A0 00 3C */ li r5, 0x3c -/* 80143E7C 00140DDC 38 80 00 BE */ li r4, 0xbe -/* 80143E80 00140DE0 38 00 00 00 */ li r0, 0 -/* 80143E84 00140DE4 90 7F 00 34 */ stw r3, 0x34(r31) -/* 80143E88 00140DE8 7F E3 FB 78 */ mr r3, r31 -/* 80143E8C 00140DEC 90 DF 00 38 */ stw r6, 0x38(r31) -/* 80143E90 00140DF0 90 BF 00 3C */ stw r5, 0x3c(r31) -/* 80143E94 00140DF4 90 9F 00 40 */ stw r4, 0x40(r31) -/* 80143E98 00140DF8 90 1F 00 44 */ stw r0, 0x44(r31) -/* 80143E9C 00140DFC 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80143EA0 00140E00 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80143EA4 00140E04 83 A1 00 44 */ lwz r29, 0x44(r1) -/* 80143EA8 00140E08 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80143EAC 00140E0C 7C 08 03 A6 */ mtlr r0 -/* 80143EB0 00140E10 38 21 00 50 */ addi r1, r1, 0x50 -/* 80143EB4 00140E14 4E 80 00 20 */ blr - -.global __dt__Q29CFireFlea18CDeathCameraEffectFv -__dt__Q29CFireFlea18CDeathCameraEffectFv: -/* 80143EB8 00140E18 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80143EBC 00140E1C 7C 08 02 A6 */ mflr r0 -/* 80143EC0 00140E20 90 01 00 14 */ stw r0, 0x14(r1) -/* 80143EC4 00140E24 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80143EC8 00140E28 7C 9F 23 78 */ mr r31, r4 -/* 80143ECC 00140E2C 93 C1 00 08 */ stw r30, 8(r1) -/* 80143ED0 00140E30 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80143ED4 00140E34 41 82 00 28 */ beq lbl_80143EFC -/* 80143ED8 00140E38 3C A0 80 3E */ lis r5, lbl_803E1F54@ha -/* 80143EDC 00140E3C 38 80 00 00 */ li r4, 0 -/* 80143EE0 00140E40 38 05 1F 54 */ addi r0, r5, lbl_803E1F54@l -/* 80143EE4 00140E44 90 1E 00 00 */ stw r0, 0(r30) -/* 80143EE8 00140E48 4B F0 D3 8D */ bl __dt__7CEntityFv -/* 80143EEC 00140E4C 7F E0 07 35 */ extsh. r0, r31 -/* 80143EF0 00140E50 40 81 00 0C */ ble lbl_80143EFC -/* 80143EF4 00140E54 7F C3 F3 78 */ mr r3, r30 -/* 80143EF8 00140E58 48 1D 1A 39 */ bl Free__7CMemoryFPCv -lbl_80143EFC: -/* 80143EFC 00140E5C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80143F00 00140E60 7F C3 F3 78 */ mr r3, r30 -/* 80143F04 00140E64 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80143F08 00140E68 83 C1 00 08 */ lwz r30, 8(r1) -/* 80143F0C 00140E6C 7C 08 03 A6 */ mtlr r0 -/* 80143F10 00140E70 38 21 00 10 */ addi r1, r1, 0x10 -/* 80143F14 00140E74 4E 80 00 20 */ blr - -.global __sinit_CFireFlea_cpp -__sinit_CFireFlea_cpp: -/* 80143F18 00140E78 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80143F1C 00140E7C 7C 08 02 A6 */ mflr r0 -/* 80143F20 00140E80 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) -/* 80143F24 00140E84 38 6D A3 D0 */ addi r3, r13, lbl_805A8F90@sda21 -/* 80143F28 00140E88 90 01 00 14 */ stw r0, 0x14(r1) -/* 80143F2C 00140E8C FC 40 08 90 */ fmr f2, f1 -/* 80143F30 00140E90 C0 62 9B C0 */ lfs f3, lbl_805AB8E0@sda21(r2) -/* 80143F34 00140E94 FC 80 08 90 */ fmr f4, f1 -/* 80143F38 00140E98 48 21 F4 B5 */ bl __ct__6CColorFffff -/* 80143F3C 00140E9C C0 42 9B D0 */ lfs f2, lbl_805AB8F0@sda21(r2) -/* 80143F40 00140EA0 38 6D A3 D4 */ addi r3, r13, lbl_805A8F94@sda21 -/* 80143F44 00140EA4 C0 22 9B CC */ lfs f1, lbl_805AB8EC@sda21(r2) -/* 80143F48 00140EA8 FC 60 10 90 */ fmr f3, f2 -/* 80143F4C 00140EAC FC 80 10 90 */ fmr f4, f2 -/* 80143F50 00140EB0 48 21 F4 9D */ bl __ct__6CColorFffff -/* 80143F54 00140EB4 C0 22 9B D0 */ lfs f1, lbl_805AB8F0@sda21(r2) -/* 80143F58 00140EB8 38 61 00 08 */ addi r3, r1, 8 -/* 80143F5C 00140EBC FC 40 08 90 */ fmr f2, f1 -/* 80143F60 00140EC0 FC 60 08 90 */ fmr f3, f1 -/* 80143F64 00140EC4 FC 80 08 90 */ fmr f4, f1 -/* 80143F68 00140EC8 48 21 F4 85 */ bl __ct__6CColorFffff -/* 80143F6C 00140ECC 80 01 00 08 */ lwz r0, 8(r1) -/* 80143F70 00140ED0 90 0D A3 D8 */ stw r0, lbl_805A8F98@sda21(r13) -/* 80143F74 00140ED4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80143F78 00140ED8 7C 08 03 A6 */ mtlr r0 -/* 80143F7C 00140EDC 38 21 00 10 */ addi r1, r1, 0x10 -/* 80143F80 00140EE0 4E 80 00 20 */ blr - -.global __dt__8CBSSlideFv -__dt__8CBSSlideFv: -/* 80143F84 00140EE4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80143F88 00140EE8 7C 08 02 A6 */ mflr r0 -/* 80143F8C 00140EEC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80143F90 00140EF0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80143F94 00140EF4 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80143F98 00140EF8 41 82 00 30 */ beq lbl_80143FC8 -/* 80143F9C 00140EFC 3C 60 80 3E */ lis r3, lbl_803E1F78@ha -/* 80143FA0 00140F00 38 03 1F 78 */ addi r0, r3, lbl_803E1F78@l -/* 80143FA4 00140F04 90 1F 00 00 */ stw r0, 0(r31) -/* 80143FA8 00140F08 41 82 00 10 */ beq lbl_80143FB8 -/* 80143FAC 00140F0C 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80143FB0 00140F10 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80143FB4 00140F14 90 1F 00 00 */ stw r0, 0(r31) -lbl_80143FB8: -/* 80143FB8 00140F18 7C 80 07 35 */ extsh. r0, r4 -/* 80143FBC 00140F1C 40 81 00 0C */ ble lbl_80143FC8 -/* 80143FC0 00140F20 7F E3 FB 78 */ mr r3, r31 -/* 80143FC4 00140F24 48 1D 19 6D */ bl Free__7CMemoryFPCv -lbl_80143FC8: -/* 80143FC8 00140F28 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80143FCC 00140F2C 7F E3 FB 78 */ mr r3, r31 -/* 80143FD0 00140F30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80143FD4 00140F34 7C 08 03 A6 */ mtlr r0 -/* 80143FD8 00140F38 38 21 00 10 */ addi r1, r1, 0x10 -/* 80143FDC 00140F3C 4E 80 00 20 */ blr - -.global IsMoving__8CBSSlideCFv -IsMoving__8CBSSlideCFv: -/* 80143FE0 00140F40 38 60 00 01 */ li r3, 1 -/* 80143FE4 00140F44 4E 80 00 20 */ blr - -.global ApplyHeadTracking__8CBSSlideCFv -ApplyHeadTracking__8CBSSlideCFv: -/* 80143FE8 00140F48 38 60 00 00 */ li r3, 0 -/* 80143FEC 00140F4C 4E 80 00 20 */ blr - -.global GetBodyStateTransition__8CBSSlideFfR15CBodyController -GetBodyStateTransition__8CBSSlideFfR15CBodyController: -/* 80143FF0 00140F50 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80143FF4 00140F54 7C 08 02 A6 */ mflr r0 -/* 80143FF8 00140F58 90 01 00 14 */ stw r0, 0x14(r1) -/* 80143FFC 00140F5C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80144000 00140F60 93 C1 00 08 */ stw r30, 8(r1) -/* 80144004 00140F64 7C 9E 23 78 */ mr r30, r4 -/* 80144008 00140F68 3B FE 00 04 */ addi r31, r30, 4 -/* 8014400C 00140F6C 38 80 00 0F */ li r4, 0xf -/* 80144010 00140F70 7F E3 FB 78 */ mr r3, r31 -/* 80144014 00140F74 4B FE D4 3D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80144018 00140F78 28 03 00 00 */ cmplwi r3, 0 -/* 8014401C 00140F7C 41 82 00 0C */ beq lbl_80144028 -/* 80144020 00140F80 38 60 00 0E */ li r3, 0xe -/* 80144024 00140F84 48 00 00 6C */ b lbl_80144090 -lbl_80144028: -/* 80144028 00140F88 7F E3 FB 78 */ mr r3, r31 -/* 8014402C 00140F8C 38 80 00 03 */ li r4, 3 -/* 80144030 00140F90 4B FE D4 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80144034 00140F94 28 03 00 00 */ cmplwi r3, 0 -/* 80144038 00140F98 41 82 00 0C */ beq lbl_80144044 -/* 8014403C 00140F9C 38 60 00 00 */ li r3, 0 -/* 80144040 00140FA0 48 00 00 50 */ b lbl_80144090 -lbl_80144044: -/* 80144044 00140FA4 7F E3 FB 78 */ mr r3, r31 -/* 80144048 00140FA8 38 80 00 09 */ li r4, 9 -/* 8014404C 00140FAC 4B FE D4 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80144050 00140FB0 28 03 00 00 */ cmplwi r3, 0 -/* 80144054 00140FB4 41 82 00 0C */ beq lbl_80144060 -/* 80144058 00140FB8 38 60 00 0A */ li r3, 0xa -/* 8014405C 00140FBC 48 00 00 34 */ b lbl_80144090 -lbl_80144060: -/* 80144060 00140FC0 7F E3 FB 78 */ mr r3, r31 -/* 80144064 00140FC4 38 80 00 04 */ li r4, 4 -/* 80144068 00140FC8 4B FE D3 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8014406C 00140FCC 28 03 00 00 */ cmplwi r3, 0 -/* 80144070 00140FD0 41 82 00 0C */ beq lbl_8014407C -/* 80144074 00140FD4 38 60 00 06 */ li r3, 6 -/* 80144078 00140FD8 48 00 00 18 */ b lbl_80144090 -lbl_8014407C: -/* 8014407C 00140FDC 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 80144080 00140FE0 38 60 FF FF */ li r3, -1 -/* 80144084 00140FE4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80144088 00140FE8 41 82 00 08 */ beq lbl_80144090 -/* 8014408C 00140FEC 38 60 00 05 */ li r3, 5 -lbl_80144090: -/* 80144090 00140FF0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80144094 00140FF4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80144098 00140FF8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8014409C 00140FFC 7C 08 03 A6 */ mtlr r0 -/* 801440A0 00141000 38 21 00 10 */ addi r1, r1, 0x10 -/* 801440A4 00141004 4E 80 00 20 */ blr - -.global Shutdown__8CBSSlideFR15CBodyController -Shutdown__8CBSSlideFR15CBodyController: -/* 801440A8 00141008 4E 80 00 20 */ blr - -.global UpdateBody__8CBSSlideFfR15CBodyControllerR13CStateManager -UpdateBody__8CBSSlideFfR15CBodyControllerR13CStateManager: -/* 801440AC 0014100C 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 801440B0 00141010 7C 08 02 A6 */ mflr r0 -/* 801440B4 00141014 90 01 00 44 */ stw r0, 0x44(r1) -/* 801440B8 00141018 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 801440BC 0014101C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 801440C0 00141020 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 801440C4 00141024 93 C1 00 28 */ stw r30, 0x28(r1) -/* 801440C8 00141028 93 A1 00 24 */ stw r29, 0x24(r1) -/* 801440CC 0014102C FF E0 08 90 */ fmr f31, f1 -/* 801440D0 00141030 7C 7D 1B 78 */ mr r29, r3 -/* 801440D4 00141034 7C 9E 23 78 */ mr r30, r4 -/* 801440D8 00141038 4B FF FF 19 */ bl GetBodyStateTransition__8CBSSlideFfR15CBodyController -/* 801440DC 0014103C 7C 7F 1B 78 */ mr r31, r3 -/* 801440E0 00141040 2C 1F FF FF */ cmpwi r31, -1 -/* 801440E4 00141044 40 82 00 34 */ bne lbl_80144118 -/* 801440E8 00141048 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2) -/* 801440EC 0014104C C0 3D 00 04 */ lfs f1, 4(r29) -/* 801440F0 00141050 FC 00 08 00 */ fcmpu cr0, f0, f1 -/* 801440F4 00141054 41 82 00 24 */ beq lbl_80144118 -/* 801440F8 00141058 EC 1F 00 72 */ fmuls f0, f31, f1 -/* 801440FC 0014105C 38 61 00 0C */ addi r3, r1, 0xc -/* 80144100 00141060 38 81 00 08 */ addi r4, r1, 8 -/* 80144104 00141064 D0 01 00 08 */ stfs f0, 8(r1) -/* 80144108 00141068 48 1C CF F1 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 8014410C 0014106C 7F C3 F3 78 */ mr r3, r30 -/* 80144110 00141070 38 81 00 0C */ addi r4, r1, 0xc -/* 80144114 00141074 4B FF 66 F5 */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion -lbl_80144118: -/* 80144118 00141078 7F E3 FB 78 */ mr r3, r31 -/* 8014411C 0014107C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80144120 00141080 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80144124 00141084 CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80144128 00141088 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8014412C 0014108C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80144130 00141090 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80144134 00141094 7C 08 03 A6 */ mtlr r0 -/* 80144138 00141098 38 21 00 40 */ addi r1, r1, 0x40 -/* 8014413C 0014109C 4E 80 00 20 */ blr - -.global Start__8CBSSlideFR15CBodyControllerR13CStateManager -Start__8CBSSlideFR15CBodyControllerR13CStateManager: -/* 80144140 001410A0 94 21 FE D0 */ stwu r1, -0x130(r1) -/* 80144144 001410A4 7C 08 02 A6 */ mflr r0 -/* 80144148 001410A8 90 01 01 34 */ stw r0, 0x134(r1) -/* 8014414C 001410AC DB E1 01 20 */ stfd f31, 0x120(r1) -/* 80144150 001410B0 F3 E1 01 28 */ psq_st f31, 296(r1), 0, qr0 -/* 80144154 001410B4 DB C1 01 10 */ stfd f30, 0x110(r1) -/* 80144158 001410B8 F3 C1 01 18 */ psq_st f30, 280(r1), 0, qr0 -/* 8014415C 001410BC BF 61 00 FC */ stmw r27, 0xfc(r1) -/* 80144160 001410C0 7C 9B 23 78 */ mr r27, r4 -/* 80144164 001410C4 7C 7F 1B 78 */ mr r31, r3 -/* 80144168 001410C8 7C BC 2B 78 */ mr r28, r5 -/* 8014416C 001410CC 38 80 00 11 */ li r4, 0x11 -/* 80144170 001410D0 38 7B 00 04 */ addi r3, r27, 4 -/* 80144174 001410D4 4B FE D2 DD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80144178 001410D8 80 9B 00 00 */ lwz r4, 0(r27) -/* 8014417C 001410DC 7C 7E 1B 78 */ mr r30, r3 -/* 80144180 001410E0 38 61 00 68 */ addi r3, r1, 0x68 -/* 80144184 001410E4 38 84 00 34 */ addi r4, r4, 0x34 -/* 80144188 001410E8 38 BE 00 0C */ addi r5, r30, 0xc -/* 8014418C 001410EC 48 1C E8 99 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80144190 001410F0 C0 21 00 6C */ lfs f1, 0x6c(r1) -/* 80144194 001410F4 C0 41 00 68 */ lfs f2, 0x68(r1) -/* 80144198 001410F8 48 25 0A D5 */ bl atan2 -/* 8014419C 001410FC FF C0 08 18 */ frsp f30, f1 -/* 801441A0 00141100 7F 63 DB 78 */ mr r3, r27 -/* 801441A4 00141104 4B FF 62 B1 */ bl GetPASDatabase__15CBodyControllerCFv -/* 801441A8 00141108 83 DE 00 08 */ lwz r30, 8(r30) -/* 801441AC 0014110C 7C 7D 1B 78 */ mr r29, r3 -/* 801441B0 00141110 38 61 00 20 */ addi r3, r1, 0x20 -/* 801441B4 00141114 48 19 EE C9 */ bl NoParameter__12CPASAnimParmFv -/* 801441B8 00141118 38 61 00 28 */ addi r3, r1, 0x28 -/* 801441BC 0014111C 48 19 EE C1 */ bl NoParameter__12CPASAnimParmFv -/* 801441C0 00141120 38 61 00 30 */ addi r3, r1, 0x30 -/* 801441C4 00141124 48 19 EE B9 */ bl NoParameter__12CPASAnimParmFv -/* 801441C8 00141128 38 61 00 38 */ addi r3, r1, 0x38 -/* 801441CC 0014112C 48 19 EE B1 */ bl NoParameter__12CPASAnimParmFv -/* 801441D0 00141130 38 61 00 40 */ addi r3, r1, 0x40 -/* 801441D4 00141134 48 19 EE A9 */ bl NoParameter__12CPASAnimParmFv -/* 801441D8 00141138 38 61 00 48 */ addi r3, r1, 0x48 -/* 801441DC 0014113C 48 19 EE A1 */ bl NoParameter__12CPASAnimParmFv -/* 801441E0 00141140 C0 02 9B F4 */ lfs f0, lbl_805AB914@sda21(r2) -/* 801441E4 00141144 38 61 00 50 */ addi r3, r1, 0x50 -/* 801441E8 00141148 EC 20 07 B2 */ fmuls f1, f0, f30 -/* 801441EC 0014114C 48 19 ED FD */ bl FromReal32__12CPASAnimParmFf -/* 801441F0 00141150 7F C4 F3 78 */ mr r4, r30 -/* 801441F4 00141154 38 61 00 58 */ addi r3, r1, 0x58 -/* 801441F8 00141158 48 19 ED 8D */ bl FromEnum__12CPASAnimParmFi -/* 801441FC 0014115C 38 61 00 28 */ addi r3, r1, 0x28 -/* 80144200 00141160 38 01 00 20 */ addi r0, r1, 0x20 -/* 80144204 00141164 90 61 00 08 */ stw r3, 8(r1) -/* 80144208 00141168 38 61 00 9C */ addi r3, r1, 0x9c -/* 8014420C 0014116C 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80144210 00141170 38 C1 00 50 */ addi r6, r1, 0x50 -/* 80144214 00141174 90 01 00 0C */ stw r0, 0xc(r1) -/* 80144218 00141178 38 E1 00 48 */ addi r7, r1, 0x48 -/* 8014421C 0014117C 39 01 00 40 */ addi r8, r1, 0x40 -/* 80144220 00141180 39 21 00 38 */ addi r9, r1, 0x38 -/* 80144224 00141184 39 41 00 30 */ addi r10, r1, 0x30 -/* 80144228 00141188 38 80 00 0F */ li r4, 0xf -/* 8014422C 0014118C 4B F3 90 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80144230 00141190 80 DC 09 00 */ lwz r6, 0x900(r28) -/* 80144234 00141194 7F A4 EB 78 */ mr r4, r29 -/* 80144238 00141198 38 61 00 18 */ addi r3, r1, 0x18 -/* 8014423C 0014119C 38 A1 00 9C */ addi r5, r1, 0x9c -/* 80144240 001411A0 38 E0 FF FF */ li r7, -1 -/* 80144244 001411A4 48 1A 0E 1D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 80144248 001411A8 83 C1 00 1C */ lwz r30, 0x1c(r1) -/* 8014424C 001411AC 38 00 00 00 */ li r0, 0 -/* 80144250 001411B0 C0 02 9B F8 */ lfs f0, lbl_805AB918@sda21(r2) -/* 80144254 001411B4 38 A0 FF FF */ li r5, -1 -/* 80144258 001411B8 38 E0 00 01 */ li r7, 1 -/* 8014425C 001411BC 93 C1 00 74 */ stw r30, 0x74(r1) -/* 80144260 001411C0 7F 63 DB 78 */ mr r3, r27 -/* 80144264 001411C4 38 81 00 74 */ addi r4, r1, 0x74 -/* 80144268 001411C8 90 A1 00 78 */ stw r5, 0x78(r1) -/* 8014426C 001411CC 38 A0 00 00 */ li r5, 0 -/* 80144270 001411D0 38 C0 00 00 */ li r6, 0 -/* 80144274 001411D4 D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80144278 001411D8 98 E1 00 80 */ stb r7, 0x80(r1) -/* 8014427C 001411DC 90 01 00 84 */ stw r0, 0x84(r1) -/* 80144280 001411E0 90 01 00 88 */ stw r0, 0x88(r1) -/* 80144284 001411E4 98 01 00 8C */ stb r0, 0x8c(r1) -/* 80144288 001411E8 90 01 00 90 */ stw r0, 0x90(r1) -/* 8014428C 001411EC 90 01 00 94 */ stw r0, 0x94(r1) -/* 80144290 001411F0 90 01 00 98 */ stw r0, 0x98(r1) -/* 80144294 001411F4 4B FF 66 89 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80144298 001411F8 7F 63 DB 78 */ mr r3, r27 -/* 8014429C 001411FC 4B FF 66 1D */ bl GetAnimTimeRemaining__15CBodyControllerCFv -/* 801442A0 00141200 FF E0 08 90 */ fmr f31, f1 -/* 801442A4 00141204 C0 02 9B FC */ lfs f0, lbl_805AB91C@sda21(r2) -/* 801442A8 00141208 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 801442AC 0014120C 40 81 00 B4 */ ble lbl_80144360 -/* 801442B0 00141210 7F A3 EB 78 */ mr r3, r29 -/* 801442B4 00141214 38 80 00 0F */ li r4, 0xf -/* 801442B8 00141218 48 1A 0C 0D */ bl GetAnimState__12CPASDatabaseCFi -/* 801442BC 0014121C 7C 64 1B 78 */ mr r4, r3 -/* 801442C0 00141220 7F C5 F3 78 */ mr r5, r30 -/* 801442C4 00141224 38 61 00 10 */ addi r3, r1, 0x10 -/* 801442C8 00141228 38 C0 00 01 */ li r6, 1 -/* 801442CC 0014122C 48 19 FD 29 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 801442D0 00141230 80 81 00 10 */ lwz r4, 0x10(r1) -/* 801442D4 00141234 38 61 00 60 */ addi r3, r1, 0x60 -/* 801442D8 00141238 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801442DC 0014123C 90 81 00 60 */ stw r4, 0x60(r1) -/* 801442E0 00141240 90 01 00 64 */ stw r0, 0x64(r1) -/* 801442E4 00141244 48 19 EC 89 */ bl GetReal32Value__12CPASAnimParmCFv -/* 801442E8 00141248 C0 02 9C 00 */ lfs f0, lbl_805AB920@sda21(r2) -/* 801442EC 0014124C 3C 00 43 30 */ lis r0, 0x4330 -/* 801442F0 00141250 C0 42 9C 04 */ lfs f2, lbl_805AB924@sda21(r2) -/* 801442F4 00141254 EC 00 00 72 */ fmuls f0, f0, f1 -/* 801442F8 00141258 90 01 00 F0 */ stw r0, 0xf0(r1) -/* 801442FC 0014125C C8 62 9C 10 */ lfd f3, lbl_805AB930@sda21(r2) -/* 80144300 00141260 C0 22 9C 08 */ lfs f1, lbl_805AB928@sda21(r2) -/* 80144304 00141264 EC 9E 00 28 */ fsubs f4, f30, f0 -/* 80144308 00141268 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2) -/* 8014430C 0014126C EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80144310 00141270 FC 40 10 1E */ fctiwz f2, f2 -/* 80144314 00141274 D8 41 00 E8 */ stfd f2, 0xe8(r1) -/* 80144318 00141278 80 01 00 EC */ lwz r0, 0xec(r1) -/* 8014431C 0014127C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80144320 00141280 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 80144324 00141284 C8 41 00 F0 */ lfd f2, 0xf0(r1) -/* 80144328 00141288 EC 42 18 28 */ fsubs f2, f2, f3 -/* 8014432C 0014128C EC 42 20 7C */ fnmsubs f2, f2, f1, f4 -/* 80144330 00141290 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80144334 00141294 40 80 00 08 */ bge lbl_8014433C -/* 80144338 00141298 EC 42 08 2A */ fadds f2, f2, f1 -lbl_8014433C: -/* 8014433C 0014129C C0 02 9C 0C */ lfs f0, lbl_805AB92C@sda21(r2) -/* 80144340 001412A0 FC 20 10 90 */ fmr f1, f2 -/* 80144344 001412A4 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80144348 001412A8 40 81 00 0C */ ble lbl_80144354 -/* 8014434C 001412AC C0 02 9C 08 */ lfs f0, lbl_805AB928@sda21(r2) -/* 80144350 001412B0 EC 22 00 28 */ fsubs f1, f2, f0 -lbl_80144354: -/* 80144354 001412B4 EC 01 F8 24 */ fdivs f0, f1, f31 -/* 80144358 001412B8 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8014435C 001412BC 48 00 00 0C */ b lbl_80144368 -lbl_80144360: -/* 80144360 001412C0 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2) -/* 80144364 001412C4 D0 1F 00 04 */ stfs f0, 4(r31) -lbl_80144368: -/* 80144368 001412C8 34 A1 00 A0 */ addic. r5, r1, 0xa0 -/* 8014436C 001412CC 41 82 00 58 */ beq lbl_801443C4 -/* 80144370 001412D0 80 C5 00 00 */ lwz r6, 0(r5) -/* 80144374 001412D4 38 60 00 00 */ li r3, 0 -/* 80144378 001412D8 2C 06 00 00 */ cmpwi r6, 0 -/* 8014437C 001412DC 40 81 00 40 */ ble lbl_801443BC -/* 80144380 001412E0 2C 06 00 08 */ cmpwi r6, 8 -/* 80144384 001412E4 38 86 FF F8 */ addi r4, r6, -8 -/* 80144388 001412E8 40 81 00 20 */ ble lbl_801443A8 -/* 8014438C 001412EC 38 04 00 07 */ addi r0, r4, 7 -/* 80144390 001412F0 54 00 E8 FE */ srwi r0, r0, 3 -/* 80144394 001412F4 7C 09 03 A6 */ mtctr r0 -/* 80144398 001412F8 2C 04 00 00 */ cmpwi r4, 0 -/* 8014439C 001412FC 40 81 00 0C */ ble lbl_801443A8 -lbl_801443A0: -/* 801443A0 00141300 38 63 00 08 */ addi r3, r3, 8 -/* 801443A4 00141304 42 00 FF FC */ bdnz lbl_801443A0 -lbl_801443A8: -/* 801443A8 00141308 7C 03 30 50 */ subf r0, r3, r6 -/* 801443AC 0014130C 7C 09 03 A6 */ mtctr r0 -/* 801443B0 00141310 7C 03 30 00 */ cmpw r3, r6 -/* 801443B4 00141314 40 80 00 08 */ bge lbl_801443BC -lbl_801443B8: -/* 801443B8 00141318 42 00 00 00 */ bdnz lbl_801443B8 -lbl_801443BC: -/* 801443BC 0014131C 38 00 00 00 */ li r0, 0 -/* 801443C0 00141320 90 05 00 00 */ stw r0, 0(r5) -lbl_801443C4: -/* 801443C4 00141324 E3 E1 01 28 */ psq_l f31, 296(r1), 0, qr0 -/* 801443C8 00141328 CB E1 01 20 */ lfd f31, 0x120(r1) -/* 801443CC 0014132C E3 C1 01 18 */ psq_l f30, 280(r1), 0, qr0 -/* 801443D0 00141330 CB C1 01 10 */ lfd f30, 0x110(r1) -/* 801443D4 00141334 BB 61 00 FC */ lmw r27, 0xfc(r1) -/* 801443D8 00141338 80 01 01 34 */ lwz r0, 0x134(r1) -/* 801443DC 0014133C 7C 08 03 A6 */ mtlr r0 -/* 801443E0 00141340 38 21 01 30 */ addi r1, r1, 0x130 -/* 801443E4 00141344 4E 80 00 20 */ blr - -.global __ct__8CBSSlideFv -__ct__8CBSSlideFv: -/* 801443E8 00141348 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 801443EC 0014134C 3C 80 80 3E */ lis r4, lbl_803E1F78@ha -/* 801443F0 00141350 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l -/* 801443F4 00141354 C0 02 9B F0 */ lfs f0, lbl_805AB910@sda21(r2) -/* 801443F8 00141358 90 A3 00 00 */ stw r5, 0(r3) -/* 801443FC 0014135C 38 04 1F 78 */ addi r0, r4, lbl_803E1F78@l -/* 80144400 00141360 90 03 00 00 */ stw r0, 0(r3) -/* 80144404 00141364 D0 03 00 04 */ stfs f0, 4(r3) -/* 80144408 00141368 4E 80 00 20 */ blr - -.global __dt__9CBSHurledFv -__dt__9CBSHurledFv: -/* 8014440C 0014136C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80144410 00141370 7C 08 02 A6 */ mflr r0 -/* 80144414 00141374 90 01 00 14 */ stw r0, 0x14(r1) -/* 80144418 00141378 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8014441C 0014137C 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80144420 00141380 41 82 00 30 */ beq lbl_80144450 -/* 80144424 00141384 3C 60 80 3E */ lis r3, lbl_803E1FB0@ha -/* 80144428 00141388 38 03 1F B0 */ addi r0, r3, lbl_803E1FB0@l -/* 8014442C 0014138C 90 1F 00 00 */ stw r0, 0(r31) -/* 80144430 00141390 41 82 00 10 */ beq lbl_80144440 -/* 80144434 00141394 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 80144438 00141398 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 8014443C 0014139C 90 1F 00 00 */ stw r0, 0(r31) -lbl_80144440: -/* 80144440 001413A0 7C 80 07 35 */ extsh. r0, r4 -/* 80144444 001413A4 40 81 00 0C */ ble lbl_80144450 -/* 80144448 001413A8 7F E3 FB 78 */ mr r3, r31 -/* 8014444C 001413AC 48 1D 14 E5 */ bl Free__7CMemoryFPCv -lbl_80144450: -/* 80144450 001413B0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80144454 001413B4 7F E3 FB 78 */ mr r3, r31 -/* 80144458 001413B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8014445C 001413BC 7C 08 03 A6 */ mtlr r0 -/* 80144460 001413C0 38 21 00 10 */ addi r1, r1, 0x10 -/* 80144464 001413C4 4E 80 00 20 */ blr - -.global IsMoving__9CBSHurledCFv -IsMoving__9CBSHurledCFv: -/* 80144468 001413C8 38 60 00 01 */ li r3, 1 -/* 8014446C 001413CC 4E 80 00 20 */ blr - -.global ApplyHeadTracking__9CBSHurledCFv -ApplyHeadTracking__9CBSHurledCFv: -/* 80144470 001413D0 38 60 00 00 */ li r3, 0 -/* 80144474 001413D4 4E 80 00 20 */ blr - -.global GetBodyStateTransition__9CBSHurledFfR15CBodyController -GetBodyStateTransition__9CBSHurledFfR15CBodyController: -/* 80144478 001413D8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8014447C 001413DC 7C 08 02 A6 */ mflr r0 -/* 80144480 001413E0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80144484 001413E4 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80144488 001413E8 3B E4 00 04 */ addi r31, r4, 4 -/* 8014448C 001413EC 38 80 00 0C */ li r4, 0xc -/* 80144490 001413F0 93 C1 00 08 */ stw r30, 8(r1) -/* 80144494 001413F4 7C 7E 1B 78 */ mr r30, r3 -/* 80144498 001413F8 7F E3 FB 78 */ mr r3, r31 -/* 8014449C 001413FC 4B FE CF B5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801444A0 00141400 28 03 00 00 */ cmplwi r3, 0 -/* 801444A4 00141404 41 82 00 0C */ beq lbl_801444B0 -/* 801444A8 00141408 38 60 00 02 */ li r3, 2 -/* 801444AC 0014140C 48 00 00 3C */ b lbl_801444E8 -lbl_801444B0: -/* 801444B0 00141410 C0 3E 00 18 */ lfs f1, 0x18(r30) -/* 801444B4 00141414 C0 02 9C 18 */ lfs f0, lbl_805AB938@sda21(r2) -/* 801444B8 00141418 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801444BC 0014141C 40 81 00 28 */ ble lbl_801444E4 -/* 801444C0 00141420 7F E3 FB 78 */ mr r3, r31 -/* 801444C4 00141424 38 80 00 0F */ li r4, 0xf -/* 801444C8 00141428 4B FE CF B5 */ bl GetCmd__16CBodyStateCmdMgrCF13EBodyStateCmd -/* 801444CC 0014142C 28 03 00 00 */ cmplwi r3, 0 -/* 801444D0 00141430 41 82 00 14 */ beq lbl_801444E4 -/* 801444D4 00141434 38 00 00 01 */ li r0, 1 -/* 801444D8 00141438 98 03 00 20 */ stb r0, 0x20(r3) -/* 801444DC 0014143C 38 60 00 0E */ li r3, 0xe -/* 801444E0 00141440 48 00 00 08 */ b lbl_801444E8 -lbl_801444E4: -/* 801444E4 00141444 38 60 FF FF */ li r3, -1 -lbl_801444E8: -/* 801444E8 00141448 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801444EC 0014144C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801444F0 00141450 83 C1 00 08 */ lwz r30, 8(r1) -/* 801444F4 00141454 7C 08 03 A6 */ mtlr r0 -/* 801444F8 00141458 38 21 00 10 */ addi r1, r1, 0x10 -/* 801444FC 0014145C 4E 80 00 20 */ blr - -.global Recover__9CBSHurledFR13CStateManagerR15CBodyControllerQ23pas12EHurledState -Recover__9CBSHurledFR13CStateManagerR15CBodyControllerQ23pas12EHurledState: -/* 80144500 00141460 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 80144504 00141464 7C 08 02 A6 */ mflr r0 -/* 80144508 00141468 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8014450C 0014146C BF 61 00 DC */ stmw r27, 0xdc(r1) -/* 80144510 00141470 7C BC 2B 78 */ mr r28, r5 -/* 80144514 00141474 7C 7F 1B 78 */ mr r31, r3 -/* 80144518 00141478 7C 9B 23 78 */ mr r27, r4 -/* 8014451C 0014147C 7C DD 33 78 */ mr r29, r6 -/* 80144520 00141480 7F 83 E3 78 */ mr r3, r28 -/* 80144524 00141484 4B FF 5F 31 */ bl GetPASDatabase__15CBodyControllerCFv -/* 80144528 00141488 7C 60 1B 78 */ mr r0, r3 -/* 8014452C 0014148C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80144530 00141490 7C 1E 03 78 */ mr r30, r0 -/* 80144534 00141494 48 19 EB 49 */ bl NoParameter__12CPASAnimParmFv -/* 80144538 00141498 38 61 00 28 */ addi r3, r1, 0x28 -/* 8014453C 0014149C 48 19 EB 41 */ bl NoParameter__12CPASAnimParmFv -/* 80144540 001414A0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80144544 001414A4 48 19 EB 39 */ bl NoParameter__12CPASAnimParmFv -/* 80144548 001414A8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8014454C 001414AC 48 19 EB 31 */ bl NoParameter__12CPASAnimParmFv -/* 80144550 001414B0 38 61 00 40 */ addi r3, r1, 0x40 -/* 80144554 001414B4 48 19 EB 29 */ bl NoParameter__12CPASAnimParmFv -/* 80144558 001414B8 7F A4 EB 78 */ mr r4, r29 -/* 8014455C 001414BC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80144560 001414C0 48 19 EA 25 */ bl FromEnum__12CPASAnimParmFi -/* 80144564 001414C4 C0 3F 00 08 */ lfs f1, 8(r31) -/* 80144568 001414C8 38 61 00 50 */ addi r3, r1, 0x50 -/* 8014456C 001414CC 48 19 EA 7D */ bl FromReal32__12CPASAnimParmFf -/* 80144570 001414D0 80 9F 00 0C */ lwz r4, 0xc(r31) -/* 80144574 001414D4 38 61 00 58 */ addi r3, r1, 0x58 -/* 80144578 001414D8 48 19 EA D5 */ bl FromInt32__12CPASAnimParmFi -/* 8014457C 001414DC 38 61 00 28 */ addi r3, r1, 0x28 -/* 80144580 001414E0 38 01 00 20 */ addi r0, r1, 0x20 -/* 80144584 001414E4 90 61 00 08 */ stw r3, 8(r1) -/* 80144588 001414E8 38 61 00 88 */ addi r3, r1, 0x88 -/* 8014458C 001414EC 38 A1 00 58 */ addi r5, r1, 0x58 -/* 80144590 001414F0 38 C1 00 50 */ addi r6, r1, 0x50 -/* 80144594 001414F4 90 01 00 0C */ stw r0, 0xc(r1) -/* 80144598 001414F8 38 E1 00 48 */ addi r7, r1, 0x48 -/* 8014459C 001414FC 39 01 00 40 */ addi r8, r1, 0x40 -/* 801445A0 00141500 39 21 00 38 */ addi r9, r1, 0x38 -/* 801445A4 00141504 39 41 00 30 */ addi r10, r1, 0x30 -/* 801445A8 00141508 38 80 00 0E */ li r4, 0xe -/* 801445AC 0014150C 4B F3 8D 19 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 801445B0 00141510 80 DB 09 00 */ lwz r6, 0x900(r27) -/* 801445B4 00141514 7F C4 F3 78 */ mr r4, r30 -/* 801445B8 00141518 38 61 00 18 */ addi r3, r1, 0x18 -/* 801445BC 0014151C 38 A1 00 88 */ addi r5, r1, 0x88 -/* 801445C0 00141520 38 E0 FF FF */ li r7, -1 -/* 801445C4 00141524 48 1A 0A 9D */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 801445C8 00141528 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 801445CC 0014152C C0 02 9C 1C */ lfs f0, lbl_805AB93C@sda21(r2) -/* 801445D0 00141530 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 801445D4 00141534 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801445D8 00141538 40 81 00 88 */ ble lbl_80144660 -/* 801445DC 0014153C C0 02 9C 20 */ lfs f0, lbl_805AB940@sda21(r2) -/* 801445E0 00141540 38 00 00 00 */ li r0, 0 -/* 801445E4 00141544 38 C0 FF FF */ li r6, -1 -/* 801445E8 00141548 38 E0 00 01 */ li r7, 1 -/* 801445EC 0014154C 90 61 00 60 */ stw r3, 0x60(r1) -/* 801445F0 00141550 7F 83 E3 78 */ mr r3, r28 -/* 801445F4 00141554 38 81 00 60 */ addi r4, r1, 0x60 -/* 801445F8 00141558 38 A0 00 00 */ li r5, 0 -/* 801445FC 0014155C 90 C1 00 64 */ stw r6, 0x64(r1) -/* 80144600 00141560 38 C0 00 00 */ li r6, 0 -/* 80144604 00141564 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80144608 00141568 98 E1 00 6C */ stb r7, 0x6c(r1) -/* 8014460C 0014156C 90 01 00 70 */ stw r0, 0x70(r1) -/* 80144610 00141570 90 01 00 74 */ stw r0, 0x74(r1) -/* 80144614 00141574 98 01 00 78 */ stb r0, 0x78(r1) -/* 80144618 00141578 90 01 00 7C */ stw r0, 0x7c(r1) -/* 8014461C 0014157C 90 01 00 80 */ stw r0, 0x80(r1) -/* 80144620 00141580 90 01 00 84 */ stw r0, 0x84(r1) -/* 80144624 00141584 4B FF 62 F9 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80144628 00141588 93 BF 00 04 */ stw r29, 4(r31) -/* 8014462C 0014158C 38 61 00 10 */ addi r3, r1, 0x10 -/* 80144630 00141590 80 9C 00 00 */ lwz r4, 0(r28) -/* 80144634 00141594 4B F6 80 B1 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80144638 00141598 80 83 00 04 */ lwz r4, 4(r3) -/* 8014463C 0014159C 28 04 00 00 */ cmplwi r4, 0 -/* 80144640 001415A0 41 82 00 20 */ beq lbl_80144660 -/* 80144644 001415A4 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80144648 001415A8 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 8014464C 001415AC D0 04 01 50 */ stfs f0, 0x150(r4) -/* 80144650 001415B0 C0 03 00 04 */ lfs f0, 4(r3) -/* 80144654 001415B4 D0 04 01 54 */ stfs f0, 0x154(r4) -/* 80144658 001415B8 C0 03 00 08 */ lfs f0, 8(r3) -/* 8014465C 001415BC D0 04 01 58 */ stfs f0, 0x158(r4) -lbl_80144660: -/* 80144660 001415C0 88 1F 00 2C */ lbz r0, 0x2c(r31) -/* 80144664 001415C4 38 60 00 00 */ li r3, 0 -/* 80144668 001415C8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 8014466C 001415CC 34 A1 00 8C */ addic. r5, r1, 0x8c -/* 80144670 001415D0 98 1F 00 2C */ stb r0, 0x2c(r31) -/* 80144674 001415D4 41 82 00 54 */ beq lbl_801446C8 -/* 80144678 001415D8 80 C5 00 00 */ lwz r6, 0(r5) -/* 8014467C 001415DC 2C 06 00 00 */ cmpwi r6, 0 -/* 80144680 001415E0 40 81 00 40 */ ble lbl_801446C0 -/* 80144684 001415E4 2C 06 00 08 */ cmpwi r6, 8 -/* 80144688 001415E8 38 86 FF F8 */ addi r4, r6, -8 -/* 8014468C 001415EC 40 81 00 20 */ ble lbl_801446AC -/* 80144690 001415F0 38 04 00 07 */ addi r0, r4, 7 -/* 80144694 001415F4 54 00 E8 FE */ srwi r0, r0, 3 -/* 80144698 001415F8 7C 09 03 A6 */ mtctr r0 -/* 8014469C 001415FC 2C 04 00 00 */ cmpwi r4, 0 -/* 801446A0 00141600 40 81 00 0C */ ble lbl_801446AC -lbl_801446A4: -/* 801446A4 00141604 38 63 00 08 */ addi r3, r3, 8 -/* 801446A8 00141608 42 00 FF FC */ bdnz lbl_801446A4 -lbl_801446AC: -/* 801446AC 0014160C 7C 03 30 50 */ subf r0, r3, r6 -/* 801446B0 00141610 7C 09 03 A6 */ mtctr r0 -/* 801446B4 00141614 7C 03 30 00 */ cmpw r3, r6 -/* 801446B8 00141618 40 80 00 08 */ bge lbl_801446C0 -lbl_801446BC: -/* 801446BC 0014161C 42 00 00 00 */ bdnz lbl_801446BC -lbl_801446C0: -/* 801446C0 00141620 38 00 00 00 */ li r0, 0 -/* 801446C4 00141624 90 05 00 00 */ stw r0, 0(r5) -lbl_801446C8: -/* 801446C8 00141628 BB 61 00 DC */ lmw r27, 0xdc(r1) -/* 801446CC 0014162C 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 801446D0 00141630 7C 08 03 A6 */ mtlr r0 -/* 801446D4 00141634 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 801446D8 00141638 4E 80 00 20 */ blr - -.global PlayStrikeWallAnimation__9CBSHurledFR15CBodyControllerR13CStateManager -PlayStrikeWallAnimation__9CBSHurledFR15CBodyControllerR13CStateManager: -/* 801446DC 0014163C 94 21 FF 20 */ stwu r1, -0xe0(r1) -/* 801446E0 00141640 7C 08 02 A6 */ mflr r0 -/* 801446E4 00141644 90 01 00 E4 */ stw r0, 0xe4(r1) -/* 801446E8 00141648 93 E1 00 DC */ stw r31, 0xdc(r1) -/* 801446EC 0014164C 93 C1 00 D8 */ stw r30, 0xd8(r1) -/* 801446F0 00141650 7C BE 2B 78 */ mr r30, r5 -/* 801446F4 00141654 93 A1 00 D4 */ stw r29, 0xd4(r1) -/* 801446F8 00141658 7C 9D 23 78 */ mr r29, r4 -/* 801446FC 0014165C 93 81 00 D0 */ stw r28, 0xd0(r1) -/* 80144700 00141660 7C 7C 1B 78 */ mr r28, r3 -/* 80144704 00141664 7F A3 EB 78 */ mr r3, r29 -/* 80144708 00141668 4B FF 5D 4D */ bl GetPASDatabase__15CBodyControllerCFv -/* 8014470C 0014166C 7C 60 1B 78 */ mr r0, r3 -/* 80144710 00141670 38 61 00 18 */ addi r3, r1, 0x18 -/* 80144714 00141674 7C 1F 03 78 */ mr r31, r0 -/* 80144718 00141678 48 19 E9 65 */ bl NoParameter__12CPASAnimParmFv -/* 8014471C 0014167C 38 61 00 20 */ addi r3, r1, 0x20 -/* 80144720 00141680 48 19 E9 5D */ bl NoParameter__12CPASAnimParmFv -/* 80144724 00141684 38 61 00 28 */ addi r3, r1, 0x28 -/* 80144728 00141688 48 19 E9 55 */ bl NoParameter__12CPASAnimParmFv -/* 8014472C 0014168C 38 61 00 30 */ addi r3, r1, 0x30 -/* 80144730 00141690 48 19 E9 4D */ bl NoParameter__12CPASAnimParmFv -/* 80144734 00141694 38 61 00 38 */ addi r3, r1, 0x38 -/* 80144738 00141698 48 19 E9 45 */ bl NoParameter__12CPASAnimParmFv -/* 8014473C 0014169C 38 61 00 40 */ addi r3, r1, 0x40 -/* 80144740 001416A0 38 80 00 03 */ li r4, 3 -/* 80144744 001416A4 48 19 E8 41 */ bl FromEnum__12CPASAnimParmFi -/* 80144748 001416A8 C0 3C 00 08 */ lfs f1, 8(r28) -/* 8014474C 001416AC 38 61 00 48 */ addi r3, r1, 0x48 -/* 80144750 001416B0 48 19 E8 99 */ bl FromReal32__12CPASAnimParmFf -/* 80144754 001416B4 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 80144758 001416B8 38 61 00 50 */ addi r3, r1, 0x50 -/* 8014475C 001416BC 48 19 E8 F1 */ bl FromInt32__12CPASAnimParmFi -/* 80144760 001416C0 38 61 00 20 */ addi r3, r1, 0x20 -/* 80144764 001416C4 38 01 00 18 */ addi r0, r1, 0x18 -/* 80144768 001416C8 90 61 00 08 */ stw r3, 8(r1) -/* 8014476C 001416CC 38 61 00 80 */ addi r3, r1, 0x80 -/* 80144770 001416D0 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80144774 001416D4 38 C1 00 48 */ addi r6, r1, 0x48 -/* 80144778 001416D8 90 01 00 0C */ stw r0, 0xc(r1) -/* 8014477C 001416DC 38 E1 00 40 */ addi r7, r1, 0x40 -/* 80144780 001416E0 39 01 00 38 */ addi r8, r1, 0x38 -/* 80144784 001416E4 39 21 00 30 */ addi r9, r1, 0x30 -/* 80144788 001416E8 39 41 00 28 */ addi r10, r1, 0x28 -/* 8014478C 001416EC 38 80 00 0E */ li r4, 0xe -/* 80144790 001416F0 4B F3 8B 35 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80144794 001416F4 80 DE 09 00 */ lwz r6, 0x900(r30) -/* 80144798 001416F8 7F E4 FB 78 */ mr r4, r31 -/* 8014479C 001416FC 38 61 00 10 */ addi r3, r1, 0x10 -/* 801447A0 00141700 38 A1 00 80 */ addi r5, r1, 0x80 -/* 801447A4 00141704 38 E0 FF FF */ li r7, -1 -/* 801447A8 00141708 48 1A 08 B9 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 801447AC 0014170C C0 21 00 10 */ lfs f1, 0x10(r1) -/* 801447B0 00141710 C0 02 9C 1C */ lfs f0, lbl_805AB93C@sda21(r2) -/* 801447B4 00141714 80 61 00 14 */ lwz r3, 0x14(r1) -/* 801447B8 00141718 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801447BC 0014171C 40 81 00 58 */ ble lbl_80144814 -/* 801447C0 00141720 C0 02 9C 20 */ lfs f0, lbl_805AB940@sda21(r2) -/* 801447C4 00141724 38 00 00 00 */ li r0, 0 -/* 801447C8 00141728 38 C0 FF FF */ li r6, -1 -/* 801447CC 0014172C 38 E0 00 01 */ li r7, 1 -/* 801447D0 00141730 90 61 00 58 */ stw r3, 0x58(r1) -/* 801447D4 00141734 7F A3 EB 78 */ mr r3, r29 -/* 801447D8 00141738 38 81 00 58 */ addi r4, r1, 0x58 -/* 801447DC 0014173C 38 A0 00 00 */ li r5, 0 -/* 801447E0 00141740 90 C1 00 5C */ stw r6, 0x5c(r1) -/* 801447E4 00141744 38 C0 00 00 */ li r6, 0 -/* 801447E8 00141748 D0 01 00 60 */ stfs f0, 0x60(r1) -/* 801447EC 0014174C 98 E1 00 64 */ stb r7, 0x64(r1) -/* 801447F0 00141750 90 01 00 68 */ stw r0, 0x68(r1) -/* 801447F4 00141754 90 01 00 6C */ stw r0, 0x6c(r1) -/* 801447F8 00141758 98 01 00 70 */ stb r0, 0x70(r1) -/* 801447FC 0014175C 90 01 00 74 */ stw r0, 0x74(r1) -/* 80144800 00141760 90 01 00 78 */ stw r0, 0x78(r1) -/* 80144804 00141764 90 01 00 7C */ stw r0, 0x7c(r1) -/* 80144808 00141768 4B FF 61 15 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 8014480C 0014176C 38 00 00 03 */ li r0, 3 -/* 80144810 00141770 90 1C 00 04 */ stw r0, 4(r28) -lbl_80144814: -/* 80144814 00141774 34 A1 00 84 */ addic. r5, r1, 0x84 -/* 80144818 00141778 41 82 00 58 */ beq lbl_80144870 -/* 8014481C 0014177C 80 C5 00 00 */ lwz r6, 0(r5) -/* 80144820 00141780 38 60 00 00 */ li r3, 0 -/* 80144824 00141784 2C 06 00 00 */ cmpwi r6, 0 -/* 80144828 00141788 40 81 00 40 */ ble lbl_80144868 -/* 8014482C 0014178C 2C 06 00 08 */ cmpwi r6, 8 -/* 80144830 00141790 38 86 FF F8 */ addi r4, r6, -8 -/* 80144834 00141794 40 81 00 20 */ ble lbl_80144854 -/* 80144838 00141798 38 04 00 07 */ addi r0, r4, 7 -/* 8014483C 0014179C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80144840 001417A0 7C 09 03 A6 */ mtctr r0 -/* 80144844 001417A4 2C 04 00 00 */ cmpwi r4, 0 -/* 80144848 001417A8 40 81 00 0C */ ble lbl_80144854 -lbl_8014484C: -/* 8014484C 001417AC 38 63 00 08 */ addi r3, r3, 8 -/* 80144850 001417B0 42 00 FF FC */ bdnz lbl_8014484C -lbl_80144854: -/* 80144854 001417B4 7C 03 30 50 */ subf r0, r3, r6 -/* 80144858 001417B8 7C 09 03 A6 */ mtctr r0 -/* 8014485C 001417BC 7C 03 30 00 */ cmpw r3, r6 -/* 80144860 001417C0 40 80 00 08 */ bge lbl_80144868 -lbl_80144864: -/* 80144864 001417C4 42 00 00 00 */ bdnz lbl_80144864 -lbl_80144868: -/* 80144868 001417C8 38 00 00 00 */ li r0, 0 -/* 8014486C 001417CC 90 05 00 00 */ stw r0, 0(r5) -lbl_80144870: -/* 80144870 001417D0 80 01 00 E4 */ lwz r0, 0xe4(r1) -/* 80144874 001417D4 83 E1 00 DC */ lwz r31, 0xdc(r1) -/* 80144878 001417D8 83 C1 00 D8 */ lwz r30, 0xd8(r1) -/* 8014487C 001417DC 83 A1 00 D4 */ lwz r29, 0xd4(r1) -/* 80144880 001417E0 83 81 00 D0 */ lwz r28, 0xd0(r1) -/* 80144884 001417E4 7C 08 03 A6 */ mtlr r0 -/* 80144888 001417E8 38 21 00 E0 */ addi r1, r1, 0xe0 -/* 8014488C 001417EC 4E 80 00 20 */ blr - -.global PlayLandAnimation__9CBSHurledFR15CBodyControllerR13CStateManager -PlayLandAnimation__9CBSHurledFR15CBodyControllerR13CStateManager: -/* 80144890 001417F0 94 21 FF 00 */ stwu r1, -0x100(r1) -/* 80144894 001417F4 7C 08 02 A6 */ mflr r0 -/* 80144898 001417F8 90 01 01 04 */ stw r0, 0x104(r1) -/* 8014489C 001417FC 93 E1 00 FC */ stw r31, 0xfc(r1) -/* 801448A0 00141800 93 C1 00 F8 */ stw r30, 0xf8(r1) -/* 801448A4 00141804 7C 7E 1B 78 */ mr r30, r3 -/* 801448A8 00141808 93 A1 00 F4 */ stw r29, 0xf4(r1) -/* 801448AC 0014180C 7C BD 2B 78 */ mr r29, r5 -/* 801448B0 00141810 93 81 00 F0 */ stw r28, 0xf0(r1) -/* 801448B4 00141814 7C 9C 23 78 */ mr r28, r4 -/* 801448B8 00141818 7F 83 E3 78 */ mr r3, r28 -/* 801448BC 0014181C 4B FF 5B 99 */ bl GetPASDatabase__15CBodyControllerCFv -/* 801448C0 00141820 7C 60 1B 78 */ mr r0, r3 -/* 801448C4 00141824 38 61 00 2C */ addi r3, r1, 0x2c -/* 801448C8 00141828 7C 1F 03 78 */ mr r31, r0 -/* 801448CC 0014182C 48 19 E7 B1 */ bl NoParameter__12CPASAnimParmFv -/* 801448D0 00141830 38 61 00 34 */ addi r3, r1, 0x34 -/* 801448D4 00141834 48 19 E7 A9 */ bl NoParameter__12CPASAnimParmFv -/* 801448D8 00141838 38 61 00 3C */ addi r3, r1, 0x3c -/* 801448DC 0014183C 48 19 E7 A1 */ bl NoParameter__12CPASAnimParmFv -/* 801448E0 00141840 38 61 00 44 */ addi r3, r1, 0x44 -/* 801448E4 00141844 48 19 E7 99 */ bl NoParameter__12CPASAnimParmFv -/* 801448E8 00141848 38 61 00 4C */ addi r3, r1, 0x4c -/* 801448EC 0014184C 48 19 E7 91 */ bl NoParameter__12CPASAnimParmFv -/* 801448F0 00141850 80 9E 00 04 */ lwz r4, 4(r30) -/* 801448F4 00141854 38 61 00 54 */ addi r3, r1, 0x54 -/* 801448F8 00141858 48 19 E6 8D */ bl FromEnum__12CPASAnimParmFi -/* 801448FC 0014185C C0 3E 00 08 */ lfs f1, 8(r30) -/* 80144900 00141860 38 61 00 5C */ addi r3, r1, 0x5c -/* 80144904 00141864 48 19 E6 E5 */ bl FromReal32__12CPASAnimParmFf -/* 80144908 00141868 80 9E 00 0C */ lwz r4, 0xc(r30) -/* 8014490C 0014186C 38 61 00 64 */ addi r3, r1, 0x64 -/* 80144910 00141870 48 19 E7 3D */ bl FromInt32__12CPASAnimParmFi -/* 80144914 00141874 38 61 00 34 */ addi r3, r1, 0x34 -/* 80144918 00141878 38 01 00 2C */ addi r0, r1, 0x2c -/* 8014491C 0014187C 90 61 00 08 */ stw r3, 8(r1) -/* 80144920 00141880 38 61 00 9C */ addi r3, r1, 0x9c -/* 80144924 00141884 38 A1 00 64 */ addi r5, r1, 0x64 -/* 80144928 00141888 38 C1 00 5C */ addi r6, r1, 0x5c -/* 8014492C 0014188C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80144930 00141890 38 E1 00 54 */ addi r7, r1, 0x54 -/* 80144934 00141894 39 01 00 4C */ addi r8, r1, 0x4c -/* 80144938 00141898 39 21 00 44 */ addi r9, r1, 0x44 -/* 8014493C 0014189C 39 41 00 3C */ addi r10, r1, 0x3c -/* 80144940 001418A0 38 80 00 0E */ li r4, 0xe -/* 80144944 001418A4 4B F3 89 81 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80144948 001418A8 80 DD 09 00 */ lwz r6, 0x900(r29) -/* 8014494C 001418AC 7F E4 FB 78 */ mr r4, r31 -/* 80144950 001418B0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80144954 001418B4 38 A1 00 9C */ addi r5, r1, 0x9c -/* 80144958 001418B8 38 E0 FF FF */ li r7, -1 -/* 8014495C 001418BC 48 1A 07 05 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 80144960 001418C0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80144964 001418C4 38 00 00 00 */ li r0, 0 -/* 80144968 001418C8 C0 02 9C 20 */ lfs f0, lbl_805AB940@sda21(r2) -/* 8014496C 001418CC 38 A0 FF FF */ li r5, -1 -/* 80144970 001418D0 38 E0 00 01 */ li r7, 1 -/* 80144974 001418D4 93 C1 00 74 */ stw r30, 0x74(r1) -/* 80144978 001418D8 7F 83 E3 78 */ mr r3, r28 -/* 8014497C 001418DC 38 81 00 74 */ addi r4, r1, 0x74 -/* 80144980 001418E0 90 A1 00 78 */ stw r5, 0x78(r1) -/* 80144984 001418E4 38 A0 00 00 */ li r5, 0 -/* 80144988 001418E8 38 C0 00 00 */ li r6, 0 -/* 8014498C 001418EC D0 01 00 7C */ stfs f0, 0x7c(r1) -/* 80144990 001418F0 98 E1 00 80 */ stb r7, 0x80(r1) -/* 80144994 001418F4 90 01 00 84 */ stw r0, 0x84(r1) -/* 80144998 001418F8 90 01 00 88 */ stw r0, 0x88(r1) -/* 8014499C 001418FC 98 01 00 8C */ stb r0, 0x8c(r1) -/* 801449A0 00141900 90 01 00 90 */ stw r0, 0x90(r1) -/* 801449A4 00141904 90 01 00 94 */ stw r0, 0x94(r1) -/* 801449A8 00141908 90 01 00 98 */ stw r0, 0x98(r1) -/* 801449AC 0014190C 4B FF 5F 71 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 801449B0 00141910 7F E3 FB 78 */ mr r3, r31 -/* 801449B4 00141914 38 80 00 0E */ li r4, 0xe -/* 801449B8 00141918 48 1A 05 0D */ bl GetAnimState__12CPASDatabaseCFi -/* 801449BC 0014191C 7C 64 1B 78 */ mr r4, r3 -/* 801449C0 00141920 7F C5 F3 78 */ mr r5, r30 -/* 801449C4 00141924 38 61 00 1C */ addi r3, r1, 0x1c -/* 801449C8 00141928 38 C0 00 03 */ li r6, 3 -/* 801449CC 0014192C 48 19 F6 29 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 801449D0 00141930 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 801449D4 00141934 38 61 00 6C */ addi r3, r1, 0x6c -/* 801449D8 00141938 80 01 00 20 */ lwz r0, 0x20(r1) -/* 801449DC 0014193C 90 81 00 6C */ stw r4, 0x6c(r1) -/* 801449E0 00141940 90 01 00 70 */ stw r0, 0x70(r1) -/* 801449E4 00141944 48 19 E5 79 */ bl GetEnumValue__12CPASAnimParmCFv -/* 801449E8 00141948 7C 64 1B 78 */ mr r4, r3 -/* 801449EC 0014194C 7F 83 E3 78 */ mr r3, r28 -/* 801449F0 00141950 4B FF 61 B5 */ bl SetFallState__15CBodyControllerFQ23pas10EFallState -/* 801449F4 00141954 80 9C 00 00 */ lwz r4, 0(r28) -/* 801449F8 00141958 38 61 00 14 */ addi r3, r1, 0x14 -/* 801449FC 0014195C 4B F6 7C E9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80144A00 00141960 80 83 00 04 */ lwz r4, 4(r3) -/* 80144A04 00141964 28 04 00 00 */ cmplwi r4, 0 -/* 80144A08 00141968 41 82 00 1C */ beq lbl_80144A24 -/* 80144A0C 0014196C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80144A10 00141970 7F A3 EB 78 */ mr r3, r29 -/* 80144A14 00141974 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80144A18 00141978 38 C0 00 17 */ li r6, 0x17 -/* 80144A1C 0014197C B0 01 00 10 */ sth r0, 0x10(r1) -/* 80144A20 00141980 4B EF F4 B1 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -lbl_80144A24: -/* 80144A24 00141984 34 A1 00 A0 */ addic. r5, r1, 0xa0 -/* 80144A28 00141988 41 82 00 58 */ beq lbl_80144A80 -/* 80144A2C 0014198C 80 C5 00 00 */ lwz r6, 0(r5) -/* 80144A30 00141990 38 60 00 00 */ li r3, 0 -/* 80144A34 00141994 2C 06 00 00 */ cmpwi r6, 0 -/* 80144A38 00141998 40 81 00 40 */ ble lbl_80144A78 -/* 80144A3C 0014199C 2C 06 00 08 */ cmpwi r6, 8 -/* 80144A40 001419A0 38 86 FF F8 */ addi r4, r6, -8 -/* 80144A44 001419A4 40 81 00 20 */ ble lbl_80144A64 -/* 80144A48 001419A8 38 04 00 07 */ addi r0, r4, 7 -/* 80144A4C 001419AC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80144A50 001419B0 7C 09 03 A6 */ mtctr r0 -/* 80144A54 001419B4 2C 04 00 00 */ cmpwi r4, 0 -/* 80144A58 001419B8 40 81 00 0C */ ble lbl_80144A64 -lbl_80144A5C: -/* 80144A5C 001419BC 38 63 00 08 */ addi r3, r3, 8 -/* 80144A60 001419C0 42 00 FF FC */ bdnz lbl_80144A5C -lbl_80144A64: -/* 80144A64 001419C4 7C 03 30 50 */ subf r0, r3, r6 -/* 80144A68 001419C8 7C 09 03 A6 */ mtctr r0 -/* 80144A6C 001419CC 7C 03 30 00 */ cmpw r3, r6 -/* 80144A70 001419D0 40 80 00 08 */ bge lbl_80144A78 -lbl_80144A74: -/* 80144A74 001419D4 42 00 00 00 */ bdnz lbl_80144A74 -lbl_80144A78: -/* 80144A78 001419D8 38 00 00 00 */ li r0, 0 -/* 80144A7C 001419DC 90 05 00 00 */ stw r0, 0(r5) -lbl_80144A80: -/* 80144A80 001419E0 80 01 01 04 */ lwz r0, 0x104(r1) -/* 80144A84 001419E4 83 E1 00 FC */ lwz r31, 0xfc(r1) -/* 80144A88 001419E8 83 C1 00 F8 */ lwz r30, 0xf8(r1) -/* 80144A8C 001419EC 83 A1 00 F4 */ lwz r29, 0xf4(r1) -/* 80144A90 001419F0 83 81 00 F0 */ lwz r28, 0xf0(r1) -/* 80144A94 001419F4 7C 08 03 A6 */ mtlr r0 -/* 80144A98 001419F8 38 21 01 00 */ addi r1, r1, 0x100 -/* 80144A9C 001419FC 4E 80 00 20 */ blr - -.global ShouldStartStrikeWall__9CBSHurledCFR15CBodyController -ShouldStartStrikeWall__9CBSHurledCFR15CBodyController: -/* 80144AA0 00141A00 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80144AA4 00141A04 7C 08 02 A6 */ mflr r0 -/* 80144AA8 00141A08 90 01 00 24 */ stw r0, 0x24(r1) -/* 80144AAC 00141A0C 38 61 00 08 */ addi r3, r1, 8 -/* 80144AB0 00141A10 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80144AB4 00141A14 3B E0 00 00 */ li r31, 0 -/* 80144AB8 00141A18 80 84 00 00 */ lwz r4, 0(r4) -/* 80144ABC 00141A1C 4B F6 7F A1 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 80144AC0 00141A20 80 63 00 04 */ lwz r3, 4(r3) -/* 80144AC4 00141A24 88 03 03 28 */ lbz r0, 0x328(r3) -/* 80144AC8 00141A28 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80144ACC 00141A2C 41 82 00 20 */ beq lbl_80144AEC -/* 80144AD0 00141A30 81 83 00 00 */ lwz r12, 0(r3) -/* 80144AD4 00141A34 81 8C 02 B8 */ lwz r12, 0x2b8(r12) -/* 80144AD8 00141A38 7D 89 03 A6 */ mtctr r12 -/* 80144ADC 00141A3C 4E 80 04 21 */ bctrl -/* 80144AE0 00141A40 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80144AE4 00141A44 40 82 00 08 */ bne lbl_80144AEC -/* 80144AE8 00141A48 3B E0 00 01 */ li r31, 1 -lbl_80144AEC: -/* 80144AEC 00141A4C 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80144AF0 00141A50 7F E3 FB 78 */ mr r3, r31 -/* 80144AF4 00141A54 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80144AF8 00141A58 7C 08 03 A6 */ mtlr r0 -/* 80144AFC 00141A5C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80144B00 00141A60 4E 80 00 20 */ blr - -.global ShouldStartLand__9CBSHurledCFfR15CBodyController -ShouldStartLand__9CBSHurledCFfR15CBodyController: -/* 80144B04 00141A64 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80144B08 00141A68 7C 08 02 A6 */ mflr r0 -/* 80144B0C 00141A6C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80144B10 00141A70 DB E1 00 30 */ stfd f31, 0x30(r1) -/* 80144B14 00141A74 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 -/* 80144B18 00141A78 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80144B1C 00141A7C 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80144B20 00141A80 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80144B24 00141A84 FF E0 08 90 */ fmr f31, f1 -/* 80144B28 00141A88 7C 7D 1B 78 */ mr r29, r3 -/* 80144B2C 00141A8C 80 84 00 00 */ lwz r4, 0(r4) -/* 80144B30 00141A90 38 61 00 08 */ addi r3, r1, 8 -/* 80144B34 00141A94 3B E0 00 01 */ li r31, 1 -/* 80144B38 00141A98 4B F6 7F 25 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 80144B3C 00141A9C 83 C3 00 04 */ lwz r30, 4(r3) -/* 80144B40 00141AA0 28 1E 00 00 */ cmplwi r30, 0 -/* 80144B44 00141AA4 41 82 00 BC */ beq lbl_80144C00 -/* 80144B48 00141AA8 7F C3 F3 78 */ mr r3, r30 -/* 80144B4C 00141AAC 3B E0 00 00 */ li r31, 0 -/* 80144B50 00141AB0 81 9E 00 00 */ lwz r12, 0(r30) -/* 80144B54 00141AB4 81 8C 02 B8 */ lwz r12, 0x2b8(r12) -/* 80144B58 00141AB8 7D 89 03 A6 */ mtctr r12 -/* 80144B5C 00141ABC 4E 80 04 21 */ bctrl -/* 80144B60 00141AC0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80144B64 00141AC4 41 82 00 0C */ beq lbl_80144B70 -/* 80144B68 00141AC8 3B E0 00 01 */ li r31, 1 -/* 80144B6C 00141ACC 48 00 00 94 */ b lbl_80144C00 -lbl_80144B70: -/* 80144B70 00141AD0 C0 7E 00 60 */ lfs f3, 0x60(r30) -/* 80144B74 00141AD4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80144B78 00141AD8 C0 5E 00 50 */ lfs f2, 0x50(r30) -/* 80144B7C 00141ADC 38 9D 00 1C */ addi r4, r29, 0x1c -/* 80144B80 00141AE0 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80144B84 00141AE4 C0 22 9C 24 */ lfs f1, lbl_805AB944@sda21(r2) -/* 80144B88 00141AE8 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80144B8C 00141AEC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80144B90 00141AF0 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 80144B94 00141AF4 48 1C B3 D1 */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 80144B98 00141AF8 54 60 06 3E */ clrlwi r0, r3, 0x18 -/* 80144B9C 00141AFC 7C 00 00 34 */ cntlzw r0, r0 -/* 80144BA0 00141B00 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f -/* 80144BA4 00141B04 40 82 00 3C */ bne lbl_80144BE0 -/* 80144BA8 00141B08 C0 3E 01 40 */ lfs f1, 0x140(r30) -/* 80144BAC 00141B0C C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 80144BB0 00141B10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80144BB4 00141B14 40 80 00 2C */ bge lbl_80144BE0 -/* 80144BB8 00141B18 C0 3D 00 28 */ lfs f1, 0x28(r29) -/* 80144BBC 00141B1C C0 02 9C 18 */ lfs f0, lbl_805AB938@sda21(r2) -/* 80144BC0 00141B20 EC 21 F8 2A */ fadds f1, f1, f31 -/* 80144BC4 00141B24 D0 3D 00 28 */ stfs f1, 0x28(r29) -/* 80144BC8 00141B28 C0 3D 00 28 */ lfs f1, 0x28(r29) -/* 80144BCC 00141B2C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80144BD0 00141B30 4C 41 13 82 */ cror 2, 1, 2 -/* 80144BD4 00141B34 40 82 00 14 */ bne lbl_80144BE8 -/* 80144BD8 00141B38 3B E0 00 01 */ li r31, 1 -/* 80144BDC 00141B3C 48 00 00 0C */ b lbl_80144BE8 -lbl_80144BE0: -/* 80144BE0 00141B40 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 80144BE4 00141B44 D0 1D 00 28 */ stfs f0, 0x28(r29) -lbl_80144BE8: -/* 80144BE8 00141B48 C0 5E 00 60 */ lfs f2, 0x60(r30) -/* 80144BEC 00141B4C C0 3E 00 50 */ lfs f1, 0x50(r30) -/* 80144BF0 00141B50 C0 1E 00 40 */ lfs f0, 0x40(r30) -/* 80144BF4 00141B54 D0 1D 00 1C */ stfs f0, 0x1c(r29) -/* 80144BF8 00141B58 D0 3D 00 20 */ stfs f1, 0x20(r29) -/* 80144BFC 00141B5C D0 5D 00 24 */ stfs f2, 0x24(r29) -lbl_80144C00: -/* 80144C00 00141B60 7F E3 FB 78 */ mr r3, r31 -/* 80144C04 00141B64 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 -/* 80144C08 00141B68 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80144C0C 00141B6C CB E1 00 30 */ lfd f31, 0x30(r1) -/* 80144C10 00141B70 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80144C14 00141B74 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80144C18 00141B78 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80144C1C 00141B7C 7C 08 03 A6 */ mtlr r0 -/* 80144C20 00141B80 38 21 00 40 */ addi r1, r1, 0x40 -/* 80144C24 00141B84 4E 80 00 20 */ blr - -.global Shutdown__9CBSHurledFR15CBodyController -Shutdown__9CBSHurledFR15CBodyController: -/* 80144C28 00141B88 4E 80 00 20 */ blr - -.global UpdateBody__9CBSHurledFfR15CBodyControllerR13CStateManager -UpdateBody__9CBSHurledFfR15CBodyControllerR13CStateManager: -/* 80144C2C 00141B8C 94 21 FE 80 */ stwu r1, -0x180(r1) -/* 80144C30 00141B90 7C 08 02 A6 */ mflr r0 -/* 80144C34 00141B94 90 01 01 84 */ stw r0, 0x184(r1) -/* 80144C38 00141B98 DB E1 01 70 */ stfd f31, 0x170(r1) -/* 80144C3C 00141B9C F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 -/* 80144C40 00141BA0 93 E1 01 6C */ stw r31, 0x16c(r1) -/* 80144C44 00141BA4 93 C1 01 68 */ stw r30, 0x168(r1) -/* 80144C48 00141BA8 93 A1 01 64 */ stw r29, 0x164(r1) -/* 80144C4C 00141BAC 93 81 01 60 */ stw r28, 0x160(r1) -/* 80144C50 00141BB0 FF E0 08 90 */ fmr f31, f1 -/* 80144C54 00141BB4 7C 7C 1B 78 */ mr r28, r3 -/* 80144C58 00141BB8 7C 9D 23 78 */ mr r29, r4 -/* 80144C5C 00141BBC 7C BE 2B 78 */ mr r30, r5 -/* 80144C60 00141BC0 4B FF F8 19 */ bl GetBodyStateTransition__9CBSHurledFfR15CBodyController -/* 80144C64 00141BC4 7C 7F 1B 78 */ mr r31, r3 -/* 80144C68 00141BC8 2C 1F FF FF */ cmpwi r31, -1 -/* 80144C6C 00141BCC 40 82 04 A0 */ bne lbl_8014510C -/* 80144C70 00141BD0 C0 3C 00 18 */ lfs f1, 0x18(r28) -/* 80144C74 00141BD4 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 80144C78 00141BD8 EC 21 F8 2A */ fadds f1, f1, f31 -/* 80144C7C 00141BDC D0 3C 00 18 */ stfs f1, 0x18(r28) -/* 80144C80 00141BE0 C0 3C 00 14 */ lfs f1, 0x14(r28) -/* 80144C84 00141BE4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80144C88 00141BE8 40 81 00 34 */ ble lbl_80144CBC -/* 80144C8C 00141BEC C0 1C 00 10 */ lfs f0, 0x10(r28) -/* 80144C90 00141BF0 38 61 00 BC */ addi r3, r1, 0xbc -/* 80144C94 00141BF4 38 81 00 10 */ addi r4, r1, 0x10 -/* 80144C98 00141BF8 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 80144C9C 00141BFC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80144CA0 00141C00 48 1C C4 59 */ bl ZRotation__11CQuaternionFRC9CRelAngle -/* 80144CA4 00141C04 7F A3 EB 78 */ mr r3, r29 -/* 80144CA8 00141C08 38 81 00 BC */ addi r4, r1, 0xbc -/* 80144CAC 00141C0C 4B FF 5B 5D */ bl SetDeltaRotation__15CBodyControllerFRC11CQuaternion -/* 80144CB0 00141C10 C0 1C 00 14 */ lfs f0, 0x14(r28) -/* 80144CB4 00141C14 EC 00 F8 28 */ fsubs f0, f0, f31 -/* 80144CB8 00141C18 D0 1C 00 14 */ stfs f0, 0x14(r28) -lbl_80144CBC: -/* 80144CBC 00141C1C 38 7D 00 04 */ addi r3, r29, 4 -/* 80144CC0 00141C20 38 80 00 0A */ li r4, 0xa -/* 80144CC4 00141C24 4B FE C7 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80144CC8 00141C28 28 03 00 00 */ cmplwi r3, 0 -/* 80144CCC 00141C2C 41 82 00 14 */ beq lbl_80144CE0 -/* 80144CD0 00141C30 88 1C 00 2C */ lbz r0, 0x2c(r28) -/* 80144CD4 00141C34 38 60 00 01 */ li r3, 1 -/* 80144CD8 00141C38 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80144CDC 00141C3C 98 1C 00 2C */ stb r0, 0x2c(r28) -lbl_80144CE0: -/* 80144CE0 00141C40 80 1C 00 04 */ lwz r0, 4(r28) -/* 80144CE4 00141C44 28 00 00 07 */ cmplwi r0, 7 -/* 80144CE8 00141C48 41 81 04 24 */ bgt lbl_8014510C -/* 80144CEC 00141C4C 3C 60 80 3E */ lis r3, lbl_803E1FE8@ha -/* 80144CF0 00141C50 54 00 10 3A */ slwi r0, r0, 2 -/* 80144CF4 00141C54 38 63 1F E8 */ addi r3, r3, lbl_803E1FE8@l -/* 80144CF8 00141C58 7C 03 00 2E */ lwzx r0, r3, r0 -/* 80144CFC 00141C5C 7C 09 03 A6 */ mtctr r0 -/* 80144D00 00141C60 4E 80 04 20 */ bctr -/* 80144D04 00141C64 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 80144D08 00141C68 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80144D0C 00141C6C 41 82 04 00 */ beq lbl_8014510C -/* 80144D10 00141C70 38 61 00 64 */ addi r3, r1, 0x64 -/* 80144D14 00141C74 48 19 E3 69 */ bl NoParameter__12CPASAnimParmFv -/* 80144D18 00141C78 38 61 00 6C */ addi r3, r1, 0x6c -/* 80144D1C 00141C7C 48 19 E3 61 */ bl NoParameter__12CPASAnimParmFv -/* 80144D20 00141C80 38 61 00 74 */ addi r3, r1, 0x74 -/* 80144D24 00141C84 48 19 E3 59 */ bl NoParameter__12CPASAnimParmFv -/* 80144D28 00141C88 38 61 00 7C */ addi r3, r1, 0x7c -/* 80144D2C 00141C8C 48 19 E3 51 */ bl NoParameter__12CPASAnimParmFv -/* 80144D30 00141C90 38 61 00 84 */ addi r3, r1, 0x84 -/* 80144D34 00141C94 48 19 E3 49 */ bl NoParameter__12CPASAnimParmFv -/* 80144D38 00141C98 38 61 00 8C */ addi r3, r1, 0x8c -/* 80144D3C 00141C9C 38 80 00 01 */ li r4, 1 -/* 80144D40 00141CA0 48 19 E2 45 */ bl FromEnum__12CPASAnimParmFi -/* 80144D44 00141CA4 C0 3C 00 08 */ lfs f1, 8(r28) -/* 80144D48 00141CA8 38 61 00 94 */ addi r3, r1, 0x94 -/* 80144D4C 00141CAC 48 19 E2 9D */ bl FromReal32__12CPASAnimParmFf -/* 80144D50 00141CB0 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 80144D54 00141CB4 38 61 00 9C */ addi r3, r1, 0x9c -/* 80144D58 00141CB8 48 19 E2 F5 */ bl FromInt32__12CPASAnimParmFi -/* 80144D5C 00141CBC 38 61 00 6C */ addi r3, r1, 0x6c -/* 80144D60 00141CC0 38 01 00 64 */ addi r0, r1, 0x64 -/* 80144D64 00141CC4 90 61 00 08 */ stw r3, 8(r1) -/* 80144D68 00141CC8 38 61 01 14 */ addi r3, r1, 0x114 -/* 80144D6C 00141CCC 38 A1 00 9C */ addi r5, r1, 0x9c -/* 80144D70 00141CD0 38 C1 00 94 */ addi r6, r1, 0x94 -/* 80144D74 00141CD4 90 01 00 0C */ stw r0, 0xc(r1) -/* 80144D78 00141CD8 38 E1 00 8C */ addi r7, r1, 0x8c -/* 80144D7C 00141CDC 39 01 00 84 */ addi r8, r1, 0x84 -/* 80144D80 00141CE0 39 21 00 7C */ addi r9, r1, 0x7c -/* 80144D84 00141CE4 39 41 00 74 */ addi r10, r1, 0x74 -/* 80144D88 00141CE8 38 80 00 0E */ li r4, 0xe -/* 80144D8C 00141CEC 4B F3 85 39 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80144D90 00141CF0 80 BE 09 00 */ lwz r5, 0x900(r30) -/* 80144D94 00141CF4 7F A3 EB 78 */ mr r3, r29 -/* 80144D98 00141CF8 38 81 01 14 */ addi r4, r1, 0x114 -/* 80144D9C 00141CFC 4B FF 55 61 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 80144DA0 00141D00 38 00 00 01 */ li r0, 1 -/* 80144DA4 00141D04 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 80144DA8 00141D08 90 1C 00 04 */ stw r0, 4(r28) -/* 80144DAC 00141D0C 34 A1 01 18 */ addic. r5, r1, 0x118 -/* 80144DB0 00141D10 D0 1C 00 28 */ stfs f0, 0x28(r28) -/* 80144DB4 00141D14 41 82 03 58 */ beq lbl_8014510C -/* 80144DB8 00141D18 80 C5 00 00 */ lwz r6, 0(r5) -/* 80144DBC 00141D1C 38 60 00 00 */ li r3, 0 -/* 80144DC0 00141D20 2C 06 00 00 */ cmpwi r6, 0 -/* 80144DC4 00141D24 40 81 00 40 */ ble lbl_80144E04 -/* 80144DC8 00141D28 2C 06 00 08 */ cmpwi r6, 8 -/* 80144DCC 00141D2C 38 86 FF F8 */ addi r4, r6, -8 -/* 80144DD0 00141D30 40 81 00 20 */ ble lbl_80144DF0 -/* 80144DD4 00141D34 38 04 00 07 */ addi r0, r4, 7 -/* 80144DD8 00141D38 54 00 E8 FE */ srwi r0, r0, 3 -/* 80144DDC 00141D3C 7C 09 03 A6 */ mtctr r0 -/* 80144DE0 00141D40 2C 04 00 00 */ cmpwi r4, 0 -/* 80144DE4 00141D44 40 81 00 0C */ ble lbl_80144DF0 -lbl_80144DE8: -/* 80144DE8 00141D48 38 63 00 08 */ addi r3, r3, 8 -/* 80144DEC 00141D4C 42 00 FF FC */ bdnz lbl_80144DE8 -lbl_80144DF0: -/* 80144DF0 00141D50 7C 03 30 50 */ subf r0, r3, r6 -/* 80144DF4 00141D54 7C 09 03 A6 */ mtctr r0 -/* 80144DF8 00141D58 7C 03 30 00 */ cmpw r3, r6 -/* 80144DFC 00141D5C 40 80 00 08 */ bge lbl_80144E04 -lbl_80144E00: -/* 80144E00 00141D60 42 00 00 00 */ bdnz lbl_80144E00 -lbl_80144E04: -/* 80144E04 00141D64 38 00 00 00 */ li r0, 0 -/* 80144E08 00141D68 90 05 00 00 */ stw r0, 0(r5) -/* 80144E0C 00141D6C 48 00 03 00 */ b lbl_8014510C -/* 80144E10 00141D70 FC 20 F8 90 */ fmr f1, f31 -/* 80144E14 00141D74 7F 83 E3 78 */ mr r3, r28 -/* 80144E18 00141D78 7F A4 EB 78 */ mr r4, r29 -/* 80144E1C 00141D7C 4B FF FC E9 */ bl ShouldStartLand__9CBSHurledCFfR15CBodyController -/* 80144E20 00141D80 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80144E24 00141D84 41 82 00 20 */ beq lbl_80144E44 -/* 80144E28 00141D88 38 00 00 02 */ li r0, 2 -/* 80144E2C 00141D8C 7F 83 E3 78 */ mr r3, r28 -/* 80144E30 00141D90 90 1C 00 04 */ stw r0, 4(r28) -/* 80144E34 00141D94 7F A4 EB 78 */ mr r4, r29 -/* 80144E38 00141D98 7F C5 F3 78 */ mr r5, r30 -/* 80144E3C 00141D9C 4B FF FA 55 */ bl PlayLandAnimation__9CBSHurledFR15CBodyControllerR13CStateManager -/* 80144E40 00141DA0 48 00 02 CC */ b lbl_8014510C -lbl_80144E44: -/* 80144E44 00141DA4 7F 83 E3 78 */ mr r3, r28 -/* 80144E48 00141DA8 7F A4 EB 78 */ mr r4, r29 -/* 80144E4C 00141DAC 4B FF FC 55 */ bl ShouldStartStrikeWall__9CBSHurledCFR15CBodyController -/* 80144E50 00141DB0 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80144E54 00141DB4 41 82 00 88 */ beq lbl_80144EDC -/* 80144E58 00141DB8 7F 83 E3 78 */ mr r3, r28 -/* 80144E5C 00141DBC 7F A4 EB 78 */ mr r4, r29 -/* 80144E60 00141DC0 7F C5 F3 78 */ mr r5, r30 -/* 80144E64 00141DC4 4B FF F8 79 */ bl PlayStrikeWallAnimation__9CBSHurledFR15CBodyControllerR13CStateManager -/* 80144E68 00141DC8 80 9D 00 00 */ lwz r4, 0(r29) -/* 80144E6C 00141DCC 38 61 00 5C */ addi r3, r1, 0x5c -/* 80144E70 00141DD0 4B F6 7B ED */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 80144E74 00141DD4 83 83 00 04 */ lwz r28, 4(r3) -/* 80144E78 00141DD8 28 1C 00 00 */ cmplwi r28, 0 -/* 80144E7C 00141DDC 41 82 02 90 */ beq lbl_8014510C -/* 80144E80 00141DE0 7F 83 E3 78 */ mr r3, r28 -/* 80144E84 00141DE4 81 9C 00 00 */ lwz r12, 0(r28) -/* 80144E88 00141DE8 81 8C 02 BC */ lwz r12, 0x2bc(r12) -/* 80144E8C 00141DEC 7D 89 03 A6 */ mtctr r12 -/* 80144E90 00141DF0 4E 80 04 21 */ bctrl -/* 80144E94 00141DF4 C0 02 9C 2C */ lfs f0, lbl_805AB94C@sda21(r2) -/* 80144E98 00141DF8 3C 60 80 5A */ lis r3, lbl_805A6700@ha -/* 80144E9C 00141DFC 38 A3 67 00 */ addi r5, r3, lbl_805A6700@l -/* 80144EA0 00141E00 7F 83 E3 78 */ mr r3, r28 -/* 80144EA4 00141E04 EC 80 07 F2 */ fmuls f4, f0, f31 -/* 80144EA8 00141E08 C0 65 00 00 */ lfs f3, 0(r5) -/* 80144EAC 00141E0C C0 45 00 04 */ lfs f2, 4(r5) -/* 80144EB0 00141E10 38 81 00 B0 */ addi r4, r1, 0xb0 -/* 80144EB4 00141E14 C0 05 00 08 */ lfs f0, 8(r5) -/* 80144EB8 00141E18 EC 84 00 72 */ fmuls f4, f4, f1 -/* 80144EBC 00141E1C EC 64 00 F2 */ fmuls f3, f4, f3 -/* 80144EC0 00141E20 EC 24 00 B2 */ fmuls f1, f4, f2 -/* 80144EC4 00141E24 EC 04 00 32 */ fmuls f0, f4, f0 -/* 80144EC8 00141E28 D0 61 00 B0 */ stfs f3, 0xb0(r1) -/* 80144ECC 00141E2C D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 80144ED0 00141E30 D0 01 00 B8 */ stfs f0, 0xb8(r1) -/* 80144ED4 00141E34 4B FD 5D CD */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -/* 80144ED8 00141E38 48 00 02 34 */ b lbl_8014510C -lbl_80144EDC: -/* 80144EDC 00141E3C 88 1C 00 2C */ lbz r0, 0x2c(r28) -/* 80144EE0 00141E40 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80144EE4 00141E44 41 82 02 28 */ beq lbl_8014510C -/* 80144EE8 00141E48 7F 83 E3 78 */ mr r3, r28 -/* 80144EEC 00141E4C 7F C4 F3 78 */ mr r4, r30 -/* 80144EF0 00141E50 7F A5 EB 78 */ mr r5, r29 -/* 80144EF4 00141E54 38 C0 00 06 */ li r6, 6 -/* 80144EF8 00141E58 4B FF F6 09 */ bl Recover__9CBSHurledFR13CStateManagerR15CBodyControllerQ23pas12EHurledState -/* 80144EFC 00141E5C 48 00 02 10 */ b lbl_8014510C -/* 80144F00 00141E60 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 80144F04 00141E64 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80144F08 00141E68 41 82 02 04 */ beq lbl_8014510C -/* 80144F0C 00141E6C 38 00 00 04 */ li r0, 4 -/* 80144F10 00141E70 38 61 00 1C */ addi r3, r1, 0x1c -/* 80144F14 00141E74 90 1C 00 04 */ stw r0, 4(r28) -/* 80144F18 00141E78 48 19 E1 65 */ bl NoParameter__12CPASAnimParmFv -/* 80144F1C 00141E7C 38 61 00 24 */ addi r3, r1, 0x24 -/* 80144F20 00141E80 48 19 E1 5D */ bl NoParameter__12CPASAnimParmFv -/* 80144F24 00141E84 38 61 00 2C */ addi r3, r1, 0x2c -/* 80144F28 00141E88 48 19 E1 55 */ bl NoParameter__12CPASAnimParmFv -/* 80144F2C 00141E8C 38 61 00 34 */ addi r3, r1, 0x34 -/* 80144F30 00141E90 48 19 E1 4D */ bl NoParameter__12CPASAnimParmFv -/* 80144F34 00141E94 38 61 00 3C */ addi r3, r1, 0x3c -/* 80144F38 00141E98 48 19 E1 45 */ bl NoParameter__12CPASAnimParmFv -/* 80144F3C 00141E9C 80 9C 00 04 */ lwz r4, 4(r28) -/* 80144F40 00141EA0 38 61 00 44 */ addi r3, r1, 0x44 -/* 80144F44 00141EA4 48 19 E0 41 */ bl FromEnum__12CPASAnimParmFi -/* 80144F48 00141EA8 C0 3C 00 08 */ lfs f1, 8(r28) -/* 80144F4C 00141EAC 38 61 00 4C */ addi r3, r1, 0x4c -/* 80144F50 00141EB0 48 19 E0 99 */ bl FromReal32__12CPASAnimParmFf -/* 80144F54 00141EB4 80 9C 00 0C */ lwz r4, 0xc(r28) -/* 80144F58 00141EB8 38 61 00 54 */ addi r3, r1, 0x54 -/* 80144F5C 00141EBC 48 19 E0 F1 */ bl FromInt32__12CPASAnimParmFi -/* 80144F60 00141EC0 38 61 00 24 */ addi r3, r1, 0x24 -/* 80144F64 00141EC4 38 01 00 1C */ addi r0, r1, 0x1c -/* 80144F68 00141EC8 90 61 00 08 */ stw r3, 8(r1) -/* 80144F6C 00141ECC 38 61 00 CC */ addi r3, r1, 0xcc -/* 80144F70 00141ED0 38 A1 00 54 */ addi r5, r1, 0x54 -/* 80144F74 00141ED4 38 C1 00 4C */ addi r6, r1, 0x4c -/* 80144F78 00141ED8 90 01 00 0C */ stw r0, 0xc(r1) -/* 80144F7C 00141EDC 38 E1 00 44 */ addi r7, r1, 0x44 -/* 80144F80 00141EE0 39 01 00 3C */ addi r8, r1, 0x3c -/* 80144F84 00141EE4 39 21 00 34 */ addi r9, r1, 0x34 -/* 80144F88 00141EE8 39 41 00 2C */ addi r10, r1, 0x2c -/* 80144F8C 00141EEC 38 80 00 0E */ li r4, 0xe -/* 80144F90 00141EF0 4B F3 83 35 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80144F94 00141EF4 80 BE 09 00 */ lwz r5, 0x900(r30) -/* 80144F98 00141EF8 7F A3 EB 78 */ mr r3, r29 -/* 80144F9C 00141EFC 38 81 00 CC */ addi r4, r1, 0xcc -/* 80144FA0 00141F00 4B FF 53 5D */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 80144FA4 00141F04 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 80144FA8 00141F08 34 A1 00 D0 */ addic. r5, r1, 0xd0 -/* 80144FAC 00141F0C D0 1C 00 28 */ stfs f0, 0x28(r28) -/* 80144FB0 00141F10 41 82 01 5C */ beq lbl_8014510C -/* 80144FB4 00141F14 80 C5 00 00 */ lwz r6, 0(r5) -/* 80144FB8 00141F18 38 60 00 00 */ li r3, 0 -/* 80144FBC 00141F1C 2C 06 00 00 */ cmpwi r6, 0 -/* 80144FC0 00141F20 40 81 00 40 */ ble lbl_80145000 -/* 80144FC4 00141F24 2C 06 00 08 */ cmpwi r6, 8 -/* 80144FC8 00141F28 38 86 FF F8 */ addi r4, r6, -8 -/* 80144FCC 00141F2C 40 81 00 20 */ ble lbl_80144FEC -/* 80144FD0 00141F30 38 04 00 07 */ addi r0, r4, 7 -/* 80144FD4 00141F34 54 00 E8 FE */ srwi r0, r0, 3 -/* 80144FD8 00141F38 7C 09 03 A6 */ mtctr r0 -/* 80144FDC 00141F3C 2C 04 00 00 */ cmpwi r4, 0 -/* 80144FE0 00141F40 40 81 00 0C */ ble lbl_80144FEC -lbl_80144FE4: -/* 80144FE4 00141F44 38 63 00 08 */ addi r3, r3, 8 -/* 80144FE8 00141F48 42 00 FF FC */ bdnz lbl_80144FE4 -lbl_80144FEC: -/* 80144FEC 00141F4C 7C 03 30 50 */ subf r0, r3, r6 -/* 80144FF0 00141F50 7C 09 03 A6 */ mtctr r0 -/* 80144FF4 00141F54 7C 03 30 00 */ cmpw r3, r6 -/* 80144FF8 00141F58 40 80 00 08 */ bge lbl_80145000 -lbl_80144FFC: -/* 80144FFC 00141F5C 42 00 00 00 */ bdnz lbl_80144FFC -lbl_80145000: -/* 80145000 00141F60 38 00 00 00 */ li r0, 0 -/* 80145004 00141F64 90 05 00 00 */ stw r0, 0(r5) -/* 80145008 00141F68 48 00 01 04 */ b lbl_8014510C -/* 8014500C 00141F6C FC 20 F8 90 */ fmr f1, f31 -/* 80145010 00141F70 7F 83 E3 78 */ mr r3, r28 -/* 80145014 00141F74 7F A4 EB 78 */ mr r4, r29 -/* 80145018 00141F78 4B FF FA ED */ bl ShouldStartLand__9CBSHurledCFfR15CBodyController -/* 8014501C 00141F7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80145020 00141F80 41 82 00 20 */ beq lbl_80145040 -/* 80145024 00141F84 38 00 00 05 */ li r0, 5 -/* 80145028 00141F88 7F 83 E3 78 */ mr r3, r28 -/* 8014502C 00141F8C 90 1C 00 04 */ stw r0, 4(r28) -/* 80145030 00141F90 7F A4 EB 78 */ mr r4, r29 -/* 80145034 00141F94 7F C5 F3 78 */ mr r5, r30 -/* 80145038 00141F98 4B FF F8 59 */ bl PlayLandAnimation__9CBSHurledFR15CBodyControllerR13CStateManager -/* 8014503C 00141F9C 48 00 00 D0 */ b lbl_8014510C -lbl_80145040: -/* 80145040 00141FA0 88 1C 00 2C */ lbz r0, 0x2c(r28) -/* 80145044 00141FA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80145048 00141FA8 41 82 00 C4 */ beq lbl_8014510C -/* 8014504C 00141FAC 7F 83 E3 78 */ mr r3, r28 -/* 80145050 00141FB0 7F C4 F3 78 */ mr r4, r30 -/* 80145054 00141FB4 7F A5 EB 78 */ mr r5, r29 -/* 80145058 00141FB8 38 C0 00 07 */ li r6, 7 -/* 8014505C 00141FBC 4B FF F4 A5 */ bl Recover__9CBSHurledFR13CStateManagerR15CBodyControllerQ23pas12EHurledState -/* 80145060 00141FC0 48 00 00 AC */ b lbl_8014510C -/* 80145064 00141FC4 80 9D 00 00 */ lwz r4, 0(r29) -/* 80145068 00141FC8 38 61 00 14 */ addi r3, r1, 0x14 -/* 8014506C 00141FCC 4B F6 76 79 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80145070 00141FD0 83 C3 00 04 */ lwz r30, 4(r3) -/* 80145074 00141FD4 28 1E 00 00 */ cmplwi r30, 0 -/* 80145078 00141FD8 41 82 00 48 */ beq lbl_801450C0 -/* 8014507C 00141FDC C0 02 9C 38 */ lfs f0, lbl_805AB958@sda21(r2) -/* 80145080 00141FE0 C8 22 9C 30 */ lfd f1, lbl_805AB950@sda21(r2) -/* 80145084 00141FE4 EC 40 07 F2 */ fmuls f2, f0, f31 -/* 80145088 00141FE8 48 24 FC 65 */ bl pow -/* 8014508C 00141FEC FC 60 08 18 */ frsp f3, f1 -/* 80145090 00141FF0 C0 5E 01 3C */ lfs f2, 0x13c(r30) -/* 80145094 00141FF4 C0 3E 01 40 */ lfs f1, 0x140(r30) -/* 80145098 00141FF8 7F C3 F3 78 */ mr r3, r30 -/* 8014509C 00141FFC C0 1E 01 38 */ lfs f0, 0x138(r30) -/* 801450A0 00142000 38 81 00 A4 */ addi r4, r1, 0xa4 -/* 801450A4 00142004 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 801450A8 00142008 EC 23 00 72 */ fmuls f1, f3, f1 -/* 801450AC 0014200C EC 03 00 32 */ fmuls f0, f3, f0 -/* 801450B0 00142010 D0 41 00 A8 */ stfs f2, 0xa8(r1) -/* 801450B4 00142014 D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 801450B8 00142018 D0 21 00 AC */ stfs f1, 0xac(r1) -/* 801450BC 0014201C 4B FD 5B E5 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_801450C0: -/* 801450C0 00142020 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 801450C4 00142024 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801450C8 00142028 41 82 00 44 */ beq lbl_8014510C -/* 801450CC 0014202C 38 00 FF FF */ li r0, -1 -/* 801450D0 00142030 3B E0 00 05 */ li r31, 5 -/* 801450D4 00142034 90 1C 00 04 */ stw r0, 4(r28) -/* 801450D8 00142038 48 00 00 34 */ b lbl_8014510C -/* 801450DC 0014203C 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 801450E0 00142040 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801450E4 00142044 41 82 00 28 */ beq lbl_8014510C -/* 801450E8 00142048 38 00 FF FF */ li r0, -1 -/* 801450EC 0014204C 7F A3 EB 78 */ mr r3, r29 -/* 801450F0 00142050 90 1C 00 04 */ stw r0, 4(r28) -/* 801450F4 00142054 4B FF 5A B9 */ bl GetFallState__15CBodyControllerCFv -/* 801450F8 00142058 2C 03 00 00 */ cmpwi r3, 0 -/* 801450FC 0014205C 40 82 00 0C */ bne lbl_80145108 -/* 80145100 00142060 3B E0 00 05 */ li r31, 5 -/* 80145104 00142064 48 00 00 08 */ b lbl_8014510C -lbl_80145108: -/* 80145108 00142068 3B E0 00 02 */ li r31, 2 -lbl_8014510C: -/* 8014510C 0014206C 7F E3 FB 78 */ mr r3, r31 -/* 80145110 00142070 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 -/* 80145114 00142074 80 01 01 84 */ lwz r0, 0x184(r1) -/* 80145118 00142078 CB E1 01 70 */ lfd f31, 0x170(r1) -/* 8014511C 0014207C 83 E1 01 6C */ lwz r31, 0x16c(r1) -/* 80145120 00142080 83 C1 01 68 */ lwz r30, 0x168(r1) -/* 80145124 00142084 83 A1 01 64 */ lwz r29, 0x164(r1) -/* 80145128 00142088 83 81 01 60 */ lwz r28, 0x160(r1) -/* 8014512C 0014208C 7C 08 03 A6 */ mtlr r0 -/* 80145130 00142090 38 21 01 80 */ addi r1, r1, 0x180 -/* 80145134 00142094 4E 80 00 20 */ blr - -.global Start__9CBSHurledFR15CBodyControllerR13CStateManager -Start__9CBSHurledFR15CBodyControllerR13CStateManager: -/* 80145138 00142098 94 21 FE A0 */ stwu r1, -0x160(r1) -/* 8014513C 0014209C 7C 08 02 A6 */ mflr r0 -/* 80145140 001420A0 90 01 01 64 */ stw r0, 0x164(r1) -/* 80145144 001420A4 DB E1 01 50 */ stfd f31, 0x150(r1) -/* 80145148 001420A8 F3 E1 01 58 */ psq_st f31, 344(r1), 0, qr0 -/* 8014514C 001420AC BF 21 01 34 */ stmw r25, 0x134(r1) -/* 80145150 001420B0 7C 9B 23 78 */ mr r27, r4 -/* 80145154 001420B4 7C 7A 1B 78 */ mr r26, r3 -/* 80145158 001420B8 7C BC 2B 78 */ mr r28, r5 -/* 8014515C 001420BC 38 80 00 0F */ li r4, 0xf -/* 80145160 001420C0 38 7B 00 04 */ addi r3, r27, 4 -/* 80145164 001420C4 4B FE C2 ED */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80145168 001420C8 7C 7F 1B 78 */ mr r31, r3 -/* 8014516C 001420CC 38 61 00 90 */ addi r3, r1, 0x90 -/* 80145170 001420D0 88 9F 00 20 */ lbz r4, 0x20(r31) -/* 80145174 001420D4 38 BF 00 08 */ addi r5, r31, 8 -/* 80145178 001420D8 7C 04 00 D0 */ neg r0, r4 -/* 8014517C 001420DC 7C 00 23 78 */ or r0, r0, r4 -/* 80145180 001420E0 54 00 0F FE */ srwi r0, r0, 0x1f -/* 80145184 001420E4 90 1A 00 04 */ stw r0, 4(r26) -/* 80145188 001420E8 83 DB 00 00 */ lwz r30, 0(r27) -/* 8014518C 001420EC 38 9E 00 34 */ addi r4, r30, 0x34 -/* 80145190 001420F0 48 1C D8 95 */ bl TransposeRotate__12CTransform4fCFRC9CVector3f -/* 80145194 001420F4 C0 21 00 94 */ lfs f1, 0x94(r1) -/* 80145198 001420F8 C0 41 00 90 */ lfs f2, 0x90(r1) -/* 8014519C 001420FC 48 24 FA D1 */ bl atan2 -/* 801451A0 00142100 FC 80 08 18 */ frsp f4, f1 -/* 801451A4 00142104 C0 02 9C 3C */ lfs f0, lbl_805AB95C@sda21(r2) -/* 801451A8 00142108 3C 00 43 30 */ lis r0, 0x4330 -/* 801451AC 0014210C C8 62 9C 58 */ lfd f3, lbl_805AB978@sda21(r2) -/* 801451B0 00142110 90 01 01 18 */ stw r0, 0x118(r1) -/* 801451B4 00142114 EC 44 00 32 */ fmuls f2, f4, f0 -/* 801451B8 00142118 C0 22 9C 40 */ lfs f1, lbl_805AB960@sda21(r2) -/* 801451BC 0014211C C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 801451C0 00142120 FC 40 10 1E */ fctiwz f2, f2 -/* 801451C4 00142124 D8 41 01 10 */ stfd f2, 0x110(r1) -/* 801451C8 00142128 80 01 01 14 */ lwz r0, 0x114(r1) -/* 801451CC 0014212C 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 801451D0 00142130 90 01 01 1C */ stw r0, 0x11c(r1) -/* 801451D4 00142134 C8 41 01 18 */ lfd f2, 0x118(r1) -/* 801451D8 00142138 EC 42 18 28 */ fsubs f2, f2, f3 -/* 801451DC 0014213C EF E2 20 7C */ fnmsubs f31, f2, f1, f4 -/* 801451E0 00142140 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 801451E4 00142144 40 80 00 08 */ bge lbl_801451EC -/* 801451E8 00142148 EF FF 08 2A */ fadds f31, f31, f1 -lbl_801451EC: -/* 801451EC 0014214C C0 02 9C 44 */ lfs f0, lbl_805AB964@sda21(r2) -/* 801451F0 00142150 7F 63 DB 78 */ mr r3, r27 -/* 801451F4 00142154 EC 00 07 F2 */ fmuls f0, f0, f31 -/* 801451F8 00142158 D0 1A 00 08 */ stfs f0, 8(r26) -/* 801451FC 0014215C 4B FF 52 59 */ bl GetPASDatabase__15CBodyControllerCFv -/* 80145200 00142160 7C 60 1B 78 */ mr r0, r3 -/* 80145204 00142164 38 61 00 40 */ addi r3, r1, 0x40 -/* 80145208 00142168 7C 19 03 78 */ mr r25, r0 -/* 8014520C 0014216C 48 19 DE 71 */ bl NoParameter__12CPASAnimParmFv -/* 80145210 00142170 38 61 00 48 */ addi r3, r1, 0x48 -/* 80145214 00142174 48 19 DE 69 */ bl NoParameter__12CPASAnimParmFv -/* 80145218 00142178 38 61 00 50 */ addi r3, r1, 0x50 -/* 8014521C 0014217C 48 19 DE 61 */ bl NoParameter__12CPASAnimParmFv -/* 80145220 00142180 38 61 00 58 */ addi r3, r1, 0x58 -/* 80145224 00142184 48 19 DE 59 */ bl NoParameter__12CPASAnimParmFv -/* 80145228 00142188 38 61 00 60 */ addi r3, r1, 0x60 -/* 8014522C 0014218C 48 19 DE 51 */ bl NoParameter__12CPASAnimParmFv -/* 80145230 00142190 80 9A 00 04 */ lwz r4, 4(r26) -/* 80145234 00142194 38 61 00 68 */ addi r3, r1, 0x68 -/* 80145238 00142198 48 19 DD 4D */ bl FromEnum__12CPASAnimParmFi -/* 8014523C 0014219C C0 3A 00 08 */ lfs f1, 8(r26) -/* 80145240 001421A0 38 61 00 70 */ addi r3, r1, 0x70 -/* 80145244 001421A4 48 19 DD A5 */ bl FromReal32__12CPASAnimParmFf -/* 80145248 001421A8 38 61 00 78 */ addi r3, r1, 0x78 -/* 8014524C 001421AC 38 80 FF FF */ li r4, -1 -/* 80145250 001421B0 48 19 DD FD */ bl FromInt32__12CPASAnimParmFi -/* 80145254 001421B4 38 61 00 48 */ addi r3, r1, 0x48 -/* 80145258 001421B8 38 01 00 40 */ addi r0, r1, 0x40 -/* 8014525C 001421BC 90 61 00 08 */ stw r3, 8(r1) -/* 80145260 001421C0 38 61 00 C4 */ addi r3, r1, 0xc4 -/* 80145264 001421C4 38 A1 00 78 */ addi r5, r1, 0x78 -/* 80145268 001421C8 38 C1 00 70 */ addi r6, r1, 0x70 -/* 8014526C 001421CC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80145270 001421D0 38 E1 00 68 */ addi r7, r1, 0x68 -/* 80145274 001421D4 39 01 00 60 */ addi r8, r1, 0x60 -/* 80145278 001421D8 39 21 00 58 */ addi r9, r1, 0x58 -/* 8014527C 001421DC 39 41 00 50 */ addi r10, r1, 0x50 -/* 80145280 001421E0 38 80 00 0E */ li r4, 0xe -/* 80145284 001421E4 4B F3 80 41 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80145288 001421E8 80 DC 09 00 */ lwz r6, 0x900(r28) -/* 8014528C 001421EC 7F 24 CB 78 */ mr r4, r25 -/* 80145290 001421F0 38 61 00 38 */ addi r3, r1, 0x38 -/* 80145294 001421F4 38 A1 00 C4 */ addi r5, r1, 0xc4 -/* 80145298 001421F8 38 E0 FF FF */ li r7, -1 -/* 8014529C 001421FC 48 19 FD C5 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 801452A0 00142200 83 A1 00 3C */ lwz r29, 0x3c(r1) -/* 801452A4 00142204 38 00 00 00 */ li r0, 0 -/* 801452A8 00142208 C0 02 9C 20 */ lfs f0, lbl_805AB940@sda21(r2) -/* 801452AC 0014220C 38 A0 FF FF */ li r5, -1 -/* 801452B0 00142210 38 E0 00 01 */ li r7, 1 -/* 801452B4 00142214 93 A1 00 9C */ stw r29, 0x9c(r1) -/* 801452B8 00142218 7F 63 DB 78 */ mr r3, r27 -/* 801452BC 0014221C 38 81 00 9C */ addi r4, r1, 0x9c -/* 801452C0 00142220 90 A1 00 A0 */ stw r5, 0xa0(r1) -/* 801452C4 00142224 38 A0 00 00 */ li r5, 0 -/* 801452C8 00142228 38 C0 00 00 */ li r6, 0 -/* 801452CC 0014222C D0 01 00 A4 */ stfs f0, 0xa4(r1) -/* 801452D0 00142230 98 E1 00 A8 */ stb r7, 0xa8(r1) -/* 801452D4 00142234 90 01 00 AC */ stw r0, 0xac(r1) -/* 801452D8 00142238 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 801452DC 0014223C 98 01 00 B4 */ stb r0, 0xb4(r1) -/* 801452E0 00142240 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 801452E4 00142244 90 01 00 BC */ stw r0, 0xbc(r1) -/* 801452E8 00142248 90 01 00 C0 */ stw r0, 0xc0(r1) -/* 801452EC 0014224C 4B FF 56 31 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 801452F0 00142250 7F 23 CB 78 */ mr r3, r25 -/* 801452F4 00142254 38 80 00 0E */ li r4, 0xe -/* 801452F8 00142258 48 19 FB CD */ bl GetAnimState__12CPASDatabaseCFi -/* 801452FC 0014225C 7C 79 1B 78 */ mr r25, r3 -/* 80145300 00142260 7F A5 EB 78 */ mr r5, r29 -/* 80145304 00142264 38 61 00 30 */ addi r3, r1, 0x30 -/* 80145308 00142268 38 C0 00 00 */ li r6, 0 -/* 8014530C 0014226C 7F 24 CB 78 */ mr r4, r25 -/* 80145310 00142270 48 19 EC E5 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 80145314 00142274 80 81 00 30 */ lwz r4, 0x30(r1) -/* 80145318 00142278 38 61 00 88 */ addi r3, r1, 0x88 -/* 8014531C 0014227C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80145320 00142280 90 81 00 88 */ stw r4, 0x88(r1) -/* 80145324 00142284 90 01 00 8C */ stw r0, 0x8c(r1) -/* 80145328 00142288 48 19 DC 55 */ bl GetInt32Value__12CPASAnimParmCFv -/* 8014532C 0014228C 90 7A 00 0C */ stw r3, 0xc(r26) -/* 80145330 00142290 7F 83 E3 78 */ mr r3, r28 -/* 80145334 00142294 7F C4 F3 78 */ mr r4, r30 -/* 80145338 00142298 38 A1 00 14 */ addi r5, r1, 0x14 -/* 8014533C 0014229C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80145340 001422A0 38 C0 00 1A */ li r6, 0x1a -/* 80145344 001422A4 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80145348 001422A8 4B EF EB 89 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8014534C 001422AC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80145350 001422B0 7F 83 E3 78 */ mr r3, r28 -/* 80145354 001422B4 7F C4 F3 78 */ mr r4, r30 -/* 80145358 001422B8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8014535C 001422BC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80145360 001422C0 38 C0 00 28 */ li r6, 0x28 -/* 80145364 001422C4 4B EF EB 6D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80145368 001422C8 3C 60 80 5A */ lis r3, skZero3f@ha -/* 8014536C 001422CC C0 22 9C 24 */ lfs f1, lbl_805AB944@sda21(r2) -/* 80145370 001422D0 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80145374 001422D4 38 7F 00 14 */ addi r3, r31, 0x14 -/* 80145378 001422D8 48 1C AB ED */ bl close_enough__FRC9CVector3fRC9CVector3ff -/* 8014537C 001422DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80145380 001422E0 40 82 00 44 */ bne lbl_801453C4 -/* 80145384 001422E4 7F C4 F3 78 */ mr r4, r30 -/* 80145388 001422E8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8014538C 001422EC 4B F6 73 C5 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FR7CEntity" -/* 80145390 001422F0 80 63 00 04 */ lwz r3, 4(r3) -/* 80145394 001422F4 28 03 00 00 */ cmplwi r3, 0 -/* 80145398 001422F8 41 82 00 2C */ beq lbl_801453C4 -/* 8014539C 001422FC C0 63 00 E8 */ lfs f3, 0xe8(r3) -/* 801453A0 00142300 C0 1F 00 14 */ lfs f0, 0x14(r31) -/* 801453A4 00142304 C0 5F 00 18 */ lfs f2, 0x18(r31) -/* 801453A8 00142308 C0 3F 00 1C */ lfs f1, 0x1c(r31) -/* 801453AC 0014230C EC 03 00 32 */ fmuls f0, f3, f0 -/* 801453B0 00142310 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 801453B4 00142314 EC 23 00 72 */ fmuls f1, f3, f1 -/* 801453B8 00142318 D0 03 00 FC */ stfs f0, 0xfc(r3) -/* 801453BC 0014231C D0 43 01 00 */ stfs f2, 0x100(r3) -/* 801453C0 00142320 D0 23 01 04 */ stfs f1, 0x104(r3) -lbl_801453C4: -/* 801453C4 00142324 7F 24 CB 78 */ mr r4, r25 -/* 801453C8 00142328 7F A5 EB 78 */ mr r5, r29 -/* 801453CC 0014232C 38 61 00 20 */ addi r3, r1, 0x20 -/* 801453D0 00142330 38 C0 00 01 */ li r6, 1 -/* 801453D4 00142334 48 19 EC 21 */ bl GetAnimParmData__13CPASAnimStateCFiUi -/* 801453D8 00142338 80 81 00 20 */ lwz r4, 0x20(r1) -/* 801453DC 0014233C 38 61 00 80 */ addi r3, r1, 0x80 -/* 801453E0 00142340 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801453E4 00142344 90 81 00 80 */ stw r4, 0x80(r1) -/* 801453E8 00142348 90 01 00 84 */ stw r0, 0x84(r1) -/* 801453EC 0014234C 48 19 DB 81 */ bl GetReal32Value__12CPASAnimParmCFv -/* 801453F0 00142350 C0 02 9C 48 */ lfs f0, lbl_805AB968@sda21(r2) -/* 801453F4 00142354 3C 00 43 30 */ lis r0, 0x4330 -/* 801453F8 00142358 C0 42 9C 3C */ lfs f2, lbl_805AB95C@sda21(r2) -/* 801453FC 0014235C EC A0 00 72 */ fmuls f5, f0, f1 -/* 80145400 00142360 90 01 01 10 */ stw r0, 0x110(r1) -/* 80145404 00142364 C8 62 9C 58 */ lfd f3, lbl_805AB978@sda21(r2) -/* 80145408 00142368 C0 22 9C 40 */ lfs f1, lbl_805AB960@sda21(r2) -/* 8014540C 0014236C EC 9F 28 28 */ fsubs f4, f31, f5 -/* 80145410 00142370 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 80145414 00142374 EC 44 00 B2 */ fmuls f2, f4, f2 -/* 80145418 00142378 FC 40 10 1E */ fctiwz f2, f2 -/* 8014541C 0014237C D8 41 01 18 */ stfd f2, 0x118(r1) -/* 80145420 00142380 80 01 01 1C */ lwz r0, 0x11c(r1) -/* 80145424 00142384 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 80145428 00142388 90 01 01 14 */ stw r0, 0x114(r1) -/* 8014542C 0014238C C8 41 01 10 */ lfd f2, 0x110(r1) -/* 80145430 00142390 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80145434 00142394 EC C2 20 7C */ fnmsubs f6, f2, f1, f4 -/* 80145438 00142398 FC 80 30 90 */ fmr f4, f6 -/* 8014543C 0014239C FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 80145440 001423A0 40 80 00 08 */ bge lbl_80145448 -/* 80145444 001423A4 EC 86 08 2A */ fadds f4, f6, f1 -lbl_80145448: -/* 80145448 001423A8 EC A5 F8 28 */ fsubs f5, f5, f31 -/* 8014544C 001423AC C0 02 9C 3C */ lfs f0, lbl_805AB95C@sda21(r2) -/* 80145450 001423B0 3C 00 43 30 */ lis r0, 0x4330 -/* 80145454 001423B4 C8 62 9C 58 */ lfd f3, lbl_805AB978@sda21(r2) -/* 80145458 001423B8 90 01 01 28 */ stw r0, 0x128(r1) -/* 8014545C 001423BC EC 45 00 32 */ fmuls f2, f5, f0 -/* 80145460 001423C0 C0 22 9C 40 */ lfs f1, lbl_805AB960@sda21(r2) -/* 80145464 001423C4 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 80145468 001423C8 FC 40 10 1E */ fctiwz f2, f2 -/* 8014546C 001423CC D0 81 00 1C */ stfs f4, 0x1c(r1) -/* 80145470 001423D0 D8 41 01 20 */ stfd f2, 0x120(r1) -/* 80145474 001423D4 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80145478 001423D8 6C 00 80 00 */ xoris r0, r0, 0x8000 -/* 8014547C 001423DC 90 01 01 2C */ stw r0, 0x12c(r1) -/* 80145480 001423E0 C8 41 01 28 */ lfd f2, 0x128(r1) -/* 80145484 001423E4 EC 42 18 28 */ fsubs f2, f2, f3 -/* 80145488 001423E8 EC 42 28 7C */ fnmsubs f2, f2, f1, f5 -/* 8014548C 001423EC FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 80145490 001423F0 40 80 00 08 */ bge lbl_80145498 -/* 80145494 001423F4 EC 42 08 2A */ fadds f2, f2, f1 -lbl_80145498: -/* 80145498 001423F8 FC 02 20 40 */ fcmpo cr0, f2, f4 -/* 8014549C 001423FC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 801454A0 00142400 40 80 00 0C */ bge lbl_801454AC -/* 801454A4 00142404 38 61 00 18 */ addi r3, r1, 0x18 -/* 801454A8 00142408 48 00 00 08 */ b lbl_801454B0 -lbl_801454AC: -/* 801454AC 0014240C 38 61 00 1C */ addi r3, r1, 0x1c -lbl_801454B0: -/* 801454B0 00142410 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 801454B4 00142414 C0 23 00 00 */ lfs f1, 0(r3) -/* 801454B8 00142418 FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 801454BC 0014241C 40 80 00 0C */ bge lbl_801454C8 -/* 801454C0 00142420 C0 02 9C 40 */ lfs f0, lbl_805AB960@sda21(r2) -/* 801454C4 00142424 EC C6 00 2A */ fadds f6, f6, f0 -lbl_801454C8: -/* 801454C8 00142428 C0 02 9C 4C */ lfs f0, lbl_805AB96C@sda21(r2) -/* 801454CC 0014242C FC 06 00 40 */ fcmpo cr0, f6, f0 -/* 801454D0 00142430 40 81 00 0C */ ble lbl_801454DC -/* 801454D4 00142434 FF E0 08 50 */ fneg f31, f1 -/* 801454D8 00142438 48 00 00 08 */ b lbl_801454E0 -lbl_801454DC: -/* 801454DC 0014243C FF E0 08 90 */ fmr f31, f1 -lbl_801454E0: -/* 801454E0 00142440 7F 63 DB 78 */ mr r3, r27 -/* 801454E4 00142444 4B FF 53 D5 */ bl GetAnimTimeRemaining__15CBodyControllerCFv -/* 801454E8 00142448 C0 42 9C 50 */ lfs f2, lbl_805AB970@sda21(r2) -/* 801454EC 0014244C C0 02 9C 1C */ lfs f0, lbl_805AB93C@sda21(r2) -/* 801454F0 00142450 EC 22 00 72 */ fmuls f1, f2, f1 -/* 801454F4 00142454 D0 3A 00 14 */ stfs f1, 0x14(r26) -/* 801454F8 00142458 C0 3A 00 14 */ lfs f1, 0x14(r26) -/* 801454FC 0014245C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80145500 00142460 40 81 00 08 */ ble lbl_80145508 -/* 80145504 00142464 EF FF 08 24 */ fdivs f31, f31, f1 -lbl_80145508: -/* 80145508 00142468 D3 FA 00 10 */ stfs f31, 0x10(r26) -/* 8014550C 0014246C 38 60 00 00 */ li r3, 0 -/* 80145510 00142470 C0 02 9C 28 */ lfs f0, lbl_805AB948@sda21(r2) -/* 80145514 00142474 34 A1 00 C8 */ addic. r5, r1, 0xc8 -/* 80145518 00142478 D0 1A 00 18 */ stfs f0, 0x18(r26) -/* 8014551C 0014247C 88 1A 00 2C */ lbz r0, 0x2c(r26) -/* 80145520 00142480 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80145524 00142484 98 1A 00 2C */ stb r0, 0x2c(r26) -/* 80145528 00142488 41 82 00 54 */ beq lbl_8014557C -/* 8014552C 0014248C 80 C5 00 00 */ lwz r6, 0(r5) -/* 80145530 00142490 2C 06 00 00 */ cmpwi r6, 0 -/* 80145534 00142494 40 81 00 40 */ ble lbl_80145574 -/* 80145538 00142498 2C 06 00 08 */ cmpwi r6, 8 -/* 8014553C 0014249C 38 86 FF F8 */ addi r4, r6, -8 -/* 80145540 001424A0 40 81 00 20 */ ble lbl_80145560 -/* 80145544 001424A4 38 04 00 07 */ addi r0, r4, 7 -/* 80145548 001424A8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8014554C 001424AC 7C 09 03 A6 */ mtctr r0 -/* 80145550 001424B0 2C 04 00 00 */ cmpwi r4, 0 -/* 80145554 001424B4 40 81 00 0C */ ble lbl_80145560 -lbl_80145558: -/* 80145558 001424B8 38 63 00 08 */ addi r3, r3, 8 -/* 8014555C 001424BC 42 00 FF FC */ bdnz lbl_80145558 -lbl_80145560: -/* 80145560 001424C0 7C 03 30 50 */ subf r0, r3, r6 -/* 80145564 001424C4 7C 09 03 A6 */ mtctr r0 -/* 80145568 001424C8 7C 03 30 00 */ cmpw r3, r6 -/* 8014556C 001424CC 40 80 00 08 */ bge lbl_80145574 -lbl_80145570: -/* 80145570 001424D0 42 00 00 00 */ bdnz lbl_80145570 -lbl_80145574: -/* 80145574 001424D4 38 00 00 00 */ li r0, 0 -/* 80145578 001424D8 90 05 00 00 */ stw r0, 0(r5) -lbl_8014557C: -/* 8014557C 001424DC E3 E1 01 58 */ psq_l f31, 344(r1), 0, qr0 -/* 80145580 001424E0 CB E1 01 50 */ lfd f31, 0x150(r1) -/* 80145584 001424E4 BB 21 01 34 */ lmw r25, 0x134(r1) -/* 80145588 001424E8 80 01 01 64 */ lwz r0, 0x164(r1) -/* 8014558C 001424EC 7C 08 03 A6 */ mtlr r0 -/* 80145590 001424F0 38 21 01 60 */ addi r1, r1, 0x160 -/* 80145594 001424F4 4E 80 00 20 */ blr - -.global IsInAir__9CBSHurledCFRC15CBodyController -IsInAir__9CBSHurledCFRC15CBodyController: -/* 80145598 001424F8 38 60 00 01 */ li r3, 1 -/* 8014559C 001424FC 4E 80 00 20 */ blr - -.global __ct__9CBSHurledFv -__ct__9CBSHurledFv: -/* 801455A0 00142500 3C C0 80 3E */ lis r6, lbl_803E1318@ha -/* 801455A4 00142504 3C A0 80 3E */ lis r5, lbl_803E1FB0@ha -/* 801455A8 00142508 38 06 13 18 */ addi r0, r6, lbl_803E1318@l -/* 801455AC 0014250C C0 22 9C 28 */ lfs f1, lbl_805AB948@sda21(r2) -/* 801455B0 00142510 90 03 00 00 */ stw r0, 0(r3) -/* 801455B4 00142514 38 C5 1F B0 */ addi r6, r5, lbl_803E1FB0@l -/* 801455B8 00142518 3C 80 80 5A */ lis r4, skZero3f@ha -/* 801455BC 0014251C 38 00 FF FF */ li r0, -1 -/* 801455C0 00142520 90 C3 00 00 */ stw r6, 0(r3) -/* 801455C4 00142524 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 801455C8 00142528 38 80 00 00 */ li r4, 0 -/* 801455CC 0014252C 90 03 00 04 */ stw r0, 4(r3) -/* 801455D0 00142530 D0 23 00 08 */ stfs f1, 8(r3) -/* 801455D4 00142534 90 03 00 0C */ stw r0, 0xc(r3) -/* 801455D8 00142538 D0 23 00 10 */ stfs f1, 0x10(r3) -/* 801455DC 0014253C D0 23 00 14 */ stfs f1, 0x14(r3) -/* 801455E0 00142540 D0 23 00 18 */ stfs f1, 0x18(r3) -/* 801455E4 00142544 C0 05 00 00 */ lfs f0, 0(r5) -/* 801455E8 00142548 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 801455EC 0014254C C0 05 00 04 */ lfs f0, 4(r5) -/* 801455F0 00142550 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 801455F4 00142554 C0 05 00 08 */ lfs f0, 8(r5) -/* 801455F8 00142558 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 801455FC 0014255C D0 23 00 28 */ stfs f1, 0x28(r3) -/* 80145600 00142560 88 03 00 2C */ lbz r0, 0x2c(r3) -/* 80145604 00142564 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80145608 00142568 98 03 00 2C */ stb r0, 0x2c(r3) -/* 8014560C 0014256C 4E 80 00 20 */ blr - -.global __dt__7CBSJumpFv -__dt__7CBSJumpFv: -/* 80145610 00142570 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80145614 00142574 7C 08 02 A6 */ mflr r0 -/* 80145618 00142578 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014561C 0014257C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80145620 00142580 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80145624 00142584 41 82 00 30 */ beq lbl_80145654 -/* 80145628 00142588 3C 60 80 3E */ lis r3, lbl_803E2008@ha -/* 8014562C 0014258C 38 03 20 08 */ addi r0, r3, lbl_803E2008@l -/* 80145630 00142590 90 1F 00 00 */ stw r0, 0(r31) -/* 80145634 00142594 41 82 00 10 */ beq lbl_80145644 -/* 80145638 00142598 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 8014563C 0014259C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 80145640 001425A0 90 1F 00 00 */ stw r0, 0(r31) -lbl_80145644: -/* 80145644 001425A4 7C 80 07 35 */ extsh. r0, r4 -/* 80145648 001425A8 40 81 00 0C */ ble lbl_80145654 -/* 8014564C 001425AC 7F E3 FB 78 */ mr r3, r31 -/* 80145650 001425B0 48 1D 02 E1 */ bl Free__7CMemoryFPCv -lbl_80145654: -/* 80145654 001425B4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80145658 001425B8 7F E3 FB 78 */ mr r3, r31 -/* 8014565C 001425BC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80145660 001425C0 7C 08 03 A6 */ mtlr r0 -/* 80145664 001425C4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80145668 001425C8 4E 80 00 20 */ blr - -.global IsMoving__7CBSJumpCFv -IsMoving__7CBSJumpCFv: -/* 8014566C 001425CC 38 60 00 01 */ li r3, 1 -/* 80145670 001425D0 4E 80 00 20 */ blr - -.global ApplyHeadTracking__7CBSJumpCFv -ApplyHeadTracking__7CBSJumpCFv: -/* 80145674 001425D4 38 60 00 00 */ li r3, 0 -/* 80145678 001425D8 4E 80 00 20 */ blr - -.global GetBodyStateTransition__7CBSJumpFfR15CBodyController -GetBodyStateTransition__7CBSJumpFfR15CBodyController: -/* 8014567C 001425DC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80145680 001425E0 7C 08 02 A6 */ mflr r0 -/* 80145684 001425E4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80145688 001425E8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8014568C 001425EC 93 C1 00 08 */ stw r30, 8(r1) -/* 80145690 001425F0 7C 9E 23 78 */ mr r30, r4 -/* 80145694 001425F4 3B FE 00 04 */ addi r31, r30, 4 -/* 80145698 001425F8 38 80 00 0F */ li r4, 0xf -/* 8014569C 001425FC 7F E3 FB 78 */ mr r3, r31 -/* 801456A0 00142600 4B FE BD DD */ bl GetCmd__16CBodyStateCmdMgrCF13EBodyStateCmd -/* 801456A4 00142604 28 03 00 00 */ cmplwi r3, 0 -/* 801456A8 00142608 41 82 00 14 */ beq lbl_801456BC -/* 801456AC 0014260C 38 00 00 01 */ li r0, 1 -/* 801456B0 00142610 98 03 00 20 */ stb r0, 0x20(r3) -/* 801456B4 00142614 38 60 00 0E */ li r3, 0xe -/* 801456B8 00142618 48 00 00 4C */ b lbl_80145704 -lbl_801456BC: -/* 801456BC 0014261C 7F E3 FB 78 */ mr r3, r31 -/* 801456C0 00142620 38 80 00 03 */ li r4, 3 -/* 801456C4 00142624 4B FE BD 8D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801456C8 00142628 28 03 00 00 */ cmplwi r3, 0 -/* 801456CC 0014262C 41 82 00 0C */ beq lbl_801456D8 -/* 801456D0 00142630 38 60 00 00 */ li r3, 0 -/* 801456D4 00142634 48 00 00 30 */ b lbl_80145704 -lbl_801456D8: -/* 801456D8 00142638 7F E3 FB 78 */ mr r3, r31 -/* 801456DC 0014263C 38 80 00 10 */ li r4, 0x10 -/* 801456E0 00142640 4B FE BD 71 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801456E4 00142644 28 03 00 00 */ cmplwi r3, 0 -/* 801456E8 00142648 41 82 00 18 */ beq lbl_80145700 -/* 801456EC 0014264C 80 1E 02 F4 */ lwz r0, 0x2f4(r30) -/* 801456F0 00142650 2C 00 00 06 */ cmpwi r0, 6 -/* 801456F4 00142654 40 82 00 0C */ bne lbl_80145700 -/* 801456F8 00142658 38 60 00 0D */ li r3, 0xd -/* 801456FC 0014265C 48 00 00 08 */ b lbl_80145704 -lbl_80145700: -/* 80145700 00142660 38 60 FF FF */ li r3, -1 -lbl_80145704: -/* 80145704 00142664 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80145708 00142668 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8014570C 0014266C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80145710 00142670 7C 08 03 A6 */ mtlr r0 -/* 80145714 00142674 38 21 00 10 */ addi r1, r1, 0x10 -/* 80145718 00142678 4E 80 00 20 */ blr - -.global CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager -CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager: -/* 8014571C 0014267C 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 80145720 00142680 7C 08 02 A6 */ mflr r0 -/* 80145724 00142684 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 80145728 00142688 DB E1 00 E0 */ stfd f31, 0xe0(r1) -/* 8014572C 0014268C F3 E1 00 E8 */ psq_st f31, 232(r1), 0, qr0 -/* 80145730 00142690 BF 61 00 CC */ stmw r27, 0xcc(r1) -/* 80145734 00142694 7C 7B 1B 78 */ mr r27, r3 -/* 80145738 00142698 88 63 00 30 */ lbz r3, 0x30(r3) -/* 8014573C 0014269C 7C 9C 23 78 */ mr r28, r4 -/* 80145740 001426A0 7C BD 2B 78 */ mr r29, r5 -/* 80145744 001426A4 54 60 D7 FF */ rlwinm. r0, r3, 0x1a, 0x1f, 0x1f -/* 80145748 001426A8 3B C0 00 00 */ li r30, 0 -/* 8014574C 001426AC 41 82 01 CC */ beq lbl_80145918 -/* 80145750 001426B0 54 60 E7 FF */ rlwinm. r0, r3, 0x1c, 0x1f, 0x1f -/* 80145754 001426B4 40 82 01 C4 */ bne lbl_80145918 -/* 80145758 001426B8 80 9C 00 00 */ lwz r4, 0(r28) -/* 8014575C 001426BC 38 61 00 54 */ addi r3, r1, 0x54 -/* 80145760 001426C0 4B F6 72 FD */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 80145764 001426C4 83 E3 00 04 */ lwz r31, 4(r3) -/* 80145768 001426C8 28 1F 00 00 */ cmplwi r31, 0 -/* 8014576C 001426CC 41 82 01 AC */ beq lbl_80145918 -/* 80145770 001426D0 C0 3B 00 10 */ lfs f1, 0x10(r27) -/* 80145774 001426D4 38 61 00 5C */ addi r3, r1, 0x5c -/* 80145778 001426D8 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 8014577C 001426DC C0 7B 00 14 */ lfs f3, 0x14(r27) -/* 80145780 001426E0 C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80145784 001426E4 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80145788 001426E8 C0 3B 00 0C */ lfs f1, 0xc(r27) -/* 8014578C 001426EC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80145790 001426F0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80145794 001426F4 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80145798 001426F8 D0 81 00 60 */ stfs f4, 0x60(r1) -/* 8014579C 001426FC D0 41 00 64 */ stfs f2, 0x64(r1) -/* 801457A0 00142700 D0 01 00 5C */ stfs f0, 0x5c(r1) -/* 801457A4 00142704 48 1C F1 15 */ bl Magnitude__9CVector3fCFv -/* 801457A8 00142708 FF E0 08 90 */ fmr f31, f1 -/* 801457AC 0014270C 7F E4 FB 78 */ mr r4, r31 -/* 801457B0 00142710 38 61 00 68 */ addi r3, r1, 0x68 -/* 801457B4 00142714 4B FD 51 79 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 801457B8 00142718 C0 21 00 74 */ lfs f1, 0x74(r1) -/* 801457BC 0014271C C0 01 00 68 */ lfs f0, 0x68(r1) -/* 801457C0 00142720 C0 42 9C 60 */ lfs f2, lbl_805AB980@sda21(r2) -/* 801457C4 00142724 EC 21 00 28 */ fsubs f1, f1, f0 -/* 801457C8 00142728 C0 02 9C 64 */ lfs f0, lbl_805AB984@sda21(r2) -/* 801457CC 0014272C EC 22 00 72 */ fmuls f1, f2, f1 -/* 801457D0 00142730 EC 00 00 72 */ fmuls f0, f0, f1 -/* 801457D4 00142734 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 801457D8 00142738 41 80 00 20 */ blt lbl_801457F8 -/* 801457DC 0014273C 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 801457E0 00142740 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 801457E4 00142744 41 82 01 34 */ beq lbl_80145918 -/* 801457E8 00142748 C0 02 9C 68 */ lfs f0, lbl_805AB988@sda21(r2) -/* 801457EC 0014274C EC 00 00 72 */ fmuls f0, f0, f1 -/* 801457F0 00142750 FC 1F 00 40 */ fcmpo cr0, f31, f0 -/* 801457F4 00142754 40 80 01 24 */ bge lbl_80145918 -lbl_801457F8: -/* 801457F8 00142758 88 1B 00 30 */ lbz r0, 0x30(r27) -/* 801457FC 0014275C 38 60 00 04 */ li r3, 4 -/* 80145800 00142760 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80145804 00142764 41 82 00 08 */ beq lbl_8014580C -/* 80145808 00142768 38 60 00 05 */ li r3, 5 -lbl_8014580C: -/* 8014580C 0014276C 90 7B 00 04 */ stw r3, 4(r27) -/* 80145810 00142770 38 61 00 14 */ addi r3, r1, 0x14 -/* 80145814 00142774 48 19 D8 69 */ bl NoParameter__12CPASAnimParmFv -/* 80145818 00142778 38 61 00 1C */ addi r3, r1, 0x1c -/* 8014581C 0014277C 48 19 D8 61 */ bl NoParameter__12CPASAnimParmFv -/* 80145820 00142780 38 61 00 24 */ addi r3, r1, 0x24 -/* 80145824 00142784 48 19 D8 59 */ bl NoParameter__12CPASAnimParmFv -/* 80145828 00142788 38 61 00 2C */ addi r3, r1, 0x2c -/* 8014582C 0014278C 48 19 D8 51 */ bl NoParameter__12CPASAnimParmFv -/* 80145830 00142790 38 61 00 34 */ addi r3, r1, 0x34 -/* 80145834 00142794 48 19 D8 49 */ bl NoParameter__12CPASAnimParmFv -/* 80145838 00142798 38 61 00 3C */ addi r3, r1, 0x3c -/* 8014583C 0014279C 48 19 D8 41 */ bl NoParameter__12CPASAnimParmFv -/* 80145840 001427A0 80 9B 00 08 */ lwz r4, 8(r27) -/* 80145844 001427A4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80145848 001427A8 48 19 D7 3D */ bl FromEnum__12CPASAnimParmFi -/* 8014584C 001427AC 80 9B 00 04 */ lwz r4, 4(r27) -/* 80145850 001427B0 38 61 00 4C */ addi r3, r1, 0x4c -/* 80145854 001427B4 48 19 D7 31 */ bl FromEnum__12CPASAnimParmFi -/* 80145858 001427B8 38 61 00 1C */ addi r3, r1, 0x1c -/* 8014585C 001427BC 38 01 00 14 */ addi r0, r1, 0x14 -/* 80145860 001427C0 90 61 00 08 */ stw r3, 8(r1) -/* 80145864 001427C4 38 61 00 80 */ addi r3, r1, 0x80 -/* 80145868 001427C8 38 A1 00 4C */ addi r5, r1, 0x4c -/* 8014586C 001427CC 38 C1 00 44 */ addi r6, r1, 0x44 -/* 80145870 001427D0 90 01 00 0C */ stw r0, 0xc(r1) -/* 80145874 001427D4 38 E1 00 3C */ addi r7, r1, 0x3c -/* 80145878 001427D8 39 01 00 34 */ addi r8, r1, 0x34 -/* 8014587C 001427DC 39 21 00 2C */ addi r9, r1, 0x2c -/* 80145880 001427E0 39 41 00 24 */ addi r10, r1, 0x24 -/* 80145884 001427E4 38 80 00 0D */ li r4, 0xd -/* 80145888 001427E8 4B F3 7A 3D */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 8014588C 001427EC 80 BD 09 00 */ lwz r5, 0x900(r29) -/* 80145890 001427F0 7F 83 E3 78 */ mr r3, r28 -/* 80145894 001427F4 38 81 00 80 */ addi r4, r1, 0x80 -/* 80145898 001427F8 4B FF 4B 11 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 8014589C 001427FC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 801458A0 00142800 7F A3 EB 78 */ mr r3, r29 -/* 801458A4 00142804 7F E4 FB 78 */ mr r4, r31 -/* 801458A8 00142808 38 A1 00 10 */ addi r5, r1, 0x10 -/* 801458AC 0014280C B0 01 00 10 */ sth r0, 0x10(r1) -/* 801458B0 00142810 38 C0 00 17 */ li r6, 0x17 -/* 801458B4 00142814 4B EF E6 1D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 801458B8 00142818 34 A1 00 84 */ addic. r5, r1, 0x84 -/* 801458BC 0014281C 3B C0 00 01 */ li r30, 1 -/* 801458C0 00142820 41 82 00 58 */ beq lbl_80145918 -/* 801458C4 00142824 80 C5 00 00 */ lwz r6, 0(r5) -/* 801458C8 00142828 38 60 00 00 */ li r3, 0 -/* 801458CC 0014282C 2C 06 00 00 */ cmpwi r6, 0 -/* 801458D0 00142830 40 81 00 40 */ ble lbl_80145910 -/* 801458D4 00142834 2C 06 00 08 */ cmpwi r6, 8 -/* 801458D8 00142838 38 86 FF F8 */ addi r4, r6, -8 -/* 801458DC 0014283C 40 81 00 20 */ ble lbl_801458FC -/* 801458E0 00142840 38 04 00 07 */ addi r0, r4, 7 -/* 801458E4 00142844 54 00 E8 FE */ srwi r0, r0, 3 -/* 801458E8 00142848 7C 09 03 A6 */ mtctr r0 -/* 801458EC 0014284C 2C 04 00 00 */ cmpwi r4, 0 -/* 801458F0 00142850 40 81 00 0C */ ble lbl_801458FC -lbl_801458F4: -/* 801458F4 00142854 38 63 00 08 */ addi r3, r3, 8 -/* 801458F8 00142858 42 00 FF FC */ bdnz lbl_801458F4 -lbl_801458FC: -/* 801458FC 0014285C 7C 03 30 50 */ subf r0, r3, r6 -/* 80145900 00142860 7C 09 03 A6 */ mtctr r0 -/* 80145904 00142864 7C 03 30 00 */ cmpw r3, r6 -/* 80145908 00142868 40 80 00 08 */ bge lbl_80145910 -lbl_8014590C: -/* 8014590C 0014286C 42 00 00 00 */ bdnz lbl_8014590C -lbl_80145910: -/* 80145910 00142870 38 00 00 00 */ li r0, 0 -/* 80145914 00142874 90 05 00 00 */ stw r0, 0(r5) -lbl_80145918: -/* 80145918 00142878 57 C3 06 3E */ clrlwi r3, r30, 0x18 -/* 8014591C 0014287C E3 E1 00 E8 */ psq_l f31, 232(r1), 0, qr0 -/* 80145920 00142880 CB E1 00 E0 */ lfd f31, 0xe0(r1) -/* 80145924 00142884 BB 61 00 CC */ lmw r27, 0xcc(r1) -/* 80145928 00142888 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8014592C 0014288C 7C 08 03 A6 */ mtlr r0 -/* 80145930 00142890 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 80145934 00142894 4E 80 00 20 */ blr - -.global CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager -CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager: -/* 80145938 00142898 94 21 FF 40 */ stwu r1, -0xc0(r1) -/* 8014593C 0014289C 7C 08 02 A6 */ mflr r0 -/* 80145940 001428A0 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80145944 001428A4 93 E1 00 BC */ stw r31, 0xbc(r1) -/* 80145948 001428A8 93 C1 00 B8 */ stw r30, 0xb8(r1) -/* 8014594C 001428AC 7C BE 2B 78 */ mr r30, r5 -/* 80145950 001428B0 93 A1 00 B4 */ stw r29, 0xb4(r1) -/* 80145954 001428B4 7C 9D 23 78 */ mr r29, r4 -/* 80145958 001428B8 93 81 00 B0 */ stw r28, 0xb0(r1) -/* 8014595C 001428BC 7C 7C 1B 78 */ mr r28, r3 -/* 80145960 001428C0 38 61 00 54 */ addi r3, r1, 0x54 -/* 80145964 001428C4 80 84 00 00 */ lwz r4, 0(r4) -/* 80145968 001428C8 4B F6 70 F5 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 8014596C 001428CC 83 E3 00 04 */ lwz r31, 4(r3) -/* 80145970 001428D0 28 1F 00 00 */ cmplwi r31, 0 -/* 80145974 001428D4 41 82 01 38 */ beq lbl_80145AAC -/* 80145978 001428D8 88 1F 03 28 */ lbz r0, 0x328(r31) -/* 8014597C 001428DC 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f -/* 80145980 001428E0 40 82 00 20 */ bne lbl_801459A0 -/* 80145984 001428E4 7F E3 FB 78 */ mr r3, r31 -/* 80145988 001428E8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8014598C 001428EC 81 8C 02 B8 */ lwz r12, 0x2b8(r12) -/* 80145990 001428F0 7D 89 03 A6 */ mtctr r12 -/* 80145994 001428F4 4E 80 04 21 */ bctrl -/* 80145998 001428F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8014599C 001428FC 41 82 01 10 */ beq lbl_80145AAC -lbl_801459A0: -/* 801459A0 00142900 38 00 00 03 */ li r0, 3 -/* 801459A4 00142904 38 61 00 14 */ addi r3, r1, 0x14 -/* 801459A8 00142908 90 1C 00 04 */ stw r0, 4(r28) -/* 801459AC 0014290C 48 19 D6 D1 */ bl NoParameter__12CPASAnimParmFv -/* 801459B0 00142910 38 61 00 1C */ addi r3, r1, 0x1c -/* 801459B4 00142914 48 19 D6 C9 */ bl NoParameter__12CPASAnimParmFv -/* 801459B8 00142918 38 61 00 24 */ addi r3, r1, 0x24 -/* 801459BC 0014291C 48 19 D6 C1 */ bl NoParameter__12CPASAnimParmFv -/* 801459C0 00142920 38 61 00 2C */ addi r3, r1, 0x2c -/* 801459C4 00142924 48 19 D6 B9 */ bl NoParameter__12CPASAnimParmFv -/* 801459C8 00142928 38 61 00 34 */ addi r3, r1, 0x34 -/* 801459CC 0014292C 48 19 D6 B1 */ bl NoParameter__12CPASAnimParmFv -/* 801459D0 00142930 38 61 00 3C */ addi r3, r1, 0x3c -/* 801459D4 00142934 48 19 D6 A9 */ bl NoParameter__12CPASAnimParmFv -/* 801459D8 00142938 80 9C 00 08 */ lwz r4, 8(r28) -/* 801459DC 0014293C 38 61 00 44 */ addi r3, r1, 0x44 -/* 801459E0 00142940 48 19 D5 A5 */ bl FromEnum__12CPASAnimParmFi -/* 801459E4 00142944 80 9C 00 04 */ lwz r4, 4(r28) -/* 801459E8 00142948 38 61 00 4C */ addi r3, r1, 0x4c -/* 801459EC 0014294C 48 19 D5 99 */ bl FromEnum__12CPASAnimParmFi -/* 801459F0 00142950 38 61 00 1C */ addi r3, r1, 0x1c -/* 801459F4 00142954 38 01 00 14 */ addi r0, r1, 0x14 -/* 801459F8 00142958 90 61 00 08 */ stw r3, 8(r1) -/* 801459FC 0014295C 38 61 00 5C */ addi r3, r1, 0x5c -/* 80145A00 00142960 38 A1 00 4C */ addi r5, r1, 0x4c -/* 80145A04 00142964 38 C1 00 44 */ addi r6, r1, 0x44 -/* 80145A08 00142968 90 01 00 0C */ stw r0, 0xc(r1) -/* 80145A0C 0014296C 38 E1 00 3C */ addi r7, r1, 0x3c -/* 80145A10 00142970 39 01 00 34 */ addi r8, r1, 0x34 -/* 80145A14 00142974 39 21 00 2C */ addi r9, r1, 0x2c -/* 80145A18 00142978 39 41 00 24 */ addi r10, r1, 0x24 -/* 80145A1C 0014297C 38 80 00 0D */ li r4, 0xd -/* 80145A20 00142980 4B F3 78 A5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80145A24 00142984 80 BE 09 00 */ lwz r5, 0x900(r30) -/* 80145A28 00142988 7F A3 EB 78 */ mr r3, r29 -/* 80145A2C 0014298C 38 81 00 5C */ addi r4, r1, 0x5c -/* 80145A30 00142990 4B FF 49 79 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 80145A34 00142994 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80145A38 00142998 7F C3 F3 78 */ mr r3, r30 -/* 80145A3C 0014299C 7F E4 FB 78 */ mr r4, r31 -/* 80145A40 001429A0 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80145A44 001429A4 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80145A48 001429A8 38 C0 00 17 */ li r6, 0x17 -/* 80145A4C 001429AC 4B EF E4 85 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80145A50 001429B0 34 A1 00 60 */ addic. r5, r1, 0x60 -/* 80145A54 001429B4 41 82 00 58 */ beq lbl_80145AAC -/* 80145A58 001429B8 80 C5 00 00 */ lwz r6, 0(r5) -/* 80145A5C 001429BC 38 60 00 00 */ li r3, 0 -/* 80145A60 001429C0 2C 06 00 00 */ cmpwi r6, 0 -/* 80145A64 001429C4 40 81 00 40 */ ble lbl_80145AA4 -/* 80145A68 001429C8 2C 06 00 08 */ cmpwi r6, 8 -/* 80145A6C 001429CC 38 86 FF F8 */ addi r4, r6, -8 -/* 80145A70 001429D0 40 81 00 20 */ ble lbl_80145A90 -/* 80145A74 001429D4 38 04 00 07 */ addi r0, r4, 7 -/* 80145A78 001429D8 54 00 E8 FE */ srwi r0, r0, 3 -/* 80145A7C 001429DC 7C 09 03 A6 */ mtctr r0 -/* 80145A80 001429E0 2C 04 00 00 */ cmpwi r4, 0 -/* 80145A84 001429E4 40 81 00 0C */ ble lbl_80145A90 -lbl_80145A88: -/* 80145A88 001429E8 38 63 00 08 */ addi r3, r3, 8 -/* 80145A8C 001429EC 42 00 FF FC */ bdnz lbl_80145A88 -lbl_80145A90: -/* 80145A90 001429F0 7C 03 30 50 */ subf r0, r3, r6 -/* 80145A94 001429F4 7C 09 03 A6 */ mtctr r0 -/* 80145A98 001429F8 7C 03 30 00 */ cmpw r3, r6 -/* 80145A9C 001429FC 40 80 00 08 */ bge lbl_80145AA4 -lbl_80145AA0: -/* 80145AA0 00142A00 42 00 00 00 */ bdnz lbl_80145AA0 -lbl_80145AA4: -/* 80145AA4 00142A04 38 00 00 00 */ li r0, 0 -/* 80145AA8 00142A08 90 05 00 00 */ stw r0, 0(r5) -lbl_80145AAC: -/* 80145AAC 00142A0C 80 01 00 C4 */ lwz r0, 0xc4(r1) -/* 80145AB0 00142A10 83 E1 00 BC */ lwz r31, 0xbc(r1) -/* 80145AB4 00142A14 83 C1 00 B8 */ lwz r30, 0xb8(r1) -/* 80145AB8 00142A18 83 A1 00 B4 */ lwz r29, 0xb4(r1) -/* 80145ABC 00142A1C 83 81 00 B0 */ lwz r28, 0xb0(r1) -/* 80145AC0 00142A20 7C 08 03 A6 */ mtlr r0 -/* 80145AC4 00142A24 38 21 00 C0 */ addi r1, r1, 0xc0 -/* 80145AC8 00142A28 4E 80 00 20 */ blr - -.global Shutdown__7CBSJumpFR15CBodyController -Shutdown__7CBSJumpFR15CBodyController: -/* 80145ACC 00142A2C 4E 80 00 20 */ blr - -.global UpdateBody__7CBSJumpFfR15CBodyControllerR13CStateManager -UpdateBody__7CBSJumpFfR15CBodyControllerR13CStateManager: -/* 80145AD0 00142A30 94 21 FE 70 */ stwu r1, -0x190(r1) -/* 80145AD4 00142A34 7C 08 02 A6 */ mflr r0 -/* 80145AD8 00142A38 90 01 01 94 */ stw r0, 0x194(r1) -/* 80145ADC 00142A3C DB E1 01 80 */ stfd f31, 0x180(r1) -/* 80145AE0 00142A40 F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 -/* 80145AE4 00142A44 DB C1 01 70 */ stfd f30, 0x170(r1) -/* 80145AE8 00142A48 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 -/* 80145AEC 00142A4C BF 61 01 5C */ stmw r27, 0x15c(r1) -/* 80145AF0 00142A50 FF E0 08 90 */ fmr f31, f1 -/* 80145AF4 00142A54 7C 7C 1B 78 */ mr r28, r3 -/* 80145AF8 00142A58 7C 9D 23 78 */ mr r29, r4 -/* 80145AFC 00142A5C 7C BE 2B 78 */ mr r30, r5 -/* 80145B00 00142A60 4B FF FB 7D */ bl GetBodyStateTransition__7CBSJumpFfR15CBodyController -/* 80145B04 00142A64 7C 7F 1B 78 */ mr r31, r3 -/* 80145B08 00142A68 2C 1F FF FF */ cmpwi r31, -1 -/* 80145B0C 00142A6C 40 82 04 FC */ bne lbl_80146008 -/* 80145B10 00142A70 80 1C 00 04 */ lwz r0, 4(r28) -/* 80145B14 00142A74 2C 00 00 02 */ cmpwi r0, 2 -/* 80145B18 00142A78 41 82 02 1C */ beq lbl_80145D34 -/* 80145B1C 00142A7C 40 80 00 14 */ bge lbl_80145B30 -/* 80145B20 00142A80 2C 00 00 00 */ cmpwi r0, 0 -/* 80145B24 00142A84 41 82 00 20 */ beq lbl_80145B44 -/* 80145B28 00142A88 40 80 00 3C */ bge lbl_80145B64 -/* 80145B2C 00142A8C 48 00 04 DC */ b lbl_80146008 -lbl_80145B30: -/* 80145B30 00142A90 2C 00 00 06 */ cmpwi r0, 6 -/* 80145B34 00142A94 40 80 04 D4 */ bge lbl_80146008 -/* 80145B38 00142A98 2C 00 00 04 */ cmpwi r0, 4 -/* 80145B3C 00142A9C 40 80 02 C8 */ bge lbl_80145E04 -/* 80145B40 00142AA0 48 00 04 B0 */ b lbl_80145FF0 -lbl_80145B44: -/* 80145B44 00142AA4 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 80145B48 00142AA8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80145B4C 00142AAC 41 82 04 BC */ beq lbl_80146008 -/* 80145B50 00142AB0 7F 83 E3 78 */ mr r3, r28 -/* 80145B54 00142AB4 7F C4 F3 78 */ mr r4, r30 -/* 80145B58 00142AB8 7F A5 EB 78 */ mr r5, r29 -/* 80145B5C 00142ABC 48 00 04 D5 */ bl PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController -/* 80145B60 00142AC0 48 00 04 A8 */ b lbl_80146008 -lbl_80145B64: -/* 80145B64 00142AC4 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80145B68 00142AC8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80145B6C 00142ACC 40 82 00 54 */ bne lbl_80145BC0 -/* 80145B70 00142AD0 80 9D 00 00 */ lwz r4, 0(r29) -/* 80145B74 00142AD4 38 61 00 AC */ addi r3, r1, 0xac -/* 80145B78 00142AD8 4B F6 6B 6D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80145B7C 00142ADC 80 63 00 04 */ lwz r3, 4(r3) -/* 80145B80 00142AE0 28 03 00 00 */ cmplwi r3, 0 -/* 80145B84 00142AE4 41 82 00 2C */ beq lbl_80145BB0 -/* 80145B88 00142AE8 C0 63 00 E8 */ lfs f3, 0xe8(r3) -/* 80145B8C 00142AEC C0 1C 00 18 */ lfs f0, 0x18(r28) -/* 80145B90 00142AF0 C0 5C 00 1C */ lfs f2, 0x1c(r28) -/* 80145B94 00142AF4 C0 3C 00 20 */ lfs f1, 0x20(r28) -/* 80145B98 00142AF8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80145B9C 00142AFC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80145BA0 00142B00 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80145BA4 00142B04 D0 03 00 FC */ stfs f0, 0xfc(r3) -/* 80145BA8 00142B08 D0 43 01 00 */ stfs f2, 0x100(r3) -/* 80145BAC 00142B0C D0 23 01 04 */ stfs f1, 0x104(r3) -lbl_80145BB0: -/* 80145BB0 00142B10 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80145BB4 00142B14 38 60 00 01 */ li r3, 1 -/* 80145BB8 00142B18 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80145BBC 00142B1C 98 1C 00 30 */ stb r0, 0x30(r28) -lbl_80145BC0: -/* 80145BC0 00142B20 C0 22 9C 6C */ lfs f1, lbl_805AB98C@sda21(r2) -/* 80145BC4 00142B24 38 00 00 00 */ li r0, 0 -/* 80145BC8 00142B28 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 80145BCC 00142B2C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80145BD0 00142B30 40 82 00 1C */ bne lbl_80145BEC -/* 80145BD4 00142B34 C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 80145BD8 00142B38 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80145BDC 00142B3C 40 82 00 10 */ bne lbl_80145BEC -/* 80145BE0 00142B40 C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 80145BE4 00142B44 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80145BE8 00142B48 41 82 00 08 */ beq lbl_80145BF0 -lbl_80145BEC: -/* 80145BEC 00142B4C 38 00 00 01 */ li r0, 1 -lbl_80145BF0: -/* 80145BF0 00142B50 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80145BF4 00142B54 41 82 00 14 */ beq lbl_80145C08 -/* 80145BF8 00142B58 FC 20 F8 90 */ fmr f1, f31 -/* 80145BFC 00142B5C 7F A3 EB 78 */ mr r3, r29 -/* 80145C00 00142B60 38 9D 00 1C */ addi r4, r29, 0x1c -/* 80145C04 00142B64 4B FF 4A A1 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_80145C08: -/* 80145C08 00142B68 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 80145C0C 00142B6C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80145C10 00142B70 41 82 00 F8 */ beq lbl_80145D08 -/* 80145C14 00142B74 38 00 00 02 */ li r0, 2 -/* 80145C18 00142B78 38 61 00 6C */ addi r3, r1, 0x6c -/* 80145C1C 00142B7C 90 1C 00 04 */ stw r0, 4(r28) -/* 80145C20 00142B80 48 19 D4 5D */ bl NoParameter__12CPASAnimParmFv -/* 80145C24 00142B84 38 61 00 74 */ addi r3, r1, 0x74 -/* 80145C28 00142B88 48 19 D4 55 */ bl NoParameter__12CPASAnimParmFv -/* 80145C2C 00142B8C 38 61 00 7C */ addi r3, r1, 0x7c -/* 80145C30 00142B90 48 19 D4 4D */ bl NoParameter__12CPASAnimParmFv -/* 80145C34 00142B94 38 61 00 84 */ addi r3, r1, 0x84 -/* 80145C38 00142B98 48 19 D4 45 */ bl NoParameter__12CPASAnimParmFv -/* 80145C3C 00142B9C 38 61 00 8C */ addi r3, r1, 0x8c -/* 80145C40 00142BA0 48 19 D4 3D */ bl NoParameter__12CPASAnimParmFv -/* 80145C44 00142BA4 38 61 00 94 */ addi r3, r1, 0x94 -/* 80145C48 00142BA8 48 19 D4 35 */ bl NoParameter__12CPASAnimParmFv -/* 80145C4C 00142BAC 80 9C 00 08 */ lwz r4, 8(r28) -/* 80145C50 00142BB0 38 61 00 9C */ addi r3, r1, 0x9c -/* 80145C54 00142BB4 48 19 D3 31 */ bl FromEnum__12CPASAnimParmFi -/* 80145C58 00142BB8 80 9C 00 04 */ lwz r4, 4(r28) -/* 80145C5C 00142BBC 38 61 00 A4 */ addi r3, r1, 0xa4 -/* 80145C60 00142BC0 48 19 D3 25 */ bl FromEnum__12CPASAnimParmFi -/* 80145C64 00142BC4 38 61 00 74 */ addi r3, r1, 0x74 -/* 80145C68 00142BC8 38 01 00 6C */ addi r0, r1, 0x6c -/* 80145C6C 00142BCC 90 61 00 08 */ stw r3, 8(r1) -/* 80145C70 00142BD0 38 61 01 08 */ addi r3, r1, 0x108 -/* 80145C74 00142BD4 38 A1 00 A4 */ addi r5, r1, 0xa4 -/* 80145C78 00142BD8 38 C1 00 9C */ addi r6, r1, 0x9c -/* 80145C7C 00142BDC 90 01 00 0C */ stw r0, 0xc(r1) -/* 80145C80 00142BE0 38 E1 00 94 */ addi r7, r1, 0x94 -/* 80145C84 00142BE4 39 01 00 8C */ addi r8, r1, 0x8c -/* 80145C88 00142BE8 39 21 00 84 */ addi r9, r1, 0x84 -/* 80145C8C 00142BEC 39 41 00 7C */ addi r10, r1, 0x7c -/* 80145C90 00142BF0 38 80 00 0D */ li r4, 0xd -/* 80145C94 00142BF4 4B F3 76 31 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80145C98 00142BF8 80 BE 09 00 */ lwz r5, 0x900(r30) -/* 80145C9C 00142BFC 7F A3 EB 78 */ mr r3, r29 -/* 80145CA0 00142C00 38 81 01 08 */ addi r4, r1, 0x108 -/* 80145CA4 00142C04 4B FF 46 59 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 80145CA8 00142C08 34 A1 01 0C */ addic. r5, r1, 0x10c -/* 80145CAC 00142C0C 41 82 03 5C */ beq lbl_80146008 -/* 80145CB0 00142C10 80 C5 00 00 */ lwz r6, 0(r5) -/* 80145CB4 00142C14 38 60 00 00 */ li r3, 0 -/* 80145CB8 00142C18 2C 06 00 00 */ cmpwi r6, 0 -/* 80145CBC 00142C1C 40 81 00 40 */ ble lbl_80145CFC -/* 80145CC0 00142C20 2C 06 00 08 */ cmpwi r6, 8 -/* 80145CC4 00142C24 38 86 FF F8 */ addi r4, r6, -8 -/* 80145CC8 00142C28 40 81 00 20 */ ble lbl_80145CE8 -/* 80145CCC 00142C2C 38 04 00 07 */ addi r0, r4, 7 -/* 80145CD0 00142C30 54 00 E8 FE */ srwi r0, r0, 3 -/* 80145CD4 00142C34 7C 09 03 A6 */ mtctr r0 -/* 80145CD8 00142C38 2C 04 00 00 */ cmpwi r4, 0 -/* 80145CDC 00142C3C 40 81 00 0C */ ble lbl_80145CE8 -lbl_80145CE0: -/* 80145CE0 00142C40 38 63 00 08 */ addi r3, r3, 8 -/* 80145CE4 00142C44 42 00 FF FC */ bdnz lbl_80145CE0 -lbl_80145CE8: -/* 80145CE8 00142C48 7C 03 30 50 */ subf r0, r3, r6 -/* 80145CEC 00142C4C 7C 09 03 A6 */ mtctr r0 -/* 80145CF0 00142C50 7C 03 30 00 */ cmpw r3, r6 -/* 80145CF4 00142C54 40 80 00 08 */ bge lbl_80145CFC -lbl_80145CF8: -/* 80145CF8 00142C58 42 00 00 00 */ bdnz lbl_80145CF8 -lbl_80145CFC: -/* 80145CFC 00142C5C 38 00 00 00 */ li r0, 0 -/* 80145D00 00142C60 90 05 00 00 */ stw r0, 0(r5) -/* 80145D04 00142C64 48 00 03 04 */ b lbl_80146008 -lbl_80145D08: -/* 80145D08 00142C68 7F 83 E3 78 */ mr r3, r28 -/* 80145D0C 00142C6C 7F A4 EB 78 */ mr r4, r29 -/* 80145D10 00142C70 7F C5 F3 78 */ mr r5, r30 -/* 80145D14 00142C74 4B FF FA 09 */ bl CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager -/* 80145D18 00142C78 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80145D1C 00142C7C 40 82 02 EC */ bne lbl_80146008 -/* 80145D20 00142C80 7F 83 E3 78 */ mr r3, r28 -/* 80145D24 00142C84 7F A4 EB 78 */ mr r4, r29 -/* 80145D28 00142C88 7F C5 F3 78 */ mr r5, r30 -/* 80145D2C 00142C8C 4B FF FC 0D */ bl CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager -/* 80145D30 00142C90 48 00 02 D8 */ b lbl_80146008 -lbl_80145D34: -/* 80145D34 00142C94 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80145D38 00142C98 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80145D3C 00142C9C 40 82 00 54 */ bne lbl_80145D90 -/* 80145D40 00142CA0 80 9D 00 00 */ lwz r4, 0(r29) -/* 80145D44 00142CA4 38 61 00 64 */ addi r3, r1, 0x64 -/* 80145D48 00142CA8 4B F6 69 9D */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80145D4C 00142CAC 80 63 00 04 */ lwz r3, 4(r3) -/* 80145D50 00142CB0 28 03 00 00 */ cmplwi r3, 0 -/* 80145D54 00142CB4 41 82 00 2C */ beq lbl_80145D80 -/* 80145D58 00142CB8 C0 63 00 E8 */ lfs f3, 0xe8(r3) -/* 80145D5C 00142CBC C0 1C 00 18 */ lfs f0, 0x18(r28) -/* 80145D60 00142CC0 C0 5C 00 1C */ lfs f2, 0x1c(r28) -/* 80145D64 00142CC4 C0 3C 00 20 */ lfs f1, 0x20(r28) -/* 80145D68 00142CC8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80145D6C 00142CCC EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80145D70 00142CD0 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80145D74 00142CD4 D0 03 00 FC */ stfs f0, 0xfc(r3) -/* 80145D78 00142CD8 D0 43 01 00 */ stfs f2, 0x100(r3) -/* 80145D7C 00142CDC D0 23 01 04 */ stfs f1, 0x104(r3) -lbl_80145D80: -/* 80145D80 00142CE0 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80145D84 00142CE4 38 60 00 01 */ li r3, 1 -/* 80145D88 00142CE8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80145D8C 00142CEC 98 1C 00 30 */ stb r0, 0x30(r28) -lbl_80145D90: -/* 80145D90 00142CF0 C0 22 9C 6C */ lfs f1, lbl_805AB98C@sda21(r2) -/* 80145D94 00142CF4 38 00 00 00 */ li r0, 0 -/* 80145D98 00142CF8 C0 1D 00 1C */ lfs f0, 0x1c(r29) -/* 80145D9C 00142CFC FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80145DA0 00142D00 40 82 00 1C */ bne lbl_80145DBC -/* 80145DA4 00142D04 C0 1D 00 20 */ lfs f0, 0x20(r29) -/* 80145DA8 00142D08 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80145DAC 00142D0C 40 82 00 10 */ bne lbl_80145DBC -/* 80145DB0 00142D10 C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 80145DB4 00142D14 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80145DB8 00142D18 41 82 00 08 */ beq lbl_80145DC0 -lbl_80145DBC: -/* 80145DBC 00142D1C 38 00 00 01 */ li r0, 1 -lbl_80145DC0: -/* 80145DC0 00142D20 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80145DC4 00142D24 41 82 00 14 */ beq lbl_80145DD8 -/* 80145DC8 00142D28 FC 20 F8 90 */ fmr f1, f31 -/* 80145DCC 00142D2C 7F A3 EB 78 */ mr r3, r29 -/* 80145DD0 00142D30 38 9D 00 1C */ addi r4, r29, 0x1c -/* 80145DD4 00142D34 4B FF 48 D1 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_80145DD8: -/* 80145DD8 00142D38 7F 83 E3 78 */ mr r3, r28 -/* 80145DDC 00142D3C 7F A4 EB 78 */ mr r4, r29 -/* 80145DE0 00142D40 7F C5 F3 78 */ mr r5, r30 -/* 80145DE4 00142D44 4B FF F9 39 */ bl CheckForWallJump__7CBSJumpFR15CBodyControllerR13CStateManager -/* 80145DE8 00142D48 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80145DEC 00142D4C 40 82 02 1C */ bne lbl_80146008 -/* 80145DF0 00142D50 7F 83 E3 78 */ mr r3, r28 -/* 80145DF4 00142D54 7F A4 EB 78 */ mr r4, r29 -/* 80145DF8 00142D58 7F C5 F3 78 */ mr r5, r30 -/* 80145DFC 00142D5C 4B FF FB 3D */ bl CheckForLand__7CBSJumpFR15CBodyControllerR13CStateManager -/* 80145E00 00142D60 48 00 02 08 */ b lbl_80146008 -lbl_80145E04: -/* 80145E04 00142D64 80 9D 00 00 */ lwz r4, 0(r29) -/* 80145E08 00142D68 38 61 00 5C */ addi r3, r1, 0x5c -/* 80145E0C 00142D6C 4B F6 68 D9 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80145E10 00142D70 83 63 00 04 */ lwz r27, 4(r3) -/* 80145E14 00142D74 28 1B 00 00 */ cmplwi r27, 0 -/* 80145E18 00142D78 41 82 00 28 */ beq lbl_80145E40 -/* 80145E1C 00142D7C 7F 63 DB 78 */ mr r3, r27 -/* 80145E20 00142D80 4B FD 55 59 */ bl Stop__13CPhysicsActorFv -/* 80145E24 00142D84 3C 60 80 5A */ lis r3, skZero3f@ha -/* 80145E28 00142D88 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) -/* 80145E2C 00142D8C D0 1B 01 50 */ stfs f0, 0x150(r27) -/* 80145E30 00142D90 C0 03 00 04 */ lfs f0, 4(r3) -/* 80145E34 00142D94 D0 1B 01 54 */ stfs f0, 0x154(r27) -/* 80145E38 00142D98 C0 03 00 08 */ lfs f0, 8(r3) -/* 80145E3C 00142D9C D0 1B 01 58 */ stfs f0, 0x158(r27) -lbl_80145E40: -/* 80145E40 00142DA0 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 80145E44 00142DA4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80145E48 00142DA8 41 82 01 C0 */ beq lbl_80146008 -/* 80145E4C 00142DAC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80145E50 00142DB0 7F C3 F3 78 */ mr r3, r30 -/* 80145E54 00142DB4 38 A1 00 10 */ addi r5, r1, 0x10 -/* 80145E58 00142DB8 38 C0 00 1A */ li r6, 0x1a -/* 80145E5C 00142DBC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80145E60 00142DC0 80 9D 00 00 */ lwz r4, 0(r29) -/* 80145E64 00142DC4 4B EF E0 6D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80145E68 00142DC8 38 00 00 02 */ li r0, 2 -/* 80145E6C 00142DCC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80145E70 00142DD0 90 1C 00 04 */ stw r0, 4(r28) -/* 80145E74 00142DD4 48 19 D2 09 */ bl NoParameter__12CPASAnimParmFv -/* 80145E78 00142DD8 38 61 00 24 */ addi r3, r1, 0x24 -/* 80145E7C 00142DDC 48 19 D2 01 */ bl NoParameter__12CPASAnimParmFv -/* 80145E80 00142DE0 38 61 00 2C */ addi r3, r1, 0x2c -/* 80145E84 00142DE4 48 19 D1 F9 */ bl NoParameter__12CPASAnimParmFv -/* 80145E88 00142DE8 38 61 00 34 */ addi r3, r1, 0x34 -/* 80145E8C 00142DEC 48 19 D1 F1 */ bl NoParameter__12CPASAnimParmFv -/* 80145E90 00142DF0 38 61 00 3C */ addi r3, r1, 0x3c -/* 80145E94 00142DF4 48 19 D1 E9 */ bl NoParameter__12CPASAnimParmFv -/* 80145E98 00142DF8 38 61 00 44 */ addi r3, r1, 0x44 -/* 80145E9C 00142DFC 48 19 D1 E1 */ bl NoParameter__12CPASAnimParmFv -/* 80145EA0 00142E00 80 9C 00 08 */ lwz r4, 8(r28) -/* 80145EA4 00142E04 38 61 00 4C */ addi r3, r1, 0x4c -/* 80145EA8 00142E08 48 19 D0 DD */ bl FromEnum__12CPASAnimParmFi -/* 80145EAC 00142E0C 80 9C 00 04 */ lwz r4, 4(r28) -/* 80145EB0 00142E10 38 61 00 54 */ addi r3, r1, 0x54 -/* 80145EB4 00142E14 48 19 D0 D1 */ bl FromEnum__12CPASAnimParmFi -/* 80145EB8 00142E18 38 61 00 24 */ addi r3, r1, 0x24 -/* 80145EBC 00142E1C 38 01 00 1C */ addi r0, r1, 0x1c -/* 80145EC0 00142E20 90 61 00 08 */ stw r3, 8(r1) -/* 80145EC4 00142E24 38 61 00 C0 */ addi r3, r1, 0xc0 -/* 80145EC8 00142E28 38 A1 00 54 */ addi r5, r1, 0x54 -/* 80145ECC 00142E2C 38 C1 00 4C */ addi r6, r1, 0x4c -/* 80145ED0 00142E30 90 01 00 0C */ stw r0, 0xc(r1) -/* 80145ED4 00142E34 38 E1 00 44 */ addi r7, r1, 0x44 -/* 80145ED8 00142E38 39 01 00 3C */ addi r8, r1, 0x3c -/* 80145EDC 00142E3C 39 21 00 34 */ addi r9, r1, 0x34 -/* 80145EE0 00142E40 39 41 00 2C */ addi r10, r1, 0x2c -/* 80145EE4 00142E44 38 80 00 0D */ li r4, 0xd -/* 80145EE8 00142E48 4B F3 73 DD */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80145EEC 00142E4C 80 BE 09 00 */ lwz r5, 0x900(r30) -/* 80145EF0 00142E50 7F A3 EB 78 */ mr r3, r29 -/* 80145EF4 00142E54 38 81 00 C0 */ addi r4, r1, 0xc0 -/* 80145EF8 00142E58 4B FF 44 05 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 80145EFC 00142E5C 88 1C 00 30 */ lbz r0, 0x30(r28) -/* 80145F00 00142E60 38 60 00 01 */ li r3, 1 -/* 80145F04 00142E64 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b -/* 80145F08 00142E68 38 61 00 14 */ addi r3, r1, 0x14 -/* 80145F0C 00142E6C 98 1C 00 30 */ stb r0, 0x30(r28) -/* 80145F10 00142E70 80 9D 00 00 */ lwz r4, 0(r29) -/* 80145F14 00142E74 4B F6 6B 49 */ bl "__ct__16TCastToPtr<3CAi>FP7CEntity" -/* 80145F18 00142E78 83 63 00 04 */ lwz r27, 4(r3) -/* 80145F1C 00142E7C 28 1B 00 00 */ cmplwi r27, 0 -/* 80145F20 00142E80 41 82 00 70 */ beq lbl_80145F90 -/* 80145F24 00142E84 7F 63 DB 78 */ mr r3, r27 -/* 80145F28 00142E88 C0 7C 00 24 */ lfs f3, 0x24(r28) -/* 80145F2C 00142E8C 81 9B 00 00 */ lwz r12, 0(r27) -/* 80145F30 00142E90 C0 5B 00 40 */ lfs f2, 0x40(r27) -/* 80145F34 00142E94 C0 3C 00 28 */ lfs f1, 0x28(r28) -/* 80145F38 00142E98 C0 1B 00 50 */ lfs f0, 0x50(r27) -/* 80145F3C 00142E9C EF C3 10 28 */ fsubs f30, f3, f2 -/* 80145F40 00142EA0 81 8C 02 BC */ lwz r12, 0x2bc(r12) -/* 80145F44 00142EA4 EF E1 00 28 */ fsubs f31, f1, f0 -/* 80145F48 00142EA8 7D 89 03 A6 */ mtctr r12 -/* 80145F4C 00142EAC 4E 80 04 21 */ bctrl -/* 80145F50 00142EB0 C0 5C 00 2C */ lfs f2, 0x2c(r28) -/* 80145F54 00142EB4 C0 1B 00 60 */ lfs f0, 0x60(r27) -/* 80145F58 00142EB8 C0 62 9C 70 */ lfs f3, lbl_805AB990@sda21(r2) -/* 80145F5C 00142EBC EC 02 00 28 */ fsubs f0, f2, f0 -/* 80145F60 00142EC0 EC 03 00 32 */ fmuls f0, f3, f0 -/* 80145F64 00142EC4 EC 21 00 24 */ fdivs f1, f1, f0 -/* 80145F68 00142EC8 48 1C F5 99 */ bl SqrtF__5CMathFf -/* 80145F6C 00142ECC EC 41 07 B2 */ fmuls f2, f1, f30 -/* 80145F70 00142ED0 C0 02 9C 6C */ lfs f0, lbl_805AB98C@sda21(r2) -/* 80145F74 00142ED4 EC 21 07 F2 */ fmuls f1, f1, f31 -/* 80145F78 00142ED8 7F 63 DB 78 */ mr r3, r27 -/* 80145F7C 00142EDC D0 01 00 BC */ stfs f0, 0xbc(r1) -/* 80145F80 00142EE0 38 81 00 B4 */ addi r4, r1, 0xb4 -/* 80145F84 00142EE4 D0 41 00 B4 */ stfs f2, 0xb4(r1) -/* 80145F88 00142EE8 D0 21 00 B8 */ stfs f1, 0xb8(r1) -/* 80145F8C 00142EEC 4B FD 4D 15 */ bl SetVelocityWR__13CPhysicsActorFRC9CVector3f -lbl_80145F90: -/* 80145F90 00142EF0 34 A1 00 C4 */ addic. r5, r1, 0xc4 -/* 80145F94 00142EF4 41 82 00 74 */ beq lbl_80146008 -/* 80145F98 00142EF8 80 C5 00 00 */ lwz r6, 0(r5) -/* 80145F9C 00142EFC 38 60 00 00 */ li r3, 0 -/* 80145FA0 00142F00 2C 06 00 00 */ cmpwi r6, 0 -/* 80145FA4 00142F04 40 81 00 40 */ ble lbl_80145FE4 -/* 80145FA8 00142F08 2C 06 00 08 */ cmpwi r6, 8 -/* 80145FAC 00142F0C 38 86 FF F8 */ addi r4, r6, -8 -/* 80145FB0 00142F10 40 81 00 20 */ ble lbl_80145FD0 -/* 80145FB4 00142F14 38 04 00 07 */ addi r0, r4, 7 -/* 80145FB8 00142F18 54 00 E8 FE */ srwi r0, r0, 3 -/* 80145FBC 00142F1C 7C 09 03 A6 */ mtctr r0 -/* 80145FC0 00142F20 2C 04 00 00 */ cmpwi r4, 0 -/* 80145FC4 00142F24 40 81 00 0C */ ble lbl_80145FD0 -lbl_80145FC8: -/* 80145FC8 00142F28 38 63 00 08 */ addi r3, r3, 8 -/* 80145FCC 00142F2C 42 00 FF FC */ bdnz lbl_80145FC8 -lbl_80145FD0: -/* 80145FD0 00142F30 7C 03 30 50 */ subf r0, r3, r6 -/* 80145FD4 00142F34 7C 09 03 A6 */ mtctr r0 -/* 80145FD8 00142F38 7C 03 30 00 */ cmpw r3, r6 -/* 80145FDC 00142F3C 40 80 00 08 */ bge lbl_80145FE4 -lbl_80145FE0: -/* 80145FE0 00142F40 42 00 00 00 */ bdnz lbl_80145FE0 -lbl_80145FE4: -/* 80145FE4 00142F44 38 00 00 00 */ li r0, 0 -/* 80145FE8 00142F48 90 05 00 00 */ stw r0, 0(r5) -/* 80145FEC 00142F4C 48 00 00 1C */ b lbl_80146008 -lbl_80145FF0: -/* 80145FF0 00142F50 88 1D 03 00 */ lbz r0, 0x300(r29) -/* 80145FF4 00142F54 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80145FF8 00142F58 41 82 00 10 */ beq lbl_80146008 -/* 80145FFC 00142F5C 38 00 FF FF */ li r0, -1 -/* 80146000 00142F60 3B E0 00 05 */ li r31, 5 -/* 80146004 00142F64 90 1C 00 04 */ stw r0, 4(r28) -lbl_80146008: -/* 80146008 00142F68 7F E3 FB 78 */ mr r3, r31 -/* 8014600C 00142F6C E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 -/* 80146010 00142F70 CB E1 01 80 */ lfd f31, 0x180(r1) -/* 80146014 00142F74 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 -/* 80146018 00142F78 CB C1 01 70 */ lfd f30, 0x170(r1) -/* 8014601C 00142F7C BB 61 01 5C */ lmw r27, 0x15c(r1) -/* 80146020 00142F80 80 01 01 94 */ lwz r0, 0x194(r1) -/* 80146024 00142F84 7C 08 03 A6 */ mtlr r0 -/* 80146028 00142F88 38 21 01 90 */ addi r1, r1, 0x190 -/* 8014602C 00142F8C 4E 80 00 20 */ blr - -.global PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController -PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController: -/* 80146030 00142F90 94 21 FE 90 */ stwu r1, -0x170(r1) -/* 80146034 00142F94 7C 08 02 A6 */ mflr r0 -/* 80146038 00142F98 90 01 01 74 */ stw r0, 0x174(r1) -/* 8014603C 00142F9C 93 E1 01 6C */ stw r31, 0x16c(r1) -/* 80146040 00142FA0 7C BF 2B 78 */ mr r31, r5 -/* 80146044 00142FA4 93 C1 01 68 */ stw r30, 0x168(r1) -/* 80146048 00142FA8 7C 9E 23 78 */ mr r30, r4 -/* 8014604C 00142FAC 93 A1 01 64 */ stw r29, 0x164(r1) -/* 80146050 00142FB0 7C 7D 1B 78 */ mr r29, r3 -/* 80146054 00142FB4 38 61 00 68 */ addi r3, r1, 0x68 -/* 80146058 00142FB8 48 19 D0 25 */ bl NoParameter__12CPASAnimParmFv -/* 8014605C 00142FBC 38 61 00 70 */ addi r3, r1, 0x70 -/* 80146060 00142FC0 48 19 D0 1D */ bl NoParameter__12CPASAnimParmFv -/* 80146064 00142FC4 38 61 00 78 */ addi r3, r1, 0x78 -/* 80146068 00142FC8 48 19 D0 15 */ bl NoParameter__12CPASAnimParmFv -/* 8014606C 00142FCC 38 61 00 80 */ addi r3, r1, 0x80 -/* 80146070 00142FD0 48 19 D0 0D */ bl NoParameter__12CPASAnimParmFv -/* 80146074 00142FD4 38 61 00 88 */ addi r3, r1, 0x88 -/* 80146078 00142FD8 48 19 D0 05 */ bl NoParameter__12CPASAnimParmFv -/* 8014607C 00142FDC 38 61 00 90 */ addi r3, r1, 0x90 -/* 80146080 00142FE0 48 19 CF FD */ bl NoParameter__12CPASAnimParmFv -/* 80146084 00142FE4 80 9D 00 08 */ lwz r4, 8(r29) -/* 80146088 00142FE8 38 61 00 98 */ addi r3, r1, 0x98 -/* 8014608C 00142FEC 48 19 CE F9 */ bl FromEnum__12CPASAnimParmFi -/* 80146090 00142FF0 38 61 00 A0 */ addi r3, r1, 0xa0 -/* 80146094 00142FF4 38 80 00 01 */ li r4, 1 -/* 80146098 00142FF8 48 19 CE ED */ bl FromEnum__12CPASAnimParmFi -/* 8014609C 00142FFC 38 61 00 70 */ addi r3, r1, 0x70 -/* 801460A0 00143000 38 01 00 68 */ addi r0, r1, 0x68 -/* 801460A4 00143004 90 61 00 08 */ stw r3, 8(r1) -/* 801460A8 00143008 38 61 01 18 */ addi r3, r1, 0x118 -/* 801460AC 0014300C 38 A1 00 A0 */ addi r5, r1, 0xa0 -/* 801460B0 00143010 38 C1 00 98 */ addi r6, r1, 0x98 -/* 801460B4 00143014 90 01 00 0C */ stw r0, 0xc(r1) -/* 801460B8 00143018 38 E1 00 90 */ addi r7, r1, 0x90 -/* 801460BC 0014301C 39 01 00 88 */ addi r8, r1, 0x88 -/* 801460C0 00143020 39 21 00 80 */ addi r9, r1, 0x80 -/* 801460C4 00143024 39 41 00 78 */ addi r10, r1, 0x78 -/* 801460C8 00143028 38 80 00 0D */ li r4, 0xd -/* 801460CC 0014302C 4B F3 71 F9 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 801460D0 00143030 7F E3 FB 78 */ mr r3, r31 -/* 801460D4 00143034 4B FF 43 81 */ bl GetPASDatabase__15CBodyControllerCFv -/* 801460D8 00143038 80 DE 09 00 */ lwz r6, 0x900(r30) -/* 801460DC 0014303C 7C 64 1B 78 */ mr r4, r3 -/* 801460E0 00143040 38 61 00 60 */ addi r3, r1, 0x60 -/* 801460E4 00143044 38 A1 01 18 */ addi r5, r1, 0x118 -/* 801460E8 00143048 38 E0 FF FF */ li r7, -1 -/* 801460EC 0014304C 48 19 EF 75 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 801460F0 00143050 C0 21 00 60 */ lfs f1, 0x60(r1) -/* 801460F4 00143054 C0 02 9C 74 */ lfs f0, lbl_805AB994@sda21(r2) -/* 801460F8 00143058 80 81 00 64 */ lwz r4, 0x64(r1) -/* 801460FC 0014305C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80146100 00143060 40 81 00 58 */ ble lbl_80146158 -/* 80146104 00143064 39 00 00 01 */ li r8, 1 -/* 80146108 00143068 C0 02 9C 78 */ lfs f0, lbl_805AB998@sda21(r2) -/* 8014610C 0014306C 91 1D 00 04 */ stw r8, 4(r29) -/* 80146110 00143070 38 00 00 00 */ li r0, 0 -/* 80146114 00143074 38 E0 FF FF */ li r7, -1 -/* 80146118 00143078 7F E3 FB 78 */ mr r3, r31 -/* 8014611C 0014307C 90 81 00 A8 */ stw r4, 0xa8(r1) -/* 80146120 00143080 38 81 00 A8 */ addi r4, r1, 0xa8 -/* 80146124 00143084 38 A0 00 00 */ li r5, 0 -/* 80146128 00143088 38 C0 00 00 */ li r6, 0 -/* 8014612C 0014308C 90 E1 00 AC */ stw r7, 0xac(r1) -/* 80146130 00143090 D0 01 00 B0 */ stfs f0, 0xb0(r1) -/* 80146134 00143094 99 01 00 B4 */ stb r8, 0xb4(r1) -/* 80146138 00143098 90 01 00 B8 */ stw r0, 0xb8(r1) -/* 8014613C 0014309C 90 01 00 BC */ stw r0, 0xbc(r1) -/* 80146140 001430A0 98 01 00 C0 */ stb r0, 0xc0(r1) -/* 80146144 001430A4 90 01 00 C4 */ stw r0, 0xc4(r1) -/* 80146148 001430A8 90 01 00 C8 */ stw r0, 0xc8(r1) -/* 8014614C 001430AC 90 01 00 CC */ stw r0, 0xcc(r1) -/* 80146150 001430B0 4B FF 47 CD */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80146154 001430B4 48 00 00 F4 */ b lbl_80146248 -lbl_80146158: -/* 80146158 001430B8 38 00 00 02 */ li r0, 2 -/* 8014615C 001430BC 38 61 00 20 */ addi r3, r1, 0x20 -/* 80146160 001430C0 90 1D 00 04 */ stw r0, 4(r29) -/* 80146164 001430C4 48 19 CF 19 */ bl NoParameter__12CPASAnimParmFv -/* 80146168 001430C8 38 61 00 28 */ addi r3, r1, 0x28 -/* 8014616C 001430CC 48 19 CF 11 */ bl NoParameter__12CPASAnimParmFv -/* 80146170 001430D0 38 61 00 30 */ addi r3, r1, 0x30 -/* 80146174 001430D4 48 19 CF 09 */ bl NoParameter__12CPASAnimParmFv -/* 80146178 001430D8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8014617C 001430DC 48 19 CF 01 */ bl NoParameter__12CPASAnimParmFv -/* 80146180 001430E0 38 61 00 40 */ addi r3, r1, 0x40 -/* 80146184 001430E4 48 19 CE F9 */ bl NoParameter__12CPASAnimParmFv -/* 80146188 001430E8 38 61 00 48 */ addi r3, r1, 0x48 -/* 8014618C 001430EC 48 19 CE F1 */ bl NoParameter__12CPASAnimParmFv -/* 80146190 001430F0 80 9D 00 08 */ lwz r4, 8(r29) -/* 80146194 001430F4 38 61 00 50 */ addi r3, r1, 0x50 -/* 80146198 001430F8 48 19 CD ED */ bl FromEnum__12CPASAnimParmFi -/* 8014619C 001430FC 80 9D 00 04 */ lwz r4, 4(r29) -/* 801461A0 00143100 38 61 00 58 */ addi r3, r1, 0x58 -/* 801461A4 00143104 48 19 CD E1 */ bl FromEnum__12CPASAnimParmFi -/* 801461A8 00143108 38 61 00 28 */ addi r3, r1, 0x28 -/* 801461AC 0014310C 38 01 00 20 */ addi r0, r1, 0x20 -/* 801461B0 00143110 90 61 00 08 */ stw r3, 8(r1) -/* 801461B4 00143114 38 61 00 D0 */ addi r3, r1, 0xd0 -/* 801461B8 00143118 38 A1 00 58 */ addi r5, r1, 0x58 -/* 801461BC 0014311C 38 C1 00 50 */ addi r6, r1, 0x50 -/* 801461C0 00143120 90 01 00 0C */ stw r0, 0xc(r1) -/* 801461C4 00143124 38 E1 00 48 */ addi r7, r1, 0x48 -/* 801461C8 00143128 39 01 00 40 */ addi r8, r1, 0x40 -/* 801461CC 0014312C 39 21 00 38 */ addi r9, r1, 0x38 -/* 801461D0 00143130 39 41 00 30 */ addi r10, r1, 0x30 -/* 801461D4 00143134 38 80 00 0D */ li r4, 0xd -/* 801461D8 00143138 4B F3 70 ED */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 801461DC 0014313C 80 BE 09 00 */ lwz r5, 0x900(r30) -/* 801461E0 00143140 7F E3 FB 78 */ mr r3, r31 -/* 801461E4 00143144 38 81 00 D0 */ addi r4, r1, 0xd0 -/* 801461E8 00143148 4B FF 41 15 */ bl LoopBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 801461EC 0014314C 34 A1 00 D4 */ addic. r5, r1, 0xd4 -/* 801461F0 00143150 41 82 00 58 */ beq lbl_80146248 -/* 801461F4 00143154 80 C5 00 00 */ lwz r6, 0(r5) -/* 801461F8 00143158 38 60 00 00 */ li r3, 0 -/* 801461FC 0014315C 2C 06 00 00 */ cmpwi r6, 0 -/* 80146200 00143160 40 81 00 40 */ ble lbl_80146240 -/* 80146204 00143164 2C 06 00 08 */ cmpwi r6, 8 -/* 80146208 00143168 38 86 FF F8 */ addi r4, r6, -8 -/* 8014620C 0014316C 40 81 00 20 */ ble lbl_8014622C -/* 80146210 00143170 38 04 00 07 */ addi r0, r4, 7 -/* 80146214 00143174 54 00 E8 FE */ srwi r0, r0, 3 -/* 80146218 00143178 7C 09 03 A6 */ mtctr r0 -/* 8014621C 0014317C 2C 04 00 00 */ cmpwi r4, 0 -/* 80146220 00143180 40 81 00 0C */ ble lbl_8014622C -lbl_80146224: -/* 80146224 00143184 38 63 00 08 */ addi r3, r3, 8 -/* 80146228 00143188 42 00 FF FC */ bdnz lbl_80146224 -lbl_8014622C: -/* 8014622C 0014318C 7C 03 30 50 */ subf r0, r3, r6 -/* 80146230 00143190 7C 09 03 A6 */ mtctr r0 -/* 80146234 00143194 7C 03 30 00 */ cmpw r3, r6 -/* 80146238 00143198 40 80 00 08 */ bge lbl_80146240 -lbl_8014623C: -/* 8014623C 0014319C 42 00 00 00 */ bdnz lbl_8014623C -lbl_80146240: -/* 80146240 001431A0 38 00 00 00 */ li r0, 0 -/* 80146244 001431A4 90 05 00 00 */ stw r0, 0(r5) -lbl_80146248: -/* 80146248 001431A8 80 9F 00 00 */ lwz r4, 0(r31) -/* 8014624C 001431AC 38 61 00 18 */ addi r3, r1, 0x18 -/* 80146250 001431B0 4B F6 64 95 */ bl "__ct__27TCastToPtr<13CPhysicsActor>FP7CEntity" -/* 80146254 001431B4 83 E3 00 04 */ lwz r31, 4(r3) -/* 80146258 001431B8 28 1F 00 00 */ cmplwi r31, 0 -/* 8014625C 001431BC 41 82 00 64 */ beq lbl_801462C0 -/* 80146260 001431C0 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80146264 001431C4 7F C3 F3 78 */ mr r3, r30 -/* 80146268 001431C8 7F E4 FB 78 */ mr r4, r31 -/* 8014626C 001431CC 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80146270 001431D0 B0 01 00 14 */ sth r0, 0x14(r1) -/* 80146274 001431D4 38 C0 00 1A */ li r6, 0x1a -/* 80146278 001431D8 4B EF DC 59 */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 8014627C 001431DC A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80146280 001431E0 7F C3 F3 78 */ mr r3, r30 -/* 80146284 001431E4 7F E4 FB 78 */ mr r4, r31 -/* 80146288 001431E8 38 A1 00 10 */ addi r5, r1, 0x10 -/* 8014628C 001431EC B0 01 00 10 */ sth r0, 0x10(r1) -/* 80146290 001431F0 38 C0 00 28 */ li r6, 0x28 -/* 80146294 001431F4 4B EF DC 3D */ bl SendScriptMsg__13CStateManagerFP7CEntity9TEditorId20EScriptObjectMessage -/* 80146298 001431F8 C0 1F 01 38 */ lfs f0, 0x138(r31) -/* 8014629C 001431FC 38 60 00 00 */ li r3, 0 -/* 801462A0 00143200 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 801462A4 00143204 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 801462A8 00143208 C0 3F 01 3C */ lfs f1, 0x13c(r31) -/* 801462AC 0014320C C0 5F 01 40 */ lfs f2, 0x140(r31) -/* 801462B0 00143210 98 1D 00 30 */ stb r0, 0x30(r29) -/* 801462B4 00143214 D0 1D 00 18 */ stfs f0, 0x18(r29) -/* 801462B8 00143218 D0 3D 00 1C */ stfs f1, 0x1c(r29) -/* 801462BC 0014321C D0 5D 00 20 */ stfs f2, 0x20(r29) -lbl_801462C0: -/* 801462C0 00143220 34 A1 01 1C */ addic. r5, r1, 0x11c -/* 801462C4 00143224 41 82 00 58 */ beq lbl_8014631C -/* 801462C8 00143228 80 C5 00 00 */ lwz r6, 0(r5) -/* 801462CC 0014322C 38 60 00 00 */ li r3, 0 -/* 801462D0 00143230 2C 06 00 00 */ cmpwi r6, 0 -/* 801462D4 00143234 40 81 00 40 */ ble lbl_80146314 -/* 801462D8 00143238 2C 06 00 08 */ cmpwi r6, 8 -/* 801462DC 0014323C 38 86 FF F8 */ addi r4, r6, -8 -/* 801462E0 00143240 40 81 00 20 */ ble lbl_80146300 -/* 801462E4 00143244 38 04 00 07 */ addi r0, r4, 7 -/* 801462E8 00143248 54 00 E8 FE */ srwi r0, r0, 3 -/* 801462EC 0014324C 7C 09 03 A6 */ mtctr r0 -/* 801462F0 00143250 2C 04 00 00 */ cmpwi r4, 0 -/* 801462F4 00143254 40 81 00 0C */ ble lbl_80146300 -lbl_801462F8: -/* 801462F8 00143258 38 63 00 08 */ addi r3, r3, 8 -/* 801462FC 0014325C 42 00 FF FC */ bdnz lbl_801462F8 -lbl_80146300: -/* 80146300 00143260 7C 03 30 50 */ subf r0, r3, r6 -/* 80146304 00143264 7C 09 03 A6 */ mtctr r0 -/* 80146308 00143268 7C 03 30 00 */ cmpw r3, r6 -/* 8014630C 0014326C 40 80 00 08 */ bge lbl_80146314 -lbl_80146310: -/* 80146310 00143270 42 00 00 00 */ bdnz lbl_80146310 -lbl_80146314: -/* 80146314 00143274 38 00 00 00 */ li r0, 0 -/* 80146318 00143278 90 05 00 00 */ stw r0, 0(r5) -lbl_8014631C: -/* 8014631C 0014327C 80 01 01 74 */ lwz r0, 0x174(r1) -/* 80146320 00143280 83 E1 01 6C */ lwz r31, 0x16c(r1) -/* 80146324 00143284 83 C1 01 68 */ lwz r30, 0x168(r1) -/* 80146328 00143288 83 A1 01 64 */ lwz r29, 0x164(r1) -/* 8014632C 0014328C 7C 08 03 A6 */ mtlr r0 -/* 80146330 00143290 38 21 01 70 */ addi r1, r1, 0x170 -/* 80146334 00143294 4E 80 00 20 */ blr - -.global Start__7CBSJumpFR15CBodyControllerR13CStateManager -Start__7CBSJumpFR15CBodyControllerR13CStateManager: -/* 80146338 00143298 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8014633C 0014329C 7C 08 02 A6 */ mflr r0 -/* 80146340 001432A0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80146344 001432A4 93 E1 00 AC */ stw r31, 0xac(r1) -/* 80146348 001432A8 7C BF 2B 78 */ mr r31, r5 -/* 8014634C 001432AC 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 80146350 001432B0 7C 9E 23 78 */ mr r30, r4 -/* 80146354 001432B4 38 80 00 10 */ li r4, 0x10 -/* 80146358 001432B8 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 8014635C 001432BC 7C 7D 1B 78 */ mr r29, r3 -/* 80146360 001432C0 38 7E 00 04 */ addi r3, r30, 4 -/* 80146364 001432C4 4B FE B0 ED */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80146368 001432C8 80 03 00 08 */ lwz r0, 8(r3) -/* 8014636C 001432CC 38 80 00 00 */ li r4, 0 -/* 80146370 001432D0 90 1D 00 08 */ stw r0, 8(r29) -/* 80146374 001432D4 C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80146378 001432D8 D0 1D 00 0C */ stfs f0, 0xc(r29) -/* 8014637C 001432DC C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80146380 001432E0 D0 1D 00 10 */ stfs f0, 0x10(r29) -/* 80146384 001432E4 C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80146388 001432E8 D0 1D 00 14 */ stfs f0, 0x14(r29) -/* 8014638C 001432EC C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80146390 001432F0 D0 1D 00 24 */ stfs f0, 0x24(r29) -/* 80146394 001432F4 C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80146398 001432F8 D0 1D 00 28 */ stfs f0, 0x28(r29) -/* 8014639C 001432FC C0 03 00 20 */ lfs f0, 0x20(r3) -/* 801463A0 00143300 D0 1D 00 2C */ stfs f0, 0x2c(r29) -/* 801463A4 00143304 88 A3 00 24 */ lbz r5, 0x24(r3) -/* 801463A8 00143308 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 801463AC 0014330C 50 A0 FE 72 */ rlwimi r0, r5, 0x1f, 0x19, 0x19 -/* 801463B0 00143310 98 1D 00 30 */ stb r0, 0x30(r29) -/* 801463B4 00143314 88 A3 00 24 */ lbz r5, 0x24(r3) -/* 801463B8 00143318 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 801463BC 0014331C 50 A0 EF 38 */ rlwimi r0, r5, 0x1d, 0x1c, 0x1c -/* 801463C0 00143320 98 1D 00 30 */ stb r0, 0x30(r29) -/* 801463C4 00143324 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 801463C8 00143328 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 801463CC 0014332C 98 1D 00 30 */ stb r0, 0x30(r29) -/* 801463D0 00143330 88 1D 00 30 */ lbz r0, 0x30(r29) -/* 801463D4 00143334 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 801463D8 00143338 98 1D 00 30 */ stb r0, 0x30(r29) -/* 801463DC 0014333C 88 BD 00 30 */ lbz r5, 0x30(r29) -/* 801463E0 00143340 54 A0 D7 FF */ rlwinm. r0, r5, 0x1a, 0x1f, 0x1f -/* 801463E4 00143344 41 82 00 90 */ beq lbl_80146474 -/* 801463E8 00143348 80 DE 00 00 */ lwz r6, 0(r30) -/* 801463EC 0014334C 3C 80 80 5A */ lis r4, lbl_805A66F4@ha -/* 801463F0 00143350 38 84 66 F4 */ addi r4, r4, lbl_805A66F4@l -/* 801463F4 00143354 C0 5D 00 0C */ lfs f2, 0xc(r29) -/* 801463F8 00143358 C0 26 00 40 */ lfs f1, 0x40(r6) -/* 801463FC 0014335C C0 1D 00 24 */ lfs f0, 0x24(r29) -/* 80146400 00143360 ED 22 08 28 */ fsubs f9, f2, f1 -/* 80146404 00143364 C1 64 00 08 */ lfs f11, 8(r4) -/* 80146408 00143368 EC 60 10 28 */ fsubs f3, f0, f2 -/* 8014640C 0014336C C0 DD 00 14 */ lfs f6, 0x14(r29) -/* 80146410 00143370 C0 06 00 60 */ lfs f0, 0x60(r6) -/* 80146414 00143374 EC 2B 02 72 */ fmuls f1, f11, f9 -/* 80146418 00143378 EC 46 00 28 */ fsubs f2, f6, f0 -/* 8014641C 0014337C C1 44 00 04 */ lfs f10, 4(r4) -/* 80146420 00143380 C1 84 00 00 */ lfs f12, 0(r4) -/* 80146424 00143384 C0 FD 00 10 */ lfs f7, 0x10(r29) -/* 80146428 00143388 C0 A6 00 50 */ lfs f5, 0x50(r6) -/* 8014642C 0014338C EC 8A 00 B2 */ fmuls f4, f10, f2 -/* 80146430 00143390 C0 1D 00 28 */ lfs f0, 0x28(r29) -/* 80146434 00143394 EC 42 0B 38 */ fmsubs f2, f2, f12, f1 -/* 80146438 00143398 ED 07 28 28 */ fsubs f8, f7, f5 -/* 8014643C 0014339C C0 BD 00 2C */ lfs f5, 0x2c(r29) -/* 80146440 001433A0 EC 20 38 28 */ fsubs f1, f0, f7 -/* 80146444 001433A4 EC A5 30 28 */ fsubs f5, f5, f6 -/* 80146448 001433A8 C0 02 9C 6C */ lfs f0, lbl_805AB98C@sda21(r2) -/* 8014644C 001433AC EC CC 02 32 */ fmuls f6, f12, f8 -/* 80146450 001433B0 EC 22 00 72 */ fmuls f1, f2, f1 -/* 80146454 001433B4 EC 88 22 F8 */ fmsubs f4, f8, f11, f4 -/* 80146458 001433B8 EC 49 32 B8 */ fmsubs f2, f9, f10, f6 -/* 8014645C 001433BC EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80146460 001433C0 EC 22 09 7A */ fmadds f1, f2, f5, f1 -/* 80146464 001433C4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80146468 001433C8 7C 00 00 26 */ mfcr r0 -/* 8014646C 001433CC 50 05 36 B4 */ rlwimi r5, r0, 6, 0x1a, 0x1a -/* 80146470 001433D0 98 BD 00 30 */ stb r5, 0x30(r29) -lbl_80146474: -/* 80146474 001433D4 88 03 00 24 */ lbz r0, 0x24(r3) -/* 80146478 001433D8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8014647C 001433DC 40 82 00 F8 */ bne lbl_80146574 -/* 80146480 001433E0 38 00 00 00 */ li r0, 0 -/* 80146484 001433E4 38 61 00 10 */ addi r3, r1, 0x10 -/* 80146488 001433E8 90 1D 00 04 */ stw r0, 4(r29) -/* 8014648C 001433EC 48 19 CB F1 */ bl NoParameter__12CPASAnimParmFv -/* 80146490 001433F0 38 61 00 18 */ addi r3, r1, 0x18 -/* 80146494 001433F4 48 19 CB E9 */ bl NoParameter__12CPASAnimParmFv -/* 80146498 001433F8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8014649C 001433FC 48 19 CB E1 */ bl NoParameter__12CPASAnimParmFv -/* 801464A0 00143400 38 61 00 28 */ addi r3, r1, 0x28 -/* 801464A4 00143404 48 19 CB D9 */ bl NoParameter__12CPASAnimParmFv -/* 801464A8 00143408 38 61 00 30 */ addi r3, r1, 0x30 -/* 801464AC 0014340C 48 19 CB D1 */ bl NoParameter__12CPASAnimParmFv -/* 801464B0 00143410 38 61 00 38 */ addi r3, r1, 0x38 -/* 801464B4 00143414 48 19 CB C9 */ bl NoParameter__12CPASAnimParmFv -/* 801464B8 00143418 80 9D 00 08 */ lwz r4, 8(r29) -/* 801464BC 0014341C 38 61 00 40 */ addi r3, r1, 0x40 -/* 801464C0 00143420 48 19 CA C5 */ bl FromEnum__12CPASAnimParmFi -/* 801464C4 00143424 80 9D 00 04 */ lwz r4, 4(r29) -/* 801464C8 00143428 38 61 00 48 */ addi r3, r1, 0x48 -/* 801464CC 0014342C 48 19 CA B9 */ bl FromEnum__12CPASAnimParmFi -/* 801464D0 00143430 38 61 00 18 */ addi r3, r1, 0x18 -/* 801464D4 00143434 38 01 00 10 */ addi r0, r1, 0x10 -/* 801464D8 00143438 90 61 00 08 */ stw r3, 8(r1) -/* 801464DC 0014343C 38 61 00 50 */ addi r3, r1, 0x50 -/* 801464E0 00143440 38 A1 00 48 */ addi r5, r1, 0x48 -/* 801464E4 00143444 38 C1 00 40 */ addi r6, r1, 0x40 -/* 801464E8 00143448 90 01 00 0C */ stw r0, 0xc(r1) -/* 801464EC 0014344C 38 E1 00 38 */ addi r7, r1, 0x38 -/* 801464F0 00143450 39 01 00 30 */ addi r8, r1, 0x30 -/* 801464F4 00143454 39 21 00 28 */ addi r9, r1, 0x28 -/* 801464F8 00143458 39 41 00 20 */ addi r10, r1, 0x20 -/* 801464FC 0014345C 38 80 00 0D */ li r4, 0xd -/* 80146500 00143460 4B F3 6D C5 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80146504 00143464 80 BF 09 00 */ lwz r5, 0x900(r31) -/* 80146508 00143468 7F C3 F3 78 */ mr r3, r30 -/* 8014650C 0014346C 38 81 00 50 */ addi r4, r1, 0x50 -/* 80146510 00143470 4B FF 3E 99 */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 80146514 00143474 34 A1 00 54 */ addic. r5, r1, 0x54 -/* 80146518 00143478 41 82 00 6C */ beq lbl_80146584 -/* 8014651C 0014347C 80 C5 00 00 */ lwz r6, 0(r5) -/* 80146520 00143480 38 60 00 00 */ li r3, 0 -/* 80146524 00143484 2C 06 00 00 */ cmpwi r6, 0 -/* 80146528 00143488 40 81 00 40 */ ble lbl_80146568 -/* 8014652C 0014348C 2C 06 00 08 */ cmpwi r6, 8 -/* 80146530 00143490 38 86 FF F8 */ addi r4, r6, -8 -/* 80146534 00143494 40 81 00 20 */ ble lbl_80146554 -/* 80146538 00143498 38 04 00 07 */ addi r0, r4, 7 -/* 8014653C 0014349C 54 00 E8 FE */ srwi r0, r0, 3 -/* 80146540 001434A0 7C 09 03 A6 */ mtctr r0 -/* 80146544 001434A4 2C 04 00 00 */ cmpwi r4, 0 -/* 80146548 001434A8 40 81 00 0C */ ble lbl_80146554 -lbl_8014654C: -/* 8014654C 001434AC 38 63 00 08 */ addi r3, r3, 8 -/* 80146550 001434B0 42 00 FF FC */ bdnz lbl_8014654C -lbl_80146554: -/* 80146554 001434B4 7C 03 30 50 */ subf r0, r3, r6 -/* 80146558 001434B8 7C 09 03 A6 */ mtctr r0 -/* 8014655C 001434BC 7C 03 30 00 */ cmpw r3, r6 -/* 80146560 001434C0 40 80 00 08 */ bge lbl_80146568 -lbl_80146564: -/* 80146564 001434C4 42 00 00 00 */ bdnz lbl_80146564 -lbl_80146568: -/* 80146568 001434C8 38 00 00 00 */ li r0, 0 -/* 8014656C 001434CC 90 05 00 00 */ stw r0, 0(r5) -/* 80146570 001434D0 48 00 00 14 */ b lbl_80146584 -lbl_80146574: -/* 80146574 001434D4 7F A3 EB 78 */ mr r3, r29 -/* 80146578 001434D8 7F E4 FB 78 */ mr r4, r31 -/* 8014657C 001434DC 7F C5 F3 78 */ mr r5, r30 -/* 80146580 001434E0 4B FF FA B1 */ bl PlayJumpLoop__7CBSJumpFR13CStateManagerR15CBodyController -lbl_80146584: -/* 80146584 001434E4 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 80146588 001434E8 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 8014658C 001434EC 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 80146590 001434F0 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 80146594 001434F4 7C 08 03 A6 */ mtlr r0 -/* 80146598 001434F8 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 8014659C 001434FC 4E 80 00 20 */ blr - -.global CanShoot__7CBSJumpCFv -CanShoot__7CBSJumpCFv: -/* 801465A0 00143500 80 03 00 04 */ lwz r0, 4(r3) -/* 801465A4 00143504 38 60 00 00 */ li r3, 0 -/* 801465A8 00143508 2C 00 00 01 */ cmpwi r0, 1 -/* 801465AC 0014350C 41 82 00 0C */ beq lbl_801465B8 -/* 801465B0 00143510 2C 00 00 02 */ cmpwi r0, 2 -/* 801465B4 00143514 4C 82 00 20 */ bnelr -lbl_801465B8: -/* 801465B8 00143518 38 60 00 01 */ li r3, 1 -/* 801465BC 0014351C 4E 80 00 20 */ blr - -.global ApplyAnimationDeltas__7CBSJumpCFv -ApplyAnimationDeltas__7CBSJumpCFv: -/* 801465C0 00143520 80 03 00 04 */ lwz r0, 4(r3) -/* 801465C4 00143524 38 60 00 00 */ li r3, 0 -/* 801465C8 00143528 2C 00 00 01 */ cmpwi r0, 1 -/* 801465CC 0014352C 4D 82 00 20 */ beqlr -/* 801465D0 00143530 2C 00 00 02 */ cmpwi r0, 2 -/* 801465D4 00143534 4D 82 00 20 */ beqlr -/* 801465D8 00143538 38 60 00 01 */ li r3, 1 -/* 801465DC 0014353C 4E 80 00 20 */ blr - -.global IsInAir__7CBSJumpCFRC15CBodyController -IsInAir__7CBSJumpCFRC15CBodyController: -/* 801465E0 00143540 80 03 00 04 */ lwz r0, 4(r3) -/* 801465E4 00143544 38 60 00 00 */ li r3, 0 -/* 801465E8 00143548 2C 00 00 01 */ cmpwi r0, 1 -/* 801465EC 0014354C 41 82 00 0C */ beq lbl_801465F8 -/* 801465F0 00143550 2C 00 00 02 */ cmpwi r0, 2 -/* 801465F4 00143554 4C 82 00 20 */ bnelr -lbl_801465F8: -/* 801465F8 00143558 38 60 00 01 */ li r3, 1 -/* 801465FC 0014355C 4E 80 00 20 */ blr - -.global __ct__7CBSJumpFv -__ct__7CBSJumpFv: -/* 80146600 00143560 3C C0 80 3E */ lis r6, lbl_803E1318@ha -/* 80146604 00143564 3C A0 80 3E */ lis r5, lbl_803E2008@ha -/* 80146608 00143568 38 06 13 18 */ addi r0, r6, lbl_803E1318@l -/* 8014660C 0014356C 3C 80 80 5A */ lis r4, skZero3f@ha -/* 80146610 00143570 90 03 00 00 */ stw r0, 0(r3) -/* 80146614 00143574 38 C5 20 08 */ addi r6, r5, lbl_803E2008@l -/* 80146618 00143578 38 A4 66 A0 */ addi r5, r4, skZero3f@l -/* 8014661C 0014357C 38 00 FF FF */ li r0, -1 -/* 80146620 00143580 90 C3 00 00 */ stw r6, 0(r3) -/* 80146624 00143584 38 80 00 00 */ li r4, 0 -/* 80146628 00143588 90 03 00 04 */ stw r0, 4(r3) -/* 8014662C 0014358C C0 05 00 00 */ lfs f0, 0(r5) -/* 80146630 00143590 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 80146634 00143594 C0 05 00 04 */ lfs f0, 4(r5) -/* 80146638 00143598 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8014663C 0014359C C0 05 00 08 */ lfs f0, 8(r5) -/* 80146640 001435A0 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 80146644 001435A4 C0 05 00 00 */ lfs f0, 0(r5) -/* 80146648 001435A8 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8014664C 001435AC C0 05 00 04 */ lfs f0, 4(r5) -/* 80146650 001435B0 D0 03 00 1C */ stfs f0, 0x1c(r3) -/* 80146654 001435B4 C0 05 00 08 */ lfs f0, 8(r5) -/* 80146658 001435B8 D0 03 00 20 */ stfs f0, 0x20(r3) -/* 8014665C 001435BC C0 05 00 00 */ lfs f0, 0(r5) -/* 80146660 001435C0 D0 03 00 24 */ stfs f0, 0x24(r3) -/* 80146664 001435C4 C0 05 00 04 */ lfs f0, 4(r5) -/* 80146668 001435C8 D0 03 00 28 */ stfs f0, 0x28(r3) -/* 8014666C 001435CC C0 05 00 08 */ lfs f0, 8(r5) -/* 80146670 001435D0 D0 03 00 2C */ stfs f0, 0x2c(r3) -/* 80146674 001435D4 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80146678 001435D8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 8014667C 001435DC 98 03 00 30 */ stb r0, 0x30(r3) -/* 80146680 001435E0 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80146684 001435E4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 80146688 001435E8 98 03 00 30 */ stb r0, 0x30(r3) -/* 8014668C 001435EC 88 03 00 30 */ lbz r0, 0x30(r3) -/* 80146690 001435F0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a -/* 80146694 001435F4 98 03 00 30 */ stb r0, 0x30(r3) -/* 80146698 001435F8 88 03 00 30 */ lbz r0, 0x30(r3) -/* 8014669C 001435FC 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b -/* 801466A0 00143600 98 03 00 30 */ stb r0, 0x30(r3) -/* 801466A4 00143604 88 03 00 30 */ lbz r0, 0x30(r3) -/* 801466A8 00143608 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c -/* 801466AC 0014360C 98 03 00 30 */ stb r0, 0x30(r3) -/* 801466B0 00143610 4E 80 00 20 */ blr - -.global __dt__11CBSGenerateFv -__dt__11CBSGenerateFv: -/* 801466B4 00143614 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801466B8 00143618 7C 08 02 A6 */ mflr r0 -/* 801466BC 0014361C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801466C0 00143620 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801466C4 00143624 7C 7F 1B 79 */ or. r31, r3, r3 -/* 801466C8 00143628 41 82 00 30 */ beq lbl_801466F8 -/* 801466CC 0014362C 3C 60 80 3E */ lis r3, lbl_803E2040@ha -/* 801466D0 00143630 38 03 20 40 */ addi r0, r3, lbl_803E2040@l -/* 801466D4 00143634 90 1F 00 00 */ stw r0, 0(r31) -/* 801466D8 00143638 41 82 00 10 */ beq lbl_801466E8 -/* 801466DC 0014363C 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 801466E0 00143640 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 801466E4 00143644 90 1F 00 00 */ stw r0, 0(r31) -lbl_801466E8: -/* 801466E8 00143648 7C 80 07 35 */ extsh. r0, r4 -/* 801466EC 0014364C 40 81 00 0C */ ble lbl_801466F8 -/* 801466F0 00143650 7F E3 FB 78 */ mr r3, r31 -/* 801466F4 00143654 48 1C F2 3D */ bl Free__7CMemoryFPCv -lbl_801466F8: -/* 801466F8 00143658 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801466FC 0014365C 7F E3 FB 78 */ mr r3, r31 -/* 80146700 00143660 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80146704 00143664 7C 08 03 A6 */ mtlr r0 -/* 80146708 00143668 38 21 00 10 */ addi r1, r1, 0x10 -/* 8014670C 0014366C 4E 80 00 20 */ blr - -.global GetBodyStateTransition__11CBSGenerateFfR15CBodyController -GetBodyStateTransition__11CBSGenerateFfR15CBodyController: -/* 80146710 00143670 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80146714 00143674 7C 08 02 A6 */ mflr r0 -/* 80146718 00143678 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014671C 0014367C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80146720 00143680 93 C1 00 08 */ stw r30, 8(r1) -/* 80146724 00143684 7C 9E 23 78 */ mr r30, r4 -/* 80146728 00143688 3B FE 00 04 */ addi r31, r30, 4 -/* 8014672C 0014368C 38 80 00 0F */ li r4, 0xf -/* 80146730 00143690 7F E3 FB 78 */ mr r3, r31 -/* 80146734 00143694 4B FE AD 1D */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80146738 00143698 28 03 00 00 */ cmplwi r3, 0 -/* 8014673C 0014369C 41 82 00 0C */ beq lbl_80146748 -/* 80146740 001436A0 38 60 00 0E */ li r3, 0xe -/* 80146744 001436A4 48 00 00 68 */ b lbl_801467AC -lbl_80146748: -/* 80146748 001436A8 7F E3 FB 78 */ mr r3, r31 -/* 8014674C 001436AC 38 80 00 03 */ li r4, 3 -/* 80146750 001436B0 4B FE AD 01 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80146754 001436B4 28 03 00 00 */ cmplwi r3, 0 -/* 80146758 001436B8 41 82 00 0C */ beq lbl_80146764 -/* 8014675C 001436BC 38 60 00 00 */ li r3, 0 -/* 80146760 001436C0 48 00 00 4C */ b lbl_801467AC -lbl_80146764: -/* 80146764 001436C4 7F E3 FB 78 */ mr r3, r31 -/* 80146768 001436C8 38 80 00 0E */ li r4, 0xe -/* 8014676C 001436CC 4B FE AC E5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80146770 001436D0 28 03 00 00 */ cmplwi r3, 0 -/* 80146774 001436D4 41 82 00 0C */ beq lbl_80146780 -/* 80146778 001436D8 38 60 00 0C */ li r3, 0xc -/* 8014677C 001436DC 48 00 00 30 */ b lbl_801467AC -lbl_80146780: -/* 80146780 001436E0 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 80146784 001436E4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 80146788 001436E8 40 82 00 18 */ bne lbl_801467A0 -/* 8014678C 001436EC 7F E3 FB 78 */ mr r3, r31 -/* 80146790 001436F0 38 80 00 0C */ li r4, 0xc -/* 80146794 001436F4 4B FE AC BD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80146798 001436F8 28 03 00 00 */ cmplwi r3, 0 -/* 8014679C 001436FC 41 82 00 0C */ beq lbl_801467A8 -lbl_801467A0: -/* 801467A0 00143700 38 60 00 05 */ li r3, 5 -/* 801467A4 00143704 48 00 00 08 */ b lbl_801467AC -lbl_801467A8: -/* 801467A8 00143708 38 60 FF FF */ li r3, -1 -lbl_801467AC: -/* 801467AC 0014370C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801467B0 00143710 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801467B4 00143714 83 C1 00 08 */ lwz r30, 8(r1) -/* 801467B8 00143718 7C 08 03 A6 */ mtlr r0 -/* 801467BC 0014371C 38 21 00 10 */ addi r1, r1, 0x10 -/* 801467C0 00143720 4E 80 00 20 */ blr - -.global Shutdown__11CBSGenerateFR15CBodyController -Shutdown__11CBSGenerateFR15CBodyController: -/* 801467C4 00143724 4E 80 00 20 */ blr - -.global UpdateBody__11CBSGenerateFfR15CBodyControllerR13CStateManager -UpdateBody__11CBSGenerateFfR15CBodyControllerR13CStateManager: -/* 801467C8 00143728 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801467CC 0014372C 7C 08 02 A6 */ mflr r0 -/* 801467D0 00143730 90 01 00 24 */ stw r0, 0x24(r1) -/* 801467D4 00143734 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 801467D8 00143738 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 801467DC 0014373C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801467E0 00143740 93 C1 00 08 */ stw r30, 8(r1) -/* 801467E4 00143744 FF E0 08 90 */ fmr f31, f1 -/* 801467E8 00143748 7C 9E 23 78 */ mr r30, r4 -/* 801467EC 0014374C 4B FF FF 25 */ bl GetBodyStateTransition__11CBSGenerateFfR15CBodyController -/* 801467F0 00143750 7C 7F 1B 78 */ mr r31, r3 -/* 801467F4 00143754 2C 1F FF FF */ cmpwi r31, -1 -/* 801467F8 00143758 40 82 00 50 */ bne lbl_80146848 -/* 801467FC 0014375C 38 7E 00 1C */ addi r3, r30, 0x1c -/* 80146800 00143760 C0 22 9C 80 */ lfs f1, lbl_805AB9A0@sda21(r2) -/* 80146804 00143764 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80146808 00143768 38 00 00 00 */ li r0, 0 -/* 8014680C 0014376C FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80146810 00143770 40 82 00 1C */ bne lbl_8014682C -/* 80146814 00143774 C0 03 00 04 */ lfs f0, 4(r3) -/* 80146818 00143778 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8014681C 0014377C 40 82 00 10 */ bne lbl_8014682C -/* 80146820 00143780 C0 03 00 08 */ lfs f0, 8(r3) -/* 80146824 00143784 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80146828 00143788 41 82 00 08 */ beq lbl_80146830 -lbl_8014682C: -/* 8014682C 0014378C 38 00 00 01 */ li r0, 1 -lbl_80146830: -/* 80146830 00143790 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80146834 00143794 41 82 00 14 */ beq lbl_80146848 -/* 80146838 00143798 FC 20 F8 90 */ fmr f1, f31 -/* 8014683C 0014379C 7F C3 F3 78 */ mr r3, r30 -/* 80146840 001437A0 38 9E 00 1C */ addi r4, r30, 0x1c -/* 80146844 001437A4 4B FF 3E 61 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_80146848: -/* 80146848 001437A8 7F E3 FB 78 */ mr r3, r31 -/* 8014684C 001437AC E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 80146850 001437B0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80146854 001437B4 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80146858 001437B8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8014685C 001437BC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80146860 001437C0 7C 08 03 A6 */ mtlr r0 -/* 80146864 001437C4 38 21 00 20 */ addi r1, r1, 0x20 -/* 80146868 001437C8 4E 80 00 20 */ blr - -.global Start__11CBSGenerateFR15CBodyControllerR13CStateManager -Start__11CBSGenerateFR15CBodyControllerR13CStateManager: -/* 8014686C 001437CC 94 21 FE E0 */ stwu r1, -0x120(r1) -/* 80146870 001437D0 7C 08 02 A6 */ mflr r0 -/* 80146874 001437D4 90 01 01 24 */ stw r0, 0x124(r1) -/* 80146878 001437D8 BF 61 01 0C */ stmw r27, 0x10c(r1) -/* 8014687C 001437DC 7C 9F 23 78 */ mr r31, r4 -/* 80146880 001437E0 7C BB 2B 78 */ mr r27, r5 -/* 80146884 001437E4 38 80 00 0E */ li r4, 0xe -/* 80146888 001437E8 38 7F 00 04 */ addi r3, r31, 4 -/* 8014688C 001437EC 4B FE AB C5 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80146890 001437F0 88 03 00 1C */ lbz r0, 0x1c(r3) -/* 80146894 001437F4 7C 7E 1B 78 */ mr r30, r3 -/* 80146898 001437F8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 8014689C 001437FC 40 82 01 08 */ bne lbl_801469A4 -/* 801468A0 00143800 7F E3 FB 78 */ mr r3, r31 -/* 801468A4 00143804 4B FF 3B B1 */ bl GetPASDatabase__15CBodyControllerCFv -/* 801468A8 00143808 83 BE 00 08 */ lwz r29, 8(r30) -/* 801468AC 0014380C 7C 7C 1B 78 */ mr r28, r3 -/* 801468B0 00143810 38 61 00 18 */ addi r3, r1, 0x18 -/* 801468B4 00143814 48 19 C7 C9 */ bl NoParameter__12CPASAnimParmFv -/* 801468B8 00143818 38 61 00 20 */ addi r3, r1, 0x20 -/* 801468BC 0014381C 48 19 C7 C1 */ bl NoParameter__12CPASAnimParmFv -/* 801468C0 00143820 38 61 00 28 */ addi r3, r1, 0x28 -/* 801468C4 00143824 48 19 C7 B9 */ bl NoParameter__12CPASAnimParmFv -/* 801468C8 00143828 38 61 00 30 */ addi r3, r1, 0x30 -/* 801468CC 0014382C 48 19 C7 B1 */ bl NoParameter__12CPASAnimParmFv -/* 801468D0 00143830 38 61 00 38 */ addi r3, r1, 0x38 -/* 801468D4 00143834 48 19 C7 A9 */ bl NoParameter__12CPASAnimParmFv -/* 801468D8 00143838 38 61 00 40 */ addi r3, r1, 0x40 -/* 801468DC 0014383C 48 19 C7 A1 */ bl NoParameter__12CPASAnimParmFv -/* 801468E0 00143840 38 61 00 48 */ addi r3, r1, 0x48 -/* 801468E4 00143844 48 19 C7 99 */ bl NoParameter__12CPASAnimParmFv -/* 801468E8 00143848 7F A4 EB 78 */ mr r4, r29 -/* 801468EC 0014384C 38 61 00 50 */ addi r3, r1, 0x50 -/* 801468F0 00143850 48 19 C6 95 */ bl FromEnum__12CPASAnimParmFi -/* 801468F4 00143854 38 61 00 20 */ addi r3, r1, 0x20 -/* 801468F8 00143858 38 01 00 18 */ addi r0, r1, 0x18 -/* 801468FC 0014385C 90 61 00 08 */ stw r3, 8(r1) -/* 80146900 00143860 38 61 00 B4 */ addi r3, r1, 0xb4 -/* 80146904 00143864 38 A1 00 50 */ addi r5, r1, 0x50 -/* 80146908 00143868 38 C1 00 48 */ addi r6, r1, 0x48 -/* 8014690C 0014386C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80146910 00143870 38 E1 00 40 */ addi r7, r1, 0x40 -/* 80146914 00143874 39 01 00 38 */ addi r8, r1, 0x38 -/* 80146918 00143878 39 21 00 30 */ addi r9, r1, 0x30 -/* 8014691C 0014387C 39 41 00 28 */ addi r10, r1, 0x28 -/* 80146920 00143880 38 80 00 0C */ li r4, 0xc -/* 80146924 00143884 4B F3 69 A1 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80146928 00143888 80 DB 09 00 */ lwz r6, 0x900(r27) -/* 8014692C 0014388C 7F 84 E3 78 */ mr r4, r28 -/* 80146930 00143890 38 61 00 10 */ addi r3, r1, 0x10 -/* 80146934 00143894 38 A1 00 B4 */ addi r5, r1, 0xb4 -/* 80146938 00143898 38 E0 FF FF */ li r7, -1 -/* 8014693C 0014389C 48 19 E7 25 */ bl FindBestAnimation__12CPASDatabaseCFRC16CPASAnimParmDataR9CRandom16i -/* 80146940 001438A0 34 A1 00 B8 */ addic. r5, r1, 0xb8 -/* 80146944 001438A4 81 81 00 14 */ lwz r12, 0x14(r1) -/* 80146948 001438A8 41 82 00 60 */ beq lbl_801469A8 -/* 8014694C 001438AC 80 C5 00 00 */ lwz r6, 0(r5) -/* 80146950 001438B0 38 60 00 00 */ li r3, 0 -/* 80146954 001438B4 2C 06 00 00 */ cmpwi r6, 0 -/* 80146958 001438B8 40 81 00 40 */ ble lbl_80146998 -/* 8014695C 001438BC 2C 06 00 08 */ cmpwi r6, 8 -/* 80146960 001438C0 38 86 FF F8 */ addi r4, r6, -8 -/* 80146964 001438C4 40 81 00 20 */ ble lbl_80146984 -/* 80146968 001438C8 38 04 00 07 */ addi r0, r4, 7 -/* 8014696C 001438CC 54 00 E8 FE */ srwi r0, r0, 3 -/* 80146970 001438D0 7C 09 03 A6 */ mtctr r0 -/* 80146974 001438D4 2C 04 00 00 */ cmpwi r4, 0 -/* 80146978 001438D8 40 81 00 0C */ ble lbl_80146984 -lbl_8014697C: -/* 8014697C 001438DC 38 63 00 08 */ addi r3, r3, 8 -/* 80146980 001438E0 42 00 FF FC */ bdnz lbl_8014697C -lbl_80146984: -/* 80146984 001438E4 7C 03 30 50 */ subf r0, r3, r6 -/* 80146988 001438E8 7C 09 03 A6 */ mtctr r0 -/* 8014698C 001438EC 7C 03 30 00 */ cmpw r3, r6 -/* 80146990 001438F0 40 80 00 08 */ bge lbl_80146998 -lbl_80146994: -/* 80146994 001438F4 42 00 00 00 */ bdnz lbl_80146994 -lbl_80146998: -/* 80146998 001438F8 38 00 00 00 */ li r0, 0 -/* 8014699C 001438FC 90 05 00 00 */ stw r0, 0(r5) -/* 801469A0 00143900 48 00 00 08 */ b lbl_801469A8 -lbl_801469A4: -/* 801469A4 00143904 81 9E 00 18 */ lwz r12, 0x18(r30) -lbl_801469A8: -/* 801469A8 00143908 88 1E 00 1C */ lbz r0, 0x1c(r30) -/* 801469AC 0014390C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801469B0 00143910 41 82 00 80 */ beq lbl_80146A30 -/* 801469B4 00143914 80 7F 00 00 */ lwz r3, 0(r31) -/* 801469B8 00143918 38 FE 00 0C */ addi r7, r30, 0xc -/* 801469BC 0014391C C0 02 9C 84 */ lfs f0, lbl_805AB9A4@sda21(r2) -/* 801469C0 00143920 38 01 00 58 */ addi r0, r1, 0x58 -/* 801469C4 00143924 80 83 00 64 */ lwz r4, 0x64(r3) -/* 801469C8 00143928 39 63 00 34 */ addi r11, r3, 0x34 -/* 801469CC 0014392C 39 40 FF FF */ li r10, -1 -/* 801469D0 00143930 39 20 00 01 */ li r9, 1 -/* 801469D4 00143934 C0 44 00 04 */ lfs f2, 4(r4) -/* 801469D8 00143938 39 00 00 00 */ li r8, 0 -/* 801469DC 0014393C C0 64 00 08 */ lfs f3, 8(r4) -/* 801469E0 00143940 7F E3 FB 78 */ mr r3, r31 -/* 801469E4 00143944 C0 24 00 00 */ lfs f1, 0(r4) -/* 801469E8 00143948 38 81 00 8C */ addi r4, r1, 0x8c -/* 801469EC 0014394C 38 A0 00 00 */ li r5, 0 -/* 801469F0 00143950 38 C0 00 00 */ li r6, 0 -/* 801469F4 00143954 D0 21 00 58 */ stfs f1, 0x58(r1) -/* 801469F8 00143958 D0 41 00 5C */ stfs f2, 0x5c(r1) -/* 801469FC 0014395C D0 61 00 60 */ stfs f3, 0x60(r1) -/* 80146A00 00143960 91 81 00 8C */ stw r12, 0x8c(r1) -/* 80146A04 00143964 91 41 00 90 */ stw r10, 0x90(r1) -/* 80146A08 00143968 D0 01 00 94 */ stfs f0, 0x94(r1) -/* 80146A0C 0014396C 99 21 00 98 */ stb r9, 0x98(r1) -/* 80146A10 00143970 91 01 00 9C */ stw r8, 0x9c(r1) -/* 80146A14 00143974 90 E1 00 A0 */ stw r7, 0xa0(r1) -/* 80146A18 00143978 99 01 00 A4 */ stb r8, 0xa4(r1) -/* 80146A1C 0014397C 91 01 00 A8 */ stw r8, 0xa8(r1) -/* 80146A20 00143980 91 61 00 AC */ stw r11, 0xac(r1) -/* 80146A24 00143984 90 01 00 B0 */ stw r0, 0xb0(r1) -/* 80146A28 00143988 4B FF 3E F5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -/* 80146A2C 0014398C 48 00 00 50 */ b lbl_80146A7C -lbl_80146A30: -/* 80146A30 00143990 C0 02 9C 84 */ lfs f0, lbl_805AB9A4@sda21(r2) -/* 80146A34 00143994 38 00 00 00 */ li r0, 0 -/* 80146A38 00143998 38 C0 FF FF */ li r6, -1 -/* 80146A3C 0014399C 38 E0 00 01 */ li r7, 1 -/* 80146A40 001439A0 91 81 00 64 */ stw r12, 0x64(r1) -/* 80146A44 001439A4 7F E3 FB 78 */ mr r3, r31 -/* 80146A48 001439A8 38 81 00 64 */ addi r4, r1, 0x64 -/* 80146A4C 001439AC 38 A0 00 00 */ li r5, 0 -/* 80146A50 001439B0 90 C1 00 68 */ stw r6, 0x68(r1) -/* 80146A54 001439B4 38 C0 00 00 */ li r6, 0 -/* 80146A58 001439B8 D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80146A5C 001439BC 98 E1 00 70 */ stb r7, 0x70(r1) -/* 80146A60 001439C0 90 01 00 74 */ stw r0, 0x74(r1) -/* 80146A64 001439C4 90 01 00 78 */ stw r0, 0x78(r1) -/* 80146A68 001439C8 98 01 00 7C */ stb r0, 0x7c(r1) -/* 80146A6C 001439CC 90 01 00 80 */ stw r0, 0x80(r1) -/* 80146A70 001439D0 90 01 00 84 */ stw r0, 0x84(r1) -/* 80146A74 001439D4 90 01 00 88 */ stw r0, 0x88(r1) -/* 80146A78 001439D8 4B FF 3E A5 */ bl SetCurrentAnimation__15CBodyControllerFRC18CAnimPlaybackParmsbb -lbl_80146A7C: -/* 80146A7C 001439DC BB 61 01 0C */ lmw r27, 0x10c(r1) -/* 80146A80 001439E0 80 01 01 24 */ lwz r0, 0x124(r1) -/* 80146A84 001439E4 7C 08 03 A6 */ mtlr r0 -/* 80146A88 001439E8 38 21 01 20 */ addi r1, r1, 0x120 -/* 80146A8C 001439EC 4E 80 00 20 */ blr - -.global __ct__11CBSGenerateFv -__ct__11CBSGenerateFv: -/* 80146A90 001439F0 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 80146A94 001439F4 3C 80 80 3E */ lis r4, lbl_803E2040@ha -/* 80146A98 001439F8 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l -/* 80146A9C 001439FC 90 A3 00 00 */ stw r5, 0(r3) -/* 80146AA0 00143A00 38 04 20 40 */ addi r0, r4, lbl_803E2040@l -/* 80146AA4 00143A04 90 03 00 00 */ stw r0, 0(r3) -/* 80146AA8 00143A08 4E 80 00 20 */ blr - -.global __dt__12CPuddleSporeFv -__dt__12CPuddleSporeFv: -/* 80146AAC 00143A0C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80146AB0 00143A10 7C 08 02 A6 */ mflr r0 -/* 80146AB4 00143A14 90 01 00 34 */ stw r0, 0x34(r1) -/* 80146AB8 00143A18 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80146ABC 00143A1C 7C 9F 23 78 */ mr r31, r4 -/* 80146AC0 00143A20 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80146AC4 00143A24 7C 7E 1B 79 */ or. r30, r3, r3 -/* 80146AC8 00143A28 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80146ACC 00143A2C 93 81 00 20 */ stw r28, 0x20(r1) -/* 80146AD0 00143A30 41 82 00 F4 */ beq lbl_80146BC4 -/* 80146AD4 00143A34 3C 60 80 3E */ lis r3, lbl_803E20C4@ha -/* 80146AD8 00143A38 34 1E 05 EC */ addic. r0, r30, 0x5ec -/* 80146ADC 00143A3C 38 03 20 C4 */ addi r0, r3, lbl_803E20C4@l -/* 80146AE0 00143A40 90 1E 00 00 */ stw r0, 0(r30) -/* 80146AE4 00143A44 41 82 00 20 */ beq lbl_80146B04 -/* 80146AE8 00143A48 34 1E 05 EC */ addic. r0, r30, 0x5ec -/* 80146AEC 00143A4C 41 82 00 18 */ beq lbl_80146B04 -/* 80146AF0 00143A50 34 1E 05 EC */ addic. r0, r30, 0x5ec -/* 80146AF4 00143A54 41 82 00 10 */ beq lbl_80146B04 -/* 80146AF8 00143A58 38 7E 05 EC */ addi r3, r30, 0x5ec -/* 80146AFC 00143A5C 38 80 00 00 */ li r4, 0 -/* 80146B00 00143A60 48 1F A3 41 */ bl __dt__6CTokenFv -lbl_80146B04: -/* 80146B04 00143A64 34 1E 05 DC */ addic. r0, r30, 0x5dc -/* 80146B08 00143A68 41 82 00 5C */ beq lbl_80146B64 -/* 80146B0C 00143A6C 80 1E 05 E0 */ lwz r0, 0x5e0(r30) -/* 80146B10 00143A70 83 9E 05 E8 */ lwz r28, 0x5e8(r30) -/* 80146B14 00143A74 1C 00 03 40 */ mulli r0, r0, 0x340 -/* 80146B18 00143A78 93 81 00 0C */ stw r28, 0xc(r1) -/* 80146B1C 00143A7C 7F BC 02 14 */ add r29, r28, r0 -/* 80146B20 00143A80 93 81 00 08 */ stw r28, 8(r1) -/* 80146B24 00143A84 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80146B28 00143A88 93 A1 00 10 */ stw r29, 0x10(r1) -/* 80146B2C 00143A8C 48 00 00 20 */ b lbl_80146B4C -lbl_80146B30: -/* 80146B30 00143A90 7F 83 E3 78 */ mr r3, r28 -/* 80146B34 00143A94 38 80 FF FF */ li r4, -1 -/* 80146B38 00143A98 81 9C 00 00 */ lwz r12, 0(r28) -/* 80146B3C 00143A9C 81 8C 00 08 */ lwz r12, 8(r12) -/* 80146B40 00143AA0 7D 89 03 A6 */ mtctr r12 -/* 80146B44 00143AA4 4E 80 04 21 */ bctrl -/* 80146B48 00143AA8 3B 9C 03 40 */ addi r28, r28, 0x340 -lbl_80146B4C: -/* 80146B4C 00143AAC 7C 1C E8 40 */ cmplw r28, r29 -/* 80146B50 00143AB0 40 82 FF E0 */ bne lbl_80146B30 -/* 80146B54 00143AB4 80 7E 05 E8 */ lwz r3, 0x5e8(r30) -/* 80146B58 00143AB8 28 03 00 00 */ cmplwi r3, 0 -/* 80146B5C 00143ABC 41 82 00 08 */ beq lbl_80146B64 -/* 80146B60 00143AC0 48 1C ED D1 */ bl Free__7CMemoryFPCv -lbl_80146B64: -/* 80146B64 00143AC4 34 1E 05 D0 */ addic. r0, r30, 0x5d0 -/* 80146B68 00143AC8 41 82 00 18 */ beq lbl_80146B80 -/* 80146B6C 00143ACC 34 1E 05 D0 */ addic. r0, r30, 0x5d0 -/* 80146B70 00143AD0 41 82 00 10 */ beq lbl_80146B80 -/* 80146B74 00143AD4 38 7E 05 D0 */ addi r3, r30, 0x5d0 -/* 80146B78 00143AD8 38 80 00 00 */ li r4, 0 -/* 80146B7C 00143ADC 48 1F A2 C5 */ bl __dt__6CTokenFv -lbl_80146B80: -/* 80146B80 00143AE0 34 1E 05 A0 */ addic. r0, r30, 0x5a0 -/* 80146B84 00143AE4 41 82 00 24 */ beq lbl_80146BA8 -/* 80146B88 00143AE8 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha -/* 80146B8C 00143AEC 34 1E 05 A0 */ addic. r0, r30, 0x5a0 -/* 80146B90 00143AF0 38 03 CA D0 */ addi r0, r3, lbl_803ECAD0@l -/* 80146B94 00143AF4 90 1E 05 A0 */ stw r0, 0x5a0(r30) -/* 80146B98 00143AF8 41 82 00 10 */ beq lbl_80146BA8 -/* 80146B9C 00143AFC 3C 60 80 3E */ lis r3, lbl_803D97E4@ha -/* 80146BA0 00143B00 38 03 97 E4 */ addi r0, r3, lbl_803D97E4@l -/* 80146BA4 00143B04 90 1E 05 A0 */ stw r0, 0x5a0(r30) -lbl_80146BA8: -/* 80146BA8 00143B08 7F C3 F3 78 */ mr r3, r30 -/* 80146BAC 00143B0C 38 80 00 00 */ li r4, 0 -/* 80146BB0 00143B10 4B F3 09 C1 */ bl __dt__10CPatternedFv -/* 80146BB4 00143B14 7F E0 07 35 */ extsh. r0, r31 -/* 80146BB8 00143B18 40 81 00 0C */ ble lbl_80146BC4 -/* 80146BBC 00143B1C 7F C3 F3 78 */ mr r3, r30 -/* 80146BC0 00143B20 48 1C ED 71 */ bl Free__7CMemoryFPCv -lbl_80146BC4: -/* 80146BC4 00143B24 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80146BC8 00143B28 7F C3 F3 78 */ mr r3, r30 -/* 80146BCC 00143B2C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80146BD0 00143B30 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80146BD4 00143B34 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80146BD8 00143B38 83 81 00 20 */ lwz r28, 0x20(r1) -/* 80146BDC 00143B3C 7C 08 03 A6 */ mtlr r0 -/* 80146BE0 00143B40 38 21 00 30 */ addi r1, r1, 0x30 -/* 80146BE4 00143B44 4E 80 00 20 */ blr - -.global Attack__12CPuddleSporeFR13CStateManager9EStateMsgf -Attack__12CPuddleSporeFR13CStateManager9EStateMsgf: -/* 80146BE8 00143B48 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80146BEC 00143B4C 7C 08 02 A6 */ mflr r0 -/* 80146BF0 00143B50 2C 05 00 01 */ cmpwi r5, 1 -/* 80146BF4 00143B54 90 01 00 24 */ stw r0, 0x24(r1) -/* 80146BF8 00143B58 41 82 00 34 */ beq lbl_80146C2C -/* 80146BFC 00143B5C 40 80 00 10 */ bge lbl_80146C0C -/* 80146C00 00143B60 2C 05 00 00 */ cmpwi r5, 0 -/* 80146C04 00143B64 40 80 00 14 */ bge lbl_80146C18 -/* 80146C08 00143B68 48 00 00 60 */ b lbl_80146C68 -lbl_80146C0C: -/* 80146C0C 00143B6C 2C 05 00 03 */ cmpwi r5, 3 -/* 80146C10 00143B70 40 80 00 58 */ bge lbl_80146C68 -/* 80146C14 00143B74 48 00 00 4C */ b lbl_80146C60 -lbl_80146C18: -/* 80146C18 00143B78 38 00 00 01 */ li r0, 1 -/* 80146C1C 00143B7C C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) -/* 80146C20 00143B80 90 03 03 2C */ stw r0, 0x32c(r3) -/* 80146C24 00143B84 D0 03 05 98 */ stfs f0, 0x598(r3) -/* 80146C28 00143B88 48 00 00 40 */ b lbl_80146C68 -lbl_80146C2C: -/* 80146C2C 00143B8C 3C A0 80 3E */ lis r5, lbl_803E20B8@ha -/* 80146C30 00143B90 38 C1 00 08 */ addi r6, r1, 8 -/* 80146C34 00143B94 39 45 20 B8 */ addi r10, r5, lbl_803E20B8@l -/* 80146C38 00143B98 38 A0 00 07 */ li r5, 7 -/* 80146C3C 00143B9C 81 2A 00 00 */ lwz r9, 0(r10) -/* 80146C40 00143BA0 38 E0 00 01 */ li r7, 1 -/* 80146C44 00143BA4 81 0A 00 04 */ lwz r8, 4(r10) -/* 80146C48 00143BA8 80 0A 00 08 */ lwz r0, 8(r10) -/* 80146C4C 00143BAC 91 21 00 08 */ stw r9, 8(r1) -/* 80146C50 00143BB0 91 01 00 0C */ stw r8, 0xc(r1) -/* 80146C54 00143BB4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80146C58 00143BB8 4B F3 5B 5D */ bl TryCommand__10CPatternedFR13CStateManageriM10CPatternedFR13CStateManageri_vi -/* 80146C5C 00143BBC 48 00 00 0C */ b lbl_80146C68 -lbl_80146C60: -/* 80146C60 00143BC0 38 00 00 00 */ li r0, 0 -/* 80146C64 00143BC4 90 03 03 2C */ stw r0, 0x32c(r3) -lbl_80146C68: -/* 80146C68 00143BC8 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80146C6C 00143BCC 7C 08 03 A6 */ mtlr r0 -/* 80146C70 00143BD0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80146C74 00143BD4 4E 80 00 20 */ blr - -.global GetUp__12CPuddleSporeFR13CStateManager9EStateMsgf -GetUp__12CPuddleSporeFR13CStateManager9EStateMsgf: -/* 80146C78 00143BD8 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80146C7C 00143BDC 7C 08 02 A6 */ mflr r0 -/* 80146C80 00143BE0 2C 05 00 01 */ cmpwi r5, 1 -/* 80146C84 00143BE4 90 01 00 34 */ stw r0, 0x34(r1) -/* 80146C88 00143BE8 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80146C8C 00143BEC 7C 7F 1B 78 */ mr r31, r3 -/* 80146C90 00143BF0 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80146C94 00143BF4 93 A1 00 24 */ stw r29, 0x24(r1) -/* 80146C98 00143BF8 7C 9D 23 78 */ mr r29, r4 -/* 80146C9C 00143BFC 41 82 00 AC */ beq lbl_80146D48 -/* 80146CA0 00143C00 40 80 00 10 */ bge lbl_80146CB0 -/* 80146CA4 00143C04 2C 05 00 00 */ cmpwi r5, 0 -/* 80146CA8 00143C08 40 80 00 14 */ bge lbl_80146CBC -/* 80146CAC 00143C0C 48 00 01 68 */ b lbl_80146E14 -lbl_80146CB0: -/* 80146CB0 00143C10 2C 05 00 03 */ cmpwi r5, 3 -/* 80146CB4 00143C14 40 80 01 60 */ bge lbl_80146E14 -/* 80146CB8 00143C18 48 00 01 54 */ b lbl_80146E0C -lbl_80146CBC: -/* 80146CBC 00143C1C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80146CC0 00143C20 38 A0 00 00 */ li r5, 0 -/* 80146CC4 00143C24 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80146CC8 00143C28 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80146CCC 00143C2C 3C 80 80 3E */ lis r4, lbl_803DAA20@ha -/* 80146CD0 00143C30 90 01 00 14 */ stw r0, 0x14(r1) -/* 80146CD4 00143C34 38 04 AA 20 */ addi r0, r4, lbl_803DAA20@l -/* 80146CD8 00143C38 3B C3 00 04 */ addi r30, r3, 4 -/* 80146CDC 00143C3C 90 A1 00 18 */ stw r5, 0x18(r1) -/* 80146CE0 00143C40 7F C3 F3 78 */ mr r3, r30 -/* 80146CE4 00143C44 38 80 00 00 */ li r4, 0 -/* 80146CE8 00143C48 90 01 00 14 */ stw r0, 0x14(r1) -/* 80146CEC 00143C4C 90 A1 00 1C */ stw r5, 0x1c(r1) -/* 80146CF0 00143C50 4B FE A7 49 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80146CF4 00143C54 80 01 00 18 */ lwz r0, 0x18(r1) -/* 80146CF8 00143C58 3C 60 80 3E */ lis r3, lbl_803DAA20@ha -/* 80146CFC 00143C5C 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l -/* 80146D00 00143C60 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80146D04 00143C64 90 1E 00 BC */ stw r0, 0xbc(r30) -/* 80146D08 00143C68 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80146D0C 00143C6C 80 A1 00 1C */ lwz r5, 0x1c(r1) -/* 80146D10 00143C70 7F E3 FB 78 */ mr r3, r31 -/* 80146D14 00143C74 90 81 00 14 */ stw r4, 0x14(r1) -/* 80146D18 00143C78 7F A4 EB 78 */ mr r4, r29 -/* 80146D1C 00143C7C 90 BE 00 C0 */ stw r5, 0xc0(r30) -/* 80146D20 00143C80 90 01 00 14 */ stw r0, 0x14(r1) -/* 80146D24 00143C84 C0 3F 05 80 */ lfs f1, 0x580(r31) -/* 80146D28 00143C88 48 00 0B 39 */ bl KnockPlayer__12CPuddleSporeFR13CStateManagerf -/* 80146D2C 00143C8C C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) -/* 80146D30 00143C90 38 00 00 00 */ li r0, 0 -/* 80146D34 00143C94 C0 02 9C 8C */ lfs f0, lbl_805AB9AC@sda21(r2) -/* 80146D38 00143C98 D0 3F 05 6C */ stfs f1, 0x56c(r31) -/* 80146D3C 00143C9C D0 1F 05 98 */ stfs f0, 0x598(r31) -/* 80146D40 00143CA0 90 1F 05 CC */ stw r0, 0x5cc(r31) -/* 80146D44 00143CA4 48 00 00 D0 */ b lbl_80146E14 -lbl_80146D48: -/* 80146D48 00143CA8 C0 3F 05 80 */ lfs f1, 0x580(r31) -/* 80146D4C 00143CAC C0 02 9C 90 */ lfs f0, lbl_805AB9B0@sda21(r2) -/* 80146D50 00143CB0 EC 21 00 32 */ fmuls f1, f1, f0 -/* 80146D54 00143CB4 48 00 0B 0D */ bl KnockPlayer__12CPuddleSporeFR13CStateManagerf -/* 80146D58 00143CB8 80 1F 05 CC */ lwz r0, 0x5cc(r31) -/* 80146D5C 00143CBC 2C 00 00 01 */ cmpwi r0, 1 -/* 80146D60 00143CC0 41 82 00 90 */ beq lbl_80146DF0 -/* 80146D64 00143CC4 40 80 00 B0 */ bge lbl_80146E14 -/* 80146D68 00143CC8 2C 00 00 00 */ cmpwi r0, 0 -/* 80146D6C 00143CCC 40 80 00 08 */ bge lbl_80146D74 -/* 80146D70 00143CD0 48 00 00 A4 */ b lbl_80146E14 -lbl_80146D74: -/* 80146D74 00143CD4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80146D78 00143CD8 38 A0 00 00 */ li r5, 0 -/* 80146D7C 00143CDC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80146D80 00143CE0 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80146D84 00143CE4 3C 80 80 3E */ lis r4, lbl_803DAA20@ha -/* 80146D88 00143CE8 90 01 00 08 */ stw r0, 8(r1) -/* 80146D8C 00143CEC 38 04 AA 20 */ addi r0, r4, lbl_803DAA20@l -/* 80146D90 00143CF0 3B C3 00 04 */ addi r30, r3, 4 -/* 80146D94 00143CF4 90 A1 00 0C */ stw r5, 0xc(r1) -/* 80146D98 00143CF8 7F C3 F3 78 */ mr r3, r30 -/* 80146D9C 00143CFC 38 80 00 00 */ li r4, 0 -/* 80146DA0 00143D00 90 01 00 08 */ stw r0, 8(r1) -/* 80146DA4 00143D04 90 A1 00 10 */ stw r5, 0x10(r1) -/* 80146DA8 00143D08 4B FE A6 91 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80146DAC 00143D0C 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80146DB0 00143D10 3C 60 80 3E */ lis r3, lbl_803DAA20@ha -/* 80146DB4 00143D14 38 83 AA 20 */ addi r4, r3, lbl_803DAA20@l -/* 80146DB8 00143D18 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80146DBC 00143D1C 90 1E 00 BC */ stw r0, 0xbc(r30) -/* 80146DC0 00143D20 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80146DC4 00143D24 80 61 00 10 */ lwz r3, 0x10(r1) -/* 80146DC8 00143D28 90 81 00 08 */ stw r4, 8(r1) -/* 80146DCC 00143D2C 90 7E 00 C0 */ stw r3, 0xc0(r30) -/* 80146DD0 00143D30 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80146DD4 00143D34 90 01 00 08 */ stw r0, 8(r1) -/* 80146DD8 00143D38 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80146DDC 00143D3C 2C 00 00 01 */ cmpwi r0, 1 -/* 80146DE0 00143D40 40 82 00 34 */ bne lbl_80146E14 -/* 80146DE4 00143D44 38 00 00 01 */ li r0, 1 -/* 80146DE8 00143D48 90 1F 05 CC */ stw r0, 0x5cc(r31) -/* 80146DEC 00143D4C 48 00 00 28 */ b lbl_80146E14 -lbl_80146DF0: -/* 80146DF0 00143D50 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80146DF4 00143D54 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 80146DF8 00143D58 2C 00 00 01 */ cmpwi r0, 1 -/* 80146DFC 00143D5C 41 82 00 18 */ beq lbl_80146E14 -/* 80146E00 00143D60 38 00 00 01 */ li r0, 1 -/* 80146E04 00143D64 90 1F 05 CC */ stw r0, 0x5cc(r31) -/* 80146E08 00143D68 48 00 00 0C */ b lbl_80146E14 -lbl_80146E0C: -/* 80146E0C 00143D6C 38 00 00 00 */ li r0, 0 -/* 80146E10 00143D70 90 1F 05 C8 */ stw r0, 0x5c8(r31) -lbl_80146E14: -/* 80146E14 00143D74 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80146E18 00143D78 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80146E1C 00143D7C 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80146E20 00143D80 83 A1 00 24 */ lwz r29, 0x24(r1) -/* 80146E24 00143D84 7C 08 03 A6 */ mtlr r0 -/* 80146E28 00143D88 38 21 00 30 */ addi r1, r1, 0x30 -/* 80146E2C 00143D8C 4E 80 00 20 */ blr - -.global TurnAround__12CPuddleSporeFR13CStateManager9EStateMsgf -TurnAround__12CPuddleSporeFR13CStateManager9EStateMsgf: -/* 80146E30 00143D90 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80146E34 00143D94 7C 08 02 A6 */ mflr r0 -/* 80146E38 00143D98 2C 05 00 01 */ cmpwi r5, 1 -/* 80146E3C 00143D9C 90 01 00 34 */ stw r0, 0x34(r1) -/* 80146E40 00143DA0 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80146E44 00143DA4 41 82 00 60 */ beq lbl_80146EA4 -/* 80146E48 00143DA8 40 80 00 10 */ bge lbl_80146E58 -/* 80146E4C 00143DAC 2C 05 00 00 */ cmpwi r5, 0 -/* 80146E50 00143DB0 40 80 00 14 */ bge lbl_80146E64 -/* 80146E54 00143DB4 48 00 01 54 */ b lbl_80146FA8 -lbl_80146E58: -/* 80146E58 00143DB8 2C 05 00 03 */ cmpwi r5, 3 -/* 80146E5C 00143DBC 40 80 01 4C */ bge lbl_80146FA8 -/* 80146E60 00143DC0 48 00 01 38 */ b lbl_80146F98 -lbl_80146E64: -/* 80146E64 00143DC4 C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) -/* 80146E68 00143DC8 38 A0 00 00 */ li r5, 0 -/* 80146E6C 00143DCC C0 02 9C 94 */ lfs f0, lbl_805AB9B4@sda21(r2) -/* 80146E70 00143DD0 38 00 00 02 */ li r0, 2 -/* 80146E74 00143DD4 D0 23 05 68 */ stfs f1, 0x568(r3) -/* 80146E78 00143DD8 D0 23 05 6C */ stfs f1, 0x56c(r3) -/* 80146E7C 00143DDC 88 83 04 00 */ lbz r4, 0x400(r3) -/* 80146E80 00143DE0 50 A4 3E 30 */ rlwimi r4, r5, 7, 0x18, 0x18 -/* 80146E84 00143DE4 98 83 04 00 */ stb r4, 0x400(r3) -/* 80146E88 00143DE8 D0 03 05 98 */ stfs f0, 0x598(r3) -/* 80146E8C 00143DEC 90 03 05 C8 */ stw r0, 0x5c8(r3) -/* 80146E90 00143DF0 90 A3 05 CC */ stw r5, 0x5cc(r3) -/* 80146E94 00143DF4 88 03 06 14 */ lbz r0, 0x614(r3) -/* 80146E98 00143DF8 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 -/* 80146E9C 00143DFC 98 03 06 14 */ stb r0, 0x614(r3) -/* 80146EA0 00143E00 48 00 01 08 */ b lbl_80146FA8 -lbl_80146EA4: -/* 80146EA4 00143E04 80 03 05 CC */ lwz r0, 0x5cc(r3) -/* 80146EA8 00143E08 2C 00 00 01 */ cmpwi r0, 1 -/* 80146EAC 00143E0C 41 82 00 D0 */ beq lbl_80146F7C -/* 80146EB0 00143E10 40 80 00 F8 */ bge lbl_80146FA8 -/* 80146EB4 00143E14 2C 00 00 00 */ cmpwi r0, 0 -/* 80146EB8 00143E18 40 80 00 0C */ bge lbl_80146EC4 -/* 80146EBC 00143E1C 48 00 00 EC */ b lbl_80146FA8 -/* 80146EC0 00143E20 48 00 00 E8 */ b lbl_80146FA8 -lbl_80146EC4: -/* 80146EC4 00143E24 80 83 04 50 */ lwz r4, 0x450(r3) -/* 80146EC8 00143E28 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 80146ECC 00143E2C 2C 00 00 02 */ cmpwi r0, 2 -/* 80146ED0 00143E30 40 82 00 1C */ bne lbl_80146EEC -/* 80146ED4 00143E34 38 80 00 01 */ li r4, 1 -/* 80146ED8 00143E38 90 83 05 CC */ stw r4, 0x5cc(r3) -/* 80146EDC 00143E3C 88 03 06 14 */ lbz r0, 0x614(r3) -/* 80146EE0 00143E40 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80146EE4 00143E44 98 03 06 14 */ stb r0, 0x614(r3) -/* 80146EE8 00143E48 48 00 00 C0 */ b lbl_80146FA8 -lbl_80146EEC: -/* 80146EEC 00143E4C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80146EF0 00143E50 C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) -/* 80146EF4 00143E54 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80146EF8 00143E58 C0 22 9C 98 */ lfs f1, lbl_805AB9B8@sda21(r2) -/* 80146EFC 00143E5C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha -/* 80146F00 00143E60 90 01 00 08 */ stw r0, 8(r1) -/* 80146F04 00143E64 38 A3 AA 50 */ addi r5, r3, lbl_803DAA50@l -/* 80146F08 00143E68 38 60 00 03 */ li r3, 3 -/* 80146F0C 00143E6C 38 00 00 01 */ li r0, 1 -/* 80146F10 00143E70 3B E4 00 04 */ addi r31, r4, 4 -/* 80146F14 00143E74 90 61 00 0C */ stw r3, 0xc(r1) -/* 80146F18 00143E78 7F E3 FB 78 */ mr r3, r31 -/* 80146F1C 00143E7C 38 80 00 03 */ li r4, 3 -/* 80146F20 00143E80 90 A1 00 08 */ stw r5, 8(r1) -/* 80146F24 00143E84 D0 21 00 10 */ stfs f1, 0x10(r1) -/* 80146F28 00143E88 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80146F2C 00143E8C D0 01 00 18 */ stfs f0, 0x18(r1) -/* 80146F30 00143E90 90 01 00 1C */ stw r0, 0x1c(r1) -/* 80146F34 00143E94 4B FE A5 05 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80146F38 00143E98 80 01 00 0C */ lwz r0, 0xc(r1) -/* 80146F3C 00143E9C 3C 60 80 3E */ lis r3, lbl_803DAA50@ha -/* 80146F40 00143EA0 38 83 AA 50 */ addi r4, r3, lbl_803DAA50@l -/* 80146F44 00143EA4 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80146F48 00143EA8 90 1F 00 E0 */ stw r0, 0xe0(r31) -/* 80146F4C 00143EAC 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80146F50 00143EB0 80 A1 00 10 */ lwz r5, 0x10(r1) -/* 80146F54 00143EB4 80 61 00 14 */ lwz r3, 0x14(r1) -/* 80146F58 00143EB8 90 BF 00 E4 */ stw r5, 0xe4(r31) -/* 80146F5C 00143EBC 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 80146F60 00143EC0 90 7F 00 E8 */ stw r3, 0xe8(r31) -/* 80146F64 00143EC4 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 80146F68 00143EC8 90 BF 00 EC */ stw r5, 0xec(r31) -/* 80146F6C 00143ECC 90 81 00 08 */ stw r4, 8(r1) -/* 80146F70 00143ED0 90 7F 00 F0 */ stw r3, 0xf0(r31) -/* 80146F74 00143ED4 90 01 00 08 */ stw r0, 8(r1) -/* 80146F78 00143ED8 48 00 00 30 */ b lbl_80146FA8 -lbl_80146F7C: -/* 80146F7C 00143EDC 80 83 04 50 */ lwz r4, 0x450(r3) -/* 80146F80 00143EE0 80 04 02 B8 */ lwz r0, 0x2b8(r4) -/* 80146F84 00143EE4 2C 00 00 02 */ cmpwi r0, 2 -/* 80146F88 00143EE8 41 82 00 20 */ beq lbl_80146FA8 -/* 80146F8C 00143EEC 38 00 00 02 */ li r0, 2 -/* 80146F90 00143EF0 90 03 05 CC */ stw r0, 0x5cc(r3) -/* 80146F94 00143EF4 48 00 00 14 */ b lbl_80146FA8 -lbl_80146F98: -/* 80146F98 00143EF8 88 03 06 14 */ lbz r0, 0x614(r3) -/* 80146F9C 00143EFC 38 80 00 00 */ li r4, 0 -/* 80146FA0 00143F00 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80146FA4 00143F04 98 03 06 14 */ stb r0, 0x614(r3) -lbl_80146FA8: -/* 80146FA8 00143F08 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80146FAC 00143F0C 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80146FB0 00143F10 7C 08 03 A6 */ mtlr r0 -/* 80146FB4 00143F14 38 21 00 30 */ addi r1, r1, 0x30 -/* 80146FB8 00143F18 4E 80 00 20 */ blr - -.global Run__12CPuddleSporeFR13CStateManager9EStateMsgf -Run__12CPuddleSporeFR13CStateManager9EStateMsgf: -/* 80146FBC 00143F1C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80146FC0 00143F20 7C 08 02 A6 */ mflr r0 -/* 80146FC4 00143F24 2C 05 00 01 */ cmpwi r5, 1 -/* 80146FC8 00143F28 90 01 00 34 */ stw r0, 0x34(r1) -/* 80146FCC 00143F2C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80146FD0 00143F30 7C 7F 1B 78 */ mr r31, r3 -/* 80146FD4 00143F34 41 82 00 54 */ beq lbl_80147028 -/* 80146FD8 00143F38 40 80 00 10 */ bge lbl_80146FE8 -/* 80146FDC 00143F3C 2C 05 00 00 */ cmpwi r5, 0 -/* 80146FE0 00143F40 40 80 00 14 */ bge lbl_80146FF4 -/* 80146FE4 00143F44 48 00 01 60 */ b lbl_80147144 -lbl_80146FE8: -/* 80146FE8 00143F48 2C 05 00 03 */ cmpwi r5, 3 -/* 80146FEC 00143F4C 40 80 01 58 */ bge lbl_80147144 -/* 80146FF0 00143F50 48 00 01 00 */ b lbl_801470F0 -lbl_80146FF4: -/* 80146FF4 00143F54 38 00 00 01 */ li r0, 1 -/* 80146FF8 00143F58 38 60 00 00 */ li r3, 0 -/* 80146FFC 00143F5C 90 1F 05 C8 */ stw r0, 0x5c8(r31) -/* 80147000 00143F60 C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) -/* 80147004 00143F64 90 7F 05 CC */ stw r3, 0x5cc(r31) -/* 80147008 00143F68 C0 02 9C 9C */ lfs f0, lbl_805AB9BC@sda21(r2) -/* 8014700C 00143F6C D0 3F 05 68 */ stfs f1, 0x568(r31) -/* 80147010 00143F70 88 1F 06 14 */ lbz r0, 0x614(r31) -/* 80147014 00143F74 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80147018 00143F78 98 1F 06 14 */ stb r0, 0x614(r31) -/* 8014701C 00143F7C D0 3F 05 98 */ stfs f1, 0x598(r31) -/* 80147020 00143F80 D0 1F 05 9C */ stfs f0, 0x59c(r31) -/* 80147024 00143F84 48 00 01 20 */ b lbl_80147144 -lbl_80147028: -/* 80147028 00143F88 80 1F 05 CC */ lwz r0, 0x5cc(r31) -/* 8014702C 00143F8C 2C 00 00 01 */ cmpwi r0, 1 -/* 80147030 00143F90 41 82 00 A4 */ beq lbl_801470D4 -/* 80147034 00143F94 40 80 01 10 */ bge lbl_80147144 -/* 80147038 00143F98 2C 00 00 00 */ cmpwi r0, 0 -/* 8014703C 00143F9C 40 80 00 0C */ bge lbl_80147048 -/* 80147040 00143FA0 48 00 01 04 */ b lbl_80147144 -/* 80147044 00143FA4 48 00 01 00 */ b lbl_80147144 -lbl_80147048: -/* 80147048 00143FA8 80 DF 04 50 */ lwz r6, 0x450(r31) -/* 8014704C 00143FAC 80 06 02 B8 */ lwz r0, 0x2b8(r6) -/* 80147050 00143FB0 2C 00 00 0A */ cmpwi r0, 0xa -/* 80147054 00143FB4 40 82 00 1C */ bne lbl_80147070 -/* 80147058 00143FB8 38 60 00 01 */ li r3, 1 -/* 8014705C 00143FBC 90 7F 05 CC */ stw r3, 0x5cc(r31) -/* 80147060 00143FC0 88 1F 06 14 */ lbz r0, 0x614(r31) -/* 80147064 00143FC4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80147068 00143FC8 98 1F 06 14 */ stb r0, 0x614(r31) -/* 8014706C 00143FCC 48 00 00 D8 */ b lbl_80147144 -lbl_80147070: -/* 80147070 00143FD0 3C 80 80 3E */ lis r4, lbl_803DAA68@ha -/* 80147074 00143FD4 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 80147078 00143FD8 38 04 AA 68 */ addi r0, r4, lbl_803DAA68@l -/* 8014707C 00143FDC 38 80 00 08 */ li r4, 8 -/* 80147080 00143FE0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80147084 00143FE4 38 A3 AA 2C */ addi r5, r3, lbl_803DAA2C@l -/* 80147088 00143FE8 38 00 00 00 */ li r0, 0 -/* 8014708C 00143FEC 3B E6 00 04 */ addi r31, r6, 4 -/* 80147090 00143FF0 90 81 00 14 */ stw r4, 0x14(r1) -/* 80147094 00143FF4 7F E3 FB 78 */ mr r3, r31 -/* 80147098 00143FF8 38 80 00 08 */ li r4, 8 -/* 8014709C 00143FFC 90 A1 00 10 */ stw r5, 0x10(r1) -/* 801470A0 00144000 90 01 00 18 */ stw r0, 0x18(r1) -/* 801470A4 00144004 4B FE A3 95 */ bl DeliverCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801470A8 00144008 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801470AC 0014400C 3C 60 80 3E */ lis r3, lbl_803DAA2C@ha -/* 801470B0 00144010 38 83 AA 2C */ addi r4, r3, lbl_803DAA2C@l -/* 801470B4 00144014 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801470B8 00144018 90 1F 01 58 */ stw r0, 0x158(r31) -/* 801470BC 0014401C 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 801470C0 00144020 80 61 00 18 */ lwz r3, 0x18(r1) -/* 801470C4 00144024 90 81 00 10 */ stw r4, 0x10(r1) -/* 801470C8 00144028 90 7F 01 5C */ stw r3, 0x15c(r31) -/* 801470CC 0014402C 90 01 00 10 */ stw r0, 0x10(r1) -/* 801470D0 00144030 48 00 00 74 */ b lbl_80147144 -lbl_801470D4: -/* 801470D4 00144034 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 801470D8 00144038 80 03 02 B8 */ lwz r0, 0x2b8(r3) -/* 801470DC 0014403C 2C 00 00 0A */ cmpwi r0, 0xa -/* 801470E0 00144040 41 82 00 64 */ beq lbl_80147144 -/* 801470E4 00144044 38 00 00 02 */ li r0, 2 -/* 801470E8 00144048 90 1F 05 CC */ stw r0, 0x5cc(r31) -/* 801470EC 0014404C 48 00 00 58 */ b lbl_80147144 -lbl_801470F0: -/* 801470F0 00144050 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 801470F4 00144054 38 00 00 0A */ li r0, 0xa -/* 801470F8 00144058 38 63 AA 68 */ addi r3, r3, lbl_803DAA68@l -/* 801470FC 0014405C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80147100 00144060 38 81 00 08 */ addi r4, r1, 8 -/* 80147104 00144064 90 61 00 08 */ stw r3, 8(r1) -/* 80147108 00144068 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 8014710C 0014406C 38 63 00 04 */ addi r3, r3, 4 -/* 80147110 00144070 4B FE A6 A9 */ bl DeliverCmd__16CBodyStateCmdMgrFRC13CBodyStateCmd -/* 80147114 00144074 34 01 00 08 */ addic. r0, r1, 8 -/* 80147118 00144078 41 82 00 10 */ beq lbl_80147128 -/* 8014711C 0014407C 3C 60 80 3E */ lis r3, lbl_803DAA68@ha -/* 80147120 00144080 38 03 AA 68 */ addi r0, r3, lbl_803DAA68@l -/* 80147124 00144084 90 01 00 08 */ stw r0, 8(r1) -lbl_80147128: -/* 80147128 00144088 38 60 00 00 */ li r3, 0 -/* 8014712C 0014408C C0 02 9C 98 */ lfs f0, lbl_805AB9B8@sda21(r2) -/* 80147130 00144090 90 7F 05 C8 */ stw r3, 0x5c8(r31) -/* 80147134 00144094 D0 1F 05 9C */ stfs f0, 0x59c(r31) -/* 80147138 00144098 88 1F 06 14 */ lbz r0, 0x614(r31) -/* 8014713C 0014409C 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 80147140 001440A0 98 1F 06 14 */ stb r0, 0x614(r31) -lbl_80147144: -/* 80147144 001440A4 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80147148 001440A8 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 8014714C 001440AC 7C 08 03 A6 */ mtlr r0 -/* 80147150 001440B0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80147154 001440B4 4E 80 00 20 */ blr - -.global Active__12CPuddleSporeFR13CStateManager9EStateMsgf -Active__12CPuddleSporeFR13CStateManager9EStateMsgf: -/* 80147158 001440B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8014715C 001440BC 7C 08 02 A6 */ mflr r0 -/* 80147160 001440C0 2C 05 00 01 */ cmpwi r5, 1 -/* 80147164 001440C4 90 01 00 14 */ stw r0, 0x14(r1) -/* 80147168 001440C8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8014716C 001440CC 7C 7F 1B 78 */ mr r31, r3 -/* 80147170 001440D0 41 82 00 78 */ beq lbl_801471E8 -/* 80147174 001440D4 40 80 00 10 */ bge lbl_80147184 -/* 80147178 001440D8 2C 05 00 00 */ cmpwi r5, 0 -/* 8014717C 001440DC 40 80 00 14 */ bge lbl_80147190 -/* 80147180 001440E0 48 00 00 68 */ b lbl_801471E8 -lbl_80147184: -/* 80147184 001440E4 2C 05 00 03 */ cmpwi r5, 3 -/* 80147188 001440E8 40 80 00 60 */ bge lbl_801471E8 -/* 8014718C 001440EC 48 00 00 40 */ b lbl_801471CC -lbl_80147190: -/* 80147190 001440F0 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80147194 001440F4 38 80 00 02 */ li r4, 2 -/* 80147198 001440F8 4B FF 38 41 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 8014719C 001440FC C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) -/* 801471A0 00144100 38 60 00 01 */ li r3, 1 -/* 801471A4 00144104 D0 1F 05 68 */ stfs f0, 0x568(r31) -/* 801471A8 00144108 D0 1F 05 6C */ stfs f0, 0x56c(r31) -/* 801471AC 0014410C D0 1F 05 98 */ stfs f0, 0x598(r31) -/* 801471B0 00144110 88 1F 06 14 */ lbz r0, 0x614(r31) -/* 801471B4 00144114 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 801471B8 00144118 98 1F 06 14 */ stb r0, 0x614(r31) -/* 801471BC 0014411C 88 1F 06 14 */ lbz r0, 0x614(r31) -/* 801471C0 00144120 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 801471C4 00144124 98 1F 06 14 */ stb r0, 0x614(r31) -/* 801471C8 00144128 48 00 00 20 */ b lbl_801471E8 -lbl_801471CC: -/* 801471CC 0014412C 88 1F 06 14 */ lbz r0, 0x614(r31) -/* 801471D0 00144130 38 60 00 00 */ li r3, 0 -/* 801471D4 00144134 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 -/* 801471D8 00144138 98 1F 06 14 */ stb r0, 0x614(r31) -/* 801471DC 0014413C 88 1F 06 14 */ lbz r0, 0x614(r31) -/* 801471E0 00144140 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 -/* 801471E4 00144144 98 1F 06 14 */ stb r0, 0x614(r31) -lbl_801471E8: -/* 801471E8 00144148 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801471EC 0014414C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801471F0 00144150 7C 08 03 A6 */ mtlr r0 -/* 801471F4 00144154 38 21 00 10 */ addi r1, r1, 0x10 -/* 801471F8 00144158 4E 80 00 20 */ blr - -.global InActive__12CPuddleSporeFR13CStateManager9EStateMsgf -InActive__12CPuddleSporeFR13CStateManager9EStateMsgf: -/* 801471FC 0014415C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80147200 00144160 7C 08 02 A6 */ mflr r0 -/* 80147204 00144164 2C 05 00 01 */ cmpwi r5, 1 -/* 80147208 00144168 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014720C 0014416C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80147210 00144170 7C 7F 1B 78 */ mr r31, r3 -/* 80147214 00144174 41 82 00 34 */ beq lbl_80147248 -/* 80147218 00144178 40 80 00 30 */ bge lbl_80147248 -/* 8014721C 0014417C 2C 05 00 00 */ cmpwi r5, 0 -/* 80147220 00144180 40 80 00 0C */ bge lbl_8014722C -/* 80147224 00144184 48 00 00 24 */ b lbl_80147248 -/* 80147228 00144188 48 00 00 20 */ b lbl_80147248 -lbl_8014722C: -/* 8014722C 0014418C 80 7F 04 50 */ lwz r3, 0x450(r31) -/* 80147230 00144190 38 80 00 01 */ li r4, 1 -/* 80147234 00144194 4B FF 37 A5 */ bl SetLocomotionType__15CBodyControllerFQ23pas15ELocomotionType -/* 80147238 00144198 C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) -/* 8014723C 0014419C C0 02 9C 8C */ lfs f0, lbl_805AB9AC@sda21(r2) -/* 80147240 001441A0 D0 3F 05 6C */ stfs f1, 0x56c(r31) -/* 80147244 001441A4 D0 1F 05 98 */ stfs f0, 0x598(r31) -lbl_80147248: -/* 80147248 001441A8 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8014724C 001441AC 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80147250 001441B0 7C 08 03 A6 */ mtlr r0 -/* 80147254 001441B4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80147258 001441B8 4E 80 00 20 */ blr - -.global AnimOver__12CPuddleSporeFR13CStateManagerf -AnimOver__12CPuddleSporeFR13CStateManagerf: -/* 8014725C 001441BC 80 03 05 CC */ lwz r0, 0x5cc(r3) -/* 80147260 001441C0 20 00 00 02 */ subfic r0, r0, 2 -/* 80147264 001441C4 7C 00 00 34 */ cntlzw r0, r0 -/* 80147268 001441C8 54 03 D9 7E */ srwi r3, r0, 5 -/* 8014726C 001441CC 4E 80 00 20 */ blr - -.global ShouldTurn__12CPuddleSporeFR13CStateManagerf -ShouldTurn__12CPuddleSporeFR13CStateManagerf: -/* 80147270 001441D0 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80147274 001441D4 7C 08 02 A6 */ mflr r0 -/* 80147278 001441D8 90 01 00 44 */ stw r0, 0x44(r1) -/* 8014727C 001441DC 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80147280 001441E0 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80147284 001441E4 7C 7E 1B 78 */ mr r30, r3 -/* 80147288 001441E8 38 61 00 20 */ addi r3, r1, 0x20 -/* 8014728C 001441EC 83 E4 08 4C */ lwz r31, 0x84c(r4) -/* 80147290 001441F0 7F C4 F3 78 */ mr r4, r30 -/* 80147294 001441F4 4B FD 36 99 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80147298 001441F8 7F E4 FB 78 */ mr r4, r31 -/* 8014729C 001441FC 38 61 00 08 */ addi r3, r1, 8 -/* 801472A0 00144200 4B FD 36 8D */ bl GetBoundingBox__13CPhysicsActorCFv -/* 801472A4 00144204 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 801472A8 00144208 C0 21 00 1C */ lfs f1, 0x1c(r1) -/* 801472AC 0014420C C0 02 9C A0 */ lfs f0, lbl_805AB9C0@sda21(r2) -/* 801472B0 00144210 EC 22 08 2A */ fadds f1, f2, f1 -/* 801472B4 00144214 C0 41 00 34 */ lfs f2, 0x34(r1) -/* 801472B8 00144218 EC 01 00 32 */ fmuls f0, f1, f0 -/* 801472BC 0014421C FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801472C0 00144220 40 80 00 68 */ bge lbl_80147328 -/* 801472C4 00144224 C0 21 00 2C */ lfs f1, 0x2c(r1) -/* 801472C8 00144228 C0 01 00 08 */ lfs f0, 8(r1) -/* 801472CC 0014422C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801472D0 00144230 4C 41 13 82 */ cror 2, 1, 2 -/* 801472D4 00144234 40 82 00 54 */ bne lbl_80147328 -/* 801472D8 00144238 C0 21 00 30 */ lfs f1, 0x30(r1) -/* 801472DC 0014423C C0 01 00 0C */ lfs f0, 0xc(r1) -/* 801472E0 00144240 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801472E4 00144244 4C 41 13 82 */ cror 2, 1, 2 -/* 801472E8 00144248 40 82 00 40 */ bne lbl_80147328 -/* 801472EC 0014424C C0 21 00 14 */ lfs f1, 0x14(r1) -/* 801472F0 00144250 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 801472F4 00144254 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801472F8 00144258 4C 41 13 82 */ cror 2, 1, 2 -/* 801472FC 0014425C 40 82 00 2C */ bne lbl_80147328 -/* 80147300 00144260 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 80147304 00144264 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80147308 00144268 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8014730C 0014426C 4C 41 13 82 */ cror 2, 1, 2 -/* 80147310 00144270 40 82 00 18 */ bne lbl_80147328 -/* 80147314 00144274 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80147318 00144278 2C 00 00 01 */ cmpwi r0, 1 -/* 8014731C 0014427C 40 82 00 0C */ bne lbl_80147328 -/* 80147320 00144280 38 60 00 01 */ li r3, 1 -/* 80147324 00144284 48 00 00 1C */ b lbl_80147340 -lbl_80147328: -/* 80147328 00144288 C0 3E 05 68 */ lfs f1, 0x568(r30) -/* 8014732C 0014428C C0 1E 05 78 */ lfs f0, 0x578(r30) -/* 80147330 00144290 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80147334 00144294 4C 41 13 82 */ cror 2, 1, 2 -/* 80147338 00144298 7C 00 00 26 */ mfcr r0 -/* 8014733C 0014429C 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -lbl_80147340: -/* 80147340 001442A0 80 01 00 44 */ lwz r0, 0x44(r1) -/* 80147344 001442A4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80147348 001442A8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8014734C 001442AC 7C 08 03 A6 */ mtlr r0 -/* 80147350 001442B0 38 21 00 40 */ addi r1, r1, 0x40 -/* 80147354 001442B4 4E 80 00 20 */ blr - -.global ShouldAttack__12CPuddleSporeFR13CStateManagerf -ShouldAttack__12CPuddleSporeFR13CStateManagerf: -/* 80147358 001442B8 C0 23 05 68 */ lfs f1, 0x568(r3) -/* 8014735C 001442BC C0 03 05 74 */ lfs f0, 0x574(r3) -/* 80147360 001442C0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80147364 001442C4 4C 41 13 82 */ cror 2, 1, 2 -/* 80147368 001442C8 7C 00 00 26 */ mfcr r0 -/* 8014736C 001442CC 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 80147370 001442D0 4E 80 00 20 */ blr - -.global InAttackPosition__12CPuddleSporeFR13CStateManagerf -InAttackPosition__12CPuddleSporeFR13CStateManagerf: -/* 80147374 001442D4 C0 23 05 68 */ lfs f1, 0x568(r3) -/* 80147378 001442D8 C0 03 05 70 */ lfs f0, 0x570(r3) -/* 8014737C 001442DC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80147380 001442E0 4C 41 13 82 */ cror 2, 1, 2 -/* 80147384 001442E4 7C 00 00 26 */ mfcr r0 -/* 80147388 001442E8 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f -/* 8014738C 001442EC 4E 80 00 20 */ blr - -.global UpdateBoundingState__12CPuddleSporeFRC6CAABoxR13CStateManager -UpdateBoundingState__12CPuddleSporeFRC6CAABoxR13CStateManager: -/* 80147390 001442F0 94 21 FE 30 */ stwu r1, -0x1d0(r1) -/* 80147394 001442F4 7C 08 02 A6 */ mflr r0 -/* 80147398 001442F8 90 01 01 D4 */ stw r0, 0x1d4(r1) -/* 8014739C 001442FC DB E1 01 C0 */ stfd f31, 0x1c0(r1) -/* 801473A0 00144300 F3 E1 01 C8 */ psq_st f31, 456(r1), 0, qr0 -/* 801473A4 00144304 DB C1 01 B0 */ stfd f30, 0x1b0(r1) -/* 801473A8 00144308 F3 C1 01 B8 */ psq_st f30, 440(r1), 0, qr0 -/* 801473AC 0014430C 93 E1 01 AC */ stw r31, 0x1ac(r1) -/* 801473B0 00144310 93 C1 01 A8 */ stw r30, 0x1a8(r1) -/* 801473B4 00144314 93 A1 01 A4 */ stw r29, 0x1a4(r1) -/* 801473B8 00144318 93 81 01 A0 */ stw r28, 0x1a0(r1) -/* 801473BC 0014431C FF E0 08 90 */ fmr f31, f1 -/* 801473C0 00144320 7C 7D 1B 78 */ mr r29, r3 -/* 801473C4 00144324 7C 9C 23 78 */ mr r28, r4 -/* 801473C8 00144328 7C BE 2B 78 */ mr r30, r5 -/* 801473CC 0014432C 4B FD 32 8D */ bl SetBoundingBox__13CPhysicsActorFRC6CAABox -/* 801473D0 00144330 38 61 00 90 */ addi r3, r1, 0x90 -/* 801473D4 00144334 38 9D 00 68 */ addi r4, r29, 0x68 -/* 801473D8 00144338 48 18 84 DD */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 801473DC 0014433C C0 DC 00 00 */ lfs f6, 0(r28) -/* 801473E0 00144340 3C 60 80 3F */ lis r3, lbl_803ECAD0@ha -/* 801473E4 00144344 39 03 CA D0 */ addi r8, r3, lbl_803ECAD0@l -/* 801473E8 00144348 C0 BC 00 04 */ lfs f5, 4(r28) -/* 801473EC 0014434C C0 9C 00 08 */ lfs f4, 8(r28) -/* 801473F0 00144350 3C A0 80 3E */ lis r5, lbl_803D97E4@ha -/* 801473F4 00144354 C0 7C 00 0C */ lfs f3, 0xc(r28) -/* 801473F8 00144358 3C 60 80 5A */ lis r3, skZero3f@ha -/* 801473FC 0014435C C0 5C 00 10 */ lfs f2, 0x10(r28) -/* 80147400 00144360 38 83 66 A0 */ addi r4, r3, skZero3f@l -/* 80147404 00144364 C0 3C 00 14 */ lfs f1, 0x14(r28) -/* 80147408 00144368 38 05 97 E4 */ addi r0, r5, lbl_803D97E4@l -/* 8014740C 0014436C 91 01 00 90 */ stw r8, 0x90(r1) -/* 80147410 00144370 7C 85 23 78 */ mr r5, r4 -/* 80147414 00144374 C8 01 00 98 */ lfd f0, 0x98(r1) -/* 80147418 00144378 38 61 00 74 */ addi r3, r1, 0x74 -/* 8014741C 0014437C D0 C1 00 A0 */ stfs f6, 0xa0(r1) -/* 80147420 00144380 D0 A1 00 A4 */ stfs f5, 0xa4(r1) -/* 80147424 00144384 D0 81 00 A8 */ stfs f4, 0xa8(r1) -/* 80147428 00144388 D0 61 00 AC */ stfs f3, 0xac(r1) -/* 8014742C 0014438C D0 41 00 B0 */ stfs f2, 0xb0(r1) -/* 80147430 00144390 D0 21 00 B4 */ stfs f1, 0xb4(r1) -/* 80147434 00144394 D8 1D 05 A8 */ stfd f0, 0x5a8(r29) -/* 80147438 00144398 80 E1 00 A0 */ lwz r7, 0xa0(r1) -/* 8014743C 0014439C 80 C1 00 A4 */ lwz r6, 0xa4(r1) -/* 80147440 001443A0 90 FD 05 B0 */ stw r7, 0x5b0(r29) -/* 80147444 001443A4 90 DD 05 B4 */ stw r6, 0x5b4(r29) -/* 80147448 001443A8 80 E1 00 A8 */ lwz r7, 0xa8(r1) -/* 8014744C 001443AC 80 C1 00 AC */ lwz r6, 0xac(r1) -/* 80147450 001443B0 90 FD 05 B8 */ stw r7, 0x5b8(r29) -/* 80147454 001443B4 90 DD 05 BC */ stw r6, 0x5bc(r29) -/* 80147458 001443B8 80 E1 00 B0 */ lwz r7, 0xb0(r1) -/* 8014745C 001443BC 80 C1 00 B4 */ lwz r6, 0xb4(r1) -/* 80147460 001443C0 90 FD 05 C0 */ stw r7, 0x5c0(r29) -/* 80147464 001443C4 90 DD 05 C4 */ stw r6, 0x5c4(r29) -/* 80147468 001443C8 91 01 00 90 */ stw r8, 0x90(r1) -/* 8014746C 001443CC 90 01 00 90 */ stw r0, 0x90(r1) -/* 80147470 001443D0 83 FE 08 4C */ lwz r31, 0x84c(r30) -/* 80147474 001443D4 48 1F 10 95 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80147478 001443D8 7F A4 EB 78 */ mr r4, r29 -/* 8014747C 001443DC 38 61 00 5C */ addi r3, r1, 0x5c -/* 80147480 001443E0 4B FD 34 AD */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80147484 001443E4 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 80147488 001443E8 3B 81 00 5C */ addi r28, r1, 0x5c -/* 8014748C 001443EC 2C 00 00 01 */ cmpwi r0, 1 -/* 80147490 001443F0 40 82 00 A0 */ bne lbl_80147530 -/* 80147494 001443F4 80 7F 07 68 */ lwz r3, 0x768(r31) -/* 80147498 001443F8 4B FB 19 6D */ bl GetBallRadius__10CMorphBallCFv -/* 8014749C 001443FC C0 1F 00 60 */ lfs f0, 0x60(r31) -/* 801474A0 00144400 FD 00 08 50 */ fneg f8, f1 -/* 801474A4 00144404 C0 7F 00 40 */ lfs f3, 0x40(r31) -/* 801474A8 00144408 38 61 00 44 */ addi r3, r1, 0x44 -/* 801474AC 0014440C EC A0 08 2A */ fadds f5, f0, f1 -/* 801474B0 00144410 C0 42 9C 88 */ lfs f2, lbl_805AB9A8@sda21(r2) -/* 801474B4 00144414 C0 1F 00 50 */ lfs f0, 0x50(r31) -/* 801474B8 00144418 EC E3 10 2A */ fadds f7, f3, f2 -/* 801474BC 0014441C 38 81 00 20 */ addi r4, r1, 0x20 -/* 801474C0 00144420 EC C0 10 2A */ fadds f6, f0, f2 -/* 801474C4 00144424 EC 05 08 2A */ fadds f0, f5, f1 -/* 801474C8 00144428 38 A1 00 14 */ addi r5, r1, 0x14 -/* 801474CC 0014442C EC 87 08 2A */ fadds f4, f7, f1 -/* 801474D0 00144430 EC 66 08 2A */ fadds f3, f6, f1 -/* 801474D4 00144434 EC 47 40 2A */ fadds f2, f7, f8 -/* 801474D8 00144438 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 801474DC 0014443C EC 26 40 2A */ fadds f1, f6, f8 -/* 801474E0 00144440 EC 05 40 2A */ fadds f0, f5, f8 -/* 801474E4 00144444 D0 81 00 14 */ stfs f4, 0x14(r1) -/* 801474E8 00144448 D0 61 00 18 */ stfs f3, 0x18(r1) -/* 801474EC 0014444C D0 41 00 20 */ stfs f2, 0x20(r1) -/* 801474F0 00144450 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 801474F4 00144454 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 801474F8 00144458 48 1F 10 11 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 801474FC 0014445C 80 E1 00 44 */ lwz r7, 0x44(r1) -/* 80147500 00144460 80 C1 00 48 */ lwz r6, 0x48(r1) -/* 80147504 00144464 80 A1 00 4C */ lwz r5, 0x4c(r1) -/* 80147508 00144468 80 81 00 50 */ lwz r4, 0x50(r1) -/* 8014750C 0014446C 80 61 00 54 */ lwz r3, 0x54(r1) -/* 80147510 00144470 80 01 00 58 */ lwz r0, 0x58(r1) -/* 80147514 00144474 90 E1 00 74 */ stw r7, 0x74(r1) -/* 80147518 00144478 90 C1 00 78 */ stw r6, 0x78(r1) -/* 8014751C 0014447C 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 80147520 00144480 90 81 00 80 */ stw r4, 0x80(r1) -/* 80147524 00144484 90 61 00 84 */ stw r3, 0x84(r1) -/* 80147528 00144488 90 01 00 88 */ stw r0, 0x88(r1) -/* 8014752C 0014448C 48 00 00 40 */ b lbl_8014756C -lbl_80147530: -/* 80147530 00144490 7F E4 FB 78 */ mr r4, r31 -/* 80147534 00144494 38 61 00 2C */ addi r3, r1, 0x2c -/* 80147538 00144498 4B FD 33 F5 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 8014753C 0014449C 80 E1 00 2C */ lwz r7, 0x2c(r1) -/* 80147540 001444A0 80 C1 00 30 */ lwz r6, 0x30(r1) -/* 80147544 001444A4 80 A1 00 34 */ lwz r5, 0x34(r1) -/* 80147548 001444A8 80 81 00 38 */ lwz r4, 0x38(r1) -/* 8014754C 001444AC 80 61 00 3C */ lwz r3, 0x3c(r1) -/* 80147550 001444B0 80 01 00 40 */ lwz r0, 0x40(r1) -/* 80147554 001444B4 90 E1 00 74 */ stw r7, 0x74(r1) -/* 80147558 001444B8 90 C1 00 78 */ stw r6, 0x78(r1) -/* 8014755C 001444BC 90 A1 00 7C */ stw r5, 0x7c(r1) -/* 80147560 001444C0 90 81 00 80 */ stw r4, 0x80(r1) -/* 80147564 001444C4 90 61 00 84 */ stw r3, 0x84(r1) -/* 80147568 001444C8 90 01 00 88 */ stw r0, 0x88(r1) -lbl_8014756C: -/* 8014756C 001444CC 7F 83 E3 78 */ mr r3, r28 -/* 80147570 001444D0 38 81 00 74 */ addi r4, r1, 0x74 -/* 80147574 001444D4 48 1F 06 11 */ bl DoBoundsOverlap__6CAABoxCFRC6CAABox -/* 80147578 001444D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8014757C 001444DC 41 82 01 3C */ beq lbl_801476B8 -/* 80147580 001444E0 80 1D 05 C8 */ lwz r0, 0x5c8(r29) -/* 80147584 001444E4 2C 00 00 02 */ cmpwi r0, 2 -/* 80147588 001444E8 40 82 00 0C */ bne lbl_80147594 -/* 8014758C 001444EC C0 42 9C A4 */ lfs f2, lbl_805AB9C4@sda21(r2) -/* 80147590 001444F0 48 00 00 08 */ b lbl_80147598 -lbl_80147594: -/* 80147594 001444F4 C0 42 9C A8 */ lfs f2, lbl_805AB9C8@sda21(r2) -lbl_80147598: -/* 80147598 001444F8 C0 61 00 70 */ lfs f3, 0x70(r1) -/* 8014759C 001444FC C0 21 00 7C */ lfs f1, 0x7c(r1) -/* 801475A0 00144500 C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) -/* 801475A4 00144504 EC 23 08 28 */ fsubs f1, f3, f1 -/* 801475A8 00144508 EF C2 08 2A */ fadds f30, f2, f1 -/* 801475AC 0014450C FC 1E 00 40 */ fcmpo cr0, f30, f0 -/* 801475B0 00144510 40 81 01 08 */ ble lbl_801476B8 -/* 801475B4 00144514 C0 01 00 88 */ lfs f0, 0x88(r1) -/* 801475B8 00144518 FC 03 00 40 */ fcmpo cr0, f3, f0 -/* 801475BC 0014451C 40 80 00 FC */ bge lbl_801476B8 -/* 801475C0 00144520 80 7F 00 68 */ lwz r3, 0x68(r31) -/* 801475C4 00144524 38 00 00 20 */ li r0, 0x20 -/* 801475C8 00144528 80 9F 00 6C */ lwz r4, 0x6c(r31) -/* 801475CC 0014452C 3B A0 00 00 */ li r29, 0 -/* 801475D0 00144530 7C 60 00 38 */ and r0, r3, r0 -/* 801475D4 00144534 7C 83 E8 38 */ and r3, r4, r29 -/* 801475D8 00144538 7C 63 EA 78 */ xor r3, r3, r29 -/* 801475DC 0014453C 7C 00 EA 78 */ xor r0, r0, r29 -/* 801475E0 00144540 7C 60 03 79 */ or. r0, r3, r0 -/* 801475E4 00144544 41 82 00 08 */ beq lbl_801475EC -/* 801475E8 00144548 3B A0 00 01 */ li r29, 1 -lbl_801475EC: -/* 801475EC 0014454C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 801475F0 00144550 41 82 00 14 */ beq lbl_80147604 -/* 801475F4 00144554 7F E3 FB 78 */ mr r3, r31 -/* 801475F8 00144558 7F C5 F3 78 */ mr r5, r30 -/* 801475FC 0014455C 38 80 00 25 */ li r4, 0x25 -/* 80147600 00144560 4B F0 C9 81 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_80147604: -/* 80147604 00144564 7F E3 FB 78 */ mr r3, r31 -/* 80147608 00144568 7F C5 F3 78 */ mr r5, r30 -/* 8014760C 0014456C 38 80 00 20 */ li r4, 0x20 -/* 80147610 00144570 4B F0 C9 71 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80147614 00144574 7F E4 FB 78 */ mr r4, r31 -/* 80147618 00144578 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 8014761C 0014457C 4B FD 49 D1 */ bl GetPhysicsState__13CPhysicsActorCFv -/* 80147620 00144580 38 61 01 28 */ addi r3, r1, 0x128 -/* 80147624 00144584 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80147628 00144588 4B F6 BE 99 */ bl __ct__13CPhysicsStateFRC13CPhysicsState -/* 8014762C 0014458C C0 42 9C 88 */ lfs f2, lbl_805AB9A8@sda21(r2) -/* 80147630 00144590 FC 20 F8 90 */ fmr f1, f31 -/* 80147634 00144594 C0 02 9C 98 */ lfs f0, lbl_805AB9B8@sda21(r2) -/* 80147638 00144598 7F E3 FB 78 */ mr r3, r31 -/* 8014763C 0014459C EC 5E 00 B2 */ fmuls f2, f30, f2 -/* 80147640 001445A0 38 81 00 08 */ addi r4, r1, 8 -/* 80147644 001445A4 EC 1E 00 32 */ fmuls f0, f30, f0 -/* 80147648 001445A8 D0 41 00 08 */ stfs f2, 8(r1) -/* 8014764C 001445AC D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80147650 001445B0 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80147654 001445B4 4B FD 38 25 */ bl MoveToOR__13CPhysicsActorFRC9CVector3ff -/* 80147658 001445B8 FC 20 F8 90 */ fmr f1, f31 -/* 8014765C 001445BC 7F C3 F3 78 */ mr r3, r30 -/* 80147660 001445C0 7F E4 FB 78 */ mr r4, r31 -/* 80147664 001445C4 38 A0 00 00 */ li r5, 0 -/* 80147668 001445C8 48 03 A6 D1 */ bl "Move__14CGameCollisionFR13CStateManagerR13CPhysicsActorfPCQ24rstl32reserved_vector<9TUniqueId,1024>" -/* 8014766C 001445CC C0 5F 00 60 */ lfs f2, 0x60(r31) -/* 80147670 001445D0 7F E3 FB 78 */ mr r3, r31 -/* 80147674 001445D4 C0 3F 00 50 */ lfs f1, 0x50(r31) -/* 80147678 001445D8 38 81 01 28 */ addi r4, r1, 0x128 -/* 8014767C 001445DC C0 1F 00 40 */ lfs f0, 0x40(r31) -/* 80147680 001445E0 D0 01 01 28 */ stfs f0, 0x128(r1) -/* 80147684 001445E4 D0 21 01 2C */ stfs f1, 0x12c(r1) -/* 80147688 001445E8 D0 41 01 30 */ stfs f2, 0x130(r1) -/* 8014768C 001445EC 4B FD 47 99 */ bl SetPhysicsState__13CPhysicsActorFRC13CPhysicsState -/* 80147690 001445F0 57 A0 06 3F */ clrlwi. r0, r29, 0x18 -/* 80147694 001445F4 41 82 00 14 */ beq lbl_801476A8 -/* 80147698 001445F8 7F E3 FB 78 */ mr r3, r31 -/* 8014769C 001445FC 7F C5 F3 78 */ mr r5, r30 -/* 801476A0 00144600 38 80 00 25 */ li r4, 0x25 -/* 801476A4 00144604 4B F0 CC AD */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_801476A8: -/* 801476A8 00144608 7F E3 FB 78 */ mr r3, r31 -/* 801476AC 0014460C 7F C5 F3 78 */ mr r5, r30 -/* 801476B0 00144610 38 80 00 20 */ li r4, 0x20 -/* 801476B4 00144614 4B F0 CC 9D */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_801476B8: -/* 801476B8 00144618 E3 E1 01 C8 */ psq_l f31, 456(r1), 0, qr0 -/* 801476BC 0014461C CB E1 01 C0 */ lfd f31, 0x1c0(r1) -/* 801476C0 00144620 E3 C1 01 B8 */ psq_l f30, 440(r1), 0, qr0 -/* 801476C4 00144624 CB C1 01 B0 */ lfd f30, 0x1b0(r1) -/* 801476C8 00144628 83 E1 01 AC */ lwz r31, 0x1ac(r1) -/* 801476CC 0014462C 83 C1 01 A8 */ lwz r30, 0x1a8(r1) -/* 801476D0 00144630 83 A1 01 A4 */ lwz r29, 0x1a4(r1) -/* 801476D4 00144634 80 01 01 D4 */ lwz r0, 0x1d4(r1) -/* 801476D8 00144638 83 81 01 A0 */ lwz r28, 0x1a0(r1) -/* 801476DC 0014463C 7C 08 03 A6 */ mtlr r0 -/* 801476E0 00144640 38 21 01 D0 */ addi r1, r1, 0x1d0 -/* 801476E4 00144644 4E 80 00 20 */ blr - -.global CalculateBoundingBox__12CPuddleSporeCFv -CalculateBoundingBox__12CPuddleSporeCFv: -/* 801476E8 00144648 94 21 FF 60 */ stwu r1, -0xa0(r1) -/* 801476EC 0014464C 7C 08 02 A6 */ mflr r0 -/* 801476F0 00144650 90 01 00 A4 */ stw r0, 0xa4(r1) -/* 801476F4 00144654 DB E1 00 90 */ stfd f31, 0x90(r1) -/* 801476F8 00144658 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0 -/* 801476FC 0014465C DB C1 00 80 */ stfd f30, 0x80(r1) -/* 80147700 00144660 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0 -/* 80147704 00144664 DB A1 00 70 */ stfd f29, 0x70(r1) -/* 80147708 00144668 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0 -/* 8014770C 0014466C DB 81 00 60 */ stfd f28, 0x60(r1) -/* 80147710 00144670 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0 -/* 80147714 00144674 DB 61 00 50 */ stfd f27, 0x50(r1) -/* 80147718 00144678 F3 61 00 58 */ psq_st f27, 88(r1), 0, qr0 -/* 8014771C 0014467C DB 41 00 40 */ stfd f26, 0x40(r1) -/* 80147720 00144680 F3 41 00 48 */ psq_st f26, 72(r1), 0, qr0 -/* 80147724 00144684 DB 21 00 30 */ stfd f25, 0x30(r1) -/* 80147728 00144688 F3 21 00 38 */ psq_st f25, 56(r1), 0, qr0 -/* 8014772C 0014468C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80147730 00144690 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80147734 00144694 7C 9F 23 78 */ mr r31, r4 -/* 80147738 00144698 7C 7E 1B 78 */ mr r30, r3 -/* 8014773C 0014469C C3 44 05 90 */ lfs f26, 0x590(r4) -/* 80147740 001446A0 7F E3 FB 78 */ mr r3, r31 -/* 80147744 001446A4 C0 84 05 98 */ lfs f4, 0x598(r4) -/* 80147748 001446A8 C0 24 05 94 */ lfs f1, 0x594(r4) -/* 8014774C 001446AC FC 40 D0 50 */ fneg f2, f26 -/* 80147750 001446B0 C0 04 05 9C */ lfs f0, 0x59c(r4) -/* 80147754 001446B4 C0 64 05 8C */ lfs f3, 0x58c(r4) -/* 80147758 001446B8 EC 01 20 3A */ fmadds f0, f1, f0, f4 -/* 8014775C 001446BC C3 64 05 88 */ lfs f27, 0x588(r4) -/* 80147760 001446C0 C3 24 05 84 */ lfs f25, 0x584(r4) -/* 80147764 001446C4 EF A4 18 2A */ fadds f29, f4, f3 -/* 80147768 001446C8 EF C2 D8 2A */ fadds f30, f2, f27 -/* 8014776C 001446CC EF E2 C8 2A */ fadds f31, f2, f25 -/* 80147770 001446D0 EF 80 18 2A */ fadds f28, f0, f3 -/* 80147774 001446D4 4B FD 32 4D */ bl GetBaseBoundingBox__13CPhysicsActorCFv -/* 80147778 001446D8 C0 63 00 10 */ lfs f3, 0x10(r3) -/* 8014777C 001446DC EC DA D8 2A */ fadds f6, f26, f27 -/* 80147780 001446E0 C0 82 9C B0 */ lfs f4, lbl_805AB9D0@sda21(r2) -/* 80147784 001446E4 EC 3A C8 2A */ fadds f1, f26, f25 -/* 80147788 001446E8 C0 43 00 14 */ lfs f2, 0x14(r3) -/* 8014778C 001446EC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80147790 001446F0 EC 63 01 32 */ fmuls f3, f3, f4 -/* 80147794 001446F4 C0 A2 9C AC */ lfs f5, lbl_805AB9CC@sda21(r2) -/* 80147798 001446F8 EC 42 01 32 */ fmuls f2, f2, f4 -/* 8014779C 001446FC EC 00 01 32 */ fmuls f0, f0, f4 -/* 801477A0 00144700 7F E3 FB 78 */ mr r3, r31 -/* 801477A4 00144704 EC 66 19 7A */ fmadds f3, f6, f5, f3 -/* 801477A8 00144708 EC 5C 11 7A */ fmadds f2, f28, f5, f2 -/* 801477AC 0014470C EC 01 01 7A */ fmadds f0, f1, f5, f0 -/* 801477B0 00144710 D0 61 00 0C */ stfs f3, 0xc(r1) -/* 801477B4 00144714 D0 01 00 08 */ stfs f0, 8(r1) -/* 801477B8 00144718 D0 41 00 10 */ stfs f2, 0x10(r1) -/* 801477BC 0014471C 4B FD 32 05 */ bl GetBaseBoundingBox__13CPhysicsActorCFv -/* 801477C0 00144720 C0 43 00 04 */ lfs f2, 4(r3) -/* 801477C4 00144724 38 81 00 14 */ addi r4, r1, 0x14 -/* 801477C8 00144728 C0 62 9C B0 */ lfs f3, lbl_805AB9D0@sda21(r2) -/* 801477CC 0014472C 38 A1 00 08 */ addi r5, r1, 8 -/* 801477D0 00144730 C0 23 00 08 */ lfs f1, 8(r3) -/* 801477D4 00144734 C0 03 00 00 */ lfs f0, 0(r3) -/* 801477D8 00144738 EC 42 00 F2 */ fmuls f2, f2, f3 -/* 801477DC 0014473C C0 82 9C AC */ lfs f4, lbl_805AB9CC@sda21(r2) -/* 801477E0 00144740 EC 21 00 F2 */ fmuls f1, f1, f3 -/* 801477E4 00144744 EC 00 00 F2 */ fmuls f0, f0, f3 -/* 801477E8 00144748 7F C3 F3 78 */ mr r3, r30 -/* 801477EC 0014474C EC 5E 11 3A */ fmadds f2, f30, f4, f2 -/* 801477F0 00144750 EC 3D 09 3A */ fmadds f1, f29, f4, f1 -/* 801477F4 00144754 EC 1F 01 3A */ fmadds f0, f31, f4, f0 -/* 801477F8 00144758 D0 41 00 18 */ stfs f2, 0x18(r1) -/* 801477FC 0014475C D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80147800 00144760 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80147804 00144764 48 1F 0D 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 80147808 00144768 E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0 -/* 8014780C 0014476C CB E1 00 90 */ lfd f31, 0x90(r1) -/* 80147810 00144770 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0 -/* 80147814 00144774 CB C1 00 80 */ lfd f30, 0x80(r1) -/* 80147818 00144778 E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0 -/* 8014781C 0014477C CB A1 00 70 */ lfd f29, 0x70(r1) -/* 80147820 00144780 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0 -/* 80147824 00144784 CB 81 00 60 */ lfd f28, 0x60(r1) -/* 80147828 00144788 E3 61 00 58 */ psq_l f27, 88(r1), 0, qr0 -/* 8014782C 0014478C CB 61 00 50 */ lfd f27, 0x50(r1) -/* 80147830 00144790 E3 41 00 48 */ psq_l f26, 72(r1), 0, qr0 -/* 80147834 00144794 CB 41 00 40 */ lfd f26, 0x40(r1) -/* 80147838 00144798 E3 21 00 38 */ psq_l f25, 56(r1), 0, qr0 -/* 8014783C 0014479C CB 21 00 30 */ lfd f25, 0x30(r1) -/* 80147840 001447A0 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80147844 001447A4 80 01 00 A4 */ lwz r0, 0xa4(r1) -/* 80147848 001447A8 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 8014784C 001447AC 7C 08 03 A6 */ mtlr r0 -/* 80147850 001447B0 38 21 00 A0 */ addi r1, r1, 0xa0 -/* 80147854 001447B4 4E 80 00 20 */ blr - -.global GetCollisionPrimitive__12CPuddleSporeCFv -GetCollisionPrimitive__12CPuddleSporeCFv: -/* 80147858 001447B8 38 63 05 A0 */ addi r3, r3, 0x5a0 -/* 8014785C 001447BC 4E 80 00 20 */ blr - -.global KnockPlayer__12CPuddleSporeFR13CStateManagerf -KnockPlayer__12CPuddleSporeFR13CStateManagerf: -/* 80147860 001447C0 94 21 FF 70 */ stwu r1, -0x90(r1) -/* 80147864 001447C4 7C 08 02 A6 */ mflr r0 -/* 80147868 001447C8 90 01 00 94 */ stw r0, 0x94(r1) -/* 8014786C 001447CC DB E1 00 80 */ stfd f31, 0x80(r1) -/* 80147870 001447D0 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 -/* 80147874 001447D4 DB C1 00 70 */ stfd f30, 0x70(r1) -/* 80147878 001447D8 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 -/* 8014787C 001447DC 93 E1 00 6C */ stw r31, 0x6c(r1) -/* 80147880 001447E0 93 C1 00 68 */ stw r30, 0x68(r1) -/* 80147884 001447E4 93 A1 00 64 */ stw r29, 0x64(r1) -/* 80147888 001447E8 FF E0 08 90 */ fmr f31, f1 -/* 8014788C 001447EC 7C 7D 1B 78 */ mr r29, r3 -/* 80147890 001447F0 7C 9E 23 78 */ mr r30, r4 -/* 80147894 001447F4 38 61 00 44 */ addi r3, r1, 0x44 -/* 80147898 001447F8 7F A4 EB 78 */ mr r4, r29 -/* 8014789C 001447FC 4B FD 30 91 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 801478A0 00144800 80 9E 08 4C */ lwz r4, 0x84c(r30) -/* 801478A4 00144804 38 61 00 2C */ addi r3, r1, 0x2c -/* 801478A8 00144808 4B FD 30 85 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 801478AC 0014480C C0 61 00 34 */ lfs f3, 0x34(r1) -/* 801478B0 00144810 C0 21 00 40 */ lfs f1, 0x40(r1) -/* 801478B4 00144814 C0 02 9C A0 */ lfs f0, lbl_805AB9C0@sda21(r2) -/* 801478B8 00144818 EC 23 08 2A */ fadds f1, f3, f1 -/* 801478BC 0014481C C0 41 00 58 */ lfs f2, 0x58(r1) -/* 801478C0 00144820 EC 01 00 32 */ fmuls f0, f1, f0 -/* 801478C4 00144824 FC 02 00 40 */ fcmpo cr0, f2, f0 -/* 801478C8 00144828 40 80 00 F4 */ bge lbl_801479BC -/* 801478CC 0014482C C0 21 00 50 */ lfs f1, 0x50(r1) -/* 801478D0 00144830 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 801478D4 00144834 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801478D8 00144838 4C 41 13 82 */ cror 2, 1, 2 -/* 801478DC 0014483C 40 82 00 E0 */ bne lbl_801479BC -/* 801478E0 00144840 C0 21 00 54 */ lfs f1, 0x54(r1) -/* 801478E4 00144844 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 801478E8 00144848 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 801478EC 0014484C 4C 41 13 82 */ cror 2, 1, 2 -/* 801478F0 00144850 40 82 00 CC */ bne lbl_801479BC -/* 801478F4 00144854 C0 21 00 38 */ lfs f1, 0x38(r1) -/* 801478F8 00144858 C0 01 00 44 */ lfs f0, 0x44(r1) -/* 801478FC 0014485C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80147900 00144860 4C 41 13 82 */ cror 2, 1, 2 -/* 80147904 00144864 40 82 00 B8 */ bne lbl_801479BC -/* 80147908 00144868 C0 21 00 3C */ lfs f1, 0x3c(r1) -/* 8014790C 0014486C C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80147910 00144870 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80147914 00144874 4C 41 13 82 */ cror 2, 1, 2 -/* 80147918 00144878 40 82 00 A4 */ bne lbl_801479BC -/* 8014791C 0014487C EC 23 10 28 */ fsubs f1, f3, f2 -/* 80147920 00144880 C0 02 9C B4 */ lfs f0, lbl_805AB9D4@sda21(r2) -/* 80147924 00144884 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80147928 00144888 40 80 00 94 */ bge lbl_801479BC -/* 8014792C 0014488C C3 C2 9C 98 */ lfs f30, lbl_805AB9B8@sda21(r2) -/* 80147930 00144890 C0 22 9C 88 */ lfs f1, lbl_805AB9A8@sda21(r2) -/* 80147934 00144894 C0 02 9C B8 */ lfs f0, lbl_805AB9D8@sda21(r2) -/* 80147938 00144898 D3 C1 00 20 */ stfs f30, 0x20(r1) -/* 8014793C 0014489C D0 21 00 24 */ stfs f1, 0x24(r1) -/* 80147940 001448A0 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80147944 001448A4 83 FE 08 4C */ lwz r31, 0x84c(r30) -/* 80147948 001448A8 80 1F 02 F8 */ lwz r0, 0x2f8(r31) -/* 8014794C 001448AC 2C 00 00 01 */ cmpwi r0, 1 -/* 80147950 001448B0 40 82 00 08 */ bne lbl_80147958 -/* 80147954 001448B4 C3 C2 9C 9C */ lfs f30, lbl_805AB9BC@sda21(r2) -lbl_80147958: -/* 80147958 001448B8 38 61 00 08 */ addi r3, r1, 8 -/* 8014795C 001448BC 38 9D 00 34 */ addi r4, r29, 0x34 -/* 80147960 001448C0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80147964 001448C4 48 1C B1 1D */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 80147968 001448C8 C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 8014796C 001448CC C0 41 00 08 */ lfs f2, 8(r1) -/* 80147970 001448D0 EC 7F 00 32 */ fmuls f3, f31, f0 -/* 80147974 001448D4 C0 21 00 0C */ lfs f1, 0xc(r1) -/* 80147978 001448D8 C0 01 00 10 */ lfs f0, 0x10(r1) -/* 8014797C 001448DC EC 7E 00 F2 */ fmuls f3, f30, f3 -/* 80147980 001448E0 EC 43 00 B2 */ fmuls f2, f3, f2 -/* 80147984 001448E4 EC 23 00 72 */ fmuls f1, f3, f1 -/* 80147988 001448E8 EC 03 00 32 */ fmuls f0, f3, f0 -/* 8014798C 001448EC D0 41 00 14 */ stfs f2, 0x14(r1) -/* 80147990 001448F0 D0 21 00 18 */ stfs f1, 0x18(r1) -/* 80147994 001448F4 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80147998 001448F8 4B ED 3B 9D */ bl Identity__10CAxisAngleFv -/* 8014799C 001448FC 7C 65 1B 78 */ mr r5, r3 -/* 801479A0 00144900 7F E3 FB 78 */ mr r3, r31 -/* 801479A4 00144904 38 81 00 14 */ addi r4, r1, 0x14 -/* 801479A8 00144908 4B FD 49 F1 */ bl ApplyImpulseWR__13CPhysicsActorFRC9CVector3fRC10CAxisAngle -/* 801479AC 0014490C 7F E3 FB 78 */ mr r3, r31 -/* 801479B0 00144910 7F C5 F3 78 */ mr r5, r30 -/* 801479B4 00144914 38 80 00 02 */ li r4, 2 -/* 801479B8 00144918 48 13 EA 35 */ bl SetMoveState__7CPlayerFQ27NPlayer20EPlayerMovementStateR13CStateManager -lbl_801479BC: -/* 801479BC 0014491C E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 -/* 801479C0 00144920 CB E1 00 80 */ lfd f31, 0x80(r1) -/* 801479C4 00144924 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 -/* 801479C8 00144928 CB C1 00 70 */ lfd f30, 0x70(r1) -/* 801479CC 0014492C 83 E1 00 6C */ lwz r31, 0x6c(r1) -/* 801479D0 00144930 83 C1 00 68 */ lwz r30, 0x68(r1) -/* 801479D4 00144934 80 01 00 94 */ lwz r0, 0x94(r1) -/* 801479D8 00144938 83 A1 00 64 */ lwz r29, 0x64(r1) -/* 801479DC 0014493C 7C 08 03 A6 */ mtlr r0 -/* 801479E0 00144940 38 21 00 90 */ addi r1, r1, 0x90 -/* 801479E4 00144944 4E 80 00 20 */ blr - -.global CollidedWith__12CPuddleSporeFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager -CollidedWith__12CPuddleSporeFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager: -/* 801479E8 00144948 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801479EC 0014494C 7C 08 02 A6 */ mflr r0 -/* 801479F0 00144950 90 01 00 14 */ stw r0, 0x14(r1) -/* 801479F4 00144954 80 03 05 C8 */ lwz r0, 0x5c8(r3) -/* 801479F8 00144958 2C 00 00 02 */ cmpwi r0, 2 -/* 801479FC 0014495C 41 82 00 08 */ beq lbl_80147A04 -/* 80147A00 00144960 4B F3 1C 51 */ bl CollidedWith__10CPatternedFRC9TUniqueIdRC18CCollisionInfoListR13CStateManager -lbl_80147A04: -/* 80147A04 00144964 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80147A08 00144968 7C 08 03 A6 */ mtlr r0 -/* 80147A0C 0014496C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80147A10 00144970 4E 80 00 20 */ blr - -.global DoUserAnimEvent__12CPuddleSporeFR13CStateManagerRC13CInt32POINode14EUserEventType -DoUserAnimEvent__12CPuddleSporeFR13CStateManagerRC13CInt32POINode14EUserEventType: -/* 80147A14 00144974 94 21 FE B0 */ stwu r1, -0x150(r1) -/* 80147A18 00144978 7C 08 02 A6 */ mflr r0 -/* 80147A1C 0014497C 90 01 01 54 */ stw r0, 0x154(r1) -/* 80147A20 00144980 DB E1 01 40 */ stfd f31, 0x140(r1) -/* 80147A24 00144984 F3 E1 01 48 */ psq_st f31, 328(r1), 0, qr0 -/* 80147A28 00144988 BE E1 01 1C */ stmw r23, 0x11c(r1) -/* 80147A2C 0014498C 7C DE 33 79 */ or. r30, r6, r6 -/* 80147A30 00144990 FF E0 08 90 */ fmr f31, f1 -/* 80147A34 00144994 7C 7B 1B 78 */ mr r27, r3 -/* 80147A38 00144998 7C 9C 23 78 */ mr r28, r4 -/* 80147A3C 0014499C 7C BD 2B 78 */ mr r29, r5 -/* 80147A40 001449A0 38 00 00 00 */ li r0, 0 -/* 80147A44 001449A4 41 82 00 08 */ beq lbl_80147A4C -/* 80147A48 001449A8 48 00 02 50 */ b lbl_80147C98 -lbl_80147A4C: -/* 80147A4C 001449AC C0 02 9C 88 */ lfs f0, lbl_805AB9A8@sda21(r2) -/* 80147A50 001449B0 D0 1B 05 6C */ stfs f0, 0x56c(r27) -/* 80147A54 001449B4 81 83 00 00 */ lwz r12, 0(r3) -/* 80147A58 001449B8 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80147A5C 001449BC 7D 89 03 A6 */ mtctr r12 -/* 80147A60 001449C0 4E 80 04 21 */ bctrl -/* 80147A64 001449C4 7C 78 1B 78 */ mr r24, r3 -/* 80147A68 001449C8 80 03 00 08 */ lwz r0, 8(r3) -/* 80147A6C 001449CC 28 00 00 00 */ cmplwi r0, 0 -/* 80147A70 001449D0 41 82 00 0C */ beq lbl_80147A7C -/* 80147A74 001449D4 38 60 00 01 */ li r3, 1 -/* 80147A78 001449D8 48 00 00 38 */ b lbl_80147AB0 -lbl_80147A7C: -/* 80147A7C 001449DC 88 18 00 04 */ lbz r0, 4(r24) -/* 80147A80 001449E0 28 00 00 00 */ cmplwi r0, 0 -/* 80147A84 001449E4 41 82 00 28 */ beq lbl_80147AAC -/* 80147A88 001449E8 80 98 00 00 */ lwz r4, 0(r24) -/* 80147A8C 001449EC 80 04 00 10 */ lwz r0, 0x10(r4) -/* 80147A90 001449F0 28 00 00 00 */ cmplwi r0, 0 -/* 80147A94 001449F4 41 82 00 18 */ beq lbl_80147AAC -/* 80147A98 001449F8 48 1F 93 75 */ bl GetObj__6CTokenFv -/* 80147A9C 001449FC 80 03 00 04 */ lwz r0, 4(r3) -/* 80147AA0 00144A00 38 60 00 01 */ li r3, 1 -/* 80147AA4 00144A04 90 18 00 08 */ stw r0, 8(r24) -/* 80147AA8 00144A08 48 00 00 08 */ b lbl_80147AB0 -lbl_80147AAC: -/* 80147AAC 00144A0C 38 60 00 00 */ li r3, 0 -lbl_80147AB0: -/* 80147AB0 00144A10 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80147AB4 00144A14 41 82 01 E0 */ beq lbl_80147C94 -/* 80147AB8 00144A18 A0 1B 00 08 */ lhz r0, 8(r27) -/* 80147ABC 00144A1C 7F 83 E3 78 */ mr r3, r28 -/* 80147AC0 00144A20 80 CD 8B E0 */ lwz r6, lbl_805A77A0@sda21(r13) -/* 80147AC4 00144A24 38 81 00 48 */ addi r4, r1, 0x48 -/* 80147AC8 00144A28 B0 01 00 44 */ sth r0, 0x44(r1) -/* 80147ACC 00144A2C 38 A0 00 09 */ li r5, 9 -/* 80147AD0 00144A30 B0 01 00 48 */ sth r0, 0x48(r1) -/* 80147AD4 00144A34 4B EF DC 5D */ bl CanCreateProjectile__13CStateManagerCF9TUniqueId11EWeaponTypei -/* 80147AD8 00144A38 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80147ADC 00144A3C 41 82 01 B8 */ beq lbl_80147C94 -/* 80147AE0 00144A40 7F 64 DB 78 */ mr r4, r27 -/* 80147AE4 00144A44 38 61 00 B8 */ addi r3, r1, 0xb8 -/* 80147AE8 00144A48 38 BD 00 3C */ addi r5, r29, 0x3c -/* 80147AEC 00144A4C 4B F3 0E 8D */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 80147AF0 00144A50 38 61 00 E8 */ addi r3, r1, 0xe8 -/* 80147AF4 00144A54 38 81 00 B8 */ addi r4, r1, 0xb8 -/* 80147AF8 00144A58 48 1C B0 7D */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80147AFC 00144A5C 3C 60 80 3D */ lis r3, lbl_803D00A0@ha -/* 80147B00 00144A60 3B 40 00 00 */ li r26, 0 -/* 80147B04 00144A64 38 83 00 A0 */ addi r4, r3, lbl_803D00A0@l -/* 80147B08 00144A68 38 60 03 D8 */ li r3, 0x3d8 -/* 80147B0C 00144A6C 38 84 00 C7 */ addi r4, r4, 0xc7 -/* 80147B10 00144A70 38 A0 00 00 */ li r5, 0 -/* 80147B14 00144A74 48 1C DD 59 */ bl __nw__FUlPCcPCc -/* 80147B18 00144A78 7C 7F 1B 79 */ or. r31, r3, r3 -/* 80147B1C 00144A7C 41 82 01 10 */ beq lbl_80147C2C -/* 80147B20 00144A80 C0 02 9C 98 */ lfs f0, lbl_805AB9B8@sda21(r2) -/* 80147B24 00144A84 38 60 00 00 */ li r3, 0 -/* 80147B28 00144A88 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) -/* 80147B2C 00144A8C 7F 84 E3 78 */ mr r4, r28 -/* 80147B30 00144A90 98 61 00 84 */ stb r3, 0x84(r1) -/* 80147B34 00144A94 38 61 00 30 */ addi r3, r1, 0x30 -/* 80147B38 00144A98 3B 40 00 01 */ li r26, 1 -/* 80147B3C 00144A9C D0 01 00 6C */ stfs f0, 0x6c(r1) -/* 80147B40 00144AA0 D0 01 00 70 */ stfs f0, 0x70(r1) -/* 80147B44 00144AA4 D0 01 00 74 */ stfs f0, 0x74(r1) -/* 80147B48 00144AA8 B0 01 00 40 */ sth r0, 0x40(r1) -/* 80147B4C 00144AAC A0 BB 00 08 */ lhz r5, 8(r27) -/* 80147B50 00144AB0 B0 A1 00 3C */ sth r5, 0x3c(r1) -/* 80147B54 00144AB4 80 1B 00 04 */ lwz r0, 4(r27) -/* 80147B58 00144AB8 B0 A1 00 38 */ sth r5, 0x38(r1) -/* 80147B5C 00144ABC 90 01 00 4C */ stw r0, 0x4c(r1) -/* 80147B60 00144AC0 90 01 00 50 */ stw r0, 0x50(r1) -/* 80147B64 00144AC4 4B F0 55 79 */ bl AllocateUniqueId__13CStateManagerFv -/* 80147B68 00144AC8 A0 01 00 30 */ lhz r0, 0x30(r1) -/* 80147B6C 00144ACC 7F 63 DB 78 */ mr r3, r27 -/* 80147B70 00144AD0 B0 01 00 34 */ sth r0, 0x34(r1) -/* 80147B74 00144AD4 81 9B 00 00 */ lwz r12, 0(r27) -/* 80147B78 00144AD8 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80147B7C 00144ADC 7D 89 03 A6 */ mtctr r12 -/* 80147B80 00144AE0 4E 80 04 21 */ bctrl -/* 80147B84 00144AE4 C0 41 00 F4 */ lfs f2, 0xf4(r1) -/* 80147B88 00144AE8 7C 78 1B 78 */ mr r24, r3 -/* 80147B8C 00144AEC C0 21 01 04 */ lfs f1, 0x104(r1) -/* 80147B90 00144AF0 7F 63 DB 78 */ mr r3, r27 -/* 80147B94 00144AF4 C0 01 01 14 */ lfs f0, 0x114(r1) -/* 80147B98 00144AF8 D0 41 00 60 */ stfs f2, 0x60(r1) -/* 80147B9C 00144AFC D0 21 00 64 */ stfs f1, 0x64(r1) -/* 80147BA0 00144B00 D0 01 00 68 */ stfs f0, 0x68(r1) -/* 80147BA4 00144B04 81 9B 00 00 */ lwz r12, 0(r27) -/* 80147BA8 00144B08 81 8C 02 C0 */ lwz r12, 0x2c0(r12) -/* 80147BAC 00144B0C 7D 89 03 A6 */ mtctr r12 -/* 80147BB0 00144B10 4E 80 04 21 */ bctrl -/* 80147BB4 00144B14 7C 77 1B 78 */ mr r23, r3 -/* 80147BB8 00144B18 38 61 00 88 */ addi r3, r1, 0x88 -/* 80147BBC 00144B1C 38 81 00 60 */ addi r4, r1, 0x60 -/* 80147BC0 00144B20 48 1C B5 81 */ bl Translate__12CTransform4fFRC9CVector3f -/* 80147BC4 00144B24 38 61 00 50 */ addi r3, r1, 0x50 -/* 80147BC8 00144B28 38 01 00 3C */ addi r0, r1, 0x3c -/* 80147BCC 00144B2C 90 61 00 08 */ stw r3, 8(r1) -/* 80147BD0 00144B30 38 81 00 40 */ addi r4, r1, 0x40 -/* 80147BD4 00144B34 3B 20 00 00 */ li r25, 0 -/* 80147BD8 00144B38 39 81 00 6C */ addi r12, r1, 0x6c -/* 80147BDC 00144B3C 90 01 00 0C */ stw r0, 0xc(r1) -/* 80147BE0 00144B40 39 61 00 78 */ addi r11, r1, 0x78 -/* 80147BE4 00144B44 A0 02 C5 FC */ lhz r0, lbl_805AE31C@sda21(r2) -/* 80147BE8 00144B48 7F E3 FB 78 */ mr r3, r31 -/* 80147BEC 00144B4C 90 81 00 10 */ stw r4, 0x10(r1) -/* 80147BF0 00144B50 7E E5 BB 78 */ mr r5, r23 -/* 80147BF4 00144B54 38 E1 00 88 */ addi r7, r1, 0x88 -/* 80147BF8 00144B58 39 38 00 0C */ addi r9, r24, 0xc -/* 80147BFC 00144B5C 93 21 00 14 */ stw r25, 0x14(r1) -/* 80147C00 00144B60 39 41 00 34 */ addi r10, r1, 0x34 -/* 80147C04 00144B64 38 80 00 01 */ li r4, 1 -/* 80147C08 00144B68 38 C0 00 09 */ li r6, 9 -/* 80147C0C 00144B6C 93 21 00 18 */ stw r25, 0x18(r1) -/* 80147C10 00144B70 39 00 00 21 */ li r8, 0x21 -/* 80147C14 00144B74 91 81 00 1C */ stw r12, 0x1c(r1) -/* 80147C18 00144B78 91 61 00 20 */ stw r11, 0x20(r1) -/* 80147C1C 00144B7C 90 01 00 24 */ stw r0, 0x24(r1) -/* 80147C20 00144B80 93 21 00 28 */ stw r25, 0x28(r1) -/* 80147C24 00144B84 48 0C DA 75 */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" -/* 80147C28 00144B88 7C 7F 1B 78 */ mr r31, r3 -lbl_80147C2C: -/* 80147C2C 00144B8C 7F 40 07 75 */ extsb. r0, r26 -/* 80147C30 00144B90 41 82 00 30 */ beq lbl_80147C60 -/* 80147C34 00144B94 88 01 00 84 */ lbz r0, 0x84(r1) -/* 80147C38 00144B98 28 00 00 00 */ cmplwi r0, 0 -/* 80147C3C 00144B9C 41 82 00 1C */ beq lbl_80147C58 -/* 80147C40 00144BA0 34 61 00 78 */ addic. r3, r1, 0x78 -/* 80147C44 00144BA4 41 82 00 14 */ beq lbl_80147C58 -/* 80147C48 00144BA8 28 03 00 00 */ cmplwi r3, 0 -/* 80147C4C 00144BAC 41 82 00 0C */ beq lbl_80147C58 -/* 80147C50 00144BB0 38 80 00 00 */ li r4, 0 -/* 80147C54 00144BB4 48 1F 91 ED */ bl __dt__6CTokenFv -lbl_80147C58: -/* 80147C58 00144BB8 38 00 00 00 */ li r0, 0 -/* 80147C5C 00144BBC 98 01 00 84 */ stb r0, 0x84(r1) -lbl_80147C60: -/* 80147C60 00144BC0 3A FF 01 70 */ addi r23, r31, 0x170 -/* 80147C64 00144BC4 7E E3 BB 78 */ mr r3, r23 -/* 80147C68 00144BC8 48 16 74 CD */ bl GetVelocity__17CProjectileWeaponCFv -/* 80147C6C 00144BCC 7C 65 1B 78 */ mr r5, r3 -/* 80147C70 00144BD0 38 61 00 54 */ addi r3, r1, 0x54 -/* 80147C74 00144BD4 38 81 00 E8 */ addi r4, r1, 0xe8 -/* 80147C78 00144BD8 48 1C AE 09 */ bl Rotate__12CTransform4fCFRC9CVector3f -/* 80147C7C 00144BDC 7E E3 BB 78 */ mr r3, r23 -/* 80147C80 00144BE0 38 81 00 54 */ addi r4, r1, 0x54 -/* 80147C84 00144BE4 48 16 74 B9 */ bl SetVelocity__17CProjectileWeaponFRC9CVector3f -/* 80147C88 00144BE8 7F 83 E3 78 */ mr r3, r28 -/* 80147C8C 00144BEC 7F E4 FB 78 */ mr r4, r31 -/* 80147C90 00144BF0 4B F0 50 65 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence -lbl_80147C94: -/* 80147C94 00144BF4 38 00 00 01 */ li r0, 1 -lbl_80147C98: -/* 80147C98 00144BF8 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80147C9C 00144BFC 40 82 00 1C */ bne lbl_80147CB8 -/* 80147CA0 00144C00 FC 20 F8 90 */ fmr f1, f31 -/* 80147CA4 00144C04 7F 63 DB 78 */ mr r3, r27 -/* 80147CA8 00144C08 7F 84 E3 78 */ mr r4, r28 -/* 80147CAC 00144C0C 7F A5 EB 78 */ mr r5, r29 -/* 80147CB0 00144C10 7F C6 F3 78 */ mr r6, r30 -/* 80147CB4 00144C14 4B F3 11 FD */ bl DoUserAnimEvent__10CPatternedFR13CStateManagerRC13CInt32POINode14EUserEventType -lbl_80147CB8: -/* 80147CB8 00144C18 E3 E1 01 48 */ psq_l f31, 328(r1), 0, qr0 -/* 80147CBC 00144C1C CB E1 01 40 */ lfd f31, 0x140(r1) -/* 80147CC0 00144C20 BA E1 01 1C */ lmw r23, 0x11c(r1) -/* 80147CC4 00144C24 80 01 01 54 */ lwz r0, 0x154(r1) -/* 80147CC8 00144C28 7C 08 03 A6 */ mtlr r0 -/* 80147CCC 00144C2C 38 21 01 50 */ addi r1, r1, 0x150 -/* 80147CD0 00144C30 4E 80 00 20 */ blr - -.global KnockBack__12CPuddleSporeFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef -KnockBack__12CPuddleSporeFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef: -/* 80147CD4 00144C34 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80147CD8 00144C38 7C 08 02 A6 */ mflr r0 -/* 80147CDC 00144C3C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80147CE0 00144C40 80 03 05 C8 */ lwz r0, 0x5c8(r3) -/* 80147CE4 00144C44 2C 00 00 01 */ cmpwi r0, 1 -/* 80147CE8 00144C48 41 82 00 08 */ beq lbl_80147CF0 -/* 80147CEC 00144C4C 4B F3 2A 91 */ bl KnockBack__10CPatternedFRC9CVector3fR13CStateManagerRC11CDamageInfo14EKnockBackTypef -lbl_80147CF0: -/* 80147CF0 00144C50 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80147CF4 00144C54 7C 08 03 A6 */ mtlr r0 -/* 80147CF8 00144C58 38 21 00 10 */ addi r1, r1, 0x10 -/* 80147CFC 00144C5C 4E 80 00 20 */ blr - -.global Touch__12CPuddleSporeFR6CActorR13CStateManager -Touch__12CPuddleSporeFR6CActorR13CStateManager: -/* 80147D00 00144C60 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80147D04 00144C64 7C 08 02 A6 */ mflr r0 -/* 80147D08 00144C68 90 01 00 34 */ stw r0, 0x34(r1) -/* 80147D0C 00144C6C 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80147D10 00144C70 7C BF 2B 78 */ mr r31, r5 -/* 80147D14 00144C74 93 C1 00 28 */ stw r30, 0x28(r1) -/* 80147D18 00144C78 7C 7E 1B 78 */ mr r30, r3 -/* 80147D1C 00144C7C 88 03 04 00 */ lbz r0, 0x400(r3) -/* 80147D20 00144C80 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 80147D24 00144C84 41 82 00 64 */ beq lbl_80147D88 -/* 80147D28 00144C88 38 61 00 08 */ addi r3, r1, 8 -/* 80147D2C 00144C8C 4B F6 5A 4D */ bl "__ct__29TCastToPtr<15CGameProjectile>FR7CEntity" -/* 80147D30 00144C90 80 A3 00 04 */ lwz r5, 4(r3) -/* 80147D34 00144C94 28 05 00 00 */ cmplwi r5, 0 -/* 80147D38 00144C98 41 82 00 50 */ beq lbl_80147D88 -/* 80147D3C 00144C9C 80 7F 08 4C */ lwz r3, 0x84c(r31) -/* 80147D40 00144CA0 A0 85 00 EC */ lhz r4, 0xec(r5) -/* 80147D44 00144CA4 A0 03 00 08 */ lhz r0, 8(r3) -/* 80147D48 00144CA8 7C 04 00 40 */ cmplw r4, r0 -/* 80147D4C 00144CAC 40 82 00 3C */ bne lbl_80147D88 -/* 80147D50 00144CB0 C0 45 00 60 */ lfs f2, 0x60(r5) -/* 80147D54 00144CB4 7F C3 F3 78 */ mr r3, r30 -/* 80147D58 00144CB8 C0 25 00 50 */ lfs f1, 0x50(r5) -/* 80147D5C 00144CBC 38 81 00 10 */ addi r4, r1, 0x10 -/* 80147D60 00144CC0 C0 05 00 40 */ lfs f0, 0x40(r5) -/* 80147D64 00144CC4 D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80147D68 00144CC8 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80147D6C 00144CCC D0 41 00 18 */ stfs f2, 0x18(r1) -/* 80147D70 00144CD0 48 00 00 6D */ bl HitShell__12CPuddleSporeCFRC9CVector3f -/* 80147D74 00144CD4 54 63 06 3E */ clrlwi r3, r3, 0x18 -/* 80147D78 00144CD8 88 1E 04 00 */ lbz r0, 0x400(r30) -/* 80147D7C 00144CDC 7C 63 00 34 */ cntlzw r3, r3 -/* 80147D80 00144CE0 50 60 16 30 */ rlwimi r0, r3, 2, 0x18, 0x18 -/* 80147D84 00144CE4 98 1E 04 00 */ stb r0, 0x400(r30) -lbl_80147D88: -/* 80147D88 00144CE8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80147D8C 00144CEC 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80147D90 00144CF0 83 C1 00 28 */ lwz r30, 0x28(r1) -/* 80147D94 00144CF4 7C 08 03 A6 */ mtlr r0 -/* 80147D98 00144CF8 38 21 00 30 */ addi r1, r1, 0x30 -/* 80147D9C 00144CFC 4E 80 00 20 */ blr - -.global GetCollisionResponseType__12CPuddleSporeCFRC9CVector3fRC9CVector3fRC11CWeaponModei -GetCollisionResponseType__12CPuddleSporeCFRC9CVector3fRC9CVector3fRC11CWeaponModei: -/* 80147DA0 00144D00 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80147DA4 00144D04 7C 08 02 A6 */ mflr r0 -/* 80147DA8 00144D08 90 01 00 14 */ stw r0, 0x14(r1) -/* 80147DAC 00144D0C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80147DB0 00144D10 3B E0 00 22 */ li r31, 0x22 -/* 80147DB4 00144D14 48 00 00 29 */ bl HitShell__12CPuddleSporeCFRC9CVector3f -/* 80147DB8 00144D18 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80147DBC 00144D1C 41 82 00 08 */ beq lbl_80147DC4 -/* 80147DC0 00144D20 3B E0 00 54 */ li r31, 0x54 -lbl_80147DC4: -/* 80147DC4 00144D24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80147DC8 00144D28 7F E3 FB 78 */ mr r3, r31 -/* 80147DCC 00144D2C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80147DD0 00144D30 7C 08 03 A6 */ mtlr r0 -/* 80147DD4 00144D34 38 21 00 10 */ addi r1, r1, 0x10 -/* 80147DD8 00144D38 4E 80 00 20 */ blr - -.global HitShell__12CPuddleSporeCFRC9CVector3f -HitShell__12CPuddleSporeCFRC9CVector3f: -/* 80147DDC 00144D3C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80147DE0 00144D40 7C 08 02 A6 */ mflr r0 -/* 80147DE4 00144D44 90 01 00 54 */ stw r0, 0x54(r1) -/* 80147DE8 00144D48 93 E1 00 4C */ stw r31, 0x4c(r1) -/* 80147DEC 00144D4C 7C 9F 23 78 */ mr r31, r4 -/* 80147DF0 00144D50 93 C1 00 48 */ stw r30, 0x48(r1) -/* 80147DF4 00144D54 7C 7E 1B 78 */ mr r30, r3 -/* 80147DF8 00144D58 80 03 05 C8 */ lwz r0, 0x5c8(r3) -/* 80147DFC 00144D5C 2C 00 00 01 */ cmpwi r0, 1 -/* 80147E00 00144D60 40 82 00 9C */ bne lbl_80147E9C -/* 80147E04 00144D64 7F C4 F3 78 */ mr r4, r30 -/* 80147E08 00144D68 38 61 00 2C */ addi r3, r1, 0x2c -/* 80147E0C 00144D6C 4B FD 2B 21 */ bl GetBoundingBox__13CPhysicsActorCFv -/* 80147E10 00144D70 38 61 00 08 */ addi r3, r1, 8 -/* 80147E14 00144D74 38 81 00 2C */ addi r4, r1, 0x2c -/* 80147E18 00144D78 48 1E F7 F5 */ bl GetCenterPoint__6CAABoxCFv -/* 80147E1C 00144D7C C0 3F 00 04 */ lfs f1, 4(r31) -/* 80147E20 00144D80 38 61 00 20 */ addi r3, r1, 0x20 -/* 80147E24 00144D84 C0 01 00 0C */ lfs f0, 0xc(r1) -/* 80147E28 00144D88 38 81 00 14 */ addi r4, r1, 0x14 -/* 80147E2C 00144D8C C0 7F 00 08 */ lfs f3, 8(r31) -/* 80147E30 00144D90 C0 41 00 10 */ lfs f2, 0x10(r1) -/* 80147E34 00144D94 EC 81 00 28 */ fsubs f4, f1, f0 -/* 80147E38 00144D98 C0 3F 00 00 */ lfs f1, 0(r31) -/* 80147E3C 00144D9C C0 01 00 08 */ lfs f0, 8(r1) -/* 80147E40 00144DA0 EC 43 10 28 */ fsubs f2, f3, f2 -/* 80147E44 00144DA4 D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80147E48 00144DA8 EC 01 00 28 */ fsubs f0, f1, f0 -/* 80147E4C 00144DAC D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 80147E50 00144DB0 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 80147E54 00144DB4 48 1C BF 7D */ bl __ct__11CUnitVectorFRC9CVector3f -/* 80147E58 00144DB8 C0 3E 00 4C */ lfs f1, 0x4c(r30) -/* 80147E5C 00144DBC C0 01 00 24 */ lfs f0, 0x24(r1) -/* 80147E60 00144DC0 C0 5E 00 3C */ lfs f2, 0x3c(r30) -/* 80147E64 00144DC4 EC 01 00 32 */ fmuls f0, f1, f0 -/* 80147E68 00144DC8 C0 21 00 20 */ lfs f1, 0x20(r1) -/* 80147E6C 00144DCC C0 9E 00 5C */ lfs f4, 0x5c(r30) -/* 80147E70 00144DD0 C0 61 00 28 */ lfs f3, 0x28(r1) -/* 80147E74 00144DD4 EC 22 00 7A */ fmadds f1, f2, f1, f0 -/* 80147E78 00144DD8 C0 02 9C BC */ lfs f0, lbl_805AB9DC@sda21(r2) -/* 80147E7C 00144DDC EC 24 08 FA */ fmadds f1, f4, f3, f1 -/* 80147E80 00144DE0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80147E84 00144DE4 40 81 00 18 */ ble lbl_80147E9C -/* 80147E88 00144DE8 C0 02 9C A0 */ lfs f0, lbl_805AB9C0@sda21(r2) -/* 80147E8C 00144DEC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80147E90 00144DF0 40 80 00 0C */ bge lbl_80147E9C -/* 80147E94 00144DF4 38 60 00 00 */ li r3, 0 -/* 80147E98 00144DF8 48 00 00 08 */ b lbl_80147EA0 -lbl_80147E9C: -/* 80147E9C 00144DFC 38 60 00 01 */ li r3, 1 -lbl_80147EA0: -/* 80147EA0 00144E00 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80147EA4 00144E04 83 E1 00 4C */ lwz r31, 0x4c(r1) -/* 80147EA8 00144E08 83 C1 00 48 */ lwz r30, 0x48(r1) -/* 80147EAC 00144E0C 7C 08 03 A6 */ mtlr r0 -/* 80147EB0 00144E10 38 21 00 50 */ addi r1, r1, 0x50 -/* 80147EB4 00144E14 4E 80 00 20 */ blr - -.global ProjectileInfo__12CPuddleSporeFv -ProjectileInfo__12CPuddleSporeFv: -/* 80147EB8 00144E18 38 63 05 EC */ addi r3, r3, 0x5ec -/* 80147EBC 00144E1C 4E 80 00 20 */ blr - -.global AcceptScriptMsg__12CPuddleSporeF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__12CPuddleSporeF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 80147EC0 00144E20 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80147EC4 00144E24 7C 08 02 A6 */ mflr r0 -/* 80147EC8 00144E28 90 01 00 34 */ stw r0, 0x34(r1) -/* 80147ECC 00144E2C BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 80147ED0 00144E30 7C 9C 23 78 */ mr r28, r4 -/* 80147ED4 00144E34 2C 1C 00 2A */ cmpwi r28, 0x2a -/* 80147ED8 00144E38 7C 7B 1B 78 */ mr r27, r3 -/* 80147EDC 00144E3C 7C BD 2B 78 */ mr r29, r5 -/* 80147EE0 00144E40 7C DE 33 78 */ mr r30, r6 -/* 80147EE4 00144E44 3B E0 00 00 */ li r31, 0 -/* 80147EE8 00144E48 41 82 00 14 */ beq lbl_80147EFC -/* 80147EEC 00144E4C 40 80 00 24 */ bge lbl_80147F10 -/* 80147EF0 00144E50 2C 1C 00 21 */ cmpwi r28, 0x21 -/* 80147EF4 00144E54 41 82 00 10 */ beq lbl_80147F04 -/* 80147EF8 00144E58 48 00 00 18 */ b lbl_80147F10 -lbl_80147EFC: -/* 80147EFC 00144E5C 3B E0 00 01 */ li r31, 1 -/* 80147F00 00144E60 48 00 00 10 */ b lbl_80147F10 -lbl_80147F04: -/* 80147F04 00144E64 80 7B 04 50 */ lwz r3, 0x450(r27) -/* 80147F08 00144E68 7F C4 F3 78 */ mr r4, r30 -/* 80147F0C 00144E6C 4B FF 2D E5 */ bl Activate__15CBodyControllerFR13CStateManager -lbl_80147F10: -/* 80147F10 00144E70 57 E0 06 3F */ clrlwi. r0, r31, 0x18 -/* 80147F14 00144E74 40 82 00 20 */ bne lbl_80147F34 -/* 80147F18 00144E78 A0 1D 00 00 */ lhz r0, 0(r29) -/* 80147F1C 00144E7C 7F 63 DB 78 */ mr r3, r27 -/* 80147F20 00144E80 7F 84 E3 78 */ mr r4, r28 -/* 80147F24 00144E84 7F C6 F3 78 */ mr r6, r30 -/* 80147F28 00144E88 B0 01 00 08 */ sth r0, 8(r1) -/* 80147F2C 00144E8C 38 A1 00 08 */ addi r5, r1, 8 -/* 80147F30 00144E90 4B F3 4C 49 */ bl AcceptScriptMsg__10CPatternedF20EScriptObjectMessage9TUniqueIdR13CStateManager -lbl_80147F34: -/* 80147F34 00144E94 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 80147F38 00144E98 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80147F3C 00144E9C 7C 08 03 A6 */ mtlr r0 -/* 80147F40 00144EA0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80147F44 00144EA4 4E 80 00 20 */ blr - -.global FluidFXThink__12CPuddleSporeFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager -FluidFXThink__12CPuddleSporeFQ26CActor11EFluidStateR12CScriptWaterR13CStateManager: -/* 80147F48 00144EA8 94 21 FF A0 */ stwu r1, -0x60(r1) -/* 80147F4C 00144EAC 7C 08 02 A6 */ mflr r0 -/* 80147F50 00144EB0 2C 04 00 01 */ cmpwi r4, 1 -/* 80147F54 00144EB4 90 01 00 64 */ stw r0, 0x64(r1) -/* 80147F58 00144EB8 93 E1 00 5C */ stw r31, 0x5c(r1) -/* 80147F5C 00144EBC 7C DF 33 78 */ mr r31, r6 -/* 80147F60 00144EC0 93 C1 00 58 */ stw r30, 0x58(r1) -/* 80147F64 00144EC4 7C BE 2B 78 */ mr r30, r5 -/* 80147F68 00144EC8 93 A1 00 54 */ stw r29, 0x54(r1) -/* 80147F6C 00144ECC 7C 7D 1B 78 */ mr r29, r3 -/* 80147F70 00144ED0 40 82 00 94 */ bne lbl_80148004 -/* 80147F74 00144ED4 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80147F78 00144ED8 38 81 00 14 */ addi r4, r1, 0x14 -/* 80147F7C 00144EDC B0 01 00 14 */ sth r0, 0x14(r1) -/* 80147F80 00144EE0 B0 01 00 10 */ sth r0, 0x10(r1) -/* 80147F84 00144EE4 80 7F 08 7C */ lwz r3, 0x87c(r31) -/* 80147F88 00144EE8 4B FE 75 F9 */ bl GetLastRippleDeltaTime__18CFluidPlaneManagerCF9TUniqueId -/* 80147F8C 00144EEC C0 02 9C C0 */ lfs f0, lbl_805AB9E0@sda21(r2) -/* 80147F90 00144EF0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80147F94 00144EF4 4C 41 13 82 */ cror 2, 1, 2 -/* 80147F98 00144EF8 40 82 00 6C */ bne lbl_80148004 -/* 80147F9C 00144EFC 7F C4 F3 78 */ mr r4, r30 -/* 80147FA0 00144F00 38 61 00 30 */ addi r3, r1, 0x30 -/* 80147FA4 00144F04 4B F2 E7 29 */ bl GetTriggerBoundsWR__14CScriptTriggerCFv -/* 80147FA8 00144F08 C0 5D 00 60 */ lfs f2, 0x60(r29) -/* 80147FAC 00144F0C 7F C6 F3 78 */ mr r6, r30 -/* 80147FB0 00144F10 C0 1D 00 50 */ lfs f0, 0x50(r29) -/* 80147FB4 00144F14 7F E7 FB 78 */ mr r7, r31 -/* 80147FB8 00144F18 C0 9D 00 40 */ lfs f4, 0x40(r29) -/* 80147FBC 00144F1C 38 81 00 0C */ addi r4, r1, 0xc -/* 80147FC0 00144F20 C0 61 00 44 */ lfs f3, 0x44(r1) -/* 80147FC4 00144F24 38 A1 00 24 */ addi r5, r1, 0x24 -/* 80147FC8 00144F28 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 80147FCC 00144F2C C0 22 9C C4 */ lfs f1, lbl_805AB9E4@sda21(r2) -/* 80147FD0 00144F30 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 80147FD4 00144F34 D0 61 00 2C */ stfs f3, 0x2c(r1) -/* 80147FD8 00144F38 A0 1D 00 08 */ lhz r0, 8(r29) -/* 80147FDC 00144F3C D0 81 00 18 */ stfs f4, 0x18(r1) -/* 80147FE0 00144F40 B0 01 00 0C */ sth r0, 0xc(r1) -/* 80147FE4 00144F44 80 7E 01 B4 */ lwz r3, 0x1b4(r30) -/* 80147FE8 00144F48 D0 01 00 1C */ stfs f0, 0x1c(r1) -/* 80147FEC 00144F4C 81 83 00 00 */ lwz r12, 0(r3) -/* 80147FF0 00144F50 D0 41 00 20 */ stfs f2, 0x20(r1) -/* 80147FF4 00144F54 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80147FF8 00144F58 B0 01 00 08 */ sth r0, 8(r1) -/* 80147FFC 00144F5C 7D 89 03 A6 */ mtctr r12 -/* 80148000 00144F60 4E 80 04 21 */ bctrl -lbl_80148004: -/* 80148004 00144F64 80 01 00 64 */ lwz r0, 0x64(r1) -/* 80148008 00144F68 83 E1 00 5C */ lwz r31, 0x5c(r1) -/* 8014800C 00144F6C 83 C1 00 58 */ lwz r30, 0x58(r1) -/* 80148010 00144F70 83 A1 00 54 */ lwz r29, 0x54(r1) -/* 80148014 00144F74 7C 08 03 A6 */ mtlr r0 -/* 80148018 00144F78 38 21 00 60 */ addi r1, r1, 0x60 -/* 8014801C 00144F7C 4E 80 00 20 */ blr - -.global Render__12CPuddleSporeCFRC13CStateManager -Render__12CPuddleSporeCFRC13CStateManager: -/* 80148020 00144F80 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80148024 00144F84 7C 08 02 A6 */ mflr r0 -/* 80148028 00144F88 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014802C 00144F8C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80148030 00144F90 93 C1 00 08 */ stw r30, 8(r1) -/* 80148034 00144F94 7C 7E 1B 78 */ mr r30, r3 -/* 80148038 00144F98 4B F2 FF F5 */ bl Render__10CPatternedCFRC13CStateManager -/* 8014803C 00144F9C C0 3E 05 6C */ lfs f1, 0x56c(r30) -/* 80148040 00144FA0 C0 02 9C C8 */ lfs f0, lbl_805AB9E8@sda21(r2) -/* 80148044 00144FA4 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80148048 00144FA8 40 81 00 3C */ ble lbl_80148084 -/* 8014804C 00144FAC 83 FE 05 E8 */ lwz r31, 0x5e8(r30) -/* 80148050 00144FB0 48 00 00 1C */ b lbl_8014806C -lbl_80148054: -/* 80148054 00144FB4 7F E3 FB 78 */ mr r3, r31 -/* 80148058 00144FB8 81 9F 00 00 */ lwz r12, 0(r31) -/* 8014805C 00144FBC 81 8C 00 10 */ lwz r12, 0x10(r12) -/* 80148060 00144FC0 7D 89 03 A6 */ mtctr r12 -/* 80148064 00144FC4 4E 80 04 21 */ bctrl -/* 80148068 00144FC8 3B FF 03 40 */ addi r31, r31, 0x340 -lbl_8014806C: -/* 8014806C 00144FCC 80 1E 05 E0 */ lwz r0, 0x5e0(r30) -/* 80148070 00144FD0 80 7E 05 E8 */ lwz r3, 0x5e8(r30) -/* 80148074 00144FD4 1C 00 03 40 */ mulli r0, r0, 0x340 -/* 80148078 00144FD8 7C 03 02 14 */ add r0, r3, r0 -/* 8014807C 00144FDC 7C 1F 00 40 */ cmplw r31, r0 -/* 80148080 00144FE0 40 82 FF D4 */ bne lbl_80148054 -lbl_80148084: -/* 80148084 00144FE4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80148088 00144FE8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8014808C 00144FEC 83 C1 00 08 */ lwz r30, 8(r1) -/* 80148090 00144FF0 7C 08 03 A6 */ mtlr r0 -/* 80148094 00144FF4 38 21 00 10 */ addi r1, r1, 0x10 -/* 80148098 00144FF8 4E 80 00 20 */ blr - -.global Think__12CPuddleSporeFfR13CStateManager -Think__12CPuddleSporeFfR13CStateManager: -/* 8014809C 00144FFC 94 21 FF 30 */ stwu r1, -0xd0(r1) -/* 801480A0 00145000 7C 08 02 A6 */ mflr r0 -/* 801480A4 00145004 90 01 00 D4 */ stw r0, 0xd4(r1) -/* 801480A8 00145008 DB E1 00 C0 */ stfd f31, 0xc0(r1) -/* 801480AC 0014500C F3 E1 00 C8 */ psq_st f31, 200(r1), 0, qr0 -/* 801480B0 00145010 DB C1 00 B0 */ stfd f30, 0xb0(r1) -/* 801480B4 00145014 F3 C1 00 B8 */ psq_st f30, 184(r1), 0, qr0 -/* 801480B8 00145018 BF 61 00 9C */ stmw r27, 0x9c(r1) -/* 801480BC 0014501C 88 03 06 14 */ lbz r0, 0x614(r3) -/* 801480C0 00145020 FF C0 08 90 */ fmr f30, f1 -/* 801480C4 00145024 7C 7E 1B 78 */ mr r30, r3 -/* 801480C8 00145028 7C 9F 23 78 */ mr r31, r4 -/* 801480CC 0014502C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f -/* 801480D0 00145030 41 82 00 10 */ beq lbl_801480E0 -/* 801480D4 00145034 C0 1E 05 6C */ lfs f0, 0x56c(r30) -/* 801480D8 00145038 EC 00 F0 2A */ fadds f0, f0, f30 -/* 801480DC 0014503C D0 1E 05 6C */ stfs f0, 0x56c(r30) -lbl_801480E0: -/* 801480E0 00145040 88 1E 06 14 */ lbz r0, 0x614(r30) -/* 801480E4 00145044 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801480E8 00145048 41 82 00 10 */ beq lbl_801480F8 -/* 801480EC 0014504C C0 1E 05 68 */ lfs f0, 0x568(r30) -/* 801480F0 00145050 EC 00 F0 2A */ fadds f0, f0, f30 -/* 801480F4 00145054 D0 1E 05 68 */ stfs f0, 0x568(r30) -lbl_801480F8: -/* 801480F8 00145058 7F C3 F3 78 */ mr r3, r30 -/* 801480FC 0014505C 7F E4 FB 78 */ mr r4, r31 -/* 80148100 00145060 81 9E 00 00 */ lwz r12, 0(r30) -/* 80148104 00145064 81 8C 00 34 */ lwz r12, 0x34(r12) -/* 80148108 00145068 7D 89 03 A6 */ mtctr r12 -/* 8014810C 0014506C 4E 80 04 21 */ bctrl -/* 80148110 00145070 C0 02 9C CC */ lfs f0, lbl_805AB9EC@sda21(r2) -/* 80148114 00145074 C0 22 9C 98 */ lfs f1, lbl_805AB9B8@sda21(r2) -/* 80148118 00145078 D0 03 00 00 */ stfs f0, 0(r3) -/* 8014811C 0014507C 38 61 00 0C */ addi r3, r1, 0xc -/* 80148120 00145080 FC 40 08 90 */ fmr f2, f1 -/* 80148124 00145084 C0 BE 05 6C */ lfs f5, 0x56c(r30) -/* 80148128 00145088 FC 60 08 90 */ fmr f3, f1 -/* 8014812C 0014508C C0 1E 05 70 */ lfs f0, 0x570(r30) -/* 80148130 00145090 FC 80 08 90 */ fmr f4, f1 -/* 80148134 00145094 EC A5 00 24 */ fdivs f5, f5, f0 -/* 80148138 00145098 EC 05 08 28 */ fsubs f0, f5, f1 -/* 8014813C 0014509C FF E0 28 6E */ fsel f31, f0, f1, f5 -/* 80148140 001450A0 48 21 B2 AD */ bl __ct__6CColorFffff -/* 80148144 001450A4 C0 22 9C 98 */ lfs f1, lbl_805AB9B8@sda21(r2) -/* 80148148 001450A8 7C 7D 1B 78 */ mr r29, r3 -/* 8014814C 001450AC C0 82 9C 88 */ lfs f4, lbl_805AB9A8@sda21(r2) -/* 80148150 001450B0 38 61 00 10 */ addi r3, r1, 0x10 -/* 80148154 001450B4 FC 40 08 90 */ fmr f2, f1 -/* 80148158 001450B8 FC 60 08 90 */ fmr f3, f1 -/* 8014815C 001450BC 48 21 B2 91 */ bl __ct__6CColorFffff -/* 80148160 001450C0 FC 20 F8 90 */ fmr f1, f31 -/* 80148164 001450C4 7C 64 1B 78 */ mr r4, r3 -/* 80148168 001450C8 7F A5 EB 78 */ mr r5, r29 -/* 8014816C 001450CC 38 61 00 14 */ addi r3, r1, 0x14 -/* 80148170 001450D0 48 21 B1 3D */ bl Lerp__6CColorFRC6CColorRC6CColorf -/* 80148174 001450D4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80148178 001450D8 3C 60 80 3E */ lis r3, lbl_803E2078@ha -/* 8014817C 001450DC 3B A3 20 78 */ addi r29, r3, lbl_803E2078@l -/* 80148180 001450E0 3B 60 00 00 */ li r27, 0 -/* 80148184 001450E4 90 01 00 18 */ stw r0, 0x18(r1) -/* 80148188 001450E8 3B 80 00 00 */ li r28, 0 -/* 8014818C 001450EC 48 00 00 B4 */ b lbl_80148240 -lbl_80148190: -/* 80148190 001450F0 80 9D 00 00 */ lwz r4, 0(r29) -/* 80148194 001450F4 38 61 00 28 */ addi r3, r1, 0x28 -/* 80148198 001450F8 38 C1 00 08 */ addi r6, r1, 8 -/* 8014819C 001450FC 38 A0 FF FF */ li r5, -1 -/* 801481A0 00145100 48 1F 5F F5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FPCciRCQ24rstl17rmemory_allocator" -/* 801481A4 00145104 7F C4 F3 78 */ mr r4, r30 -/* 801481A8 00145108 38 61 00 38 */ addi r3, r1, 0x38 -/* 801481AC 0014510C 38 A1 00 28 */ addi r5, r1, 0x28 -/* 801481B0 00145110 4B F3 07 C9 */ bl "GetLctrTransform__10CPatternedCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" -/* 801481B4 00145114 38 61 00 68 */ addi r3, r1, 0x68 -/* 801481B8 00145118 38 81 00 38 */ addi r4, r1, 0x38 -/* 801481BC 0014511C 48 1C A9 B9 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 801481C0 00145120 38 61 00 28 */ addi r3, r1, 0x28 -/* 801481C4 00145124 48 1F 59 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" -/* 801481C8 00145128 80 1E 05 E8 */ lwz r0, 0x5e8(r30) -/* 801481CC 0014512C 38 81 00 18 */ addi r4, r1, 0x18 -/* 801481D0 00145130 7C 60 E2 14 */ add r3, r0, r28 -/* 801481D4 00145134 81 83 00 00 */ lwz r12, 0(r3) -/* 801481D8 00145138 81 8C 00 30 */ lwz r12, 0x30(r12) -/* 801481DC 0014513C 7D 89 03 A6 */ mtctr r12 -/* 801481E0 00145140 4E 80 04 21 */ bctrl -/* 801481E4 00145144 C0 41 00 74 */ lfs f2, 0x74(r1) -/* 801481E8 00145148 38 81 00 1C */ addi r4, r1, 0x1c -/* 801481EC 0014514C C0 21 00 84 */ lfs f1, 0x84(r1) -/* 801481F0 00145150 C0 01 00 94 */ lfs f0, 0x94(r1) -/* 801481F4 00145154 D0 41 00 1C */ stfs f2, 0x1c(r1) -/* 801481F8 00145158 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 801481FC 0014515C D0 01 00 24 */ stfs f0, 0x24(r1) -/* 80148200 00145160 80 1E 05 E8 */ lwz r0, 0x5e8(r30) -/* 80148204 00145164 7C 60 E2 14 */ add r3, r0, r28 -/* 80148208 00145168 81 83 00 00 */ lwz r12, 0(r3) -/* 8014820C 0014516C 81 8C 00 20 */ lwz r12, 0x20(r12) -/* 80148210 00145170 7D 89 03 A6 */ mtctr r12 -/* 80148214 00145174 4E 80 04 21 */ bctrl -/* 80148218 00145178 80 1E 05 E8 */ lwz r0, 0x5e8(r30) -/* 8014821C 0014517C FC 20 F0 90 */ fmr f1, f30 -/* 80148220 00145180 7C 60 E2 14 */ add r3, r0, r28 -/* 80148224 00145184 81 83 00 00 */ lwz r12, 0(r3) -/* 80148228 00145188 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 8014822C 0014518C 7D 89 03 A6 */ mtctr r12 -/* 80148230 00145190 4E 80 04 21 */ bctrl -/* 80148234 00145194 3B BD 00 04 */ addi r29, r29, 4 -/* 80148238 00145198 3B 9C 03 40 */ addi r28, r28, 0x340 -/* 8014823C 0014519C 3B 7B 00 01 */ addi r27, r27, 1 -lbl_80148240: -/* 80148240 001451A0 80 0D 8B E0 */ lwz r0, lbl_805A77A0@sda21(r13) -/* 80148244 001451A4 7C 1B 00 00 */ cmpw r27, r0 -/* 80148248 001451A8 41 80 FF 48 */ blt lbl_80148190 -/* 8014824C 001451AC FC 20 F0 90 */ fmr f1, f30 -/* 80148250 001451B0 7F C3 F3 78 */ mr r3, r30 -/* 80148254 001451B4 7F E4 FB 78 */ mr r4, r31 -/* 80148258 001451B8 4B F3 18 C1 */ bl Think__10CPatternedFfR13CStateManager -/* 8014825C 001451BC E3 E1 00 C8 */ psq_l f31, 200(r1), 0, qr0 -/* 80148260 001451C0 CB E1 00 C0 */ lfd f31, 0xc0(r1) -/* 80148264 001451C4 E3 C1 00 B8 */ psq_l f30, 184(r1), 0, qr0 -/* 80148268 001451C8 CB C1 00 B0 */ lfd f30, 0xb0(r1) -/* 8014826C 001451CC BB 61 00 9C */ lmw r27, 0x9c(r1) -/* 80148270 001451D0 80 01 00 D4 */ lwz r0, 0xd4(r1) -/* 80148274 001451D4 7C 08 03 A6 */ mtlr r0 -/* 80148278 001451D8 38 21 00 D0 */ addi r1, r1, 0xd0 -/* 8014827C 001451DC 4E 80 00 20 */ blr - -.global PreThink__12CPuddleSporeFfR13CStateManager -PreThink__12CPuddleSporeFfR13CStateManager: -/* 80148280 001451E0 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80148284 001451E4 7C 08 02 A6 */ mflr r0 -/* 80148288 001451E8 90 01 00 54 */ stw r0, 0x54(r1) -/* 8014828C 001451EC DB E1 00 40 */ stfd f31, 0x40(r1) -/* 80148290 001451F0 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0 -/* 80148294 001451F4 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80148298 001451F8 93 C1 00 38 */ stw r30, 0x38(r1) -/* 8014829C 001451FC FF E0 08 90 */ fmr f31, f1 -/* 801482A0 00145200 7C 7E 1B 78 */ mr r30, r3 -/* 801482A4 00145204 7C 9F 23 78 */ mr r31, r4 -/* 801482A8 00145208 38 61 00 08 */ addi r3, r1, 8 -/* 801482AC 0014520C 7F C4 F3 78 */ mr r4, r30 -/* 801482B0 00145210 4B FF F4 39 */ bl CalculateBoundingBox__12CPuddleSporeCFv -/* 801482B4 00145214 C0 A1 00 08 */ lfs f5, 8(r1) -/* 801482B8 00145218 C0 81 00 0C */ lfs f4, 0xc(r1) -/* 801482BC 0014521C C0 61 00 10 */ lfs f3, 0x10(r1) -/* 801482C0 00145220 C0 41 00 14 */ lfs f2, 0x14(r1) -/* 801482C4 00145224 C0 21 00 18 */ lfs f1, 0x18(r1) -/* 801482C8 00145228 C0 01 00 1C */ lfs f0, 0x1c(r1) -/* 801482CC 0014522C D0 A1 00 20 */ stfs f5, 0x20(r1) -/* 801482D0 00145230 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 801482D4 00145234 D0 61 00 28 */ stfs f3, 0x28(r1) -/* 801482D8 00145238 D0 41 00 2C */ stfs f2, 0x2c(r1) -/* 801482DC 0014523C D0 21 00 30 */ stfs f1, 0x30(r1) -/* 801482E0 00145240 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 801482E4 00145244 80 1E 05 C8 */ lwz r0, 0x5c8(r30) -/* 801482E8 00145248 2C 00 00 02 */ cmpwi r0, 2 -/* 801482EC 0014524C 40 82 00 18 */ bne lbl_80148304 -/* 801482F0 00145250 7F C3 F3 78 */ mr r3, r30 -/* 801482F4 00145254 7F E5 FB 78 */ mr r5, r31 -/* 801482F8 00145258 38 80 00 37 */ li r4, 0x37 -/* 801482FC 0014525C 4B F0 C0 55 */ bl AddMaterial__6CActorF14EMaterialTypesR13CStateManager -/* 80148300 00145260 48 00 00 14 */ b lbl_80148314 -lbl_80148304: -/* 80148304 00145264 7F C3 F3 78 */ mr r3, r30 -/* 80148308 00145268 7F E5 FB 78 */ mr r5, r31 -/* 8014830C 0014526C 38 80 00 37 */ li r4, 0x37 -/* 80148310 00145270 4B F0 BC 71 */ bl RemoveMaterial__6CActorF14EMaterialTypesR13CStateManager -lbl_80148314: -/* 80148314 00145274 FC 20 F8 90 */ fmr f1, f31 -/* 80148318 00145278 7F C3 F3 78 */ mr r3, r30 -/* 8014831C 0014527C 7F E5 FB 78 */ mr r5, r31 -/* 80148320 00145280 38 81 00 20 */ addi r4, r1, 0x20 -/* 80148324 00145284 4B FF F0 6D */ bl UpdateBoundingState__12CPuddleSporeFRC6CAABoxR13CStateManager -/* 80148328 00145288 FC 20 F8 90 */ fmr f1, f31 -/* 8014832C 0014528C 7F C3 F3 78 */ mr r3, r30 -/* 80148330 00145290 7F E4 FB 78 */ mr r4, r31 -/* 80148334 00145294 4B F2 F6 5D */ bl PreThink__10CPatternedFfR13CStateManager -/* 80148338 00145298 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0 -/* 8014833C 0014529C 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80148340 001452A0 CB E1 00 40 */ lfd f31, 0x40(r1) -/* 80148344 001452A4 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 80148348 001452A8 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8014834C 001452AC 7C 08 03 A6 */ mtlr r0 -/* 80148350 001452B0 38 21 00 50 */ addi r1, r1, 0x50 -/* 80148354 001452B4 4E 80 00 20 */ blr - -.global Accept__12CPuddleSporeFR8IVisitor -Accept__12CPuddleSporeFR8IVisitor: -/* 80148358 001452B8 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8014835C 001452BC 7C 08 02 A6 */ mflr r0 -/* 80148360 001452C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80148364 001452C4 7C 60 1B 78 */ mr r0, r3 -/* 80148368 001452C8 7C 83 23 78 */ mr r3, r4 -/* 8014836C 001452CC 81 84 00 00 */ lwz r12, 0(r4) -/* 80148370 001452D0 7C 04 03 78 */ mr r4, r0 -/* 80148374 001452D4 81 8C 00 4C */ lwz r12, 0x4c(r12) -/* 80148378 001452D8 7D 89 03 A6 */ mtctr r12 -/* 8014837C 001452DC 4E 80 04 21 */ bctrl -/* 80148380 001452E0 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80148384 001452E4 7C 08 03 A6 */ mtlr r0 -/* 80148388 001452E8 38 21 00 10 */ addi r1, r1, 0x10 -/* 8014838C 001452EC 4E 80 00 20 */ blr - -.global "__ct__12CPuddleSporeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypeUifffffRC16CActorParametersUiRC11CDamageInfo" -"__ct__12CPuddleSporeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypeUifffffRC16CActorParametersUiRC11CDamageInfo": -/* 80148390 001452F0 94 21 FC 00 */ stwu r1, -0x400(r1) -/* 80148394 001452F4 7C 08 02 A6 */ mflr r0 -/* 80148398 001452F8 90 01 04 04 */ stw r0, 0x404(r1) -/* 8014839C 001452FC DB E1 03 F0 */ stfd f31, 0x3f0(r1) -/* 801483A0 00145300 F3 E1 03 F8 */ psq_st f31, 1016(r1), 0, qr0 -/* 801483A4 00145304 DB C1 03 E0 */ stfd f30, 0x3e0(r1) -/* 801483A8 00145308 F3 C1 03 E8 */ psq_st f30, 1000(r1), 0, qr0 -/* 801483AC 0014530C DB A1 03 D0 */ stfd f29, 0x3d0(r1) -/* 801483B0 00145310 F3 A1 03 D8 */ psq_st f29, 984(r1), 0, qr0 -/* 801483B4 00145314 DB 81 03 C0 */ stfd f28, 0x3c0(r1) -/* 801483B8 00145318 F3 81 03 C8 */ psq_st f28, 968(r1), 0, qr0 -/* 801483BC 0014531C DB 61 03 B0 */ stfd f27, 0x3b0(r1) -/* 801483C0 00145320 F3 61 03 B8 */ psq_st f27, 952(r1), 0, qr0 -/* 801483C4 00145324 BF 41 03 98 */ stmw r26, 0x398(r1) -/* 801483C8 00145328 A0 04 00 00 */ lhz r0, 0(r4) -/* 801483CC 0014532C 7D 5A 53 78 */ mr r26, r10 -/* 801483D0 00145330 7C EC 3B 78 */ mr r12, r7 -/* 801483D4 00145334 7C DD 33 78 */ mr r29, r6 -/* 801483D8 00145338 B0 01 00 20 */ sth r0, 0x20(r1) -/* 801483DC 0014533C 7D 0B 43 78 */ mr r11, r8 -/* 801483E0 00145340 7D 2A 4B 78 */ mr r10, r9 -/* 801483E4 00145344 38 80 00 01 */ li r4, 1 -/* 801483E8 00145348 93 41 00 08 */ stw r26, 8(r1) -/* 801483EC 0014534C 38 00 00 02 */ li r0, 2 -/* 801483F0 00145350 80 E1 04 08 */ lwz r7, 0x408(r1) -/* 801483F4 00145354 FF 60 08 90 */ fmr f27, f1 -/* 801483F8 00145358 90 81 00 0C */ stw r4, 0xc(r1) -/* 801483FC 0014535C FF 80 10 90 */ fmr f28, f2 -/* 80148400 00145360 80 C1 04 10 */ lwz r6, 0x410(r1) -/* 80148404 00145364 FF A0 18 90 */ fmr f29, f3 -/* 80148408 00145368 90 E1 00 10 */ stw r7, 0x10(r1) -/* 8014840C 0014536C 7F A7 EB 78 */ mr r7, r29 -/* 80148410 00145370 FF C0 20 90 */ fmr f30, f4 -/* 80148414 00145374 90 01 00 14 */ stw r0, 0x14(r1) -/* 80148418 00145378 FF E0 28 90 */ fmr f31, f5 -/* 8014841C 0014537C 83 61 04 0C */ lwz r27, 0x40c(r1) -/* 80148420 00145380 7C 7F 1B 78 */ mr r31, r3 -/* 80148424 00145384 90 C1 00 18 */ stw r6, 0x18(r1) -/* 80148428 00145388 7C A6 2B 78 */ mr r6, r5 -/* 8014842C 0014538C 83 81 04 14 */ lwz r28, 0x414(r1) -/* 80148430 00145390 90 81 00 1C */ stw r4, 0x1c(r1) -/* 80148434 00145394 7D 88 63 78 */ mr r8, r12 -/* 80148438 00145398 83 A1 04 18 */ lwz r29, 0x418(r1) -/* 8014843C 0014539C 7D 69 5B 78 */ mr r9, r11 -/* 80148440 001453A0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 80148444 001453A4 38 80 00 1B */ li r4, 0x1b -/* 80148448 001453A8 4B F3 50 09 */ bl "__ct__10CPatternedFUi9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC16CActorParametersUi" -/* 8014844C 001453AC 3C 60 80 3E */ lis r3, lbl_803E20C4@ha -/* 80148450 001453B0 C0 42 9C 88 */ lfs f2, lbl_805AB9A8@sda21(r2) -/* 80148454 001453B4 38 03 20 C4 */ addi r0, r3, lbl_803E20C4@l -/* 80148458 001453B8 C0 02 9C 98 */ lfs f0, lbl_805AB9B8@sda21(r2) -/* 8014845C 001453BC 90 1F 00 00 */ stw r0, 0(r31) -/* 80148460 001453C0 7F E4 FB 78 */ mr r4, r31 -/* 80148464 001453C4 3B DF 00 68 */ addi r30, r31, 0x68 -/* 80148468 001453C8 38 61 00 3C */ addi r3, r1, 0x3c -/* 8014846C 001453CC D0 5F 05 68 */ stfs f2, 0x568(r31) -/* 80148470 001453D0 D0 5F 05 6C */ stfs f2, 0x56c(r31) -/* 80148474 001453D4 D3 7F 05 70 */ stfs f27, 0x570(r31) -/* 80148478 001453D8 D3 9F 05 74 */ stfs f28, 0x574(r31) -/* 8014847C 001453DC D3 BF 05 78 */ stfs f29, 0x578(r31) -/* 80148480 001453E0 D3 DF 05 7C */ stfs f30, 0x57c(r31) -/* 80148484 001453E4 D3 FF 05 80 */ stfs f31, 0x580(r31) -/* 80148488 001453E8 C0 3A 00 CC */ lfs f1, 0xcc(r26) -/* 8014848C 001453EC D0 3F 05 84 */ stfs f1, 0x584(r31) -/* 80148490 001453F0 C0 3A 00 D0 */ lfs f1, 0xd0(r26) -/* 80148494 001453F4 D0 3F 05 88 */ stfs f1, 0x588(r31) -/* 80148498 001453F8 C0 3A 00 D4 */ lfs f1, 0xd4(r26) -/* 8014849C 001453FC D0 3F 05 8C */ stfs f1, 0x58c(r31) -/* 801484A0 00145400 C0 3A 00 C4 */ lfs f1, 0xc4(r26) -/* 801484A4 00145404 D0 3F 05 90 */ stfs f1, 0x590(r31) -/* 801484A8 00145408 C0 3A 00 C8 */ lfs f1, 0xc8(r26) -/* 801484AC 0014540C D0 3F 05 94 */ stfs f1, 0x594(r31) -/* 801484B0 00145410 D0 5F 05 98 */ stfs f2, 0x598(r31) -/* 801484B4 00145414 D0 1F 05 9C */ stfs f0, 0x59c(r31) -/* 801484B8 00145418 4B FF F2 31 */ bl CalculateBoundingBox__12CPuddleSporeCFv -/* 801484BC 0014541C 3B 5F 05 A0 */ addi r26, r31, 0x5a0 -/* 801484C0 00145420 7F C4 F3 78 */ mr r4, r30 -/* 801484C4 00145424 7F 43 D3 78 */ mr r3, r26 -/* 801484C8 00145428 48 18 73 ED */ bl __ct__19CCollisionPrimitiveFRC13CMaterialList -/* 801484CC 0014542C 3C 80 80 3F */ lis r4, lbl_803ECAD0@ha -/* 801484D0 00145430 3C 60 50 41 */ lis r3, 0x50415254@ha -/* 801484D4 00145434 38 04 CA D0 */ addi r0, r4, lbl_803ECAD0@l -/* 801484D8 00145438 38 80 00 00 */ li r4, 0 -/* 801484DC 0014543C 90 1A 00 00 */ stw r0, 0(r26) -/* 801484E0 00145440 38 03 52 54 */ addi r0, r3, 0x50415254@l -/* 801484E4 00145444 38 61 00 2C */ addi r3, r1, 0x2c -/* 801484E8 00145448 38 A1 00 34 */ addi r5, r1, 0x34 -/* 801484EC 0014544C C0 01 00 3C */ lfs f0, 0x3c(r1) -/* 801484F0 00145450 D0 1A 00 10 */ stfs f0, 0x10(r26) -/* 801484F4 00145454 C0 01 00 40 */ lfs f0, 0x40(r1) -/* 801484F8 00145458 D0 1A 00 14 */ stfs f0, 0x14(r26) -/* 801484FC 0014545C C0 01 00 44 */ lfs f0, 0x44(r1) -/* 80148500 00145460 D0 1A 00 18 */ stfs f0, 0x18(r26) -/* 80148504 00145464 C0 01 00 48 */ lfs f0, 0x48(r1) -/* 80148508 00145468 D0 1A 00 1C */ stfs f0, 0x1c(r26) -/* 8014850C 0014546C C0 01 00 4C */ lfs f0, 0x4c(r1) -/* 80148510 00145470 D0 1A 00 20 */ stfs f0, 0x20(r26) -/* 80148514 00145474 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 80148518 00145478 D0 1A 00 24 */ stfs f0, 0x24(r26) -/* 8014851C 0014547C 90 9F 05 C8 */ stw r4, 0x5c8(r31) -/* 80148520 00145480 90 9F 05 CC */ stw r4, 0x5cc(r31) -/* 80148524 00145484 90 01 00 34 */ stw r0, 0x34(r1) -/* 80148528 00145488 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) -/* 8014852C 0014548C 93 61 00 38 */ stw r27, 0x38(r1) -/* 80148530 00145490 81 84 00 00 */ lwz r12, 0(r4) -/* 80148534 00145494 81 8C 00 0C */ lwz r12, 0xc(r12) -/* 80148538 00145498 7D 89 03 A6 */ mtctr r12 -/* 8014853C 0014549C 4E 80 04 21 */ bctrl -/* 80148540 001454A0 3B 5F 05 D0 */ addi r26, r31, 0x5d0 -/* 80148544 001454A4 38 81 00 2C */ addi r4, r1, 0x2c -/* 80148548 001454A8 7F 43 D3 78 */ mr r3, r26 -/* 8014854C 001454AC 48 1F 89 5D */ bl __ct__6CTokenFRC6CToken -/* 80148550 001454B0 7F 43 D3 78 */ mr r3, r26 -/* 80148554 001454B4 48 1F 88 B9 */ bl GetObj__6CTokenFv -/* 80148558 001454B8 80 03 00 04 */ lwz r0, 4(r3) -/* 8014855C 001454BC 38 61 00 2C */ addi r3, r1, 0x2c -/* 80148560 001454C0 38 80 FF FF */ li r4, -1 -/* 80148564 001454C4 90 1A 00 08 */ stw r0, 8(r26) -/* 80148568 001454C8 48 1F 88 D9 */ bl __dt__6CTokenFv -/* 8014856C 001454CC 38 00 00 00 */ li r0, 0 -/* 80148570 001454D0 7F 84 E3 78 */ mr r4, r28 -/* 80148574 001454D4 90 1F 05 E0 */ stw r0, 0x5e0(r31) -/* 80148578 001454D8 7F A5 EB 78 */ mr r5, r29 -/* 8014857C 001454DC 38 7F 05 EC */ addi r3, r31, 0x5ec -/* 80148580 001454E0 90 1F 05 E4 */ stw r0, 0x5e4(r31) -/* 80148584 001454E4 90 1F 05 E8 */ stw r0, 0x5e8(r31) -/* 80148588 001454E8 48 0D 3B 21 */ bl __ct__15CProjectileInfoFUiRC11CDamageInfo -/* 8014858C 001454EC 88 1F 06 14 */ lbz r0, 0x614(r31) -/* 80148590 001454F0 38 80 00 00 */ li r4, 0 -/* 80148594 001454F4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 -/* 80148598 001454F8 38 7F 05 DC */ addi r3, r31, 0x5dc -/* 8014859C 001454FC 98 1F 06 14 */ stb r0, 0x614(r31) -/* 801485A0 00145500 88 1F 06 14 */ lbz r0, 0x614(r31) -/* 801485A4 00145504 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 -/* 801485A8 00145508 98 1F 06 14 */ stb r0, 0x614(r31) -/* 801485AC 0014550C 80 8D 8B E0 */ lwz r4, lbl_805A77A0@sda21(r13) -/* 801485B0 00145510 48 00 0B 35 */ bl sub_801490e4 -/* 801485B4 00145514 3B C0 00 00 */ li r30, 0 -/* 801485B8 00145518 48 00 00 4C */ b lbl_80148604 -lbl_801485BC: -/* 801485BC 0014551C 38 61 00 24 */ addi r3, r1, 0x24 -/* 801485C0 00145520 38 9F 05 D0 */ addi r4, r31, 0x5d0 -/* 801485C4 00145524 48 1F 88 E5 */ bl __ct__6CTokenFRC6CToken -/* 801485C8 00145528 38 61 00 58 */ addi r3, r1, 0x58 -/* 801485CC 0014552C 38 81 00 24 */ addi r4, r1, 0x24 -/* 801485D0 00145530 38 A0 00 00 */ li r5, 0 -/* 801485D4 00145534 38 C0 00 01 */ li r6, 1 -/* 801485D8 00145538 48 1D 6E 09 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" -/* 801485DC 0014553C 38 7F 05 DC */ addi r3, r31, 0x5dc -/* 801485E0 00145540 38 81 00 58 */ addi r4, r1, 0x58 -/* 801485E4 00145544 48 00 00 81 */ bl sub_80148664 -/* 801485E8 00145548 38 61 00 58 */ addi r3, r1, 0x58 -/* 801485EC 0014554C 38 80 FF FF */ li r4, -1 -/* 801485F0 00145550 48 1D 6B 9D */ bl __dt__11CElementGenFv -/* 801485F4 00145554 38 61 00 24 */ addi r3, r1, 0x24 -/* 801485F8 00145558 38 80 00 00 */ li r4, 0 -/* 801485FC 0014555C 48 1F 88 45 */ bl __dt__6CTokenFv -/* 80148600 00145560 3B DE 00 01 */ addi r30, r30, 1 -lbl_80148604: -/* 80148604 00145564 80 0D 8B E0 */ lwz r0, lbl_805A77A0@sda21(r13) -/* 80148608 00145568 7C 1E 00 00 */ cmpw r30, r0 -/* 8014860C 0014556C 41 80 FF B0 */ blt lbl_801485BC -/* 80148610 00145570 38 7F 05 EC */ addi r3, r31, 0x5ec -/* 80148614 00145574 48 1F 87 71 */ bl Lock__6CTokenFv -/* 80148618 00145578 38 7F 04 60 */ addi r3, r31, 0x460 -/* 8014861C 0014557C 38 80 00 00 */ li r4, 0 -/* 80148620 00145580 48 0E B7 45 */ bl SetAutoResetImpulse__20CKnockBackControllerFb -/* 80148624 00145584 7F E3 FB 78 */ mr r3, r31 -/* 80148628 00145588 E3 E1 03 F8 */ psq_l f31, 1016(r1), 0, qr0 -/* 8014862C 0014558C CB E1 03 F0 */ lfd f31, 0x3f0(r1) -/* 80148630 00145590 E3 C1 03 E8 */ psq_l f30, 1000(r1), 0, qr0 -/* 80148634 00145594 CB C1 03 E0 */ lfd f30, 0x3e0(r1) -/* 80148638 00145598 E3 A1 03 D8 */ psq_l f29, 984(r1), 0, qr0 -/* 8014863C 0014559C CB A1 03 D0 */ lfd f29, 0x3d0(r1) -/* 80148640 001455A0 E3 81 03 C8 */ psq_l f28, 968(r1), 0, qr0 -/* 80148644 001455A4 CB 81 03 C0 */ lfd f28, 0x3c0(r1) -/* 80148648 001455A8 E3 61 03 B8 */ psq_l f27, 952(r1), 0, qr0 -/* 8014864C 001455AC CB 61 03 B0 */ lfd f27, 0x3b0(r1) -/* 80148650 001455B0 BB 41 03 98 */ lmw r26, 0x398(r1) -/* 80148654 001455B4 80 01 04 04 */ lwz r0, 0x404(r1) -/* 80148658 001455B8 7C 08 03 A6 */ mtlr r0 -/* 8014865C 001455BC 38 21 04 00 */ addi r1, r1, 0x400 -/* 80148660 001455C0 4E 80 00 20 */ blr - -.global sub_80148664 -sub_80148664: -/* 80148664 001455C4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80148668 001455C8 7C 08 02 A6 */ mflr r0 -/* 8014866C 001455CC 90 01 00 14 */ stw r0, 0x14(r1) -/* 80148670 001455D0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80148674 001455D4 7C 9F 23 78 */ mr r31, r4 -/* 80148678 001455D8 93 C1 00 08 */ stw r30, 8(r1) -/* 8014867C 001455DC 7C 7E 1B 78 */ mr r30, r3 -/* 80148680 001455E0 80 03 00 04 */ lwz r0, 4(r3) -/* 80148684 001455E4 80 A3 00 08 */ lwz r5, 8(r3) -/* 80148688 001455E8 7C 00 28 00 */ cmpw r0, r5 -/* 8014868C 001455EC 41 80 00 18 */ blt lbl_801486A4 -/* 80148690 001455F0 2C 05 00 00 */ cmpwi r5, 0 -/* 80148694 001455F4 38 80 00 04 */ li r4, 4 -/* 80148698 001455F8 41 82 00 08 */ beq lbl_801486A0 -/* 8014869C 001455FC 54 A4 08 3C */ slwi r4, r5, 1 -lbl_801486A0: -/* 801486A0 00145600 48 00 0A 45 */ bl sub_801490e4 -lbl_801486A4: -/* 801486A4 00145604 80 1E 00 04 */ lwz r0, 4(r30) -/* 801486A8 00145608 7F E4 FB 78 */ mr r4, r31 -/* 801486AC 0014560C 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 801486B0 00145610 1C 00 03 40 */ mulli r0, r0, 0x340 -/* 801486B4 00145614 7C 63 02 14 */ add r3, r3, r0 -/* 801486B8 00145618 48 00 00 29 */ bl sub_801486e0 -/* 801486BC 0014561C 80 7E 00 04 */ lwz r3, 4(r30) -/* 801486C0 00145620 38 03 00 01 */ addi r0, r3, 1 -/* 801486C4 00145624 90 1E 00 04 */ stw r0, 4(r30) -/* 801486C8 00145628 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801486CC 0014562C 83 C1 00 08 */ lwz r30, 8(r1) -/* 801486D0 00145630 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801486D4 00145634 7C 08 03 A6 */ mtlr r0 -/* 801486D8 00145638 38 21 00 10 */ addi r1, r1, 0x10 -/* 801486DC 0014563C 4E 80 00 20 */ blr - -.global sub_801486e0 -sub_801486e0: -/* 801486E0 00145640 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801486E4 00145644 7C 08 02 A6 */ mflr r0 -/* 801486E8 00145648 28 03 00 00 */ cmplwi r3, 0 -/* 801486EC 0014564C 90 01 00 14 */ stw r0, 0x14(r1) -/* 801486F0 00145650 41 82 00 08 */ beq lbl_801486F8 -/* 801486F4 00145654 48 00 00 15 */ bl sub_80148708 -lbl_801486F8: -/* 801486F8 00145658 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801486FC 0014565C 7C 08 03 A6 */ mtlr r0 -/* 80148700 00145660 38 21 00 10 */ addi r1, r1, 0x10 -/* 80148704 00145664 4E 80 00 20 */ blr - -.global sub_80148708 -sub_80148708: -/* 80148708 00145668 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8014870C 0014566C 7C 08 02 A6 */ mflr r0 -/* 80148710 00145670 90 01 00 24 */ stw r0, 0x24(r1) -/* 80148714 00145674 BF 41 00 08 */ stmw r26, 8(r1) -/* 80148718 00145678 7C 7E 1B 78 */ mr r30, r3 -/* 8014871C 0014567C 7C 9F 23 78 */ mr r31, r4 -/* 80148720 00145680 48 00 07 A9 */ bl sub_80148ec8 -/* 80148724 00145684 3C 60 80 3F */ lis r3, lbl_803EDA80@ha -/* 80148728 00145688 3B 5E 00 1C */ addi r26, r30, 0x1c -/* 8014872C 0014568C 38 03 DA 80 */ addi r0, r3, lbl_803EDA80@l -/* 80148730 00145690 38 9F 00 1C */ addi r4, r31, 0x1c -/* 80148734 00145694 90 1E 00 00 */ stw r0, 0(r30) -/* 80148738 00145698 7F 43 D3 78 */ mr r3, r26 -/* 8014873C 0014569C 48 1F 87 6D */ bl __ct__6CTokenFRC6CToken -/* 80148740 001456A0 80 1F 00 24 */ lwz r0, 0x24(r31) -/* 80148744 001456A4 7F 43 D3 78 */ mr r3, r26 -/* 80148748 001456A8 90 1A 00 08 */ stw r0, 8(r26) -/* 8014874C 001456AC 48 1F 86 39 */ bl Lock__6CTokenFv -/* 80148750 001456B0 80 1F 00 28 */ lwz r0, 0x28(r31) -/* 80148754 001456B4 38 7E 00 30 */ addi r3, r30, 0x30 -/* 80148758 001456B8 38 9F 00 30 */ addi r4, r31, 0x30 -/* 8014875C 001456BC 90 1E 00 28 */ stw r0, 0x28(r30) -/* 80148760 001456C0 80 1F 00 2C */ lwz r0, 0x2c(r31) -/* 80148764 001456C4 90 1E 00 2C */ stw r0, 0x2c(r30) -/* 80148768 001456C8 48 00 06 19 */ bl sub_80148d80 -/* 8014876C 001456CC 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 80148770 001456D0 90 1E 00 44 */ stw r0, 0x44(r30) -/* 80148774 001456D4 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 80148778 001456D8 90 1E 00 48 */ stw r0, 0x48(r30) -/* 8014877C 001456DC 80 1F 00 44 */ lwz r0, 0x44(r31) -/* 80148780 001456E0 2C 00 00 00 */ cmpwi r0, 0 -/* 80148784 001456E4 40 82 00 1C */ bne lbl_801487A0 -/* 80148788 001456E8 80 1F 00 48 */ lwz r0, 0x48(r31) -/* 8014878C 001456EC 2C 00 00 00 */ cmpwi r0, 0 -/* 80148790 001456F0 40 82 00 10 */ bne lbl_801487A0 -/* 80148794 001456F4 38 00 00 00 */ li r0, 0 -/* 80148798 001456F8 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 8014879C 001456FC 48 00 00 7C */ b lbl_80148818 -lbl_801487A0: -/* 801487A0 00145700 80 1E 00 48 */ lwz r0, 0x48(r30) -/* 801487A4 00145704 1C 60 00 0C */ mulli r3, r0, 0xc -/* 801487A8 00145708 2C 03 00 00 */ cmpwi r3, 0 -/* 801487AC 0014570C 40 82 00 10 */ bne lbl_801487BC -/* 801487B0 00145710 38 00 00 00 */ li r0, 0 -/* 801487B4 00145714 90 1E 00 4C */ stw r0, 0x4c(r30) -/* 801487B8 00145718 48 00 00 1C */ b lbl_801487D4 -lbl_801487BC: -/* 801487BC 0014571C 3C 80 80 3D */ lis r4, lbl_803D00A0@ha -/* 801487C0 00145720 38 A0 00 00 */ li r5, 0 -/* 801487C4 00145724 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l -/* 801487C8 00145728 38 84 00 C7 */ addi r4, r4, 0xc7 -/* 801487CC 0014572C 48 1C D0 4D */ bl __nwa__FUlPCcPCc -/* 801487D0 00145730 90 7E 00 4C */ stw r3, 0x4c(r30) -lbl_801487D4: -/* 801487D4 00145734 80 1E 00 44 */ lwz r0, 0x44(r30) -/* 801487D8 00145738 80 9F 00 4C */ lwz r4, 0x4c(r31) -/* 801487DC 0014573C 80 7E 00 4C */ lwz r3, 0x4c(r30) -/* 801487E0 00145740 7C 09 03 A6 */ mtctr r0 -/* 801487E4 00145744 2C 00 00 00 */ cmpwi r0, 0 -/* 801487E8 00145748 40 81 00 30 */ ble lbl_80148818 -lbl_801487EC: -/* 801487EC 0014574C 28 03 00 00 */ cmplwi r3, 0 -/* 801487F0 00145750 41 82 00 1C */ beq lbl_8014880C -/* 801487F4 00145754 C0 04 00 00 */ lfs f0, 0(r4) -/* 801487F8 00145758 D0 03 00 00 */ stfs f0, 0(r3) -/* 801487FC 0014575C C0 04 00 04 */ lfs f0, 4(r4) -/* 80148800 00145760 D0 03 00 04 */ stfs f0, 4(r3) -/* 80148804 00145764 C0 04 00 08 */ lfs f0, 8(r4) -/* 80148808 00145768 D0 03 00 08 */ stfs f0, 8(r3) -lbl_8014880C: -/* 8014880C 0014576C 38 63 00 0C */ addi r3, r3, 0xc -/* 80148810 00145770 38 84 00 0C */ addi r4, r4, 0xc -/* 80148814 00145774 42 00 FF D8 */ bdnz lbl_801487EC -lbl_80148818: -/* 80148818 00145778 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 8014881C 0014577C 90 1E 00 54 */ stw r0, 0x54(r30) -/* 80148820 00145780 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 80148824 00145784 90 1E 00 58 */ stw r0, 0x58(r30) -/* 80148828 00145788 80 1F 00 54 */ lwz r0, 0x54(r31) -/* 8014882C 0014578C 2C 00 00 00 */ cmpwi r0, 0 -/* 80148830 00145790 40 82 00 1C */ bne lbl_8014884C -/* 80148834 00145794 80 1F 00 58 */ lwz r0, 0x58(r31) -/* 80148838 00145798 2C 00 00 00 */ cmpwi r0, 0 -/* 8014883C 0014579C 40 82 00 10 */ bne lbl_8014884C -/* 80148840 001457A0 38 00 00 00 */ li r0, 0 -/* 80148844 001457A4 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 80148848 001457A8 48 00 00 74 */ b lbl_801488BC -lbl_8014884C: -/* 8014884C 001457AC 80 1E 00 58 */ lwz r0, 0x58(r30) -/* 80148850 001457B0 1C 60 00 24 */ mulli r3, r0, 0x24 -/* 80148854 001457B4 2C 03 00 00 */ cmpwi r3, 0 -/* 80148858 001457B8 40 82 00 10 */ bne lbl_80148868 -/* 8014885C 001457BC 38 00 00 00 */ li r0, 0 -/* 80148860 001457C0 90 1E 00 5C */ stw r0, 0x5c(r30) -/* 80148864 001457C4 48 00 00 1C */ b lbl_80148880 -lbl_80148868: -/* 80148868 001457C8 3C 80 80 3D */ lis r4, lbl_803D00A0@ha -/* 8014886C 001457CC 38 A0 00 00 */ li r5, 0 -/* 80148870 001457D0 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l -/* 80148874 001457D4 38 84 00 C7 */ addi r4, r4, 0xc7 -/* 80148878 001457D8 48 1C CF A1 */ bl __nwa__FUlPCcPCc -/* 8014887C 001457DC 90 7E 00 5C */ stw r3, 0x5c(r30) -lbl_80148880: -/* 80148880 001457E0 83 5E 00 54 */ lwz r26, 0x54(r30) -/* 80148884 001457E4 3B A0 00 00 */ li r29, 0 -/* 80148888 001457E8 83 7F 00 5C */ lwz r27, 0x5c(r31) -/* 8014888C 001457EC 83 9E 00 5C */ lwz r28, 0x5c(r30) -/* 80148890 001457F0 48 00 00 24 */ b lbl_801488B4 -lbl_80148894: -/* 80148894 001457F4 28 1C 00 00 */ cmplwi r28, 0 -/* 80148898 001457F8 41 82 00 10 */ beq lbl_801488A8 -/* 8014889C 001457FC 7F 83 E3 78 */ mr r3, r28 -/* 801488A0 00145800 7F 64 DB 78 */ mr r4, r27 -/* 801488A4 00145804 48 1C 77 81 */ bl __ct__9CMatrix3fFRC9CMatrix3f -lbl_801488A8: -/* 801488A8 00145808 3B 9C 00 24 */ addi r28, r28, 0x24 -/* 801488AC 0014580C 3B BD 00 01 */ addi r29, r29, 1 -/* 801488B0 00145810 3B 7B 00 24 */ addi r27, r27, 0x24 -lbl_801488B4: -/* 801488B4 00145814 7C 1D D0 00 */ cmpw r29, r26 -/* 801488B8 00145818 41 80 FF DC */ blt lbl_80148894 -lbl_801488BC: -/* 801488BC 0014581C 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 801488C0 00145820 90 1E 00 64 */ stw r0, 0x64(r30) -/* 801488C4 00145824 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 801488C8 00145828 90 1E 00 68 */ stw r0, 0x68(r30) -/* 801488CC 0014582C 80 1F 00 64 */ lwz r0, 0x64(r31) -/* 801488D0 00145830 2C 00 00 00 */ cmpwi r0, 0 -/* 801488D4 00145834 40 82 00 1C */ bne lbl_801488F0 -/* 801488D8 00145838 80 1F 00 68 */ lwz r0, 0x68(r31) -/* 801488DC 0014583C 2C 00 00 00 */ cmpwi r0, 0 -/* 801488E0 00145840 40 82 00 10 */ bne lbl_801488F0 -/* 801488E4 00145844 38 00 00 00 */ li r0, 0 -/* 801488E8 00145848 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 801488EC 0014584C 48 00 00 A0 */ b lbl_8014898C -lbl_801488F0: -/* 801488F0 00145850 80 1E 00 68 */ lwz r0, 0x68(r30) -/* 801488F4 00145854 54 03 28 35 */ rlwinm. r3, r0, 5, 0, 0x1a -/* 801488F8 00145858 40 82 00 10 */ bne lbl_80148908 -/* 801488FC 0014585C 38 00 00 00 */ li r0, 0 -/* 80148900 00145860 90 1E 00 6C */ stw r0, 0x6c(r30) -/* 80148904 00145864 48 00 00 1C */ b lbl_80148920 -lbl_80148908: -/* 80148908 00145868 3C 80 80 3D */ lis r4, lbl_803D00A0@ha -/* 8014890C 0014586C 38 A0 00 00 */ li r5, 0 -/* 80148910 00145870 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l -/* 80148914 00145874 38 84 00 C7 */ addi r4, r4, 0xc7 -/* 80148918 00145878 48 1C CF 01 */ bl __nwa__FUlPCcPCc -/* 8014891C 0014587C 90 7E 00 6C */ stw r3, 0x6c(r30) -lbl_80148920: -/* 80148920 00145880 80 1E 00 64 */ lwz r0, 0x64(r30) -/* 80148924 00145884 80 BF 00 6C */ lwz r5, 0x6c(r31) -/* 80148928 00145888 80 9E 00 6C */ lwz r4, 0x6c(r30) -/* 8014892C 0014588C 7C 09 03 A6 */ mtctr r0 -/* 80148930 00145890 2C 00 00 00 */ cmpwi r0, 0 -/* 80148934 00145894 40 81 00 58 */ ble lbl_8014898C -lbl_80148938: -/* 80148938 00145898 28 04 00 00 */ cmplwi r4, 0 -/* 8014893C 0014589C 41 82 00 44 */ beq lbl_80148980 -/* 80148940 001458A0 80 65 00 00 */ lwz r3, 0(r5) -/* 80148944 001458A4 80 05 00 04 */ lwz r0, 4(r5) -/* 80148948 001458A8 90 64 00 00 */ stw r3, 0(r4) -/* 8014894C 001458AC 90 04 00 04 */ stw r0, 4(r4) -/* 80148950 001458B0 80 65 00 08 */ lwz r3, 8(r5) -/* 80148954 001458B4 80 05 00 0C */ lwz r0, 0xc(r5) -/* 80148958 001458B8 90 64 00 08 */ stw r3, 8(r4) -/* 8014895C 001458BC 90 04 00 0C */ stw r0, 0xc(r4) -/* 80148960 001458C0 80 65 00 10 */ lwz r3, 0x10(r5) -/* 80148964 001458C4 80 05 00 14 */ lwz r0, 0x14(r5) -/* 80148968 001458C8 90 64 00 10 */ stw r3, 0x10(r4) -/* 8014896C 001458CC 90 04 00 14 */ stw r0, 0x14(r4) -/* 80148970 001458D0 80 65 00 18 */ lwz r3, 0x18(r5) -/* 80148974 001458D4 80 05 00 1C */ lwz r0, 0x1c(r5) -/* 80148978 001458D8 90 64 00 18 */ stw r3, 0x18(r4) -/* 8014897C 001458DC 90 04 00 1C */ stw r0, 0x1c(r4) -lbl_80148980: -/* 80148980 001458E0 38 84 00 20 */ addi r4, r4, 0x20 -/* 80148984 001458E4 38 A5 00 20 */ addi r5, r5, 0x20 -/* 80148988 001458E8 42 00 FF B0 */ bdnz lbl_80148938 -lbl_8014898C: -/* 8014898C 001458EC 80 1F 00 70 */ lwz r0, 0x70(r31) -/* 80148990 001458F0 38 7E 01 0C */ addi r3, r30, 0x10c -/* 80148994 001458F4 38 9F 01 0C */ addi r4, r31, 0x10c -/* 80148998 001458F8 90 1E 00 70 */ stw r0, 0x70(r30) -/* 8014899C 001458FC 80 1F 00 74 */ lwz r0, 0x74(r31) -/* 801489A0 00145900 90 1E 00 74 */ stw r0, 0x74(r30) -/* 801489A4 00145904 C8 1F 00 78 */ lfd f0, 0x78(r31) -/* 801489A8 00145908 D8 1E 00 78 */ stfd f0, 0x78(r30) -/* 801489AC 0014590C C0 1F 00 80 */ lfs f0, 0x80(r31) -/* 801489B0 00145910 D0 1E 00 80 */ stfs f0, 0x80(r30) -/* 801489B4 00145914 80 1F 00 84 */ lwz r0, 0x84(r31) -/* 801489B8 00145918 90 1E 00 84 */ stw r0, 0x84(r30) -/* 801489BC 0014591C 88 1F 00 88 */ lbz r0, 0x88(r31) -/* 801489C0 00145920 98 1E 00 88 */ stb r0, 0x88(r30) -/* 801489C4 00145924 C0 1F 00 8C */ lfs f0, 0x8c(r31) -/* 801489C8 00145928 D0 1E 00 8C */ stfs f0, 0x8c(r30) -/* 801489CC 0014592C 80 1F 00 90 */ lwz r0, 0x90(r31) -/* 801489D0 00145930 90 1E 00 90 */ stw r0, 0x90(r30) -/* 801489D4 00145934 A8 1F 00 94 */ lha r0, 0x94(r31) -/* 801489D8 00145938 B0 1E 00 94 */ sth r0, 0x94(r30) -/* 801489DC 0014593C C0 1F 00 98 */ lfs f0, 0x98(r31) -/* 801489E0 00145940 D0 1E 00 98 */ stfs f0, 0x98(r30) -/* 801489E4 00145944 80 BF 00 9C */ lwz r5, 0x9c(r31) -/* 801489E8 00145948 80 1F 00 A0 */ lwz r0, 0xa0(r31) -/* 801489EC 0014594C 90 BE 00 9C */ stw r5, 0x9c(r30) -/* 801489F0 00145950 90 1E 00 A0 */ stw r0, 0xa0(r30) -/* 801489F4 00145954 80 BF 00 A4 */ lwz r5, 0xa4(r31) -/* 801489F8 00145958 80 1F 00 A8 */ lwz r0, 0xa8(r31) -/* 801489FC 0014595C 90 BE 00 A4 */ stw r5, 0xa4(r30) -/* 80148A00 00145960 90 1E 00 A8 */ stw r0, 0xa8(r30) -/* 80148A04 00145964 80 BF 00 AC */ lwz r5, 0xac(r31) -/* 80148A08 00145968 80 1F 00 B0 */ lwz r0, 0xb0(r31) -/* 80148A0C 0014596C 90 BE 00 AC */ stw r5, 0xac(r30) -/* 80148A10 00145970 90 1E 00 B0 */ stw r0, 0xb0(r30) -/* 80148A14 00145974 80 BF 00 B4 */ lwz r5, 0xb4(r31) -/* 80148A18 00145978 80 1F 00 B8 */ lwz r0, 0xb8(r31) -/* 80148A1C 0014597C 90 BE 00 B4 */ stw r5, 0xb4(r30) -/* 80148A20 00145980 90 1E 00 B8 */ stw r0, 0xb8(r30) -/* 80148A24 00145984 80 BF 00 BC */ lwz r5, 0xbc(r31) -/* 80148A28 00145988 80 1F 00 C0 */ lwz r0, 0xc0(r31) -/* 80148A2C 0014598C 90 BE 00 BC */ stw r5, 0xbc(r30) -/* 80148A30 00145990 90 1E 00 C0 */ stw r0, 0xc0(r30) -/* 80148A34 00145994 80 BF 00 C4 */ lwz r5, 0xc4(r31) -/* 80148A38 00145998 80 1F 00 C8 */ lwz r0, 0xc8(r31) -/* 80148A3C 0014599C 90 BE 00 C4 */ stw r5, 0xc4(r30) -/* 80148A40 001459A0 90 1E 00 C8 */ stw r0, 0xc8(r30) -/* 80148A44 001459A4 80 BF 00 CC */ lwz r5, 0xcc(r31) -/* 80148A48 001459A8 80 1F 00 D0 */ lwz r0, 0xd0(r31) -/* 80148A4C 001459AC 90 BE 00 CC */ stw r5, 0xcc(r30) -/* 80148A50 001459B0 90 1E 00 D0 */ stw r0, 0xd0(r30) -/* 80148A54 001459B4 80 BF 00 D4 */ lwz r5, 0xd4(r31) -/* 80148A58 001459B8 80 1F 00 D8 */ lwz r0, 0xd8(r31) -/* 80148A5C 001459BC 90 BE 00 D4 */ stw r5, 0xd4(r30) -/* 80148A60 001459C0 90 1E 00 D8 */ stw r0, 0xd8(r30) -/* 80148A64 001459C4 C0 1F 00 DC */ lfs f0, 0xdc(r31) -/* 80148A68 001459C8 D0 1E 00 DC */ stfs f0, 0xdc(r30) -/* 80148A6C 001459CC C0 1F 00 E0 */ lfs f0, 0xe0(r31) -/* 80148A70 001459D0 D0 1E 00 E0 */ stfs f0, 0xe0(r30) -/* 80148A74 001459D4 C0 1F 00 E4 */ lfs f0, 0xe4(r31) -/* 80148A78 001459D8 D0 1E 00 E4 */ stfs f0, 0xe4(r30) -/* 80148A7C 001459DC C0 1F 00 E8 */ lfs f0, 0xe8(r31) -/* 80148A80 001459E0 D0 1E 00 E8 */ stfs f0, 0xe8(r30) -/* 80148A84 001459E4 C0 1F 00 EC */ lfs f0, 0xec(r31) -/* 80148A88 001459E8 D0 1E 00 EC */ stfs f0, 0xec(r30) -/* 80148A8C 001459EC C0 1F 00 F0 */ lfs f0, 0xf0(r31) -/* 80148A90 001459F0 D0 1E 00 F0 */ stfs f0, 0xf0(r30) -/* 80148A94 001459F4 C0 1F 00 F4 */ lfs f0, 0xf4(r31) -/* 80148A98 001459F8 D0 1E 00 F4 */ stfs f0, 0xf4(r30) -/* 80148A9C 001459FC C0 1F 00 F8 */ lfs f0, 0xf8(r31) -/* 80148AA0 00145A00 D0 1E 00 F8 */ stfs f0, 0xf8(r30) -/* 80148AA4 00145A04 C0 1F 00 FC */ lfs f0, 0xfc(r31) -/* 80148AA8 00145A08 D0 1E 00 FC */ stfs f0, 0xfc(r30) -/* 80148AAC 00145A0C C0 1F 01 00 */ lfs f0, 0x100(r31) -/* 80148AB0 00145A10 D0 1E 01 00 */ stfs f0, 0x100(r30) -/* 80148AB4 00145A14 C0 1F 01 04 */ lfs f0, 0x104(r31) -/* 80148AB8 00145A18 D0 1E 01 04 */ stfs f0, 0x104(r30) -/* 80148ABC 00145A1C C0 1F 01 08 */ lfs f0, 0x108(r31) -/* 80148AC0 00145A20 D0 1E 01 08 */ stfs f0, 0x108(r30) -/* 80148AC4 00145A24 48 1C A0 B1 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80148AC8 00145A28 38 7E 01 3C */ addi r3, r30, 0x13c -/* 80148ACC 00145A2C 38 9F 01 3C */ addi r4, r31, 0x13c -/* 80148AD0 00145A30 48 1C A0 A5 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80148AD4 00145A34 C0 1F 01 6C */ lfs f0, 0x16c(r31) -/* 80148AD8 00145A38 38 7E 01 78 */ addi r3, r30, 0x178 -/* 80148ADC 00145A3C 38 9F 01 78 */ addi r4, r31, 0x178 -/* 80148AE0 00145A40 D0 1E 01 6C */ stfs f0, 0x16c(r30) -/* 80148AE4 00145A44 C0 1F 01 70 */ lfs f0, 0x170(r31) -/* 80148AE8 00145A48 D0 1E 01 70 */ stfs f0, 0x170(r30) -/* 80148AEC 00145A4C C0 1F 01 74 */ lfs f0, 0x174(r31) -/* 80148AF0 00145A50 D0 1E 01 74 */ stfs f0, 0x174(r30) -/* 80148AF4 00145A54 48 1C A0 81 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80148AF8 00145A58 38 7E 01 A8 */ addi r3, r30, 0x1a8 -/* 80148AFC 00145A5C 38 9F 01 A8 */ addi r4, r31, 0x1a8 -/* 80148B00 00145A60 48 1C A0 75 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80148B04 00145A64 38 7E 01 D8 */ addi r3, r30, 0x1d8 -/* 80148B08 00145A68 38 9F 01 D8 */ addi r4, r31, 0x1d8 -/* 80148B0C 00145A6C 48 1C A0 69 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80148B10 00145A70 38 7E 02 08 */ addi r3, r30, 0x208 -/* 80148B14 00145A74 38 9F 02 08 */ addi r4, r31, 0x208 -/* 80148B18 00145A78 48 1C 75 0D */ bl __ct__9CMatrix3fFRC9CMatrix3f -/* 80148B1C 00145A7C 38 7E 02 2C */ addi r3, r30, 0x22c -/* 80148B20 00145A80 38 9F 02 2C */ addi r4, r31, 0x22c -/* 80148B24 00145A84 48 1C A0 51 */ bl __ct__12CTransform4fFRC12CTransform4f -/* 80148B28 00145A88 80 1F 02 5C */ lwz r0, 0x25c(r31) -/* 80148B2C 00145A8C 90 1E 02 5C */ stw r0, 0x25c(r30) -/* 80148B30 00145A90 80 1F 02 60 */ lwz r0, 0x260(r31) -/* 80148B34 00145A94 90 1E 02 60 */ stw r0, 0x260(r30) -/* 80148B38 00145A98 80 1F 02 64 */ lwz r0, 0x264(r31) -/* 80148B3C 00145A9C 90 1E 02 64 */ stw r0, 0x264(r30) -/* 80148B40 00145AA0 80 1F 02 68 */ lwz r0, 0x268(r31) -/* 80148B44 00145AA4 90 1E 02 68 */ stw r0, 0x268(r30) -/* 80148B48 00145AA8 88 1F 02 6C */ lbz r0, 0x26c(r31) -/* 80148B4C 00145AAC 98 1E 02 6C */ stb r0, 0x26c(r30) -/* 80148B50 00145AB0 88 1F 02 6D */ lbz r0, 0x26d(r31) -/* 80148B54 00145AB4 98 1E 02 6D */ stb r0, 0x26d(r30) -/* 80148B58 00145AB8 80 1F 02 70 */ lwz r0, 0x270(r31) -/* 80148B5C 00145ABC 90 1E 02 70 */ stw r0, 0x270(r30) -/* 80148B60 00145AC0 88 1F 02 74 */ lbz r0, 0x274(r31) -/* 80148B64 00145AC4 98 1E 02 74 */ stb r0, 0x274(r30) -/* 80148B68 00145AC8 80 1F 02 78 */ lwz r0, 0x278(r31) -/* 80148B6C 00145ACC 90 1E 02 78 */ stw r0, 0x278(r30) -/* 80148B70 00145AD0 80 1F 02 7C */ lwz r0, 0x27c(r31) -/* 80148B74 00145AD4 90 1E 02 7C */ stw r0, 0x27c(r30) -/* 80148B78 00145AD8 80 7F 02 80 */ lwz r3, 0x280(r31) -/* 80148B7C 00145ADC 80 1F 02 84 */ lwz r0, 0x284(r31) -/* 80148B80 00145AE0 90 7E 02 80 */ stw r3, 0x280(r30) -/* 80148B84 00145AE4 90 1E 02 84 */ stw r0, 0x284(r30) -/* 80148B88 00145AE8 80 7F 02 88 */ lwz r3, 0x288(r31) -/* 80148B8C 00145AEC 80 1F 02 8C */ lwz r0, 0x28c(r31) -/* 80148B90 00145AF0 90 7E 02 88 */ stw r3, 0x288(r30) -/* 80148B94 00145AF4 90 1E 02 8C */ stw r0, 0x28c(r30) -/* 80148B98 00145AF8 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 80148B9C 00145AFC 90 1E 02 94 */ stw r0, 0x294(r30) -/* 80148BA0 00145B00 80 1F 02 98 */ lwz r0, 0x298(r31) -/* 80148BA4 00145B04 90 1E 02 98 */ stw r0, 0x298(r30) -/* 80148BA8 00145B08 80 1F 02 94 */ lwz r0, 0x294(r31) -/* 80148BAC 00145B0C 2C 00 00 00 */ cmpwi r0, 0 -/* 80148BB0 00145B10 40 82 00 1C */ bne lbl_80148BCC -/* 80148BB4 00145B14 80 1F 02 98 */ lwz r0, 0x298(r31) -/* 80148BB8 00145B18 2C 00 00 00 */ cmpwi r0, 0 -/* 80148BBC 00145B1C 40 82 00 10 */ bne lbl_80148BCC -/* 80148BC0 00145B20 38 00 00 00 */ li r0, 0 -/* 80148BC4 00145B24 90 1E 02 9C */ stw r0, 0x29c(r30) -/* 80148BC8 00145B28 48 00 00 68 */ b lbl_80148C30 -lbl_80148BCC: -/* 80148BCC 00145B2C 80 1E 02 98 */ lwz r0, 0x298(r30) -/* 80148BD0 00145B30 54 03 10 3B */ rlwinm. r3, r0, 2, 0, 0x1d -/* 80148BD4 00145B34 40 82 00 10 */ bne lbl_80148BE4 -/* 80148BD8 00145B38 38 00 00 00 */ li r0, 0 -/* 80148BDC 00145B3C 90 1E 02 9C */ stw r0, 0x29c(r30) -/* 80148BE0 00145B40 48 00 00 1C */ b lbl_80148BFC -lbl_80148BE4: -/* 80148BE4 00145B44 3C 80 80 3D */ lis r4, lbl_803D00A0@ha -/* 80148BE8 00145B48 38 A0 00 00 */ li r5, 0 -/* 80148BEC 00145B4C 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l -/* 80148BF0 00145B50 38 84 00 C7 */ addi r4, r4, 0xc7 -/* 80148BF4 00145B54 48 1C CC 25 */ bl __nwa__FUlPCcPCc -/* 80148BF8 00145B58 90 7E 02 9C */ stw r3, 0x29c(r30) -lbl_80148BFC: -/* 80148BFC 00145B5C 80 1E 02 94 */ lwz r0, 0x294(r30) -/* 80148C00 00145B60 80 9F 02 9C */ lwz r4, 0x29c(r31) -/* 80148C04 00145B64 80 7E 02 9C */ lwz r3, 0x29c(r30) -/* 80148C08 00145B68 7C 09 03 A6 */ mtctr r0 -/* 80148C0C 00145B6C 2C 00 00 00 */ cmpwi r0, 0 -/* 80148C10 00145B70 40 81 00 20 */ ble lbl_80148C30 -lbl_80148C14: -/* 80148C14 00145B74 28 03 00 00 */ cmplwi r3, 0 -/* 80148C18 00145B78 41 82 00 0C */ beq lbl_80148C24 -/* 80148C1C 00145B7C 80 04 00 00 */ lwz r0, 0(r4) -/* 80148C20 00145B80 90 03 00 00 */ stw r0, 0(r3) -lbl_80148C24: -/* 80148C24 00145B84 38 63 00 04 */ addi r3, r3, 4 -/* 80148C28 00145B88 38 84 00 04 */ addi r4, r4, 4 -/* 80148C2C 00145B8C 42 00 FF E8 */ bdnz lbl_80148C14 -lbl_80148C30: -/* 80148C30 00145B90 80 1F 02 A0 */ lwz r0, 0x2a0(r31) -/* 80148C34 00145B94 7F C3 F3 78 */ mr r3, r30 -/* 80148C38 00145B98 90 1E 02 A0 */ stw r0, 0x2a0(r30) -/* 80148C3C 00145B9C 80 1F 02 A4 */ lwz r0, 0x2a4(r31) -/* 80148C40 00145BA0 90 1E 02 A4 */ stw r0, 0x2a4(r30) -/* 80148C44 00145BA4 80 1F 02 A8 */ lwz r0, 0x2a8(r31) -/* 80148C48 00145BA8 90 1E 02 A8 */ stw r0, 0x2a8(r30) -/* 80148C4C 00145BAC 80 1F 02 AC */ lwz r0, 0x2ac(r31) -/* 80148C50 00145BB0 90 1E 02 AC */ stw r0, 0x2ac(r30) -/* 80148C54 00145BB4 C0 1F 02 B0 */ lfs f0, 0x2b0(r31) -/* 80148C58 00145BB8 D0 1E 02 B0 */ stfs f0, 0x2b0(r30) -/* 80148C5C 00145BBC C0 1F 02 B4 */ lfs f0, 0x2b4(r31) -/* 80148C60 00145BC0 D0 1E 02 B4 */ stfs f0, 0x2b4(r30) -/* 80148C64 00145BC4 C0 1F 02 B8 */ lfs f0, 0x2b8(r31) -/* 80148C68 00145BC8 D0 1E 02 B8 */ stfs f0, 0x2b8(r30) -/* 80148C6C 00145BCC 80 1F 02 BC */ lwz r0, 0x2bc(r31) -/* 80148C70 00145BD0 90 1E 02 BC */ stw r0, 0x2bc(r30) -/* 80148C74 00145BD4 C0 1F 02 C0 */ lfs f0, 0x2c0(r31) -/* 80148C78 00145BD8 D0 1E 02 C0 */ stfs f0, 0x2c0(r30) -/* 80148C7C 00145BDC C0 1F 02 C4 */ lfs f0, 0x2c4(r31) -/* 80148C80 00145BE0 D0 1E 02 C4 */ stfs f0, 0x2c4(r30) -/* 80148C84 00145BE4 C0 1F 02 C8 */ lfs f0, 0x2c8(r31) -/* 80148C88 00145BE8 D0 1E 02 C8 */ stfs f0, 0x2c8(r30) -/* 80148C8C 00145BEC C0 1F 02 CC */ lfs f0, 0x2cc(r31) -/* 80148C90 00145BF0 D0 1E 02 CC */ stfs f0, 0x2cc(r30) -/* 80148C94 00145BF4 C0 1F 02 D0 */ lfs f0, 0x2d0(r31) -/* 80148C98 00145BF8 D0 1E 02 D0 */ stfs f0, 0x2d0(r30) -/* 80148C9C 00145BFC C0 1F 02 D4 */ lfs f0, 0x2d4(r31) -/* 80148CA0 00145C00 D0 1E 02 D4 */ stfs f0, 0x2d4(r30) -/* 80148CA4 00145C04 C0 1F 02 D8 */ lfs f0, 0x2d8(r31) -/* 80148CA8 00145C08 D0 1E 02 D8 */ stfs f0, 0x2d8(r30) -/* 80148CAC 00145C0C C0 1F 02 DC */ lfs f0, 0x2dc(r31) -/* 80148CB0 00145C10 D0 1E 02 DC */ stfs f0, 0x2dc(r30) -/* 80148CB4 00145C14 C0 1F 02 E0 */ lfs f0, 0x2e0(r31) -/* 80148CB8 00145C18 D0 1E 02 E0 */ stfs f0, 0x2e0(r30) -/* 80148CBC 00145C1C C0 1F 02 E4 */ lfs f0, 0x2e4(r31) -/* 80148CC0 00145C20 D0 1E 02 E4 */ stfs f0, 0x2e4(r30) -/* 80148CC4 00145C24 C0 1F 02 E8 */ lfs f0, 0x2e8(r31) -/* 80148CC8 00145C28 D0 1E 02 E8 */ stfs f0, 0x2e8(r30) -/* 80148CCC 00145C2C C0 1F 02 EC */ lfs f0, 0x2ec(r31) -/* 80148CD0 00145C30 D0 1E 02 EC */ stfs f0, 0x2ec(r30) -/* 80148CD4 00145C34 C0 1F 02 F0 */ lfs f0, 0x2f0(r31) -/* 80148CD8 00145C38 D0 1E 02 F0 */ stfs f0, 0x2f0(r30) -/* 80148CDC 00145C3C C0 1F 02 F4 */ lfs f0, 0x2f4(r31) -/* 80148CE0 00145C40 D0 1E 02 F4 */ stfs f0, 0x2f4(r30) -/* 80148CE4 00145C44 C0 1F 02 F8 */ lfs f0, 0x2f8(r31) -/* 80148CE8 00145C48 D0 1E 02 F8 */ stfs f0, 0x2f8(r30) -/* 80148CEC 00145C4C C0 1F 02 FC */ lfs f0, 0x2fc(r31) -/* 80148CF0 00145C50 D0 1E 02 FC */ stfs f0, 0x2fc(r30) -/* 80148CF4 00145C54 C0 1F 03 00 */ lfs f0, 0x300(r31) -/* 80148CF8 00145C58 D0 1E 03 00 */ stfs f0, 0x300(r30) -/* 80148CFC 00145C5C C0 1F 03 04 */ lfs f0, 0x304(r31) -/* 80148D00 00145C60 D0 1E 03 04 */ stfs f0, 0x304(r30) -/* 80148D04 00145C64 80 1F 03 08 */ lwz r0, 0x308(r31) -/* 80148D08 00145C68 90 1E 03 08 */ stw r0, 0x308(r30) -/* 80148D0C 00145C6C 80 1F 03 0C */ lwz r0, 0x30c(r31) -/* 80148D10 00145C70 90 1E 03 0C */ stw r0, 0x30c(r30) -/* 80148D14 00145C74 C0 1F 03 10 */ lfs f0, 0x310(r31) -/* 80148D18 00145C78 D0 1E 03 10 */ stfs f0, 0x310(r30) -/* 80148D1C 00145C7C C0 1F 03 14 */ lfs f0, 0x314(r31) -/* 80148D20 00145C80 D0 1E 03 14 */ stfs f0, 0x314(r30) -/* 80148D24 00145C84 C0 1F 03 18 */ lfs f0, 0x318(r31) -/* 80148D28 00145C88 D0 1E 03 18 */ stfs f0, 0x318(r30) -/* 80148D2C 00145C8C C0 1F 03 1C */ lfs f0, 0x31c(r31) -/* 80148D30 00145C90 D0 1E 03 1C */ stfs f0, 0x31c(r30) -/* 80148D34 00145C94 C0 1F 03 20 */ lfs f0, 0x320(r31) -/* 80148D38 00145C98 D0 1E 03 20 */ stfs f0, 0x320(r30) -/* 80148D3C 00145C9C C0 1F 03 24 */ lfs f0, 0x324(r31) -/* 80148D40 00145CA0 D0 1E 03 24 */ stfs f0, 0x324(r30) -/* 80148D44 00145CA4 C0 1F 03 28 */ lfs f0, 0x328(r31) -/* 80148D48 00145CA8 D0 1E 03 28 */ stfs f0, 0x328(r30) -/* 80148D4C 00145CAC 80 1F 03 2C */ lwz r0, 0x32c(r31) -/* 80148D50 00145CB0 90 1E 03 2C */ stw r0, 0x32c(r30) -/* 80148D54 00145CB4 C0 1F 03 30 */ lfs f0, 0x330(r31) -/* 80148D58 00145CB8 D0 1E 03 30 */ stfs f0, 0x330(r30) -/* 80148D5C 00145CBC C0 1F 03 34 */ lfs f0, 0x334(r31) -/* 80148D60 00145CC0 D0 1E 03 34 */ stfs f0, 0x334(r30) -/* 80148D64 00145CC4 80 1F 03 38 */ lwz r0, 0x338(r31) -/* 80148D68 00145CC8 90 1E 03 38 */ stw r0, 0x338(r30) -/* 80148D6C 00145CCC BB 41 00 08 */ lmw r26, 8(r1) -/* 80148D70 00145CD0 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80148D74 00145CD4 7C 08 03 A6 */ mtlr r0 -/* 80148D78 00145CD8 38 21 00 20 */ addi r1, r1, 0x20 -/* 80148D7C 00145CDC 4E 80 00 20 */ blr - -.global sub_80148d80 -sub_80148d80: -/* 80148D80 00145CE0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80148D84 00145CE4 7C 08 02 A6 */ mflr r0 -/* 80148D88 00145CE8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80148D8C 00145CEC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80148D90 00145CF0 7C 9F 23 78 */ mr r31, r4 -/* 80148D94 00145CF4 93 C1 00 08 */ stw r30, 8(r1) -/* 80148D98 00145CF8 7C 7E 1B 78 */ mr r30, r3 -/* 80148D9C 00145CFC 80 04 00 04 */ lwz r0, 4(r4) -/* 80148DA0 00145D00 90 03 00 04 */ stw r0, 4(r3) -/* 80148DA4 00145D04 80 04 00 08 */ lwz r0, 8(r4) -/* 80148DA8 00145D08 90 03 00 08 */ stw r0, 8(r3) -/* 80148DAC 00145D0C 80 04 00 04 */ lwz r0, 4(r4) -/* 80148DB0 00145D10 2C 00 00 00 */ cmpwi r0, 0 -/* 80148DB4 00145D14 40 82 00 1C */ bne lbl_80148DD0 -/* 80148DB8 00145D18 80 1F 00 08 */ lwz r0, 8(r31) -/* 80148DBC 00145D1C 2C 00 00 00 */ cmpwi r0, 0 -/* 80148DC0 00145D20 40 82 00 10 */ bne lbl_80148DD0 -/* 80148DC4 00145D24 38 00 00 00 */ li r0, 0 -/* 80148DC8 00145D28 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80148DCC 00145D2C 48 00 00 48 */ b lbl_80148E14 -lbl_80148DD0: -/* 80148DD0 00145D30 80 1E 00 08 */ lwz r0, 8(r30) -/* 80148DD4 00145D34 1C 60 00 38 */ mulli r3, r0, 0x38 -/* 80148DD8 00145D38 2C 03 00 00 */ cmpwi r3, 0 -/* 80148DDC 00145D3C 40 82 00 10 */ bne lbl_80148DEC -/* 80148DE0 00145D40 38 00 00 00 */ li r0, 0 -/* 80148DE4 00145D44 90 1E 00 0C */ stw r0, 0xc(r30) -/* 80148DE8 00145D48 48 00 00 1C */ b lbl_80148E04 -lbl_80148DEC: -/* 80148DEC 00145D4C 3C 80 80 3D */ lis r4, lbl_803D00A0@ha -/* 80148DF0 00145D50 38 A0 00 00 */ li r5, 0 -/* 80148DF4 00145D54 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l -/* 80148DF8 00145D58 38 84 00 C7 */ addi r4, r4, 0xc7 -/* 80148DFC 00145D5C 48 1C CA 1D */ bl __nwa__FUlPCcPCc -/* 80148E00 00145D60 90 7E 00 0C */ stw r3, 0xc(r30) -lbl_80148E04: -/* 80148E04 00145D64 80 7F 00 0C */ lwz r3, 0xc(r31) -/* 80148E08 00145D68 80 9E 00 04 */ lwz r4, 4(r30) -/* 80148E0C 00145D6C 80 BE 00 0C */ lwz r5, 0xc(r30) -/* 80148E10 00145D70 48 00 00 21 */ bl sub_80148e30 -lbl_80148E14: -/* 80148E14 00145D74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80148E18 00145D78 7F C3 F3 78 */ mr r3, r30 -/* 80148E1C 00145D7C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80148E20 00145D80 83 C1 00 08 */ lwz r30, 8(r1) -/* 80148E24 00145D84 7C 08 03 A6 */ mtlr r0 -/* 80148E28 00145D88 38 21 00 10 */ addi r1, r1, 0x10 -/* 80148E2C 00145D8C 4E 80 00 20 */ blr - -.global sub_80148e30 -sub_80148e30: -/* 80148E30 00145D90 7C 89 03 A6 */ mtctr r4 -/* 80148E34 00145D94 2C 04 00 00 */ cmpwi r4, 0 -/* 80148E38 00145D98 40 81 00 88 */ ble lbl_80148EC0 -lbl_80148E3C: -/* 80148E3C 00145D9C 28 05 00 00 */ cmplwi r5, 0 -/* 80148E40 00145DA0 41 82 00 74 */ beq lbl_80148EB4 -/* 80148E44 00145DA4 80 03 00 00 */ lwz r0, 0(r3) -/* 80148E48 00145DA8 90 05 00 00 */ stw r0, 0(r5) -/* 80148E4C 00145DAC C0 03 00 04 */ lfs f0, 4(r3) -/* 80148E50 00145DB0 D0 05 00 04 */ stfs f0, 4(r5) -/* 80148E54 00145DB4 C0 03 00 08 */ lfs f0, 8(r3) -/* 80148E58 00145DB8 D0 05 00 08 */ stfs f0, 8(r5) -/* 80148E5C 00145DBC C0 03 00 0C */ lfs f0, 0xc(r3) -/* 80148E60 00145DC0 D0 05 00 0C */ stfs f0, 0xc(r5) -/* 80148E64 00145DC4 C0 03 00 10 */ lfs f0, 0x10(r3) -/* 80148E68 00145DC8 D0 05 00 10 */ stfs f0, 0x10(r5) -/* 80148E6C 00145DCC C0 03 00 14 */ lfs f0, 0x14(r3) -/* 80148E70 00145DD0 D0 05 00 14 */ stfs f0, 0x14(r5) -/* 80148E74 00145DD4 C0 03 00 18 */ lfs f0, 0x18(r3) -/* 80148E78 00145DD8 D0 05 00 18 */ stfs f0, 0x18(r5) -/* 80148E7C 00145DDC C0 03 00 1C */ lfs f0, 0x1c(r3) -/* 80148E80 00145DE0 D0 05 00 1C */ stfs f0, 0x1c(r5) -/* 80148E84 00145DE4 C0 03 00 20 */ lfs f0, 0x20(r3) -/* 80148E88 00145DE8 D0 05 00 20 */ stfs f0, 0x20(r5) -/* 80148E8C 00145DEC C0 03 00 24 */ lfs f0, 0x24(r3) -/* 80148E90 00145DF0 D0 05 00 24 */ stfs f0, 0x24(r5) -/* 80148E94 00145DF4 80 03 00 28 */ lwz r0, 0x28(r3) -/* 80148E98 00145DF8 90 05 00 28 */ stw r0, 0x28(r5) -/* 80148E9C 00145DFC C0 03 00 2C */ lfs f0, 0x2c(r3) -/* 80148EA0 00145E00 D0 05 00 2C */ stfs f0, 0x2c(r5) -/* 80148EA4 00145E04 C0 03 00 30 */ lfs f0, 0x30(r3) -/* 80148EA8 00145E08 D0 05 00 30 */ stfs f0, 0x30(r5) -/* 80148EAC 00145E0C 80 03 00 34 */ lwz r0, 0x34(r3) -/* 80148EB0 00145E10 90 05 00 34 */ stw r0, 0x34(r5) -lbl_80148EB4: -/* 80148EB4 00145E14 38 A5 00 38 */ addi r5, r5, 0x38 -/* 80148EB8 00145E18 38 63 00 38 */ addi r3, r3, 0x38 -/* 80148EBC 00145E1C 42 00 FF 80 */ bdnz lbl_80148E3C -lbl_80148EC0: -/* 80148EC0 00145E20 7C A3 2B 78 */ mr r3, r5 -/* 80148EC4 00145E24 4E 80 00 20 */ blr - -.global sub_80148ec8 -sub_80148ec8: -/* 80148EC8 00145E28 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80148ECC 00145E2C 7C 08 02 A6 */ mflr r0 -/* 80148ED0 00145E30 3C A0 80 3F */ lis r5, lbl_803EDD08@ha -/* 80148ED4 00145E34 38 84 00 04 */ addi r4, r4, 4 -/* 80148ED8 00145E38 90 01 00 14 */ stw r0, 0x14(r1) -/* 80148EDC 00145E3C 38 05 DD 08 */ addi r0, r5, lbl_803EDD08@l -/* 80148EE0 00145E40 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80148EE4 00145E44 7C 7F 1B 78 */ mr r31, r3 -/* 80148EE8 00145E48 90 03 00 00 */ stw r0, 0(r3) -/* 80148EEC 00145E4C 38 7F 00 04 */ addi r3, r31, 4 -/* 80148EF0 00145E50 48 00 00 1D */ bl sub_80148f0c -/* 80148EF4 00145E54 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80148EF8 00145E58 7F E3 FB 78 */ mr r3, r31 -/* 80148EFC 00145E5C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80148F00 00145E60 7C 08 03 A6 */ mtlr r0 -/* 80148F04 00145E64 38 21 00 10 */ addi r1, r1, 0x10 -/* 80148F08 00145E68 4E 80 00 20 */ blr - -.global sub_80148f0c -sub_80148f0c: -/* 80148F0C 00145E6C 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80148F10 00145E70 7C 08 02 A6 */ mflr r0 -/* 80148F14 00145E74 38 E0 00 00 */ li r7, 0 -/* 80148F18 00145E78 90 01 00 34 */ stw r0, 0x34(r1) -/* 80148F1C 00145E7C 38 00 00 01 */ li r0, 1 -/* 80148F20 00145E80 38 A1 00 14 */ addi r5, r1, 0x14 -/* 80148F24 00145E84 38 C1 00 0C */ addi r6, r1, 0xc -/* 80148F28 00145E88 93 E1 00 2C */ stw r31, 0x2c(r1) -/* 80148F2C 00145E8C 7C 7F 1B 78 */ mr r31, r3 -/* 80148F30 00145E90 39 1F 00 0C */ addi r8, r31, 0xc -/* 80148F34 00145E94 91 03 00 04 */ stw r8, 4(r3) -/* 80148F38 00145E98 91 03 00 08 */ stw r8, 8(r3) -/* 80148F3C 00145E9C 91 03 00 0C */ stw r8, 0xc(r3) -/* 80148F40 00145EA0 91 03 00 10 */ stw r8, 0x10(r3) -/* 80148F44 00145EA4 90 E3 00 14 */ stw r7, 0x14(r3) -/* 80148F48 00145EA8 81 04 00 08 */ lwz r8, 8(r4) -/* 80148F4C 00145EAC 80 E4 00 04 */ lwz r7, 4(r4) -/* 80148F50 00145EB0 38 81 00 18 */ addi r4, r1, 0x18 -/* 80148F54 00145EB4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80148F58 00145EB8 98 01 00 20 */ stb r0, 0x20(r1) -/* 80148F5C 00145EBC 91 01 00 0C */ stw r8, 0xc(r1) -/* 80148F60 00145EC0 90 E1 00 14 */ stw r7, 0x14(r1) -/* 80148F64 00145EC4 80 03 00 08 */ lwz r0, 8(r3) -/* 80148F68 00145EC8 91 01 00 08 */ stw r8, 8(r1) -/* 80148F6C 00145ECC 90 E1 00 10 */ stw r7, 0x10(r1) -/* 80148F70 00145ED0 90 01 00 18 */ stw r0, 0x18(r1) -/* 80148F74 00145ED4 48 00 00 31 */ bl sub_80148fa4 -/* 80148F78 00145ED8 38 00 00 00 */ li r0, 0 -/* 80148F7C 00145EDC 38 61 00 1C */ addi r3, r1, 0x1c -/* 80148F80 00145EE0 98 01 00 20 */ stb r0, 0x20(r1) -/* 80148F84 00145EE4 38 80 FF FF */ li r4, -1 -/* 80148F88 00145EE8 48 00 00 D1 */ bl sub_80149058 -/* 80148F8C 00145EEC 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80148F90 00145EF0 7F E3 FB 78 */ mr r3, r31 -/* 80148F94 00145EF4 83 E1 00 2C */ lwz r31, 0x2c(r1) -/* 80148F98 00145EF8 7C 08 03 A6 */ mtlr r0 -/* 80148F9C 00145EFC 38 21 00 30 */ addi r1, r1, 0x30 -/* 80148FA0 00145F00 4E 80 00 20 */ blr - -.global sub_80148fa4 -sub_80148fa4: -/* 80148FA4 00145F04 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80148FA8 00145F08 7C 08 02 A6 */ mflr r0 -/* 80148FAC 00145F0C 3C E0 80 3D */ lis r7, lbl_803D00A0@ha -/* 80148FB0 00145F10 90 01 00 34 */ stw r0, 0x34(r1) -/* 80148FB4 00145F14 BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80148FB8 00145F18 7C 79 1B 78 */ mr r25, r3 -/* 80148FBC 00145F1C 7C 9A 23 78 */ mr r26, r4 -/* 80148FC0 00145F20 7C DB 33 78 */ mr r27, r6 -/* 80148FC4 00145F24 3B E7 00 A0 */ addi r31, r7, lbl_803D00A0@l -/* 80148FC8 00145F28 83 85 00 00 */ lwz r28, 0(r5) -/* 80148FCC 00145F2C 48 00 00 6C */ b lbl_80149038 -lbl_80148FD0: -/* 80148FD0 00145F30 83 DA 00 00 */ lwz r30, 0(r26) -/* 80148FD4 00145F34 38 9F 00 C7 */ addi r4, r31, 0xc7 -/* 80148FD8 00145F38 38 60 00 0C */ li r3, 0xc -/* 80148FDC 00145F3C 38 A0 00 00 */ li r5, 0 -/* 80148FE0 00145F40 83 BE 00 00 */ lwz r29, 0(r30) -/* 80148FE4 00145F44 48 1C C8 35 */ bl __nwa__FUlPCcPCc -/* 80148FE8 00145F48 28 03 00 00 */ cmplwi r3, 0 -/* 80148FEC 00145F4C 41 82 00 0C */ beq lbl_80148FF8 -/* 80148FF0 00145F50 93 A3 00 00 */ stw r29, 0(r3) -/* 80148FF4 00145F54 93 C3 00 04 */ stw r30, 4(r3) -lbl_80148FF8: -/* 80148FF8 00145F58 34 83 00 08 */ addic. r4, r3, 8 -/* 80148FFC 00145F5C 41 82 00 0C */ beq lbl_80149008 -/* 80149000 00145F60 80 1C 00 08 */ lwz r0, 8(r28) -/* 80149004 00145F64 90 04 00 00 */ stw r0, 0(r4) -lbl_80149008: -/* 80149008 00145F68 80 19 00 04 */ lwz r0, 4(r25) -/* 8014900C 00145F6C 7C 1E 00 40 */ cmplw r30, r0 -/* 80149010 00145F70 40 82 00 08 */ bne lbl_80149018 -/* 80149014 00145F74 90 79 00 04 */ stw r3, 4(r25) -lbl_80149018: -/* 80149018 00145F78 80 83 00 00 */ lwz r4, 0(r3) -/* 8014901C 00145F7C 90 64 00 04 */ stw r3, 4(r4) -/* 80149020 00145F80 80 83 00 04 */ lwz r4, 4(r3) -/* 80149024 00145F84 90 64 00 00 */ stw r3, 0(r4) -/* 80149028 00145F88 80 79 00 14 */ lwz r3, 0x14(r25) -/* 8014902C 00145F8C 38 03 00 01 */ addi r0, r3, 1 -/* 80149030 00145F90 90 19 00 14 */ stw r0, 0x14(r25) -/* 80149034 00145F94 83 9C 00 04 */ lwz r28, 4(r28) -lbl_80149038: -/* 80149038 00145F98 80 1B 00 00 */ lwz r0, 0(r27) -/* 8014903C 00145F9C 7C 1C 00 40 */ cmplw r28, r0 -/* 80149040 00145FA0 40 82 FF 90 */ bne lbl_80148FD0 -/* 80149044 00145FA4 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 80149048 00145FA8 80 01 00 34 */ lwz r0, 0x34(r1) -/* 8014904C 00145FAC 7C 08 03 A6 */ mtlr r0 -/* 80149050 00145FB0 38 21 00 30 */ addi r1, r1, 0x30 -/* 80149054 00145FB4 4E 80 00 20 */ blr - -.global sub_80149058 -sub_80149058: -/* 80149058 00145FB8 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 8014905C 00145FBC 7C 08 02 A6 */ mflr r0 -/* 80149060 00145FC0 90 01 00 24 */ stw r0, 0x24(r1) -/* 80149064 00145FC4 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 80149068 00145FC8 93 C1 00 18 */ stw r30, 0x18(r1) -/* 8014906C 00145FCC 93 A1 00 14 */ stw r29, 0x14(r1) -/* 80149070 00145FD0 7C 9D 23 78 */ mr r29, r4 -/* 80149074 00145FD4 93 81 00 10 */ stw r28, 0x10(r1) -/* 80149078 00145FD8 7C 7C 1B 79 */ or. r28, r3, r3 -/* 8014907C 00145FDC 41 82 00 44 */ beq lbl_801490C0 -/* 80149080 00145FE0 88 1C 00 04 */ lbz r0, 4(r28) -/* 80149084 00145FE4 28 00 00 00 */ cmplwi r0, 0 -/* 80149088 00145FE8 41 82 00 28 */ beq lbl_801490B0 -/* 8014908C 00145FEC 83 FC 00 00 */ lwz r31, 0(r28) -/* 80149090 00145FF0 83 DF 00 08 */ lwz r30, 8(r31) -/* 80149094 00145FF4 80 9F 00 04 */ lwz r4, 4(r31) -/* 80149098 00145FF8 48 00 00 10 */ b lbl_801490A8 -lbl_8014909C: -/* 8014909C 00145FFC 7F E3 FB 78 */ mr r3, r31 -/* 801490A0 00146000 48 00 01 95 */ bl sub_80149234 -/* 801490A4 00146004 7C 64 1B 78 */ mr r4, r3 -lbl_801490A8: -/* 801490A8 00146008 7C 04 F0 40 */ cmplw r4, r30 -/* 801490AC 0014600C 40 82 FF F0 */ bne lbl_8014909C -lbl_801490B0: -/* 801490B0 00146010 7F A0 07 35 */ extsh. r0, r29 -/* 801490B4 00146014 40 81 00 0C */ ble lbl_801490C0 -/* 801490B8 00146018 7F 83 E3 78 */ mr r3, r28 -/* 801490BC 0014601C 48 1C C8 75 */ bl Free__7CMemoryFPCv -lbl_801490C0: -/* 801490C0 00146020 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801490C4 00146024 7F 83 E3 78 */ mr r3, r28 -/* 801490C8 00146028 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 801490CC 0014602C 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 801490D0 00146030 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 801490D4 00146034 83 81 00 10 */ lwz r28, 0x10(r1) -/* 801490D8 00146038 7C 08 03 A6 */ mtlr r0 -/* 801490DC 0014603C 38 21 00 20 */ addi r1, r1, 0x20 -/* 801490E0 00146040 4E 80 00 20 */ blr - -.global sub_801490e4 -sub_801490e4: -/* 801490E4 00146044 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 801490E8 00146048 7C 08 02 A6 */ mflr r0 -/* 801490EC 0014604C 90 01 00 34 */ stw r0, 0x34(r1) -/* 801490F0 00146050 BF 61 00 1C */ stmw r27, 0x1c(r1) -/* 801490F4 00146054 7C 9F 23 78 */ mr r31, r4 -/* 801490F8 00146058 7C 7E 1B 78 */ mr r30, r3 -/* 801490FC 0014605C 80 03 00 08 */ lwz r0, 8(r3) -/* 80149100 00146060 7C 1F 00 00 */ cmpw r31, r0 -/* 80149104 00146064 40 81 00 B4 */ ble lbl_801491B8 -/* 80149108 00146068 1C 7F 03 40 */ mulli r3, r31, 0x340 -/* 8014910C 0014606C 2C 03 00 00 */ cmpwi r3, 0 -/* 80149110 00146070 40 82 00 0C */ bne lbl_8014911C -/* 80149114 00146074 3B A0 00 00 */ li r29, 0 -/* 80149118 00146078 48 00 00 1C */ b lbl_80149134 -lbl_8014911C: -/* 8014911C 0014607C 3C 80 80 3D */ lis r4, lbl_803D00A0@ha -/* 80149120 00146080 38 A0 00 00 */ li r5, 0 -/* 80149124 00146084 38 84 00 A0 */ addi r4, r4, lbl_803D00A0@l -/* 80149128 00146088 38 84 00 C7 */ addi r4, r4, 0xc7 -/* 8014912C 0014608C 48 1C C6 ED */ bl __nwa__FUlPCcPCc -/* 80149130 00146090 7C 7D 1B 78 */ mr r29, r3 -lbl_80149134: -/* 80149134 00146094 80 1E 00 04 */ lwz r0, 4(r30) -/* 80149138 00146098 7F A5 EB 78 */ mr r5, r29 -/* 8014913C 0014609C 80 DE 00 0C */ lwz r6, 0xc(r30) -/* 80149140 001460A0 38 61 00 14 */ addi r3, r1, 0x14 -/* 80149144 001460A4 1C 00 03 40 */ mulli r0, r0, 0x340 -/* 80149148 001460A8 38 81 00 0C */ addi r4, r1, 0xc -/* 8014914C 001460AC 7C C6 02 14 */ add r6, r6, r0 -/* 80149150 001460B0 90 C1 00 0C */ stw r6, 0xc(r1) -/* 80149154 001460B4 80 1E 00 0C */ lwz r0, 0xc(r30) -/* 80149158 001460B8 90 C1 00 08 */ stw r6, 8(r1) -/* 8014915C 001460BC 90 01 00 10 */ stw r0, 0x10(r1) -/* 80149160 001460C0 90 01 00 14 */ stw r0, 0x14(r1) -/* 80149164 001460C4 48 00 00 69 */ bl sub_801491cc -/* 80149168 001460C8 80 1E 00 04 */ lwz r0, 4(r30) -/* 8014916C 001460CC 83 7E 00 0C */ lwz r27, 0xc(r30) -/* 80149170 001460D0 1C 00 03 40 */ mulli r0, r0, 0x340 -/* 80149174 001460D4 7F 9B 02 14 */ add r28, r27, r0 -/* 80149178 001460D8 48 00 00 20 */ b lbl_80149198 -lbl_8014917C: -/* 8014917C 001460DC 7F 63 DB 78 */ mr r3, r27 -/* 80149180 001460E0 38 80 FF FF */ li r4, -1 -/* 80149184 001460E4 81 9B 00 00 */ lwz r12, 0(r27) -/* 80149188 001460E8 81 8C 00 08 */ lwz r12, 8(r12) -/* 8014918C 001460EC 7D 89 03 A6 */ mtctr r12 -/* 80149190 001460F0 4E 80 04 21 */ bctrl -/* 80149194 001460F4 3B 7B 03 40 */ addi r27, r27, 0x340 -lbl_80149198: -/* 80149198 001460F8 7C 1B E0 40 */ cmplw r27, r28 -/* 8014919C 001460FC 40 82 FF E0 */ bne lbl_8014917C -/* 801491A0 00146100 80 7E 00 0C */ lwz r3, 0xc(r30) -/* 801491A4 00146104 28 03 00 00 */ cmplwi r3, 0 -/* 801491A8 00146108 41 82 00 08 */ beq lbl_801491B0 -/* 801491AC 0014610C 48 1C C7 85 */ bl Free__7CMemoryFPCv -lbl_801491B0: -/* 801491B0 00146110 93 BE 00 0C */ stw r29, 0xc(r30) -/* 801491B4 00146114 93 FE 00 08 */ stw r31, 8(r30) -lbl_801491B8: -/* 801491B8 00146118 BB 61 00 1C */ lmw r27, 0x1c(r1) -/* 801491BC 0014611C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 801491C0 00146120 7C 08 03 A6 */ mtlr r0 -/* 801491C4 00146124 38 21 00 30 */ addi r1, r1, 0x30 -/* 801491C8 00146128 4E 80 00 20 */ blr - -.global sub_801491cc -sub_801491cc: -/* 801491CC 0014612C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801491D0 00146130 7C 08 02 A6 */ mflr r0 -/* 801491D4 00146134 90 01 00 24 */ stw r0, 0x24(r1) -/* 801491D8 00146138 93 E1 00 1C */ stw r31, 0x1c(r1) -/* 801491DC 0014613C 93 C1 00 18 */ stw r30, 0x18(r1) -/* 801491E0 00146140 7C BE 2B 78 */ mr r30, r5 -/* 801491E4 00146144 93 A1 00 14 */ stw r29, 0x14(r1) -/* 801491E8 00146148 7C 9D 23 78 */ mr r29, r4 -/* 801491EC 0014614C 83 E3 00 00 */ lwz r31, 0(r3) -/* 801491F0 00146150 48 00 00 18 */ b lbl_80149208 -lbl_801491F4: -/* 801491F4 00146154 7F C3 F3 78 */ mr r3, r30 -/* 801491F8 00146158 7F E4 FB 78 */ mr r4, r31 -/* 801491FC 0014615C 4B FF F4 E5 */ bl sub_801486e0 -/* 80149200 00146160 3B DE 03 40 */ addi r30, r30, 0x340 -/* 80149204 00146164 3B FF 03 40 */ addi r31, r31, 0x340 -lbl_80149208: -/* 80149208 00146168 80 1D 00 00 */ lwz r0, 0(r29) -/* 8014920C 0014616C 7C 1F 00 40 */ cmplw r31, r0 -/* 80149210 00146170 40 82 FF E4 */ bne lbl_801491F4 -/* 80149214 00146174 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80149218 00146178 7F C3 F3 78 */ mr r3, r30 -/* 8014921C 0014617C 83 E1 00 1C */ lwz r31, 0x1c(r1) -/* 80149220 00146180 83 C1 00 18 */ lwz r30, 0x18(r1) -/* 80149224 00146184 83 A1 00 14 */ lwz r29, 0x14(r1) -/* 80149228 00146188 7C 08 03 A6 */ mtlr r0 -/* 8014922C 0014618C 38 21 00 20 */ addi r1, r1, 0x20 -/* 80149230 00146190 4E 80 00 20 */ blr - -.global sub_80149234 -sub_80149234: -/* 80149234 00146194 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80149238 00146198 7C 08 02 A6 */ mflr r0 -/* 8014923C 0014619C 90 01 00 14 */ stw r0, 0x14(r1) -/* 80149240 001461A0 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80149244 001461A4 93 C1 00 08 */ stw r30, 8(r1) -/* 80149248 001461A8 7C 7E 1B 78 */ mr r30, r3 -/* 8014924C 001461AC 80 03 00 04 */ lwz r0, 4(r3) -/* 80149250 001461B0 83 E4 00 04 */ lwz r31, 4(r4) -/* 80149254 001461B4 7C 04 00 40 */ cmplw r4, r0 -/* 80149258 001461B8 40 82 00 08 */ bne lbl_80149260 -/* 8014925C 001461BC 93 FE 00 04 */ stw r31, 4(r30) -lbl_80149260: -/* 80149260 001461C0 80 04 00 04 */ lwz r0, 4(r4) -/* 80149264 001461C4 28 04 00 00 */ cmplwi r4, 0 -/* 80149268 001461C8 80 64 00 00 */ lwz r3, 0(r4) -/* 8014926C 001461CC 90 03 00 04 */ stw r0, 4(r3) -/* 80149270 001461D0 80 04 00 00 */ lwz r0, 0(r4) -/* 80149274 001461D4 80 64 00 04 */ lwz r3, 4(r4) -/* 80149278 001461D8 90 03 00 00 */ stw r0, 0(r3) -/* 8014927C 001461DC 41 82 00 0C */ beq lbl_80149288 -/* 80149280 001461E0 7C 83 23 78 */ mr r3, r4 -/* 80149284 001461E4 48 1C C6 AD */ bl Free__7CMemoryFPCv -lbl_80149288: -/* 80149288 001461E8 80 9E 00 14 */ lwz r4, 0x14(r30) -/* 8014928C 001461EC 7F E3 FB 78 */ mr r3, r31 -/* 80149290 001461F0 38 04 FF FF */ addi r0, r4, -1 -/* 80149294 001461F4 90 1E 00 14 */ stw r0, 0x14(r30) -/* 80149298 001461F8 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8014929C 001461FC 83 C1 00 08 */ lwz r30, 8(r1) -/* 801492A0 00146200 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801492A4 00146204 7C 08 03 A6 */ mtlr r0 -/* 801492A8 00146208 38 21 00 10 */ addi r1, r1, 0x10 -/* 801492AC 0014620C 4E 80 00 20 */ blr - -.global __dt__8CBSTauntFv -__dt__8CBSTauntFv: -/* 801492B0 00146210 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 801492B4 00146214 7C 08 02 A6 */ mflr r0 -/* 801492B8 00146218 90 01 00 14 */ stw r0, 0x14(r1) -/* 801492BC 0014621C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801492C0 00146220 7C 7F 1B 79 */ or. r31, r3, r3 -/* 801492C4 00146224 41 82 00 30 */ beq lbl_801492F4 -/* 801492C8 00146228 3C 60 80 3E */ lis r3, lbl_803E2390@ha -/* 801492CC 0014622C 38 03 23 90 */ addi r0, r3, lbl_803E2390@l -/* 801492D0 00146230 90 1F 00 00 */ stw r0, 0(r31) -/* 801492D4 00146234 41 82 00 10 */ beq lbl_801492E4 -/* 801492D8 00146238 3C 60 80 3E */ lis r3, lbl_803E1318@ha -/* 801492DC 0014623C 38 03 13 18 */ addi r0, r3, lbl_803E1318@l -/* 801492E0 00146240 90 1F 00 00 */ stw r0, 0(r31) -lbl_801492E4: -/* 801492E4 00146244 7C 80 07 35 */ extsh. r0, r4 -/* 801492E8 00146248 40 81 00 0C */ ble lbl_801492F4 -/* 801492EC 0014624C 7F E3 FB 78 */ mr r3, r31 -/* 801492F0 00146250 48 1C C6 41 */ bl Free__7CMemoryFPCv -lbl_801492F4: -/* 801492F4 00146254 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801492F8 00146258 7F E3 FB 78 */ mr r3, r31 -/* 801492FC 0014625C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80149300 00146260 7C 08 03 A6 */ mtlr r0 -/* 80149304 00146264 38 21 00 10 */ addi r1, r1, 0x10 -/* 80149308 00146268 4E 80 00 20 */ blr - -.global GetBodyStateTransition__8CBSTauntFfR15CBodyController -GetBodyStateTransition__8CBSTauntFfR15CBodyController: -/* 8014930C 0014626C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80149310 00146270 7C 08 02 A6 */ mflr r0 -/* 80149314 00146274 90 01 00 14 */ stw r0, 0x14(r1) -/* 80149318 00146278 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8014931C 0014627C 93 C1 00 08 */ stw r30, 8(r1) -/* 80149320 00146280 7C 9E 23 78 */ mr r30, r4 -/* 80149324 00146284 3B FE 00 04 */ addi r31, r30, 4 -/* 80149328 00146288 38 80 00 0F */ li r4, 0xf -/* 8014932C 0014628C 7F E3 FB 78 */ mr r3, r31 -/* 80149330 00146290 4B FE 81 21 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80149334 00146294 28 03 00 00 */ cmplwi r3, 0 -/* 80149338 00146298 41 82 00 0C */ beq lbl_80149344 -/* 8014933C 0014629C 38 60 00 0E */ li r3, 0xe -/* 80149340 001462A0 48 00 00 88 */ b lbl_801493C8 -lbl_80149344: -/* 80149344 001462A4 7F E3 FB 78 */ mr r3, r31 -/* 80149348 001462A8 38 80 00 03 */ li r4, 3 -/* 8014934C 001462AC 4B FE 81 05 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80149350 001462B0 28 03 00 00 */ cmplwi r3, 0 -/* 80149354 001462B4 41 82 00 0C */ beq lbl_80149360 -/* 80149358 001462B8 38 60 00 00 */ li r3, 0 -/* 8014935C 001462BC 48 00 00 6C */ b lbl_801493C8 -lbl_80149360: -/* 80149360 001462C0 7F E3 FB 78 */ mr r3, r31 -/* 80149364 001462C4 38 80 00 09 */ li r4, 9 -/* 80149368 001462C8 4B FE 80 E9 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 8014936C 001462CC 28 03 00 00 */ cmplwi r3, 0 -/* 80149370 001462D0 41 82 00 0C */ beq lbl_8014937C -/* 80149374 001462D4 38 60 00 0A */ li r3, 0xa -/* 80149378 001462D8 48 00 00 50 */ b lbl_801493C8 -lbl_8014937C: -/* 8014937C 001462DC 7F E3 FB 78 */ mr r3, r31 -/* 80149380 001462E0 38 80 00 04 */ li r4, 4 -/* 80149384 001462E4 4B FE 80 CD */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 80149388 001462E8 28 03 00 00 */ cmplwi r3, 0 -/* 8014938C 001462EC 41 82 00 0C */ beq lbl_80149398 -/* 80149390 001462F0 38 60 00 06 */ li r3, 6 -/* 80149394 001462F4 48 00 00 34 */ b lbl_801493C8 -lbl_80149398: -/* 80149398 001462F8 7F E3 FB 78 */ mr r3, r31 -/* 8014939C 001462FC 38 80 00 16 */ li r4, 0x16 -/* 801493A0 00146300 4B FE 80 B1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801493A4 00146304 28 03 00 00 */ cmplwi r3, 0 -/* 801493A8 00146308 41 82 00 0C */ beq lbl_801493B4 -/* 801493AC 0014630C 38 60 00 05 */ li r3, 5 -/* 801493B0 00146310 48 00 00 18 */ b lbl_801493C8 -lbl_801493B4: -/* 801493B4 00146314 88 1E 03 00 */ lbz r0, 0x300(r30) -/* 801493B8 00146318 38 60 FF FF */ li r3, -1 -/* 801493BC 0014631C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 801493C0 00146320 41 82 00 08 */ beq lbl_801493C8 -/* 801493C4 00146324 38 60 00 05 */ li r3, 5 -lbl_801493C8: -/* 801493C8 00146328 80 01 00 14 */ lwz r0, 0x14(r1) -/* 801493CC 0014632C 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 801493D0 00146330 83 C1 00 08 */ lwz r30, 8(r1) -/* 801493D4 00146334 7C 08 03 A6 */ mtlr r0 -/* 801493D8 00146338 38 21 00 10 */ addi r1, r1, 0x10 -/* 801493DC 0014633C 4E 80 00 20 */ blr - -.global Shutdown__8CBSTauntFR15CBodyController -Shutdown__8CBSTauntFR15CBodyController: -/* 801493E0 00146340 4E 80 00 20 */ blr - -.global UpdateBody__8CBSTauntFfR15CBodyControllerR13CStateManager -UpdateBody__8CBSTauntFfR15CBodyControllerR13CStateManager: -/* 801493E4 00146344 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 801493E8 00146348 7C 08 02 A6 */ mflr r0 -/* 801493EC 0014634C 90 01 00 24 */ stw r0, 0x24(r1) -/* 801493F0 00146350 DB E1 00 10 */ stfd f31, 0x10(r1) -/* 801493F4 00146354 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0 -/* 801493F8 00146358 93 E1 00 0C */ stw r31, 0xc(r1) -/* 801493FC 0014635C 93 C1 00 08 */ stw r30, 8(r1) -/* 80149400 00146360 FF E0 08 90 */ fmr f31, f1 -/* 80149404 00146364 7C 9E 23 78 */ mr r30, r4 -/* 80149408 00146368 4B FF FF 05 */ bl GetBodyStateTransition__8CBSTauntFfR15CBodyController -/* 8014940C 0014636C 7C 7F 1B 78 */ mr r31, r3 -/* 80149410 00146370 2C 1F FF FF */ cmpwi r31, -1 -/* 80149414 00146374 40 82 00 50 */ bne lbl_80149464 -/* 80149418 00146378 38 7E 00 1C */ addi r3, r30, 0x1c -/* 8014941C 0014637C C0 22 9C D0 */ lfs f1, lbl_805AB9F0@sda21(r2) -/* 80149420 00146380 C0 1E 00 1C */ lfs f0, 0x1c(r30) -/* 80149424 00146384 38 00 00 00 */ li r0, 0 -/* 80149428 00146388 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 8014942C 0014638C 40 82 00 1C */ bne lbl_80149448 -/* 80149430 00146390 C0 03 00 04 */ lfs f0, 4(r3) -/* 80149434 00146394 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80149438 00146398 40 82 00 10 */ bne lbl_80149448 -/* 8014943C 0014639C C0 03 00 08 */ lfs f0, 8(r3) -/* 80149440 001463A0 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 80149444 001463A4 41 82 00 08 */ beq lbl_8014944C -lbl_80149448: -/* 80149448 001463A8 38 00 00 01 */ li r0, 1 -lbl_8014944C: -/* 8014944C 001463AC 54 00 06 3F */ clrlwi. r0, r0, 0x18 -/* 80149450 001463B0 41 82 00 14 */ beq lbl_80149464 -/* 80149454 001463B4 FC 20 F8 90 */ fmr f1, f31 -/* 80149458 001463B8 7F C3 F3 78 */ mr r3, r30 -/* 8014945C 001463BC 38 9E 00 1C */ addi r4, r30, 0x1c -/* 80149460 001463C0 4B FF 12 45 */ bl FaceDirection__15CBodyControllerFRC9CVector3ff -lbl_80149464: -/* 80149464 001463C4 7F E3 FB 78 */ mr r3, r31 -/* 80149468 001463C8 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0 -/* 8014946C 001463CC 80 01 00 24 */ lwz r0, 0x24(r1) -/* 80149470 001463D0 CB E1 00 10 */ lfd f31, 0x10(r1) -/* 80149474 001463D4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80149478 001463D8 83 C1 00 08 */ lwz r30, 8(r1) -/* 8014947C 001463DC 7C 08 03 A6 */ mtlr r0 -/* 80149480 001463E0 38 21 00 20 */ addi r1, r1, 0x20 -/* 80149484 001463E4 4E 80 00 20 */ blr - -.global Start__8CBSTauntFR15CBodyControllerR13CStateManager -Start__8CBSTauntFR15CBodyControllerR13CStateManager: -/* 80149488 001463E8 94 21 FF 50 */ stwu r1, -0xb0(r1) -/* 8014948C 001463EC 7C 08 02 A6 */ mflr r0 -/* 80149490 001463F0 90 01 00 B4 */ stw r0, 0xb4(r1) -/* 80149494 001463F4 93 E1 00 AC */ stw r31, 0xac(r1) -/* 80149498 001463F8 93 C1 00 A8 */ stw r30, 0xa8(r1) -/* 8014949C 001463FC 7C BE 2B 78 */ mr r30, r5 -/* 801494A0 00146400 93 A1 00 A4 */ stw r29, 0xa4(r1) -/* 801494A4 00146404 7C 9D 23 78 */ mr r29, r4 -/* 801494A8 00146408 38 7D 00 04 */ addi r3, r29, 4 -/* 801494AC 0014640C 38 80 00 12 */ li r4, 0x12 -/* 801494B0 00146410 4B FE 7F A1 */ bl GetCmd__16CBodyStateCmdMgrF13EBodyStateCmd -/* 801494B4 00146414 83 E3 00 08 */ lwz r31, 8(r3) -/* 801494B8 00146418 38 61 00 10 */ addi r3, r1, 0x10 -/* 801494BC 0014641C 48 19 9B C1 */ bl NoParameter__12CPASAnimParmFv -/* 801494C0 00146420 38 61 00 18 */ addi r3, r1, 0x18 -/* 801494C4 00146424 48 19 9B B9 */ bl NoParameter__12CPASAnimParmFv -/* 801494C8 00146428 38 61 00 20 */ addi r3, r1, 0x20 -/* 801494CC 0014642C 48 19 9B B1 */ bl NoParameter__12CPASAnimParmFv -/* 801494D0 00146430 38 61 00 28 */ addi r3, r1, 0x28 -/* 801494D4 00146434 48 19 9B A9 */ bl NoParameter__12CPASAnimParmFv -/* 801494D8 00146438 38 61 00 30 */ addi r3, r1, 0x30 -/* 801494DC 0014643C 48 19 9B A1 */ bl NoParameter__12CPASAnimParmFv -/* 801494E0 00146440 38 61 00 38 */ addi r3, r1, 0x38 -/* 801494E4 00146444 48 19 9B 99 */ bl NoParameter__12CPASAnimParmFv -/* 801494E8 00146448 38 61 00 40 */ addi r3, r1, 0x40 -/* 801494EC 0014644C 48 19 9B 91 */ bl NoParameter__12CPASAnimParmFv -/* 801494F0 00146450 7F E4 FB 78 */ mr r4, r31 -/* 801494F4 00146454 38 61 00 48 */ addi r3, r1, 0x48 -/* 801494F8 00146458 48 19 9A 8D */ bl FromEnum__12CPASAnimParmFi -/* 801494FC 0014645C 38 61 00 18 */ addi r3, r1, 0x18 -/* 80149500 00146460 38 01 00 10 */ addi r0, r1, 0x10 -/* 80149504 00146464 90 61 00 08 */ stw r3, 8(r1) -/* 80149508 00146468 38 61 00 50 */ addi r3, r1, 0x50 -/* 8014950C 0014646C 38 A1 00 48 */ addi r5, r1, 0x48 -/* 80149510 00146470 38 C1 00 40 */ addi r6, r1, 0x40 -/* 80149514 00146474 90 01 00 0C */ stw r0, 0xc(r1) -/* 80149518 00146478 38 E1 00 38 */ addi r7, r1, 0x38 -/* 8014951C 0014647C 39 01 00 30 */ addi r8, r1, 0x30 -/* 80149520 00146480 39 21 00 28 */ addi r9, r1, 0x28 -/* 80149524 00146484 39 41 00 20 */ addi r10, r1, 0x20 -/* 80149528 00146488 38 80 00 10 */ li r4, 0x10 -/* 8014952C 0014648C 4B F3 3D 99 */ bl __ct__16CPASAnimParmDataFiRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParmRC12CPASAnimParm -/* 80149530 00146490 80 BE 09 00 */ lwz r5, 0x900(r30) -/* 80149534 00146494 7F A3 EB 78 */ mr r3, r29 -/* 80149538 00146498 38 81 00 50 */ addi r4, r1, 0x50 -/* 8014953C 0014649C 4B FF 0E 6D */ bl PlayBestAnimation__15CBodyControllerFRC16CPASAnimParmDataR9CRandom16 -/* 80149540 001464A0 34 A1 00 54 */ addic. r5, r1, 0x54 -/* 80149544 001464A4 41 82 00 58 */ beq lbl_8014959C -/* 80149548 001464A8 80 C5 00 00 */ lwz r6, 0(r5) -/* 8014954C 001464AC 38 60 00 00 */ li r3, 0 -/* 80149550 001464B0 2C 06 00 00 */ cmpwi r6, 0 -/* 80149554 001464B4 40 81 00 40 */ ble lbl_80149594 -/* 80149558 001464B8 2C 06 00 08 */ cmpwi r6, 8 -/* 8014955C 001464BC 38 86 FF F8 */ addi r4, r6, -8 -/* 80149560 001464C0 40 81 00 20 */ ble lbl_80149580 -/* 80149564 001464C4 38 04 00 07 */ addi r0, r4, 7 -/* 80149568 001464C8 54 00 E8 FE */ srwi r0, r0, 3 -/* 8014956C 001464CC 7C 09 03 A6 */ mtctr r0 -/* 80149570 001464D0 2C 04 00 00 */ cmpwi r4, 0 -/* 80149574 001464D4 40 81 00 0C */ ble lbl_80149580 -lbl_80149578: -/* 80149578 001464D8 38 63 00 08 */ addi r3, r3, 8 -/* 8014957C 001464DC 42 00 FF FC */ bdnz lbl_80149578 -lbl_80149580: -/* 80149580 001464E0 7C 03 30 50 */ subf r0, r3, r6 -/* 80149584 001464E4 7C 09 03 A6 */ mtctr r0 -/* 80149588 001464E8 7C 03 30 00 */ cmpw r3, r6 -/* 8014958C 001464EC 40 80 00 08 */ bge lbl_80149594 -lbl_80149590: -/* 80149590 001464F0 42 00 00 00 */ bdnz lbl_80149590 -lbl_80149594: -/* 80149594 001464F4 38 00 00 00 */ li r0, 0 -/* 80149598 001464F8 90 05 00 00 */ stw r0, 0(r5) -lbl_8014959C: -/* 8014959C 001464FC 80 01 00 B4 */ lwz r0, 0xb4(r1) -/* 801495A0 00146500 83 E1 00 AC */ lwz r31, 0xac(r1) -/* 801495A4 00146504 83 C1 00 A8 */ lwz r30, 0xa8(r1) -/* 801495A8 00146508 83 A1 00 A4 */ lwz r29, 0xa4(r1) -/* 801495AC 0014650C 7C 08 03 A6 */ mtlr r0 -/* 801495B0 00146510 38 21 00 B0 */ addi r1, r1, 0xb0 -/* 801495B4 00146514 4E 80 00 20 */ blr - -.global __ct__8CBSTauntFv -__ct__8CBSTauntFv: -/* 801495B8 00146518 3C A0 80 3E */ lis r5, lbl_803E1318@ha -/* 801495BC 0014651C 3C 80 80 3E */ lis r4, lbl_803E2390@ha -/* 801495C0 00146520 38 A5 13 18 */ addi r5, r5, lbl_803E1318@l -/* 801495C4 00146524 90 A3 00 00 */ stw r5, 0(r3) -/* 801495C8 00146528 38 04 23 90 */ addi r0, r4, lbl_803E2390@l -/* 801495CC 0014652C 90 03 00 00 */ stw r0, 0(r3) -/* 801495D0 00146530 4E 80 00 20 */ blr - -.global "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor" -"BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC9CVector3fRC9CVector3ffRC15CMaterialFilterPC6CActor": -/* 801495D4 00146534 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 801495D8 00146538 7C 08 02 A6 */ mflr r0 -/* 801495DC 0014653C C0 02 9C DC */ lfs f0, lbl_805AB9FC@sda21(r2) -/* 801495E0 00146540 90 01 00 54 */ stw r0, 0x54(r1) -/* 801495E4 00146544 FC 01 00 00 */ fcmpu cr0, f1, f0 -/* 801495E8 00146548 41 82 00 08 */ beq lbl_801495F0 -/* 801495EC 0014654C 48 00 00 08 */ b lbl_801495F4 -lbl_801495F0: -/* 801495F0 00146550 C0 22 9C D8 */ lfs f1, lbl_805AB9F8@sda21(r2) -lbl_801495F4: -/* 801495F4 00146554 C0 06 00 08 */ lfs f0, 8(r6) -/* 801495F8 00146558 C0 86 00 00 */ lfs f4, 0(r6) -/* 801495FC 0014655C EC 01 00 32 */ fmuls f0, f1, f0 -/* 80149600 00146560 C0 45 00 08 */ lfs f2, 8(r5) -/* 80149604 00146564 C0 66 00 04 */ lfs f3, 4(r6) -/* 80149608 00146568 EC 81 01 32 */ fmuls f4, f1, f4 -/* 8014960C 0014656C C0 A5 00 00 */ lfs f5, 0(r5) -/* 80149610 00146570 EC C2 00 2A */ fadds f6, f2, f0 -/* 80149614 00146574 EC 01 00 F2 */ fmuls f0, f1, f3 -/* 80149618 00146578 C0 25 00 04 */ lfs f1, 4(r5) -/* 8014961C 0014657C EC E5 20 2A */ fadds f7, f5, f4 -/* 80149620 00146580 D0 41 00 0C */ stfs f2, 0xc(r1) -/* 80149624 00146584 FC 02 30 40 */ fcmpo cr0, f2, f6 -/* 80149628 00146588 EC 01 00 2A */ fadds f0, f1, f0 -/* 8014962C 0014658C D0 C1 00 08 */ stfs f6, 8(r1) -/* 80149630 00146590 40 80 00 0C */ bge lbl_8014963C -/* 80149634 00146594 38 C1 00 08 */ addi r6, r1, 8 -/* 80149638 00146598 48 00 00 08 */ b lbl_80149640 -lbl_8014963C: -/* 8014963C 0014659C 38 C1 00 0C */ addi r6, r1, 0xc -lbl_80149640: -/* 80149640 001465A0 C0 25 00 04 */ lfs f1, 4(r5) -/* 80149644 001465A4 C0 A6 00 00 */ lfs f5, 0(r6) -/* 80149648 001465A8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8014964C 001465AC D0 01 00 10 */ stfs f0, 0x10(r1) -/* 80149650 001465B0 D0 21 00 14 */ stfs f1, 0x14(r1) -/* 80149654 001465B4 40 80 00 0C */ bge lbl_80149660 -/* 80149658 001465B8 38 C1 00 10 */ addi r6, r1, 0x10 -/* 8014965C 001465BC 48 00 00 08 */ b lbl_80149664 -lbl_80149660: -/* 80149660 001465C0 38 C1 00 14 */ addi r6, r1, 0x14 -lbl_80149664: -/* 80149664 001465C4 C0 25 00 00 */ lfs f1, 0(r5) -/* 80149668 001465C8 C0 86 00 00 */ lfs f4, 0(r6) -/* 8014966C 001465CC FC 01 38 40 */ fcmpo cr0, f1, f7 -/* 80149670 001465D0 D0 E1 00 18 */ stfs f7, 0x18(r1) -/* 80149674 001465D4 D0 21 00 1C */ stfs f1, 0x1c(r1) -/* 80149678 001465D8 40 80 00 0C */ bge lbl_80149684 -/* 8014967C 001465DC 38 C1 00 18 */ addi r6, r1, 0x18 -/* 80149680 001465E0 48 00 00 08 */ b lbl_80149688 -lbl_80149684: -/* 80149684 001465E4 38 C1 00 1C */ addi r6, r1, 0x1c -lbl_80149688: -/* 80149688 001465E8 C0 25 00 08 */ lfs f1, 8(r5) -/* 8014968C 001465EC C0 66 00 00 */ lfs f3, 0(r6) -/* 80149690 001465F0 FC 06 08 40 */ fcmpo cr0, f6, f1 -/* 80149694 001465F4 D0 C1 00 20 */ stfs f6, 0x20(r1) -/* 80149698 001465F8 D0 21 00 24 */ stfs f1, 0x24(r1) -/* 8014969C 001465FC 40 80 00 0C */ bge lbl_801496A8 -/* 801496A0 00146600 38 C1 00 20 */ addi r6, r1, 0x20 -/* 801496A4 00146604 48 00 00 08 */ b lbl_801496AC -lbl_801496A8: -/* 801496A8 00146608 38 C1 00 24 */ addi r6, r1, 0x24 -lbl_801496AC: -/* 801496AC 0014660C C0 25 00 04 */ lfs f1, 4(r5) -/* 801496B0 00146610 C0 46 00 00 */ lfs f2, 0(r6) -/* 801496B4 00146614 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 801496B8 00146618 D0 01 00 28 */ stfs f0, 0x28(r1) -/* 801496BC 0014661C D0 21 00 2C */ stfs f1, 0x2c(r1) -/* 801496C0 00146620 40 80 00 0C */ bge lbl_801496CC -/* 801496C4 00146624 38 C1 00 28 */ addi r6, r1, 0x28 -/* 801496C8 00146628 48 00 00 08 */ b lbl_801496D0 -lbl_801496CC: -/* 801496CC 0014662C 38 C1 00 2C */ addi r6, r1, 0x2c -lbl_801496D0: -/* 801496D0 00146630 C0 05 00 00 */ lfs f0, 0(r5) -/* 801496D4 00146634 C0 26 00 00 */ lfs f1, 0(r6) -/* 801496D8 00146638 FC 07 00 40 */ fcmpo cr0, f7, f0 -/* 801496DC 0014663C D0 E1 00 30 */ stfs f7, 0x30(r1) -/* 801496E0 00146640 D0 01 00 34 */ stfs f0, 0x34(r1) -/* 801496E4 00146644 40 80 00 0C */ bge lbl_801496F0 -/* 801496E8 00146648 38 A1 00 30 */ addi r5, r1, 0x30 -/* 801496EC 0014664C 48 00 00 08 */ b lbl_801496F4 -lbl_801496F0: -/* 801496F0 00146650 38 A1 00 34 */ addi r5, r1, 0x34 -lbl_801496F4: -/* 801496F4 00146654 C0 05 00 00 */ lfs f0, 0(r5) -/* 801496F8 00146658 7C E6 3B 78 */ mr r6, r7 -/* 801496FC 0014665C 7D 07 43 78 */ mr r7, r8 -/* 80149700 00146660 38 A1 00 38 */ addi r5, r1, 0x38 -/* 80149704 00146664 D0 01 00 38 */ stfs f0, 0x38(r1) -/* 80149708 00146668 D0 21 00 3C */ stfs f1, 0x3c(r1) -/* 8014970C 0014666C D0 41 00 40 */ stfs f2, 0x40(r1) -/* 80149710 00146670 D0 61 00 44 */ stfs f3, 0x44(r1) -/* 80149714 00146674 D0 81 00 48 */ stfs f4, 0x48(r1) -/* 80149718 00146678 D0 A1 00 4C */ stfs f5, 0x4c(r1) -/* 8014971C 0014667C 48 00 00 F1 */ bl "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -/* 80149720 00146680 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80149724 00146684 7C 08 03 A6 */ mtlr r0 -/* 80149728 00146688 38 21 00 50 */ addi r1, r1, 0x50 -/* 8014972C 0014668C 4E 80 00 20 */ blr - -.global "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox" -"BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CActorRC6CAABox": -/* 80149730 00146690 94 21 FF D0 */ stwu r1, -0x30(r1) -/* 80149734 00146694 7C 08 02 A6 */ mflr r0 -/* 80149738 00146698 90 01 00 34 */ stw r0, 0x34(r1) -/* 8014973C 0014669C BF 21 00 14 */ stmw r25, 0x14(r1) -/* 80149740 001466A0 7C BD 2B 78 */ mr r29, r5 -/* 80149744 001466A4 7C 7B 1B 78 */ mr r27, r3 -/* 80149748 001466A8 7C 9C 23 78 */ mr r28, r4 -/* 8014974C 001466AC 7C D9 33 78 */ mr r25, r6 -/* 80149750 001466B0 7F A3 EB 78 */ mr r3, r29 -/* 80149754 001466B4 4B F0 A1 69 */ bl GetMaterialFilter__6CActorCFv -/* 80149758 001466B8 7C 60 1B 78 */ mr r0, r3 -/* 8014975C 001466BC 7F 63 DB 78 */ mr r3, r27 -/* 80149760 001466C0 7C 1E 03 78 */ mr r30, r0 -/* 80149764 001466C4 7F 24 CB 78 */ mr r4, r25 -/* 80149768 001466C8 3B FD 00 68 */ addi r31, r29, 0x68 -/* 8014976C 001466CC 48 00 01 4D */ bl ConstructIntersectionArray__Q22SL18CSortedListManagerCFRC6CAABox -/* 80149770 001466D0 48 00 00 7C */ b lbl_801497EC -lbl_80149774: -/* 80149774 001466D4 7C 60 07 34 */ extsh r0, r3 -/* 80149778 001466D8 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 8014977C 001466DC 7F 5B 02 14 */ add r26, r27, r0 -/* 80149780 001466E0 83 3A 00 00 */ lwz r25, 0(r26) -/* 80149784 001466E4 7C 1D C8 40 */ cmplw r29, r25 -/* 80149788 001466E8 41 82 00 58 */ beq lbl_801497E0 -/* 8014978C 001466EC 7F C3 F3 78 */ mr r3, r30 -/* 80149790 001466F0 38 99 00 68 */ addi r4, r25, 0x68 -/* 80149794 001466F4 48 18 BB B9 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 80149798 001466F8 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 8014979C 001466FC 41 82 00 44 */ beq lbl_801497E0 -/* 801497A0 00146700 7F 23 CB 78 */ mr r3, r25 -/* 801497A4 00146704 4B F0 A1 19 */ bl GetMaterialFilter__6CActorCFv -/* 801497A8 00146708 7F E4 FB 78 */ mr r4, r31 -/* 801497AC 0014670C 48 18 BB A1 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 801497B0 00146710 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 801497B4 00146714 41 82 00 2C */ beq lbl_801497E0 -/* 801497B8 00146718 80 1C 00 00 */ lwz r0, 0(r28) -/* 801497BC 0014671C A0 99 00 08 */ lhz r4, 8(r25) -/* 801497C0 00146720 54 00 08 3C */ slwi r0, r0, 1 -/* 801497C4 00146724 7C 7C 02 14 */ add r3, r28, r0 -/* 801497C8 00146728 34 63 00 04 */ addic. r3, r3, 4 -/* 801497CC 0014672C 41 82 00 08 */ beq lbl_801497D4 -/* 801497D0 00146730 B0 83 00 00 */ sth r4, 0(r3) -lbl_801497D4: -/* 801497D4 00146734 80 7C 00 00 */ lwz r3, 0(r28) -/* 801497D8 00146738 38 03 00 01 */ addi r0, r3, 1 -/* 801497DC 0014673C 90 1C 00 00 */ stw r0, 0(r28) -lbl_801497E0: -/* 801497E0 00146740 A8 7A 00 28 */ lha r3, 0x28(r26) -/* 801497E4 00146744 38 00 FF FF */ li r0, -1 -/* 801497E8 00146748 B0 1A 00 28 */ sth r0, 0x28(r26) -lbl_801497EC: -/* 801497EC 0014674C 7C 60 07 34 */ extsh r0, r3 -/* 801497F0 00146750 2C 00 FF FF */ cmpwi r0, -1 -/* 801497F4 00146754 40 82 FF 80 */ bne lbl_80149774 -/* 801497F8 00146758 BB 21 00 14 */ lmw r25, 0x14(r1) -/* 801497FC 0014675C 80 01 00 34 */ lwz r0, 0x34(r1) -/* 80149800 00146760 7C 08 03 A6 */ mtlr r0 -/* 80149804 00146764 38 21 00 30 */ addi r1, r1, 0x30 -/* 80149808 00146768 4E 80 00 20 */ blr - -.global "BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor" -"BuildNearList__Q22SL18CSortedListManagerCFRQ24rstl32reserved_vector<9TUniqueId,1024>RC6CAABoxRC15CMaterialFilterPC6CActor": -/* 8014980C 0014676C 94 21 FF E0 */ stwu r1, -0x20(r1) -/* 80149810 00146770 7C 08 02 A6 */ mflr r0 -/* 80149814 00146774 90 01 00 24 */ stw r0, 0x24(r1) -/* 80149818 00146778 BF 41 00 08 */ stmw r26, 8(r1) -/* 8014981C 0014677C 7C 9D 23 78 */ mr r29, r4 -/* 80149820 00146780 7C 7C 1B 78 */ mr r28, r3 -/* 80149824 00146784 7C DE 33 78 */ mr r30, r6 -/* 80149828 00146788 7C FF 3B 78 */ mr r31, r7 -/* 8014982C 0014678C 7C A4 2B 78 */ mr r4, r5 -/* 80149830 00146790 48 00 00 89 */ bl ConstructIntersectionArray__Q22SL18CSortedListManagerCFRC6CAABox -/* 80149834 00146794 48 00 00 64 */ b lbl_80149898 -lbl_80149838: -/* 80149838 00146798 7C 60 07 34 */ extsh r0, r3 -/* 8014983C 0014679C 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 80149840 001467A0 7F 7C 02 14 */ add r27, r28, r0 -/* 80149844 001467A4 83 5B 00 00 */ lwz r26, 0(r27) -/* 80149848 001467A8 7C 1F D0 40 */ cmplw r31, r26 -/* 8014984C 001467AC 41 82 00 40 */ beq lbl_8014988C -/* 80149850 001467B0 7F C3 F3 78 */ mr r3, r30 -/* 80149854 001467B4 38 9A 00 68 */ addi r4, r26, 0x68 -/* 80149858 001467B8 48 18 BA F5 */ bl Passes__15CMaterialFilterCFRC13CMaterialList -/* 8014985C 001467BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 -/* 80149860 001467C0 41 82 00 2C */ beq lbl_8014988C -/* 80149864 001467C4 80 1D 00 00 */ lwz r0, 0(r29) -/* 80149868 001467C8 A0 9A 00 08 */ lhz r4, 8(r26) -/* 8014986C 001467CC 54 00 08 3C */ slwi r0, r0, 1 -/* 80149870 001467D0 7C 7D 02 14 */ add r3, r29, r0 -/* 80149874 001467D4 34 63 00 04 */ addic. r3, r3, 4 -/* 80149878 001467D8 41 82 00 08 */ beq lbl_80149880 -/* 8014987C 001467DC B0 83 00 00 */ sth r4, 0(r3) -lbl_80149880: -/* 80149880 001467E0 80 7D 00 00 */ lwz r3, 0(r29) -/* 80149884 001467E4 38 03 00 01 */ addi r0, r3, 1 -/* 80149888 001467E8 90 1D 00 00 */ stw r0, 0(r29) -lbl_8014988C: -/* 8014988C 001467EC A8 7B 00 28 */ lha r3, 0x28(r27) -/* 80149890 001467F0 38 00 FF FF */ li r0, -1 -/* 80149894 001467F4 B0 1B 00 28 */ sth r0, 0x28(r27) -lbl_80149898: -/* 80149898 001467F8 7C 60 07 34 */ extsh r0, r3 -/* 8014989C 001467FC 2C 00 FF FF */ cmpwi r0, -1 -/* 801498A0 00146800 40 82 FF 98 */ bne lbl_80149838 -/* 801498A4 00146804 BB 41 00 08 */ lmw r26, 8(r1) -/* 801498A8 00146808 80 01 00 24 */ lwz r0, 0x24(r1) -/* 801498AC 0014680C 7C 08 03 A6 */ mtlr r0 -/* 801498B0 00146810 38 21 00 20 */ addi r1, r1, 0x20 -/* 801498B4 00146814 4E 80 00 20 */ blr - -.global ConstructIntersectionArray__Q22SL18CSortedListManagerCFRC6CAABox -ConstructIntersectionArray__Q22SL18CSortedListManagerCFRC6CAABox: -/* 801498B8 00146818 94 21 FF 90 */ stwu r1, -0x70(r1) -/* 801498BC 0014681C 7C 08 02 A6 */ mflr r0 -/* 801498C0 00146820 90 01 00 74 */ stw r0, 0x74(r1) -/* 801498C4 00146824 BE 21 00 34 */ stmw r17, 0x34(r1) -/* 801498C8 00146828 7C 9F 23 78 */ mr r31, r4 -/* 801498CC 0014682C 7C 7E 1B 78 */ mr r30, r3 -/* 801498D0 00146830 C0 24 00 00 */ lfs f1, 0(r4) -/* 801498D4 00146834 38 80 00 00 */ li r4, 0 -/* 801498D8 00146838 48 00 0B A1 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 801498DC 0014683C B0 61 00 22 */ sth r3, 0x22(r1) -/* 801498E0 00146840 7F C3 F3 78 */ mr r3, r30 -/* 801498E4 00146844 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 801498E8 00146848 38 80 00 00 */ li r4, 0 -/* 801498EC 0014684C 48 00 0B 19 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 801498F0 00146850 C0 3F 00 00 */ lfs f1, 0(r31) -/* 801498F4 00146854 7C 7B 1B 78 */ mr r27, r3 -/* 801498F8 00146858 7F C3 F3 78 */ mr r3, r30 -/* 801498FC 0014685C 38 80 00 03 */ li r4, 3 -/* 80149900 00146860 48 00 0B 79 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 80149904 00146864 C0 3F 00 0C */ lfs f1, 0xc(r31) -/* 80149908 00146868 7C 7A 1B 78 */ mr r26, r3 -/* 8014990C 0014686C 7F C3 F3 78 */ mr r3, r30 -/* 80149910 00146870 38 80 00 03 */ li r4, 3 -/* 80149914 00146874 48 00 0A F1 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 80149918 00146878 3C 9E 00 01 */ addis r4, r30, 1 -/* 8014991C 0014687C 7C 79 1B 78 */ mr r25, r3 -/* 80149920 00146880 80 64 D0 0C */ lwz r3, -0x2ff4(r4) -/* 80149924 00146884 7F 3D 07 34 */ extsh r29, r25 -/* 80149928 00146888 A8 01 00 22 */ lha r0, 0x22(r1) -/* 8014992C 0014688C 7C BD 18 50 */ subf r5, r29, r3 -/* 80149930 00146890 38 61 00 22 */ addi r3, r1, 0x22 -/* 80149934 00146894 7C A4 07 34 */ extsh r4, r5 -/* 80149938 00146898 B0 A1 00 1C */ sth r5, 0x1c(r1) -/* 8014993C 0014689C 7C 04 00 00 */ cmpw r4, r0 -/* 80149940 001468A0 40 80 00 08 */ bge lbl_80149948 -/* 80149944 001468A4 38 61 00 1C */ addi r3, r1, 0x1c -lbl_80149948: -/* 80149948 001468A8 AB 03 00 00 */ lha r24, 0(r3) -/* 8014994C 001468AC 7F C3 F3 78 */ mr r3, r30 -/* 80149950 001468B0 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80149954 001468B4 38 80 00 01 */ li r4, 1 -/* 80149958 001468B8 48 00 0B 21 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 8014995C 001468BC B0 61 00 20 */ sth r3, 0x20(r1) -/* 80149960 001468C0 7F C3 F3 78 */ mr r3, r30 -/* 80149964 001468C4 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 80149968 001468C8 38 80 00 01 */ li r4, 1 -/* 8014996C 001468CC 48 00 0A 99 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 80149970 001468D0 C0 3F 00 04 */ lfs f1, 4(r31) -/* 80149974 001468D4 7C 77 1B 78 */ mr r23, r3 -/* 80149978 001468D8 7F C3 F3 78 */ mr r3, r30 -/* 8014997C 001468DC 38 80 00 04 */ li r4, 4 -/* 80149980 001468E0 48 00 0A F9 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 80149984 001468E4 C0 3F 00 10 */ lfs f1, 0x10(r31) -/* 80149988 001468E8 7C 76 1B 78 */ mr r22, r3 -/* 8014998C 001468EC 7F C3 F3 78 */ mr r3, r30 -/* 80149990 001468F0 38 80 00 04 */ li r4, 4 -/* 80149994 001468F4 48 00 0A 71 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 80149998 001468F8 3C 9E 00 01 */ addis r4, r30, 1 -/* 8014999C 001468FC 7C 75 1B 78 */ mr r21, r3 -/* 801499A0 00146900 80 64 D8 10 */ lwz r3, -0x27f0(r4) -/* 801499A4 00146904 7E BC 07 34 */ extsh r28, r21 -/* 801499A8 00146908 A8 01 00 20 */ lha r0, 0x20(r1) -/* 801499AC 0014690C 7C BC 18 50 */ subf r5, r28, r3 -/* 801499B0 00146910 38 61 00 20 */ addi r3, r1, 0x20 -/* 801499B4 00146914 7C A4 07 34 */ extsh r4, r5 -/* 801499B8 00146918 B0 A1 00 1A */ sth r5, 0x1a(r1) -/* 801499BC 0014691C 7C 04 00 00 */ cmpw r4, r0 -/* 801499C0 00146920 40 80 00 08 */ bge lbl_801499C8 -/* 801499C4 00146924 38 61 00 1A */ addi r3, r1, 0x1a -lbl_801499C8: -/* 801499C8 00146928 AA 83 00 00 */ lha r20, 0(r3) -/* 801499CC 0014692C 7F C3 F3 78 */ mr r3, r30 -/* 801499D0 00146930 C0 3F 00 08 */ lfs f1, 8(r31) -/* 801499D4 00146934 38 80 00 02 */ li r4, 2 -/* 801499D8 00146938 48 00 0A A1 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 801499DC 0014693C B0 61 00 1E */ sth r3, 0x1e(r1) -/* 801499E0 00146940 7F C3 F3 78 */ mr r3, r30 -/* 801499E4 00146944 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 801499E8 00146948 38 80 00 02 */ li r4, 2 -/* 801499EC 0014694C 48 00 0A 19 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 801499F0 00146950 C0 3F 00 08 */ lfs f1, 8(r31) -/* 801499F4 00146954 7C 73 1B 78 */ mr r19, r3 -/* 801499F8 00146958 7F C3 F3 78 */ mr r3, r30 -/* 801499FC 0014695C 38 80 00 05 */ li r4, 5 -/* 80149A00 00146960 48 00 0A 79 */ bl FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 80149A04 00146964 C0 3F 00 14 */ lfs f1, 0x14(r31) -/* 80149A08 00146968 7C 72 1B 78 */ mr r18, r3 -/* 80149A0C 0014696C 7F C3 F3 78 */ mr r3, r30 -/* 80149A10 00146970 38 80 00 05 */ li r4, 5 -/* 80149A14 00146974 48 00 09 F1 */ bl FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -/* 80149A18 00146978 3C 9E 00 01 */ addis r4, r30, 1 -/* 80149A1C 0014697C 7C 69 1B 78 */ mr r9, r3 -/* 80149A20 00146980 80 04 E0 14 */ lwz r0, -0x1fec(r4) -/* 80149A24 00146984 7D 27 07 34 */ extsh r7, r9 -/* 80149A28 00146988 A8 A1 00 1E */ lha r5, 0x1e(r1) -/* 80149A2C 0014698C 38 81 00 1E */ addi r4, r1, 0x1e -/* 80149A30 00146990 7C 67 00 50 */ subf r3, r7, r0 -/* 80149A34 00146994 7C 60 07 34 */ extsh r0, r3 -/* 80149A38 00146998 B0 61 00 18 */ sth r3, 0x18(r1) -/* 80149A3C 0014699C 7C 00 28 00 */ cmpw r0, r5 -/* 80149A40 001469A0 40 80 00 08 */ bge lbl_80149A48 -/* 80149A44 001469A4 38 81 00 18 */ addi r4, r1, 0x18 -lbl_80149A48: -/* 80149A48 001469A8 A8 C1 00 22 */ lha r6, 0x22(r1) -/* 80149A4C 001469AC 7F 60 07 34 */ extsh r0, r27 -/* 80149A50 001469B0 A9 01 00 20 */ lha r8, 0x20(r1) -/* 80149A54 001469B4 7E E3 07 34 */ extsh r3, r23 -/* 80149A58 001469B8 7D 66 00 50 */ subf r11, r6, r0 -/* 80149A5C 001469BC 7E 60 07 34 */ extsh r0, r19 -/* 80149A60 001469C0 7D 48 18 50 */ subf r10, r8, r3 -/* 80149A64 001469C4 7F 51 07 34 */ extsh r17, r26 -/* 80149A68 001469C8 7C 7D 5A 14 */ add r3, r29, r11 -/* 80149A6C 001469CC 7E CC 07 34 */ extsh r12, r22 -/* 80149A70 001469D0 7C 71 18 50 */ subf r3, r17, r3 -/* 80149A74 001469D4 7D 7C 52 14 */ add r11, r28, r10 -/* 80149A78 001469D8 54 7C 0F FE */ srwi r28, r3, 0x1f -/* 80149A7C 001469DC 7D 45 00 50 */ subf r10, r5, r0 -/* 80149A80 001469E0 7C 0C 58 50 */ subf r0, r12, r11 -/* 80149A84 001469E4 7E 4B 07 34 */ extsh r11, r18 -/* 80149A88 001469E8 7C 7C 1A 14 */ add r3, r28, r3 -/* 80149A8C 001469EC 7C E7 52 14 */ add r7, r7, r10 -/* 80149A90 001469F0 54 0C 0F FE */ srwi r12, r0, 0x1f -/* 80149A94 001469F4 A9 44 00 00 */ lha r10, 0(r4) -/* 80149A98 001469F8 7C 63 0E 70 */ srawi r3, r3, 1 -/* 80149A9C 001469FC 7C 8B 38 50 */ subf r4, r11, r7 -/* 80149AA0 00146A00 7C 0C 02 14 */ add r0, r12, r0 -/* 80149AA4 00146A04 7C 07 0E 70 */ srawi r7, r0, 1 -/* 80149AA8 00146A08 54 80 0F FE */ srwi r0, r4, 0x1f -/* 80149AAC 00146A0C 7C 00 22 14 */ add r0, r0, r4 -/* 80149AB0 00146A10 7C 78 1A 14 */ add r3, r24, r3 -/* 80149AB4 00146A14 7C 94 3A 14 */ add r4, r20, r7 -/* 80149AB8 00146A18 7C 00 0E 70 */ srawi r0, r0, 1 -/* 80149ABC 00146A1C 7C 03 20 00 */ cmpw r3, r4 -/* 80149AC0 00146A20 7C 0A 02 14 */ add r0, r10, r0 -/* 80149AC4 00146A24 40 80 00 4C */ bge lbl_80149B10 -/* 80149AC8 00146A28 7C 03 00 00 */ cmpw r3, r0 -/* 80149ACC 00146A2C 40 80 00 44 */ bge lbl_80149B10 -/* 80149AD0 00146A30 38 00 00 04 */ li r0, 4 -/* 80149AD4 00146A34 38 80 00 02 */ li r4, 2 -/* 80149AD8 00146A38 90 01 00 08 */ stw r0, 8(r1) -/* 80149ADC 00146A3C 38 00 00 05 */ li r0, 5 -/* 80149AE0 00146A40 7F C3 F3 78 */ mr r3, r30 -/* 80149AE4 00146A44 7F 67 DB 78 */ mr r7, r27 -/* 80149AE8 00146A48 90 81 00 0C */ stw r4, 0xc(r1) -/* 80149AEC 00146A4C 7F 48 D3 78 */ mr r8, r26 -/* 80149AF0 00146A50 7F 29 CB 78 */ mr r9, r25 -/* 80149AF4 00146A54 38 80 00 00 */ li r4, 0 -/* 80149AF8 00146A58 90 01 00 10 */ stw r0, 0x10(r1) -/* 80149AFC 00146A5C 38 A0 00 03 */ li r5, 3 -/* 80149B00 00146A60 39 40 00 01 */ li r10, 1 -/* 80149B04 00146A64 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80149B08 00146A68 48 00 00 A5 */ bl CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox -/* 80149B0C 00146A6C 48 00 00 8C */ b lbl_80149B98 -lbl_80149B10: -/* 80149B10 00146A70 7C 04 00 00 */ cmpw r4, r0 -/* 80149B14 00146A74 40 80 00 48 */ bge lbl_80149B5C -/* 80149B18 00146A78 38 00 00 03 */ li r0, 3 -/* 80149B1C 00146A7C 38 80 00 02 */ li r4, 2 -/* 80149B20 00146A80 90 01 00 08 */ stw r0, 8(r1) -/* 80149B24 00146A84 38 00 00 05 */ li r0, 5 -/* 80149B28 00146A88 7F C3 F3 78 */ mr r3, r30 -/* 80149B2C 00146A8C 7D 06 43 78 */ mr r6, r8 -/* 80149B30 00146A90 90 81 00 0C */ stw r4, 0xc(r1) -/* 80149B34 00146A94 7E E7 BB 78 */ mr r7, r23 -/* 80149B38 00146A98 7E C8 B3 78 */ mr r8, r22 -/* 80149B3C 00146A9C 7E A9 AB 78 */ mr r9, r21 -/* 80149B40 00146AA0 90 01 00 10 */ stw r0, 0x10(r1) -/* 80149B44 00146AA4 38 80 00 01 */ li r4, 1 -/* 80149B48 00146AA8 38 A0 00 04 */ li r5, 4 -/* 80149B4C 00146AAC 39 40 00 00 */ li r10, 0 -/* 80149B50 00146AB0 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80149B54 00146AB4 48 00 00 59 */ bl CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox -/* 80149B58 00146AB8 48 00 00 40 */ b lbl_80149B98 -lbl_80149B5C: -/* 80149B5C 00146ABC 38 00 00 03 */ li r0, 3 -/* 80149B60 00146AC0 7C A6 2B 78 */ mr r6, r5 -/* 80149B64 00146AC4 90 01 00 08 */ stw r0, 8(r1) -/* 80149B68 00146AC8 38 80 00 01 */ li r4, 1 -/* 80149B6C 00146ACC 38 00 00 04 */ li r0, 4 -/* 80149B70 00146AD0 7F C3 F3 78 */ mr r3, r30 -/* 80149B74 00146AD4 90 81 00 0C */ stw r4, 0xc(r1) -/* 80149B78 00146AD8 7E 67 9B 78 */ mr r7, r19 -/* 80149B7C 00146ADC 7E 48 93 78 */ mr r8, r18 -/* 80149B80 00146AE0 38 80 00 02 */ li r4, 2 -/* 80149B84 00146AE4 90 01 00 10 */ stw r0, 0x10(r1) -/* 80149B88 00146AE8 38 A0 00 05 */ li r5, 5 -/* 80149B8C 00146AEC 39 40 00 00 */ li r10, 0 -/* 80149B90 00146AF0 93 E1 00 14 */ stw r31, 0x14(r1) -/* 80149B94 00146AF4 48 00 00 19 */ bl CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox -lbl_80149B98: -/* 80149B98 00146AF8 BA 21 00 34 */ lmw r17, 0x34(r1) -/* 80149B9C 00146AFC 80 01 00 74 */ lwz r0, 0x74(r1) -/* 80149BA0 00146B00 7C 08 03 A6 */ mtlr r0 -/* 80149BA4 00146B04 38 21 00 70 */ addi r1, r1, 0x70 -/* 80149BA8 00146B08 4E 80 00 20 */ blr - -.global CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox -CalculateIntersections__Q22SL18CSortedListManagerCFQ22SL12ESortedListsQ22SL12ESortedListsssssQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsQ22SL12ESortedListsRC6CAABox: -/* 80149BAC 00146B0C 94 21 FF B0 */ stwu r1, -0x50(r1) -/* 80149BB0 00146B10 7C 08 02 A6 */ mflr r0 -/* 80149BB4 00146B14 90 01 00 54 */ stw r0, 0x54(r1) -/* 80149BB8 00146B18 BE 21 00 14 */ stmw r17, 0x14(r1) -/* 80149BBC 00146B1C 7C 98 23 78 */ mr r24, r4 -/* 80149BC0 00146B20 38 80 FF FF */ li r4, -1 -/* 80149BC4 00146B24 7C DA 33 78 */ mr r26, r6 -/* 80149BC8 00146B28 1C 18 08 04 */ mulli r0, r24, 0x804 -/* 80149BCC 00146B2C 7C 77 1B 78 */ mr r23, r3 -/* 80149BD0 00146B30 7F 53 07 34 */ extsh r19, r26 -/* 80149BD4 00146B34 83 81 00 58 */ lwz r28, 0x58(r1) -/* 80149BD8 00146B38 83 A1 00 5C */ lwz r29, 0x5c(r1) -/* 80149BDC 00146B3C 7C B9 2B 78 */ mr r25, r5 -/* 80149BE0 00146B40 7E 97 02 14 */ add r20, r23, r0 -/* 80149BE4 00146B44 56 60 08 3C */ slwi r0, r19, 1 -/* 80149BE8 00146B48 83 C1 00 60 */ lwz r30, 0x60(r1) -/* 80149BEC 00146B4C 7D 12 43 78 */ mr r18, r8 -/* 80149BF0 00146B50 83 E1 00 64 */ lwz r31, 0x64(r1) -/* 80149BF4 00146B54 7D 36 4B 78 */ mr r22, r9 -/* 80149BF8 00146B58 7D 5B 53 78 */ mr r27, r10 -/* 80149BFC 00146B5C 7E 34 02 14 */ add r17, r20, r0 -/* 80149C00 00146B60 7C F5 07 34 */ extsh r21, r7 -/* 80149C04 00146B64 B0 81 00 0A */ sth r4, 0xa(r1) -/* 80149C08 00146B68 B0 81 00 08 */ sth r4, 8(r1) -/* 80149C0C 00146B6C 48 00 00 24 */ b lbl_80149C30 -lbl_80149C10: -/* 80149C10 00146B70 3C 91 00 01 */ addis r4, r17, 1 -/* 80149C14 00146B74 7E E3 BB 78 */ mr r3, r23 -/* 80149C18 00146B78 A8 84 B0 00 */ lha r4, -0x5000(r4) -/* 80149C1C 00146B7C 38 A1 00 0A */ addi r5, r1, 0xa -/* 80149C20 00146B80 38 C1 00 08 */ addi r6, r1, 8 -/* 80149C24 00146B84 48 00 01 E5 */ bl AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs -/* 80149C28 00146B88 3A 31 00 02 */ addi r17, r17, 2 -/* 80149C2C 00146B8C 3A 73 00 01 */ addi r19, r19, 1 -lbl_80149C30: -/* 80149C30 00146B90 7E 60 07 34 */ extsh r0, r19 -/* 80149C34 00146B94 7C 00 A8 00 */ cmpw r0, r21 -/* 80149C38 00146B98 41 80 FF D8 */ blt lbl_80149C10 -/* 80149C3C 00146B9C 1E B9 08 04 */ mulli r21, r25, 0x804 -/* 80149C40 00146BA0 7E 52 07 34 */ extsh r18, r18 -/* 80149C44 00146BA4 7E D6 07 34 */ extsh r22, r22 -/* 80149C48 00146BA8 56 40 08 3C */ slwi r0, r18, 1 -/* 80149C4C 00146BAC 7E 77 AA 14 */ add r19, r23, r21 -/* 80149C50 00146BB0 7E 33 02 14 */ add r17, r19, r0 -/* 80149C54 00146BB4 48 00 00 24 */ b lbl_80149C78 -lbl_80149C58: -/* 80149C58 00146BB8 3C 91 00 01 */ addis r4, r17, 1 -/* 80149C5C 00146BBC 7E E3 BB 78 */ mr r3, r23 -/* 80149C60 00146BC0 A8 84 B0 00 */ lha r4, -0x5000(r4) -/* 80149C64 00146BC4 38 A1 00 0A */ addi r5, r1, 0xa -/* 80149C68 00146BC8 38 C1 00 08 */ addi r6, r1, 8 -/* 80149C6C 00146BCC 48 00 01 9D */ bl AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs -/* 80149C70 00146BD0 3A 31 00 02 */ addi r17, r17, 2 -/* 80149C74 00146BD4 3A 52 00 01 */ addi r18, r18, 1 -lbl_80149C78: -/* 80149C78 00146BD8 7E 40 07 34 */ extsh r0, r18 -/* 80149C7C 00146BDC 7C 00 B0 00 */ cmpw r0, r22 -/* 80149C80 00146BE0 41 80 FF D8 */ blt lbl_80149C58 -/* 80149C84 00146BE4 3C 17 00 01 */ addis r0, r23, 1 -/* 80149C88 00146BE8 7F 5A 07 34 */ extsh r26, r26 -/* 80149C8C 00146BEC 7C 60 AA 14 */ add r3, r0, r21 -/* 80149C90 00146BF0 80 03 B8 00 */ lwz r0, -0x4800(r3) -/* 80149C94 00146BF4 7C 16 00 50 */ subf r0, r22, r0 -/* 80149C98 00146BF8 7C 1A 00 00 */ cmpw r26, r0 -/* 80149C9C 00146BFC 40 80 00 5C */ bge lbl_80149CF8 -/* 80149CA0 00146C00 57 31 10 3A */ slwi r17, r25, 2 -/* 80149CA4 00146C04 3A 40 00 00 */ li r18, 0 -/* 80149CA8 00146C08 48 00 00 40 */ b lbl_80149CE8 -lbl_80149CAC: -/* 80149CAC 00146C0C 3C 74 00 01 */ addis r3, r20, 1 -/* 80149CB0 00146C10 7C 1F 8C 2E */ lfsx f0, r31, r17 -/* 80149CB4 00146C14 A8 83 B0 00 */ lha r4, -0x5000(r3) -/* 80149CB8 00146C18 1C 64 00 2C */ mulli r3, r4, 0x2c -/* 80149CBC 00146C1C 38 03 00 04 */ addi r0, r3, 4 -/* 80149CC0 00146C20 7C 00 8A 14 */ add r0, r0, r17 -/* 80149CC4 00146C24 7C 37 04 2E */ lfsx f1, r23, r0 -/* 80149CC8 00146C28 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80149CCC 00146C2C 40 81 00 14 */ ble lbl_80149CE0 -/* 80149CD0 00146C30 7E E3 BB 78 */ mr r3, r23 -/* 80149CD4 00146C34 38 A1 00 0A */ addi r5, r1, 0xa -/* 80149CD8 00146C38 38 C1 00 08 */ addi r6, r1, 8 -/* 80149CDC 00146C3C 48 00 01 2D */ bl AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs -lbl_80149CE0: -/* 80149CE0 00146C40 3A 94 00 02 */ addi r20, r20, 2 -/* 80149CE4 00146C44 3A 52 00 01 */ addi r18, r18, 1 -lbl_80149CE8: -/* 80149CE8 00146C48 7E 40 07 34 */ extsh r0, r18 -/* 80149CEC 00146C4C 7C 00 D0 00 */ cmpw r0, r26 -/* 80149CF0 00146C50 41 80 FF BC */ blt lbl_80149CAC -/* 80149CF4 00146C54 48 00 00 68 */ b lbl_80149D5C -lbl_80149CF8: -/* 80149CF8 00146C58 56 C0 08 3C */ slwi r0, r22, 1 -/* 80149CFC 00146C5C 7E D2 B3 78 */ mr r18, r22 -/* 80149D00 00146C60 7E D3 02 14 */ add r22, r19, r0 -/* 80149D04 00146C64 57 14 10 3A */ slwi r20, r24, 2 -/* 80149D08 00146C68 3E 33 00 01 */ addis r17, r19, 1 -/* 80149D0C 00146C6C 48 00 00 40 */ b lbl_80149D4C -lbl_80149D10: -/* 80149D10 00146C70 3C 76 00 01 */ addis r3, r22, 1 -/* 80149D14 00146C74 7C 1F A4 2E */ lfsx f0, r31, r20 -/* 80149D18 00146C78 A8 83 B0 00 */ lha r4, -0x5000(r3) -/* 80149D1C 00146C7C 1C 64 00 2C */ mulli r3, r4, 0x2c -/* 80149D20 00146C80 38 03 00 04 */ addi r0, r3, 4 -/* 80149D24 00146C84 7C 00 A2 14 */ add r0, r0, r20 -/* 80149D28 00146C88 7C 37 04 2E */ lfsx f1, r23, r0 -/* 80149D2C 00146C8C FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80149D30 00146C90 40 80 00 14 */ bge lbl_80149D44 -/* 80149D34 00146C94 7E E3 BB 78 */ mr r3, r23 -/* 80149D38 00146C98 38 A1 00 0A */ addi r5, r1, 0xa -/* 80149D3C 00146C9C 38 C1 00 08 */ addi r6, r1, 8 -/* 80149D40 00146CA0 48 00 00 C9 */ bl AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs -lbl_80149D44: -/* 80149D44 00146CA4 3A D6 00 02 */ addi r22, r22, 2 -/* 80149D48 00146CA8 3A 52 00 01 */ addi r18, r18, 1 -lbl_80149D4C: -/* 80149D4C 00146CAC 80 11 B8 00 */ lwz r0, -0x4800(r17) -/* 80149D50 00146CB0 7E 43 07 34 */ extsh r3, r18 -/* 80149D54 00146CB4 7C 03 00 00 */ cmpw r3, r0 -/* 80149D58 00146CB8 41 80 FF B8 */ blt lbl_80149D10 -lbl_80149D5C: -/* 80149D5C 00146CBC 39 01 00 0A */ addi r8, r1, 0xa -/* 80149D60 00146CC0 57 85 10 3A */ slwi r5, r28, 2 -/* 80149D64 00146CC4 57 64 10 3A */ slwi r4, r27, 2 -/* 80149D68 00146CC8 57 C7 10 3A */ slwi r7, r30, 2 -/* 80149D6C 00146CCC 57 A6 10 3A */ slwi r6, r29, 2 -/* 80149D70 00146CD0 48 00 00 74 */ b lbl_80149DE4 -lbl_80149D74: -/* 80149D74 00146CD4 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 80149D78 00146CD8 7C 1F 2C 2E */ lfsx f0, r31, r5 -/* 80149D7C 00146CDC 7D 37 02 14 */ add r9, r23, r0 -/* 80149D80 00146CE0 7C 69 22 14 */ add r3, r9, r4 -/* 80149D84 00146CE4 C0 23 00 04 */ lfs f1, 4(r3) -/* 80149D88 00146CE8 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80149D8C 00146CEC 41 81 00 40 */ bgt lbl_80149DCC -/* 80149D90 00146CF0 7C 69 2A 14 */ add r3, r9, r5 -/* 80149D94 00146CF4 7C 1F 24 2E */ lfsx f0, r31, r4 -/* 80149D98 00146CF8 C0 23 00 04 */ lfs f1, 4(r3) -/* 80149D9C 00146CFC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80149DA0 00146D00 41 80 00 2C */ blt lbl_80149DCC -/* 80149DA4 00146D04 7C 69 32 14 */ add r3, r9, r6 -/* 80149DA8 00146D08 7C 1F 3C 2E */ lfsx f0, r31, r7 -/* 80149DAC 00146D0C C0 23 00 04 */ lfs f1, 4(r3) -/* 80149DB0 00146D10 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80149DB4 00146D14 41 81 00 18 */ bgt lbl_80149DCC -/* 80149DB8 00146D18 7C 69 3A 14 */ add r3, r9, r7 -/* 80149DBC 00146D1C 7C 1F 34 2E */ lfsx f0, r31, r6 -/* 80149DC0 00146D20 C0 23 00 04 */ lfs f1, 4(r3) -/* 80149DC4 00146D24 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 80149DC8 00146D28 40 80 00 18 */ bge lbl_80149DE0 -lbl_80149DCC: -/* 80149DCC 00146D2C A8 69 00 28 */ lha r3, 0x28(r9) -/* 80149DD0 00146D30 38 00 FF FF */ li r0, -1 -/* 80149DD4 00146D34 B0 68 00 00 */ sth r3, 0(r8) -/* 80149DD8 00146D38 B0 09 00 28 */ sth r0, 0x28(r9) -/* 80149DDC 00146D3C 48 00 00 08 */ b lbl_80149DE4 -lbl_80149DE0: -/* 80149DE0 00146D40 39 09 00 28 */ addi r8, r9, 0x28 -lbl_80149DE4: -/* 80149DE4 00146D44 A8 08 00 00 */ lha r0, 0(r8) -/* 80149DE8 00146D48 2C 00 FF FF */ cmpwi r0, -1 -/* 80149DEC 00146D4C 40 82 FF 88 */ bne lbl_80149D74 -/* 80149DF0 00146D50 BA 21 00 14 */ lmw r17, 0x14(r1) -/* 80149DF4 00146D54 80 01 00 54 */ lwz r0, 0x54(r1) -/* 80149DF8 00146D58 A8 61 00 0A */ lha r3, 0xa(r1) -/* 80149DFC 00146D5C 7C 08 03 A6 */ mtlr r0 -/* 80149E00 00146D60 38 21 00 50 */ addi r1, r1, 0x50 -/* 80149E04 00146D64 4E 80 00 20 */ blr - -.global AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs -AddToLinkedList__Q22SL18CSortedListManagerCFsRsRs: -/* 80149E08 00146D68 A9 05 00 00 */ lha r8, 0(r5) -/* 80149E0C 00146D6C 2C 08 FF FF */ cmpwi r8, -1 -/* 80149E10 00146D70 40 82 00 20 */ bne lbl_80149E30 -/* 80149E14 00146D74 7C 80 07 34 */ extsh r0, r4 -/* 80149E18 00146D78 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 80149E1C 00146D7C 7C 63 02 14 */ add r3, r3, r0 -/* 80149E20 00146D80 B1 03 00 28 */ sth r8, 0x28(r3) -/* 80149E24 00146D84 B0 86 00 00 */ sth r4, 0(r6) -/* 80149E28 00146D88 B0 85 00 00 */ sth r4, 0(r5) -/* 80149E2C 00146D8C 4E 80 00 20 */ blr -lbl_80149E30: -/* 80149E30 00146D90 7C 87 07 34 */ extsh r7, r4 -/* 80149E34 00146D94 1C 07 00 2C */ mulli r0, r7, 0x2c -/* 80149E38 00146D98 7C 63 02 14 */ add r3, r3, r0 -/* 80149E3C 00146D9C A8 03 00 28 */ lha r0, 0x28(r3) -/* 80149E40 00146DA0 2C 00 FF FF */ cmpwi r0, -1 -/* 80149E44 00146DA4 4C 82 00 20 */ bnelr -/* 80149E48 00146DA8 A8 06 00 00 */ lha r0, 0(r6) -/* 80149E4C 00146DAC 7C 07 00 00 */ cmpw r7, r0 -/* 80149E50 00146DB0 4D 82 00 20 */ beqlr -/* 80149E54 00146DB4 B1 03 00 28 */ sth r8, 0x28(r3) -/* 80149E58 00146DB8 B0 85 00 00 */ sth r4, 0(r5) -/* 80149E5C 00146DBC 4E 80 00 20 */ blr - -.global Move__Q22SL18CSortedListManagerFPC6CActorRC6CAABox -Move__Q22SL18CSortedListManagerFPC6CActorRC6CAABox: -/* 80149E60 00146DC0 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80149E64 00146DC4 7C 08 02 A6 */ mflr r0 -/* 80149E68 00146DC8 90 01 00 14 */ stw r0, 0x14(r1) -/* 80149E6C 00146DCC 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80149E70 00146DD0 93 C1 00 08 */ stw r30, 8(r1) -/* 80149E74 00146DD4 7C 7E 1B 78 */ mr r30, r3 -/* 80149E78 00146DD8 A0 04 00 08 */ lhz r0, 8(r4) -/* 80149E7C 00146DDC 38 80 00 00 */ li r4, 0 -/* 80149E80 00146DE0 80 C5 00 00 */ lwz r6, 0(r5) -/* 80149E84 00146DE4 54 07 05 BE */ clrlwi r7, r0, 0x16 -/* 80149E88 00146DE8 80 05 00 04 */ lwz r0, 4(r5) -/* 80149E8C 00146DEC 1C E7 00 2C */ mulli r7, r7, 0x2c -/* 80149E90 00146DF0 7F FE 3A 14 */ add r31, r30, r7 -/* 80149E94 00146DF4 90 DF 00 04 */ stw r6, 4(r31) -/* 80149E98 00146DF8 90 1F 00 08 */ stw r0, 8(r31) -/* 80149E9C 00146DFC 80 05 00 08 */ lwz r0, 8(r5) -/* 80149EA0 00146E00 90 1F 00 0C */ stw r0, 0xc(r31) -/* 80149EA4 00146E04 80 C5 00 0C */ lwz r6, 0xc(r5) -/* 80149EA8 00146E08 80 05 00 10 */ lwz r0, 0x10(r5) -/* 80149EAC 00146E0C 90 DF 00 10 */ stw r6, 0x10(r31) -/* 80149EB0 00146E10 90 1F 00 14 */ stw r0, 0x14(r31) -/* 80149EB4 00146E14 80 05 00 14 */ lwz r0, 0x14(r5) -/* 80149EB8 00146E18 90 1F 00 18 */ stw r0, 0x18(r31) -/* 80149EBC 00146E1C A8 BF 00 1C */ lha r5, 0x1c(r31) -/* 80149EC0 00146E20 48 00 02 55 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149EC4 00146E24 A8 BF 00 22 */ lha r5, 0x22(r31) -/* 80149EC8 00146E28 7F C3 F3 78 */ mr r3, r30 -/* 80149ECC 00146E2C 38 80 00 03 */ li r4, 3 -/* 80149ED0 00146E30 48 00 02 45 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149ED4 00146E34 A8 BF 00 1E */ lha r5, 0x1e(r31) -/* 80149ED8 00146E38 7F C3 F3 78 */ mr r3, r30 -/* 80149EDC 00146E3C 38 80 00 01 */ li r4, 1 -/* 80149EE0 00146E40 48 00 02 35 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149EE4 00146E44 A8 BF 00 24 */ lha r5, 0x24(r31) -/* 80149EE8 00146E48 7F C3 F3 78 */ mr r3, r30 -/* 80149EEC 00146E4C 38 80 00 04 */ li r4, 4 -/* 80149EF0 00146E50 48 00 02 25 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149EF4 00146E54 A8 BF 00 20 */ lha r5, 0x20(r31) -/* 80149EF8 00146E58 7F C3 F3 78 */ mr r3, r30 -/* 80149EFC 00146E5C 38 80 00 02 */ li r4, 2 -/* 80149F00 00146E60 48 00 02 15 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149F04 00146E64 A8 BF 00 26 */ lha r5, 0x26(r31) -/* 80149F08 00146E68 7F C3 F3 78 */ mr r3, r30 -/* 80149F0C 00146E6C 38 80 00 05 */ li r4, 5 -/* 80149F10 00146E70 48 00 02 05 */ bl MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149F14 00146E74 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80149F18 00146E78 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80149F1C 00146E7C 83 C1 00 08 */ lwz r30, 8(r1) -/* 80149F20 00146E80 7C 08 03 A6 */ mtlr r0 -/* 80149F24 00146E84 38 21 00 10 */ addi r1, r1, 0x10 -/* 80149F28 00146E88 4E 80 00 20 */ blr - -.global Remove__Q22SL18CSortedListManagerFPC6CActor -Remove__Q22SL18CSortedListManagerFPC6CActor: -/* 80149F2C 00146E8C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 80149F30 00146E90 7C 08 02 A6 */ mflr r0 -/* 80149F34 00146E94 28 04 00 00 */ cmplwi r4, 0 -/* 80149F38 00146E98 90 01 00 14 */ stw r0, 0x14(r1) -/* 80149F3C 00146E9C 93 E1 00 0C */ stw r31, 0xc(r1) -/* 80149F40 00146EA0 93 C1 00 08 */ stw r30, 8(r1) -/* 80149F44 00146EA4 7C 7E 1B 78 */ mr r30, r3 -/* 80149F48 00146EA8 41 82 00 84 */ beq lbl_80149FCC -/* 80149F4C 00146EAC A0 04 00 08 */ lhz r0, 8(r4) -/* 80149F50 00146EB0 54 00 05 BE */ clrlwi r0, r0, 0x16 -/* 80149F54 00146EB4 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 80149F58 00146EB8 7F FE 02 14 */ add r31, r30, r0 -/* 80149F5C 00146EBC 88 1F 00 2A */ lbz r0, 0x2a(r31) -/* 80149F60 00146EC0 28 00 00 00 */ cmplwi r0, 0 -/* 80149F64 00146EC4 41 82 00 68 */ beq lbl_80149FCC -/* 80149F68 00146EC8 A8 BF 00 1C */ lha r5, 0x1c(r31) -/* 80149F6C 00146ECC 38 80 00 00 */ li r4, 0 -/* 80149F70 00146ED0 48 00 02 C1 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149F74 00146ED4 A8 BF 00 22 */ lha r5, 0x22(r31) -/* 80149F78 00146ED8 7F C3 F3 78 */ mr r3, r30 -/* 80149F7C 00146EDC 38 80 00 03 */ li r4, 3 -/* 80149F80 00146EE0 48 00 02 B1 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149F84 00146EE4 A8 BF 00 1E */ lha r5, 0x1e(r31) -/* 80149F88 00146EE8 7F C3 F3 78 */ mr r3, r30 -/* 80149F8C 00146EEC 38 80 00 01 */ li r4, 1 -/* 80149F90 00146EF0 48 00 02 A1 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149F94 00146EF4 A8 BF 00 24 */ lha r5, 0x24(r31) -/* 80149F98 00146EF8 7F C3 F3 78 */ mr r3, r30 -/* 80149F9C 00146EFC 38 80 00 04 */ li r4, 4 -/* 80149FA0 00146F00 48 00 02 91 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149FA4 00146F04 A8 BF 00 20 */ lha r5, 0x20(r31) -/* 80149FA8 00146F08 7F C3 F3 78 */ mr r3, r30 -/* 80149FAC 00146F0C 38 80 00 02 */ li r4, 2 -/* 80149FB0 00146F10 48 00 02 81 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149FB4 00146F14 A8 BF 00 26 */ lha r5, 0x26(r31) -/* 80149FB8 00146F18 7F C3 F3 78 */ mr r3, r30 -/* 80149FBC 00146F1C 38 80 00 05 */ li r4, 5 -/* 80149FC0 00146F20 48 00 02 71 */ bl RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -/* 80149FC4 00146F24 38 00 00 00 */ li r0, 0 -/* 80149FC8 00146F28 98 1F 00 2A */ stb r0, 0x2a(r31) -lbl_80149FCC: -/* 80149FCC 00146F2C 80 01 00 14 */ lwz r0, 0x14(r1) -/* 80149FD0 00146F30 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 80149FD4 00146F34 83 C1 00 08 */ lwz r30, 8(r1) -/* 80149FD8 00146F38 7C 08 03 A6 */ mtlr r0 -/* 80149FDC 00146F3C 38 21 00 10 */ addi r1, r1, 0x10 -/* 80149FE0 00146F40 4E 80 00 20 */ blr - -.global Insert__Q22SL18CSortedListManagerFP6CActorRC6CAABox -Insert__Q22SL18CSortedListManagerFP6CActorRC6CAABox: -/* 80149FE4 00146F44 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 80149FE8 00146F48 7C 08 02 A6 */ mflr r0 -/* 80149FEC 00146F4C 90 01 00 44 */ stw r0, 0x44(r1) -/* 80149FF0 00146F50 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 80149FF4 00146F54 7C 9F 23 78 */ mr r31, r4 -/* 80149FF8 00146F58 93 C1 00 38 */ stw r30, 0x38(r1) -/* 80149FFC 00146F5C 7C 7E 1B 78 */ mr r30, r3 -/* 8014A000 00146F60 A0 04 00 08 */ lhz r0, 8(r4) -/* 8014A004 00146F64 54 00 05 BE */ clrlwi r0, r0, 0x16 -/* 8014A008 00146F68 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 8014A00C 00146F6C 7C DE 02 14 */ add r6, r30, r0 -/* 8014A010 00146F70 88 06 00 2A */ lbz r0, 0x2a(r6) -/* 8014A014 00146F74 28 00 00 00 */ cmplwi r0, 0 -/* 8014A018 00146F78 41 82 00 0C */ beq lbl_8014A024 -/* 8014A01C 00146F7C 4B FF FE 45 */ bl Move__Q22SL18CSortedListManagerFPC6CActorRC6CAABox -/* 8014A020 00146F80 48 00 00 DC */ b lbl_8014A0FC -lbl_8014A024: -/* 8014A024 00146F84 38 61 00 08 */ addi r3, r1, 8 -/* 8014A028 00146F88 48 00 0B 11 */ bl __ct__Q22SL5SNodeFP6CActorRC6CAABox -/* 8014A02C 00146F8C 7F C3 F3 78 */ mr r3, r30 -/* 8014A030 00146F90 38 A1 00 08 */ addi r5, r1, 8 -/* 8014A034 00146F94 38 80 00 00 */ li r4, 0 -/* 8014A038 00146F98 48 00 02 59 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode -/* 8014A03C 00146F9C 7F C3 F3 78 */ mr r3, r30 -/* 8014A040 00146FA0 38 A1 00 08 */ addi r5, r1, 8 -/* 8014A044 00146FA4 38 80 00 03 */ li r4, 3 -/* 8014A048 00146FA8 48 00 02 49 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode -/* 8014A04C 00146FAC 7F C3 F3 78 */ mr r3, r30 -/* 8014A050 00146FB0 38 A1 00 08 */ addi r5, r1, 8 -/* 8014A054 00146FB4 38 80 00 01 */ li r4, 1 -/* 8014A058 00146FB8 48 00 02 39 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode -/* 8014A05C 00146FBC 7F C3 F3 78 */ mr r3, r30 -/* 8014A060 00146FC0 38 A1 00 08 */ addi r5, r1, 8 -/* 8014A064 00146FC4 38 80 00 04 */ li r4, 4 -/* 8014A068 00146FC8 48 00 02 29 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode -/* 8014A06C 00146FCC 7F C3 F3 78 */ mr r3, r30 -/* 8014A070 00146FD0 38 A1 00 08 */ addi r5, r1, 8 -/* 8014A074 00146FD4 38 80 00 02 */ li r4, 2 -/* 8014A078 00146FD8 48 00 02 19 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode -/* 8014A07C 00146FDC 7F C3 F3 78 */ mr r3, r30 -/* 8014A080 00146FE0 38 A1 00 08 */ addi r5, r1, 8 -/* 8014A084 00146FE4 38 80 00 05 */ li r4, 5 -/* 8014A088 00146FE8 48 00 02 09 */ bl InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode -/* 8014A08C 00146FEC A0 7F 00 08 */ lhz r3, 8(r31) -/* 8014A090 00146FF0 80 01 00 08 */ lwz r0, 8(r1) -/* 8014A094 00146FF4 54 63 05 BE */ clrlwi r3, r3, 0x16 -/* 8014A098 00146FF8 1C 63 00 2C */ mulli r3, r3, 0x2c -/* 8014A09C 00146FFC 7C 9E 1A 14 */ add r4, r30, r3 -/* 8014A0A0 00147000 90 04 00 00 */ stw r0, 0(r4) -/* 8014A0A4 00147004 80 61 00 0C */ lwz r3, 0xc(r1) -/* 8014A0A8 00147008 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014A0AC 0014700C 90 64 00 04 */ stw r3, 4(r4) -/* 8014A0B0 00147010 90 04 00 08 */ stw r0, 8(r4) -/* 8014A0B4 00147014 80 61 00 14 */ lwz r3, 0x14(r1) -/* 8014A0B8 00147018 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8014A0BC 0014701C 90 64 00 0C */ stw r3, 0xc(r4) -/* 8014A0C0 00147020 90 04 00 10 */ stw r0, 0x10(r4) -/* 8014A0C4 00147024 80 61 00 1C */ lwz r3, 0x1c(r1) -/* 8014A0C8 00147028 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8014A0CC 0014702C 90 64 00 14 */ stw r3, 0x14(r4) -/* 8014A0D0 00147030 90 04 00 18 */ stw r0, 0x18(r4) -/* 8014A0D4 00147034 80 61 00 24 */ lwz r3, 0x24(r1) -/* 8014A0D8 00147038 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8014A0DC 0014703C 90 64 00 1C */ stw r3, 0x1c(r4) -/* 8014A0E0 00147040 90 04 00 20 */ stw r0, 0x20(r4) -/* 8014A0E4 00147044 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8014A0E8 00147048 90 04 00 24 */ stw r0, 0x24(r4) -/* 8014A0EC 0014704C A8 01 00 30 */ lha r0, 0x30(r1) -/* 8014A0F0 00147050 B0 04 00 28 */ sth r0, 0x28(r4) -/* 8014A0F4 00147054 88 01 00 32 */ lbz r0, 0x32(r1) -/* 8014A0F8 00147058 98 04 00 2A */ stb r0, 0x2a(r4) -lbl_8014A0FC: -/* 8014A0FC 0014705C 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8014A100 00147060 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8014A104 00147064 83 C1 00 38 */ lwz r30, 0x38(r1) -/* 8014A108 00147068 7C 08 03 A6 */ mtlr r0 -/* 8014A10C 0014706C 38 21 00 40 */ addi r1, r1, 0x40 -/* 8014A110 00147070 4E 80 00 20 */ blr - -.global MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -MoveInList__Q22SL18CSortedListManagerFQ22SL12ESortedListss: -/* 8014A114 00147074 1D 04 08 04 */ mulli r8, r4, 0x804 -/* 8014A118 00147078 54 87 08 3C */ slwi r7, r4, 1 -/* 8014A11C 0014707C 7C A6 07 34 */ extsh r6, r5 -/* 8014A120 00147080 54 80 10 3A */ slwi r0, r4, 2 -/* 8014A124 00147084 3C A8 00 01 */ addis r5, r8, 1 -/* 8014A128 00147088 7C 83 3A 14 */ add r4, r3, r7 -/* 8014A12C 0014708C 38 A5 B0 00 */ addi r5, r5, -20480 -/* 8014A130 00147090 7C A3 2A 14 */ add r5, r3, r5 -lbl_8014A134: -/* 8014A134 00147094 7C C7 07 35 */ extsh. r7, r6 -/* 8014A138 00147098 40 81 00 74 */ ble lbl_8014A1AC -/* 8014A13C 0014709C 7C CA 07 34 */ extsh r10, r6 -/* 8014A140 001470A0 55 49 08 3C */ slwi r9, r10, 1 -/* 8014A144 001470A4 39 89 FF FE */ addi r12, r9, -2 -/* 8014A148 001470A8 7D 05 4A AE */ lhax r8, r5, r9 -/* 8014A14C 001470AC 7C E5 62 AE */ lhax r7, r5, r12 -/* 8014A150 001470B0 1D 08 00 2C */ mulli r8, r8, 0x2c -/* 8014A154 001470B4 1D 67 00 2C */ mulli r11, r7, 0x2c -/* 8014A158 001470B8 39 08 00 04 */ addi r8, r8, 4 -/* 8014A15C 001470BC 38 EB 00 04 */ addi r7, r11, 4 -/* 8014A160 001470C0 7D 08 02 14 */ add r8, r8, r0 -/* 8014A164 001470C4 7C E7 02 14 */ add r7, r7, r0 -/* 8014A168 001470C8 7C 03 44 2E */ lfsx f0, r3, r8 -/* 8014A16C 001470CC 7C 23 3C 2E */ lfsx f1, r3, r7 -/* 8014A170 001470D0 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8014A174 001470D4 40 81 00 38 */ ble lbl_8014A1AC -/* 8014A178 001470D8 38 EB 00 1C */ addi r7, r11, 0x1c -/* 8014A17C 001470DC 39 0A FF FF */ addi r8, r10, -1 -/* 8014A180 001470E0 7C C4 3B 2E */ sthx r6, r4, r7 -/* 8014A184 001470E4 38 C6 FF FF */ addi r6, r6, -1 -/* 8014A188 001470E8 7C E5 4A AE */ lhax r7, r5, r9 -/* 8014A18C 001470EC 1C E7 00 2C */ mulli r7, r7, 0x2c -/* 8014A190 001470F0 38 E7 00 1C */ addi r7, r7, 0x1c -/* 8014A194 001470F4 7D 04 3B 2E */ sthx r8, r4, r7 -/* 8014A198 001470F8 7D 05 62 AE */ lhax r8, r5, r12 -/* 8014A19C 001470FC 7C E5 4A AE */ lhax r7, r5, r9 -/* 8014A1A0 00147100 7C E5 63 2E */ sthx r7, r5, r12 -/* 8014A1A4 00147104 7D 05 4B 2E */ sthx r8, r5, r9 -/* 8014A1A8 00147108 4B FF FF 8C */ b lbl_8014A134 -lbl_8014A1AC: -/* 8014A1AC 0014710C 80 E5 08 00 */ lwz r7, 0x800(r5) -/* 8014A1B0 00147110 7C CA 07 34 */ extsh r10, r6 -/* 8014A1B4 00147114 38 E7 FF FF */ addi r7, r7, -1 -/* 8014A1B8 00147118 7C 0A 38 00 */ cmpw r10, r7 -/* 8014A1BC 0014711C 4C 80 00 20 */ bgelr -/* 8014A1C0 00147120 55 49 08 3C */ slwi r9, r10, 1 -/* 8014A1C4 00147124 39 89 00 02 */ addi r12, r9, 2 -/* 8014A1C8 00147128 7D 05 4A AE */ lhax r8, r5, r9 -/* 8014A1CC 0014712C 7C E5 62 AE */ lhax r7, r5, r12 -/* 8014A1D0 00147130 1D 08 00 2C */ mulli r8, r8, 0x2c -/* 8014A1D4 00147134 1D 67 00 2C */ mulli r11, r7, 0x2c -/* 8014A1D8 00147138 39 08 00 04 */ addi r8, r8, 4 -/* 8014A1DC 0014713C 38 EB 00 04 */ addi r7, r11, 4 -/* 8014A1E0 00147140 7D 08 02 14 */ add r8, r8, r0 -/* 8014A1E4 00147144 7C E7 02 14 */ add r7, r7, r0 -/* 8014A1E8 00147148 7C 03 44 2E */ lfsx f0, r3, r8 -/* 8014A1EC 0014714C 7C 23 3C 2E */ lfsx f1, r3, r7 -/* 8014A1F0 00147150 FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8014A1F4 00147154 4C 80 00 20 */ bgelr -/* 8014A1F8 00147158 38 EB 00 1C */ addi r7, r11, 0x1c -/* 8014A1FC 0014715C 39 0A 00 01 */ addi r8, r10, 1 -/* 8014A200 00147160 7C C4 3B 2E */ sthx r6, r4, r7 -/* 8014A204 00147164 38 C6 00 01 */ addi r6, r6, 1 -/* 8014A208 00147168 7C E5 4A AE */ lhax r7, r5, r9 -/* 8014A20C 0014716C 1C E7 00 2C */ mulli r7, r7, 0x2c -/* 8014A210 00147170 38 E7 00 1C */ addi r7, r7, 0x1c -/* 8014A214 00147174 7D 04 3B 2E */ sthx r8, r4, r7 -/* 8014A218 00147178 7D 05 62 AE */ lhax r8, r5, r12 -/* 8014A21C 0014717C 7C E5 4A AE */ lhax r7, r5, r9 -/* 8014A220 00147180 7C E5 63 2E */ sthx r7, r5, r12 -/* 8014A224 00147184 7D 05 4B 2E */ sthx r8, r5, r9 -/* 8014A228 00147188 4B FF FF 0C */ b lbl_8014A134 -/* 8014A22C 0014718C 4E 80 00 20 */ blr - -.global RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss -RemoveFromList__Q22SL18CSortedListManagerFQ22SL12ESortedListss: -/* 8014A230 00147190 1C C4 08 04 */ mulli r6, r4, 0x804 -/* 8014A234 00147194 7C A7 07 34 */ extsh r7, r5 -/* 8014A238 00147198 54 80 08 3C */ slwi r0, r4, 1 -/* 8014A23C 0014719C 54 E4 08 3C */ slwi r4, r7, 1 -/* 8014A240 001471A0 3C C6 00 01 */ addis r6, r6, 1 -/* 8014A244 001471A4 7C A3 02 14 */ add r5, r3, r0 -/* 8014A248 001471A8 38 C6 B0 00 */ addi r6, r6, -20480 -/* 8014A24C 001471AC 7C C3 32 14 */ add r6, r3, r6 -/* 8014A250 001471B0 7C 86 22 14 */ add r4, r6, r4 -/* 8014A254 001471B4 48 00 00 24 */ b lbl_8014A278 -lbl_8014A258: -/* 8014A258 001471B8 A8 04 00 02 */ lha r0, 2(r4) -/* 8014A25C 001471BC 1C 60 00 2C */ mulli r3, r0, 0x2c -/* 8014A260 001471C0 38 03 00 1C */ addi r0, r3, 0x1c -/* 8014A264 001471C4 7C E5 03 2E */ sthx r7, r5, r0 -/* 8014A268 001471C8 38 E7 00 01 */ addi r7, r7, 1 -/* 8014A26C 001471CC A8 04 00 02 */ lha r0, 2(r4) -/* 8014A270 001471D0 B0 04 00 00 */ sth r0, 0(r4) -/* 8014A274 001471D4 38 84 00 02 */ addi r4, r4, 2 -lbl_8014A278: -/* 8014A278 001471D8 80 66 08 00 */ lwz r3, 0x800(r6) -/* 8014A27C 001471DC 38 03 FF FF */ addi r0, r3, -1 -/* 8014A280 001471E0 7C 07 00 00 */ cmpw r7, r0 -/* 8014A284 001471E4 41 80 FF D4 */ blt lbl_8014A258 -/* 8014A288 001471E8 90 06 08 00 */ stw r0, 0x800(r6) -/* 8014A28C 001471EC 4E 80 00 20 */ blr - -.global InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode -InsertInList__Q22SL18CSortedListManagerFQ22SL12ESortedListsRQ22SL5SNode: -/* 8014A290 001471F0 1C C4 08 04 */ mulli r6, r4, 0x804 -/* 8014A294 001471F4 54 88 10 3A */ slwi r8, r4, 2 -/* 8014A298 001471F8 38 00 00 00 */ li r0, 0 -/* 8014A29C 001471FC 7C E5 42 14 */ add r7, r5, r8 -/* 8014A2A0 00147200 3C C6 00 01 */ addis r6, r6, 1 -/* 8014A2A4 00147204 C0 27 00 04 */ lfs f1, 4(r7) -/* 8014A2A8 00147208 38 C6 B0 00 */ addi r6, r6, -20480 -/* 8014A2AC 0014720C 7C C3 32 14 */ add r6, r3, r6 -/* 8014A2B0 00147210 81 26 08 00 */ lwz r9, 0x800(r6) -/* 8014A2B4 00147214 7D 2A 4B 78 */ mr r10, r9 -/* 8014A2B8 00147218 48 00 00 48 */ b lbl_8014A300 -lbl_8014A2BC: -/* 8014A2BC 0014721C 55 47 0F FE */ srwi r7, r10, 0x1f -/* 8014A2C0 00147220 7C E7 52 14 */ add r7, r7, r10 -/* 8014A2C4 00147224 7C EB 0E 70 */ srawi r11, r7, 1 -/* 8014A2C8 00147228 7D 80 5A 14 */ add r12, r0, r11 -/* 8014A2CC 0014722C 55 87 08 3C */ slwi r7, r12, 1 -/* 8014A2D0 00147230 7C E6 3A AE */ lhax r7, r6, r7 -/* 8014A2D4 00147234 1C E7 00 2C */ mulli r7, r7, 0x2c -/* 8014A2D8 00147238 38 E7 00 04 */ addi r7, r7, 4 -/* 8014A2DC 0014723C 7C E7 42 14 */ add r7, r7, r8 -/* 8014A2E0 00147240 7C 03 3C 2E */ lfsx f0, r3, r7 -/* 8014A2E4 00147244 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8014A2E8 00147248 40 80 00 14 */ bge lbl_8014A2FC -/* 8014A2EC 0014724C 7C EB 50 50 */ subf r7, r11, r10 -/* 8014A2F0 00147250 38 0C 00 01 */ addi r0, r12, 1 -/* 8014A2F4 00147254 39 47 FF FF */ addi r10, r7, -1 -/* 8014A2F8 00147258 48 00 00 08 */ b lbl_8014A300 -lbl_8014A2FC: -/* 8014A2FC 0014725C 7D 6A 5B 78 */ mr r10, r11 -lbl_8014A300: -/* 8014A300 00147260 2C 0A 00 00 */ cmpwi r10, 0 -/* 8014A304 00147264 41 81 FF B8 */ bgt lbl_8014A2BC -/* 8014A308 00147268 7C 09 00 00 */ cmpw r9, r0 -/* 8014A30C 0014726C 54 8A 08 3C */ slwi r10, r4, 1 -/* 8014A310 00147270 55 27 08 3C */ slwi r7, r9, 1 -/* 8014A314 00147274 7C 80 48 50 */ subf r4, r0, r9 -/* 8014A318 00147278 7C E6 3A 14 */ add r7, r6, r7 -/* 8014A31C 0014727C 7D 03 52 14 */ add r8, r3, r10 -/* 8014A320 00147280 40 81 00 B8 */ ble lbl_8014A3D8 -/* 8014A324 00147284 54 83 F0 BF */ rlwinm. r3, r4, 0x1e, 2, 0x1f -/* 8014A328 00147288 7C 69 03 A6 */ mtctr r3 -/* 8014A32C 0014728C 41 82 00 84 */ beq lbl_8014A3B0 -lbl_8014A330: -/* 8014A330 00147290 A8 67 FF FE */ lha r3, -2(r7) -/* 8014A334 00147294 1C 63 00 2C */ mulli r3, r3, 0x2c -/* 8014A338 00147298 38 63 00 1C */ addi r3, r3, 0x1c -/* 8014A33C 0014729C 7D 28 1B 2E */ sthx r9, r8, r3 -/* 8014A340 001472A0 39 29 FF FF */ addi r9, r9, -1 -/* 8014A344 001472A4 A8 67 FF FE */ lha r3, -2(r7) -/* 8014A348 001472A8 B0 67 00 00 */ sth r3, 0(r7) -/* 8014A34C 001472AC A8 67 FF FC */ lha r3, -4(r7) -/* 8014A350 001472B0 1C 63 00 2C */ mulli r3, r3, 0x2c -/* 8014A354 001472B4 38 63 00 1C */ addi r3, r3, 0x1c -/* 8014A358 001472B8 7D 28 1B 2E */ sthx r9, r8, r3 -/* 8014A35C 001472BC 39 29 FF FF */ addi r9, r9, -1 -/* 8014A360 001472C0 A8 67 FF FC */ lha r3, -4(r7) -/* 8014A364 001472C4 B0 67 FF FE */ sth r3, -2(r7) -/* 8014A368 001472C8 A8 67 FF FA */ lha r3, -6(r7) -/* 8014A36C 001472CC 1C 63 00 2C */ mulli r3, r3, 0x2c -/* 8014A370 001472D0 38 63 00 1C */ addi r3, r3, 0x1c -/* 8014A374 001472D4 7D 28 1B 2E */ sthx r9, r8, r3 -/* 8014A378 001472D8 39 29 FF FF */ addi r9, r9, -1 -/* 8014A37C 001472DC A8 67 FF FA */ lha r3, -6(r7) -/* 8014A380 001472E0 B0 67 FF FC */ sth r3, -4(r7) -/* 8014A384 001472E4 A8 67 FF F8 */ lha r3, -8(r7) -/* 8014A388 001472E8 1C 63 00 2C */ mulli r3, r3, 0x2c -/* 8014A38C 001472EC 38 63 00 1C */ addi r3, r3, 0x1c -/* 8014A390 001472F0 7D 28 1B 2E */ sthx r9, r8, r3 -/* 8014A394 001472F4 39 29 FF FF */ addi r9, r9, -1 -/* 8014A398 001472F8 A8 67 FF F8 */ lha r3, -8(r7) -/* 8014A39C 001472FC B0 67 FF FA */ sth r3, -6(r7) -/* 8014A3A0 00147300 38 E7 FF F8 */ addi r7, r7, -8 -/* 8014A3A4 00147304 42 00 FF 8C */ bdnz lbl_8014A330 -/* 8014A3A8 00147308 70 84 00 03 */ andi. r4, r4, 3 -/* 8014A3AC 0014730C 41 82 00 2C */ beq lbl_8014A3D8 -lbl_8014A3B0: -/* 8014A3B0 00147310 7C 89 03 A6 */ mtctr r4 -lbl_8014A3B4: -/* 8014A3B4 00147314 A8 67 FF FE */ lha r3, -2(r7) -/* 8014A3B8 00147318 1C 63 00 2C */ mulli r3, r3, 0x2c -/* 8014A3BC 0014731C 38 63 00 1C */ addi r3, r3, 0x1c -/* 8014A3C0 00147320 7D 28 1B 2E */ sthx r9, r8, r3 -/* 8014A3C4 00147324 39 29 FF FF */ addi r9, r9, -1 -/* 8014A3C8 00147328 A8 67 FF FE */ lha r3, -2(r7) -/* 8014A3CC 0014732C B0 67 00 00 */ sth r3, 0(r7) -/* 8014A3D0 00147330 38 E7 FF FE */ addi r7, r7, -2 -/* 8014A3D4 00147334 42 00 FF E0 */ bdnz lbl_8014A3B4 -lbl_8014A3D8: -/* 8014A3D8 00147338 80 E5 00 00 */ lwz r7, 0(r5) -/* 8014A3DC 0014733C 7C 65 52 14 */ add r3, r5, r10 -/* 8014A3E0 00147340 54 04 08 3C */ slwi r4, r0, 1 -/* 8014A3E4 00147344 A0 A7 00 08 */ lhz r5, 8(r7) -/* 8014A3E8 00147348 54 A5 05 BE */ clrlwi r5, r5, 0x16 -/* 8014A3EC 0014734C 7C A6 23 2E */ sthx r5, r6, r4 -/* 8014A3F0 00147350 80 86 08 00 */ lwz r4, 0x800(r6) -/* 8014A3F4 00147354 38 84 00 01 */ addi r4, r4, 1 -/* 8014A3F8 00147358 90 86 08 00 */ stw r4, 0x800(r6) -/* 8014A3FC 0014735C B0 03 00 1C */ sth r0, 0x1c(r3) -/* 8014A400 00147360 4E 80 00 20 */ blr - -.global FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -FindInListUpper__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf: -/* 8014A404 00147364 1C A4 08 04 */ mulli r5, r4, 0x804 -/* 8014A408 00147368 54 86 10 3A */ slwi r6, r4, 2 -/* 8014A40C 0014736C 39 20 00 00 */ li r9, 0 -/* 8014A410 00147370 3C A5 00 01 */ addis r5, r5, 1 -/* 8014A414 00147374 38 A5 B0 00 */ addi r5, r5, -20480 -/* 8014A418 00147378 7C A3 2A 14 */ add r5, r3, r5 -/* 8014A41C 0014737C 80 E5 08 00 */ lwz r7, 0x800(r5) -/* 8014A420 00147380 48 00 00 48 */ b lbl_8014A468 -lbl_8014A424: -/* 8014A424 00147384 54 E0 0F FE */ srwi r0, r7, 0x1f -/* 8014A428 00147388 7C 00 3A 14 */ add r0, r0, r7 -/* 8014A42C 0014738C 7C 08 0E 70 */ srawi r8, r0, 1 -/* 8014A430 00147390 7D 49 42 14 */ add r10, r9, r8 -/* 8014A434 00147394 55 40 08 3C */ slwi r0, r10, 1 -/* 8014A438 00147398 7C 05 02 AE */ lhax r0, r5, r0 -/* 8014A43C 0014739C 1C 80 00 2C */ mulli r4, r0, 0x2c -/* 8014A440 001473A0 38 04 00 04 */ addi r0, r4, 4 -/* 8014A444 001473A4 7C 00 32 14 */ add r0, r0, r6 -/* 8014A448 001473A8 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8014A44C 001473AC FC 01 00 40 */ fcmpo cr0, f1, f0 -/* 8014A450 001473B0 40 80 00 0C */ bge lbl_8014A45C -/* 8014A454 001473B4 7D 07 43 78 */ mr r7, r8 -/* 8014A458 001473B8 48 00 00 10 */ b lbl_8014A468 -lbl_8014A45C: -/* 8014A45C 001473BC 7C 88 38 50 */ subf r4, r8, r7 -/* 8014A460 001473C0 39 2A 00 01 */ addi r9, r10, 1 -/* 8014A464 001473C4 38 E4 FF FF */ addi r7, r4, -1 -lbl_8014A468: -/* 8014A468 001473C8 2C 07 00 00 */ cmpwi r7, 0 -/* 8014A46C 001473CC 41 81 FF B8 */ bgt lbl_8014A424 -/* 8014A470 001473D0 7D 23 07 34 */ extsh r3, r9 -/* 8014A474 001473D4 4E 80 00 20 */ blr - -.global FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf -FindInListLower__Q22SL18CSortedListManagerCFQ22SL12ESortedListsf: -/* 8014A478 001473D8 1C A4 08 04 */ mulli r5, r4, 0x804 -/* 8014A47C 001473DC 54 86 10 3A */ slwi r6, r4, 2 -/* 8014A480 001473E0 39 20 00 00 */ li r9, 0 -/* 8014A484 001473E4 3C A5 00 01 */ addis r5, r5, 1 -/* 8014A488 001473E8 38 A5 B0 00 */ addi r5, r5, -20480 -/* 8014A48C 001473EC 7C A3 2A 14 */ add r5, r3, r5 -/* 8014A490 001473F0 80 E5 08 00 */ lwz r7, 0x800(r5) -/* 8014A494 001473F4 48 00 00 48 */ b lbl_8014A4DC -lbl_8014A498: -/* 8014A498 001473F8 54 E0 0F FE */ srwi r0, r7, 0x1f -/* 8014A49C 001473FC 7C 00 3A 14 */ add r0, r0, r7 -/* 8014A4A0 00147400 7C 08 0E 70 */ srawi r8, r0, 1 -/* 8014A4A4 00147404 7D 49 42 14 */ add r10, r9, r8 -/* 8014A4A8 00147408 55 40 08 3C */ slwi r0, r10, 1 -/* 8014A4AC 0014740C 7C 05 02 AE */ lhax r0, r5, r0 -/* 8014A4B0 00147410 1C 80 00 2C */ mulli r4, r0, 0x2c -/* 8014A4B4 00147414 38 04 00 04 */ addi r0, r4, 4 -/* 8014A4B8 00147418 7C 00 32 14 */ add r0, r0, r6 -/* 8014A4BC 0014741C 7C 03 04 2E */ lfsx f0, r3, r0 -/* 8014A4C0 00147420 FC 00 08 40 */ fcmpo cr0, f0, f1 -/* 8014A4C4 00147424 40 80 00 14 */ bge lbl_8014A4D8 -/* 8014A4C8 00147428 7C 88 38 50 */ subf r4, r8, r7 -/* 8014A4CC 0014742C 39 2A 00 01 */ addi r9, r10, 1 -/* 8014A4D0 00147430 38 E4 FF FF */ addi r7, r4, -1 -/* 8014A4D4 00147434 48 00 00 08 */ b lbl_8014A4DC -lbl_8014A4D8: -/* 8014A4D8 00147438 7D 07 43 78 */ mr r7, r8 -lbl_8014A4DC: -/* 8014A4DC 0014743C 2C 07 00 00 */ cmpwi r7, 0 -/* 8014A4E0 00147440 41 81 FF B8 */ bgt lbl_8014A498 -/* 8014A4E4 00147444 7D 23 07 34 */ extsh r3, r9 -/* 8014A4E8 00147448 4E 80 00 20 */ blr - -.global ActorInLists__Q22SL18CSortedListManagerCFPC6CActor -ActorInLists__Q22SL18CSortedListManagerCFPC6CActor: -/* 8014A4EC 0014744C 28 04 00 00 */ cmplwi r4, 0 -/* 8014A4F0 00147450 38 A0 00 00 */ li r5, 0 -/* 8014A4F4 00147454 41 82 00 24 */ beq lbl_8014A518 -/* 8014A4F8 00147458 A0 04 00 08 */ lhz r0, 8(r4) -/* 8014A4FC 0014745C 54 00 05 BE */ clrlwi r0, r0, 0x16 -/* 8014A500 00147460 1C 00 00 2C */ mulli r0, r0, 0x2c -/* 8014A504 00147464 7C 63 02 14 */ add r3, r3, r0 -/* 8014A508 00147468 88 03 00 2A */ lbz r0, 0x2a(r3) -/* 8014A50C 0014746C 28 00 00 00 */ cmplwi r0, 0 -/* 8014A510 00147470 41 82 00 08 */ beq lbl_8014A518 -/* 8014A514 00147474 38 A0 00 01 */ li r5, 1 -lbl_8014A518: -/* 8014A518 00147478 7C A3 2B 78 */ mr r3, r5 -/* 8014A51C 0014747C 4E 80 00 20 */ blr - -.global Reset__Q22SL18CSortedListManagerFv -Reset__Q22SL18CSortedListManagerFv: -/* 8014A520 00147480 94 21 F7 C0 */ stwu r1, -0x840(r1) -/* 8014A524 00147484 7C 08 02 A6 */ mflr r0 -/* 8014A528 00147488 90 01 08 44 */ stw r0, 0x844(r1) -/* 8014A52C 0014748C 93 E1 08 3C */ stw r31, 0x83c(r1) -/* 8014A530 00147490 7C 7F 1B 78 */ mr r31, r3 -/* 8014A534 00147494 38 61 00 08 */ addi r3, r1, 8 -/* 8014A538 00147498 48 00 06 61 */ bl __ct__Q22SL5SNodeFv -/* 8014A53C 0014749C 38 00 00 80 */ li r0, 0x80 -/* 8014A540 001474A0 7F E3 FB 78 */ mr r3, r31 -/* 8014A544 001474A4 7C 09 03 A6 */ mtctr r0 -lbl_8014A548: -/* 8014A548 001474A8 80 01 00 08 */ lwz r0, 8(r1) -/* 8014A54C 001474AC 90 03 00 00 */ stw r0, 0(r3) -/* 8014A550 001474B0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8014A554 001474B4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014A558 001474B8 90 83 00 04 */ stw r4, 4(r3) -/* 8014A55C 001474BC 90 03 00 08 */ stw r0, 8(r3) -/* 8014A560 001474C0 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8014A564 001474C4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8014A568 001474C8 90 83 00 0C */ stw r4, 0xc(r3) -/* 8014A56C 001474CC 90 03 00 10 */ stw r0, 0x10(r3) -/* 8014A570 001474D0 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8014A574 001474D4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8014A578 001474D8 90 83 00 14 */ stw r4, 0x14(r3) -/* 8014A57C 001474DC 90 03 00 18 */ stw r0, 0x18(r3) -/* 8014A580 001474E0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8014A584 001474E4 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8014A588 001474E8 90 83 00 1C */ stw r4, 0x1c(r3) -/* 8014A58C 001474EC 90 03 00 20 */ stw r0, 0x20(r3) -/* 8014A590 001474F0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8014A594 001474F4 90 03 00 24 */ stw r0, 0x24(r3) -/* 8014A598 001474F8 A8 01 00 30 */ lha r0, 0x30(r1) -/* 8014A59C 001474FC B0 03 00 28 */ sth r0, 0x28(r3) -/* 8014A5A0 00147500 88 01 00 32 */ lbz r0, 0x32(r1) -/* 8014A5A4 00147504 98 03 00 2A */ stb r0, 0x2a(r3) -/* 8014A5A8 00147508 80 01 00 08 */ lwz r0, 8(r1) -/* 8014A5AC 0014750C 90 03 00 2C */ stw r0, 0x2c(r3) -/* 8014A5B0 00147510 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8014A5B4 00147514 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014A5B8 00147518 90 83 00 30 */ stw r4, 0x30(r3) -/* 8014A5BC 0014751C 90 03 00 34 */ stw r0, 0x34(r3) -/* 8014A5C0 00147520 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8014A5C4 00147524 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8014A5C8 00147528 90 83 00 38 */ stw r4, 0x38(r3) -/* 8014A5CC 0014752C 90 03 00 3C */ stw r0, 0x3c(r3) -/* 8014A5D0 00147530 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8014A5D4 00147534 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8014A5D8 00147538 90 83 00 40 */ stw r4, 0x40(r3) -/* 8014A5DC 0014753C 90 03 00 44 */ stw r0, 0x44(r3) -/* 8014A5E0 00147540 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8014A5E4 00147544 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8014A5E8 00147548 90 83 00 48 */ stw r4, 0x48(r3) -/* 8014A5EC 0014754C 90 03 00 4C */ stw r0, 0x4c(r3) -/* 8014A5F0 00147550 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8014A5F4 00147554 90 03 00 50 */ stw r0, 0x50(r3) -/* 8014A5F8 00147558 A8 01 00 30 */ lha r0, 0x30(r1) -/* 8014A5FC 0014755C B0 03 00 54 */ sth r0, 0x54(r3) -/* 8014A600 00147560 88 01 00 32 */ lbz r0, 0x32(r1) -/* 8014A604 00147564 98 03 00 56 */ stb r0, 0x56(r3) -/* 8014A608 00147568 80 01 00 08 */ lwz r0, 8(r1) -/* 8014A60C 0014756C 90 03 00 58 */ stw r0, 0x58(r3) -/* 8014A610 00147570 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8014A614 00147574 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014A618 00147578 90 83 00 5C */ stw r4, 0x5c(r3) -/* 8014A61C 0014757C 90 03 00 60 */ stw r0, 0x60(r3) -/* 8014A620 00147580 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8014A624 00147584 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8014A628 00147588 90 83 00 64 */ stw r4, 0x64(r3) -/* 8014A62C 0014758C 90 03 00 68 */ stw r0, 0x68(r3) -/* 8014A630 00147590 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8014A634 00147594 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8014A638 00147598 90 83 00 6C */ stw r4, 0x6c(r3) -/* 8014A63C 0014759C 90 03 00 70 */ stw r0, 0x70(r3) -/* 8014A640 001475A0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8014A644 001475A4 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8014A648 001475A8 90 83 00 74 */ stw r4, 0x74(r3) -/* 8014A64C 001475AC 90 03 00 78 */ stw r0, 0x78(r3) -/* 8014A650 001475B0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8014A654 001475B4 90 03 00 7C */ stw r0, 0x7c(r3) -/* 8014A658 001475B8 A8 01 00 30 */ lha r0, 0x30(r1) -/* 8014A65C 001475BC B0 03 00 80 */ sth r0, 0x80(r3) -/* 8014A660 001475C0 88 01 00 32 */ lbz r0, 0x32(r1) -/* 8014A664 001475C4 98 03 00 82 */ stb r0, 0x82(r3) -/* 8014A668 001475C8 80 01 00 08 */ lwz r0, 8(r1) -/* 8014A66C 001475CC 90 03 00 84 */ stw r0, 0x84(r3) -/* 8014A670 001475D0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8014A674 001475D4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014A678 001475D8 90 83 00 88 */ stw r4, 0x88(r3) -/* 8014A67C 001475DC 90 03 00 8C */ stw r0, 0x8c(r3) -/* 8014A680 001475E0 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8014A684 001475E4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8014A688 001475E8 90 83 00 90 */ stw r4, 0x90(r3) -/* 8014A68C 001475EC 90 03 00 94 */ stw r0, 0x94(r3) -/* 8014A690 001475F0 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8014A694 001475F4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8014A698 001475F8 90 83 00 98 */ stw r4, 0x98(r3) -/* 8014A69C 001475FC 90 03 00 9C */ stw r0, 0x9c(r3) -/* 8014A6A0 00147600 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8014A6A4 00147604 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8014A6A8 00147608 90 83 00 A0 */ stw r4, 0xa0(r3) -/* 8014A6AC 0014760C 90 03 00 A4 */ stw r0, 0xa4(r3) -/* 8014A6B0 00147610 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8014A6B4 00147614 90 03 00 A8 */ stw r0, 0xa8(r3) -/* 8014A6B8 00147618 A8 01 00 30 */ lha r0, 0x30(r1) -/* 8014A6BC 0014761C B0 03 00 AC */ sth r0, 0xac(r3) -/* 8014A6C0 00147620 88 01 00 32 */ lbz r0, 0x32(r1) -/* 8014A6C4 00147624 98 03 00 AE */ stb r0, 0xae(r3) -/* 8014A6C8 00147628 80 01 00 08 */ lwz r0, 8(r1) -/* 8014A6CC 0014762C 90 03 00 B0 */ stw r0, 0xb0(r3) -/* 8014A6D0 00147630 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8014A6D4 00147634 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014A6D8 00147638 90 83 00 B4 */ stw r4, 0xb4(r3) -/* 8014A6DC 0014763C 90 03 00 B8 */ stw r0, 0xb8(r3) -/* 8014A6E0 00147640 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8014A6E4 00147644 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8014A6E8 00147648 90 83 00 BC */ stw r4, 0xbc(r3) -/* 8014A6EC 0014764C 90 03 00 C0 */ stw r0, 0xc0(r3) -/* 8014A6F0 00147650 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8014A6F4 00147654 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8014A6F8 00147658 90 83 00 C4 */ stw r4, 0xc4(r3) -/* 8014A6FC 0014765C 90 03 00 C8 */ stw r0, 0xc8(r3) -/* 8014A700 00147660 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8014A704 00147664 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8014A708 00147668 90 83 00 CC */ stw r4, 0xcc(r3) -/* 8014A70C 0014766C 90 03 00 D0 */ stw r0, 0xd0(r3) -/* 8014A710 00147670 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8014A714 00147674 90 03 00 D4 */ stw r0, 0xd4(r3) -/* 8014A718 00147678 A8 01 00 30 */ lha r0, 0x30(r1) -/* 8014A71C 0014767C B0 03 00 D8 */ sth r0, 0xd8(r3) -/* 8014A720 00147680 88 01 00 32 */ lbz r0, 0x32(r1) -/* 8014A724 00147684 98 03 00 DA */ stb r0, 0xda(r3) -/* 8014A728 00147688 80 01 00 08 */ lwz r0, 8(r1) -/* 8014A72C 0014768C 90 03 00 DC */ stw r0, 0xdc(r3) -/* 8014A730 00147690 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8014A734 00147694 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014A738 00147698 90 83 00 E0 */ stw r4, 0xe0(r3) -/* 8014A73C 0014769C 90 03 00 E4 */ stw r0, 0xe4(r3) -/* 8014A740 001476A0 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8014A744 001476A4 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8014A748 001476A8 90 83 00 E8 */ stw r4, 0xe8(r3) -/* 8014A74C 001476AC 90 03 00 EC */ stw r0, 0xec(r3) -/* 8014A750 001476B0 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8014A754 001476B4 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8014A758 001476B8 90 83 00 F0 */ stw r4, 0xf0(r3) -/* 8014A75C 001476BC 90 03 00 F4 */ stw r0, 0xf4(r3) -/* 8014A760 001476C0 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8014A764 001476C4 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8014A768 001476C8 90 83 00 F8 */ stw r4, 0xf8(r3) -/* 8014A76C 001476CC 90 03 00 FC */ stw r0, 0xfc(r3) -/* 8014A770 001476D0 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8014A774 001476D4 90 03 01 00 */ stw r0, 0x100(r3) -/* 8014A778 001476D8 A8 01 00 30 */ lha r0, 0x30(r1) -/* 8014A77C 001476DC B0 03 01 04 */ sth r0, 0x104(r3) -/* 8014A780 001476E0 88 01 00 32 */ lbz r0, 0x32(r1) -/* 8014A784 001476E4 98 03 01 06 */ stb r0, 0x106(r3) -/* 8014A788 001476E8 80 01 00 08 */ lwz r0, 8(r1) -/* 8014A78C 001476EC 90 03 01 08 */ stw r0, 0x108(r3) -/* 8014A790 001476F0 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8014A794 001476F4 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014A798 001476F8 90 83 01 0C */ stw r4, 0x10c(r3) -/* 8014A79C 001476FC 90 03 01 10 */ stw r0, 0x110(r3) -/* 8014A7A0 00147700 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8014A7A4 00147704 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8014A7A8 00147708 90 83 01 14 */ stw r4, 0x114(r3) -/* 8014A7AC 0014770C 90 03 01 18 */ stw r0, 0x118(r3) -/* 8014A7B0 00147710 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8014A7B4 00147714 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8014A7B8 00147718 90 83 01 1C */ stw r4, 0x11c(r3) -/* 8014A7BC 0014771C 90 03 01 20 */ stw r0, 0x120(r3) -/* 8014A7C0 00147720 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8014A7C4 00147724 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8014A7C8 00147728 90 83 01 24 */ stw r4, 0x124(r3) -/* 8014A7CC 0014772C 90 03 01 28 */ stw r0, 0x128(r3) -/* 8014A7D0 00147730 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8014A7D4 00147734 90 03 01 2C */ stw r0, 0x12c(r3) -/* 8014A7D8 00147738 A8 01 00 30 */ lha r0, 0x30(r1) -/* 8014A7DC 0014773C B0 03 01 30 */ sth r0, 0x130(r3) -/* 8014A7E0 00147740 88 01 00 32 */ lbz r0, 0x32(r1) -/* 8014A7E4 00147744 98 03 01 32 */ stb r0, 0x132(r3) -/* 8014A7E8 00147748 80 01 00 08 */ lwz r0, 8(r1) -/* 8014A7EC 0014774C 90 03 01 34 */ stw r0, 0x134(r3) -/* 8014A7F0 00147750 80 81 00 0C */ lwz r4, 0xc(r1) -/* 8014A7F4 00147754 80 01 00 10 */ lwz r0, 0x10(r1) -/* 8014A7F8 00147758 90 83 01 38 */ stw r4, 0x138(r3) -/* 8014A7FC 0014775C 90 03 01 3C */ stw r0, 0x13c(r3) -/* 8014A800 00147760 80 81 00 14 */ lwz r4, 0x14(r1) -/* 8014A804 00147764 80 01 00 18 */ lwz r0, 0x18(r1) -/* 8014A808 00147768 90 83 01 40 */ stw r4, 0x140(r3) -/* 8014A80C 0014776C 90 03 01 44 */ stw r0, 0x144(r3) -/* 8014A810 00147770 80 81 00 1C */ lwz r4, 0x1c(r1) -/* 8014A814 00147774 80 01 00 20 */ lwz r0, 0x20(r1) -/* 8014A818 00147778 90 83 01 48 */ stw r4, 0x148(r3) -/* 8014A81C 0014777C 90 03 01 4C */ stw r0, 0x14c(r3) -/* 8014A820 00147780 80 81 00 24 */ lwz r4, 0x24(r1) -/* 8014A824 00147784 80 01 00 28 */ lwz r0, 0x28(r1) -/* 8014A828 00147788 90 83 01 50 */ stw r4, 0x150(r3) -/* 8014A82C 0014778C 90 03 01 54 */ stw r0, 0x154(r3) -/* 8014A830 00147790 80 01 00 2C */ lwz r0, 0x2c(r1) -/* 8014A834 00147794 90 03 01 58 */ stw r0, 0x158(r3) -/* 8014A838 00147798 A8 01 00 30 */ lha r0, 0x30(r1) -/* 8014A83C 0014779C B0 03 01 5C */ sth r0, 0x15c(r3) -/* 8014A840 001477A0 88 01 00 32 */ lbz r0, 0x32(r1) -/* 8014A844 001477A4 98 03 01 5E */ stb r0, 0x15e(r3) -/* 8014A848 001477A8 38 63 01 60 */ addi r3, r3, 0x160 -/* 8014A84C 001477AC 42 00 FC FC */ bdnz lbl_8014A548 -/* 8014A850 001477B0 38 60 00 00 */ li r3, 0 -/* 8014A854 001477B4 38 00 00 20 */ li r0, 0x20 -/* 8014A858 001477B8 90 61 08 34 */ stw r3, 0x834(r1) -/* 8014A85C 001477BC 38 81 00 34 */ addi r4, r1, 0x34 -/* 8014A860 001477C0 38 60 FF FF */ li r3, -1 -/* 8014A864 001477C4 7C 09 03 A6 */ mtctr r0 -lbl_8014A868: -/* 8014A868 001477C8 B0 64 00 00 */ sth r3, 0(r4) -/* 8014A86C 001477CC B0 64 00 02 */ sth r3, 2(r4) -/* 8014A870 001477D0 B0 64 00 04 */ sth r3, 4(r4) -/* 8014A874 001477D4 B0 64 00 06 */ sth r3, 6(r4) -/* 8014A878 001477D8 B0 64 00 08 */ sth r3, 8(r4) -/* 8014A87C 001477DC B0 64 00 0A */ sth r3, 0xa(r4) -/* 8014A880 001477E0 B0 64 00 0C */ sth r3, 0xc(r4) -/* 8014A884 001477E4 B0 64 00 0E */ sth r3, 0xe(r4) -/* 8014A888 001477E8 B0 64 00 10 */ sth r3, 0x10(r4) -/* 8014A88C 001477EC B0 64 00 12 */ sth r3, 0x12(r4) -/* 8014A890 001477F0 B0 64 00 14 */ sth r3, 0x14(r4) -/* 8014A894 001477F4 B0 64 00 16 */ sth r3, 0x16(r4) -/* 8014A898 001477F8 B0 64 00 18 */ sth r3, 0x18(r4) -/* 8014A89C 001477FC B0 64 00 1A */ sth r3, 0x1a(r4) -/* 8014A8A0 00147800 B0 64 00 1C */ sth r3, 0x1c(r4) -/* 8014A8A4 00147804 B0 64 00 1E */ sth r3, 0x1e(r4) -/* 8014A8A8 00147808 B0 64 00 20 */ sth r3, 0x20(r4) -/* 8014A8AC 0014780C B0 64 00 22 */ sth r3, 0x22(r4) -/* 8014A8B0 00147810 B0 64 00 24 */ sth r3, 0x24(r4) -/* 8014A8B4 00147814 B0 64 00 26 */ sth r3, 0x26(r4) -/* 8014A8B8 00147818 B0 64 00 28 */ sth r3, 0x28(r4) -/* 8014A8BC 0014781C B0 64 00 2A */ sth r3, 0x2a(r4) -/* 8014A8C0 00147820 B0 64 00 2C */ sth r3, 0x2c(r4) -/* 8014A8C4 00147824 B0 64 00 2E */ sth r3, 0x2e(r4) -/* 8014A8C8 00147828 B0 64 00 30 */ sth r3, 0x30(r4) -/* 8014A8CC 0014782C B0 64 00 32 */ sth r3, 0x32(r4) -/* 8014A8D0 00147830 B0 64 00 34 */ sth r3, 0x34(r4) -/* 8014A8D4 00147834 B0 64 00 36 */ sth r3, 0x36(r4) -/* 8014A8D8 00147838 B0 64 00 38 */ sth r3, 0x38(r4) -/* 8014A8DC 0014783C B0 64 00 3A */ sth r3, 0x3a(r4) -/* 8014A8E0 00147840 B0 64 00 3C */ sth r3, 0x3c(r4) -/* 8014A8E4 00147844 B0 64 00 3E */ sth r3, 0x3e(r4) -/* 8014A8E8 00147848 38 84 00 40 */ addi r4, r4, 0x40 -/* 8014A8EC 0014784C 42 00 FF 7C */ bdnz lbl_8014A868 -/* 8014A8F0 00147850 3C 7F 00 01 */ addis r3, r31, 1 -/* 8014A8F4 00147854 38 00 01 00 */ li r0, 0x100 -/* 8014A8F8 00147858 38 A3 AF FC */ addi r5, r3, -20484 -/* 8014A8FC 0014785C 38 81 00 30 */ addi r4, r1, 0x30 -/* 8014A900 00147860 7C 09 03 A6 */ mtctr r0 -lbl_8014A904: -/* 8014A904 00147864 80 64 00 04 */ lwz r3, 4(r4) -/* 8014A908 00147868 84 04 00 08 */ lwzu r0, 8(r4) -/* 8014A90C 0014786C 90 65 00 04 */ stw r3, 4(r5) -/* 8014A910 00147870 94 05 00 08 */ stwu r0, 8(r5) -/* 8014A914 00147874 42 00 FF F0 */ bdnz lbl_8014A904 -/* 8014A918 00147878 80 A1 08 34 */ lwz r5, 0x834(r1) -/* 8014A91C 0014787C 3C 7F 00 01 */ addis r3, r31, 1 -/* 8014A920 00147880 38 00 01 00 */ li r0, 0x100 -/* 8014A924 00147884 38 81 00 30 */ addi r4, r1, 0x30 -/* 8014A928 00147888 90 A3 B8 00 */ stw r5, -0x4800(r3) -/* 8014A92C 0014788C 38 A3 B8 00 */ addi r5, r3, -18432 -/* 8014A930 00147890 7C 09 03 A6 */ mtctr r0 -lbl_8014A934: -/* 8014A934 00147894 80 64 00 04 */ lwz r3, 4(r4) -/* 8014A938 00147898 84 04 00 08 */ lwzu r0, 8(r4) -/* 8014A93C 0014789C 90 65 00 04 */ stw r3, 4(r5) -/* 8014A940 001478A0 94 05 00 08 */ stwu r0, 8(r5) -/* 8014A944 001478A4 42 00 FF F0 */ bdnz lbl_8014A934 -/* 8014A948 001478A8 80 A1 08 34 */ lwz r5, 0x834(r1) -/* 8014A94C 001478AC 3C 7F 00 01 */ addis r3, r31, 1 -/* 8014A950 001478B0 38 00 01 00 */ li r0, 0x100 -/* 8014A954 001478B4 38 81 00 30 */ addi r4, r1, 0x30 -/* 8014A958 001478B8 90 A3 C0 04 */ stw r5, -0x3ffc(r3) -/* 8014A95C 001478BC 38 A3 C0 04 */ addi r5, r3, -16380 -/* 8014A960 001478C0 7C 09 03 A6 */ mtctr r0 -lbl_8014A964: -/* 8014A964 001478C4 80 64 00 04 */ lwz r3, 4(r4) -/* 8014A968 001478C8 84 04 00 08 */ lwzu r0, 8(r4) -/* 8014A96C 001478CC 90 65 00 04 */ stw r3, 4(r5) -/* 8014A970 001478D0 94 05 00 08 */ stwu r0, 8(r5) -/* 8014A974 001478D4 42 00 FF F0 */ bdnz lbl_8014A964 -/* 8014A978 001478D8 80 A1 08 34 */ lwz r5, 0x834(r1) -/* 8014A97C 001478DC 3C 7F 00 01 */ addis r3, r31, 1 -/* 8014A980 001478E0 38 00 01 00 */ li r0, 0x100 -/* 8014A984 001478E4 38 81 00 30 */ addi r4, r1, 0x30 -/* 8014A988 001478E8 90 A3 C8 08 */ stw r5, -0x37f8(r3) -/* 8014A98C 001478EC 38 A3 C8 08 */ addi r5, r3, -14328 -/* 8014A990 001478F0 7C 09 03 A6 */ mtctr r0 -lbl_8014A994: -/* 8014A994 001478F4 80 64 00 04 */ lwz r3, 4(r4) -/* 8014A998 001478F8 84 04 00 08 */ lwzu r0, 8(r4) -/* 8014A99C 001478FC 90 65 00 04 */ stw r3, 4(r5) -/* 8014A9A0 00147900 94 05 00 08 */ stwu r0, 8(r5) -/* 8014A9A4 00147904 42 00 FF F0 */ bdnz lbl_8014A994 -/* 8014A9A8 00147908 80 A1 08 34 */ lwz r5, 0x834(r1) -/* 8014A9AC 0014790C 3C 7F 00 01 */ addis r3, r31, 1 -/* 8014A9B0 00147910 38 00 01 00 */ li r0, 0x100 -/* 8014A9B4 00147914 38 81 00 30 */ addi r4, r1, 0x30 -/* 8014A9B8 00147918 90 A3 D0 0C */ stw r5, -0x2ff4(r3) -/* 8014A9BC 0014791C 38 A3 D0 0C */ addi r5, r3, -12276 -/* 8014A9C0 00147920 7C 09 03 A6 */ mtctr r0 -lbl_8014A9C4: -/* 8014A9C4 00147924 80 64 00 04 */ lwz r3, 4(r4) -/* 8014A9C8 00147928 84 04 00 08 */ lwzu r0, 8(r4) -/* 8014A9CC 0014792C 90 65 00 04 */ stw r3, 4(r5) -/* 8014A9D0 00147930 94 05 00 08 */ stwu r0, 8(r5) -/* 8014A9D4 00147934 42 00 FF F0 */ bdnz lbl_8014A9C4 -/* 8014A9D8 00147938 80 A1 08 34 */ lwz r5, 0x834(r1) -/* 8014A9DC 0014793C 3C 7F 00 01 */ addis r3, r31, 1 -/* 8014A9E0 00147940 38 00 01 00 */ li r0, 0x100 -/* 8014A9E4 00147944 38 81 00 30 */ addi r4, r1, 0x30 -/* 8014A9E8 00147948 90 A3 D8 10 */ stw r5, -0x27f0(r3) -/* 8014A9EC 0014794C 38 A3 D8 10 */ addi r5, r3, -10224 -/* 8014A9F0 00147950 7C 09 03 A6 */ mtctr r0 -lbl_8014A9F4: -/* 8014A9F4 00147954 80 64 00 04 */ lwz r3, 4(r4) -/* 8014A9F8 00147958 84 04 00 08 */ lwzu r0, 8(r4) -/* 8014A9FC 0014795C 90 65 00 04 */ stw r3, 4(r5) -/* 8014AA00 00147960 94 05 00 08 */ stwu r0, 8(r5) -/* 8014AA04 00147964 42 00 FF F0 */ bdnz lbl_8014A9F4 -/* 8014AA08 00147968 80 01 08 34 */ lwz r0, 0x834(r1) -/* 8014AA0C 0014796C 3C 7F 00 01 */ addis r3, r31, 1 -/* 8014AA10 00147970 90 03 E0 14 */ stw r0, -0x1fec(r3) -/* 8014AA14 00147974 83 E1 08 3C */ lwz r31, 0x83c(r1) -/* 8014AA18 00147978 80 01 08 44 */ lwz r0, 0x844(r1) -/* 8014AA1C 0014797C 7C 08 03 A6 */ mtlr r0 -/* 8014AA20 00147980 38 21 08 40 */ addi r1, r1, 0x840 -/* 8014AA24 00147984 4E 80 00 20 */ blr - -.global __ct__Q22SL18CSortedListManagerFv -__ct__Q22SL18CSortedListManagerFv: -/* 8014AA28 00147988 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8014AA2C 0014798C 7C 08 02 A6 */ mflr r0 -/* 8014AA30 00147990 3C 80 80 15 */ lis r4, __ct__Q22SL5SNodeFv@ha -/* 8014AA34 00147994 38 A0 00 00 */ li r5, 0 -/* 8014AA38 00147998 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014AA3C 0014799C 38 84 AB 98 */ addi r4, r4, __ct__Q22SL5SNodeFv@l -/* 8014AA40 001479A0 38 C0 00 2C */ li r6, 0x2c -/* 8014AA44 001479A4 38 E0 04 00 */ li r7, 0x400 -/* 8014AA48 001479A8 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8014AA4C 001479AC 7C 7F 1B 78 */ mr r31, r3 -/* 8014AA50 001479B0 48 23 EC FD */ bl __construct_array -/* 8014AA54 001479B4 3C 80 80 15 */ lis r4, __ct__Q22SL11SSortedListFv@ha -/* 8014AA58 001479B8 3C 7F 00 01 */ addis r3, r31, 1 -/* 8014AA5C 001479BC 38 84 AA 94 */ addi r4, r4, __ct__Q22SL11SSortedListFv@l -/* 8014AA60 001479C0 38 A0 00 00 */ li r5, 0 -/* 8014AA64 001479C4 38 C0 08 04 */ li r6, 0x804 -/* 8014AA68 001479C8 38 E0 00 06 */ li r7, 6 -/* 8014AA6C 001479CC 38 63 B0 00 */ addi r3, r3, -20480 -/* 8014AA70 001479D0 48 23 EC DD */ bl __construct_array -/* 8014AA74 001479D4 7F E3 FB 78 */ mr r3, r31 -/* 8014AA78 001479D8 4B FF FA A9 */ bl Reset__Q22SL18CSortedListManagerFv -/* 8014AA7C 001479DC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8014AA80 001479E0 7F E3 FB 78 */ mr r3, r31 -/* 8014AA84 001479E4 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8014AA88 001479E8 7C 08 03 A6 */ mtlr r0 -/* 8014AA8C 001479EC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8014AA90 001479F0 4E 80 00 20 */ blr - -.global __ct__Q22SL11SSortedListFv -__ct__Q22SL11SSortedListFv: -/* 8014AA94 001479F4 38 80 00 00 */ li r4, 0 -/* 8014AA98 001479F8 38 00 00 20 */ li r0, 0x20 -/* 8014AA9C 001479FC 90 83 08 00 */ stw r4, 0x800(r3) -/* 8014AAA0 00147A00 7C 65 1B 78 */ mr r5, r3 -/* 8014AAA4 00147A04 38 80 FF FF */ li r4, -1 -/* 8014AAA8 00147A08 7C 09 03 A6 */ mtctr r0 -lbl_8014AAAC: -/* 8014AAAC 00147A0C B0 85 00 00 */ sth r4, 0(r5) -/* 8014AAB0 00147A10 B0 85 00 02 */ sth r4, 2(r5) -/* 8014AAB4 00147A14 B0 85 00 04 */ sth r4, 4(r5) -/* 8014AAB8 00147A18 B0 85 00 06 */ sth r4, 6(r5) -/* 8014AABC 00147A1C B0 85 00 08 */ sth r4, 8(r5) -/* 8014AAC0 00147A20 B0 85 00 0A */ sth r4, 0xa(r5) -/* 8014AAC4 00147A24 B0 85 00 0C */ sth r4, 0xc(r5) -/* 8014AAC8 00147A28 B0 85 00 0E */ sth r4, 0xe(r5) -/* 8014AACC 00147A2C B0 85 00 10 */ sth r4, 0x10(r5) -/* 8014AAD0 00147A30 B0 85 00 12 */ sth r4, 0x12(r5) -/* 8014AAD4 00147A34 B0 85 00 14 */ sth r4, 0x14(r5) -/* 8014AAD8 00147A38 B0 85 00 16 */ sth r4, 0x16(r5) -/* 8014AADC 00147A3C B0 85 00 18 */ sth r4, 0x18(r5) -/* 8014AAE0 00147A40 B0 85 00 1A */ sth r4, 0x1a(r5) -/* 8014AAE4 00147A44 B0 85 00 1C */ sth r4, 0x1c(r5) -/* 8014AAE8 00147A48 B0 85 00 1E */ sth r4, 0x1e(r5) -/* 8014AAEC 00147A4C B0 85 00 20 */ sth r4, 0x20(r5) -/* 8014AAF0 00147A50 B0 85 00 22 */ sth r4, 0x22(r5) -/* 8014AAF4 00147A54 B0 85 00 24 */ sth r4, 0x24(r5) -/* 8014AAF8 00147A58 B0 85 00 26 */ sth r4, 0x26(r5) -/* 8014AAFC 00147A5C B0 85 00 28 */ sth r4, 0x28(r5) -/* 8014AB00 00147A60 B0 85 00 2A */ sth r4, 0x2a(r5) -/* 8014AB04 00147A64 B0 85 00 2C */ sth r4, 0x2c(r5) -/* 8014AB08 00147A68 B0 85 00 2E */ sth r4, 0x2e(r5) -/* 8014AB0C 00147A6C B0 85 00 30 */ sth r4, 0x30(r5) -/* 8014AB10 00147A70 B0 85 00 32 */ sth r4, 0x32(r5) -/* 8014AB14 00147A74 B0 85 00 34 */ sth r4, 0x34(r5) -/* 8014AB18 00147A78 B0 85 00 36 */ sth r4, 0x36(r5) -/* 8014AB1C 00147A7C B0 85 00 38 */ sth r4, 0x38(r5) -/* 8014AB20 00147A80 B0 85 00 3A */ sth r4, 0x3a(r5) -/* 8014AB24 00147A84 B0 85 00 3C */ sth r4, 0x3c(r5) -/* 8014AB28 00147A88 B0 85 00 3E */ sth r4, 0x3e(r5) -/* 8014AB2C 00147A8C 38 A5 00 40 */ addi r5, r5, 0x40 -/* 8014AB30 00147A90 42 00 FF 7C */ bdnz lbl_8014AAAC - -.global sub_8014ab34 -sub_8014ab34: -/* 8014AB34 00147A94 4E 80 00 20 */ blr - -.global __ct__Q22SL5SNodeFP6CActorRC6CAABox -__ct__Q22SL5SNodeFP6CActorRC6CAABox: -/* 8014AB38 00147A98 90 83 00 00 */ stw r4, 0(r3) -/* 8014AB3C 00147A9C 38 80 FF FF */ li r4, -1 -/* 8014AB40 00147AA0 38 00 00 01 */ li r0, 1 -/* 8014AB44 00147AA4 C0 05 00 00 */ lfs f0, 0(r5) -/* 8014AB48 00147AA8 D0 03 00 04 */ stfs f0, 4(r3) -/* 8014AB4C 00147AAC C0 05 00 04 */ lfs f0, 4(r5) -/* 8014AB50 00147AB0 D0 03 00 08 */ stfs f0, 8(r3) -/* 8014AB54 00147AB4 C0 05 00 08 */ lfs f0, 8(r5) -/* 8014AB58 00147AB8 D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8014AB5C 00147ABC C0 05 00 0C */ lfs f0, 0xc(r5) -/* 8014AB60 00147AC0 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8014AB64 00147AC4 C0 05 00 10 */ lfs f0, 0x10(r5) -/* 8014AB68 00147AC8 D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8014AB6C 00147ACC C0 05 00 14 */ lfs f0, 0x14(r5) -/* 8014AB70 00147AD0 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8014AB74 00147AD4 B0 83 00 28 */ sth r4, 0x28(r3) -/* 8014AB78 00147AD8 98 03 00 2A */ stb r0, 0x2a(r3) -/* 8014AB7C 00147ADC B0 83 00 1C */ sth r4, 0x1c(r3) -/* 8014AB80 00147AE0 B0 83 00 1E */ sth r4, 0x1e(r3) -/* 8014AB84 00147AE4 B0 83 00 20 */ sth r4, 0x20(r3) -/* 8014AB88 00147AE8 B0 83 00 22 */ sth r4, 0x22(r3) -/* 8014AB8C 00147AEC B0 83 00 24 */ sth r4, 0x24(r3) -/* 8014AB90 00147AF0 B0 83 00 26 */ sth r4, 0x26(r3) -/* 8014AB94 00147AF4 4E 80 00 20 */ blr - -.global __ct__Q22SL5SNodeFv -__ct__Q22SL5SNodeFv: -/* 8014AB98 00147AF8 38 A0 00 00 */ li r5, 0 -/* 8014AB9C 00147AFC 3C 80 80 5A */ lis r4, lbl_805A6784@ha -/* 8014ABA0 00147B00 90 A3 00 00 */ stw r5, 0(r3) -/* 8014ABA4 00147B04 38 00 FF FF */ li r0, -1 -/* 8014ABA8 00147B08 C4 04 67 84 */ lfsu f0, lbl_805A6784@l(r4) -/* 8014ABAC 00147B0C D0 03 00 04 */ stfs f0, 4(r3) -/* 8014ABB0 00147B10 C0 04 00 04 */ lfs f0, 4(r4) -/* 8014ABB4 00147B14 D0 03 00 08 */ stfs f0, 8(r3) -/* 8014ABB8 00147B18 C0 04 00 08 */ lfs f0, 8(r4) -/* 8014ABBC 00147B1C D0 03 00 0C */ stfs f0, 0xc(r3) -/* 8014ABC0 00147B20 C0 04 00 0C */ lfs f0, 0xc(r4) -/* 8014ABC4 00147B24 D0 03 00 10 */ stfs f0, 0x10(r3) -/* 8014ABC8 00147B28 C0 04 00 10 */ lfs f0, 0x10(r4) -/* 8014ABCC 00147B2C D0 03 00 14 */ stfs f0, 0x14(r3) -/* 8014ABD0 00147B30 C0 04 00 14 */ lfs f0, 0x14(r4) -/* 8014ABD4 00147B34 D0 03 00 18 */ stfs f0, 0x18(r3) -/* 8014ABD8 00147B38 B0 03 00 28 */ sth r0, 0x28(r3) -/* 8014ABDC 00147B3C 98 A3 00 2A */ stb r5, 0x2a(r3) -/* 8014ABE0 00147B40 4E 80 00 20 */ blr - -.global __dt__26CScriptDebugCameraWaypointFv -__dt__26CScriptDebugCameraWaypointFv: -/* 8014ABE4 00147B44 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8014ABE8 00147B48 7C 08 02 A6 */ mflr r0 -/* 8014ABEC 00147B4C 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014ABF0 00147B50 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8014ABF4 00147B54 7C 9F 23 78 */ mr r31, r4 -/* 8014ABF8 00147B58 93 C1 00 08 */ stw r30, 8(r1) -/* 8014ABFC 00147B5C 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8014AC00 00147B60 41 82 00 28 */ beq lbl_8014AC28 -/* 8014AC04 00147B64 3C A0 80 3E */ lis r5, lbl_803E23C8@ha -/* 8014AC08 00147B68 38 80 00 00 */ li r4, 0 -/* 8014AC0C 00147B6C 38 05 23 C8 */ addi r0, r5, lbl_803E23C8@l -/* 8014AC10 00147B70 90 1E 00 00 */ stw r0, 0(r30) -/* 8014AC14 00147B74 4B F0 AA DD */ bl __dt__6CActorFv -/* 8014AC18 00147B78 7F E0 07 35 */ extsh. r0, r31 -/* 8014AC1C 00147B7C 40 81 00 0C */ ble lbl_8014AC28 -/* 8014AC20 00147B80 7F C3 F3 78 */ mr r3, r30 -/* 8014AC24 00147B84 48 1C AD 0D */ bl Free__7CMemoryFPCv -lbl_8014AC28: -/* 8014AC28 00147B88 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8014AC2C 00147B8C 7F C3 F3 78 */ mr r3, r30 -/* 8014AC30 00147B90 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8014AC34 00147B94 83 C1 00 08 */ lwz r30, 8(r1) -/* 8014AC38 00147B98 7C 08 03 A6 */ mtlr r0 -/* 8014AC3C 00147B9C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8014AC40 00147BA0 4E 80 00 20 */ blr - -.global Accept__26CScriptDebugCameraWaypointFR8IVisitor -Accept__26CScriptDebugCameraWaypointFR8IVisitor: -/* 8014AC44 00147BA4 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8014AC48 00147BA8 7C 08 02 A6 */ mflr r0 -/* 8014AC4C 00147BAC 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014AC50 00147BB0 7C 60 1B 78 */ mr r0, r3 -/* 8014AC54 00147BB4 7C 83 23 78 */ mr r3, r4 -/* 8014AC58 00147BB8 81 84 00 00 */ lwz r12, 0(r4) -/* 8014AC5C 00147BBC 7C 04 03 78 */ mr r4, r0 -/* 8014AC60 00147BC0 81 8C 00 78 */ lwz r12, 0x78(r12) -/* 8014AC64 00147BC4 7D 89 03 A6 */ mtctr r12 -/* 8014AC68 00147BC8 4E 80 04 21 */ bctrl -/* 8014AC6C 00147BCC 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8014AC70 00147BD0 7C 08 03 A6 */ mtlr r0 -/* 8014AC74 00147BD4 38 21 00 10 */ addi r1, r1, 0x10 -/* 8014AC78 00147BD8 4E 80 00 20 */ blr - -.global "__ct__26CScriptDebugCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUi" -"__ct__26CScriptDebugCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUi": -/* 8014AC7C 00147BDC 94 21 FF 10 */ stwu r1, -0xf0(r1) -/* 8014AC80 00147BE0 7C 08 02 A6 */ mflr r0 -/* 8014AC84 00147BE4 90 01 00 F4 */ stw r0, 0xf4(r1) -/* 8014AC88 00147BE8 BF 41 00 D8 */ stmw r26, 0xd8(r1) -/* 8014AC8C 00147BEC 7C 7F 1B 78 */ mr r31, r3 -/* 8014AC90 00147BF0 7C 9A 23 78 */ mr r26, r4 -/* 8014AC94 00147BF4 7C BB 2B 78 */ mr r27, r5 -/* 8014AC98 00147BF8 7C DC 33 78 */ mr r28, r6 -/* 8014AC9C 00147BFC 7C FD 3B 78 */ mr r29, r7 -/* 8014ACA0 00147C00 7D 1E 43 78 */ mr r30, r8 -/* 8014ACA4 00147C04 38 61 00 88 */ addi r3, r1, 0x88 -/* 8014ACA8 00147C08 4B EE FA FD */ bl CModelDataNull__10CModelDataFv -/* 8014ACAC 00147C0C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8014ACB0 00147C10 4B ED 01 89 */ bl None__16CActorParametersFv -/* 8014ACB4 00147C14 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8014ACB8 00147C18 38 00 00 00 */ li r0, 0 -/* 8014ACBC 00147C1C 80 AD 8B E8 */ lwz r5, lbl_805A77A8@sda21(r13) -/* 8014ACC0 00147C20 38 60 00 00 */ li r3, 0 -/* 8014ACC4 00147C24 B0 81 00 10 */ sth r4, 0x10(r1) -/* 8014ACC8 00147C28 38 80 00 01 */ li r4, 1 -/* 8014ACCC 00147C2C 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8014ACD0 00147C30 90 01 00 18 */ stw r0, 0x18(r1) -/* 8014ACD4 00147C34 48 23 F2 21 */ bl __shl2i -/* 8014ACD8 00147C38 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8014ACDC 00147C3C 39 61 00 20 */ addi r11, r1, 0x20 -/* 8014ACE0 00147C40 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8014ACE4 00147C44 38 01 00 10 */ addi r0, r1, 0x10 -/* 8014ACE8 00147C48 7C A3 1B 78 */ or r3, r5, r3 -/* 8014ACEC 00147C4C A0 BA 00 00 */ lhz r5, 0(r26) -/* 8014ACF0 00147C50 7C C4 23 78 */ or r4, r6, r4 -/* 8014ACF4 00147C54 90 61 00 18 */ stw r3, 0x18(r1) -/* 8014ACF8 00147C58 7F E3 FB 78 */ mr r3, r31 -/* 8014ACFC 00147C5C 7F 66 DB 78 */ mr r6, r27 -/* 8014AD00 00147C60 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8014AD04 00147C64 7F 87 E3 78 */ mr r7, r28 -/* 8014AD08 00147C68 7F A8 EB 78 */ mr r8, r29 -/* 8014AD0C 00147C6C 38 81 00 14 */ addi r4, r1, 0x14 -/* 8014AD10 00147C70 B0 A1 00 14 */ sth r5, 0x14(r1) -/* 8014AD14 00147C74 39 21 00 88 */ addi r9, r1, 0x88 -/* 8014AD18 00147C78 39 41 00 18 */ addi r10, r1, 0x18 -/* 8014AD1C 00147C7C 38 A0 00 01 */ li r5, 1 -/* 8014AD20 00147C80 91 61 00 08 */ stw r11, 8(r1) -/* 8014AD24 00147C84 90 01 00 0C */ stw r0, 0xc(r1) -/* 8014AD28 00147C88 4B F0 AA F9 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8014AD2C 00147C8C 38 61 00 20 */ addi r3, r1, 0x20 -/* 8014AD30 00147C90 38 80 FF FF */ li r4, -1 -/* 8014AD34 00147C94 4B FB B8 D5 */ bl __dt__16CActorParametersFv -/* 8014AD38 00147C98 38 61 00 88 */ addi r3, r1, 0x88 -/* 8014AD3C 00147C9C 38 80 FF FF */ li r4, -1 -/* 8014AD40 00147CA0 4B FC BD 0D */ bl __dt__10CModelDataFv -/* 8014AD44 00147CA4 3C 80 80 3E */ lis r4, lbl_803E23C8@ha -/* 8014AD48 00147CA8 7F E3 FB 78 */ mr r3, r31 -/* 8014AD4C 00147CAC 38 04 23 C8 */ addi r0, r4, lbl_803E23C8@l -/* 8014AD50 00147CB0 90 1F 00 00 */ stw r0, 0(r31) -/* 8014AD54 00147CB4 93 DF 00 E8 */ stw r30, 0xe8(r31) -/* 8014AD58 00147CB8 BB 41 00 D8 */ lmw r26, 0xd8(r1) -/* 8014AD5C 00147CBC 80 01 00 F4 */ lwz r0, 0xf4(r1) -/* 8014AD60 00147CC0 7C 08 03 A6 */ mtlr r0 -/* 8014AD64 00147CC4 38 21 00 F0 */ addi r1, r1, 0xf0 -/* 8014AD68 00147CC8 4E 80 00 20 */ blr - -.global Accept__34CScriptSpiderBallAttractionSurfaceFR8IVisitor -Accept__34CScriptSpiderBallAttractionSurfaceFR8IVisitor: -/* 8014AD6C 00147CCC 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8014AD70 00147CD0 7C 08 02 A6 */ mflr r0 -/* 8014AD74 00147CD4 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014AD78 00147CD8 7C 60 1B 78 */ mr r0, r3 -/* 8014AD7C 00147CDC 7C 83 23 78 */ mr r3, r4 -/* 8014AD80 00147CE0 81 84 00 00 */ lwz r12, 0(r4) -/* 8014AD84 00147CE4 7C 04 03 78 */ mr r4, r0 -/* 8014AD88 00147CE8 81 8C 00 B8 */ lwz r12, 0xb8(r12) -/* 8014AD8C 00147CEC 7D 89 03 A6 */ mtctr r12 -/* 8014AD90 00147CF0 4E 80 04 21 */ bctrl -/* 8014AD94 00147CF4 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8014AD98 00147CF8 7C 08 03 A6 */ mtlr r0 -/* 8014AD9C 00147CFC 38 21 00 10 */ addi r1, r1, 0x10 -/* 8014ADA0 00147D00 4E 80 00 20 */ blr - -.global Think__34CScriptSpiderBallAttractionSurfaceFfR13CStateManager -Think__34CScriptSpiderBallAttractionSurfaceFfR13CStateManager: -/* 8014ADA4 00147D04 4E 80 00 20 */ blr - -.global AcceptScriptMsg__34CScriptSpiderBallAttractionSurfaceF20EScriptObjectMessage9TUniqueIdR13CStateManager -AcceptScriptMsg__34CScriptSpiderBallAttractionSurfaceF20EScriptObjectMessage9TUniqueIdR13CStateManager: -/* 8014ADA8 00147D08 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8014ADAC 00147D0C 7C 08 02 A6 */ mflr r0 -/* 8014ADB0 00147D10 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014ADB4 00147D14 A0 05 00 00 */ lhz r0, 0(r5) -/* 8014ADB8 00147D18 38 A1 00 08 */ addi r5, r1, 8 -/* 8014ADBC 00147D1C B0 01 00 08 */ sth r0, 8(r1) -/* 8014ADC0 00147D20 4B F0 88 55 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager -/* 8014ADC4 00147D24 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8014ADC8 00147D28 7C 08 03 A6 */ mtlr r0 -/* 8014ADCC 00147D2C 38 21 00 10 */ addi r1, r1, 0x10 -/* 8014ADD0 00147D30 4E 80 00 20 */ blr - -.global GetTouchBounds__34CScriptSpiderBallAttractionSurfaceCFv -GetTouchBounds__34CScriptSpiderBallAttractionSurfaceCFv: -/* 8014ADD4 00147D34 94 21 FF C0 */ stwu r1, -0x40(r1) -/* 8014ADD8 00147D38 7C 08 02 A6 */ mflr r0 -/* 8014ADDC 00147D3C 90 01 00 44 */ stw r0, 0x44(r1) -/* 8014ADE0 00147D40 93 E1 00 3C */ stw r31, 0x3c(r1) -/* 8014ADE4 00147D44 7C 7F 1B 78 */ mr r31, r3 -/* 8014ADE8 00147D48 88 04 00 30 */ lbz r0, 0x30(r4) -/* 8014ADEC 00147D4C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f -/* 8014ADF0 00147D50 41 82 00 AC */ beq lbl_8014AE9C -/* 8014ADF4 00147D54 C0 24 01 04 */ lfs f1, 0x104(r4) -/* 8014ADF8 00147D58 38 61 00 20 */ addi r3, r1, 0x20 -/* 8014ADFC 00147D5C C0 64 00 50 */ lfs f3, 0x50(r4) -/* 8014AE00 00147D60 38 A1 00 08 */ addi r5, r1, 8 -/* 8014AE04 00147D64 C0 04 00 F8 */ lfs f0, 0xf8(r4) -/* 8014AE08 00147D68 EC C1 18 2A */ fadds f6, f1, f3 -/* 8014AE0C 00147D6C C0 44 01 08 */ lfs f2, 0x108(r4) -/* 8014AE10 00147D70 C0 24 00 60 */ lfs f1, 0x60(r4) -/* 8014AE14 00147D74 EC 80 18 2A */ fadds f4, f0, f3 -/* 8014AE18 00147D78 C0 04 00 FC */ lfs f0, 0xfc(r4) -/* 8014AE1C 00147D7C EC A2 08 2A */ fadds f5, f2, f1 -/* 8014AE20 00147D80 EC 60 08 2A */ fadds f3, f0, f1 -/* 8014AE24 00147D84 C0 24 01 00 */ lfs f1, 0x100(r4) -/* 8014AE28 00147D88 C0 44 00 40 */ lfs f2, 0x40(r4) -/* 8014AE2C 00147D8C C0 04 00 F4 */ lfs f0, 0xf4(r4) -/* 8014AE30 00147D90 38 81 00 14 */ addi r4, r1, 0x14 -/* 8014AE34 00147D94 EC 21 10 2A */ fadds f1, f1, f2 -/* 8014AE38 00147D98 EC 00 10 2A */ fadds f0, f0, f2 -/* 8014AE3C 00147D9C D0 C1 00 0C */ stfs f6, 0xc(r1) -/* 8014AE40 00147DA0 D0 21 00 08 */ stfs f1, 8(r1) -/* 8014AE44 00147DA4 D0 A1 00 10 */ stfs f5, 0x10(r1) -/* 8014AE48 00147DA8 D0 01 00 14 */ stfs f0, 0x14(r1) -/* 8014AE4C 00147DAC D0 81 00 18 */ stfs f4, 0x18(r1) -/* 8014AE50 00147DB0 D0 61 00 1C */ stfs f3, 0x1c(r1) -/* 8014AE54 00147DB4 48 1E D6 B5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8014AE58 00147DB8 38 00 00 01 */ li r0, 1 -/* 8014AE5C 00147DBC 28 1F 00 00 */ cmplwi r31, 0 -/* 8014AE60 00147DC0 98 1F 00 18 */ stb r0, 0x18(r31) -/* 8014AE64 00147DC4 41 82 00 40 */ beq lbl_8014AEA4 -/* 8014AE68 00147DC8 C0 01 00 20 */ lfs f0, 0x20(r1) -/* 8014AE6C 00147DCC D0 1F 00 00 */ stfs f0, 0(r31) -/* 8014AE70 00147DD0 C0 01 00 24 */ lfs f0, 0x24(r1) -/* 8014AE74 00147DD4 D0 1F 00 04 */ stfs f0, 4(r31) -/* 8014AE78 00147DD8 C0 01 00 28 */ lfs f0, 0x28(r1) -/* 8014AE7C 00147DDC D0 1F 00 08 */ stfs f0, 8(r31) -/* 8014AE80 00147DE0 C0 01 00 2C */ lfs f0, 0x2c(r1) -/* 8014AE84 00147DE4 D0 1F 00 0C */ stfs f0, 0xc(r31) -/* 8014AE88 00147DE8 C0 01 00 30 */ lfs f0, 0x30(r1) -/* 8014AE8C 00147DEC D0 1F 00 10 */ stfs f0, 0x10(r31) -/* 8014AE90 00147DF0 C0 01 00 34 */ lfs f0, 0x34(r1) -/* 8014AE94 00147DF4 D0 1F 00 14 */ stfs f0, 0x14(r31) -/* 8014AE98 00147DF8 48 00 00 0C */ b lbl_8014AEA4 -lbl_8014AE9C: -/* 8014AE9C 00147DFC 38 00 00 00 */ li r0, 0 -/* 8014AEA0 00147E00 98 1F 00 18 */ stb r0, 0x18(r31) -lbl_8014AEA4: -/* 8014AEA4 00147E04 80 01 00 44 */ lwz r0, 0x44(r1) -/* 8014AEA8 00147E08 83 E1 00 3C */ lwz r31, 0x3c(r1) -/* 8014AEAC 00147E0C 7C 08 03 A6 */ mtlr r0 -/* 8014AEB0 00147E10 38 21 00 40 */ addi r1, r1, 0x40 -/* 8014AEB4 00147E14 4E 80 00 20 */ blr - -.global Touch__34CScriptSpiderBallAttractionSurfaceFR6CActorR13CStateManager -Touch__34CScriptSpiderBallAttractionSurfaceFR6CActorR13CStateManager: -/* 8014AEB8 00147E18 4E 80 00 20 */ blr - -.global __dt__34CScriptSpiderBallAttractionSurfaceFv -__dt__34CScriptSpiderBallAttractionSurfaceFv: -/* 8014AEBC 00147E1C 94 21 FF F0 */ stwu r1, -0x10(r1) -/* 8014AEC0 00147E20 7C 08 02 A6 */ mflr r0 -/* 8014AEC4 00147E24 90 01 00 14 */ stw r0, 0x14(r1) -/* 8014AEC8 00147E28 93 E1 00 0C */ stw r31, 0xc(r1) -/* 8014AECC 00147E2C 7C 9F 23 78 */ mr r31, r4 -/* 8014AED0 00147E30 93 C1 00 08 */ stw r30, 8(r1) -/* 8014AED4 00147E34 7C 7E 1B 79 */ or. r30, r3, r3 -/* 8014AED8 00147E38 41 82 00 28 */ beq lbl_8014AF00 -/* 8014AEDC 00147E3C 3C A0 80 3E */ lis r5, lbl_803E2438@ha -/* 8014AEE0 00147E40 38 80 00 00 */ li r4, 0 -/* 8014AEE4 00147E44 38 05 24 38 */ addi r0, r5, lbl_803E2438@l -/* 8014AEE8 00147E48 90 1E 00 00 */ stw r0, 0(r30) -/* 8014AEEC 00147E4C 4B F0 A8 05 */ bl __dt__6CActorFv -/* 8014AEF0 00147E50 7F E0 07 35 */ extsh. r0, r31 -/* 8014AEF4 00147E54 40 81 00 0C */ ble lbl_8014AF00 -/* 8014AEF8 00147E58 7F C3 F3 78 */ mr r3, r30 -/* 8014AEFC 00147E5C 48 1C AA 35 */ bl Free__7CMemoryFPCv -lbl_8014AF00: -/* 8014AF00 00147E60 80 01 00 14 */ lwz r0, 0x14(r1) -/* 8014AF04 00147E64 7F C3 F3 78 */ mr r3, r30 -/* 8014AF08 00147E68 83 E1 00 0C */ lwz r31, 0xc(r1) -/* 8014AF0C 00147E6C 83 C1 00 08 */ lwz r30, 8(r1) -/* 8014AF10 00147E70 7C 08 03 A6 */ mtlr r0 -/* 8014AF14 00147E74 38 21 00 10 */ addi r1, r1, 0x10 -/* 8014AF18 00147E78 4E 80 00 20 */ blr - -.global "__ct__34CScriptSpiderBallAttractionSurfaceF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fb" -"__ct__34CScriptSpiderBallAttractionSurfaceF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fb": -/* 8014AF1C 00147E7C 94 21 FE 90 */ stwu r1, -0x170(r1) -/* 8014AF20 00147E80 7C 08 02 A6 */ mflr r0 -/* 8014AF24 00147E84 90 01 01 74 */ stw r0, 0x174(r1) -/* 8014AF28 00147E88 BF 21 01 54 */ stmw r25, 0x154(r1) -/* 8014AF2C 00147E8C 7C 7F 1B 78 */ mr r31, r3 -/* 8014AF30 00147E90 7C 99 23 78 */ mr r25, r4 -/* 8014AF34 00147E94 7C BA 2B 78 */ mr r26, r5 -/* 8014AF38 00147E98 7C DB 33 78 */ mr r27, r6 -/* 8014AF3C 00147E9C 7C FC 3B 78 */ mr r28, r7 -/* 8014AF40 00147EA0 7D 1D 43 78 */ mr r29, r8 -/* 8014AF44 00147EA4 7D 3E 4B 78 */ mr r30, r9 -/* 8014AF48 00147EA8 38 61 01 00 */ addi r3, r1, 0x100 -/* 8014AF4C 00147EAC 4B EE F8 59 */ bl CModelDataNull__10CModelDataFv -/* 8014AF50 00147EB0 38 61 00 98 */ addi r3, r1, 0x98 -/* 8014AF54 00147EB4 4B EC FE E5 */ bl None__16CActorParametersFv -/* 8014AF58 00147EB8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) -/* 8014AF5C 00147EBC 38 00 00 00 */ li r0, 0 -/* 8014AF60 00147EC0 80 AD 8B F0 */ lwz r5, lbl_805A77B0@sda21(r13) -/* 8014AF64 00147EC4 38 60 00 00 */ li r3, 0 -/* 8014AF68 00147EC8 B0 81 00 10 */ sth r4, 0x10(r1) -/* 8014AF6C 00147ECC 38 80 00 01 */ li r4, 1 -/* 8014AF70 00147ED0 90 01 00 1C */ stw r0, 0x1c(r1) -/* 8014AF74 00147ED4 90 01 00 18 */ stw r0, 0x18(r1) -/* 8014AF78 00147ED8 48 23 EF 7D */ bl __shl2i -/* 8014AF7C 00147EDC 80 A1 00 18 */ lwz r5, 0x18(r1) -/* 8014AF80 00147EE0 39 61 00 98 */ addi r11, r1, 0x98 -/* 8014AF84 00147EE4 80 C1 00 1C */ lwz r6, 0x1c(r1) -/* 8014AF88 00147EE8 38 01 00 10 */ addi r0, r1, 0x10 -/* 8014AF8C 00147EEC 7C A3 1B 78 */ or r3, r5, r3 -/* 8014AF90 00147EF0 A1 39 00 00 */ lhz r9, 0(r25) -/* 8014AF94 00147EF4 7C C4 23 78 */ or r4, r6, r4 -/* 8014AF98 00147EF8 90 61 00 18 */ stw r3, 0x18(r1) -/* 8014AF9C 00147EFC 7F E3 FB 78 */ mr r3, r31 -/* 8014AFA0 00147F00 7F C5 F3 78 */ mr r5, r30 -/* 8014AFA4 00147F04 90 81 00 1C */ stw r4, 0x1c(r1) -/* 8014AFA8 00147F08 7F 46 D3 78 */ mr r6, r26 -/* 8014AFAC 00147F0C 7F 67 DB 78 */ mr r7, r27 -/* 8014AFB0 00147F10 7F 88 E3 78 */ mr r8, r28 -/* 8014AFB4 00147F14 B1 21 00 14 */ sth r9, 0x14(r1) -/* 8014AFB8 00147F18 38 81 00 14 */ addi r4, r1, 0x14 -/* 8014AFBC 00147F1C 39 21 01 00 */ addi r9, r1, 0x100 -/* 8014AFC0 00147F20 39 41 00 18 */ addi r10, r1, 0x18 -/* 8014AFC4 00147F24 91 61 00 08 */ stw r11, 8(r1) -/* 8014AFC8 00147F28 90 01 00 0C */ stw r0, 0xc(r1) -/* 8014AFCC 00147F2C 4B F0 A8 55 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" -/* 8014AFD0 00147F30 38 61 00 98 */ addi r3, r1, 0x98 -/* 8014AFD4 00147F34 38 80 FF FF */ li r4, -1 -/* 8014AFD8 00147F38 4B FB B6 31 */ bl __dt__16CActorParametersFv -/* 8014AFDC 00147F3C 38 61 01 00 */ addi r3, r1, 0x100 -/* 8014AFE0 00147F40 38 80 FF FF */ li r4, -1 -/* 8014AFE4 00147F44 4B FC BA 69 */ bl __dt__10CModelDataFv -/* 8014AFE8 00147F48 3C 60 80 3E */ lis r3, lbl_803E2438@ha -/* 8014AFEC 00147F4C C0 42 9C E0 */ lfs f2, lbl_805ABA00@sda21(r2) -/* 8014AFF0 00147F50 38 03 24 38 */ addi r0, r3, lbl_803E2438@l -/* 8014AFF4 00147F54 7F 84 E3 78 */ mr r4, r28 -/* 8014AFF8 00147F58 90 1F 00 00 */ stw r0, 0(r31) -/* 8014AFFC 00147F5C 38 61 00 68 */ addi r3, r1, 0x68 -/* 8014B000 00147F60 C0 1D 00 00 */ lfs f0, 0(r29) -/* 8014B004 00147F64 D0 1F 00 E8 */ stfs f0, 0xe8(r31) -/* 8014B008 00147F68 C0 1D 00 04 */ lfs f0, 4(r29) -/* 8014B00C 00147F6C D0 1F 00 EC */ stfs f0, 0xec(r31) -/* 8014B010 00147F70 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8014B014 00147F74 D0 1F 00 F0 */ stfs f0, 0xf0(r31) -/* 8014B018 00147F78 C0 1D 00 08 */ lfs f0, 8(r29) -/* 8014B01C 00147F7C C0 3D 00 04 */ lfs f1, 4(r29) -/* 8014B020 00147F80 EC A2 00 32 */ fmuls f5, f2, f0 -/* 8014B024 00147F84 C0 1D 00 00 */ lfs f0, 0(r29) -/* 8014B028 00147F88 EC 82 00 72 */ fmuls f4, f2, f1 -/* 8014B02C 00147F8C EC 22 00 32 */ fmuls f1, f2, f0 -/* 8014B030 00147F90 FC 60 28 50 */ fneg f3, f5 -/* 8014B034 00147F94 D0 A1 00 28 */ stfs f5, 0x28(r1) -/* 8014B038 00147F98 FC 40 20 50 */ fneg f2, f4 -/* 8014B03C 00147F9C FC 00 08 50 */ fneg f0, f1 -/* 8014B040 00147FA0 D0 21 00 20 */ stfs f1, 0x20(r1) -/* 8014B044 00147FA4 D0 81 00 24 */ stfs f4, 0x24(r1) -/* 8014B048 00147FA8 D0 01 00 2C */ stfs f0, 0x2c(r1) -/* 8014B04C 00147FAC D0 41 00 30 */ stfs f2, 0x30(r1) -/* 8014B050 00147FB0 D0 61 00 34 */ stfs f3, 0x34(r1) -/* 8014B054 00147FB4 48 1C 7B ED */ bl GetRotation__12CTransform4fCFv -/* 8014B058 00147FB8 38 61 00 38 */ addi r3, r1, 0x38 -/* 8014B05C 00147FBC 38 81 00 2C */ addi r4, r1, 0x2c -/* 8014B060 00147FC0 38 A1 00 20 */ addi r5, r1, 0x20 -/* 8014B064 00147FC4 48 1E D4 A5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f -/* 8014B068 00147FC8 7C 64 1B 78 */ mr r4, r3 -/* 8014B06C 00147FCC 38 61 00 50 */ addi r3, r1, 0x50 -/* 8014B070 00147FD0 38 A1 00 68 */ addi r5, r1, 0x68 -/* 8014B074 00147FD4 48 1E C8 89 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f -/* 8014B078 00147FD8 C0 01 00 50 */ lfs f0, 0x50(r1) -/* 8014B07C 00147FDC 7F E3 FB 78 */ mr r3, r31 -/* 8014B080 00147FE0 D0 1F 00 F4 */ stfs f0, 0xf4(r31) -/* 8014B084 00147FE4 C0 01 00 54 */ lfs f0, 0x54(r1) -/* 8014B088 00147FE8 D0 1F 00 F8 */ stfs f0, 0xf8(r31) -/* 8014B08C 00147FEC C0 01 00 58 */ lfs f0, 0x58(r1) -/* 8014B090 00147FF0 D0 1F 00 FC */ stfs f0, 0xfc(r31) -/* 8014B094 00147FF4 C0 01 00 5C */ lfs f0, 0x5c(r1) -/* 8014B098 00147FF8 D0 1F 01 00 */ stfs f0, 0x100(r31) -/* 8014B09C 00147FFC C0 01 00 60 */ lfs f0, 0x60(r1) -/* 8014B0A0 00148000 D0 1F 01 04 */ stfs f0, 0x104(r31) -/* 8014B0A4 00148004 C0 01 00 64 */ lfs f0, 0x64(r1) -/* 8014B0A8 00148008 D0 1F 01 08 */ stfs f0, 0x108(r31) -/* 8014B0AC 0014800C BB 21 01 54 */ lmw r25, 0x154(r1) -/* 8014B0B0 00148010 80 01 01 74 */ lwz r0, 0x174(r1) -/* 8014B0B4 00148014 7C 08 03 A6 */ mtlr r0 -/* 8014B0B8 00148018 38 21 01 70 */ addi r1, r1, 0x170 -/* 8014B0BC 0014801C 4E 80 00 20 */ blr - .global __dt__11CBSScriptedFv __dt__11CBSScriptedFv: /* 8014B0C0 00148020 94 21 FF F0 */ stwu r1, -0x10(r1) diff --git a/obj_files.mk b/obj_files.mk index 133a4ada..bf9a8394 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -13,7 +13,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/CControlMapper.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CFirstPersonCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CObjectList.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CPlayer.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayer.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CAxisAngle.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CEulerAngles.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CFrontEndUI.o\ @@ -33,7 +33,7 @@ KYOTO_CWD :=\ $(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/Player/CPlayerGun.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CStateManager.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CEntity.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CArchMsgParmInt32.o\ @@ -70,7 +70,7 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptEffect.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CBomb.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CTweakBall.o\ - $(BUILD_DIR)/asm/Kyoto_CWD/CPlayerState.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerState.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptTimer.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CCinematicCamera.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CAutoMapper.o\ @@ -111,6 +111,79 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpawnPoint.o\ $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptRandomRelay.o\ $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CBeetle.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CHUDMemoParms.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptHUDMemo.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CMappableObject.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerCameraBob.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraFilterKeyframe.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraBlurKeyframe.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CCameraFilter.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CMorphBall.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDamageableTrigger.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDebris.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCameraShaker.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptActorKeyframe.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CConsoleOutputWindow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptWater.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CWeapon.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CDamageVulnerability.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CActorLights.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPatternedInfo.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CSimpleShadow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CLightParameters.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CActorParameters.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CInGameGuiManager.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CWarWasp.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CWorldShadow.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CAudioStateWin.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CPlayerVisor.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CModelData.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CDecalManager.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallWaypoint.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CBloodFlower.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/TGameTypes.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPhysicsActor.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPhysicsState.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CRipple.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CFluidUVMotion.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CRippleManager.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Player/CGrappleArm.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CSpacePirate.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptCoverPoint.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPathCamera.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlane.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CFluidPlaneManager.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptGrapplePoint.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CHUDBillboardEffect.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CFlickerBat.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBodyStateCmdMgr.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBodyStateInfo.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSAttack.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSDie.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSFall.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSGetup.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSKnockBack.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSLieOnGround.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSLocomotion.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSStep.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSTurn.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBodyController.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSLoopAttack.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Weapons/CTargetableProjectile.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSLoopReaction.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CSteeringBehaviors.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSGroundHit.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CChozoGhost.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CFireFlea.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSSlide.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSHurled.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSJump.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSGenerate.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/Enemies/CPuddleSpore.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/BodyState/CBSTaunt.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CSortedLists.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptDebugCameraWaypoint.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptObjects/CScriptSpiderBallAttractionSurface.o\ AI_FILES :=\ $(BUILD_DIR)/asm/Dolphin/ai.o